@nuvin/agent-core 0.1.0-rc.11 → 0.1.0-rc.12

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(_0x2a4d60,_0x7bfe7){const _0x1b880c={_0x13b3ed:0x205,_0x30434b:0x19a,_0x3552ee:0x258,_0x5b02b0:0x156,_0x1b43f8:0x13f,_0x4254fc:0x189,_0xe7f702:0x1bb,_0x5215d5:0x172,_0x4527f7:0x1ff,_0x2d19ca:0x174,_0x3bf874:0x1a3,_0x1531fa:0x192,_0x9a4f0d:0x17d,_0x405406:0x8b,_0x2b31f3:0x14c,_0x7322f5:0x178,_0x3f5bf4:0x171,_0x58c1cc:0x2a4,_0x2172bf:0x106,_0x3f3e5d:0x78,_0x32ed9d:0x1f0,_0x593fec:0x19a},_0x1ad2f5={_0x3db462:0x11},_0x4cb1ed={_0x5a41ba:0x1ab},_0x3ed6ab=_0x2a4d60();function _0x3f04be(_0x4aeea5,_0x70af92,_0x405119,_0x5addc0){return _0x3eab(_0x405119- -_0x4cb1ed._0x5a41ba,_0x5addc0);}function _0x5e9fa2(_0x404fdc,_0x234b16,_0x9455fc,_0x2e45e1){return _0x3eab(_0x2e45e1-_0x1ad2f5._0x3db462,_0x9455fc);}while(!![]){try{const _0x257560=-parseInt(_0x3f04be(0x1f5,_0x1b880c._0x13b3ed,0x144,0x1d6))/0x1*(-parseInt(_0x5e9fa2(_0x1b880c._0x30434b,0x346,0x1c2,_0x1b880c._0x3552ee))/0x2)+-parseInt(_0x5e9fa2(_0x1b880c._0x5b02b0,_0x1b880c._0x1b43f8,_0x1b880c._0x4254fc,_0x1b880c._0xe7f702))/0x3*(-parseInt(_0x5e9fa2(0x163,0x243,_0x1b880c._0x5215d5,0x21e))/0x4)+parseInt(_0x3f04be(_0x1b880c._0x4527f7,0x14e,_0x1b880c._0x2d19ca,_0x1b880c._0x3bf874))/0x5*(-parseInt(_0x5e9fa2(0x2dc,0x296,0x161,0x29f))/0x6)+parseInt(_0x3f04be(-_0x1b880c._0x1531fa,-_0x1b880c._0x9a4f0d,-_0x1b880c._0x405406,-_0x1b880c._0x2b31f3))/0x7+parseInt(_0x5e9fa2(0x204,_0x1b880c._0x7322f5,_0x1b880c._0x3f5bf4,0x24b))/0x8+parseInt(_0x5e9fa2(_0x1b880c._0x58c1cc,0x2b8,0x262,0x1e3))/0x9*(parseInt(_0x3f04be(_0x1b880c._0x2172bf,_0x1b880c._0x3f3e5d,0xdf,_0x1b880c._0x32ed9d))/0xa)+-parseInt(_0x5e9fa2(_0x1b880c._0x593fec,0x143,0x2c2,0x1ea))/0xb;if(_0x257560===_0x7bfe7)break;else _0x3ed6ab['push'](_0x3ed6ab['shift']());}catch(_0x30d73b){_0x3ed6ab['push'](_0x3ed6ab['shift']());}}}(_0x1f31,0x576ba));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-LIJXXCAA.js';import{getTextFromMessage}from'../chunk-YWQXXHHU.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 _0x5c25c7 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x4d40c0(-0x70,-0xd3,-0xc9,-0x7d),'.tsx':_0xf90728(-0x12f,0x4,0x24,0x49),'.js':_0xf90728(-0x121,-0x52,-0x3b,-0x101),'.jsx':_0x4d40c0(-0x2b3,-0x28e,-0x387,-0x2d0),'.mjs':_0xf90728(-0x167,0x0,-0x3b,-0x6),'.cjs':_0xf90728(0x107,-0x4e,-0x3b,0xec),'.mts':_0x4d40c0(-0x189,-0xd3,0xa2,-0x9c),'.cts':_0x4d40c0(0x78,-0xd3,-0x24,0x0),'.json':_0xf90728(-0x127,0x64,-0x23,-0x46),'.jsonc':'jsonc'};function getLanguageId(_0x3a2a7e){const _0x2e1c6a={_0x36261a:0x1d4,_0x540000:0x5d,_0x13c9a4:0x123,_0x37c60f:0x36},_0x4a084a={_0x14a362:0x15,_0x5dfab3:0x124,_0x48b289:0x1b5};function _0x2ea48e(_0xa7330b,_0x4f1786,_0x1d9b22,_0x35914b){return _0xf90728(_0xa7330b,_0x4f1786-0x122,_0x4f1786-0x1e8,_0x35914b-0x46);}function _0x21fbef(_0x1d8632,_0x118cd4,_0x47c49f,_0x1a64f6){return _0xf90728(_0x118cd4,_0x118cd4-_0x4a084a._0x14a362,_0x1d8632-_0x4a084a._0x5dfab3,_0x1a64f6-_0x4a084a._0x48b289);}return EXTENSION_TO_LANGUAGE[_0x5c25c7[_0x2ea48e(0x122,0xd5,_0x2e1c6a._0x36261a,-_0x2e1c6a._0x540000)](_0x3a2a7e)[_0x2ea48e(0x1e,0xf8,_0x2e1c6a._0x13c9a4,-_0x2e1c6a._0x37c60f)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x29cb01){const _0x1abb3c={_0x556f3a:0x264,_0x24244e:0x338},_0x29e166={_0x537e07:0x371};function _0x18704f(_0x493de3,_0x10c5dd,_0x1cc2b2,_0x217102){return _0xf90728(_0x493de3,_0x10c5dd-0x4b,_0x1cc2b2-_0x29e166._0x537e07,_0x217102-0x42);}return pathToFileURL(_0x29cb01)[_0x18704f(0x2ea,_0x1abb3c._0x556f3a,_0x1abb3c._0x24244e,0x2a9)]();}function textDocumentPosition(_0x4a490b){const _0x245579={_0x384ca0:0x497,_0x20cb80:0x583,_0x24bcbe:0x34f,_0x43c0f3:0x2d4},_0x1709f5={_0x419add:0x3b2},_0x54632c={_0x4ef203:0x459};function _0x47165a(_0x8d7f88,_0x4fc572,_0x31402f,_0x341658){return _0xf90728(_0x341658,_0x4fc572-0x8,_0x31402f-_0x54632c._0x4ef203,_0x341658-0xef);}function _0x4a5adb(_0x4b7073,_0x38819a,_0x3b046c,_0x69877){return _0x4d40c0(_0x4b7073-0x163,_0x69877-_0x1709f5._0x419add,_0x3b046c-0x28,_0x4b7073);}return{'textDocument':{'uri':uriForPath(_0x4a490b[_0x4a5adb(_0x245579._0x384ca0,0x1f3,0x2e4,0x367)])},'position':{'line':_0x4a490b[_0x47165a(_0x245579._0x20cb80,0x4e4,0x469,_0x245579._0x24bcbe)],'character':_0x4a490b[_0x4a5adb(0x338,0x2a6,_0x245579._0x43c0f3,0x28d)]}};}function normalizeLocations(_0x41078f){if(!_0x41078f)return[];return Array['isArray'](_0x41078f)?_0x41078f:[_0x41078f];}async function createLspClient(_0x6ef27b){const _0x5517d={_0x1cc3af:0x1b0,_0x1f7d6b:0x260,_0x32e643:0x204,_0x14c755:0x790,_0x4f8cf9:0x5b7,_0x23ae40:0x6b1,_0x3095ef:0x24c,_0x5177b9:0x151,_0x18b310:0x1df,_0x4ab80c:0x502,_0x5b46d2:0x718,_0x489679:0x6ee,_0x50f253:0x63a,_0x504058:0x6af,_0x778205:0x152,_0x2843eb:0x2de,_0x1cf578:0x61d,_0x429b7e:0x804,_0x39adf8:0x70b,_0x47090b:0x22f,_0x386f1b:0x293,_0x1acb86:0x19f,_0x5804b0:0x643,_0x12f836:0x6b7,_0x4805a6:0x5d5,_0x96b203:0x2fc,_0x184629:0x33a,_0x77e3c6:0x1bf,_0x59f97f:0x270,_0x279096:0x1c5,_0x16d4b5:0x109,_0x11c782:0x174,_0x3f907b:0x265,_0x592dbe:0x36c,_0x35057f:0x255},_0x4cfe0c={_0x532128:0x5f,_0x259d1d:0x24b,_0x24807f:0x4,_0xa45c00:0x9,_0xe2f8cf:0x3d,_0x36b631:0xfa,_0x18545a:0x12,_0x4052ec:0xe4,_0x2f6d8b:0x36,_0x505758:0xa3,_0x5261c1:0x9d,_0x4fa215:0x4e,_0x48d711:0xad},_0x15917b={_0x2f42fe:0x3c},_0x2f5111={_0x478f0a:0x1b1,_0xfed91f:0x180,_0x4ae7d5:0x18,_0x5022ae:0x136},_0x4c62ee={_0x3119f5:0x21a,_0x3b6ce9:0x189,_0x2a286a:0x157},_0x14fc1f={_0x4b0e49:0x5d0,_0x5ba13c:0x62c},_0x4e2b0d={_0x4ab5bd:0x138},_0x3a6a98={_0x411a76:0xd1,_0x48bb7b:0x183,_0x4b1002:0x7b},_0xdcc08c={_0x1a9773:0xc6,_0x57f10e:0x1b5,_0x1197e8:0x9},_0x40c17e={_0x538c0c:0x4bf,_0x4e90a1:0x358,_0x297b93:0x10,_0x2ef44b:0x113,_0x5b92bf:0xd2,_0x450cbf:0x3f},_0x2d5f09={_0x2b0f5c:0x77},_0x380610={_0x467553:0x1eb},_0x58f4dc={_0x1ff157:0x35d},_0xe0e69e={_0x3dd274:0xc3,_0xcb2c85:0x376},_0x56eced={_0x5d694e:0x175,_0x4ecd95:0x2b4,_0x14aa8b:0x29c},_0x1828b9={_0x52ab6e:0x112,_0x88cff1:0x2e7},_0x461898={_0x3da3fe:0xee,_0x5b7bee:0x20,_0x1c0c14:0x253},_0x4c4de1={_0x9fea28:0x120},_0x377a3c={_0x223dc7:0x9f,_0x117495:0x169,_0xff4c8:0xbd},_0x25cb16={_0x2fb70f:0x34b,_0x2394fe:0x1f7},_0x36193f={_0x2c8931:0x538,_0x587ba2:0x793,_0x3c9181:0x61b},_0x3e0046={_0x4e7e6d:0x18f},_0x517466={_0x3a995f:0x174},_0x931871={_0x65fe0e:0x45,_0x17f543:0x7a},_0x41de17={_0x3385ec:0x4f8,_0x26d95b:0x59e},_0x2125eb={_0x5f4fa4:0x18c,_0x3c60b4:0x1ba},_0x16eac6={_0x339a61:0x1e6,_0x52b40a:0xee,_0x302f68:0x4d,_0x35ffc2:0xf4},_0x1a1043={_0x1c7035:0x32,_0x151705:0x66},_0x23b855={_0x347862:0x51,_0x54e07b:0x10e},_0x4b6500={_0x7f14ca:0x2f2,_0x4c1ad3:0x3b8,_0x3351c5:0x296,_0x5b7c2c:0x275,_0x21e15a:0x24a},_0x4b675e={_0xe4cda5:0x1af,_0x472717:0x3de},_0x48b273={_0x310f22:0xc7,_0x4b652c:0x174},_0x596fdd={_0x538649:0x18b},_0x410f81={_0x11db13:0x408},_0xa152db=_0x6ef27b['handle']['process']['stdout'];function _0x260433(_0x3cf557,_0x3eb026,_0x5e3fc6,_0xe9ef5d){return _0x4d40c0(_0x3cf557-0x1a0,_0x3cf557-_0x410f81._0x11db13,_0x5e3fc6-0x56,_0x5e3fc6);}const _0x10d696=_0x6ef27b['handle'][_0x260433(_0x5517d._0x1cc3af,0x24b,_0x5517d._0x1f7d6b,_0x5517d._0x32e643)]['stdin'];if(!_0xa152db||!_0x10d696)throw new Error(_0x51d290(_0x5517d._0x14c755,0x5e5,_0x5517d._0x4f8cf9,_0x5517d._0x23ae40));const _0xa8b663=createMessageConnection(new StreamMessageReader(_0xa152db),new StreamMessageWriter(_0x10d696)),_0x33d25f=new Map(),_0x2b5538=new Map();let _0x4c883e=![];function _0x51d290(_0x461965,_0x22cb07,_0x1f5a36,_0x1057d5){return _0x4d40c0(_0x461965-0x2c,_0x1057d5-0x70d,_0x1f5a36-_0x596fdd._0x538649,_0x22cb07);}_0xa8b663[_0x260433(_0x5517d._0x3095ef,_0x5517d._0x5177b9,0x193,_0x5517d._0x18b310)]('textDocument/publishDiagnostics',_0x55fc83=>{_0x33d25f['set'](_0x55fc83[_0x258e50(_0x4b6500._0x7f14ca,_0x4b6500._0x4c1ad3,0x326,0x34a)],_0x55fc83['diagnostics']);function _0x258e50(_0x2a4a92,_0x3212c5,_0x3f230c,_0x1457e9){return _0x260433(_0x2a4a92- -_0x48b273._0x310f22,_0x3212c5-_0x48b273._0x4b652c,_0x1457e9,_0x1457e9-0xaa);}const _0x410e76=_0x2b5538[_0x258e50(_0x4b6500._0x3351c5,0x3f0,0x345,0x3f7)](_0x55fc83['uri']);if(!_0x410e76)return;function _0x49e085(_0x15f802,_0x1fb422,_0x2aef5d,_0x572897){return _0x51d290(_0x15f802-_0x4b675e._0xe4cda5,_0x2aef5d,_0x2aef5d-0x179,_0x572897- -_0x4b675e._0x472717);}_0x2b5538['delete'](_0x55fc83[_0x258e50(0x2f2,_0x4b6500._0x5b7c2c,0x2d9,_0x4b6500._0x21e15a)]);for(const _0xbf3587 of _0x410e76)_0xbf3587();}),_0xa8b663['listen']();const _0x3ecf5f=await _0xa8b663[_0x51d290(0x50b,_0x5517d._0x4ab80c,0x51f,0x673)](_0x51d290(_0x5517d._0x5b46d2,0x524,_0x5517d._0x489679,0x663),{'processId':process['pid'],'rootUri':uriForPath(_0x6ef27b[_0x51d290(_0x5517d._0x50f253,_0x5517d._0x504058,0x66b,0x56a)]),'workspaceFolders':[{'uri':uriForPath(_0x6ef27b[_0x260433(0x265,0x3c0,_0x5517d._0x778205,_0x5517d._0x2843eb)]),'name':_0x6ef27b[_0x51d290(0x715,_0x5517d._0x1cf578,_0x5517d._0x429b7e,_0x5517d._0x39adf8)]['id']}],'initializationOptions':_0x6ef27b[_0x260433(0x2ca,_0x5517d._0x47090b,_0x5517d._0x386f1b,_0x5517d._0x1acb86)]['initialization']??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x51d290(_0x5517d._0x5804b0,_0x5517d._0x12f836,0x70a,_0x5517d._0x4805a6),_0x260433(_0x5517d._0x96b203,_0x5517d._0x184629,_0x5517d._0x77e3c6,0x338)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0xa8b663[_0x51d290(0x44c,0x351,0x4c3,0x4a6)](_0x260433(_0x5517d._0x59f97f,_0x5517d._0x279096,_0x5517d._0x16d4b5,_0x5517d._0x11c782),{});const _0x8a7d26={'serverId':_0x6ef27b['server']['id'],'root':_0x6ef27b[_0x260433(_0x5517d._0x3f907b,_0x5517d._0x592dbe,_0x5517d._0x35057f,0x2d8)],'connection':_0xa8b663,'diagnostics':_0x33d25f,'capabilities':_0x3ecf5f['capabilities']??{},'notify':{async 'open'({path:_0x2506a0}){const _0x4a44ef={_0x46e94b:0x401,_0x4d98cd:0x61};function _0x20a777(_0x706b82,_0x299278,_0x3b57de,_0x2e448a){return _0x260433(_0x706b82- -_0x4a44ef._0x46e94b,_0x299278-0x37,_0x299278,_0x2e448a-_0x4a44ef._0x4d98cd);}const _0x1fde20=await readFile(_0x2506a0,_0x20a777(_0x1a1043._0x1c7035,0xd8,0x116,-_0x1a1043._0x151705));function _0x2077ab(_0x4cf58c,_0x4508f2,_0x4272fb,_0x1dd7e0){return _0x51d290(_0x4cf58c-0x5e,_0x4508f2,_0x4272fb-_0x23b855._0x347862,_0x1dd7e0- -_0x23b855._0x54e07b);}_0xa8b663['sendNotification'](_0x2077ab(0x459,0x5e2,0x5e6,0x597),{'textDocument':{'uri':uriForPath(_0x2506a0),'languageId':getLanguageId(_0x2506a0)??'plaintext','version':0x1,'text':_0x1fde20}});},async 'change'({path:_0x44a4cb,version:_0x121597}){const _0x3a5597={_0x50c1a7:0xad,_0xc4094:0x51},_0x2a3111=await readFile(_0x44a4cb,'utf8');function _0x521f39(_0x13f6c9,_0x5ee1a8,_0x1c79a7,_0x20cf98){return _0x260433(_0x20cf98- -_0x3a5597._0x50c1a7,_0x5ee1a8-_0x3a5597._0xc4094,_0x13f6c9,_0x20cf98-0x162);}_0xa8b663[_0x521f39(_0x16eac6._0x339a61,_0x16eac6._0x52b40a,_0x16eac6._0x302f68,_0x16eac6._0x35ffc2)]('textDocument/didChange',{'textDocument':{'uri':uriForPath(_0x44a4cb),'version':_0x121597},'contentChanges':[{'text':_0x2a3111}]});},async 'close'({path:_0x2d222d}){function _0x100796(_0x185ed6,_0x3fcff2,_0x57d223,_0x12bc45){return _0x51d290(_0x185ed6-_0x2125eb._0x5f4fa4,_0x3fcff2,_0x57d223-0xcd,_0x12bc45- -_0x2125eb._0x3c60b4);}_0xa8b663['sendNotification'](_0x100796(0x5ec,_0x41de17._0x3385ec,_0x41de17._0x26d95b,0x4b5),{'textDocument':{'uri':uriForPath(_0x2d222d)}});}},'request':{async 'definition'(_0x41ad17){function _0x41d8ed(_0x52cba2,_0x45f55e,_0x1dad84,_0x1b689b){return _0x260433(_0x1b689b- -_0x931871._0x65fe0e,_0x45f55e-_0x931871._0x17f543,_0x1dad84,_0x1b689b-0x1b5);}return normalizeLocations(await _0xa8b663['sendRequest'](_0x41d8ed(0x2b8,0x2ac,0x23f,_0x517466._0x3a995f),textDocumentPosition(_0x41ad17)));},async 'references'(_0x429a03){function _0x4634a2(_0x51eabc,_0x181a35,_0x284f96,_0x57f644){return _0x51d290(_0x51eabc-0x57,_0x51eabc,_0x284f96-_0x3e0046._0x4e7e6d,_0x57f644-0xe);}return normalizeLocations(await _0xa8b663['sendRequest'](_0x4634a2(_0x36193f._0x2c8931,0x740,_0x36193f._0x587ba2,_0x36193f._0x3c9181),{...textDocumentPosition(_0x429a03),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x4254af){const _0x3c016b={_0x5a886b:0x8,_0x27c083:0x1d8};function _0x44af5d(_0x296115,_0x4268b2,_0x199964,_0x3b17b2){return _0x260433(_0x3b17b2- -0xb0,_0x4268b2-_0x3c016b._0x5a886b,_0x296115,_0x3b17b2-_0x3c016b._0x27c083);}return await _0xa8b663['sendRequest'](_0x44af5d(0x12d,_0x25cb16._0x2fb70f,0x2ce,_0x25cb16._0x2394fe),textDocumentPosition(_0x4254af))??null;},async 'documentSymbol'(_0x3e1f0d){function _0x524dc0(_0x4d753b,_0x5cf6ba,_0x5b01dc,_0x3572a9){return _0x260433(_0x5cf6ba-_0x377a3c._0x223dc7,_0x5cf6ba-_0x377a3c._0x117495,_0x5b01dc,_0x3572a9-_0x377a3c._0xff4c8);}function _0xad49c4(_0x2c5b76,_0x3e32a6,_0x5af01b,_0x3605c2){return _0x51d290(_0x2c5b76-0x118,_0x3e32a6,_0x5af01b-_0x4c4de1._0x9fea28,_0x5af01b- -0x72b);}return await _0xa8b663[_0xad49c4(-_0x461898._0x3da3fe,-0x12d,-0xb8,_0x461898._0x5b7bee)](_0xad49c4(-0x191,-_0x461898._0x1c0c14,-0x158,-0x22c),{'textDocument':{'uri':uriForPath(_0x3e1f0d)}})??[];},async 'workspaceSymbol'(_0x1a8380){function _0x2052b7(_0x152d8d,_0x2f435e,_0x5da3d3,_0x5b032f){return _0x51d290(_0x152d8d-_0x1828b9._0x52ab6e,_0x2f435e,_0x5da3d3-0x1bb,_0x5b032f- -_0x1828b9._0x88cff1);}return await _0xa8b663['sendRequest'](_0x2052b7(_0x56eced._0x5d694e,_0x56eced._0x4ecd95,0x30d,_0x56eced._0x14aa8b),{'query':_0x1a8380})??[];},async 'implementation'(_0x46c1e5){const _0x5f558e={_0x186ac4:0x171,_0x272967:0x12c,_0x11f134:0x70c};function _0x32ed8d(_0x1c7475,_0x4811b0,_0x2ebce3,_0x291bc1){return _0x51d290(_0x1c7475-_0x5f558e._0x186ac4,_0x1c7475,_0x2ebce3-_0x5f558e._0x272967,_0x2ebce3- -_0x5f558e._0x11f134);}function _0x3f477d(_0x539b7a,_0x19a3ac,_0x4e6359,_0x41eca6){return _0x51d290(_0x539b7a-0xf2,_0x4e6359,_0x4e6359-_0xe0e69e._0x3dd274,_0x539b7a- -_0xe0e69e._0xcb2c85);}return normalizeLocations(await _0xa8b663[_0x3f477d(0x2fd,0x230,0x2ec,_0x58f4dc._0x1ff157)](_0x32ed8d(-0x72,0x69,-0x8c,-0x1f),textDocumentPosition(_0x46c1e5)));},async 'prepareCallHierarchy'(_0x398369){function _0x3da767(_0x3a91bf,_0x1cb5ec,_0x5958f0,_0x43bf09){return _0x51d290(_0x3a91bf-_0x380610._0x467553,_0x5958f0,_0x5958f0-0x158,_0x3a91bf- -0x54f);}function _0x3ae1b8(_0x44bc7c,_0x3a4df3,_0x4ce74e,_0x138a2a){return _0x260433(_0x138a2a-_0x2d5f09._0x2b0f5c,_0x3a4df3-0x72,_0x3a4df3,_0x138a2a-0x23);}return await _0xa8b663[_0x3ae1b8(_0x40c17e._0x538c0c,0x552,_0x40c17e._0x4e90a1,0x3e5)](_0x3da767(_0x40c17e._0x297b93,-_0x40c17e._0x2ef44b,_0x40c17e._0x5b92bf,-_0x40c17e._0x450cbf),textDocumentPosition(_0x398369))??[];},async 'incomingCalls'(_0x50b9e3){function _0x3e7761(_0x2ba2ea,_0xf894eb,_0x168025,_0x270d29){return _0x260433(_0xf894eb- -_0xdcc08c._0x1a9773,_0xf894eb-_0xdcc08c._0x57f10e,_0x2ba2ea,_0x270d29-_0xdcc08c._0x1197e8);}return await _0xa8b663['sendRequest'](_0x3e7761(_0x3a6a98._0x411a76,_0x3a6a98._0x48bb7b,0x5d,_0x3a6a98._0x4b1002),{'item':_0x50b9e3})??[];},async 'outgoingCalls'(_0x38f2ac){function _0x1f9973(_0x41d2b5,_0x5c6504,_0x2dde81,_0x4750c9){return _0x260433(_0x5c6504-0x2af,_0x5c6504-_0x4e2b0d._0x4ab5bd,_0x4750c9,_0x4750c9-0x156);}return await _0xa8b663['sendRequest'](_0x1f9973(_0x14fc1f._0x4b0e49,_0x14fc1f._0x5ba13c,0x652,0x680),{'item':_0x38f2ac})??[];}},'waitForDiagnostics'({path:_0x495cfb,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x1786cb={_0x1cb2ef:0x249,_0x3f5a90:0x4ab,_0x4322dd:0x90,_0x1b3a2b:0x8c,_0x512a48:0xb6},_0x55d7b9={_0x595330:0x276,_0x547753:0xef},_0x3deb1d={_0x3d45a9:0x42,_0x4813e4:0x44e,_0x1bde71:0x3aa,_0x5b52ef:0x29a,_0x48bb51:0x2a9,_0x52d789:0x14c,_0x211e3a:0x214},_0x3b5a7b={_0x23508f:0x8c,_0x39af5c:0x113,_0x4018ef:0xfa},_0x1366af=uriForPath(_0x495cfb);function _0x330748(_0x508e82,_0x44283b,_0x2333b3,_0x23a4a0){return _0x260433(_0x44283b- -_0x4c62ee._0x3119f5,_0x44283b-_0x4c62ee._0x3b6ce9,_0x508e82,_0x23a4a0-_0x4c62ee._0x2a286a);}function _0x22d68d(_0x9b9820,_0x1932d2,_0x41e6c2,_0x34e91d){return _0x260433(_0x9b9820- -_0x3b5a7b._0x23508f,_0x1932d2-_0x3b5a7b._0x39af5c,_0x41e6c2,_0x34e91d-_0x3b5a7b._0x4018ef);}if(_0x33d25f[_0x22d68d(_0x2f5111._0x478f0a,0x2e5,0x1b0,0x325)](_0x1366af))return Promise[_0x330748(_0x2f5111._0xfed91f,_0x2f5111._0x4ae7d5,_0x2f5111._0x5022ae,-0x80)]();return new Promise(_0x127152=>{const _0x13488a={_0x3f5bd1:0xa4},_0x483f24=setTimeout(()=>{function _0x5cc198(_0x5317ce,_0xa5cb0e,_0x1161d3,_0x576274){return _0x3eab(_0x576274- -0xb,_0xa5cb0e);}const _0xdce3c9=_0x2b5538['get'](_0x1366af);function _0x354f7f(_0x2b7f99,_0x5680e9,_0x464365,_0x8135cd){return _0x3eab(_0x5680e9-_0x13488a._0x3f5bd1,_0x464365);}_0xdce3c9?.[_0x5cc198(0x1e9,0x192,_0x3deb1d._0x3d45a9,0x9d)](_0x524347);if(_0xdce3c9?.[_0x354f7f(_0x3deb1d._0x4813e4,0x377,_0x3deb1d._0x1bde71,_0x3deb1d._0x5b52ef)]===0x0)_0x2b5538[_0x354f7f(_0x3deb1d._0x48bb51,_0x3deb1d._0x52d789,_0x3deb1d._0x211e3a,0x73)](_0x1366af);_0x127152();},timeoutMs),_0x524347=()=>{clearTimeout(_0x483f24),_0x127152();},_0x270d9a=_0x2b5538['get'](_0x1366af)??new Set();function _0x25c2dc(_0x2842fd,_0x408a52,_0xea785b,_0xa981b1){return _0x22d68d(_0x408a52- -0x415,_0x408a52-0x126,_0x2842fd,_0xa981b1-0x36);}function _0x4f583b(_0x2de24f,_0x4be699,_0x3db6ad,_0x27e9a1){return _0x22d68d(_0x4be699- -_0x55d7b9._0x595330,_0x4be699-0x18,_0x3db6ad,_0x27e9a1-_0x55d7b9._0x547753);}_0x270d9a[_0x25c2dc(-0x36d,-0x33c,-_0x1786cb._0x1cb2ef,-_0x1786cb._0x3f5a90)](_0x524347),_0x2b5538[_0x25c2dc(_0x1786cb._0x4322dd,-_0x1786cb._0x1b3a2b,-_0x1786cb._0x512a48,-0x16c)](_0x1366af,_0x270d9a);});},async 'shutdown'(){if(_0x4c883e)return;function _0x2b108a(_0x214e3e,_0x537edd,_0x40ca0f,_0x16b3d9){return _0x51d290(_0x214e3e-0x1a3,_0x16b3d9,_0x40ca0f-0x1ec,_0x537edd- -0x5a0);}_0x4c883e=!![];function _0x14a117(_0x1697ae,_0x1771fe,_0x18e82f,_0x4d1b24){return _0x51d290(_0x1697ae-0x1a4,_0x18e82f,_0x18e82f-_0x15917b._0x2f42fe,_0x1697ae- -0x610);}try{await _0xa8b663[_0x2b108a(-_0x4cfe0c._0x532128,0xd3,_0x4cfe0c._0x259d1d,-0x1c)](_0x2b108a(0x13c,-0x28,-_0x4cfe0c._0x24807f,-_0x4cfe0c._0xa45c00),null),_0xa8b663[_0x2b108a(-_0x4cfe0c._0xe2f8cf,-_0x4cfe0c._0x36b631,0x32,_0x4cfe0c._0x18545a)]('exit');}catch{}finally{_0xa8b663[_0x14a117(_0x4cfe0c._0x4052ec,_0x4cfe0c._0x2f6d8b,0x17d,-0x53)](),_0x6ef27b[_0x2b108a(_0x4cfe0c._0x505758,0x2f,-_0x4cfe0c._0x5261c1,0x14)][_0x14a117(-0x15b,-0x2a7,-_0x4cfe0c._0x4fa215,-0x22d)][_0x2b108a(-0x1a9,-_0x4cfe0c._0x48d711,-0x212,-0x174)]();}}};return _0x8a7d26;}import{spawn as _0x5667c4}from'child_process';import{access as _0x23bd57}from'fs/promises';import _0x5d8c92 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x2ca407 from'os';import _0x33d79b from'path';import _0x35c0e1 from'which';var installPromises=new Map();function sanitizePackageName(_0x4e52f4){const _0x182b06={_0x4a3293:0x9c,_0x4f8b50:0x58,_0x495a74:0x65},_0x197132={_0x25c1e7:0x1c9,_0x36fa54:0x260,_0x93ba1:0x93},_0x1f6b3f={_0xa13e75:0x143,_0x516414:0x5c5};function _0x1b2230(_0x21bdb7,_0x320b3e,_0x44cf21,_0x324481){return _0x4d40c0(_0x21bdb7-_0x1f6b3f._0xa13e75,_0x320b3e-_0x1f6b3f._0x516414,_0x44cf21-0x98,_0x21bdb7);}function _0x18500e(_0x12953a,_0x42f4ad,_0x17da6c,_0x4907c1){return _0x4d40c0(_0x12953a-_0x197132._0x25c1e7,_0x12953a-_0x197132._0x36fa54,_0x17da6c-_0x197132._0x93ba1,_0x17da6c);}return _0x4e52f4[_0x18500e(0x43,-0xc3,_0x182b06._0x4a3293,0x88)](/^@/,'')[_0x18500e(0x43,-_0x182b06._0x4f8b50,_0x182b06._0x495a74,-0x49)](/[/]/g,'__');}function _0x4d40c0(_0x5a2ff7,_0x6146e9,_0x262359,_0x5d9552){const _0x52d604={_0x595cdf:0x349};return _0x3eab(_0x6146e9- -_0x52d604._0x595cdf,_0x5d9552);}function binaryNameForPlatform(_0x533c5c){const _0x5e2a01={_0x2799bd:0xca,_0xd7783b:0x4e,_0x36eb23:0x128,_0x3d548c:0x1d6},_0x344f9={_0x14fe6d:0xd1,_0x5c71d2:0x34a,_0xadb129:0x16f},_0x348974={_0x46586a:0x27,_0x46cbfe:0xc7,_0x59e5e6:0x68};function _0x4c9579(_0x4f45c3,_0x6221c0,_0x4d2eef,_0x2e805e){return _0xf90728(_0x4f45c3,_0x6221c0-_0x348974._0x46586a,_0x2e805e-_0x348974._0x46cbfe,_0x2e805e-_0x348974._0x59e5e6);}function _0xe66f89(_0x3f931a,_0x1d44e3,_0x18d05f,_0x1233aa){return _0x4d40c0(_0x3f931a-_0x344f9._0x14fe6d,_0x1d44e3-_0x344f9._0x5c71d2,_0x18d05f-_0x344f9._0xadb129,_0x18d05f);}return process[_0x4c9579(-0x154,-_0x5e2a01._0x2799bd,0x31,-_0x5e2a01._0xd7783b)]===_0xe66f89(_0x5e2a01._0x36eb23,0x1af,0x67,_0x5e2a01._0x3d548c)?_0x533c5c+'.cmd':_0x533c5c;}async function exists(_0x330a4b){try{return await access(_0x330a4b),!![];}catch{return![];}}function runNpmInstall(_0x1de90b,_0x2f6a1b,_0x21d34a){const _0x36d860={_0x2f0d35:0x78,_0x70e63:0x175,_0x30a246:0x1df,_0x36a56b:0x85,_0x562187:0x172,_0x3a0d01:0x1db,_0x2f1850:0x3f},_0x5183bc={_0x4570f4:0x121};return new Promise(_0x534ca5=>{function _0x12fdfe(_0x3fb477,_0x2edca5,_0x485163,_0xa8d745){return _0x3eab(_0x3fb477- -_0x5183bc._0x4570f4,_0xa8d745);}const _0x7854ac=spawn(_0x3862e8(-0xc4,_0x36d860._0x2f0d35,0x63,_0x36d860._0x70e63),['install',_0x3862e8(_0x36d860._0x30a246,-0x4d,_0x36d860._0x36a56b,_0x36d860._0x562187),_0x1de90b,_0x2f6a1b],{'env':_0x21d34a,'stdio':'ignore'});_0x7854ac['on'](_0x3862e8(0x21b,0x140,0x178,_0x36d860._0x3a0d01),()=>_0x534ca5(![]));function _0x3862e8(_0x1065ed,_0x24fecf,_0x1d6867,_0x5dcff8){return _0x3eab(_0x1d6867- -0xbb,_0x24fecf);}_0x7854ac['on'](_0x12fdfe(_0x36d860._0x2f1850,0x17a,-0x3e,-0x138),_0x289fe3=>_0x534ca5(_0x289fe3===0x0));});}function shouldDisableLspDownload(_0x19739c=process[_0xf90728(0x1f5,-0x36,0x105,0x276)]){const _0x584fb1={_0x2b07a8:0x241,_0x350e7e:0x256};function _0x935bbc(_0x5cee31,_0x17e83b,_0x53eb85,_0x13f80d){return _0xf90728(_0x13f80d,_0x17e83b-0x1b0,_0x53eb85- -0xeb,_0x13f80d-0xb5);}const _0x4ed261=_0x19739c[_0x935bbc(-0x1a5,-0x163,-_0x584fb1._0x2b07a8,-_0x584fb1._0x350e7e)]?.['toLowerCase']();return _0x4ed261==='true'||_0x4ed261==='1'||_0x4ed261==='yes'||_0x4ed261==='on';}function getLspPackageDir(_0xd344a0){const _0x2eba2f={_0x340c73:0x1d,_0x4d53ff:0x12f,_0x17c358:0x0,_0x1cb891:0xfb,_0x5b5994:0x11c,_0x2ed0a1:0x124},_0x38d1a3={_0x246e01:0x1e4,_0xf197a1:0x49},_0x5d6d95={_0x40884c:0x8,_0x240dd0:0xd1};function _0xf6912d(_0x3be74f,_0x3c58c1,_0x163809,_0x4bedac){return _0x4d40c0(_0x3be74f-0x55,_0x3be74f- -_0x5d6d95._0x40884c,_0x163809-_0x5d6d95._0x240dd0,_0x163809);}function _0x5857d4(_0x4ee086,_0x23780,_0x3fbe99,_0x334e40){return _0x4d40c0(_0x4ee086-0x87,_0x23780-_0x38d1a3._0x246e01,_0x3fbe99-_0x38d1a3._0xf197a1,_0x3fbe99);}return _0x33d79b[_0xf6912d(_0x2eba2f._0x340c73,-0x53,-_0x2eba2f._0x4d53ff,-0xf0)](_0x2ca407['homedir'](),_0xf6912d(_0x2eba2f._0x17c358,-0x113,-_0x2eba2f._0x1cb891,0xbf),_0x5857d4(_0x2eba2f._0x5b5994,0x216,0x25f,0x155),_0xf6912d(-0x1c3,-0x8b,-0x234,-_0x2eba2f._0x2ed0a1),sanitizePackageName(_0xd344a0));}function getLspBinDir(_0x1defc1){const _0x3f3b85={_0x4c2e53:0x1,_0x1eee34:0xb4,_0x3f9369:0x9d},_0x409828={_0x541a8a:0x78,_0x201958:0x152};function _0x29e1bc(_0x1a3081,_0x92f778,_0x4a5f11,_0x248054){return _0x4d40c0(_0x1a3081-0x88,_0x4a5f11-_0x409828._0x541a8a,_0x4a5f11-_0x409828._0x201958,_0x92f778);}return _0x33d79b[_0x29e1bc(-_0x3f3b85._0x4c2e53,-_0x3f3b85._0x1eee34,_0x3f3b85._0x3f9369,-0x43)](getLspPackageDir(_0x1defc1),'node_modules','.bin');}async function findPackageBinary(_0x3e9346,_0x4d67b7){const _0x50585f={_0x17f974:0x7ce,_0x5e9479:0x2b3},_0x172ad0={_0x21c676:0x1e5};function _0x448519(_0x4dcfc7,_0x468d90,_0x16de63,_0x26dc35){return _0xf90728(_0x16de63,_0x468d90-0x1a9,_0x4dcfc7-0x215,_0x26dc35-0x1cb);}function _0x557362(_0x41ef5b,_0x4cbb55,_0x248b50,_0x1d2e61){return _0x4d40c0(_0x41ef5b-0xde,_0x4cbb55-0x661,_0x248b50-_0x172ad0._0x21c676,_0x1d2e61);}let _0x4de311=_0x33d79b['resolve'](_0x4d67b7);const _0x928be4=binaryNameForPlatform(_0x3e9346);while(!![]){const _0x59378c=_0x33d79b[_0x557362(_0x50585f._0x17f974,0x686,0x6b8,0x527)](_0x4de311,'node_modules',_0x448519(0x25a,0x3af,_0x50585f._0x5e9479,0x379),_0x928be4);if(await exists(_0x59378c))return _0x59378c;const _0x1694b3=_0x33d79b['dirname'](_0x4de311);if(_0x1694b3===_0x4de311)return void 0x0;_0x4de311=_0x1694b3;}}async function findPathBinary(_0x2eeeeb,_0x331b2a){const _0x36d123={_0x7d77bb:0x526,_0x34dd9b:0x610},_0x39887d={_0x17335a:0x3b},_0xccef8d=getLspBinDir(_0x331b2a);function _0x1f8baa(_0xb3d48c,_0x31d144,_0x450530,_0x1bdfc6){return _0x4d40c0(_0xb3d48c-_0x39887d._0x17335a,_0x31d144-0x501,_0x450530-0x173,_0x450530);}const _0x396f59=[_0xccef8d,process['env']['PATH']]['filter'](Boolean)[_0x1f8baa(0x44f,_0x36d123._0x7d77bb,_0x36d123._0x34dd9b,0x571)](_0x33d79b['delimiter']);try{return await _0x35c0e1(_0x2eeeeb,{'path':_0x396f59});}catch{return void 0x0;}}async function resolvePackageBinary(_0x23f42a){const _0x1054d3={_0xb1d5e1:0x3ea,_0x2f2edd:0x338,_0x4f8484:0x37a,_0x5b35c1:0x2f9,_0x361261:0x33d,_0x596a30:0x474,_0x32139d:0x2d1,_0x13d9df:0x3de,_0x46f0d6:0x4ca,_0xecbd1b:0x4cf,_0x2bc9fa:0x1d,_0x2c5568:0xb6,_0x5c5049:0xf3,_0x499148:0x1ce,_0x96d540:0x100},_0x534162={_0x519ed2:0x390,_0x1d66af:0x73,_0x85b563:0xe4,_0x5a4f58:0xfc,_0x1581b3:0x280,_0x3a2e31:0x2f9,_0x6ba999:0x1a1},_0x121039={_0x78f4a8:0x1cf,_0x380c81:0x59d,_0x394f08:0x111},_0x282a46={_0x5bb47e:0x93,_0x3885c7:0x21},_0x2d17c8={_0x66abec:0x32e},_0x5c221e=_0x23f42a[_0x4403d0(0x502,_0x1054d3._0xb1d5e1,_0x1054d3._0x2f2edd,0x440)]??_0x23f42a[_0x4403d0(0x28d,_0x1054d3._0x4f8484,_0x1054d3._0x5b35c1,0x28a)],_0x479324=await findPackageBinary(_0x5c221e,_0x23f42a[_0x4403d0(0x32a,0x484,_0x1054d3._0x361261,_0x1054d3._0x596a30)]);if(_0x479324)return _0x479324;const _0x5a242f=await findPathBinary(_0x5c221e,_0x23f42a[_0x4403d0(0x395,0x27a,_0x1054d3._0x32139d,0x28a)]);if(_0x5a242f)return _0x5a242f;const _0x41d33e=_0x23f42a[_0x4403d0(_0x1054d3._0x13d9df,_0x1054d3._0x46f0d6,_0x1054d3._0xecbd1b,0x433)]??process[_0x1ab9bc(-_0x1054d3._0x2bc9fa,-0xb8,_0x1054d3._0x2c5568,0xeb)];if(shouldDisableLspDownload(_0x41d33e))return void 0x0;const _0x3574a3=getLspPackageDir(_0x23f42a['packageName']);function _0x4403d0(_0x51fc59,_0x30e030,_0x36ee3f,_0xc514d4){return _0xf90728(_0x51fc59,_0x30e030-0xa1,_0xc514d4-_0x2d17c8._0x66abec,_0xc514d4-0xb1);}const _0x5e3905=_0x23f42a[_0x1ab9bc(-0x75,0x81,-_0x1054d3._0x5c5049,-0x8a)]+':'+_0x5c221e;function _0x1ab9bc(_0x4f4c51,_0x3dea1e,_0x33155a,_0x51015e){return _0xf90728(_0x4f4c51,_0x3dea1e-_0x282a46._0x5bb47e,_0x33155a- -0x4f,_0x51015e-_0x282a46._0x3885c7);}let _0x5296d5=installPromises[_0x4403d0(0x269,0x2c1,0x2af,0x3c9)](_0x5e3905);!_0x5296d5&&(_0x5296d5=((async()=>{const _0x434bd0={_0x46b3ac:0x1a5,_0x19489d:0xae,_0x4d78de:0x1e2};function _0x5bba2a(_0x173591,_0x5cf1d2,_0x37ff92,_0x541102){return _0x1ab9bc(_0x173591,_0x5cf1d2-_0x434bd0._0x46b3ac,_0x541102- -_0x434bd0._0x19489d,_0x541102-_0x434bd0._0x4d78de);}await mkdir(_0x3574a3,{'recursive':!![]});function _0x2a2ebb(_0x3ee3ae,_0xa0b2a,_0x3a0044,_0xcff998){return _0x1ab9bc(_0x3a0044,_0xa0b2a-_0x121039._0x78f4a8,_0xcff998-_0x121039._0x380c81,_0xcff998-_0x121039._0x394f08);}const _0x48cef9=await runNpmInstall(_0x3574a3,_0x23f42a[_0x2a2ebb(0x334,0x402,_0x534162._0x519ed2,0x4aa)],_0x41d33e);if(!_0x48cef9)return void 0x0;const _0xb93d0d=_0x33d79b[_0x5bba2a(-_0x534162._0x1d66af,_0x534162._0x85b563,-_0x534162._0x5a4f58,0x6e)](getLspBinDir(_0x23f42a[_0x5bba2a(-_0x534162._0x1581b3,-_0x534162._0x3a2e31,-0xe6,-_0x534162._0x6ba999)]),binaryNameForPlatform(_0x5c221e));return await exists(_0xb93d0d)?_0xb93d0d:void 0x0;})()),installPromises['set'](_0x5e3905,_0x5296d5));try{return await _0x5296d5;}catch{return void 0x0;}finally{installPromises[_0x1ab9bc(-_0x1054d3._0x499148,-0x235,-0x1aa,-_0x1054d3._0x96d540)](_0x5e3905);}}var TYPESCRIPT_EXTENSIONS=[_0x4d40c0(-0x18e,-0x25a,-0x172,-0x128),'.tsx',_0xf90728(-0x1b7,-0x7,-0x100,0x1e),_0xf90728(0x34,-0xef,-0x1a,-0x102),'.mjs',_0x4d40c0(-0x77,-0x99,-0x11,-0x18b),_0xf90728(0xe,-0xc1,-0x46,-0x1ab),_0x4d40c0(-0x3d6,-0x27d,-0x335,-0x20f)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,'.json',_0xf90728(-0x1fb,-0x1ef,-0xe2,-0x223)],TYPESCRIPT_ROOT_MARKERS=[_0xf90728(-0x1ec,-0x47,-0xca,-0x204),'bun.lockb',_0x4d40c0(-0x2f5,-0x239,-0x10c,-0x290),_0x4d40c0(-0x93,-0x167,-0x49,-0x12b),'yarn.lock','tsconfig.json',_0xf90728(-0x8,0xf2,0x8c,0x1e0),_0x4d40c0(-0x297,-0x12e,-0x199,-0x194)],BIOME_ROOT_MARKERS=[_0x4d40c0(-0x32f,-0x206,-0x2a3,-0x111),_0x4d40c0(-0x95,-0x1a7,-0x62,-0x2d5),_0xf90728(-0x146,-0xbb,-0xca,-0xb),_0x4d40c0(-0x27e,-0x14a,-0x175,-0x1c4),_0xf90728(-0x145,-0x3b,-0xf3,-0x209),_0xf90728(-0x61,-0x4a,-0x21,-0xf2),'yarn.lock',_0xf90728(-0x15e,0x162,0x18,0xd5)];async function exists2(_0xf701a0){try{return await _0x23bd57(_0xf701a0),!![];}catch{return![];}}async function findUp(_0x3ae31a,_0x11d230){const _0x42ab3f={_0x227249:0x38,_0x57ce47:0x14e,_0x321a0d:0x32b,_0x4df570:0xce,_0x33b0c7:0x193,_0x3e7643:0x389},_0x463725={_0x1eb741:0x1ec},_0x4f190e={_0x196cfd:0x1af,_0x16cbd4:0x9,_0x4cb9f4:0x55};let _0x5aad60=_0x5d8c92['resolve'](_0x3ae31a);const _0x49d0af=_0x5d8c92[_0x1ff9a2(_0x42ab3f._0x227249,-_0x42ab3f._0x57ce47,-0x11c,-0x180)](_0x5aad60);function _0x1ff9a2(_0x2d8b60,_0x4442a9,_0x38c046,_0x3a8b1b){return _0xf90728(_0x2d8b60,_0x4442a9-_0x4f190e._0x196cfd,_0x38c046- -_0x4f190e._0x16cbd4,_0x3a8b1b-_0x4f190e._0x4cb9f4);}if(_0x49d0af)_0x5aad60=_0x5d8c92[_0x360b43(0x212,_0x42ab3f._0x321a0d,_0x42ab3f._0x4df570,0x33c)](_0x5aad60);function _0x360b43(_0x193439,_0x4b4c41,_0x4d5a01,_0x298c81){return _0xf90728(_0x4d5a01,_0x4b4c41-0xac,_0x193439-0xb3,_0x298c81-_0x463725._0x1eb741);}while(!![]){for(const _0x4159a0 of _0x11d230){if(await exists2(_0x5d8c92[_0x1ff9a2(0xb6,0x1dd,0x162,0x123)](_0x5aad60,_0x4159a0)))return _0x5aad60;}const _0x556b46=_0x5d8c92[_0x360b43(0x212,_0x42ab3f._0x33b0c7,0x12d,_0x42ab3f._0x3e7643)](_0x5aad60);if(_0x556b46===_0x5aad60)return void 0x0;_0x5aad60=_0x556b46;}}async function hasDenoRoot(_0x1606b7){const _0x338745={_0x1797cc:0x6e4,_0x4849fb:0x708,_0xf3a7e8:0x3d3},_0x1c9fd6={_0x4095bd:0x1a6,_0x10c70d:0x29f},_0x5ae2cf={_0x145624:0x6e3,_0x42d5f0:0x1bf};function _0xac0f30(_0x691a70,_0x374c04,_0x15deae,_0x3c9e66){return _0x4d40c0(_0x691a70-0x1a9,_0x3c9e66-_0x5ae2cf._0x145624,_0x15deae-_0x5ae2cf._0x42d5f0,_0x374c04);}function _0x37a097(_0x512252,_0x3a77be,_0x58f964,_0x1411fc){return _0xf90728(_0x512252,_0x3a77be-_0x1c9fd6._0x4095bd,_0x1411fc-_0x1c9fd6._0x10c70d,_0x1411fc-0xc4);}return await exists2(_0x5d8c92[_0xac0f30(0x762,0x61a,_0x338745._0x1797cc,_0x338745._0x4849fb)](_0x1606b7,'deno.json'))||await exists2(_0x5d8c92[_0x37a097(0x3f2,0x3ce,_0x338745._0xf3a7e8,0x40a)](_0x1606b7,'deno.jsonc'));}async function resolveTsserverPath(_0x589d45){const _0x3e0942={_0x30c236:0x1e1,_0x23e086:0x193,_0x5d38ae:0x126,_0x12892c:0x36b,_0x37c854:0x4af,_0x22fae5:0x296,_0x488e04:0x36c,_0x3da792:0x2c0,_0x2380fa:0x34f,_0x2fd651:0x4aa,_0x44072a:0x107,_0x3fc099:0x3a1,_0x51c243:0x380,_0x5d5da9:0x201,_0x58a3c2:0x234,_0x38023:0x23b,_0x4ff5bd:0x1ec,_0x1d6064:0x273,_0xd84a9c:0x298,_0x3c6094:0x1fa,_0x241c5e:0x1bf,_0x3e41a9:0x29d,_0xe48f0c:0x262,_0x4e58bd:0x10c,_0x42babb:0x1aa,_0x19da20:0x4a},_0x203a76={_0x3fe7dc:0x369},_0x6e3c44={_0x292b02:0xf3,_0x4ae5c4:0x346};function _0x16d32d(_0x6a6c5b,_0x146bcb,_0x476898,_0x4a83b9){return _0x4d40c0(_0x6a6c5b-_0x6e3c44._0x292b02,_0x6a6c5b-_0x6e3c44._0x4ae5c4,_0x476898-0x47,_0x146bcb);}let _0x2920b2=_0x5d8c92[_0x153e9d(_0x3e0942._0x30c236,_0x3e0942._0x23e086,_0x3e0942._0x5d38ae,0x4b)](_0x589d45);while(!![]){const _0x5992f6=_0x5d8c92[_0x16d32d(_0x3e0942._0x12892c,0x2e4,_0x3e0942._0x37c854,0x4cb)](_0x2920b2,'node_modules',_0x153e9d(0x3f0,_0x3e0942._0x22fae5,0x239,0x1b0),_0x153e9d(_0x3e0942._0x488e04,_0x3e0942._0x3da792,_0x3e0942._0x2380fa,0x384),'tsserver.js');if(await exists2(_0x5992f6))return _0x5992f6;const _0x43302e=_0x5d8c92[_0x153e9d(0x311,0x382,0x43c,_0x3e0942._0x2fd651)](_0x2920b2);if(_0x43302e===_0x2920b2)break;_0x2920b2=_0x43302e;}const _0x173fc2=getLspPackageDir(_0x16d32d(0x273,_0x3e0942._0x44072a,_0x3e0942._0x3fc099,0x332)),_0x5bec5c=await resolvePackageBinary({'packageName':_0x153e9d(_0x3e0942._0x51c243,0x296,_0x3e0942._0x5d5da9,_0x3e0942._0x58a3c2),'binaryName':_0x16d32d(0x2c8,0x1f8,0x16c,0x35d),'startDir':_0x589d45});function _0x153e9d(_0x16abe0,_0x11b496,_0x1a71ee,_0xc67d11){return _0x4d40c0(_0x16abe0-0x179,_0x11b496-_0x203a76._0x3fe7dc,_0x1a71ee-0x1b7,_0x1a71ee);}if(!_0x5bec5c)return void 0x0;const _0x8415ee=_0x5d8c92[_0x16d32d(0x36b,0x39b,0x4c6,_0x3e0942._0x38023)](_0x173fc2,_0x153e9d(0x189,0x2b5,0x2e9,_0x3e0942._0x4ff5bd),_0x16d32d(_0x3e0942._0x1d6064,_0x3e0942._0xd84a9c,_0x3e0942._0x3c6094,_0x3e0942._0x241c5e),_0x16d32d(_0x3e0942._0x3e41a9,0x228,0x138,_0x3e0942._0xe48f0c),_0x16d32d(_0x3e0942._0x4e58bd,_0x3e0942._0x42babb,-_0x3e0942._0x19da20,0x9));return await exists2(_0x8415ee)?_0x8415ee:void 0x0;}var TypeScriptServer={'id':_0x4d40c0(0x92,-0xd3,-0x127,-0x75),'name':_0xf90728(-0x1aa,0x15,-0x120,-0x264),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x50b856){const _0x164e63=await findUp(_0x50b856,TYPESCRIPT_ROOT_MARKERS);if(!_0x164e63)return void 0x0;return await hasDenoRoot(_0x164e63)?void 0x0:_0x164e63;},async 'spawn'(_0x5033e7){const _0x141f47={_0x83dabf:0xfa,_0x5a9fcb:0x12,_0x15ed0d:0x179,_0x1bf9fc:0x196,_0x19c9ff:0xc7},_0x3e5cb3={_0x1acdc1:0xf7,_0x2689ac:0x158,_0x5e6b76:0x1b8},_0x2e51c4={_0x2ee567:0x1ae},_0x333156=await resolveTsserverPath(_0x5033e7);function _0x3f037b(_0x2b4f49,_0x1d5af0,_0x12cd62,_0x39f2d4){return _0x4d40c0(_0x2b4f49-0x14c,_0x12cd62-0x1d6,_0x12cd62-_0x2e51c4._0x2ee567,_0x39f2d4);}if(!_0x333156)return void 0x0;function _0x23976a(_0x9bb647,_0x3c978f,_0x59f6cc,_0x41e9c6){return _0xf90728(_0x9bb647,_0x3c978f-_0x3e5cb3._0x1acdc1,_0x3c978f- -_0x3e5cb3._0x2689ac,_0x41e9c6-_0x3e5cb3._0x5e6b76);}const _0x123863=await resolvePackageBinary({'packageName':'typescript-language-server','binaryName':'typescript-language-server','startDir':_0x5033e7});if(!_0x123863)return void 0x0;return{'process':_0x5667c4(_0x123863,[_0x23976a(-0x22,-_0x141f47._0x83dabf,-_0x141f47._0x5a9fcb,0x3f)],{'cwd':_0x5033e7,'stdio':_0x23976a(-_0x141f47._0x15ed0d,-_0x141f47._0x1bf9fc,-0x206,-_0x141f47._0x19c9ff)}),'initialization':{'tsserver':{'path':_0x333156}}};}},BiomeServer={'id':_0x4d40c0(-0xd1,-0x176,-0x7c,-0x1ec),'name':'Biome\x20Language\x20Server','extensions':BIOME_EXTENSIONS,async 'root'(_0x12ba71){return findUp(_0x12ba71,BIOME_ROOT_MARKERS);},async 'spawn'(_0x3b6e2c){const _0xfd9f91={_0x583e70:0x1ce,_0x190f6c:0x94,_0x20c503:0x1f4,_0x9f6c18:0x130,_0x1a0be8:0x5e,_0x16c9a0:0x258,_0x9687:0x219,_0x3727e8:0x1f2,_0x46bcd6:0x3c1,_0x7c2157:0x10c,_0x1be6a3:0x1c0,_0x388ccc:0x1f6,_0x5eef9e:0x6d},_0x63b92c={_0x1b9ad9:0x1fe,_0x55372b:0x63},_0x526538={_0x3b8595:0xfc};function _0x5574e3(_0x4c0e35,_0x3fd528,_0x5740f7,_0x360425){return _0x4d40c0(_0x4c0e35-0x57,_0x360425-_0x526538._0x3b8595,_0x5740f7-0x65,_0x5740f7);}function _0x5a8482(_0x1c3559,_0x219e30,_0x42ed1f,_0x43cc98){return _0xf90728(_0x43cc98,_0x219e30-0x164,_0x1c3559-_0x63b92c._0x1b9ad9,_0x43cc98-_0x63b92c._0x55372b);}const _0x206d85=await findPackageBinary(_0x5a8482(_0xfd9f91._0x583e70,0x199,_0xfd9f91._0x190f6c,_0xfd9f91._0x20c503),_0x3b6e2c)??await resolvePackageBinary({'packageName':_0x5574e3(_0xfd9f91._0x9f6c18,0x69,_0xfd9f91._0x1a0be8,0x2d),'binaryName':_0x5a8482(_0xfd9f91._0x583e70,0x1f0,_0xfd9f91._0x16c9a0,0x1c0),'startDir':_0x3b6e2c});if(!_0x206d85)return void 0x0;return{'process':_0x5667c4(_0x206d85,[_0x5574e3(-0x139,-_0xfd9f91._0x9687,-_0xfd9f91._0x3727e8,-0x140),_0x5a8482(0x25c,0x146,_0xfd9f91._0x46bcd6,_0xfd9f91._0x7c2157)],{'cwd':_0x3b6e2c,'stdio':_0x5a8482(_0xfd9f91._0x1be6a3,_0xfd9f91._0x388ccc,0x165,_0xfd9f91._0x5eef9e)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x14da2c){const _0x40d503={_0x1b4678:0x259,_0x34b4ef:0x10b,_0x5b0394:0x231,_0x303838:0x85,_0x129b59:0x121},_0x428359={_0x4156fa:0x1a3,_0x32ddb6:0xd9},_0x467688={_0x4a0b31:0x182};function _0x5ae1ad(_0x14f44e,_0x1763b5,_0x45745a,_0x43af1f){return _0x4d40c0(_0x14f44e-0x9f,_0x43af1f-0xe5,_0x45745a-_0x467688._0x4a0b31,_0x45745a);}const _0x198338=_0x5d8c92[_0x1f2c5d(_0x40d503._0x1b4678,_0x40d503._0x34b4ef,0x148,_0x40d503._0x5b0394)](_0x14da2c)[_0x1f2c5d(0x1da,0x215,0x16b,_0x40d503._0x303838)]();function _0x1f2c5d(_0x2afa68,_0x48bc32,_0x36a251,_0x3c9a72){return _0x4d40c0(_0x2afa68-_0x428359._0x4156fa,_0x36a251-0x3a1,_0x36a251-_0x428359._0x32ddb6,_0x3c9a72);}return BUILTIN_LSP_SERVERS[_0x5ae1ad(-_0x40d503._0x129b59,0x10a,-0x1da,-0x69)](_0x23247d=>_0x23247d[_0x1f2c5d(0xc5,0x1a1,0x1e0,0x252)][_0x1f2c5d(0x1a0,0x13d,0x169,0xa)](_0x198338));}function stateKey(_0x58ab57,_0xa56b1f){return _0xa56b1f+':'+_0x58ab57['id'];}function diagnosticsKeyToPath(_0xd298f7){const _0x24bd95={_0x220ca0:0x13b,_0x17709f:0x1c9,_0x420099:0x67d},_0x2a4e93={_0x2d2775:0x72,_0x46474a:0x2fe},_0x12e411={_0x5f1c8b:0x72f};if(!_0xd298f7[_0x5c2049(0x294,_0x24bd95._0x220ca0,0x99,_0x24bd95._0x17709f)](_0x1ff0c0(0x5ea,0x6b3,_0x24bd95._0x420099,0x817)))return _0xd298f7;function _0x1ff0c0(_0x19cd08,_0x516488,_0x35de1e,_0x387b27){return _0x4d40c0(_0x19cd08-0x9c,_0x516488-_0x12e411._0x5f1c8b,_0x35de1e-0x1c7,_0x387b27);}function _0x5c2049(_0x59dd55,_0x46dc66,_0x4c8030,_0x1d9457){return _0xf90728(_0x59dd55,_0x46dc66-_0x2a4e93._0x2d2775,_0x1d9457-_0x2a4e93._0x46474a,_0x1d9457-0x3b);}return fileURLToPath(_0xd298f7);}function nextFileVersion(_0x5c36e8,_0x14ce7f){const _0x52cc15={_0x14f60b:0x5bb,_0x53d2d9:0x556,_0x1c06d7:0x5a8,_0x5eaedf:0x588,_0xef395a:0x4e5,_0x450c9b:0x480,_0x6e6623:0x4dd,_0x149031:0x627,_0x324cc9:0x388,_0x2d601d:0x61a},_0x1c062c={_0x3b8a96:0x93,_0x17dc86:0x60d},_0x4ff4c5={_0x5a1484:0xa1};function _0x4f263c(_0x4d4913,_0x11cd61,_0x4f43b3,_0x7df489){return _0xf90728(_0x4f43b3,_0x11cd61-0x16,_0x4d4913-0x3e9,_0x7df489-_0x4ff4c5._0x5a1484);}const _0x15d005=(_0x5c36e8[_0x2b9039(_0x52cc15._0x14f60b,_0x52cc15._0x53d2d9,_0x52cc15._0x1c06d7,_0x52cc15._0x5eaedf)][_0x2b9039(0x562,_0x52cc15._0xef395a,_0x52cc15._0x450c9b,0x624)](_0x14ce7f)??0x1)+0x1;function _0x2b9039(_0x376c2d,_0x398367,_0xc64685,_0x506f9b){return _0x4d40c0(_0x376c2d-_0x1c062c._0x3b8a96,_0x376c2d-_0x1c062c._0x17dc86,_0xc64685-0x157,_0x506f9b);}return _0x5c36e8[_0x4f263c(_0x52cc15._0x6e6623,_0x52cc15._0x149031,0x3f2,_0x52cc15._0x324cc9)][_0x2b9039(_0x52cc15._0x2d601d,0x5c9,0x4a5,0x5e7)](_0x14ce7f,_0x15d005),_0x15d005;}async function collectClientResults(_0xc2b74a){const _0x4f1425={_0xaa7ca4:0x1a7,_0x411c70:0x2c4},_0x6f7356={_0x33ac3f:0x1d5},_0x25dc6e={_0xbb0054:0x492};function _0x85d262(_0x79bba1,_0x263bfa,_0x11d9e2,_0x479f83){return _0x4d40c0(_0x79bba1-0x82,_0x263bfa-_0x25dc6e._0xbb0054,_0x11d9e2-0x164,_0x479f83);}function _0x27416b(_0x2b22a1,_0x529250,_0x2cb0d8,_0x28ef9c){return _0x4d40c0(_0x2b22a1-0x70,_0x529250-0x3b5,_0x2cb0d8-_0x6f7356._0x33ac3f,_0x28ef9c);}const _0xc1c1a1=await Promise[_0x85d262(_0x4f1425._0xaa7ca4,_0x4f1425._0x411c70,0x334,0x21b)](_0xc2b74a);return _0xc1c1a1['flatMap'](_0x26cd25=>_0x26cd25[_0x85d262(0x400,0x36a,0x432,0x4c0)]===_0x85d262(0x4ab,0x40d,0x3ee,0x42c)?_0x26cd25[_0x27416b(0x210,0x1ba,0x98,0x11a)]:[]);}function createLspService(_0x2e182c={}){const _0x3d0bc8={_0x452217:0x47c,_0x197a8b:0x645,_0x2c3ed8:0x521},_0x4755c4={_0x42f2d7:0x298},_0x371ee0={_0x1c299e:0x1c,_0x357b40:0x77,_0x1871d1:0xa,_0x18bb7e:0x64,_0x270fd8:0xbb,_0x3aa861:0x2c,_0x480158:0x19e,_0x557107:0x127,_0x156747:0xc6,_0x1c6d01:0x1cb,_0x3ea4cd:0x14,_0x56c807:0x7a,_0x65452c:0xee},_0x566321={_0x51c1d0:0x4db,_0x2e64ea:0x3d8},_0x51424c={_0x55dc40:0x217,_0x3d60b1:0x30c},_0x13192d={_0x419b20:0x1da},_0x5d4f7d={_0x2fb87d:0x284},_0x15cebd={_0x5a2102:0x386},_0x568af1={_0x17a9f4:0x5c},_0x3ee293={_0x34f0b3:0x2d0,_0x57fc60:0x42d,_0x4e65e6:0x1ef},_0x2f5a2b={_0x3d95f5:0x85},_0x4911de={_0x143d0e:0x38a,_0x373bda:0x17a,_0x4a13d1:0x28,_0x587af9:0x10a,_0x1db7ec:0x136,_0x4063ca:0x216,_0x261c6d:0x275},_0x3b5d89={_0xc5e79d:0x101},_0x11115e={_0x3dc198:0x570},_0x27ba26={_0x36c559:0x393},_0x54b830={_0x393c22:0x20e},_0xf93762={_0x2e0ee4:0x6cd},_0x416dc3={_0x5d99b0:0x31c},_0x3503d8={_0x1e1c6c:0x478,_0x197678:0x4ca,_0x174d50:0x4cb,_0x465899:0x3eb,_0x527034:0x538},_0xe18843={_0x41e09e:0x19f,_0x25b3f5:0x1da,_0x3f9ef3:0x31a,_0x2be498:0x280,_0x376784:0x1ee},_0x5e9723={_0x5c8bac:0xf4,_0x1abb3d:0x66,_0x51bd7e:0x23},_0x25b97c={_0x166f8c:0x267,_0x45e983:0x386,_0x3c988d:0x134,_0x44b827:0x4ba,_0x8a8b9c:0x423,_0x3ab524:0x61e,_0x246a6e:0x5a7,_0x288f59:0x63c,_0x9b7c4e:0x591,_0x2726a9:0x640,_0x3a1a0f:0x63b,_0x5a265f:0x725,_0x146381:0x36,_0x1dfa17:0x1a8,_0x510ece:0x5ad,_0x34f6fd:0x4f2,_0x1a74f4:0x43a,_0x4d73c7:0x3c7},_0x4d5af9={_0x315c8b:0x5ab,_0x3994b1:0x574,_0x5b6b46:0x7d,_0x39ba77:0x53,_0x1b2075:0x1c5,_0x5ae8f3:0xa6,_0x35d80d:0xe6,_0x5210fa:0x8a,_0x3614ef:0x202,_0x24987a:0x16f,_0x2f2a04:0x15},_0x542848={_0x167029:0x1c3,_0x2b33ab:0x2b3,_0x3a479d:0x259,_0x14b863:0x73,_0x2c9d35:0x107,_0x2a308b:0x8d,_0x5d28d6:0x6f,_0x43e1ff:0x1e6,_0x214fd6:0x33},_0x5bf30a={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x32d049=()=>_0x2e182c['enabled']!==![];async function _0x2ac679(_0x41e406,_0x3587e5){const _0x4100f1={_0x2ea157:0x1c,_0xaf9464:0x39,_0x42c06a:0x68,_0xf10486:0x1a9,_0x14c8d5:0x1e,_0xc6a545:0x184,_0x42f321:0xe8,_0x3e4dbb:0xc4,_0x2d3d21:0xe,_0x9cafba:0x128,_0x2c223a:0xfa,_0x5f179f:0x1c4},_0x4bd8a0={_0x18f612:0x87},_0x1dba5e={_0x4132ed:0x3d7},_0x26c7af=stateKey(_0x41e406,_0x3587e5);function _0x393a6a(_0x55652e,_0x516f34,_0x40eba8,_0x3bb801){return _0x3eab(_0x40eba8- -0x21d,_0x55652e);}const _0xf4dad4=_0x5bf30a['clients'][_0x428208(-0x309,-0x1fb,-0x232,-_0x542848._0x167029)](_0x34723b=>_0x34723b[_0x393a6a(0x9b,-0x11e,0x54,0x13f)]===_0x41e406['id']&&_0x34723b[_0x428208(-0x335,-0x183,-0x282,-0x231)]===_0x3587e5);if(_0xf4dad4)return _0xf4dad4;if(_0x5bf30a[_0x393a6a(-_0x542848._0x2b33ab,-0x260,-0x164,-0x1d9)][_0x428208(-0x32a,-0x387,-0x1f5,-_0x542848._0x3a479d)](_0x26c7af))return void 0x0;const _0x3a178e=_0x5bf30a[_0x393a6a(-_0x542848._0x14b863,-_0x542848._0x2c9d35,-_0x542848._0x2a308b,-_0x542848._0x5d28d6)]['get'](_0x26c7af);function _0x428208(_0x37df87,_0x25fb7a,_0x49e2cb,_0x32560e){return _0x3eab(_0x32560e- -_0x1dba5e._0x4132ed,_0x49e2cb);}if(_0x3a178e)return _0x3a178e;const _0x46baec=((async()=>{const _0x4d853f={_0x76fa0b:0x182};function _0x1987bd(_0x336562,_0xd48957,_0x1606f0,_0x5432a5){return _0x393a6a(_0x336562,_0xd48957-_0x4d853f._0x76fa0b,_0x5432a5-0xa0,_0x5432a5-0x24);}function _0x508694(_0x539cbd,_0x504f27,_0x3bb59d,_0x2bab75){return _0x393a6a(_0x2bab75,_0x504f27-0xb5,_0x504f27-_0x4bd8a0._0x18f612,_0x2bab75-0x1a3);}try{const _0x3a3a5f=await _0x41e406['spawn'](_0x3587e5);if(!_0x3a3a5f)return _0x5bf30a[_0x508694(-_0x4100f1._0x2ea157,-0xdd,-_0x4100f1._0xaf9464,_0x4100f1._0x42c06a)][_0x508694(0x76,-0xf0,-_0x4100f1._0xf10486,0x69)](_0x26c7af),void 0x0;const _0x4ed00b=await createLspClient({'server':_0x41e406,'root':_0x3587e5,'handle':_0x3a3a5f}),_0x523c49=_0x5bf30a['clients']['find'](_0x273234=>_0x273234[_0x1987bd(0x1d5,0x208,0xb0,0xf4)]===_0x41e406['id']&&_0x273234[_0x508694(-0x10c,0x10,-0x65,-0x9d)]===_0x3587e5);if(_0x523c49)return await _0x4ed00b[_0x508694(-0x9a,_0x4100f1._0x14c8d5,-0x67,_0x4100f1._0xc6a545)](),_0x523c49;return _0x5bf30a['clients']['push'](_0x4ed00b),_0x4ed00b;}catch{return _0x5bf30a[_0x1987bd(-_0x4100f1._0x42f321,0x17,0x81,-_0x4100f1._0x3e4dbb)][_0x508694(_0x4100f1._0x2d3d21,-0xf0,-_0x4100f1._0x9cafba,-0x107)](_0x26c7af),void 0x0;}finally{_0x5bf30a[_0x1987bd(-0xb,_0x4100f1._0x2c223a,-0x155,0x13)][_0x508694(-0x1bc,-0xee,-0x215,-_0x4100f1._0x5f179f)](_0x26c7af);}})());return _0x5bf30a['spawning'][_0x428208(-_0x542848._0x43e1ff,_0x542848._0x214fd6,-0xcd,-0x81)](_0x26c7af,_0x46baec),_0x46baec;}async function _0x5a2a3b(_0x45ab8b,_0x226351){const _0x47c86b={_0x159aba:0x1fb};if(!_0x32d049())return[];const _0x3e4c01=[];function _0x2f19db(_0x586085,_0x1c84d1,_0x5c7de1,_0x13a2f7){return _0x3eab(_0x5c7de1-0x383,_0x586085);}function _0x5cb4a5(_0x484a8f,_0xffad4c,_0x31dc63,_0x254edf){return _0x3eab(_0xffad4c- -_0x47c86b._0x159aba,_0x254edf);}for(const _0x495602 of getServersForFile(_0x45ab8b)){const _0x267857=await _0x495602['root'](_0x45ab8b);if(!_0x267857)continue;const _0x14523c=stateKey(_0x495602,_0x267857);if(_0x5bf30a[_0x2f19db(0x4d4,_0x4d5af9._0x315c8b,0x43c,_0x4d5af9._0x3994b1)][_0x5cb4a5(-0x111,-_0x4d5af9._0x5b6b46,0xc2,_0x4d5af9._0x39ba77)](_0x14523c))continue;const _0xfecf68=_0x5bf30a[_0x5cb4a5(-0x84,0xd3,_0x4d5af9._0x1b2075,0x21e)][_0x5cb4a5(_0x4d5af9._0x5ae8f3,0x19,_0x4d5af9._0x35d80d,-_0x4d5af9._0x5210fa)](_0x5293be=>_0x5293be[_0x5cb4a5(0xcf,0x76,0x9f,0x14b)]===_0x495602['id']&&_0x5293be['root']===_0x267857);if(_0xfecf68){_0x3e4c01[_0x5cb4a5(-_0x4d5af9._0x3614ef,-0x8a,-0xe7,-0xd7)](_0xfecf68);continue;}if(!_0x226351)continue;const _0x462a6d=await _0x2ac679(_0x495602,_0x267857);if(_0x462a6d)_0x3e4c01[_0x5cb4a5(-_0x4d5af9._0x24987a,-_0x4d5af9._0x5210fa,-_0x4d5af9._0x2f2a04,-0x1d3)](_0x462a6d);}return _0x3e4c01;}async function _0x6db93d(_0x4c4b5e,_0x45b4e2=![]){const _0x50e8d7={_0x333961:0x153,_0x4d8a43:0x6b4};function _0x14b22d(_0x11d41b,_0x345e86,_0x211e4f,_0x58fb7c){return _0x3eab(_0x211e4f- -0x378,_0x11d41b);}const _0x201c64=await _0x5a2a3b(_0x4c4b5e,!![]);await Promise['all'](_0x201c64[_0x14b22d(_0x5e9723._0x5c8bac,_0x5e9723._0x1abb3d,-_0x5e9723._0x51bd7e,-0x76)](async _0x268cd5=>{const _0x5d5b54={_0x3e97c8:0x29c};!_0x5bf30a[_0x242ab7(_0x25b97c._0x166f8c,0x228,_0x25b97c._0x45e983,_0x25b97c._0x3c988d)][_0x216491(_0x25b97c._0x44b827,_0x25b97c._0x8a8b9c,_0x25b97c._0x3ab524,0x59e)](_0x268cd5[_0x216491(0x5ad,0x530,_0x25b97c._0x246a6e,_0x25b97c._0x288f59)]+':'+_0x268cd5['root']+':'+_0x4c4b5e)&&(await _0x268cd5['notify'][_0x216491(0x688,0x7fe,0x7ac,_0x25b97c._0x9b7c4e)]({'path':_0x4c4b5e}),_0x5bf30a[_0x216491(_0x25b97c._0x2726a9,_0x25b97c._0x3a1a0f,_0x25b97c._0x5a265f,0x637)][_0x242ab7(0xdc,-_0x25b97c._0x146381,0x6b,-_0x25b97c._0x1dfa17)](_0x268cd5[_0x216491(_0x25b97c._0x510ece,0x4b5,0x724,_0x25b97c._0x34f6fd)]+':'+_0x268cd5[_0x216491(0x4e2,0x651,0x438,0x59f)]+':'+_0x4c4b5e));await _0x268cd5['notify']['change']({'path':_0x4c4b5e,'version':nextFileVersion(_0x5bf30a,_0x4c4b5e)});function _0x216491(_0x285c2c,_0x59129c,_0x573358,_0x3560b4){return _0x14b22d(_0x3560b4,_0x59129c-_0x50e8d7._0x333961,_0x285c2c-_0x50e8d7._0x4d8a43,_0x3560b4-0x1d0);}function _0x242ab7(_0x5d1a5c,_0x1ea8e6,_0x1d136c,_0x3da26b){return _0x14b22d(_0x3da26b,_0x1ea8e6-0x50,_0x1ea8e6-_0x5d5b54._0x3e97c8,_0x3da26b-0x142);}if(_0x45b4e2)await _0x268cd5[_0x216491(_0x25b97c._0x1a74f4,0x495,_0x25b97c._0x4d73c7,0x406)]({'path':_0x4c4b5e});}));}async function _0xdc3b48(_0x5b2ed2){return await _0x6db93d(_0x5b2ed2['file'],![]),_0x5a2a3b(_0x5b2ed2['file'],![]);}async function _0x1c0fbf(_0x32a982){const _0x87d4f={_0x5026ac:0x307},_0x57d883=await _0xdc3b48(_0x32a982);function _0x5a173d(_0x4ff193,_0x1e3ce8,_0x1d6d26,_0x5c7496){return _0x3eab(_0x4ff193-_0x87d4f._0x5026ac,_0x1d6d26);}return collectClientResults(_0x57d883['map'](_0x3ef4a6=>_0x3ef4a6['request'][_0x5a173d(0x58c,0x675,0x44c,0x60b)](_0x32a982)));}return{'isEnabled':_0x32d049,async 'hasClients'(_0x470f88){const _0x5d4557={_0x358eb2:0x9b};function _0x170c2b(_0x605020,_0x5eb8b2,_0x247d3f,_0x2fb13b){return _0x3eab(_0x5eb8b2- -0xd0,_0x247d3f);}function _0x33e19c(_0x4e977e,_0x2aaf7e,_0x3b97d6,_0x480104){return _0x3eab(_0x3b97d6- -_0x5d4557._0x358eb2,_0x480104);}return(await _0x5a2a3b(_0x470f88,![]))[_0x33e19c(_0xe18843._0x41e09e,0x331,0x1ee,_0xe18843._0x25b3f5)]>0x0||getServersForFile(_0x470f88)[_0x33e19c(_0xe18843._0x3f9ef3,_0xe18843._0x2be498,_0xe18843._0x376784,0x361)]>0x0;},'touchFile':_0x6db93d,async 'diagnostics'(){const _0x62f936={_0x38bba9:0x3b};function _0x32d605(_0x23432c,_0x33a195,_0x4de5a4,_0x374f9f){return _0x3eab(_0x374f9f-0x1fd,_0x33a195);}function _0x28022f(_0x19bf60,_0x4f7cd1,_0x3dcee6,_0x2c460f){return _0x3eab(_0x2c460f- -_0x62f936._0x38bba9,_0x4f7cd1);}const _0x50ba80={};for(const _0x43a127 of _0x5bf30a[_0x32d605(0x427,_0x3503d8._0x1e1c6c,_0x3503d8._0x197678,_0x3503d8._0x174d50)]){for(const [_0x1671d0,_0x30600a]of _0x43a127[_0x32d605(0x3d6,_0x3503d8._0x465899,0x5b1,_0x3503d8._0x527034)]){_0x50ba80[diagnosticsKeyToPath(_0x1671d0)]=_0x30600a;}}return _0x50ba80;},async 'diagnosticsForFile'(_0x4a8658){await _0x6db93d(_0x4a8658,!![]);function _0x10e37a(_0x5c536c,_0x253ec6,_0x1a391b,_0xede8a8){return _0x3eab(_0x5c536c-_0x416dc3._0x5d99b0,_0xede8a8);}const _0x2ab182=[];for(const _0x27a3fe of await _0x5a2a3b(_0x4a8658,![])){for(const [_0x440b43,_0x15dd78]of _0x27a3fe[_0x10e37a(0x657,0x59e,_0xf93762._0x2e0ee4,0x54e)]){if(diagnosticsKeyToPath(_0x440b43)===_0x4a8658)_0x2ab182['push'](..._0x15dd78);}}return _0x2ab182;},async 'definition'(_0x333a8d){function _0x455b9b(_0x5f37b4,_0x5d1444,_0x48f1cb,_0x50558d){return _0x3eab(_0x50558d-0x5,_0x48f1cb);}function _0x578fb2(_0x38dc7a,_0x463ce2,_0x5911eb,_0x17c426){return _0x3eab(_0x38dc7a- -_0x54b830._0x393c22,_0x17c426);}return collectClientResults((await _0xdc3b48(_0x333a8d))['map'](_0xf70ed2=>_0xf70ed2[_0x578fb2(0x89,0xfd,0xdc,0xb5)][_0x578fb2(0x12e,0x1cc,0x222,0x76)](_0x333a8d)));},async 'references'(_0x151aac){function _0xeb177b(_0x2e7ac8,_0x320060,_0x1f578c,_0x1d9673){return _0x3eab(_0x2e7ac8-_0x27ba26._0x36c559,_0x320060);}return collectClientResults((await _0xdc3b48(_0x151aac))[_0xeb177b(0x6e8,_0x11115e._0x3dc198,0x818,0x63c)](_0x24f229=>_0x24f229['request']['references'](_0x151aac)));},async 'hover'(_0x718d7){function _0x39774b(_0xd42b9c,_0x50175b,_0x506772,_0x2ffe63){return _0x3eab(_0xd42b9c- -0x32d,_0x506772);}function _0x34d6d1(_0x511d95,_0x4b0b55,_0x441068,_0x972eb6){return _0x3eab(_0x441068-_0x3b5d89._0xc5e79d,_0x4b0b55);}const _0x2f1a32=await Promise[_0x34d6d1(0x105,_0x4911de._0x143d0e,0x27c,_0x4911de._0x373bda)]((await _0xdc3b48(_0x718d7))[_0x39774b(_0x4911de._0x4a13d1,_0x4911de._0x587af9,-_0x4911de._0x1db7ec,-0x3a)](_0x4a371c=>_0x4a371c[_0x34d6d1(0x4e9,0x25d,0x398,0x309)][_0x34d6d1(0x334,0x536,0x45f,0x5d2)](_0x718d7)));return _0x2f1a32[_0x34d6d1(_0x4911de._0x4063ca,0x3c8,_0x4911de._0x261c6d,0x23f)](_0x33e4b6=>_0x33e4b6['status']===_0x39774b(-0x69,-0x10a,0x8d,0xca)&&_0x33e4b6[_0x34d6d1(0x19d,0x25a,0x24f,0x2d7)]?[_0x33e4b6[_0x39774b(-0x1df,-0xce,-0x1ef,-0x26b)]]:[]);},async 'documentSymbol'(_0x1cf284){await _0x6db93d(_0x1cf284,![]);function _0x1d6060(_0x1c8a0d,_0x289e09,_0x53eaea,_0x3a8b26){return _0x3eab(_0x289e09- -_0x2f5a2b._0x3d95f5,_0x53eaea);}return collectClientResults((await _0x5a2a3b(_0x1cf284,![]))[_0x1d6060(0x23f,_0x3ee293._0x34f0b3,_0x3ee293._0x57fc60,_0x3ee293._0x4e65e6)](_0x47ec59=>_0x47ec59['request']['documentSymbol'](_0x1cf284)));},async 'workspaceSymbol'(_0x411f13){function _0x5493ad(_0x2f358d,_0x2fac0a,_0x1763b9,_0xab4033){return _0x3eab(_0x2f358d- -_0x568af1._0x17a9f4,_0x2fac0a);}function _0x5ca2f8(_0xd57c8e,_0x3e421e,_0x464ea3,_0x2f31c7){return _0x3eab(_0x2f31c7- -_0x15cebd._0x5a2102,_0x464ea3);}return collectClientResults(_0x5bf30a['clients'][_0x5493ad(0x2f9,0x2d0,_0x5d4f7d._0x2fb87d,0x277)](_0x266cf1=>_0x266cf1[_0x5ca2f8(-0xb2,-0x33,-0x11,-0xef)][_0x5ca2f8(-0x17d,-0x2cc,-0x2cf,-0x1da)](_0x411f13)));},async 'implementation'(_0x245132){const _0x21c007={_0x96b298:0x25e};function _0x275c78(_0x36c13f,_0xb5783e,_0x40321b,_0x2a090c){return _0x3eab(_0x40321b- -0x286,_0x2a090c);}function _0x13e0f1(_0x2bc48f,_0x2aab44,_0x4facd9,_0x574a7f){return _0x3eab(_0x4facd9-_0x21c007._0x96b298,_0x2aab44);}return collectClientResults((await _0xdc3b48(_0x245132))['map'](_0x29fef3=>_0x29fef3[_0x13e0f1(0x669,0x56b,0x4f5,0x66a)][_0x13e0f1(0x55a,0x591,0x47a,0x451)](_0x245132)));},async 'prepareCallHierarchy'(_0x4af214){return _0x1c0fbf(_0x4af214);},async 'incomingCalls'(_0x5d8e86){function _0x161f2e(_0x27ba59,_0x4dd283,_0x5cf79b,_0xc5ca5b){return _0x3eab(_0x4dd283- -0xba,_0x5cf79b);}const _0x3a2805=await _0x1c0fbf(_0x5d8e86),_0x41832a=await _0xdc3b48(_0x5d8e86);function _0x4283f3(_0x4e425e,_0xd0da3,_0x550e08,_0x4e9c82){return _0x3eab(_0x4e425e-_0x13192d._0x419b20,_0xd0da3);}return collectClientResults(_0x41832a[_0x4283f3(0x34e,0x41b,_0x51424c._0x55dc40,_0x51424c._0x3d60b1)](_0x5a8714=>_0x3a2805[_0x4283f3(0x52f,0x684,0x605,0x4ac)](_0x69c796=>_0x5a8714[_0x4283f3(0x471,0x549,0x387,0x4a5)][_0x4283f3(0x48d,0x352,0x511,0x5ec)](_0x69c796))));},async 'outgoingCalls'(_0x5574e8){const _0xd66190={_0x2ab22c:0x367};function _0x52bd12(_0xda4da3,_0x52780c,_0x2b7c59,_0x3edd1a){return _0x3eab(_0x52780c-_0xd66190._0x2ab22c,_0xda4da3);}const _0x57b7e1=await _0x1c0fbf(_0x5574e8),_0x48bd10=await _0xdc3b48(_0x5574e8);return collectClientResults(_0x48bd10[_0x52bd12(0x5b8,_0x566321._0x51c1d0,_0x566321._0x2e64ea,0x632)](_0x5b479f=>_0x57b7e1['map'](_0x573bb6=>_0x5b479f['request']['outgoingCalls'](_0x573bb6))));},async 'shutdown'(){if(_0x5bf30a['shutdownStarted'])return;function _0x4418ad(_0x41eb5d,_0xff61f6,_0x1ef904,_0x4633d0){return _0x3eab(_0x4633d0- -0x1a7,_0x1ef904);}_0x5bf30a[_0x515032(-_0x371ee0._0x1c299e,-_0x371ee0._0x357b40,-0x13f,-_0x371ee0._0x1871d1)]=!![],await Promise[_0x4418ad(_0x371ee0._0x18bb7e,-0x4c,-_0x371ee0._0x270fd8,-_0x371ee0._0x3aa861)](_0x5bf30a[_0x4418ad(0x1f9,0x3b,_0x371ee0._0x480158,_0x371ee0._0x557107)][_0x4418ad(0x9a,_0x371ee0._0x156747,0x4b,0x1ae)](_0xa90f4e=>_0xa90f4e[_0x4418ad(0x8d,0x17f,-0xe8,0xd)]()));function _0x515032(_0x152f5f,_0x1f33c6,_0x2ea6fe,_0x47f715){return _0x3eab(_0x1f33c6- -0x1fe,_0x152f5f);}_0x5bf30a[_0x4418ad(0x230,0x1,_0x371ee0._0x1c6d01,0x127)]=[],_0x5bf30a[_0x515032(-0x16b,-0x6e,0x9b,-0xb0)][_0x515032(0x1,_0x371ee0._0x3ea4cd,0xa,-0x9e)](),_0x5bf30a[_0x4418ad(_0x371ee0._0x56c807,-0x29,-0x236,-_0x371ee0._0x65452c)]['clear'](),_0x5bf30a[_0x515032(0x25f,0xf9,0x30,0x12a)]['clear'](),_0x5bf30a['openFiles']['clear']();},'status'(){function _0x2d2d45(_0x55853b,_0x1a8e25,_0x402fe2,_0x1ccf5a){return _0x3eab(_0x1ccf5a-_0x4755c4._0x42f2d7,_0x55853b);}return{'connectedClients':_0x5bf30a['clients'][_0x2d2d45(_0x3d0bc8._0x452217,0x437,_0x3d0bc8._0x197a8b,_0x3d0bc8._0x2c3ed8)]};}};}function createQuestionId(){const _0x32b831={_0x39bccb:0x791,_0x4def94:0x7a8,_0x3622ec:0x712,_0x26d757:0x4bc,_0xb451d4:0x5d9,_0x22d2c9:0x48f},_0x36309d={_0x2d1de6:0xbc,_0x3525c0:0x153},_0x188279={_0x320bba:0x19d};function _0xf49a3e(_0x1174aa,_0x54bc61,_0x33ee22,_0xc609c0){return _0xf90728(_0x1174aa,_0x54bc61-_0x188279._0x320bba,_0xc609c0-0x354,_0xc609c0-0x151);}function _0x3209e6(_0x4e7be1,_0x52f2e5,_0x415235,_0xf02424){return _0x4d40c0(_0x4e7be1-_0x36309d._0x2d1de6,_0x4e7be1-0x6b1,_0x415235-_0x36309d._0x3525c0,_0x415235);}return _0x3209e6(0x65a,_0x32b831._0x39bccb,0x6a6,_0x32b831._0x4def94)+Date[_0x3209e6(0x690,_0x32b831._0x3622ec,0x546,0x641)]()+'-'+Math[_0xf49a3e(_0x32b831._0x26d757,0x533,_0x32b831._0xb451d4,_0x32b831._0x22d2c9)]()['toString'](0x24)['slice'](0x2,0x9);}function validateInput(_0x8e6081){const _0x4d4726={_0xfec771:0xbf,_0x51bb82:0xb2,_0xcb1965:0x27,_0x5ba475:0x4e,_0x2509e1:0x513,_0x884d01:0x636,_0x3355cd:0x1cb,_0x39f302:0x233,_0x53b095:0xf6,_0x2dd08d:0x4b1,_0x78b289:0x57a,_0x8c18a3:0x591,_0x4355ed:0x49f,_0x4086fe:0x346,_0x55e6d1:0x4dd,_0x49c623:0x7b,_0x5c9940:0xf,_0x26bb9a:0x1ea,_0x31f478:0xf8,_0x293bfe:0x71c,_0x4eff07:0x720,_0x592630:0xc8,_0x3f0a3f:0x89,_0x1fb5ff:0x1a4,_0x3088d6:0xc6,_0x5c2a39:0xc8,_0x53d127:0x54,_0xe5a302:0x58,_0x44c051:0x198,_0x3f11e3:0x11b,_0x257d42:0x1e9,_0x15594b:0x25f,_0x5c2910:0x97,_0x119538:0x1d3,_0x2def80:0x9,_0x4b4b47:0x61b,_0x39e207:0x658,_0x1529b4:0x774,_0x17e6fd:0x44c,_0xaacafb:0x57a,_0xa09c3f:0x6ce,_0x2ab811:0x45f,_0x3bedf7:0x56e,_0x311302:0x470,_0x3465f6:0x352,_0x71e309:0x5d,_0xe6b5bb:0x504,_0x557632:0x475,_0x740ffd:0x4d5,_0x270975:0x5e4,_0x3ad0c5:0x662,_0x5e6409:0x229,_0x12e1c1:0x230,_0x484cc4:0xd1,_0x70540d:0xa1,_0x5e67c3:0xf6,_0x467f10:0x9a,_0x3a4451:0x7b,_0x14f712:0x6ce,_0x5997ec:0x6f6},_0x5abb74={_0x39b6e8:0x13d,_0x1ee709:0x4f4,_0x34bf5b:0x183},_0x3f32fc={_0x584a1a:0x12e,_0x5bab36:0x139};function _0x59c458(_0x5ea963,_0x47f25a,_0x21267c,_0x2be049){return _0xf90728(_0x47f25a,_0x47f25a-_0x3f32fc._0x584a1a,_0x5ea963- -0xde,_0x2be049-_0x3f32fc._0x5bab36);}if(!Array['isArray'](_0x8e6081[_0x59c458(-_0x4d4726._0xfec771,-0x183,_0x4d4726._0x51bb82,_0x4d4726._0xcb1965)])||_0x8e6081['questions'][_0x59c458(-0x58,-_0x4d4726._0x5ba475,-0x186,-0xed)]<0x1||_0x8e6081[_0x493e28(0x41d,0x553,_0x4d4726._0x2509e1,0x3c4)]['length']>0xa)throw new ToolExecutionError(_0x493e28(_0x4d4726._0x884d01,0x56a,0x54f,0x66e),{'error':'invalid_questions'});function _0x493e28(_0xaf3ac0,_0x38e39a,_0x1da6f4,_0x144300){return _0xf90728(_0x38e39a,_0x38e39a-_0x5abb74._0x39b6e8,_0x1da6f4-_0x5abb74._0x1ee709,_0x144300-_0x5abb74._0x34bf5b);}for(let _0x58c0c4=0x0;_0x58c0c4<_0x8e6081[_0x59c458(-0xbf,-_0x4d4726._0x3355cd,-_0x4d4726._0x39f302,-_0x4d4726._0x53b095)][_0x493e28(_0x4d4726._0x2dd08d,0x62f,_0x4d4726._0x78b289,0x47f)];_0x58c0c4+=0x1){const _0x2e7780=_0x8e6081[_0x493e28(0x44e,_0x4d4726._0x8c18a3,_0x4d4726._0x2509e1,_0x4d4726._0x4355ed)][_0x58c0c4];if(!_0x2e7780[_0x493e28(0x47c,0x530,0x46d,_0x4d4726._0x4086fe)]||typeof _0x2e7780[_0x493e28(0x4a0,_0x4d4726._0x55e6d1,0x46d,0x3b5)]!==_0x59c458(-0xb4,0xb4,0xb3,-0x147))throw new ToolExecutionError(_0x59c458(-_0x4d4726._0x49c623,-_0x4d4726._0x5c9940,-_0x4d4726._0x26bb9a,_0x4d4726._0x31f478)+(_0x58c0c4+0x1)+_0x493e28(0x560,_0x4d4726._0x293bfe,0x612,_0x4d4726._0x4eff07));if(!_0x2e7780[_0x59c458(-_0x4d4726._0x592630,-_0x4d4726._0x3f0a3f,-0x1ea,-_0x4d4726._0x1fb5ff)]||typeof _0x2e7780['topic']!==_0x59c458(-0xb4,-0x17,-0xb9,-0x4))throw new ToolExecutionError(_0x59c458(-0x7b,0x98,-_0x4d4726._0x1fb5ff,_0x4d4726._0x3088d6)+(_0x58c0c4+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x2e7780[_0x59c458(-_0x4d4726._0x5c2a39,_0x4d4726._0x53d127,-0x19f,-0x19d)][_0x59c458(-_0x4d4726._0xe5a302,0x9c,-_0x4d4726._0x44c051,-_0x4d4726._0x3f11e3)]>0x1e)throw new ToolExecutionError('Question\x20'+(_0x58c0c4+0x1)+_0x59c458(-_0x4d4726._0x257d42,-0x1be,-0x356,-_0x4d4726._0x15594b)+_0x2e7780[_0x59c458(-_0x4d4726._0x5c2a39,_0x4d4726._0x5c2910,-0x99,-_0x4d4726._0x119538)][_0x59c458(-0x58,_0x4d4726._0x2def80,-_0x4d4726._0xe5a302,-0x1a1)]);if(!Array[_0x493e28(0x530,_0x4d4726._0x4b4b47,_0x4d4726._0x39e207,_0x4d4726._0x1529b4)](_0x2e7780['options'])||_0x2e7780['options']['length']<0x2||_0x2e7780['options'][_0x493e28(_0x4d4726._0x17e6fd,0x68b,_0x4d4726._0xaacafb,_0x4d4726._0xa09c3f)]>0x4)throw new ToolExecutionError(_0x493e28(_0x4d4726._0x2ab811,0x678,0x557,0x671)+(_0x58c0c4+0x1)+_0x493e28(0x42c,_0x4d4726._0x3bedf7,_0x4d4726._0x311302,0x386));for(let _0xe91bec=0x0;_0xe91bec<_0x2e7780['options'][_0x493e28(0x5fd,0x6c1,0x57a,0x613)];_0xe91bec+=0x1){const _0x350cc7=_0x2e7780[_0x493e28(0x544,0x503,0x4c2,_0x4d4726._0x3465f6)][_0xe91bec];if(!_0x350cc7[_0x59c458(-0xab,-0xe4,-0x152,_0x4d4726._0x71e309)]||!_0x350cc7['description'])throw new ToolExecutionError('Question\x20'+(_0x58c0c4+0x1)+_0x493e28(_0x4d4726._0xe6b5bb,_0x4d4726._0x557632,_0x4d4726._0x740ffd,0x475)+(_0xe91bec+0x1)+_0x493e28(0x5ae,_0x4d4726._0x270975,_0x4d4726._0x3ad0c5,0x620));}if(typeof _0x2e7780[_0x59c458(-_0x4d4726._0x5e6409,-0xd6,-_0x4d4726._0x12e1c1,-_0x4d4726._0x484cc4)]!==_0x59c458(_0x4d4726._0x70540d,0x5c,_0x4d4726._0x5e67c3,-_0x4d4726._0x467f10))throw new ToolExecutionError(_0x59c458(-_0x4d4726._0x3a4451,0xc8,-0x14f,-0xce)+(_0x58c0c4+0x1)+_0x493e28(_0x4d4726._0x14f712,_0x4d4726._0x5997ec,0x60d,0x6d1));}}function buildQuestions(_0x565b3d){const _0x36dfe0={_0x1e20b0:0x56f},_0x1c4a11={_0x5b474a:0x195,_0x50f3dc:0x723};function _0x4b6bb5(_0x3e5e2e,_0x266963,_0x123fb3,_0x2c7b24){return _0x4d40c0(_0x3e5e2e-_0x1c4a11._0x5b474a,_0x266963-_0x1c4a11._0x50f3dc,_0x123fb3-0x85,_0x3e5e2e);}function _0x30c8a0(_0xce7bcf,_0x2a60b9,_0x4c10ee,_0x829217){return _0x4d40c0(_0xce7bcf-0x92,_0x2a60b9-0x1ec,_0x4c10ee-0x16d,_0x829217);}return _0x565b3d[_0x4b6bb5(_0x36dfe0._0x1e20b0,0x5fc,0x73e,0x5cf)][_0x4b6bb5(0x752,0x72f,0x610,0x674)]((_0x4b4a4f,_0x2099b7)=>({'id':'q'+_0x2099b7,'question':_0x4b4a4f['question'],'topic':_0x4b4a4f[_0x4b6bb5(0x67e,0x5f3,0x700,0x5ee)],'options':_0x4b4a4f['options'],'multiSelect':_0x4b4a4f[_0x4b6bb5(0x4d4,0x492,0x373,0x500)]}));}function createResult(_0x5894b4,_0x3297b9,_0xc99156){const _0x14ab0b={_0x2a8c97:0xe4,_0x2f397d:0x12c,_0x12607a:0xbd,_0xfe247c:0x509,_0x3415e8:0x379,_0x5d2df6:0x499},_0x1de2d3={_0x5df85f:0x1ae},_0x232f45={_0x495530:0x12d,_0x271722:0x143};function _0x2bb470(_0x1b0edf,_0x3c7f27,_0x452e81,_0x184552){return _0x4d40c0(_0x1b0edf-_0x232f45._0x495530,_0x184552-_0x232f45._0x271722,_0x452e81-0x1b8,_0x3c7f27);}const _0x3e7514={'questionId':_0x5894b4,'questionCount':_0x3297b9,'answers':_0xc99156};function _0x252c61(_0x23641f,_0x1b3da6,_0x11ce23,_0x2f6d38){return _0xf90728(_0x23641f,_0x1b3da6-_0x1de2d3._0x5df85f,_0x11ce23-0x3b4,_0x2f6d38-0x197);}return createToolOutput(_0x2bb470(-_0x14ab0b._0x2a8c97,-_0x14ab0b._0x2f397d,-0x200,-_0x14ab0b._0x12607a)+JSON[_0x252c61(_0x14ab0b._0xfe247c,_0x14ab0b._0x3415e8,_0x14ab0b._0x5d2df6,0x5e1)](_0xc99156,null,0x2),_0x3e7514);}function createAskUserTool(){const _0x296aee={_0x2f7ad4:0x7d,_0x1366e0:0x1e1,_0x5f2683:0x84,_0x17f150:0xcf,_0x197927:0x78,_0x1fde8d:0x193,_0x112a78:0x1b7,_0x4c28d4:0x116,_0x4f0770:0x1e2,_0x38c827:0x41c,_0x26ad31:0x620,_0x277909:0x5ef,_0x30e191:0x4ff,_0x5106ce:0x6b5,_0x2540d3:0x6bc,_0x13d0ca:0x50e,_0x589659:0x17c,_0x337f04:0xf8,_0x59b35e:0x20e,_0x2e2044:0x186,_0x509350:0x17d,_0x553963:0xcf,_0x3d1e68:0x1df},_0x56426c={_0x103ead:0x3a7,_0x3c20a6:0x130,_0x3ff74f:0x330,_0x370787:0x296,_0x20b3d7:0xf,_0x3ff0f6:0x12e,_0x5b874c:0x100,_0x24f84e:0x4ca,_0x4b7e59:0x279,_0x3c2c83:0x2c1,_0x5bf013:0x2e0,_0x208a63:0x247,_0x55031b:0x271,_0x1eb862:0x409,_0x2bd956:0x380,_0x18b69d:0x26a,_0x203d5e:0x28b,_0x4d49bb:0x39c,_0x377a73:0x389},_0x4df13f={_0x337763:0x48},_0x2e01a2={_0x470f9b:0x24,_0x3e0183:0xa9},_0x57c057={_0x247312:0xad};function _0x42e81f(_0x432248,_0x7f7a82,_0x4685ac,_0x37b8c5){return _0x4d40c0(_0x432248-0x6,_0x432248-0x6e2,_0x4685ac-_0x57c057._0x247312,_0x37b8c5);}function _0x3cca02(_0x2dd8cf,_0x504028,_0x442883,_0x58026){return _0x4d40c0(_0x2dd8cf-0x8e,_0x504028-_0x2e01a2._0x470f9b,_0x442883-_0x2e01a2._0x3e0183,_0x2dd8cf);}return defineTool({'name':'AskUserTool','description':_0x3cca02(-_0x296aee._0x2f7ad4,-0xda,-0x14b,-_0x296aee._0x1366e0),'inputSchema':{'type':_0x3cca02(_0x296aee._0x5f2683,-_0x296aee._0x17f150,-_0x296aee._0x197927,-_0x296aee._0x1fde8d),'properties':{'questions':{'type':_0x3cca02(-0x205,-_0x296aee._0x112a78,-0x2fc,-0x9d),'items':{'type':'object','properties':{'question':{'type':_0x3cca02(-0x12c,-0xf8,-_0x296aee._0x4c28d4,-_0x296aee._0x4f0770)},'topic':{'type':'string'},'options':{'type':_0x42e81f(0x507,0x41a,_0x296aee._0x38c827,_0x296aee._0x26ad31),'items':{'type':_0x42e81f(_0x296aee._0x277909,0x4d3,0x75f,_0x296aee._0x30e191),'properties':{'label':{'type':_0x42e81f(0x5c6,_0x296aee._0x5106ce,_0x296aee._0x2540d3,_0x296aee._0x13d0ca)},'description':{'type':_0x3cca02(-_0x296aee._0x589659,-_0x296aee._0x337f04,-0x249,0x5e)}},'required':['label',_0x3cca02(-_0x296aee._0x59b35e,-_0x296aee._0x2e2044,-0x196,-0x125)]}},'multiSelect':{'type':'boolean'}},'required':[_0x3cca02(-0x12b,-0x1a9,-0x97,-0x26c),'topic','options','multiSelect']}},'answers':{'type':_0x3cca02(-_0x296aee._0x509350,-_0x296aee._0x553963,-_0x296aee._0x3d1e68,-0x136),'properties':{}}},'required':[_0x3cca02(-0x262,-0x103,-0x63,0x3a)]},async *'execute'(_0x4e587d,_0x1b9673){const _0xd776c7=_0x4e587d;validateInput(_0xd776c7);function _0x2b8ae0(_0x5751be,_0x37c159,_0xf0d25e,_0x5dc3e7){return _0x3cca02(_0x5dc3e7,_0xf0d25e-0x37c,_0xf0d25e-_0x4df13f._0x337763,_0x5dc3e7-0x2a);}const _0x338c5f=_0x1b9673[_0x2b8ae0(_0x56426c._0x103ead,0x3db,0x2ac,0x214)]??createQuestionId();if(_0xd776c7[_0x2487fc(0x247,_0x56426c._0x3c20a6,_0x56426c._0x3ff74f,_0x56426c._0x370787)]&&Object[_0x2b8ae0(0x291,_0x56426c._0x20b3d7,_0x56426c._0x3ff0f6,_0x56426c._0x5b874c)](_0xd776c7['answers'])[_0x2487fc(0x363,_0x56426c._0x24f84e,0x2c9,0x2fc)]>0x0)return createResult(_0x338c5f,_0xd776c7[_0x2b8ae0(0x1e4,0x1cd,_0x56426c._0x4b7e59,0x24d)][_0x2b8ae0(0x184,_0x56426c._0x3c2c83,_0x56426c._0x5bf013,0x1ae)],_0xd776c7[_0x2487fc(_0x56426c._0x208a63,0x16e,0x2b6,_0x56426c._0x55031b)]);if(!_0x1b9673[_0x2487fc(_0x56426c._0x1eb862,0x4bf,_0x56426c._0x2bd956,0x425)])throw new ToolExecutionError('Context\x20does\x20not\x20support\x20user\x20questions');function _0x2487fc(_0x16ca09,_0x1235b9,_0x525480,_0x4ed594){return _0x42e81f(_0x16ca09- -0x2bf,_0x1235b9-0x1c7,_0x525480-0xb9,_0x4ed594);}const _0x321a94=buildQuestions(_0xd776c7),_0x53f463=await _0x1b9673['askUser']({'questionId':_0x338c5f,'questions':_0x321a94});yield createResult(_0x338c5f,_0xd776c7[_0x2b8ae0(_0x56426c._0x18b69d,_0x56426c._0x203d5e,0x279,_0x56426c._0x4d49bb)][_0x2b8ae0(_0x56426c._0x377a73,0x27f,0x2e0,0x454)],_0x53f463);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x212a88}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x56de06){return _0x56de06 instanceof Error;}function resolveCarriageReturns(_0x2a3583){const _0x5a62cb={_0x23645c:0x45f},_0x3eebff={_0x3f955c:0xde},_0x36de5e={_0xa83e42:0x106};function _0xc98557(_0x347c03,_0x1b6cc7,_0x2e4d1a,_0x300342){return _0xf90728(_0x2e4d1a,_0x1b6cc7-0x66,_0x347c03-0x38e,_0x300342-0x15c);}return _0x2a3583[_0xc98557(0x43f,0x49d,0x2cf,_0x5a62cb._0x23645c)]('\x0a')['map'](_0x4b0226=>{if(!_0x4b0226[_0xb83104(0x228,0x189,0x364,_0x3eebff._0x3f955c)]('\x0d'))return _0x4b0226;const _0x3997f5=_0x4b0226['split']('\x0d');function _0xb83104(_0x382516,_0x648634,_0x30e19c,_0x55d3de){return _0xc98557(_0x382516- -0x74,_0x648634-_0x36de5e._0xa83e42,_0x55d3de,_0x55d3de-0x9e);}return _0x3997f5[_0x3997f5['length']-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x4e913b){const _0x5cb7d6={_0x5accf4:0x12c,_0x46a290:0xfd,_0x4c4f81:0x77},_0x52a067={_0x2d38f6:0x68,_0x433c14:0x1e2,_0x52619f:0x77},_0xf08924=[];function _0x3387e4(_0x2a3a7d,_0x24be18,_0x59c76f,_0x251a5a){return _0xf90728(_0x24be18,_0x24be18-_0x52a067._0x2d38f6,_0x251a5a- -_0x52a067._0x433c14,_0x251a5a-_0x52a067._0x52619f);}for(const _0x17c594 of Array['from'](_0x4e913b)){_0x17c594==='\x08'?_0xf08924[_0x3387e4(-0xfe,-_0x5cb7d6._0x5accf4,0x26,-0xe2)]():_0xf08924['push'](_0x17c594);}function _0x2d9dab(_0x4d03b1,_0x49e51a,_0x16f13a,_0x223b2e){return _0xf90728(_0x16f13a,_0x49e51a-0x167,_0x223b2e-0x59e,_0x223b2e-0x27);}return _0xf08924[_0x3387e4(-0x1d8,_0x5cb7d6._0x46a290,0x8b,-_0x5cb7d6._0x4c4f81)]('');}function stripAnsiAndControls(_0x4eda6c){const _0x1d4a8e={_0x1a4bde:0xdb,_0x2757f3:0x16d,_0x30e20c:0x16,_0x7ff284:0xbf,_0x242d1b:0x18f,_0x5f0ace:0x1a1,_0x2e3d7c:0x89,_0x168db9:0x23c,_0x45d6ff:0x40,_0x19ce16:0x229,_0x466d1b:0x227,_0x8274f2:0x3a0},_0x209220={_0x4cf7ee:0x18,_0x144739:0x183},_0x2747b1={_0x4b1900:0x131,_0x15c9c3:0x152};_0x4eda6c=resolveCarriageReturns(_0x4eda6c),_0x4eda6c=resolveBackspaces(_0x4eda6c),_0x4eda6c=stripVTControlCharacters(_0x4eda6c);const _0x3b2b8c='\x1b',_0x446321='\x07';function _0x463530(_0x22c37b,_0x19f02a,_0x4febde,_0x30f128){return _0xf90728(_0x30f128,_0x19f02a-_0x2747b1._0x4b1900,_0x22c37b- -_0x2747b1._0x15c9c3,_0x30f128-0xfc);}function _0x3b15ca(_0x42a24a,_0x294bd9,_0x2d318f,_0x310aeb){return _0xf90728(_0x2d318f,_0x294bd9-0x15d,_0x294bd9- -_0x209220._0x4cf7ee,_0x310aeb-_0x209220._0x144739);}return _0x4eda6c=_0x4eda6c[_0x463530(-0x229,-0xfd,-0x34b,-0x279)](new RegExp(_0x3b15ca(0x77,_0x1d4a8e._0x1a4bde,-0x25,_0x1d4a8e._0x2757f3)+_0x446321+_0x463530(-_0x1d4a8e._0x30e20c,-0xa6,-0xb8,_0x1d4a8e._0x7ff284)+_0x446321,'g'),''),_0x4eda6c=_0x4eda6c[_0x463530(-0x229,-0x294,-_0x1d4a8e._0x242d1b,-0x12b)](new RegExp(_0x463530(-0x290,-0x350,-0x221,-0x394)+_0x3b2b8c+'\x5c\x5c','g'),''),_0x4eda6c=_0x4eda6c['replace'](new RegExp(_0x446321,'g'),''),_0x4eda6c=_0x4eda6c['replace'](new RegExp(_0x3b2b8c+_0x463530(-0x24c,-_0x1d4a8e._0x1a4bde,-0x386,-0x24d)+_0x3b2b8c+'\x5c\x5c','g'),''),_0x4eda6c=_0x4eda6c[_0x3b15ca(-_0x1d4a8e._0x5f0ace,-0xef,-0x258,-_0x1d4a8e._0x2e3d7c)](new RegExp(_0x3b2b8c+_0x463530(-0x167,-_0x1d4a8e._0x168db9,-_0x1d4a8e._0x45d6ff,-0x49),'g'),''),_0x4eda6c=_0x4eda6c[_0x463530(-_0x1d4a8e._0x19ce16,-_0x1d4a8e._0x466d1b,-_0x1d4a8e._0x8274f2,-0xe4)](/[\u0080-\u009F]/g,''),_0x4eda6c=_0x4eda6c[_0x463530(-0x229,-0x1fe,-0x325,-0x28a)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x4eda6c=_0x4eda6c[_0x463530(-_0x1d4a8e._0x19ce16,-0x25b,-0x17d,-0x21f)](/[\u23CE\u2424]/g,''),_0x4eda6c;}function killProcessGroup(_0x2ed159,_0x35bd57,_0x1dc35b=_0x4d40c0(-0xa3,-0x7f,-0x10a,0xf7)){const _0x22815d={_0x5dc0cc:0x414,_0xed88b7:0x12f,_0x1984fc:0x418,_0x462044:0x54f,_0x206f99:0x572,_0x516312:0x40f,_0x280197:0x177,_0x39b6ea:0x36f,_0x1464d0:0x5f},_0x5ea9ed={_0x1dc74d:0x3c2,_0x33f2b8:0xbf},_0x5d0753={_0x52690:0x1d7,_0x405b9c:0x322,_0x3c32e4:0x2d};if(!_0x2ed159[_0x812685(0x2e3,0x40f,0x3e8,_0x22815d._0x5dc0cc)])return;if(_0x35bd57)try{_0x212a88(_0xf25f19(0x27b,0x317,0x254,_0x22815d._0xed88b7),[_0x812685(0x326,_0x22815d._0x1984fc,_0x22815d._0x462044,_0x22815d._0x206f99),_0x2ed159[_0x812685(0x525,_0x22815d._0x516312,0x552,0x337)]['toString'](),'/T','/F'],{'stdio':'ignore'});return;}catch{_0x2ed159[_0x812685(_0x22815d._0x280197,0x24e,0x153,_0x22815d._0x39b6ea)](_0x1dc35b);return;}function _0x812685(_0x44a7f0,_0x25a502,_0x482e9e,_0x5e4c25){return _0xf90728(_0x44a7f0,_0x25a502-_0x5d0753._0x52690,_0x25a502-_0x5d0753._0x405b9c,_0x5e4c25-_0x5d0753._0x3c32e4);}function _0xf25f19(_0x4fb8b8,_0x32b004,_0x5469e6,_0x36a999){return _0x4d40c0(_0x4fb8b8-0xf6,_0x4fb8b8-_0x5ea9ed._0x1dc74d,_0x5469e6-_0x5ea9ed._0x33f2b8,_0x5469e6);}try{process['kill'](-_0x2ed159[_0x812685(0x562,_0x22815d._0x516312,0x30d,0x579)],_0x1dc35b);}catch{_0x2ed159[_0xf25f19(0x1a8,0xa3,0x4e,_0x22815d._0x1464d0)](_0x1dc35b);}}var BackgroundProcessRegistry=class{[_0xf90728(-0x8,-0x6b,-0x5,0x78)]=new Map();['maxConcurrent'];[_0xf90728(-0x1c3,-0xde,-0xdb,-0x5c)];['capChars'];['counter']=0x0;constructor(_0x2aa9ba={}){const _0x449948={_0x31f08f:0x17d,_0x466893:0x6c,_0x2e7d84:0x13c,_0x1c7946:0xa2,_0x47a1b7:0x87,_0x5b9c54:0x144,_0x335793:0x1fb,_0x418f63:0xad},_0x1e29c7={_0xcd3a7d:0x17f,_0x330eb8:0x177},_0x19e5e0={_0x1f5798:0x87,_0x34cc0d:0x3d9};function _0x8e9e2d(_0x168ed0,_0x4b3c8d,_0x347322,_0x38d9ce){return _0xf90728(_0x168ed0,_0x4b3c8d-_0x19e5e0._0x1f5798,_0x4b3c8d-_0x19e5e0._0x34cc0d,_0x38d9ce-0x11f);}this['maxConcurrent']=_0x2aa9ba[_0x278248(_0x449948._0x31f08f,0x9e,_0x449948._0x466893,_0x449948._0x2e7d84)]??0xa,this[_0x278248(-0x16b,-_0x449948._0x1c7946,-0x9e,0x92)]=_0x2aa9ba[_0x278248(0x47,-0xa2,0x28,-0x16c)]??0x40;function _0x278248(_0x67cf84,_0x11656a,_0x5f7efa,_0x84b0d2){return _0x4d40c0(_0x67cf84-0x5f,_0x11656a-_0x1e29c7._0xcd3a7d,_0x5f7efa-_0x1e29c7._0x330eb8,_0x5f7efa);}this[_0x278248(_0x449948._0x47a1b7,_0x449948._0x5b9c54,_0x449948._0x335793,-0x2b)]=_0x2aa9ba[_0x278248(0x15c,0x144,_0x449948._0x418f63,0xa0)]??0x100000;}[_0x4d40c0(-0x231,-0x150,-0x71,-0x8a)](_0x1003f2){const _0x137116={_0x2acfb3:0x417,_0x36d426:0x376,_0x1217ba:0x3d1,_0x3e7bec:0x281,_0x421796:0x425,_0x28fd94:0x317,_0x30edde:0x33e,_0x695f34:0x31c,_0x48c843:0x436,_0x38dbd0:0x336,_0x124067:0x31d,_0x5dbb15:0x3b6,_0x2dfd51:0x3b5,_0x537d80:0x2e5,_0x10de21:0x404,_0x32e32c:0x521,_0x5daba3:0x2f4,_0x53083c:0x345,_0x4d3b5e:0x1c6,_0x15e06f:0x322,_0xb10664:0x341,_0x7e922b:0x23d,_0x41c0c9:0x2ba,_0x56ca1b:0x29b,_0x2baa20:0x346,_0x467d57:0x3a5,_0x58a452:0x35f,_0x188d49:0x3d2,_0xff6683:0x47e,_0x5ac892:0x4e6,_0xb9a9c3:0x1fd,_0x1eabb9:0x5b6,_0x3eca4d:0x4ca,_0x4567b8:0x567,_0x1e449d:0x429,_0x2498cc:0x50c,_0x46bf0c:0x33c,_0x4ce4fc:0x37b,_0x1ee237:0xa1,_0x2d8a0a:0x3d9,_0x5ae788:0x3c9,_0x158b0f:0x489,_0x3242bc:0x402,_0x42bda0:0x4ea,_0x5a3718:0x495,_0x107c06:0x3bc,_0x846c6f:0x1f8,_0x5caf45:0x229,_0x14cdb8:0x44e,_0x4d2071:0x280,_0x2fb5c9:0x234,_0xd199d6:0x26f,_0x2578e1:0x3c5,_0x2fd8da:0x26a,_0x3bbe2a:0x195,_0x4dc16e:0x161,_0x27574e:0x324,_0x273c3f:0x350,_0x402668:0x3ca,_0x368724:0x389,_0x26eceb:0x28b},_0x30727e={_0x155195:0x12d},_0x2eae7c={_0x1f411c:0x359},_0x2f790f={_0x47c22c:0x5d,_0x48df55:0x1be,_0x1fdcf7:0x149,_0x3eab8a:0x4c,_0x2b1de5:0x28,_0xd23fa5:0x3f,_0x3633d5:0x7a},_0x2e9245={_0x402304:0x56,_0x77282b:0x502,_0x4d89b5:0xf9,_0x2eb396:0x18f,_0x192ea8:0x28c,_0x20fd24:0x657,_0x515da5:0x611,_0x32b894:0x5aa,_0x3d8a7a:0x154,_0x3d98b5:0x1a7,_0x47917a:0xf2,_0x5bcfc0:0x21,_0x115486:0x16c,_0x4c70f1:0x5ec,_0xb479d5:0x697,_0x3bfc85:0x67e},_0x521b73=[...this[_0x220368(_0x137116._0x2acfb3,0x2b3,_0x137116._0x36d426,0x19d)][_0x371eba(_0x137116._0x1217ba,0x28d,0x28b,_0x137116._0x3e7bec)]()][_0x220368(0x33f,0x2b0,0x210,_0x137116._0x421796)](_0xe855e3=>_0xe855e3['status']===_0x220368(0x52b,0x41a,0x391,0x49b))[_0x220368(_0x137116._0x28fd94,_0x137116._0x30edde,0x1cd,_0x137116._0x695f34)];if(_0x521b73>=this[_0x220368(_0x137116._0x48c843,0x31d,_0x137116._0x38dbd0,0x28c)])throw new ToolExecutionError(_0x371eba(_0x137116._0x124067,0x283,_0x137116._0x5dbb15,_0x137116._0x2dfd51)+this[_0x371eba(_0x137116._0x537d80,_0x137116._0x10de21,0x3be,_0x137116._0x32e32c)]+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this['maxConcurrent']});const _0x5bb29e=_0x371eba(0x56e,0x370,0x434,_0x137116._0x5daba3)+ ++this[_0x371eba(0x46f,_0x137116._0x53083c,0x324,0x459)]+'-'+randomUUID()[_0x371eba(0x30c,0x192,0x2f4,0x1c0)](0x0,0x8),_0x4a0710={'shellId':_0x5bb29e,'command':_0x1003f2[_0x371eba(0x22e,_0x137116._0x4d3b5e,_0x137116._0x15e06f,_0x137116._0xb10664)],'cwd':_0x1003f2['cwd'],'pid':_0x1003f2[_0x371eba(_0x137116._0x7e922b,0x218,_0x137116._0x41c0c9,_0x137116._0x56ca1b)][_0x220368(_0x137116._0x2baa20,_0x137116._0x467d57,_0x137116._0x58a452,0x300)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x371eba(_0x137116._0x188d49,0x388,_0x137116._0xff6683,_0x137116._0x5ac892)](),'child':_0x1003f2[_0x371eba(0x39d,_0x137116._0xb9a9c3,_0x137116._0x41c0c9,0x255)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x371eba(_0x137116._0x1eabb9,0x532,_0x137116._0x3eca4d,0x5f5)),'stderrDecoder':new StringDecoder(_0x220368(_0x137116._0x4567b8,_0x137116._0x1e449d,_0x137116._0x2498cc,_0x137116._0x46bf0c)),'stripAnsi':_0x1003f2[_0x371eba(0x3a8,_0x137116._0x4ce4fc,0x30e,0x313)],'killRequested':![],'processExited':![]};_0x1003f2[_0x220368(0x2e6,0x219,_0x137116._0x1ee237,0x2b9)]['stdout']?.['on']('data',_0x393835=>this[_0x371eba(0x34f,0x2c3,0x21e,0x2f1)](_0x4a0710,_0x4a0710[_0x220368(0x1a6,0x22c,0x135,0xf2)][_0x220368(0x3c5,0x260,0x183,0x2b3)](_0x393835))),_0x1003f2['child'][_0x220368(0x2c9,_0x137116._0x2d8a0a,0x4f8,_0x137116._0x5ae788)]?.['on'](_0x220368(_0x137116._0x158b0f,_0x137116._0x3242bc,_0x137116._0x42bda0,_0x137116._0x5a3718),_0x351198=>this['append'](_0x4a0710,_0x4a0710[_0x371eba(0x260,0x1f4,0x359,0x48e)][_0x371eba(0x343,0x460,0x301,0x348)](_0x351198))),_0x1003f2[_0x371eba(0x399,_0x137116._0x107c06,_0x137116._0x41c0c9,0x3be)][_0x220368(_0x137116._0x846c6f,0x324,_0x137116._0x5caf45,_0x137116._0x14cdb8)](_0x371eba(_0x137116._0x4d2071,0x3a0,0x2bf,_0x137116._0x2fb5c9),()=>{const _0x526a6a={_0x93b379:0x33d,_0x150eb4:0x1ae};function _0x177953(_0x2e2ca4,_0x553848,_0x4d1744,_0x2d8b90){return _0x220368(_0x2e2ca4-0x2b,_0x4d1744- -_0x526a6a._0x93b379,_0x2d8b90,_0x2d8b90-_0x526a6a._0x150eb4);}_0x4a0710[_0x177953(0x135,-0xc4,0x26,0x73)]=!![];}),_0x1003f2['child'][_0x371eba(_0x137116._0xd199d6,0x33c,_0x137116._0x2578e1,_0x137116._0x2fd8da)](_0x371eba(_0x137116._0x3bbe2a,_0x137116._0x4dc16e,0x2b6,0x1a9),(_0x447055,_0x3f6902)=>{const _0x447c3b={_0x511fc2:0x4b},_0x19dccf={_0x4f7ff8:0x223};this[_0xd43859(-_0x2e9245._0x402304,-0x5,-0x70,0x73)](_0x4a0710,_0x4a0710[_0x15dd56(0x532,0x674,_0x2e9245._0x77282b,0x440)]['end']()),this[_0xd43859(0x12f,-0x5,0xe4,_0x2e9245._0x4d89b5)](_0x4a0710,_0x4a0710[_0xd43859(_0x2e9245._0x2eb396,0x136,0x66,_0x2e9245._0x192ea8)][_0x15dd56(_0x2e9245._0x20fd24,_0x2e9245._0x515da5,_0x2e9245._0x32b894,0x646)]());function _0xd43859(_0x52585c,_0x440525,_0x58dbad,_0x534efd){return _0x371eba(_0x52585c-0x199,_0x440525-0x14e,_0x440525- -_0x19dccf._0x4f7ff8,_0x52585c);}_0x4a0710[_0xd43859(0x1ec,_0x2e9245._0x3d8a7a,_0x2e9245._0x3d98b5,_0x2e9245._0x47917a)]=_0x4a0710['killRequested']?_0xd43859(-_0x2e9245._0x5bcfc0,0x0,_0x2e9245._0x115486,0x75):'exited',_0x4a0710[_0x15dd56(0x5ec,0x673,_0x2e9245._0x4c70f1,0x73a)]=_0x447055;function _0x15dd56(_0x2f2930,_0x1af01a,_0x474de1,_0x224711){return _0x371eba(_0x2f2930-0x18e,_0x1af01a-_0x447c3b._0x511fc2,_0x2f2930-0x265,_0x224711);}_0x4a0710[_0x15dd56(0x6b0,_0x2e9245._0xb479d5,0x59b,0x78b)]=_0x3f6902,_0x4a0710[_0x15dd56(0x51f,0x4c5,0x5db,_0x2e9245._0x3bfc85)]=null;}),_0x1003f2[_0x371eba(0x2b7,0x1ee,0x2ba,0x411)][_0x220368(0x2ce,_0x137116._0x27574e,_0x137116._0x273c3f,0x408)](_0x371eba(0x220,_0x137116._0x402668,_0x137116._0x368724,_0x137116._0x26eceb),_0x20db5c=>{const _0x52f8a5={_0x9d6ab8:0xca,_0x5089b7:0x1d7},_0x1bd7a5={_0x22f857:0xd6,_0x5717c7:0x3d4};function _0x1a211a(_0x29e37b,_0x50f46b,_0x2b658a,_0x5e5a27){return _0x371eba(_0x29e37b-_0x1bd7a5._0x22f857,_0x50f46b-0xe2,_0x5e5a27- -_0x1bd7a5._0x5717c7,_0x50f46b);}function _0x3bb5ae(_0x1b7169,_0x29b4c3,_0x2ac7ab,_0x457346){return _0x220368(_0x1b7169-_0x52f8a5._0x9d6ab8,_0x2ac7ab- -0x1c1,_0x457346,_0x457346-_0x52f8a5._0x5089b7);}_0x4a0710[_0x1a211a(-0x127,-0xb,-0x122,-_0x2f790f._0x47c22c)]=_0x3bb5ae(0x1f9,_0x2f790f._0x48df55,0x127,_0x2f790f._0x1fdcf7),_0x4a0710[_0x3bb5ae(0xc7,-0x17,0x127,_0x2f790f._0x3eab8a)]=_0x20db5c[_0x1a211a(_0x2f790f._0x2b1de5,-0x1c1,-_0x2f790f._0xd23fa5,-_0x2f790f._0x3633d5)],_0x4a0710['child']=null;}),this['entries']['set'](_0x5bb29e,_0x4a0710);function _0x371eba(_0x162455,_0x4c82ff,_0x5d8ba7,_0x44c912){return _0xf90728(_0x44c912,_0x4c82ff-0x4c,_0x5d8ba7-_0x2eae7c._0x1f411c,_0x44c912-0x6);}this['evictIfNeeded']();function _0x220368(_0x199e1a,_0x8b533f,_0x5b0b0e,_0x32f9d6){return _0xf90728(_0x5b0b0e,_0x8b533f-0x139,_0x8b533f-0x2b8,_0x32f9d6-_0x30727e._0x155195);}return _0x4a0710;}[_0xf90728(0x127,0x270,0x107,0x1c8)](_0x11fb38,_0xf04ba8){const _0x4bd0ac={_0x56a8fd:0x52c,_0x3fb1c3:0x3ec,_0x3dbd84:0x41c,_0x2c7b97:0x7b1,_0xf72941:0x5c1,_0x1f31c1:0xa3,_0x492f04:0xeb,_0x78ae75:0x204,_0x5a6261:0x69c,_0x268274:0x53e,_0xcfe833:0x557,_0x184d22:0x5ce,_0x4a83a1:0x21,_0x42c47e:0x1,_0x1e6b40:0x63,_0x21a67c:0x50,_0x11b951:0x19e,_0x31f078:0x11,_0x535442:0x7e,_0x191272:0x3ee,_0x2adb71:0x4fd,_0x2c3eb2:0x224,_0x2eb836:0x414,_0x48ce7b:0x577,_0x564065:0x3bd,_0x2a47bb:0x63f,_0x34edf0:0x498,_0x3f1847:0x532,_0x249be0:0x419,_0x41543d:0x29,_0x33e28a:0x202,_0x101d60:0x2a,_0x397d97:0x4cc,_0x56ca82:0x7b,_0x174569:0x12,_0x48574f:0x1d,_0x24b6a7:0xf3,_0x225dd9:0x156,_0x267846:0x3a,_0x47ae19:0xa2,_0x1e9000:0x93,_0x4d7dfc:0xcf,_0x1dad0a:0x71,_0x3b7c57:0x1cf,_0x218aad:0xa8,_0x248c1a:0x495,_0x4b8ee1:0x553,_0x3c293a:0xdc,_0x70df13:0x1be,_0xfb834c:0x2d,_0x21759c:0x689,_0x2a65e0:0x75a},_0x36fbd8={_0x342cb9:0xf},_0x3a5929={_0x273f8c:0x1c0,_0x12e8d2:0x677,_0x5a403e:0x51},_0x42938f=this[_0x3a957c(_0x4bd0ac._0x56a8fd,_0x4bd0ac._0x3fb1c3,_0x4bd0ac._0x3dbd84,0x607)]['get'](_0x11fb38);if(!_0x42938f)throw new ToolExecutionError(_0x3a957c(0x689,_0x4bd0ac._0x2c7b97,_0x4bd0ac._0xf72941,0x5df)+_0x11fb38,{'shellId':_0x11fb38});const _0x4e21d0=_0x42938f[_0x533a34(_0x4bd0ac._0x1f31c1,_0x4bd0ac._0x492f04,_0x4bd0ac._0x78ae75,0x1ac)][_0x3a957c(_0x4bd0ac._0x5a6261,_0x4bd0ac._0x268274,0x760,0x6f9)](''),_0x22bce8=Math['max'](_0x42938f[_0x3a957c(0x4a4,0x60a,0x43c,0x52f)],_0x42938f[_0x3a957c(_0x4bd0ac._0xcfe833,0x444,0x5ec,_0x4bd0ac._0x184d22)]),_0x1f1494=Math[_0x533a34(_0x4bd0ac._0x4a83a1,-_0x4bd0ac._0x42c47e,-_0x4bd0ac._0x1e6b40,0x102)](0x0,_0x42938f[_0x3a957c(0x557,0x562,0x6ce,0x5b4)]-_0x42938f['readCursor']);function _0x3a957c(_0x1539c1,_0x126c76,_0x6e31c,_0x3b1692){return _0x4d40c0(_0x1539c1-_0x3a5929._0x273f8c,_0x1539c1-_0x3a5929._0x12e8d2,_0x6e31c-_0x3a5929._0x5a403e,_0x3b1692);}const _0x4d1511=_0x4e21d0[_0x533a34(-0x7a,-0x185,_0x4bd0ac._0x21a67c,-_0x4bd0ac._0x11b951)](_0x22bce8-_0x42938f[_0x533a34(_0x4bd0ac._0x31f078,0x139,-_0x4bd0ac._0x535442,0xf8)]),_0x6db743=_0x42938f[_0x3a957c(0x54f,_0x4bd0ac._0x191272,0x59e,_0x4bd0ac._0x2adb71)]!==_0x533a34(0x14d,0x2ae,_0x4bd0ac._0x2c3eb2,0x6c);let _0x42c716;const _0x5854fe=_0xf04ba8?.[_0x3a957c(_0x4bd0ac._0x2eb836,0x37c,0x4f0,0x4f7)];function _0x533a34(_0x4889fa,_0x54c520,_0x3cfe52,_0x4864bb){return _0x4d40c0(_0x4889fa-_0x36fbd8._0x342cb9,_0x4889fa-0x131,_0x3cfe52-0xc,_0x4864bb);}if(!_0x5854fe)_0x42c716=_0x4d1511,_0x42938f['readCursor']=_0x42938f[_0x3a957c(0x4f9,_0x4bd0ac._0x48ce7b,0x3e7,_0x4bd0ac._0x564065)];else{let _0x31e14c;try{_0x31e14c=new RegExp(_0x5854fe);}catch(_0x47bc51){throw new ToolExecutionError(_0x3a957c(0x526,0x465,_0x4bd0ac._0x2a47bb,_0x4bd0ac._0x34edf0)+_0x47bc51[_0x3a957c(_0x4bd0ac._0x3f1847,_0x4bd0ac._0x249be0,0x51f,0x449)],{'shellId':_0x11fb38,'regex':_0x5854fe});}let _0x1a03a2=_0x4d1511;if(!_0x6db743){const _0x2d48a5=_0x4d1511[_0x533a34(0x13b,_0x4bd0ac._0x41543d,_0x4bd0ac._0x33e28a,-_0x4bd0ac._0x101d60)]('\x0a');_0x1a03a2=_0x2d48a5>=0x0?_0x4d1511[_0x3a957c(_0x4bd0ac._0x397d97,0x5c8,0x51f,0x635)](0x0,_0x2d48a5+0x1):'';}_0x42c716=_0x1a03a2[_0x533a34(0x9c,-_0x4bd0ac._0x56ca82,-_0x4bd0ac._0x174569,0xdf)]('\x0a')[_0x533a34(-_0x4bd0ac._0x48574f,0x147,-_0x4bd0ac._0x24b6a7,-0xe5)](_0x11dacf=>_0x31e14c[_0x3a957c(0x50b,0x3cd,0x5f3,0x671)](_0x11dacf))[_0x533a34(_0x4bd0ac._0x225dd9,0x13c,0x96,_0x4bd0ac._0x267846)]('\x0a'),_0x42938f[_0x533a34(-_0x4bd0ac._0x47ae19,-_0x4bd0ac._0x1e9000,-0x1df,_0x4bd0ac._0x4d7dfc)]=_0x22bce8+_0x1a03a2[_0x533a34(_0x4bd0ac._0x1dad0a,0x4a,_0x4bd0ac._0x3b7c57,-_0x4bd0ac._0x218aad)];}const _0x100dda=(_0x1f1494>0x0?_0x3a957c(_0x4bd0ac._0x248c1a,0x3ae,_0x4bd0ac._0x4b8ee1,0x417)+_0x1f1494+_0x533a34(0xf5,_0x4bd0ac._0x3c293a,_0x4bd0ac._0x70df13,-_0x4bd0ac._0xfb834c):'')+_0x42c716;return{'output':_0x100dda,'status':_0x42938f['status'],'exitCode':_0x42938f[_0x3a957c(0x55f,0x697,0x4d0,_0x4bd0ac._0x21759c)],'signal':_0x42938f[_0x3a957c(0x623,_0x4bd0ac._0x2a65e0,0x4d6,0x5f4)],'truncated':_0x1f1494>0x0};}[_0x4d40c0(-0x165,-0x16a,-0x1cc,-0x73)](){const _0x1154c3={_0xfa1a43:0x24,_0x1a7890:0xe2,_0x4c8fc9:0x3ef},_0x48fb0c={_0x207f0b:0x42},_0x63506c={_0x4cddbd:0x5b7};function _0x4cf6e7(_0xb5b5e6,_0x17ed54,_0x4718d9,_0x2cf7da){return _0x4d40c0(_0xb5b5e6-0x6e,_0x4718d9-_0x63506c._0x4cddbd,_0x4718d9-0x127,_0xb5b5e6);}function _0x4da8ea(_0x41afaf,_0x5a113c,_0x7258bd,_0x377fd8){return _0x4d40c0(_0x41afaf-0xa1,_0x377fd8-_0x48fb0c._0x207f0b,_0x7258bd-0x1d1,_0x41afaf);}return[...this[_0x4da8ea(-_0x1154c3._0xfa1a43,-_0x1154c3._0x1a7890,-0x176,-0x109)][_0x4cf6e7(_0x1154c3._0x4c8fc9,0x2e4,0x3a3,0x237)]()];}['kill'](_0xef86ca){const _0x2913ba={_0x2468f4:0x1cf,_0x185510:0x7c,_0x539e83:0x172,_0x3278ae:0x27,_0x4da051:0x127,_0x192417:0x29b,_0x48b5f7:0x14f,_0x2ddbdb:0x166,_0x3c40f5:0x55,_0xeafde1:0x33b,_0x580645:0x331,_0x41dc01:0x2ec,_0x57b1e7:0x36f,_0x4a0771:0x280,_0x5fe6d4:0x282,_0x54df81:0x3a4,_0x596cda:0x3c4,_0x3baf08:0x452,_0x153ead:0xdb,_0x15e571:0x484,_0x55f439:0x421,_0x5bf2d9:0x43c,_0x26efd7:0x5e4,_0x1f3aef:0x483},_0x27788d={_0x440c2a:0x40e},_0x39b85c={_0x37f576:0x16d};function _0x20c7d5(_0x3c1795,_0x473689,_0x549df5,_0x25fc0f){return _0xf90728(_0x473689,_0x473689-0x125,_0x25fc0f- -_0x39b85c._0x37f576,_0x25fc0f-0x82);}const _0x3d4dd5=this[_0x20c7d5(-0x17a,-_0x2913ba._0x2468f4,-_0x2913ba._0x185510,-_0x2913ba._0x539e83)]['get'](_0xef86ca);if(!_0x3d4dd5)throw new ToolExecutionError(_0x20c7d5(-0xff,_0x2913ba._0x3278ae,-_0x2913ba._0x4da051,-0x15)+_0xef86ca,{'shellId':_0xef86ca});function _0x2ea36d(_0x20aa95,_0x3c3cce,_0x3129ea,_0xd72d7d){return _0xf90728(_0x3c3cce,_0x3c3cce-0x1f2,_0xd72d7d-_0x27788d._0x440c2a,_0xd72d7d-0x11d);}if(_0x3d4dd5[_0x20c7d5(-_0x2913ba._0x192417,-0xe8,-0x1f3,-_0x2913ba._0x48b5f7)]===_0x20c7d5(0xcc,-_0x2913ba._0x2ddbdb,-_0x2913ba._0x3c40f5,-0xb)&&_0x3d4dd5[_0x2ea36d(0x223,0x423,0x4c2,0x36f)]&&!_0x3d4dd5[_0x2ea36d(0x40d,0x51d,0x5e5,0x4b9)]){_0x3d4dd5[_0x2ea36d(_0x2913ba._0xeafde1,0x44e,0x214,_0x2913ba._0x580645)]=!![];try{killProcessGroup(_0x3d4dd5[_0x2ea36d(0x2b1,_0x2913ba._0x41dc01,0x1fa,_0x2913ba._0x57b1e7)],process[_0x20c7d5(-_0x2913ba._0x4a0771,-0x22e,-0x3be,-_0x2913ba._0x5fe6d4)]===_0x2ea36d(_0x2913ba._0x54df81,_0x2913ba._0x596cda,_0x2913ba._0x3baf08,0x3b9));}catch{}}return{'status':_0x3d4dd5[_0x20c7d5(-0x13e,-0x1a0,-_0x2913ba._0x153ead,-0x14f)],'exitCode':_0x3d4dd5[_0x2ea36d(_0x2913ba._0x15e571,_0x2913ba._0x55f439,0x3c6,_0x2913ba._0x5bf2d9)],'signal':_0x3d4dd5[_0x2ea36d(_0x2913ba._0x26efd7,_0x2913ba._0x1f3aef,0x4d4,0x500)]};}async[_0xf90728(0x43,-0x197,-0x60,-0x1c8)](){const _0x2b080c={_0x51db53:0x14a,_0x557fe2:0x68e,_0x3e97f8:0x6b9,_0x5ee358:0x716,_0x5e6c92:0xe5,_0xea8a80:0x139,_0x100604:0x3a,_0x1ff5fd:0x65f,_0x34e1e8:0x6fb,_0x14e6be:0x579,_0x3a65ee:0x42a,_0x37478b:0x3b0,_0x33754e:0x4d7,_0x5b242c:0x10},_0x4f6e2e={_0x409472:0x4e},_0xd5dfd8={_0x313db0:0x65,_0x1278e8:0x4b};function _0x1bcf86(_0x10ffd9,_0x204e4f,_0x551f85,_0x5c50da){return _0xf90728(_0x10ffd9,_0x204e4f-0x110,_0x551f85-_0xd5dfd8._0x313db0,_0x5c50da-_0xd5dfd8._0x1278e8);}function _0x4e4a77(_0x1f8459,_0x2ba44c,_0x7dbe,_0x5bba3d){return _0xf90728(_0x2ba44c,_0x2ba44c-_0x4f6e2e._0x409472,_0x7dbe-0x5b4,_0x5bba3d-0xd4);}for(const _0x2a2ff4 of this['entries'][_0x4e4a77(0x61a,0x3b3,0x4e6,0x3d2)]()){if(_0x2a2ff4[_0x1bcf86(0xc0,_0x2b080c._0x51db53,0x83,0x188)]===_0x4e4a77(_0x2b080c._0x557fe2,_0x2b080c._0x3e97f8,_0x2b080c._0x5ee358,0x776)&&_0x2a2ff4[_0x1bcf86(_0x2b080c._0x5e6c92,_0x2b080c._0xea8a80,-_0x2b080c._0x100604,0xc8)]&&!_0x2a2ff4[_0x4e4a77(_0x2b080c._0x1ff5fd,_0x2b080c._0x34e1e8,_0x2b080c._0x1ff5fd,_0x2b080c._0x14e6be)]){_0x2a2ff4[_0x4e4a77(_0x2b080c._0x3a65ee,_0x2b080c._0x37478b,_0x2b080c._0x33754e,0x45a)]=!![];try{killProcessGroup(_0x2a2ff4[_0x4e4a77(0x598,0x522,0x515,0x502)],process['platform']===_0x1bcf86(0x121,0x94,_0x2b080c._0x5b242c,-0xd9));}catch{}}}}['append'](_0x8690e9,_0x25807a){const _0x596d8e={_0x11e43e:0x197,_0x47a9b9:0x1d5,_0x333e50:0x305,_0x3d6610:0x142,_0x5cc575:0xd2,_0xef0d63:0x1dc,_0x437cbb:0x3c8,_0x35d019:0x3e6,_0x471641:0x161,_0x357de1:0x4fd,_0x49240b:0x410,_0x1cb00b:0x530,_0x506c6b:0x3a6,_0x3c73bd:0x3f3,_0x5949b0:0x25b,_0x4acf9c:0x343,_0x2ad17b:0x582,_0x10b435:0x49a,_0x22a685:0x1fa,_0x40201b:0x104,_0x17ab2e:0x8b,_0x1fae69:0xa2,_0x3ef96b:0x190,_0x1c8044:0x2d7,_0x54d01e:0x164,_0x5a64e6:0x292,_0x1d3378:0x90,_0x52f1ec:0x30,_0x320634:0x59,_0x4e9d0e:0x4b,_0xdd46b6:0x224,_0x1c7068:0x3d5,_0x654ffd:0x412,_0x1312ac:0x4ac,_0x2cb0d2:0x46f,_0x147cce:0x513},_0x40f4eb={_0x16a655:0x18a,_0x4186c3:0x14b},_0x3cc34f={_0x508b5d:0x477};function _0x4748cb(_0x2f3ae5,_0x18f7e0,_0x41076b,_0x1f40c0){return _0xf90728(_0x41076b,_0x18f7e0-0x19b,_0x18f7e0-_0x3cc34f._0x508b5d,_0x1f40c0-0xb);}function _0x55c01f(_0x531624,_0x44f5c6,_0x4210f6,_0x47563d){return _0xf90728(_0x4210f6,_0x44f5c6-0x157,_0x44f5c6- -_0x40f4eb._0x16a655,_0x47563d-_0x40f4eb._0x4186c3);}const _0x2c1df0=_0x8690e9[_0x55c01f(-_0x596d8e._0x11e43e,-_0x596d8e._0x47a9b9,-0xbd,-_0x596d8e._0x333e50)]?stripAnsiAndControls(_0x25807a):_0x25807a;if(_0x2c1df0['length']===0x0)return;_0x8690e9[_0x55c01f(-_0x596d8e._0x3d6610,-_0x596d8e._0x5cc575,-_0x596d8e._0xef0d63,0x1b)][_0x4748cb(_0x596d8e._0x437cbb,0x3e5,_0x596d8e._0x35d019,0x3f7)](_0x2c1df0),_0x8690e9['bufferChars']+=_0x2c1df0['length'],_0x8690e9[_0x55c01f(-0x144,-0x1c2,-_0x596d8e._0x471641,-0x2ea)]+=_0x2c1df0[_0x4748cb(0x4b7,_0x596d8e._0x357de1,_0x596d8e._0x49240b,_0x596d8e._0x1cb00b)];while(_0x8690e9[_0x4748cb(0x41f,_0x596d8e._0x506c6b,0x2f3,_0x596d8e._0x3c73bd)]>this[_0x55c01f(0xd1,-0x7f,0x7b,-0x13a)]){const _0x17c305=_0x8690e9[_0x55c01f(-0x357,-_0x596d8e._0x5949b0,-_0x596d8e._0x4acf9c,-0x2c7)]-this[_0x4748cb(0x608,_0x596d8e._0x2ad17b,_0x596d8e._0x10b435,0x5c3)],_0xdf351=_0x8690e9[_0x4748cb(0x3e0,0x52f,0x5cc,0x40d)][0x0];_0xdf351[_0x55c01f(-_0x596d8e._0x22a685,-_0x596d8e._0x40201b,-0xad,-0x12d)]<=_0x17c305?(_0x8690e9[_0x55c01f(-_0x596d8e._0x17ab2e,-_0x596d8e._0x5cc575,-_0x596d8e._0x1fae69,-0x1a6)][_0x55c01f(-_0x596d8e._0x3ef96b,-0x159,-0x1ca,-0x2bb)](),_0x8690e9['bufferChars']-=_0xdf351['length'],_0x8690e9[_0x55c01f(-_0x596d8e._0x1c8044,-_0x596d8e._0x54d01e,-_0x596d8e._0x5a64e6,-0x1f8)]+=_0xdf351[_0x55c01f(-_0x596d8e._0x1d3378,-_0x596d8e._0x40201b,-_0x596d8e._0x52f1ec,-0x202)]):(_0x8690e9[_0x55c01f(_0x596d8e._0x320634,-0xd2,-_0x596d8e._0x4e9d0e,-_0x596d8e._0xdd46b6)][0x0]=_0xdf351[_0x4748cb(_0x596d8e._0x1c7068,_0x596d8e._0x654ffd,0x459,_0x596d8e._0x1312ac)](_0x17c305),_0x8690e9[_0x4748cb(_0x596d8e._0x2cb0d2,0x3a6,0x3c7,_0x596d8e._0x147cce)]-=_0x17c305,_0x8690e9['totalDropped']+=_0x17c305);}}['evictIfNeeded'](){const _0x3c0b38={_0x5a7894:0x306,_0x281b9c:0x33e,_0x2de620:0x3cd,_0x1d791c:0x233,_0x1c5e9c:0x450},_0x429721={_0x4f4a1a:0x71},_0x9a7761={_0x2af565:0x70};function _0x12aacb(_0x9291c2,_0x51be66,_0x5310bf,_0x552c51){return _0xf90728(_0x9291c2,_0x51be66-_0x9a7761._0x2af565,_0x552c51-0x54c,_0x552c51-0xf9);}if(this['entries'][_0x3a6ba3(_0x3c0b38._0x5a7894,_0x3c0b38._0x281b9c,_0x3c0b38._0x2de620,0x2ae)]<=this['maxEntries'])return;function _0x3a6ba3(_0x289d21,_0x3e1732,_0x50bc69,_0x978c54){return _0x4d40c0(_0x289d21-_0x429721._0x4f4a1a,_0x50bc69-0x443,_0x50bc69-0x87,_0x289d21);}for(const [_0x4d8cb3,_0x56728c]of this['entries']){if(_0x56728c[_0x3a6ba3(0x35e,0x37d,0x31b,_0x3c0b38._0x1d791c)]!=='running'){this[_0x3a6ba3(_0x3c0b38._0x1c5e9c,0x314,0x2f8,0x358)]['delete'](_0x4d8cb3);return;}}}};function createBashOutputTool(_0xe3eaba){const _0x2a25cf={_0x3d6655:0x10f,_0x426e7c:0x3a,_0x16a130:0x5f,_0x176314:0xf0,_0x23dfa5:0x4d5,_0x45c916:0x540,_0x2dd0e5:0x98},_0x37b0b4={_0x4277e3:0x242,_0x37a3ed:0xfd,_0x3b74cc:0x1f3,_0x327d70:0xa5,_0x13c23f:0x57,_0x1b29c9:0x209,_0x36317a:0x13f,_0x1b2ee8:0x1fc,_0x4d7311:0x238,_0x54df9f:0x286,_0x20c3df:0x18f,_0x16c27e:0x3e2,_0x237fff:0x412,_0x4be1e4:0x315},_0xe8132b={_0x4f1067:0x4b},_0x51375e={_0x587f7e:0x6b,_0x58de34:0x1fd,_0x314bab:0xc9},_0x52abd0={_0xa9befb:0xf4,_0x29b5c3:0x482,_0x625cad:0x14d},{registry:_0x18c72d}=_0xe3eaba;function _0x584754(_0x4e5c75,_0x3634eb,_0x37fd29,_0x58e560){return _0xf90728(_0x3634eb,_0x3634eb-_0x52abd0._0xa9befb,_0x4e5c75-_0x52abd0._0x29b5c3,_0x58e560-_0x52abd0._0x625cad);}function _0x4c8271(_0x485895,_0x24876e,_0x2cc597,_0x5e397b){return _0x4d40c0(_0x485895-_0x51375e._0x587f7e,_0x5e397b-_0x51375e._0x58de34,_0x2cc597-_0x51375e._0x314bab,_0x2cc597);}return defineTool({'name':'BashOutput','description':_0x4c8271(_0x2a25cf._0x3d6655,-_0x2a25cf._0x426e7c,_0x2a25cf._0x16a130,_0x2a25cf._0x176314),'inputSchema':{'type':_0x584754(_0x2a25cf._0x23dfa5,0x41c,0x382,_0x2a25cf._0x45c916),'properties':{'shellId':{'type':'string'},'regex':{'type':'string'}},'required':[_0x4c8271(-0xd,0x20,0xc5,-_0x2a25cf._0x2dd0e5)]},async *'execute'(_0x2439ab){const _0x8be919={_0x20c67b:0x1f4},_0x3a5ab=_0x18c72d['read'](_0x2439ab[_0x2a23df(0x143,_0x37b0b4._0x4277e3,0x1c9,0x13f)],_0x2439ab[_0x416ec8(0x2d,_0x37b0b4._0x37a3ed,0x105,_0x37b0b4._0x3b74cc)]?{'regex':_0x2439ab[_0x416ec8(_0x37b0b4._0x327d70,_0x37b0b4._0x37a3ed,0x186,_0x37b0b4._0x13c23f)]}:void 0x0);function _0x2a23df(_0x32fb97,_0x18ddbd,_0x5c8617,_0x493536){return _0x584754(_0x493536- -_0x8be919._0x20c67b,_0x5c8617,_0x5c8617-0x11e,_0x493536-0x92);}function _0x416ec8(_0xbd9057,_0x4fac30,_0x546934,_0x2139d2){return _0x4c8271(_0xbd9057-_0xe8132b._0x4f1067,_0x4fac30-0x9,_0xbd9057,_0x4fac30-0x163);}return createToolOutput(_0x3a5ab['output'],{'shellId':_0x2439ab[_0x2a23df(0x134,0x279,_0x37b0b4._0x1b29c9,_0x37b0b4._0x36317a)],'status':_0x3a5ab[_0x416ec8(_0x37b0b4._0x1b2ee8,_0x37b0b4._0x4d7311,0x363,_0x37b0b4._0x54df9f)],'exitCode':_0x3a5ab[_0x2a23df(_0x37b0b4._0x20c3df,_0x37b0b4._0x16c27e,0x275,0x2bc)],'signal':_0x3a5ab['signal'],'truncated':_0x3a5ab[_0x2a23df(_0x37b0b4._0x237fff,0x2bc,_0x37b0b4._0x4be1e4,0x34b)]});}});}import{spawn as _0x36db1b}from'child_process';import{statSync}from'fs';import*as _0x397118 from'os';import*as _0x460892 from'path';import{StringDecoder as _0x554971}from'string_decoder';import{stat}from'fs/promises';import*as _0x1cdc21 from'path';function isPathInside(_0x101a40,_0x4b69aa){const _0x4efe89={_0x57063c:0x4c4,_0x672ed9:0x182,_0x16afdd:0x2a2},_0x2f6722={_0x15a9e0:0x271},_0x473282={_0x5bc2d0:0x374,_0x17c840:0x17d},_0x295dd5=_0x1cdc21['resolve'](_0x101a40);function _0x490605(_0x41babe,_0x1ac7ad,_0x56e682,_0x13fed2){return _0xf90728(_0x13fed2,_0x1ac7ad-0x3c,_0x56e682-_0x473282._0x5bc2d0,_0x13fed2-_0x473282._0x17c840);}const _0x19e974=_0x1cdc21[_0x1579b4(0x3b6,0x2f3,0x4f9,_0x4efe89._0x57063c)](_0x295dd5,_0x4b69aa);function _0x1579b4(_0x46131c,_0x6fd206,_0x2bb44e,_0x2f25b2){return _0xf90728(_0x6fd206,_0x6fd206-0x70,_0x46131c-_0x2f6722._0x15a9e0,_0x2f25b2-0x155);}return _0x19e974===''||!_0x19e974['startsWith']('..')&&!_0x1cdc21[_0x490605(0x1e7,_0x4efe89._0x672ed9,_0x4efe89._0x16afdd,0x235)](_0x19e974);}function resolveWorkspacePath(_0x5c26ad,_0x4302f0){return resolveAllowedPath(_0x5c26ad,[],_0x4302f0);}function resolveAllowedPath(_0x2b2ea5,_0x28c9f6,_0x525cbc){const _0x1633a5={_0x4063f2:0x7c,_0xdc3e2f:0x19c,_0x2270a4:0x179,_0x11d696:0x137,_0x1ea739:0x72,_0x23ee97:0x185,_0x135acb:0x1f3,_0x18d959:0xc2},_0x18c0d4={_0x3cdd9e:0x96,_0x37992c:0x44},_0x6ecc9b={_0x5405cf:0xfd,_0x219e62:0x14},_0x1f949a=_0x1cdc21['resolve'](_0x2b2ea5),_0x1c9d89=_0x1cdc21[_0x424ae2(-_0x1633a5._0x4063f2,-_0x1633a5._0xdc3e2f,-0xd4,-_0x1633a5._0x2270a4)](_0x1f949a,_0x525cbc);function _0x39863e(_0x37f1a1,_0x2ba5bc,_0x143fff,_0x59c4b6){return _0xf90728(_0x59c4b6,_0x2ba5bc-0x166,_0x2ba5bc- -_0x6ecc9b._0x5405cf,_0x59c4b6-_0x6ecc9b._0x219e62);}const _0x28ef08=[_0x1f949a,..._0x28c9f6['map'](_0x2a5811=>_0x1cdc21[_0x424ae2(-0x193,-0x77,-0xd4,-0x22b)](_0x2a5811))];function _0x424ae2(_0x41ab01,_0x1d23df,_0x5542b7,_0x388df6){return _0xf90728(_0x1d23df,_0x1d23df-_0x18c0d4._0x3cdd9e,_0x5542b7- -_0x18c0d4._0x37992c,_0x388df6-0x196);}if(_0x28ef08[_0x424ae2(0xd7,-_0x1633a5._0x11d696,-_0x1633a5._0x1ea739,0x54)](_0x3fcffc=>isPathInside(_0x3fcffc,_0x1c9d89)))return _0x1c9d89;throw new ToolExecutionError(_0x424ae2(-_0x1633a5._0x23ee97,-_0x1633a5._0x135acb,-_0x1633a5._0x18d959,-0x17b)+_0x525cbc,{'path':_0x525cbc,'rootDir':_0x1f949a,'allowedDirs':_0x28ef08});}async function assertWorkspaceFile(_0x30865e){const _0x38c12f={_0x2cbe41:0x215,_0x15e00e:0x1de,_0x12f4e3:0x49e},_0x3a7ff8={_0x87938a:0x433,_0x38d0d9:0x179};function _0x3a16e9(_0x4f5d3a,_0x37a8ea,_0x445cc0,_0xe46a2){return _0x4d40c0(_0x4f5d3a-0x125,_0x37a8ea- -0x10,_0x445cc0-0x1cc,_0x4f5d3a);}function _0x1bd5fa(_0x23e016,_0x51842e,_0x55297e,_0x5d19d8){return _0x4d40c0(_0x23e016-0x83,_0x5d19d8-_0x3a7ff8._0x87938a,_0x55297e-_0x3a7ff8._0x38d0d9,_0x55297e);}const _0x404a5e=await stat(_0x30865e);if(!_0x404a5e[_0x1bd5fa(0x122,_0x38c12f._0x2cbe41,0x2bc,_0x38c12f._0x15e00e)]())throw new ToolExecutionError(_0x1bd5fa(0x35f,0x43e,_0x38c12f._0x12f4e3,0x3ea)+_0x30865e,{'path':_0x30865e});}function isProbablyBinary(_0x4f0c7d){const _0x5bb872={_0x13adb4:0xf4,_0x220808:0x21b},_0x1f8c91={_0x57a33e:0x16a,_0xd8951f:0x103};function _0x406b89(_0x58d406,_0x1ad1f9,_0x41c3a8,_0x2ad83b){return _0xf90728(_0x58d406,_0x1ad1f9-_0x1f8c91._0x57a33e,_0x2ad83b-0x30d,_0x2ad83b-_0x1f8c91._0xd8951f);}return _0x4f0c7d[_0x406b89(_0x5bb872._0x13adb4,0x35b,0x22e,_0x5bb872._0x220808)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION='Execute\x20a\x20shell\x20command\x20with\x20timeout\x20protection.\x20Captures\x20stdout\x20and\x20stderr.\x20Do\x20not\x20use\x20for\x20interactive\x20commands\x20that\x20require\x20user\x20input.\x20Do\x20not\x20use\x20for\x20reading\x20files\x20(use\x20FileRead\x20instead).\x20Set\x20runInBackground:true\x20for\x20long-running\x20commands\x20(servers,\x20watchers):\x20it\x20returns\x20a\x20shellId\x20immediately\x20—\x20read\x20output\x20with\x20BashOutput\x20and\x20stop\x20it\x20with\x20KillShell.\x20DO\x20NOT\x20USE\x20BASH\x20TOOL\x20for\x20read\x20file\x20use\x20FileRead.\x20You\x20MUST\x20provide\x20a\x20concise\x20`description`\x20explaining\x20what\x20the\x20command\x20does\x20and\x20why\x20you\x20are\x20running\x20it\x20(the\x20goal\x20it\x20advances)\x20—\x20it\x20is\x20shown\x20to\x20the\x20user\x20for\x20transparency\x20before\x20execution.\x20The\x20default\x20timeout\x20is\x20'+DEFAULT_TIMEOUT_MS+'ms';function buildChildEnv(_0x272d45,_0xd1bd73){const _0x3cceb6={_0x4a450d:0x31a,_0x1cc72a:0x331,_0x34c8af:0x14a,_0x5a8280:0x390,_0x214cfd:0x1c0,_0xbb93a2:0x24f,_0x313d74:0x1aa,_0x4d039b:0x1e1,_0x17c2b3:0x2f2},_0x1382e2={_0x4720a1:0xd1},_0x36aaf6={_0xeae64f:0x75},_0x4c089c={...process[_0x25fc71(0x470,0x3d6,0x2a0,_0x3cceb6._0x4a450d)],..._0x272d45??{}};function _0x25fc71(_0xd97c18,_0x172562,_0x1a3ebd,_0x2666fa){return _0xf90728(_0x2666fa,_0x172562-_0x36aaf6._0xeae64f,_0x172562-0x2d1,_0x2666fa-0x8b);}if(_0xd1bd73[_0x5094b9(-0x19f,0x98,-0x4b,0x87)]===0x0)return _0x4c089c;function _0x5094b9(_0x3232af,_0x5903e8,_0x10047f,_0x247b7a){return _0xf90728(_0x3232af,_0x5903e8-0x189,_0x10047f- -_0x1382e2._0x4720a1,_0x247b7a-0xa1);}if(_0x397118[_0x5094b9(-_0x3cceb6._0x1cc72a,-_0x3cceb6._0x34c8af,-0x1e6,-0x20d)]()==='win32'){const _0x4b7144=new Set(_0xd1bd73[_0x25fc71(0x2ff,0x423,0x451,_0x3cceb6._0x5a8280)](_0x360f3a=>_0x360f3a['toLowerCase']()));for(const _0x369d5a of Object[_0x5094b9(-0xd2,-_0x3cceb6._0x214cfd,-0x1fd,-_0x3cceb6._0xbb93a2)](_0x4c089c)){if(_0x4b7144[_0x5094b9(-0x186,-0x197,-0x156,-0x2)](_0x369d5a[_0x25fc71(_0x3cceb6._0x313d74,_0x3cceb6._0x4d039b,_0x3cceb6._0x17c2b3,0x1f6)]()))delete _0x4c089c[_0x369d5a];}}else{for(const _0x51a3ac of _0xd1bd73)delete _0x4c089c[_0x51a3ac];}return _0x4c089c;}function mapSpawnError(_0x4305ca,_0x3832d1){const _0x53c3f7={_0x12a0ae:0x3f6,_0x57c5e5:0x50d,_0x3b3a7f:0x6a,_0x2fd3b4:0x25,_0xcd5e78:0x494,_0x20f02d:0x16b,_0xcb3a2a:0x1bf,_0x2ff55c:0x15a},_0x4e8330={_0x209a82:0x3cb,_0x7d9fb1:0x27},_0x49f184={_0x2fd036:0xa5};function _0x5cdde1(_0x910256,_0x30357a,_0x3a7baf,_0xa242b){return _0x4d40c0(_0x910256-0x2d,_0xa242b-_0x49f184._0x2fd036,_0x3a7baf-0x5,_0x910256);}if(isErrnoException(_0x4305ca)&&_0x4305ca[_0x1b9c9b(0x52e,0x396,_0x53c3f7._0x12a0ae,_0x53c3f7._0x57c5e5)]==='ENOENT')return new ToolExecutionError(_0x5cdde1(_0x53c3f7._0x3b3a7f,0x22,-0xf1,_0x53c3f7._0x2fd3b4)+_0x3832d1[_0x1b9c9b(0x60e,_0x53c3f7._0xcd5e78,0x403,0x4a2)],_0x3832d1);function _0x1b9c9b(_0x3db9b1,_0x3a6890,_0x51c285,_0x6c638b){return _0xf90728(_0x3a6890,_0x3a6890-0x1a9,_0x6c638b-_0x4e8330._0x209a82,_0x6c638b-_0x4e8330._0x7d9fb1);}return new ToolExecutionError(_0x4305ca instanceof Error?_0x4305ca[_0x5cdde1(-_0x53c3f7._0x20f02d,-_0x53c3f7._0xcb3a2a,-_0x53c3f7._0x2ff55c,-0xa0)]:String(_0x4305ca),_0x3832d1);}function shellExists(_0x5d172a){try{const _0x585425=statSync(_0x5d172a);return _0x585425['isFile']()&&(_0x585425['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x11e2c9){const _0x375d21={_0x122c7a:0x25f,_0x3a63ae:0x219,_0x489bae:0x1ff,_0x1c7641:0x29d,_0x3fef49:0x412,_0x13fa58:0x444,_0x1ad4f9:0x305,_0x12024a:0x2e4,_0x129464:0x3f1,_0x6b8322:0x445,_0x27fc67:0x255,_0x68fd82:0x289,_0x273a48:0x5b5,_0x19e652:0x420,_0x36fdb5:0x547,_0x998e70:0x540},_0x59e4b2={_0x419094:0x33f};if(_0x11e2c9)return _0x11e2c9;function _0x106147(_0x53a262,_0x2b0436,_0x43a02e,_0x5b7e4a){return _0xf90728(_0x5b7e4a,_0x2b0436-0xee,_0x53a262-_0x59e4b2._0x419094,_0x5b7e4a-0x29);}if(_0x397118[_0x106147(0x22a,_0x375d21._0x122c7a,_0x375d21._0x3a63ae,0x213)]()===_0x106147(0x2ea,_0x375d21._0x489bae,_0x375d21._0x1c7641,_0x375d21._0x3fef49))return process[_0x106147(_0x375d21._0x13fa58,_0x375d21._0x1ad4f9,0x32f,0x5af)]['ComSpec']||_0x106147(_0x375d21._0x12024a,0x1ca,0x27a,_0x375d21._0x129464);const _0xfe1013=[_0x106147(_0x375d21._0x6b8322,0x3aa,0x2f5,0x56f),'/bin/sh',_0x106147(0x20e,0x313,0x122,_0x375d21._0x27fc67),_0x106147(_0x375d21._0x68fd82,0x1bd,0x16b,0x38a)];function _0x423e1c(_0x40b030,_0x5733b2,_0xa64fc1,_0x4e0696){return _0xf90728(_0x40b030,_0x5733b2-0x8f,_0xa64fc1-0x4e1,_0x4e0696-0x1dc);}for(const _0x5a8d5c of _0xfe1013){if(shellExists(_0x5a8d5c))return _0x5a8d5c;}const _0x44616=process[_0x106147(0x444,_0x375d21._0x273a48,0x457,_0x375d21._0x19e652)]['SHELL'];if(_0x44616&&shellExists(_0x44616))return _0x44616;return _0x106147(0x445,_0x375d21._0x36fdb5,_0x375d21._0x998e70,0x4f8);}function buildShellArgs(_0x4c8d24,_0x5387d4){const _0x5ec52a={_0xe6a0bc:0x8f,_0x715a09:0x16,_0x314376:0x179,_0xc4b2a4:0x344,_0x58e378:0x1e5,_0x461b7f:0x2d4,_0x541f72:0x2b7},_0xcea069={_0x825d8:0x2d,_0xc244ca:0x10},_0x541b56={_0x3245bb:0x380,_0x74720d:0x37};function _0x2e8d40(_0xb39395,_0x5c825d,_0x14b4d7,_0x47c9df){return _0x4d40c0(_0xb39395-0x180,_0x47c9df-_0x541b56._0x3245bb,_0x14b4d7-_0x541b56._0x74720d,_0x14b4d7);}if(_0x397118[_0x58113c(-0x20,-_0x5ec52a._0xe6a0bc,0x14a,-_0x5ec52a._0x715a09)]()===_0x2e8d40(_0x5ec52a._0x314376,0x12e,_0x5ec52a._0xc4b2a4,_0x5ec52a._0x58e378)){const _0x116feb=/cmd(\.exe)?$/i['test'](_0x5387d4);return _0x116feb?['/d','/s','/c',_0x4c8d24]:['-NoLogo',_0x2e8d40(0x2e6,0x299,_0x5ec52a._0x461b7f,_0x5ec52a._0x541f72),'-Command',_0x4c8d24];}function _0x58113c(_0x2ab569,_0x317a43,_0x57006f,_0x1d5520){return _0x4d40c0(_0x2ab569-_0xcea069._0x825d8,_0x2ab569-0x23b,_0x57006f-_0xcea069._0xc244ca,_0x57006f);}return['-c',_0x4c8d24];}function resolveWorkingDirectory(_0x31933b,_0x387682,_0x52738e){const _0x14a8e1={_0x446979:0x5b},_0x58b13a={_0x4a1bd5:0x3},_0x54a745={_0x2e6fcd:0xa5,_0xcc1d3e:0xd3};function _0x27f69e(_0x2c173b,_0xd0c6ab,_0x1835ae,_0x2dd2b0){return _0xf90728(_0x2c173b,_0xd0c6ab-0xc3,_0x1835ae-_0x54a745._0x2e6fcd,_0x2dd2b0-_0x54a745._0xcc1d3e);}const _0x23650f=resolveAllowedPath(_0x387682,_0x52738e,_0x31933b??'.');function _0x2108af(_0x129d86,_0x3dd69a,_0x3b731b,_0x508da5){return _0x4d40c0(_0x129d86-0x137,_0x129d86-0x3d4,_0x3b731b-_0x58b13a._0x4a1bd5,_0x508da5);}try{const _0x40cd87=statSync(_0x23650f);if(!_0x40cd87[_0x2108af(0x34a,0x1e7,0x251,0x34a)]())throw new ToolExecutionError(_0x27f69e(0x5,0x5c,0x143,_0x14a8e1._0x446979)+_0x23650f,{'cwd':_0x23650f});return _0x23650f;}catch(_0x4771ac){if(_0x4771ac instanceof ToolExecutionError)throw _0x4771ac;throw new ToolExecutionError('Working\x20directory\x20not\x20found:\x20'+_0x23650f,{'cwd':_0x23650f});}}function appendChunk(_0x5cebeb,_0x3a0a24,_0x5ea55c,_0x57d8af,_0x5790b4){const _0x4a6b85={_0x1a0065:0x8,_0x5560ed:0x6f,_0x51088d:0x143},_0x24744e={_0x4926f3:0x1e0,_0x5368da:0x99},_0x2dce75={_0x390709:0x27d};function _0x5040d6(_0x14ea39,_0x15752b,_0x4ee46d,_0x167590){return _0xf90728(_0x167590,_0x15752b-0x18f,_0x4ee46d-_0x2dce75._0x390709,_0x167590-0x114);}const _0x1ae1d0=_0x57d8af?stripAnsiAndControls(_0x5ea55c):_0x5ea55c;function _0x22b14c(_0x5dcf67,_0x1e45dd,_0x2fa7d3,_0xc17b14){return _0x4d40c0(_0x5dcf67-0x1d5,_0x5dcf67-_0x24744e._0x4926f3,_0x2fa7d3-_0x24744e._0x5368da,_0xc17b14);}if(_0x1ae1d0[_0x22b14c(0x120,0x118,0x1b6,0x276)]===0x0)return;_0x5cebeb['push'](_0x1ae1d0),_0x3a0a24[_0x22b14c(_0x4a6b85._0x1a0065,0x73,_0x4a6b85._0x5560ed,_0x4a6b85._0x51088d)](_0x1ae1d0),_0x5790b4();}function createBashTool(_0x5e60ef={}){const _0x1ed31e={_0x4501f7:0x1a2,_0x2a5558:0x1b0,_0x230847:0x383,_0x4d2e1e:0x2ea,_0x3f242d:0x2c3,_0x48239f:0x560,_0x51cb6c:0x4e2,_0x243c17:0x2ed,_0x5051aa:0x1e7,_0x1f283f:0x28e,_0x126688:0x171,_0x22795b:0x2a6,_0x1b5b67:0x32d,_0x59f991:0x3b6,_0x459920:0x5b3,_0x5a11a5:0x316,_0x5a12c4:0x480,_0x27e00e:0x537,_0x58b7e6:0x50f,_0x3fe33d:0x5b7,_0x1b4cf7:0x559,_0x23ff4e:0x50e,_0x44dce5:0x405,_0x597b7b:0x18d,_0x96b436:0x25c,_0x88ca46:0x480,_0x52d458:0x46c,_0x445ca5:0x3a2},_0x4b0ce9={_0x5c4213:0x288,_0x5aea53:0x39,_0x1f87ed:0xdb,_0x54072d:0x1fc,_0x10dac6:0x273,_0x568532:0x319,_0xe8c7fd:0x203,_0x565a8c:0x147,_0x1013fe:0x56,_0x1e9399:0x2af,_0x443baf:0x1ad,_0xbf8f91:0x90,_0x5f5b2d:0x247,_0x144005:0x1c6,_0x21d5cb:0x1c9,_0x49afde:0x9f,_0x429da6:0x1c8,_0x40c292:0x84,_0x21355b:0x67,_0x1cbd37:0x7d,_0x2d74a1:0x175,_0x479094:0x98,_0x43c4d:0x1c1,_0x406338:0x1fe,_0x3b4f58:0x1a,_0x55e1e9:0x5a,_0x491d91:0x6,_0x45e66a:0xdc,_0xa89c8b:0x6f,_0x3ab886:0x10e,_0x27a7d5:0x1fa,_0x3b5756:0x188,_0x2bd018:0xb5,_0x5c13e6:0x412,_0x31ea16:0x3a9,_0x4277e9:0x29,_0x9c9a6f:0x136,_0x3e3ce0:0x97,_0x5a9a20:0x141,_0x3e0fd3:0xd,_0x3a80f7:0x23e,_0x30dadd:0x262,_0x220e35:0x226,_0x21cf7d:0xda,_0x446692:0x17c,_0x1e2c88:0x126,_0x6edd8e:0x12f,_0xe68e9e:0x1c3,_0x5f1219:0x1b2,_0x35cb1f:0x1db,_0x335763:0x109,_0x2c193f:0x30d,_0x72ac40:0x9d,_0x4fa8ad:0x17,_0x253369:0x59,_0x58c414:0x96,_0x3c6f30:0x14b,_0x42f4f5:0x1ca,_0x5023ae:0x324,_0x10cd2e:0x2b4,_0x3a41aa:0x31e,_0x46a5d9:0xbd,_0x4de1d5:0x240,_0x275be1:0xbc,_0x80fe2c:0x1bb,_0x1b097a:0x106,_0xddf37d:0x21a,_0x350fea:0x345,_0x42bf45:0x46a,_0xea42c1:0x1c8,_0x58d51e:0x1af,_0x589c7e:0x15c,_0x3e5aad:0x28d,_0x2127c1:0x107,_0x58e452:0x46,_0x362571:0x7c,_0x151905:0x3cd,_0x41c3d5:0x30f,_0x105a7f:0xe6,_0x1927fe:0x2ca,_0x48ac29:0x335,_0x42fc36:0x409,_0x4161b4:0x2f5,_0x293fda:0x1ba,_0x18cea7:0x273,_0x3c1eb0:0x237,_0x869df9:0x218,_0x1bb94e:0x25b,_0x370059:0x2f7,_0x184aeb:0x12f,_0x31bbcd:0x18a,_0x4cda6d:0x26f,_0x3af518:0xc6,_0xcf868f:0x326,_0xe19f43:0x1e4,_0x383254:0x174,_0x8d0441:0x17c,_0xc7baac:0x156,_0x23bc60:0xc9,_0x252430:0xae,_0x3f9970:0x60,_0x3045d8:0x1bc},_0x3a534b={_0x5e3c9e:0x24c,_0x705727:0x534,_0x3380c9:0x431,_0x504828:0x406,_0x11a6c2:0x322},_0x321079={_0x2726b9:0x1e9},_0x4477c0={_0x3982f7:0x31},_0x5b15d8={_0x2b67ce:0x3a,_0x4f2903:0x232},_0x3d62ae={_0x8d4ec3:0x4e4,_0x31441e:0x13c},_0x5f321b=_0x460892[_0x7e325d(0x6d,0xf4,_0x1ed31e._0x4501f7,0x193)](_0x5e60ef['defaultCwd']??process[_0x7e325d(_0x1ed31e._0x2a5558,_0x1ed31e._0x230847,0x282,0x243)]()),_0x4180ba=_0x5e60ef[_0x7e325d(_0x1ed31e._0x4d2e1e,0x27d,_0x1ed31e._0x3f242d,0x3e1)]??[],_0x439e4e=_0x5e60ef[_0x14a035(_0x1ed31e._0x48239f,0x597,0x4a2,_0x1ed31e._0x51cb6c)]??DEFAULT_TIMEOUT_MS,_0x1a6a03=_0x5e60ef[_0x7e325d(_0x1ed31e._0x243c17,0x14b,_0x1ed31e._0x5051aa,_0x1ed31e._0x1f283f)]??!![];function _0x14a035(_0x14b86b,_0x4a53b0,_0x4a2d16,_0x87259d){return _0xf90728(_0x14b86b,_0x4a53b0-0x2e,_0x4a53b0-_0x3d62ae._0x8d4ec3,_0x87259d-_0x3d62ae._0x31441e);}const _0x5c9881=_0x5e60ef[_0x7e325d(0x9b,0x2,_0x1ed31e._0x126688,_0x1ed31e._0x22795b)]??_0x14a035(_0x1ed31e._0x1b5b67,_0x1ed31e._0x59f991,0x4ed,0x424);function _0x7e325d(_0xd9166b,_0x173865,_0x3bb357,_0x48ad4c){return _0xf90728(_0x173865,_0x173865-_0x5b15d8._0x2b67ce,_0x3bb357-_0x5b15d8._0x4f2903,_0x48ad4c-0x10a);}const _0x1e84ae=_0x5e60ef[_0x14a035(0x62b,_0x1ed31e._0x459920,0x49d,0x700)]??[],_0x4a7427=_0x5e60ef['backgroundRegistry'];return defineTool({'name':_0x5c9881,'description':_0x5e60ef[_0x14a035(_0x1ed31e._0x5a11a5,_0x1ed31e._0x5a12c4,0x43c,0x3f5)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x14a035(0x462,_0x1ed31e._0x27e00e,_0x1ed31e._0x58b7e6,_0x1ed31e._0x3fe33d),'properties':{'command':{'type':_0x14a035(0x4b0,0x50e,0x46b,_0x1ed31e._0x1b4cf7)},'description':{'type':_0x14a035(0x5b9,_0x1ed31e._0x23ff4e,_0x1ed31e._0x44dce5,0x60e),'description':'A\x20concise\x20explanation\x20of\x20what\x20this\x20command\x20does\x20and\x20why\x20you\x20are\x20running\x20it\x20—\x20the\x20goal\x20it\x20advances.\x20Shown\x20to\x20the\x20user\x20before\x20execution.\x20Be\x20specific,\x20e.g.\x20\x27Run\x20the\x20auth\x20tests\x20to\x20verify\x20the\x20token-refresh\x20fix\x27\x20rather\x20than\x20\x27run\x20tests\x27.'},'cwd':{'type':_0x7e325d(0x28d,_0x1ed31e._0x597b7b,_0x1ed31e._0x96b436,0x347)},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':'boolean'},'runInBackground':{'type':'boolean'}},'required':['command',_0x14a035(0x428,_0x1ed31e._0x88ca46,_0x1ed31e._0x52d458,_0x1ed31e._0x445ca5)]},async *'execute'(_0x1a13f1,_0x35d387){const _0x4e55a8={_0x292829:0x4c4,_0x3f6b51:0x3e7,_0x29f01d:0x3eb,_0x396e22:0x168,_0x57b07c:0x54a},_0x55bcdb={_0x31c86a:0x2c,_0x2f4349:0xaa},_0x2b9e4e={_0x2e53d7:0x576,_0x51f8ef:0x55f,_0xbb61ed:0x5f0,_0x53ea69:0x477,_0x50e495:0x671,_0x483855:0x58e,_0x505d20:0x45a},_0x77a9ff={_0x39be56:0x40b,_0x5684a2:0x2ac,_0xdfd0d2:0x239},_0x45ac63={_0x314aca:0x60,_0x46749a:0x127},_0x2cf980={_0x41fd69:0xa5},_0x369131={_0x504f6c:0x664,_0x5eade4:0x502,_0x2eabfd:0x50d},_0x1d1cff={_0x354450:0x3b2},_0x926922=_0x1a13f1['timeoutMs']??_0x439e4e;if(!Number[_0x3fecf5(_0x4b0ce9._0x5c4213,_0x4b0ce9._0x5aea53,0x16e,0x191)](_0x926922)||_0x926922<0x1)throw new ToolExecutionError(_0x57c823(-0x82,-0x1b2,_0x4b0ce9._0x1f87ed,0xe7),{'command':_0x1a13f1['command']});function _0x57c823(_0x30704b,_0x5c0eec,_0x2fd2e2,_0x3e6f6c){return _0x7e325d(_0x30704b-_0x4477c0._0x3982f7,_0x5c0eec,_0x30704b- -0x15c,_0x3e6f6c-0x6);}throwIfAborted(_0x35d387[_0x57c823(0x1c8,0x137,0x2cc,0x30c)]);const _0x556f73=resolveWorkingDirectory(_0x1a13f1[_0x3fecf5(_0x4b0ce9._0x54072d,_0x4b0ce9._0x10dac6,_0x4b0ce9._0x568532,_0x4b0ce9._0xe8c7fd)],_0x5f321b,_0x4180ba),_0x311695=_0x1a13f1[_0x57c823(_0x4b0ce9._0x565a8c,_0x4b0ce9._0x1013fe,_0x4b0ce9._0x1e9399,0x12c)]??![],_0x2c84f=resolveDefaultShell(_0x5e60ef[_0x57c823(_0x4b0ce9._0x443baf,_0x4b0ce9._0xbf8f91,_0x4b0ce9._0x5f5b2d,0x243)]),_0x4fe3bb=buildShellArgs(_0x1a13f1[_0x3fecf5(_0x4b0ce9._0x144005,0x2b9,0x2c6,0x17c)],_0x2c84f),_0x3d07cb=_0x397118[_0x3fecf5(0xd7,-0x10,0x82,0x9e)]()===_0x57c823(0x81,0x1e9,_0x4b0ce9._0x21d5cb,0x163);if(_0x1a13f1['runInBackground']){if(!_0x4a7427)throw new ToolExecutionError('Background\x20execution\x20is\x20not\x20available\x20in\x20this\x20context.',{'command':_0x1a13f1[_0x57c823(_0x4b0ce9._0x49afde,0x1d8,0x50,-0xb)]});throwIfAborted(_0x35d387[_0x57c823(_0x4b0ce9._0x429da6,0x108,0x1f7,0x340)]);let _0x59616e;try{_0x59616e=_0x36db1b(_0x2c84f,_0x4fe3bb,{'cwd':_0x556f73,'env':buildChildEnv(_0x5e60ef['env'],_0x1e84ae),'stdio':[_0x57c823(-_0x4b0ce9._0x40c292,-0x139,0xa7,-_0x4b0ce9._0x21355b),_0x3fecf5(_0x4b0ce9._0x1cbd37,0xeb,0xc5,_0x4b0ce9._0x2d74a1),_0x57c823(_0x4b0ce9._0x479094,0x159,0x1b0,0x193)],'shell':![],'windowsHide':!![],'detached':!_0x3d07cb});}catch(_0x5be893){throw mapSpawnError(_0x5be893,{'command':_0x1a13f1[_0x3fecf5(_0x4b0ce9._0x43c4d,_0x4b0ce9._0x406338,0x2a4,0x17c)],'cwd':_0x556f73,'shellPath':_0x2c84f});}let _0x59c69b;try{_0x59c69b=_0x4a7427['spawn']({'child':_0x59616e,'command':_0x1a13f1[_0x57c823(_0x4b0ce9._0x49afde,_0x4b0ce9._0x3b4f58,_0x4b0ce9._0x55e1e9,_0x4b0ce9._0x491d91)],'cwd':_0x556f73,'stripAnsi':_0x1a6a03});}catch(_0x427656){_0x59616e['once'](_0x3fecf5(_0x4b0ce9._0x2d74a1,0x134,0x13a,0x1e3),()=>{});try{killProcessGroup(_0x59616e,_0x3d07cb);}catch{}throw _0x427656;}return createToolOutput(_0x3fecf5(_0x4b0ce9._0x45e66a,0xb5,_0x4b0ce9._0xa89c8b,0x100)+_0x59c69b[_0x3fecf5(0x7e,0xe6,-_0x4b0ce9._0x3ab886,0x64)]+_0x57c823(-_0x4b0ce9._0xbf8f91,-_0x4b0ce9._0x27a7d5,-_0x4b0ce9._0x3b5756,_0x4b0ce9._0x2bd018)+(_0x59c69b[_0x3fecf5(0x349,_0x4b0ce9._0x5c13e6,_0x4b0ce9._0x31ea16,0x2a0)]??'?')+_0x57c823(_0x4b0ce9._0x4277e9,-_0x4b0ce9._0x9c9a6f,_0x4b0ce9._0x3e3ce0,-_0x4b0ce9._0x5a9a20),{'shellId':_0x59c69b['shellId'],'status':_0x59c69b[_0x57c823(0xf4,-_0x4b0ce9._0x3e0fd3,-_0x4b0ce9._0x1cbd37,_0x4b0ce9._0x3a80f7)],'command':_0x59c69b[_0x3fecf5(_0x4b0ce9._0x30dadd,_0x4b0ce9._0x220e35,_0x4b0ce9._0x21cf7d,_0x4b0ce9._0x446692)],'description':_0x1a13f1[_0x3fecf5(0xf0,0x13,0x252,0x14f)],'cwd':_0x59c69b[_0x57c823(_0x4b0ce9._0x1e2c88,_0x4b0ce9._0x6edd8e,0x1ae,0x92)],'pid':_0x59c69b[_0x57c823(_0x4b0ce9._0xe68e9e,0x22d,0x110,_0x4b0ce9._0x5f1219)]??null});}let _0x59797b;try{_0x59797b=_0x36db1b(_0x2c84f,_0x4fe3bb,{'cwd':_0x556f73,'env':buildChildEnv(_0x5e60ef[_0x57c823(_0x4b0ce9._0x35cb1f,_0x4b0ce9._0x335763,0xf9,_0x4b0ce9._0x2c193f)],_0x1e84ae),'stdio':_0x311695?[_0x3fecf5(0x80,_0x4b0ce9._0x72ac40,-_0x4b0ce9._0x4fa8ad,_0x4b0ce9._0x253369),'ignore',_0x3fecf5(-0x73,-0xa0,0x195,_0x4b0ce9._0x253369)]:[_0x57c823(-_0x4b0ce9._0x40c292,-0x65,-0xf,_0x4b0ce9._0x58c414),_0x57c823(_0x4b0ce9._0x479094,0x27,_0x4b0ce9._0x3c6f30,0xa2),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x3d07cb});}catch(_0x56f00d){throw mapSpawnError(_0x56f00d,{'command':_0x1a13f1['command'],'cwd':_0x556f73,'shellPath':_0x2c84f});}const _0x339b2c=[];function _0x3fecf5(_0x4ebb43,_0x325292,_0xe8bdc6,_0x4b80b7){return _0x14a035(_0x325292,_0x4b80b7- -0x331,_0xe8bdc6-0x12d,_0x4b80b7-_0x321079._0x2726b9);}const _0x504565=[],_0x45b79=new _0x554971(_0x3fecf5(_0x4b0ce9._0x1e9399,_0x4b0ce9._0x42f4f5,0x35e,_0x4b0ce9._0x5023ae)),_0x9b7c86=new _0x554971(_0x3fecf5(0x38c,_0x4b0ce9._0x10cd2e,_0x4b0ce9._0x3a41aa,_0x4b0ce9._0x5023ae));let _0x491b61,_0x5c3100=![],_0x25e01c;const _0x228fb9=()=>{if(!_0x491b61)return;const _0x1d0901=_0x491b61;_0x491b61=void 0x0,_0x1d0901();},_0x54021c=async()=>{if(_0x504565['length']>0x0||_0x5c3100)return;await new Promise(_0x1a0a22=>{_0x491b61=_0x1a0a22;});},_0x2c45d9=_0x1dc748=>{function _0x3be4a3(_0x347b35,_0x2bee55,_0x42bf96,_0x3e99eb){return _0x3fecf5(_0x347b35-0x150,_0x2bee55,_0x42bf96-0x1c,_0x42bf96-_0x1d1cff._0x354450);}appendChunk(_0x339b2c,_0x504565,_0x45b79[_0x3be4a3(_0x369131._0x504f6c,_0x369131._0x5eade4,_0x369131._0x2eabfd,0x59d)](_0x1dc748),_0x1a6a03,_0x228fb9);},_0x3f35cd=_0xa3752b=>{function _0x451a65(_0x1e5d28,_0x38be6b,_0x366748,_0x52835b){return _0x57c823(_0x366748-0x95,_0x38be6b,_0x366748-0x12e,_0x52835b-_0x2cf980._0x41fd69);}appendChunk(_0x339b2c,_0x504565,_0x9b7c86[_0x451a65(-_0x45ac63._0x314aca,0x122,0x113,_0x45ac63._0x46749a)](_0xa3752b),_0x1a6a03,_0x228fb9);};_0x59797b[_0x57c823(0x12d,_0x4b0ce9._0x46a5d9,_0x4b0ce9._0x4de1d5,_0x4b0ce9._0x275be1)]?.['on']('data',_0x2c45d9),_0x59797b[_0x57c823(0x1f7,_0x4b0ce9._0x80fe2c,_0x4b0ce9._0x1b097a,_0x4b0ce9._0xddf37d)]?.['on'](_0x3fecf5(_0x4b0ce9._0x350fea,_0x4b0ce9._0x42bf45,0x280,0x2fd),_0x3f35cd);let _0x31433b=![],_0x94ba99;const _0x3da171=addAbortListener(_0x35d387[_0x57c823(_0x4b0ce9._0xea42c1,0x27e,_0x4b0ce9._0x58d51e,0x1a9)],()=>{const _0x263072={_0x235fc0:0x33a,_0x194384:0x8d};_0x25e01c=toAbortError(_0x35d387['signal'][_0x4170b1(_0x77a9ff._0x39be56,0x2b0,_0x77a9ff._0x5684a2,_0x77a9ff._0xdfd0d2)]);function _0x4170b1(_0x3e9939,_0xdf4156,_0x1965f8,_0x18b3c5){return _0x57c823(_0x1965f8-_0x263072._0x235fc0,_0x3e9939,_0x1965f8-0x5,_0x18b3c5-_0x263072._0x194384);}_0x5c3100=!![],_0x228fb9();try{killProcessGroup(_0x59797b,_0x3d07cb);}catch{}});try{const _0x4afbcb=new Promise((_0x5ce88b,_0x2ece88)=>{const _0x303c57={_0x3fd56b:0x342},_0x47f04e={_0x440e02:0x91,_0x473ce5:0x2c},_0xd7c63d=()=>{const _0x2e78ad={_0x2652ce:0x1e1};_0x94ba99&&(clearTimeout(_0x94ba99),_0x94ba99=void 0x0);_0x59797b[_0x58c70c(_0x2b9e4e._0x2e53d7,0x53d,0x58e,_0x2b9e4e._0x51f8ef)](_0x58c70c(0x6b1,_0x2b9e4e._0xbb61ed,0x540,_0x2b9e4e._0x53ea69),_0xbf7e07);function _0x185325(_0x1c244f,_0x30aee2,_0x24c445,_0xe0c33c){return _0x3eab(_0x1c244f-_0x2e78ad._0x2652ce,_0x24c445);}function _0x58c70c(_0x4176e1,_0x527489,_0x202a65,_0x85a284){return _0x3eab(_0x202a65-0x30d,_0x527489);}_0x59797b[_0x58c70c(_0x2b9e4e._0x50e495,0x69f,_0x2b9e4e._0x483855,0x4bf)](_0x185325(0x341,0x380,0x4a0,_0x2b9e4e._0x505d20),_0x5aab2a);},_0xbf7e07=_0x4a425c=>{_0x5c3100=!![],_0x228fb9(),_0xd7c63d(),_0x2ece88(_0x25e01c??_0x4a425c);},_0x5aab2a=(_0x43c76f,_0x472572)=>{_0x31433b=!![],appendChunk(_0x339b2c,_0x504565,_0x45b79['end'](),_0x1a6a03,_0x228fb9),appendChunk(_0x339b2c,_0x504565,_0x9b7c86['end'](),_0x1a6a03,_0x228fb9),_0x5c3100=!![],_0x228fb9(),_0xd7c63d();if(_0x25e01c){_0x2ece88(_0x25e01c);return;}_0x5ce88b({'code':_0x43c76f,'signal':_0x472572});};function _0x2d00b3(_0x561a21,_0x195765,_0x57b29a,_0x506897){return _0x57c823(_0x506897-0x2ef,_0x561a21,_0x57b29a-_0x55bcdb._0x31c86a,_0x506897-_0x55bcdb._0x2f4349);}function _0x5d8760(_0x33f074,_0xdbfc02,_0x5efc0b,_0xe3a59f){return _0x3fecf5(_0x33f074-0xcd,_0x5efc0b,_0x5efc0b-_0x47f04e._0x440e02,_0xdbfc02- -_0x47f04e._0x473ce5);}_0x94ba99=setTimeout(()=>{function _0x45bb0c(_0x52d1c6,_0x45ca3f,_0x1f2592,_0x54bc86){return _0x3eab(_0x52d1c6-0x36c,_0x1f2592);}_0x5c3100=!![];function _0x17a4a4(_0x5409ce,_0x24e11a,_0x1992e9,_0x8fe5a1){return _0x3eab(_0x1992e9- -_0x303c57._0x3fd56b,_0x24e11a);}_0x228fb9(),_0xd7c63d();try{killProcessGroup(_0x59797b,_0x3d07cb);}catch{}_0x2ece88(new ToolExecutionError(_0x45bb0c(_0x4e55a8._0x292829,_0x4e55a8._0x3f6b51,0x4f5,_0x4e55a8._0x29f01d)+_0x926922+_0x17a4a4(-_0x4e55a8._0x396e22,-0x1d2,-0x204,-0x136),{'command':_0x1a13f1[_0x45bb0c(0x538,0x3e1,0x695,_0x4e55a8._0x57b07c)],'cwd':_0x556f73,'shellPath':_0x2c84f,'timeoutMs':_0x926922,'timedOut':!![]}));},_0x926922),_0x59797b[_0x5d8760(0x16f,0x1f3,0x198,_0x3a534b._0x5e3c9e)](_0x2d00b3(_0x3a534b._0x705727,0x4af,0x525,0x3f5),_0xbf7e07),_0x59797b[_0x2d00b3(0x46b,0x383,0x2ba,_0x3a534b._0x3380c9)](_0x2d00b3(_0x3a534b._0x504828,0x26e,0x2ab,_0x3a534b._0x11a6c2),_0x5aab2a);});while(_0x504565['length']>0x0||!_0x5c3100){if(_0x504565[_0x57c823(_0x4b0ce9._0x589c7e,_0x4b0ce9._0x3e5aad,0x23e,0x25f)]===0x0){await _0x54021c();continue;}const _0x5e7cdd=_0x504565[_0x57c823(_0x4b0ce9._0x2127c1,-_0x4b0ce9._0x58e452,-0x2b,_0x4b0ce9._0x362571)]();_0x5e7cdd!==void 0x0&&(yield _0x5e7cdd);}const _0x29d469=await _0x4afbcb,_0x1b3f68=_0x311695?_0x57c823(0x25c,_0x4b0ce9._0x151905,_0x4b0ce9._0x41c3d5,_0x4b0ce9._0x105a7f)+(_0x29d469[_0x3fecf5(_0x4b0ce9._0x1927fe,_0x4b0ce9._0x48ac29,_0x4b0ce9._0x42fc36,_0x4b0ce9._0x4161b4)]??0x0):_0x339b2c[_0x3fecf5(_0x4b0ce9._0x293fda,0x41d,0x3d2,0x31e)](''),_0x2058a1={'command':_0x1a13f1[_0x3fecf5(0xd1,0x270,0xac,0x17c)],'description':_0x1a13f1[_0x3fecf5(_0x4b0ce9._0x18cea7,0x208,_0x4b0ce9._0x3c1eb0,0x14f)],'cwd':_0x556f73,'exitCode':_0x29d469[_0x57c823(_0x4b0ce9._0x869df9,_0x4b0ce9._0x443baf,_0x4b0ce9._0x1bb94e,0x2a5)]??0x0,'signal':_0x29d469[_0x3fecf5(0x24e,0x249,_0x4b0ce9._0x370059,0x2a5)],'ignoreOutput':_0x311695,'shellPath':_0x2c84f,'timeoutMs':_0x926922};if(_0x29d469[_0x3fecf5(0x464,_0x4b0ce9._0x144005,0x1f3,_0x4b0ce9._0x4161b4)]!==0x0)throw new ToolExecutionError(_0x1b3f68||_0x3fecf5(_0x4b0ce9._0x184aeb,_0x4b0ce9._0x31bbcd,0x48,_0x4b0ce9._0xa89c8b)+(_0x29d469[_0x3fecf5(_0x4b0ce9._0x4cda6d,0x431,0x305,_0x4b0ce9._0x4161b4)]??0x0),_0x2058a1);return createToolOutput(_0x1b3f68,_0x2058a1);}catch(_0x172076){while(_0x504565['length']>0x0){const _0x1bb8d1=_0x504565[_0x3fecf5(_0x4b0ce9._0x3af518,0x1e1,_0x4b0ce9._0xcf868f,_0x4b0ce9._0xe19f43)]();_0x1bb8d1!==void 0x0&&(yield _0x1bb8d1);}if(_0x172076 instanceof ToolExecutionError)throw _0x172076;if(_0x25e01c)throw _0x25e01c;throw mapSpawnError(_0x172076,{'command':_0x1a13f1[_0x3fecf5(0x264,0x29,_0x4b0ce9._0x383254,_0x4b0ce9._0x8d0441)],'cwd':_0x556f73,'shellPath':_0x2c84f});}finally{_0x94ba99&&clearTimeout(_0x94ba99);_0x3da171(),_0x59797b['stdout']?.['off'](_0x57c823(0x220,_0x4b0ce9._0xc7baac,_0x4b0ce9._0x23bc60,0x107),_0x2c45d9),_0x59797b['stderr']?.[_0x57c823(0x154,_0x4b0ce9._0x869df9,0x12f,_0x4b0ce9._0x252430)]('data',_0x3f35cd);if(!_0x31433b&&_0x59797b['pid']&&!_0x59797b[_0x57c823(-_0x4b0ce9._0x3f9970,0x105,-0x16b,-_0x4b0ce9._0x3045d8)])try{killProcessGroup(_0x59797b,_0x3d07cb);}catch{}}}});}function createShellExecTool(_0x5aacba={}){return createBashTool(_0x5aacba);}import{readdir,readFile as _0x369c9a}from'fs/promises';import{extname,join as _0x55d036}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x49f4eb,join,relative as _0x2ddec3,resolve as _0x3bf9f4}from'path';import{readdir as _0x123048,readFile as _0xf5ffa7}from'fs/promises';import{join as _0x5bd6f2,relative as _0x23f949,sep}from'path';import{delimiter}from'path';import{mkdir as _0x1bf2d1,rm,stat as _0x3ef8ab,writeFile}from'fs/promises';import{hostname}from'os';function _0x3eab(_0x4092ce,_0x2c62b1){_0x4092ce=_0x4092ce-0x9a;const _0x1f3186=_0x1f31();let _0x3eab9a=_0x1f3186[_0x4092ce];if(_0x3eab['cxMdWF']===undefined){var _0x5a0d84=function(_0x374bb5){const _0x4c31f7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5c25c7='',_0x5667c4='';for(let _0x23bd57=0x0,_0x5d8c92,_0x2ca407,_0x33d79b=0x0;_0x2ca407=_0x374bb5['charAt'](_0x33d79b++);~_0x2ca407&&(_0x5d8c92=_0x23bd57%0x4?_0x5d8c92*0x40+_0x2ca407:_0x2ca407,_0x23bd57++%0x4)?_0x5c25c7+=String['fromCharCode'](0xff&_0x5d8c92>>(-0x2*_0x23bd57&0x6)):0x0){_0x2ca407=_0x4c31f7['indexOf'](_0x2ca407);}for(let _0x35c0e1=0x0,_0x212a88=_0x5c25c7['length'];_0x35c0e1<_0x212a88;_0x35c0e1++){_0x5667c4+='%'+('00'+_0x5c25c7['charCodeAt'](_0x35c0e1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5667c4);};_0x3eab['sPVRuo']=_0x5a0d84,_0x3eab['gIQSOM']={},_0x3eab['cxMdWF']=!![];}const _0xf472fb=_0x1f3186[0x0],_0x315d06=_0x4092ce+_0xf472fb,_0x27bc5b=_0x3eab['gIQSOM'][_0x315d06];return!_0x27bc5b?(_0x3eab9a=_0x3eab['sPVRuo'](_0x3eab9a),_0x3eab['gIQSOM'][_0x315d06]=_0x3eab9a):_0x3eab9a=_0x27bc5b,_0x3eab9a;}import{dirname as _0x46febd}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x32c21c,rename,rm as _0x549b8d,stat as _0x588b4b,writeFile as _0x3e9352}from'fs/promises';import{homedir as _0x4e76de}from'os';import{dirname as _0x36d647,isAbsolute as _0x9eed09,join as _0x2aa132,resolve as _0x3eb523}from'path';import{parse as _0xb9b56a,stringify as _0x579a8d}from'yaml';import{cp,mkdir as _0x24fdcb,readFile as _0x3684b6,rm as _0x2f3866,writeFile as _0x1cf62e}from'fs/promises';import{homedir}from'os';import{join as _0x2cab66}from'path';import{parse as _0x4f331b,stringify as _0x127a35}from'yaml';import{z}from'zod';import{readdir as _0x246e4a,readFile as _0x21f75f}from'fs/promises';import{join as _0x36155f}from'path';import{randomUUID as _0x4681e4}from'crypto';import{mkdir as _0x1364a8,readdir as _0x43ca0c,readFile as _0x3fcae,rename as _0x21705f,rm as _0x91cda8,writeFile as _0x27ff9f}from'fs/promises';import{homedir as _0x28b09d}from'os';import{basename,isAbsolute as _0x3c6371,join as _0x3bbb06,relative as _0x5bf036,resolve as _0x134144}from'path';import{parse as _0x50441e,stringify as _0x4d5f2c}from'yaml';import{delimiter as _0x5e3bea,resolve as _0x16443d}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x1ee9ae){const _0x315bc3={_0x59c339:0x2af,_0x83c5c7:0x27c,_0x376369:0x279,_0x56f848:0x3b5,_0x8e99b2:0x17c,_0x166f8e:0x423,_0x5ef599:0x4a1,_0x3b066b:0x1f8,_0x51b758:0x377,_0x14d3b4:0x30b,_0x428a09:0x1cc,_0xbe849e:0x2cb,_0x1b9aa4:0x137,_0x5673ec:0x161},_0x507a83={_0x181560:0xfd,_0x47e8d6:0x39d},_0x440f82={_0x43272f:0x1af,_0x41102a:0x1f3,_0x2d4ad4:0x1b9},_0x29e1e0=[];function _0x3291df(_0x748f63,_0x577b63,_0x41205b,_0x55c67c){return _0xf90728(_0x41205b,_0x577b63-_0x440f82._0x43272f,_0x55c67c-_0x440f82._0x41102a,_0x55c67c-_0x440f82._0x2d4ad4);}let _0xee841e='',_0x520493=0x0;while(_0x520493<_0x1ee9ae[_0x3291df(0x27f,_0x315bc3._0x59c339,_0x315bc3._0x83c5c7,_0x315bc3._0x376369)]){const _0x2bc2c1=_0x1ee9ae[_0x520493];if(_0x2bc2c1==='\x5c'&&_0x520493+0x1<_0x1ee9ae[_0x3291df(_0x315bc3._0x56f848,0x21f,_0x315bc3._0x8e99b2,0x279)])_0xee841e+=_0x1ee9ae[_0x520493+0x1],_0x520493+=0x2;else{if(_0x2bc2c1==='\x22'||_0x2bc2c1==='\x27'){const _0x5cb0c8=_0x2bc2c1;_0x520493++;while(_0x520493<_0x1ee9ae[_0x27c8e4(_0x315bc3._0x166f8e,0x44c,_0x315bc3._0x5ef599,0x486)]&&_0x1ee9ae[_0x520493]!==_0x5cb0c8){_0x1ee9ae[_0x520493]==='\x5c'&&_0x520493+0x1<_0x1ee9ae[_0x3291df(_0x315bc3._0x3b066b,0x353,0x1f0,_0x315bc3._0x376369)]?(_0xee841e+=_0x1ee9ae[_0x520493+0x1],_0x520493+=0x2):(_0xee841e+=_0x1ee9ae[_0x520493],_0x520493++);}_0x520493++;}else _0x2bc2c1!==void 0x0&&/\s/[_0x27c8e4(_0x315bc3._0x51b758,0x397,0x4e2,0x3a5)](_0x2bc2c1)?(_0xee841e&&(_0x29e1e0[_0x27c8e4(_0x315bc3._0x14d3b4,_0x315bc3._0x428a09,0x3a5,0x451)](_0xee841e),_0xee841e=''),_0x520493++):(_0xee841e+=_0x2bc2c1,_0x520493++);}}if(_0xee841e)_0x29e1e0[_0x3291df(_0x315bc3._0xbe849e,_0x315bc3._0x1b9aa4,0x142,_0x315bc3._0x5673ec)](_0xee841e);function _0x27c8e4(_0x52547d,_0x3bf58e,_0x38a92a,_0x5c7d5e){return _0xf90728(_0x38a92a,_0x3bf58e-_0x507a83._0x181560,_0x52547d-_0x507a83._0x47e8d6,_0x5c7d5e-0x163);}return _0x29e1e0;}function renderCommandInstructions(_0xe0b82c){const _0x375450={_0x5d632c:0x32,_0x3ffe78:0x2e,_0x1a1fb2:0x90,_0xdc73d1:0x31b,_0x158bad:0x3c4,_0x243fae:0x489,_0x1fa6de:0x82,_0x2b5310:0x26d,_0x18bd11:0x127,_0x4da823:0x12,_0x439054:0x173,_0x254604:0x27b,_0x2925cb:0x31,_0x2eb4c1:0x148,_0x38f7b8:0x5,_0x12f8fd:0x132,_0x4a34d6:0x109,_0x26dbac:0x2d0,_0x18d565:0x38b,_0x5271f5:0x290,_0x53406d:0x3d8,_0x19c496:0x2d0,_0x4dc18d:0x3e7,_0x1d1c1b:0x2be,_0xe733cc:0x3c4,_0x21cda0:0x2d3,_0x57d119:0x382,_0xc3bf3e:0x376,_0x2934c9:0x1ff,_0x5ae875:0x138,_0x24152b:0x1b7},_0x20fcf8={_0x5d9ec5:0x5d2,_0x277f68:0x515},_0x30a532={_0x4c9edd:0x5e,_0x3f81f7:0x85},_0x4c8fef={_0x555871:0xc,_0x30ae46:0x95};function _0x4b797f(_0x2d669e,_0x46aa45,_0x43e36f,_0x366767){return _0xf90728(_0x2d669e,_0x46aa45-_0x4c8fef._0x555871,_0x46aa45-0x24a,_0x366767-_0x4c8fef._0x30ae46);}let _0x5c34c0=_0xe0b82c[_0x2ac8ec(0x13c,_0x375450._0x5d632c,-_0x375450._0x3ffe78,_0x375450._0x1a1fb2)],_0x14e197=![];const _0x175d89=tokenizeCommandArguments(_0xe0b82c[_0x4b797f(_0x375450._0xdc73d1,_0x375450._0x158bad,_0x375450._0x243fae,0x45e)]);_0x5c34c0=_0x5c34c0[_0x4b797f(_0x375450._0x1fa6de,0x173,_0x375450._0x2b5310,_0x375450._0x18bd11)](/\$ARGUMENTS\[(\d+)\]/g,(_0x454037,_0x503e51)=>{return _0x14e197=!![],_0x175d89[Number(_0x503e51)]??'';});function _0x2ac8ec(_0x2a04ca,_0x374623,_0xa3d420,_0x3a9530){return _0xf90728(_0xa3d420,_0x374623-_0x30a532._0x4c9edd,_0x2a04ca-_0x30a532._0x3f81f7,_0x3a9530-0x94);}_0x5c34c0=_0x5c34c0[_0x4b797f(_0x375450._0x4da823,_0x375450._0x439054,_0x375450._0x254604,0x2ac)](/\$ARGUMENTS\b/g,()=>{_0x14e197=!![];function _0x41fc6a(_0x3f4096,_0x3e7ac2,_0x138e83,_0x495fb1){return _0x4b797f(_0x138e83,_0x3f4096-0x20e,_0x138e83-0x186,_0x495fb1-0xc0);}return _0xe0b82c[_0x41fc6a(_0x20fcf8._0x5d9ec5,_0x20fcf8._0x277f68,0x5d3,0x608)];});if(_0xe0b82c[_0x2ac8ec(-0x5,-_0x375450._0x2925cb,_0x375450._0x2eb4c1,-0x9b)]&&_0xe0b82c[_0x2ac8ec(-_0x375450._0x38f7b8,0x8,_0x375450._0x12f8fd,-_0x375450._0x4a34d6)][_0x4b797f(0x418,_0x375450._0x26dbac,_0x375450._0x18d565,0x227)]>0x0)for(let _0xf61d68=0x0;_0xf61d68<_0xe0b82c[_0x4b797f(0xc5,0x1c0,0x124,_0x375450._0x5271f5)][_0x4b797f(_0x375450._0x53406d,_0x375450._0x19c496,0x243,_0x375450._0x4dc18d)];_0xf61d68++){const _0x31defc=_0xe0b82c['argumentNames'][_0xf61d68];if(_0x31defc){const _0x5c10ad=new RegExp('\x5c$'+_0x31defc+'\x5cb','g');_0x5c34c0=_0x5c34c0[_0x4b797f(0xcc,_0x375450._0x439054,0x208,0x1de)](_0x5c10ad,()=>{return _0x14e197=!![],_0x175d89[_0xf61d68]??'';});}}return _0x5c34c0=_0x5c34c0['replace'](/\$(\d+)\b/g,(_0x151e1e,_0x50d135)=>{return _0x14e197=!![],_0x175d89[Number(_0x50d135)]??'';}),!_0x14e197&&_0xe0b82c[_0x4b797f(_0x375450._0x1d1c1b,_0x375450._0xe733cc,_0x375450._0x21cda0,0x29b)][_0x4b797f(0x130,0x23d,_0x375450._0x57d119,_0x375450._0xc3bf3e)]()&&(_0x5c34c0=_0x5c34c0+'\x0a\x0aARGUMENTS:\x20'+_0xe0b82c[_0x2ac8ec(_0x375450._0x2934c9,_0x375450._0x5ae875,_0x375450._0x24152b,0x8e)]),_0x5c34c0;}var PROVIDER_API_KEY_ENVS=[{'env':'OPENROUTER_API_KEY','provider':'openrouter'},{'env':_0xf90728(-0x287,-0x268,-0x150,-0x228),'provider':_0xf90728(0x11c,0xd1,0x133,0x265)},{'env':_0x4d40c0(-0x1cf,-0x66,0x73,-0x1b0),'provider':_0x4d40c0(0xe1,-0x2e,-0xf7,0x97)},{'env':_0xf90728(-0x2d,-0x1,-0x13c,-0x16d),'provider':'github'},{'env':_0xf90728(-0x40,-0xc0,-0x13a,-0x1bd),'provider':_0x4d40c0(-0x28c,-0x2ab,-0x3c0,-0x3c0)},{'env':_0x4d40c0(0x7a,-0xe0,0x24,0x5c),'provider':_0x4d40c0(-0x2c5,-0x1ac,-0x285,-0x14b)},{'env':_0xf90728(-0x11e,-0xb1,0x20,-0x36),'provider':'zai'},{'env':_0x4d40c0(-0x1fc,-0x299,-0x2dc,-0x382),'provider':_0x4d40c0(-0x1d1,-0x133,-0x72,-0xa7)},{'env':'MINIMAX_API_KEY','provider':_0x4d40c0(-0xc5,-0x6d,-0x1,0x77)},{'env':_0xf90728(-0xa2,0x100,0x80,-0x4f),'provider':'kimi'},{'env':_0x4d40c0(-0xc,-0x166,-0x2aa,-0x96),'provider':_0xf90728(-0x8a,0x38,-0x29,-0x82)},{'env':_0xf90728(0x65,0xe7,0x59,-0xa5),'provider':'deepseek'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x4d40c0(-0x7b,0xc,0xd9,0x5b)](_0x5e8966=>_0x5e8966[_0x4d40c0(-0x1a3,-0x41,0x68,-0xd9)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY','GOOGLE_CSE_KEY',_0x4d40c0(-0x103,-0x108,-0xa7,0x67)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object['prototype']),_0x4d40c0(-0x8d,-0xae,-0x1b5,-0x15b)]);function prototypeSafeRecord(_0x58a3fa){const _0x41772d={_0x246699:0x4c6,_0x252477:0x3aa,_0x1d8500:0x44f,_0x375581:0x127,_0x9dea8f:0x40,_0x4aea06:0x144,_0x27f14a:0x19a,_0x413db9:0x4f7,_0x92793:0x535,_0xc5790d:0x3ed,_0x381c61:0xed},_0x56272c={_0x21d62a:0x26a,_0x20c149:0x320,_0x46eb81:0x114,_0x34b2df:0x2d1,_0x64228c:0x4b7,_0x430107:0x397,_0x1a2b13:0x47b},_0x1d2d9e={_0x436661:0x102},_0x3492d6={_0x56db18:0x7f,_0x5c7885:0x32a,_0x1301cd:0xae},_0x24b6c9={_0xe64c54:0xd1},_0x415eed={_0x257ad4:0x189,_0x2ae4f2:0x50b};function _0x3397cf(_0x13d55d,_0x8dd00e,_0x17983f,_0x343719){return _0xf90728(_0x17983f,_0x8dd00e-_0x415eed._0x257ad4,_0x8dd00e-_0x415eed._0x2ae4f2,_0x343719-0x1de);}function _0x4e7fc9(_0x18fad5,_0x50c21a,_0x12dd80,_0x5c546a){return _0x4d40c0(_0x18fad5-_0x24b6c9._0xe64c54,_0x18fad5-0xaa,_0x12dd80-0x1b7,_0x50c21a);}return z[_0x3397cf(_0x41772d._0x246699,0x49b,_0x41772d._0x252477,_0x41772d._0x1d8500)](_0x4df5d7=>{if(_0x4df5d7===null||typeof _0x4df5d7!==_0x2e7b79(0x234,_0x56272c._0x21d62a,_0x56272c._0x20c149,0x1df)||Array['isArray'](_0x4df5d7))return null;function _0x2e7b79(_0x2f7fd1,_0x14aa71,_0x458d7b,_0x33a655){return _0x3397cf(_0x2f7fd1-_0x3492d6._0x56db18,_0x2f7fd1- -_0x3492d6._0x5c7885,_0x33a655,_0x33a655-_0x3492d6._0x1301cd);}const _0x553d5f=Object[_0x2e7b79(0x262,_0x56272c._0x46eb81,0x332,_0x56272c._0x34b2df)](_0x4df5d7);function _0x1621d2(_0x16cff2,_0x171ea1,_0xea86ef,_0x469ed2){return _0x3397cf(_0x16cff2-_0x1d2d9e._0x436661,_0x171ea1- -0xec,_0xea86ef,_0x469ed2-0xe3);}if(_0x553d5f!==Object[_0x1621d2(0x4b4,_0x56272c._0x64228c,_0x56272c._0x430107,_0x56272c._0x1a2b13)]&&_0x553d5f!==null)return null;return{'entries':Object['entries'](_0x4df5d7)};},z[_0x4e7fc9(-0x49,-_0x41772d._0x375581,-0x1b4,-_0x41772d._0x9dea8f)]({'entries':z[_0x4e7fc9(-0x131,-0xc1,-0x28b,-0x1e7)](z[_0x4e7fc9(-0x11e,-_0x41772d._0x4aea06,-_0x41772d._0x27f14a,-0xd7)]([z[_0x3397cf(_0x41772d._0x413db9,_0x41772d._0x92793,0x66c,_0x41772d._0xc5790d)](),_0x58a3fa]))}))[_0x4e7fc9(0xe0,0xd5,_0x41772d._0x381c61,0x10a)](({entries:_0x145708})=>Object[_0x4e7fc9(0xb1,0xc1,0x9b,0xbe)](_0x145708));}var chatModelAuthSchemeSchema=z[_0x4d40c0(0x11f,-0x8,0x111,0x7d)]([_0xf90728(-0x1bc,-0x5a,-0x78,-0x135),_0x4d40c0(-0x261,-0x235,-0x30d,-0x1da)]),apiKeyAuthSchema=z['object']({'type':z[_0x4d40c0(-0x2af,-0x15f,-0x2a,-0xb6)]('apiKey'),'apiKey':z[_0xf90728(-0x56,0x98,0x2a,-0x10)](),'authScheme':chatModelAuthSchemeSchema[_0x4d40c0(-0x235,-0x185,-0x7b,-0x2f9)]()})[_0x4d40c0(-0x344,-0x276,-0x19d,-0x2ee)](),oauthAuthSchema=z[_0xf90728(-0xec,0x5d,0x53,-0xcc)]({'type':z[_0x4d40c0(-0x233,-0x15f,-0xea,-0x136)]('oauth'),'access':z['string'](),'refresh':z['string'](),'expires':z[_0x4d40c0(-0x3b6,-0x2a9,-0x158,-0x370)]()[_0xf90728(0x112,-0x1b3,-0x3f,-0x84)](),'authScheme':chatModelAuthSchemeSchema[_0xf90728(0x1b,-0xeb,-0x3f,-0x1e)]()})[_0x4d40c0(-0x299,-0x276,-0x2d3,-0x129)](),finiteNonNegative=z[_0x4d40c0(-0x3f4,-0x2a9,-0x2f9,-0x3cd)]()[_0x4d40c0(0xa7,-0x9d,-0x9f,0x1)]()[_0x4d40c0(-0x19b,-0xf9,-0x15,0x11)](),chatGptAuthSchema=z[_0xf90728(-0x42,0x7a,0x53,-0xf7)]({'type':z['literal'](_0xf90728(0xa,-0x1d3,-0xbb,-0xe9)),'access':z[_0xf90728(-0x9f,0x63,0x2a,0xee)]()['min'](0x1),'refresh':z['string']()[_0xf90728(0x21a,0x91,0x104,0x215)](0x1),'idToken':z[_0xf90728(0xc6,0x174,0x2a,0x7a)]()[_0xf90728(0xe2,0x23b,0x104,0x1b7)](0x1),'accountId':z[_0xf90728(-0xa3,0x21,0x2a,0x143)]()['min'](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x4d40c0(-0x12c,-0x185,-0x135,-0xa8)]()})[_0xf90728(0xf,-0x186,-0x130,-0x26d)](),authMethodSchema=z[_0xf90728(0xbe,0x15e,0x124,0x1ea)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),modelDefinitionSchema=z['object']({'id':z['string'](),'name':z['string']()[_0xf90728(-0x3d,-0x1b6,-0x3f,-0x1ac)]()})[_0x4d40c0(-0x247,-0x276,-0x2b0,-0x2b8)](),modelConfigSchema=z[_0x4d40c0(0xb4,-0x22,-0x1b,-0x115)]([z[_0xf90728(0xb0,0x145,-0x19,0xe)](![]),z[_0x4d40c0(-0xeb,-0x15f,-0x176,-0x238)](!![]),z['string'](),z['array'](z[_0x4d40c0(-0x5b,-0x11c,0x48,-0xc9)]()),z[_0xf90728(0x5a,-0xa5,-0x95,-0x187)](modelDefinitionSchema)]);function _0xf90728(_0x4d8e4c,_0x444471,_0x1e6661,_0x428d67){return _0x3eab(_0x1e6661- -0x203,_0x4d8e4c);}var chatModelSurfaceSchema=z[_0xf90728(0x5a,0x26c,0x13e,0x20e)](['anthropic-messages',_0x4d40c0(-0x13a,-0x92,-0x19c,0x15),_0x4d40c0(-0x33c,-0x1e8,-0xcb,-0x248),_0xf90728(0x12a,-0x90,0xc9,0x120)]),providerConfigSchema=z[_0x4d40c0(-0x20d,-0xf3,-0x128,-0x24c)]({'apiKey':z['string']()[_0x4d40c0(-0x18e,-0x185,-0x269,-0x15)](),'token':z[_0x4d40c0(-0x1f1,-0x11c,-0x176,-0x28b)]()['optional'](),'defaultModel':z[_0xf90728(0x189,-0x81,0x2a,0x63)]()[_0x4d40c0(-0x1c7,-0x185,-0x1ee,-0x262)](),'smallModel':z[_0xf90728(-0xd7,0x62,0x2a,-0x75)]()[_0x4d40c0(-0x5f,-0x185,-0x16,-0x18)](),'currentAuth':z['string']()['optional'](),'auth':z[_0xf90728(-0x8c,-0x29,-0x95,0x11)](authMethodSchema)[_0x4d40c0(-0x82,-0x185,-0x17f,-0x249)](),'surface':chatModelSurfaceSchema[_0xf90728(0x77,-0x185,-0x3f,0x67)](),'baseUrl':z['string']()[_0x4d40c0(-0x1ee,-0x185,-0x177,-0xa5)](),'models':modelConfigSchema[_0x4d40c0(-0x252,-0x185,-0xcf,-0x29d)](),'customHeaders':z[_0xf90728(-0x1a3,-0x22f,-0xe8,-0x1ac)](z[_0xf90728(-0xd0,0x2d,0x2a,0x18e)](),z[_0xf90728(-0x56,-0x40,0x2a,0xbc)]())[_0x4d40c0(-0x1f0,-0x185,-0x1ca,-0x90)]()})[_0xf90728(-0x275,-0x22e,-0x130,-0x1b4)](),mcpServerConfigSchema=z[_0xf90728(-0x103,-0xb7,0x53,-0x4d)]({'command':z[_0xf90728(0x116,0x153,0x2a,0x126)]()[_0xf90728(-0x11a,-0x12c,-0x3f,-0xb4)](),'args':z['array'](z[_0x4d40c0(-0x55,-0x11c,-0x5,-0x1f0)]())[_0x4d40c0(-0x2bb,-0x185,-0x28d,-0x2c4)](),'env':z[_0xf90728(-0x144,-0xe4,-0xe8,0x63)](z[_0xf90728(-0x13e,-0x5,0x2a,-0x26)](),z[_0xf90728(0x94,0xe9,0x2a,0xbc)]())[_0xf90728(-0x4c,-0x48,-0x3f,-0x5f)](),'transport':z['enum'](['stdio',_0x4d40c0(-0x3a1,-0x26c,-0x2f4,-0x22c)])['optional'](),'url':z[_0xf90728(0xe9,-0x15,0x2a,-0xc5)]()[_0x4d40c0(-0x1f8,-0x185,-0x61,-0x2fa)](),'headers':z[_0xf90728(-0x221,-0x111,-0xe8,0x30)](z[_0xf90728(-0x11f,-0x27,0x2a,-0xfb)](),z[_0xf90728(0xf8,0x3e,0x2a,-0x46)]())[_0x4d40c0(-0x48,-0x185,-0x2ee,-0x10a)](),'prefix':z[_0x4d40c0(-0xf9,-0x11c,0x52,-0x14f)]()[_0x4d40c0(-0x2d0,-0x185,-0x27e,-0x11a)](),'timeoutMs':z['number']()[_0x4d40c0(-0x8f,-0x185,-0xed,-0x1b3)](),'enabled':z[_0xf90728(0x113,0x268,0x17f,0x102)]()[_0x4d40c0(-0x2d2,-0x185,-0x163,-0x28)](),'auth':z['object']({'type':z[_0x4d40c0(-0x150,-0x8,-0x180,0xc9)]([_0xf90728(0x1d,0x1b6,0xe9,0x154),_0x4d40c0(-0x1fd,-0x1be,-0x281,-0x115),_0x4d40c0(-0xc9,-0xc2,0x13,0x29)]),'token':z['string']()[_0xf90728(-0xdf,0x31,-0x3f,0x10c)](),'oauth':z[_0xf90728(-0x96,-0xdb,0x53,0x154)]({'clientId':z[_0xf90728(0x161,0x168,0x2a,0x18c)]()[_0xf90728(-0xef,-0x35,-0x3f,-0x34)](),'clientMetadataUrl':z[_0xf90728(0x2e,0x2e,0x2a,0x2a)]()[_0xf90728(-0xc2,-0x18d,-0x3f,0x132)](),'authorizationServer':z[_0x4d40c0(-0x259,-0x11c,-0xf4,-0x28a)]()['optional'](),'scopes':z[_0xf90728(-0x9f,0x6f,-0x95,0x50)](z[_0xf90728(0x144,-0xa1,0x2a,-0x30)]())['optional'](),'tokenStorageKey':z[_0xf90728(0x176,-0xd6,0x2a,0xb4)]()['optional']()})[_0x4d40c0(-0x26d,-0x276,-0x38b,-0x370)]()[_0xf90728(-0x3f,0xc6,-0x3f,0x87)]()})[_0x4d40c0(-0x134,-0x276,-0x3d9,-0x29c)]()[_0xf90728(-0x81,-0x34,-0x3f,-0xef)]()})[_0x4d40c0(-0x2fd,-0x276,-0x267,-0x217)](),mcpSettingsSchema=z['object']({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x4d40c0(-0x23c,-0x185,-0x2a2,-0x192)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0xf90728(0x20c,0x2eb,0x17f,0x1a4)]()))[_0x4d40c0(-0x20a,-0x185,-0x269,-0x72)](),'defaultTimeoutMs':z[_0xf90728(-0x24,-0x1e,-0x163,-0x213)]()[_0x4d40c0(-0x20f,-0x185,-0x80,-0x211)]()})[_0xf90728(-0xaf,-0x298,-0x130,-0xa1)](),skillsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x4d40c0(-0x17b,-0x185,-0x11e,-0x183)](),'includeDefaults':z[_0x4d40c0(0xb3,0x39,-0x35,0xda)]()['optional'](),'directories':z[_0x4d40c0(-0x104,-0x1db,-0x208,-0x23d)](z[_0x4d40c0(-0x1b4,-0x11c,0x46,0x45)]())[_0x4d40c0(-0x142,-0x185,-0x110,-0x87)](),'exclude':z[_0x4d40c0(-0x118,-0x1db,-0x2cb,-0x127)](z[_0xf90728(0xab,0xf5,0x2a,0x2c)]())[_0xf90728(-0xa6,-0x113,-0x3f,-0x121)]()})[_0xf90728(-0xbe,0x1a,-0x130,-0xca)](),commandsSettingsSchema=z['object']({'enabled':z[_0xf90728(0x21,0x2a2,0x17f,0x2ec)]()['optional'](),'directories':z[_0x4d40c0(-0x1d0,-0x1db,-0x180,-0x24e)](z[_0xf90728(0x46,0x18,0x2a,0x109)]())[_0xf90728(0x3c,-0x132,-0x3f,0x39)]()})[_0xf90728(-0x260,-0x299,-0x130,-0x102)](),agentsSettingsSchema=z[_0x4d40c0(-0x17a,-0xf3,-0x1f6,-0x18c)]({'enabled':z[_0x4d40c0(0x1c,0x39,0x77,0x188)]()[_0x4d40c0(-0x1a1,-0x185,-0x1d4,-0x7b)](),'includeDefaults':z['boolean']()[_0x4d40c0(-0x1ae,-0x185,-0x290,-0xbb)](),'directories':z['array'](z[_0xf90728(-0x48,0x137,0x2a,-0x1)]())[_0x4d40c0(-0x1b7,-0x185,-0x255,-0x285)]()})['passthrough'](),uiThemeSettingsSchema=z['object']({'mode':z[_0xf90728(0x39,0x158,0x13e,0x1e4)]([_0xf90728(0x19f,0x3d,0x6f,-0xe7),_0x4d40c0(-0x21d,-0xf1,-0x226,0x6),_0x4d40c0(0x39,0x29,-0xdf,-0x128)])[_0x4d40c0(-0x7b,-0x185,-0x247,-0x25)](),'colorLevel':z[_0x4d40c0(-0x36,-0x8,-0x54,-0x6c)]([_0xf90728(0x28,0x55,0x6f,-0x49),_0x4d40c0(0x9c,-0x5d,-0x168,-0x1ba),_0x4d40c0(-0x50,0x35,0x105,0xe8),_0xf90728(0x1ab,0x1d3,0xf5,0x1c6),_0xf90728(0x1d,0xd6,0x15a,0x232)])[_0x4d40c0(-0xed,-0x185,-0x278,-0x200)](),'backgrounds':z[_0xf90728(0x16a,0xc1,0x13e,0x155)]([_0xf90728(0x47,-0x30,0x6f,0xb7),'on','off'])[_0xf90728(-0x1c,-0x24,-0x3f,-0xb9)](),'messageStyle':z[_0x4d40c0(-0x132,-0x8,-0x78,0xb6)]([_0x4d40c0(-0x276,-0x109,-0xef,-0x199),_0x4d40c0(-0x333,-0x22c,-0x2c5,-0x2e7)])[_0x4d40c0(-0x244,-0x185,-0x228,-0x1f9)]()})[_0xf90728(-0x190,-0x5b,-0x130,-0x1c5)](),statuslineSegmentSchema=z[_0x4d40c0(0x133,-0x8,-0xe2,0x17)]([_0xf90728(0x28,0x1ac,0x140,0x147),_0x4d40c0(-0xa5,-0xfc,-0x1de,-0xf),_0x4d40c0(-0x5,0x27,-0xa8,-0x48),_0x4d40c0(-0x251,-0x245,-0x1cc,-0x27c),_0xf90728(0x1,-0x211,-0x129,-0x39),'context','cached',_0x4d40c0(-0x32,-0x111,0x65,-0x172),_0x4d40c0(-0x1be,-0x28c,-0x295,-0x1c0),_0x4d40c0(-0x1c4,-0x27e,-0x3a4,-0x3e6),_0x4d40c0(-0xfe,0x32,0x17a,-0xf8),'gitBranch','keybindings',_0x4d40c0(0x41,-0x16,-0xff,-0x9e),_0x4d40c0(0x152,0xe,-0x89,0x158)]),statuslineItemSchema=z[_0x4d40c0(0x143,-0x22,0x4d,-0x62)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z[_0xf90728(-0x173,-0x1e2,-0x95,0x83)](statuslineItemSchema),statuslineConfigSchema=z[_0xf90728(0xe9,-0x103,0x53,0x71)]({'rows':z[_0xf90728(-0x139,-0x1a3,-0x82,-0x114)]([statuslineRowSchema,statuslineRowSchema])[_0xf90728(-0x3,-0x55,-0x3f,-0x16)]()})[_0x4d40c0(-0x3e9,-0x276,-0x1a5,-0x3e9)](),memorySettingsSchema=z[_0x4d40c0(-0x1d8,-0xf3,-0x169,-0x89)]({'version':z[_0xf90728(-0xe,-0x7c,-0x19,0xef)](0x2)['optional'](),'retrieval':z['object']({'engine':z[_0xf90728(0x152,0xb,-0x19,0xc7)](_0xf90728(0x23,0x27,0x16c,0x1db))[_0x4d40c0(-0x25b,-0x185,-0x179,-0x228)](),'candidateLimit':z[_0x4d40c0(-0x1a8,-0x2a9,-0x379,-0x1d7)]()[_0x4d40c0(-0x264,-0x185,-0x17f,-0x134)](),'activeCandidateLimit':z[_0x4d40c0(-0x314,-0x2a9,-0x1bd,-0x25b)]()[_0xf90728(0x3b,0xe5,-0x3f,-0x107)](),'activeEnabled':z['boolean']()['optional'](),'maxQueriesPerTurn':z[_0x4d40c0(-0x2e6,-0x2a9,-0x3c6,-0x280)]()[_0xf90728(-0xc0,-0x139,-0x3f,0x12e)](),'coreInjectTokenBudget':z[_0x4d40c0(-0x30b,-0x2a9,-0x1a9,-0x3a9)]()[_0xf90728(-0x13a,0xc9,-0x3f,0x25)](),'injectTokenBudget':z[_0x4d40c0(-0x3bd,-0x2a9,-0x240,-0x35c)]()[_0xf90728(-0xfb,0xe5,-0x3f,-0xda)](),'minScore':z[_0x4d40c0(-0x408,-0x2a9,-0x3d8,-0x264)]()[_0xf90728(-0x16e,-0xe0,-0x3f,-0x138)](),'freshnessHalfLifeDays':z[_0xf90728(-0x205,-0x2ca,-0x163,-0x59)]()[_0x4d40c0(-0x95,-0x185,-0x2c8,-0xac)]()})[_0xf90728(-0x1d4,-0x200,-0x130,-0x271)]()[_0xf90728(0x11e,-0x4b,-0x3f,-0x196)](),'extraction':z[_0x4d40c0(-0x19a,-0xf3,-0x16a,-0x1ac)]({'enabled':z[_0x4d40c0(-0x6e,0x39,-0xdd,-0x20)]()[_0xf90728(-0x15c,-0x168,-0x3f,-0x1b3)](),'provider':z[_0xf90728(0x153,0x8e,0x2a,0x196)]()['optional'](),'model':z[_0xf90728(-0x134,0x123,0x2a,-0xa)]()[_0xf90728(0x6f,-0x15e,-0x3f,-0x165)](),'sensitiveFilter':z[_0x4d40c0(-0x6c,0x39,0xbe,-0x4f)]()[_0x4d40c0(-0xc8,-0x185,-0x2bd,-0x272)]()})['passthrough']()[_0xf90728(0x3f,-0x5c,-0x3f,-0xfb)](),'index':z[_0x4d40c0(-0x159,-0xf3,-0x219,-0x48)]({'persisted':z['boolean']()['optional'](),'flushIntervalMs':z['number']()['optional']()})[_0xf90728(-0x241,0x14,-0x130,-0x15b)]()[_0x4d40c0(-0x1eb,-0x185,-0x156,-0xd1)](),'enabled':z[_0xf90728(0x99,0x5a,0x17f,0x187)]()[_0x4d40c0(-0x116,-0x185,-0x1e0,-0x84)](),'saveTool':z[_0x4d40c0(-0xa2,0x39,0x87,0x138)]()[_0xf90728(0x4d,0xc8,-0x3f,0x12)](),'model':z['string']()[_0xf90728(-0x12,0x114,-0x3f,-0x1af)](),'provider':z[_0x4d40c0(-0x11b,-0x11c,-0xc5,0x19)]()['optional'](),'maxInjectionTokens':z[_0xf90728(-0x1ed,-0x39,-0x163,-0x16b)]()[_0x4d40c0(-0x2d5,-0x185,-0x167,-0x175)](),'backgroundExtraction':z[_0x4d40c0(-0x66,0x39,-0x41,0x195)]()[_0x4d40c0(-0x6d,-0x185,-0x17c,-0x2c0)]()})['passthrough'](),recentModelSchema=z[_0x4d40c0(-0xa3,-0xf3,-0x1b5,-0x116)]({'provider':z['string'](),'model':z['string'](),'usedAt':z['number']()})['passthrough'](),lspServerEntrySchema=z[_0xf90728(0xa7,0x50,0x53,0x1af)]({'disabled':z[_0xf90728(0x183,0x14f,0x17f,0x23d)]()[_0xf90728(0x137,-0x3b,-0x3f,-0x152)](),'command':z['string']()[_0xf90728(-0x52,0x0,-0x3f,-0x1b7)](),'args':z['array'](z['string']())[_0xf90728(0x1a,-0xee,-0x3f,0x126)](),'rootMarkers':z[_0xf90728(0x2f,-0x140,-0x95,-0x69)](z[_0xf90728(0x3f,-0xca,0x2a,0x1f)]())['optional']()})[_0x4d40c0(-0x3be,-0x276,-0x331,-0x2f3)](),lspConfigSchema=z[_0xf90728(-0x76,0x53,0x53,-0xa1)]({'enabled':z[_0x4d40c0(-0x27,0x39,0x5,-0x2f)]()['optional'](),'servers':z[_0xf90728(-0x1ca,-0x254,-0xe8,-0x1fa)](z[_0xf90728(-0x45,0x7c,0x2a,0x150)](),lspServerEntrySchema)['optional']()})[_0xf90728(-0x21,-0x123,-0x130,-0x183)](),serverEndpointSchema=z[_0x4d40c0(-0x8c,-0xf3,-0x5c,-0xdb)]({'url':z[_0x4d40c0(-0x1cd,-0x11c,-0x11f,-0x22b)](),'token':z[_0xf90728(0x146,-0x8,0x2a,-0xd9)]()[_0xf90728(0x67,-0x72,-0x3f,-0x16b)]()})['passthrough'](),commandHookConfigSchema=z['object']({'type':z[_0x4d40c0(-0x1eb,-0x15f,-0xf8,-0x12f)](_0xf90728(-0xb2,0x62,-0x37,-0xab)),'command':z['string'](),'timeout':z['number']()['optional']()}),hookMatcherGroupSchema=z[_0x4d40c0(-0x109,-0xf3,-0x1d3,-0x184)]({'matcher':z['string']()[_0x4d40c0(-0x1c4,-0x185,-0x166,-0x1fb)](),'hooks':z[_0x4d40c0(-0xf7,-0x1db,-0x163,-0x246)](commandHookConfigSchema)}),hooksConfigSchema=z['object']({'PreToolUse':z[_0xf90728(-0x12,-0x1e2,-0x95,0xc2)](hookMatcherGroupSchema)['optional'](),'PostToolUse':z[_0x4d40c0(-0x2cc,-0x1db,-0x22a,-0x1fb)](hookMatcherGroupSchema)[_0xf90728(-0xb7,-0x142,-0x3f,-0xe1)](),'UserPromptSubmit':z[_0x4d40c0(-0x1b0,-0x1db,-0x231,-0x10b)](hookMatcherGroupSchema)[_0xf90728(-0x3,-0xd6,-0x3f,-0xa5)](),'Stop':z[_0x4d40c0(-0x1c0,-0x1db,-0x259,-0x134)](hookMatcherGroupSchema)[_0xf90728(0xa3,-0x9,-0x3f,-0x1b1)](),'Notification':z[_0xf90728(-0x37,-0xf,-0x95,-0x94)](hookMatcherGroupSchema)['optional'](),'ToolApprovalRequest':z[_0x4d40c0(-0x155,-0x1db,-0xf2,-0x2d0)](hookMatcherGroupSchema)[_0x4d40c0(-0x2bc,-0x185,-0x212,-0x1a6)](),'SessionStart':z['array'](hookMatcherGroupSchema)[_0x4d40c0(-0x1f2,-0x185,-0x2eb,-0x174)](),'SessionEnd':z[_0x4d40c0(-0x14f,-0x1db,-0x11d,-0x292)](hookMatcherGroupSchema)['optional']()}),cliConfigSchema=z[_0xf90728(-0xb2,0x1b8,0x53,0x199)]({'activeProvider':z[_0xf90728(0x32,0x4f,0x2a,-0xd7)]()[_0xf90728(0xa2,-0x15e,-0x3f,-0xba)](),'activeModel':z[_0xf90728(0x3e,-0xa2,0x2a,-0xaa)]()[_0xf90728(0x19,0x136,-0x3f,0x117)](),'apiKey':z[_0xf90728(-0xaf,-0x79,0x2a,-0x2b)]()['optional'](),'providers':z[_0xf90728(0x8,-0x24,-0xe8,-0x12e)](z['string'](),providerConfigSchema)['optional'](),'mcp':mcpSettingsSchema[_0xf90728(-0x26,-0x63,-0x3f,0x10c)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0xf90728(0x109,0x0,-0x3f,0x122)](),'commands':commandsSettingsSchema[_0x4d40c0(-0x231,-0x185,-0x262,-0x1e9)](),'skillsEnabled':z[_0x4d40c0(-0x330,-0x22e,-0x382,-0x2ba)](z[_0xf90728(-0x117,-0x9,0x2a,-0x10f)](),z[_0x4d40c0(0x10b,0x39,0x15e,0x174)]())[_0x4d40c0(-0x1f7,-0x185,-0x90,-0x100)](),'allowedDirs':z[_0xf90728(-0xd0,-0xf4,-0x95,-0x73)](z['string']())[_0x4d40c0(-0xf0,-0x185,-0x222,-0xf9)](),'mcpEnabled':prototypeSafeRecord(z[_0x4d40c0(0x8b,0x39,0x178,-0x12)]())[_0xf90728(-0x96,-0xeb,-0x3f,-0x152)](),'commandsEnabled':z[_0x4d40c0(-0x296,-0x22e,-0x346,-0x3a4)](z[_0x4d40c0(-0x1f3,-0x11c,-0x172,-0x63)](),z[_0xf90728(0x28b,0x199,0x17f,0x224)]())[_0x4d40c0(-0xc8,-0x185,-0x20e,-0x210)](),'memory':memorySettingsSchema['optional'](),'session':z[_0x4d40c0(-0x152,-0xf3,-0x14e,-0x73)]({'memPersist':z['boolean']()[_0x4d40c0(-0x148,-0x185,-0x2e0,-0xc9)](),'persistEventLog':z[_0x4d40c0(0x178,0x39,0x1a1,0x140)]()[_0xf90728(0x51,0x139,-0x3f,-0x13f)](),'persistHttpLog':z[_0xf90728(0x23a,0x15f,0x17f,0x4a)]()[_0x4d40c0(-0x189,-0x185,-0x50,-0x2e5)]()})['passthrough']()['optional'](),'requireToolApproval':z['boolean']()[_0x4d40c0(-0x88,-0x185,-0x16,-0x11f)](),'thinking':z['enum'](['OFF',_0x4d40c0(-0x239,-0x1e1,-0x281,-0x27e),_0xf90728(-0x2a,-0x62,0x3c,-0x105),_0xf90728(0x4b,0x149,0x56,-0xf4)])['optional'](),'streamingChunks':z[_0x4d40c0(0xfc,0x39,0x18,-0x1e)]()[_0x4d40c0(-0x2ef,-0x185,-0x16a,-0x32)](),'agentsEnabled':z['record'](z[_0xf90728(0x15e,-0xd7,0x2a,-0x37)](),z[_0xf90728(0x254,0x1d2,0x17f,0x291)]())['optional'](),'recentModels':z[_0x4d40c0(-0x196,-0x1db,-0x26b,-0xfd)](recentModelSchema)[_0x4d40c0(-0x14,-0x185,-0x51,-0xd)](),'lsp':lspConfigSchema[_0xf90728(0xe,0x84,-0x3f,0x121)](),'servers':z[_0x4d40c0(-0x1b0,-0x22e,-0x2c3,-0x224)](z[_0x4d40c0(-0x133,-0x11c,-0x200,-0xdc)](),serverEndpointSchema)[_0xf90728(-0x25,-0x61,-0x3f,-0x1b3)](),'ui':z[_0xf90728(0x6c,-0xaa,0x53,-0xab)]({'theme':uiThemeSettingsSchema[_0x4d40c0(-0x1a3,-0x185,-0x174,-0x168)](),'statusline':statuslineConfigSchema[_0xf90728(-0x83,-0xe8,-0x3f,-0x146)]()})[_0x4d40c0(-0x1fc,-0x276,-0x225,-0x2d9)]()['optional'](),'tools':z[_0x4d40c0(-0x2bb,-0x22e,-0x342,-0x32e)](z['string'](),z['unknown']())[_0x4d40c0(-0x123,-0x185,-0x2a6,-0x1b8)](),'hooks':hooksConfigSchema[_0x4d40c0(-0x18a,-0x185,-0x164,-0x16b)]()})['passthrough'](),workspaceOverlaySchema=z[_0xf90728(0x16c,0x116,0x53,-0xff)]({'root':z[_0xf90728(0xe,-0xf8,0x2a,-0x131)]()['optional'](),'allowedDirs':z['array'](z[_0xf90728(0xe0,-0x51,0x2a,0x2f)]())[_0x4d40c0(-0x29,-0x185,-0x2ef,-0x127)](),'activeProvider':z[_0x4d40c0(-0xf8,-0x11c,-0x95,-0x1bd)]()['optional'](),'activeModel':z[_0x4d40c0(-0x163,-0x11c,-0x10,-0x1a5)]()['optional'](),'mcp':mcpSettingsSchema[_0xf90728(0xcf,0x9f,-0x3f,-0x15a)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema[_0x4d40c0(-0x15d,-0x185,-0xb2,-0x12f)](),'hooks':hooksConfigSchema[_0x4d40c0(-0xc4,-0x185,-0x4d,-0x154)](),'memory':memorySettingsSchema[_0x4d40c0(-0x128,-0x185,-0x1c2,-0x1df)](),'mcpEnabled':prototypeSafeRecord(z[_0x4d40c0(0xae,0x39,-0xf7,-0xe0)]())[_0xf90728(0x70,-0x8b,-0x3f,-0x160)](),'skillsEnabled':z[_0xf90728(0x18,-0x61,-0xe8,-0x1ca)](z[_0x4d40c0(-0xe,-0x11c,-0x227,0x1)](),z[_0xf90728(0xaf,0x220,0x17f,0x194)]())['optional'](),'agentsEnabled':z[_0xf90728(-0x13d,-0x130,-0xe8,-0x230)](z['string'](),z['boolean']())[_0x4d40c0(-0x2b7,-0x185,-0x2b7,-0x1e5)](),'commandsEnabled':z[_0x4d40c0(-0x250,-0x22e,-0x32c,-0x109)](z['string'](),z[_0xf90728(0x50,0x1e4,0x17f,0x74)]())[_0xf90728(-0x6b,-0x73,-0x3f,-0x17a)]()})[_0x4d40c0(-0x156,-0x276,-0x3aa,-0x3c3)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object['getOwnPropertyNames'](Object[_0xf90728(0x10c,-0x20,0x98,-0x3a)]),_0x4d40c0(-0xcc,-0xae,-0x1a9,0x62)]);function buildDescription(_0x5344cb){const _0x2ee986={_0x351284:0xe1,_0xe201ba:0x90,_0x3c2151:0x9d,_0x2f3dd5:0xc6,_0xc17c9f:0xc6,_0x2aaf11:0x1b8,_0x4de339:0xb8,_0x493971:0x161,_0x39725b:0x11e,_0x2f93c8:0x97,_0x4282ba:0xa,_0x490569:0xcf,_0xec033c:0xa7,_0x501534:0x97,_0x1b71f4:0xb0},_0x5951e1={_0x2fc773:0x102,_0x44cfa9:0x53},_0x36f607={_0x449d94:0xb4};if(_0x5344cb[_0x5d677a(0x1c,-0x35,-0x191,-0xc1)]===0x0)return[_0x5d677a(-0x197,-0x129,-_0x2ee986._0x351284,0x20),_0x5d677a(0xbb,-_0x2ee986._0xe201ba,_0x2ee986._0x3c2151,_0x2ee986._0x2f3dd5),'No\x20commands\x20are\x20currently\x20available.'][_0xd4d0a3(0x78,_0x2ee986._0xc17c9f,_0x2ee986._0x2aaf11,-_0x2ee986._0x4de339)]('\x0a');function _0x5d677a(_0x5b511d,_0x564b05,_0x36e51d,_0x4735eb){return _0xf90728(_0x36e51d,_0x564b05-_0x36f607._0x449d94,_0x564b05- -0xbb,_0x4735eb-0x1be);}function _0xd4d0a3(_0x44b67d,_0x4c5d9a,_0x5590a8,_0x141041){return _0x4d40c0(_0x44b67d-_0x5951e1._0x2fc773,_0x44b67d-_0x5951e1._0x44cfa9,_0x5590a8-0x51,_0x4c5d9a);}const _0x2d1066=[_0xd4d0a3(-_0x2ee986._0x493971,-_0x2ee986._0x39725b,-0x25,-0x84),_0x5d677a(-_0x2ee986._0x2f93c8,-_0x2ee986._0xe201ba,-0x1ad,-0x3d),_0x5d677a(_0x2ee986._0x4282ba,-_0x2ee986._0x490569,0x4f,_0x2ee986._0xec033c),..._0x5344cb[_0x5d677a(0x166,_0x2ee986._0x501534,0x6,0x1ff)](_0x1da582=>_0x1da582[_0x5d677a(-0x44,-0xc,-0xc7,-0x3e)]?'-\x20'+_0x1da582[_0x5d677a(-0x151,-0x17c,-0x113,-0x293)]+'\x20'+_0x1da582['argumentHint']+':\x20'+_0x1da582['description']:'-\x20'+_0x1da582[_0x5d677a(-0x22a,-0x17c,-0xfa,-0x107)]+':\x20'+_0x1da582[_0xd4d0a3(-0x157,0x17,-0x1e8,-0x270)])];return _0x2d1066[_0x5d677a(0x13e,_0x2ee986._0x1b71f4,-0xb5,0x1b3)]('\x0a');}function createInvokeCommandTool(_0xc28d7b){const _0x19777d={_0x333290:0x219,_0x34ef93:0x461,_0x10bd49:0x339,_0x42c8e2:0x2f5,_0x3d6bbb:0x239,_0x1a74cc:0x70,_0x50b993:0x1da,_0x199c14:0x85,_0xf8f6:0x37f,_0x35c26d:0x4d2,_0x328c7a:0x11c},_0x1f5401={_0xe11c33:0x211,_0x50254d:0x39d,_0x38e472:0x319,_0x32f861:0x2f1,_0x1bbe9c:0x277,_0x2bf98b:0x3aa,_0x2124ed:0x440,_0x167c87:0x2f9,_0x59691c:0x3f4,_0x1896d4:0x4ff,_0x100b97:0x81,_0x2f24b2:0x2ef,_0x58f9c7:0x2fb,_0x11b3ef:0x37c,_0x247f83:0x1c0,_0x1d4690:0x31c,_0x822729:0x40d,_0x3d53d9:0x3b6,_0x305d64:0x1da,_0x189325:0x427,_0x3e7eec:0x562,_0x24b118:0x325,_0x383cf7:0x473,_0xfb7ac6:0x462,_0x5bc3e2:0x237,_0x2130aa:0x1e8,_0x599b2d:0x38d,_0x2e056f:0x3f6,_0x3157dd:0x31f},_0x18924f={_0x2c8712:0xee},_0x2cf898={_0x106085:0x1dd,_0x1ff845:0xe3},_0x3ba409={_0xa58ee8:0x114,_0x22fad9:0x4e9};function _0x47c748(_0x31cf32,_0x1d0564,_0x205b04,_0x508725){return _0x4d40c0(_0x31cf32-_0x3ba409._0xa58ee8,_0x205b04-_0x3ba409._0x22fad9,_0x205b04-0x1f2,_0x31cf32);}const _0x3f1a70=new Map(_0xc28d7b[_0x47c748(_0x19777d._0x333290,_0x19777d._0x34ef93,_0x19777d._0x10bd49,0x401)][_0x8247f(_0x19777d._0x42c8e2,0x22e,_0x19777d._0x3d6bbb,0x212)](_0x5f3903=>[_0x5f3903['id'],_0x5f3903]));function _0x8247f(_0x4d3120,_0x58c9d3,_0x1905b5,_0x57f67a){return _0x4d40c0(_0x4d3120-_0x2cf898._0x106085,_0x57f67a-0x206,_0x1905b5-_0x2cf898._0x1ff845,_0x1905b5);}const _0x273d71=buildDescription(_0xc28d7b[_0x8247f(-_0x19777d._0x1a74cc,0xd1,0x180,0x56)]);return defineTool({'name':_0x8247f(0x18c,0x1b9,0x75,0xdd),'description':_0x273d71,'inputSchema':{'type':_0x8247f(0xa2,_0x19777d._0x50b993,0x126,0x113),'properties':{'name':{'type':_0x8247f(-_0x19777d._0x199c14,-0x37,0x1b6,0xea)},'args':{'type':_0x47c748(0x27c,_0x19777d._0xf8f6,0x3cd,_0x19777d._0x35c26d)}},'required':[_0x8247f(0x47,0xa8,_0x19777d._0x328c7a,-0x1)]},async *'execute'(_0x5e3354){const _0x2277a0={_0x34f377:0x1e0,_0x3efad0:0x28d},_0x4dc0b3=_0x3f1a70[_0x9f55f4(-0x1af,-0x86,-0x132,-_0x1f5401._0xe11c33)](_0x5e3354[_0x47fb46(0x2a1,0x362,_0x1f5401._0x50254d,0x2fb)]);if(!_0x4dc0b3){const _0x41d96d=Array[_0x9f55f4(-_0x1f5401._0x38e472,-_0x1f5401._0x32f861,-_0x1f5401._0x1bbe9c,-_0x1f5401._0x2bf98b)](_0x3f1a70[_0x9f55f4(-0x260,-_0x1f5401._0x2124ed,-_0x1f5401._0x167c87,-0x199)]())[_0x47fb46(_0x1f5401._0x59691c,0x67d,_0x1f5401._0x1896d4,0x527)](',\x20');throw new ToolExecutionError(_0x9f55f4(-0x76,-0x2dc,-0x16c,-_0x1f5401._0x100b97)+_0x5e3354[_0x47fb46(0x3a4,_0x1f5401._0x2f24b2,0x34e,_0x1f5401._0x58f9c7)]+_0x47fb46(_0x1f5401._0x11b3ef,0x261,_0x1f5401._0x247f83,_0x1f5401._0x1d4690)+_0x41d96d,{'name':_0x5e3354[_0x47fb46(0x3e9,_0x1f5401._0x822729,_0x1f5401._0x3d53d9,_0x1f5401._0x58f9c7)]});}function _0x47fb46(_0x5a7f5e,_0x2cdd4f,_0x4dc886,_0x591383){return _0x47c748(_0x4dc886,_0x2cdd4f-_0x18924f._0x2c8712,_0x591383-0x19,_0x591383-0x90);}function _0x9f55f4(_0x38edf9,_0x33cfb1,_0x3c9af1,_0x57850a){return _0x8247f(_0x38edf9-_0x2277a0._0x34f377,_0x33cfb1-0xca,_0x38edf9,_0x3c9af1- -_0x2277a0._0x3efad0);}const _0x3152fd=await _0xc28d7b[_0x9f55f4(-_0x1f5401._0x305d64,0x1f,-0x145,-0x31)](_0x4dc0b3),_0x4f692a=_0x5e3354['args']??'',_0x7eb55c=renderCommandInstructions({'instructions':_0x3152fd[_0x47fb46(_0x1f5401._0x189325,_0x1f5401._0x3e7eec,_0x1f5401._0x24b118,_0x1f5401._0x383cf7)],'argumentsText':_0x4f692a,'argumentNames':_0x3152fd['arguments']});return yield createToolOutput(_0x7eb55c,{'id':_0x3152fd['id'],'name':_0x3152fd[_0x47fb46(_0x1f5401._0xfb7ac6,_0x1f5401._0x5bc3e2,_0x1f5401._0x2130aa,0x2fb)],'path':_0x4dc0b3['source'][_0x47fb46(_0x1f5401._0x599b2d,0x250,_0x1f5401._0x2e056f,_0x1f5401._0x3157dd)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x1cf2dc,rename as _0x382651,stat as _0xf15680,writeFile as _0x32c25c}from'fs/promises';import*as _0x4c2644 from'path';function detectEol(_0x13ef73){const _0x413a78={_0x263789:0x57,_0x3aff9f:0x1cc,_0x3f9937:0xea,_0x1fed38:0x19,_0x31bdc8:0x1a9,_0x4cb5ee:0x1b9,_0x57d1c7:0x1ba},_0x2fcded={_0x470367:0x1ba,_0xdb1e28:0x131},_0x1a791e={_0x3af6d1:0x1c5,_0x3d9d65:0x18b};function _0x4e8273(_0x75aa20,_0x20be37,_0x38503a,_0x3ff332){return _0x4d40c0(_0x75aa20-_0x1a791e._0x3af6d1,_0x20be37-0x115,_0x38503a-_0x1a791e._0x3d9d65,_0x75aa20);}function _0x504698(_0x28926b,_0x45408c,_0x201859,_0x516938){return _0x4d40c0(_0x28926b-_0x2fcded._0x470367,_0x201859-0x532,_0x201859-_0x2fcded._0xdb1e28,_0x45408c);}return/\r\n/[_0x4e8273(-0x5,-_0x413a78._0x263789,-_0x413a78._0x3aff9f,-0x141)](_0x13ef73[_0x4e8273(-0x182,-0x6a,0x103,_0x413a78._0x3f9937)](_0x4e8273(-_0x413a78._0x1fed38,0x140,0x2b0,_0x413a78._0x31bdc8)))?_0x4e8273(_0x413a78._0x4cb5ee,0xac,0x1b9,_0x413a78._0x57d1c7):'lf';}function normalizeToLf(_0x1fe09e){return _0x1fe09e['replace'](/\r\n/g,'\x0a');}function convertEol(_0xccddfa,_0x32ba78){const _0x5de917={_0x1ef833:0x6ed},_0x1867ec={_0x5c1a25:0x66f,_0x1603c3:0x14};function _0x32d731(_0x1ab05b,_0x1f5310,_0x1a1798,_0x443e88){return _0x4d40c0(_0x1ab05b-0x19f,_0x443e88-_0x1867ec._0x5c1a25,_0x1a1798-_0x1867ec._0x1603c3,_0x1f5310);}return _0x32ba78===_0x32d731(0x55f,0x753,_0x5de917._0x1ef833,0x606)?_0xccddfa['replace'](/\n/g,'\x0d\x0a'):_0xccddfa;}async function atomicWrite(_0x23787a,_0x3ef0ef){const _0x41c705={_0xa29ee3:0x7fb,_0x566d85:0x693,_0x198e6c:0x589,_0x36603e:0x63,_0x43c5f4:0x19,_0x147930:0xfb,_0x370a9c:0x6f,_0x2dd0b0:0x529,_0x5935ae:0x64c,_0x4026f0:0x5f7,_0xa1238a:0x66f,_0x1f2f45:0x51d,_0x58739f:0x9c,_0x5cff74:0x2f,_0x2435f2:0x1f0},_0x562ead={_0x1ca3e6:0x9f,_0x57366d:0xeb},_0x209428={_0x2095e0:0x11b},_0x5a415a=_0x4c2644[_0x3e6eb0(_0x41c705._0xa29ee3,_0x41c705._0x566d85,_0x41c705._0x198e6c,0x667)](_0x23787a),_0x1cb8c9=_0x4c2644['join'](_0x5a415a,_0x42406d(-0x6d,_0x41c705._0x36603e,0xec,-_0x41c705._0x43c5f4)+_0x4c2644[_0x42406d(0x44,_0x41c705._0x147930,-_0x41c705._0x370a9c,0x109)](_0x23787a)+'.'+Date[_0x3e6eb0(_0x41c705._0x2dd0b0,0x659,0x707,_0x41c705._0x5935ae)]()+'.'+Math[_0x3e6eb0(_0x41c705._0x4026f0,_0x41c705._0xa1238a,_0x41c705._0x1f2f45,0x6c9)]()[_0x42406d(_0x41c705._0x58739f,-_0x41c705._0x5cff74,_0x41c705._0x2435f2,0xc6)](0x24)['slice'](0x2));await _0x32c25c(_0x1cb8c9,_0x3ef0ef);function _0x3e6eb0(_0x148310,_0x5d05ae,_0x50edea,_0x5dcbd9){return _0x4d40c0(_0x148310-_0x209428._0x2095e0,_0x5d05ae-0x67a,_0x50edea-0xa3,_0x50edea);}function _0x42406d(_0x574a91,_0x2f9a45,_0x217bc1,_0x3c8de8){return _0x4d40c0(_0x574a91-_0x562ead._0x1ca3e6,_0x574a91-0x21b,_0x217bc1-_0x562ead._0x57366d,_0x2f9a45);}await _0x382651(_0x1cb8c9,_0x23787a);}function sha256(_0x1a97a6){const _0x4978b2={_0x37a97b:0x241,_0x572fc3:0x11c,_0x3d7f0a:0x1a4,_0x41712b:0x153},_0xfa6398={_0x351749:0xbe},_0x1b26ed={_0x31f869:0x149};function _0x3a1caf(_0x53b471,_0x79fe1b,_0x25c0c5,_0xf059c4){return _0x4d40c0(_0x53b471-_0x1b26ed._0x31f869,_0x53b471-0x3e1,_0x25c0c5-0x19c,_0xf059c4);}function _0x4a18f0(_0x2afe57,_0x5aac32,_0xd83dce,_0x54113f){return _0xf90728(_0x5aac32,_0x5aac32-_0xfa6398._0x351749,_0xd83dce- -0xf,_0x54113f-0x1ec);}return createHash('sha256')[_0x3a1caf(_0x4978b2._0x37a97b,0x37c,0xec,_0x4978b2._0x572fc3)](_0x1a97a6)['digest'](_0x3a1caf(0x26f,_0x4978b2._0x3d7f0a,_0x4978b2._0x41712b,0x10e));}function countLines(_0x395b33){const _0x2c4856={_0x5c16e5:0xe5,_0x60f3ac:0xae,_0x56aa2b:0x6,_0x18bac9:0x3d1,_0x5ac483:0x278,_0xf79fa3:0x2b,_0x118e9a:0x49},_0x372a74={_0x7ae598:0x31f},_0x15ea4a={_0x943138:0x1bb,_0x3bbd07:0x53};function _0x5b0d38(_0x3b0c1a,_0x18bb7b,_0x4d1385,_0x159dd1){return _0x4d40c0(_0x3b0c1a-_0x15ea4a._0x943138,_0x4d1385-0x1f1,_0x4d1385-_0x15ea4a._0x3bbd07,_0x159dd1);}const _0x447c8c=_0x395b33[_0x5b0d38(-_0x2c4856._0x5c16e5,-_0x2c4856._0x60f3ac,-0x2c,-_0x2c4856._0x56aa2b)](/\n$/,'');function _0xe055dd(_0x1792af,_0x242900,_0x406c70,_0x26159b){return _0x4d40c0(_0x1792af-0x1c4,_0x26159b-_0x372a74._0x7ae598,_0x406c70-0xeb,_0x406c70);}return _0x447c8c['length']===0x0?0x0:_0x447c8c[_0xe055dd(0x1ab,_0x2c4856._0x18bac9,_0x2c4856._0x5ac483,0x28a)]('\x0a')[_0x5b0d38(0x117,-_0x2c4856._0xf79fa3,0x131,_0x2c4856._0x118e9a)];}function calculateLineNumbers(_0x24679f,_0x4a73a3,_0xe8e751,_0x4a0c01){const _0x478039={_0x54f340:0x412,_0x573339:0x4cc,_0x5ccb49:0x3aa},_0x525a6f={_0x3b1dc9:0x1b4},_0x16bebe=_0x24679f[_0x20a96d(_0x478039._0x54f340,_0x478039._0x573339,_0x478039._0x5ccb49,0x30a)](0x0,_0x4a0c01)['split']('\x0a')['length'];function _0x20a96d(_0x393093,_0x233afb,_0x5a6ff7,_0x5dacd5){return _0xf90728(_0x233afb,_0x233afb-_0x525a6f._0x3b1dc9,_0x393093-0x477,_0x5dacd5-0x134);}const _0x1fe2ce=countLines(_0x4a73a3),_0x46e2ba=countLines(_0xe8e751);return{'oldStartLine':_0x16bebe,'oldEndLine':_0x16bebe+_0x1fe2ce-0x1,'newStartLine':_0x16bebe,'newEndLine':_0x16bebe+_0x46e2ba-0x1,'oldLineCount':_0x1fe2ce,'newLineCount':_0x46e2ba};}function createFileEditTool(_0x54f871={}){const _0x3055d5={_0xefdf7c:0xf5,_0x1cfb27:0xdf,_0x318557:0x88,_0x688588:0xb9,_0x28842b:0x5a,_0x43245a:0x14,_0x5188f5:0x1b9,_0x4d9e56:0xd7,_0x55585f:0x32b,_0x615621:0x1f3,_0x5ab5b:0x30c,_0x460755:0x141,_0x215c1f:0x2db,_0x3af28a:0x28a,_0x526e23:0x2cf,_0xa241a1:0x81,_0x18cdb0:0x147,_0x2606be:0x1ef,_0x2b0111:0x21,_0x2e9724:0x2f,_0x522c72:0x90,_0x13085c:0x3c,_0x19c790:0x151,_0x2a0ecd:0x32,_0x5e8f67:0x5f,_0x102d8d:0x13e,_0x39bfe8:0xa6,_0x351e21:0x1,_0x1ed95a:0x17,_0x190d5f:0x218,_0x2663f9:0x14a},_0x27e9bf={_0x2d9e65:0xc1,_0x52588:0x265,_0x1d14e4:0x387,_0x9ab66:0x119,_0x9377d0:0x190,_0x4fced3:0x2b7,_0x51695b:0x3c3,_0x50eb79:0x268,_0x249aeb:0x1f1,_0x2f7e75:0x117,_0x3dd766:0x4b,_0x99a8d2:0x288,_0x4adbb1:0x132,_0x1275de:0x9c,_0x4400f9:0xec,_0x3fcfc0:0x1d,_0xf4f507:0xfc,_0x31c770:0x340,_0x1c6af3:0x15b,_0x5c75f4:0xc4,_0x4a36de:0x225,_0x3d20ab:0x140,_0x192f67:0x1f,_0x5475b7:0x7f,_0x425f9b:0x19b,_0x276d30:0x141,_0x1ffb1a:0x25e,_0x20cd8a:0x163,_0x28c2da:0x19f,_0x55cc21:0x154,_0x32f3af:0x56,_0x283e2a:0x13,_0x12bc7c:0x30,_0x4ce557:0x111,_0x4331f5:0x78,_0x3518e0:0x8a,_0x433a67:0xab,_0x1ff8cc:0x218,_0x579c3e:0xf5,_0xc55b46:0x11,_0x280eb1:0x4d,_0x1537d6:0x14},_0x3f5b21={_0x11ad4d:0x8},_0x5bbb22={_0x2d040e:0x22},_0x542bf1=_0x4c2644[_0x34049e(-_0x3055d5._0xefdf7c,-0x1bf,-_0x3055d5._0x1cfb27,-_0x3055d5._0x318557)](_0x54f871[_0x34049e(-0x13c,_0x3055d5._0x688588,0x107,-_0x3055d5._0x28842b)]??process[_0x34049e(0x141,-_0x3055d5._0x43245a,_0x3055d5._0x5188f5,0x58)]());function _0x4ec622(_0x35104d,_0x55aff9,_0x2caff7,_0x3d2efb){return _0x4d40c0(_0x35104d-0xe7,_0x3d2efb- -_0x5bbb22._0x2d040e,_0x2caff7-0xc3,_0x35104d);}const _0x3d765d=_0x54f871[_0x4ec622(-0x1ad,-0x218,-0x8b,-_0x3055d5._0x4d9e56)]??[];function _0x34049e(_0x3ec109,_0x157cba,_0x54c67b,_0x5628d4){return _0xf90728(_0x157cba,_0x157cba-0x54,_0x5628d4-_0x3f5b21._0x11ad4d,_0x5628d4-0x1a1);}const _0x294257=_0x54f871[_0x4ec622(-0x226,-_0x3055d5._0x55585f,-_0x3055d5._0x615621,-0x229)]??_0x4ec622(-_0x3055d5._0x5ab5b,-_0x3055d5._0x460755,-_0x3055d5._0x215c1f,-_0x3055d5._0x3af28a);return defineTool({'name':_0x294257,'description':_0x4ec622(-0x2ce,-0x345,-_0x3055d5._0x526e23,-0x265),'inputSchema':{'type':'object','properties':{'filePath':{'type':'string'},'description':{'type':_0x34049e(-_0x3055d5._0xa241a1,-0xe2,_0x3055d5._0x18cdb0,0x32),'description':_0x4ec622(-_0x3055d5._0x2606be,_0x3055d5._0x2b0111,-_0x3055d5._0x2e9724,-_0x3055d5._0x522c72)},'oldText':{'type':_0x34049e(-_0x3055d5._0x13085c,_0x3055d5._0x19c790,0x108,_0x3055d5._0x2a0ecd)},'newText':{'type':_0x4ec622(-_0x3055d5._0x5e8f67,-0x1cf,-0x192,-_0x3055d5._0x102d8d)},'dryRun':{'type':_0x4ec622(-_0x3055d5._0x39bfe8,-_0x3055d5._0x351e21,0x39,_0x3055d5._0x1ed95a)}},'required':['filePath',_0x34049e(-0x1ad,-_0x3055d5._0x190d5f,-0x285,-_0x3055d5._0x2663f9),'newText']},async *'execute'(_0x455193){const _0x5af2cb={_0x40d83c:0x31},_0x284d68=resolveAllowedPath(_0x542bf1,_0x3d765d,_0x455193[_0x1b9192(-0x1d,-0x86,_0x27e9bf._0x2d9e65,0xbe)]);await assertWorkspaceFile(_0x284d68);const _0x3befc0=await _0xf15680(_0x284d68),_0x35425a=await _0x1cf2dc(_0x284d68),_0xdc0c1=detectEol(_0x35425a),_0x28f278=normalizeToLf(_0x35425a[_0x1b9192(-0x10c,0x2a,-0x1cf,-_0x27e9bf._0x52588)]('utf8')),_0x3e2430=normalizeToLf(_0x455193[_0x1b9192(-0x225,-_0x27e9bf._0x1d14e4,-_0x27e9bf._0x9ab66,-_0x27e9bf._0x9377d0)]),_0x531d73=normalizeToLf(_0x455193[_0x4fac74(-_0x27e9bf._0x4fced3,-_0x27e9bf._0x51695b,-_0x27e9bf._0x50eb79,-0x182)]),_0x2c9d10=_0x28f278[_0x4fac74(-0x357,-0x1e3,-0x29f,-0x28c)](_0x3e2430);if(_0x2c9d10===-0x1){const _0x22dc3e=_0x3e2430[_0x1b9192(-0x138,-_0x27e9bf._0x249aeb,-_0x27e9bf._0x2f7e75,-0xf4)](0x0,0x64)[_0x1b9192(-0x1aa,-_0x27e9bf._0x3dd766,-0x103,-0xac)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x4fac74(-_0x27e9bf._0x99a8d2,-_0x27e9bf._0x4adbb1,-0x23d,-0xe4)+_0x22dc3e+(_0x3e2430['length']>0x64?_0x4fac74(-_0x27e9bf._0x1275de,-0x87,-_0x27e9bf._0x4400f9,-0x153):'')+'\x22',{'filePath':_0x455193[_0x1b9192(-_0x27e9bf._0x3fcfc0,-0x4d,-_0x27e9bf._0xf4f507,0xe5)]});}const _0x5ad2a4=_0x28f278[_0x4fac74(-_0x27e9bf._0x31c770,-0x1e5,-0x1e0,-0x25f)](0x0,_0x2c9d10)+_0x531d73+_0x28f278[_0x4fac74(-0x73,-0x9e,-0x1e0,-0xd8)](_0x2c9d10+_0x3e2430[_0x4fac74(-_0x27e9bf._0x1c6af3,-0x3,-0xf5,-0x97)]),_0x2614c5=convertEol(_0x5ad2a4,_0xdc0c1);function _0x1b9192(_0x1bb0b8,_0x4c204e,_0x5b69f9,_0x26fd5a){return _0x4ec622(_0x5b69f9,_0x4c204e-0x183,_0x5b69f9-0x1c5,_0x1bb0b8-0x95);}const _0x25980a=Buffer[_0x4fac74(-0x1c3,-_0x27e9bf._0x5c75f4,-_0x27e9bf._0x4a36de,-_0x27e9bf._0x3d20ab)](_0x2614c5,'utf8'),_0x5ab483=sha256(_0x35425a);function _0x4fac74(_0x4f0f88,_0x37f804,_0x4923d4,_0x1ea6ed){return _0x4ec622(_0x1ea6ed,_0x37f804-_0x5af2cb._0x40d83c,_0x4923d4-0x89,_0x4923d4- -0x13);}const _0x4c718f=sha256(_0x25980a),_0x100734=_0x5ab483===_0x4c718f,_0x76614b=_0x455193['dryRun']??![];return!_0x76614b&&!_0x100734&&await atomicWrite(_0x284d68,_0x25980a),yield createToolOutput(_0x100734?_0x1b9192(-0xa6,-0x1b7,-_0x27e9bf._0x192f67,0xc3):_0x76614b?_0x1b9192(-_0x27e9bf._0x5475b7,-_0x27e9bf._0x425f9b,-_0x27e9bf._0x276d30,0x40):_0x1b9192(-0x1fd,-_0x27e9bf._0x1ffb1a,-0xb6,-0x35d),{'filePath':_0x455193[_0x4fac74(-_0x27e9bf._0x20cd8a,-0x8f,-0xc5,-_0x27e9bf._0x28c2da)],'resolvedPath':_0x284d68,'created':_0x3befc0[_0x1b9192(0xae,0x205,_0x27e9bf._0x55cc21,-_0x27e9bf._0x32f3af)][_0x4fac74(-_0x27e9bf._0x283e2a,0xdc,-_0x27e9bf._0x12bc7c,-_0x27e9bf._0x4ce557)](),'modified':_0x3befc0['mtime'][_0x1b9192(_0x27e9bf._0x4331f5,_0x27e9bf._0x5475b7,0xe6,0xc0)](),'size':_0x3befc0[_0x4fac74(-0x17f,_0x27e9bf._0x3518e0,-_0x27e9bf._0x433a67,-0x15)],'eol':_0xdc0c1,'oldTextLength':_0x3e2430[_0x4fac74(-_0x27e9bf._0x1ff8cc,-0x218,-_0x27e9bf._0x579c3e,0x45)],'newTextLength':_0x531d73[_0x1b9192(-0x4d,-0x5,_0x27e9bf._0xc55b46,0xcc)],'bytesWritten':_0x100734||_0x76614b?0x0:_0x25980a[_0x1b9192(-_0x27e9bf._0x280eb1,-0x159,-0xba,_0x27e9bf._0x1537d6)],'beforeSha':_0x5ab483,'afterSha':_0x4c718f,'dryRun':_0x76614b,'noChange':_0x100734,'lineNumbers':calculateLineNumbers(_0x28f278,_0x3e2430,_0x531d73,_0x2c9d10)}),void 0x0;}});}import{mkdir as _0x1e612f,rename as _0x4a2c1c,stat as _0x2da250,writeFile as _0x3851bd}from'fs/promises';import*as _0xd7a308 from'path';async function atomicWrite2(_0x21294f,_0x184386){const _0x12b75f={_0x3244ee:0x3cf,_0x237a71:0x3d9,_0x31375:0x139,_0xd43cfd:0xd8,_0x4fcd71:0x4,_0x5ee1ff:0x33f,_0x3eed2d:0x295,_0x272975:0x1e1,_0x4b9404:0x1ff},_0x1dcd5d={_0x2cd175:0x157,_0x1fb549:0x3aa},_0x4b4c3b={_0x2c09cc:0x1c8},_0x5a8329=_0xd7a308['dirname'](_0x21294f);await _0x1e612f(_0x5a8329,{'recursive':!![]});const _0x268b52=_0xd7a308[_0x280ed8(_0x12b75f._0x3244ee,_0x12b75f._0x237a71,0x294,0x389)](_0x5a8329,_0x5255f4(_0x12b75f._0x31375,-0xb,_0x12b75f._0xd43cfd,-_0x12b75f._0x4fcd71)+_0xd7a308['basename'](_0x21294f)+'.'+Date[_0x5255f4(0x28f,0x474,_0x12b75f._0x5ee1ff,_0x12b75f._0x3eed2d)]()+'.'+Math['random']()[_0x280ed8(0x22b,0x398,_0x12b75f._0x272975,0x1b4)](0x24)[_0x280ed8(_0x12b75f._0x4b9404,0x15f,0x156,0x9f)](0x2));function _0x5255f4(_0x915e0e,_0xd36363,_0x123d25,_0x2c5a8d){return _0xf90728(_0x2c5a8d,_0xd36363-_0x4b4c3b._0x2c09cc,_0x123d25-0x21a,_0x2c5a8d-0x12f);}await _0x3851bd(_0x268b52,_0x184386);function _0x280ed8(_0x22f37e,_0x37af36,_0x49a934,_0x5485b2){return _0x4d40c0(_0x22f37e-_0x1dcd5d._0x2cd175,_0x22f37e-_0x1dcd5d._0x1fb549,_0x49a934-0x147,_0x37af36);}await _0x4a2c1c(_0x268b52,_0x21294f);}function createFileNewTool(_0x35d6ee={}){const _0x5f932f={_0x4f42bd:0x382,_0x99c0f5:0x23f,_0x270342:0x359,_0x54dce2:0x407,_0x460388:0x38c,_0x4149a9:0x37c,_0x5eaa15:0x517,_0x2cc213:0x41f,_0x57dd34:0x514,_0x264e8e:0x576,_0x1aefcc:0x42f,_0x3dadd0:0x2a3,_0x49f86d:0x40e,_0x33bf3e:0x2a5,_0x50de2e:0x48d,_0x59442a:0x3e5,_0x4714ed:0x4b4,_0x58b89a:0x4c7,_0x51007a:0x284,_0x2fcc1e:0x46d,_0x2cffe3:0x306,_0x19ca6c:0x3d6},_0x5e1324={_0x20710f:0x51b,_0x1abca4:0x499,_0x13c7a1:0x324,_0x40629c:0x533,_0x3cc59f:0x451,_0xe20ee9:0x22f,_0x20bc6a:0x2fa,_0x3030a4:0x462,_0xa83727:0x2f6,_0x1ff054:0x373,_0x322962:0x339,_0x47abe7:0x507,_0x2bccee:0x4f9,_0x398d6f:0x554,_0x1e62de:0x375,_0x21f182:0x284,_0x1c20f7:0x24b,_0xf08a23:0x587,_0xa639e5:0x4c5,_0x353d5d:0x43b,_0x4d1807:0x511,_0x1b848e:0x418,_0x4047e1:0x4db,_0xe8a1f6:0x42a,_0x54707f:0x4b7,_0x2761af:0x57a,_0x331e9c:0x5b0,_0x11699e:0x5d0,_0x41f047:0x592},_0x60a11={_0x1b1170:0x55,_0x558aae:0x4fd,_0x160b1d:0x1bf},_0xfc457={_0x516801:0x3bb},_0x1849c4=_0xd7a308['resolve'](_0x35d6ee[_0x31c6f7(0x49a,_0x5f932f._0x4f42bd,_0x5f932f._0x99c0f5,_0x5f932f._0x270342)]??process[_0x2dbea4(_0x5f932f._0x54dce2,0x294,0x366,_0x5f932f._0x460388)]()),_0x5c1277=_0x35d6ee[_0x31c6f7(_0x5f932f._0x4149a9,_0x5f932f._0x5eaa15,_0x5f932f._0x2cc213,0x44c)]??[];function _0x31c6f7(_0x116c0e,_0x4fb389,_0x1402b0,_0x525807){return _0xf90728(_0x1402b0,_0x4fb389-0x1d0,_0x525807-_0xfc457._0x516801,_0x525807-0xf9);}const _0x283320=_0x35d6ee['name']??'FileNew';function _0x2dbea4(_0x310e25,_0x5e8f69,_0x367848,_0x4c5e30){return _0x4d40c0(_0x310e25-_0x60a11._0x1b1170,_0x310e25-_0x60a11._0x558aae,_0x367848-_0x60a11._0x160b1d,_0x5e8f69);}return defineTool({'name':_0x283320,'description':_0x31c6f7(0x50d,0x5de,0x43c,_0x5f932f._0x57dd34),'inputSchema':{'type':_0x31c6f7(_0x5f932f._0x264e8e,_0x5f932f._0x1aefcc,_0x5f932f._0x3dadd0,_0x5f932f._0x49f86d),'properties':{'filePath':{'type':_0x31c6f7(_0x5f932f._0x33bf3e,0x519,_0x5f932f._0x50de2e,_0x5f932f._0x59442a)},'content':{'type':_0x31c6f7(_0x5f932f._0x4714ed,_0x5f932f._0x58b89a,_0x5f932f._0x51007a,0x3e5)}},'required':[_0x2dbea4(_0x5f932f._0x2fcc1e,_0x5f932f._0x2cffe3,0x37f,_0x5f932f._0x19ca6c),'content']},async *'execute'(_0x34fb3c){const _0x5d83b7={_0x2df73e:0x6e,_0x4b982e:0xca,_0x527ad4:0x6f},_0x4e7abe={_0x5cceca:0x21},_0x4072a7=resolveAllowedPath(_0x1849c4,_0x5c1277,_0x34fb3c[_0xdfa01c(_0x5e1324._0x20710f,0x3b9,0x4b3,_0x5e1324._0x1abca4)]),_0x4efbe=await _0x2da250(_0x4072a7)[_0x1bba22(_0x5e1324._0x13c7a1,_0x5e1324._0x40629c,0x3b4,_0x5e1324._0x3cc59f)](()=>!![])[_0x1bba22(_0x5e1324._0xe20ee9,_0x5e1324._0x20bc6a,_0x5e1324._0x3030a4,_0x5e1324._0xa83727)](()=>![]);function _0xdfa01c(_0x1146e5,_0x307de1,_0xd269b3,_0x235375){return _0x31c6f7(_0x1146e5-_0x4e7abe._0x5cceca,_0x307de1-0x8b,_0x1146e5,_0x235375-0x28);}function _0x1bba22(_0x5b9b68,_0x23be02,_0x4ad5b8,_0x339ce5){return _0x2dbea4(_0x339ce5-_0x5d83b7._0x2df73e,_0x23be02,_0x4ad5b8-_0x5d83b7._0x4b982e,_0x339ce5-_0x5d83b7._0x527ad4);}const _0x5b123d=Buffer[_0xdfa01c(0x2d6,_0x5e1324._0x1ff054,0x445,_0x5e1324._0x322962)](_0x34fb3c[_0x1bba22(0x637,_0x5e1324._0x47abe7,0x60d,_0x5e1324._0x2bccee)],_0xdfa01c(0x5ae,0x66c,0x62c,_0x5e1324._0x398d6f));return await atomicWrite2(_0x4072a7,_0x5b123d),yield createToolOutput(_0xdfa01c(_0x5e1324._0x1e62de,_0x5e1324._0x21f182,_0x5e1324._0x1c20f7,0x366)+_0x34fb3c[_0xdfa01c(_0x5e1324._0xf08a23,_0x5e1324._0xa639e5,0x5a7,_0x5e1324._0x1abca4)]+'.',{'filePath':_0x34fb3c[_0x1bba22(_0x5e1324._0x353d5d,_0x5e1324._0x4d1807,_0x5e1324._0x1b848e,_0x5e1324._0x4047e1)],'resolvedPath':_0x4072a7,'bytes':_0x5b123d[_0x1bba22(_0x5e1324._0xe8a1f6,0x485,0x3ec,0x4ab)],'lines':_0x34fb3c[_0xdfa01c(0x3f0,0x3fa,0x5ae,_0x5e1324._0x54707f)][_0xdfa01c(0x339,_0x5e1324._0x2761af,_0x5e1324._0x331e9c,0x494)](/\r?\n/)[_0xdfa01c(_0x5e1324._0x11699e,0x31d,_0x5e1324._0x41f047,0x469)],'created':new Date()['toISOString'](),'overwritten':_0x4efbe}),void 0x0;}});}import{readFile as _0x3676b6,stat as _0x596cb9}from'fs/promises';import*as _0x4e4c8a from'path';function stripUtfBom(_0x2b433b){const _0x20359a={_0x5bd041:0x40},_0x2ffddb={_0x2cb32e:0x9c,_0x3a080d:0x17f};function _0x6b8de3(_0x22f474,_0x39c16c,_0x2aa7a8,_0x41433b){return _0x4d40c0(_0x22f474-_0x2ffddb._0x2cb32e,_0x22f474-_0x2ffddb._0x3a080d,_0x2aa7a8-0x1e0,_0x39c16c);}return _0x2b433b['charCodeAt'](0x0)===0xfeff?_0x2b433b[_0x6b8de3(-0x2c,-0x1a,-0xa7,-_0x20359a._0x5bd041)](0x1):_0x2b433b;}function clampLine(_0x5545a2,_0x250486){const _0x4da39a={_0x52530d:0xb9,_0x413ba0:0xbc,_0x3f9c06:0x1b7,_0x2d7052:0x2fe},_0x3b5bdf={_0x5ca91f:0x191,_0x3cb8e1:0x18e},_0x59d851={_0x46052f:0x9a};function _0x395a67(_0x15f21f,_0x470386,_0x52550c,_0x41d84f){return _0xf90728(_0x470386,_0x470386-0x24,_0x52550c-_0x59d851._0x46052f,_0x41d84f-0x1d9);}if(!Number[_0x27d488(_0x4da39a._0x52530d,_0x4da39a._0x413ba0,_0x4da39a._0x3f9c06,_0x4da39a._0x2d7052)](_0x5545a2))return 0x1;function _0x27d488(_0x40ca8a,_0x3df1bf,_0x5b2af4,_0x3607a8){return _0x4d40c0(_0x40ca8a-_0x3b5bdf._0x5ca91f,_0x5b2af4-0x31f,_0x5b2af4-_0x3b5bdf._0x3cb8e1,_0x40ca8a);}return Math['max'](0x1,Math['min'](Math[_0x27d488(0x292,0x56,0x131,0x1a7)](_0x5545a2),_0x250486));}function createFileReadTool(_0x1d17aa={}){const _0x36bf5c={_0x39a9ce:0x70,_0x325260:0x336,_0x5b1809:0x201,_0x4797bc:0x1f7,_0x4045c9:0x189,_0x1a13cf:0x18a,_0x3f3a4a:0x12a,_0x6ce71c:0x186,_0x5431d5:0x170,_0x2f6ed3:0x111,_0x530559:0x1f4,_0x25f2cb:0x30a,_0x23f259:0x1bd,_0x3487a7:0x143,_0x2f332b:0x46f,_0x20751e:0x31e,_0x507329:0xb6,_0x24a2d7:0x1d5,_0x4c2f22:0x75,_0x9801fb:0x470,_0x32ad29:0x3a6,_0x2c36dc:0x117,_0x5cf49c:0x1f9,_0xc8ea0e:0x204,_0xf91a16:0x104},_0x10fc08={_0xac3c35:0x14a,_0x54fb66:0x20c,_0x3b0ab5:0x2e1,_0x5b1b9d:0x14f,_0x25be19:0x172,_0x35b0d8:0x21e,_0xea69f8:0x89,_0x9b299:0xf9,_0x2d99cb:0xfa,_0xb69088:0x58,_0x1ae0aa:0x43,_0xb46e6e:0xd0,_0x26825c:0xf,_0x447d40:0xc0,_0x3c3b4c:0x37a,_0x19c551:0x37d,_0x199a33:0xfa,_0x484cba:0x7,_0x45aa39:0x69,_0x574772:0x12,_0x401963:0x162,_0x2f3d8d:0x28,_0x4dcb21:0x24,_0x58d34f:0x163,_0x541ad6:0x147,_0x54960f:0x253,_0x57230b:0x2eb,_0x282120:0x48,_0x30441a:0x15a,_0x56b95e:0x119,_0x1f0f8f:0x9f,_0x2ca747:0x60,_0x1f57bb:0x84,_0x5b9f35:0x2,_0x3b331b:0x198,_0x367b73:0x224,_0x5e90fb:0x221,_0x5a9377:0xcd,_0x350f65:0x16d,_0x82753:0x1f2,_0x56a99b:0x155,_0x44acfa:0xe7,_0xbb4712:0xf5,_0x7241b4:0x150,_0x13b3ae:0x209,_0x9d9d18:0xaf,_0x69891b:0x51,_0x2a331f:0xd2,_0x3948b8:0x1ad,_0x5e0fae:0xa4,_0x521216:0x1a0,_0x22699d:0x77,_0x134097:0xff,_0x2e839c:0x4,_0x185eca:0xd3},_0x447177={_0x412064:0x61,_0x47dabe:0x75,_0x4af721:0x15c},_0x41c235={_0x551a4b:0x1e6,_0x3755b9:0x1a1},_0x667fbf=_0x4e4c8a[_0x4c5eb1(0x127,0x111,0x250,_0x36bf5c._0x39a9ce)](_0x1d17aa[_0x54d609(-_0x36bf5c._0x325260,-0x216,-_0x36bf5c._0x5b1809,-0x21d)]??process[_0x4c5eb1(0xb2,0x1f1,_0x36bf5c._0x4797bc,_0x36bf5c._0x4045c9)]());function _0x4c5eb1(_0x241f64,_0x4779c4,_0x3bb889,_0x3b1644){return _0xf90728(_0x241f64,_0x4779c4-_0x41c235._0x551a4b,_0x4779c4-_0x41c235._0x3755b9,_0x3b1644-0x21);}const _0x59e90e=_0x1d17aa[_0x54d609(-_0x36bf5c._0x1a13cf,-0x2a1,-0x24a,-_0x36bf5c._0x3f3a4a)]??[],_0x35a0eb=_0x1d17aa['name']??'FileRead';function _0x54d609(_0x575e5d,_0x134b7c,_0x5a6e9e,_0x1ab6de){return _0x4d40c0(_0x575e5d-_0x447177._0x412064,_0x1ab6de- -_0x447177._0x47dabe,_0x5a6e9e-_0x447177._0x4af721,_0x575e5d);}return defineTool({'name':_0x35a0eb,'description':_0x4c5eb1(0x123,0x87,_0x36bf5c._0x6ce71c,_0x36bf5c._0x5431d5),'inputSchema':{'type':_0x4c5eb1(_0x36bf5c._0x2f6ed3,_0x36bf5c._0x530559,_0x36bf5c._0x25f2cb,0x104),'properties':{'path':{'type':_0x4c5eb1(_0x36bf5c._0x23f259,0x1cb,0x240,_0x36bf5c._0x3487a7)},'lineStart':{'type':_0x54d609(-_0x36bf5c._0x2f332b,-0x3e0,-0x296,-_0x36bf5c._0x20751e),'description':_0x4c5eb1(-0x63,_0x36bf5c._0x507329,_0x36bf5c._0x24a2d7,_0x36bf5c._0x4c2f22)},'lineEnd':{'type':_0x54d609(-_0x36bf5c._0x9801fb,-_0x36bf5c._0x32ad29,-0x467,-0x31e),'description':_0x4c5eb1(0x27f,0x18e,_0x36bf5c._0x2c36dc,_0x36bf5c._0x5cf49c)}},'required':[_0x4c5eb1(_0x36bf5c._0xc8ea0e,_0x36bf5c._0xf91a16,0x158,0x58)]},async *'execute'(_0x3192d2){const _0x569bd0={_0x53b4f5:0xee,_0x38be2d:0xe7,_0x218e59:0x3a},_0x467102=resolveAllowedPath(_0x667fbf,_0x59e90e,_0x3192d2[_0x5d18d1(-0x184,-_0x10fc08._0xac3c35,-_0x10fc08._0x54fb66,-0x110)]);await assertWorkspaceFile(_0x467102);const _0x221131=await _0x596cb9(_0x467102),_0xffca56=await _0x3676b6(_0x467102);if(isProbablyBinary(_0xffca56))throw new ToolExecutionError(_0x1f38b0(-0x2f4,-_0x10fc08._0x3b0ab5,-0x31f,-0x2eb)+_0x3192d2[_0x5d18d1(-_0x10fc08._0x5b1b9d,-0x101,-0x20c,-_0x10fc08._0x25be19)],{'path':_0x3192d2[_0x1f38b0(-0xe1,-_0x10fc08._0x35b0d8,-0xde,-0x112)]});let _0x407240=_0xffca56['toString'](_0x5d18d1(0x2a,-0x11b,0x2,-_0x10fc08._0xea69f8));const _0x515c27=_0x407240[_0x5d18d1(-0x24d,-_0x10fc08._0x9b299,-_0x10fc08._0x2d99cb,_0x10fc08._0xb69088)](0x0)===0xfeff;_0x407240=stripUtfBom(_0x407240);const _0x3a7d04=_0x407240[_0x1f38b0(_0x10fc08._0x1ae0aa,-_0x10fc08._0xb46e6e,-_0x10fc08._0x26825c,-_0x10fc08._0x447d40)](/\r?\n/);function _0x1f38b0(_0x2d18b2,_0x340ae4,_0x5d0ed0,_0x10984f){return _0x54d609(_0x2d18b2,_0x340ae4-_0x569bd0._0x53b4f5,_0x5d0ed0-_0x569bd0._0x38be2d,_0x340ae4-_0x569bd0._0x218e59);}const _0x37066f={'path':_0x3192d2[_0x1f38b0(-_0x10fc08._0x3c3b4c,-_0x10fc08._0x35b0d8,-_0x10fc08._0x19c551,-_0x10fc08._0x199a33)],'resolvedPath':_0x467102,'created':_0x221131[_0x5d18d1(-_0x10fc08._0x484cba,_0x10fc08._0x45aa39,_0x10fc08._0x574772,-_0x10fc08._0x401963)][_0x5d18d1(_0x10fc08._0x2f3d8d,0x3b,-_0x10fc08._0x4dcb21,0x122)](),'modified':_0x221131[_0x5d18d1(-_0x10fc08._0x58d34f,-_0x10fc08._0x541ad6,-_0x10fc08._0x54960f,-_0x10fc08._0x57230b)][_0x5d18d1(0x104,-_0x10fc08._0x282120,-0x24,0x27)](),'size':_0x221131[_0x5d18d1(-_0x10fc08._0x30441a,-_0x10fc08._0x56b95e,-_0x10fc08._0x1f0f8f,0xa3)],'encoding':_0x5d18d1(-_0x10fc08._0x2ca747,-_0x10fc08._0x1f57bb,_0x10fc08._0x5b9f35,-0x102),'bomStripped':_0x515c27,'truncated':![],'totalLines':_0x3a7d04[_0x5d18d1(-_0x10fc08._0x3b331b,-_0x10fc08._0x367b73,-0xe9,-_0x10fc08._0x5e90fb)]};function _0x5d18d1(_0x1498e5,_0x1d4f93,_0x7fdf89,_0x42d1cc){return _0x54d609(_0x42d1cc,_0x1d4f93-0x82,_0x7fdf89-0x177,_0x7fdf89-0x4c);}if(_0x3192d2[_0x5d18d1(-0x1d6,-_0x10fc08._0x5a9377,-_0x10fc08._0x350f65,-_0x10fc08._0x82753)]!==void 0x0||_0x3192d2[_0x1f38b0(-0x232,-0x1f2,-_0x10fc08._0x56a99b,-0x1d8)]!==void 0x0){const _0xe2f492=clampLine(_0x3192d2[_0x5d18d1(-0xfe,-0x7a,-0x16d,-0x17)]??0x1,_0x3a7d04[_0x1f38b0(-_0x10fc08._0x44acfa,-0xfb,-_0x10fc08._0xbb4712,-_0x10fc08._0x7241b4)]),_0x1844be=clampLine(_0x3192d2[_0x5d18d1(-0x143,-0x2d7,-0x1e0,-_0x10fc08._0x13b3ae)]??_0x3a7d04[_0x1f38b0(-_0x10fc08._0x9d9d18,-0xfb,_0x10fc08._0x69891b,-_0x10fc08._0x2a331f)],_0x3a7d04[_0x5d18d1(-0x16a,-_0x10fc08._0x3948b8,-0xe9,-0xc0)]),_0x12bd1f=Math[_0x5d18d1(0x2e,-_0x10fc08._0x5e0fae,-0x6b,-_0x10fc08._0x521216)](_0xe2f492,_0x1844be),_0x22b8e2=Math[_0x1f38b0(-0xb7,-0x14b,-_0x10fc08._0x22699d,-_0x10fc08._0x134097)](_0xe2f492,_0x1844be),_0x5b00ce=_0x3a7d04['slice'](_0x12bd1f-0x1,_0x22b8e2)['map']((_0x5b2036,_0x1e0060)=>_0x12bd1f+_0x1e0060+'|'+_0x5b2036)[_0x5d18d1(-0x12,0xb5,-_0x10fc08._0x2e839c,-_0x10fc08._0x185eca)]('\x0a');return yield createToolOutput(_0x5b00ce,{..._0x37066f,'lineRange':{'lineStart':_0x12bd1f,'lineEnd':_0x22b8e2,'linesTotal':_0x3a7d04['length']}}),void 0x0;}return yield createToolOutput(_0x407240,_0x37066f),void 0x0;}});}import{stat as _0x4ec698}from'fs/promises';import*as _0x46bbba from'path';import{execSync,spawn as _0x36029d}from'child_process';import{existsSync}from'fs';import{stat as _0x21d6b7}from'fs/promises';import*as _0x2b5b8b from'os';import*as _0x45dd36 from'path';import{rgPath as _0x1cde1b}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x4d8e1d={_0xab1f68:0x249,_0x2e03a3:0x202,_0x4f41de:0x291,_0x8546df:0x125,_0x1e1cf2:0x7e,_0x3467c7:0x2fe,_0x21d538:0x83,_0x26deea:0x15b,_0x529e83:0x34e,_0x10d60f:0xa4,_0x4b5f69:0xa6,_0xe60a5e:0x5,_0x524bdf:0x18,_0x15e288:0x15,_0x4db0c7:0x12b,_0xd1cbb8:0x84,_0x5a8a1f:0x12,_0x21667a:0x1a5,_0x3dc484:0x144,_0x53cb85:0x7e,_0x3ae006:0x280,_0x2d7d45:0x210,_0x54800c:0x18f,_0x45d533:0x135,_0x4a66a1:0x182,_0x570e27:0x223,_0x8ebdd1:0xb0,_0x1818b1:0x385,_0x507655:0x373,_0x563c98:0x10f,_0x5f2e21:0x150,_0x311445:0xd3,_0x15f70e:0x36,_0x4becdd:0xc7,_0x2754f5:0x227,_0x5c61af:0x12b,_0x3df80c:0x247,_0x5a13ec:0x356,_0x1b2d5d:0x15e,_0x584e9d:0x1ec,_0x50f559:0xea,_0x3f7f98:0x3c},_0x539b53={_0xd3c207:0x33f},_0x58213b={_0x36f4cc:0x1de},_0x5624c7=_0x2b5b8b[_0x5bfcaf(-0x1de,-_0x4d8e1d._0xab1f68,-_0x4d8e1d._0x2e03a3,-_0x4d8e1d._0x4f41de)]()==='win32',_0x30b55f=_0x5624c7?[_0x45dd36[_0x5bfcaf(_0x4d8e1d._0x8546df,0x7e,_0x4d8e1d._0x1e1cf2,0x17b)](process[_0x5e5b5c(0x36a,0x38b,_0x4d8e1d._0x3467c7,0x223)]['LOCALAPPDATA']||'',_0x5bfcaf(-0x188,-_0x4d8e1d._0x21d538,-0x167,-_0x4d8e1d._0x26deea),_0x5e5b5c(_0x4d8e1d._0x529e83,0x49d,0x34f,0x354),_0x5bfcaf(_0x4d8e1d._0x10d60f,-0x1cf,-_0x4d8e1d._0x4b5f69,0x92)),_0x45dd36['join'](process[_0x5bfcaf(-0x145,-_0x4d8e1d._0xe60a5e,_0x4d8e1d._0x524bdf,_0x4d8e1d._0x15e288)][_0x5bfcaf(-0xf5,-_0x4d8e1d._0x4db0c7,-_0x4d8e1d._0xd1cbb8,0x41)]||'','ripgrep',_0x5bfcaf(0x3,-_0x4d8e1d._0x5a8a1f,0x41,_0x4d8e1d._0x21667a)),_0x45dd36[_0x5bfcaf(_0x4d8e1d._0x3dc484,-0x74,_0x4d8e1d._0x53cb85,-0xd5)](process['env'][_0x5bfcaf(-_0x4d8e1d._0x3ae006,-_0x4d8e1d._0x2d7d45,-0x13e,-0x285)]||'',_0x5bfcaf(-0xa0,-_0x4d8e1d._0x54800c,-_0x4d8e1d._0x45d533,-_0x4d8e1d._0x4a66a1),'rg.exe')]:[_0x5e5b5c(_0x4d8e1d._0x570e27,0xae,_0x4d8e1d._0x8ebdd1,0x33),_0x5e5b5c(_0x4d8e1d._0x1818b1,_0x4d8e1d._0x507655,0x2e9,0x3b6),_0x5e5b5c(0x12f,_0x4d8e1d._0x563c98,0x13d,0x70),'/bin/rg'];for(const _0x270bbe of _0x30b55f){if(existsSync(_0x270bbe))return _0x270bbe;}try{const _0x4f3c22=_0x5624c7?_0x5e5b5c(0x1dc,0x1d0,_0x4d8e1d._0x5f2e21,0x112):_0x5bfcaf(-0x229,0x3f,-_0x4d8e1d._0x311445,_0x4d8e1d._0x15f70e),_0x30dd36=execSync(_0x4f3c22,{'encoding':_0x5bfcaf(0x8f,_0x4d8e1d._0x4becdd,0x84,0x10e),'stdio':['pipe',_0x5bfcaf(-0x159,-_0x4d8e1d._0x2754f5,-_0x4d8e1d._0x5c61af,-0x261),_0x5bfcaf(-0xcf,-0x37d,-_0x4d8e1d._0x3df80c,-_0x4d8e1d._0x5a13ec)]})[_0x5e5b5c(_0x4d8e1d._0x1b2d5d,0x347,_0x4d8e1d._0x584e9d,0x2fc)]()[_0x5bfcaf(_0x4d8e1d._0x524bdf,-_0x4d8e1d._0x50f559,-_0x4d8e1d._0x3f7f98,0x30)](/\r?\n/)[0x0];if(_0x30dd36&&existsSync(_0x30dd36))return _0x30dd36;}catch{return null;}function _0x5bfcaf(_0x238dcb,_0x5638e2,_0x16a1d4,_0x3c286f){return _0xf90728(_0x238dcb,_0x5638e2-_0x58213b._0x36f4cc,_0x16a1d4- -0xed,_0x3c286f-0x100);}function _0x5e5b5c(_0x5946d5,_0xe6d924,_0x17f2f6,_0x558828){return _0x4d40c0(_0x5946d5-0x17f,_0x17f2f6-_0x539b53._0xd3c207,_0x17f2f6-0x1a0,_0x558828);}return null;}async function filepath(){const _0x5d657a={_0x30519a:0x215,_0x40ad87:0xa0,_0x59339e:0x218},_0x54f260={_0x2287f3:0x2b9};if(cachedRgPath)return cachedRgPath;if(_0x1cde1b&&existsSync(_0x1cde1b))return cachedRgPath=_0x1cde1b,_0x1cde1b;const _0x1ea725=findSystemRipgrep();if(!_0x1ea725)throw new Error(_0x1612bf(_0x5d657a._0x30519a,_0x5d657a._0x40ad87,_0x5d657a._0x59339e,0xdc));function _0x1612bf(_0x231fb9,_0x2d8186,_0x5e5dda,_0x2843af){return _0xf90728(_0x231fb9,_0x2d8186-0x12f,_0x5e5dda-_0x54f260._0x2287f3,_0x2843af-0xdd);}return cachedRgPath=_0x1ea725,_0x1ea725;}async function*files(_0x5ba49f){const _0x243f63={_0x43d4a7:0x54d,_0xd7d71d:0x307,_0x2cf4e1:0x2c4,_0x59b774:0x615,_0x149089:0x5d4,_0x1b4c6a:0x1,_0x5dab79:0x1f,_0x1fbf6f:0xd7,_0x145bb8:0x32,_0x40e169:0x352,_0x4b38b4:0x34f,_0x32ba2e:0x9b,_0x40985f:0x32e,_0x359ec5:0x1b8,_0x27959e:0xec,_0x1ca55b:0x1ec,_0x6d673d:0x3bc,_0x1c65c8:0x16a,_0x344470:0x285,_0x33e35b:0x5a,_0x2cff5f:0x15d,_0x95e2cd:0x154,_0x312819:0x61,_0x1a9711:0x95,_0x2cd042:0x6f,_0x315df6:0x17e,_0x43423f:0x82,_0x577df6:0x3b2,_0xece18:0x432,_0x5e7c6c:0x19f,_0x2279fd:0x55,_0x4f8e37:0xc3,_0xfb4688:0x288,_0x2841c9:0x9a,_0x2d1138:0xc7,_0x239e1a:0x4ae,_0x234295:0x15b,_0x3fe1dd:0x2c3,_0x2c4a92:0x1b2,_0x248e12:0xe0,_0x35d77b:0x201,_0x10221f:0x429,_0x405ef2:0x442,_0x29c5d8:0x21d,_0x2919d9:0x2d2,_0x2057a6:0x52c},_0x15f070={_0x4419ff:0x436,_0xb75c91:0xe4},_0x411062={_0x371ecd:0xda},_0x474f45=await filepath(),_0x4001aa=await _0x21d6b7(_0x5ba49f[_0x43f900(0x5e9,0x486,0x4a7,_0x243f63._0x43d4a7)])[_0x43f900(_0x243f63._0xd7d71d,_0x243f63._0xd7d71d,0x206,_0x243f63._0x2cf4e1)](()=>null);if(!_0x4001aa?.[_0x43f900(0x5af,0x4f2,_0x243f63._0x59b774,_0x243f63._0x149089)]())throw Object[_0x54f19b(-_0x243f63._0x1b4c6a,-_0x243f63._0x5dab79,_0x243f63._0x1fbf6f,-_0x243f63._0x145bb8)](new Error(_0x43f900(0x2e9,0x3cf,_0x243f63._0x40e169,_0x243f63._0x4b38b4)+_0x5ba49f['cwd']+'\x27'),{'code':_0x54f19b(-0xf0,-0x5c,_0x243f63._0x32ba2e,0x63)});const _0x20b40e=[_0x54f19b(_0x243f63._0x40985f,_0x243f63._0x359ec5,_0x243f63._0x27959e,_0x243f63._0x1ca55b),_0x54f19b(_0x243f63._0x6d673d,_0x243f63._0x1c65c8,0x345,_0x243f63._0x344470),_0x54f19b(_0x243f63._0x33e35b,_0x243f63._0x2cff5f,_0x243f63._0x95e2cd,0xf2),_0x54f19b(0x7d,_0x243f63._0x312819,0x1da,0x6d)];for(const _0x4a3532 of _0x5ba49f['glob']??[]){_0x20b40e[_0x54f19b(-_0x243f63._0x1a9711,0x119,_0x243f63._0x27959e,_0x243f63._0x2cd042)](_0x54f19b(_0x243f63._0x315df6,0xb4,_0x243f63._0x43423f,0x52)+_0x4a3532);}const _0x41ec64=_0x36029d(_0x474f45,_0x20b40e,{'cwd':_0x5ba49f['cwd'],'stdio':[_0x43f900(_0x243f63._0x577df6,0x2dc,_0x243f63._0xece18,0x3c5),_0x54f19b(0x9a,_0x243f63._0x5e7c6c,-_0x243f63._0x2279fd,0xc3),_0x54f19b(0xce,0xd1,-0x78,_0x243f63._0x4f8e37)]});let _0x1cf859='';for await(const _0x5e579f of _0x41ec64[_0x54f19b(_0x243f63._0xfb4688,_0x243f63._0x2841c9,_0x243f63._0x2d1138,0x158)]??[]){_0x1cf859+=_0x5e579f[_0x43f900(_0x243f63._0x239e1a,0x3fd,0x438,0x4a5)]();const _0x16ab72=_0x1cf859[_0x54f19b(0x275,_0x243f63._0x234295,_0x243f63._0x3fe1dd,_0x243f63._0x2c4a92)](/\r?\n/);_0x1cf859=_0x16ab72[_0x54f19b(_0x243f63._0x248e12,0x1b2,0x1a2,_0x243f63._0x35d77b)]()??'';for(const _0x534d7a of _0x16ab72){if(_0x534d7a['length']>0x0)yield _0x534d7a;}}function _0x54f19b(_0x3dc0d9,_0xf944f2,_0x4ead1d,_0x458312){return _0xf90728(_0xf944f2,_0xf944f2-0x97,_0x458312-0x101,_0x458312-_0x411062._0x371ecd);}function _0x43f900(_0x6540f7,_0xbce081,_0x114d90,_0x1dba49){return _0xf90728(_0x6540f7,_0xbce081-0x19d,_0xbce081-_0x15f070._0x4419ff,_0x1dba49-_0x15f070._0xb75c91);}_0x1cf859[_0x43f900(0x421,_0x243f63._0x10221f,0x4b7,_0x243f63._0x405ef2)]()[_0x54f19b(_0x243f63._0x29c5d8,_0x243f63._0x2919d9,0x8b,0x187)]>0x0&&(yield _0x1cf859[_0x43f900(0x3e0,0x429,0x345,_0x243f63._0x2057a6)]());}function parseMatchLine(_0xb13370,_0x1e6894){const _0x571d6b={_0x20784a:0x39b,_0x547ee2:0x22a,_0x3c82f8:0x3a2,_0x5696de:0x391,_0x286cc2:0x53,_0x17e630:0x29f,_0x16b32a:0x481,_0x5473e8:0x85,_0x1c236e:0x291,_0x44c9cb:0x282,_0x448616:0x332,_0x1dcc4f:0x16e,_0x9b0a77:0x30f},_0xd57db7={_0x2691f5:0x178,_0x43ce34:0x198},_0x62ab5b={_0x11b646:0x91,_0x379323:0x437};function _0x5ba9ff(_0x98d732,_0x336d3d,_0x5020d5,_0x2dfc26){return _0x4d40c0(_0x98d732-_0x62ab5b._0x11b646,_0x5020d5-_0x62ab5b._0x379323,_0x5020d5-0x1ad,_0x336d3d);}if(!_0xb13370||_0xb13370==='--')return null;const _0x5322b2=_0xb13370[_0x5ba9ff(_0x571d6b._0x20784a,_0x571d6b._0x547ee2,_0x571d6b._0x3c82f8,_0x571d6b._0x5696de)]('|');if(_0x1e6894&&_0x5322b2['length']>=0x4&&Number[_0x3c516f(-0x1ba,-0x2e6,-0x139,-_0x571d6b._0x286cc2)](Number[_0x5ba9ff(_0x571d6b._0x17e630,_0x571d6b._0x16b32a,0x3ef,0x2bb)](_0x5322b2[0x2]??'',0xa))){const _0x1e10e9=Number['parseInt'](_0x5322b2[0x1]??'',0xa);if(!Number[_0x3c516f(-0x1ba,-_0x571d6b._0x5473e8,-0x1dd,-_0x571d6b._0x1c236e)](_0x1e10e9)||!_0x5322b2[0x0])return null;return{'filePath':_0x5322b2[0x0],'lineNum':_0x1e10e9,'lineText':_0x5322b2['slice'](0x3)['join']('|')};}function _0x3c516f(_0x115946,_0x5c1420,_0x168b87,_0x14f93c){return _0xf90728(_0x14f93c,_0x5c1420-_0xd57db7._0x2691f5,_0x115946- -_0xd57db7._0x43ce34,_0x14f93c-0x0);}if(_0x5322b2[_0x3c516f(-0x112,0x52,-_0x571d6b._0x44c9cb,-0x26c)]>=0x3){const _0x53a7e7=Number['parseInt'](_0x5322b2[0x1]??'',0xa);if(!Number[_0x5ba9ff(_0x571d6b._0x448616,0x30e,0x2cf,_0x571d6b._0x1dcc4f)](_0x53a7e7)||!_0x5322b2[0x0])return null;return{'filePath':_0x5322b2[0x0],'lineNum':_0x53a7e7,'lineText':_0x5322b2[_0x3c516f(-0x1fd,-0x1e9,-0x159,-_0x571d6b._0x9b0a77)](0x2)['join']('|'),..._0x1e6894?{'isContext':!![]}:{}};}return null;}async function search(_0x4fcaa2){const _0x266efd={_0xd0e804:0x157,_0x5e67a7:0x2a3,_0xbc4125:0x1d0,_0x407665:0x309,_0xabf8c3:0x103,_0x2006dc:0x523,_0x225026:0x61b,_0x3059d8:0x418,_0x5ae5d5:0x52e,_0x513234:0x570,_0x36a3c4:0x560,_0x2fef39:0x3dc,_0x53e41d:0x531,_0x308d93:0x5f7,_0x17a3e5:0x444,_0x4bc6c6:0x342,_0x5bdff5:0x48c,_0x4850b7:0x474,_0x35c60d:0xc2,_0x59bd1b:0x155,_0xc6bfaf:0xe1,_0x405d7d:0x37,_0x4cd6fd:0x37e,_0x2b225f:0x34c,_0x40b028:0x434,_0x5b8ef0:0x3df,_0x2f7495:0x231,_0xe83e6d:0x247,_0x114c37:0x107,_0x128c67:0x326,_0x6bf554:0x312,_0x1a2a56:0x2aa,_0x3ca0f8:0x55c,_0x26c2ea:0x73a,_0xd3d581:0x3e3,_0x2c8a70:0x32f,_0x4aa51a:0x22b,_0x140d88:0x313,_0x2be67f:0xf9,_0x57feb6:0x252,_0x23eef7:0x37c,_0x264068:0x314,_0x348ac8:0x547,_0x4d183c:0x46f,_0x49e55e:0x5e2,_0x2b935e:0x1c9,_0x220cf0:0xab,_0x209b7d:0x43,_0x5c60fb:0xa7,_0x319a30:0x145,_0x4b7ba1:0x4b1,_0x35ad2f:0x681,_0x393b6a:0x3e3,_0x29bd74:0x580,_0x535dfc:0x4db,_0xbd7590:0x4c5,_0xb7e502:0x377,_0x44ef7e:0x42b},_0x3242a2={_0x2bf8aa:0xa5,_0x2b742f:0x302,_0x282039:0x22e,_0x2b0171:0x2e,_0x2e56c6:0x261,_0x30aeb2:0x32e,_0xf3672d:0x113,_0x11793c:0x203,_0x66b21f:0x3fb,_0x15f950:0x365,_0x3e35db:0x39a},_0x10e8f9={_0x2ec762:0x13c,_0xdb84f6:0x12e,_0x46ac97:0x7},_0x376746={_0x5d8418:0x36d,_0x303cf6:0x351,_0x1ca22e:0x212,_0x57fc17:0x393},_0x2cd75d={_0x2dfecf:0x1bd},_0x20e1cd=await filepath();if(_0x4fcaa2['file']){const _0x26f845=await _0x21d6b7(_0x4fcaa2[_0x5c075a(0x144,_0x266efd._0xd0e804,_0x266efd._0x5e67a7,_0x266efd._0xbc4125)])['catch'](()=>null);if(!_0x26f845?.[_0x2bb6e7(0x366,0x432,_0x266efd._0x407665,0x445)]())throw Object[_0x5c075a(-0x82,_0x266efd._0xabf8c3,-0x15,-0x5e)](new Error(_0x2bb6e7(_0x266efd._0x2006dc,_0x266efd._0x225026,_0x266efd._0x3059d8,_0x266efd._0x5ae5d5)+_0x4fcaa2[_0x2bb6e7(_0x266efd._0x513234,0x5d6,_0x266efd._0x36a3c4,0x66e)]+'\x27'),{'code':_0x2bb6e7(0x3d7,0x4fa,0x367,_0x266efd._0x2fef39)});}else{const _0x328e14=await _0x21d6b7(_0x4fcaa2[_0x2bb6e7(0x4c5,0x5ba,0x535,0x372)])['catch'](()=>null);if(!_0x328e14?.[_0x2bb6e7(_0x266efd._0x53e41d,_0x266efd._0x308d93,0x442,_0x266efd._0x17a3e5)]())throw Object[_0x2bb6e7(_0x266efd._0x4bc6c6,0x2ac,_0x266efd._0x5bdff5,0x496)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x4fcaa2[_0x2bb6e7(0x4c5,0x5a4,_0x266efd._0x4850b7,0x600)]+'\x27'),{'code':_0x5c075a(-_0x266efd._0x35c60d,_0x266efd._0x59bd1b,-_0x266efd._0xc6bfaf,_0x266efd._0x405d7d)});}const _0x102e33=['-nH',_0x2bb6e7(0x3c1,0x436,_0x266efd._0x4cd6fd,_0x266efd._0x2b225f),_0x2bb6e7(_0x266efd._0x40b028,0x456,0x343,_0x266efd._0x5b8ef0),_0x5c075a(_0x266efd._0x2f7495,-0x68,_0x266efd._0xe83e6d,_0x266efd._0x114c37),_0x4fcaa2[_0x5c075a(0x1f7,_0x266efd._0x128c67,0x2cd,0x1f2)]],_0x5e5834=typeof _0x4fcaa2['context']===_0x2bb6e7(_0x266efd._0x6bf554,0x3eb,0x451,_0x266efd._0x1a2a56)&&_0x4fcaa2[_0x2bb6e7(0x5f2,0x524,_0x266efd._0x3ca0f8,_0x266efd._0x26c2ea)]>0x0;_0x5e5834&&_0x102e33[_0x2bb6e7(_0x266efd._0xd3d581,0x508,0x4f0,_0x266efd._0x2c8a70)]('-C',String(_0x4fcaa2[_0x5c075a(_0x266efd._0x4aa51a,_0x266efd._0x140d88,_0x266efd._0x2be67f,_0x266efd._0x57feb6)]),_0x2bb6e7(_0x266efd._0x23eef7,_0x266efd._0x264068,0x33d,0x44b));_0x4fcaa2[_0x2bb6e7(_0x266efd._0x348ac8,0x583,_0x266efd._0x4d183c,_0x266efd._0x49e55e)]&&!_0x4fcaa2[_0x5c075a(_0x266efd._0x2b935e,0x252,0x31d,0x1d0)]&&_0x102e33[_0x5c075a(0x64,0x1a8,_0x266efd._0x220cf0,_0x266efd._0x209b7d)](_0x5c075a(0x286,0x1c0,_0x266efd._0x5c60fb,_0x266efd._0x319a30),_0x4fcaa2[_0x2bb6e7(_0x266efd._0x348ac8,_0x266efd._0x4b7ba1,_0x266efd._0x35ad2f,0x611)]);function _0x5c075a(_0x1b2d03,_0x4aa5b9,_0x4d4a58,_0xb1c4f0){return _0xf90728(_0x1b2d03,_0x4aa5b9-0x61,_0xb1c4f0-0xd5,_0xb1c4f0-_0x2cd75d._0x2dfecf);}_0x102e33[_0x2bb6e7(_0x266efd._0x393b6a,0x38f,0x491,0x555)](_0x4fcaa2[_0x2bb6e7(_0x266efd._0x513234,_0x266efd._0x29bd74,0x577,_0x266efd._0x535dfc)]??_0x4fcaa2[_0x2bb6e7(_0x266efd._0xbd7590,0x57b,_0x266efd._0xb7e502,_0x266efd._0x44ef7e)]);function _0x2bb6e7(_0x328bf1,_0x213798,_0x48c553,_0x20441f){return _0xf90728(_0x48c553,_0x213798-0xef,_0x328bf1-0x475,_0x20441f-0x18c);}return await new Promise((_0x202aa8,_0x2a7e71)=>{const _0x371a59={_0x406b5e:0x3a2,_0x524af7:0x134,_0x5bd16e:0x29e,_0x4781fe:0x6f4,_0x37e560:0x540,_0x10f2af:0xe1,_0x1b7b84:0x286,_0x50ed17:0x10a,_0x2e39f4:0xd4},_0x5aa64b={_0x355960:0xab,_0xbc76ae:0x19c},_0x39cddc={_0x44f684:0x176,_0x933c59:0x16a},_0x5c0fb8={_0x2baed9:0x85},_0x3fd7c2={_0x13025a:0x13b};function _0x9cba9a(_0xfd7e3d,_0x1c0439,_0x26b027,_0x59117a){return _0x2bb6e7(_0x59117a- -0x5d5,_0x1c0439-_0x3fd7c2._0x13025a,_0xfd7e3d,_0x59117a-0x1b);}function _0x5825bf(_0x13a0b4,_0x90b56,_0x563f09,_0x26657d){return _0x5c075a(_0x26657d,_0x90b56-0xb0,_0x563f09-_0x5c0fb8._0x2baed9,_0x563f09-0x2a6);}const _0x22392b=_0x36029d(_0x20e1cd,_0x102e33,{'cwd':_0x4fcaa2[_0x9cba9a(-0x3c,-_0x3242a2._0x2bf8aa,-0x192,-0x110)],'stdio':[_0x5825bf(0xd3,_0x3242a2._0x2b742f,0x221,_0x3242a2._0x282039),_0x9cba9a(-_0x3242a2._0x2b0171,-0x20b,-0x207,-0x19e),_0x9cba9a(-0x1a2,-0x166,-_0x3242a2._0x2e56c6,-0x19e)]});let _0x2d6d76='',_0x2d4ba2='';_0x22392b['stdout']?.['on']('data',_0x3117a4=>{function _0x574cc3(_0xda8bb0,_0x1c5d20,_0x35dbc6,_0x2eefe7){return _0x9cba9a(_0x2eefe7,_0x1c5d20-0xa6,_0x35dbc6-0x100,_0x1c5d20-0x4ea);}_0x2d6d76+=_0x3117a4[_0x574cc3(_0x376746._0x5d8418,_0x376746._0x303cf6,_0x376746._0x1ca22e,_0x376746._0x57fc17)]();}),_0x22392b['stderr']?.['on']('data',_0x2a98f9=>{function _0x32c83a(_0x59d240,_0x4d2cd3,_0x4411a1,_0x1c046b){return _0x5825bf(_0x59d240-_0x39cddc._0x44f684,_0x4d2cd3-_0x39cddc._0x933c59,_0x4411a1- -0x470,_0x1c046b);}_0x2d4ba2+=_0x2a98f9[_0x32c83a(-_0x10e8f9._0x2ec762,-0x4c,-_0x10e8f9._0xdb84f6,-_0x10e8f9._0x46ac97)]();}),_0x22392b['on'](_0x9cba9a(-_0x3242a2._0x30aeb2,-_0x3242a2._0xf3672d,-0x153,-_0x3242a2._0x11793c),_0x594bb3=>{const _0x4ba82c={_0x23bb5d:0xe7,_0x1400b5:0x7};if(_0x594bb3===0x1&&_0x2d6d76===''){_0x202aa8([]);return;}function _0x1e6bb5(_0x1fa66e,_0x444be2,_0x226503,_0x2168ed){return _0x5825bf(_0x1fa66e-_0x4ba82c._0x23bb5d,_0x444be2-_0x4ba82c._0x1400b5,_0x1fa66e- -0x215,_0x226503);}if(_0x594bb3!==0x0&&_0x594bb3!==0x1){_0x2a7e71(new Error('ripgrep\x20failed:\x20'+_0x2d4ba2));return;}function _0x11e36e(_0x51e6ad,_0x213d60,_0x3a4667,_0x57f879){return _0x5825bf(_0x51e6ad-0x1a5,_0x213d60-_0x5aa64b._0x355960,_0x213d60-_0x5aa64b._0xbc76ae,_0x57f879);}const _0x491bbc=_0x4fcaa2[_0x1e6bb5(0x25e,_0x371a59._0x406b5e,_0x371a59._0x524af7,_0x371a59._0x5bd16e)]??0x64,_0x181a7b=[];for(const _0xe3c765 of _0x2d6d76[_0x11e36e(_0x371a59._0x4781fe,0x5c8,_0x371a59._0x37e560,0x5f6)](/\r?\n/)){if(_0x181a7b[_0x1e6bb5(0x1ec,_0x371a59._0x10f2af,_0x371a59._0x1b7b84,_0x371a59._0x50ed17)]>=_0x491bbc)break;const _0x1bfe03=parseMatchLine(_0xe3c765,_0x5e5834);if(_0x1bfe03)_0x181a7b[_0x1e6bb5(_0x371a59._0x2e39f4,0x2e,0x1f,0x205)](_0x1bfe03);}_0x202aa8(_0x181a7b);}),_0x22392b['on'](_0x5825bf(_0x3242a2._0x66b21f,_0x3242a2._0x15f950,0x3ab,_0x3242a2._0x3e35db),_0x2a7e71);});}function createGlobTool(_0x28a32d={}){const _0x181759={_0x41ae83:0x251,_0x5ca0de:0x130,_0x388843:0x2f6,_0xc1fbeb:0x35d,_0x29cbfd:0xf,_0x503257:0x101,_0x415ad7:0x114,_0xc69626:0xd8,_0x5307a2:0x91,_0x499c1d:0x29b,_0x59970a:0x2b8,_0x59b44b:0x3fa,_0xa27477:0x3fe,_0x1409da:0x15a,_0x4a8e4a:0x282,_0x2b2eeb:0x1a3,_0x1a6922:0x252,_0xeaf7e7:0xa},_0x21c5c5={_0x4db6d5:0xa,_0x20e2dd:0x5b,_0x1457d2:0x110,_0x40971f:0x66,_0x18dbc5:0x87,_0x4a88e6:0x200,_0x247575:0xb8,_0x560772:0x3,_0x2b4068:0x11b,_0x59fdf0:0x124,_0x5a70b9:0x23,_0x1343b3:0x95,_0x474b09:0x41,_0x578e89:0x1cc,_0x16ba34:0x8a,_0x38e92c:0xdb,_0x271847:0x2e5,_0x2f64e2:0x359,_0x8c9d80:0x24f,_0x56f6ff:0x39b,_0x10b387:0x1ba,_0x379439:0x29d,_0x5e5e4e:0xc7,_0x2a1d8b:0x16d,_0x105f91:0x1dd,_0x26cb31:0x93,_0x380375:0x25f,_0x405a3f:0x11f,_0x1186a4:0x164,_0x3a5843:0x1c1,_0x554810:0x255,_0x3aa38d:0x277,_0x720dc:0x14b,_0x24d03d:0x65,_0x5421e3:0xee},_0x4a40a9={_0x72715b:0x133},_0x33d51d={_0x4547d2:0x1fd,_0x592eb1:0x63,_0x3414e0:0x4d},_0x344507={_0x26c60d:0x11},_0x38a46c={_0x4b5427:0x16c,_0x1b1c37:0x161},_0x258e3a=_0x46bbba[_0x410f9a(0x6e,0x1d5,_0x181759._0x41ae83,_0x181759._0x5ca0de)](_0x28a32d['defaultCwd']??process['cwd']()),_0x444fed=_0x28a32d[_0x410f9a(0x38c,_0x181759._0x388843,0x276,0x36e)]??[],_0x8f08f6=_0x28a32d[_0x410f9a(0x23b,_0x181759._0xc1fbeb,0x242,0x361)]??0x64;function _0x17c61b(_0x584dc6,_0x296257,_0x1b7b39,_0x3665a4){return _0x4d40c0(_0x584dc6-_0x38a46c._0x4b5427,_0x1b7b39-0x106,_0x1b7b39-_0x38a46c._0x1b1c37,_0x296257);}const _0x3ec0e7=_0x28a32d[_0x17c61b(_0x181759._0x29cbfd,-0x158,-_0x181759._0x503257,-0x6e)]??'Glob';function _0x410f9a(_0x1b7d97,_0x2dced2,_0x504e7e,_0x1544c6){return _0xf90728(_0x1b7d97,_0x2dced2-_0x344507._0x26c60d,_0x2dced2-0x265,_0x1544c6-0x1a5);}return defineTool({'name':_0x3ec0e7,'description':_0x17c61b(-0xde,-_0x181759._0x415ad7,-_0x181759._0xc69626,_0x181759._0x5307a2),'inputSchema':{'type':_0x410f9a(_0x181759._0x499c1d,_0x181759._0x59970a,_0x181759._0x59b44b,_0x181759._0xa27477),'properties':{'pattern':{'type':_0x410f9a(0x3e4,0x28f,0x2be,0x1ed)},'path':{'type':_0x410f9a(_0x181759._0x1409da,0x28f,0x19f,0x174)},'limit':{'type':_0x17c61b(-0x2f7,-_0x181759._0x4a8e4a,-_0x181759._0x2b2eeb,-0xb4)}},'required':[_0x17c61b(_0x181759._0x1a6922,0xa3,0xdd,_0x181759._0xeaf7e7)]},async *'execute'(_0x361756){if(_0x361756['pattern'][_0x2c9b1a(0x16b,-_0x21c5c5._0x4db6d5,0x1b7,_0x21c5c5._0x20e2dd)]()[_0x5d7263(_0x21c5c5._0x1457d2,_0x21c5c5._0x40971f,_0x21c5c5._0x18dbc5,0x1b8)]===0x0)throw new ToolExecutionError(_0x2c9b1a(_0x21c5c5._0x4a88e6,-0x4f,0xc1,0xe7),{});function _0x2c9b1a(_0xceed20,_0x3bf96e,_0x1b9187,_0x59735f){return _0x410f9a(_0xceed20,_0x59735f- -_0x33d51d._0x4547d2,_0x1b9187-_0x33d51d._0x592eb1,_0x59735f-_0x33d51d._0x3414e0);}const _0x114f14=resolveAllowedPath(_0x258e3a,_0x444fed,_0x361756[_0x5d7263(0x125,0x153,0x33,0x95)]??'.');function _0x5d7263(_0x59f365,_0x500ede,_0x4ed1b4,_0x4c35df){return _0x410f9a(_0x59f365,_0x4c35df- -_0x4a40a9._0x72715b,_0x4ed1b4-0x1ef,_0x4c35df-0x168);}const _0x48ebb1=await _0x4ec698(_0x114f14)[_0x5d7263(-_0x21c5c5._0x247575,-0xa3,0x131,_0x21c5c5._0x560772)](()=>null);if(!_0x48ebb1?.[_0x2c9b1a(0x24e,0x1fe,_0x21c5c5._0x2b4068,_0x21c5c5._0x59fdf0)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x361756['path']??'.'),{'path':_0x361756[_0x5d7263(_0x21c5c5._0x5a70b9,-0x92,_0x21c5c5._0x59fdf0,_0x21c5c5._0x1343b3)]??'.'});const _0xa87b75=_0x361756[_0x2c9b1a(_0x21c5c5._0x474b09,_0x21c5c5._0x578e89,0x263,0x160)]??_0x8f08f6,_0x3abfd8=Math['max'](0x1,Math[_0x5d7263(-0x4f,0x16f,0x1c5,_0x21c5c5._0x16ba34)](_0xa87b75)),_0x4fa5dc=[];let _0x494da8=![];for await(const _0x2596ab of files({'cwd':_0x114f14,'glob':[_0x361756[_0x5d7263(_0x21c5c5._0x38e92c,_0x21c5c5._0x271847,_0x21c5c5._0x2f64e2,_0x21c5c5._0x8c9d80)]]})){if(_0x4fa5dc['length']>=_0x3abfd8){_0x494da8=!![];break;}const _0x5cab41=await _0x4ec698(_0x46bbba[_0x5d7263(_0x21c5c5._0x56f6ff,0x394,_0x21c5c5._0x10b387,_0x21c5c5._0x379439)](_0x114f14,_0x2596ab))[_0x2c9b1a(-0x5a,0xaa,0x4,-_0x21c5c5._0x5e5e4e)](()=>null);_0x4fa5dc[_0x5d7263(-0x4d,0x137,0x5a,0xa0)]({'path':_0x2596ab,'mtime':_0x5cab41?.[_0x5d7263(0xf8,-0x1,0x1b7,_0x21c5c5._0x2a1d8b)]??0x0});}_0x4fa5dc[_0x2c9b1a(0x2a2,0x146,0x14b,_0x21c5c5._0x105f91)]((_0x59b93a,_0x3a6c26)=>_0x3a6c26[_0x2c9b1a(0x4c,-0x14a,-0x146,-0x7c)]-_0x59b93a[_0x5d7263(-0x6e,0xa7,0x1bc,0x4e)]);const _0x22db2a=_0x4fa5dc['map'](_0x3ee8fb=>_0x3ee8fb[_0x5d7263(-0x8d,-0xdf,-0x40,0x95)]),_0x5326b4=_0x22db2a[_0x5d7263(0xd2,0xb7,_0x21c5c5._0x26cb31,0x1b8)]===0x0?_0x5d7263(0x2f,0x295,_0x21c5c5._0x380375,0x174)+_0x361756[_0x5d7263(_0x21c5c5._0x405a3f,0x34c,_0x21c5c5._0x1186a4,0x24f)]:''+_0x22db2a['join']('\x0a')+(_0x494da8?_0x2c9b1a(0xe3,0x172,0x21f,0xcc):'');return yield createToolOutput(_0x5326b4,{'pattern':_0x361756['pattern'],'searchPath':_0x46bbba[_0x5d7263(0x10d,_0x21c5c5._0x3a5843,_0x21c5c5._0x554810,_0x21c5c5._0x3aa38d)](_0x258e3a,_0x114f14)||'.','matches':_0x22db2a,'count':_0x22db2a[_0x2c9b1a(_0x21c5c5._0x720dc,_0x21c5c5._0x24d03d,0x1a3,_0x21c5c5._0x5421e3)],'truncated':_0x494da8}),void 0x0;}});}import{stat as _0x984547}from'fs/promises';import*as _0x3677e6 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x2c11c1={}){const _0x4aef10={_0x1984ad:0x28,_0x388812:0x279,_0x2fa945:0x108,_0x30e87c:0x42,_0x5a762d:0x3f,_0x3a7209:0x482,_0x508ace:0x25a,_0x3d205f:0x490,_0x39bbac:0x379,_0x2745a7:0x26f,_0x34a3be:0x1ac,_0x3a56be:0xe2,_0x160485:0x2e,_0x576d12:0x11,_0x2fb9b5:0x20c},_0x5dc9cb={_0x568395:0x9f,_0x1ce70c:0x399,_0x974235:0x3f7,_0x215c10:0x4ea,_0x28cd71:0x5be,_0x422cce:0x508,_0x297a50:0x618,_0x56f9ea:0x57d,_0x4bbca2:0x576,_0x4601a7:0x45a,_0x25afbb:0x37b,_0x127fbc:0x1ea,_0x31fb56:0x1df,_0x27915d:0x670,_0x23580c:0x4fb,_0x59bfe2:0x5b3,_0x1c103b:0x578,_0x27bdc7:0x573,_0x1be36e:0x421,_0x479d36:0x599,_0x2aa669:0x172,_0xa6142c:0x206,_0x4b760d:0x89,_0x4f1052:0x60,_0x3a6462:0x5be,_0x322158:0x44f,_0x43efeb:0x77,_0x18f675:0xfa,_0x4d888d:0xe0,_0x5a687d:0x88,_0x2d326d:0x14,_0x250ca5:0x72,_0x5782cc:0x81,_0x35764c:0x9c,_0xef118a:0xb3,_0x2e0122:0x27f,_0x1ffeb0:0x3e6,_0x5f547b:0x298,_0xdaba08:0x761,_0x34c9ae:0x55f,_0x42b439:0x578,_0x2c249e:0x5ad,_0x1c26de:0x220,_0x5a3b3a:0x152,_0x4cb245:0x12e,_0x488e20:0x148,_0x13abe3:0xb3,_0x26be51:0x1f3,_0x1dab48:0x245,_0x34db9a:0x3a1,_0x47c402:0x465,_0x51a446:0xa3,_0x196d85:0xc,_0x4ead6f:0x44b,_0x47064c:0x410,_0x12b211:0x57d,_0x5e73a3:0x51,_0x333c06:0x222,_0x2ec1c1:0xef,_0x3481d0:0x4c,_0x25793e:0xda,_0x2d7f7a:0x176,_0x46321f:0x6c,_0xb665b9:0xa5,_0x241c64:0x58d,_0x494607:0x572,_0x281e6b:0x24,_0x5c9cda:0x54a,_0x32060a:0x2a3,_0x25bebf:0x36c,_0x21b91a:0x41b,_0x2df0a6:0x607,_0x24f419:0x55a,_0x206142:0x561,_0x71dd7d:0x6f,_0x2e4a68:0x11a,_0x287fed:0x157,_0x3e5851:0xe3,_0x49a39a:0x6b3,_0x1642f0:0x5c8,_0xa4fd09:0x2e8,_0xc9d49c:0x1d5,_0x511d11:0x545,_0xdf0b74:0x660,_0x48dd8b:0x532,_0x115483:0x586,_0x36da5e:0x74,_0x527ca9:0x5d2,_0x11749c:0x1a0,_0x512fbb:0x106,_0x1130bc:0x105,_0x423014:0x597,_0xa86f1b:0x63c,_0x11a8a5:0x99,_0x46b725:0x49e,_0x5f4276:0x42a,_0xf2a6fd:0x298,_0x59338a:0x310,_0x2acd0e:0x483},_0x1d35e5={_0x59347:0xcb},_0x5f3beb={_0x36804f:0x9b},_0x16fdad={_0x2b5797:0x1d6,_0x3f7144:0x1fe,_0x2c22d5:0x167},_0x366bb6=_0x3677e6[_0x3d72e7(_0x4aef10._0x1984ad,-0xa4,0xbf,0x25)](_0x2c11c1[_0x5db022(0x11f,0x1e3,_0x4aef10._0x388812,0x10f)]??process[_0x3d72e7(_0x4aef10._0x2fa945,-_0x4aef10._0x30e87c,_0x4aef10._0x5a762d,0x7c)]()),_0x280227=_0x2c11c1['allowedDirs']??[],_0x249786=_0x2c11c1[_0x5db022(_0x4aef10._0x3a7209,0x33d,0x2ac,_0x4aef10._0x508ace)]??0x64;function _0x3d72e7(_0x24617d,_0x1de2f6,_0xf049a1,_0x54899b){return _0x4d40c0(_0x24617d-_0x16fdad._0x2b5797,_0x24617d-_0x16fdad._0x3f7144,_0xf049a1-_0x16fdad._0x2c22d5,_0xf049a1);}function _0x5db022(_0x1488e2,_0x1c5259,_0x40380e,_0xb99e49){return _0xf90728(_0xb99e49,_0x1c5259-0x5c,_0x1c5259-0x245,_0xb99e49-_0x5f3beb._0x36804f);}const _0x241e45=_0x2c11c1[_0x5db022(0x266,0x184,0x66,0x78)]??_0x5db022(0x27a,0x344,0x1ee,_0x4aef10._0x3d205f);return defineTool({'name':_0x241e45,'description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':_0x5db022(_0x4aef10._0x39bbac,0x298,0x190,0x24d),'properties':{'pattern':{'type':'string'},'path':{'type':_0x5db022(0x294,_0x4aef10._0x2745a7,0x11f,_0x4aef10._0x34a3be)},'include':{'type':_0x5db022(0x180,_0x4aef10._0x2745a7,0x17e,0x171)},'limit':{'type':_0x5db022(0x1ae,_0x4aef10._0x3a56be,-_0x4aef10._0x160485,_0x4aef10._0x576d12)},'context':{'type':'number'}},'required':[_0x5db022(0x2bc,0x362,0x1eb,_0x4aef10._0x2fb9b5)]},async *'execute'(_0x1ff0ac){const _0x227f7c={_0x337dd3:0x69};if(_0x1ff0ac[_0x4a43c7(_0x5dc9cb._0x568395,-0xd7,-0xcd,-0x4c)][_0x5621c8(_0x5dc9cb._0x1ce70c,_0x5dc9cb._0x974235,_0x5dc9cb._0x215c10,0x4ea)]()[_0x5621c8(_0x5dc9cb._0x28cd71,_0x5dc9cb._0x422cce,_0x5dc9cb._0x297a50,_0x5dc9cb._0x56f9ea)]===0x0)throw new ToolExecutionError(_0x5621c8(0x647,0x4ca,0x522,_0x5dc9cb._0x4bbca2),{});function _0x5621c8(_0xfbf392,_0x5789bb,_0x1533ad,_0x5722c1){return _0x3d72e7(_0x5722c1-0x43f,_0x5789bb-_0x227f7c._0x337dd3,_0x5789bb,_0x5722c1-0x158);}const _0x384a04=resolveAllowedPath(_0x366bb6,_0x280227,_0x1ff0ac[_0x5621c8(0x5a2,0x589,0x37e,_0x5dc9cb._0x4601a7)]??'.'),_0x1289c6=await _0x984547(_0x384a04)[_0x4a43c7(-_0x5dc9cb._0x25afbb,-_0x5dc9cb._0x127fbc,-_0x5dc9cb._0x31fb56,-0x298)](()=>null),_0x2d208b=_0x1289c6?.['isFile']()??![],_0x11c365=_0x1289c6?.[_0x5621c8(_0x5dc9cb._0x27915d,_0x5dc9cb._0x23580c,0x4de,_0x5dc9cb._0x59bfe2)]()??![];if(!_0x2d208b&&!_0x11c365)throw new ToolExecutionError(_0x5621c8(_0x5dc9cb._0x1c103b,_0x5dc9cb._0x27bdc7,0x30a,_0x5dc9cb._0x1be36e)+(_0x1ff0ac[_0x5621c8(0x56b,0x441,_0x5dc9cb._0x479d36,0x45a)]??'.'),{'path':_0x1ff0ac[_0x4a43c7(-0x1e6,-0x21c,-_0x5dc9cb._0x2aa669,-_0x5dc9cb._0xa6142c)]??'.'});const _0x58fc12=_0x1ff0ac[_0x4a43c7(0xc8,-_0x5dc9cb._0x4b760d,-_0x5dc9cb._0x4f1052,-0x71)]??_0x249786;function _0x4a43c7(_0x15bf2f,_0x52a57e,_0x33c6ba,_0x21f0db){return _0x3d72e7(_0x21f0db- -0x221,_0x52a57e-_0x1d35e5._0x59347,_0x33c6ba,_0x21f0db-0xfc);}const _0x38a083=Math['max'](0x1,Math[_0x5621c8(0x4be,_0x5dc9cb._0x3a6462,0x5a7,_0x5dc9cb._0x322158)](_0x58fc12)),_0x1d7678=await search({'cwd':_0x11c365?_0x384a04:_0x3677e6['dirname'](_0x384a04),'pattern':_0x1ff0ac[_0x4a43c7(_0x5dc9cb._0x43efeb,-0x1b5,-_0x5dc9cb._0x18f675,-0x4c)],'glob':_0x11c365?_0x1ff0ac[_0x4a43c7(-0x1a1,-0x210,-0x1bf,-0x277)]:void 0x0,'limit':_0x38a083,'file':_0x2d208b?_0x384a04:void 0x0,'context':_0x1ff0ac[_0x4a43c7(-_0x5dc9cb._0x4d888d,-_0x5dc9cb._0x5a687d,-0x15a,_0x5dc9cb._0x2d326d)]}),_0x4efd48=new Map();for(const _0x599146 of _0x1d7678){if(!_0x4efd48['has'](_0x599146['filePath'])){const _0x27dcec=await _0x984547(_0x599146[_0x4a43c7(_0x5dc9cb._0x250ca5,-_0x5dc9cb._0x5782cc,-_0x5dc9cb._0x35764c,-_0x5dc9cb._0xef118a)])[_0x4a43c7(-_0x5dc9cb._0x2e0122,-0x20c,-_0x5dc9cb._0x1ffeb0,-_0x5dc9cb._0x5f547b)](()=>null);_0x4efd48[_0x5621c8(_0x5dc9cb._0xdaba08,_0x5dc9cb._0x34c9ae,0x612,0x64a)](_0x599146[_0x5621c8(0x58d,0x603,_0x5dc9cb._0x42b439,_0x5dc9cb._0x2c249e)],{'matches':[],'mtime':_0x27dcec?.[_0x4a43c7(-_0x5dc9cb._0x1c26de,-_0x5dc9cb._0x5a3b3a,-0x283,-_0x5dc9cb._0x4cb245)]??0x0});}_0x4efd48['get'](_0x599146[_0x4a43c7(-_0x5dc9cb._0x488e20,-0x1ee,_0x5dc9cb._0x4f1052,-_0x5dc9cb._0x13abe3)])?.[_0x4a43c7(-0x188,-0x191,-_0x5dc9cb._0x26be51,-_0x5dc9cb._0x1dab48)][_0x5621c8(0x5cc,_0x5dc9cb._0x34db9a,0x521,_0x5dc9cb._0x47c402)](_0x599146);}const _0x4ed642=[..._0x4efd48[_0x4a43c7(-0x11c,-0x24,-0x9a,-0x16e)]()][_0x4a43c7(-0xdb,-_0x5dc9cb._0x51a446,0x112,_0x5dc9cb._0x196d85)]((_0x5b6659,_0xbd4c29)=>_0xbd4c29[0x1]['mtime']-_0x5b6659[0x1][_0x5621c8(0x4a0,0x3ae,0x2f9,0x413)]),_0x10e111=_0x1d7678['filter'](_0x48d068=>!_0x48d068[_0x4a43c7(-0x144,-0x259,0x5b,-0x109)])[_0x4a43c7(0x6f,-0x17c,-0x98,-0xe3)],_0xad2647=_0x1d7678['length']>=_0x38a083,_0x56c3ab=_0x2d208b?_0x3677e6[_0x5621c8(0x6bc,0x523,0x526,0x656)](_0x384a04):_0x384a04;let _0x2efa81='';if(_0x1d7678[_0x5621c8(_0x5dc9cb._0x4ead6f,_0x5dc9cb._0x47064c,0x6d3,_0x5dc9cb._0x12b211)]===0x0)_0x2efa81=_0x4a43c7(-_0x5dc9cb._0x5e73a3,-_0x5dc9cb._0x333c06,-0x156,-0x10d)+_0x1ff0ac[_0x4a43c7(-0x1b8,-_0x5dc9cb._0x2ec1c1,0x8a,-_0x5dc9cb._0x3481d0)];else{_0x2efa81=_0x4a43c7(-0x73,-_0x5dc9cb._0x25793e,-_0x5dc9cb._0x2d7f7a,-0x129)+_0x10e111+_0x4a43c7(-0x13e,-0xac,_0x5dc9cb._0x46321f,-_0x5dc9cb._0xb665b9)+(_0x10e111===0x1?'':'es')+'\x0a';for(const [_0x55ff0e,_0x4b775e]of _0x4ed642){const _0x32a247=_0x2d208b?_0x3677e6[_0x5621c8(0x3bb,_0x5dc9cb._0x241c64,_0x5dc9cb._0x494607,0x466)](_0x55ff0e):_0x3677e6[_0x4a43c7(-0x196,-0x109,0x106,-_0x5dc9cb._0x281e6b)](_0x56c3ab,_0x55ff0e);_0x2efa81+='\x0a'+_0x32a247+':\x0a';for(const _0x31c36b of _0x4b775e[_0x5621c8(_0x5dc9cb._0x5c9cda,_0x5dc9cb._0x32060a,_0x5dc9cb._0x25bebf,_0x5dc9cb._0x21b91a)]){const _0x13087c=_0x31c36b[_0x5621c8(0x4e5,_0x5dc9cb._0x2df0a6,_0x5dc9cb._0x24f419,_0x5dc9cb._0x206142)][_0x4a43c7(-_0x5dc9cb._0x71dd7d,-_0x5dc9cb._0x2e4a68,-_0x5dc9cb._0x287fed,-_0x5dc9cb._0x3e5851)]>MAX_LINE_LENGTH?_0x31c36b[_0x5621c8(_0x5dc9cb._0x49a39a,0x4ac,_0x5dc9cb._0x1642f0,_0x5dc9cb._0x206142)][_0x4a43c7(-_0x5dc9cb._0xa4fd09,-0xdd,-_0x5dc9cb._0xc9d49c,-0x1ce)](0x0,MAX_LINE_LENGTH)+_0x5621c8(_0x5dc9cb._0x511d11,_0x5dc9cb._0xdf0b74,_0x5dc9cb._0x48dd8b,_0x5dc9cb._0x115483):_0x31c36b[_0x4a43c7(-0x198,-0x220,_0x5dc9cb._0x36da5e,-0xff)],_0x3b63a9=_0x31c36b['isContext']?'\x20\x20':'>\x20';_0x2efa81+=_0x3b63a9+'Line\x20'+_0x31c36b[_0x5621c8(0x57e,_0x5dc9cb._0x527ca9,0x667,0x643)]+':\x20'+_0x13087c+'\x0a';}}_0xad2647&&(_0x2efa81+=_0x4a43c7(-_0x5dc9cb._0x11749c,-0x24b,-_0x5dc9cb._0x512fbb,-_0x5dc9cb._0x1130bc));}const _0x5eddee={'searchPath':_0x3677e6[_0x5621c8(0x511,_0x5dc9cb._0x423014,0x60f,_0x5dc9cb._0xa86f1b)](_0x366bb6,_0x384a04)||'.','pattern':_0x1ff0ac[_0x4a43c7(-0x14e,-0x83,0xc6,-_0x5dc9cb._0x3481d0)],'matchCount':_0x10e111,'fileCount':_0x4efd48[_0x4a43c7(-0xcb,-0x132,-0x148,-_0x5dc9cb._0x11a8a5)],'truncated':_0xad2647};return _0x11c365&&_0x1ff0ac[_0x5621c8(0x410,_0x5dc9cb._0x46b725,_0x5dc9cb._0x5f4276,0x3e9)]!==void 0x0&&(_0x5eddee[_0x4a43c7(-_0x5dc9cb._0xf2a6fd,-0x357,-0x2a1,-0x277)]=_0x1ff0ac[_0x5621c8(_0x5dc9cb._0x59338a,_0x5dc9cb._0x2acd0e,0x36e,0x3e9)]),yield createToolOutput(_0x2efa81[_0x5621c8(0x51e,0x429,0x64f,0x4ea)](),_0x5eddee),void 0x0;}});}function createKillShellTool(_0x53f5a7){const _0x497df8={_0x1f37c5:0x770,_0x587188:0x3b2,_0x1fd414:0x49f,_0x362c05:0x67,_0x234229:0x149,_0xb3f60f:0x294,_0x5aa216:0x1a7,_0x4988c0:0x3f6,_0x27ac57:0x5f2,_0xa6d234:0x490},_0x4a93cc={_0x509275:0x272,_0x370c20:0x5,_0x24859:0x88,_0x592138:0x1f6,_0x3fadf6:0x46,_0x3f4ef4:0x31c,_0xcb9782:0x43c,_0x2d92af:0x25e,_0x31996f:0x3ad,_0x19f2a2:0x22b,_0x590fe6:0x177,_0x5aa94f:0x19f,_0x2de1f8:0x146,_0x32119e:0x2ff,_0xfb093:0x457,_0x1e3e1a:0x3bd},_0xbc8e81={_0x3ec5ba:0x90,_0x19dbc5:0x7ac},_0x541c5d={_0x2923f3:0x5df},_0x407fd5={_0x257ba9:0x1d1};function _0x446918(_0x46a471,_0x558a85,_0x1d3f2e,_0x18e780){return _0xf90728(_0x558a85,_0x558a85-0x8,_0x18e780- -_0x407fd5._0x257ba9,_0x18e780-0x158);}const {registry:_0x405404}=_0x53f5a7;function _0x53d7ff(_0xb744e4,_0x57d9cc,_0x15786d,_0x472d43){return _0xf90728(_0xb744e4,_0x57d9cc-0x163,_0x472d43-_0x541c5d._0x2923f3,_0x472d43-0x2d);}return defineTool({'name':_0x53d7ff(_0x497df8._0x1f37c5,0x62a,0x835,0x6ec),'description':_0x53d7ff(_0x497df8._0x587188,0x57d,0x39c,_0x497df8._0x1fd414),'inputSchema':{'type':_0x446918(-_0x497df8._0x362c05,-_0x497df8._0x234229,-0x258,-0x17e),'properties':{'shellId':{'type':_0x446918(-0x75,-0x223,-_0x497df8._0xb3f60f,-_0x497df8._0x5aa216)}},'required':[_0x53d7ff(0x4d1,_0x497df8._0x4988c0,_0x497df8._0x27ac57,_0x497df8._0xa6d234)]},async *'execute'(_0x5bcab4){const _0x3907e9={_0x5c7a90:0x193};function _0x4b853b(_0x2f9287,_0x5ded3b,_0x1f4736,_0x474acf){return _0x446918(_0x2f9287-_0x3907e9._0x5c7a90,_0x474acf,_0x1f4736-0x1a,_0x2f9287-0x3de);}const _0x449bea=_0x405404[_0x4b853b(0x139,0x147,_0x4a93cc._0x509275,0xb1)](_0x5bcab4[_0x4b853b(0xbe,-_0x4a93cc._0x370c20,-_0x4a93cc._0x24859,_0x4a93cc._0x592138)]);function _0x118bb0(_0x422e87,_0x3643d0,_0x62b8fb,_0x2b640f){return _0x53d7ff(_0x62b8fb,_0x3643d0-0x10e,_0x62b8fb-_0xbc8e81._0x3ec5ba,_0x422e87- -_0xbc8e81._0x19dbc5);}return createToolOutput(_0x118bb0(-0xd3,-0x12a,-_0x4a93cc._0x3fadf6,-0x10d)+_0x5bcab4[_0x118bb0(-_0x4a93cc._0x3f4ef4,-_0x4a93cc._0xcb9782,-_0x4a93cc._0x2d92af,-_0x4a93cc._0x31996f)]+_0x4b853b(0x20b,0x1a5,0x2a5,0x1c3)+_0x449bea['status']+').',{'shellId':_0x5bcab4[_0x118bb0(-0x31c,-0x24a,-0x266,-0x410)],'status':_0x449bea[_0x4b853b(_0x4a93cc._0x19f2a2,0x264,0x33e,_0x4a93cc._0x590fe6)],'exitCode':_0x449bea[_0x118bb0(-_0x4a93cc._0x5aa94f,-0x252,-_0x4a93cc._0x2de1f8,-0x22f)],'signal':_0x449bea[_0x4b853b(_0x4a93cc._0x32119e,_0x4a93cc._0xfb093,0x1df,_0x4a93cc._0x1e3e1a)]});}});}import{readdir as _0x4bdf45,readFile as _0x3edc7f,stat as _0x45b9b5}from'fs/promises';import*as _0x3cdedb from'path';import*as _0x33e08f from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x554dbe,_0x6db295){const _0x1688d1={_0x22e9f7:0x479,_0x6c0e:0x47d,_0x319ff7:0x3e9,_0x5e3cf6:0x53b,_0x2280aa:0x70b,_0x485c83:0x571,_0x3a7e64:0x6d5},_0x5c676c={_0x504aa6:0x39d},_0x2ac297={_0x37ddd7:0x22};function _0x2efb10(_0x5ee95d,_0x924af3,_0x37ca7a,_0x205a87){return _0xf90728(_0x205a87,_0x924af3-_0x2ac297._0x37ddd7,_0x924af3-0x5ac,_0x205a87-0x112);}if(_0x6db295>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x42b35d=await _0x3edc7f(_0x554dbe)[_0x2efb10(_0x1688d1._0x22e9f7,_0x1688d1._0x6c0e,_0x1688d1._0x319ff7,0x3d7)](()=>null);if(!_0x42b35d||isProbablyBinary(_0x42b35d))return void 0x0;function _0x1ee405(_0x586b23,_0x51b74d,_0x29bde4,_0x468dc1){return _0xf90728(_0x586b23,_0x51b74d-0x1ac,_0x29bde4-_0x5c676c._0x504aa6,_0x468dc1-0x40);}return _0x42b35d['toString']('utf8')[_0x1ee405(0x449,_0x1688d1._0x5e3cf6,0x44e,0x320)](/\r?\n/)[_0x2efb10(_0x1688d1._0x2280aa,0x632,_0x1688d1._0x485c83,_0x1688d1._0x3a7e64)];}function createLsTool(_0x1058c0={}){const _0x4adb2a={_0x5b6cc1:0x427,_0x280751:0x55a,_0x4cd8f8:0x566,_0x2c6913:0x6a,_0x305125:0x71,_0x2fe15d:0x64d,_0x4dad95:0x4dc,_0x5f3bba:0x64e,_0x550477:0x53c,_0x5ba5d9:0x60f,_0x1aff9a:0x554,_0x177fe3:0x59b,_0xd43c2c:0x67c,_0x4cb6f5:0x42a,_0x52453c:0x344,_0xcafe2d:0x459},_0x1de205={_0x23b539:0x4f,_0x583fc4:0xdf,_0x1ceb83:0xc8,_0x480ec2:0x203,_0x3d0159:0x257,_0x235578:0x2fa,_0x417076:0x412,_0x176b80:0x103,_0x264aa7:0x120,_0x3790dd:0x48f,_0xddbf6e:0x5b6,_0x3a7a14:0x3a5,_0x210101:0x3cf,_0x823b25:0x32a,_0x141776:0x69,_0x2f4471:0x2b2,_0x3be120:0x311,_0x5656b0:0x407,_0x4631e6:0x4e3,_0x1a06f5:0x4a5,_0x8835b4:0x5dc,_0x471efc:0x4aa,_0x4bd67c:0x62b,_0x4625e4:0x517,_0x137632:0x554,_0x4e1944:0x654,_0x31ab81:0x64b,_0x14e305:0x532,_0x214b9e:0x529,_0x2fc01a:0x428,_0x402ca5:0x1a2,_0x2180c4:0x1af,_0x1bc75b:0x2fc,_0x2ee4bc:0x423,_0x2ca14e:0x45d,_0xa7e05c:0x4df,_0x1f13f1:0x575,_0x705708:0x3d8,_0x5f016c:0x470,_0x220f2b:0x60c,_0x28aba2:0x54d,_0x3a2936:0x26b,_0x122fc8:0x313},_0x257460={_0x48981c:0xdb,_0x1acb3e:0x457,_0x1a478d:0x85},_0x28555d={_0xf94419:0x702,_0x43e82c:0x127},_0x50ccea={_0x5b2802:0x22,_0x2ff4bb:0xd8};function _0x10be10(_0x26048a,_0x4867eb,_0x76397a,_0x35f435){return _0xf90728(_0x4867eb,_0x4867eb-0x1d5,_0x26048a- -_0x50ccea._0x5b2802,_0x35f435-_0x50ccea._0x2ff4bb);}const _0xfab87f=_0x3cdedb['resolve'](_0x1058c0[_0xfa74d5(0x5be,_0x4adb2a._0x5b6cc1,_0x4adb2a._0x280751,_0x4adb2a._0x4cd8f8)]??process[_0x10be10(0x2e,-0x1a,-_0x4adb2a._0x2c6913,_0x4adb2a._0x305125)]());function _0xfa74d5(_0x85452b,_0x26d825,_0xf0feb5,_0x3d01e0){return _0x4d40c0(_0x85452b-0x14c,_0xf0feb5-_0x28555d._0xf94419,_0xf0feb5-_0x28555d._0x43e82c,_0x85452b);}const _0x30f8e5=_0x1058c0[_0xfa74d5(0x63e,0x575,_0x4adb2a._0x2fe15d,0x696)]??[],_0x27794d=_0x1058c0['name']??'Ls';return defineTool({'name':_0x27794d,'description':_0xfa74d5(0x41d,0x520,_0x4adb2a._0x4dad95,0x640),'inputSchema':{'type':_0xfa74d5(_0x4adb2a._0x5f3bba,_0x4adb2a._0x550477,_0x4adb2a._0x5ba5d9,0x77f),'properties':{'path':{'type':_0xfa74d5(_0x4adb2a._0x1aff9a,_0x4adb2a._0x177fe3,0x5e6,_0x4adb2a._0xd43c2c)},'limit':{'type':_0xfa74d5(_0x4adb2a._0x4cb6f5,_0x4adb2a._0x52453c,_0x4adb2a._0xcafe2d,0x437)}}},async *'execute'(_0x441ace){const _0xa0b966={_0x1bb49a:0x3d},_0x2b8f26=_0x441ace[_0x350641(-_0x1de205._0x23b539,_0x1de205._0x583fc4,_0x1de205._0x1ceb83,_0x1de205._0x480ec2)]??'.',_0x3f6d9a=resolveAllowedPath(_0xfab87f,_0x30f8e5,_0x2b8f26),_0x1e42c9=await _0x45b9b5(_0x3f6d9a)[_0x3140de(_0x1de205._0x3d0159,_0x1de205._0x235578,0x32a,0x2dc)](()=>null);function _0x350641(_0x2b70cc,_0x164f2b,_0x4f3850,_0x3d3f11){return _0xfa74d5(_0x2b70cc,_0x164f2b-_0x257460._0x48981c,_0x4f3850- -_0x257460._0x1acb3e,_0x3d3f11-_0x257460._0x1a478d);}if(!_0x1e42c9?.[_0x3140de(0x4e4,0x635,0x515,_0x1de205._0x417076)]())throw new ToolExecutionError(_0x350641(_0x1de205._0x176b80,0x1ac,0x170,0x1dc)+_0x2b8f26,{'path':_0x2b8f26});const _0xebeb5d=_0x441ace['limit']??0x3e8,_0x2dbf27=Math[_0x350641(0x142,0x205,0x269,_0x1de205._0x264aa7)](Math[_0x3140de(0x444,0x49a,_0x1de205._0x3790dd,_0x1de205._0xddbf6e)](Math['trunc'](_0xebeb5d),0x1),0x2710),_0x6b11eb=await _0x4bdf45(_0x3f6d9a),_0x414df5=[];for(const _0x25fa6b of _0x6b11eb['slice'](0x0,_0x2dbf27)){const _0x36248d=_0x3cdedb[_0x350641(0x353,_0x1de205._0x3a7a14,0x2d0,0x3b9)](_0x3f6d9a,_0x25fa6b),_0x554682=await _0x45b9b5(_0x36248d)[_0x3140de(_0x1de205._0x210101,0x3b9,_0x1de205._0x823b25,0x35d)](()=>null);if(!_0x554682)continue;let _0x13e03a='other';if(_0x554682[_0x350641(-0x83,0x16b,0x56,-_0x1de205._0x141776)]())_0x13e03a='file';else{if(_0x554682['isDirectory']())_0x13e03a=_0x3140de(_0x1de205._0x2f4471,0x3b2,0x39c,_0x1de205._0x3be120);else{if(_0x554682['isSymbolicLink']())_0x13e03a=_0x3140de(0x405,0x403,0x3f6,_0x1de205._0x5656b0);}}const _0x402faa={'name':_0x25fa6b,'type':_0x13e03a,'size':_0x554682[_0x3140de(0x58b,_0x1de205._0x4631e6,0x529,_0x1de205._0x1a06f5)],'mtime':_0x554682[_0x3140de(_0x1de205._0x8835b4,0x51f,0x494,0x4a1)],'mode':_0x554682[_0x3140de(0x501,_0x1de205._0x471efc,0x565,_0x1de205._0x4bd67c)]},_0x5153ea=_0x13e03a===_0x3140de(0x52a,_0x1de205._0x4625e4,_0x1de205._0x137632,_0x1de205._0x4e1944)?await countTextLines(_0x36248d,_0x554682[_0x3140de(_0x1de205._0x31ab81,_0x1de205._0x14e305,_0x1de205._0x214b9e,0x410)]):void 0x0;if(_0x5153ea!==void 0x0)_0x402faa[_0x3140de(_0x1de205._0x2fc01a,_0x1de205._0x402ca5,0x30c,_0x1de205._0x2180c4)]=_0x5153ea;_0x414df5[_0x350641(-0x89,0x19e,0xd3,0xca)](_0x402faa);}_0x414df5[_0x350641(0x398,0x275,0x2da,_0x1de205._0x1bc75b)]((_0x38fc91,_0x1af1b6)=>_0x38fc91[_0x350641(-0x5b,0x1b7,0xa4,0x190)][_0x350641(0x21c,0x37d,0x29b,0x128)](_0x1af1b6[_0x3140de(0x265,0x2f7,0x398,0x44d)]));function _0x3140de(_0x5905c7,_0x47605c,_0x4b075c,_0x416f67){return _0xfa74d5(_0x416f67,_0x47605c-0x152,_0x4b075c- -0x163,_0x416f67-_0xa0b966._0x1bb49a);}const _0x59275f={'path':_0x2b8f26,'total':_0x414df5[_0x3140de(_0x1de205._0x2ee4bc,_0x1de205._0x2ca14e,_0x1de205._0xa7e05c,_0x1de205._0x1f13f1)],'truncated':_0x6b11eb[_0x3140de(0x5d0,_0x1de205._0x705708,_0x1de205._0xa7e05c,_0x1de205._0x5f016c)]>_0x2dbf27,'entries':_0x414df5};return yield createToolOutput(_0x33e08f['stringify'](_0x59275f,{'indent':0x2,'lineWidth':0x0})[_0x3140de(0x4a2,0x4d2,0x364,0x315)](),{'path':_0x2b8f26,'total':_0x414df5[_0x3140de(_0x1de205._0x220f2b,_0x1de205._0x28aba2,_0x1de205._0xa7e05c,0x47d)],'truncated':_0x6b11eb[_0x350641(_0x1de205._0x3a2936,_0x1de205._0x122fc8,0x1eb,0x1c7)]>_0x2dbf27,'limit':_0x2dbf27,'entries':_0x414df5}),void 0x0;}});}import{stat as _0x3f7604}from'fs/promises';import _0x3a6466 from'path';import{fileURLToPath as _0x52e4d1}from'url';function severityName(_0x19d715){const _0x11fa43={_0x535556:0x258,_0x25bf95:0x440,_0x270464:0x2b0,_0x3590a6:0x294,_0x495652:0x26c,_0x430181:0x2f9,_0x282b06:0x35f,_0x3d098b:0x20e},_0x5ed9c2={_0x3fb05a:0x40,_0x528987:0xe5},_0xde1bd8={_0x45651f:0x421};function _0x1f69d6(_0x5f02a6,_0x5b6523,_0x18257a,_0x9f5f6){return _0x4d40c0(_0x5f02a6-0xa6,_0x9f5f6-_0xde1bd8._0x45651f,_0x18257a-0x1a5,_0x5b6523);}function _0x204f00(_0x5dd6f1,_0x2e5172,_0x8f2c00,_0xb5749d){return _0x4d40c0(_0x5dd6f1-_0x5ed9c2._0x3fb05a,_0x2e5172-0x4ce,_0x8f2c00-_0x5ed9c2._0x528987,_0x8f2c00);}switch(_0x19d715){case 0x1:return'Error';case 0x2:return _0x204f00(_0x11fa43._0x535556,0x308,0x469,_0x11fa43._0x25bf95);case 0x3:return _0x1f69d6(_0x11fa43._0x270464,_0x11fa43._0x3590a6,0x277,0x194);case 0x4:return _0x204f00(0x331,_0x11fa43._0x495652,_0x11fa43._0x430181,0x2b5);default:return _0x1f69d6(_0x11fa43._0x282b06,_0x11fa43._0x3d098b,0x468,0x369);}}function formatSingleHover(_0x40fd46){const _0x4eeecf={_0x1acfeb:0x2b5,_0x5d5be2:0x4a5,_0x428d21:0x195,_0x18ac71:0x47d,_0x499135:0x11,_0x4808cf:0x17f,_0x19c233:0x54,_0xd1e01a:0x492,_0x2c8a74:0x542,_0x5df610:0x14d,_0x41275c:0x2a1,_0x36ef30:0x418,_0xd168b0:0x2cc,_0x5258fa:0x213,_0x3446e2:0x274,_0x239ec4:0x2b8,_0x84a6b5:0x4f3},_0x4341ac={_0x52ee84:0x451,_0x50007b:0x112},_0x5d28f3={_0x2c74a2:0x10b};function _0x441eb1(_0x1eba3f,_0x4bc13d,_0x1fdd46,_0x42bcfd){return _0xf90728(_0x1fdd46,_0x4bc13d-0x9d,_0x42bcfd- -0x1bf,_0x42bcfd-_0x5d28f3._0x2c74a2);}function _0x2f3e33(_0x23a772,_0x58248b,_0x3f6e14,_0x544ab8){return _0xf90728(_0x544ab8,_0x58248b-0xa8,_0x23a772-_0x4341ac._0x52ee84,_0x544ab8-_0x4341ac._0x50007b);}const _0x40dd22=_0x40fd46[_0x2f3e33(0x403,_0x4eeecf._0x1acfeb,_0x4eeecf._0x5d5be2,0x362)];if(typeof _0x40dd22===_0x441eb1(-0xb7,-0x298,-0xcd,-_0x4eeecf._0x428d21))return _0x40dd22;if(Array['isArray'](_0x40dd22))return _0x40dd22[_0x2f3e33(0x5a3,0x4fa,0x62c,_0x4eeecf._0x18ac71)](_0xa3293e=>typeof _0xa3293e===_0x2f3e33(0x47b,0x4d0,0x45e,0x550)?_0xa3293e:_0xa3293e[_0x2f3e33(0x39c,0x4c3,0x48d,0x421)])['filter'](Boolean)[_0x441eb1(-0x1c8,_0x4eeecf._0x499135,-_0x4eeecf._0x4808cf,-_0x4eeecf._0x19c233)]('\x0a\x0a');if(_0x2f3e33(_0x4eeecf._0xd1e01a,0x58f,0x39f,_0x4eeecf._0x2c8a74)in _0x40dd22)return _0x40dd22[_0x441eb1(-_0x4eeecf._0x5df610,-0x1ba,-_0x4eeecf._0x41275c,-0x274)];return _0x40dd22[_0x2f3e33(0x3fd,_0x4eeecf._0x36ef30,_0x4eeecf._0xd168b0,0x2dc)]?_0x441eb1(-0x16c,-0x18e,-0x2bf,-0x23e)+_0x40dd22[_0x441eb1(-0x355,-0x228,-0xba,-_0x4eeecf._0x5258fa)]+'\x0a'+_0x40dd22[_0x441eb1(-0x34c,-0x34f,-0x26b,-_0x4eeecf._0x3446e2)]+'\x0a```':_0x40dd22[_0x2f3e33(0x39c,_0x4eeecf._0x239ec4,_0x4eeecf._0x84a6b5,0x237)];}function formatHover(_0x2b2485){const _0x3ef1f4={_0x62e168:0x27b,_0x1d6722:0x160,_0x27cd82:0x181,_0x39e239:0x56,_0x47dbd7:0xb8,_0x4231a1:0x16e,_0x43c065:0x98,_0x14af72:0xcd},_0xebde8={_0x5d3c54:0x3ac,_0x5ea5f5:0x5b},_0x49ce0c={_0x5b33e8:0x2a,_0x2e0793:0xe6};function _0x1efaa8(_0x177a8f,_0xcd7e1a,_0x50e23f,_0x399ea5){return _0xf90728(_0x399ea5,_0xcd7e1a-_0x49ce0c._0x5b33e8,_0x177a8f-0x2f,_0x399ea5-_0x49ce0c._0x2e0793);}if(_0x2b2485['length']===0x0)return _0x510b0c(_0x3ef1f4._0x62e168,0x3f1,_0x3ef1f4._0x1d6722,0x3b2);function _0x510b0c(_0x346d1b,_0x3c21e9,_0x23465b,_0x38e18d){return _0x4d40c0(_0x346d1b-0x98,_0x346d1b-_0xebde8._0x5d3c54,_0x23465b-_0xebde8._0x5ea5f5,_0x3c21e9);}return _0x2b2485[_0x1efaa8(_0x3ef1f4._0x27cd82,_0x3ef1f4._0x39e239,0x1d8,0xb8)](formatSingleHover)[_0x1efaa8(0x19a,_0x3ef1f4._0x47dbd7,_0x3ef1f4._0x4231a1,0x1fd)](_0x1efaa8(-_0x3ef1f4._0x43c065,-0xb6,_0x3ef1f4._0x14af72,-0x162));}function locationPath(_0x30d319){const _0x2cb289={_0x1fae47:0x1e6,_0xcad117:0xe,_0x292d1c:0xf8},_0x3c0111={_0x4f2685:0x373,_0x426a96:0x140},_0x3d81dc={_0x594f13:0x624,_0x153c39:0xa7};if(!_0x30d319[_0x572d59(_0x2cb289._0x1fae47,0x6f,_0x2cb289._0xcad117,_0x2cb289._0x292d1c)](_0x572d59(0x2b3,0x1ad,0x275,0x2f7)))return _0x30d319;function _0x59b4e9(_0x90bcda,_0x21e2da,_0x5dc444,_0x5ba6b3){return _0x4d40c0(_0x90bcda-0x1ee,_0x21e2da-_0x3d81dc._0x594f13,_0x5dc444-_0x3d81dc._0x153c39,_0x5ba6b3);}function _0x572d59(_0x189149,_0x8ad690,_0x27cdfb,_0x2ea605){return _0x4d40c0(_0x189149-0x166,_0x2ea605-_0x3c0111._0x4f2685,_0x27cdfb-_0x3c0111._0x426a96,_0x27cdfb);}return _0x52e4d1(_0x30d319);}function formatLocations(_0x467e44){const _0x499ef8={_0x355a1f:0x195,_0x402a56:0x1d,_0x5e5742:0x55e,_0x198920:0x61a,_0x4f1190:0x90,_0x2dcdfb:0xc8},_0x2bcacc={_0x554b06:0x1f,_0x3a16c3:0xfe,_0x494e7d:0xa1,_0x39b55e:0x49,_0x39a1d1:0xab,_0x49af37:0x1e1,_0x31a744:0x15c,_0x347ecb:0xfa,_0x29adcf:0xd8},_0x2c0bdb={_0x35d00e:0x18d},_0xa0e838={_0x2dda14:0x1c,_0x463e69:0x60e},_0x513a70={_0x19810b:0xa3,_0x33493d:0xd};if(_0x467e44[_0x5d87a5(-_0x499ef8._0x355a1f,0x10e,-0xbc,-_0x499ef8._0x402a56)]===0x0)return'No\x20locations\x20found';function _0x5d87a5(_0x4c8f1d,_0x5d36e8,_0x4a4b93,_0x731e3c){return _0xf90728(_0x5d36e8,_0x5d36e8-0x135,_0x731e3c- -_0x513a70._0x19810b,_0x731e3c-_0x513a70._0x33493d);}function _0x424ed6(_0x36bd2c,_0x46b702,_0x15cce7,_0x49942e){return _0x4d40c0(_0x36bd2c-_0xa0e838._0x2dda14,_0x46b702-_0xa0e838._0x463e69,_0x15cce7-0xde,_0x49942e);}return _0x467e44[_0x424ed6(_0x499ef8._0x5e5742,_0x499ef8._0x198920,0x633,0x4ce)](_0x28fed1=>{const _0xb20793={_0x511caf:0x55e};function _0x3c6fd7(_0x2d4b1f,_0x118e98,_0x21384d,_0x1739bf){return _0x5d87a5(_0x2d4b1f-0x116,_0x118e98,_0x21384d-0x151,_0x2d4b1f-_0x2c0bdb._0x35d00e);}function _0x3ed308(_0x1247ee,_0x315806,_0x3615d3,_0x5432e6){return _0x424ed6(_0x1247ee-0x80,_0x5432e6- -_0xb20793._0x511caf,_0x3615d3-0xba,_0x3615d3);}const _0x59b415=_0x28fed1[_0x3c6fd7(_0x2bcacc._0x554b06,0x7c,-_0x2bcacc._0x3a16c3,-_0x2bcacc._0x494e7d)][_0x3ed308(-_0x2bcacc._0x39b55e,0x55,-0x23,_0x2bcacc._0x39a1d1)];return locationPath(_0x28fed1[_0x3c6fd7(_0x2bcacc._0x49af37,0x209,_0x2bcacc._0x31a744,0x236)])+':'+(_0x59b415[_0x3c6fd7(_0x2bcacc._0x347ecb,0x1b4,0xa5,_0x2bcacc._0x29adcf)]+0x1)+':'+(_0x59b415['character']+0x1);})[_0x5d87a5(-0x47,_0x499ef8._0x4f1190,0x1c4,_0x499ef8._0x2dcdfb)]('\x0a');}function isDocumentSymbol(_0x122293){const _0x1f49a1={_0x3dbb7b:0x7b,_0x58d024:0x143,_0x4dbefb:0x5f,_0x2aad6d:0x25d,_0x5e0bc2:0x7c},_0x59dd19={_0x3a1a14:0x176},_0x48bbfa={_0x44cfe0:0x1ed,_0x427809:0x270,_0x5746bc:0x142};function _0x4bda48(_0x2811e2,_0x3f657b,_0x4f3cf1,_0x19d0c3){return _0x4d40c0(_0x2811e2-_0x48bbfa._0x44cfe0,_0x19d0c3-_0x48bbfa._0x427809,_0x4f3cf1-_0x48bbfa._0x5746bc,_0x4f3cf1);}function _0x3fc66d(_0x3f2ef9,_0x319f2e,_0x50e671,_0x1b1ec1){return _0x4d40c0(_0x3f2ef9-_0x59dd19._0x3a1a14,_0x3f2ef9-0x22d,_0x50e671-0xac,_0x50e671);}return _0x4bda48(-_0x1f49a1._0x3dbb7b,_0x1f49a1._0x58d024,0xc2,_0x1f49a1._0x4dbefb)in _0x122293&&_0x4bda48(_0x1f49a1._0x2aad6d,0xee,_0x1f49a1._0x5e0bc2,0x1c4)in _0x122293;}function formatSymbols(_0x53041a){const _0x300d9e={_0x2a3887:0x1e6,_0x4d41bc:0x2c1,_0x46545f:0x381,_0x121153:0x3cd,_0x304ca2:0x492,_0x36b806:0x45e,_0x3ff4b6:0x443,_0x1b5aff:0x56c,_0x33f1d6:0x296},_0x574ba4={_0x32ecb1:0x40f,_0x294833:0x599,_0x5d762a:0x333,_0x183b6b:0x526,_0x20ad3c:0x440,_0x457a9c:0x41c,_0xfb8b15:0x3e7,_0x5f1daf:0x6ec,_0x5e4d51:0x4d3,_0x2a6e4f:0x5b6,_0x55dda1:0x47a,_0xd77e50:0x4e1,_0x14c351:0x44b,_0x1f7532:0x4c6,_0x185ff6:0x543,_0x29580d:0x523,_0x1ae7c1:0x565,_0x3a94ab:0x5dc,_0x57f96d:0x6ce,_0x53e956:0x785,_0x555bcc:0x654,_0x10eb1e:0x56f,_0xef0333:0x5cd,_0x2edb7a:0x534,_0x1966f4:0x4c8},_0x35c808={_0x1822ae:0x76,_0x28199d:0x33a},_0xeba282={_0x51da7e:0x222,_0xfc4d92:0x12a,_0x23c4cd:0xb6},_0x59bcd6={_0x344649:0x22,_0x9c189c:0x437},_0x39f841={_0xd5f6de:0x10a};function _0x2f7f13(_0x983ad2,_0x282766,_0x50da5d,_0x2eadb6){return _0x4d40c0(_0x983ad2-0x136,_0x282766-0x2be,_0x50da5d-_0x39f841._0xd5f6de,_0x50da5d);}function _0x518552(_0x2faf84,_0x4af090,_0x20f3c7,_0x4140c0){return _0x4d40c0(_0x2faf84-_0x59bcd6._0x344649,_0x2faf84-_0x59bcd6._0x9c189c,_0x20f3c7-0x8,_0x4af090);}if(_0x53041a[_0x2f7f13(_0x300d9e._0x2a3887,0x1fe,_0x300d9e._0x4d41bc,0x274)]===0x0)return _0x518552(_0x300d9e._0x46545f,_0x300d9e._0x121153,_0x300d9e._0x304ca2,_0x300d9e._0x36b806);return _0x53041a[_0x518552(_0x300d9e._0x3ff4b6,0x2f4,0x36e,_0x300d9e._0x1b5aff)](_0xa516fe=>{if(isDocumentSymbol(_0xa516fe))return _0xa516fe['name']+'\x20('+_0xa516fe[_0x4d503c(0x4f3,_0x574ba4._0x32ecb1,_0x574ba4._0x294833,0x4cc)]+_0x6471f4(_0x574ba4._0x5d762a,_0x574ba4._0x183b6b,_0x574ba4._0x20ad3c,_0x574ba4._0x457a9c)+(_0xa516fe[_0x4d503c(_0x574ba4._0xfb8b15,0x2b3,0x3d8,0x383)][_0x6471f4(0x64a,0x4eb,0x654,_0x574ba4._0x5f1daf)]['line']+0x1)+':'+(_0xa516fe[_0x4d503c(_0x574ba4._0xfb8b15,0x3c7,0x432,0x31c)]['start'][_0x4d503c(_0x574ba4._0x5e4d51,0x5f7,0x4a8,0x4ae)]+0x1)+']';function _0x6471f4(_0x2533f6,_0xd86a15,_0x2bd78b,_0x22af25){return _0x518552(_0x2bd78b-_0xeba282._0x51da7e,_0x22af25,_0x2bd78b-_0xeba282._0xfc4d92,_0x22af25-_0xeba282._0x23c4cd);}function _0x4d503c(_0x41bb08,_0x41ceb0,_0x38a362,_0x7c4c73){return _0x2f7f13(_0x41bb08-_0x35c808._0x1822ae,_0x41bb08-_0x35c808._0x28199d,_0x38a362,_0x7c4c73-0x9c);}return _0xa516fe['name']+'\x20('+_0xa516fe[_0x4d503c(0x4f3,_0x574ba4._0x2a6e4f,0x3d1,0x4ff)]+')\x20'+locationPath(_0xa516fe[_0x4d503c(0x49b,0x574,_0x574ba4._0x55dda1,0x447)]['uri'])+':'+(_0xa516fe[_0x4d503c(0x49b,_0x574ba4._0xd77e50,0x4e1,0x362)][_0x6471f4(0x2fa,0x31b,0x448,_0x574ba4._0x14c351)][_0x4d503c(0x5f3,_0x574ba4._0x1f7532,_0x574ba4._0x185ff6,0x743)][_0x6471f4(0x4cd,0x3c5,_0x574ba4._0x29580d,0x615)]+0x1)+':'+(_0xa516fe[_0x4d503c(0x49b,0x466,_0x574ba4._0x1ae7c1,_0x574ba4._0x3a94ab)]['range'][_0x6471f4(_0x574ba4._0x57f96d,_0x574ba4._0x53e956,_0x574ba4._0x555bcc,0x7ad)][_0x6471f4(_0x574ba4._0x10eb1e,_0x574ba4._0xef0333,_0x574ba4._0x2edb7a,_0x574ba4._0x1966f4)]+0x1);})[_0x2f7f13(_0x300d9e._0x33f1d6,0x2e3,0x39c,0x3a8)]('\x0a');}function formatDiagnostics(_0x4298d9){const _0x103209={_0xe706d1:0x5e5,_0x3eb561:0x6de,_0x815294:0x426,_0x374881:0x523,_0x285510:0x696,_0x383c6c:0x555,_0x510d42:0x620,_0x5996c5:0x593},_0x203b8b={_0x14ee58:0x1bb,_0x2a9de9:0x89,_0x59a4ab:0x53,_0x27cb9c:0x357,_0x3c493c:0x3c7,_0x26ce7b:0x3f1,_0x4c2b32:0x2b9,_0x446701:0x11e,_0x24277b:0x141,_0x3b2c1a:0x24e,_0x4db99d:0x2d1},_0x163ebd={_0x3e2e9f:0xab},_0x5a5370={_0x35e91d:0xb9};if(_0x4298d9[_0x53dfcd(0x49f,0x5ca,_0x103209._0xe706d1,_0x103209._0x3eb561)]===0x0)return _0x34052b(_0x103209._0x815294,0x2fb,0x482,0x3a0);function _0x53dfcd(_0x72d486,_0x5dc4a2,_0x45ed0e,_0x57a974){return _0x4d40c0(_0x72d486-0x1f2,_0x5dc4a2-0x68a,_0x45ed0e-_0x5a5370._0x35e91d,_0x45ed0e);}function _0x34052b(_0x463c88,_0xc77919,_0x349be4,_0x235efa){return _0x4d40c0(_0x463c88-0x119,_0x463c88-0x66d,_0x349be4-_0x163ebd._0x3e2e9f,_0x235efa);}return _0x4298d9[_0x53dfcd(_0x103209._0x374881,0x696,0x7bb,_0x103209._0x285510)](_0x26bb96=>{const _0x54a2ed=_0x26bb96[_0x4c8376(0x8b,_0x203b8b._0x14ee58,_0x203b8b._0x2a9de9,_0x203b8b._0x59a4ab)][_0x4c8376(_0x203b8b._0x27cb9c,_0x203b8b._0x3c493c,_0x203b8b._0x26ce7b,_0x203b8b._0x4c2b32)];function _0x141c5e(_0x160aef,_0x5bf58d,_0xf76163,_0x237da4){return _0x53dfcd(_0x160aef-0x19a,_0x160aef- -0x706,_0x237da4,_0x237da4-0x102);}function _0x4c8376(_0x45a610,_0x54d58e,_0x4ded51,_0x59803b){return _0x53dfcd(_0x45a610-0x135,_0x54d58e- -0x2be,_0x4ded51,_0x59803b-0x1c6);}return severityName(_0x26bb96[_0x141c5e(-_0x203b8b._0x446701,-_0x203b8b._0x24277b,-0x1f2,-_0x203b8b._0x3b2c1a)])+'\x20['+(_0x54a2ed[_0x4c8376(_0x203b8b._0x4db99d,0x296,0x237,0x2e7)]+0x1)+':'+(_0x54a2ed['character']+0x1)+']\x20'+_0x26bb96['message'];})[_0x34052b(0x692,_0x103209._0x383c6c,_0x103209._0x510d42,_0x103209._0x5996c5)]('\x0a');}function formatIncomingCalls(_0x447cfc){const _0x389b86={_0x436efd:0x20d,_0x31ea14:0x25c,_0x2001d0:0x23a,_0x2458f1:0x2f,_0x249487:0x24b,_0x56dfdc:0x2cf,_0x3038f3:0x16c},_0x5a4d1a={_0x22877e:0x103,_0x847f82:0x32},_0x928584={_0x3ae88b:0x196,_0x53ca81:0xc1};function _0x529956(_0x364c86,_0x3e6e77,_0x1662a0,_0x5c8387){return _0xf90728(_0x3e6e77,_0x3e6e77-_0x928584._0x3ae88b,_0x364c86- -0x1c0,_0x5c8387-_0x928584._0x53ca81);}if(_0x447cfc[_0x39e8c4(0x17f,_0x389b86._0x436efd,0x2ea,0x2a1)]===0x0)return _0x529956(-0x14a,-_0x389b86._0x31ea14,-_0x389b86._0x2001d0,-_0x389b86._0x2458f1);function _0x39e8c4(_0x40dcc7,_0x308564,_0x434896,_0xbff325){return _0x4d40c0(_0x40dcc7-_0x5a4d1a._0x22877e,_0x40dcc7-0x23f,_0x434896-_0x5a4d1a._0x847f82,_0xbff325);}return _0x447cfc[_0x39e8c4(_0x389b86._0x249487,0xec,_0x389b86._0x56dfdc,0x20d)](_0x5ee677=>_0x5ee677[_0x529956(-0x26a,-0x2a2,-0x2e0,-0x3ba)][_0x529956(-0x281,-0x3ab,-0x15a,-0x164)])[_0x39e8c4(0x264,0x213,0x241,_0x389b86._0x3038f3)]('\x0a');}function formatOutgoingCalls(_0x17667e){const _0x259058={_0x53b939:0x3d4,_0x15700c:0x56e,_0x2c6ff0:0x527,_0x2bf75e:0x674},_0x19c942={_0x8810a3:0x120,_0x739669:0x45d};function _0x48ce49(_0x63f840,_0x5da238,_0x119861,_0x17236d){return _0x4d40c0(_0x63f840-0x88,_0x5da238-0x576,_0x119861-0x3f,_0x119861);}function _0x434162(_0x4fe3d9,_0x555758,_0x339be1,_0x2a8d02){return _0xf90728(_0x555758,_0x555758-_0x19c942._0x8810a3,_0x339be1-_0x19c942._0x739669,_0x2a8d02-0x57);}if(_0x17667e[_0x434162(0x468,_0x259058._0x53b939,0x4e3,0x476)]===0x0)return'No\x20call\x20hierarchy\x20results';return _0x17667e[_0x434162(_0x259058._0x15700c,_0x259058._0x2c6ff0,0x5af,_0x259058._0x2bf75e)](_0x1ca8b4=>_0x1ca8b4['to'][_0x48ce49(0x258,0x36f,0x4a3,0x338)])['join']('\x0a');}function toStructured(_0x7b92b8){const _0x1b8dd4={_0x4eaa4a:0x5b9,_0x384c0a:0x634,_0x39116c:0x592,_0x1d79de:0x44a,_0x3005f0:0x44f,_0x25e5e2:0x4fe},_0x54c9a3={_0x2310af:0xc2},_0x3c90d8={_0x215c73:0xbb,_0x2a4930:0x419,_0x581d28:0x14e};function _0x39cdcd(_0x1db9ee,_0x1e7392,_0x4d451e,_0x276ab4){return _0xf90728(_0x1e7392,_0x1e7392-_0x3c90d8._0x215c73,_0x276ab4-_0x3c90d8._0x2a4930,_0x276ab4-_0x3c90d8._0x581d28);}function _0x5023d6(_0x1db9c6,_0x704de8,_0x1a5ef2,_0x52a230){return _0xf90728(_0x52a230,_0x704de8-_0x54c9a3._0x2310af,_0x1db9c6-0x306,_0x52a230-0x180);}return JSON[_0x39cdcd(_0x1b8dd4._0x4eaa4a,_0x1b8dd4._0x384c0a,_0x1b8dd4._0x39116c,0x4bc)](JSON[_0x39cdcd(0x5af,_0x1b8dd4._0x1d79de,_0x1b8dd4._0x3005f0,_0x1b8dd4._0x25e5e2)](_0x7b92b8));}async function assertFile(_0x7cb0d9){const _0x19ff15={_0x20241f:0x2a7,_0x45280d:0xa4,_0x58b68a:0xb9},_0x1dc37={_0x2e4b9c:0x100,_0x32c98c:0x1f2},_0x414766={_0x4e6695:0xfb};function _0x3f4b00(_0x2f8778,_0x5a5b58,_0xaa2eef,_0x152255){return _0xf90728(_0xaa2eef,_0x5a5b58-0x1f1,_0x5a5b58- -0x59,_0x152255-_0x414766._0x4e6695);}function _0x2fe8a5(_0x26d426,_0x464387,_0x51747e,_0x2a6203){return _0x4d40c0(_0x26d426-_0x1dc37._0x2e4b9c,_0x464387-0x4db,_0x51747e-_0x1dc37._0x32c98c,_0x26d426);}const _0x4d1cf0=await _0x3f7604(_0x7cb0d9);if(!_0x4d1cf0[_0x2fe8a5(0x3e7,0x286,0x128,_0x19ff15._0x20241f)]())throw new ToolExecutionError(_0x3f4b00(0x156,_0x19ff15._0x45280d,0x7e,_0x19ff15._0x58b68a)+_0x7cb0d9,{'path':_0x7cb0d9});}function validatePosition(_0x1a3a78,_0x15d638){const _0x294711={_0x44dd87:0x1f2,_0x3534f3:0x561,_0x966c22:0x69b,_0x2dc5fe:0x66c},_0xbf4cfe={_0xe61bf3:0x310,_0x1ad4ca:0x33},_0x3d3109={_0x579e3b:0x1b5,_0x261d08:0x5ad,_0xe15dbf:0xd5};if(!Number['isInteger'](_0x1a3a78)||_0x1a3a78<0x1)throw new ToolExecutionError(_0x352233(0x1ba,0x1f5,0x263,0x1e3),{'line':_0x1a3a78});function _0x4440f5(_0x29df06,_0x6966c8,_0xcce970,_0x446ccc){return _0xf90728(_0x6966c8,_0x6966c8-_0x3d3109._0x579e3b,_0x29df06-_0x3d3109._0x261d08,_0x446ccc-_0x3d3109._0xe15dbf);}function _0x352233(_0x1f93be,_0x15444d,_0x6309e2,_0x202fff){return _0xf90728(_0x202fff,_0x15444d-0x1d7,_0x15444d-_0xbf4cfe._0xe61bf3,_0x202fff-_0xbf4cfe._0x1ad4ca);}if(!Number[_0x352233(0x26f,0x25e,_0x294711._0x44dd87,0xef)](_0x15d638)||_0x15d638<0x1)throw new ToolExecutionError(_0x4440f5(0x63a,_0x294711._0x3534f3,_0x294711._0x966c22,_0x294711._0x2dc5fe),{'character':_0x15d638});}function createLspTool(_0x3db72e={}){const _0x496283={_0x3ae607:0x2a5,_0x2a45ad:0x338,_0x574724:0x1fe,_0x4f2a9f:0xd1,_0x49983d:0x107,_0x52e989:0x24e,_0x2d3d5e:0x5a,_0x14ca24:0x77,_0x34d14b:0x29d,_0x30e46d:0x17e,_0x4e0232:0x138,_0xbf5377:0x41c,_0x35362d:0x631,_0x1ef848:0x15d,_0x588cd5:0x114,_0x4d230f:0x3f7,_0x2591a4:0x2ab,_0x11ea9f:0x474,_0x5c18f1:0x4a2,_0x355de2:0x575,_0x591794:0x5c1,_0x4a46ab:0x1a9,_0x11f2aa:0xd5,_0x579dca:0x24c,_0x540dc6:0x20,_0x20cbf5:0x30,_0x1131bf:0x15d,_0xfad7b7:0x1a9,_0x576add:0x2be,_0x38dbfd:0x222,_0x18a2fd:0x154,_0x2a569a:0x23a},_0x4f5ed7={_0x3374a6:0x109,_0x1f23e6:0x165,_0x34ca40:0x27d,_0xd01dda:0x32d,_0xcc282d:0x1d4,_0x28c374:0x16b,_0xbef71d:0x78,_0x4644b6:0xca,_0x1b6c8f:0x68,_0x59955d:0x165,_0x4c624a:0x171,_0x2098e7:0x12b,_0x48c073:0x24c,_0x307c69:0x17e,_0x447b89:0x294,_0x329e4f:0xb7,_0x4b06e4:0x1aa,_0x3124b0:0x168,_0x494a81:0xae,_0x2464fb:0xbf,_0x19c515:0xae,_0x45d013:0xef,_0x2c1baf:0x1d2,_0x42f9c0:0x1fb,_0x14952c:0x1f2,_0x53899e:0x261,_0x5bb491:0x1ba,_0x610af2:0x37a,_0x48b957:0x159,_0x19b45e:0x1b,_0x4420e7:0x96,_0x403531:0x138,_0x6bfe47:0x52,_0x36bf41:0x10a,_0x28b551:0xc0,_0x39ce40:0xf1,_0x2bae20:0x14,_0xc9dbc9:0x1ab,_0x251fb9:0x112,_0x263c1f:0xcf,_0x5a811d:0xe5,_0x403cd1:0x9d,_0x5c5f98:0x23f,_0x484af2:0x1de,_0x3e55f1:0x26b,_0xad5b01:0x3c9,_0x2f65e6:0x2e9,_0x558255:0x1a1,_0xc8fdde:0xd1,_0x1bac9c:0xf0,_0x141a17:0x14e,_0x23201e:0x128,_0x13dca3:0x103,_0x307afa:0x3,_0x598f0b:0x222},_0x286e12={_0x578bee:0x174},_0x28e186={_0x4f8b7d:0x3,_0x2d4df8:0x538,_0x52c2b3:0xbd},_0xda5e95={_0x53d657:0x279,_0x198fe1:0x162};function _0x226624(_0x26bb36,_0x1a6ffc,_0xa590b5,_0x44006b){return _0x4d40c0(_0x26bb36-0x74,_0xa590b5-_0xda5e95._0x53d657,_0xa590b5-_0xda5e95._0x198fe1,_0x44006b);}const _0xced839=_0x3a6466[_0x2303a4(_0x496283._0x3ae607,0x362,_0x496283._0x2a45ad,0x45b)](_0x3db72e[_0x226624(_0x496283._0x574724,0x195,_0x496283._0x4f2a9f,_0x496283._0x49983d)]??process[_0x226624(0x100,0x285,0x183,_0x496283._0x52e989)]()),_0x23ec29=_0x3db72e['allowedDirs']??[];function _0x2303a4(_0x99e38e,_0x16cd6d,_0x38108c,_0x299c10){return _0x4d40c0(_0x99e38e-_0x28e186._0x4f8b7d,_0x16cd6d-_0x28e186._0x2d4df8,_0x38108c-_0x28e186._0x52c2b3,_0x99e38e);}const _0x1368e1=_0x3db72e[_0x226624(0xbf,_0x496283._0x2d3d5e,0x72,_0x496283._0x14ca24)]??'Lsp';return defineTool({'name':_0x1368e1,'description':_0x2303a4(0x2d5,_0x496283._0x34d14b,_0x496283._0x30e46d,_0x496283._0x4e0232),'inputSchema':{'type':'object','properties':{'operation':{'type':_0x2303a4(0x3b1,_0x496283._0xbf5377,0x315,0x478),'enum':[_0x2303a4(0x40c,0x4d5,0x3f7,_0x496283._0x35362d),_0x2303a4(0x3f5,0x435,0x3a0,0x4f7),'hover',_0x226624(_0x496283._0x1ef848,-0x59,0x1b,-_0x496283._0x588cd5),_0x2303a4(0x3b0,0x39b,_0x496283._0x4d230f,_0x496283._0x2591a4),'goToImplementation',_0x2303a4(0x558,_0x496283._0x11ea9f,_0x496283._0x2a45ad,0x3a3),_0x2303a4(0x558,_0x496283._0x5c18f1,_0x496283._0x355de2,_0x496283._0x591794),_0x2303a4(0x39f,0x323,0x20a,0x2cf),'diagnostics']},'filePath':{'type':_0x226624(_0x496283._0x4a46ab,_0x496283._0x11f2aa,0x15d,_0x496283._0x579dca)},'line':{'type':_0x226624(0xe9,_0x496283._0x540dc6,-_0x496283._0x20cbf5,-0x10a)},'character':{'type':'number'},'query':{'type':_0x226624(0x162,0x19a,_0x496283._0x1131bf,0x1)}},'required':[_0x2303a4(_0x496283._0xfad7b7,_0x496283._0x576add,0x407,0x298),_0x226624(_0x496283._0x38dbfd,0x1d8,0x1e9,0x7f),'line',_0x226624(0x27e,0x9a,_0x496283._0x18a2fd,_0x496283._0x2a569a)]},async *'execute'(_0x41c819){const _0x2c5190={_0x2d186c:0x326,_0x231466:0xf3,_0x1754aa:0x20};function _0x49c261(_0x95f06e,_0x290488,_0x5cc931,_0x540ead){return _0x2303a4(_0x5cc931,_0x95f06e- -_0x2c5190._0x2d186c,_0x5cc931-_0x2c5190._0x231466,_0x540ead-_0x2c5190._0x1754aa);}function _0x12097b(_0x95927e,_0x360af7,_0x4c8646,_0x15360b){return _0x2303a4(_0x15360b,_0x360af7- -0x545,_0x4c8646-0xb2,_0x15360b-_0x286e12._0x578bee);}const _0x106cd6=_0x3db72e[_0x12097b(-_0x4f5ed7._0x3374a6,-0x198,-_0x4f5ed7._0x1f23e6,-_0x4f5ed7._0x34ca40)];if(!_0x106cd6)throw new ToolExecutionError(_0x12097b(-_0x4f5ed7._0xd01dda,-_0x4f5ed7._0xcc282d,-0xac,-_0x4f5ed7._0x28c374));if(!_0x106cd6['isEnabled']())throw new ToolExecutionError(_0x12097b(-0xe2,-0xf4,-_0x4f5ed7._0xbef71d,-_0x4f5ed7._0x4644b6));const _0x171895=_0x41c819[_0x49c261(-_0x4f5ed7._0x1b6c8f,0x67,-_0x4f5ed7._0x59955d,-0xc5)];validatePosition(_0x41c819['line'],_0x41c819['character']);if(_0x171895==='workspaceSymbol'){if(!_0x41c819[_0x49c261(_0x4f5ed7._0x4c624a,0x1b7,_0x4f5ed7._0x2098e7,_0x4f5ed7._0x48c073)]?.['trim']())throw new ToolExecutionError(_0x49c261(_0x4f5ed7._0x307c69,0xb9,0x26e,_0x4f5ed7._0x447b89));const _0x4266ad=await _0x106cd6[_0x12097b(-_0x4f5ed7._0x329e4f,-_0x4f5ed7._0x4b06e4,-0x2e7,-_0x4f5ed7._0x3124b0)](_0x41c819[_0x12097b(0x41,-_0x4f5ed7._0x494a81,0x63,0x53)][_0x49c261(_0x4f5ed7._0x2464fb,0x232,-0x91,_0x4f5ed7._0x4b06e4)]());return yield createToolOutput(formatSymbols(_0x4266ad),{'operation':_0x171895,'query':_0x41c819[_0x12097b(-0x1ab,-_0x4f5ed7._0x19c515,-_0x4f5ed7._0x45d013,0x7)],'symbols':_0x4266ad}),void 0x0;}const _0x53d835=resolveAllowedPath(_0xced839,_0x23ec29,_0x41c819[_0x49c261(0x182,0x16f,0x2f7,_0x4f5ed7._0x2c1baf)]);await assertFile(_0x53d835);if(!await _0x106cd6[_0x49c261(_0x4f5ed7._0x42f9c0,0xf7,0x1b8,0x26b)](_0x53d835))throw new ToolExecutionError('No\x20LSP\x20server\x20available\x20for\x20file:\x20'+_0x41c819['filePath'],{'filePath':_0x41c819['filePath']});await _0x106cd6[_0x49c261(_0x4f5ed7._0x14952c,_0x4f5ed7._0x53899e,0x112,0x18c)](_0x53d835,!![]);const _0xf21181={'file':_0x53d835,'line':_0x41c819[_0x12097b(-0xd1,-0x143,0x2e,-0x113)]-0x1,'character':_0x41c819[_0x12097b(-0x1e3,-0x132,-_0x4f5ed7._0x5bb491,-0x20a)]-0x1};switch(_0x171895){case _0x49c261(0x227,_0x4f5ed7._0x610af2,0x2ad,_0x4f5ed7._0x48b957):{const _0x817c07=await _0x106cd6[_0x49c261(0x227,0x104,0x215,0x305)](_0xf21181);return yield createToolOutput(formatHover(_0x817c07),{'operation':_0x171895,'filePath':_0x53d835,'hover':_0x817c07}),void 0x0;}case _0x12097b(-0x161,-_0x4f5ed7._0x19b45e,_0x4f5ed7._0x4420e7,_0x4f5ed7._0x403531):{const _0x43365a=await _0x106cd6[_0x49c261(-_0x4f5ed7._0x6bfe47,-0x9e,0x3f,-_0x4f5ed7._0x36bf41)](_0x53d835);return yield createToolOutput(formatDiagnostics(_0x43365a),{'operation':_0x171895,'filePath':_0x53d835,'diagnostics':_0x43365a}),void 0x0;}case _0x12097b(-_0x4f5ed7._0x28b551,-0x70,_0x4f5ed7._0x39ce40,-0xd0):{const _0x2bf587=await _0x106cd6['definition'](_0xf21181);return yield createToolOutput(formatLocations(_0x2bf587),{'operation':_0x171895,'filePath':_0x53d835,'locations':_0x2bf587}),void 0x0;}case _0x49c261(0x10f,0x18c,-0x1d,_0x4f5ed7._0x2bae20):{const _0x26665c=await _0x106cd6[_0x12097b(-_0x4f5ed7._0xc9dbc9,-0x40,0x8a,-_0x4f5ed7._0x251fb9)](_0xf21181);return yield createToolOutput(formatLocations(_0x26665c),{'operation':_0x171895,'filePath':_0x53d835,'locations':_0x26665c}),void 0x0;}case _0x49c261(0x89,-0x3,0xbf,_0x4f5ed7._0x263c1f):{const _0x7d8951=await _0x106cd6[_0x49c261(_0x4f5ed7._0x5a811d,_0x4f5ed7._0x403cd1,-0x2d,_0x4f5ed7._0x5c5f98)](_0xf21181);return yield createToolOutput(formatLocations(_0x7d8951),{'operation':_0x171895,'filePath':_0x53d835,'locations':_0x7d8951}),void 0x0;}case _0x12097b(-0x1b1,-0x26b,-0x232,-_0x4f5ed7._0x484af2):{const _0x41d52a=await _0x106cd6[_0x12097b(-0x289,-_0x4f5ed7._0x3e55f1,-_0x4f5ed7._0xad5b01,-_0x4f5ed7._0x2f65e6)](_0x53d835);return yield createToolOutput(formatSymbols(_0x41d52a),{'operation':_0x171895,'filePath':_0x53d835,'symbols':_0x41d52a}),void 0x0;}case _0x12097b(-_0x4f5ed7._0x558255,-_0x4f5ed7._0xc8fdde,-0xc7,-_0x4f5ed7._0x1bac9c):{const _0x2f8e35=await _0x106cd6[_0x49c261(_0x4f5ed7._0x141a17,_0x4f5ed7._0x23201e,0xc8,_0x4f5ed7._0x13dca3)](_0xf21181);return yield createToolOutput(formatSymbols(_0x2f8e35),{'operation':_0x171895,'filePath':_0x53d835,'symbols':toStructured(_0x2f8e35)}),void 0x0;}case'incomingCalls':{const _0x26e6e0=await _0x106cd6[_0x12097b(-0x8,-0xa3,0x61,-0x18e)](_0xf21181);return yield createToolOutput(formatIncomingCalls(_0x26e6e0),{'operation':_0x171895,'filePath':_0x53d835,'calls':toStructured(_0x26e6e0)}),void 0x0;}case _0x49c261(-_0x4f5ed7._0x307afa,-0x12b,-0xd2,-0x13a):{const _0x2f728f=await _0x106cd6[_0x12097b(-0x371,-_0x4f5ed7._0x598f0b,-0x28e,-0x269)](_0xf21181);return yield createToolOutput(formatOutgoingCalls(_0x2f728f),{'operation':_0x171895,'filePath':_0x53d835,'calls':toStructured(_0x2f728f)}),void 0x0;}}}});}import{randomUUID as _0xc325aa}from'crypto';import{mkdir as _0x41bfad,readFile as _0x598d96,writeFile as _0x6d7f72}from'fs/promises';import{join as _0x27bce9}from'path';function sanitizeStorageKey(_0x5eb0ab){const _0x2f0209={_0x5489a9:0x39,_0x205e7e:0x88,_0x2b96da:0xc1,_0x353d19:0x4aa,_0x4e3aee:0x413},_0x2228c1={_0x38eb9d:0x85},_0x4ca670={_0x267348:0x1a,_0x358644:0x451};function _0x36df2f(_0x5d585f,_0x2f59e2,_0xc6fd5b,_0x18cb13){return _0x4d40c0(_0x5d585f-_0x4ca670._0x267348,_0x18cb13-_0x4ca670._0x358644,_0xc6fd5b-0xc,_0x2f59e2);}function _0x148b99(_0x5b4ae5,_0x247b14,_0x27f735,_0x372253){return _0x4d40c0(_0x5b4ae5-_0x2228c1._0x38eb9d,_0x5b4ae5-0x1e4,_0x27f735-0xc,_0x27f735);}return _0x5eb0ab[_0x148b99(-_0x2f0209._0x5489a9,_0x2f0209._0x205e7e,-0x9c,_0x2f0209._0x2b96da)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0x36df2f(0x4b7,_0x2f0209._0x353d19,_0x2f0209._0x4e3aee,0x44f);}function storagePath(_0x31df66){const _0x43c294={_0x2d4762:0x4ea,_0x5a9b7c:0xdb,_0x204e99:0x146,_0x4cc360:0x7b,_0x5541d6:0x5c2,_0x294e80:0x13a,_0x110e0c:0x1aa,_0x3dac01:0x254},_0x186e00={_0x475609:0x91,_0x3c9c81:0x70e},_0x82f59b={_0x2964d4:0x73};function _0x552743(_0x2fa557,_0x5cfffc,_0x4ba096,_0x3d724a){return _0xf90728(_0x3d724a,_0x5cfffc-0x38,_0x4ba096-_0x82f59b._0x2964d4,_0x3d724a-0x1d2);}function _0x438019(_0xdfc63,_0x507696,_0x26d3c0,_0x30b641){return _0x4d40c0(_0xdfc63-_0x186e00._0x475609,_0x507696-_0x186e00._0x3c9c81,_0x26d3c0-0xae,_0xdfc63);}const _0x99a7eb=sanitizeStorageKey(_0x31df66[_0x438019(0x48c,_0x43c294._0x2d4762,0x3ab,0x3a7)][_0x552743(_0x43c294._0x5a9b7c,0x4e,0xf7,0x1e9)]?.['tokenStorageKey']??_0x31df66[_0x552743(_0x43c294._0x204e99,0x38,0x67,_0x43c294._0x4cc360)]);return _0x27bce9(_0x31df66[_0x438019(0x6ea,0x66f,0x652,_0x43c294._0x5541d6)],_0x99a7eb+_0x552743(0x90,_0x43c294._0x294e80,_0x43c294._0x110e0c,_0x43c294._0x3dac01));}async function readStore(_0x387660){const _0x20f7f9={_0x1b1d4a:0x7b,_0x42491c:0x39,_0x3e416f:0x121,_0x4aaf4b:0x11e,_0x3f5696:0xc,_0x241dd5:0x631,_0x1357dd:0x69f,_0x59b2df:0x346,_0x45ffa4:0x1d0,_0x1205cc:0x1ce},_0x1411c5={_0xce9649:0x130,_0x22d95e:0x4c},_0x3567ba={_0x48c77e:0x55,_0x5533aa:0x6a3};function _0x230a6d(_0x56be92,_0x216600,_0x2125d3,_0x8d5aba){return _0x4d40c0(_0x56be92-_0x3567ba._0x48c77e,_0x2125d3-_0x3567ba._0x5533aa,_0x2125d3-0x32,_0x216600);}function _0x881994(_0x20897f,_0x2a1b75,_0x2f68be,_0x3ec6c5){return _0xf90728(_0x2f68be,_0x2a1b75-0xad,_0x3ec6c5- -_0x1411c5._0xce9649,_0x3ec6c5-_0x1411c5._0x22d95e);}try{return JSON[_0x881994(-_0x20f7f9._0x1b1d4a,-_0x20f7f9._0x42491c,-_0x20f7f9._0x3e416f,-0x8d)](await _0x598d96(_0x387660,_0x881994(-_0x20f7f9._0x4aaf4b,0x136,-_0x20f7f9._0x3f5696,0x41)));}catch(_0xd0d747){if(_0xd0d747 instanceof Error&&_0x230a6d(_0x20f7f9._0x241dd5,0x7bb,_0x20f7f9._0x1357dd,0x6fd)in _0xd0d747&&_0xd0d747[_0x230a6d(0x743,0x551,_0x20f7f9._0x1357dd,0x538)]===_0x881994(-_0x20f7f9._0x59b2df,-0x137,-_0x20f7f9._0x45ffa4,-_0x20f7f9._0x1205cc))return{};throw _0xd0d747;}}async function writeStore(_0x24b4ab,_0x42c736){const _0x1f7cf7={_0x544867:0xfb,_0x29c2ea:0x22,_0x369a5c:0x142,_0x4b73be:0x2d,_0x2bea1e:0x2f1,_0x2d130c:0x14},_0x131307={_0x397831:0xcb,_0x361383:0x16};function _0x4f47c9(_0x26ca36,_0x5a2283,_0x5d3a6e,_0x55a469){return _0xf90728(_0x55a469,_0x5a2283-0x1d3,_0x5d3a6e-0x34d,_0x55a469-0x1b);}function _0x2426df(_0x21745f,_0x247bb6,_0x3327f4,_0x5dea9d){return _0xf90728(_0x5dea9d,_0x247bb6-_0x131307._0x397831,_0x21745f-_0x131307._0x361383,_0x5dea9d-0x33);}await _0x41bfad(_0x27bce9(_0x24b4ab,'..'),{'recursive':!![]}),await _0x6d7f72(_0x24b4ab,JSON[_0x2426df(_0x1f7cf7._0x544867,-_0x1f7cf7._0x29c2ea,_0x1f7cf7._0x369a5c,_0x1f7cf7._0x4b73be)](_0x42c736,null,0x2),_0x2426df(0x187,0x9b,_0x1f7cf7._0x2bea1e,_0x1f7cf7._0x2d130c));}async function updateStore(_0x20346a,_0x52ed61){const _0x2b8cdb=await readStore(_0x20346a);_0x52ed61(_0x2b8cdb),await writeStore(_0x20346a,_0x2b8cdb);}function createMcpOAuthProvider(_0x54af5d){const _0x5e9d5c={_0x48d235:0x97,_0x3ca365:0x19c,_0x57f791:0x4e,_0x1ffc1d:0x1e,_0xb6266a:0x221,_0x5f43a0:0x2f2,_0x2df8d1:0x19e,_0x130639:0xe0,_0x3ba781:0x92,_0x4d26aa:0xec,_0xcb5039:0x29,_0x4caa7c:0x102,_0x27e713:0xb1,_0x348ee5:0x13e,_0x64f4c3:0x97,_0x4dc2ee:0xc6,_0x2ee21e:0x145},_0x1d0eb2={_0x3283af:0x1d2,_0x31b190:0x649,_0x8a4db0:0x4e1,_0x4a1f14:0x39a,_0x21d4f9:0x2c9,_0x2620e8:0x396,_0x18eca7:0x5c0,_0xfe9b6a:0x571,_0x3f1662:0x59d,_0x51a052:0x61c,_0x453fe1:0x329},_0x5e89bd={_0x17c2fa:0x89,_0x4125a6:0x5e,_0xf47637:0x105,_0x549df2:0x4},_0x4bf8a6={_0x2f20de:0x2a,_0x1fd15f:0x19},_0x456053={_0x55a87d:0x3d,_0x3e8a14:0x118,_0x1c79bd:0x54},_0x23956b={_0x2c8ebc:0x291},_0x5beb5f={_0x298da7:0x12a,_0x3486ba:0x169,_0x3515a6:0x286,_0x24eeed:0x1da},_0x1b3685={_0x237a50:0x2b2,_0x206022:0x28b},_0x40ffbc={_0x32cf88:0x71,_0x3b569d:0x16},_0x5b9caa={_0x54049a:0x14a,_0x512dc6:0x18d,_0x49b8aa:0x137},_0x592e43={_0x292acf:0x139},_0x25e82d=storagePath(_0x54af5d);function _0x2dafeb(_0x86980b,_0x133266,_0x5cbadc,_0xf49815){return _0xf90728(_0x5cbadc,_0x133266-0x18b,_0x86980b-0x202,_0xf49815-_0x592e43._0x292acf);}function _0xc0ee62(_0x235926,_0x2a1423,_0x3b7dc8,_0x4f9b96){return _0x4d40c0(_0x235926-_0x5b9caa._0x54049a,_0x235926-_0x5b9caa._0x512dc6,_0x3b7dc8-_0x5b9caa._0x49b8aa,_0x3b7dc8);}const _0x1a5445=_0x54af5d[_0xc0ee62(-_0x5e9d5c._0x48d235,-_0x5e9d5c._0x3ca365,-0x201,_0x5e9d5c._0x57f791)][_0xc0ee62(0xcb,-_0x5e9d5c._0x1ffc1d,-0x63,0xbf)]?.[_0x2dafeb(0x379,0x35f,_0x5e9d5c._0xb6266a,_0x5e9d5c._0x5f43a0)]?.[_0xc0ee62(0x1b2,0xc7,_0x5e9d5c._0x2df8d1,0x1fa)]('\x20'),_0x3aada4={'client_name':'Nuvin','redirect_uris':[_0x54af5d['callbackUrl']],'grant_types':[_0x2dafeb(0x1e5,_0x5e9d5c._0x130639,0x24a,0x13a),_0xc0ee62(-_0x5e9d5c._0x3ba781,0x7c,-_0x5e9d5c._0x4d26aa,-0x1a7)],'response_types':[_0xc0ee62(0x189,0xdb,_0x5e9d5c._0xcb5039,0x132)],'token_endpoint_auth_method':_0xc0ee62(0x5,-_0x5e9d5c._0x4caa7c,_0x5e9d5c._0x27e713,-_0x5e9d5c._0x348ee5),..._0x1a5445?{'scope':_0x1a5445}:{}};return{'clientMetadataUrl':_0x54af5d[_0xc0ee62(-_0x5e9d5c._0x64f4c3,-_0x5e9d5c._0x4dc2ee,-_0x5e9d5c._0x2ee21e,-0x170)]['oauth']?.['clientMetadataUrl'],get 'redirectUrl'(){function _0x4fa1bc(_0x1416a4,_0x17b55a,_0x5b56df,_0x3dc360){return _0x2dafeb(_0x1416a4-0x130,_0x17b55a-_0x40ffbc._0x32cf88,_0x5b56df,_0x3dc360-_0x40ffbc._0x3b569d);}return _0x54af5d[_0x4fa1bc(0x2f2,0x1cd,_0x1b3685._0x237a50,_0x1b3685._0x206022)];},get 'clientMetadata'(){return _0x3aada4;},async 'state'(){const _0x445594={_0x4cb480:0xb,_0x1c03b0:0x16f},_0xdbeed7=await readStore(_0x25e82d);if(_0xdbeed7[_0x414bf8(_0x5beb5f._0x298da7,_0x5beb5f._0x3486ba,_0x5beb5f._0x3515a6,_0x5beb5f._0x24eeed)])return _0xdbeed7['state'];const _0x24d8f5=_0xc325aa();function _0x414bf8(_0x306a68,_0x3ef325,_0x274fd8,_0x1d4da4){return _0xc0ee62(_0x1d4da4-0x19c,_0x3ef325-_0x445594._0x4cb480,_0x3ef325,_0x1d4da4-_0x445594._0x1c03b0);}return await updateStore(_0x25e82d,_0x56b564=>{const _0x2ae7e0={_0x5984c8:0x9d};function _0x3d3b7b(_0x203e6e,_0x40b4fe,_0x126fee,_0x30516a){return _0x414bf8(_0x203e6e-0xfb,_0x30516a,_0x126fee-_0x2ae7e0._0x5984c8,_0x203e6e- -0x3d);}_0x56b564[_0x3d3b7b(0x19d,0x13e,0x137,0x1ff)]=_0x24d8f5;}),_0x24d8f5;},async 'clientInformation'(){const _0x3cd318={_0x5e8b4e:0x185};function _0x59f678(_0x4d7ef1,_0x41bd3b,_0x4de6fa,_0x2241e0){return _0xc0ee62(_0x41bd3b-0x1f2,_0x41bd3b-_0x3cd318._0x5e8b4e,_0x4de6fa,_0x2241e0-0x18b);}return(await readStore(_0x25e82d))[_0x59f678(_0x23956b._0x2c8ebc,0x1a0,0x172,0x2b3)];},async 'saveClientInformation'(_0x3b0b57){const _0x310b7e={_0x12bfeb:0x12b,_0x336b8b:0x1a};await updateStore(_0x25e82d,_0x3ad558=>{function _0x2d3eea(_0xdc2fbc,_0x3bf685,_0x1815b6,_0x5ddb9e){return _0x3eab(_0xdc2fbc- -0x3f,_0x5ddb9e);}_0x3ad558[_0x2d3eea(_0x310b7e._0x12bfeb,0x17d,-0x12,_0x310b7e._0x336b8b)]=_0x3b0b57;});},async 'tokens'(){const _0x3f60cc={_0x11715f:0xcf,_0x5a7a87:0x53};function _0x556f97(_0x2cb15a,_0x3da158,_0x268a09,_0x1f68cf){return _0xc0ee62(_0x3da158- -0x36,_0x3da158-_0x3f60cc._0x11715f,_0x2cb15a,_0x1f68cf-_0x3f60cc._0x5a7a87);}return(await readStore(_0x25e82d))[_0x556f97(-_0x456053._0x55a87d,-_0x456053._0x3e8a14,-0x99,_0x456053._0x1c79bd)];},async 'saveTokens'(_0x50e368){const _0x3a8d19={_0x85ebe6:0x1a1,_0x4df93b:0x179,_0x42b41a:0x2d3},_0x39d160={_0x2b75b9:0x27b};await updateStore(_0x25e82d,_0x5a8552=>{function _0x6919aa(_0x5b2e27,_0x3d1f61,_0x3a59aa,_0x4abafb){return _0x3eab(_0x3d1f61- -_0x39d160._0x2b75b9,_0x4abafb);}_0x5a8552[_0x6919aa(-0x2d7,-_0x3a8d19._0x85ebe6,-_0x3a8d19._0x4df93b,-_0x3a8d19._0x42b41a)]=_0x50e368;});},async 'redirectToAuthorization'(_0x549571){const _0x3c5806={_0x4a9bec:0x2f7,_0x21dc2c:0x16c,_0x5babae:0xdd};function _0x4cfcc4(_0x5374fc,_0x4b0088,_0x354ceb,_0x4cc86e){return _0x2dafeb(_0x5374fc- -_0x3c5806._0x4a9bec,_0x4b0088-_0x3c5806._0x21dc2c,_0x4cc86e,_0x4cc86e-_0x3c5806._0x5babae);}await _0x54af5d[_0x4cfcc4(0x69,0x35,_0x4bf8a6._0x2f20de,-_0x4bf8a6._0x1fd15f)](_0x549571);},async 'saveCodeVerifier'(_0x55b638){await updateStore(_0x25e82d,_0x12980b=>{const _0x4b1379={_0x3445e6:0x8c};function _0x47d89f(_0x2da798,_0x479ad4,_0x38da12,_0x335ca1){return _0x3eab(_0x2da798- -_0x4b1379._0x3445e6,_0x38da12);}_0x12980b[_0x47d89f(_0x5e89bd._0x17c2fa,-_0x5e89bd._0x4125a6,_0x5e89bd._0xf47637,-_0x5e89bd._0x549df2)]=_0x55b638;});},async 'codeVerifier'(){const _0x640fc5=(await readStore(_0x25e82d))['codeVerifier'];if(!_0x640fc5)throw new Error('No\x20MCP\x20OAuth\x20code\x20verifier\x20saved');return _0x640fc5;},async 'invalidateCredentials'(_0x24f13d){const _0x314595={_0x49d69b:0x377};await updateStore(_0x25e82d,_0x5ab141=>{function _0x196d1c(_0x1797aa,_0x4af9ed,_0x525cbb,_0x851de2){return _0x3eab(_0x851de2-_0x314595._0x49d69b,_0x1797aa);}function _0x3d2282(_0x570132,_0x46d1e0,_0x5e0e41,_0x2aac3f){return _0x3eab(_0x5e0e41-0x24,_0x46d1e0);}(_0x24f13d===_0x3d2282(0x334,0x3c3,0x2c9,_0x1d0eb2._0x3283af)||_0x24f13d==='client')&&(_0x5ab141[_0x196d1c(0x4ce,0x4a8,_0x1d0eb2._0x31b190,_0x1d0eb2._0x8a4db0)]=void 0x0),(_0x24f13d==='all'||_0x24f13d==='tokens')&&(_0x5ab141['tokens']=void 0x0),(_0x24f13d===_0x3d2282(_0x1d0eb2._0x4a1f14,0x3bc,_0x1d0eb2._0x21d4f9,0x3c5)||_0x24f13d===_0x3d2282(0x42f,_0x1d0eb2._0x2620e8,0x346,0x3df))&&(_0x5ab141[_0x196d1c(_0x1d0eb2._0x18eca7,0x497,0x3b3,0x48c)]=void 0x0,_0x5ab141[_0x196d1c(0x5ad,0x436,0x47a,_0x1d0eb2._0xfe9b6a)]=void 0x0),(_0x24f13d===_0x196d1c(_0x1d0eb2._0x3f1662,0x770,0x5bf,_0x1d0eb2._0x51a052)||_0x24f13d==='discovery')&&(_0x5ab141[_0x3d2282(_0x1d0eb2._0x453fe1,0x2fc,0x2f8,0x360)]=void 0x0);});},async 'saveDiscoveryState'(_0x1d0470){await updateStore(_0x25e82d,_0x5d402d=>{_0x5d402d['discoveryState']=_0x1d0470;});},async 'discoveryState'(){return(await readStore(_0x25e82d))['discoveryState'];}};}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(_0x9a743e,_0x3ce809){const _0x577423={_0x21f440:0x2fc},_0x1d0bad={_0x308b84:0x378};function _0x44ef90(_0x2810ae,_0x178620,_0x24d009,_0x4983bd){return _0xf90728(_0x4983bd,_0x178620-0x194,_0x24d009-0x2f5,_0x4983bd-0x149);}const _0x5c59ca=_0x554a02=>_0x554a02[_0x44ef90(0x355,0x2b5,0x21e,0x2b0)](/[^a-zA-Z0-9_]+/g,'_')[_0x44ef90(0x228,0x283,0x21e,0x1b4)](/^_+|_+$/g,'');function _0x41849e(_0x4be3cd,_0xeae59d,_0x348bc2,_0x31f36f){return _0x4d40c0(_0x4be3cd-0xcf,_0x4be3cd-_0x1d0bad._0x308b84,_0x348bc2-0x78,_0x348bc2);}return _0x41849e(0x308,_0x577423._0x21f440,0x324,0x349)+_0x5c59ca(_0x9a743e)+'_'+_0x5c59ca(_0x3ce809);}function isObject(_0xa81977){const _0x4679f0={_0x9bc5d9:0x283,_0x12456c:0x2ae},_0x406aa5={_0x114cb5:0xd9,_0x1ae6a7:0x2cd},_0x34899e={_0x435879:0x6b};function _0x3c2d0a(_0x5b3c46,_0x2549a3,_0x74db55,_0x195433){return _0xf90728(_0x74db55,_0x2549a3-_0x34899e._0x435879,_0x5b3c46-0x26a,_0x195433-0x33);}function _0x49b799(_0x5f283d,_0x1f4953,_0x4fc419,_0x1cc55f){return _0xf90728(_0x1f4953,_0x1f4953-_0x406aa5._0x114cb5,_0x5f283d-_0x406aa5._0x1ae6a7,_0x1cc55f-0x14d);}return typeof _0xa81977===_0x3c2d0a(0x2bd,_0x4679f0._0x9bc5d9,_0x4679f0._0x12456c,0x23b)&&_0xa81977!==null&&!Array[_0x3c2d0a(0x3ce,0x2fa,0x331,0x3e8)](_0xa81977);}function toSupportedSchema(_0x526ae3){const _0x47b1db={_0x4534cf:0xc7,_0x3d7822:0xb3,_0x22bc9a:0x189,_0x22e709:0x3,_0x5a78a2:0xb3,_0x25cbd6:0xa,_0x3237d9:0x1a1,_0x1dcfdd:0x5e2,_0x4f0655:0x4f4,_0x51f076:0x5c1,_0x419d88:0x277,_0x31217b:0x3e4,_0x3418f1:0x4f8,_0x44e2b2:0x389,_0x14a8d9:0x58e,_0x47115b:0x596,_0x2f9624:0x7db,_0x43879d:0x7af,_0x811af5:0x60d,_0x415652:0x66a,_0x49611e:0x6c6,_0x22e575:0x36,_0x8a7aa6:0x25,_0x45adc1:0xc,_0x1d6eb0:0x5b},_0x341efc={_0x515139:0x170},_0x1198dd={_0x25c8c1:0xea};if(!isObject(_0x526ae3))return void 0x0;function _0x2297f6(_0xfcdb05,_0x4ad348,_0x13df7f,_0x2affe8){return _0x4d40c0(_0xfcdb05-_0x1198dd._0x25c8c1,_0x13df7f-0x68d,_0x13df7f-0xe,_0x2affe8);}if(_0x526ae3['type']===_0x2930d8(_0x47b1db._0x4534cf,_0x47b1db._0x3d7822,0x100,_0x47b1db._0x22bc9a))return{'type':_0x2930d8(_0x47b1db._0x22e709,_0x47b1db._0x5a78a2,_0x47b1db._0x25cbd6,_0x47b1db._0x3237d9)};if(_0x526ae3[_0x2297f6(0x5b6,_0x47b1db._0x1dcfdd,_0x47b1db._0x4f0655,_0x47b1db._0x51f076)]===_0x2297f6(0x411,_0x47b1db._0x419d88,_0x47b1db._0x31217b,_0x47b1db._0x3418f1)||_0x526ae3['type']==='integer')return{'type':_0x2297f6(0x3f0,_0x47b1db._0x44e2b2,_0x47b1db._0x31217b,0x3ae)};function _0x2930d8(_0xa9f963,_0x2f975c,_0x3d2646,_0x4ffdd0){return _0xf90728(_0x4ffdd0,_0x2f975c-_0x341efc._0x515139,_0x2f975c-0x89,_0x4ffdd0-0x1e5);}if(_0x526ae3[_0x2297f6(_0x47b1db._0x14a8d9,_0x47b1db._0x47115b,0x4f4,0x496)]===_0x2297f6(_0x47b1db._0x2f9624,_0x47b1db._0x43879d,0x6c6,_0x47b1db._0x811af5))return{'type':_0x2297f6(_0x47b1db._0x415652,0x672,_0x47b1db._0x49611e,0x5aa)};if(_0x526ae3[_0x2930d8(0xb5,_0x47b1db._0x22e575,0x109,-0xee)]===_0x2930d8(_0x47b1db._0x8a7aa6,-_0x47b1db._0x45adc1,-0x129,0xf8))return{'type':_0x2930d8(0x7c,-0xc,-0x124,-_0x47b1db._0x1d6eb0),'items':toSupportedSchema(_0x526ae3[_0x2930d8(0xf3,0x8c,0x7c,-0xc8)])??{'type':_0x2297f6(0x6cb,0x546,0x571,0x479)}};if(_0x526ae3['type']==='object')return toNuvinToolSchema(_0x526ae3);return void 0x0;}function toNuvinToolSchema(_0x74bb4f){const _0x38c953={_0x31c9b0:0x38d,_0x2885ca:0x44d,_0x3038c6:0x462,_0x5904a8:0x59d,_0x8b4636:0x49,_0x37ae57:0xc2,_0x55f43e:0x1b2,_0x5dfd7a:0x31f,_0x2b4e31:0x463,_0x5a48a9:0x412,_0xc01eb6:0x16c,_0x973a7c:0x261,_0x2dd9ce:0x435,_0x557eec:0x5ac,_0x2ed3a3:0x93,_0x4b5405:0x42c,_0x2eba61:0x3a9,_0x4eb708:0x3ac,_0x56e17a:0x346,_0x16a71c:0x498,_0x18ac58:0x4dd,_0x7fc479:0x61a,_0x39a86d:0x4f3,_0x23280d:0x658,_0x2f2ec2:0x23,_0x182b2a:0x2e},_0x5f0cf9={_0x35e568:0x4a0,_0x10a385:0x11e},_0x126463={_0x5cd6c8:0xd7,_0x16f336:0x17b};if(!isObject(_0x74bb4f)||_0x74bb4f[_0x44a7ff(_0x38c953._0x31c9b0,_0x38c953._0x2885ca,_0x38c953._0x3038c6,_0x38c953._0x5904a8)]!==_0x29b9d7(-0x149,-_0x38c953._0x8b4636,-0xe2,-_0x38c953._0x37ae57))return{'type':_0x29b9d7(-_0x38c953._0x55f43e,0x5,-0x135,-0xc2),'properties':{}};function _0x29b9d7(_0x51b3e1,_0x3f11b5,_0x1fc1b9,_0x57a3ec){return _0x4d40c0(_0x51b3e1-_0x126463._0x5cd6c8,_0x57a3ec-0x31,_0x1fc1b9-_0x126463._0x16f336,_0x51b3e1);}function _0x44a7ff(_0x1df8dd,_0x21279b,_0x57f215,_0x14af2a){return _0xf90728(_0x14af2a,_0x21279b-0x1a1,_0x21279b-_0x5f0cf9._0x35e568,_0x14af2a-_0x5f0cf9._0x10a385);}const _0x5d5904={},_0x274696=isObject(_0x74bb4f[_0x44a7ff(_0x38c953._0x5dfd7a,_0x38c953._0x2b4e31,_0x38c953._0x5a48a9,0x37a)])?_0x74bb4f[_0x29b9d7(-_0x38c953._0xc01eb6,-0x1b1,-_0x38c953._0x973a7c,-0x152)]:{};for(const [_0x33b5bf,_0x253f78]of Object[_0x44a7ff(_0x38c953._0x2dd9ce,0x49b,0x45c,_0x38c953._0x557eec)](_0x274696)){const _0x1fd7bc=toSupportedSchema(_0x253f78);if(_0x1fd7bc)_0x5d5904[_0x33b5bf]=_0x1fd7bc;}const _0x48640e=Array[_0x29b9d7(-_0x38c953._0x2ed3a3,0x11b,0x30,0x4f)](_0x74bb4f[_0x44a7ff(0x2d5,_0x38c953._0x4b5405,_0x38c953._0x2eba61,_0x38c953._0x4eb708)])?_0x74bb4f[_0x44a7ff(_0x38c953._0x56e17a,0x42c,0x43d,0x4dc)][_0x44a7ff(0x3e2,_0x38c953._0x16a71c,0x3f6,_0x38c953._0x18ac58)](_0x4345b6=>typeof _0x4345b6===_0x44a7ff(0x4d7,0x4ca,0x599,0x620)):void 0x0;return _0x48640e?.[_0x44a7ff(_0x38c953._0x7fc479,0x526,0x49d,0x452)]?{'type':_0x44a7ff(0x410,_0x38c953._0x39a86d,0x65b,_0x38c953._0x23280d),'properties':_0x5d5904,'required':_0x48640e}:{'type':_0x29b9d7(_0x38c953._0x2f2ec2,_0x38c953._0x182b2a,-0x14d,-0xc2),'properties':_0x5d5904};}function _0x1f31(){const _0x3b7052=['tM8GC3vJAcbMAwXLoIaN','yxjNDw1LBNriAw50','Aw5JB21PBMDdywXSCW','C3bSAxq','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','zgvMyxvSDfrPBwvVDxrnCW','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','zMLSzvbHDgG','Aw5ZDhj1y3rPB25Z','yNvMzMvY','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','ywrKrxzLBNrmAxn0zw5LCG','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','AxneAxjLy3rVCNK','Dhj1BMnHDgvK','CMvJzw5JEurHExm','sw52ywXPzcbvuKWGCgfYyw1LDgvY','DxrTx2nHBxbHAwDU','zNvSzMLSBgvK','yxv0Aa','Aw1Hz2u','ig1HDgnO','y29TCgXLDgvK','u2HLBgWGBM90igzVDw5KoIa','u0Lhs0Lmta','DhnJ','B3bLBMfPlxjLC3bVBNnLCY13CW','zMLSztOVlW','y2XPzw50CW','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','Aw52ywXPzf90B2rVCW','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','C2nYDwjfBNzlzxLZ','C2L6zq','zgLZy292zxj5u3rHDgu','z2XVyG','C2vZC2LVBKLK','y29UDgvUDa','ywDLBNrjza','BwnWxW','C2HLBgXqyxrO','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','BwLUAw1HEa','lMPWzW','yMCT','zgv0ywLS','y3jSzG','Dgv4DerVy3vTzw50l2rPze9Wzw4','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','r0Lusfvcx0fdq0vtu19ut0TftG','Dg9KB3ncEvnLC3nPB24','Dgf2AwX5qxbPs2v5','z29uB0rLzMLUAxrPB24','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','C3rYAw5NAwz5','DxrTx21LzgL1Bq','yMfZAwm','Aw1Hz2uVCg5N','BM9Uzq','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','ls1MAwXLCW','mZiXodi5Cgrztfze','CgLK','z29Vz2XLq3nLs2v5','CxvLC3rPB24T','l3vZCI9SB2nHBc9IAw4VCMC','BM9Zy3jPChq','C2LNBMfS','o1TE','zMLSzvzLCNnPB25Z','yw5ZAti1nG','l3bPza','DxjP','BgLTAxq','zg9TywLUCW','s2LSBgvKia','zMLSzq','mc4WlJa','ugf0AcbPCYbUB3qGysbMAwXLoIa','CgfYC2vjBNq','r3jLCa','Cg9W','B3bLBKzPBgvZ','BgLUAW','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','BwLU','zw52','l2jPBI9IyxnO','CMvHza','DxrTx3rLCM0','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','ignOyxjZigrYB3bWzwrDcG','y2fWq2HHCNm','Bw9Kzq','s2LSBfnOzwXS','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','A2v5','C2vYDMvYCW','lNDLyNa','yMLUyxj5tMfTzq','CMvMzxjLBMnLCW','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','rMv0y2GGywjVCNrLzcbIEsb1C2vY','qMfZzsbKAxjLy3rVCNK6ia','CM91BMq','z2L0AhvI','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','mtK4lJe4lJaUma','tunqihrVB2WG','ndvAt21lvMq','Cgf0DgvYBG','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','DMvYAwzPzxi','qMvHCMvYia','C3rKzxjY','C2v0vg9KB3m','y2XPzw50','Dw5PB24','BM93','Dg91y2HgAwXL','zMLYC3q','yxnPzgu','Axnoyu4','yxnJAwK','igj5DgvZks4','yxnRvxnLCG','zgLZCg9Zzq','CMCUzxHL','AgfZq2XPzw50CW','BwvTB3j5','Dg9VBc1VDxrWDxqTB2zMBg9Hza','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','yw50AhjVCgLJ','oIbPBNzHBgLKihn0yxr1CW','Dgv4Da','Bg9JywXLq29TCgfYzq','lMPZB24','zgLHz25VC3rPy3m','zgvMAw5PDgLVBG','vg9Vig1HBNKGCMvKAxjLy3rZ','CMfUzg9T','xg5DkJ8','oIbJB250zw50ihjLCxvPCMvK','zw51Bq','C3vIyxjYyxK','Bw9KzwW','C3rHCNq','y29Kzq','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','C2vYDMvY','CMvSyxrPDMu','C3rHCNreAxi','lNbUzW','tunqihnLCNzLCIa','B3bLBG','zgf0yq','Dg9ju09tDhjPBMC','BgLUzu51Bq','zNjVBuvUDhjPzxm','lM51DMLU','zMvUy2vK','BgfZDeLUzgv4t2y','ue9tva','BwfW','C2v0','CNnZ','B2C6DxbKyxrLzf90Aw1L','v2LUr2v0','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','Dhj1zwnVBg9Y','Ag92zxi','B2zMC2v0','AhrTBfnUAxbWzxq','B25szwrPCMvJDa','zgLYBMfTzq','CMvZDwX0','AgvHzgvYCW','CNvUBMLUzW','DxnLCM5HBwu','AxnbCNjHEq','pc9ZExn0zw0TCMvTAw5Kzxi+','yMfZzty0','C291CMnL','Dgf2AwX5','w01duca','DgL0Bgu','AM9PBG','yM0Ynq','DgHPBMTPBMC','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','BgLNAhq','Aw5WDxrty2HLBwe','DxrMoa','mc4WlJaUma','AhjLzG','vMLLD2vKigLTywDLigzPBgu6ia','C29YDa','zxjYB3jZ','C2nVCgvZ','BhnW','igj5DgvZ','yxjNDw1LBNrZvgv4Da','yw5ZAte2','DhjHBNnMB3jT','y29UDgv4Da','Aw52ywXPzf90B2rVx2LK','yM9VBgvHBG','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','yMLYDgH0Aw1L','Ag9ZDg5HBwu','zxzLCNK','ls1MB2XSB3C','B3jPz2LUywW','zxHPDcbJB2rLia','y2XLyw51Ca','vMLLD0zPBgu','Dg9Rzw4','icHWAwqG','z3jVAW','CMvHC29U','BNvTyMvY','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','AgLNAa','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','ywjVCNq','y29UBMvJDa','ywrK','Bwf4qNL0zxm','zgvSzxrL','AwDUB3jL','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','yxjNCW','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','B3jPz2LUvg9VBenHBgXjza','tu9ptLnit1rFqvbjx0Tfwq','B2XKvgv4Da','zxjYB3jnzxnZywDL','qu5usfjpueLdx0fqsv9lrvK','C2HLBgXjza','igzHAwXLzc4','BgLUzxm','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','BxvSDgLtzwXLy3q','yNjVA2vU','l29WDc9OB21LyNjLDY9IAw4VCMC','AMf2yxnJCMLWDhjLywn0','sw5MB3jTyxrPB24','Dg9VBhm','uKLgrG','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','vw5RBM93BIb0B29SoIa','lNrTCc4','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','lMXVzW','o1TExg5DkJ8','Aw5JBhvKzv9KB21HAw5Z','r0Lusfvcx1rps0vo','yxbWzw5K','wefjx0fqsv9lrvK','z2v0u3rHDhm','y29ZDa','lMn0CW','A2LSBgvK','C3rHCNrZv2L0Aa','B3bLCMf0Aw9U','yxnZAwDU','mJi0lJaUmc4W','l3vZCI9IAw4VyMfZAa','CgfZC3rOCM91z2G','y2f0y2G','qMfZAa','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','A2v5CW','ywjVCNrLza','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','Dg9Rzw5Z','yxbWBgLJyxrPB24VANnVBG','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','Ahr0Ca','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','Aw5KzxHpzG','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','rMLSzuvKAxq','C2vUze5VDgLMAwnHDgLVBG','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','zw5HyMXLza','zgLHz25VC3rPy3ngB3jgAwXL','CMvNzxG','sgLUDa','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','Bg9VA3vW','zg9JDw1LBNrtEw1IB2W','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','z2nSAwq','CgXHDgzVCM0','lNrZ','zxH0BMfTzq','ChjVy2vZCW','ywn0AxzL','C25PChbLDa','AxngAwXL','Aw5JBhvKzq','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','z2v0vg9KB3m','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','Dw5RBM93BG','D2vI','D2fPDezVCKrPywDUB3n0AwnZ','CMfUAW','B2XSyw1H','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','tM8GzgLHz25VC3rPy3m','lMPZ','C3vKBW','C2nYAxb0','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','CMvTB3zLrxzLBNrmAxn0zw5LCG','w1bFxL1BxhnCu10QpW','ls1JB2X1Bw4','zxf1ywXZ','AxnfCNjVCG','BhnWlxbYB3H5','DhjPBuvUza','DhnZzxj2zxiUANm','yNvUlMXVy2S','Aw5JBhvKzxm','u2TPBgWGjW','Dg9mB3DLCKnHC2u','Ec1HCgKTA2v5','y29KzvzLCMLMAwvY','BMv3vgv4Da','zw5NAw5LCW','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','Bwv0yxrHz3m','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','CMvJB3jK','Dg90ywW','yM94zwq','BNbT','BxrPBwu','mJGYnJi1tNDzswrN','lMPZB25J','CgfYzw50u2vZC2LVBKLK','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','mti3lJaUmc4W','y29UzMLN','A2LSBfjLCxvLC3rLza','Bwf0y2HLCW','Bwf4rw50CMLLCW','z2vUzxjHBa','CMvMCMvZAf90B2TLBG','zg5Zl3bYB21PC2vZ','CMvWBgfJzq','ugf0AcbUB3qGzM91BMq6ia','DxrTx2nVBNrLBNq','A2LSBa','ksbB','AxnbyNnVBhv0zq','yNvMzMvYq2HHCNm','Aw52ywXPzf90B2rVx3n0yxr1CW','B3v0z29PBMDdywXSCW','DMfSDwvZ','rMv0y2GGDgLTzwqGB3v0','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','CMfUz2u','CgfJA2fNzs1SB2nRlMPZB24','z29Vz2XLlwnZzq','mtKYlJe2oc4WlJa','cGOTls0kcG','CMvZDwX0CW','ig1Z','lMPWzwC','ls1WCMvMAxG','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','BMfTzq','yMLVBwuUANnVBG','y3jLyxrLzef0','DgLTzvTKyxrLDgLTzv0','zgLYzwn0B3j5','l3vZCI9IAw4VCMC','y2HHDgDWDa','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','ie9sia','C2vHCMnOvhLWzq','CMvTB3zL','l3vZCI9IAw4VC2G','DMfSDwu','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','AxnjBNrLz2vY','DxrTx3nVDxjJzq','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','ls1NBg9Ipq','DhvYBMrVD24','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','Dg9KB3m','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','zNjVBq','D2HLCMuGCMC','Dhj1BMm','C2vHCMnOugfYyw1Z','zw5NAw5L','mtaUmc4WlJa','CgfJA2fNzu5HBwu','y2XVC2u','B3bLBMfPlxjLC3bVBNnLCW','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','y2HPBgq','ru5pru5u','Cgf0Aa','w291Dhb1Dcb0CNvUy2f0zwq6ia','te9x','zxHPDa','y2XPzw50sw5MB3jTyxrPB24','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','zMXVB3i','yw5ZD2vYCW','yxjYyxK','ls1NBg9IpseUz2L0lYO','igzYB20G','ChvZAa','yMfZzw5HBwu','CMvZB2X2zq','zMXHDe1HCa','y29Uy2f0','CMvHzen1CNnVCG','C3rKB3v0rgvJB2rLCG','Dg9VBfjLC3vSDhm','yxjNDw1LBNroyw1LCW','CNvUswq','ywXSu2v0DgXLza','CxvLC3rPB24','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','AgfZ','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','BgLZDfrVB2XZ','DhvWBgu','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','v2fYBMLUzW','ygbG','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','rMLSzsb3CML0DgvUigf0ia','C2H1DgrVD25tDgfYDgvK','zxH0zw5ZAw9UCW','twLJCM9ZB2z0','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','yMvHCMvY','C3rHDhvZvgv4Da','B25oB3rPzMLJyxrPB24','CgfJA2fNzxm','CMvXDwLYzwq','C3bHD25PBMC','ienHDxnLoIa','BgLUzuvUza','ChjLChjVy2vZCW','Ahr0Chm6','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','CMvNAw9U','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','y29TBwfUzhm','vw50AxrSzwq','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','zgvLCgLUzNjH','C2XPy2u','zgvZy3jPChrPB24','C3LTBgLUAW','zgvMyxvSDen3za','yMLVBwuUANnVBMm','y2XVC2vbBgW','CgvUzgLUzW','C3jJl2fNzw50l2fNzw50lNrZ','CM9VDa','Aw1Hz2uVANbLzW','y21KlMv4zq','DxbKyxrL','nZeWnJq5zeryELvo','D3jPDgu','D29YA3nWywnLu3LTyM9S','vg9KBYa','D2LUmZi','BgfUz3vHz2u','DhLWzq','Aw5PDgLHBgL6zwq','uhjVz3jHBuzPBgvZkhG4nIK','yxr0CG','C2H1DgrVD24','y29UDgvUDhm','Dg9vChbLCKnHC2u','Aw1Hz2vZ','C3rYAxbbBNnP','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','CMLWz3jLCa','DxjS','lM10CW','BhnWu2vYDMLJzq','D29YA3nWywnLl3n5BwjVBa','z29uB0LTCgXLBwvUDgf0Aw9U','y2XPzw50x3nLy3jLDf9WB3n0','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','y2fSBgjHy2TvCMW','B3b0Aw9UywW','CgLWzq','ChjVCgvYDgLLCW','C2L0ztO','AMf2yxnJCMLWDa','ChvIBgLZAgvKqxq','Dg9tDhjPBMC','Dg90ywXqCM9KDwnLza','y29TBwfUza','Dg9VBa','y291BNrLCG','y29UDgvUDc10ExbL','qwDLBNqGCNvUia','B3b0Aw9UCW','mZzgAeLosxa','yMLVBwu','uhvIBgLZAgvKoIa','C29Tzq','Aw52ywXPzf90B2rVx3bYAw9YAxr5','Agv4','Aw1Hz2uVz2LM','nJC3ota2owLMreHKDa','B3bLBMfP','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','BgfUz18','DgvZDa','yxv0AfjLCxvPCMvK','BgLZDa','ANnVBG','AxngAw5PDgu','Cg5WBs1SB2nRlNLHBwW','t1bftKfjx0fqsv9lrvK','lcbpChrPB24G','Aw5FChjVz3jLC3m','yxv0Ag9YAxPHDgLVBL9JB2rL','AhLKCMf0zu1LDge','Dgv4DerVy3vTzw50l2HVDMvY','lMPZEa','BgL0zxjHBa','vw5HDxrOB3jPEMvKrxjYB3i','Bg9JyxrPB24','Bwv0yq','wZ0+nY04kcLD','qxzHAwXHyMXLignVBw1HBMrZoG','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','zMLUywXnzxnZywDLvgv4Da','y29UBMvJDgvK','tM8GCMvZDwX0CYbMB3vUzc4','ls1OAwrKzw4','tg9HzgvKigzYB206ia','DhjPBq','C2vYDMvYtMfTzq','sw52ywXPzcbYzwDLEdOG','C3bHD24','C3rHDgu','zMLSDgvY','Aw1Hz2uVD2vICa','zgvSzwDHDgvKlxj1BI0','zw50CMLLCW','yNvUlMXVy2TI','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','icHZDgf0Dxm6ia','DgfZA2TPBgW','C3rKzxjYrgvJB2rLCG','BwvZC2fNzq','BgLUzvn0yxj0','AxrLBxm','sfruuca','y29UDgv4DeXPBMS','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','AgfUzgXL','z29Vz2XLq3nLq3G','ohvUy1jisW','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','mtaWlJy0lJaUma','BwfYA2rVD24','y2XLyxi','BgLUzq','zMLUza','Bg9HzfnRAwXS','Bw9VBNnOB3q','Aw52ywXPzf90B3bPyW','tM8GAg92zxiGAw5MB3jTyxrPB24','Dg9WAwm','AwzYyw1L','CgfJA2fNzs5QC29U','Aw1WBgvTzw50yxrPB24','D2HPy2GGCMC','y291BNq','ChjVDg9JB2W','sw52B2TLq29TBwfUza','C3rHDhvZ','CxvLC3rPB25Z','wKfjx0fqsv9lrvK','y2HHCMfJDgvY','zMLSBa','zMLUywXnzxnZywDL','DhLWzxnJCMLWDhjLywn0','zNvUy3rPB24','Dg90ywXeCM9WCgvK','BwnFzwLK','yxbPs2v5','yxr4','C3rYAw5N','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','DgHLBG','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','zxHPDenVzgu','zhvWBgLJyxrLx3rVzg9FAwrZ','zxjYB3i','C2HPzNq','ls1YzwDLEha','BgfIzwW','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','CMvXDwvZDhm','Bwf4','mtq2otaXnKHfwNfsDG','y2vPBa','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','CgXHAw50zxH0','BxrPBwvnCW','tuvesvvn','CgXHAw4','r09pr0Xfx0ntrv9dwa','C2vUza','rM91BMqG','A2LUza','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','zMLUzfjLzMvYzw5Jzxm','ne5ZrunWwq','lMjPBG','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','ugfJA2fNzxm','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','yNL0zuXLBMD0Aa','C2vZC2LVBG','ignVBxbSzxrLzc4','ywXSB3DLzfrVB2XZ','BM9UBMvNyxrPDMu','y29UC3rYDwn0B3i','C3jJl3nOyxjLzc90ExbLCY50CW','y3DK','q291BgqGBM90ihjLC29SDMuGAg9ZDa','Dg9VBenHBgXjza','B2jQzwn0','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','zgfYAW','seLhsa','C3rKB3v0','Aw5WDxq','revfufnfruTFqvbjx0Tfwq','ls0T','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','ls1ZDgrPBW','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','AxndB250zxH0','q29TBwfUzcaN','BgfUzW','uxvLC3rPB24G','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','Bwf4q29Uy3vYCMvUDa','revfueLorLjbx0fqsv9lrvK','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','mtKYlJaUmc4W','uhjVz3jHBuzPBgvZ','BgLUzvrLEhq','C3jJl2v4yw1WBgvZl2rLBw8UDhm','B25Jzq','C2TPBgXZ','C2vYDMvYswq','yxv0BW','ls1NBg9I','AwDUB3jLt3v0Chv0','y2fSBfrVB2W','DhLWzxnJCMLWDa','phn5C3rLBs1Yzw1PBMrLCJ4','y2HHCKnVzgvbDa','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','qgjPB21LANmVyMLVBwu','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','DgfZAW','Aw52ywXPzf90B2rVx2nVBNrLBNq','lu5VuhjVzMLSzq','B2zM','Cgf0DgvYBIbPCYbYzxf1AxjLza','s0Lnsv9bueLFs0vz','z2v0uhjVDg90ExbLt2y','ChjLCgfYzunHBgXiAwvYyxjJAhK','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','B2f1DgG','DhjHBNnMB3jTCW','BgvUz3rO','ndG0ntqWAfbuz2jA','Bg9HzenVBw1HBMq','C2fMzq','ChjPB3jPDhK','mZCZoti2BuP4wfLW','ANnJB25MAwCUANnVBG','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','rgLHz25VC3rPyW','lI4U','tM8GC3LTyM9SCYbMB3vUza','ywXSB3DLzerPCNm','BM9Kzv9TB2r1BgvZ','lMDPzG','CMvXDwvZDa','B3v0Chv0','BwvKAxvT','vxbKyxrLvg9WAwm','ChjVDg90ExbL','zw5K','C2vSzwn0Aw9UuMfUz2u','z2v0','Aw5PDgLHBgL6zq','BgLI','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','Cgf0Ag5HBwu','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','Dgv4Dc9ODg1S','ywXS','CgfYC2u','C2v2zxjPDhK','CxvLCNK','y2fSBeLK','C3rVCMfNzurPCG','Dgv4DerVy3vTzw50l2rPzenSB3nL','zMLUAxrL','Ag9ZDa','ChjVy2vZC0v4AxrLza','C2vUzfjLCxvLC3q','lMnQCW'];_0x1f31=function(){return _0x3b7052;};return _0x1f31();}function isJsonObject(_0x1bae99){const _0x23710b={_0x5ba823:0x2a9},_0x3823b3={_0x34429b:0xe6};function _0x13b3d6(_0x2fb942,_0x437138,_0x132547,_0x189bc6){return _0xf90728(_0x132547,_0x437138-0x1,_0x2fb942- -0x1e,_0x189bc6-_0x3823b3._0x34429b);}return typeof _0x1bae99==='object'&&_0x1bae99!==null&&!Array[_0x13b3d6(0x146,0x27a,_0x23710b._0x5ba823,0x105)](_0x1bae99);}function formatMcpContent(_0x155302){const _0x1d826e={_0xe7743c:0x5c7,_0x418754:0x68d,_0x3498e9:0x52d,_0x5e930c:0x6c6,_0x5dc9dc:0x55b,_0x2a91fe:0x680,_0x1f75ca:0x5fd,_0x5cff73:0x5fa,_0x148fa3:0x757},_0x55c294={_0xe1f672:0x4c,_0x56aebd:0x164},_0x2225cf={_0x13a878:0x66,_0x55466b:0x72,_0x316270:0x158,_0x347d6d:0x2ab,_0xfbeb9a:0x416,_0x80127c:0x12c,_0x45cb6:0x2b4,_0x4d8c75:0x115,_0x24abd5:0x4ff,_0x140cee:0x440},_0x37a28d={_0x3476c4:0x1f2,_0x3c121f:0x16a},_0x4c082d=Array['isArray'](_0x155302[_0x55755e(_0x1d826e._0xe7743c,_0x1d826e._0x418754,0x5e9,0x59f)])?_0x155302[_0x55755e(0x6fa,0x697,0x5e9,0x717)]:[];function _0x55755e(_0x46816d,_0x28551c,_0x25e821,_0x44852c){return _0x4d40c0(_0x46816d-_0x37a28d._0x3476c4,_0x25e821-0x65b,_0x25e821-_0x37a28d._0x3c121f,_0x44852c);}const _0x39d037=_0x4c082d[_0x55755e(_0x1d826e._0x3498e9,0x58d,0x667,_0x1d826e._0x5e930c)](_0x3e6c48=>{const _0x50fd99={_0x33b19a:0x129},_0x4e2a8f={_0x3dbb4b:0x45c};function _0x24597c(_0x202515,_0x46aaae,_0x38fe82,_0x3f0b92){return _0x55755e(_0x202515-0x89,_0x46aaae-0x9a,_0x202515- -_0x4e2a8f._0x3dbb4b,_0x3f0b92);}if(!isObject(_0x3e6c48))return'';if(_0x3e6c48[_0x24597c(_0x2225cf._0x13a878,_0x2225cf._0x55466b,0x16a,-0xc)]==='text'&&typeof _0x3e6c48[_0x24597c(0x1ee,_0x2225cf._0x316270,0x30e,0x1f9)]===_0x4a9378(_0x2225cf._0x347d6d,_0x2225cf._0xfbeb9a,0x3eb,0x4b1))return _0x3e6c48[_0x24597c(0x1ee,_0x2225cf._0x80127c,_0x2225cf._0x45cb6,_0x2225cf._0x4d8c75)];function _0x4a9378(_0x528539,_0xec279e,_0x117673,_0x1ff021){return _0x55755e(_0x528539-0x193,_0xec279e-0x1a6,_0xec279e- -_0x50fd99._0x33b19a,_0x117673);}return JSON[_0x4a9378(_0x2225cf._0x24abd5,0x4d1,_0x2225cf._0x140cee,0x55e)](_0x3e6c48);})[_0x55755e(0x67e,0x54a,0x50d,0x4c4)](_0xf44c89=>_0xf44c89['length']>0x0)[_0x55755e(0x624,_0x1d826e._0x5dc9dc,_0x1d826e._0x2a91fe,0x62d)]('\x0a');function _0x1ca497(_0x22cbe1,_0x225bcf,_0x3b8ef7,_0x45974c){return _0xf90728(_0x225bcf,_0x225bcf-0x12,_0x3b8ef7- -_0x55c294._0xe1f672,_0x45974c-_0x55c294._0x56aebd);}if(_0x39d037['length']>0x0)return _0x39d037;return JSON[_0x55755e(_0x1d826e._0x1f75ca,0x64b,_0x1d826e._0x5cff73,_0x1d826e._0x148fa3)](_0x155302,null,0x2);}function createMcpTool(_0xc5c07f){const _0x53071f={_0x16663d:0x302,_0x246961:0x426,_0x316fcb:0x3e5,_0x18144b:0x1a8,_0x81a486:0x24d,_0x5c981c:0x2af,_0x440727:0x41f,_0x297e18:0x5f9,_0x599f38:0x643,_0x15911d:0x2d8,_0x4d9952:0x322,_0x1adb72:0x523,_0x394864:0x3d7,_0x3c177c:0x467,_0x5d18d0:0x5c5,_0x24cce3:0x53c,_0x114f3b:0x51c,_0x485135:0x698},_0x485083={_0x596af0:0x438,_0x4854c7:0x508,_0x40f88d:0x48e,_0x3976bc:0x5fc,_0x3c7186:0x396,_0x5d0a89:0x1d3,_0x501779:0x2bc,_0x36ac45:0x324,_0x27d868:0x294,_0x19c307:0x3fc,_0x14e00a:0x384,_0x30cd91:0x39f,_0x2a05b7:0x3af,_0x2263bd:0x367,_0x2d62ee:0x25e,_0x2ff28a:0x2dc,_0x256e75:0x4b3,_0x48ceb0:0x70,_0x30fe25:0x1d3,_0x365f2d:0x1d3,_0x3312ee:0x36e,_0x5e6280:0x3eb},_0x241518={_0x47625f:0x30e,_0x10bd03:0xb9};function _0xea1f3f(_0x577ada,_0x13fb5f,_0x4151cd,_0x32797a){return _0xf90728(_0x13fb5f,_0x13fb5f-0x1c8,_0x577ada-_0x241518._0x47625f,_0x32797a-_0x241518._0x10bd03);}const _0x11c611=createMcpToolName(_0xc5c07f[_0xea1f3f(_0x53071f._0x16663d,_0x53071f._0x246961,_0x53071f._0x316fcb,_0x53071f._0x18144b)],_0xc5c07f['tool'][_0xea1f3f(_0x53071f._0x81a486,0x1db,_0x53071f._0x5c981c,0x102)]);function _0x28eca6(_0x2f68a7,_0x5f54e0,_0x38be5c,_0x15bc46){return _0xf90728(_0x5f54e0,_0x5f54e0-0x144,_0x38be5c-0x528,_0x15bc46-0x64);}return defineTool({'name':_0x11c611,'description':_0xc5c07f[_0xea1f3f(0x2d8,0x1a7,0x17e,0x276)][_0x28eca6(_0x53071f._0x440727,0x3d8,0x4c4,0x489)]??_0x28eca6(0x5f9,_0x53071f._0x297e18,_0x53071f._0x599f38,0x5c9)+_0xc5c07f[_0xea1f3f(_0x53071f._0x15911d,0x235,0x2c2,_0x53071f._0x4d9952)][_0x28eca6(_0x53071f._0x1adb72,_0x53071f._0x394864,_0x53071f._0x3c177c,0x4f6)]+_0x28eca6(_0x53071f._0x5d18d0,0x43c,0x495,_0x53071f._0x24cce3)+_0xc5c07f[_0x28eca6(0x66e,0x4ab,_0x53071f._0x114f3b,0x41d)],'inputSchema':toNuvinToolSchema(_0xc5c07f[_0x28eca6(0x62c,0x38f,0x4f2,0x3f5)][_0x28eca6(0x764,0x5c6,_0x53071f._0x485135,0x706)]),async *'execute'(_0x4bfa9b){const _0x24a1e1={_0x5521f3:0xfa},_0x3ae077={_0x4433d8:0xd7,_0x771468:0x6b};function _0x13af87(_0x3999c6,_0x15f00e,_0xe1f0c6,_0x5bc856){return _0xea1f3f(_0x15f00e-_0x3ae077._0x4433d8,_0xe1f0c6,_0xe1f0c6-_0x3ae077._0x771468,_0x5bc856-0x56);}const _0x2e4206=await _0xc5c07f[_0x13af87(_0x485083._0x596af0,_0x485083._0x4854c7,_0x485083._0x40f88d,_0x485083._0x3976bc)][_0x13af87(_0x485083._0x3c7186,0x457,0x533,0x55f)]({'name':_0xc5c07f[_0x2b3146(-0xcf,-_0x485083._0x5d0a89,-0x2cc,-_0x485083._0x501779)][_0x13af87(0x3e3,_0x485083._0x36ac45,0x25c,0x32c)],'arguments':isJsonObject(_0x4bfa9b)?_0x4bfa9b:{}});function _0x2b3146(_0x4ff5ac,_0x214aad,_0x43d065,_0x1a1cc3){return _0x28eca6(_0x4ff5ac-0xb5,_0x4ff5ac,_0x214aad- -0x6c5,_0x1a1cc3-_0x24a1e1._0x5521f3);}if(_0x2e4206[_0x2b3146(-0x155,-_0x485083._0x27d868,-_0x485083._0x19c307,-_0x485083._0x14e00a)])throw new ToolExecutionError(formatMcpContent(_0x2e4206),{'serverName':_0xc5c07f['serverName'],'toolName':_0xc5c07f[_0x13af87(_0x485083._0x30cd91,_0x485083._0x2a05b7,_0x485083._0x2263bd,0x35a)][_0x2b3146(-0x2ba,-_0x485083._0x2d62ee,-_0x485083._0x2ff28a,-0x10d)]});return yield createToolOutput(formatMcpContent(_0x2e4206),{'serverName':_0xc5c07f[_0x13af87(0x35a,0x3d9,0x4c6,_0x485083._0x256e75)],'toolName':_0xc5c07f[_0x2b3146(-_0x485083._0x48ceb0,-_0x485083._0x30fe25,-0xf0,-_0x485083._0x365f2d)][_0x13af87(0x3dd,0x324,_0x485083._0x3312ee,_0x485083._0x5e6280)],'result':_0x2e4206}),void 0x0;}});}function resolvePrefix(_0x14f63b,_0x11c196){return _0x11c196['prefix']??_0x14f63b;}function buildMcpHttpHeaders(_0x5e472c){const _0x4d1b08={_0x4374a4:0x20c,_0x1169cd:0xa5,_0x42628b:0x272,_0x1e9d35:0x3b0,_0xb33eed:0x6e,_0x5b5cb8:0x13b,_0x325aff:0x5a1,_0xfbe0f1:0x54b,_0x361e06:0x4c5,_0x6f3c00:0xbc,_0x157c69:0x450,_0x5c87fb:0x614,_0x3e4010:0x523,_0x2369b8:0x55a,_0x51c217:0x36c,_0x55ecdd:0x374,_0x3d50a0:0x29c,_0x361be2:0x167,_0x227108:0x262,_0x8ae24d:0x165,_0x7cc9da:0x385,_0x4e7712:0x5b1,_0x37e72c:0x489},_0x34f16a={_0x11223c:0xab};function _0x59fd4b(_0x18ea16,_0x295ddd,_0x496b91,_0x326997){return _0xf90728(_0x496b91,_0x295ddd-0x5a,_0x18ea16-_0x34f16a._0x11223c,_0x326997-0x12b);}const _0x1a1ce1={..._0x5e472c[_0x59fd4b(_0x4d1b08._0x4374a4,0xc2,0x1a3,_0x4d1b08._0x1169cd)]??{}};function _0xc76961(_0x1716bd,_0x542d97,_0x217fe5,_0x121f7f){return _0xf90728(_0x542d97,_0x542d97-0x12a,_0x121f7f-0x403,_0x121f7f-0x168);}return _0x5e472c[_0x59fd4b(0x16d,0x1b1,0xa3,0x22)]?.[_0xc76961(0x366,0x3ba,_0x4d1b08._0x42628b,_0x4d1b08._0x1e9d35)]===_0x59fd4b(0x33,-_0x4d1b08._0xb33eed,-_0x4d1b08._0x5b5cb8,-0xd0)&&_0x5e472c[_0xc76961(0x513,_0x4d1b08._0x325aff,_0x4d1b08._0xfbe0f1,_0x4d1b08._0x361e06)][_0x59fd4b(-_0x4d1b08._0x6f3c00,-0x142,-0x21e,-0x158)]&&_0x1a1ce1['Authorization']===void 0x0&&(_0x1a1ce1['Authorization']=_0xc76961(_0x4d1b08._0x157c69,0x5ba,_0x4d1b08._0x5c87fb,_0x4d1b08._0x3e4010)+_0x5e472c[_0xc76961(_0x4d1b08._0x2369b8,0x408,_0x4d1b08._0x51c217,_0x4d1b08._0x361e06)][_0xc76961(_0x4d1b08._0x55ecdd,0x1d3,0x1d9,_0x4d1b08._0x3d50a0)]),Object[_0xc76961(_0x4d1b08._0x361be2,_0x4d1b08._0x227108,_0x4d1b08._0x8ae24d,0x2d7)](_0x1a1ce1)[_0xc76961(_0x4d1b08._0x7cc9da,0x576,_0x4d1b08._0x4e7712,_0x4d1b08._0x37e72c)]>0x0?_0x1a1ce1:void 0x0;}function getErrorMessage(_0x59b970){const _0x14ac25={_0x9a792e:0x1c5,_0x380d94:0x2e};function _0x3acd9e(_0x10395a,_0x4eb385,_0x16e6f1,_0x25dc2a){return _0xf90728(_0x4eb385,_0x4eb385-_0x14ac25._0x9a792e,_0x25dc2a-_0x14ac25._0x380d94,_0x25dc2a-0x73);}return _0x59b970 instanceof Error?_0x59b970[_0x3acd9e(0x5c,0x13b,0xe3,0x2f)]:String(_0x59b970);}function isUnauthorizedError(_0x7ba52b){const _0x14e139={_0x4eac5a:0x350,_0x4b0fdb:0x210,_0x475036:0x10c,_0x55e6d5:0x19e},_0x40416d={_0x253915:0x1b6};function _0x2566fb(_0x16d5e6,_0x6fe16b,_0x4329b0,_0x32ad0e){return _0xf90728(_0x16d5e6,_0x6fe16b-0xca,_0x32ad0e-_0x40416d._0x253915,_0x32ad0e-0x8a);}function _0x3ec18e(_0x2a2346,_0x1bc99d,_0x4c1e51,_0x428f92){return _0x4d40c0(_0x2a2346-0xec,_0x1bc99d-0x5b,_0x4c1e51-0x6c,_0x2a2346);}return _0x7ba52b instanceof Error&&_0x7ba52b[_0x2566fb(0x263,_0x14e139._0x4eac5a,0xc3,0x204)][_0x2566fb(0x26a,0x29,0x123,0xf5)]===_0x2566fb(0x2f7,_0x14e139._0x4b0fdb,_0x14e139._0x475036,_0x14e139._0x55e6d5);}async function connectMcpServer(_0x25d49d,_0x228b8f,_0x3d9be2){const _0x15b29b={_0x3552f2:0x434,_0x1c19ef:0x3d1,_0xcf08cd:0x2c6,_0x30b7c3:0x5b9,_0x2aa7a5:0x4de,_0x27ffd4:0xbe,_0x990499:0x80,_0x32bca5:0x3,_0x4e9915:0x3bc,_0x15bda0:0x417,_0x3867cc:0x480,_0x3f31d4:0x484,_0x4563ee:0x58e,_0x54c03f:0x3e6,_0x50d468:0x425,_0x56bd36:0x2fb,_0x351835:0x393,_0x3e8526:0x4b5,_0x52b3bc:0x4da,_0x8ca892:0x42e,_0xb0a400:0x505,_0x4dde3f:0xd3,_0x1c2e3e:0x1ad,_0x3225e0:0x41,_0x2f7e47:0x36,_0x314695:0x3fa,_0x41131d:0x300,_0x1d568e:0x2cc,_0x531b0c:0x3cb,_0x13bee3:0xb2,_0x382265:0x1a1,_0x59f8a1:0x12f,_0x4528aa:0x1da,_0x3ee3df:0x94,_0x10c017:0x301,_0x1c4e8e:0x2e9,_0x20deb2:0x12c,_0x3f2af2:0xa1,_0xbe6693:0x543,_0xad6e63:0x2ee,_0x2d16fe:0x288,_0x51e65d:0x1c8,_0x267684:0xe0,_0x5b47ad:0x12a},_0x4f101d={_0x417591:0x231},_0x416284={_0x33dac2:0x1be},_0x32fff3={_0x5bc7a3:0x16d,_0xa7f3b8:0x212},_0x23e2c9={_0x155527:0x1e6,_0x25345a:0x7f},_0x25aaac={_0x2e32e4:0x1f,_0x96a692:0x176,_0x45f051:0x112,_0x548550:0x72,_0x106533:0x84,_0x4b6763:0x10f,_0x41cf08:0x32,_0x2534f8:0xf6,_0x1560a3:0x19a,_0x5dfdde:0xa1},_0x13470f={_0x5fea1d:0x3da,_0x46b1de:0x12b,_0x443278:0x1be},_0x5dfbf4=new Client({'name':'nuvin','version':_0x1b93d5(_0x15b29b._0x3552f2,0x572,_0x15b29b._0x1c19ef,_0x15b29b._0xcf08cd)});function _0x1b93d5(_0x59d914,_0x35e1b1,_0x4ef93e,_0x58aad9){return _0x4d40c0(_0x59d914-0x167,_0x59d914-0x47e,_0x4ef93e-0xb7,_0x58aad9);}_0x5dfbf4['onerror']=_0x2beed4=>{const _0x4b5162={_0x581e6a:0x1a1};function _0x4af0b3(_0x549257,_0x41a997,_0x4f4108,_0x2b4ab0){return _0x1b93d5(_0x2b4ab0- -_0x13470f._0x5fea1d,_0x41a997-_0x13470f._0x46b1de,_0x4f4108-_0x13470f._0x443278,_0x549257);}function _0x1b2c8e(_0x7d6a31,_0x92ab18,_0x4114f3,_0x41f57c){return _0x1b93d5(_0x7d6a31- -0x41d,_0x92ab18-0x12f,_0x4114f3-_0x4b5162._0x581e6a,_0x4114f3);}console[_0x4af0b3(_0x25aaac._0x2e32e4,-_0x25aaac._0x96a692,-_0x25aaac._0x45f051,-_0x25aaac._0x548550)](_0x1b2c8e(_0x25aaac._0x106533,_0x25aaac._0x4b6763,-0x63,-_0x25aaac._0x41cf08)+_0x25d49d+']\x20transport\x20error:',_0x2beed4[_0x4af0b3(-_0x25aaac._0x2534f8,-_0x25aaac._0x1560a3,-0x64,-_0x25aaac._0x5dfdde)]);};if(_0x228b8f['transport']==='http'||_0x228b8f['url']){if(!_0x228b8f['url'])throw new Error(_0x1b93d5(0x480,_0x15b29b._0x30b7c3,_0x15b29b._0x2aa7a5,0x573)+_0x25d49d+'\x20requires\x20url\x20for\x20http\x20transport');if(_0x228b8f[_0x15273f(_0x15b29b._0x27ffd4,_0x15b29b._0x990499,-0x26,_0x15b29b._0x32bca5)]?.['type']===_0x1b93d5(_0x15b29b._0x4e9915,0x3f5,0x321,0x45c)&&!_0x3d9be2?.[_0x1b93d5(_0x15b29b._0x4e9915,0x3b1,_0x15b29b._0x15bda0,0x312)])throw new Error(_0x1b93d5(_0x15b29b._0x3867cc,0x319,_0x15b29b._0x3f31d4,_0x15b29b._0x4563ee)+_0x25d49d+_0x1b93d5(0x404,_0x15b29b._0x54c03f,0x34c,_0x15b29b._0x50d468));const _0x45dba4=buildMcpHttpHeaders(_0x228b8f),_0x1d774a=_0x228b8f['auth']?.[_0x1b93d5(0x2e5,0x1f6,0x22f,_0x15b29b._0x56bd36)]===_0x15273f(-0x23,0xae,-0x64,0xff)&&_0x3d9be2?.[_0x1b93d5(0x3bc,0x45a,_0x15b29b._0x351835,_0x15b29b._0x3e8526)]?createMcpOAuthProvider({'serverName':_0x25d49d,'callbackUrl':_0x3d9be2[_0x1b93d5(0x3bc,_0x15b29b._0x52b3bc,_0x15b29b._0x8ca892,_0x15b29b._0xb0a400)]['callbackUrl'],'storageDir':_0x3d9be2['oauth'][_0x15273f(_0x15b29b._0x4dde3f,-_0x15b29b._0x1c2e3e,-_0x15b29b._0x3225e0,_0x15b29b._0x2f7e47)],'config':_0x228b8f[_0x1b93d5(_0x15b29b._0x314695,_0x15b29b._0x41131d,_0x15b29b._0x1d568e,_0x15b29b._0x531b0c)],'onRedirect':_0x4dd135=>_0x3d9be2[_0x15273f(0xa5,0xde,-0x64,-0x23)]?.['onRedirect'](_0x25d49d,_0x4dd135)}):void 0x0,_0x4cdaf3=new StreamableHTTPClientTransport(new URL(_0x228b8f[_0x15273f(-_0x15b29b._0x13bee3,-_0x15b29b._0x382265,-_0x15b29b._0x59f8a1,-0xf7)]),{'authProvider':_0x1d774a,'requestInit':_0x45dba4?{'headers':_0x45dba4}:void 0x0});await _0x5dfbf4[_0x1b93d5(_0x15b29b._0x4528aa,_0x15b29b._0x3ee3df,0x2c4,0x89)](_0x4cdaf3);}else{if(!_0x228b8f['command'])throw new Error('MCP\x20server\x20'+_0x25d49d+'\x20requires\x20command\x20for\x20stdio\x20transport');const _0x49d3df=new StdioClientTransport({'command':_0x228b8f[_0x1b93d5(_0x15b29b._0x10c017,0x363,_0x15b29b._0x1c4e8e,0x426)],'args':_0x228b8f[_0x1b93d5(0x1e1,_0x15b29b._0x20deb2,_0x15b29b._0x3f2af2,0x10a)]??[],'env':_0x228b8f[_0x1b93d5(0x43d,_0x15b29b._0xbe6693,0x535,0x3ca)],'stderr':_0x1b93d5(0x2fa,_0x15b29b._0xad6e63,_0x15b29b._0x2d16fe,0x39a)});await _0x5dfbf4[_0x1b93d5(0x1da,_0x15b29b._0x51e65d,_0x15b29b._0x267684,_0x15b29b._0x5b47ad)](_0x49d3df);}function _0x15273f(_0x53452c,_0x4f316d,_0x3d2e56,_0x3e75fa){return _0x4d40c0(_0x53452c-_0x23e2c9._0x155527,_0x3d2e56-0x5e,_0x3d2e56-_0x23e2c9._0x25345a,_0x3e75fa);}return{async 'listTools'(){const _0x4395bf={_0xb70d34:0x1b8};function _0x489c86(_0xc07262,_0x2bfc25,_0x78f58a,_0x487e35){return _0x15273f(_0xc07262-_0x4395bf._0xb70d34,_0x2bfc25-0xb6,_0x78f58a-0x37d,_0x2bfc25);}return await _0x5dfbf4[_0x489c86(_0x32fff3._0x5bc7a3,0x250,_0x32fff3._0xa7f3b8,0x203)]();},async 'callTool'(_0x4d7068){return await _0x5dfbf4['request']({'method':'tools/call','params':_0x4d7068},CallToolResultSchema);},async 'close'(){function _0x51d8b6(_0x1e28c8,_0x44625e,_0x1489ed,_0x3b7049){return _0x15273f(_0x1e28c8-_0x416284._0x33dac2,_0x44625e-0x117,_0x3b7049- -0x89,_0x1e28c8);}await _0x5dfbf4[_0x51d8b6(-0x1b3,-_0x4f101d._0x417591,-0xf9,-0x214)]();}};}async function createMcpToolsFromServers(_0x15c34b){const _0x111fdf={_0x26c5bc:0x382,_0x107c6c:0xa4,_0x42ac73:0x13e,_0x3544fa:0x16f,_0x1885a7:0x30,_0x543949:0x12e,_0x56fad3:0x2b,_0x29988b:0x77,_0x4f5cc4:0x3e1,_0x3fb310:0x2e7,_0x12dede:0x384,_0x59be78:0x25f,_0x3dd3d3:0x4d3,_0x5c095d:0x54b,_0x2f2b7e:0x4f2,_0x2ee4e8:0x64,_0x5a4dce:0x5db,_0x28f71f:0x52e,_0x16f4b1:0x46d,_0x2e1566:0x395,_0x7a60d7:0x4d,_0x4d96d2:0x4da,_0x1771b2:0x524,_0x4013d2:0x5b8,_0x2cc865:0x52f},_0x3e4f87={_0xe09cc4:0x83,_0x4090b5:0x20f,_0x17504e:0x61e},_0x5a7587={_0x3612f0:0x24,_0x332af3:0x78},_0x2398e8={_0x2f87b4:0x196},_0x4137e2={_0x457183:0xaf},_0x518495=_0x15c34b[_0xabfc2a(_0x111fdf._0x26c5bc,0x3a1,0x338,0x296)]??connectMcpServer,_0x3e628b=[];function _0xa7b7e2(_0xbe4547,_0x4de1a8,_0x1e4c74,_0x54dd51){return _0xf90728(_0x54dd51,_0x4de1a8-_0x4137e2._0x457183,_0x1e4c74-0x1e,_0x54dd51-0xd0);}const _0xecf48={},_0x518ec9={},_0xba3f1=[];for(const [_0x5e9940,_0x43dd7e]of Object[_0xa7b7e2(-0x127,-_0x111fdf._0x107c6c,0x19,_0x111fdf._0x42ac73)](_0x15c34b[_0xa7b7e2(_0x111fdf._0x3544fa,-_0x111fdf._0x1885a7,_0x111fdf._0x543949,_0x111fdf._0x56fad3)]??{})){if(_0x43dd7e[_0xa7b7e2(_0x111fdf._0x29988b,-0x273,-0x101,-0x1b7)]===![]){_0xecf48[_0x5e9940]={'status':'disabled'};continue;}try{const _0x5688c1=await _0x518495(_0x5e9940,_0x43dd7e,_0x15c34b['connection']);_0x3e628b['push'](_0x5688c1);const _0xa42bdf=await _0x5688c1[_0xabfc2a(0x36f,0x47c,_0x111fdf._0x4f5cc4,0x425)]();let _0x2e830c=0x0;const _0x3b1fa0=[];for(const _0x59a3af of _0xa42bdf[_0xabfc2a(_0x111fdf._0x3fb310,0x3b9,_0x111fdf._0x12dede,_0x111fdf._0x59be78)]){const _0xa49a01=_0x15c34b[_0xabfc2a(_0x111fdf._0x3dd3d3,_0x111fdf._0x5c095d,_0x111fdf._0x2f2b7e,0x4af)]?.[_0x5e9940]?.[_0x59a3af[_0xa7b7e2(0xca,-_0x111fdf._0x2ee4e8,-0xa3,-0x92)]];_0x3b1fa0[_0xabfc2a(0x3b3,0x46d,0x342,_0x111fdf._0x5a4dce)]({'name':_0x59a3af['name'],..._0x59a3af['description']!==void 0x0?{'description':_0x59a3af['description']}:{},..._0x59a3af['inputSchema']!==void 0x0?{'inputSchema':_0x59a3af['inputSchema']}:{}});if(_0xa49a01===![])continue;_0x2e830c+=0x1,_0xba3f1[_0xabfc2a(_0x111fdf._0x28f71f,_0x111fdf._0x16f4b1,_0x111fdf._0x2e1566,0x33b)](createMcpTool({'serverName':resolvePrefix(_0x5e9940,_0x43dd7e),'tool':_0x59a3af,'client':_0x5688c1}));}_0x518ec9[_0x5e9940]=_0x3b1fa0,_0xecf48[_0x5e9940]={'status':_0xa7b7e2(-_0x111fdf._0x7a60d7,-0x35,0xd,-0x92),'toolCount':_0x2e830c};}catch(_0x103c3f){_0xecf48[_0x5e9940]=isUnauthorizedError(_0x103c3f)?{'status':_0xabfc2a(0x3ca,_0x111fdf._0x4d96d2,_0x111fdf._0x1771b2,0x44b),'message':getErrorMessage(_0x103c3f)}:{'status':_0xabfc2a(_0x111fdf._0x4013d2,_0x111fdf._0x2cc865,0x539,0x4d5),'message':getErrorMessage(_0x103c3f)};}}function _0xabfc2a(_0x14aae4,_0x1d0f4e,_0x373d5e,_0x28ee17){return _0xf90728(_0x373d5e,_0x1d0f4e-0x33,_0x1d0f4e-0x4ff,_0x28ee17-_0x2398e8._0x2f87b4);}return{'tools':_0xba3f1,'servers':_0xecf48,'serverTools':_0x518ec9,async 'close'(){const _0x5d2244={_0x342d56:0x152};function _0x3bbd9b(_0x4153cc,_0x1aedfa,_0x195243,_0x4d3621){return _0xabfc2a(_0x4153cc-_0x5d2244._0x342d56,_0x4d3621- -0xd5,_0x195243,_0x4d3621-0x19f);}function _0x4d5bf1(_0x2b11cf,_0x194ffd,_0x2e6810,_0x2b75ad){return _0xa7b7e2(_0x2b11cf-_0x5a7587._0x3612f0,_0x194ffd-0xde,_0x2e6810-_0x5a7587._0x332af3,_0x2b75ad);}await Promise[_0x4d5bf1(_0x3e4f87._0xe09cc4,_0x3e4f87._0x4090b5,0x138,0x271)](_0x3e628b[_0x3bbd9b(0x6bd,_0x3e4f87._0x17504e,0x416,0x57c)](_0x53684d=>_0x53684d[_0x4d5bf1(0x14d,-0x61,-0xd,0xcf)]()));}};}function getCommand(_0x17bc90){const _0x1590e6={_0x3c28e6:0x5e8,_0x2f9028:0x56c,_0x197288:0x1c1,_0x19fd33:0x139,_0x3bd513:0x16b,_0x17f3d1:0x4b3,_0x1817f3:0x50d,_0x47c306:0x26,_0x3f263b:0x7b},_0x439e95={_0x10c717:0x5d,_0x5ef6f9:0x9a},_0x248c26={_0x16c683:0x1a0,_0xe61aff:0x59f};if(_0x17bc90&&typeof _0x17bc90===_0x5268ad(0x3ab,_0x1590e6._0x3c28e6,0x4ac,_0x1590e6._0x2f9028)&&!Array[_0x4e8d27(_0x1590e6._0x197288,_0x1590e6._0x19fd33,_0x1590e6._0x3bd513,0x15b)](_0x17bc90)&&typeof _0x17bc90['command']===_0x5268ad(_0x1590e6._0x17f3d1,0x351,0x483,_0x1590e6._0x1817f3))return _0x17bc90[_0x4e8d27(_0x1590e6._0x47c306,-0x112,_0x1590e6._0x3f263b,0x57)];function _0x5268ad(_0x2d95e8,_0x355f39,_0x3e41aa,_0x3f8aca){return _0x4d40c0(_0x2d95e8-_0x248c26._0x16c683,_0x3e41aa-_0x248c26._0xe61aff,_0x3e41aa-0xe,_0x3f8aca);}function _0x4e8d27(_0x265b1f,_0x58d5f2,_0x3d34cf,_0x219e81){return _0xf90728(_0x3d34cf,_0x58d5f2-0x5,_0x265b1f-_0x439e95._0x10c717,_0x219e81-_0x439e95._0x5ef6f9);}return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=[_0x4d40c0(-0xe3,-0xdf,-0xc9,-0x23e),_0xf90728(-0x6e,-0x1ba,-0x14c,-0x28e),_0x4d40c0(-0x2c9,-0x1f6,-0x25a,-0x122),_0x4d40c0(-0x2d,-0x12e,-0x10b,-0xc),_0x4d40c0(-0x170,-0x1a4,-0x63,-0xde),_0x4d40c0(-0x288,-0x250,-0x122,-0x25c),_0x4d40c0(-0x17c,-0xdb,-0xc5,-0x14a),_0xf90728(-0x89,-0xb8,-0x6b,0xc),_0xf90728(0x171,0x180,0x109,-0x46),_0x4d40c0(-0x102,-0x140,-0x1da,0x29),_0x4d40c0(-0x28d,-0x22f,-0x366,-0x37b),_0x4d40c0(-0x301,-0x212,-0x381,-0x362),_0x4d40c0(-0x140,-0xf7,-0x1c6,-0x5d),_0x4d40c0(-0x278,-0x13f,-0x20a,-0xec),_0x4d40c0(0x3f,-0x38,0x106,0x9a),'src/formats/provider-adapters.test.ts',_0x4d40c0(-0xde,-0xc3,-0xd8,-0x8a)][_0x4d40c0(0x16d,0x25,0xdf,0xe5)]('\x0a'),SHELL_EXEC_TOOL={'name':'Bash','description':'Executes\x20a\x20shell\x20command','input_schema':{'type':'object','properties':{'command':{'type':'string'}},'required':[_0xf90728(-0x128,-0x6b,-0x37,-0x13f)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x2638a2){return{'output':_0x2638a2,'structured':{'value':_0x2638a2}};}function createUnknownToolResult(_0x1414be){const _0x4f5d29={_0x42bf12:0x7d,_0xee53fc:0xbd,_0x431bf2:0x8,_0x15e580:0xcd,_0x1f5a57:0x1c,_0x169a73:0x19e,_0x71e560:0x4d,_0x2e24a8:0x3b,_0x185b61:0xa,_0x2e083a:0x28,_0x6a1375:0xa5,_0x52097b:0x24,_0x3b22b8:0x71},_0x51c124={_0x1f1dbb:0x1e3},_0x1d11b1={_0xbe058f:0x17e};function _0x410dce(_0x5d312c,_0x19a159,_0x3f7a73,_0x21c024){return _0xf90728(_0x5d312c,_0x19a159-0x27,_0x3f7a73-_0x1d11b1._0xbe058f,_0x21c024-0x10a);}function _0x119ec6(_0xe87d6a,_0x5c260d,_0x862989,_0x19cfed){return _0x4d40c0(_0xe87d6a-0xaf,_0x862989-_0x51c124._0x1f1dbb,_0x862989-0xd2,_0x19cfed);}return{'callId':_0x1414be['id'],'toolName':_0x1414be[_0x410dce(-_0x4f5d29._0x42bf12,-0x56,_0x4f5d29._0xee53fc,0x110)],'status':_0x119ec6(_0x4f5d29._0x431bf2,0x89,_0x4f5d29._0x15e580,_0x4f5d29._0x1f5a57),'output':_0x410dce(_0x4f5d29._0x169a73,_0x4f5d29._0x71e560,_0x4f5d29._0x2e24a8,-_0x4f5d29._0x185b61)+_0x1414be[_0x119ec6(-_0x4f5d29._0x2e083a,-_0x4f5d29._0x6a1375,-_0x4f5d29._0x52097b,-_0x4f5d29._0x3b22b8)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x4ee06c,_0x3a7002){const _0x1f8655={_0x2a5c2e:0xc7,_0x2b68c2:0x1e,_0x54bde1:0x437,_0x5c58fa:0x3fc},_0x3ab20e={_0x154b66:0xc6},_0x103a2c={_0x58e381:0x88,_0x2afa72:0x61};function _0x797641(_0x1aa4d2,_0x257532,_0x2ff5e9,_0x52d06c){return _0xf90728(_0x2ff5e9,_0x257532-_0x103a2c._0x58e381,_0x52d06c-0xa3,_0x52d06c-_0x103a2c._0x2afa72);}function _0x110135(_0x29d9ac,_0x2f7294,_0x3be9c7,_0x2c4019){return _0xf90728(_0x29d9ac,_0x2f7294-_0x3ab20e._0x154b66,_0x2f7294-0x3df,_0x2c4019-0x1b6);}return{'callId':_0x4ee06c['id'],'toolName':_0x4ee06c[_0x797641(_0x1f8655._0x2a5c2e,0xdc,0x21,-_0x1f8655._0x2b68c2)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x4ee06c[_0x110135(0x502,_0x1f8655._0x54bde1,_0x1f8655._0x5c58fa,0x3e4)]),'exitCode':0x0},'chunks':[_0x3a7002],'meta':createMeta()};}function createMockToolRuntime(){const _0x17646d={_0x513c14:0x5a8},_0x1737fd={_0x2690eb:0x5c,_0x1caf7f:0x159,_0x2a1aa7:0x104,_0x36fe87:0x96,_0x545885:0x29},_0x37337f={_0x5a76e7:0xfe},_0x2051cc=async(_0x3dd83d,_0x458402)=>{if(_0x3dd83d[_0x5b8df2(_0x1737fd._0x2690eb,_0x1737fd._0x1caf7f,-_0x1737fd._0x2a1aa7,0x44)]!==_0x5b8df2(-0x41,-0x1d,-_0x1737fd._0x36fe87,-_0x1737fd._0x545885))return createUnknownToolResult(_0x3dd83d);const _0x2ea2ba=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0xc73aaf(_0x5a1cd0,_0x5a486b,_0x369235,_0x233089){return _0x3eab(_0x233089- -0x13b,_0x5a1cd0);}function _0x5b8df2(_0x3d73c1,_0x2c92a7,_0xc75678,_0x19eae8){return _0x3eab(_0x19eae8- -_0x37337f._0x5a76e7,_0x2c92a7);}return createSuccessToolResult(_0x3dd83d,_0x2ea2ba);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x107a65,_0x393c50){const _0x3c31eb={_0x42d914:0x303};function _0x25b5ad(_0x441147,_0x4e7b6a,_0x57c24b,_0x58b698){return _0x3eab(_0x57c24b-_0x3c31eb._0x42d914,_0x441147);}return await Promise[_0x25b5ad(0x615,0x694,_0x17646d._0x513c14,0x557)](_0x107a65['map'](async _0x4add71=>{return await _0x2051cc(_0x4add71,_0x393c50);}));},async 'execute'(_0x3ad680,_0x2f3001){return await _0x2051cc(_0x3ad680,_0x2f3001);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x58287c={_0x1ef567:0x1cc},_0x599178={_0x41cf32:0x2d2,_0x466a45:0x1a};function _0x50ad35(_0x3d8bda,_0x577faf,_0xddd7dd,_0x2f42ee){return _0xf90728(_0xddd7dd,_0x577faf-0xe9,_0x3d8bda-_0x599178._0x41cf32,_0x2f42ee-_0x599178._0x466a45);}return delegatedRunCounter+=0x1,_0x50ad35(0x2cc,0x435,_0x58287c._0x1ef567,0x31f)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x10b819,_0x279697){const _0x32473f={_0x53fb24:0x59c};function _0x2de90f(_0x1b1456,_0x4c62d9,_0x20f0a8,_0x41ae49){return _0x4d40c0(_0x1b1456-0x1c7,_0x1b1456-0x6bd,_0x20f0a8-0xc8,_0x20f0a8);}return typeof _0x10b819===_0x2de90f(_0x32473f._0x53fb24,0x477,0x491,0x629)?await _0x10b819(_0x279697):_0x10b819;}function getDelegatedAgentDefinition(_0x36c84e,_0x5ab533){return _0x36c84e['agents']?.[_0x5ab533];}function createRunSummary(_0x384662){const _0x42bcf9={_0x2f679e:0x30a,_0x12b873:0x25d,_0x3303e3:0x13e,_0x3fff9d:0x105,_0x5b7cf5:0x1ed,_0x466f5b:0x28d,_0x304263:0x201,_0x2d2676:0x111,_0x32534d:0x183,_0x39d7f3:0x28b,_0xe707ff:0x383,_0x2fb63c:0x1f0,_0x360785:0x1c6,_0x30ac70:0x293,_0xcbf0da:0x271,_0x42e234:0xc2,_0x37f50b:0xfd,_0x5eed91:0x5b,_0x30f5df:0x53,_0x3b4c7a:0xed,_0x4937bc:0xa9},_0x24dd79={_0x30a041:0x199,_0x3e2d84:0x176},_0x23858b={_0x358be6:0x9,_0x2f0540:0x120,_0xd9feec:0x102};function _0x2fe2f0(_0x2d8814,_0x2a842d,_0xa518e4,_0x68ad00){return _0xf90728(_0x2a842d,_0x2a842d-_0x23858b._0x358be6,_0xa518e4- -_0x23858b._0x2f0540,_0x68ad00-_0x23858b._0xd9feec);}function _0x3bd116(_0x3aaab9,_0x99d310,_0x1f3bfb,_0x58fcd5){return _0x4d40c0(_0x3aaab9-_0x24dd79._0x30a041,_0x1f3bfb-0xf,_0x1f3bfb-_0x24dd79._0x3e2d84,_0x3aaab9);}return{'runId':_0x384662[_0x2fe2f0(-_0x42bcf9._0x2f679e,-_0x42bcf9._0x12b873,-0x1a9,-_0x42bcf9._0x3303e3)],'agentId':_0x384662['agentId'],'sessionId':_0x384662['sessionId'],'status':_0x384662[_0x2fe2f0(-0x1ec,-_0x42bcf9._0x3fff9d,-0x102,-_0x42bcf9._0x5b7cf5)],'parentSessionId':_0x384662[_0x2fe2f0(-0x248,-_0x42bcf9._0x466f5b,-_0x42bcf9._0x304263,-0x28a)],..._0x384662[_0x2fe2f0(-_0x42bcf9._0x2d2676,-_0x42bcf9._0x32534d,-0x274,-0x2ed)]!==void 0x0?{'originToolCallId':_0x384662[_0x3bd116(-0x147,-0x3b2,-_0x42bcf9._0x39d7f3,-_0x42bcf9._0xe707ff)]}:{},..._0x384662[_0x2fe2f0(-_0x42bcf9._0x2fb63c,-0x25a,-0x271,-_0x42bcf9._0x360785)]!==void 0x0?{'errorMessage':_0x384662[_0x2fe2f0(-_0x42bcf9._0x30ac70,-0x18e,-_0x42bcf9._0xcbf0da,-0x22a)]}:{},..._0x384662[_0x2fe2f0(-0x11e,_0x42bcf9._0x42e234,0x40,-0x81)]?.[_0x2fe2f0(-0x39,-0x23e,-_0x42bcf9._0x37f50b,_0x42bcf9._0x5eed91)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x384662[_0x2fe2f0(-_0x42bcf9._0x30f5df,-_0x42bcf9._0x3b4c7a,0x40,-_0x42bcf9._0x4937bc)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x1ff4f9,_0x1b2497){const _0x493f39={_0x597248:0x22e,_0x1d6fdf:0x333},_0x3c0315={_0x4a3741:0x91};function _0x3471da(_0x51b828,_0x475422,_0xeb26ab,_0x14602b){return _0xf90728(_0x475422,_0x475422-_0x3c0315._0x4a3741,_0x14602b-0x345,_0x14602b-0x21);}const _0x4fec13=createRunSummary(_0x1ff4f9),_0xf488ff=_0x4fec13[_0x3471da(0x1e2,_0x493f39._0x597248,0x2f4,_0x493f39._0x1d6fdf)];return createToolOutput(typeof _0xf488ff==='string'&&_0xf488ff['length']>0x0?_0xf488ff:_0x1b2497,_0x4fec13);}function getRunTerminalErrorMessage(_0x30de71){const _0x287655={_0x2a9f4a:0x472,_0xf4bc95:0x41d,_0x3452b0:0x166,_0x33ab55:0x14f,_0x155cf0:0x510,_0x3a3586:0x4b5,_0x44883c:0x3c9,_0xa61045:0x467,_0xdd6aa5:0x84,_0x181741:0x62},_0x95411={_0x2d6b69:0x86},_0xfa6e40=_0x30de71?.[_0x92ea94(_0x287655._0x2a9f4a,_0x287655._0xf4bc95,0x3ff,0x469)][_0x92ea94(0x3f0,0x477,0x36f,0x3d6)]['at'](-0x1);if(_0xfa6e40?.[_0x88bb9c(-_0x287655._0x3452b0,-0xd9,-_0x287655._0x33ab55,-0x1fb)]==='error'&&_0xfa6e40[_0x92ea94(_0x287655._0x155cf0,_0x287655._0x3a3586,_0x287655._0x44883c,0x3cf)]['trim']()[_0x92ea94(0x501,0x3a3,0x609,_0x287655._0xa61045)]>0x0)return _0xfa6e40[_0x88bb9c(_0x287655._0xdd6aa5,-_0x287655._0x181741,-0x179,-_0x287655._0x3452b0)];function _0x88bb9c(_0x493293,_0x393732,_0x20c6d2,_0x56595a){return _0xf90728(_0x56595a,_0x393732-0x179,_0x393732- -0xf7,_0x56595a-_0x95411._0x2d6b69);}function _0x92ea94(_0x263b1c,_0x27bb4b,_0x4a81ff,_0x538239){return _0x4d40c0(_0x263b1c-0x127,_0x263b1c-0x5c1,_0x4a81ff-0xeb,_0x538239);}return void 0x0;}function formatAbortedRunMessage(_0x1e9429,_0x2cc5c8){const _0xc73e94={_0x177f18:0xec,_0x3cafe5:0xaf,_0x1aedbe:0xcc,_0x564641:0x1e5,_0xfa511d:0x142,_0x5c3e94:0x388,_0x2180e9:0x215},_0x40d51b={_0x294aea:0x1df,_0x1c0f2c:0xd3},_0x5b09cb={_0x111372:0x96,_0x14982f:0x287};function _0x8b16da(_0x42870,_0x1fcb64,_0x25ee23,_0x494f2b){return _0xf90728(_0x25ee23,_0x1fcb64-_0x5b09cb._0x111372,_0x1fcb64-_0x5b09cb._0x14982f,_0x494f2b-0x63);}const _0x17c86f=_0x10ffc0(-_0xc73e94._0x177f18,_0xc73e94._0x3cafe5,_0xc73e94._0x1aedbe,-0xa6)+_0x1e9429+'\x20was\x20aborted.';if(!_0x2cc5c8||_0x2cc5c8['trim']()[_0x8b16da(0x39f,0x30d,_0xc73e94._0x564641,0x1d9)]===0x0||_0x2cc5c8===_0x17c86f)return _0x17c86f;function _0x10ffc0(_0x50192d,_0x5c443d,_0xde4d5,_0x1edd91){return _0x4d40c0(_0x50192d-_0x40d51b._0x294aea,_0x1edd91-_0x40d51b._0x1c0f2c,_0xde4d5-0x191,_0xde4d5);}return _0x17c86f+_0x8b16da(_0xc73e94._0xfa511d,0x215,_0xc73e94._0x5c3e94,_0xc73e94._0x2180e9)+_0x2cc5c8;}function createAssignTaskTool(_0x3f1930){const _0x40c29e={_0x20b075:0xcf,_0x1284d1:0x165,_0x399a57:0xa0,_0x5c6af2:0x1d4,_0x3e7e3a:0x216,_0x9edd3a:0x384,_0x2011fb:0x167,_0x2dc343:0x236,_0x4afe6b:0x341,_0x5688c8:0x1ed,_0x3bac5f:0x7b,_0x2ad84c:0x6a,_0x32281c:0x1b9,_0x251d03:0xe3,_0x1f7fe8:0x256,_0x3ff8dc:0x14},_0xdd2b31={_0xf55ed8:0x2dd,_0x37f8c3:0x2d4,_0x2bc941:0x352,_0x16688d:0x2db,_0x26f2b7:0x33c,_0x140629:0x444,_0x5986f9:0x49a,_0x16596a:0x43e,_0x30804b:0x36b,_0x1b5057:0x59a,_0x2a9837:0x1bc,_0x7d0c15:0x357,_0x49e25b:0x424,_0x3eee8d:0x2dd,_0x5285b2:0x41f,_0x2dc6fe:0x1da,_0x1717e9:0x2dd,_0x44821e:0x3d5,_0x14c7a1:0x432,_0x3f9c1a:0x51d,_0x2d56ec:0x28c,_0x2a117f:0x36a,_0x3e7d20:0x4bb,_0x599033:0x51b,_0x252da2:0x3b8,_0x4b7995:0x29a,_0x2a340d:0x293,_0x2b66fe:0x14d,_0x31ea36:0x414,_0x316919:0x288,_0x619cd9:0x17f,_0x43c424:0x5a,_0x37776b:0x3a2,_0x5a644a:0x3bf,_0x4a919e:0x2db,_0x47d00f:0x167,_0x1dee12:0x350,_0x5184fd:0x33f,_0x23ed3b:0x4b8,_0x45cf24:0x304,_0x40ab75:0x453,_0x4355c8:0x458,_0x1485e5:0x487,_0x328dc5:0x533,_0x4e2d5d:0x1d7,_0x13babf:0x392,_0x5dfc9c:0x49f,_0x538437:0x50c,_0x3d27cb:0x426,_0x5517a9:0x2cd,_0x1b63d6:0x16d,_0x153c86:0x27f,_0xa35820:0x52f,_0x10dd5e:0x3e6,_0x483bac:0x415,_0x1136b8:0x410,_0x5f20b6:0x28f,_0x22079c:0x9c,_0x1bc3b5:0x44e,_0x34132e:0x493,_0x43726f:0x4f3,_0x2ad614:0x1a7,_0x6102e5:0x323,_0x42dd02:0x1a8,_0x292926:0x5a8,_0x5a5977:0x555,_0x191873:0x515,_0x1b59eb:0x1d6,_0x53d17f:0x31d,_0x5b5e96:0x4e5,_0x44a6cd:0x5a8,_0x1e1068:0x539,_0x43b26d:0x2a,_0x3bd510:0xba,_0x5d108f:0x91},_0x44226b={_0x2d4dc0:0x45},_0xd5f57f={_0x27362e:0x7e};function _0x4e27f0(_0x26af64,_0x3592ae,_0x32a85b,_0x53d43d){return _0xf90728(_0x53d43d,_0x3592ae-0x109,_0x32a85b-0x1c3,_0x53d43d-_0xd5f57f._0x27362e);}function _0x56c2cf(_0x373348,_0x11c828,_0xb02d61,_0x302e46){return _0x4d40c0(_0x373348-0xf8,_0x11c828- -0x18,_0xb02d61-0x1d3,_0xb02d61);}return defineTool({'name':'AssignTask','description':_0x4e27f0(-_0x40c29e._0x20b075,_0x40c29e._0x1284d1,_0x40c29e._0x399a57,0x16a),'inputSchema':{'type':_0x4e27f0(_0x40c29e._0x5c6af2,0x1b6,_0x40c29e._0x3e7e3a,_0x40c29e._0x9edd3a),'properties':{'agentId':{'type':_0x4e27f0(0x99,_0x40c29e._0x2011fb,0x1ed,_0x40c29e._0x2dc343)},'description':{'type':_0x4e27f0(0x352,0x285,0x1ed,0x355)},'nickname':{'type':_0x4e27f0(_0x40c29e._0x4afe6b,0x109,_0x40c29e._0x5688c8,0x171)},'task':{'type':_0x4e27f0(0x182,0x285,_0x40c29e._0x5688c8,_0x40c29e._0x20b075)}},'required':[_0x56c2cf(-_0x40c29e._0x3bac5f,-0x89,-0x10b,_0x40c29e._0x2ad84c),'description',_0x56c2cf(-_0x40c29e._0x32281c,-_0x40c29e._0x251d03,-_0x40c29e._0x1f7fe8,_0x40c29e._0x3ff8dc)]},async *'execute'(_0x297175,_0x4aa4f5){const _0x2eedf6={_0x16ac48:0x2ff},_0x2fec60={_0x1f37e3:0x3a},_0xd79449={_0x3e2814:0x15d,_0x3e72e7:0x5a6,_0x5e9adf:0x152},_0x3d86d3=createDelegatedRunId(),_0x263d55={'agentId':_0x297175[_0x1f0fe7(0x336,_0xdd2b31._0xf55ed8,_0xdd2b31._0x37f8c3,_0xdd2b31._0x2bc941)],'parentSessionId':_0x4aa4f5[_0x1f0fe7(0x203,_0xdd2b31._0x16688d,0x3c6,0x211)],'runId':_0x3d86d3,..._0x4aa4f5[_0x10b45c(_0xdd2b31._0x26f2b7,_0xdd2b31._0x140629,_0xdd2b31._0x5986f9,_0xdd2b31._0x16596a)]!==void 0x0?{'toolCallId':_0x4aa4f5[_0x10b45c(_0xdd2b31._0x30804b,0x518,_0xdd2b31._0x5986f9,_0xdd2b31._0x1b5057)]}:{}},_0x6bc47f=getDelegatedAgentDefinition(_0x3f1930,_0x297175[_0x1f0fe7(0x200,0x2dd,_0xdd2b31._0x2a9837,_0xdd2b31._0x7d0c15)]);if(!_0x6bc47f)throw new ToolExecutionError(_0x10b45c(0x320,_0xdd2b31._0x49e25b,0x321,0x26d)+_0x297175[_0x1f0fe7(0x390,_0xdd2b31._0x3eee8d,0x1ce,_0xdd2b31._0x5285b2)],{'agentId':_0x297175[_0x1f0fe7(_0xdd2b31._0x2dc6fe,_0xdd2b31._0x1717e9,0x43c,_0xdd2b31._0x44821e)]});const _0x3fa6d5=new Agent(await resolveDelegatedAgentOptions(_0x6bc47f,_0x263d55));function _0x1f0fe7(_0x1e72ca,_0x5ee26c,_0x3ca154,_0x1cd65a){return _0x4e27f0(_0x1e72ca-0x195,_0x5ee26c-0x11d,_0x5ee26c-_0x44226b._0x2d4dc0,_0x3ca154);}function _0x10b45c(_0x3261e8,_0x462983,_0x299ac4,_0x536c6d){return _0x56c2cf(_0x3261e8-_0xd79449._0x3e2814,_0x299ac4-_0xd79449._0x3e72e7,_0x3261e8,_0x536c6d-_0xd79449._0x5e9adf);}let _0x39dcbc={'runId':_0x3d86d3,'agentId':_0x297175[_0x10b45c(0x5dc,_0xdd2b31._0x14c7a1,_0xdd2b31._0x3f9c1a,0x612)],'sessionId':_0x3fa6d5[_0x1f0fe7(_0xdd2b31._0x2d56ec,_0xdd2b31._0x16688d,0x1e4,0x401)],'status':_0x1f0fe7(0x2a0,_0xdd2b31._0x2a117f,0x390,0x446),'parentSessionId':_0x4aa4f5[_0x10b45c(_0xdd2b31._0x3e7d20,0x662,_0xdd2b31._0x599033,_0xdd2b31._0x252da2)],..._0x4aa4f5[_0x1f0fe7(0x112,0x25a,_0xdd2b31._0x4b7995,_0xdd2b31._0x2a340d)]!==void 0x0?{'originToolCallId':_0x4aa4f5[_0x1f0fe7(0x32b,0x25a,0x279,_0xdd2b31._0x2b66fe)]}:{}};const _0x35f654=new AbortController(),_0x401367=addAbortListener(_0x4aa4f5[_0x1f0fe7(_0xdd2b31._0x31ea36,0x2fa,0x23a,0x19e)],()=>{const _0x5b9ffc={_0x429248:0x95,_0x2092c4:0x10a,_0x1b649f:0x1e3};function _0x1ad632(_0x552a65,_0x3cea96,_0x2fb3d8,_0x4d0529){return _0x10b45c(_0x4d0529,_0x3cea96-_0x5b9ffc._0x429248,_0x2fb3d8-_0x5b9ffc._0x2092c4,_0x4d0529-_0x5b9ffc._0x1b649f);}function _0x3f7231(_0x9c7063,_0x2ba284,_0x2211d5,_0x3aff71){return _0x1f0fe7(_0x9c7063-_0x2fec60._0x1f37e3,_0x3aff71-0x1c1,_0x2ba284,_0x3aff71-0x14);}_0x35f654[_0x1ad632(_0x2eedf6._0x16ac48,0x45a,0x3f3,0x436)](_0x4aa4f5['signal']?.[_0x1ad632(0x3cc,0x484,0x3ee,0x3bf)]);});yield createToolOutput('Started\x20agent\x20run\x20'+_0x39dcbc[_0x1f0fe7(_0xdd2b31._0x316919,_0xdd2b31._0x619cd9,0x59,_0xdd2b31._0x43c424)]+'.',{'runId':_0x39dcbc[_0x10b45c(_0xdd2b31._0x37776b,0x3dd,_0xdd2b31._0x5a644a,0x497)],'agentId':_0x39dcbc[_0x1f0fe7(0x26b,0x2dd,0x2d0,0x2e7)],'sessionId':_0x39dcbc[_0x1f0fe7(0x3f0,_0xdd2b31._0x4a919e,_0xdd2b31._0x47d00f,_0xdd2b31._0x1dee12)],'status':_0x39dcbc[_0x10b45c(_0xdd2b31._0x5184fd,_0xdd2b31._0x23ed3b,0x466,_0xdd2b31._0x45cf24)]});try{const _0xef2629=await _0x3fa6d5[_0x10b45c(_0xdd2b31._0x40ab75,_0xdd2b31._0x4355c8,_0xdd2b31._0x1485e5,_0xdd2b31._0x328dc5)](_0x297175['task'],{'streaming':!![],'signal':_0x35f654['signal']});_0x39dcbc={..._0x39dcbc,'status':_0xef2629[_0x1f0fe7(_0xdd2b31._0x4e2d5d,0x226,0x121,_0xdd2b31._0x13babf)],'result':_0xef2629};if(_0xef2629[_0x10b45c(0x3f8,_0xdd2b31._0x5dfc9c,0x466,_0xdd2b31._0x538437)]!==_0x1f0fe7(_0xdd2b31._0x3d27cb,_0xdd2b31._0x5517a9,0x180,_0xdd2b31._0x1b63d6)){const _0x21d5b5=getRunTerminalErrorMessage(_0xef2629),_0x568687=formatAbortedRunMessage(_0x39dcbc[_0x1f0fe7(0xa9,0x17f,_0xdd2b31._0x153c86,0x1a4)],_0x21d5b5);throw new ToolExecutionError(_0x568687,{...createRunSummary(_0x39dcbc),'aborted':!![],'errorMessage':_0x568687});}return createRunSummaryOutput(_0x39dcbc,_0x10b45c(_0xdd2b31._0xa35820,_0xdd2b31._0x10dd5e,_0xdd2b31._0x483bac,_0xdd2b31._0x1136b8)+_0x39dcbc[_0x1f0fe7(_0xdd2b31._0x5f20b6,0x17f,_0xdd2b31._0x22079c,0x253)]+_0x10b45c(_0xdd2b31._0x1bc3b5,0x493,_0xdd2b31._0x34132e,_0xdd2b31._0x43726f));}catch(_0x203f3e){if(_0x203f3e instanceof ToolExecutionError)throw _0x203f3e;if(isAbortError(_0x203f3e)||_0x35f654['signal'][_0x1f0fe7(_0xdd2b31._0x2ad614,0xdd,0x7c,0x15)]||_0x4aa4f5['signal'][_0x10b45c(_0xdd2b31._0x6102e5,_0xdd2b31._0x42dd02,0x31d,0x2ff)]){const _0x26677b=getRunTerminalErrorMessage(_0x39dcbc[_0x10b45c(0x60d,0x480,_0xdd2b31._0x292926,_0xdd2b31._0x5a5977)])??(_0x203f3e instanceof Error?_0x203f3e['message']:String(_0x203f3e)),_0x22c39c=formatAbortedRunMessage(_0x39dcbc[_0x10b45c(0x3c2,_0xdd2b31._0x191873,0x3bf,0x34f)],_0x26677b);_0x39dcbc={..._0x39dcbc,'status':_0x10b45c(0x2e7,_0xdd2b31._0x1b59eb,_0xdd2b31._0x53d17f,0x488),'errorMessage':_0x22c39c};throw new ToolExecutionError(_0x22c39c,{...createRunSummary(_0x39dcbc),'aborted':!![],'errorMessage':_0x22c39c});}const _0x2762fc=getRunTerminalErrorMessage(_0x39dcbc[_0x10b45c(0x4da,_0xdd2b31._0x5b5e96,_0xdd2b31._0x44a6cd,0x5b5)])??(_0x203f3e instanceof Error?_0x203f3e['message']:String(_0x203f3e))??_0x10b45c(_0xdd2b31._0x1e1068,0x325,0x415,0x3eb)+_0x39dcbc[_0x10b45c(0x311,0x36d,_0xdd2b31._0x5a644a,0x2f5)]+_0x1f0fe7(_0xdd2b31._0x43b26d,_0xdd2b31._0x3bd510,_0xdd2b31._0x5d108f,-0x78);_0x39dcbc={..._0x39dcbc,'status':'failed','errorMessage':_0x2762fc};throw new ToolExecutionError(_0x2762fc,{...createRunSummary(_0x39dcbc),'errorMessage':_0x2762fc});}finally{_0x401367();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x3937b2){return[createAssignTaskTool(_0x3937b2)];}import*as _0x16d582 from'path';function buildDescription2(_0x121474){const _0xe09aba={_0x242b34:0x130,_0x189d61:0xd2,_0x2ca072:0x6b,_0x44b5bf:0x38,_0x5bae76:0x34a,_0x5d3604:0x24,_0x1a6f64:0x4f,_0x5fd110:0xd5,_0x2b4978:0x317,_0x41bf05:0x3fe,_0x519c08:0x1ce,_0x149d7d:0x79,_0x4b090c:0x1e7},_0x213a12={_0x4f52cf:0x4cc,_0x5cd46b:0xcb};function _0x2061f9(_0x6c0d69,_0xcb2334,_0x99282a,_0x3bed3c){return _0x4d40c0(_0x6c0d69-0x1c,_0x3bed3c-_0x213a12._0x4f52cf,_0x99282a-_0x213a12._0x5cd46b,_0x99282a);}if(_0x121474[_0x3b9ff4(_0xe09aba._0x242b34,_0xe09aba._0x189d61,0x102,_0xe09aba._0x2ca072)]===0x0)return _0x3b9ff4(-0x2a,-0x2c,-0x86,_0xe09aba._0x44b5bf);const _0x4a17b3=[_0x2061f9(0x2fe,0x275,_0xe09aba._0x5bae76,0x33c),_0x3b9ff4(0x97,-_0xe09aba._0x5d3604,-0x9b,-0x1a),_0x3b9ff4(-_0xe09aba._0x1a6f64,_0xe09aba._0x5fd110,0x54,0x11),_0x2061f9(0x306,0x549,_0xe09aba._0x2b4978,_0xe09aba._0x41bf05),..._0x121474[_0x3b9ff4(0x129,0x2b0,_0xe09aba._0x519c08,0xb5)](_0x393064=>'-\x20'+_0x393064[_0x3b9ff4(-0x12c,-0x1a5,-0x45,0x12a)]+':\x20'+_0x393064[_0x3b9ff4(-0x15d,-0x106,0x18,0x60)])];function _0x3b9ff4(_0x1029cd,_0x51838d,_0x47fb0f,_0x1eca61){return _0xf90728(_0x51838d,_0x51838d-0x120,_0x47fb0f-0x7c,_0x1eca61-0x1d0);}return _0x4a17b3[_0x3b9ff4(_0xe09aba._0x149d7d,0x138,_0xe09aba._0x4b090c,0x2f7)]('\x0a');}function createLoadSkillTool(_0x20ca8f){const _0x45a739={_0x1c83b1:0x47b,_0x47d4fc:0x3a0,_0x546308:0x408,_0x517982:0x40b,_0x3b6576:0x3cb,_0x450e4e:0x2f4,_0xded6ec:0x21f},_0x3edf20={_0x22721d:0x2c5,_0x41f6c7:0x2e0,_0x5f4cf7:0x338,_0x1fa661:0x38b,_0x19dd4a:0x168,_0x125df2:0x497,_0x2558fb:0x39e,_0x350420:0x486,_0x50cb71:0xa,_0x26576e:0xf7,_0x2be8ff:0x15d,_0x37091b:0x375,_0x27c329:0xcf,_0x33d807:0x12b,_0xd35187:0xc1,_0x23dd4b:0x34a,_0x4e0838:0x236,_0x357431:0x345,_0x52453b:0x245,_0x23dbb5:0x4c6,_0x31636e:0x27,_0x3020b5:0x2a6,_0x9e5e91:0x387,_0x45eecf:0x2f6,_0x429b8a:0x306,_0x518fc3:0x31d,_0x276392:0x128,_0x396a11:0x172,_0x2dbd4c:0xf5,_0x223f93:0x5c3,_0x4836f6:0x45a,_0x55e80e:0x14c,_0x88e49c:0x3d0,_0x44724e:0x28d,_0xdc9633:0x1a1,_0x4707c0:0x30f,_0x57bbd4:0x241,_0x332f64:0x2c9,_0x29c521:0x196,_0x155f2d:0x206,_0x2e5c25:0x48b,_0x58ac67:0x4b9,_0x4fef37:0x19f,_0x45805e:0x2e2,_0x1bcef:0x3a8,_0x5e3b79:0x68},_0x1e18e8={_0x226632:0x18,_0x34b504:0xce},_0x2bec32={_0x4c36c4:0x7f},_0x4306fe={_0x452909:0x18d},_0x1f9541={_0x4032e0:0x18e,_0x30f6bc:0x5b7};function _0x221369(_0x44e696,_0xd2646,_0x590a2d,_0x43b76d){return _0x4d40c0(_0x44e696-_0x1f9541._0x4032e0,_0xd2646-_0x1f9541._0x30f6bc,_0x590a2d-0x1b8,_0x43b76d);}function _0x33a9ff(_0x10ade9,_0x29fd5c,_0x3d7604,_0x4cef1c){return _0xf90728(_0x10ade9,_0x29fd5c-0x78,_0x3d7604-0x3b5,_0x4cef1c-_0x4306fe._0x452909);}const _0x1276ee=new Map(_0x20ca8f[_0x221369(_0x45a739._0x1c83b1,0x4de,_0x45a739._0x47d4fc,0x3ad)]['map'](_0x53ea56=>[_0x53ea56[_0x221369(0x4fa,0x3b0,0x249,0x469)],_0x53ea56])),_0x3b15fb=buildDescription2(_0x20ca8f[_0x33a9ff(0x4d6,0x53c,0x422,0x576)]);return defineTool({'name':'LoadSkill','description':_0x3b15fb,'inputSchema':{'type':_0x33a9ff(0x2f6,0x2be,_0x45a739._0x546308,_0x45a739._0x517982),'properties':{'name':{'type':_0x33a9ff(0x284,0x393,0x3df,0x501)}},'required':[_0x33a9ff(0x19e,_0x45a739._0x3b6576,_0x45a739._0x450e4e,_0x45a739._0xded6ec)]},async *'execute'(_0x58a6ed){const _0x49b13a=_0x1276ee[_0x1adf1f(0x3fd,0x340,0x2ce,_0x3edf20._0x22721d)](_0x58a6ed[_0x3f5d73(_0x3edf20._0x41f6c7,0x177,0x2e2,0x3a7)]);function _0x1adf1f(_0x57d3f7,_0x4802c7,_0x48b0f1,_0x4ae38d){return _0x221369(_0x57d3f7-0x2a,_0x48b0f1- -0x23e,_0x48b0f1-_0x2bec32._0x4c36c4,_0x57d3f7);}if(!_0x49b13a){const _0x8290c0=Array['from'](_0x1276ee[_0x3f5d73(_0x3edf20._0x5f4cf7,_0x3edf20._0x1fa661,0x277,_0x3edf20._0x19dd4a)]())[_0x1adf1f(0x41b,_0x3edf20._0x125df2,_0x3edf20._0x2558fb,_0x3edf20._0x350420)](',\x20');throw new ToolExecutionError(_0x1adf1f(_0x3edf20._0x50cb71,_0x3edf20._0x26576e,0x142,_0x3edf20._0x2be8ff)+_0x58a6ed[_0x3f5d73(0x268,0x258,0x2e2,_0x3edf20._0x37091b)]+_0x1adf1f(-0x2d,_0x3edf20._0x27c329,_0x3edf20._0x33d807,_0x3edf20._0xd35187)+_0x8290c0,{'name':_0x58a6ed[_0x3f5d73(_0x3edf20._0x23dd4b,_0x3edf20._0x4e0838,0x2e2,0x1c1)]});}const _0x255fc2=await _0x20ca8f[_0x1adf1f(0x341,_0x3edf20._0x357431,_0x3edf20._0x52453b,0x174)](_0x49b13a);function _0x3f5d73(_0x153f80,_0x32036b,_0x2965ad,_0x4b5ac7){return _0x221369(_0x153f80-_0x1e18e8._0x226632,_0x2965ad- -_0x1e18e8._0x34b504,_0x2965ad-0xf7,_0x32036b);}const _0x31f110=_0x49b13a[_0x3f5d73(0x498,_0x3edf20._0x23dbb5,0x50a,0x441)][_0x1adf1f(_0x3edf20._0x31636e,0x23d,0x176,_0x3edf20._0x3020b5)]??_0x16d582[_0x1adf1f(_0x3edf20._0x9e5e91,0x472,0x392,_0x3edf20._0x45eecf)](_0x49b13a[_0x3f5d73(0x5d3,0x62e,0x50a,0x563)][_0x3f5d73(0x32b,0x2be,_0x3edf20._0x429b8a,_0x3edf20._0x518fc3)]),_0x472972=['##\x20Skill:\x20'+_0x255fc2[_0x1adf1f(0x1d9,_0x3edf20._0x276392,_0x3edf20._0x396a11,_0x3edf20._0x2dbd4c)],'',_0x255fc2[_0x3f5d73(_0x3edf20._0x223f93,0x517,_0x3edf20._0x4836f6,0x333)],'',_0x1adf1f(_0x3edf20._0x55e80e,_0x3edf20._0x88e49c,_0x3edf20._0x44724e,_0x3edf20._0xdc9633),_0x1adf1f(0x1c5,_0x3edf20._0x4707c0,0x225,_0x3edf20._0x57bbd4)+_0x49b13a[_0x3f5d73(0x5fc,0x638,0x50a,0x651)][_0x1adf1f(0x1ba,_0x3edf20._0x332f64,_0x3edf20._0x29c521,_0x3edf20._0x155f2d)],_0x3f5d73(_0x3edf20._0x2e5c25,0x3d8,_0x3edf20._0x58ac67,0x540)+_0x31f110]['join']('\x0a');return yield createToolOutput(_0x472972,{'id':_0x255fc2['id'],'name':_0x255fc2[_0x3f5d73(_0x3edf20._0x4fef37,0x18d,_0x3edf20._0x45805e,0x16e)],'path':_0x49b13a[_0x3f5d73(_0x3edf20._0x1bcef,0x4dc,0x50a,0x5e8)][_0x1adf1f(_0x3edf20._0x5e3b79,0x232,_0x3edf20._0x29c521,0x27a)],'baseDirectory':_0x31f110}),void 0x0;}});}var TODO_STATUSES=new Set([_0x4d40c0(-0x20a,-0x1a5,-0x2af,-0x250),_0xf90728(0x6,-0x68,-0x1e,-0xd2),'completed']),TODO_PRIORITIES=new Set([_0xf90728(-0x254,-0x72,-0x161,-0x143),_0x4d40c0(-0x210,-0xb0,0xb7,0x1c),'low']);function isTodoStatus(_0x1ed145){return typeof _0x1ed145==='string'&&TODO_STATUSES['has'](_0x1ed145);}function isTodoPriority(_0x5a9f25){const _0x37b869={_0x33eaa2:0x4e9,_0x337d37:0x3a3},_0x4d6427={_0xdd7181:0x141,_0x586d31:0x379,_0x39884f:0x1d5};function _0x3c87b8(_0x424961,_0x173852,_0x5a8069,_0x191776){return _0xf90728(_0x173852,_0x173852-_0x4d6427._0xdd7181,_0x191776-_0x4d6427._0x586d31,_0x191776-_0x4d6427._0x39884f);}return typeof _0x5a9f25===_0x3c87b8(0x354,0x460,_0x37b869._0x33eaa2,_0x37b869._0x337d37)&&TODO_PRIORITIES['has'](_0x5a9f25);}var TodoStore=class{[_0x4d40c0(-0xe8,-0x65,-0x19b,0xcb)]=new Map();[_0xf90728(-0x13b,-0xda,-0x10c,-0x246)](_0x3d2881){const _0x2f29ac={_0x1b34c8:0xde,_0x2e75e9:0x3d,_0x200cc8:0x44},_0x56f307={_0xe28105:0x67},_0x34a9db={_0xe0b051:0x1ba,_0x4fd1ff:0xdf};function _0x5d357e(_0x29fcdb,_0x27bc05,_0x39f5ac,_0x1056d1){return _0xf90728(_0x1056d1,_0x27bc05-_0x34a9db._0xe0b051,_0x27bc05- -_0x34a9db._0x4fd1ff,_0x1056d1-0xe1);}function _0x36cb62(_0x1eb0e1,_0x1dc586,_0xe65893,_0x278e74){return _0x4d40c0(_0x1eb0e1-0x132,_0xe65893- -_0x56f307._0xe28105,_0xe65893-0x120,_0x1dc586);}return this[_0x5d357e(0xad,0x2,-0x15f,-_0x2f29ac._0x1b34c8)][_0x5d357e(_0x2f29ac._0x2e75e9,-_0x2f29ac._0x200cc8,-0x164,-0xa5)](_0x3d2881)??[];}['setTodos'](_0x361e47,_0x694ca7){const _0xed83b2={_0x10deab:0x16b,_0x117628:0x234,_0x1e1d03:0x49c,_0x42ba21:0x53f},_0x4214b4={_0x3c9bd3:0x1b2},_0x59435b={_0x86e60:0x1ad,_0xe12e13:0x1d0};function _0x5d3ef6(_0x126e4a,_0x3b9b2d,_0x4fa296,_0x40790d){return _0x4d40c0(_0x126e4a-_0x59435b._0x86e60,_0x4fa296-_0x59435b._0xe12e13,_0x4fa296-0x1e1,_0x3b9b2d);}function _0x52ed78(_0x292d6c,_0x1f5d63,_0x3a91a0,_0x3b527d){return _0x4d40c0(_0x292d6c-0x172,_0x3a91a0-0x59c,_0x3a91a0-_0x4214b4._0x3c9bd3,_0x292d6c);}this[_0x5d3ef6(0x22f,0x54,_0xed83b2._0x10deab,_0xed83b2._0x117628)][_0x52ed78(_0xed83b2._0x1e1d03,0x529,0x5a9,_0xed83b2._0x42ba21)](_0x361e47,_0x694ca7);}[_0xf90728(-0x243,-0x212,-0x139,-0x168)](_0x22ad24){const _0x3089e8={_0x5a7957:0x14f,_0x4fc7bb:0x149,_0x2d73b5:0x24c,_0x2bb079:0xe1,_0x52ef42:0x142,_0x9ef636:0x13c,_0x53b771:0xec,_0x23a850:0x1a8,_0x4dc909:0x74,_0x524b16:0x64,_0xcdbee4:0xe9,_0x4786af:0x66,_0x4dd4ed:0x3ec,_0x841d2:0x378},_0x1f34bf={_0xeb223c:0x253,_0x5b9650:0x116};function _0x5d0c90(_0x105a2d,_0x348cdf,_0x11367d,_0x30d080){return _0xf90728(_0x11367d,_0x348cdf-0xc7,_0x348cdf-0xc3,_0x30d080-0xc6);}const _0x5ace47=this['getTodos'](_0x22ad24),_0x344b0f={'total':_0x5ace47[_0x5d0c90(_0x3089e8._0x5a7957,_0x3089e8._0x4fc7bb,0x11c,0x80)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x5bbcea(_0x13ee61,_0x2e9296,_0x344593,_0x47bf0b){return _0xf90728(_0x344593,_0x2e9296-0xe6,_0x2e9296-_0x1f34bf._0xeb223c,_0x47bf0b-_0x1f34bf._0x5b9650);}for(const _0x370281 of _0x5ace47){if(_0x370281[_0x5d0c90(_0x3089e8._0x2d73b5,_0x3089e8._0x2bb079,_0x3089e8._0x52ef42,-0x64)]===_0x5d0c90(_0x3089e8._0x9ef636,0x64,-_0x3089e8._0x53b771,_0x3089e8._0x23a850))_0x344b0f[_0x5d0c90(_0x3089e8._0x4dc909,_0x3089e8._0x524b16,-0x28,-_0x3089e8._0xcdbee4)]+=0x1;else{if(_0x370281[_0x5d0c90(0x117,0xe1,0x1b6,-_0x3089e8._0x4786af)]==='in_progress')_0x344b0f['inProgress']+=0x1;else _0x344b0f[_0x5bbcea(_0x3089e8._0x4dd4ed,0x318,_0x3089e8._0x841d2,0x217)]+=0x1;}}return _0x344b0f;}};function validateTodos(_0x5ef240){const _0x4787aa={_0x235034:0xba,_0x54f395:0x55,_0x2cc673:0x41,_0x2cbc07:0x1e,_0x33028f:0x9f,_0x10eeb3:0x82,_0x38b26a:0xfe,_0xfbcf90:0x179,_0x27a782:0x14d,_0x4c98af:0xf7,_0x1b763c:0x265,_0x32493c:0x261,_0x491c1d:0x2,_0x1cf50e:0x69,_0x168e96:0x72,_0x476e95:0x7d,_0x404530:0x20f,_0x5355af:0x176,_0x1b0451:0x173,_0x3a7c1f:0x1d,_0xf3f1ac:0x192,_0x1b8cbe:0x35,_0x123cf2:0xb8,_0x1b4fb1:0x2c,_0x3f191e:0x15f,_0x27d471:0xd9,_0x54f669:0x1a8,_0x56b6cc:0x1a5,_0x6bceb2:0xe5,_0x2ac66a:0xe6,_0x5320e7:0x6f,_0x448469:0x54,_0x310cca:0x21b,_0x3a8d0b:0xfe,_0x25dc30:0x1b6,_0x57c72f:0x2bb,_0x269609:0x133,_0x437dfa:0x109,_0xe8f2c2:0x1a,_0x2f6be7:0xb8,_0x300ea4:0xac,_0x44919a:0x5a,_0x54be0a:0x167,_0x1549a1:0x16a,_0x36c2ef:0xca,_0x13967f:0x273,_0xfa67ac:0x2e,_0x15ec39:0x1a0,_0x248cc7:0x15e,_0x58019e:0xfc,_0x159934:0xa4,_0x5a72dd:0xa6,_0x5670f2:0x333,_0xc9cc66:0x9d,_0x1d6fe6:0x1f2,_0x521cd6:0x365,_0x1f9340:0x265,_0x4fe599:0x315,_0x48098b:0x260,_0x281ca2:0x219,_0x202400:0xd8,_0x162b81:0x17c,_0x2a79b9:0x1fa,_0x18decb:0x133,_0x5d6e26:0x9f,_0x3bdee1:0x53,_0x518563:0x19c},_0x4b0570={_0x3c271e:0x71,_0x54cfe8:0x73};if(!Array[_0x3b345c(_0x4787aa._0x235034,-_0x4787aa._0x54f395,-_0x4787aa._0x2cc673,-0x134)](_0x5ef240[_0x422032(-_0x4787aa._0x2cbc07,-_0x4787aa._0x33028f,-0x1cf,-_0x4787aa._0x10eeb3)])||_0x5ef240['todos'][_0x3b345c(-0x25d,-0x133,-_0x4787aa._0x38b26a,-0x1db)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':_0x422032(_0x4787aa._0xfbcf90,_0x4787aa._0x27a782,0x176,_0x4787aa._0x4c98af)});function _0x422032(_0x2398c6,_0x45fa74,_0x434f65,_0x5cdf50){return _0x4d40c0(_0x2398c6-0x51,_0x5cdf50-0x170,_0x434f65-0x1a3,_0x2398c6);}for(let _0x741905=0x0;_0x741905<_0x5ef240[_0x422032(-0x6e,0x5e,0x11,-0x82)]['length'];_0x741905+=0x1){const _0x4bfcd0=_0x5ef240[_0x3b345c(-0x288,-_0x4787aa._0x1b763c,-_0x4787aa._0x32493c,-0x391)][_0x741905];if(!_0x4bfcd0||typeof _0x4bfcd0!==_0x422032(-_0x4787aa._0x491c1d,_0x4787aa._0x1cf50e,-_0x4787aa._0x168e96,_0x4787aa._0x476e95))throw new ToolExecutionError(_0x3b345c(-0x9a,-_0x4787aa._0x404530,-0x304,-_0x4787aa._0x5355af)+(_0x741905+0x1)+':\x20todo\x20item\x20is\x20required',{'error':'invalid_todo_item'});if(typeof _0x4bfcd0['id']!=='string'||_0x4bfcd0['id'][_0x422032(-0x12a,-0x11f,_0x4787aa._0x1b0451,_0x4787aa._0x3a7c1f)]()[_0x422032(-0xaf,_0x4787aa._0xf3f1ac,0x39,0xb0)]===0x0)throw new ToolExecutionError(_0x422032(-_0x4787aa._0x1b8cbe,-_0x4787aa._0x123cf2,-0xf,-_0x4787aa._0x1b4fb1)+(_0x741905+0x1)+':\x20id\x20required',{'error':_0x422032(_0x4787aa._0x3f191e,_0x4787aa._0x27d471,0x10f,_0x4787aa._0x54f669)});if(typeof _0x4bfcd0[_0x3b345c(-_0x4787aa._0x56b6cc,-_0x4787aa._0x6bceb2,0x8c,-0x25d)]!==_0x422032(-_0x4787aa._0x2ac66a,0x33,-_0x4787aa._0x5320e7,_0x4787aa._0x448469)||_0x4bfcd0[_0x422032(0x1d4,-0x5c,_0x4787aa._0x310cca,_0x4787aa._0x3a8d0b)][_0x3b345c(-_0x4787aa._0x25dc30,-0x1c6,-0x207,-_0x4787aa._0x57c72f)]()[_0x3b345c(-_0x4787aa._0x3f191e,-_0x4787aa._0x269609,-0x1ca,-_0x4787aa._0x437dfa)]===0x0)throw new ToolExecutionError(_0x422032(0xee,_0x4787aa._0xe8f2c2,_0x4787aa._0x2f6be7,-0x2c)+(_0x741905+0x1)+_0x422032(_0x4787aa._0x300ea4,_0x4787aa._0x44919a,0xef,_0x4787aa._0x54be0a),{'error':_0x3b345c(-_0x4787aa._0x1549a1,-0x13d,-0x16b,-_0x4787aa._0x36c2ef)});if(!isTodoStatus(_0x4bfcd0[_0x3b345c(-_0x4787aa._0x13967f,-0x19b,-0x26,-_0x4787aa._0xfa67ac)]))throw new ToolExecutionError('Todo\x20'+(_0x741905+0x1)+_0x422032(0xf7,_0x4787aa._0x15ec39,0x25d,_0x4787aa._0x248cc7),{'error':_0x422032(-_0x4787aa._0x58019e,-0x69,-_0x4787aa._0x159934,-_0x4787aa._0x5a72dd)});if(!isTodoPriority(_0x4bfcd0['priority']))throw new ToolExecutionError(_0x3b345c(-0x36e,-0x20f,-0x383,-_0x4787aa._0x5670f2)+(_0x741905+0x1)+':\x20invalid\x20priority',{'error':_0x3b345c(-_0x4787aa._0xc9cc66,-0x1e6,-_0x4787aa._0x1d6fe6,-0x12b)});}function _0x3b345c(_0x909aad,_0x5ee961,_0x4ddebf,_0x2dc6f9){return _0x4d40c0(_0x909aad-_0x4b0570._0x3c271e,_0x5ee961- -_0x4b0570._0x54cfe8,_0x4ddebf-0x12b,_0x2dc6f9);}const _0x1e8af3=_0x5ef240[_0x3b345c(-_0x4787aa._0x521cd6,-_0x4787aa._0x1f9340,-_0x4787aa._0x4fe599,-_0x4787aa._0x48098b)][_0x422032(_0x4787aa._0x281ca2,0x24,_0x4787aa._0x202400,_0x4787aa._0x162b81)](_0x182c8b=>_0x182c8b['id']);if(new Set(_0x1e8af3)['size']!==_0x1e8af3[_0x3b345c(-_0x4787aa._0x2a79b9,-_0x4787aa._0x18decb,-0x1bf,-0x226)])throw new ToolExecutionError(_0x3b345c(-_0x4787aa._0x5d6e26,-0xb6,0x6f,-0x201),{'error':_0x422032(-_0x4787aa._0x3bdee1,_0x4787aa._0x518563,-0xf8,0x59)});}function createStatsProgress(_0x1154c6){const _0x2d495a={_0x242374:0x6a,_0x3b59c9:0x111,_0x341bda:0x1d,_0x4cf951:0xd3,_0x3cd315:0x6a},_0xf174a1={_0x2be0e8:0x332,_0x13f204:0x1a},_0x24fe6c={_0x19cfdf:0xae};function _0x4607a4(_0x210a07,_0xb751b4,_0x23aba1,_0x9e530d){return _0x4d40c0(_0x210a07-_0x24fe6c._0x19cfdf,_0x23aba1-0x1c3,_0x23aba1-0x131,_0x210a07);}function _0x3e35b4(_0xb8b093,_0x2a27f2,_0x551a41,_0x52b294){return _0x4d40c0(_0xb8b093-0x160,_0x551a41-_0xf174a1._0x2be0e8,_0x551a41-_0xf174a1._0x13f204,_0x52b294);}return _0x1154c6[_0x4607a4(-0xcc,-0x15b,-_0x2d495a._0x242374,0xc)]>0x0?Math[_0x4607a4(0x148,_0x2d495a._0x3b59c9,0x194,0x254)](_0x1154c6[_0x4607a4(0x122,-_0x2d495a._0x341bda,0x142,_0x2d495a._0x4cf951)]/_0x1154c6[_0x4607a4(-0x1c9,-0x1,-_0x2d495a._0x3cd315,0x5)]*0x64)+'%':'0%';}function createReminderItems(_0x6cca6c){return _0x6cca6c['map'](_0x2b3932=>({'content':_0x2b3932['content'],'status':_0x2b3932['status'],'id':_0x2b3932['id']}));}function createStructuredResult(_0x428f9a,_0x48490c,_0x39d780,_0x48b73a){const _0x304c7a={_0x4efcb6:0x274,_0x3ab118:0x281,_0x2c6f73:0x19e,_0x2da397:0x1ad},_0x174a00={_0x28a795:0xce,_0x5b2f75:0x123},_0x493845={_0x47263c:0x82,_0x2e09be:0x129,_0x5474aa:0x177};function _0xa56276(_0xdd8a56,_0x545f3a,_0x422a04,_0x3b5bd4){return _0xf90728(_0x422a04,_0x545f3a-_0x493845._0x47263c,_0x545f3a-_0x493845._0x2e09be,_0x3b5bd4-_0x493845._0x5474aa);}function _0x5bac6e(_0x52d9ea,_0x229e2f,_0x2a6dee,_0x7d38d6){return _0x4d40c0(_0x52d9ea-_0x174a00._0x28a795,_0x52d9ea-0x341,_0x2a6dee-_0x174a00._0x5b2f75,_0x229e2f);}return{'allCompleted':_0x48b73a,'items':_0x48490c[_0xa56276(0x31b,0x27b,_0x304c7a._0x4efcb6,0x374)](_0x4cda1c=>({'id':_0x4cda1c['id'],'content':_0x4cda1c['content'],'status':_0x4cda1c['status'],'priority':_0x4cda1c[_0xa56276(0x251,0x1b3,0x1a4,0x194)],'createdAt':_0x4cda1c[_0x5bac6e(0x13c,0x1c9,0x1de,0x1b7)]})),'progress':createStatsProgress(_0x39d780),'recentChanges':!![],'sessionId':_0x428f9a,'stats':_0x39d780,'todosWritten':_0x48490c[_0x5bac6e(_0x304c7a._0x3ab118,0x177,_0x304c7a._0x2c6f73,_0x304c7a._0x2da397)]};}function createOutputText(_0x59bd65,_0x2c7eb4){const _0x5e6d64={_0x2d4fea:0x3b3,_0x2548f1:0x186,_0x462de4:0x25e,_0x928968:0x35e,_0x235d04:0x2e4,_0x4e9cc4:0x176,_0x5a8326:0x1cd,_0x2e07c7:0x1e0,_0x36d8c3:0x1f3,_0xe8346d:0x18d},_0x1acb21={_0x138522:0x10c};function _0x480584(_0x2c079e,_0x33f1e4,_0xfad04,_0x32c48a){return _0xf90728(_0x2c079e,_0x33f1e4-0x89,_0xfad04-0x179,_0x32c48a-_0x1acb21._0x138522);}const _0x317f6e=JSON[_0x480584(_0x5e6d64._0x2d4fea,_0x5e6d64._0x2548f1,_0x5e6d64._0x462de4,0x2f8)](createReminderItems(_0x59bd65));function _0x31424c(_0x1b548f,_0x139bc9,_0x3c04e0,_0x4c43b1){return _0x4d40c0(_0x1b548f-0x154,_0x3c04e0-0x41b,_0x3c04e0-0x10f,_0x4c43b1);}if(_0x2c7eb4)return'All\x20'+_0x59bd65[_0x31424c(0x37a,0x2fd,0x35b,0x2ac)]+'\x20todo\x20items\x20have\x20been\x20completed\x20successfully!\x0a\x0a<system-reminder>\x0aAll\x20todo\x20items\x20are\x20now\x20completed!\x20Ask\x20about\x20next\x20steps.\x20Completed\x20list:\x0a'+_0x317f6e+_0x480584(0x351,0x21d,0x1f3,_0x5e6d64._0x928968);return _0x480584(_0x5e6d64._0x235d04,0x14f,_0x5e6d64._0x4e9cc4,0x21c)+_0x317f6e+_0x480584(_0x5e6d64._0x5a8326,_0x5e6d64._0x2e07c7,_0x5e6d64._0x36d8c3,_0x5e6d64._0xe8346d);}function createTodoWriteTool(_0x36e11d=new TodoStore()){const _0x32a3a7={_0x22a6d7:0x1dc,_0x3b9d4f:0x1dd,_0x1b43e0:0x2a7,_0x15e599:0x10e,_0x2b4c3a:0x9c,_0xd9fbc2:0x392,_0x1b2bc7:0x35d,_0x4ff993:0x3e4,_0x177854:0x369,_0x46354d:0x34b,_0x4d1575:0x11e,_0x46dc23:0x15b,_0xb9ae5b:0x473,_0xb2acc5:0x1eb,_0x2cce3d:0x35d,_0x5e3485:0x488,_0x4feb33:0x366,_0xef63fa:0x521,_0x362c56:0x18d,_0xe72a72:0x293,_0x95ddcf:0x1ed},_0x19da23={_0x551ad5:0x302,_0x583020:0x500,_0x5dee67:0x2e0,_0x1b852c:0x3f5,_0xe0dd6b:0x527,_0x483323:0x42d,_0x27bc7b:0x3c8,_0x3cd7f6:0x332,_0x5d303c:0x31b,_0x31824f:0x358,_0x459b15:0x4a2},_0x79c52={_0x554689:0x277},_0x3249f6={_0x52d22d:0x1b9};function _0x43ff28(_0x4bb3ad,_0x4912c1,_0x2f7f9e,_0x462abc){return _0x4d40c0(_0x4bb3ad-0x18a,_0x2f7f9e-0x485,_0x2f7f9e-_0x3249f6._0x52d22d,_0x4bb3ad);}function _0x22b2de(_0x2059e5,_0x23d4ec,_0x3deb8e,_0x3f0d26){return _0x4d40c0(_0x2059e5-0x11,_0x3deb8e-_0x79c52._0x554689,_0x3deb8e-0x16,_0x2059e5);}return defineTool({'name':'TodoWrite','description':_0x43ff28(0x349,_0x32a3a7._0x22a6d7,_0x32a3a7._0x3b9d4f,_0x32a3a7._0x1b43e0),'inputSchema':{'type':'object','properties':{'todos':{'type':_0x22b2de(_0x32a3a7._0x15e599,0x1b5,_0x32a3a7._0x2b4c3a,0x197),'items':{'type':_0x43ff28(0x40c,0x342,_0x32a3a7._0xd9fbc2,_0x32a3a7._0x1b2bc7),'properties':{'content':{'type':'string'},'status':{'type':_0x43ff28(_0x32a3a7._0x4ff993,0x230,_0x32a3a7._0x177854,_0x32a3a7._0x46354d)},'priority':{'type':'string'},'id':{'type':'string'},'createdAt':{'type':_0x22b2de(0x16b,_0x32a3a7._0x4d1575,_0x32a3a7._0x46dc23,0x1ba)}},'required':['content',_0x43ff28(_0x32a3a7._0xb9ae5b,_0x32a3a7._0xb2acc5,_0x32a3a7._0x2cce3d,_0x32a3a7._0x5e3485),_0x43ff28(_0x32a3a7._0x4feb33,_0x32a3a7._0xef63fa,0x3c9,0x362),'id']}}},'required':[_0x43ff28(0x2a7,_0x32a3a7._0x362c56,_0x32a3a7._0xe72a72,_0x32a3a7._0x95ddcf)]},async *'execute'(_0x336086,_0xe304ba){const _0x42ed22={_0x1dde0b:0x55,_0x47b226:0x1da,_0x40f78e:0x2e},_0x58b4ee=_0x336086;function _0x272ed3(_0x21d19d,_0x1a19b2,_0x3de3d4,_0x216652){return _0x22b2de(_0x3de3d4,_0x1a19b2-_0x42ed22._0x1dde0b,_0x21d19d-_0x42ed22._0x47b226,_0x216652-_0x42ed22._0x40f78e);}validateTodos(_0x58b4ee);const _0x24f9bb=_0xe304ba[_0xad7c22(0x45f,0x37e,_0x19da23._0x551ad5,_0x19da23._0x583020)]||'default',_0x95272f=new Date()['toISOString'](),_0x2e01ab=_0x58b4ee[_0xad7c22(_0x19da23._0x5dee67,0x21a,0x37a,0x16b)][_0x272ed3(0x45d,_0x19da23._0x1b852c,_0x19da23._0xe0dd6b,0x5ce)](_0x5cd9d2=>({'id':_0x5cd9d2['id'],'content':_0x5cd9d2[_0xad7c22(0x460,0x4da,0x464,0x345)],'status':_0x5cd9d2[_0x272ed3(0x329,0x238,0x338,0x39e)],'priority':_0x5cd9d2[_0x272ed3(0x395,0x40e,0x46f,0x4eb)],'sessionId':_0x24f9bb,'createdAt':_0x5cd9d2[_0x272ed3(0x24c,0x31f,0x1c8,0x224)]||_0x95272f,'updatedAt':_0x95272f}));function _0xad7c22(_0x595b65,_0x58c144,_0x1e2562,_0x58cb68){return _0x22b2de(_0x58c144,_0x58c144-0xef,_0x595b65-0x25b,_0x58cb68-0xc);}_0x36e11d[_0x272ed3(_0x19da23._0x483323,0x3ad,_0x19da23._0x27bc7b,_0x19da23._0x3cd7f6)](_0x24f9bb,_0x2e01ab);const _0xa169c2=_0x36e11d['getStats'](_0x24f9bb),_0x43fb0e=_0x2e01ab[_0xad7c22(0x412,_0x19da23._0x5d303c,_0x19da23._0x31824f,0x3bf)]>0x0&&_0x2e01ab[_0x272ed3(0x48e,0x53f,_0x19da23._0x459b15,0x425)](_0x43e590=>_0x43e590[_0xad7c22(0x3aa,0x33c,0x4e2,0x24d)]===_0x272ed3(0x3d0,0x503,0x2d1,0x2cb));return createToolOutput(createOutputText(_0x2e01ab,_0x43fb0e),createStructuredResult(_0x24f9bb,_0x2e01ab,_0xa169c2,_0x43fb0e));}});}import{mkdir as _0x481df0,writeFile as _0x4351a5}from'fs/promises';import*as _0x5bfaff from'path';function sanitizeFileName(_0x12e4b6){const _0x1c455b={_0x2f03fe:0x28f,_0x3659ab:0x6e},_0x2f42ef={_0x5e0966:0x1ab};function _0x4b4d8a(_0x3727dc,_0x389fdf,_0x21577b,_0x145e4a){return _0xf90728(_0x21577b,_0x389fdf-_0x2f42ef._0x5e0966,_0x145e4a- -0x64,_0x145e4a-0x110);}return _0x12e4b6[_0x4b4d8a(-_0x1c455b._0x2f03fe,-_0x1c455b._0x2f03fe,-_0x1c455b._0x3659ab,-0x13b)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x44e4b2,_0x2591d9){const _0x41c3bd={_0x4f11ec:0x1b0,_0x1c6214:0x17c,_0x3ec13d:0x1c8,_0x5d6a88:0x319,_0x45eceb:0xbd,_0xd64532:0x13d,_0x38dc2b:0xe6,_0x163fbf:0x72,_0x408655:0x12,_0x368e04:0xce,_0xc2b469:0x9e,_0x5ef501:0x190,_0x4c16c8:0xea,_0x87446:0x44,_0x2f843c:0x61,_0x3f4595:0x36,_0xe6bfbb:0x245,_0x16861e:0xfc,_0x20d68a:0x14b,_0x2c9b09:0x1e9,_0x11c80a:0x12b,_0x4c71c1:0x264,_0x3c8153:0xf4,_0x6e14c0:0xc,_0x2e51e8:0x1ca,_0x2644fa:0x2ad,_0x319262:0xec,_0x22ac26:0x4a,_0x14e0b6:0x6a,_0x1c33d1:0xae,_0x187ac0:0x171,_0x3b65d8:0x2a4,_0x379d63:0x4a,_0xd21e72:0xb0,_0x19f83d:0x217,_0x5ba077:0x16f,_0x217d17:0x1b,_0x4bd429:0x1ed,_0x264888:0x147,_0x27a2a6:0xf7,_0x4845cf:0xc9,_0x576882:0x120,_0x31b397:0x1a0,_0x37677b:0x50,_0x56a605:0x113,_0x143682:0x61,_0x3ddf09:0xce,_0x41bea5:0x1e7},_0x2e8d75={_0x562f04:0x4b},{maxBytes:_0x345ab8,sessionDir:_0x4cfaa2}=_0x2591d9;if(!_0x44e4b2['output']||Buffer[_0x362627(0x139,_0x41c3bd._0x4f11ec,0x2cc,_0x41c3bd._0x1c6214)](_0x44e4b2[_0x362627(0x2b1,0x8a,0x149,_0x41c3bd._0x3ec13d)],_0x362627(0x2a1,_0x41c3bd._0x5d6a88,0x279,0x2a4))<=_0x345ab8)return _0x44e4b2;const _0x485d0d=Buffer['byteLength'](_0x44e4b2[_0x362627(_0x41c3bd._0x45eceb,_0x41c3bd._0xd64532,0x60,_0x41c3bd._0x3ec13d)],_0x52cb27(0xf3,0x126,0x23d,_0x41c3bd._0x38dc2b));if(!_0x4cfaa2){const _0x31762a=_0x44e4b2[_0x362627(0x268,0x279,_0x41c3bd._0x163fbf,0x1c8)][_0x362627(_0x41c3bd._0x408655,0x94,0x7b,_0x41c3bd._0x368e04)](0x0,_0x345ab8);return{..._0x44e4b2,'output':_0x31762a+(_0x362627(0x270,_0x41c3bd._0xc2b469,0x17b,0x1e8)+_0x345ab8+'\x20bytes\x20(original:\x20'+_0x485d0d+_0x362627(_0x41c3bd._0x5ef501,0x202,0x151,_0x41c3bd._0x4c16c8)),'meta':{..._0x44e4b2[_0x52cb27(_0x41c3bd._0x87446,-_0x41c3bd._0x2f843c,-0x4e,_0x41c3bd._0x3f4595)],'truncated':!![],'originalBytes':_0x485d0d,'transforms':[..._0x44e4b2[_0x362627(_0x41c3bd._0xe6bfbb,0x191,_0x41c3bd._0x16861e,0x11d)][_0x362627(_0x41c3bd._0x20d68a,_0x41c3bd._0x2c9b09,0x223,0x1b8)],_0x362627(0x255,0x3a8,_0x41c3bd._0x11c80a,_0x41c3bd._0x4c71c1)]}};}const _0x158628=_0x44e4b2['toolName']+'_'+sanitizeFileName(_0x44e4b2[_0x52cb27(-_0x41c3bd._0x3c8153,0x5b,0x129,-0xf9)])+_0x362627(0xe9,-0x6c,-0x110,-_0x41c3bd._0x6e14c0),_0x5a1e47=_0x5bfaff[_0x362627(0x18f,_0x41c3bd._0x2e51e8,_0x41c3bd._0x2644fa,0x29e)](_0x4cfaa2,_0x158628);await _0x481df0(_0x4cfaa2,{'recursive':!![]}),await _0x4351a5(_0x5a1e47,_0x44e4b2[_0x52cb27(_0x41c3bd._0x319262,_0x41c3bd._0x22ac26,_0x41c3bd._0x14e0b6,-_0x41c3bd._0x1c33d1)],_0x362627(0x3a7,_0x41c3bd._0x187ac0,0x2a6,_0x41c3bd._0x3b65d8));let _0x260414=_0x44e4b2[_0x52cb27(0x1ab,_0x41c3bd._0x379d63,0xdb,-0xa9)]['slice'](0x0,_0x345ab8);const _0x5d9447=_0x260414['lastIndexOf']('\x0a');_0x5d9447>_0x345ab8*0.5&&(_0x260414=_0x260414[_0x52cb27(0x2a,-_0x41c3bd._0xd21e72,-_0x41c3bd._0x19f83d,-_0x41c3bd._0x5ba077)](0x0,_0x5d9447));function _0x52cb27(_0x57bd1d,_0x459791,_0x782f06,_0xac97f1){return _0xf90728(_0x782f06,_0x459791-0x2d,_0x459791- -_0x2e8d75._0x562f04,_0xac97f1-0x2);}function _0x362627(_0x2de03b,_0x53473d,_0xb1877,_0x168ffd){return _0xf90728(_0x53473d,_0x53473d-0x191,_0x168ffd-0x133,_0x168ffd-0x19f);}const _0x7963a=['',_0x362627(0x105,0x19d,0x2cb,0x1a7),_0x52cb27(-0x33,0xf8,_0x41c3bd._0x217d17,0x10e)+_0x345ab8+'\x20bytes\x20(total:\x20'+_0x485d0d+_0x362627(0x301,0x208,0x2f3,0x25e),_0x52cb27(-_0x41c3bd._0x4bd429,-_0x41c3bd._0x264888,-0xc3,-_0x41c3bd._0x27a2a6)+_0x5a1e47,_0x52cb27(-0x177,-0x17,-0xe6,0x9d),_0x52cb27(0x276,0x11a,_0x41c3bd._0x4845cf,0x1c3)][_0x52cb27(_0x41c3bd._0x2c9b09,_0x41c3bd._0x576882,_0x41c3bd._0x31b397,0x2b)]('\x0a');return{..._0x44e4b2,'output':_0x260414+_0x7963a,'meta':{..._0x44e4b2[_0x52cb27(-_0x41c3bd._0x37677b,-0x61,_0x41c3bd._0x56a605,-0x10)],'truncated':!![],'originalBytes':_0x485d0d,'transforms':[..._0x44e4b2[_0x52cb27(0x4a,-_0x41c3bd._0x143682,0x8a,-_0x41c3bd._0x3ddf09)][_0x362627(0xd1,_0x41c3bd._0x41bea5,0x1ea,0x1b8)],'tool-output-offload']}};}function createUpdateTopicTool(){const _0x2d0f76={_0x34d9c3:0x54d,_0x53693a:0x3db,_0xb8d668:0x2c0,_0xf75220:0x26a,_0x2ec1f7:0x36e,_0x467723:0x2ab,_0x347017:0x202,_0x4a28a2:0x2c8,_0x50bd28:0x35a},_0x1213cd={_0xbfd04:0x63f,_0x444b82:0x51a,_0x242287:0x129,_0x3b84a8:0x7,_0x1841b6:0x11f,_0x527be3:0x2a,_0x433f33:0x45d,_0x5ac298:0x5aa,_0xe25ae0:0x504,_0x5f4e86:0x478,_0xa2e250:0x3cb},_0x27dccd={_0x36f1dd:0x17c},_0x14ca14={_0x154a36:0x64},_0x131812={_0x410706:0x1a1,_0x2f1c02:0xc};function _0x4a4b9d(_0x424f65,_0x3c335b,_0x480202,_0x244fd0){return _0x4d40c0(_0x424f65-_0x131812._0x410706,_0x244fd0-0x48a,_0x480202-_0x131812._0x2f1c02,_0x3c335b);}function _0x2fd4e5(_0x36e2df,_0x3693de,_0x53b170,_0x18b53e){return _0xf90728(_0x18b53e,_0x3693de-0xda,_0x53b170- -0x14,_0x18b53e-0x8e);}return defineTool({'name':_0x4a4b9d(_0x2d0f76._0x34d9c3,0x3e2,0x378,_0x2d0f76._0x53693a),'description':'Update\x20the\x20session\x20topic\x20to\x20a\x20concise\x203-6\x20word\x20noun\x20phrase\x20that\x20captures\x20the\x20current\x20subject.\x0a\x0aCall\x20this\x20tool\x20when\x20the\x20session\x27s\x20subject\x20becomes\x20clear\x20or\x20shifts\x20to\x20something\x20clearly\x20different\x20—\x20not\x20for\x20minor\x20tangents\x20or\x20clarifying\x20sub-questions.\x20If\x20nothing\x20has\x20meaningfully\x20changed,\x20do\x20not\x20call\x20it.\x0a\x0aGood\x20topic\x20(noun\x20phrase,\x203-6\x20words):\x0a\x20\x20\x22Debug\x20TS\x20generics\x20error\x22\x0a\x20\x20\x22Refactor\x20auth\x20middleware\x22\x0a\x20\x20\x22Add\x20Stripe\x20webhook\x20handler\x22\x0a\x0aBad\x20topic\x20(full\x20sentence\x20or\x20vague):\x0a\x20\x20\x22The\x20user\x20wants\x20to\x20debug\x20a\x20TypeScript\x20generics\x20error\x20in\x20their\x20project\x22\x0a\x20\x20\x22coding\x22','inputSchema':{'type':'object','properties':{'topic':{'type':_0x4a4b9d(_0x2d0f76._0xb8d668,0x20c,_0x2d0f76._0xf75220,_0x2d0f76._0x2ec1f7)}},'required':[_0x4a4b9d(_0x2d0f76._0x467723,_0x2d0f76._0x347017,_0x2d0f76._0x4a28a2,_0x2d0f76._0x50bd28)]},async *'execute'(_0x11f6b7,_0x54758b){const {topic:_0x3fd1c7}=_0x11f6b7;if(typeof _0x3fd1c7!==_0x566b59(_0x1213cd._0xbfd04,0x559,0x4ad,_0x1213cd._0x444b82)||_0x3fd1c7[_0x10b93b(-0x82,_0x1213cd._0x242287,-_0x1213cd._0x3b84a8,0xd9)]()['length']===0x0)throw new ToolExecutionError(_0x10b93b(-0x1a3,0x47,-_0x1213cd._0x1841b6,-_0x1213cd._0x527be3),{'error':_0x566b59(_0x1213cd._0x433f33,_0x1213cd._0x5ac298,0x64e,_0x1213cd._0xe25ae0)});const _0x34bfe=_0x3fd1c7[_0x566b59(_0x1213cd._0x5f4e86,_0x1213cd._0xa2e250,0x3c7,0x4e3)]();function _0x566b59(_0x55b83d,_0x32ccea,_0x55973a,_0x1bcaa0){return _0x2fd4e5(_0x55b83d-0xaa,_0x32ccea-_0x14ca14._0x154a36,_0x1bcaa0-0x504,_0x55b83d);}function _0x10b93b(_0x3191ca,_0x5e4eec,_0x35ccb5,_0x1c964d){return _0x2fd4e5(_0x3191ca-_0x27dccd._0x36f1dd,_0x5e4eec-0xc3,_0x35ccb5-0x1a,_0x3191ca);}return _0x54758b['setTopic']?.(_0x34bfe),yield createToolOutput('Topic\x20set\x20to\x20\x22'+_0x34bfe+'\x22',{'topic':_0x34bfe}),void 0x0;}});}import{readFile as _0x439bbd,stat as _0x3333a4}from'fs/promises';import*as _0x3dec85 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x4d40c0(-0x177,-0xd7,-0xae,-0x1ad),_0x4d40c0(-0x1f1,-0x2a7,-0x198,-0x340),'low',_0xf90728(0x2c6,0x94,0x185,0x2d8)]),PNG_SIGNATURE=Buffer[_0x4d40c0(-0x117,-0x1f0,-0x1a1,-0xa3)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x26fa7e,_0xb3e073){const _0x59a0b4={_0x149167:0x10f,_0x528ada:0x45,_0x4ee730:0x407,_0x157542:0x39e,_0x2219b2:0xc6,_0x5dabc5:0x19e,_0x1e7dbf:0x503,_0x1fc813:0x3ac,_0x468f0a:0x44b,_0x3549d8:0x166,_0x227957:0x196,_0x5a6ad0:0x5bc,_0x19995f:0x460,_0x3b3685:0x2ce,_0x48078c:0x45e,_0x1cd597:0x3ae,_0x1e1536:0x2e8,_0x4c6873:0xbb,_0xa4b691:0x3cf,_0xc0f0f4:0x21a,_0x514f5e:0x244,_0x31ad09:0x272,_0x10edf7:0x2d5,_0x1529e3:0x9e,_0x4d4268:0x3b2,_0x4a2e63:0x31a,_0x16da60:0x449,_0x8387cf:0x409,_0x32e95d:0x507,_0x5bf114:0x3d0,_0x298958:0x2e0,_0x2f2140:0x2c5,_0x445dac:0x1b4,_0x569099:0x316,_0x3fd687:0x346,_0x349935:0x97,_0x5cf6ca:0xfd},_0x57bc27={_0x1b09a2:0x1a7,_0x270e18:0x1e5,_0x5bb9e8:0x1e8},_0x1cf484={_0x5b80f7:0x81,_0x4fa733:0x467,_0x5252fc:0x1dd};if(_0x26fa7e[_0x529987(-_0x59a0b4._0x149167,-_0x59a0b4._0x528ada,-0xa6,-0x24)](0x0,0x8)[_0x529987(-0x3ad,-0x2ef,-0x2dd,-0x224)](PNG_SIGNATURE))return _0x25e32e(0x497,0x2a5,0x2c9,0x409);if(_0x26fa7e[0x0]===0xff&&_0x26fa7e[0x1]===0xd8&&_0x26fa7e[0x2]===0xff)return _0x25e32e(_0x59a0b4._0x4ee730,_0x59a0b4._0x157542,0x3d8,0x2c5);const _0x258b1a=_0x26fa7e['subarray'](0x0,0x6)[_0x529987(-_0x59a0b4._0x2219b2,-_0x59a0b4._0x5dabc5,-0x21e,-0xf2)](_0x25e32e(0x3c4,_0x59a0b4._0x1e7dbf,_0x59a0b4._0x1fc813,_0x59a0b4._0x468f0a));if(_0x258b1a==='GIF87a'||_0x258b1a==='GIF89a')return _0x529987(-0x1b9,-_0x59a0b4._0x3549d8,-0x210,-_0x59a0b4._0x227957);function _0x25e32e(_0x4a7a65,_0x396924,_0x2d4c14,_0x2d36c2){return _0x4d40c0(_0x4a7a65-_0x1cf484._0x5b80f7,_0x2d36c2-_0x1cf484._0x4fa733,_0x2d4c14-_0x1cf484._0x5252fc,_0x396924);}if(_0x26fa7e[_0x25e32e(_0x59a0b4._0x5a6ad0,0x593,0x4fa,_0x59a0b4._0x19995f)](0x0,0x4)['toString']('ascii')===_0x25e32e(0x29a,0x17c,_0x59a0b4._0x3b3685,0x1dc)&&_0x26fa7e['subarray'](0x8,0xc)[_0x25e32e(_0x59a0b4._0x48078c,_0x59a0b4._0x1cd597,0x383,_0x59a0b4._0x1e1536)](_0x529987(-0x1c,0x6c,-_0x59a0b4._0x4c6873,0x21))==='WEBP')return _0x25e32e(0x1ff,0x427,_0x59a0b4._0xa4b691,0x31a);const _0x36d887=_0x3dec85[_0x25e32e(_0x59a0b4._0xc0f0f4,0x2a4,0xfd,0x20e)](_0xb3e073)[_0x529987(-_0x59a0b4._0x514f5e,-_0x59a0b4._0x31ad09,-_0x59a0b4._0x10edf7,-0x2e1)]();if(_0x36d887===_0x529987(0xc0,-0x1e4,-_0x59a0b4._0x1529e3,-0x44))return _0x25e32e(_0x59a0b4._0x4d4268,_0x59a0b4._0x4a2e63,_0x59a0b4._0x16da60,_0x59a0b4._0x8387cf);if(_0x36d887===_0x25e32e(0x36a,0x4b0,_0x59a0b4._0x32e95d,0x3fb)||_0x36d887===_0x25e32e(0x30f,0x360,_0x59a0b4._0x5bf114,0x25d))return _0x25e32e(0x343,_0x59a0b4._0x298958,0x2a0,_0x59a0b4._0x2f2140);if(_0x36d887===_0x529987(-0x2ac,-0x140,-0x152,-0x266))return _0x529987(-_0x59a0b4._0x445dac,-_0x59a0b4._0x569099,-0x210,-_0x59a0b4._0x3fd687);if(_0x36d887===_0x529987(0x4b,_0x59a0b4._0x349935,-0xd4,-_0x59a0b4._0x5cf6ca))return _0x25e32e(0x31e,0x258,0x264,_0x59a0b4._0x4a2e63);function _0x529987(_0x1503d4,_0x751bd7,_0x43d71e,_0x5d96a0){return _0xf90728(_0x5d96a0,_0x751bd7-_0x57bc27._0x1b09a2,_0x43d71e- -_0x57bc27._0x270e18,_0x5d96a0-_0x57bc27._0x5bb9e8);}return void 0x0;}function normalizeDetail(_0x67f8b2){const _0x132854={_0x5f90da:0x48f,_0x57cc05:0x382,_0x2b59b9:0x20a,_0x3f7060:0xcd},_0x4e4f36={_0x1a4f16:0x146,_0x480d0f:0x19a},_0x1b3c65={_0x2d27e9:0x51e,_0x843ec7:0x16f};if(_0x67f8b2===void 0x0)return void 0x0;const _0x4b687d=_0x67f8b2[_0x31e2eb(0x2f4,0x3cb,_0x132854._0x5f90da,0x325)]()[_0x578065(-0x1a8,-0x164,-0x236,-_0x132854._0x57cc05)]();function _0x31e2eb(_0x2a54f9,_0x5c2151,_0x4cb1c2,_0x9c0b1e){return _0x4d40c0(_0x2a54f9-0x123,_0x5c2151-_0x1b3c65._0x2d27e9,_0x4cb1c2-_0x1b3c65._0x843ec7,_0x4cb1c2);}function _0x578065(_0x325792,_0x52727a,_0x30b7e2,_0x300c2d){return _0xf90728(_0x52727a,_0x52727a-0xc,_0x30b7e2- -_0x4e4f36._0x1a4f16,_0x300c2d-_0x4e4f36._0x480d0f);}if(!SUPPORTED_DETAILS['has'](_0x4b687d))throw new ToolExecutionError(_0x578065(-_0x132854._0x2b59b9,-0x1e0,-_0x132854._0x3f7060,-0xb5)+_0x67f8b2,{'detail':_0x67f8b2});return _0x4b687d;}function createViewFileTool(_0x24af1f={}){const _0x5337bf={_0x48acd3:0x110,_0x17b353:0x50b,_0x37d488:0x243,_0x5349f8:0x224,_0x16e070:0x2a6,_0x3bd15d:0x29f,_0x588a01:0x3fe,_0xc02a5f:0x41,_0x2c4f32:0x1d3,_0x5ad23:0x1a3,_0x3c03bb:0x93,_0x52633c:0x18,_0x474016:0x199,_0x265371:0xd8},_0x3811e5={_0x364ad5:0x302,_0x41afe5:0x317,_0x3be7ef:0x366,_0xf9eca4:0x317,_0x1233b2:0x200,_0x2a407b:0x22d,_0x31c329:0x272,_0x592ad7:0x1aa,_0x31f539:0x48e,_0x219f3a:0x22b,_0x195558:0x2f7,_0x158cc9:0xfd,_0x512c31:0x320,_0x4a82b4:0x580,_0x298902:0x49e,_0x1f3741:0x4a8,_0x1557b1:0x9a,_0x3a7356:0x316,_0x25c25b:0x43d,_0x542acd:0x38e,_0xc5c988:0x67c,_0x4f2f92:0x38,_0x3136a6:0x1aa,_0x2d70a2:0x20a,_0x2e5f81:0x364,_0x3935ae:0x1e3,_0x5473f0:0x38a,_0x37ae9a:0x445,_0x3046f8:0x3c0,_0x50fade:0x45f,_0x3ee2ed:0x569,_0x3790c9:0x54a,_0x9b0d58:0x3cb,_0x36146d:0x1a6,_0x5eb74f:0x30a,_0x54ac4c:0x66e,_0x3cd257:0x60a,_0x2e0a1c:0x55b,_0x39eed8:0x2ad,_0x243f61:0x638,_0x2b9e26:0x679,_0x42c4c7:0x6a1,_0x257426:0x2a1,_0x3157af:0x4d6,_0x1391dc:0x3ad},_0x331de2={_0x1ec947:0x1d6,_0x4c66a8:0x14f,_0xd4223c:0x282},_0x13950f={_0x3c586e:0x528},_0x19fde1={_0x3ebf68:0x605,_0x2747ae:0x6d},_0x45c8bc={_0x12345e:0x10b,_0x4b4f7c:0x73};function _0x5dcd5a(_0x1ad114,_0x2d1581,_0x24b23d,_0x5c558b){return _0x4d40c0(_0x1ad114-0xac,_0x5c558b-_0x45c8bc._0x12345e,_0x24b23d-_0x45c8bc._0x4b4f7c,_0x1ad114);}const _0x1817fd=_0x3dec85[_0x5dcd5a(-_0x5337bf._0x48acd3,-0x2c,-0x1b1,-0xcb)](_0x24af1f['defaultCwd']??process[_0x43e3dc(0x629,_0x5337bf._0x17b353,0x3fc,0x50f)]());function _0x43e3dc(_0x1bb88b,_0x42241e,_0x54cdfb,_0x3187ff){return _0x4d40c0(_0x1bb88b-0xce,_0x3187ff-_0x19fde1._0x3ebf68,_0x54cdfb-_0x19fde1._0x2747ae,_0x54cdfb);}const _0x328527=_0x24af1f['allowedDirs']??[],_0x41e201=_0x24af1f[_0x43e3dc(_0x5337bf._0x37d488,0x406,_0x5337bf._0x5349f8,0x363)]??DEFAULT_MAX_BYTES,_0x37288e=_0x24af1f[_0x43e3dc(_0x5337bf._0x16e070,0x4ab,_0x5337bf._0x3bd15d,_0x5337bf._0x588a01)]??_0x5dcd5a(-_0x5337bf._0xc02a5f,-_0x5337bf._0x2c4f32,-0xac,-_0x5337bf._0x5ad23);return defineTool({'name':_0x37288e,'description':_0x5dcd5a(0x1b4,-_0x5337bf._0x3c03bb,0x20a,0xa4),'inputSchema':{'type':_0x5dcd5a(0x115,-0x82,-0xdc,_0x5337bf._0x52633c),'properties':{'path':{'type':'string'},'detail':{'type':'string'}},'required':[_0x5dcd5a(0x42,-_0x5337bf._0x474016,-0x9d,-_0x5337bf._0x265371)]},async *'execute'(_0x59d2cb){const _0x40d522=resolveAllowedPath(_0x1817fd,_0x328527,_0x59d2cb[_0x1380f8(_0x3811e5._0x364ad5,0x100,0x2cb,0x1aa)]);await assertWorkspaceFile(_0x40d522);const _0x425b05=await _0x3333a4(_0x40d522);if(_0x425b05[_0x1380f8(0x3b9,_0x3811e5._0x41afe5,_0x3811e5._0x3be7ef,_0x3811e5._0xf9eca4)]>_0x41e201)throw new ToolExecutionError('Image\x20file\x20is\x20too\x20large:\x20'+_0x59d2cb['path'],{'path':_0x59d2cb[_0x1380f8(_0x3811e5._0x1233b2,_0x3811e5._0x2a407b,_0x3811e5._0x31c329,_0x3811e5._0x592ad7)],'maxBytes':_0x41e201,'size':_0x425b05[_0x1380f8(0x280,_0x3811e5._0x31f539,_0x3811e5._0x219f3a,_0x3811e5._0x41afe5)]});const _0x3e8956=await _0x439bbd(_0x40d522);function _0x1d4799(_0x347e95,_0x270070,_0x36d293,_0x12858f){return _0x5dcd5a(_0x270070,_0x270070-0x45,_0x36d293-0xcd,_0x347e95-_0x13950f._0x3c586e);}function _0x1380f8(_0x1c8d0c,_0x2e8306,_0x1beef3,_0x5ea8ed){return _0x5dcd5a(_0x1beef3,_0x2e8306-_0x331de2._0x1ec947,_0x1beef3-_0x331de2._0x4c66a8,_0x5ea8ed-_0x331de2._0xd4223c);}const _0xea2e4e=detectImageMediaType(_0x3e8956,_0x40d522);if(!_0xea2e4e)throw new ToolExecutionError('Unsupported\x20image\x20file:\x20'+_0x59d2cb[_0x1d4799(0x450,0x4e2,0x4cb,0x59d)],{'path':_0x59d2cb[_0x1380f8(_0x3811e5._0x195558,_0x3811e5._0x158cc9,_0x3811e5._0x512c31,0x1aa)],'supported':[_0x1d4799(_0x3811e5._0x4a82b4,0x667,_0x3811e5._0x298902,_0x3811e5._0x1f3741),_0x1380f8(0xed,_0x3811e5._0x1557b1,0x27d,0x183),_0x1d4799(0x5c7,0x6e1,0x60c,0x575),_0x1380f8(_0x3811e5._0x3a7356,_0x3811e5._0x25c25b,0x41f,_0x3811e5._0x542acd),_0x1d4799(0x5fe,0x4cc,0x5dc,0x703)]});const _0xb2f3c1=normalizeDetail(_0x59d2cb['detail']),_0x1933e5=[_0x1d4799(0x661,_0x3811e5._0xc5c988,0x5cc,0x6ff)+_0x59d2cb[_0x1380f8(0x217,_0x3811e5._0x4f2f92,0x285,_0x3811e5._0x3136a6)],'MIME:\x20'+_0xea2e4e,'Size:\x20'+_0x425b05[_0x1380f8(_0x3811e5._0x2d70a2,_0x3811e5._0x2e5f81,_0x3811e5._0x3935ae,0x317)]+_0x1380f8(_0x3811e5._0x5473f0,0x2c2,_0x3811e5._0x37ae9a,_0x3811e5._0x3046f8)][_0x1d4799(_0x3811e5._0x50fade,_0x3811e5._0x3ee2ed,0x599,0x54b)](_0xb2f3c1?['Detail:\x20'+_0xb2f3c1]:[])[_0x1d4799(0x658,0x639,0x7bb,_0x3811e5._0x3790c9)]('\x0a'),_0x1454fb=[{'type':_0x1380f8(_0x3811e5._0x9b0d58,_0x3811e5._0x36146d,0x2ec,_0x3811e5._0x5eb74f),'source':{'type':'base64','media_type':_0xea2e4e,'data':_0x3e8956[_0x1380f8(_0x3811e5._0x31c329,0x21b,0x164,0x20e)]('base64')}},{'type':'text','text':_0x1933e5}];return yield createToolOutput(_0x1933e5,{'path':_0x59d2cb[_0x1d4799(0x450,0x3ac,0x33d,0x432)],'resolvedPath':_0x40d522,'created':_0x425b05[_0x1d4799(_0x3811e5._0x54ac4c,_0x3811e5._0x3cd257,0x565,0x663)][_0x1d4799(0x638,0x64b,0x550,_0x3811e5._0x2e0a1c)](),'modified':_0x425b05[_0x1d4799(0x409,0x56b,0x379,_0x3811e5._0x39eed8)][_0x1d4799(_0x3811e5._0x243f61,0x7ac,_0x3811e5._0x2b9e26,_0x3811e5._0x42c4c7)](),'size':_0x425b05[_0x1380f8(0x441,0x1bd,0x1f2,0x317)],'mimeType':_0xea2e4e,'encoding':_0x1380f8(_0x3811e5._0x257426,0x3e4,_0x3811e5._0x3157af,_0x3811e5._0x1391dc),..._0xb2f3c1?{'detail':_0xb2f3c1}:{}},_0x1454fb),void 0x0;}});}import _0xa56966 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x1842ed=>{const _0x450433={_0x2f8d02:0x17f,_0x280102:0x14d},_0x25e633={_0x1dc513:0xe,_0x28242d:0x257},{lookup:_0x511e14}=await import(_0x25c1a0(0x2d5,_0x450433._0x2f8d02,_0x450433._0x280102,0x48));function _0x25c1a0(_0x3fc7b8,_0x156203,_0x59a642,_0x425d25){return _0xf90728(_0x59a642,_0x156203-_0x25e633._0x1dc513,_0x156203-_0x25e633._0x28242d,_0x425d25-0x178);}return _0x511e14(_0x1842ed,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0xc6e880){const _0x3701d9={_0x182c94:0x74},_0x139fe4={_0x2d8b7b:0xd8,_0xb551c9:0x1b7,_0x26da1f:0x25},_0x2e3b10=_0xc6e880['split']('.');if(_0x2e3b10[_0x5644f4(-0x26f,-_0x3701d9._0x182c94,-0x171,-0x131)]!==0x4)return null;function _0x5644f4(_0x207695,_0x215c48,_0x1a60e0,_0x339dc0){return _0xf90728(_0x1a60e0,_0x215c48-_0x139fe4._0x2d8b7b,_0x339dc0- -_0x139fe4._0xb551c9,_0x339dc0-_0x139fe4._0x26da1f);}let _0x1cc09a=0x0;for(const _0x4abd42 of _0x2e3b10){if(!/^\d{1,3}$/['test'](_0x4abd42))return null;const _0x59423d=Number(_0x4abd42);if(_0x59423d>0xff)return null;_0x1cc09a=_0x1cc09a*0x100+_0x59423d;}return _0x1cc09a>>>0x0;}function isBlockedIpv4(_0x4d31aa){const _0x454540={_0x46fb20:0x1fe,_0x46e14d:0x36,_0x460f20:0x5,_0xfa15fd:0x22,_0x15668c:0x154,_0x3b93f8:0xed,_0x41b46f:0x1c5,_0x1ccbe6:0xa2,_0x378bab:0x1bb,_0x110d91:0x54,_0x31b011:0x11a,_0x4a422c:0x3f,_0x47e6b9:0x43,_0xf41e45:0x486,_0x2196c1:0x306},_0x3dba0b={_0xfa9582:0x39,_0x2c9ec0:0xb4},_0x4eef80={_0x5a1605:0x10f},_0x53b121=ipv4ToInt(_0x4d31aa);function _0x4e3f5b(_0x15a3a4,_0x4b92fb,_0x391d35,_0x540f09){return _0x4d40c0(_0x15a3a4-_0x4eef80._0x5a1605,_0x540f09-0x3d9,_0x391d35-0x5e,_0x15a3a4);}if(_0x53b121===null)return!![];const _0x275682=(_0x403281,_0x464801)=>{const _0x4cc8ba=ipv4ToInt(_0x403281);if(_0x4cc8ba===null)return![];const _0x20084b=_0x464801===0x0?0x0:0xffffffff<<0x20-_0x464801>>>0x0;return(_0x53b121&_0x20084b)===(_0x4cc8ba&_0x20084b);};function _0x23e750(_0x12f82f,_0x477674,_0x10b11b,_0x3b253f){return _0x4d40c0(_0x12f82f-_0x3dba0b._0xfa9582,_0x10b11b-0x97,_0x10b11b-_0x3dba0b._0x2c9ec0,_0x12f82f);}return _0x275682(_0x23e750(_0x454540._0x46fb20,-_0x454540._0x46e14d,0xc3,-_0x454540._0x460f20),0x8)||_0x275682(_0x23e750(_0x454540._0xfa15fd,-0x1b6,-_0x454540._0x15668c,-_0x454540._0x3b93f8),0x8)||_0x275682(_0x23e750(-0xa3,-_0x454540._0x41b46f,-_0x454540._0x1ccbe6,-0x4b),0xa)||_0x275682(_0x4e3f5b(_0x454540._0x378bab,_0x454540._0x110d91,0x174,0x1b4),0x8)||_0x275682('169.254.0.0',0x10)||_0x275682('172.16.0.0',0xc)||_0x275682(_0x23e750(_0x454540._0x31b011,-_0x454540._0x4a422c,-0x47,-_0x454540._0x47e6b9),0x18)||_0x275682(_0x4e3f5b(0x1f6,0x1a8,0x2f8,0x1cb),0x10)||_0x275682(_0x4e3f5b(_0x454540._0xf41e45,_0x454540._0x2196c1,0x4d2,0x3ad),0xf)||_0x275682(_0x4e3f5b(0x1a3,0x149,0x1c6,0x161),0x4)||_0x275682('240.0.0.0',0x4);}function expandIpv6(_0xa35ab8){const _0x3cda3e={_0x3f2aa1:0x58b,_0x33a899:0x234,_0x3d5044:0x2ca,_0x292f65:0x80,_0x414ab1:0x1e7,_0x57a834:0x2fe,_0x4f6320:0x2c9,_0x4029ee:0x1ea,_0x7c76cc:0x41c,_0x4f70e0:0x4fa,_0x453f9b:0x41c,_0x2b96bb:0x4ac,_0x19d62f:0x3d5,_0x384bd7:0x4f1,_0x5a8a71:0x242,_0x3f56a1:0x24c,_0x2a2b57:0x2bd,_0x384d88:0x3fc,_0x1896dd:0x348,_0x39cfdf:0x3f7,_0x56ba30:0x2b4},_0x48da97={_0x3d333b:0x1cd,_0x23138a:0xa9},_0x1ca5db={_0x28668d:0x1ab,_0x372c86:0x35e,_0x4a179c:0xa9};let _0x1c702a=_0xa35ab8,_0x4f9249;const _0x4fcf53=_0x1c702a[_0x3ad54b(0x4e6,_0x3cda3e._0x3f2aa1,0x40c,0x5e8)](':');_0x1c702a['slice'](_0x4fcf53+0x1)[_0x3632ea(0xba,0x60,0x126,_0x3cda3e._0x33a899)]('.')&&(_0x4f9249=_0x1c702a[_0x3632ea(_0x3cda3e._0x3d5044,_0x3cda3e._0x292f65,0x1b3,0x310)](_0x4fcf53+0x1),_0x1c702a=_0x1c702a['slice'](0x0,_0x4fcf53+0x1));const _0x2def72=_0x1c702a[_0x3632ea(_0x3cda3e._0x414ab1,_0x3cda3e._0x57a834,_0x3cda3e._0x4f6320,0x439)]('::');if(_0x2def72['length']>0x2)return null;const _0x3f3d52=_0x372688=>_0x372688[_0x3632ea(0x334,0x36e,0x2c9,0x3d1)](':')[_0x3ad54b(0x38e,0x3dd,0x428,0x27f)](_0xabf8ae=>_0xabf8ae['length']>0x0)[_0x3ad54b(0x4e8,0x487,0x5a2,0x37e)](_0x51906e=>Number[_0x3632ea(0x3a0,0x298,0x316,0x2b7)](_0x51906e,0x10));function _0x3632ea(_0x305401,_0x3ceabd,_0x2c16b9,_0x1ee1c8){return _0x4d40c0(_0x305401-_0x1ca5db._0x28668d,_0x2c16b9-_0x1ca5db._0x372c86,_0x2c16b9-_0x1ca5db._0x4a179c,_0x305401);}const _0x1bad4a=_0x2def72[0x0]?_0x3f3d52(_0x2def72[0x0]):[],_0x2cd082=_0x2def72[_0x3632ea(_0x3cda3e._0x4029ee,0x356,0x29e,0x331)]===0x2&&_0x2def72[0x1]?_0x3f3d52(_0x2def72[0x1]):[],_0x220d90=[];if(_0x4f9249){const _0x5c16ab=ipv4ToInt(_0x4f9249);if(_0x5c16ab===null)return null;_0x220d90['push'](_0x5c16ab>>>0x10&0xffff,_0x5c16ab&0xffff);}const _0x1790a0=[..._0x2cd082,..._0x220d90];function _0x3ad54b(_0x54d850,_0x13ec09,_0x2e53b8,_0x36b31f){return _0x4d40c0(_0x54d850-_0x48da97._0x3d333b,_0x54d850-0x4dc,_0x2e53b8-_0x48da97._0x23138a,_0x13ec09);}const _0x551003=0x8-_0x1bad4a[_0x3ad54b(_0x3cda3e._0x7c76cc,_0x3cda3e._0x4f70e0,0x42d,0x376)]-_0x1790a0[_0x3ad54b(_0x3cda3e._0x453f9b,_0x3cda3e._0x2b96bb,_0x3cda3e._0x19d62f,_0x3cda3e._0x384bd7)];if(_0x2def72[_0x3ad54b(0x41c,0x522,0x46e,0x3f0)]===0x1)return _0x1bad4a[_0x3632ea(_0x3cda3e._0x5a8a71,_0x3cda3e._0x3f56a1,0x29e,0x2a5)]+_0x1790a0[_0x3ad54b(0x41c,_0x3cda3e._0x2a2b57,_0x3cda3e._0x384d88,_0x3cda3e._0x1896dd)]===0x8?[..._0x1bad4a,..._0x1790a0]:null;if(_0x551003<0x0)return null;return[..._0x1bad4a,...new Array(_0x551003)[_0x3ad54b(0x3b8,_0x3cda3e._0x39cfdf,_0x3cda3e._0x56ba30,0x290)](0x0),..._0x1790a0];}function isBlockedIpv6(_0x227a0b){const _0x4863f3={_0x59c302:0xc8,_0x45b692:0x12c,_0x490dbe:0x19f,_0x3166d7:0xf7,_0x51f8e2:0x5d6,_0x2ce499:0x4a0,_0x1550a7:0x47b,_0x346ebf:0x11b,_0x7282ac:0x468,_0x39cc5d:0x3d8,_0x26837e:0x1f2,_0xe4948:0x350},_0x42fb38={_0x3b8351:0x2f8,_0x332600:0xd0},_0x22ff9c={_0x2e1ccf:0xe8,_0x3faa3c:0x1cd},_0x23b935=expandIpv6(_0x227a0b);if(!_0x23b935||_0x23b935[_0x34e762(0x1e8,_0x4863f3._0x59c302,_0x4863f3._0x45b692,_0x4863f3._0x490dbe)](_0x5dbc3f=>Number[_0x34e762(0x1dc,0x3da,0x1a2,0x2f6)](_0x5dbc3f)))return!![];const _0x1e973a=_0x23b935[_0x34e762(0x250,_0x4863f3._0x3166d7,0xc1,0x168)](0x0,0x7)[_0x3b77c1(0x5b6,_0x4863f3._0x51f8e2,_0x4863f3._0x2ce499,_0x4863f3._0x1550a7)](_0x54dc3e=>_0x54dc3e===0x0);if(_0x1e973a&&(_0x23b935[0x7]===0x0||_0x23b935[0x7]===0x1))return!![];if(_0x23b935[_0x34e762(0x1d8,0x1c2,_0x4863f3._0x346ebf,0x168)](0x0,0x5)[_0x34e762(_0x4863f3._0x7282ac,_0x4863f3._0x39cc5d,_0x4863f3._0x26837e,_0x4863f3._0xe4948)](_0x2bf5ce=>_0x2bf5ce===0x0)&&(_0x23b935[0x5]===0xffff||_0x23b935[0x5]===0x0)){const _0x367dbe=(_0x23b935[0x6]<<0x10|_0x23b935[0x7])>>>0x0,_0x560778=[_0x367dbe>>>0x18&0xff,_0x367dbe>>>0x10&0xff,_0x367dbe>>>0x8&0xff,_0x367dbe&0xff][_0x34e762(0x1f6,0x2dc,0x1cc,0x338)]('.');return isBlockedIpv4(_0x560778);}const _0x8b3ed1=_0x23b935[0x0];function _0x34e762(_0x1a8460,_0x14d174,_0x420a62,_0x3f6631){return _0xf90728(_0x14d174,_0x14d174-_0x22ff9c._0x2e1ccf,_0x3f6631-_0x22ff9c._0x3faa3c,_0x3f6631-0xe3);}if((_0x8b3ed1&0xff00)===0xfc00||(_0x8b3ed1&0xfe00)===0xfc00)return!![];function _0x3b77c1(_0x3aa8bc,_0x38c4d2,_0x4c19ff,_0x52189a){return _0xf90728(_0x3aa8bc,_0x38c4d2-0xb5,_0x52189a-_0x42fb38._0x3b8351,_0x52189a-_0x42fb38._0x332600);}if((_0x8b3ed1&0xffc0)===0xfe80)return!![];if((_0x8b3ed1&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x25ef54){const _0x5da75a=isIP(_0x25ef54);if(_0x5da75a===0x4)return isBlockedIpv4(_0x25ef54);if(_0x5da75a===0x6)return isBlockedIpv6(_0x25ef54);return!![];}async function assertPublicUrl(_0x29146b,_0x33eea6={}){const _0x5d4fcc={_0x548276:0x173,_0x217e9f:0x14,_0x194ead:0x1d,_0x45adb8:0x50,_0x311a13:0x1f0,_0x324ce3:0x99,_0xe39cc0:0x87,_0x231837:0x18c,_0xed6779:0x38,_0x5e60bf:0x129,_0x149891:0x212,_0x2b9a65:0x14b,_0x157aa1:0x123,_0x2b2101:0x9a,_0x755f9b:0x1ac,_0x3d1a75:0x92,_0x1e96c7:0x17c,_0x40645f:0x15c,_0x103722:0xb7,_0x2b5d59:0x3b,_0x205b4f:0xa8,_0x15fb4e:0x15e,_0x3c6de5:0x6a,_0x480361:0x139,_0x4b60d0:0x39,_0x75c445:0x1e0},_0x1d3eb9={_0x113509:0x73},_0x4dcffd={_0x173acf:0x131};function _0x3b111a(_0x2e84ff,_0x56378c,_0x46648b,_0xdf1db7){return _0x4d40c0(_0x2e84ff-_0x4dcffd._0x173acf,_0xdf1db7-0x12e,_0x46648b-0x1ba,_0x56378c);}let _0x1755f6;try{_0x1755f6=new URL(_0x29146b);}catch{throw new ToolExecutionError(_0x4faf69(0x5f,0x95,-_0x5d4fcc._0x548276,-_0x5d4fcc._0x217e9f),{'url':_0x29146b});}if(_0x1755f6[_0x4faf69(-_0x5d4fcc._0x194ead,-0x13d,-0x74,-0xb7)]!=='http:'&&_0x1755f6['protocol']!==_0x3b111a(-_0x5d4fcc._0x45adb8,-_0x5d4fcc._0x311a13,_0x5d4fcc._0x324ce3,-_0x5d4fcc._0xe39cc0))throw new ToolExecutionError(_0x4faf69(_0x5d4fcc._0x231837,-0xdc,-_0x5d4fcc._0xed6779,0x5f),{'url':_0x29146b});if(_0x1755f6[_0x3b111a(_0x5d4fcc._0x5e60bf,0x1ef,_0x5d4fcc._0x149891,_0x5d4fcc._0x2b9a65)]||_0x1755f6['password'])throw new ToolExecutionError('URLs\x20must\x20not\x20include\x20usernames\x20or\x20passwords',{'url':_0x1755f6['protocol']+'//'+_0x1755f6[_0x3b111a(_0x5d4fcc._0x157aa1,_0x5d4fcc._0x2b2101,_0x5d4fcc._0x755f9b,_0x5d4fcc._0x3d1a75)]+_0x1755f6[_0x4faf69(-0x131,-0x32,-0x114,-0x34)]});const _0x1597e4=_0x1755f6[_0x3b111a(0x135,_0x5d4fcc._0x1e96c7,_0x5d4fcc._0x40645f,0x16a)]['replace'](/^\[|\]$/g,'');function _0x4faf69(_0x40e53d,_0x17f4c8,_0xa0a369,_0x4f6487){return _0x4d40c0(_0x40e53d-0x71,_0x4f6487-_0x1d3eb9._0x113509,_0xa0a369-0xb6,_0xa0a369);}const _0x572f1a=_0x1755f6[_0x4faf69(0x52,-0x63,-0xe6,-_0x5d4fcc._0x103722)]+'//'+_0x1755f6[_0x3b111a(0xb0,-0x5b,0x2a,_0x5d4fcc._0x3d1a75)]+_0x1755f6['pathname'];if(isIP(_0x1597e4)){if(isBlockedAddress(_0x1597e4))throw new ToolExecutionError(_0x3b111a(0x16,-0x1c9,_0x5d4fcc._0x2b5d59,-0x84),{'url':_0x572f1a});return _0x1755f6;}const _0x3b463a=_0x33eea6['lookup']??defaultLookup;let _0x5d738b;try{_0x5d738b=await _0x3b463a(_0x1597e4);}catch{throw new ToolExecutionError(_0x3b111a(0xcc,_0x5d4fcc._0x205b4f,_0x5d4fcc._0x15fb4e,0x39),{'url':_0x572f1a});}if(_0x5d738b['length']===0x0)throw new ToolExecutionError(_0x3b111a(_0x5d4fcc._0x3c6de5,-_0x5d4fcc._0x480361,0x2c,_0x5d4fcc._0x4b60d0),{'url':_0x572f1a});for(const {address:_0x5d671d}of _0x5d738b){if(isBlockedAddress(_0x5d671d))throw new ToolExecutionError(_0x4faf69(-0x153,-0x28b,-_0x5d4fcc._0x75c445,-0x214),{'url':_0x572f1a});}return _0x1755f6;}async function safeFetch(_0x320b0e,_0xfd269b={},_0x110565={}){const _0xda3c3b={_0x7c3e96:0x107,_0x3e02f6:0x179,_0x4e2ed3:0x299,_0x2d142e:0x194,_0x51d56a:0xb3,_0x538b01:0x6d,_0xaffe4:0x17c,_0x88b6a7:0x28b,_0x22a35c:0x1ae,_0x45039e:0x298,_0x1a7a55:0x15b,_0x3f2863:0x2c8,_0x1445c4:0x11a,_0x135d4e:0xd6,_0x1f2a6e:0x188},_0x342055={_0x407dce:0xd7};function _0x194912(_0x52e753,_0xed3ea4,_0x2f36e2,_0x234d9f){return _0xf90728(_0xed3ea4,_0xed3ea4-_0x342055._0x407dce,_0x52e753-0x15e,_0x234d9f-0x87);}const _0x13cb8d=_0x110565['fetchImpl']??fetch;function _0x5515a8(_0x2346de,_0x2e577d,_0x54e133,_0x138d3d){return _0xf90728(_0x138d3d,_0x2e577d-0x10f,_0x2346de-0x18,_0x138d3d-0x8d);}const _0x369954=_0x110565['maxRedirects']??DEFAULT_MAX_REDIRECTS;let _0x263edb=_0x320b0e;for(let _0xa9f6f7=0x0;;_0xa9f6f7+=0x1){const _0x412110=await assertPublicUrl(_0x263edb,_0x110565),_0x350608=await _0x13cb8d(_0x412110[_0x5515a8(-0x21,-0xbf,0x6b,-_0xda3c3b._0x7c3e96)](),{..._0xfd269b,'redirect':'manual'}),_0xb76842=_0x350608[_0x5515a8(_0xda3c3b._0x3e02f6,_0xda3c3b._0x4e2ed3,_0xda3c3b._0x2d142e,0x1d0)][_0x5515a8(_0xda3c3b._0x51d56a,0x175,0xe0,0x1c5)]('location');if(!REDIRECT_STATUSES[_0x5515a8(-_0xda3c3b._0x538b01,0xe9,-0x82,0xe9)](_0x350608[_0x194912(_0xda3c3b._0xaffe4,_0xda3c3b._0x88b6a7,0x22f,_0xda3c3b._0x22a35c)])||!_0xb76842)return _0x350608;if(_0xa9f6f7>=_0x369954)throw new ToolExecutionError(_0x194912(_0xda3c3b._0x45039e,_0xda3c3b._0x1a7a55,0x3e4,_0xda3c3b._0x3f2863),{'url':_0x412110[_0x194912(0x125,_0xda3c3b._0x1445c4,0x20,0x220)]()});_0x263edb=new URL(_0xb76842,_0x412110)[_0x5515a8(-0x21,0xaa,_0xda3c3b._0x135d4e,-_0xda3c3b._0x1f2a6e)]();}}var USER_AGENT=_0x4d40c0(-0x81,-0x1cc,-0x26e,-0x142),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x2639bc,_0x423478){const _0x39917e={_0x5bb610:0x15a,_0x19e8e6:0x181,_0x231603:0x23c,_0x2be3b8:0x2a0,_0x19d242:0x271,_0x1d1188:0x7b,_0x3d2795:0x5e,_0xd739a5:0x2cc,_0x32969d:0x24b},_0x55386c={_0x2070ee:0x64,_0x46968d:0x1f3},_0x135e85={_0x5c1dae:0x1da,_0x2c86d3:0x88},_0xc2851a=new AbortController(),_0x37a036=setTimeout(()=>_0xc2851a[_0x3330bf(0x5e,0x193,0x1ce,0x19d)](new Error(_0x38d22f(0x1cf,0x10d,0x18e,0x50))),_0x423478),_0x45c522=()=>_0xc2851a[_0x38d22f(0xdd,0x7b,-0x92,0x1ce)](_0x2639bc[_0x3330bf(0x1a3,0x4f,0xfe,0x198)]);function _0x38d22f(_0x532cf9,_0x27d914,_0x461044,_0xdbe7d4){return _0xf90728(_0x461044,_0x27d914-0x1c1,_0x27d914-_0x135e85._0x5c1dae,_0xdbe7d4-_0x135e85._0x2c86d3);}function _0x3330bf(_0x25858a,_0x575571,_0xc4e73d,_0x1179cf){return _0x4d40c0(_0x25858a-_0x55386c._0x2070ee,_0x1179cf-0x442,_0xc4e73d-_0x55386c._0x46968d,_0xc4e73d);}return _0x2639bc[_0x3330bf(_0x39917e._0x5bb610,_0x39917e._0x19e8e6,_0x39917e._0x231603,0x1d1)]?_0xc2851a['abort'](_0x2639bc['reason']):_0x2639bc[_0x38d22f(_0x39917e._0x2be3b8,0x294,_0x39917e._0x19d242,0x27e)](_0x38d22f(0x1a3,_0x39917e._0x1d1188,_0x39917e._0x3d2795,-0x1),_0x45c522,{'once':!![]}),{'signal':_0xc2851a[_0x38d22f(0x27d,_0x39917e._0xd739a5,_0x39917e._0x19d242,_0x39917e._0x32969d)],'cleanup':()=>{const _0x24fec7={_0x304189:0x5b,_0x576750:0x1a5};clearTimeout(_0x37a036);function _0x1b58d4(_0x3f2377,_0x1f7e72,_0x4feed0,_0x2a243d){return _0x3330bf(_0x3f2377-0xf1,_0x1f7e72-_0x24fec7._0x304189,_0x1f7e72,_0x3f2377- -_0x24fec7._0x576750);}_0x2639bc[_0x1b58d4(0x5c,-0xfd,0x95,-0x2d)]('abort',_0x45c522);}};}function createWebFetchTool(_0x13d0b9={}){const _0x358100={_0x2a60e0:0x25e,_0x945cc7:0x102,_0x276ea4:0x69,_0xae9d91:0x2b,_0x679ad0:0x673,_0x4523ca:0x625,_0x3e8a8f:0x6f2,_0x2b46b1:0x37c,_0x4b47eb:0xec,_0x1b98fc:0x268,_0x54dfac:0x1cd,_0x1dc76d:0xfc,_0x984c0f:0x1e,_0x5e32ad:0x53b,_0x959325:0x42f,_0x6bd996:0x66e,_0x2016d1:0x12a,_0x1a6e58:0x14b,_0x3a6eb8:0xde,_0x2ec1cd:0xa6,_0x394aea:0x2c,_0x44031b:0x6a7},_0x3d6f00={_0xbe28a:0x148,_0x2464ea:0x264,_0x558ad8:0x3a,_0x42bc97:0x26b,_0x5d8972:0x360,_0x3c110e:0x4fd,_0x55af06:0x5b8,_0x38a0ed:0x4ab,_0x42d209:0x11e,_0x4f001d:0x4d,_0x24408e:0x40,_0x1424c1:0x121,_0x5a758f:0x5a,_0xc64c25:0x335,_0x1dc10f:0x250,_0x1c67f9:0x2cc,_0x18e259:0x1e8,_0x1f543c:0x60c,_0x5a84b2:0xa4,_0x29979a:0x362,_0x3b24ba:0x26d,_0x196686:0xa6,_0x373623:0x63b,_0x44a297:0x472,_0x3ae65c:0x13e,_0x30d1c9:0x126,_0x5569f3:0x2b4,_0x3b7a25:0x22d,_0x459f8d:0x155,_0x318da3:0x442,_0x212d06:0x4e1,_0x38a5e3:0x131,_0x1b1c87:0x222,_0x4cdc2c:0x1d5,_0x21971a:0x36f,_0xae03d:0x267,_0x3ee001:0x2dc,_0x30b9ad:0x373,_0x219bf7:0x2c7,_0x1dabc1:0x231,_0x530de8:0x331,_0x69764a:0x35e,_0x4ba5ea:0x437,_0xb27879:0x3ce,_0x2f6ce9:0x45a,_0x29b24d:0x7,_0x47e3c4:0xa,_0x181c0a:0xe6,_0x16bad4:0x2ab},_0x4436b9={_0x27cf55:0x66a},_0x542023={_0x5efb7b:0xc,_0x3b9204:0x148,_0x2e1fff:0xdf},_0xc91233=_0x13d0b9['name']??'WebFetch';function _0x592107(_0x58fc24,_0x20e325,_0x256b7b,_0x309a81){return _0x4d40c0(_0x58fc24-_0x542023._0x5efb7b,_0x309a81-_0x542023._0x3b9204,_0x256b7b-_0x542023._0x2e1fff,_0x20e325);}const _0x218a1f=_0x13d0b9['timeoutMs']??DEFAULT_TIMEOUT_MS2,_0x1ba332=_0x13d0b9[_0x592107(-0x206,-0x75,-_0x358100._0x2a60e0,-0x117)];function _0x4e98af(_0x495b61,_0x44df12,_0x19405e,_0x4f2921){return _0x4d40c0(_0x495b61-0x5e,_0x495b61-_0x4436b9._0x27cf55,_0x19405e-0x192,_0x19405e);}const _0x26a548=new _0xa56966({'headingStyle':_0x592107(_0x358100._0x945cc7,_0x358100._0x276ea4,0xe1,_0x358100._0xae9d91),'codeBlockStyle':_0x4e98af(_0x358100._0x679ad0,_0x358100._0x4523ca,0x5a3,_0x358100._0x3e8a8f),'bulletListMarker':'-'});return _0x26a548[_0x4e98af(0x46d,0x547,_0x358100._0x2b46b1,0x40e)]([_0x592107(-_0x358100._0x4b47eb,-_0x358100._0x1b98fc,-_0x358100._0x54dfac,-_0x358100._0x1dc76d),'style',_0x592107(-_0x358100._0x984c0f,-0x33,-0x78,0xf3),_0x4e98af(_0x358100._0x5e32ad,_0x358100._0x959325,0x5b5,_0x358100._0x6bd996),'nav','footer','header',_0x592107(0x15d,0x164,0x243,_0x358100._0x2016d1)]),defineTool({'name':_0xc91233,'description':_0x592107(0x89,_0x358100._0x1a6e58,_0x358100._0x3a6eb8,0xa2),'inputSchema':{'type':_0x592107(0xf3,-0x10a,-0xa1,0x55),'properties':{'description':{'type':_0x592107(-0x58,0x36,_0x358100._0x2ec1cd,_0x358100._0x394aea)},'url':{'type':_0x4e98af(0x54e,0x406,_0x358100._0x44031b,0x587)}},'required':['url']},async *'execute'(_0x5c3408,_0x2d0466){const _0x4ec39d={_0x2aed9b:0x10c},_0x154a7e={_0x5ae887:0x18e},_0x210f9b=(await assertPublicUrl(_0x5c3408[_0x2705b1(-_0x3d6f00._0xbe28a,-_0x3d6f00._0x2464ea,-0x186,-_0x3d6f00._0x558ad8)],{'lookup':_0x1ba332}))['toString']();if(_0x2d0466['signal'][_0x38470b(0x1bd,0x21d,_0x3d6f00._0x42bc97,_0x3d6f00._0x5d8972)])throw new ToolExecutionError(_0x38470b(_0x3d6f00._0x3c110e,_0x3d6f00._0x55af06,_0x3d6f00._0x38a0ed,0x5a2),{'url':_0x210f9b});const _0x21a227=createTimeoutSignal(_0x2d0466[_0x2705b1(-_0x3d6f00._0x42d209,-0xcb,-_0x3d6f00._0x4f001d,_0x3d6f00._0x24408e)],_0x218a1f);let _0x288f44='';function _0x38470b(_0x25bd51,_0x93c774,_0x3f0a31,_0x2fa224){return _0x4e98af(_0x3f0a31- -_0x154a7e._0x5ae887,_0x93c774-0xa,_0x25bd51,_0x2fa224-0xd3);}let _0x23de66=0x0,_0x4123d7;try{const _0x1ec202=await safeFetch(_0x210f9b,{'headers':{'User-Agent':USER_AGENT},'signal':_0x21a227['signal']},{'lookup':_0x1ba332});if(!_0x1ec202['ok'])throw new ToolExecutionError('HTTP\x20'+_0x1ec202[_0x2705b1(-0x1ce,-0x288,-_0x3d6f00._0x1424c1,-_0x3d6f00._0x5a758f)]+'\x20'+_0x1ec202[_0x38470b(_0x3d6f00._0xc64c25,_0x3d6f00._0x1dc10f,0x31f,_0x3d6f00._0x1c67f9)],{'url':_0x210f9b,'statusCode':_0x1ec202[_0x2705b1(-0x86,-_0x3d6f00._0x18e259,-_0x3d6f00._0x1424c1,-0x14b)]});_0x288f44=_0x1ec202[_0x38470b(0x52c,0x4f2,0x4f7,_0x3d6f00._0x1f543c)][_0x2705b1(-0x20,-0x114,-_0x3d6f00._0x5a84b2,0x39)](_0x38470b(0x3b3,0x36c,_0x3d6f00._0x29979a,0x4ce))??'',_0x23de66=_0x1ec202[_0x2705b1(-_0x3d6f00._0x3b24ba,-_0x3d6f00._0x196686,-0x121,-0x115)],_0x4123d7=await _0x1ec202[_0x38470b(_0x3d6f00._0x373623,_0x3d6f00._0x44a297,0x4cb,0x611)]();}catch(_0x2468fd){if(_0x2468fd instanceof ToolExecutionError)throw _0x2468fd;const _0x1a316c=_0x2468fd instanceof Error?_0x2468fd[_0x2705b1(-0xe4,-0x1ba,-_0x3d6f00._0x3ae65c,-0x88)]:String(_0x2468fd);throw new ToolExecutionError(_0x1a316c,{'url':_0x210f9b});}finally{_0x21a227[_0x38470b(_0x3d6f00._0x30d1c9,_0x3d6f00._0x5569f3,_0x3d6f00._0x3b7a25,_0x3d6f00._0x459f8d)]();}const _0x16bb0f=new Date()[_0x38470b(0x3bf,_0x3d6f00._0x318da3,_0x3d6f00._0x212d06,0x478)]();let _0x21bc56,_0x48c88d;function _0x2705b1(_0x53dbe9,_0x485f71,_0x4eda25,_0x41d1e0){return _0x592107(_0x53dbe9-_0x4ec39d._0x2aed9b,_0x485f71,_0x4eda25-0x178,_0x4eda25- -0x141);}if(_0x288f44[_0x38470b(_0x3d6f00._0x38a5e3,0x23c,0x2a4,_0x3d6f00._0x1b1c87)](_0x2705b1(-_0x3d6f00._0x4cdc2c,-_0x3d6f00._0x21971a,-_0x3d6f00._0xae03d,-0x3a3)))_0x21bc56='```json\x0a'+_0x4123d7+'\x0a```',_0x48c88d=_0x38470b(_0x3d6f00._0x3ee001,0x2cc,_0x3d6f00._0x30b9ad,_0x3d6f00._0x219bf7);else _0x288f44[_0x2705b1(-0xca,-0x38d,-_0x3d6f00._0x1dabc1,-_0x3d6f00._0x530de8)](_0x38470b(0x3c0,_0x3d6f00._0x69764a,_0x3d6f00._0x4ba5ea,_0x3d6f00._0xb27879))?(_0x21bc56=_0x26a548[_0x38470b(_0x3d6f00._0x2f6ce9,0x2da,0x2e8,0x2e8)](_0x4123d7),_0x48c88d=_0x2705b1(-0x1f4,_0x3d6f00._0x29b24d,-0x131,-0x291)):(_0x21bc56=_0x4123d7,_0x48c88d=_0x2705b1(-0x100,-0xd6,-_0x3d6f00._0x47e3c4,-_0x3d6f00._0x181c0a));return yield createToolOutput(_0x21bc56,{'url':_0x210f9b,'contentType':_0x288f44,'statusCode':_0x23de66,'format':_0x48c88d,'size':_0x4123d7[_0x38470b(0x34e,_0x3d6f00._0x16bad4,0x41c,0x529)],'fetchedAt':_0x16bb0f}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x4d40c0(-0x65,-0x32,-0xca,0x10b);function normalizeUrl(_0x4c6a10){const _0x1ac1f5={_0xbafeb2:0x3e0,_0x4d696d:0x26f,_0x15f5ed:0x199,_0x2c4cd1:0x3a2,_0x448cb7:0x41b,_0x436c61:0x37c,_0x36088f:0x2e6,_0x370240:0x76,_0x2c095a:0x33,_0x162eb0:0xda,_0x41fb62:0x325,_0x10d214:0x2a9,_0x39c380:0x1e7,_0x3a3722:0x1c4,_0x498f3e:0x2f8,_0x2059ec:0x197,_0x26061f:0x1e9,_0x24347a:0x20e,_0x1a32dd:0x1bb,_0x50984f:0x208,_0x2f8e93:0x3ee,_0x452275:0x33d,_0x24fc32:0x21b},_0x40b7bd={_0x166dc2:0x180,_0x42cb26:0x9c},_0x1e6908={_0x2198d3:0x402};function _0x477a99(_0x430bd4,_0xb4d8c1,_0x4e579a,_0x117d57){return _0x4d40c0(_0x430bd4-0x46,_0x4e579a-_0x1e6908._0x2198d3,_0x4e579a-0x17d,_0xb4d8c1);}function _0x31369b(_0x213343,_0x3165af,_0x4ecdcd,_0x2b314c){return _0x4d40c0(_0x213343-_0x40b7bd._0x166dc2,_0x2b314c- -_0x40b7bd._0x42cb26,_0x4ecdcd-0x19,_0x213343);}try{const _0x464668=new URL(_0x4c6a10);for(const _0x3b02eb of[_0x31369b(-_0x1ac1f5._0xbafeb2,-_0x1ac1f5._0x4d696d,-_0x1ac1f5._0x15f5ed,-0x293),_0x477a99(0x3ad,0x494,_0x1ac1f5._0x2c4cd1,0x4a4),_0x477a99(_0x1ac1f5._0x448cb7,0x2c9,_0x1ac1f5._0x436c61,_0x1ac1f5._0x36088f),_0x31369b(0x7c,-_0x1ac1f5._0x370240,-_0x1ac1f5._0x2c095a,-_0x1ac1f5._0x162eb0),_0x477a99(_0x1ac1f5._0x41fb62,_0x1ac1f5._0x10d214,_0x1ac1f5._0x39c380,_0x1ac1f5._0x3a3722),_0x31369b(-0x453,-0x201,-0x3e5,-_0x1ac1f5._0x498f3e),'fbclid','mc_cid',_0x31369b(-_0x1ac1f5._0x2059ec,-_0x1ac1f5._0x26061f,-_0x1ac1f5._0x24347a,-_0x1ac1f5._0x1a32dd)]){_0x464668[_0x477a99(_0x1ac1f5._0x50984f,0x2e7,0x215,0x375)][_0x31369b(-0x291,-_0x1ac1f5._0x2f8e93,-0x2e6,-_0x1ac1f5._0x452275)](_0x3b02eb);}return _0x464668[_0x31369b(-0x14d,-_0x1ac1f5._0x4d696d,-0x357,-_0x1ac1f5._0x24fc32)]();}catch{return _0x4c6a10;}}function cseDateRestrict(_0x19ff36){const _0x5c1b24={_0x1e8946:0x251,_0x48a4c8:0x184,_0x2bf2ff:0x149,_0x2884ea:0x16a,_0x12f383:0x155,_0x8215b7:0x16},_0x3c2b59={_0xa10a91:0x4d},_0x41e04b={_0xc51230:0x6f,_0x3bc63f:0x21b};function _0x3130c0(_0x24ba21,_0x3b2f8f,_0x3f8618,_0x5c9be6){return _0xf90728(_0x24ba21,_0x3b2f8f-_0x41e04b._0xc51230,_0x3b2f8f-_0x41e04b._0x3bc63f,_0x5c9be6-0x15b);}if(_0x19ff36<=0x0)return void 0x0;if(_0x19ff36<=0x1e)return'd'+Math[_0x3130c0(0x2c4,_0x5c1b24._0x1e8946,0x2cd,0x306)](0x1,Math[_0x3130c0(0x1d4,_0x5c1b24._0x48a4c8,_0x5c1b24._0x2bf2ff,0x47)](_0x19ff36));if(_0x19ff36<=0x16d)return'm'+Math[_0x467d3f(_0x5c1b24._0x2884ea,_0x5c1b24._0x12f383,-0xb3,_0x5c1b24._0x8215b7)](_0x19ff36/0x1e);function _0x467d3f(_0x417ea5,_0x4431ad,_0x199be6,_0x24c410){return _0xf90728(_0x417ea5,_0x4431ad-0x155,_0x24c410- -0x22,_0x24c410-_0x3c2b59._0xa10a91);}return'y'+Math['ceil'](_0x19ff36/0x16d);}function addSiteFilters(_0x3fbb44,_0xcf192a){const _0x3df083={_0x341732:0x170,_0x5c47b4:0x248,_0x35abfd:0x2ac,_0x34e98e:0x27d,_0x591f73:0x23c,_0x288139:0x25b,_0x49cd27:0x134,_0x194dbb:0x36a,_0x5628c9:0x2d3,_0x851c79:0x1f1,_0x20569a:0x35,_0x1c6909:0xdd,_0xb47c2b:0x5f,_0x8037c6:0x1be},_0x14f771={_0x4cbdea:0x10,_0x5e7e3c:0x52};if(_0xcf192a[_0x2328b6(_0x3df083._0x341732,_0x3df083._0x5c47b4,0x191,0xf2)]===0x0)return _0x3fbb44[_0x32750c(0x24f,_0x3df083._0x35abfd,_0x3df083._0x34e98e,0x3ed)]();function _0x32750c(_0x13113f,_0x203362,_0xc4f30a,_0x2aaa67){return _0x4d40c0(_0x13113f-0x34,_0xc4f30a-0x3d0,_0xc4f30a-0x188,_0x203362);}function _0x2328b6(_0x3ade15,_0x2c5bdc,_0x16ab4b,_0x15e16c){return _0xf90728(_0x2c5bdc,_0x2c5bdc-_0x14f771._0x4cbdea,_0x3ade15-0xea,_0x15e16c-_0x14f771._0x5e7e3c);}return(_0x3fbb44+'\x20('+_0xcf192a[_0x2328b6(_0x3df083._0x591f73,0x163,_0x3df083._0x288139,_0x3df083._0x49cd27)](_0x39d3c3=>_0x32750c(0xdd,0x120,0x24e,0x368)+_0x39d3c3)[_0x2328b6(0x255,_0x3df083._0x194dbb,_0x3df083._0x5628c9,_0x3df083._0x851c79)](_0x2328b6(0x31,0xc,0x120,-_0x3df083._0x20569a))+')')[_0x2328b6(_0x3df083._0x1c6909,-_0x3df083._0xb47c2b,_0x3df083._0x8037c6,0x19)]();}function normalizeType(_0x38ea4b){const _0x53d3aa={_0x35934a:0x36e,_0xe53251:0x32b,_0x27d554:0x373},_0x411bac={_0x58b46f:0x6c},_0x16ea43={_0x116044:0xf0};function _0x33d3a6(_0x13c1be,_0x3baefc,_0x198641,_0x51b1ed){return _0x4d40c0(_0x13c1be-_0x16ea43._0x116044,_0x3baefc-0x44d,_0x198641-0x2f,_0x13c1be);}function _0xbfaf8a(_0x2dcdc1,_0x26eeb4,_0x3f9aac,_0x384c15){return _0xf90728(_0x3f9aac,_0x26eeb4-_0x411bac._0x58b46f,_0x2dcdc1- -0x12d,_0x384c15-0xd);}return _0x38ea4b===_0x33d3a6(0x3e2,0x2bb,0x25e,_0x53d3aa._0x35934a)?'images':_0x33d3a6(0x22d,0x201,_0x53d3aa._0xe53251,_0x53d3aa._0x27d554);}async function fetchJson(_0x40a6c2,_0x19bb97,_0x2cc2e8){const _0x387631={_0x2c0d4e:0x1d5,_0x5bafa5:0x99,_0x54537f:0xb2,_0x1939c8:0x16,_0x165e6e:0x4e,_0xf89a15:0x14,_0x349be2:0x14f,_0x1a7164:0xec,_0x300b64:0x174,_0x22f366:0x21a,_0x14da5b:0x175,_0x41c7ce:0x15,_0x2d3068:0x194,_0x5baba9:0x88,_0xd83f3e:0x18b,_0x584551:0xc7,_0x56cc5d:0x68,_0x2bcf28:0xc9,_0x2d6c98:0x1cb,_0x498945:0x17a,_0xfeb240:0x22,_0xcdefd3:0x78,_0x29758f:0x69,_0x1a3e39:0x6c,_0x8e217b:0xaa,_0x3daeb3:0x101,_0x43a094:0xb7,_0x32a359:0xe6},_0x565097={_0x50c902:0x10a,_0xcfcc54:0x99},_0x50b239={_0x48d0a2:0xc1},_0x49da59=await fetch(_0x40a6c2,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x46970c(-0x8f,-0xb5,-0x71,0xe3),..._0x2cc2e8?.[_0x221054(_0x387631._0x2c0d4e,_0x387631._0x5bafa5,-_0x387631._0x54537f,-_0x387631._0x1939c8)]},'signal':_0x19bb97,..._0x2cc2e8});if(!_0x49da59['ok']){let _0x3dd7d4,_0x477b7e;try{_0x3dd7d4=await _0x49da59['text']();const _0x38279=JSON['parse'](_0x3dd7d4),_0x12965c=typeof _0x38279[_0x221054(-_0x387631._0x165e6e,_0x387631._0xf89a15,-0x58,_0x387631._0x349be2)]===_0x46970c(_0x387631._0x1a7164,_0x387631._0x300b64,0xac,_0x387631._0x22f366)?_0x38279[_0x46970c(_0x387631._0x14da5b,_0x387631._0x41c7ce,_0x387631._0x2d3068,0x20)][_0x46970c(0xc9,-_0x387631._0x5baba9,0xb5,0x17)]:void 0x0;_0x477b7e=_0x38279['error']?.[_0x221054(-_0x387631._0xd83f3e,-_0x387631._0x584551,-0x20b,_0x387631._0x56cc5d)]??_0x38279[_0x46970c(_0x387631._0x2bcf28,0x70,-0x6f,0x1e7)]?.[_0x46970c(0x20f,0x1d8,0x1fe,0x1c0)]?.[0x0]?.['message']??_0x12965c;}catch{}const _0x26077c=_0x477b7e?_0x221054(-0xb6,-0xc4,-0x76,-0x20d)+_0x49da59['status']+':\x20'+_0x477b7e:_0x221054(-0x204,-0xc4,0x15,-0x33)+_0x49da59[_0x221054(-0x207,-0xaa,-_0x387631._0x2d6c98,-_0x387631._0x498945)]+'\x20'+_0x49da59[_0x46970c(_0x387631._0xfeb240,-_0x387631._0xcdefd3,_0x387631._0x29758f,-_0x387631._0x1a3e39)];throw new ToolExecutionError(_0x26077c,{'statusCode':_0x49da59[_0x221054(0xa5,-_0x387631._0x8e217b,-_0x387631._0x3daeb3,_0x387631._0x43a094)],..._0x3dd7d4?{'body':_0x3dd7d4}:{}});}function _0x221054(_0x14a932,_0x1b4807,_0xc3b763,_0x127c3c){return _0xf90728(_0x14a932,_0x1b4807-0x1d0,_0x1b4807- -0xc8,_0x127c3c-_0x50b239._0x48d0a2);}function _0x46970c(_0x5e3c31,_0x78fdd,_0x28bf55,_0x53279a){return _0xf90728(_0x53279a,_0x78fdd-_0x565097._0x50c902,_0x5e3c31-_0x565097._0xcfcc54,_0x53279a-0x143);}return await _0x49da59[_0x46970c(0x76,-0x5f,-0xc9,_0x387631._0x32a359)]();}async function hydrateResults(_0x2ea365,_0x3daa3f,_0x17461e,_0x4f178d){const _0x15ba4b={_0xb14773:0xa,_0x1ca3c1:0x138,_0x43adc5:0x10c,_0x250a77:0x6b,_0x5587b3:0xab,_0x568fc3:0x15c},_0x4118b6={_0x2bb83d:0x197,_0x2b31e3:0x10c,_0x4f2d2a:0x1c5},_0x1ec069={_0x56bbaa:0x19e,_0x310bf0:0x9f},_0x4bef2b={_0x3e6413:0x25,_0x46a5c2:0x4a,_0x255e4f:0x2c,_0x1fd23c:0x1bc,_0x5d3a78:0x1f8,_0x716c48:0x317,_0x2b2dec:0x24d,_0x453882:0x17,_0x1dd80d:0x177,_0x7ff4f1:0xcb,_0x4c7a24:0x258,_0x248903:0x146,_0x4d6d81:0xb2,_0x3f3965:0x1bb,_0xfb3816:0xf8,_0xfa9e61:0x7,_0x411984:0x168,_0x43d72f:0x13b,_0x34158c:0x1e8,_0x5cf5:0x9e,_0x1dda09:0x8,_0x2ab625:0x1a,_0x1a09ff:0xff,_0x5b06e4:0x22,_0x2791d6:0x1dc,_0x42eb7b:0x94,_0x408676:0x15c,_0x4fd2d8:0xb6,_0x2d14e4:0x18e,_0x5c045a:0x29,_0x12cd1f:0x198,_0x354f0a:0xb4,_0x37163a:0x18a,_0x57007f:0x9e,_0x5e6d99:0x1fa,_0x3a1523:0x70,_0x377ef5:0x2ec,_0x54f4a1:0x261,_0x5cf8c9:0x267,_0x5cecda:0x162,_0x472fca:0x7f,_0x37c23d:0x7,_0x5a6906:0x132,_0x1ab990:0xc,_0x1540de:0x12,_0x3f5822:0x125,_0xeef525:0x124,_0x220c92:0xc7,_0xf1a98c:0x204,_0x2eae19:0x148},_0x50a839={_0x47d903:0x1f7,_0x2b069f:0x1d7,_0x2543dd:0x1b5},_0x56ed88=await Promise[_0xe6e63d(-0x5,0xea,_0x15ba4b._0xb14773,-_0x15ba4b._0x1ca3c1)](_0x2ea365[_0xe6e63d(-_0x15ba4b._0x43adc5,-0x1e7,-0x13c,-0x80)](0x0,0xa)[_0x4254b4(0x25e,0x243,0x2e5,0x1b2)](async _0x491cde=>{const _0x3e35d4={_0x1bc5e6:0x106};function _0x5432a0(_0x18af17,_0xbcbd2e,_0x5e9590,_0x491126){return _0x4254b4(_0xbcbd2e- -0x1e,_0xbcbd2e-_0x3e35d4._0x1bc5e6,_0x491126,_0x491126-0x186);}function _0x10e725(_0x1082ec,_0x4cecc6,_0x1dd76e,_0x1db102){return _0x4254b4(_0x1082ec- -_0x50a839._0x47d903,_0x4cecc6-_0x50a839._0x2b069f,_0x4cecc6,_0x1db102-_0x50a839._0x2543dd);}try{const _0x548500=await safeFetch(_0x491cde[_0x5432a0(0x1a6,0xa7,-_0x4bef2b._0x3e6413,0x20)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x3daa3f,'Accept':_0x10e725(-_0x4bef2b._0x46a5c2,-_0x4bef2b._0x255e4f,-_0x4bef2b._0x1fd23c,-0x2c)},'signal':_0x17461e},{'lookup':_0x4f178d});if(!_0x548500['ok'])return _0x491cde;const _0x3f15e1=await _0x548500['text'](),_0x5c71e1=load(_0x3f15e1),_0x5c20c0=_0x5c71e1(_0x10e725(-_0x4bef2b._0x5d3a78,-0x367,-_0x4bef2b._0x716c48,-_0x4bef2b._0x2b2dec))[_0x5432a0(0x215,0x9e,0xc1,0x12d)](_0x10e725(-_0x4bef2b._0x453882,0x3c,-_0x4bef2b._0x1dd80d,-_0x4bef2b._0x7ff4f1))||_0x5c71e1(_0x5432a0(0x179,_0x4bef2b._0x4c7a24,0x188,_0x4bef2b._0x248903))[_0x10e725(0x3c,-0xa0,_0x4bef2b._0x4d6d81,0x3b)]()[_0x10e725(_0x4bef2b._0x46a5c2,_0x4bef2b._0x3f3965,0x57,0x90)]()[_0x10e725(-_0x4bef2b._0xfb3816,-0xeb,-0x1dd,-0x10d)](),_0x274b23=_0x5c71e1(_0x10e725(-_0x4bef2b._0xfa9e61,-0x1a,-_0x4bef2b._0x411984,-0x12e))[_0x10e725(-_0x4bef2b._0x43d72f,-_0x4bef2b._0x34158c,-0x206,-0x58)](_0x10e725(-_0x4bef2b._0x453882,-0xea,0x77,-0x31))||_0x5c71e1('meta[property=\x27og:description\x27]')[_0x5432a0(0x38,_0x4bef2b._0x5cf5,_0x4bef2b._0x1dda09,_0x4bef2b._0x2ab625)](_0x5432a0(0x148,0x1c2,0xbc,0x234))||_0x491cde[_0x5432a0(_0x4bef2b._0x1a09ff,-_0x4bef2b._0x5b06e4,-0x14d,-0x83)],_0x3578b1=_0x5c71e1(_0x10e725(0x95,0xc4,_0x4bef2b._0x2791d6,_0x4bef2b._0x42eb7b))[_0x5432a0(-0x64,0x9e,0x5f,_0x4bef2b._0x408676)]('content')||_0x5c71e1(_0x5432a0(0x7c,0x30,0x11e,_0x4bef2b._0x4fd2d8))[_0x5432a0(_0x4bef2b._0x2d14e4,0x9e,_0x4bef2b._0x5c045a,_0x4bef2b._0x12cd1f)]('datetime')||_0x491cde[_0x5432a0(0x138,_0x4bef2b._0x354f0a,0x48,0x7e)],_0x28cf92=_0x5c71e1('link[rel=\x27canonical\x27]')[_0x5432a0(_0x4bef2b._0x37163a,_0x4bef2b._0x57007f,_0x4bef2b._0x5e6d99,_0x4bef2b._0x3a1523)](_0x5432a0(_0x4bef2b._0x377ef5,_0x4bef2b._0x54f4a1,_0x4bef2b._0x5cf8c9,_0x4bef2b._0x5cecda));return{..._0x491cde,'title':_0x5c20c0||_0x491cde[_0x10e725(_0x4bef2b._0x472fca,-0xf5,0x120,_0x4bef2b._0x37c23d)],'snippet':_0x274b23,'url':_0x28cf92?normalizeUrl(new URL(_0x28cf92,_0x491cde[_0x10e725(-_0x4bef2b._0x5a6906,-_0x4bef2b._0x1ab990,_0x4bef2b._0x1540de,-_0x4bef2b._0x3f5822)])[_0x10e725(-_0x4bef2b._0xeef525,-0x29c,-_0x4bef2b._0x220c92,-_0x4bef2b._0x354f0a)]()):_0x491cde[_0x10e725(-0x132,-_0x4bef2b._0xf1a98c,-0x16d,-_0x4bef2b._0x2eae19)],'publishedAt':_0x3578b1};}catch{return _0x491cde;}}));function _0xe6e63d(_0x2af701,_0x1b67d2,_0x494409,_0x1021c1){return _0x4d40c0(_0x2af701-_0x1ec069._0x56bbaa,_0x2af701-_0x1ec069._0x310bf0,_0x494409-0x112,_0x1b67d2);}function _0x4254b4(_0x1acbc7,_0x25153f,_0x58b71e,_0x3dafb4){return _0xf90728(_0x58b71e,_0x25153f-_0x4118b6._0x2bb83d,_0x1acbc7-_0x4118b6._0x2b31e3,_0x3dafb4-_0x4118b6._0x4f2d2a);}const _0x310b05=new Map(_0x2ea365['slice'](0x0,0xa)[_0xe6e63d(0xab,-_0x15ba4b._0x250a77,0xc,0x28)]((_0x43b9a2,_0x4d7ed0)=>[_0x43b9a2[_0xe6e63d(-0xee,-0x206,0x70,0x2a)],_0x56ed88[_0x4d7ed0]]));return _0x2ea365[_0xe6e63d(_0x15ba4b._0x5587b3,_0x15ba4b._0x568fc3,0x75,0x169)](_0x345ea6=>_0x310b05[_0x4254b4(0x1a7,0x252,0x88,0x1ed)](_0x345ea6[_0xe6e63d(-0xee,-0x11a,-0x19d,-0x8a)])??_0x345ea6);}function formatResults(_0x18947e){const _0x58ccb1={_0x208de9:0x49b,_0x851807:0x537,_0xb3c957:0x5d3,_0x59cd7e:0x454,_0x308662:0x593,_0x49e1fe:0x4f7},_0x1713f1={_0x594cf6:0xdd,_0x416193:0x9f,_0x4f1da5:0x603,_0x255434:0x5e7,_0x836cb2:0x141,_0x52fb55:0x4,_0x5db0a0:0x21,_0x31e3ee:0x42c,_0x583a5f:0x337,_0x5ab5be:0x29b,_0x38b91c:0x3d3,_0x4e6947:0x48b,_0x48f980:0x53f,_0x239895:0x486,_0x385c2a:0x57c,_0x30f0d7:0x480,_0x3518df:0x2d3,_0x3e0b07:0xee,_0x24636d:0x137,_0x55cc9c:0x20},_0x406eaf={_0x23df94:0x86},_0x18bcde={_0x1e60cb:0x16b},_0x577d15={_0x32b962:0x13b};function _0x4eb48a(_0x20c664,_0x3d57b8,_0x9bebcf,_0x2c8fe8){return _0xf90728(_0x9bebcf,_0x3d57b8-_0x577d15._0x32b962,_0x2c8fe8-0x4b1,_0x2c8fe8-0x19e);}if(_0x18947e[_0x4eb48a(0x452,_0x58ccb1._0x208de9,0x4c6,_0x58ccb1._0x851807)]===0x0)return _0x3fb796(0x3f0,0x3ca,0x431,0x3de);function _0x3fb796(_0x288aae,_0x46f7e1,_0x945c49,_0x411ca7){return _0xf90728(_0x46f7e1,_0x46f7e1-0x96,_0x945c49-0x441,_0x411ca7-_0x18bcde._0x1e60cb);}return _0x18947e[_0x3fb796(_0x58ccb1._0xb3c957,_0x58ccb1._0x59cd7e,_0x58ccb1._0x308662,0x5f7)](_0x168c30=>{function _0x1cee88(_0x26d5ab,_0x1f58ec,_0x13166f,_0x4f4723){return _0x4eb48a(_0x26d5ab-0x183,_0x1f58ec-0x108,_0x4f4723,_0x26d5ab-0xfa);}function _0x2f5d12(_0x1d25cb,_0xc0d5a1,_0x58c074,_0x5c9d05){return _0x3fb796(_0x1d25cb-0xa1,_0x58c074,_0x5c9d05- -0x5cc,_0x5c9d05-_0x406eaf._0x23df94);}const _0x117b78=[_0x168c30[_0x2f5d12(-_0x1713f1._0x594cf6,0x53,-_0x1713f1._0x416193,-0x24)][_0x1cee88(0x4a7,_0x1713f1._0x4f1da5,0x54d,_0x1713f1._0x255434)]+'.\x20'+_0x168c30[_0x2f5d12(_0x1713f1._0x836cb2,0x75,_0x1713f1._0x52fb55,-_0x1713f1._0x5db0a0)],_0x168c30[_0x1cee88(0x564,0x5ad,0x5ef,_0x1713f1._0x31e3ee)]];if(_0x168c30[_0x2f5d12(-0x368,-_0x1713f1._0x583a5f,-0x1ad,-_0x1713f1._0x5ab5be)])_0x117b78['push'](_0x168c30[_0x1cee88(0x49b,0x56f,_0x1713f1._0x38b91c,_0x1713f1._0x4e6947)]);if(_0x168c30[_0x1cee88(0x571,0x586,_0x1713f1._0x48f980,_0x1713f1._0x239895)])_0x117b78['push'](_0x1cee88(_0x1713f1._0x385c2a,0x529,_0x1713f1._0x30f0d7,0x43a)+_0x168c30[_0x2f5d12(-0x1d5,-0x76,-_0x1713f1._0x3518df,-0x1c5)]);return _0x117b78[_0x2f5d12(-0x6,-_0x1713f1._0x3e0b07,_0x1713f1._0x24636d,-_0x1713f1._0x55cc9c)]('\x0a');})[_0x3fb796(_0x58ccb1._0x49e1fe,0x53c,0x5ac,0x67d)]('\x0a\x0a');}async function searchOllama(_0x282505,_0x49f817,_0x3a7e1f){const _0x4e51f7={_0x5a979d:0x51b,_0x251412:0x514,_0x710cd1:0x519,_0x2feb0a:0x65e,_0x33da69:0x607,_0x43b541:0x7c,_0x23f0f6:0x14a,_0x169a0e:0xfa,_0x309f02:0x2cc,_0x3d1aac:0x3cb,_0x485195:0x2d,_0x1d024e:0x1b8,_0x12f096:0x18d,_0x4c8a3c:0x1b2,_0x5ecad1:0x286,_0x5e06ca:0x18c,_0x5ca86c:0x6ac,_0x169dd4:0x720,_0x2cfa4b:0x4f5},_0x1a1827={_0x19d503:0x13a,_0x33c70f:0x25f,_0x18ac26:0x58,_0x2362e6:0x79,_0x4afa59:0x25d,_0x330610:0x16f,_0x4ed777:0x364},_0x2ebacc={_0x51dd8d:0x6b4},_0x1a9c01={_0x210bcf:0x36,_0x49a977:0x13},_0x1d58da={_0x4ccd72:0xba,_0x4ce119:0x55a,_0x2376e7:0x9},_0x90b496={_0x1cbb10:0xde,_0x55f3ea:0x59,_0x95f7a1:0xa6},_0x383116=Math[_0x3af9b8(_0x4e51f7._0x5a979d,0x51b,0x590,_0x4e51f7._0x251412)](0x1,Math[_0x3af9b8(_0x4e51f7._0x710cd1,0x7ac,_0x4e51f7._0x2feb0a,_0x4e51f7._0x33da69)](0xa,_0x49f817['count']));function _0x43ecfe(_0x3224dc,_0x4a3357,_0x61ea00,_0x580fc3){return _0x4d40c0(_0x3224dc-_0x90b496._0x1cbb10,_0x580fc3- -_0x90b496._0x55f3ea,_0x61ea00-_0x90b496._0x95f7a1,_0x4a3357);}const _0x1f7536=addSiteFilters(_0x49f817[_0x43ecfe(-0x1a9,-_0x4e51f7._0x43b541,-_0x4e51f7._0x23f0f6,-_0x4e51f7._0x169a0e)],_0x49f817['domains']);function _0x3af9b8(_0x417870,_0x5520ab,_0xe0923,_0x456dbc){return _0xf90728(_0x456dbc,_0x5520ab-_0x1d58da._0x4ccd72,_0xe0923-_0x1d58da._0x4ce119,_0x456dbc-_0x1d58da._0x2376e7);}const _0x337345=await fetchJson(_0x43ecfe(-_0x4e51f7._0x309f02,-0x368,-_0x4e51f7._0x3d1aac,-0x2f8),_0x3a7e1f,{'method':_0x43ecfe(-0x16f,-_0x4e51f7._0x485195,-_0x4e51f7._0x1d024e,-0x4e),'headers':{'Authorization':'Bearer\x20'+_0x282505[_0x43ecfe(-_0x4e51f7._0x12f096,-0x1bb,-0x43,-0x177)]},'body':JSON['stringify']({'query':_0x1f7536,'max_results':_0x383116})}),_0x5b59ea=_0x337345[_0x43ecfe(-_0x4e51f7._0x4c8a3c,-_0x4e51f7._0x5ecad1,-_0x4e51f7._0x5e06ca,-0x265)]??[],_0x273f77=_0x5b59ea[_0x3af9b8(0x801,0x6a3,_0x4e51f7._0x5ca86c,_0x4e51f7._0x169dd4)]((_0xa48a48,_0x3df46f)=>{const _0x1a9038=_0xa48a48[_0x41554b(-0x1a1,-_0x1a1827._0x19d503,-0x2c3,-_0x1a1827._0x33c70f)]||'';let _0x141905;function _0x5cf668(_0x39bf91,_0x2f4142,_0x44ccbc,_0x1a6740){return _0x3af9b8(_0x39bf91-_0x1a9c01._0x210bcf,_0x2f4142-_0x1a9c01._0x49a977,_0x44ccbc- -0x547,_0x2f4142);}try{_0x141905=new URL(_0x1a9038)[_0x41554b(-0xb0,-0xd4,_0x1a1827._0x18ac26,-0x201)];}catch{_0x141905=null;}function _0x41554b(_0x46ce21,_0x218ae0,_0x5cdaf4,_0x2c811c){return _0x3af9b8(_0x46ce21-0x1cb,_0x218ae0-0x29,_0x46ce21- -_0x2ebacc._0x51dd8d,_0x2c811c);}return{'title':_0xa48a48['title']||'Untitled','url':normalizeUrl(_0x1a9038),'snippet':_0xa48a48[_0x5cf668(0x1dc,-_0x1a1827._0x2362e6,0xe7,0x142)]??null,'displayUrl':_0x141905,'favicon':null,'publishedAt':null,'source':{'engine':_0x41554b(-_0x1a1827._0x4afa59,-0x39d,-_0x1a1827._0x330610,-_0x1a1827._0x4ed777),'rank':_0x3df46f+0x1}};});return{'items':_0x273f77[_0x3af9b8(0x514,0x3c6,_0x4e51f7._0x2cfa4b,0x524)](0x0,_0x383116),'engine':'ollama'};}async function searchTavily(_0x4d10f3,_0x3b3939,_0x57d4d8){const _0x4912ba={_0x2c4cc5:0x1d5,_0x3e0efb:0x1a,_0x5d5ec1:0x49,_0x1e6f76:0x3f6,_0x25efca:0x4ff,_0x36d4d7:0x192,_0x96f6c8:0x27b,_0x172999:0xf8,_0x398f93:0x20f,_0x5a337b:0x32b,_0x1088ec:0x2d,_0x5401bd:0x378,_0x42b185:0x371,_0x216cf5:0x725,_0xdf3b44:0x605,_0x360f8a:0x5dd,_0x399296:0x5ed,_0x158153:0x4b1,_0x23c5f0:0x428,_0x2a62fd:0x4a4,_0x2c56bb:0x1bb,_0x2d84c0:0xe3,_0x2a7bea:0x64,_0x2d8cb5:0x1d6,_0x2c9483:0x1c2,_0x5ba308:0x191,_0x155caa:0x53a,_0x56cdb5:0x5c6,_0x2a29d7:0x83,_0x500a9a:0x12a,_0x2b0ed8:0x88,_0x50a439:0x17e,_0x2cdff8:0x1ce},_0x431f21={_0x320120:0x62a,_0x1c636b:0x12c},_0x49af28={_0x1c7321:0x2b9,_0x1441bd:0x199,_0x4d8a64:0x41f,_0x1684ce:0x327},_0x356eeb={_0x510bf9:0xcc},_0x1ed410={_0x9e3804:0x1d4},_0x22ef75=Math[_0x50aae8(0x123,_0x4912ba._0x2c4cc5,_0x4912ba._0x3e0efb,_0x4912ba._0x5d5ec1)](0x1,Math['min'](0x14,_0x3b3939[_0x1c42d6(0x481,_0x4912ba._0x1e6f76,0x513,_0x4912ba._0x25efca)])),_0x6a2afd={'query':_0x3b3939[_0x50aae8(_0x4912ba._0x36d4d7,_0x4912ba._0x96f6c8,_0x4912ba._0x172999,_0x4912ba._0x398f93)],'max_results':_0x22ef75,'search_depth':_0x4d10f3['searchDepth']??_0x50aae8(0x1d4,0xe4,_0x4912ba._0x5a337b,0x2c6),'topic':_0x4d10f3[_0x50aae8(0x103,0x146,0x146,-_0x4912ba._0x1088ec)]??_0x1c42d6(0x2a1,_0x4912ba._0x5401bd,_0x4912ba._0x42b185,0x40a)};if(_0x3b3939[_0x1c42d6(_0x4912ba._0x216cf5,_0x4912ba._0xdf3b44,0x5e2,_0x4912ba._0x360f8a)][_0x1c42d6(_0x4912ba._0x399296,_0x4912ba._0x158153,0x5ac,0x56a)]>0x0)_0x6a2afd[_0x1c42d6(_0x4912ba._0x23c5f0,0x3e7,_0x4912ba._0x2a62fd,0x3a7)]=_0x3b3939['domains'];const _0x3d7806=await fetchJson(_0x50aae8(_0x4912ba._0x2c56bb,_0x4912ba._0x2d84c0,_0x4912ba._0x2a7bea,0x22c),_0x57d4d8,{'method':_0x50aae8(0x23e,_0x4912ba._0x2d8cb5,_0x4912ba._0x2c9483,_0x4912ba._0x5ba308),'headers':{'Authorization':_0x1c42d6(0x67c,0x6ba,0x60b,0x604)+_0x4d10f3[_0x1c42d6(0x6ab,0x507,_0x4912ba._0x155caa,_0x4912ba._0x56cdb5)],'Content-Type':_0x50aae8(-0x3b,-_0x4912ba._0x2a29d7,0xbf,-_0x4912ba._0x500a9a)},'body':JSON[_0x50aae8(0x1d2,0x169,0x347,0xd7)](_0x6a2afd)}),_0x1cfdfc=_0x3d7806['results']??[];function _0x50aae8(_0x550293,_0x27ba5b,_0x1841a3,_0x4c9e6e){return _0x4d40c0(_0x550293-0x40,_0x550293-0x233,_0x1841a3-_0x1ed410._0x9e3804,_0x4c9e6e);}const _0x2e6309=_0x1cfdfc['map']((_0x1a88fd,_0x30f106)=>{const _0x1b2ce1={_0x196db2:0x2e3},_0x3ed184=_0x1a88fd['url']||'';let _0x488def;function _0x89f345(_0x275e3b,_0xd2c3c8,_0x52826e,_0x3cdaed){return _0x1c42d6(_0x275e3b-0x12,_0x52826e,_0x52826e-0xb0,_0x3cdaed- -_0x1b2ce1._0x196db2);}try{_0x488def=new URL(_0x3ed184)[_0x89f345(0x41c,_0x49af28._0x1c7321,0x13e,0x2ab)];}catch{_0x488def=null;}function _0x3d4027(_0x5ea092,_0x8dcbe6,_0x5a871b,_0x1ae4e3){return _0x50aae8(_0x5ea092-0x4cc,_0x8dcbe6-_0x356eeb._0x510bf9,_0x5a871b-0x12c,_0x1ae4e3);}return{'title':_0x1a88fd['title']||_0x89f345(0xcf,0x181,_0x49af28._0x1441bd,0x198),'url':normalizeUrl(_0x3ed184),'snippet':_0x1a88fd['content']??null,'displayUrl':_0x488def,'favicon':null,'publishedAt':null,'source':{'engine':_0x89f345(0x2ec,_0x49af28._0x4d8a64,_0x49af28._0x1684ce,0x369),'rank':_0x30f106+0x1}};});function _0x1c42d6(_0x77a8b3,_0x1e7af0,_0x221830,_0x10fc82){return _0x4d40c0(_0x77a8b3-0x2f,_0x10fc82-_0x431f21._0x320120,_0x221830-_0x431f21._0x1c636b,_0x1e7af0);}return{'items':_0x2e6309[_0x50aae8(_0x4912ba._0x2b0ed8,0xdf,0x17f,_0x4912ba._0x50a439)](0x0,_0x22ef75),'engine':_0x50aae8(0x255,0x16c,0x368,_0x4912ba._0x2cdff8)};}async function searchGoogleCse(_0x565fcb,_0x177263,_0x2e3ec4){const _0x562d03={_0x1e92ab:0x104,_0x4011e2:0x70b,_0x24c3bf:0x655,_0xddefcf:0x6c5,_0x2473c9:0x86,_0xd1e3a0:0x189,_0x4d771a:0x739,_0x4565b3:0x69b,_0x59e7a4:0x6e5,_0x426bb5:0x6c2,_0x15362c:0x6d0,_0x2be5b9:0x5,_0x2177ed:0x2c,_0x4fc80b:0x6e1,_0x1210ec:0x620,_0x5c25ef:0x5e0,_0x3480fc:0x5ad,_0x4c407f:0x801,_0x2f6611:0x6ec,_0x3f699e:0x643,_0x4295e1:0x578,_0x13932f:0x151,_0x5abd5b:0x10,_0x3ce281:0x256,_0xc999a6:0x42,_0x75744c:0x185,_0x33417a:0x712,_0x380d70:0x752,_0x3681ac:0x5e6,_0x40aac0:0x751,_0x1f713f:0x68f,_0x184341:0x64a,_0x2b9f92:0x882,_0x1abe46:0x179,_0x46809e:0x24f,_0x4bd038:0x5e3,_0x2816b9:0x7c1,_0x109420:0x120,_0x41b42f:0x730,_0x1709f7:0x71f,_0x28d5b6:0xd5,_0x4c82e5:0x182,_0x43cfe2:0x55,_0x3f11ca:0xec,_0x2b76b3:0x65b,_0x422a43:0x7c7,_0x502874:0x580,_0x5714e8:0x536,_0x264a80:0x699,_0x13a462:0x69,_0xf73eff:0x7c,_0x4575ee:0x131,_0x2f90d8:0x536,_0x5b01b9:0x1b9,_0x4b7e5d:0x108,_0x2c9eab:0x75,_0x414d45:0x63f,_0x56e683:0x548,_0x533818:0x76c,_0x30a434:0x6ca,_0x200598:0x570,_0x3cfbcc:0x49d,_0x8a1d10:0x534,_0x1a1b8c:0x58a,_0x24b266:0x41a,_0x3fa4c4:0x56a,_0x213180:0x629,_0x484c73:0x11e,_0x2d2628:0x12a,_0xb8796:0x231,_0x116b1e:0xf2,_0x299b81:0x126,_0x2e3617:0x2fc,_0x15262c:0x196,_0x582c0c:0x18,_0x52da39:0x244,_0x1b8a6c:0xde,_0x233b3c:0xc2,_0x57a96a:0x75,_0x39c2e3:0x503,_0x411a1b:0x10a,_0x15b4f8:0x101,_0x453565:0x58,_0x3bfeb2:0x58,_0x19be59:0x611,_0x3c7b82:0x687,_0x4c3b02:0x2,_0xe2b2b1:0x51,_0x2d3db9:0xd9,_0x34854b:0x40,_0x287ad5:0x167,_0x21068c:0xb8,_0x5ec09e:0x170,_0x29dcfb:0x1ee,_0x5f1981:0xce,_0x39e360:0x506,_0xd1c0f2:0x3d0,_0x325ef1:0x3c2,_0x3a0bc5:0x498,_0xfce9ac:0x1d,_0x5927b9:0x170,_0x2a1929:0x9f,_0x15f9be:0x145,_0xfe89a5:0x1d8,_0x2e6baf:0x674,_0x191371:0x42c,_0x36d560:0xfd,_0x3f7b6c:0x4b,_0x16739a:0x673,_0x1c3df8:0xee},_0x4bfdfc={_0x4b4fec:0x1f2,_0xeecb4b:0x5dd},_0x3854b5={_0x3e654d:0x1a5},_0x1da933=Math[_0x45a416(-0x1f7,0x29,-0xa8,-_0x562d03._0x1e92ab)](0x1,Math['min'](0x32,_0x177263[_0x1c3a9b(0x5f8,_0x562d03._0x4011e2,_0x562d03._0x24c3bf,_0x562d03._0xddefcf)]));if(_0x177263[_0x45a416(_0x562d03._0x2473c9,_0x562d03._0xd1e3a0,0x7e,0xe8)]+_0x1da933>0x64)throw new ToolExecutionError('Google\x20CSE\x20supports\x20at\x20most\x20the\x20first\x20100\x20results',{'offset':_0x177263[_0x1c3a9b(_0x562d03._0x4d771a,0x740,0x6c8,0x808)],'count':_0x1da933,'maxResults':0x64});const _0x5ca61a=cseDateRestrict(_0x177263[_0x1c3a9b(_0x562d03._0x4565b3,0x6f8,_0x562d03._0x59e7a4,_0x562d03._0x426bb5)]),_0x1e77e6=addSiteFilters(_0x177263[_0x1c3a9b(0x682,_0x562d03._0x15362c,0x77e,0x6c1)],_0x177263[_0x1c3a9b(0x6d6,0x6d9,0x61d,0x785)]);let _0x226464=0x0;function _0x45a416(_0x5b2a8c,_0x316089,_0x13c0f7,_0x51db69){return _0xf90728(_0x5b2a8c,_0x316089-_0x3854b5._0x3e654d,_0x13c0f7- -0xde,_0x51db69-0x152);}function _0x1c3a9b(_0x37b0c8,_0x226fd9,_0x581d00,_0x460ae9){return _0xf90728(_0x581d00,_0x226fd9-_0x4bfdfc._0x4b4fec,_0x37b0c8-_0x4bfdfc._0xeecb4b,_0x460ae9-0x145);}let _0x3955b1=_0x177263[_0x45a416(_0x562d03._0x2be5b9,_0x562d03._0x2177ed,0x7e,0xf3)]+0x1;const _0x329565=[];while(_0x226464<_0x1da933){const _0x4919c2=Math[_0x1c3a9b(_0x562d03._0x4fc80b,_0x562d03._0x1210ec,0x5c0,_0x562d03._0x5c25ef)](0xa,_0x1da933-_0x226464),_0x19d5c2=new URL('https://www.googleapis.com/customsearch/v1');_0x19d5c2[_0x1c3a9b(0x536,0x61c,0x599,_0x562d03._0x3480fc)][_0x1c3a9b(0x730,0x638,0x7b5,_0x562d03._0x4c407f)](_0x1c3a9b(_0x562d03._0x2f6611,_0x562d03._0x4011e2,_0x562d03._0x3f699e,_0x562d03._0x4295e1),_0x565fcb[_0x45a416(0x76,-_0x562d03._0x13932f,_0x562d03._0x5abd5b,-0x58)]),_0x19d5c2[_0x45a416(-_0x562d03._0x3ce281,-_0x562d03._0xc999a6,-_0x562d03._0x75744c,-0x1d4)][_0x1c3a9b(0x730,_0x562d03._0x33417a,_0x562d03._0x380d70,0x84d)]('cx',_0x565fcb[_0x1c3a9b(_0x562d03._0x3681ac,0x650,_0x562d03._0x40aac0,0x5e7)]),_0x19d5c2['searchParams'][_0x1c3a9b(0x730,_0x562d03._0x1f713f,_0x562d03._0x184341,_0x562d03._0x2b9f92)]('q',_0x1e77e6),_0x19d5c2[_0x45a416(-_0x562d03._0x1abe46,-0x10c,-0x185,-0x205)]['set']('num',String(_0x4919c2)),_0x19d5c2[_0x45a416(-_0x562d03._0x46809e,-0x202,-0x185,-0x1b1)][_0x1c3a9b(0x730,_0x562d03._0x4bd038,_0x562d03._0x2816b9,0x751)](_0x45a416(0xd7,0x100,0x63,_0x562d03._0x109420),String(_0x3955b1)),_0x19d5c2[_0x1c3a9b(0x536,0x44b,0x4bb,0x3e0)][_0x1c3a9b(_0x562d03._0x41b42f,0x5c9,_0x562d03._0x1709f7,0x89a)](_0x45a416(0x54,_0x562d03._0x28d5b6,-0x55,-0x27),_0x177263[_0x45a416(-_0x562d03._0x4c82e5,0x5,-_0x562d03._0x43cfe2,-_0x562d03._0x3f11ca)]?_0x1c3a9b(0x4cc,0x571,0x3c9,0x633):_0x1c3a9b(_0x562d03._0x2b76b3,_0x562d03._0x422a43,0x4f4,_0x562d03._0x502874));_0x177263['lang']&&(_0x19d5c2[_0x1c3a9b(_0x562d03._0x5714e8,_0x562d03._0x264a80,0x3de,0x626)]['set']('hl',_0x177263[_0x45a416(_0x562d03._0x13a462,0x50,-_0x562d03._0xf73eff,-_0x562d03._0x4575ee)]),_0x19d5c2[_0x1c3a9b(_0x562d03._0x2f90d8,0x4d7,0x4a5,0x557)][_0x45a416(_0x562d03._0x5b01b9,_0x562d03._0x4b7e5d,_0x562d03._0x2c9eab,0x152)]('lr',_0x1c3a9b(0x5b6,0x4e7,0x53c,0x694)+_0x177263[_0x1c3a9b(_0x562d03._0x414d45,_0x562d03._0x56e683,_0x562d03._0x533818,0x6bd)]));if(_0x177263['region'])_0x19d5c2['searchParams'][_0x1c3a9b(_0x562d03._0x41b42f,0x877,_0x562d03._0x30a434,0x803)]('gl',_0x177263[_0x1c3a9b(_0x562d03._0x200598,_0x562d03._0x3cfbcc,_0x562d03._0x8a1d10,0x694)][_0x1c3a9b(0x590,0x4c4,0x64b,0x4ee)]());if(_0x177263[_0x1c3a9b(_0x562d03._0x1a1b8c,_0x562d03._0x24b266,_0x562d03._0x3fa4c4,_0x562d03._0x213180)]===_0x45a416(-_0x562d03._0x484c73,-0x243,-_0x562d03._0x2d2628,-_0x562d03._0xb8796))_0x19d5c2[_0x45a416(-0x23b,-_0x562d03._0x116b1e,-0x185,-0x150)]['set'](_0x45a416(-_0x562d03._0x299b81,-_0x562d03._0x2e3617,-_0x562d03._0x15262c,-0x2c2),'image');if(_0x5ca61a)_0x19d5c2[_0x45a416(-0x9f,-_0x562d03._0x582c0c,-_0x562d03._0x75744c,-_0x562d03._0x52da39)][_0x45a416(-_0x562d03._0x1b8a6c,_0x562d03._0x233b3c,_0x562d03._0x57a96a,-0x21)]('dateRestrict',_0x5ca61a);const _0x202127=await fetchJson(_0x19d5c2[_0x1c3a9b(0x5a4,0x5c5,0x495,_0x562d03._0x39c2e3)](),_0x2e3ec4),_0x450e22=_0x202127[_0x45a416(-_0x562d03._0x411a1b,0x56,-0xdb,-0x222)]??[];if(_0x450e22[_0x45a416(-0x53,_0x562d03._0x15b4f8,-_0x562d03._0x453565,-_0x562d03._0x233b3c)]===0x0)break;const _0x497a77=_0x226464;for(let _0x22eaa1=0x0;_0x22eaa1<_0x450e22[_0x45a416(-0x13,-0xe3,-_0x562d03._0x3bfeb2,-0xf3)];_0x22eaa1++){const _0x26138a=_0x450e22[_0x22eaa1];if(!_0x26138a)continue;const _0x2fc02c=_0x26138a[_0x1c3a9b(0x6df,_0x562d03._0x19be59,_0x562d03._0x3c7b82,0x744)]||_0x26138a[_0x45a416(-0x45,-_0x562d03._0x4c3b02,-0x1b,_0x562d03._0xe2b2b1)]?.[_0x45a416(-0xc5,-0x83,-_0x562d03._0x2d3db9,_0x562d03._0x34854b)]||'',_0x68db77=_0x26138a[_0x45a416(_0x562d03._0x287ad5,0x1a4,0x8c,0x107)]||_0x26138a[_0x45a416(-0xe,-_0x562d03._0x21068c,-0x1b,-0x128)]?.['title']||_0x45a416(-_0x562d03._0x5ec09e,-0x18f,-0x147,-_0x562d03._0x4575ee),_0x218f52=_0x26138a[_0x45a416(-0x131,-0x177,-_0x562d03._0x29dcfb,-_0x562d03._0x5f1981)]||_0x26138a[_0x45a416(-0x9c,0x1c3,0x7f,-0x8a)]?.[_0x1c3a9b(_0x562d03._0x39e360,0x517,_0x562d03._0xd1c0f2,_0x562d03._0x325ef1)](/<[^>]+>/g,''),_0x5ed8e6=_0x26138a['pagemap']?.[_0x1c3a9b(0x4f3,0x477,0x634,_0x562d03._0x3a0bc5)]?.[0x0]??{};let _0x3cfa13;try{_0x3cfa13=new URL(_0x2fc02c)['host'];}catch{_0x3cfa13=null;}_0x329565[_0x45a416(-0xac,-_0x562d03._0xfce9ac,-_0x562d03._0x5927b9,-_0x562d03._0x2a1929)]({'title':_0x68db77,'url':normalizeUrl(_0x2fc02c),'snippet':_0x218f52??null,'displayUrl':_0x3cfa13,'favicon':null,'publishedAt':_0x5ed8e6[_0x45a416(-0x16f,-0xce,-0x20b,-0x2ef)]||_0x5ed8e6[_0x45a416(_0x562d03._0x15f9be,0xbd,0x77,_0x562d03._0xfe89a5)]||null,'source':{'engine':_0x1c3a9b(0x514,_0x562d03._0x2e6baf,_0x562d03._0x191371,0x55d),'rank':_0x497a77+_0x22eaa1+0x1}});}_0x226464+=_0x450e22[_0x45a416(-_0x562d03._0x36d560,0x9d,-_0x562d03._0x3bfeb2,-_0x562d03._0x3f7b6c)],_0x3955b1+=_0x450e22[_0x1c3a9b(0x663,_0x562d03._0x16739a,0x4f9,0x61a)];if(_0x450e22['length']<_0x4919c2)break;}return _0x329565[_0x45a416(_0x562d03._0x5abd5b,-0x9d,-0x143,-_0x562d03._0x1c3df8)](0x0,_0x1da933);}function isGoogleCseEngine(_0x2a4555){const _0x1a1a14={_0x3e233f:0x35f,_0x32a2ad:0x269},_0x1b7a0a={_0x5abc8b:0x7};function _0x55cbcf(_0x1bc408,_0x461269,_0x39c7d4,_0xf3f1cf){return _0xf90728(_0x1bc408,_0x461269-_0x1b7a0a._0x5abc8b,_0x461269-0x271,_0xf3f1cf-0x185);}return _0x55cbcf(0x39c,_0x1a1a14._0x3e233f,_0x1a1a14._0x32a2ad,0x231)in _0x2a4555;}function isOllamaEngine(_0x46f0aa){const _0x442652={_0x56f235:0xbc},_0x33b52c={_0x3bd185:0x84,_0x2080a8:0x40};function _0x5d42cb(_0x1fd8b3,_0x3df95a,_0x2af213,_0x164d4f){return _0xf90728(_0x3df95a,_0x3df95a-_0x33b52c._0x3bd185,_0x2af213-_0x33b52c._0x2080a8,_0x164d4f-0x146);}return _0x5d42cb(0xf0,0x8f,0x68,-_0x442652._0x56f235)in _0x46f0aa;}function isTavilyEngine(_0x1557ef){const _0x4b046e={_0x4e9ec3:0x542},_0x374065={_0xb2e70c:0xe7};function _0x35295b(_0x11751a,_0x4e0190,_0x26bce9,_0x4644c9){return _0x4d40c0(_0x11751a-_0x374065._0xb2e70c,_0x26bce9-0x5a6,_0x26bce9-0xc8,_0x4e0190);}return _0x35295b(0x411,0x403,_0x4b046e._0x4e9ec3,0x5c1)in _0x1557ef;}function createWebSearchTool(_0x2da61b){const _0x22752a={_0x5aaa90:0x62,_0x3691fa:0x87,_0xc4b2bd:0x278,_0x41dae9:0x252,_0x27d022:0x131,_0x5f3ad0:0x96,_0xe91983:0xa7,_0xf5a4c4:0x15e,_0x2b53ba:0x1cb,_0x2716f7:0x349,_0x3a16be:0x31a,_0x298ffe:0x28a,_0x426d9c:0x1e7,_0xb757fb:0x5e,_0x50194f:0x124,_0x5c8dba:0x25d,_0xe5388c:0x153,_0x2e3140:0x6e,_0x9878db:0x326,_0x24bf21:0x37,_0x234d7c:0x92,_0x31e273:0x1d7,_0x41d8f5:0x92,_0x1ce112:0x279,_0x6263f4:0x15d,_0x5985f0:0x29c,_0x29f072:0x1c1,_0x40cd0f:0x35,_0x11b544:0x92,_0x4bc0fa:0x265,_0x114df0:0xfb,_0x50a3c0:0x12b,_0x4b82e4:0x21c},_0x294a6a={_0x4a9908:0x2e2,_0x26ec06:0x35f,_0x3a94f0:0x190,_0x48b0ff:0x1bc,_0x3aae63:0x391,_0x511e32:0x27f,_0x2ddb56:0x310,_0x5c5734:0x31d,_0x5dc62f:0x2b,_0x1290bb:0x82,_0x5c2529:0x474,_0x4b716c:0x160,_0x39a133:0x22,_0x5023e3:0x91,_0x359ee3:0x421,_0x81a0f9:0x1fb,_0x2770c7:0x1b8,_0x50c5b4:0x19b,_0x57abda:0xf,_0x186151:0x172,_0x1d669e:0xcc,_0x18df34:0x304,_0x5b9805:0x386,_0x46dbb0:0x7c,_0x5128ab:0xee,_0x966f35:0x4d,_0x167edc:0x14d,_0x3b9d58:0x18f,_0x492cf5:0x248,_0x2e8a72:0x267,_0x2fe778:0x2b0,_0x1bd217:0x25c,_0x24e5bb:0x2cb,_0x295dad:0x356,_0x4a1be3:0x316,_0x23b98b:0x2e7,_0x3390d8:0x312,_0x51fe64:0x267,_0x41bfbc:0x137,_0x6c47b6:0x1be,_0x352ef6:0x324,_0x527a04:0x66,_0x45cc7c:0x2a7,_0x6b4e60:0x1d6,_0x445289:0x1bf,_0x452466:0x19d,_0x1b98d5:0x62,_0x2f016e:0x16e,_0x10d200:0x1a1,_0x88195a:0x10d,_0x402ff3:0x127,_0x239c4f:0x1b0,_0x460fbb:0x23d,_0x1e66b6:0x22b,_0x35317d:0x28d,_0x424253:0x7f,_0x5cdd2c:0x131,_0x5d1f91:0x1bd,_0x241993:0x30b,_0x4585fa:0x37a,_0x37768b:0x2d4,_0x10af4d:0x13b,_0x17550a:0x28b,_0xf604ec:0x1e4,_0x510ae5:0x16d,_0xe8955a:0x28a,_0x2a4ce7:0x1cd,_0xe782c8:0x1f7,_0x5b4c29:0x2c1,_0x586661:0x142,_0x55a855:0x1f0,_0x5de2b0:0x19b,_0x34845f:0x162,_0xe39d7e:0x2ce,_0x4e90b3:0x2f2,_0x2a3ef0:0x447,_0x5006d3:0x309,_0x422ee2:0x1b,_0x46f450:0xf,_0x2ef8d7:0x2f,_0x485ab3:0xd,_0x1a5612:0x2e8,_0x1d022f:0x48c,_0x4817bd:0x434,_0x121c85:0x2a6,_0x3e4817:0x1d8,_0x55c667:0x207,_0x533832:0x11d},_0x19eb15={_0x216710:0xd1};if(!_0x2da61b[_0x4bc1e9(-_0x22752a._0x5aaa90,0x106,0x222,0x1ae)]||_0x2da61b[_0x5e8649(-0xe6,0x6b,-_0x22752a._0x3691fa,-0x1b)][_0x4bc1e9(0x13a,_0x22752a._0xc4b2bd,0x2a7,_0x22752a._0x41dae9)]===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');function _0x5e8649(_0x230cbc,_0xfec1b6,_0x173512,_0x158a23){return _0xf90728(_0x230cbc,_0xfec1b6-0x21,_0x158a23-_0x19eb15._0x216710,_0x158a23-0x1da);}const _0x1b0c37=_0x2da61b[_0x4bc1e9(0x262,_0x22752a._0x27d022,_0x22752a._0x5f3ad0,_0x22752a._0xe91983)]??'WebSearch';function _0x4bc1e9(_0x181618,_0x5cda2c,_0x1df46b,_0x1ff5cf){return _0xf90728(_0x1df46b,_0x5cda2c-0x197,_0x5cda2c-0x1f2,_0x1ff5cf-0x107);}const _0x31ea83=_0x2da61b[_0x4bc1e9(_0x22752a._0xf5a4c4,0xd9,0x114,_0x22752a._0x2b53ba)];return defineTool({'name':_0x1b0c37,'description':_0x4bc1e9(0x43c,_0x22752a._0x2716f7,0x454,_0x22752a._0x3a16be),'inputSchema':{'type':_0x5e8649(_0x22752a._0x298ffe,_0x22752a._0x426d9c,_0x22752a._0xb757fb,_0x22752a._0x50194f),'properties':{'description':{'type':_0x5e8649(_0x22752a._0x5c8dba,_0x22752a._0xe5388c,_0x22752a._0x2e3140,0xfb)},'query':{'type':_0x4bc1e9(0x128,0x21c,_0x22752a._0x9878db,0x296)},'count':{'type':_0x5e8649(-0x1c3,_0x22752a._0x24bf21,-0x88,-_0x22752a._0x234d7c)},'offset':{'type':_0x5e8649(-_0x22752a._0x31e273,0x35,0x9,-_0x22752a._0x41d8f5)},'domains':{'type':_0x4bc1e9(_0x22752a._0x1ce112,_0x22752a._0x6263f4,0x252,_0x22752a._0x5985f0),'items':{'type':'string'}},'recencyDays':{'type':_0x5e8649(-_0x22752a._0x29f072,_0x22752a._0x40cd0f,0xc,-_0x22752a._0x11b544)},'lang':{'type':_0x5e8649(_0x22752a._0x4bc0fa,0x26f,0xca,_0x22752a._0x114df0)},'region':{'type':'string'},'safe':{'type':_0x5e8649(0x2dd,0x21e,_0x22752a._0x50a3c0,0x250)},'type':{'type':_0x4bc1e9(0x329,_0x22752a._0x4b82e4,0xf6,0x32c)},'hydrateMeta':{'type':'boolean'}},'required':['query']},async *'execute'(_0x56abfb,_0x35e9c1){const _0x3babb3={_0x25c4c3:0x424,_0xd02b94:0x535,_0x48975f:0x429,_0x5ec4a7:0x352,_0x19e04f:0x3b0,_0x4082cd:0x11,_0x5d4cf1:0xe3},_0x33c9bd=_0x56abfb[_0x433828(_0x294a6a._0x4a9908,_0x294a6a._0x26ec06,0x309,0x23e)]['trim']();if(!_0x33c9bd)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x2fd0e2={'query':_0x33c9bd,'count':Math['max'](0x1,Math[_0x23ab1b(0x2f5,0x206,0x34f,0x23d)](0x32,Math[_0x433828(0x305,_0x294a6a._0x3a94f0,_0x294a6a._0x48b0ff,0x1cd)](_0x56abfb[_0x433828(0x1a5,_0x294a6a._0x3aae63,_0x294a6a._0x511e32,_0x294a6a._0x2ddb56)]??0xa))),'offset':Math[_0x433828(0x3cd,0x357,0x29a,_0x294a6a._0x5c5734)](0x0,Math[_0x23ab1b(0x33,-_0x294a6a._0x5dc62f,-_0x294a6a._0x1290bb,0x91)](_0x56abfb[_0x433828(0x2af,_0x294a6a._0x5c2529,0x3c0,0x44e)]??0x0)),'domains':_0x56abfb[_0x23ab1b(0x2d7,0x277,_0x294a6a._0x4b716c,0x232)]??[],'recencyDays':Math['max'](0x0,Math[_0x23ab1b(0x67,_0x294a6a._0x39a133,-0x2a,_0x294a6a._0x5023e3)](_0x56abfb[_0x433828(0x3ff,_0x294a6a._0x359ee3,0x322,_0x294a6a._0x81a0f9)]??0x0)),'lang':_0x56abfb[_0x23ab1b(0x2cf,_0x294a6a._0x2770c7,0xba,_0x294a6a._0x50c5b4)]??'en','region':_0x56abfb[_0x23ab1b(-0x35,-_0x294a6a._0x57abda,_0x294a6a._0x186151,_0x294a6a._0x1d669e)]??'','safe':_0x56abfb[_0x433828(0x2ac,_0x294a6a._0x18df34,0x2ed,0x2ef)]??!![],'type':normalizeType(_0x56abfb['type']),'hydrateMeta':_0x56abfb[_0x433828(_0x294a6a._0x5b9805,0xe7,0x248,0x288)]??![]};let _0x3ba941=[],_0xaaa9c5=_0x23ab1b(-0x120,-0x123,0x44,0x32);function _0x433828(_0x2e7bc1,_0x59aa6f,_0x48e01d,_0x1ebc06){return _0x5e8649(_0x1ebc06,_0x59aa6f-0xbf,_0x48e01d-0xe3,_0x48e01d-0x193);}for(const _0x3b562a of _0x2da61b[_0x23ab1b(0xfd,_0x294a6a._0x46dbb0,-_0x294a6a._0x5128ab,_0x294a6a._0x966f35)]){try{if(isGoogleCseEngine(_0x3b562a))_0x3ba941=await searchGoogleCse(_0x3b562a,_0x2fd0e2,_0x35e9c1['signal']),_0xaaa9c5='google-cse';else{if(isOllamaEngine(_0x3b562a)){const _0x3ce20b=await searchOllama(_0x3b562a,_0x2fd0e2,_0x35e9c1[_0x23ab1b(_0x294a6a._0x167edc,_0x294a6a._0x3b9d58,_0x294a6a._0x492cf5,0x22b)]);_0x3ba941=_0x3ce20b[_0x433828(0x212,0x2a0,_0x294a6a._0x2e8a72,_0x294a6a._0x2fe778)],_0xaaa9c5=_0x3ce20b['engine'];}else{if(isTavilyEngine(_0x3b562a)){const _0x3a1569=await searchTavily(_0x3b562a,_0x2fd0e2,_0x35e9c1[_0x433828(_0x294a6a._0x1bd217,_0x294a6a._0x24e5bb,_0x294a6a._0x295dad,_0x294a6a._0x4a1be3)]);_0x3ba941=_0x3a1569[_0x433828(_0x294a6a._0x23b98b,_0x294a6a._0x3390d8,_0x294a6a._0x51fe64,_0x294a6a._0x41bfbc)],_0xaaa9c5=_0x3a1569[_0x433828(0x10c,0x1f2,_0x294a6a._0x6c47b6,_0x294a6a._0x352ef6)];}}}if(_0x3ba941[_0x23ab1b(_0x294a6a._0x527a04,_0x294a6a._0x45cc7c,_0x294a6a._0x6b4e60,_0x294a6a._0x445289)]>0x0)break;}catch(_0x18e7a6){if(_0x3b562a===_0x2da61b['engines'][_0x2da61b[_0x23ab1b(_0x294a6a._0x452466,_0x294a6a._0x1b98d5,_0x294a6a._0x2f016e,0x4d)]['length']-0x1])throw _0x18e7a6;}}function _0x23ab1b(_0x1d34db,_0x5e58be,_0xcf1ceb,_0x2db9ec){return _0x4bc1e9(_0x1d34db-0x1e9,_0x2db9ec- -0xb9,_0x1d34db,_0x2db9ec-0x185);}_0x2fd0e2[_0x433828(_0x294a6a._0x10d200,_0x294a6a._0x88195a,_0x294a6a._0x492cf5,_0x294a6a._0x402ff3)]&&_0x3ba941[_0x433828(0x420,0x1e3,0x2ea,0x24f)]>0x0&&(_0x3ba941=await hydrateResults(_0x3ba941,_0x2fd0e2[_0x23ab1b(_0x294a6a._0x239c4f,_0x294a6a._0x460fbb,0x1b5,0x19b)],_0x35e9c1[_0x23ab1b(0x2a0,0x190,0x3a0,_0x294a6a._0x1e66b6)],_0x31ea83));const _0x598474=new Set();_0x3ba941=_0x3ba941[_0x23ab1b(_0x294a6a._0x35317d,0x19b,_0x294a6a._0x424253,_0x294a6a._0x5cdd2c)](_0x4d0dc9=>{const _0x3508ba={_0x18dbcd:0xe6,_0x4c5ba6:0x375};function _0x5484a8(_0x2842e0,_0x1b125c,_0x58f447,_0x11a1cd){return _0x23ab1b(_0x2842e0,_0x1b125c-_0x3508ba._0x18dbcd,_0x58f447-0x186,_0x1b125c-_0x3508ba._0x4c5ba6);}const _0x31da3a=_0x4d0dc9[_0x5484a8(0x46d,0x467,_0x3babb3._0x25c4c3,_0x3babb3._0xd02b94)]['toLowerCase']();function _0x2177a1(_0x293a07,_0xa96cd2,_0x237f27,_0x81ee4d){return _0x23ab1b(_0x293a07,_0xa96cd2-0x143,_0x237f27-0x61,_0x237f27-0x13);}if(!_0x31da3a||_0x598474[_0x5484a8(0x4a7,_0x3babb3._0x48975f,_0x3babb3._0x5ec4a7,_0x3babb3._0x19e04f)](_0x31da3a))return![];return _0x598474[_0x2177a1(0x149,-0xb3,-_0x3babb3._0x4082cd,-_0x3babb3._0x5d4cf1)](_0x31da3a),!![];}),_0x3ba941=_0x3ba941[_0x23ab1b(_0x294a6a._0x5d1f91,_0x294a6a._0x241993,0x3aa,0x28b)]((_0x30f04d,_0x4043ef)=>({..._0x30f04d,'source':{..._0x30f04d[_0x23ab1b(0x30a,0x336,0x221,0x2a0)],'rank':_0x4043ef+0x1}}));const _0x52d677={};if(_0x2fd0e2[_0x433828(0x32b,_0x294a6a._0x4585fa,0x35d,_0x294a6a._0x37768b)][_0x23ab1b(_0x294a6a._0x10af4d,_0x294a6a._0x4a9908,_0x294a6a._0x17550a,0x1bf)]>0x0)_0x52d677['domains']=_0x2fd0e2['domains'];if(_0x2fd0e2[_0x23ab1b(0x94,0x1e4,0x17e,0x1f7)]>0x0)_0x52d677[_0x433828(0x241,_0x294a6a._0xf604ec,0x322,0x353)]=_0x2fd0e2[_0x23ab1b(_0x294a6a._0x510ae5,_0x294a6a._0xe8955a,_0x294a6a._0x2a4ce7,_0x294a6a._0xe782c8)];if(_0x2fd0e2[_0x23ab1b(_0x294a6a._0x5b4c29,_0x294a6a._0x586661,_0x294a6a._0x55a855,_0x294a6a._0x5de2b0)]!=='en')_0x52d677['lang']=_0x2fd0e2[_0x23ab1b(_0x294a6a._0x2a4ce7,_0x294a6a._0x34845f,_0x294a6a._0xe39d7e,_0x294a6a._0x50c5b4)];if(_0x2fd0e2[_0x433828(0x1ec,0x2a2,_0x294a6a._0xe782c8,0x2e5)])_0x52d677['region']=_0x2fd0e2[_0x433828(0x317,0x83,_0x294a6a._0xe782c8,_0x294a6a._0x4e90b3)];return yield createToolOutput(formatResults(_0x3ba941),{'engine':_0xaaa9c5,'count':_0x3ba941['length'],'items':_0x3ba941,'query':_0x2fd0e2[_0x433828(0x3dc,_0x294a6a._0x2a3ef0,_0x294a6a._0x5006d3,0x47d)],...Object[_0x23ab1b(-_0x294a6a._0x422ee2,-_0x294a6a._0x46f450,-_0x294a6a._0x2ef8d7,_0x294a6a._0x485ab3)](_0x52d677)[_0x433828(_0x294a6a._0x1a5612,0x1cb,0x2ea,0x2f4)]>0x0?{'appliedFilters':_0x52d677}:{},'offset':_0x2fd0e2[_0x433828(_0x294a6a._0x1d022f,_0x294a6a._0x4817bd,0x3c0,0x26b)],'totalRequested':_0x2fd0e2[_0x433828(_0x294a6a._0x121c85,0x1d5,_0x294a6a._0x511e32,_0x294a6a._0x3e4817)],'hydrated':_0x2fd0e2[_0x23ab1b(_0x294a6a._0x55c667,-0x36,0xab,_0x294a6a._0x533832)]}),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(_0x10559b,_0x492bd9){const _0x1c2326={_0x12d066:0x375,_0x36b895:0x4bc,_0xa62729:0x397,_0x12c723:0x43b,_0x2a89c8:0x378,_0x457fea:0x480,_0xd1d29c:0x704,_0x5ac19a:0x658,_0x27c21d:0x59d,_0x152e47:0x4d1,_0x281eb7:0x322,_0x1dd05e:0x76b,_0x45af4c:0x73a,_0x2d2d2d:0x6cd,_0x432396:0x565,_0x14b045:0x405,_0x1bdf11:0x3cc,_0x59ec03:0x499,_0x34d56b:0x691,_0x1c7fa0:0x5eb,_0x557ce2:0x487,_0x567f72:0x261,_0x22c29d:0x3a2,_0x49b0bc:0x26c,_0x3e5622:0x32e},_0x195540={_0x1facf8:0x56};function _0x400739(_0x41f8b8,_0x3b67a2,_0x5bc640,_0x53833f){return _0x3bdd(_0x3b67a2-_0x195540._0x1facf8,_0x53833f);}const _0x57b10b=_0x10559b();function _0x532922(_0x3a473c,_0x5aba1c,_0x4bbf97,_0x16262c){return _0x3bdd(_0x4bbf97-0x20e,_0x3a473c);}while(!![]){try{const _0x4468a5=-parseInt(_0x532922(0x516,_0x1c2326._0x12d066,_0x1c2326._0x36b895,_0x1c2326._0xa62729))/0x1+-parseInt(_0x532922(_0x1c2326._0x12c723,_0x1c2326._0x2a89c8,_0x1c2326._0x457fea,0x309))/0x2*(parseInt(_0x532922(_0x1c2326._0xd1d29c,_0x1c2326._0x5ac19a,0x5d2,_0x1c2326._0x27c21d))/0x3)+parseInt(_0x532922(_0x1c2326._0x152e47,0x5dc,0x477,_0x1c2326._0x281eb7))/0x4+-parseInt(_0x532922(_0x1c2326._0x1dd05e,0x56f,0x696,0x52e))/0x5*(parseInt(_0x532922(_0x1c2326._0x45af4c,_0x1c2326._0x2d2d2d,0x5c4,_0x1c2326._0x432396))/0x6)+parseInt(_0x532922(0x423,_0x1c2326._0x14b045,0x4be,_0x1c2326._0x1bdf11))/0x7*(-parseInt(_0x532922(_0x1c2326._0x59ec03,_0x1c2326._0x34d56b,_0x1c2326._0x1c7fa0,_0x1c2326._0x557ce2))/0x8)+parseInt(_0x400739(_0x1c2326._0x567f72,_0x1c2326._0x22c29d,0x378,0x328))/0x9+parseInt(_0x400739(0x3e1,_0x1c2326._0x49b0bc,0x3c5,_0x1c2326._0x3e5622))/0xa;if(_0x4468a5===_0x492bd9)break;else _0x57b10b['push'](_0x57b10b['shift']());}catch(_0xf04b61){_0x57b10b['push'](_0x57b10b['shift']());}}}(_0x770d,0x7bfac));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-UIXQPCSN.js';import{getTextFromMessage}from'../chunk-YWQXXHHU.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 _0x306edd from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x1e45aa(0x742,0x7d4,0x693,0x5de),'.tsx':_0x55c88d(0x301,0x41a,0x4d0,0x2e1),'.js':_0x1e45aa(0x891,0x722,0x7e7,0x7b0),'.jsx':_0x55c88d(0x4a4,0x3a3,0x4be,0x2b3),'.mjs':'javascript','.cjs':'javascript','.mts':_0x55c88d(0x329,0x3e2,0x4af,0x432),'.cts':_0x55c88d(0x52e,0x3e2,0x3e3,0x288),'.json':_0x55c88d(0x401,0x44e,0x5a6,0x572),'.jsonc':_0x55c88d(0x5b1,0x528,0x539,0x66e)};function getLanguageId(_0x36fd06){const _0x56f064={_0x28ee62:0x61b,_0x5743d0:0x63d,_0x3f8c1e:0x507},_0x6ffba7={_0x50357e:0x6c,_0xd8e565:0x18c};function _0x56899d(_0x476dda,_0xf3d21a,_0x23757,_0x50b080){return _0x55c88d(_0x476dda-_0x6ffba7._0x50357e,_0x23757-_0x6ffba7._0xd8e565,_0x50b080,_0x50b080-0x1ea);}function _0xb9007e(_0x2e36a3,_0x440540,_0x1e53b9,_0x1b41c7){return _0x1e45aa(_0x2e36a3-0xf2,_0x440540-0xcc,_0x2e36a3- -0x361,_0x440540);}return EXTENSION_TO_LANGUAGE[_0x306edd[_0x56899d(0x667,0x750,0x71a,_0x56f064._0x28ee62)](_0x36fd06)[_0x56899d(_0x56f064._0x5743d0,0x62f,_0x56f064._0x3f8c1e,0x638)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x30891d){const _0x12f5ad={_0x2a4c9a:0x2cc,_0x30567c:0x237},_0x4920eb={_0x36d6b5:0x9,_0x51b61a:0x62};function _0x319584(_0x165f65,_0xdea028,_0x3f152c,_0x370afd){return _0x55c88d(_0x165f65-_0x4920eb._0x36d6b5,_0xdea028- -0x8e,_0x165f65,_0x370afd-_0x4920eb._0x51b61a);}return pathToFileURL(_0x30891d)[_0x319584(_0x12f5ad._0x2a4c9a,0x38e,_0x12f5ad._0x30567c,0x3c1)]();}function textDocumentPosition(_0x220c17){const _0x480fea={_0x43d97a:0x3ba,_0x29cf18:0x26e,_0x4efd39:0x504,_0x5bf646:0x3d2},_0xb3525b={_0x178073:0x142,_0x409c72:0xd3},_0xf50f0e={_0x3c7b82:0xda,_0xed8995:0x191};function _0x2d87f6(_0xbb1dde,_0x556acc,_0x412758,_0x2f3403){return _0x1e45aa(_0xbb1dde-0xe6,_0x556acc-_0xf50f0e._0x3c7b82,_0xbb1dde- -_0xf50f0e._0xed8995,_0x2f3403);}function _0x11e6ee(_0x330085,_0x414605,_0x2399fe,_0x4c0703){return _0x55c88d(_0x330085-_0xb3525b._0x178073,_0x414605- -_0xb3525b._0x409c72,_0x330085,_0x4c0703-0x56);}return{'textDocument':{'uri':uriForPath(_0x220c17[_0x11e6ee(_0x480fea._0x43d97a,0x298,_0x480fea._0x29cf18,0x41c)])},'position':{'line':_0x220c17[_0x2d87f6(0x4dd,0x4f9,_0x480fea._0x4efd39,_0x480fea._0x5bf646)],'character':_0x220c17['character']}};}function normalizeLocations(_0x521334){const _0x2d9251={_0x57c255:0xc4,_0x16762d:0x775};if(!_0x521334)return[];function _0x590475(_0xdf07f7,_0x3725c7,_0x1c444b,_0x5083f2){return _0x1e45aa(_0xdf07f7-0x169,_0x3725c7-_0x2d9251._0x57c255,_0x3725c7- -_0x2d9251._0x16762d,_0xdf07f7);}return Array[_0x590475(0x14,0xa6,0x60,0xe9)](_0x521334)?_0x521334:[_0x521334];}async function createLspClient(_0x57e64a){const _0x5d24de={_0x1e5c9c:0x66,_0x375020:0x102,_0x493a59:0x387,_0x425b02:0x461,_0x2b7300:0x1dd,_0x4f9d64:0x27a,_0x8e7900:0x2a6,_0x1c60a6:0x3a8,_0x1dabe6:0x407,_0x5e0087:0x31,_0x4970d9:0x41,_0xe464aa:0xb0,_0x2976ed:0xf8,_0x53ddb1:0x48a,_0x283e67:0x4b3,_0x12e4a8:0x1f2,_0x4ee977:0x2f1,_0x1d16f0:0x247,_0x32ed10:0x1bb,_0x155b35:0x43,_0x39490e:0x191,_0x1933c6:0x3c,_0x50333f:0x17,_0x1c397c:0x99,_0x3f8cbb:0xff,_0x3dfc0c:0xa,_0xc88da9:0x7b,_0x494dc6:0x13,_0x38c70b:0x97,_0x2ea7da:0x9a,_0x91df8:0x27c,_0x1f4926:0x189,_0x1c1bd0:0x22c,_0x45d82f:0xf0,_0x44c080:0x66,_0x20e175:0x74},_0x4110fb={_0x3d2c33:0x1b0,_0x169e22:0x53,_0x5ba104:0x101,_0x704ccc:0xe8,_0x380e18:0x6a,_0x44a95f:0x1a,_0x27de8a:0x168,_0x262d86:0x7f,_0x3be07c:0x7b,_0x131d8f:0xc3,_0x45710c:0x49,_0x5e00a2:0x10f,_0x37ad2f:0x5f,_0x1fd320:0x103},_0x34ebcc={_0x4be6c9:0x14f},_0x2c493c={_0x49e052:0x57c,_0x13f432:0x4a0,_0x5c1571:0x337,_0x206c41:0x46d,_0x48475e:0x31a},_0x5587d4={_0x312ed0:0x28d,_0x13c0fb:0x450,_0x2dd1d3:0x537,_0x269f94:0x2da,_0x4f6189:0x22b,_0x41bd90:0x3a4,_0x4c0333:0xd1,_0x483bdc:0x22b},_0x40e238={_0x4ec769:0x6b,_0x5eff7a:0xd3,_0x345fc4:0x43},_0x295025={_0x33e3a3:0x2,_0x3ba5de:0x447},_0x41005b={_0x1a6c01:0x73,_0xb9707e:0x25b},_0x1a8e9f={_0x5b9c27:0x1d3,_0xba91ea:0x18c,_0x41ba72:0x184,_0x11ae08:0xd,_0x3b580a:0x165,_0x2b199e:0x8b},_0x1a74a1={_0x1520ca:0x38c,_0x357476:0x36f},_0x51f94e={_0x3bd96b:0x144,_0x4bf24e:0xe},_0x5530c2={_0x989fe6:0x7a},_0x81219a={_0x7d7402:0x135,_0x5e693e:0x335,_0x1abb8a:0x234,_0x5c15f3:0x37a},_0x489363={_0x210d44:0x738},_0x5c3ab7={_0x4fddb0:0x130,_0x1e9f38:0x357},_0x321306={_0x2e0dd9:0x3ab,_0x4419a0:0x416,_0x2e3a02:0x474,_0x4c3842:0x478,_0x4521b6:0x4af},_0x4dc5ea={_0x423686:0x1c3},_0x505c91={_0x39221f:0x1c8,_0x3ac356:0x29e},_0x3974e3={_0x376a59:0x204,_0x1da70c:0x67d,_0x593bc1:0x638,_0x246ebf:0x1e2,_0x292e72:0x30},_0x1b2db8={_0x283c7d:0x10e,_0x1d160c:0x137,_0x4197e3:0x2af},_0x5dd48d={_0x2e7ece:0x6cb,_0x233e2b:0x548,_0x57c1d0:0x405,_0x6991a2:0x92,_0x54fe74:0x3ed,_0x194b88:0x3c0,_0x212992:0x574},_0xc94f43={_0x437f9f:0x27b,_0x28d8e9:0x23f,_0x569c8f:0x38c,_0x5d4f10:0xe2,_0x18017d:0x266,_0xcc3c0d:0x367,_0x11bbb9:0x35e,_0x5a7ae6:0x45b,_0x31f0d2:0x2dc,_0x141313:0xc0,_0x7fca80:0x44c},_0x3846a2={_0x2fafcd:0xac,_0x11211b:0xb},_0x547ad8={_0x2a0fe7:0x1a2,_0x4600de:0x1be,_0x2dc857:0x74b};function _0x5ba6a1(_0x192ab1,_0x58b521,_0x58bcf7,_0x58b5e9){return _0x1e45aa(_0x192ab1-_0x547ad8._0x2a0fe7,_0x58b521-_0x547ad8._0x4600de,_0x192ab1- -_0x547ad8._0x2dc857,_0x58b5e9);}const _0x2a4c3d=_0x57e64a[_0x5ba6a1(0x43,_0x5d24de._0x1e5c9c,_0x5d24de._0x375020,0x5b)][_0x5218ae(0x55a,0x440,_0x5d24de._0x493a59,_0x5d24de._0x425b02)][_0x5ba6a1(-_0x5d24de._0x2b7300,-_0x5d24de._0x4f9d64,-_0x5d24de._0x2b7300,-_0x5d24de._0x8e7900)],_0x41f050=_0x57e64a[_0x5218ae(_0x5d24de._0x1c60a6,_0x5d24de._0x1dabe6,0x2ba,0x3fe)]['process'][_0x5ba6a1(_0x5d24de._0x5e0087,0x186,-0x13a,-0x104)];if(!_0x2a4c3d||!_0x41f050)throw new Error(_0x5ba6a1(_0x5d24de._0x4970d9,-_0x5d24de._0xe464aa,_0x5d24de._0x2976ed,-0x66));const _0x732c33=createMessageConnection(new StreamMessageReader(_0x2a4c3d),new StreamMessageWriter(_0x41f050)),_0x4602f6=new Map(),_0x526a57=new Map();function _0x5218ae(_0x478f1e,_0x12c2b6,_0x32c319,_0x8d5b49){return _0x55c88d(_0x478f1e-0x198,_0x8d5b49- -0xdf,_0x12c2b6,_0x8d5b49-0x41);}let _0x531dbd=![];_0x732c33[_0x5218ae(_0x5d24de._0x53ddb1,_0x5d24de._0x283e67,0x300,0x3e2)]('textDocument/publishDiagnostics',_0x4b98ce=>{const _0x604591={_0x37ea91:0x111,_0x4d66dc:0x11d};function _0x1e1ab0(_0x4134c4,_0x65f52c,_0x47caee,_0x50686a){return _0x5218ae(_0x4134c4-0x8d,_0x65f52c,_0x47caee-_0x604591._0x37ea91,_0x4134c4-_0x604591._0x4d66dc);}_0x4602f6['set'](_0x4b98ce[_0x533445(0x30f,0x166,_0xc94f43._0x437f9f,0x22c)],_0x4b98ce[_0x533445(_0xc94f43._0x28d8e9,_0xc94f43._0x569c8f,_0xc94f43._0x5d4f10,_0xc94f43._0x18017d)]);function _0x533445(_0x3999ff,_0x3b5024,_0xf61cc4,_0x268eaa){return _0x5218ae(_0x3999ff-_0x3846a2._0x2fafcd,_0x3999ff,_0xf61cc4-_0x3846a2._0x11211b,_0x268eaa-0x8);}const _0x324c53=_0x526a57[_0x533445(_0xc94f43._0xcc3c0d,0x51c,_0xc94f43._0x11bbb9,_0xc94f43._0x5a7ae6)](_0x4b98ce[_0x533445(_0xc94f43._0x31f0d2,_0xc94f43._0x141313,0x20b,0x22c)]);if(!_0x324c53)return;_0x526a57[_0x1e1ab0(0x3df,0x28d,0x41b,0x41a)](_0x4b98ce[_0x1e1ab0(0x341,_0xc94f43._0x7fca80,0x40d,0x391)]);for(const _0x442baf of _0x324c53)_0x442baf();}),_0x732c33['listen']();const _0x11674b=await _0x732c33['sendRequest'](_0x5218ae(0x100,_0x5d24de._0x12e4a8,_0x5d24de._0x4ee977,0x231),{'processId':process[_0x5218ae(0xb8,_0x5d24de._0x1d16f0,_0x5d24de._0x32ed10,0x1f4)],'rootUri':uriForPath(_0x57e64a['root']),'workspaceFolders':[{'uri':uriForPath(_0x57e64a['root']),'name':_0x57e64a['server']['id']}],'initializationOptions':_0x57e64a[_0x5ba6a1(_0x5d24de._0x155b35,_0x5d24de._0x39490e,-0x120,-0x15)][_0x5ba6a1(-_0x5d24de._0x1933c6,0x6b,-0x1a0,-_0x5d24de._0x50333f)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x5ba6a1(-_0x5d24de._0x1c397c,-_0x5d24de._0x3f8cbb,-0x79,_0x5d24de._0x3dfc0c),'plaintext']},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x732c33['sendNotification'](_0x5ba6a1(_0x5d24de._0xc88da9,-0xdd,_0x5d24de._0x494dc6,0x1a5),{});const _0x5b1cc6={'serverId':_0x57e64a[_0x5218ae(_0x5d24de._0x38c70b,_0x5d24de._0x2ea7da,_0x5d24de._0x91df8,0x209)]['id'],'root':_0x57e64a[_0x5ba6a1(0xd2,-0xb0,_0x5d24de._0x1f4926,_0x5d24de._0x1c1bd0)],'connection':_0x732c33,'diagnostics':_0x4602f6,'capabilities':_0x11674b[_0x5ba6a1(-_0x5d24de._0x45d82f,-_0x5d24de._0x44c080,0x57,_0x5d24de._0x20e175)]??{},'notify':{async 'open'({path:_0x40ac3e}){const _0x1aa224={_0x3abe95:0x109,_0x82cf27:0x183};function _0x1058f8(_0x3cfe52,_0x2d8439,_0x1ca944,_0x273dd4){return _0x5ba6a1(_0x2d8439-0x535,_0x2d8439-_0x1aa224._0x3abe95,_0x1ca944-_0x1aa224._0x82cf27,_0x1ca944);}const _0xc95f03=await readFile(_0x40ac3e,'utf8');function _0x7aff65(_0x5cbe2d,_0x3336c4,_0x15db68,_0x3a0dd7){return _0x5ba6a1(_0x3a0dd7-0x272,_0x3336c4-0x102,_0x15db68-0xcb,_0x5cbe2d);}_0x732c33[_0x1058f8(_0x5dd48d._0x2e7ece,_0x5dd48d._0x233e2b,0x603,_0x5dd48d._0x57c1d0)](_0x7aff65(0x29b,_0x5dd48d._0x6991a2,0x177,0x1bc),{'textDocument':{'uri':uriForPath(_0x40ac3e),'languageId':getLanguageId(_0x40ac3e)??_0x1058f8(_0x5dd48d._0x54fe74,0x4bc,_0x5dd48d._0x194b88,_0x5dd48d._0x212992),'version':0x1,'text':_0xc95f03}});},async 'change'({path:_0x3645b9,version:_0x205aab}){const _0x30fb1b={_0x101528:0x189,_0x2758e3:0xba};function _0x316798(_0x3d5d69,_0x11bf87,_0x47a778,_0x431984){return _0x5218ae(_0x3d5d69-_0x1b2db8._0x283c7d,_0x431984,_0x47a778-_0x1b2db8._0x1d160c,_0x11bf87-_0x1b2db8._0x4197e3);}function _0xd81bcb(_0x3f2681,_0x5bfffa,_0x49b3e9,_0x13915e){return _0x5218ae(_0x3f2681-_0x30fb1b._0x101528,_0x13915e,_0x49b3e9-0x1a9,_0x5bfffa- -_0x30fb1b._0x2758e3);}const _0x1254f6=await readFile(_0x3645b9,_0xd81bcb(0x18e,0x24d,_0x3974e3._0x376a59,0x291));_0x732c33[_0x316798(0x770,_0x3974e3._0x1da70c,0x520,_0x3974e3._0x593bc1)](_0xd81bcb(_0x3974e3._0x246ebf,0x1a6,0x155,_0x3974e3._0x292e72),{'textDocument':{'uri':uriForPath(_0x3645b9),'version':_0x205aab},'contentChanges':[{'text':_0x1254f6}]});},async 'close'({path:_0x37bcde}){const _0x1bbcbe={_0x251a79:0x1b5,_0xf34415:0xab};function _0x33a038(_0x48f31d,_0xda9eb1,_0x4603a8,_0xf39d86){return _0x5ba6a1(_0x48f31d-_0x1bbcbe._0x251a79,_0xda9eb1-0xf9,_0x4603a8-_0x1bbcbe._0xf34415,_0xf39d86);}_0x732c33[_0x33a038(_0x505c91._0x39221f,0x15c,0xdd,_0x505c91._0x3ac356)]('textDocument/didClose',{'textDocument':{'uri':uriForPath(_0x37bcde)}});}},'request':{async 'definition'(_0x2e1fb8){return normalizeLocations(await _0x732c33['sendRequest']('textDocument/definition',textDocumentPosition(_0x2e1fb8)));},async 'references'(_0x56ccfb){const _0xff4760={_0x2310de:0x168,_0x3ed29f:0x45};function _0x4c88d8(_0x528fe9,_0x3a262f,_0x25eae9,_0xa3c2eb){return _0x5ba6a1(_0x25eae9-0x1f,_0x3a262f-0xd2,_0x25eae9-_0x4dc5ea._0x423686,_0xa3c2eb);}function _0x441528(_0x4a3edc,_0x2c1aef,_0x5c5e95,_0x53bde7){return _0x5218ae(_0x4a3edc-_0xff4760._0x2310de,_0x2c1aef,_0x5c5e95-0x1be,_0x53bde7-_0xff4760._0x3ed29f);}return normalizeLocations(await _0x732c33[_0x441528(_0x321306._0x2e0dd9,0x3b2,_0x321306._0x4419a0,0x2a2)](_0x441528(_0x321306._0x2e3a02,_0x321306._0x4c3842,_0x321306._0x4521b6,0x501),{...textDocumentPosition(_0x56ccfb),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x16dde5){return await _0x732c33['sendRequest']('textDocument/hover',textDocumentPosition(_0x16dde5))??null;},async 'documentSymbol'(_0xd95d49){const _0x339bbe={_0x570868:0x13e,_0x2d134c:0x18f};function _0x29833e(_0x59d80c,_0x867291,_0x1a7c8a,_0x493559){return _0x5218ae(_0x59d80c-_0x339bbe._0x570868,_0x493559,_0x1a7c8a-_0x339bbe._0x2d134c,_0x59d80c- -0x67);}function _0x395399(_0x39357c,_0x3ebbbf,_0x258601,_0x3bb94c){return _0x5218ae(_0x39357c-0x67,_0x3bb94c,_0x258601-_0x5c3ab7._0x4fddb0,_0x3ebbbf-_0x5c3ab7._0x1e9f38);}return await _0x732c33[_0x395399(0x574,0x5b4,0x6da,_0x489363._0x210d44)](_0x395399(0x5ec,0x74d,0x706,0x798),{'textDocument':{'uri':uriForPath(_0xd95d49)}})??[];},async 'workspaceSymbol'(_0x5acc72){const _0x2b4094={_0x1e0585:0x73};function _0x424082(_0x5d83db,_0x139e2e,_0x1aee73,_0x1f7051){return _0x5218ae(_0x5d83db-0x1d7,_0x5d83db,_0x1aee73-0x6c,_0x1f7051- -0x15b);}function _0x5c3cec(_0x38c1d7,_0x20479a,_0x2f1256,_0xf60732){return _0x5218ae(_0x38c1d7-_0x2b4094._0x1e0585,_0xf60732,_0x2f1256-0x16f,_0x2f1256- -0x29);}return await _0x732c33[_0x5c3cec(_0x81219a._0x7d7402,_0x81219a._0x5e693e,_0x81219a._0x1abb8a,_0x81219a._0x5c15f3)](_0x5c3cec(0x4d1,0x452,0x447,0x417),{'query':_0x5acc72})??[];},async 'implementation'(_0x52b544){function _0x3d5fb4(_0x22960e,_0x1c28c2,_0x28f070,_0x38d40e){return _0x5ba6a1(_0x28f070- -0x8,_0x1c28c2-0x157,_0x28f070-0xb9,_0x38d40e);}return normalizeLocations(await _0x732c33['sendRequest'](_0x3d5fb4(0x1a,-_0x5530c2._0x989fe6,0x7e,0x85),textDocumentPosition(_0x52b544)));},async 'prepareCallHierarchy'(_0x54b020){function _0x2f4198(_0x2d27af,_0x3d2a07,_0x18bba1,_0x81781e){return _0x5218ae(_0x2d27af-0x157,_0x18bba1,_0x18bba1-_0x51f94e._0x3bd96b,_0x2d27af- -_0x51f94e._0x4bf24e);}return await _0x732c33['sendRequest'](_0x2f4198(_0x1a74a1._0x1520ca,0x2c2,_0x1a74a1._0x357476,0x323),textDocumentPosition(_0x54b020))??[];},async 'incomingCalls'(_0x3cfff4){const _0x2f2321={_0x127df0:0xf7,_0x5c1635:0x129};function _0x48f477(_0x117555,_0x1ad2a0,_0x112871,_0x230981){return _0x5ba6a1(_0x112871-0x101,_0x1ad2a0-0x13e,_0x112871-0x153,_0x230981);}function _0x1d37c3(_0x3de279,_0x27698b,_0x109ef7,_0x335d4e){return _0x5218ae(_0x3de279-_0x2f2321._0x127df0,_0x109ef7,_0x109ef7-_0x2f2321._0x5c1635,_0x3de279- -0x8a);}return await _0x732c33[_0x1d37c3(_0x1a8e9f._0x5b9c27,_0x1a8e9f._0xba91ea,0x2eb,_0x1a8e9f._0x41ba72)](_0x48f477(-_0x1a8e9f._0x11ae08,0x3d,_0x1a8e9f._0x3b580a,_0x1a8e9f._0x2b199e),{'item':_0x3cfff4})??[];},async 'outgoingCalls'(_0x10dbfe){const _0x2539a8={_0x4ef4b9:0x1d,_0x456552:0x1bd};function _0x4a27f8(_0x707f31,_0x25587d,_0x5788a8,_0x58a7d1){return _0x5218ae(_0x707f31-0x80,_0x58a7d1,_0x5788a8-_0x41005b._0x1a6c01,_0x5788a8- -_0x41005b._0xb9707e);}function _0x5dd69c(_0x2554bc,_0x54a428,_0x77ba6a,_0x368778){return _0x5218ae(_0x2554bc-_0x2539a8._0x4ef4b9,_0x2554bc,_0x77ba6a-0x88,_0x368778-_0x2539a8._0x456552);}return await _0x732c33[_0x4a27f8(-0x10,0xd4,_0x295025._0x33e3a3,-0x2d)](_0x5dd69c(_0x295025._0x3ba5de,0x36f,0x5f6,0x4d4),{'item':_0x10dbfe})??[];}},'waitForDiagnostics'({path:_0x238cc6,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){function _0xa74b40(_0x2141f9,_0x1ec2a9,_0x200be3,_0x274f49){return _0x5218ae(_0x2141f9-0x31,_0x200be3,_0x200be3-0x141,_0x1ec2a9-0x2f);}const _0x27fa70=uriForPath(_0x238cc6);function _0x4a0962(_0x32ecbe,_0xdea11f,_0x38be4f,_0x52a3ee){return _0x5218ae(_0x32ecbe-_0x40e238._0x4ec769,_0xdea11f,_0x38be4f-_0x40e238._0x5eff7a,_0x52a3ee- -_0x40e238._0x345fc4);}if(_0x4602f6[_0xa74b40(0x358,0x3f7,_0x2c493c._0x49e052,0x2bc)](_0x27fa70))return Promise[_0xa74b40(_0x2c493c._0x13f432,_0x2c493c._0x5c1571,_0x2c493c._0x206c41,_0x2c493c._0x48475e)]();return new Promise(_0x1f5bfe=>{const _0x34a34f={_0x5d631a:0x122,_0x5cad96:0x1d5},_0x28057b={_0x78451f:0x11c},_0x20b898={_0x9bfbcb:0x302,_0xa2241d:0x567,_0x4f5316:0x4a2,_0x3e8c4a:0x3ed,_0x38c75c:0x386,_0x14df23:0x211},_0x2e1a6b=setTimeout(()=>{function _0x4b8207(_0x251e26,_0xd5ed12,_0x136a2,_0x2fa5b6){return _0x3bdd(_0x136a2-0x2f,_0x2fa5b6);}const _0x5d607a=_0x526a57[_0x4b8207(_0x20b898._0x9bfbcb,_0x20b898._0xa2241d,0x479,_0x20b898._0x4f5316)](_0x27fa70);function _0x138528(_0x2e9e55,_0x5c68b6,_0x3a86d2,_0x524951){return _0x3bdd(_0x2e9e55-0x2ef,_0x3a86d2);}_0x5d607a?.[_0x4b8207(0x223,0x1b0,0x2e8,_0x20b898._0x3e8c4a)](_0x2dfd06);if(_0x5d607a?.[_0x4b8207(_0x20b898._0x38c75c,0x2ba,_0x20b898._0x14df23,0x333)]===0x0)_0x526a57[_0x4b8207(0x2ba,0x437,0x2e8,0x3ab)](_0x27fa70);_0x1f5bfe();},timeoutMs),_0x2dfd06=()=>{clearTimeout(_0x2e1a6b),_0x1f5bfe();};function _0x2fa820(_0x5ef526,_0x400847,_0x47ec2d,_0x370449){return _0xa74b40(_0x5ef526-_0x28057b._0x78451f,_0x5ef526- -0x9a,_0x400847,_0x370449-0x146);}function _0x23e6d8(_0x3d63a1,_0x3390eb,_0x547c7c,_0x31e7af){return _0x4a0962(_0x3d63a1-0xcb,_0x3390eb,_0x547c7c-_0x34a34f._0x5d631a,_0x3d63a1-_0x34a34f._0x5cad96);}const _0x4f4912=_0x526a57[_0x2fa820(0x3e8,0x2d7,0x31f,_0x5587d4._0x312ed0)](_0x27fa70)??new Set();_0x4f4912[_0x2fa820(_0x5587d4._0x13c0fb,_0x5587d4._0x2dd1d3,_0x5587d4._0x269f94,0x37c)](_0x2dfd06),_0x526a57[_0x2fa820(_0x5587d4._0x4f6189,_0x5587d4._0x41bd90,_0x5587d4._0x4c0333,_0x5587d4._0x483bdc)](_0x27fa70,_0x4f4912);});},async 'shutdown'(){const _0x3a9349={_0x2aa3ca:0x187};function _0x3b885e(_0x1a0487,_0x26168d,_0x2b595b,_0x5ea71a){return _0x5218ae(_0x1a0487-0x53,_0x1a0487,_0x2b595b-_0x3a9349._0x2aa3ca,_0x5ea71a- -0x35e);}if(_0x531dbd)return;_0x531dbd=!![];function _0x40e10c(_0x777747,_0x488833,_0x5d50c9,_0x158241){return _0x5218ae(_0x777747-0x13,_0x777747,_0x5d50c9-_0x34ebcc._0x4be6c9,_0x488833- -0x33b);}try{await _0x732c33[_0x3b885e(-_0x4110fb._0x3d2c33,0x76,_0x4110fb._0x169e22,-_0x4110fb._0x5ba104)](_0x40e10c(_0x4110fb._0x704ccc,0x127,0x91,0x219),null),_0x732c33[_0x40e10c(-_0x4110fb._0x380e18,0x93,_0x4110fb._0x44a95f,-0xae)](_0x40e10c(_0x4110fb._0x27de8a,_0x4110fb._0x262d86,-0x27,_0x4110fb._0x3be07c));}catch{}finally{_0x732c33['dispose'](),_0x57e64a[_0x40e10c(-0x44,_0x4110fb._0x131d8f,-_0x4110fb._0x45710c,0xab)][_0x3b885e(-0x52,_0x4110fb._0x5e00a2,-_0x4110fb._0x37ad2f,_0x4110fb._0x1fd320)]['kill']();}}};return _0x5b1cc6;}import{spawn as _0x33fb2}from'child_process';import{access as _0x5a46d6}from'fs/promises';import _0x18404d from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x251ef4 from'os';import _0x1c9354 from'path';import _0x4a1fd2 from'which';var installPromises=new Map();function sanitizePackageName(_0x1e58db){const _0x660a5a={_0x69b99f:0x616,_0x206f7a:0x61c},_0x2851b4={_0x27cc78:0xda,_0x556d6f:0x35};function _0x46650a(_0x87430e,_0xa99a07,_0x5bb71e,_0xe022ae){return _0x55c88d(_0x87430e-_0x2851b4._0x27cc78,_0xa99a07-0x2a0,_0x87430e,_0xe022ae-_0x2851b4._0x556d6f);}return _0x1e58db[_0x46650a(_0x660a5a._0x69b99f,_0x660a5a._0x206f7a,0x5a3,0x4cc)](/^@/,'')['replace'](/[/]/g,'__');}function binaryNameForPlatform(_0x83bb40){const _0x4c6e21={_0x55690a:0xa7,_0x567967:0xd2,_0x73e474:0xca,_0x43853b:0x4cd},_0x4e53a7={_0xad0270:0xf7,_0x4d5203:0x3f1,_0x481203:0x5},_0x7dbe75={_0x12afb9:0x38};function _0x290570(_0x3886eb,_0x22a44a,_0x5a2276,_0xbabd40){return _0x55c88d(_0x3886eb-_0x7dbe75._0x12afb9,_0x22a44a- -0x1b0,_0x3886eb,_0xbabd40-0x99);}function _0xb6f1c2(_0x4a1f04,_0x21b65c,_0x4ca509,_0x9491bb){return _0x55c88d(_0x4a1f04-_0x4e53a7._0xad0270,_0x4ca509- -_0x4e53a7._0x4d5203,_0x4a1f04,_0x9491bb-_0x4e53a7._0x481203);}return process['platform']===_0xb6f1c2(_0x4c6e21._0x55690a,-_0x4c6e21._0x567967,0xb3,_0x4c6e21._0x73e474)?_0x83bb40+_0x290570(_0x4c6e21._0x43853b,0x36a,0x25d,0x2e9):_0x83bb40;}async function exists(_0xbe80ff){try{return await access(_0xbe80ff),!![];}catch{return![];}}function runNpmInstall(_0x2d9824,_0x5b249a,_0x323728){const _0x265391={_0x2b009b:0x230,_0x532da2:0x568,_0x40b5dd:0x41d,_0xdb484c:0x313,_0x77ef59:0x2ce};return new Promise(_0x291aa4=>{const _0x3da084=spawn(_0x5d143a(0x335,_0x265391._0x2b009b,0x2d5,0x29a),[_0x4e4120(0x5d2,0x459,0x6e5,_0x265391._0x532da2),'--prefix',_0x2d9824,_0x5b249a],{'env':_0x323728,'stdio':_0x4e4120(0x43c,_0x265391._0x40b5dd,0x467,0x497)});_0x3da084['on'](_0x5d143a(0x285,0x214,_0x265391._0xdb484c,_0x265391._0x77ef59),()=>_0x291aa4(![]));function _0x5d143a(_0x45a801,_0x4462ae,_0x11b6dd,_0x20298b){return _0x3bdd(_0x45a801- -0x18a,_0x20298b);}function _0x4e4120(_0x10b7b1,_0x21be3b,_0x217705,_0x3f3e72){return _0x3bdd(_0x3f3e72-0xd1,_0x21be3b);}_0x3da084['on']('close',_0x98ab14=>_0x291aa4(_0x98ab14===0x0));});}function shouldDisableLspDownload(_0x16e834=process[_0x55c88d(0x3c3,0x3d9,0x4b7,0x4a1)]){const _0x2237e4={_0x2dae65:0x2cd,_0x3d1553:0x71e,_0x385045:0x18c,_0xc5ca2f:0x32e,_0x5b886e:0x2eb},_0x5a8885={_0x1c89cd:0xf0,_0x50ddd6:0x144},_0x953b92={_0x1b3944:0x5a};function _0x3cbbe8(_0xe95c5b,_0x3c6d57,_0x29b690,_0x20af5e){return _0x55c88d(_0xe95c5b-0x16c,_0xe95c5b-0x19d,_0x3c6d57,_0x20af5e-_0x953b92._0x1b3944);}const _0x1797c1=_0x16e834['NUVIN_DISABLE_LSP_DOWNLOAD']?.[_0x1bedd6(_0x2237e4._0x2dae65,0x154,0x20b,0x28b)]();function _0x1bedd6(_0x338d31,_0x598b40,_0x2e997b,_0x34504a){return _0x55c88d(_0x338d31-0xcd,_0x34504a- -_0x5a8885._0x1c89cd,_0x338d31,_0x34504a-_0x5a8885._0x50ddd6);}return _0x1797c1===_0x3cbbe8(_0x2237e4._0x3d1553,0x6ad,0x7c4,0x5bb)||_0x1797c1==='1'||_0x1797c1===_0x1bedd6(_0x2237e4._0x385045,_0x2237e4._0xc5ca2f,0x429,_0x2237e4._0x5b886e)||_0x1797c1==='on';}function getLspPackageDir(_0x2a2354){const _0x4f71e1={_0x494d34:0x3be,_0x924fcd:0x246,_0x19cc38:0x201,_0xcb30d1:0x287,_0x5ae785:0x27c,_0x1a4b3a:0x18c,_0x44b8d0:0x92,_0x37aaf5:0x1da,_0x2a8d1e:0x14b,_0x4e26f4:0x2ad},_0x527827={_0x2597df:0x135},_0x4fd0e1={_0x7cec48:0xa3,_0x308c02:0x34};function _0x10bf90(_0x3d7aac,_0xdbcf3f,_0x50ba28,_0x2d633e){return _0x55c88d(_0x3d7aac-_0x4fd0e1._0x7cec48,_0xdbcf3f- -_0x4fd0e1._0x308c02,_0x3d7aac,_0x2d633e-0x91);}function _0x37d9bc(_0x11bc6,_0x210623,_0x5bb9df,_0x5bf3b6){return _0x55c88d(_0x11bc6-_0x527827._0x2597df,_0x5bb9df- -0x45a,_0x5bf3b6,_0x5bf3b6-0x75);}return _0x1c9354[_0x10bf90(0x2b0,_0x4f71e1._0x494d34,_0x4f71e1._0x924fcd,0x4a1)](_0x251ef4[_0x37d9bc(_0x4f71e1._0x19cc38,0x176,0x10c,0x211)](),_0x10bf90(0x3a9,_0x4f71e1._0xcb30d1,_0x4f71e1._0x5ae785,_0x4f71e1._0x1a4b3a),'lsp',_0x37d9bc(-_0x4f71e1._0x44b8d0,-_0x4f71e1._0x37aaf5,-_0x4f71e1._0x2a8d1e,-_0x4f71e1._0x4e26f4),sanitizePackageName(_0x2a2354));}function getLspBinDir(_0x1c7730){const _0xdee653={_0x261248:0x1d6,_0x5b40e2:0x21d},_0x1dcea0={_0x27aab0:0x1cc,_0x27033b:0x1df};function _0x299d05(_0x380a00,_0x547afe,_0x2a7a83,_0x38855c){return _0x1e45aa(_0x380a00-_0x1dcea0._0x27aab0,_0x547afe-_0x1dcea0._0x27033b,_0x547afe- -0x725,_0x38855c);}function _0x3144ca(_0x48f886,_0x35b693,_0x1d5e6b,_0x1f04d2){return _0x55c88d(_0x48f886-0x1e4,_0x48f886- -0x2d2,_0x35b693,_0x1f04d2-0x169);}return _0x1c9354['join'](getLspPackageDir(_0x1c7730),_0x299d05(-0x86,-0x87,-0x1f5,-_0xdee653._0x261248),_0x3144ca(0x1d1,_0xdee653._0x5b40e2,0x15e,0xe3));}async function findPackageBinary(_0x4e07da,_0x36ee10){const _0x17e90b={_0x453b49:0x4d4,_0x1a048e:0x69c,_0x10e09b:0x3cd,_0x4c34ff:0x604,_0x4946e8:0x621,_0x8ca77f:0x662,_0x56f903:0x78e,_0x8ed745:0x49f,_0x35f9c1:0x606},_0x55faae={_0x3688b6:0x56},_0x47d637={_0x2d6614:0xa4};function _0x5e16ca(_0x5580d7,_0x4ad951,_0x4a6032,_0x5a11fb){return _0x55c88d(_0x5580d7-_0x47d637._0x2d6614,_0x4ad951-0x11a,_0x5a11fb,_0x5a11fb-0x32);}let _0x5cc5b9=_0x1c9354[_0x2279c6(0x464,0x5a6,_0x17e90b._0x453b49,_0x17e90b._0x1a048e)](_0x36ee10);function _0x2279c6(_0x3ba9bf,_0x1b7f44,_0x1e4e3f,_0x4cedcd){return _0x1e45aa(_0x3ba9bf-0x174,_0x1b7f44-_0x55faae._0x3688b6,_0x1b7f44- -0xf2,_0x1e4e3f);}const _0x42de39=binaryNameForPlatform(_0x4e07da);while(!![]){const _0x54d03b=_0x1c9354[_0x5e16ca(_0x17e90b._0x10e09b,0x50c,0x53b,0x48c)](_0x5cc5b9,_0x5e16ca(0x63c,0x507,0x496,_0x17e90b._0x4c34ff),_0x2279c6(_0x17e90b._0x4946e8,_0x17e90b._0x8ca77f,0x599,_0x17e90b._0x56f903),_0x42de39);if(await exists(_0x54d03b))return _0x54d03b;const _0x56bc4b=_0x1c9354[_0x5e16ca(0x3c8,_0x17e90b._0x8ed745,_0x17e90b._0x35f9c1,0x443)](_0x5cc5b9);if(_0x56bc4b===_0x5cc5b9)return void 0x0;_0x5cc5b9=_0x56bc4b;}}async function findPathBinary(_0x3992c6,_0x29d53b){const _0x378d8b={_0x36dba5:0x298,_0x153a30:0x3b8,_0x1d5167:0x4bc,_0x58e24a:0x465,_0x9c4dac:0x3ea,_0x5c58ca:0x5d6,_0x272a05:0x5ab,_0x3f3fa9:0x6c2,_0x31b7f8:0x6de,_0x5b3c42:0x3cc,_0x3f2cec:0x445},_0x3ecaa1={_0x1af1e0:0x1c8,_0x13ebd6:0xed},_0xdb780d={_0x2317d6:0x13f,_0x5c423d:0x17a};function _0x318371(_0x551c67,_0x6497d8,_0x172b5b,_0x57382b){return _0x1e45aa(_0x551c67-_0xdb780d._0x2317d6,_0x6497d8-_0xdb780d._0x5c423d,_0x551c67- -0x2b7,_0x57382b);}const _0x197d6a=getLspBinDir(_0x29d53b);function _0x44704f(_0x46f3f1,_0x1feb2a,_0x6bba50,_0x3efc18){return _0x55c88d(_0x46f3f1-_0x3ecaa1._0x1af1e0,_0x6bba50- -0x21,_0x3efc18,_0x3efc18-_0x3ecaa1._0x13ebd6);}const _0x39fed5=[_0x197d6a,process[_0x44704f(_0x378d8b._0x36dba5,0x34a,_0x378d8b._0x153a30,0x3bb)][_0x318371(_0x378d8b._0x1d5167,_0x378d8b._0x58e24a,_0x378d8b._0x9c4dac,_0x378d8b._0x5c58ca)]][_0x318371(_0x378d8b._0x272a05,_0x378d8b._0x3f3fa9,_0x378d8b._0x31b7f8,0x4f4)](Boolean)[_0x44704f(0x3fa,_0x378d8b._0x5b3c42,0x3d1,0x2b0)](_0x1c9354[_0x44704f(0x441,0x43b,_0x378d8b._0x3f2cec,0x32c)]);try{return await _0x4a1fd2(_0x3992c6,{'path':_0x39fed5});}catch{return void 0x0;}}async function resolvePackageBinary(_0x55c5de){const _0x13e7e7={_0x9f3e5c:0x409,_0x200fc5:0x2cd,_0x111287:0x679,_0x1ddb8c:0x443,_0x16e7ef:0x5cd,_0x9de5e8:0x3f5,_0x467192:0x2f2,_0x46c050:0x5e8,_0x2e6c55:0x45d,_0x2fcbbe:0x4e8,_0x238288:0x521,_0x4608fc:0x53f,_0x3c8e61:0x52d},_0x3580be={_0x1d4a0b:0x8a0,_0x3656b9:0x716,_0x39ac3b:0x664,_0x4b748e:0x74f},_0x4213ea={_0x375985:0x513,_0x576bdc:0x14d,_0x30bc18:0x1ea},_0x582d90={_0x4110f0:0x6b,_0x13c3ee:0x5a},_0x5c2856={_0xc3b421:0x46,_0x516cc5:0x2b,_0x57148f:0x13e};function _0x2a46db(_0x42b75b,_0x5294dc,_0x278343,_0x1ab884){return _0x55c88d(_0x42b75b-0x48,_0x42b75b- -0x2a1,_0x1ab884,_0x1ab884-0x18);}const _0x3ce94d=_0x55c5de['binaryName']??_0x55c5de[_0x2a46db(0x2c7,0x401,0x287,_0x13e7e7._0x9f3e5c)];function _0x27bac4(_0x37fef9,_0x54c2c3,_0x228169,_0x5ad4d0){return _0x1e45aa(_0x37fef9-_0x5c2856._0xc3b421,_0x54c2c3-_0x5c2856._0x516cc5,_0x228169- -_0x5c2856._0x57148f,_0x5ad4d0);}const _0xfc31e7=await findPackageBinary(_0x3ce94d,_0x55c5de[_0x2a46db(_0x13e7e7._0x200fc5,0x3da,0x24e,0x2d9)]);if(_0xfc31e7)return _0xfc31e7;const _0x45bf4e=await findPathBinary(_0x3ce94d,_0x55c5de['packageName']);if(_0x45bf4e)return _0x45bf4e;const _0x49a5cb=_0x55c5de[_0x27bac4(0x5fa,_0x13e7e7._0x111287,0x54c,0x666)]??process[_0x27bac4(_0x13e7e7._0x1ddb8c,_0x13e7e7._0x16e7ef,0x54c,0x429)];if(shouldDisableLspDownload(_0x49a5cb))return void 0x0;const _0x569b3a=getLspPackageDir(_0x55c5de[_0x2a46db(0x2c7,_0x13e7e7._0x9de5e8,0x182,_0x13e7e7._0x467192)]),_0x5114bb=_0x55c5de[_0x27bac4(0x5b1,0x7e8,0x6db,_0x13e7e7._0x46c050)]+':'+_0x3ce94d;let _0x564dc2=installPromises['get'](_0x5114bb);!_0x564dc2&&(_0x564dc2=((async()=>{await mkdir(_0x569b3a,{'recursive':!![]});const _0x74a6fd=await runNpmInstall(_0x569b3a,_0x55c5de[_0x4064d6(_0x3580be._0x1d4a0b,0x7da,0x793,0x65c)],_0x49a5cb);function _0x57fdf3(_0x2f3ed0,_0x5eb417,_0x373a79,_0x3bb67d){return _0x2a46db(_0x373a79-_0x582d90._0x4110f0,_0x5eb417-0x17,_0x373a79-_0x582d90._0x13c3ee,_0x2f3ed0);}if(!_0x74a6fd)return void 0x0;const _0x34052b=_0x1c9354[_0x4064d6(_0x3580be._0x3656b9,_0x3580be._0x39ac3b,0x78b,_0x3580be._0x4b748e)](getLspBinDir(_0x55c5de['packageName']),binaryNameForPlatform(_0x3ce94d));function _0x4064d6(_0xdc03cf,_0x1b430e,_0x1687b1,_0xc1f231){return _0x2a46db(_0x1b430e-_0x4213ea._0x375985,_0x1b430e-_0x4213ea._0x576bdc,_0x1687b1-_0x4213ea._0x30bc18,_0xc1f231);}return await exists(_0x34052b)?_0x34052b:void 0x0;})()),installPromises[_0x27bac4(_0x13e7e7._0x2e6c55,0x607,_0x13e7e7._0x2fcbbe,_0x13e7e7._0x238288)](_0x5114bb,_0x564dc2));try{return await _0x564dc2;}catch{return void 0x0;}finally{installPromises[_0x27bac4(_0x13e7e7._0x4608fc,_0x13e7e7._0x3c8e61,0x514,0x4a6)](_0x5114bb);}}var TYPESCRIPT_EXTENSIONS=[_0x1e45aa(0x6a6,0x891,0x76e,0x761),_0x1e45aa(0x5f2,0x6bd,0x5a5,0x6d0),_0x1e45aa(0x740,0x67c,0x600,0x672),'.jsx',_0x55c88d(0x334,0x2fd,0x251,0x3bb),_0x1e45aa(0x6d2,0x514,0x5b8,0x62a),_0x55c88d(0x3a8,0x4d4,0x5f5,0x4fa),'.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,'.json',_0x1e45aa(0x5eb,0x80d,0x722,0x625)],TYPESCRIPT_ROOT_MARKERS=[_0x55c88d(0x239,0x2e5,0x187,0x255),_0x1e45aa(0x5e4,0x70c,0x5cb,0x658),_0x1e45aa(0x72f,0x85d,0x782,0x7f6),_0x1e45aa(0x519,0x63c,0x5a3,0x4d6),_0x1e45aa(0x884,0x7d4,0x7d5,0x6d8),_0x1e45aa(0x44a,0x693,0x578,0x6f5),'jsconfig.json',_0x55c88d(0x63e,0x53c,0x682,0x4a8)],BIOME_ROOT_MARKERS=[_0x55c88d(0x3fc,0x2e0,0x33c,0x16e),_0x1e45aa(0x6b8,0x580,0x6e6,0x85d),_0x1e45aa(0x6ea,0x5cb,0x596,0x47e),_0x1e45aa(0x5e5,0x51b,0x5cb,0x63d),_0x55c88d(0x4bc,0x4d1,0x53d,0x35d),_0x1e45aa(0x727,0x54f,0x5a3,0x497),'yarn.lock',_0x1e45aa(0x852,0x7d8,0x7ed,0x848)];async function exists2(_0x34980e){try{return await _0x5a46d6(_0x34980e),!![];}catch{return![];}}async function findUp(_0x92d2e5,_0x3d872e){const _0x55dd55={_0x5ae662:0x659,_0x21102a:0x55c,_0x4213f4:0x400},_0x307ebd={_0x258d13:0x19d},_0x37dbcc={_0x383692:0x168,_0x163bd6:0xf6};function _0x92fe26(_0x182963,_0x3f53cd,_0xfddfe7,_0x520456){return _0x1e45aa(_0x182963-_0x37dbcc._0x383692,_0x3f53cd-_0x37dbcc._0x163bd6,_0x182963- -0x46a,_0x3f53cd);}let _0x253b77=_0x18404d['resolve'](_0x92d2e5);const _0x35b9c1=_0x18404d[_0xc0f99b(0x5d2,0x629,0x4f7,_0x55dd55._0x5ae662)](_0x253b77);if(_0x35b9c1)_0x253b77=_0x18404d[_0xc0f99b(0x391,0x4ec,0x3a0,0x450)](_0x253b77);function _0xc0f99b(_0x9caa21,_0x165de7,_0x2aa323,_0x3e62a0){return _0x55c88d(_0x9caa21-_0x307ebd._0x258d13,_0x3e62a0-0xcb,_0x165de7,_0x3e62a0-0x158);}while(!![]){for(const _0xddd28d of _0x3d872e){if(await exists2(_0x18404d[_0xc0f99b(0x597,0x610,0x4fb,0x4bd)](_0x253b77,_0xddd28d)))return _0x253b77;}const _0x4aab77=_0x18404d[_0xc0f99b(_0x55dd55._0x21102a,0x525,_0x55dd55._0x4213f4,0x450)](_0x253b77);if(_0x4aab77===_0x253b77)return void 0x0;_0x253b77=_0x4aab77;}}async function hasDenoRoot(_0x5988d1){const _0x34abd0={_0x4e9c5a:0x1f5,_0x438c46:0x214,_0x25f95a:0xc4,_0x11cb9c:0xaa,_0x541b76:0x4fa,_0x4a48d8:0x51a,_0x211bb0:0x230},_0x548cd8={_0xd70e7:0x51},_0x3c6f7b={_0x1d2d95:0x148};function _0x14a7e8(_0x35d8ce,_0x170360,_0x3e498c,_0x38a3ea){return _0x55c88d(_0x35d8ce-_0x3c6f7b._0x1d2d95,_0x3e498c- -0x32e,_0x170360,_0x38a3ea-0x9c);}function _0x351746(_0x1102e3,_0x19911f,_0xc71a3c,_0x11c2d2){return _0x55c88d(_0x1102e3-_0x548cd8._0xd70e7,_0x1102e3- -0x4c,_0x19911f,_0x11c2d2-0x151);}return await exists2(_0x18404d[_0x14a7e8(_0x34abd0._0x4e9c5a,_0x34abd0._0x438c46,_0x34abd0._0x25f95a,-_0x34abd0._0x11cb9c)](_0x5988d1,_0x351746(_0x34abd0._0x541b76,_0x34abd0._0x4a48d8,0x5c7,0x617)))||await exists2(_0x18404d['join'](_0x5988d1,_0x14a7e8(0x1ec,0x220,_0x34abd0._0x211bb0,0x296)));}async function resolveTsserverPath(_0x4945f8){const _0x297beb={_0xd57036:0x269,_0x410148:0x281,_0x33f297:0x3d9,_0x5743ec:0x2fe,_0x2aad21:0x6b5,_0x3aa364:0x603,_0x28b19d:0x683,_0xdbd0fb:0x64d,_0x27f121:0x539,_0x54121d:0x538,_0x2eb61d:0x30b,_0x33e4e6:0x42c,_0x53adb6:0x3bd,_0xad28f0:0x310,_0x2dde18:0x3bc,_0x4eee84:0x3bd,_0x92a54:0x34a,_0x4e12bf:0x6ce},_0x5676f8={_0x2722b8:0x46},_0x2c2e86={_0x3d1719:0x14,_0x1e8eed:0x25};let _0x3f4404=_0x18404d[_0x1a10ba(0x3c2,0x2ac,_0x297beb._0xd57036,_0x297beb._0x410148)](_0x4945f8);while(!![]){const _0x2fa852=_0x18404d[_0x1a10ba(0x3cd,0x36a,0x53e,0x438)](_0x3f4404,_0x1a10ba(0x3c8,_0x297beb._0x33f297,0x29f,_0x297beb._0x5743ec),_0x5879b5(_0x297beb._0x2aad21,_0x297beb._0x3aa364,_0x297beb._0x28b19d,_0x297beb._0xdbd0fb),'lib','tsserver.js');if(await exists2(_0x2fa852))return _0x2fa852;const _0x2174fa=_0x18404d[_0x5879b5(_0x297beb._0x27f121,0x6cd,0x675,0x5f0)](_0x3f4404);if(_0x2174fa===_0x3f4404)break;_0x3f4404=_0x2174fa;}const _0x590bb6=getLspPackageDir(_0x1a10ba(0x3bd,_0x297beb._0x54121d,_0x297beb._0x2eb61d,_0x297beb._0x33e4e6)),_0x48ca76=await resolvePackageBinary({'packageName':_0x1a10ba(_0x297beb._0x53adb6,0x378,0x238,0x3e4),'binaryName':_0x1a10ba(_0x297beb._0xad28f0,0x193,_0x297beb._0x2dde18,0x1cd),'startDir':_0x4945f8});if(!_0x48ca76)return void 0x0;function _0x1a10ba(_0xc98551,_0x8d7f2b,_0x2155dc,_0x3267ec){return _0x55c88d(_0xc98551-_0x2c2e86._0x3d1719,_0xc98551- -_0x2c2e86._0x1e8eed,_0x8d7f2b,_0x3267ec-0x199);}const _0x29a867=_0x18404d['join'](_0x590bb6,_0x1a10ba(0x3c8,0x514,0x4fc,0x47d),_0x1a10ba(_0x297beb._0x4eee84,0x292,_0x297beb._0x92a54,0x257),'lib',_0x5879b5(0x491,0x59d,_0x297beb._0x4e12bf,0x5d0));function _0x5879b5(_0x377306,_0x580dc2,_0x486754,_0xf7a5f3){return _0x1e45aa(_0x377306-0x49,_0x580dc2-0x1f1,_0xf7a5f3- -_0x5676f8._0x2722b8,_0x486754);}return await exists2(_0x29a867)?_0x29a867:void 0x0;}var TypeScriptServer={'id':'typescript','name':_0x55c88d(0x63d,0x586,0x505,0x591),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x4e74ee){const _0x52cc62=await findUp(_0x4e74ee,TYPESCRIPT_ROOT_MARKERS);if(!_0x52cc62)return void 0x0;return await hasDenoRoot(_0x52cc62)?void 0x0:_0x52cc62;},async 'spawn'(_0x41ecc1){const _0xb35c47={_0x5073ba:0x349,_0x479a9d:0x292,_0x397fd:0x28f},_0x5a0721={_0x43709d:0x5b,_0x2f0fc5:0x1fd,_0x4bc99e:0x11},_0x1dab8e=await resolveTsserverPath(_0x41ecc1);function _0x534967(_0x50f8df,_0x252734,_0x9a2e99,_0x3c57fb){return _0x55c88d(_0x50f8df-_0x5a0721._0x43709d,_0x9a2e99- -_0x5a0721._0x2f0fc5,_0x3c57fb,_0x3c57fb-_0x5a0721._0x4bc99e);}if(!_0x1dab8e)return void 0x0;function _0x21abd6(_0x5c8fa4,_0x32b3e6,_0x294dc8,_0x918f6a){return _0x1e45aa(_0x5c8fa4-0x4b,_0x32b3e6-0x1a0,_0x32b3e6- -0x5d1,_0x5c8fa4);}const _0x33477b=await resolvePackageBinary({'packageName':_0x534967(0x2f7,_0xb35c47._0x5073ba,0x354,0x3cb),'binaryName':'typescript-language-server','startDir':_0x41ecc1});if(!_0x33477b)return void 0x0;return{'process':_0x33fb2(_0x33477b,['--stdio'],{'cwd':_0x41ecc1,'stdio':_0x21abd6(0x315,_0xb35c47._0x479a9d,_0xb35c47._0x397fd,0x370)}),'initialization':{'tsserver':{'path':_0x1dab8e}}};}},BiomeServer={'id':_0x1e45aa(0x6fd,0x5cc,0x6fa,0x714),'name':_0x55c88d(0x40c,0x523,0x43a,0x463),'extensions':BIOME_EXTENSIONS,async 'root'(_0x35fcbe){return findUp(_0x35fcbe,BIOME_ROOT_MARKERS);},async 'spawn'(_0x59cb9a){const _0x2b2940={_0x348b6:0x26f,_0x5e7daa:0x256,_0x36878f:0x406,_0x21af40:0x357,_0x226b23:0x227,_0x249807:0x736,_0xf086f2:0x7df},_0x30adb7={_0x4d6666:0x1d3,_0x3324ad:0x1f},_0x183e5c={_0x3fc278:0x22d,_0x4278c1:0x1c1};function _0x4b8680(_0x363d5e,_0x145aeb,_0x1ad41e,_0x5f921f){return _0x55c88d(_0x363d5e-0x123,_0x5f921f-_0x183e5c._0x3fc278,_0x363d5e,_0x5f921f-_0x183e5c._0x4278c1);}const _0x1fb2cd=await findPackageBinary(_0x16ba06(0xe4,0x1b3,_0x2b2940._0x348b6,_0x2b2940._0x5e7daa),_0x59cb9a)??await resolvePackageBinary({'packageName':_0x16ba06(0x4c3,_0x2b2940._0x36878f,0x31b,_0x2b2940._0x21af40),'binaryName':'biome','startDir':_0x59cb9a});if(!_0x1fb2cd)return void 0x0;function _0x16ba06(_0x1ab4c8,_0x233438,_0xeda916,_0x6825cd){return _0x1e45aa(_0x1ab4c8-_0x30adb7._0x4d6666,_0x233438-_0x30adb7._0x3324ad,_0x6825cd- -0x4a4,_0x1ab4c8);}return{'process':_0x33fb2(_0x1fb2cd,['lsp-proxy',_0x16ba06(0x239,0x36c,_0x2b2940._0x226b23,0x341)],{'cwd':_0x59cb9a,'stdio':_0x4b8680(_0x2b2940._0x249807,0x92c,0x7fc,_0x2b2940._0xf086f2)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x40f540){const _0x2caaff={_0x326b1d:0x6f,_0x443eca:0x12f},_0x26b9fc=_0x18404d['extname'](_0x40f540)['toLowerCase']();function _0x5d7bcb(_0x28695f,_0x3271b8,_0x3c6faf,_0x2919cf){return _0x55c88d(_0x28695f-0x1a8,_0x3271b8- -_0x2caaff._0x326b1d,_0x3c6faf,_0x2919cf-_0x2caaff._0x443eca);}return BUILTIN_LSP_SERVERS['filter'](_0x2d78f0=>_0x2d78f0[_0x5d7bcb(0x442,0x485,0x3db,0x3ad)]['includes'](_0x26b9fc));}function stateKey(_0x475a26,_0x20f4db){return _0x20f4db+':'+_0x475a26['id'];}function diagnosticsKeyToPath(_0x453859){const _0x53ff30={_0x25ea98:0x214,_0x282359:0x2b9,_0x4a6ec5:0xf6},_0x2ed700={_0x50993d:0xf4,_0x100970:0x3f2};function _0x3cbec6(_0x4fc69a,_0x45ca69,_0xa7b348,_0x5ed5fb){return _0x1e45aa(_0x4fc69a-_0x2ed700._0x50993d,_0x45ca69-0x16,_0x4fc69a- -_0x2ed700._0x100970,_0xa7b348);}if(!_0x453859[_0x3cbec6(0x181,_0x53ff30._0x25ea98,_0x53ff30._0x282359,_0x53ff30._0x4a6ec5)]('file://'))return _0x453859;return fileURLToPath(_0x453859);}function nextFileVersion(_0x585bb9,_0x1872ba){const _0xc9aa00={_0x3e842b:0x835,_0x153bc6:0x6bb,_0x4b2eb0:0x5bb,_0x3fb44f:0x5fa,_0x399555:0x760,_0x552055:0x70c,_0x29b2a7:0x597},_0x55ac35={_0x5a3e3a:0x27,_0x28b377:0xf0},_0x26dbdd={_0x1c139f:0x117,_0x4dcec7:0x189},_0x5d4955=(_0x585bb9['fileVersions'][_0x2aa737(_0xc9aa00._0x3e842b,_0xc9aa00._0x153bc6,_0xc9aa00._0x4b2eb0,_0xc9aa00._0x3fb44f)](_0x1872ba)??0x1)+0x1;_0x585bb9[_0x2aa737(_0xc9aa00._0x399555,0x623,_0xc9aa00._0x552055,_0xc9aa00._0x29b2a7)]['set'](_0x1872ba,_0x5d4955);function _0x2aa737(_0x42f2b9,_0x403a6c,_0x47c1b4,_0x45c3bc){return _0x55c88d(_0x42f2b9-_0x26dbdd._0x1c139f,_0x403a6c-_0x26dbdd._0x4dcec7,_0x47c1b4,_0x45c3bc-0x166);}function _0x42f5ac(_0x3b15d8,_0x77bc7d,_0x21cf3d,_0x345c8c){return _0x55c88d(_0x3b15d8-0xca,_0x3b15d8- -_0x55ac35._0x5a3e3a,_0x345c8c,_0x345c8c-_0x55ac35._0x28b377);}return _0x5d4955;}async function collectClientResults(_0x3025ae){const _0x2e7c59={_0x2b2112:0x6af,_0x4a982f:0x545,_0x47df73:0xe0,_0x499b52:0x5c};function _0x55ea1b(_0x1b36a0,_0x49dd33,_0x753c1b,_0x24c8df){return _0x55c88d(_0x1b36a0-0x1ca,_0x753c1b- -0x3a5,_0x49dd33,_0x24c8df-0x58);}function _0x5f160a(_0x2b4129,_0x21e7c5,_0xb4d4c8,_0x163920){return _0x55c88d(_0x2b4129-0x1ae,_0x21e7c5-0x16d,_0xb4d4c8,_0x163920-0x136);}const _0x4450a9=await Promise[_0x5f160a(_0x2e7c59._0x2b2112,_0x2e7c59._0x4a982f,0x5db,0x4d5)](_0x3025ae);return _0x4450a9[_0x55ea1b(-_0x2e7c59._0x47df73,0x118,-_0x2e7c59._0x499b52,-0x173)](_0x3c31f8=>_0x3c31f8[_0x5f160a(0x86b,0x71a,0x687,0x850)]==='fulfilled'?_0x3c31f8[_0x5f160a(0x640,0x693,0x786,0x59f)]:[]);}function createLspService(_0x2b5ed3={}){const _0x534f25={_0x5d7182:0x104,_0x33e7fc:0x32,_0x3e4440:0x48},_0x6980a6={_0x417fc6:0x4ea,_0x25f0f2:0x395,_0x48f453:0x565,_0x291f66:0x579,_0x5ec7c9:0x682,_0x4430f2:0x5bc,_0x5b31f8:0x421,_0x41a95c:0x31f,_0x375bb3:0x885,_0x1c704a:0x7e8,_0x1962f1:0x654,_0x53de29:0x6fa,_0x1e9b4f:0x790,_0x27a4dc:0x58b,_0x4eaec9:0x69f,_0x5c00a3:0x5e7,_0x2ceb99:0x6c1,_0x1a380e:0x579,_0x307c29:0x65f,_0x58cbb2:0x72d,_0x266977:0x662,_0x12be63:0x64d,_0x1f900a:0x6c9,_0x4ce7be:0x726},_0x4d74d7={_0x25babd:0x3a7},_0x5ec229={_0xb08559:0x2e,_0x499354:0x9c},_0x276268={_0x4fb4c9:0x3ca},_0x591fa2={_0xac0820:0x402,_0x1a057b:0x38b,_0x157bc6:0x307},_0x5945f9={_0x1bb477:0x99},_0x2af717={_0x736f3:0x18e,_0x194a03:0x132,_0x1bdfb4:0x3f,_0x121a59:0x1ac},_0x23471={_0x16f58c:0x540,_0x36be9a:0x545},_0x455f43={_0x308f8b:0x24a,_0x2a98b8:0x196,_0x2d9457:0x17c,_0x1fbb56:0x1f8,_0x3d5f4c:0x169},_0x30f83d={_0x4096f8:0x224},_0x1cd7ef={_0x2f9de3:0x4ec,_0x2c2035:0x4c7,_0x291a7f:0x5a5},_0x1899f6={_0x6fabb2:0x14},_0x4e056e={_0x370883:0x2db},_0x17c414={_0x518ee2:0x3b4,_0x1cb05c:0x296,_0x544ddf:0x26b},_0x145b33={_0xc1d9fd:0x6b},_0x18aee7={_0x25732d:0x48a,_0x4e4b65:0x43c},_0x409a3c={_0x3e1fc9:0x82a},_0x36dede={_0x3e58b1:0x87},_0x271136={_0x492e86:0x19b},_0x1d8770={_0x561a2d:0xa6,_0x5b08ff:0x14d},_0x27fff3={_0x1fef09:0x7a},_0x177abf={_0x272ecb:0x75},_0x36ca5d={_0x3396b9:0x2d7},_0x434287={_0x841637:0x822,_0x2385e2:0x702,_0x7fbdaa:0x703,_0x44241e:0x61a,_0x28e81d:0x748,_0x2eaebc:0x6b7,_0x4f8e1e:0x67f,_0x561ce1:0xf,_0xdd2e58:0xd1},_0x6ad9a3={_0x5d488b:0x3e2,_0x5b2ce5:0x36b,_0x4514e7:0x448,_0x1550e0:0x444,_0x2f58e1:0x4ca,_0xb77ece:0x489,_0x947060:0x491,_0x4ee448:0x3b0,_0x1ebb1c:0x4ab,_0x4acf68:0xee,_0x290ca6:0xf2,_0xd321df:0x14,_0x2bac89:0x17e,_0x2521bb:0xde,_0x3d9f38:0x3a8,_0xc9c806:0x416,_0x20f9b8:0x2e7,_0xa676b5:0x31a},_0xed5f8a={_0x12eae7:0x4f7,_0x58e65d:0x405,_0x319a49:0x48b,_0x19be94:0x39,_0x28211b:0x33d,_0x48562d:0x467,_0x58253c:0x5,_0x207a29:0xed,_0x4f73b7:0x1ee,_0x276a82:0xe2,_0x213d80:0x1b,_0x36cef0:0x110,_0x3b048d:0x2a,_0x472eb0:0x45,_0x25135f:0xd8,_0x4e1c6b:0x186,_0x436a38:0x16a,_0x572b36:0x142,_0x229279:0xf8,_0x4d683c:0xe4,_0x3ac236:0x13f,_0x4b2ad5:0x8a},_0x2955be={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x22895b=()=>_0x2b5ed3['enabled']!==![];async function _0x2a786a(_0x8b4a63,_0x4284b2){const _0x65bf82={_0x11ccf2:0xbe,_0x8fd1d5:0x386},_0x319e2c={_0x622908:0xc1},_0x205b6f={_0x37b9e3:0x234},_0x226f01=stateKey(_0x8b4a63,_0x4284b2),_0x4f66c7=_0x2955be[_0xb8af48(0x405,_0x6ad9a3._0x5d488b,_0x6ad9a3._0x5b2ce5,0x4cf)][_0xb8af48(_0x6ad9a3._0x4514e7,0x395,_0x6ad9a3._0x1550e0,_0x6ad9a3._0x2f58e1)](_0x223531=>_0x223531['serverId']===_0x8b4a63['id']&&_0x223531['root']===_0x4284b2);if(_0x4f66c7)return _0x4f66c7;if(_0x2955be[_0xb8af48(_0x6ad9a3._0xb77ece,_0x6ad9a3._0x947060,_0x6ad9a3._0x4ee448,_0x6ad9a3._0x1ebb1c)][_0x15bfdd(0x18b,_0x6ad9a3._0x4acf68,0x255,_0x6ad9a3._0x290ca6)](_0x226f01))return void 0x0;function _0x15bfdd(_0x3923fb,_0x5c8484,_0x895736,_0x15cd99){return _0x3bdd(_0x3923fb- -_0x205b6f._0x37b9e3,_0x5c8484);}const _0x489de7=_0x2955be[_0x15bfdd(_0x6ad9a3._0xd321df,_0x6ad9a3._0x2bac89,_0x6ad9a3._0x2521bb,0x122)][_0xb8af48(0x3c1,_0x6ad9a3._0x3d9f38,0x4a4,0x324)](_0x226f01);if(_0x489de7)return _0x489de7;const _0x50f37f=((async()=>{function _0x336136(_0x5e8629,_0x175d38,_0x35226a,_0x29f2de){return _0x15bfdd(_0x175d38-0x1e9,_0x35226a,_0x35226a-0x1a1,_0x29f2de-_0x319e2c._0x622908);}function _0x223ba3(_0x215864,_0x4a8bee,_0x2cc78b,_0x1c733c){return _0xb8af48(_0x215864-_0x65bf82._0x11ccf2,_0x4a8bee-0x15a,_0x4a8bee- -_0x65bf82._0x8fd1d5,_0x1c733c);}try{const _0x3cb3ff=await _0x8b4a63[_0x336136(_0xed5f8a._0x12eae7,0x3a3,_0xed5f8a._0x58e65d,_0xed5f8a._0x319a49)](_0x4284b2);if(!_0x3cb3ff)return _0x2955be[_0x223ba3(0x15f,0x2a,-_0xed5f8a._0x19be94,-0x17)][_0x336136(_0xed5f8a._0x28211b,_0xed5f8a._0x48562d,0x522,0x304)](_0x226f01),void 0x0;const _0x435447=await createLspClient({'server':_0x8b4a63,'root':_0x4284b2,'handle':_0x3cb3ff}),_0x49b521=_0x2955be['clients'][_0x223ba3(0x99,0xbe,0x1df,_0xed5f8a._0x58253c)](_0x32862a=>_0x32862a['serverId']===_0x8b4a63['id']&&_0x32862a[_0x336136(0x2e2,0x439,0x492,0x3e6)]===_0x4284b2);if(_0x49b521)return await _0x435447[_0x223ba3(-0x14,0x12d,_0xed5f8a._0x207a29,_0xed5f8a._0x4f73b7)](),_0x49b521;return _0x2955be[_0x223ba3(_0xed5f8a._0x276a82,-_0xed5f8a._0x213d80,-0x180,-_0xed5f8a._0x36cef0)]['push'](_0x435447),_0x435447;}catch{return _0x2955be[_0x223ba3(0x20,_0xed5f8a._0x3b048d,_0xed5f8a._0x472eb0,0xe1)][_0x223ba3(_0xed5f8a._0x25135f,_0xed5f8a._0x4e1c6b,_0xed5f8a._0x436a38,_0xed5f8a._0x572b36)](_0x226f01),void 0x0;}finally{_0x2955be[_0x223ba3(-_0xed5f8a._0x229279,-_0xed5f8a._0x4d683c,-_0xed5f8a._0x3ac236,_0xed5f8a._0x4b2ad5)]['delete'](_0x226f01);}})());_0x2955be[_0x15bfdd(0x14,-0x11,0x1a,-0x36)][_0xb8af48(_0x6ad9a3._0xc9c806,0x332,_0x6ad9a3._0x20f9b8,_0x6ad9a3._0xa676b5)](_0x226f01,_0x50f37f);function _0xb8af48(_0x28cac7,_0x55006d,_0xc8ed05,_0x1e2dd5){return _0x3bdd(_0xc8ed05-0x5a,_0x1e2dd5);}return _0x50f37f;}async function _0x2c34b2(_0x482800,_0xfd7ae3){const _0xa26d4f={_0x479d61:0x3a6};function _0x9aab34(_0x444be3,_0x5c137a,_0x516cf1,_0x129292){return _0x3bdd(_0x516cf1- -0x319,_0x444be3);}if(!_0x22895b())return[];const _0x1e8fdf=[];function _0x2510ef(_0x58911,_0x5ce7cc,_0x420d43,_0x41d6b4){return _0x3bdd(_0x58911-_0xa26d4f._0x479d61,_0x420d43);}for(const _0x3dd7f6 of getServersForFile(_0x482800)){const _0x3ed72d=await _0x3dd7f6[_0x2510ef(0x82a,_0x434287._0x841637,0x99f,_0x434287._0x2385e2)](_0x482800);if(!_0x3ed72d)continue;const _0x4058fd=stateKey(_0x3dd7f6,_0x3ed72d);if(_0x2955be['broken'][_0x2510ef(0x765,_0x434287._0x7fbdaa,_0x434287._0x44241e,_0x434287._0x28e81d)](_0x4058fd))continue;const _0x20fcac=_0x2955be[_0x2510ef(_0x434287._0x2eaebc,0x6a0,_0x434287._0x4f8e1e,0x7a0)][_0x9aab34(-_0x434287._0x561ce1,0xc3,_0x434287._0xdd2e58,0x7)](_0xcd24ca=>_0xcd24ca['serverId']===_0x3dd7f6['id']&&_0xcd24ca[_0x2510ef(0x82a,0x944,0x864,0x7c7)]===_0x3ed72d);if(_0x20fcac){_0x1e8fdf['push'](_0x20fcac);continue;}if(!_0xfd7ae3)continue;const _0x18fa17=await _0x2a786a(_0x3dd7f6,_0x3ed72d);if(_0x18fa17)_0x1e8fdf['push'](_0x18fa17);}return _0x1e8fdf;}async function _0x3141bd(_0x425a62,_0x20b6b0=![]){const _0x5e8be8={_0x3303b9:0x82,_0x736272:0x117,_0x21af9f:0x1ad,_0xd82ad3:0x86,_0x2434c6:0x5c6,_0x474786:0x4fc,_0x3fe601:0x753,_0x401541:0x5f8,_0x21a682:0x37c,_0x12b8d4:0x2cb,_0x251b80:0x7da,_0x45d6fb:0x7f5,_0x1d9db7:0x957,_0xfbbe23:0x6d5},_0x37951b={_0x36b23b:0x108},_0x5ba9be=await _0x2c34b2(_0x425a62,!![]);function _0x407681(_0x32eb4a,_0x308845,_0x229a8a,_0x13c453){return _0x3bdd(_0x13c453- -_0x36ca5d._0x3396b9,_0x229a8a);}await Promise[_0x407681(0x118,0x208,_0x177abf._0x272ecb,0xa0)](_0x5ba9be['map'](async _0x337957=>{const _0x3cc769={_0x35d021:0x19f,_0x54455a:0x184,_0x265db3:0x6f};!_0x2955be['openFiles'][_0x1c50bb(0x157,0x12d,_0x5e8be8._0x3303b9,0x118)](_0x337957['serverId']+':'+_0x337957['root']+':'+_0x425a62)&&(await _0x337957[_0x1c50bb(_0x5e8be8._0x736272,_0x5e8be8._0x21af9f,_0x5e8be8._0xd82ad3,0xea)][_0x388f45(0x653,_0x5e8be8._0x2434c6,0x5fd,_0x5e8be8._0x474786)]({'path':_0x425a62}),_0x2955be[_0x388f45(_0x5e8be8._0x3fe601,0x69c,0x517,_0x5e8be8._0x401541)][_0x1c50bb(0x24a,_0x5e8be8._0x21a682,_0x5e8be8._0x12b8d4,0x1b4)](_0x337957['serverId']+':'+_0x337957[_0x388f45(0x874,_0x5e8be8._0x251b80,_0x5e8be8._0x45d6fb,_0x5e8be8._0x1d9db7)]+':'+_0x425a62));function _0x1c50bb(_0x35c333,_0x12f605,_0x47bd3c,_0x114040){return _0x407681(_0x35c333-_0x3cc769._0x35d021,_0x12f605-_0x3cc769._0x54455a,_0x47bd3c,_0x35c333-_0x3cc769._0x265db3);}function _0x388f45(_0x15ee56,_0x2bd4ee,_0x4e4c77,_0xfd7662){return _0x407681(_0x15ee56-0x1aa,_0x2bd4ee-_0x37951b._0x36b23b,_0xfd7662,_0x2bd4ee-0x62d);}await _0x337957[_0x388f45(0x799,_0x5e8be8._0xfbbe23,0x71c,0x858)][_0x388f45(0x6ec,0x6e8,0x7a8,0x810)]({'path':_0x425a62,'version':nextFileVersion(_0x2955be,_0x425a62)});if(_0x20b6b0)await _0x337957['waitForDiagnostics']({'path':_0x425a62});}));}async function _0x21987d(_0x43cd2a){function _0x55dfb1(_0x10b263,_0x3c5c15,_0x1bce74,_0x5011ed){return _0x3bdd(_0x10b263-0x2e2,_0x1bce74);}await _0x3141bd(_0x43cd2a[_0x1906ac(_0x1d8770._0x561a2d,0x209,0x351,_0x1d8770._0x5b08ff)],![]);function _0x1906ac(_0x23c469,_0x87ba8,_0x4212b1,_0x2a3d56){return _0x3bdd(_0x87ba8- -_0x27fff3._0x1fef09,_0x2a3d56);}return _0x2c34b2(_0x43cd2a[_0x55dfb1(0x565,0x60d,0x664,0x67a)],![]);}async function _0x5dd861(_0x5e17b3){const _0x246b9f=await _0x21987d(_0x5e17b3);function _0xd62586(_0x18e8e0,_0x4b5eff,_0x332caf,_0x58138d){return _0x3bdd(_0x332caf-_0x271136._0x492e86,_0x18e8e0);}function _0x2e6b18(_0x29533d,_0x414fb9,_0x43aed,_0x2f25fe){return _0x3bdd(_0x2f25fe-_0x36dede._0x3e58b1,_0x414fb9);}return collectClientResults(_0x246b9f['map'](_0x327b6b=>_0x327b6b[_0x2e6b18(0x279,0xf9,0x27f,0x253)][_0xd62586(0x552,0x445,0x4cc,0x507)](_0x5e17b3)));}return{'isEnabled':_0x22895b,async 'hasClients'(_0x446e09){function _0x36bdd(_0x1833aa,_0x1f94d0,_0x5ca760,_0x3e6a55){return _0x3bdd(_0x5ca760-0x273,_0x1833aa);}return(await _0x2c34b2(_0x446e09,![]))[_0x36bdd(0x626,0x572,0x6bc,_0x409a3c._0x3e1fc9)]>0x0||getServersForFile(_0x446e09)['length']>0x0;},'touchFile':_0x3141bd,async 'diagnostics'(){function _0x162dfb(_0xb7969,_0x4b1be6,_0xbac0a8,_0x5b315a){return _0x3bdd(_0xbac0a8-0x235,_0xb7969);}const _0x2830bd={};for(const _0xcddfa9 of _0x2955be['clients']){for(const [_0x1120a5,_0x5b8fd0]of _0xcddfa9[_0x162dfb(0x357,0x3cd,_0x18aee7._0x25732d,_0x18aee7._0x4e4b65)]){_0x2830bd[diagnosticsKeyToPath(_0x1120a5)]=_0x5b8fd0;}}return _0x2830bd;},async 'diagnosticsForFile'(_0x425472){await _0x3141bd(_0x425472,!![]);const _0x597b27=[];for(const _0x3b95ec of await _0x2c34b2(_0x425472,![])){for(const [_0x143299,_0x3c7926]of _0x3b95ec['diagnostics']){if(diagnosticsKeyToPath(_0x143299)===_0x425472)_0x597b27[_0x2ea5f2(0x374,_0x17c414._0x518ee2,_0x17c414._0x1cb05c,_0x17c414._0x544ddf)](..._0x3c7926);}}function _0x2ea5f2(_0x39c7c5,_0x5d65bc,_0x47e53a,_0x550d15){return _0x3bdd(_0x39c7c5-_0x145b33._0xc1d9fd,_0x5d65bc);}return _0x597b27;},async 'definition'(_0x27ecd3){function _0x3bf65a(_0x2a0f2d,_0x4166e7,_0x2bfc29,_0x5d2df2){return _0x3bdd(_0x2a0f2d- -0x63,_0x2bfc29);}function _0x669073(_0x5d9266,_0x19620e,_0x43aa1c,_0x61f84b){return _0x3bdd(_0x5d9266- -_0x4e056e._0x370883,_0x19620e);}return collectClientResults((await _0x21987d(_0x27ecd3))['map'](_0x54aa75=>_0x54aa75[_0x669073(-0x10f,-0x235,-0x18d,-0x15f)][_0x669073(0x1d4,0x217,0x24e,0x33f)](_0x27ecd3)));},async 'references'(_0xec15da){function _0x28071e(_0x29141b,_0x153cfd,_0x37548c,_0x540342){return _0x3bdd(_0x153cfd-0x14c,_0x29141b);}function _0x57d7b1(_0x1b2598,_0x428fc9,_0x51456f,_0x53dd63){return _0x3bdd(_0x53dd63-_0x1899f6._0x6fabb2,_0x1b2598);}return collectClientResults((await _0x21987d(_0xec15da))[_0x28071e(0x669,_0x1cd7ef._0x2f9de3,_0x1cd7ef._0x2c2035,_0x1cd7ef._0x291a7f)](_0x3e7eec=>_0x3e7eec['request'][_0x57d7b1(0x439,0x31f,0x35d,0x475)](_0xec15da)));},async 'hover'(_0x32f130){const _0x28453b=await Promise[_0x2ded85(0x1fb,_0x455f43._0x308f8b,0x287,0x33e)]((await _0x21987d(_0x32f130))[_0x1b6c55(0x185,0x22e,_0x455f43._0x2a98b8,_0x455f43._0x2d9457)](_0x5f3bfc=>_0x5f3bfc[_0x2ded85(0xd3,0x174,0x163,0xe0)][_0x2ded85(0x1b2,0x379,0x25f,0x1b9)](_0x32f130)));function _0x2ded85(_0x458192,_0x297092,_0x184268,_0x5dde84){return _0x3bdd(_0x184268- -0x69,_0x5dde84);}function _0x1b6c55(_0x5eebd5,_0x4aaec0,_0x20f540,_0x4915e1){return _0x3bdd(_0x4915e1- -_0x30f83d._0x4096f8,_0x4aaec0);}return _0x28453b[_0x2ded85(0x7c,0x37a,_0x455f43._0x1fbb56,_0x455f43._0x3d5f4c)](_0x7ce42e=>_0x7ce42e['status']===_0x1b6c55(-0xad,-0x17,0x14a,0x61)&&_0x7ce42e[_0x1b6c55(0x21b,0x243,0x211,0x21a)]?[_0x7ce42e[_0x2ded85(0x2fa,0x338,0x3d5,0x521)]]:[]);},async 'documentSymbol'(_0x2ac12d){function _0x36ee32(_0x489ce9,_0x340a5d,_0x1ae76f,_0x3c5e54){return _0x3bdd(_0x489ce9-0x1a0,_0x3c5e54);}function _0x30b80f(_0x183c5f,_0x219b9a,_0x5197f1,_0x242857){return _0x3bdd(_0x183c5f-0x383,_0x5197f1);}return await _0x3141bd(_0x2ac12d,![]),collectClientResults((await _0x2c34b2(_0x2ac12d,![]))[_0x36ee32(_0x23471._0x16f58c,0x589,0x64a,_0x23471._0x36be9a)](_0x3f9a3a=>_0x3f9a3a[_0x30b80f(0x54f,0x4f1,0x5c6,0x46f)][_0x30b80f(0x5b2,0x58c,0x572,0x559)](_0x2ac12d)));},async 'workspaceSymbol'(_0x42324f){function _0x29edd3(_0x3ed29e,_0x390ad6,_0x306000,_0x263718){return _0x3bdd(_0x263718- -0x342,_0x3ed29e);}function _0x266636(_0xa5f3e0,_0x59c38b,_0x52c493,_0x280fd7){return _0x3bdd(_0x52c493- -0x361,_0xa5f3e0);}return collectClientResults(_0x2955be[_0x266636(-_0x2af717._0x736f3,-0x162,-0x50,-0x167)][_0x266636(-0x144,-_0x2af717._0x194a03,_0x2af717._0x1bdfb4,_0x2af717._0x121a59)](_0x182407=>_0x182407[_0x266636(-0x23c,-0xb3,-0x195,-0x209)][_0x29edd3(0x61,-0x58,0x15e,-0x18)](_0x42324f)));},async 'implementation'(_0xa22166){function _0x1bb16e(_0x2766ac,_0x4ffe83,_0x549172,_0x25bba1){return _0x3bdd(_0x549172- -_0x5945f9._0x1bb477,_0x4ffe83);}function _0x53ef1e(_0x497d37,_0xe49202,_0x13896b,_0x433784){return _0x3bdd(_0x13896b- -0x190,_0x497d37);}return collectClientResults((await _0x21987d(_0xa22166))[_0x1bb16e(_0x591fa2._0xac0820,_0x591fa2._0x1a057b,_0x591fa2._0x157bc6,0x1ee)](_0x321e7e=>_0x321e7e[_0x53ef1e(0xa4,0x124,0x3c,0x11a)][_0x53ef1e(0x3c4,0x3b4,0x30b,0x350)](_0xa22166)));},async 'prepareCallHierarchy'(_0x50d4a8){return _0x5dd861(_0x50d4a8);},async 'incomingCalls'(_0x133c66){function _0x2cc9db(_0x4539e2,_0x29772b,_0xf78892,_0xbc0474){return _0x3bdd(_0xbc0474- -0x309,_0xf78892);}function _0x4f9963(_0x1eee1c,_0x405c95,_0x11834e,_0x164992){return _0x3bdd(_0x164992-_0x276268._0x4fb4c9,_0x11834e);}const _0x460b46=await _0x5dd861(_0x133c66),_0x112cbe=await _0x21987d(_0x133c66);return collectClientResults(_0x112cbe[_0x2cc9db(-_0x5ec229._0xb08559,-0x1ab,-_0x5ec229._0x499354,-0xa8)](_0x43b146=>_0x460b46[_0x2cc9db(0x190,0x163,-0x77,0x97)](_0x141e26=>_0x43b146[_0x4f9963(0x51d,0x5e9,0x713,0x596)][_0x2cc9db(-0xb4,-0x248,-0x233,-0x13f)](_0x141e26))));},async 'outgoingCalls'(_0x25f24f){function _0x31d8e8(_0x3a0575,_0x1174dc,_0x3bdaf6,_0x2eb05a){return _0x3bdd(_0x3a0575-0x242,_0x1174dc);}function _0x2efaef(_0x3bf9fc,_0x281ead,_0x331348,_0x226682){return _0x3bdd(_0x226682-0x146,_0x281ead);}const _0x35dd39=await _0x5dd861(_0x25f24f),_0xbd153f=await _0x21987d(_0x25f24f);return collectClientResults(_0xbd153f[_0x2efaef(0x4a6,0x43a,0x432,_0x4d74d7._0x25babd)](_0x56783c=>_0x35dd39[_0x2efaef(0x4e1,0x60b,0x65b,0x4e6)](_0x82fee7=>_0x56783c[_0x31d8e8(0x40e,0x2d1,0x4c7,0x32e)][_0x31d8e8(0x441,0x470,0x44a,0x2e2)](_0x82fee7))));},async 'shutdown'(){const _0x22b304={_0x12eb41:0x1d9};if(_0x2955be['shutdownStarted'])return;_0x2955be['shutdownStarted']=!![],await Promise['allSettled'](_0x2955be[_0x110581(_0x6980a6._0x417fc6,_0x6980a6._0x25f0f2,_0x6980a6._0x48f453,0x408)][_0x110581(_0x6980a6._0x291f66,0x5a9,0x690,_0x6980a6._0x5ec7c9)](_0x41eef8=>_0x41eef8[_0x37a7ff(0x653,0x706,0x69d,0x775)]()));function _0x110581(_0x38850e,_0x54ed2a,_0x165ff3,_0x268932){return _0x3bdd(_0x38850e-_0x22b304._0x12eb41,_0x268932);}function _0x37a7ff(_0x253d30,_0x45dda6,_0x3e64a4,_0x28dd83){return _0x3bdd(_0x28dd83-0x31c,_0x253d30);}_0x2955be[_0x37a7ff(_0x6980a6._0x4430f2,0x606,0x77a,0x62d)]=[],_0x2955be[_0x110581(_0x6980a6._0x5b31f8,0x49f,_0x6980a6._0x41a95c,0x3eb)][_0x37a7ff(_0x6980a6._0x375bb3,_0x6980a6._0x1c704a,0x7b0,0x790)](),_0x2955be['broken'][_0x37a7ff(_0x6980a6._0x1962f1,_0x6980a6._0x53de29,0x8e0,_0x6980a6._0x1e9b4f)](),_0x2955be[_0x110581(_0x6980a6._0x27a4dc,_0x6980a6._0x4eaec9,0x50b,0x541)][_0x110581(0x64d,0x7a2,_0x6980a6._0x5c00a3,_0x6980a6._0x2ceb99)](),_0x2955be[_0x37a7ff(_0x6980a6._0x1a380e,_0x6980a6._0x307c29,_0x6980a6._0x58cbb2,_0x6980a6._0x266977)][_0x110581(_0x6980a6._0x12be63,_0x6980a6._0x1f900a,_0x6980a6._0x4ce7be,0x5f1)]();},'status'(){function _0x1c1287(_0x53e082,_0x1b9111,_0x34b2f1,_0x13be12){return _0x3bdd(_0x34b2f1- -0x343,_0x53e082);}function _0x5ce568(_0x295a16,_0x1259b7,_0x1a661d,_0x1457cb){return _0x3bdd(_0x1457cb- -0x305,_0x1259b7);}return{'connectedClients':_0x2955be[_0x1c1287(_0x534f25._0x5d7182,-0x43,-_0x534f25._0x33e7fc,0x4b)][_0x1c1287(0x10,-_0x534f25._0x3e4440,0x106,0x205)]};}};}function createQuestionId(){const _0x1c3133={_0x5144f7:0x74,_0x4d6f53:0x266,_0x436d37:0x3c9,_0x28b464:0xb4,_0x564d54:0x51,_0x3999ca:0x194,_0x5e5f30:0xc3},_0x435652={_0x428f2c:0x51};function _0x33922b(_0x506e4b,_0x3316d4,_0x46ad9c,_0x4599bd){return _0x1e45aa(_0x506e4b-0x10d,_0x3316d4-_0x435652._0x428f2c,_0x46ad9c- -0x67c,_0x506e4b);}function _0x876df7(_0x14c9bc,_0x47e317,_0x22bf26,_0xa29014){return _0x1e45aa(_0x14c9bc-0x9,_0x47e317-0x1a3,_0x22bf26- -0x3e4,_0x47e317);}return _0x33922b(-0x14b,-_0x1c3133._0x5144f7,-0x2,-0x69)+Date[_0x876df7(0x335,_0x1c3133._0x4d6f53,0x26a,_0x1c3133._0x436d37)]()+'-'+Math[_0x33922b(-0x1c4,-0xa6,-0xc9,-0xc2)]()[_0x33922b(0x10f,-_0x1c3133._0x28b464,_0x1c3133._0x564d54,-0x6a)](0x24)[_0x33922b(-_0x1c3133._0x3999ca,-_0x1c3133._0x5e5f30,-0x106,-0xc0)](0x2,0x9);}function validateInput(_0x3f1a6a){const _0x1409be={_0x2d3691:0x234,_0x5dfc72:0x143,_0x21ff4b:0x270,_0x58a0ce:0x2d2,_0x495c19:0x182,_0x4aa470:0x270,_0x348cb2:0x28e,_0x1a2be4:0x1b3,_0x289d1c:0x110,_0xde75f8:0x1d5,_0x5efd9f:0xec,_0x42fa65:0x128,_0x25fbe3:0x28b,_0x4d1a28:0x1ee,_0xa76792:0x2f4,_0x5f03a1:0x15e,_0x433839:0x3e2,_0x1ef74f:0x19b,_0x5e4472:0x28e,_0x1ecd48:0x1dd,_0x445a1f:0x23a,_0x3cedcb:0x2d4,_0x38bb1b:0x190,_0x90e082:0x4ad,_0x5097b3:0x437,_0x3459b3:0x222,_0x266ff6:0x2e9,_0x3f7740:0x2bb,_0x4ded47:0x45c,_0x4211e0:0x469,_0x2a3e63:0x2d6,_0x5b6c20:0x222,_0x387336:0x2fb,_0xf8a1dc:0x26c,_0x4005a6:0x3ac,_0x703fe1:0x45e,_0x2fdc17:0x43d,_0x2f849f:0x406,_0xedefa3:0x3e5,_0x112191:0x534,_0x561c5b:0x533,_0x38caf2:0x140,_0x3effc9:0xed,_0x5ea95e:0x168,_0x341a21:0x28b,_0x593855:0x416,_0x497649:0x3f4,_0x3ac379:0x49f,_0xba393:0x480,_0x4a6285:0xab,_0x2cab55:0x2bd,_0x4ebd7b:0x330,_0x54beb5:0x331,_0x2f3707:0x289,_0x254502:0x354,_0xf340be:0x3f4,_0x165400:0x456,_0x23441b:0x52c,_0x1771ee:0x379,_0x3640ad:0x172,_0x340c61:0x141,_0x3c2a18:0x13a,_0x1b88da:0x129,_0x108be7:0x12b,_0x425113:0x1dd,_0x44387e:0x2d6};if(!Array[_0x18d7d5(0x257,0x15c,_0x1409be._0x2d3691,0x2c7)](_0x3f1a6a[_0x18d7d5(0x256,0x18f,_0x1409be._0x5dfc72,_0x1409be._0x21ff4b)])||_0x3f1a6a[_0x18d7d5(_0x1409be._0x58a0ce,_0x1409be._0x495c19,0x186,_0x1409be._0x4aa470)][_0x18d7d5(0x152,0x136,0x3db,_0x1409be._0x348cb2)]<0x1||_0x3f1a6a[_0x18d7d5(0x325,_0x1409be._0x1a2be4,_0x1409be._0x289d1c,_0x1409be._0x21ff4b)][_0x18d7d5(0x408,0x354,_0x1409be._0xde75f8,0x28e)]>0xa)throw new ToolExecutionError(_0x18d7d5(_0x1409be._0x5efd9f,_0x1409be._0x42fa65,_0x1409be._0x25fbe3,_0x1409be._0x4d1a28),{'error':'invalid_questions'});function _0x3ed7f6(_0x17da94,_0xe0ecdf,_0x2cdb08,_0x5f2265){return _0x1e45aa(_0x17da94-0x107,_0xe0ecdf-0x48,_0x17da94- -0x436,_0xe0ecdf);}function _0x18d7d5(_0x2812c7,_0x367c89,_0x212226,_0x2c72ef){return _0x55c88d(_0x2812c7-0x126,_0x2c72ef- -0x2a3,_0x2812c7,_0x2c72ef-0xd8);}for(let _0x3b94f7=0x0;_0x3b94f7<_0x3f1a6a[_0x18d7d5(_0x1409be._0xa76792,_0x1409be._0x5f03a1,0x2cc,0x270)][_0x18d7d5(0x1f0,_0x1409be._0x433839,_0x1409be._0x1ef74f,_0x1409be._0x5e4472)];_0x3b94f7+=0x1){const _0x2e7281=_0x3f1a6a[_0x18d7d5(_0x1409be._0x1ecd48,_0x1409be._0x445a1f,0x1f3,_0x1409be._0x4aa470)][_0x3b94f7];if(!_0x2e7281[_0x3ed7f6(0x2ae,0x29a,0x166,0x287)]||typeof _0x2e7281[_0x18d7d5(0x164,_0x1409be._0x3cedcb,0x2e,_0x1409be._0x38bb1b)]!=='string')throw new ToolExecutionError(_0x3ed7f6(0x3f4,_0x1409be._0x90e082,_0x1409be._0x5097b3,0x442)+(_0x3b94f7+0x1)+_0x3ed7f6(0x170,_0x1409be._0x3459b3,0x2a7,0x102));if(!_0x2e7281[_0x3ed7f6(0x2d4,0x44a,0x1cc,0x230)]||typeof _0x2e7281[_0x18d7d5(0x311,0xb4,0x232,0x1b6)]!==_0x3ed7f6(_0x1409be._0x266ff6,_0x1409be._0x3f7740,_0x1409be._0x4ded47,0x2f2))throw new ToolExecutionError(_0x3ed7f6(0x3f4,_0x1409be._0x4211e0,0x329,0x4c9)+(_0x3b94f7+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x2e7281['topic']['length']>0x1e)throw new ToolExecutionError(_0x18d7d5(0x41e,0x414,0x1f6,_0x1409be._0x2a3e63)+(_0x3b94f7+0x1)+_0x3ed7f6(_0x1409be._0x5b6c20,_0x1409be._0x387336,_0x1409be._0x495c19,0x122)+_0x2e7281[_0x18d7d5(0x21c,0xda,_0x1409be._0xf8a1dc,0x1b6)][_0x3ed7f6(_0x1409be._0x4005a6,_0x1409be._0x703fe1,_0x1409be._0x2fdc17,_0x1409be._0x2f849f)]);if(!Array[_0x3ed7f6(_0x1409be._0xedefa3,0x343,_0x1409be._0x112191,_0x1409be._0x561c5b)](_0x2e7281[_0x18d7d5(-0x79,0xc6,_0x1409be._0x38caf2,_0x1409be._0x3effc9)])||_0x2e7281[_0x3ed7f6(0x20b,0x384,_0x1409be._0x5ea95e,0x22c)][_0x3ed7f6(0x3ac,0x2f3,_0x1409be._0x341a21,_0x1409be._0x593855)]<0x2||_0x2e7281['options'][_0x18d7d5(0x2a9,0x173,_0x1409be._0x4d1a28,0x28e)]>0x4)throw new ToolExecutionError(_0x3ed7f6(_0x1409be._0x497649,_0x1409be._0x3ac379,0x549,_0x1409be._0xba393)+(_0x3b94f7+0x1)+_0x18d7d5(0x39,-0x131,-0x7,0x3e));for(let _0xc87f41=0x0;_0xc87f41<_0x2e7281[_0x3ed7f6(0x20b,_0x1409be._0x4a6285,0x344,0xae)][_0x18d7d5(0x203,_0x1409be._0x2cab55,_0x1409be._0x4ebd7b,0x28e)];_0xc87f41+=0x1){const _0x5d977b=_0x2e7281['options'][_0xc87f41];if(!_0x5d977b['label']||!_0x5d977b[_0x18d7d5(_0x1409be._0x54beb5,_0x1409be._0x2f3707,_0x1409be._0x254502,0x2a2)])throw new ToolExecutionError(_0x3ed7f6(_0x1409be._0xf340be,_0x1409be._0x165400,_0x1409be._0x23441b,_0x1409be._0x1771ee)+(_0x3b94f7+0x1)+',\x20Option\x20'+(_0xc87f41+0x1)+_0x3ed7f6(0x149,0x1b4,0x213,_0x1409be._0x3640ad));}if(typeof _0x2e7281[_0x3ed7f6(_0x1409be._0x340c61,_0x1409be._0x3c2a18,_0x1409be._0x1b88da,_0x1409be._0x108be7)]!==_0x3ed7f6(0x20f,_0x1409be._0x425113,_0x1409be._0x289d1c,0x33d))throw new ToolExecutionError(_0x18d7d5(0x3b1,0x403,0x424,_0x1409be._0x44387e)+(_0x3b94f7+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0x5e7d40){const _0x261dc9={_0x32d83f:0x1e2},_0xa8f595={_0x36e287:0x8a};function _0x335360(_0x3f5b9b,_0x27f3d1,_0x260d97,_0xd58ea0){return _0x1e45aa(_0x3f5b9b-_0xa8f595._0x36e287,_0x27f3d1-0x72,_0x260d97- -0x2fe,_0xd58ea0);}function _0xf07abf(_0x5a78fc,_0x4a7b60,_0x257ee7,_0x4a6360){return _0x55c88d(_0x5a78fc-_0x261dc9._0x32d83f,_0x257ee7- -0x20d,_0x5a78fc,_0x4a6360-0x1d7);}return _0x5e7d40['questions']['map']((_0x322c61,_0x3e494e)=>({'id':'q'+_0x3e494e,'question':_0x322c61[_0x335360(0x3cc,0x375,0x3e6,0x53a)],'topic':_0x322c61[_0x335360(0x3ae,0x2fd,0x40c,0x516)],'options':_0x322c61[_0x335360(0x2cc,0x42e,0x343,0x244)],'multiSelect':_0x322c61['multiSelect']}));}function createResult(_0x24c73c,_0x2d21b7,_0x514a7e){const _0x3b184b={_0x247101:0x22f,_0x3ab38d:0x13a,_0xdff32f:0x16e,_0x537c36:0x248},_0x1feade={_0x113653:0xb6,_0x5edd65:0x1df};function _0x45a7a8(_0x1288d6,_0x454b34,_0x14da6d,_0x43d2e8){return _0x55c88d(_0x1288d6-_0x1feade._0x113653,_0x1288d6- -_0x1feade._0x5edd65,_0x454b34,_0x43d2e8-0x165);}const _0x55afdd={'questionId':_0x24c73c,'questionCount':_0x2d21b7,'answers':_0x514a7e};function _0x4558cf(_0x517420,_0x288c46,_0x4860bd,_0x4d0f0b){return _0x55c88d(_0x517420-0x29,_0x517420-0xf1,_0x4860bd,_0x4d0f0b-0x118);}return createToolOutput(_0x45a7a8(_0x3b184b._0x247101,_0x3b184b._0x3ab38d,_0x3b184b._0xdff32f,_0x3b184b._0x537c36)+JSON[_0x4558cf(0x5f1,0x56b,0x67a,0x706)](_0x514a7e,null,0x2),_0x55afdd);}function createAskUserTool(){const _0x1351d7={_0x12bff2:0x14b,_0x381ea4:0x347,_0x3b20a6:0x166,_0xcd44bf:0x2,_0x224e19:0x26e,_0x3e4a45:0x8c,_0x2adb0c:0x8,_0x35a642:0x142,_0x1117a4:0x118,_0x5d04ed:0x20,_0x38078b:0x142,_0x53b92a:0x25f,_0x9b3cfe:0x2c6,_0x2fab28:0x232,_0x1b1431:0x1a6,_0x594190:0x8d,_0x2e0c8f:0xa5,_0x5d5558:0xfe,_0x104430:0x27d,_0x1d3951:0x25c,_0x19cc07:0x1b0,_0x55edd5:0x27d,_0x1b265a:0x2e3,_0x328d19:0x34b,_0x30e59d:0x2f0,_0x2fae6e:0x49,_0x18d2bc:0x279,_0x18e89a:0x242,_0x58bb1f:0x27a,_0x8229bf:0x108,_0x4dec24:0x12d,_0x124d53:0x248,_0x23f88a:0x19f,_0x243d19:0x189,_0xeb95e3:0xc2,_0x56737e:0x66,_0x50e92f:0x1d9,_0x19307e:0x1e6,_0x1c93e9:0x22d,_0x2cabef:0x1e7},_0x103809={_0x49bceb:0xba,_0x1dfe38:0x66,_0x2e20dd:0x16b,_0xf68273:0x19f,_0x381214:0x18b,_0x4a50b8:0x75d,_0x4f0b52:0x60f,_0x4d0f70:0x105,_0xc69a84:0x283,_0x31ae12:0x3d5,_0x404d7c:0x368,_0x16c286:0x3e0,_0x333178:0x1c8,_0x39f604:0x4a7,_0x22bf2e:0x541,_0x5705f3:0x4e0,_0x4ed285:0x16c,_0x3173d5:0x150,_0x6872c2:0x241,_0x72c70a:0x5d6,_0x18e4cf:0x7c9,_0x239391:0x645,_0x5b5b94:0x136},_0xcc9d5d={_0xde1ce0:0x1a3,_0x1fc3e0:0x5dd};function _0x4c0b08(_0x4f2622,_0x5182e0,_0x5930af,_0x4cfdda){return _0x1e45aa(_0x4f2622-_0xcc9d5d._0xde1ce0,_0x5182e0-0x11,_0x5930af- -_0xcc9d5d._0x1fc3e0,_0x5182e0);}function _0x9a6583(_0x1cdc9c,_0x2853d3,_0x115395,_0x15bd1c){return _0x55c88d(_0x1cdc9c-0x1bf,_0x2853d3- -0x1f1,_0x1cdc9c,_0x15bd1c-0x39);}return defineTool({'name':_0x9a6583(0xbb,0x1c5,_0x1351d7._0x12bff2,_0x1351d7._0x381ea4),'description':'Use\x20this\x20tool\x20when\x20you\x20need\x20to\x20ask\x20the\x20user\x20questions\x20during\x20execution.\x20This\x20allows\x20you\x20to:\x0a1.\x20Gather\x20user\x20preferences\x20or\x20requirements\x0a2.\x20Clarify\x20ambiguous\x20instructions\x0a3.\x20Get\x20decisions\x20on\x20implementation\x20choices\x20as\x20you\x20work\x0a4.\x20Offer\x20choices\x20to\x20the\x20user\x20about\x20what\x20direction\x20to\x20take.\x0a\x0aUsage\x20notes:\x0a-\x20Users\x20will\x20always\x20be\x20able\x20to\x20select\x20\x22Other\x22\x20to\x20provide\x20custom\x20text\x20input\x0a-\x20Use\x20multiSelect:\x20true\x20to\x20allow\x20multiple\x20answers\x20to\x20be\x20selected\x20for\x20a\x20question\x0a-\x20If\x20you\x20recommend\x20a\x20specific\x20option,\x20make\x20that\x20the\x20first\x20option\x20in\x20the\x20list\x20and\x20add\x20\x22(Recommended)\x22\x20at\x20the\x20end\x20of\x20the\x20label','inputSchema':{'type':'object','properties':{'questions':{'type':'array','items':{'type':_0x9a6583(0x155,_0x1351d7._0x3b20a6,-_0x1351d7._0xcd44bf,_0x1351d7._0x224e19),'properties':{'question':{'type':_0x4c0b08(_0x1351d7._0x3e4a45,-_0x1351d7._0x2adb0c,_0x1351d7._0x35a642,0x91)},'topic':{'type':_0x4c0b08(_0x1351d7._0x1117a4,_0x1351d7._0x5d04ed,_0x1351d7._0x38078b,0x16a)},'options':{'type':_0x9a6583(_0x1351d7._0x53b92a,_0x1351d7._0x9b3cfe,_0x1351d7._0x2fab28,_0x1351d7._0x1b1431),'items':{'type':_0x4c0b08(_0x1351d7._0x594190,-_0x1351d7._0x2e0c8f,0x2b,-_0x1351d7._0x5d5558),'properties':{'label':{'type':_0x9a6583(0x1ff,_0x1351d7._0x104430,_0x1351d7._0x1d3951,0x1b8)},'description':{'type':_0x9a6583(_0x1351d7._0x19cc07,_0x1351d7._0x55edd5,_0x1351d7._0x1b265a,0x3a4)}},'required':[_0x9a6583(_0x1351d7._0x328d19,_0x1351d7._0x30e59d,0x2ae,0x436),'description']}},'multiSelect':{'type':_0x9a6583(0x28,0x1a3,0x39,_0x1351d7._0x2fae6e)}},'required':[_0x9a6583(_0x1351d7._0x18d2bc,_0x1351d7._0x18e89a,_0x1351d7._0x58bb1f,0x10e),_0x4c0b08(0x264,_0x1351d7._0x8229bf,_0x1351d7._0x4dec24,_0x1351d7._0x124d53),_0x9a6583(0x14a,_0x1351d7._0x23f88a,_0x1351d7._0x243d19,_0x1351d7._0xeb95e3),_0x4c0b08(-0x68,0xa6,-_0x1351d7._0x56737e,-_0x1351d7._0x50e92f)]}},'answers':{'type':'object','properties':{}}},'required':[_0x4c0b08(_0x1351d7._0x19307e,_0x1351d7._0x1c93e9,_0x1351d7._0x2cabef,0x1a4)]},async *'execute'(_0x49cdeb,_0x3f1231){const _0x31fc54={_0xec4b59:0x9f,_0x2dc998:0x19e,_0x221e61:0x158},_0x328f77={_0x2f599d:0x124},_0x1e11e4=_0x49cdeb;validateInput(_0x1e11e4);function _0x499581(_0x4415db,_0x2b6ec7,_0x338158,_0xa863c8){return _0x9a6583(_0xa863c8,_0x4415db-0x3e0,_0x338158-0x132,_0xa863c8-_0x328f77._0x2f599d);}const _0x4932ec=_0x3f1231['toolCallId']??createQuestionId();if(_0x1e11e4[_0x3e41d2(-_0x103809._0x49bceb,_0x103809._0x1dfe38,0x1a7,_0x103809._0x2e20dd)]&&Object[_0x3e41d2(_0x103809._0xf68273,0x2f0,0x3e7,0x214)](_0x1e11e4[_0x3e41d2(_0x103809._0x381214,0x66,0x1be,-0x96)])[_0x499581(0x720,_0x103809._0x4a50b8,_0x103809._0x4f0b52,0x87d)]>0x0)return createResult(_0x4932ec,_0x1e11e4[_0x3e41d2(_0x103809._0x4d0f70,_0x103809._0xc69a84,0x11d,_0x103809._0x31ae12)][_0x3e41d2(_0x103809._0x404d7c,0x2a1,_0x103809._0x16c286,_0x103809._0x333178)],_0x1e11e4['answers']);if(!_0x3f1231[_0x499581(_0x103809._0x39f604,_0x103809._0x22bf2e,0x5f0,_0x103809._0x5705f3)])throw new ToolExecutionError(_0x3e41d2(_0x103809._0x4ed285,0x141,_0x103809._0x3173d5,_0x103809._0x6872c2));const _0x3fdbba=buildQuestions(_0x1e11e4);function _0x3e41d2(_0x1ede2e,_0x3200a8,_0x367a87,_0x5396a7){return _0x9a6583(_0x367a87,_0x3200a8- -_0x31fc54._0xec4b59,_0x367a87-_0x31fc54._0x2dc998,_0x5396a7-_0x31fc54._0x221e61);}const _0x5c31df=await _0x3f1231['askUser']({'questionId':_0x4932ec,'questions':_0x3fdbba});yield createResult(_0x4932ec,_0x1e11e4[_0x499581(0x702,_0x103809._0x72c70a,_0x103809._0x18e4cf,_0x103809._0x239391)][_0x3e41d2(_0x103809._0x5b5b94,0x2a1,0x3c1,0x14b)],_0x5c31df);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0xd46fc8}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x56f576){return _0x56f576 instanceof Error;}function resolveCarriageReturns(_0x2c27e9){const _0x208000={_0x43890f:0x28a,_0x252f8f:0x373,_0x502d29:0x33b,_0x3d6ce9:0x375},_0x2bd79c={_0x4f8b8e:0x2e8,_0x3dd137:0x446,_0x402437:0x52c},_0x37af1f={_0x296a77:0xb2,_0x2449de:0xcf},_0x4e2eea={_0x258671:0x153,_0x45cfed:0x15c},_0x1b96dd={_0x86dacd:0xc4};function _0x9fe0c(_0x4eb10,_0x31cee8,_0x1031a5,_0x2f9032){return _0x55c88d(_0x4eb10-_0x1b96dd._0x86dacd,_0x1031a5- -0xb7,_0x31cee8,_0x2f9032-0x189);}function _0x4da25c(_0x20ae46,_0x4a9108,_0x3c11ce,_0x146e37){return _0x1e45aa(_0x20ae46-_0x4e2eea._0x258671,_0x4a9108-_0x4e2eea._0x45cfed,_0x4a9108- -0xd0,_0x3c11ce);}return _0x2c27e9[_0x9fe0c(0x206,_0x208000._0x43890f,_0x208000._0x252f8f,0x23d)]('\x0a')['map'](_0x455b4b=>{const _0x9af03c={_0x37fb8d:0xfc};function _0x932d84(_0x1522ee,_0x180764,_0x2bc4f5,_0x3d56fe){return _0x9fe0c(_0x1522ee-_0x9af03c._0x37fb8d,_0x3d56fe,_0x1522ee- -0xf2,_0x3d56fe-0x42);}if(!_0x455b4b[_0x932d84(0x34f,0x1d4,0x2f3,0x4c9)]('\x0d'))return _0x455b4b;function _0x357b14(_0x358115,_0x44d9ab,_0x3bbce3,_0x3e7ee7){return _0x9fe0c(_0x358115-0x19f,_0x3bbce3,_0x3e7ee7-_0x37af1f._0x296a77,_0x3e7ee7-_0x37af1f._0x2449de);}const _0x54c5af=_0x455b4b[_0x357b14(0x4cd,0x397,_0x2bd79c._0x4f8b8e,0x425)]('\x0d');return _0x54c5af[_0x54c5af[_0x357b14(_0x2bd79c._0x3dd137,0x404,0x458,_0x2bd79c._0x402437)]-0x1]??'';})[_0x9fe0c(0x421,0x2d3,_0x208000._0x502d29,_0x208000._0x3d6ce9)]('\x0a');}function resolveBackspaces(_0x2f4883){const _0x290e20={_0x5315b5:0x2bd,_0x1c3dc2:0x22a,_0x4c816c:0x1a0,_0x23a7a5:0x3df,_0x5297bf:0x2d3,_0x2e070d:0x1bf,_0x4f5bcb:0xdc,_0x4b681e:0x4c,_0x22293a:0x10c,_0x109e10:0xe2,_0x364d54:0x6ce,_0x1efaad:0x6b8,_0x980d45:0x7a9},_0x590aef={_0x32e88a:0x2dc},_0xb6ff71=[];function _0x5b012d(_0x3f538f,_0x6d8fc2,_0x360139,_0x1b0991){return _0x55c88d(_0x3f538f-0x163,_0x3f538f-_0x590aef._0x32e88a,_0x6d8fc2,_0x1b0991-0x1b7);}for(const _0x402930 of Array[_0x59d53d(_0x290e20._0x5315b5,0x1ca,_0x290e20._0x1c3dc2,_0x290e20._0x4c816c)](_0x2f4883)){_0x402930==='\x08'?_0xb6ff71[_0x59d53d(0x447,_0x290e20._0x23a7a5,_0x290e20._0x5297bf,_0x290e20._0x2e070d)]():_0xb6ff71[_0x59d53d(_0x290e20._0x4f5bcb,-_0x290e20._0x4b681e,_0x290e20._0x22293a,_0x290e20._0x109e10)](_0x402930);}function _0x59d53d(_0x33ecf1,_0x50e959,_0x288623,_0x235a18){return _0x1e45aa(_0x33ecf1-0x1c4,_0x50e959-0x18,_0x288623- -0x596,_0x50e959);}return _0xb6ff71[_0x5b012d(_0x290e20._0x364d54,_0x290e20._0x1efaad,0x69c,_0x290e20._0x980d45)]('');}function stripAnsiAndControls(_0x50201f){const _0x27294b={_0x4c55fe:0x4a9,_0x37d6d8:0x44c,_0x586994:0x221,_0x466e37:0x109,_0x523b38:0x24c,_0xc02fc8:0x3f5,_0x56cc95:0x41c,_0x5045a0:0x5a5,_0x1d3837:0x569,_0x358e7f:0x71e,_0x47691b:0x1e2,_0x3508f7:0x1a,_0x4105c3:0xe3,_0x55007c:0x1c9,_0x17e02e:0xa2,_0x11b7dc:0x94,_0x1eb49f:0x5a5,_0x2e7922:0x55b,_0xaf16ee:0x485,_0x2210be:0x558,_0x2e1b2e:0x520,_0x31d567:0x4c6,_0x2b4380:0x437,_0x58d283:0x211,_0xce3f84:0x132,_0x426c7e:0xe3,_0x45cc53:0x17e},_0x42dc84={_0x58fe94:0x17d,_0x388de0:0x135},_0x58c59a={_0x2aa77f:0x229,_0x4f5338:0x1e6};_0x50201f=resolveCarriageReturns(_0x50201f),_0x50201f=resolveBackspaces(_0x50201f),_0x50201f=stripVTControlCharacters(_0x50201f);function _0x3325c6(_0x1ccda0,_0x5968e6,_0x39958f,_0x25e0c7){return _0x55c88d(_0x1ccda0-0x9,_0x5968e6-_0x58c59a._0x2aa77f,_0x39958f,_0x25e0c7-_0x58c59a._0x4f5338);}const _0x5d3483='\x1b',_0x5c2561='\x07';function _0x50bb52(_0x1e193a,_0x5ac2a3,_0x625b50,_0x5a1e70){return _0x55c88d(_0x1e193a-_0x42dc84._0x58fe94,_0x625b50- -0x299,_0x5a1e70,_0x5a1e70-_0x42dc84._0x388de0);}return _0x50201f=_0x50201f[_0x3325c6(0x589,0x5a5,_0x27294b._0x4c55fe,_0x27294b._0x37d6d8)](new RegExp(_0x50bb52(0x281,_0x27294b._0x586994,_0x27294b._0x466e37,_0x27294b._0x523b38)+_0x5c2561+_0x3325c6(0x64a,0x546,_0x27294b._0xc02fc8,0x4a2)+_0x5c2561,'g'),''),_0x50201f=_0x50201f['replace'](new RegExp(_0x3325c6(0x5f4,0x545,0x6a8,_0x27294b._0x56cc95)+_0x5d3483+'\x5c\x5c','g'),''),_0x50201f=_0x50201f[_0x3325c6(0x67b,_0x27294b._0x5045a0,_0x27294b._0x1d3837,_0x27294b._0x358e7f)](new RegExp(_0x5c2561,'g'),''),_0x50201f=_0x50201f[_0x50bb52(_0x27294b._0x47691b,-_0x27294b._0x3508f7,_0x27294b._0x4105c3,_0x27294b._0x55007c)](new RegExp(_0x5d3483+_0x50bb52(-0x15c,_0x27294b._0x17e02e,0x27,-_0x27294b._0x11b7dc)+_0x5d3483+'\x5c\x5c','g'),''),_0x50201f=_0x50201f[_0x3325c6(0x48a,_0x27294b._0x1eb49f,_0x27294b._0x2e7922,_0x27294b._0xaf16ee)](new RegExp(_0x5d3483+_0x3325c6(_0x27294b._0x2210be,_0x27294b._0x2e1b2e,0x425,0x42e),'g'),''),_0x50201f=_0x50201f['replace'](/[\u0080-\u009F]/g,''),_0x50201f=_0x50201f[_0x3325c6(_0x27294b._0x31d567,_0x27294b._0x1eb49f,_0x27294b._0x2b4380,0x46f)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x50201f=_0x50201f[_0x50bb52(_0x27294b._0x58d283,_0x27294b._0xce3f84,_0x27294b._0x426c7e,_0x27294b._0x45cc53)](/[\u23CE\u2424]/g,''),_0x50201f;}function killProcessGroup(_0x393605,_0x4fadc6,_0x829968='SIGKILL'){const _0x5cdc0a={_0x5f36d7:0x51d,_0x46ca2e:0x4d7,_0x16d109:0x7f5,_0x27ac99:0x722,_0x5545dc:0x69d,_0x492239:0x72b,_0x5cce51:0x470,_0x1ed4ce:0x5eb,_0x29598c:0x49e,_0x261784:0x670,_0x3f0a23:0x526,_0x389b59:0x544,_0x277318:0x7c9,_0x240d75:0x745,_0x75b1b9:0x495,_0x24077f:0x33b,_0x2ec45d:0x714,_0x659f15:0x4d5},_0x402d0c={_0x289f2d:0x94,_0x4d59e1:0x1cb};if(!_0x393605[_0x443c5f(_0x5cdc0a._0x5f36d7,0x495,_0x5cdc0a._0x46ca2e,0x40a)])return;function _0x443c5f(_0x34aef6,_0x19235f,_0x3682c1,_0x5d1827){return _0x55c88d(_0x34aef6-0x86,_0x19235f-0x1c2,_0x5d1827,_0x5d1827-0x63);}if(_0x4fadc6)try{_0xd46fc8(_0x443c5f(_0x5cdc0a._0x16d109,0x677,0x6c1,0x7f5),[_0x5bcd0c(0x5db,_0x5cdc0a._0x27ac99,_0x5cdc0a._0x5545dc,_0x5cdc0a._0x492239),_0x393605[_0x5bcd0c(0x330,_0x5cdc0a._0x5cce51,_0x5cdc0a._0x1ed4ce,_0x5cdc0a._0x29598c)][_0x443c5f(0x583,0x5de,0x473,0x764)](),'/T','/F'],{'stdio':_0x443c5f(0x69c,_0x5cdc0a._0x261784,0x72d,0x750)});return;}catch{_0x393605[_0x5bcd0c(0x50c,0x6be,_0x5cdc0a._0x3f0a23,0x65a)](_0x829968);return;}function _0x5bcd0c(_0x3b4aaa,_0x5de752,_0x169dc7,_0x55117a){return _0x55c88d(_0x3b4aaa-_0x402d0c._0x289f2d,_0x55117a-_0x402d0c._0x4d59e1,_0x3b4aaa,_0x55117a-0x152);}try{process[_0x5bcd0c(_0x5cdc0a._0x389b59,_0x5cdc0a._0x277318,_0x5cdc0a._0x240d75,0x65a)](-_0x393605[_0x443c5f(0x5d0,_0x5cdc0a._0x75b1b9,0x417,_0x5cdc0a._0x24077f)],_0x829968);}catch{_0x393605[_0x5bcd0c(0x53a,_0x5cdc0a._0x2ec45d,_0x5cdc0a._0x659f15,0x65a)](_0x829968);}}var BackgroundProcessRegistry=class{[_0x55c88d(0x46d,0x4d8,0x3f0,0x65d)]=new Map();[_0x55c88d(0x480,0x32c,0x1f2,0x496)];[_0x55c88d(0x3a2,0x4c8,0x44f,0x4df)];[_0x55c88d(0x3c9,0x424,0x57f,0x3a5)];[_0x55c88d(0x3a6,0x4bc,0x4e6,0x362)]=0x0;constructor(_0x430981={}){const _0x3f6013={_0x220fcf:0xc6,_0x43527f:0x35,_0xece334:0x252,_0x17468b:0x22d,_0x32a010:0x156,_0x3735bf:0x97,_0x2f4c49:0x212},_0x4bb76a={_0x41eb6f:0x16d,_0x9bceb:0x54c},_0x5119ce={_0x15876a:0x29a,_0x3e2540:0x68};function _0x23c8cb(_0x481cf8,_0x6fe4b5,_0x52a2d8,_0x10e8b8){return _0x55c88d(_0x481cf8-0x2d,_0x52a2d8- -_0x5119ce._0x15876a,_0x6fe4b5,_0x10e8b8-_0x5119ce._0x3e2540);}function _0x39a1cc(_0x596abd,_0x105ebf,_0x1c2b26,_0x1d6ef3){return _0x1e45aa(_0x596abd-0x1bc,_0x105ebf-_0x4bb76a._0x41eb6f,_0x105ebf- -_0x4bb76a._0x9bceb,_0x1d6ef3);}this[_0x39a1cc(-_0x3f6013._0x220fcf,0x91,-_0x3f6013._0x43527f,-0x35)]=_0x430981['maxConcurrent']??0xa,this['maxEntries']=_0x430981[_0x39a1cc(_0x3f6013._0xece334,_0x3f6013._0x17468b,0x299,0xb0)]??0x40,this[_0x39a1cc(0x2c4,0x189,0x67,_0x3f6013._0x32a010)]=_0x430981[_0x39a1cc(_0x3f6013._0x3735bf,0x189,0x29b,_0x3f6013._0x2f4c49)]??0x100000;}[_0x55c88d(0x377,0x4d6,0x5e3,0x619)](_0x5e6073){const _0x2119d0={_0x238ef3:0x3a8,_0x1d7709:0x28d,_0x18eb13:0xcd,_0x399cf7:0x181,_0x8ce4d:0xf6,_0x1bdf49:0x2b9,_0x79e8bf:0x105,_0x230c50:0x125,_0x57f4dc:0x16,_0x106581:0x71,_0x2e8e62:0x1dd,_0x30513f:0xcb,_0x1a3b72:0x20a,_0x2406f3:0x10b,_0x339262:0x343,_0x3464b9:0x35c,_0x584444:0x2f0,_0x53e0ec:0x411,_0x39aa6d:0xc6,_0x56a237:0x29,_0x10d224:0x1d5,_0x4bed66:0x13e,_0x40afd5:0x1a,_0x595ea8:0x12b,_0x1aba60:0xac,_0x3c3c29:0x38,_0x3932ad:0x378,_0x160f79:0xd0,_0x566282:0x1bc,_0x297ca8:0x20,_0x19d7f8:0x111,_0x4c0559:0xdb,_0x19ba66:0x4a,_0xb89f02:0x100,_0x269aef:0x1cf,_0x1f4043:0x223,_0x3d01d7:0x1e9,_0x7daaa3:0x123,_0x184b6d:0x1a2,_0x123172:0x8c,_0x3ac6e1:0x234,_0x4dacfc:0x283,_0x21bc0b:0x32,_0x271cce:0x271,_0x734e59:0x16a,_0x1e98ed:0xdd,_0x49e989:0x1fc,_0x4bf97c:0x291,_0x8ac456:0x51,_0x5030cd:0x123,_0x5c3e20:0x174,_0x3941ae:0x58,_0x230f61:0x49,_0x2db563:0x9,_0x41aa1d:0x4},_0x1fd498={_0x5370b7:0x44a,_0x292fb4:0x2ef,_0xe4d2d2:0x32c,_0xae6f4f:0x23a,_0x573e30:0x32c,_0x56892b:0x273,_0x398d30:0x276,_0xc75bca:0x7a4,_0x5d2d1f:0x874,_0x110a46:0x73c},_0x29f631={_0x1f0292:0x56},_0x440b1c={_0x190607:0x490,_0x80049a:0x4dd,_0x10b705:0x490,_0x85578b:0x2b4,_0x1ace6d:0x24f,_0x296bbb:0x6a1,_0x5ed621:0x6b8,_0x5ea04a:0x7a0,_0x20faf2:0x66b,_0x5b1e56:0x5c3,_0x292172:0x46c,_0xf0f0e7:0x410,_0x35744f:0x2ed,_0x37c6e6:0x39f,_0x5c2e09:0x2e7,_0x12e5ab:0x441,_0x3cf2d3:0x3ca},_0x9935aa={_0x3478e4:0x104},_0x14c854={_0x245e69:0x1f1,_0x4e54c1:0x8d},_0x2168b0={_0x2a9c75:0x464,_0xfb30ca:0x189},_0x4bb65c={_0x1583d1:0x255},_0x559583=[...this[_0x185bc9(0x273,_0x2119d0._0x238ef3,_0x2119d0._0x1d7709,0x34a)]['values']()]['filter'](_0x22811c=>_0x22811c[_0x185bc9(0x348,0x2cc,0x43f,0x423)]===_0x185bc9(0x343,0x3b5,0x437,0x235))[_0x520798(_0x2119d0._0x18eb13,_0x2119d0._0x399cf7,0xb,_0x2119d0._0x8ce4d)];if(_0x559583>=this['maxConcurrent'])throw new ToolExecutionError(_0x185bc9(0x86,0x12f,0x1f9,0x127)+this[_0x520798(-0x138,0x34,-_0x2119d0._0x1bdf49,-0x202)]+_0x520798(-_0x2119d0._0x79e8bf,-0x148,-_0x2119d0._0x230c50,-0x115),{'running':this[_0x520798(-0x138,-0xc0,-0x260,-0x11f)]});const _0x177293='bg-'+ ++this[_0x520798(0x58,-_0x2119d0._0x57f4dc,0x41,_0x2119d0._0x106581)]+'-'+randomUUID()['slice'](0x0,0x8),_0x78f43e={'shellId':_0x177293,'command':_0x5e6073['command'],'cwd':_0x5e6073[_0x520798(-0x156,-_0x2119d0._0x2e8e62,-_0x2119d0._0x30513f,-0x1c0)],'pid':_0x5e6073[_0x520798(-0x13e,0x1e,-0x23b,-_0x2119d0._0x1a3b72)][_0x520798(-0x191,-0xb4,-_0x2119d0._0x2406f3,-0x22b)],'status':_0x185bc9(_0x2119d0._0x339262,_0x2119d0._0x3464b9,_0x2119d0._0x584444,_0x2119d0._0x53e0ec),'exitCode':null,'signal':null,'startedAt':Date[_0x185bc9(0x138,_0x2119d0._0x39aa6d,_0x2119d0._0x56a237,_0x2119d0._0x10d224)](),'child':_0x5e6073[_0x520798(-_0x2119d0._0x4bed66,_0x2119d0._0x40afd5,-_0x2119d0._0x595ea8,-0x11f)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x185bc9(_0x2119d0._0x399cf7,0x25f,_0x2119d0._0x1aba60,_0x2119d0._0x3c3c29)),'stderrDecoder':new StringDecoder('utf8'),'stripAnsi':_0x5e6073[_0x185bc9(0x21f,_0x2119d0._0x3932ad,0x24d,_0x2119d0._0x160f79)],'killRequested':![],'processExited':![]};_0x5e6073['child']['stdout']?.['on'](_0x185bc9(0xff,_0x2119d0._0x566282,0x118,0x24f),_0x4e7f57=>this[_0x185bc9(0x1a7,0xad,0x2ce,0xfc)](_0x78f43e,_0x78f43e['stdoutDecoder'][_0x520798(0x66,-0x10f,0x46,-0x7d)](_0x4e7f57))),_0x5e6073[_0x185bc9(0xc1,_0x2119d0._0x297ca8,_0x2119d0._0x19d7f8,-0x8c)][_0x520798(-_0x2119d0._0x4c0559,-_0x2119d0._0x19ba66,-0x19b,-0x9e)]?.['on'](_0x520798(-_0x2119d0._0xb89f02,0x12,-_0x2119d0._0x269aef,-0xea),_0x4ddf9a=>this[_0x185bc9(0x1a7,0x2e2,0x124,0x222)](_0x78f43e,_0x78f43e[_0x520798(0xff,0x181,0x1f1,-0x7b)][_0x520798(0x66,-0x39,0x36,0x161)](_0x4ddf9a))),_0x5e6073[_0x185bc9(0xc1,_0x2119d0._0x1f4043,_0x2119d0._0x3d01d7,-0x5f)][_0x185bc9(_0x2119d0._0x7daaa3,_0x2119d0._0x184b6d,0x22d,_0x2119d0._0x123172)](_0x185bc9(_0x2119d0._0x3ac6e1,0x2b2,_0x2119d0._0x3464b9,_0x2119d0._0x3932ad),()=>{const _0x46b936={_0x2430d0:0x6c,_0x3144b7:0x7e};function _0x1d564f(_0x3497f6,_0x27c632,_0x57a2b5,_0x40fb77){return _0x520798(_0x57a2b5-0x3e2,_0x3497f6,_0x57a2b5-_0x46b936._0x2430d0,_0x40fb77-_0x46b936._0x3144b7);}_0x78f43e[_0x1d564f(0x307,0x270,_0x4bb65c._0x1583d1,0x1fd)]=!![];});function _0x520798(_0x409c79,_0x182fb8,_0x48267f,_0x297f43){return _0x55c88d(_0x409c79-0x18d,_0x409c79- -_0x2168b0._0x2a9c75,_0x182fb8,_0x297f43-_0x2168b0._0xfb30ca);}function _0x185bc9(_0x4ee5b0,_0x48e7aa,_0x1d5d40,_0x217ecc){return _0x1e45aa(_0x4ee5b0-_0x14c854._0x245e69,_0x48e7aa-_0x14c854._0x4e54c1,_0x4ee5b0- -0x516,_0x217ecc);}return _0x5e6073['child'][_0x185bc9(0x123,_0x2119d0._0x4dacfc,_0x2119d0._0x21bc0b,_0x2119d0._0x271cce)](_0x520798(0x107,_0x2119d0._0x734e59,_0x2119d0._0x1e98ed,_0x2119d0._0x49e989),(_0x309791,_0x451a24)=>{const _0x2d35d8={_0x21ce04:0x1b5,_0x17dbea:0x173,_0x372e05:0x161};this[_0xc302b3(_0x440b1c._0x190607,_0x440b1c._0x80049a,0x41a,0x3fc)](_0x78f43e,_0x78f43e[_0xb5f521(0x2c2,0x233,0x10a,0x290)]['end']());function _0xb5f521(_0x4ff4f6,_0x484471,_0x555e74,_0x15bb9f){return _0x520798(_0x484471-_0x2d35d8._0x21ce04,_0x15bb9f,_0x555e74-_0x2d35d8._0x17dbea,_0x15bb9f-_0x2d35d8._0x372e05);}this[_0xc302b3(_0x440b1c._0x10b705,0x480,0x4bd,0x5bd)](_0x78f43e,_0x78f43e[_0xb5f521(0x279,_0x440b1c._0x85578b,0x3b1,_0x440b1c._0x1ace6d)][_0xc302b3(0x542,_0x440b1c._0x296bbb,0x658,_0x440b1c._0x5ed621)]());function _0xc302b3(_0x29d7d2,_0x59acf2,_0x285357,_0x17ef45){return _0x520798(_0x29d7d2-0x4e8,_0x17ef45,_0x285357-_0x9935aa._0x3478e4,_0x17ef45-0xe8);}_0x78f43e[_0xc302b3(0x631,_0x440b1c._0x5ea04a,_0x440b1c._0x20faf2,0x51a)]=_0x78f43e[_0xc302b3(0x45b,0x4c5,0x3ae,_0x440b1c._0x5b1e56)]?_0xc302b3(_0x440b1c._0x292172,0x453,_0x440b1c._0xf0f0e7,_0x440b1c._0x35744f):'exited',_0x78f43e[_0xb5f521(_0x440b1c._0x37c6e6,_0x440b1c._0x5c2e09,_0x440b1c._0x12e5ab,_0x440b1c._0x3cf2d3)]=_0x309791,_0x78f43e[_0xb5f521(0x280,0x306,0x427,0x35f)]=_0x451a24,_0x78f43e[_0xc302b3(0x3aa,0x280,0x313,0x462)]=null;}),_0x5e6073[_0x520798(-_0x2119d0._0x4bed66,-_0x2119d0._0x4bf97c,-0x18d,-_0x2119d0._0x8ac456)][_0x185bc9(_0x2119d0._0x5030cd,_0x2119d0._0x5c3e20,0x10c,-_0x2119d0._0x3941ae)]('error',_0x2a0b39=>{const _0xdd8ac={_0x10efc5:0x1e3,_0x30ce00:0x1c7};_0x78f43e[_0x2670cb(_0x1fd498._0x5370b7,_0x1fd498._0x292fb4,_0x1fd498._0xe4d2d2,_0x1fd498._0xae6f4f)]=_0x2670cb(_0x1fd498._0x573e30,_0x1fd498._0x56892b,_0x1fd498._0x398d30,0x268);function _0x2670cb(_0x4bd8b4,_0x3cc626,_0xb2d1b9,_0x53ecd4){return _0x520798(_0xb2d1b9-_0xdd8ac._0x10efc5,_0x3cc626,_0xb2d1b9-0x1a5,_0x53ecd4-_0xdd8ac._0x30ce00);}_0x78f43e[_0x4133df(_0x1fd498._0xc75bca,_0x1fd498._0x5d2d1f,_0x1fd498._0x110a46,0x701)]=_0x2a0b39['message'];function _0x4133df(_0x36cb38,_0x27f5e5,_0xbcdc9c,_0x5087a2){return _0x185bc9(_0xbcdc9c-0x4aa,_0x27f5e5-0x101,_0xbcdc9c-_0x29f631._0x1f0292,_0x36cb38);}_0x78f43e['child']=null;}),this[_0x185bc9(0x273,0x165,0x2ff,0x33e)][_0x520798(-0xef,_0x2119d0._0x230f61,-0xeb,-0x1b6)](_0x177293,_0x78f43e),this[_0x520798(-0x54,0xcf,-_0x2119d0._0x2db563,-_0x2119d0._0x41aa1d)](),_0x78f43e;}[_0x1e45aa(0x96f,0x721,0x836,0x704)](_0x480a77,_0xc673e3){const _0x31bd11={_0x3a1e4f:0x460,_0x54336b:0x3f5,_0x2a726a:0x330,_0x5e2cc9:0x361,_0x15b4ee:0x5b2,_0xbef54a:0x3fa,_0x4fc22d:0x545,_0x873e4f:0x37d,_0x47d54a:0x3da,_0x4641c0:0x259,_0x31e8e4:0x27d,_0x3e48f6:0x2a3,_0x2b7eed:0x4d6,_0xb1d5b1:0x371,_0x2d3a0f:0xdc,_0x35e090:0x2d8,_0x16db10:0x2a2,_0x123d67:0x417,_0x45d00b:0x265,_0x39ffe0:0x426,_0x274922:0x302,_0xda9938:0x387,_0x304199:0x4d0,_0x4383b8:0x581,_0x4ccf37:0x422,_0x3e482c:0x2d5,_0x4e9bf3:0x40a,_0x53b59b:0x306,_0x406d73:0x26b,_0x2da7e6:0x335,_0x1d95ed:0x18d,_0x3d2133:0x11d,_0x123ddf:0x160,_0x15c134:0x293,_0x1ba39e:0x4de,_0x3966dc:0x57f,_0x3a6928:0x40c,_0x274c88:0x3a2,_0x3036c6:0x5cf,_0x4f0c38:0x40f,_0x2d47ad:0x64d,_0x24e4f0:0x5ac,_0x30ef07:0x500,_0x2319d6:0x564},_0x538c52={_0x5e7f81:0x18,_0x22931d:0xe3,_0x4579c9:0x18f},_0x40b532=this[_0x1a3d0b(0x568,_0x31bd11._0x3a1e4f,0x4a0,_0x31bd11._0x54336b)][_0x1a3d0b(0x583,0x5b4,0x516,0x44f)](_0x480a77);if(!_0x40b532)throw new ToolExecutionError(_0x3a4379(_0x31bd11._0x2a726a,_0x31bd11._0x5e2cc9,_0x31bd11._0x15b4ee,0x46e)+_0x480a77,{'shellId':_0x480a77});const _0x40500f=_0x40b532[_0x1a3d0b(0x3b7,0x554,_0x31bd11._0xbef54a,0x44b)][_0x3a4379(_0x31bd11._0x4fc22d,0x368,0x4c1,0x3c0)](''),_0x2c98d8=Math[_0x3a4379(_0x31bd11._0x873e4f,_0x31bd11._0x47d54a,_0x31bd11._0x4641c0,0x34e)](_0x40b532[_0x1a3d0b(_0x31bd11._0x31e8e4,_0x31bd11._0x3e48f6,_0x31bd11._0x2b7eed,_0x31bd11._0xb1d5b1)],_0x40b532[_0x1a3d0b(_0x31bd11._0x2d3a0f,0x21d,_0x31bd11._0x35e090,0x251)]),_0x804d69=Math[_0x1a3d0b(_0x31bd11._0x16db10,_0x31bd11._0x123d67,_0x31bd11._0x45d00b,0x29d)](0x0,_0x40b532[_0x3a4379(0x455,0x466,_0x31bd11._0x39ffe0,_0x31bd11._0x274922)]-_0x40b532[_0x3a4379(_0x31bd11._0xda9938,_0x31bd11._0x304199,_0x31bd11._0x4383b8,_0x31bd11._0x4ccf37)]);function _0x3a4379(_0x3e2a9a,_0x2f0106,_0x4975e6,_0x265aab){return _0x1e45aa(_0x3e2a9a-0x1ca,_0x2f0106-0x16d,_0x265aab- -0x2e3,_0x3e2a9a);}function _0x1a3d0b(_0x25da78,_0x1e3d28,_0x5e85d6,_0x569a8c){return _0x55c88d(_0x25da78-_0x538c52._0x5e7f81,_0x569a8c- -_0x538c52._0x22931d,_0x5e85d6,_0x569a8c-_0x538c52._0x4579c9);}const _0x1dc046=_0x40500f[_0x3a4379(_0x31bd11._0x3e482c,0x338,0x1f6,0x293)](_0x2c98d8-_0x40b532[_0x3a4379(_0x31bd11._0x4e9bf3,0x2d0,0x1d5,0x302)]),_0x1f6528=_0x40b532['status']!=='running';let _0x9bb9fb;const _0x471392=_0xc673e3?.['regex'];if(!_0x471392)_0x9bb9fb=_0x1dc046,_0x40b532[_0x3a4379(0x56c,0x55d,_0x31bd11._0x53b59b,0x422)]=_0x40b532['totalProduced'];else{let _0x515680;try{_0x515680=new RegExp(_0x471392);}catch(_0x2a4e8f){throw new ToolExecutionError(_0x1a3d0b(_0x31bd11._0x406d73,0x382,0x2b5,_0x31bd11._0x2da7e6)+_0x2a4e8f['message'],{'shellId':_0x480a77,'regex':_0x471392});}let _0x157f27=_0x1dc046;if(!_0x1f6528){const _0x55d957=_0x1dc046[_0x1a3d0b(_0x31bd11._0x1d95ed,_0x31bd11._0x3d2133,0x1c1,0x29f)]('\x0a');_0x157f27=_0x55d957>=0x0?_0x1dc046[_0x3a4379(0x146,_0x31bd11._0x123ddf,0x163,_0x31bd11._0x15c134)](0x0,_0x55d957+0x1):'';}_0x9bb9fb=_0x157f27['split']('\x0a')[_0x3a4379(0x6fb,0x635,_0x31bd11._0x1ba39e,_0x31bd11._0x3966dc)](_0x54695a=>_0x515680[_0x1a3d0b(0x474,0x494,0x328,0x47c)](_0x54695a))['join']('\x0a'),_0x40b532[_0x3a4379(0x2ed,_0x31bd11._0x3a6928,0x41a,0x422)]=_0x2c98d8+_0x157f27[_0x3a4379(_0x31bd11._0x274c88,0x3e2,_0x31bd11._0x3036c6,0x4ff)];}const _0x429bdc=(_0x804d69>0x0?_0x1a3d0b(0x335,0x274,_0x31bd11._0x4f0c38,0x32e)+_0x804d69+'\x20chars\x20dropped]\x0a':'')+_0x9bb9fb;return{'output':_0x429bdc,'status':_0x40b532[_0x3a4379(_0x31bd11._0x2d47ad,_0x31bd11._0x24e4f0,0x65f,0x57b)],'exitCode':_0x40b532[_0x3a4379(0x569,_0x31bd11._0x30ef07,0x3df,_0x31bd11._0x2319d6)],'signal':_0x40b532['signal'],'truncated':_0x804d69>0x0};}[_0x55c88d(0x53d,0x3f5,0x464,0x394)](){const _0x309787={_0x3cdbc8:0xe7},_0x32457e={_0xb9df06:0x1ea};function _0x227845(_0x16d90d,_0x564c72,_0x3f8569,_0x2d00bd){return _0x1e45aa(_0x16d90d-0xdb,_0x564c72-_0x32457e._0xb9df06,_0x16d90d- -0x63a,_0x2d00bd);}return[...this['entries'][_0x227845(0x60,-0xe9,-0xb,-_0x309787._0x3cdbc8)]()];}[_0x1e45aa(0x82a,0x7dd,0x740,0x66c)](_0x2c8c2a){const _0x24cd4f={_0x179e5c:0x712,_0x4b6a77:0x311,_0x3a6c2e:0x970,_0x483e15:0x96f,_0x8d4317:0x836,_0x5f144e:0x963,_0x27fcba:0x4d6,_0x393ca7:0x5b4,_0xdf727d:0x2bf,_0x5a6ffc:0xb5,_0xc7d628:0xea,_0x48ec59:0x297,_0x17a4f8:0x255,_0x5af9fb:0x287,_0x24d060:0x74a,_0x96ed04:0x7d6,_0x510d4e:0x818,_0x15c6e1:0x8b6,_0x5e24b5:0x732,_0x1a77db:0x7e2,_0x1a77ce:0x729,_0x1f099a:0x7a5,_0x58c533:0x824,_0x44fb09:0x475},_0x469682={_0x4cbb6d:0x1cc,_0x58815f:0x187},_0x5ed045=this['entries'][_0x3b8ea8(_0x24cd4f._0x179e5c,0x725,0x7c0,0x929)](_0x2c8c2a);if(!_0x5ed045)throw new ToolExecutionError(_0x3b8ea8(0x5b2,0x63f,0x72e,0x63b)+_0x2c8c2a,{'shellId':_0x2c8c2a});if(_0x5ed045[_0x2a3cae(0x46d,0x455,0x525,_0x24cd4f._0x4b6a77)]===_0x3b8ea8(_0x24cd4f._0x3a6c2e,_0x24cd4f._0x483e15,_0x24cd4f._0x8d4317,_0x24cd4f._0x5f144e)&&_0x5ed045[_0x3b8ea8(_0x24cd4f._0x27fcba,0x70c,_0x24cd4f._0x393ca7,0x4df)]&&!_0x5ed045[_0x2a3cae(0x197,_0x24cd4f._0xdf727d,_0x24cd4f._0x5a6ffc,_0x24cd4f._0xc7d628)]){_0x5ed045[_0x2a3cae(_0x24cd4f._0x48ec59,_0x24cd4f._0x17a4f8,0x385,_0x24cd4f._0x5af9fb)]=!![];try{killProcessGroup(_0x5ed045['child'],process[_0x3b8ea8(_0x24cd4f._0x24d060,0x6ed,_0x24cd4f._0x96ed04,_0x24cd4f._0x510d4e)]===_0x3b8ea8(_0x24cd4f._0x15c6e1,0x87a,_0x24cd4f._0x5e24b5,_0x24cd4f._0x1a77db));}catch{}}function _0x3b8ea8(_0x4cb6bd,_0x25dcf0,_0x6ccf52,_0x2c6f5b){return _0x55c88d(_0x4cb6bd-0x45,_0x6ccf52-0x28e,_0x4cb6bd,_0x2c6f5b-0xd6);}function _0x2a3cae(_0x2f4b8b,_0x242f4c,_0x345688,_0x27d598){return _0x1e45aa(_0x2f4b8b-_0x469682._0x4cbb6d,_0x242f4c-_0x469682._0x58815f,_0x2f4b8b- -0x3f1,_0x242f4c);}return{'status':_0x5ed045[_0x3b8ea8(0x791,0x93b,0x83b,_0x24cd4f._0x1a77ce)],'exitCode':_0x5ed045[_0x3b8ea8(0x90b,_0x24cd4f._0x1f099a,_0x24cd4f._0x58c533,0x97a)],'signal':_0x5ed045[_0x2a3cae(_0x24cd4f._0x44fb09,0x3a1,0x3b5,0x396)]};}async['closeAll'](){const _0x250118={_0xc3a2fb:0x1e9,_0x6e7d86:0x57,_0xb4047e:0x1f,_0x2e6449:0x25b,_0x2f82a1:0x1a5,_0x28cef9:0x79f,_0x1f792b:0x8ed,_0x919eba:0x7cf,_0x4187c9:0x6b5,_0x24b3f5:0x620},_0x1b26fc={_0x381681:0x6a,_0x2819b9:0x95},_0x3dd4a1={_0x69a4ec:0x227};function _0x2f3c25(_0xeec41f,_0x2d55bb,_0x3eb2ef,_0x491141){return _0x55c88d(_0xeec41f-0x1b5,_0x491141-_0x3dd4a1._0x69a4ec,_0x3eb2ef,_0x491141-0xcc);}function _0x4730a2(_0x27aab9,_0x42bdc1,_0x4b8218,_0x14d05f){return _0x55c88d(_0x27aab9-_0x1b26fc._0x381681,_0x14d05f- -0x408,_0x4b8218,_0x14d05f-_0x1b26fc._0x2819b9);}for(const _0x69bba0 of this[_0x4730a2(0x81,-0x5c,_0x250118._0xc3a2fb,0xd0)][_0x4730a2(-_0x250118._0x6e7d86,-0x16f,-0x19,-_0x250118._0xb4047e)]()){if(_0x69bba0[_0x4730a2(_0x250118._0x2e6449,0x42,0x308,_0x250118._0x2f82a1)]===_0x2f3c25(0x8ef,_0x250118._0x28cef9,_0x250118._0x1f792b,_0x250118._0x919eba)&&_0x69bba0[_0x2f3c25(_0x250118._0x4187c9,_0x250118._0x24b3f5,0x6c0,0x54d)]&&!_0x69bba0['processExited']){_0x69bba0['killRequested']=!![];try{killProcessGroup(_0x69bba0[_0x2f3c25(0x457,0x628,0x650,0x54d)],process['platform']===_0x4730a2(-0x7d,-0xe5,0xbb,0x9c));}catch{}}}}[_0x55c88d(0x3dc,0x40c,0x4bb,0x4e0)](_0x363d61,_0x470d92){const _0x1ea20f={_0x6f8022:0x54c,_0xabca2c:0x3c9,_0x383c41:0x215,_0x478039:0x24b,_0x411200:0x277,_0x68d333:0x2b8,_0x434473:0x28f,_0x5365b9:0x28a,_0x4ae3ee:0x5e4,_0x25a992:0x596,_0x213ce8:0x51f,_0x1a670c:0x1d1,_0x159746:0x7e,_0xce2d1a:0x2ba,_0x727df9:0x34d,_0x158423:0x5aa,_0x1d4c05:0x617,_0x352d9f:0x51c,_0x3d6496:0x377,_0x2b1693:0x346,_0x523535:0x386,_0x40ec7b:0x2b5,_0x5a5a44:0x3bb,_0x5d6442:0x3dd,_0x56d5a7:0x402,_0x1c118b:0x4b6,_0x16c1bc:0x1d4,_0x110739:0x143,_0xc2c36f:0x3ad,_0x5038c1:0x346,_0x494a22:0x20b,_0x116f80:0x1e9,_0x193e08:0x236,_0x59f2a3:0x1fa,_0x2a2b11:0x32b,_0x348c33:0x689,_0x5f413b:0x5f5,_0x10198d:0x140,_0x187779:0x2b3},_0x44566b={_0x278f92:0x12,_0x2583a0:0x9a},_0x1bd6f2=_0x363d61[_0xe0f1d(0x302,0x5c8,_0x1ea20f._0x6f8022,0x472)]?stripAnsiAndControls(_0x470d92):_0x470d92;if(_0x1bd6f2[_0x3a06db(_0x1ea20f._0xabca2c,0x346,_0x1ea20f._0x383c41,_0x1ea20f._0x478039)]===0x0)return;_0x363d61['buffer'][_0x3a06db(_0x1ea20f._0x411200,0x206,_0x1ea20f._0x68d333,0x9f)](_0x1bd6f2);function _0x3a06db(_0x45c8cc,_0x3d0ef8,_0xafb584,_0x2f0c15){return _0x1e45aa(_0x45c8cc-0x79,_0x3d0ef8-0x1af,_0x3d0ef8- -0x49c,_0xafb584);}_0x363d61[_0x3a06db(0x329,0x1d1,_0x1ea20f._0x434473,_0x1ea20f._0x5365b9)]+=_0x1bd6f2[_0xe0f1d(_0x1ea20f._0x4ae3ee,0x453,_0x1ea20f._0x25a992,_0x1ea20f._0x213ce8)];function _0xe0f1d(_0x5a0b50,_0x3fa42e,_0x3c388e,_0x17e1e8){return _0x55c88d(_0x5a0b50-0x19d,_0x17e1e8- -_0x44566b._0x278f92,_0x3c388e,_0x17e1e8-_0x44566b._0x2583a0);}_0x363d61['totalProduced']+=_0x1bd6f2['length'];while(_0x363d61[_0x3a06db(0x9b,_0x1ea20f._0x1a670c,_0x1ea20f._0x159746,0x2ff)]>this[_0xe0f1d(_0x1ea20f._0xce2d1a,_0x1ea20f._0x727df9,0x3ec,0x412)]){const _0x355d2f=_0x363d61['bufferChars']-this[_0xe0f1d(0x58e,0x3eb,0x4e7,0x412)],_0x2dc2c4=_0x363d61[_0xe0f1d(_0x1ea20f._0x158423,0x3fa,_0x1ea20f._0x1d4c05,_0x1ea20f._0x352d9f)][0x0];_0x2dc2c4[_0x3a06db(_0x1ea20f._0x3d6496,_0x1ea20f._0x2b1693,_0x1ea20f._0x523535,_0x1ea20f._0x40ec7b)]<=_0x355d2f?(_0x363d61[_0xe0f1d(_0x1ea20f._0x5a5a44,0x543,_0x1ea20f._0x5d6442,0x51c)][_0xe0f1d(_0x1ea20f._0x56d5a7,_0x1ea20f._0x1c118b,_0x1ea20f._0x16c1bc,0x342)](),_0x363d61[_0x3a06db(0x14d,0x1d1,0x2a7,_0x1ea20f._0x110739)]-=_0x2dc2c4[_0x3a06db(_0x1ea20f._0xc2c36f,_0x1ea20f._0x5038c1,0x414,_0x1ea20f._0x494a22)],_0x363d61[_0x3a06db(0x213,0x149,0x82,_0x1ea20f._0x116f80)]+=_0x2dc2c4[_0x3a06db(_0x1ea20f._0x193e08,0x346,_0x1ea20f._0x59f2a3,_0x1ea20f._0x2a2b11)]):(_0x363d61[_0xe0f1d(_0x1ea20f._0x348c33,_0x1ea20f._0x5f413b,0x4ef,0x51c)][0x0]=_0x2dc2c4[_0xe0f1d(0x308,0x1a4,_0x1ea20f._0x10198d,_0x1ea20f._0x187779)](_0x355d2f),_0x363d61['bufferChars']-=_0x355d2f,_0x363d61['totalDropped']+=_0x355d2f);}}[_0x1e45aa(0x672,0x65c,0x6c1,0x735)](){const _0x4680d6={_0xbd9f42:0x3bb,_0x2f83c9:0x385,_0x504416:0x46d,_0x5917ac:0x17f,_0x2ec3d2:0x53,_0x552866:0x91,_0x9f436:0x391,_0x167091:0x251,_0x26c213:0x132,_0x22d44b:0x48b,_0x40bda1:0x490,_0x5b1f3a:0x2b7,_0x2c1778:0x261,_0x588331:0x189,_0x35db33:0x56,_0x1a1e29:0x12a};function _0x25428f(_0xdced90,_0x122538,_0x3a5e27,_0x5e938e){return _0x55c88d(_0xdced90-0x190,_0x3a5e27- -0x277,_0x122538,_0x5e938e-0x1c6);}function _0x5c3083(_0xa0dc6f,_0x13dbf2,_0x36d0ff,_0x4475b2){return _0x1e45aa(_0xa0dc6f-0x111,_0x13dbf2-0x85,_0xa0dc6f- -0x3ce,_0x13dbf2);}if(this[_0x5c3083(_0x4680d6._0xbd9f42,_0x4680d6._0x2f83c9,0x2cf,_0x4680d6._0x504416)][_0x25428f(-0x12,_0x4680d6._0x5917ac,_0x4680d6._0x2ec3d2,-_0x4680d6._0x552866)]<=this[_0x25428f(_0x4680d6._0x9f436,0x2d0,_0x4680d6._0x167091,0x153)])return;for(const [_0x1e24fd,_0x3a9200]of this[_0x25428f(0x151,_0x4680d6._0x26c213,0x261,0x2c5)]){if(_0x3a9200['status']!==_0x5c3083(_0x4680d6._0x22d44b,0x4b3,0x49f,_0x4680d6._0x40bda1)){this[_0x25428f(_0x4680d6._0x5b1f3a,0x3c2,_0x4680d6._0x2c1778,_0x4680d6._0x588331)][_0x25428f(0x1f8,_0x4680d6._0x35db33,_0x4680d6._0x1a1e29,0x67)](_0x1e24fd);return;}}}};function createBashOutputTool(_0x541024){const _0x55655d={_0x520d34:0x3eb,_0x58c0a:0x30d,_0x4c0d80:0x26d,_0x2879be:0x233,_0x1c0e88:0x325,_0x58c051:0x5ae,_0x37d7d8:0x32b,_0x222f74:0x42c,_0x545c01:0x3ab},_0x23f7e7={_0x34b46f:0x1e7,_0xb60554:0x46,_0x1f3ab4:0x405,_0x34479a:0x4c1,_0x344167:0x46a,_0x1d22d0:0xeb,_0x39bfa3:0x5d,_0x18d9b4:0x161,_0x5e4018:0x13d,_0x3ba179:0x2c7,_0x1d157f:0x173,_0x290770:0x72,_0x17b9f8:0x279},_0x17fb17={_0x4cb002:0x81,_0x20f224:0x24,_0x209d66:0xfe},_0x3d948c={_0x3f08df:0x85},{registry:_0x30fafa}=_0x541024;function _0x1c4f7a(_0x551af8,_0x25ffa1,_0xf395e7,_0x5bd4bd){return _0x55c88d(_0x551af8-_0x3d948c._0x3f08df,_0x25ffa1- -0x42,_0x551af8,_0x5bd4bd-0x126);}function _0x217bf7(_0x38aad0,_0x54866a,_0x19112a,_0x3a09a3){return _0x1e45aa(_0x38aad0-0x8f,_0x54866a-0x120,_0x3a09a3- -0x74,_0x19112a);}return defineTool({'name':_0x1c4f7a(0x1f4,0x277,0x311,_0x55655d._0x520d34),'description':_0x1c4f7a(_0x55655d._0x58c0a,_0x55655d._0x4c0d80,0x13d,0x1de),'inputSchema':{'type':_0x1c4f7a(_0x55655d._0x2879be,0x315,0x494,_0x55655d._0x1c0e88),'properties':{'shellId':{'type':_0x1c4f7a(0x59a,0x42c,_0x55655d._0x58c051,0x413)},'regex':{'type':_0x1c4f7a(_0x55655d._0x37d7d8,_0x55655d._0x222f74,_0x55655d._0x545c01,0x37f)}},'required':['shellId']},async *'execute'(_0x3a5638){const _0x499a61=_0x30fafa[_0x441bd9(_0x23f7e7._0x34b46f,0x162,0x2e4,_0x23f7e7._0xb60554)](_0x3a5638['shellId'],_0x3a5638[_0xf144e0(_0x23f7e7._0x1f3ab4,_0x23f7e7._0x34479a,0x46c,_0x23f7e7._0x344167)]?{'regex':_0x3a5638[_0x441bd9(-_0x23f7e7._0x1d22d0,-_0x23f7e7._0x39bfa3,-_0x23f7e7._0x18d9b4,-0x198)]}:void 0x0);function _0x441bd9(_0x11041c,_0x5434da,_0x2a6375,_0x1bc8f2){return _0x1c4f7a(_0x2a6375,_0x5434da- -0x3e1,_0x2a6375-0xaa,_0x1bc8f2-0x5f);}function _0xf144e0(_0x4b8a5d,_0x3b3799,_0x21b365,_0x252811){return _0x1c4f7a(_0x252811,_0x4b8a5d-_0x17fb17._0x4cb002,_0x21b365-_0x17fb17._0x20f224,_0x252811-_0x17fb17._0x209d66);}return createToolOutput(_0x499a61['output'],{'shellId':_0x3a5638[_0x441bd9(0x12f,0x4a,0x128,0x15c)],'status':_0x499a61[_0x441bd9(0x23a,0x18a,_0x23f7e7._0x5e4018,_0x23f7e7._0x3ba179)],'exitCode':_0x499a61[_0x441bd9(0x8c,_0x23f7e7._0x1d157f,_0x23f7e7._0x290770,_0x23f7e7._0x17b9f8)],'signal':_0x499a61['signal'],'truncated':_0x499a61['truncated']});}});}function _0x770d(){const _0x56f78b=['AgvHzgvYCW','qMfZzsbKAxjLy3rVCNK6ia','v0vcua','te9x','yMfJA2DYB3vUzfjLz2LZDhj5','C2vHCMnOugfYyw1Z','DhjPBq','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','C2HHmJu2','zxH0zw5ZAw9UCW','s2LSBgvKia','Aw5WDxrty2HLBwe','zxjYB3i','Aw5JBhvKzxm','yw50AhjVCgLJlw1LC3nHz2vZ','zhvWBgLJyxrLx3rVzg9FAwrZ','AxngAwXL','ywjVCNq','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','zNjVBuvUDhjPzxm','C3rYAw5NAwz5','Aw5WDxq','y29UBMvJDa','qMfZAa','y2HHCMfJDgvY','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','yxv0AfjLCxvPCMvK','ywDLBNrZ','zNvUy3rPB24','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','xsb0CMfUC3bVCNqGzxjYB3i6','C291CMnL','yMfZzw5HBwu','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','zNjVBq','zgvMyxvSDfrPBwvVDxrnCW','yxnPzgu','r0LgodDH','CxvLC3rPB25Z','Aw52ywXPzf90B2rVx3n0yxr1CW','Aw5PDgLHBgL6zwq','y21KlMv4zq','z29uB0LTCgXLBwvUDgf0Aw9U','sfruuca','ignVBxbSzxrLzc4','lMnTza','Ag9ZDa','Dg9ju09tDhjPBMC','DxjS','u2HLBgWGBM90igzVDw5KoIa','tunqihrVB2WG','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','y291BNq','u2TPBgWGjW','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','EwfYBI5SB2nR','B2XSyw1H','DMfSDwu','A2LTAq','ANnVBMm','C2TPBgXZ','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','y29ZDa','mtK4lJe4lJaUma','yNvMzMvY','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','yMfZzty0','BgvUz3rO','z2v0','y2XPzw50','ls1ZDgrPBW','BgfUz18','AMf2yxnJCMLWDa','BgLTAxq','C3rHDhvZvgv4Da','zxzLCNK','thnW','Cgf0DgvYBIbPCYbYzxf1AxjLza','CgfJA2fNzs5QC29U','vg9KBYa','zw5NAw5LCW','ls1MAwXLCW','ChjVy2vZCW','C2H1DgrVD24','DhvWBgu','y29UBMvJDgLVBG','ygbG','zgvZy3jPChrPB24','zgvUBY5QC29U','ywDLBNrjza','CgXHDgzVCM0','CMvMzxjLBMnLCW','qgjPB21LANmVyMLVBwu','zw5NAw5L','zhj5uNvU','BwnWxW','t1bftLjpvvrfuL9bueLFs0vz','D29YA3nWywnLl3n5BwjVBa','yMvHCMvY','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','Aw1Hz2uVANbLzW','DhjHBNnMB3jT','DxrTx21LzgL1Bq','DhjPBuvUza','ls1YzwDLEha','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','l3vZCI9IAw4VC2G','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','B3bLBMfP','y2XLyxi','CMvXDwLYzwq','zgvUBY5QC29UyW','DgvZDa','l3bPza','Dg90ywW','C3rVCMfNzurPCG','C3rKzxjYrgvJB2rLCG','yxjNDw1LBNrZ','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','Ag9TzwrPCG','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','CgfJA2fNzu5HBwu','rgLHz25VC3rPyW','AxnbCNjHEq','y2XVC2u','CM9VDa','C2vHCMnOvhLWzq','C3rHCNreAxi','Dg9VBa','mte1uxz4AenL','qu5usfjpueLdx0fqsv9lrvK','z2XVyG','BwnFy2LK','rgv0ywLSoIa','pc9ZExn0zw0TCMvTAw5Kzxi+','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','Bg9VA3vW','sw52ywXPzcbvuKWGCgfYyw1LDgvY','uxvLC3rPB24G','z2v0uhjVDg90ExbLt2y','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','CMfUz2u','B2zMC2v0','BgL0zxjHBa','Aw5ZDgfSBa','A2v5CW','Dhj1zq','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','Aw1WBgvTzw50yxrPB24','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','CMvHza','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','lMXVzW','AxrLBxm','y29UDgv4DeXPBMS','Dw5RBM93BG','yxv0Ag9YAxPHDgLVBL9JB2rL','igzHAwXLzc4','uhjVz3jHBuzPBgvZ','zxH0BMfTzq','yxbPs2v5','y2HHCKnVzgvbDa','AgvHzgvY','zgLYzwn0B3j5','CgfYzw50u2vZC2LVBKLK','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','Bwf4uMvKAxjLy3rZ','zxHPDenVzgu','zgvMAw5PDgLVBG','tuLnrtOG','BM9Uzq','ywrK','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','Bwf0y2HLCW','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','zMLUywXnzxnZywDL','Aw1Hz2uVz2LM','zgLZywjSzwq','yxbWBgLJyxrPB24VANnVBG','DhLWzq','CNvUswq','zMjJBgLK','tg9HzfnRAwXS','l2jPBI9ZAa','BNbT','CNvUBMLUzW','C3rKAw8','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','ls1OAwrKzw4','Dg9VBe5HBwu','C3rHDhvZ','AxnjBNrLz2vY','AwzYyw1L','BgLUzvn0yxj0','zMLSDgvY','CgLWzq','C3vIyxjYyxK','y29UC3rYDwn0B3i','C2LNBMfS','Dg9VBenHBgXjza','Dg9VBhm','Cg9W','BMf2','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','AhLKCMf0zu1LDge','u2L6ztOG','Aw5JB21PBMDdywXSCW','zxjYB3jnzxnZywDL','CMvXDwvZDa','Dg9KB3m','C3jJl2v4yw1WBgvZl2rLBw8UDhm','zMLUAxrL','yxnRvxnLCG','qMfZAe91Dhb1Da','Ec1HCgKTA2v5','lM51DMLU','rMLSzvjLywq','C3rKB3v0','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','zw5HyMXLza','w1bFxL1BxhnCu10QpW','BgLUzxm','C3rHCNrZv2L0Aa','BM9Zy3jPChq','z2v0vg9KB3m','C2XPy2u','BxvSDgLtzwXLy3q','DhnJB25MAwCUANnVBG','mty5lJi1nc4WlJa','CgfZC3rOCM91z2G','C2L6zq','yNL0zuXLBMD0Aa','wKfjx0fqsv9lrvK','CxvLCNK','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','Bg93','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','z2L0AhvI','Bw9Kzq','CgLK','BwLU','BgLUzvrLEhq','r2XVyG','ChjVy2vZC0v4AxrLza','Cgf0DgvYBG','BMv3vgv4Da','r09pr0Xfx0ntrv9dwa','C2vSzwn0Aw9UuMfUz2u','lMPWzW','D2HPy2GGCMC','y29TBwfUza','qxv0Ag9YAxPHDgLVBG','yMLVBwuUANnVBG','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','zxf1ywXZ','Bwv0yxrHz3m','BwnFzwLK','CgfJA2fNzs1SB2nRlMPZB24','Aw5KzxHpzG','B3v0z29PBMDdywXSCW','C2vYDMvY','y2XPzw50twv0ywrHDgfvCMW','BgLUzuvUza','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','igj5DgvZicHVCMLNAw5HBdOG','t0zg','vw50AxrSzwq','C3jJl2fNzw50l2fNzw50lNrZ','v2vIrMv0y2G','Cg5WBs1SB2nRlNLHBwW','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','lNrZEa','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','yw5ZD2vYCW','wZ0+nY04kcLD','ienHDxnLoIa','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','BwvZC2fNzq','Cgf0Ag5HBwu','zgLZy292zxj5','lM1QCW','mtGZodqZnJbHru1bBwO','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','sw52B2TLq29TBwfUza','B3rOzxi','CMfUzg9T','DxjP','ugf0AcbUB3qGzM91BMq6ia','C2L0ztO','BgfUz3vHz2u','lMnQCW','Aw1Hz2u','ksbB','AxngAw5PDgu','Aw52ywXPzf90B2rVx2LK','sw5MB3jTyxrPB24','Dhj1BMm','y3DK','CgfJA2fNzxm','Aw5PDgLHBgL6zq','C2vZC2LVBKLK','icHWAwqG','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','DhjHBNnMB3jTCW','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','zg9JDw1LBNrtEw1IB2W','B2f1DgG','mJqWlJaUmc4W','yNvUlMXVy2TI','l29WDc9OB21LyNjLDY9IAw4VCMC','o1TExg5DkJ8','xg5DkJ8','Aw1Hz2uVD2vICa','C29YDa','y29UDgv4Da','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','tM8GzgLHz25VC3rPy3m','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','yxr0CG','Aw5FChjVz3jLC3m','y2HPBgq','zgLZy292zxj5u3rHDgu','mtKYlJe2oc4WlJa','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','DxbKyxrL','ugfJA2fNzxm','Bwf4q29Uy3vYCMvUDa','oIbPzcbYzxf1AxjLza','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','CM91BMq','C3bHD25PBMC','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','lu5VuhjVzMLSzq','uhjVz3jHBuzPBgvZkhG4nIK','Dg90ywXeCM9WCgvK','DhnJ','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','r3jLCa','vw5RBM93BIb0B29SoIa','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','Aw50zwDLCG','icHZDgf0Dxm6ia','C2vUzfjLCxvLC3q','zgLHz25VC3rPy3m','mtaUmc4WlJa','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','Bw9KzwW','z29uB0rLzMLUAxrPB24','zgf0zxrPBwu','tgLUzsa','C2fMzq','Ahr0Chm6','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','zMXVB3i','zMXHDe1HCa','CgfYC2u','Aw52ywXPzf90B2rVx3bYAw9YAxr5','D2HLCMuGCMC','B2C6DxbKyxrLzf90Aw1L','CMCUzxHL','lMPZ','y2XLyw51Ca','mZyZnJeZnNLgzuPXrq','zg9TywLUCW','C25PChbLDa','C2HPzNq','q291BgqGBM90ihjLC29SDMuGAg9ZDa','C3rHCNq','B2jQzwn0','B3bLBG','Dw5PB24','mMrRte1QDG','mti3lJaUmc4W','v2LUr2v0','CNvUsw5cywnRz3jVDw5K','B3v0Chv0','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','CMvSyxrPDMu','yxjNDw1LBNriAw50','zgf0yq','DhnZzxj2zxiUANm','Bg9HzenVBw1HBMq','B25LCNjVCG','ChjLzML4','zgfYAW','C2nYAxb0','zMLSzq','zMLSztOVlW','zNvSzMLSBgvK','zMLUzfjLzMvYzw5Jzxm','CMvMAw5L','BhmGlwXH','lI4U','y2f0y2G','Dg9VBc1VDxrWDxqTB2zMBg9Hza','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','C2v0','B3bLBMfPlxjLC3bVBNnLCW','AxneAxjLy3rVCNK','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','y29UDgvUDc10ExbL','cMbGya','Dg9mB3DLCKnHC2u','CMvWBgfJzq','qwXSia','z29Vz2XLlwnZzq','tM8GC3vJAcbMAwXLoIaN','Bwf4','Ahr0CdO','BgfZDeLUzgv4t2y','tuvesvvn','Aw5qCM9NCMvZCW','zgLYBMfTzq','ru5pru5u','lMPZB24','B25Jzq','C3rKzxjY','CgfYC2vjBNq','yxjNDw1LBNrZvgv4Da','C3rHDgu','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','yxv0BW','D2vI','B3b0Aw9UCW','CMvTB3zLrxzLBNrmAxn0zw5LCG','zMLSBa','l3vZCI9SB2nHBc9IAw4VCMC','yM9VBgvHBG','l3vZCI9IAw4VCMC','mti1ntfeCvvurMW','uhvIBgLZAgvKoIa','ntqWngTwEKPtta','mtKYlJaUmc4W','yxv0Aa','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','mJi0lJaUmc4W','BM93','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','BgLZDfrVB2XZ','lw5i','zgvSzxrL','o1TE','AMf2yxnJCMLWDhjLywn0','yxnJAwK','CMvTB3zL','Dg9vChbLCKnHC2u','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','Dg9Rzw5Z','y2fWywjPBgL0AwvZ','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','igj5DgvZicH0B3rHBdOG','z2v0t3DUuhjVCgvYDhLoyw1LCW','cGPbuKDvtuvovfm6ia','CMvZDwX0CW','Ag92zxi','Aw1Hz2vZ','DxrTx2nHBxbHAwDU','AxnfBMfIBgvK','vg9Vig1HBNKGCMvKAxjLy3rZ','ugf0AcbPCYbUB3qGysbMAwXLoIa','qxnRvxnLCLrVB2W','DhvYBMrVD24','ywn0AxzL','DgHLBG','B3bLBNjVDxrLCG','y2fJAgvK','yNvMzMvYq2HHCNm','BgLUzq','y2XPzw50sw5MB3jTyxrPB24','zMLSzvbHDgG','C2vUza','AxndB250zxH0','rMLSzsb3CML0DgvUigf0ia','Bwf4qNL0zxm','qMvHCMvYia','Bwv0yq','CMvNzxG','y2vPBa','y2fSBfrVB2W','CxvLC3rPB24T','A2v5yMLUzgLUz3m','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','BwvTB3j5','AgLNAa','DMvYAwzPzxi','DgfZAW','y29TBwfUzhm','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','BxrPBwu','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','AhrTBfnUAxbWzxq','ls1NBg9IpseUz2L0lYO','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','A2LSBfjLCxvLC3rLza','ywXSu2v0DgXLza','zw52','qwDLBNqGCNvUia','EwvZ','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','z2vUzxjHBa','y29KzvzLCMLMAwvY','r0LgodLH','DgL0Bgu','DhLWzxnJCMLWDa','zgv0ywLS','Dgv4DerVy3vTzw50l2rPze9Wzw4','yMfZAwm','DxrMoa','CMvZB2X2zq','A2LSBgvK','DMfSDwvZ','rMLSzuvKAxq','y29UzMLN','C2vYDMvYCW','BM9Kzv9TB2r1BgvZ','zMfPBgvK','AwDUB3jLt3v0Chv0','AhjLzG','ChvZAa','AM9PBG','ywrKrxzLBNrmAxn0zw5LCG','A2v5','BgLZDa','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','Axnoyu4','Bg9JywXLq29TCgfYzq','y2XPzw50CW','ywXSB3DLzfrVB2XZ','ChjPB3jPDhK','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','sgLUDa','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','rMv0y2GGDgLTzwqGB3v0','yxnZAwDU','BwfYA2rVD24','CMvZDwX0','yMLYDgH0Aw1L','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','phn5C3rLBs1Yzw1PBMrLCJ4','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','ls1NBg9Ipq','Dgv4Dc9ODg1S','te9dquXbufbeqvrb','y2fSBgjHy2TvCMW','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','yxbWzw5K','CMvJB3jK','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','BgfUzW','zxzPy3rjzK5LzwrLza','w291Dhb1Dcb0CNvUy2f0zwq6ia','D29YA3nWywnLu3LTyM9S','rMv0y2GGywjVCNrLzcbIEsb1C2vY','zMLYC3q','ls1JB2X1Bw4','ChjLChjVy2vZCW','Ahr0Ca','sw52ywXPzcbYzwDLEdOG','ChjLCgfYzunHBgXiAwvYyxjJAhK','DhLWzxnJCMLWDhjLywn0','zg5Zl3bYB21PC2vZ','Dg9tDhjPBMC','z2L0qNjHBMnO','Dhj1zwnVBg9Y','CgvUzgLUzW','qxzHAwXHyMXLignVBw1HBMrZoG','CgXHAw50zxH0','seLhsa','BNv2Aw4','y2fWq2HHCNm','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','C2vYDMvYtMfTzq','ig1HDgnO','Cgf0Aa','C3bSAxq','CMvXDwvZDhm','DxrTx3nVDxjJzq','Aw52ywXPzf90B2rVx2L0zw0','B3bLBKzPBgvZ','zxjYB3jZ','ChjVDg90ExbL','C2v2zxjPDhK','yxjNDw1LBNroyw1LCW','CxvLC3rPB24','mJy0mJuXn2LPA0XQtq','yMLVBwuUANnVBMm','vg9KB1DYAxrL','BhnW','B25szwrPCMvJDa','ig1Z','lNbUzW','uKLgrG','DxnLCM5HBwu','zgvMyxvSDen3za','yNjVA2vU','BNvTyMvY','C3r5Bgu','CMvHC29U','Dgf2AwX5','EMfP','yM0Ynq','y29TCgXLDgvK','y3jLyxrLzef0','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','vg9WAwmGC2v0ihrVici','yMLVBwu','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','C3vKBW','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','lMPWzwC','ANnVBG','zgLNzxn0','B3b0Aw9UywW','ls1MB2XSB3C','Dg91y2HgAwXL','BhnWu2vYDMLJzq','CMvHzen1CNnVCG','z2v0u3rHDhm','rxjYB3i','ls1NBg9I','z29Vz2XLq3nLq3G','Dg9WAwm','revfueLorLjbx0fqsv9lrvK','zw51Bq','ls0T','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','Aw5PDgLHBgL6yxrPB24','ywXS','twLJCM9ZB2z0','C2v0vg9KB3m','v2fYBMLUzW','cGOTls0kcG','y2HHDgDWDa','BwfUDwfS','zgvSAw1PDgvY','BM90Awz5','DgLTzw91De1Z','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','BwLUAw1HEa','y2fSBeLK','C2HLBgXjza','C3rYAw5N','s2LSBfnOzwXS','Dg9KB3ncEvnLC3nPB24','lMPZB25J','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','BgLUzu51Bq','revfufnfruTFqvbjx0Tfwq','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','Aw5ZDhj1y3rPB25Z','y29UDgvUDa','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','y2HHBMDL','Bg9JyxrPB24','zMLUywXnzxnZywDLvgv4Da','C3jJl3nOyxjLzc90ExbLCY50CW','w01duca','zMvUy2vK','CMvJzw5JEurHExm','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','y2XPzw50x3nLy3jLDf9WB3n0','C3rYAxbbBNnP','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','vxbKyxrLihrOzsbZzxnZAw9UihrVCgLJihrVigeGy29Uy2LZzsaZltyGD29YzcbUB3vUihbOCMfZzsb0Agf0ignHChr1CMvZihrOzsbJDxjYzw50ihn1yMPLy3qUcGPdywXSihrOAxmGDg9VBcb3AgvUihrOzsbZzxnZAw9Uj3mGC3vIAMvJDcbIzwnVBwvZignSzwfYig9YihnOAwz0CYb0BYbZB21LDgHPBMCGy2XLyxjSEsbKAwzMzxjLBNqG4Ocuig5VDcbMB3iGBwLUB3iGDgfUz2vUDhmGB3iGy2XHCMLMEwLUzYbZDwiTCxvLC3rPB25ZlIbjzIbUB3rOAw5NigHHCYbTzwfUAw5NzNvSBhKGy2HHBMDLzcWGzg8GBM90ignHBgWGAxqUcGPhB29KihrVCgLJicHUB3vUihbOCMfZzsWGmY02ihDVCMrZktOkicaIrgvIDwCGvfmGz2vUzxjPy3mGzxjYB3iIcIaGiLjLzMfJDg9Yigf1DgGGBwLKzgXLD2fYzsikicaIqwrKifn0CMLWzsb3zwjOB29RigHHBMrSzxiIcGPcywqGDg9WAwmGkgz1BgWGC2vUDgvUy2uGB3iGDMfNDwuPoGOGicjuAguGDxnLCIb3yw50CYb0BYbKzwj1zYbHifr5Cgvty3jPChqGz2vUzxjPy3mGzxjYB3iGAw4GDgHLAxiGChjVAMvJDcikicaIy29KAw5NiG','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','BwfW','t1bftKfjx0fqsv9lrvK','C2nYDwjfBNzlzxLZ','y3jSzG','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4Grg8GBM90ihvZzsbMB3iGCMvHzgLUzYbMAwXLCYaODxnLiezPBgvszwfKigLUC3rLywqPlIbtzxqGCNvUsw5cywnRz3jVDw5KoNrYDwuGzM9YigXVBMCTCNvUBMLUzYbJB21Tyw5KCYaOC2vYDMvYCYWGD2f0y2HLCNmPoIbPDcbYzxr1CM5ZigeGC2HLBgXjzcbPBw1LzgLHDgvSEsdIGjqGCMvHzcbVDxrWDxqGD2L0AcbcyxnOt3v0Chv0igfUzcbZDg9WigL0ihDPDgGGs2LSBfnOzwXSlIbetYbot1qGvvnfiejbu0GGve9ptcbMB3iGCMvHzcbMAwXLihvZzsbgAwXLuMvHzc4Gww91ie1vu1qGChjVDMLKzsbHignVBMnPC2uGygrLC2nYAxb0Aw9UycbLEhbSywLUAw5NihDOyxqGDgHLignVBw1HBMqGzg9LCYbHBMqGD2H5ihLVDsbHCMuGCNvUBMLUzYbPDcaODgHLigDVywWGAxqGywr2yw5JzxmPiokaLcbPDcbPCYbZAg93BIb0BYb0AguGDxnLCIbMB3iGDhjHBNnWyxjLBMn5igjLzM9YzsbLEgvJDxrPB24UifrOzsbKzwzHDwX0ihrPBwvVDxqGAxmG','zgvSzwDHDgvKlxj1BI0','mc4WlJaUma','A2LSBa','iYmGu2TPBgW6ia','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','C29Tzq','yxjNCW','r0Lusfvcx0fdq0vtu19ut0TftG','yw5ZAte2','lNrTCc4','C2HLBgXqyxrO','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','zxHPDa','zMLSzvzLCNnPB25Z','B2zM','zxHPDcbJB2rLia','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','mtCZmdu4vu54CMDv','DxrTx3rLCM0','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','y29Kzq','B2XKvgv4Da','lMjPBG','D2LUmZi','BgLNAhq','A2LUza','AgfZ','Dgf2AwX5qxbPs2v5','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','lu5Vtg9NBW','lMDPzG','mJK2nde1m1fICxPIAa','C2vUze5VDgLMAwnHDgLVBG','AwDUB3jL','ChvIBgLZAgvKqxq','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','Aw5JBhvKzq','vw5HDxrOB3jPEMvKrxjYB3i','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','tuLosu1bwf9bueLFs0vz','DgfZA2TPBgW','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','yxjYyxK','AxnbyNnVBhv0zq','ywXSB3DLzerPCNm','z29Vz2XLq3nLs2v5','oIbPBNzHBgLKihbYAw9YAxr5','y291BNrLCG','lNrZ','zw5K','Dg9VBhmVy2fSBa','mtCYlJe2lJaUma','B25oB3rPzMLJyxrPB24','uefusa','qvbjx0Tfwq','rMLSzu5LDW','otaWohPSBejiAG','lunVBw1HBMq','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','Bwf4rw50CMLLCW','ChjVDg9JB2W','D3jPDgu','C3rKAw4','Dgv4Da','CMLWz3jLCa','ie9sia','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','yNvUlMXVy2S','zMLUza','BxrPBwvnCW','lM10CW','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C3bHD24','tunqihnLCNzLCIa','zw50CMLLCW','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','Agv4','AgfUzgXL','z2nSAwq','BMfTzq','DgLTzvTKyxrLDgLTzv0','BgfIzwW','C3rKB3v0rgvJB2rLCG','CMvNAw9U','AxnfCNjVCG','wefjx0fqsv9lrvK','B3jPz2LUvg9VBenHBgXjza','ygbGANnVBGO','tM8GAg92zxiGAw5MB3jTyxrPB24','ywjVCNrLza'];_0x770d=function(){return _0x56f78b;};return _0x770d();}import{spawn as _0x5e1cde}from'child_process';import{statSync}from'fs';import*as _0x2fe994 from'os';import*as _0x4b071c from'path';import{StringDecoder as _0x3d9f8a}from'string_decoder';import{stat}from'fs/promises';import*as _0x440db6 from'path';function isPathInside(_0xe4dc5e,_0x18c523){const _0x37b79a={_0x2fd73e:0x1b0,_0x274a24:0x6d,_0x44508a:0x6c,_0x177377:0x3a,_0x544983:0x189},_0x54a7ac={_0x549b8a:0x1ae,_0x3fb66f:0x99},_0x338b81={_0x4602ff:0x16c};function _0x275dea(_0x5063f6,_0x3cfdc4,_0x5e047c,_0x236d0f){return _0x55c88d(_0x5063f6-_0x338b81._0x4602ff,_0x5063f6- -0x35f,_0x236d0f,_0x236d0f-0x1de);}const _0xd1b5dc=_0x440db6['resolve'](_0xe4dc5e);function _0x2bff80(_0xe487ea,_0x110942,_0x504d3e,_0x51f8c0){return _0x1e45aa(_0xe487ea-_0x54a7ac._0x549b8a,_0x110942-_0x54a7ac._0x3fb66f,_0x504d3e- -0x5e0,_0x51f8c0);}const _0x30c4ec=_0x440db6['relative'](_0xd1b5dc,_0x18c523);return _0x30c4ec===''||!_0x30c4ec[_0x2bff80(-_0x37b79a._0x2fd73e,-0x164,-_0x37b79a._0x274a24,-_0x37b79a._0x44508a)]('..')&&!_0x440db6[_0x2bff80(_0x37b79a._0x177377,0x2af,_0x37b79a._0x544983,0x21e)](_0x30c4ec);}function resolveWorkspacePath(_0x2b9e40,_0x25e418){return resolveAllowedPath(_0x2b9e40,[],_0x25e418);}function resolveAllowedPath(_0x4d90c4,_0x3637f9,_0x414888){const _0x596553={_0x53edf9:0x284,_0x2e60cb:0x294,_0x361c92:0x125,_0x3e2012:0x339,_0xa4314f:0x1f9,_0x4684d9:0x158,_0x5e01d8:0x145,_0x2755b8:0xbc,_0x1c4063:0x5b,_0x17fb7f:0xe9,_0x28fefc:0x37},_0x4c0276={_0x3152c0:0x3e,_0x10d2fc:0x540},_0x29fc2f={_0x174506:0x15b,_0x48fe01:0x34d,_0x279641:0x1eb},_0x3570fd=_0x440db6[_0x244ceb(_0x596553._0x53edf9,_0x596553._0x2e60cb,0x158,_0x596553._0x361c92)](_0x4d90c4),_0x3d19d6=_0x440db6['resolve'](_0x3570fd,_0x414888);function _0x9d8faf(_0x1ed49a,_0x5ea4f9,_0x22dd4c,_0x372c97){return _0x55c88d(_0x1ed49a-_0x29fc2f._0x174506,_0x372c97- -_0x29fc2f._0x48fe01,_0x22dd4c,_0x372c97-_0x29fc2f._0x279641);}function _0x244ceb(_0x322984,_0x1bbba7,_0x52cadb,_0x583b19){return _0x1e45aa(_0x322984-0x1a9,_0x1bbba7-_0x4c0276._0x3152c0,_0x52cadb- -_0x4c0276._0x10d2fc,_0x1bbba7);}const _0x267e2e=[_0x3570fd,..._0x3637f9[_0x244ceb(0xfa,_0x596553._0x3e2012,_0x596553._0xa4314f,0x208)](_0x6e73e0=>_0x440db6['resolve'](_0x6e73e0))];if(_0x267e2e[_0x9d8faf(0xc8,_0x596553._0x4684d9,0x282,_0x596553._0x5e01d8)](_0x4e473d=>isPathInside(_0x4e473d,_0x3d19d6)))return _0x3d19d6;throw new ToolExecutionError(_0x9d8faf(_0x596553._0x2755b8,-_0x596553._0x1c4063,_0x596553._0x17fb7f,-_0x596553._0x28fefc)+_0x414888,{'path':_0x414888,'rootDir':_0x3570fd,'allowedDirs':_0x267e2e});}async function assertWorkspaceFile(_0x281eb5){const _0x1aa999={_0x2c6c50:0x10e,_0x4a3700:0x37};function _0x52b237(_0x47aa34,_0x542e1b,_0x1ddc89,_0x2a7c20){return _0x1e45aa(_0x47aa34-0x1ea,_0x542e1b-0xac,_0x47aa34- -0x671,_0x2a7c20);}const _0x54da2f=await stat(_0x281eb5);if(!_0x54da2f['isFile']())throw new ToolExecutionError(_0x52b237(-0xb,-0x8b,_0x1aa999._0x2c6c50,_0x1aa999._0x4a3700)+_0x281eb5,{'path':_0x281eb5});}function isProbablyBinary(_0x4dd40a){const _0x4b8d2a={_0x9de18d:0xeb,_0x3bd371:0x363,_0x151fe7:0xaa};function _0x457d75(_0x5c48cd,_0x32d712,_0x38a69f,_0x530abf){return _0x55c88d(_0x5c48cd-_0x4b8d2a._0x9de18d,_0x5c48cd- -_0x4b8d2a._0x3bd371,_0x530abf,_0x530abf-_0x4b8d2a._0x151fe7);}return _0x4dd40a[_0x457d75(0x195,0x1b4,0x19a,0x113)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x55c88d(0x39f,0x48c,0x58c,0x564)+DEFAULT_TIMEOUT_MS+'ms';function buildChildEnv(_0x550a74,_0x23ab1e){const _0x5cbc89={_0x3e0ba2:0x42,_0xfbd61a:0xde,_0x537d97:0xb6,_0xb06643:0xbc,_0x57482b:0x9a,_0x130ddf:0x89,_0xdb1cf6:0x150,_0x52e7e9:0x6d,_0x22e07a:0xe,_0x5a3347:0x1d0,_0x44b2c1:0x43,_0x5e2aca:0x34d,_0x5db076:0x8c,_0x361508:0xa0,_0x3336cd:0x205,_0x53e518:0xb0},_0x5755ee={_0x3aa970:0x6cc},_0x28d622={_0x816c8a:0x5f5};function _0x5d7afd(_0x403e63,_0x378b4c,_0x693ae1,_0x2cbb16){return _0x1e45aa(_0x403e63-0x1d2,_0x378b4c-0x11b,_0x2cbb16- -_0x28d622._0x816c8a,_0x403e63);}const _0x117d51={...process[_0x278385(-_0x5cbc89._0x3e0ba2,_0x5cbc89._0xfbd61a,_0x5cbc89._0x537d97,_0x5cbc89._0xb06643)],..._0x550a74??{}};function _0x278385(_0x25346c,_0x582811,_0x86d7c2,_0x1b0ad3){return _0x1e45aa(_0x25346c-0x45,_0x582811-0xbe,_0x25346c- -_0x5755ee._0x3aa970,_0x582811);}if(_0x23ab1e['length']===0x0)return _0x117d51;if(_0x2fe994[_0x5d7afd(0xd6,0x2e6,_0x5cbc89._0x57482b,0x204)]()===_0x278385(_0x5cbc89._0x130ddf,0x16e,0x1fa,_0x5cbc89._0xdb1cf6)){const _0x56eea6=new Set(_0x23ab1e[_0x278385(_0x5cbc89._0x52e7e9,_0x5cbc89._0x22e07a,_0x5cbc89._0x5a3347,-_0x5cbc89._0x44b2c1)](_0x217ed3=>_0x217ed3['toLowerCase']()));for(const _0x124916 of Object[_0x5d7afd(0x31b,_0x5cbc89._0x5e2aca,0x30c,0x23c)](_0x117d51)){if(_0x56eea6[_0x278385(_0x5cbc89._0x5db076,0x1c,0x6a,-0xb2)](_0x124916[_0x278385(-_0x5cbc89._0x361508,-_0x5cbc89._0x3336cd,_0x5cbc89._0x53e518,_0x5cbc89._0x44b2c1)]()))delete _0x117d51[_0x124916];}}else{for(const _0xf7d397 of _0x23ab1e)delete _0x117d51[_0xf7d397];}return _0x117d51;}function mapSpawnError(_0x1b5e6a,_0x5053df){const _0x37abb5={_0x545963:0x303,_0x1ab98b:0x28d,_0x32bf16:0x671,_0x8bb900:0x763},_0x2382ea={_0xb3ac51:0x79},_0x415018={_0x4ad017:0xc2,_0x270647:0xfa};if(isErrnoException(_0x1b5e6a)&&_0x1b5e6a[_0x22c8c1(0x31b,_0x37abb5._0x545963,0x392,_0x37abb5._0x1ab98b)]==='ENOENT')return new ToolExecutionError(_0xea2b1f(0x7ca,0x961,0x7ea,0x8c9)+_0x5053df[_0xea2b1f(_0x37abb5._0x32bf16,0x5ef,_0x37abb5._0x8bb900,0x5f4)],_0x5053df);function _0x22c8c1(_0x128244,_0x3e70d6,_0x715dd1,_0x576bfa){return _0x1e45aa(_0x128244-_0x415018._0x4ad017,_0x3e70d6-_0x415018._0x270647,_0x576bfa- -0x4c5,_0x128244);}function _0xea2b1f(_0x1b1836,_0x497812,_0x22db99,_0x2c80bf){return _0x55c88d(_0x1b1836-0x1d0,_0x22db99-0x2cc,_0x497812,_0x2c80bf-_0x2382ea._0xb3ac51);}return new ToolExecutionError(_0x1b5e6a instanceof Error?_0x1b5e6a['message']:String(_0x1b5e6a),_0x5053df);}function shellExists(_0x2650e1){const _0x1b1318={_0x16d197:0xe1,_0x2c3680:0x57,_0x475471:0x464,_0xe14d93:0x5bb},_0x378158={_0x9f2358:0x755};function _0x4092ed(_0x40b756,_0x18b90f,_0x59a530,_0x369874){return _0x1e45aa(_0x40b756-0x148,_0x18b90f-0x1b,_0x59a530-0x38,_0x40b756);}function _0x46708a(_0x3a8047,_0x439102,_0x4473fd,_0x4b7c8c){return _0x1e45aa(_0x3a8047-0x16e,_0x439102-0x195,_0x4b7c8c- -_0x378158._0x9f2358,_0x3a8047);}try{const _0x5e0483=statSync(_0x2650e1);return _0x5e0483[_0x46708a(-_0x1b1318._0x16d197,-0x65,0x99,_0x1b1318._0x2c3680)]()&&(_0x5e0483[_0x4092ed(_0x1b1318._0x475471,0x5a8,_0x1b1318._0xe14d93,0x69e)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x7471dc){const _0xbdcde1={_0xd2f47b:0x66c,_0x504bf8:0x5e8,_0x316c2e:0x4f6,_0x165250:0x3c0,_0xb3152a:0x380,_0x5284c0:0x579,_0x39c2da:0x3d1,_0x432c6a:0x47c,_0x5f3dba:0x502},_0x3983d4={_0x1ef19d:0xd6,_0x2fc13c:0x2};if(_0x7471dc)return _0x7471dc;if(_0x2fe994['platform']()===_0x2abcfe(0x7e6,_0xbdcde1._0xd2f47b,_0xbdcde1._0x504bf8,0x6f1))return process['env']['ComSpec']||_0x48a436(0x38f,0x409,_0xbdcde1._0x316c2e,_0xbdcde1._0x165250);const _0x2bd38c=['/bin/bash',_0x48a436(0x41f,0x4a3,_0xbdcde1._0xb3152a,_0xbdcde1._0x5284c0),'/usr/bin/bash',_0x48a436(_0xbdcde1._0x39c2da,0x382,0x2e9,_0xbdcde1._0x432c6a)];function _0x2abcfe(_0x5c2439,_0x569f4a,_0x13b2aa,_0x2ef65d){return _0x1e45aa(_0x5c2439-0x13c,_0x569f4a-0xaa,_0x569f4a- -0xe9,_0x5c2439);}for(const _0x2f3b87 of _0x2bd38c){if(shellExists(_0x2f3b87))return _0x2f3b87;}function _0x48a436(_0x200580,_0x599db4,_0x2697b4,_0x41587f){return _0x55c88d(_0x200580-_0x3983d4._0x1ef19d,_0x200580- -0x187,_0x599db4,_0x41587f-_0x3983d4._0x2fc13c);}const _0x2648e4=process[_0x2abcfe(0x5dc,0x5a1,_0xbdcde1._0x5f3dba,0x573)]['SHELL'];if(_0x2648e4&&shellExists(_0x2648e4))return _0x2648e4;return'/bin/bash';}function buildShellArgs(_0x2ebd53,_0x51b927){const _0x2e11d4={_0x3360a0:0x438,_0x9dc26d:0x4ed,_0x526b9e:0x3f7,_0x59067c:0x613,_0x5739b3:0x65f,_0x29cd19:0xa0,_0x222ad8:0x116,_0x3c91b0:0x132,_0x4fee61:0x22c,_0xc5977f:0x341},_0x3a219d={_0xdd4740:0xd7},_0xc13908={_0x365c82:0x464,_0x14fd7a:0x14a};function _0x40c761(_0x50feab,_0x1e5f96,_0x1dec6,_0x3e8412){return _0x55c88d(_0x50feab-0x18a,_0x1dec6- -_0xc13908._0x365c82,_0x1e5f96,_0x3e8412-_0xc13908._0x14fd7a);}function _0xef9a8b(_0x6c0868,_0xe1a99b,_0x49bfdc,_0x3eafc7){return _0x55c88d(_0x6c0868-_0x3a219d._0xdd4740,_0x6c0868- -0x6c,_0xe1a99b,_0x3eafc7-0x1e);}if(_0x2fe994['platform']()===_0xef9a8b(_0x2e11d4._0x3360a0,_0x2e11d4._0x9dc26d,0x4bc,_0x2e11d4._0x526b9e)){const _0x5e60f7=/cmd(\.exe)?$/i[_0xef9a8b(0x4f3,_0x2e11d4._0x59067c,0x5b1,_0x2e11d4._0x5739b3)](_0x51b927);return _0x5e60f7?['/d','/s','/c',_0x2ebd53]:[_0x40c761(_0x2e11d4._0x29cd19,-_0x2e11d4._0x222ad8,0x46,0xfa),_0x40c761(-0x125,-0x149,-_0x2e11d4._0x3c91b0,-_0x2e11d4._0x4fee61),_0xef9a8b(0x45a,0x457,0x3fe,_0x2e11d4._0xc5977f),_0x2ebd53];}return['-c',_0x2ebd53];}function resolveWorkingDirectory(_0x5ca465,_0x34d708,_0x30a544){const _0xd7ea41={_0x336904:0x55,_0x107e64:0x1f,_0x11dd0e:0x502,_0x4c3916:0x40d},_0x352eaa={_0x3a91c0:0x1ab,_0x5dc028:0x383},_0x6078fa={_0x3686f8:0xe0},_0x458d40=resolveAllowedPath(_0x34d708,_0x30a544,_0x5ca465??'.');function _0x4f4def(_0x2b3a9e,_0x3d0d8f,_0x59ca13,_0x16fa0b){return _0x1e45aa(_0x2b3a9e-_0x6078fa._0x3686f8,_0x3d0d8f-0x1da,_0x59ca13- -0x198,_0x2b3a9e);}function _0x350cdf(_0x3e54ae,_0x51af70,_0x3959c9,_0x19debd){return _0x55c88d(_0x3e54ae-_0x352eaa._0x3a91c0,_0x51af70- -_0x352eaa._0x5dc028,_0x19debd,_0x19debd-0x1a3);}try{const _0x3d82ff=statSync(_0x458d40);if(!_0x3d82ff['isDirectory']())throw new ToolExecutionError(_0x350cdf(-0x182,-_0xd7ea41._0x336904,_0xd7ea41._0x107e64,-0x16d)+_0x458d40,{'cwd':_0x458d40});return _0x458d40;}catch(_0x5d52a2){if(_0x5d52a2 instanceof ToolExecutionError)throw _0x5d52a2;throw new ToolExecutionError(_0x4f4def(_0xd7ea41._0x11dd0e,_0xd7ea41._0x4c3916,0x459,0x38f)+_0x458d40,{'cwd':_0x458d40});}}function appendChunk(_0x25a286,_0x39cf2c,_0x5733fd,_0xb7e112,_0x4906c3){const _0x2d49fe={_0x5e8a74:0x3c7,_0x1c2d06:0x4ec,_0x2885d3:0x40b,_0xe4a269:0x5ca,_0x12c8b3:0x51a,_0x4ef166:0x443,_0xbc147c:0x3e3,_0x50fddd:0x5c5},_0x3b072a={_0x56050b:0x96,_0x59a45a:0x1f1},_0x314129={_0x2df1a4:0x78,_0x38cfa2:0xa3},_0x36bfaf=_0xb7e112?stripAnsiAndControls(_0x5733fd):_0x5733fd;if(_0x36bfaf[_0x432711(_0x2d49fe._0x5e8a74,_0x2d49fe._0x1c2d06,_0x2d49fe._0x2885d3,0x406)]===0x0)return;_0x25a286[_0xfd2bff(_0x2d49fe._0xe4a269,_0x2d49fe._0x12c8b3,0x5e5,_0x2d49fe._0x4ef166)](_0x36bfaf);function _0x432711(_0x492e3e,_0x1f759b,_0x530bf8,_0x2c5787){return _0x55c88d(_0x492e3e-_0x314129._0x2df1a4,_0x492e3e- -0x16a,_0x2c5787,_0x2c5787-_0x314129._0x38cfa2);}function _0xfd2bff(_0x3716c2,_0x2c3fa9,_0x575eda,_0x4a4599){return _0x1e45aa(_0x3716c2-_0x3b072a._0x56050b,_0x2c3fa9-_0x3b072a._0x59a45a,_0x2c3fa9- -0x188,_0x4a4599);}_0x39cf2c[_0xfd2bff(_0x2d49fe._0xbc147c,0x51a,0x437,_0x2d49fe._0x50fddd)](_0x36bfaf),_0x4906c3();}function createBashTool(_0xbebfe5={}){const _0x3e60be={_0x51cdfd:0x267,_0x2bc49c:0x260,_0x3255e2:0x6f3,_0x34d435:0x6e7,_0x219de4:0x81a,_0x149646:0x738,_0x47bf92:0x6fb,_0x4b6ca3:0x790,_0x12b3a8:0x80c,_0x22244f:0x915,_0x2aa17d:0x2d5,_0x554eb1:0x146,_0x4c31b8:0x24b,_0x456ed8:0x734,_0x2f0cd0:0x782,_0x15442f:0x7b1,_0x4ebc7c:0x391,_0x1a76a8:0x29d,_0x391eea:0x251,_0x5d40e8:0x7c4,_0x11600c:0x839,_0x36f148:0x678,_0x1dafe6:0xe7,_0x589c9e:0x198,_0x41bc52:0x4b6,_0x5e36ae:0x6f3,_0x52e929:0xad,_0x4c2f4a:0x87,_0x45e627:0x15b,_0x422f48:0xa5,_0x42093d:0x8b0,_0x1c6cda:0x840},_0x195f42={_0x1987ba:0x20a,_0x30f129:0x355,_0xb1133e:0x52e,_0x5054bb:0x3eb,_0x6b5748:0x3b0,_0x402239:0x2cd,_0x3b647f:0x365,_0xd0e1a6:0x616,_0x28d103:0x30b,_0x4945e0:0x19e,_0x162492:0xaf,_0x3a041d:0x226,_0x143e39:0x2c4,_0x20a3ee:0x486,_0x44595c:0x530,_0x4919a6:0x16e,_0x42e21a:0x176,_0x338ccf:0x537,_0x233130:0x40b,_0x3179fa:0x3c9,_0x11e27a:0x33f,_0x2565c3:0x34c,_0x4068ae:0x374,_0x2d2ad7:0x2fc,_0x50390c:0x363,_0x5d35d2:0x43a,_0x344ef9:0x496,_0x237579:0x454,_0x328d66:0x33e,_0x4f47b:0x22a,_0x5cd426:0x332,_0x57f450:0x5a0,_0x2617de:0x487,_0x5bcf35:0x449,_0x14858d:0x442,_0x2d572a:0x5ba,_0x39928e:0x50a,_0x1277cf:0xd1,_0xf36a9e:0x4af,_0x42b740:0x60f,_0x2f36db:0xc9,_0x39c784:0x137,_0x2c9b5e:0x17a,_0x15b03f:0x186,_0x1c3a47:0x218,_0x194975:0xe5,_0x3e6fb9:0x40f,_0x13695f:0x468,_0x3aca09:0x277,_0x2fa26a:0x2fd,_0x513846:0x272,_0x20493d:0x1a2,_0x5bd1f3:0x21f,_0x5b873b:0xad,_0x34fa9a:0x17c,_0xda27bb:0x514,_0x9b716c:0x338,_0x1eece1:0x20d,_0x519aee:0x2fb,_0x2d7bde:0x269,_0x4a92a7:0x168,_0x5c6e13:0x2a5,_0x1a4768:0x4ab,_0x24f505:0x3db,_0x26d7b2:0x2c0,_0x36c7b8:0x4a9,_0x5cfb05:0x341,_0x5f5de7:0x49d,_0xd406a6:0x5ca,_0x2d8cb1:0x504,_0x6514c8:0x31f,_0x1911c6:0x276,_0x2225bd:0x261,_0x4b8df6:0x113,_0x1bc80c:0x283,_0x2fbb20:0x317,_0x397dc0:0xb7,_0x53a167:0x1f4,_0x3bedd5:0x9a,_0x39339b:0x17e,_0x4cbe09:0x3be,_0x187e13:0x378,_0x4a046a:0x4bd,_0x1383cb:0x6ec,_0x321ab9:0x5a4,_0xf98ec6:0x508,_0x27ca5a:0x4a2,_0x4d2ffb:0x519,_0x22ab34:0x520,_0xbbb849:0x5dd,_0x5f3175:0x1e4,_0x672214:0x208,_0x322dee:0x46c,_0x3a5f61:0x423,_0x1f650b:0x3e1,_0x12240d:0x4c9,_0x9a4090:0xe7,_0x2ed459:0x252,_0x1e76ec:0x17b,_0x449284:0x2e9,_0x43bf5f:0x2b8,_0x287840:0x402,_0x3cd365:0x490,_0x27b0ea:0x446,_0x2a8cd8:0x450,_0x2f399a:0x4e9,_0x1d631f:0x370,_0x33affb:0x32d,_0x4e8330:0x2cb,_0x3f58ea:0x3c8,_0x5216be:0x522,_0x3e7aa5:0x411,_0x2c25cc:0x3cd,_0x58fbef:0x1fc,_0x247dda:0x353,_0x148202:0x3c0,_0x18fed2:0x227,_0x2cb6a7:0x2f5},_0x17ea0e={_0x453b07:0x172},_0xca3899={_0x4204bf:0x78b,_0x31d7b0:0x6d6},_0x5c9aaa={_0x3525e5:0x1df,_0x22dd47:0x1f2},_0x29b371={_0x2b9d8f:0x70,_0xa4db27:0x162},_0x1f13f6={_0x5e2b60:0x17e},_0x6893cd=_0x4b071c[_0x21be36(_0x3e60be._0x51cdfd,0x2c2,_0x3e60be._0x2bc49c,0x1ae)](_0xbebfe5[_0x21be36(0x184,0x35a,0x112,0x204)]??process[_0x128166(0x4bf,0x58d,_0x3e60be._0x3255e2,_0x3e60be._0x34d435)]()),_0x103b0f=_0xbebfe5[_0x128166(_0x3e60be._0x219de4,_0x3e60be._0x149646,_0x3e60be._0x47bf92,_0x3e60be._0x4b6ca3)]??[];function _0x128166(_0x1bbb10,_0x2e86fc,_0x412e0c,_0x3c1ccd){return _0x1e45aa(_0x1bbb10-_0x1f13f6._0x5e2b60,_0x2e86fc-0x149,_0x2e86fc- -0x32,_0x412e0c);}const _0x4b158a=_0xbebfe5[_0x128166(_0x3e60be._0x12b3a8,0x78f,_0x3e60be._0x22244f,0x902)]??DEFAULT_TIMEOUT_MS,_0x15bc55=_0xbebfe5[_0x21be36(_0x3e60be._0x2aa17d,_0x3e60be._0x554eb1,0x251,_0x3e60be._0x4c31b8)]??!![],_0x11a0fc=_0xbebfe5[_0x128166(0x783,0x75e,_0x3e60be._0x456ed8,0x816)]??_0x128166(0x8f3,_0x3e60be._0x2f0cd0,0x78d,_0x3e60be._0x15442f),_0xb33168=_0xbebfe5[_0x21be36(_0x3e60be._0x4ebc7c,0x164,_0x3e60be._0x1a76a8,_0x3e60be._0x391eea)]??[];function _0x21be36(_0x4373d4,_0x25f0a3,_0x171a47,_0x27b83f){return _0x55c88d(_0x4373d4-_0x29b371._0x2b9d8f,_0x27b83f- -0x239,_0x171a47,_0x27b83f-_0x29b371._0xa4db27);}const _0x21ad08=_0xbebfe5[_0x128166(0x76d,0x76d,0x65d,0x8ce)];return defineTool({'name':_0x11a0fc,'description':_0xbebfe5[_0x128166(0x656,_0x3e60be._0x5d40e8,_0x3e60be._0x11600c,_0x3e60be._0x36f148)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':'string'},'description':{'type':'string','description':'A\x20concise\x20explanation\x20of\x20what\x20this\x20command\x20does\x20and\x20why\x20you\x20are\x20running\x20it\x20—\x20the\x20goal\x20it\x20advances.\x20Shown\x20to\x20the\x20user\x20before\x20execution.\x20Be\x20specific,\x20e.g.\x20\x27Run\x20the\x20auth\x20tests\x20to\x20verify\x20the\x20token-refresh\x20fix\x27\x20rather\x20than\x20\x27run\x20tests\x27.'},'cwd':{'type':_0x21be36(_0x3e60be._0x1dafe6,0x233,_0x3e60be._0x589c9e,0x235)},'timeoutMs':{'type':_0x128166(0x5ca,0x6be,0x7ce,0x6a4)},'ignoreOutput':{'type':_0x128166(_0x3e60be._0x41bc52,0x613,0x52c,_0x3e60be._0x5e36ae)},'runInBackground':{'type':_0x21be36(_0x3e60be._0x52e929,_0x3e60be._0x4c2f4a,0x24a,_0x3e60be._0x45e627)}},'required':[_0x21be36(-0x87,0x1ab,-0x4,_0x3e60be._0x422f48),_0x128166(_0x3e60be._0x42093d,0x7c4,0x777,_0x3e60be._0x1c6cda)]},async *'execute'(_0x37489f,_0x3a442b){const _0x317fcc={_0x2b1709:0x198,_0x45368c:0x7fb,_0x6bd2ed:0x727,_0x3b905f:0x2a3},_0xa92a76={_0x4b1d28:0x3f1,_0x468e9f:0x8cd,_0xc1372e:0x7a8,_0x4ce401:0x750},_0x4d286b={_0x466b12:0x55a,_0x237414:0x635,_0x14b9d5:0x5e6,_0x263079:0x31a,_0x5288ad:0x344,_0x46fe93:0x446,_0x2cc382:0x38a},_0x1d397c={_0x5873b7:0x390,_0x573ac3:0x3f6,_0xb363fc:0x12b,_0x19f03f:0x3fe,_0x2aeb90:0x282},_0xc3aac0={_0x1a7590:0x2f},_0x101783={_0x58bf3c:0x2f,_0x12a338:0x193},_0x2d72be={_0x105096:0x1b1,_0x5eb5b3:0x34c,_0x588266:0x16d},_0x385f93={_0x1b66c1:0x19a,_0x3e627a:0x228},_0xf43455=_0x37489f[_0xf180f8(_0x195f42._0x1987ba,0x2f8,_0x195f42._0x30f129,0x32a)]??_0x4b158a;if(!Number['isFinite'](_0xf43455)||_0xf43455<0x1)throw new ToolExecutionError(_0x3c837e(_0x195f42._0xb1133e,_0x195f42._0x5054bb,0x351,_0x195f42._0x6b5748),{'command':_0x37489f[_0x3c837e(0x382,_0x195f42._0x402239,_0x195f42._0x3b647f,0x2f0)]});throwIfAborted(_0x3a442b[_0x3c837e(0x611,0x5a4,0x658,_0x195f42._0xd0e1a6)]);const _0x29f1bb=resolveWorkingDirectory(_0x37489f[_0xf180f8(_0x195f42._0x28d103,_0x195f42._0x4945e0,_0x195f42._0x162492,0xfb)],_0x6893cd,_0x103b0f),_0x5a9943=_0x37489f[_0xf180f8(_0x195f42._0x3a041d,0x27f,0x304,_0x195f42._0x143e39)]??![],_0x337c90=resolveDefaultShell(_0xbebfe5[_0x3c837e(0x55d,_0x195f42._0x20a3ee,0x392,_0x195f42._0x44595c)]),_0x5be6a6=buildShellArgs(_0x37489f[_0xf180f8(0x25e,_0x195f42._0x4919a6,_0x195f42._0x42e21a,0xcd)],_0x337c90),_0x233d27=_0x2fe994[_0x3c837e(0x424,_0x195f42._0x338ccf,_0x195f42._0x233130,_0x195f42._0x3179fa)]()===_0x3c837e(_0x195f42._0x11e27a,0x493,0x439,0x612);if(_0x37489f[_0x3c837e(0x36b,_0x195f42._0x2565c3,0x38e,_0x195f42._0x4068ae)]){if(!_0x21ad08)throw new ToolExecutionError(_0x3c837e(_0x195f42._0x2d2ad7,_0x195f42._0x50390c,0x397,0x406),{'command':_0x37489f['command']});throwIfAborted(_0x3a442b['signal']);let _0x4e038d;try{_0x4e038d=_0x5e1cde(_0x337c90,_0x5be6a6,{'cwd':_0x29f1bb,'env':buildChildEnv(_0xbebfe5[_0x3c837e(_0x195f42._0x5d35d2,0x3c8,_0x195f42._0x344ef9,_0x195f42._0x237579)],_0xb33168),'stdio':[_0xf180f8(0x3fc,_0x195f42._0x328d66,_0x195f42._0x4f47b,_0x195f42._0x5cd426),_0xf180f8(_0x195f42._0x57f450,0x442,_0x195f42._0x2617de,_0x195f42._0x5bcf35),_0xf180f8(0x38f,_0x195f42._0x14858d,_0x195f42._0x2d572a,_0x195f42._0x39928e)],'shell':![],'windowsHide':!![],'detached':!_0x233d27});}catch(_0x1c867a){throw mapSpawnError(_0x1c867a,{'command':_0x37489f[_0xf180f8(0x105,_0x195f42._0x4919a6,0xea,_0x195f42._0x1277cf)],'cwd':_0x29f1bb,'shellPath':_0x337c90});}let _0x484e8e;try{_0x484e8e=_0x21ad08[_0x3c837e(_0x195f42._0xf36a9e,0x4c5,0x42b,_0x195f42._0x42b740)]({'child':_0x4e038d,'command':_0x37489f[_0xf180f8(_0x195f42._0x2f36db,0x16e,_0x195f42._0x39c784,_0x195f42._0x2c9b5e)],'cwd':_0x29f1bb,'stripAnsi':_0x15bc55});}catch(_0x5e5ba0){_0x4e038d[_0xf180f8(_0x195f42._0x15b03f,_0x195f42._0x1c3a47,_0x195f42._0x194975,0x157)](_0xf180f8(_0x195f42._0x3e6fb9,0x387,0x3c8,_0x195f42._0x13695f),()=>{});try{killProcessGroup(_0x4e038d,_0x233d27);}catch{}throw _0x5e5ba0;}return createToolOutput(_0xf180f8(_0x195f42._0x3aca09,0x39e,0x40b,0x21f)+_0x484e8e[_0xf180f8(0x18f,_0x195f42._0x2fa26a,0x27f,0x455)]+_0xf180f8(_0x195f42._0x513846,_0x195f42._0x20493d,0x252,0x31e)+(_0x484e8e[_0xf180f8(-0x10,0x163,_0x195f42._0x5bd1f3,_0x195f42._0x5b873b)]??'?')+_0xf180f8(0x2d1,_0x195f42._0x34fa9a,0x5f,0xc0),{'shellId':_0x484e8e[_0x3c837e(0x523,0x45c,_0x195f42._0xda27bb,0x3da)],'status':_0x484e8e['status'],'command':_0x484e8e[_0x3c837e(0x2dd,0x2cd,_0x195f42._0x9b716c,0x1b1)],'description':_0x37489f['description'],'cwd':_0x484e8e[_0x3c837e(0x3eb,_0x195f42._0x2fa26a,0x2a3,0x3ed)],'pid':_0x484e8e[_0x3c837e(_0x195f42._0x1eece1,0x2c2,0x27f,0x37b)]??null});}let _0x4fef73;try{_0x4fef73=_0x5e1cde(_0x337c90,_0x5be6a6,{'cwd':_0x29f1bb,'env':buildChildEnv(_0xbebfe5[_0xf180f8(_0x195f42._0x519aee,_0x195f42._0x2d7bde,_0x195f42._0x4a92a7,0x173)],_0xb33168),'stdio':_0x5a9943?[_0xf180f8(0x33a,0x33e,_0x195f42._0x5c6e13,0x21f),_0xf180f8(_0x195f42._0x1a4768,0x33e,_0x195f42._0x24f505,_0x195f42._0x26d7b2),_0xf180f8(_0x195f42._0x36c7b8,0x33e,0x2ef,_0x195f42._0x5cfb05)]:[_0x3c837e(0x491,_0x195f42._0x5f5de7,0x618,0x342),_0x3c837e(0x4b3,0x5a1,0x569,_0x195f42._0xd406a6),_0xf180f8(0x3b9,0x442,_0x195f42._0x2d8cb1,0x4f9)],'shell':![],'windowsHide':!![],'detached':!_0x233d27});}catch(_0x9571fa){throw mapSpawnError(_0x9571fa,{'command':_0x37489f['command'],'cwd':_0x29f1bb,'shellPath':_0x337c90});}const _0x4c1362=[],_0x4dacb8=[],_0x2b3581=new _0x3d9f8a(_0xf180f8(_0x195f42._0x6514c8,_0x195f42._0x1911c6,_0x195f42._0x2225bd,_0x195f42._0x4b8df6)),_0x35c907=new _0x3d9f8a('utf8');function _0x3c837e(_0x2d3ee7,_0x21611f,_0x3f2a20,_0x21df87){return _0x21be36(_0x2d3ee7-_0x385f93._0x1b66c1,_0x21611f-0x127,_0x3f2a20,_0x21611f-_0x385f93._0x3e627a);}let _0xcdb3ec,_0x9b8592=![],_0x1fbd5f;const _0x1b81b6=()=>{if(!_0xcdb3ec)return;const _0x579a7d=_0xcdb3ec;_0xcdb3ec=void 0x0,_0x579a7d();},_0x2cc6e5=async()=>{if(_0x4dacb8[_0x411c7c(-0x19,0x75,_0x5c9aaa._0x3525e5,_0x5c9aaa._0x22dd47)]>0x0||_0x9b8592)return;function _0x411c7c(_0x37d78c,_0x2cfd7d,_0x35cddc,_0x2fb352){return _0xf180f8(_0x37d78c-_0x2d72be._0x105096,_0x2cfd7d- -_0x2d72be._0x5eb5b3,_0x35cddc-_0x2d72be._0x588266,_0x35cddc);}await new Promise(_0x481a7c=>{_0xcdb3ec=_0x481a7c;});},_0x101718=_0x1461b0=>{const _0x55ed9b={_0x4153f8:0x1c7};function _0x44b8b1(_0x1b3631,_0x4600fb,_0x49a284,_0x7beb13){return _0xf180f8(_0x1b3631-0x1f,_0x49a284-0x37c,_0x49a284-_0x55ed9b._0x4153f8,_0x1b3631);}appendChunk(_0x4c1362,_0x4dacb8,_0x2b3581[_0x44b8b1(_0xca3899._0x4204bf,0x693,_0xca3899._0x31d7b0,0x7e8)](_0x1461b0),_0x15bc55,_0x1b81b6);},_0x45adbc=_0x49683b=>{const _0x11dfcb={_0x210a91:0x4b3,_0x1e306a:0xe3};function _0x528ff6(_0x3fd884,_0x437947,_0x4d5793,_0x2d681c){return _0x3c837e(_0x3fd884-0x169,_0x3fd884- -_0x11dfcb._0x210a91,_0x4d5793,_0x2d681c-_0x11dfcb._0x1e306a);}appendChunk(_0x4c1362,_0x4dacb8,_0x35c907[_0x528ff6(0x6,0xac,-_0x17ea0e._0x453b07,0x5)](_0x49683b),_0x15bc55,_0x1b81b6);};_0x4fef73[_0x3c837e(0x28c,0x2ac,_0x195f42._0x1bc80c,_0x195f42._0x2fbb20)]?.['on'](_0xf180f8(_0x195f42._0x397dc0,_0x195f42._0x53a167,_0x195f42._0x3bedd5,_0x195f42._0x39339b),_0x101718);function _0xf180f8(_0x407dd9,_0x57b42a,_0x3dd7bf,_0x25122e){return _0x21be36(_0x407dd9-_0x101783._0x58bf3c,_0x57b42a-_0x101783._0x12a338,_0x25122e,_0x57b42a-0xc9);}_0x4fef73[_0x3c837e(_0x195f42._0x4cbe09,_0x195f42._0x187e13,_0x195f42._0x4a046a,0x4d9)]?.['on'](_0x3c837e(0x21b,0x353,0x244,0x48f),_0x45adbc);let _0xf259e7=![],_0xacc50f;const _0x26b5ba=addAbortListener(_0x3a442b[_0x3c837e(_0x195f42._0x1383cb,_0x195f42._0x321ab9,_0x195f42._0xf98ec6,_0x195f42._0x27ca5a)],()=>{const _0x53399a={_0x4b8851:0x1ae,_0x293521:0x1a9};_0x1fbd5f=toAbortError(_0x3a442b[_0x1ae4cb(0x2d1,_0x1d397c._0x5873b7,0x32d,_0x1d397c._0x573ac3)][_0x1ae4cb(0x395,_0x1d397c._0xb363fc,_0x1d397c._0x19f03f,_0x1d397c._0x2aeb90)]);function _0xd295cd(_0x5bc6ec,_0xe58365,_0x3c1f50,_0x133a1d){return _0xf180f8(_0x5bc6ec-_0xc3aac0._0x1a7590,_0x5bc6ec- -0x108,_0x3c1f50-0xdd,_0x3c1f50);}function _0x1ae4cb(_0x282008,_0x4940dd,_0x3d33e3,_0x34a57d){return _0x3c837e(_0x282008-0x1da,_0x34a57d- -_0x53399a._0x4b8851,_0x282008,_0x34a57d-_0x53399a._0x293521);}_0x9b8592=!![],_0x1b81b6();try{killProcessGroup(_0x4fef73,_0x233d27);}catch{}});try{const _0xae5ff6=new Promise((_0x39e722,_0xaff61d)=>{const _0x48a0b3={_0x48ded9:0x3d2},_0x5b52d8={_0xefc24b:0x195},_0x256e57={_0x528864:0x6e,_0x4e72eb:0x241},_0x2d57a8={_0x4caf26:0x50},_0x509c13={_0x435ae1:0x268},_0x1446d0=()=>{function _0x512421(_0x175287,_0xa207e9,_0x449c1f,_0x26b7de){return _0x3bdd(_0x26b7de-_0x509c13._0x435ae1,_0xa207e9);}function _0x59ed10(_0x5edede,_0x390a1c,_0x4cf724,_0x42451d){return _0x3bdd(_0x5edede-_0x2d57a8._0x4caf26,_0x390a1c);}_0xacc50f&&(clearTimeout(_0xacc50f),_0xacc50f=void 0x0),_0x4fef73[_0x512421(0x4fe,_0x4d286b._0x466b12,_0x4d286b._0x237414,0x61b)](_0x512421(_0x4d286b._0x14b9d5,0x739,0x5b5,0x677),_0x524fcc),_0x4fef73[_0x59ed10(0x403,_0x4d286b._0x263079,0x56b,_0x4d286b._0x5288ad)](_0x59ed10(0x4d3,_0x4d286b._0x46fe93,_0x4d286b._0x2cc382,0x45a),_0x3f54da);};function _0x150995(_0x677414,_0x182d1f,_0x39f969,_0x843967){return _0x3c837e(_0x677414-_0x256e57._0x528864,_0x39f969-_0x256e57._0x4e72eb,_0x843967,_0x843967-0x19e);}const _0x524fcc=_0x102692=>{_0x9b8592=!![],_0x1b81b6(),_0x1446d0(),_0xaff61d(_0x1fbd5f??_0x102692);};function _0x1203dd(_0x34461c,_0x3ac093,_0x6b25fa,_0x75b8f){return _0x3c837e(_0x34461c-0x1b6,_0x34461c- -0x1df,_0x3ac093,_0x75b8f-_0x5b52d8._0xefc24b);}const _0x3f54da=(_0x4840f0,_0xe9b250)=>{const _0x5d4c92={_0x3a1a71:0x15a};_0xf259e7=!![];function _0xed4572(_0x46a5e3,_0x40b68a,_0x5a9c9d,_0x437538){return _0x3bdd(_0x46a5e3-_0x5d4c92._0x3a1a71,_0x437538);}appendChunk(_0x4c1362,_0x4dacb8,_0x2b3581[_0xed4572(0x530,0x414,0x55a,_0xa92a76._0x4b1d28)](),_0x15bc55,_0x1b81b6);function _0x329f71(_0x48ff18,_0x362961,_0x34fe48,_0x22c7a8){return _0x3bdd(_0x362961-_0x48a0b3._0x48ded9,_0x22c7a8);}appendChunk(_0x4c1362,_0x4dacb8,_0x35c907[_0x329f71(_0xa92a76._0x468e9f,_0xa92a76._0xc1372e,_0xa92a76._0x4ce401,0x626)](),_0x15bc55,_0x1b81b6),_0x9b8592=!![],_0x1b81b6(),_0x1446d0();if(_0x1fbd5f){_0xaff61d(_0x1fbd5f);return;}_0x39e722({'code':_0x4840f0,'signal':_0xe9b250});};_0xacc50f=setTimeout(()=>{const _0x191b13={_0xee29a8:0x35c};_0x9b8592=!![],_0x1b81b6();function _0x56be84(_0x10e835,_0x929602,_0x352433,_0x4268a0){return _0x3bdd(_0x929602-_0x191b13._0xee29a8,_0x352433);}_0x1446d0();try{killProcessGroup(_0x4fef73,_0x233d27);}catch{}_0xaff61d(new ToolExecutionError('Command\x20timed\x20out\x20after\x20'+_0xf43455+_0x56be84(0x687,0x6ad,0x56a,0x6d6),{'command':_0x37489f['command'],'cwd':_0x29f1bb,'shellPath':_0x337c90,'timeoutMs':_0xf43455,'timedOut':!![]}));},_0xf43455),_0x4fef73[_0x1203dd(_0x317fcc._0x2b1709,0x18a,0x18d,0x39)](_0x150995(_0x317fcc._0x45368c,0x627,_0x317fcc._0x6bd2ed,0x666),_0x524fcc),_0x4fef73['once'](_0x1203dd(0x37b,_0x317fcc._0x3b905f,0x1f9,0x4a7),_0x3f54da);});while(_0x4dacb8[_0x3c837e(_0x195f42._0x4d2ffb,_0x195f42._0x22ab34,0x46d,_0x195f42._0xbbb849)]>0x0||!_0x9b8592){if(_0x4dacb8['length']===0x0){await _0x2cc6e5();continue;}const _0x304f94=_0x4dacb8[_0xf180f8(0x33c,_0x195f42._0x5f3175,_0x195f42._0x672214,0x240)]();_0x304f94!==void 0x0&&(yield _0x304f94);}const _0x238896=await _0xae5ff6,_0x3c24c9=_0x5a9943?_0xf180f8(_0x195f42._0x36c7b8,0x32c,0x22c,0x36f)+(_0x238896[_0x3c837e(_0x195f42._0x4a046a,0x490,0x491,_0x195f42._0x322dee)]??0x0):_0x4c1362[_0x3c837e(_0x195f42._0x3a5f61,_0x195f42._0x1f650b,0x25d,_0x195f42._0x12240d)](''),_0x5252cd={'command':_0x37489f[_0xf180f8(_0x195f42._0x9a4090,0x16e,_0x195f42._0x2ed459,_0x195f42._0x1e76ec)],'description':_0x37489f[_0xf180f8(0x3d7,0x3d5,_0x195f42._0x449284,_0x195f42._0x43bf5f)],'cwd':_0x29f1bb,'exitCode':_0x238896[_0x3c837e(_0x195f42._0x287840,_0x195f42._0x3cd365,_0x195f42._0x27b0ea,_0x195f42._0x2a8cd8)]??0x0,'signal':_0x238896[_0xf180f8(0x516,0x445,_0x195f42._0x2fbb20,_0x195f42._0x2f399a)],'ignoreOutput':_0x5a9943,'shellPath':_0x337c90,'timeoutMs':_0xf43455};if(_0x238896[_0x3c837e(0x57b,0x490,0x414,_0x195f42._0xd406a6)]!==0x0)throw new ToolExecutionError(_0x3c24c9||_0xf180f8(_0x195f42._0x1d631f,_0x195f42._0x33affb,0x3b7,_0x195f42._0x4e8330)+(_0x238896[_0x3c837e(_0x195f42._0x3f58ea,0x490,0x577,0x37b)]??0x0),_0x5252cd);return createToolOutput(_0x3c24c9,_0x5252cd);}catch(_0x330f5b){while(_0x4dacb8[_0xf180f8(_0x195f42._0x5216be,0x3c1,_0x195f42._0x3e7aa5,_0x195f42._0x2c25cc)]>0x0){const _0x14911e=_0x4dacb8['shift']();_0x14911e!==void 0x0&&(yield _0x14911e);}if(_0x330f5b instanceof ToolExecutionError)throw _0x330f5b;if(_0x1fbd5f)throw _0x1fbd5f;throw mapSpawnError(_0x330f5b,{'command':_0x37489f['command'],'cwd':_0x29f1bb,'shellPath':_0x337c90});}finally{_0xacc50f&&clearTimeout(_0xacc50f);_0x26b5ba(),_0x4fef73[_0x3c837e(0x240,0x2ac,_0x195f42._0x58fbef,0x259)]?.['off'](_0x3c837e(0x220,_0x195f42._0x247dda,0x3ef,0x427),_0x101718),_0x4fef73[_0x3c837e(0x3e8,_0x195f42._0x187e13,_0x195f42._0x148202,0x417)]?.['off'](_0x3c837e(0x235,_0x195f42._0x247dda,0x405,0x3f6),_0x45adbc);if(!_0xf259e7&&_0x4fef73[_0x3c837e(_0x195f42._0x18fed2,0x2c2,0x421,_0x195f42._0x2cb6a7)]&&!_0x4fef73['killed'])try{killProcessGroup(_0x4fef73,_0x233d27);}catch{}}}});}function createShellExecTool(_0x58aebd={}){return createBashTool(_0x58aebd);}import{readdir,readFile as _0x35878a}from'fs/promises';import{extname,join as _0xd33d1}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x516a73,join,relative as _0x52c3bc,resolve as _0x1eb8af}from'path';import{readdir as _0xe685fd,readFile as _0x39a8c0}from'fs/promises';import{join as _0x3debab,relative as _0x2cb756,sep}from'path';import{delimiter}from'path';import{mkdir as _0x483c52,rm,stat as _0x1b1b24,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x4aed35}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x886c95,rename,rm as _0x4f6a14,stat as _0x30b774,writeFile as _0x434359}from'fs/promises';import{homedir as _0x4d32ab}from'os';import{dirname as _0x1ccd80,isAbsolute as _0x599133,join as _0x29668f,resolve as _0x3136a2}from'path';import{parse as _0x19f56a,stringify as _0x4750e3}from'yaml';import{cp,mkdir as _0x4a9178,readFile as _0x1a7357,rm as _0x3b38a8,writeFile as _0x22bbc1}from'fs/promises';import{homedir}from'os';import{join as _0x1d7022}from'path';import{parse as _0x11d63d,stringify as _0x2ce6df}from'yaml';import{z}from'zod';import{readdir as _0x57679c,readFile as _0x2cce6f}from'fs/promises';import{join as _0x915c72}from'path';import{randomUUID as _0x21c154}from'crypto';import{mkdir as _0x887804,readdir as _0x499bb6,readFile as _0x5698c4,rename as _0x48edde,rm as _0x3632e4,writeFile as _0x5d2b78}from'fs/promises';import{homedir as _0x4cc3aa}from'os';import{basename,isAbsolute as _0x32be1d,join as _0x23dd09,relative as _0x491c07,resolve as _0x54178f}from'path';import{parse as _0x59bf73,stringify as _0x4a53c8}from'yaml';import{delimiter as _0x268376,resolve as _0x1d4e4c}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x3a2aa7){const _0x104e41={_0x370cb:0x366,_0x118cbe:0x270,_0x180976:0x362,_0x2cb9c7:0x366,_0x5e185e:0x38d,_0x3b2a6c:0x180},_0x246993={_0x5ea6dd:0xb6},_0x788215={_0x1ca204:0x1cb},_0x5a1045=[];let _0x1a4bd5='',_0x4e117f=0x0;while(_0x4e117f<_0x3a2aa7[_0x208e07(_0x104e41._0x370cb,0x1f5,0x4cd,_0x104e41._0x118cbe)]){const _0x12552c=_0x3a2aa7[_0x4e117f];if(_0x12552c==='\x5c'&&_0x4e117f+0x1<_0x3a2aa7[_0x208e07(0x366,_0x104e41._0x180976,0x281,0x4ca)])_0x1a4bd5+=_0x3a2aa7[_0x4e117f+0x1],_0x4e117f+=0x2;else{if(_0x12552c==='\x22'||_0x12552c==='\x27'){const _0x400d7a=_0x12552c;_0x4e117f++;while(_0x4e117f<_0x3a2aa7[_0x208e07(_0x104e41._0x2cb9c7,0x339,0x2c6,_0x104e41._0x5e185e)]&&_0x3a2aa7[_0x4e117f]!==_0x400d7a){_0x3a2aa7[_0x4e117f]==='\x5c'&&_0x4e117f+0x1<_0x3a2aa7[_0x208e07(0x366,0x27d,0x43a,0x24c)]?(_0x1a4bd5+=_0x3a2aa7[_0x4e117f+0x1],_0x4e117f+=0x2):(_0x1a4bd5+=_0x3a2aa7[_0x4e117f],_0x4e117f++);}_0x4e117f++;}else _0x12552c!==void 0x0&&/\s/['test'](_0x12552c)?(_0x1a4bd5&&(_0x5a1045['push'](_0x1a4bd5),_0x1a4bd5=''),_0x4e117f++):(_0x1a4bd5+=_0x12552c,_0x4e117f++);}}function _0x208e07(_0x3c28eb,_0xfd12d8,_0x239821,_0x88f306){return _0x55c88d(_0x3c28eb-0x29,_0x3c28eb- -_0x788215._0x1ca204,_0x88f306,_0x88f306-0xbf);}if(_0x1a4bd5)_0x5a1045[_0x208e07(0x226,0x299,0x2db,_0x104e41._0x3b2a6c)](_0x1a4bd5);function _0x4a428c(_0x440e6d,_0xd77229,_0x298b8f,_0x16521a){return _0x55c88d(_0x440e6d-_0x246993._0x5ea6dd,_0xd77229- -0x28b,_0x298b8f,_0x16521a-0x13);}return _0x5a1045;}function renderCommandInstructions(_0x1dbb35){const _0x26fba1={_0x3a9ece:0x38,_0x1efa1b:0x712,_0x3efbed:0x88c,_0x6a6ce3:0x712,_0x2c2d68:0x6d8,_0x33c6c0:0x6ba,_0x386986:0x811,_0x2bb2c1:0x7d9,_0x370aea:0x7e,_0x23808a:0x10,_0x14224d:0xcf,_0x2b6adb:0x1b3,_0x390bea:0x17d,_0x37269c:0x296,_0x2d34e6:0x70d,_0x49ac11:0x25,_0x2981b5:0x5a,_0xe4baad:0x29,_0x21c6c4:0x5ab,_0x2c71ec:0x7e},_0x24be75={_0x458e7d:0x109,_0x4a0687:0x16c},_0x28afec={_0x178ae5:0x14e},_0x41a02c={_0x5d5c8b:0x79,_0x2ff7ee:0x665};let _0x19e490=_0x1dbb35['instructions'];function _0x3bc582(_0x2a0ddb,_0x3b8837,_0x5225aa,_0x23e7fc){return _0x1e45aa(_0x2a0ddb-_0x41a02c._0x5d5c8b,_0x3b8837-0x149,_0x3b8837- -_0x41a02c._0x2ff7ee,_0x23e7fc);}let _0x1f37ca=![];const _0x3e25ca=tokenizeCommandArguments(_0x1dbb35['argumentsText']);_0x19e490=_0x19e490[_0x3bc582(0xe9,-_0x26fba1._0x3a9ece,-0x2a,-0x150)](/\$ARGUMENTS\[(\d+)\]/g,(_0x8e2d89,_0x2a8490)=>{return _0x1f37ca=!![],_0x3e25ca[Number(_0x2a8490)]??'';});function _0x322bfd(_0x519c66,_0x2d1fd5,_0x4fd747,_0x144c16){return _0x1e45aa(_0x519c66-0xf3,_0x2d1fd5-_0x28afec._0x178ae5,_0x519c66-0x2f,_0x2d1fd5);}_0x19e490=_0x19e490[_0x322bfd(0x65c,0x6a2,0x68e,0x631)](/\$ARGUMENTS\b/g,()=>{function _0x3eba7d(_0xae07a4,_0x3f8490,_0x5bf3fe,_0x4d33be){return _0x322bfd(_0x3f8490- -0x562,_0x5bf3fe,_0x5bf3fe-0x38,_0x4d33be-0x122);}return _0x1f37ca=!![],_0x1dbb35[_0x3eba7d(0x26c,_0x24be75._0x458e7d,_0x24be75._0x4a0687,0x8b)];});if(_0x1dbb35[_0x322bfd(_0x26fba1._0x1efa1b,_0x26fba1._0x3efbed,0x6b8,0x82a)]&&_0x1dbb35[_0x322bfd(_0x26fba1._0x6a6ce3,0x5ac,_0x26fba1._0x2c2d68,_0x26fba1._0x33c6c0)][_0x322bfd(_0x26fba1._0x386986,0x8df,_0x26fba1._0x2bb2c1,0x7b1)]>0x0)for(let _0x2beae5=0x0;_0x2beae5<_0x1dbb35[_0x3bc582(0x3,_0x26fba1._0x370aea,-_0x26fba1._0x23808a,-_0x26fba1._0x14224d)][_0x3bc582(_0x26fba1._0x2b6adb,_0x26fba1._0x390bea,0x116,_0x26fba1._0x37269c)];_0x2beae5++){const _0x195eea=_0x1dbb35['argumentNames'][_0x2beae5];if(_0x195eea){const _0x4e9462=new RegExp('\x5c$'+_0x195eea+'\x5cb','g');_0x19e490=_0x19e490[_0x322bfd(0x65c,0x650,_0x26fba1._0x2d34e6,0x739)](_0x4e9462,()=>{return _0x1f37ca=!![],_0x3e25ca[_0x2beae5]??'';});}}return _0x19e490=_0x19e490[_0x3bc582(_0x26fba1._0x49ac11,-0x38,-0x182,0x75)](/\$(\d+)\b/g,(_0x13acd5,_0x43d50d)=>{return _0x1f37ca=!![],_0x3e25ca[Number(_0x43d50d)]??'';}),!_0x1f37ca&&_0x1dbb35[_0x3bc582(_0x26fba1._0x2981b5,-_0x26fba1._0xe4baad,0x14f,0x50)]['trim']()&&(_0x19e490=_0x19e490+_0x322bfd(0x68e,0x70e,_0x26fba1._0x21c6c4,0x6e9)+_0x1dbb35[_0x3bc582(0x99,-0x29,0x78,_0x26fba1._0x2c71ec)]),_0x19e490;}var PROVIDER_API_KEY_ENVS=[{'env':_0x1e45aa(0x7a5,0x780,0x7ff,0x7a4),'provider':_0x1e45aa(0x70e,0x7a7,0x66b,0x6ee)},{'env':_0x55c88d(0x5d1,0x571,0x6ba,0x5d6),'provider':'anthropic'},{'env':_0x55c88d(0x46b,0x494,0x3ec,0x426),'provider':_0x55c88d(0x338,0x2d1,0x188,0x22d)},{'env':'GITHUB_TOKEN','provider':_0x55c88d(0x178,0x2d1,0x1bc,0x273)},{'env':_0x55c88d(0x5fd,0x4e5,0x37e,0x604),'provider':'grok'},{'env':_0x55c88d(0x3d4,0x45a,0x39d,0x594),'provider':'deepinfra'},{'env':_0x1e45aa(0x69e,0x402,0x57d,0x613),'provider':_0x55c88d(0x494,0x443,0x340,0x2e2)},{'env':'MOONSHOT_API_KEY','provider':'moonshot'},{'env':_0x55c88d(0x3d8,0x4b4,0x528,0x4ee),'provider':_0x55c88d(0x432,0x46b,0x4ea,0x4cc)},{'env':'KIMI_API_KEY','provider':_0x55c88d(0x5cf,0x527,0x48f,0x54e)},{'env':_0x55c88d(0x5da,0x489,0x59c,0x60c),'provider':_0x55c88d(0x49f,0x55b,0x476,0x56b)},{'env':_0x55c88d(0x5bb,0x474,0x449,0x497),'provider':'deepseek'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x1e45aa(0x645,0x820,0x739,0x672)](_0x2fbda8=>_0x2fbda8[_0x1e45aa(0x6ef,0x80a,0x68a,0x6e1)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x1e45aa(0x619,0x7d6,0x774,0x66a),'GOOGLE_CSE_KEY',_0x55c88d(0x25e,0x2da,0x3e2,0x216)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object['prototype']),'prototype']);function prototypeSafeRecord(_0x5641cb){const _0x516e7b={_0x5717ba:0x70b,_0x22afc2:0x67c,_0x25e46d:0x15a,_0x19f0d1:0x45,_0x2d5ea7:0x3d,_0x2eb5cb:0x230,_0x1a95c0:0x226,_0x23cfb5:0x256,_0xba5ac0:0x15c,_0xb54530:0x6da,_0x53ecaf:0x8c5},_0x298ed9={_0x501d21:0x5e,_0x42abbe:0x277,_0x3e7d07:0xc7,_0x57b4cc:0x12,_0xa454ef:0x304,_0x86785b:0x212,_0x595de7:0xc8,_0x9c4fa9:0x11,_0x53dd90:0x97},_0x4a6afb={_0x39b511:0x148,_0xd2aa04:0x6a7},_0x1222ee={_0x66e3e9:0x76,_0x5cbd3b:0x658},_0xd472b0={_0x21ae82:0x41,_0x21dca1:0x148},_0x2f7c2c={_0x488d0e:0x70};function _0x1126cb(_0x5a592f,_0x21577e,_0x4b4880,_0x3e05eb){return _0x1e45aa(_0x5a592f-_0x2f7c2c._0x488d0e,_0x21577e-0x137,_0x21577e- -0x5c3,_0x3e05eb);}function _0x23b01e(_0x4dd5df,_0x4d07f6,_0x15bf51,_0x23d281){return _0x1e45aa(_0x4dd5df-_0xd472b0._0x21ae82,_0x4d07f6-_0xd472b0._0x21dca1,_0x15bf51- -0x4b,_0x23d281);}return z[_0x23b01e(0x522,_0x516e7b._0x5717ba,_0x516e7b._0x22afc2,0x4fe)](_0x435edb=>{if(_0x435edb===null||typeof _0x435edb!==_0x5ba1f2(0x94,-_0x298ed9._0x501d21,-0xea,-0x2f)||Array[_0x4e696b(_0x298ed9._0x42abbe,_0x298ed9._0x3e7d07,_0x298ed9._0x57b4cc,0x178)](_0x435edb))return null;function _0x4e696b(_0x5d967f,_0x2506f,_0x39a57f,_0x228ae8){return _0x23b01e(_0x5d967f-_0x1222ee._0x66e3e9,_0x2506f-0x13a,_0x228ae8- -_0x1222ee._0x5cbd3b,_0x2506f);}const _0x375ef2=Object[_0x4e696b(0x2c3,_0x298ed9._0xa454ef,_0x298ed9._0x86785b,0x188)](_0x435edb);function _0x5ba1f2(_0x3676d7,_0x28c2a7,_0x5590da,_0x173494){return _0x23b01e(_0x3676d7-_0x4a6afb._0x39b511,_0x28c2a7-0xa6,_0x5590da- -_0x4a6afb._0xd2aa04,_0x173494);}if(_0x375ef2!==Object[_0x5ba1f2(-_0x298ed9._0x595de7,-0x191,-0x11,0x7)]&&_0x375ef2!==null)return null;return{'entries':Object[_0x5ba1f2(_0x298ed9._0x9c4fa9,-0x21,_0x298ed9._0x53dd90,0xd6)](_0x435edb)};},z[_0x1126cb(_0x516e7b._0x25e46d,_0x516e7b._0x19f0d1,-_0x516e7b._0x2d5ea7,0x57)]({'entries':z['array'](z[_0x1126cb(0xfd,_0x516e7b._0x2eb5cb,_0x516e7b._0x1a95c0,0x2af)]([z[_0x1126cb(_0x516e7b._0x23cfb5,_0x516e7b._0xba5ac0,0xdf,0xc8)](),_0x5641cb]))}))[_0x23b01e(0x866,_0x516e7b._0xb54530,0x7b9,_0x516e7b._0x53ecaf)](({entries:_0x23e65b})=>Object[_0x1126cb(0x135,0x1ed,0xf7,0x18d)](_0x23e65b));}var chatModelAuthSchemeSchema=z[_0x1e45aa(0x696,0x6b3,0x70c,0x603)](['bearer',_0x55c88d(0x38b,0x2ba,0x237,0x14f)]),apiKeyAuthSchema=z[_0x55c88d(0x2c4,0x357,0x38d,0x1e0)]({'type':z[_0x55c88d(0x4f6,0x57e,0x567,0x6d1)](_0x1e45aa(0x979,0x728,0x840,0x9b4)),'apiKey':z[_0x1e45aa(0x7ce,0x7e8,0x71f,0x83c)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x55c88d(0x40e,0x2c9,0x374,0x1d7)](),oauthAuthSchema=z[_0x55c88d(0x4c1,0x357,0x2ed,0x48a)]({'type':z[_0x55c88d(0x451,0x57e,0x5e0,0x494)](_0x1e45aa(0x6e6,0x4c8,0x5c9,0x4c4)),'access':z[_0x1e45aa(0x805,0x62d,0x71f,0x5e6)](),'refresh':z['string'](),'expires':z['number']()['optional'](),'authScheme':chatModelAuthSchemeSchema[_0x1e45aa(0x871,0x580,0x701,0x849)]()})[_0x1e45aa(0x4f4,0x6f0,0x57a,0x62d)](),finiteNonNegative=z['number']()[_0x1e45aa(0x6d4,0x67a,0x568,0x6be)]()['nonnegative'](),chatGptAuthSchema=z[_0x1e45aa(0x4c4,0x732,0x608,0x5e3)]({'type':z[_0x55c88d(0x666,0x57e,0x440,0x489)](_0x55c88d(0x4f7,0x464,0x47e,0x3c6)),'access':z[_0x55c88d(0x3f4,0x46e,0x5b2,0x40a)]()[_0x55c88d(0x351,0x2d4,0x3e4,0x2c7)](0x1),'refresh':z['string']()[_0x55c88d(0x2e4,0x2d4,0x40c,0x2c1)](0x1),'idToken':z[_0x1e45aa(0x705,0x663,0x71f,0x792)]()[_0x55c88d(0x28c,0x2d4,0x2a7,0x3dc)](0x1),'accountId':z[_0x55c88d(0x5ec,0x46e,0x433,0x483)]()[_0x55c88d(0x296,0x2d4,0x1c4,0x244)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x1e45aa(0x625,0x5c8,0x701,0x6c2)]()})[_0x55c88d(0x3fa,0x2c9,0x15d,0x19d)](),authMethodSchema=z[_0x55c88d(0x46c,0x359,0x4df,0x496)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),modelDefinitionSchema=z[_0x1e45aa(0x6a7,0x4a5,0x608,0x4b2)]({'id':z[_0x1e45aa(0x823,0x79c,0x71f,0x691)](),'name':z[_0x1e45aa(0x6e5,0x5fa,0x71f,0x646)]()[_0x1e45aa(0x72c,0x777,0x701,0x816)]()})[_0x1e45aa(0x491,0x6be,0x57a,0x6d4)](),modelConfigSchema=z[_0x1e45aa(0x6c2,0x620,0x60a,0x4e9)]([z[_0x1e45aa(0x8ae,0x8ce,0x82f,0x6d0)](![]),z[_0x55c88d(0x564,0x57e,0x69b,0x43b)](!![]),z[_0x1e45aa(0x884,0x5c4,0x71f,0x733)](),z[_0x1e45aa(0x758,0x77c,0x768,0x6f4)](z[_0x55c88d(0x48a,0x46e,0x472,0x2f2)]()),z[_0x1e45aa(0x770,0x682,0x768,0x615)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x55c88d(0x598,0x45b,0x338,0x58c)]([_0x55c88d(0x60c,0x4f9,0x652,0x54a),_0x55c88d(0x6a9,0x57b,0x648,0x4b9),_0x55c88d(0x4f5,0x376,0x355,0x39f),'openai-responses-ws']),providerConfigSchema=z['object']({'apiKey':z[_0x55c88d(0x46e,0x46e,0x362,0x363)]()[_0x55c88d(0x523,0x450,0x5d2,0x2ce)](),'token':z['string']()[_0x1e45aa(0x82e,0x6c1,0x701,0x80d)](),'defaultModel':z[_0x1e45aa(0x65b,0x64e,0x71f,0x7db)]()[_0x1e45aa(0x809,0x695,0x701,0x70d)](),'smallModel':z[_0x55c88d(0x5c4,0x46e,0x4a3,0x5ae)]()[_0x55c88d(0x411,0x450,0x317,0x33e)](),'currentAuth':z[_0x55c88d(0x4de,0x46e,0x599,0x339)]()[_0x55c88d(0x36b,0x450,0x440,0x574)](),'auth':z['array'](authMethodSchema)[_0x55c88d(0x3eb,0x450,0x5cf,0x467)](),'surface':chatModelSurfaceSchema[_0x1e45aa(0x602,0x69f,0x701,0x882)](),'baseUrl':z[_0x55c88d(0x2fa,0x46e,0x33e,0x44e)]()['optional'](),'models':modelConfigSchema[_0x1e45aa(0x778,0x65d,0x701,0x723)](),'customHeaders':z[_0x1e45aa(0x73b,0x7cd,0x6be,0x74c)](z['string'](),z[_0x1e45aa(0x5a0,0x766,0x71f,0x6d3)]())[_0x55c88d(0x33f,0x450,0x3b0,0x3d0)]()})[_0x55c88d(0x2a2,0x2c9,0x2ae,0x38e)](),mcpServerConfigSchema=z['object']({'command':z[_0x55c88d(0x330,0x46e,0x3ea,0x3ed)]()[_0x55c88d(0x3ec,0x450,0x36c,0x4cd)](),'args':z['array'](z[_0x1e45aa(0x836,0x859,0x71f,0x70f)]())['optional'](),'env':z['record'](z[_0x1e45aa(0x871,0x7be,0x71f,0x732)](),z[_0x1e45aa(0x78e,0x703,0x71f,0x6fa)]())['optional'](),'transport':z[_0x55c88d(0x457,0x45b,0x4dc,0x453)]([_0x55c88d(0x5a3,0x5a9,0x668,0x4ac),_0x55c88d(0x313,0x417,0x536,0x4b2)])['optional'](),'url':z[_0x1e45aa(0x74e,0x700,0x71f,0x791)]()[_0x1e45aa(0x6b3,0x742,0x701,0x703)](),'headers':z[_0x1e45aa(0x602,0x652,0x6be,0x545)](z['string'](),z['string']())[_0x55c88d(0x3dc,0x450,0x5b6,0x4a0)](),'prefix':z[_0x1e45aa(0x756,0x67d,0x71f,0x6ab)]()[_0x55c88d(0x3ce,0x450,0x3ba,0x3bf)](),'timeoutMs':z['number']()['optional'](),'enabled':z[_0x55c88d(0x3a6,0x394,0x292,0x264)]()[_0x55c88d(0x427,0x450,0x564,0x359)](),'auth':z['object']({'type':z[_0x55c88d(0x49f,0x45b,0x597,0x3d5)](['none',_0x1e45aa(0x8ee,0x7b3,0x801,0x6f2),_0x1e45aa(0x532,0x4a6,0x5c9,0x6ca)]),'token':z['string']()['optional'](),'oauth':z['object']({'clientId':z[_0x1e45aa(0x7d7,0x5ae,0x71f,0x88c)]()[_0x55c88d(0x44d,0x450,0x5c4,0x2d2)](),'clientMetadataUrl':z[_0x55c88d(0x3a4,0x46e,0x49d,0x4eb)]()[_0x1e45aa(0x7fc,0x789,0x701,0x788)](),'authorizationServer':z[_0x55c88d(0x3b5,0x46e,0x58b,0x451)]()[_0x55c88d(0x480,0x450,0x4bb,0x592)](),'scopes':z['array'](z[_0x1e45aa(0x85d,0x61a,0x71f,0x6e5)]())[_0x55c88d(0x373,0x450,0x536,0x412)](),'tokenStorageKey':z['string']()['optional']()})[_0x55c88d(0x448,0x2c9,0x2c5,0x14a)]()['optional']()})[_0x55c88d(0x2b2,0x2c9,0x2af,0x386)]()['optional']()})['passthrough'](),mcpSettingsSchema=z[_0x55c88d(0x362,0x357,0x262,0x450)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x1e45aa(0x867,0x882,0x701,0x761)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x1e45aa(0x54e,0x64d,0x645,0x60a)]()))[_0x55c88d(0x52c,0x450,0x47c,0x345)](),'defaultTimeoutMs':z[_0x1e45aa(0x6bf,0x5b8,0x6f0,0x57e)]()[_0x55c88d(0x396,0x450,0x55c,0x461)]()})[_0x1e45aa(0x557,0x4ad,0x57a,0x477)](),skillsSettingsSchema=z[_0x1e45aa(0x617,0x657,0x608,0x723)]({'enabled':z[_0x55c88d(0x514,0x394,0x3e1,0x347)]()[_0x55c88d(0x2e6,0x450,0x4a9,0x514)](),'includeDefaults':z['boolean']()[_0x1e45aa(0x629,0x854,0x701,0x6a2)](),'directories':z[_0x1e45aa(0x7ad,0x7c4,0x768,0x8cd)](z[_0x55c88d(0x579,0x46e,0x402,0x5e2)]())['optional'](),'exclude':z['array'](z[_0x55c88d(0x30a,0x46e,0x42a,0x35b)]())[_0x1e45aa(0x5e8,0x690,0x701,0x5b6)]()})[_0x55c88d(0x436,0x2c9,0x334,0x2f9)](),commandsSettingsSchema=z['object']({'enabled':z[_0x1e45aa(0x4ce,0x67b,0x645,0x755)]()[_0x55c88d(0x528,0x450,0x475,0x415)](),'directories':z[_0x55c88d(0x47f,0x4b7,0x611,0x39e)](z[_0x1e45aa(0x81d,0x763,0x71f,0x6fb)]())[_0x55c88d(0x540,0x450,0x37a,0x38b)]()})[_0x55c88d(0x32b,0x2c9,0x19b,0x25e)](),agentsSettingsSchema=z[_0x55c88d(0x269,0x357,0x498,0x495)]({'enabled':z[_0x1e45aa(0x76a,0x644,0x645,0x6f0)]()[_0x55c88d(0x537,0x450,0x50c,0x403)](),'includeDefaults':z[_0x55c88d(0x494,0x394,0x305,0x3f0)]()['optional'](),'directories':z[_0x55c88d(0x61c,0x4b7,0x5c9,0x3c1)](z['string']())[_0x1e45aa(0x6d0,0x77d,0x701,0x886)]()})[_0x1e45aa(0x48f,0x6d2,0x57a,0x6ca)](),uiThemeSettingsSchema=z[_0x55c88d(0x1f6,0x357,0x363,0x2c7)]({'mode':z[_0x1e45aa(0x854,0x7f9,0x70c,0x726)]([_0x55c88d(0x3f2,0x38e,0x3df,0x4d6),_0x55c88d(0x288,0x369,0x3fe,0x2a8),_0x55c88d(0x4d1,0x4a5,0x491,0x483)])[_0x1e45aa(0x6e4,0x5cb,0x701,0x791)](),'colorLevel':z[_0x1e45aa(0x7e0,0x703,0x70c,0x708)]([_0x55c88d(0x27c,0x38e,0x245,0x401),_0x1e45aa(0x8c1,0x7f4,0x84a,0x734),_0x55c88d(0x38c,0x495,0x466,0x387),'ansi256',_0x1e45aa(0x608,0x549,0x6cf,0x79b)])[_0x1e45aa(0x792,0x65a,0x701,0x858)](),'backgrounds':z['enum']([_0x1e45aa(0x4fb,0x76d,0x63f,0x602),'on',_0x1e45aa(0x88b,0x5df,0x74c,0x68d)])[_0x55c88d(0x3eb,0x450,0x388,0x3b5)](),'messageStyle':z[_0x55c88d(0x430,0x45b,0x300,0x4c0)](['plain','boxed'])[_0x55c88d(0x462,0x450,0x445,0x2f8)]()})[_0x1e45aa(0x6e4,0x4c6,0x57a,0x49c)]();function _0x1e45aa(_0x45112d,_0x358dea,_0x5a2344,_0x95ab7b){return _0x3bdd(_0x5a2344-0x399,_0x95ab7b);}var statuslineSegmentSchema=z['enum']([_0x55c88d(0x338,0x341,0x1be,0x485),'session','thinking',_0x1e45aa(0x70a,0x71d,0x6fc,0x5d2),_0x1e45aa(0x663,0x747,0x65a,0x699),_0x55c88d(0x30f,0x320,0x2f0,0x3a6),_0x1e45aa(0x61a,0x59b,0x66c,0x58a),_0x55c88d(0x337,0x42b,0x559,0x4fe),'tools',_0x55c88d(0x5f7,0x52c,0x4bd,0x645),_0x55c88d(0x2f2,0x437,0x579,0x520),_0x55c88d(0x46c,0x41d,0x4a6,0x39b),_0x55c88d(0x314,0x3ca,0x2dd,0x391),_0x1e45aa(0x77a,0x59a,0x67d,0x646),'rss']),statuslineItemSchema=z[_0x1e45aa(0x6ef,0x57d,0x60a,0x6a1)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z[_0x55c88d(0x461,0x4b7,0x446,0x578)](statuslineItemSchema),statuslineConfigSchema=z[_0x1e45aa(0x545,0x4a7,0x608,0x4f4)]({'rows':z[_0x55c88d(0x65d,0x542,0x4cf,0x48b)]([statuslineRowSchema,statuslineRowSchema])[_0x55c88d(0x424,0x450,0x53d,0x375)]()})[_0x1e45aa(0x639,0x4fe,0x57a,0x6f9)](),memorySettingsSchema=z[_0x55c88d(0x39f,0x357,0x4d5,0x2f3)]({'version':z[_0x55c88d(0x6c3,0x57e,0x53a,0x576)](0x2)['optional'](),'retrieval':z[_0x55c88d(0x309,0x357,0x47f,0x3a8)]({'engine':z['literal'](_0x1e45aa(0x815,0x736,0x6f5,0x63c))['optional'](),'candidateLimit':z[_0x1e45aa(0x6b0,0x77f,0x6f0,0x805)]()[_0x1e45aa(0x5f3,0x5f3,0x701,0x633)](),'activeCandidateLimit':z[_0x1e45aa(0x7d2,0x637,0x6f0,0x644)]()[_0x1e45aa(0x6b4,0x7f1,0x701,0x743)](),'activeEnabled':z['boolean']()[_0x1e45aa(0x7bd,0x63b,0x701,0x5fe)](),'maxQueriesPerTurn':z[_0x1e45aa(0x6df,0x740,0x6f0,0x703)]()[_0x1e45aa(0x6f0,0x5f1,0x701,0x7a4)](),'coreInjectTokenBudget':z['number']()[_0x55c88d(0x4f9,0x450,0x57b,0x321)](),'injectTokenBudget':z[_0x55c88d(0x5c3,0x43f,0x480,0x417)]()[_0x55c88d(0x49c,0x450,0x50f,0x378)](),'minScore':z[_0x1e45aa(0x681,0x86d,0x6f0,0x748)]()[_0x1e45aa(0x5e0,0x5db,0x701,0x73d)](),'freshnessHalfLifeDays':z[_0x1e45aa(0x56d,0x6ac,0x6f0,0x858)]()['optional']()})[_0x1e45aa(0x658,0x65c,0x57a,0x425)]()[_0x1e45aa(0x754,0x867,0x701,0x597)](),'extraction':z['object']({'enabled':z[_0x1e45aa(0x5b4,0x62d,0x645,0x541)]()[_0x1e45aa(0x5e0,0x580,0x701,0x716)](),'provider':z['string']()['optional'](),'model':z['string']()[_0x55c88d(0x5ab,0x450,0x59e,0x375)](),'sensitiveFilter':z[_0x55c88d(0x2ff,0x394,0x4f2,0x49c)]()['optional']()})[_0x55c88d(0x42f,0x2c9,0x34f,0x32e)]()['optional'](),'index':z[_0x55c88d(0x283,0x357,0x254,0x1de)]({'persisted':z[_0x1e45aa(0x5b6,0x573,0x645,0x644)]()['optional'](),'flushIntervalMs':z[_0x55c88d(0x3e9,0x43f,0x52e,0x539)]()['optional']()})['passthrough']()[_0x1e45aa(0x71a,0x813,0x701,0x693)](),'enabled':z[_0x1e45aa(0x736,0x521,0x645,0x5ee)]()[_0x55c88d(0x2ef,0x450,0x492,0x423)](),'saveTool':z['boolean']()[_0x55c88d(0x578,0x450,0x388,0x356)](),'model':z[_0x1e45aa(0x65f,0x7de,0x71f,0x7b4)]()[_0x55c88d(0x338,0x450,0x31f,0x423)](),'provider':z[_0x1e45aa(0x709,0x752,0x71f,0x6bb)]()['optional'](),'maxInjectionTokens':z[_0x55c88d(0x348,0x43f,0x50f,0x2c7)]()[_0x55c88d(0x491,0x450,0x431,0x484)](),'backgroundExtraction':z['boolean']()[_0x55c88d(0x53d,0x450,0x534,0x3eb)]()})['passthrough'](),recentModelSchema=z[_0x55c88d(0x391,0x357,0x4b9,0x46c)]({'provider':z[_0x55c88d(0x59e,0x46e,0x5da,0x5ef)](),'model':z[_0x1e45aa(0x61d,0x757,0x71f,0x7af)](),'usedAt':z[_0x55c88d(0x542,0x43f,0x4c5,0x370)]()})['passthrough'](),lspServerEntrySchema=z['object']({'disabled':z[_0x55c88d(0x320,0x394,0x49f,0x45e)]()[_0x1e45aa(0x80f,0x80c,0x701,0x741)](),'command':z['string']()[_0x1e45aa(0x85e,0x761,0x701,0x764)](),'args':z[_0x55c88d(0x4a5,0x4b7,0x3a5,0x431)](z['string']())[_0x55c88d(0x389,0x450,0x4e4,0x456)](),'rootMarkers':z['array'](z[_0x1e45aa(0x644,0x66a,0x71f,0x7f7)]())[_0x55c88d(0x358,0x450,0x486,0x5c4)]()})[_0x55c88d(0x2a1,0x2c9,0x351,0x2b4)](),lspConfigSchema=z[_0x1e45aa(0x54d,0x58d,0x608,0x57b)]({'enabled':z[_0x55c88d(0x4ea,0x394,0x519,0x44b)]()[_0x55c88d(0x476,0x450,0x373,0x38a)](),'servers':z[_0x1e45aa(0x638,0x6e1,0x6be,0x548)](z[_0x1e45aa(0x850,0x770,0x71f,0x5f4)](),lspServerEntrySchema)[_0x55c88d(0x3e0,0x450,0x3c9,0x497)]()})[_0x1e45aa(0x51c,0x692,0x57a,0x48f)](),serverEndpointSchema=z[_0x1e45aa(0x536,0x5b8,0x608,0x6da)]({'url':z[_0x55c88d(0x40e,0x46e,0x37e,0x545)](),'token':z['string']()[_0x55c88d(0x40e,0x450,0x493,0x310)]()})[_0x1e45aa(0x69f,0x448,0x57a,0x547)](),commandHookConfigSchema=z[_0x55c88d(0x216,0x357,0x481,0x297)]({'type':z[_0x55c88d(0x6c4,0x57e,0x470,0x688)]('command'),'command':z[_0x1e45aa(0x672,0x59c,0x71f,0x5af)](),'timeout':z[_0x1e45aa(0x5d6,0x712,0x6f0,0x604)]()['optional']()}),hookMatcherGroupSchema=z['object']({'matcher':z[_0x1e45aa(0x5fa,0x76e,0x71f,0x82d)]()[_0x1e45aa(0x820,0x63d,0x701,0x60c)](),'hooks':z[_0x55c88d(0x3ea,0x4b7,0x3e2,0x4bd)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x55c88d(0x2f0,0x357,0x356,0x3c6)]({'PreToolUse':z[_0x55c88d(0x544,0x4b7,0x581,0x4c8)](hookMatcherGroupSchema)[_0x55c88d(0x570,0x450,0x4ad,0x39f)](),'PostToolUse':z['array'](hookMatcherGroupSchema)[_0x55c88d(0x554,0x450,0x3c8,0x595)](),'UserPromptSubmit':z[_0x55c88d(0x3b6,0x4b7,0x3d1,0x5bb)](hookMatcherGroupSchema)[_0x1e45aa(0x833,0x648,0x701,0x66e)](),'Stop':z['array'](hookMatcherGroupSchema)[_0x1e45aa(0x66f,0x86f,0x701,0x5c0)](),'Notification':z[_0x55c88d(0x5ac,0x4b7,0x4ad,0x49f)](hookMatcherGroupSchema)[_0x55c88d(0x45a,0x450,0x5c5,0x339)](),'ToolApprovalRequest':z[_0x1e45aa(0x6fc,0x631,0x768,0x763)](hookMatcherGroupSchema)[_0x1e45aa(0x5e8,0x5f9,0x701,0x612)](),'SessionStart':z[_0x55c88d(0x518,0x4b7,0x629,0x41b)](hookMatcherGroupSchema)[_0x1e45aa(0x58e,0x61f,0x701,0x6fb)](),'SessionEnd':z[_0x1e45aa(0x766,0x712,0x768,0x767)](hookMatcherGroupSchema)[_0x1e45aa(0x7b8,0x82d,0x701,0x5ee)]()}),providerNameSchema=z[_0x55c88d(0x3b6,0x46e,0x434,0x31e)]()[_0x1e45aa(0x5a1,0x58d,0x585,0x6e7)](0x1,_0x55c88d(0x590,0x40b,0x560,0x4ca))[_0x1e45aa(0x57d,0x676,0x620,0x72d)](_0x3f209f=>!_0x3f209f['includes'](':'),_0x55c88d(0x387,0x2be,0x40f,0x360)),cliConfigSchema=z[_0x55c88d(0x390,0x357,0x361,0x4b4)]({'activeProvider':providerNameSchema['optional'](),'activeModel':z['string']()[_0x1e45aa(0x6cd,0x6d9,0x701,0x840)](),'apiKey':z[_0x1e45aa(0x7c7,0x895,0x71f,0x797)]()[_0x1e45aa(0x610,0x857,0x701,0x686)](),'providers':z['record'](providerNameSchema,providerConfigSchema)[_0x1e45aa(0x7c9,0x853,0x701,0x657)](),'mcp':mcpSettingsSchema[_0x1e45aa(0x72f,0x7b6,0x701,0x7ab)](),'skills':skillsSettingsSchema[_0x1e45aa(0x814,0x590,0x701,0x73f)](),'agents':agentsSettingsSchema[_0x1e45aa(0x6a2,0x6e6,0x701,0x634)](),'commands':commandsSettingsSchema[_0x55c88d(0x554,0x450,0x503,0x53e)](),'skillsEnabled':z[_0x55c88d(0x303,0x40d,0x325,0x48d)](z[_0x1e45aa(0x693,0x71b,0x71f,0x611)](),z[_0x55c88d(0x2d1,0x394,0x338,0x25b)]())['optional'](),'allowedDirs':z['array'](z[_0x55c88d(0x49e,0x46e,0x444,0x2f2)]())[_0x1e45aa(0x79d,0x60f,0x701,0x797)](),'mcpEnabled':prototypeSafeRecord(z[_0x1e45aa(0x6ef,0x683,0x645,0x558)]())[_0x55c88d(0x554,0x450,0x3b3,0x2de)](),'commandsEnabled':z[_0x1e45aa(0x58f,0x5d2,0x6be,0x6d2)](z['string'](),z[_0x55c88d(0x2b6,0x394,0x50e,0x315)]())[_0x55c88d(0x366,0x450,0x54d,0x582)](),'memory':memorySettingsSchema[_0x55c88d(0x384,0x450,0x3bb,0x38c)](),'session':z['object']({'memPersist':z[_0x55c88d(0x508,0x394,0x302,0x2ff)]()[_0x55c88d(0x300,0x450,0x402,0x5d2)](),'persistEventLog':z[_0x1e45aa(0x6a4,0x6e0,0x645,0x4bf)]()[_0x1e45aa(0x5c2,0x6e3,0x701,0x85e)](),'persistHttpLog':z[_0x55c88d(0x23b,0x394,0x42b,0x468)]()['optional']()})[_0x1e45aa(0x5eb,0x4c0,0x57a,0x413)]()[_0x1e45aa(0x5b0,0x825,0x701,0x5ed)](),'requireToolApproval':z['boolean']()[_0x1e45aa(0x6bd,0x7a7,0x701,0x6b1)](),'thinking':z[_0x55c88d(0x43d,0x45b,0x37d,0x55b)]([_0x1e45aa(0x469,0x59f,0x59f,0x5df),_0x55c88d(0x4f5,0x4ed,0x631,0x5bc),_0x1e45aa(0x4b4,0x535,0x634,0x732),_0x1e45aa(0x602,0x5fe,0x6d3,0x7ff)])[_0x55c88d(0x4ae,0x450,0x30d,0x3df)](),'streamingChunks':z['boolean']()[_0x1e45aa(0x7da,0x7c8,0x701,0x883)](),'agentsEnabled':z['record'](z[_0x1e45aa(0x7c5,0x5e4,0x71f,0x85f)](),z['boolean']())[_0x1e45aa(0x7d8,0x7b0,0x701,0x613)](),'recentModels':z[_0x1e45aa(0x60a,0x74e,0x768,0x69b)](recentModelSchema)[_0x1e45aa(0x82a,0x68c,0x701,0x777)](),'lsp':lspConfigSchema['optional'](),'servers':z[_0x55c88d(0x43a,0x40d,0x4aa,0x3dd)](z[_0x1e45aa(0x7e5,0x603,0x71f,0x646)](),serverEndpointSchema)[_0x55c88d(0x5c2,0x450,0x5d1,0x4e8)](),'ui':z['object']({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x1e45aa(0x58b,0x85f,0x701,0x718)]()})[_0x55c88d(0x20c,0x2c9,0x187,0x311)]()[_0x55c88d(0x41b,0x450,0x5bb,0x58d)](),'tools':z[_0x1e45aa(0x543,0x740,0x6be,0x570)](z[_0x1e45aa(0x864,0x804,0x71f,0x790)](),z[_0x1e45aa(0x8ec,0x919,0x83b,0x7a6)]())['optional'](),'hooks':hooksConfigSchema['optional']()})[_0x55c88d(0x182,0x2c9,0x292,0x161)](),workspaceOverlaySchema=z['object']({'root':z[_0x55c88d(0x438,0x46e,0x3f1,0x51f)]()[_0x1e45aa(0x880,0x5f8,0x701,0x600)](),'allowedDirs':z['array'](z[_0x1e45aa(0x88c,0x7fd,0x71f,0x61b)]())[_0x1e45aa(0x812,0x5e2,0x701,0x703)](),'activeProvider':providerNameSchema['optional'](),'activeModel':z[_0x1e45aa(0x84c,0x70f,0x71f,0x5a6)]()[_0x55c88d(0x5a8,0x450,0x5a7,0x4c9)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x1e45aa(0x6ae,0x73e,0x701,0x61e)](),'agents':agentsSettingsSchema[_0x55c88d(0x414,0x450,0x415,0x3d9)](),'commands':commandsSettingsSchema[_0x55c88d(0x543,0x450,0x59c,0x549)](),'hooks':hooksConfigSchema[_0x55c88d(0x4c7,0x450,0x39b,0x4d1)](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x55c88d(0x471,0x394,0x48b,0x46f)]())[_0x1e45aa(0x772,0x6fe,0x701,0x5ab)](),'skillsEnabled':z['record'](z[_0x1e45aa(0x6a9,0x7eb,0x71f,0x81b)](),z[_0x55c88d(0x2c5,0x394,0x454,0x318)]())[_0x55c88d(0x4e7,0x450,0x550,0x41b)](),'agentsEnabled':z[_0x1e45aa(0x827,0x61d,0x6be,0x544)](z[_0x1e45aa(0x5af,0x671,0x71f,0x86a)](),z['boolean']())[_0x55c88d(0x3f3,0x450,0x3d1,0x45e)](),'commandsEnabled':z['record'](z['string'](),z[_0x55c88d(0x249,0x394,0x322,0x3a4)]())[_0x1e45aa(0x69d,0x5e5,0x701,0x7c5)]()})[_0x1e45aa(0x59c,0x4d6,0x57a,0x6a1)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x1e45aa(0x642,0x549,0x65e,0x7bc)](Object[_0x55c88d(0x390,0x430,0x49c,0x416)]),_0x1e45aa(0x840,0x695,0x6e1,0x60a)]);function buildDescription(_0x1f3cf8){const _0x2e2b23={_0x1d446e:0x5a2,_0x2ff051:0x469,_0x19c37b:0x623,_0x14f83a:0x33c,_0x1ac631:0x370,_0x28e70e:0x4b5,_0x358f33:0x421,_0x355840:0x499,_0xf7b03a:0x3fe,_0x281224:0x436,_0x1daec1:0x525,_0x2633ba:0x460,_0xa75052:0x357,_0x39acf7:0x4fc,_0x1d56a4:0x627,_0x4c5492:0x3f2,_0x223b3d:0x488,_0x1762e5:0x37b,_0xfa021e:0x405},_0x416591={_0x1ee508:0xa6,_0xbe1f04:0x277};if(_0x1f3cf8[_0x256e8b(_0x2e2b23._0x1d446e,0x56b,_0x2e2b23._0x2ff051,_0x2e2b23._0x19c37b)]===0x0)return[_0x2e0824(0x432,0x563,0x45d,_0x2e2b23._0x14f83a),_0x256e8b(_0x2e2b23._0x1ac631,0x4bb,0x597,0x5b7),_0x2e0824(_0x2e2b23._0x28e70e,_0x2e2b23._0x358f33,0x3f9,_0x2e2b23._0x355840)][_0x2e0824(_0x2e2b23._0xf7b03a,0x28d,0x2b0,_0x2e2b23._0x281224)]('\x0a');function _0x2e0824(_0x54207c,_0x158f9a,_0x2bbcc9,_0xf6c65e){return _0x1e45aa(_0x54207c-0x19f,_0x158f9a-0x134,_0x54207c- -0x2a5,_0xf6c65e);}function _0x256e8b(_0x1eda61,_0x18f40b,_0x3b17ef,_0x116aa1){return _0x1e45aa(_0x1eda61-0x182,_0x18f40b-_0x416591._0x1ee508,_0x18f40b- -_0x416591._0xbe1f04,_0x116aa1);}const _0x3f9ca6=[_0x256e8b(_0x2e2b23._0x1daec1,_0x2e2b23._0x2633ba,_0x2e2b23._0xa75052,0x39a),_0x256e8b(_0x2e2b23._0x39acf7,0x4bb,_0x2e2b23._0x1d56a4,_0x2e2b23._0x4c5492),_0x2e0824(0x42c,_0x2e2b23._0x223b3d,0x381,0x56e),..._0x1f3cf8['map'](_0x14ea78=>_0x14ea78[_0x256e8b(0x498,0x39d,0x21f,0x24b)]?'-\x20'+_0x14ea78['name']+'\x20'+_0x14ea78[_0x2e0824(0x36f,0x49a,0x430,0x2cc)]+':\x20'+_0x14ea78['description']:'-\x20'+_0x14ea78[_0x256e8b(0x513,0x519,0x417,0x604)]+':\x20'+_0x14ea78[_0x2e0824(0x551,0x573,0x66d,0x587)])];return _0x3f9ca6[_0x2e0824(0x3fe,_0x2e2b23._0x1762e5,_0x2e2b23._0xfa021e,0x3e3)]('\x0a');}function createInvokeCommandTool(_0x23084d){const _0x3d86a4={_0x2d0a35:0x431,_0x5536ac:0x4b1,_0x21616c:0x495,_0x45687c:0x379,_0x7937a1:0x41c,_0x124557:0x1ff,_0x50071c:0x453,_0x3a2c2a:0x417},_0x373704={_0x216ee5:0x277,_0xa7372e:0x1af,_0x1f8469:0x90,_0x164b1e:0xac,_0x254197:0x1dd,_0x5b917f:0x101,_0x9383ad:0x30,_0x457f5:0x5f,_0x4aff9b:0xac,_0xaf48e7:0x60,_0x574e47:0x127,_0x155105:0x4c,_0x4c4ae2:0x38,_0xfd8ab6:0xdb,_0x39dedd:0x1fa,_0x294923:0x7f,_0x67107f:0x60,_0x37d137:0x16e,_0x3700b5:0x22f,_0x4c96fc:0x253},_0x41c660={_0x2f465e:0xc5},_0x5a54ec={_0x10eb06:0x17e},_0x25e1e3={_0x88941e:0x108,_0x45e2aa:0x57};function _0x1626e0(_0x110c9b,_0x4cd2e0,_0x4fef02,_0x251a72){return _0x55c88d(_0x110c9b-_0x25e1e3._0x88941e,_0x4fef02- -_0x25e1e3._0x45e2aa,_0x110c9b,_0x251a72-0xe7);}const _0x36b985=new Map(_0x23084d['commands'][_0x1626e0(0x5a1,0x559,_0x3d86a4._0x2d0a35,_0x3d86a4._0x5536ac)](_0x347c74=>[_0x347c74['id'],_0x347c74]));function _0x37eda6(_0x127c5a,_0x413915,_0x33e601,_0x507c6e){return _0x1e45aa(_0x127c5a-0xed,_0x413915-0x121,_0x413915- -_0x5a54ec._0x10eb06,_0x127c5a);}const _0x295c36=buildDescription(_0x23084d[_0x1626e0(_0x3d86a4._0x21616c,0x4e0,_0x3d86a4._0x45687c,0x431)]);return defineTool({'name':_0x1626e0(0x37e,0x3f3,0x2a9,0x1f0),'description':_0x295c36,'inputSchema':{'type':_0x1626e0(0x402,_0x3d86a4._0x7937a1,0x300,_0x3d86a4._0x124557),'properties':{'name':{'type':'string'},'args':{'type':_0x1626e0(_0x3d86a4._0x50071c,0x3c7,_0x3d86a4._0x3a2c2a,0x29e)}},'required':['name']},async *'execute'(_0x5b5395){const _0x37db61={_0x591677:0x1cf};function _0x5c84c0(_0x16b80a,_0x2281b6,_0x476dd1,_0x19045b){return _0x37eda6(_0x476dd1,_0x16b80a- -0x3ee,_0x476dd1-0x161,_0x19045b-_0x37db61._0x591677);}const _0x13db60=_0x36b985[_0x5c84c0(_0x373704._0x216ee5,0x1e4,_0x373704._0xa7372e,0x146)](_0x5b5395['name']);if(!_0x13db60){const _0x3d8a00=Array[_0x2dc4d0(0x1d3,_0x373704._0x1f8469,_0x373704._0x164b1e,0xb0)](_0x36b985[_0x2dc4d0(_0x373704._0x254197,_0x373704._0x5b917f,-_0x373704._0x9383ad,0x267)]())['join'](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x5b5395['name']+_0x2dc4d0(-_0x373704._0x457f5,-_0x373704._0x4aff9b,-0x150,-0x92)+_0x3d8a00,{'name':_0x5b5395[_0x2dc4d0(0x77,_0x373704._0xaf48e7,-0x5d,_0x373704._0x574e47)]});}const _0x373515=await _0x23084d[_0x5c84c0(0xab,0x131,_0x373704._0x155105,-_0x373704._0x4c4ae2)](_0x13db60),_0x186377=_0x5b5395[_0x2dc4d0(0xbb,0x14,0x136,_0x373704._0xfd8ab6)]??'';function _0x2dc4d0(_0x402a69,_0x36bfe2,_0x7c9c18,_0x2dbe53){return _0x37eda6(_0x402a69,_0x36bfe2- -0x5b2,_0x7c9c18-0x125,_0x2dbe53-_0x41c660._0x2f465e);}const _0x4df892=renderCommandInstructions({'instructions':_0x373515['instructions'],'argumentsText':_0x186377,'argumentNames':_0x373515[_0x2dc4d0(0x83,0xe5,_0x373704._0x39dedd,-_0x373704._0x294923)]});return yield createToolOutput(_0x4df892,{'id':_0x373515['id'],'name':_0x373515[_0x2dc4d0(-0xad,_0x373704._0x67107f,-0x2f,0x93)],'path':_0x13db60['source'][_0x5c84c0(_0x373704._0x37d137,_0x373704._0x3700b5,0x169,_0x373704._0x4c96fc)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x1fb475,rename as _0x3bafcb,stat as _0x176835,writeFile as _0x1bdc9e}from'fs/promises';import*as _0x507425 from'path';function detectEol(_0x3391da){const _0x5dca54={_0x5e2c41:0x2b2,_0x1317c1:0x201,_0x4ef032:0x15a,_0x1c087c:0x139,_0xf0d3b1:0x1,_0x230691:0x663,_0x1d5caa:0x50f,_0x112a62:0x67a},_0x384a7c={_0x54f704:0x2ad},_0x3f1d39={_0x515304:0x16b};function _0x59f4c3(_0x46f377,_0x307c3f,_0x32d7fb,_0x48fa18){return _0x1e45aa(_0x46f377-_0x3f1d39._0x515304,_0x307c3f-0x8d,_0x48fa18- -0xc2,_0x307c3f);}function _0x1a48bb(_0xa58a41,_0x15fe88,_0x248e45,_0x297a62){return _0x55c88d(_0xa58a41-0xff,_0x15fe88- -_0x384a7c._0x54f704,_0xa58a41,_0x297a62-0x8b);}return/\r\n/[_0x1a48bb(0x25d,_0x5dca54._0x5e2c41,0x22a,0x189)](_0x3391da[_0x1a48bb(0xfc,0x16f,_0x5dca54._0x1317c1,0x1a6)](_0x1a48bb(_0x5dca54._0x4ef032,_0x5dca54._0x1c087c,0x21e,_0x5dca54._0xf0d3b1)))?_0x59f4c3(0x7da,_0x5dca54._0x230691,_0x5dca54._0x1d5caa,_0x5dca54._0x112a62):'lf';}function normalizeToLf(_0x260b6a){const _0x470667={_0x57b00c:0x17b,_0xae110b:0x17d,_0x3e1306:0x67},_0x57999a={_0x2cf55c:0x315,_0x5ddba2:0xe1};function _0x819b5e(_0x5e0a24,_0x488c1e,_0x5d21ea,_0x37f254){return _0x55c88d(_0x5e0a24-0x1ca,_0x5d21ea- -_0x57999a._0x2cf55c,_0x488c1e,_0x37f254-_0x57999a._0x5ddba2);}return _0x260b6a[_0x819b5e(_0x470667._0x57b00c,_0x470667._0xae110b,_0x470667._0x3e1306,0xac)](/\r\n/g,'\x0a');}function convertEol(_0x5a057,_0x194261){return _0x194261==='crlf'?_0x5a057['replace'](/\n/g,'\x0d\x0a'):_0x5a057;}async function atomicWrite(_0x360338,_0x218a4f){const _0x50c00a={_0x2fde44:0x383,_0x12a35b:0x373,_0x4f414b:0x4c7,_0x51c05f:0x3e1,_0x327c1b:0x5ba,_0x1242ac:0x29a,_0x26dba1:0x38c,_0x58c4d6:0x568,_0x5e29c0:0x213,_0x3800c5:0x1bc},_0x4b8cf3={_0x5926db:0x106,_0x4edfae:0x2c2},_0x34cb52={_0x5fc9da:0x4b};function _0x90850e(_0x3f0ecb,_0x50260c,_0x13e950,_0x2a36a6){return _0x1e45aa(_0x3f0ecb-0x17,_0x50260c-0xdc,_0x3f0ecb- -_0x34cb52._0x5fc9da,_0x50260c);}const _0x3188ed=_0x507425['dirname'](_0x360338),_0x471cee=_0x507425[_0x428e08(_0x50c00a._0x2fde44,_0x50c00a._0x12a35b,_0x50c00a._0x4f414b,_0x50c00a._0x51c05f)](_0x3188ed,_0x90850e(0x6fc,0x6a8,0x699,_0x50c00a._0x327c1b)+_0x507425['basename'](_0x360338)+'.'+Date[_0x428e08(0x39f,0x27f,_0x50c00a._0x1242ac,_0x50c00a._0x26dba1)]()+'.'+Math[_0x90850e(_0x50c00a._0x58c4d6,0x5a8,0x662,0x57d)]()['toString'](0x24)[_0x428e08(_0x50c00a._0x5e29c0,0x1c7,_0x50c00a._0x3800c5,0x2b4)](0x2));function _0x428e08(_0x4c6188,_0x3e9e10,_0x2d1fc7,_0x233fa8){return _0x1e45aa(_0x4c6188-0xf2,_0x3e9e10-_0x4b8cf3._0x5926db,_0x233fa8- -_0x4b8cf3._0x4edfae,_0x2d1fc7);}await _0x1bdc9e(_0x471cee,_0x218a4f),await _0x3bafcb(_0x471cee,_0x360338);}function sha256(_0x235a10){const _0x43d381={_0x3d9e1a:0x6fe,_0x44651d:0x700,_0x5574bc:0x560,_0x61ff95:0x4c1,_0x4f1ad3:0x65c,_0x1b5df2:0x717,_0x49b8dc:0x3ac,_0x5bdb60:0x3d9},_0x1ead47={_0x2b12fb:0xc3,_0x3e809c:0x158,_0x179751:0x37f},_0x1a39dd={_0x5905f5:0x144,_0x2ad6ea:0x183,_0x588fa0:0xa4};function _0x503f71(_0x9bdb52,_0x406d38,_0x593fb9,_0x37af86){return _0x1e45aa(_0x9bdb52-_0x1a39dd._0x5905f5,_0x406d38-_0x1a39dd._0x2ad6ea,_0x593fb9- -_0x1a39dd._0x588fa0,_0x406d38);}function _0x10cea0(_0x2592cf,_0x359722,_0xc1441a,_0x2472ae){return _0x1e45aa(_0x2592cf-_0x1ead47._0x2b12fb,_0x359722-_0x1ead47._0x3e809c,_0xc1441a- -_0x1ead47._0x179751,_0x359722);}return createHash(_0x503f71(_0x43d381._0x3d9e1a,0x58c,_0x43d381._0x44651d,0x816))[_0x503f71(_0x43d381._0x5574bc,_0x43d381._0x61ff95,0x537,0x3d3)](_0x235a10)[_0x503f71(0x7aa,0x54b,_0x43d381._0x4f1ad3,_0x43d381._0x1b5df2)](_0x10cea0(_0x43d381._0x49b8dc,_0x43d381._0x5bdb60,0x40e,0x290));}function countLines(_0x42873f){const _0x36f92f={_0x43ea70:0x521,_0x2818d1:0x413,_0x4af573:0x58d,_0x43cca3:0x2d9,_0x2f66a2:0x38a,_0x56b96f:0x41e,_0x2f5cab:0x63b},_0xcf335c={_0x244e28:0x1de,_0x4a2e81:0xa4},_0x302332={_0x317cee:0x211};function _0x1b0f06(_0x4515f5,_0x3ef73d,_0x2aae93,_0x1a8a97){return _0x55c88d(_0x4515f5-0xd4,_0x1a8a97-_0x302332._0x317cee,_0x3ef73d,_0x1a8a97-0x6c);}const _0x448e0f=_0x42873f[_0x1b0f06(0x514,_0x36f92f._0x43ea70,_0x36f92f._0x2818d1,_0x36f92f._0x4af573)](/\n$/,'');function _0x13daac(_0x3fdef5,_0xc2b2f6,_0x378c8c,_0x9189a9){return _0x1e45aa(_0x3fdef5-_0xcf335c._0x244e28,_0xc2b2f6-_0xcf335c._0x4a2e81,_0x378c8c- -0x458,_0x3fdef5);}return _0x448e0f[_0x13daac(0x3de,_0x36f92f._0x43cca3,_0x36f92f._0x2f66a2,_0x36f92f._0x56b96f)]===0x0?0x0:_0x448e0f[_0x1b0f06(0x752,0x70c,0x71a,_0x36f92f._0x2f5cab)]('\x0a')['length'];}function calculateLineNumbers(_0x31b639,_0x440658,_0x1d2fa7,_0x56648c){const _0x3797b3={_0x1aebda:0x1cd,_0x1c6e49:0x13b,_0x2d3c5f:0x6e},_0x512cb3={_0x596223:0x19a,_0x47d652:0x56},_0x41a9cd={_0x224d62:0x99,_0x1db624:0x1a,_0x3d4d79:0x62},_0xad2236=_0x31b639[_0x3c5eaf(0x220,0x201,0x2df,_0x3797b3._0x1aebda)](0x0,_0x56648c)[_0x52fed1(-_0x3797b3._0x1c6e49,-0x1f9,-0x20,-0x7e)]('\x0a')[_0x52fed1(0x1b1,_0x3797b3._0x2d3c5f,-0xcd,0x89)],_0x28a21d=countLines(_0x440658);function _0x3c5eaf(_0x224b3e,_0x4ad870,_0x16a82d,_0x2edcc1){return _0x55c88d(_0x224b3e-_0x41a9cd._0x224d62,_0x16a82d-_0x41a9cd._0x1db624,_0x2edcc1,_0x2edcc1-_0x41a9cd._0x3d4d79);}const _0xe57fcd=countLines(_0x1d2fa7);function _0x52fed1(_0x543be8,_0x24e417,_0x40c714,_0x314e9a){return _0x55c88d(_0x543be8-_0x512cb3._0x596223,_0x314e9a- -0x4a8,_0x543be8,_0x314e9a-_0x512cb3._0x47d652);}return{'oldStartLine':_0xad2236,'oldEndLine':_0xad2236+_0x28a21d-0x1,'newStartLine':_0xad2236,'newEndLine':_0xad2236+_0xe57fcd-0x1,'oldLineCount':_0x28a21d,'newLineCount':_0xe57fcd};}function createFileEditTool(_0x983921={}){const _0xd1f276={_0x8113a4:0x2f8,_0x229de1:0x180,_0x29ed48:0x2ec,_0x9ef049:0x2a4,_0x10292d:0x1d6,_0x120866:0x12a,_0x568c97:0x2e3,_0x1bdd19:0x387,_0x6d39aa:0x3b1,_0x571255:0x390,_0x4a472d:0xf4,_0x377429:0x26e,_0x31cff4:0x183,_0x51b335:0x130,_0x52014e:0x28a,_0x5a9285:0x2e5,_0x8e61fe:0x24c,_0x5d0c43:0x108,_0x28e337:0x443,_0xfb6f3a:0x30e,_0x10fd69:0x2fd,_0x2b6427:0x207,_0x514a88:0x2f7,_0x28f5f9:0xe9,_0x270f10:0x2a0,_0x4a9098:0x12d,_0x1a94bd:0x103,_0x87e4e7:0x158,_0x5c4b24:0x41e},_0x55e13c={_0x187470:0x755,_0x56a65d:0x51d,_0x3a7ea9:0x672,_0x2891ef:0x648,_0x595ff2:0x3d0,_0x289e3b:0x32b,_0x56fe9a:0x341,_0x5579c1:0x3d6,_0x423020:0x338,_0x2f4502:0x238,_0x32d649:0x349,_0x4b745a:0x583,_0x3ea40a:0x4f1,_0x3f481a:0x372,_0x109cd0:0x3f5,_0x49a444:0x2dd,_0x1428c9:0x3aa,_0x5cafda:0x495,_0x476458:0x4b4,_0x171cf7:0x46e,_0x5d2d02:0x583,_0x2ef165:0x554,_0x3d5576:0x531,_0x2b60a8:0x5bf,_0x82d31d:0x59e,_0x4eaec8:0x5d6,_0x1d5ba8:0x5ce,_0x44c5d8:0x5d8,_0x23b907:0x55f,_0x26c365:0x4c7,_0x3b235e:0x499,_0x40a316:0x5e6,_0x50c356:0x4a2,_0x1f0dea:0x594,_0x205afc:0x2e7,_0xc0c775:0x424,_0x2d13fd:0x56e,_0x5a1fd4:0x403,_0x219b2d:0x49a,_0x376976:0x701,_0x4ec111:0x723,_0x25f65a:0x7bf,_0x2207fb:0x7e8,_0x34f9e7:0x701,_0x43e76d:0x616},_0x17ab8f={_0x4dea4d:0x17b},_0x398845={_0x12632c:0x1e3,_0x221758:0x6e},_0x14951f={_0x99eb57:0x118},_0x16828d=_0x507425[_0x580b86(_0xd1f276._0x8113a4,_0xd1f276._0x229de1,0x178,_0xd1f276._0x29ed48)](_0x983921[_0x580b86(_0xd1f276._0x9ef049,_0xd1f276._0x10292d,0xf9,_0xd1f276._0x120866)]??process[_0x510f56(0x3e7,_0xd1f276._0x568c97,_0xd1f276._0x1bdd19,_0xd1f276._0x6d39aa)]());function _0x580b86(_0x571364,_0x35b494,_0x2e12c6,_0x4a9cd2){return _0x1e45aa(_0x571364-0x166,_0x35b494-_0x14951f._0x99eb57,_0x35b494- -0x518,_0x2e12c6);}function _0x510f56(_0xccd841,_0x20053a,_0x7d1136,_0xc2483){return _0x55c88d(_0xccd841-_0x398845._0x12632c,_0x20053a- -0x2b,_0xc2483,_0xc2483-_0x398845._0x221758);}const _0xb8ebe4=_0x983921[_0x580b86(0x2f6,0x252,_0xd1f276._0x571255,_0xd1f276._0x4a472d)]??[],_0x238d95=_0x983921['name']??_0x580b86(_0xd1f276._0x377429,_0xd1f276._0x31cff4,_0xd1f276._0x51b335,_0xd1f276._0x52014e);return defineTool({'name':_0x238d95,'description':_0x580b86(_0xd1f276._0x5a9285,_0xd1f276._0x8e61fe,0x282,_0xd1f276._0x5d0c43),'inputSchema':{'type':'object','properties':{'filePath':{'type':'string'},'description':{'type':_0x510f56(0x457,_0xd1f276._0x28e337,0x420,_0xd1f276._0xfb6f3a),'description':'A\x20concise\x20explanation\x20of\x20what\x20this\x20edit\x20changes\x20and\x20why\x20—\x20the\x20goal\x20it\x20advances.\x20Shown\x20to\x20the\x20user\x20before\x20the\x20change\x20is\x20applied.\x20Be\x20specific,\x20e.g.\x20\x27Fix\x20the\x20token-refresh\x20race\x20in\x20the\x20auth\x20client\x27\x20rather\x20than\x20\x27edit\x20file\x27.'},'oldText':{'type':_0x580b86(_0xd1f276._0x10fd69,_0xd1f276._0x2b6427,_0xd1f276._0x514a88,_0xd1f276._0x28f5f9)},'newText':{'type':'string'},'dryRun':{'type':_0x580b86(_0xd1f276._0x270f10,_0xd1f276._0x4a9098,_0xd1f276._0x1a94bd,0x10d)}},'required':[_0x580b86(0x37,_0xd1f276._0x87e4e7,0x9d,0xa7),_0x510f56(0x55c,0x477,_0xd1f276._0x5c4b24,0x580),'newText']},async *'execute'(_0x2c0fb6){const _0x4a93a0={_0x7091ba:0x1d,_0x504ef1:0x2b9,_0x24ccf2:0xa9},_0x4c9c18=resolveAllowedPath(_0x16828d,_0xb8ebe4,_0x2c0fb6[_0x3337fa(0x6b4,0x58f,0x477,0x671)]);await assertWorkspaceFile(_0x4c9c18);const _0x112f7e=await _0x176835(_0x4c9c18),_0x4bec85=await _0x1fb475(_0x4c9c18),_0x4febb3=detectEol(_0x4bec85),_0x291163=normalizeToLf(_0x4bec85[_0x3337fa(_0x55e13c._0x187470,0x5ec,0x4ef,_0x55e13c._0x56a65d)]('utf8')),_0x4c3109=normalizeToLf(_0x2c0fb6[_0x3337fa(0x75a,_0x55e13c._0x3a7ea9,_0x55e13c._0x2891ef,0x6cf)]),_0x12f9ca=normalizeToLf(_0x2c0fb6[_0x291498(_0x55e13c._0x595ff2,_0x55e13c._0x289e3b,_0x55e13c._0x56fe9a,_0x55e13c._0x5579c1)]);function _0x291498(_0x25addc,_0x2997d8,_0x466e8f,_0x3f0848){return _0x580b86(_0x25addc-_0x4a93a0._0x7091ba,_0x2997d8-_0x4a93a0._0x504ef1,_0x466e8f,_0x3f0848-_0x4a93a0._0x24ccf2);}const _0x46ee9d=_0x291163[_0x291498(0x1fe,_0x55e13c._0x423020,_0x55e13c._0x2f4502,0x47d)](_0x4c3109);if(_0x46ee9d===-0x1){const _0x449d11=_0x4c3109[_0x291498(0x46a,0x317,_0x55e13c._0x32d649,0x309)](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'+_0x449d11+(_0x4c3109[_0x291498(0x5a3,_0x55e13c._0x4b745a,0x4d2,_0x55e13c._0x3ea40a)]>0x64?'...':'')+'\x22',{'filePath':_0x2c0fb6[_0x291498(_0x55e13c._0x3f481a,0x411,_0x55e13c._0x109cd0,_0x55e13c._0x49a444)]});}const _0xeded12=_0x291163['slice'](0x0,_0x46ee9d)+_0x12f9ca+_0x291163[_0x3337fa(_0x55e13c._0x1428c9,_0x55e13c._0x5cafda,0x465,_0x55e13c._0x476458)](_0x46ee9d+_0x4c3109[_0x291498(_0x55e13c._0x171cf7,_0x55e13c._0x5d2d02,0x475,_0x55e13c._0x2ef165)]),_0x1427ae=convertEol(_0xeded12,_0x4febb3),_0x342f60=Buffer[_0x3337fa(0x7c7,0x6df,0x5f7,0x603)](_0x1427ae,_0x291498(0x3f6,0x438,_0x55e13c._0x3d5576,0x50f)),_0x1d8095=sha256(_0x4bec85),_0x17f3fc=sha256(_0x342f60),_0x231a95=_0x1d8095===_0x17f3fc,_0x31756b=_0x2c0fb6[_0x291498(_0x55e13c._0x2b60a8,_0x55e13c._0x82d31d,0x435,_0x55e13c._0x4eaec8)]??![];!_0x31756b&&!_0x231a95&&await atomicWrite(_0x4c9c18,_0x342f60);yield createToolOutput(_0x231a95?_0x291498(_0x55e13c._0x1d5ba8,0x57d,0x4e5,_0x55e13c._0x44c5d8):_0x31756b?_0x291498(0x669,_0x55e13c._0x23b907,_0x55e13c._0x26c365,0x419):_0x291498(0x537,_0x55e13c._0x3b235e,0x42e,0x4c8),{'filePath':_0x2c0fb6[_0x3337fa(_0x55e13c._0x40a316,0x58f,0x4fb,_0x55e13c._0x3ea40a)],'resolvedPath':_0x4c9c18,'created':_0x112f7e['birthtime'][_0x291498(_0x55e13c._0x50c356,0x56e,_0x55e13c._0x1f0dea,0x590)](),'modified':_0x112f7e[_0x291498(_0x55e13c._0x205afc,_0x55e13c._0xc0c775,0x2a6,0x41b)][_0x291498(0x5f3,_0x55e13c._0x2d13fd,0x58a,0x437)](),'size':_0x112f7e[_0x3337fa(_0x55e13c._0x5a1fd4,_0x55e13c._0x219b2d,0x37d,0x3cc)],'eol':_0x4febb3,'oldTextLength':_0x4c3109[_0x3337fa(0x886,_0x55e13c._0x376976,_0x55e13c._0x4ec111,_0x55e13c._0x25f65a)],'newTextLength':_0x12f9ca[_0x3337fa(_0x55e13c._0x2207fb,_0x55e13c._0x34f9e7,0x6ed,_0x55e13c._0x43e76d)],'bytesWritten':_0x231a95||_0x31756b?0x0:_0x342f60[_0x3337fa(_0x55e13c._0x4eaec8,0x701,0x7bd,0x788)],'beforeSha':_0x1d8095,'afterSha':_0x17f3fc,'dryRun':_0x31756b,'noChange':_0x231a95,'lineNumbers':calculateLineNumbers(_0x291163,_0x4c3109,_0x12f9ca,_0x46ee9d)});function _0x3337fa(_0x287461,_0x3c394a,_0xf6b019,_0x2052db){return _0x510f56(_0x287461-0x156,_0x3c394a-0x1fb,_0xf6b019-_0x17ab8f._0x4dea4d,_0x287461);}return void 0x0;}});}import{mkdir as _0x454091,rename as _0x23a7cb,stat as _0x413b4f,writeFile as _0x2c0ad1}from'fs/promises';import*as _0x3c1a5f from'path';async function atomicWrite2(_0x1ea760,_0x1c32fc){const _0x56f54a={_0x5e23c0:0x4c7,_0xf60168:0x40f,_0x2b8102:0x659,_0x3003d5:0x2f7,_0x454436:0x4f6,_0x429aae:0x4df,_0x3d826b:0x42f,_0x97002b:0x5b5},_0x49f9e7={_0x4d9864:0xd4},_0x22f001={_0x2df7b5:0x1d2,_0x9142e:0x1b9},_0x4c5898=_0x3c1a5f[_0x1a19fc(_0x56f54a._0x5e23c0,0x58a,0x562,0x654)](_0x1ea760);await _0x454091(_0x4c5898,{'recursive':!![]});const _0x4d281a=_0x3c1a5f['join'](_0x4c5898,_0x47d9c9(_0x56f54a._0xf60168,0x55c,_0x56f54a._0x2b8102,0x510)+_0x3c1a5f['basename'](_0x1ea760)+'.'+Date[_0x47d9c9(0x435,_0x56f54a._0x3003d5,0x41d,0x417)]()+'.'+Math[_0x1a19fc(_0x56f54a._0x454436,0x5f2,_0x56f54a._0x429aae,0x382)]()[_0x47d9c9(_0x56f54a._0x3d826b,0x5fa,_0x56f54a._0x97002b,0x496)](0x24)['slice'](0x2));function _0x47d9c9(_0x8f2263,_0x160ab2,_0x4fd83f,_0x4b45ec){return _0x55c88d(_0x8f2263-_0x22f001._0x2df7b5,_0x4b45ec-0x7a,_0x160ab2,_0x4b45ec-_0x22f001._0x9142e);}function _0x1a19fc(_0x1d6eb,_0x51b214,_0x528cc0,_0xbd0e0a){return _0x1e45aa(_0x1d6eb-0x193,_0x51b214-0x175,_0x528cc0- -_0x49f9e7._0x4d9864,_0xbd0e0a);}await _0x2c0ad1(_0x4d281a,_0x1c32fc),await _0x23a7cb(_0x4d281a,_0x1ea760);}function createFileNewTool(_0xf84fbf={}){const _0x37f2fb={_0x26f1dd:0x463,_0x4e6a3f:0x57a,_0x16e629:0x528,_0x3979bc:0x102,_0x5692a5:0x4e,_0x13f270:0x101,_0x146bf3:0x356,_0x57b391:0x455,_0x269f7f:0x4b4,_0x30700b:0x6e3,_0x424507:0x5fa,_0xa2da03:0x1a4,_0x42dd79:0x1d1,_0x4ab451:0x721,_0x1f0c0a:0x57f,_0x1b5d06:0x605,_0x4ce31f:0x21c,_0x11ae4d:0xd3,_0x51384b:0x5d1,_0x205cb0:0x4c3,_0x3fa60b:0x384,_0x35ec40:0x6d5,_0x56e2c5:0x67b,_0x28f4e5:0x5af,_0x46d909:0x554,_0x2411d9:0x6bb},_0x215686={_0x105cf1:0x335,_0xf10153:0x4f5,_0x48c451:0x3c3,_0x57807d:0x53b,_0x15e44c:0x52a,_0x38982e:0x2ee,_0x5208ed:0x435,_0x5c8bee:0x3dc,_0x56a82e:0x314,_0x4dc996:0x443,_0x125c1f:0x311,_0x32aa0e:0x3fc,_0x5185a0:0x41f,_0x2f01ea:0x3e1,_0x5cb510:0x2f5,_0x2f66d0:0x2b0,_0x1cc058:0x37c,_0x4b2c03:0x37a,_0x23a1aa:0x28e,_0xacd1bc:0x27a,_0x5e544b:0x46e,_0x129112:0x4a0},_0x44255f={_0x1966d2:0x367},_0x409cc4={_0xd067ba:0x1cd,_0x124836:0x165,_0x3a7627:0x5ec};function _0x31ce8b(_0x3e986e,_0x3aab35,_0x5112de,_0x2a89d7){return _0x1e45aa(_0x3e986e-0x14b,_0x3aab35-0x55,_0x2a89d7- -0x170,_0x5112de);}const _0x1ee01e=_0x3c1a5f[_0x31ce8b(_0x37f2fb._0x26f1dd,0x556,_0x37f2fb._0x4e6a3f,_0x37f2fb._0x16e629)](_0xf84fbf[_0x15336e(0x101,_0x37f2fb._0x3979bc,_0x37f2fb._0x5692a5,_0x37f2fb._0x13f270)]??process[_0x31ce8b(_0x37f2fb._0x146bf3,_0x37f2fb._0x57b391,0x361,0x44f)]()),_0x4dd5bd=_0xf84fbf[_0x31ce8b(_0x37f2fb._0x269f7f,_0x37f2fb._0x30700b,0x4c2,_0x37f2fb._0x424507)]??[],_0x5e3336=_0xf84fbf[_0x15336e(0x64,_0x37f2fb._0xa2da03,0x1aa,_0x37f2fb._0x42dd79)]??_0x31ce8b(_0x37f2fb._0x4ab451,_0x37f2fb._0x1f0c0a,0x663,_0x37f2fb._0x1b5d06);function _0x15336e(_0x40b56,_0x4cf75e,_0xe2445,_0x3ca8bd){return _0x1e45aa(_0x40b56-_0x409cc4._0xd067ba,_0x4cf75e-_0x409cc4._0x124836,_0x4cf75e- -_0x409cc4._0x3a7627,_0x3ca8bd);}return defineTool({'name':_0x5e3336,'description':_0x15336e(0xf1,_0x37f2fb._0x4ce31f,_0x37f2fb._0x11ae4d,0x185),'inputSchema':{'type':_0x31ce8b(_0x37f2fb._0x51384b,_0x37f2fb._0x205cb0,_0x37f2fb._0x3fa60b,0x498),'properties':{'filePath':{'type':_0x31ce8b(_0x37f2fb._0x35ec40,0x67e,_0x37f2fb._0x56e2c5,_0x37f2fb._0x28f4e5)},'content':{'type':_0x31ce8b(_0x37f2fb._0x46d909,0x5c0,_0x37f2fb._0x2411d9,_0x37f2fb._0x28f4e5)}},'required':[_0x31ce8b(0x4ba,0x557,0x547,0x500),'content']},async *'execute'(_0x302715){const _0x10293b=resolveAllowedPath(_0x1ee01e,_0x4dd5bd,_0x302715['filePath']),_0x2476ce=await _0x413b4f(_0x10293b)[_0x5e7941(0x30b,0x2fa,0x43c,0x229)](()=>!![])[_0x49a0f1(0x39e,_0x215686._0x105cf1,_0x215686._0xf10153,_0x215686._0x48c451)](()=>![]),_0x3ddcde=Buffer[_0x49a0f1(_0x215686._0x57807d,0x608,0x48c,_0x215686._0x15e44c)](_0x302715[_0x5e7941(0x3c9,0x24f,_0x215686._0x38982e,_0x215686._0x5208ed)],_0x49a0f1(0x412,0x58c,0x45e,_0x215686._0x5c8bee));function _0x5e7941(_0x355d33,_0xff2b2d,_0xacfdad,_0xa580df){return _0x31ce8b(_0x355d33-0x1c9,_0xff2b2d-0x38,_0xa580df,_0x355d33- -0x1ef);}function _0x49a0f1(_0x3fefb3,_0x3938f2,_0x4860f5,_0x2d3628){return _0x15336e(_0x3fefb3-0x1d9,_0x3fefb3-_0x44255f._0x1966d2,_0x4860f5-0xce,_0x2d3628);}return await atomicWrite2(_0x10293b,_0x3ddcde),yield createToolOutput(_0x5e7941(_0x215686._0x56a82e,_0x215686._0x4dc996,0x476,0x300)+_0x302715[_0x5e7941(_0x215686._0x125c1f,0x3b0,_0x215686._0x32aa0e,_0x215686._0x5185a0)]+'.',{'filePath':_0x302715[_0x5e7941(0x311,_0x215686._0x2f01ea,_0x215686._0x5cb510,0x199)],'resolvedPath':_0x10293b,'bytes':_0x3ddcde['length'],'lines':_0x302715[_0x5e7941(0x3c9,0x362,_0x215686._0x2f66d0,0x2c8)][_0x5e7941(_0x215686._0x1cc058,_0x215686._0x4b2c03,_0x215686._0x23a1aa,_0x215686._0xacd1bc)](/\r?\n/)['length'],'created':new Date()[_0x5e7941(_0x215686._0x5e544b,_0x215686._0x129112,0x55f,0x571)](),'overwritten':_0x2476ce}),void 0x0;}});}import{readFile as _0x3a6bb3,stat as _0x309baf}from'fs/promises';import*as _0x58140f from'path';function stripUtfBom(_0x44b19b){const _0x5849a9={_0x8df1a4:0x877,_0x562631:0x615,_0x346796:0x4ef},_0x4f9917={_0x107b79:0x5ad},_0x4b8167={_0x2d5a04:0x1a0};function _0x2ca616(_0x5c03d7,_0x38608b,_0x2c16ed,_0x986a38){return _0x55c88d(_0x5c03d7-0x7,_0x986a38-0x22a,_0x38608b,_0x986a38-_0x4b8167._0x2d5a04);}function _0x160de6(_0x3abb18,_0x4ff10b,_0x2c044a,_0x5d9c94){return _0x1e45aa(_0x3abb18-0xe,_0x4ff10b-0x1d8,_0x5d9c94- -_0x4f9917._0x107b79,_0x2c044a);}return _0x44b19b[_0x2ca616(0x645,_0x5849a9._0x8df1a4,0x8c6,0x7ba)](0x0)===0xfeff?_0x44b19b[_0x2ca616(_0x5849a9._0x562631,0x45c,0x3be,_0x5849a9._0x346796)](0x1):_0x44b19b;}function clampLine(_0x51f56c,_0x3185ce){const _0x2b043a={_0x1e0d52:0x2a4,_0x2eaa02:0x1bb,_0x20e3fa:0x1d2,_0x2db82b:0x145,_0x5931cd:0x2fc,_0x1a3b49:0x229},_0x4ba2ea={_0xeb6ac3:0x18e},_0x519d6e={_0x4d7239:0x133,_0x3adc26:0x776};if(!Number[_0x40202d(-_0x2b043a._0x1e0d52,-0x288,-_0x2b043a._0x2eaa02,-0x2c5)](_0x51f56c))return 0x1;function _0x40202d(_0xdb8e9d,_0x34b732,_0xa1da8d,_0x9963b3){return _0x1e45aa(_0xdb8e9d-0xaf,_0x34b732-_0x519d6e._0x4d7239,_0xa1da8d- -_0x519d6e._0x3adc26,_0x34b732);}function _0x2a2115(_0x2b47ad,_0x53e5ba,_0x21a25a,_0xfb88a5){return _0x55c88d(_0x2b47ad-_0x4ba2ea._0xeb6ac3,_0xfb88a5- -0xe4,_0x53e5ba,_0xfb88a5-0x13d);}return Math[_0x40202d(-0x11b,-_0x2b043a._0x20e3fa,-_0x2b043a._0x2db82b,-0x28f)](0x1,Math['min'](Math[_0x2a2115(_0x2b043a._0x5931cd,0x1f6,0x13c,_0x2b043a._0x1a3b49)](_0x51f56c),_0x3185ce));}function createFileReadTool(_0x34025f={}){const _0x50e98f={_0x145597:0x133,_0x39c469:0x1a7,_0x1573f6:0x210,_0x24ca16:0x31c,_0x4a68a2:0x279,_0x588329:0x304,_0x4bea16:0x32d,_0x176fd8:0xde,_0x86e796:0x1b2,_0x31573b:0x7c,_0x57067b:0x15,_0x931202:0x76e,_0x17d865:0x61b,_0x2305dc:0x659,_0xec7505:0x40e,_0x23f9e9:0x342,_0x1b30e9:0x2c8,_0x35eaca:0x1e9},_0x598ba4={_0xd447e4:0x40b,_0x463244:0x50b,_0x1d3919:0x48d,_0x309e69:0x5ea,_0x5639d5:0x505,_0x1480ee:0x3cb,_0x5e9db2:0x34b,_0x2ba636:0x5be,_0xc2017e:0x449,_0x40c7cf:0x571,_0x1b0307:0x4f1,_0x262cb1:0x289,_0x49e627:0x45a,_0x254f30:0x59d,_0x159d33:0x5f9,_0x18086d:0x781,_0x18c387:0x621,_0x23ee51:0x6cf,_0x403ab9:0x82b,_0x366962:0x162,_0x23f62b:0x4d3,_0x3f80a9:0x4de,_0x1ee544:0x409,_0x30c91a:0x27a,_0x2c8fad:0x3ea,_0x5756ae:0x2f5,_0x2007d4:0x2a1},_0xa81c61={_0xea39a9:0x195,_0x537307:0xc7},_0x2eae80={_0x4235d5:0x2c4,_0x2ba99c:0x1ab},_0x429410={_0x376c7a:0xde,_0x5edd58:0xeb},_0x13a5a9=_0x58140f[_0x516b23(_0x50e98f._0x145597,0x1de,_0x50e98f._0x39c469,0x104)](_0x34025f['defaultCwd']??process['cwd']());function _0x516b23(_0x14f300,_0x513463,_0x3289d1,_0x3c817c){return _0x55c88d(_0x14f300-_0x429410._0x376c7a,_0x3289d1- -0x240,_0x14f300,_0x3c817c-_0x429410._0x5edd58);}const _0x1b37fc=_0x34025f[_0x516b23(_0x50e98f._0x1573f6,_0x50e98f._0x24ca16,_0x50e98f._0x4a68a2,0x30f)]??[],_0x3d27b6=_0x34025f[_0x516b23(_0x50e98f._0x588329,_0x50e98f._0x4bea16,0x29f,0x418)]??_0x516b23(-_0x50e98f._0x176fd8,_0x50e98f._0x86e796,_0x50e98f._0x31573b,_0x50e98f._0x57067b);function _0x553d13(_0x143062,_0x1492f4,_0xce7670,_0x45e944){return _0x55c88d(_0x143062-0x93,_0xce7670-_0x2eae80._0x4235d5,_0x1492f4,_0x45e944-_0x2eae80._0x2ba99c);}return defineTool({'name':_0x3d27b6,'description':'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).','inputSchema':{'type':_0x553d13(_0x50e98f._0x931202,0x4cd,_0x50e98f._0x17d865,_0x50e98f._0x2305dc),'properties':{'path':{'type':'string'},'lineStart':{'type':'number','description':_0x516b23(0x1d9,_0x50e98f._0xec7505,_0x50e98f._0x23f9e9,0x435)},'lineEnd':{'type':'number','description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':[_0x516b23(_0x50e98f._0x1b30e9,0xa4,_0x50e98f._0x35eaca,0xb3)]},async *'execute'(_0x599b74){const _0x510da7=resolveAllowedPath(_0x13a5a9,_0x1b37fc,_0x599b74[_0x5b2b88(_0x598ba4._0xd447e4,0x173,0x2cb,0x2e2)]);await assertWorkspaceFile(_0x510da7);const _0x3ae21c=await _0x309baf(_0x510da7),_0x513e3c=await _0x3a6bb3(_0x510da7);if(isProbablyBinary(_0x513e3c))throw new ToolExecutionError(_0x14cc3e(_0x598ba4._0x463244,0x683,0x589,_0x598ba4._0x1d3919)+_0x599b74['path'],{'path':_0x599b74['path']});function _0x14cc3e(_0x3a86e8,_0x435604,_0x4a6f30,_0xbeaa27){return _0x516b23(_0x435604,_0x435604-_0xa81c61._0xea39a9,_0x4a6f30-0x35f,_0xbeaa27-_0xa81c61._0x537307);}let _0x566e8a=_0x513e3c[_0x14cc3e(0x3da,0x59c,0x53b,0x553)](_0x14cc3e(0x562,_0x598ba4._0x309e69,_0x598ba4._0x5639d5,_0x598ba4._0x1480ee));const _0x11fa6e=_0x566e8a[_0x5b2b88(_0x598ba4._0x5e9db2,0x34b,_0x598ba4._0x2ba636,_0x598ba4._0xc2017e)](0x0)===0xfeff;_0x566e8a=stripUtfBom(_0x566e8a);const _0x4ec628=_0x566e8a[_0x14cc3e(0x4de,0x511,0x549,0x574)](/\r?\n/),_0x4ef817={'path':_0x599b74['path'],'resolvedPath':_0x510da7,'created':_0x3ae21c[_0x5b2b88(0x394,0x2ed,0x1bc,0x2bc)][_0x14cc3e(0x698,0x72a,0x63b,0x766)](),'modified':_0x3ae21c[_0x14cc3e(_0x598ba4._0x40c7cf,0x660,_0x598ba4._0x1b0307,0x3fe)][_0x5b2b88(0x3ef,0x31d,_0x598ba4._0x262cb1,0x3d5)](),'size':_0x3ae21c['size'],'encoding':_0x14cc3e(_0x598ba4._0x49e627,_0x598ba4._0x254f30,_0x598ba4._0x5639d5,_0x598ba4._0x159d33),'bomStripped':_0x11fa6e,'truncated':![],'totalLines':_0x4ec628['length']};function _0x5b2b88(_0x1e9784,_0x25a1ec,_0x4e4eb2,_0x424414){return _0x516b23(_0x4e4eb2,_0x25a1ec-0xb2,_0x424414-0xf9,_0x424414-0x12b);}if(_0x599b74[_0x14cc3e(_0x598ba4._0x18086d,_0x598ba4._0x18c387,_0x598ba4._0x23ee51,_0x598ba4._0x403ab9)]!==void 0x0||_0x599b74[_0x5b2b88(0xb4,0x5a,_0x598ba4._0x366962,0x1a3)]!==void 0x0){const _0x13848a=clampLine(_0x599b74[_0x5b2b88(0x3e8,0x51d,_0x598ba4._0x23f62b,0x469)]??0x1,_0x4ec628['length']),_0x31ce98=clampLine(_0x599b74['lineEnd']??_0x4ec628['length'],_0x4ec628[_0x5b2b88(_0x598ba4._0x3f80a9,_0x598ba4._0x1ee544,_0x598ba4._0x30c91a,_0x598ba4._0x2c8fad)]),_0x40b338=Math['min'](_0x13848a,_0x31ce98),_0x23c77b=Math['max'](_0x13848a,_0x31ce98),_0x47f148=_0x4ec628[_0x5b2b88(0x1a9,_0x598ba4._0x5756ae,_0x598ba4._0x2007d4,0x17e)](_0x40b338-0x1,_0x23c77b)['map']((_0x426873,_0x3295a3)=>_0x40b338+_0x3295a3+'|'+_0x426873)['join']('\x0a');return yield createToolOutput(_0x47f148,{..._0x4ef817,'lineRange':{'lineStart':_0x40b338,'lineEnd':_0x23c77b,'linesTotal':_0x4ec628['length']}}),void 0x0;}return yield createToolOutput(_0x566e8a,_0x4ef817),void 0x0;}});}import{stat as _0x5c7953}from'fs/promises';import*as _0x931a15 from'path';import{execSync,spawn as _0x461b8a}from'child_process';import{existsSync}from'fs';import{stat as _0x202ad1}from'fs/promises';import*as _0x1d3a01 from'os';import*as _0x29726e from'path';import{rgPath as _0x2e6ce8}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x41ba7e={_0x2fcd88:0x123,_0x4f4be2:0x99,_0x44474b:0x1b7,_0xcfeb25:0xfd,_0x21b1d3:0x5e,_0x25d713:0x447,_0x286bc5:0x56d,_0x20dba8:0x114,_0x561320:0x312,_0x1c915f:0x212,_0x15ac7d:0x1e5,_0x4df668:0x11e,_0x163ae1:0x8f,_0x5654c9:0x61,_0xfe6f52:0x3c0,_0x4c75cb:0x522,_0x118aac:0x321,_0x6ca55c:0x5df,_0x21701a:0x6aa,_0x4dcab5:0x5c8,_0x2bc8aa:0x1bf,_0x72b36:0x483,_0x35b944:0x178,_0x2d87b6:0x65,_0x1f9b8e:0x6c,_0x20b685:0x61,_0x538aaa:0x69,_0x177c35:0x73,_0x3694d0:0x164,_0x7e4f22:0x4b4,_0x1b3a91:0x54f,_0x1228ef:0x613,_0xc0d6b3:0x514,_0x72bcf5:0x302,_0x2105e5:0x2db,_0x5a28e7:0x30f,_0x40ce49:0x232,_0x96abbe:0x7b,_0x38af8b:0x3c,_0x4310bb:0x45,_0x47fec1:0x74,_0x341901:0xc9,_0x449b99:0x3cd,_0x5afdd2:0x274,_0x3db0a3:0x41c,_0x364aff:0x599,_0x811366:0x58d,_0x287c62:0x65f,_0x52b5cb:0x580,_0x439048:0x96,_0x16d9af:0x14,_0x57205a:0xee,_0x83bf58:0x11d,_0x1a8c5b:0x86,_0x49be6a:0x15f,_0x572260:0x99};function _0x3bae48(_0x53a676,_0x3fd76d,_0x584e4c,_0x191ebb){return _0x55c88d(_0x53a676-0x7,_0x191ebb- -0x391,_0x584e4c,_0x191ebb-0xe9);}const _0x10b119=_0x1d3a01[_0x3bae48(_0x41ba7e._0x2fcd88,0x2de,_0x41ba7e._0x4f4be2,_0x41ba7e._0x44474b)]()==='win32',_0x598a7f=_0x10b119?[_0x29726e[_0x3bae48(0x137,_0x41ba7e._0xcfeb25,-0x6a,0x61)](process[_0x3bae48(-0xd3,0x57,0x11b,0x48)][_0x3bae48(0xb7,_0x41ba7e._0x21b1d3,-0x52,0x78)]||'',_0x1e5de1(_0x41ba7e._0x25d713,_0x41ba7e._0x286bc5,0x3c0,0x516),_0x3bae48(0x93,-_0x41ba7e._0x20dba8,0xb2,-0x35),_0x1e5de1(_0x41ba7e._0x561320,_0x41ba7e._0x1c915f,_0x41ba7e._0x15ac7d,0x21d)),_0x29726e[_0x3bae48(_0x41ba7e._0x4df668,0xec,_0x41ba7e._0x163ae1,_0x41ba7e._0x5654c9)](process[_0x1e5de1(_0x41ba7e._0xfe6f52,_0x41ba7e._0x4c75cb,_0x41ba7e._0x118aac,0x271)][_0x1e5de1(0x574,0x677,_0x41ba7e._0x6ca55c,_0x41ba7e._0x21701a)]||'',_0x1e5de1(0x4b4,0x3e7,_0x41ba7e._0x4dcab5,0x3f9),_0x1e5de1(0x335,_0x41ba7e._0x2bc8aa,_0x41ba7e._0x72b36,0x427)),_0x29726e[_0x3bae48(_0x41ba7e._0x35b944,-_0x41ba7e._0x2d87b6,-_0x41ba7e._0x1f9b8e,_0x41ba7e._0x20b685)](process[_0x1e5de1(0x3c0,0x45d,0x4ed,0x33b)][_0x3bae48(-_0x41ba7e._0x538aaa,_0x41ba7e._0x177c35,-_0x41ba7e._0x3694d0,-_0x41ba7e._0x21b1d3)]||'',_0x1e5de1(_0x41ba7e._0x7e4f22,_0x41ba7e._0x1b3a91,_0x41ba7e._0x1228ef,_0x41ba7e._0xc0d6b3),'rg.exe')]:[_0x1e5de1(_0x41ba7e._0x72bcf5,_0x41ba7e._0x2105e5,_0x41ba7e._0x5a28e7,_0x41ba7e._0x40ce49),_0x3bae48(-0x8e,0x79,-_0x41ba7e._0x96abbe,0x2),_0x3bae48(0x111,_0x41ba7e._0x38af8b,-_0x41ba7e._0x4310bb,0x4),'/bin/rg'];for(const _0x52fc2c of _0x598a7f){if(existsSync(_0x52fc2c))return _0x52fc2c;}function _0x1e5de1(_0x214e16,_0x17c4ec,_0x82035b,_0x1847e9){return _0x55c88d(_0x214e16-0xd2,_0x214e16- -0x19,_0x17c4ec,_0x1847e9-0x179);}try{const _0x569077=_0x10b119?_0x3bae48(0x94,0xd8,-0x1a9,-0x45):_0x3bae48(-_0x41ba7e._0x47fec1,_0x41ba7e._0x341901,-0x128,-0xb4),_0x15b12e=execSync(_0x569077,{'encoding':_0x1e5de1(_0x41ba7e._0x449b99,0x362,_0x41ba7e._0x5afdd2,_0x41ba7e._0x3db0a3),'stdio':[_0x1e5de1(_0x41ba7e._0x364aff,_0x41ba7e._0x811366,0x4c2,_0x41ba7e._0x287c62),_0x1e5de1(_0x41ba7e._0x364aff,0x663,_0x41ba7e._0x52b5cb,0x537),_0x3bae48(_0x41ba7e._0x439048,-_0x41ba7e._0x16d9af,_0x41ba7e._0x57205a,_0x41ba7e._0x83bf58)]})[_0x3bae48(_0x41ba7e._0x1a8c5b,0xea,0xd8,_0x41ba7e._0x49be6a)]()[_0x3bae48(-0xd6,0xce,0x126,_0x41ba7e._0x572260)](/\r?\n/)[0x0];if(_0x15b12e&&existsSync(_0x15b12e))return _0x15b12e;}catch{return null;}return null;}async function filepath(){const _0x5a7250={_0x50b8d5:0x1b9},_0x237a72={_0x270d28:0x103,_0x435cfc:0x183};if(cachedRgPath)return cachedRgPath;if(_0x2e6ce8&&existsSync(_0x2e6ce8))return cachedRgPath=_0x2e6ce8,_0x2e6ce8;const _0x946ab=findSystemRipgrep();function _0x4a0134(_0x6f2abf,_0x45be07,_0x3ed64d,_0xfa8360){return _0x55c88d(_0x6f2abf-_0x237a72._0x270d28,_0xfa8360- -0x49a,_0x6f2abf,_0xfa8360-_0x237a72._0x435cfc);}if(!_0x946ab)throw new Error(_0x4a0134(-0x16b,-0x1f8,-_0x5a7250._0x50b8d5,-0x177));return cachedRgPath=_0x946ab,_0x946ab;}async function*files(_0x11380f){const _0x3ce8c6={_0x437b2a:0x230,_0x1ad96a:0xb9,_0x113b21:0x98,_0x3509e6:0x2a1,_0x2d54a0:0x204,_0x47c8be:0x1ca,_0xf81d77:0x279,_0xef6473:0xed,_0x3a101a:0x234,_0x527872:0x33,_0x5ae4be:0x95,_0x49f64f:0x3fd,_0x3f3492:0x2e0,_0x448fbe:0x193,_0xdb47e8:0x20e,_0x4a77cf:0x124,_0x8ab75a:0x43,_0x5d80dc:0x125,_0x2bc8f3:0xa8,_0xbc7df4:0x4b7,_0x22e937:0x2af,_0x56fb9a:0x208,_0x50c50f:0x1f8,_0x355f6b:0xf,_0x79d9ba:0x10a,_0x39c17e:0x155,_0x19a43c:0x490,_0x48163a:0x4a7,_0x36ef55:0x48d,_0x39e3e7:0xb3,_0x553efc:0xd7,_0x389fbb:0x196,_0x45ca93:0x143,_0x376c9f:0x4,_0x299b9b:0x12,_0x551e9b:0x9e,_0xd3021a:0xc0,_0xb964ba:0x165,_0x60fab9:0x1a0,_0x1434d2:0x1f8,_0x5e744a:0x119,_0x2789e6:0x28,_0x3640f8:0x159},_0x1c5c36={_0x30f296:0x116,_0x5def2b:0x418,_0x3463c0:0x160},_0x1c4215={_0x39a29c:0xeb,_0x179b87:0x1e8,_0x4d1fa6:0x422},_0x10c808=await filepath();function _0x9e74e1(_0x1c0218,_0x15d5c7,_0x53a45d,_0x3c3902){return _0x1e45aa(_0x1c0218-_0x1c4215._0x39a29c,_0x15d5c7-_0x1c4215._0x179b87,_0x3c3902- -_0x1c4215._0x4d1fa6,_0x53a45d);}const _0x2fa5c8=await _0x202ad1(_0x11380f[_0x4b66cb(-0x1f6,-0x10a,0x77,-_0x3ce8c6._0x437b2a)])['catch'](()=>null);function _0x4b66cb(_0x1a4792,_0x3dbb5c,_0x578419,_0x57c474){return _0x55c88d(_0x1a4792-_0x1c5c36._0x30f296,_0x3dbb5c- -_0x1c5c36._0x5def2b,_0x1a4792,_0x57c474-_0x1c5c36._0x3463c0);}if(!_0x2fa5c8?.[_0x4b66cb(_0x3ce8c6._0x1ad96a,-0xa1,-0x24,-_0x3ce8c6._0x113b21)]())throw Object[_0x9e74e1(0x2c3,_0x3ce8c6._0x3509e6,0x240,0x28f)](new Error(_0x9e74e1(_0x3ce8c6._0x2d54a0,_0x3ce8c6._0x47c8be,_0x3ce8c6._0xf81d77,0x1c8)+_0x11380f['cwd']+'\x27'),{'code':_0x4b66cb(-0x1b8,-0x92,_0x3ce8c6._0xef6473,-0x1c5)});const _0x38a518=[_0x4b66cb(_0x3ce8c6._0x3a101a,0x127,_0x3ce8c6._0x527872,_0x3ce8c6._0x5ae4be),_0x9e74e1(_0x3ce8c6._0x49f64f,0x314,0x267,_0x3ce8c6._0x3f3492),_0x4b66cb(0x25e,_0x3ce8c6._0x448fbe,0x20f,_0x3ce8c6._0xdb47e8),_0x4b66cb(-_0x3ce8c6._0x4a77cf,-_0x3ce8c6._0x8ab75a,-_0x3ce8c6._0x5d80dc,-_0x3ce8c6._0x2bc8f3)];for(const _0x42c2f5 of _0x11380f[_0x9e74e1(_0x3ce8c6._0xbc7df4,_0x3ce8c6._0x22e937,0x334,0x401)]??[]){_0x38a518['push'](_0x9e74e1(_0x3ce8c6._0x56fb9a,_0x3ce8c6._0x50c50f,0x38b,0x296)+_0x42c2f5);}const _0x56c09e=_0x461b8a(_0x10c808,_0x38a518,{'cwd':_0x11380f[_0x4b66cb(_0x3ce8c6._0x355f6b,-_0x3ce8c6._0x79d9ba,0x4c,0x4)],'stdio':[_0x4b66cb(0x34,0x96,0xbe,_0x3ce8c6._0x39c17e),_0x9e74e1(_0x3ce8c6._0x19a43c,0x47a,0x3bd,0x441),_0x9e74e1(_0x3ce8c6._0x48163a,_0x3ce8c6._0x36ef55,0x5bd,0x441)]});let _0x25f2f5='';for await(const _0x522fa0 of _0x56c09e[_0x4b66cb(-_0x3ce8c6._0x39e3e7,-0x15b,-_0x3ce8c6._0x553efc,-_0x3ce8c6._0x389fbb)]??[]){_0x25f2f5+=_0x522fa0[_0x4b66cb(-_0x3ce8c6._0x45ca93,_0x3ce8c6._0x376c9f,-0x180,-0x124)]();const _0x3c5912=_0x25f2f5[_0x4b66cb(-0xd0,_0x3ce8c6._0x299b9b,_0x3ce8c6._0x551e9b,-_0x3ce8c6._0xd3021a)](/\r?\n/);_0x25f2f5=_0x3c5912[_0x4b66cb(_0x3ce8c6._0xb964ba,_0x3ce8c6._0x60fab9,_0x3ce8c6._0x1434d2,0x217)]()??'';for(const _0x4ada3f of _0x3c5912){if(_0x4ada3f['length']>0x0)yield _0x4ada3f;}}_0x25f2f5[_0x4b66cb(0x55,0xd8,0xe,-0x52)]()[_0x4b66cb(0x24e,_0x3ce8c6._0x5e744a,_0x3ce8c6._0x2789e6,_0x3ce8c6._0x3640f8)]>0x0&&(yield _0x25f2f5['trim']());}function parseMatchLine(_0x5d7d40,_0x1bf5b5){const _0x40fd79={_0x183169:0x256,_0x2515c3:0x1d8,_0x52637b:0x21e,_0x2426c8:0x47,_0x451dc4:0x1e2,_0x5bee7b:0x275,_0x573a65:0x77,_0x4401c2:0xf4,_0x4fe310:0x125,_0x3e2c21:0xd9,_0x21d5f6:0xdc,_0x20de4c:0x4e,_0x43f865:0x18a,_0x279bab:0xdf,_0x309f25:0x22,_0x3e1904:0xfe,_0x145945:0xdb,_0x2c3a8c:0x1e9,_0x27c7ac:0xa9,_0x3d8919:0x129,_0xaafba0:0x1cf,_0x4dfc91:0xb5,_0x501ec8:0x51,_0x428ee0:0xca},_0x1bb145={_0x2ca94d:0x433},_0x58fd84={_0x409bbf:0x313,_0x319d5c:0x86};if(!_0x5d7d40||_0x5d7d40==='--')return null;const _0x1fda3b=_0x5d7d40[_0x46f1ae(_0x40fd79._0x183169,-0x58,0x14b,0x117)]('|');function _0x46f1ae(_0x4e8a3e,_0x2879d2,_0x312a34,_0x474ab6){return _0x55c88d(_0x4e8a3e-0x36,_0x474ab6- -_0x58fd84._0x409bbf,_0x312a34,_0x474ab6-_0x58fd84._0x319d5c);}if(_0x1bf5b5&&_0x1fda3b[_0x46f1ae(0x219,0x189,_0x40fd79._0x2515c3,_0x40fd79._0x52637b)]>=0x4&&Number[_0x9da540(_0x40fd79._0x2426c8,-_0x40fd79._0x451dc4,-_0x40fd79._0x5bee7b,-0x129)](Number[_0x46f1ae(-0x46,0xf1,0x1d8,_0x40fd79._0x573a65)](_0x1fda3b[0x2]??'',0xa))){const _0x4fb107=Number[_0x46f1ae(-_0x40fd79._0x4401c2,-0xbb,_0x40fd79._0x4fe310,0x77)](_0x1fda3b[0x1]??'',0xa);if(!Number['isFinite'](_0x4fb107)||!_0x1fda3b[0x0])return null;return{'filePath':_0x1fda3b[0x0],'lineNum':_0x4fb107,'lineText':_0x1fda3b[_0x46f1ae(-0x165,_0x40fd79._0x3e2c21,-_0x40fd79._0x21d5f6,-_0x40fd79._0x20de4c)](0x3)[_0x46f1ae(0xbf,0x1,_0x40fd79._0x43f865,_0x40fd79._0x279bab)]('|')};}if(_0x1fda3b[_0x9da540(-0x23,0x1c6,_0x40fd79._0x309f25,_0x40fd79._0x3e1904)]>=0x3){const _0x472afc=Number[_0x9da540(_0x40fd79._0x145945,-0x41,-_0x40fd79._0x2c3a8c,-_0x40fd79._0x27c7ac)](_0x1fda3b[0x1]??'',0xa);if(!Number[_0x9da540(-0x23e,-0x184,-0x66,-_0x40fd79._0x3d8919)](_0x472afc)||!_0x1fda3b[0x0])return null;return{'filePath':_0x1fda3b[0x0],'lineNum':_0x472afc,'lineText':_0x1fda3b[_0x46f1ae(-_0x40fd79._0xaafba0,_0x40fd79._0x4dfc91,-0x91,-0x4e)](0x2)[_0x9da540(-_0x40fd79._0x501ec8,0x10a,-_0x40fd79._0x428ee0,-0x41)]('|'),..._0x1bf5b5?{'isContext':!![]}:{}};}function _0x9da540(_0x4db0ba,_0xbaf2f2,_0x544171,_0x5c0510){return _0x55c88d(_0x4db0ba-0x97,_0x5c0510- -_0x1bb145._0x2ca94d,_0xbaf2f2,_0x5c0510-0xfc);}return null;}async function search(_0x57c221){const _0x2d5397={_0x1c43f6:0x72c,_0x791a8d:0x4fc,_0x264491:0x53,_0x5412b7:0x52,_0x29f7af:0x12e,_0x1e10ca:0x6b7,_0x3e59b3:0x624,_0x879f2f:0x746,_0x48bfd8:0x152,_0x47cc25:0xc4,_0xe8f1e1:0x59e,_0x301d29:0x728,_0x292579:0x165,_0x57881e:0xc6,_0x2ef15f:0x642,_0x1fec8f:0x46c,_0x23b045:0x580,_0x59d5ac:0x678,_0x2a68e6:0x3c,_0x1cad14:0xaf,_0x2b435c:0x48a,_0x2c23d5:0x668,_0x2af8f4:0x5f1,_0x59ca7c:0x77b,_0x241d13:0x6da,_0x3b54da:0x720,_0x2a5700:0x921,_0x1ffff5:0x8ad,_0x2862ba:0x72e,_0x398f3e:0x7,_0x313bb0:0x214,_0xbf134e:0x126,_0x15ed8c:0xbe,_0x1bae60:0x6d9,_0x1dc730:0x178,_0x3e00cd:0x16c,_0x410676:0x716,_0x2a0830:0x680,_0x62fa41:0x5ff,_0x389bf7:0x567,_0x60e4e:0x665,_0x57ec42:0x8e3,_0x36e4f6:0x7dd,_0x5c3704:0x22,_0x109cdc:0x159,_0x48c45b:0x1c7,_0x227d4a:0xfc,_0x491ae4:0x155,_0x1da192:0x5e9,_0x2e1659:0x5f8,_0x1035b8:0x579},_0x804e62={_0x2786db:0x24b,_0x171d14:0x1ef,_0xfe47a0:0x1f2,_0x4eddf5:0x14b,_0x23d939:0xd7,_0x33dcbe:0x22a,_0x21dbdc:0x126,_0x30cf4c:0x10,_0x1c988e:0x1aa,_0x3d326c:0x165,_0x55442e:0x2a5,_0x4fdf27:0x19b,_0x23c828:0x46d,_0x340469:0x616},_0x411fbd={_0xc51cc8:0x5bd,_0x431832:0x6f8,_0x59c093:0x693,_0x34a332:0x404,_0x19f8da:0x4c6,_0x10a9bd:0x69b,_0x3caad1:0x762},_0x3069a0={_0x1cf33c:0x5cf},_0x2685d3={_0x2aea5b:0x19e},_0x5ed60d=await filepath();function _0x4752bf(_0x23f9ef,_0x5b3214,_0x276f34,_0x86f120){return _0x1e45aa(_0x23f9ef-0x19d,_0x5b3214-0x179,_0x5b3214- -0x5ca,_0x276f34);}if(_0x57c221[_0x2e7eaa(_0x2d5397._0x1c43f6,_0x2d5397._0x791a8d,0x5fd,0x5d6)]){const _0x16713a=await _0x202ad1(_0x57c221[_0x4752bf(-_0x2d5397._0x264491,_0x2d5397._0x5412b7,-_0x2d5397._0x29f7af,0x1af)])[_0x2e7eaa(0x5d5,_0x2d5397._0x1e10ca,_0x2d5397._0x3e59b3,0x5dd)](()=>null);if(!_0x16713a?.['isFile']())throw Object[_0x2e7eaa(_0x2d5397._0x879f2f,0x57a,0x4f7,0x66b)](new Error(_0x4752bf(0x2,0x66,_0x2d5397._0x48bfd8,-_0x2d5397._0x47cc25)+_0x57c221[_0x2e7eaa(_0x2d5397._0xe8f1e1,_0x2d5397._0x301d29,0x68f,0x5d6)]+'\x27'),{'code':_0x4752bf(_0x2d5397._0x292579,0x6d,-_0x2d5397._0x57881e,-0xd8)});}else{const _0x352f6b=await _0x202ad1(_0x57c221[_0x2e7eaa(0x621,_0x2d5397._0x2ef15f,_0x2d5397._0x1fec8f,0x579)])[_0x2e7eaa(_0x2d5397._0x23b045,0x47a,_0x2d5397._0x59d5ac,0x5dd)](()=>null);if(!_0x352f6b?.['isDirectory']())throw Object[_0x4752bf(_0x2d5397._0x2a68e6,0xe7,0x25c,-0xc)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x57c221[_0x4752bf(0x25,-0xb,0x13e,_0x2d5397._0x1cad14)]+'\x27'),{'code':_0x2e7eaa(_0x2d5397._0x2b435c,_0x2d5397._0x2c23d5,0x654,_0x2d5397._0x2af8f4)});}function _0x2e7eaa(_0x1126c6,_0x11c42d,_0x2fe32b,_0x26e42b){return _0x1e45aa(_0x1126c6-_0x2685d3._0x2aea5b,_0x11c42d-0x1d6,_0x26e42b- -0x46,_0x2fe32b);}const _0x3c26e6=[_0x2e7eaa(_0x2d5397._0x59ca7c,0x5b7,_0x2d5397._0x241d13,0x60b),_0x2e7eaa(0x658,0x57e,_0x2d5397._0x3b54da,0x636),'--field-context-separator=|',_0x2e7eaa(_0x2d5397._0x2a5700,_0x2d5397._0x1ffff5,_0x2d5397._0x2862ba,0x7c1),_0x57c221['pattern']],_0x2206c8=typeof _0x57c221[_0x4752bf(-0x20,_0x2d5397._0x398f3e,-0x71,-0x7d)]===_0x4752bf(_0x2d5397._0x313bb0,_0x2d5397._0xbf134e,-0x3b,_0x2d5397._0x15ed8c)&&_0x57c221[_0x2e7eaa(0x422,0x438,0x54c,0x58b)]>0x0;return _0x2206c8&&_0x3c26e6[_0x2e7eaa(0x6cf,0x78a,_0x2d5397._0x1bae60,0x65c)]('-C',String(_0x57c221[_0x4752bf(_0x2d5397._0x1dc730,_0x2d5397._0x398f3e,_0x2d5397._0x3e00cd,0x106)]),_0x2e7eaa(0x52b,0x7d8,_0x2d5397._0x410676,_0x2d5397._0x2a0830)),_0x57c221['glob']&&!_0x57c221['file']&&_0x3c26e6[_0x2e7eaa(0x629,0x4e0,0x690,0x65c)](_0x2e7eaa(0x6bd,_0x2d5397._0x62fa41,_0x2d5397._0x389bf7,0x6c2),_0x57c221[_0x2e7eaa(0x961,_0x2d5397._0x60e4e,_0x2d5397._0x57ec42,_0x2d5397._0x36e4f6)]),_0x3c26e6[_0x4752bf(-_0x2d5397._0x5c3704,0xd8,_0x2d5397._0x109cdc,_0x2d5397._0x48c45b)](_0x57c221[_0x4752bf(0x1a1,_0x2d5397._0x5412b7,_0x2d5397._0x227d4a,_0x2d5397._0x491ae4)]??_0x57c221[_0x2e7eaa(_0x2d5397._0x1da192,0x5f6,_0x2d5397._0x2e1659,_0x2d5397._0x1035b8)]),await new Promise((_0x18bc09,_0x1a4595)=>{const _0x34be12={_0x4de33b:0x135,_0x41ce2e:0x187},_0x41e109={_0x3598f4:0x174,_0x4cb896:0x7a},_0x2542dd={_0x58e01d:0x5de,_0x3ef111:0x47e},_0x13ed87={_0x41504c:0xd4,_0xe3542a:0xf},_0x518669=_0x461b8a(_0x5ed60d,_0x3c26e6,{'cwd':_0x57c221[_0x2cf771(-0x159,-_0x804e62._0x2786db,-_0x804e62._0x171d14,-_0x804e62._0xfe47a0)],'stdio':['ignore',_0x2cf771(_0x804e62._0x4eddf5,_0x804e62._0x23d939,_0x804e62._0x33dcbe,_0x804e62._0x21dbdc),_0x2cf771(0x14b,_0x804e62._0x30cf4c,0x204,0x146)]});let _0x708344='',_0x5cda2f='';_0x518669[_0x2cf771(-_0x804e62._0x1c988e,-0x300,-_0x804e62._0x3d326c,-_0x804e62._0x55442e)]?.['on'](_0x2cf771(-0x103,-0x1b8,-_0x804e62._0x4fdf27,0x5d),_0x459fae=>{const _0x2a697e={_0x654490:0x146};function _0x3fb632(_0x26fa9b,_0x27b4af,_0x66c762,_0x10bf1b){return _0x269cf2(_0x26fa9b-0x1b9,_0x26fa9b-0x155,_0x66c762-_0x2a697e._0x654490,_0x10bf1b);}_0x708344+=_0x459fae[_0x3fb632(0x655,_0x3069a0._0x1cf33c,0x70f,0x722)]();});function _0x2cf771(_0x35eace,_0x45c59b,_0x38a301,_0x3e6de1){return _0x2e7eaa(_0x35eace-_0x13ed87._0x41504c,_0x45c59b-_0x13ed87._0xe3542a,_0x3e6de1,_0x35eace- -0x6d2);}_0x518669[_0x269cf2(0x564,_0x804e62._0x23c828,0x5b2,0x473)]?.['on']('data',_0x55ff7e=>{const _0x3fed57={_0x32c339:0x1f2,_0x117cca:0x27,_0x1d96fb:0x62};function _0x977eb6(_0xdd04,_0x13444d,_0xdd9e8f,_0x3b1c4a){return _0x269cf2(_0xdd04-_0x3fed57._0x32c339,_0x3b1c4a- -_0x3fed57._0x117cca,_0xdd9e8f-_0x3fed57._0x1d96fb,_0x13444d);}_0x5cda2f+=_0x55ff7e[_0x977eb6(_0x2542dd._0x58e01d,_0x2542dd._0x3ef111,0x3e4,0x4d9)]();}),_0x518669['on'](_0x269cf2(0x615,0x64f,0x57c,0x58b),_0x59b4ce=>{if(_0x59b4ce===0x1&&_0x708344===''){_0x18bc09([]);return;}function _0x1b0076(_0x1ac290,_0x2f2d87,_0x1abc6a,_0x211d68){return _0x269cf2(_0x1ac290-0x5a,_0x2f2d87- -0x5e,_0x1abc6a-0x139,_0x1ac290);}if(_0x59b4ce!==0x0&&_0x59b4ce!==0x1){_0x1a4595(new Error('ripgrep\x20failed:\x20'+_0x5cda2f));return;}function _0x15dbb4(_0x88e84f,_0x11d719,_0x33dbf6,_0x6a0f63){return _0x269cf2(_0x88e84f-_0x41e109._0x3598f4,_0x11d719-_0x41e109._0x4cb896,_0x33dbf6-0x83,_0x6a0f63);}const _0x315076=_0x57c221[_0x1b0076(0x5ef,_0x411fbd._0xc51cc8,_0x411fbd._0x431832,_0x411fbd._0x59c093)]??0x64,_0x4fb9f5=[];for(const _0x1e6483 of _0x708344[_0x15dbb4(_0x411fbd._0x34a332,0x588,_0x411fbd._0x19f8da,0x637)](/\r?\n/)){if(_0x4fb9f5[_0x15dbb4(0x6e6,0x68f,_0x411fbd._0x10a9bd,_0x411fbd._0x3caad1)]>=_0x315076)break;const _0x20000a=parseMatchLine(_0x1e6483,_0x2206c8);if(_0x20000a)_0x4fb9f5['push'](_0x20000a);}_0x18bc09(_0x4fb9f5);});function _0x269cf2(_0x374d36,_0x1ab856,_0x344d6b,_0x490217){return _0x2e7eaa(_0x374d36-_0x34be12._0x4de33b,_0x1ab856-0x59,_0x490217,_0x1ab856- -_0x34be12._0x41ce2e);}_0x518669['on'](_0x269cf2(_0x804e62._0x340469,0x5db,0x4ce,0x4d1),_0x1a4595);});}function createGlobTool(_0x5e12b2={}){const _0x4943ad={_0x578447:0xf3,_0x5b5486:0x8f,_0x5758d0:0x129,_0x2973b8:0x82,_0x307986:0x139,_0x3adeb7:0xe5,_0x1b616e:0x89,_0x5882f7:0x7f,_0x456462:0x88,_0x244986:0x5fe,_0x44e4f0:0x720,_0xb3eb02:0x8a9,_0x3ff214:0x767,_0x337917:0x2a4,_0x1210bc:0x22d,_0x48cc0b:0x303,_0x9cf6fe:0x194,_0x97a510:0x9c,_0x178971:0x111,_0x1bf144:0x1,_0x1213cf:0x101,_0x2eead5:0x796,_0x23374d:0x71c,_0x96ee03:0x62e,_0x531836:0x778,_0x4009cc:0x638,_0x2cdbe1:0x71c,_0x5b7b9b:0x162,_0x329f2c:0x1e7},_0x4ca443={_0x11e8e2:0x58f,_0x4cf4b1:0x5fb,_0x41e65c:0x646,_0x5f4a58:0x588,_0x5751e7:0x658,_0x55e3b3:0x57d,_0x3c2a23:0x6af,_0x4f9082:0x5a1,_0x30491e:0x5b2,_0xcf8357:0x5dc,_0x286463:0x5e1,_0x337c92:0x438,_0x5adbdb:0x534,_0x3f4974:0x69d,_0x3ab458:0x5e3,_0x43b648:0x60a,_0x2a4928:0x86e,_0x29e80e:0x766,_0x405699:0x77f,_0x2f2b21:0x6c1,_0x505c67:0x5af,_0x46c5b7:0x53a,_0x509ff2:0x58d,_0x584efe:0x63c,_0xe17f1f:0x450,_0x121cc5:0x4fd,_0x451370:0x4c4,_0x3b68d6:0x302,_0x4eb403:0x334,_0x5b7120:0x47d,_0x1e35b2:0x3f7,_0xa29aed:0x37a,_0x459cf4:0x42a,_0x65cc80:0x539,_0x553f5a:0x6b7,_0x1f4f65:0x59f,_0x46d8d2:0x572,_0x1a7c75:0x595,_0x40f042:0x507,_0x1f173c:0x574,_0xa476d3:0x558,_0x4ec601:0x621,_0x4d9bb2:0x6a3,_0x4263f7:0x507,_0x5830b9:0x59d,_0x1ed789:0x7a4,_0x2ef85c:0x63c},_0xc45d5a={_0x5d1a14:0x7f},_0x1a90d8={_0x5c4822:0xf1,_0x3da819:0x609},_0x521b40=_0x931a15[_0x5c11fb(0x6a,-_0x4943ad._0x578447,_0x4943ad._0x5b5486,_0x4943ad._0x5758d0)](_0x5e12b2[_0x5c11fb(_0x4943ad._0x2973b8,_0x4943ad._0x307986,_0x4943ad._0x3adeb7,-_0x4943ad._0x1b616e)]??process[_0x5c11fb(_0x4943ad._0x5882f7,0xe6,-0x4a,_0x4943ad._0x456462)]());function _0x5c11fb(_0x24de66,_0x3620cf,_0x2543fb,_0x57bd1d){return _0x1e45aa(_0x24de66-0x11,_0x3620cf-_0x1a90d8._0x5c4822,_0x2543fb- -_0x1a90d8._0x3da819,_0x3620cf);}function _0x3f7d28(_0x52ad4b,_0x48f158,_0x30b8bc,_0x5ae111){return _0x1e45aa(_0x52ad4b-0x9d,_0x48f158-0x1c4,_0x5ae111- -0x3,_0x52ad4b);}const _0x335ffe=_0x5e12b2[_0x3f7d28(_0x4943ad._0x244986,_0x4943ad._0x44e4f0,_0x4943ad._0xb3eb02,_0x4943ad._0x3ff214)]??[],_0x39b24d=_0x5e12b2[_0x5c11fb(_0x4943ad._0x337917,_0x4943ad._0x1210bc,0x1df,_0x4943ad._0x48cc0b)]??0x64,_0x5d7708=_0x5e12b2['name']??_0x5c11fb(-_0x4943ad._0x9cf6fe,_0x4943ad._0x97a510,-0x82,0x8f);return defineTool({'name':_0x5d7708,'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x5c11fb(_0x4943ad._0x178971,0x48,-_0x4943ad._0x1bf144,_0x4943ad._0x1213cf),'properties':{'pattern':{'type':_0x3f7d28(_0x4943ad._0x2eead5,0x726,0x792,_0x4943ad._0x23374d)},'path':{'type':_0x3f7d28(_0x4943ad._0x96ee03,_0x4943ad._0x531836,_0x4943ad._0x4009cc,_0x4943ad._0x2cdbe1)},'limit':{'type':_0x5c11fb(_0x4943ad._0x5b7b9b,_0x4943ad._0x329f2c,0xe7,0x14c)}},'required':['pattern']},async *'execute'(_0x26b897){const _0x4b310e={_0x32b6f6:0x7d};if(_0x26b897[_0x2f2ccb(_0x4ca443._0x11e8e2,0x45f,0x507,0x66f)][_0x35afc1(0x571,0x673,0x59f,_0x4ca443._0x4cf4b1)]()['length']===0x0)throw new ToolExecutionError(_0x35afc1(0x50c,0x580,0x4df,_0x4ca443._0x41e65c),{});const _0x1d3b29=resolveAllowedPath(_0x521b40,_0x335ffe,_0x26b897[_0x2f2ccb(_0x4ca443._0x5f4a58,0x4f1,_0x4ca443._0x5751e7,_0x4ca443._0x55e3b3)]??'.'),_0x3efb5e=await _0x5c7953(_0x1d3b29)[_0x2f2ccb(0x687,_0x4ca443._0x3c2a23,_0x4ca443._0x4f9082,_0x4ca443._0x30491e)](()=>null);if(!_0x3efb5e?.[_0x2f2ccb(_0x4ca443._0xcf8357,0x70e,0x5a6,0x605)]())throw new ToolExecutionError(_0x35afc1(0x5cf,0x53b,0x72c,0x5da)+(_0x26b897[_0x35afc1(_0x4ca443._0x286463,0x5a9,_0x4ca443._0x337c92,_0x4ca443._0x5adbdb)]??'.'),{'path':_0x26b897[_0x35afc1(0x63c,_0x4ca443._0x3f4974,_0x4ca443._0x3ab458,_0x4ca443._0x5adbdb)]??'.'});const _0x3f4d2d=_0x26b897[_0x2f2ccb(_0x4ca443._0x43b648,_0x4ca443._0x2a4928,_0x4ca443._0x29e80e,_0x4ca443._0x405699)]??_0x39b24d,_0x35fa80=Math[_0x2f2ccb(_0x4ca443._0x2f2b21,0x705,_0x4ca443._0x505c67,0x639)](0x1,Math['trunc'](_0x3f4d2d)),_0x249c0c=[];function _0x35afc1(_0x320f2a,_0x1d1116,_0x336110,_0x436b78){return _0x5c11fb(_0x320f2a-_0x4b310e._0x32b6f6,_0x1d1116,_0x436b78-0x463,_0x436b78-0x167);}let _0x44cbed=![];for await(const _0x424eb5 of files({'cwd':_0x1d3b29,'glob':[_0x26b897['pattern']]})){if(_0x249c0c[_0x35afc1(_0x4ca443._0x46c5b7,0x555,_0x4ca443._0x509ff2,_0x4ca443._0x584efe)]>=_0x35fa80){_0x44cbed=!![];break;}const _0x5328db=await _0x5c7953(_0x931a15[_0x35afc1(_0x4ca443._0xe17f1f,0x4ff,0x539,_0x4ca443._0x121cc5)](_0x1d3b29,_0x424eb5))[_0x35afc1(_0x4ca443._0x451370,_0x4ca443._0x3b68d6,_0x4ca443._0x4eb403,_0x4ca443._0x5b7120)](()=>null);_0x249c0c['push']({'path':_0x424eb5,'mtime':_0x5328db?.['mtimeMs']??0x0});}_0x249c0c[_0x35afc1(_0x4ca443._0x1e35b2,0x548,_0x4ca443._0xa29aed,_0x4ca443._0x459cf4)]((_0x547da2,_0xacd16a)=>_0xacd16a[_0x2f2ccb(0x547,0x4be,0x601,0x652)]-_0x547da2['mtime']);const _0x5617c0=_0x249c0c[_0x2f2ccb(_0x4ca443._0x65cc80,_0x4ca443._0x509ff2,_0x4ca443._0x553f5a,0x7ea)](_0xe0b356=>_0xe0b356[_0x2f2ccb(0x4e3,0x6ed,0x658,0x658)]),_0x22ef83=_0x5617c0[_0x35afc1(_0x4ca443._0x1f4f65,0x4bd,_0x4ca443._0x46d8d2,0x63c)]===0x0?'No\x20files\x20found\x20matching\x20pattern:\x20'+_0x26b897[_0x2f2ccb(_0x4ca443._0x1a7c75,0x3dd,_0x4ca443._0x40f042,0x450)]:''+_0x5617c0[_0x2f2ccb(_0x4ca443._0x1f173c,_0x4ca443._0xa476d3,_0x4ca443._0x4ec601,0x4b5)]('\x0a')+(_0x44cbed?_0x35afc1(0x569,0x540,_0x4ca443._0x4d9bb2,0x610):'');yield createToolOutput(_0x22ef83,{'pattern':_0x26b897[_0x2f2ccb(0x625,0x50a,_0x4ca443._0x4263f7,0x45a)],'searchPath':_0x931a15['relative'](_0x521b40,_0x1d3b29)||'.','matches':_0x5617c0,'count':_0x5617c0[_0x35afc1(_0x4ca443._0x5830b9,_0x4ca443._0x1ed789,0x56b,_0x4ca443._0x2ef85c)],'truncated':_0x44cbed});function _0x2f2ccb(_0x439564,_0x2f3774,_0x459ed1,_0x3ab16e){return _0x3f7d28(_0x3ab16e,_0x2f3774-0x114,_0x459ed1-0x9c,_0x459ed1- -_0xc45d5a._0x5d1a14);}return void 0x0;}});}import{stat as _0x2af49a}from'fs/promises';import*as _0xb85925 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x4c5459={}){const _0x2b2485={_0x546eac:0x550,_0x2c0c68:0x4a2,_0x3bf9c0:0x6f4,_0x492d32:0x788,_0x175bce:0x59a,_0x711a0:0x714,_0x91cf25:0x638,_0x4e1be5:0x3b9,_0x24e2b7:0x360,_0x23da4f:0x7d0,_0x3be7a9:0x319,_0x5c59cc:0x295,_0x553b19:0x1f2,_0x576427:0x513},_0x1d4398={_0x1d90b6:0x14e,_0x3dfc3f:0x37,_0x30a1b3:0xfa,_0x373e34:0x78,_0x3ceaae:0x104,_0x563d22:0x5,_0x46a538:0x732,_0x413d15:0x773,_0x5dde2d:0x827,_0x4c590c:0x72c,_0xa50a26:0x742,_0x78aa63:0x7a9,_0x1155e9:0x715,_0x318b16:0x147,_0x598a4e:0xea,_0x1c44a6:0x45,_0xc911c4:0x1c6,_0x5f487b:0x142,_0x4cd19b:0x288,_0x5c38b8:0x1b5,_0x3a1101:0x1f0,_0x41856a:0x708,_0x3ad2bb:0x5fa,_0x8b4713:0x90,_0x25d40a:0xec,_0x42c254:0x7a,_0x83ddb1:0xa2,_0x1bc64e:0x139,_0x5d528a:0x5,_0x5e02eb:0xb5,_0x53272f:0x1ac,_0x13a1cd:0x2d7,_0x2f4f62:0x6b5,_0x155c32:0x1ad,_0x334bbe:0x6f5,_0xf99b71:0x855,_0x2fadb5:0x79,_0x49719a:0x138,_0x233202:0x1b7,_0x12b35d:0x5f,_0x23920e:0xe3,_0x27efe6:0x1be,_0x27657f:0x44,_0x327dac:0xc8,_0xdf8edc:0x1f,_0x503c70:0x296,_0x39c948:0x19a,_0xb242ff:0x88e,_0x4422d5:0x81d,_0x34f7fa:0x732,_0x2c8ad1:0x84f,_0x83699:0x760,_0x342043:0x671,_0x3a1d0c:0x7ce,_0xe48c7c:0x5ed,_0x20d486:0x46c,_0x167e10:0x741,_0x5d83e4:0x21,_0x353280:0x234,_0x3680bc:0x21c,_0x49dbd2:0x12c,_0x3da629:0x2ec,_0x62be12:0x136,_0x2cec74:0x78,_0x548035:0x22,_0x42b6af:0x5a7,_0x45b2ec:0x6c1,_0x2d3599:0x5c1,_0x22746d:0x1df,_0x434c09:0x1f4,_0x529f7c:0x270,_0x14662f:0x175,_0x15d6ab:0x22c,_0x4dfe79:0x132,_0x14e643:0x46,_0x23754b:0xcf,_0x1879f5:0xa1,_0x5e82f7:0x5a,_0x3714ca:0x157,_0xf8be5c:0x228,_0x51f597:0x501,_0x58c476:0x4a5,_0x1b5fe6:0x5d8,_0xacba6e:0x6eb,_0x26e489:0x5b6,_0x30c63a:0x83c,_0x1ef194:0x79d,_0x23b681:0xd3},_0xf6f081={_0x548e39:0x183,_0x28d91a:0x9c},_0x11fd9d={_0x21fd8b:0xeb,_0x58b5d2:0x2e0},_0x17f58d={_0x262734:0x132,_0x6a95cb:0x48a},_0x5e957e={_0xe6b6e6:0x117},_0x119f6b=_0xb85925[_0x5c2cca(0x446,0x3d2,_0x2b2485._0x546eac,0x656)](_0x4c5459[_0x5c2cca(0x6c8,0x476,0x5a6,0x619)]??process[_0x5c2cca(0x365,0x5ca,0x477,_0x2b2485._0x2c0c68)]());function _0x5c2cca(_0x179bda,_0x2cf9be,_0x42c99b,_0x527c4d){return _0x55c88d(_0x179bda-0x170,_0x42c99b-0x169,_0x179bda,_0x527c4d-_0x5e957e._0xe6b6e6);}const _0x3f2062=_0x4c5459[_0x5c2cca(0x630,0x6d2,0x622,_0x2b2485._0x3bf9c0)]??[];function _0x171016(_0x29bebc,_0x473821,_0x2f1e58,_0x3a75d9){return _0x1e45aa(_0x29bebc-0x185,_0x473821-_0x17f58d._0x262734,_0x473821- -_0x17f58d._0x6a95cb,_0x3a75d9);}const _0x3d9226=_0x4c5459[_0x5c2cca(_0x2b2485._0x492d32,_0x2b2485._0x175bce,0x6a0,0x71a)]??0x64,_0x556766=_0x4c5459[_0x5c2cca(_0x2b2485._0x711a0,_0x2b2485._0x91cf25,0x648,0x657)]??_0x5c2cca(_0x2b2485._0x4e1be5,_0x2b2485._0x24e2b7,0x4a0,0x584);return defineTool({'name':_0x556766,'description':_0x5c2cca(0x791,0x840,0x706,_0x2b2485._0x23da4f),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0x171016(_0x2b2485._0x3be7a9,_0x2b2485._0x5c59cc,0x2fd,_0x2b2485._0x553b19)},'path':{'type':_0x5c2cca(0x490,_0x2b2485._0x576427,0x5d7,0x720)},'include':{'type':'string'},'limit':{'type':'number'},'context':{'type':'number'}},'required':['pattern']},async *'execute'(_0x417284){if(_0x417284[_0x4a31e1(-0x185,-0x1e1,-0x22f,-0x1a9)][_0x4a31e1(_0x1d4398._0x1d90b6,_0x1d4398._0x3dfc3f,_0x1d4398._0x30a1b3,0x54)]()[_0x4a31e1(-0x37,_0x1d4398._0x373e34,_0x1d4398._0x3ceaae,_0x1d4398._0x563d22)]===0x0)throw new ToolExecutionError(_0x131277(0x83b,_0x1d4398._0x46a538,_0x1d4398._0x413d15,_0x1d4398._0x5dde2d),{});const _0x1b4422=resolveAllowedPath(_0x119f6b,_0x3f2062,_0x417284[_0x131277(_0x1d4398._0x4c590c,_0x1d4398._0xa50a26,_0x1d4398._0x78aa63,_0x1d4398._0x1155e9)]??'.'),_0x217faf=await _0x2af49a(_0x1b4422)[_0x4a31e1(0x17,-_0x1d4398._0x318b16,-_0x1d4398._0x598a4e,-0x17b)](()=>null);function _0x4a31e1(_0x2b677a,_0x57302e,_0x5ebc9c,_0x152168){return _0x171016(_0x2b677a-_0x11fd9d._0x21fd8b,_0x57302e- -_0x11fd9d._0x58b5d2,_0x5ebc9c-0x1b4,_0x5ebc9c);}const _0x49330b=_0x217faf?.[_0x4a31e1(_0x1d4398._0x1c44a6,0x42,-0x4b,0x6d)]()??![],_0x13be5a=_0x217faf?.[_0x4a31e1(-_0x1d4398._0xc911c4,-_0x1d4398._0x5f487b,-0x163,-0x78)]()??![];if(!_0x49330b&&!_0x13be5a)throw new ToolExecutionError(_0x4a31e1(-_0x1d4398._0x4cd19b,-_0x1d4398._0x5c38b8,-_0x1d4398._0x3a1101,-0x83)+(_0x417284[_0x131277(_0x1d4398._0x41856a,0x5fa,_0x1d4398._0x3ad2bb,0x715)]??'.'),{'path':_0x417284[_0x4a31e1(-0x143,-_0x1d4398._0x8b4713,_0x1d4398._0x25d40a,0xc4)]??'.'});const _0x32c907=_0x417284[_0x4a31e1(-0x24,0x7e,-_0x1d4398._0x42c254,-_0x1d4398._0x83ddb1)]??_0x3d9226;function _0x131277(_0x3449ad,_0x3f3a66,_0x541348,_0x3d4cfc){return _0x5c2cca(_0x541348,_0x3f3a66-0x164,_0x3d4cfc-_0xf6f081._0x548e39,_0x3d4cfc-_0xf6f081._0x28d91a);}const _0x4caf0d=Math[_0x4a31e1(-0x15b,-_0x1d4398._0x1bc64e,_0x1d4398._0x5d528a,-0x29b)](0x1,Math[_0x4a31e1(-_0x1d4398._0x5e02eb,-_0x1d4398._0x53272f,-0x95,-_0x1d4398._0x13a1cd)](_0x32c907)),_0x4f7336=await search({'cwd':_0x13be5a?_0x1b4422:_0xb85925['dirname'](_0x1b4422),'pattern':_0x417284[_0x4a31e1(-0xe4,-0x1e1,-0x260,-0x33c)],'glob':_0x13be5a?_0x417284['include']:void 0x0,'limit':_0x4caf0d,'file':_0x49330b?_0x1b4422:void 0x0,'context':_0x417284[_0x131277(0x4ff,0x729,0x4c5,0x60c)]}),_0x1007e8=new Map();for(const _0x6f94da of _0x4f7336){if(!_0x1007e8['has'](_0x6f94da['filePath'])){const _0xc5bcb7=await _0x2af49a(_0x6f94da[_0x131277(0x701,_0x1d4398._0x2f4f62,0x798,0x6ab)])[_0x4a31e1(-0x1de,-_0x1d4398._0x318b16,-0x258,-_0x1d4398._0x155c32)](()=>null);_0x1007e8['set'](_0x6f94da['filePath'],{'matches':[],'mtime':_0xc5bcb7?.[_0x131277(_0x1d4398._0x334bbe,_0x1d4398._0xf99b71,0x7df,0x7bf)]??0x0});}_0x1007e8[_0x4a31e1(-0x1,_0x1d4398._0x2fadb5,_0x1d4398._0x49719a,_0x1d4398._0x233202)](_0x6f94da[_0x4a31e1(-_0x1d4398._0x12b35d,-0xfa,-0x10,-0xee)])?.[_0x4a31e1(0x16f,_0x1d4398._0x23920e,_0x1d4398._0x27efe6,0x149)][_0x4a31e1(-_0x1d4398._0x27657f,-_0x1d4398._0x327dac,0xb2,-0x23b)](_0x6f94da);}const _0x219773=[..._0x1007e8[_0x4a31e1(-0xa5,_0x1d4398._0xdf8edc,-0x4b,0x3)]()][_0x4a31e1(-_0x1d4398._0x503c70,-_0x1d4398._0x39c948,-0x18b,-0x1c7)]((_0xe2696a,_0x4d3bc3)=>_0x4d3bc3[0x1][_0x4a31e1(-0x47,-0xe7,-0x192,-0x14)]-_0xe2696a[0x1]['mtime']),_0x2e13a9=_0x4f7336['filter'](_0x2d4d02=>!_0x2d4d02[_0x4a31e1(0x6d,-0xf8,-0x127,-0xea)])[_0x131277(_0x1d4398._0xb242ff,0x8ad,0x761,_0x1d4398._0x4422d5)],_0xa14c61=_0x4f7336[_0x131277(_0x1d4398._0x34f7fa,_0x1d4398._0x2c8ad1,0x6fd,0x81d)]>=_0x4caf0d,_0x385073=_0x49330b?_0xb85925[_0x131277(0x701,0x7da,_0x1d4398._0x83699,_0x1d4398._0x342043)](_0x1b4422):_0x1b4422;let _0x12f047='';if(_0x4f7336['length']===0x0)_0x12f047=_0x131277(0x771,_0x1d4398._0x3a1d0c,0x885,0x7de)+_0x417284[_0x131277(_0x1d4398._0xe48c7c,_0x1d4398._0x20d486,0x525,0x5c4)];else{_0x12f047='Found\x20'+_0x2e13a9+_0x131277(0x76c,_0x1d4398._0x167e10,0x855,0x714)+(_0x2e13a9===0x1?'':'es')+'\x0a';for(const [_0x35ac96,_0x3e1d3a]of _0x219773){const _0x1c633f=_0x49330b?_0xb85925[_0x131277(0x8a6,0x693,0x75b,0x7f8)](_0x35ac96):_0xb85925[_0x4a31e1(_0x1d4398._0x5d83e4,-0x157,-_0x1d4398._0x353280,-0x95)](_0x385073,_0x35ac96);_0x12f047+='\x0a'+_0x1c633f+':\x0a';for(const _0x3160dd of _0x3e1d3a[_0x4a31e1(-0x2c,0xe3,_0x1d4398._0x3680bc,_0x1d4398._0x49dbd2)]){const _0x3eda5a=_0x3160dd[_0x4a31e1(-0x1db,-0x1e4,-_0x1d4398._0x3da629,-_0x1d4398._0x62be12)][_0x4a31e1(0x65,_0x1d4398._0x2cec74,-_0x1d4398._0x548035,0x15d)]>MAX_LINE_LENGTH?_0x3160dd[_0x131277(0x6c3,_0x1d4398._0x42b6af,_0x1d4398._0x45b2ec,_0x1d4398._0x2d3599)][_0x4a31e1(-_0x1d4398._0x22746d,-_0x1d4398._0x434c09,-0xf2,-0x215)](0x0,MAX_LINE_LENGTH)+_0x4a31e1(-0x1ce,-0x148,-_0x1d4398._0x529f7c,-0x18a):_0x3160dd['lineText'],_0x546879=_0x3160dd['isContext']?'\x20\x20':'>\x20';_0x12f047+=_0x546879+_0x4a31e1(-0x38,-_0x1d4398._0x14662f,-_0x1d4398._0x15d6ab,-_0x1d4398._0x4dfe79)+_0x3160dd[_0x4a31e1(-0x12d,-_0x1d4398._0x14e643,_0x1d4398._0x23754b,0xfc)]+':\x20'+_0x3eda5a+'\x0a';}}_0xa14c61&&(_0x12f047+=_0x4a31e1(-_0x1d4398._0x1879f5,0x4c,-0xfc,_0x1d4398._0x5e82f7));}const _0x4a5d36={'searchPath':_0xb85925[_0x4a31e1(0xd,-_0x1d4398._0x3714ca,-_0x1d4398._0xf8be5c,-0x1c8)](_0x119f6b,_0x1b4422)||'.','pattern':_0x417284[_0x131277(0x5ce,_0x1d4398._0x51f597,_0x1d4398._0x58c476,0x5c4)],'matchCount':_0x2e13a9,'fileCount':_0x1007e8[_0x131277(_0x1d4398._0x1b5fe6,_0x1d4398._0xacba6e,0x6a9,_0x1d4398._0x26e489)],'truncated':_0xa14c61};return _0x13be5a&&_0x417284[_0x131277(0x845,0x8f8,_0x1d4398._0x30c63a,_0x1d4398._0x1ef194)]!==void 0x0&&(_0x4a5d36['include']=_0x417284[_0x131277(0x8f8,0x756,0x779,0x79d)]),yield createToolOutput(_0x12f047[_0x4a31e1(-0xa0,0x37,0x1,_0x1d4398._0x23b681)](),_0x4a5d36),void 0x0;}});}function createKillShellTool(_0x1a8a8c){const _0x1b233e={_0x1917c:0x4b,_0x5c7ffb:0x11a,_0xf80e89:0x59a,_0x65c643:0x6d9,_0x2b52af:0x6db,_0x3e8125:0x656},_0xc1a172={_0x467aea:0x59,_0x49e0a5:0x3f,_0x36e5bb:0x4b7,_0x191fc6:0x529,_0x554e84:0x61a,_0x890d90:0x398,_0x5463e2:0xf7,_0x34855b:0x118,_0x1ebb11:0x78,_0x4c7a7f:0x2fd,_0x56e145:0x47f,_0x4fe77c:0x432,_0x1266f1:0x23a,_0x25660e:0x15d,_0x2710ed:0x56f,_0x2a21c0:0x622,_0x2fa1af:0x558,_0x2ce3c5:0x4cf,_0x12c894:0x4c2},_0x3fb5d6={_0x2eaaf1:0x75,_0x5978aa:0x13a},_0x3987f9={_0x3ea373:0x2ac,_0x11c678:0x144},_0x45005a={_0x54b9aa:0x43},_0xac3f91={_0x18bf4:0x1f3,_0x3f1b6b:0x8a},{registry:_0x20275d}=_0x1a8a8c;function _0x4a1712(_0x250082,_0x54819b,_0x469fe8,_0x1adb3c){return _0x55c88d(_0x250082-_0xac3f91._0x18bf4,_0x250082- -0x424,_0x469fe8,_0x1adb3c-_0xac3f91._0x3f1b6b);}function _0x6be08f(_0x1403b0,_0x3af502,_0x1c4d9c,_0x42e117){return _0x1e45aa(_0x1403b0-0x1ce,_0x3af502-0x15b,_0x1403b0- -_0x45005a._0x54b9aa,_0x1c4d9c);}return defineTool({'name':_0x4a1712(_0x1b233e._0x1917c,0x68,0x14a,0x6b),'description':_0x4a1712(0xb5,0x51,_0x1b233e._0x5c7ffb,0x68),'inputSchema':{'type':'object','properties':{'shellId':{'type':_0x6be08f(0x6dc,_0x1b233e._0xf80e89,0x743,_0x1b233e._0x65c643)}},'required':[_0x6be08f(_0x1b233e._0x2b52af,0x560,0x6b8,_0x1b233e._0x3e8125)]},async *'execute'(_0x57f92f){const _0x24bbfa=_0x20275d[_0x201770(-_0xc1a172._0x467aea,-0x13f,-0x111,_0xc1a172._0x49e0a5)](_0x57f92f['shellId']);function _0x5986ab(_0x2d582a,_0x5189cd,_0x5f1904,_0x8381fc){return _0x6be08f(_0x2d582a- -_0x3987f9._0x3ea373,_0x5189cd-0x1c2,_0x5189cd,_0x8381fc-_0x3987f9._0x11c678);}function _0x201770(_0x219980,_0x5208a8,_0x46bc85,_0x3d2c6c){return _0x6be08f(_0x3d2c6c- -0x6be,_0x5208a8-_0x3fb5d6._0x2eaaf1,_0x219980,_0x3d2c6c-_0x3fb5d6._0x5978aa);}return createToolOutput(_0x5986ab(_0xc1a172._0x36e5bb,_0xc1a172._0x191fc6,_0xc1a172._0x554e84,_0xc1a172._0x890d90)+_0x57f92f[_0x201770(-_0xc1a172._0x5463e2,_0xc1a172._0x34855b,_0xc1a172._0x1ebb11,0x1d)]+_0x5986ab(_0xc1a172._0x4c7a7f,0x1d3,_0xc1a172._0x56e145,_0xc1a172._0x4fe77c)+_0x24bbfa[_0x201770(_0xc1a172._0x1266f1,0x89,0x291,_0xc1a172._0x25660e)]+').',{'shellId':_0x57f92f['shellId'],'status':_0x24bbfa[_0x5986ab(_0xc1a172._0x2710ed,0x51c,0x504,_0xc1a172._0x2a21c0)],'exitCode':_0x24bbfa[_0x5986ab(_0xc1a172._0x2fa1af,_0xc1a172._0x2ce3c5,_0xc1a172._0x12c894,0x3f3)],'signal':_0x24bbfa[_0x201770(0xb8,0x69,0x13,0x165)]});}});}import{readdir as _0xd6a5d4,readFile as _0x548f5d,stat as _0x6efb3e}from'fs/promises';import*as _0x360b39 from'path';import*as _0x4c446c from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x5ac990,_0x4e1a95){const _0x5c01d1={_0x2fbf07:0x458,_0x1ad453:0x502,_0x48dbc0:0x44a,_0x2531b2:0x377,_0x1b4e32:0x540,_0x5583cf:0x5fb,_0x40c4d2:0x677,_0x582559:0x760},_0x761432={_0x56010a:0xa0,_0x3c453c:0x19b},_0x18399d={_0x3e551e:0xe6,_0xfa1d43:0x1b};if(_0x4e1a95>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0xe099d(_0x38c97d,_0x538183,_0x15ec7b,_0x169453){return _0x55c88d(_0x38c97d-0x1b1,_0x38c97d-_0x18399d._0x3e551e,_0x538183,_0x169453-_0x18399d._0xfa1d43);}const _0x31c082=await _0x548f5d(_0x5ac990)[_0xe099d(_0x5c01d1._0x2fbf07,0x415,0x38a,0x470)](()=>null);if(!_0x31c082||isProbablyBinary(_0x31c082))return void 0x0;function _0x68ec54(_0x2ddeb5,_0x2331ea,_0x210050,_0x4a2c54){return _0x1e45aa(_0x2ddeb5-_0x761432._0x56010a,_0x2331ea-0x96,_0x2ddeb5- -_0x761432._0x3c453c,_0x4a2c54);}return _0x31c082[_0xe099d(_0x5c01d1._0x1ad453,0x405,0x512,_0x5c01d1._0x48dbc0)](_0xe099d(0x4cc,_0x5c01d1._0x2531b2,0x531,0x44b))[_0x68ec54(_0x5c01d1._0x1b4e32,0x61e,0x563,_0x5c01d1._0x5583cf)](/\r?\n/)[_0x68ec54(0x647,0x74a,_0x5c01d1._0x40c4d2,_0x5c01d1._0x582559)];}function createLsTool(_0x47e9df={}){const _0xada794={_0x56ccaf:0x51e,_0x3f1a43:0x595,_0x8a31e5:0x64f,_0x31843a:0xcd,_0x2be0f0:0x15e,_0x51bef8:0x2eb,_0x483c67:0x29e,_0x3ee839:0x40a,_0x2df4fd:0x396,_0xaf0580:0x41c,_0x3dbc82:0x2c,_0x2ce2c1:0x61,_0x2f2dc4:0x6bd,_0x57ba6c:0x432},_0xfbe718={_0x578ed1:0x50f,_0x5bd725:0x2d9,_0x49fa58:0x29b,_0x286343:0x4c0,_0x1813c3:0x327,_0x159c6a:0x3e7,_0x43c518:0x23b,_0x3713d2:0x31b,_0x110a5a:0x22c,_0x44e6d6:0x355,_0x28b2f0:0x138,_0x16e971:0x403,_0x58d6d8:0x221,_0x39845a:0x48c,_0x4d1185:0x3d0,_0x4d399a:0x430,_0x3e776d:0x4f9,_0x2ac025:0x479,_0x2252f2:0x1f8,_0x56b39a:0x697,_0xad676b:0x716,_0xcdab50:0x656,_0x4dddb7:0x3eb,_0x4ce650:0x515,_0x5b3ef1:0x580,_0x364dc1:0x231,_0x5caf00:0x374,_0x175fba:0x27e,_0x1ca374:0x10c,_0x4fde07:0x14c,_0x2bbc3d:0x308,_0x1d61b0:0xfe,_0x57e8e0:0x47a,_0x2c9baa:0x5f5,_0x5351fd:0x562,_0x563d04:0x498,_0x2390d4:0x3ae,_0x4eb2b0:0x4d0,_0x1bdc2e:0x39b,_0x58d759:0x467,_0x201206:0x492,_0x260807:0x4bc,_0x255bff:0x50b,_0x234f1f:0x624},_0x1cf109={_0x2cd4cb:0x138,_0x11eb8a:0x10c},_0x112daa={_0x11b295:0xc},_0x5ea0bc={_0x1a8dbf:0x8e},_0x5a5992={_0x3785d6:0x1d5,_0x22378c:0x1ca},_0x3e0913=_0x360b39['resolve'](_0x47e9df[_0x83e8a8(_0xada794._0x56ccaf,_0xada794._0x3f1a43,_0xada794._0x8a31e5,0x582)]??process[_0x406f2f(0x107,0x2b,_0xada794._0x31843a,_0xada794._0x2be0f0)]());function _0x406f2f(_0x1f5b70,_0x1c1d4d,_0x188ad6,_0x590291){return _0x55c88d(_0x1f5b70-_0x5a5992._0x3785d6,_0x188ad6- -0x241,_0x1c1d4d,_0x590291-_0x5a5992._0x22378c);}const _0xa402ca=_0x47e9df['allowedDirs']??[];function _0x83e8a8(_0x436870,_0x31bf3d,_0x5a2c60,_0x550a6d){return _0x1e45aa(_0x436870-0xe4,_0x31bf3d-_0x5ea0bc._0x1a8dbf,_0x436870- -0x1d0,_0x5a2c60);}const _0x477a6b=_0x47e9df[_0x406f2f(0x235,_0xada794._0x51bef8,_0xada794._0x483c67,0x251)]??'Ls';return defineTool({'name':_0x477a6b,'description':_0x83e8a8(_0xada794._0x3ee839,0x4ff,_0xada794._0x2df4fd,_0xada794._0xaf0580),'inputSchema':{'type':_0x406f2f(0x8f,-_0xada794._0x3dbc82,0x116,_0xada794._0x2ce2c1),'properties':{'path':{'type':_0x83e8a8(0x54f,_0xada794._0x2f2dc4,0x68c,_0xada794._0x57ba6c)},'limit':{'type':_0x83e8a8(0x520,0x406,0x617,0x60a)}}},async *'execute'(_0x240ed3){function _0x12ac0c(_0x5941c1,_0x556b37,_0x346c1c,_0x30cfab){return _0x83e8a8(_0x5941c1- -0x17a,_0x556b37-0x86,_0x346c1c,_0x30cfab-_0x112daa._0x11b295);}const _0x2f36c7=_0x240ed3[_0x12ac0c(0x390,0x2fd,_0xfbe718._0x578ed1,0x2df)]??'.',_0x43a32e=resolveAllowedPath(_0x3e0913,_0xa402ca,_0x2f36c7),_0xfaad3e=await _0x6efb3e(_0x43a32e)[_0x12ac0c(_0xfbe718._0x5bd725,0x1f3,0x25c,_0xfbe718._0x49fa58)](()=>null);if(!_0xfaad3e?.['isDirectory']())throw new ToolExecutionError(_0x12ac0c(0x436,_0xfbe718._0x286343,0x45a,0x398)+_0x2f36c7,{'path':_0x2f36c7});const _0x1661e9=_0x240ed3[_0x12ac0c(0x49e,_0xfbe718._0x1813c3,_0xfbe718._0x159c6a,0x339)]??0x3e8,_0x1f7737=Math[_0x12ac0c(_0xfbe718._0x43c518,0x301,0x226,_0xfbe718._0x43c518)](Math['max'](Math[_0x12ac0c(0x274,_0xfbe718._0x3713d2,0x3b9,0x373)](_0x1661e9),0x1),0x2710),_0x4bb902=await _0xd6a5d4(_0x43a32e),_0x257c26=[];for(const _0x5d325d of _0x4bb902[_0x12ac0c(_0xfbe718._0x110a5a,_0xfbe718._0x44e6d6,_0xfbe718._0x28b2f0,0xb8)](0x0,_0x1f7737)){const _0x3176f1=_0x360b39[_0x12ac0c(0x359,_0xfbe718._0x16e971,_0xfbe718._0x58d6d8,0x1e6)](_0x43a32e,_0x5d325d),_0x32d5cf=await _0x6efb3e(_0x3176f1)['catch'](()=>null);if(!_0x32d5cf)continue;let _0x34f616=_0x108fc5(_0xfbe718._0x39845a,_0xfbe718._0x4d1185,_0xfbe718._0x4d399a,0x544);if(_0x32d5cf['isFile']())_0x34f616='file';else{if(_0x32d5cf[_0x12ac0c(0x2de,0x280,0x363,0x289)]())_0x34f616=_0x12ac0c(_0xfbe718._0x3e776d,0x63b,0x66d,_0xfbe718._0x2ac025);else{if(_0x32d5cf['isSymbolicLink']())_0x34f616='symlink';}}const _0xdea384={'name':_0x5d325d,'type':_0x34f616,'size':_0x32d5cf[_0x12ac0c(0x231,0xda,0x381,_0xfbe718._0x2252f2)],'mtime':_0x32d5cf[_0x108fc5(0x61a,_0xfbe718._0x56b39a,0x7f6,_0xfbe718._0xad676b)],'mode':_0x32d5cf[_0x108fc5(_0xfbe718._0xcdab50,_0xfbe718._0x4dddb7,0x43c,_0xfbe718._0x4ce650)]},_0x4600ec=_0x34f616===_0x108fc5(0x674,_0xfbe718._0x5b3ef1,0x53c,0x5ae)?await countTextLines(_0x3176f1,_0x32d5cf[_0x12ac0c(_0xfbe718._0x364dc1,_0xfbe718._0x5caf00,_0xfbe718._0x175fba,_0xfbe718._0x1ca374)]):void 0x0;if(_0x4600ec!==void 0x0)_0xdea384[_0x12ac0c(0x228,_0xfbe718._0x4fde07,_0xfbe718._0x2bbc3d,_0xfbe718._0x1d61b0)]=_0x4600ec;_0x257c26['push'](_0xdea384);}function _0x108fc5(_0x16f479,_0xfa38d7,_0x509e3e,_0x3d105d){return _0x83e8a8(_0x3d105d-0x162,_0xfa38d7-_0x1cf109._0x2cd4cb,_0x509e3e,_0x3d105d-_0x1cf109._0x11eb8a);}_0x257c26[_0x108fc5(_0xfbe718._0x57e8e0,_0xfbe718._0x2c9baa,0x6c3,_0xfbe718._0x5351fd)]((_0x3b5dc3,_0x4f3fa4)=>_0x3b5dc3[_0x108fc5(0x7b0,0x798,0x807,0x722)][_0x108fc5(0x771,0x70c,0x524,0x63b)](_0x4f3fa4['name']));const _0x4b560a={'path':_0x2f36c7,'total':_0x257c26[_0x12ac0c(_0xfbe718._0x563d04,_0xfbe718._0x2390d4,_0xfbe718._0x4eb2b0,_0xfbe718._0x1bdc2e)],'truncated':_0x4bb902['length']>_0x1f7737,'entries':_0x257c26};return yield createToolOutput(_0x4c446c[_0x12ac0c(_0xfbe718._0x58d759,0x35f,_0xfbe718._0x201206,0x349)](_0x4b560a,{'indent':0x2,'lineWidth':0x0})[_0x12ac0c(_0xfbe718._0x260807,_0xfbe718._0x255bff,0x51a,_0xfbe718._0x234f1f)](),{'path':_0x2f36c7,'total':_0x257c26['length'],'truncated':_0x4bb902[_0x108fc5(0x8f2,0x64b,0x673,0x774)]>_0x1f7737,'limit':_0x1f7737,'entries':_0x257c26}),void 0x0;}});}import{stat as _0x85280f}from'fs/promises';import _0x8c44b9 from'path';import{fileURLToPath as _0x50f047}from'url';function severityName(_0x433c6c){const _0x390ad4={_0x38f344:0x533,_0x4765a7:0x3f3,_0x28d1b5:0x24d,_0x8d3864:0x26f,_0x3069c6:0x538,_0x5a8254:0x4aa,_0x48a0b1:0x454},_0x1934bf={_0x2d9ec8:0x115,_0xa0950e:0x320},_0x418ad4={_0x3c684b:0x181,_0x1795a2:0x370};function _0x31121a(_0x5eaadc,_0x415094,_0x4eddd2,_0x2ca491){return _0x1e45aa(_0x5eaadc-0x147,_0x415094-_0x418ad4._0x3c684b,_0x415094- -_0x418ad4._0x1795a2,_0x2ca491);}function _0x174c70(_0x2247c3,_0x9d1330,_0x3697da,_0x7829e4){return _0x1e45aa(_0x2247c3-_0x1934bf._0x2d9ec8,_0x9d1330-0x144,_0x2247c3- -_0x1934bf._0xa0950e,_0x7829e4);}switch(_0x433c6c){case 0x1:return _0x174c70(0x3e7,0x2d1,_0x390ad4._0x38f344,0x32c);case 0x2:return _0x174c70(_0x390ad4._0x4765a7,0x479,0x542,0x398);case 0x3:return _0x31121a(0xda,_0x390ad4._0x28d1b5,0x12f,0x267);case 0x4:return _0x31121a(0x345,0x33e,_0x390ad4._0x8d3864,0x1f1);default:return _0x31121a(_0x390ad4._0x3069c6,_0x390ad4._0x5a8254,_0x390ad4._0x48a0b1,0x379);}}function formatSingleHover(_0x31ca44){const _0x51aeb7={_0x3b942d:0x2be,_0x3c059b:0x316,_0x3e2803:0x469,_0x4926fd:0x3e0,_0x2893b2:0x455,_0x4cfece:0x518,_0x580971:0x696,_0x16fe84:0x612,_0x370d1a:0x391,_0x3a4ef8:0x35e,_0xca489f:0x32d,_0x55e14f:0x487,_0x2a804c:0x2d9,_0x4bcb68:0x6a4,_0x5e835b:0x466,_0x313c01:0x469,_0x4d20bb:0x441},_0x178008={_0x17ff8d:0x15f,_0x53516a:0x1b0},_0x3e262b=_0x31ca44['contents'];function _0x3d1411(_0x4fec35,_0x127769,_0xb8720a,_0x3547fb){return _0x1e45aa(_0x4fec35-0xc5,_0x127769-0x1e,_0x3547fb- -0x1ea,_0x4fec35);}if(typeof _0x3e262b===_0x85b9b(0x412,0x3da,_0x51aeb7._0x3b942d,_0x51aeb7._0x3c059b))return _0x3e262b;if(Array[_0x85b9b(0x614,0x4d6,_0x51aeb7._0x3e2803,_0x51aeb7._0x4926fd)](_0x3e262b))return _0x3e262b[_0x3d1411(0x575,0x4a3,_0x51aeb7._0x2893b2,0x54f)](_0x4552bc=>typeof _0x4552bc==='string'?_0x4552bc:_0x4552bc[_0x85b9b(0x34c,0x492,0x4ff,0x319)])[_0x3d1411(_0x51aeb7._0x4cfece,_0x51aeb7._0x580971,_0x51aeb7._0x16fe84,0x678)](Boolean)[_0x85b9b(_0x51aeb7._0x370d1a,_0x51aeb7._0x3a4ef8,_0x51aeb7._0xca489f,_0x51aeb7._0x55e14f)]('\x0a\x0a');function _0x85b9b(_0x5ebaf5,_0x2e963d,_0x5d5537,_0x370f4e){return _0x1e45aa(_0x5ebaf5-_0x178008._0x17ff8d,_0x2e963d-_0x178008._0x53516a,_0x2e963d- -0x345,_0x5d5537);}if(_0x85b9b(_0x51aeb7._0x2a804c,0x412,0x3aa,0x4d9)in _0x3e262b)return _0x3e262b['value'];return _0x3e262b['language']?_0x3d1411(_0x51aeb7._0x4bcb68,0x66b,0x4fe,0x60b)+_0x3e262b[_0x3d1411(_0x51aeb7._0x5e835b,0x353,_0x51aeb7._0x313c01,0x3cd)]+'\x0a'+_0x3e262b['value']+_0x3d1411(0x4ba,0x4e0,0x2f8,_0x51aeb7._0x4d20bb):_0x3e262b[_0x85b9b(0x35c,0x492,0x36c,0x52d)];}function formatHover(_0x4d5c41){const _0x16e253={_0x495fda:0x73f,_0x1563c5:0x5bd,_0x5ba7eb:0x475,_0x3af396:0x4ed,_0x3d8a46:0x2da,_0x51b8ae:0x4d2,_0x3c1f05:0x520,_0x96f3c3:0x47e,_0x2b60eb:0x3e0,_0x596137:0x3c6,_0x47a3da:0x445},_0x1d1875={_0x50fbf2:0x8c},_0x1a0020={_0x143804:0x3d,_0x300edb:0xda,_0xc576a8:0x34e};if(_0x4d5c41[_0x539a02(_0x16e253._0x495fda,_0x16e253._0x1563c5,_0x16e253._0x5ba7eb,_0x16e253._0x3af396)]===0x0)return _0x49326c(_0x16e253._0x3d8a46,0x44b,0x344,_0x16e253._0x51b8ae);function _0x49326c(_0x3a2526,_0x5a9b9f,_0x3d18f6,_0x4a5579){return _0x1e45aa(_0x3a2526-_0x1a0020._0x143804,_0x5a9b9f-_0x1a0020._0x300edb,_0x5a9b9f- -_0x1a0020._0xc576a8,_0x3a2526);}function _0x539a02(_0x3474c4,_0x478b91,_0x107efa,_0x45888b){return _0x55c88d(_0x3474c4-0x138,_0x478b91-_0x1d1875._0x50fbf2,_0x45888b,_0x45888b-0x106);}return _0x4d5c41['map'](formatSingleHover)[_0x539a02(_0x16e253._0x3c1f05,_0x16e253._0x96f3c3,0x33b,_0x16e253._0x2b60eb)](_0x49326c(0x476,_0x16e253._0x596137,_0x16e253._0x47a3da,0x4c7));}function locationPath(_0x2dd4c8){const _0x4dbd8b={_0x1ca9fb:0x13f,_0x1c8083:0x11d},_0x172183={_0x28f7ef:0x1f3,_0x179559:0x372,_0x1d2ebd:0x117},_0x2ef74a={_0xd52c4:0x9f};if(!_0x2dd4c8[_0x9fdece(-_0x4dbd8b._0x1ca9fb,-_0x4dbd8b._0x1c8083,0x8,-0x193)](_0x2f7372(0x6a,-0x58,-0x6,0x51)))return _0x2dd4c8;function _0x9fdece(_0x582f7b,_0x2d4c1d,_0x17e6f3,_0x5c780e){return _0x55c88d(_0x582f7b-0x35,_0x2d4c1d- -0x3df,_0x17e6f3,_0x5c780e-_0x2ef74a._0xd52c4);}function _0x2f7372(_0x4b1f33,_0x81af0a,_0x50df47,_0x1a3cb7){return _0x55c88d(_0x4b1f33-_0x172183._0x28f7ef,_0x50df47- -_0x172183._0x179559,_0x1a3cb7,_0x1a3cb7-_0x172183._0x1d2ebd);}return _0x50f047(_0x2dd4c8);}function formatLocations(_0x48b698){const _0x2f6b81={_0x11c90f:0x420,_0x1465c8:0x520,_0x17f609:0x5c1,_0xecb672:0x31d,_0xcf47f2:0x57e,_0x71b671:0x47d,_0x7ee3c3:0x3b6,_0x49362d:0x31a},_0x1f7b25={_0x294983:0x41c,_0x39f185:0x433,_0x3069ea:0x519,_0x55929c:0x3af,_0x3bb2e2:0x3b,_0x254684:0x120,_0x34f15f:0x1b,_0x5ef259:0xef,_0x2c0008:0x7f,_0x347115:0x323,_0x5d2360:0x35a,_0x120fcc:0x298,_0x52473f:0x21d},_0x4bd0c8={_0x7e4b72:0x58},_0xe42855={_0xf75e0:0x31},_0x55f8c4={_0x277f93:0x1c0,_0x2821e7:0xb,_0x929a1f:0xa4};function _0x1d2434(_0x4c1d6c,_0x1175bf,_0x5cb302,_0xd99e5c){return _0x55c88d(_0x4c1d6c-_0x55f8c4._0x277f93,_0xd99e5c- -_0x55f8c4._0x2821e7,_0x4c1d6c,_0xd99e5c-_0x55f8c4._0x929a1f);}function _0x119d41(_0x3420e8,_0x36d8e6,_0x4f2135,_0x492f10){return _0x55c88d(_0x3420e8-0x198,_0x3420e8-_0xe42855._0xf75e0,_0x36d8e6,_0x492f10-0x157);}if(_0x48b698[_0x119d41(0x562,_0x2f6b81._0x11c90f,_0x2f6b81._0x1465c8,0x404)]===0x0)return'No\x20locations\x20found';return _0x48b698[_0x1d2434(_0x2f6b81._0x17f609,_0x2f6b81._0xecb672,_0x2f6b81._0xcf47f2,_0x2f6b81._0x71b671)](_0x12a1dd=>{const _0x58240a={_0xf7f9ec:0xb7};function _0x2fdbf9(_0x45f681,_0x2686fa,_0x46c8ea,_0x13540b){return _0x119d41(_0x45f681- -0x423,_0x13540b,_0x46c8ea-0x1a5,_0x13540b-_0x58240a._0xf7f9ec);}const _0xbcd681=_0x12a1dd[_0x28b97f(_0x1f7b25._0x294983,_0x1f7b25._0x39f185,_0x1f7b25._0x3069ea,_0x1f7b25._0x55929c)][_0x2fdbf9(-0x9c,-_0x1f7b25._0x3bb2e2,-_0x1f7b25._0x254684,_0x1f7b25._0x34f15f)];function _0x28b97f(_0x115429,_0x200ce4,_0x58cbee,_0xf5fcb1){return _0x1d2434(_0xf5fcb1,_0x200ce4-0x1e6,_0x58cbee-0x1ea,_0x58cbee- -_0x4bd0c8._0x7e4b72);}return locationPath(_0x12a1dd[_0x2fdbf9(-_0x1f7b25._0x5ef259,0x59,_0x1f7b25._0x2c0008,0x2d)])+':'+(_0xbcd681[_0x28b97f(0x27f,_0x1f7b25._0x347115,_0x1f7b25._0x5d2360,_0x1f7b25._0x120fcc)]+0x1)+':'+(_0xbcd681[_0x2fdbf9(0x112,0x8f,0x116,_0x1f7b25._0x52473f)]+0x1);})[_0x119d41(0x423,_0x2f6b81._0x7ee3c3,0x448,_0x2f6b81._0x49362d)]('\x0a');}function isDocumentSymbol(_0x9c10f9){const _0x5f0864={_0x1d327c:0x7ff,_0xb3686c:0x104},_0x34da10={_0x3bfc12:0xf,_0xb154b2:0x3df},_0xcb1a78={_0x3d2d6a:0x97,_0x4aae10:0x15e,_0x3669a8:0x49};function _0x2843d8(_0x479cf1,_0x3bd7b3,_0x4cd289,_0x2973ef){return _0x1e45aa(_0x479cf1-_0xcb1a78._0x3d2d6a,_0x3bd7b3-_0xcb1a78._0x4aae10,_0x479cf1- -_0xcb1a78._0x3669a8,_0x3bd7b3);}function _0x1b73a2(_0x281a25,_0x359cce,_0x2c06e6,_0x3e8b64){return _0x55c88d(_0x281a25-_0x34da10._0x3bfc12,_0x2c06e6- -_0x34da10._0xb154b2,_0x359cce,_0x3e8b64-0x37);}return _0x2843d8(0x7e4,0x797,0x94e,_0x5f0864._0x1d327c)in _0x9c10f9&&_0x1b73a2(0x5,-0x73,-_0x5f0864._0xb3686c,-0x22c)in _0x9c10f9;}function formatSymbols(_0x7ef93f){const _0x125b52={_0x18ee75:0x2d3,_0x576b07:0xcd},_0x54d812={_0x47da3b:0x6e8,_0x12cc08:0x115,_0x56fd28:0x1d9,_0x299c02:0xa0,_0x20f8d1:0xba,_0x4a9b07:0x462,_0x107de2:0x55f,_0x4bf1b2:0x28,_0x4572eb:0x1dc,_0x4f5535:0x313,_0xbb539e:0x3f7,_0xcd27c2:0x519,_0x513acc:0x627,_0x4b3ae1:0x70d,_0x356540:0x6c9,_0xea0ca7:0x59f,_0x160b65:0x2a0,_0x4ebd4d:0x3f,_0x1f3ac1:0xf8,_0x4603e9:0x684,_0x3f3602:0x2ca,_0x31db5c:0x313,_0x4f433d:0x1ac,_0x11b446:0x438,_0x392f72:0xff,_0x24cfed:0x26d,_0x4799af:0x631,_0xeabc90:0x8f1},_0x1e7731={_0x331c8c:0x6e,_0xf23ea2:0xec},_0x203a53={_0x3614a6:0x9c,_0x2379b7:0x19d};if(_0x7ef93f[_0x11f9ca(_0x125b52._0x18ee75,_0x125b52._0x576b07,0x2ef,0x1dc)]===0x0)return'No\x20symbols\x20found';function _0x11f9ca(_0x591ebf,_0xa24ee6,_0x340228,_0x1ab6f9){return _0x1e45aa(_0x591ebf-0xeb,_0xa24ee6-0x182,_0x1ab6f9- -0x606,_0xa24ee6);}return _0x7ef93f['map'](_0x212af8=>{function _0x4cf156(_0x2089ee,_0x3eaf2f,_0x35aba9,_0x4607aa){return _0x11f9ca(_0x2089ee-_0x203a53._0x3614a6,_0x4607aa,_0x35aba9-_0x203a53._0x2379b7,_0x35aba9-0x55e);}if(isDocumentSymbol(_0x212af8))return _0x212af8[_0x4cf156(0x6b7,0x833,_0x54d812._0x47da3b,0x6f2)]+'\x20('+_0x212af8['kind']+_0x1a536e(_0x54d812._0x12cc08,_0x54d812._0x56fd28,_0x54d812._0x299c02,-_0x54d812._0x20f8d1)+(_0x212af8['range'][_0x4cf156(_0x54d812._0x4a9b07,0x41e,_0x54d812._0x107de2,0x675)][_0x1a536e(-_0x54d812._0x4bf1b2,0x285,0x154,_0x54d812._0x4572eb)]+0x1)+':'+(_0x212af8[_0x1a536e(0x297,0x3ab,_0x54d812._0x4f5535,0x3fb)][_0x4cf156(_0x54d812._0x4a9b07,_0x54d812._0xbb539e,0x55f,_0x54d812._0xcd27c2)][_0x4cf156(0x756,_0x54d812._0x513acc,_0x54d812._0x4b3ae1,0x660)]+0x1)+']';function _0x1a536e(_0x55bfb0,_0xe0f8d4,_0x4a5874,_0x2780b1){return _0x11f9ca(_0x55bfb0-0x2,_0xe0f8d4,_0x4a5874-_0x1e7731._0x331c8c,_0x4a5874-_0x1e7731._0xf23ea2);}return _0x212af8[_0x4cf156(_0x54d812._0x356540,0x686,_0x54d812._0x47da3b,_0x54d812._0xea0ca7)]+'\x20('+_0x212af8[_0x1a536e(0x2ab,0x2e4,0x23d,_0x54d812._0x160b65)]+')\x20'+locationPath(_0x212af8['location'][_0x1a536e(_0x54d812._0x4ebd4d,_0x54d812._0x1f3ac1,0x9a,0xc9)])+':'+(_0x212af8[_0x4cf156(0x57a,0x6a1,_0x54d812._0x4603e9,0x6c5)][_0x1a536e(0x1c7,_0x54d812._0x3f3602,_0x54d812._0x31db5c,_0x54d812._0x4f433d)][_0x4cf156(_0x54d812._0x11b446,0x4d4,0x55f,0x5ea)][_0x1a536e(_0x54d812._0x392f72,_0x54d812._0x24cfed,0x154,0x1f3)]+0x1)+':'+(_0x212af8['location'][_0x4cf156(_0x54d812._0x4799af,_0x54d812._0xeabc90,0x785,0x6b9)][_0x4cf156(0x3d9,0x554,_0x54d812._0x107de2,0x579)][_0x1a536e(0x118,0x391,0x29b,0x250)]+0x1);})['join']('\x0a');}function formatDiagnostics(_0x137d8b){const _0xae3ceb={_0x222c53:0xc4,_0x294862:0x22,_0x163fc0:0x7a,_0x431799:0xb5,_0x959a04:0x15c,_0x45e837:0x16f,_0x1ec529:0xfe},_0x224eda={_0x50981c:0x452,_0x251c66:0x596,_0x411d2b:0x3d1,_0x2f000b:0x33f,_0x2318df:0x202},_0x4de1c8={_0x4f7914:0x19f,_0x57105f:0x304},_0x6653e9={_0x1906a7:0x45d,_0x247f1e:0x49},_0x2658ee={_0x4d6bb3:0x1ee},_0x2a811a={_0x1a7f52:0x1b8,_0x406f7a:0x132};function _0xfd20a0(_0x28df0b,_0x5dc863,_0x1abecf,_0x36648d){return _0x55c88d(_0x28df0b-_0x2a811a._0x1a7f52,_0x28df0b- -0x43c,_0x36648d,_0x36648d-_0x2a811a._0x406f7a);}if(_0x137d8b[_0xfd20a0(0xf5,_0xae3ceb._0x222c53,_0xae3ceb._0x294862,-_0xae3ceb._0x163fc0)]===0x0)return _0x3eba31(-_0xae3ceb._0x431799,_0xae3ceb._0x959a04,0x9f,0xc6);function _0x3eba31(_0x4870db,_0x18668c,_0x17d3f3,_0x108faf){return _0x1e45aa(_0x4870db-_0x2658ee._0x4d6bb3,_0x18668c-0x34,_0x17d3f3- -0x534,_0x108faf);}return _0x137d8b['map'](_0x33ec4d=>{function _0x4d48e4(_0x24d983,_0x2f9d4a,_0x35879e,_0x5cc42f){return _0xfd20a0(_0x2f9d4a-_0x6653e9._0x1906a7,_0x2f9d4a-0x1a2,_0x35879e-_0x6653e9._0x247f1e,_0x35879e);}const _0x4a3342=_0x33ec4d['range']['start'];function _0x18dae1(_0x622f05,_0x2a30da,_0x5863bc,_0x45ab2c){return _0x3eba31(_0x622f05-_0x4de1c8._0x4f7914,_0x2a30da-0xa3,_0x5863bc-_0x4de1c8._0x57105f,_0x622f05);}return severityName(_0x33ec4d[_0x4d48e4(0x447,_0x224eda._0x50981c,0x5c4,0x40e)])+'\x20['+(_0x4a3342[_0x18dae1(0x474,_0x224eda._0x251c66,0x43e,_0x224eda._0x411d2b)]+0x1)+':'+(_0x4a3342['character']+0x1)+']\x20'+_0x33ec4d[_0x18dae1(_0x224eda._0x2f000b,_0x224eda._0x2318df,0x37b,0x34a)];})[_0x3eba31(0x285,0x4d,_0xae3ceb._0x45e837,_0xae3ceb._0x1ec529)]('\x0a');}function formatIncomingCalls(_0x4dd4ef){const _0x4afdd1={_0x4aad61:0x618,_0x36a785:0x6d6,_0x49e94d:0x62e,_0x57c36b:0x761},_0x2fa49d={_0x28990a:0x84,_0x1af802:0x75},_0x4f5d86={_0x12c762:0x11c,_0x35a798:0xa7};function _0x2fee89(_0x4cfed3,_0x59f95a,_0x397a77,_0xd857a9){return _0x55c88d(_0x4cfed3-_0x4f5d86._0x12c762,_0x59f95a- -0x332,_0xd857a9,_0xd857a9-_0x4f5d86._0x35a798);}function _0x17e1a0(_0x4e6143,_0x33c500,_0x2fbf4a,_0x5e9b22){return _0x1e45aa(_0x4e6143-0x3c,_0x33c500-_0x2fa49d._0x28990a,_0x33c500- -_0x2fa49d._0x1af802,_0x2fbf4a);}if(_0x4dd4ef['length']===0x0)return _0x17e1a0(0x619,_0x4afdd1._0x4aad61,0x779,_0x4afdd1._0x36a785);return _0x4dd4ef['map'](_0x74bfc3=>_0x74bfc3[_0x2fee89(0x237,0x1dd,0x237,0x332)][_0x17e1a0(0x5be,0x71b,0x5a9,0x5c6)])[_0x17e1a0(0x6db,_0x4afdd1._0x49e94d,_0x4afdd1._0x57c36b,0x656)]('\x0a');}function formatOutgoingCalls(_0x33368f){const _0x409d7b={_0x38bbf7:0x1fe,_0x589f5c:0x1e6,_0x2294b3:0xa7,_0x1b6479:0xa9,_0xdb32c8:0xef,_0x3c6345:0x75},_0x545f32={_0x59ea90:0x144,_0x262003:0x5e4},_0x1f683e={_0x208bb0:0x1a4,_0x458d81:0x111};function _0x3ccac0(_0x5a11f7,_0x575af6,_0x370f98,_0x3272fb){return _0x55c88d(_0x5a11f7-_0x1f683e._0x208bb0,_0x3272fb- -0x3b3,_0x5a11f7,_0x3272fb-_0x1f683e._0x458d81);}if(_0x33368f[_0x8b520d(0xf6,_0x409d7b._0x38bbf7,_0x409d7b._0x589f5c,_0x409d7b._0x2294b3)]===0x0)return _0x8b520d(0x9a,_0x409d7b._0x1b6479,_0x409d7b._0xdb32c8,_0x409d7b._0x3c6345);function _0x8b520d(_0x34b440,_0x39dc96,_0x2b8d35,_0x2cf486){return _0x1e45aa(_0x34b440-0x49,_0x39dc96-_0x545f32._0x59ea90,_0x39dc96- -_0x545f32._0x262003,_0x34b440);}return _0x33368f['map'](_0x5a4e66=>_0x5a4e66['to']['name'])['join']('\x0a');}function toStructured(_0x46ce85){const _0x43f413={_0x460ffb:0x51b,_0x122b48:0x678,_0x2afafb:0x4d1},_0x282b0a={_0x1d9ee8:0x2,_0x18767d:0x21d},_0x2a4d2d={_0xcc3002:0x236};function _0x4f100c(_0x26502d,_0x1bb7f9,_0x3899c4,_0xeff54a){return _0x1e45aa(_0x26502d-0x7e,_0x1bb7f9-0x14a,_0x3899c4- -_0x2a4d2d._0xcc3002,_0x26502d);}function _0x489057(_0x37f4d5,_0x10980b,_0x4f833a,_0x507a41){return _0x55c88d(_0x37f4d5-_0x282b0a._0x1d9ee8,_0x10980b-_0x282b0a._0x18767d,_0x507a41,_0x507a41-0x143);}return JSON[_0x489057(_0x43f413._0x460ffb,0x567,0x5a1,_0x43f413._0x122b48)](JSON[_0x4f100c(_0x43f413._0x2afafb,0x430,0x57b,0x614)](_0x46ce85));}async function assertFile(_0x554f5f){const _0xd5b6f1={_0x550216:0x1cd,_0x25189e:0x9f},_0x284f27=await _0x85280f(_0x554f5f);function _0x295f86(_0x1c1866,_0x3b5460,_0x17f2f0,_0x3f9a2f){return _0x55c88d(_0x1c1866-0x151,_0x1c1866- -_0xd5b6f1._0x550216,_0x3b5460,_0x3f9a2f-_0xd5b6f1._0x25189e);}if(!_0x284f27['isFile']())throw new ToolExecutionError(_0x295f86(0x1e8,0x271,0x1ff,0x1f3)+_0x554f5f,{'path':_0x554f5f});}function validatePosition(_0x59c2c7,_0x3008b3){const _0xc0b874={_0x11530a:0x4ba,_0x155688:0x5bf,_0x103ce5:0x6e4,_0x554363:0x526,_0x2b3391:0x576,_0x4958b3:0x352,_0x1c94a0:0x1b7},_0x77f50c={_0x41e89c:0x47},_0x5c9c3e={_0x2ab4a7:0x6e,_0x4c32c0:0x0,_0x273457:0x2a0};function _0x530a00(_0x33039f,_0x5f0f9c,_0x41695e,_0x3378d5){return _0x1e45aa(_0x33039f-_0x5c9c3e._0x2ab4a7,_0x5f0f9c-_0x5c9c3e._0x4c32c0,_0x3378d5- -_0x5c9c3e._0x273457,_0x33039f);}if(!Number[_0x530a00(0x735,0x570,_0xc0b874._0x11530a,_0xc0b874._0x155688)](_0x59c2c7)||_0x59c2c7<0x1)throw new ToolExecutionError(_0x530a00(_0xc0b874._0x103ce5,0x48e,_0xc0b874._0x554363,_0xc0b874._0x2b3391),{'line':_0x59c2c7});function _0x14953a(_0x45ef3d,_0x2f0fd2,_0x51fb95,_0x5a4a95){return _0x55c88d(_0x45ef3d-0x12,_0x45ef3d- -0x24b,_0x2f0fd2,_0x5a4a95-_0x77f50c._0x41e89c);}if(!Number[_0x14953a(0x363,0x2e5,_0xc0b874._0x4958b3,0x4d8)](_0x3008b3)||_0x3008b3<0x1)throw new ToolExecutionError(_0x530a00(0x25e,_0xc0b874._0x1c94a0,0x3bc,0x2e1),{'character':_0x3008b3});}function createLspTool(_0x801e1c={}){const _0x62e0d={_0x232b69:0x4bf,_0x42654e:0x6c8,_0x1b8bcc:0x51f,_0x18ae3c:0x474,_0x41335b:0x4be,_0x1e3869:0x348,_0x32b598:0x5e6,_0x41250c:0x5cc,_0xa0e088:0x59b,_0x5d3354:0x65c,_0x4ff168:0x58c,_0x3f68e8:0x3ce,_0x215a50:0x6cb,_0x25cd3f:0x47c,_0x166540:0x4ea,_0x528faf:0x558,_0x5afafd:0x32f,_0x2474ea:0x4b7,_0x14624b:0x47d,_0x1c6792:0x41e,_0x1c3afb:0x49b,_0x3ab610:0x673,_0xca2b79:0x45e,_0x24d4ea:0x3fa,_0x279b3d:0x3ee,_0x75b34d:0x278,_0x346a1:0x547,_0x4709da:0x46c,_0x5344d3:0x546,_0x26c8fd:0x58a,_0x23a047:0x615,_0x43060c:0x600,_0x3546a7:0x580,_0x361b41:0x6c5,_0x504a6c:0x4df},_0x101644={_0x292582:0x287,_0x4f1f96:0x38e,_0x13a782:0x289,_0x202407:0x291,_0x4399c3:0x305,_0x508ffd:0x328,_0x410a61:0x198,_0x168dc5:0xd3,_0x210391:0x163,_0x5d5e25:0x1c1,_0x443cb9:0x1a2,_0x3b868f:0x2dc,_0x317a30:0x344,_0x27ddc3:0x13d,_0x21572e:0x1f7,_0x5751d3:0x150,_0x55a2c5:0x27a,_0x16a3ce:0x197,_0x4842cc:0x1fe,_0x4b4b40:0x27f,_0x3d83fe:0x246,_0x296189:0x330,_0x3f290b:0x309,_0x136d3e:0x310,_0x5b974f:0x40f,_0x230ada:0x101,_0x35e3ac:0x14d,_0x2ee89b:0x32b,_0x458ee7:0x1d9,_0x9048ba:0x316,_0x283a78:0x1cb,_0xc76485:0x23b,_0x48ca4c:0x110,_0x7931d3:0xbf,_0x58a095:0x2b3,_0x1d51e2:0x171,_0x34cc66:0x2a5,_0x437768:0x4c9,_0x10e194:0x50d,_0x51adae:0x2aa,_0x1e29db:0x21e,_0x3a6368:0x25d,_0x4e180c:0x1f7,_0x22fbdd:0x396,_0x27adae:0x1a7,_0x248481:0x3b7,_0x3542ce:0x318,_0x59911d:0x21a,_0x19282a:0x62,_0x212bb6:0x210,_0x110c0a:0x29,_0x2ea481:0x5e,_0x48c52f:0x2a4,_0x7cf579:0x24d,_0x3187f1:0x373,_0xfd56bf:0x121,_0x47c9c5:0x24a,_0x7f2505:0x3a6,_0x30d37a:0x8f,_0x47580c:0x97,_0x5d0ae6:0x158,_0x5ddf9a:0x8,_0x352255:0x187,_0x4f8841:0x72,_0x350cb3:0x53},_0x5ab81c={_0x3bb43f:0x322,_0x29c176:0x18d},_0x4524a6={_0xee1165:0x2d3,_0x55b917:0x2f},_0x17d251={_0x3637a1:0x67},_0x225674={_0x3f88a1:0xbe,_0x246262:0x107};function _0x385a52(_0x38cb00,_0x1a90b7,_0x2032b8,_0x57f924){return _0x55c88d(_0x38cb00-_0x225674._0x3f88a1,_0x38cb00-_0x225674._0x246262,_0x1a90b7,_0x57f924-0x19f);}const _0x34d186=_0x8c44b9['resolve'](_0x801e1c[_0x17e615(_0x62e0d._0x232b69,0x5cf,_0x62e0d._0x42654e,_0x62e0d._0x1b8bcc)]??process[_0x17e615(_0x62e0d._0x18ae3c,0x4a0,_0x62e0d._0x41335b,_0x62e0d._0x1e3869)]()),_0x300957=_0x801e1c['allowedDirs']??[];function _0x17e615(_0x519485,_0x335919,_0x4c967e,_0x2dc282){return _0x1e45aa(_0x519485-_0x17d251._0x3637a1,_0x335919-0x10f,_0x335919- -0x11f,_0x519485);}const _0x1320f0=_0x801e1c[_0x385a52(_0x62e0d._0x32b598,0x553,_0x62e0d._0x41250c,_0x62e0d._0xa0e088)]??_0x17e615(_0x62e0d._0x5d3354,0x6cc,0x82a,0x639);return defineTool({'name':_0x1320f0,'description':_0x385a52(_0x62e0d._0x4ff168,0x4a1,0x4ad,0x431),'inputSchema':{'type':_0x385a52(0x45e,_0x62e0d._0x3f68e8,0x559,0x5d7),'properties':{'operation':{'type':_0x385a52(0x575,_0x62e0d._0x215a50,_0x62e0d._0x25cd3f,_0x62e0d._0x166540),'enum':[_0x385a52(0x449,_0x62e0d._0x528faf,_0x62e0d._0x5afafd,0x388),'findReferences',_0x385a52(_0x62e0d._0x2474ea,0x5a7,0x471,_0x62e0d._0x14624b),_0x385a52(_0x62e0d._0x1c6792,_0x62e0d._0x1c3afb,0x46d,0x327),_0x17e615(0x678,0x5a4,0x5c1,0x6ef),'goToImplementation',_0x17e615(_0x62e0d._0x3ab610,0x5ab,0x4c6,0x50e),_0x385a52(0x3b9,_0x62e0d._0xca2b79,0x4e0,_0x62e0d._0x24d4ea),_0x385a52(_0x62e0d._0x279b3d,0x30a,_0x62e0d._0x75b34d,_0x62e0d._0x346a1),_0x385a52(0x444,0x3d9,0x459,0x4bc)]},'filePath':{'type':'string'},'line':{'type':_0x17e615(_0x62e0d._0xca2b79,0x5d1,_0x62e0d._0x4709da,0x4cb)},'character':{'type':_0x385a52(_0x62e0d._0x5344d3,_0x62e0d._0x26c8fd,_0x62e0d._0x23a047,0x51e)},'query':{'type':_0x17e615(0x617,_0x62e0d._0x43060c,0x769,_0x62e0d._0x3546a7)}},'required':['operation','filePath','line',_0x385a52(0x60b,_0x62e0d._0x361b41,_0x62e0d._0x504a6c,0x75f)]},async *'execute'(_0x41aaac){const _0x2759e8=_0x801e1c[_0xc66b5a(0x3d2,_0x101644._0x292582,_0x101644._0x4f1f96,_0x101644._0x13a782)];if(!_0x2759e8)throw new ToolExecutionError(_0xc66b5a(0x410,_0x101644._0x202407,_0x101644._0x4399c3,_0x101644._0x508ffd));if(!_0x2759e8[_0x2ee1bb(0x195,_0x101644._0x410a61,_0x101644._0x168dc5,_0x101644._0x210391)]())throw new ToolExecutionError('LSP\x20service\x20is\x20disabled');const _0x36245a=_0x41aaac['operation'];validatePosition(_0x41aaac[_0x2ee1bb(_0x101644._0x5d5e25,_0x101644._0x443cb9,0x1c4,_0x101644._0x3b868f)],_0x41aaac[_0xc66b5a(_0x101644._0x317a30,0x338,0x327,0x4b1)]);if(_0x36245a===_0x2ee1bb(_0x101644._0x27ddc3,_0x101644._0x21572e,0x35d,0x245)){if(!_0x41aaac['query']?.[_0x2ee1bb(_0x101644._0x5751d3,0x2d5,_0x101644._0x55a2c5,0x2a6)]())throw new ToolExecutionError(_0x2ee1bb(0x169,0x231,_0x101644._0x16a3ce,_0x101644._0x4842cc));const _0x3b9c9c=await _0x2759e8[_0xc66b5a(_0x101644._0x4b4b40,_0x101644._0x3d83fe,_0x101644._0x296189,_0x101644._0x3f290b)](_0x41aaac['query'][_0xc66b5a(_0x101644._0x136d3e,0x324,0x2b1,_0x101644._0x5b974f)]());return yield createToolOutput(formatSymbols(_0x3b9c9c),{'operation':_0x36245a,'query':_0x41aaac[_0xc66b5a(-0x41,_0x101644._0x230ada,0x1ba,0x283)],'symbols':_0x3b9c9c}),void 0x0;}const _0xbe2fd7=resolveAllowedPath(_0x34d186,_0x300957,_0x41aaac[_0xc66b5a(_0x101644._0x35e3ac,0x1f3,_0x101644._0x2ee89b,0x16b)]);await assertFile(_0xbe2fd7);function _0xc66b5a(_0x542283,_0x44ee14,_0x6f060b,_0x1b979d){return _0x385a52(_0x44ee14- -_0x4524a6._0xee1165,_0x6f060b,_0x6f060b-_0x4524a6._0x55b917,_0x1b979d-0xd2);}if(!await _0x2759e8['hasClients'](_0xbe2fd7))throw new ToolExecutionError('No\x20LSP\x20server\x20available\x20for\x20file:\x20'+_0x41aaac['filePath'],{'filePath':_0x41aaac[_0xc66b5a(0x331,0x1f3,0x1d1,0x343)]});function _0x2ee1bb(_0x1e1fd8,_0x5349b1,_0x23b00c,_0x1d2c2c){return _0x385a52(_0x5349b1- -_0x5ab81c._0x3bb43f,_0x23b00c,_0x23b00c-_0x5ab81c._0x29c176,_0x1d2c2c-0x138);}await _0x2759e8[_0x2ee1bb(_0x101644._0x458ee7,0x237,_0x101644._0x9048ba,_0x101644._0x283a78)](_0xbe2fd7,!![]);const _0x22b429={'file':_0xbe2fd7,'line':_0x41aaac[_0x2ee1bb(_0x101644._0xc76485,_0x101644._0x443cb9,0x2ab,0x2ec)]-0x1,'character':_0x41aaac['character']-0x1};switch(_0x36245a){case _0x2ee1bb(_0x101644._0x48ca4c,0x195,0x13f,0x2c7):{const _0x29a995=await _0x2759e8[_0x2ee1bb(0x1e1,0x195,_0x101644._0x7931d3,_0x101644._0x58a095)](_0x22b429);return yield createToolOutput(formatHover(_0x29a995),{'operation':_0x36245a,'filePath':_0xbe2fd7,'hover':_0x29a995}),void 0x0;}case _0xc66b5a(0x159,_0x101644._0x1d51e2,_0x101644._0x34cc66,0x1db):{const _0x370ee8=await _0x2759e8['diagnosticsForFile'](_0xbe2fd7);return yield createToolOutput(formatDiagnostics(_0x370ee8),{'operation':_0x36245a,'filePath':_0xbe2fd7,'diagnostics':_0x370ee8}),void 0x0;}case'goToDefinition':{const _0x1f3f34=await _0x2759e8[_0xc66b5a(0x3c1,0x3cb,_0x101644._0x437768,_0x101644._0x10e194)](_0x22b429);return yield createToolOutput(formatLocations(_0x1f3f34),{'operation':_0x36245a,'filePath':_0xbe2fd7,'locations':_0x1f3f34}),void 0x0;}case _0x2ee1bb(_0x101644._0x51adae,0x153,_0x101644._0x1e29db,_0x101644._0x3a6368):{const _0x45c9b9=await _0x2759e8[_0xc66b5a(0x39f,0x37d,0x298,0x26c)](_0x22b429);return yield createToolOutput(formatLocations(_0x45c9b9),{'operation':_0x36245a,'filePath':_0xbe2fd7,'locations':_0x45c9b9}),void 0x0;}case _0x2ee1bb(_0x101644._0x4e180c,0x2fc,_0x101644._0x22fbdd,_0x101644._0x27adae):{const _0x40c896=await _0x2759e8[_0xc66b5a(0x3c9,_0x101644._0x248481,0x408,_0x101644._0x3542ce)](_0x22b429);return yield createToolOutput(formatLocations(_0x40c896),{'operation':_0x36245a,'filePath':_0xbe2fd7,'locations':_0x40c896}),void 0x0;}case _0x2ee1bb(_0x101644._0x59911d,0xfc,0x205,_0x101644._0x19282a):{const _0x49296c=await _0x2759e8[_0x2ee1bb(_0x101644._0x212bb6,0xfc,_0x101644._0x110c0a,-_0x101644._0x2ea481)](_0xbe2fd7);return yield createToolOutput(formatSymbols(_0x49296c),{'operation':_0x36245a,'filePath':_0xbe2fd7,'symbols':_0x49296c}),void 0x0;}case _0xc66b5a(_0x101644._0x48c52f,_0x101644._0x7cf579,0x2cb,_0x101644._0x3187f1):{const _0x5dbf8b=await _0x2759e8[_0xc66b5a(_0x101644._0xfd56bf,0x24d,_0x101644._0x47c9c5,_0x101644._0x7f2505)](_0x22b429);return yield createToolOutput(formatSymbols(_0x5dbf8b),{'operation':_0x36245a,'filePath':_0xbe2fd7,'symbols':toStructured(_0x5dbf8b)}),void 0x0;}case _0x2ee1bb(_0x101644._0x30d37a,_0x101644._0x47580c,0x107,0x15a):{const _0x50b98b=await _0x2759e8['incomingCalls'](_0x22b429);return yield createToolOutput(formatIncomingCalls(_0x50b98b),{'operation':_0x36245a,'filePath':_0xbe2fd7,'calls':toStructured(_0x50b98b)}),void 0x0;}case _0x2ee1bb(_0x101644._0x5d0ae6,0xcc,_0x101644._0x5ddf9a,_0x101644._0x352255):{const _0x11898b=await _0x2759e8[_0xc66b5a(0xc3,0x11b,_0x101644._0x4f8841,-_0x101644._0x350cb3)](_0x22b429);return yield createToolOutput(formatOutgoingCalls(_0x11898b),{'operation':_0x36245a,'filePath':_0xbe2fd7,'calls':toStructured(_0x11898b)}),void 0x0;}}}});}function _0x55c88d(_0x485fd6,_0x3c8bf8,_0x4ed560,_0x44f04b){const _0x3d6d6f={_0x2ed328:0xe8};return _0x3bdd(_0x3c8bf8-_0x3d6d6f._0x2ed328,_0x4ed560);}import{randomUUID as _0x18c0db}from'crypto';import{mkdir as _0x2a4ba2,readFile as _0x22a1fc,writeFile as _0x140973}from'fs/promises';import{join as _0x3462e3}from'path';function sanitizeStorageKey(_0x8dba2d){const _0x429a0f={_0x234e86:0xb0,_0x3b9b6a:0xca,_0x47a886:0x491,_0x6a2af7:0x5b9,_0x5bba4a:0x4c1,_0x316232:0x42d},_0x40a848={_0x58d439:0x1f,_0x2dc291:0x11a},_0x2a3e7b={_0x2ce046:0x19f,_0x5af41f:0x9f};function _0x21b8c1(_0x4a7180,_0x5acdb8,_0x43e00c,_0x2d7464){return _0x55c88d(_0x4a7180-_0x2a3e7b._0x2ce046,_0x4a7180- -0x3b6,_0x5acdb8,_0x2d7464-_0x2a3e7b._0x5af41f);}function _0x3762ad(_0x137352,_0x123304,_0x42fc62,_0x30423d){return _0x55c88d(_0x137352-_0x40a848._0x58d439,_0x30423d-0x145,_0x137352,_0x30423d-_0x40a848._0x2dc291);}return _0x8dba2d[_0x21b8c1(-0x3a,-0x181,_0x429a0f._0x234e86,-_0x429a0f._0x3b9b6a)](/[^a-zA-Z0-9_]+/g,'_')[_0x3762ad(_0x429a0f._0x47a886,_0x429a0f._0x6a2af7,0x3b4,_0x429a0f._0x5bba4a)](/^_+|_+$/g,'')||_0x3762ad(_0x429a0f._0x316232,0x4a5,0x555,0x42d);}function storagePath(_0x27dcc7){const _0x34054c={_0xf3eb7e:0x3,_0x3e1cad:0xcb,_0x249ce6:0x70,_0x428dde:0x597,_0x879946:0x5c3,_0x595132:0x64c,_0x2d084f:0x568},_0xe4591a={_0x301131:0x16f,_0x34053b:0x420},_0x4c97f7={_0x343e6b:0xa1};function _0x5dd562(_0x50702f,_0xbb2ba4,_0x59c253,_0x29ee84){return _0x1e45aa(_0x50702f-0xd5,_0xbb2ba4-0x6a,_0x50702f- -_0x4c97f7._0x343e6b,_0x29ee84);}function _0x5a7b3c(_0x36527d,_0x50a05c,_0x23450c,_0x4d5823){return _0x55c88d(_0x36527d-_0xe4591a._0x301131,_0x23450c- -_0xe4591a._0x34053b,_0x50a05c,_0x4d5823-0x44);}const _0x1fde8d=sanitizeStorageKey(_0x27dcc7[_0x5a7b3c(-0x124,-0x66,-0x35,-_0x34054c._0xf3eb7e)]['oauth']?.['tokenStorageKey']??_0x27dcc7[_0x5a7b3c(-_0x34054c._0x3e1cad,-0x168,0x7,_0x34054c._0x249ce6)]);return _0x3462e3(_0x27dcc7['storageDir'],_0x1fde8d+_0x5dd562(_0x34054c._0x428dde,_0x34054c._0x879946,_0x34054c._0x595132,_0x34054c._0x2d084f));}async function readStore(_0x1a8758){const _0xc9c348={_0x57c507:0x41d,_0x556d6c:0x2e6,_0x3c0666:0x2f3,_0x1478a3:0x2b4,_0x245984:0x2b6},_0x3e16aa={_0x1e0022:0xf6,_0x1cf8db:0x17},_0x13b7e6={_0x42c4bb:0x64,_0x47cafd:0x97};function _0x2f9b43(_0x1b6e66,_0x3d27f7,_0x24e0cb,_0xb5b13a){return _0x55c88d(_0x1b6e66-0x198,_0x24e0cb- -_0x13b7e6._0x42c4bb,_0x3d27f7,_0xb5b13a-_0x13b7e6._0x47cafd);}function _0xb9c8ab(_0x2c5e7f,_0x22eb5f,_0x30903a,_0x39f578){return _0x1e45aa(_0x2c5e7f-_0x3e16aa._0x1e0022,_0x22eb5f-_0x3e16aa._0x1cf8db,_0x2c5e7f- -0x254,_0x30903a);}try{return JSON[_0x2f9b43(_0xc9c348._0x57c507,0x32e,_0xc9c348._0x556d6c,_0xc9c348._0x3c0666)](await _0x22a1fc(_0x1a8758,_0xb9c8ab(0x443,0x306,0x5b5,0x3ec)));}catch(_0x5d4b28){if(_0x5d4b28 instanceof Error&&'code'in _0x5d4b28&&_0x5d4b28['code']===_0xb9c8ab(0x3e3,0x282,_0xc9c348._0x1478a3,_0xc9c348._0x245984))return{};throw _0x5d4b28;}}async function writeStore(_0x5ba562,_0x5442e4){const _0x3dca52={_0x55c0be:0x4e8,_0x2547ac:0x578},_0x13a49d={_0x7b2119:0x1af};await _0x2a4ba2(_0x3462e3(_0x5ba562,'..'),{'recursive':!![]});function _0x318fe3(_0x471a05,_0x5bc57c,_0x203559,_0x3dfb82){return _0x1e45aa(_0x471a05-0x146,_0x5bc57c-0xa1,_0x203559- -_0x13a49d._0x7b2119,_0x5bc57c);}await _0x140973(_0x5ba562,JSON['stringify'](_0x5442e4,null,0x2),_0x318fe3(0x426,0x5d3,_0x3dca52._0x55c0be,_0x3dca52._0x2547ac));}async function updateStore(_0x47d877,_0x10c050){const _0x2bb8da=await readStore(_0x47d877);_0x10c050(_0x2bb8da),await writeStore(_0x47d877,_0x2bb8da);}function createMcpOAuthProvider(_0x466b08){const _0x3395d6={_0x402996:0xb8,_0xdb1ac9:0x42,_0x35f67f:0xd,_0x56f42c:0x13e,_0x44c396:0xdb,_0x5f0670:0x61,_0x1a877e:0x12d,_0x258d61:0x143,_0x1d1f62:0x14,_0x15100a:0xf,_0x20546d:0xfb,_0xf3b37b:0x1af,_0x4e569c:0x1c5,_0x92c6dc:0xdd,_0x95935c:0x118,_0x44eceb:0x109,_0x4e3d8b:0x6c,_0x3afc9e:0x91,_0x11b82a:0x15,_0x5e2dfa:0x5e,_0x365a2a:0xc0,_0x36901c:0x1a1},_0x66851={_0x4a4e2c:0x590,_0x48c0b7:0x6bf,_0x96716d:0x654,_0x443c8f:0x8e4,_0x358593:0x793,_0x59df86:0x5b3,_0x187679:0x62c,_0x9cdf:0x6db,_0x595a5c:0x51b,_0x307b6d:0x3b6,_0x5c7d3e:0x270,_0x5441d2:0x4b3,_0x339944:0x4c4,_0x1b0ccf:0x4cf,_0x31f050:0x62e,_0x15837e:0x561,_0x14877e:0x63f,_0x5b86c1:0x418,_0x2b24fb:0x161,_0x153ed3:0x2c9,_0x3656ae:0x614,_0x4ca4c3:0x371,_0x41cb51:0x239,_0x52b9fc:0x65b,_0x47e05d:0x591,_0x2b5972:0x587},_0x5584e1={_0x29b82f:0x69f,_0xdd4062:0x740,_0x5a56bd:0x5f5,_0x8f4489:0x677,_0x4f7381:0xac},_0x3d4d8b={_0x551bb3:0x1a9,_0x208b89:0xe2,_0x4e6a84:0x1c9},_0x55f73e={_0x9aa97d:0x3f0,_0x959971:0x3f1,_0x32d285:0x34d,_0x4c6373:0x3a5},_0x1de78e={_0x545046:0x30a},_0x543e9e={_0x2910a8:0x1c1,_0x52f445:0x196},_0x1cbc63={_0x41f132:0x4fe,_0x59f52:0x78c,_0x59f650:0x607},_0x5d67e2={_0x2aef52:0x1e4},_0x16fd7a={_0x17cb1f:0x3be},_0x25da5a={_0x436818:0x589,_0x508b29:0x675},_0xbefde0={_0x2ba9cc:0x1ad,_0x330e38:0x65a},_0x497f1e=storagePath(_0x466b08),_0x2d3e97=_0x466b08[_0x519bf4(-_0x3395d6._0x402996,0x172,_0x3395d6._0xdb1ac9,0xeb)][_0x519bf4(-0xc3,-0xf1,-0x91,0xd9)]?.['scopes']?.[_0x519bf4(-_0x3395d6._0x35f67f,_0x3395d6._0x56f42c,0x49,_0x3395d6._0x44c396)]('\x20');function _0x59913d(_0xd8541,_0x24fb25,_0x2e2686,_0x281aac){return _0x55c88d(_0xd8541-0xa2,_0x281aac- -0x3a6,_0x24fb25,_0x281aac-0x1b9);}const _0x16954a={'client_name':'Nuvin','redirect_uris':[_0x466b08[_0x519bf4(0x34,-0x4b,_0x3395d6._0x5f0670,_0x3395d6._0x1a877e)]],'grant_types':[_0x519bf4(0x1be,_0x3395d6._0x258d61,0x1e2,0x1d5),'refresh_token'],'response_types':[_0x59913d(-_0x3395d6._0x1d1f62,_0x3395d6._0x15100a,0x10f,_0x3395d6._0x20546d)],'token_endpoint_auth_method':_0x59913d(_0x3395d6._0xf3b37b,_0x3395d6._0x4e569c,0x17c,_0x3395d6._0x92c6dc),..._0x2d3e97?{'scope':_0x2d3e97}:{}};function _0x519bf4(_0x111476,_0x229581,_0x2a76c3,_0x1182ab){return _0x1e45aa(_0x111476-_0xbefde0._0x2ba9cc,_0x229581-0x1a6,_0x2a76c3- -_0xbefde0._0x330e38,_0x1182ab);}return{'clientMetadataUrl':_0x466b08[_0x519bf4(0x7b,_0x3395d6._0x95935c,0x42,-_0x3395d6._0x44eceb)][_0x519bf4(-_0x3395d6._0x4e3d8b,-0x197,-_0x3395d6._0x3afc9e,-_0x3395d6._0x11b82a)]?.[_0x519bf4(-_0x3395d6._0x5e2dfa,-0x127,-_0x3395d6._0x365a2a,-_0x3395d6._0x36901c)],get 'redirectUrl'(){const _0x218efe={_0x4e18e9:0x614};function _0x3acfc5(_0x225c6f,_0x578cf2,_0x3ac2d4,_0x4a9dfc){return _0x519bf4(_0x225c6f-0x32,_0x578cf2-0x1c4,_0x578cf2-_0x218efe._0x4e18e9,_0x4a9dfc);}return _0x466b08[_0x3acfc5(_0x25da5a._0x436818,_0x25da5a._0x508b29,0x7a0,0x5dc)];},get 'clientMetadata'(){return _0x16954a;},async 'state'(){const _0x3c22c8={_0x31cf10:0x82,_0x202582:0x13a},_0x47c9f3={_0x4962ca:0x18b,_0x3688a5:0x18e},_0x5b1b16=await readStore(_0x497f1e);if(_0x5b1b16['state'])return _0x5b1b16[_0x648d1a(0x235,0x355,_0x5d67e2._0x2aef52,0x47c)];const _0x217370=_0x18c0db();function _0x648d1a(_0x5f0273,_0x29d145,_0x2b52f,_0x400bd7){return _0x519bf4(_0x5f0273-_0x47c9f3._0x4962ca,_0x29d145-_0x47c9f3._0x3688a5,_0x29d145-0x372,_0x2b52f);}return await updateStore(_0x497f1e,_0x1a6688=>{function _0x45a5f8(_0x429862,_0x1e81f3,_0x18f919,_0x315913){return _0x648d1a(_0x429862-0x1a8,_0x1e81f3-_0x3c22c8._0x31cf10,_0x18f919,_0x315913-_0x3c22c8._0x202582);}_0x1a6688[_0x45a5f8(0x510,0x3d7,_0x16fd7a._0x17cb1f,0x46e)]=_0x217370;}),_0x217370;},async 'clientInformation'(){const _0x177f13={_0x5dceca:0x1cd};function _0x2ce9ef(_0x191905,_0xe07583,_0x3e4fb2,_0x6674ca){return _0x519bf4(_0x191905-_0x177f13._0x5dceca,_0xe07583-0xc6,_0x6674ca-0x5f2,_0xe07583);}return(await readStore(_0x497f1e))[_0x2ce9ef(_0x1cbc63._0x41f132,0x732,_0x1cbc63._0x59f52,_0x1cbc63._0x59f650)];},async 'saveClientInformation'(_0x302512){await updateStore(_0x497f1e,_0x5f1f6f=>{_0x5f1f6f['clientInformation']=_0x302512;});},async 'tokens'(){const _0x419484={_0x15cc97:0x265};function _0x3981ac(_0x3ebcc7,_0x5c3b31,_0x1e554f,_0x1721b3){return _0x519bf4(_0x3ebcc7-0x1b0,_0x5c3b31-0x95,_0x1e554f-_0x419484._0x15cc97,_0x1721b3);}return(await readStore(_0x497f1e))[_0x3981ac(_0x543e9e._0x2910a8,0x1b2,0x265,_0x543e9e._0x52f445)];},async 'saveTokens'(_0x1b3ca2){await updateStore(_0x497f1e,_0x4f3500=>{function _0x1ce216(_0x14de3a,_0x3a5da2,_0x205023,_0x278a64){return _0x3bdd(_0x278a64- -0xbe,_0x205023);}_0x4f3500[_0x1ce216(_0x1de78e._0x545046,0x1e2,0x2b7,0x203)]=_0x1b3ca2;});},async 'redirectToAuthorization'(_0x55453e){const _0x43cb8f={_0x8cfb2f:0x16c,_0x3fee51:0x35f};function _0x3930af(_0x4e26df,_0x453123,_0x52109a,_0x9000fa){return _0x59913d(_0x4e26df-_0x43cb8f._0x8cfb2f,_0x52109a,_0x52109a-0x84,_0x453123-_0x43cb8f._0x3fee51);}await _0x466b08[_0x3930af(_0x55f73e._0x9aa97d,_0x55f73e._0x959971,_0x55f73e._0x32d285,_0x55f73e._0x4c6373)](_0x55453e);},async 'saveCodeVerifier'(_0x4b679e){const _0x105142={_0x59c333:0xed};await updateStore(_0x497f1e,_0x52a338=>{const _0x4d97f9={_0x2606a3:0x22d};function _0x39599f(_0x1457b1,_0x389688,_0x20313e,_0x113fb3){return _0x3bdd(_0x20313e- -_0x4d97f9._0x2606a3,_0x113fb3);}_0x52a338[_0x39599f(0x73,-0x17,0xca,_0x105142._0x59c333)]=_0x4b679e;});},async 'codeVerifier'(){const _0x71b125={_0x1f84a6:0x190,_0x5556d5:0x1d1,_0x1e88e7:0x5bc},_0xa0c72b=(await readStore(_0x497f1e))[_0x50cc77(_0x5584e1._0x29b82f,_0x5584e1._0xdd4062,_0x5584e1._0x5a56bd,_0x5584e1._0x8f4489)];function _0x11c345(_0x1f33d2,_0x14d939,_0x4bb42f,_0x1bf63a){return _0x59913d(_0x1f33d2-_0x3d4d8b._0x551bb3,_0x14d939,_0x4bb42f-_0x3d4d8b._0x208b89,_0x1f33d2-_0x3d4d8b._0x4e6a84);}if(!_0xa0c72b)throw new Error(_0x11c345(0x1cb,0xa3,_0x5584e1._0x4f7381,0x31a));function _0x50cc77(_0x15ba5b,_0x414b9f,_0x303b97,_0x568ba5){return _0x59913d(_0x15ba5b-_0x71b125._0x1f84a6,_0x15ba5b,_0x303b97-_0x71b125._0x5556d5,_0x303b97-_0x71b125._0x1e88e7);}return _0xa0c72b;},async 'invalidateCredentials'(_0x4e2cb3){await updateStore(_0x497f1e,_0x639c89=>{(_0x4e2cb3===_0x32c284(0x5b8,0x74e,_0x66851._0x4a4e2c,_0x66851._0x48c0b7)||_0x4e2cb3===_0x32c284(_0x66851._0x96716d,_0x66851._0x443c8f,0x7dd,_0x66851._0x358593))&&(_0x639c89[_0x32c284(0x4d8,0x716,_0x66851._0x59df86,0x61e)]=void 0x0);function _0x21d8d6(_0x47956a,_0x77de9f,_0x45ebb1,_0x36e8e0){return _0x3bdd(_0x36e8e0-0x25,_0x47956a);}(_0x4e2cb3===_0x32c284(_0x66851._0x187679,_0x66851._0x9cdf,0x60b,0x6bf)||_0x4e2cb3===_0x21d8d6(0x448,0x246,0x1cd,0x2e6))&&(_0x639c89[_0x32c284(0x5fe,0x5d6,0x55a,0x609)]=void 0x0);(_0x4e2cb3===_0x21d8d6(_0x66851._0x595a5c,_0x66851._0x307b6d,_0x66851._0x5c7d3e,0x39c)||_0x4e2cb3===_0x32c284(_0x66851._0x5441d2,_0x66851._0x339944,_0x66851._0x1b0ccf,_0x66851._0x31f050))&&(_0x639c89[_0x32c284(0x72d,0x6ef,_0x66851._0x15837e,_0x66851._0x14877e)]=void 0x0,_0x639c89[_0x21d8d6(0x2ce,_0x66851._0x5b86c1,_0x66851._0x2b24fb,_0x66851._0x153ed3)]=void 0x0);function _0x32c284(_0x570b27,_0x440b8e,_0x5aef8c,_0x284763){return _0x3bdd(_0x284763-0x348,_0x440b8e);}(_0x4e2cb3===_0x32c284(0x701,_0x66851._0x3656ae,0x58b,_0x66851._0x48c0b7)||_0x4e2cb3===_0x21d8d6(0x360,0x262,_0x66851._0x4ca4c3,_0x66851._0x41cb51))&&(_0x639c89[_0x32c284(_0x66851._0x52b9fc,_0x66851._0x47e05d,0x4d7,_0x66851._0x2b5972)]=void 0x0);});},async 'saveDiscoveryState'(_0x2e6c50){const _0x1a589f={_0x313142:0x339,_0xc3302d:0x333,_0x4cd11b:0x541};await updateStore(_0x497f1e,_0x5c0a3a=>{function _0x3a79d4(_0x28828e,_0x1fb92b,_0x5d944b,_0x723746){return _0x3bdd(_0x723746-0x1fc,_0x1fb92b);}_0x5c0a3a[_0x3a79d4(_0x1a589f._0x313142,_0x1a589f._0xc3302d,_0x1a589f._0x4cd11b,0x43b)]=_0x2e6c50;});},async 'discoveryState'(){return(await readStore(_0x497f1e))['discoveryState'];}};}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(_0x49e846,_0x52330f){const _0x1bcc82={_0x5102df:0x589},_0x15a845={_0x386b47:0x57};function _0x457697(_0x592d05,_0x532cdc,_0x5a23ac,_0x5ae234){return _0x55c88d(_0x592d05-0x1c5,_0x592d05- -0x147,_0x5ae234,_0x5ae234-_0x15a845._0x386b47);}const _0x5b5a43=_0x47effe=>_0x47effe[_0x457697(0x235,0x229,0xed,0x32d)](/[^a-zA-Z0-9_]+/g,'_')[_0x457697(0x235,0x31b,0x1ed,0x20d)](/^_+|_+$/g,'');function _0x5b43e7(_0x135810,_0x16efc8,_0xd3b7e0,_0x5676ba){return _0x1e45aa(_0x135810-0x15d,_0x16efc8-0x1f1,_0x135810- -0x402,_0x16efc8);}return _0x457697(0x406,0x406,_0x1bcc82._0x5102df,0x587)+_0x5b5a43(_0x49e846)+'_'+_0x5b5a43(_0x52330f);}function isObject(_0x7cb2e4){const _0x8c029e={_0x8f715:0x10d,_0x1260ee:0x230};function _0x1941e6(_0x2d788a,_0x432b6c,_0x40d35b,_0x3a380a){return _0x1e45aa(_0x2d788a-0x59,_0x432b6c-0x95,_0x40d35b- -0x5eb,_0x2d788a);}return typeof _0x7cb2e4==='object'&&_0x7cb2e4!==null&&!Array[_0x1941e6(0xda,_0x8c029e._0x8f715,_0x8c029e._0x1260ee,0x361)](_0x7cb2e4);}function toSupportedSchema(_0x2cd617){const _0x32ff33={_0x5a68fb:0x548,_0x5b86b3:0x72c,_0x499847:0x80e,_0x4d3d4c:0x6c8,_0x18b625:0x653,_0x4badf9:0x7c3,_0x575621:0x6be,_0x2e1568:0x7e0,_0x99662b:0x504,_0xfcd82:0x761,_0x37ef2b:0x5e1,_0x13a24c:0x838,_0x2a4a9d:0x718,_0x3695f8:0x60e,_0x48a2f7:0x55e,_0x521a85:0x4e0,_0xab32f7:0x626,_0xb73132:0x76c,_0x1287e0:0x7d5,_0x451c13:0x81a,_0x1ac658:0x505,_0x1f9a1f:0x638,_0x105ecf:0x7b6,_0x19f00f:0x8a5,_0xa06525:0x73f},_0x1ac531={_0x39bda0:0x1ca},_0x1baf7e={_0x1c58d9:0x6};if(!isObject(_0x2cd617))return void 0x0;function _0x238149(_0x288f4b,_0xf68dbe,_0x407ccf,_0x3406b7){return _0x55c88d(_0x288f4b-_0x1baf7e._0x1c58d9,_0x288f4b-0x214,_0xf68dbe,_0x3406b7-0x1ba);}if(_0x2cd617['type']==='string')return{'type':_0x238149(0x682,_0x32ff33._0x5a68fb,0x65d,_0x32ff33._0x5b86b3)};if(_0x2cd617[_0x49cdae(0x7ce,0x76c,_0x32ff33._0x499847,_0x32ff33._0x4d3d4c)]===_0x238149(_0x32ff33._0x18b625,_0x32ff33._0x4badf9,0x5f6,0x733)||_0x2cd617[_0x238149(0x7b6,_0x32ff33._0x575621,0x733,_0x32ff33._0x2e1568)]===_0x49cdae(0x44b,_0x32ff33._0x99662b,0x3eb,0x4a4))return{'type':_0x49cdae(_0x32ff33._0xfcd82,0x609,0x4b1,_0x32ff33._0x37ef2b)};function _0x49cdae(_0x3c620e,_0x2c0773,_0xa2f695,_0x40145f){return _0x55c88d(_0x3c620e-0x173,_0x2c0773-_0x1ac531._0x39bda0,_0xa2f695,_0x40145f-0x1ad);}if(_0x2cd617[_0x49cdae(_0x32ff33._0x13a24c,0x76c,_0x32ff33._0x2a4a9d,0x836)]===_0x49cdae(_0x32ff33._0x3695f8,_0x32ff33._0x48a2f7,0x608,_0x32ff33._0x521a85))return{'type':'boolean'};if(_0x2cd617[_0x49cdae(_0x32ff33._0xab32f7,_0x32ff33._0xb73132,_0x32ff33._0x1287e0,_0x32ff33._0x451c13)]===_0x49cdae(0x7a4,0x681,_0x32ff33._0x1ac658,0x7c4))return{'type':'array','items':toSupportedSchema(_0x2cd617[_0x238149(0x79c,0x85e,0x6b4,0x64d)])??{'type':_0x49cdae(0x543,_0x32ff33._0x1f9a1f,0x565,_0x32ff33._0x105ecf)}};if(_0x2cd617[_0x49cdae(0x626,0x76c,_0x32ff33._0x19f00f,_0x32ff33._0xa06525)]==='object')return toNuvinToolSchema(_0x2cd617);return void 0x0;}function toNuvinToolSchema(_0x2d8c9f){const _0x47e4cc={_0x356f53:0x274,_0x123a4f:0x3d2,_0x34675c:0x29,_0x15d651:0x23c,_0x4eb343:0x258,_0x4e2c13:0x138,_0x1b2a39:0x4b3,_0x3c8fac:0x368,_0x4c6e2f:0x1b3,_0x1c34c6:0x2c9,_0x4d0a64:0x47,_0x14270d:0xc5,_0x329c85:0x1b2,_0x4a9f85:0x78},_0x5de077={_0x437f0b:0x166},_0x5e4c14={_0x5ae654:0x64,_0x280413:0x5df};function _0xac3d52(_0x25f7ed,_0x369f57,_0xd39de2,_0x4b7c00){return _0x1e45aa(_0x25f7ed-_0x5e4c14._0x5ae654,_0x369f57-0x8d,_0x25f7ed- -_0x5e4c14._0x280413,_0x4b7c00);}if(!isObject(_0x2d8c9f)||_0x2d8c9f[_0xac3d52(_0x47e4cc._0x356f53,_0x47e4cc._0x123a4f,0x37b,0x3ca)]!=='object')return{'type':_0xac3d52(_0x47e4cc._0x34675c,0xbe,0x81,-0xe1),'properties':{}};const _0x5219ab={},_0x72ad0c=isObject(_0x2d8c9f['properties'])?_0x2d8c9f['properties']:{};for(const [_0xb453e6,_0xe3af2a]of Object['entries'](_0x72ad0c)){const _0x2c502a=toSupportedSchema(_0xe3af2a);if(_0x2c502a)_0x5219ab[_0xb453e6]=_0x2c502a;}const _0x3f205b=Array[_0xac3d52(_0x47e4cc._0x15d651,_0x47e4cc._0x4eb343,_0x47e4cc._0x4e2c13,0x202)](_0x2d8c9f[_0x26e03c(0x3c7,0x441,_0x47e4cc._0x1b2a39,_0x47e4cc._0x3c8fac)])?_0x2d8c9f[_0xac3d52(0x22f,0x359,0xaf,_0x47e4cc._0x4c6e2f)]['filter'](_0x23f820=>typeof _0x23f820===_0x26e03c(0x16c,0x390,0x1be,0x279)):void 0x0;function _0x26e03c(_0x35060f,_0x2713f7,_0x1247ea,_0x1322cb){return _0x1e45aa(_0x35060f-0x1c9,_0x2713f7-_0x5de077._0x437f0b,_0x1322cb- -0x4a6,_0x1247ea);}return _0x3f205b?.[_0xac3d52(0x203,0x200,_0x47e4cc._0x1c34c6,0x2a9)]?{'type':_0x26e03c(_0x47e4cc._0x4d0a64,_0x47e4cc._0x14270d,_0x47e4cc._0x329c85,0x162),'properties':_0x5219ab,'required':_0x3f205b}:{'type':_0xac3d52(0x29,0x3c,-0x3b,_0x47e4cc._0x4a9f85),'properties':_0x5219ab};}function isJsonObject(_0x15717e){const _0x3b7c92={_0x5ec606:0x37,_0x5549cc:0x8a},_0x4eaa16={_0x5dbad2:0x401,_0x567051:0x16c};function _0x57d579(_0x5adaa0,_0x22932b,_0x4f7b43,_0x13d8b1){return _0x55c88d(_0x5adaa0-0x183,_0x13d8b1- -_0x4eaa16._0x5dbad2,_0x5adaa0,_0x13d8b1-_0x4eaa16._0x567051);}return typeof _0x15717e===_0x57d579(0x4d,_0x3b7c92._0x5ec606,-_0x3b7c92._0x5549cc,-0xaa)&&_0x15717e!==null&&!Array['isArray'](_0x15717e);}function formatMcpContent(_0x315906){const _0xda6fe4={_0x280637:0x59,_0x14de52:0x20,_0x46a2f4:0x15,_0x44bcf9:0xcb,_0x21da20:0x724,_0x33f071:0x65d,_0x323f76:0x5cb},_0x4ba3d6={_0x224c80:0x76e},_0x8983ce={_0x45eac8:0x276,_0x5af7a7:0x20f,_0x20074a:0x12d,_0x49a7b9:0x6cb,_0x516783:0x535,_0x548b83:0x5bd,_0x1ae48a:0x5b8,_0x3922ed:0x63b,_0x23a43d:0x57d,_0x32ae0c:0x6b4},_0x528a2d={_0x44b66f:0x149,_0x5b4d96:0xaa,_0x52fc0b:0x60c},_0x86c2de={_0x57ad7c:0x15d,_0x42067f:0x90},_0x59f705=Array['isArray'](_0x315906[_0x2b9a20(0x2c,-0x4d,-0x17d,-0x46)])?_0x315906['content']:[];function _0x5c90a1(_0x2be51e,_0x223a9b,_0x353b81,_0xcb04d3){return _0x55c88d(_0x2be51e-0x5,_0x2be51e-_0x86c2de._0x57ad7c,_0xcb04d3,_0xcb04d3-_0x86c2de._0x42067f);}const _0x372428=_0x59f705[_0x2b9a20(-0x42,_0xda6fe4._0x280637,-0x28,-0x35)](_0x5e8b56=>{const _0x320afb={_0x51ef3a:0x1ec};if(!isObject(_0x5e8b56))return'';function _0xa106b6(_0x48e6ab,_0x57babd,_0x515a03,_0x5d97c5){return _0x2b9a20(_0x57babd,_0x57babd-_0x320afb._0x51ef3a,_0x515a03-0xa2,_0x48e6ab-0x200);}if(_0x5e8b56['type']===_0xa106b6(0x20f,0x28f,_0x8983ce._0x45eac8,0x36f)&&typeof _0x5e8b56[_0xa106b6(_0x8983ce._0x5af7a7,0x1ee,_0x8983ce._0x20074a,0x167)]===_0x1f9619(_0x8983ce._0x49a7b9,_0x8983ce._0x516783,_0x8983ce._0x548b83,0x6a0))return _0x5e8b56[_0x1f9619(0x49f,_0x8983ce._0x1ae48a,0x61b,_0x8983ce._0x3922ed)];function _0x1f9619(_0x38eaa0,_0x390298,_0x5b9b8a,_0x2daa3f){return _0x2b9a20(_0x38eaa0,_0x390298-_0x528a2d._0x44b66f,_0x5b9b8a-_0x528a2d._0x5b4d96,_0x5b9b8a-_0x528a2d._0x52fc0b);}return JSON[_0x1f9619(_0x8983ce._0x23a43d,0x579,0x64f,_0x8983ce._0x32ae0c)](_0x5e8b56);})[_0x2b9a20(0x238,-_0xda6fe4._0x14de52,0x4f,0xf4)](_0x46053a=>_0x46053a[_0x2b9a20(-0xb5,-0x8b,-0x105,0x74)]>0x0)[_0x2b9a20(-0x170,-0x144,-_0xda6fe4._0x46a2f4,-_0xda6fe4._0x44bcf9)]('\x0a');if(_0x372428[_0x5c90a1(0x68e,0x7f4,_0xda6fe4._0x21da20,0x534)]>0x0)return _0x372428;function _0x2b9a20(_0x8a8a6f,_0x1c6c95,_0x234b5d,_0xcdc65f){return _0x1e45aa(_0x8a8a6f-0x11e,_0x1c6c95-0x17c,_0xcdc65f- -_0x4ba3d6._0x224c80,_0x8a8a6f);}return JSON[_0x5c90a1(_0xda6fe4._0x33f071,0x6dd,_0xda6fe4._0x323f76,0x5e8)](_0x315906,null,0x2);}function createMcpTool(_0x32489a){const _0xe93c92={_0x5c96ef:0x4a8,_0x2ce244:0x299,_0x272033:0x23e,_0x466831:0x1d7,_0x1d055f:0x75b,_0x2ecffe:0x656,_0x52fd68:0x5f0,_0x111a81:0x19b,_0x3b71b8:0x208,_0x101a62:0x214,_0x3d1d5b:0x2fa,_0x5af357:0x219,_0x52af5f:0x1ee,_0x500734:0x47e,_0x5c8378:0x4c,_0x147378:0x4b7,_0x17805c:0x414,_0x4f17c8:0x6a7},_0x5ce59f={_0x3f5e08:0x706,_0x52025a:0x626,_0xbb8710:0x5d5,_0x53fb70:0x59b,_0x389a04:0x6d5,_0x2c990a:0x134,_0x5ddae3:0x224,_0x5f5bb4:0xa4,_0x2427de:0x20f,_0x420bab:0x6b7,_0x137c1c:0x623,_0x10fced:0x6bf,_0x4498a6:0x68f,_0x22cf8d:0x742,_0x537ab6:0x622,_0x7f664d:0x192,_0x32f6c2:0xad,_0x1e8560:0xaf,_0x17a564:0x14,_0x53804b:0x742},_0x32d33b={_0x4254c9:0x17c,_0x2e8600:0x180},_0x236936={_0x1e05cd:0x39,_0x1b4517:0x81},_0x7ec929=createMcpToolName(_0x32489a[_0x1a610c(0x52c,0x426,0x492,_0xe93c92._0x5c96ef)],_0x32489a[_0x551d78(_0xe93c92._0x2ce244,0x308,0x29d,_0xe93c92._0x272033)][_0x551d78(_0xe93c92._0x466831,0x27a,0x1a9,0x1ae)]);function _0x1a610c(_0x519c21,_0x140e56,_0xe172af,_0x1f457f){return _0x55c88d(_0x519c21-_0x236936._0x1e05cd,_0x1f457f-_0x236936._0x1b4517,_0x140e56,_0x1f457f-0x163);}function _0x551d78(_0x4b4766,_0x4fe845,_0x16da7b,_0x19aaf2){return _0x55c88d(_0x4b4766-_0x32d33b._0x4254c9,_0x19aaf2- -0x331,_0x4fe845,_0x19aaf2-_0x32d33b._0x2e8600);}return defineTool({'name':_0x7ec929,'description':_0x32489a[_0x1a610c(0x52f,_0xe93c92._0x1d055f,_0xe93c92._0x2ecffe,_0xe93c92._0x52fd68)][_0x551d78(_0xe93c92._0x111a81,_0xe93c92._0x3b71b8,0x24b,_0xe93c92._0x101a62)]??_0x551d78(0x2f7,_0xe93c92._0x3d1d5b,_0xe93c92._0x5af357,_0xe93c92._0x52af5f)+_0x32489a[_0x1a610c(0x480,0x76d,_0xe93c92._0x500734,0x5f0)][_0x551d78(0x268,_0xe93c92._0x5c8378,0x235,0x1ae)]+'\x20from\x20'+_0x32489a['serverName'],'inputSchema':toNuvinToolSchema(_0x32489a['tool'][_0x1a610c(_0xe93c92._0x147378,_0xe93c92._0x17805c,_0xe93c92._0x4f17c8,0x577)]),async *'execute'(_0x52341a){const _0x4a7db6={_0x19a72a:0x1e9},_0x1639b6={_0x21e3d8:0x113,_0x9c4f90:0x18d,_0x5425c1:0x152};function _0x281d57(_0x35576b,_0x1e8528,_0x16727a,_0xdb007d){return _0x1a610c(_0x35576b-_0x1639b6._0x21e3d8,_0x16727a,_0x16727a-_0x1639b6._0x9c4f90,_0x35576b-_0x1639b6._0x5425c1);}function _0x297fd2(_0x230e30,_0x477fd2,_0x329582,_0x293b46){return _0x551d78(_0x230e30-0x31,_0x293b46,_0x329582-_0x4a7db6._0x19a72a,_0x329582- -0x10a);}const _0x3d4ad9=await _0x32489a[_0x281d57(_0x5ce59f._0x3f5e08,0x7ec,_0x5ce59f._0x52025a,_0x5ce59f._0xbb8710)][_0x281d57(_0x5ce59f._0x53fb70,_0x5ce59f._0x389a04,0x41f,0x5ab)]({'name':_0x32489a[_0x297fd2(0x38,0xe9,_0x5ce59f._0x2c990a,0x182)][_0x297fd2(_0x5ce59f._0x5ddae3,0x1ad,_0x5ce59f._0x5f5bb4,_0x5ce59f._0x2427de)],'arguments':isJsonObject(_0x52341a)?_0x52341a:{}});if(_0x3d4ad9[_0x281d57(_0x5ce59f._0x420bab,_0x5ce59f._0x137c1c,_0x5ce59f._0x10fced,0x753)])throw new ToolExecutionError(formatMcpContent(_0x3d4ad9),{'serverName':_0x32489a[_0x281d57(0x5fa,0x622,_0x5ce59f._0x4498a6,0x494)],'toolName':_0x32489a[_0x281d57(_0x5ce59f._0x22cf8d,0x6d4,_0x5ce59f._0x537ab6,0x878)][_0x297fd2(_0x5ce59f._0x7f664d,0xef,0xa4,0x29)]});return yield createToolOutput(formatMcpContent(_0x3d4ad9),{'serverName':_0x32489a[_0x297fd2(_0x5ce59f._0x32f6c2,_0x5ce59f._0x1e8560,-_0x5ce59f._0x17a564,-0x155)],'toolName':_0x32489a[_0x281d57(_0x5ce59f._0x53804b,0x7a5,0x632,0x756)]['name'],'result':_0x3d4ad9}),void 0x0;}});}function resolvePrefix(_0xe19934,_0x300c3a){const _0x232401={_0x4f9cc:0x552,_0x27ef23:0x508},_0xaa37e2={_0x251b66:0x11c,_0x1e8692:0x1ea};function _0xa47a49(_0x545452,_0x4923e3,_0x46b829,_0x12aab3){return _0x55c88d(_0x545452-_0xaa37e2._0x251b66,_0x46b829-_0xaa37e2._0x1e8692,_0x4923e3,_0x12aab3-0x1a7);}return _0x300c3a[_0xa47a49(0x595,0x5e9,_0x232401._0x4f9cc,_0x232401._0x27ef23)]??_0xe19934;}function buildMcpHttpHeaders(_0x1bf58c){const _0x4cc626={_0x55136c:0x2ef,_0x67b180:0x2c4,_0x1d3584:0x283,_0x4cf8c1:0x174,_0x4f4523:0x124,_0x2c5525:0x20d,_0xf4ef89:0x48f,_0x4ee9fb:0x2bc,_0x3d7b67:0x32a,_0x2afb86:0x1fb,_0x19aaa4:0x166,_0xbab31:0xb9,_0x23757a:0x101,_0x975f11:0x8d,_0xe32a47:0x233,_0x2409e0:0x190,_0x52a40b:0x473,_0x3c74d0:0x297},_0x44b4cd={_0xccb679:0x1e7},_0x3b0c92={_0x392e11:0x18c,_0x5af9a7:0x4d7},_0x12360e={..._0x1bf58c[_0x4dbe56(_0x4cc626._0x55136c,_0x4cc626._0x67b180,0x2b4,_0x4cc626._0x1d3584)]??{}};_0x1bf58c[_0x4dbe56(0x211,_0x4cc626._0x4cf8c1,_0x4cc626._0x4f4523,_0x4cc626._0x2c5525)]?.[_0x4dbe56(0x26a,0x37c,0x2c0,_0x4cc626._0xf4ef89)]===_0x4dbe56(_0x4cc626._0x4ee9fb,_0x4cc626._0x3d7b67,0x205,_0x4cc626._0x2afb86)&&_0x1bf58c[_0xa58629(_0x4cc626._0x19aaa4,-0x9,0x2cb,0x225)]['token']&&_0x12360e[_0x4dbe56(-0x80,_0x4cc626._0xbab31,_0x4cc626._0x23757a,-0xad)]===void 0x0&&(_0x12360e[_0x4dbe56(0x188,_0x4cc626._0xbab31,-_0x4cc626._0x975f11,_0x4cc626._0xe32a47)]=_0xa58629(_0x4cc626._0x2409e0,0x252,0x300,0x22f)+_0x1bf58c['auth']['token']);function _0x4dbe56(_0x5d61ae,_0x4b7469,_0x2eae24,_0x1cda3c){return _0x1e45aa(_0x5d61ae-0xf0,_0x4b7469-_0x3b0c92._0x392e11,_0x4b7469- -_0x3b0c92._0x5af9a7,_0x5d61ae);}function _0xa58629(_0x5c8fa0,_0x30a4f6,_0x2e1f37,_0x421e3b){return _0x55c88d(_0x5c8fa0-0x62,_0x5c8fa0- -0x234,_0x30a4f6,_0x421e3b-_0x44b4cd._0xccb679);}return Object['keys'](_0x12360e)[_0x4dbe56(_0x4cc626._0x52a40b,0x30b,_0x4cc626._0x3c74d0,0x3af)]>0x0?_0x12360e:void 0x0;}function getErrorMessage(_0xc1807c){return _0xc1807c instanceof Error?_0xc1807c['message']:String(_0xc1807c);}function isUnauthorizedError(_0x2b3ec5){const _0x20be85={_0xc34a26:0x988,_0x395f26:0x831,_0x4235b1:0x4b2,_0x1c5a31:0x396,_0x562baa:0x2f4},_0x5dd351={_0x2e49e4:0x50,_0x21fc43:0x149},_0x1ac92d={_0x27cf6c:0x184,_0x408fb7:0x2e4,_0x384713:0x1b6};function _0x4ebd58(_0x45626e,_0x461a4b,_0x4b70cc,_0x45d492){return _0x55c88d(_0x45626e-_0x1ac92d._0x27cf6c,_0x4b70cc-_0x1ac92d._0x408fb7,_0x45626e,_0x45d492-_0x1ac92d._0x384713);}function _0x410fd5(_0x57cc03,_0x9018ec,_0x4bfb0b,_0x2361a5){return _0x55c88d(_0x57cc03-_0x5dd351._0x2e49e4,_0x2361a5- -_0x5dd351._0x21fc43,_0x4bfb0b,_0x2361a5-0x6f);}return _0x2b3ec5 instanceof Error&&_0x2b3ec5[_0x4ebd58(_0x20be85._0xc34a26,_0x20be85._0x395f26,0x898,0x9ff)][_0x410fd5(0x211,_0x20be85._0x4235b1,0x499,_0x20be85._0x1c5a31)]===_0x410fd5(0x37f,_0x20be85._0x562baa,0x4e4,0x369);}async function connectMcpServer(_0x2433f,_0x34ec2,_0x389551){const _0x131246={_0x104819:0x51e,_0x3acf59:0x5c2,_0x1735a4:0x485,_0x5b49ae:0x31c,_0x143eff:0x471,_0x43decb:0x4ba,_0xd4ecea:0x479,_0x599244:0x3b1,_0x3221f3:0x44a,_0x20f871:0x46e,_0x5c1c1d:0x670,_0x65d137:0x59b,_0x8cef44:0x345,_0x22ca31:0x13a,_0x403ee5:0x4cf,_0x134424:0x3cf,_0x5e0cea:0x62b,_0x5db5d9:0x35c,_0x37c010:0x37a,_0x37d532:0x293,_0x1e2715:0x252,_0x2b15f0:0x3ef,_0x37e9b9:0x4ad,_0x5ad1a5:0x3fc,_0x14d4d9:0x4ab,_0x9f814b:0x539,_0x80362e:0x4df,_0x58d2cd:0x28e,_0x1a338e:0x383,_0x298882:0x332,_0x413786:0x20b,_0x339a76:0x1c2,_0x364c9e:0x44a,_0x552ff0:0x42e,_0x5744f2:0x4f5,_0x32fc18:0x3b3,_0x31af10:0x4a8,_0xc21a6d:0x55c},_0x38fd9a={_0x39b666:0x386,_0x5dda0b:0x416,_0x57e7e5:0x4d6,_0x1f8aae:0x349},_0x2a74bc={_0xf8d2cf:0x174,_0x1d2552:0x2,_0x232e09:0x100},_0x1afb92={_0x554fff:0x33b},_0x429efe={_0xca94ad:0x3e1,_0x32db57:0x24a,_0x20dada:0xe9,_0x48609b:0x204,_0x4b2134:0x232,_0x3cfe85:0x303,_0x2e4398:0x2a2,_0x3a69fb:0x2db,_0x1d10ec:0x231,_0x101405:0x15,_0x3da1c0:0x246},_0x33b4ca={_0x52119c:0x172,_0x34731f:0x1c5},_0x5de771=new Client({'name':_0x261c81(_0x131246._0x104819,_0x131246._0x3acf59,_0x131246._0x1735a4,_0x131246._0x5b49ae),'version':'0.0.0'});function _0x19ad94(_0x187b8d,_0x4dbe82,_0x2ef1d5,_0x2acc0a){return _0x1e45aa(_0x187b8d-0x180,_0x4dbe82-0x184,_0x4dbe82- -0x384,_0x2ef1d5);}_0x5de771[_0x261c81(_0x131246._0x143eff,_0x131246._0x43decb,0x3c9,0x2fd)]=_0x23d7c3=>{const _0x2a2a64={_0x4cd543:0xed,_0x11d7e7:0x2d8,_0x5587e2:0x137};function _0x21b3d4(_0x51290a,_0x449eb8,_0x275677,_0x521460){return _0x19ad94(_0x51290a-_0x2a2a64._0x4cd543,_0x521460-_0x2a2a64._0x11d7e7,_0x51290a,_0x521460-_0x2a2a64._0x5587e2);}function _0x22015a(_0x17709b,_0x150e6e,_0x2f0d6d,_0x521c85){return _0x19ad94(_0x17709b-_0x33b4ca._0x52119c,_0x17709b- -0x161,_0x150e6e,_0x521c85-_0x33b4ca._0x34731f);}console[_0x22015a(0x2c3,0x1e5,0x229,_0x429efe._0xca94ad)](_0x22015a(_0x429efe._0x32db57,_0x429efe._0x20dada,_0x429efe._0x48609b,_0x429efe._0x4b2134)+_0x2433f+_0x22015a(0x2d6,_0x429efe._0x3cfe85,_0x429efe._0x2e4398,_0x429efe._0x3a69fb),_0x23d7c3[_0x22015a(0xc6,_0x429efe._0x1d10ec,_0x429efe._0x101405,_0x429efe._0x3da1c0)]);};if(_0x34ec2['transport']===_0x261c81(0x578,0x492,_0x131246._0xd4ecea,0x50e)||_0x34ec2[_0x19ad94(_0x131246._0x599244,_0x131246._0x3221f3,0x539,_0x131246._0x20f871)]){if(!_0x34ec2[_0x261c81(0x6d5,_0x131246._0x5c1c1d,0x57f,_0x131246._0x65d137)])throw new Error('MCP\x20server\x20'+_0x2433f+_0x19ad94(0x1ac,0x2ba,_0x131246._0x8cef44,_0x131246._0x22ca31));if(_0x34ec2['auth']?.[_0x19ad94(0x515,_0x131246._0x403ee5,0x5a3,0x63f)]==='oauth'&&!_0x389551?.[_0x261c81(0x29e,_0x131246._0x134424,0x37a,0x2e7)])throw new Error(_0x19ad94(0x307,0x404,0x536,0x556)+_0x2433f+_0x261c81(0x3e8,_0x131246._0x5e0cea,0x529,0x3cd));const _0x3c766e=buildMcpHttpHeaders(_0x34ec2),_0x14f868=_0x34ec2[_0x261c81(_0x131246._0x5db5d9,0x40f,0x3fc,0x56d)]?.[_0x19ad94(0x616,_0x131246._0x403ee5,0x634,0x50d)]===_0x261c81(0x3e3,0x4bd,_0x131246._0x37c010,_0x131246._0x37d532)&&_0x389551?.[_0x261c81(0x4b3,0x2cb,_0x131246._0x37c010,0x43e)]?createMcpOAuthProvider({'serverName':_0x2433f,'callbackUrl':_0x389551[_0x261c81(0x4ff,0x2aa,_0x131246._0x37c010,0x371)][_0x19ad94(_0x131246._0x1e2715,0x337,0x1b3,_0x131246._0x2b15f0)],'storageDir':_0x389551['oauth'][_0x19ad94(_0x131246._0x37e9b9,0x48f,0x51a,0x39f)],'config':_0x34ec2[_0x261c81(0x55a,0x3e9,_0x131246._0x5ad1a5,0x3b4)],'onRedirect':_0x123ac=>_0x389551[_0x19ad94(0x3c3,0x245,0x35f,0x1cc)]?.[_0x261c81(0x38f,0x544,0x49a,0x468)](_0x2433f,_0x123ac)}):void 0x0,_0x2cfd2c=new StreamableHTTPClientTransport(new URL(_0x34ec2['url']),{'authProvider':_0x14f868,'requestInit':_0x3c766e?{'headers':_0x3c766e}:void 0x0});await _0x5de771[_0x19ad94(0x531,0x42f,_0x131246._0x14d4d9,0x3a2)](_0x2cfd2c);}else{if(!_0x34ec2['command'])throw new Error(_0x261c81(0x6b6,0x3e1,_0x131246._0x9f814b,_0x131246._0x80362e)+_0x2433f+_0x261c81(0x304,_0x131246._0x58d2cd,_0x131246._0x1a338e,0x494));const _0x3dc911=new StdioClientTransport({'command':_0x34ec2[_0x19ad94(_0x131246._0x298882,_0x131246._0x413786,_0x131246._0x339a76,0x2d5)],'args':_0x34ec2[_0x261c81(_0x131246._0x364c9e,_0x131246._0x552ff0,_0x131246._0x5744f2,0x5e7)]??[],'env':_0x34ec2[_0x261c81(_0x131246._0x32fc18,_0x131246._0x31af10,0x43b,0x446)],'stderr':'pipe'});await _0x5de771[_0x19ad94(_0x131246._0xc21a6d,0x42f,0x591,0x4f9)](_0x3dc911);}function _0x261c81(_0x3cc150,_0x48bae4,_0x426e46,_0x53df8d){return _0x1e45aa(_0x3cc150-0xa7,_0x48bae4-0x17,_0x426e46- -0x24f,_0x53df8d);}return{async 'listTools'(){const _0xd61346={_0x22823f:0x1d1,_0x214e7:0x197};function _0x5791b8(_0x460803,_0x492639,_0x5def08,_0x40e83f){return _0x19ad94(_0x460803-_0xd61346._0x22823f,_0x492639-_0xd61346._0x214e7,_0x460803,_0x40e83f-0x80);}return await _0x5de771[_0x5791b8(0x498,0x463,_0x1afb92._0x554fff,0x402)]();},async 'callTool'(_0x30350b){const _0x51ab77={_0x38189d:0xe3,_0x58ae67:0x10d,_0x2353c4:0x17a};function _0x12c0bc(_0x41c209,_0x15b816,_0x458eed,_0x55efd9){return _0x261c81(_0x41c209-_0x51ab77._0x38189d,_0x15b816-_0x51ab77._0x58ae67,_0x15b816- -_0x51ab77._0x2353c4,_0x458eed);}function _0x284dfd(_0x23bd9f,_0x2d55e2,_0x345afe,_0x4eba97){return _0x261c81(_0x23bd9f-_0x2a74bc._0xf8d2cf,_0x2d55e2-_0x2a74bc._0x1d2552,_0x345afe-_0x2a74bc._0x232e09,_0x4eba97);}return await _0x5de771[_0x284dfd(0x574,_0x38fd9a._0x39b666,_0x38fd9a._0x5dda0b,0x42a)]({'method':_0x12c0bc(_0x38fd9a._0x57e7e5,0x3a7,0x2b4,_0x38fd9a._0x1f8aae),'params':_0x30350b},CallToolResultSchema);},async 'close'(){await _0x5de771['close']();}};}async function createMcpToolsFromServers(_0x30bb24){const _0x5aa2db={_0xe4867a:0x426,_0x56ef11:0x430,_0x52497d:0x4c4,_0x3757f2:0x241,_0x422742:0x310,_0x2429ba:0x39b,_0x53ce05:0x1d2,_0x5c865f:0x348,_0x36c840:0x32a,_0x2be381:0x323,_0x311ae6:0x4a3,_0x551bcb:0x68d,_0x2a8052:0x71f,_0x2f0853:0x604,_0x4be2af:0x72b,_0x3daf80:0x5bc,_0xfd3c28:0x4d5,_0x594624:0x568,_0xf80f2b:0x3f2,_0x52e9a1:0x2ab,_0x3bdc90:0x675,_0x393937:0x5e7,_0x426f25:0x3f8,_0xc3a6fb:0x5a3,_0x2a6cff:0x543,_0x562c69:0x315,_0xf35c25:0x3d2,_0x242542:0x4bb,_0x296501:0x5c5,_0x5cc983:0x543,_0x2ccb63:0x54e,_0x40d61b:0x667,_0x4b708a:0x69e,_0x3e0888:0x5a9,_0x3303c9:0x4a0,_0x42b9b6:0x3eb,_0x3e7b02:0x41a,_0x5aa5f9:0x500,_0x1cd72b:0x3f2,_0x21bfcd:0x1d9,_0x59f620:0x315,_0x5e4302:0x295,_0x3c547a:0x438,_0x48c8a8:0x561,_0x19df24:0x31b,_0x281cb4:0x41b},_0x4fa471={_0x474d21:0x740,_0x4a2a77:0x662,_0x29bf6a:0x769},_0x3813ea={_0xe1713f:0x1d1,_0x357091:0x4d},_0x1c969f={_0x2ebbb2:0x1cd},_0x4b290e={_0x40ef09:0x24d},_0x3f159c={_0x8d9b5b:0xb8,_0x55e220:0xdc,_0x1c00e4:0x42};function _0x1c59da(_0x222db7,_0x1ce227,_0x1d8fb1,_0x3a7e1e){return _0x55c88d(_0x222db7-_0x3f159c._0x8d9b5b,_0x1ce227- -_0x3f159c._0x55e220,_0x222db7,_0x3a7e1e-_0x3f159c._0x1c00e4);}const _0x26e641=_0x30bb24[_0x1c59da(0x52d,_0x5aa2db._0xe4867a,_0x5aa2db._0x56ef11,_0x5aa2db._0x52497d)]??connectMcpServer,_0x90a72d=[],_0x3f05bd={},_0x32ff94={},_0xaebcab=[];for(const [_0x3f0749,_0x1e4857]of Object['entries'](_0x30bb24[_0x1c59da(_0x5aa2db._0x3757f2,_0x5aa2db._0x422742,_0x5aa2db._0x2429ba,_0x5aa2db._0x53ce05)]??{})){if(_0x1e4857[_0x43f3d3(_0x5aa2db._0x5c865f,0x48b,_0x5aa2db._0x36c840,_0x5aa2db._0x2be381)]===![]){_0x3f05bd[_0x3f0749]={'status':_0x43f3d3(_0x5aa2db._0x311ae6,_0x5aa2db._0x551bcb,_0x5aa2db._0x2a8052,_0x5aa2db._0x2f0853)};continue;}try{const _0x394cbc=await _0x26e641(_0x3f0749,_0x1e4857,_0x30bb24[_0x43f3d3(0x720,0x5d9,_0x5aa2db._0x4be2af,0x5a7)]);_0x90a72d[_0x43f3d3(_0x5aa2db._0x3daf80,_0x5aa2db._0xfd3c28,_0x5aa2db._0x594624,0x455)](_0x394cbc);const _0x5a18e3=await _0x394cbc[_0x43f3d3(_0x5aa2db._0xf80f2b,0x2f0,_0x5aa2db._0x52e9a1,0x403)]();let _0x1ec24e=0x0;const _0x36e4c8=[];for(const _0x3385a0 of _0x5a18e3[_0x43f3d3(_0x5aa2db._0x3bdc90,0x5db,_0x5aa2db._0x393937,0x61b)]){const _0x2f54b4=_0x30bb24[_0x43f3d3(_0x5aa2db._0x426f25,_0x5aa2db._0xc3a6fb,0x5b5,0x45e)]?.[_0x3f0749]?.[_0x3385a0[_0x43f3d3(0x50d,0x65d,0x691,_0x5aa2db._0x2a6cff)]];_0x36e4c8[_0x1c59da(0x1db,_0x5aa2db._0x562c69,_0x5aa2db._0xf35c25,0x263)]({'name':_0x3385a0[_0x43f3d3(_0x5aa2db._0x242542,0x571,_0x5aa2db._0x296501,_0x5aa2db._0x5cc983)],..._0x3385a0[_0x43f3d3(_0x5aa2db._0x2ccb63,_0x5aa2db._0x40d61b,_0x5aa2db._0x4b708a,_0x5aa2db._0x3e0888)]!==void 0x0?{'description':_0x3385a0['description']}:{},..._0x3385a0[_0x43f3d3(0x497,_0x5aa2db._0x3303c9,0x4e3,0x55a)]!==void 0x0?{'inputSchema':_0x3385a0[_0x1c59da(_0x5aa2db._0x42b9b6,_0x5aa2db._0x3e7b02,_0x5aa2db._0x5aa5f9,_0x5aa2db._0x1cd72b)]}:{}});if(_0x2f54b4===![])continue;_0x1ec24e+=0x1,_0xaebcab[_0x1c59da(_0x5aa2db._0x21bfcd,_0x5aa2db._0x59f620,0x23f,_0x5aa2db._0x5e4302)](createMcpTool({'serverName':resolvePrefix(_0x3f0749,_0x1e4857),'tool':_0x3385a0,'client':_0x394cbc}));}_0x32ff94[_0x3f0749]=_0x36e4c8,_0x3f05bd[_0x3f0749]={'status':'connected','toolCount':_0x1ec24e};}catch(_0x4f2274){_0x3f05bd[_0x3f0749]=isUnauthorizedError(_0x4f2274)?{'status':_0x1c59da(0x418,0x42a,_0x5aa2db._0x3c547a,_0x5aa2db._0x48c8a8),'message':getErrorMessage(_0x4f2274)}:{'status':_0x1c59da(_0x5aa2db._0x19df24,_0x5aa2db._0x281cb4,0x2d6,0x353),'message':getErrorMessage(_0x4f2274)};}}function _0x43f3d3(_0x47e3d8,_0x20fcc6,_0x551355,_0x45f07c){return _0x1e45aa(_0x47e3d8-0x148,_0x20fcc6-0xc5,_0x45f07c- -_0x4b290e._0x40ef09,_0x47e3d8);}return{'tools':_0xaebcab,'servers':_0x3f05bd,'serverTools':_0x32ff94,async 'close'(){function _0x4f111c(_0x198337,_0x572bb2,_0x1b64b3,_0xb3f38b){return _0x1c59da(_0xb3f38b,_0x572bb2-0x6c,_0x1b64b3-0x19e,_0xb3f38b-_0x1c969f._0x2ebbb2);}function _0x4d49da(_0x1f7195,_0x477314,_0x158b1f,_0x475a58){return _0x1c59da(_0x1f7195,_0x477314-0x3bd,_0x158b1f-_0x3813ea._0xe1713f,_0x475a58-_0x3813ea._0x357091);}await Promise[_0x4d49da(0x68c,_0x4fa471._0x474d21,0x78f,_0x4fa471._0x4a2a77)](_0x90a72d[_0x4d49da(0x79d,_0x4fa471._0x29bf6a,0x5fc,0x787)](_0x3df4ee=>_0x3df4ee[_0x4d49da(0x7ca,0x84c,0x72b,0x6e4)]()));}};}function getCommand(_0x327d07){const _0x3d4eca={_0xf48436:0x5ed,_0x536639:0x555,_0x33de31:0x4e6,_0xef812d:0x5b3,_0xf94e41:0x439,_0x3014b4:0x571,_0x46ce0a:0x5a7,_0x47846f:0x543,_0x5dcf4c:0x3a1,_0x37cce1:0x44c,_0x520c0e:0x574,_0x17a616:0x34d,_0xeacb62:0x2f8},_0x149d94={_0x2e2fb7:0x7,_0x26e34c:0x98};function _0x5be97b(_0x2ae263,_0x5d5979,_0x53f4b6,_0x1d07ea){return _0x55c88d(_0x2ae263-0x6b,_0x1d07ea-_0x149d94._0x2e2fb7,_0x5d5979,_0x1d07ea-_0x149d94._0x26e34c);}function _0x56d42f(_0x347921,_0x21d16f,_0x319fe6,_0x3f8769){return _0x55c88d(_0x347921-0xfc,_0x21d16f-0x1fe,_0x319fe6,_0x3f8769-0x8);}if(_0x327d07&&typeof _0x327d07===_0x56d42f(_0x3d4eca._0xf48436,_0x3d4eca._0x536639,0x638,_0x3d4eca._0x33de31)&&!Array[_0x5be97b(0x576,_0x3d4eca._0xef812d,_0x3d4eca._0xf94e41,_0x3d4eca._0x3014b4)](_0x327d07)&&typeof _0x327d07[_0x56d42f(_0x3d4eca._0x46ce0a,0x4dc,_0x3d4eca._0x47846f,_0x3d4eca._0x5dcf4c)]===_0x5be97b(_0x3d4eca._0x37cce1,_0x3d4eca._0x520c0e,_0x3d4eca._0x17a616,0x475))return _0x327d07['command'];return _0x5be97b(_0x3d4eca._0xeacb62,0x4af,0x3b8,0x377);}var MOCK_WORKSPACE_LISTING=[_0x1e45aa(0x5dc,0x615,0x723,0x898),_0x55c88d(0x559,0x559,0x591,0x6db),_0x55c88d(0x47b,0x39b,0x2c6,0x2be),_0x1e45aa(0x6fb,0x8e2,0x7ed,0x95a),_0x55c88d(0x348,0x2f0,0x284,0x2d6),_0x1e45aa(0x7f3,0x770,0x749,0x6b6),_0x55c88d(0x2e5,0x2b6,0x328,0x1a7),_0x55c88d(0x253,0x378,0x203,0x34f),_0x1e45aa(0x86a,0x751,0x845,0x7f1),_0x1e45aa(0x5ea,0x475,0x5c4,0x5dc),_0x1e45aa(0x95f,0x78f,0x827,0x8a6),'src/agent/turn-engine.ts',_0x55c88d(0x50c,0x47d,0x44b,0x530),'src/agent/agent.test.ts',_0x1e45aa(0x72c,0x643,0x738,0x8b8),_0x55c88d(0x4ea,0x52f,0x3ed,0x3bb),'src/agent/turn-engine.test.ts'][_0x55c88d(0x387,0x3f2,0x33f,0x2ca)]('\x0a'),SHELL_EXEC_TOOL={'name':'Bash','description':_0x55c88d(0x4e6,0x4fd,0x477,0x474),'input_schema':{'type':_0x1e45aa(0x6ff,0x576,0x608,0x596),'properties':{'command':{'type':_0x1e45aa(0x79a,0x762,0x71f,0x806)}},'required':['command']}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x29d68a){return{'output':_0x29d68a,'structured':{'value':_0x29d68a}};}function createUnknownToolResult(_0x22e105){const _0x1c3183={_0x1b6788:0xf1,_0x55a675:0x17d,_0x40c82a:0x439,_0x34f267:0x3cd,_0xcf06d9:0x28c,_0x303343:0x363,_0x384937:0x4d5},_0x5f43d9={_0xcf8889:0x192,_0x4ef917:0x22};function _0xb00827(_0x48046d,_0x3b1c8b,_0x14c373,_0x252701){return _0x55c88d(_0x48046d-0x8b,_0x3b1c8b- -0x3ee,_0x252701,_0x252701-0x170);}function _0x45908f(_0x3c067b,_0x387613,_0x3135c5,_0x3961bf){return _0x55c88d(_0x3c067b-_0x5f43d9._0xcf8889,_0x3135c5- -_0x5f43d9._0x4ef917,_0x387613,_0x3961bf-0x1d);}return{'callId':_0x22e105['id'],'toolName':_0x22e105[_0xb00827(0x192,_0x1c3183._0x1b6788,_0x1c3183._0x55a675,0xfb)],'status':_0x45908f(_0x1c3183._0x40c82a,0x50f,0x4d5,0x4b9),'output':_0x45908f(_0x1c3183._0x34f267,0x34e,0x316,_0x1c3183._0xcf06d9)+_0x22e105[_0x45908f(_0x1c3183._0x303343,_0x1c3183._0x384937,0x4bd,0x3d8)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0xbd1fe9,_0x3cbd03){const _0x2aa76f={_0x12e6a2:0x207,_0x264c4d:0x1c9,_0x2a7932:0x28f},_0x5e67e8={_0xc27600:0x338};function _0x150b67(_0x368d79,_0x59c4ae,_0x1312fe,_0x45b25f){return _0x55c88d(_0x368d79-0x93,_0x1312fe- -_0x5e67e8._0xc27600,_0x45b25f,_0x45b25f-0xa3);}return{'callId':_0xbd1fe9['id'],'toolName':_0xbd1fe9['name'],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0xbd1fe9[_0x150b67(0x1d5,_0x2aa76f._0x12e6a2,_0x2aa76f._0x264c4d,_0x2aa76f._0x2a7932)]),'exitCode':0x0},'chunks':[_0x3cbd03],'meta':createMeta()};}function createMockToolRuntime(){const _0x204a9a={_0x20feeb:0x3b1,_0x35b4f8:0x2a8,_0x43ba2a:0x74a,_0x2f8cd5:0x6d5},_0x4fbb0a=async(_0x1269e5,_0x53e7fd)=>{if(_0x1269e5['name']!=='Bash')return createUnknownToolResult(_0x1269e5);const _0x25880f=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x1269e5,_0x25880f);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x2148df,_0x158c2f){const _0x4bba5b={_0xef019:0xf};function _0x1e9b7d(_0x3d17a4,_0x350ad5,_0x294c42,_0x33cb50){return _0x3bdd(_0x33cb50-0x335,_0x294c42);}function _0x4a133c(_0x49494b,_0x1b7d3b,_0x17d9e1,_0x485f34){return _0x3bdd(_0x49494b- -_0x4bba5b._0xef019,_0x17d9e1);}return await Promise[_0x4a133c(0x368,_0x204a9a._0x20feeb,0x299,_0x204a9a._0x35b4f8)](_0x2148df[_0x1e9b7d(_0x204a9a._0x43ba2a,0x757,0x571,_0x204a9a._0x2f8cd5)](async _0x5be1af=>{return await _0x4fbb0a(_0x5be1af,_0x158c2f);}));},async 'execute'(_0x4a8015,_0x2aa516){return await _0x4fbb0a(_0x4a8015,_0x2aa516);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x4c269d={_0x3c9023:0x425};delegatedRunCounter+=0x1;function _0x370d42(_0x26861d,_0x1c9283,_0x356752,_0x259966){return _0x1e45aa(_0x26861d-0x1b2,_0x1c9283-0x11e,_0x1c9283- -0x319,_0x26861d);}return _0x370d42(0x598,_0x4c269d._0x3c9023,0x44a,0x3cc)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x3d3e84,_0x14dbad){const _0x395b68={_0x5bab67:0x365},_0x551fb0={_0x56d1bb:0x93,_0x5c2fbf:0x1a3};function _0x2a7f30(_0x210969,_0x6a6ce0,_0x1b3928,_0x302355){return _0x55c88d(_0x210969-_0x551fb0._0x56d1bb,_0x302355- -_0x551fb0._0x5c2fbf,_0x6a6ce0,_0x302355-0x1f);}return typeof _0x3d3e84===_0x2a7f30(0x42a,0x1fb,0x49c,_0x395b68._0x5bab67)?await _0x3d3e84(_0x14dbad):_0x3d3e84;}function getDelegatedAgentDefinition(_0x3b636d,_0x27173c){const _0xd12b5e={_0xe456e9:0x2cb,_0x2c030e:0x1ba},_0x318967={_0x13d24f:0x23c};function _0x433916(_0x6ae5b,_0x1252b0,_0x2e4b19,_0x5d6b47){return _0x55c88d(_0x6ae5b-0x15b,_0x6ae5b- -_0x318967._0x13d24f,_0x1252b0,_0x5d6b47-0xfb);}return _0x3b636d[_0x433916(_0xd12b5e._0xe456e9,0x32c,_0xd12b5e._0x2c030e,0x329)]?.[_0x27173c];}function createRunSummary(_0x4003fb){const _0x2ca636={_0x533d41:0x7bb,_0x1706d3:0x64d,_0xcff7c8:0x7c8,_0x37ccf2:0x664,_0x4dff64:0x82c,_0x423c87:0x728,_0xce6f49:0x56b,_0x4d67a2:0x78b,_0x564eba:0x85d,_0x31ba75:0x67c,_0x2b74dd:0x5bb,_0x5e9dd4:0x802,_0x3a4db3:0x564,_0x50abf6:0x489,_0xd83855:0x449,_0x4e82b1:0x470,_0x3d2487:0x47b,_0x5c494c:0x3d8,_0x39d9f0:0x420,_0x232ee9:0x5a6,_0x49945b:0x683},_0x4018a2={_0x2e2f98:0x1ea},_0x173ea5={_0x1d6403:0x196};function _0x5de14c(_0x573d30,_0x1cc85b,_0x3effba,_0x58d45c){return _0x55c88d(_0x573d30-0x3a,_0x573d30-_0x173ea5._0x1d6403,_0x3effba,_0x58d45c-0x18a);}function _0x2f435c(_0x43f187,_0x5e62f3,_0x32ba1d,_0x3d2255){return _0x55c88d(_0x43f187-0xa0,_0x3d2255-0x225,_0x32ba1d,_0x3d2255-_0x4018a2._0x2e2f98);}return{'runId':_0x4003fb[_0x2f435c(0x6c4,_0x2ca636._0x533d41,_0x2ca636._0x1706d3,_0x2ca636._0xcff7c8)],'agentId':_0x4003fb[_0x5de14c(0x6dd,_0x2ca636._0x37ccf2,_0x2ca636._0x4dff64,_0x2ca636._0x423c87)],'sessionId':_0x4003fb[_0x2f435c(0x656,0x6a0,_0x2ca636._0xce6f49,0x536)],'status':_0x4003fb['status'],'parentSessionId':_0x4003fb[_0x2f435c(_0x2ca636._0x4d67a2,_0x2ca636._0x564eba,0x871,0x7b8)],..._0x4003fb[_0x5de14c(_0x2ca636._0x31ba75,0x5be,_0x2ca636._0x2b74dd,_0x2ca636._0x5e9dd4)]!==void 0x0?{'originToolCallId':_0x4003fb['originToolCallId']}:{},..._0x4003fb[_0x5de14c(0x449,0x4af,_0x2ca636._0x3a4db3,_0x2ca636._0x50abf6)]!==void 0x0?{'errorMessage':_0x4003fb[_0x5de14c(_0x2ca636._0xd83855,_0x2ca636._0x4e82b1,_0x2ca636._0x3d2487,_0x2ca636._0x5c494c)]}:{},..._0x4003fb['result']?.[_0x2f435c(0x7a2,0x714,0x8c6,0x7c3)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x4003fb[_0x5de14c(0x598,_0x2ca636._0x39d9f0,_0x2ca636._0x232ee9,_0x2ca636._0x49945b)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x16f6fd,_0x104e55){const _0x3d24c4={_0x33d891:0x92,_0x26c6d9:0x5a4,_0x81f875:0x58b,_0x56dc91:0x6b9},_0x2a7235={_0x24f265:0x6a7},_0x4fa6b7={_0x32064e:0x99},_0x2c22aa=createRunSummary(_0x16f6fd);function _0x30c829(_0x1e335d,_0x2dbbbf,_0x53562e,_0xd5592d){return _0x55c88d(_0x1e335d-_0x4fa6b7._0x32064e,_0x53562e-0x11d,_0x1e335d,_0xd5592d-0xe9);}const _0x78cfae=_0x2c22aa[_0x55947c(0x13c,_0x3d24c4._0x33d891,-0x24,0x86)];function _0x55947c(_0x49126c,_0x51715e,_0x41d395,_0x1be708){return _0x1e45aa(_0x49126c-0x140,_0x51715e-0xa6,_0x1be708- -_0x2a7235._0x24f265,_0x49126c);}return createToolOutput(typeof _0x78cfae===_0x30c829(_0x3d24c4._0x26c6d9,0x659,_0x3d24c4._0x81f875,_0x3d24c4._0x56dc91)&&_0x78cfae['length']>0x0?_0x78cfae:_0x104e55,_0x2c22aa);}function getRunTerminalErrorMessage(_0x1ccdd2){const _0x201c52={_0x396eb3:0x381,_0x1a86a9:0x1eb,_0x425298:0x3d7,_0x14f9a7:0x7b9,_0x4a0bc8:0x6c3,_0x2ba556:0x85b,_0x55059a:0x4f3},_0x571464={_0x50d902:0x4f};function _0x3c9d1e(_0x5dfd27,_0xc86020,_0x66820b,_0x3f1d23){return _0x1e45aa(_0x5dfd27-_0x571464._0x50d902,_0xc86020-0x1b0,_0x5dfd27- -0xa5,_0x3f1d23);}const _0x393e50=_0x1ccdd2?.[_0x418d1c(_0x201c52._0x396eb3,_0x201c52._0x1a86a9,0x34e,_0x201c52._0x425298)]['toolResults']['at'](-0x1);function _0x418d1c(_0x5e3a95,_0x19fdbe,_0x288c15,_0x826fd3){return _0x55c88d(_0x5e3a95-0x73,_0x288c15- -0x3e,_0x19fdbe,_0x826fd3-0x1ab);}if(_0x393e50?.[_0x3c9d1e(_0x201c52._0x14f9a7,_0x201c52._0x4a0bc8,_0x201c52._0x2ba556,0x76d)]==='error'&&_0x393e50['output']['trim']()['length']>0x0)return _0x393e50[_0x3c9d1e(0x56a,_0x201c52._0x55059a,0x525,0x41e)];return void 0x0;}function formatAbortedRunMessage(_0x12e3bb,_0x52f19b){const _0x378226={_0x20c48b:0x8c,_0x1a4e5f:0x2a4,_0x372c75:0x400,_0xdeac3b:0x401,_0x41c5b3:0x12d,_0x45b88b:0x247,_0xd54dd4:0x250},_0x5eb796={_0x406415:0x1f2,_0x3c90b7:0x4fd},_0x274416={_0x2f9066:0x14c,_0x1aa898:0x1cb};function _0xfe2535(_0x3000c2,_0x5f4868,_0x717bb5,_0xa87ddc){return _0x55c88d(_0x3000c2-_0x274416._0x2f9066,_0x3000c2- -_0x274416._0x1aa898,_0x5f4868,_0xa87ddc-0xca);}const _0x5c8ede=_0xfe2535(0x20f,_0x378226._0x20c48b,0x13b,0x35b)+_0x12e3bb+'\x20was\x20aborted.';if(!_0x52f19b||_0x52f19b[_0x1ad6ac(_0x378226._0x1a4e5f,0x268,_0x378226._0x372c75,_0x378226._0xdeac3b)]()['length']===0x0||_0x52f19b===_0x5c8ede)return _0x5c8ede;function _0x1ad6ac(_0x657281,_0x3e8d12,_0x2c49f6,_0x4ef6aa){return _0x1e45aa(_0x657281-0xde,_0x3e8d12-_0x5eb796._0x406415,_0x657281- -_0x5eb796._0x3c90b7,_0x2c49f6);}return _0x5c8ede+_0xfe2535(_0x378226._0x41c5b3,0x1a9,_0x378226._0x45b88b,_0x378226._0xd54dd4)+_0x52f19b;}function createAssignTaskTool(_0x5f50b1){const _0x5511e0={_0x5e43ba:0x7b,_0x4f4d95:0x94,_0x5571cf:0x74,_0x4a54ed:0x7e,_0x3b0231:0x3b9,_0x592d94:0x539,_0x5b55d8:0x17d,_0x1a6d44:0x336,_0x2ce3f9:0x3fb},_0x95798c={_0xb72324:0x277,_0x5922d9:0x40,_0x214d35:0x13b,_0x584726:0xe9,_0x193dd8:0x7d,_0x1b4766:0x224,_0x16f959:0x16,_0x11a9b1:0xe7,_0x5a2101:0x17a,_0x3116b4:0x1d9,_0x50059f:0x13b,_0x8f1a48:0x42,_0x51953d:0xcb,_0x1f13fb:0x13b,_0x21ece4:0x1b9,_0x48a265:0x63,_0x12eba3:0x21a,_0x2bac28:0x228,_0x2bbbe1:0x172,_0x4c79dc:0x16c,_0x56c55f:0x1f2,_0x4ace6d:0x2fe,_0x20a4ab:0xea,_0x2e1755:0x176,_0x1c1011:0x1e9,_0x4be6ba:0x93,_0x68c849:0x162,_0x628956:0x75,_0x3643b3:0x32,_0x17c05f:0x137,_0x2d7afc:0x10a,_0x4d9991:0x41,_0x2bda9c:0x92,_0x282dfa:0x2bc,_0x1cd132:0x7f,_0x5bbe57:0x287,_0x49ca17:0x28a,_0x397587:0x24a,_0x494c2f:0x164,_0x41b0d0:0x30f,_0x2756b6:0x215,_0x4b736c:0x1a5,_0x432582:0x4c,_0x1ad7c8:0x1c6,_0x4206e4:0x248,_0x20895c:0x2b2,_0x219c58:0x15b,_0x11ee75:0x110,_0x5b8b1c:0x37c,_0x291b20:0x31a,_0x1c4f9a:0x227,_0x2f8962:0x155,_0x313b14:0xdd,_0x29e82e:0x13b,_0x489043:0x2ad,_0x274491:0x14c,_0x371447:0xdc,_0x15f929:0x147,_0x128c18:0x115,_0x4310eb:0xa,_0x49036d:0x8,_0x471b97:0x22c,_0x256ac1:0x112,_0x30fe28:0xbe,_0x1e46b2:0x2c3,_0x4c2d08:0x197,_0x56876b:0x1fe,_0x2b55e7:0x270,_0xada56e:0x7c},_0x4d74c8={_0x3e86ee:0x57c,_0x3179f6:0x4e0,_0x3eb1bb:0x6fd,_0x5b5f34:0x6f8,_0x651725:0x519,_0x2d6038:0x6df},_0xab7c1f={_0x1c1039:0x37,_0x22cb91:0x2b,_0x24387a:0xe5},_0x2e4fae={_0x242cb8:0x1ee},_0x535561={_0x3579ef:0x34};function _0x46c16c(_0x38517a,_0x29d295,_0x29fd98,_0x39a65c){return _0x55c88d(_0x38517a-_0x535561._0x3579ef,_0x29d295- -0x3d5,_0x38517a,_0x39a65c-0x1c1);}function _0x3a3420(_0x2a92fd,_0x129aa2,_0x16627c,_0x136a88){return _0x1e45aa(_0x2a92fd-_0x2e4fae._0x242cb8,_0x129aa2-0x15a,_0x136a88- -0x238,_0x129aa2);}return defineTool({'name':'AssignTask','description':_0x46c16c(-_0x5511e0._0x5e43ba,_0x5511e0._0x4f4d95,-0xf,-_0x5511e0._0x5571cf),'inputSchema':{'type':_0x46c16c(-0xd,-_0x5511e0._0x4a54ed,-0xe2,0xf0),'properties':{'agentId':{'type':'string'},'description':{'type':'string'},'nickname':{'type':_0x3a3420(0x3ce,_0x5511e0._0x3b0231,_0x5511e0._0x592d94,0x4e7)},'task':{'type':_0x46c16c(-0x69,0x99,0x1db,_0x5511e0._0x5b55d8)}},'required':['agentId','description',_0x3a3420(_0x5511e0._0x1a6d44,0x427,_0x5511e0._0x2ce3f9,0x448)]},async *'execute'(_0x55ffbb,_0x4fb5eb){const _0x92f85e=createDelegatedRunId(),_0x9fabcd={'agentId':_0x55ffbb[_0x4dc052(_0x95798c._0xb72324,-_0x95798c._0x5922d9,_0x95798c._0x214d35,0x13b)],'parentSessionId':_0x4fb5eb[_0x264cbb(-_0x95798c._0x584726,-0x13f,-_0x95798c._0x193dd8,-0xb9)],'runId':_0x92f85e,..._0x4fb5eb['toolCallId']!==void 0x0?{'toolCallId':_0x4fb5eb[_0x264cbb(0x38e,0x35a,0x228,0x247)]}:{}};function _0x264cbb(_0x21318f,_0x2bba9e,_0x1c3452,_0x2be2bb){return _0x46c16c(_0x21318f,_0x1c3452-0x47,_0x1c3452-0x157,_0x2be2bb-0x3d);}const _0x4ef75d=getDelegatedAgentDefinition(_0x5f50b1,_0x55ffbb[_0x4dc052(_0x95798c._0x1b4766,0xbc,_0x95798c._0x16f959,_0x95798c._0x214d35)]);if(!_0x4ef75d)throw new ToolExecutionError(_0x264cbb(0x71,0x15c,_0x95798c._0x11a9b1,_0x95798c._0x5a2101)+_0x55ffbb[_0x4dc052(0x12f,0x200,_0x95798c._0x3116b4,_0x95798c._0x50059f)],{'agentId':_0x55ffbb[_0x4dc052(-_0x95798c._0x8f1a48,_0x95798c._0x51953d,0x3c,_0x95798c._0x1f13fb)]});const _0x488a3b=new Agent(await resolveDelegatedAgentOptions(_0x4ef75d,_0x9fabcd));let _0x5a4b70={'runId':_0x92f85e,'agentId':_0x55ffbb[_0x264cbb(0x28d,0x263,_0x95798c._0x21ece4,_0x95798c._0x48a265)],'sessionId':_0x488a3b[_0x4dc052(0x7,-0xbb,-0x4a,-0xfb)],'status':_0x264cbb(0x2a6,0x1de,_0x95798c._0x12eba3,0x25c),'parentSessionId':_0x4fb5eb['sessionId'],..._0x4fb5eb[_0x264cbb(0x387,0x379,_0x95798c._0x2bac28,0x32c)]!==void 0x0?{'originToolCallId':_0x4fb5eb[_0x264cbb(_0x95798c._0x2bbbe1,0x11d,0x228,0x263)]}:{}};const _0x5216c1=new AbortController();function _0x4dc052(_0x226f43,_0x5a02a1,_0x308c34,_0x363f65){return _0x46c16c(_0x308c34,_0x363f65- -_0xab7c1f._0x1c1039,_0x308c34-_0xab7c1f._0x22cb91,_0x363f65-_0xab7c1f._0x24387a);}const _0xcb4bb8=addAbortListener(_0x4fb5eb[_0x264cbb(0x1c9,_0x95798c._0x4c79dc,0x227,0x2de)],()=>{function _0x48fb9d(_0x5371ca,_0x188818,_0x44a4b7,_0x3f1512){return _0x264cbb(_0x44a4b7,_0x188818-0x2a,_0x5371ca-0x49f,_0x3f1512-0xc9);}function _0x325685(_0x37f683,_0x5773e8,_0x543561,_0x6870d){return _0x4dc052(_0x37f683-0x175,_0x5773e8-0x7d,_0x543561,_0x5773e8-0x5d9);}_0x5216c1[_0x48fb9d(0x60d,0x590,_0x4d74c8._0x3e86ee,_0x4d74c8._0x3179f6)](_0x4fb5eb[_0x48fb9d(0x6c6,_0x4d74c8._0x3eb1bb,0x70f,_0x4d74c8._0x5b5f34)]?.[_0x325685(_0x4d74c8._0x651725,0x60e,_0x4d74c8._0x2d6038,0x747)]);});yield createToolOutput('Started\x20agent\x20run\x20'+_0x5a4b70[_0x264cbb(_0x95798c._0x56c55f,_0x95798c._0x4ace6d,0x215,_0x95798c._0x20a4ab)]+'.',{'runId':_0x5a4b70[_0x4dc052(_0x95798c._0x2e1755,0x277,0x7d,0x197)],'agentId':_0x5a4b70[_0x4dc052(0x228,0xc5,_0x95798c._0x1c1011,0x13b)],'sessionId':_0x5a4b70[_0x264cbb(_0x95798c._0x4be6ba,-_0x95798c._0x68c849,-0x7d,-0x1db)],'status':_0x5a4b70[_0x4dc052(_0x95798c._0x628956,0x103,0xf1,0x1a1)]});try{const _0x9b2776=await _0x488a3b[_0x264cbb(0xa3,0xa0,_0x95798c._0x3643b3,-0x36)](_0x55ffbb[_0x264cbb(_0x95798c._0x17c05f,-_0x95798c._0x2d7afc,_0x95798c._0x4d9991,-0x75)],{'streaming':!![],'signal':_0x5216c1[_0x4dc052(_0x95798c._0x2bda9c,_0x95798c._0x282dfa,_0x95798c._0x1cd132,0x1a9)]});_0x5a4b70={..._0x5a4b70,'status':_0x9b2776[_0x4dc052(_0x95798c._0x5bbe57,_0x95798c._0x49ca17,_0x95798c._0x397587,0x1a1)],'result':_0x9b2776};if(_0x9b2776['status']!=='completed'){const _0x587a6c=getRunTerminalErrorMessage(_0x9b2776),_0x314ffe=formatAbortedRunMessage(_0x5a4b70[_0x264cbb(_0x95798c._0x494c2f,_0x95798c._0x41b0d0,_0x95798c._0x2756b6,_0x95798c._0x4b736c)],_0x587a6c);throw new ToolExecutionError(_0x314ffe,{...createRunSummary(_0x5a4b70),'aborted':!![],'errorMessage':_0x314ffe});}return createRunSummaryOutput(_0x5a4b70,_0x264cbb(0xa2,-0x127,_0x95798c._0x432582,_0x95798c._0x1ad7c8)+_0x5a4b70['runId']+_0x4dc052(0x9a,0x240,0x19e,0x10d));}catch(_0x5034bb){if(_0x5034bb instanceof ToolExecutionError)throw _0x5034bb;if(isAbortError(_0x5034bb)||_0x5216c1[_0x4dc052(0x191,0x216,_0x95798c._0x41b0d0,0x1a9)][_0x264cbb(_0x95798c._0x4206e4,_0x95798c._0x20895c,_0x95798c._0x219c58,_0x95798c._0x11ee75)]||_0x4fb5eb[_0x264cbb(_0x95798c._0x5b8b1c,_0x95798c._0x291b20,_0x95798c._0x1c4f9a,_0x95798c._0x20a4ab)][_0x4dc052(0x4d,_0x95798c._0x2f8962,0x1d6,_0x95798c._0x313b14)]){const _0x166e4f=getRunTerminalErrorMessage(_0x5a4b70[_0x264cbb(_0x95798c._0x29e82e,0x7a,0x74,0xd5)])??(_0x5034bb instanceof Error?_0x5034bb['message']:String(_0x5034bb)),_0x4262db=formatAbortedRunMessage(_0x5a4b70[_0x264cbb(0x209,_0x95798c._0x489043,_0x95798c._0x2756b6,_0x95798c._0x274491)],_0x166e4f);_0x5a4b70={..._0x5a4b70,'status':_0x4dc052(_0x95798c._0x371447,_0x95798c._0x15f929,0x129,_0x95798c._0x313b14),'errorMessage':_0x4262db};throw new ToolExecutionError(_0x4262db,{...createRunSummary(_0x5a4b70),'aborted':!![],'errorMessage':_0x4262db});}const _0x9a90af=getRunTerminalErrorMessage(_0x5a4b70[_0x4dc052(0x126,-0x132,-_0x95798c._0x128c18,-_0x95798c._0x4310eb)])??(_0x5034bb instanceof Error?_0x5034bb[_0x4dc052(_0x95798c._0x49036d,-_0x95798c._0x471b97,-0xd4,-_0x95798c._0x256ac1)]:String(_0x5034bb))??_0x264cbb(-_0x95798c._0x30fe28,0x5d,_0x95798c._0x432582,-0xc8)+_0x5a4b70[_0x4dc052(_0x95798c._0x1e46b2,0xd5,0x263,_0x95798c._0x4c2d08)]+_0x264cbb(0x267,0xca,_0x95798c._0x56876b,_0x95798c._0x2b55e7);_0x5a4b70={..._0x5a4b70,'status':_0x4dc052(-0x15,-_0x95798c._0xada56e,-0x175,-0x1e),'errorMessage':_0x9a90af};throw new ToolExecutionError(_0x9a90af,{...createRunSummary(_0x5a4b70),'errorMessage':_0x9a90af});}finally{_0xcb4bb8();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x1c0d0c){return[createAssignTaskTool(_0x1c0d0c)];}import*as _0x4f231f from'path';function buildDescription2(_0x9317ca){const _0x4786fd={_0x406383:0x3c7,_0x5562f8:0x2cb,_0x2ba40a:0x332,_0x4706fd:0x31e,_0x25d3b8:0x39f,_0x4f1cfb:0x1d5,_0x535e03:0x2f4,_0x3ef241:0xe7,_0x1868ad:0x177,_0x2c6611:0x66b,_0x351426:0x7c3},_0x3af6a7={_0x320209:0x14c,_0x2bf1aa:0x517};if(_0x9317ca[_0x1df669(0x182,0x449,_0x4786fd._0x406383,_0x4786fd._0x5562f8)]===0x0)return _0x1df669(0x368,_0x4786fd._0x2ba40a,0x242,_0x4786fd._0x4706fd);function _0x13e16b(_0x5a92f8,_0xf978bf,_0x312a3a,_0x5293a7){return _0x55c88d(_0x5a92f8-0x80,_0x5a92f8-0x1f1,_0xf978bf,_0x5293a7-0x31);}function _0x1df669(_0x104de7,_0x168c9a,_0x80c2bc,_0x1edcd3){return _0x1e45aa(_0x104de7-_0x3af6a7._0x320209,_0x168c9a-0x1d9,_0x1edcd3- -_0x3af6a7._0x2bf1aa,_0x168c9a);}const _0x59a9c7=[_0x1df669(_0x4786fd._0x25d3b8,0x196,_0x4786fd._0x4f1cfb,_0x4786fd._0x535e03),'Skills\x20provide\x20specialized\x20knowledge\x20and\x20step-by-step\x20guidance.',_0x1df669(0x20e,0x1d0,_0x4786fd._0x3ef241,_0x4786fd._0x1868ad),'Available\x20skills\x20(skill_name:\x20description):',..._0x9317ca[_0x13e16b(0x679,0x559,_0x4786fd._0x2c6611,_0x4786fd._0x351426)](_0x3849b0=>'-\x20'+_0x3849b0[_0x1df669(0x374,0x21c,0x2b0,0x279)]+':\x20'+_0x3849b0[_0x13e16b(0x736,0x853,0x829,0x860)])];return _0x59a9c7[_0x13e16b(0x5e3,0x5fb,0x546,0x513)]('\x0a');}function createLoadSkillTool(_0x424ff3){const _0x42897a={_0x18de55:0x486,_0x4af46e:0x5e5,_0x27b601:0x6be,_0xb6d600:0x594,_0x2f37cd:0x623,_0x39c311:0x492,_0x13b420:0x53d,_0xcbc958:0x635,_0x449b22:0x5c2,_0x3d9329:0x783,_0x3999f9:0x6ff,_0x402ca0:0x3e7,_0x30e7eb:0x605,_0x300278:0x4fe,_0x3ceb30:0x492,_0x37358a:0x56f},_0x4bf068={_0x45c061:0x812,_0x1a4f3c:0x7bc,_0x2f38c1:0x6d3,_0x436c1a:0x75d,_0x3cef59:0x70e,_0x37634d:0x6da,_0x1b4ff9:0x706,_0xb8de78:0x802,_0x3b0fa8:0x7cd,_0x8391e9:0x66d,_0x4d8597:0x603,_0x247fe9:0x580,_0x530ae4:0x6bb,_0x2c5b73:0x5b4,_0x36aa76:0x846,_0x5e0eb3:0x510,_0x522fda:0x75c,_0xa2a30c:0x4c2,_0x14a53e:0x5c3,_0x32280d:0x7ea,_0x57e2eb:0x749,_0x4346bc:0x773,_0x51bfbc:0x653,_0x3bd984:0x764,_0x25e828:0x649,_0x298ad5:0x639,_0x2c7a4d:0x743,_0xc9c295:0x7f2,_0x4596fd:0x858,_0x4341fe:0x69a,_0x10d5dc:0x6fe,_0x2d0d4b:0x7da,_0x201c2f:0x5d2,_0x2bdf21:0x61a,_0x48874c:0x78c,_0x189046:0x6bc,_0x56d548:0x64a,_0x3714fd:0x606,_0x4e3f6a:0x503},_0x337ef7={_0xf2346e:0x19e,_0x3f6c51:0x90},_0x541361={_0xbd5487:0x1ab,_0x1bea76:0x3c3,_0x3a3dfc:0x21},_0x5b03b6=new Map(_0x424ff3[_0x13d189(_0x42897a._0x18de55,0x5b9,_0x42897a._0x4af46e,_0x42897a._0x27b601)][_0x13d189(_0x42897a._0xb6d600,0x518,_0x42897a._0x2f37cd,_0x42897a._0x39c311)](_0x3bd499=>[_0x3bd499[_0x4886c0(0x11c,0x158,0x6a,0xbf)],_0x3bd499]));function _0x4886c0(_0x539b26,_0x112014,_0x49ae28,_0x11d72b){return _0x55c88d(_0x539b26-_0x541361._0xbd5487,_0x539b26- -_0x541361._0x1bea76,_0x49ae28,_0x11d72b-_0x541361._0x3a3dfc);}function _0x13d189(_0x566a78,_0x5b25b1,_0x36c7b1,_0x505423){return _0x55c88d(_0x566a78-_0x337ef7._0xf2346e,_0x5b25b1-_0x337ef7._0x3f6c51,_0x566a78,_0x505423-0xa3);}const _0x44ef10=buildDescription2(_0x424ff3[_0x13d189(_0x42897a._0x13b420,0x5b9,_0x42897a._0xcbc958,_0x42897a._0x449b22)]);return defineTool({'name':_0x13d189(0x4d5,0x635,_0x42897a._0x3d9329,_0x42897a._0x3999f9),'description':_0x44ef10,'inputSchema':{'type':_0x13d189(0x35e,_0x42897a._0x402ca0,0x319,0x2a9),'properties':{'name':{'type':_0x13d189(_0x42897a._0x30e7eb,_0x42897a._0x300278,_0x42897a._0x3ceb30,0x651)}},'required':[_0x13d189(0x53b,_0x42897a._0x37358a,0x560,0x45f)]},async *'execute'(_0x4eee87){const _0x27cc8e={_0x695f57:0x147,_0x47267f:0x175};function _0x4346af(_0x152826,_0xc3f4f9,_0x57f701,_0x24a01d){return _0x4886c0(_0x57f701-0x5a0,_0xc3f4f9-_0x27cc8e._0x695f57,_0x152826,_0x24a01d-_0x27cc8e._0x47267f);}const _0xad540a=_0x5b03b6['get'](_0x4eee87['name']);if(!_0xad540a){const _0x5000f5=Array[_0x3d0491(0x70a,_0x4bf068._0x45c061,0x6bc,0x69b)](_0x5b03b6[_0x4346af(_0x4bf068._0x1a4f3c,_0x4bf068._0x2f38c1,_0x4bf068._0x436c1a,0x8d1)]())['join'](',\x20');throw new ToolExecutionError(_0x3d0491(0x71d,0x644,_0x4bf068._0x3cef59,0x815)+_0x4eee87['name']+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x5000f5,{'name':_0x4eee87[_0x3d0491(_0x4bf068._0x37634d,0x7cb,0x6cc,0x78b)]});}const _0x412ae6=await _0x424ff3['loadSkill'](_0xad540a),_0x5d73df=_0xad540a[_0x3d0491(_0x4bf068._0x1b4ff9,_0x4bf068._0xb8de78,_0x4bf068._0x3b0fa8,_0x4bf068._0x8391e9)][_0x4346af(_0x4bf068._0x4d8597,0x801,0x76f,0x889)]??_0x4f231f[_0x3d0491(_0x4bf068._0x247fe9,0x479,_0x4bf068._0x530ae4,0x6fe)](_0xad540a[_0x3d0491(0x706,_0x4bf068._0x2c5b73,_0x4bf068._0x36aa76,0x6cc)][_0x3d0491(0x624,_0x4bf068._0x5e0eb3,_0x4bf068._0x522fda,_0x4bf068._0xa2a30c)]),_0x25b18d=[_0x3d0491(0x68b,_0x4bf068._0x14a53e,0x746,_0x4bf068._0x32280d)+_0x412ae6['name'],'',_0x412ae6[_0x4346af(_0x4bf068._0x57e2eb,_0x4bf068._0x4346bc,_0x4bf068._0x51bfbc,_0x4bf068._0x3bd984)],'',_0x4346af(_0x4bf068._0x522fda,_0x4bf068._0x25e828,_0x4bf068._0x298ad5,_0x4bf068._0x2c7a4d),'Loaded\x20from:\x20'+_0xad540a[_0x3d0491(_0x4bf068._0x1b4ff9,_0x4bf068._0xc9c295,_0x4bf068._0x4596fd,0x832)][_0x3d0491(0x624,0x61d,_0x4bf068._0x4341fe,0x58d)],_0x3d0491(0x6e6,_0x4bf068._0x10d5dc,_0x4bf068._0x2d0d4b,_0x4bf068._0x201c2f)+_0x5d73df][_0x3d0491(0x5ed,0x626,0x496,_0x4bf068._0x2bdf21)]('\x0a');function _0x3d0491(_0x221bb4,_0x4b0817,_0x4f355a,_0x951974){return _0x4886c0(_0x221bb4-0x5be,_0x4b0817-0xd,_0x4f355a,_0x951974-0x7f);}return yield createToolOutput(_0x25b18d,{'id':_0x412ae6['id'],'name':_0x412ae6[_0x4346af(_0x4bf068._0x48874c,0x81f,_0x4bf068._0x189046,0x6d5)],'path':_0xad540a['source'][_0x4346af(_0x4bf068._0x56d548,0x5b5,_0x4bf068._0x3714fd,_0x4bf068._0x4e3f6a)],'baseDirectory':_0x5d73df}),void 0x0;}});}var TODO_STATUSES=new Set([_0x55c88d(0x414,0x41f,0x348,0x307),_0x55c88d(0x391,0x325,0x47c,0x294),'completed']),TODO_PRIORITIES=new Set(['high','medium','low']);function isTodoStatus(_0x3e26fb){const _0x3e44d2={_0x4f9a99:0x4cd,_0x3d806a:0x5d2,_0x2cfbc8:0x4c2,_0x479335:0x64f},_0x223c6e={_0x2a3e1b:0x45,_0x401235:0xa0,_0x359f11:0x11a},_0x3b3a62={_0x1dca04:0xc1,_0x17818e:0x107,_0x7b3fd7:0xf7};function _0x221d53(_0x74106f,_0x511eeb,_0x38fcc6,_0x5a9c47){return _0x55c88d(_0x74106f-_0x3b3a62._0x1dca04,_0x38fcc6-_0x3b3a62._0x17818e,_0x5a9c47,_0x5a9c47-_0x3b3a62._0x7b3fd7);}function _0x315d24(_0x30a3a9,_0x1d89ea,_0x584ed2,_0x212ba9){return _0x55c88d(_0x30a3a9-_0x223c6e._0x2a3e1b,_0x1d89ea-_0x223c6e._0x401235,_0x584ed2,_0x212ba9-_0x223c6e._0x359f11);}return typeof _0x3e26fb===_0x221d53(0x442,_0x3e44d2._0x4f9a99,0x575,0x623)&&TODO_STATUSES[_0x221d53(_0x3e44d2._0x3d806a,_0x3e44d2._0x2cfbc8,0x5ae,_0x3e44d2._0x479335)](_0x3e26fb);}function isTodoPriority(_0x5a3abd){const _0x50e814={_0x14517e:0xcb,_0x585368:0x109,_0x12b11e:0x9a,_0x592eb3:0xb7},_0x2d3e81={_0x449285:0xa7,_0x2a0a5e:0x4b6},_0x536511={_0x26ca1e:0xca};function _0x49e5aa(_0x2b8031,_0x526332,_0x2dfa04,_0x42c0f4){return _0x1e45aa(_0x2b8031-_0x536511._0x26ca1e,_0x526332-0x14d,_0x2b8031- -0x4e4,_0x42c0f4);}function _0x2d1180(_0x573046,_0x3bd2eb,_0x496a88,_0x4ea2cc){return _0x55c88d(_0x573046-_0x2d3e81._0x449285,_0x496a88- -_0x2d3e81._0x2a0a5e,_0x3bd2eb,_0x4ea2cc-0x14c);}return typeof _0x5a3abd===_0x2d1180(-0x4a,_0x50e814._0x14517e,-0x48,-0x14)&&TODO_PRIORITIES[_0x2d1180(_0x50e814._0x585368,_0x50e814._0x12b11e,-0xf,_0x50e814._0x592eb3)](_0x5a3abd);}var TodoStore=class{[_0x1e45aa(0x702,0x5e6,0x721,0x716)]=new Map();['getTodos'](_0x5c842e){const _0x34154a={_0x5b2cd3:0x3d3,_0x537969:0x1f2,_0x8758e7:0x276,_0x5cf6f5:0x201},_0x2064d6={_0x336587:0x2a,_0x4352e1:0x12f};function _0x32a8e4(_0x3c898a,_0xf2416c,_0x537eaf,_0x45bfed){return _0x1e45aa(_0x3c898a-_0x2064d6._0x336587,_0xf2416c-_0x2064d6._0x4352e1,_0x537eaf- -0x4ab,_0x45bfed);}function _0x1ae874(_0x10da1b,_0x1301ae,_0x523f49,_0x42ced2){return _0x1e45aa(_0x10da1b-0xc2,_0x1301ae-0x11c,_0x523f49- -0x26e,_0x10da1b);}return this[_0x32a8e4(_0x34154a._0x5b2cd3,_0x34154a._0x537969,_0x34154a._0x8758e7,_0x34154a._0x5cf6f5)][_0x32a8e4(0x3dd,0x48d,0x338,0x282)](_0x5c842e)??[];}[_0x1e45aa(0x795,0x744,0x712,0x83d)](_0x48e00c,_0x4860b6){const _0x2e7d5a={_0x2ac89d:0x33,_0x1c2076:0xf3,_0x175936:0xde,_0x5d809d:0x8a,_0x2e29d8:0x17,_0x11a460:0x71},_0x8cc549={_0x333b71:0x19d};function _0x1d9d9c(_0x3e6cf5,_0x2680d8,_0x5576e7,_0x223546){return _0x1e45aa(_0x3e6cf5-0x106,_0x2680d8-0xe6,_0x2680d8- -0x63d,_0x5576e7);}function _0x5b6d96(_0x3ff1c7,_0x59ace7,_0xc47765,_0x3f6cec){return _0x1e45aa(_0x3ff1c7-0x16d,_0x59ace7-_0x8cc549._0x333b71,_0xc47765- -0x65b,_0x3ff1c7);}this[_0x5b6d96(_0x2e7d5a._0x2ac89d,_0x2e7d5a._0x1c2076,0xc6,_0x2e7d5a._0x175936)][_0x1d9d9c(_0x2e7d5a._0x5d809d,-_0x2e7d5a._0x2e29d8,_0x2e7d5a._0x11a460,-0x18c)](_0x48e00c,_0x4860b6);}[_0x1e45aa(0x59c,0x733,0x706,0x5bc)](_0x1197c3){const _0x3c4fb1={_0x44d506:0x2b3,_0x251109:0x173,_0x8b6f49:0x308,_0x29418b:0x34e,_0x31d002:0x70e,_0x5ae26b:0x546,_0x565e51:0x336,_0x1742ce:0x262,_0x50a344:0x3ca,_0x5588de:0x486,_0x3eaa85:0x266,_0x234f1d:0x142,_0x5348ae:0x131,_0x5c690d:0x241,_0x3a6c1e:0x1bb,_0x4cf59c:0x144},_0x4fe898={_0x45f1d1:0x1c2},_0x1d4364={_0x566a9a:0x84},_0x10139e=this[_0x3bc20d(_0x3c4fb1._0x44d506,0x3f3,_0x3c4fb1._0x251109,_0x3c4fb1._0x8b6f49)](_0x1197c3),_0x2338be={'total':_0x10139e[_0x3b4097(0x307,_0x3c4fb1._0x29418b,0x4b7,0x448)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x3b4097(_0x49bf92,_0x346f6c,_0x56e5b6,_0xe3f7d9){return _0x1e45aa(_0x49bf92-0xcb,_0x346f6c-_0x1d4364._0x566a9a,_0x346f6c- -0x494,_0x56e5b6);}for(const _0x4c3b62 of _0x10139e){if(_0x4c3b62[_0x3bc20d(0x59c,0x48a,_0x3c4fb1._0x31d002,_0x3c4fb1._0x5ae26b)]==='pending')_0x2338be[_0x3bc20d(0x40e,0x4ef,_0x3c4fb1._0x565e51,0x29a)]+=0x1;else{if(_0x4c3b62[_0x3b4097(_0x3c4fb1._0x1742ce,_0x3c4fb1._0x50a344,_0x3c4fb1._0x5588de,_0x3c4fb1._0x3eaa85)]===_0x3b4097(0x142,_0x3c4fb1._0x234f1d,0x2b8,_0x3c4fb1._0x5348ae))_0x2338be[_0x3bc20d(0x373,0x43a,_0x3c4fb1._0x5c690d,0x1ef)]+=0x1;else _0x2338be[_0x3b4097(_0x3c4fb1._0x3a6c1e,0x262,_0x3c4fb1._0x4cf59c,0x39b)]+=0x1;}}function _0x3bc20d(_0x17e6ad,_0x571394,_0x41938a,_0x5836ff){return _0x1e45aa(_0x17e6ad-_0x4fe898._0x45f1d1,_0x571394-0x154,_0x17e6ad- -0x2c2,_0x41938a);}return _0x2338be;}};function validateTodos(_0x143504){const _0x430c8d={_0x12f7a3:0xc6,_0x1dec70:0x74,_0x2cb680:0x26d,_0x50168e:0x208,_0x9805ae:0x28d,_0xcc0b85:0xe7,_0x571292:0x12d,_0x1f1bf0:0x1c8,_0x26438d:0x36b,_0x47e310:0x76,_0x2dd614:0x1ef,_0x28b1e6:0x119,_0x265c0a:0x14d,_0x5e867d:0x1a2,_0x5a637c:0x143,_0x237715:0x21a,_0x37f795:0x121,_0x267630:0x16c,_0x1dea9b:0x83,_0x5bbdfb:0x3b,_0x29a72c:0x77,_0x36aab9:0xe4,_0x2b4348:0xf4,_0x3f0e9b:0x87,_0x203646:0x214,_0x50226e:0x133,_0x413c23:0x364,_0x17c694:0x28a,_0x394891:0x9d,_0x4afb5d:0x177,_0x3061f7:0x4c,_0x2ccbac:0x1e,_0x4852d7:0x188,_0x92ee4e:0x36,_0x13fe34:0x4c,_0x5b892f:0x208,_0x1ca58b:0x8c,_0x10f719:0x279,_0x1f3331:0x398,_0x1fb262:0x2f7,_0x4af93e:0x1eb,_0xebf1e:0x207,_0x187a1b:0x1db,_0x18f92d:0xa9,_0x30d623:0xbc,_0x37adbd:0x17,_0x4d5745:0x16c,_0x4ee8ba:0x22,_0x22b7bb:0x0,_0x243822:0x2a,_0x4d4975:0x87,_0x23d0dd:0x1c,_0x3c9ee3:0x6b,_0x16f1ca:0x5f,_0x1a4b61:0x135,_0x5e0db6:0x120,_0x53e0d4:0x115,_0x390561:0x1f2,_0x5d62b0:0x8d,_0x5c780a:0x87,_0x49cd47:0x2d,_0x187f77:0xce,_0x7cb941:0x56},_0x1da751={_0x5db812:0x1a6,_0x1ec9e5:0x5da};function _0x6fcde6(_0x41bd19,_0x168c2c,_0xab3cbb,_0xde3a3b){return _0x1e45aa(_0x41bd19-0x3,_0x168c2c-_0x1da751._0x5db812,_0x168c2c- -_0x1da751._0x1ec9e5,_0xab3cbb);}if(!Array[_0x6fcde6(0x275,0x241,0x289,0x21f)](_0x143504[_0x6fcde6(-_0x430c8d._0x12f7a3,-_0x430c8d._0x1dec70,-0xeb,-0xe9)])||_0x143504[_0x59a31f(-0x309,-_0x430c8d._0x2cb680,-0x2ae,-0x1ef)][_0x6fcde6(0x38c,_0x430c8d._0x50168e,_0x430c8d._0x9805ae,0x264)]===0x0)throw new ToolExecutionError(_0x59a31f(0x6,-_0x430c8d._0xcc0b85,-0x1da,-0xf9),{'error':'invalid_todos'});function _0x59a31f(_0x3f4db1,_0x59a7f2,_0x27aa28,_0x47dc97){return _0x1e45aa(_0x3f4db1-0x12e,_0x59a7f2-0x190,_0x47dc97- -0x755,_0x27aa28);}for(let _0x244121=0x0;_0x244121<_0x143504[_0x59a31f(-_0x430c8d._0x571292,-_0x430c8d._0x1f1bf0,-0x2c3,-0x1ef)]['length'];_0x244121+=0x1){const _0x4c1e7e=_0x143504[_0x59a31f(-0x1b3,-_0x430c8d._0x26438d,-_0x430c8d._0x47e310,-_0x430c8d._0x2dd614)][_0x244121];if(!_0x4c1e7e||typeof _0x4c1e7e!==_0x59a31f(-_0x430c8d._0x28b1e6,-0x161,-0x168,-_0x430c8d._0x265c0a))throw new ToolExecutionError(_0x59a31f(_0x430c8d._0x5e867d,_0x430c8d._0x5a637c,_0x430c8d._0x237715,0x99)+(_0x244121+0x1)+_0x6fcde6(0x210,_0x430c8d._0x37f795,_0x430c8d._0x267630,_0x430c8d._0x1dea9b),{'error':_0x59a31f(-_0x430c8d._0x5bbdfb,-0x142,-0xaa,-_0x430c8d._0x29a72c)});if(typeof _0x4c1e7e['id']!=='string'||_0x4c1e7e['id'][_0x6fcde6(0xf0,0x1c7,_0x430c8d._0x36aab9,_0x430c8d._0x2b4348)]()[_0x6fcde6(0xef,0x208,_0x430c8d._0x3f0e9b,0x335)]===0x0)throw new ToolExecutionError(_0x6fcde6(0x1ce,_0x430c8d._0x203646,_0x430c8d._0x50226e,_0x430c8d._0x413c23)+(_0x244121+0x1)+_0x59a31f(-_0x430c8d._0x17c694,-0x27e,-_0x430c8d._0x394891,-_0x430c8d._0x4afb5d),{'error':_0x6fcde6(-_0x430c8d._0x3061f7,-_0x430c8d._0x2ccbac,0x68,-_0x430c8d._0x4852d7)});if(typeof _0x4c1e7e['content']!==_0x59a31f(0xb1,-0xee,0x5c,-_0x430c8d._0x92ee4e)||_0x4c1e7e['content'][_0x59a31f(0x9d,0x34,0x1c4,_0x430c8d._0x13fe34)]()[_0x6fcde6(0x25e,_0x430c8d._0x5b892f,_0x430c8d._0x1ca58b,0x152)]===0x0)throw new ToolExecutionError(_0x6fcde6(0x310,_0x430c8d._0x203646,0xee,0x1f0)+(_0x244121+0x1)+':\x20content\x20required',{'error':'invalid_todo_content'});if(!isTodoStatus(_0x4c1e7e['status']))throw new ToolExecutionError(_0x6fcde6(0x2e8,_0x430c8d._0x203646,_0x430c8d._0x10f719,_0x430c8d._0x1f3331)+(_0x244121+0x1)+':\x20invalid\x20status',{'error':_0x6fcde6(_0x430c8d._0x1fb262,_0x430c8d._0x4af93e,_0x430c8d._0xebf1e,0x11b)});if(!isTodoPriority(_0x4c1e7e[_0x59a31f(-_0x430c8d._0x187a1b,-0x10b,0xc5,-_0x430c8d._0x18f92d)]))throw new ToolExecutionError('Todo\x20'+(_0x244121+0x1)+_0x59a31f(-_0x430c8d._0x30d623,-0x5,0xe6,_0x430c8d._0x37adbd),{'error':_0x6fcde6(_0x430c8d._0x4d5745,_0x430c8d._0x4ee8ba,0x10c,_0x430c8d._0x22b7bb)});}const _0x5e3061=_0x143504[_0x6fcde6(-0x9d,-0x74,_0x430c8d._0x243822,0x5)][_0x59a31f(_0x430c8d._0x4d4975,0x5d,0x167,-_0x430c8d._0x23d0dd)](_0x596341=>_0x596341['id']);if(new Set(_0x5e3061)[_0x6fcde6(_0x430c8d._0x3c9ee3,-_0x430c8d._0x16f1ca,-_0x430c8d._0x1a4b61,_0x430c8d._0x5e0db6)]!==_0x5e3061[_0x59a31f(_0x430c8d._0x53e0d4,_0x430c8d._0x390561,0x8f,_0x430c8d._0x5d62b0)])throw new ToolExecutionError(_0x59a31f(0xaf,_0x430c8d._0x5c780a,_0x430c8d._0x49cd47,-_0x430c8d._0x187f77),{'error':_0x59a31f(0x79,-0x48,-0xb8,_0x430c8d._0x7cb941)});}function createStatsProgress(_0x29b7f2){const _0x53e19e={_0x3a7329:0x97,_0x223460:0x1f7,_0x5cd974:0x2a6,_0x302113:0x30e,_0xb73d3b:0x3fb,_0x47dab6:0x311},_0x39cd9d={_0x24a151:0xe4};function _0x46a745(_0x505429,_0x338b93,_0x4b3352,_0x1983a3){return _0x55c88d(_0x505429-0x38,_0x1983a3- -0x1de,_0x4b3352,_0x1983a3-0x150);}function _0x38ba55(_0x4aab0d,_0xc32263,_0x254a8f,_0x135cfb){return _0x55c88d(_0x4aab0d-0x13c,_0xc32263-0x2f1,_0x4aab0d,_0x135cfb-_0x39cd9d._0x24a151);}return _0x29b7f2[_0x46a745(0x380,0x436,0x3ae,0x383)]>0x0?Math[_0x46a745(0x283,0x7c,_0x53e19e._0x3a7329,0x151)](_0x29b7f2[_0x46a745(_0x53e19e._0x223460,_0x53e19e._0x5cd974,_0x53e19e._0x302113,0x267)]/_0x29b7f2[_0x46a745(_0x53e19e._0xb73d3b,0x215,_0x53e19e._0x47dab6,0x383)]*0x64)+'%':'0%';}function createReminderItems(_0x32b362){const _0xa2067a={_0x28195d:0x1ac,_0x334d0d:0xfd,_0x3cdf7b:0x733},_0x174056={_0x1e3068:0xd6};function _0xf19f20(_0x2ded75,_0x11fcbb,_0x4ed611,_0x48155e){return _0x55c88d(_0x2ded75-_0x174056._0x1e3068,_0x2ded75- -0x254,_0x48155e,_0x48155e-0x6f);}function _0x5b3298(_0x446b8b,_0x23180a,_0x23ec09,_0x5a2a10){return _0x1e45aa(_0x446b8b-_0xa2067a._0x28195d,_0x23180a-_0xa2067a._0x334d0d,_0x446b8b- -_0xa2067a._0x3cdf7b,_0x23180a);}return _0x32b362[_0x5b3298(0x6,-0xd6,0x18c,-0x43)](_0xf530fb=>({'content':_0xf530fb[_0xf19f20(0x223,0x122,0x27f,0x26b)],'status':_0xf530fb[_0xf19f20(0x359,0x3f0,0x380,0x224)],'id':_0xf530fb['id']}));}function createStructuredResult(_0xded1b9,_0x5d7dfc,_0xfea5e5,_0x5d566a){const _0x1e42d3={_0xd77742:0x138,_0x384b7e:0x69,_0xe595ce:0x101},_0x5abf20={_0x6942a4:0x14c,_0x3da176:0x23};function _0x2c614b(_0x4ccde4,_0x46ef3b,_0x305ebf,_0x535b50){return _0x55c88d(_0x4ccde4-_0x5abf20._0x6942a4,_0x535b50- -_0x5abf20._0x3da176,_0x4ccde4,_0x535b50-0x112);}function _0x58f905(_0x4428f9,_0x3255b6,_0x28e2bd,_0x224bb9){return _0x55c88d(_0x4428f9-_0x1e42d3._0xd77742,_0x4428f9- -_0x1e42d3._0x384b7e,_0x224bb9,_0x224bb9-_0x1e42d3._0xe595ce);}return{'allCompleted':_0x5d566a,'items':_0x5d7dfc['map'](_0x421ad1=>({'id':_0x421ad1['id'],'content':_0x421ad1[_0x2c614b(0x435,0x557,0x4c6,0x454)],'status':_0x421ad1[_0x58f905(0x544,0x455,0x420,0x69a)],'priority':_0x421ad1[_0x2c614b(0x4cc,0x32e,0x3a4,0x3d8)],'createdAt':_0x421ad1[_0x58f905(0x3dd,0x272,0x316,0x2e7)]})),'progress':createStatsProgress(_0xfea5e5),'recentChanges':!![],'sessionId':_0xded1b9,'stats':_0xfea5e5,'todosWritten':_0x5d7dfc[_0x58f905(0x4c8,0x353,0x568,0x565)]};}function createOutputText(_0x5cf2c5,_0x3fd332){const _0x309342={_0x2541ab:0x472,_0x2a9e8b:0x46b,_0x22bdc2:0x8de,_0x260bd2:0x7ca,_0x598812:0x84d,_0x50172c:0x646,_0x5d3535:0x58c,_0x36a329:0x5fa,_0x25a380:0x49f,_0x130882:0x48d,_0x436168:0x3f9,_0x595da8:0x917,_0x2786b6:0x8f1,_0x570e03:0x7b6},_0x255ced={_0xcab998:0x42},_0x28263b={_0x1b5a6c:0xf6};function _0x3737f2(_0x488265,_0x8063fb,_0xc0240e,_0x1f3c1f){return _0x55c88d(_0x488265-0x143,_0xc0240e-0x299,_0x1f3c1f,_0x1f3c1f-_0x28263b._0x1b5a6c);}const _0x16fb59=JSON[_0x3737f2(0x8af,0x721,0x799,0x900)](createReminderItems(_0x5cf2c5));function _0x20479f(_0x166056,_0x1c9602,_0x1db772,_0x674d57){return _0x55c88d(_0x166056-_0x255ced._0xcab998,_0x674d57- -0x64,_0x1db772,_0x674d57-0x182);}if(_0x3fd332)return _0x20479f(0x471,_0x309342._0x2541ab,_0x309342._0x2a9e8b,0x319)+_0x5cf2c5[_0x3737f2(0x758,_0x309342._0x22bdc2,_0x309342._0x260bd2,_0x309342._0x598812)]+_0x3737f2(_0x309342._0x50172c,_0x309342._0x5d3535,_0x309342._0x36a329,_0x309342._0x25a380)+_0x16fb59+_0x20479f(0x451,_0x309342._0x130882,_0x309342._0x436168,0x3a2);return _0x3737f2(_0x309342._0x595da8,_0x309342._0x2786b6,0x843,0x93f)+_0x16fb59+_0x3737f2(0x69f,0x73f,0x69f,_0x309342._0x570e03);}function createTodoWriteTool(_0x598484=new TodoStore()){const _0x5b3469={_0x36c235:0x4d5,_0x20ae20:0x58f,_0x476b9b:0x478,_0x42b3d8:0x3e0,_0x32c483:0x399,_0x5a68f9:0x297,_0xb9366d:0x49b,_0xb6009d:0x4f9,_0x470d6b:0x65c,_0x491120:0x597,_0x25bbcd:0x5ab,_0xc4383d:0x480,_0x159059:0x41b,_0x40b8d0:0x5d6,_0x539d72:0x4b0,_0x5a6aed:0x53e,_0x27ec74:0x4b0,_0x226b2e:0x3fa,_0x4a4ea5:0x5db,_0x39a698:0x4b9,_0x5d1276:0x5c6,_0x41e8bc:0x57f,_0x171ffd:0x5ef,_0x142af5:0x43d},_0x50f41d={_0x2a8692:0x331,_0x17e862:0x4b4,_0x38f431:0x39a,_0x43720d:0x355,_0x7c233a:0x5c0,_0x43bd7b:0x4a6,_0x204eca:0x481,_0x110160:0x42c,_0x5bc255:0x411,_0x139ff8:0x36e,_0xce9ea1:0x35a,_0x44581c:0x559},_0x2fc07d={_0x366d7f:0x103,_0x219c89:0x97},_0x2991a1={_0x98a09e:0x1c1},_0x2c377a={_0x477213:0x4};function _0x41d7fd(_0x4ea9fc,_0x328f2f,_0x451a68,_0x574292){return _0x55c88d(_0x4ea9fc-0x14a,_0x451a68-0x42,_0x328f2f,_0x574292-_0x2c377a._0x477213);}function _0x3ff264(_0x4a71fd,_0x442003,_0x49c050,_0x479605){return _0x55c88d(_0x4a71fd-0xda,_0x479605-0xb5,_0x4a71fd,_0x479605-_0x2991a1._0x98a09e);}return defineTool({'name':_0x41d7fd(_0x5b3469._0x36c235,_0x5b3469._0x20ae20,_0x5b3469._0x476b9b,0x3e2),'description':'Use\x20this\x20tool\x20to\x20create\x20and\x20manage\x20a\x20structured\x20task\x20list\x20for\x20your\x20current\x20coding\x20session.\x20This\x20helps\x20you\x20track\x20progress,\x20organize\x20complex\x20tasks,\x20and\x20demonstrate\x20thoroughness\x20to\x20the\x20user.\x0aIt\x20also\x20helps\x20the\x20user\x20understand\x20the\x20progress\x20of\x20the\x20task\x20and\x20overall\x20progress\x20of\x20their\x20requests.\x0a\x0a##\x20When\x20to\x20Use\x20This\x20Tool\x0aUse\x20this\x20tool\x20proactively\x20in\x20these\x20scenarios:\x0a\x0a1.\x20Complex\x20multi-step\x20tasks\x20-\x20When\x20a\x20task\x20requires\x203\x20or\x20more\x20distinct\x20steps\x20or\x20actions\x0a2.\x20Non-trivial\x20and\x20complex\x20tasks\x20-\x20Tasks\x20that\x20require\x20careful\x20planning\x20or\x20multiple\x20operations\x0a3.\x20User\x20explicitly\x20requests\x20todo\x20list\x20-\x20When\x20the\x20user\x20directly\x20asks\x20you\x20to\x20use\x20the\x20todo\x20list\x0a4.\x20User\x20provides\x20multiple\x20tasks\x20-\x20When\x20users\x20provide\x20a\x20list\x20of\x20things\x20to\x20be\x20done\x20(numbered\x20or\x20comma-separated)\x0a5.\x20After\x20receiving\x20new\x20instructions\x20-\x20Immediately\x20capture\x20user\x20requirements\x20as\x20todos\x0a6.\x20When\x20you\x20start\x20working\x20on\x20a\x20task\x20-\x20Mark\x20it\x20as\x20in_progress\x20BEFORE\x20beginning\x20work.\x20Ideally\x20you\x20should\x20only\x20have\x20one\x20todo\x20as\x20in_progress\x20at\x20a\x20time\x0a7.\x20After\x20completing\x20a\x20task\x20-\x20Mark\x20it\x20as\x20completed\x20and\x20add\x20any\x20new\x20follow-up\x20tasks\x20discovered\x20during\x20implementation\x0a\x0a##\x20When\x20NOT\x20to\x20Use\x20This\x20Tool\x0a\x0aSkip\x20using\x20this\x20tool\x20when:\x0a1.\x20There\x20is\x20only\x20a\x20single,\x20straightforward\x20task\x0a2.\x20The\x20task\x20is\x20trivial\x20and\x20tracking\x20it\x20provides\x20no\x20organizational\x20benefit\x0a3.\x20The\x20task\x20can\x20be\x20completed\x20in\x20less\x20than\x203\x20trivial\x20steps\x0a4.\x20The\x20task\x20is\x20purely\x20conversational\x20or\x20informational\x0a\x0aNOTE\x20that\x20you\x20should\x20not\x20use\x20this\x20tool\x20if\x20there\x20is\x20only\x20one\x20trivial\x20task\x20to\x20do.\x20In\x20this\x20case\x20you\x20are\x20better\x20off\x20just\x20doing\x20the\x20task\x20directly.\x0a\x0a##\x20Task\x20States\x20and\x20Management\x0a\x0a1.\x20**Task\x20States**:\x20Use\x20these\x20states\x20to\x20track\x20progress:\x0a-\x20pending:\x20Task\x20not\x20yet\x20started\x0a-\x20in_progress:\x20Currently\x20working\x20on\x20(limit\x20to\x20ONE\x20task\x20at\x20a\x20time)\x0a-\x20completed:\x20Task\x20finished\x20successfully\x0a\x0a2.\x20**Task\x20Management**:\x0a-\x20Update\x20task\x20status\x20in\x20real-time\x20as\x20you\x20work\x0a-\x20Mark\x20tasks\x20complete\x20IMMEDIATELY\x20after\x20finishing\x20(don\x27t\x20batch\x20completions)\x0a-\x20Only\x20have\x20ONE\x20task\x20in_progress\x20at\x20any\x20time\x0a-\x20Complete\x20current\x20tasks\x20before\x20starting\x20new\x20ones\x0a-\x20Remove\x20tasks\x20that\x20are\x20no\x20longer\x20relevant\x20from\x20the\x20list\x20entirely\x0a\x0a3.\x20**Task\x20Completion\x20Requirements**:\x0a-\x20ONLY\x20mark\x20a\x20task\x20as\x20completed\x20when\x20you\x20have\x20FULLY\x20accomplished\x20it\x0a-\x20If\x20you\x20encounter\x20errors,\x20blockers,\x20or\x20cannot\x20finish,\x20keep\x20the\x20task\x20as\x20in_progress\x0a-\x20When\x20blocked,\x20create\x20a\x20new\x20task\x20describing\x20what\x20needs\x20to\x20be\x20resolved\x0a-\x20Never\x20mark\x20a\x20task\x20as\x20completed\x20if:\x0a-\x20Tests\x20are\x20failing\x0a-\x20Implementation\x20is\x20partial\x0a-\x20You\x20encountered\x20unresolved\x20errors\x0a-\x20You\x20couldn\x27t\x20find\x20necessary\x20files\x20or\x20dependencies\x0a\x0a4.\x20**Task\x20Breakdown**:\x0a-\x20Create\x20specific,\x20actionable\x20items\x0a-\x20Break\x20complex\x20tasks\x20into\x20smaller,\x20manageable\x20steps\x0a-\x20Use\x20clear,\x20descriptive\x20task\x20names\x0a\x0aWhen\x20in\x20doubt,\x20use\x20this\x20tool.\x20Being\x20proactive\x20with\x20task\x20management\x20demonstrates\x20attentiveness\x20and\x20ensures\x20you\x20complete\x20all\x20requirements\x20successfully.','inputSchema':{'type':_0x41d7fd(_0x5b3469._0x42b3d8,0x23f,_0x5b3469._0x32c483,_0x5b3469._0x5a68f9),'properties':{'todos':{'type':_0x41d7fd(0x429,_0x5b3469._0xb9366d,_0x5b3469._0xb6009d,0x434),'items':{'type':'object','properties':{'content':{'type':_0x3ff264(_0x5b3469._0x470d6b,0x43a,_0x5b3469._0x491120,0x523)},'status':{'type':_0x3ff264(0x58f,_0x5b3469._0x25bbcd,_0x5b3469._0xc4383d,0x523)},'priority':{'type':_0x41d7fd(_0x5b3469._0x159059,_0x5b3469._0x40b8d0,_0x5b3469._0x539d72,0x53d)},'id':{'type':_0x41d7fd(0x588,_0x5b3469._0x5a6aed,_0x5b3469._0x27ec74,0x5cc)},'createdAt':{'type':_0x41d7fd(0x529,0x521,0x4b0,_0x5b3469._0x226b2e)}},'required':[_0x41d7fd(_0x5b3469._0x4a4ea5,0x53a,_0x5b3469._0x39a698,_0x5b3469._0x5d1276),_0x41d7fd(0x705,_0x5b3469._0x41e8bc,_0x5b3469._0x171ffd,0x75d),_0x41d7fd(0x34a,0x3a1,_0x5b3469._0x142af5,0x472),'id']}}},'required':['todos']},async *'execute'(_0x450dc9,_0x26bbd6){const _0x22979c={_0x424a0b:0x82,_0x16ea69:0x95},_0x397d19=_0x450dc9;validateTodos(_0x397d19);const _0x46fb9d=_0x26bbd6[_0x3f020b(_0x50f41d._0x2a8692,_0x50f41d._0x17e862,_0x50f41d._0x38f431,_0x50f41d._0x43720d)]||'default',_0xbd7270=new Date()[_0x45d771(_0x50f41d._0x7c233a,0x555,0x53a,0x41e)](),_0x28e96d=_0x397d19['todos'][_0x45d771(0x5e1,0x33d,_0x50f41d._0x43bd7b,0x522)](_0x371c0c=>({'id':_0x371c0c['id'],'content':_0x371c0c[_0x3f020b(0x497,0x4ea,0x390,0x594)],'status':_0x371c0c[_0x3f020b(0x5cd,0x6c1,0x6fb,0x689)],'priority':_0x371c0c[_0x3f020b(0x41b,0x2b9,0x3f9,0x2a4)],'sessionId':_0x46fb9d,'createdAt':_0x371c0c[_0x45d771(0x3f1,0x48d,0x464,0x352)]||_0xbd7270,'updatedAt':_0xbd7270}));_0x598484[_0x3f020b(_0x50f41d._0x204eca,0x3f1,_0x50f41d._0x110160,_0x50f41d._0x5bc255)](_0x46fb9d,_0x28e96d);const _0x8a5c41=_0x598484[_0x3f020b(0x475,_0x50f41d._0x139ff8,0x455,_0x50f41d._0xce9ea1)](_0x46fb9d);function _0x45d771(_0x5632b6,_0x4929dd,_0x5a8721,_0x45ea79){return _0x3ff264(_0x4929dd,_0x4929dd-0x16c,_0x5a8721-_0x2fc07d._0x366d7f,_0x5a8721- -_0x2fc07d._0x219c89);}function _0x3f020b(_0x119480,_0x20193e,_0x8ba8d0,_0x586bc4){return _0x3ff264(_0x20193e,_0x20193e-0x1ae,_0x8ba8d0-_0x22979c._0x424a0b,_0x119480- -_0x22979c._0x16ea69);}const _0x3a276b=_0x28e96d['length']>0x0&&_0x28e96d[_0x3f020b(_0x50f41d._0x44581c,0x657,0x5cc,0x558)](_0x54246e=>_0x54246e[_0x3f020b(0x5cd,0x4f3,0x59f,0x637)]===_0x45d771(0x374,0x5e9,0x463,0x332));return createToolOutput(createOutputText(_0x28e96d,_0x3a276b),createStructuredResult(_0x46fb9d,_0x28e96d,_0x8a5c41,_0x3a276b));}});}import{mkdir as _0x5f2968,writeFile as _0x22d13a}from'fs/promises';import*as _0x4d4d96 from'path';function sanitizeFileName(_0x525977){const _0x3efed2={_0x1ed6a5:0x1bb,_0x4b7929:0x12b,_0x532a11:0x236,_0x42c55c:0x2dc},_0x339a1a={_0x244291:0xea};function _0x4bd389(_0x5023ec,_0x523899,_0x339213,_0x43a912){return _0x55c88d(_0x5023ec-_0x339a1a._0x244291,_0x5023ec- -0x1c1,_0x339213,_0x43a912-0x54);}return _0x525977[_0x4bd389(_0x3efed2._0x1ed6a5,_0x3efed2._0x4b7929,_0x3efed2._0x532a11,_0x3efed2._0x42c55c)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x73ce71,_0x51c4b1){const _0xfc3d4e={_0x442993:0x499,_0x4d8fad:0x367,_0x119d8d:0x3a2,_0x89a654:0x29b,_0x47103b:0x2fc,_0x2813a0:0x41d,_0x14b2f3:0x32e,_0xfb5b98:0x1ac,_0x50daeb:0x22f,_0x431e59:0x28d,_0xccea6b:0x4cf,_0x477c1c:0x3f4,_0x422a96:0x28f,_0x2ffcd2:0x2aa,_0x348df2:0x3f5,_0x1c594e:0x404,_0x13b8cd:0x349,_0x1b7f7f:0x2ba,_0x290793:0x3ce,_0x17e279:0x41b,_0x5cb1bf:0x419,_0x2264e7:0x432,_0x4431d6:0x31e,_0xb5c481:0x1e4,_0x4e767f:0x57c,_0x2dde96:0x553,_0x2dd504:0x43c,_0x4a27c0:0x53a,_0x568b95:0x5b0,_0x2952b9:0x5e8,_0x1bb40b:0x5a0,_0x58dac0:0x2e1,_0x579992:0x27d,_0x47dff2:0x2b7,_0x533f7e:0x3aa,_0x17d7e6:0x2d4,_0x4c63dc:0x389,_0x5b6383:0x32e,_0x512a54:0x302,_0x3d7312:0x40e,_0x2b3782:0x350,_0x59b74b:0x40d,_0x374ef7:0x1db,_0x5647c0:0x3b5,_0x46d1e9:0x331,_0x9bc216:0x33f,_0x1c70d8:0x3a1,_0x40e66e:0x3cd,_0xc3997b:0x4f2,_0x7319f9:0x3a2,_0x182a88:0x543,_0x2558be:0x361,_0x20b100:0x320,_0x5db56f:0x429,_0x18af8f:0x456,_0x38aaec:0x1cc},_0x3146fd={_0x25d88d:0xf5},_0x22d248={_0x46c7c1:0x13,_0x9c35de:0x37},{maxBytes:_0x321a84,sessionDir:_0x5b3e88}=_0x51c4b1;if(!_0x73ce71[_0x4b0ed3(0x29c,0x257,_0xfc3d4e._0x442993,_0xfc3d4e._0x4d8fad)]||Buffer['byteLength'](_0x73ce71[_0x4b0ed3(_0xfc3d4e._0x119d8d,0x23f,0x2c0,0x367)],'utf8')<=_0x321a84)return _0x73ce71;const _0x41364b=Buffer[_0x293f1d(_0xfc3d4e._0x89a654,0x165,_0xfc3d4e._0x47103b,_0xfc3d4e._0x2813a0)](_0x73ce71[_0x293f1d(_0xfc3d4e._0x14b2f3,0x1ae,0x229,_0xfc3d4e._0xfb5b98)],'utf8');if(!_0x5b3e88){const _0x51c4a5=_0x73ce71[_0x4b0ed3(0x46f,0x234,_0xfc3d4e._0x50daeb,_0xfc3d4e._0x4d8fad)][_0x4b0ed3(0x18f,_0xfc3d4e._0x431e59,0x39c,0x2ce)](0x0,_0x321a84);return{..._0x73ce71,'output':_0x51c4a5+(_0x293f1d(0x4a0,_0xfc3d4e._0xccea6b,_0xfc3d4e._0x477c1c,0x4be)+_0x321a84+_0x4b0ed3(_0xfc3d4e._0x422a96,_0xfc3d4e._0x2ffcd2,0x246,0x2f6)+_0x41364b+_0x293f1d(_0xfc3d4e._0x348df2,0x44b,0x2fc,0x538)),'meta':{..._0x73ce71[_0x4b0ed3(_0xfc3d4e._0x1c594e,_0xfc3d4e._0x13b8cd,_0xfc3d4e._0x1b7f7f,_0xfc3d4e._0x290793)],'truncated':!![],'originalBytes':_0x41364b,'transforms':[..._0x73ce71['meta'][_0x4b0ed3(_0xfc3d4e._0x17e279,_0xfc3d4e._0x5cb1bf,_0xfc3d4e._0x2264e7,_0xfc3d4e._0x4431d6)],_0x293f1d(0x343,_0xfc3d4e._0xb5c481,0x3cd,0x2f3)]}};}const _0x34ce4b=_0x73ce71[_0x293f1d(_0xfc3d4e._0x4e767f,_0xfc3d4e._0x2dde96,0x5fb,0x5dc)]+'_'+sanitizeFileName(_0x73ce71[_0x293f1d(_0xfc3d4e._0x2dd504,_0xfc3d4e._0x4a27c0,_0xfc3d4e._0x568b95,0x424)])+_0x293f1d(0x557,0x61d,_0xfc3d4e._0x2952b9,_0xfc3d4e._0x1bb40b),_0x315815=_0x4d4d96[_0x293f1d(0x3c2,_0xfc3d4e._0x58dac0,_0xfc3d4e._0x579992,0x393)](_0x5b3e88,_0x34ce4b);await _0x5f2968(_0x5b3e88,{'recursive':!![]});function _0x4b0ed3(_0x3fda3a,_0x3eee48,_0x1be7c9,_0x12a7dd){return _0x55c88d(_0x3fda3a-_0x22d248._0x46c7c1,_0x12a7dd-0x9,_0x3fda3a,_0x12a7dd-_0x22d248._0x9c35de);}await _0x22d13a(_0x315815,_0x73ce71['output'],_0x4b0ed3(_0xfc3d4e._0x47dff2,0x483,0x339,0x3ef));let _0x5518a7=_0x73ce71[_0x4b0ed3(0x34c,0x476,0x3cf,_0xfc3d4e._0x4d8fad)][_0x293f1d(0x295,0x200,_0xfc3d4e._0x533f7e,_0xfc3d4e._0x17d7e6)](0x0,_0x321a84);const _0x46d064=_0x5518a7['lastIndexOf']('\x0a');_0x46d064>_0x321a84*0.5&&(_0x5518a7=_0x5518a7[_0x4b0ed3(_0xfc3d4e._0x4c63dc,_0xfc3d4e._0x5b6383,_0xfc3d4e._0x2ffcd2,0x2ce)](0x0,_0x46d064));const _0x57d007=['',_0x4b0ed3(_0xfc3d4e._0x512a54,0x52e,0x358,_0xfc3d4e._0x3d7312),_0x293f1d(0x2e4,_0xfc3d4e._0x2b3782,_0xfc3d4e._0x59b74b,_0xfc3d4e._0x374ef7)+_0x321a84+_0x4b0ed3(0x35c,0x25f,0x294,_0xfc3d4e._0x5647c0)+_0x41364b+'\x20bytes).',_0x4b0ed3(0x246,0x451,_0xfc3d4e._0x46d1e9,_0xfc3d4e._0x9bc216)+_0x315815,_0x293f1d(0x330,_0xfc3d4e._0x1c70d8,_0xfc3d4e._0x40e66e,0x28d),_0x293f1d(0x545,0x440,_0xfc3d4e._0xc3997b,0x47e)]['join']('\x0a');function _0x293f1d(_0x13af41,_0x36898b,_0x5ef184,_0x473031){return _0x1e45aa(_0x13af41-_0x3146fd._0x25d88d,_0x36898b-0x139,_0x13af41- -0x2e1,_0x36898b);}return{..._0x73ce71,'output':_0x5518a7+_0x57d007,'meta':{..._0x73ce71[_0x293f1d(0x395,_0xfc3d4e._0x7319f9,0x326,0x287)],'truncated':!![],'originalBytes':_0x41364b,'transforms':[..._0x73ce71[_0x4b0ed3(_0xfc3d4e._0x182a88,_0xfc3d4e._0x2558be,_0xfc3d4e._0x20b100,0x3ce)][_0x4b0ed3(_0xfc3d4e._0x5db56f,_0xfc3d4e._0x18af8f,_0xfc3d4e._0x38aaec,0x31e)],_0x4b0ed3(0x391,0x482,0x451,0x37c)]}};}function createUpdateTopicTool(){const _0xaa8686={_0x46533d:0x652,_0x3d78f6:0x609,_0x1e1937:0x684,_0x4ed07e:0x768},_0x3c4cf3={_0x1d4e11:0x574,_0x5356ac:0x534,_0x3f6834:0x785,_0x1bd8b0:0x74b,_0x18a2eb:0x63,_0xd5efe1:0xd4,_0x3474f2:0x744},_0x2f437c={_0x2874d3:0x190},_0x21a2cf={_0x4229b4:0x2f0},_0x4f0a00={_0x34dea4:0xb6,_0x1ce04d:0x90};function _0x3c6613(_0x256534,_0xff3a41,_0x83e913,_0x221221){return _0x55c88d(_0x256534-_0x4f0a00._0x34dea4,_0x221221-_0x4f0a00._0x1ce04d,_0x83e913,_0x221221-0x1a6);}function _0x2fb685(_0x4009d0,_0x2d9ea3,_0x10ac84,_0xdec74e){return _0x55c88d(_0x4009d0-0x60,_0xdec74e-_0x21a2cf._0x4229b4,_0x2d9ea3,_0xdec74e-0x1b7);}return defineTool({'name':'UpdateTopic','description':_0x3c6613(0x399,_0xaa8686._0x46533d,_0xaa8686._0x3d78f6,0x516),'inputSchema':{'type':'object','properties':{'topic':{'type':_0x2fb685(_0xaa8686._0x1e1937,_0xaa8686._0x4ed07e,0x78d,0x75e)}},'required':['topic']},async *'execute'(_0x3949e0,_0x19b29d){const {topic:_0x55c510}=_0x3949e0;function _0x38fcde(_0x1df4b0,_0x488e42,_0x3bf82c,_0x4d1005){return _0x3c6613(_0x1df4b0-_0x2f437c._0x2874d3,_0x488e42-0xbe,_0x4d1005,_0x488e42- -0x55e);}if(typeof _0x55c510!==_0x2633b5(_0x3c4cf3._0x1d4e11,0x62a,0x6ab,0x770)||_0x55c510[_0x2633b5(_0x3c4cf3._0x5356ac,0x6ac,_0x3c4cf3._0x3f6834,_0x3c4cf3._0x1bd8b0)]()[_0x38fcde(0xdc,_0x3c4cf3._0x18a2eb,-0x74,-_0x3c4cf3._0xd5efe1)]===0x0)throw new ToolExecutionError('topic\x20must\x20be\x20a\x20non-empty\x20string',{'error':'invalid_topic'});const _0x300123=_0x55c510['trim']();_0x19b29d['setTopic']?.(_0x300123);function _0x2633b5(_0x1b7001,_0x5ab921,_0x4ce2aa,_0x1ac138){return _0x2fb685(_0x1b7001-0x141,_0x1b7001,_0x4ce2aa-0x2e,_0x5ab921- -0x134);}return yield createToolOutput(_0x2633b5(_0x3c4cf3._0x3474f2,0x604,0x5a5,0x55b)+_0x300123+'\x22',{'topic':_0x300123}),void 0x0;}});}import{readFile as _0x23d847,stat as _0x2d820a}from'fs/promises';import*as _0x26c6e2 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x1e45aa(0x557,0x716,0x63f,0x695),_0x55c88d(0x4a2,0x3cd,0x39b,0x27c),_0x1e45aa(0x548,0x5c2,0x580,0x50f),'original']),PNG_SIGNATURE=Buffer[_0x1e45aa(0x6c0,0x86b,0x7c0,0x7bd)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x3cd3a9,_0x550f96){const _0x2fe6d5={_0x46fb5e:0x81a,_0x72557c:0x8a6,_0x163bc5:0x8b0,_0x2a43b6:0xf1,_0x2a21df:0x41,_0x46ec39:0x8df,_0x4bbb8e:0x84f,_0x5544ab:0x775,_0x48d54f:0x101,_0x1b7ae7:0x3e,_0x101563:0x103,_0x554965:0x163,_0x5ce896:0x39d,_0x1ebfd7:0x34e,_0xc3034d:0x13f,_0x5ca2d9:0x355,_0x19455f:0x2be,_0x39eeb6:0x1f9,_0x371f2c:0x27f,_0x465c6a:0x82,_0x103b18:0x229,_0x10c546:0x19a,_0x18723a:0xa8,_0x392409:0x263,_0x42ab3c:0xc6,_0x1b74e3:0x21,_0x205de5:0x17a,_0x5d6b37:0x24b,_0x584d1f:0x593,_0x57a89a:0x4f3,_0x483982:0x5c9,_0x1e1898:0x6ea,_0x55479d:0x2d5,_0x5ecae0:0x124,_0x403dc1:0x199,_0x11c006:0x883,_0x124761:0x3b6,_0x22b1e3:0x2f9,_0x40c096:0x370,_0x2f940b:0x2fe,_0x4a8ebe:0x79f,_0x54294a:0x61b},_0x4e88fe={_0x4aef50:0x174,_0x4c9106:0x552},_0x3b43f5={_0xeffef0:0x79,_0x2ebbf:0x2fd,_0x262c00:0x4e};if(_0x3cd3a9[_0x64b1b6(_0x2fe6d5._0x46fb5e,_0x2fe6d5._0x72557c,_0x2fe6d5._0x163bc5,0x94c)](0x0,0x8)[_0x40ed25(-0x17,_0x2fe6d5._0x2a43b6,-0x6c,_0x2fe6d5._0x2a21df)](PNG_SIGNATURE))return'image/png';if(_0x3cd3a9[0x0]===0xff&&_0x3cd3a9[0x1]===0xd8&&_0x3cd3a9[0x2]===0xff)return _0x64b1b6(0x962,_0x2fe6d5._0x46ec39,_0x2fe6d5._0x4bbb8e,_0x2fe6d5._0x5544ab);const _0x2217b2=_0x3cd3a9['subarray'](0x0,0x6)['toString'](_0x40ed25(0x126,_0x2fe6d5._0x48d54f,_0x2fe6d5._0x1b7ae7,_0x2fe6d5._0x101563));if(_0x2217b2===_0x40ed25(_0x2fe6d5._0x554965,_0x2fe6d5._0x5ce896,_0x2fe6d5._0x1ebfd7,0x271)||_0x2217b2===_0x40ed25(0x28b,0x93,0x9e,_0x2fe6d5._0xc3034d))return _0x40ed25(0x18a,_0x2fe6d5._0x5ca2d9,0x2b5,0x2fe);if(_0x3cd3a9['subarray'](0x0,0x4)[_0x40ed25(_0x2fe6d5._0x19455f,0xb5,_0x2fe6d5._0x39eeb6,0x17b)]('ascii')===_0x40ed25(_0x2fe6d5._0x371f2c,_0x2fe6d5._0x465c6a,_0x2fe6d5._0x103b18,_0x2fe6d5._0x10c546)&&_0x3cd3a9['subarray'](0x8,0xc)[_0x40ed25(0x2d4,0x13e,_0x2fe6d5._0x18723a,0x17b)](_0x40ed25(_0x2fe6d5._0x392409,_0x2fe6d5._0x42ab3c,-_0x2fe6d5._0x1b74e3,_0x2fe6d5._0x101563))===_0x40ed25(_0x2fe6d5._0x205de5,0x233,0x135,_0x2fe6d5._0x5d6b37))return _0x64b1b6(_0x2fe6d5._0x584d1f,_0x2fe6d5._0x57a89a,0x61b,0x762);function _0x64b1b6(_0x12b338,_0x3d4532,_0x263955,_0x4ab903){return _0x55c88d(_0x12b338-_0x3b43f5._0xeffef0,_0x263955-_0x3b43f5._0x2ebbf,_0x4ab903,_0x4ab903-_0x3b43f5._0x262c00);}const _0x4f2f3f=_0x26c6e2['extname'](_0x550f96)[_0x64b1b6(_0x2fe6d5._0x483982,_0x2fe6d5._0x1e1898,0x678,0x5dc)]();function _0x40ed25(_0x5df8b3,_0x5228e2,_0xa5dc0c,_0x1bcdd1){return _0x1e45aa(_0x5df8b3-0x152,_0x5228e2-_0x4e88fe._0x4aef50,_0x1bcdd1- -_0x4e88fe._0x4c9106,_0xa5dc0c);}if(_0x4f2f3f===_0x40ed25(_0x2fe6d5._0x55479d,0x6f,_0x2fe6d5._0x5ecae0,_0x2fe6d5._0x403dc1))return'image/png';if(_0x4f2f3f==='.jpg'||_0x4f2f3f===_0x64b1b6(0x680,_0x2fe6d5._0x11c006,0x74a,0x863))return _0x40ed25(_0x2fe6d5._0x124761,0x369,_0x2fe6d5._0x22b1e3,0x2b1);if(_0x4f2f3f==='.gif')return _0x40ed25(_0x2fe6d5._0x40c096,0x1b6,0x308,_0x2fe6d5._0x2f940b);if(_0x4f2f3f==='.webp')return _0x64b1b6(0x739,_0x2fe6d5._0x4a8ebe,_0x2fe6d5._0x54294a,0x6c8);return void 0x0;}function normalizeDetail(_0x235b0d){const _0x2c0739={_0x39134b:0xf6,_0x3df6f2:0x4a,_0x3c021e:0x1c},_0x4e4be2={_0x519267:0x145,_0x1c62b6:0x45d,_0x1b5e1b:0x10b};if(_0x235b0d===void 0x0)return void 0x0;const _0x3ba4cb=_0x235b0d['trim']()['toLowerCase']();function _0x1a851e(_0x44f694,_0x771937,_0x11c255,_0x1759c7){return _0x55c88d(_0x44f694-_0x4e4be2._0x519267,_0x11c255- -_0x4e4be2._0x1c62b6,_0x771937,_0x1759c7-_0x4e4be2._0x1b5e1b);}if(!SUPPORTED_DETAILS[_0x1a851e(-0x76,-_0x2c0739._0x39134b,_0x2c0739._0x3df6f2,_0x2c0739._0x3c021e)](_0x3ba4cb))throw new ToolExecutionError('Unsupported\x20image\x20detail\x20level:\x20'+_0x235b0d,{'detail':_0x235b0d});return _0x3ba4cb;}function createViewFileTool(_0x214f6f={}){const _0x2a8171={_0x5726b8:0x34e,_0x45b984:0x348,_0x1a7ad2:0xe0,_0x1bf71e:0x31c,_0x98700:0x2d4,_0x2de52e:0x24d,_0x1470e3:0x10b,_0x436389:0xc8,_0xaa65a5:0x8f,_0x118c6c:0x2c5,_0x4bc037:0x37f,_0xe4efe0:0x4dd,_0x17c45f:0xe7},_0x73f82d={_0x56c20a:0x2ad,_0x27326e:0x22f,_0x40c931:0x324,_0x3bf81e:0x2e1,_0x5ed5d8:0x4ff,_0x54f92e:0x66e,_0x58473d:0x355,_0x5303a7:0x2a0,_0x4d4215:0x414,_0xdd0409:0x28a,_0x3b3623:0x425,_0x56ee6b:0x668,_0x1e64f7:0x78b,_0x2c3356:0x602,_0x1df698:0x771,_0x3b5b63:0x219,_0x159458:0x48a,_0x2f203a:0x417,_0x2ce28e:0x160,_0x13b32a:0x7a,_0x5c87cd:0x6,_0x6fd7c3:0x2be,_0x4b22c9:0x320,_0x5a6e7d:0x24e,_0x5b2b48:0x3f6,_0xee2787:0x3b6,_0x2747bd:0x18c,_0x36a474:0x3c9,_0x55d44d:0x41c,_0x23d3ad:0x576,_0x3b3809:0x580,_0x5b4035:0x439,_0x2c3945:0x135,_0x4a9b36:0x249,_0x30c424:0x14e,_0x3ca1cc:0x242,_0x11113a:0x7d6,_0x48d079:0x5da,_0x5567a4:0x276,_0x5bc58a:0x153,_0x5a8fe2:0x383,_0x324472:0x409,_0x5bc149:0x2c2,_0xc41879:0x2dd,_0x5fa86:0x3b4,_0x2c7b6b:0x244,_0x1b3497:0x4fc,_0x203c35:0x46b,_0x4acc72:0x631,_0x1d2db8:0x73c,_0x3de521:0x4b3,_0xbbdd43:0x4eb,_0x2a310e:0x729,_0x2fda6f:0x3c5,_0x454b4e:0x304,_0x12f0d9:0x16f,_0x5a3030:0x61d,_0x44d549:0x681,_0x2c99ca:0x63c,_0x4fbee3:0x4d0,_0x448af2:0x756},_0x3b6357={_0x317f51:0x4e,_0xe18b41:0xa0},_0x2f36aa={_0x52891b:0x110,_0x50c874:0x742},_0x2d9120=_0x26c6e2['resolve'](_0x214f6f[_0x59dd00(0x3d2,_0x2a8171._0x5726b8,0x333,0x306)]??process[_0x59dd00(_0x2a8171._0x45b984,0x21f,_0x2a8171._0x1a7ad2,0x9e)]()),_0x24cad6=_0x214f6f['allowedDirs']??[];function _0x2a6680(_0x1c3674,_0x3cf5ea,_0x4dfbbf,_0x33faf0){return _0x1e45aa(_0x1c3674-_0x2f36aa._0x52891b,_0x3cf5ea-0x77,_0x33faf0- -_0x2f36aa._0x50c874,_0x4dfbbf);}const _0x3bfe0d=_0x214f6f[_0x59dd00(_0x2a8171._0x1bf71e,_0x2a8171._0x98700,_0x2a8171._0x2de52e,0x23d)]??DEFAULT_MAX_BYTES,_0x30ae33=_0x214f6f[_0x2a6680(-0xaf,-_0x2a8171._0x1470e3,-0x59,0x4e)]??'ViewFile';function _0x59dd00(_0x50091c,_0x5ca8a4,_0x3aa682,_0x16e6e4){return _0x1e45aa(_0x50091c-_0x3b6357._0x317f51,_0x5ca8a4-_0x3b6357._0xe18b41,_0x5ca8a4- -0x3a0,_0x3aa682);}return defineTool({'name':_0x30ae33,'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':'object','properties':{'path':{'type':_0x2a6680(_0x2a8171._0x436389,0xcb,_0x2a8171._0xaa65a5,-0x23)},'detail':{'type':_0x59dd00(_0x2a8171._0x118c6c,_0x2a8171._0x4bc037,0x26e,_0x2a8171._0xe4efe0)}},'required':[_0x2a6680(-0x12,0xcb,-_0x2a8171._0x17c45f,-0x68)]},async *'execute'(_0x1b6be2){const _0x4224b0={_0x39c7f8:0x13d,_0x4d7988:0x14b},_0x19278e=resolveAllowedPath(_0x2d9120,_0x24cad6,_0x1b6be2[_0x5eb26e(_0x73f82d._0x56c20a,_0x73f82d._0x27326e,0x192,0x141)]);await assertWorkspaceFile(_0x19278e);const _0xba9500=await _0x2d820a(_0x19278e);if(_0xba9500[_0x4978bc(0x3cb,0x336,_0x73f82d._0x40c931,_0x73f82d._0x3bf81e)]>_0x3bfe0d)throw new ToolExecutionError(_0x4978bc(_0x73f82d._0x5ed5d8,_0x73f82d._0x54f92e,0x5f2,0x4f1)+_0x1b6be2[_0x5eb26e(0x2ad,_0x73f82d._0x58473d,0x27a,_0x73f82d._0x5303a7)],{'path':_0x1b6be2[_0x5eb26e(0x2ad,_0x73f82d._0x4d4215,_0x73f82d._0xdd0409,_0x73f82d._0x3b3623)],'maxBytes':_0x3bfe0d,'size':_0xba9500['size']});const _0x3e72cf=await _0x23d847(_0x19278e);function _0x5eb26e(_0x4ece3b,_0x4845dc,_0x2e5753,_0x13be88){return _0x2a6680(_0x4ece3b-0xc0,_0x4845dc-0x7,_0x13be88,_0x4ece3b-0x315);}const _0x3f4402=detectImageMediaType(_0x3e72cf,_0x19278e);if(!_0x3f4402)throw new ToolExecutionError(_0x4978bc(_0x73f82d._0x56ee6b,_0x73f82d._0x1e64f7,_0x73f82d._0x2c3356,_0x73f82d._0x1df698)+_0x1b6be2[_0x4978bc(0x52a,0x5ec,0x5f9,0x512)],{'path':_0x1b6be2[_0x5eb26e(0x2ad,0x336,0x3c3,_0x73f82d._0x3b5b63)],'supported':[_0x4978bc(0x5ac,_0x73f82d._0x159458,0x6ad,0x606),_0x5eb26e(0x2d1,0x2c6,_0x73f82d._0x2f203a,0x300),_0x5eb26e(_0x73f82d._0x2ce28e,0x100,_0x73f82d._0x13b32a,_0x73f82d._0x5c87cd),_0x5eb26e(_0x73f82d._0x6fd7c3,_0x73f82d._0x4b22c9,_0x73f82d._0x5a6e7d,_0x73f82d._0x5b2b48),'.webp']});const _0x4a2e92=normalizeDetail(_0x1b6be2[_0x4978bc(0x4e4,0x596,0x474,_0x73f82d._0xee2787)]),_0x3bec28=['Viewed\x20image\x20file:\x20'+_0x1b6be2[_0x5eb26e(0x2ad,_0x73f82d._0x2747bd,0x42c,_0x73f82d._0x36a474)],_0x5eb26e(_0x73f82d._0x55d44d,_0x73f82d._0x23d3ad,_0x73f82d._0x3b3809,_0x73f82d._0x5b4035)+_0x3f4402,_0x5eb26e(0x135,_0x73f82d._0x2c3945,_0x73f82d._0x4a9b36,0x21)+_0xba9500[_0x5eb26e(_0x73f82d._0x30c424,0x27,_0x73f82d._0x3ca1cc,0x1ad)]+'\x20bytes']['concat'](_0x4a2e92?[_0x4978bc(0x675,_0x73f82d._0x11113a,0x6a4,_0x73f82d._0x48d079)+_0x4a2e92]:[])[_0x5eb26e(_0x73f82d._0x5567a4,0x317,_0x73f82d._0x5bc58a,_0x73f82d._0x5a8fe2)]('\x0a'),_0x688ffd=[{'type':_0x4978bc(_0x73f82d._0x324472,_0x73f82d._0x5bc149,_0x73f82d._0xc41879,0x4dd),'source':{'type':_0x5eb26e(_0x73f82d._0x5fa86,0x3af,0x3c1,_0x73f82d._0x2c7b6b),'media_type':_0x3f4402,'data':_0x3e72cf[_0x4978bc(0x51d,_0x73f82d._0x1b3497,_0x73f82d._0x203c35,0x3e7)](_0x4978bc(_0x73f82d._0x4acc72,_0x73f82d._0x1d2db8,_0x73f82d._0x3de521,_0x73f82d._0xbbdd43))}},{'type':_0x4978bc(0x5cd,0x572,0x495,_0x73f82d._0x2a310e),'text':_0x3bec28}];yield createToolOutput(_0x3bec28,{'path':_0x1b6be2['path'],'resolvedPath':_0x19278e,'created':_0xba9500[_0x4978bc(0x504,_0x73f82d._0x2fda6f,0x43f,0x3b5)]['toISOString'](),'modified':_0xba9500[_0x5eb26e(0x256,_0x73f82d._0x454b4e,0x15f,_0x73f82d._0x12f0d9)][_0x4978bc(_0x73f82d._0x5a3030,_0x73f82d._0x44d549,0x65f,_0x73f82d._0x2c99ca)](),'size':_0xba9500['size'],'mimeType':_0x3f4402,'encoding':_0x4978bc(0x631,0x592,_0x73f82d._0x4fbee3,_0x73f82d._0x448af2),..._0x4a2e92?{'detail':_0x4a2e92}:{}},_0x688ffd);function _0x4978bc(_0x15d4ae,_0x2c277c,_0x5961c9,_0x1f2422){return _0x2a6680(_0x15d4ae-_0x4224b0._0x39c7f8,_0x2c277c-_0x4224b0._0x4d7988,_0x1f2422,_0x15d4ae-0x592);}return void 0x0;}});}import _0x47dfee from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x1bb2c9=>{const _0x176ba5={_0x20a5f2:0x5da},_0x43ce2c={_0x2a5c71:0x1ab};function _0x431a8a(_0x5ee998,_0x41e531,_0x3e6986,_0x187a36){return _0x55c88d(_0x5ee998-_0x43ce2c._0x2a5c71,_0x5ee998-0x206,_0x187a36,_0x187a36-0x1ab);}const {lookup:_0x5917e7}=await import(_0x431a8a(0x621,_0x176ba5._0x20a5f2,0x517,0x5cd));return _0x5917e7(_0x1bb2c9,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x3bec12){const _0x4e84ad={_0x2529c8:0x82f,_0x526150:0x6bb,_0x1aefef:0x98b},_0x3268c4={_0x2bdf4a:0xb2},_0x297b3e={_0x24471d:0x28c,_0x51045d:0x12e},_0x134a12=_0x3bec12['split']('.');if(_0x134a12[_0x360353(_0x4e84ad._0x2529c8,0x886,0x814,_0x4e84ad._0x526150)]!==0x4)return null;function _0x61d6f(_0x2f85ff,_0x4088d6,_0x1a56dc,_0x7d1fed){return _0x55c88d(_0x2f85ff-0xeb,_0x4088d6-_0x297b3e._0x24471d,_0x7d1fed,_0x7d1fed-_0x297b3e._0x51045d);}function _0x360353(_0x3ee361,_0x3f1d13,_0x304f5c,_0x38272c){return _0x55c88d(_0x3ee361-_0x3268c4._0x2bdf4a,_0x304f5c-0x2e3,_0x3f1d13,_0x38272c-0x190);}let _0xbba1=0x0;for(const _0x377ece of _0x134a12){if(!/^\d{1,3}$/[_0x360353(0x7f5,0x754,0x842,_0x4e84ad._0x1aefef)](_0x377ece))return null;const _0x112ae1=Number(_0x377ece);if(_0x112ae1>0xff)return null;_0xbba1=_0xbba1*0x100+_0x112ae1;}return _0xbba1>>>0x0;}function isBlockedIpv4(_0x2b5884){const _0x59e84d={_0x32094a:0x158,_0x46d51e:0xb0,_0xcbc25d:0x19,_0x539557:0x27a,_0x4e57c5:0x4f,_0x3eb3a2:0x27,_0x17d52a:0xf7,_0x59ef32:0xba,_0x4eb408:0x44,_0x13b0bf:0xc6,_0x2f9cc8:0x3e,_0x117f10:0x221,_0x1c9697:0x298,_0xec916b:0x205,_0x4b3bcb:0x1d4,_0x1b6867:0xb8,_0x39c44d:0xcd,_0x20a75b:0x10f,_0x4d02c9:0x2ce,_0x40e3ee:0x2a5,_0x52cd45:0x15c},_0x10d1b2={_0x487740:0xfd,_0x17c34a:0x4a},_0x2b98b8={_0x5f9668:0x63};function _0x31e1b1(_0x1977c1,_0xd0750c,_0x110c5c,_0x3e7cb8){return _0x55c88d(_0x1977c1-_0x2b98b8._0x5f9668,_0x3e7cb8- -0x475,_0xd0750c,_0x3e7cb8-0xd9);}const _0x5dd435=ipv4ToInt(_0x2b5884);if(_0x5dd435===null)return!![];const _0xb70e14=(_0x312b8b,_0x5568bd)=>{const _0x3ac496=ipv4ToInt(_0x312b8b);if(_0x3ac496===null)return![];const _0x3759db=_0x5568bd===0x0?0x0:0xffffffff<<0x20-_0x5568bd>>>0x0;return(_0x5dd435&_0x3759db)===(_0x3ac496&_0x3759db);};function _0x4e7364(_0x4a660e,_0x13dff3,_0x5ecd13,_0x31191a){return _0x1e45aa(_0x4a660e-_0x10d1b2._0x487740,_0x13dff3-_0x10d1b2._0x17c34a,_0x5ecd13- -0x633,_0x13dff3);}return _0xb70e14(_0x31e1b1(_0x59e84d._0x32094a,0x196,_0x59e84d._0x46d51e,_0x59e84d._0xcbc25d),0x8)||_0xb70e14(_0x31e1b1(-_0x59e84d._0x539557,-0x2f,-0x5,-0x137),0x8)||_0xb70e14('100.64.0.0',0xa)||_0xb70e14(_0x4e7364(0xa8,-_0x59e84d._0x4e57c5,-_0x59e84d._0x3eb3a2,-_0x59e84d._0x17d52a),0x8)||_0xb70e14(_0x4e7364(-0x112,-0x239,-_0x59e84d._0x59ef32,_0x59e84d._0x4eb408),0x10)||_0xb70e14(_0x31e1b1(0x24,0xb6,0x18a,0x4b),0xc)||_0xb70e14(_0x4e7364(_0x59e84d._0x13b0bf,0x199,0x17,_0x59e84d._0x2f9cc8),0x18)||_0xb70e14(_0x31e1b1(-0x253,-_0x59e84d._0x117f10,-_0x59e84d._0x1c9697,-0x14d),0x10)||_0xb70e14(_0x31e1b1(-0xc5,_0x59e84d._0xec916b,_0x59e84d._0x4b3bcb,_0x59e84d._0x1b6867),0xf)||_0xb70e14(_0x4e7364(-0x6e,_0x59e84d._0x39c44d,0x1a,-_0x59e84d._0x20a75b),0x4)||_0xb70e14(_0x31e1b1(-_0x59e84d._0x4d02c9,-0x173,-_0x59e84d._0x40e3ee,-_0x59e84d._0x52cd45),0x4);}function expandIpv6(_0x329e09){const _0xd1a577={_0xd0cb16:0x41,_0x211342:0x2ab,_0x41ec8c:0x135,_0x127408:0x50,_0x2cd3c2:0xe7,_0x3e6bc4:0xf,_0x1d093e:0x23,_0x2222e8:0x209,_0x109f16:0x158,_0x3556a3:0x28d,_0x2b1e76:0x21c,_0x59ba34:0x2f3,_0x314411:0x17c,_0x4cf2db:0x95,_0x2ff955:0x176,_0x3e6c4e:0x3b3,_0x5788c9:0x1a4,_0x757093:0x27c,_0x2f0c98:0x23c,_0x14fc48:0x2bc,_0x33197b:0x47,_0x1d73b7:0x65},_0x4e4dcd={_0x52a793:0xa8,_0x569bc6:0x68a},_0x1a280={_0x548e07:0xf0,_0x1743ec:0xaf,_0xc59ae3:0x526};let _0x2ddf36=_0x329e09,_0x393657;const _0x23ec2e=_0x2ddf36[_0x3ac3ec(_0xd1a577._0xd0cb16,-0x57,-0x10,-0x9)](':');_0x2ddf36[_0x4f4004(0x50,-0x8e,0x92,-0x132)](_0x23ec2e+0x1)[_0x4f4004(0x283,0x3f9,_0xd1a577._0x211342,0x136)]('.')&&(_0x393657=_0x2ddf36[_0x4f4004(0x50,-0x98,0x17e,-_0xd1a577._0x41ec8c)](_0x23ec2e+0x1),_0x2ddf36=_0x2ddf36[_0x4f4004(_0xd1a577._0x127408,_0xd1a577._0x2cd3c2,_0xd1a577._0x3e6bc4,-0x29)](0x0,_0x23ec2e+0x1));const _0x4e482a=_0x2ddf36[_0x3ac3ec(0xea,0x51,_0xd1a577._0x1d093e,0xf8)]('::');if(_0x4e482a[_0x3ac3ec(_0xd1a577._0x2222e8,_0xd1a577._0x109f16,_0xd1a577._0x3556a3,0x128)]>0x2)return null;const _0x26ea53=_0x1f3ffa=>_0x1f3ffa[_0x3ac3ec(-0xe,0x51,-0x102,0x1bf)](':')['filter'](_0x2e054c=>_0x2e054c[_0x4f4004(0x2bc,0x1f0,0x1dc,0x392)]>0x0)[_0x3ac3ec(-0xae,0xaf,-0x6d,0x10b)](_0x561f7d=>Number[_0x4f4004(0x115,0x113,0x7c,0x1a5)](_0x561f7d,0x10));function _0x4f4004(_0x3cd403,_0x396dcd,_0x46b5b8,_0x183fe9){return _0x1e45aa(_0x3cd403-_0x1a280._0x548e07,_0x396dcd-_0x1a280._0x1743ec,_0x3cd403- -_0x1a280._0xc59ae3,_0x396dcd);}const _0x486329=_0x4e482a[0x0]?_0x26ea53(_0x4e482a[0x0]):[],_0x51c800=_0x4e482a[_0x4f4004(0x2bc,_0xd1a577._0x2b1e76,0x238,_0xd1a577._0x59ba34)]===0x2&&_0x4e482a[0x1]?_0x26ea53(_0x4e482a[0x1]):[],_0x49b170=[];if(_0x393657){const _0x28e459=ipv4ToInt(_0x393657);if(_0x28e459===null)return null;_0x49b170[_0x4f4004(_0xd1a577._0x314411,_0xd1a577._0x4cf2db,0x12d,_0xd1a577._0x2ff955)](_0x28e459>>>0x10&0xffff,_0x28e459&0xffff);}const _0x30cda4=[..._0x51c800,..._0x49b170];function _0x3ac3ec(_0x442aa2,_0x4414e4,_0x26e620,_0x53955f){return _0x1e45aa(_0x442aa2-_0x4e4dcd._0x52a793,_0x4414e4-0x12,_0x4414e4- -_0x4e4dcd._0x569bc6,_0x53955f);}const _0x1c4c28=0x8-_0x486329['length']-_0x30cda4[_0x4f4004(0x2bc,_0xd1a577._0x3e6c4e,0x315,0x1cd)];if(_0x4e482a['length']===0x1)return _0x486329[_0x3ac3ec(_0xd1a577._0x5788c9,0x158,_0xd1a577._0x757093,_0xd1a577._0x2f0c98)]+_0x30cda4[_0x4f4004(_0xd1a577._0x14fc48,0x14c,0x28a,0x3d5)]===0x8?[..._0x486329,..._0x30cda4]:null;if(_0x1c4c28<0x0)return null;return[..._0x486329,...new Array(_0x1c4c28)[_0x3ac3ec(-0x194,-_0xd1a577._0x33197b,_0xd1a577._0x1d73b7,0x113)](0x0),..._0x30cda4];}function isBlockedIpv6(_0x2d7dee){const _0x447de7={_0x2e830b:0x348,_0x2945fe:0x485,_0x5580f6:0x218,_0x3e2b51:0x1c6,_0x844d62:0x133,_0x5b535f:0x15f,_0x265304:0x1b0,_0x1fcddb:0x1,_0x442477:0x1be,_0x3821ee:0x43a,_0x3cdcda:0x43d},_0x2026e7={_0x3f9830:0x7e},_0x3df2a4={_0x4989dc:0x170},_0x71f3e8=expandIpv6(_0x2d7dee);if(!_0x71f3e8||_0x71f3e8[_0x518486(0x32c,0x393,_0x447de7._0x2e830b,_0x447de7._0x2945fe)](_0x1f5d3c=>Number[_0x1474ab(0x43,0x17,0x6e,-0x4a)](_0x1f5d3c)))return!![];const _0x309d8e=_0x71f3e8[_0x518486(_0x447de7._0x5580f6,_0x447de7._0x3e2b51,_0x447de7._0x844d62,0x140)](0x0,0x7)[_0x1474ab(_0x447de7._0x5580f6,_0x447de7._0x5b535f,_0x447de7._0x265304,0x7a)](_0x5ef27e=>_0x5ef27e===0x0);if(_0x309d8e&&(_0x71f3e8[0x7]===0x0||_0x71f3e8[0x7]===0x1))return!![];if(_0x71f3e8[_0x1474ab(-_0x447de7._0x1fcddb,-_0x447de7._0x442477,-0xc4,-0x90)](0x0,0x5)[_0x518486(0x4cd,_0x447de7._0x3821ee,_0x447de7._0x3cdcda,0x548)](_0x1e975c=>_0x1e975c===0x0)&&(_0x71f3e8[0x5]===0xffff||_0x71f3e8[0x5]===0x0)){const _0x3f1416=(_0x71f3e8[0x6]<<0x10|_0x71f3e8[0x7])>>>0x0,_0x3eef05=[_0x3f1416>>>0x18&0xff,_0x3f1416>>>0x10&0xff,_0x3f1416>>>0x8&0xff,_0x3f1416&0xff][_0x1474ab(0xe7,-0x1e,0x69,0x14d)]('.');return isBlockedIpv4(_0x3eef05);}const _0x82332e=_0x71f3e8[0x0];function _0x1474ab(_0xd42eee,_0x1a867a,_0x221159,_0x2651cd){return _0x55c88d(_0xd42eee-0x132,_0x221159- -0x389,_0xd42eee,_0x2651cd-_0x3df2a4._0x4989dc);}if((_0x82332e&0xff00)===0xfc00||(_0x82332e&0xfe00)===0xfc00)return!![];if((_0x82332e&0xffc0)===0xfe80)return!![];if((_0x82332e&0xff00)===0xff00)return!![];function _0x518486(_0x2d3c94,_0x515e86,_0x1b4a61,_0x4d1508){return _0x1e45aa(_0x2d3c94-_0x2026e7._0x3f9830,_0x515e86-0x1ba,_0x515e86- -0x3b0,_0x1b4a61);}return![];}function isBlockedAddress(_0x188627){const _0x262a5d=isIP(_0x188627);if(_0x262a5d===0x4)return isBlockedIpv4(_0x188627);if(_0x262a5d===0x6)return isBlockedIpv6(_0x188627);return!![];}async function assertPublicUrl(_0x3158a3,_0x2cb69d={}){const _0x55b9ff={_0x4d425c:0x243,_0x470cff:0x91,_0x303fc1:0x2a3,_0x2f5b69:0x7a,_0x10480b:0xf8,_0x20f495:0x19,_0x26a925:0x17d,_0x504f93:0x73,_0x28df1b:0x70,_0x30923e:0x163,_0x29fe29:0x135,_0x57c741:0x258,_0x13a89b:0x36,_0x103ca4:0x1f8,_0x205c82:0xfd,_0x1bdd6e:0x27d,_0x212c65:0x1b6,_0xd9c11f:0x39d,_0x32b7e0:0x3b3,_0x2e255d:0x277,_0x437564:0x3a0,_0x48d933:0x374,_0x141771:0x154,_0x43590b:0xc7,_0x3af218:0x201,_0x3493c0:0x2c3,_0x36db60:0x236,_0xb53cf:0x1c0,_0x23ca1e:0x1f7,_0x2bb935:0x3d0,_0x4b823b:0x441,_0xb08c2a:0x161,_0x5602b1:0x1ae,_0x594e9e:0x27f,_0x155ccb:0x1fb,_0x580e80:0xd},_0xaec24e={_0x4736d0:0x79},_0x72a127={_0x138a57:0xde,_0x1e2fae:0x5b8};let _0x1b1027;try{_0x1b1027=new URL(_0x3158a3);}catch{throw new ToolExecutionError(_0x1af247(0x271,0x1b2,_0x55b9ff._0x4d425c,0x12d),{'url':_0x3158a3});}if(_0x1b1027[_0x1af247(0x1c2,_0x55b9ff._0x470cff,0x30a,_0x55b9ff._0x303fc1)]!==_0x1af247(_0x55b9ff._0x2f5b69,_0x55b9ff._0x10480b,0xa8,_0x55b9ff._0x20f495)&&_0x1b1027[_0x1af247(0x1c2,_0x55b9ff._0x26a925,_0x55b9ff._0x504f93,0x107)]!==_0x5ef34a(0x212,_0x55b9ff._0x28df1b,0x19f,_0x55b9ff._0x30923e))throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x3158a3});if(_0x1b1027[_0x1af247(_0x55b9ff._0x29fe29,_0x55b9ff._0x57c741,-_0x55b9ff._0x13a89b,_0x55b9ff._0x103ca4)]||_0x1b1027['password'])throw new ToolExecutionError(_0x1af247(_0x55b9ff._0x205c82,_0x55b9ff._0x1bdd6e,-0x56,_0x55b9ff._0x212c65),{'url':_0x1b1027[_0x5ef34a(0x329,_0x55b9ff._0xd9c11f,0x322,_0x55b9ff._0x32b7e0)]+'//'+_0x1b1027[_0x5ef34a(_0x55b9ff._0x2e255d,_0x55b9ff._0x437564,_0x55b9ff._0x48d933,0x444)]+_0x1b1027[_0x5ef34a(0xb6,0x6e,_0x55b9ff._0x141771,0x1ab)]});const _0x575801=_0x1b1027['hostname'][_0x5ef34a(0x348,0x289,0x1d5,_0x55b9ff._0x43590b)](/^\[|\]$/g,''),_0x57b923=_0x1b1027[_0x5ef34a(0x2e9,_0x55b9ff._0x3af218,0x322,_0x55b9ff._0x3493c0)]+'//'+_0x1b1027['host']+_0x1b1027[_0x5ef34a(_0x55b9ff._0x36db60,_0x55b9ff._0xb53cf,_0x55b9ff._0x141771,0xb0)];if(isIP(_0x575801)){if(isBlockedAddress(_0x575801))throw new ToolExecutionError(_0x5ef34a(0xcc,0x113,_0x55b9ff._0x23ca1e,0x14e),{'url':_0x57b923});return _0x1b1027;}const _0x54ef84=_0x2cb69d[_0x5ef34a(0x2a7,0x2d2,_0x55b9ff._0x2bb935,0x532)]??defaultLookup;let _0x364681;try{_0x364681=await _0x54ef84(_0x575801);}catch{throw new ToolExecutionError(_0x5ef34a(0x2f8,0x2ab,0x1ae,0x2ad),{'url':_0x57b923});}if(_0x364681[_0x5ef34a(_0x55b9ff._0x4b823b,0x42d,0x38a,0x2b3)]===0x0)throw new ToolExecutionError(_0x5ef34a(_0x55b9ff._0xb08c2a,0x2d5,_0x55b9ff._0x5602b1,_0x55b9ff._0x594e9e),{'url':_0x57b923});function _0x1af247(_0x13ceee,_0xe3185f,_0x1367ab,_0x37e724){return _0x1e45aa(_0x13ceee-_0x72a127._0x138a57,_0xe3185f-0x162,_0x13ceee- -_0x72a127._0x1e2fae,_0x1367ab);}for(const {address:_0x48eca4}of _0x364681){if(isBlockedAddress(_0x48eca4))throw new ToolExecutionError(_0x5ef34a(_0x55b9ff._0x155ccb,_0x55b9ff._0x36db60,0x158,-_0x55b9ff._0x580e80),{'url':_0x57b923});}function _0x5ef34a(_0x5cfc9e,_0x4e5a70,_0x1a9485,_0x4bde45){return _0x55c88d(_0x5cfc9e-0x11c,_0x1a9485- -0x1a7,_0x4e5a70,_0x4bde45-_0xaec24e._0x4736d0);}return _0x1b1027;}async function safeFetch(_0x4ba3ec,_0x3b4533={},_0x180042={}){const _0x2d9230={_0x58990f:0x725,_0xfe7b8c:0x5e3,_0x3d45e7:0x612,_0x3ec505:0x4b3,_0x2777ba:0x594,_0x45b40e:0x4f0,_0x216bdd:0x593,_0x142adf:0x45d,_0x5f2731:0x3fe,_0x4e2ffa:0x580,_0x32cd96:0x4c9,_0x5dd2f3:0x4dd,_0x4bb1ce:0x4c0,_0x20d6c1:0x520,_0x3bdab8:0x4b0,_0x25027f:0x3de,_0x136a20:0x37c,_0x488e92:0x38e,_0x401fd7:0x288,_0x24b3a9:0x38f,_0x786fd:0x567,_0x2e901:0x5bc},_0x4877b4={_0x315750:0x178,_0x2736bb:0x263},_0x5a12a1={_0x5de40e:0x101,_0x306bfa:0x155};function _0x55b7bd(_0x5edfd0,_0x145268,_0x1b923b,_0x35b4e3){return _0x1e45aa(_0x5edfd0-_0x5a12a1._0x5de40e,_0x145268-_0x5a12a1._0x306bfa,_0x1b923b- -0x33e,_0x5edfd0);}const _0x406078=_0x180042['fetchImpl']??fetch,_0x16b5a4=_0x180042[_0x6b1ad4(0x5b9,_0x2d9230._0x58990f,0x51d,_0x2d9230._0xfe7b8c)]??DEFAULT_MAX_REDIRECTS;let _0x4afccd=_0x4ba3ec;function _0x6b1ad4(_0x1b6e9d,_0x5b44f1,_0x4a2377,_0x49500c){return _0x1e45aa(_0x1b6e9d-_0x4877b4._0x315750,_0x5b44f1-0x13e,_0x49500c- -_0x4877b4._0x2736bb,_0x5b44f1);}for(let _0x49754f=0x0;;_0x49754f+=0x1){const _0x3cd91c=await assertPublicUrl(_0x4afccd,_0x180042),_0x1d65c1=await _0x406078(_0x3cd91c['toString'](),{..._0x3b4533,'redirect':_0x6b1ad4(_0x2d9230._0x3d45e7,_0x2d9230._0x3ec505,_0x2d9230._0x2777ba,0x4b3)}),_0x41778=_0x1d65c1[_0x55b7bd(_0x2d9230._0x45b40e,_0x2d9230._0x216bdd,_0x2d9230._0x142adf,0x379)][_0x6b1ad4(0x6cf,_0x2d9230._0x5f2731,0x5c1,_0x2d9230._0x4e2ffa)](_0x6b1ad4(0x3bd,0x4d2,0x379,_0x2d9230._0x32cd96));if(!REDIRECT_STATUSES[_0x6b1ad4(0x5b4,_0x2d9230._0x5dd2f3,0x5a7,0x4f5)](_0x1d65c1[_0x55b7bd(_0x2d9230._0x4bb1ce,0x502,_0x2d9230._0x20d6c1,_0x2d9230._0x3bdab8)])||!_0x41778)return _0x1d65c1;if(_0x49754f>=_0x16b5a4)throw new ToolExecutionError(_0x55b7bd(0x364,_0x2d9230._0x25027f,0x327,_0x2d9230._0x136a20),{'url':_0x3cd91c[_0x55b7bd(_0x2d9230._0x488e92,_0x2d9230._0x401fd7,_0x2d9230._0x24b3a9,0x326)]()});_0x4afccd=new URL(_0x41778,_0x3cd91c)[_0x6b1ad4(0x586,_0x2d9230._0x786fd,_0x2d9230._0x2e901,0x46a)]();}}var USER_AGENT=_0x1e45aa(0x885,0x70c,0x7a2,0x6c1),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x23331d,_0x48120e){const _0x23d496={_0x3baf82:0x12a,_0x1bc3b8:0x267,_0x427934:0x29a,_0x54c829:0x1d,_0x1e7dd3:0x11},_0x20d195={_0x3774fe:0x179,_0x27f3a0:0x126,_0x288207:0xc5},_0x5a09ed={_0x3311c5:0x12b},_0x4f8385={_0x4aee70:0x3d2,_0x46cab7:0x6},_0x1bd1bd={_0x4e56dc:0xab,_0x4373af:0x4bb};function _0x700ff0(_0x13488a,_0x23a62c,_0x376b5f,_0x52ee0c){return _0x55c88d(_0x13488a-_0x1bd1bd._0x4e56dc,_0x23a62c- -_0x1bd1bd._0x4373af,_0x13488a,_0x52ee0c-0x5d);}const _0x3b00a1=new AbortController(),_0x7bce5a=setTimeout(()=>_0x3b00a1[_0x3a0490(0x24b,0x12a,0x237,-0x34)](new Error(_0x700ff0(0xa6,-0xbc,-0xfa,-0x1f8))),_0x48120e),_0x5b601a=()=>_0x3b00a1[_0x3a0490(-0x19,0x12a,0x23d,0x21e)](_0x23331d[_0x700ff0(0xe2,-0x7a,-0x191,-0x144)]);_0x23331d['aborted']?_0x3b00a1[_0x3a0490(0x127,_0x23d496._0x3baf82,_0x23d496._0x1bc3b8,_0x23d496._0x427934)](_0x23331d[_0x3a0490(0x62,0x6f,0x8f,-0x5e)]):_0x23331d[_0x700ff0(-0x150,-0xc8,-_0x23d496._0x54c829,-_0x23d496._0x1e7dd3)](_0x3a0490(0x72,0x12a,0x22d,0x203),_0x5b601a,{'once':!![]});function _0x3a0490(_0x2ed2c5,_0x3d1d99,_0x2dc07b,_0x3fc462){return _0x55c88d(_0x2ed2c5-0x148,_0x3d1d99- -_0x4f8385._0x4aee70,_0x2dc07b,_0x3fc462-_0x4f8385._0x46cab7);}return{'signal':_0x3b00a1[_0x700ff0(0x13f,0xfa,0xe1,-0x5a)],'cleanup':()=>{const _0x501b7d={_0x508875:0x147};clearTimeout(_0x7bce5a);function _0x59970c(_0x7d3fa,_0x470c1f,_0x3636c3,_0x5677b2){return _0x700ff0(_0x5677b2,_0x7d3fa-0x696,_0x3636c3-_0x5a09ed._0x3311c5,_0x5677b2-0x44);}function _0x43726a(_0x21d9f3,_0x45227c,_0x2c9efb,_0x2711bf){return _0x700ff0(_0x21d9f3,_0x2c9efb-0xe5,_0x2c9efb-0x7c,_0x2711bf-_0x501b7d._0x508875);}_0x23331d[_0x43726a(-_0x20d195._0x3774fe,-_0x20d195._0x27f3a0,-0x45,_0x20d195._0x288207)](_0x43726a(0xc6,0x6d,0x126,0xd2),_0x5b601a);}};}function createWebFetchTool(_0x16750e={}){const _0x388117={_0x44d344:0x248,_0x29709d:0x181,_0x158440:0x7d,_0x51147a:0xc0,_0x325d91:0x2f7,_0x2cbdbd:0x273,_0xe868ce:0x24e,_0x56dcc6:0x2aa,_0x4979c9:0xaf,_0x19fc01:0x2d,_0x23f0a5:0x7b,_0x2d387f:0x71,_0x257513:0x168,_0x2a53b0:0x20f,_0x121a35:0x268,_0x2e7551:0xa5,_0x4c768d:0x31c,_0x4f6f09:0x199,_0x22600f:0x2c3,_0x52800a:0x2c5,_0x81611f:0x1ae,_0x1713ac:0x2e4,_0x39d651:0xaa,_0x49c73a:0xf8,_0x3b3c5d:0x8e,_0x1101cf:0x2f4,_0xc2c2f8:0xbb,_0x24fd70:0x23d,_0x1ca22f:0xf5,_0x5e9431:0x264,_0x77b786:0x2a3,_0x21b5d6:0x2ec,_0x200f62:0x27b},_0x4445c2={_0x56ad62:0x722,_0x5e13a4:0x4d9,_0x247258:0x75a,_0x9b13e7:0x68a,_0x3bcea3:0x621,_0xa6c018:0x6b2,_0x2e5ead:0x752,_0x1b3d89:0x77f,_0x246223:0x6d9,_0x575742:0x76f,_0x36c769:0x6c9,_0x594978:0x68a,_0x231441:0x862,_0x5b1df4:0x637,_0x55ba64:0x670,_0xff8941:0x68f,_0x1bf38f:0x5d7,_0x2eca83:0x6d3,_0x9716b9:0x578,_0x2f8654:0x508,_0x3e3637:0x51e,_0x3fa3d9:0x8d3,_0x1a175a:0x794,_0xc13167:0x5c5,_0x71799f:0x4fc,_0x596161:0x428,_0x7939d4:0x833,_0x5c6dcd:0x6c1,_0x1e80c6:0x646,_0x2ead07:0x69d,_0x4f11f4:0x6ac,_0x538c82:0x746,_0x30846c:0x538,_0x18a267:0x54d,_0x21e4bd:0x68c,_0x4a4dcd:0x3fb,_0x465779:0x411,_0xf887:0x51f,_0x27b0bf:0x5ef,_0x3fea79:0x699,_0x36c0d5:0x519,_0x515f0b:0x6bc,_0x9c7f3d:0x5a8,_0xac0a42:0x4e7,_0x1d549c:0x6b7,_0x587e1d:0x55c,_0xb9cdcc:0x6e4,_0x12e5e9:0x537,_0x312e73:0x4bd,_0x1c8b16:0x5a6,_0x4b61a4:0x66d,_0x15c771:0x698},_0x29e8ed={_0x4ee3bb:0x2f6,_0x21ea68:0x24},_0x3d9e03=_0x16750e[_0x2d66c6(0xb2,0x1e9,_0x388117._0x44d344,_0x388117._0x29709d)]??_0x35f711(-_0x388117._0x158440,_0x388117._0x51147a,-0xb,-0x3b),_0x4fa7ef=_0x16750e[_0x35f711(_0x388117._0x325d91,0x237,0x31b,_0x388117._0x2cbdbd)]??DEFAULT_TIMEOUT_MS2,_0x396700=_0x16750e[_0x35f711(0x411,0x346,0x308,0x2a0)];function _0x2d66c6(_0x27f23e,_0x2c9518,_0xbb6315,_0x926356){return _0x55c88d(_0x27f23e-0x190,_0x2c9518- -_0x29e8ed._0x4ee3bb,_0x926356,_0x926356-_0x29e8ed._0x21ea68);}const _0x5d80d1=new _0x47dfee({'headingStyle':'atx','codeBlockStyle':_0x35f711(0x115,_0x388117._0xe868ce,_0x388117._0x56dcc6,0x2ae),'bulletListMarker':'-'});_0x5d80d1[_0x2d66c6(-0xbb,_0x388117._0x4979c9,-_0x388117._0x19fc01,0x1b7)]([_0x2d66c6(_0x388117._0x23f0a5,0x74,0x1be,-_0x388117._0x2d387f),_0x35f711(_0x388117._0x257513,_0x388117._0x2a53b0,0x161,_0x388117._0x121a35),_0x2d66c6(0x146,-0x33,_0x388117._0x2e7551,-0xe2),_0x35f711(0x3da,0x37e,_0x388117._0x4c768d,0x3d6),_0x2d66c6(_0x388117._0x4f6f09,_0x388117._0x22600f,_0x388117._0x52800a,0x193),'footer',_0x2d66c6(0x265,0x29b,_0x388117._0x81611f,0x28d),_0x35f711(0x2eb,0x2e0,0x378,_0x388117._0x1713ac)]);function _0x35f711(_0x5b5a55,_0x5f4f2f,_0x1e564a,_0xa9064b){return _0x1e45aa(_0x5b5a55-0x69,_0x5f4f2f-0x9f,_0x5f4f2f- -0x4e2,_0x5b5a55);}return defineTool({'name':_0x3d9e03,'description':_0x2d66c6(0x14b,0x51,-_0x388117._0x39d651,-_0x388117._0x49c73a),'inputSchema':{'type':_0x35f711(_0x388117._0x3b3c5d,0x126,0x9e,0x13c),'properties':{'description':{'type':_0x2d66c6(_0x388117._0x1101cf,0x178,_0x388117._0xc2c2f8,0x1d2)},'url':{'type':_0x35f711(0xce,_0x388117._0x24fd70,_0x388117._0x1ca22f,_0x388117._0x5e9431)}},'required':[_0x35f711(_0x388117._0x77b786,_0x388117._0x21b5d6,0x3d3,_0x388117._0x200f62)]},async *'execute'(_0xbcb91e,_0x3129a6){const _0x3c03ce={_0x4818af:0x23,_0x4f6192:0x497,_0x45ff59:0x120},_0x24a18d=(await assertPublicUrl(_0xbcb91e['url'],{'lookup':_0x396700}))[_0x3d7b7c(_0x4445c2._0x56ad62,_0x4445c2._0x5e13a4,0x46d,0x5c1)]();if(_0x3129a6[_0x3d7b7c(0x8c1,0x700,0x75e,_0x4445c2._0x247258)][_0x2efb0f(0x5f2,_0x4445c2._0x9b13e7,0x5bb,0x567)])throw new ToolExecutionError(_0x2efb0f(0x6e1,0x5b4,0x44a,0x578),{'url':_0x24a18d});const _0x180414=createTimeoutSignal(_0x3129a6['signal'],_0x4fa7ef);let _0x4bd96d='',_0x2a3323=0x0;function _0x3d7b7c(_0xe60f89,_0x41c8aa,_0x41531b,_0x498429){return _0x35f711(_0x41c8aa,_0x498429-0x3d6,_0x41531b-0x2b,_0x498429-0x7a);}let _0x32503d;try{const _0xa22c80=await safeFetch(_0x24a18d,{'headers':{'User-Agent':USER_AGENT},'signal':_0x180414['signal']},{'lookup':_0x396700});if(!_0xa22c80['ok'])throw new ToolExecutionError('HTTP\x20'+_0xa22c80[_0x3d7b7c(0x79e,_0x4445c2._0x3bcea3,_0x4445c2._0xa6c018,_0x4445c2._0x2e5ead)]+'\x20'+_0xa22c80[_0x2efb0f(_0x4445c2._0x1b3d89,_0x4445c2._0x246223,_0x4445c2._0x575742,_0x4445c2._0x36c769)],{'url':_0x24a18d,'statusCode':_0xa22c80[_0x3d7b7c(_0x4445c2._0x594978,0x724,_0x4445c2._0x231441,0x752)]});_0x4bd96d=_0xa22c80[_0x3d7b7c(_0x4445c2._0x5b1df4,0x51e,_0x4445c2._0x55ba64,_0x4445c2._0xff8941)][_0x2efb0f(_0x4445c2._0x1bf38f,_0x4445c2._0x2eca83,0x582,0x5c4)](_0x3d7b7c(_0x4445c2._0x9716b9,0x3d7,_0x4445c2._0x2f8654,_0x4445c2._0x3e3637))??'',_0x2a3323=_0xa22c80[_0x2efb0f(0x6f9,0x74e,_0x4445c2._0x3fa3d9,0x7c2)],_0x32503d=await _0xa22c80[_0x2efb0f(_0x4445c2._0x1a175a,0x66d,_0x4445c2._0xc13167,0x5eb)]();}catch(_0x1bd209){if(_0x1bd209 instanceof ToolExecutionError)throw _0x1bd209;const _0x27f4ef=_0x1bd209 instanceof Error?_0x1bd209['message']:String(_0x1bd209);throw new ToolExecutionError(_0x27f4ef,{'url':_0x24a18d});}finally{_0x180414[_0x2efb0f(_0x4445c2._0x71799f,0x4f1,0x621,_0x4445c2._0x596161)]();}const _0x57ea8d=new Date()[_0x3d7b7c(0x7c6,_0x4445c2._0x7939d4,0x74f,_0x4445c2._0x5c6dcd)]();function _0x2efb0f(_0x640297,_0xba362b,_0x36416f,_0x1b5728){return _0x2d66c6(_0x640297-_0x3c03ce._0x4818af,_0xba362b-_0x3c03ce._0x4f6192,_0x36416f-_0x3c03ce._0x45ff59,_0x36416f);}let _0x3dee06,_0xfd597f;if(_0x4bd96d[_0x3d7b7c(0x599,_0x4445c2._0x1e80c6,0x7a3,_0x4445c2._0x2ead07)](_0x3d7b7c(0x7bd,0x812,_0x4445c2._0x4f11f4,_0x4445c2._0x538c82)))_0x3dee06=_0x3d7b7c(0x7cc,_0x4445c2._0x30846c,_0x4445c2._0x18a267,_0x4445c2._0x21e4bd)+_0x32503d+_0x3d7b7c(_0x4445c2._0x4a4dcd,_0x4445c2._0x465779,0x430,_0x4445c2._0xf887),_0xfd597f=_0x2efb0f(0x75f,_0x4445c2._0x27b0bf,0x661,0x57e);else _0x4bd96d[_0x2efb0f(0x5bd,_0x4445c2._0x3fea79,_0x4445c2._0x36c0d5,_0x4445c2._0x515f0b)](_0x3d7b7c(0x6b5,_0x4445c2._0x9c7f3d,0x57b,0x5ad))?(_0x3dee06=_0x5d80d1[_0x3d7b7c(_0x4445c2._0xac0a42,_0x4445c2._0x1d549c,0x3df,_0x4445c2._0x587e1d)](_0x32503d),_0xfd597f=_0x3d7b7c(_0x4445c2._0xb9cdcc,_0x4445c2._0x12e5e9,_0x4445c2._0x312e73,_0x4445c2._0x1c8b16)):(_0x3dee06=_0x32503d,_0xfd597f=_0x2efb0f(0x635,_0x4445c2._0x4b61a4,0x6ea,_0x4445c2._0x15c771));return yield createToolOutput(_0x3dee06,{'url':_0x24a18d,'contentType':_0x4bd96d,'statusCode':_0x2a3323,'format':_0xfd597f,'size':_0x32503d['length'],'fetchedAt':_0x57ea8d}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x1e45aa(0x42a,0x6eb,0x5a4,0x579);function normalizeUrl(_0x3872e9){const _0x1ff0e6={_0x4f8d55:0x230,_0x3b1ad4:0x107,_0x4cf88c:0x22f,_0x5eaf1b:0x206,_0x153bf6:0x11d,_0x1ab8f0:0x1b9,_0x3bfbd0:0x1e1,_0x2a8733:0x357,_0x2eec55:0x381,_0x2b6117:0xc8,_0x3fa291:0x88,_0x23cf0e:0x5d,_0x37d724:0xa3},_0x3f2db0={_0x111478:0x1c7,_0x353edd:0x5d6},_0x53e82f={_0x4c46f4:0xc7,_0x21b98b:0x11d,_0x1e61e9:0x4cd};function _0x54e723(_0x3f4c56,_0x4f31e4,_0x74ba3c,_0x37f2da){return _0x1e45aa(_0x3f4c56-_0x53e82f._0x4c46f4,_0x4f31e4-_0x53e82f._0x21b98b,_0x4f31e4- -_0x53e82f._0x1e61e9,_0x3f4c56);}function _0x44be6b(_0x2d932f,_0x3112d6,_0x358c5c,_0x2b7485){return _0x1e45aa(_0x2d932f-0x112,_0x3112d6-_0x3f2db0._0x111478,_0x2b7485- -_0x3f2db0._0x353edd,_0x3112d6);}try{const _0x4f9d21=new URL(_0x3872e9);for(const _0x1e54b9 of[_0x44be6b(_0x1ff0e6._0x4f8d55,0x23c,0x8d,_0x1ff0e6._0x3b1ad4),_0x44be6b(0xc0,0x3a1,0x153,_0x1ff0e6._0x4cf88c),_0x44be6b(0x1b4,-0xc,-0x38,0x8d),_0x44be6b(0x1b9,_0x1ff0e6._0x5eaf1b,0xe2,0x17a),'utm_content',_0x44be6b(_0x1ff0e6._0x153bf6,0x202,0x27a,_0x1ff0e6._0x1ab8f0),_0x44be6b(0x279,0x283,_0x1ff0e6._0x3bfbd0,0x27f),_0x54e723(0x3df,_0x1ff0e6._0x2a8733,_0x1ff0e6._0x2eec55,0x473),_0x54e723(0x166,_0x1ff0e6._0x2b6117,0x99,0x135)]){_0x4f9d21['searchParams']['delete'](_0x1e54b9);}return _0x4f9d21[_0x44be6b(_0x1ff0e6._0x3fa291,_0x1ff0e6._0x23cf0e,_0x1ff0e6._0x37d724,0xf7)]();}catch{return _0x3872e9;}}function cseDateRestrict(_0x209873){const _0x56a11c={_0x51479f:0x195,_0xbf46fc:0x2bd,_0x7cb028:0x1da,_0x186d76:0x1b8,_0x5801d6:0x36f,_0x5b3bba:0x394,_0x470489:0x185,_0x4212d3:0x1ff,_0x5906de:0x4c6},_0x43d0b4={_0x1d611e:0x4c,_0x3fb0d5:0x175},_0x3749d1={_0x489bee:0x25};if(_0x209873<=0x0)return void 0x0;function _0x3e767c(_0x4560e3,_0x2322d8,_0x42a5cc,_0x4b4c1b){return _0x1e45aa(_0x4560e3-0x7b,_0x2322d8-_0x3749d1._0x489bee,_0x4b4c1b- -0x479,_0x4560e3);}if(_0x209873<=0x1e)return'd'+Math[_0x3e767c(_0x56a11c._0x51479f,_0x56a11c._0xbf46fc,_0x56a11c._0x7cb028,_0x56a11c._0x186d76)](0x1,Math[_0x220461(0x33c,_0x56a11c._0x5801d6,_0x56a11c._0x5b3bba,0x4eb)](_0x209873));function _0x220461(_0x3006ab,_0x5ba376,_0x36805a,_0x465b17){return _0x55c88d(_0x3006ab-0x1c5,_0x36805a-_0x43d0b4._0x1d611e,_0x5ba376,_0x465b17-_0x43d0b4._0x3fb0d5);}if(_0x209873<=0x16d)return'm'+Math[_0x3e767c(0x192,0x347,_0x56a11c._0x470489,_0x56a11c._0x4212d3)](_0x209873/0x1e);return'y'+Math[_0x220461(_0x56a11c._0x5906de,0x44d,0x413,0x46c)](_0x209873/0x16d);}function addSiteFilters(_0xa6c6a0,_0x46ed52){const _0x4316fb={_0x1b94a0:0x3a,_0x2490c0:0x115,_0x29ed7c:0x1ec,_0x516cd2:0xd0,_0x4a061f:0xd0,_0x1ab979:0xcf,_0x131b9a:0x17d,_0x436faf:0x269,_0x29a9f9:0x278},_0x8e5ef1={_0x4eaf2e:0x116},_0x3a9f31={_0x34dcce:0x6,_0x287b82:0x94};if(_0x46ed52['length']===0x0)return _0xa6c6a0['trim']();function _0x5cc8be(_0x4e062d,_0x4fb5d8,_0x4a56fe,_0x2d1772){return _0x1e45aa(_0x4e062d-_0x3a9f31._0x34dcce,_0x4fb5d8-_0x3a9f31._0x287b82,_0x4a56fe- -0x538,_0x2d1772);}function _0xb497a3(_0x17b605,_0x36d2ee,_0x287c26,_0x1f8845){return _0x55c88d(_0x17b605-_0x8e5ef1._0x4eaf2e,_0x36d2ee- -0x4c2,_0x17b605,_0x1f8845-0x100);}return(_0xa6c6a0+'\x20('+_0x46ed52[_0xb497a3(0xa1,-_0x4316fb._0x1b94a0,_0x4316fb._0x2490c0,-0x7f)](_0x45cc1b=>_0xb497a3(-0x1ad,-0x1bd,-0x318,-0x183)+_0x45cc1b)[_0xb497a3(-_0x4316fb._0x29ed7c,-_0x4316fb._0x516cd2,-_0x4316fb._0x4a061f,-0xbb)](_0xb497a3(_0x4316fb._0x1ab979,0xc,0x109,0x6e))+')')[_0x5cc8be(_0x4316fb._0x131b9a,0x26e,_0x4316fb._0x436faf,_0x4316fb._0x29a9f9)]();}function normalizeType(_0x1e24f7){const _0x9f5523={_0x4b17cb:0x361,_0x5e57d5:0x31d,_0x191bc5:0x1e8,_0x15adbb:0xcb,_0x58653c:0x1e8,_0x104ff9:0x27e,_0x52513a:0x41f,_0x28bdd5:0x2f0,_0x20a3c5:0x353},_0x5d4301={_0xd30cd2:0xd4,_0xf8c324:0x1c9},_0x6f75a={_0x1628d9:0x9f,_0x2a37a3:0x16b};function _0x119026(_0x2be911,_0x5484a8,_0x10b35b,_0x25efca){return _0x55c88d(_0x2be911-0xc5,_0x10b35b- -_0x6f75a._0x1628d9,_0x5484a8,_0x25efca-_0x6f75a._0x2a37a3);}function _0x8fdb68(_0x353366,_0x2604d1,_0x44271e,_0x10d5df){return _0x55c88d(_0x353366-_0x5d4301._0xd30cd2,_0x10d5df- -_0x5d4301._0xf8c324,_0x353366,_0x10d5df-0x137);}return _0x1e24f7===_0x8fdb68(_0x9f5523._0x4b17cb,_0x9f5523._0x5e57d5,0x356,_0x9f5523._0x191bc5)?_0x8fdb68(0x1dd,0x16a,_0x9f5523._0x15adbb,_0x9f5523._0x58653c):_0x119026(_0x9f5523._0x104ff9,_0x9f5523._0x52513a,_0x9f5523._0x28bdd5,_0x9f5523._0x20a3c5);}async function fetchJson(_0x404aa2,_0x1f5537,_0x2451e4){const _0x1a524a={_0x1457fd:0x12f,_0x2f3d83:0xe3,_0x341cbf:0x600,_0x3f69c5:0x4d5,_0x3bfb4e:0x438,_0x3f8c47:0x23f,_0x397f46:0x535,_0x50ad70:0x435,_0x36f680:0x65c,_0x3a435d:0x4e7,_0x452c1d:0x549,_0x547acf:0x1ae,_0x2cde26:0xe0,_0x63d875:0x39,_0x11dfac:0x431,_0x4fe8b9:0x2cd,_0x16bbc2:0x34c,_0x221063:0x443,_0xcbb63f:0x54e,_0x28e286:0x481,_0x478b96:0x3e4,_0x225468:0x40e,_0xc58b8a:0x5f6,_0x589adc:0x5ff,_0x238f11:0x46a,_0x2db818:0x604,_0x2f7704:0x5ab,_0x347eba:0x56a,_0x3c4d14:0x7a,_0x1621b6:0x29,_0x33f7a4:0xef,_0x48f447:0x15d,_0x5157ef:0x46},_0x30a7c4={_0x53bc71:0x76f},_0x539d85={_0x1253c2:0x17c},_0x58cefb=await fetch(_0x404aa2,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x5bbd33(_0x1a524a._0x1457fd,-0x5d,_0x1a524a._0x2f3d83,0xbf),..._0x2451e4?.[_0x5d6703(0x4d8,_0x1a524a._0x341cbf,0x568,0x53c)]},'signal':_0x1f5537,..._0x2451e4});if(!_0x58cefb['ok']){let _0x314397,_0x515997;try{_0x314397=await _0x58cefb[_0x5d6703(0x6a3,_0x1a524a._0x3f69c5,_0x1a524a._0x3bfb4e,0x51e)]();const _0x1bab6e=JSON['parse'](_0x314397),_0x3c383c=typeof _0x1bab6e[_0x5d6703(0x48e,0x4c4,0x549,0x435)]===_0x5d6703(_0x1a524a._0x3f8c47,0x29a,0x45e,0x3a9)?_0x1bab6e[_0x5d6703(_0x1a524a._0x397f46,0x589,0x3dd,_0x1a524a._0x50ad70)][_0x5d6703(_0x1a524a._0x36f680,0x6ce,_0x1a524a._0x3a435d,_0x1a524a._0x452c1d)]:void 0x0;_0x515997=_0x1bab6e[_0x5bbd33(_0x1a524a._0x547acf,_0x1a524a._0x2cde26,_0x1a524a._0x63d875,0x144)]?.[_0x5d6703(_0x1a524a._0x11dfac,_0x1a524a._0x4fe8b9,0x2a8,_0x1a524a._0x16bbc2)]??_0x1bab6e[_0x5bbd33(-0x47,-0xa6,_0x1a524a._0x63d875,0x6f)]?.[_0x5d6703(0x32f,_0x1a524a._0x221063,_0x1a524a._0xcbb63f,_0x1a524a._0x28e286)]?.[0x0]?.[_0x5d6703(0x31a,_0x1a524a._0x478b96,0x21e,0x34c)]??_0x3c383c;}catch{}const _0x2a99ed=_0x515997?_0x5d6703(0x561,_0x1a524a._0x225468,0x48c,0x56a)+_0x58cefb[_0x5d6703(_0x1a524a._0xc58b8a,0x69f,0x5a6,_0x1a524a._0x589adc)]+':\x20'+_0x515997:_0x5d6703(_0x1a524a._0x238f11,_0x1a524a._0x2db818,_0x1a524a._0x2f7704,_0x1a524a._0x347eba)+_0x58cefb['status']+'\x20'+_0x58cefb[_0x5bbd33(0x130,-0xf5,_0x1a524a._0x3c4d14,0x5e)];throw new ToolExecutionError(_0x2a99ed,{'statusCode':_0x58cefb[_0x5bbd33(0x183,-_0x1a524a._0x1621b6,_0x1a524a._0x33f7a4,0x69)],..._0x314397?{'body':_0x314397}:{}});}function _0x5d6703(_0x50b84c,_0x524402,_0x4c31a7,_0x4a05bc){return _0x55c88d(_0x50b84c-0x167,_0x4a05bc-0x52,_0x4c31a7,_0x4a05bc-_0x539d85._0x1253c2);}function _0x5bbd33(_0x28b883,_0x46a304,_0x395037,_0x4edafc){return _0x1e45aa(_0x28b883-0x191,_0x46a304-0x9b,_0x395037- -_0x30a7c4._0x53bc71,_0x28b883);}return await _0x58cefb[_0x5bbd33(-0xa9,-_0x1a524a._0x48f447,-0x70,-_0x1a524a._0x5157ef)]();}async function hydrateResults(_0x3a6d4e,_0x111108,_0x1858b2,_0x29b781){const _0x48ef83={_0x20b03c:0x636,_0xbaa2d0:0x62f,_0x2c8277:0x526,_0x3f515a:0x419,_0x246dcc:0x3f2,_0x5111ba:0x658,_0xe78128:0x518,_0x1c6cb2:0x51a,_0x57393e:0x8,_0x356d40:0x1c,_0x215631:0x142,_0x1d65ff:0x110,_0x2ee19d:0x29c,_0x11ede9:0x602},_0x2ca4ac={_0x580d02:0x79,_0x4e3f3d:0x592},_0x64ae98={_0x3409b2:0x7f,_0x470622:0x92},_0x2c3e9c={_0x2da4a6:0x16,_0x388ab6:0x1de,_0x36099c:0xb3,_0x16be17:0xe9,_0x17fb60:0x141,_0x828f51:0xf6,_0x4bb20c:0xaf,_0x22814e:0x8d,_0x4233a6:0x1e,_0x33b87c:0x20a,_0x2ff9d1:0x209,_0x4f5a5e:0xc2,_0x306ab9:0xd1,_0x20d44e:0x101,_0x477617:0xc1,_0x25c4ef:0x7a,_0x3af0cd:0x8d,_0xfd04f2:0x4,_0x448f39:0xe3,_0x186d44:0x99,_0x27162b:0x6d,_0x55f283:0x160,_0x5ce5d4:0x45,_0x1e8240:0x31,_0x1bbd52:0xe0,_0x2f2689:0xf9,_0x290607:0x182,_0x3fdd82:0x2a,_0x1f5639:0x5b,_0x1b8cd4:0x1ac,_0x5a34b8:0xd,_0x52aed4:0xe6,_0x396ebe:0x5e,_0x2e5cbe:0xaa,_0x3582ff:0x15d,_0x595a26:0x1f1,_0x593f0d:0x1bd,_0x5a32ab:0x79,_0x528273:0x119,_0x5b8d85:0x2e,_0x46eaa4:0xe6,_0x512179:0x11f,_0x541fe3:0x36,_0x416d51:0x173,_0x531230:0x6a,_0x5ba382:0x59,_0x12214b:0x12e,_0x5fd9b3:0x12,_0x4809ce:0x20f,_0x43589f:0x55,_0x440c95:0x205},_0x22f854={_0xde6ea:0x10e},_0xb19562=await Promise[_0x443ccf(_0x48ef83._0x20b03c,_0x48ef83._0xbaa2d0,_0x48ef83._0x2c8277,0x50c)](_0x3a6d4e[_0x443ccf(_0x48ef83._0x3f515a,0x495,0x422,_0x48ef83._0x246dcc)](0x0,0xa)[_0x443ccf(0x578,_0x48ef83._0x5111ba,_0x48ef83._0xe78128,_0x48ef83._0x1c6cb2)](async _0x3868c9=>{const _0x3759ea={_0x1a4422:0x1ef};function _0x47b0ea(_0x198cb8,_0x99e25f,_0x41b0af,_0x5ade95){return _0x4ed0b4(_0x198cb8-0x5,_0x5ade95- -_0x22f854._0xde6ea,_0x99e25f,_0x5ade95-0x2e);}function _0xd6f95e(_0x34af55,_0x377ac5,_0x24b97d,_0x5dfeba){return _0x4ed0b4(_0x34af55-0x1b3,_0x5dfeba- -0x129,_0x377ac5,_0x5dfeba-_0x3759ea._0x1a4422);}try{const _0x59cff5=await safeFetch(_0x3868c9[_0x47b0ea(_0x2c3e9c._0x2da4a6,_0x2c3e9c._0x388ab6,-0x33,0x12e)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x111108,'Accept':_0xd6f95e(_0x2c3e9c._0x36099c,0xd1,-0x11f,-0x2)},'signal':_0x1858b2},{'lookup':_0x29b781});if(!_0x59cff5['ok'])return _0x3868c9;const _0x12d5cd=await _0x59cff5[_0x47b0ea(0x3f,-0x66,0x1a8,0xdd)](),_0x48a51c=load(_0x12d5cd),_0x1c7dbb=_0x48a51c(_0x47b0ea(-0x18f,-_0x2c3e9c._0x16be17,-_0x2c3e9c._0x17fb60,-_0x2c3e9c._0x828f51))['attr'](_0x47b0ea(0x132,-_0x2c3e9c._0x4bb20c,0x8d,0x88))||_0x48a51c('title')[_0xd6f95e(_0x2c3e9c._0x22814e,0x149,_0x2c3e9c._0x4233a6,0xa)]()[_0xd6f95e(0x2a,_0x2c3e9c._0x33b87c,_0x2c3e9c._0x2ff9d1,_0x2c3e9c._0x4f5a5e)]()[_0x47b0ea(_0x2c3e9c._0x306ab9,0x1d,0x21b,_0x2c3e9c._0x20d44e)](),_0x300244=_0x48a51c(_0x47b0ea(-0x30,-0x27,0x2f,_0x2c3e9c._0x477617))[_0xd6f95e(-0x153,-_0x2c3e9c._0x25c4ef,-0x33,-0xe6)]('content')||_0x48a51c('meta[property=\x27og:description\x27]')[_0xd6f95e(-_0x2c3e9c._0x3af0cd,-_0x2c3e9c._0xfd04f2,0x38,-0xe6)](_0xd6f95e(-_0x2c3e9c._0x448f39,_0x2c3e9c._0x186d44,0xe2,_0x2c3e9c._0x27162b))||_0x3868c9[_0x47b0ea(-_0x2c3e9c._0x55f283,-_0x2c3e9c._0x5ce5d4,_0x2c3e9c._0x1e8240,-0x9c)],_0x48b1df=_0x48a51c('meta[property=\x27article:published_time\x27]')[_0xd6f95e(-_0x2c3e9c._0x1bbd52,-0x9f,-0x19c,-0xe6)](_0x47b0ea(0x4a,_0x2c3e9c._0x2f2689,0x143,0x88))||_0x48a51c(_0x47b0ea(_0x2c3e9c._0x290607,_0x2c3e9c._0x3fdd82,-_0x2c3e9c._0x1f5639,0xf1))[_0xd6f95e(-_0x2c3e9c._0x1b8cd4,-_0x2c3e9c._0x5a34b8,-0x1d0,-_0x2c3e9c._0x52aed4)](_0xd6f95e(-_0x2c3e9c._0x396ebe,-_0x2c3e9c._0x2e5cbe,-0x191,-0xc7))||_0x3868c9[_0xd6f95e(_0x2c3e9c._0x3582ff,-0x8d,0x9a,0xa5)],_0x385c99=_0x48a51c(_0xd6f95e(_0x2c3e9c._0x595a26,_0x2c3e9c._0x593f0d,_0x2c3e9c._0x5a32ab,0x78))[_0xd6f95e(-_0x2c3e9c._0x528273,-0xcb,_0x2c3e9c._0x5b8d85,-_0x2c3e9c._0x46eaa4)](_0x47b0ea(_0x2c3e9c._0x512179,-0x19,-0x104,0x1));return{..._0x3868c9,'title':_0x1c7dbb||_0x3868c9[_0xd6f95e(0x8a,0x40,-_0x2c3e9c._0x541fe3,-0x29)],'snippet':_0x300244,'url':_0x385c99?normalizeUrl(new URL(_0x385c99,_0x3868c9[_0xd6f95e(_0x2c3e9c._0x416d51,-_0x2c3e9c._0x531230,_0x2c3e9c._0x5ba382,0x113)])[_0xd6f95e(_0x2c3e9c._0x12214b,-0xb0,0xcf,_0x2c3e9c._0x5fd9b3)]()):_0x3868c9[_0x47b0ea(_0x2c3e9c._0x4809ce,-_0x2c3e9c._0x43589f,_0x2c3e9c._0x440c95,_0x2c3e9c._0x12214b)],'publishedAt':_0x48b1df};}catch{return _0x3868c9;}}));function _0x443ccf(_0x3b8280,_0x4133cb,_0x2fd0c4,_0x5c689b){return _0x1e45aa(_0x3b8280-_0x64ae98._0x3409b2,_0x4133cb-_0x64ae98._0x470622,_0x4133cb- -0xe1,_0x2fd0c4);}const _0x4375f9=new Map(_0x3a6d4e[_0x4ed0b4(_0x48ef83._0x57393e,-_0x48ef83._0x356d40,0x160,-_0x48ef83._0x215631)](0x0,0xa)[_0x4ed0b4(0x1b3,0x1a7,_0x48ef83._0x1d65ff,_0x48ef83._0x2ee19d)]((_0x565248,_0x387055)=>[_0x565248[_0x4ed0b4(0x30e,0x23c,0xe4,0x38f)],_0xb19562[_0x387055]]));function _0x4ed0b4(_0x1294ae,_0x2f431b,_0x52f191,_0xff5857){return _0x1e45aa(_0x1294ae-_0x2ca4ac._0x580d02,_0x2f431b-0x9f,_0x2f431b- -_0x2ca4ac._0x4e3f3d,_0x52f191);}return _0x3a6d4e[_0x443ccf(0x689,0x658,_0x48ef83._0x11ede9,0x604)](_0x3d7129=>_0x4375f9['get'](_0x3d7129[_0x4ed0b4(0x154,0x23c,0x22f,0x22d)])??_0x3d7129);}function formatResults(_0x55db05){const _0x2d5c99={_0x35ce63:0x5c2,_0x20f742:0x43c,_0x18435c:0x2d3},_0x4e183c={_0x5d1f38:0x1fb,_0x2a7b9f:0x2c7,_0x3e967d:0x486,_0x173d81:0x517,_0x4d43e7:0x125,_0xa58fca:0x130,_0x45bac8:0x137,_0x54301e:0x12a,_0x224fa1:0x29c,_0x1b7b46:0x2d8,_0x498a73:0x344,_0x5e146a:0x336,_0x48566c:0x210,_0x117bdb:0x33a,_0x16a0ba:0x327,_0x2e227b:0x441,_0xaedffa:0x9c,_0x3ec29b:0x14,_0x16aeb1:0x126,_0x52ad1b:0x39b,_0x3d8646:0x33b,_0x347efa:0x364,_0x1794d8:0x288},_0xf647de={_0x54b231:0x8f};function _0xa3ccf0(_0xf90f69,_0x3d6a48,_0x2a32fb,_0x49ceb2){return _0x55c88d(_0xf90f69-0xca,_0x3d6a48- -_0xf647de._0x54b231,_0x2a32fb,_0x49ceb2-0x170);}if(_0x55db05[_0xa3ccf0(_0x2d5c99._0x35ce63,0x4a2,0x490,_0x2d5c99._0x20f742)]===0x0)return'No\x20results\x20found.';function _0x19a244(_0xbc6d71,_0x2171ec,_0x5245d7,_0x4de7ee){return _0x1e45aa(_0xbc6d71-0x1c5,_0x2171ec-0xcc,_0x4de7ee- -0x253,_0x2171ec);}return _0x55db05[_0xa3ccf0(_0x2d5c99._0x18435c,0x3f9,0x3e9,0x575)](_0x4450e8=>{const _0x394c70={_0x193400:0x144},_0x58346e={_0x189d70:0x12f,_0x3fa0ab:0x22b},_0x244292=[_0x4450e8['source']['rank']+'.\x20'+_0x4450e8[_0x3814b3(_0x4e183c._0x5d1f38,0x32a,0x40a,_0x4e183c._0x2a7b9f)],_0x4450e8[_0x3814b3(_0x4e183c._0x3e967d,0x466,0x516,_0x4e183c._0x173d81)]];if(_0x4450e8[_0x2463d4(0xdc,-0x72,0x99,-0xb)])_0x244292[_0x2463d4(_0x4e183c._0x4d43e7,_0x4e183c._0xa58fca,_0x4e183c._0x45bac8,0xe4)](_0x4450e8[_0x3814b3(_0x4e183c._0x54301e,_0x4e183c._0x224fa1,_0x4e183c._0x1b7b46,_0x4e183c._0x498a73)]);function _0x2463d4(_0x316183,_0x2ce792,_0x1fa363,_0xae3a25){return _0xa3ccf0(_0x316183-_0x58346e._0x189d70,_0x1fa363- -_0x58346e._0x3fa0ab,_0x2ce792,_0xae3a25-0xbf);}if(_0x4450e8[_0x3814b3(0x2aa,0x3f8,0x556,_0x4e183c._0x5e146a)])_0x244292[_0x3814b3(_0x4e183c._0x48566c,_0x4e183c._0x117bdb,_0x4e183c._0x16a0ba,_0x4e183c._0x2e227b)](_0x2463d4(_0x4e183c._0xaedffa,_0x4e183c._0x3ec29b,0xdd,0x17a)+_0x4450e8[_0x2463d4(0xca,0x372,0x1f5,_0x4e183c._0x16aeb1)]);function _0x3814b3(_0x4b1801,_0x171bf8,_0x3bc1c7,_0x451962){return _0x19a244(_0x4b1801-0xfd,_0x3bc1c7,_0x3bc1c7-_0x394c70._0x193400,_0x171bf8- -0x115);}return _0x244292[_0x3814b3(_0x4e183c._0x52ad1b,_0x4e183c._0x3d8646,_0x4e183c._0x347efa,_0x4e183c._0x1794d8)]('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x93cd47,_0x389fa5,_0x40f81e){const _0x5a766f={_0x484f49:0x642,_0x46e077:0x5d7,_0x52c410:0x580,_0x393dc9:0x5dd,_0x5a3a8a:0x807,_0x3e2c56:0x2b8,_0x74aad2:0x46c,_0x2a5bab:0x577,_0x3ea59e:0x5a9,_0x3c8b92:0x5f2,_0x3eb22a:0x4a1,_0x3c45ae:0x581,_0x54bfcf:0x63d,_0x589800:0x61b,_0x5cc48d:0x704,_0x2ee4f3:0x6ce,_0x56b8de:0x482,_0x2e6330:0x2c1,_0x4c6487:0x39a,_0x3b6184:0x21d,_0x32b90d:0x68c},_0x3b1e87={_0x385cec:0x753,_0x44e162:0x770,_0x276f1b:0x859,_0x5237f8:0x111,_0xf3c4cb:0x148,_0x58af1c:0x1ed,_0x324811:0x75d,_0x5e8c5c:0x72b,_0x472b0e:0x829},_0x8f9459={_0x37a23:0x146},_0x1133ec={_0x3a2a17:0x1a3,_0x56e6ad:0x5},_0x5cb74b={_0x3d3bc0:0x15,_0x2fd874:0xbd},_0x3549f2=Math[_0x1cdb33(0x508,_0x5a766f._0x484f49,0x73b,_0x5a766f._0x46e077)](0x1,Math[_0x1cdb33(0x4a8,_0x5a766f._0x52c410,_0x5a766f._0x393dc9,0x52b)](0xa,_0x389fa5[_0x1cdb33(0x6f0,0x7d7,_0x5a766f._0x5a3a8a,0x778)])),_0x245fe6=addSiteFilters(_0x389fa5[_0x2247cc(0x221,0x182,_0x5a766f._0x3e2c56,0x349)],_0x389fa5[_0x1cdb33(_0x5a766f._0x74aad2,0x5b1,_0x5a766f._0x2a5bab,_0x5a766f._0x3ea59e)]),_0x2325b3=await fetchJson(_0x2247cc(0x5fa,_0x5a766f._0x3c8b92,_0x5a766f._0x3eb22a,0x48c),_0x40f81e,{'method':'POST','headers':{'Authorization':_0x1cdb33(0x610,_0x5a766f._0x3c45ae,_0x5a766f._0x54bfcf,_0x5a766f._0x589800)+_0x93cd47['apiKey']},'body':JSON[_0x1cdb33(0x82a,_0x5a766f._0x5cc48d,_0x5a766f._0x2ee4f3,0x757)]({'query':_0x245fe6,'max_results':_0x3549f2})}),_0x26b65b=_0x2325b3[_0x2247cc(_0x5a766f._0x56b8de,_0x5a766f._0x2e6330,_0x5a766f._0x4c6487,_0x5a766f._0x3b6184)]??[];function _0x2247cc(_0x499da5,_0x408787,_0x4df7f0,_0x374ca7){return _0x55c88d(_0x499da5-0xde,_0x4df7f0- -_0x5cb74b._0x3d3bc0,_0x499da5,_0x374ca7-_0x5cb74b._0x2fd874);}function _0x1cdb33(_0x3d5aff,_0x3c882b,_0x27dd25,_0x4ff961){return _0x55c88d(_0x3d5aff-_0x1133ec._0x3a2a17,_0x4ff961-0x257,_0x3c882b,_0x4ff961-_0x1133ec._0x56e6ad);}const _0x576e39=_0x26b65b['map']((_0x46124c,_0x21d282)=>{const _0x451808={_0x5e0a79:0x1a6};function _0x4502df(_0x5e28f9,_0x3b6d03,_0x3c88b9,_0xc91394){return _0x1cdb33(_0x5e28f9-_0x451808._0x5e0a79,_0x3c88b9,_0x3c88b9-0x0,_0x5e28f9- -0x1f);}const _0x12e24a=_0x46124c['url']||'';let _0x2656f5;function _0x548818(_0x1cd60b,_0xd98893,_0x448276,_0x360525){return _0x1cdb33(_0x1cd60b-0x11,_0xd98893,_0x448276-_0x8f9459._0x37a23,_0x360525- -0x3fe);}try{_0x2656f5=new URL(_0x12e24a)[_0x4502df(_0x3b1e87._0x385cec,0x7e8,_0x3b1e87._0x44e162,_0x3b1e87._0x276f1b)];}catch{_0x2656f5=null;}return{'title':_0x46124c['title']||_0x548818(_0x3b1e87._0x5237f8,0xb9,0x275,_0x3b1e87._0xf3c4cb),'url':normalizeUrl(_0x12e24a),'snippet':_0x46124c[_0x548818(0x3ec,_0x3b1e87._0x58af1c,0x377,0x2d0)]??null,'displayUrl':_0x2656f5,'favicon':null,'publishedAt':null,'source':{'engine':_0x4502df(_0x3b1e87._0x324811,_0x3b1e87._0x5e8c5c,_0x3b1e87._0x472b0e,0x673),'rank':_0x21d282+0x1}};});return{'items':_0x576e39[_0x1cdb33(_0x5a766f._0x32b90d,0x5ed,0x451,0x51c)](0x0,_0x3549f2),'engine':'ollama'};}async function searchTavily(_0x3e7daa,_0x22101f,_0x5abd30){const _0x2130a6={_0x84d402:0x6f4,_0x2670e6:0x6ec,_0x534f90:0x4a0,_0x25318c:0x3ec,_0x2b22f2:0x58b,_0x2719bf:0x732,_0x322bbe:0x76e,_0x213932:0x700,_0xccff87:0x548,_0x2de0b5:0x529,_0x5cc658:0x5b9,_0x1c898e:0x597,_0x2bf82c:0x4db,_0x331b5b:0x5c3,_0xd59f37:0x663,_0x4c0bc3:0x6d3,_0x561c9:0x7d7,_0x29f26f:0x79c,_0x2149cd:0x5df,_0x56bfb6:0x711,_0x2ba94f:0x6e6,_0x4f030a:0x56b,_0x413dfc:0x72e},_0x3dca7b={_0x3d3731:0x5eb,_0x34cf93:0x4d0,_0x1687b9:0x5ec,_0xd70732:0x4aa,_0x160f6e:0x3ab,_0x1f220a:0x28b,_0x43047d:0x533,_0x4cf4cb:0x687},_0x55cda6={_0x1d2484:0x2a9,_0x3ad52c:0x193},_0x25f74e={_0x266004:0x4c,_0x4665db:0x117,_0x263075:0x53},_0x3790a3={_0x5176db:0x3f};function _0x4ed845(_0x22b2d9,_0x4d5353,_0x12e5b5,_0x14d4a6){return _0x1e45aa(_0x22b2d9-0x13f,_0x4d5353-_0x3790a3._0x5176db,_0x22b2d9- -0xde,_0x4d5353);}const _0x43c80b=Math['max'](0x1,Math['min'](0x14,_0x22101f[_0x4ed845(_0x2130a6._0x84d402,_0x2130a6._0x2670e6,0x7e7,0x5f2)])),_0x739c5a={'query':_0x22101f[_0x4ed845(_0x2130a6._0x534f90,0x58d,0x3b9,_0x2130a6._0x25318c)],'max_results':_0x43c80b,'search_depth':_0x3e7daa['searchDepth']??_0x4bcd22(_0x2130a6._0x2b22f2,0x643,0x5f1,0x63a),'topic':_0x3e7daa['topic']??_0x4bcd22(_0x2130a6._0x2719bf,0x63c,0x709,0x6e0)};function _0x4bcd22(_0x995df6,_0xa94dc3,_0x2c99e3,_0x176905){return _0x1e45aa(_0x995df6-_0x25f74e._0x266004,_0xa94dc3-_0x25f74e._0x4665db,_0xa94dc3- -_0x25f74e._0x263075,_0x995df6);}if(_0x22101f['domains'][_0x4ed845(0x704,_0x2130a6._0x322bbe,0x848,_0x2130a6._0x213932)]>0x0)_0x739c5a['include_domains']=_0x22101f[_0x4ed845(0x525,_0x2130a6._0xccff87,_0x2130a6._0x2de0b5,_0x2130a6._0x5cc658)];const _0x594f18=await fetchJson('https://api.tavily.com/search',_0x5abd30,{'method':'POST','headers':{'Authorization':_0x4ed845(_0x2130a6._0x1c898e,_0x2130a6._0x2bf82c,_0x2130a6._0x331b5b,0x552)+_0x3e7daa['tavilyApiKey'],'Content-Type':_0x4ed845(0x774,0x677,0x838,_0x2130a6._0xd59f37)},'body':JSON[_0x4ed845(_0x2130a6._0x4c0bc3,_0x2130a6._0x561c9,_0x2130a6._0x29f26f,_0x2130a6._0x2149cd)](_0x739c5a)}),_0x49dcb3=_0x594f18['results']??[],_0x55abeb=_0x49dcb3[_0x4bcd22(_0x2130a6._0x56bfb6,_0x2130a6._0x2ba94f,_0x2130a6._0x4f030a,0x7d1)]((_0x592f54,_0x465a2a)=>{const _0x1bbd61=_0x592f54[_0x1ced73(0x4d2,_0x3dca7b._0x3d3731,0x498,0x4af)]||'';function _0x1ced73(_0x55138d,_0x3c428a,_0x12b2eb,_0x30ddce){return _0x4bcd22(_0x12b2eb,_0x55138d- -_0x55cda6._0x1d2484,_0x12b2eb-0x4,_0x30ddce-_0x55cda6._0x3ad52c);}let _0x50a438;function _0x34657e(_0x44e582,_0x331b9e,_0x51ec93,_0x5f4bb6){return _0x4ed845(_0x331b9e- -0x117,_0x5f4bb6,_0x51ec93-0xb,_0x5f4bb6-0x70);}try{_0x50a438=new URL(_0x1bbd61)[_0x1ced73(_0x3dca7b._0x34cf93,0x414,0x5fa,0x5a9)];}catch{_0x50a438=null;}return{'title':_0x592f54[_0x34657e(0x46a,0x49d,_0x3dca7b._0x1687b9,_0x3dca7b._0xd70732)]||_0x34657e(0x2ae,_0x3dca7b._0x160f6e,_0x3dca7b._0x1f220a,0x36a),'url':normalizeUrl(_0x1bbd61),'snippet':_0x592f54[_0x34657e(0x485,_0x3dca7b._0x43047d,_0x3dca7b._0x4cf4cb,0x449)]??null,'displayUrl':_0x50a438,'favicon':null,'publishedAt':null,'source':{'engine':'tavily','rank':_0x465a2a+0x1}};});return{'items':_0x55abeb['slice'](0x0,_0x43c80b),'engine':_0x4ed845(0x615,_0x2130a6._0x413dfc,0x763,0x69f)};}async function searchGoogleCse(_0x1eb60f,_0x16bcd1,_0x5b3109){const _0x190aa2={_0x3e4e16:0x230,_0x31b7f3:0x11d,_0x21f7f6:0x34a,_0x316c2a:0x201,_0x944d92:0x84,_0x5700cc:0x536,_0x3ef642:0x602,_0x542fab:0x385,_0x3d1f0a:0x208,_0x27b933:0x261,_0x5ab20e:0x337,_0x464816:0x1fa,_0x17ff1e:0x1f5,_0x246054:0x197,_0x5aa4e3:0x3ff,_0x3bd209:0x4aa,_0x15bb82:0x41b,_0xa2db71:0x67,_0x16f1b9:0x1e1,_0x4494b0:0x47,_0x835c95:0x51,_0x5743a5:0x188,_0x372837:0x12e,_0x38c249:0x8e,_0x2162ee:0x167,_0x54de5c:0x3e3,_0x4e8c6e:0x175,_0x5a733f:0x26c,_0x2ee9e8:0x3e4,_0x95c7af:0x39e,_0xef528:0x41c,_0x1727f5:0x218,_0x5d83f3:0x2d3,_0x5ef1d1:0x14b,_0x5658a9:0x405,_0x145a06:0x288,_0x41b95b:0x2dd,_0x4e5ee2:0x3a4,_0x114ede:0x13f,_0x2550ec:0x283,_0x15e2f4:0x290,_0x5dfca6:0x228,_0x9d6ca8:0x12e,_0x1d24bf:0x11e,_0x103e7b:0x272,_0x4aa74b:0x111,_0x20d6e0:0x2e,_0x30a283:0x244,_0x302cdd:0x2e5,_0x489f5a:0x254,_0x1cc0b6:0x24c,_0x114216:0x212,_0xa25173:0x2a2,_0x4cef22:0x25,_0x4f38f9:0x2ed,_0x2b8900:0x33e,_0x1a1617:0x462,_0x41af4f:0x484,_0x5b00c7:0x4b5,_0x258189:0x461,_0x341c80:0x1fc,_0x17b19a:0xef,_0xebea36:0x29c,_0x6bd4fb:0x3e6,_0x4d3b88:0x3d5,_0x18a415:0x4ad,_0x2faf19:0x4bc,_0x3268e7:0x28a,_0x58b946:0x2a8,_0x1a48cb:0x311,_0x25515f:0x326,_0x3c7bee:0x49a,_0x482c69:0x28c,_0x4816d0:0x1d5,_0x53d20f:0x578,_0x13cd62:0x34d,_0x5a7319:0x57e,_0x331cdb:0x58,_0x1519a2:0xc1,_0x200989:0x436,_0x786b1e:0x4b9,_0x315f33:0x19a,_0x4a4ff7:0x4e,_0x2acf45:0x23f,_0x5bf56f:0x2ee,_0x2fe514:0xa8,_0x22f82b:0x39d,_0x443f05:0x301,_0x46af09:0x2aa,_0x397796:0x17d,_0x362e62:0x135,_0x53e323:0x281,_0x48c51f:0x327,_0x461aa5:0xff,_0x9e489d:0x210,_0x5a2d63:0x430,_0x245a97:0x33f,_0x306f48:0x448,_0x238d8a:0xe1,_0x33faf5:0x231,_0x136a2a:0xb6,_0x48d132:0x1f8,_0x58ce45:0x11f,_0x108ecd:0x56e,_0x46ad17:0x526,_0x358ddb:0x45e,_0x588b6e:0x19d},_0x56b74e={_0x5d6302:0x247,_0x38d22f:0x1d},_0x379b3a={_0x9701c0:0x384},_0x503608=Math[_0x19c4a0(0x14f,0x1e2,0x139,_0x190aa2._0x3e4e16)](0x1,Math[_0x294d5f(_0x190aa2._0x31b7f3,_0x190aa2._0x21f7f6,_0x190aa2._0x316c2a,_0x190aa2._0x944d92)](0x32,_0x16bcd1[_0x294d5f(0x560,_0x190aa2._0x5700cc,0x44e,0x549)]));if(_0x16bcd1[_0x294d5f(_0x190aa2._0x3ef642,_0x190aa2._0x542fab,0x4aa,0x4d4)]+_0x503608>0x64)throw new ToolExecutionError(_0x19c4a0(0x370,_0x190aa2._0x3d1f0a,0x2e3,_0x190aa2._0x27b933),{'offset':_0x16bcd1['offset'],'count':_0x503608,'maxResults':0x64});function _0x294d5f(_0x3a4d8e,_0x5bad86,_0x3bd9ff,_0x3cd04a){return _0x1e45aa(_0x3a4d8e-0x158,_0x5bad86-0xb5,_0x3bd9ff- -_0x379b3a._0x9701c0,_0x3cd04a);}const _0x4c3a36=cseDateRestrict(_0x16bcd1[_0x294d5f(0x379,_0x190aa2._0x5ab20e,0x3ad,0x44c)]);function _0x19c4a0(_0x21fd4b,_0x57a801,_0x5723d9,_0x410f11){return _0x55c88d(_0x21fd4b-0xab,_0x5723d9- -_0x56b74e._0x5d6302,_0x21fd4b,_0x410f11-_0x56b74e._0x38d22f);}const _0x866a11=addSiteFilters(_0x16bcd1[_0x294d5f(0x262,0x175,_0x190aa2._0x464816,0x21c)],_0x16bcd1[_0x19c4a0(_0x190aa2._0x17ff1e,_0x190aa2._0x246054,0x10b,0x110)]);let _0x5e5bd7=0x0,_0x41e31c=_0x16bcd1[_0x294d5f(0x397,_0x190aa2._0x5aa4e3,_0x190aa2._0x3bd209,_0x190aa2._0x15bb82)]+0x1;const _0x474cd4=[];while(_0x5e5bd7<_0x503608){const _0x22f845=Math[_0x19c4a0(_0x190aa2._0xa2db71,_0x190aa2._0x16f1b9,0x8d,0x29)](0xa,_0x503608-_0x5e5bd7),_0x17a16f=new URL(_0x19c4a0(_0x190aa2._0x4494b0,-_0x190aa2._0x835c95,0xea,_0x190aa2._0x5743a5));_0x17a16f['searchParams'][_0x19c4a0(0xe7,0x145,_0x190aa2._0x372837,_0x190aa2._0x38c249)](_0x294d5f(0x37f,0x44f,0x321,0x478),_0x1eb60f[_0x19c4a0(0x137,0x2ce,0x273,_0x190aa2._0x2162ee)]),_0x17a16f[_0x19c4a0(_0x190aa2._0x54de5c,_0x190aa2._0x4e8c6e,0x2a8,_0x190aa2._0x5a733f)]['set']('cx',_0x1eb60f[_0x294d5f(_0x190aa2._0x2ee9e8,0x2fa,0x385,0x39d)]),_0x17a16f[_0x294d5f(0x39a,_0x190aa2._0x95c7af,_0x190aa2._0xef528,0x2e0)][_0x19c4a0(0x46,0x259,0x12e,_0x190aa2._0x1727f5)]('q',_0x866a11),_0x17a16f[_0x19c4a0(_0x190aa2._0x5d83f3,_0x190aa2._0x5ef1d1,0x2a8,_0x190aa2._0x5658a9)]['set']('num',String(_0x22f845)),_0x17a16f[_0x19c4a0(_0x190aa2._0x145a06,_0x190aa2._0x41b95b,0x2a8,0x17f)]['set'](_0x294d5f(_0x190aa2._0x4e5ee2,_0x190aa2._0x114ede,_0x190aa2._0x2550ec,_0x190aa2._0x15e2f4),String(_0x41e31c)),_0x17a16f['searchParams'][_0x19c4a0(_0x190aa2._0x5dfca6,-0x33,_0x190aa2._0x9d6ca8,0x6e)](_0x294d5f(_0x190aa2._0x1d24bf,0x250,_0x190aa2._0x103e7b,_0x190aa2._0x4aa74b),_0x16bcd1[_0x19c4a0(-_0x190aa2._0x20d6e0,0x1d4,0xfe,-0x1e)]?_0x294d5f(_0x190aa2._0x30a283,0x17f,_0x190aa2._0x302cdd,_0x190aa2._0x464816):_0x19c4a0(0x3c6,0x173,_0x190aa2._0x489f5a,0x1bc));_0x16bcd1[_0x19c4a0(_0x190aa2._0x1cc0b6,_0x190aa2._0x114216,0x1c8,0xd7)]&&(_0x17a16f['searchParams'][_0x19c4a0(0x134,_0x190aa2._0xa25173,_0x190aa2._0x9d6ca8,0x1d1)]('hl',_0x16bcd1['lang']),_0x17a16f['searchParams'][_0x19c4a0(_0x190aa2._0x4cef22,0x254,_0x190aa2._0x9d6ca8,0x29b)]('lr',_0x294d5f(_0x190aa2._0x4f38f9,_0x190aa2._0x2b8900,_0x190aa2._0x1a1617,0x37d)+_0x16bcd1['lang']));if(_0x16bcd1['region'])_0x17a16f[_0x294d5f(_0x190aa2._0x41af4f,_0x190aa2._0x5b00c7,0x41c,_0x190aa2._0x258189)][_0x19c4a0(_0x190aa2._0x341c80,_0x190aa2._0x17b19a,0x12e,0x269)]('gl',_0x16bcd1[_0x19c4a0(0x122,0x225,_0x190aa2._0xebea36,0x3c9)][_0x294d5f(0x43e,_0x190aa2._0x6bd4fb,0x2d3,_0x190aa2._0x4d3b88)]());if(_0x16bcd1[_0x294d5f(_0x190aa2._0x18a415,_0x190aa2._0x2faf19,0x4cf,0x5c7)]==='images')_0x17a16f[_0x19c4a0(0x3b5,_0x190aa2._0x3268e7,_0x190aa2._0x58b946,0x191)]['set'](_0x19c4a0(0x223,_0x190aa2._0x1a48cb,_0x190aa2._0x25515f,_0x190aa2._0x3c7bee),'image');if(_0x4c3a36)_0x17a16f['searchParams']['set']('dateRestrict',_0x4c3a36);const _0x26d102=await fetchJson(_0x17a16f[_0x19c4a0(0x136,_0x190aa2._0x482c69,_0x190aa2._0x4816d0,0x24b)](),_0x5b3109),_0x18a081=_0x26d102['items']??[];if(_0x18a081[_0x294d5f(_0x190aa2._0x53d20f,_0x190aa2._0x13cd62,0x45e,_0x190aa2._0x5a7319)]===0x0)break;const _0x2cbfb3=_0x5e5bd7;for(let _0x201589=0x0;_0x201589<_0x18a081['length'];_0x201589++){const _0x7aa0eb=_0x18a081[_0x201589];if(!_0x7aa0eb)continue;const _0x2545e9=_0x7aa0eb['link']||_0x7aa0eb[_0x19c4a0(-_0x190aa2._0x331cdb,-_0x190aa2._0x835c95,_0x190aa2._0x1519a2,-0x60)]?.[_0x294d5f(_0x190aa2._0x200989,0x3c9,0x4b6,_0x190aa2._0x786b1e)]||'',_0x2329ae=_0x7aa0eb[_0x19c4a0(0xe3,0x30f,_0x190aa2._0x315f33,0xe7)]||_0x7aa0eb[_0x19c4a0(-_0x190aa2._0x4a4ff7,_0x190aa2._0x2acf45,0xc1,-0x90)]?.[_0x19c4a0(0x1f9,_0x190aa2._0x5bf56f,0x19a,0x2fc)]||_0x19c4a0(0x1d9,0x1ce,_0x190aa2._0x2fe514,0x7f),_0x347ed2=_0x7aa0eb['snippet']||_0x7aa0eb[_0x294d5f(_0x190aa2._0x22f82b,0x442,_0x190aa2._0x443f05,0x1d6)]?.[_0x19c4a0(_0x190aa2._0x46af09,_0x190aa2._0x397796,_0x190aa2._0x362e62,_0x190aa2._0x53e323)](/<[^>]+>/g,''),_0x220c53=_0x7aa0eb['pagemap']?.[_0x294d5f(_0x190aa2._0x48c51f,_0x190aa2._0x461aa5,_0x190aa2._0x9e489d,0xe1)]?.[0x0]??{};let _0x431cb2;try{_0x431cb2=new URL(_0x2545e9)[_0x294d5f(_0x190aa2._0x5a2d63,_0x190aa2._0x245a97,_0x190aa2._0x306f48,0x363)];}catch{_0x431cb2=null;}_0x474cd4[_0x19c4a0(0x2ee,0x1c2,0x1aa,_0x190aa2._0x238d8a)]({'title':_0x2329ae,'url':normalizeUrl(_0x2545e9),'snippet':_0x347ed2??null,'displayUrl':_0x431cb2,'favicon':null,'publishedAt':_0x220c53[_0x19c4a0(0x328,0x30b,_0x190aa2._0x33faf5,_0x190aa2._0x136a2a)]||_0x220c53[_0x294d5f(_0x190aa2._0x48d132,_0x190aa2._0x58ce45,0x27a,0x2d9)]||null,'source':{'engine':'google-cse','rank':_0x2cbfb3+_0x201589+0x1}});}_0x5e5bd7+=_0x18a081[_0x294d5f(_0x190aa2._0x108ecd,_0x190aa2._0x46ad17,_0x190aa2._0x358ddb,0x323)],_0x41e31c+=_0x18a081[_0x19c4a0(0x183,_0x190aa2._0x1cc0b6,0x2ea,0x1ff)];if(_0x18a081[_0x19c4a0(_0x190aa2._0x588b6e,0x2d5,0x2ea,0x448)]<_0x22f845)break;}return _0x474cd4['slice'](0x0,_0x503608);}function isGoogleCseEngine(_0x13662f){return'googleCseKey'in _0x13662f;}function _0x3bdd(_0x197667,_0x472eb6){_0x197667=_0x197667-0x1c7;const _0x770d22=_0x770d();let _0x3bdd1d=_0x770d22[_0x197667];if(_0x3bdd['LDdWTW']===undefined){var _0x31d8fd=function(_0x1789e3){const _0x112f66='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x306edd='',_0x33fb2='';for(let _0x5a46d6=0x0,_0x18404d,_0x251ef4,_0x1c9354=0x0;_0x251ef4=_0x1789e3['charAt'](_0x1c9354++);~_0x251ef4&&(_0x18404d=_0x5a46d6%0x4?_0x18404d*0x40+_0x251ef4:_0x251ef4,_0x5a46d6++%0x4)?_0x306edd+=String['fromCharCode'](0xff&_0x18404d>>(-0x2*_0x5a46d6&0x6)):0x0){_0x251ef4=_0x112f66['indexOf'](_0x251ef4);}for(let _0x4a1fd2=0x0,_0xd46fc8=_0x306edd['length'];_0x4a1fd2<_0xd46fc8;_0x4a1fd2++){_0x33fb2+='%'+('00'+_0x306edd['charCodeAt'](_0x4a1fd2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x33fb2);};_0x3bdd['djzAsS']=_0x31d8fd,_0x3bdd['cnRGRy']={},_0x3bdd['LDdWTW']=!![];}const _0x1b777c=_0x770d22[0x0],_0xcf0112=_0x197667+_0x1b777c,_0x183bd7=_0x3bdd['cnRGRy'][_0xcf0112];return!_0x183bd7?(_0x3bdd1d=_0x3bdd['djzAsS'](_0x3bdd1d),_0x3bdd['cnRGRy'][_0xcf0112]=_0x3bdd1d):_0x3bdd1d=_0x183bd7,_0x3bdd1d;}function isOllamaEngine(_0x1cf676){return'apiKey'in _0x1cf676;}function isTavilyEngine(_0x2e9ea2){const _0x1543bb={_0x41d0da:0x4e5},_0x428a76={_0x5b660c:0x3};function _0x432577(_0x4e16aa,_0x4fb1a1,_0x23c116,_0x58bc04){return _0x55c88d(_0x4e16aa-0x1e7,_0x4e16aa-0x51,_0x58bc04,_0x58bc04-_0x428a76._0x5b660c);}return _0x432577(0x4f9,0x612,_0x1543bb._0x41d0da,0x65d)in _0x2e9ea2;}function createWebSearchTool(_0x403aef){const _0x3f2038={_0x244f00:0x1d1,_0x793137:0x415,_0x40fced:0x2ce,_0x47ffd0:0x31d,_0x50d238:0x1d3,_0x3a0e49:0x277,_0x554e54:0x433,_0x57f9ad:0x509,_0x39b5e9:0x389,_0x4928d4:0x213,_0x1eb3b0:0x3c5,_0x5bc3f0:0x314,_0x215970:0x2ab,_0x7ccbd8:0x30e,_0x2c735e:0x3ec,_0x310b27:0x3f0,_0x28ed1c:0x2b4,_0x3e24af:0x320,_0x3098c7:0x393,_0x3d2fa0:0x238,_0x78a2ba:0x487,_0x5acdbb:0x1dc,_0x3f3ce0:0x20c,_0x479812:0x17b,_0x1948b3:0x4f6,_0x454ea6:0x2df,_0x1e53e6:0x18a,_0x4c7a9a:0x2eb,_0x32cde4:0x150,_0x5ab08b:0x47,_0x2fd811:0xf1,_0x52aeda:0x2e8,_0x5f2a0e:0x19d,_0x2fc2ff:0xf0},_0x2ff9a8={_0x2f3b8a:0x79b,_0x2efa7c:0x7e2,_0x8dddf8:0x562,_0x54f86d:0x208,_0x494884:0x5a5,_0x48fb83:0x5e6,_0x5c6b69:0x89d,_0x1a686d:0x57b,_0x5f4e5b:0x659,_0x26e0a4:0x523,_0x586749:0x333,_0x3054fd:0x43,_0x9500d4:0x771,_0x195dc1:0x4b0,_0x1a21e1:0x8af,_0x14579e:0x863,_0x22e65a:0x8f2,_0x3c9982:0x6a0,_0x4f8a74:0x705,_0x4c04de:0x28,_0x5404df:0x1d2,_0x1cca91:0x1e3,_0x246b5c:0x748,_0x390ee4:0x88e,_0x597f55:0xc1,_0x668a78:0x6ea,_0x327500:0x861,_0x283390:0x2b,_0x536660:0xcf,_0x3ebc1a:0x7b,_0x512307:0x4,_0xf3e6d2:0x72,_0x220169:0x665,_0x516af2:0x47f,_0x4898bc:0x6bb,_0x268fec:0x4a,_0x49b985:0x6e,_0x279de8:0x6,_0x331d54:0x1ca,_0x4cc06e:0x38,_0xcd1e92:0x94c,_0x2e4c34:0x43,_0x2db306:0x2b,_0x1c2d70:0x74b,_0x335c9d:0x62b,_0x881bc3:0x607,_0x34ea4f:0x80a,_0x119ae7:0x1a7,_0x5b26cc:0x10,_0x13165b:0x76a,_0x3c6ffb:0x54c,_0x26e98c:0x43,_0xe4fbe6:0x91,_0x43b97c:0x759,_0x46b067:0x6f0,_0x19a5ea:0x6e8,_0x2b623a:0x699,_0x446784:0x56,_0x4b6a9b:0x7fb,_0x41aee2:0x7bc,_0x4d7b98:0x6d7,_0x1de994:0x670,_0x51ad46:0x74c,_0x118f1a:0x7ce,_0xb4311a:0x482,_0x4349ca:0x47d,_0x53dc07:0x9b8,_0x21b3bb:0x859,_0x11ea55:0x6e5,_0x28cbed:0x144,_0x57ee8b:0x7fa,_0x7aee3:0x86a},_0x41fa32={_0x553271:0x4c4,_0x4c4515:0x3d7,_0x17d811:0x413,_0x154f4d:0x48f,_0x24c16d:0x369,_0x3f8aba:0x564,_0x38b2d5:0x5a0,_0x5b5957:0x30e,_0x146024:0x44e},_0x59fc33={_0x247ce0:0x385,_0x19b546:0x112},_0x1707e7={_0x534fa8:0x35d};if(!_0x403aef[_0x2568f1(_0x3f2038._0x244f00,0x306,_0x3f2038._0x793137,0x2db)]||_0x403aef['engines'][_0x2568f1(0x271,0x28a,0x376,_0x3f2038._0x40fced)]===0x0)throw new Error(_0x2568f1(0x3dd,_0x3f2038._0x47ffd0,_0x3f2038._0x50d238,_0x3f2038._0x3a0e49));function _0x2568f1(_0x3967c0,_0x4fddfd,_0x1be809,_0x490c4c){return _0x55c88d(_0x3967c0-0xc4,_0x490c4c- -0x263,_0x1be809,_0x490c4c-0xc0);}const _0x56397a=_0x403aef[_0x6b78b8(_0x3f2038._0x554e54,_0x3f2038._0x57f9ad,_0x3f2038._0x39b5e9,0x32e)]??'WebSearch',_0x192ac2=_0x403aef[_0x2568f1(_0x3f2038._0x4928d4,0x440,_0x3f2038._0x1eb3b0,_0x3f2038._0x5bc3f0)];function _0x6b78b8(_0xc25848,_0x41ffab,_0xdb15e9,_0x334b3d){return _0x1e45aa(_0xc25848-0x110,_0x41ffab-0x88,_0xc25848- -_0x1707e7._0x534fa8,_0x41ffab);}return defineTool({'name':_0x56397a,'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':_0x6b78b8(_0x3f2038._0x215970,_0x3f2038._0x7ccbd8,_0x3f2038._0x2c735e,0x421),'properties':{'description':{'type':_0x6b78b8(0x3c2,_0x3f2038._0x310b27,_0x3f2038._0x28ed1c,0x2dc)},'query':{'type':_0x2568f1(0x89,0x371,_0x3f2038._0x3e24af,0x20b)},'count':{'type':_0x6b78b8(_0x3f2038._0x3098c7,_0x3f2038._0x3d2fa0,_0x3f2038._0x78a2ba,0x49b)},'offset':{'type':_0x2568f1(0x22d,0x1ec,0x218,_0x3f2038._0x5acdbb)},'domains':{'type':_0x2568f1(_0x3f2038._0x3f3ce0,_0x3f2038._0x479812,0x3cc,0x254),'items':{'type':_0x6b78b8(0x3c2,_0x3f2038._0x1948b3,0x3d0,_0x3f2038._0x454ea6)}},'recencyDays':{'type':_0x2568f1(_0x3f2038._0x1e53e6,0xf4,0x7a,_0x3f2038._0x5acdbb)},'lang':{'type':_0x2568f1(_0x3f2038._0x4c7a9a,0x1b3,_0x3f2038._0x32cde4,0x20b)},'region':{'type':'string'},'safe':{'type':_0x2568f1(_0x3f2038._0x5ab08b,_0x3f2038._0x2fd811,0x121,0x131)},'type':{'type':'string'},'hydrateMeta':{'type':_0x6b78b8(_0x3f2038._0x52aeda,0x31f,_0x3f2038._0x3098c7,_0x3f2038._0x5f2a0e)}},'required':[_0x2568f1(0x12,_0x3f2038._0x2fc2ff,0x81,0x6a)]},async *'execute'(_0x2e87b9,_0x100dcf){const _0x271ab5={_0x2ad639:0x260},_0x12ffe3={_0x12d294:0xf2,_0x209acc:0x19a},_0x261432={_0xdccf34:0xac},_0x20f713=_0x2e87b9['query']['trim']();function _0x2d21b4(_0x41272d,_0xd46d51,_0x31e18,_0x4e524c){return _0x6b78b8(_0x31e18-_0x59fc33._0x247ce0,_0xd46d51,_0x31e18-0x120,_0x4e524c-_0x59fc33._0x19b546);}if(!_0x20f713)throw new ToolExecutionError(_0x2d21b4(0x7b2,_0x2ff9a8._0x2f3b8a,_0x2ff9a8._0x2efa7c,0x6e8));const _0x5a6b9d={'query':_0x20f713,'count':Math[_0x2d21b4(0x555,0x54f,0x659,_0x2ff9a8._0x8dddf8)](0x1,Math[_0x3e2c1c(-0x347,-0x1ef,-0x22e,-_0x2ff9a8._0x54f86d)](0x32,Math[_0x3e2c1c(-0xb7,-0x1b6,-0x242,-0x230)](_0x2e87b9[_0x2d21b4(0x942,0x7b9,0x7fa,0x940)]??0xa))),'offset':Math['max'](0x0,Math[_0x2d21b4(0x68a,_0x2ff9a8._0x494884,_0x2ff9a8._0x48fb83,0x674)](_0x2e87b9[_0x2d21b4(_0x2ff9a8._0x5c6b69,0x786,0x856,0x9bd)]??0x0)),'domains':_0x2e87b9['domains']??[],'recencyDays':Math[_0x2d21b4(_0x2ff9a8._0x1a686d,0x51a,_0x2ff9a8._0x5f4e5b,_0x2ff9a8._0x26e0a4)](0x0,Math[_0x3e2c1c(-0x289,-0x1b6,-_0x2ff9a8._0x586749,-0x118)](_0x2e87b9[_0x3e2c1c(0x129,-_0x2ff9a8._0x3054fd,-0xbb,-0x15b)]??0x0)),'lang':_0x2e87b9['lang']??'en','region':_0x2e87b9['region']??'','safe':_0x2e87b9[_0x2d21b4(_0x2ff9a8._0x9500d4,_0x2ff9a8._0x195dc1,0x61e,0x753)]??!![],'type':normalizeType(_0x2e87b9['type']),'hydrateMeta':_0x2e87b9['hydrateMeta']??![]};let _0x423809=[],_0x4d425f=_0x2d21b4(0x6eb,_0x2ff9a8._0x1a21e1,_0x2ff9a8._0x14579e,0x879);for(const _0x1288b6 of _0x403aef[_0x2d21b4(_0x2ff9a8._0x22e65a,_0x2ff9a8._0x3c9982,0x817,_0x2ff9a8._0x4f8a74)]){try{if(isGoogleCseEngine(_0x1288b6))_0x423809=await searchGoogleCse(_0x1288b6,_0x5a6b9d,_0x100dcf['signal']),_0x4d425f=_0x3e2c1c(_0x2ff9a8._0x4c04de,-0x145,-_0x2ff9a8._0x5404df,-_0x2ff9a8._0x1cca91);else{if(isOllamaEngine(_0x1288b6)){const _0x5129fd=await searchOllama(_0x1288b6,_0x5a6b9d,_0x100dcf[_0x2d21b4(0x81f,_0x2ff9a8._0x246b5c,_0x2ff9a8._0x390ee4,0x951)]);_0x423809=_0x5129fd[_0x3e2c1c(0x21b,0xc5,_0x2ff9a8._0x597f55,-0x16)],_0x4d425f=_0x5129fd[_0x2d21b4(0x75f,0x8f5,0x824,0x81c)];}else{if(isTavilyEngine(_0x1288b6)){const _0x9544b1=await searchTavily(_0x1288b6,_0x5a6b9d,_0x100dcf[_0x2d21b4(0x9ba,0x77d,_0x2ff9a8._0x390ee4,0x74b)]);_0x423809=_0x9544b1[_0x2d21b4(_0x2ff9a8._0x668a78,0x94d,_0x2ff9a8._0x327500,0x9ad)],_0x4d425f=_0x9544b1['engine'];}}}if(_0x423809['length']>0x0)break;}catch(_0x1bccb1){if(_0x1288b6===_0x403aef[_0x3e2c1c(_0x2ff9a8._0x283390,0x7b,_0x2ff9a8._0x536660,-0x4a)][_0x403aef[_0x3e2c1c(0x97,_0x2ff9a8._0x3ebc1a,-_0x2ff9a8._0x512307,_0x2ff9a8._0xf3e6d2)]['length']-0x1])throw _0x1bccb1;}}_0x5a6b9d[_0x2d21b4(_0x2ff9a8._0x220169,_0x2ff9a8._0x516af2,0x589,_0x2ff9a8._0x4898bc)]&&_0x423809[_0x3e2c1c(-_0x2ff9a8._0x268fec,_0x2ff9a8._0x49b985,0x20,-_0x2ff9a8._0x279de8)]>0x0&&(_0x423809=await hydrateResults(_0x423809,_0x5a6b9d[_0x3e2c1c(-0x16f,-0xb4,-_0x2ff9a8._0x331d54,-_0x2ff9a8._0x4cc06e)],_0x100dcf[_0x2d21b4(_0x2ff9a8._0xcd1e92,0x800,_0x2ff9a8._0x390ee4,0x7a9)],_0x192ac2));const _0x548401=new Set();_0x423809=_0x423809[_0x3e2c1c(0x215,0xee,_0x2ff9a8._0x2e4c34,_0x2ff9a8._0x2db306)](_0x58dcf1=>{function _0xd40779(_0x446b92,_0x58325c,_0x31d5ac,_0x2bc5c4){return _0x2d21b4(_0x446b92-0xf4,_0x58325c,_0x2bc5c4- -0x332,_0x2bc5c4-_0x261432._0xdccf34);}function _0x13a350(_0x59b4a1,_0x22e97a,_0x513bf5,_0x60dd1e){return _0x3e2c1c(_0x59b4a1-_0x12ffe3._0x12d294,_0x22e97a-0x55b,_0x513bf5-_0x12ffe3._0x209acc,_0x59b4a1);}const _0x56acb7=_0x58dcf1[_0xd40779(0x399,0x597,0x368,_0x41fa32._0x553271)][_0x13a350(_0x41fa32._0x4c4515,_0x41fa32._0x17d811,_0x41fa32._0x154f4d,_0x41fa32._0x24c16d)]();if(!_0x56acb7||_0x548401[_0xd40779(_0x41fa32._0x3f8aba,_0x41fa32._0x38b2d5,_0x41fa32._0x5b5957,_0x41fa32._0x146024)](_0x56acb7))return![];return _0x548401['add'](_0x56acb7),!![];}),_0x423809=_0x423809['map']((_0x1d67ca,_0x223f66)=>({..._0x1d67ca,'source':{..._0x1d67ca[_0x2d21b4(0x953,0x94a,0x7e4,0x82a)],'rank':_0x223f66+0x1}}));const _0x5f0a6b={};if(_0x5a6b9d[_0x2d21b4(_0x2ff9a8._0x1c2d70,0x710,_0x2ff9a8._0x335c9d,_0x2ff9a8._0x881bc3)][_0x2d21b4(0x759,0x92f,_0x2ff9a8._0x34ea4f,0x8ab)]>0x0)_0x5f0a6b[_0x3e2c1c(-_0x2ff9a8._0x119ae7,-0x171,-_0x2ff9a8._0x5b26cc,-0x2d8)]=_0x5a6b9d[_0x2d21b4(_0x2ff9a8._0x13165b,0x74e,0x62b,_0x2ff9a8._0x3c6ffb)];if(_0x5a6b9d[_0x3e2c1c(-0x158,-_0x2ff9a8._0x26e98c,-_0x2ff9a8._0xe4fbe6,0xed)]>0x0)_0x5f0a6b[_0x2d21b4(0x6fb,0x808,_0x2ff9a8._0x43b97c,0x8a2)]=_0x5a6b9d['recencyDays'];if(_0x5a6b9d[_0x2d21b4(_0x2ff9a8._0x46b067,0x72e,_0x2ff9a8._0x19a5ea,_0x2ff9a8._0x2b623a)]!=='en')_0x5f0a6b[_0x3e2c1c(0x3c,-0xb4,-0xd4,-_0x2ff9a8._0x446784)]=_0x5a6b9d[_0x2d21b4(0x6b2,0x5b1,_0x2ff9a8._0x19a5ea,0x66b)];if(_0x5a6b9d['region'])_0x5f0a6b[_0x2d21b4(_0x2ff9a8._0x4b6a9b,0x66b,_0x2ff9a8._0x41aee2,_0x2ff9a8._0x4d7b98)]=_0x5a6b9d[_0x2d21b4(_0x2ff9a8._0x1de994,_0x2ff9a8._0x51ad46,_0x2ff9a8._0x41aee2,_0x2ff9a8._0x118f1a)];function _0x3e2c1c(_0x2e87c2,_0x59ca8a,_0x5cfee1,_0x9db9e1){return _0x2568f1(_0x2e87c2-0x96,_0x59ca8a-0x116,_0x9db9e1,_0x59ca8a- -_0x271ab5._0x2ad639);}return yield createToolOutput(formatResults(_0x423809),{'engine':_0x4d425f,'count':_0x423809['length'],'items':_0x423809,'query':_0x5a6b9d[_0x2d21b4(_0x2ff9a8._0xb4311a,0x66e,0x5a6,_0x2ff9a8._0x4349ca)],...Object[_0x2d21b4(0x7fa,_0x2ff9a8._0x53dc07,_0x2ff9a8._0x21b3bb,_0x2ff9a8._0x11ea55)](_0x5f0a6b)[_0x3e2c1c(-0x1b,_0x2ff9a8._0x49b985,_0x2ff9a8._0x28cbed,0x5d)]>0x0?{'appliedFilters':_0x5f0a6b}:{},'offset':_0x5a6b9d[_0x3e2c1c(-0xc4,0xba,0x236,0x21a)],'totalRequested':_0x5a6b9d[_0x2d21b4(0x78f,0x6c2,_0x2ff9a8._0x57ee8b,_0x2ff9a8._0x7aee3)],'hydrated':_0x5a6b9d[_0x3e2c1c(-0x1d3,-0x213,-0x378,-0x222)]}),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};