@nuvin/agent-core 0.2.0-rc.5 → 0.2.0-rc.7

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(_0x1c1ba0,_0x2004ba){const _0xd7cfab={_0x128d28:0x9c,_0x46dea1:0x32,_0x2025f4:0x10f,_0x195876:0x65,_0x3b8cb6:0xc6,_0x2d76ab:0x2f,_0x2257f8:0x27b,_0xc4e6f7:0x388,_0x37c7a5:0x42c,_0x1cc297:0x242,_0x478bfc:0x307,_0x5cd69d:0x201,_0xa2cbaa:0x357,_0x14914a:0x1b7,_0x379c1f:0x2a4,_0x10d964:0xb9,_0x3ce3e5:0x24b,_0x33cfcf:0x1d9,_0x1d861f:0xda,_0x27668c:0x46,_0x97e972:0x1a0,_0x26d018:0x97,_0x1e1a5f:0x50,_0x4d25e1:0x1c4},_0x29a2fc=_0x1c1ba0();function _0x22f9bd(_0x44e083,_0x39ad50,_0x5c8210,_0x5a1d19){return _0x5bda(_0x5c8210- -0x6,_0x39ad50);}function _0x4b4d0d(_0x187ff7,_0x20b3c0,_0x138d86,_0x57c1f6){return _0x5bda(_0x138d86- -0x3de,_0x187ff7);}while(!![]){try{const _0x15cb36=parseInt(_0x22f9bd(0x36,_0xd7cfab._0x128d28,0x1df,0x391))/0x1+-parseInt(_0x4b4d0d(-_0xd7cfab._0x46dea1,-_0xd7cfab._0x2025f4,-_0xd7cfab._0x195876,_0xd7cfab._0x3b8cb6))/0x2*(parseInt(_0x4b4d0d(0x181,-0x26,-_0xd7cfab._0x2d76ab,0x5))/0x3)+-parseInt(_0x4b4d0d(-0x398,-0x394,-_0xd7cfab._0x2257f8,-_0xd7cfab._0xc4e6f7))/0x4*(parseInt(_0x4b4d0d(-0x31f,-0x370,-0x2a9,-_0xd7cfab._0x37c7a5))/0x5)+-parseInt(_0x4b4d0d(-_0xd7cfab._0x1cc297,-_0xd7cfab._0x478bfc,-_0xd7cfab._0x5cd69d,-0x17a))/0x6*(-parseInt(_0x22f9bd(_0xd7cfab._0xa2cbaa,0x176,0x297,_0xd7cfab._0x14914a))/0x7)+parseInt(_0x22f9bd(0xbf,_0xd7cfab._0x379c1f,0x1fe,_0xd7cfab._0x10d964))/0x8+-parseInt(_0x22f9bd(0x390,0x1cd,_0xd7cfab._0x3ce3e5,_0xd7cfab._0x33cfcf))/0x9*(-parseInt(_0x4b4d0d(0xbb,-0x197,-_0xd7cfab._0x1d861f,_0xd7cfab._0x27668c))/0xa)+-parseInt(_0x22f9bd(_0xd7cfab._0x97e972,0x72,0xd8,0x68))/0xb*(-parseInt(_0x4b4d0d(-_0xd7cfab._0x26d018,-_0xd7cfab._0x1e1a5f,-_0xd7cfab._0x4d25e1,-0x21d))/0xc);if(_0x15cb36===_0x2004ba)break;else _0x29a2fc['push'](_0x29a2fc['shift']());}catch(_0x1917b7){_0x29a2fc['push'](_0x29a2fc['shift']());}}}(_0x4c1b,0x1cbd5));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-A4CS4HLK.js';import{getTextFromMessage}from'../chunk-YNOIG4FD.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 _0xb1fd38 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x5469ba(0x3ed,0x2b2,0x3e8,0x2d8),'.tsx':'typescriptreact','.js':_0x4bfe88(0x264,0x3c5,0x159,0x36d),'.jsx':'javascriptreact','.mjs':_0x5469ba(0x39,0x23,0x25,0x1a1),'.cjs':_0x5469ba(0x32a,0xbd,0x6b,0x1a1),'.mts':_0x4bfe88(0x39b,0x51a,0x498,0x454),'.cts':'typescript','.json':_0x5469ba(0x160,0x16d,0x1d,0x1b7),'.jsonc':_0x4bfe88(0x1d4,0x20a,0x49,0x246)};function getLanguageId(_0x65fecd){const _0x20fa07={_0x1c3c39:0x5d5,_0x14b2a8:0x4e6,_0x339507:0x614},_0xb828d9={_0x1bc590:0x15e};function _0x42e286(_0x516cc2,_0x419ecb,_0x11df4a,_0x5f2204){return _0x4bfe88(_0x419ecb-_0xb828d9._0x1bc590,_0x419ecb-0xbf,_0x11df4a-0x16d,_0x516cc2);}return EXTENSION_TO_LANGUAGE[_0xb1fd38['extname'](_0x65fecd)[_0x42e286(_0x20fa07._0x1c3c39,_0x20fa07._0x14b2a8,_0x20fa07._0x339507,0x382)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x202292){return pathToFileURL(_0x202292)['toString']();}function textDocumentPosition(_0x33fffb){const _0x578f80={_0x31332f:0x12b,_0x350835:0x4f,_0x5a6856:0x1d3,_0x17f3c1:0x36,_0x41d421:0x174},_0x4afc4a={_0x52b1fd:0x1af};function _0x163625(_0x27b57d,_0x2ba1a3,_0x4b7b97,_0x17e22c){return _0x4bfe88(_0x27b57d- -0x199,_0x2ba1a3-0x1c6,_0x4b7b97-0x58,_0x17e22c);}function _0x46ae75(_0x103818,_0x3e5175,_0x38c37f,_0x6bab3f){return _0x5469ba(_0x38c37f,_0x3e5175-0x40,_0x38c37f-_0x4afc4a._0x52b1fd,_0x3e5175- -0xc6);}return{'textDocument':{'uri':uriForPath(_0x33fffb['file'])},'position':{'line':_0x33fffb[_0x46ae75(_0x578f80._0x31332f,_0x578f80._0x350835,_0x578f80._0x5a6856,-_0x578f80._0x17f3c1)],'character':_0x33fffb[_0x46ae75(0x1dd,0x238,0x356,_0x578f80._0x41d421)]}};}function normalizeLocations(_0x49b4ba){const _0x9683a0={_0x1b87b3:0x15d},_0x58db6c={_0x3c59bd:0x1f0,_0x11444f:0x2b2};function _0x1eee84(_0x117a6f,_0xb89fd2,_0x17ba37,_0x59fb39){return _0x5469ba(_0x117a6f,_0xb89fd2-0x1f,_0x17ba37-_0x58db6c._0x3c59bd,_0xb89fd2- -_0x58db6c._0x11444f);}if(!_0x49b4ba)return[];return Array[_0x1eee84(-0x31,-_0x9683a0._0x1b87b3,-0x304,-0x14f)](_0x49b4ba)?_0x49b4ba:[_0x49b4ba];}async function withLspTimeout(_0x111e9b,_0x231e99,_0x37f717){const _0x19df8a={_0x31fcb2:0x35a,_0x3aa8fd:0x3d4,_0x3eef83:0x2e7,_0x1a4c2a:0x40,_0x299823:0x54,_0x398762:0x157,_0x47d12a:0x178,_0x47609c:0x54b,_0x43aab5:0x3ae,_0x87dc16:0x484},_0x15654f={_0x185e6c:0x15f},_0x3f0b40={_0x40434f:0x93,_0x590e0e:0x2e,_0x33fc33:0x17};function _0x3173ac(_0x2a2b61,_0x20d3ad,_0x2bcdc9,_0x46e478){return _0x4bfe88(_0x2a2b61-_0x3f0b40._0x40434f,_0x20d3ad-_0x3f0b40._0x590e0e,_0x2bcdc9-_0x3f0b40._0x33fc33,_0x46e478);}if(!Number[_0x3173ac(_0x19df8a._0x31fcb2,0x1be,_0x19df8a._0x3aa8fd,_0x19df8a._0x3eef83)](_0x231e99)||_0x231e99<0x1)throw new Error('Invalid\x20LSP\x20timeout\x20for\x20'+_0x37f717+_0x1a91e0(-_0x19df8a._0x1a4c2a,_0x19df8a._0x299823,_0x19df8a._0x398762,_0x19df8a._0x47d12a));function _0x1a91e0(_0x25a94f,_0x5e0c34,_0x9cd77,_0x50b74a){return _0x4bfe88(_0x5e0c34- -_0x15654f._0x185e6c,_0x5e0c34-0xcd,_0x9cd77-0x1f4,_0x25a94f);}let _0x2724cb;try{return await Promise[_0x3173ac(_0x19df8a._0x47609c,0x5c1,_0x19df8a._0x43aab5,_0x19df8a._0x87dc16)]([_0x111e9b,new Promise((_0x1317be,_0x2a10db)=>{const _0x4fbca8={_0x41f673:0x140,_0x3aa80b:0x1e5,_0x2bd76e:0xd2,_0x369f6f:0xbc,_0x369136:0x184};_0x2724cb=setTimeout(()=>{const _0x43fdd0={_0x3010dd:0x22a},_0x47e7a4={_0x50bf3d:0x8c};function _0x248045(_0x12232d,_0x2b897e,_0x4c64aa,_0xa244b0){return _0x5bda(_0x4c64aa- -_0x47e7a4._0x50bf3d,_0x2b897e);}function _0x53029d(_0x1dc046,_0x50cfea,_0xd8e62b,_0xa07540){return _0x5bda(_0x50cfea- -_0x43fdd0._0x3010dd,_0xd8e62b);}_0x2a10db(new Error('LSP\x20'+_0x37f717+_0x53029d(-0x24f,-_0x4fbca8._0x41f673,-_0x4fbca8._0x3aa80b,-_0x4fbca8._0x2bd76e)+_0x231e99+_0x53029d(_0x4fbca8._0x369f6f,0x9,_0x4fbca8._0x369136,0x153)));},_0x231e99);})]);}finally{if(_0x2724cb!==void 0x0)clearTimeout(_0x2724cb);}}async function createLspClient(_0x1536d4){const _0x15a3e6={_0x32dcca:0x580,_0x5ea382:0x362,_0x2c7f3b:0x41a,_0x200a63:0x4fe,_0x26c395:0x41c,_0x552e86:0x265,_0x2b3007:0x389,_0x58ea39:0x21b,_0x294654:0xe0,_0x15fd50:0x3b5,_0xc511c8:0x416,_0x18b3b6:0x31c,_0x3870b3:0x42a,_0x568395:0x49,_0x1b6b4b:0x8c,_0x190db4:0x305,_0x3ef275:0x12b,_0x3dc8fd:0x2d0,_0x2b5664:0x48a,_0x25944c:0x450,_0x17ad44:0x4e3,_0x3b85b9:0x199,_0xe1cf4e:0x46,_0x40303b:0x117,_0xaafcbc:0x21,_0x15648a:0x23d,_0x997ddc:0x327,_0x4e3677:0x490,_0x5431d2:0x14e,_0x4e3b4b:0x408,_0x130c96:0x2c6},_0x2e0060={_0x128070:0x408,_0x492a3f:0xef,_0x5c573c:0x114,_0x36c75a:0x6b,_0x57710b:0x59,_0x216367:0x1d4,_0x48bb75:0x38},_0x34f93e={_0x3a96e2:0xbd},_0x4be576={_0x3a62c5:0x270,_0x570402:0x1dc,_0x4a844a:0x266,_0x4bbbf1:0x199},_0x175ffd={_0x1e74b6:0x334,_0x1b14d0:0x4e2},_0x4e870d={_0x2420b5:0x282},_0x17d239={_0x258c05:0x9f},_0x19cdc1={_0x5863f9:0xfb,_0x12eff2:0x4c},_0x2c8f6b={_0x4e2e35:0x54b,_0xc213a7:0x571,_0x4a7cdb:0x694,_0x523b5b:0x832},_0x30cdce={_0x23d118:0x188,_0x130aa5:0x4e},_0x2f78fe={_0x1b11cd:0xc8,_0x2b608e:0xb7,_0x559b68:0xd0,_0x2f7df8:0x62},_0x536f73={_0x3d9fe8:0x14a},_0x48d834={_0x362981:0x27,_0x3c7ed9:0x46,_0x242bde:0xac,_0x2f6982:0x25},_0x1a63ae={_0x260091:0x225,_0x3e636a:0x340,_0x2c4422:0x2ac,_0x10af70:0x3af,_0x391b38:0x136,_0xcce03:0x104},_0x433434={_0x101f6b:0xde,_0x2ce014:0x81,_0x2cdf63:0x1f1},_0x32ebe0={_0x1b2a81:0x106,_0x327848:0x1d9,_0x55229d:0xd3},_0x5d9505={_0x1e5b5d:0x57,_0x2e9331:0xc3,_0x391f60:0x77,_0x43df7b:0x15,_0x5dfa27:0x57c,_0x5137fd:0x5b3,_0x24de79:0xf9,_0xeb4b19:0x141,_0x1ea809:0x29},_0x2d5725={_0x12ee56:0xff,_0x4bcf50:0xb8},_0x5de50b={_0x327303:0x191,_0x40e273:0x26},_0x336ec9={_0x426f27:0x4b0,_0x42815c:0x495,_0x20c557:0x25f,_0x4c80ce:0x3e2,_0x34d1e7:0x6e2,_0x1adb67:0x59e,_0x26a5cb:0x790,_0x368282:0x630},_0x5d4957={_0x398f47:0x144},_0x1f07a2={_0x464e0c:0xf4},_0x5b3440=_0x1536d4[_0x478290(0x285,_0x15a3e6._0x32dcca,0x432,_0x15a3e6._0x5ea382)][_0x478290(0x18c,0x22d,0x23f,0x19f)][_0x478290(_0x15a3e6._0x2c7f3b,_0x15a3e6._0x200a63,_0x15a3e6._0x26c395,_0x15a3e6._0x552e86)];function _0x194875(_0x4b0133,_0x2ca678,_0x452ff8,_0x103856){return _0x4bfe88(_0x2ca678- -_0x1f07a2._0x464e0c,_0x2ca678-0x8,_0x452ff8-0xce,_0x4b0133);}const _0x14e9e1=_0x1536d4[_0x194875(0x578,0x3db,_0x15a3e6._0x2b3007,0x37d)][_0x478290(_0x15a3e6._0x58ea39,0x2e2,0x23f,_0x15a3e6._0x294654)]['stdin'];if(!_0x5b3440||!_0x14e9e1)throw new Error(_0x194875(0x3c5,_0x15a3e6._0x15fd50,0x40f,_0x15a3e6._0xc511c8));const _0x5ea490=_0x1536d4['requestTimeoutMs']??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x460cc5=createMessageConnection(new StreamMessageReader(_0x5b3440),new StreamMessageWriter(_0x14e9e1)),_0x1f7680=new Map(),_0x3bad7d=new Map();let _0x460599=![];const _0x3634fc=async(_0x1bf1d5,_0x108803)=>{const _0x5ab838={_0x3d857b:0xd0,_0x4fec45:0xa1};function _0x34cdeb(_0x5b2851,_0x4698de,_0x3ee46a,_0x2a0345){return _0x194875(_0x5b2851,_0x3ee46a- -0x1f,_0x3ee46a-_0x5ab838._0x3d857b,_0x2a0345-_0x5ab838._0x4fec45);}return withLspTimeout(_0x460cc5[_0x34cdeb(0x2d6,0x15c,0x1d6,_0x5d4957._0x398f47)](_0x1bf1d5,_0x108803),_0x5ea490,_0x1bf1d5);};_0x460cc5[_0x194875(_0x15a3e6._0x18b3b6,0x334,0x47c,_0x15a3e6._0x3870b3)]('textDocument/publishDiagnostics',_0x209728=>{const _0x41b47b={_0x1c0ae3:0x3c9,_0x129d69:0x148,_0xacffca:0xaa},_0xb4f74={_0x429bd2:0x26f};_0x1f7680[_0x1e8f71(_0x336ec9._0x426f27,0x65f,0x30b,0x5df)](_0x209728[_0x2660d6(0x536,0x7db,_0x336ec9._0x42815c,0x63e)],_0x209728[_0x2660d6(_0x336ec9._0x20c557,0x4b8,_0x336ec9._0x4c80ce,0x3df)]);function _0x2660d6(_0xf15b23,_0x5a8e7e,_0x491a89,_0x3324da){return _0x478290(_0xf15b23-0x1e8,_0x5a8e7e-0xfa,_0x3324da-_0xb4f74._0x429bd2,_0xf15b23);}const _0x184212=_0x3bad7d['get'](_0x209728['uri']);if(!_0x184212)return;_0x3bad7d[_0x1e8f71(_0x336ec9._0x34d1e7,_0x336ec9._0x1adb67,_0x336ec9._0x26a5cb,0x54b)](_0x209728[_0x1e8f71(0x741,0x865,_0x336ec9._0x368282,0x7ed)]);function _0x1e8f71(_0x3b6306,_0x19680e,_0xeec5b6,_0x1d495a){return _0x194875(_0x1d495a,_0x3b6306-_0x41b47b._0x1c0ae3,_0xeec5b6-_0x41b47b._0x129d69,_0x1d495a-_0x41b47b._0xacffca);}for(const _0x1b603a of _0x184212)_0x1b603a();}),_0x460cc5[_0x194875(-_0x15a3e6._0x568395,0xab,0x10b,-_0x15a3e6._0x1b6b4b)]();let _0x298ea7;try{_0x298ea7=await _0x3634fc('initialize',{'processId':process[_0x194875(0x1c0,0x31e,0x483,_0x15a3e6._0x190db4)],'rootUri':uriForPath(_0x1536d4[_0x194875(_0x15a3e6._0x3ef275,_0x15a3e6._0x3dc8fd,0x239,0x2ce)]),'workspaceFolders':[{'uri':uriForPath(_0x1536d4[_0x194875(0x328,0x2d0,0x2cd,0x388)]),'name':_0x1536d4[_0x478290(_0x15a3e6._0x2b5664,_0x15a3e6._0x25944c,0x38a,_0x15a3e6._0x17ad44)]['id']}],'initializationOptions':_0x1536d4['handle']['initialization']??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':['markdown','plaintext']},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x10feb7){_0x460cc5[_0x478290(0x102,0x236,0x1ae,_0x15a3e6._0x3b85b9)](),_0x1536d4['handle']['process'][_0x194875(-_0x15a3e6._0xe1cf4e,_0x15a3e6._0x40303b,-_0x15a3e6._0xaafcbc,-0x3a)]();throw _0x10feb7;}function _0x478290(_0x58d1ec,_0x163bee,_0x9bb698,_0x39fea2){return _0x5469ba(_0x39fea2,_0x163bee-_0x5de50b._0x327303,_0x9bb698-0x155,_0x9bb698-_0x5de50b._0x40e273);}_0x460cc5['sendNotification']('initialized',{});const _0x306b0c={'serverId':_0x1536d4[_0x478290(0x4bb,0x500,0x38a,0x4ce)]['id'],'root':_0x1536d4[_0x478290(_0x15a3e6._0x15648a,0x200,_0x15a3e6._0x997ddc,_0x15a3e6._0x4e3677)],'connection':_0x460cc5,'diagnostics':_0x1f7680,'capabilities':_0x298ea7[_0x478290(_0x15a3e6._0x5431d2,_0x15a3e6._0x4e3b4b,_0x15a3e6._0x130c96,0x267)]??{},'notify':{async 'open'({path:_0x2bf684}){const _0x37ac50={_0x58b12a:0x123},_0x543125=await readFile(_0x2bf684,'utf8');function _0x35b1af(_0x4149d0,_0x5ebd5d,_0xc6c43f,_0x156f50){return _0x478290(_0x4149d0-_0x2d5725._0x12ee56,_0x5ebd5d-_0x2d5725._0x4bcf50,_0xc6c43f-0x341,_0x5ebd5d);}function _0x39fdc4(_0x2e0f9b,_0x301b8a,_0x6eebbe,_0x36e6d3){return _0x478290(_0x2e0f9b-0x1df,_0x301b8a-_0x37ac50._0x58b12a,_0x36e6d3- -0x2ec,_0x301b8a);}_0x460cc5[_0x39fdc4(-_0x5d9505._0x1e5b5d,-_0x5d9505._0x2e9331,_0x5d9505._0x391f60,-_0x5d9505._0x43df7b)](_0x35b1af(0x523,_0x5d9505._0x5dfa27,_0x5d9505._0x5137fd,0x6b3),{'textDocument':{'uri':uriForPath(_0x2bf684),'languageId':getLanguageId(_0x2bf684)??_0x39fdc4(-0x1dd,-_0x5d9505._0x24de79,-_0x5d9505._0xeb4b19,-_0x5d9505._0x1ea809),'version':0x1,'text':_0x543125}});},async 'change'({path:_0x257e32,version:_0x23ecd8}){function _0xd70330(_0x1b7472,_0x4f9756,_0x3df25b,_0x559967){return _0x194875(_0x3df25b,_0x4f9756-_0x32ebe0._0x1b2a81,_0x3df25b-_0x32ebe0._0x327848,_0x559967-_0x32ebe0._0x55229d);}const _0x584a45=await readFile(_0x257e32,_0xd70330(_0x1a63ae._0x260091,0x1a9,_0x1a63ae._0x3e636a,0x269));function _0x2e723b(_0x113a4b,_0x10a650,_0x236f53,_0x428215){return _0x478290(_0x113a4b-_0x433434._0x101f6b,_0x10a650-_0x433434._0x2ce014,_0x10a650- -_0x433434._0x2cdf63,_0x236f53);}_0x460cc5[_0xd70330(_0x1a63ae._0x2c4422,0x386,0x299,_0x1a63ae._0x10af70)](_0x2e723b(_0x1a63ae._0x391b38,_0x1a63ae._0xcce03,0x10b,0x178),{'textDocument':{'uri':uriForPath(_0x257e32),'version':_0x23ecd8},'contentChanges':[{'text':_0x584a45}]});},async 'close'({path:_0x333fe0}){const _0x1df26e={_0x423f64:0x23a},_0x2c25d8={_0x1bfa10:0x1d6,_0x190bd9:0x374};function _0x49416d(_0xaa14ba,_0x11b45f,_0x16e758,_0x13191d){return _0x478290(_0xaa14ba-_0x2c25d8._0x1bfa10,_0x11b45f-0x148,_0x16e758- -_0x2c25d8._0x190bd9,_0x13191d);}function _0x2fc800(_0x30bdfa,_0x443ea7,_0xdd910a,_0x14b2fc){return _0x194875(_0x30bdfa,_0x14b2fc- -_0x1df26e._0x423f64,_0xdd910a-0x160,_0x14b2fc-0x194);}_0x460cc5[_0x2fc800(0x43,-_0x48d834._0x362981,0xd9,_0x48d834._0x3c7ed9)](_0x49416d(-_0x48d834._0x242bde,-0x388,-0x1d2,-_0x48d834._0x2f6982),{'textDocument':{'uri':uriForPath(_0x333fe0)}});}},'request':{async 'definition'(_0x29d0d0){function _0x2d83b0(_0x1293f4,_0x42414f,_0x309cc1,_0xd5d9c1){return _0x478290(_0x1293f4-0x7c,_0x42414f-_0x536f73._0x3d9fe8,_0x309cc1- -0x243,_0x1293f4);}return normalizeLocations(await _0x3634fc(_0x2d83b0(-_0x2f78fe._0x1b11cd,_0x2f78fe._0x2b608e,-_0x2f78fe._0x559b68,_0x2f78fe._0x2f7df8),textDocumentPosition(_0x29d0d0)));},async 'references'(_0x1191f3){return normalizeLocations(await _0x3634fc('textDocument/references',{...textDocumentPosition(_0x1191f3),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x347bad){return await _0x3634fc('textDocument/hover',textDocumentPosition(_0x347bad))??null;},async 'documentSymbol'(_0x4dd0b1){function _0x299d07(_0x453f15,_0x14fc04,_0x29f1f6,_0x2b95a7){return _0x194875(_0x453f15,_0x29f1f6-0x364,_0x29f1f6-_0x30cdce._0x23d118,_0x2b95a7-_0x30cdce._0x130aa5);}return await _0x3634fc(_0x299d07(_0x2c8f6b._0x4e2e35,_0x2c8f6b._0xc213a7,_0x2c8f6b._0x4a7cdb,_0x2c8f6b._0x523b5b),{'textDocument':{'uri':uriForPath(_0x4dd0b1)}})??[];},async 'workspaceSymbol'(_0x16b7c9){return await _0x3634fc('workspace/symbol',{'query':_0x16b7c9})??[];},async 'implementation'(_0x46ebf5){const _0x50db47={_0x3df292:0x213};function _0x3f3bf1(_0x4d437a,_0x167c01,_0x4a4462,_0x3842ab){return _0x194875(_0x3842ab,_0x167c01- -_0x50db47._0x3df292,_0x4a4462-0x1e3,_0x3842ab-0x10e);}return normalizeLocations(await _0x3634fc(_0x3f3bf1(-_0x19cdc1._0x5863f9,_0x19cdc1._0x12eff2,0x113,0xbf),textDocumentPosition(_0x46ebf5)));},async 'prepareCallHierarchy'(_0x167309){const _0x3c0a84={_0x4ad816:0xd1,_0x157ae1:0x4a};function _0x1a0966(_0x1bac85,_0xfc74dd,_0x261755,_0x54b218){return _0x194875(_0x1bac85,_0x261755- -0xd6,_0x261755-_0x3c0a84._0x4ad816,_0x54b218-_0x3c0a84._0x157ae1);}return await _0x3634fc(_0x1a0966(0x245,-0xa4,_0x17d239._0x258c05,0xf9),textDocumentPosition(_0x167309))??[];},async 'incomingCalls'(_0x35b42b){return await _0x3634fc('callHierarchy/incomingCalls',{'item':_0x35b42b})??[];},async 'outgoingCalls'(_0x2e836a){function _0x25ed09(_0x4a20a7,_0x46e143,_0x597528,_0x3edb3d){return _0x194875(_0x46e143,_0x3edb3d-_0x4e870d._0x2420b5,_0x597528-0xad,_0x3edb3d-0x22);}return await _0x3634fc(_0x25ed09(_0x175ffd._0x1e74b6,0x504,0x592,_0x175ffd._0x1b14d0),{'item':_0x2e836a})??[];}},'waitForDiagnostics'({path:_0x5b8da8,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x86cd9e={_0x3f5b4e:0x1de,_0x3a9972:0xc8,_0x163538:0x212},_0x4ca5a4={_0x1a9114:0x3cf,_0x208329:0x62d,_0x5d6e8c:0x461},_0x483159={_0x334ec6:0x1b7},_0x3d1a9f=uriForPath(_0x5b8da8);function _0x51f52d(_0x2a863a,_0x36a8df,_0x460d36,_0x465e4f){return _0x478290(_0x2a863a-0xc,_0x36a8df-0x1b8,_0x460d36- -_0x483159._0x334ec6,_0x465e4f);}if(_0x1f7680[_0x51f52d(0x198,0x60,0x66,-_0x34f93e._0x3a96e2)](_0x3d1a9f))return Promise['resolve']();return new Promise(_0x185644=>{const _0x10af91={_0x34fc0d:0xf4,_0x4d6ba0:0x98},_0x5af418={_0x372bef:0x29a},_0xb7232f=setTimeout(()=>{const _0x2f253a={_0x3fe122:0x34a};function _0x1303b7(_0x24dff7,_0x4147d2,_0x198d9d,_0x27da7a){return _0x5bda(_0x24dff7-_0x5af418._0x372bef,_0x27da7a);}const _0x164e5d=_0x3bad7d[_0x1cc54a(-0xa0,-0x101,-0x2b6,-0x12d)](_0x3d1a9f);_0x164e5d?.['delete'](_0x5818b7);if(_0x164e5d?.[_0x1303b7(0x580,_0x4ca5a4._0x1a9114,0x534,0x66a)]===0x0)_0x3bad7d[_0x1303b7(0x5ae,_0x4ca5a4._0x208329,0x6fe,_0x4ca5a4._0x5d6e8c)](_0x3d1a9f);function _0x1cc54a(_0x2d5efd,_0x250e7f,_0x1f4e55,_0x45e52b){return _0x5bda(_0x250e7f- -_0x2f253a._0x3fe122,_0x45e52b);}_0x185644();},timeoutMs);function _0x518c17(_0x3c7640,_0x452fd4,_0x5a7a3a,_0x1f5f1a){return _0x51f52d(_0x3c7640-_0x86cd9e._0x3f5b4e,_0x452fd4-_0x86cd9e._0x3a9972,_0x1f5f1a-_0x86cd9e._0x163538,_0x3c7640);}const _0x5818b7=()=>{clearTimeout(_0xb7232f),_0x185644();},_0x17e9d8=_0x3bad7d['get'](_0x3d1a9f)??new Set();_0x17e9d8[_0x518c17(_0x4be576._0x3a62c5,0xce,0x359,_0x4be576._0x570402)](_0x5818b7);function _0x53be28(_0x4caa11,_0x38372a,_0x3c4179,_0x7220f4){return _0x51f52d(_0x4caa11-_0x10af91._0x34fc0d,_0x38372a-_0x10af91._0x4d6ba0,_0x38372a-0x183,_0x4caa11);}_0x3bad7d[_0x518c17(0x30d,0x2ac,_0x4be576._0x4a844a,_0x4be576._0x4bbbf1)](_0x3d1a9f,_0x17e9d8);});},async 'shutdown'(){const _0x1bb610={_0x147fb6:0x10b,_0x2537d6:0x31,_0x550832:0x26},_0x5e9e2f={_0x52bb03:0x394};function _0x59c69e(_0x417d56,_0x2bbaab,_0x215722,_0x511ae5){return _0x194875(_0x215722,_0x2bbaab- -_0x5e9e2f._0x52bb03,_0x215722-0x1e7,_0x511ae5-0x7f);}if(_0x460599)return;function _0x24f51a(_0x4b1b5e,_0x342983,_0x2d5d31,_0x266511){return _0x478290(_0x4b1b5e-_0x1bb610._0x147fb6,_0x342983-_0x1bb610._0x2537d6,_0x266511-_0x1bb610._0x550832,_0x342983);}_0x460599=!![];try{await _0x3634fc(_0x24f51a(0x298,0x2dc,0x2c9,_0x2e0060._0x128070),null),_0x460cc5[_0x59c69e(-_0x2e0060._0x492a3f,-_0x2e0060._0x5c573c,-_0x2e0060._0x36c75a,0x6f)](_0x24f51a(0x1d9,0x16b,0x41f,0x2ad));}catch{}finally{_0x460cc5[_0x24f51a(_0x2e0060._0x57710b,0xc3,0xc0,_0x2e0060._0x216367)](),_0x1536d4['handle']['process'][_0x24f51a(0x199,_0x2e0060._0x48bb75,0x19e,0x194)]();}}};return _0x306b0c;}import{spawn as _0x3e6101}from'child_process';import{access as _0x5ee660}from'fs/promises';import _0x3757ba from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x15832f from'os';import _0x620bf1 from'path';import _0x265324 from'which';var installPromises=new Map();function sanitizePackageName(_0x65f21){const _0x1d7211={_0x523c71:0x5ff,_0x25bb45:0x6de,_0xa84679:0x69c},_0x40f5fd={_0x589177:0x11e};function _0x23f8ba(_0xd21f13,_0x52f50b,_0x4addc8,_0x10c29d){return _0x4bfe88(_0x4addc8- -0x39,_0x52f50b-0x54,_0x4addc8-_0x40f5fd._0x589177,_0xd21f13);}function _0x2e73d0(_0x9b33d1,_0x9204a9,_0x400915,_0x34c165){return _0x4bfe88(_0x9204a9-0x2de,_0x9204a9-0x2b,_0x400915-0x12b,_0x9b33d1);}return _0x65f21[_0x2e73d0(_0x1d7211._0x523c71,_0x1d7211._0x25bb45,0x5dd,0x868)](/^@/,'')[_0x2e73d0(0x67e,0x6de,_0x1d7211._0xa84679,0x7d7)](/[/]/g,'__');}function binaryNameForPlatform(_0x11adad){const _0x5c4846={_0x277359:0x5e,_0x43aafe:0x112,_0x15d752:0x275,_0x472f03:0xbe,_0x4fc027:0x68},_0x1f3931={_0x7d0755:0x1a9,_0x37e179:0x5b},_0x43726f={_0x1aac53:0x48f,_0x191ae4:0xd8};function _0x487b88(_0x11effe,_0x27e510,_0x4f61b3,_0x4d15f3){return _0x4bfe88(_0x11effe- -_0x43726f._0x1aac53,_0x27e510-_0x43726f._0x191ae4,_0x4f61b3-0x36,_0x4d15f3);}function _0x4eedb4(_0x25db3f,_0x39793b,_0x49be11,_0x3d9099){return _0x5469ba(_0x39793b,_0x39793b-_0x1f3931._0x7d0755,_0x49be11-_0x1f3931._0x37e179,_0x25db3f- -0x33a);}return process['platform']===_0x487b88(-0xd2,-_0x5c4846._0x277359,-_0x5c4846._0x43aafe,-_0x5c4846._0x15d752)?_0x11adad+_0x4eedb4(_0x5c4846._0x472f03,0x1fe,-_0x5c4846._0x4fc027,-0x4f):_0x11adad;}async function exists(_0x4c1bf5){try{return await access(_0x4c1bf5),!![];}catch{return![];}}function runNpmInstall(_0x99f1f2,_0x365165,_0x4c32a8){const _0x112deb={_0x16bd9d:0x2db,_0x44a89b:0x3b1,_0x1acbd2:0x14c,_0x1098d9:0x190,_0x4aa6ab:0x143,_0x3e8dfa:0x343,_0x59d222:0x276,_0x994048:0x297,_0x2a8307:0xb3,_0x276206:0xc6,_0x42cace:0x12a,_0x513b69:0x1f9},_0x39ab01={_0x26064f:0xd9};return new Promise(_0x2c799b=>{const _0x213d23={_0x16e0f0:0x19b};function _0x160707(_0x44717b,_0xf4dba8,_0x382d46,_0x5f099c){return _0x5bda(_0x44717b- -_0x213d23._0x16e0f0,_0xf4dba8);}const _0x505154=spawn(_0x46c078(0x442,_0x112deb._0x16bd9d,0x34d,_0x112deb._0x44a89b),[_0x160707(0x1a5,_0x112deb._0x1acbd2,_0x112deb._0x1098d9,_0x112deb._0x4aa6ab),_0x46c078(0x3df,_0x112deb._0x3e8dfa,_0x112deb._0x59d222,_0x112deb._0x994048),_0x99f1f2,_0x365165],{'env':_0x4c32a8,'stdio':_0x160707(0x9d,-_0x112deb._0x2a8307,0x12b,_0x112deb._0x276206)});_0x505154['on'](_0x46c078(0x2bc,0x147,0x2bb,0x1a2),()=>_0x2c799b(![]));function _0x46c078(_0x5e377c,_0x3125ea,_0x255db6,_0x267249){return _0x5bda(_0x267249-_0x39ab01._0x26064f,_0x3125ea);}_0x505154['on'](_0x160707(-_0x112deb._0x42cace,0x6e,-_0x112deb._0x513b69,-0x1aa),_0x473b00=>_0x2c799b(_0x473b00===0x0));});}function shouldDisableLspDownload(_0x4f359b=process['env']){const _0x207547={_0x37c211:0x132,_0x4b41d6:0x4e3,_0x1b8529:0x24a,_0x3f0a80:0x1ae,_0x4d8391:0x26c},_0x5bf124={_0x152ca3:0x80},_0x15dfd3={_0x3233db:0x77,_0x4fe9a2:0x2e};function _0x436460(_0x4a8ced,_0x5ad306,_0x15a302,_0x2b548c){return _0x5469ba(_0x5ad306,_0x5ad306-_0x15dfd3._0x3233db,_0x15a302-_0x15dfd3._0x4fe9a2,_0x15a302-0xfd);}function _0x4e8a98(_0x465411,_0x1cc562,_0x2b4f8a,_0x5b532a){return _0x5469ba(_0x1cc562,_0x1cc562-0x13a,_0x2b4f8a-0x160,_0x5b532a-_0x5bf124._0x152ca3);}const _0x3dc344=_0x4f359b[_0x436460(0x3ec,0x368,0x2bc,_0x207547._0x37c211)]?.[_0x436460(0x280,_0x207547._0x4b41d6,0x3c2,0x3f2)]();return _0x3dc344===_0x436460(0x176,0x323,0x1b2,0x259)||_0x3dc344==='1'||_0x3dc344===_0x4e8a98(_0x207547._0x1b8529,0x21c,_0x207547._0x3f0a80,_0x207547._0x4d8391)||_0x3dc344==='on';}function getLspPackageDir(_0x25fdeb){const _0x340e4a={_0x2796ed:0x8,_0x3678ab:0xf5,_0x3ca424:0xe2,_0x407657:0x183,_0x32ffbd:0x2b,_0x4b3724:0x53,_0x56517a:0x304,_0x3a773a:0x126},_0x30463d={_0x2a657e:0x1e8};function _0x55ad4b(_0x4822f9,_0x63987f,_0xf116bf,_0xf25ccd){return _0x5469ba(_0xf116bf,_0x63987f-0x1f3,_0xf116bf-_0x30463d._0x2a657e,_0xf25ccd- -0x247);}function _0x6407d0(_0x28c430,_0x33d40a,_0x528187,_0x1921c5){return _0x4bfe88(_0x1921c5- -0x354,_0x33d40a-0xab,_0x528187-0x17e,_0x33d40a);}return _0x620bf1[_0x55ad4b(0x99,0x8b,_0x340e4a._0x2796ed,0x1b0)](_0x15832f[_0x55ad4b(-0x82,_0x340e4a._0x3678ab,0x22b,_0x340e4a._0x3ca424)](),_0x55ad4b(-_0x340e4a._0x407657,0xac,_0x340e4a._0x32ffbd,-0xe9),_0x55ad4b(-0x47,_0x340e4a._0x4b3724,_0x340e4a._0x56517a,0x165),_0x6407d0(0xe2,_0x340e4a._0x3a773a,-0x7a,0x43),sanitizePackageName(_0x25fdeb));}function getLspBinDir(_0xae03fe){const _0x36710d={_0x333ecc:0x4b8,_0x15b265:0x5c8,_0x45e392:0x54e,_0x12ed40:0x5b2,_0x249385:0x353,_0x3d306f:0x343,_0x21ffd3:0x498,_0x487d5c:0x3a5},_0x3815be={_0x1719c5:0x127},_0x27b80f={_0x23adfa:0x17f};function _0x169bba(_0x5cf6a6,_0xeaec50,_0x3b20e3,_0x3b600f){return _0x4bfe88(_0xeaec50-0x10e,_0xeaec50-_0x27b80f._0x23adfa,_0x3b20e3-0xa9,_0x3b600f);}function _0xf29081(_0x114a82,_0x5a9232,_0x2476ae,_0x3654b6){return _0x5469ba(_0x2476ae,_0x5a9232-0x109,_0x2476ae-_0x3815be._0x1719c5,_0x114a82-0x2cd);}return _0x620bf1[_0x169bba(_0x36710d._0x333ecc,_0x36710d._0x15b265,_0x36710d._0x45e392,_0x36710d._0x12ed40)](getLspPackageDir(_0xae03fe),_0x169bba(0x49f,_0x36710d._0x249385,0x19c,_0x36710d._0x3d306f),_0xf29081(_0x36710d._0x21ffd3,0x33a,_0x36710d._0x487d5c,0x643));}async function findPackageBinary(_0xedd750,_0x15f29e){const _0x2857de={_0x4567f9:0x17d,_0x3fef5d:0x15e,_0x145e85:0x232,_0x1b2dd0:0xb1,_0x56100e:0x1be,_0xbae375:0x95,_0x915603:0x61},_0x5d5508={_0x1d8cb8:0xae,_0x530da9:0x1c1},_0x3591ee={_0x2f0bfc:0x17a};function _0xe44612(_0x4c231e,_0x14d798,_0x3ce8fd,_0x2404de){return _0x5469ba(_0x14d798,_0x14d798-0x15c,_0x3ce8fd-0xde,_0x3ce8fd- -_0x3591ee._0x2f0bfc);}let _0x5b45f7=_0x620bf1[_0x5d8e4a(_0x2857de._0x4567f9,_0x2857de._0x3fef5d,_0x2857de._0x145e85,_0x2857de._0x1b2dd0)](_0x15f29e);const _0x299feb=binaryNameForPlatform(_0xedd750);function _0x5d8e4a(_0x375158,_0x11f961,_0x30a399,_0x24380d){return _0x5469ba(_0x24380d,_0x11f961-_0x5d5508._0x1d8cb8,_0x30a399-0xc0,_0x11f961- -_0x5d5508._0x530da9);}while(!![]){const _0x2d7504=_0x620bf1['join'](_0x5b45f7,'node_modules','.bin',_0x299feb);if(await exists(_0x2d7504))return _0x2d7504;const _0x742466=_0x620bf1[_0xe44612(_0x2857de._0x56100e,-_0x2857de._0xbae375,_0x2857de._0x915603,0x4)](_0x5b45f7);if(_0x742466===_0x5b45f7)return void 0x0;_0x5b45f7=_0x742466;}}async function findPathBinary(_0x44e2da,_0xc3c46b){const _0x4f8659={_0x528ad7:0x2a8},_0x121f92={_0x58e032:0x32,_0x1d7f87:0x2fb},_0x230276=getLspBinDir(_0xc3c46b);function _0x3cfde0(_0x2c7265,_0x4b8318,_0x59aeb3,_0x3590bd){return _0x5469ba(_0x2c7265,_0x4b8318-_0x121f92._0x58e032,_0x59aeb3-0x1de,_0x59aeb3- -_0x121f92._0x1d7f87);}const _0x31ab1f=[_0x230276,process['env']['PATH']]['filter'](Boolean)['join'](_0x620bf1[_0x3cfde0(-0x1c4,-_0x4f8659._0x528ad7,-0x17e,-0x155)]);try{return await _0x265324(_0x44e2da,{'path':_0x31ab1f});}catch{return void 0x0;}}async function resolvePackageBinary(_0x3f5e14){const _0x54411a={_0x15f8f5:0x35,_0x5a3663:0xcf,_0x2b684a:0x170,_0x3c4d77:0x43,_0x5cbd77:0xbc,_0x2aa953:0x171,_0x3981c9:0x894,_0x5123b0:0x61b,_0x41843b:0x590,_0x2db301:0x223,_0x56a447:0x2d},_0x27cb29={_0x5f049e:0x42d,_0x38658a:0x4ff,_0x4cdca9:0x37c,_0x551637:0x423,_0x5daf06:0x453,_0x3fe19a:0x5c1,_0x9d43ef:0x3db,_0x3e65cf:0x22a,_0x3d95d1:0x33e,_0x103721:0x258},_0x14c5eb={_0x5601d3:0x1cb,_0x8c4f29:0x1cd},_0x3103ef={_0x232fba:0x126,_0x14afc5:0x151},_0x371176=_0x3f5e14[_0x3aaa42(-_0x54411a._0x15f8f5,-0x2f6,-0x1ac,-0x24e)]??_0x3f5e14['packageName'],_0x5d122f=await findPackageBinary(_0x371176,_0x3f5e14['startDir']);function _0x3aaa42(_0x386e06,_0x13e8c6,_0xb873b3,_0x445988){return _0x4bfe88(_0xb873b3- -0x323,_0x13e8c6-_0x3103ef._0x232fba,_0xb873b3-_0x3103ef._0x14afc5,_0x445988);}if(_0x5d122f)return _0x5d122f;function _0xf83cfe(_0x24db12,_0x40ebdc,_0x4369c9,_0x114370){return _0x5469ba(_0x24db12,_0x40ebdc-0x108,_0x4369c9-0xe7,_0x114370-0x333);}const _0x18a5b9=await findPathBinary(_0x371176,_0x3f5e14[_0x3aaa42(0x30a,0x12e,0x171,_0x54411a._0x5a3663)]);if(_0x18a5b9)return _0x18a5b9;const _0x1fdaed=_0x3f5e14['env']??process[_0x3aaa42(0xe0,_0x54411a._0x2b684a,-_0x54411a._0x3c4d77,0x14a)];if(shouldDisableLspDownload(_0x1fdaed))return void 0x0;const _0x38bd2f=getLspPackageDir(_0x3f5e14[_0x3aaa42(_0x54411a._0x5cbd77,0xd5,_0x54411a._0x2aa953,0x100)]),_0x2a6cee=_0x3f5e14[_0xf83cfe(_0x54411a._0x3981c9,_0x54411a._0x5123b0,_0x54411a._0x41843b,0x704)]+':'+_0x371176;let _0x92786f=installPromises['get'](_0x2a6cee);!_0x92786f&&(_0x92786f=((async()=>{const _0x1b75e3={_0x205d35:0x30,_0x146e23:0x1b4};await mkdir(_0x38bd2f,{'recursive':!![]});function _0x51eeb8(_0x1b65a8,_0x57c506,_0x484862,_0x49f14a){return _0xf83cfe(_0x57c506,_0x57c506-_0x1b75e3._0x205d35,_0x484862-_0x1b75e3._0x146e23,_0x1b65a8- -0x2d7);}function _0x26e514(_0x5d7f7b,_0x1838be,_0xb98e7,_0x24d15b){return _0x3aaa42(_0x5d7f7b-_0x14c5eb._0x5601d3,_0x1838be-0x14b,_0xb98e7-_0x14c5eb._0x8c4f29,_0x1838be);}const _0x30343a=await runNpmInstall(_0x38bd2f,_0x3f5e14[_0x51eeb8(_0x27cb29._0x5f049e,_0x27cb29._0x38658a,_0x27cb29._0x4cdca9,_0x27cb29._0x551637)],_0x1fdaed);if(!_0x30343a)return void 0x0;const _0xe02d80=_0x620bf1[_0x51eeb8(_0x27cb29._0x5daf06,_0x27cb29._0x3fe19a,0x48d,_0x27cb29._0x9d43ef)](getLspBinDir(_0x3f5e14[_0x26e514(0x3f4,_0x27cb29._0x3e65cf,_0x27cb29._0x3d95d1,_0x27cb29._0x103721)]),binaryNameForPlatform(_0x371176));return await exists(_0xe02d80)?_0xe02d80:void 0x0;})()),installPromises[_0x3aaa42(-0x1dd,-_0x54411a._0x2db301,-0x148,_0x54411a._0x56a447)](_0x2a6cee,_0x92786f));try{return await _0x92786f;}catch{return void 0x0;}finally{installPromises['delete'](_0x2a6cee);}}var TYPESCRIPT_EXTENSIONS=[_0x5469ba(0x1c9,0x29a,-0xc9,0xec),_0x5469ba(0x162,0xec,0xe7,0x13f),_0x5469ba(0x268,0x3a6,0x381,0x404),'.jsx',_0x5469ba(0x5a,0xfc,-0x5,0xf2),_0x4bfe88(0x3a0,0x289,0x4ab,0x334),'.mts',_0x4bfe88(0x23a,0x309,0x108,0x2b0)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x5469ba(0x22f,0x18f,0xdc,0xf3),'.jsonc'],TYPESCRIPT_ROOT_MARKERS=[_0x5469ba(0x3b1,0x320,0x47b,0x2fb),_0x4bfe88(0x2c3,0x364,0x3f5,0x252),'bun.lock',_0x5469ba(0x48b,0x3e1,0x22b,0x2fc),_0x5469ba(0x3a3,0x28b,0x224,0x2cb),_0x5469ba(0x41d,0x38a,0x49e,0x384),_0x5469ba(0xfb,0x67,0x13d,0x1d4),_0x4bfe88(0x1e7,0x24e,0x2ff,0x1e1)],BIOME_ROOT_MARKERS=[_0x5469ba(0x2f8,0x202,0x2ac,0x174),'biome.jsonc',_0x5469ba(0x262,0x28c,0x230,0x2fb),_0x4bfe88(0x2c3,0x2de,0x450,0x13f),_0x4bfe88(0x1aa,0x63,0x246,0x2c6),_0x4bfe88(0x3bf,0x2cf,0x529,0x502),'yarn.lock',_0x5469ba(0x1f0,0xca,0x2bf,0x124)];async function exists2(_0x49a3f5){try{return await _0x5ee660(_0x49a3f5),!![];}catch{return![];}}async function findUp(_0x5df14b,_0x1110cb){const _0x4380ca={_0x3f41f1:0x4e7,_0x3edcf5:0x5,_0x31c824:0x264,_0x26498d:0x4b7,_0x13ecee:0x4f7,_0x115ed1:0xc2,_0x3ccf2b:0xd7},_0x128b06={_0x5d5f7a:0x4c0,_0x4cb3fb:0x18d},_0x537243={_0x259571:0x22,_0x7b5d19:0x1a};function _0x261ea7(_0x5a6e9a,_0x5c2a35,_0x48c819,_0x411967){return _0x4bfe88(_0x48c819-0x105,_0x5c2a35-_0x537243._0x259571,_0x48c819-_0x537243._0x7b5d19,_0x411967);}function _0x5000da(_0x184bb4,_0x43142f,_0x5ea859,_0x2eeacf){return _0x4bfe88(_0x43142f- -_0x128b06._0x5d5f7a,_0x43142f-_0x128b06._0x4cb3fb,_0x5ea859-0x18d,_0x2eeacf);}let _0x4d7ad6=_0x3757ba[_0x261ea7(0x382,0x5c5,_0x4380ca._0x3f41f1,0x557)](_0x5df14b);const _0x3113d3=_0x3757ba[_0x5000da(_0x4380ca._0x3edcf5,-0x1b0,-_0x4380ca._0x31c824,-0x315)](_0x4d7ad6);if(_0x3113d3)_0x4d7ad6=_0x3757ba[_0x261ea7(_0x4380ca._0x26498d,_0x4380ca._0x13ecee,0x3a3,0x37d)](_0x4d7ad6);while(!![]){for(const _0x1c3bc0 of _0x1110cb){if(await exists2(_0x3757ba[_0x5000da(-0xdb,-0x6,0xd3,_0x4380ca._0x115ed1)](_0x4d7ad6,_0x1c3bc0)))return _0x4d7ad6;}const _0x206992=_0x3757ba[_0x5000da(-0x343,-0x222,-_0x4380ca._0x3ccf2b,-0x106)](_0x4d7ad6);if(_0x206992===_0x4d7ad6)return void 0x0;_0x4d7ad6=_0x206992;}}async function hasDenoRoot(_0x225fae){const _0x43d0d5={_0x2577c5:0x17a,_0x53a280:0x1c9,_0x16a7b4:0x24,_0x30594b:0xfa,_0x1ac98a:0x233},_0x422701={_0x2516ab:0x44d,_0x4cb94e:0x70},_0x1968ef={_0x4e8e7b:0x1cf};function _0x58f0bf(_0x440cb1,_0x1bb87a,_0x42b0e2,_0x371ee5){return _0x5469ba(_0x440cb1,_0x1bb87a-_0x1968ef._0x4e8e7b,_0x42b0e2-0xab,_0x371ee5- -0x22e);}function _0x4b4ed3(_0x379edb,_0x1fba93,_0x577230,_0x52e167){return _0x4bfe88(_0x379edb- -_0x422701._0x2516ab,_0x1fba93-0x109,_0x577230-_0x422701._0x4cb94e,_0x577230);}return await exists2(_0x3757ba[_0x58f0bf(_0x43d0d5._0x2577c5,0x1f9,0x14d,_0x43d0d5._0x53a280)](_0x225fae,'deno.json'))||await exists2(_0x3757ba[_0x4b4ed3(0x6d,0x169,-0xa0,_0x43d0d5._0x16a7b4)](_0x225fae,_0x58f0bf(0x8a,_0x43d0d5._0x30594b,_0x43d0d5._0x1ac98a,0x92)));}async function resolveTsserverPath(_0x43666d){const _0x30da41={_0x38d7c5:0x4ca,_0x162a86:0x3b3,_0x7bf19c:0x244,_0x3babef:0xc5,_0x3e52f8:0x2c6,_0x1dd7cd:0x1b0,_0x2d88c6:0xe7,_0xdcf410:0x5a,_0x4cacab:0x4e,_0x5cbcf9:0x147,_0x2b05b2:0x144,_0x1b2d9d:0x611,_0x114f01:0x309,_0x1d4d41:0x528,_0x58633b:0x4b7,_0x268215:0x324,_0x50c14f:0x47f,_0x8edf6:0x5f7,_0x14775c:0x6,_0x575195:0xdf,_0x175c36:0x1c3,_0x1c62b0:0x3f,_0x40e336:0xf5,_0xba34fe:0x138,_0x226bd0:0x10f,_0x161af7:0x46,_0x12c7be:0xad,_0xe85ae5:0x1f7,_0x53aefd:0x2f1,_0x291fed:0x329,_0x11402c:0x1e0,_0x50c1a1:0x48e,_0x2a1104:0x2d9,_0xc4b12b:0x26f,_0xcea4d:0x44f,_0x108a25:0x25,_0x163e8e:0x38},_0x3bb5e0={_0x160a6b:0xc6,_0x3159c4:0x1a7},_0x5a4fc2={_0x43e898:0x1a2,_0x48eb8e:0xe6,_0x5b92d4:0x332};function _0x2f060c(_0x312039,_0x1a37d1,_0x3a2a40,_0x5b76b2){return _0x5469ba(_0x5b76b2,_0x1a37d1-_0x5a4fc2._0x43e898,_0x3a2a40-_0x5a4fc2._0x48eb8e,_0x1a37d1- -_0x5a4fc2._0x5b92d4);}let _0x2ec398=_0x3757ba[_0x164ee4(_0x30da41._0x38d7c5,0x3bc,0x4c6,_0x30da41._0x162a86)](_0x43666d);function _0x164ee4(_0x41d22e,_0xc46654,_0x10effa,_0x556479){return _0x5469ba(_0xc46654,_0xc46654-_0x3bb5e0._0x160a6b,_0x10effa-0xd4,_0x10effa-_0x3bb5e0._0x3159c4);}while(!![]){const _0x44abb7=_0x3757ba[_0x2f060c(_0x30da41._0x7bf19c,_0x30da41._0x3babef,0x2,0x62)](_0x2ec398,_0x2f060c(-_0x30da41._0x3e52f8,-_0x30da41._0x1dd7cd,-_0x30da41._0x2d88c6,-0x92),_0x2f060c(0x78,-_0x30da41._0xdcf410,_0x30da41._0x4cacab,-_0x30da41._0x5cbcf9),_0x2f060c(-0x251,-_0x30da41._0x2b05b2,-0x126,-0x5d),_0x164ee4(_0x30da41._0x1b2d9d,0x4df,0x4be,_0x30da41._0x114f01));if(await exists2(_0x44abb7))return _0x44abb7;const _0xfcbb1a=_0x3757ba[_0x164ee4(_0x30da41._0x1d4d41,0x43f,0x382,0x3eb)](_0x2ec398);if(_0xfcbb1a===_0x2ec398)break;_0x2ec398=_0xfcbb1a;}const _0x4c32f6=getLspPackageDir(_0x164ee4(_0x30da41._0x58633b,_0x30da41._0x268215,_0x30da41._0x50c14f,_0x30da41._0x8edf6)),_0x3dc610=await resolvePackageBinary({'packageName':_0x2f060c(0x56,-_0x30da41._0xdcf410,_0x30da41._0x14775c,_0x30da41._0x575195),'binaryName':_0x2f060c(-_0x30da41._0x175c36,-_0x30da41._0x1c62b0,-_0x30da41._0x40e336,-_0x30da41._0xba34fe),'startDir':_0x43666d});if(!_0x3dc610)return void 0x0;const _0x2d9e0e=_0x3757ba[_0x2f060c(_0x30da41._0x226bd0,0xc5,_0x30da41._0x161af7,-_0x30da41._0x12c7be)](_0x4c32f6,_0x164ee4(_0x30da41._0xe85ae5,_0x30da41._0x53aefd,_0x30da41._0x291fed,_0x30da41._0x11402c),_0x164ee4(0x3be,_0x30da41._0x50c1a1,0x47f,_0x30da41._0x2a1104),_0x164ee4(0x4e2,_0x30da41._0xc4b12b,0x395,_0x30da41._0xcea4d),_0x2f060c(-_0x30da41._0x108a25,-0x1b,-0x1ab,-_0x30da41._0x163e8e));return await exists2(_0x2d9e0e)?_0x2d9e0e:void 0x0;}var TypeScriptServer={'id':_0x5469ba(0x3c9,0x338,0x3d0,0x2d8),'name':_0x5469ba(0x219,0x1fe,0x3b3,0x237),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x5d2cf5){const _0x58a857=await findUp(_0x5d2cf5,TYPESCRIPT_ROOT_MARKERS);if(!_0x58a857)return void 0x0;return await hasDenoRoot(_0x58a857)?void 0x0:_0x58a857;},async 'spawn'(_0x4c8105){const _0x4c5313={_0x3a082f:0x2bb,_0x93ba2b:0x6c,_0x38110a:0x51},_0x2dc125={_0x1b54ee:0xfe,_0x4dd483:0xb1},_0x42fe5d={_0x17df25:0x1c9};function _0xbde377(_0x59068b,_0xb21729,_0x4d651a,_0x4a1eb5){return _0x4bfe88(_0x4d651a-0x5a,_0xb21729-_0x42fe5d._0x17df25,_0x4d651a-0xb8,_0x4a1eb5);}function _0x18b4fb(_0xdb48fb,_0x443e2e,_0x75c0b3,_0x3f7387){return _0x4bfe88(_0xdb48fb- -0x10e,_0x443e2e-_0x2dc125._0x1b54ee,_0x75c0b3-_0x2dc125._0x4dd483,_0x443e2e);}const _0x20e6df=await resolveTsserverPath(_0x4c8105);if(!_0x20e6df)return void 0x0;const _0x401b9d=await resolvePackageBinary({'packageName':'typescript-language-server','binaryName':_0x18b4fb(0x2a5,0x1c1,_0x4c5313._0x3a082f,0x215),'startDir':_0x4c8105});if(!_0x401b9d)return void 0x0;return{'process':_0x3e6101(_0x401b9d,['--stdio'],{'cwd':_0x4c8105,'stdio':_0x18b4fb(_0x4c5313._0x93ba2b,_0x4c5313._0x38110a,0x1d6,0xa2)}),'initialization':{'tsserver':{'path':_0x20e6df}}};}},BiomeServer={'id':_0x5469ba(0x200,0x1ac,0x46c,0x326),'name':'Biome\x20Language\x20Server','extensions':BIOME_EXTENSIONS,async 'root'(_0x30e19e){return findUp(_0x30e19e,BIOME_ROOT_MARKERS);},async 'spawn'(_0x90a862){const _0x17edbb={_0x91b405:0x208,_0xdd1d14:0x162,_0x154468:0x42,_0x3d97be:0x66,_0x1906ac:0x31b,_0xa38528:0xf7,_0x2bbe4b:0x4b3,_0x672dc9:0x4c9,_0x16f797:0x17},_0xb38bac={_0x2319db:0x191},_0xdf7292={_0x46b50a:0xf0,_0x555eb5:0x1f4};function _0x59cbdb(_0x4c5465,_0x3b3526,_0x2c81cd,_0x514461){return _0x4bfe88(_0x514461- -0x152,_0x3b3526-_0xdf7292._0x46b50a,_0x2c81cd-_0xdf7292._0x555eb5,_0x2c81cd);}const _0xfeb283=await findPackageBinary(_0x235533(0x258,0x271,_0x17edbb._0x91b405,0x290),_0x90a862)??await resolvePackageBinary({'packageName':_0x235533(_0x17edbb._0xdd1d14,0x251,_0x17edbb._0x154468,_0x17edbb._0x3d97be),'binaryName':_0x59cbdb(_0x17edbb._0x1906ac,0xe3,_0x17edbb._0xa38528,0x297),'startDir':_0x90a862});if(!_0xfeb283)return void 0x0;function _0x235533(_0x46bd24,_0x35469d,_0x3f80df,_0x11ccc2){return _0x4bfe88(_0x46bd24- -_0xb38bac._0x2319db,_0x35469d-0x7c,_0x3f80df-0x1df,_0x3f80df);}return{'process':_0x3e6101(_0xfeb283,[_0x59cbdb(_0x17edbb._0x2bbe4b,0x317,_0x17edbb._0x672dc9,0x35d),'--stdio'],{'cwd':_0x90a862,'stdio':_0x235533(-_0x17edbb._0x16f797,-0x8a,-0x40,0x15)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x8bb7a4){const _0x32bef1={_0x134f90:0x23e,_0x3cd718:0xe9,_0xb0b6fe:0x287,_0x41c293:0x3c6,_0x1d6793:0x2aa,_0x30ae39:0x4e8},_0x323d70={_0x209b74:0x227,_0x5c0acb:0x11,_0x5a7a5d:0x145},_0x3549c1={_0x14d158:0xf5};function _0x1a2525(_0x3fb0cc,_0x3fb1ca,_0x50ec88,_0x8ed436){return _0x4bfe88(_0x3fb1ca- -0x52,_0x3fb1ca-_0x3549c1._0x14d158,_0x50ec88-0x115,_0x50ec88);}const _0x42a7ec=_0x3757ba[_0x37d972(_0x32bef1._0x134f90,_0x32bef1._0x3cd718,_0x32bef1._0xb0b6fe,-0xa3)](_0x8bb7a4)[_0x1a2525(_0x32bef1._0x41c293,0x336,_0x32bef1._0x1d6793,_0x32bef1._0x30ae39)]();function _0x37d972(_0xa3af25,_0x16ddef,_0x5f19a9,_0x42d419){return _0x4bfe88(_0x16ddef- -_0x323d70._0x209b74,_0x16ddef-_0x323d70._0x5c0acb,_0x5f19a9-_0x323d70._0x5a7a5d,_0x5f19a9);}return BUILTIN_LSP_SERVERS['filter'](_0x1e7521=>_0x1e7521[_0x1a2525(0x6f,0x1b3,0x126,0x316)]['includes'](_0x42a7ec));}function stateKey(_0x3542a0,_0x919511){return _0x919511+':'+_0x3542a0['id'];}function diagnosticsKeyToPath(_0x45864d){const _0x2dee45={_0x36cde2:0x1a4,_0x204ecb:0x164,_0x56cabc:0x330},_0x34b161={_0x597ce1:0x26,_0x3e369c:0x3c5};function _0x1ed2b1(_0x195586,_0x101671,_0x37f18b,_0x5de73a){return _0x5469ba(_0x5de73a,_0x101671-0x69,_0x37f18b-0x125,_0x195586-0x37d);}if(!_0x45864d[_0x27b0c7(-_0x2dee45._0x36cde2,-0x12b,-_0x2dee45._0x204ecb,-0xcf)](_0x27b0c7(-0x214,-0x1ad,-0x395,-_0x2dee45._0x56cabc)))return _0x45864d;function _0x27b0c7(_0x26b21e,_0x579eca,_0x38493b,_0x567459){return _0x5469ba(_0x579eca,_0x579eca-0xe9,_0x38493b-_0x34b161._0x597ce1,_0x26b21e- -_0x34b161._0x3e369c);}return fileURLToPath(_0x45864d);}function nextFileVersion(_0x2b981e,_0x3f541d){const _0x3dfe58={_0x475e07:0x1c1,_0x1053dc:0x31b,_0x561655:0x40b,_0x1d146d:0x497,_0x259da8:0x362,_0x3d74be:0x275,_0x698da5:0x330},_0x10ace1={_0x19f2a4:0x134},_0x4aec7d={_0x592ebf:0x7d},_0x3c4a90=(_0x2b981e[_0x18f562(_0x3dfe58._0x475e07,0x34c,0x42a,_0x3dfe58._0x1053dc)][_0x18f562(0x353,0x419,_0x3dfe58._0x561655,_0x3dfe58._0x1d146d)](_0x3f541d)??0x1)+0x1;function _0x18f562(_0x2ccd63,_0x2ba64e,_0x1348f0,_0x380b25){return _0x4bfe88(_0x380b25-0x155,_0x2ba64e-0x51,_0x1348f0-_0x4aec7d._0x592ebf,_0x2ccd63);}_0x2b981e[_0x18f562(0x199,_0x3dfe58._0x259da8,_0x3dfe58._0x3d74be,_0x3dfe58._0x1053dc)][_0x18f562(0x1d8,0x390,0x296,_0x3dfe58._0x698da5)](_0x3f541d,_0x3c4a90);function _0x5603f6(_0x59767f,_0x2e267f,_0x2cd219,_0x59f326){return _0x5469ba(_0x59f326,_0x2e267f-0xcb,_0x2cd219-_0x10ace1._0x19f2a4,_0x59767f-0x290);}return _0x3c4a90;}async function collectClientResults(_0x599103){const _0x2ea658={_0x1bf954:0x169,_0x3fc3ff:0xc6,_0x18ffa0:0x40,_0x366c38:0x58},_0x192f5b={_0x4bc909:0x175},_0x30d036=await Promise[_0x4f9e18(-_0x2ea658._0x1bf954,-0x24,-_0x2ea658._0x3fc3ff,-_0x2ea658._0x18ffa0)](_0x599103);function _0x4f9e18(_0x2cc206,_0x2f37d0,_0x5f28b1,_0x4881c8){return _0x5469ba(_0x2cc206,_0x2f37d0-0x70,_0x5f28b1-_0x192f5b._0x4bc909,_0x4881c8- -0x2d8);}function _0x2fa0ea(_0x2409d3,_0x5bf8de,_0x1af312,_0x758f43){return _0x5469ba(_0x5bf8de,_0x5bf8de-0x107,_0x1af312-0x1d9,_0x758f43-0x2b5);}return _0x30d036[_0x4f9e18(-0x24b,-0xa9,-_0x2ea658._0x366c38,-0x1b9)](_0x494080=>_0x494080['status']==='fulfilled'?_0x494080[_0x2fa0ea(0x61e,0x71a,0x527,0x562)]:[]);}function createLspService(_0x3acded={}){const _0x2d6ca0={_0x11c369:0x112,_0x5a0e4c:0x2b6,_0x1bf9b3:0x215,_0x35c31a:0x2ea,_0x42a094:0x2b6,_0x49da65:0x12c,_0x48f4f6:0x3d7,_0x597ec7:0x2e1,_0x1cb2f9:0xc4,_0x213bc0:0x32e,_0x1fb81e:0x1ad,_0x18f74f:0x29a,_0x2432b2:0xae,_0x58e473:0x208,_0x55ebbd:0x133,_0x210d05:0x251,_0x53f272:0xb8,_0x3b99ee:0x1b4,_0x24d6c7:0x1dc,_0x22b288:0x244,_0x5dd8c4:0x3b6,_0x4cb74c:0x2dc,_0x518d5f:0x251,_0x4862e3:0x31f},_0x169462={_0x2eb750:0x2e7,_0x19b6f0:0x1f2},_0x4895b1={_0xa3141e:0x9d,_0x203368:0x88,_0x31c4f0:0x19},_0x283af9={_0x97e981:0xe9,_0x330cc6:0x2a},_0xa273bb={_0x58aec5:0x107,_0x1e0742:0x7d},_0x1b21fe={_0x244211:0x13e},_0x7796f={_0x22135f:0x5d,_0x2dd441:0x180,_0x4e076c:0x115,_0x5bedc0:0x8f},_0x5a4aa9={_0x490851:0x18e},_0x2ed236={_0x2e475f:0x4a},_0x5caaa6={_0x3d4960:0x1b8,_0x557f07:0x1d7},_0x1e1f5c={_0x111259:0x11},_0x5f3348={_0x3ceef4:0x200,_0x4ff83e:0x15b},_0xf87959={_0x12f1f4:0x36d,_0x3ac53c:0x5c9},_0x3dce22={_0x32fe18:0x185,_0x36dbd6:0x13d},_0x185a5f={_0x59f5a9:0x1e7,_0x1295d7:0x71},_0x266548={_0x1f4b1f:0x3b1},_0x2296bb={_0x4862b8:0x194},_0x2a69dc={_0x190d7e:0x547,_0x587917:0x35b,_0x3caaea:0x2bd,_0xf57251:0x36b,_0x579b6c:0x4d7,_0x54165c:0x588,_0x552d07:0x539,_0x5b2f8f:0x49a,_0x8cb917:0x1a8,_0x5f4710:0x2f5,_0x45245a:0x2e9,_0x5c9980:0x382},_0x21c67f={_0xe91a59:0x4ed,_0x3c915a:0x60e,_0x3fe965:0x5c3,_0x444a1a:0x584,_0x3a5b7b:0x45e,_0x3067c9:0x3d6,_0x1af2f2:0x2bf,_0x5daaa2:0x4ab,_0x545712:0x550,_0x2f8258:0x40f,_0x1ac600:0x431,_0x2d74e6:0x481,_0x1c57fd:0x476,_0x2164ba:0x411},_0x1dd14f={_0x176fb7:0x279,_0x1a2b7a:0x60,_0x2bd7e6:0x16b,_0x4e3596:0x4b,_0x4c0720:0x54,_0x594a2d:0x197,_0x49bddc:0x94,_0x268899:0xca,_0x463895:0x5fa,_0x1c56e0:0x5fc,_0x25256f:0x671,_0x4a8614:0x215,_0x16cbac:0x229,_0x1f5063:0x12e,_0x25cdde:0x527,_0x167803:0x545,_0x38dbcc:0x410,_0x87f8ad:0x5a0,_0x297a27:0x4a2},_0x14820d={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0xc89476=()=>_0x3acded[_0x1f4985(0xf0,0x85,-0x3c,0x1bd)]!==![];async function _0x271893(_0x12595b,_0xb98e08){const _0x48e75d={_0x1b1645:0x1e0},_0x407072={_0x45ff50:0x80,_0x3ebcd1:0x62},_0x2f8423={_0x40a8a6:0x2d9,_0x355633:0x14},_0x38de6f=stateKey(_0x12595b,_0xb98e08),_0x428eec=_0x14820d[_0xdb5d71(_0x21c67f._0xe91a59,0x387,_0x21c67f._0x3c915a,0x4c8)]['find'](_0x52bc60=>_0x52bc60[_0x4ba7fe(0x350,0x4ad,0x264,0x228)]===_0x12595b['id']&&_0x52bc60[_0xdb5d71(0x7af,0x67b,0x4a9,0x5fa)]===_0xb98e08);function _0x4ba7fe(_0x50ef70,_0x296523,_0x17eee7,_0x18c822){return _0x1f4985(_0x50ef70-0x2a,_0x50ef70-_0x2f8423._0x40a8a6,_0x17eee7-_0x2f8423._0x355633,_0x296523);}if(_0x428eec)return _0x428eec;function _0xdb5d71(_0x486c6e,_0x5676d1,_0x31ada3,_0x432743){return _0x1f4985(_0x486c6e-_0x407072._0x45ff50,_0x432743-0x3bb,_0x31ada3-_0x407072._0x3ebcd1,_0x5676d1);}if(_0x14820d[_0x4ba7fe(0x4d0,_0x21c67f._0x3fe965,_0x21c67f._0x444a1a,0x3e9)][_0x4ba7fe(0x40e,_0x21c67f._0x3a5b7b,_0x21c67f._0x3067c9,0x450)](_0x38de6f))return void 0x0;const _0xce41a4=_0x14820d[_0x4ba7fe(0x371,0x299,_0x21c67f._0x1af2f2,_0x21c67f._0x5daaa2)]['get'](_0x38de6f);if(_0xce41a4)return _0xce41a4;const _0x3080cd=((async()=>{function _0x45cf55(_0x3adc87,_0x58035b,_0x4b8d10,_0x508d99){return _0xdb5d71(_0x3adc87-_0x48e75d._0x1b1645,_0x58035b,_0x4b8d10-0x117,_0x508d99- -0x44);}function _0x555780(_0x3f655c,_0x5de525,_0x4fafcf,_0x1c4b5c){return _0x4ba7fe(_0x4fafcf- -0x43c,_0x1c4b5c,_0x4fafcf-0x6f,_0x1c4b5c-0x94);}try{const _0x1e1b07=await _0x12595b[_0x555780(_0x1dd14f._0x176fb7,_0x1dd14f._0x1a2b7a,_0x1dd14f._0x2bd7e6,-_0x1dd14f._0x4e3596)](_0xb98e08);if(!_0x1e1b07)return _0x14820d[_0x555780(-_0x1dd14f._0x4c0720,_0x1dd14f._0x594a2d,_0x1dd14f._0x49bddc,0x0)][_0x555780(-0x1c,-0x99,-_0x1dd14f._0x268899,-0x234)](_0x38de6f),void 0x0;const _0x48c3a8=await createLspClient({'server':_0x12595b,'root':_0xb98e08,'handle':_0x1e1b07}),_0x559407=_0x14820d['clients']['find'](_0x20993c=>_0x20993c['serverId']===_0x12595b['id']&&_0x20993c[_0x45cf55(0x716,0x739,0x5fe,0x5b6)]===_0xb98e08);if(_0x559407)return await _0x48c3a8[_0x45cf55(0x61e,_0x1dd14f._0x463895,_0x1dd14f._0x1c56e0,_0x1dd14f._0x25256f)](),_0x559407;return _0x14820d['clients']['push'](_0x48c3a8),_0x48c3a8;}catch{return _0x14820d[_0x555780(_0x1dd14f._0x4a8614,_0x1dd14f._0x16cbac,0x94,_0x1dd14f._0x1f5063)][_0x45cf55(0x3ca,_0x1dd14f._0x25cdde,_0x1dd14f._0x167803,_0x1dd14f._0x38dbcc)](_0x38de6f),void 0x0;}finally{_0x14820d[_0x45cf55(_0x1dd14f._0x87f8ad,_0x1dd14f._0x297a27,0x496,0x40f)]['delete'](_0x38de6f);}})());return _0x14820d[_0xdb5d71(_0x21c67f._0x545712,_0x21c67f._0x2f8258,_0x21c67f._0x1ac600,0x453)][_0xdb5d71(_0x21c67f._0x2d74e6,0x40f,_0x21c67f._0x1c57fd,_0x21c67f._0x2164ba)](_0x38de6f,_0x3080cd),_0x3080cd;}async function _0x21eb6e(_0x279720,_0x5186e1){const _0x4afc30={_0x5c0b50:0x24e},_0xe721cd={_0x223607:0x147};if(!_0xc89476())return[];const _0x5c52c4=[];function _0x334087(_0x38d2c3,_0x323f8c,_0x272db0,_0x36b83c){return _0x1f4985(_0x38d2c3-0x19b,_0x36b83c-0x2db,_0x272db0-_0xe721cd._0x223607,_0x323f8c);}for(const _0x553338 of getServersForFile(_0x279720)){const _0x32a256=await _0x553338[_0x95bef4(_0x2a69dc._0x190d7e,0x5e5,0x48d,0x3b5)](_0x279720);if(!_0x32a256)continue;const _0x1e8eab=stateKey(_0x553338,_0x32a256);if(_0x14820d[_0x95bef4(_0x2a69dc._0x587917,_0x2a69dc._0x3caaea,0x445,0x496)]['has'](_0x1e8eab))continue;const _0x2afce4=_0x14820d[_0x334087(_0x2a69dc._0xf57251,0x583,_0x2a69dc._0x579b6c,0x3e8)][_0x334087(_0x2a69dc._0x54165c,0x38f,0x3f4,_0x2a69dc._0x552d07)](_0xebb7e6=>_0xebb7e6['serverId']===_0x553338['id']&&_0xebb7e6[_0x334087(0x457,0x443,0x434,0x51a)]===_0x32a256);if(_0x2afce4){_0x5c52c4[_0x95bef4(_0x2a69dc._0x5b2f8f,_0x2a69dc._0x8cb917,_0x2a69dc._0x5f4710,0x482)](_0x2afce4);continue;}if(!_0x5186e1)continue;const _0x142f37=await _0x271893(_0x553338,_0x32a256);if(_0x142f37)_0x5c52c4[_0x334087(_0x2a69dc._0x45245a,0x47a,0x2f5,_0x2a69dc._0x5c9980)](_0x142f37);}function _0x95bef4(_0x2290a6,_0x2f18e2,_0x2af9ff,_0x531805){return _0x1f4985(_0x2290a6-0x9d,_0x2af9ff-_0x4afc30._0x5c0b50,_0x2af9ff-0x99,_0x2f18e2);}return _0x5c52c4;}async function _0x46c1cf(_0x9887ac,_0x51d057=![]){const _0x2d8322={_0x14d108:0xd5,_0x25438b:0xdf,_0x50e851:0xd,_0x2a2385:0x145,_0x427dd4:0x5,_0x1373ab:0x127,_0x30872a:0x87,_0x5d7970:0x12c,_0x1415d4:0x3,_0x912653:0x10,_0x5bfd42:0x50,_0x2633f4:0x1e1,_0x4ad6c6:0x138,_0x496629:0x2e4,_0x4ea1a6:0x27,_0x23a68b:0x61,_0xa73c65:0x6b,_0x1bd178:0x40,_0x544c7a:0x9a,_0x5ac3e3:0x11,_0x2007a8:0xca},_0x3dfec5=await _0x21eb6e(_0x9887ac,!![]);function _0x5ac8de(_0xc5be8c,_0x5c8780,_0x4c58f4,_0x1d7326){return _0x1f4985(_0xc5be8c-_0x2296bb._0x4862b8,_0xc5be8c-0x2ba,_0x4c58f4-0x52,_0x4c58f4);}await Promise['all'](_0x3dfec5[_0x5ac8de(0x35c,_0x266548._0x1f4b1f,0x251,0x458)](async _0x463e40=>{const _0x773cb={_0x1af46a:0x498,_0x492310:0x1cb};function _0x31b464(_0x335d67,_0x5c71fe,_0x12e626,_0x3793f0){return _0x5ac8de(_0x12e626- -_0x773cb._0x1af46a,_0x5c71fe-_0x773cb._0x492310,_0x3793f0,_0x3793f0-0x1bf);}!_0x14820d[_0x31b464(_0x2d8322._0x14d108,_0x2d8322._0x25438b,-_0x2d8322._0x50e851,-0x4b)][_0x2523c8(_0x2d8322._0x2a2385,-_0x2d8322._0x427dd4,_0x2d8322._0x1373ab,0x1f9)](_0x463e40[_0x2523c8(_0x2d8322._0x30872a,-0x52,-_0x2d8322._0x5d7970,_0x2d8322._0x1415d4)]+':'+_0x463e40['root']+':'+_0x9887ac)&&(await _0x463e40[_0x2523c8(0xbd,-_0x2d8322._0x912653,0x1d6,0x22)][_0x31b464(_0x2d8322._0x5bfd42,-0xe5,0x8c,0x238)]({'path':_0x9887ac}),_0x14820d[_0x2523c8(_0x2d8322._0x2633f4,0x4c,_0x2d8322._0x4ad6c6,0x13e)][_0x31b464(-0x1f5,-_0x2d8322._0x496629,-0x145,-_0x2d8322._0x4ea1a6)](_0x463e40['serverId']+':'+_0x463e40[_0x31b464(-0x62,0x7b,_0x2d8322._0x23a68b,-0x55)]+':'+_0x9887ac));await _0x463e40['notify'][_0x2523c8(_0x2d8322._0xa73c65,-0x4a,_0x2d8322._0x1bd178,-_0x2d8322._0x544c7a)]({'path':_0x9887ac,'version':nextFileVersion(_0x14820d,_0x9887ac)});function _0x2523c8(_0x5a5bd5,_0x52bd6a,_0x44a7b4,_0x501ab0){return _0x5ac8de(_0x5a5bd5- -0x2aa,_0x52bd6a-0x5d,_0x52bd6a,_0x501ab0-0xdc);}if(_0x51d057)await _0x463e40[_0x31b464(0x16a,0x19,-_0x2d8322._0x5ac3e3,-_0x2d8322._0x2007a8)]({'path':_0x9887ac});}));}async function _0xdadfe(_0x155514){return await _0x46c1cf(_0x155514['file'],![]),_0x21eb6e(_0x155514['file'],![]);}async function _0x3fd2a0(_0x3ce6d0){const _0x319578={_0x4f22f1:0x5c,_0x4f8dbc:0x19b},_0x2ebf59=await _0xdadfe(_0x3ce6d0);function _0x1a95da(_0x42b6bd,_0x2aa965,_0x221419,_0x366836){return _0x1f4985(_0x42b6bd-0xfd,_0x42b6bd-0x119,_0x221419-0x1d5,_0x221419);}function _0x55bbf3(_0x40a342,_0x35ee4f,_0x3143e2,_0xed67ea){return _0x1f4985(_0x40a342-0x38,_0x35ee4f- -_0x319578._0x4f22f1,_0x3143e2-_0x319578._0x4f8dbc,_0x40a342);}return collectClientResults(_0x2ebf59[_0x55bbf3(_0x185a5f._0x59f5a9,0x46,_0x185a5f._0x1295d7,0x1e5)](_0xe36f96=>_0xe36f96[_0x1a95da(0x408,0x571,0x4a0,0x266)]['prepareCallHierarchy'](_0x3ce6d0)));}function _0x1f4985(_0x8e358c,_0x4ba400,_0x57b2cf,_0x44204f){return _0x4bfe88(_0x4ba400- -_0x3dce22._0x32fe18,_0x4ba400-_0x3dce22._0x36dbd6,_0x57b2cf-0x9a,_0x44204f);}return{'isEnabled':_0xc89476,async 'hasClients'(_0x3cfc0b){return(await _0x21eb6e(_0x3cfc0b,![]))['length']>0x0||getServersForFile(_0x3cfc0b)['length']>0x0;},'touchFile':_0x46c1cf,async 'diagnostics'(){const _0x3822b3={};function _0x2e150f(_0x4ec576,_0x99cc98,_0x2ec9a0,_0x128fc6){return _0x1f4985(_0x4ec576-0xfb,_0x4ec576-0x381,_0x2ec9a0-0x1a3,_0x2ec9a0);}for(const _0x2cc869 of _0x14820d[_0x2e150f(0x48e,_0xf87959._0x12f1f4,0x5d6,_0xf87959._0x3ac53c)]){for(const [_0x564169,_0x236536]of _0x2cc869['diagnostics']){_0x3822b3[diagnosticsKeyToPath(_0x564169)]=_0x236536;}}return _0x3822b3;},async 'diagnosticsForFile'(_0x392692){await _0x46c1cf(_0x392692,!![]);function _0x3a7540(_0x16bdda,_0x15f6e0,_0x3cd008,_0x318dab){return _0x1f4985(_0x16bdda-0x120,_0x3cd008-0xee,_0x3cd008-0x1dc,_0x16bdda);}const _0x5158e7=[];for(const _0x5b1ae0 of await _0x21eb6e(_0x392692,![])){for(const [_0x5ecb0c,_0xd21d01]of _0x5b1ae0[_0x3a7540(0x150,_0x5f3348._0x3ceef4,0x176,_0x5f3348._0x4ff83e)]){if(diagnosticsKeyToPath(_0x5ecb0c)===_0x392692)_0x5158e7['push'](..._0xd21d01);}}return _0x5158e7;},async 'definition'(_0x44fca1){const _0xd941ce={_0x200678:0x1c,_0x78cc71:0x136};function _0x3512b5(_0x3c016a,_0x1f7df4,_0x1793ac,_0x3a4428){return _0x1f4985(_0x3c016a-0x19b,_0x3a4428- -_0xd941ce._0x200678,_0x1793ac-_0xd941ce._0x78cc71,_0x3c016a);}return collectClientResults((await _0xdadfe(_0x44fca1))['map'](_0x1fe015=>_0x1fe015['request'][_0x3512b5(0x1c7,0xf2,0x17e,0x4f)](_0x44fca1)));},async 'references'(_0x13bf81){function _0x44ce50(_0x12dcb2,_0x46d809,_0x477486,_0x30fcfc){return _0x1f4985(_0x12dcb2-0x1ea,_0x30fcfc-0x2b0,_0x477486-_0x1e1f5c._0x111259,_0x477486);}return collectClientResults((await _0xdadfe(_0x13bf81))['map'](_0x3da80a=>_0x3da80a['request'][_0x44ce50(0x633,0x491,0x566,0x5cf)](_0x13bf81)));},async 'hover'(_0x3fc523){const _0x42f767={_0x4dee9e:0x1bf,_0x5fb4df:0xe6};function _0x437b56(_0x49cd25,_0x31b443,_0x4484e9,_0x8801ad){return _0x1f4985(_0x49cd25-_0x42f767._0x4dee9e,_0x4484e9-0x6b,_0x4484e9-_0x42f767._0x5fb4df,_0x31b443);}function _0x3386a6(_0x35d267,_0x4de65e,_0x35800d,_0x28fbf9){return _0x1f4985(_0x35d267-0x1c5,_0x35d267-0x51,_0x35800d-0x47,_0x4de65e);}const _0x15ed4e=await Promise['allSettled']((await _0xdadfe(_0x3fc523))['map'](_0x46f465=>_0x46f465[_0x437b56(0x407,0x1b0,0x35a,0x371)][_0x3386a6(0x339,0x1ce,0x1de,0x2bc)](_0x3fc523)));return _0x15ed4e['flatMap'](_0x4a7515=>_0x4a7515[_0x3386a6(0x14f,0x1a2,0x49,0xbb)]===_0x437b56(0x38d,0x24b,0x379,0x266)&&_0x4a7515[_0x437b56(0x1d5,0x3d9,0x256,0x37e)]?[_0x4a7515[_0x437b56(0x17f,0x335,0x256,0xe7)]]:[]);},async 'documentSymbol'(_0xb540b5){function _0xd1c5b5(_0x364937,_0x2f3174,_0x2f4250,_0xda8bf9){return _0x1f4985(_0x364937-0x1b5,_0x364937- -_0x5caaa6._0x3d4960,_0x2f4250-_0x5caaa6._0x557f07,_0xda8bf9);}function _0x200206(_0x5afb1a,_0x538d44,_0x428257,_0x27c201){return _0x1f4985(_0x5afb1a-_0x2ed236._0x2e475f,_0x27c201- -0x33c,_0x428257-0x1b7,_0x538d44);}return await _0x46c1cf(_0xb540b5,![]),collectClientResults((await _0x21eb6e(_0xb540b5,![]))[_0xd1c5b5(-0x116,-0x1c2,-0x1e,-0x1d8)](_0x403db6=>_0x403db6[_0x200206(-0x11b,0x111,0x7a,-0x4d)][_0x200206(-0x206,0xeb,-0x59,-0xba)](_0xb540b5)));},async 'workspaceSymbol'(_0x588c8c){function _0x947a44(_0x490a90,_0x717e67,_0x485b95,_0x5bec25){return _0x1f4985(_0x490a90-0xa2,_0x5bec25- -0x7e,_0x485b95-0x1cc,_0x490a90);}function _0x1d2899(_0x46d20c,_0x279db7,_0x4143be,_0x1cee4a){return _0x1f4985(_0x46d20c-0x69,_0x279db7-0x157,_0x4143be-_0x5a4aa9._0x490851,_0x4143be);}return collectClientResults(_0x14820d[_0x947a44(-_0x7796f._0x22135f,_0x7796f._0x2dd441,_0x7796f._0x4e076c,_0x7796f._0x5bedc0)]['map'](_0x2d6301=>_0x2d6301[_0x947a44(0x3ea,0x1ac,0x39c,0x271)][_0x1d2899(0x281,0x20e,0x122,0x156)](_0x588c8c)));},async 'implementation'(_0x1eb333){function _0x4e1937(_0xe46d60,_0x229a9b,_0x36eba4,_0x161030){return _0x1f4985(_0xe46d60-0x3c,_0x229a9b- -_0x1b21fe._0x244211,_0x36eba4-0x1c6,_0xe46d60);}function _0x387204(_0xacc6a3,_0x443215,_0x344ec3,_0x2f1df4){return _0x1f4985(_0xacc6a3-_0xa273bb._0x58aec5,_0xacc6a3- -_0xa273bb._0x1e0742,_0x344ec3-0x1e1,_0x443215);}return collectClientResults((await _0xdadfe(_0x1eb333))['map'](_0x30890a=>_0x30890a[_0x387204(0x272,0x31f,0x194,0x1a7)][_0x387204(0x257,0x2e8,0x363,0x12f)](_0x1eb333)));},async 'prepareCallHierarchy'(_0x2da20b){return _0x3fd2a0(_0x2da20b);},async 'incomingCalls'(_0xb4f1fe){const _0xb700f5={_0x470014:0xce},_0x42e48d=await _0x3fd2a0(_0xb4f1fe);function _0x589c0f(_0x2d1c1d,_0x1eb392,_0x51c2d5,_0x11d20b){return _0x1f4985(_0x2d1c1d-0x189,_0x51c2d5- -_0xb700f5._0x470014,_0x51c2d5-0x9,_0x11d20b);}const _0x1e5e7e=await _0xdadfe(_0xb4f1fe);function _0x2f82f1(_0x23ca50,_0x44e5ac,_0xc0c4b1,_0x3ec655){return _0x1f4985(_0x23ca50-_0x283af9._0x97e981,_0x3ec655-_0x283af9._0x330cc6,_0xc0c4b1-0xe3,_0x23ca50);}return collectClientResults(_0x1e5e7e[_0x2f82f1(-_0x4895b1._0xa3141e,_0x4895b1._0x203368,_0x4895b1._0x31c4f0,0x87)](_0x287655=>_0x42e48d[_0x589c0f(0x0,0x188,-0x2c,0x80)](_0x3bab22=>_0x287655[_0x589c0f(0x16b,0x318,0x221,0x81)][_0x2f82f1(0xce,0x123,0x2a9,0x21f)](_0x3bab22))));},async 'outgoingCalls'(_0x58f807){const _0x4ec822={_0x285602:0xee,_0x3d6ff0:0x108},_0x486695={_0x283986:0xbb,_0x1f23d3:0x1b5,_0x39ed5c:0x1d0},_0x10e1ba=await _0x3fd2a0(_0x58f807),_0x1d7c1f=await _0xdadfe(_0x58f807);function _0xea82a4(_0x41c33c,_0x181a6c,_0x20995f,_0xc7c43){return _0x1f4985(_0x41c33c-_0x486695._0x283986,_0x181a6c- -_0x486695._0x1f23d3,_0x20995f-_0x486695._0x39ed5c,_0x41c33c);}function _0x2a4e2a(_0x24f51e,_0x16e2e5,_0xad8439,_0x1d8963){return _0x1f4985(_0x24f51e-_0x4ec822._0x285602,_0x16e2e5-0x28c,_0xad8439-_0x4ec822._0x3d6ff0,_0x1d8963);}return collectClientResults(_0x1d7c1f[_0xea82a4(-_0x169462._0x2eb750,-0x158,-0x1c2,-_0x169462._0x19b6f0)](_0x405b1c=>_0x10e1ba['map'](_0x711b14=>_0x405b1c['request'][_0xea82a4(-0xb9,-0x42,0x1,-0x59)](_0x711b14))));},async 'shutdown'(){const _0x38ffdf={_0x123ef0:0x10b};if(_0x14820d[_0x275ba4(0x1ca,_0x2d6ca0._0x11c369,0x452,_0x2d6ca0._0x5a0e4c)])return;_0x14820d[_0x275ba4(_0x2d6ca0._0x1bf9b3,_0x2d6ca0._0x35c31a,0x43e,_0x2d6ca0._0x42a094)]=!![];function _0x36b761(_0x5cfd03,_0x2c70c3,_0x555e32,_0x526844){return _0x1f4985(_0x5cfd03-0x94,_0x2c70c3-0x18d,_0x555e32-0xe3,_0x5cfd03);}await Promise[_0x275ba4(0x228,_0x2d6ca0._0x49da65,_0x2d6ca0._0x48f4f6,_0x2d6ca0._0x597ec7)](_0x14820d['clients'][_0x275ba4(_0x2d6ca0._0x1cb2f9,_0x2d6ca0._0x213bc0,0x365,_0x2d6ca0._0x1fb81e)](_0x26237e=>_0x26237e[_0x275ba4(0x52c,0x50c,0x546,0x405)]())),_0x14820d[_0x36b761(0x35b,_0x2d6ca0._0x18f74f,0xff,0x20f)]=[],_0x14820d['spawning'][_0x275ba4(_0x2d6ca0._0x2432b2,0x1e0,0x51,0x1cf)](),_0x14820d[_0x275ba4(_0x2d6ca0._0x58e473,0x3c8,0x336,0x302)][_0x36b761(_0x2d6ca0._0x55ebbd,_0x2d6ca0._0x210d05,0x18f,0x285)](),_0x14820d['fileVersions'][_0x36b761(_0x2d6ca0._0x53f272,_0x2d6ca0._0x210d05,_0x2d6ca0._0x3b99ee,0x38f)]();function _0x275ba4(_0xc20171,_0x4f7f7c,_0x3c0095,_0x1dcaa6){return _0x1f4985(_0xc20171-0x192,_0x1dcaa6-_0x38ffdf._0x123ef0,_0x3c0095-0xfd,_0x3c0095);}_0x14820d[_0x275ba4(_0x2d6ca0._0x24d6c7,_0x2d6ca0._0x22b288,_0x2d6ca0._0x5dd8c4,_0x2d6ca0._0x4cb74c)][_0x36b761(0x99,_0x2d6ca0._0x518d5f,_0x2d6ca0._0x4862e3,0x184)]();},'status'(){return{'connectedClients':_0x14820d['clients']['length']};}};}function createQuestionId(){const _0x2e7b73={_0xdd8073:0xce,_0x317863:0x234,_0x21d8e7:0x4e},_0x255e78={_0x42ce96:0x342},_0x2b68da={_0x21db47:0x12,_0x343b00:0x31e};function _0x57833e(_0x393d2c,_0x585cf2,_0x1c48f8,_0x36e5b3){return _0x5469ba(_0x393d2c,_0x585cf2-0x166,_0x1c48f8-_0x2b68da._0x21db47,_0x1c48f8- -_0x2b68da._0x343b00);}function _0x45d979(_0xb8436e,_0x2de61e,_0xdbc2e5,_0x57c505){return _0x5469ba(_0xb8436e,_0x2de61e-0xa8,_0xdbc2e5-0xb8,_0x2de61e- -_0x255e78._0x42ce96);}return _0x45d979(-0x356,-0x1f2,-0x33d,-0x200)+Date['now']()+'-'+Math[_0x45d979(-0x18e,-_0x2e7b73._0xdd8073,-_0x2e7b73._0x317863,-0xc4)]()['toString'](0x24)[_0x57833e(-_0x2e7b73._0x21d8e7,-0x124,0x94,0xfb)](0x2,0x9);}function validateInput(_0x697c93){const _0x33f294={_0x5aab29:0x1cb,_0x1216ed:0x2bd,_0x561292:0x2a9,_0x4890b1:0x658,_0x2e9ee:0x4c4,_0x5d29c7:0x7ea,_0x40e73a:0x775,_0x4e62e5:0x656,_0x4e98e5:0x7ce,_0xd50d55:0x5a8,_0x278997:0x6d3,_0x6ad660:0x6be,_0x4a97da:0x816,_0x37a4ec:0x658,_0x200b0f:0x65f,_0x5e50ff:0x433,_0x35e5c3:0x33,_0x59da1f:0x20,_0xe67ebd:0x9b,_0x3994ef:0xd1,_0x1484e3:0x10d,_0x46503b:0x43,_0x34a276:0xd3,_0x2f1eae:0x66f,_0x34c88c:0x5d7,_0x4e2aa8:0x643,_0x289ac5:0x5bb,_0xdc1778:0x762,_0x45f2cf:0x61f,_0x1547d2:0x16e,_0x919a02:0x6b,_0x5c115f:0x1fa,_0x1d7e68:0x3e2,_0x151404:0x639,_0xf41295:0x5a8,_0x12c9f9:0x5b,_0x4a6400:0x138,_0x290586:0x104,_0x4fe3e1:0x7b,_0x3f3d1c:0x35f,_0x5c8c4b:0x3f2,_0x22f426:0x43e,_0x5800e3:0x72d,_0x5db29f:0x3ad,_0x5c3e43:0x283,_0x5875ac:0x18f,_0x1baff1:0x6,_0x4cf112:0x25,_0x61249f:0x6c5,_0x29c45c:0x50e,_0x592ff9:0x5ac,_0xbfe42f:0x618,_0x20ae9c:0x43a,_0x66faf4:0x72d,_0x188a8f:0x791,_0x269548:0x6a0,_0x26e540:0x80d,_0x5b8157:0x1c9,_0x5778c3:0x138,_0x2ec283:0x239,_0x358107:0xe8,_0xddac0e:0x146,_0x4bc0a0:0x179,_0x301e54:0x2f,_0x22caeb:0x5f8,_0x55fe97:0x676,_0x45cfbd:0x478,_0x19e14f:0x731,_0x471f40:0x68d,_0x22c892:0x488,_0x27c872:0x391,_0x45b503:0x1f2,_0x321969:0x34f,_0x2aed42:0x22d,_0x103448:0xa8,_0x5d7041:0x42,_0x2db0fe:0x46},_0x1776fc={_0x4f344f:0x16,_0x5907ba:0x140},_0x11aadc={_0x56c330:0xb7,_0x380848:0x37d};function _0x578a42(_0x7fef63,_0x1d5873,_0x102b30,_0xce921e){return _0x5469ba(_0x1d5873,_0x1d5873-0x3d,_0x102b30-_0x11aadc._0x56c330,_0x7fef63-_0x11aadc._0x380848);}if(!Array[_0x1e628b(-_0x33f294._0x5aab29,-0x4e,-0xa3,-0x47)](_0x697c93[_0x1e628b(_0x33f294._0x1216ed,0x141,_0x33f294._0x561292,0x7f)])||_0x697c93['questions'][_0x578a42(_0x33f294._0x4890b1,0x5cc,_0x33f294._0x2e9ee,_0x33f294._0x5d29c7)]<0x1||_0x697c93[_0x578a42(0x661,0x5ed,0x575,_0x33f294._0x40e73a)][_0x578a42(0x658,0x7fb,0x75a,0x51c)]>0xa)throw new ToolExecutionError(_0x578a42(_0x33f294._0x4e62e5,_0x33f294._0x4e98e5,_0x33f294._0xd50d55,_0x33f294._0x278997),{'error':_0x578a42(_0x33f294._0x6ad660,0x5b3,0x70d,0x60d)});function _0x1e628b(_0xce0ae0,_0x33af6d,_0x514ede,_0x27ad72){return _0x5469ba(_0x514ede,_0x33af6d-_0x1776fc._0x4f344f,_0x514ede-_0x1776fc._0x5907ba,_0x33af6d- -0x1a3);}for(let _0x11b02e=0x0;_0x11b02e<_0x697c93[_0x578a42(0x661,_0x33f294._0x4a97da,0x795,0x5ae)][_0x578a42(_0x33f294._0x37a4ec,0x748,0x541,_0x33f294._0x200b0f)];_0x11b02e+=0x1){const _0x32963=_0x697c93['questions'][_0x11b02e];if(!_0x32963[_0x578a42(_0x33f294._0x5e50ff,0x316,0x332,0x4a9)]||typeof _0x32963[_0x578a42(0x433,0x349,0x2cc,0x3d0)]!==_0x1e628b(0x144,-_0x33f294._0x35e5c3,_0x33f294._0x59da1f,0x21))throw new ToolExecutionError(_0x1e628b(0x10d,_0x33f294._0xe67ebd,-_0x33f294._0x3994ef,_0x33f294._0x1484e3)+(_0x11b02e+0x1)+_0x1e628b(0xce,-_0x33f294._0x46503b,0x7e,_0x33f294._0x34a276));if(!_0x32963[_0x578a42(0x643,0x4c0,_0x33f294._0x2f1eae,_0x33f294._0x34c88c)]||typeof _0x32963[_0x578a42(_0x33f294._0x4e2aa8,0x65c,0x4a5,0x726)]!=='string')throw new ToolExecutionError(_0x578a42(_0x33f294._0x289ac5,_0x33f294._0xdc1778,_0x33f294._0x45f2cf,0x6c6)+(_0x11b02e+0x1)+_0x578a42(0x717,0x760,0x84b,0x684));if(_0x32963[_0x578a42(_0x33f294._0x4e2aa8,0x717,0x7cf,0x514)]['length']>0x1e)throw new ToolExecutionError(_0x1e628b(_0x33f294._0x1547d2,0x9b,_0x33f294._0x919a02,_0x33f294._0x5c115f)+(_0x11b02e+0x1)+_0x578a42(0x487,_0x33f294._0x1d7e68,_0x33f294._0x151404,_0x33f294._0xf41295)+_0x32963['topic'][_0x1e628b(-_0x33f294._0x12c9f9,_0x33f294._0x4a6400,_0x33f294._0x290586,-_0x33f294._0x4fe3e1)]);if(!Array[_0x578a42(0x4d2,_0x33f294._0x3f3d1c,_0x33f294._0x5c8c4b,_0x33f294._0x22f426)](_0x32963[_0x578a42(_0x33f294._0x5800e3,0x8af,0x5ba,0x586)])||_0x32963[_0x1e628b(_0x33f294._0x5db29f,0x20d,_0x33f294._0x5c3e43,_0x33f294._0x5875ac)][_0x1e628b(-_0x33f294._0x1baff1,_0x33f294._0x4a6400,_0x33f294._0x4cf112,0x2d1)]<0x2||_0x32963['options']['length']>0x4)throw new ToolExecutionError(_0x578a42(0x5bb,0x75c,_0x33f294._0x61249f,_0x33f294._0x29c45c)+(_0x11b02e+0x1)+_0x578a42(_0x33f294._0x592ff9,_0x33f294._0xbfe42f,_0x33f294._0x20ae9c,0x5d9));for(let _0x56ad92=0x0;_0x56ad92<_0x32963[_0x578a42(_0x33f294._0x66faf4,_0x33f294._0x188a8f,_0x33f294._0x269548,_0x33f294._0x26e540)][_0x1e628b(_0x33f294._0x5b8157,_0x33f294._0x5778c3,_0x33f294._0x2ec283,_0x33f294._0x358107)];_0x56ad92+=0x1){const _0xbb6414=_0x32963['options'][_0x56ad92];if(!_0xbb6414[_0x1e628b(0x20f,_0x33f294._0xddac0e,0x30,_0x33f294._0x4bc0a0)]||!_0xbb6414[_0x1e628b(_0x33f294._0x301e54,-0x77,-0x22a,0x90)])throw new ToolExecutionError('Question\x20'+(_0x11b02e+0x1)+',\x20Option\x20'+(_0x56ad92+0x1)+_0x578a42(_0x33f294._0x22caeb,_0x33f294._0x55fe97,0x71d,_0x33f294._0x45cfbd));}if(typeof _0x32963[_0x578a42(0x613,_0x33f294._0x19e14f,_0x33f294._0x471f40,_0x33f294._0x22c892)]!==_0x1e628b(_0x33f294._0x27c872,_0x33f294._0x45b503,_0x33f294._0x321969,_0x33f294._0x2aed42))throw new ToolExecutionError(_0x1e628b(0x1e1,0x9b,-0x81,_0x33f294._0x103448)+(_0x11b02e+0x1)+_0x1e628b(-0x12,0x139,_0x33f294._0x5d7041,_0x33f294._0x2db0fe));}}function buildQuestions(_0x3328d0){const _0x477bbe={_0x41d825:0x196,_0xe1cae:0x2a5,_0x256c4f:0x240,_0xaf91b4:0x1c3,_0x52ebde:0x33d,_0x4346eb:0x28d,_0x44d3bf:0x217},_0x38ce66={_0x29af5a:0x72,_0x510706:0x1c4};function _0x5ac054(_0x15a829,_0x3e72b5,_0x17cc1a,_0x53393a){return _0x5469ba(_0x17cc1a,_0x3e72b5-0x147,_0x17cc1a-0x121,_0x3e72b5- -0x3f);}function _0xaba64d(_0x4b4fc2,_0x22d8bf,_0x20afc8,_0x49dfd1){return _0x4bfe88(_0x20afc8- -0x4b4,_0x22d8bf-_0x38ce66._0x29af5a,_0x20afc8-_0x38ce66._0x510706,_0x49dfd1);}return _0x3328d0[_0x5ac054(_0x477bbe._0x41d825,_0x477bbe._0xe1cae,0x21e,_0x477bbe._0x256c4f)][_0xaba64d(-_0x477bbe._0xaf91b4,-_0x477bbe._0x52ebde,-_0x477bbe._0x4346eb,-_0x477bbe._0x44d3bf)]((_0x426762,_0x4faa04)=>({'id':'q'+_0x4faa04,'question':_0x426762[_0x5ac054(-0xa6,0x77,0x6e,-0x1c)],'topic':_0x426762[_0x5ac054(0x31a,0x287,0x2bf,0x1bb)],'options':_0x426762[_0x5ac054(0x2d3,0x371,0x347,0x4b3)],'multiSelect':_0x426762[_0x5ac054(0x2c1,0x257,0x26a,0x2a0)]}));}function createResult(_0x37cbca,_0x150127,_0x4f7301){const _0x224002={'questionId':_0x37cbca,'questionCount':_0x150127,'answers':_0x4f7301};return createToolOutput('User\x20responses\x20received:\x20'+JSON['stringify'](_0x4f7301,null,0x2),_0x224002);}function createAskUserTool(){const _0xcf6bc0={_0x164cc9:0x41d,_0x90cc26:0x3b2,_0x414194:0x59b,_0x3c1e2f:0x3e9,_0x3abf96:0x2ab,_0x1cd32d:0x206,_0x1615d7:0x88,_0x43b07c:0xbb,_0x5ebcbf:0x568,_0x5289e0:0x68b,_0x16a0a0:0xcc,_0x154799:0xa,_0x4d1cc:0x24b,_0x5e8865:0x1c7,_0x33285f:0x546,_0x4f1c24:0x26d,_0x3866f7:0x265,_0x56c760:0x477,_0x1cf6ea:0x561,_0x5d4c29:0x3f9,_0x25b24f:0x6b1,_0x560fb6:0x542,_0x2e4733:0x5c2,_0x405883:0x52,_0x1ed73c:0x4a},_0x3098e4={_0x345eda:0x204,_0x31fe66:0x7e,_0x4cedf6:0x261,_0x1d9758:0xbd,_0x308e17:0x22e,_0x1e7219:0x166,_0x30cee9:0x18a,_0x11f0e6:0x61,_0x2fb90f:0x8a,_0x1a2bf1:0x1b4,_0x1b517f:0xc9,_0x263b97:0x90,_0x3b63b9:0xeb,_0x380384:0x2ab,_0x42b0e1:0x36,_0x41dc7d:0x1b4,_0x4b8e51:0x19a,_0x1d49a6:0x158,_0x270d91:0xe,_0x33eb0f:0x17e,_0x2e7164:0x1a2,_0x42292f:0x2ad,_0x1a924e:0x1d2},_0x5535f3={_0x158df6:0x113,_0xfe6416:0x1b1};function _0x363eef(_0x49ffc6,_0x3696df,_0x44af69,_0x54d985){return _0x5469ba(_0x54d985,_0x3696df-_0x5535f3._0x158df6,_0x44af69-0xc0,_0x49ffc6-_0x5535f3._0xfe6416);}function _0x245902(_0x3a99b9,_0xc36ca5,_0x28a5b7,_0x50882f){return _0x4bfe88(_0x50882f- -0x3b6,_0xc36ca5-0xa7,_0x28a5b7-0x19d,_0xc36ca5);}return defineTool({'name':_0x363eef(_0xcf6bc0._0x164cc9,_0xcf6bc0._0x90cc26,_0xcf6bc0._0x414194,0x3c3),'permissionClass':'read','description':_0x245902(-0xa7,-0x2a,0xdc,-0x51),'inputSchema':{'type':_0x363eef(_0xcf6bc0._0x3c1e2f,0x4cb,0x4f8,_0xcf6bc0._0x3abf96),'properties':{'questions':{'type':_0x245902(0x1c2,0x73,_0xcf6bc0._0x1cd32d,_0xcf6bc0._0x1615d7),'items':{'type':_0x245902(-0x7d,0x1d,-0x1a5,-_0xcf6bc0._0x43b07c),'properties':{'question':{'type':'string'},'topic':{'type':'string'},'options':{'type':_0x363eef(0x52c,_0xcf6bc0._0x5ebcbf,_0xcf6bc0._0x5289e0,0x376),'items':{'type':'object','properties':{'label':{'type':_0x245902(-0x276,-_0xcf6bc0._0x16a0a0,-0x2e8,-0x183)},'description':{'type':'string'}},'required':[_0x245902(0x1a3,0xb,-0x119,-_0xcf6bc0._0x154799),_0x245902(-0x29c,-0x2ac,-_0xcf6bc0._0x4d1cc,-_0xcf6bc0._0x5e8865)]}},'multiSelect':{'type':_0x363eef(_0xcf6bc0._0x33285f,0x47f,0x51e,0x54f)}},'required':[_0x245902(-0x177,-_0xcf6bc0._0x4f1c24,-_0xcf6bc0._0x3866f7,-0x23d),_0x363eef(_0xcf6bc0._0x56c760,0x532,0x628,0x4b3),_0x363eef(_0xcf6bc0._0x1cf6ea,_0xcf6bc0._0x5d4c29,_0xcf6bc0._0x25b24f,0x502),_0x363eef(0x447,_0xcf6bc0._0x560fb6,_0xcf6bc0._0x2e4733,0x2e4)]}},'answers':{'type':_0x245902(0x88,-0x173,_0xcf6bc0._0x405883,-0xbb),'properties':{}}},'required':[_0x245902(_0xcf6bc0._0x1ed73c,0x21,-0x2e,-0xf)]},async *'execute'(_0x3b661e,_0x157568){const _0x37e6f1={_0x220115:0x1cb,_0x54d105:0x3e},_0x5bdae8={_0x12ecb8:0x3a1,_0x2821c0:0x18c},_0x219d7b=_0x3b661e;validateInput(_0x219d7b);const _0x50ede3=_0x157568[_0x46d463(_0x3098e4._0x345eda,0x289,_0x3098e4._0x31fe66,_0x3098e4._0x4cedf6)]??createQuestionId();function _0x1a7627(_0x2e2463,_0x5ef032,_0x52dc1c,_0x1a78a3){return _0x363eef(_0x1a78a3- -_0x5bdae8._0x12ecb8,_0x5ef032-_0x5bdae8._0x2821c0,_0x52dc1c-0x15c,_0x52dc1c);}function _0x46d463(_0x4efb22,_0x25ed52,_0x5762f2,_0xf5d8a7){return _0x245902(_0x4efb22-_0x37e6f1._0x220115,_0x25ed52,_0x5762f2-_0x37e6f1._0x54d105,_0x4efb22-0x30f);}if(_0x219d7b[_0x1a7627(0x269,0x241,_0x3098e4._0x1d9758,0x1b4)]&&Object[_0x1a7627(_0x3098e4._0x308e17,_0x3098e4._0x1e7219,_0x3098e4._0x30cee9,0x157)](_0x219d7b[_0x1a7627(_0x3098e4._0x11f0e6,_0x3098e4._0x2fb90f,0x1f2,_0x3098e4._0x1a2bf1)])[_0x1a7627(0x1d5,_0x3098e4._0x1b517f,0x1d,0xeb)]>0x0)return createResult(_0x50ede3,_0x219d7b['questions'][_0x1a7627(-_0x3098e4._0x263b97,0x201,0x245,_0x3098e4._0x3b63b9)],_0x219d7b[_0x1a7627(0x264,_0x3098e4._0x380384,_0x3098e4._0x42b0e1,_0x3098e4._0x41dc7d)]);if(!_0x157568[_0x1a7627(0x1d3,0x275,0x2bb,0x1d2)])throw new ToolExecutionError(_0x46d463(_0x3098e4._0x4b8e51,_0x3098e4._0x1d49a6,_0x3098e4._0x270d91,0x137));const _0x1c7b3a=buildQuestions(_0x219d7b),_0x32bc24=await _0x157568[_0x1a7627(_0x3098e4._0x33eb0f,_0x3098e4._0x2e7164,_0x3098e4._0x42292f,_0x3098e4._0x1a924e)]({'questionId':_0x50ede3,'questions':_0x1c7b3a});yield createResult(_0x50ede3,_0x219d7b[_0x46d463(0x300,0x42b,0x47e,0x38c)]['length'],_0x32bc24);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x1666c8}from'child_process';function errorMessage(_0x2515d0){const _0x419f52={_0x4a71cf:0x4ff,_0x57bbc5:0x4dd},_0x2952c4={_0x531ce8:0x17d};function _0x559b74(_0x14c62b,_0xe9851b,_0xdfadde,_0x47c9c7){return _0x5469ba(_0x14c62b,_0xe9851b-0x122,_0xdfadde-_0x2952c4._0x531ce8,_0xdfadde-0x286);}return _0x2515d0 instanceof Error?_0x2515d0[_0x559b74(0x5d7,_0x419f52._0x4a71cf,_0x419f52._0x57bbc5,0x61f)]:String(_0x2515d0);}function isNotFound(_0x3570dc){const _0x24f6f2={_0x1974f0:0x76,_0x53e5c3:0x16,_0x11ab01:0x5ba,_0x120378:0x4e1,_0x5b2a9c:0x768,_0x1f1824:0x1e2,_0x3d414b:0x32b},_0x37bbf3={_0x50b7ec:0x469,_0x2b26c5:0x1e5,_0x4d1b7a:0x1d5},_0x49f19c={_0x2509e9:0x12,_0x1ee0ef:0x61};function _0x547566(_0x4f4f0d,_0x2273da,_0x26bb86,_0x308d1c){return _0x4bfe88(_0x4f4f0d-0x1c6,_0x2273da-_0x49f19c._0x2509e9,_0x26bb86-_0x49f19c._0x1ee0ef,_0x26bb86);}function _0x5ced26(_0x87f4bd,_0x39ae79,_0x310d39,_0x14133d){return _0x4bfe88(_0x310d39- -_0x37bbf3._0x50b7ec,_0x39ae79-_0x37bbf3._0x2b26c5,_0x310d39-_0x37bbf3._0x4d1b7a,_0x87f4bd);}return typeof _0x3570dc===_0x5ced26(-_0x24f6f2._0x1974f0,-0xf7,-0x16e,_0x24f6f2._0x53e5c3)&&_0x3570dc!==null&&_0x547566(_0x24f6f2._0x11ab01,_0x24f6f2._0x120378,0x5e6,_0x24f6f2._0x5b2a9c)in _0x3570dc&&_0x3570dc[_0x5ced26(-0x54,-0x5f,-0x75,-0x134)]===_0x5ced26(-_0x24f6f2._0x1f1824,-_0x24f6f2._0x3d414b,-0x20a,-0x66);}function isSafeProcessId(_0x4e6a94){const _0x3dbd10={_0x1903ba:0x1e5,_0x22aff9:0x2fe};function _0x246471(_0x5644e2,_0x2d7c7b,_0x485a1f,_0x1a4e66){return _0x5469ba(_0x5644e2,_0x2d7c7b-0x194,_0x485a1f-_0x3dbd10._0x1903ba,_0x1a4e66- -_0x3dbd10._0x22aff9);}return _0x4e6a94!==void 0x0&&Number[_0x246471(-0x2a1,-0x19d,-0x212,-0x109)](_0x4e6a94)&&_0x4e6a94>0x1;}function createProcessTreeSignalAdapter(_0x379627={}){const _0x1e8fc9={_0x2b3ca8:0x3a9,_0x5581a7:0x4f1,_0x162028:0x2ef,_0x2cf797:0x40b,_0x1a5c86:0x382,_0x48fdda:0x3b1,_0x1337be:0x560,_0x531b08:0x5ea,_0x59db34:0x513,_0x24a345:0x4b6},_0x2a7bdb={_0x57a009:0x28f,_0x232cf8:0x1ad,_0x5dfe88:0xe9,_0x47788f:0x27b,_0x1e9cb1:0x11f,_0x4c37a4:0x178,_0x5cb659:0xa9,_0x41a452:0x24f,_0x2ad94a:0x3d0,_0x27e732:0x28e,_0x3fbfa4:0x1fd,_0x289267:0x421,_0x275945:0x21a,_0x5e1796:0x18c,_0x51f941:0x348,_0x24545b:0x274},_0x20efc3={_0x47b879:0xea,_0x3ef1cf:0x77,_0x56d74b:0x53,_0x3befe1:0x4e,_0x579fa9:0xe1,_0x137207:0x248,_0x19a552:0x133,_0xad92ab:0x1cd,_0x1159dc:0x34c,_0x104153:0x1bc,_0x4e20ab:0x1c6,_0x25e19f:0xdf,_0xc43352:0x8f,_0x3b785a:0x131,_0x3750fb:0x56,_0x392a86:0x74,_0x22dfbd:0xd1,_0xa46b68:0x224},_0x2fff54={_0x61c40c:0x77,_0xa6d77d:0x64,_0x4b64a6:0x183},_0x222631={_0x1a315a:0x1a2,_0x511722:0x165};function _0x4a5718(_0x46b62f,_0x13ddec,_0x473624,_0x4d8ce1){return _0x4bfe88(_0x4d8ce1-_0x222631._0x1a315a,_0x13ddec-_0x222631._0x511722,_0x473624-0x6f,_0x13ddec);}const _0x27a6ff=_0x379627['platform']??process[_0x1f12c6(0x58f,0x2c4,0x3f8,_0x1e8fc9._0x2b3ca8)],_0x5b4917=_0x379627[_0x4a5718(_0x1e8fc9._0x5581a7,0x409,_0x1e8fc9._0x162028,0x3ad)]??process[_0x4a5718(_0x1e8fc9._0x2cf797,0x24c,_0x1e8fc9._0x1a5c86,0x3ad)][_0x1f12c6(_0x1e8fc9._0x48fdda,0x424,_0x1e8fc9._0x1337be,0x5c3)](process),_0x332eeb=_0x379627[_0x1f12c6(0x444,_0x1e8fc9._0x531b08,_0x1e8fc9._0x59db34,_0x1e8fc9._0x24a345)]??_0x1666c8;function _0x1f12c6(_0x298e26,_0x217345,_0x17330c,_0x4d645a){return _0x5469ba(_0x217345,_0x217345-_0x2fff54._0x61c40c,_0x17330c-_0x2fff54._0xa6d77d,_0x17330c-_0x2fff54._0x4b64a6);}return{async 'signal'(_0x1d573c,_0x9b2d0f){const _0x33c37b={_0x286c13:0x45f,_0x1ea978:0x4d2,_0x3d1162:0x2ef,_0x5b2d67:0x317,_0x4c7292:0x33c,_0x2dbddc:0x16d,_0x4cddfa:0x42f,_0xf040b4:0x31d},_0x9e957e={_0x3109d5:0x307},_0x2c031d={_0x51c295:0x41,_0x1af488:0x1f0},_0x5f041c={_0x480cb1:0x187,_0x292521:0x1e7,_0x45cac7:0x3b2};function _0x17987a(_0x5a447d,_0x3dac68,_0x1e4ef7,_0x33861d){return _0x4a5718(_0x5a447d-_0x5f041c._0x480cb1,_0x3dac68,_0x1e4ef7-_0x5f041c._0x292521,_0x1e4ef7- -_0x5f041c._0x45cac7);}if(_0x27a6ff!==_0x17987a(_0x2a7bdb._0x57a009,0x2a4,_0x2a7bdb._0x232cf8,0x22c)){if(!isSafeProcessId(_0x1d573c[_0x17987a(_0x2a7bdb._0x5dfe88,0x127,_0x2a7bdb._0x47788f,_0x2a7bdb._0x1e9cb1)]))return{'outcome':_0x17987a(-_0x2a7bdb._0x4c37a4,-0x39,-0xf,0x9f),'error':_0x17987a(-_0x2a7bdb._0x5cb659,0x146,-0x2,0x2e)};try{return _0x5b4917(-_0x1d573c['processGroupId'],_0x9b2d0f===_0x1cf7e7(_0x2a7bdb._0x41a452,_0x2a7bdb._0x2ad94a,0xb6,0xfe)?'SIGTERM':_0x1cf7e7(0x365,_0x2a7bdb._0x27e732,_0x2a7bdb._0x3fbfa4,0x293)),{'outcome':_0x1cf7e7(0x381,_0x2a7bdb._0x289267,_0x2a7bdb._0x275945,0x2c0)};}catch(_0x309c50){return isNotFound(_0x309c50)?{'outcome':'not-found','error':errorMessage(_0x309c50)}:{'outcome':'failed','error':errorMessage(_0x309c50)};}}if(!isSafeProcessId(_0x1d573c[_0x1cf7e7(_0x2a7bdb._0x5e1796,0x42,0x98,0x22c)]))return{'outcome':_0x1cf7e7(0x202,0x16c,_0x2a7bdb._0x51f941,0x1f4),'error':_0x1cf7e7(_0x2a7bdb._0x24545b,0x158,0x32f,0x18b)};function _0x1cf7e7(_0x20b111,_0x5f1743,_0x64d4c0,_0x76dc0d){return _0x1f12c6(_0x20b111-0x1d7,_0x64d4c0,_0x20b111- -0xbf,_0x76dc0d-0x17d);}return new Promise(_0x215ebb=>{const _0x7a965d={_0x478fac:0x12e};let _0x307651=![];function _0x2468f1(_0x5bdd01,_0x1653af,_0x235cac,_0x3a3599){return _0x17987a(_0x5bdd01-0x1c6,_0x3a3599,_0x235cac- -_0x2c031d._0x51c295,_0x3a3599-_0x2c031d._0x1af488);}const _0x17769f=_0x335843=>{if(_0x307651)return;_0x307651=!![],_0x215ebb(_0x335843);};let _0x5dc804;function _0x378d59(_0x22d315,_0x570006,_0x4b5804,_0x3600a1){return _0x1cf7e7(_0x570006- -0x1df,_0x570006-0x3f,_0x3600a1,_0x3600a1-0x18);}try{const _0x11446c=[_0x378d59(0xa9,_0x20efc3._0x47b879,0xcd,0x66),String(_0x1d573c[_0x378d59(_0x20efc3._0x3ef1cf,-_0x20efc3._0x56d74b,-0x114,-0xba)]),'/T'];if(_0x9b2d0f==='force')_0x11446c[_0x378d59(0x1d2,_0x20efc3._0x3befe1,_0x20efc3._0x579fa9,0x1ef)]('/F');_0x5dc804=_0x332eeb(_0x2468f1(_0x20efc3._0x137207,_0x20efc3._0x19a552,_0x20efc3._0xad92ab,_0x20efc3._0x1159dc),_0x11446c,{'stdio':_0x378d59(0x55,0x153,0xce,0xe9),'windowsHide':!![]});}catch(_0xe8da8e){_0x17769f({'outcome':'failed','error':errorMessage(_0xe8da8e)});return;}_0x5dc804[_0x378d59(_0x20efc3._0x104153,_0x20efc3._0x4e20ab,0x299,0x350)](_0x2468f1(_0x20efc3._0x25e19f,0x3b,-_0x20efc3._0xc43352,-_0x20efc3._0x3b785a),_0x4f4fc5=>{const _0x29d090={_0x5edfde:0xe6,_0x3d8835:0x2aa};function _0x5af313(_0x13d16b,_0x49d9f9,_0x5077bf,_0x152154){return _0x2468f1(_0x13d16b-0x7c,_0x49d9f9-_0x29d090._0x5edfde,_0x152154-_0x29d090._0x3d8835,_0x13d16b);}_0x17769f(isNotFound(_0x4f4fc5)?{'outcome':'not-found','error':errorMessage(_0x4f4fc5)}:{'outcome':_0x5af313(_0x9e957e._0x3109d5,0x2a2,0x194,0x25a),'error':errorMessage(_0x4f4fc5)});}),_0x5dc804[_0x2468f1(_0x20efc3._0x3750fb,0x19e,0x153,0xcf)](_0x378d59(-0x184,-_0x20efc3._0x392a86,_0x20efc3._0x22dfbd,-_0x20efc3._0xa46b68),_0xe5bde5=>{const _0x2b907a={_0x5f03f9:0x2f4,_0x43fae5:0xf3};function _0x5da29f(_0x3f5573,_0x1fff86,_0x2c9fa9,_0x38ac26){return _0x378d59(_0x3f5573-0x1b4,_0x2c9fa9-_0x2b907a._0x5f03f9,_0x2c9fa9-_0x2b907a._0x43fae5,_0x1fff86);}function _0x8aadb3(_0x5001e6,_0x5351bb,_0x21c2b0,_0x5a35e9){return _0x2468f1(_0x5001e6-_0x7a965d._0x478fac,_0x5351bb-0x150,_0x5a35e9-0x3a3,_0x5351bb);}_0x17769f(_0xe5bde5===0x0?{'outcome':_0x8aadb3(0x5dd,0x5c9,_0x33c37b._0x286c13,_0x33c37b._0x1ea978)}:{'outcome':_0x5da29f(0x3de,_0x33c37b._0x3d1162,_0x33c37b._0x5b2d67,_0x33c37b._0x4c7292),'error':_0x5da29f(_0x33c37b._0x2dbddc,_0x33c37b._0x4cddfa,_0x33c37b._0xf040b4,0x271)+String(_0xe5bde5)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x2c0ee9){const _0x337359=_0x2c0ee9['codePointAt'](0x0)??0x0;return _0x337359<0x20&&_0x2c0ee9!=='\x09'||_0x337359>=0x7f&&_0x337359<=0x9f||_0x337359===0xa0||_0x337359>=0x200b&&_0x337359<=0x200f||_0x337359>=0x2060&&_0x337359<=0x2069||_0x337359===0x23ce||_0x337359===0x2424;}function createTerminalOutputNormalizer(){const _0x24529d={_0x5365ac:0x35a,_0x1000eb:0x256},_0x27698e={_0x2673db:0x21b,_0x12acfc:0x19d,_0x5a85c2:0x133},_0x1b0bdf={_0x4a74ec:0x152,_0x3fa287:0x22,_0x1d7fd3:0xeb,_0x4a718f:0x196,_0x171bde:0x7,_0x233e43:0x348,_0x37bd62:0x29c,_0x70645c:0x1f5,_0xdf964b:0x2b8,_0x1289b6:0x13c,_0x3de2a2:0x124,_0x93d37:0x425,_0x198500:0x365,_0x45e03b:0x4aa,_0x2b43e7:0x8e,_0x19266a:0x3,_0xe89203:0x18,_0x30b080:0xbb,_0x264fcd:0x1df,_0x1612de:0x17d,_0x2d46a3:0x2b4,_0x1d58c4:0x13,_0xe8deb5:0x3c0,_0x1370d8:0x3c8,_0x1bd353:0x40f,_0x5bb77f:0x194,_0x1ff5ab:0x1cb,_0x3f6352:0x382,_0x2ec8cb:0xaa,_0x599c74:0xf9,_0x552385:0x275,_0x540791:0x1c5,_0x388b28:0x29b},_0x2c24d0={_0x554dc1:0xb5,_0x572ef0:0x132,_0x4b29ab:0xaa},_0x5991ca={_0xe06073:0x401,_0x330572:0x1d4,_0x5ab99f:0x5ee,_0x3b9a60:0x297,_0x90adc4:0x13c,_0x683e47:0x526,_0x3aec6e:0x4eb,_0x25b992:0x5bd},_0x15c0de={_0x1055f0:0x13d,_0x990ee:0x180};let _0x52a2a2=_0x6e7c4(_0x24529d._0x5365ac,0xc8,_0x24529d._0x1000eb,0x348),_0x5cb262=![],_0x9429bf=![],_0x374272=[],_0x1273a0=0x0,_0x128fa5=![];const _0x418c2b=()=>{_0x374272=[],_0x1273a0=0x0;},_0x253d18=_0x324f83=>{const _0xf4c171={_0x3f5201:0x41};function _0x2004dd(_0x4a8e43,_0x4c20d1,_0xb23a02,_0x42af4c){return _0x6e7c4(_0x42af4c,_0x4c20d1-0xac,_0x4c20d1-0x368,_0x42af4c-_0xf4c171._0x3f5201);}function _0x3794d9(_0x14f8d9,_0x5691d7,_0x30b6e2,_0x1edb0f){return _0x6e7c4(_0x30b6e2,_0x5691d7-0x12c,_0x1edb0f- -_0x15c0de._0x1055f0,_0x1edb0f-_0x15c0de._0x990ee);}_0x374272[_0x2004dd(0x27f,0x379,_0x5991ca._0xe06073,_0x5991ca._0x330572)](_0x324f83),_0x1273a0+=_0x324f83[_0x2004dd(0x3ea,0x4eb,0x63d,_0x5991ca._0x5ab99f)];while(_0x1273a0>MAX_PROGRESS_LINE_CHARS){const _0x2f0419=_0x374272[_0x3794d9(-_0x5991ca._0x3b9a60,0x22,-0x297,-_0x5991ca._0x90adc4)]();if(_0x2f0419===void 0x0)break;_0x1273a0-=_0x2f0419[_0x2004dd(_0x5991ca._0x683e47,_0x5991ca._0x3aec6e,0x67d,_0x5991ca._0x25b992)];}},_0x65f5f6=_0xc00145=>{const _0x35e7f7=_0x374272['join']('')+(_0xc00145?'\x0a':'');return _0x418c2b(),_0x35e7f7;},_0x36de83=_0x2c60da=>{const _0x67a5b3={_0x10902f:0xf2};if(_0x128fa5)throw new Error(_0x1192f3(-0x4e,_0x1b0bdf._0x4a74ec,-_0x1b0bdf._0x3fa287,-_0x1b0bdf._0x1d7fd3));function _0x105ce5(_0xa45432,_0x130139,_0x5d83a3,_0x8583bb){return _0x6e7c4(_0x5d83a3,_0x130139-0xcc,_0xa45432-_0x67a5b3._0x10902f,_0x8583bb-0x7c);}function _0x1192f3(_0x44b393,_0x337de9,_0x403c43,_0x2086c7){return _0x6e7c4(_0x2086c7,_0x337de9-_0x2c24d0._0x554dc1,_0x403c43- -_0x2c24d0._0x572ef0,_0x2086c7-_0x2c24d0._0x4b29ab);}let _0x3fcb7f='';for(const _0x90b9b0 of _0x2c60da){if(_0x52a2a2===_0x1192f3(-0x19d,-0x58,-_0x1b0bdf._0x4a718f,-0xf8)){const _0x154193=_0x90b9b0[_0x1192f3(-0x8,0x13b,-0x31,-_0x1b0bdf._0x171bde)](0x0)??0x0;if(_0x154193>=0x40&&_0x154193<=0x7e)_0x52a2a2=_0x105ce5(_0x1b0bdf._0x233e43,_0x1b0bdf._0x37bd62,_0x1b0bdf._0x70645c,0x2ea);continue;}if(_0x52a2a2===_0x105ce5(0x3a1,0x531,_0x1b0bdf._0xdf964b,0x4a1)||_0x52a2a2===_0x1192f3(0x64,0xf7,0x103,_0x1b0bdf._0x4a718f)){if(_0x5cb262){_0x90b9b0==='\x5c'?(_0x52a2a2=_0x1192f3(_0x1b0bdf._0x1289b6,0x21b,_0x1b0bdf._0x3de2a2,0x15f),_0x5cb262=![]):_0x5cb262=_0x90b9b0===ESC;continue;}if(_0x90b9b0===ESC)_0x5cb262=!![];else _0x52a2a2===_0x105ce5(0x3a1,_0x1b0bdf._0x93d37,_0x1b0bdf._0x198500,_0x1b0bdf._0x45e03b)&&_0x90b9b0===BEL&&(_0x52a2a2='text');continue;}if(_0x52a2a2===_0x1192f3(-0x255,-0x84,-0x1cb,-0x21)){if(_0x90b9b0==='[')_0x52a2a2=_0x105ce5(_0x1b0bdf._0x2b43e7,_0x1b0bdf._0x19266a,-_0x1b0bdf._0xe89203,-0xbd);else{if(_0x90b9b0===']')_0x52a2a2=_0x1192f3(_0x1b0bdf._0x30b080,_0x1b0bdf._0x264fcd,_0x1b0bdf._0x1612de,0x1ba),_0x5cb262=![];else _0x90b9b0==='P'||_0x90b9b0==='_'||_0x90b9b0==='^'?(_0x52a2a2=_0x1192f3(_0x1b0bdf._0x2d46a3,_0x1b0bdf._0x1d58c4,0x103,-0x5f),_0x5cb262=![]):_0x52a2a2=_0x105ce5(_0x1b0bdf._0x233e43,_0x1b0bdf._0xe8deb5,_0x1b0bdf._0x1370d8,_0x1b0bdf._0x1bd353);}continue;}if(_0x9429bf){_0x9429bf=![];if(_0x90b9b0==='\x0a'){_0x3fcb7f+=_0x65f5f6(!![]);continue;}_0x418c2b();}if(_0x90b9b0===ESC)_0x52a2a2=_0x1192f3(-0xb4,-_0x1b0bdf._0x5bb77f,-_0x1b0bdf._0x1ff5ab,-_0x1b0bdf._0x3f6352);else{if(_0x90b9b0==='\x0d')_0x9429bf=!![];else{if(_0x90b9b0==='\x0a')_0x3fcb7f+=_0x65f5f6(!![]);else{if(_0x90b9b0==='\x08'){const _0x41a136=_0x374272[_0x105ce5(0x9c,-_0x1b0bdf._0x2ec8cb,-_0x1b0bdf._0x599c74,-0x98)]();if(_0x41a136!==void 0x0)_0x1273a0-=_0x41a136[_0x105ce5(_0x1b0bdf._0x552385,0x1e9,_0x1b0bdf._0x540791,_0x1b0bdf._0x388b28)];}else!isDiscardedTextControl(_0x90b9b0)&&_0x253d18(_0x90b9b0);}}}}return _0x3fcb7f;};function _0x6e7c4(_0x32ddce,_0x182fda,_0x484f18,_0xf9b5c2){return _0x4bfe88(_0x484f18- -_0x27698e._0x2673db,_0x182fda-_0x27698e._0x12acfc,_0x484f18-_0x27698e._0x5a85c2,_0x32ddce);}return{'write':_0x36de83,'end'(){if(_0x128fa5)return'';return _0x128fa5=!![],_0x9429bf=![],_0x52a2a2='text',_0x5cb262=![],_0x65f5f6(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0x4bb53d){const _0x1f4117={_0x1079be:0xf1,_0x1751aa:0x162,_0x1fd0ad:0x129,_0x351673:0x5e,_0x22324e:0x10b,_0x11c619:0x1ea,_0x2dfe19:0x24},_0x2370de={_0xecd120:0x13,_0x363e24:0x169},_0x12eee8={_0x3bc8a2:0x123};super(_0x250e37(0x161,0x22c,_0x1f4117._0x1079be,_0x1f4117._0x1751aa)),this[_0x250e37(0x204,0x197,0x1ba,_0x1f4117._0x1fd0ad)]=_0x4bb53d;function _0x229fb1(_0x217c2a,_0x49ef71,_0x185677,_0x4ca1d5){return _0x5469ba(_0x49ef71,_0x49ef71-_0x12eee8._0x3bc8a2,_0x185677-0x15f,_0x217c2a-0x26d);}function _0x250e37(_0x30ece4,_0x55e638,_0x15f2d0,_0x234102){return _0x5469ba(_0x234102,_0x55e638-_0x2370de._0xecd120,_0x15f2d0-_0x2370de._0x363e24,_0x55e638- -0x151);}this['name']=_0x250e37(_0x1f4117._0x351673,_0x1f4117._0x22324e,_0x1f4117._0x11c619,-_0x1f4117._0x2dfe19);}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x2faec5){const _0x5ea83d={_0x318d7f:0x4cf,_0x82bdb0:0x23e,_0x3eaf32:0x19a},_0x3524c1={_0x28efa9:0x92,_0x5d3d26:0xc1};function _0x5c63c4(_0x306175,_0x39e5e9,_0x52c571,_0x5b34ee){return _0x5469ba(_0x5b34ee,_0x39e5e9-_0x3524c1._0x28efa9,_0x52c571-_0x3524c1._0x5d3d26,_0x52c571- -0x2f1);}function _0x42bc18(_0x5e3c3b,_0x1209a9,_0x951d07,_0x1645f6){return _0x5469ba(_0x1645f6,_0x1209a9-0x196,_0x951d07-0xc0,_0x1209a9- -0x23);}return _0x2faec5===_0x42bc18(_0x5ea83d._0x318d7f,0x37a,_0x5ea83d._0x82bdb0,0x36b)||_0x2faec5==='killed'||_0x2faec5===_0x42bc18(0x25d,0xdc,_0x5ea83d._0x3eaf32,0x238);}var BackgroundProcessRegistry=class{[_0x5469ba(0x283,0x292,0x29,0x1b8)]=new Map();[_0x5469ba(0x4f4,0x348,0x204,0x36c)]=new Map();[_0x5469ba(0x3b0,0x345,0x282,0x3ca)];[_0x5469ba(0x2c4,0x4f,0x173,0x1dc)];['capChars'];[_0x4bfe88(0x338,0x3cf,0x248,0x31e)];[_0x5469ba(0x33,0xf9,0x171,0x135)];[_0x4bfe88(0x263,0x331,0x419,0x21d)]=0x0;constructor(_0x4e9f4a={}){const _0x6774e5={_0xd86b74:0x21e,_0x460495:0x27a,_0x41c179:0x233,_0x445047:0x114,_0x1d2c00:0x3c6,_0x3e7b7c:0x2d2,_0x1047a1:0x48c,_0x420f1a:0x116,_0x50788f:0x444,_0x73ad85:0x2eb,_0x215942:0x2ea,_0x30051d:0x205,_0x4dc0b3:0xbc,_0x252136:0x16f,_0x52dcc2:0x125,_0x3c934b:0x237},_0x26a1d3={_0x24213c:0x13a,_0x29fe2d:0xba};this[_0x22e6be(_0x6774e5._0xd86b74,_0x6774e5._0x460495,_0x6774e5._0x41c179,_0x6774e5._0x445047)]=_0x4e9f4a[_0x22e6be(_0x6774e5._0x1d2c00,0x27a,_0x6774e5._0x3e7b7c,0x2ca)]??0xa;function _0x22e6be(_0x4ff810,_0x56dd69,_0x2c037f,_0xa62bed){return _0x4bfe88(_0x56dd69- -0x213,_0x56dd69-0x140,_0x2c037f-0x131,_0xa62bed);}this[_0x4d3e7c(_0x6774e5._0x1047a1,0x437,0x5bb,0x4b8)]=_0x4e9f4a[_0x22e6be(0x229,0x8c,_0x6774e5._0x420f1a,-0xe9)]??0x40;function _0x4d3e7c(_0x406f8f,_0x27d1b6,_0x43250b,_0x1b0470){return _0x4bfe88(_0x406f8f-0x1ed,_0x27d1b6-_0x26a1d3._0x24213c,_0x43250b-_0x26a1d3._0x29fe2d,_0x1b0470);}this[_0x4d3e7c(_0x6774e5._0x50788f,0x39c,_0x6774e5._0x73ad85,_0x6774e5._0x73ad85)]=_0x4e9f4a[_0x4d3e7c(_0x6774e5._0x50788f,_0x6774e5._0x215942,0x300,0x4e5)]??0x100000,this[_0x22e6be(_0x6774e5._0x30051d,0x125,0xa2,_0x6774e5._0x4dc0b3)]=_0x4e9f4a[_0x22e6be(-0xe,0x125,_0x6774e5._0x252136,0x12)]??process[_0x4d3e7c(0x525,0x68d,0x67c,0x468)],this['signalAdapter']=_0x4e9f4a['signalAdapter']??createProcessTreeSignalAdapter({'platform':this[_0x22e6be(0x40,_0x6774e5._0x52dcc2,_0x6774e5._0x3c934b,-0x39)]});}[_0x5469ba(0x3d7,0x288,0x3f6,0x3b5)](){const _0x36c119={_0x5ed32e:0x174,_0x31005d:0x5bd,_0x7af311:0x355,_0x58a676:0x60f,_0x28d19d:0x346,_0x1ff5f6:0x48a,_0x3372a9:0x490,_0x3f73e5:0x2f9,_0x1e8d42:0x51a,_0x1bfa7d:0x3d3,_0x6326f2:0x2e2,_0x1f4882:0x3bd,_0x13c77b:0x486,_0x4fbe95:0x2e9,_0x1c34bc:0x18f,_0x27117f:0x8,_0x4935cc:0x4b7,_0x51c956:0x428,_0x1433e1:0x2aa,_0x7f03dd:0x1d4},_0x9ef4df={_0x37dcad:0x7},_0x374229=[...this[_0xc34083(0x172,0x1b1,0x274,_0x36c119._0x5ed32e)][_0xc34083(_0x36c119._0x31005d,_0x36c119._0x7af311,0x473,_0x36c119._0x58a676)]()]['filter'](_0x559dde=>!_0x559dde[_0xc34083(0xc,0x282,0x1b2,0x2b3)]);function _0x23a624(_0x3d1eee,_0x55dd68,_0x1dbbe3,_0x484164){return _0x4bfe88(_0x484164-0x61,_0x55dd68-0xce,_0x1dbbe3-0x6d,_0x1dbbe3);}if(_0x374229[_0x23a624(0x24a,0x38b,0x274,0x3ff)]+this[_0x23a624(_0x36c119._0x28d19d,_0x36c119._0x1ff5f6,0x301,_0x36c119._0x3372a9)]['size']>=this[_0xc34083(0x38b,0x3da,0x486,0x3cd)])throw new ToolExecutionError(_0xc34083(_0x36c119._0x3f73e5,_0x36c119._0x1e8d42,0x462,_0x36c119._0x1bfa7d)+this[_0xc34083(0x5c9,0x392,0x486,0x4f1)]+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this[_0xc34083(_0x36c119._0x6326f2,_0x36c119._0x1f4882,_0x36c119._0x13c77b,0x49d)]});const _0x57974b=Object[_0xc34083(_0x36c119._0x4fbe95,0x2b4,_0x36c119._0x1c34bc,-_0x36c119._0x27117f)]({'id':randomUUID()});function _0xc34083(_0x3f433d,_0x28df63,_0x6c5d4c,_0xa400cd){return _0x4bfe88(_0x6c5d4c- -_0x9ef4df._0x37dcad,_0x28df63-0x2f,_0x6c5d4c-0xe6,_0x3f433d);}return this[_0xc34083(_0x36c119._0x4935cc,0x48a,_0x36c119._0x51c956,0x3e1)][_0xc34083(0xfb,_0x36c119._0x1433e1,_0x36c119._0x7f03dd,0x336)](_0x57974b['id'],_0x57974b),_0x57974b;}['release'](_0x36d53d){const _0x1cdd87={_0x23fcad:0x48a,_0x18cd05:0x63a,_0x550a95:0x2f2,_0x2b6e6d:0x39d,_0x518728:0x4dd,_0x8f8a3d:0x44b,_0x80e89e:0x4f2,_0x5d5727:0x315},_0x2af4b8={_0x24c6a5:0x5b,_0x2c466c:0x9},_0x13efa6={_0x210591:0x3ed,_0x68ea4:0x1,_0x848fdd:0x59};function _0x2444e7(_0x5cc1f4,_0x538494,_0x57f35,_0x287176){return _0x4bfe88(_0x57f35- -_0x13efa6._0x210591,_0x538494-_0x13efa6._0x68ea4,_0x57f35-_0x13efa6._0x848fdd,_0x5cc1f4);}function _0x32634d(_0x2c1ae3,_0x1de9bb,_0x273651,_0x55c9f0){return _0x4bfe88(_0x2c1ae3-_0x2af4b8._0x24c6a5,_0x1de9bb-_0x2af4b8._0x2c466c,_0x273651-0x33,_0x55c9f0);}this[_0x32634d(_0x1cdd87._0x23fcad,_0x1cdd87._0x18cd05,0x58d,_0x1cdd87._0x550a95)][_0x32634d(_0x1cdd87._0x2b6e6d,0x27f,_0x1cdd87._0x518728,_0x1cdd87._0x8f8a3d)](_0x36d53d['id'])===_0x36d53d&&this[_0x32634d(0x48a,0x4e4,_0x1cdd87._0x80e89e,0x4e9)][_0x32634d(0x468,0x2d1,0x317,_0x1cdd87._0x5d5727)](_0x36d53d['id']);}[_0x5469ba(0x17a,0x461,0x2af,0x2d7)](_0x4cf217,_0x135195){const _0x56ce4d={_0x25913a:0x1b5,_0x1b119a:0x76,_0x3f58fc:0x1b3,_0x158dbd:0x59,_0x1489cb:0x265,_0xf154b5:0x163,_0x50c425:0x1,_0xecedb6:0x69,_0x5cb558:0xd9,_0x1edd09:0x1a8,_0xce292e:0xe5,_0x266e8f:0x19,_0x1ca1fa:0x176,_0x1c752f:0x9a,_0x398b47:0x193,_0xc53812:0x18c,_0x42b164:0x1bf,_0x3a660c:0x2a0,_0x4f99a7:0x1dc,_0xfb4006:0x19,_0x18397e:0x122,_0x3dd7bf:0xcb,_0xff1cdc:0x217,_0x946293:0x1c4,_0x42a8b3:0x12f,_0x535b6a:0x181,_0x18691d:0x2ae,_0x2e7754:0x3f,_0x1b30f:0x174,_0x28ebac:0x259,_0x2b42ab:0x60,_0x48555d:0xcd,_0x358303:0x3e,_0xd40990:0x152,_0x33b774:0x10f,_0x59a6ae:0x240,_0x44a3c6:0x197,_0x1b6c2e:0x20e,_0x33134b:0xe8,_0x4ffcb1:0xb6,_0x34bd2e:0x4,_0x3e00be:0x21,_0x47adf4:0xfb,_0x530864:0x108,_0x2b8694:0x138,_0x36aa7d:0x38,_0x196541:0xf7,_0x341c08:0x51,_0x291160:0x57,_0x1b2d62:0x75,_0x800520:0x1a0,_0x13d3c3:0xe1,_0x3fac4f:0x185,_0x238a19:0x30},_0x11f948={_0x1a19c0:0x2b8,_0x14595f:0x33e,_0x2a4fcb:0x2cc,_0x58e445:0x587,_0xfe6f5f:0x447,_0x1beefd:0x43d,_0x5977fa:0x5c3,_0x5e4f50:0x38,_0x1964fa:0x2f,_0x4f693c:0x651,_0x22f5ad:0x1bc,_0x5c5d40:0x233,_0x51771b:0x90},_0x37bbec={_0x1e0fad:0x2e},_0x424d70={_0x340d80:0x13a},_0x465f2e={_0x5e35ea:0x9a,_0x2d975b:0x1f5,_0x153b7b:0x244,_0x4ba7a8:0x396,_0x385022:0x45c,_0x4de1ad:0x210,_0x35d455:0x489,_0x57cc78:0x254},_0x478ff4={_0x45bc67:0x626,_0x8eb9ea:0x799,_0x157f05:0x4a6,_0x5ddb73:0x5df,_0x1486b0:0x302,_0x265f1e:0x45c,_0x3e82ba:0x456},_0x3fe719={_0xdf4a32:0x7b,_0x190c72:0x196,_0xd3ecec:0x27,_0x1f4e84:0xd0,_0x551d50:0xec},_0x30c858={_0x380da1:0x212,_0xeb9b1:0xf5,_0x2ac6b1:0x167},_0x128504={_0x51f41c:0x122},_0x4ba841={_0x44bf88:0x27,_0x4b195f:0x18e,_0x572501:0x66},_0x4b8118={_0x8751f0:0x171,_0x3ee3d4:0xe},_0x41227b={_0x475863:0xf};function _0x244e18(_0x258d7a,_0x9ae822,_0x206d76,_0x3ca0b7){return _0x4bfe88(_0x258d7a- -0x2cc,_0x9ae822-0x57,_0x206d76-_0x41227b._0x475863,_0x206d76);}if(this[_0x1f5042(0xea,0x5b,_0x56ce4d._0x25913a,-0x86)][_0x244e18(_0x56ce4d._0x1b119a,-0x23,_0x56ce4d._0x3f58fc,_0x56ce4d._0x158dbd)](_0x4cf217['id'])!==_0x4cf217)throw new ToolExecutionError(_0x1f5042(0x129,-0x5d,0x175,_0x56ce4d._0x1489cb),{'reservationId':_0x4cf217['id']});this[_0x244e18(_0x56ce4d._0xf154b5,0xe3,0x1ca,0x2f4)]['delete'](_0x4cf217['id']);let _0x216a71;const _0x2e82f1=new Promise(_0x399d88=>{_0x216a71=_0x399d88;}),_0x601843=_0x244e18(0x170,-_0x56ce4d._0x50c425,0x20e,0x2f1)+ ++this[_0x244e18(-_0x56ce4d._0xecedb6,-0x1ba,0x27,-0x1d4)]+'-'+randomUUID()[_0x244e18(0x1a9,0x6,0x1a6,0xe1)](0x0,0x8),_0x1b21ed={'shellId':_0x601843,'command':_0x135195[_0x1f5042(0xcc,_0x56ce4d._0x5cb558,_0x56ce4d._0x1edd09,-_0x56ce4d._0xce292e)],'cwd':_0x135195['cwd'],'pid':_0x135195[_0x244e18(_0x56ce4d._0x266e8f,-_0x56ce4d._0x1ca1fa,-_0x56ce4d._0x1c752f,-_0x56ce4d._0x398b47)][_0x1f5042(0xcd,0x213,0x16d,_0x56ce4d._0xc53812)],'processGroupId':_0x135195[_0x244e18(_0x56ce4d._0x42b164,_0x56ce4d._0x3a660c,0x361,_0x56ce4d._0x4f99a7)],'status':'running','exitCode':null,'signal':null,'startedAt':Date['now'](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x135195[_0x244e18(_0x56ce4d._0xfb4006,0xc,_0x56ce4d._0x18397e,-_0x56ce4d._0x3dd7bf)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x1f5042(-0x1ae,-0xf2,-0x2d7,-_0x56ce4d._0xff1cdc)),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x135195[_0x1f5042(-_0x56ce4d._0x946293,-_0x56ce4d._0x42a8b3,-_0x56ce4d._0x535b6a,-_0x56ce4d._0x18691d)],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x2e82f1,'resolveTerminal':_0x216a71,'terminationSettled':![]};this[_0x244e18(-0x51,0x166,-0x144,-_0x56ce4d._0x2e7754)]['set'](_0x601843,_0x1b21ed);function _0x1f5042(_0x41caa8,_0x34ce5e,_0x4ac737,_0x77472b){return _0x4bfe88(_0x41caa8- -0x345,_0x34ce5e-_0x4b8118._0x8751f0,_0x4ac737-_0x4b8118._0x3ee3d4,_0x77472b);}try{_0x135195['child'][_0x1f5042(_0x56ce4d._0x1b30f,0xba,0x14a,_0x56ce4d._0x28ebac)]?.['on']('data',_0x5812c7=>{const _0x539261={_0x18424c:0x16f,_0x4cbdaf:0x16f};function _0x156881(_0x3e57a2,_0x10a1d1,_0x27d26f,_0x50aa3e){return _0x1f5042(_0x50aa3e-_0x539261._0x18424c,_0x10a1d1-0x4b,_0x27d26f-_0x539261._0x4cbdaf,_0x27d26f);}this[_0x156881(_0x4ba841._0x44bf88,-_0x4ba841._0x4b195f,0x99,-_0x4ba841._0x572501)](_0x1b21ed,_0x1b21ed['stdoutDecoder'],_0x1b21ed['stdoutNormalizer'],_0x5812c7);}),_0x135195[_0x1f5042(-_0x56ce4d._0x2b42ab,-0x11e,-_0x56ce4d._0x48555d,-0x1ce)][_0x1f5042(-_0x56ce4d._0x358303,-0xee,0x15b,_0x56ce4d._0xd40990)]?.['on'](_0x1f5042(-_0x56ce4d._0x33b774,-_0x56ce4d._0x59a6ae,0x96,-_0x56ce4d._0x44a3c6),_0x34ebc5=>{function _0x2cf838(_0x4bc3ff,_0x1db52f,_0x409695,_0xc8cf6a){return _0x244e18(_0x4bc3ff-_0x128504._0x51f41c,_0x1db52f-0x1aa,_0x1db52f,_0xc8cf6a-0xab);}function _0x423f7e(_0x19a946,_0x3af61c,_0x5a2eb3,_0x3e0156){return _0x1f5042(_0x19a946-_0x30c858._0x380da1,_0x3af61c-_0x30c858._0xeb9b1,_0x5a2eb3-_0x30c858._0x2ac6b1,_0x3e0156);}this['appendDecoded'](_0x1b21ed,_0x1b21ed[_0x2cf838(-0x25,0xb1,-0x18a,_0x3fe719._0xdf4a32)],_0x1b21ed[_0x423f7e(_0x3fe719._0x190c72,_0x3fe719._0xd3ecec,_0x3fe719._0x1f4e84,_0x3fe719._0x551d50)],_0x34ebc5);}),_0x135195[_0x1f5042(-_0x56ce4d._0x2b42ab,-_0x56ce4d._0x1b6c2e,_0x56ce4d._0x33134b,_0x56ce4d._0x4ffcb1)][_0x1f5042(0x5f,-_0x56ce4d._0x34bd2e,-0x159,-0x149)](_0x1f5042(-_0x56ce4d._0x3e00be,-0x65,-0xc8,-0xb7),(_0x9ab1b2,_0x159f24)=>{const _0x8a910d={_0x4f132d:0x56f},_0x2eb15a={_0x25f47e:0x76,_0x203535:0x124};_0x1b21ed[_0x276793(0x47f,_0x478ff4._0x45bc67,_0x478ff4._0x8eb9ea,0x4eb)]=!![];function _0x474362(_0x14b8db,_0x1b9e7e,_0x2b0f6c,_0x116870){return _0x244e18(_0x14b8db-0x2c2,_0x1b9e7e-_0x2eb15a._0x25f47e,_0x1b9e7e,_0x116870-_0x2eb15a._0x203535);}function _0x276793(_0x2607a2,_0x2dc78f,_0x5b3326,_0x36c3b2){return _0x1f5042(_0x2dc78f-_0x8a910d._0x4f132d,_0x2dc78f-0x1d2,_0x5b3326-0x5,_0x36c3b2);}_0x1b21ed[_0x474362(_0x478ff4._0x157f05,0x4e4,0x526,_0x478ff4._0x5ddb73)]=_0x9ab1b2,_0x1b21ed[_0x474362(_0x478ff4._0x1486b0,_0x478ff4._0x265f1e,0x27d,_0x478ff4._0x3e82ba)]=_0x159f24;}),_0x135195['child'][_0x1f5042(0x5f,0x103,0x1bb,_0x56ce4d._0x47adf4)]('error',_0x5ea285=>{const _0x1ba1a2={_0x27cec1:0xed,_0x3c7d56:0xa5},_0x4bcc06={_0x2fd9c4:0x458,_0x58f408:0xe0,_0x5db6ac:0x61};_0x1b21ed[_0x166d22(-_0x465f2e._0x5e35ea,0xdc,_0x465f2e._0x2d975b,-0xf)]=_0x5ea285['message'];function _0x5c77d7(_0x5ab051,_0x301577,_0x494467,_0x103a2d){return _0x1f5042(_0x301577-_0x4bcc06._0x2fd9c4,_0x301577-_0x4bcc06._0x58f408,_0x494467-_0x4bcc06._0x5db6ac,_0x103a2d);}function _0x166d22(_0x140df0,_0x3bc39e,_0x1d4188,_0x299095){return _0x1f5042(_0x3bc39e-0x25f,_0x3bc39e-_0x1ba1a2._0x27cec1,_0x1d4188-_0x1ba1a2._0x3c7d56,_0x1d4188);}_0x1b21ed[_0x5c77d7(_0x465f2e._0x153b7b,_0x465f2e._0x4ba7a8,_0x465f2e._0x385022,0x40f)]=_0x5c77d7(_0x465f2e._0x4de1ad,0x2d5,_0x465f2e._0x35d455,_0x465f2e._0x57cc78);}),_0x135195[_0x1f5042(-_0x56ce4d._0x2b42ab,-_0x56ce4d._0x530864,-_0x56ce4d._0x2b8694,_0x56ce4d._0x36aa7d)]['once'](_0x1f5042(-0x1db,-_0x56ce4d._0x196541,-0x23a,-0x4b),(_0x25d128,_0x5babf0)=>{_0x1b21ed[_0x129755(_0x11f948._0x1a19c0,_0x11f948._0x14595f,0x247,_0x11f948._0x2a4fcb)]=_0x25d128;function _0x4b9a85(_0x46c53e,_0x53717c,_0x1398f2,_0x35ee82){return _0x244e18(_0x46c53e-0x547,_0x53717c-_0x424d70._0x340d80,_0x1398f2,_0x35ee82-0xdc);}_0x1b21ed[_0x4b9a85(_0x11f948._0x58e445,_0x11f948._0xfe6f5f,0x67c,0x683)]=_0x5babf0;function _0x129755(_0x195dba,_0x49f529,_0x403f46,_0x3de5c9){return _0x1f5042(_0x195dba-0x14d,_0x49f529-_0x37bbec._0x1e0fad,_0x403f46-0x1c,_0x49f529);}_0x1b21ed[_0x129755(0xed,0x13b,-0x9f,0x123)]=null,_0x1b21ed['status']!==_0x4b9a85(_0x11f948._0x1beefd,_0x11f948._0x5977fa,0x3d2,0x5f4)&&(_0x1b21ed[_0x129755(0x8b,0x7a,_0x11f948._0x5e4f50,_0x11f948._0x1964fa)]=_0x1b21ed[_0x4b9a85(_0x11f948._0x4f693c,0x72c,0x696,0x7e0)]?_0x129755(_0x11f948._0x22f5ad,_0x11f948._0x5c5d40,_0x11f948._0x51771b,0x1aa):'exited'),this['settleTerminal'](_0x1b21ed);});}catch(_0x208e84){this[_0x244e18(-_0x56ce4d._0x341c08,_0x56ce4d._0x291160,_0x56ce4d._0x358303,-0x192)][_0x1f5042(0xc8,-_0x56ce4d._0x1b2d62,_0x56ce4d._0x800520,-0xd0)](_0x601843);throw _0x208e84;}return this[_0x244e18(-_0x56ce4d._0x13d3c3,0xbd,-_0x56ce4d._0x3fac4f,_0x56ce4d._0x238a19)](),_0x1b21ed;}['spawn'](_0x29b1f8){const _0x3a6a2b={_0x51585c:0x43,_0xf377c3:0x5c1,_0x1a0983:0x578,_0x51cc3b:0x718,_0x298bd5:0x59b,_0x436bf7:0x69f,_0x3ec97c:0x5c3,_0x2ba02f:0x1d6,_0x3231e2:0x144,_0xc5510e:0x6b,_0x1ad5df:0x143},_0x2652fc={_0x13ee1c:0x4bb,_0x4911e3:0x124,_0x14eb5c:0xae},_0xd827ea={_0x5b84f4:0x142,_0x9a7511:0x2a1},_0x513575=this[_0x3e274e(-_0x3a6a2b._0x51585c,0x15f,-0x45,-0x1ef)]();function _0x461f0b(_0x597990,_0x1bb67d,_0x527a15,_0x27179f){return _0x5469ba(_0x597990,_0x1bb67d-0x126,_0x527a15-_0xd827ea._0x5b84f4,_0x1bb67d-_0xd827ea._0x9a7511);}function _0x3e274e(_0x492de7,_0x4fe979,_0x589d66,_0x352c97){return _0x4bfe88(_0x492de7- -_0x2652fc._0x13ee1c,_0x4fe979-_0x2652fc._0x4911e3,_0x589d66-_0x2652fc._0x14eb5c,_0x589d66);}try{return this[_0x461f0b(_0x3a6a2b._0xf377c3,_0x3a6a2b._0x1a0983,0x463,_0x3a6a2b._0x51cc3b)](_0x513575,{..._0x29b1f8,...this['platform']===_0x461f0b(0x60f,_0x3a6a2b._0x298bd5,_0x3a6a2b._0x436bf7,_0x3a6a2b._0x3ec97c)?{}:{'processGroupId':_0x29b1f8[_0x3e274e(-_0x3a6a2b._0x2ba02f,-0x1ac,-0x2c,-_0x3a6a2b._0x3231e2)]['pid']}});}catch(_0x50928a){this[_0x3e274e(-0x64,-_0x3a6a2b._0xc5510e,-0x44,_0x3a6a2b._0x1ad5df)](_0x513575);throw _0x50928a;}}[_0x5469ba(0x5a,0xb7,0x132,0x1e4)](_0x325437,_0xae2f8c){const _0x200152={_0x2883a8:0x46c,_0x37bee2:0x406,_0x165faf:0x4cf,_0x839959:0x6d1,_0x3f727c:0x4c4,_0x12cfdb:0x3b3,_0x4044b4:0x45b,_0x27d722:0x572,_0x35b2e1:0x437,_0x5012b2:0x3d2,_0x1dbbd8:0x451,_0x406a03:0x462,_0x1c62c3:0x78,_0x30ae8a:0x108,_0x1e2f49:0x105,_0x2083dd:0x237,_0x320e73:0x91,_0x46bb94:0x63e,_0x33a9c9:0x4ab,_0x3d7b4d:0x4a5,_0x438933:0x745,_0x42e9a6:0x31d,_0x19b7ce:0x175,_0x51248:0xc,_0x1175f8:0x81,_0x335678:0x7b,_0x51cc3e:0x243,_0x1cba74:0x278,_0xf55e78:0x105,_0x110da4:0x65c,_0x5dcee5:0x59c,_0x5b0193:0x751,_0x1d431e:0x755,_0x5e1590:0x50b,_0x4370e8:0x472,_0x4b8d77:0x370,_0x53079c:0x3aa,_0x41ef10:0x38e,_0x340f63:0x51a,_0x5ac8b4:0x5b9,_0x4db2f4:0x43a,_0x754568:0x5c5,_0x12786a:0x627,_0x1ae8c8:0x19b,_0x3c3c76:0x207,_0x201b54:0xec,_0x1b1c91:0x105,_0x42cd52:0xea,_0x8f8cec:0x181,_0x2a977f:0x69d,_0x142239:0x41d,_0x33ad05:0x52a,_0x1ded07:0x5f5,_0x45db8c:0x3b3,_0x3b75b7:0x2a5,_0x23d610:0x289},_0x55e7d8={_0xf58fc4:0x1a7,_0xba3271:0x2b4},_0x8e7cf={_0x31e803:0x300,_0x36f674:0x46},_0x53b0cb=this[_0x226907(_0x200152._0x2883a8,_0x200152._0x37bee2,0x312,_0x200152._0x165faf)]['get'](_0x325437);if(!_0x53b0cb)throw new ToolExecutionError(_0x226907(0x69b,0x84d,_0x200152._0x839959,0x53c)+_0x325437,{'shellId':_0x325437});const _0x3a35c1=_0x53b0cb[_0x226907(_0x200152._0x3f727c,_0x200152._0x12cfdb,0x3d8,_0x200152._0x4044b4)][_0x226907(0x6ab,0x773,0x504,_0x200152._0x27d722)](''),_0x1bf3f0=Math[_0x226907(_0x200152._0x35b2e1,_0x200152._0x5012b2,_0x200152._0x1dbbd8,_0x200152._0x406a03)](_0x53b0cb[_0x1784bf(_0x200152._0x1c62c3,-0x3c,_0x200152._0x30ae8a,_0x200152._0x1e2f49)],_0x53b0cb[_0x1784bf(_0x200152._0x2083dd,0x231,_0x200152._0x320e73,0x14d)]),_0x4cab87=Math['max'](0x0,_0x53b0cb[_0x226907(_0x200152._0x46bb94,0x606,_0x200152._0x33a9c9,0x495)]-_0x53b0cb[_0x226907(0x5f6,_0x200152._0x3d7b4d,0x450,_0x200152._0x438933)]),_0xc29d84=_0x3a35c1[_0x1784bf(_0x200152._0x42e9a6,0x1,0xdc,_0x200152._0x19b7ce)](_0x1bf3f0-_0x53b0cb[_0x1784bf(-0x28,-0x2e,-_0x200152._0x51248,0x14d)]);function _0x1784bf(_0x39b7b9,_0x4a043e,_0x4359e4,_0x3e9486){return _0x4bfe88(_0x3e9486- -_0x8e7cf._0x31e803,_0x4a043e-_0x8e7cf._0x36f674,_0x4359e4-0xa9,_0x4a043e);}let _0x25edf5;function _0x226907(_0x1311ed,_0x4196ce,_0x2cc8d4,_0xb9c7d9){return _0x5469ba(_0xb9c7d9,_0x4196ce-_0x55e7d8._0xf58fc4,_0x2cc8d4-0x1a,_0x1311ed-_0x55e7d8._0xba3271);}const _0x40c496=_0xae2f8c?.[_0x1784bf(0x158,-_0x200152._0x1175f8,-_0x200152._0x335678,-0x53)];if(!_0x40c496)_0x25edf5=_0xc29d84,_0x53b0cb[_0x1784bf(0x184,_0x200152._0x51cc3e,_0x200152._0x1cba74,_0x200152._0xf55e78)]=_0x53b0cb[_0x226907(_0x200152._0x110da4,_0x200152._0x5dcee5,_0x200152._0x5b0193,_0x200152._0x1d431e)];else{let _0x1c4e74;try{_0x1c4e74=new RegExp(_0x40c496);}catch(_0x36b2bf){throw new ToolExecutionError('Invalid\x20regex:\x20'+(_0x36b2bf instanceof Error?_0x36b2bf[_0x226907(_0x200152._0x5e1590,_0x200152._0x4370e8,_0x200152._0x4b8d77,0x6a1)]:String(_0x36b2bf)),{'shellId':_0x325437,'regex':_0x40c496});}let _0x33317f=_0xc29d84;if(!_0x53b0cb[_0x226907(_0x200152._0x53079c,_0x200152._0x41ef10,_0x200152._0x340f63,0x47d)]){const _0x3592c7=_0xc29d84[_0x226907(0x49d,0x5b6,0x3e3,_0x200152._0x5ac8b4)]('\x0a');_0x33317f=_0x3592c7>=0x0?_0xc29d84[_0x226907(0x666,0x4b7,0x506,0x537)](0x0,_0x3592c7+0x1):'';}_0x25edf5=_0x33317f[_0x226907(0x4a3,0x442,0x582,_0x200152._0x4db2f4)]('\x0a')[_0x226907(_0x200152._0x754568,0x63e,_0x200152._0x12786a,0x765)](_0x299829=>_0x1c4e74[_0x1784bf(0x1b8,-0x12a,-0x3a,0xd)](_0x299829))[_0x1784bf(0x239,_0x200152._0x1ae8c8,0x79,0x1ba)]('\x0a'),_0x53b0cb[_0x1784bf(_0x200152._0x3c3c76,-0x2c,_0x200152._0x201b54,_0x200152._0x1b1c91)]=_0x1bf3f0+_0x33317f[_0x1784bf(-_0x200152._0x42cd52,0x24b,_0x200152._0x8f8cec,0x9e)];}return{'output':(_0x4cab87>0x0?'[output\x20truncated:\x20'+_0x4cab87+_0x226907(0x563,_0x200152._0x2a977f,0x3cb,_0x200152._0x142239):'')+_0x25edf5,'status':_0x53b0cb[_0x1784bf(0x60,-0x221,-0x80,-0x7d)],'exitCode':_0x53b0cb[_0x226907(0x6a1,_0x200152._0x33ad05,0x580,_0x200152._0x1ded07)],'signal':_0x53b0cb['signal'],'error':_0x53b0cb[_0x226907(_0x200152._0x45db8c,_0x200152._0x3b75b7,_0x200152._0x23d610,0x55e)],'truncated':_0x4cab87>0x0};}['list'](){const _0x99b64={_0x3c1ab9:0x100,_0x8c01c2:0x5a6},_0x2a2f9e={_0x4d54a5:0x12f,_0x4bdff5:0x10d,_0x43f04e:0x1ef},_0x5c3c24={_0x220d35:0x14};function _0x4e2749(_0x2dbde5,_0x4ac4e4,_0x370c55,_0x5080fa){return _0x5469ba(_0x370c55,_0x4ac4e4-_0x5c3c24._0x220d35,_0x370c55-0x169,_0x5080fa- -0x209);}function _0x2c1c2d(_0x5dc4c2,_0x3a56ee,_0x4e5e19,_0x563db9){return _0x5469ba(_0x5dc4c2,_0x3a56ee-_0x2a2f9e._0x4d54a5,_0x4e5e19-_0x2a2f9e._0x4bdff5,_0x3a56ee-_0x2a2f9e._0x43f04e);}return[...this[_0x4e2749(0x5c,0x145,_0x99b64._0x3c1ab9,-0x51)][_0x2c1c2d(0x5aa,_0x99b64._0x8c01c2,0x6b4,0x40c)]()];}[_0x5469ba(0x29b,0x21a,0x73,0x148)](_0x3e02fd){const _0x43ab35={_0x256b88:0x24a,_0x44f0d0:0x28e,_0xeb8513:0x121,_0x4de259:0x1be,_0x304f6a:0x1f2,_0x40922f:0xc9,_0x54d6ad:0x1b8,_0x41ebfd:0xff,_0x4c133d:0x67,_0x343934:0x60,_0x3661b6:0x25e,_0x1e84df:0xe,_0x33a9d1:0x1de,_0x218ef7:0x23e,_0x2edb0d:0x3f,_0x53e4bc:0x2f0,_0x4efc64:0x429,_0x4ecea8:0x288,_0x147e73:0x1f9,_0x257963:0x1b6,_0x3dfe4b:0x14f,_0x2a4216:0x7b,_0x128200:0x129,_0x21fd2c:0x21f,_0x4add4c:0x30d,_0x1e34ef:0xc,_0x380a7c:0x1c2,_0x38bfdb:0x15e,_0x49a8bf:0x87,_0x463a73:0x17c,_0x36d762:0x34f,_0x2dfd66:0x1f7,_0xb76d02:0x100,_0x582b75:0x56,_0x43661f:0x39,_0x4acce6:0x2e,_0x9b2c42:0x1f,_0x3e28bf:0x101,_0x262d66:0x469,_0x176482:0x19e,_0x551d5f:0x1b0,_0x306a15:0x23,_0x5d92d2:0xe1},_0x276843={_0xeb4f74:0x146},_0x29a9ae={_0x23f14f:0xc6},_0x118a30={_0x22dac6:0x3cd,_0x1bc767:0x322},_0x139b44={_0x26a9f5:0x15a,_0x1c4925:0x28},_0x807276={_0x34c865:0x65,_0x5a9cc0:0x31e},_0x282258=this[_0x2e0f49(0x61,_0x43ab35._0x256b88,_0x43ab35._0x44f0d0,_0x43ab35._0xeb8513)]['get'](_0x3e02fd);if(!_0x282258)throw new ToolExecutionError(_0x5a7e6d(_0x43ab35._0x4de259,_0x43ab35._0x304f6a,_0x43ab35._0x40922f,_0x43ab35._0x54d6ad)+_0x3e02fd,{'shellId':_0x3e02fd});function _0x5a7e6d(_0x2b0bc6,_0x5d3ab1,_0x5a5a92,_0x556854){return _0x5469ba(_0x2b0bc6,_0x5d3ab1-_0x807276._0x34c865,_0x5a5a92-0x18b,_0x5a5a92- -_0x807276._0x5a9cc0);}if(_0x282258['terminationPromise']&&!_0x282258[_0x2e0f49(_0x43ab35._0x41ebfd,-0xf5,_0x43ab35._0x4c133d,_0x43ab35._0x343934)])return _0x282258[_0x2e0f49(_0x43ab35._0x3661b6,0x3e2,0x3df,0x30b)];if(_0x282258[_0x2e0f49(0x105,-_0x43ab35._0x1e84df,_0x43ab35._0x33a9d1,0x5f)]&&isTerminalStatus(_0x282258[_0x5a7e6d(-_0x43ab35._0x218ef7,-_0x43ab35._0x2edb0d,-0x15e,-0xc)]))return Promise[_0x2e0f49(_0x43ab35._0x53e4bc,_0x43ab35._0x4efc64,0x3cd,_0x43ab35._0x4ecea8)](this['result'](_0x282258,_0x5a7e6d(-0x36f,-0x5d,-_0x43ab35._0x147e73,-0x3b1)));if(_0x282258[_0x2e0f49(_0x43ab35._0x257963,_0x43ab35._0x3dfe4b,-_0x43ab35._0x2a4216,_0x43ab35._0x128200)]!==_0x5a7e6d(-0x249,-0xe9,-_0x43ab35._0x21fd2c,-_0x43ab35._0x4add4c))_0x282258[_0x5a7e6d(-_0x43ab35._0x1e34ef,-_0x43ab35._0x380a7c,-_0x43ab35._0x38bfdb,-_0x43ab35._0x49a8bf)]=_0x5a7e6d(-_0x43ab35._0x463a73,-_0x43ab35._0x36d762,-_0x43ab35._0x2dfd66,-0x278);_0x282258[_0x2e0f49(0x14d,0x181,_0x43ab35._0xb76d02,0x27c)]=!![],_0x282258[_0x2e0f49(_0x43ab35._0x582b75,-_0x43ab35._0x43661f,0xd7,_0x43ab35._0x343934)]=![],_0x282258[_0x5a7e6d(-_0x43ab35._0x4acce6,-_0x43ab35._0x9b2c42,0x84,-_0x43ab35._0x3e28bf)]=this[_0x2e0f49(0x392,0x2ec,0x36e,0x1e9)](_0x282258);function _0x2e0f49(_0xebee58,_0x3d21e2,_0x43e872,_0x423350){return _0x4bfe88(_0x423350- -_0x139b44._0x26a9f5,_0x3d21e2-_0x139b44._0x1c4925,_0x43e872-0x18b,_0x3d21e2);}return void _0x282258[_0x2e0f49(_0x43ab35._0x262d66,_0x43ab35._0x176482,0x204,0x30b)][_0x5a7e6d(-_0x43ab35._0x551d5f,_0x43ab35._0x306a15,-_0x43ab35._0x5d92d2,0x1b)](()=>{const _0x217cdb={_0x4db8ba:0x382};function _0x5b7f0e(_0x362571,_0x5410ec,_0x22692b,_0x32b152){return _0x2e0f49(_0x362571-0xbe,_0x32b152,_0x22692b-0x13b,_0x22692b- -_0x217cdb._0x4db8ba);}_0x282258[_0x5b7f0e(-0x2f2,-_0x118a30._0x22dac6,-_0x118a30._0x1bc767,-0x463)]=!![];},()=>{function _0x2109bd(_0x2ab49c,_0x4e5062,_0x15cd28,_0xafeae5){return _0x5a7e6d(_0x2ab49c,_0x4e5062-_0x29a9ae._0x23f14f,_0xafeae5-0x20a,_0xafeae5-0x12a);}_0x282258[_0x2109bd(0x82,-_0x276843._0xeb4f74,-0x7,-0x1d)]=!![];}),_0x282258['terminationPromise'];}[_0x4bfe88(0x302,0x389,0x365,0x308)](){const _0x2471ff={_0x3ad07a:0x53a,_0x3cb3b1:0x535,_0x37cdbe:0x4f9},_0xccf58d={_0x5264b2:0x16a},_0x1315e1={_0x53a065:0x1e0,_0x2e9cbd:0x2e1};function _0x257d22(_0x5b6077,_0x351f77,_0x11b560,_0x166d4a){return _0x5469ba(_0x166d4a,_0x351f77-_0x1315e1._0x53a065,_0x11b560-0x115,_0x351f77-_0x1315e1._0x2e9cbd);}function _0x13bbe2(_0x582f75,_0x135a87,_0x2e45c5,_0x530f1a){return _0x4bfe88(_0x582f75-0x2ba,_0x135a87-0xb9,_0x2e45c5-_0xccf58d._0x5264b2,_0x530f1a);}return Promise[_0x13bbe2(0x53f,_0x2471ff._0x3ad07a,0x4a7,0x51c)]([...this[_0x13bbe2(_0x2471ff._0x3cb3b1,0x697,0x68a,0x637)]['values']()][_0x257d22(_0x2471ff._0x37cdbe,0x445,0x38f,0x538)](_0x2acf19=>this[_0x257d22(0x287,0x429,0x31f,0x563)](_0x2acf19[_0x13bbe2(0x536,0x55e,0x471,0x69d)])));}async[_0x5469ba(0x159,0x444,0x1c0,0x30f)](){const _0x1bc9f7={_0x52955d:0x239,_0x26f8f1:0x492,_0x40313c:0x4f4,_0x449f13:0x38d,_0x1d5704:0x3d1,_0x54e28d:0x494,_0x25ce55:0x321,_0x269e01:0x4d3,_0x778e61:0x427,_0x2e9443:0x68b,_0x208fab:0x2ee,_0x3593ad:0x1f0,_0x473979:0x215,_0x2ecf5a:0x2d4},_0x483fad={_0x187366:0xf8,_0x49e027:0xe8},_0x404be8={_0x541291:0x8b,_0x4be556:0x1d8},_0x3e635d=await this[_0x304da8(_0x1bc9f7._0x52955d,_0x1bc9f7._0x26f8f1,_0x1bc9f7._0x40313c,_0x1bc9f7._0x449f13)]();if(_0x3e635d[_0x304da8(_0x1bc9f7._0x1d5704,0x31a,_0x1bc9f7._0x54e28d,0x400)](_0x3cc79e=>_0x3cc79e[_0x304da8(0x5bf,0x658,0x4a8,0x4ea)]===_0x304da8(0x175,0x2d6,0x2f1,0x28c)))throw new BackgroundProcessCleanupError(_0x3e635d);function _0x304da8(_0x22f85f,_0x31f0fb,_0xe3eaf4,_0x19aa30){return _0x4bfe88(_0x19aa30-_0x404be8._0x541291,_0x31f0fb-_0x404be8._0x4be556,_0xe3eaf4-0x1d2,_0x31f0fb);}this['entries'][_0x304da8(0x167,_0x1bc9f7._0x25ce55,0x331,0x2d4)]();function _0x2ac4f8(_0x54a3bc,_0x364f9a,_0x1421f0,_0x33698a){return _0x4bfe88(_0x364f9a-0xdf,_0x364f9a-_0x483fad._0x187366,_0x1421f0-_0x483fad._0x49e027,_0x54a3bc);}return this[_0x2ac4f8(_0x1bc9f7._0x269e01,0x50e,_0x1bc9f7._0x778e61,_0x1bc9f7._0x2e9443)][_0x304da8(_0x1bc9f7._0x208fab,_0x1bc9f7._0x3593ad,_0x1bc9f7._0x473979,_0x1bc9f7._0x2ecf5a)](),_0x3e635d;}async[_0x4bfe88(0x343,0x2e5,0x2cb,0x33a)](_0x1d6a26){const _0x4b1cb8={_0x12f110:0xa2,_0x97024c:0x132,_0x1d381f:0x4c3,_0x1db845:0x372,_0x48c1eb:0xf3,_0x24617c:0x155,_0x230bc4:0x2f,_0x2209f2:0x85,_0x364ac9:0x1df,_0x36c680:0x17f,_0x35e7ae:0x3a3,_0x3a380c:0x190,_0x13f54e:0x545,_0x2c8111:0x46a,_0x551b17:0x48d,_0x3e8d55:0x53d,_0x4b82da:0x4d0,_0x5768a8:0x30f,_0x499a63:0x484,_0x4fb8ea:0x4c3,_0x4cc6cf:0x380,_0xbafc8b:0x759,_0xeaa841:0x6dd,_0x33aff0:0x5b,_0x1d2092:0x32,_0x170af5:0x141,_0x26dace:0x4b,_0x5ef79a:0x17,_0x31192d:0x2f,_0x2014d1:0x9b,_0x54cc31:0x81,_0x4f19d8:0x22f,_0x29389e:0x2b1,_0x11e9a2:0x6d7,_0x5ae419:0x66b,_0x3aa7c4:0x4b6,_0x2ba2ab:0x624,_0x1616c3:0x385,_0x555a8b:0x2a1,_0x30ee43:0x2f3,_0x107251:0x232,_0x1458e5:0x34b},_0x40630b={_0x5e596f:0x38,_0x379645:0xb7},_0x76b332={_0x448df5:0x184,_0x1d0836:0x38e};_0x1d6a26[_0x2f2fe4(0x94,_0x4b1cb8._0x12f110,0x1c9,_0x4b1cb8._0x97024c)]=!![];function _0x45d465(_0x236ccb,_0x3651ba,_0x36a35e,_0x5ce5aa){return _0x5469ba(_0x5ce5aa,_0x3651ba-0x97,_0x36a35e-_0x76b332._0x448df5,_0x36a35e-_0x76b332._0x1d0836);}const _0x44447b=await this[_0x45d465(0x57a,0x426,_0x4b1cb8._0x1d381f,_0x4b1cb8._0x1db845)]['signal']({'rootPid':_0x1d6a26['pid'],'processGroupId':_0x1d6a26[_0x2f2fe4(0x5b,_0x4b1cb8._0x48c1eb,-_0x4b1cb8._0x24617c,-0x11c)]},'graceful');if(_0x44447b[_0x2f2fe4(_0x4b1cb8._0x230bc4,-_0x4b1cb8._0x2209f2,_0x4b1cb8._0x364ac9,0x133)]===_0x2f2fe4(-0x22f,-0x3b8,-_0x4b1cb8._0x36c680,-_0x4b1cb8._0x35e7ae))return this[_0x2f2fe4(-0x22f,-0x1a5,-_0x4b1cb8._0x3a380c,-0x1af)](_0x1d6a26,_0x44447b[_0x45d465(_0x4b1cb8._0x13f54e,_0x4b1cb8._0x2c8111,_0x4b1cb8._0x551b17,0x620)]);if(await this[_0x45d465(0x3a7,0x52c,_0x4b1cb8._0x3e8d55,0x516)](_0x1d6a26,TERMINATION_WINDOW_MS))return this[_0x45d465(_0x4b1cb8._0x4b82da,_0x4b1cb8._0x5768a8,0x47d,0x5af)](_0x1d6a26);_0x1d6a26[_0x2f2fe4(-0x2ad,-0x1e6,-0x1ab,-0x208)]=!![];function _0x2f2fe4(_0x474f1e,_0x1d9aba,_0x4b78a1,_0x266b07){return _0x4bfe88(_0x474f1e- -0x430,_0x1d9aba-_0x40630b._0x5e596f,_0x4b78a1-_0x40630b._0x379645,_0x266b07);}const _0x8149f9=await this[_0x45d465(_0x4b1cb8._0x499a63,0x481,_0x4b1cb8._0x4fb8ea,_0x4b1cb8._0x4cc6cf)]['signal']({'rootPid':_0x1d6a26[_0x45d465(_0x4b1cb8._0xbafc8b,0x593,_0x4b1cb8._0xeaa841,0x64b)],'processGroupId':_0x1d6a26[_0x2f2fe4(_0x4b1cb8._0x33aff0,-_0x4b1cb8._0x1d2092,_0x4b1cb8._0x170af5,0x9)]},_0x2f2fe4(0x96,_0x4b1cb8._0x26dace,_0x4b1cb8._0x5ef79a,0xaa));if(_0x8149f9[_0x2f2fe4(_0x4b1cb8._0x31192d,_0x4b1cb8._0x2014d1,_0x4b1cb8._0x54cc31,0xad)]===_0x2f2fe4(-_0x4b1cb8._0x4f19d8,-0x324,-_0x4b1cb8._0x29389e,-0x19d))return this['failed'](_0x1d6a26,_0x8149f9[_0x45d465(0x425,0x4c1,0x48d,0x34e)]);if(await this[_0x45d465(_0x4b1cb8._0x11e9a2,_0x4b1cb8._0x5ae419,0x53d,_0x4b1cb8._0x3aa7c4)](_0x1d6a26,TERMINATION_WINDOW_MS))return this[_0x45d465(_0x4b1cb8._0x2ba2ab,_0x4b1cb8._0x1616c3,0x47d,0x5f9)](_0x1d6a26);return this[_0x2f2fe4(-0x22f,-0xce,-_0x4b1cb8._0x555a8b,-_0x4b1cb8._0x30ee43)](_0x1d6a26,_0x2f2fe4(-_0x4b1cb8._0x107251,-0x245,-0x2f6,-_0x4b1cb8._0x1458e5));}[_0x5469ba(0x21c,0xbe,0xa9,0xef)](_0x17625c){const _0x5bc316={_0x1bf0ee:0x593,_0x8780de:0x413,_0x43c790:0x418,_0x8dc98a:0x2e6,_0x303dae:0x452,_0x21da61:0x595,_0x4ee651:0x2fd,_0x2a0ffb:0x4ec,_0x324ac5:0x31f,_0x42e5c2:0x32e,_0xc7d3c5:0x4a8},_0x215f8f={_0x562915:0x60,_0x336e98:0xd0},_0x2ecfb0={_0xff6a96:0x4b};function _0x3a5e2c(_0x21cc63,_0xb4cfe8,_0x3acdce,_0x383bd7){return _0x5469ba(_0x21cc63,_0xb4cfe8-0xcd,_0x3acdce-_0x2ecfb0._0xff6a96,_0x3acdce-0x2f4);}function _0xaa9fd1(_0x3a29e7,_0x173f19,_0x28fa01,_0x5186b7){return _0x5469ba(_0x28fa01,_0x173f19-_0x215f8f._0x562915,_0x28fa01-_0x215f8f._0x336e98,_0x3a29e7-0x314);}return _0x17625c[_0x3a5e2c(0x57b,_0x5bc316._0x1bf0ee,0x4b4,0x5f8)]===_0xaa9fd1(_0x5bc316._0x8780de,0x578,_0x5bc316._0x43c790,_0x5bc316._0x8dc98a)?this[_0xaa9fd1(_0x5bc316._0x303dae,_0x5bc316._0x21da61,_0x5bc316._0x4ee651,_0x5bc316._0x2a0ffb)](_0x17625c,_0x17625c[_0x3a5e2c(0x262,_0x5bc316._0x324ac5,0x3f3,_0x5bc316._0x42e5c2)]??_0xaa9fd1(0x597,0x5b9,0x6ec,0x551)):this['result'](_0x17625c,_0x3a5e2c(0x5e2,_0x5bc316._0xc7d3c5,0x5e5,0x55d));}[_0x4bfe88(0x201,0x31e,0x19d,0x28d)](_0x4e962d,_0x31ae8f){const _0x402149={_0x22da83:0x3a1,_0x539e24:0x205,_0x354c57:0x2d7,_0x4b641:0x339},_0x13d0de={_0x48c3f3:0xc8},_0x5650d2={_0x48e021:0x125,_0x184bf5:0xdd};_0x4e962d['error']=_0x31ae8f;function _0x484e6d(_0x4789b5,_0x2e7b96,_0xcf5ae9,_0x56ef1e){return _0x4bfe88(_0xcf5ae9-0xd6,_0x2e7b96-_0x5650d2._0x48e021,_0xcf5ae9-_0x5650d2._0x184bf5,_0x2e7b96);}function _0x3912df(_0x24f198,_0x31e80c,_0x172c39,_0x3a9863){return _0x5469ba(_0x31e80c,_0x31e80c-0x14d,_0x172c39-_0x13d0de._0x48c3f3,_0x172c39- -0x35a);}return this[_0x484e6d(0x2fa,0x346,_0x402149._0x22da83,0x310)](_0x4e962d,_0x484e6d(_0x402149._0x539e24,0x42a,_0x402149._0x354c57,_0x402149._0x4b641));}[_0x4bfe88(0x2cb,0x185,0x115,0x14a)](_0x7e88d9,_0x5e34b4){const _0x43f056={_0x50e3f:0x264,_0x2550e6:0x53f,_0x168bb2:0x3fd,_0x43005d:0x5e6,_0x1a9ef6:0x78d,_0x2dea5a:0x54e,_0x1a00bb:0x464,_0xd93542:0x362,_0x500ac1:0x1bd,_0x554568:0x3b7,_0x9ca08a:0x7aa,_0x1df884:0x5b5,_0x132a3c:0x347},_0x11eedf={_0x16ade7:0x50,_0xc88747:0x3b};function _0xbf8d18(_0x408184,_0x56c1bd,_0x2a6755,_0x2a835a){return _0x4bfe88(_0x2a6755-0x158,_0x56c1bd-_0x11eedf._0x16ade7,_0x2a6755-_0x11eedf._0xc88747,_0x408184);}function _0x24cd4d(_0x1e41d9,_0x39d4c8,_0x4f0e76,_0x2d8162){return _0x4bfe88(_0x1e41d9-0x136,_0x39d4c8-0xc7,_0x4f0e76-0xe6,_0x2d8162);}return{'shellId':_0x7e88d9[_0x24cd4d(0x3b2,_0x43f056._0x50e3f,0x430,_0x43f056._0x2550e6)],'outcome':_0x5e34b4,'status':_0x7e88d9[_0x24cd4d(0x3b9,0x255,0x2ab,_0x43f056._0x168bb2)],'exitCode':_0x7e88d9[_0x24cd4d(_0x43f056._0x43005d,0x4aa,_0x43f056._0x1a9ef6,0x696)],'signal':_0x7e88d9[_0xbf8d18(0x4e7,_0x43f056._0x2dea5a,_0x43f056._0x1a00bb,_0x43f056._0xd93542)],'error':_0x7e88d9[_0xbf8d18(0x291,_0x43f056._0x500ac1,0x31a,_0x43f056._0x554568)],'gracefulRequested':_0x7e88d9[_0x24cd4d(0x5fa,0x629,_0x43f056._0x9ca08a,_0x43f056._0x1df884)],'forceRequested':_0x7e88d9[_0xbf8d18(0x334,0x302,0x2db,_0x43f056._0x132a3c)]};}[_0x4bfe88(0x272,0x26b,0x365,0x211)](_0x334e55,_0x4cb469){const _0x505cd6={_0x569e92:0x458},_0x4aa172={_0x176e51:0x42e,_0x966153:0x442,_0x2f919a:0x351,_0x13d0b8:0x2c8,_0x2f4417:0xae},_0x28eca3={_0x4e0f44:0xee,_0x14a2dd:0x146,_0x454f9e:0x178},_0x175003={_0x154890:0x137,_0x448d66:0x546,_0x15d40a:0x195},_0x1ac975={_0x6cec5c:0x25b};if(_0x334e55[_0x1e853e(_0x505cd6._0x569e92,0x2a9,0x351,0x405)])return Promise['resolve'](!![]);function _0x1e853e(_0x39e9c3,_0x57773c,_0x291fc1,_0x1800c6){return _0x5469ba(_0x39e9c3,_0x57773c-0x66,_0x291fc1-0xb0,_0x291fc1-_0x1ac975._0x6cec5c);}return new Promise(_0x3cb427=>{function _0x2c702a(_0x595a35,_0x306c6d,_0x55dd32,_0x330215){return _0x1e853e(_0x330215,_0x306c6d-_0x175003._0x154890,_0x55dd32- -_0x175003._0x448d66,_0x330215-_0x175003._0x15d40a);}let _0x2eac8d=![];function _0x4d4783(_0x466c96,_0x2419f7,_0x17ce62,_0x11b949){return _0x1e853e(_0x11b949,_0x2419f7-_0x28eca3._0x4e0f44,_0x466c96- -_0x28eca3._0x14a2dd,_0x11b949-_0x28eca3._0x454f9e);}const _0x496d80=setTimeout(()=>{if(_0x2eac8d)return;_0x2eac8d=!![],_0x3cb427(![]);},_0x4cb469);void _0x334e55[_0x4d4783(_0x4aa172._0x176e51,_0x4aa172._0x966153,_0x4aa172._0x2f919a,_0x4aa172._0x13d0b8)][_0x2c702a(-0x1b1,0x7f,-_0x4aa172._0x2f4417,-0x3d)](()=>{if(_0x2eac8d)return;_0x2eac8d=!![],clearTimeout(_0x496d80),_0x3cb427(!![]);});});}[_0x4bfe88(0x170,0x54,0x123,0x35)](_0x4dd6d0,_0x2a2b35,_0x7c6454,_0x45873a){const _0x7d72df={_0x4839ff:0x1a,_0x4b253f:0x31,_0x3f1265:0x36,_0x4ef3b5:0x19d,_0x382cfd:0x2cc,_0x2d7926:0x230,_0x4a5107:0x327},_0x5a2a65={_0x2621fc:0x150};function _0x5f2f08(_0x49d63f,_0x698a2,_0xed4adf,_0x3bf499){return _0x5469ba(_0x3bf499,_0x698a2-0xab,_0xed4adf-0x12d,_0xed4adf- -0x308);}function _0x5a06a2(_0x2702fb,_0x2c7bea,_0xc2ab8a,_0x5e8b03){return _0x5469ba(_0x2702fb,_0x2c7bea-0x184,_0xc2ab8a-_0x5a2a65._0x2621fc,_0x2c7bea- -0x38a);}const _0x1b77c1=_0x2a2b35[_0x5a06a2(0xa8,-_0x7d72df._0x4839ff,0x194,-0x1a3)](_0x45873a);this[_0x5f2f08(_0x7d72df._0x4b253f,0xa6,0x62,_0x7d72df._0x3f1265)](_0x4dd6d0,_0x4dd6d0[_0x5a06a2(-_0x7d72df._0x4ef3b5,-_0x7d72df._0x382cfd,-_0x7d72df._0x2d7926,-_0x7d72df._0x4a5107)]?_0x7c6454['write'](_0x1b77c1):_0x1b77c1);}[_0x5469ba(0x18,-0x73,0xea,0xeb)](_0x2753df){const _0x7866d5={_0x4bc158:0x42,_0x1b2f3d:0x1bc,_0x457c5a:0x1c4,_0x337d99:0x2b8,_0x3f6752:0x15b},_0x4c1f5d={_0x723b7b:0x90,_0x38707d:0x3c},_0x5dfab7={_0x4b09b5:0x2b2,_0x5661eb:0x1};this[_0x30c0e5(_0x7866d5._0x4bc158,_0x7866d5._0x1b2f3d,0x4,0x15)](_0x2753df);!_0x2753df[_0x966064(_0x7866d5._0x457c5a,0x181,0x272,0x129)]&&(_0x2753df['terminalSettled']=!![],_0x2753df[_0x966064(0x378,0x329,0x3d9,_0x7866d5._0x337d99)]());function _0x30c0e5(_0x3ed2c4,_0x5782e4,_0x247e0c,_0x3ee5d8){return _0x4bfe88(_0x3ed2c4- -_0x5dfab7._0x4b09b5,_0x5782e4-0x1bb,_0x247e0c-_0x5dfab7._0x5661eb,_0x247e0c);}function _0x966064(_0x49706a,_0x24057e,_0x13a49f,_0x19fcd6){return _0x4bfe88(_0x19fcd6- -_0x4c1f5d._0x723b7b,_0x24057e-0x1c9,_0x13a49f-_0x4c1f5d._0x38707d,_0x24057e);}this[_0x966064(0x145,0x269,0x225,_0x7866d5._0x3f6752)]();}['flushStreams'](_0x5bb1fa){const _0x1d8b67={_0x51b53d:0xaa,_0x2de6b9:0x12f,_0x4c2221:0x80,_0x38714b:0x98,_0x1ab40e:0xc5,_0x39f251:0x385,_0x456a24:0x1d6,_0x43c6ad:0x124,_0x29c5fe:0x50,_0x35d5d9:0x158,_0x4bf955:0x2a1,_0x127387:0x306,_0x189ba0:0x35c,_0x56d6f4:0x233,_0x58bb1d:0xe1,_0x18fd35:0x25c,_0x1b60c7:0x454,_0x3c4111:0xb4,_0xb9ea97:0x1af,_0x28d4c6:0x24d,_0x48c471:0x360,_0x481048:0x3f3,_0x1625ff:0xcf,_0x4c25a1:0x14,_0x1db773:0x181},_0x4cdbdb={_0x677fcd:0xed,_0x14bc6f:0x137},_0x1af1c0={_0x1404d8:0x4c};if(_0x5bb1fa[_0x1c3036(0x12f,0x27a,0xa0,_0x1d8b67._0x51b53d)])return;_0x5bb1fa[_0x1c3036(_0x1d8b67._0x2de6b9,_0x1d8b67._0x4c2221,_0x1d8b67._0x38714b,_0x1d8b67._0x1ab40e)]=!![];const _0xb8a90a=_0x5bb1fa[_0x1c3036(0x1ee,_0x1d8b67._0x39f251,0x6a,_0x1d8b67._0x456a24)][_0x1c3036(_0x1d8b67._0x43c6ad,_0x1d8b67._0x29c5fe,_0x1d8b67._0x35d5d9,_0x1d8b67._0x4bf955)](),_0x223387=_0x5bb1fa[_0x196d9d(-_0x1d8b67._0x127387,-_0x1d8b67._0x189ba0,-0x28c,-0x4cd)]['end']();function _0x196d9d(_0x4e1c50,_0x36369d,_0x11c7a6,_0x37d609){return _0x4bfe88(_0x36369d- -0x4e1,_0x36369d-0x17d,_0x11c7a6-_0x1af1c0._0x1404d8,_0x37d609);}this[_0x1c3036(_0x1d8b67._0x56d6f4,_0x1d8b67._0x58bb1d,_0x1d8b67._0x18fd35,0x13e)](_0x5bb1fa,_0x5bb1fa['stripAnsi']?_0x5bb1fa['stdoutNormalizer']['write'](_0xb8a90a)+_0x5bb1fa[_0x196d9d(-_0x1d8b67._0x1b60c7,-0x37c,-0x278,-0x3f2)]['end']():_0xb8a90a);function _0x1c3036(_0x3026df,_0x5c7765,_0x21ebcf,_0xf8b22b){return _0x5469ba(_0x21ebcf,_0x5c7765-0xb7,_0x21ebcf-_0x4cdbdb._0x677fcd,_0x3026df- -_0x4cdbdb._0x14bc6f);}this[_0x196d9d(-0x264,-_0x1d8b67._0x3c4111,-_0x1d8b67._0xb9ea97,-0x2f)](_0x5bb1fa,_0x5bb1fa[_0x196d9d(-_0x1d8b67._0x28d4c6,-_0x1d8b67._0x48c471,-0x4f6,-_0x1d8b67._0x481048)]?_0x5bb1fa[_0x1c3036(_0x1d8b67._0x1625ff,0xe6,-_0x1d8b67._0x4c25a1,0x13e)]['write'](_0x223387)+_0x5bb1fa[_0x1c3036(_0x1d8b67._0x1625ff,_0x1d8b67._0x1db773,0xd0,-0x26)]['end']():_0x223387);}[_0x4bfe88(0x42d,0x48c,0x2cf,0x563)](_0x29fe5b,_0x186603){const _0x403b32={_0x25e82c:0x5e6,_0x3d787b:0x5ed,_0x1360bc:0x5ab,_0x39f551:0xf1,_0x26e641:0x14a,_0x4bcdf3:0x215,_0x1014c2:0x298,_0x20663d:0x7fa,_0xda68d9:0x6cf,_0x3c3213:0x5ad,_0x2c9b2b:0x35,_0x46cf21:0x5e,_0x131724:0x49f,_0x29304c:0x3b2,_0x4beb11:0x471,_0x5e739d:0x3b4,_0x54f5b8:0x1da,_0x5c75f2:0x51b,_0x51dca4:0x69c,_0x444ace:0x4e1,_0x2f65bf:0x27a,_0x2eca10:0x391,_0x2f4832:0x215,_0x1b9ad2:0x5f6,_0x54a228:0xee,_0x2c513f:0xa5,_0x31fbe9:0x803,_0x470e5f:0x2fb,_0x3a5b36:0x279,_0x15057b:0x188,_0x5a92e9:0x3d3},_0x478548={_0x56332e:0x63,_0x4d8091:0x1e8,_0x159253:0x30b},_0x1797ad={_0x192071:0x189};if(_0x186603[_0x3d59d0(_0x403b32._0x25e82c,_0x403b32._0x3d787b,_0x403b32._0x1360bc,0x741)]===0x0)return;function _0x41e700(_0x14b811,_0x11ab47,_0x504880,_0x367872){return _0x4bfe88(_0x11ab47- -_0x1797ad._0x192071,_0x11ab47-0x9e,_0x504880-0x1cd,_0x504880);}_0x29fe5b[_0x41e700(_0x403b32._0x39f551,_0x403b32._0x26e641,-0x43,0x6f)]['push'](_0x186603);function _0x3d59d0(_0x182b48,_0x31a670,_0xd5ef6e,_0x3aade3){return _0x5469ba(_0xd5ef6e,_0x31a670-_0x478548._0x56332e,_0xd5ef6e-_0x478548._0x4d8091,_0x182b48-_0x478548._0x159253);}_0x29fe5b['bufferChars']+=_0x186603[_0x41e700(0x7d,_0x403b32._0x4bcdf3,_0x403b32._0x1014c2,0x76)],_0x29fe5b[_0x3d59d0(0x6b3,_0x403b32._0x20663d,_0x403b32._0xda68d9,0x7b8)]+=_0x186603[_0x3d59d0(0x5e6,_0x403b32._0x3c3213,0x635,0x557)];while(_0x29fe5b[_0x41e700(-0x4,_0x403b32._0x2c9b2b,-_0x403b32._0x46cf21,-0xc3)]>this[_0x3d59d0(_0x403b32._0x131724,_0x403b32._0x29304c,_0x403b32._0x4beb11,_0x403b32._0x5e739d)]){const _0x374c00=_0x29fe5b[_0x41e700(_0x403b32._0x54f5b8,0x35,-0x14d,0x96)]-this['capChars'],_0x2fbab5=_0x29fe5b[_0x3d59d0(_0x403b32._0x5c75f2,0x4c8,0x695,_0x403b32._0x51dca4)][0x0];if(_0x2fbab5===void 0x0)break;_0x2fbab5[_0x3d59d0(0x5e6,_0x403b32._0x444ace,0x5de,0x59d)]<=_0x374c00?(_0x29fe5b[_0x41e700(_0x403b32._0x2f65bf,0x14a,0xa9,0x28f)][_0x3d59d0(0x464,0x3bf,_0x403b32._0x2eca10,0x521)](),_0x29fe5b['bufferChars']-=_0x2fbab5[_0x41e700(0x261,_0x403b32._0x2f4832,0x1bd,0x318)],_0x29fe5b[_0x3d59d0(0x695,0x837,0x7ee,_0x403b32._0x1b9ad2)]+=_0x2fbab5[_0x41e700(0x2a2,0x215,0x128,0x23d)]):(_0x29fe5b[_0x41e700(_0x403b32._0x54a228,0x14a,-0x51,_0x403b32._0x2c513f)][0x0]=_0x2fbab5[_0x3d59d0(0x6bd,0x5da,0x786,_0x403b32._0x31fbe9)](_0x374c00),_0x29fe5b[_0x3d59d0(0x406,_0x403b32._0x470e5f,_0x403b32._0x3a5b36,0x2f5)]-=_0x374c00,_0x29fe5b[_0x41e700(_0x403b32._0x15057b,0x2c4,_0x403b32._0x5a92e9,0x16f)]+=_0x374c00);}}[_0x4bfe88(0x1eb,0x2c7,0x143,0x259)](){const _0x2ea556={_0x53f63d:0x3bb,_0x2cf984:0x512,_0x107178:0x4f3,_0x408912:0x49e,_0x1123f9:0x530,_0xbf00f2:0x3de,_0x133920:0x407,_0x3533dd:0x302,_0x5a2925:0x267,_0x30bd32:0x3a1,_0x663684:0x48b,_0x1ecc1f:0x3b2,_0xe1f9d1:0x1b6,_0x2987a2:0x2c0,_0x58e132:0x306,_0x4f715a:0x3c0,_0x46e5c3:0x244},_0x5a672f={_0x390aa3:0x196,_0x537bba:0xa,_0x511d38:0x8b},_0x18a101={_0x2ad36f:0x203};function _0x1a15f1(_0x3f159e,_0x23b1f0,_0x37ab84,_0x1b64b9){return _0x5469ba(_0x1b64b9,_0x23b1f0-0x10d,_0x37ab84-0xf7,_0x23b1f0-_0x18a101._0x2ad36f);}function _0x30def3(_0xdd1142,_0x3fd0a9,_0x2264ad,_0x22fdc6){return _0x5469ba(_0x3fd0a9,_0x3fd0a9-_0x5a672f._0x390aa3,_0x2264ad-_0x5a672f._0x537bba,_0x22fdc6-_0x5a672f._0x511d38);}while(this[_0x1a15f1(0x2fa,_0x2ea556._0x53f63d,0x418,_0x2ea556._0x2cf984)][_0x30def3(_0x2ea556._0x107178,_0x2ea556._0x408912,_0x2ea556._0x1123f9,0x3a7)]>this[_0x30def3(_0x2ea556._0xbf00f2,_0x2ea556._0x133920,_0x2ea556._0x3533dd,_0x2ea556._0x5a2925)]){const _0x1d7301=[...this['entries']['values']()]['filter'](_0x291619=>_0x291619[_0x1a15f1(0x185,0x2f9,0x40b,0x3d5)]&&isTerminalStatus(_0x291619[_0x30def3(0x1ad,0x362,0x280,0x24b)]))[_0x30def3(_0x2ea556._0x30bd32,0x346,_0x2ea556._0x663684,_0x2ea556._0x1ecc1f)]((_0x4015e7,_0x1d42f0)=>_0x4015e7['startedAt']-_0x1d42f0['startedAt'])[0x0];if(!_0x1d7301)return;this[_0x30def3(0x29b,0x2eb,_0x2ea556._0xe1f9d1,0x243)][_0x30def3(0x231,_0x2ea556._0x2987a2,0x31d,0x3d5)](_0x1d7301[_0x30def3(_0x2ea556._0x58e132,0x362,_0x2ea556._0x4f715a,_0x2ea556._0x46e5c3)]);}}};function createBashOutputTool(_0x3b545c){const _0x3a8987={_0x5267a1:0x1df,_0x46f22f:0x297,_0x4dac83:0x37b,_0x29f0da:0x360,_0x2103af:0x276,_0x592781:0x202,_0x3340cf:0x283,_0x2bec58:0x2ad,_0x9eebc9:0x1cf,_0x91b124:0x2f4,_0xfc3ba7:0x243,_0x2c3a5c:0x5b},_0x4c5d27={_0x56a0a7:0x24b,_0x2eb269:0x2a5,_0x43ec3d:0x220,_0x53aa40:0x191,_0x3e6963:0x1a6,_0xf6799e:0x3ce,_0x3d3b35:0x3d8,_0x4c8319:0x326,_0x4938d7:0x1eb,_0x54b7c8:0x3eb,_0x4d9649:0x227,_0x406939:0xeb,_0x248923:0x17a,_0x22b6e2:0x454,_0x2839da:0x432,_0x2b1d49:0x446,_0x284385:0x3f6,_0xaac215:0x3de,_0x3383f1:0x166,_0x3ca89e:0x24d,_0x27bc09:0x29c},_0x1e4d6f={_0x26864b:0x16e,_0x29e20e:0x5b},_0xc91336={_0x44eee2:0xb7},{registry:_0x293c4c}=_0x3b545c;function _0x6115ed(_0x5360af,_0x375c3b,_0x338a71,_0x5aefc7){return _0x4bfe88(_0x5360af- -0x78,_0x375c3b-0x1b6,_0x338a71-0x109,_0x338a71);}function _0x5c9c0c(_0x267e3b,_0xd06bc,_0x14dc35,_0x425ce2){return _0x4bfe88(_0x425ce2- -_0xc91336._0x44eee2,_0xd06bc-0x28,_0x14dc35-0x127,_0x14dc35);}return defineTool({'name':_0x5c9c0c(_0x3a8987._0x5267a1,0x333,0x38c,_0x3a8987._0x46f22f),'permissionClass':_0x6115ed(_0x3a8987._0x4dac83,0x46f,0x1fd,_0x3a8987._0x29f0da),'description':_0x5c9c0c(0x326,_0x3a8987._0x2103af,_0x3a8987._0x592781,0x37f),'inputSchema':{'type':_0x6115ed(_0x3a8987._0x3340cf,_0x3a8987._0x2bec58,_0x3a8987._0x9eebc9,_0x3a8987._0x91b124),'properties':{'shellId':{'type':_0x6115ed(0x1bb,_0x3a8987._0xfc3ba7,0x161,0x2d5)},'regex':{'type':'string'}},'required':[_0x6115ed(0x204,0x352,0x2b4,_0x3a8987._0x2c3a5c)]},async *'execute'(_0x2cbff5){const _0x3035d9={_0x490c56:0x122,_0x25d1e6:0x1db};function _0x342d29(_0x412f49,_0x4bef9d,_0xe5dc71,_0x3bb37b){return _0x5c9c0c(_0x412f49-_0x1e4d6f._0x26864b,_0x4bef9d-0x1ef,_0x4bef9d,_0x412f49-_0x1e4d6f._0x29e20e);}function _0x159738(_0x205c9c,_0x1fd749,_0x9f38b5,_0x1c2901){return _0x6115ed(_0x205c9c-_0x3035d9._0x490c56,_0x1fd749-_0x3035d9._0x25d1e6,_0x1fd749,_0x1c2901-0x38);}const _0x2a040d=_0x293c4c[_0x342d29(_0x4c5d27._0x56a0a7,0x145,_0x4c5d27._0x2eb269,0xcc)](_0x2cbff5[_0x342d29(_0x4c5d27._0x43ec3d,_0x4c5d27._0x53aa40,0xc4,0x2ad)],_0x2cbff5[_0x342d29(0x251,0x2a1,0xbf,0x305)]?{'regex':_0x2cbff5[_0x342d29(0x251,0x263,_0x4c5d27._0x3e6963,_0x4c5d27._0xf6799e)]}:void 0x0);return createToolOutput(_0x2a040d[_0x342d29(0x31b,0x1ce,0x264,_0x4c5d27._0x3d3b35)],{'shellId':_0x2cbff5[_0x159738(_0x4c5d27._0x4c8319,0x16f,_0x4c5d27._0x4938d7,_0x4c5d27._0x54b7c8)],'status':_0x2a040d[_0x342d29(_0x4c5d27._0x4d9649,_0x4c5d27._0x406939,0x96,_0x4c5d27._0x248923)],'exitCode':_0x2a040d[_0x342d29(_0x4c5d27._0x22b6e2,_0x4c5d27._0x2839da,0x394,_0x4c5d27._0x2b1d49)],'signal':_0x2a040d[_0x342d29(0x2b0,_0x4c5d27._0x284385,_0x4c5d27._0xaac215,_0x4c5d27._0x3383f1)],'error':_0x2a040d['error'],'truncated':_0x2a040d[_0x342d29(_0x4c5d27._0x3ca89e,0x1cc,_0x4c5d27._0x27bc09,0x3b1)]});}});}import{spawn as _0x3a3bbd}from'child_process';import{realpathSync,statSync}from'fs';import*as _0xecf70c from'os';import*as _0x22b56d from'path';import{StringDecoder as _0x33fca3}from'string_decoder';import{spawn as _0xb592ab}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x5ab154){return _0x5ab154 instanceof Error;}function resolveCarriageReturns(_0x40dd2e){const _0x51c5f2={_0x60802a:0x180,_0x21201a:0x2b7,_0x535ac7:0x1fc,_0x159786:0x45e,_0x10f315:0x5ec,_0x15bbd1:0x46,_0x50b150:0xf3,_0x55d76e:0xc},_0x4de49f={_0x3749b5:0x56,_0x4f54b9:0x11f,_0x11d6b2:0xac,_0x242902:0x20a,_0x2634f6:0x293,_0xacc03b:0x11e,_0x53c979:0x218},_0x34df48={_0x4e52bc:0x188},_0x7d9b0f={_0x2ed4cb:0x14,_0x6f8c6c:0x3eb};function _0x231677(_0xb729f2,_0x31decd,_0x1fd03c,_0xfd232b){return _0x5469ba(_0x31decd,_0x31decd-0xb9,_0x1fd03c-0xe1,_0xb729f2-0x2fa);}function _0x56218d(_0x33ed61,_0x43b6c6,_0x5bd21f,_0x1fa74a){return _0x5469ba(_0x33ed61,_0x43b6c6-0x151,_0x5bd21f-_0x7d9b0f._0x2ed4cb,_0x1fa74a- -_0x7d9b0f._0x6f8c6c);}return _0x40dd2e[_0x56218d(-_0x51c5f2._0x60802a,-_0x51c5f2._0x21201a,-0x120,-_0x51c5f2._0x535ac7)]('\x0a')[_0x231677(_0x51c5f2._0x159786,_0x51c5f2._0x10f315,0x57e,0x475)](_0x37dbad=>{const _0x1ee08c={_0xa76c38:0x6f3,_0x4fdb53:0x8b};if(!_0x37dbad[_0x17c919(-0x48,_0x4de49f._0x3749b5,-_0x4de49f._0x4f54b9,-_0x4de49f._0x11d6b2)]('\x0d'))return _0x37dbad;const _0x547ecf=_0x37dbad[_0x17c919(-0x1fe,-0x21e,-_0x4de49f._0x242902,-0x64)]('\x0d');function _0x17c919(_0x1546c3,_0x32020b,_0x51e00b,_0x329b3f){return _0x231677(_0x51e00b- -_0x1ee08c._0xa76c38,_0x1546c3,_0x51e00b-0x107,_0x329b3f-_0x1ee08c._0x4fdb53);}function _0x384a22(_0x4f49e1,_0x5d758e,_0x378e59,_0x355fd5){return _0x56218d(_0x355fd5,_0x5d758e-_0x34df48._0x4e52bc,_0x378e59-0x143,_0x5d758e-0x6e0);}return _0x547ecf[_0x547ecf[_0x17c919(-0x15a,-_0x4de49f._0x2634f6,-_0x4de49f._0xacc03b,-_0x4de49f._0x53c979)]-0x1]??'';})[_0x56218d(0x17a,-_0x51c5f2._0x15bbd1,-_0x51c5f2._0x50b150,_0x51c5f2._0x55d76e)]('\x0a');}function resolveBackspaces(_0x3ec561){const _0x43cad8={_0x289024:0x399,_0xc26858:0x2a9,_0x2dd8d3:0x4d1,_0x177c3f:0x304,_0x37bbe:0xb8,_0x588e5d:0x12b,_0x13bcbf:0x238,_0x481852:0x3a0,_0x3f5a6a:0x29f,_0x39755f:0x5d8,_0x3b33f8:0x52d},_0x2f6225={_0x2fd79c:0xf1},_0x2be687={_0x1be013:0x1ea};function _0x243326(_0x30039b,_0xe6639d,_0x10b5e1,_0x186c7c){return _0x5469ba(_0x30039b,_0xe6639d-_0x2be687._0x1be013,_0x10b5e1-0x1c0,_0x186c7c-0x136);}const _0x15d897=[];for(const _0xc1aa16 of Array[_0xec11b3(0x481,_0x43cad8._0x289024,_0x43cad8._0xc26858,_0x43cad8._0x2dd8d3)](_0x3ec561)){_0xc1aa16==='\x08'?_0x15d897[_0x243326(_0x43cad8._0x177c3f,_0x43cad8._0x37bbe,_0x43cad8._0x588e5d,_0x43cad8._0x13bcbf)]():_0x15d897[_0x243326(0x260,_0x43cad8._0x481852,0x151,_0x43cad8._0x3f5a6a)](_0xc1aa16);}function _0xec11b3(_0x2ccfef,_0x258eac,_0x50d12f,_0x518295){return _0x4bfe88(_0x258eac-0x12c,_0x258eac-0xb9,_0x50d12f-_0x2f6225._0x2fd79c,_0x2ccfef);}return _0x15d897[_0x243326(0x510,_0x43cad8._0x39755f,0x39e,_0x43cad8._0x3b33f8)]('');}function stripAnsiAndControls(_0x15a010){const _0x493728={_0x5e2733:0xc2,_0x318570:0x9a,_0x3322be:0x6f,_0x438f9a:0x11,_0x37b88b:0x5,_0x434755:0xb3,_0x1577f1:0x132,_0x5b1124:0x4f,_0x9a27b7:0x11,_0x305186:0x105,_0x49a995:0xb0,_0x32f7ce:0xb4,_0x4c2701:0x1c4,_0x3b8b11:0x1cc,_0x59f3bf:0x18d,_0x766690:0x160,_0x434423:0x28,_0x17c05f:0x179,_0x1ec61c:0x10e,_0x376bc1:0x10c},_0x3398eb={_0x1f1f87:0x22},_0x453aa5={_0x41c44d:0x1,_0x3406da:0x31e};_0x15a010=resolveCarriageReturns(_0x15a010);function _0x468363(_0x3e04a5,_0x54e7c9,_0x314fed,_0x487f53){return _0x5469ba(_0x3e04a5,_0x54e7c9-0x1a5,_0x314fed-_0x453aa5._0x41c44d,_0x487f53- -_0x453aa5._0x3406da);}_0x15a010=resolveBackspaces(_0x15a010),_0x15a010=stripVTControlCharacters(_0x15a010);function _0x43004c(_0x47657a,_0x4dd574,_0x406022,_0x50fdaf){return _0x4bfe88(_0x4dd574- -0x3ef,_0x4dd574-_0x3398eb._0x1f1f87,_0x406022-0x15c,_0x50fdaf);}const _0x38039d='\x1b',_0x5525ba='\x07';return _0x15a010=_0x15a010[_0x468363(0x18e,0x16b,0xeb,0x1f)](new RegExp(_0x43004c(_0x493728._0x5e2733,-_0x493728._0x318570,_0x493728._0x3322be,-0x222)+_0x5525ba+'\x5cn]*?'+_0x5525ba,'g'),''),_0x15a010=_0x15a010[_0x43004c(0x1a,_0x493728._0x438f9a,_0x493728._0x37b88b,-_0x493728._0x434755)](new RegExp(_0x43004c(0x0,-_0x493728._0x1577f1,-0x271,-_0x493728._0x5b1124)+_0x38039d+'\x5c\x5c','g'),''),_0x15a010=_0x15a010[_0x43004c(-0x125,_0x493728._0x9a27b7,-0x12c,_0x493728._0x305186)](new RegExp(_0x5525ba,'g'),''),_0x15a010=_0x15a010[_0x468363(_0x493728._0x49a995,_0x493728._0x32f7ce,_0x493728._0x4c2701,0x1f)](new RegExp(_0x38039d+_0x468363(-0x28d,-0x121,-0x3c,-_0x493728._0x3b8b11)+_0x38039d+'\x5c\x5c','g'),''),_0x15a010=_0x15a010[_0x468363(-_0x493728._0x59f3bf,-0x112,-_0x493728._0x766690,0x1f)](new RegExp(_0x38039d+_0x43004c(_0x493728._0x434423,-_0x493728._0x17c05f,-0x11c,-0x10),'g'),''),_0x15a010=_0x15a010[_0x43004c(-0x35,0x11,-_0x493728._0x1ec61c,_0x493728._0x376bc1)](/[\u0080-\u009F]/g,''),_0x15a010=_0x15a010['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x15a010=_0x15a010['replace'](/[\u23CE\u2424]/g,''),_0x15a010;}function killProcessGroup(_0x2d4c82,_0x3e35e8,_0x2e4f08=_0x4bfe88(0x364,0x2c0,0x479,0x359)){const _0x36087e={_0x40fb04:0x5f7,_0x2026f1:0x6a2,_0x3fcaa8:0xa4,_0x335e26:0x23a,_0x19b3bd:0x14e,_0xd9715b:0xf3,_0x4d137c:0x8e,_0x17188f:0x71,_0x50f20f:0x18a},_0x3f6a95={_0xeb4ed2:0x2fc},_0x58dc62={_0x5abd96:0x113,_0x5795e3:0xfa};if(!_0x2d4c82['pid'])return;if(_0x3e35e8)try{_0xb592ab(_0x4cd963(0x628,0x645,_0x36087e._0x40fb04,_0x36087e._0x2026f1),[_0x3949c6(-_0x36087e._0x3fcaa8,-_0x36087e._0x335e26,-_0x36087e._0x19b3bd,_0x36087e._0xd9715b),_0x2d4c82['pid']['toString'](),'/T','/F'],{'stdio':_0x3949c6(-_0x36087e._0x4d137c,_0x36087e._0x17188f,-0x12f,-_0x36087e._0x50f20f)});return;}catch{_0x2d4c82['kill'](_0x2e4f08);return;}function _0x4cd963(_0x5b53bb,_0x525f7a,_0x34bb91,_0x3bcfca){return _0x4bfe88(_0x5b53bb-0x20a,_0x525f7a-_0x58dc62._0x5abd96,_0x34bb91-_0x58dc62._0x5795e3,_0x34bb91);}function _0x3949c6(_0x434d4f,_0x17eb77,_0x4e47e0,_0x592296){return _0x5469ba(_0x4e47e0,_0x17eb77-0x1c4,_0x4e47e0-0x1cb,_0x434d4f- -_0x3f6a95._0xeb4ed2);}try{process['kill'](-_0x2d4c82[_0x3949c6(0x53,0x173,0x18b,0x177)],_0x2e4f08);}catch{_0x2d4c82['kill'](_0x2e4f08);}}import{stat}from'fs/promises';import*as _0x55be9f from'path';function isPathInside(_0x331c7f,_0x178f77){const _0x32afc7={_0x41bec4:0x2ea,_0x9f5c4:0x444,_0xb19b5f:0x3e8,_0x424bcf:0xc0,_0x1a7474:0x13f,_0x1d9a2d:0x76,_0x3050d3:0x20f},_0x879270={_0x2cea80:0x172,_0x523a7e:0x1d7},_0x4fb2de={_0x516a36:0x70};function _0x369f7f(_0x265c46,_0x2ae315,_0x359032,_0x21da43){return _0x4bfe88(_0x2ae315- -0x26e,_0x2ae315-_0x4fb2de._0x516a36,_0x359032-0x6e,_0x265c46);}const _0x5de214=_0x55be9f[_0x5ac6ca(_0x32afc7._0x41bec4,0x309,_0x32afc7._0x9f5c4,_0x32afc7._0xb19b5f)](_0x331c7f);function _0x5ac6ca(_0x24a3e7,_0x3ad3ae,_0x4533ce,_0x2a3d39){return _0x5469ba(_0x3ad3ae,_0x3ad3ae-_0x879270._0x2cea80,_0x4533ce-_0x879270._0x523a7e,_0x2a3d39-0xc9);}const _0x1b2fa8=_0x55be9f[_0x369f7f(0x3c2,0x23f,0x326,_0x32afc7._0x424bcf)](_0x5de214,_0x178f77);return _0x1b2fa8===''||!_0x1b2fa8[_0x369f7f(_0x32afc7._0x1a7474,_0x32afc7._0x1d9a2d,_0x32afc7._0x3050d3,-0xba)]('..')&&!_0x55be9f['isAbsolute'](_0x1b2fa8);}function resolveWorkspacePath(_0x6f9869,_0x251911){return resolveAllowedPath(_0x6f9869,[],_0x251911);}function resolveAllowedPath(_0x1cf5bd,_0x343ec1,_0x3c5e03){const _0x459a5a={_0x22ac24:0x50f,_0x132c41:0x549,_0x14177c:0x67f,_0x225206:0x74b,_0xce1c7f:0x5ab,_0x268516:0x4c4,_0x2fa136:0x632,_0x2263a4:0x47b,_0x441a1f:0x363},_0x471715={_0xc597dd:0x94},_0x50b903={_0x4e1761:0x195,_0x2e8676:0x174};function _0x11942d(_0x28adf5,_0x5c3392,_0x1c39b0,_0x326be9){return _0x4bfe88(_0x5c3392-_0x50b903._0x4e1761,_0x5c3392-_0x50b903._0x2e8676,_0x1c39b0-0xf3,_0x28adf5);}const _0x180a43=_0x55be9f[_0x312096(_0x459a5a._0x22ac24,_0x459a5a._0x132c41,_0x459a5a._0x14177c,_0x459a5a._0x225206)](_0x1cf5bd),_0x338962=_0x55be9f['resolve'](_0x180a43,_0x3c5e03);function _0x312096(_0x321acb,_0x268a71,_0x191370,_0x5cfdf1){return _0x4bfe88(_0x191370-0x29d,_0x268a71-_0x471715._0xc597dd,_0x191370-0x3a,_0x268a71);}const _0x21c43c=[_0x180a43,..._0x343ec1[_0x312096(0x5d4,_0x459a5a._0xce1c7f,_0x459a5a._0x268516,_0x459a5a._0x2fa136)](_0x4ef9c7=>_0x55be9f[_0x11942d(0x64c,0x577,0x546,0x582)](_0x4ef9c7))];if(_0x21c43c['some'](_0x3e38d4=>isPathInside(_0x3e38d4,_0x338962)))return _0x338962;throw new ToolExecutionError(_0x11942d(0x46a,_0x459a5a._0x2263a4,0x407,_0x459a5a._0x441a1f)+_0x3c5e03,{'path':_0x3c5e03,'rootDir':_0x180a43,'allowedDirs':_0x21c43c});}async function assertWorkspaceFile(_0x2669ba){const _0x4ee20b={_0xd42ba5:0x61d,_0x795167:0x55a},_0x31b503={_0x1e0184:0x14e,_0x5e4f9d:0xa5,_0x397abc:0x186},_0x241b13={_0x1d6902:0x2d},_0x46dff7=await stat(_0x2669ba);function _0x35e853(_0x1cb44e,_0x61e979,_0x15a575,_0x26797f){return _0x4bfe88(_0x15a575-0x268,_0x61e979-0x134,_0x15a575-_0x241b13._0x1d6902,_0x61e979);}function _0x4de439(_0x4485e6,_0x21c4b9,_0x1992cd,_0x26f955){return _0x4bfe88(_0x4485e6-_0x31b503._0x1e0184,_0x21c4b9-_0x31b503._0x5e4f9d,_0x1992cd-_0x31b503._0x397abc,_0x1992cd);}if(!_0x46dff7[_0x35e853(_0x4ee20b._0xd42ba5,0x85f,0x6b9,0x52a)]())throw new ToolExecutionError(_0x35e853(0x5ed,0x55b,0x4e5,_0x4ee20b._0x795167)+_0x2669ba,{'path':_0x2669ba});}function isProbablyBinary(_0xedbd6f){return _0xedbd6f['includes'](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x5469ba(0x306,0x3dd,0x472,0x40d)+DEFAULT_TIMEOUT_MS+_0x5469ba(0x463,0x44a,0x488,0x2e3);function buildChildEnv(_0x53734c,_0x1c88de,_0x44dcc9){const _0x3b31d7={_0xa77101:0x659,_0xe3228e:0x3bf,_0x339300:0x2bb,_0x40600d:0x1a2,_0x704b6d:0x30c,_0x18ba16:0x68d,_0x1ee7af:0x3df,_0x18c325:0x366,_0x106b0a:0x50f,_0x111c23:0x692,_0x297dce:0x4e4,_0x4fa73e:0x5f8},_0x1e82b7={_0x1ed697:0xfd,_0x17101c:0x346},_0x336e01={_0x5bfb32:0xb1,_0x543dcc:0x30},_0x3d4ebf={...process[_0x4c0bd2(0x630,_0x3b31d7._0xa77101,0x643,0x563)],..._0x53734c??{}};function _0xd8808e(_0x5cf31e,_0x31c4fc,_0x34a9e3,_0x31a48e){return _0x4bfe88(_0x31a48e- -_0x336e01._0x5bfb32,_0x31c4fc-0x1b9,_0x34a9e3-_0x336e01._0x543dcc,_0x5cf31e);}function _0x4c0bd2(_0x4a0d2c,_0x63339b,_0x3a6669,_0x42134a){return _0x5469ba(_0x4a0d2c,_0x63339b-0x42,_0x3a6669-_0x1e82b7._0x1ed697,_0x42134a-_0x1e82b7._0x17101c);}if(_0xecf70c[_0xd8808e(_0x3b31d7._0xe3228e,_0x3b31d7._0x339300,_0x3b31d7._0x40600d,0x287)]()===_0xd8808e(0x3ba,0x1bb,0x388,_0x3b31d7._0x704b6d)){const _0x16d022=new Set(_0x1c88de[_0x4c0bd2(0x386,0x600,0x59f,0x4aa)](_0x17eb59=>_0x17eb59[_0xd8808e(0x377,0x409,0x225,0x2d7)]()));for(const _0x322d84 of Object[_0x4c0bd2(0x67b,0x697,0x628,_0x3b31d7._0x18ba16)](_0x3d4ebf)){if(_0x16d022['has'](_0x322d84[_0xd8808e(0x126,_0x3b31d7._0x1ee7af,_0x3b31d7._0x18c325,0x2d7)]()))delete _0x3d4ebf[_0x322d84];}}else{for(const _0x36c13d of _0x1c88de)delete _0x3d4ebf[_0x36c13d];if(_0x44dcc9['length']>0x0)for(const _0x3078cd of Object[_0x4c0bd2(_0x3b31d7._0x106b0a,0x6a2,_0x3b31d7._0x111c23,0x68d)](_0x3d4ebf)){_0x44dcc9[_0x4c0bd2(0x5f7,_0x3b31d7._0x297dce,0x594,_0x3b31d7._0x4fa73e)](_0x4c4bbe=>_0x3078cd['startsWith'](_0x4c4bbe))&&delete _0x3d4ebf[_0x3078cd];}}return _0x3d4ebf;}function mapSpawnError(_0x587207,_0x285cf4){const _0x418fd9={_0x470e76:0x65f,_0x137935:0x6fd,_0x4bac5a:0x6e7,_0x55cf5f:0x18a,_0x45de6a:0x23a,_0x588103:0x253,_0x4242d2:0x39c,_0x5730e7:0x25a,_0x455d5d:0x306},_0x5567b2={_0x5b8b6a:0x13f},_0x4dbf0e={_0x7e99a8:0x89,_0x196117:0x1d1};function _0x1c8cf4(_0x550860,_0x30e50d,_0x5a1d76,_0x19b1aa){return _0x5469ba(_0x19b1aa,_0x30e50d-_0x4dbf0e._0x7e99a8,_0x5a1d76-_0x4dbf0e._0x196117,_0x30e50d-0x32e);}function _0x575f39(_0x451a8b,_0x59bc2b,_0x5450f4,_0x35f6ff){return _0x5469ba(_0x59bc2b,_0x59bc2b-0xc,_0x5450f4-_0x5567b2._0x5b8b6a,_0x35f6ff- -0x3cc);}if(isErrnoException(_0x587207)&&_0x587207[_0x1c8cf4(0x777,_0x418fd9._0x470e76,_0x418fd9._0x137935,_0x418fd9._0x4bac5a)]===_0x575f39(-0x225,-_0x418fd9._0x55cf5f,-_0x418fd9._0x45de6a,-0x231))return new ToolExecutionError(_0x575f39(-_0x418fd9._0x588103,-0x3f8,-_0x418fd9._0x4242d2,-0x26f)+_0x285cf4[_0x575f39(-_0x418fd9._0x5730e7,-_0x418fd9._0x455d5d,-0x3f1,-0x239)],_0x285cf4);return new ToolExecutionError(_0x587207 instanceof Error?_0x587207['message']:String(_0x587207),_0x285cf4);}function shellExists(_0x40684a){const _0x5b16cc={_0x8784a7:0x612,_0xe85fd9:0x36a,_0x1591f6:0x462},_0x2ef19d={_0x3e3e66:0xee,_0x476c98:0x310};function _0x2ffa33(_0x48ac9f,_0x56b548,_0x466dcd,_0x267f05){return _0x5469ba(_0x48ac9f,_0x56b548-0x196,_0x466dcd-_0x2ef19d._0x3e3e66,_0x466dcd-_0x2ef19d._0x476c98);}try{const _0xc30e30=statSync(_0x40684a);return _0xc30e30['isFile']()&&(_0xc30e30[_0x2ffa33(_0x5b16cc._0x8784a7,_0x5b16cc._0xe85fd9,0x4ce,_0x5b16cc._0x1591f6)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x5e0b56){const _0x29e780={_0x1e7a87:0x3d,_0x259e36:0x8,_0x5a642e:0x2b2,_0x24700d:0x148,_0x8abd5b:0xb2,_0x3751f5:0x44,_0x32ffb7:0x53,_0x4e9612:0x226,_0x5b6b2a:0x205,_0x3ca647:0x223,_0x2058a6:0x7c,_0xc5745b:0x98,_0x33be91:0x2f0,_0x1ca571:0x3ad,_0x1ad0b2:0x14d,_0x46fc53:0x169,_0x40a920:0xd},_0x17dd90={_0x12e548:0x4a},_0xd78caa={_0x294754:0xe2,_0x153092:0x1d6};if(_0x5e0b56)return _0x5e0b56;if(_0xecf70c[_0x3e3765(_0x29e780._0x1e7a87,-_0x29e780._0x259e36,0x7f,0x1be)]()===_0x2d7659(0x228,0x22c,0x33e,0x204))return process['env']['ComSpec']||_0x3e3765(-0x15e,-0x2b0,-0x119,-_0x29e780._0x5a642e);const _0x44e372=[_0x3e3765(_0x29e780._0x24700d,_0x29e780._0x8abd5b,0x148,_0x29e780._0x3751f5),'/bin/sh',_0x2d7659(_0x29e780._0x32ffb7,_0x29e780._0x4e9612,_0x29e780._0x5b6b2a,_0x29e780._0x3ca647),_0x3e3765(_0x29e780._0x2058a6,0x13e,0x1dd,_0x29e780._0xc5745b)];function _0x2d7659(_0x4af15d,_0x1b2f89,_0x36d5d8,_0x1b4fe8){return _0x5469ba(_0x4af15d,_0x1b2f89-_0xd78caa._0x294754,_0x36d5d8-_0xd78caa._0x153092,_0x36d5d8-0x44);}for(const _0x2844c0 of _0x44e372){if(shellExists(_0x2844c0))return _0x2844c0;}function _0x3e3765(_0x420e89,_0x33b85b,_0x1271e1,_0x288344){return _0x4bfe88(_0x1271e1- -0x2b9,_0x33b85b-0x35,_0x1271e1-_0x17dd90._0x12e548,_0x33b85b);}const _0x12bec9=process[_0x2d7659(0x11c,0x14e,0x261,_0x29e780._0x33be91)][_0x2d7659(0x122,_0x29e780._0x1ca571,0x231,0x377)];if(_0x12bec9&&shellExists(_0x12bec9))return _0x12bec9;return _0x3e3765(_0x29e780._0x1ad0b2,_0x29e780._0x46fc53,0x148,_0x29e780._0x40a920);}function buildShellArgs(_0x28306e,_0x7ba084){const _0x436c33={_0x5f1db2:0x4bb,_0x3b59cd:0x540,_0x4cfe69:0x429,_0x237a37:0x57f,_0x334116:0x1f,_0x1b9dd2:0x110,_0x59e618:0x27,_0x22e962:0x38c,_0x23d3fe:0x448,_0x3f1f08:0x513,_0x36eb02:0x14d,_0x459f35:0x39,_0x3da6c4:0x1c9,_0x4d5c7b:0x159},_0x216929={_0x2090e7:0x2ee,_0x40c2fb:0x57,_0x41b37e:0x4};function _0x2505c1(_0x4b61a5,_0x1c2fc4,_0x3844dd,_0xdb219f){return _0x4bfe88(_0x4b61a5-0x183,_0x1c2fc4-0x1a3,_0x3844dd-0x59,_0x3844dd);}if(_0xecf70c[_0x2505c1(_0x436c33._0x5f1db2,0x3c2,0x488,0x439)]()===_0x2505c1(_0x436c33._0x3b59cd,_0x436c33._0x4cfe69,_0x436c33._0x237a37,0x565)){const _0x548b5d=/cmd(\.exe)?$/i[_0x1eff90(_0x436c33._0x334116,0x1ab,_0x436c33._0x1b9dd2,-_0x436c33._0x59e618)](_0x7ba084);return _0x548b5d?['/d','/s','/c',_0x28306e]:[_0x2505c1(_0x436c33._0x22e962,0x2f7,_0x436c33._0x23d3fe,_0x436c33._0x3f1f08),_0x1eff90(_0x436c33._0x36eb02,-_0x436c33._0x459f35,_0x436c33._0x3da6c4,_0x436c33._0x4d5c7b),'-Command',_0x28306e];}function _0x1eff90(_0xb42cc8,_0x93d31c,_0x2b27fa,_0x31fda3){return _0x4bfe88(_0xb42cc8- -_0x216929._0x2090e7,_0x93d31c-_0x216929._0x40c2fb,_0x2b27fa-_0x216929._0x41b37e,_0x93d31c);}return['-c',_0x28306e];}function resolveWorkingDirectory(_0x95bbc7,_0x4872b3,_0x4875ad){const _0x13f052={_0x3cdc6d:0x1f7,_0x370c8d:0xeb,_0x9c4e3e:0xd5,_0x4820db:0x3d,_0x107d7a:0x25d,_0x1c6243:0x214,_0x48f24c:0x24b},_0x55b961={_0x5f14ac:0x1b2,_0x24817c:0x38e},_0x2f4cc7={_0x49c632:0x1},_0x29cf31={_0x26a17d:0x1ef,_0x116dde:0xd2},_0x2893b9={_0x57ee37:0x92},_0x5ea77f=resolveAllowedPath(_0x4872b3,_0x4875ad,_0x95bbc7??'.');function _0x3f87bf(_0x429ead,_0xbd7e81,_0x5b0d2e,_0x16683f){return _0x5469ba(_0x5b0d2e,_0xbd7e81-_0x2893b9._0x57ee37,_0x5b0d2e-0x8f,_0xbd7e81- -0x16f);}function _0x334807(_0x52d9d5,_0x1c4380,_0x4ef326,_0x2652e5){return _0x4bfe88(_0x52d9d5- -0x192,_0x1c4380-_0x29cf31._0x26a17d,_0x4ef326-_0x29cf31._0x116dde,_0x2652e5);}try{const _0x5dbab1=statSync(_0x5ea77f);if(!_0x5dbab1[_0x3f87bf(0x15d,0x26c,_0x13f052._0x3cdc6d,_0x13f052._0x370c8d)]())throw new ToolExecutionError('Working\x20directory\x20is\x20not\x20a\x20directory:\x20'+_0x5ea77f,{'cwd':_0x5ea77f});const _0x592588=realpathSync(_0x5ea77f),_0x54ee77=realpathSync(_0x4872b3),_0x50e56a=_0x4875ad[_0x3f87bf(0x185,-0xb,_0x13f052._0x9c4e3e,-_0x13f052._0x4820db)](_0x2b827f=>{function _0x14a51e(_0x2fb0ee,_0x4837fd,_0x75d9bd,_0x459c6a){return _0x334807(_0x75d9bd-_0x2f4cc7._0x49c632,_0x4837fd-0x14e,_0x75d9bd-0x10f,_0x2fb0ee);}try{return realpathSync(_0x22b56d[_0x14a51e(0x28f,_0x55b961._0x5f14ac,0x251,_0x55b961._0x24817c)](_0x2b827f));}catch{return _0x22b56d['resolve'](_0x2b827f);}});return resolveAllowedPath(_0x54ee77,_0x50e56a,_0x592588);}catch(_0x3e2a6e){if(_0x3e2a6e instanceof ToolExecutionError)throw _0x3e2a6e;throw new ToolExecutionError(_0x3f87bf(0x209,_0x13f052._0x107d7a,_0x13f052._0x1c6243,_0x13f052._0x48f24c)+_0x5ea77f,{'cwd':_0x5ea77f});}}function resolveBashExecutionTarget(_0x2172f9,_0x2ff949={}){const _0x33c1bf={_0x338064:0x40c,_0x10c17e:0x2d1,_0x1df1e1:0x1c3,_0x16e300:0x576,_0xfabbfc:0x52d,_0x5d5d2a:0x364,_0x486e1e:0x4b2,_0x4b66c6:0x481,_0x3f853f:0x414,_0x5da45e:0x342,_0xc0aa40:0x332},_0x5c5756={_0xc27437:0x1be,_0x5261bc:0x146,_0x425930:0x4e};function _0x1df6ad(_0x443e98,_0x4cb6e5,_0x1df4c5,_0x4adf99){return _0x4bfe88(_0x4adf99-_0x5c5756._0xc27437,_0x4cb6e5-_0x5c5756._0x5261bc,_0x1df4c5-_0x5c5756._0x425930,_0x443e98);}const _0x4a898b=_0x22b56d[_0x913bd(0x429,_0x33c1bf._0x338064,0x2a2,0x4ba)](_0x2ff949[_0x913bd(0x3fa,0x2b7,_0x33c1bf._0x10c17e,_0x33c1bf._0x1df1e1)]??process[_0x913bd(_0x33c1bf._0x16e300,0x3be,_0x33c1bf._0xfabbfc,_0x33c1bf._0x5d5d2a)]());function _0x913bd(_0x4c1af4,_0x3e873d,_0x14d8a1,_0xbadf27){return _0x4bfe88(_0x3e873d-0x2a,_0x3e873d-0x15b,_0x14d8a1-0x5a,_0xbadf27);}const _0x2b1f8b=resolveDefaultShell(_0x2ff949[_0x1df6ad(_0x33c1bf._0x486e1e,_0x33c1bf._0x4b66c6,0x450,_0x33c1bf._0x3f853f)]);return{'command':_0x2172f9['command'],'cwd':resolveWorkingDirectory(_0x2172f9['cwd'],_0x4a898b,_0x2ff949[_0x1df6ad(0x58b,_0x33c1bf._0x5da45e,0x350,0x4a8)]??[]),'shellPath':_0x2b1f8b,'dialect':resolveShellDialect(_0x2b1f8b),'background':_0x2172f9[_0x913bd(_0x33c1bf._0xc0aa40,0x25a,0x31e,0x39e)]??![]};}function resolveShellDialect(_0x12a5da){const _0x2c54db={_0x32c8fd:0x4b,_0x15e6a1:0xf6,_0x542625:0x332,_0x453dc0:0x28b,_0x3d142f:0x2a0,_0x21f832:0xaa,_0x4edc16:0xe8,_0x224cc9:0x81c,_0x4d6bda:0x7ca,_0x226d73:0x673,_0x1e6f7e:0x4ef,_0x110d90:0x4de,_0x539ee2:0x60a,_0x34be10:0x616},_0x15aef4={_0x2e83b0:0x2b8,_0x2a724a:0x12a},_0xff355b={_0x366414:0x470,_0x28ce57:0xf9};function _0x779639(_0x24ec13,_0x2188bb,_0x5dcd5,_0x4ba64c){return _0x4bfe88(_0x2188bb- -_0xff355b._0x366414,_0x2188bb-0x97,_0x5dcd5-_0xff355b._0x28ce57,_0x5dcd5);}if(_0xecf70c['platform']()===_0x779639(-0x1d6,-0xb3,_0x2c54db._0x32c8fd,_0x2c54db._0x15e6a1))return _0x779639(-_0x2c54db._0x542625,-0x2d4,-_0x2c54db._0x453dc0,-0x1ad);const _0x2f6057=_0x22b56d[_0x779639(-0x3fc,-_0x2c54db._0x3d142f,-0x32f,-0x352)](_0x12a5da)[_0x779639(-_0x2c54db._0x21f832,-_0x2c54db._0x4edc16,-0xd3,-0xf7)]();if(_0x2f6057===_0x3f5b50(0x673,0x61a,_0x2c54db._0x224cc9,_0x2c54db._0x4d6bda))return _0x3f5b50(_0x2c54db._0x226d73,_0x2c54db._0x1e6f7e,_0x2c54db._0x110d90,_0x2c54db._0x539ee2);function _0x3f5b50(_0x9def58,_0x1abbca,_0x1d517d,_0x4ad86d){return _0x4bfe88(_0x9def58-_0x15aef4._0x2e83b0,_0x1abbca-0x1c6,_0x1d517d-_0x15aef4._0x2a724a,_0x1d517d);}if(_0x2f6057==='sh'||_0x2f6057==='dash')return'posix';return _0x3f5b50(_0x2c54db._0x34be10,0x7a4,0x520,0x7b0);}function emitChunk(_0x2e7c07,_0x123939,_0x51995b,_0x2d71ca){const _0x1a0402={_0x3b177c:0x6f,_0x448214:0x6b},_0x5a993c={_0x1b0e1c:0x1c1,_0x4683ae:0x12d,_0x1a99b4:0xe3},_0x487bdb={_0x31398a:0x199,_0x2ffcd0:0x141};_0x2e7c07[_0x46e488(-0x8e,0xb9,_0x1a0402._0x3b177c,_0x1a0402._0x448214)](_0x51995b),_0x123939[_0x208fff(-0x24c,-0x153,-0x317,-0xf1)](_0x51995b);function _0x208fff(_0x41ed90,_0x1c0633,_0xfeb93,_0x118dff){return _0x5469ba(_0xfeb93,_0x1c0633-_0x487bdb._0x31398a,_0xfeb93-_0x487bdb._0x2ffcd0,_0x41ed90- -0x3b5);}function _0x46e488(_0x4e292a,_0x5de855,_0x2f943c,_0xa02f79){return _0x4bfe88(_0xa02f79- -_0x5a993c._0x1b0e1c,_0x5de855-_0x5a993c._0x4683ae,_0x2f943c-_0x5a993c._0x1a99b4,_0x5de855);}_0x2d71ca();}function appendChunk(_0x4884a3,_0x59527f,_0xeea134,_0x3fab98,_0x3d992f,_0x1fafc3){const _0xfe46ce={_0x445e9f:0x12b,_0x467dbc:0x267,_0x5cba2a:0xfa,_0x9cf0ce:0x14f,_0x38ea7f:0x241,_0x2afe06:0x8d,_0x3e4995:0x216,_0x370a9b:0x1e3,_0x29a54e:0x7,_0x351499:0x51,_0x4ce83f:0x16b,_0x2daa41:0x250,_0x1817df:0x349,_0xb4064e:0x280,_0x53fa7c:0x1e2,_0x27b1b1:0x292,_0xb4936e:0xae},_0x5d1447={_0x3392dd:0xcb,_0x3d2a1b:0x26},_0x43d6e5={_0x31b197:0x182,_0x2c8d6a:0xca};function _0x3f0c59(_0x124f44,_0x4520df,_0x120675,_0x19b000){return _0x5469ba(_0x124f44,_0x4520df-_0x43d6e5._0x31b197,_0x120675-_0x43d6e5._0x2c8d6a,_0x19b000- -0x1e1);}const _0x358839=_0x3fab98?stripAnsiAndControls(_0xeea134):_0xeea134;if(_0x358839[_0x3f0c59(_0xfe46ce._0x445e9f,0xfd,_0xfe46ce._0x467dbc,_0xfe46ce._0x5cba2a)]===0x0)return;function _0x59d88e(_0x74f197,_0x40cab7,_0x221fe8,_0x4d216d){return _0x5469ba(_0x40cab7,_0x40cab7-_0x5d1447._0x3392dd,_0x221fe8-0xe0,_0x74f197- -_0x5d1447._0x3d2a1b);}if(!_0x1fafc3){emitChunk(_0x4884a3,_0x59527f,_0x358839,_0x3d992f);return;}let _0x51cbfd=0x0,_0x24e771=_0x358839['indexOf']('\x0a');while(_0x24e771>=0x0){_0x1fafc3['trailingChunks']['push'](_0x358839['slice'](_0x51cbfd,_0x24e771));const _0x39c4b1=_0x1fafc3[_0x59d88e(_0xfe46ce._0x9cf0ce,0x2f3,0x45,_0xfe46ce._0x38ea7f)][_0x3f0c59(0x84,0x6e,_0xfe46ce._0x2afe06,_0xfe46ce._0x3e4995)]('');_0x1fafc3[_0x3f0c59(-_0xfe46ce._0x370a9b,0xd2,_0xfe46ce._0x29a54e,-0x6c)]['length']=0x0,_0x1fafc3[_0x3f0c59(-0x9a,_0xfe46ce._0x351499,_0xfe46ce._0x4ce83f,0x9)]['test'](_0x39c4b1)&&emitChunk(_0x4884a3,_0x59527f,_0x39c4b1+'\x0a',_0x3d992f),_0x51cbfd=_0x24e771+0x1,_0x24e771=_0x358839[_0x59d88e(0x281,_0xfe46ce._0x2daa41,_0xfe46ce._0x1817df,_0xfe46ce._0xb4064e)]('\x0a',_0x51cbfd);}_0x51cbfd<_0x358839['length']&&_0x1fafc3[_0x59d88e(0x14f,_0xfe46ce._0x53fa7c,0x13c,0xe8)]['push'](_0x358839[_0x3f0c59(0x1da,_0xfe46ce._0x27b1b1,_0xfe46ce._0xb4936e,0x1d1)](_0x51cbfd));}function flushOutputRegex(_0x3f7405,_0x44a0e6,_0xdd734e,_0x5c0b3){const _0x49acb0={_0x138162:0xc,_0x4f4afd:0x1c0,_0x40ab8:0xf2,_0x518710:0x170,_0x4aca20:0xd3,_0x1b2690:0x239,_0x2fab11:0x22b,_0x2bda5e:0x275,_0x35cc79:0x2c8,_0x5ef5f5:0x2a9,_0x1c247a:0xd8},_0x52fc6f={_0x2be72d:0x1d2,_0x5f2243:0x16b},_0x5b80c8={_0x2f7b51:0x335};function _0x5a0366(_0x5be4ab,_0x1eec98,_0x17e45b,_0x13823c){return _0x5469ba(_0x17e45b,_0x1eec98-0x79,_0x17e45b-0x132,_0x1eec98- -_0x5b80c8._0x2f7b51);}function _0x46abe5(_0x3e37eb,_0x235d18,_0xd846fa,_0x5141b7){return _0x5469ba(_0x235d18,_0x235d18-_0x52fc6f._0x2be72d,_0xd846fa-0xe2,_0x3e37eb- -_0x52fc6f._0x5f2243);}if(!_0xdd734e||_0xdd734e[_0x5a0366(-_0x49acb0._0x138162,-_0x49acb0._0x4f4afd,-_0x49acb0._0x40ab8,-0x2f9)][_0x46abe5(_0x49acb0._0x518710,0x14a,0x310,_0x49acb0._0x4aca20)]===0x0)return;const _0x367b20=_0xdd734e[_0x46abe5(0xa,-0x48,-0x3a,0x56)][_0x5a0366(_0x49acb0._0x1b2690,0xc2,_0x49acb0._0x2fab11,0x5e)]('');_0xdd734e[_0x5a0366(-0x1b7,-_0x49acb0._0x4f4afd,-_0x49acb0._0x2bda5e,-_0x49acb0._0x35cc79)][_0x46abe5(0x170,0x111,0x55,0x4c)]=0x0,_0xdd734e[_0x5a0366(-_0x49acb0._0x5ef5f5,-0x14b,-0x212,-0x2f1)][_0x46abe5(0xdf,-0x9e,-_0x49acb0._0x1c247a,0xba)](_0x367b20)&&emitChunk(_0x3f7405,_0x44a0e6,_0x367b20,_0x5c0b3);}function createBashTool(_0x14eda5={}){const _0x565dbc={_0x7d31cc:0x5bc,_0x53511f:0x5fb,_0x6f19b9:0x35c,_0x412698:0x418,_0x41e54d:0x386,_0x548571:0x4f5,_0x4a4866:0x475,_0x500ea7:0x33d,_0x4f7e5f:0x7b,_0xda0310:0x490,_0x4e25cf:0x40a,_0x4b99e5:0x459,_0x4c40ea:0x239,_0x1cafb1:0x181,_0x446b79:0x26a,_0x760bcc:0x4b3,_0x588822:0x4cc,_0x265efa:0x411,_0x483acd:0x2a3,_0x35d917:0x3da,_0x4485de:0x4c8,_0x2631bd:0x1fb,_0x5dabb2:0xf0,_0x4e0ed4:0x6ce,_0x2e24da:0x4c7,_0x17420f:0x5f9,_0x3f40f9:0x3b8,_0x478cfc:0x748,_0x5e40a2:0x61e,_0x10c870:0x5d8},_0x32f315={_0x3a5ac0:0xe5,_0x48cd0d:0x29b,_0x29bbc8:0x25,_0x35a45f:0x7ac,_0x33f61c:0x4e2,_0x55e37e:0x782,_0x4d8918:0x5d2,_0x281f01:0x7cd,_0x2248c7:0x2e,_0x490481:0xd,_0x26cd9c:0x13c,_0x2995f2:0x705,_0xf414a:0x4e5,_0x24fa85:0x5a6,_0x37e96a:0x427,_0x289f7a:0x651,_0x23dbf8:0x49a,_0x42987b:0x5ab,_0x5b2d0a:0x482,_0x375f09:0x6d7,_0x11c712:0x4e,_0x21bce4:0x1cd,_0x356987:0x83,_0xb5c17f:0x171,_0x12f767:0x669,_0x145ab8:0x66e,_0x14fd58:0x72,_0x44df02:0x291,_0x24cbad:0x5bd,_0x30e565:0x440,_0xf5c642:0xc8,_0x4abfde:0x247,_0x5660ca:0x14c,_0x5b157d:0xb,_0x20e3fe:0x100,_0x487a00:0x846,_0x207d1f:0x67d,_0x42b098:0x71d,_0x474a13:0x38b,_0xb86502:0x562,_0x45c2f7:0x78,_0x3099ba:0x20b,_0x3e25ab:0x12,_0x4767e0:0x192,_0x22e55e:0x1a0,_0x4fdb08:0x793,_0x1f5ff0:0x744,_0x21c152:0x5bf,_0x163e09:0x53c,_0x21287e:0x7,_0x423380:0x2e4,_0x4e7ecf:0x4f5,_0x3f339b:0x761,_0x2a80b2:0x3a5,_0x181ded:0x458,_0x520b62:0x1fd,_0x2b1989:0x35d,_0x4200b5:0x20f,_0x3efb6e:0x369,_0x47545f:0x70b,_0x25719f:0x52c,_0x1b6af9:0x45a,_0x22c86f:0x3d2,_0x454871:0x815,_0x43f19d:0x86f,_0x3cb476:0x72e,_0x4a9a2e:0x742,_0x3c0486:0x5e,_0x15b0b8:0x124,_0x5361ba:0x1a6,_0x3e377b:0xa9,_0x27f3bd:0x5e,_0x42c189:0x14b,_0x4bc62c:0x2f5,_0xddce2c:0x57d,_0x229647:0xc,_0x26aef4:0x114,_0x20fe1d:0x69,_0x4ee8cc:0x44,_0x329e7c:0x639,_0x1f4cea:0x6ba,_0x22556e:0x17e,_0x310a8d:0xda,_0x204ad4:0x83,_0x6581f1:0x58,_0xcd93a7:0xad,_0x5c838a:0xf,_0x6a4430:0x11b,_0x2dd443:0xf,_0x2e7f35:0x3ed,_0x428340:0x68e,_0x42a656:0x606,_0x3f361b:0x48,_0x164f0f:0x144,_0x4074ef:0x12b,_0x55d58a:0x12d,_0x3efb89:0x87,_0x9852a6:0x6ca,_0x38cc2c:0x7d7,_0x1e2d82:0x4c0,_0x1b9786:0x37e,_0x39a441:0x65,_0x200c28:0xa5,_0x5f0424:0x5a4,_0x189d12:0x5b4,_0x41449b:0x6ba,_0xe0f4f5:0x55,_0x46820c:0x65,_0xa8c5a5:0x117,_0x261cd5:0x77f,_0x302797:0x545,_0x67a27e:0x664,_0x2ff90f:0x648,_0x1a71e5:0x402,_0x542014:0x5e0,_0x424bcd:0x62b,_0x5cebcf:0x924,_0x4dd63b:0x159,_0x261291:0x2e9,_0x4cc087:0x59a,_0x432fcc:0x6f9,_0x369e7e:0x5cd,_0x40b486:0x1f6,_0x4e8fbc:0x25e,_0x7e4993:0x1ca,_0x5b1aaa:0x5d5,_0x3a31eb:0x546,_0x5b1a99:0x739,_0x37e1fa:0x6d8,_0x5d5076:0x586},_0x559514={_0x2a0d17:0x578,_0x1bcab2:0x6d7},_0x34f9a2={_0x1ec6a7:0x375},_0x5763f9={_0x4513a2:0x1b5,_0x1bec5d:0x122},_0x1a4d6e={_0x1cc6f6:0xaa,_0x24dbe2:0x13b},_0x370b9d={_0x371155:0x1dc};function _0x2a8a51(_0x32374c,_0x2b680c,_0x375e25,_0x5c91ba){return _0x5469ba(_0x2b680c,_0x2b680c-_0x370b9d._0x371155,_0x375e25-0xa9,_0x32374c-0x133);}const _0x3d22e5=_0x22b56d[_0x2a8a51(0x452,_0x565dbc._0x7d31cc,0x382,_0x565dbc._0x53511f)](_0x14eda5[_0x4e9920(_0x565dbc._0x6f19b9,0x589,0x3df,_0x565dbc._0x412698)]??process['cwd']()),_0x14390c=_0x14eda5[_0x4e9920(_0x565dbc._0x41e54d,_0x565dbc._0x548571,0x43d,_0x565dbc._0x4a4866)]??[],_0x5a4112=_0x14eda5['defaultTimeoutMs']??DEFAULT_TIMEOUT_MS,_0x445b4f=_0x14eda5[_0x2a8a51(0x1f1,0x1f1,_0x565dbc._0x500ea7,_0x565dbc._0x4f7e5f)]??!![],_0x2a77a1=_0x14eda5['name']??_0x4e9920(0x35d,_0x565dbc._0xda0310,_0x565dbc._0x4e25cf,_0x565dbc._0x4b99e5),_0xd65076=_0x14eda5[_0x2a8a51(_0x565dbc._0x4c40ea,0x1b7,0x220,_0x565dbc._0x1cafb1)]??[],_0x403fb8=_0x14eda5[_0x2a8a51(_0x565dbc._0x446b79,0x3c7,0x227,0x3d2)]??[],_0x92b3d=_0x14eda5[_0x4e9920(0x325,_0x565dbc._0x760bcc,0x418,_0x565dbc._0x588822)];function _0x4e9920(_0x4190e8,_0x2c8311,_0x1d4ee8,_0x98931e){return _0x5469ba(_0x4190e8,_0x2c8311-0x91,_0x1d4ee8-0x18d,_0x98931e-0x24e);}return defineTool({'name':_0x2a77a1,'permissionClass':'always-confirm','description':_0x14eda5['description']??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':'string'},'description':{'type':'string','description':_0x4e9920(0x39d,_0x565dbc._0x265efa,0x5c7,0x501)},'cwd':{'type':_0x2a8a51(_0x565dbc._0x483acd,0x137,0x434,0x2dc)},'timeoutMs':{'type':_0x2a8a51(0x430,0x2bb,_0x565dbc._0x35d917,0x5b2)},'ignoreOutput':{'type':_0x2a8a51(_0x565dbc._0x4485de,0x321,0x3f6,0x336)},'outputRegex':{'type':_0x2a8a51(0x2a3,_0x565dbc._0x2631bd,0x17c,_0x565dbc._0x5dabb2),'description':_0x4e9920(0x79e,_0x565dbc._0x4e0ed4,0x723,0x63f)},'runInBackground':{'type':_0x2a8a51(_0x565dbc._0x4485de,_0x565dbc._0x2e24da,_0x565dbc._0x17420f,_0x565dbc._0x3f40f9)}},'required':[_0x4e9920(_0x565dbc._0x478cfc,_0x565dbc._0x5e40a2,_0x565dbc._0x10c870,0x59c),'description']},async *'execute'(_0x309f9f,_0xed0c5a){const _0x373ba2={_0x3df609:0x44c,_0x52602c:0x3a1,_0x5eb84e:0x247,_0x1ba60a:0x4b7},_0x5532ad={_0x9a5af9:0x7c2,_0x2fe8dc:0x7a0,_0x230173:0x391,_0x161e7e:0x2f8,_0x54b5d7:0x744,_0x230d60:0x5d4},_0x5cc764={_0x170b68:0x190,_0x1adc17:0x2e5,_0x2af56b:0x307,_0x82756b:0x3a8},_0x2da77c={_0x58660c:0x3c6,_0x28e5f7:0x2fb},_0x41487={_0x3a6d90:0x178},_0x821418=_0x309f9f[_0x8cff03(-_0x32f315._0x3a5ac0,-_0x32f315._0x48cd0d,-0x288,-_0x32f315._0x29bbc8)]??_0x5a4112;if(!Number['isFinite'](_0x821418)||_0x821418<0x1)throw new ToolExecutionError('Invalid\x20timeoutMs:\x20expected\x20a\x20positive\x20number',{'command':_0x309f9f[_0x4a2784(0x722,_0x32f315._0x35a45f,0x6fc,0x6d7)]});function _0x4a2784(_0x1c37d0,_0xb693f2,_0x252080,_0x5c73a6){return _0x4e9920(_0xb693f2,_0xb693f2-_0x1a4d6e._0x1cc6f6,_0x252080-0xb,_0x5c73a6-_0x1a4d6e._0x24dbe2);}throwIfAborted(_0xed0c5a[_0x4a2784(_0x32f315._0x33f61c,0x714,_0x32f315._0x55e37e,_0x32f315._0x4d8918)]);const _0x538682=_0x309f9f[_0x4a2784(_0x32f315._0x281f01,0x4e4,0x653,0x61e)]??![];function _0x8cff03(_0x5ddf49,_0x53bec5,_0x445bcb,_0x20123a){return _0x2a8a51(_0x5ddf49- -0x3ff,_0x20123a,_0x445bcb-_0x5763f9._0x4513a2,_0x20123a-_0x5763f9._0x1bec5d);}const _0x470b59=resolveBashExecutionTarget(_0x309f9f,{'defaultCwd':_0x3d22e5,'allowedDirs':_0x14390c,'shellPath':_0x14eda5['shellPath']}),{cwd:_0x611f89,shellPath:_0x619f62}=_0x470b59,_0x2f5def=buildShellArgs(_0x309f9f['command'],_0x619f62),_0x2cb631=_0xecf70c['platform']()===_0x8cff03(_0x32f315._0x2248c7,-0xee,-_0x32f315._0x490481,-_0x32f315._0x26cd9c),_0x3e51ff=buildChildEnv(_0x14eda5[_0x4a2784(_0x32f315._0x2995f2,0x4b0,_0x32f315._0xf414a,_0x32f315._0x24fa85)],_0xd65076,_0x403fb8);if(_0x309f9f[_0x4a2784(0x440,_0x32f315._0x37e96a,_0x32f315._0x289f7a,0x4f6)]){if(!_0x92b3d)throw new ToolExecutionError(_0x4a2784(0x3c4,_0x32f315._0x23dbf8,_0x32f315._0x42987b,_0x32f315._0x5b2d0a),{'command':_0x309f9f[_0x4a2784(0x56c,0x5c0,0x6d9,_0x32f315._0x375f09)]});throwIfAborted(_0xed0c5a[_0x8cff03(-0x83,-_0x32f315._0x11c712,-0x122,0xa4)]),await _0x14eda5['verifyExecution']?.(_0x470b59,_0xed0c5a[_0x8cff03(0xae,0x1a1,0x1c8,_0x32f315._0x21bce4)],_0xed0c5a),throwIfAborted(_0xed0c5a[_0x8cff03(-_0x32f315._0x356987,0x15,-_0x32f315._0xb5c17f,-0x1c1)]);const _0x57faf5=_0x92b3d['reserve']();let _0x24e90d;try{_0x24e90d=_0x3a3bbd(_0x619f62,_0x2f5def,{'cwd':_0x611f89,'env':_0x3e51ff,'stdio':[_0x4a2784(_0x32f315._0x12f767,_0x32f315._0x145ab8,0x66d,0x5f7),_0x8cff03(-0x215,-0x3cc,-_0x32f315._0x14fd58,-_0x32f315._0x44df02),_0x4a2784(_0x32f315._0x24cbad,0x538,0x395,_0x32f315._0x30e565)],'shell':![],'windowsHide':!![],'detached':!_0x2cb631});}catch(_0x24ff1b){_0x92b3d[_0x8cff03(_0x32f315._0xf5c642,_0x32f315._0x4abfde,0x203,_0x32f315._0x5660ca)](_0x57faf5);throw mapSpawnError(_0x24ff1b,{'command':_0x309f9f['command'],'cwd':_0x611f89,'shellPath':_0x619f62});}let _0x575a96;try{_0x575a96=_0x92b3d[_0x8cff03(_0x32f315._0x5b157d,0xa9,-0x111,_0x32f315._0x20e3fe)](_0x57faf5,{'child':_0x24e90d,'command':_0x309f9f['command'],'cwd':_0x611f89,'stripAnsi':_0x445b4f,...!_0x2cb631&&_0x24e90d[_0x4a2784(0x878,_0x32f315._0x487a00,0x55f,0x6d8)]!==void 0x0?{'processGroupId':_0x24e90d['pid']}:{}});}catch(_0x31331a){_0x92b3d[_0x4a2784(0x797,_0x32f315._0x207d1f,0x5f5,_0x32f315._0x42b098)](_0x57faf5),_0x24e90d['once'](_0x4a2784(_0x32f315._0x474a13,0x325,0x462,0x488),()=>{});try{killProcessGroup(_0x24e90d,_0x2cb631);}catch{}throw _0x31331a;}return createToolOutput(_0x4a2784(0x71c,_0x32f315._0xb86502,0x726,0x5dc)+_0x575a96[_0x8cff03(-0x113,_0x32f315._0x45c2f7,-_0x32f315._0x3099ba,-0x1f9)]+_0x8cff03(-_0x32f315._0x3e25ab,_0x32f315._0x4767e0,-0xa9,-_0x32f315._0x22e55e)+(_0x575a96[_0x4a2784(_0x32f315._0x4fdb08,0x58f,_0x32f315._0x1f5ff0,0x6d8)]??'?')+').\x20Use\x20BashOutput\x20to\x20read\x20its\x20output\x20and\x20KillShell\x20to\x20stop\x20it.',{'shellId':_0x575a96['shellId'],'status':_0x575a96[_0x4a2784(0x3bc,_0x32f315._0x21c152,_0x32f315._0x163e09,0x549)],'command':_0x575a96['command'],'description':_0x309f9f[_0x8cff03(-0x1a0,-0x358,_0x32f315._0x21287e,-_0x32f315._0x423380)],'cwd':_0x575a96[_0x4a2784(_0x32f315._0x4e7ecf,_0x32f315._0x3f339b,0x4bc,0x65a)],'pid':_0x575a96['pid']??null});}let _0xb20cdd,_0x3e32e1;if(_0x309f9f[_0x4a2784(0x499,0x5c9,_0x32f315._0x2a80b2,_0x32f315._0x181ded)]!==void 0x0)try{const _0x168c3d=new RegExp(_0x309f9f[_0x8cff03(-_0x32f315._0x520b62,-_0x32f315._0x2b1989,-0x15e,-0x3ad)]);_0xb20cdd={'regex':_0x168c3d,'trailingChunks':[]},_0x3e32e1={'regex':_0x168c3d,'trailingChunks':[]};}catch(_0x386bf8){throw new ToolExecutionError(_0x8cff03(-_0x32f315._0x4200b5,-0x15c,-_0x32f315._0x3efb6e,-0x2c3)+(_0x386bf8 instanceof Error?_0x386bf8[_0x4a2784(_0x32f315._0x47545f,0x53e,_0x32f315._0x25719f,0x5e0)]:String(_0x386bf8)),{'command':_0x309f9f['command'],'outputRegex':_0x309f9f[_0x4a2784(0x31e,_0x32f315._0x1b6af9,_0x32f315._0x22c86f,0x458)]});}await _0x14eda5[_0x4a2784(_0x32f315._0x454871,_0x32f315._0x43f19d,0x6c7,0x6eb)]?.(_0x470b59,_0xed0c5a[_0x8cff03(0xae,0x167,0x1a5,0x166)],_0xed0c5a),throwIfAborted(_0xed0c5a[_0x4a2784(0x780,_0x32f315._0x3cb476,_0x32f315._0x4a9a2e,0x5d2)]);let _0x1aab5e;try{_0x1aab5e=_0x3a3bbd(_0x619f62,_0x2f5def,{'cwd':_0x611f89,'env':_0x3e51ff,'stdio':_0x538682?[_0x8cff03(-_0x32f315._0x3c0486,_0x32f315._0x15b0b8,-_0x32f315._0x5361ba,_0x32f315._0x3e377b),'ignore',_0x8cff03(-_0x32f315._0x27f3bd,0xba,-0x1db,-0x1e8)]:[_0x8cff03(-0x5e,-_0x32f315._0x42c189,-0x177,-0x48),_0x4a2784(0x3d5,0x486,_0x32f315._0x4bc62c,_0x32f315._0x30e565),_0x4a2784(_0x32f315._0xddce2c,0x577,0x555,0x440)],'shell':![],'windowsHide':!![],'detached':!_0x2cb631});}catch(_0x14d629){throw mapSpawnError(_0x14d629,{'command':_0x309f9f[_0x8cff03(0x82,-_0x32f315._0x229647,-_0x32f315._0x26aef4,0x1ca)],'cwd':_0x611f89,'shellPath':_0x619f62});}const _0x5370e1=[],_0x51c67b=[],_0x36f75d=new _0x33fca3(_0x8cff03(-0x1f8,-_0x32f315._0x20fe1d,-0xbb,-0xab)),_0x12e255=new _0x33fca3(_0x8cff03(-0x1f8,-0x98,-0x2b1,-_0x32f315._0x4ee8cc));let _0x5e4add,_0x2a6651=![],_0x2ef40f;const _0x213a7d=()=>{if(!_0x5e4add)return;const _0x2e1df1=_0x5e4add;_0x5e4add=void 0x0,_0x2e1df1();},_0x1e84c6=async()=>{if(_0x51c67b[_0x22f45e(0x1d0,0x267,_0x34f9a2._0x1ec6a7,0x25f)]>0x0||_0x2a6651)return;function _0x22f45e(_0x57cb79,_0x2010f1,_0x42ec07,_0x3140d3){return _0x4a2784(_0x57cb79-0x2e,_0x2010f1,_0x42ec07-_0x41487._0x3a6d90,_0x42ec07- -0x2ef);}await new Promise(_0x1a2e43=>{_0x5e4add=_0x1a2e43;});},_0x229ead=_0x28e3d9=>{const _0x3ae974={_0x44f0e1:0x119};function _0x309335(_0xb529e9,_0x4cc21d,_0x825ea7,_0x66f3f1){return _0x8cff03(_0x66f3f1-0x633,_0x4cc21d-_0x3ae974._0x44f0e1,_0x825ea7-0x1a4,_0xb529e9);}appendChunk(_0x5370e1,_0x51c67b,_0x36f75d[_0x309335(0x7da,_0x559514._0x2a0d17,0x628,_0x559514._0x1bcab2)](_0x28e3d9),_0x445b4f,_0x213a7d,_0xb20cdd);},_0x13f2fd=_0x45d35c=>{const _0x5a6c06={_0x16b19e:0x257,_0x1b1a09:0x189,_0x46055d:0x159};function _0x3e8639(_0x4cbb88,_0x1043fc,_0x25b860,_0x375196){return _0x8cff03(_0x25b860-_0x5a6c06._0x16b19e,_0x1043fc-_0x5a6c06._0x1b1a09,_0x25b860-_0x5a6c06._0x46055d,_0x4cbb88);}appendChunk(_0x5370e1,_0x51c67b,_0x12e255[_0x3e8639(_0x2da77c._0x58660c,0x328,_0x2da77c._0x28e5f7,0x1b2)](_0x45d35c),_0x445b4f,_0x213a7d,_0x3e32e1);};_0x1aab5e[_0x4a2784(_0x32f315._0x329e7c,_0x32f315._0x1f4cea,0x882,0x77f)]?.['on']('data',_0x229ead),_0x1aab5e[_0x4a2784(0x4fb,0x659,0x486,0x5cd)]?.['on'](_0x8cff03(-0x159,-0x10e,-_0x32f315._0x22556e,-_0x32f315._0x310a8d),_0x13f2fd);let _0x58a7d8=![],_0x23f7ca;const _0x106d8a=addAbortListener(_0xed0c5a[_0x8cff03(-_0x32f315._0x204ad4,0xe8,_0x32f315._0x6581f1,_0x32f315._0xcd93a7)],()=>{const _0x538201={_0x369bcf:0x34,_0xc9ff29:0x13f};_0x2ef40f=toAbortError(_0xed0c5a['signal'][_0x845cc(_0x5cc764._0x170b68,_0x5cc764._0x1adc17,_0x5cc764._0x2af56b,_0x5cc764._0x82756b)]),_0x2a6651=!![],_0x213a7d();function _0x845cc(_0x497524,_0x5741f1,_0x3cefc0,_0x43bcde){return _0x4a2784(_0x497524-_0x538201._0x369bcf,_0x43bcde,_0x3cefc0-_0x538201._0xc9ff29,_0x3cefc0- -0x464);}try{killProcessGroup(_0x1aab5e,_0x2cb631);}catch{}});try{const _0x420e7a=new Promise((_0x31d1a6,_0x4fcf11)=>{const _0x4c4529={_0x453310:0xe8,_0x4ed816:0x10a},_0x42210a={_0x295269:0x376,_0xade009:0x24d,_0x1a23da:0x4ac,_0x199aea:0x418,_0x582fc8:0x1f5,_0x46208a:0xbc,_0x63b284:0x37},_0x293d5c={_0x1c9a3c:0x12d},_0x4733e8={_0x4b0c7e:0x10c,_0x35c25f:0xe1,_0x11fdf3:0x13f};function _0x100288(_0x548006,_0x368836,_0x4f3086,_0x5bc354){return _0x8cff03(_0x548006-_0x4733e8._0x4b0c7e,_0x368836-_0x4733e8._0x35c25f,_0x4f3086-_0x4733e8._0x11fdf3,_0x5bc354);}const _0x18077e=()=>{_0x23f7ca&&(clearTimeout(_0x23f7ca),_0x23f7ca=void 0x0);_0x1aab5e[_0x32c48a(_0x42210a._0x295269,0x374,_0x42210a._0xade009,0x3a5)]('error',_0x98c986);function _0x32c48a(_0x5cd309,_0x35415c,_0x4628f0,_0x19a7d0){return _0x5bda(_0x35415c-0x2d4,_0x5cd309);}function _0x45e381(_0x487591,_0x4e3c1e,_0x469023,_0x2fd449){return _0x5bda(_0x4e3c1e- -_0x293d5c._0x1c9a3c,_0x2fd449);}_0x1aab5e[_0x32c48a(_0x42210a._0x1a23da,0x374,_0x42210a._0x199aea,0x31c)](_0x45e381(-_0x42210a._0x582fc8,-_0x42210a._0x46208a,_0x42210a._0x63b284,-0x180),_0x35fac9);},_0x98c986=_0x4de3b2=>{_0x2a6651=!![],_0x213a7d(),_0x18077e(),_0x4fcf11(_0x2ef40f??_0x4de3b2);};function _0x19a060(_0x39fc28,_0x5165c6,_0x4eaf74,_0x43a062){return _0x4a2784(_0x39fc28-_0x4c4529._0x453310,_0x4eaf74,_0x4eaf74-0x18e,_0x39fc28- -_0x4c4529._0x4ed816);}const _0x35fac9=(_0x24e66f,_0x2d5a06)=>{_0x58a7d8=!![],appendChunk(_0x5370e1,_0x51c67b,_0x36f75d['end'](),_0x445b4f,_0x213a7d,_0xb20cdd),appendChunk(_0x5370e1,_0x51c67b,_0x12e255['end'](),_0x445b4f,_0x213a7d,_0x3e32e1),flushOutputRegex(_0x5370e1,_0x51c67b,_0xb20cdd,_0x213a7d),flushOutputRegex(_0x5370e1,_0x51c67b,_0x3e32e1,_0x213a7d),_0x2a6651=!![],_0x213a7d(),_0x18077e();if(_0x2ef40f){_0x4fcf11(_0x2ef40f);return;}_0x31d1a6({'code':_0x24e66f,'signal':_0x2d5a06});};_0x23f7ca=setTimeout(()=>{const _0x24407b={_0xc8e7b0:0x15e};_0x2a6651=!![];function _0x2ce32e(_0x44132b,_0x18ee29,_0x5951c1,_0x2f131b){return _0x5bda(_0x18ee29-0x369,_0x44132b);}_0x213a7d(),_0x18077e();try{killProcessGroup(_0x1aab5e,_0x2cb631);}catch{}function _0x3c85bf(_0x1a5afd,_0x548964,_0x501904,_0x1fa360){return _0x5bda(_0x1a5afd-_0x24407b._0xc8e7b0,_0x1fa360);}_0x4fcf11(new ToolExecutionError(_0x2ce32e(_0x5532ad._0x9a5af9,0x680,0x7be,_0x5532ad._0x2fe8dc)+_0x821418+_0x3c85bf(_0x5532ad._0x230173,0x502,_0x5532ad._0x161e7e,0x4aa),{'command':_0x309f9f[_0x2ce32e(0x5ac,0x681,_0x5532ad._0x54b5d7,_0x5532ad._0x230d60)],'cwd':_0x611f89,'shellPath':_0x619f62,'timeoutMs':_0x821418,'timedOut':!![]}));},_0x821418),_0x1aab5e['once'](_0x19a060(0x37e,_0x373ba2._0x3df609,_0x373ba2._0x52602c,_0x373ba2._0x5eb84e),_0x98c986),_0x1aab5e[_0x19a060(0x560,0x557,_0x373ba2._0x1ba60a,0x4cf)]('close',_0x35fac9);});while(_0x51c67b[_0x8cff03(_0x32f315._0x5c838a,0x152,0xa6,_0x32f315._0x6a4430)]>0x0||!_0x2a6651){if(_0x51c67b[_0x8cff03(_0x32f315._0x2dd443,0xb1,0x57,-0x59)]===0x0){await _0x1e84c6();continue;}const _0x50b01d=_0x51c67b[_0x4a2784(_0x32f315._0x2e7f35,_0x32f315._0x428340,_0x32f315._0x42a656,_0x32f315._0x33f61c)]();_0x50b01d!==void 0x0&&(yield _0x50b01d);}const _0x4bd102=await _0x420e7a,_0x1c36ec=_0x538682?'exit\x20code\x20'+(_0x4bd102[_0x8cff03(0x65,_0x32f315._0x3f361b,_0x32f315._0x164f0f,0xd6)]??0x0):_0x5370e1[_0x8cff03(_0x32f315._0x4074ef,_0x32f315._0x55d58a,-0x3a,-_0x32f315._0x3efb89)](''),_0x1b1b54={'command':_0x309f9f[_0x4a2784(0x7cc,_0x32f315._0x9852a6,_0x32f315._0x38cc2c,0x6d7)],'description':_0x309f9f[_0x4a2784(_0x32f315._0x1e2d82,0x64f,_0x32f315._0x1b9786,0x4b5)],'cwd':_0x611f89,'exitCode':_0x4bd102[_0x8cff03(_0x32f315._0x39a441,-_0x32f315._0x200c28,0x1db,0x101)]??0x0,'signal':_0x4bd102[_0x8cff03(-_0x32f315._0x356987,-0x79,0xcd,-0x25)],'ignoreOutput':_0x538682,'outputRegex':_0x309f9f['outputRegex']??null,'shellPath':_0x619f62,'timeoutMs':_0x821418};if(_0x4bd102[_0x4a2784(_0x32f315._0x5f0424,_0x32f315._0x189d12,0x5a6,_0x32f315._0x41449b)]!==0x0)throw new ToolExecutionError(_0x1c36ec||_0x8cff03(-0xa7,-0xfd,0xc0,_0x32f315._0xe0f4f5)+(_0x4bd102[_0x8cff03(_0x32f315._0x46820c,-0xf0,_0x32f315._0xa8c5a5,-0x104)]??0x0),_0x1b1b54);return createToolOutput(_0x1c36ec,_0x1b1b54);}catch(_0x7332c1){while(_0x51c67b[_0x4a2784(_0x32f315._0x261cd5,_0x32f315._0x302797,0x7a8,_0x32f315._0x67a27e)]>0x0){const _0x7b3225=_0x51c67b[_0x4a2784(0x346,_0x32f315._0x2ff90f,_0x32f315._0x1a71e5,0x4e2)]();_0x7b3225!==void 0x0&&(yield _0x7b3225);}if(_0x7332c1 instanceof ToolExecutionError)throw _0x7332c1;if(_0x2ef40f)throw _0x2ef40f;throw mapSpawnError(_0x7332c1,{'command':_0x309f9f[_0x4a2784(_0x32f315._0x542014,_0x32f315._0x424bcd,0x790,_0x32f315._0x375f09)],'cwd':_0x611f89,'shellPath':_0x619f62});}finally{_0x23f7ca&&clearTimeout(_0x23f7ca);_0x106d8a(),_0x1aab5e[_0x4a2784(0x65d,_0x32f315._0x5cebcf,0x60a,0x77f)]?.['off'](_0x8cff03(-_0x32f315._0x4dd63b,-0x2ae,-0x2b1,-_0x32f315._0x261291),_0x229ead),_0x1aab5e[_0x4a2784(_0x32f315._0x4cc087,_0x32f315._0x432fcc,0x472,_0x32f315._0x369e7e)]?.[_0x8cff03(-_0x32f315._0x40b486,-0x281,-_0x32f315._0x4e8fbc,-_0x32f315._0x7e4993)](_0x4a2784(_0x32f315._0x5b1aaa,0x40e,_0x32f315._0x3a31eb,0x4fc),_0x13f2fd);if(!_0x58a7d8&&_0x1aab5e[_0x4a2784(0x64f,0x6d7,_0x32f315._0x5b1a99,_0x32f315._0x37e1fa)]&&!_0x1aab5e[_0x4a2784(0x7cd,_0x32f315._0x5d5076,0x6c0,0x67a)])try{killProcessGroup(_0x1aab5e,_0x2cb631);}catch{}}}});}function createShellExecTool(_0xae39d={}){return createBashTool(_0xae39d);}import{readdir,readFile as _0x507ed0}from'fs/promises';import{extname,join as _0x398ac1}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x540ce3,join,relative as _0x2bc1e6,resolve as _0x358ef3}from'path';import{readdir as _0x2b3a3d,readFile as _0x250ecd}from'fs/promises';import{join as _0xbcf32c,relative as _0x3034fe,sep}from'path';import{delimiter}from'path';import{mkdir as _0x53f9b4,rm,stat as _0x46ccf9,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x1d2710}from'path';function _0x5bda(_0x5f1100,_0xf5f529){_0x5f1100=_0x5f1100-0x6b;const _0x4c1b1f=_0x4c1b();let _0x5bdac1=_0x4c1b1f[_0x5f1100];if(_0x5bda['BdrtEV']===undefined){var _0x18f36d=function(_0x208d36){const _0x1cb079='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xb1fd38='',_0x3e6101='';for(let _0x5ee660=0x0,_0x3757ba,_0x15832f,_0x620bf1=0x0;_0x15832f=_0x208d36['charAt'](_0x620bf1++);~_0x15832f&&(_0x3757ba=_0x5ee660%0x4?_0x3757ba*0x40+_0x15832f:_0x15832f,_0x5ee660++%0x4)?_0xb1fd38+=String['fromCharCode'](0xff&_0x3757ba>>(-0x2*_0x5ee660&0x6)):0x0){_0x15832f=_0x1cb079['indexOf'](_0x15832f);}for(let _0x265324=0x0,_0x1666c8=_0xb1fd38['length'];_0x265324<_0x1666c8;_0x265324++){_0x3e6101+='%'+('00'+_0xb1fd38['charCodeAt'](_0x265324)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3e6101);};_0x5bda['kSXCZL']=_0x18f36d,_0x5bda['cySZYs']={},_0x5bda['BdrtEV']=!![];}const _0x186457=_0x4c1b1f[0x0],_0x301ba9=_0x5f1100+_0x186457,_0x5804b2=_0x5bda['cySZYs'][_0x301ba9];return!_0x5804b2?(_0x5bdac1=_0x5bda['kSXCZL'](_0x5bdac1),_0x5bda['cySZYs'][_0x301ba9]=_0x5bdac1):_0x5bdac1=_0x5804b2,_0x5bdac1;}import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x9204af,rename as _0x2bc63e,rm as _0x49dcfa,stat as _0x1acfba,writeFile as _0x1338a3}from'fs/promises';import{homedir as _0xbb1574}from'os';import{dirname as _0x156a93,isAbsolute as _0x5669f6,join as _0x4a98d3,resolve as _0xf1a132}from'path';import{parse as _0x383293,stringify as _0x239c96}from'yaml';import{randomUUID as _0x216c20}from'crypto';import{cp,lstat,mkdir as _0x2489ce,readdir as _0x172e08,readFile as _0x3b76fb,rename,rm as _0x2ec06a,writeFile as _0x562360}from'fs/promises';import{homedir}from'os';import{join as _0x2bd57a}from'path';import{parse as _0x3e6e55,stringify as _0x2eb930}from'yaml';import{z}from'zod';import{readdir as _0xac6694,readFile as _0x1c86b0}from'fs/promises';import{join as _0x270a1d}from'path';import{randomUUID as _0x3d0397}from'crypto';import{mkdir as _0x40af14,readdir as _0x28eaf1,readFile as _0x315959,rename as _0x41ef70,rm as _0x12f9db,writeFile as _0x507884}from'fs/promises';import{homedir as _0x24fe6d}from'os';import{basename as _0x1e2c7f,isAbsolute as _0x6e6b92,join as _0x5a30c1,relative as _0x93c59a,resolve as _0x314cf5}from'path';import{parse as _0x3cf4dd,stringify as _0x5e8a89}from'yaml';import{delimiter as _0x1a54a8,resolve as _0x3070dd}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x45227c){const _0x4945c8={_0x217b0b:0x328,_0x1d3da5:0x24b,_0x1f0ccf:0x3c9,_0x233295:0x19d,_0x4d683f:0x306,_0x2195a3:0x16a,_0x244479:0x8f,_0x3965eb:0x2c4,_0x1f0fe0:0x225,_0x4cb4cf:0x403},_0x330305={_0x1bc0a4:0x10e},_0x90d4cd={_0xe0fd84:0x105,_0x567661:0xf1},_0x1496a5=[];let _0x29e97c='',_0x1d79ee=0x0;function _0x8e3ba1(_0x15a1a0,_0xb41697,_0x4a221d,_0x111b37){return _0x4bfe88(_0xb41697-0xe2,_0xb41697-_0x90d4cd._0xe0fd84,_0x4a221d-_0x90d4cd._0x567661,_0x111b37);}while(_0x1d79ee<_0x45227c[_0x4359f2(_0x4945c8._0x217b0b,0x3b0,_0x4945c8._0x1d3da5,0x397)]){const _0x1ef302=_0x45227c[_0x1d79ee];if(_0x1ef302==='\x5c'&&_0x1d79ee+0x1<_0x45227c['length'])_0x29e97c+=_0x45227c[_0x1d79ee+0x1],_0x1d79ee+=0x2;else{if(_0x1ef302==='\x22'||_0x1ef302==='\x27'){const _0x115e68=_0x1ef302;_0x1d79ee++;while(_0x1d79ee<_0x45227c[_0x4359f2(0x29e,0x3c2,_0x4945c8._0x1f0ccf,0x397)]&&_0x45227c[_0x1d79ee]!==_0x115e68){_0x45227c[_0x1d79ee]==='\x5c'&&_0x1d79ee+0x1<_0x45227c[_0x8e3ba1(0x2e0,0x480,0x40d,0x352)]?(_0x29e97c+=_0x45227c[_0x1d79ee+0x1],_0x1d79ee+=0x2):(_0x29e97c+=_0x45227c[_0x1d79ee],_0x1d79ee++);}_0x1d79ee++;}else _0x1ef302!==void 0x0&&/\s/[_0x4359f2(_0x4945c8._0x233295,0x3d1,0x42b,_0x4945c8._0x4d683f)](_0x1ef302)?(_0x29e97c&&(_0x1496a5[_0x4359f2(_0x4945c8._0x2195a3,_0x4945c8._0x244479,_0x4945c8._0x3965eb,_0x4945c8._0x1f0fe0)](_0x29e97c),_0x29e97c=''),_0x1d79ee++):(_0x29e97c+=_0x1ef302,_0x1d79ee++);}}function _0x4359f2(_0x3e0ea,_0x50e93b,_0x1865da,_0xe7928b){return _0x5469ba(_0x1865da,_0x50e93b-_0x330305._0x1bc0a4,_0x1865da-0xf5,_0xe7928b-0xbc);}if(_0x29e97c)_0x1496a5[_0x8e3ba1(0x28a,0x30e,_0x4945c8._0x4cb4cf,0x1bd)](_0x29e97c);return _0x1496a5;}function renderCommandInstructions(_0x43d8c2){const _0x5e8937={_0x5dafc8:0x163,_0x2e5e33:0x91,_0x25e9c6:0x150,_0x4f1bb5:0x12b,_0x4aa4cb:0x1f4,_0x364ff0:0x644,_0x3ef461:0x4f4,_0x30ec21:0x3f4,_0x43abd7:0x321,_0x1bff9a:0x364,_0x42b855:0x74c,_0x49d214:0x66e,_0x2a9338:0x519,_0x8f2c82:0x741,_0x1df02c:0x393,_0x51a764:0x3d9,_0x394b46:0x66a,_0x3e0fb8:0x6f3,_0x21f753:0x657,_0x3f0277:0x581,_0x1f81b6:0x6fb,_0x54632b:0x5f9,_0x178914:0x3b7,_0x3abec6:0x38b,_0x11d7c0:0x50c,_0x326963:0x1d6,_0x5a612f:0x3d6,_0x209d3e:0x264,_0x14ae64:0x246},_0x491f32={_0x7e05de:0x18d},_0x385d79={_0x42130c:0x47,_0x1963e6:0x241},_0x44bed0={_0x3b62b1:0x1b3,_0x4d2786:0x148};let _0x30ea3c=_0x43d8c2[_0x4a50aa(_0x5e8937._0x5dafc8,-0xca,-0x40,_0x5e8937._0x2e5e33)],_0x138103=![];function _0x4a50aa(_0x248708,_0x316fa0,_0x14b9be,_0x5bb44e){return _0x5469ba(_0x248708,_0x316fa0-0xa4,_0x14b9be-0x3,_0x5bb44e- -0x149);}const _0x4f7c7a=tokenizeCommandArguments(_0x43d8c2['argumentsText']);_0x30ea3c=_0x30ea3c['replace'](/\$ARGUMENTS\[(\d+)\]/g,(_0x2699c0,_0x42c53e)=>{return _0x138103=!![],_0x4f7c7a[Number(_0x42c53e)]??'';}),_0x30ea3c=_0x30ea3c[_0x4a50aa(0x1ed,_0x5e8937._0x25e9c6,_0x5e8937._0x4f1bb5,_0x5e8937._0x4aa4cb)](/\$ARGUMENTS\b/g,()=>{function _0x553cb2(_0x5d6618,_0x4638d1,_0x24af46,_0x5307b1){return _0x4a50aa(_0x5307b1,_0x4638d1-_0x44bed0._0x3b62b1,_0x24af46-0x1c,_0x4638d1- -_0x44bed0._0x4d2786);}return _0x138103=!![],_0x43d8c2[_0x553cb2(-_0x385d79._0x42130c,0xfe,_0x385d79._0x1963e6,0x290)];});function _0x9c5756(_0x24c3ae,_0x5c86ed,_0x1dfc3b,_0x14686e){return _0x5469ba(_0x5c86ed,_0x5c86ed-0xdf,_0x1dfc3b-_0x491f32._0x7e05de,_0x1dfc3b-0x32d);}if(_0x43d8c2[_0x9c5756(_0x5e8937._0x364ff0,_0x5e8937._0x3ef461,0x495,0x432)]&&_0x43d8c2[_0x9c5756(_0x5e8937._0x30ec21,_0x5e8937._0x43abd7,0x495,_0x5e8937._0x1bff9a)][_0x9c5756(_0x5e8937._0x42b855,_0x5e8937._0x49d214,0x608,_0x5e8937._0x2a9338)]>0x0)for(let _0x40ee5b=0x0;_0x40ee5b<_0x43d8c2['argumentNames'][_0x9c5756(0x703,0x6a5,0x608,_0x5e8937._0x8f2c82)];_0x40ee5b++){const _0x1cac48=_0x43d8c2[_0x9c5756(0x597,_0x5e8937._0x1df02c,0x495,_0x5e8937._0x51a764)][_0x40ee5b];if(_0x1cac48){const _0x20e629=new RegExp('\x5c$'+_0x1cac48+'\x5cb','g');_0x30ea3c=_0x30ea3c['replace'](_0x20e629,()=>{return _0x138103=!![],_0x4f7c7a[_0x40ee5b]??'';});}}return _0x30ea3c=_0x30ea3c[_0x9c5756(0x665,0x7de,_0x5e8937._0x394b46,0x799)](/\$(\d+)\b/g,(_0x1c16a2,_0x4c5ee3)=>{return _0x138103=!![],_0x4f7c7a[Number(_0x4c5ee3)]??'';}),!_0x138103&&_0x43d8c2[_0x9c5756(_0x5e8937._0x3e0fb8,_0x5e8937._0x21f753,0x6bc,_0x5e8937._0x3f0277)][_0x9c5756(0x663,0x6ed,_0x5e8937._0x1f81b6,_0x5e8937._0x54632b)]()&&(_0x30ea3c=_0x30ea3c+_0x9c5756(_0x5e8937._0x178914,_0x5e8937._0x3abec6,_0x5e8937._0x11d7c0,0x420)+_0x43d8c2[_0x4a50aa(_0x5e8937._0x326963,_0x5e8937._0x5a612f,_0x5e8937._0x209d3e,_0x5e8937._0x14ae64)]),_0x30ea3c;}var PROVIDER_API_KEY_ENVS=[{'env':'OPENROUTER_API_KEY','provider':_0x5469ba(0x303,0x430,0x11b,0x281)},{'env':'ANTHROPIC_API_KEY','provider':_0x5469ba(0x7f,0xe2,0x10a,0x207)},{'env':_0x4bfe88(0x463,0x306,0x31c,0x55e),'provider':_0x5469ba(0x300,0x3dd,0x30c,0x315)},{'env':_0x4bfe88(0x28c,0x2e5,0x30a,0x2c6),'provider':_0x5469ba(0x24e,0x20b,0x257,0x315)},{'env':'XAI_API_KEY','provider':'grok'},{'env':_0x5469ba(0x3ec,0x4ef,0x59e,0x3e8),'provider':'deepinfra'},{'env':'ZAI_API_KEY','provider':'zai'},{'env':_0x4bfe88(0x3c2,0x214,0x288,0x4a7),'provider':'moonshot'},{'env':_0x5469ba(0x280,0x297,0x1a7,0x1a2),'provider':_0x4bfe88(0x27e,0x33b,0x2cc,0xf1)},{'env':_0x5469ba(0x146,0x42,0x31d,0x1c4),'provider':_0x5469ba(0x48d,0x2ae,0x539,0x3a5)},{'env':_0x5469ba(0x19a,0x30b,0x12d,0x2d6),'provider':_0x5469ba(0x218,0x2a1,0x388,0x3cb)},{'env':_0x5469ba(0x66,0x140,0xbe,0xdb),'provider':_0x5469ba(0x30c,0x23f,0x190,0x2f7)},{'env':_0x4bfe88(0x415,0x46c,0x577,0x519),'provider':'opencode-go'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x5469ba(0x99,0x1e0,0x1cb,0x164)](_0x2da956=>_0x2da956['env']),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x5469ba(0x7f,0x20c,0x1cf,0x190),'GOOGLE_CSE_KEY','GOOGLE_CSE_CX'],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x4bfe88(0x1da,0x379,0x28c,0x2d3),'ENV','SHELLOPTS',_0x4bfe88(0x22a,0x344,0xb1,0x2ce),'CDPATH','GLOBIGNORE'],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x5469ba(0x1a9,0x238,0x171,0x2e6)](Object[_0x5469ba(0x552,0x3b7,0x3ff,0x3df)]),_0x4bfe88(0x4a2,0x30c,0x3f3,0x4de)]);function prototypeSafeRecord(_0x3f6ed0){const _0x5c59d4={_0x3a4538:0x2ad,_0x50eb7b:0x96,_0x16eba3:0x88,_0x370ca1:0x8f,_0x42bdaa:0x405,_0x28971e:0x52f},_0x41132f={_0x36baa0:0x11d,_0x180563:0x21b,_0x529541:0x19a,_0x21266f:0x1cd,_0x4aeee8:0x1c8,_0x53aae7:0xba,_0x2350f8:0x65},_0x183337={_0x5c1669:0x23c},_0x428f1a={_0x1e3211:0x189},_0x31c06d={_0x1afec5:0x73};function _0x322505(_0x1f50c9,_0x4e614a,_0xd3cda8,_0x201c52){return _0x4bfe88(_0x1f50c9- -0x19d,_0x4e614a-_0x31c06d._0x1afec5,_0xd3cda8-0x1a6,_0xd3cda8);}function _0xff1719(_0x4abbce,_0x513c48,_0x1b19d7,_0x492ba9){return _0x4bfe88(_0x513c48-0x42,_0x513c48-_0x428f1a._0x1e3211,_0x1b19d7-0x60,_0x4abbce);}return z['preprocess'](_0x2663f5=>{const _0x1f5261={_0xf27939:0x1e1};if(_0x2663f5===null||typeof _0x2663f5!=='object'||Array[_0x4a8ba3(-0x101,-_0x41132f._0x36baa0,-0x202,-_0x41132f._0x180563)](_0x2663f5))return null;function _0x4a8ba3(_0x247b78,_0x327af0,_0x592deb,_0xcd1204){return _0x5bda(_0x327af0- -_0x183337._0x5c1669,_0x247b78);}const _0x2f8b9d=Object['getPrototypeOf'](_0x2663f5);function _0x88325a(_0x43588d,_0x580320,_0x1b991b,_0x214551){return _0x5bda(_0x214551- -_0x1f5261._0xf27939,_0x580320);}if(_0x2f8b9d!==Object[_0x88325a(_0x41132f._0x529541,_0x41132f._0x21266f,0x2ab,_0x41132f._0x4aeee8)]&&_0x2f8b9d!==null)return null;return{'entries':Object[_0x4a8ba3(-0x13,-_0x41132f._0x53aae7,-0x2f,-_0x41132f._0x2350f8)](_0x2663f5)};},z['object']({'entries':z['array'](z[_0xff1719(_0x5c59d4._0x3a4538,0x31c,0x3c7,0x1e7)]([z[_0x322505(_0x5c59d4._0x50eb7b,0x244,_0x5c59d4._0x16eba3,_0x5c59d4._0x370ca1)](),_0x3f6ed0]))}))[_0xff1719(0x557,_0x5c59d4._0x42bdaa,_0x5c59d4._0x28971e,0x3a1)](({entries:_0x9d4577})=>Object['fromEntries'](_0x9d4577));}var chatModelAuthSchemeSchema=z[_0x5469ba(0x4cb,0x4ec,0x285,0x372)]([_0x4bfe88(0x34b,0x39e,0x500,0x3e2),_0x5469ba(-0x7,0x2ac,0x9f,0x132)]),apiKeyAuthSchema=z['object']({'type':z[_0x5469ba(0x181,0x19f,0x1b0,0x18e)](_0x5469ba(0x21c,0x2b3,0x301,0x37c)),'apiKey':z['string'](),'authScheme':chatModelAuthSchemeSchema[_0x4bfe88(0x484,0x624,0x31f,0x31d)]()})[_0x4bfe88(0x289,0x10b,0x264,0x2b6)](),oauthAuthSchema=z[_0x4bfe88(0x2fb,0x27e,0x43f,0x3df)]({'type':z[_0x5469ba(0x346,0x1f0,0x31f,0x18e)](_0x4bfe88(0x315,0x18e,0x2c8,0x3b3)),'access':z[_0x4bfe88(0x233,0x341,0x142,0xd2)](),'refresh':z[_0x5469ba(0x190,0x13c,0x251,0x170)](),'expires':z['number']()[_0x5469ba(0x4ca,0x271,0x4d6,0x3c1)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x5469ba(0x22,0x1cb,0x171,0x1c6)](),finiteNonNegative=z[_0x4bfe88(0x3c0,0x298,0x2be,0x406)]()[_0x5469ba(0x4c4,0x50e,0x353,0x386)]()[_0x5469ba(0x1c2,0x266,0x427,0x35f)](),chatGptAuthSchema=z[_0x5469ba(0x23a,0x33a,0x231,0x238)]({'type':z[_0x4bfe88(0x251,0x1a4,0x2a7,0x2a2)](_0x4bfe88(0x2e7,0x188,0x367,0x1cd)),'access':z['string']()[_0x5469ba(0x33a,0x40d,0x119,0x279)](0x1),'refresh':z[_0x5469ba(0x39,-0x44,0xb4,0x170)]()[_0x5469ba(0x392,0x1b1,0x3d4,0x279)](0x1),'idToken':z[_0x5469ba(0x18b,0x1c1,0xc6,0x170)]()[_0x4bfe88(0x33c,0x232,0x49e,0x2c8)](0x1),'accountId':z[_0x5469ba(0xef,0xe0,-0x10,0x170)]()[_0x5469ba(0x17b,0x13b,0x367,0x279)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x4bfe88(0x484,0x3f6,0x576,0x3f2)]()})['passthrough'](),authMethodSchema=z[_0x5469ba(0x349,0x286,0x134,0x1dd)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z['enum']([_0x4bfe88(0x175,0x32d,0x178,0x321),_0x4bfe88(0x2b3,0x1e2,0x2ad,0x3b9),_0x5469ba(0x99,0x4e,-0x61,0xc1),_0x5469ba(0x220,0x12d,0x161,0x2bb),'xhigh',_0x4bfe88(0x246,0x185,0x11b,0xa2)]),reasoningOptionSchema=z[_0x5469ba(0x353,0x2f1,0x14c,0x238)]({'id':z['string']()['trim']()[_0x4bfe88(0x33c,0x45e,0x3e6,0x404)](0x1),'description':z[_0x4bfe88(0x233,0x1c3,0x10e,0x334)]()[_0x4bfe88(0x484,0x472,0x4ab,0x342)](),'mode':z[_0x4bfe88(0x435,0x382,0x5be,0x5a9)]([_0x5469ba(0xad,0x1bb,0x2b5,0x256),_0x4bfe88(0x390,0x284,0x407,0x3a8)])[_0x4bfe88(0x484,0x4c3,0x391,0x3a1)](),'effort':reasoningEffortSchema[_0x4bfe88(0x484,0x60a,0x34e,0x5e2)](),'budgetTokens':z[_0x5469ba(0x218,0x16a,0x383,0x2fd)]()[_0x5469ba(0x2fd,0x2ef,0x36c,0x2a5)]()[_0x4bfe88(0x33c,0x486,0x1a1,0x311)](0x400)[_0x5469ba(0x2fb,0x29b,0x486,0x3c1)]()})[_0x4bfe88(0x2a8,0x335,0x372,0x183)]((_0x950953,_0x5d10b5)=>{const _0x1c078b={_0x3a5318:0x8a,_0x14aff2:0x46,_0x1d5709:0x132,_0x8c8a04:0x307,_0x3f208a:0x16d,_0x46451b:0x1ea,_0x381e79:0x132,_0x377da0:0x1cc,_0x9f0f84:0x33e,_0x252bc6:0xf1,_0x5178d9:0x36,_0x432a75:0x359,_0x15e061:0x2db,_0x49a19a:0x366,_0x2eedfd:0x152,_0x409d09:0x1b8,_0x135822:0x33,_0x598b9a:0x1cc,_0x43fe52:0x338,_0x45bffb:0x55,_0xd6e51a:0x149,_0x3f0626:0x15,_0x36e3f8:0x76,_0x38d03f:0x37,_0x190078:0x1cc,_0x434f7a:0x150,_0x5cd9e8:0x194,_0x339142:0x272,_0x2d4c85:0x2e0,_0x418b18:0x29c,_0x824747:0x271,_0x43a898:0x31c,_0x36a2fe:0x219,_0x3b2c56:0x359,_0xb40718:0x2f6,_0x94134:0x20a,_0x3d0f82:0x94,_0xde32ba:0xf5,_0xe54764:0x201,_0x38a38a:0x251,_0x5ea438:0x2d1,_0x3d7179:0x339},_0x495f40={_0x3b401c:0x3ce,_0x1670d9:0x39},_0x81d550=_0x950953['id'][_0x571229(-_0x1c078b._0x3a5318,-_0x1c078b._0x14aff2,_0x1c078b._0x1d5709,-0x1a3)]();(_0x81d550==='off'||_0x81d550===_0x268d22(0x166,0x105,0xc1,0x25b)||_0x81d550===_0x268d22(0x31e,0xcb,0x241,_0x1c078b._0x8c8a04))&&_0x5d10b5[_0x571229(-_0x1c078b._0x3f208a,-_0x1c078b._0x46451b,-0xbb,-0x192)]({'code':_0x268d22(0x19b,_0x1c078b._0x381e79,_0x1c078b._0x377da0,_0x1c078b._0x9f0f84),'path':['id'],'message':_0x571229(0xc8,_0x1c078b._0x252bc6,_0x1c078b._0x5178d9,0xf7)+_0x81d550+_0x571229(-_0x1c078b._0x432a75,-0x236,-_0x1c078b._0x15e061,-0x28e)});function _0x268d22(_0x31c994,_0x3843e8,_0x10f665,_0x2ad391){return _0x5469ba(_0x2ad391,_0x3843e8-0x11e,_0x10f665-0xd9,_0x10f665- -0xab);}function _0x571229(_0xe1acac,_0xc4adb6,_0x4f8e36,_0x16644d){return _0x4bfe88(_0xc4adb6- -_0x495f40._0x3b401c,_0xc4adb6-0x14c,_0x4f8e36-_0x495f40._0x1670d9,_0x4f8e36);}if(_0x950953['mode']===_0x268d22(0x2d7,_0x1c078b._0x49a19a,0x222,_0x1c078b._0x2eedfd)){_0x950953[_0x268d22(0x2fd,0x182,_0x1c078b._0x409d09,0xf6)]===void 0x0&&_0x5d10b5[_0x268d22(_0x1c078b._0x135822,0xfe,0x76,0x23)]({'code':_0x268d22(0x204,0x88,_0x1c078b._0x598b9a,_0x1c078b._0x43fe52),'path':[_0x268d22(_0x1c078b._0x45bffb,0x27a,0x1b8,0x337)],'message':_0x571229(0xee,-0x2b,-_0x1c078b._0xd6e51a,-0x7b)});_0x950953[_0x571229(0x73,-0x5f,-0x58,0x2b)]!==void 0x0&&_0x5d10b5[_0x268d22(_0x1c078b._0x3f0626,-0x108,_0x1c078b._0x36e3f8,_0x1c078b._0x38d03f)]({'code':_0x268d22(0x32d,0x2a9,_0x1c078b._0x190078,_0x1c078b._0x434f7a),'path':['effort'],'message':'Manual\x20reasoning\x20cannot\x20set\x20effort'});return;}_0x950953[_0x571229(0x10a,-0xa8,-_0x1c078b._0x5cd9e8,-0x143)]!==void 0x0&&_0x5d10b5[_0x571229(-_0x1c078b._0x339142,-0x1ea,-0xe2,-0xd2)]({'code':_0x268d22(_0x1c078b._0x2d4c85,0x2d3,0x1cc,_0x1c078b._0x418b18),'path':[_0x268d22(0x2d6,0xa4,_0x1c078b._0x409d09,0xf0)],'message':_0x268d22(0x2fb,_0x1c078b._0x824747,_0x1c078b._0x43a898,_0x1c078b._0x36a2fe)}),_0x950953['mode']===void 0x0&&_0x950953[_0x268d22(0x81,_0x1c078b._0x3b2c56,0x201,_0x1c078b._0xb40718)]===void 0x0&&_0x5d10b5[_0x268d22(-0xa6,_0x1c078b._0x94134,_0x1c078b._0x36e3f8,0x44)]({'code':_0x571229(-0x1db,-_0x1c078b._0x3d0f82,-_0x1c078b._0xde32ba,-_0x1c078b._0x434f7a),'path':[_0x268d22(0x1ed,0x123,_0x1c078b._0xe54764,0x1d7)],'message':_0x268d22(_0x1c078b._0x38a38a,_0x1c078b._0x5ea438,_0x1c078b._0x3d7179,0x436)});});function _0x5469ba(_0x3aff39,_0x5d0f7f,_0xed2784,_0x2bfffc){const _0x253d7b={_0x328ac4:0x36};return _0x5bda(_0x2bfffc-_0x253d7b._0x328ac4,_0x3aff39);}function validateReasoningOptionIds(_0x40a314,_0x1c6137){const _0x4e651b={_0x41f274:0x282,_0x38ffcd:0x5e,_0x585d71:0x13e,_0x380584:0x107,_0x2f0fc8:0x27c,_0x3d2354:0x11a,_0x5cbe8a:0xf2,_0x49387a:0xb0,_0xb2e841:0x251,_0x8e9769:0x32c,_0x1ff085:0x222,_0x1b5876:0x9d,_0x446d44:0x231,_0x633d03:0x29e,_0x1b200b:0x14c,_0x25497d:0x14,_0xd8cf89:0x3a7,_0x36af75:0x462,_0x3f0f53:0x1cd,_0x21f710:0x2be},_0x4c09fa={_0x58f05c:0x8e,_0x2b4b32:0x1be},_0x399248={_0x25a167:0x4dc};function _0x6bbcc4(_0x2e2584,_0xd8a7d3,_0x21118b,_0x63353b){return _0x4bfe88(_0x63353b- -_0x399248._0x25a167,_0xd8a7d3-0x1ed,_0x21118b-0x1ae,_0x2e2584);}const _0x32ca39=new Set();function _0x300328(_0x2b3bf3,_0xd91c06,_0x490852,_0x541e2d){return _0x5469ba(_0x490852,_0xd91c06-_0x4c09fa._0x58f05c,_0x490852-0x181,_0x2b3bf3- -_0x4c09fa._0x2b4b32);}for(let _0xe84290=0x0;_0xe84290<_0x40a314[_0x6bbcc4(-_0x4e651b._0x41f274,_0x4e651b._0x38ffcd,-0x1b1,-_0x4e651b._0x585d71)];_0xe84290+=0x1){const _0x2cac52=_0x40a314[_0xe84290]?.['id'][_0x300328(_0x4e651b._0x380584,_0x4e651b._0x2f0fc8,_0x4e651b._0x3d2354,_0x4e651b._0x5cbe8a)]();if(!_0x2cac52)continue;if(_0x32ca39[_0x6bbcc4(-_0x4e651b._0x49387a,-_0x4e651b._0xb2e841,-_0x4e651b._0x8e9769,-_0x4e651b._0x1ff085)](_0x2cac52)){_0x1c6137[_0x300328(-_0x4e651b._0x1b5876,-0xb5,-_0x4e651b._0x446d44,-0x52)]({'code':_0x6bbcc4(-0x40,-0xeb,-_0x4e651b._0x633d03,-0x1a2),'path':['options',_0xe84290,'id'],'message':_0x6bbcc4(-_0x4e651b._0x1b200b,0xce,0xe0,-_0x4e651b._0x25497d)+_0x2cac52+'\x22'});continue;}_0x32ca39[_0x6bbcc4(-_0x4e651b._0xd8cf89,-_0x4e651b._0x36af75,-_0x4e651b._0x3f0f53,-_0x4e651b._0x21f710)](_0x2cac52);}}var providerReasoningConfigSchema=z[_0x5469ba(0x342,0x31e,0x1ac,0x238)]({'options':z[_0x4bfe88(0x43e,0x3e5,0x579,0x332)](reasoningOptionSchema)})[_0x5469ba(0x231,0x33e,0x30c,0x1e5)]((_0x325332,_0x542363)=>{const _0x5deac5={_0x371ee7:0x58c,_0x29bc3e:0x432,_0x573970:0x27d},_0x1ad092={_0x3ecce9:0x127};function _0x4c84c5(_0x2b241d,_0x37f608,_0x1bcb01,_0x583f39){return _0x4bfe88(_0x1bcb01- -0x41,_0x37f608-_0x1ad092._0x3ecce9,_0x1bcb01-0x134,_0x583f39);}validateReasoningOptionIds(_0x325332[_0x4c84c5(0x282,_0x5deac5._0x371ee7,_0x5deac5._0x29bc3e,_0x5deac5._0x573970)],_0x542363);}),modelReasoningConfigSchema=z[_0x5469ba(0x91,0x1a1,0x225,0x238)]({'defaultOption':z[_0x5469ba(0x1b2,0x1d0,0x46,0x170)]()[_0x5469ba(0x370,0x231,0x503,0x3ce)]()[_0x4bfe88(0x33c,0x255,0x20b,0x41e)](0x1)[_0x5469ba(0x27e,0x280,0x31d,0x3c1)](),'canDisable':z['boolean']()[_0x5469ba(0x216,0x2e1,0x24b,0x3c1)](),'options':z[_0x5469ba(0x21e,0x333,0x4f3,0x37b)](reasoningOptionSchema)})['superRefine']((_0xbb4f02,_0x57082d)=>{const _0x42ecf0={_0x560698:0x256,_0x207071:0x203,_0x395bee:0x1c4,_0x451072:0x7,_0x49f930:0xae,_0x2f5ac4:0xf1,_0xbdc61d:0x26,_0x4153b4:0x65,_0x46f9d5:0x1c2,_0x4aa345:0x1,_0x1f5e2a:0xae,_0x2bf6f5:0xa6,_0x6fc6f9:0x64,_0xf83cee:0x627,_0x5d5556:0x6fa,_0xb1e744:0x746,_0xe52e17:0x60d,_0x7c65c:0x41e,_0x3035cf:0x37e,_0x8cd884:0x11,_0x33d062:0x145,_0x4597eb:0xea,_0x39e815:0x2f5,_0xde7ce5:0x39e,_0x3afd3b:0x5c2,_0x205e67:0x4e1,_0x59fcce:0x29c,_0x4f5ac2:0x3e2,_0x59efa0:0x202,_0x490cc0:0x2db},_0x31ad08={_0xd5f290:0x339,_0x10f4ae:0x2f},_0x2a0445={_0x311ebb:0x19a};function _0x372f67(_0x56cb02,_0x1cb9c4,_0x478702,_0x4835a9){return _0x4bfe88(_0x4835a9-_0x2a0445._0x311ebb,_0x1cb9c4-0x1a3,_0x478702-0x125,_0x1cb9c4);}validateReasoningOptionIds(_0xbb4f02[_0x316639(_0x42ecf0._0x560698,_0x42ecf0._0x207071,_0x42ecf0._0x395bee,0x13a)],_0x57082d);const _0x1e14b0=_0xbb4f02[_0x316639(-0x4e,_0x42ecf0._0x451072,-_0x42ecf0._0x49f930,-_0x42ecf0._0x2f5ac4)]?.[_0x316639(-_0x42ecf0._0xbdc61d,-0x22,-0x12b,0x4f)]();if(_0x1e14b0===void 0x0)return;function _0x316639(_0x346f31,_0x803fd2,_0x130b70,_0x3cae6b){return _0x4bfe88(_0x3cae6b- -_0x31ad08._0xd5f290,_0x803fd2-_0x31ad08._0x10f4ae,_0x130b70-0x1cb,_0x346f31);}if(_0x1e14b0===_0x316639(-0x330,-0x99,-0x209,-0x1a0)){_0xbb4f02[_0x316639(0x1f9,_0x42ecf0._0x4153b4,_0x42ecf0._0x46f9d5,0x10c)]!==!![]&&_0x57082d['addIssue']({'code':_0x316639(-0xd3,0x155,0xdd,_0x42ecf0._0x4aa345),'path':[_0x316639(-_0x42ecf0._0x1f5e2a,-_0x42ecf0._0x2bf6f5,-_0x42ecf0._0x6fc6f9,-0xf1)],'message':'Reasoning\x20default\x20\x22off\x22\x20requires\x20canDisable:\x20true'});return;}!_0xbb4f02[_0x372f67(_0x42ecf0._0xf83cee,_0x42ecf0._0x5d5556,_0x42ecf0._0xb1e744,_0x42ecf0._0xe52e17)][_0x372f67(_0x42ecf0._0x7c65c,0x5e9,0x49c,0x50f)](_0x1f41d1=>_0x1f41d1['id'][_0x372f67(0x57f,0x5b2,0x69a,0x522)]()===_0x1e14b0)&&_0x57082d[_0x372f67(0x4ab,0x3b9,0x330,_0x42ecf0._0x3035cf)]({'code':_0x316639(-_0x42ecf0._0x8cd884,-_0x42ecf0._0x33d062,_0x42ecf0._0x4597eb,_0x42ecf0._0x4aa345),'path':[_0x372f67(_0x42ecf0._0x39e815,0x436,_0x42ecf0._0xde7ce5,0x3e2)],'message':_0x372f67(0x410,0x413,_0x42ecf0._0x3afd3b,_0x42ecf0._0x205e67)+_0xbb4f02[_0x372f67(_0x42ecf0._0x59fcce,0x28d,0x230,_0x42ecf0._0x4f5ac2)]+_0x316639(-_0x42ecf0._0x59efa0,-0x31c,-_0x42ecf0._0x490cc0,-0x191)});}),modelDefinitionSchema=z['object']({'id':z[_0x5469ba(0x1f4,0x104,0x232,0x170)](),'name':z['string']()[_0x5469ba(0x2a2,0x39b,0x295,0x3c1)](),'reasoning':modelReasoningConfigSchema[_0x4bfe88(0x484,0x3bc,0x35e,0x354)]()})['passthrough'](),modelConfigSchema=z['union']([z[_0x4bfe88(0x251,0x20d,0x1f1,0xf1)](![]),z[_0x4bfe88(0x251,0x2c4,0x32b,0x33d)](!![]),z[_0x4bfe88(0x233,0x28c,0x1cf,0x174)](),z[_0x4bfe88(0x43e,0x53f,0x2a5,0x2a7)](z[_0x4bfe88(0x233,0x224,0x314,0x227)]()),z[_0x4bfe88(0x43e,0x593,0x55a,0x4b8)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x4bfe88(0x435,0x4b6,0x487,0x579)]([_0x4bfe88(0x1a6,0x135,0x340,0x2da),_0x4bfe88(0x25a,0x3f6,0x1ac,0xd7),'openai-responses',_0x4bfe88(0x44c,0x323,0x337,0x4be)]),providerConfigSchema=z['object']({'apiKey':z[_0x5469ba(0x168,0x20d,0x2b2,0x170)]()[_0x5469ba(0x39f,0x53f,0x4a9,0x3c1)](),'token':z[_0x5469ba(0x15c,0x1b,0x265,0x170)]()['optional'](),'defaultModel':z['string']()['optional'](),'smallModel':z[_0x5469ba(0x1df,0x183,0x116,0x170)]()[_0x5469ba(0x289,0x4aa,0x2a3,0x3c1)](),'currentAuth':z[_0x4bfe88(0x233,0x2a0,0x19a,0x3e8)]()['optional'](),'auth':z[_0x5469ba(0x330,0x337,0x2c2,0x37b)](authMethodSchema)[_0x4bfe88(0x484,0x5ae,0x424,0x615)](),'surface':chatModelSurfaceSchema['optional'](),'baseUrl':z['string']()['optional'](),'models':modelConfigSchema[_0x4bfe88(0x484,0x517,0x4a7,0x4a0)](),'customHeaders':z['record'](z[_0x4bfe88(0x233,0x218,0x14f,0x199)](),z[_0x5469ba(0x306,-0x34,0x161,0x170)]())[_0x4bfe88(0x484,0x4d3,0x3b2,0x3fa)](),'reasoning':providerReasoningConfigSchema[_0x5469ba(0x447,0x2c6,0x32e,0x3c1)]()})[_0x4bfe88(0x289,0x18f,0xf0,0x3b1)](),mcpServerConfigSchema=z[_0x4bfe88(0x2fb,0x342,0x2c5,0x480)]({'command':z[_0x4bfe88(0x233,0x295,0x31a,0x38b)]()[_0x4bfe88(0x484,0x553,0x480,0x563)](),'args':z[_0x5469ba(0x469,0x43e,0x2ff,0x37b)](z['string']())['optional'](),'env':z['record'](z['string'](),z[_0x5469ba(0x23,0x279,0xab,0x170)]())['optional'](),'transport':z[_0x5469ba(0x32f,0x503,0x50c,0x372)]([_0x5469ba(0x1b0,0x31b,0x29c,0x23b),'http'])[_0x5469ba(0x45e,0x2f4,0x3a4,0x3c1)](),'url':z['string']()[_0x5469ba(0x53d,0x514,0x4bf,0x3c1)](),'headers':z[_0x4bfe88(0x49b,0x36e,0x506,0x45d)](z[_0x4bfe88(0x233,0xa7,0x9b,0x38a)](),z[_0x5469ba(0x104,0x20b,0xd6,0x170)]())[_0x5469ba(0x321,0x3d9,0x547,0x3c1)](),'prefix':z[_0x4bfe88(0x233,0x245,0x259,0x1c6)]()[_0x5469ba(0x4cc,0x303,0x31e,0x3c1)](),'timeoutMs':z[_0x5469ba(0x2e2,0x3bf,0x288,0x2fd)]()['optional'](),'enabled':z[_0x4bfe88(0x458,0x4b1,0x3de,0x352)]()[_0x4bfe88(0x484,0x40a,0x382,0x3ea)](),'auth':z[_0x4bfe88(0x2fb,0x351,0x29a,0x24b)]({'type':z[_0x5469ba(0x34f,0x2f8,0x3ca,0x372)]([_0x4bfe88(0x1e1,0x199,0x213,0x380),_0x5469ba(0x123,0x422,0x429,0x288),_0x4bfe88(0x315,0x437,0x480,0x25a)]),'token':z[_0x5469ba(0x306,0x256,-0x46,0x170)]()[_0x5469ba(0x264,0x2b5,0x4f2,0x3c1)](),'oauth':z['object']({'clientId':z[_0x4bfe88(0x233,0x2d0,0x22f,0xcf)]()['optional'](),'clientMetadataUrl':z[_0x5469ba(0x1f3,0x27f,0x218,0x170)]()['optional'](),'authorizationServer':z[_0x5469ba(-0x1c,-0x3b,0xd0,0x170)]()[_0x4bfe88(0x484,0x3a6,0x556,0x4f2)](),'scopes':z[_0x4bfe88(0x43e,0x563,0x513,0x357)](z['string']())['optional'](),'tokenStorageKey':z[_0x5469ba(0x8e,0xe2,0xa3,0x170)]()[_0x4bfe88(0x484,0x60d,0x35c,0x532)]()})[_0x5469ba(0x40,0x314,0x1ab,0x1c6)]()[_0x5469ba(0x20c,0x3e8,0x2b2,0x3c1)]()})[_0x4bfe88(0x289,0x362,0x11f,0x3be)]()[_0x4bfe88(0x484,0x4c0,0x40e,0x5c2)]()})[_0x5469ba(0x5c,0x2cf,0x2b,0x1c6)](),mcpToolPermissionClassSchema=z['enum']([_0x4bfe88(0x2a7,0x344,0x401,0x326),_0x5469ba(0x2bf,0x26d,0x2e0,0x370),_0x5469ba(0x1d8,0x28d,0x3bc,0x330)]),mcpSettingsSchema=z['object']({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z['boolean']()))['optional'](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x5469ba(0x4b3,0x54b,0x3c9,0x3c1)](),'defaultTimeoutMs':z[_0x5469ba(0x426,0x2f1,0x448,0x2fd)]()[_0x5469ba(0x38b,0x37a,0x3fc,0x3c1)]()})[_0x5469ba(0xa5,0x20d,0x192,0x1c6)](),skillsSettingsSchema=z[_0x4bfe88(0x2fb,0x2cc,0x459,0x3bb)]({'enabled':z[_0x5469ba(0x3af,0x2d2,0x4e6,0x395)]()[_0x5469ba(0x311,0x219,0x405,0x3c1)](),'includeDefaults':z[_0x4bfe88(0x458,0x52b,0x533,0x520)]()['optional'](),'directories':z[_0x5469ba(0x4a2,0x30a,0x50b,0x37b)](z['string']())[_0x4bfe88(0x484,0x62f,0x595,0x56b)](),'exclude':z[_0x5469ba(0x238,0x260,0x2fd,0x37b)](z[_0x5469ba(0x325,0x145,0x2cb,0x170)]())[_0x5469ba(0x46a,0x4c4,0x236,0x3c1)]()})['passthrough'](),commandsSettingsSchema=z[_0x5469ba(0x32b,0x104,0xb6,0x238)]({'enabled':z['boolean']()[_0x5469ba(0x338,0x3f6,0x316,0x3c1)](),'directories':z[_0x5469ba(0x256,0x330,0x24f,0x37b)](z[_0x4bfe88(0x233,0x20c,0x1de,0x305)]())[_0x4bfe88(0x484,0x633,0x574,0x517)]()})[_0x5469ba(0x236,0x115,0xf3,0x1c6)](),agentsSettingsSchema=z['object']({'enabled':z[_0x5469ba(0x4ea,0x505,0x272,0x395)]()[_0x5469ba(0x23c,0x475,0x251,0x3c1)](),'includeDefaults':z[_0x4bfe88(0x458,0x2ba,0x3b9,0x492)]()['optional'](),'directories':z['array'](z[_0x4bfe88(0x233,0x187,0x104,0x185)]())[_0x4bfe88(0x484,0x603,0x49f,0x4dd)](),'maxConcurrency':z[_0x4bfe88(0x3c0,0x433,0x39b,0x432)]()[_0x4bfe88(0x449,0x31d,0x472,0x558)]()['int']()[_0x5469ba(0x324,0x231,0x387,0x1f2)]()[_0x5469ba(0x56f,0x410,0x4ce,0x3c1)]()})[_0x5469ba(0x202,0x88,0x286,0x1c6)](),uiThemeSettingsSchema=z[_0x4bfe88(0x2fb,0x487,0x3b0,0x3f9)]({'mode':z[_0x5469ba(0x237,0x24b,0x2b2,0x372)]([_0x4bfe88(0x3f5,0x326,0x3d4,0x533),'dark',_0x5469ba(0xaa,0xa9,0x155,0x1ce)])['optional'](),'colorLevel':z[_0x5469ba(0x489,0x4d5,0x28c,0x372)](['auto','none',_0x4bfe88(0x17d,-0x11,0x32,-0x32),_0x4bfe88(0x229,0x210,0x397,0x295),'truecolor'])[_0x5469ba(0x35c,0x272,0x343,0x3c1)](),'backgrounds':z[_0x4bfe88(0x435,0x50d,0x3ea,0x405)]([_0x4bfe88(0x3f5,0x45d,0x4c4,0x2a4),'on',_0x5469ba(-0xa0,0x48,0x3b,0xd6)])[_0x4bfe88(0x484,0x3cf,0x600,0x4f4)](),'messageStyle':z['enum']([_0x4bfe88(0x231,0xe2,0x155,0x88),_0x4bfe88(0x430,0x3bc,0x5cd,0x383)])[_0x4bfe88(0x484,0x518,0x60c,0x502)]()})[_0x5469ba(0x1ee,0x341,0x2a2,0x1c6)](),statuslineSegmentSchema=z[_0x4bfe88(0x435,0x337,0x2b3,0x4d8)](['model',_0x4bfe88(0x36c,0x2ec,0x258,0x399),_0x5469ba(0x2cf,0x3a6,0x413,0x387),_0x4bfe88(0x48c,0x380,0x4ec,0x5e8),'tokens',_0x5469ba(0x2d2,0x5a6,0x468,0x3ff),_0x5469ba(0x1f9,0x33c,0x29a,0x2f2),_0x5469ba(0x3c1,0x319,0x1f0,0x393),'tools',_0x4bfe88(0x171,0x29,0x1e0,0x7b),_0x4bfe88(0x46f,0x567,0x434,0x493),'gitBranch',_0x5469ba(0x4c0,0x43a,0x16c,0x30d),'memory',_0x4bfe88(0x4c0,0x671,0x370,0x36d)]),statuslineItemSchema=z['union']([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z[_0x4bfe88(0x43e,0x3dd,0x5ea,0x5e2)](statuslineItemSchema),statuslineConfigSchema=z[_0x5469ba(0x1cd,0x135,0x101,0x238)]({'rows':z[_0x5469ba(0x3b1,0x184,0x2b8,0x217)]([statuslineRowSchema,statuslineRowSchema])['optional']()})[_0x4bfe88(0x289,0x22f,0x2a5,0x382)](),memorySettingsSchema=z[_0x5469ba(0xe8,0x201,0x163,0x238)]({'version':z['literal'](0x2)[_0x5469ba(0x3af,0x25f,0x371,0x3c1)](),'retrieval':z[_0x5469ba(0xa3,0x298,0x1ca,0x238)]({'engine':z[_0x5469ba(0x210,0x159,0xee,0x18e)]('bm25')['optional'](),'candidateLimit':z['number']()[_0x5469ba(0x219,0x50a,0x492,0x3c1)](),'activeCandidateLimit':z[_0x4bfe88(0x3c0,0x578,0x214,0x297)]()['optional'](),'activeEnabled':z[_0x5469ba(0x3fc,0x33c,0x4a2,0x395)]()[_0x5469ba(0x3e0,0x441,0x558,0x3c1)](),'maxQueriesPerTurn':z[_0x5469ba(0x3f5,0x1be,0x20d,0x2fd)]()[_0x4bfe88(0x484,0x40a,0x3d6,0x3ab)](),'coreInjectTokenBudget':z['number']()[_0x5469ba(0x36c,0x3c5,0x372,0x3c1)](),'injectTokenBudget':z[_0x4bfe88(0x3c0,0x3ba,0x3e2,0x3e7)]()[_0x4bfe88(0x484,0x54f,0x5a5,0x4fe)](),'minScore':z[_0x4bfe88(0x3c0,0x546,0x329,0x251)]()[_0x4bfe88(0x484,0x3b1,0x587,0x37b)](),'freshnessHalfLifeDays':z[_0x4bfe88(0x3c0,0x4ac,0x232,0x558)]()[_0x5469ba(0x516,0x51e,0x432,0x3c1)]()})[_0x5469ba(0x304,0x116,0x1d5,0x1c6)]()['optional'](),'extraction':z[_0x4bfe88(0x2fb,0x4ae,0x2f9,0x160)]({'enabled':z[_0x4bfe88(0x458,0x4fd,0x5d1,0x545)]()['optional'](),'provider':z['string']()[_0x5469ba(0x318,0x4cb,0x32a,0x3c1)](),'model':z['string']()[_0x4bfe88(0x484,0x43f,0x37a,0x4a9)](),'sensitiveFilter':z[_0x5469ba(0x25b,0x488,0x3e7,0x395)]()[_0x4bfe88(0x484,0x4b6,0x2dd,0x3f7)]()})[_0x5469ba(0x49,0xc4,0x49,0x1c6)]()['optional'](),'index':z[_0x4bfe88(0x2fb,0x3c7,0x299,0x43a)]({'persisted':z[_0x5469ba(0x375,0x382,0x504,0x395)]()[_0x4bfe88(0x484,0x63c,0x60f,0x5e8)](),'flushIntervalMs':z[_0x4bfe88(0x3c0,0x4a2,0x2b8,0x4cf)]()[_0x5469ba(0x20f,0x2e3,0x408,0x3c1)]()})['passthrough']()['optional'](),'enabled':z[_0x5469ba(0x1fb,0x512,0x34c,0x395)]()[_0x5469ba(0x2e9,0x4da,0x306,0x3c1)](),'saveTool':z[_0x4bfe88(0x458,0x5ed,0x4d8,0x509)]()[_0x4bfe88(0x484,0x5fd,0x329,0x484)](),'model':z[_0x4bfe88(0x233,0x230,0xe8,0x26c)]()['optional'](),'provider':z[_0x5469ba(0x27a,0xa7,0x193,0x170)]()[_0x4bfe88(0x484,0x428,0x44e,0x469)](),'maxInjectionTokens':z[_0x4bfe88(0x3c0,0x424,0x38b,0x30f)]()[_0x4bfe88(0x484,0x4f7,0x430,0x4f5)](),'backgroundExtraction':z[_0x5469ba(0x44a,0x314,0x311,0x395)]()['optional']()})[_0x4bfe88(0x289,0xff,0x24f,0x2e9)](),recentModelSchema=z[_0x4bfe88(0x2fb,0x198,0x3c7,0x3b9)]({'provider':z['string'](),'model':z[_0x5469ba(0xd9,0xfa,0x269,0x170)](),'usedAt':z[_0x5469ba(0x203,0x462,0x385,0x2fd)]()})[_0x4bfe88(0x289,0x1e8,0x424,0x2de)](),lspServerEntrySchema=z['object']({'disabled':z[_0x5469ba(0x1fd,0x535,0x3e6,0x395)]()[_0x4bfe88(0x484,0x579,0x34c,0x2f5)](),'command':z[_0x5469ba(0x310,0xda,0x1a4,0x170)]()[_0x5469ba(0x419,0x2cf,0x346,0x3c1)](),'args':z[_0x4bfe88(0x43e,0x29d,0x317,0x41e)](z[_0x5469ba(0x13f,0x13d,0x10e,0x170)]())[_0x4bfe88(0x484,0x5df,0x484,0x2eb)](),'rootMarkers':z[_0x4bfe88(0x43e,0x392,0x5f3,0x445)](z[_0x4bfe88(0x233,0x2e7,0x102,0x252)]())[_0x4bfe88(0x484,0x30d,0x474,0x495)]()})[_0x4bfe88(0x289,0x291,0x440,0x2ce)](),lspConfigSchema=z[_0x4bfe88(0x2fb,0x17e,0x259,0x2a5)]({'enabled':z[_0x4bfe88(0x458,0x3de,0x40f,0x444)]()[_0x4bfe88(0x484,0x379,0x50e,0x5d4)](),'servers':z[_0x5469ba(0x2c7,0x548,0x466,0x3d8)](z[_0x5469ba(0x59,0x22c,0x25d,0x170)](),lspServerEntrySchema)[_0x4bfe88(0x484,0x439,0x3f7,0x560)]()})['passthrough'](),serverEndpointSchema=z[_0x5469ba(0x2a4,0x3e1,0x221,0x238)]({'url':z[_0x4bfe88(0x233,0x2bf,0x34f,0x147)](),'token':z[_0x4bfe88(0x233,0x1fb,0xc8,0x16d)]()[_0x4bfe88(0x484,0x4ba,0x420,0x4fc)]()})[_0x4bfe88(0x289,0x37e,0x412,0x273)](),commandHookConfigSchema=z[_0x4bfe88(0x2fb,0x324,0x213,0x285)]({'type':z[_0x5469ba(0x18,0x2af,-0x20,0x18e)]('command'),'command':z[_0x4bfe88(0x233,0x1f2,0x175,0x138)](),'timeout':z[_0x5469ba(0x47d,0x301,0x3c8,0x2fd)]()['optional']()}),hookMatcherGroupSchema=z[_0x5469ba(0x348,0x90,0x265,0x238)]({'matcher':z[_0x4bfe88(0x233,0x261,0x2a2,0x363)]()[_0x4bfe88(0x484,0x370,0x3dc,0x3e9)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x5469ba(0x200,0x19d,0x8a,0x238)]({'PreToolUse':z[_0x4bfe88(0x43e,0x3f8,0x4d1,0x28e)](hookMatcherGroupSchema)[_0x4bfe88(0x484,0x322,0x4be,0x5d1)](),'PostToolUse':z[_0x4bfe88(0x43e,0x3a6,0x2f8,0x493)](hookMatcherGroupSchema)[_0x4bfe88(0x484,0x401,0x4eb,0x3ce)](),'UserPromptSubmit':z['array'](hookMatcherGroupSchema)[_0x5469ba(0x29b,0x33e,0x312,0x3c1)](),'Stop':z[_0x5469ba(0x282,0x273,0x33d,0x37b)](hookMatcherGroupSchema)[_0x4bfe88(0x484,0x414,0x603,0x4bf)](),'Notification':z[_0x5469ba(0x281,0x236,0x33a,0x37b)](hookMatcherGroupSchema)[_0x4bfe88(0x484,0x53f,0x5ea,0x3b4)](),'ToolApprovalRequest':z[_0x4bfe88(0x43e,0x3c7,0x502,0x3c8)](hookMatcherGroupSchema)[_0x4bfe88(0x484,0x61c,0x56c,0x5e3)](),'SessionStart':z['array'](hookMatcherGroupSchema)['optional'](),'SessionEnd':z[_0x4bfe88(0x43e,0x508,0x2f5,0x509)](hookMatcherGroupSchema)[_0x4bfe88(0x484,0x51c,0x50d,0x61b)]()}),providerNameSchema=z[_0x5469ba(0xf4,0x146,0x119,0x170)]()[_0x4bfe88(0x33c,0x277,0x2ab,0x33c)](0x1,_0x5469ba(0x437,0x254,0x255,0x399))[_0x4bfe88(0x214,0x15e,0x2a8,0x1df)](_0x29b9ff=>!_0x29b9ff[_0x4bfe88(0x39d,0x2ed,0x2b3,0x2dc)](':'),_0x5469ba(-0x17,0x2d9,0x38,0x13c)),bashPolicyRuleSchema=z[_0x4bfe88(0x2fb,0x3a8,0x478,0x324)]({'id':z[_0x5469ba(0x211,-0x1c,0x174,0x170)]()[_0x4bfe88(0x491,0x2e9,0x3aa,0x384)]()[_0x5469ba(0x275,0x416,0x215,0x279)](0x1)[_0x4bfe88(0x246,0xf8,0x243,0x120)](0x80),'action':z[_0x5469ba(0x1c1,0x29e,0x4a4,0x372)]([_0x5469ba(0x8,0x33a,0x1fc,0x1a8),'deny']),'cwd':z[_0x4bfe88(0x435,0x2e1,0x5e9,0x5e7)]([_0x5469ba(0x224,0x220,0x1bd,0x363),'any-allowed'])['optional'](),'commands':z[_0x5469ba(0x52e,0x50d,0x421,0x37b)](z[_0x4bfe88(0x233,0x207,0x2d4,0x2a9)]()['min'](0x1))['min'](0x1)})[_0x4bfe88(0x314,0x33d,0x4be,0x358)](),bashPolicyConfigSchema=z['object']({'default':z[_0x4bfe88(0x251,0x267,0x2c4,0x3d7)](_0x4bfe88(0x2d1,0x245,0x1ae,0x245))[_0x4bfe88(0x484,0x46e,0x2ce,0x2f9)](),'rules':z[_0x4bfe88(0x43e,0x2b7,0x303,0x528)](bashPolicyRuleSchema)['max'](0x3e8)})['strict'](),cliConfigSchema=z[_0x5469ba(0x114,0x3d6,0x139,0x238)]({'activeProvider':providerNameSchema[_0x5469ba(0x4bd,0x339,0x33b,0x3c1)](),'activeModel':z[_0x4bfe88(0x233,0x387,0xee,0xe0)]()[_0x4bfe88(0x484,0x459,0x42f,0x425)](),'apiKey':z[_0x4bfe88(0x233,0x1ab,0xf3,0x1b8)]()[_0x4bfe88(0x484,0x4f7,0x618,0x4a2)](),'providers':z['record'](providerNameSchema,providerConfigSchema)[_0x5469ba(0x387,0x24e,0x232,0x3c1)](),'mcp':mcpSettingsSchema[_0x5469ba(0x408,0x2d5,0x522,0x3c1)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x4bfe88(0x484,0x468,0x43f,0x554)](),'commands':commandsSettingsSchema[_0x5469ba(0x26c,0x2d8,0x471,0x3c1)](),'skillsEnabled':z['record'](z[_0x4bfe88(0x233,0x2c0,0x33a,0x35b)](),z[_0x4bfe88(0x458,0x53b,0x375,0x2a8)]())[_0x4bfe88(0x484,0x322,0x5af,0x372)](),'allowedDirs':z[_0x5469ba(0x234,0x34c,0x312,0x37b)](z['string']())[_0x4bfe88(0x484,0x56d,0x5f3,0x48c)](),'mcpEnabled':prototypeSafeRecord(z['boolean']())[_0x5469ba(0x222,0x21d,0x47e,0x3c1)](),'commandsEnabled':z[_0x5469ba(0x3d7,0x3aa,0x369,0x3d8)](z[_0x5469ba(0x10b,0x28b,0xe2,0x170)](),z[_0x5469ba(0x32c,0x54b,0x4ba,0x395)]())[_0x5469ba(0x2e2,0x242,0x33a,0x3c1)](),'memory':memorySettingsSchema[_0x4bfe88(0x484,0x4bf,0x46d,0x474)](),'session':z[_0x4bfe88(0x2fb,0x3db,0x2a1,0x3f4)]({'memPersist':z[_0x4bfe88(0x458,0x4b5,0x5cf,0x484)]()[_0x4bfe88(0x484,0x582,0x431,0x452)](),'persistEventLog':z[_0x4bfe88(0x458,0x479,0x455,0x407)]()[_0x4bfe88(0x484,0x5fd,0x4fd,0x550)](),'persistHttpLog':z[_0x5469ba(0x38e,0x3d3,0x251,0x395)]()[_0x5469ba(0x367,0x486,0x29b,0x3c1)]()})[_0x5469ba(0x310,0x35e,0x182,0x1c6)]()['optional'](),'requireToolApproval':z[_0x4bfe88(0x458,0x60b,0x302,0x480)]()['optional'](),'thinking':z['object']({'selections':z[_0x4bfe88(0x49b,0x31a,0x4eb,0x497)](z[_0x5469ba(0x140,0x128,0x318,0x170)](),z[_0x4bfe88(0x233,0x2fb,0x1dd,0x3a0)]())[_0x4bfe88(0x484,0x455,0x377,0x438)]()})[_0x4bfe88(0x484,0x3f6,0x3d0,0x5b3)](),'streamingChunks':z[_0x5469ba(0x337,0x3f8,0x387,0x395)]()[_0x4bfe88(0x484,0x35e,0x40e,0x43a)](),'agentsEnabled':z['record'](z['string'](),z[_0x5469ba(0x22e,0x526,0x2ae,0x395)]())[_0x4bfe88(0x484,0x389,0x4e5,0x3ab)](),'recentModels':z['array'](recentModelSchema)['optional'](),'lsp':lspConfigSchema['optional'](),'servers':z[_0x5469ba(0x275,0x334,0x529,0x3d8)](z[_0x4bfe88(0x233,0x202,0x1c0,0x164)](),serverEndpointSchema)['optional'](),'ui':z['object']({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x5469ba(0x483,0x2b9,0x4b4,0x3c1)]()})[_0x5469ba(0x349,0x1b2,0x4b,0x1c6)]()[_0x4bfe88(0x484,0x409,0x380,0x46c)](),'tools':z[_0x5469ba(0x372,0x312,0x32b,0x3d8)](z[_0x4bfe88(0x233,0x87,0x369,0xda)](),z['unknown']())[_0x4bfe88(0x484,0x4d3,0x54d,0x465)](),'hooks':hooksConfigSchema[_0x4bfe88(0x484,0x35c,0x3c7,0x46a)](),'bashPolicy':z['unknown']()[_0x4bfe88(0x484,0x439,0x582,0x400)]()})[_0x5469ba(0x352,0x1eb,0x26e,0x1c6)](),workspaceOverlaySchema=z[_0x5469ba(0x335,0x33c,0xbb,0x238)]({'root':z[_0x5469ba(0x20,0x4f,0x159,0x170)]()['optional'](),'allowedDirs':z[_0x4bfe88(0x43e,0x50d,0x5bd,0x44c)](z[_0x5469ba(0x100,0x66,0x209,0x170)]())[_0x4bfe88(0x484,0x57a,0x37d,0x555)](),'activeProvider':providerNameSchema[_0x5469ba(0x443,0x348,0x521,0x3c1)](),'activeModel':z['string']()[_0x4bfe88(0x484,0x41b,0x57d,0x619)](),'mcp':mcpSettingsSchema[_0x4bfe88(0x484,0x4b3,0x544,0x37d)](),'skills':skillsSettingsSchema[_0x4bfe88(0x484,0x495,0x5cc,0x460)](),'agents':agentsSettingsSchema[_0x5469ba(0x4ca,0x3ac,0x48d,0x3c1)](),'commands':commandsSettingsSchema['optional'](),'hooks':hooksConfigSchema[_0x5469ba(0x225,0x4f4,0x572,0x3c1)](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x5469ba(0x3d9,0x3f6,0x4da,0x395)]())['optional'](),'skillsEnabled':z[_0x4bfe88(0x49b,0x442,0x4ff,0x553)](z[_0x5469ba(0x269,0x74,0x5,0x170)](),z[_0x4bfe88(0x458,0x373,0x3ce,0x32a)]())['optional'](),'agentsEnabled':z[_0x4bfe88(0x49b,0x4e5,0x3e8,0x5e0)](z['string'](),z[_0x5469ba(0x3ff,0x49b,0x45b,0x395)]())['optional'](),'commandsEnabled':z[_0x5469ba(0x495,0x30d,0x4fe,0x3d8)](z[_0x4bfe88(0x233,0xad,0x210,0x32a)](),z['boolean']())[_0x4bfe88(0x484,0x5db,0x605,0x31a)](),'bashPolicy':z[_0x5469ba(0x22c,0x3a8,0x14b,0x29b)]()[_0x4bfe88(0x484,0x579,0x4ac,0x471)]()})[_0x5469ba(0xb8,0x131,0x368,0x1c6)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x5469ba(0x152,0x380,0x34f,0x2e6)](Object[_0x4bfe88(0x4a2,0x53b,0x4eb,0x4ae)]),'prototype']);function buildDescription(_0x2e3ef7){const _0x314d6d={_0x273dd4:0x6b5,_0x554a26:0x500,_0x119a4e:0x177,_0x5f5c26:0x36f,_0x5d4cc3:0x2ae,_0x271e78:0x210,_0x3b0da9:0x62f,_0x123304:0x62b,_0x309ac5:0x392,_0x2e0f57:0x33f},_0x5a882c={_0x1ead87:0x4e,_0x3fb271:0x25b},_0x13f028={_0x217f21:0xee,_0x2b6ad2:0x1cf,_0x24bf06:0x1ad};function _0x1c5e50(_0x267a3a,_0x52d839,_0x41eebb,_0xd4cca0){return _0x5469ba(_0x41eebb,_0x52d839-_0x13f028._0x217f21,_0x41eebb-_0x13f028._0x2b6ad2,_0xd4cca0-_0x13f028._0x24bf06);}function _0x239441(_0x50b627,_0x1b4c35,_0xabe2e,_0x5b9b4e){return _0x5469ba(_0x1b4c35,_0x1b4c35-0xe9,_0xabe2e-_0x5a882c._0x1ead87,_0x5b9b4e-_0x5a882c._0x3fb271);}if(_0x2e3ef7[_0x239441(_0x314d6d._0x273dd4,0x38e,_0x314d6d._0x554a26,0x536)]===0x0)return['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.',_0x1c5e50(_0x314d6d._0x119a4e,0x39a,_0x314d6d._0x5f5c26,_0x314d6d._0x5d4cc3),_0x1c5e50(0x2cb,0x1a7,_0x314d6d._0x271e78,0x350)]['join']('\x0a');const _0x55d679=[_0x1c5e50(_0x314d6d._0x3b0da9,_0x314d6d._0x123304,0x519,0x535),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x1c5e50(0x3f5,0x48d,_0x314d6d._0x309ac5,_0x314d6d._0x2e0f57),..._0x2e3ef7['map'](_0x4fede8=>_0x4fede8[_0x239441(0x460,0x3cd,0x5a5,0x4f2)]?'-\x20'+_0x4fede8['name']+'\x20'+_0x4fede8[_0x239441(0x52b,0x561,0x3da,0x4f2)]+':\x20'+_0x4fede8[_0x239441(0x2a0,0x26e,0x385,0x387)]:'-\x20'+_0x4fede8[_0x239441(0x579,0x288,0x4bc,0x3d5)]+':\x20'+_0x4fede8[_0x1c5e50(0x125,0x1a2,0x313,0x2d9)])];return _0x55d679[_0x1c5e50(0x5a9,0x716,0x52a,0x5a4)]('\x0a');}function createInvokeCommandTool(_0x4fcb45){const _0x51318b={_0x149741:0xd,_0x3e824d:0x99,_0x2dc718:0x131,_0x37f760:0x25a,_0x5e4f8c:0xbe,_0x575e5:0x195,_0x1fc7fb:0x1c9,_0x1f78c5:0xc7,_0x414064:0x2f,_0x3ad5c3:0x115,_0x145219:0x143,_0x597cb0:0x94,_0x347f5d:0x36},_0x3b3406={_0x5dfdfb:0x319,_0x44786d:0x25a,_0x1a3ee0:0x391,_0x35f47b:0x325,_0x21ed14:0x4d5,_0x3e17d7:0x5d7,_0x43bfd6:0x453,_0xff9800:0x4db,_0x152c2b:0x3ba,_0x58e477:0x598,_0x5d72c2:0x214,_0x1c5ed0:0x2b5,_0x1f7fe6:0x2b8,_0x3e8f62:0x441,_0x360123:0x59c,_0x2ed730:0x294,_0x41ca85:0x570,_0x5ddd53:0x27d,_0x5c1118:0x33f,_0x50c175:0x228},_0x858c70={_0xecba19:0x45},_0x3eec3f={_0x1f7711:0x1ce,_0x24b682:0x61},_0x5851b8={_0x441280:0x1a7},_0xf17a15={_0x565b67:0xc5,_0x121cda:0x171};function _0x2a4a66(_0xdbac1,_0x74aed8,_0x38cdb0,_0x4efb4b){return _0x5469ba(_0x4efb4b,_0x74aed8-_0xf17a15._0x565b67,_0x38cdb0-0x93,_0x74aed8- -_0xf17a15._0x121cda);}const _0x5cd28b=new Map(_0x4fcb45['commands'][_0x2a4a66(0x118,-_0x51318b._0x149741,_0x51318b._0x3e824d,-_0x51318b._0x2dc718)](_0x2f5e92=>[_0x2f5e92['id'],_0x2f5e92]));function _0x16ab93(_0x3c876a,_0x5b7533,_0x490384,_0x3c9b54){return _0x4bfe88(_0x3c876a- -0x1d,_0x5b7533-_0x5851b8._0x441280,_0x490384-0x18,_0x5b7533);}const _0x24e939=buildDescription(_0x4fcb45[_0x16ab93(0x178,_0x51318b._0x37f760,_0x51318b._0x5e4f8c,0xe)]);return defineTool({'name':'InvokeCommand','permissionClass':_0x2a4a66(_0x51318b._0x575e5,0x1bf,0xd0,_0x51318b._0x1fc7fb),'description':_0x24e939,'inputSchema':{'type':_0x2a4a66(-0x2a,_0x51318b._0x1f78c5,0x248,-_0x51318b._0x414064),'properties':{'name':{'type':'string'},'args':{'type':_0x2a4a66(-_0x51318b._0x3ad5c3,-0x1,_0x51318b._0x145219,_0x51318b._0x597cb0)}},'required':[_0x2a4a66(-0x75,0x9,-0x14,_0x51318b._0x347f5d)]},async *'execute'(_0x5ee95e){const _0x56cfb3=_0x5cd28b[_0x5ab6e1(_0x3b3406._0x5dfdfb,0x2b3,0x403,0x310)](_0x5ee95e[_0x54c093(0x335,0x457,0x390,0x3d0)]);if(!_0x56cfb3){const _0x56685c=Array[_0x5ab6e1(0x244,_0x3b3406._0x44786d,0x2ea,_0x3b3406._0x1a3ee0)](_0x5cd28b[_0x5ab6e1(0x3e1,0x586,0x4ad,_0x3b3406._0x35f47b)]())[_0x5ab6e1(0x491,0x54c,_0x3b3406._0x21ed14,_0x3b3406._0x3e17d7)](',\x20');throw new ToolExecutionError(_0x5ab6e1(_0x3b3406._0x43bfd6,0x4cb,_0x3b3406._0xff9800,_0x3b3406._0x152c2b)+_0x5ee95e['name']+_0x54c093(0x49b,0x62d,_0x3b3406._0x58e477,0x506)+_0x56685c,{'name':_0x5ee95e[_0x5ab6e1(_0x3b3406._0x5d72c2,_0x3b3406._0x1c5ed0,_0x3b3406._0x1f7fe6,0x27e)]});}function _0x5ab6e1(_0x3cede2,_0x29ee05,_0x51bd28,_0xa8e3f5){return _0x2a4a66(_0x3cede2-_0x3eec3f._0x1f7711,_0x3cede2-0x20b,_0x51bd28-_0x3eec3f._0x24b682,_0x51bd28);}const _0x57fa33=await _0x4fcb45['loadCommand'](_0x56cfb3),_0x284981=_0x5ee95e[_0x54c093(0x5fb,0x519,_0x3b3406._0x3e8f62,_0x3b3406._0x360123)]??'';function _0x54c093(_0x297bec,_0x5c38db,_0x155bcc,_0x5b3858){return _0x16ab93(_0x5c38db-0x237,_0x155bcc,_0x155bcc-0x1e2,_0x5b3858-_0x858c70._0xecba19);}const _0xdf224=renderCommandInstructions({'instructions':_0x57fa33[_0x5ab6e1(0x274,0x216,0x2b4,_0x3b3406._0x2ed730)],'argumentsText':_0x284981,'argumentNames':_0x57fa33['arguments']});return yield createToolOutput(_0xdf224,{'id':_0x57fa33['id'],'name':_0x57fa33[_0x54c093(_0x3b3406._0x41ca85,0x457,0x307,0x2f0)],'path':_0x56cfb3[_0x5ab6e1(0x36a,0x323,_0x3b3406._0x5ddd53,_0x3b3406._0x5c1118)][_0x5ab6e1(0x336,_0x3b3406._0x50c175,0x2d5,0x49e)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0xf74c66,rename as _0x154635,stat as _0x7ae566,writeFile as _0x5babe8}from'fs/promises';import*as _0x497949 from'path';function detectEol(_0x2f2834){const _0x117b28={_0x3099e8:0x1e5,_0x468798:0x133,_0x1bec8f:0x1b,_0x2506a4:0x121,_0x3c1c36:0x79,_0x41e7ab:0x2d1,_0xcbd963:0x300},_0x5922ae={_0xa50f7f:0x1da,_0x4ccedb:0x1d5},_0x147a3a={_0x36f4d5:0x1a3};function _0x1225ea(_0x53919b,_0x5495cf,_0x1c2ae2,_0x16cac0){return _0x4bfe88(_0x1c2ae2- -0x22d,_0x5495cf-0x5f,_0x1c2ae2-_0x147a3a._0x36f4d5,_0x53919b);}function _0x1140f1(_0x1741f1,_0x2c08ee,_0x4e7404,_0x45b309){return _0x4bfe88(_0x2c08ee- -_0x5922ae._0xa50f7f,_0x2c08ee-_0x5922ae._0x4ccedb,_0x4e7404-0x1f2,_0x45b309);}return/\r\n/[_0x1140f1(_0x117b28._0x3099e8,_0x117b28._0x468798,0x45,_0x117b28._0x1bec8f)](_0x2f2834[_0x1225ea(0x12b,-_0x117b28._0x2506a4,_0x117b28._0x3c1c36,0x4d)]('utf8'))?_0x1140f1(_0x117b28._0x41e7ab,0x275,_0x117b28._0xcbd963,0x150):'lf';}function normalizeToLf(_0x9cff8c){const _0x13be7a={_0x6f8021:0x1f7,_0x1c03f0:0x413,_0x3b585b:0x311,_0x5d1547:0x19f},_0x1c9416={_0x5f3416:0x36,_0x2759f1:0xab,_0xb3e1ba:0x2c};function _0x418e9b(_0x4fb9cb,_0x4cba53,_0x352045,_0x272531){return _0x5469ba(_0x4fb9cb,_0x4cba53-_0x1c9416._0x5f3416,_0x352045-_0x1c9416._0x2759f1,_0x352045- -_0x1c9416._0xb3e1ba);}return _0x9cff8c[_0x418e9b(_0x13be7a._0x6f8021,_0x13be7a._0x1c03f0,_0x13be7a._0x3b585b,_0x13be7a._0x5d1547)](/\r\n/g,'\x0a');}function convertEol(_0xd7b940,_0x51ef91){const _0x21e32a={_0x364356:0x28a,_0x5bd8da:0x24c,_0x5397db:0x333,_0x38486d:0x6e7},_0x49c0ab={_0x32072e:0x1bf,_0x28fbf6:0x109},_0x3851f0={_0x4df000:0x5e,_0x31affa:0x1ea,_0x472c1c:0x177};function _0x38f5c4(_0x4fd745,_0x20696c,_0x454c49,_0x37b1fe){return _0x5469ba(_0x4fd745,_0x20696c-_0x3851f0._0x4df000,_0x454c49-_0x3851f0._0x31affa,_0x20696c- -_0x3851f0._0x472c1c);}function _0x2876a1(_0x2a979d,_0xf95cb7,_0x4d5f88,_0x3c3953){return _0x5469ba(_0x2a979d,_0xf95cb7-_0x49c0ab._0x32072e,_0x4d5f88-_0x49c0ab._0x28fbf6,_0x4d5f88-0x338);}return _0x51ef91===_0x38f5c4(_0x21e32a._0x364356,0x215,_0x21e32a._0x5bd8da,_0x21e32a._0x5397db)?_0xd7b940[_0x2876a1(0x651,_0x21e32a._0x38486d,0x675,0x615)](/\n/g,'\x0d\x0a'):_0xd7b940;}async function atomicWrite(_0x435b9c,_0xf7852d){const _0x2f3a50={_0x511851:0x28,_0x5ea805:0xcf,_0x279f04:0x64,_0x3c615d:0x157,_0x2685d6:0x202,_0x261c31:0x2c4},_0x1f477d={_0x1e85f3:0x1d4},_0x2c71d8={_0x3ab388:0x1b6,_0x44f871:0xcd,_0x53202b:0x33a},_0x3fdeed=_0x497949['dirname'](_0x435b9c),_0x20a2f=_0x497949['join'](_0x3fdeed,'.tmp.'+_0x497949['basename'](_0x435b9c)+'.'+Date[_0x2e48a7(-_0x2f3a50._0x511851,-_0x2f3a50._0x5ea805,-_0x2f3a50._0x279f04,-0x24c)]()+'.'+Math[_0x2431ad(-0xea,0xc1,-0x10,-0x138)]()[_0x2e48a7(0x56,-_0x2f3a50._0x3c615d,-_0x2f3a50._0x2685d6,-_0x2f3a50._0x261c31)](0x24)['slice'](0x2));function _0x2e48a7(_0x4abff3,_0x3aa93a,_0x519429,_0x2825cc){return _0x5469ba(_0x4abff3,_0x3aa93a-_0x2c71d8._0x3ab388,_0x519429-_0x2c71d8._0x44f871,_0x3aa93a- -_0x2c71d8._0x53202b);}await _0x5babe8(_0x20a2f,_0xf7852d);function _0x2431ad(_0x47f579,_0xc8c46,_0x29a182,_0x1ca586){return _0x4bfe88(_0x47f579- -0x421,_0xc8c46-_0x1f477d._0x1e85f3,_0x29a182-0x181,_0xc8c46);}await _0x154635(_0x20a2f,_0x435b9c);}function sha256(_0x2fbab0){const _0x14d5b8={_0x4788a0:0x399,_0x40cde9:0x103,_0x5e9c20:0x283,_0x74328a:0x262,_0x182380:0x4b1,_0x563651:0x5ab},_0x39e219={_0x1a491a:0x1a3},_0x1a9f2e={_0x14033b:0x10b};function _0x254171(_0x15b23a,_0x12e87c,_0x59bce8,_0x40cd16){return _0x4bfe88(_0x12e87c- -0x4d,_0x12e87c-_0x1a9f2e._0x14033b,_0x59bce8-0x19f,_0x40cd16);}function _0x643133(_0xed1fe1,_0x369d44,_0x53ea84,_0x5221d8){return _0x4bfe88(_0x53ea84-_0x39e219._0x1a491a,_0x369d44-0x125,_0x53ea84-0x8a,_0x5221d8);}return createHash(_0x643133(0x290,0x512,_0x14d5b8._0x4788a0,0x300))[_0x254171(_0x14d5b8._0x40cde9,_0x14d5b8._0x5e9c20,0xfc,_0x14d5b8._0x74328a)](_0x2fbab0)[_0x643133(0x4d9,_0x14d5b8._0x182380,_0x14d5b8._0x563651,0x534)]('hex');}function countLines(_0x1bffbe){const _0x4c5edc={_0x4e4ff5:0x2b6,_0x2e7a13:0x2c0,_0xb5f1e9:0x46d},_0x52e91c={_0x52f773:0xfd,_0x48687e:0x192},_0x227c90={_0x434b23:0x96,_0x214669:0xc};function _0x1069b6(_0x54153b,_0x3b850d,_0x2e2bf2,_0x388fed){return _0x5469ba(_0x2e2bf2,_0x3b850d-_0x227c90._0x434b23,_0x2e2bf2-_0x227c90._0x214669,_0x388fed- -0x2f);}function _0x4414b2(_0x5dfe6b,_0x5e1c17,_0x2f970c,_0xc2475d){return _0x5469ba(_0x5dfe6b,_0x5e1c17-_0x52e91c._0x52f773,_0x2f970c-0xa8,_0xc2475d-_0x52e91c._0x48687e);}const _0x140fb1=_0x1bffbe[_0x1069b6(0x24c,0x4a5,_0x4c5edc._0x4e4ff5,0x30e)](/\n$/,'');return _0x140fb1['length']===0x0?0x0:_0x140fb1['split']('\x0a')[_0x4414b2(_0x4c5edc._0x2e7a13,0x34d,0x599,_0x4c5edc._0xb5f1e9)];}function calculateLineNumbers(_0x38ab4a,_0x32db18,_0x345f0f,_0x250bbf){const _0x3fa73f={_0x22fdb5:0x16f,_0x35f8ab:0x168,_0x3d8e58:0x83,_0x2e52d5:0x103,_0x33ed17:0x1fb},_0x1fe150={_0x4d9338:0x11c,_0x1e4bae:0x35e},_0x1d33bd={_0x17cb21:0x1ed};function _0x4895fa(_0x325b02,_0x233c89,_0x399066,_0x581416){return _0x4bfe88(_0x233c89- -0x164,_0x233c89-_0x1d33bd._0x17cb21,_0x399066-0x186,_0x325b02);}function _0x2e8e4b(_0x2847f0,_0xcf0bfb,_0x31d2cf,_0x313cc3){return _0x5469ba(_0x313cc3,_0xcf0bfb-_0x1fe150._0x4d9338,_0x31d2cf-0x117,_0x2847f0- -_0x1fe150._0x1e4bae);}const _0xf328ec=_0x38ab4a['slice'](0x0,_0x250bbf)[_0x2e8e4b(-_0x3fa73f._0x22fdb5,-_0x3fa73f._0x35f8ab,-0x1a5,-0x41)]('\x0a')[_0x2e8e4b(-_0x3fa73f._0x3d8e58,_0x3fa73f._0x2e52d5,-_0x3fa73f._0x33ed17,0x74)],_0x3ebc87=countLines(_0x32db18),_0x285e45=countLines(_0x345f0f);return{'oldStartLine':_0xf328ec,'oldEndLine':_0xf328ec+_0x3ebc87-0x1,'newStartLine':_0xf328ec,'newEndLine':_0xf328ec+_0x285e45-0x1,'oldLineCount':_0x3ebc87,'newLineCount':_0x285e45};}function createFileEditTool(_0x406a72={}){const _0x34b6aa={_0x11816b:0x13d,_0xff243d:0x161,_0x46f561:0x9c,_0x3c1c62:0x70,_0x36fc9f:0x21,_0x4a44bd:0x5f,_0x5c1b77:0x122,_0x291193:0x28e,_0x4f60aa:0x1fd,_0x63a65f:0x15e,_0x4ee4bc:0xed,_0x19e9b1:0x2ea,_0x3adfee:0x1c6,_0x3ed040:0xdc,_0x78a7a7:0x195,_0x1b6141:0x1cc,_0x3c8493:0x15f,_0x48a3ab:0x113,_0x351831:0x4a,_0x14385e:0x6b,_0x1e43ea:0xb,_0x1de965:0x1b8,_0x495062:0x14f,_0x37b609:0x73,_0x28d026:0x72},_0x2d58e0={_0x288d2f:0x1a6,_0x54cd0a:0x133,_0x1ff388:0x13d,_0xaf02c9:0xd5,_0x1238d7:0x147,_0x567c6e:0x6e,_0x20f039:0xa,_0x1234b8:0x36,_0x215ab2:0x170,_0x92223e:0x1b8,_0x420f94:0x1d9,_0x2b7e3f:0x45,_0x5a814d:0xbe,_0x1e5420:0x2bd,_0x1e0c6c:0x221,_0x32e716:0x31f,_0x1f660c:0x439,_0x5286d7:0xa1,_0x3c4196:0x250,_0x2c000e:0x193,_0x14d808:0xc,_0x1ad025:0x1cb,_0x1cd565:0x63,_0x488615:0x7e,_0x163e53:0x4b,_0x51e221:0x26d,_0x7ccda2:0x266,_0x22163a:0x2d9,_0x148e4c:0x3eb,_0x4cb335:0x419,_0x425e59:0x98,_0x4ad36a:0x6,_0x23ce96:0x143,_0x3465a4:0x19,_0x4e62b9:0x18c,_0x3423d9:0xce,_0x3eb875:0x27f,_0x3ec5b1:0xb9,_0x3d150a:0x92,_0x3826c9:0xda,_0x2c2d8a:0x192,_0x8d1ec8:0x73,_0x4f73d5:0x4d,_0x35bae9:0xa0,_0x20ce88:0xa1},_0x120376={_0x1a6e99:0x335,_0x55bc0e:0x1cc},_0x55ec85={_0x33852c:0x3f,_0x37202b:0x15d},_0x34458c=_0x497949[_0x1282c0(_0x34b6aa._0x11816b,_0x34b6aa._0xff243d,-0x78,_0x34b6aa._0x46f561)](_0x406a72[_0xabd806(-_0x34b6aa._0x3c1c62,-0x77,-0xa8,-_0x34b6aa._0x36fc9f)]??process[_0xabd806(-0x131,-0xbe,_0x34b6aa._0x4a44bd,0x17)]()),_0xa4a079=_0x406a72['allowedDirs']??[],_0x4641dc=_0x406a72[_0xabd806(-_0x34b6aa._0x5c1b77,-_0x34b6aa._0x291193,-0xf8,-0x6b)]??_0x1282c0(_0x34b6aa._0x4f60aa,0x18e,-0x3b,0xd1);function _0x1282c0(_0x13e204,_0x5b577d,_0x3ce386,_0x3cc9d9){return _0x4bfe88(_0x3cc9d9- -0x346,_0x5b577d-_0x55ec85._0x33852c,_0x3ce386-_0x55ec85._0x37202b,_0x3ce386);}function _0xabd806(_0x4676e8,_0x213a01,_0x18383a,_0x5dd79f){return _0x4bfe88(_0x18383a- -_0x120376._0x1a6e99,_0x213a01-_0x120376._0x55bc0e,_0x18383a-0x1d9,_0x213a01);}return defineTool({'name':_0x4641dc,'permissionClass':_0x1282c0(0x270,0x131,_0x34b6aa._0x63a65f,_0x34b6aa._0x4ee4bc),'description':_0xabd806(-0x33e,-_0x34b6aa._0x19e9b1,-_0x34b6aa._0x3adfee,-_0x34b6aa._0x3ed040),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x1282c0(-_0x34b6aa._0x78a7a7,-0x18e,-0x73,-0x113)},'description':{'type':_0x1282c0(_0x34b6aa._0x4a44bd,-_0x34b6aa._0x1b6141,-_0x34b6aa._0x3c8493,-_0x34b6aa._0x48a3ab),'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':_0xabd806(_0x34b6aa._0x351831,-0x157,-0x102,-_0x34b6aa._0x14385e)},'newText':{'type':_0x1282c0(-0x1fa,-_0x34b6aa._0x1e43ea,-0x214,-0x113)},'dryRun':{'type':_0xabd806(0x21c,-0x50,0x123,_0x34b6aa._0x1de965)}},'required':[_0x1282c0(-0x1cc,-0x1fa,_0x34b6aa._0x495062,-0x4a),_0x1282c0(-_0x34b6aa._0x37b609,0x52,-0x116,_0x34b6aa._0x28d026),_0x1282c0(-0xef,0x1a2,0x47,0xb8)]},async *'execute'(_0x54d914){const _0x56c826={_0x372181:0x13f},_0x27c115={_0x92d78b:0x125,_0xbc79c8:0x60,_0x5897b2:0xf9},_0x3900bf=resolveAllowedPath(_0x34458c,_0xa4a079,_0x54d914[_0x3f0611(0x92,_0x2d58e0._0x288d2f,0xd3,0x107)]);await assertWorkspaceFile(_0x3900bf);const _0x5f0685=await _0x7ae566(_0x3900bf),_0x2c65eb=await _0xf74c66(_0x3900bf),_0x2d7bf1=detectEol(_0x2c65eb),_0x2d1f90=normalizeToLf(_0x2c65eb[_0x15fd35(-_0x2d58e0._0x54cd0a,-0x199,-_0x2d58e0._0x1ff388,-0x268)]('utf8'));function _0x15fd35(_0x21a774,_0x51a541,_0xdcb149,_0x36930a){return _0x1282c0(_0x21a774-_0x27c115._0x92d78b,_0x51a541-_0x27c115._0xbc79c8,_0xdcb149,_0x51a541- -_0x27c115._0x5897b2);}const _0x2b9ec7=normalizeToLf(_0x54d914['oldText']),_0x55e1b9=normalizeToLf(_0x54d914['newText']),_0x5e4454=_0x2d1f90[_0x15fd35(-0x15d,-_0x2d58e0._0xaf02c9,-_0x2d58e0._0x1238d7,-_0x2d58e0._0x567c6e)](_0x2b9ec7);if(_0x5e4454===-0x1){const _0x3bf719=_0x2b9ec7[_0x15fd35(-_0x2d58e0._0x20f039,_0x2d58e0._0x1234b8,-_0x2d58e0._0x215ab2,-0xd4)](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError(_0x3f0611(0x26b,_0x2d58e0._0x92223e,_0x2d58e0._0x420f94,0x324)+_0x3bf719+(_0x2b9ec7['length']>0x64?_0x15fd35(-0x112,-_0x2d58e0._0x2b7e3f,_0x2d58e0._0x5a814d,0x44):'')+'\x22',{'filePath':_0x54d914[_0x3f0611(0x2b8,_0x2d58e0._0x288d2f,0x13b,_0x2d58e0._0x1e5420)]});}const _0x48d10d=_0x2d1f90[_0x3f0611(_0x2d58e0._0x1e0c6c,0x31f,0x303,0x42b)](0x0,_0x5e4454)+_0x55e1b9+_0x2d1f90[_0x3f0611(0x3c0,_0x2d58e0._0x32e716,0x375,_0x2d58e0._0x1f660c)](_0x5e4454+_0x2b9ec7[_0x15fd35(-0x16f,-_0x2d58e0._0x5286d7,-_0x2d58e0._0x3c4196,-_0x2d58e0._0x2c000e)]),_0x3ad3b2=convertEol(_0x48d10d,_0x2d7bf1);function _0x3f0611(_0x42e7f4,_0x4511ed,_0x4a6d62,_0x1f8a0e){return _0x1282c0(_0x42e7f4-_0x56c826._0x372181,_0x4511ed-0x1e3,_0x1f8a0e,_0x4511ed-0x1f0);}const _0x423c94=Buffer[_0x3f0611(-_0x2d58e0._0x14d808,0x117,_0x2d58e0._0x1ad025,-_0x2d58e0._0x1cd565)](_0x3ad3b2,_0x3f0611(_0x2d58e0._0x488615,0x41,0x1e5,-_0x2d58e0._0x163e53)),_0x4d1613=sha256(_0x2c65eb),_0x136376=sha256(_0x423c94),_0x154744=_0x4d1613===_0x136376,_0x4d46c7=_0x54d914[_0x15fd35(-_0x2d58e0._0x51e221,-0x2c3,-_0x2d58e0._0x7ccda2,-_0x2d58e0._0x22163a)]??![];return!_0x4d46c7&&!_0x154744&&await atomicWrite(_0x3900bf,_0x423c94),yield createToolOutput(_0x154744?_0x15fd35(-_0x2d58e0._0x148e4c,-0x262,-0x24d,-_0x2d58e0._0x4cb335):_0x4d46c7?_0x3f0611(-_0x2d58e0._0x425e59,0xae,-0xd6,-0xd7):'Edit\x20applied\x20successfully.',{'filePath':_0x54d914[_0x15fd35(-_0x2d58e0._0x4ad36a,-_0x2d58e0._0x23ce96,-_0x2d58e0._0x3465a4,0x2e)],'resolvedPath':_0x3900bf,'created':_0x5f0685[_0x15fd35(-_0x2d58e0._0x4e62b9,-_0x2d58e0._0x3423d9,-_0x2d58e0._0x3eb875,-_0x2d58e0._0x3ec5b1)]['toISOString'](),'modified':_0x5f0685[_0x15fd35(0x7b,_0x2d58e0._0x3d150a,-_0x2d58e0._0x3826c9,0x236)]['toISOString'](),'size':_0x5f0685[_0x15fd35(-_0x2d58e0._0x2c2d8a,-0x60,0x1d,-0x143)],'eol':_0x2d7bf1,'oldTextLength':_0x2b9ec7[_0x15fd35(_0x2d58e0._0x8d1ec8,-0xa1,_0x2d58e0._0x4f73d5,_0x2d58e0._0x35bae9)],'newTextLength':_0x55e1b9[_0x15fd35(-0xe3,-_0x2d58e0._0x20ce88,-0x1eb,-0x1bc)],'bytesWritten':_0x154744||_0x4d46c7?0x0:_0x423c94['length'],'beforeSha':_0x4d1613,'afterSha':_0x136376,'dryRun':_0x4d46c7,'noChange':_0x154744,'lineNumbers':calculateLineNumbers(_0x2d1f90,_0x2b9ec7,_0x55e1b9,_0x5e4454)}),void 0x0;}});}import{mkdir as _0x5b5e64,rename as _0x5d6f67,stat as _0x4e329b,writeFile as _0x35c09a}from'fs/promises';import*as _0x5b6525 from'path';async function atomicWrite2(_0x9c8f48,_0x5ce607){const _0x2290fa={_0x5d9d7b:0x22e,_0x8a251f:0x1cc,_0x7940c8:0x515,_0x178762:0x3dc,_0x129af7:0x367,_0xee70e4:0x2df,_0x1cddf4:0x508},_0x10549e={_0x2f138a:0x184},_0x29d713={_0x9bf62e:0xd2,_0x10359a:0x67,_0x3b22ec:0x1be},_0x1d938f=_0x5b6525[_0x51ba3c(_0x2290fa._0x5d9d7b,0x201,0x1b2,_0x2290fa._0x8a251f)](_0x9c8f48);await _0x5b5e64(_0x1d938f,{'recursive':!![]});function _0x51ba3c(_0x2b1ab3,_0x46b688,_0x29fc3b,_0x523e0d){return _0x4bfe88(_0x523e0d- -_0x29d713._0x9bf62e,_0x46b688-_0x29d713._0x10359a,_0x29fc3b-_0x29d713._0x3b22ec,_0x46b688);}function _0x2dc452(_0x9893ed,_0x49e36c,_0x2b85e6,_0x4fafc7){return _0x5469ba(_0x49e36c,_0x49e36c-0xd3,_0x2b85e6-0x12a,_0x9893ed-_0x10549e._0x2f138a);}const _0x85254e=_0x5b6525[_0x2dc452(0x57b,_0x2290fa._0x7940c8,0x4ec,0x5f2)](_0x1d938f,_0x2dc452(0x46f,0x576,_0x2290fa._0x178762,0x2bc)+_0x5b6525['basename'](_0x9c8f48)+'.'+Date[_0x2dc452(0x3ef,0x285,0x333,0x2c3)]()+'.'+Math['random']()[_0x2dc452(_0x2290fa._0x129af7,_0x2290fa._0xee70e4,0x4a7,0x425)](0x24)[_0x51ba3c(0x3d1,_0x2290fa._0x1cddf4,0x332,0x3a3)](0x2));await _0x35c09a(_0x85254e,_0x5ce607),await _0x5d6f67(_0x85254e,_0x9c8f48);}function createFileNewTool(_0x4844e6={}){const _0x328266={_0x4bae57:0x1c0,_0x2382de:0xa5,_0x4c1a15:0x57,_0x5f91c7:0x44,_0xb62771:0x1f,_0x406d5d:0x1cd,_0x51afef:0x23b,_0x5ad696:0x382,_0x35aa44:0xf6,_0x185f35:0x45,_0x2f1896:0x139,_0x1a3586:0x109,_0x3cd732:0x173,_0x37572c:0x8a,_0x70127e:0x149,_0x29870d:0x23c,_0x57653b:0x3da},_0x2a0582={_0x268ce8:0xe6,_0xf667bc:0x1b,_0x25346f:0x7d,_0x192493:0x130,_0x551b35:0x263,_0x55a1e5:0x392,_0x836b59:0x1c6,_0x54e613:0x3e,_0x3cdd56:0x5f,_0x3b0a62:0x1b3,_0x141472:0xab,_0xdbcdc3:0xfa,_0x15455e:0x18,_0x3f139f:0xc,_0xf68363:0xe,_0x4fc7fd:0x6c,_0x45b99d:0xac,_0x4827cf:0x62,_0x4f1f78:0x29,_0x24516a:0xa1,_0x40e7ea:0x30,_0x493706:0x56,_0x50a98c:0x3d2,_0x36a167:0x43a,_0x59abd6:0xe6,_0x5f47c7:0x14c,_0x44512b:0x57},_0x5e497f={_0xbc459a:0x6a,_0xccf9c0:0x18f},_0x16a65e={_0x39890a:0x4},_0x504689={_0x43d5a6:0xd3},_0xf8a28a=_0x5b6525['resolve'](_0x4844e6[_0x3437e4(-0x242,-_0x328266._0x4bae57,-0xe7,-0xdf)]??process[_0x3437e4(-_0x328266._0x2382de,0x1b0,0x43,0x28)]()),_0x5cc0d7=_0x4844e6['allowedDirs']??[],_0x2d303e=_0x4844e6[_0x47c613(_0x328266._0x4c1a15,0x17d,0xf0,0x184)]??_0x3437e4(-0x1ce,-0x1b4,_0x328266._0x5f91c7,-0xed);function _0x3437e4(_0x6905dd,_0x459047,_0x4cf8e4,_0x50f629){return _0x5469ba(_0x4cf8e4,_0x459047-0xee,_0x4cf8e4-_0x504689._0x43d5a6,_0x50f629- -0x2a9);}function _0x47c613(_0x228723,_0x4aecab,_0x5182bf,_0x2ccab5){return _0x5469ba(_0x228723,_0x4aecab-_0x16a65e._0x39890a,_0x5182bf-0x171,_0x4aecab-0x3);}return defineTool({'name':_0x2d303e,'permissionClass':_0x3437e4(0xa8,0x66,-_0x328266._0xb62771,0xc7),'description':_0x3437e4(-0x52,-0x1d9,-_0x328266._0x406d5d,-0x137),'inputSchema':{'type':_0x47c613(0x29c,_0x328266._0x51afef,0x276,_0x328266._0x5ad696),'properties':{'filePath':{'type':_0x3437e4(-0x187,-_0x328266._0x35aa44,-_0x328266._0x185f35,-_0x328266._0x2f1896)},'content':{'type':_0x47c613(_0x328266._0x1a3586,_0x328266._0x3cd732,0x26a,_0x328266._0x37572c)}},'required':[_0x47c613(_0x328266._0x70127e,_0x328266._0x29870d,_0x328266._0x57653b,0x107),'content']},async *'execute'(_0x3dbc77){const _0x578ca1={_0xf17e0a:0x27,_0x2fc4a7:0x6c},_0x19aac6=resolveAllowedPath(_0xf8a28a,_0x5cc0d7,_0x3dbc77[_0x7a5c70(-0x144,-0x127,_0x2a0582._0x268ce8,-0xc)]),_0x7099e=await _0x4e329b(_0x19aac6)['then'](()=>!![])[_0x7a5c70(-_0x2a0582._0xf667bc,-_0x2a0582._0x25346f,0x37,_0x2a0582._0x192493)](()=>![]),_0x28e9ee=Buffer['from'](_0x3dbc77[_0x45364f(_0x2a0582._0x551b35,0x1cb,0x14e,_0x2a0582._0x55a1e5)],_0x45364f(0x141,0x8a,_0x2a0582._0x836b59,-_0x2a0582._0x54e613));await atomicWrite2(_0x19aac6,_0x28e9ee),yield createToolOutput(_0x7a5c70(-0x71,-_0x2a0582._0x3cdd56,_0x2a0582._0x3b0a62,0x77)+_0x3dbc77[_0x7a5c70(_0x2a0582._0x141472,-_0x2a0582._0xdbcdc3,-0x70,-0xc)]+'.',{'filePath':_0x3dbc77[_0x7a5c70(_0x2a0582._0x15455e,-0x174,-0x189,-_0x2a0582._0x3f139f)],'resolvedPath':_0x19aac6,'bytes':_0x28e9ee[_0x7a5c70(-0xe6,_0x2a0582._0xf68363,_0x2a0582._0x4fc7fd,0x96)],'lines':_0x3dbc77[_0x7a5c70(-_0x2a0582._0x45b99d,-_0x2a0582._0x4827cf,-_0x2a0582._0x4f1f78,-0x4f)][_0x7a5c70(-0xf4,-_0x2a0582._0x24516a,-_0x2a0582._0x40e7ea,-_0x2a0582._0x493706)](/\r?\n/)[_0x45364f(0x348,_0x2a0582._0x50a98c,0x272,_0x2a0582._0x36a167)],'created':new Date()[_0x45364f(0x130,_0x2a0582._0x59abd6,_0x2a0582._0x5f47c7,_0x2a0582._0x44512b)](),'overwritten':_0x7099e});function _0x7a5c70(_0x213283,_0x5c9e4c,_0x36c7d2,_0x361b6b){return _0x3437e4(_0x213283-_0x578ca1._0xf17e0a,_0x5c9e4c-_0x578ca1._0x2fc4a7,_0x5c9e4c,_0x361b6b-0x64);}function _0x45364f(_0x242f88,_0x56e596,_0x1faea3,_0x38f628){return _0x47c613(_0x56e596,_0x242f88-_0x5e497f._0xbc459a,_0x1faea3-_0x5e497f._0xccf9c0,_0x38f628-0xe6);}return void 0x0;}});}import{readFile as _0x43472f,stat as _0x109568}from'fs/promises';import*as _0x4d8991 from'path';function stripUtfBom(_0x3fb079){return _0x3fb079['charCodeAt'](0x0)===0xfeff?_0x3fb079['slice'](0x1):_0x3fb079;}function clampLine(_0x585fb3,_0x464c8c){const _0x20118c={_0x547cde:0x1c9,_0x2f3fbf:0x114,_0x4b256d:0x33,_0x2efc2f:0x148,_0x4a3593:0x24d,_0x3c78a5:0x548},_0x18e75f={_0x17089c:0x3b},_0x50e228={_0x2fc184:0x120};function _0x180a9f(_0xd5010d,_0x1e5988,_0x280e05,_0x1ae3b3){return _0x4bfe88(_0x280e05-0x242,_0x1e5988-_0x50e228._0x2fc184,_0x280e05-0x17f,_0x1ae3b3);}if(!Number[_0xd6ca7f(0x285,0x247,_0x20118c._0x547cde,0x28a)](_0x585fb3))return 0x1;function _0xd6ca7f(_0x26d02b,_0x1fd2ca,_0x39c0ee,_0xa9025f){return _0x5469ba(_0xa9025f,_0x1fd2ca-0xe4,_0x39c0ee-0x67,_0x39c0ee- -_0x18e75f._0x17089c);}return Math[_0xd6ca7f(_0x20118c._0x2f3fbf,_0x20118c._0x4b256d,_0x20118c._0x2efc2f,_0x20118c._0x4a3593)](0x1,Math[_0x180a9f(0x619,0x5d3,0x57e,_0x20118c._0x3c78a5)](Math['trunc'](_0x585fb3),_0x464c8c));}function createFileReadTool(_0x73ebd7={}){const _0x2eb12c={_0x510b4b:0x14c,_0x140e1a:0x7e,_0x42f594:0x28,_0x4e90b7:0x176,_0x24af76:0xa6,_0x5a8b00:0x173,_0x11e1ef:0x230,_0x585062:0x3d7,_0x7b4949:0x4eb,_0x4486c6:0x412,_0x412188:0x31c,_0x5a4c6a:0x2c,_0x354297:0xc2,_0x2a092f:0x127,_0x410c83:0x55a,_0x50e051:0x56f,_0xac4301:0x118,_0x14c3e2:0x1d3,_0x3dfe3f:0x122,_0x41c99e:0x100,_0x381ea8:0xb8,_0x2c2ea2:0x1b2},_0x506ef6={_0x56f8f1:0x28d,_0x3205a6:0x436,_0x52dd5e:0x5db,_0x59613f:0x520,_0x5c66c4:0x457,_0x550382:0x22d,_0x407734:0x508,_0x4e530f:0x492,_0x2653c3:0x436,_0x3ce361:0x2b0,_0x21a7ea:0x4ee,_0x3f2ddf:0x5eb,_0x3d37e5:0x509,_0x44f21d:0x3e3,_0x5ed953:0x3e6,_0x5507df:0x61b,_0x41b5e1:0x83e,_0x136fb2:0x554,_0x36887d:0x400,_0x4df9f7:0x3eb,_0x1278f5:0x4aa,_0x513a55:0x4b6,_0x41e960:0x5c8,_0x50cafa:0x342,_0x4959b9:0x31c,_0x5cd025:0x3dd,_0x3932aa:0x4db,_0x2b6205:0x401,_0x29d7e3:0x3c7,_0x46e997:0x3a7,_0x208a32:0x48d,_0x9d94c2:0x475,_0xc1b829:0x571,_0x4318cb:0x569,_0x42ce47:0x413,_0x4da162:0x267,_0x1ba8f4:0x29d,_0x1fa110:0x658,_0x3e68a5:0x32c,_0x106f87:0x54c,_0x566afc:0x529,_0x28bd3c:0x542,_0x3cba56:0x591,_0x105126:0x62a,_0x25b377:0x2df,_0x1132ca:0x2c1},_0x38dcb5={_0x10368e:0x17b},_0x59ae83=_0x4d8991[_0xfda99(0x76,_0x2eb12c._0x510b4b,_0x2eb12c._0x140e1a,-0x120)](_0x73ebd7['defaultCwd']??process[_0xfda99(_0x2eb12c._0x42f594,-_0x2eb12c._0x4e90b7,0x5d,0x53)]());function _0xfda99(_0x4ea8e9,_0x448520,_0x54ffb4,_0x2e8522){return _0x5469ba(_0x2e8522,_0x448520-0xec,_0x54ffb4-0xf2,_0x4ea8e9- -0x2a9);}function _0x1f8a0f(_0x1bac8e,_0x1d3d03,_0x3f3fff,_0x5c3a78){return _0x4bfe88(_0x1d3d03-0x19a,_0x1d3d03-0x1db,_0x3f3fff-0x18,_0x1bac8e);}const _0x1d01d7=_0x73ebd7[_0xfda99(-0x82,-_0x2eb12c._0x24af76,-_0x2eb12c._0x5a8b00,-_0x2eb12c._0x11e1ef)]??[],_0xa1c1dc=_0x73ebd7[_0x1f8a0f(0x21f,_0x2eb12c._0x585062,_0x2eb12c._0x7b4949,_0x2eb12c._0x4486c6)]??'FileRead';return defineTool({'name':_0xa1c1dc,'permissionClass':_0x1f8a0f(_0x2eb12c._0x412188,0x441,0x4b4,0x5bf),'description':_0xfda99(-_0x2eb12c._0x5a4c6a,-_0x2eb12c._0x354297,_0x2eb12c._0x2a092f,-0x23),'inputSchema':{'type':'object','properties':{'path':{'type':'string'},'lineStart':{'type':_0x1f8a0f(0x47b,_0x2eb12c._0x410c83,_0x2eb12c._0x50e051,0x45f),'description':_0xfda99(0x1e,_0x2eb12c._0xac4301,0xaa,_0x2eb12c._0x14c3e2)},'lineEnd':{'type':_0xfda99(0x54,-_0x2eb12c._0x3dfe3f,0x1c4,-_0x2eb12c._0x41c99e),'description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':[_0xfda99(-0xd,-_0x2eb12c._0x381ea8,0x19e,-_0x2eb12c._0x2c2ea2)]},async *'execute'(_0x591816){const _0x16effe={_0x34b13f:0x50,_0x3a0c75:0xb5};function _0x15ded1(_0x331141,_0x7623b4,_0x221647,_0x4e9c3b){return _0xfda99(_0x7623b4-0x443,_0x7623b4-0x1e2,_0x221647-_0x38dcb5._0x10368e,_0x331141);}const _0x4e95c9=resolveAllowedPath(_0x59ae83,_0x1d01d7,_0x591816[_0x15ded1(_0x506ef6._0x56f8f1,0x436,0x49a,0x552)]);await assertWorkspaceFile(_0x4e95c9);const _0x48c5df=await _0x109568(_0x4e95c9),_0x4b5004=await _0x43472f(_0x4e95c9);if(isProbablyBinary(_0x4b5004))throw new ToolExecutionError(_0x15ded1(0x58c,0x4a0,0x5e5,0x4c1)+_0x591816['path'],{'path':_0x591816[_0x15ded1(0x4d6,_0x506ef6._0x3205a6,0x54f,_0x506ef6._0x52dd5e)]});let _0x5a450c=_0x4b5004[_0x1413ff(0x49f,_0x506ef6._0x59613f,0x618,_0x506ef6._0x5c66c4)](_0x15ded1(_0x506ef6._0x550382,0x26e,0x275,0x29b));const _0x2ea4d2=_0x5a450c[_0x1413ff(0x6ba,0x56f,_0x506ef6._0x407734,_0x506ef6._0x4e530f)](0x0)===0xfeff;_0x5a450c=stripUtfBom(_0x5a450c);function _0x1413ff(_0x6992ba,_0x4addb2,_0x171140,_0x3d3e6){return _0xfda99(_0x4addb2-0x5e6,_0x4addb2-_0x16effe._0x34b13f,_0x171140-_0x16effe._0x3a0c75,_0x6992ba);}const _0x3b411e=_0x5a450c[_0x15ded1(0x436,0x389,0x508,0x2a8)](/\r?\n/),_0x4513ed={'path':_0x591816[_0x15ded1(0x4bb,_0x506ef6._0x2653c3,_0x506ef6._0x3ce361,_0x506ef6._0x21a7ea)],'resolvedPath':_0x4e95c9,'created':_0x48c5df[_0x1413ff(0x6ad,_0x506ef6._0x3f2ddf,_0x506ef6._0x3d37e5,0x6a1)][_0x15ded1(_0x506ef6._0x44f21d,0x25d,0x263,_0x506ef6._0x5ed953)](),'modified':_0x48c5df[_0x1413ff(_0x506ef6._0x5507df,0x74b,0x881,_0x506ef6._0x41b5e1)][_0x1413ff(_0x506ef6._0x136fb2,_0x506ef6._0x36887d,0x32e,_0x506ef6._0x4df9f7)](),'size':_0x48c5df[_0x15ded1(_0x506ef6._0x1278f5,_0x506ef6._0x513a55,_0x506ef6._0x41e960,0x3d1)],'encoding':_0x1413ff(0x340,0x411,_0x506ef6._0x50cafa,0x2a4),'bomStripped':_0x2ea4d2,'truncated':![],'totalLines':_0x3b411e['length']};if(_0x591816[_0x15ded1(_0x506ef6._0x4959b9,_0x506ef6._0x5cd025,_0x506ef6._0x3932aa,_0x506ef6._0x2b6205)]!==void 0x0||_0x591816[_0x15ded1(0x557,_0x506ef6._0x29d7e3,_0x506ef6._0x46e997,_0x506ef6._0x208a32)]!==void 0x0){const _0x36224a=clampLine(_0x591816[_0x1413ff(0x70c,0x580,0x461,0x571)]??0x1,_0x3b411e['length']),_0x1e4fc7=clampLine(_0x591816['lineEnd']??_0x3b411e['length'],_0x3b411e[_0x15ded1(0x4e1,_0x506ef6._0x9d94c2,0x5b7,_0x506ef6._0xc1b829)]),_0x1ac0ff=Math[_0x15ded1(_0x506ef6._0x4318cb,_0x506ef6._0x42ce47,_0x506ef6._0x4da162,_0x506ef6._0x1ba8f4)](_0x36224a,_0x1e4fc7),_0x3cf41a=Math[_0x1413ff(_0x506ef6._0x1fa110,0x4c0,0x5d8,_0x506ef6._0x3e68a5)](_0x36224a,_0x1e4fc7),_0x162c58=_0x3b411e[_0x15ded1(0x3c9,_0x506ef6._0x106f87,0x421,_0x506ef6._0x566afc)](_0x1ac0ff-0x1,_0x3cf41a)[_0x1413ff(_0x506ef6._0x28bd3c,0x4a1,0x55d,0x51d)]((_0x4e49a9,_0x4d4adc)=>_0x1ac0ff+_0x4d4adc+'|'+_0x4e49a9)[_0x15ded1(0x507,_0x506ef6._0x3cba56,0x3f4,_0x506ef6._0x105126)]('\x0a');return yield createToolOutput(_0x162c58,{..._0x4513ed,'lineRange':{'lineStart':_0x1ac0ff,'lineEnd':_0x3cf41a,'linesTotal':_0x3b411e[_0x15ded1(_0x506ef6._0x25b377,0x475,_0x506ef6._0x1132ca,0x49b)]}}),void 0x0;}return yield createToolOutput(_0x5a450c,_0x4513ed),void 0x0;}});}import{stat as _0x2a3b3b}from'fs/promises';import*as _0x10ab68 from'path';import{execSync,spawn as _0x40fb6c}from'child_process';import{existsSync}from'fs';import{stat as _0x5f02a6}from'fs/promises';import*as _0x2387a7 from'os';import*as _0x379ba5 from'path';import{rgPath as _0x31f3ce}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x369391={_0x2c52b3:0x45,_0x38a9cf:0x227,_0x57f6cc:0x15f,_0x27ae3c:0x4b,_0x56eb33:0x58,_0x158d90:0x14a,_0x32b265:0x2d,_0x1f3460:0x214,_0x2aab66:0xc2,_0x21fc46:0x41,_0x377438:0x107,_0x4d056a:0x133,_0x1c7958:0x28c,_0x364fa0:0xa7,_0x303b5e:0x5c,_0x6a9202:0x50,_0x15b58b:0x4,_0x5a6b95:0x164,_0x218b75:0xc9,_0x19af7c:0x9c,_0xa1dd60:0x7b,_0x151706:0x138,_0x5e1849:0x194,_0x3dd8fb:0x47,_0x107246:0xe,_0x544212:0xc7,_0x244cc5:0x1b7,_0x32dabc:0x1bc,_0x1be136:0x16a,_0x5ec6b0:0xa6,_0xebd372:0x1e1,_0x20a958:0xa9,_0x2360ba:0x209,_0x25de39:0x4c},_0x530035={_0x1b4ef1:0x288,_0x10c2e9:0x10},_0x52b7ce={_0xf65c62:0x35b,_0x3f7cac:0x100};function _0x21ea18(_0x3923c3,_0x32caf3,_0x1d74bc,_0x125644){return _0x4bfe88(_0x1d74bc- -_0x52b7ce._0xf65c62,_0x32caf3-0x1e6,_0x1d74bc-_0x52b7ce._0x3f7cac,_0x32caf3);}function _0x52f740(_0x48ce45,_0x222ccd,_0x15b92d,_0x111ede){return _0x4bfe88(_0x48ce45- -_0x530035._0x1b4ef1,_0x222ccd-_0x530035._0x10c2e9,_0x15b92d-0x98,_0x111ede);}const _0x4c5038=_0x2387a7[_0x52f740(0xb0,0x114,0xbd,0x228)]()==='win32',_0x31b644=_0x4c5038?[_0x379ba5[_0x21ea18(-_0x369391._0x2c52b3,_0x369391._0x38a9cf,_0x369391._0x57f6cc,_0x369391._0x27ae3c)](process[_0x52f740(_0x369391._0x56eb33,0x57,-_0x369391._0x158d90,-0xc0)][_0x21ea18(-0x131,-0x309,-0x175,-_0x369391._0x32b265)]||'','Microsoft',_0x52f740(0x153,0xd2,_0x369391._0x1f3460,_0x369391._0x2aab66),_0x21ea18(0x60,-_0x369391._0x21fc46,-_0x369391._0x377438,-0xef)),_0x379ba5['join'](process[_0x21ea18(-0x137,_0x369391._0x4d056a,-0x7b,-0x33)][_0x52f740(0x219,0xc0,0x224,_0x369391._0x1c7958)]||'',_0x21ea18(-_0x369391._0x364fa0,-0x237,-0x8e,_0x369391._0x303b5e),_0x52f740(_0x369391._0x6a9202,-_0x369391._0x15b58b,-_0x369391._0x5a6b95,-_0x369391._0x218b75)),_0x379ba5['join'](process[_0x21ea18(-0x110,-_0x369391._0x19af7c,-_0x369391._0xa1dd60,_0x369391._0x151706)][_0x21ea18(-0x29a,-0x144,-_0x369391._0x5e1849,-0x2fb)]||'','ripgrep',_0x52f740(_0x369391._0x6a9202,-0xde,-_0x369391._0x3dd8fb,0xc))]:[_0x21ea18(0x18a,-0x148,0x7,-0x186),_0x21ea18(0xd,-_0x369391._0x107246,-_0x369391._0x544212,-0x23e),_0x21ea18(-0x2e3,-0x1fa,-_0x369391._0x244cc5,-0x27f),'/bin/rg'];for(const _0x1b253a of _0x31b644){if(existsSync(_0x1b253a))return _0x1b253a;}try{const _0x338887=_0x4c5038?'where\x20rg':_0x21ea18(-0xb4,-0x1e3,-0x100,-_0x369391._0x32dabc),_0x3ce7f1=execSync(_0x338887,{'encoding':'utf8','stdio':['pipe',_0x21ea18(-_0x369391._0x1be136,-_0x369391._0x5ec6b0,-_0x369391._0xebd372,-0x283),_0x52f740(_0x369391._0x20a958,0xe8,0x86,0x213)]})[_0x52f740(_0x369391._0x2360ba,0x110,0x35e,0x94)]()[_0x52f740(0x2a,-0x10e,_0x369391._0x25de39,-0xd5)](/\r?\n/)[0x0];if(_0x3ce7f1&&existsSync(_0x3ce7f1))return _0x3ce7f1;}catch{return null;}return null;}async function filepath(){const _0x47691d={_0x3c6fc9:0x27a},_0x4e4e6c={_0x4b5edc:0x1e,_0x388b61:0xe2};if(cachedRgPath)return cachedRgPath;function _0x53d855(_0xda341f,_0xe5daeb,_0x5f36d0,_0x54f5f8){return _0x5469ba(_0x54f5f8,_0xe5daeb-0x108,_0x5f36d0-_0x4e4e6c._0x4b5edc,_0x5f36d0- -_0x4e4e6c._0x388b61);}if(_0x31f3ce&&existsSync(_0x31f3ce))return cachedRgPath=_0x31f3ce,_0x31f3ce;const _0x49da7c=findSystemRipgrep();if(!_0x49da7c)throw new Error(_0x53d855(0x2c7,0x324,_0x47691d._0x3c6fc9,0x3a9));return cachedRgPath=_0x49da7c,_0x49da7c;}async function*files(_0xa739db){const _0x371e2a={_0x13ac0f:0x610,_0x2194e5:0x682,_0x2d606d:0x71a,_0x1c4d43:0x5fc,_0x3d544b:0x66b,_0x8fcf37:0x320,_0x2c3897:0x312,_0x5a9702:0x70c,_0x435a0d:0x754,_0x4c07f8:0x6ed,_0x3e38b4:0x717,_0x2ca2bd:0x497,_0x48df02:0x378,_0x3d7443:0x3ae,_0x7d344a:0x555,_0x5beb1c:0x618,_0x3498a4:0x578,_0x207273:0x515,_0x33d923:0x180,_0x5be3c0:0x1de,_0x4f17e3:0x352,_0x143314:0x4ed,_0x401dfd:0x4ad,_0x3f41fc:0x596,_0x4ceca6:0x4bb,_0x3cb945:0x29d,_0x334b94:0x219,_0x559bb8:0x355,_0x4f6e13:0x1e8,_0x34244c:0x38b,_0x15f008:0x382,_0x4a43a4:0x2e2,_0x192531:0x48d,_0x357593:0x74b,_0x365cd6:0x63d,_0x2871d3:0x79e},_0x2af07c={_0x5e6eb:0x27c,_0x10f9c5:0xe6},_0x54450c={_0x44ee23:0xba,_0x5399da:0x16d};function _0x231adf(_0x14a644,_0x480c6e,_0x26bb13,_0x4d4405){return _0x4bfe88(_0x14a644- -0x15,_0x480c6e-_0x54450c._0x44ee23,_0x26bb13-_0x54450c._0x5399da,_0x4d4405);}const _0x2acd08=await filepath(),_0x4ab8e0=await _0x5f02a6(_0xa739db[_0x4a6f97(0x641,_0x371e2a._0x13ac0f,_0x371e2a._0x2194e5,0x71a)])['catch'](()=>null);if(!_0x4ab8e0?.[_0x4a6f97(0x7ff,_0x371e2a._0x2d606d,_0x371e2a._0x1c4d43,_0x371e2a._0x3d544b)]())throw Object[_0x231adf(_0x371e2a._0x8fcf37,_0x371e2a._0x2c3897,0x43d,0x275)](new Error(_0x4a6f97(0x58c,_0x371e2a._0x5a9702,0x70b,_0x371e2a._0x435a0d)+_0xa739db[_0x4a6f97(_0x371e2a._0x4c07f8,0x610,_0x371e2a._0x3e38b4,0x740)]+'\x27'),{'code':_0x4a6f97(0x680,0x4da,0x4af,0x4ac)});const _0x24143a=[_0x231adf(_0x371e2a._0x2ca2bd,_0x371e2a._0x48df02,_0x371e2a._0x3d7443,_0x371e2a._0x7d344a),'--follow',_0x231adf(0x4a2,0x53e,0x629,_0x371e2a._0x5beb1c),'--glob=!.git/*'];for(const _0x137c2c of _0xa739db[_0x4a6f97(_0x371e2a._0x3498a4,0x607,_0x371e2a._0x207273,0x71a)]??[]){_0x24143a[_0x231adf(0x217,0x332,_0x371e2a._0x33d923,0x2a2)](_0x231adf(_0x371e2a._0x5be3c0,0xeb,_0x371e2a._0x4f17e3,0x31c)+_0x137c2c);}const _0x4db671=_0x40fb6c(_0x2acd08,_0x24143a,{'cwd':_0xa739db[_0x4a6f97(0x75d,_0x371e2a._0x13ac0f,0x5a1,_0x371e2a._0x143314)],'stdio':['ignore',_0x4a6f97(0x505,0x3f6,0x252,_0x371e2a._0x401dfd),'pipe']});let _0x556421='';function _0x4a6f97(_0x2d0409,_0x1d1c65,_0x2c3060,_0xa20ad8){return _0x4bfe88(_0x1d1c65-_0x2af07c._0x5e6eb,_0x1d1c65-0x155,_0x2c3060-_0x2af07c._0x10f9c5,_0x2d0409);}for await(const _0x1b50a7 of _0x4db671[_0x231adf(0x4a4,_0x371e2a._0x3f41fc,_0x371e2a._0x4ceca6,0x3f6)]??[]){_0x556421+=_0x1b50a7['toString']();const _0x1e52d1=_0x556421[_0x231adf(_0x371e2a._0x3cb945,0x36c,0x432,0x34f)](/\r?\n/);_0x556421=_0x1e52d1[_0x231adf(0x1b0,_0x371e2a._0x334b94,_0x371e2a._0x559bb8,_0x371e2a._0x4f6e13)]()??'';for(const _0x13b9f1 of _0x1e52d1){if(_0x13b9f1[_0x231adf(0x389,_0x371e2a._0x34244c,_0x371e2a._0x15f008,0x4af)]>0x0)yield _0x13b9f1;}}_0x556421[_0x231adf(0x47c,0x545,_0x371e2a._0x4a43a4,_0x371e2a._0x192531)]()[_0x4a6f97(_0x371e2a._0x357593,0x61a,_0x371e2a._0x365cd6,0x4cb)]>0x0&&(yield _0x556421[_0x4a6f97(0x649,0x70d,0x5d7,_0x371e2a._0x2871d3)]());}function parseMatchLine(_0x23ffba,_0x9f5898){const _0x1ba136={_0x1b766c:0x1ba,_0x2959d8:0xd0,_0x12801b:0x61,_0x225171:0x1fe,_0x364621:0x120,_0x456516:0xd8,_0x23e164:0xcf,_0x20f840:0x3b,_0x4625ac:0x2b,_0x37ad9d:0x1ed,_0x36ef7a:0x4a,_0x46cc85:0x342,_0x2279bb:0x142,_0xf10cf6:0x43,_0x27a44f:0x116,_0x13330b:0x45,_0xa1a840:0x147,_0xda1efe:0x2c,_0x57a97d:0x6,_0x267f03:0x132},_0x283f97={_0x49a1b6:0x313};function _0x32b9f4(_0x4539d6,_0x34e524,_0x28021d,_0x576c36){return _0x5469ba(_0x28021d,_0x34e524-0x134,_0x28021d-0x48,_0x4539d6- -_0x283f97._0x49a1b6);}if(!_0x23ffba||_0x23ffba==='--')return null;const _0x1270e3=_0x23ffba[_0x32b9f4(-0x124,-_0x1ba136._0x1b766c,-0x2b6,-_0x1ba136._0x2959d8)]('|');function _0x16b6da(_0x5e3b08,_0x5cdd78,_0x22137a,_0x55c5ad){return _0x5469ba(_0x55c5ad,_0x5cdd78-0x18f,_0x22137a-0xc0,_0x5e3b08- -0x3f1);}if(_0x9f5898&&_0x1270e3[_0x32b9f4(-0x38,0x34,-0x2e,-_0x1ba136._0x12801b)]>=0x4&&Number[_0x16b6da(-0x1ed,-0x1cb,-_0x1ba136._0x225171,-0x17b)](Number[_0x32b9f4(0xf,_0x1ba136._0x364621,-_0x1ba136._0x456516,-0xb4)](_0x1270e3[0x2]??'',0xa))){const _0x46eeb9=Number[_0x16b6da(-_0x1ba136._0x23e164,_0x1ba136._0x20f840,-0x125,-_0x1ba136._0x4625ac)](_0x1270e3[0x1]??'',0xa);if(!Number[_0x16b6da(-_0x1ba136._0x37ad9d,-_0x1ba136._0x36ef7a,-_0x1ba136._0x46cc85,-0x392)](_0x46eeb9)||!_0x1270e3[0x0])return null;return{'filePath':_0x1270e3[0x0],'lineNum':_0x46eeb9,'lineText':_0x1270e3['slice'](0x3)[_0x32b9f4(0xe4,_0x1ba136._0x2279bb,0x62,-_0x1ba136._0xf10cf6)]('|')};}if(_0x1270e3[_0x16b6da(-_0x1ba136._0x27a44f,-_0x1ba136._0x13330b,0xc,-_0x1ba136._0xf10cf6)]>=0x3){const _0x3f5a04=Number[_0x16b6da(-0xcf,-_0x1ba136._0xa1a840,-_0x1ba136._0xda1efe,-0xb)](_0x1270e3[0x1]??'',0xa);if(!Number['isFinite'](_0x3f5a04)||!_0x1270e3[0x0])return null;return{'filePath':_0x1270e3[0x0],'lineNum':_0x3f5a04,'lineText':_0x1270e3['slice'](0x2)[_0x16b6da(_0x1ba136._0x57a97d,-_0x1ba136._0x267f03,0xc1,-0xc0)]('|'),..._0x9f5898?{'isContext':!![]}:{}};}return null;}async function search(_0x151b2f){const _0x1413ec={_0x35aa33:0x78,_0x231f3b:0x15d,_0x528951:0x24f,_0x44acac:0x378,_0x45028f:0x188,_0xd147f7:0xd9,_0x428d89:0x29,_0x18922d:0xb0,_0x2d85a3:0x1d2,_0x471b5b:0x182,_0x7369f9:0x29e,_0x43ef00:0x1df,_0x3499a2:0x112,_0x259559:0x10,_0x4803ad:0x1eb,_0x286968:0x76,_0x225f13:0x108,_0x26bb55:0xf3,_0x2b7227:0x43d,_0x5b1381:0x2db,_0x36070f:0x302,_0x2e5dbe:0x1fb,_0x21139c:0xa9,_0xe88073:0x2d1,_0x5b229f:0x288,_0x5121e8:0x3d,_0x35ec10:0x65,_0x10d8ce:0xa4,_0x423ab8:0x9a,_0x2fe65b:0x1a1,_0x116c75:0x108,_0x1b1d98:0x1fc,_0x416911:0x8d,_0x422e0f:0x7b,_0x5c970d:0x2e,_0x457e05:0xdd,_0x2ea6d1:0x216,_0x233b03:0x2d8,_0x52ce61:0x77,_0x307d1c:0x53,_0x1894a6:0x1fb},_0xc4edc6={_0x47f301:0x4e9,_0x5f5c4d:0x353,_0x3c52e2:0x276,_0x299522:0x125,_0x41cf99:0x329,_0xed47ce:0x21a,_0x361d4f:0x72a,_0x11f6b1:0x629,_0x174252:0x6bd,_0x3c9d2b:0x755,_0x2f4209:0x3a6,_0x512e50:0x461,_0x4cfa8c:0x3d7,_0x308772:0x461,_0x5862b3:0x409,_0xe57a57:0x19a},_0x48a4cc={_0x2dfc78:0x2e1,_0x33890a:0x12c,_0xa37c07:0x424,_0x3de990:0x4e7,_0x23d3d3:0x3fa},_0x401395={_0x35e564:0xf2},_0x3cceb1={_0x2a9b38:0x158},_0x58b131=await filepath();if(_0x151b2f[_0x31e1fe(-0x21,0x137,_0x1413ec._0x35aa33,_0x1413ec._0x231f3b)]){const _0x20ae52=await _0x5f02a6(_0x151b2f['file'])[_0x31e1fe(_0x1413ec._0x528951,_0x1413ec._0x44acac,0x283,_0x1413ec._0x45028f)](()=>null);if(!_0x20ae52?.[_0x26b725(0x184,0xd1,-_0x1413ec._0xd147f7,_0x1413ec._0x428d89)]())throw Object[_0x26b725(0xaf,_0x1413ec._0x18922d,-_0x1413ec._0x2d85a3,-0xf3)](new Error('No\x20such\x20file:\x20\x27'+_0x151b2f['file']+'\x27'),{'code':'ENOENT'});}else{const _0x2eb25e=await _0x5f02a6(_0x151b2f[_0x31e1fe(_0x1413ec._0x471b5b,_0x1413ec._0x7369f9,_0x1413ec._0x43ef00,0x95)])[_0x26b725(-_0x1413ec._0x3499a2,-0xbc,0xf9,_0x1413ec._0x259559)](()=>null);if(!_0x2eb25e?.[_0x26b725(0x189,_0x1413ec._0x4803ad,-0x2a,_0x1413ec._0x286968)]())throw Object[_0x26b725(-0xf1,-_0x1413ec._0x225f13,-0x19a,-_0x1413ec._0x26bb55)](new Error(_0x31e1fe(_0x1413ec._0x2b7227,0x3fa,_0x1413ec._0x5b1381,_0x1413ec._0x36070f)+_0x151b2f[_0x26b725(-0x184,0xa1,-0xc1,-0x94)]+'\x27'),{'code':_0x31e1fe(0x107,_0x1413ec._0x2e5dbe,_0x1413ec._0x21139c,0x18e)});}const _0x3620d2=[_0x26b725(-_0x1413ec._0xe88073,-0xe3,-0x372,-0x1c7),'--field-match-separator=|',_0x31e1fe(_0x1413ec._0x5b229f,0x1c1,0x22f,0x277),'--regexp',_0x151b2f[_0x26b725(-_0x1413ec._0x5121e8,-_0x1413ec._0x35ec10,-0x167,-0x187)]];function _0x26b725(_0x284e9f,_0x5c3971,_0x5375fc,_0x2433cf){return _0x5469ba(_0x5375fc,_0x5c3971-0x115,_0x5375fc-_0x3cceb1._0x2a9b38,_0x2433cf- -0x365);}const _0x149bd7=typeof _0x151b2f[_0x26b725(-_0x1413ec._0x10d8ce,-0xe,0x1ea,_0x1413ec._0x423ab8)]==='number'&&_0x151b2f[_0x26b725(_0x1413ec._0x2fe65b,0x2d,-0x74,0x9a)]>0x0;function _0x31e1fe(_0x46bc14,_0x1aa41c,_0x308cda,_0x161643){return _0x5469ba(_0x1aa41c,_0x1aa41c-0x1e5,_0x308cda-0x64,_0x308cda- -_0x401395._0x35e564);}return _0x149bd7&&_0x3620d2['push']('-C',String(_0x151b2f['context']),'--column'),_0x151b2f[_0x31e1fe(0x1e4,0x1aa,0x1d6,0x298)]&&!_0x151b2f['file']&&_0x3620d2[_0x26b725(-_0x1413ec._0x116c75,-0x32e,-0x316,-_0x1413ec._0x1b1d98)](_0x31e1fe(-_0x1413ec._0x416911,_0x1413ec._0x422e0f,-_0x1413ec._0x5c970d,-_0x1413ec._0x457e05),_0x151b2f['glob']),_0x3620d2[_0x26b725(-0x395,-_0x1413ec._0x2ea6d1,-_0x1413ec._0x233b03,-0x1fc)](_0x151b2f[_0x26b725(-_0x1413ec._0x52ce61,-0x182,-_0x1413ec._0x307d1c,-_0x1413ec._0x1894a6)]??_0x151b2f[_0x26b725(-0x127,0x8f,-0x112,-0x94)]),await new Promise((_0x1decdc,_0x1d3dc4)=>{const _0x360a1a={_0x5dd236:0x179,_0x588adf:0xb3},_0x1a877a={_0x1002ca:0xa8,_0x540da5:0x2b},_0x28393d={_0x38bbd6:0x19c},_0x19c80d=_0x40fb6c(_0x58b131,_0x3620d2,{'cwd':_0x151b2f['cwd'],'stdio':[_0x423a41(_0xc4edc6._0x47f301,0x4a1,_0xc4edc6._0x5f5c4d,0x3b9),_0xb29673(0x348,_0xc4edc6._0x3c52e2,0x21a,_0xc4edc6._0x299522),_0xb29673(_0xc4edc6._0x41cf99,0x333,_0xc4edc6._0xed47ce,0x30d)]});let _0x1adbb8='';function _0x423a41(_0x55d538,_0x561aec,_0xe88dc9,_0x2e3b61){return _0x26b725(_0x55d538-0x14e,_0x561aec-0x16a,_0x2e3b61,_0x561aec-0x598);}let _0x11e44c='';_0x19c80d[_0x423a41(_0xc4edc6._0x361d4f,_0xc4edc6._0x11f6b1,_0xc4edc6._0x174252,_0xc4edc6._0x3c9d2b)]?.['on'](_0x423a41(0x331,_0xc4edc6._0x2f4209,0x338,_0xc4edc6._0x512e50),_0x3c188b=>{_0x1adbb8+=_0x3c188b['toString']();}),_0x19c80d[_0xb29673(0x1f5,0x456,0x3a7,_0xc4edc6._0x4cfa8c)]?.['on']('data',_0x267d16=>{const _0x4c8067={_0x523461:0x120};function _0x261b91(_0x40de53,_0xd51874,_0x5214cf,_0x2a50c4){return _0xb29673(_0x40de53-_0x4c8067._0x523461,_0x2a50c4,_0x40de53- -0x252,_0x2a50c4-0xe4);}_0x11e44c+=_0x267d16[_0x261b91(0xf4,0x241,0x24f,_0x28393d._0x38bbd6)]();}),_0x19c80d['on'](_0x423a41(_0xc4edc6._0x308772,0x2da,_0xc4edc6._0x5862b3,_0xc4edc6._0xe57a57),_0x16741f=>{function _0x34ac83(_0xa32256,_0x53969c,_0x4b3efe,_0xcd1689){return _0xb29673(_0xa32256-0xe1,_0xcd1689,_0x4b3efe-_0x1a877a._0x1002ca,_0xcd1689-_0x1a877a._0x540da5);}if(_0x16741f===0x1&&_0x1adbb8===''){_0x1decdc([]);return;}function _0x4b5593(_0xb13ef3,_0x1d9ea8,_0x347bbb,_0x305fda){return _0xb29673(_0xb13ef3-_0x360a1a._0x5dd236,_0xb13ef3,_0x305fda- -0x4f,_0x305fda-_0x360a1a._0x588adf);}if(_0x16741f!==0x0&&_0x16741f!==0x1){_0x1d3dc4(new Error('ripgrep\x20failed:\x20'+_0x11e44c));return;}const _0x54e21a=_0x151b2f[_0x4b5593(_0x48a4cc._0x2dfc78,_0x48a4cc._0x33890a,_0x48a4cc._0xa37c07,0x2c1)]??0x64,_0x28dbeb=[];for(const _0x597e1e of _0x1adbb8[_0x34ac83(0x5a2,_0x48a4cc._0x3de990,_0x48a4cc._0x23d3d3,0x3a8)](/\r?\n/)){if(_0x28dbeb[_0x4b5593(0x4f9,0x4df,0x279,0x3ef)]>=_0x54e21a)break;const _0x26b5fe=parseMatchLine(_0x597e1e,_0x149bd7);if(_0x26b5fe)_0x28dbeb['push'](_0x26b5fe);}_0x1decdc(_0x28dbeb);});function _0xb29673(_0x561c04,_0x26f9d5,_0x5de8e5,_0x2025de){return _0x31e1fe(_0x561c04-0xb6,_0x26f9d5,_0x5de8e5-0x255,_0x2025de-0x187);}_0x19c80d['on']('error',_0x1d3dc4);});}function createGlobTool(_0x1462c5={}){const _0x12cf22={_0x564360:0x1fa,_0x17b2d8:0x242,_0x5ac3bc:0x262,_0x4139c2:0x18,_0x181c4d:0x230,_0x1fbff6:0xbd,_0x1631db:0x36,_0x2bca8e:0x16e,_0x41f1bf:0x8d,_0x3d614d:0x17b,_0x4822fe:0x4af,_0x41f2de:0x48c,_0x134516:0x44d,_0x3474aa:0xe4,_0x40e65e:0x4b6},_0x1ec9f3={_0x45e39f:0x8b,_0x550d3e:0x35,_0x5141a6:0x27b,_0x3fb452:0x3a1,_0x241298:0x7f,_0x4229d2:0x569,_0x3903a:0x2fd,_0x4a2512:0x3e7,_0x3b1d74:0x149,_0x40bb2b:0x4cb,_0x19cb26:0x3e7,_0x126537:0x40,_0x21425b:0xae,_0x5ef7fe:0xb2,_0x1d997c:0x19,_0x21266c:0xec,_0x36963c:0xf1,_0x270db0:0x359,_0x178a8b:0x1d2,_0x159a58:0x542,_0x4791f6:0x222,_0x104d0f:0x250,_0x2d3ecf:0x15e,_0xe0bec5:0x3e4,_0x3f5672:0x490,_0x2760eb:0x390,_0x42580d:0x2fb,_0x28a0a6:0x2af,_0x4e941b:0x3f5,_0x5a3f1b:0x29d,_0x58bcc1:0x3bb,_0x5d1c10:0xdb,_0x54906e:0x1e3,_0x375926:0x45d,_0x6961ca:0x5b5,_0x246a66:0x542,_0x39c905:0x10c,_0x45a764:0x37,_0x433231:0x52,_0x2fc6aa:0x37,_0x55d825:0x43f,_0x2c62c4:0x3b3,_0x529cdf:0x48c,_0x42f5c1:0x543,_0x449525:0x426},_0x1359cc={_0x57ded9:0xfd,_0x10cffe:0x196},_0x1b64df={_0x317448:0xdb,_0x3079be:0x37,_0x4f48ef:0x31c},_0x47becf=_0x10ab68[_0x51dfb2(_0x12cf22._0x564360,_0x12cf22._0x17b2d8,0x142,_0x12cf22._0x5ac3bc)](_0x1462c5[_0x51dfb2(0x27a,-0x8f,-_0x12cf22._0x4139c2,0x10d)]??process[_0x51dfb2(0x1b5,0x34c,_0x12cf22._0x181c4d,0x214)]()),_0x4c6edd=_0x1462c5['allowedDirs']??[],_0x3683b6=_0x1462c5['limit']??0x64;function _0x18471b(_0x56162a,_0x5d3801,_0xe77be9,_0x418bc9){return _0x5469ba(_0x56162a,_0x5d3801-_0x1b64df._0x317448,_0xe77be9-_0x1b64df._0x3079be,_0xe77be9-_0x1b64df._0x4f48ef);}function _0x51dfb2(_0x362bbc,_0x1e461d,_0x237355,_0x20511d){return _0x5469ba(_0x362bbc,_0x1e461d-0x136,_0x237355-0x13e,_0x20511d- -0xbd);}const _0x167839=_0x1462c5[_0x51dfb2(0x79,-0xaa,0x150,_0x12cf22._0x1fbff6)]??_0x51dfb2(_0x12cf22._0x1631db,0x1f6,-0x72,0x9b);return defineTool({'name':_0x167839,'permissionClass':_0x51dfb2(0x1d4,0x29d,-0x7d,0x127),'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x51dfb2(_0x12cf22._0x2bca8e,_0x12cf22._0x41f1bf,0x2a5,_0x12cf22._0x3d614d),'properties':{'pattern':{'type':_0x18471b(0x5bc,_0x12cf22._0x4822fe,_0x12cf22._0x41f2de,_0x12cf22._0x134516)},'path':{'type':'string'},'limit':{'type':_0x51dfb2(0x3bb,0x1b1,_0x12cf22._0x3474aa,0x240)}},'required':[_0x18471b(0x58b,0x618,0x4fa,_0x12cf22._0x40e65e)]},async *'execute'(_0x5d0573){const _0x42ae5b={_0x1fef03:0x96};if(_0x5d0573[_0x3eb2ad(_0x1ec9f3._0x45e39f,0xc3,0x16b,-_0x1ec9f3._0x550d3e)][_0x3eb2ad(_0x1ec9f3._0x5141a6,0x2fd,0x170,_0x1ec9f3._0x3fb452)]()['length']===0x0)throw new ToolExecutionError(_0x4659b2(0xfc,_0x1ec9f3._0x241298,0x135,0x1f1),{});const _0xa77a30=resolveAllowedPath(_0x47becf,_0x4c6edd,_0x5d0573[_0x4659b2(_0x1ec9f3._0x4229d2,_0x1ec9f3._0x3903a,0x263,_0x1ec9f3._0x4a2512)]??'.'),_0x264a27=await _0x2a3b3b(_0xa77a30)['catch'](()=>null);if(!_0x264a27?.['isDirectory']())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x5d0573[_0x3eb2ad(_0x1ec9f3._0x3b1d74,-0x4c,0x21a,0xa0)]??'.'),{'path':_0x5d0573[_0x4659b2(0x51f,_0x1ec9f3._0x40bb2b,0x3a1,_0x1ec9f3._0x19cb26)]??'.'});function _0x3eb2ad(_0x177d5a,_0x57b7a5,_0x2b4818,_0x26fabf){return _0x51dfb2(_0x2b4818,_0x57b7a5-0x8,_0x2b4818-0x16,_0x177d5a- -_0x42ae5b._0x1fef03);}const _0x50969d=_0x5d0573['limit']??_0x3683b6,_0x15d548=Math[_0x3eb2ad(0x30,_0x1ec9f3._0x126537,_0x1ec9f3._0x21425b,-_0x1ec9f3._0x5ef7fe)](0x1,Math[_0x3eb2ad(-_0x1ec9f3._0x1d997c,_0x1ec9f3._0x21266c,-_0x1ec9f3._0x36963c,0xff)](_0x50969d)),_0x7d65=[];let _0x5a707f=![];function _0x4659b2(_0x4729a6,_0x549901,_0x26e953,_0xa9ffc2){return _0x18471b(_0x549901,_0x549901-_0x1359cc._0x57ded9,_0xa9ffc2- -0x1d1,_0xa9ffc2-_0x1359cc._0x10cffe);}for await(const _0x30431f of files({'cwd':_0xa77a30,'glob':[_0x5d0573[_0x4659b2(_0x1ec9f3._0x270db0,_0x1ec9f3._0x178a8b,0x1e4,0x329)]]})){if(_0x7d65['length']>=_0x15d548){_0x5a707f=!![];break;}const _0x1e7b7c=await _0x2a3b3b(_0x10ab68[_0x4659b2(0x67b,0x671,0x3ce,_0x1ec9f3._0x159a58)](_0xa77a30,_0x30431f))[_0x3eb2ad(_0x1ec9f3._0x4791f6,0x375,_0x1ec9f3._0x104d0f,_0x1ec9f3._0x2d3ecf)](()=>null);_0x7d65['push']({'path':_0x30431f,'mtime':_0x1e7b7c?.['mtimeMs']??0x0});}_0x7d65[_0x4659b2(0x5cb,_0x1ec9f3._0xe0bec5,_0x1ec9f3._0x3f5672,0x472)]((_0x1e16a6,_0xcab47f)=>_0xcab47f['mtime']-_0x1e16a6[_0x3eb2ad(0x2bb,0x229,0x182,0x2c2)]);const _0x12a9de=_0x7d65[_0x4659b2(_0x1ec9f3._0x2760eb,_0x1ec9f3._0x3fb452,_0x1ec9f3._0x42580d,_0x1ec9f3._0x28a0a6)](_0xc893ed=>_0xc893ed[_0x3eb2ad(0x149,0x13b,0x19e,0xcb)]),_0x48ef63=_0x12a9de['length']===0x0?_0x4659b2(_0x1ec9f3._0x4e941b,_0x1ec9f3._0x5a3f1b,_0x1ec9f3._0x58bcc1,0x281)+_0x5d0573[_0x3eb2ad(0x8b,0x1b1,_0x1ec9f3._0x5d1c10,_0x1ec9f3._0x54906e)]:''+_0x12a9de[_0x4659b2(0x446,_0x1ec9f3._0x375926,_0x1ec9f3._0x6961ca,_0x1ec9f3._0x246a66)]('\x0a')+(_0x5a707f?_0x3eb2ad(_0x1ec9f3._0x39c905,-_0x1ec9f3._0x45a764,-_0x1ec9f3._0x433231,_0x1ec9f3._0x2fc6aa):'');return yield createToolOutput(_0x48ef63,{'pattern':_0x5d0573[_0x4659b2(_0x1ec9f3._0x55d825,0x469,_0x1ec9f3._0x2c62c4,0x329)],'searchPath':_0x10ab68['relative'](_0x47becf,_0xa77a30)||'.','matches':_0x12a9de,'count':_0x12a9de[_0x4659b2(0x4df,_0x1ec9f3._0x529cdf,_0x1ec9f3._0x42f5c1,_0x1ec9f3._0x449525)],'truncated':_0x5a707f}),void 0x0;}});}import{stat as _0x55af45}from'fs/promises';import*as _0x114784 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x5b949c={}){const _0x163c5d={_0x58615d:0x9c,_0x6dbde:0x85,_0x5f2192:0x250,_0x4f13e9:0x1d0,_0x2d77a5:0x268,_0x436585:0x250,_0xd5acb1:0x363,_0x1d6f35:0x260,_0x5845fb:0x31c,_0x4dd34d:0x3e9,_0x28ee20:0x325,_0x519131:0x330,_0x5e8277:0x57,_0x122229:0x2,_0x405799:0x6e,_0x1ec6e5:0x1e3,_0x17e867:0xca,_0x8fa58c:0x146,_0x3de22e:0x2ef,_0x45eafa:0x32b,_0x282597:0x487,_0xb07846:0x137,_0x410951:0xca,_0x5606b8:0xc3,_0x55f10a:0xc1,_0x43152d:0x5c2,_0x32ca62:0x341,_0x4fc1fb:0x35d,_0x2f2d2c:0x4ec,_0x22a7ac:0x356,_0x41888e:0x36f},_0x489f08={_0x316c6f:0x3cd,_0x5908a7:0x386,_0x475ea8:0x58a,_0x2ba8d9:0x5e8,_0x1ff3dc:0x76d,_0xeeb17:0x598,_0x4aede8:0x347,_0x41b927:0x4c6,_0x5cfa69:0x48a,_0xa21326:0x229,_0x17f81c:0x246,_0x15d490:0x308,_0x540156:0x1a1,_0x17be46:0x40d,_0x9f75dc:0x58f,_0x1f3ec5:0x426,_0x558724:0x5f5,_0x35c606:0x6e0,_0x552d47:0x37d,_0x176a73:0x423,_0x2e9dc3:0x45c,_0x567e42:0x472,_0x37b62f:0x4ba,_0x2864f8:0x1ef,_0x3de778:0x3e,_0x5b0887:0x401,_0x4d418a:0x3f8,_0x3c3a75:0x559,_0x270124:0x42c,_0x3d736c:0x529,_0x2b1b49:0x486,_0x18382d:0xe7,_0x2740bd:0x263,_0x234bae:0x1da,_0x2c2e31:0x453,_0x248324:0x5b2,_0x55b37e:0x53c,_0x302ef4:0x58f,_0x21d470:0x6ef,_0x54bbdd:0x373,_0x513ea4:0x2a5,_0x5d4ef4:0x30f,_0x57dac3:0x3ea,_0x469e17:0x499,_0x50c479:0x5bf,_0x46a0cd:0x58c,_0x557974:0x2a5,_0x46ed79:0x29e,_0x4aa73c:0x21c,_0x2028f8:0x41e,_0x2f5155:0x367,_0x1330db:0x3d2,_0x370d18:0x4c1,_0x470298:0x393,_0x43dc44:0x572,_0x43d341:0x3f3,_0x273f1f:0x695,_0x4d88ff:0x665,_0x1be9b5:0x3c1,_0x860afc:0x33f,_0x530f54:0x247,_0x5bcec2:0x368,_0x4904d4:0x37e,_0x291908:0x3c1,_0xfd3518:0x179,_0x1e740b:0x25b,_0x4eeba8:0x239,_0x598f27:0x604,_0x2ad180:0x48f,_0x59f85d:0x4d,_0x5aad3c:0x1d,_0x3857ef:0x347,_0x264b58:0x267,_0x40e169:0x449,_0x1b9d45:0x2d7,_0x166771:0x3a3,_0x7211f2:0x512,_0x167cac:0x214,_0x20356a:0x6cb,_0x23eccc:0x615,_0x4274ad:0x681,_0x2144d5:0x45e,_0xdd8474:0x479,_0x438240:0x4ae,_0x4d6e7d:0x2c9,_0x8c63fa:0x288,_0x4dcbd2:0x405,_0x3f30c2:0x775,_0x2638fb:0x5cf,_0x460e52:0x4b0,_0xc18440:0x587,_0x360b45:0x57c,_0x51e8b3:0x634,_0x49debe:0x5e8,_0x877397:0x525},_0x4469b1={_0x801bcb:0xa7},_0x4eacdf={_0x3b292f:0xb0,_0x5a6213:0x23a},_0x16f594={_0x3c4add:0x148};function _0x566a34(_0x19b587,_0xa4cfab,_0x27c88b,_0x49d8d3){return _0x5469ba(_0x27c88b,_0xa4cfab-0x59,_0x27c88b-_0x16f594._0x3c4add,_0x19b587-0x17f);}const _0x59cd02=_0x114784['resolve'](_0x5b949c['defaultCwd']??process['cwd']()),_0xbd3e74=_0x5b949c['allowedDirs']??[],_0x2d5663=_0x5b949c[_0x3665aa(0x14,_0x163c5d._0x58615d,-0x8d,-_0x163c5d._0x6dbde)]??0x64,_0x267c0d=_0x5b949c[_0x3665aa(-_0x163c5d._0x5f2192,-0x157,-0xc0,-_0x163c5d._0x4f13e9)]??_0x566a34(_0x163c5d._0x2d77a5,0x23f,_0x163c5d._0x436585,0x24d);function _0x3665aa(_0x471d80,_0x30cdae,_0xde3b1b,_0x50be33){return _0x5469ba(_0x30cdae,_0x30cdae-0xe,_0xde3b1b-_0x4eacdf._0x3b292f,_0xde3b1b- -_0x4eacdf._0x5a6213);}return defineTool({'name':_0x267c0d,'permissionClass':_0x566a34(_0x163c5d._0xd5acb1,_0x163c5d._0x1d6f35,0x347,_0x163c5d._0x5845fb),'description':_0x566a34(_0x163c5d._0x4dd34d,_0x163c5d._0x28ee20,_0x163c5d._0x519131,0x3fd),'inputSchema':{'type':_0x3665aa(_0x163c5d._0x5e8277,-0xf8,-_0x163c5d._0x122229,-0x11b),'properties':{'pattern':{'type':_0x3665aa(_0x163c5d._0x405799,-_0x163c5d._0x1ec6e5,-_0x163c5d._0x17e867,-_0x163c5d._0x8fa58c)},'path':{'type':_0x566a34(_0x163c5d._0x3de22e,0x19a,_0x163c5d._0x45eafa,_0x163c5d._0x282597)},'include':{'type':_0x3665aa(-_0x163c5d._0xb07846,-0x211,-_0x163c5d._0x410951,-0x1ce)},'limit':{'type':_0x3665aa(-_0x163c5d._0x5606b8,0x3d,_0x163c5d._0x5606b8,-_0x163c5d._0x55f10a)},'context':{'type':_0x566a34(0x47c,_0x163c5d._0x43152d,_0x163c5d._0x32ca62,0x512)}},'required':[_0x566a34(_0x163c5d._0x4fc1fb,_0x163c5d._0x2f2d2c,_0x163c5d._0x22a7ac,_0x163c5d._0x41888e)]},async *'execute'(_0xfcd34a){const _0x20d535={_0x22a61e:0x9b};if(_0xfcd34a[_0x986dd4(_0x489f08._0x316c6f,0x24a,0x17c,_0x489f08._0x5908a7)][_0x2aa994(_0x489f08._0x475ea8,_0x489f08._0x2ba8d9,_0x489f08._0x1ff3dc,_0x489f08._0xeeb17)]()[_0x986dd4(0x22c,_0x489f08._0x4aede8,_0x489f08._0x41b927,_0x489f08._0x5cfa69)]===0x0)throw new ToolExecutionError(_0x986dd4(0x5f,0x112,0x288,_0x489f08._0xa21326),{});const _0x2adf2e=resolveAllowedPath(_0x59cd02,_0xbd3e74,_0xfcd34a[_0x986dd4(_0x489f08._0x17f81c,_0x489f08._0x15d490,_0x489f08._0x540156,_0x489f08._0x17be46)]??'.'),_0xb605e9=await _0x55af45(_0x2adf2e)[_0x2aa994(0x455,_0x489f08._0x9f75dc,0x686,_0x489f08._0x1f3ec5)](()=>null),_0x3a9d5f=_0xb605e9?.['isFile']()??![],_0x121c45=_0xb605e9?.[_0x2aa994(0x55a,_0x489f08._0x558724,_0x489f08._0x35c606,0x71c)]()??![];if(!_0x3a9d5f&&!_0x121c45)throw new ToolExecutionError(_0x2aa994(0x32d,_0x489f08._0x552d47,_0x489f08._0x176a73,0x293)+(_0xfcd34a[_0x986dd4(0x287,_0x489f08._0x15d490,_0x489f08._0x2e9dc3,0x236)]??'.'),{'path':_0xfcd34a[_0x2aa994(_0x489f08._0x567e42,0x4b6,_0x489f08._0x37b62f,0x39e)]??'.'});const _0x4a81f2=_0xfcd34a['limit']??_0x2d5663,_0x44ab1d=Math[_0x986dd4(0x37c,_0x489f08._0x2864f8,_0x489f08._0x3de778,0x66)](0x1,Math[_0x986dd4(0x249,0x1a6,0x218,0x10)](_0x4a81f2)),_0x285afd=await search({'cwd':_0x121c45?_0x2adf2e:_0x114784['dirname'](_0x2adf2e),'pattern':_0xfcd34a[_0x2aa994(_0x489f08._0x5b0887,_0x489f08._0x4d418a,_0x489f08._0x3c3a75,0x338)],'glob':_0x121c45?_0xfcd34a[_0x986dd4(0x4d4,_0x489f08._0x270124,0x51a,0x386)]:void 0x0,'limit':_0x44ab1d,'file':_0x3a9d5f?_0x2adf2e:void 0x0,'context':_0xfcd34a[_0x986dd4(0x3ab,0x46b,_0x489f08._0x3d736c,_0x489f08._0x2b1b49)]});function _0x2aa994(_0x2a752d,_0x2bb45a,_0x23504f,_0x15e4f9){return _0x566a34(_0x2bb45a-_0x20d535._0x22a61e,_0x2bb45a-0x14e,_0x23504f,_0x15e4f9-0x139);}const _0x179a79=new Map();for(const _0x128b6f of _0x285afd){if(!_0x179a79[_0x986dd4(_0x489f08._0x18382d,_0x489f08._0x2740bd,0x21c,_0x489f08._0x234bae)](_0x128b6f['filePath'])){const _0x1e26ef=await _0x55af45(_0x128b6f[_0x2aa994(0x2bc,_0x489f08._0x2c2e31,0x603,_0x489f08._0x248324)])[_0x2aa994(_0x489f08._0x55b37e,_0x489f08._0x302ef4,_0x489f08._0x21d470,0x50f)](()=>null);_0x179a79['set'](_0x128b6f[_0x986dd4(_0x489f08._0x54bbdd,_0x489f08._0x513ea4,_0x489f08._0x5d4ef4,0x242)],{'matches':[],'mtime':_0x1e26ef?.['mtimeMs']??0x0});}_0x179a79[_0x2aa994(_0x489f08._0x57dac3,_0x489f08._0x469e17,_0x489f08._0x50c479,_0x489f08._0x46a0cd)](_0x128b6f[_0x986dd4(0x2b7,_0x489f08._0x557974,0x2ed,_0x489f08._0x46ed79)])?.[_0x2aa994(_0x489f08._0x4aa73c,0x2d6,_0x489f08._0x2028f8,_0x489f08._0x2f5155)]['push'](_0x128b6f);}const _0x58e33b=[..._0x179a79[_0x2aa994(0x527,_0x489f08._0x1330db,0x4c8,0x548)]()][_0x986dd4(_0x489f08._0x370d18,_0x489f08._0x470298,0x4a7,0x445)]((_0x4ec273,_0x1e3b73)=>_0x1e3b73[0x1]['mtime']-_0x4ec273[0x1][_0x2aa994(0x564,0x628,0x619,0x48a)]),_0x3a0bde=_0x285afd[_0x2aa994(_0x489f08._0x43dc44,0x52b,_0x489f08._0x43d341,_0x489f08._0x273f1f)](_0xc402a3=>!_0xc402a3[_0x2aa994(0x226,0x33c,0x2ff,0x24d)])[_0x2aa994(_0x489f08._0x4d88ff,0x4f5,0x64f,_0x489f08._0x1be9b5)];function _0x986dd4(_0x478ad9,_0x194de3,_0x48dca1,_0x28429c){return _0x3665aa(_0x478ad9-_0x4469b1._0x801bcb,_0x28429c,_0x194de3-0x2a6,_0x28429c-0x28);}const _0x40e313=_0x285afd[_0x2aa994(0x5a9,0x4f5,0x3d2,_0x489f08._0x860afc)]>=_0x44ab1d,_0x591aeb=_0x3a9d5f?_0x114784[_0x986dd4(0x125,_0x489f08._0x530f54,0xe4,0x359)](_0x2adf2e):_0x2adf2e;let _0x5bdc8d='';if(_0x285afd[_0x986dd4(_0x489f08._0x5bcec2,0x347,0x317,0x396)]===0x0)_0x5bdc8d=_0x2aa994(0x278,0x417,_0x489f08._0x4904d4,0x322)+_0xfcd34a['pattern'];else{_0x5bdc8d='Found\x20'+_0x3a0bde+_0x2aa994(0x569,_0x489f08._0x291908,0x46c,0x4f9)+(_0x3a0bde===0x1?'':'es')+'\x0a';for(const [_0x257d35,_0x58d457]of _0x58e33b){const _0x5acd42=_0x3a9d5f?_0x114784[_0x986dd4(0x1d5,_0x489f08._0xfd3518,_0x489f08._0x1e740b,_0x489f08._0x4eeba8)](_0x257d35):_0x114784[_0x2aa994(0x68e,_0x489f08._0x598f27,_0x489f08._0x2ad180,0x699)](_0x591aeb,_0x257d35);_0x5bdc8d+='\x0a'+_0x5acd42+':\x0a';for(const _0x298a55 of _0x58d457[_0x986dd4(-_0x489f08._0x59f85d,0x128,-_0x489f08._0x5aad3c,0x7)]){const _0x5ac7ee=_0x298a55['lineText'][_0x986dd4(0x1d9,_0x489f08._0x3857ef,_0x489f08._0x264b58,_0x489f08._0x40e169)]>MAX_LINE_LENGTH?_0x298a55[_0x986dd4(0x3b3,0x3d2,_0x489f08._0x1b9d45,0x442)]['slice'](0x0,MAX_LINE_LENGTH)+_0x986dd4(0x40f,_0x489f08._0x166771,0x2f6,_0x489f08._0x7211f2):_0x298a55['lineText'],_0x3bad38=_0x298a55[_0x2aa994(_0x489f08._0x37b62f,0x33c,0x277,_0x489f08._0x167cac)]?'\x20\x20':'>\x20';_0x5bdc8d+=_0x3bad38+'Line\x20'+_0x298a55[_0x2aa994(_0x489f08._0x20356a,_0x489f08._0x23eccc,_0x489f08._0x4274ad,_0x489f08._0x2144d5)]+':\x20'+_0x5ac7ee+'\x0a';}}_0x40e313&&(_0x5bdc8d+=_0x2aa994(0x355,_0x489f08._0xdd8474,0x3ae,0x548));}const _0x45228d={'searchPath':_0x114784[_0x986dd4(0x507,0x456,_0x489f08._0x438240,0x48e)](_0x59cd02,_0x2adf2e)||'.','pattern':_0xfcd34a[_0x2aa994(0x4fb,_0x489f08._0x4d418a,_0x489f08._0x4d6e7d,0x42b)],'matchCount':_0x3a0bde,'fileCount':_0x179a79[_0x986dd4(_0x489f08._0x8c63fa,0x388,_0x489f08._0x4dcbd2,0x2cf)],'truncated':_0x40e313};return _0x121c45&&_0xfcd34a[_0x2aa994(_0x489f08._0x3f30c2,0x5da,_0x489f08._0x2638fb,_0x489f08._0x460e52)]!==void 0x0&&(_0x45228d[_0x986dd4(_0x489f08._0xc18440,_0x489f08._0x270124,0x4bd,_0x489f08._0x360b45)]=_0xfcd34a['include']),yield createToolOutput(_0x5bdc8d[_0x2aa994(_0x489f08._0x51e8b3,_0x489f08._0x49debe,_0x489f08._0x877397,0x5c2)](),_0x45228d),void 0x0;}});}function createKillShellTool(_0x218e6f){const _0x5ec036={_0x25addd:0x1aa,_0x3d4577:0x33,_0x1c3c3b:0x27f,_0xcf103f:0x13d,_0x12f1e2:0x1d2},_0x39b6f5={_0x2c7485:0x195,_0x1eebde:0x23f,_0x469b74:0x5bd,_0x13193a:0x6cb,_0x3bc773:0x54a,_0x1eb836:0xe7,_0x4581f7:0x35c,_0x2581fe:0x39f,_0x347bcc:0x5eb,_0x58f259:0x288,_0xf80bba:0x205,_0xb4af9e:0x30e,_0x3ad216:0x1f2,_0x403b98:0x59a,_0x1930a8:0x52b,_0x21c1c1:0x556,_0xf86ca8:0x157,_0x569856:0x288,_0x2b001a:0x460,_0x336eed:0x5d1,_0x18efce:0x3b7,_0x4a1a9d:0x3fe,_0x30b7e4:0x46d,_0x446d0e:0x1dc,_0x1a373b:0x476,_0x583423:0x18a,_0x2f0274:0xa2,_0xa75cbc:0xf4,_0x31bc1b:0x2a,_0x20f13b:0x2bd,_0x159277:0x1bc,_0x1ef48d:0x11f,_0x22ad0b:0x262,_0x1ed7e9:0x1ae,_0x69b08c:0x231,_0x5a2434:0x37a},_0x3f2394={_0x6a5116:0x39b,_0xaa756c:0x1bc},_0x2938fb={_0x4877c6:0x83};function _0x4f7966(_0x5e777d,_0x1ee832,_0x2ae2b5,_0x2a9cc2){return _0x5469ba(_0x5e777d,_0x1ee832-0xf5,_0x2ae2b5-_0x2938fb._0x4877c6,_0x2a9cc2- -0x375);}const {registry:_0x5adb38}=_0x218e6f;function _0x36d75f(_0x36f29a,_0xa21afc,_0x488f73,_0x51f477){return _0x4bfe88(_0x36f29a- -_0x3f2394._0x6a5116,_0xa21afc-_0x3f2394._0xaa756c,_0x488f73-0x154,_0x51f477);}return defineTool({'name':_0x36d75f(-_0x5ec036._0x25addd,-0x227,-0x2d7,-0x16c),'permissionClass':'always-confirm','description':'Terminate\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true),\x20identified\x20by\x20its\x20shellId.','inputSchema':{'type':_0x4f7966(_0x5ec036._0x3d4577,-0x20,-_0x5ec036._0x1c3c3b,-_0x5ec036._0xcf103f),'properties':{'shellId':{'type':_0x36d75f(-0x168,-0x255,-_0x5ec036._0x12f1e2,-0x202)}},'required':[_0x36d75f(-0x11f,-0xe2,-0x8e,-0x201)]},async *'execute'(_0x43c8e9){const _0x3da9f6={_0x48dba5:0xee,_0x8d3b1f:0xa5,_0x446ba4:0x1a3},_0x5012ec={_0x125301:0x17},_0x94450a=await _0x5adb38[_0x463adb(-0xfa,-0x16c,-_0x39b6f5._0x2c7485,-0x27e)](_0x43c8e9[_0x463adb(-_0x39b6f5._0x1eebde,-0x3a3,-0x2b2,-0x20d)]),_0x5041ca={'shellId':_0x94450a[_0x463adb(-0xab,-0x1b3,-0x1f1,-0x20d)],'outcome':_0x94450a[_0x595b3c(0x59a,_0x39b6f5._0x469b74,_0x39b6f5._0x13193a,_0x39b6f5._0x3bc773)],'status':_0x94450a[_0x463adb(-_0x39b6f5._0x1eb836,-_0x39b6f5._0x4581f7,-_0x39b6f5._0x2581fe,-0x206)],'exitCode':_0x94450a[_0x595b3c(_0x39b6f5._0x347bcc,0x564,0x519,0x74b)],'signal':_0x94450a['signal'],'error':_0x94450a[_0x463adb(-_0x39b6f5._0x58f259,-_0x39b6f5._0xf80bba,-0x1fd,-0x2c7)],'gracefulRequested':_0x94450a['gracefulRequested'],'forceRequested':_0x94450a[_0x595b3c(0x2be,_0x39b6f5._0xb4af9e,0x24c,_0x39b6f5._0x3ad216)]};function _0x595b3c(_0x4a23a3,_0x353843,_0x5062cb,_0x25c2e0){return _0x4f7966(_0x353843,_0x353843-0x1b6,_0x5062cb-_0x5012ec._0x125301,_0x4a23a3-0x573);}function _0x463adb(_0x12efa0,_0x5a1079,_0x3ce313,_0x4e1313){return _0x36d75f(_0x4e1313- -_0x3da9f6._0x48dba5,_0x5a1079-_0x3da9f6._0x8d3b1f,_0x3ce313-_0x3da9f6._0x446ba4,_0x5a1079);}if(_0x94450a[_0x595b3c(_0x39b6f5._0x403b98,0x591,_0x39b6f5._0x1930a8,_0x39b6f5._0x21c1c1)]===_0x463adb(-0x110,-_0x39b6f5._0xf86ca8,-0x347,-_0x39b6f5._0x569856))throw new ToolExecutionError(_0x595b3c(_0x39b6f5._0x2b001a,0x4bf,0x4aa,_0x39b6f5._0x336eed)+_0x43c8e9[_0x595b3c(_0x39b6f5._0x18efce,_0x39b6f5._0x4a1a9d,0x455,_0x39b6f5._0x30b7e4)]+':\x20'+(_0x94450a['error']??_0x595b3c(0x305,_0x39b6f5._0x446d0e,_0x39b6f5._0x1a373b,_0x39b6f5._0x583423)),_0x5041ca);const _0x1d1673=_0x94450a[_0x463adb(-0x78,-_0x39b6f5._0x2f0274,_0x39b6f5._0xa75cbc,-_0x39b6f5._0x31bc1b)]==='already-terminal'?_0x463adb(-0x282,-0x2e3,-0x132,-_0x39b6f5._0x20f13b)+_0x43c8e9['shellId']+'\x20was\x20already\x20'+_0x94450a[_0x463adb(-0x2f9,-0x5e,-_0x39b6f5._0x159277,-0x206)]+'.':_0x463adb(-_0x39b6f5._0x1ef48d,-_0x39b6f5._0x22ad0b,-_0x39b6f5._0x1ed7e9,-_0x39b6f5._0x69b08c)+_0x43c8e9[_0x463adb(-_0x39b6f5._0x5a2434,-0x2ce,-0x30d,-0x20d)]+'.';return createToolOutput(_0x1d1673,_0x5041ca);}});}import{readdir as _0x4cabaf,readFile as _0x3e8887,stat as _0x1bccee}from'fs/promises';import*as _0x4d1086 from'path';import*as _0x7dace from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x2d87ac,_0x598ef6){const _0x46a95d={_0x1685fa:0x21c,_0x27bb71:0x2ae,_0x5f402b:0x222,_0x2a432b:0xf6,_0x21e2af:0x32},_0x6504dd={_0x54d131:0xb7,_0x437d00:0x154},_0x1000d3={_0x483238:0x21c,_0x3514f3:0xc9};function _0x1de33e(_0x293244,_0x380d34,_0xd60702,_0x14105a){return _0x4bfe88(_0x293244- -_0x1000d3._0x483238,_0x380d34-0x159,_0xd60702-_0x1000d3._0x3514f3,_0x14105a);}if(_0x598ef6>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0x5685a0(_0x2d22ac,_0x40b833,_0x465a7e,_0x1acbeb){return _0x5469ba(_0x2d22ac,_0x40b833-0x71,_0x465a7e-_0x6504dd._0x54d131,_0x1acbeb-_0x6504dd._0x437d00);}const _0x26be0b=await _0x3e8887(_0x2d87ac)[_0x1de33e(_0x46a95d._0x1685fa,_0x46a95d._0x27bb71,0x339,0x3aa)](()=>null);if(!_0x26be0b||isProbablyBinary(_0x26be0b))return void 0x0;return _0x26be0b['toString'](_0x1de33e(-0x85,-_0x46a95d._0x5f402b,_0x46a95d._0x2a432b,0x78))[_0x1de33e(0x96,-0x10c,-0x31,-_0x46a95d._0x21e2af)](/\r?\n/)['length'];}function createLsTool(_0xde53dd={}){const _0x2e912a={_0x3360c7:0x234,_0x3c1923:0x1a0,_0x86e4ec:0x8e,_0x31e4cb:0x2a,_0x3969af:0x5d,_0x407f99:0x33,_0x4a7fb4:0xd0,_0x14080c:0xa9,_0x23a61b:0x5e,_0x4fe092:0x14,_0x40a86e:0x17e,_0x410088:0x6d},_0x308f33={_0x283207:0x7ab,_0x125720:0x5e8,_0x30d08b:0x77a,_0x326534:0x584,_0xc0bcbc:0x7a8,_0x1dab51:0x6d5,_0x740c5b:0x65e,_0x4bd083:0x60a,_0x480463:0x522,_0x2c6170:0x32e,_0x1e8ad9:0x3a4,_0x3ef5b3:0x502,_0x1b0e13:0x5df,_0x4b42d0:0x376,_0x14231f:0x300,_0x3988c0:0x3b3,_0x19a02a:0x47b,_0x5957be:0x6b0,_0x12552d:0x5a4,_0x317942:0x417,_0x44265b:0x55d,_0x48dc7b:0x23f,_0x79278c:0x47f,_0x24027f:0x7c0,_0x4036d8:0x6bb,_0x721958:0x53d,_0x59cdf6:0x591,_0x2895e:0x5c1,_0x574bef:0x67a,_0x3b9474:0x436,_0x551b8e:0x545,_0x3ce9b4:0x394},_0x5e470c={_0x4d41de:0x1ae},_0x12c36b={_0x3fface:0x17a,_0x4160ba:0x117},_0x3dbeab={_0x695518:0x1f4},_0x1c24cd=_0x4d1086[_0x141584(_0x2e912a._0x3360c7,_0x2e912a._0x3c1923,0x141,_0x2e912a._0x86e4ec)](_0xde53dd[_0x26cbb1(-_0x2e912a._0x31e4cb,-0x91,-_0x2e912a._0x3969af,0x27)]??process['cwd']()),_0x43cd49=_0xde53dd[_0x26cbb1(_0x2e912a._0x407f99,-_0x2e912a._0x4a7fb4,_0x2e912a._0x14080c,0x59)]??[];function _0x26cbb1(_0x295b83,_0x5aa459,_0x11b309,_0x52ca36){return _0x5469ba(_0x11b309,_0x5aa459-0x1bd,_0x11b309-0x185,_0x295b83- -_0x3dbeab._0x695518);}const _0xc2ec8d=_0xde53dd['name']??'Ls';function _0x141584(_0x521302,_0x42da51,_0x1617c1,_0x27a778){return _0x4bfe88(_0x42da51- -0x242,_0x42da51-_0x12c36b._0x3fface,_0x1617c1-_0x12c36b._0x4160ba,_0x521302);}return defineTool({'name':_0xc2ec8d,'permissionClass':'read','description':_0x26cbb1(-_0x2e912a._0x23a61b,0x61,-_0x2e912a._0x4fe092,0x11e),'inputSchema':{'type':_0x141584(_0x2e912a._0x40a86e,0xb9,_0x2e912a._0x410088,0xe1),'properties':{'path':{'type':'string'},'limit':{'type':'number'}}},async *'execute'(_0xe1257b){const _0x1bcf75={_0x3ba5d7:0x3e9,_0x48ee11:0x164,_0x115b83:0x4a},_0x534959=_0xe1257b[_0x99043c(0x676,0x5dc,0x506,0x48b)]??'.',_0x13f86a=resolveAllowedPath(_0x1c24cd,_0x43cd49,_0x534959),_0x18c1e6=await _0x1bccee(_0x13f86a)['catch'](()=>null);if(!_0x18c1e6?.[_0x1255ca(_0x308f33._0x283207,0x66a,_0x308f33._0x125720,_0x308f33._0x30d08b)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+_0x534959,{'path':_0x534959});const _0x2f354a=_0xe1257b[_0x99043c(0x4af,_0x308f33._0x326534,0x417,0x321)]??0x3e8,_0x4da3f0=Math[_0x1255ca(_0x308f33._0xc0bcbc,_0x308f33._0x1dab51,0x50f,0x618)](Math[_0x1255ca(_0x308f33._0x740c5b,_0x308f33._0x4bd083,0x6c5,_0x308f33._0x480463)](Math[_0x99043c(_0x308f33._0x2c6170,0x41d,_0x308f33._0x1e8ad9,0x3c1)](_0x2f354a),0x1),0x2710),_0x502006=await _0x4cabaf(_0x13f86a);function _0x1255ca(_0x412947,_0x20f67f,_0x102e2a,_0x2a0da9){return _0x26cbb1(_0x2a0da9-0x593,_0x20f67f-0x1ba,_0x20f67f,_0x2a0da9-_0x5e470c._0x4d41de);}const _0x3a4c4d=[];for(const _0x28763e of _0x502006['slice'](0x0,_0x4da3f0)){const _0x146e34=_0x4d1086['join'](_0x13f86a,_0x28763e),_0x40de61=await _0x1bccee(_0x146e34)[_0x99043c(0x6de,_0x308f33._0x3ef5b3,_0x308f33._0x1b0e13,0x76d)](()=>null);if(!_0x40de61)continue;let _0x116789='other';if(_0x40de61['isFile']())_0x116789=_0x99043c(0x427,0x32d,0x3d4,0x528);else{if(_0x40de61['isDirectory']())_0x116789='directory';else{if(_0x40de61[_0x99043c(_0x308f33._0x4b42d0,_0x308f33._0x14231f,_0x308f33._0x3988c0,_0x308f33._0x19a02a)]())_0x116789='symlink';}}const _0x531ffc={'name':_0x28763e,'type':_0x116789,'size':_0x40de61[_0x99043c(_0x308f33._0x5957be,_0x308f33._0x12552d,0x586,0x5ea)],'mtime':_0x40de61['mtimeMs'],'mode':_0x40de61[_0x1255ca(_0x308f33._0x317942,0x629,0x5a1,_0x308f33._0x44265b)]},_0xefa244=_0x116789===_0x99043c(0x40a,_0x308f33._0x48dc7b,0x3d4,_0x308f33._0x79278c)?await countTextLines(_0x146e34,_0x40de61[_0x1255ca(0x6d9,_0x308f33._0x24027f,0x80c,_0x308f33._0x4036d8)]):void 0x0;if(_0xefa244!==void 0x0)_0x531ffc['lines']=_0xefa244;_0x3a4c4d['push'](_0x531ffc);}_0x3a4c4d[_0x99043c(_0x308f33._0x721958,0x654,_0x308f33._0x59cdf6,0x62b)]((_0xfa0f8f,_0x2d574a)=>_0xfa0f8f['name'][_0x1255ca(0x34e,0x3f0,0x4d8,0x4af)](_0x2d574a[_0x99043c(0x307,0x433,0x3e4,0x46d)]));const _0x52e05d={'path':_0x534959,'total':_0x3a4c4d[_0x1255ca(_0x308f33._0x2895e,0x543,0x5f0,_0x308f33._0x574bef)],'truncated':_0x502006[_0x99043c(0x612,_0x308f33._0x3b9474,_0x308f33._0x551b8e,0x4be)]>_0x4da3f0,'entries':_0x3a4c4d};yield createToolOutput(_0x7dace[_0x1255ca(0x400,0x3bf,0x522,0x47d)](_0x52e05d,{'indent':0x2,'lineWidth':0x0})[_0x1255ca(0x398,_0x308f33._0x3ce9b4,0x4da,0x4ca)](),{'path':_0x534959,'total':_0x3a4c4d['length'],'truncated':_0x502006['length']>_0x4da3f0,'limit':_0x4da3f0,'entries':_0x3a4c4d});function _0x99043c(_0x471285,_0x4faf52,_0x54428b,_0x586af2){return _0x141584(_0x471285,_0x54428b-_0x1bcf75._0x3ba5d7,_0x54428b-_0x1bcf75._0x48ee11,_0x586af2-_0x1bcf75._0x115b83);}return void 0x0;}});}import{stat as _0x583e35}from'fs/promises';import _0x5abc0c from'path';import{fileURLToPath as _0x2c012f}from'url';function awaitWithAbort(_0x56dc64,_0x4714c0){const _0x297a7b={_0x98e60b:0x10c,_0x84256a:0x1ee},_0x3659a8={_0x346af2:0x4c9,_0x30e3e4:0x38e,_0x2347aa:0x3f4,_0x23cd59:0x2ea},_0x36c846={_0x404b64:0x1dd,_0x1e76e4:0x1ef},_0x57e8a5={_0x6f89ed:0x52f,_0x18d97f:0x69f,_0xb1fe44:0x667,_0x660cc5:0x655},_0x41cf70={_0x59d9c4:0x399,_0x193819:0xef},_0x458604={_0x3b31c2:0x146};function _0x44c290(_0x3482a9,_0xea74e8,_0x1c657b,_0x51f417){return _0x4bfe88(_0x3482a9- -0x4ce,_0xea74e8-0x132,_0x1c657b-_0x458604._0x3b31c2,_0x1c657b);}function _0x2e277c(_0x43c203,_0x2617dc,_0x251835,_0x294b9a){return _0x4bfe88(_0x43c203- -_0x41cf70._0x59d9c4,_0x2617dc-0xdd,_0x251835-_0x41cf70._0x193819,_0x294b9a);}if(!_0x4714c0)return _0x56dc64;if(_0x4714c0[_0x44c290(-0x2f,-0x14f,0xe9,0xb8)])return Promise['reject'](toAbortError(_0x4714c0[_0x2e277c(_0x297a7b._0x98e60b,0x118,_0x297a7b._0x84256a,0xb5)]));return new Promise((_0x425547,_0x1a7ded)=>{const _0x36603b={_0x403b4e:0x453,_0x2a3c0b:0x1ec,_0x45b6aa:0x1e6},_0x539b8d={_0x1004de:0x2f3},_0xeb040e=()=>{function _0x272db7(_0x1556a6,_0x2e4347,_0x467cc6,_0x5eeadb){return _0x5bda(_0x2e4347-_0x539b8d._0x1004de,_0x1556a6);}_0x33bfad(),_0x1a7ded(toAbortError(_0x4714c0[_0x272db7(_0x57e8a5._0x6f89ed,_0x57e8a5._0x18d97f,_0x57e8a5._0xb1fe44,_0x57e8a5._0x660cc5)]));};function _0x298de4(_0x571474,_0x344730,_0x1643a5,_0x148dc4){return _0x44c290(_0x344730-0x80,_0x344730-_0x36c846._0x404b64,_0x1643a5,_0x148dc4-_0x36c846._0x1e76e4);}function _0x1a9084(_0xd0b687,_0xebcf0e,_0x2a2e8a,_0x27eb5e){return _0x2e277c(_0xd0b687-_0x36603b._0x403b4e,_0xebcf0e-_0x36603b._0x2a3c0b,_0x2a2e8a-_0x36603b._0x45b6aa,_0xebcf0e);}const _0x33bfad=()=>_0x4714c0['removeEventListener'](_0x1a9084(0x32f,0x198,0x2fd,0x1c0),_0xeb040e);_0x4714c0[_0x1a9084(_0x3659a8._0x346af2,0x63e,_0x3659a8._0x30e3e4,0x681)]('abort',_0xeb040e,{'once':!![]}),_0x56dc64[_0x1a9084(0x3ba,_0x3659a8._0x2347aa,_0x3659a8._0x23cd59,0x52c)](_0x8a5ab7=>{_0x33bfad(),_0x425547(_0x8a5ab7);},_0xfd3569=>{_0x33bfad(),_0x1a7ded(_0xfd3569);});});}function severityName(_0x37f162){const _0x27b46e={_0x312f30:0x2cd,_0x53a32b:0x611,_0x37a36d:0x407},_0x220fb6={_0x27741d:0xa2,_0x4e5c8d:0x11b},_0x18e45b={_0x14b231:0xab};function _0x3bee0e(_0x473c8d,_0x565d56,_0x179a93,_0x47c96f){return _0x4bfe88(_0x47c96f- -_0x18e45b._0x14b231,_0x565d56-0x1c3,_0x179a93-0x1ca,_0x473c8d);}function _0x2c8c46(_0x3f738f,_0x3f1327,_0x127272,_0x17765d){return _0x4bfe88(_0x127272-0x1fe,_0x3f1327-_0x220fb6._0x27741d,_0x127272-_0x220fb6._0x4e5c8d,_0x3f1327);}switch(_0x37f162){case 0x1:return'Error';case 0x2:return _0x3bee0e(_0x27b46e._0x312f30,0x42d,0x348,0x36d);case 0x3:return _0x2c8c46(0x5d5,0x5eb,0x4c0,_0x27b46e._0x53a32b);case 0x4:return'Hint';default:return _0x3bee0e(0x2aa,0x5b4,0x3fa,_0x27b46e._0x37a36d);}}function formatSingleHover(_0xa58686){const _0x3f27f5={_0x421a00:0x2b0,_0xcde664:0x279,_0x5ebad2:0x311,_0x51a6d8:0xf8,_0x14967d:0x274,_0x130e98:0xea,_0x728f72:0x31d,_0x1cfc35:0x500,_0xdee2d1:0x2e0,_0x2cb8ca:0x2ac,_0x4d6cdd:0x24d,_0x3851c3:0x38f,_0x406b08:0x21d,_0xc8e0a5:0x1eb,_0x3bc98c:0x4a7,_0x108822:0x5b7,_0x4e5c5f:0x333,_0x5a67ce:0x433,_0x28542b:0x3fe,_0x8a788c:0x392},_0x39b0c1={_0x25f711:0x110};function _0x231051(_0x758199,_0x1e9941,_0x26d6d8,_0x2f731a){return _0x4bfe88(_0x1e9941-0x8e,_0x1e9941-_0x39b0c1._0x25f711,_0x26d6d8-0xb8,_0x2f731a);}const _0x546935=_0xa58686['contents'];if(typeof _0x546935===_0x475a65(_0x3f27f5._0x421a00,_0x3f27f5._0xcde664,0x459,_0x3f27f5._0x5ebad2))return _0x546935;function _0x475a65(_0x311c03,_0x4dd5bf,_0x909316,_0x27d3f9){return _0x5469ba(_0x909316,_0x4dd5bf-0x18b,_0x909316-0x1e1,_0x27d3f9-0x1a1);}if(Array[_0x231051(0x1f3,0x2a6,_0x3f27f5._0x51a6d8,_0x3f27f5._0x14967d)](_0x546935))return _0x546935['map'](_0x2cd2c8=>typeof _0x2cd2c8==='string'?_0x2cd2c8:_0x2cd2c8['value'])['filter'](Boolean)['join']('\x0a\x0a');if(_0x231051(_0x3f27f5._0x130e98,0x259,0x1e5,0x406)in _0x546935)return _0x546935[_0x231051(_0x3f27f5._0x728f72,0x3fe,0x54d,_0x3f27f5._0x1cfc35)];return _0x546935[_0x475a65(_0x3f27f5._0xdee2d1,0x3c8,0x3c6,0x3cb)]?_0x231051(_0x3f27f5._0x2cb8ca,_0x3f27f5._0x4d6cdd,0x21a,_0x3f27f5._0x3851c3)+_0x546935[_0x231051(_0x3f27f5._0x406b08,0x37b,0x2fe,_0x3f27f5._0xc8e0a5)]+'\x0a'+_0x546935[_0x231051(0x368,0x3fe,_0x3f27f5._0x3bc98c,0x4f7)]+_0x475a65(_0x3f27f5._0x108822,_0x3f27f5._0x4e5c5f,0x3e7,0x41b):_0x546935[_0x231051(_0x3f27f5._0x5a67ce,_0x3f27f5._0x28542b,_0x3f27f5._0x8a788c,0x4cd)];}function formatHover(_0x1c9b2f){const _0x1ed4d0={_0x5c8d65:0x334,_0xa7a4:0x60,_0x45c96c:0x5a3,_0x32f66a:0x479,_0x5559e4:0xe7,_0xf91965:0x106,_0x160623:0x364,_0x199879:0x3fd,_0x2b0728:0x2c6,_0x551366:0x3c9,_0x4d6b9e:0x37c,_0xe447c7:0x4c4},_0x152472={_0x38d529:0xd8,_0x1d3805:0x12f,_0x5d82b5:0x116},_0x4a2c46={_0xe1a8de:0x1ca};function _0x43e019(_0x24d0b2,_0x813711,_0x36b30f,_0xd36234){return _0x5469ba(_0xd36234,_0x813711-_0x4a2c46._0xe1a8de,_0x36b30f-0x75,_0x36b30f- -0x131);}if(_0x1c9b2f[_0x43e019(0x26f,_0x1ed4d0._0x5c8d65,0x1aa,_0x1ed4d0._0xa7a4)]===0x0)return _0x5571d2(0x41e,_0x1ed4d0._0x45c96c,_0x1ed4d0._0x32f66a,0x46a);function _0x5571d2(_0x5c2a1e,_0x5957cf,_0x12507f,_0x237ff9){return _0x4bfe88(_0x12507f-_0x152472._0x38d529,_0x5957cf-_0x152472._0x1d3805,_0x12507f-_0x152472._0x5d82b5,_0x5957cf);}return _0x1c9b2f[_0x43e019(-0x63,_0x1ed4d0._0x5559e4,0x33,-_0x1ed4d0._0xf91965)](formatSingleHover)[_0x43e019(_0x1ed4d0._0x160623,_0x1ed4d0._0x199879,_0x1ed4d0._0x2b0728,0x26b)](_0x5571d2(_0x1ed4d0._0x551366,0x4a0,_0x1ed4d0._0x4d6b9e,_0x1ed4d0._0xe447c7));}function locationPath(_0x2262a4){const _0x15d586={_0x24e76f:0x165,_0x3d1775:0x20a,_0x552a93:0x2d,_0x515a89:0x312,_0x1aacd5:0x264},_0x57c3c5={_0x4ff55b:0x17f,_0x2dfa66:0x3a},_0x2577cf={_0x1ae441:0x3a6};function _0x7d417b(_0x37e4c8,_0x35075b,_0x512247,_0x1454a7){return _0x5469ba(_0x35075b,_0x35075b-0x1f0,_0x512247-0x9f,_0x37e4c8- -_0x2577cf._0x1ae441);}function _0x4f5196(_0x52629d,_0xa13475,_0x4598c3,_0x1d0a99){return _0x4bfe88(_0x52629d- -_0x57c3c5._0x4ff55b,_0xa13475-0x157,_0x4598c3-_0x57c3c5._0x2dfa66,_0x4598c3);}if(!_0x2262a4[_0x4f5196(_0x15d586._0x24e76f,_0x15d586._0x3d1775,0x13d,_0x15d586._0x552a93)](_0x7d417b(-0x1f5,-_0x15d586._0x515a89,-0x1ef,-_0x15d586._0x1aacd5)))return _0x2262a4;return _0x2c012f(_0x2262a4);}function formatLocations(_0x306c1c){const _0x9b91a2={_0x5f0a37:0x20,_0x439897:0x33,_0x10d111:0x1e6,_0x11858d:0x541,_0x5de0ef:0x624},_0x3d6716={_0x50a7cd:0xa4,_0xcd7cf7:0x54,_0x147dce:0x92,_0x4e63b2:0x1e0,_0x33cf39:0x250},_0x423f82={_0x3ca329:0x181,_0x54e7b8:0x1ff},_0x3e3073={_0x1fee46:0xd2,_0x42e74c:0x2fc};if(_0x306c1c[_0x111d1f(-_0x9b91a2._0x5f0a37,0xdc,_0x9b91a2._0x439897,_0x9b91a2._0x10d111)]===0x0)return _0x45874c(_0x9b91a2._0x11858d,0x690,0x717,_0x9b91a2._0x5de0ef);function _0x45874c(_0x54958f,_0x1dee18,_0x4aa4eb,_0x4e52a3){return _0x5469ba(_0x54958f,_0x1dee18-0x144,_0x4aa4eb-_0x3e3073._0x1fee46,_0x4e52a3-_0x3e3073._0x42e74c);}function _0x111d1f(_0x3cb28b,_0x30172e,_0x433d25,_0x370645){return _0x5469ba(_0x3cb28b,_0x30172e-0x12b,_0x433d25-_0x423f82._0x3ca329,_0x30172e- -_0x423f82._0x54e7b8);}return _0x306c1c['map'](_0x3e01b8=>{const _0x2561f8={_0x3c2797:0x1c3,_0x1909d0:0x1d1},_0x39f90b={_0x507bd7:0x1e0,_0xec2936:0x1b8},_0x5ea732=_0x3e01b8['range'][_0x4a113b(-0xf1,-_0x3d6716._0x50a7cd,_0x3d6716._0xcd7cf7,-0xcc)];function _0x2be9cc(_0x2fb99c,_0x5035ad,_0x174fd6,_0x2ac536){return _0x45874c(_0x5035ad,_0x5035ad-_0x39f90b._0x507bd7,_0x174fd6-_0x39f90b._0xec2936,_0x174fd6- -0x613);}function _0x4a113b(_0x33dc1,_0x5a5fd0,_0x3266a3,_0x2cf3b2){return _0x111d1f(_0x3266a3,_0x2cf3b2- -_0x2561f8._0x3c2797,_0x3266a3-_0x2561f8._0x1909d0,_0x2cf3b2-0x14f);}return locationPath(_0x3e01b8[_0x2be9cc(0x1ed,-0x46,_0x3d6716._0x147dce,-0x8f)])+':'+(_0x5ea732[_0x2be9cc(-0x2f2,-0x138,-0x202,-0x16c)]+0x1)+':'+(_0x5ea732[_0x4a113b(-_0x3d6716._0x4e63b2,-0x1a,-_0x3d6716._0x33cf39,-0xc4)]+0x1);})['join']('\x0a');}function isDocumentSymbol(_0x5d8a3c){const _0x235fb8={_0x30713f:0x220,_0x11f791:0x13f,_0x7c80d5:0x11a},_0x116f80={_0x1e1296:0x188},_0x5bf356={_0xefd1fa:0xc2,_0x263da1:0xb6};function _0x348744(_0x5e4d85,_0xcbfcad,_0x15c5e1,_0x1b7d24){return _0x4bfe88(_0x1b7d24- -_0x5bf356._0xefd1fa,_0xcbfcad-0x12c,_0x15c5e1-_0x5bf356._0x263da1,_0x15c5e1);}function _0x422ddc(_0x549012,_0x1e94f6,_0x46ab90,_0x1adfec){return _0x4bfe88(_0x1e94f6- -0x205,_0x1e94f6-_0x116f80._0x1e1296,_0x46ab90-0x113,_0x549012);}return _0x422ddc(0xcd,0x173,_0x235fb8._0x30713f,_0x235fb8._0x11f791)in _0x5d8a3c&&_0x348744(0x303,_0x235fb8._0x7c80d5,0x1c0,0x2ca)in _0x5d8a3c;}function formatSymbols(_0x19ebb3){const _0x125f55={_0x3f94d4:0x29,_0x194f75:0xf8,_0x2e0bc6:0x1c},_0x55bd02={_0x97297f:0xb,_0x30971c:0x10d,_0x5ae56a:0x36b,_0xb2f53:0x3d,_0x1ebb13:0x158,_0x4eb46b:0x84,_0x4f7476:0x143,_0xdf9504:0x1b9,_0x8f57f7:0x3a8,_0x2a03aa:0x339,_0x5cfe2a:0x387,_0x437d6d:0x268,_0x1169cb:0x341,_0x53465a:0x166,_0x29cc14:0x120,_0x1bcd71:0xfb,_0x3f8aa9:0x1bd,_0x4ce36c:0x2d8,_0x4af8be:0x210,_0x4306a9:0x14b,_0x5beab8:0x133,_0xb47d31:0x3a,_0x80382e:0x4e2,_0x14f93b:0x272,_0x55993a:0x301,_0x1060dd:0x3ec,_0x4f6db6:0x24f,_0x192e7b:0x3ad,_0x561313:0x16c,_0x182e77:0x2f8,_0x198ec2:0xc5,_0x4e847f:0x83,_0x5e080b:0xc9,_0x5a65ee:0x2c6,_0x25d4f8:0x133,_0xd2400:0xbc,_0x5d5a89:0x102,_0x4a39ba:0x84,_0x51e903:0xf4,_0x290985:0x10,_0x15e0f3:0x3cc,_0x22e9e0:0x339,_0x132612:0xcd,_0x394106:0x24,_0x558e3f:0x1ee},_0x51a5ac={_0x115d99:0x28,_0xc1241e:0x244};function _0x28bc0b(_0x165466,_0x9a59cc,_0x423e9c,_0x1f0658){return _0x5469ba(_0x423e9c,_0x9a59cc-_0x51a5ac._0x115d99,_0x423e9c-0xa2,_0x9a59cc- -_0x51a5ac._0xc1241e);}if(_0x19ebb3['length']===0x0)return _0x28bc0b(-_0x125f55._0x3f94d4,_0x125f55._0x194f75,-_0x125f55._0x2e0bc6,0x283);return _0x19ebb3['map'](_0x4d3feb=>{const _0x5a5eb1={_0x33f3fd:0x126};if(isDocumentSymbol(_0x4d3feb))return _0x4d3feb['name']+'\x20('+_0x4d3feb[_0x57d662(-0x129,-_0x55bd02._0x97297f,-0x59,-0x21e)]+_0x57d662(0x1c2,_0x55bd02._0x30971c,0xa6,_0x55bd02._0x5ae56a)+(_0x4d3feb['range']['start'][_0x1f55d1(0x130,0x1bc,_0x55bd02._0xb2f53,_0x55bd02._0x1ebb13)]+0x1)+':'+(_0x4d3feb[_0x57d662(_0x55bd02._0x4eb46b,_0x55bd02._0x4f7476,_0x55bd02._0xdf9504,0xa1)][_0x1f55d1(0x19c,0x191,_0x55bd02._0x8f57f7,_0x55bd02._0x2a03aa)][_0x1f55d1(_0x55bd02._0x5cfe2a,0x38a,_0x55bd02._0x437d6d,_0x55bd02._0x1169cb)]+0x1)+']';function _0x1f55d1(_0x460f70,_0x38125a,_0x3ad0f4,_0x1e5185){return _0x28bc0b(_0x460f70-0xd4,_0x1e5185-0x287,_0x460f70,_0x1e5185-_0x5a5eb1._0x33f3fd);}function _0x57d662(_0xad6ee4,_0x1276ad,_0x5089ba,_0x442395){return _0x28bc0b(_0xad6ee4-0xb5,_0xad6ee4-0x13,_0x1276ad,_0x442395-0x43);}return _0x4d3feb[_0x1f55d1(_0x55bd02._0x53465a,_0x55bd02._0x29cc14,_0x55bd02._0x1bcd71,_0x55bd02._0x3f8aa9)]+'\x20('+_0x4d3feb[_0x1f55d1(_0x55bd02._0x4ce36c,0xcc,_0x55bd02._0x4af8be,_0x55bd02._0x4306a9)]+')\x20'+locationPath(_0x4d3feb[_0x57d662(-_0x55bd02._0x5beab8,-_0x55bd02._0xb47d31,-0x22d,-0x61)][_0x1f55d1(_0x55bd02._0x80382e,_0x55bd02._0x14f93b,_0x55bd02._0x55993a,_0x55bd02._0x1060dd)])+':'+(_0x4d3feb[_0x57d662(-_0x55bd02._0x5beab8,-0x28f,-0x79,-_0x55bd02._0x4f6db6)][_0x1f55d1(_0x55bd02._0x192e7b,_0x55bd02._0x561313,0x1db,_0x55bd02._0x182e77)][_0x57d662(_0x55bd02._0x198ec2,0x63,0xfa,-_0x55bd02._0x4e847f)][_0x1f55d1(_0x55bd02._0x5e080b,0x1b2,_0x55bd02._0x5a65ee,_0x55bd02._0x1ebb13)]+0x1)+':'+(_0x4d3feb[_0x57d662(-_0x55bd02._0x25d4f8,-_0x55bd02._0xd2400,-0x2ce,-_0x55bd02._0x5d5a89)][_0x57d662(_0x55bd02._0x4a39ba,-_0x55bd02._0x51e903,-0x125,-_0x55bd02._0x290985)][_0x1f55d1(0x2e4,0x32f,_0x55bd02._0x15e0f3,_0x55bd02._0x22e9e0)][_0x57d662(_0x55bd02._0x132612,_0x55bd02._0x394106,0x72,_0x55bd02._0x558e3f)]+0x1);})['join']('\x0a');}function formatDiagnostics(_0x484d55){const _0x498d32={_0x357470:0x306,_0x36db7a:0x1a7},_0x108893={_0x5c3576:0x53f,_0x593c9f:0x1e8,_0x14071c:0x484,_0x40b4ca:0xac,_0x526703:0x110},_0xb821={_0x54654f:0x194,_0x2e7306:0x55},_0x4858ea={_0x376cad:0xfa,_0x4c5518:0x112};if(_0x484d55['length']===0x0)return _0xe2be47(0x106,_0x498d32._0x357470,_0x498d32._0x36db7a,0x1a9);function _0xe2be47(_0x29a5f1,_0x26a5b2,_0x2aa834,_0x27ea38){return _0x4bfe88(_0x27ea38- -_0x4858ea._0x376cad,_0x26a5b2-0xa8,_0x2aa834-_0x4858ea._0x4c5518,_0x2aa834);}return _0x484d55['map'](_0x3b9822=>{const _0x367ddb={_0x1c4a04:0x1b9};function _0x4ae5ad(_0x24d844,_0x4d8856,_0x2fe216,_0x2c2f75){return _0xe2be47(_0x24d844-0xbf,_0x4d8856-_0x367ddb._0x1c4a04,_0x2fe216,_0x24d844-0x25b);}function _0xcdf389(_0x488a01,_0x612ae6,_0x40197b,_0x3fc2e5){return _0xe2be47(_0x488a01-0xd4,_0x612ae6-_0xb821._0x54654f,_0x612ae6,_0x488a01- -_0xb821._0x2e7306);}const _0x232c11=_0x3b9822['range'][_0x4ae5ad(0x51a,_0x108893._0x5c3576,0x433,0x4ef)];return severityName(_0x3b9822['severity'])+'\x20['+(_0x232c11[_0xcdf389(0x89,_0x108893._0x593c9f,0x1f7,0x159)]+0x1)+':'+(_0x232c11[_0x4ae5ad(0x522,0x54d,0x4ef,_0x108893._0x14071c)]+0x1)+']\x20'+_0x3b9822[_0xcdf389(0x1cb,_0x108893._0x40b4ca,_0x108893._0x526703,0xa7)];})['join']('\x0a');}function formatIncomingCalls(_0x56e997){const _0x4002b0={_0x31acb6:0x6bf,_0x5ced10:0x6bf,_0x22e9b1:0x697},_0x4af4ca={_0x57982d:0x116},_0x28609b={_0x2cb3ee:0x35,_0x344ac7:0x2c8};function _0x33dccf(_0x4cbad6,_0x50f749,_0x2bf1c8,_0x55965f){return _0x5469ba(_0x2bf1c8,_0x50f749-0xf7,_0x2bf1c8-_0x28609b._0x2cb3ee,_0x50f749-_0x28609b._0x344ac7);}if(_0x56e997['length']===0x0)return'No\x20call\x20hierarchy\x20results';function _0x1de7d6(_0x2a7898,_0x41b2aa,_0x339414,_0x55dd1a){return _0x5469ba(_0x339414,_0x41b2aa-0x39,_0x339414-_0x4af4ca._0x57982d,_0x2a7898- -0x152);}return _0x56e997['map'](_0x279e7e=>_0x279e7e[_0x1de7d6(0x58,-0x131,0x85,0xe6)][_0x33dccf(0x5ab,0x442,0x4e6,0x526)])[_0x33dccf(_0x4002b0._0x31acb6,_0x4002b0._0x5ced10,0x83c,_0x4002b0._0x22e9b1)]('\x0a');}function formatOutgoingCalls(_0x2b4d0c){const _0x36dabb={_0x28ba5b:0x21a,_0x31c18b:0x299,_0x48fe56:0x1a4,_0x5e435d:0x11c,_0x314318:0xb,_0x4ca1a8:0x39,_0x351e3d:0xf,_0x1f544c:0x215,_0x8cf753:0x501,_0x1226c0:0x21},_0x564198={_0xa30f6b:0xbb},_0x507870={_0x2cf718:0x1e5,_0x2c5f28:0x72};function _0x47692f(_0x366ee0,_0x272d5b,_0x4e4aea,_0x2c30b6){return _0x4bfe88(_0x2c30b6- -0x4ba,_0x272d5b-_0x507870._0x2cf718,_0x4e4aea-_0x507870._0x2c5f28,_0x4e4aea);}function _0x18498f(_0x6695fe,_0x3b66a7,_0x79f1ff,_0x54216a){return _0x5469ba(_0x3b66a7,_0x3b66a7-_0x564198._0xa30f6b,_0x79f1ff-0x1df,_0x79f1ff-0x20f);}if(_0x2b4d0c[_0x47692f(-_0x36dabb._0x28ba5b,-_0x36dabb._0x31c18b,-_0x36dabb._0x48fe56,-_0x36dabb._0x5e435d)]===0x0)return _0x47692f(0x183,_0x36dabb._0x314318,_0x36dabb._0x4ca1a8,_0x36dabb._0x351e3d);return _0x2b4d0c[_0x18498f(_0x36dabb._0x1f544c,_0x36dabb._0x8cf753,0x373,0x272)](_0x450e0c=>_0x450e0c['to']['name'])[_0x47692f(-0x2f,-_0x36dabb._0x1226c0,0x59,0x0)]('\x0a');}function toStructured(_0x12ba48){const _0x2ce3e4={_0x12ce47:0x48d},_0x498075={_0x269922:0x1f3};function _0x2ce9ad(_0x40d7ce,_0x9085fd,_0x3a6794,_0x39eaec){return _0x5469ba(_0x39eaec,_0x9085fd-0x141,_0x3a6794-_0x498075._0x269922,_0x40d7ce-0x72);}return JSON[_0x2ce9ad(0x3a0,_0x2ce3e4._0x12ce47,0x2cc,0x339)](JSON['stringify'](_0x12ba48));}async function assertFile(_0x470dd1){const _0x2198f0={_0x2f1569:0x4b6,_0x71287:0x3a1},_0x5d1e6e={_0x388159:0x126},_0x287dee=await _0x583e35(_0x470dd1);function _0x5253a1(_0x43fdac,_0x5f43a0,_0x4c97bd,_0x9b6847){return _0x5469ba(_0x9b6847,_0x5f43a0-_0x5d1e6e._0x388159,_0x4c97bd-0x20,_0x4c97bd-0x2fc);}if(!_0x287dee['isFile']())throw new ToolExecutionError(_0x5253a1(0x5f2,0x418,_0x2198f0._0x2f1569,_0x2198f0._0x71287)+_0x470dd1,{'path':_0x470dd1});}function validatePosition(_0x2346bd,_0x1bb7c1){const _0x28bdba={_0x1c2366:0x49,_0x38a2e8:0x197,_0x5d1176:0x12,_0x4683d3:0x2bc,_0x16f76f:0x244,_0x4a9315:0x2bc},_0x475a24={_0x6d18b7:0x150,_0x38c9bd:0x285},_0x276c6f={_0x44eec4:0x22};function _0x505684(_0x3f59ba,_0x25832c,_0x13439e,_0x41bb20){return _0x5469ba(_0x3f59ba,_0x25832c-_0x276c6f._0x44eec4,_0x13439e-0x4d,_0x13439e- -0x3dd);}function _0x56ee85(_0x15a7e7,_0xfc1b61,_0x5d436f,_0x51e3fd){return _0x5469ba(_0x5d436f,_0xfc1b61-_0x475a24._0x6d18b7,_0x5d436f-0x133,_0x15a7e7- -_0x475a24._0x38c9bd);}if(!Number[_0x56ee85(_0x28bdba._0x1c2366,0x8c,0x17e,_0x28bdba._0x38a2e8)](_0x2346bd)||_0x2346bd<0x1)throw new ToolExecutionError(_0x505684(-0x296,-_0x28bdba._0x5d1176,-0x13a,-_0x28bdba._0x4683d3),{'line':_0x2346bd});if(!Number[_0x505684(-_0x28bdba._0x16f76f,0x3d,-0x10f,-_0x28bdba._0x4a9315)](_0x1bb7c1)||_0x1bb7c1<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x1bb7c1});}function createLspTool(_0x1eadce={}){const _0x38fa5f={_0x568135:0x467,_0xa521cb:0x291,_0x44ff84:0x36b,_0x3c4a44:0x213,_0x502e49:0x281,_0x1eef61:0x133,_0x1ed2fb:0x290,_0x153d14:0x411,_0x17c1db:0x3e9,_0x3a99f2:0x29a,_0x255806:0x400,_0x4e2c13:0x275,_0x407a99:0x512,_0x4f6615:0x2c8,_0x4f891f:0x4ca,_0x5af2b5:0x560,_0x13f165:0x48e,_0x24490b:0x553,_0x340a64:0x4b1,_0x4262ea:0x25e,_0x4467bb:0x2a7,_0x264c44:0x3f0,_0x153080:0x43a,_0x2ab5f8:0x2eb,_0x7d54b5:0x363,_0x1436c1:0x4e1,_0x1cbf48:0x266,_0x1dcc38:0x214,_0xffc32e:0x2e1,_0x37bbb4:0x1c9,_0x2355ab:0x28d,_0x224313:0x21c,_0x5a7b50:0x253,_0x30c520:0x21c,_0x409402:0x394,_0x4aeed4:0x492,_0x1b092f:0xc2,_0x951b79:0x22d,_0x31cbae:0x269,_0x55d52a:0x3aa},_0x5e857d={_0xe2554a:0xd0,_0x4b120c:0x5f,_0x23fe52:0x2bf,_0x27b9ec:0x2db,_0x321ea3:0x289,_0xef48c4:0x446,_0x3d03f9:0x3cf,_0x859134:0x2d4,_0x55fb9e:0x4eb,_0x2799f3:0x4fc,_0x249968:0x2c1,_0x2faf4b:0x158,_0x5defec:0x177,_0x1ac86d:0xf3,_0x20b728:0x14,_0x3b6bbd:0x1a3,_0x36f1a7:0x155,_0x1c3c03:0x16c,_0x2e5499:0x2c4,_0x49c4aa:0x137,_0x458f85:0x1d,_0x181b9e:0x251,_0x5d0161:0xa6,_0x149ef3:0x26a,_0x476009:0x16c,_0x518193:0x13a,_0x550a6c:0x15c,_0x4c00eb:0xa2,_0x1ac7a1:0x37f,_0x562b3a:0x439,_0x1a1238:0x32d,_0x3d01fd:0x4f2,_0x476d31:0x3aa,_0x1ce549:0x5f3,_0x22c686:0x49a,_0x525f28:0x1e0,_0x25c42d:0x163,_0x1dbfc1:0x29,_0xe1aeb0:0x1de,_0x2503cf:0x19f,_0x1c4f40:0x211,_0x177f63:0x2cd,_0x368248:0x2e8,_0x1c197e:0xc3,_0x238614:0x278,_0x166507:0x367,_0x15799e:0x391,_0xec7491:0x3ea,_0x48812f:0x3f7,_0x4e8a9e:0x226,_0x17d7bb:0x1cb,_0x593cf3:0x2a5,_0x5e0c4b:0x9b,_0x30daf2:0x1a9,_0x38ac04:0x47,_0x47b428:0x61,_0x49ff3d:0x339,_0x5ae56e:0x386,_0x4c7385:0x7e,_0x465fae:0x11a,_0x5888e8:0x424,_0x45ca64:0x35e,_0x21e6ba:0x317,_0x46cd1f:0x539,_0x264cf4:0x70,_0x4c1bf1:0x402,_0x3096c9:0x500,_0x2e50ac:0x170,_0x154b51:0x22d,_0x5cf65e:0x2f8,_0x383a38:0xc,_0x2291ce:0xac,_0xcd4d2b:0x136},_0x590b86={_0x235008:0xc4,_0x3d778b:0x4ac},_0x12163f={_0x46b2d3:0x23},_0x19052e=_0x5abc0c['resolve'](_0x1eadce[_0x5908c4(0x29a,_0x38fa5f._0x568135,0x3c3,0x2d1)]??process[_0x5908c4(_0x38fa5f._0xa521cb,0x2d2,0x501,0x3d8)]());function _0x4f3b21(_0x37aaa9,_0x1e05d1,_0x2797aa,_0x7dfc6f){return _0x5469ba(_0x1e05d1,_0x1e05d1-_0x12163f._0x46b2d3,_0x2797aa-0x38,_0x2797aa-0xac);}const _0x58a59=_0x1eadce['allowedDirs']??[],_0x54dce4=_0x1eadce[_0x5908c4(_0x38fa5f._0x44ff84,0x212,_0x38fa5f._0x3c4a44,_0x38fa5f._0x502e49)]??'Lsp';function _0x5908c4(_0x11daca,_0x222840,_0x24d905,_0x3c9659){return _0x5469ba(_0x222840,_0x222840-0xd8,_0x24d905-0x36,_0x3c9659-0x107);}return defineTool({'name':_0x54dce4,'permissionClass':_0x4f3b21(_0x38fa5f._0x1eef61,0xf0,_0x38fa5f._0x1ed2fb,0x279),'description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':_0x4f3b21(_0x38fa5f._0x153d14,_0x38fa5f._0x17c1db,0x2e4,_0x38fa5f._0x3a99f2),'properties':{'operation':{'type':_0x5908c4(_0x38fa5f._0x255806,0x260,_0x38fa5f._0x4e2c13,0x277),'enum':[_0x4f3b21(_0x38fa5f._0x407a99,_0x38fa5f._0x4f6615,0x399,_0x38fa5f._0x4f891f),'findReferences',_0x5908c4(_0x38fa5f._0x5af2b5,_0x38fa5f._0x13f165,_0x38fa5f._0x24490b,_0x38fa5f._0x340a64),_0x4f3b21(_0x38fa5f._0x4262ea,_0x38fa5f._0x4467bb,_0x38fa5f._0x264c44,0x463),'workspaceSymbol','goToImplementation',_0x5908c4(0x31a,0x5f0,0x503,_0x38fa5f._0x153080),_0x4f3b21(_0x38fa5f._0x2ab5f8,0x4b9,_0x38fa5f._0x7d54b5,_0x38fa5f._0x1436c1),_0x4f3b21(_0x38fa5f._0x1cbf48,_0x38fa5f._0x1dcc38,_0x38fa5f._0xffc32e,0x44b),'diagnostics']},'filePath':{'type':_0x4f3b21(_0x38fa5f._0x37bbb4,_0x38fa5f._0x2355ab,_0x38fa5f._0x224313,0x313)},'line':{'type':'number'},'character':{'type':'number'},'query':{'type':_0x4f3b21(_0x38fa5f._0x5a7b50,0x36c,_0x38fa5f._0x30c520,0x29b)}},'required':['operation',_0x4f3b21(_0x38fa5f._0x409402,0x1a9,0x2e5,_0x38fa5f._0x4aeed4),_0x5908c4(_0x38fa5f._0x1b092f,0x84,0x327,0x21c),_0x4f3b21(_0x38fa5f._0x951b79,_0x38fa5f._0x31cbae,_0x38fa5f._0x55d52a,0x521)]},async *'execute'(_0x2b4b64,_0x2cee3d){const _0x3239fb={_0x284b3c:0xab,_0x4ae4fa:0x9c,_0x2a65c4:0x55},_0x254787=_0x1eadce['lspService'];if(!_0x254787)throw new ToolExecutionError(_0xa9340(-_0x5e857d._0xe2554a,_0x5e857d._0x4b120c,0x6a,-0x1cd));if(!_0x254787['isEnabled']())throw new ToolExecutionError(_0xa9340(-_0x5e857d._0x23fe52,-0x3be,-0x2bf,-0x43a));const _0x4c3d6e=_0x2b4b64[_0xa9340(-_0x5e857d._0x27b9ec,-0x34a,-0x1e5,-_0x5e857d._0x321ea3)];validatePosition(_0x2b4b64['line'],_0x2b4b64[_0x41b9e9(0x313,_0x5e857d._0xef48c4,_0x5e857d._0x3d03f9,_0x5e857d._0x859134)]);if(_0x4c3d6e==='workspaceSymbol'){if(!_0x2b4b64[_0x41b9e9(_0x5e857d._0x55fb9e,0x4d9,0x545,0x691)]?.['trim']())throw new ToolExecutionError(_0x41b9e9(0x63e,_0x5e857d._0x2799f3,0x4c3,0x3c3));const _0x732d85=await awaitWithAbort(_0x254787[_0x41b9e9(0x2ea,_0x5e857d._0x249968,0x1e5,0x2ee)](_0x2b4b64[_0xa9340(-0x14,_0x5e857d._0x2faf4b,_0x5e857d._0x5defec,0x194)][_0xa9340(0x29,0x19f,-_0x5e857d._0x1ac86d,-0x17f)]()),_0x2cee3d['signal']);return yield createToolOutput(formatSymbols(_0x732d85),{'operation':_0x4c3d6e,'query':_0x2b4b64[_0xa9340(-_0x5e857d._0x20b728,0x11d,_0x5e857d._0x3b6bbd,_0x5e857d._0x36f1a7)],'symbols':_0x732d85}),void 0x0;}function _0xa9340(_0x3c4d20,_0x1d0e2c,_0x2dc40d,_0x5e119e){return _0x5908c4(_0x3c4d20-0x1b4,_0x5e119e,_0x2dc40d-_0x590b86._0x235008,_0x3c4d20- -_0x590b86._0x3d778b);}const _0x80b4a1=resolveAllowedPath(_0x19052e,_0x58a59,_0x2b4b64[_0xa9340(-_0x5e857d._0x1c3c03,-0x2d5,-0x248,-_0x5e857d._0x2e5499)]);await assertFile(_0x80b4a1);if(!await awaitWithAbort(_0x254787['hasClients'](_0x80b4a1),_0x2cee3d[_0xa9340(-0x15c,-_0x5e857d._0x49c4aa,_0x5e857d._0x458f85,-_0x5e857d._0x181b9e)]))throw new ToolExecutionError(_0x41b9e9(_0x5e857d._0x5d0161,0x236,_0x5e857d._0x149ef3,0x2a1)+_0x2b4b64[_0xa9340(-_0x5e857d._0x476009,-0x49,-0x26,-_0x5e857d._0x518193)],{'filePath':_0x2b4b64['filePath']});await awaitWithAbort(_0x254787['touchFile'](_0x80b4a1,!![]),_0x2cee3d[_0xa9340(-_0x5e857d._0x550a6c,-0x306,-0x2c4,-_0x5e857d._0x4c00eb)]);function _0x41b9e9(_0x30c0a4,_0x311385,_0x5c3b13,_0x496efe){return _0x4f3b21(_0x30c0a4-_0x3239fb._0x284b3c,_0x5c3b13,_0x311385-_0x3239fb._0x4ae4fa,_0x496efe-_0x3239fb._0x2a65c4);}const _0x46020a={'file':_0x80b4a1,'line':_0x2b4b64['line']-0x1,'character':_0x2b4b64[_0x41b9e9(_0x5e857d._0x1ac7a1,_0x5e857d._0xef48c4,_0x5e857d._0x562b3a,_0x5e857d._0x1a1238)]-0x1};switch(_0x4c3d6e){case _0x41b9e9(0x3be,_0x5e857d._0x3d01fd,_0x5e857d._0x476d31,_0x5e857d._0x1ce549):{const _0x89e1b3=await awaitWithAbort(_0x254787[_0x41b9e9(_0x5e857d._0x22c686,0x4f2,0x46b,0x3a7)](_0x46020a),_0x2cee3d[_0xa9340(-0x15c,-_0x5e857d._0x525f28,-_0x5e857d._0x25c42d,-_0x5e857d._0x1dbfc1)]);return yield createToolOutput(formatHover(_0x89e1b3),{'operation':_0x4c3d6e,'filePath':_0x80b4a1,'hover':_0x89e1b3}),void 0x0;}case _0xa9340(-0x25b,-0x273,-_0x5e857d._0xe1aeb0,-0x297):{const _0x4bfcde=await awaitWithAbort(_0x254787[_0x41b9e9(_0x5e857d._0x2503cf,_0x5e857d._0x1c4f40,0x323,_0x5e857d._0x177f63)](_0x80b4a1),_0x2cee3d[_0xa9340(-0x15c,-_0x5e857d._0x368248,-0x19c,-0x1af)]);return yield createToolOutput(formatDiagnostics(_0x4bfcde),{'operation':_0x4c3d6e,'filePath':_0x80b4a1,'diagnostics':_0x4bfcde}),void 0x0;}case _0xa9340(-0xb8,-_0x5e857d._0x1c197e,-0x1ce,-0xee):{const _0x3d7856=await awaitWithAbort(_0x254787[_0xa9340(-_0x5e857d._0x238614,-0x358,-0x271,-_0x5e857d._0x166507)](_0x46020a),_0x2cee3d[_0x41b9e9(0x2c3,_0x5e857d._0x15799e,_0x5e857d._0xec7491,_0x5e857d._0x48812f)]);return yield createToolOutput(formatLocations(_0x3d7856),{'operation':_0x4c3d6e,'filePath':_0x80b4a1,'locations':_0x3d7856}),void 0x0;}case _0xa9340(-_0x5e857d._0x4e8a9e,-_0x5e857d._0x17d7bb,-_0x5e857d._0x593cf3,-0x89):{const _0x2ecf71=await awaitWithAbort(_0x254787['references'](_0x46020a),_0x2cee3d['signal']);return yield createToolOutput(formatLocations(_0x2ecf71),{'operation':_0x4c3d6e,'filePath':_0x80b4a1,'locations':_0x2ecf71}),void 0x0;}case _0xa9340(-_0x5e857d._0x5e0c4b,-_0x5e857d._0x30daf2,-_0x5e857d._0x38ac04,-_0x5e857d._0x47b428):{const _0x5cb8a7=await awaitWithAbort(_0x254787['implementation'](_0x46020a),_0x2cee3d[_0x41b9e9(_0x5e857d._0x49ff3d,0x391,_0x5e857d._0x5ae56e,0x3f9)]);return yield createToolOutput(formatLocations(_0x5cb8a7),{'operation':_0x4c3d6e,'filePath':_0x80b4a1,'locations':_0x5cb8a7}),void 0x0;}case _0xa9340(-0x61,-0x50,_0x5e857d._0x4c7385,-_0x5e857d._0x465fae):{const _0x261f6a=await awaitWithAbort(_0x254787['documentSymbol'](_0x80b4a1),_0x2cee3d[_0x41b9e9(_0x5e857d._0x5888e8,0x391,0x205,0x306)]);return yield createToolOutput(formatSymbols(_0x261f6a),{'operation':_0x4c3d6e,'filePath':_0x80b4a1,'symbols':_0x261f6a}),void 0x0;}case _0x41b9e9(0x594,0x47b,_0x5e857d._0x45ca64,0x50d):{const _0x532b43=await awaitWithAbort(_0x254787['prepareCallHierarchy'](_0x46020a),_0x2cee3d[_0x41b9e9(_0x5e857d._0x21e6ba,_0x5e857d._0x15799e,0x235,_0x5e857d._0x46cd1f)]);return yield createToolOutput(formatSymbols(_0x532b43),{'operation':_0x4c3d6e,'filePath':_0x80b4a1,'symbols':toStructured(_0x532b43)}),void 0x0;}case _0xa9340(-0xee,-0x1a9,-0x13b,_0x5e857d._0x264cf4):{const _0x51d96c=await awaitWithAbort(_0x254787['incomingCalls'](_0x46020a),_0x2cee3d[_0x41b9e9(_0x5e857d._0x4c1bf1,0x391,_0x5e857d._0x3096c9,0x1ee)]);return yield createToolOutput(formatIncomingCalls(_0x51d96c),{'operation':_0x4c3d6e,'filePath':_0x80b4a1,'calls':toStructured(_0x51d96c)}),void 0x0;}case _0xa9340(-_0x5e857d._0x2e50ac,-0x2b7,-_0x5e857d._0x154b51,-_0x5e857d._0x5cf65e):{const _0x342cdf=await awaitWithAbort(_0x254787['outgoingCalls'](_0x46020a),_0x2cee3d[_0xa9340(-0x15c,-_0x5e857d._0x383a38,-_0x5e857d._0x2291ce,-_0x5e857d._0xcd4d2b)]);return yield createToolOutput(formatOutgoingCalls(_0x342cdf),{'operation':_0x4c3d6e,'filePath':_0x80b4a1,'calls':toStructured(_0x342cdf)}),void 0x0;}}}});}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';import{randomUUID as _0x8b9447}from'crypto';import{mkdir as _0x23469b,readFile as _0x3c5fc9,writeFile as _0x54023f}from'fs/promises';import{join as _0x30d498}from'path';function sanitizeStorageKey(_0x2e2c12){const _0x1bdda5={_0x1d0c72:0x58c,_0x56ffca:0x6c9,_0x5dd6c6:0x433,_0x31fb2f:0x5f5},_0x1ed7fe={_0x7cc908:0x125,_0x22d4e3:0x79},_0xfa68={_0x38d3a3:0x1d6,_0x142f18:0x9d};function _0x142ab4(_0x475cf6,_0x38b853,_0x2e634e,_0x546482){return _0x4bfe88(_0x38b853-_0xfa68._0x38d3a3,_0x38b853-_0xfa68._0x142f18,_0x2e634e-0x1da,_0x2e634e);}function _0x43689a(_0x2cb59b,_0x2c86ba,_0x4403ad,_0x106b94){return _0x5469ba(_0x4403ad,_0x2c86ba-_0x1ed7fe._0x7cc908,_0x4403ad-_0x1ed7fe._0x22d4e3,_0x2cb59b-0x24f);}return _0x2e2c12[_0x43689a(_0x1bdda5._0x1d0c72,0x5db,_0x1bdda5._0x56ffca,_0x1bdda5._0x5dd6c6)](/[^a-zA-Z0-9_]+/g,'_')[_0x43689a(_0x1bdda5._0x1d0c72,0x590,_0x1bdda5._0x31fb2f,0x4ff)](/^_+|_+$/g,'')||'server';}function storagePath(_0x522de4){const _0xf586a9={_0x3687a5:0x18,_0x259813:0xc8,_0x37865d:0x31d,_0x480a49:0xd6,_0x227a45:0x1b5,_0x182198:0x24e,_0xfcda7a:0xba,_0x157924:0x315,_0x43cde5:0x45d},_0x751756={_0x532d26:0x3d},_0x113e02={_0x1268b4:0x28c,_0x661f18:0x6c};function _0x90c2a2(_0x41c173,_0x5c5386,_0x2c7596,_0x4af0ea){return _0x4bfe88(_0x41c173-_0x113e02._0x1268b4,_0x5c5386-_0x113e02._0x661f18,_0x2c7596-0x1b8,_0x5c5386);}function _0x180196(_0x322502,_0x1c35f5,_0x2d3c78,_0x418439){return _0x5469ba(_0x2d3c78,_0x1c35f5-_0x751756._0x532d26,_0x2d3c78-0x1c0,_0x418439- -0x28f);}const _0x3021aa=sanitizeStorageKey(_0x522de4[_0x180196(0x49,-_0xf586a9._0x3687a5,-0x24f,-_0xf586a9._0x259813)]['oauth']?.[_0x180196(-0x158,-0x305,-_0xf586a9._0x37865d,-0x1e6)]??_0x522de4[_0x180196(-0x215,_0xf586a9._0x480a49,0xdf,-0x9c)]);return _0x30d498(_0x522de4[_0x180196(_0xf586a9._0x227a45,-0xc1,_0xf586a9._0x182198,_0xf586a9._0xfcda7a)],_0x3021aa+_0x90c2a2(0x442,0x3ef,_0xf586a9._0x157924,_0xf586a9._0x43cde5));}async function readStore(_0x137d22){const _0x26885f={_0x3df4cf:0x197,_0x3f3c87:0x2,_0x2317f9:0x250,_0xbfebd5:0x516,_0x34b1de:0x3e0,_0x3ffac5:0x360},_0x16250f={_0x3d8c70:0x102,_0x481bfa:0xa6};function _0x57c62d(_0xfaaf12,_0x2720ea,_0x5a043a,_0x5dc923){return _0x4bfe88(_0x5a043a-_0x16250f._0x3d8c70,_0x2720ea-_0x16250f._0x481bfa,_0x5a043a-0x5a,_0x2720ea);}function _0x2c1eb5(_0x292b83,_0xc5c7cf,_0x35cdd5,_0x2cdc79){return _0x5469ba(_0x35cdd5,_0xc5c7cf-0x4f,_0x35cdd5-0xac,_0xc5c7cf- -0x330);}try{return JSON[_0x2c1eb5(_0x26885f._0x3df4cf,-_0x26885f._0x3f3c87,0x107,0xb6)](await _0x3c5fc9(_0x137d22,_0x57c62d(_0x26885f._0x2317f9,0x315,0x299,0x40c)));}catch(_0x37bab5){if(_0x37bab5 instanceof Error&&_0x57c62d(0x3cb,0x3c5,0x4f6,0x498)in _0x37bab5&&_0x37bab5['code']===_0x57c62d(_0x26885f._0xbfebd5,_0x26885f._0x34b1de,_0x26885f._0x3ffac5,0x2c1))return{};throw _0x37bab5;}}async function writeStore(_0xa98fd9,_0x4b4aa0){await _0x23469b(_0x30d498(_0xa98fd9,'..'),{'recursive':!![]}),await _0x54023f(_0xa98fd9,JSON['stringify'](_0x4b4aa0,null,0x2),'utf8');}async function updateStore(_0x3517d8,_0x81b49b){const _0x2f10f5=await readStore(_0x3517d8);_0x81b49b(_0x2f10f5),await writeStore(_0x3517d8,_0x2f10f5);}function createMcpOAuthProvider(_0x14ef45){const _0x124ec0={_0x30ea2e:0x335,_0x122d34:0x2d9,_0x1bee6b:0x234,_0x30cc9d:0x468,_0x46f2bd:0x364,_0x1d95eb:0x2b6,_0xa219d3:0x416,_0x2603ee:0x466,_0x5c9329:0x565,_0x238370:0x1b9,_0x5a5692:0x372,_0x140676:0x486,_0x5418c0:0x146,_0x403952:0x33d,_0x898092:0x441,_0x1b61b1:0xae,_0x3a996a:0xe5,_0x4fce80:0x3e3,_0x45caed:0x364,_0x289ce6:0x3db,_0x449a9c:0x35f,_0x54017f:0x3d4,_0x36dfbf:0x551},_0x3847dd={_0x12e46e:0x31b},_0x19cd69={_0x25ab08:0x36a,_0x7be86:0x362},_0x1e08b2={_0x5affce:0xe8,_0x54ae23:0x183},_0x544434={_0x4e93fd:0x5e4,_0x117bdf:0x633},_0x68c4f9={_0x4a1a12:0x3f0,_0x120d9f:0x3a5},_0x2b982a={_0x42aabd:0x5a,_0x166de5:0xf8},_0x419348={_0x9b5d88:0x26d},_0x277ce9={_0x41bf51:0x79,_0x3ecb04:0x231},_0x34f790={_0x4ee3b8:0x1f2},_0x574f25={_0x51518f:0x13,_0xa40d12:0x9},_0x4dd020={_0x823a9:0x54,_0x93baf5:0x80},_0x1d421f={_0x2a15ad:0x131,_0x474ae8:0x18f},_0x16d644=storagePath(_0x14ef45);function _0x2d780f(_0x7c5c86,_0x1333b5,_0x5b32c7,_0x500182){return _0x5469ba(_0x1333b5,_0x1333b5-_0x1d421f._0x2a15ad,_0x5b32c7-_0x1d421f._0x474ae8,_0x5b32c7-0x112);}function _0x1adb60(_0x1f3ada,_0x41d6e8,_0x50445b,_0xe1ec13){return _0x4bfe88(_0x1f3ada- -_0x4dd020._0x823a9,_0x41d6e8-0x40,_0x50445b-_0x4dd020._0x93baf5,_0x50445b);}const _0x3ffd0b=_0x14ef45[_0x2d780f(_0x124ec0._0x30ea2e,0x333,_0x124ec0._0x122d34,_0x124ec0._0x1bee6b)][_0x2d780f(0x308,_0x124ec0._0x30cc9d,_0x124ec0._0x46f2bd,0x502)]?.[_0x2d780f(0x3b9,_0x124ec0._0x1d95eb,_0x124ec0._0xa219d3,0x3ea)]?.[_0x1adb60(_0x124ec0._0x2603ee,0x42d,0x5b4,_0x124ec0._0x5c9329)]('\x20'),_0x16eb84={'client_name':_0x2d780f(_0x124ec0._0x238370,0x18c,0x296,_0x124ec0._0x5a5692),'redirect_uris':[_0x14ef45[_0x2d780f(0x5f5,0x3a8,_0x124ec0._0x140676,0x600)]],'grant_types':['authorization_code',_0x1adb60(_0x124ec0._0x5418c0,0x11b,0xbb,0x242)],'response_types':['code'],'token_endpoint_auth_method':_0x2d780f(0x59b,_0x124ec0._0x403952,_0x124ec0._0x898092,0x34e),..._0x3ffd0b?{'scope':_0x3ffd0b}:{}};return{'clientMetadataUrl':_0x14ef45[_0x1adb60(0x236,0x38f,_0x124ec0._0x1b61b1,_0x124ec0._0x3a996a)][_0x2d780f(0x21f,_0x124ec0._0x4fce80,_0x124ec0._0x45caed,_0x124ec0._0x289ce6)]?.[_0x2d780f(0x315,_0x124ec0._0x449a9c,_0x124ec0._0x54017f,_0x124ec0._0x36dfbf)],get 'redirectUrl'(){function _0xe4a771(_0x36d8d3,_0x103a6a,_0xde483f,_0x35fe90){return _0x2d780f(_0x36d8d3-0x1a4,_0x103a6a,_0x35fe90- -0x4b2,_0x35fe90-0x70);}return _0x14ef45[_0xe4a771(-_0x574f25._0x51518f,-_0x574f25._0xa40d12,-0x8e,-0x2c)];},get 'clientMetadata'(){return _0x16eb84;},async 'state'(){const _0x2777a5=await readStore(_0x16d644);if(_0x2777a5['state'])return _0x2777a5[_0x257582(0x1c9,_0x277ce9._0x41bf51,_0x277ce9._0x3ecb04,0x6a)];const _0x4f38df=_0x8b9447();await updateStore(_0x16d644,_0xa4568d=>{_0xa4568d['state']=_0x4f38df;});function _0x257582(_0x45f354,_0x45e2d5,_0x4e126c,_0x2aa883){return _0x2d780f(_0x45f354-0xa4,_0x45e2d5,_0x45f354- -0x26d,_0x2aa883-_0x34f790._0x4ee3b8);}return _0x4f38df;},async 'clientInformation'(){function _0x1f4f9b(_0x59c750,_0x1e212e,_0xd4bbff,_0x3a1ca4){return _0x1adb60(_0x59c750- -_0x419348._0x9b5d88,_0x1e212e-0x147,_0x3a1ca4,_0x3a1ca4-0x180);}return(await readStore(_0x16d644))[_0x1f4f9b(-0x39,-_0x2b982a._0x42aabd,_0x2b982a._0x166de5,-0x1de)];},async 'saveClientInformation'(_0x160072){await updateStore(_0x16d644,_0xea40c9=>{_0xea40c9['clientInformation']=_0x160072;});},async 'tokens'(){const _0x8b4cc7={_0x53de12:0x1d9};function _0x4fe831(_0x1c069d,_0x2d19bd,_0x11e091,_0x2492f0){return _0x2d780f(_0x1c069d-_0x8b4cc7._0x53de12,_0x11e091,_0x2d19bd-0x11b,_0x2492f0-0xed);}return(await readStore(_0x16d644))[_0x4fe831(_0x68c4f9._0x4a1a12,_0x68c4f9._0x120d9f,0x4a0,0x421)];},async 'saveTokens'(_0x4f145e){await updateStore(_0x16d644,_0x4fa140=>{_0x4fa140['tokens']=_0x4f145e;});},async 'redirectToAuthorization'(_0x1c80f9){await _0x14ef45['onRedirect'](_0x1c80f9);},async 'saveCodeVerifier'(_0x4da607){const _0x2977a0={_0x1c111c:0x27d};await updateStore(_0x16d644,_0x108eac=>{function _0x2c2ac7(_0x39c88d,_0x271508,_0x56ffe7,_0x5739c0){return _0x5bda(_0x56ffe7-_0x2977a0._0x1c111c,_0x39c88d);}_0x108eac[_0x2c2ac7(0x321,_0x544434._0x4e93fd,0x4c9,_0x544434._0x117bdf)]=_0x4da607;});},async 'codeVerifier'(){const _0x5bcb60=(await readStore(_0x16d644))['codeVerifier'];function _0x2791de(_0x3f1773,_0x39030b,_0x5260af,_0x17d518){return _0x2d780f(_0x3f1773-_0x1e08b2._0x5affce,_0x17d518,_0x5260af-0x127,_0x17d518-_0x1e08b2._0x54ae23);}if(!_0x5bcb60)throw new Error(_0x2791de(0x284,0x40e,_0x19cd69._0x25ab08,_0x19cd69._0x7be86));return _0x5bcb60;},async 'invalidateCredentials'(_0x1351a9){const _0x381a1f={_0x3e0dff:0xb8,_0x595062:0x18,_0x1d3c97:0x244,_0x24c7b2:0x183,_0x3132b6:0x1ea,_0x3807a7:0x101,_0x337869:0x174,_0x53617b:0x27,_0x4078fd:0x22a,_0x96a0c9:0x41};await updateStore(_0x16d644,_0x370e97=>{const _0x11021c={_0x3db0e8:0x244};(_0x1351a9===_0x498b54(-0x23b,-0x188,-0x66,-_0x381a1f._0x3e0dff)||_0x1351a9==='client')&&(_0x370e97[_0x498b54(0x32,-_0x381a1f._0x595062,-_0x381a1f._0x1d3c97,-0xb5)]=void 0x0);(_0x1351a9===_0x1fb976(-0x8e,-0x12a,-_0x381a1f._0x24c7b2,0x5a)||_0x1351a9===_0x1fb976(-_0x381a1f._0x3132b6,-0x174,-0x321,-0x29f))&&(_0x370e97[_0x1fb976(-_0x381a1f._0x3807a7,-_0x381a1f._0x337869,-0x158,-0x24)]=void 0x0);function _0x498b54(_0x302b02,_0x32dedb,_0x216566,_0x3b4257){return _0x5bda(_0x3b4257- -_0x11021c._0x3db0e8,_0x302b02);}(_0x1351a9===_0x498b54(-0x22c,-0x92,-0x110,-0xb8)||_0x1351a9==='verifier')&&(_0x370e97[_0x1fb976(-0x9f,-0x6a,0x14c,-0x16f)]=void 0x0,_0x370e97[_0x498b54(0x151,0xce,_0x381a1f._0x53617b,0xaa)]=void 0x0);function _0x1fb976(_0x42983d,_0x8bc5c7,_0x3e2aea,_0x5be982){return _0x5bda(_0x8bc5c7- -0x2b6,_0x42983d);}(_0x1351a9===_0x498b54(-_0x381a1f._0x4078fd,0xc7,-0x17b,-_0x381a1f._0x3e0dff)||_0x1351a9==='discovery')&&(_0x370e97[_0x1fb976(0xe0,-_0x381a1f._0x96a0c9,0x3a,-0xf5)]=void 0x0);});},async 'saveDiscoveryState'(_0x3488e5){const _0x42c659={_0x2b44e9:0x3fd,_0x2f94e1:0x4ce};await updateStore(_0x16d644,_0x54d181=>{function _0x564295(_0xcb79be,_0x118f8,_0x16a900,_0x495c69){return _0x5bda(_0x495c69-0x259,_0xcb79be);}_0x54d181[_0x564295(0x50c,_0x42c659._0x2b44e9,0x37a,_0x42c659._0x2f94e1)]=_0x3488e5;});},async 'discoveryState'(){function _0x2a1c70(_0xc943e1,_0x4b1dd9,_0x3992f2,_0x182219){return _0x2d780f(_0xc943e1-0x175,_0xc943e1,_0x4b1dd9-0x1,_0x182219-0x4e);}return(await readStore(_0x16d644))[_0x2a1c70(0x2de,0x3be,0x32e,_0x3847dd._0x12e46e)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x4bfe88(0x19b,0x1b3,0x1e2,0x34a),'message':_0x39740a=>_0x4bfe88(0x40e,0x37b,0x494,0x270)+_0x39740a+'\x20failed\x20to\x20close'},'connect':{'code':_0x4bfe88(0x489,0x5c1,0x5f2,0x5c5),'message':_0xe23fb1=>'MCP\x20server\x20'+_0xe23fb1+_0x5469ba(0x6a,0x1bf,0x18d,0xfd)},'discover':{'code':_0x4bfe88(0x444,0x503,0x3db,0x5dc),'message':_0x534f92=>_0x5469ba(0x4a8,0x261,0x247,0x34b)+_0x534f92+_0x4bfe88(0x36d,0x1cc,0x3cc,0x2c3)},'toolCall':{'code':'mcp-tool-call-failed','message':_0x42ad03=>_0x5469ba(0x381,0x1f0,0x4f0,0x34b)+_0x42ad03+'\x20tool\x20call\x20failed'}},timeoutMessageByOperation={'close':_0x5ea474=>_0x4bfe88(0x40e,0x59c,0x3c1,0x27f)+_0x5ea474+'\x20close\x20timed\x20out','connect':_0x569a30=>_0x5469ba(0x3d4,0x1b1,0x468,0x34b)+_0x569a30+_0x5469ba(0x3cf,0x438,0x3f6,0x2c3),'discover':_0x2b3dfe=>'MCP\x20server\x20'+_0x2b3dfe+'\x20tool\x20discovery\x20timed\x20out','toolCall':_0x4d577b=>_0x5469ba(0x253,0x243,0x4f7,0x34b)+_0x4d577b+_0x5469ba(0x295,0x262,0xb3,0x113)};function toMcpSafeError(_0x5367a8){const _0xe4eb35={_0x332eee:0x88,_0x298d82:0x198,_0x45e594:0x1b1,_0x30b74e:0x35f,_0x31e038:0x48e,_0x25ebfb:0x4ae,_0x3f8013:0x378,_0x3a6b05:0x302,_0x328d21:0x1fd,_0x36f865:0x2dc,_0x200b07:0x3f7,_0x3a1e9a:0x28a,_0x54139a:0x95,_0x279eaa:0x9b,_0x1849f6:0xb0,_0xca92f0:0xb6,_0x2a729d:0xde,_0x50c793:0x41a,_0x39f11c:0x35a,_0x24a860:0x2cd,_0x70d988:0x297,_0x2b4d88:0x447,_0x3344d1:0x440,_0x4a6962:0x21d,_0x1a4065:0x2d8,_0x25a12f:0x314,_0x32a127:0x28b,_0x528f96:0x3f6,_0x55a74a:0x363,_0x3dfcfa:0x89,_0x214454:0x81,_0x411eb8:0x59,_0x4b72dd:0x141,_0x5694fe:0xa1,_0x2f69fd:0x1fc,_0x1de3af:0x19a,_0x350a2c:0x1fe,_0x122725:0x430},_0x257d2a={_0x53f4b9:0x7f,_0xa47989:0x67,_0x4f78ef:0x49};function _0x417869(_0x2b32e0,_0x35d0c0,_0x51bd8b,_0x2ec732){return _0x5469ba(_0x2b32e0,_0x35d0c0-_0x257d2a._0x53f4b9,_0x51bd8b-_0x257d2a._0xa47989,_0x35d0c0- -_0x257d2a._0x4f78ef);}function _0x56e5ed(_0x129ed5,_0x593d45,_0x1eb263,_0x6d8ff){return _0x5469ba(_0x6d8ff,_0x593d45-0x9e,_0x1eb263-0x14e,_0x129ed5-0xe9);}if(_0x5367a8['error']instanceof UnauthorizedError)return Object[_0x417869(_0xe4eb35._0x332eee,0x8a,_0xe4eb35._0x298d82,_0xe4eb35._0x45e594)]({'code':_0x56e5ed(_0xe4eb35._0x30b74e,_0xe4eb35._0x31e038,0x224,_0xe4eb35._0x25ebfb),'message':_0x417869(_0xe4eb35._0x3f8013,_0xe4eb35._0x3a6b05,0x2ec,_0xe4eb35._0x328d21)+_0x5367a8[_0x56e5ed(_0xe4eb35._0x36f865,0x32a,_0xe4eb35._0x200b07,0x359)]+_0x417869(0x372,0x217,_0xe4eb35._0x3a1e9a,0x65)});if(_0x5367a8[_0x417869(-_0xe4eb35._0x54139a,0xb6,-0x7,-_0xe4eb35._0x279eaa)]instanceof McpError&&_0x5367a8[_0x417869(_0xe4eb35._0x1849f6,_0xe4eb35._0xca92f0,0x3b,-_0xe4eb35._0x2a729d)][_0x56e5ed(_0xe4eb35._0x50c793,_0xe4eb35._0x39f11c,_0xe4eb35._0x24a860,_0xe4eb35._0x70d988)]===ErrorCode[_0x56e5ed(_0xe4eb35._0x2b4d88,0x2f4,_0xe4eb35._0x3344d1,0x353)])return Object[_0x56e5ed(0x1bc,_0xe4eb35._0x4a6962,_0xe4eb35._0x1a4065,_0xe4eb35._0x25a12f)]({'code':_0x56e5ed(0x3bb,0x30d,_0xe4eb35._0x32a127,_0xe4eb35._0x528f96),'message':timeoutMessageByOperation[_0x5367a8[_0x56e5ed(0x1b3,0x22c,_0xe4eb35._0x55a74a,0xf5)]](_0x5367a8['serverName'])});const _0xa05e4a=failureByOperation[_0x5367a8[_0x417869(_0xe4eb35._0x3dfcfa,_0xe4eb35._0x214454,-_0xe4eb35._0x411eb8,_0xe4eb35._0x4b72dd)]];return Object[_0x417869(_0xe4eb35._0x5694fe,0x8a,_0xe4eb35._0x2f69fd,0x21b)]({'code':_0xa05e4a['code'],'message':_0xa05e4a[_0x56e5ed(0x340,_0xe4eb35._0x1de3af,_0xe4eb35._0x350a2c,_0xe4eb35._0x122725)](_0x5367a8['serverName'])});}function redactMcpDiagnostic(_0x240cc7,_0x166244){const _0xb87815={_0x1c6197:0x516,_0x3b0fdc:0x9b,_0x97dbc:0x189,_0x5a740d:0x25b,_0x5afa86:0x10c,_0x33d77a:0x31,_0x230060:0x13d,_0x124849:0x3e,_0x635291:0x2f8,_0x335144:0x45e,_0x3d41bb:0x37c,_0x18e130:0x35c},_0x107a8c={_0x21ed8f:0x11d},_0x181a92=[...new Set(_0x166244[_0x26c916(0x4c4,_0xb87815._0x1c6197,0x392,0x4d1)](_0x15b5dc=>_0x15b5dc[_0x26c916(0x45a,0x4bb,0x35c,0x26e)]>0x0))][_0x50478e(_0xb87815._0x3b0fdc,0x7a,_0xb87815._0x97dbc,_0xb87815._0x5a740d)]((_0x4b7ee1,_0x4bb732)=>_0x4bb732[_0x50478e(0x11f,0x238,0x13d,-0x25)]-_0x4b7ee1['length']);function _0x26c916(_0x18f2e7,_0x56d96e,_0x275ee7,_0x2facaf){return _0x5469ba(_0x2facaf,_0x56d96e-0x57,_0x275ee7-0x70,_0x275ee7-0x81);}function _0x50478e(_0x1d5165,_0x3169a8,_0x50291b,_0x4de759){return _0x5469ba(_0x1d5165,_0x3169a8-0xa3,_0x50291b-_0x107a8c._0x21ed8f,_0x50291b- -0x19e);}if(_0x240cc7['length']===0x0||_0x181a92['length']===0x0)return _0x240cc7;let _0x3f5a6f='',_0x2ba0a3=0x0;while(_0x2ba0a3<_0x240cc7[_0x50478e(_0xb87815._0x5afa86,_0xb87815._0x33d77a,_0xb87815._0x230060,-_0xb87815._0x124849)]){const _0x53cb5e=_0x181a92[_0x26c916(_0xb87815._0x635291,0x45d,0x3a1,_0xb87815._0x335144)](_0x416fca=>_0x240cc7[_0x26c916(0x3ff,0x1ce,0x2a2,0x2f0)](_0x416fca,_0x2ba0a3));_0x53cb5e?(_0x3f5a6f+='[REDACTED]',_0x2ba0a3+=_0x53cb5e[_0x26c916(0x4e2,_0xb87815._0x3d41bb,_0xb87815._0x18e130,0x2cd)]):(_0x3f5a6f+=_0x240cc7[_0x2ba0a3],_0x2ba0a3+=0x1);}return _0x3f5a6f;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x66eb07){const _0x515740={_0x38fe7f:0x433},_0x1ba4b7={_0x30501c:0x6a,_0x43cfc9:0xe};function _0x2af921(_0x5b9feb,_0x230523,_0xc3ed77,_0x487d18){return _0x4bfe88(_0xc3ed77-_0x1ba4b7._0x30501c,_0x230523-_0x1ba4b7._0x43cfc9,_0xc3ed77-0xfa,_0x487d18);}return typeof _0x66eb07===_0x2af921(_0x515740._0x38fe7f,0x376,0x365,0x20c)&&_0x66eb07!==null||typeof _0x66eb07==='function';}function createOwnedMcpSafeError(_0x175d02){const _0x4c75f8={_0x48a44d:0x2cc},_0x23c543=toMcpSafeError(_0x175d02),_0xfae673=Object['freeze']({'code':_0x23c543[_0x114c4a(0x3bc,0x33f,_0x4c75f8._0x48a44d,0x388)],'message':_0x23c543['message']});ownedMcpSafeErrors['set'](_0x23c543,_0xfae673);function _0x114c4a(_0x204b8f,_0x31b85e,_0x2a18e9,_0x2d1b29){return _0x5469ba(_0x204b8f,_0x31b85e-0x1d2,_0x2a18e9-0x16,_0x2a18e9- -0x65);}return _0x23c543;}function extractOwnedMcpSafeError(_0x89f5e8){const _0x421531={_0x14acae:0x11c,_0x30cd0b:0x11f,_0x4dc503:0x305,_0x54a351:0x180,_0x3394e6:0x65,_0x5504b0:0x6a,_0x4668a4:0x1e1},_0x35ee3c={_0xf1c325:0x2be},_0x1a853a={_0x3abbf0:0xba};if(!isWeakMapKey(_0x89f5e8))return void 0x0;function _0x184b32(_0x3100b7,_0x2d986e,_0x1b7cbd,_0x2665b5){return _0x5469ba(_0x2d986e,_0x2d986e-_0x1a853a._0x3abbf0,_0x1b7cbd-0x1f2,_0x2665b5- -0x39b);}const _0x2cbc69=ownedMcpSafeErrors[_0x184b32(-0xe0,-0x1ab,-0x36,-_0x421531._0x14acae)](_0x89f5e8);function _0x133bbb(_0x5de367,_0x24bafb,_0x9142c9,_0x1f2d3f){return _0x5469ba(_0x24bafb,_0x24bafb-0x1b,_0x9142c9-0xa2,_0x5de367- -_0x35ee3c._0xf1c325);}if(!_0x2cbc69)return void 0x0;const _0x66c07e=Object[_0x184b32(-_0x421531._0x30cd0b,-_0x421531._0x4dc503,-_0x421531._0x54a351,-0x2c8)]({'code':_0x2cbc69[_0x184b32(-0xa4,0x3e,-_0x421531._0x3394e6,-_0x421531._0x5504b0)],'message':_0x2cbc69[_0x133bbb(-0x67,-_0x421531._0x4668a4,-0x1a9,-0xd9)]});return ownedMcpSafeErrors[_0x184b32(-0x3e2,-0x3ab,-0x33d,-0x283)](_0x66c07e,_0x2cbc69),_0x66c07e;}function ownValue(_0x2064ef,_0x1a385f){const _0x176b41={_0x3e7d73:0x71,_0x27991a:0x4a,_0x26c00c:0x1a2,_0x1fd74d:0x5c},_0x3e0ee3={_0x529a8a:0x18d};function _0x3b352f(_0x41ce61,_0x19ca8b,_0x117d02,_0x6ec513){return _0x5469ba(_0x19ca8b,_0x19ca8b-0x1f2,_0x117d02-0x18f,_0x41ce61- -_0x3e0ee3._0x529a8a);}return _0x2064ef&&Object[_0x3b352f(-_0x176b41._0x3e7d73,-_0x176b41._0x27991a,-_0x176b41._0x26c00c,-_0x176b41._0x1fd74d)](_0x2064ef,_0x1a385f)?_0x2064ef[_0x1a385f]:void 0x0;}function isToolPermissionClass(_0x20e663){const _0x10dd64={_0x1784a2:0x25b,_0x5438aa:0x3eb,_0x989487:0x275,_0x346a9d:0x304},_0x143f7a={_0x28fb31:0x5f,_0xc5ebac:0x13},_0x5b9c78={_0x4da2a3:0x151,_0xd8c17f:0x2c};function _0x2cfdd1(_0x1a061f,_0x56442d,_0x5e3348,_0x146a23){return _0x5469ba(_0x5e3348,_0x56442d-0x6,_0x5e3348-_0x5b9c78._0x4da2a3,_0x146a23- -_0x5b9c78._0xd8c17f);}function _0x395c8b(_0x567ccd,_0x5397fc,_0x11d582,_0xc6e315){return _0x4bfe88(_0x567ccd- -0x47a,_0x5397fc-_0x143f7a._0x28fb31,_0x11d582-_0x143f7a._0xc5ebac,_0xc6e315);}return _0x20e663===_0x2cfdd1(0x23f,0x2a4,_0x10dd64._0x1784a2,0x1b8)||_0x20e663===_0x2cfdd1(0x2eb,0x3e4,_0x10dd64._0x5438aa,0x344)||_0x20e663===_0x2cfdd1(0x418,_0x10dd64._0x989487,0x2c4,_0x10dd64._0x346a9d);}function suggestedPermissionClass(_0x4f9471){const _0x14c954={_0x475d7d:0x38,_0x56700d:0x78,_0x3df994:0x1df,_0x14cc6c:0x39f},_0x506b98={_0x5bcad8:0x8f},_0x282089={_0x429506:0x2df,_0x3ec9f7:0x11},_0x4535a1=_0x4f9471['annotations']?.[_0x82eb7e(-0x47,-0x21,-0x63,0x4b)];if(_0x4535a1===!![])return _0x82eb7e(-_0x14c954._0x475d7d,-_0x14c954._0x56700d,-_0x14c954._0x3df994,0x9c);function _0x82eb7e(_0x844b07,_0x1d64e1,_0x51bc8e,_0x579448){return _0x4bfe88(_0x844b07- -_0x282089._0x429506,_0x1d64e1-0x1e0,_0x51bc8e-_0x282089._0x3ec9f7,_0x579448);}if(_0x4535a1===![])return _0x22b987(0x265,0x253,_0x14c954._0x14cc6c,0x32f);function _0x22b987(_0x389312,_0x4bd2c5,_0x25f860,_0x52b3bd){return _0x4bfe88(_0x25f860- -0x94,_0x4bd2c5-_0x506b98._0x5bcad8,_0x25f860-0xb1,_0x4bd2c5);}return void 0x0;}function isJsonValue(_0x3beb34){const _0x3749d0={_0x1cbbc1:0x5b0,_0x1ef38a:0x3e2,_0x5c4385:0x464,_0x49f2a4:0x3ea,_0x1426df:0x3a4,_0x18b516:0x3cd,_0x562dfd:0x500,_0x114da1:0x481,_0x1191fa:0x359,_0x543c54:0x3d6,_0x412d4a:0x2f5,_0x483f83:0x1f5};function _0x172e87(_0x5c65da,_0x157c4e,_0x4a8bde,_0x7e3d5a){return _0x4bfe88(_0x157c4e-0x279,_0x157c4e-0x1c3,_0x4a8bde-0x1a1,_0x7e3d5a);}if(_0x3beb34===null||typeof _0x3beb34===_0x172e87(0x555,0x4ac,_0x3749d0._0x1cbbc1,0x478)||typeof _0x3beb34===_0x15fbc3(_0x3749d0._0x1ef38a,0x368,_0x3749d0._0x5c4385,0x5ce)||typeof _0x3beb34==='boolean')return!![];if(Array[_0x15fbc3(_0x3749d0._0x49f2a4,_0x3749d0._0x1426df,0x2bc,_0x3749d0._0x18b516)](_0x3beb34))return _0x3beb34[_0x172e87(_0x3749d0._0x562dfd,_0x3749d0._0x114da1,_0x3749d0._0x1191fa,_0x3749d0._0x543c54)](isJsonValue);if(!isObject(_0x3beb34))return![];function _0x15fbc3(_0x1f774f,_0x34b83e,_0xd26d37,_0x26cc6e){return _0x4bfe88(_0xd26d37-0xa4,_0x34b83e-0x15f,_0xd26d37-0x142,_0x34b83e);}return Object['values'](_0x3beb34)[_0x15fbc3(_0x3749d0._0x412d4a,_0x3749d0._0x483f83,0x2ac,0x438)](isJsonValue);}function projectMcpTools(_0x10f18b){const _0x22788d={_0xcfa635:0x4bf,_0x58685b:0x1c6,_0x54e2a2:0x1a6,_0xd32afd:0x194,_0x1c637f:0x1fc,_0x1a9ea7:0x338,_0x245f59:0x2fc,_0x2d4562:0x1be,_0x5b07c8:0x13f,_0x236f75:0x181,_0x11e922:0x28e,_0x190a48:0x320,_0x56e62a:0x23d,_0x4335b2:0x1ae,_0x52922d:0x416,_0x57b9b0:0x48d,_0x1a05f7:0x3c2,_0x3df0cb:0x460,_0x104b9f:0x2ea,_0x11ee3f:0x421,_0x356c29:0x248,_0x143fba:0x121,_0x3dc84e:0x410,_0x519c6f:0x4e3,_0xc2ec7f:0x518,_0x201123:0x406},_0x2e06f2={_0x5a2f69:0x41},_0x311edf={_0x103c80:0x142,_0x11fce:0x55},_0x381d27=[];function _0x4f54b4(_0x53b7be,_0x3692bc,_0x406de6,_0x259103){return _0x5469ba(_0x406de6,_0x3692bc-_0x311edf._0x103c80,_0x406de6-0x14c,_0x53b7be-_0x311edf._0x11fce);}const _0x599e2b=[];function _0x43c2bc(_0x4de5b0,_0xe323b1,_0x365975,_0x3cc5cc){return _0x4bfe88(_0x365975- -_0x2e06f2._0x5a2f69,_0xe323b1-0xec,_0x365975-0x4a,_0xe323b1);}for(const _0x3cdaac of _0x10f18b[_0x4f54b4(0x42a,0x578,0x34c,_0x22788d._0xcfa635)]){const _0x348a2c=ownValue(_0x10f18b[_0x4f54b4(_0x22788d._0x58685b,_0x22788d._0x54e2a2,0x2e3,_0x22788d._0xd32afd)],_0x3cdaac[_0x43c2bc(0x249,0x2e0,_0x22788d._0x1c637f,0x13e)]),_0x233ec8=isToolPermissionClass(_0x348a2c)?_0x348a2c:void 0x0,_0x52f5d1=_0x233ec8??_0x43c2bc(_0x22788d._0x1a9ea7,0x3c6,0x3b2,_0x22788d._0x245f59),_0x218a18=suggestedPermissionClass(_0x3cdaac);_0x599e2b[_0x4f54b4(_0x22788d._0x2d4562,0x31a,0x2bd,0x35b)]({'name':_0x3cdaac[_0x4f54b4(0x1cf,0xd2,_0x22788d._0x5b07c8,0x347)],..._0x3cdaac[_0x4f54b4(_0x22788d._0x236f75,_0x22788d._0x11e922,0x234,_0x22788d._0x190a48)]!==void 0x0?{'description':_0x3cdaac[_0x43c2bc(0x6b,_0x22788d._0x56e62a,_0x22788d._0x4335b2,0x33a)]}:{},...isJsonValue(_0x3cdaac[_0x43c2bc(_0x22788d._0x52922d,0x380,_0x22788d._0x57b9b0,_0x22788d._0x1a05f7)])?{'inputSchema':_0x3cdaac[_0x4f54b4(_0x22788d._0x3df0cb,0x54d,0x539,_0x22788d._0x104b9f)]}:{},'permissionClass':_0x52f5d1,'permissionConfigured':_0x233ec8!==void 0x0,..._0x218a18!==void 0x0?{'suggestedPermissionClass':_0x218a18}:{}});if(ownValue(_0x10f18b[_0x4f54b4(0x314,0x2b5,_0x22788d._0x11ee3f,0x206)],_0x3cdaac['name'])===![])continue;_0x381d27['push'](createMcpTool({'serverName':_0x10f18b['prefix']??_0x10f18b[_0x4f54b4(_0x22788d._0x356c29,0x208,_0x22788d._0x143fba,0x307)],'tool':_0x3cdaac,'client':_0x10f18b['client'],'permissionClass':_0x52f5d1,'internalLifecycle':_0x10f18b[_0x4f54b4(_0x22788d._0x3dc84e,_0x22788d._0x519c6f,_0x22788d._0xc2ec7f,_0x22788d._0x201123)]}));}return{'tools':_0x381d27,'descriptors':_0x599e2b};}function createMcpToolName(_0x565ed1,_0x317f82){const _0x464a14={_0x33f78b:0x71};function _0x4da399(_0x5409e1,_0x264aca,_0x2c588f,_0x3d2f30){return _0x5469ba(_0x3d2f30,_0x264aca-0x116,_0x2c588f-_0x464a14._0x33f78b,_0x264aca-0x246);}const _0x5e5a06=_0x5a24a8=>_0x5a24a8['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x4da399(0x409,0x583,0x657,0x60b)](/^_+|_+$/g,'');return'mcp_'+_0x5e5a06(_0x565ed1)+'_'+_0x5e5a06(_0x317f82);}function isObject(_0x39e941){const _0x31d9d8={_0x2b74c2:0x61},_0x11b79a={_0x50d514:0x37},_0x224025={_0x1988ea:0x1eb};function _0x59e9a6(_0x336bd3,_0x278a60,_0x1718cc,_0x2c0683){return _0x4bfe88(_0x1718cc- -0x35c,_0x278a60-0xe2,_0x1718cc-_0x224025._0x1988ea,_0x2c0683);}function _0x4e843a(_0x1ac06e,_0x3b6a02,_0x1d40b0,_0xc503f){return _0x5469ba(_0x1ac06e,_0x3b6a02-_0x11b79a._0x50d514,_0x1d40b0-0x10c,_0x1d40b0- -0x180);}return typeof _0x39e941===_0x59e9a6(0x112,0x7e,-_0x31d9d8._0x2b74c2,0x80)&&_0x39e941!==null&&!Array[_0x4e843a(-0x1f,0x16d,-0x2b,0x165)](_0x39e941);}function toSupportedSchema(_0x1537da){const _0x542ccc={_0x32a937:0x6ad,_0x39dc75:0x77b,_0x2fb808:0x4fe,_0x7de290:0x2f5,_0x8f5a26:0x44e,_0x1448fa:0x605,_0x62830:0x4f1,_0x13a948:0x56e,_0x1461ac:0x703,_0x2a9a9f:0x67e,_0x39113a:0x594,_0x37fc5d:0x611,_0x507f13:0x663,_0x2c47cb:0x5fe,_0x428dfe:0x5dd,_0x5c1ba4:0x6b7,_0x75789a:0x716,_0x59c1ae:0x6fc,_0x152736:0x74c,_0x1f1057:0x84c,_0x108df0:0x6fc,_0x4d2c4c:0x6b0,_0x42109a:0x5bf,_0x9be3dc:0x574,_0x1cfb93:0x5d0,_0x4a2a00:0x4b7,_0x1103bb:0x794,_0x131180:0x7e3,_0x3f92b5:0x461},_0x5cf518={_0x1ef0b8:0x3d},_0x1758e7={_0x4f4068:0x156,_0x303158:0x11a,_0x119a72:0x381};if(!isObject(_0x1537da))return void 0x0;function _0x4b93f8(_0x52d2a8,_0x643316,_0x8286d5,_0x17d1c1){return _0x5469ba(_0x52d2a8,_0x643316-_0x1758e7._0x4f4068,_0x8286d5-_0x1758e7._0x303158,_0x8286d5-_0x1758e7._0x119a72);}if(_0x1537da[_0x4b93f8(0x803,_0x542ccc._0x32a937,_0x542ccc._0x39dc75,0x655)]===_0x31da81(0x3d9,_0x542ccc._0x2fb808,_0x542ccc._0x7de290,_0x542ccc._0x8f5a26))return{'type':_0x4b93f8(0x41a,_0x542ccc._0x1448fa,_0x542ccc._0x62830,0x38f)};if(_0x1537da['type']===_0x4b93f8(_0x542ccc._0x13a948,_0x542ccc._0x1461ac,_0x542ccc._0x2a9a9f,0x608)||_0x1537da[_0x31da81(0x663,0x57c,_0x542ccc._0x39113a,0x573)]===_0x4b93f8(0x5f1,_0x542ccc._0x37fc5d,0x724,0x8ce))return{'type':_0x31da81(0x566,0x56a,0x676,0x56b)};if(_0x1537da[_0x31da81(0x663,_0x542ccc._0x507f13,0x6be,0x5c2)]===_0x31da81(_0x542ccc._0x2c47cb,0x4f7,0x7ac,0x653))return{'type':_0x4b93f8(_0x542ccc._0x428dfe,_0x542ccc._0x5c1ba4,_0x542ccc._0x75789a,0x7e7)};if(_0x1537da['type']===_0x4b93f8(0x66e,0x6cc,_0x542ccc._0x59c1ae,_0x542ccc._0x152736))return{'type':_0x4b93f8(_0x542ccc._0x1f1057,0x7dc,_0x542ccc._0x108df0,_0x542ccc._0x4d2c4c),'items':toSupportedSchema(_0x1537da[_0x31da81(0x4d0,_0x542ccc._0x42109a,_0x542ccc._0x9be3dc,_0x542ccc._0x1cfb93)])??{'type':_0x31da81(0x3d9,0x300,_0x542ccc._0x4a2a00,0x361)}};if(_0x1537da[_0x4b93f8(0x775,_0x542ccc._0x1103bb,_0x542ccc._0x39dc75,_0x542ccc._0x131180)]===_0x31da81(0x4a1,0x42e,0x5c4,_0x542ccc._0x3f92b5))return toNuvinToolSchema(_0x1537da);function _0x31da81(_0x3616d8,_0x30dc5a,_0x37d750,_0x3fac7f){return _0x5469ba(_0x3fac7f,_0x30dc5a-0xd2,_0x37d750-_0x5cf518._0x1ef0b8,_0x3616d8-0x269);}return void 0x0;}function toNuvinToolSchema(_0x2d07ce){const _0x40eb0a={_0x4b9218:0x153,_0x509cd6:0x30,_0x369237:0x116,_0x4bb363:0xd8,_0x166477:0x11b,_0x1d7e8e:0x24,_0x4395be:0x25a,_0xba33df:0x23a,_0x283d50:0x240,_0x146c83:0xfb,_0x5179c8:0x29,_0x19f932:0x252,_0x10e2ea:0x372,_0x15379d:0x231,_0x511428:0xf8,_0x17b64b:0x445,_0x175ccf:0x329,_0x3d0613:0x4a6,_0x507ff2:0x359,_0xf84335:0x207,_0x4c317e:0x286},_0x22a2f9={_0x2b3081:0x143,_0x5c3510:0xc8,_0x37994d:0x254},_0x5eb6f6={_0x305c1e:0x4e};if(!isObject(_0x2d07ce)||_0x2d07ce['type']!=='object')return{'type':_0x2b58fe(_0x40eb0a._0x4b9218,_0x40eb0a._0x509cd6,-_0x40eb0a._0x369237,-0x1c),'properties':{}};const _0x34cf73={},_0x2bf305=isObject(_0x2d07ce['properties'])?_0x2d07ce[_0x2b58fe(-0x91,_0x40eb0a._0x4bb363,-0x92,-0xb7)]:{};for(const [_0x4fdf48,_0x4f6fc7]of Object[_0x2b58fe(_0x40eb0a._0x166477,0x71,_0x40eb0a._0x1d7e8e,-0x9c)](_0x2bf305)){const _0x224e7a=toSupportedSchema(_0x4f6fc7);if(_0x224e7a)_0x34cf73[_0x4fdf48]=_0x224e7a;}function _0x3a650e(_0x50f8cf,_0x5e4366,_0xd21193,_0xabf81e){return _0x5469ba(_0xabf81e,_0x5e4366-0x11e,_0xd21193-0x1ce,_0xd21193-_0x5eb6f6._0x305c1e);}const _0x5b4b06=Array[_0x2b58fe(-_0x40eb0a._0x4395be,-_0x40eb0a._0xba33df,-_0x40eb0a._0x283d50,-0xff)](_0x2d07ce[_0x2b58fe(-0xae,0xaf,_0x40eb0a._0x146c83,-_0x40eb0a._0x5179c8)])?_0x2d07ce[_0x3a650e(_0x40eb0a._0x19f932,_0x40eb0a._0x10e2ea,0x279,_0x40eb0a._0x15379d)][_0x2b58fe(0x8c,_0x40eb0a._0x511428,0xc1,0xbd)](_0x554c50=>typeof _0x554c50==='string'):void 0x0;function _0x2b58fe(_0x104a1f,_0x583c2d,_0x99e7ab,_0x107c9a){return _0x5469ba(_0x583c2d,_0x583c2d-_0x22a2f9._0x2b3081,_0x99e7ab-_0x22a2f9._0x5c3510,_0x107c9a- -_0x22a2f9._0x37994d);}return _0x5b4b06?.[_0x3a650e(_0x40eb0a._0x17b64b,0x317,_0x40eb0a._0x175ccf,_0x40eb0a._0x3d0613)]?{'type':'object','properties':_0x34cf73,'required':_0x5b4b06}:{'type':_0x3a650e(_0x40eb0a._0x507ff2,_0x40eb0a._0xf84335,_0x40eb0a._0x4c317e,0x39b),'properties':_0x34cf73};}function isJsonObject(_0x41b67d){const _0x2899f4={_0x308e04:0x1f0,_0x53e53a:0x38,_0x4b4919:0xca},_0x4bd859={_0x457ff4:0xa8,_0xb017b:0xc,_0xaa2817:0x272},_0x1ab707={_0x301d00:0x3c};function _0x40972b(_0x1de447,_0x114b81,_0x195c08,_0x52502a){return _0x5469ba(_0x114b81,_0x114b81-_0x1ab707._0x301d00,_0x195c08-0x1e9,_0x52502a- -0x1e6);}function _0x175260(_0x3714b3,_0x26cc2d,_0x38dfde,_0x450bc2){return _0x5469ba(_0x3714b3,_0x26cc2d-_0x4bd859._0x457ff4,_0x38dfde-_0x4bd859._0xb017b,_0x26cc2d- -_0x4bd859._0xaa2817);}return typeof _0x41b67d===_0x40972b(_0x2899f4._0x308e04,-_0x2899f4._0x53e53a,-_0x2899f4._0x4b4919,0x52)&&_0x41b67d!==null&&!Array[_0x175260(-0x2c5,-0x11d,-0xef,-0x4c)](_0x41b67d);}function formatMcpContent(_0x1eec37){const _0xc7a966={_0x510180:0xd0,_0x340f07:0x1ff,_0x5e0ac7:0xd3,_0x32c83f:0x130,_0x2613ff:0x74,_0x2031ca:0x7,_0x42d494:0x11e,_0x9b185b:0x131,_0x58d681:0x8c,_0x5ae690:0x24c,_0x31feb5:0x18a,_0x3f602e:0x293,_0x881d7:0x150,_0x90594d:0x54,_0x622726:0x1b6,_0x29a7d0:0x209},_0x31b159={_0x14a7d2:0x1d,_0x238d7a:0x294},_0x4e2b25={_0xd76a0f:0x18b},_0x558137={_0x1b9aa3:0x70e,_0x17144e:0x8a8,_0xeafa6b:0x621,_0x3de460:0x5b4,_0x509677:0x810,_0x15e353:0x65f,_0x576170:0x559,_0x3cf841:0x53b},_0x521642={_0x9a16a9:0xb2,_0x2fb902:0x49f},_0x163380=Array['isArray'](_0x1eec37[_0x258a05(_0xc7a966._0x510180,-0x9e,-_0xc7a966._0x340f07,_0xc7a966._0x5e0ac7)])?_0x1eec37['content']:[],_0x294b32=_0x163380[_0x258a05(-0x244,-_0xc7a966._0x32c83f,_0xc7a966._0x2613ff,-_0xc7a966._0x2031ca)](_0x31b308=>{function _0x1a2fa5(_0x326747,_0x39fefb,_0x3f7542,_0x8417d4){return _0x258a05(_0x326747,_0x8417d4-0x545,_0x3f7542-0x4d,_0x8417d4-0x5a);}if(!isObject(_0x31b308))return'';function _0x59068d(_0x1aa701,_0x1d9b41,_0xab8bba,_0x43c973){return _0x3d4ac8(_0x1aa701-_0x521642._0x9a16a9,_0x1d9b41-0xc,_0x1aa701-_0x521642._0x2fb902,_0xab8bba);}if(_0x31b308[_0x59068d(_0x558137._0x1b9aa3,_0x558137._0x17144e,0x833,0x88e)]==='text'&&typeof _0x31b308[_0x1a2fa5(_0x558137._0xeafa6b,_0x558137._0x3de460,_0x558137._0x509677,_0x558137._0x15e353)]==='string')return _0x31b308[_0x1a2fa5(_0x558137._0x576170,0x680,_0x558137._0x3cf841,_0x558137._0x15e353)];return JSON[_0x59068d(0x3f2,0x2b4,0x438,0x2d1)](_0x31b308);})[_0x3d4ac8(_0xc7a966._0x42d494,_0xc7a966._0x9b185b,0x186,_0xc7a966._0x58d681)](_0x34e29a=>_0x34e29a[_0x3d4ac8(0x11f,0x1da,0x150,0xd)]>0x0)[_0x3d4ac8(0x15f,_0xc7a966._0x5ae690,0x26c,0x320)]('\x0a');function _0x3d4ac8(_0x2ab11e,_0xcb1eca,_0x4a5d76,_0x5d838a){return _0x5469ba(_0x5d838a,_0xcb1eca-0x1d3,_0x4a5d76-0x10e,_0x4a5d76- -_0x4e2b25._0xd76a0f);}function _0x258a05(_0x42e06c,_0x3fc9ae,_0x50a7c0,_0x5a062f){return _0x5469ba(_0x42e06c,_0x3fc9ae-0x18b,_0x50a7c0-_0x31b159._0x14a7d2,_0x3fc9ae- -_0x31b159._0x238d7a);}if(_0x294b32[_0x3d4ac8(_0xc7a966._0x31feb5,_0xc7a966._0x3f602e,_0xc7a966._0x881d7,0x2c2)]>0x0)return _0x294b32;return JSON[_0x258a05(-_0xc7a966._0x90594d,-_0xc7a966._0x622726,-0x2bc,-_0xc7a966._0x29a7d0)](_0x1eec37,null,0x2);}function createMcpTool(_0x52e758){const _0x310681={_0x5ae126:0x49a,_0x1d3df2:0x337,_0x521407:0x4fa,_0x1fa0df:0x4f1,_0x25b541:0x375,_0x32458e:0x70f,_0x23b875:0x475,_0x3375fe:0x5d0,_0x47e964:0x26b,_0xe0de47:0x437,_0x292ffe:0x4ac,_0xd2f10e:0x416,_0x508c89:0x2a4,_0x5813d9:0x408,_0x2fbff1:0x495,_0x414a05:0x434,_0x1f4242:0x3e0,_0x193b21:0x435,_0x2ebf27:0x452,_0x38cea7:0x573,_0x153a4a:0x465,_0x3798d4:0x547,_0x49e6d7:0x839,_0x5054f7:0x725,_0x1820bf:0x636},_0x1dee02={_0x4da85c:0x4e3,_0x3fe2d5:0x39f,_0x237377:0x532,_0x4abc2c:0x6b2,_0x514900:0x2a6,_0x1f3b72:0x455,_0x4cfe64:0x2a5,_0x1ab9a2:0x20c,_0x35ddfd:0x11d,_0xdf90eb:0x3ef,_0x120966:0x498,_0x6ba242:0x17a,_0x22df53:0x236,_0x1af64f:0x119,_0x34a5cd:0x129,_0xc0f3dc:0x77,_0x579db7:0xa4,_0xa2f59c:0x23d,_0x16c139:0x171},_0x4fa35c={_0x54f346:0x8c,_0x169f6f:0x9d,_0x31b8c9:0x6},_0x447577={_0x1fce76:0x19c,_0x1f2b4b:0x91},_0xca51a6={_0x18b6c8:0x195},_0x307773={_0x5e3e2b:0x2bd};function _0xd95942(_0x392b9c,_0x13ee01,_0x31f863,_0x15ce1f){return _0x4bfe88(_0x392b9c-_0x307773._0x5e3e2b,_0x13ee01-0x17d,_0x31f863-0xc,_0x31f863);}function _0x3e2c8e(_0x5266e5,_0xa0b91f,_0x36adac,_0x523bc9){return _0x4bfe88(_0x36adac-0x1e4,_0xa0b91f-_0xca51a6._0x18b6c8,_0x36adac-0x66,_0x523bc9);}const _0x134471=createMcpToolName(_0x52e758[_0x3e2c8e(0x505,0x412,_0x310681._0x5ae126,_0x310681._0x1d3df2)],_0x52e758['tool'][_0xd95942(_0x310681._0x521407,0x463,_0x310681._0x1fa0df,_0x310681._0x25b541)]);return defineTool({'name':_0x134471,'permissionClass':_0x52e758[_0x3e2c8e(0x63c,_0x310681._0x32458e,0x600,_0x310681._0x23b875)],..._0x52e758['internalLifecycle']!==void 0x0?{'internalLifecycle':_0x52e758[_0xd95942(0x431,0x3fa,0x447,_0x310681._0x3375fe)]}:{},'description':_0x52e758[_0x3e2c8e(_0x310681._0x47e964,0x2f7,0x408,_0x310681._0xe0de47)][_0xd95942(_0x310681._0x292ffe,0x33b,_0x310681._0xd2f10e,0x564)]??_0xd95942(0x5c0,0x6a4,0x568,0x4bc)+_0x52e758[_0x3e2c8e(_0x310681._0x508c89,0x3a5,_0x310681._0x5813d9,_0x310681._0x2fbff1)][_0xd95942(0x4fa,_0x310681._0x414a05,0x655,_0x310681._0x1f4242)]+_0x3e2c8e(0x48d,_0x310681._0x193b21,0x4e9,_0x310681._0x2ebf27)+_0x52e758[_0xd95942(_0x310681._0x38cea7,_0x310681._0x153a4a,_0x310681._0xe0de47,_0x310681._0x3798d4)],'inputSchema':toNuvinToolSchema(_0x52e758[_0xd95942(0x4e1,0x67d,0x4a8,0x4f9)][_0x3e2c8e(_0x310681._0x49e6d7,_0x310681._0x5054f7,0x6b2,_0x310681._0x1820bf)]),async *'execute'(_0x1b2b6d){function _0x368f28(_0x3b0337,_0x2eddfd,_0x2ad3aa,_0x3a8618){return _0x3e2c8e(_0x3b0337-_0x447577._0x1fce76,_0x2eddfd-_0x447577._0x1f2b4b,_0x2ad3aa- -0x53e,_0x3a8618);}let _0x1b3fb5;try{_0x1b3fb5=await _0x52e758[_0x19d52d(0x3dd,_0x1dee02._0x4da85c,_0x1dee02._0x3fe2d5,0x348)][_0x19d52d(_0x1dee02._0x237377,0x78f,_0x1dee02._0x4abc2c,0x71f)]({'name':_0x52e758[_0x19d52d(0x543,_0x1dee02._0x514900,_0x1dee02._0x1f3b72,_0x1dee02._0x4cfe64)][_0x368f28(-0x9e,-_0x1dee02._0x1ab9a2,-_0x1dee02._0x35ddfd,-0xe9)],'arguments':isJsonObject(_0x1b2b6d)?_0x1b2b6d:{}});if(_0x1b3fb5[_0x19d52d(0x657,_0x1dee02._0xdf90eb,0x551,_0x1dee02._0x120966)])throw toMcpSafeError({'serverName':_0x52e758[_0x368f28(-0x1bc,-_0x1dee02._0x6ba242,-0xa4,-_0x1dee02._0x22df53)],'operation':_0x368f28(_0x1dee02._0x1af64f,-0x67,-0x77,0x10f),'error':_0x1b3fb5});}catch(_0x21a8f1){throw extractOwnedMcpSafeError(_0x21a8f1)??toMcpSafeError({'serverName':_0x52e758['serverName'],'operation':_0x368f28(0x69,_0x1dee02._0x34a5cd,-_0x1dee02._0xc0f3dc,-0x79),'error':_0x21a8f1});}yield createToolOutput(formatMcpContent(_0x1b3fb5),{'serverName':_0x52e758[_0x368f28(0xf2,0xc9,-_0x1dee02._0x579db7,-0x1c3)],'toolName':_0x52e758['tool'][_0x368f28(-_0x1dee02._0xa2f59c,-0x118,-0x11d,-_0x1dee02._0x16c139)],'result':_0x1b3fb5});function _0x19d52d(_0xc9d9f,_0x6a9e06,_0x504c00,_0x43f911){return _0xd95942(_0x504c00- -_0x4fa35c._0x54f346,_0x6a9e06-_0x4fa35c._0x169f6f,_0xc9d9f,_0x43f911-_0x4fa35c._0x31b8c9);}return void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x4fb258){let _0xbadabf=_0x4fb258;return{'get'(){return _0xbadabf;},'set'(_0x11f1f4){_0xbadabf=_0x11f1f4;}};}function resolveMcpTimeoutMs(_0x5d23c3,_0x68ef31){const _0x23b319={_0x2be73d:0x1e2},_0x15d190={_0x239553:0xa2,_0x35a36e:0xb2,_0x5f0f77:0x131};function _0x51f657(_0x372b62,_0x3bc17b,_0x406ff0,_0x58a7f6){return _0x5469ba(_0x406ff0,_0x3bc17b-_0x15d190._0x239553,_0x406ff0-_0x15d190._0x35a36e,_0x58a7f6- -_0x15d190._0x5f0f77);}return _0x5d23c3[_0x51f657(_0x23b319._0x2be73d,0x1b2,-0xd2,0xb6)]??_0x68ef31??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x23902f,_0x155461){const _0x5eefc2={_0x4c92f1:0x41e,_0x5c5fcd:0x30b},_0x473fc2={_0x3aabbc:0x2c2};function _0x1e910a(_0x3d27ce,_0x25265,_0x11c3c1,_0x2c9e21){return _0x4bfe88(_0x11c3c1-_0x473fc2._0x3aabbc,_0x25265-0x197,_0x11c3c1-0x1b3,_0x2c9e21);}return(_0x155461?extractOwnedMcpSafeError(_0x23902f[_0x1e910a(_0x5eefc2._0x4c92f1,0x3e8,0x484,_0x5eefc2._0x5c5fcd)]):void 0x0)??createOwnedMcpSafeError(_0x23902f);}function createMcpGenerationLifecycle(_0x440ffc){const _0x5a1606={_0x369aca:0xa4,_0xf14e76:0x1b6,_0x275397:0x1a5},_0xf41da5={_0xa96eee:0x1fe,_0x6e12ae:0x28f,_0x1b107b:0x317,_0x538272:0x283};let _0x570d6f=0x0,_0x2c29d6=![],_0x4fa213=![],_0x3c633e,_0xf33dbd,_0x48dae7;const _0x464ebb=()=>{const _0x3f8263={_0x49ad79:0x9};function _0x493057(_0x20df40,_0x1f9cc0,_0x129b3d,_0x21c223){return _0x5bda(_0x20df40- -_0x3f8263._0x49ad79,_0x129b3d);}function _0x4d4220(_0x2e5ba2,_0x2f556d,_0x2b8d61,_0x208a8e){return _0x5bda(_0x208a8e-0x14,_0x2b8d61);}if(!_0x2c29d6||_0x570d6f!==0x0||_0x4fa213)return;_0x4fa213=!![],void Promise[_0x493057(0x2e0,0x223,0x38a,0x28b)]()[_0x493057(_0xf41da5._0xa96eee,0x25b,_0xf41da5._0x6e12ae,_0xf41da5._0x1b107b)](_0x440ffc)[_0x493057(0x1fe,_0xf41da5._0x538272,0x2ed,0x10b)](_0xf33dbd,_0x48dae7);};return{'acquire'(){if(_0x2c29d6)throw new Error(_0x53357b(-0x8a,-_0x5a1606._0x369aca,-_0x5a1606._0xf14e76,-_0x5a1606._0x275397));_0x570d6f+=0x1;function _0x53357b(_0x192965,_0x50b223,_0x27ee59,_0x32d0c6){return _0x5bda(_0x192965- -0x33b,_0x27ee59);}let _0x15c7ab=![];return()=>{if(_0x15c7ab)return;_0x15c7ab=!![],_0x570d6f-=0x1,_0x464ebb();};},'retire'(){return!_0x3c633e&&(_0x3c633e=new Promise((_0x447ee8,_0x59ee88)=>{_0xf33dbd=_0x447ee8,_0x48dae7=_0x59ee88;})),_0x2c29d6=!![],_0x464ebb(),_0x3c633e;}};}function buildMcpHttpHeaders(_0x1b0d09){const _0x4fa907={_0x4fcda3:0x4be,_0x5ee95c:0x3a2,_0x3cdc8b:0x1ac,_0x442380:0x1bb,_0x3d7c8e:0x3e5,_0x52e6a4:0x2ab,_0x2207d2:0x261,_0x3a0fb0:0x1e5,_0x2eeab9:0x1ae,_0xad0302:0x3b8,_0x5034a8:0x19d,_0x2a845e:0x273,_0x16ea29:0x3c3,_0xcb0e4f:0x2a8},_0x220c3c={_0x28b17e:0xd},_0x59e602={_0x3ddbca:0xf6,_0x451990:0x1ad},_0x279d11={..._0x1b0d09[_0x4547fb(0x43d,_0x4fa907._0x4fcda3,_0x4fa907._0x5ee95c,0x37e)]??{}};function _0x536df4(_0x4e5088,_0x76ea2a,_0x508847,_0x5e291e){return _0x4bfe88(_0x4e5088- -_0x59e602._0x3ddbca,_0x76ea2a-0x105,_0x508847-_0x59e602._0x451990,_0x508847);}function _0x4547fb(_0x3abcf8,_0x1dd763,_0x1268a4,_0x5b5f84){return _0x5469ba(_0x1dd763,_0x1dd763-0x25,_0x1268a4-_0x220c3c._0x28b17e,_0x3abcf8-0xcc);}return _0x1b0d09['auth']?.['type']===_0x536df4(0x255,_0x4fa907._0x3cdc8b,_0x4fa907._0x442380,0x1be)&&_0x1b0d09[_0x536df4(0x1f5,0x4f,0x30e,0x298)]['token']&&_0x279d11[_0x536df4(0x261,_0x4fa907._0x3d7c8e,_0x4fa907._0x52e6a4,0x2b7)]===void 0x0&&(_0x279d11[_0x536df4(_0x4fa907._0x2207d2,0x2bb,_0x4fa907._0x3a0fb0,0x334)]=_0x4547fb(0x228,_0x4fa907._0x2eeab9,0x1d5,_0x4fa907._0xad0302)+_0x1b0d09[_0x4547fb(0x2f4,0x451,0x319,0x161)][_0x536df4(0x334,0x4a6,_0x4fa907._0x5034a8,_0x4fa907._0x2a845e)]),Object[_0x4547fb(0x413,0x393,0x2bb,_0x4fa907._0x16ea29)](_0x279d11)[_0x536df4(_0x4fa907._0xcb0e4f,0x22f,0x2c3,_0x4fa907._0x2a845e)]>0x0?_0x279d11:void 0x0;}async function connectMcpServer(_0x14d7fe,_0x5c41d9,_0x526dd2){const _0x132a74={_0x3cd7c7:0x1e4,_0x229b4f:0x27,_0x1b40fc:0x18f,_0x38f311:0xbe,_0x451c8b:0x1e0,_0x5e3a9b:0xf4,_0x3c5845:0x25f,_0x885328:0x1be,_0x279b65:0x20d,_0x4c4588:0x2ca,_0x1ef01c:0x227,_0x21f92e:0x11a,_0x4b43e3:0xe,_0x197842:0x94,_0x397332:0xa,_0x207c14:0xc4,_0x5bbe16:0xfa,_0x2ce486:0x16f,_0x312943:0x1ac,_0x3ecac1:0x240,_0x14bfd0:0x110,_0x2044de:0x304,_0x54a67a:0x339,_0x10b517:0x45b,_0xf53cb1:0x4a4,_0x50d376:0x2bd,_0x4519fc:0x1f3,_0x2a6d6c:0x26,_0x1569e5:0x4,_0x563cc3:0x216,_0x25526c:0x1e6,_0x5ac12:0x169,_0x4599c2:0x106,_0x50b07d:0xb5,_0x48007b:0x2c,_0x475287:0x13c,_0x466ea8:0x1d6,_0x4a5df2:0xa,_0x120836:0x377,_0x3d42c5:0x450,_0x3b1f92:0x26d,_0x145476:0x2fb,_0x521cfd:0x223,_0x3ec782:0x2e8,_0x3ee1af:0x1b5,_0x29a9bc:0x4,_0x3f32a7:0x95,_0x4a7a85:0x45f,_0x3863b5:0xc9,_0x117555:0xde,_0x2de856:0x401,_0x4673f3:0x332,_0x879273:0x1de,_0x1f3b1c:0x236,_0x41d5f5:0x1c2,_0x3b66a2:0xa5,_0x22fba1:0x8d,_0x29c1e5:0x4d,_0x10f0f7:0x317,_0x211242:0x3e5,_0x1c2c54:0x231,_0x278c19:0x17f,_0xc67439:0x237,_0x47d8a8:0xd2,_0x4c81e6:0xf,_0x1a26cb:0x41},_0xe96711={_0x286819:0x3d4,_0x2c9d19:0x2a8,_0x4059f5:0x2e9,_0x1fec1e:0x25b,_0x29f520:0x320,_0x40bdd3:0x20a,_0x3c9041:0x380,_0x5aba72:0x20a,_0x5c632c:0x52},_0x50a1f0={_0x1c5271:0x175,_0x4c5590:0x102},_0x424356={_0x18458f:0x13},_0x22b11f={_0x34a3fb:0x19,_0x44b74a:0x197,_0x57afba:0x1f1},_0x3fd728={_0x3bd543:0x3ea},_0x51af4c={_0x346907:0x7a},_0x42691f={_0x436e23:0x11,_0x33d93d:0xda},_0x5de950={_0x39c277:0x428,_0x5280c9:0x59a,_0xe9b703:0x149,_0xed215d:0x2c,_0x6f9e8e:0x1e1,_0x1bdb55:0x6b8,_0x490afc:0x5fa,_0x44a287:0x68f},_0x465570={_0x299e44:0x38d,_0x118793:0x153},_0x269134={_0x58c184:0x1a8},_0x585969={_0x21b9d9:0x1c6,_0x3a9450:0x1f1,_0x56afcb:0xfe,_0xa6b8fc:0x35,_0x1017e8:0x55,_0x218cba:0x166,_0x404e73:0x13a,_0x3d6e0d:0x14a,_0x44ab26:0xb6},_0x1e6b70={_0x47803c:0x2a,_0xfe5cde:0x3c},_0x3333e6={_0x2b5ad2:0x179},_0x2436ec={_0x104308:0x13,_0x5b9f79:0x12},_0x4e9033=new Client({'name':_0x39d877(-_0x132a74._0x3cd7c7,-0x29,_0x132a74._0x229b4f,-_0x132a74._0x1b40fc),'version':_0x109f2f(0x153,0x154,0x124,0x2da)}),_0x1c9f51=_0x526dd2?.[_0x109f2f(_0x132a74._0x38f311,_0x132a74._0x451c8b,-_0x132a74._0x5e3a9b,0x24b)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x220182=new Set();function _0x109f2f(_0x299c1a,_0x55c1b3,_0x5d49e6,_0x1819ce){return _0x5469ba(_0x55c1b3,_0x55c1b3-_0x2436ec._0x104308,_0x5d49e6-0x180,_0x299c1a- -_0x2436ec._0x5b9f79);}function _0x39d877(_0x259452,_0x4fee5e,_0x37bc93,_0x1226f4){return _0x4bfe88(_0x1226f4- -0x4c1,_0x4fee5e-_0x3333e6._0x2b5ad2,_0x37bc93-0x1bf,_0x4fee5e);}let _0x552617,_0x2fddad=![];const _0x4ee93d=()=>{const _0x4ef1bd={_0x1bd414:0x39c,_0x2ba65c:0x74};if(_0x2fddad||_0x552617)return;_0x552617={'code':'mcp-transport-error','cause':new Error(_0x57ed7a(-0x30,-_0x1e6b70._0x47803c,-0x7e,_0x1e6b70._0xfe5cde))};function _0x57ed7a(_0x43cf6c,_0x19c729,_0x22147b,_0x56b8ec){return _0x109f2f(_0x43cf6c- -_0x4ef1bd._0x1bd414,_0x56b8ec,_0x22147b-0x1e,_0x56b8ec-_0x4ef1bd._0x2ba65c);}for(const _0x1aaf61 of _0x220182){try{_0x1aaf61(_0x552617);}catch{}}};_0x4e9033[_0x109f2f(_0x132a74._0x3c5845,0x3c1,0x395,0x3a1)]=()=>{const _0x26bb89={_0x28cc32:0x199},_0x21d44a={_0x487046:0x1ea,_0x4d720f:0x135};function _0xf7bb6b(_0x579630,_0x1857c6,_0x56fd96,_0x5c0ddb){return _0x39d877(_0x579630-_0x21d44a._0x487046,_0x5c0ddb,_0x56fd96-_0x21d44a._0x4d720f,_0x1857c6-0x12f);}function _0x261184(_0x5eedaf,_0x5dd3fc,_0x26514c,_0x118913){return _0x109f2f(_0x118913-0x1d1,_0x5dd3fc,_0x26514c-0x2,_0x118913-_0x26bb89._0x28cc32);}console[_0xf7bb6b(-_0x585969._0x21b9d9,-0xe4,-_0x585969._0x3a9450,-0x135)](_0xf7bb6b(_0x585969._0x56afcb,-_0x585969._0xa6b8fc,_0x585969._0x1017e8,-_0x585969._0x218cba),{'server':_0x14d7fe,'code':_0xf7bb6b(-_0x585969._0x404e73,0x10,_0x585969._0x3d6e0d,_0x585969._0x44ab26)});},_0x4e9033[_0x109f2f(_0x132a74._0x885328,0x29b,_0x132a74._0x279b65,0xc1)]=_0x4ee93d;try{if(_0x5c41d9[_0x39d877(-0x18e,-0x330,-_0x132a74._0x4c4588,-_0x132a74._0x1ef01c)]===_0x109f2f(0x104,_0x132a74._0x21f92e,-_0x132a74._0x4b43e3,-_0x132a74._0x197842)||_0x5c41d9[_0x39d877(0xf8,0x16b,0x19d,_0x132a74._0x397332)]){if(!_0x5c41d9['url'])throw new Error(_0x39d877(-_0x132a74._0x207c14,-0xe,-0x93,-0xb3)+_0x14d7fe+_0x109f2f(0x22f,0x181,_0x132a74._0x5bbe16,0x19b));if(_0x5c41d9[_0x39d877(-0x2f8,-0x2d5,-0x21d,-0x1d6)]?.['type']===_0x39d877(-_0x132a74._0x2ce486,-0xd4,-0x257,-_0x132a74._0x312943)&&!_0x526dd2?.[_0x109f2f(_0x132a74._0x3ecac1,_0x132a74._0x14bfd0,0xb9,_0x132a74._0x2044de)])throw new Error(_0x109f2f(_0x132a74._0x54a67a,_0x132a74._0x10b517,0x265,0x4df)+_0x14d7fe+_0x39d877(-0x496,-_0x132a74._0xf53cb1,-0x49b,-0x333));const _0x3d7d39=buildMcpHttpHeaders(_0x5c41d9),_0x40a141=_0x5c41d9[_0x39d877(-_0x132a74._0x50d376,-_0x132a74._0x4519fc,-0x223,-0x1d6)]?.[_0x39d877(0x34,_0x132a74._0x2a6d6c,0x116,-_0x132a74._0x1569e5)]==='oauth'&&_0x526dd2?.[_0x109f2f(_0x132a74._0x3ecac1,_0x132a74._0x563cc3,0x103,0xef)]?createMcpOAuthProvider({'serverName':_0x14d7fe,'callbackUrl':_0x526dd2['oauth'][_0x39d877(0xc7,-0x1d7,-0x18,-0x8a)],'storageDir':_0x526dd2[_0x109f2f(0x240,_0x132a74._0x25526c,0x335,_0x132a74._0x5ac12)][_0x39d877(-0x25e,-_0x132a74._0x4599c2,-0x1ad,-_0x132a74._0x50b07d)],'config':_0x5c41d9[_0x39d877(-_0x132a74._0x48007b,-0x2f3,-_0x132a74._0x475287,-_0x132a74._0x466ea8)],'onRedirect':_0x4ac718=>_0x526dd2['oauth']?.['onRedirect'](_0x14d7fe,_0x4ac718)}):void 0x0,_0x31f011=new StreamableHTTPClientTransport(new URL(_0x5c41d9[_0x39d877(0x19d,-0xa9,0x160,_0x132a74._0x4a5df2)]),{'authProvider':_0x40a141,'requestInit':_0x3d7d39?{'headers':_0x3d7d39}:void 0x0});await _0x4e9033[_0x109f2f(0x3f8,0x443,_0x132a74._0x120836,_0x132a74._0x3d42c5)](_0x31f011,{'timeout':_0x1c9f51[_0x109f2f(_0x132a74._0x3b1f92,_0x132a74._0x145476,0x3a3,_0x132a74._0x521cfd)](),..._0x526dd2?.[_0x39d877(-0x278,-0x33d,-_0x132a74._0x3ec782,-_0x132a74._0x3ee1af)]!==void 0x0?{'signal':_0x526dd2[_0x39d877(0x2,-_0x132a74._0x29a9bc,-_0x132a74._0x3f32a7,-0x1b5)]}:{}});}else{if(!_0x5c41d9[_0x109f2f(0x33c,0x2c2,0x247,_0x132a74._0x4a7a85)])throw new Error(_0x39d877(-_0x132a74._0x3863b5,-0x185,_0x132a74._0x117555,-0xb3)+_0x14d7fe+_0x109f2f(0x324,_0x132a74._0x2de856,0x296,_0x132a74._0x4673f3));const _0x5e1e6a=new StdioClientTransport({'command':_0x5c41d9[_0x39d877(-_0x132a74._0x879273,-0x1c8,0x54,-0xb0)],'args':_0x5c41d9[_0x39d877(-0x1d8,-_0x132a74._0x1f3b1c,-0x218,-_0x132a74._0x41d5f5)]??[],'env':_0x5c41d9['env'],'stderr':_0x109f2f(_0x132a74._0x3b66a2,-_0x132a74._0x22fba1,_0x132a74._0x29c1e5,0x69)});await _0x4e9033[_0x109f2f(0x3f8,0x2d2,_0x132a74._0x10f0f7,_0x132a74._0x211242)](_0x5e1e6a,{'timeout':_0x1c9f51[_0x39d877(-0x57,-0x200,-_0x132a74._0x1c2c54,-_0x132a74._0x278c19)](),..._0x526dd2?.[_0x109f2f(_0x132a74._0xc67439,0x2db,0x264,_0x132a74._0x47d8a8)]!==void 0x0?{'signal':_0x526dd2['signal']}:{}});}}catch(_0x163ebe){throw createOwnedMcpSafeError({'serverName':_0x14d7fe,'operation':_0x39d877(_0x132a74._0x4c81e6,-0x123,-_0x132a74._0x1a26cb,0xc),'error':_0x163ebe});}return{async 'listTools'(_0x381939){function _0xe65428(_0x4f5244,_0x36de04,_0x53b229,_0x309c2e){return _0x109f2f(_0x53b229- -0x20b,_0x4f5244,_0x53b229-0x8d,_0x309c2e-_0x269134._0x58c184);}const _0x466b78=_0x381939?.[_0x1bdcc5(_0x5de950._0x39c277,0x6ba,0x5c4,_0x5de950._0x5280c9)]??_0x526dd2?.[_0xe65428(-0x134,_0x5de950._0xe9b703,_0x5de950._0xed215d,_0x5de950._0x6f9e8e)];function _0x1bdcc5(_0x5276ee,_0x5e642b,_0x1b893c,_0x98e721){return _0x109f2f(_0x1b893c-_0x465570._0x299e44,_0x98e721,_0x1b893c-_0x465570._0x118793,_0x98e721-0x187);}try{return await _0x4e9033['listTools'](void 0x0,{'timeout':_0x1c9f51[_0x1bdcc5(0x4d6,_0x5de950._0x1bdb55,_0x5de950._0x490afc,_0x5de950._0x44a287)](),..._0x466b78!==void 0x0?{'signal':_0x466b78}:{}});}catch(_0x131669){throw createOwnedMcpSafeError({'serverName':_0x14d7fe,'operation':'discover','error':_0x131669});}},'onTerminalError'(_0x483043){const _0x19d0f6={_0x491ff8:0x98,_0x1954a9:0x22c,_0x35fce4:0xad},_0x2322b5={_0x462e35:0x34c,_0x42cc4f:0x16c};_0x220182[_0x1a79ad(0x35d,0x4b4,0x3c0,_0x3fd728._0x3bd543)](_0x483043);function _0xd5262e(_0x1dbeca,_0xfd56e9,_0x16822c,_0x56411b){return _0x39d877(_0x1dbeca-_0x42691f._0x436e23,_0x1dbeca,_0x16822c-_0x42691f._0x33d93d,_0x16822c-0x494);}const _0x482874=_0x552617;_0x482874&&queueMicrotask(()=>{function _0x1743e3(_0x11fc80,_0x372d51,_0x84503,_0x11e7ce){return _0x1a79ad(_0x11e7ce- -_0x2322b5._0x462e35,_0x11fc80,_0x84503-_0x2322b5._0x42cc4f,_0x11e7ce-0x140);}if(_0x220182[_0x1743e3(-_0x19d0f6._0x491ff8,_0x19d0f6._0x1954a9,0x131,_0x19d0f6._0x35fce4)](_0x483043))_0x483043(_0x482874);});function _0x1a79ad(_0x3b318f,_0x435049,_0x138ad5,_0x4c0ed1){return _0x109f2f(_0x3b318f-0x214,_0x435049,_0x138ad5-_0x51af4c._0x346907,_0x4c0ed1-0x1ec);}return()=>_0x220182[_0xd5262e(0x370,0x502,0x3e0,0x463)](_0x483043);},async 'callTool'(_0x1bcc76){const _0x535219={_0x487112:0xbd};function _0x131032(_0x2a3e16,_0x5bea94,_0x7e6503,_0x1e1c80){return _0x39d877(_0x2a3e16-_0x22b11f._0x34a3fb,_0x5bea94,_0x7e6503-_0x22b11f._0x44b74a,_0x2a3e16-_0x22b11f._0x57afba);}function _0x168907(_0x2debe6,_0x3c27f1,_0x8d536f,_0xbac239){return _0x109f2f(_0x2debe6-0xf9,_0x3c27f1,_0x8d536f-0x27,_0xbac239-_0x535219._0x487112);}try{return await _0x4e9033[_0x131032(0x1a4,0x13b,0xcf,0xe7)]({'method':'tools/call','params':_0x1bcc76},CallToolResultSchema,{'timeout':_0x1c9f51['get']()});}catch(_0x38f722){throw createOwnedMcpSafeError({'serverName':_0x14d7fe,'operation':_0x131032(_0x424356._0x18458f,0xba,0x2f,-0x10a),'error':_0x38f722});}},async 'close'(){const _0x3ac445={_0x1b8959:0x165,_0x29bcc4:0x502};_0x2fddad=!![],_0x4e9033[_0x3c74fa(0x221,0x4d6,_0xe96711._0x286819,0x3f6)]=void 0x0;function _0x1dadf2(_0x1364ff,_0x226454,_0x58f3f1,_0x48f044){return _0x39d877(_0x1364ff-_0x3ac445._0x1b8959,_0x58f3f1,_0x58f3f1-0x4,_0x226454-_0x3ac445._0x29bcc4);}function _0x3c74fa(_0x2ac0bd,_0x56d389,_0x3ae558,_0x5a2d02){return _0x109f2f(_0x3ae558-_0x50a1f0._0x1c5271,_0x2ac0bd,_0x3ae558-0x78,_0x5a2d02-_0x50a1f0._0x4c5590);}_0x4e9033['onclose']=void 0x0,_0x220182[_0x3c74fa(_0xe96711._0x2c9d19,0x484,_0xe96711._0x4059f5,_0xe96711._0x1fec1e)]();try{await _0x4e9033[_0x3c74fa(_0xe96711._0x29f520,0x225,_0xe96711._0x40bdd3,0x284)]();}catch(_0x16f8eb){throw createOwnedMcpSafeError({'serverName':_0x14d7fe,'operation':_0x3c74fa(_0xe96711._0x3c9041,0x6b,_0xe96711._0x5aba72,_0xe96711._0x5c632c),'error':_0x16f8eb});}}};}async function createMcpConnectionGeneration(_0x1e9257){const _0x3d68f9={_0x3078ea:0xd2,_0x340d67:0x6f,_0x25b12b:0x127,_0x2235ab:0x404,_0x11dcde:0x505,_0x5efec4:0x99,_0x35721:0x386,_0x487477:0x1d9,_0x42d3de:0x1d4,_0x200de4:0x393,_0x1160b9:0x5ef,_0xd3753f:0x778,_0xd11cbc:0x63e,_0x3fd5a1:0x6d9,_0xef7363:0x3d7,_0x6e1a17:0x55e,_0x1c2952:0x4e1,_0x3cac26:0x497,_0x36942b:0x556,_0x153f4c:0x152,_0x619ca0:0x2c3,_0x6dbcce:0x441,_0x523da0:0x5f7,_0x1afd3c:0x655,_0x59b1da:0x5f2,_0x184bff:0x4ae},_0x5ad496={_0x209cfa:0x4f4,_0x7d3c1f:0x40a,_0x25027:0x3e4},_0x933325={_0x96e565:0xde,_0x422f4d:0x13c,_0x2e0987:0x22a,_0x494d1b:0x33c,_0x4e86b1:0x1ae,_0x431ed0:0x1b1},_0x436c95={_0x14f5f4:0x15},_0x2e61e1={_0x8ab253:0x37d,_0x422cab:0x274,_0x12d9bf:0x293},_0x475222={_0x313e1d:0x176,_0x592ba2:0x48,_0xd9ff89:0x39b},_0x322b57={_0x57a1a8:0x2be,_0x36d175:0x1fe,_0x52b780:0x3d4},_0x114e1e={_0x5acc21:0x116,_0x3fcb95:0x15e},_0x5bfc85={_0x5e2937:0x1d3},_0x505648=_0x1e9257[_0x294cd4(0x1cf,_0x3d68f9._0x3078ea,_0x3d68f9._0x340d67,-_0x3d68f9._0x25b12b)]??connectMcpServer,_0xef76b5=_0x1e9257['connect']===void 0x0,_0x1edad5={..._0x1e9257[_0x38f710(0x2b5,0x452,_0x3d68f9._0x2235ab,_0x3d68f9._0x11dcde)],'timeoutSource':_0x1e9257['timeoutSource'],..._0x1e9257[_0x294cd4(-0x29d,-0x266,-0x152,-_0x3d68f9._0x5efec4)]!==void 0x0?{'signal':_0x1e9257['signal']}:{}};let _0x2f4a17;try{_0x2f4a17=await _0x505648(_0x1e9257['serverName'],_0x1e9257[_0x294cd4(-_0x3d68f9._0x35721,-_0x3d68f9._0x487477,-_0x3d68f9._0x42d3de,-0x375)],_0x1edad5);}catch(_0x597a97){throw mapOwnedMcpBoundaryError({'serverName':_0x1e9257[_0x38f710(_0x3d68f9._0x200de4,_0x3d68f9._0x1160b9,0x441,0x5da)],'operation':_0x38f710(_0x3d68f9._0xd3753f,0x627,0x658,0x4c6),'error':_0x597a97},_0xef76b5);}const _0x468155=new Set();function _0x38f710(_0x330cdf,_0x3a7518,_0x1e74ad,_0x24f6de){return _0x4bfe88(_0x1e74ad-0x18b,_0x3a7518-0x99,_0x1e74ad-_0x5bfc85._0x5e2937,_0x3a7518);}let _0x290f8f;const _0x326572=_0x2f4a17[_0x38f710(0x592,0x55b,_0x3d68f9._0xd11cbc,_0x3d68f9._0x3fd5a1)]?.(_0x3fa79a=>{if(_0x290f8f)return;_0x290f8f=_0x3fa79a;for(const _0x3b8a87 of _0x468155)_0x3b8a87(_0x3fa79a);});let _0x230787=![];const _0x350bb6=()=>{if(_0x230787)return;_0x230787=!![],_0x468155[_0x36b82b(0x3c3,_0x322b57._0x57a1a8,_0x322b57._0x36d175,_0x322b57._0x52b780)]();function _0x36b82b(_0x1f00ba,_0x3b1592,_0xcef66a,_0x4a0a63){return _0x38f710(_0x1f00ba-0x15f,_0xcef66a,_0x3b1592- -_0x114e1e._0x5acc21,_0x4a0a63-_0x114e1e._0x3fcb95);}_0x326572?.();};let _0x5763f1;try{_0x5763f1=await _0x2f4a17[_0x38f710(0x61b,_0x3d68f9._0xef7363,_0x3d68f9._0x6e1a17,_0x3d68f9._0x1c2952)](_0x1e9257[_0x38f710(0x4b2,0x4bc,_0x3d68f9._0x3cac26,_0x3d68f9._0x36942b)]!==void 0x0?{'signal':_0x1e9257[_0x294cd4(-0x159,-0x109,-_0x3d68f9._0x153f4c,-0x255)]}:void 0x0);}catch(_0x4f29f0){const _0x766212=mapOwnedMcpBoundaryError({'serverName':_0x1e9257[_0x38f710(0x35d,_0x3d68f9._0x619ca0,_0x3d68f9._0x6dbcce,_0x3d68f9._0x523da0)],'operation':_0x38f710(0x5e6,0x763,0x601,_0x3d68f9._0x1afd3c),'error':_0x4f29f0},_0xef76b5);_0x350bb6();try{await _0x2f4a17['close']();}catch{}throw _0x766212;}function _0x294cd4(_0x4e0364,_0xc7918c,_0x5ab91a,_0x4e9a39){return _0x5469ba(_0x4e0364,_0xc7918c-_0x475222._0x313e1d,_0x5ab91a-_0x475222._0x592ba2,_0x5ab91a- -_0x475222._0xd9ff89);}const _0x2751ac=[..._0x5763f1[_0x38f710(_0x3d68f9._0x59b1da,_0x3d68f9._0x184bff,0x579,0x506)]],_0x588436={async 'callTool'(_0x1310ad){const _0x540b6c={_0x4aa2e0:0xa5,_0x38b12f:0x11c};function _0x41d4bb(_0x2943d5,_0x12387e,_0x3abec1,_0x5c6465){return _0x38f710(_0x2943d5-_0x540b6c._0x4aa2e0,_0x3abec1,_0x5c6465- -0x1db,_0x5c6465-_0x540b6c._0x38b12f);}try{return await _0x2f4a17['callTool'](_0x1310ad);}catch(_0x413d9e){throw mapOwnedMcpBoundaryError({'serverName':_0x1e9257['serverName'],'operation':_0x41d4bb(_0x2e61e1._0x8ab253,0xef,_0x2e61e1._0x422cab,_0x2e61e1._0x12d9bf),'error':_0x413d9e},_0xef76b5);}}},_0xa49530=createMcpGenerationLifecycle(async()=>{const _0x590d91={_0x370d6a:0x16e};function _0x2e959c(_0x5d3a6a,_0x4885b3,_0x53de42,_0x9fbbd){return _0x294cd4(_0x53de42,_0x4885b3-0x16d,_0x9fbbd-0x2d0,_0x9fbbd-_0x436c95._0x14f5f4);}function _0x531216(_0x588016,_0x329eee,_0x4703f4,_0x39bd7a){return _0x38f710(_0x588016-0x17c,_0x329eee,_0x588016- -0x217,_0x39bd7a-_0x590d91._0x370d6a);}_0x350bb6();try{await _0x2f4a17[_0x531216(_0x933325._0x96e565,0x6,_0x933325._0x422f4d,0x1b6)]();}catch(_0x3ba7e0){throw mapOwnedMcpBoundaryError({'serverName':_0x1e9257[_0x531216(_0x933325._0x2e0987,_0x933325._0x494d1b,_0x933325._0x4e86b1,_0x933325._0x431ed0)],'operation':'close','error':_0x3ba7e0},_0xef76b5);}});return{'client':_0x2f4a17,'descriptors':_0x2751ac,'lifecycle':_0xa49530,'projectTools'(_0x45c465){return projectMcpTools({..._0x45c465,'descriptors':_0x2751ac,'client':_0x588436,'lifecycle':_0xa49530});},'onTerminalError'(_0x9eea1a){const _0x27f3b4={_0x5528ef:0x2ed,_0x283a31:0xa3};if(_0x230787)return()=>{};_0x468155['add'](_0x9eea1a);const _0x5e53d3=_0x290f8f;_0x5e53d3&&queueMicrotask(()=>{function _0x50826e(_0x4a6168,_0x5c5aca,_0xf51436,_0x355ef6){return _0x5bda(_0x4a6168-0x333,_0x355ef6);}if(_0x468155[_0x50826e(_0x5ad496._0x209cfa,_0x5ad496._0x7d3c1f,_0x5ad496._0x25027,0x48e)](_0x9eea1a))_0x9eea1a(_0x5e53d3);});function _0x228703(_0xdcc9b3,_0x53d812,_0x4168b0,_0x8277a7){return _0x294cd4(_0x8277a7,_0x53d812-0x148,_0xdcc9b3-_0x27f3b4._0x5528ef,_0x8277a7-_0x27f3b4._0x283a31);}return()=>_0x468155[_0x228703(0x29c,0x26e,0x20b,0x199)](_0x9eea1a);},'retire'(){return _0x350bb6(),_0xa49530['retire']();}};}function getCommand(_0x435ae9){const _0x215d24={_0x1439ad:0x99,_0x1564a6:0x59,_0x15b302:0x115,_0x3d5a3f:0xe1,_0x17f633:0x226},_0x25f4cd={_0x253769:0x193},_0x56e77c={_0x1f2f2a:0x116,_0x1ded58:0xcc};if(_0x435ae9&&typeof _0x435ae9===_0x14c6e4(-0x207,-_0x215d24._0x1439ad,_0x215d24._0x1564a6,-_0x215d24._0x15b302)&&!Array[_0x14c6e4(-0xf3,-0x17c,-0x1e3,-0xdf)](_0x435ae9)&&typeof _0x435ae9['command']===_0x3d4ebe(-0x8e,_0x215d24._0x3d5a3f,-0x70,-0x54))return _0x435ae9[_0x14c6e4(0x94,0x7d,_0x215d24._0x17f633,0x65)];function _0x3d4ebe(_0x42dbee,_0x1fd209,_0x125b94,_0x2b777a){return _0x4bfe88(_0x2b777a- -0x287,_0x1fd209-_0x56e77c._0x1f2f2a,_0x125b94-_0x56e77c._0x1ded58,_0x42dbee);}function _0x14c6e4(_0x36332a,_0x529b7d,_0x535aee,_0x4d886e){return _0x4bfe88(_0x529b7d- -0x394,_0x529b7d-0x1c9,_0x535aee-_0x25f4cd._0x253769,_0x535aee);}return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=[_0x4bfe88(0x1f2,0x39e,0x386,0x270),_0x5469ba(0x133,0x351,0x310,0x245),'docs/plans/2026-04-16-public-tools-api-implementation.md',_0x4bfe88(0x1e7,0x2ef,0x150,0xc7),_0x4bfe88(0x1d5,0x69,0x28a,0x313),_0x5469ba(0xf5,0xbb,0x5a,0xf8),_0x5469ba(0x1a4,0x491,0x3ac,0x2ee),'src/agent/extension-registry.ts',_0x4bfe88(0x3cf,0x2f7,0x4ac,0x3a4),_0x5469ba(0x429,0x52e,0x422,0x398),_0x5469ba(0x323,0x52c,0x487,0x3d6),'src/agent/turn-engine.ts',_0x5469ba(-0x22,0xa1,0x234,0xce),_0x4bfe88(0x2c4,0x328,0x14e,0x245),'src/models/anthropic-model.ts','src/formats/provider-adapters.test.ts',_0x5469ba(0x3e2,0x371,0x15e,0x28c)][_0x4bfe88(0x4ba,0x317,0x5b3,0x417)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x4bfe88(0x2ce,0x1b8,0x481,0x2cc),'description':_0x5469ba(0x209,0x1fa,0x2d9,0x126),'input_schema':{'type':'object','properties':{'command':{'type':_0x4bfe88(0x233,0x38b,0x2ab,0x27d)}},'required':['command']}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x16d522){return{'output':_0x16d522,'structured':{'value':_0x16d522}};}function createUnknownToolResult(_0x4314e8){const _0x41cbb5={_0x1ec00e:0x189,_0x1df8a1:0x84,_0x35a4c0:0x68,_0x3e54db:0xc4,_0xd446b2:0x147,_0x2f97a6:0x119,_0x13ebd0:0x4e,_0x12a957:0x1d7,_0x57a397:0x23},_0x10d5a2={_0xf71c09:0x123,_0x2e813f:0x139,_0x517c83:0x112},_0x271fec={_0x36ed55:0x3be};function _0x4bcb6e(_0x270c81,_0x112535,_0x381793,_0x482f36){return _0x4bfe88(_0x381793- -_0x271fec._0x36ed55,_0x112535-0x17e,_0x381793-0xdd,_0x112535);}function _0xb9a880(_0x11c771,_0x54b889,_0x56213a,_0x1ae512){return _0x5469ba(_0x54b889,_0x54b889-_0x10d5a2._0xf71c09,_0x56213a-_0x10d5a2._0x2e813f,_0x56213a- -_0x10d5a2._0x517c83);}return{'callId':_0x4314e8['id'],'toolName':_0x4314e8[_0xb9a880(_0x41cbb5._0x1ec00e,-_0x41cbb5._0x1df8a1,_0x41cbb5._0x35a4c0,-_0x41cbb5._0x3e54db)],'status':'error','output':_0x4bcb6e(-_0x41cbb5._0xd446b2,-0x22e,-_0x41cbb5._0x2f97a6,-_0x41cbb5._0x13ebd0)+_0x4314e8[_0xb9a880(0x153,_0x41cbb5._0x12a957,0x68,_0x41cbb5._0x57a397)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x44c884,_0x17c7a8){const _0x4d9a65={_0x3623d8:0x2dd,_0x1cf0f6:0x345,_0x578725:0x194,_0x29700d:0x1b9,_0x43f5b4:0x114,_0x4e191a:0xd6},_0x193287={_0x5ecb0f:0x407,_0x1c4680:0x153,_0x22ace8:0x115},_0x5a1e22={_0xaa2ef7:0x6f,_0x48fcec:0x333};function _0x28fd0f(_0x3b4669,_0x698227,_0x69da1c,_0xc6f648){return _0x5469ba(_0x3b4669,_0x698227-0x1a8,_0x69da1c-_0x5a1e22._0xaa2ef7,_0xc6f648- -_0x5a1e22._0x48fcec);}function _0x2711b7(_0x562b5e,_0x35ffc9,_0x3073b6,_0x10730b){return _0x4bfe88(_0x35ffc9- -_0x193287._0x5ecb0f,_0x35ffc9-_0x193287._0x1c4680,_0x3073b6-_0x193287._0x22ace8,_0x10730b);}return{'callId':_0x44c884['id'],'toolName':_0x44c884[_0x28fd0f(-_0x4d9a65._0x3623d8,-_0x4d9a65._0x1cf0f6,-_0x4d9a65._0x578725,-_0x4d9a65._0x29700d)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x44c884[_0x28fd0f(-_0x4d9a65._0x43f5b4,_0x4d9a65._0x4e191a,-0x23c,-0x8f)]),'exitCode':0x0},'chunks':[_0x17c7a8],'meta':createMeta()};}function createMockToolRuntime(){const _0x9147f2={_0x1a376c:0x3b7,_0x30509d:0x192,_0x236bf4:0x2ca,_0x4d6657:0x254,_0x3ff254:0x385},_0x33dc6e={_0x50d7f5:0x2ba,_0x24e29f:0x2e5,_0x269619:0xe5,_0x22bfa8:0x23c,_0x27e245:0x17f},_0x401dc0=async(_0x35a393,_0x3b7ead)=>{const _0x5ca096={_0x35f37a:0x354};if(_0x35a393[_0x3f46c1(0x29c,_0x33dc6e._0x50d7f5,_0x33dc6e._0x24e29f,0x3dc)]!==_0x31229f(-_0x33dc6e._0x269619,-0x21b,-_0x33dc6e._0x22bfa8,-_0x33dc6e._0x27e245))return createUnknownToolResult(_0x35a393);function _0x3f46c1(_0x290419,_0x50f71b,_0x392840,_0x1f2d89){return _0x5bda(_0x392840-0x1a1,_0x1f2d89);}const _0x1ab65e=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0x31229f(_0x4cadbf,_0x21ff62,_0x5b7326,_0x3f9ed6){return _0x5bda(_0x3f9ed6- -_0x5ca096._0x35f37a,_0x5b7326);}return createSuccessToolResult(_0x35a393,_0x1ab65e);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x3ceb09,_0x3dbd49){function _0x16ea65(_0x95476e,_0x36cec7,_0x478953,_0x33cfcb){return _0x5bda(_0x478953- -0x3a1,_0x95476e);}function _0xa91ac2(_0x44ecb1,_0x1e2226,_0x8324d6,_0x544be0){return _0x5bda(_0x1e2226-0x106,_0x544be0);}return await Promise[_0x16ea65(-_0x9147f2._0x1a376c,-_0x9147f2._0x30509d,-0x215,-_0x9147f2._0x236bf4)](_0x3ceb09[_0x16ea65(-_0x9147f2._0x4d6657,-0x3ac,-0x273,-_0x9147f2._0x3ff254)](async _0x36e12e=>{return await _0x401dc0(_0x36e12e,_0x3dbd49);}));},async 'execute'(_0x4622e5,_0x23a6be){return await _0x401dc0(_0x4622e5,_0x23a6be);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x1211d7={_0x1d28ec:0x2ba},_0x4fb4f5={_0x419a15:0x17f};function _0x2fb80d(_0x99d3be,_0x5bdb88,_0x14fb8c,_0x5ec8b2){return _0x5469ba(_0x5ec8b2,_0x5bdb88-0x41,_0x14fb8c-_0x4fb4f5._0x419a15,_0x5bdb88-0xb8);}return delegatedRunCounter+=0x1,_0x2fb80d(0x4a4,0x345,0x276,_0x1211d7._0x1d28ec)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x79e190,_0x34a366){const _0x5b7019={_0x23dc2c:0x117,_0x1d06d7:0x8b};function _0x2f349e(_0x279c0f,_0x17ebae,_0x2a6a7f,_0x2654c9){return _0x5469ba(_0x17ebae,_0x17ebae-0x1b1,_0x2a6a7f-0x68,_0x2654c9- -0xe6);}return typeof _0x79e190===_0x2f349e(-0x15,_0x5b7019._0x23dc2c,-_0x5b7019._0x1d06d7,-0x41)?await _0x79e190(_0x34a366):_0x79e190;}function awaitWithAbort2(_0x4eb732,_0x13a7bc){const _0x1ef262={_0x33b9a9:0x43d,_0x1d2f21:0x315,_0x59436d:0x5bb};return throwIfAborted(_0x13a7bc),new Promise((_0x51292b,_0x1878f5)=>{const _0x493083={_0x31c8d5:0x236};let _0x28a83f=![];const _0x1d4e0e=addAbortListener(_0x13a7bc,()=>{if(_0x28a83f)return;_0x28a83f=!![],_0x1878f5(toAbortError(_0x13a7bc['reason']));});function _0x17aca0(_0x596a03,_0x344c2e,_0x1795c5,_0x5ae41d){return _0x5bda(_0x596a03-_0x493083._0x31c8d5,_0x5ae41d);}_0x4eb732[_0x17aca0(_0x1ef262._0x33b9a9,_0x1ef262._0x1d2f21,0x581,_0x1ef262._0x59436d)](_0x5abd39=>{if(_0x28a83f)return;_0x28a83f=!![],_0x1d4e0e(),_0x51292b(_0x5abd39);},_0x27b6ef=>{if(_0x28a83f)return;_0x28a83f=!![],_0x1d4e0e(),_0x1878f5(_0x27b6ef);});});}function getDelegatedAgentDefinition(_0x312b05,_0x102caf){const _0x4d855b={_0x6d0771:0x343},_0x31b404={_0x372fee:0xa3};function _0x3a57cf(_0x335265,_0x18ebec,_0x25825b,_0x5502f5){return _0x5469ba(_0x25825b,_0x18ebec-_0x31b404._0x372fee,_0x25825b-0xa7,_0x5502f5- -0x15e);}return _0x312b05[_0x3a57cf(0x6c,_0x4d855b._0x6d0771,0x297,0x1f5)]?.[_0x102caf];}function createRunSummary(_0x5c32a1){const _0x22b8c8={_0x5af15a:0x75,_0x257a86:0xba,_0x2fb863:0x11b,_0x569fd1:0x45,_0x90e363:0x1ab,_0x4a733f:0x62,_0xc6a4d7:0x90,_0x11ab65:0xf0,_0x277d72:0xfe,_0x47618b:0x1a7,_0x387625:0x1d0,_0x1549f6:0x166,_0x5c9436:0xe1,_0x363ad6:0x159,_0x1042eb:0x1f7,_0x3d8778:0x133,_0x2ac568:0x63,_0x2afb71:0x51,_0x30e44c:0x174,_0x13df0a:0xaa,_0x1a38f1:0x8f,_0x57a0c0:0x21b,_0x4f388e:0x3,_0x5db858:0x3c,_0x1ad7c4:0x18,_0x1e9dc3:0xd5},_0x295b03={_0x54ee29:0xe6},_0x3fcfd2={_0x86abd4:0x99};function _0x1b3af1(_0x5b82ba,_0x1f2e1b,_0x188251,_0x238077){return _0x4bfe88(_0x188251- -0x2ff,_0x1f2e1b-0xdc,_0x188251-_0x3fcfd2._0x86abd4,_0x5b82ba);}function _0x331c7d(_0x3e5ec5,_0x4d18d1,_0x53d031,_0x5c477b){return _0x4bfe88(_0x3e5ec5- -0x221,_0x4d18d1-_0x295b03._0x54ee29,_0x53d031-0x18b,_0x5c477b);}return{'runId':_0x5c32a1['runId'],'agentId':_0x5c32a1[_0x331c7d(_0x22b8c8._0x5af15a,_0x22b8c8._0x257a86,-0xaf,0x12b)],..._0x5c32a1[_0x1b3af1(0xf1,0x59,_0x22b8c8._0x2fb863,0x2a5)]!==void 0x0?{'sessionId':_0x5c32a1[_0x1b3af1(0x16,_0x22b8c8._0x569fd1,_0x22b8c8._0x2fb863,_0x22b8c8._0x90e363)]}:{},'status':_0x5c32a1[_0x331c7d(_0x22b8c8._0x4a733f,-_0x22b8c8._0xc6a4d7,0x6a,-_0x22b8c8._0x11ab65)],'parentSessionId':_0x5c32a1[_0x1b3af1(0x33d,_0x22b8c8._0x277d72,_0x22b8c8._0x47618b,_0x22b8c8._0x387625)],..._0x5c32a1[_0x1b3af1(-_0x22b8c8._0x1549f6,-_0x22b8c8._0x5c9436,-0x131,-0x38)]!==void 0x0?{'originToolCallId':_0x5c32a1[_0x1b3af1(-0x24c,-_0x22b8c8._0x363ad6,-0x131,-_0x22b8c8._0x1042eb)]}:{},..._0x5c32a1['errorMessage']!==void 0x0?{'errorMessage':_0x5c32a1[_0x1b3af1(-0x216,_0x22b8c8._0x3d8778,-_0x22b8c8._0x2ac568,-0x189)]}:{},..._0x5c32a1[_0x331c7d(0xaa,-0xe9,0x1f9,0x145)]?.[_0x331c7d(0x3c,_0x22b8c8._0x2afb71,0x1b1,_0x22b8c8._0x30e44c)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x5c32a1[_0x331c7d(_0x22b8c8._0x13df0a,-_0x22b8c8._0x1a38f1,_0x22b8c8._0x57a0c0,_0x22b8c8._0x4f388e)][_0x331c7d(_0x22b8c8._0x5db858,_0x22b8c8._0x1ad7c4,_0x22b8c8._0x30e44c,_0x22b8c8._0x1e9dc3)])}:{}};}function createRunSummaryOutput(_0x2bc05e,_0x54de59){const _0x188f6b={_0x3ba1ae:0x7b2,_0x34aba8:0x652},_0x519850={_0x519967:0x1c4,_0x4a8388:0x103},_0x1db65c=createRunSummary(_0x2bc05e);function _0x397b89(_0x3666e4,_0x21b056,_0x8582e2,_0x2f6974){return _0x5469ba(_0x3666e4,_0x21b056-_0x519850._0x519967,_0x8582e2-_0x519850._0x4a8388,_0x2f6974-0x391);}const _0x412eef=_0x1db65c[_0x397b89(0x72d,0x50e,_0x188f6b._0x3ba1ae,_0x188f6b._0x34aba8)];return createToolOutput(typeof _0x412eef==='string'&&_0x412eef['length']>0x0?_0x412eef:_0x54de59,_0x1db65c);}function getRunTerminalErrorMessage(_0x16fedb){const _0x5cf49b={_0x15aeca:0x184,_0x41ccfa:0x1f3,_0x1584ec:0x1c9,_0x4d444b:0x124,_0x1e6b06:0x2ee,_0x2f14c1:0xdd,_0x3a24ad:0x389,_0xf47dcb:0x114,_0x1cedeb:0x55,_0x452cd0:0x24,_0x5532ac:0x1e,_0x45afa1:0x10d},_0x2c888c={_0x47831c:0x15d};function _0x4b33ec(_0x5b500d,_0x49636d,_0x58274b,_0xce4ae8){return _0x4bfe88(_0x5b500d- -0x263,_0x49636d-_0x2c888c._0x47831c,_0x58274b-0x107,_0x49636d);}function _0x136bd(_0x4d61dc,_0x35d59c,_0x3f934a,_0x3ceffb){return _0x5469ba(_0x3f934a,_0x35d59c-0x1b7,_0x3f934a-0x12c,_0x3ceffb- -0x3b0);}const _0x5cb03b=_0x16fedb?.[_0x4b33ec(_0x5cf49b._0x15aeca,0x14a,0x209,_0x5cf49b._0x41ccfa)][_0x4b33ec(_0x5cf49b._0x1584ec,_0x5cf49b._0x4d444b,_0x5cf49b._0x1e6b06,0x9c)]['at'](-0x1);if(_0x5cb03b?.[_0x136bd(-0xc7,-_0x5cf49b._0x2f14c1,-_0x5cf49b._0x3a24ad,-0x1f0)]==='error'&&_0x5cb03b[_0x4b33ec(_0x5cf49b._0xf47dcb,0x19f,_0x5cf49b._0x1cedeb,-_0x5cf49b._0x452cd0)][_0x136bd(0x6d,-0x77,0x104,_0x5cf49b._0x5532ac)]()['length']>0x0)return _0x5cb03b[_0x4b33ec(0x114,_0x5cf49b._0x45afa1,-0x7e,-0x96)];return void 0x0;}function formatAbortedRunMessage(_0x3ce60b,_0x3a0aa1){const _0x2413af={_0x1f87f0:0x219,_0x26c667:0x455,_0x179321:0xff,_0x9625dc:0x282,_0x362047:0x305,_0x13610a:0x37b,_0x5478f3:0x212,_0x402173:0x2b8,_0x1f713c:0x198,_0x556ed1:0x2a7},_0xaffdde={_0x5f4c3e:0xf2,_0x4b7f43:0x1a4},_0x33d4d2={_0x2ecf04:0x18c,_0x333d9a:0x134};function _0x127909(_0x5ef871,_0x247b89,_0x1a83bc,_0x10b188){return _0x4bfe88(_0x1a83bc- -_0x33d4d2._0x2ecf04,_0x247b89-_0x33d4d2._0x333d9a,_0x1a83bc-0x10a,_0x247b89);}function _0xaec667(_0x4232ea,_0x2cd84f,_0x237f7e,_0x44084f){return _0x4bfe88(_0x4232ea- -0x1d3,_0x2cd84f-_0xaffdde._0x5f4c3e,_0x237f7e-_0xaffdde._0x4b7f43,_0x44084f);}const _0x40d616=_0x127909(_0x2413af._0x1f87f0,_0x2413af._0x26c667,0x2d2,0x3f6)+_0x3ce60b+_0xaec667(_0x2413af._0x179321,0x1f5,0xda,0x2a4);if(!_0x3a0aa1||_0x3a0aa1[_0x127909(0x481,_0x2413af._0x9625dc,_0x2413af._0x362047,_0x2413af._0x13610a)]()[_0x127909(0x30d,0xe0,_0x2413af._0x5478f3,_0x2413af._0x402173)]===0x0||_0x3a0aa1===_0x40d616)return _0x40d616;return _0x40d616+_0xaec667(_0x2413af._0x1f713c,_0x2413af._0x556ed1,0x1cc,0x126)+_0x3a0aa1;}function createAssignTaskTool(_0x29ebff){const _0x4ef61e={_0x527a9d:0x20,_0x48be70:0x13,_0x38493f:0x17a,_0x6ca274:0x142,_0x277d31:0x154,_0x11309e:0x1d3,_0x4cdf5d:0x21f,_0x52801a:0x46,_0x243c07:0x29b,_0x155dc8:0x368,_0x5272f3:0xaa,_0x534a52:0xdb,_0xc3805c:0x16d,_0x291666:0xb0,_0x1db10f:0x1ac,_0x2ee3fb:0x295,_0x27de63:0x12c,_0x1fb203:0x250,_0x502d38:0x241,_0x4ff29c:0xa0,_0x418217:0x157,_0x32f01d:0x10a,_0x445fec:0xd,_0x26ee04:0x1e5,_0x4552ce:0x2df,_0x2895d7:0x2c3,_0x12940b:0x254},_0x39f7ef={_0x4ea5c1:0xa4,_0x4153c9:0x393,_0x2417b2:0x2b7,_0x54b046:0x162,_0x2d8784:0x2dc,_0x40bf14:0x4ea,_0xe5febc:0x18,_0x5f4026:0x148,_0x1c30dd:0x235,_0x1db873:0x295,_0x1b8f8b:0x2fe,_0x5c02fa:0x1cf,_0x57a746:0x38e,_0x5715d7:0x3e9,_0x191fc9:0x12c,_0x28861b:0xa8,_0x5d370b:0x26e,_0x4a025c:0x34f,_0x101650:0x2f5,_0x5ee3b2:0x306,_0x86e5ae:0x423,_0x5b9004:0x42f,_0xb1c749:0x243,_0x295680:0x1a9,_0x179d30:0x143,_0x4feb75:0x209,_0x315b0a:0x15f,_0x3d4b40:0x374,_0x105be6:0x2b3,_0x570b4b:0x24f,_0x2734ce:0x2e9,_0x1ef23b:0x309,_0x121239:0x29e,_0x160ac3:0x34a,_0x3e98c0:0x33d,_0x193710:0x304,_0x27e739:0x5e2,_0x238bed:0x79,_0x5d94a9:0x4d,_0x5acb59:0x54,_0x29f89:0x52d,_0x2f3d31:0x287,_0x3b56c3:0x10c,_0x4d1f31:0x150,_0x43ad46:0x2c8,_0x599c17:0x133,_0x4f130c:0x292,_0x18be95:0x298,_0x755534:0x27b,_0x34a659:0x2e5,_0xc93cf6:0x3a3,_0x1a1a11:0x3fc,_0x40ffcf:0x374,_0x18015e:0x430,_0x4a8c33:0xa1,_0x5d7ca1:0x1b6,_0x18122f:0x267,_0x561303:0x2d7,_0x509e8f:0x16b,_0x3ec01b:0x31b,_0x154b4d:0x460,_0x16392b:0x65,_0x297bd8:0x519,_0x7d5c70:0x41f,_0x1af3f8:0x513,_0xfb29df:0x50d,_0x412d60:0x507,_0x3212b0:0x34,_0x30586c:0x1f4,_0x1a4f39:0x10d,_0x32d377:0x88,_0x1e7222:0x319,_0x5e114e:0x267,_0x894037:0x471,_0x1ecd17:0x46e,_0x3757e2:0x348,_0x2e74fb:0x307,_0x940da3:0x269,_0x1d6068:0x3dc},_0x65c3d9={_0x19f32c:0x36b},_0x21c74d={_0x10e7be:0x88,_0x403c67:0x40b},_0x42925c={_0x465758:0xce};function _0x1877d2(_0x42baa6,_0x4e7078,_0x47089e,_0x20dab4){return _0x5469ba(_0x47089e,_0x4e7078-_0x42925c._0x465758,_0x47089e-0x134,_0x42baa6- -0x2dd);}function _0x47183f(_0x362307,_0x1dc997,_0x21a463,_0x36ca87){return _0x5469ba(_0x362307,_0x1dc997-_0x21c74d._0x10e7be,_0x21a463-0x1d1,_0x1dc997- -_0x21c74d._0x403c67);}return defineTool({'name':'AssignTask','permissionClass':_0x1877d2(0x53,_0x4ef61e._0x527a9d,-0x4a,_0x4ef61e._0x48be70),'description':_0x47183f(-_0x4ef61e._0x38493f,-0x14d,-_0x4ef61e._0x6ca274,-_0x4ef61e._0x277d31),'inputSchema':{'type':_0x47183f(-0x1a6,-_0x4ef61e._0x11309e,-_0x4ef61e._0x38493f,-_0x4ef61e._0x4cdf5d),'properties':{'agentId':{'type':'string','description':_0x47183f(0x98,-_0x4ef61e._0x52801a,-0xb5,0x83)},'description':{'type':_0x47183f(-0x34b,-_0x4ef61e._0x243c07,-_0x4ef61e._0x155dc8,-0x21c),'description':_0x1877d2(-_0x4ef61e._0x5272f3,0x8f,-0xbb,-_0x4ef61e._0x534a52)},'nickname':{'type':_0x1877d2(-_0x4ef61e._0xc3805c,-0x8a,-_0x4ef61e._0x291666,-_0x4ef61e._0x1db10f),'description':_0x47183f(-0x324,-_0x4ef61e._0x2ee3fb,-_0x4ef61e._0x27de63,-_0x4ef61e._0x1fb203)},'task':{'type':_0x47183f(-0x3b5,-0x29b,-0x338,-0x2c7),'description':_0x47183f(-_0x4ef61e._0x502d38,-_0x4ef61e._0x4ff29c,0xd,-_0x4ef61e._0x418217)}},'required':[_0x1877d2(-_0x4ef61e._0x32f01d,-0x2b2,0x54,-_0x4ef61e._0x445fec),_0x47183f(-_0x4ef61e._0x26ee04,-_0x4ef61e._0x4552ce,-_0x4ef61e._0x2895d7,-0x3b8),_0x1877d2(0xa8,_0x4ef61e._0x12940b,0x102,0xef)]},async *'execute'(_0x4b4d84,_0x4e89cd){const _0x45e59c={_0x482d3b:0x124},_0x2b02db={_0x42a8af:0x272,_0x47b0dc:0x3d6},_0x4d73bf=createDelegatedRunId(),_0x55e538=new AbortController(),_0x50add7={'agentId':_0x4b4d84[_0x11a931(0x2bb,0x165,0x133,_0x39f7ef._0x4ea5c1)],'parentSessionId':_0x4e89cd[_0x11a931(_0x39f7ef._0x4153c9,0x23e,_0x39f7ef._0x2417b2,_0x39f7ef._0x54b046)],'runId':_0x4d73bf,'signal':_0x55e538[_0x29a354(_0x39f7ef._0x2d8784,0x374,_0x39f7ef._0x40bf14,0x1ee)],..._0x4e89cd[_0x11a931(-_0x39f7ef._0xe5febc,0xa4,_0x39f7ef._0x5f4026,_0x39f7ef._0x1c30dd)]!==void 0x0?{'toolCallId':_0x4e89cd[_0x29a354(0x44a,0x313,0x42c,0x3c1)]}:{}},_0x307581=getDelegatedAgentDefinition(_0x29ebff,_0x4b4d84[_0x29a354(_0x39f7ef._0x1db873,_0x39f7ef._0x1b8f8b,_0x39f7ef._0x5c02fa,0x18f)]);if(!_0x307581)throw new ToolExecutionError(_0x11a931(_0x39f7ef._0x57a746,_0x39f7ef._0x5715d7,0x340,0x25b)+_0x4b4d84['agentId'],{'agentId':_0x4b4d84[_0x11a931(_0x39f7ef._0x191fc9,_0x39f7ef._0x28861b,0x133,0x277)]});let _0x39ffd5={'runId':_0x4d73bf,'agentId':_0x4b4d84['agentId'],'status':_0x29a354(0x142,_0x39f7ef._0x5d370b,0x3f2,0x138),'parentSessionId':_0x4e89cd[_0x29a354(_0x39f7ef._0x4a025c,0x482,0x3b2,0x2d9)],..._0x4e89cd[_0x29a354(0x234,0x313,0x22a,_0x39f7ef._0x101650)]!==void 0x0?{'originToolCallId':_0x4e89cd[_0x29a354(0x16f,0x313,_0x39f7ef._0x5ee3b2,_0x39f7ef._0x86e5ae)]}:{}};const _0x3cfb67=addAbortListener(_0x4e89cd['signal'],()=>{const _0x1a24ab={_0x341026:0x19b};function _0x39dd01(_0x552443,_0x37705a,_0x2fc2ab,_0x498ac4){return _0x11a931(_0x552443-0xdc,_0x552443,_0x498ac4-0x22d,_0x498ac4-_0x1a24ab._0x341026);}_0x55e538['abort'](_0x4e89cd[_0x39dd01(_0x2b02db._0x42a8af,0x4b7,0x3b6,_0x2b02db._0x47b0dc)]['reason']);});let _0x4ea581,_0x1f19eb;function _0x11a931(_0x3dd87b,_0x286c86,_0x32547f,_0x4322bb){return _0x47183f(_0x286c86,_0x32547f-_0x65c3d9._0x19f32c,_0x32547f-0xaf,_0x4322bb-0x1f0);}let _0x1ee808;function _0x29a354(_0x5b6e8,_0x367873,_0x3d44da,_0x4f28d6){return _0x1877d2(_0x367873-0x408,_0x367873-0x174,_0x4f28d6,_0x4f28d6-_0x45e59c._0x482d3b);}let _0x26feec;try{_0x29ebff['semaphore']!==void 0x0&&(_0x4ea581=await _0x29ebff[_0x11a931(0x276,_0x39f7ef._0x5b9004,0x369,0x343)]['acquire'](_0x55e538[_0x11a931(0x202,_0x39f7ef._0xb1c749,_0x39f7ef._0x295680,_0x39f7ef._0x179d30)]));throwIfAborted(_0x55e538[_0x11a931(0x2da,_0x39f7ef._0x4feb75,_0x39f7ef._0x295680,_0x39f7ef._0x315b0a)]);const _0x1a0b8b=await awaitWithAbort2(resolveDelegatedAgentOptions(_0x307581,_0x50add7),_0x55e538[_0x29a354(0x3fb,_0x39f7ef._0x3d4b40,_0x39f7ef._0x105be6,0x36d)]);throwIfAborted(_0x55e538['signal']);const _0x5056a3=_0x29ebff[_0x11a931(0x210,0x1df,_0x39f7ef._0x570b4b,_0x39f7ef._0x2734ce)]!==void 0x0&&_0x1a0b8b[_0x11a931(0x39,_0x39f7ef._0x1ef23b,0x17f,_0x39f7ef._0x121239)]!==void 0x0?{..._0x1a0b8b,'systemPrompt':_0x29ebff[_0x11a931(0x1bc,0x2ac,0x24f,0x3c4)](_0x1a0b8b[_0x29a354(0x46a,_0x39f7ef._0x160ac3,_0x39f7ef._0x3e98c0,0x408)])}:_0x1a0b8b;throwIfAborted(_0x55e538[_0x11a931(0x29f,0x20,0x1a9,_0x39f7ef._0x193710)]);const _0x29d968=new Agent(_0x5056a3);_0x39ffd5={..._0x39ffd5,'sessionId':_0x29d968[_0x29a354(0x500,0x482,0x2e9,_0x39f7ef._0x27e739)]},_0x1f19eb=_0x29ebff[_0x11a931(-_0x39f7ef._0x238bed,-_0x39f7ef._0x5d94a9,0xe1,-_0x39f7ef._0x5acb59)]?.(_0x29d968,_0x50add7);const _0x13b26b=new Promise(_0x59c26a=>{_0x26feec=_0x59c26a;});_0x1ee808=_0x29ebff[_0x29a354(0x3da,_0x39f7ef._0x29f89,0x47d,0x434)]?.({'runId':_0x4d73bf,'abortController':_0x55e538,'completion':_0x13b26b}),yield createToolOutput(_0x11a931(-0x23,0x190,0x132,_0x39f7ef._0x2f3d31)+_0x39ffd5[_0x11a931(0x290,0xad,_0x39f7ef._0x3b56c3,0x113)]+'.',{'runId':_0x39ffd5[_0x29a354(0x214,0x2d7,_0x39f7ef._0x4d1f31,0x28c)],'agentId':_0x39ffd5[_0x11a931(_0x39f7ef._0x43ad46,0x85,_0x39f7ef._0x599c17,0x10c)],'sessionId':_0x29d968[_0x11a931(_0x39f7ef._0x4f130c,0x2dd,0x2b7,0x405)],'status':_0x39ffd5['status']}),throwIfAborted(_0x55e538['signal']);const _0x398321=await _0x29d968[_0x11a931(0x43f,_0x39f7ef._0x18be95,0x2f2,_0x39f7ef._0x755534)](_0x4b4d84[_0x11a931(0x205,0x143,_0x39f7ef._0x34a659,_0x39f7ef._0xc93cf6)],{'streaming':!![],'signal':_0x55e538[_0x29a354(_0x39f7ef._0x1a1a11,_0x39f7ef._0x40ffcf,_0x39f7ef._0x18015e,0x3ed)]});_0x39ffd5={..._0x39ffd5,'status':_0x398321['status'],'result':_0x398321};if(_0x398321[_0x11a931(_0x39f7ef._0x4a8c33,_0x39f7ef._0x5d7ca1,0x120,0x9d)]!=='completed'){const _0x319f82=getRunTerminalErrorMessage(_0x398321),_0x182773=formatAbortedRunMessage(_0x39ffd5[_0x29a354(_0x39f7ef._0x18122f,_0x39f7ef._0x561303,_0x39f7ef._0x509e8f,0x45c)],_0x319f82);throw new ToolExecutionError(_0x182773,{...createRunSummary(_0x39ffd5),'aborted':!![],'errorMessage':_0x182773});}return createRunSummaryOutput(_0x39ffd5,_0x29a354(_0x39f7ef._0x3ec01b,0x4c6,0x3ba,_0x39f7ef._0x154b4d)+_0x39ffd5[_0x11a931(-0x11,0x290,_0x39f7ef._0x3b56c3,_0x39f7ef._0x16392b)]+_0x29a354(_0x39f7ef._0x297bd8,_0x39f7ef._0x7d5c70,_0x39f7ef._0x1af3f8,_0x39f7ef._0xfb29df));}catch(_0x35467c){if(_0x35467c instanceof ToolExecutionError)throw _0x35467c;if(isAbortError(_0x35467c)||_0x55e538['signal'][_0x29a354(0x54a,_0x39f7ef._0x412d60,0x52b,0x35e)]||_0x4e89cd[_0x11a931(_0x39f7ef._0x3212b0,_0x39f7ef._0x30586c,0x1a9,_0x39f7ef._0x1a4f39)]['aborted']){const _0x32592c=getRunTerminalErrorMessage(_0x39ffd5['result'])??(_0x35467c instanceof Error?_0x35467c[_0x11a931(0x1bd,_0x39f7ef._0x32d377,0x1b7,_0x39f7ef._0x1e7222)]:String(_0x35467c)),_0x38d91e=formatAbortedRunMessage(_0x39ffd5[_0x29a354(0x2f2,0x2d7,_0x39f7ef._0x5e114e,_0x39f7ef._0x894037)],_0x32592c);_0x39ffd5={..._0x39ffd5,'status':'aborted','errorMessage':_0x38d91e};throw new ToolExecutionError(_0x38d91e,{...createRunSummary(_0x39ffd5),'aborted':!![],'errorMessage':_0x38d91e});}const _0x5b84e6=getRunTerminalErrorMessage(_0x39ffd5['result'])??(_0x35467c instanceof Error?_0x35467c[_0x29a354(0x423,0x382,0x284,0x4d8)]:String(_0x35467c))??_0x11a931(0x19a,_0x39f7ef._0x1ecd17,0x2fb,_0x39f7ef._0x3757e2)+_0x39ffd5['runId']+_0x29a354(0x5b0,_0x39f7ef._0x297bd8,0x618,0x5e9);_0x39ffd5={..._0x39ffd5,'status':_0x29a354(_0x39f7ef._0x2e74fb,_0x39f7ef._0x940da3,0x314,_0x39f7ef._0x1d6068),'errorMessage':_0x5b84e6};throw new ToolExecutionError(_0x5b84e6,{...createRunSummary(_0x39ffd5),'errorMessage':_0x5b84e6});}finally{_0x26feec?.(),_0x1ee808?.(),_0x1f19eb?.(),_0x4ea581?.(),_0x3cfb67();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x39571e){return[createAssignTaskTool(_0x39571e)];}import*as _0x430395 from'path';function buildDescription2(_0x4a8237){const _0x13c1b3={_0x2f6211:0x29f,_0x133114:0x518,_0x21234d:0x26d,_0x28b327:0x554,_0x25798c:0x5bc,_0x436344:0x284,_0x123ce3:0x369,_0x22406d:0x293,_0x3b0c41:0x2ce,_0x5217e8:0x468,_0x12434e:0x313,_0x3bac87:0x3b8,_0x10542a:0x5db,_0x45f723:0x64b},_0x2cf9bc={_0x22347c:0x3f},_0x25bdcc={_0x584004:0x191,_0x53e6ca:0xab};if(_0x4a8237['length']===0x0)return _0x36e352(_0x13c1b3._0x2f6211,_0x13c1b3._0x133114,_0x13c1b3._0x21234d,0x3b6);function _0x36e352(_0x13a173,_0x3945c7,_0x2729e9,_0x6bdfe9){return _0x4bfe88(_0x6bdfe9-_0x25bdcc._0x584004,_0x3945c7-0xf5,_0x2729e9-_0x25bdcc._0x53e6ca,_0x13a173);}const _0x122b60=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.','Skills\x20provide\x20specialized\x20knowledge\x20and\x20step-by-step\x20guidance.',_0x36e352(_0x13c1b3._0x28b327,_0x13c1b3._0x25798c,0x5ab,0x4dd),_0x718209(0x4f4,_0x13c1b3._0x436344,_0x13c1b3._0x123ce3,_0x13c1b3._0x22406d),..._0x4a8237[_0x36e352(_0x13c1b3._0x3b0c41,_0x13c1b3._0x5217e8,_0x13c1b3._0x12434e,_0x13c1b3._0x3bac87)](_0x122d23=>'-\x20'+_0x122d23[_0x718209(0x44b,0x48c,0x38d,0x25f)]+':\x20'+_0x122d23[_0x718209(0x395,0x1ab,0x33f,0x3a8)])];function _0x718209(_0x2031f9,_0x9577d3,_0x4cd569,_0x2e409a){return _0x4bfe88(_0x4cd569-0x150,_0x9577d3-0x2d,_0x4cd569-_0x2cf9bc._0x22347c,_0x2031f9);}return _0x122b60[_0x36e352(0x588,0x6a0,_0x13c1b3._0x10542a,_0x13c1b3._0x45f723)]('\x0a');}function createLoadSkillTool(_0x4484e0){const _0x570465={_0x16427f:0x6e0,_0x490daa:0x69f,_0x5709d5:0x56c,_0x26a0aa:0x518,_0x3e408c:0x438,_0x5ad25f:0xc7,_0x343e75:0x401},_0x3cd885={_0xb786d6:0x338,_0x5869a2:0x50c,_0x2973a8:0x305,_0x5ccc27:0x3f6,_0x2663c4:0x13f,_0x5d12b8:0x49c,_0x5cf96a:0x382,_0x2c4b0f:0x18,_0x6f058c:0x86,_0x3bbe95:0x17a,_0x12b604:0x4b2,_0x41fe11:0x664,_0x31ee4a:0x459,_0xc9982f:0x287,_0xac2b70:0x395,_0x1d2f76:0x50,_0xa641f1:0x1a9,_0x376b7d:0x2b5,_0x2e2f82:0x60e,_0x3d710e:0x509,_0x244f16:0x9c,_0x555b7e:0x3c,_0x4e9838:0x19f,_0x49028d:0x1f6,_0x31474d:0x312,_0x510433:0x21d,_0x17c0e5:0x1fc,_0x505ce4:0x359,_0x5aec22:0x4a5,_0x209ea9:0x504,_0x1caef3:0x440,_0x51eb44:0x605,_0x2b49b0:0x58f,_0x2c3e87:0x557,_0x4c75c7:0xd0,_0x507ede:0xbe,_0x96f356:0x105,_0x16f5b8:0x434,_0x4b30d4:0x39c,_0x3c42d4:0x2b4},_0xbb9ea0={_0x2f9514:0xc4},_0x2344cc={_0x2ffa40:0x16c,_0x1885c7:0x66};function _0x19cd3f(_0x4d63aa,_0x105f55,_0x1ea847,_0x3df1ef){return _0x4bfe88(_0x105f55-0x21d,_0x105f55-0x14d,_0x1ea847-0x1aa,_0x3df1ef);}function _0x248499(_0xe332db,_0x35f421,_0x31b70f,_0x1133bb){return _0x4bfe88(_0x35f421- -_0x2344cc._0x2ffa40,_0x35f421-_0x2344cc._0x1885c7,_0x31b70f-0x46,_0x31b70f);}const _0x33e99d=new Map(_0x4484e0[_0x19cd3f(_0x570465._0x16427f,_0x570465._0x490daa,0x651,0x52c)]['map'](_0x2e79b8=>[_0x2e79b8[_0x248499(0x3b,0xd1,0x205,0x22a)],_0x2e79b8])),_0x1a41c0=buildDescription2(_0x4484e0[_0x19cd3f(0x6f7,0x69f,_0x570465._0x5709d5,0x649)]);return defineTool({'name':'LoadSkill','permissionClass':'read','description':_0x1a41c0,'inputSchema':{'type':_0x19cd3f(0x431,_0x570465._0x26a0aa,0x479,_0x570465._0x3e408c),'properties':{'name':{'type':_0x248499(0x44,_0x570465._0x5ad25f,0x49,-0x27)}},'required':[_0x19cd3f(_0x570465._0x343e75,0x45a,0x41e,0x5ea)]},async *'execute'(_0x4bbe45){const _0x4f6d24={_0x6464ae:0x161,_0xcbd7ea:0x155},_0x2b6439=_0x33e99d[_0x279d86(0x417,_0x3cd885._0xb786d6,_0x3cd885._0x5869a2,_0x3cd885._0x2973a8)](_0x4bbe45[_0x279d86(0x312,_0x3cd885._0x5ccc27,0x1f0,0x252)]);if(!_0x2b6439){const _0x5e79f1=Array[_0x3ca838(-0x56,0x10e,_0x3cd885._0x2663c4,0x122)](_0x33e99d[_0x279d86(0x4df,_0x3cd885._0x5d12b8,_0x3cd885._0x5cf96a,0x4ba)]())['join'](',\x20');throw new ToolExecutionError(_0x3ca838(_0x3cd885._0x2c4b0f,0xd4,-0x18f,-0xe8)+_0x4bbe45[_0x3ca838(-_0x3cd885._0x6f058c,-_0x3cd885._0x3bbe95,-0x1e2,-0x1c6)]+_0x279d86(_0x3cd885._0x12b604,_0x3cd885._0x41fe11,0x365,_0x3cd885._0x31ee4a)+_0x5e79f1,{'name':_0x4bbe45[_0x279d86(0x312,_0x3cd885._0xc9982f,_0x3cd885._0xac2b70,0x24e)]});}function _0x279d86(_0x43ac5e,_0x4522dc,_0x2de2f9,_0x26040e){return _0x19cd3f(_0x43ac5e-_0xbb9ea0._0x2f9514,_0x43ac5e- -0x148,_0x2de2f9-0xcf,_0x2de2f9);}const _0x1452d2=await _0x4484e0['loadSkill'](_0x2b6439),_0x133773=_0x2b6439[_0x3ca838(0xd0,-0xd9,0x71,-_0x3cd885._0x1d2f76)][_0x279d86(0x29d,_0x3cd885._0xa641f1,_0x3cd885._0x376b7d,0x249)]??_0x430395['dirname'](_0x2b6439[_0x279d86(0x468,_0x3cd885._0x2e2f82,0x587,_0x3cd885._0x3d710e)][_0x3ca838(_0x3cd885._0x244f16,-_0x3cd885._0x555b7e,0xa5,-0x75)]),_0x7b8292=[_0x3ca838(_0x3cd885._0x4e9838,_0x3cd885._0x49028d,0x1d2,0x23d)+_0x1452d2[_0x279d86(_0x3cd885._0x31474d,_0x3cd885._0x510433,0x476,0x227)],'',_0x1452d2[_0x279d86(0x372,_0x3cd885._0x17c0e5,_0x3cd885._0x505ce4,0x498)],'',_0x3ca838(-0x8,0x18a,0x192,0x27),_0x279d86(0x500,0x5a0,0x43f,0x3ed)+_0x2b6439[_0x3ca838(0xd0,-0x6e,0x171,0x1ac)][_0x279d86(0x434,_0x3cd885._0x5aec22,_0x3cd885._0x209ea9,0x3c4)],_0x279d86(0x44e,_0x3cd885._0x1caef3,0x4ff,_0x3cd885._0x51eb44)+_0x133773][_0x279d86(_0x3cd885._0x2b49b0,0x59c,0x68d,_0x3cd885._0x2c3e87)]('\x0a');function _0x3ca838(_0x4259be,_0x14b6a8,_0x14b92f,_0x295dc2){return _0x19cd3f(_0x4259be-_0x4f6d24._0x6464ae,_0x4259be- -0x4e0,_0x14b92f-_0x4f6d24._0xcbd7ea,_0x14b92f);}return yield createToolOutput(_0x7b8292,{'id':_0x1452d2['id'],'name':_0x1452d2[_0x3ca838(-0x86,-0x1b9,-0x2b,-0x54)],'path':_0x2b6439[_0x3ca838(_0x3cd885._0x4c75c7,_0x3cd885._0x507ede,_0x3cd885._0x96f356,0x251)][_0x279d86(_0x3cd885._0x16f5b8,_0x3cd885._0x4b30d4,0x32e,_0x3cd885._0x3c42d4)],'baseDirectory':_0x133773}),void 0x0;}});}var TODO_STATUSES=new Set([_0x5469ba(0x214,0x37b,0x1a0,0x229),_0x4bfe88(0x1a7,0x155,0x35b,0x10e),_0x4bfe88(0x49a,0x38b,0x4a3,0x50d)]),TODO_PRIORITIES=new Set([_0x4bfe88(0x37e,0x25d,0x2f7,0x4af),'medium',_0x5469ba(0x300,0x213,0x2d8,0x1f0)]);function isTodoStatus(_0x426867){const _0x1553df={_0x3108d6:0xe3,_0x3bdce8:0x62,_0x1277bd:0x28d},_0x1e103e={_0x339f18:0x1e7,_0x1a9ab9:0x1a5};function _0x559daf(_0x487eab,_0x5d2e1,_0x43a096,_0x56a95b){return _0x5469ba(_0x43a096,_0x5d2e1-_0x1e103e._0x339f18,_0x43a096-_0x1e103e._0x1a9ab9,_0x487eab- -0x2da);}return typeof _0x426867==='string'&&TODO_STATUSES[_0x559daf(-_0x1553df._0x3108d6,0x94,-_0x1553df._0x3bdce8,-_0x1553df._0x1277bd)](_0x426867);}function isTodoPriority(_0xd38ee){const _0x264769={_0x31cb67:0x8e,_0x34c0e7:0xb8,_0x2511d1:0x156};function _0x93e06a(_0x49f2d1,_0x402123,_0x41a3d8,_0x54a179){return _0x5469ba(_0x41a3d8,_0x402123-_0x264769._0x31cb67,_0x41a3d8-_0x264769._0x34c0e7,_0x402123-_0x264769._0x2511d1);}return typeof _0xd38ee===_0x93e06a(0x130,0x2c6,0x425,0x41c)&&TODO_PRIORITIES['has'](_0xd38ee);}var TodoStore=class{[_0x5469ba(0x3a9,0x481,0x1eb,0x2ca)]=new Map();['getTodos'](_0x4edda8){const _0xbc3b26={_0x24c2c8:0x2cb,_0x4eef90:0x4c9,_0x32883e:0x468,_0x3d65dc:0x337},_0x38c9f9={_0x1a1b4c:0xa1},_0x302ead={_0x5ce3bd:0x8a,_0x3c7444:0x2};function _0x43a8f8(_0x1f90db,_0x24bbc5,_0x40d342,_0x2b7623){return _0x4bfe88(_0x2b7623- -0xb,_0x24bbc5-_0x302ead._0x5ce3bd,_0x40d342-_0x302ead._0x3c7444,_0x1f90db);}function _0x2c4c0a(_0x42f820,_0x34eb66,_0x5e3c43,_0x4baf4b){return _0x5469ba(_0x42f820,_0x34eb66-0x18f,_0x5e3c43-_0x38c9f9._0x1a1b4c,_0x4baf4b-0x2ec);}return this[_0x43a8f8(_0xbc3b26._0x24c2c8,0x2af,0x1f4,0x382)][_0x43a8f8(0x3a7,_0xbc3b26._0x4eef90,_0xbc3b26._0x32883e,_0xbc3b26._0x3d65dc)](_0x4edda8)??[];}[_0x4bfe88(0x1b8,0x72,0x229,0x2f7)](_0x54da6c,_0x4d02b6){const _0x468063={_0x4a779c:0x6f6,_0x44e319:0x3a0,_0x526410:0x3dc,_0x1fa4fc:0x2ef,_0x2d83b4:0x429},_0x281fee={_0x38e3c7:0xe9,_0x2b5073:0x288},_0x44ccf8={_0x6fc130:0x28b,_0x5b3afb:0x177};function _0x52cece(_0xaf025c,_0x205715,_0x40a417,_0xeb5ca6){return _0x4bfe88(_0x205715-_0x44ccf8._0x6fc130,_0x205715-0xdf,_0x40a417-_0x44ccf8._0x5b3afb,_0xaf025c);}function _0x1c2552(_0x19490b,_0x342882,_0xaf3ca3,_0x42d87c){return _0x5469ba(_0x342882,_0x342882-_0x281fee._0x38e3c7,_0xaf3ca3-0x187,_0x19490b-_0x281fee._0x2b5073);}this[_0x1c2552(0x552,0x46a,_0x468063._0x4a779c,0x478)][_0x1c2552(_0x468063._0x44e319,_0x468063._0x526410,_0x468063._0x1fa4fc,_0x468063._0x2d83b4)](_0x54da6c,_0x4d02b6);}[_0x5469ba(-0xab,0xcb,0x1be,0xaa)](_0x440dc9){const _0x3183d9={_0x3492a:0x73c,_0x271be0:0x744,_0x1c8393:0x83b,_0x13d30c:0x7f6,_0x2d6f0a:0xec,_0xef8243:0x89,_0x3def6f:0x3ee,_0xc40300:0x578,_0x329435:0xcb,_0x7cc463:0x13b,_0x2be266:0x779,_0xbddf17:0x86b},_0x1cfe01={_0x5d3b05:0x165,_0xd59e75:0x193,_0xb36c5a:0x364};function _0x188752(_0x4cff84,_0x550e1d,_0x3db8d6,_0x5b47b4){return _0x5469ba(_0x550e1d,_0x550e1d-_0x1cfe01._0x5d3b05,_0x3db8d6-_0x1cfe01._0xd59e75,_0x5b47b4- -_0x1cfe01._0xb36c5a);}const _0x16fb1e=this[_0x1ec104(_0x3183d9._0x3492a,_0x3183d9._0x271be0,_0x3183d9._0x1c8393,_0x3183d9._0x13d30c)](_0x440dc9),_0x4dbe96={'total':_0x16fb1e[_0x188752(-0x19,_0x3183d9._0x2d6f0a,-0x20,-_0x3183d9._0xef8243)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x327248 of _0x16fb1e){if(_0x327248[_0x1ec104(_0x3183d9._0x3def6f,0x540,0x51e,_0x3183d9._0xc40300)]==='pending')_0x4dbe96[_0x188752(0x41,-0x141,-_0x3183d9._0x329435,-_0x3183d9._0x7cc463)]+=0x1;else{if(_0x327248['status']==='in_progress')_0x4dbe96[_0x1ec104(0x805,_0x3183d9._0x2be266,_0x3183d9._0xbddf17,0x7d9)]+=0x1;else _0x4dbe96['completed']+=0x1;}}function _0x1ec104(_0x44239c,_0x2490bb,_0x390777,_0x30fbb7){return _0x5469ba(_0x44239c,_0x2490bb-0x135,_0x390777-0x1f4,_0x2490bb-0x380);}return _0x4dbe96;}};function validateTodos(_0x18cf81){const _0x2aaeac={_0x3d18e7:0x18d,_0x22d22e:0x5cd,_0x3dc85d:0x5eb,_0x9ace7c:0x4a0,_0x51dff3:0x63a,_0x210225:0x6aa,_0x213476:0x71a,_0x3e4fe2:0x612,_0x537512:0x27c,_0x18d778:0xd2,_0x2ca015:0x4af,_0x256af2:0x4f0,_0x2f2471:0x3f2,_0x45c5aa:0x43b,_0x978d8a:0xae,_0xde31df:0x4d,_0x3c0f46:0x21,_0x43bd3f:0x1d7,_0x10da77:0x1a2,_0x56e61f:0x22,_0x11399a:0x4c8,_0x2c561f:0x31c,_0x25faa7:0x58c,_0x17f575:0x4bb,_0x19d2d8:0x661,_0x4b30f0:0x4bf,_0x3c8a27:0x168,_0x8d6186:0xba,_0x160867:0x4e8,_0x4a0ec2:0x44a,_0x40898f:0x3a4,_0x28b399:0x5f0,_0x1b2535:0x5ae,_0x594196:0x84,_0x53cefd:0x2a,_0x3d7407:0x13a,_0x5c81d7:0x4b2,_0x46f671:0x665,_0x1af511:0x108,_0x3f8188:0x3fe,_0x4841e9:0x2ed,_0x18a272:0x9,_0x16db6c:0x1e,_0x1f3be2:0x92,_0x508227:0x60e,_0xe7ebd9:0x4ec,_0x1a1d5d:0x6c1,_0x1be90c:0x66e,_0x493733:0x149,_0x50a0f4:0x6,_0xd6a0b6:0x2bf,_0x44c4d8:0xf1,_0x4a6cf7:0xe6,_0x43a55c:0x249,_0x201efb:0x3f,_0x327bb4:0x34,_0x1be911:0x21d,_0x17f5ef:0x91,_0x1a38f5:0x3b0},_0x289a1e={_0x433bf1:0x1d4,_0x370fa4:0x2f2},_0x10e050={_0x2ee99d:0x470};if(!Array['isArray'](_0x18cf81[_0x19913d(-_0x2aaeac._0x3d18e7,-0x1ee,-0x145,-0x1f0)])||_0x18cf81['todos'][_0x2947fa(_0x2aaeac._0x22d22e,0x735,_0x2aaeac._0x3dc85d,0x445)]===0x0)throw new ToolExecutionError(_0x2947fa(_0x2aaeac._0x9ace7c,_0x2aaeac._0x51dff3,0x63d,0x60b),{'error':_0x2947fa(_0x2aaeac._0x210225,_0x2aaeac._0x213476,0x7d2,_0x2aaeac._0x3e4fe2)});function _0x19913d(_0x21c2d5,_0x445808,_0x68ba34,_0x3bc0bb){return _0x4bfe88(_0x3bc0bb- -_0x10e050._0x2ee99d,_0x445808-0x17d,_0x68ba34-0xbf,_0x68ba34);}for(let _0x20f757=0x0;_0x20f757<_0x18cf81['todos'][_0x19913d(-0x217,-0x8f,-_0x2aaeac._0x537512,-_0x2aaeac._0x18d778)];_0x20f757+=0x1){const _0x28066b=_0x18cf81[_0x2947fa(_0x2aaeac._0x2ca015,0x2fd,_0x2aaeac._0x256af2,_0x2aaeac._0x2f2471)][_0x20f757];if(!_0x28066b||typeof _0x28066b!==_0x2947fa(0x52a,0x43b,_0x2aaeac._0x45c5aa,0x691))throw new ToolExecutionError(_0x19913d(-0x4d,-0x5e,0x11f,0x22)+(_0x20f757+0x1)+':\x20todo\x20item\x20is\x20required',{'error':_0x19913d(-_0x2aaeac._0x978d8a,-0xef,-0xf4,-_0x2aaeac._0xde31df)});if(typeof _0x28066b['id']!=='string'||_0x28066b['id'][_0x19913d(-0x140,0x192,-0x10f,_0x2aaeac._0x3c0f46)]()['length']===0x0)throw new ToolExecutionError(_0x19913d(_0x2aaeac._0x43bd3f,_0x2aaeac._0x10da77,0x26,_0x2aaeac._0x56e61f)+(_0x20f757+0x1)+_0x2947fa(_0x2aaeac._0x11399a,_0x2aaeac._0x2c561f,_0x2aaeac._0x25faa7,_0x2aaeac._0x17f575),{'error':_0x2947fa(_0x2aaeac._0x19d2d8,0x552,_0x2aaeac._0x4b30f0,0x819)});if(typeof _0x28066b['content']!==_0x19913d(-0xee,-_0x2aaeac._0x3c8a27,-_0x2aaeac._0x8d6186,-0x23d)||_0x28066b[_0x2947fa(_0x2aaeac._0x160867,_0x2aaeac._0x4a0ec2,0x62c,_0x2aaeac._0x40898f)]['trim']()[_0x2947fa(0x5cd,_0x2aaeac._0x28b399,_0x2aaeac._0x1b2535,0x5a4)]===0x0)throw new ToolExecutionError(_0x2947fa(0x6c1,0x644,0x72e,0x84a)+(_0x20f757+0x1)+_0x19913d(-_0x2aaeac._0x594196,0x7,-_0x2aaeac._0x53cefd,-_0x2aaeac._0x3d7407),{'error':_0x19913d(0x162,-0x10e,-0x18e,-0x3f)});if(!isTodoStatus(_0x28066b[_0x2947fa(_0x2aaeac._0x5c81d7,_0x2aaeac._0x46f671,0x42e,0x303)]))throw new ToolExecutionError(_0x19913d(-0x15a,_0x2aaeac._0x1af511,0x1ba,0x22)+(_0x20f757+0x1)+_0x2947fa(_0x2aaeac._0x3f8188,0x442,_0x2aaeac._0x4841e9,0x2fd),{'error':_0x19913d(_0x2aaeac._0x18a272,-_0x2aaeac._0x16db6c,-0xab,-_0x2aaeac._0x1f3be2)});if(!isTodoPriority(_0x28066b[_0x2947fa(0x632,0x4b9,_0x2aaeac._0x508227,_0x2aaeac._0xe7ebd9)]))throw new ToolExecutionError(_0x2947fa(_0x2aaeac._0x1a1d5d,0x803,_0x2aaeac._0x1be90c,0x5c3)+(_0x20f757+0x1)+_0x19913d(-_0x2aaeac._0x493733,_0x2aaeac._0x50a0f4,-_0x2aaeac._0xd6a0b6,-0x14f),{'error':_0x19913d(-0x21d,-0x3bc,-0x180,-0x226)});}function _0x2947fa(_0x41740a,_0x38ffde,_0x4d8870,_0x57c588){return _0x5469ba(_0x57c588,_0x38ffde-0x1ab,_0x4d8870-_0x289a1e._0x433bf1,_0x41740a-_0x289a1e._0x370fa4);}const _0x1a37ec=_0x18cf81[_0x19913d(-_0x2aaeac._0x44c4d8,-0x30d,-0x167,-0x1f0)][_0x19913d(-0xdf,-_0x2aaeac._0x4a6cf7,-0x140,-_0x2aaeac._0x43a55c)](_0x8fcc92=>_0x8fcc92['id']);if(new Set(_0x1a37ec)[_0x19913d(_0x2aaeac._0x201efb,-_0x2aaeac._0x327bb4,-_0x2aaeac._0x1be911,-_0x2aaeac._0x17f5ef)]!==_0x1a37ec['length'])throw new ToolExecutionError(_0x19913d(-0x1b2,-0x2ac,-0x5b,-0x1ab),{'error':_0x19913d(-0x2da,-_0x2aaeac._0x1a38f5,-0x118,-0x283)});}function createStatsProgress(_0x298585){const _0x31aed2={_0x21d4fc:0x5d,_0x3ad3ee:0x5e,_0x5a4ced:0x4c,_0x256f67:0x22c,_0xb678c:0x7f6},_0x1d2baa={_0x3f9e0e:0x2c7,_0x1fad43:0x18c},_0x3ef050={_0xcd7b2a:0x273,_0x20ddd8:0x1d7,_0x455786:0x6e};function _0x145023(_0x42d3f6,_0x121aeb,_0x16e39d,_0x4ea730){return _0x4bfe88(_0x16e39d-_0x3ef050._0xcd7b2a,_0x121aeb-_0x3ef050._0x20ddd8,_0x16e39d-_0x3ef050._0x455786,_0x121aeb);}function _0x5559fd(_0x3e2ec1,_0x2d505c,_0x5b9426,_0x14362c){return _0x4bfe88(_0x2d505c- -_0x1d2baa._0x3f9e0e,_0x2d505c-_0x1d2baa._0x1fad43,_0x5b9426-0x17d,_0x5b9426);}return _0x298585['total']>0x0?Math[_0x5559fd(-0x11e,-0x133,_0x31aed2._0x21d4fc,-_0x31aed2._0x3ad3ee)](_0x298585[_0x5559fd(_0x31aed2._0x5a4ced,0x1d3,_0x31aed2._0x256f67,0x179)]/_0x298585[_0x145023(0x68c,0x630,0x659,_0x31aed2._0xb678c)]*0x64)+'%':'0%';}function createReminderItems(_0x54c9b6){const _0x1881c2={_0xd56575:0x12,_0x320392:0xf5},_0x234d7c={_0x1e539e:0x4d};function _0x51fe63(_0x20a6e5,_0x537b34,_0x233473,_0x8f2b24){return _0x4bfe88(_0x8f2b24-0x1f5,_0x537b34-0x49,_0x233473-_0x234d7c._0x1e539e,_0x20a6e5);}function _0x1055d0(_0x2ef15a,_0x2d477a,_0x9d1a49,_0x4c39a2){return _0x4bfe88(_0x9d1a49- -0x11f,_0x2d477a-_0x1881c2._0xd56575,_0x9d1a49-_0x1881c2._0x320392,_0x2d477a);}return _0x54c9b6['map'](_0x2f0ee2=>({'content':_0x2f0ee2[_0x1055d0(0x24e,0xe,0x19a,0x301)],'status':_0x2f0ee2[_0x51fe63(0x326,0x5a4,0x59e,0x478)],'id':_0x2f0ee2['id']}));}function createStructuredResult(_0x2556bf,_0x340aa6,_0x2b0ab0,_0x55a35c){const _0xe0584c={_0x3f358a:0x222},_0x57f6a5={_0x2a360b:0x2e},_0x3a2c88={_0x5ee6c0:0x38,_0xa677b9:0x182};function _0x520332(_0x40a745,_0x411636,_0x1c52b6,_0x445d29){return _0x5469ba(_0x411636,_0x411636-_0x3a2c88._0x5ee6c0,_0x1c52b6-_0x3a2c88._0xa677b9,_0x1c52b6- -0x21f);}function _0x52d604(_0x1b8ea9,_0xc07432,_0x4fd866,_0x2fb63f){return _0x5469ba(_0x2fb63f,_0xc07432-_0x57f6a5._0x2a360b,_0x4fd866-0x1da,_0x4fd866-0x301);}return{'allCompleted':_0x55a35c,'items':_0x340aa6[_0x52d604(0x4ae,0x5f9,0x465,0x500)](_0x195852=>({'id':_0x195852['id'],'content':_0x195852['content'],'status':_0x195852['status'],'priority':_0x195852[_0x520332(0x2c1,-0x5e,0x121,0x2b)],'createdAt':_0x195852[_0x52d604(0x301,0x531,0x3fb,0x336)]})),'progress':createStatsProgress(_0x2b0ab0),'recentChanges':!![],'sessionId':_0x2556bf,'stats':_0x2b0ab0,'todosWritten':_0x340aa6[_0x520332(-0x4b,-0xf6,0xbc,_0xe0584c._0x3f358a)]};}function createOutputText(_0x2db638,_0x235134){const _0xdaef65={_0x13c905:0x332,_0x3293d7:0x339,_0x3b9902:0x1e7,_0x4ae693:0x5d8,_0x34e210:0x7b0,_0x255aed:0x688,_0x2e3173:0x66a,_0x218bbb:0x21,_0x2464c1:0x135,_0x4d215c:0x2d4,_0x546908:0x126,_0x3669b4:0x59d,_0x28488b:0x5e1,_0x1a1d69:0x548,_0x4536c4:0x3ae,_0x36fe8a:0x533,_0x3b9e10:0x5fa,_0xf106b4:0x450,_0x13af6a:0x4cd},_0x39cf30={_0x585b83:0x1a6,_0x1bc402:0x2},_0x5b4f04={_0x2e37ff:0x1};function _0x39c71a(_0x252abd,_0x3bbd2b,_0x1ee7cb,_0x408ac2){return _0x5469ba(_0x252abd,_0x3bbd2b-0x91,_0x1ee7cb-_0x5b4f04._0x2e37ff,_0x3bbd2b- -0x410);}function _0x4922de(_0x2a3cf8,_0x3e88b6,_0x1100d8,_0x32a820){return _0x4bfe88(_0x1100d8-0x2bc,_0x3e88b6-_0x39cf30._0x585b83,_0x1100d8-_0x39cf30._0x1bc402,_0x32a820);}const _0x3eb0b5=JSON[_0x39c71a(-0x36c,-_0xdaef65._0x13c905,-_0xdaef65._0x3293d7,-_0xdaef65._0x3b9902)](createReminderItems(_0x2db638));if(_0x235134)return _0x4922de(_0xdaef65._0x4ae693,_0xdaef65._0x34e210,_0xdaef65._0x255aed,_0xdaef65._0x2e3173)+_0x2db638[_0x39c71a(-_0xdaef65._0x218bbb,-_0xdaef65._0x2464c1,-_0xdaef65._0x4d215c,-_0xdaef65._0x546908)]+_0x4922de(0x664,0x47e,_0xdaef65._0x3669b4,_0xdaef65._0x28488b)+_0x3eb0b5+_0x4922de(_0xdaef65._0x1a1d69,_0xdaef65._0x4536c4,_0xdaef65._0x36fe8a,_0xdaef65._0x3b9e10);return _0x4922de(0x459,_0xdaef65._0xf106b4,_0xdaef65._0x13af6a,0x503)+_0x3eb0b5+'.\x0a</system-reminder>';}function createTodoWriteTool(_0x21232a=new TodoStore()){const _0x140159={_0x54a6cf:0x2b5,_0x5e4457:0x4a6,_0x335a8c:0x36b,_0x793560:0x254,_0x26ded2:0x600,_0x54f15a:0x410,_0x42b203:0x2b5,_0x29143b:0x191,_0x20ff67:0x468,_0x1582d6:0x405,_0xe59791:0x371,_0x16db08:0x181,_0x91b236:0x3e1,_0x573ea6:0x33b,_0x1798fd:0x163,_0x43720b:0x301,_0x42b9ee:0x4c7,_0xd63966:0x5e0,_0xe02880:0x3db,_0x2ecff1:0x2c3,_0x2ce57b:0x302},_0x21be17={_0x54b22e:0x41,_0x135ad9:0x1ad,_0x3d4972:0x32a,_0x17caff:0xb3,_0x128e96:0x15,_0x4f3d7b:0x1d4,_0x27b43e:0xb1,_0x5cf133:0x31,_0x338c44:0x280,_0x1958b6:0xd0},_0x35a4ea={_0x1f8dae:0x1c1},_0x451e5d={_0x5881d0:0x16a};function _0x5d917f(_0x9a5a2d,_0x4f508e,_0x1b2570,_0x586401){return _0x5469ba(_0x1b2570,_0x4f508e-_0x451e5d._0x5881d0,_0x1b2570-0x7c,_0x4f508e-0x187);}function _0x423c51(_0xef646a,_0x83e799,_0x46e2a3,_0x37d738){return _0x4bfe88(_0x46e2a3-0x82,_0x83e799-_0x35a4ea._0x1f8dae,_0x46e2a3-0xe1,_0x83e799);}return defineTool({'name':_0x423c51(0x353,_0x140159._0x54a6cf,0x291,0x3c4),'permissionClass':_0x5d917f(_0x140159._0x5e4457,_0x140159._0x335a8c,_0x140159._0x793560,0x373),'description':_0x423c51(_0x140159._0x26ded2,0x3d9,0x48b,0x2d6),'inputSchema':{'type':'object','properties':{'todos':{'type':_0x423c51(0x352,0x4d0,0x4c0,0x4fe),'items':{'type':_0x5d917f(0x472,0x3bf,0x35b,_0x140159._0x54f15a),'properties':{'content':{'type':_0x423c51(0x2cb,0x262,_0x140159._0x42b203,_0x140159._0x29143b)},'status':{'type':'string'},'priority':{'type':_0x423c51(_0x140159._0x20ff67,0x3e7,0x2b5,0x462)},'id':{'type':_0x5d917f(0x143,0x2f7,0x159,_0x140159._0x1582d6)},'createdAt':{'type':_0x423c51(0x3c0,_0x140159._0xe59791,_0x140159._0x54a6cf,_0x140159._0x16db08)}},'required':[_0x423c51(0x33f,_0x140159._0x91b236,_0x140159._0x573ea6,0x3c3),_0x423c51(0x3d4,_0x140159._0x1798fd,0x305,_0x140159._0x43720b),_0x5d917f(0x51c,_0x140159._0x42b9ee,_0x140159._0xd63966,_0x140159._0xe02880),'id']}}},'required':[_0x423c51(0x3fd,_0x140159._0x2ecff1,_0x140159._0x2ce57b,0x492)]},async *'execute'(_0x2a33c2,_0x355cc4){const _0x535fc2={_0x3df1c6:0x39c,_0x4e3348:0x16c},_0x214c5b=_0x2a33c2;validateTodos(_0x214c5b);const _0x3b1a51=_0x355cc4[_0xdadd80(0x175,_0x21be17._0x54b22e,0x2f0,0x142)]||_0xdadd80(-0x183,0x36,-0x212,-0xa9),_0x2fe6da=new Date()[_0x40dde7(-_0x21be17._0x135ad9,-_0x21be17._0x3d4972,-0x1bb,-0x17c)](),_0x3993ce=_0x214c5b[_0x40dde7(-_0x21be17._0x17caff,-0xc1,_0x21be17._0x128e96,-0xcd)][_0xdadd80(0x89,-_0x21be17._0x4f3d7b,-0x256,-_0x21be17._0x27b43e)](_0x23b3fe=>({'id':_0x23b3fe['id'],'content':_0x23b3fe[_0xdadd80(0x115,-0x9f,-0xcd,-0x1f)],'status':_0x23b3fe[_0x40dde7(-0xb0,0xeb,-0x16a,-0x257)],'priority':_0x23b3fe[_0x40dde7(0xd0,0x1e3,0x1ec,0x9e)],'sessionId':_0x3b1a51,'createdAt':_0x23b3fe['createdAt']||_0x2fe6da,'updatedAt':_0x2fe6da}));function _0x40dde7(_0x35e6eb,_0x553405,_0x51578b,_0x2778b7){return _0x5d917f(_0x35e6eb-0x93,_0x35e6eb- -0x3f7,_0x2778b7,_0x2778b7-0x50);}function _0xdadd80(_0x3cf51b,_0x48eff4,_0x49a2e6,_0xd05596){return _0x5d917f(_0x3cf51b-0x1cd,_0xd05596- -_0x535fc2._0x3df1c6,_0x49a2e6,_0xd05596-_0x535fc2._0x4e3348);}_0x21232a['setTodos'](_0x3b1a51,_0x3993ce);const _0x7a689b=_0x21232a[_0xdadd80(-0x152,0x24,-0x2e9,-0x16b)](_0x3b1a51),_0x3d558f=_0x3993ce[_0x40dde7(0x6b,0x16,0x197,-0x30)]>0x0&&_0x3993ce[_0xdadd80(-0x209,-_0x21be17._0x5cf133,-_0x21be17._0x338c44,-_0x21be17._0x1958b6)](_0x2c253d=>_0x2c253d[_0x40dde7(-0xb0,-0x120,-0x192,-0xef)]===_0xdadd80(0x1bc,0x2e7,0x31f,0x1c2));return createToolOutput(createOutputText(_0x3993ce,_0x3d558f),createStructuredResult(_0x3b1a51,_0x3993ce,_0x7a689b,_0x3d558f));}});}import{mkdir as _0x2568df,writeFile as _0x2efb8e}from'fs/promises';import*as _0x452a0c from'path';function sanitizeFileName(_0x1a94c2){return _0x1a94c2['replace'](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x9abf25,_0x1e4eed){const _0xeb622={_0x4399e9:0x263,_0xc8e7a2:0x160,_0x243800:0x130,_0x26a79c:0x45,_0x14f2b7:0x2dc,_0x296fff:0x128,_0x36edce:0x46,_0x2820cf:0x229,_0x3b9525:0x197,_0x187582:0x24a,_0x1a40b1:0x19f,_0x298b64:0x48,_0x3df113:0x33e,_0x8be1c6:0x82,_0x4098fc:0x16c,_0x53ebf5:0x1c,_0x2bf6a0:0x32b,_0x54bad1:0x246,_0xeebd70:0x21a,_0x2e6d45:0x3f,_0x35b419:0x97,_0x36e835:0x5c,_0x31f22a:0xed,_0x10c7a1:0x22e,_0x5680c0:0x230,_0x5729c0:0x93,_0xb19f35:0xef,_0x508471:0x1ec,_0x3e2b0b:0x31f,_0x4d3df6:0x273,_0x41331c:0x6,_0x3b7b84:0x130,_0x3174ec:0x92,_0xef4283:0x49,_0x1f1ed2:0x2cf,_0x4376bb:0x147,_0x18355e:0x99,_0x30cda9:0x6a,_0x233d2a:0x33,_0x39291d:0xe9,_0x5944a4:0x1b,_0x5a7b8c:0x69,_0x1121c2:0x2f0,_0x388ff3:0x122,_0x125aaa:0x26,_0x903b92:0x13c,_0x35c76d:0xd8,_0x1eb7a0:0x12f,_0x512241:0x179,_0x3a2f6c:0x2c8,_0x26a726:0x1d0,_0xd34378:0x97,_0x59d44e:0x22d,_0x10f725:0xf4,_0xa3c6a0:0x379},_0x3b3cc7={_0x55bffd:0x15e,_0x4be91e:0x26b},_0x501ef2={_0x1c44dd:0x130},{maxBytes:_0x44114f,sessionDir:_0x1dd81f}=_0x1e4eed;if(!_0x9abf25[_0x1f9f92(0x85,_0xeb622._0x4399e9,_0xeb622._0xc8e7a2,_0xeb622._0x243800)]||Buffer[_0x57eef0(-_0xeb622._0x26a79c,-_0xeb622._0x14f2b7,-0x19f,-0x12)](_0x9abf25[_0x1f9f92(0x11e,_0xeb622._0x296fff,-_0xeb622._0x36edce,_0xeb622._0x243800)],_0x57eef0(-_0xeb622._0x2820cf,-0x14d,-_0xeb622._0x3b9525,-0x1b8))<=_0x44114f)return _0x9abf25;const _0x24156a=Buffer[_0x57eef0(-0x349,-_0xeb622._0x187582,-_0xeb622._0x1a40b1,-_0xeb622._0x298b64)](_0x9abf25[_0x1f9f92(-0x2b,0x1b9,-0x22,0x130)],_0x57eef0(-0x1ec,-_0xeb622._0x3df113,-_0xeb622._0x3b9525,-0x8b));if(!_0x1dd81f){const _0x57c6b9=_0x9abf25['output']['slice'](0x0,_0x44114f);return{..._0x9abf25,'output':_0x57c6b9+(_0x1f9f92(_0xeb622._0x8be1c6,-_0xeb622._0x4098fc,_0xeb622._0x53ebf5,0x21)+_0x44114f+'\x20bytes\x20(original:\x20'+_0x24156a+_0x1f9f92(0x138,_0xeb622._0x2bf6a0,_0xeb622._0x54bad1,_0xeb622._0xeebd70)),'meta':{..._0x9abf25[_0x1f9f92(_0xeb622._0x2e6d45,-0x68,-0x163,-0x97)],'truncated':!![],'originalBytes':_0x24156a,'transforms':[..._0x9abf25[_0x1f9f92(-_0xeb622._0x35b419,-_0xeb622._0x36e835,0x2c,-0x97)]['transforms'],'tool-output-offload']}};}const _0x326e58=_0x9abf25[_0x57eef0(-0xe2,-_0xeb622._0x31f22a,0x9c,-0x4d)]+'_'+sanitizeFileName(_0x9abf25[_0x1f9f92(0xc0,_0xeb622._0x10c7a1,-0x3d,0x7f)])+_0x57eef0(-_0xeb622._0x5680c0,0x3a,-_0xeb622._0x5729c0,_0xeb622._0xb19f35),_0x3632b7=_0x452a0c[_0x1f9f92(_0xeb622._0x508471,0x218,_0xeb622._0x3e2b0b,_0xeb622._0x4d3df6)](_0x1dd81f,_0x326e58);await _0x2568df(_0x1dd81f,{'recursive':!![]});function _0x1f9f92(_0x430ab1,_0xe00448,_0x522766,_0x52dc42){return _0x4bfe88(_0x52dc42- -0x247,_0xe00448-0x151,_0x522766-_0x501ef2._0x1c44dd,_0x522766);}await _0x2efb8e(_0x3632b7,_0x9abf25[_0x1f9f92(0x2df,-0x45,-_0xeb622._0x41331c,_0xeb622._0x3b7b84)],'utf8');function _0x57eef0(_0x4b8597,_0x5cddb9,_0x5abf54,_0xb705ea){return _0x5469ba(_0x4b8597,_0x5cddb9-_0x3b3cc7._0x55bffd,_0x5abf54-0x30,_0x5abf54- -_0x3b3cc7._0x4be91e);}let _0x1ee0e6=_0x9abf25[_0x57eef0(-0x80,_0xeb622._0x3174ec,_0xeb622._0xef4283,-0x6f)][_0x57eef0(_0xeb622._0x1f1ed2,0x8b,_0xeb622._0x4376bb,0x85)](0x0,_0x44114f);const _0x32e7ec=_0x1ee0e6[_0x57eef0(0x131,_0xeb622._0x18355e,-0x82,_0xeb622._0x30cda9)]('\x0a');_0x32e7ec>_0x44114f*0.5&&(_0x1ee0e6=_0x1ee0e6[_0x1f9f92(0x19b,0x85,0x9b,0x22e)](0x0,_0x32e7ec));const _0x5cba90=['',_0x57eef0(0x12f,-_0xeb622._0x233d2a,0xcd,0x16c),_0x1f9f92(0x5c,-0x2,_0xeb622._0x39291d,_0xeb622._0x5944a4)+_0x44114f+'\x20bytes\x20(total:\x20'+_0x24156a+_0x1f9f92(-0xd1,-0x162,0x109,-_0xeb622._0x5a7b8c),_0x57eef0(-_0xeb622._0x1121c2,-_0xeb622._0x388ff3,-0x1b0,-0x163)+_0x3632b7,_0x57eef0(0x17b,_0xeb622._0x125aaa,_0xeb622._0x903b92,0x20c),_0x57eef0(0x7c,0x144,_0xeb622._0x35c76d,_0xeb622._0x1eb7a0)][_0x57eef0(_0xeb622._0x512241,_0xeb622._0x3a2f6c,0x18c,0xe7)]('\x0a');return{..._0x9abf25,'output':_0x1ee0e6+_0x5cba90,'meta':{..._0x9abf25[_0x1f9f92(0x6c,-0x233,-_0xeb622._0x26a726,-_0xeb622._0xd34378)],'truncated':!![],'originalBytes':_0x24156a,'transforms':[..._0x9abf25[_0x57eef0(-_0xeb622._0x59d44e,-_0xeb622._0x10f725,-0x17e,-0x2d2)]['transforms'],_0x57eef0(-0x12a,-0x6b,-0x1c8,-_0xeb622._0xa3c6a0)]}};}function createUpdateTopicTool(){const _0x3f5d20={_0x43cc3d:0x6bc,_0x40b5ea:0x408,_0x4204b7:0x4dd,_0x19ec24:0x3d2,_0x316a29:0x5c7,_0x2eabbc:0x642,_0xb0553d:0x5ba,_0x169e1c:0x627,_0x10b91e:0x4de,_0x4d5fb4:0x703,_0x55e0ca:0x604,_0x4c0672:0x744},_0x2ba616={_0x559bf0:0x48a,_0x5889e8:0x31d,_0x5b4bc7:0x10f,_0xc8d7eb:0x114,_0x3a076d:0x29,_0x842e8d:0x268,_0x5d9c2a:0x27f,_0x52e11f:0x1f9},_0x5594e4={_0x1a8b53:0x138,_0x276e76:0x109},_0x1ca4f5={_0x44144f:0x73,_0x2c0906:0x1e7,_0x5e3f06:0x420},_0x425c13={_0x5a3ec4:0x194,_0x1b8429:0xf3},_0x201f8f={_0x2285ba:0x12b,_0x52e29a:0x1a9};function _0x1ef305(_0x44cf92,_0x58ec5b,_0x38824e,_0xd1dd3f){return _0x4bfe88(_0xd1dd3f-_0x201f8f._0x2285ba,_0x58ec5b-_0x201f8f._0x52e29a,_0x38824e-_0x201f8f._0x52e29a,_0x44cf92);}function _0x2e2113(_0x593bbb,_0x487f9e,_0x1400f7,_0xe1ef3e){return _0x5469ba(_0xe1ef3e,_0x487f9e-_0x425c13._0x5a3ec4,_0x1400f7-_0x425c13._0x1b8429,_0x1400f7-0x33e);}return defineTool({'name':_0x1ef305(0x659,_0x3f5d20._0x43cc3d,_0x3f5d20._0x40b5ea,0x51b),'permissionClass':_0x1ef305(_0x3f5d20._0x4204b7,0x403,0x317,_0x3f5d20._0x19ec24),'description':'Set\x20a\x20concise\x203-6\x20word\x20noun-phrase\x20session\x20topic\x20when\x20the\x20main\x20subject\x20becomes\x20clear\x20or\x20materially\x20changes.\x20Skip\x20minor\x20tangents.\x20Prefer\x20\x22Debug\x20TS\x20generics\x20error\x22;\x20avoid\x20full\x20sentences\x20or\x20vague\x20labels\x20such\x20as\x20\x22coding\x22.','inputSchema':{'type':_0x2e2113(_0x3f5d20._0x316a29,_0x3f5d20._0x2eabbc,0x576,_0x3f5d20._0xb0553d),'properties':{'topic':{'type':_0x2e2113(_0x3f5d20._0x169e1c,0x50b,0x4ae,_0x3f5d20._0x10b91e)}},'required':[_0x2e2113(0x5bf,_0x3f5d20._0x4d5fb4,_0x3f5d20._0x55e0ca,_0x3f5d20._0x4c0672)]},async *'execute'(_0xf335d7,_0x469f3e){function _0x2d880c(_0x47bbfe,_0xcca4a4,_0x36e720,_0x5a9f6b){return _0x1ef305(_0x47bbfe,_0xcca4a4-_0x1ca4f5._0x44144f,_0x36e720-_0x1ca4f5._0x2c0906,_0xcca4a4- -_0x1ca4f5._0x5e3f06);}const {topic:_0x3b5392}=_0xf335d7;if(typeof _0x3b5392!==_0x363612(0x467,0x538,_0x2ba616._0x559bf0,_0x2ba616._0x5889e8)||_0x3b5392['trim']()[_0x2d880c(-0xaf,0xa9,_0x2ba616._0x5b4bc7,_0x2ba616._0xc8d7eb)]===0x0)throw new ToolExecutionError('topic\x20must\x20be\x20a\x20non-empty\x20string',{'error':'invalid_topic'});const _0x2acb52=_0x3b5392[_0x2d880c(_0x2ba616._0x3a076d,0x19c,_0x2ba616._0x842e8d,_0x2ba616._0x5d9c2a)]();_0x469f3e['setTopic']?.(_0x2acb52);function _0x363612(_0x45bbda,_0x541a9e,_0x2380bc,_0x3c5dda){return _0x1ef305(_0x541a9e,_0x541a9e-0x156,_0x2380bc-_0x5594e4._0x1a8b53,_0x45bbda-_0x5594e4._0x276e76);}return yield createToolOutput(_0x2d880c(-0x1fd,-0x14a,-_0x2ba616._0x52e11f,-0x155)+_0x2acb52+'\x22',{'topic':_0x2acb52}),void 0x0;}});}import{readFile as _0x54cb55,stat as _0x497b47}from'fs/promises';import*as _0x1feb75 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x4bfe88(0x3f5,0x3b3,0x57d,0x407),_0x5469ba(0x38c,0x211,0x25d,0x2bb),_0x5469ba(0x98,0x143,0x24f,0x1f0),_0x5469ba(0x19c,0x49e,0x1c4,0x305)]),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x440322,_0x441ea1){const _0x32cc76={_0x3591e7:0x5ce,_0x17ef94:0x453,_0x4fec51:0x3a4,_0xbcf089:0x89,_0x79d7db:0x284,_0x158aa9:0x1e7,_0xc74a84:0x4e5,_0x5ae039:0x566,_0x1f9656:0x27d,_0xa18445:0x33b,_0x1c8acc:0x53b,_0x33a04d:0x476,_0x5400e1:0x316,_0x31341c:0x3cc,_0x4ab5f0:0x2d0,_0x873e72:0x407,_0x3a0dce:0x276,_0x32c06a:0x1bf,_0x32f6c8:0x205,_0x30d083:0x1f,_0x284491:0x25f,_0x59395a:0x256,_0x1de763:0x172,_0x2a0fa4:0x1d3,_0x5d3b1a:0x593,_0x52de48:0x2f3,_0x522139:0x392,_0x36819a:0x15d,_0x3ec5bf:0x24b,_0x2af092:0x30d,_0x2e6937:0x2d3,_0x432c66:0x2fa,_0x339723:0x344,_0x593a77:0x25b,_0x24faab:0x25d,_0x5e4edd:0x429,_0x38b305:0x2e2,_0xab5210:0x13f,_0x124756:0x74,_0x52f2b3:0x47d,_0x27cca4:0x499,_0x473df4:0x567},_0x4e0658={_0x25a951:0x15b};if(_0x440322['subarray'](0x0,0x8)['equals'](PNG_SIGNATURE))return _0x8c6d2e(_0x32cc76._0x3591e7,0x351,_0x32cc76._0x17ef94,_0x32cc76._0x4fec51);if(_0x440322[0x0]===0xff&&_0x440322[0x1]===0xd8&&_0x440322[0x2]===0xff)return _0x3565f6(0x1d3,0x3f,_0x32cc76._0xbcf089,0x2ef);const _0x417063=_0x440322[_0x8c6d2e(0x3ff,0x5c5,0x53d,0x41e)](0x0,0x6)['toString'](_0x3565f6(0x15f,_0x32cc76._0x79d7db,_0x32cc76._0x158aa9,0x64));function _0x3565f6(_0x125f01,_0x46fe89,_0x46e0bb,_0x1f3b51){return _0x4bfe88(_0x125f01- -0x176,_0x46fe89-0xd6,_0x46e0bb-0x176,_0x1f3b51);}if(_0x417063==='GIF87a'||_0x417063===_0x8c6d2e(0x520,_0x32cc76._0xc74a84,0x448,_0x32cc76._0x5ae039))return _0x3565f6(0x159,0x72,0x236,_0x32cc76._0x1f9656);if(_0x440322[_0x3565f6(0x2d0,0x402,_0x32cc76._0xa18445,0x270)](0x0,0x4)[_0x8c6d2e(0x1ec,_0x32cc76._0x1c8acc,0x39d,_0x32cc76._0x33a04d)](_0x8c6d2e(0x4fe,_0x32cc76._0x5400e1,_0x32cc76._0x31341c,0x46e))==='RIFF'&&_0x440322[_0x3565f6(_0x32cc76._0x4ab5f0,_0x32cc76._0x873e72,_0x32cc76._0x3a0dce,_0x32cc76._0x32c06a)](0x8,0xc)['toString']('ascii')===_0x3565f6(0xda,_0x32cc76._0x32f6c8,_0x32cc76._0x30d083,0xeb))return _0x3565f6(_0x32cc76._0x284491,_0x32cc76._0x59395a,_0x32cc76._0x1de763,_0x32cc76._0x2a0fa4);const _0x49e7ab=_0x1feb75[_0x8c6d2e(_0x32cc76._0x5d3b1a,_0x32cc76._0x52de48,_0x32cc76._0x873e72,0x525)](_0x441ea1)[_0x3565f6(0x212,0x125,_0x32cc76._0x522139,0x1d6)]();if(_0x49e7ab===_0x8c6d2e(_0x32cc76._0x36819a,_0x32cc76._0x3ec5bf,_0x32cc76._0x2af092,_0x32cc76._0x2e6937))return'image/png';if(_0x49e7ab===_0x8c6d2e(0x34e,0x2fa,_0x32cc76._0x432c66,0x345)||_0x49e7ab===_0x8c6d2e(_0x32cc76._0x339723,0x197,_0x32cc76._0x593a77,_0x32cc76._0x24faab))return _0x3565f6(_0x32cc76._0x2a0fa4,0x3e,0x1a4,0xdf);function _0x8c6d2e(_0x2dc1e2,_0x46928f,_0x4780cb,_0x2b636d){return _0x5469ba(_0x2b636d,_0x46928f-_0x4e0658._0x25a951,_0x4780cb-0xf3,_0x4780cb-0x1ba);}if(_0x49e7ab===_0x3565f6(0x321,0x3c8,0x35b,_0x32cc76._0x5e4edd))return _0x3565f6(0x159,_0x32cc76._0x38b305,_0x32cc76._0xab5210,_0x32cc76._0x124756);if(_0x49e7ab===_0x8c6d2e(_0x32cc76._0x52f2b3,_0x32cc76._0x27cca4,_0x32cc76._0x473df4,0x512))return'image/webp';return void 0x0;}function normalizeDetail(_0x2530cb){const _0x2deadc={_0x18db12:0x130,_0x2cb841:0xd7,_0x552625:0x278,_0x385f44:0x6d,_0x5d6705:0x174,_0x3b7394:0x341,_0x56df51:0x39a},_0x2bea02={_0x283372:0x39c},_0x4374e4={_0x298b0f:0xfd,_0x7acf3a:0xd0};function _0x134c9d(_0x5c9ded,_0x3d2a38,_0x35486e,_0x382c24){return _0x5469ba(_0x3d2a38,_0x3d2a38-0x3b,_0x35486e-_0x4374e4._0x298b0f,_0x35486e-_0x4374e4._0x7acf3a);}if(_0x2530cb===void 0x0)return void 0x0;const _0x2ae087=_0x2530cb[_0x250051(0x32,-0xc,0x45,-_0x2deadc._0x18db12)]()[_0x250051(-_0x2deadc._0x2cb841,-_0x2deadc._0x552625,-_0x2deadc._0x385f44,-0x1a0)]();function _0x250051(_0x5065ae,_0x548ea0,_0xefad9d,_0x32f0db){return _0x5469ba(_0x548ea0,_0x548ea0-0x1b2,_0xefad9d-0x6b,_0x5065ae- -_0x2bea02._0x283372);}if(!SUPPORTED_DETAILS[_0x134c9d(_0x2deadc._0x5d6705,_0x2deadc._0x3b7394,0x2c7,_0x2deadc._0x56df51)](_0x2ae087))throw new ToolExecutionError('Unsupported\x20image\x20detail\x20level:\x20'+_0x2530cb,{'detail':_0x2530cb});return _0x2ae087;}function createViewFileTool(_0x249ba9={}){const _0x163685={_0x4fcd72:0x656,_0x215349:0x654,_0x4c9658:0x57a,_0x1156b1:0x323,_0x3024b8:0x63b,_0x2b77a2:0x39e,_0x26f88a:0x48c,_0x37dc22:0x3ab,_0x5622e7:0x36c,_0x16d563:0x3e2,_0x1ea2f6:0x588,_0x371a09:0x4af,_0x6dd6d:0x407,_0x5e4313:0x460,_0x191c87:0x48c,_0x2ffedb:0x33b,_0x29efe2:0x667,_0x2d738f:0x36a,_0x403000:0x5c5,_0x3fc891:0x56d,_0x47213d:0x4ce,_0x39e21d:0x25d,_0x289d2:0x32b,_0x3679e0:0x4d1,_0x183881:0x404,_0x3d1e23:0x457},_0xebb392={_0x3b947e:0x21c,_0x8549e6:0x784,_0x44bef6:0x5dd,_0x5e397f:0x62d,_0x1bf560:0x489,_0x358a2b:0x51f,_0x317ad9:0x65c,_0xcc4ba8:0x670,_0x1a0bec:0x60e,_0x11eaae:0x65d,_0x15cdcd:0x58b,_0x25b1c9:0x602,_0x2c323c:0x93,_0x37be51:0xd3,_0x624540:0x181,_0x4c953d:0x117,_0x152703:0x2c8,_0xbf2e5a:0x13c,_0x2db3d0:0x43a,_0x3aff61:0x4be,_0x58b65a:0x59f,_0x317a68:0x274,_0x253869:0x173,_0x43cf3d:0x265,_0x2c9339:0x539,_0x4f87a3:0x450,_0x16e00a:0x6c7,_0x196b7e:0x735,_0x23aff9:0x67a,_0x17c3c7:0x73b,_0x516a57:0x7a9,_0x53f739:0x65a,_0x3325d3:0x603,_0x444fcc:0xb6,_0x553f29:0xa8,_0x47429e:0x1b5,_0x4e21aa:0x2d2,_0x163faa:0x33a,_0xf23c6a:0x3c9,_0x20c371:0x420,_0x52db44:0x51f,_0x2dd003:0x4bb,_0x355068:0x58,_0x2bdeb7:0x741,_0x3ba91c:0x5c4,_0x111009:0x5fd},_0x129dc3={_0x2ce14d:0xe2},_0xfa22b9={_0x4a9595:0x59};function _0x1bf849(_0x7483c2,_0x123cd5,_0x389e17,_0xe6e676){return _0x4bfe88(_0x123cd5-0x272,_0x123cd5-0x106,_0x389e17-_0xfa22b9._0x4a9595,_0x389e17);}const _0x20949e=_0x1feb75[_0x1bf849(_0x163685._0x4fcd72,_0x163685._0x215349,_0x163685._0x4c9658,0x52a)](_0x249ba9[_0x1bf849(0x681,0x4ff,0x4e9,0x41f)]??process[_0x55e4ac(_0x163685._0x1156b1,_0x163685._0x3024b8,_0x163685._0x2b77a2,_0x163685._0x26f88a)]());function _0x55e4ac(_0x56fee9,_0x25d38c,_0x51875e,_0x5e7da6){return _0x4bfe88(_0x5e7da6-0xf8,_0x25d38c-_0x129dc3._0x2ce14d,_0x51875e-0x12c,_0x51875e);}const _0x2da8c9=_0x249ba9[_0x55e4ac(_0x163685._0x37dc22,_0x163685._0x5622e7,0x354,_0x163685._0x16d563)]??[],_0x54f91d=_0x249ba9['maxBytes']??DEFAULT_MAX_BYTES,_0x33bf49=_0x249ba9[_0x1bf849(_0x163685._0x1ea2f6,_0x163685._0x371a09,0x5df,_0x163685._0x6dd6d)]??_0x1bf849(_0x163685._0x5e4313,_0x163685._0x191c87,0x499,_0x163685._0x2ffedb);return defineTool({'name':_0x33bf49,'permissionClass':_0x1bf849(_0x163685._0x29efe2,0x519,0x481,_0x163685._0x2d738f),'description':'Inspect\x20a\x20PNG,\x20JPEG,\x20WebP,\x20or\x20GIF\x20image\x20from\x20the\x20workspace\x20or\x20allowed\x20directories.\x20Use\x20FileRead\x20for\x20text.','inputSchema':{'type':_0x1bf849(_0x163685._0x403000,_0x163685._0x3fc891,0x5e8,0x487),'properties':{'path':{'type':_0x1bf849(0x520,0x4a5,0x54f,0x45a)},'detail':{'type':_0x55e4ac(_0x163685._0x47213d,_0x163685._0x39e21d,_0x163685._0x289d2,0x32b)}},'required':[_0x55e4ac(_0x163685._0x3679e0,0x449,_0x163685._0x183881,_0x163685._0x3d1e23)]},async *'execute'(_0xb3c844){function _0x17126e(_0x9c9936,_0x3d8d88,_0x267f45,_0x2c743b){return _0x1bf849(_0x9c9936-0x1ec,_0x3d8d88- -0x3b5,_0x2c743b,_0x2c743b-0x7d);}const _0x22d66a=resolveAllowedPath(_0x20949e,_0x2da8c9,_0xb3c844[_0x17126e(0x2d6,_0xebb392._0x3b947e,0x18f,0x26c)]);await assertWorkspaceFile(_0x22d66a);const _0x53ec35=await _0x497b47(_0x22d66a);if(_0x53ec35['size']>_0x54f91d)throw new ToolExecutionError(_0x5d001e(_0xebb392._0x8549e6,0x775,0x448,_0xebb392._0x44bef6)+_0xb3c844[_0x5d001e(0x382,0x524,0x56f,0x51f)],{'path':_0xb3c844[_0x5d001e(_0xebb392._0x5e397f,_0xebb392._0x1bf560,0x668,_0xebb392._0x358a2b)],'maxBytes':_0x54f91d,'size':_0x53ec35[_0x5d001e(0x614,_0xebb392._0x317ad9,_0xebb392._0xcc4ba8,0x59f)]});const _0x192c37=await _0x54cb55(_0x22d66a),_0x5c4e02=detectImageMediaType(_0x192c37,_0x22d66a);if(!_0x5c4e02)throw new ToolExecutionError(_0x5d001e(_0xebb392._0x1a0bec,0x5eb,0x696,_0xebb392._0x11eaae)+_0xb3c844[_0x5d001e(0x45d,_0xebb392._0x15cdcd,_0xebb392._0x25b1c9,0x51f)],{'path':_0xb3c844[_0x17126e(0x247,_0xebb392._0x3b947e,0x26d,0x258)],'supported':['.gif','.jpeg','.jpg',_0x17126e(_0xebb392._0x2c323c,_0xebb392._0x37be51,_0xebb392._0x624540,-0x63),'.webp']});function _0x5d001e(_0x5673cb,_0x36a724,_0x13fcbc,_0x39a90f){return _0x1bf849(_0x5673cb-0x2a,_0x39a90f- -0xb2,_0x13fcbc,_0x39a90f-0xe6);}const _0x4cf9d6=normalizeDetail(_0xb3c844[_0x17126e(_0xebb392._0x4c953d,_0xebb392._0x152703,_0xebb392._0xbf2e5a,0x3c2)]),_0x32dc66=[_0x5d001e(_0xebb392._0x2db3d0,0x520,0x240,0x3b7)+_0xb3c844['path'],'MIME:\x20'+_0x5c4e02,_0x5d001e(_0xebb392._0x3aff61,0x54d,0x4db,0x5db)+_0x53ec35[_0x5d001e(0x6a2,0x408,0x5cf,_0xebb392._0x58b65a)]+_0x5d001e(_0xebb392._0x317a68,_0xebb392._0x253869,_0xebb392._0x43cf3d,0x32b)]['concat'](_0x4cf9d6?[_0x5d001e(_0xebb392._0x2c9339,0x42f,0x35f,_0xebb392._0x4f87a3)+_0x4cf9d6]:[])[_0x5d001e(_0xebb392._0x16e00a,0x717,_0xebb392._0x196b7e,_0xebb392._0x23aff9)]('\x0a'),_0x599082=[{'type':_0x5d001e(_0xebb392._0x17c3c7,_0xebb392._0x516a57,_0xebb392._0x53f739,_0xebb392._0x3325d3),'source':{'type':_0x17126e(_0xebb392._0x444fcc,0x1ce,0x1ca,0x33f),'media_type':_0x5c4e02,'data':_0x192c37['toString'](_0x17126e(_0xebb392._0x553f29,0x1ce,_0xebb392._0x47429e,_0xebb392._0x4e21aa))}},{'type':_0x17126e(_0xebb392._0x163faa,0x32e,0x25d,_0xebb392._0xf23c6a),'text':_0x32dc66}];return yield createToolOutput(_0x32dc66,{'path':_0xb3c844[_0x5d001e(0x67a,0x64e,_0xebb392._0x20c371,_0xebb392._0x52db44)],'resolvedPath':_0x22d66a,'created':_0x53ec35['birthtime']['toISOString'](),'modified':_0x53ec35[_0x17126e(0x4fd,0x38e,0x355,_0xebb392._0x2dd003)][_0x17126e(-_0xebb392._0x355068,0x43,-0x7b,-0x88)](),'size':_0x53ec35[_0x5d001e(_0xebb392._0x2bdeb7,_0xebb392._0x3ba91c,_0xebb392._0x111009,_0xebb392._0x58b65a)],'mimeType':_0x5c4e02,'encoding':'base64',..._0x4cf9d6?{'detail':_0x4cf9d6}:{}},_0x599082),void 0x0;}});}import _0x5eea03 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x4ee3a9=>{const _0x56da90={_0x3b1265:0x221,_0x2fdb91:0x42d,_0x12f99e:0x344},_0x584936={_0x288628:0x172,_0x5ada19:0xd8},{lookup:_0x516070}=await import(_0x2a1edd(_0x56da90._0x3b1265,_0x56da90._0x2fdb91,0x1db,_0x56da90._0x12f99e));function _0x2a1edd(_0x59671b,_0x1978d8,_0x175c50,_0x2ba920){return _0x4bfe88(_0x2ba920-_0x584936._0x288628,_0x1978d8-_0x584936._0x5ada19,_0x175c50-0x1bc,_0x59671b);}return _0x516070(_0x4ee3a9,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x55f4b9){const _0x10088f={_0x2f0876:0x34d,_0x5dfabe:0x524,_0x21cd4d:0x44c,_0x477fa4:0x1cf,_0x244870:0x27e,_0x15b250:0x1c4,_0x595e1b:0x4a},_0x51805d={_0x4aa02a:0x13e,_0x8761fd:0x17c},_0x11717b={_0x5f1962:0x221,_0x13e2f2:0x23},_0x369e1e=_0x55f4b9[_0x16543c(0x4d3,_0x10088f._0x2f0876,_0x10088f._0x5dfabe,_0x10088f._0x21cd4d)]('.');if(_0x369e1e['length']!==0x4)return null;let _0x54358f=0x0;function _0x16543c(_0x31fe3c,_0x58bc48,_0x2c8a3b,_0x1b69ad){return _0x4bfe88(_0x31fe3c-_0x11717b._0x5f1962,_0x58bc48-0x3f,_0x2c8a3b-_0x11717b._0x13e2f2,_0x58bc48);}for(const _0x267f20 of _0x369e1e){if(!/^\d{1,3}$/[_0x384ea8(_0x10088f._0x477fa4,_0x10088f._0x244870,_0x10088f._0x15b250,_0x10088f._0x595e1b)](_0x267f20))return null;const _0x2086a3=Number(_0x267f20);if(_0x2086a3>0xff)return null;_0x54358f=_0x54358f*0x100+_0x2086a3;}function _0x384ea8(_0x160bac,_0x6e1a49,_0x212b94,_0x121c6a){return _0x4bfe88(_0x160bac- -_0x51805d._0x4aa02a,_0x6e1a49-_0x51805d._0x8761fd,_0x212b94-0x150,_0x212b94);}return _0x54358f>>>0x0;}function _0x4c1b(){const _0x5034f3=['BwLU','cMbGya','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','sfruuca','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','yMfJA2DYB3vUzfjLz2LZDhj5','z2v0','DgvYBwLUyxrL','B3bLBNjVDxrLCG','y29KzvzLCMLMAwvY','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','uMvHC29UAw5NigrLzMf1BhqGiG','CMvZB2X2zvrLCM1PBMfS','Aw1Hz2uVANbLzW','ndaXmty2zMzNDwzr','yMvHCMvY','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','qMfZAe91Dhb1Da','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','zgvSzwDHDgvKlxj1BI0','r0LgodLH','D2fPDezVCKrPywDUB3n0AwnZ','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','o1TE','B3bLBKzPBgvZ','qxv0Ag9YAxPHDgLVBG','AwDUB3jLt3v0Chv0','BxvSDgLtzwXLy3q','yxjNDw1LBNriAw50','ywXSu2v0DgXLza','Aw1Hz2uVCg5N','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','Dw5RBM93BG','Cgf0Aa','CgXHAw50zxH0','zMLYC3q','l29WDc9OB21LyNjLDY9IAw4VCMC','y2fWywjPBgL0AwvZ','u0Lhs0Lmta','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','Aw5WDxq','Aw50','rMv0y2GGDgLTzwqGB3v0','Aw5KzxHpzG','ienHDxnLoIa','C2vZC2LVBG','ihrVB2WGzgLZy292zxj5igzHAwXLza','zgLZy292zxj5u3rHDgu','zwzMB3j0','DMfSDwu','yMLYDgH0Aw1L','ignOyxjZigrYB3bWzwrDcG','z29Vz2XLq3nLq3G','C2vUze5VDgLMAwnHDgLVBG','C29Tzq','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','B3v0Chv0','CMfUz2u','qMfZzsbKAxjLy3rVCNK6ia','Aw5JB21PBMDdywXSCW','mc4WlJaUma','yNjVA2vU','icHWAwqG','AgLNAa','rMLSzsb3CML0DgvUigf0ia','zgvSAxzLCMvK','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','ywXSB3DLzfrVB2XZ','zgvUBY5QC29UyW','zMLUywXnzxnZywDLvgv4Da','y2XPzw50twv0ywrHDgfvCMW','ignVBM5Ly3rPB24GDgLTzwqGB3v0','Dgf2AwX5qxbPs2v5','Dg9mB3DLCKnHC2u','Dg9WAwm','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','z2XVyG','C2vSzwn0Aw9UuMfUz2u','Dg9KB3ncEvnLC3nPB24','EwfYBI5SB2nR','DxrTx21LzgL1Bq','BwfUDwfS','AxnjBNrLz2vY','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','C291CMnL','y3DK','BwnWlxjLCxvLC3qTDgLTzw91Da','ntzpzK5Htwy','CgfJA2fNzxm','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','t1bftKfjx0fqsv9lrvK','yxr0ywnO','DhLWzxnJCMLWDa','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','Aw5JBhvKzxm','BgvUz3rO','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','lMnQCW','tM8GAg92zxiGAw5MB3jTyxrPB24','BwnWlxnKAY1JBgLLBNqTzxjYB3i','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','B25Jzq','zxjYB3jZ','BxmU','CxvLC3rPB25Z','ChvIBgLZAgvKqxq','z2v0t3DUuhjVCgvYDhLoyw1LCW','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','CMvZDwX0CW','BgfIzwW','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','lNrTCc4','DwX0CMe','z29uB0rLzMLUAxrPB24','C3jJl2v4yw1WBgvZl2rLBw8UDhm','CMvUzgvYu3LZDgvTuhjVBxb0','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','A2LSBgvK','y2fJAgvK','DhnJ','ignVBxbSzxrLzc4','B2XKvgv4Da','C3rHCNq','zgvLChnLzwS','yMfZAa','Aw1Hz2vZ','D2LUmZi','CgfJA2fNzs1SB2nRlMPZB24','Cg5WBs1SB2nRlNLHBwW','BNvTyMvY','y2HHCMfJDgvY','tu9ptLnit1rFqvbjx0Tfwq','DhjHBNnMB3jT','CM9VDa','D2vI','yxbWBgLJyxrPB24VANnVBG','C2nVCgvZ','B3jPz2LUywW','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','Dg9VBe5HBwu','Dg9vChbLCKnHC2u','qwXSia','z29uB0LTCgXLBwvUDgf0Aw9U','C2vHCMnOvhLWzq','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','A2v5yMLUzgLUz3m','BNbT','CMvZzxq','BgLZDfrVB2XZ','zMLSDgvY','Aw1Hz2uVD2vICa','A2LSBfjLCxvLC3rLza','B2XSyw1H','z2L0AhvI','DxrTx3rLCM0','DhnZzxj2zxiUANm','v2LUr2v0','DgvYBwLUywXqCM9TAxnL','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','Aw52ywXPzf90B2rVx3n0yxr1CW','C2L6zq','y291BNq','zMvUy2vK','CMvZB2X2zq','zMLUza','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','CgfYC2vjBNq','Dg90ywW','C3rHDgu','C3rKB3v0rgvJB2rLCG','yMLVBwu','C29YDa','tM8GBg9JyxrPB25ZigzVDw5K','Ag9TzwrPCG','vw50AxrSzwq','Dg9VBhm','B3bLBG','vxbKyxrLvg9WAwm','CgfYC2u','y2XPzw50x3nLy3jLDf9WB3n0','ywX3yxLZlwnVBMzPCM0','y29Kzq','yxv0BW','ChjLCgfYzunHBgXiAwvYyxjJAhK','DhvYBMrVD24','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','lI4U','phn5C3rLBs1Yzw1PBMrLCJ4','ChjVy2vZC0v4AxrLza','mtbWwKntu3K','BMv3vgv4Da','tM8GC3LTyM9SCYbMB3vUza','CMvWBgfJzq','l2jPBI9IyxnO','Aw5JBhvKzv9KB21HAw5Z','ChjPB3jPDhK','Aw52ywXPzf9XDwvZDgLVBNm','CMvHzen1CNnVCG','pc9ZExn0zw0TCMvTAw5Kzxi+','zg9JDw1LBNrtEw1IB2W','zgLNzxn0','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','A2v5CW','zgv0ywLS','C3rVCMfNzurPCG','zgvSzxrL','tunqihnLCNzLCIa','ywrKrxzLBNrmAxn0zw5LCG','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','y29TBwfUza','CgLK','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','B2zMC2v0','t1bftKnprevFqvbjx0Tfwq','ywDLBNrZ','rMLSzuvKAxq','v2fYBMLUzW','Ahr0Chm6','C2vZC2LVBKLK','u2L6ztOG','CgvYBwLZC2LVBKnSyxnZ','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','DgfZA2TPBgW','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','BwfYA2rVD24','uMvXDwvZDfrPBwvVDxq','BM9UBMvNyxrPDMu','Aw52ywXPzf90B2rVx2L0zw0','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','DMvYAwz5rxHLy3v0Aw9U','D29YA3nWywnL','C2vYDMvY','B25oB3rPzMLJyxrPB24','BgLUzvrLEhq','Dg9Rzw4','tg9HzgvKigzYB206ia','Dg9VBfjLC3vSDhm','yxbWzw5K','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','CMvZzxj2yxrPB25Z','yM94zwq','Aw52ywXPzf90B2rVx2nVBNrLBNq','Aw52ywXPzf90B2rVx2LK','D3jPDgu','AgvHzgvYCW','zw51Bq','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','y2fSBgjHy2TvCMW','y2f0y2G','Aw5ZDgfSBa','CMvJzw5JEurHExm','lu5VuhjVzMLSzq','yMCT','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','yxjYyxK','yxbPs2v5','vw5HyMXLihrVihrLCM1PBMf0zsbIywnRz3jVDw5KihbYB2nLC3nLCZSGC2vZC2LVBIbVD25LCNnOAxaGD2fZihbYzxnLCNzLzc4','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','Aw1Hz2u','BwnWlwrPC2nVDMvYEs1MywLSzwq','y2fUrgLZywjSzq','C3vIyxjYyxK','DhnJB25MAwCUANnVBG','DgfZAW','zMLUAxrL','DgHPBMTPBMC','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','B3bLBMfPlxjLC3bVBNnLCY13CW','Dg90ywXeCM9WCgvK','v2vIrMv0y2G','y3jSzG','zgnZ','AxngAwXL','yxjNDw1LBNrZvgv4Da','C3bHD24','CxvLCNK','C2vUza','CMvXDwvZDhm','CMvSzwfZzq','yM9VBgvHBG','Aw1WBgvTzw50yxrPB24','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','qwDLBNqGCNvUia','B3v0y29Tzq','zxHPDgvK','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','iYmGu2TPBgW6ia','r0Lusfvcx0fdq0vtu19ut0TftG','tM8GCMvZDwX0CYbMB3vUzc4','DgvYBwLUyxrPB25qCM9TAxnL','Aw50zwDLCG','yw5ZD2vYCW','A2LTAq','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','Dg90ywXqCM9KDwnLza','DxjP','Ag92zxi','qMfJA2DYB3vUzcbWCM9JzxnZihjLC2vYDMf0Aw9UigLZig1PC3nPBMCGB3iGywXYzwfKEsbJB25ZDw1Lza','BhnW','lNDLyNa','Dgv4Da','oenNCvDzyG','B3b0Aw9UCW','CMvXDwvZDa','C2XPy2u','zgLZy292zxi','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','CMvZzxj2zq','ChjVDg9JB2W','DMfSDwvZ','Aw52ywXPzf90B2rVCW','q29TBwfUzcaN','CMvNAw9U','BgLMzwn5y2XL','C2H1DgrVD24','C2nYAxb0','y2fSBfrVB2W','C2TPBgXZ','Aw5JBhvKzq','B3b0Aw9UywW','yxnRvxnLCG','mty5lJi1nc4WlJa','z2v0vg9KB3m','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','BwnWlwnVBM5Ly3qTzMfPBgvK','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','ChjVy2vZC0DYB3vWswq','C3vKBW','Bwf4q29Uy3vYCMvUDa','B3bLBMfP','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','DhjPBq','vg9KBYa','zNvSzMLSBgvK','CgfJA2fNzu5HBwu','Ag9ZDa','l3vZCI9IAw4VC2G','lMDPzG','zgvZy3jPChrVCNm','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','y29TCgXLDgvK','CMvJB3jK','mtK4lJe4lJaUma','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','AxneAxjLy3rVCNK','ywjVCNrLza','yMLUza','uhjVz3jHBuzPBgvZ','ChjVDg90ExbL','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','CMvMzxjLBMnLCW','CMvHC29U','CgfYzw50u2vZC2LVBKLK','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','nZq4nJHAuLPKBMW','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','revfueLorLjbx0fqsv9lrvK','ls1MAwXLCW','CMvSyxrPDMu','mti3lJaUmc4W','BhnWlxbYB3H5','zxHPDenVzgu','igzHAwXLzc4','rgLHz25VC3rPyW','B25uzxjTAw5HBevYCM9Y','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','v2vIu2vHCMnO','ksbB','ls1OAwrKzw4','CMfJzq','C3rKB3v0','AM9PBG','lMnTza','Aw5qCM9NCMvZCW','DhLWzq','BgLUzu51Bq','uMvHC29UAw5Nig9WDgLVBIaI','CNnZ','Axnoyu4','y29UDgv4Da','z2nSAwq','z3jHy2vMDwXszxf1zxn0zwq','CMvNAxn0zxjby3rPDMvsDw4','zM9Yy2u','lMPZ','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','B3nJ','DxjS','C2vTyxbOB3jL','y29UBMvJDa','Aw5WDxrty2HLBwe','AgfUzgXL','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','BxrPBwu','yxr0CG','AwzYyw1L','lMPWzwC','C3rKB3v0tM9YBwfSAxPLCG','Dg9VBc1VDxrWDxqTB2zMBg9Hza','BNvT','zNvUy3rPB24','Cgf0DgvYBIbPCYbYzxf1AxjLza','y2XVC2u','igj5DgvZ','Dg9Rzw5tDg9YywDLs2v5','z2v0u3rHDhm','y2XPzw50','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','yxbWzw5KrgvJB2rLza','y29ZDa','BgLUAW','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','Aw50zxjUywXmAwzLy3LJBgu','BwLUAw1HBa','zw5NAw5L','yMLUyxj5tMfTzq','Dhj1zq','CxvLC3rPB24','CgLWzq','ue9tva','zhj5uNvU','yw5ZAte2','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','Bwf0y2HLCW','sw52ywXPzcbVDxrWDxrszwDLEdOG','C3rYAxbbBNnP','zxnJyxbL','zM9Yy2vszxf1zxn0zwq','BwvKAxvT','C3rKzxjYrgvJB2rLCG','Dg9ju09tDhjPBMC','ls1NBg9I','mtKYlJe2oc4WlJa','zMXVB3i','DgL0Bgu','CM9VDfbPza','zgLHz25VC3rPy3ngB3jgAwXL','B3bLCMf0Aw9U','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','yNL0zuXLBMD0Aa','AgvHzgvY','C3jJl3nOyxjLzc90ExbLCY50CW','B3v0Chv0uMvNzxG','DgLTzw91DfnVDxjJzq','CM91BMq','y29TBwfUzhm','zNjLzxPL','DxrMoa','iIbPCYbYzxnLCNzLza','B2zM','CMvMCMvZAf90B2TLBG','BwnWlwnSB3nLlwzHAwXLza','D2LUzg93CW','BM9Zy3jPChq','revfufnfruTFqvbjx0Tfwq','BgLZDgvU','y21KlMv4zq','C3rYAw5NAwz5','zMLSBa','BgfUzW','l3vZCI9IAw4VCMC','sw52ywXPzcbvuKWGCgfYyw1LDgvY','yw50AhjVCgLJlw1LC3nHz2vZ','Aw5FChjVz3jLC3m','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','yNvUlMXVy2S','vg9WAwmGC2v0ihrVici','r3jLCa','C2L0ztO','C2v0DgXLvgvYBwLUywW','lNrZ','Bwv0yq','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','y29UzMLYBwvK','oIbLEhbLy3rLzcbHihbVC2L0AxzLig51BwjLCG','z29Vz2XLq3nLs2v5','lM1QCW','lMPZB24','y3nP','C2v0vg9KB3m','DgvYBwLUywXtzxr0BgvK','DgvYBwLUyxrPB25tzxr0BgvK','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','y3jLyxrLzef0','yNvMzMvYq2HHCNm','ygbG','igzHAwXLzcb0BYbJB25Uzwn0','Bg9JyxrPB24','zxjYB3i','q291BgqGBM90ihjLC29SDMuGAg9ZDa','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','Cg9W','zMLSzvzLCNnPB25Z','uhjVz3jHBuzPBgvZkhG4nIK','zgLYzwn0B3j5','C2nYDwjfBNzlzxLZ','Dw5RBM93BIb0zxjTAw5HDgLVBIbLCNjVCG','A2LUza','uhjVy2vZCYa','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','B3jPz2LUvg9VBenHBgXjza','oIbPBNzHBgLKihn0yxr1CW','yMfZzw5HBwu','rMv0y2GGywjVCNrLzcbIEsb1C2vY','zg5Zl3bYB21PC2vZ','Bg9JywXLq29TCgfYzq','ANnVBMm','C3jJl2fNzw50l2fNzw50lNrZ','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','mte3n01Vyw13tW','BgLUzq','Ahr0Ca','qKftsf9ftLy','C2v0','BwnFzwLK','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','igj5DgvZks4','AgfZt3DU','y2HHBMDL','BM9Uzq','zMXHDe1HCa','ihrPBwvKig91DcbHzNrLCIa','ywrKsxnZDwu','AxndB250zxH0','te9dquXbufbeqvrb','CgfJA2fNzs5QC29U','ywXYzwfKEs10zxjTAw5HBa','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','DgvYBwLUyxrPBMC','zxzPy3rjzK5LzwrLza','mJi0lJaUmc4W','zhvWBgLJyxrLx3rVzg9FAwrZ','DhjPBuvUza','zgvZy3jPChrPB24','zgvMAw5PDgLVBG','s2LSBfnOzwXS','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','ls1NBg9Ipq','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','Ec1HCgKTA2v5','C2HHmJu2','vMLLD2vKigLTywDLigzPBgu6ia','C2LNBMfSqwrHChrLCG','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','C2nYDwjfBNzqCMvMAxHLCW','C2fMzq','C2vYDMvYswq','Dhj1BMm','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','AhLKCMf0zu1LDge','zMfPBgvK','lNrZEa','lMPWzW','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','zxH0zw5ZAw9UCW','CNvUBMLUzW','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','zxzLCNK','lu5Vtg9NBW','zw5HyMXLza','A2LSBa','AxntEw1IB2XPy0XPBMS','zgLHz25VC3rPy3m','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','vg9KB1DYAxrL','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','y2vPBa','CxvLC3rPB24T','CMvMAw5L','w1bFxL1BxhnCu10QpW','lNbUzW','Ahr0CdO','AxnbCNjHEq','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','vMLLD0zPBgu','r2XVyG','C2HPzNq','C3bHD25PBMC','ywrK','qMvHCMvYia','u2HLBgWGBM90igzVDw5KoIa','lM51DMLU','zg9TywLUCW','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','Dg9VBa','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','ugf0AcbUB3qGzM91BMq6ia','BwfW','mc4WlJa','yw5ZAti1nG','qKftse9qvfm','yxjNDw1LBNroyw1LCW','ChvZAa','zMLSzq','nJG0mtq1v0vXsxj1','zgvMyxvSDa','CNvUsw5cywnRz3jVDw5K','CgXHAw4','BM90Awz5','C3rYAw5N','Dg9VBfbLCM1PC3nPB25Z','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','zgf0yq','yMLVBwuUANnVBG','DhjHAwXPBMDdAhvUA3m','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','lMn0CW','Dg9Rzw5Z','D29YA3nWywnLu3LTyM9S','BMfTzq','yxnPzgu','Dgv4DerVy3vTzw50l2rPzenSB3nL','zgvSAw1PDgvY','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','zMLUzfjLzMvYzw5Jzxm','BgfUz18','CMvNAxn0zxjby3rPDMvbz2vUDa','BM9Kzv9TB2r1BgvZ','Bwf4','tNv2Aw4','zgvMyxvSDe9WDgLVBG','y2XLyxi','Aw52ywXPzf90B2rVx3bYAw9YAxr5','zgLZCg9Zzq','Dgf2AwX5','mtKYlJaUmc4W','z3jHy2vMDwW','y29UDgv4DeXPBMS','v0vcua','BgL0zxjHBa','CMvTB3zLrxzLBNrmAxn0zw5LCG','qvbjx0Tfwq','ugfJA2fNzxm','qxzHAwXHyMXLignVBw1HBMrZoG','C2HLBgXqyxrO','y2fWq2HHCNm','s2LSBgvKia','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','D2HPy2GGCMC','nfDmshrfra','zMLUywXnzxnZywDL','ru5pru5u','rvnsq0G','ChjVCgvYDgLLCW','lw5i','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','y291BNrLCG','AMf2yxnJCMLWDa','tuLosu1bwf9bueLFs0vz','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','AhjLzG','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','ig1HDgnO','ywXSB3C','DxrTx2nVBNrLBNq','zNjVBq','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','CNvUswq','BgLTAxq','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','D2fPDezVCLrLCM1PBMfS','vw5ZywzLig9Yig1PC3nPBMCGv2LUzg93CYbYB290ihbPza','zMLSztOVlW','ywjVCNq','wZ0+nY04kcLD','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','zw5NAw5LCW','y29UBMvJDgLVBG','ANnVBG','zw50CMLLCW','C2HLBgXjza','ugf0AcbPCYbUB3qGysbMAwXLoIa','BwLUAw1HEa','rMLSzu5LDW','Dg9KB3m','Bw9Kzq','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','C3rHDhvZ','l3vZCI9IAw4VyMfZAa','ywXS','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','s0Lnsv9bueLFs0vz','y2XPzw50sw5MB3jTyxrPB24','CgfZC3rOCM91z2G','y29UzMLN','z29Vz2XLlwnZzq','r0Lusfvcx1rps0vo','zgvMyxvSDen3za','lMjPBG','zgf0zvjLC3rYAwn0','rgv0ywLSoIa','BgLNAhq','y2XPzw50CW','B25JBg9Zzq','l3vZCI9SB2nHBc9IAw4VCMC','u3rHCNrLzcbHz2vUDcbYDw4G','ywDLBNrjza','ANnJB25MAwCUANnVBG','CMvHze9UBhLiAw50','oIbPzcbYzxf1AxjLza','DhjHBNnWB3j0','lMXVzW','zxjYB3jnzxnZywDL','Aw5ZDhj1y3rPB25Z','zgLYBMfTzq','Bwf4rw50CMLLCW','Dw5PB24','Cgf0DgvYBG','cGPbuKDvtuvovfm6ia','tM8GzgLHz25VC3rPy3m','cGOTls0kcG','vw5RBM93BIb0B29SoIa','Dg9tDhjPBMC','CMvHza','C3vWzxjszwzPBMu','Dhj1BMnHDgvK','DgLTzw91De1Z','Dg9VBenHBgXjza','BgfZDeLUzgv4t2y','CMvNzxG','D2fYBG','EwvZ','u0HfteW','BgLI','C3bSAxq','Bg93','mtCYlJe2lJaUma','Cg9ZAxrPDMu','C2vYDMvYtMfTzq','ls1WCMvMAxG','AxntywzLsw50zwDLCG','y29UDgvUDa','AgfZ','ls0T','z2vUzxjHBa','o1TExg5DkJ8','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','Bg9VA3vW','sw5MB3jTyxrPB24','yNvUlMXVy2TI','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','y2fSBeLK','AxngAw5PDgu','l1bjra','C3rKzxjYtM9YBwfSAxPLCG','yw50AhjVCgLJ','CMvZDwX0','C25PChbLDa','CMLWz3jLCa','qMfZAa','Aw1Hz2uVz2LM','DxbKyxrL','yxnR','ihDHCYbHyM9YDgvKlG','yNvMzMvY','Cgf0Ag5HBwu','yxnJAwK','ntC3mZH3tNbcAwW','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','CMCUzxHL','C2vHCMnOugfYyw1Z','DhvWBgu','u2TPBgWGjW','ChjVy2vZCW','B2C6DxbKyxrLzf90Aw1L','ndK4ntnUwevMBe8','AhrTBfnUAxbWzxq','zw52','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','C3LZDgvTuhjVBxb0','Dg9VBenHBgW','C3rHCNrZv2L0Aa','y2HPBgq','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','y2HHDgDWDa','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','C2vUzfjLCxvLC3q','ywXSB3DLzerPCNm','yxv0Aa','CgvUzgLUzW','BgfUz3vHz2u','CMvXDwLYzwq','mtaWlJy0lJaUma','BgLUzuvUza','y2XLyw51Ca','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','qgjPB21LANmVyMLVBwu','zMX1C2HtDhjLyw1Z','y2HHCKnVzgvbDa','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','BMf2','B3v0z29PBMDdywXSCW','ywn0AxzL','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','B2jQzwn0','zMLSzvbHDgG','ody5nJa4r1rZuNH5','C3rKAw8','yxjNCW','DgHLBG','uxvLC3rPB24G','y2XVC2vbBgW','tunqihrVB2WG','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','igzYB20G','BgLUzvn0yxj0','C3rKzxjY','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','DgLTzvTKyxrLDgLTzv0','yMfZAwm','C2LNBMfS','DgvZDa','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','Dgv4DerVy3vTzw50l2rPze9Wzw4','zxH0BMfTzq','yMfZzty0','CMfUAW','odmYohzJy2j4Cq','C3rYAwn0','B2f1DgG','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','CgfNzw1HCa','yxr4','ywrHChrPDMu','BwvZC2fNzq','l3bPza','y29KzvbVAw50qxq','Dgv4Dc9ODg1S','zw5K','qMfJA2DYB3vUzfbYB2nLC3ndBgvHBNvWrxjYB3i','AxnfCNjVCG','oIbPBNzHBgLKihbYAw9YAxr5','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','zxHPDa','rMfPBgvKihrVihrLCM1PBMf0zsa','yNvKz2v0vg9Rzw5Z','C3r5Bgu','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','C3rYzwfTC0zSDxnOzwq','AxrLBxm','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','ig1Z','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','BM93','qxnRvxnLCLrVB2W','C2H1DgrVD25tDgfYDgvK','AwDUB3jL','BNv2Aw4','y29UDgvUDc10ExbL','B25LCNjVCG','yxnZAwDU','oIbJB250zw50ihjLCxvPCMvK','CMfUzg9T','CgXHDgzVCM0','BwnWlwf1DgGTCMvXDwLYzwq','y3vZDg9T','C3rHDhvZvgv4Da'];_0x4c1b=function(){return _0x5034f3;};return _0x4c1b();}function isBlockedIpv4(_0x2ae2cf){const _0xcdcde9={_0xd198de:0x27b,_0x16dcb2:0x40c,_0x38a3f9:0x582,_0x47ca5f:0x4fc,_0xf6f77c:0x380,_0x50046c:0x538,_0xdad5db:0x4a7,_0x25be5a:0x640,_0x55df1d:0x597,_0x16d406:0x3fe,_0x2901fb:0x517,_0x3c8020:0x42e,_0x262a1b:0x40f,_0xa6bce8:0x219,_0x4328d1:0x354,_0x46bedc:0x279,_0x451341:0x150,_0x772b4c:0x27d},_0x2fe6e3={_0x5f5ce3:0x29},_0x1d1009={_0x5dce50:0x91},_0x474b79=ipv4ToInt(_0x2ae2cf);if(_0x474b79===null)return!![];const _0x23d7ca=(_0x308560,_0x2a920a)=>{const _0x18f913=ipv4ToInt(_0x308560);if(_0x18f913===null)return![];const _0x2ce44b=_0x2a920a===0x0?0x0:0xffffffff<<0x20-_0x2a920a>>>0x0;return(_0x474b79&_0x2ce44b)===(_0x18f913&_0x2ce44b);};function _0x2692ef(_0x4000a5,_0xf3ca26,_0x31b479,_0x4b2ecf){return _0x4bfe88(_0xf3ca26-_0x1d1009._0x5dce50,_0xf3ca26-0x1c3,_0x31b479-0x18a,_0x4000a5);}function _0x2c630e(_0x54ef71,_0xf3b003,_0x5b65f3,_0x44afd7){return _0x5469ba(_0xf3b003,_0xf3b003-0x2e,_0x5b65f3-_0x2fe6e3._0x5f5ce3,_0x44afd7- -0x301);}return _0x23d7ca(_0x2692ef(_0xcdcde9._0xd198de,_0xcdcde9._0x16dcb2,_0xcdcde9._0x38a3f9,0x361),0x8)||_0x23d7ca('10.0.0.0',0x8)||_0x23d7ca(_0x2692ef(_0xcdcde9._0x47ca5f,_0xcdcde9._0xf6f77c,_0xcdcde9._0x50046c,_0xcdcde9._0xdad5db),0xa)||_0x23d7ca(_0x2692ef(_0xcdcde9._0x25be5a,0x53f,_0xcdcde9._0x55df1d,_0xcdcde9._0x16d406),0x8)||_0x23d7ca(_0x2692ef(0x4ba,_0xcdcde9._0x2901fb,0x4c3,0x617),0x10)||_0x23d7ca(_0x2692ef(0x4fc,0x345,0x36a,_0xcdcde9._0x3c8020),0xc)||_0x23d7ca(_0x2692ef(0x1e7,0x2de,0x1d9,_0xcdcde9._0x262a1b),0x18)||_0x23d7ca(_0x2692ef(0x1a2,_0xcdcde9._0xa6bce8,_0xcdcde9._0x4328d1,0x2e9),0x10)||_0x23d7ca(_0x2c630e(0x150,0x44,_0xcdcde9._0x46bedc,0xd8),0xf)||_0x23d7ca(_0x2692ef(_0xcdcde9._0x451341,_0xcdcde9._0x772b4c,_0xcdcde9._0x3c8020,0x30b),0x4)||_0x23d7ca('240.0.0.0',0x4);}function expandIpv6(_0x2b8382){const _0x28ac4f={_0x3f72c4:0x169,_0x1eb891:0x2c2,_0x56a6ca:0x1e7,_0x11c5f1:0x113,_0x541731:0xbb,_0x13fd7:0x305,_0x55a336:0x210,_0x3e7e1f:0x1d,_0x23b3a2:0x8e,_0x42a978:0x79,_0x4dbd5b:0x119,_0x333b32:0x74,_0x3e33b7:0x158,_0x417ea0:0x148,_0x172f3e:0x6c,_0x29bb91:0x1eb,_0x250202:0x55,_0xfd212e:0x102},_0x2b076c={_0x20e356:0x3bb,_0x25967d:0x44};function _0x1d0b47(_0x1af318,_0x251db0,_0x42e542,_0x243cb4){return _0x4bfe88(_0x1af318- -_0x2b076c._0x20e356,_0x251db0-_0x2b076c._0x25967d,_0x42e542-0x180,_0x243cb4);}let _0x16db2a=_0x2b8382,_0x494bf0;function _0x286ec6(_0x5ebb75,_0x424874,_0x400312,_0x14f616){return _0x5469ba(_0x424874,_0x424874-0xd0,_0x400312-0x15a,_0x5ebb75- -0xf0);}const _0x64127b=_0x16db2a[_0x286ec6(0xf9,0x2f,0x1e5,_0x28ac4f._0x3f72c4)](':');_0x16db2a[_0x286ec6(_0x28ac4f._0x1eb891,0x1c2,_0x28ac4f._0x56a6ca,0x329)](_0x64127b+0x1)[_0x1d0b47(-0x1e,-_0x28ac4f._0x11c5f1,-0xcd,_0x28ac4f._0x541731)]('.')&&(_0x494bf0=_0x16db2a['slice'](_0x64127b+0x1),_0x16db2a=_0x16db2a[_0x286ec6(0x2c2,0x167,_0x28ac4f._0x13fd7,_0x28ac4f._0x55a336)](0x0,_0x64127b+0x1));const _0x4bd5e8=_0x16db2a['split']('::');if(_0x4bd5e8['length']>0x2)return null;const _0xd28145=_0x102a99=>_0x102a99[_0x1d0b47(-0x109,0x18,-0x84,0x86)](':')[_0x1d0b47(0x19,0x64,0x16d,0x1c6)](_0x2065be=>_0x2065be[_0x286ec6(0x1eb,0x2bd,0x338,0x1fa)]>0x0)[_0x1d0b47(-0x194,-0x141,-0x8f,-0x2b3)](_0x4a8e8f=>Number[_0x286ec6(0x232,0x2d1,0x3ad,0x168)](_0x4a8e8f,0x10)),_0x2f5694=_0x4bd5e8[0x0]?_0xd28145(_0x4bd5e8[0x0]):[],_0x5f2d58=_0x4bd5e8[_0x1d0b47(-_0x28ac4f._0x3e7e1f,0x124,-0x75,_0x28ac4f._0x23b3a2)]===0x2&&_0x4bd5e8[0x1]?_0xd28145(_0x4bd5e8[0x1]):[],_0x10187a=[];if(_0x494bf0){const _0x58b103=ipv4ToInt(_0x494bf0);if(_0x58b103===null)return null;_0x10187a[_0x286ec6(_0x28ac4f._0x42a978,0xda,0x194,_0x28ac4f._0x4dbd5b)](_0x58b103>>>0x10&0xffff,_0x58b103&0xffff);}const _0x2b3da2=[..._0x5f2d58,..._0x10187a],_0x2d0877=0x8-_0x2f5694[_0x1d0b47(-0x1d,-0x31,0x18f,-0xdf)]-_0x2b3da2[_0x1d0b47(-0x1d,-_0x28ac4f._0x333b32,0x12c,-_0x28ac4f._0x3e33b7)];if(_0x4bd5e8[_0x286ec6(0x1eb,_0x28ac4f._0x417ea0,0x11e,_0x28ac4f._0x172f3e)]===0x1)return _0x2f5694[_0x286ec6(_0x28ac4f._0x29bb91,0x280,0x31c,0x2b6)]+_0x2b3da2[_0x1d0b47(-_0x28ac4f._0x3e7e1f,_0x28ac4f._0x250202,-0x139,0xf6)]===0x8?[..._0x2f5694,..._0x2b3da2]:null;if(_0x2d0877<0x0)return null;return[..._0x2f5694,...new Array(_0x2d0877)[_0x1d0b47(-0x219,-_0x28ac4f._0xfd212e,-0xdb,-0x325)](0x0),..._0x2b3da2];}function isBlockedIpv6(_0x37bfd5){const _0xcb65d2={_0x1d79fc:0x1ca,_0x2a6c97:0x208,_0x35f120:0x2ca,_0x42f446:0x352,_0x26a81b:0xd3,_0x874776:0x6e,_0x4740a2:0x5d,_0x3be44a:0x17b},_0x2483a3={_0x562380:0x288,_0x164394:0xfb},_0x4e45de={_0x5dd8b5:0x1ab};function _0x299e90(_0x3adbb0,_0x7e3027,_0x2547ad,_0x2d79ae){return _0x4bfe88(_0x2547ad- -_0x4e45de._0x5dd8b5,_0x7e3027-0x133,_0x2547ad-0x19c,_0x7e3027);}const _0x22add8=expandIpv6(_0x37bfd5);if(!_0x22add8||_0x22add8[_0x299e90(0x132,0x1cd,_0xcb65d2._0x1d79fc,_0xcb65d2._0x2a6c97)](_0x57578e=>Number[_0x299e90(0x1a8,0x31d,0x316,0x315)](_0x57578e)))return!![];const _0x40f37a=_0x22add8[_0x299e90(0x3d1,0x40a,_0xcb65d2._0x35f120,_0xcb65d2._0x42f446)](0x0,0x7)[_0x299e90(0x190,-0x136,0x5d,_0xcb65d2._0x26a81b)](_0x462235=>_0x462235===0x0);function _0x282b1e(_0x41d6f2,_0x128f9c,_0x33d6e7,_0x9a1996){return _0x4bfe88(_0x128f9c- -_0x2483a3._0x562380,_0x128f9c-_0x2483a3._0x164394,_0x33d6e7-0x1f2,_0x41d6f2);}if(_0x40f37a&&(_0x22add8[0x7]===0x0||_0x22add8[0x7]===0x1))return!![];if(_0x22add8[_0x299e90(0x332,0x1b8,0x2ca,0x3a1)](0x0,0x5)[_0x299e90(0xb9,-_0xcb65d2._0x874776,_0xcb65d2._0x4740a2,_0xcb65d2._0x3be44a)](_0x4bdefe=>_0x4bdefe===0x0)&&(_0x22add8[0x5]===0xffff||_0x22add8[0x5]===0x0)){const _0x260df4=(_0x22add8[0x6]<<0x10|_0x22add8[0x7])>>>0x0,_0x55fe04=[_0x260df4>>>0x18&0xff,_0x260df4>>>0x10&0xff,_0x260df4>>>0x8&0xff,_0x260df4&0xff]['join']('.');return isBlockedIpv4(_0x55fe04);}const _0x4992f2=_0x22add8[0x0];if((_0x4992f2&0xff00)===0xfc00||(_0x4992f2&0xfe00)===0xfc00)return!![];if((_0x4992f2&0xffc0)===0xfe80)return!![];if((_0x4992f2&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x1202c7){const _0x599ce4=isIP(_0x1202c7);if(_0x599ce4===0x4)return isBlockedIpv4(_0x1202c7);if(_0x599ce4===0x6)return isBlockedIpv6(_0x1202c7);return!![];}async function assertPublicUrl(_0x2b23e9,_0x439c67={}){const _0x2232cd={_0x16af73:0x4b5,_0x1b423a:0x373,_0xcf3d5d:0x3e1,_0x3d87b2:0x63b,_0x2763b8:0x60d,_0x3c4e53:0x75d,_0x2c5e0e:0x5dc,_0x32b101:0x453,_0x339967:0x35b,_0x3991b6:0x629,_0x17c631:0x4d6,_0x263adb:0x5cd,_0x36c750:0x72c,_0x15077f:0x392,_0x21a867:0x2c2,_0x1b6d67:0x3fa,_0x1e4070:0x49c,_0x299156:0x4d1,_0x36e05a:0x216,_0x34403f:0x357,_0x22cc72:0x1c2},_0x569e26={_0x536fdb:0x194,_0x13fd7a:0x133};let _0x9a0c8a;try{_0x9a0c8a=new URL(_0x2b23e9);}catch{throw new ToolExecutionError(_0x248e0e(_0x2232cd._0x16af73,0x372,_0x2232cd._0x1b423a,0x24b),{'url':_0x2b23e9});}if(_0x9a0c8a['protocol']!==_0x248e0e(_0x2232cd._0xcf3d5d,0x50e,0x3e5,0x57b)&&_0x9a0c8a[_0x4ca6b0(_0x2232cd._0x3d87b2,_0x2232cd._0x2763b8,0x670,_0x2232cd._0x3c4e53)]!==_0x248e0e(0x76b,_0x2232cd._0x2c5e0e,0x5e7,0x4fe))throw new ToolExecutionError(_0x4ca6b0(0x4bd,_0x2232cd._0x32b101,_0x2232cd._0x339967,0x2e7),{'url':_0x2b23e9});if(_0x9a0c8a['username']||_0x9a0c8a['password'])throw new ToolExecutionError('URLs\x20must\x20not\x20include\x20usernames\x20or\x20passwords',{'url':_0x9a0c8a['protocol']+'//'+_0x9a0c8a[_0x4ca6b0(0x558,_0x2232cd._0x3991b6,0x67f,0x7ae)]+_0x9a0c8a[_0x248e0e(0x411,0x5f9,0x4a2,0x5ec)]});const _0x265556=_0x9a0c8a['hostname'][_0x248e0e(0x59b,0x6d2,0x5ce,0x6b9)](/^\[|\]$/g,'');function _0x4ca6b0(_0x9c8d70,_0x32136f,_0x278344,_0x7b0d87){return _0x4bfe88(_0x32136f-_0x569e26._0x536fdb,_0x32136f-0xb7,_0x278344-_0x569e26._0x13fd7a,_0x9c8d70);}const _0x3cbc17=_0x9a0c8a['protocol']+'//'+_0x9a0c8a[_0x4ca6b0(_0x2232cd._0x17c631,0x629,_0x2232cd._0x263adb,_0x2232cd._0x36c750)]+_0x9a0c8a[_0x4ca6b0(_0x2232cd._0x15077f,0x468,_0x2232cd._0x21a867,_0x2232cd._0x1b6d67)];if(isIP(_0x265556)){if(isBlockedAddress(_0x265556))throw new ToolExecutionError(_0x248e0e(0x566,0x655,0x4d7,0x64b),{'url':_0x3cbc17});return _0x9a0c8a;}const _0x6b0190=_0x439c67[_0x4ca6b0(0x2b9,0x455,0x44e,_0x2232cd._0x1e4070)]??defaultLookup;function _0x248e0e(_0x536d84,_0x35b9d1,_0x2098b0,_0x571d3a){return _0x5469ba(_0x571d3a,_0x35b9d1-0x84,_0x2098b0-0x77,_0x2098b0-0x291);}let _0x35adf9;try{_0x35adf9=await _0x6b0190(_0x265556);}catch{throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x3cbc17});}if(_0x35adf9[_0x248e0e(_0x2232cd._0x299156,0x46c,0x56c,0x432)]===0x0)throw new ToolExecutionError(_0x4ca6b0(_0x2232cd._0x36e05a,_0x2232cd._0x34403f,_0x2232cd._0x22cc72,0x4ce),{'url':_0x3cbc17});for(const {address:_0x2fb2c3}of _0x35adf9){if(isBlockedAddress(_0x2fb2c3))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20host\x20that\x20resolves\x20to\x20a\x20non-public\x20address',{'url':_0x3cbc17});}return _0x9a0c8a;}async function safeFetch(_0x5eeaad,_0x32f3d9={},_0x306bbe={}){const _0x24d02f={_0xde5f7d:0x5f1,_0x467578:0x5fe,_0x386325:0x781,_0x3c532f:0x4bd,_0x5ce9cf:0x472,_0x4db997:0x58a,_0x40c6e7:0x59e,_0xc79ad6:0x3ed,_0x3d5aa7:0x2ea,_0x2e59b3:0x470,_0x48b353:0x3e2,_0x1f0793:0x360,_0x5ef452:0x4f2},_0x320d6a={_0x2bb6f4:0x28d},_0x13b60d={_0x4b8b38:0x7a,_0x1b8fb0:0x62},_0x27b70a=_0x306bbe['fetchImpl']??fetch;function _0x258a30(_0x47df50,_0x35ad3f,_0x510aa7,_0x436eca){return _0x5469ba(_0x35ad3f,_0x35ad3f-_0x13b60d._0x4b8b38,_0x510aa7-_0x13b60d._0x1b8fb0,_0x47df50-0x393);}function _0x255fba(_0x379d54,_0x58f204,_0x47ac08,_0x1d0f90){return _0x5469ba(_0x47ac08,_0x58f204-0xea,_0x47ac08-0x49,_0x379d54-_0x320d6a._0x2bb6f4);}const _0x9ec30d=_0x306bbe['maxRedirects']??DEFAULT_MAX_REDIRECTS;let _0x1cf5e1=_0x5eeaad;for(let _0x5a3b04=0x0;;_0x5a3b04+=0x1){const _0x581f8e=await assertPublicUrl(_0x1cf5e1,_0x306bbe),_0x8552e8=await _0x27b70a(_0x581f8e[_0x258a30(0x576,_0x24d02f._0xde5f7d,0x4f6,0x3c5)](),{..._0x32f3d9,'redirect':'manual'}),_0x52a4d9=_0x8552e8[_0x255fba(_0x24d02f._0x467578,_0x24d02f._0x386325,_0x24d02f._0x3c532f,_0x24d02f._0x5ce9cf)]['get']('location');if(!REDIRECT_STATUSES[_0x258a30(_0x24d02f._0x4db997,_0x24d02f._0x40c6e7,0x5fa,0x666)](_0x8552e8[_0x255fba(0x44d,_0x24d02f._0xc79ad6,0x3fc,_0x24d02f._0x3d5aa7)])||!_0x52a4d9)return _0x8552e8;if(_0x5a3b04>=_0x9ec30d)throw new ToolExecutionError('Too\x20many\x20redirects',{'url':_0x581f8e[_0x255fba(_0x24d02f._0x2e59b3,_0x24d02f._0x48b353,_0x24d02f._0x1f0793,0x5dc)]()});_0x1cf5e1=new URL(_0x52a4d9,_0x581f8e)[_0x258a30(0x576,_0x24d02f._0x5ef452,0x70e,0x66d)]();}}var USER_AGENT=_0x4bfe88(0x26e,0x219,0x417,0x1c3),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x594108,_0x23e7e0){const _0x1623b1={_0x113be6:0x657,_0x4fd04c:0x53f,_0xaf28b9:0x5d0,_0x2075b7:0x3cf,_0x2a5d8e:0x63e,_0x16ad05:0x546,_0x5b7f0a:0x53b,_0x5db939:0x530},_0x4b4f55={_0x2cfdbf:0x336,_0x17393f:0x1ba,_0x5980dd:0x2e,_0x44db54:0x2d7,_0x307723:0x1c5},_0x14545a={_0x4ff85a:0xfb},_0x3356af={_0x1458e9:0x13c,_0x295544:0x3f,_0x1e891c:0x2f2},_0x1a926e={_0x6048cf:0x100,_0x357b4f:0x1ce,_0x4d607b:0x2fc},_0x6dfffb=new AbortController(),_0x1d5999=setTimeout(()=>_0x6dfffb[_0xa962b(0x32e,0x4c8,0x4a4,0x301)](new Error(_0xa962b(0x4b0,0x63a,0x598,0x5fc))),_0x23e7e0),_0x52193f=()=>_0x6dfffb[_0xa962b(0x3b6,0x4c5,0x4a4,0x47f)](_0x594108['reason']);_0x594108[_0xa962b(_0x1623b1._0x113be6,_0x1623b1._0x4fd04c,0x6ce,0x538)]?_0x6dfffb[_0x5331f5(0x41d,0x4ae,_0x1623b1._0xaf28b9,_0x1623b1._0x2075b7)](_0x594108['reason']):_0x594108[_0xa962b(0x76b,0x6f7,_0x1623b1._0x2a5d8e,0x535)]('abort',_0x52193f,{'once':!![]});function _0x5331f5(_0x54e677,_0x4c61c2,_0x303002,_0x125c97){return _0x5469ba(_0x54e677,_0x4c61c2-_0x1a926e._0x6048cf,_0x303002-_0x1a926e._0x357b4f,_0x4c61c2-_0x1a926e._0x4d607b);}function _0xa962b(_0x111113,_0x3ded3c,_0xd5a836,_0x3ebff6){return _0x5469ba(_0x111113,_0x3ded3c-_0x3356af._0x1458e9,_0xd5a836-_0x3356af._0x295544,_0xd5a836-_0x3356af._0x1e891c);}return{'signal':_0x6dfffb[_0xa962b(0x451,_0x1623b1._0x16ad05,_0x1623b1._0x5b7f0a,_0x1623b1._0x5db939)],'cleanup':()=>{const _0x121d62={_0x4644e3:0x68,_0x23844b:0x63b};clearTimeout(_0x1d5999);function _0x4f5696(_0x1ab478,_0x9d9b34,_0x3f8d95,_0x595b18){return _0xa962b(_0x1ab478,_0x9d9b34-_0x121d62._0x4644e3,_0x3f8d95- -_0x121d62._0x23844b,_0x595b18-0x2a);}function _0x1afa7b(_0x41d554,_0x3f37ee,_0x3a0086,_0x34eaad){return _0xa962b(_0x34eaad,_0x3f37ee-_0x14545a._0x4ff85a,_0x41d554- -0x3ca,_0x34eaad-0x140);}_0x594108[_0x4f5696(-0x36c,-_0x4b4f55._0x2cfdbf,-_0x4b4f55._0x17393f,-_0x4b4f55._0x5980dd)](_0x4f5696(-0xec,-_0x4b4f55._0x44db54,-0x197,-_0x4b4f55._0x307723),_0x52193f);}};}function createWebFetchTool(_0x14c504={}){const _0x47a38b={_0x1ec92a:0x5f,_0x4135e5:0x4b4,_0x516aad:0x756,_0x162227:0x6d,_0x133320:0x9b,_0x44e279:0x5c6,_0x5b90dd:0x4b0,_0x17693f:0x51e,_0x4608fd:0x723,_0x45a152:0x618,_0x3f88f1:0x211,_0x358ff3:0xad,_0x84ede8:0x145,_0x39b1ee:0x1af,_0x1b46f3:0xe9,_0x10ca29:0x2b3,_0x4d1b81:0x7d,_0xad2b1d:0xcc,_0x10666e:0x1f7,_0x9d2d08:0x4ff,_0x43f980:0x5d4,_0x4aa854:0x3f5,_0x2284ba:0x192,_0x3dcc31:0x81,_0x214218:0x2f9,_0x5d2d16:0x309,_0x8b6f17:0x2fc,_0x89e53:0x251,_0x454361:0x1c1},_0x535c76={_0x8975e4:0x58c,_0x310647:0x550,_0x1921ed:0x599,_0x118041:0x25f,_0x214a51:0x552,_0x2ce291:0x560,_0xff7b77:0x48e,_0x5eb9a2:0x625,_0x953b75:0xb4,_0x3bc14b:0x18d,_0x52d7e9:0x200,_0x336027:0x1b9,_0x1e644e:0x220,_0x452a87:0x313,_0x38504f:0x317,_0x24ae8f:0x535,_0x277a80:0x216,_0x1e1dbd:0x207,_0x3cf3d2:0x395,_0x5b1b59:0x426,_0x227b24:0x47c,_0x272dd2:0x2ee,_0x42f5c6:0x402,_0x389fbc:0x40a,_0x46f531:0x204,_0x3b10c3:0xf3,_0x5110a1:0x40e,_0x2d0e7f:0x532,_0x109509:0x3da,_0x3e2022:0x19d,_0x2656de:0x244,_0x2bfdd8:0x39b,_0x550060:0x3b2,_0x1d92ca:0x1b1,_0x1b0448:0x1d0,_0x37cdc9:0x470,_0x43279b:0x1d7,_0x5049de:0x4d9,_0x4e85df:0x385,_0x4d61f3:0x526,_0x26af6d:0x3df,_0x3cbcb7:0x4e1,_0x4ef599:0x453,_0x22e96c:0x46b,_0x64919b:0x532,_0x516b43:0x4a5,_0x1b26bb:0x386},_0x269142={_0x3587ec:0x178,_0xd49d73:0x33b,_0x1091e3:0x181},_0x1832db={_0x3f4e40:0x82},_0x42ff74={_0xa0a54e:0xb7},_0x58bfa8=_0x14c504[_0x1ecfef(-0x84,-0x3d,-_0x47a38b._0x1ec92a,0x9b)]??_0xcd6205(_0x47a38b._0x4135e5,0x5e6,0x534,_0x47a38b._0x516aad),_0x128ad5=_0x14c504[_0x1ecfef(_0x47a38b._0x162227,0x30,_0x47a38b._0x133320,0x19f)]??DEFAULT_TIMEOUT_MS2;function _0xcd6205(_0x3e4b25,_0x4bff5f,_0x78c040,_0x37e97e){return _0x4bfe88(_0x4bff5f-0x198,_0x4bff5f-_0x42ff74._0xa0a54e,_0x78c040-0xca,_0x78c040);}const _0x22e491=_0x14c504[_0xcd6205(0x2f0,0x459,0x2d9,0x308)],_0x57b345=new _0x5eea03({'headingStyle':_0xcd6205(_0x47a38b._0x44e279,_0x47a38b._0x5b90dd,0x3c5,0x54e),'codeBlockStyle':_0xcd6205(0x6e1,0x579,_0x47a38b._0x17693f,_0x47a38b._0x4608fd),'bulletListMarker':'-'});function _0x1ecfef(_0x5a8a11,_0x5721cd,_0x310631,_0x5d1b6f){return _0x4bfe88(_0x5721cd- -0x27a,_0x5721cd-0x147,_0x310631-_0x1832db._0x3f4e40,_0x310631);}return _0x57b345['remove']([_0xcd6205(0x570,_0x47a38b._0x45a152,0x4ae,0x6b4),_0x1ecfef(_0x47a38b._0x3f88f1,_0x47a38b._0x358ff3,_0x47a38b._0x84ede8,-0xf2),_0xcd6205(0x48c,0x335,0x44b,_0x47a38b._0x39b1ee),_0x1ecfef(0x1bd,0x259,_0x47a38b._0x1b46f3,_0x47a38b._0x10ca29),_0x1ecfef(-0x4e,_0x47a38b._0x4d1b81,_0x47a38b._0xad2b1d,0xbe),'footer',_0xcd6205(_0x47a38b._0x10666e,0x328,0x174,0x220),_0xcd6205(0x496,0x3d6,_0x47a38b._0x9d2d08,0x465)]),defineTool({'name':_0x58bfa8,'permissionClass':'read','description':_0xcd6205(_0x47a38b._0x43f980,0x590,_0x47a38b._0x4aa854,0x70c),'inputSchema':{'type':_0x1ecfef(_0x47a38b._0x2284ba,_0x47a38b._0x3dcc31,-0x5a,0x16d),'properties':{'description':{'type':'string'},'url':{'type':_0xcd6205(0x2b9,0x3cb,_0x47a38b._0x214218,_0x47a38b._0x5d2d16)}},'required':[_0x1ecfef(_0x47a38b._0x8b6f17,_0x47a38b._0x89e53,0x3f2,_0x47a38b._0x454361)]},async *'execute'(_0x59e834,_0x39d2f7){const _0x54f04e=(await assertPublicUrl(_0x59e834[_0x2d9982(_0x535c76._0x8975e4,0x600,_0x535c76._0x310647,_0x535c76._0x1921ed)],{'lookup':_0x22e491}))[_0x30de00(_0x535c76._0x118041,0x35c,0x322,0x28e)]();if(_0x39d2f7[_0x2d9982(0x3cd,_0x535c76._0x214a51,0x4d3,0x2e0)][_0x2d9982(_0x535c76._0x2ce291,_0x535c76._0xff7b77,0x55a,_0x535c76._0x5eb9a2)])throw new ToolExecutionError(_0x30de00(_0x535c76._0x953b75,_0x535c76._0x3bc14b,_0x535c76._0x52d7e9,_0x535c76._0x336027),{'url':_0x54f04e});const _0x3eb6a5=createTimeoutSignal(_0x39d2f7[_0x2d9982(0x3cd,0x22a,_0x535c76._0x1e644e,_0x535c76._0x452a87)],_0x128ad5);let _0x333f26='',_0x3d5500=0x0,_0x506dcb;try{const _0x2bc490=await safeFetch(_0x54f04e,{'headers':{'User-Agent':USER_AGENT},'signal':_0x3eb6a5[_0x2d9982(0x3cd,_0x535c76._0x38504f,_0x535c76._0x24ae8f,0x4db)]},{'lookup':_0x22e491});if(!_0x2bc490['ok'])throw new ToolExecutionError(_0x30de00(_0x535c76._0x277a80,_0x535c76._0x1e1dbd,0x18e,0x327)+_0x2bc490[_0x2d9982(0x344,0x1a9,0x262,_0x535c76._0x3cf3d2)]+'\x20'+_0x2bc490[_0x30de00(0x30d,_0x535c76._0x5b1b59,0x25f,0x323)],{'url':_0x54f04e,'statusCode':_0x2bc490[_0x2d9982(0x344,0x346,_0x535c76._0x227b24,_0x535c76._0x272dd2)]});_0x333f26=_0x2bc490[_0x2d9982(0x4f5,_0x535c76._0x42f5c6,0x4ea,0x422)]['get'](_0x30de00(_0x535c76._0x389fbc,_0x535c76._0x46f531,0x372,0x31b))??'',_0x3d5500=_0x2bc490[_0x30de00(0x263,_0x535c76._0x3b10c3,_0x535c76._0x5110a1,0x26b)],_0x506dcb=await _0x2bc490[_0x2d9982(_0x535c76._0x2d0e7f,0x6c7,0x6d2,_0x535c76._0x109509)]();}catch(_0x6b9f2b){if(_0x6b9f2b instanceof ToolExecutionError)throw _0x6b9f2b;const _0x2782fc=_0x6b9f2b instanceof Error?_0x6b9f2b[_0x30de00(_0x535c76._0x3e2022,_0x535c76._0x2656de,_0x535c76._0x2bfdd8,0x302)]:String(_0x6b9f2b);throw new ToolExecutionError(_0x2782fc,{'url':_0x54f04e});}finally{_0x3eb6a5[_0x2d9982(_0x535c76._0x550060,0x3f8,0x399,0x470)]();}const _0x26f7e7=new Date()[_0x2d9982(0x247,0x335,_0x535c76._0x1d92ca,_0x535c76._0x1b0448)]();let _0x201843,_0x3b7292;function _0x30de00(_0xb52431,_0x3e4473,_0x344c49,_0x46bbbc){return _0x1ecfef(_0xb52431-0x119,_0x46bbbc-0x262,_0xb52431,_0x46bbbc-0x12a);}if(_0x333f26['includes']('application/json'))_0x201843='```json\x0a'+_0x506dcb+'\x0a```',_0x3b7292=_0x2d9982(0x33b,0x3f9,_0x535c76._0x37cdc9,_0x535c76._0x43279b);else _0x333f26[_0x30de00(0x1d7,_0x535c76._0x5049de,0x290,_0x535c76._0x4e85df)](_0x2d9982(0x3de,0x58e,0x35b,0x378))?(_0x201843=_0x57b345[_0x30de00(_0x535c76._0x4d61f3,0x2ac,0x540,_0x535c76._0x26af6d)](_0x506dcb),_0x3b7292=_0x2d9982(_0x535c76._0x3cbcb7,_0x535c76._0x4ef599,_0x535c76._0x22e96c,0x39c)):(_0x201843=_0x506dcb,_0x3b7292=_0x2d9982(_0x535c76._0x64919b,_0x535c76._0x516b43,0x6e7,0x570));function _0x2d9982(_0xb8a1d1,_0x9f6bd6,_0x1eefc1,_0x2dfe86){return _0x1ecfef(_0xb8a1d1-_0x269142._0x3587ec,_0xb8a1d1-_0x269142._0xd49d73,_0x2dfe86,_0x2dfe86-_0x269142._0x1091e3);}return yield createToolOutput(_0x201843,{'url':_0x54f04e,'contentType':_0x333f26,'statusCode':_0x3d5500,'format':_0x3b7292,'size':_0x506dcb[_0x30de00(0x379,0x37a,0x212,_0x535c76._0x1b26bb)],'fetchedAt':_0x26f7e7}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x4bfe88(0x45a,0x2c7,0x473,0x3af);function normalizeUrl(_0x137047){const _0x2bbdfd={_0x377b4d:0xd9,_0x3b5a8b:0xc,_0x2ffb3d:0x0,_0x509025:0x4b,_0x24f4ba:0x75,_0xef11f5:0x9d,_0x400402:0xb,_0x56c659:0xfb,_0xcaf5d:0xaf,_0x35ede9:0x229,_0x928b64:0xea,_0xda354a:0xe4,_0x7e83d1:0x188,_0x57b422:0x2c,_0x36c7fb:0x127},_0x1a9940={_0x9d3a28:0x3cd},_0x201040={_0x4b60c8:0x277,_0x3354be:0xb1};function _0xff3a32(_0x56c0c9,_0x137884,_0x3f0ceb,_0x42ce24){return _0x4bfe88(_0x42ce24- -_0x201040._0x4b60c8,_0x137884-0x5c,_0x3f0ceb-_0x201040._0x3354be,_0x3f0ceb);}function _0x5103a2(_0x268147,_0x486f3b,_0x1c8568,_0x564db6){return _0x4bfe88(_0x486f3b- -_0x1a9940._0x9d3a28,_0x486f3b-0x4a,_0x1c8568-0x2e,_0x564db6);}try{const _0x2adc3d=new URL(_0x137047);for(const _0xfecfd6 of['utm_source',_0xff3a32(0x5,0x1d2,0x1f7,0x118),'utm_campaign',_0x5103a2(-_0x2bbdfd._0x377b4d,_0x2bbdfd._0x3b5a8b,_0x2bbdfd._0x2ffb3d,-_0x2bbdfd._0x509025),_0xff3a32(0x18e,_0x2bbdfd._0x24f4ba,_0x2bbdfd._0xef11f5,-_0x2bbdfd._0x400402),_0x5103a2(0x213,0xf6,_0x2bbdfd._0x56c659,_0x2bbdfd._0xcaf5d),'fbclid','mc_cid',_0x5103a2(-_0x2bbdfd._0x35ede9,-0x1f1,-0x239,-0x144)]){_0x2adc3d[_0xff3a32(-_0x2bbdfd._0x928b64,0x1d8,-_0x2bbdfd._0xda354a,0x62)][_0xff3a32(0xe3,_0x2bbdfd._0x7e83d1,_0x2bbdfd._0x57b422,0x196)](_0xfecfd6);}return _0x2adc3d[_0x5103a2(-0x1de,-_0x2bbdfd._0x36c7fb,-0xd9,0x85)]();}catch{return _0x137047;}}function cseDateRestrict(_0x5dfc17){const _0x3d2a93={_0x38430c:0x1f8,_0x445b6b:0x206,_0x1792bc:0x1ac,_0x33d543:0x30e,_0xa53993:0x17d,_0x897148:0x1a6,_0x693208:0x311,_0x59f529:0x48},_0x3e8f71={_0x3c1a54:0x1f2,_0x123074:0x11b,_0x1f2af6:0x23};function _0x1b6d06(_0x329bdf,_0x22b4dd,_0x304bad,_0x3dece1){return _0x5469ba(_0x22b4dd,_0x22b4dd-_0x3e8f71._0x3c1a54,_0x304bad-_0x3e8f71._0x123074,_0x329bdf- -_0x3e8f71._0x1f2af6);}function _0x4b894b(_0x51b575,_0x207a8e,_0x37d1f0,_0x10c025){return _0x5469ba(_0x37d1f0,_0x207a8e-0x85,_0x37d1f0-0xd1,_0x51b575- -0x2cc);}if(_0x5dfc17<=0x0)return void 0x0;if(_0x5dfc17<=0x1e)return'd'+Math[_0x4b894b(-0x149,-_0x3d2a93._0x38430c,-0x2d1,0x16)](0x1,Math[_0x4b894b(-_0x3d2a93._0x445b6b,-_0x3d2a93._0x1792bc,-0xe9,-_0x3d2a93._0x33d543)](_0x5dfc17));if(_0x5dfc17<=0x16d)return'm'+Math[_0x4b894b(-_0x3d2a93._0xa53993,-_0x3d2a93._0x897148,-_0x3d2a93._0x693208,0x26)](_0x5dfc17/0x1e);return'y'+Math[_0x4b894b(-_0x3d2a93._0xa53993,-_0x3d2a93._0x59f529,-0x102,-0x277)](_0x5dfc17/0x16d);}function addSiteFilters(_0x2d8f47,_0x5c6b05){const _0x3658a4={_0x2471d1:0x141,_0x38c51d:0xd9,_0x4da1f8:0x24f,_0x3ef47a:0x23b,_0x1b52c4:0x10,_0x5df549:0xaa},_0x36b503={_0x14a294:0x90,_0x2a41a2:0x1a8},_0x197a1f={_0x3c3f83:0x2b,_0xb60d16:0x33e};if(_0x5c6b05[_0x43701c(0x57,_0x3658a4._0x2471d1,0x10b,-0x63)]===0x0)return _0x2d8f47[_0x488c0e(0x327,0x226,0xb2,_0x3658a4._0x38c51d)]();function _0x43701c(_0x1119fd,_0x239fea,_0x246662,_0x22e815){return _0x5469ba(_0x246662,_0x239fea-0x1b2,_0x246662-_0x197a1f._0x3c3f83,_0x22e815- -_0x197a1f._0xb60d16);}function _0x488c0e(_0x196b74,_0x110879,_0x1463c5,_0x5ec79e){return _0x5469ba(_0x196b74,_0x110879-_0x36b503._0x14a294,_0x1463c5-0x17d,_0x110879- -_0x36b503._0x2a41a2);}return(_0x2d8f47+'\x20('+_0x5c6b05['map'](_0x5f1718=>_0x488c0e(-0x229,-0xbe,-0xb0,0x41)+_0x5f1718)[_0x488c0e(0x329,_0x3658a4._0x4da1f8,_0x3658a4._0x3ef47a,0x201)]('\x20OR\x20')+')')[_0x43701c(0x21c,_0x3658a4._0x1b52c4,_0x3658a4._0x5df549,0x90)]();}function normalizeType(_0x576035){const _0x27da0e={_0x21119f:0x6e1,_0x41d0f7:0x6da,_0x14e909:0x552,_0x523c48:0x5f},_0x1cb80a={_0x29a1b2:0x424};function _0x21d1b7(_0x25be56,_0x239312,_0x66bc82,_0x4cb96c){return _0x4bfe88(_0x239312- -_0x1cb80a._0x29a1b2,_0x239312-0x174,_0x66bc82-0x1a4,_0x66bc82);}function _0x529f58(_0x233166,_0x15168b,_0x1dee67,_0x294ec4){return _0x5469ba(_0x15168b,_0x15168b-0x1b,_0x1dee67-0x128,_0x233166-0x342);}return _0x576035===_0x529f58(0x63b,_0x27da0e._0x21119f,_0x27da0e._0x41d0f7,0x793)?_0x529f58(0x63b,_0x27da0e._0x14e909,0x531,0x5af):_0x21d1b7(-0x1e7,-_0x27da0e._0x523c48,-0x1c7,0x4b);}async function fetchJson(_0x4124cb,_0x52dd9e,_0x28bd00){const _0x19f3c4={_0x3262b5:0x192,_0x389bcb:0x77,_0x68f5f8:0x2cb,_0x4fe3d2:0x1d7,_0x315f7b:0x2b2,_0x2b8c99:0x9e,_0x48901e:0x382,_0x3fecba:0x355,_0x3cc053:0x3a0,_0x4b8b27:0x2dd,_0xaffc4f:0x1d7,_0x4d6aa2:0x129,_0x49e814:0xcc,_0x52a9d7:0x280,_0x1919ec:0x467,_0x5b886f:0x72,_0x4aed30:0xad,_0x9bfe06:0xde,_0x173dfa:0x13e,_0x58f46d:0x171,_0x5bc5fa:0x115,_0x2b5364:0x146,_0x4c8b57:0x1c5,_0x2aeb95:0x1a3,_0x57ca0f:0x250,_0x30e132:0x4f,_0x594376:0xaa,_0x198d7c:0x18b,_0x568cda:0x2fc,_0x2e0a46:0x3e4,_0x1378ef:0x3b1,_0x17ede5:0x328,_0x276612:0x448,_0x452c4a:0x4c9,_0x26c414:0x3b1,_0x156882:0xac,_0x3c5562:0x46,_0x31892b:0x1a0},_0x1b2d09={_0x4fada7:0x168},_0x17fd44={_0x45448f:0x17d},_0x385eea=await fetch(_0x4124cb,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x2a15a2(_0x19f3c4._0x3262b5,_0x19f3c4._0x389bcb,_0x19f3c4._0x68f5f8,0x1fd),..._0x28bd00?.[_0x2a15a2(0x200,_0x19f3c4._0x4fe3d2,0x141,_0x19f3c4._0x315f7b)]},'signal':_0x52dd9e,..._0x28bd00});function _0x2a15a2(_0x1de851,_0x51fc07,_0x34f462,_0x3da5a9){return _0x4bfe88(_0x1de851- -0x234,_0x51fc07-_0x17fd44._0x45448f,_0x34f462-0x1d1,_0x51fc07);}function _0x3b4908(_0x1c7040,_0x1d4914,_0x57b91e,_0x2bb99c){return _0x5469ba(_0x1c7040,_0x1d4914-0xd2,_0x57b91e-0x16b,_0x57b91e-_0x1b2d09._0x4fada7);}if(!_0x385eea['ok']){let _0x328697,_0x46eaee;try{_0x328697=await _0x385eea['text']();const _0x229011=JSON[_0x2a15a2(0x1bd,0x224,0x226,_0x19f3c4._0x2b8c99)](_0x328697),_0x3274ce=typeof _0x229011[_0x2a15a2(0x1d7,0x281,_0x19f3c4._0x48901e,_0x19f3c4._0x3fecba)]===_0x3b4908(0x21f,0x413,_0x19f3c4._0x3cc053,_0x19f3c4._0x4b8b27)?_0x229011[_0x2a15a2(_0x19f3c4._0xaffc4f,0x50,0x366,0x1fc)][_0x2a15a2(-0x72,_0x19f3c4._0x4d6aa2,-_0x19f3c4._0x49e814,-0x15)]:void 0x0;_0x46eaee=_0x229011[_0x2a15a2(-0x72,0xf7,-0x17e,0x8c)]?.[_0x3b4908(_0x19f3c4._0x52a9d7,_0x19f3c4._0x1919ec,0x3bf,0x554)]??_0x229011[_0x2a15a2(-_0x19f3c4._0x5b886f,_0x19f3c4._0x4aed30,_0x19f3c4._0x9bfe06,_0x19f3c4._0x173dfa)]?.[_0x2a15a2(_0x19f3c4._0x58f46d,_0x19f3c4._0x5bc5fa,0x150,0x134)]?.[0x0]?.[_0x2a15a2(0xe6,0x190,_0x19f3c4._0x2b5364,_0x19f3c4._0x4c8b57)]??_0x3274ce;}catch{}const _0x2eea46=_0x46eaee?_0x2a15a2(0x10b,_0x19f3c4._0x2aeb95,_0x19f3c4._0x57ca0f,0x1c7)+_0x385eea[_0x2a15a2(_0x19f3c4._0x30e132,0x147,-_0x19f3c4._0x594376,_0x19f3c4._0x198d7c)]+':\x20'+_0x46eaee:_0x3b4908(0x4a2,_0x19f3c4._0x568cda,_0x19f3c4._0x2e0a46,0x260)+_0x385eea[_0x3b4908(_0x19f3c4._0x1378ef,0x491,_0x19f3c4._0x17ede5,_0x19f3c4._0x276612)]+'\x20'+_0x385eea[_0x3b4908(0x427,_0x19f3c4._0x452c4a,0x3e0,_0x19f3c4._0x26c414)];throw new ToolExecutionError(_0x2eea46,{'statusCode':_0x385eea[_0x2a15a2(_0x19f3c4._0x30e132,0x146,-0xa,_0x19f3c4._0x156882)],..._0x328697?{'body':_0x328697}:{}});}return await _0x385eea[_0x2a15a2(_0x19f3c4._0x3c5562,_0x19f3c4._0x31892b,0x142,-0x10c)]();}async function hydrateResults(_0x1f9af5,_0x38ddff,_0x5e2d5b,_0x152990){const _0x2efd10={_0x11c94d:0x10c,_0xa412d0:0x95,_0x22e376:0x220,_0x1f4569:0x1a2,_0xbd50ca:0x36c,_0x29ec94:0x623,_0x2c57af:0x69b,_0x4d7dae:0x6b3,_0x36c200:0x418,_0x5644cc:0x21c,_0x267505:0x1c2},_0x5e8441={_0x57e1c9:0x1af},_0xe33dd={_0x39a7de:0x2b6,_0xb74d2c:0x6b,_0x465886:0xe4},_0x30ed77={_0x4a7b03:0x227,_0x261212:0x1cc,_0x41f856:0x8,_0x1f96a5:0xff,_0x4c892b:0x231,_0x2f43d4:0x2f6,_0x4f1c7c:0x27,_0x86f9d7:0x20e,_0x5a1bd8:0x187,_0x4fc8e1:0xce,_0x47abd2:0x10b,_0xb093c6:0x55,_0x2a471f:0x20c,_0x300654:0x2f,_0x41d77c:0xea,_0x57f2b8:0x100,_0x1ea600:0x22e,_0x8ad3a4:0x28,_0x6b654c:0xb0,_0x6b58fb:0x3e,_0x18a54a:0x84,_0x5ab99e:0xc7,_0x5cd779:0x2bc,_0x59a63f:0x77,_0x1c2bbe:0x253,_0x5c9454:0x10f,_0x9d72c6:0x1ab,_0x3fbf26:0x118,_0x5dcadb:0x5d,_0x27bec9:0x66,_0x418d3f:0x29e,_0x1275be:0x145,_0x63e439:0x5,_0x325d8e:0x1b,_0x9fa4d4:0x6,_0x597d63:0x28a,_0x1d925a:0x239,_0x2a8f48:0x15e,_0x5baff6:0x11d},_0x6bb607={_0x10f417:0xfe},_0x104b1b=await Promise[_0x523227(_0x2efd10._0x11c94d,_0x2efd10._0xa412d0,0x77,_0x2efd10._0x22e376)](_0x1f9af5['slice'](0x0,0xa)[_0x523227(_0x2efd10._0x1f4569,_0x2efd10._0xbd50ca,0x114,0x1c2)](async _0x50ad13=>{const _0x18e376={_0x2708a7:0x29,_0xdb4837:0x23f};function _0x5e6dc3(_0x43b27,_0x53e9b6,_0x175a8b,_0x2efacc){return _0x523227(_0x43b27-_0x18e376._0x2708a7,_0x53e9b6,_0x175a8b-0xb8,_0x175a8b- -_0x18e376._0xdb4837);}function _0x5ecfcb(_0x1a104d,_0x3009a2,_0x166099,_0x55f4a5){return _0x7b5bdb(_0x166099,_0x3009a2-_0x6bb607._0x10f417,_0x166099-0xc1,_0x55f4a5- -0x679);}try{const _0x58dbbb=await safeFetch(_0x50ad13[_0x5e6dc3(0x25c,0x141,_0x30ed77._0x4a7b03,0x2ee)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x38ddff,'Accept':'text/html'},'signal':_0x5e2d5b},{'lookup':_0x152990});if(!_0x58dbbb['ok'])return _0x50ad13;const _0x279503=await _0x58dbbb['text'](),_0x21e768=load(_0x279503),_0x12d929=_0x21e768(_0x5ecfcb(-0x3a5,-_0x30ed77._0x261212,-0x1d8,-0x250))[_0x5ecfcb(0xf8,0x284,-_0x30ed77._0x41f856,0x10f)](_0x5e6dc3(_0x30ed77._0x1f96a5,0x48,0x15,-0x16))||_0x21e768(_0x5ecfcb(-0x119,-_0x30ed77._0x4c892b,-_0x30ed77._0x2f43d4,-0x239))[_0x5ecfcb(_0x30ed77._0x4f1c7c,0x5f,-_0x30ed77._0x86f9d7,-0x62)]()[_0x5e6dc3(0x2ea,0x16a,0x1cd,0x326)]()[_0x5ecfcb(_0x30ed77._0x5a1bd8,-0xbb,0x30,_0x30ed77._0x4fc8e1)](),_0x16c7b3=_0x21e768(_0x5e6dc3(_0x30ed77._0x47abd2,0x94,0x1a,-_0x30ed77._0xb093c6))[_0x5ecfcb(_0x30ed77._0x2a471f,0xfd,_0x30ed77._0x300654,0x10f)](_0x5e6dc3(-_0x30ed77._0x41d77c,-0xe5,0x15,0x179))||_0x21e768('meta[property=\x27og:description\x27]')[_0x5e6dc3(0x2cc,_0x30ed77._0x57f2b8,_0x30ed77._0x1ea600,0x16b)](_0x5e6dc3(-0x131,_0x30ed77._0x8ad3a4,0x15,-_0x30ed77._0x6b654c))||_0x50ad13['snippet'],_0x1543d7=_0x21e768(_0x5e6dc3(-0x77,_0x30ed77._0x6b58fb,_0x30ed77._0x18a54a,_0x30ed77._0x5ab99e))[_0x5ecfcb(_0x30ed77._0x5cd779,_0x30ed77._0x59a63f,_0x30ed77._0x1c2bbe,_0x30ed77._0x5c9454)](_0x5ecfcb(-_0x30ed77._0x9d72c6,-0x175,-0x15b,-0x10a))||_0x21e768(_0x5e6dc3(_0x30ed77._0x3fbf26,_0x30ed77._0x5dcadb,_0x30ed77._0x27bec9,0x57))[_0x5ecfcb(0x277,_0x30ed77._0x418d3f,_0x30ed77._0x1275be,0x10f)]('datetime')||_0x50ad13[_0x5ecfcb(0xce,-_0x30ed77._0x63e439,0xe2,-_0x30ed77._0x325d8e)],_0xb32978=_0x21e768('link[rel=\x27canonical\x27]')[_0x5ecfcb(_0x30ed77._0x9fa4d4,0x1d0,0x1b5,_0x30ed77._0x5c9454)](_0x5e6dc3(0x160,0xdb,-0x3d,0x8d));return{..._0x50ad13,'title':_0x12d929||_0x50ad13[_0x5ecfcb(-0xaa,-_0x30ed77._0x597d63,-0xad,-_0x30ed77._0x1d925a)],'snippet':_0x16c7b3,'url':_0xb32978?normalizeUrl(new URL(_0xb32978,_0x50ad13[_0x5e6dc3(0x109,0xe6,0x227,0x144)])[_0x5ecfcb(-0xe,-_0x30ed77._0x2a8f48,-0x60,-_0x30ed77._0x5baff6)]()):_0x50ad13['url'],'publishedAt':_0x1543d7};}catch{return _0x50ad13;}}));function _0x7b5bdb(_0x3a9002,_0x47be94,_0x7d4c15,_0x14442e){return _0x4bfe88(_0x14442e-_0xe33dd._0x39a7de,_0x47be94-_0xe33dd._0xb74d2c,_0x7d4c15-_0xe33dd._0x465886,_0x3a9002);}const _0x570820=new Map(_0x1f9af5[_0x7b5bdb(_0x2efd10._0x29ec94,_0x2efd10._0x2c57af,_0x2efd10._0x4d7dae,0x72b)](0x0,0xa)[_0x7b5bdb(0x3d7,_0x2efd10._0x36c200,0x536,0x4dd)]((_0x2b190a,_0x4a3440)=>[_0x2b190a[_0x523227(0x35a,0x5f0,0x4bb,0x466)],_0x104b1b[_0x4a3440]]));function _0x523227(_0x574418,_0x26778a,_0x327577,_0x347e15){return _0x4bfe88(_0x347e15- -0x65,_0x26778a-0x1d7,_0x327577-_0x5e8441._0x57e1c9,_0x26778a);}return _0x1f9af5[_0x523227(0x119,_0x2efd10._0x5644cc,0x203,_0x2efd10._0x267505)](_0x1b7895=>_0x570820[_0x7b5bdb(0x7a4,0x442,0x5a2,0x5f8)](_0x1b7895[_0x7b5bdb(0x867,0x883,0x8d0,0x781)])??_0x1b7895);}function formatResults(_0x317312){const _0x1a5ca3={_0x2eec2c:0x8b2,_0x5479a6:0x194,_0x2a0f7f:0x96,_0x2146ce:0xa8},_0x39fade={_0x258104:0x4c6,_0x4aa0a4:0x5e2,_0x33b0f6:0x126,_0x395470:0x45,_0xb17fea:0x715,_0x1a9e35:0x663,_0x32e10f:0x776,_0x1f7c74:0x1e0,_0x125527:0x464,_0x2bf3bf:0x533,_0x558391:0x2d6,_0x278192:0x3c4,_0x2a3e6f:0x4f6,_0x34ef52:0x3be,_0x227087:0x540,_0x29e9ba:0x566,_0x4a1fe6:0x652,_0x5d6c23:0x4ac},_0x1a05ea={_0x3a566e:0x467},_0x5edd1b={_0x2a433c:0xd5},_0x4c1d48={_0x328116:0xfb};function _0x29f476(_0x8c8152,_0x179812,_0x2838c3,_0x49a339){return _0x4bfe88(_0x2838c3- -0x2cf,_0x179812-_0x4c1d48._0x328116,_0x2838c3-0x64,_0x8c8152);}function _0x27a8d9(_0x328f25,_0x2f1640,_0xa65646,_0x18e744){return _0x5469ba(_0x2f1640,_0x2f1640-0x17f,_0xa65646-_0x5edd1b._0x2a433c,_0x328f25-0x387);}if(_0x317312['length']===0x0)return _0x27a8d9(0x728,_0x1a5ca3._0x2eec2c,0x5e2,0x720);return _0x317312[_0x29f476(-_0x1a5ca3._0x5479a6,-_0x1a5ca3._0x2a0f7f,-_0x1a5ca3._0x2146ce,-0x18c)](_0x503bb3=>{const _0x5c8a66={_0x257b7c:0x1d5,_0x3cb258:0x18a},_0x30dd1a=[_0x503bb3[_0x4e3247(0x5a1,0x52b,_0x39fade._0x258104,_0x39fade._0x4aa0a4)][_0x4e3247(0x3da,0x4aa,0x419,0x3b4)]+'.\x20'+_0x503bb3[_0x449dc1(_0x39fade._0x33b0f6,0x1a1,0x85,_0x39fade._0x395470)],_0x503bb3[_0x4e3247(_0x39fade._0xb17fea,_0x39fade._0x1a9e35,_0x39fade._0x32e10f,0x4bd)]];function _0x449dc1(_0x37ee26,_0xc258c2,_0x31a832,_0x57f513){return _0x29f476(_0x57f513,_0xc258c2-_0x5c8a66._0x257b7c,_0x37ee26-0x26b,_0x57f513-_0x5c8a66._0x3cb258);}if(_0x503bb3['snippet'])_0x30dd1a[_0x449dc1(0x1c8,0xb7,_0x39fade._0x1f7c74,0x1d6)](_0x503bb3[_0x4e3247(0x3ec,_0x39fade._0x125527,0x2c4,_0x39fade._0x2bf3bf)]);function _0x4e3247(_0xac308c,_0x1bc58c,_0x5160c0,_0x266d27){return _0x29f476(_0xac308c,_0x1bc58c-0x13b,_0x1bc58c-_0x1a05ea._0x3a566e,_0x266d27-0x18f);}if(_0x503bb3['publishedAt'])_0x30dd1a[_0x4e3247(_0x39fade._0x558391,_0x39fade._0x278192,0x488,_0x39fade._0x2a3e6f)]('Published:\x20'+_0x503bb3[_0x4e3247(_0x39fade._0x34ef52,_0x39fade._0x227087,_0x39fade._0x29e9ba,0x522)]);return _0x30dd1a[_0x4e3247(0x628,_0x39fade._0x4a1fe6,0x49a,_0x39fade._0x5d6c23)]('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x4da501,_0x524603,_0x53e83c){const _0x2110b2={_0x145766:0x5ae,_0x51f2bb:0x6b7,_0x3e6469:0x306,_0x4a5be5:0x273,_0x786370:0xd4,_0x25da1e:0x111,_0x387307:0x62,_0x34ea13:0x2f4,_0x173343:0x66,_0x43d534:0xd1,_0x5c3116:0x20f,_0x2c2684:0x261,_0xebfd55:0x6b1,_0x3513a3:0x561,_0x668a79:0x823,_0x354271:0x1e2,_0x5e2e2f:0x40e,_0x476e56:0x327,_0x3578f9:0x1a8,_0x4e8066:0x368,_0x52075d:0x4aa,_0x26f866:0x771},_0x4e9be9={_0x1c6168:0x237,_0x2fe9aa:0x403,_0x3c7f5d:0x2ab,_0x4b8da8:0x5d,_0x2bdd64:0x158,_0x3f48f5:0x187,_0x3dee3c:0x1c0,_0x3d3f82:0x1ed,_0x2eedb8:0x38f},_0x2f7453={_0x4f388c:0x14e},_0x3cdb0b={_0xd7b60a:0xee};function _0x13c342(_0x283ab6,_0x3227f4,_0x2453ba,_0x2522a9){return _0x5469ba(_0x3227f4,_0x3227f4-0x25,_0x2453ba-_0x3cdb0b._0xd7b60a,_0x283ab6-0x335);}const _0xd11604=Math['max'](0x1,Math[_0x13c342(_0x2110b2._0x145766,0x6b8,_0x2110b2._0x51f2bb,0x6dd)](0xa,_0x524603['count'])),_0x5e068e=addSiteFilters(_0x524603[_0xc43d99(_0x2110b2._0x3e6469,0x3c9,_0x2110b2._0x4a5be5,0x1ed)],_0x524603[_0xc43d99(_0x2110b2._0x786370,_0x2110b2._0x25da1e,0xf6,-_0x2110b2._0x387307)]),_0x1105d9=await fetchJson(_0xc43d99(_0x2110b2._0x34ea13,0x398,0x176,0x1d4),_0x53e83c,{'method':_0xc43d99(0x2d,-0xad,_0x2110b2._0x173343,-0xcc),'headers':{'Authorization':_0xc43d99(_0x2110b2._0x43d534,_0x2110b2._0x5c3116,0x5a,_0x2110b2._0x2c2684)+_0x4da501[_0x13c342(_0x2110b2._0xebfd55,0x6b9,_0x2110b2._0x3513a3,_0x2110b2._0x668a79)]},'body':JSON[_0xc43d99(0x53,0xc6,0xc1,-0x2c)]({'query':_0x5e068e,'max_results':_0xd11604})});function _0xc43d99(_0x1cd3b0,_0x13a0c7,_0x10d7fc,_0x5b07a6){return _0x4bfe88(_0x1cd3b0- -_0x2f7453._0x4f388c,_0x13a0c7-0xe2,_0x10d7fc-0x187,_0x13a0c7);}const _0x26ee86=_0x1105d9[_0xc43d99(0x25d,_0x2110b2._0x354271,0x1c9,_0x2110b2._0x5e2e2f)]??[],_0x241748=_0x26ee86[_0xc43d99(0xd9,0x152,0x65,-0x14)]((_0x2c288a,_0x7753cd)=>{const _0x314899={_0x18a516:0x282,_0x4c4578:0x2};function _0xda5689(_0x47eeb5,_0x4b6608,_0x2fdde8,_0x465392){return _0x13c342(_0x47eeb5- -_0x314899._0x18a516,_0x4b6608,_0x2fdde8-0x65,_0x465392-_0x314899._0x4c4578);}const _0x3ff44a=_0x2c288a[_0x6c2e43(_0x4e9be9._0x1c6168,0x1f1,0x2e1,0x129)]||'';function _0x6c2e43(_0x15223d,_0x39967f,_0x4ff50e,_0x287809){return _0x13c342(_0x4ff50e- -0x45c,_0x15223d,_0x4ff50e-0x13f,_0x287809-0x1cb);}let _0x5ae108;try{_0x5ae108=new URL(_0x3ff44a)[_0x6c2e43(0x43a,_0x4e9be9._0x2fe9aa,_0x4e9be9._0x3c7f5d,0x1e9)];}catch{_0x5ae108=null;}return{'title':_0x2c288a['title']||_0x6c2e43(_0x4e9be9._0x4b8da8,0x38f,0x203,_0x4e9be9._0x2bdd64),'url':normalizeUrl(_0x3ff44a),'snippet':_0x2c288a[_0x6c2e43(0x240,0x1fa,0xcf,_0x4e9be9._0x3f48f5)]??null,'displayUrl':_0x5ae108,'favicon':null,'publishedAt':null,'source':{'engine':_0x6c2e43(_0x4e9be9._0x3dee3c,0xfa,_0x4e9be9._0x3d3f82,_0x4e9be9._0x2eedb8),'rank':_0x7753cd+0x1}};});return{'items':_0x241748[_0xc43d99(_0x2110b2._0x476e56,_0x2110b2._0x3578f9,0x4ba,_0x2110b2._0x4e8066)](0x0,_0xd11604),'engine':_0x13c342(0x649,_0x2110b2._0x52075d,0x6c5,_0x2110b2._0x26f866)};}async function searchTavily(_0x144ac6,_0x524ba3,_0x52e599){const _0x21d08a={_0x6df0f0:0x2c7,_0x143e9a:0x2c5,_0x112e77:0x24c,_0x302148:0x3fb,_0x41b592:0x3ed,_0x384a06:0x2ad,_0x403900:0xa1,_0x3a5956:0x37,_0x4577aa:0x3f,_0x484b26:0x100,_0xf14a55:0x143,_0x4884d8:0x71,_0x1b589f:0x60,_0x20dc8d:0xdf,_0x1f007a:0x2a,_0x45c8ae:0xea,_0x56f3d9:0x2a3,_0x4261fd:0x10e,_0x134e99:0x53,_0x515f52:0x126,_0x44ed75:0x63,_0x5f5464:0x18c,_0x3fd65b:0xa,_0x1fa178:0x19,_0x4f4d9a:0x106,_0x26cf40:0x11,_0x5854fd:0x96,_0x2b56e0:0x37,_0x56d240:0x229},_0x50165a={_0x296508:0x49e,_0x4ff058:0x627,_0x543278:0x554,_0x4f89c0:0x467,_0x53e9de:0x47d,_0x3d5c19:0x1c1,_0x26ac2d:0x251,_0x50ecb4:0x505,_0x2f3138:0x201,_0x44a431:0xb,_0x36af5e:0x19d,_0x10e681:0x1f5,_0x378c6e:0x48},_0x2e6aa5={_0x49b51e:0xa4,_0x403cfd:0x127},_0x129ae0={_0x2e6015:0x1d6,_0x505c07:0x1b,_0x497099:0x26a},_0x38c8ab={_0x49a01c:0x5e,_0x2c3f84:0x178},_0x1ee3ab=Math['max'](0x1,Math[_0x4ce2e6(_0x21d08a._0x6df0f0,_0x21d08a._0x143e9a,0x2c1,0x2de)](0x14,_0x524ba3['count'])),_0x223fa9={'query':_0x524ba3[_0x4ce2e6(0x2e5,_0x21d08a._0x112e77,_0x21d08a._0x302148,0x3f6)],'max_results':_0x1ee3ab,'search_depth':_0x144ac6['searchDepth']??_0x4ce2e6(0x3e2,_0x21d08a._0x41b592,0x281,_0x21d08a._0x384a06),'topic':_0x144ac6[_0x12ffb7(0x5c,0x3f,-_0x21d08a._0x403900,_0x21d08a._0x3a5956)]??_0x12ffb7(-0x71,-_0x21d08a._0x4577aa,-_0x21d08a._0x484b26,_0x21d08a._0xf14a55)};if(_0x524ba3['domains'][_0x12ffb7(_0x21d08a._0x4884d8,_0x21d08a._0x1b589f,0x21e,-_0x21d08a._0x20dc8d)]>0x0)_0x223fa9[_0x12ffb7(0xd5,-0x45,0x282,-_0x21d08a._0x1f007a)]=_0x524ba3['domains'];function _0x4ce2e6(_0x4b1cb5,_0x3dca8c,_0x138979,_0x413662){return _0x4bfe88(_0x413662- -_0x38c8ab._0x49a01c,_0x3dca8c-_0x38c8ab._0x2c3f84,_0x138979-0xdb,_0x138979);}function _0x12ffb7(_0x48d290,_0x40ca77,_0x25657f,_0x47b9ab){return _0x5469ba(_0x40ca77,_0x40ca77-_0x129ae0._0x2e6015,_0x25657f-_0x129ae0._0x505c07,_0x48d290- -_0x129ae0._0x497099);}const _0x2eb489=await fetchJson('https://api.tavily.com/search',_0x52e599,{'method':_0x12ffb7(-0x1b2,-_0x21d08a._0x45c8ae,-0x26,-_0x21d08a._0x56f3d9),'headers':{'Authorization':_0x12ffb7(-_0x21d08a._0x4261fd,-0xb2,0x33,-_0x21d08a._0x134e99)+_0x144ac6[_0x12ffb7(0x5a,-_0x21d08a._0x515f52,0x39,-_0x21d08a._0x44ed75)],'Content-Type':'application/json'},'body':JSON[_0x12ffb7(-_0x21d08a._0x5f5464,-_0x21d08a._0x3fd65b,-0x156,-_0x21d08a._0x1fa178)](_0x223fa9)}),_0xce8947=_0x2eb489['results']??[],_0x5d12fe=_0xce8947[_0x12ffb7(-_0x21d08a._0x4f4d9a,-0x295,-0x198,-_0x21d08a._0x26cf40)]((_0x5b24c9,_0x470328)=>{const _0x3dc1a1=_0x5b24c9[_0x59f4b7(_0x50165a._0x296508,_0x50165a._0x4ff058,0x4b3,0x4df)]||'';let _0x54d2bb;function _0x490cb4(_0xb03c33,_0x34af1a,_0x1433d4,_0x341948){return _0x4ce2e6(_0xb03c33-0x85,_0x34af1a-0x16e,_0x341948,_0x34af1a- -0x3e3);}function _0x59f4b7(_0x168e56,_0x299e38,_0x4c6a36,_0x16309a){return _0x12ffb7(_0x4c6a36-0x315,_0x299e38,_0x4c6a36-_0x2e6aa5._0x49b51e,_0x16309a-_0x2e6aa5._0x403cfd);}try{_0x54d2bb=new URL(_0x3dc1a1)[_0x59f4b7(_0x50165a._0x543278,_0x50165a._0x4f89c0,_0x50165a._0x53e9de,0x32f)];}catch{_0x54d2bb=null;}return{'title':_0x5b24c9[_0x59f4b7(0x91,_0x50165a._0x3d5c19,0x172,0xd7)]||_0x59f4b7(0x385,_0x50165a._0x26ac2d,0x3d5,_0x50165a._0x50ecb4),'url':normalizeUrl(_0x3dc1a1),'snippet':_0x5b24c9[_0x490cb4(-_0x50165a._0x2f3138,-0x188,_0x50165a._0x44a431,-_0x50165a._0x36af5e)]??null,'displayUrl':_0x54d2bb,'favicon':null,'publishedAt':null,'source':{'engine':_0x490cb4(-0x183,-_0x50165a._0x10e681,-0x297,-_0x50165a._0x378c6e),'rank':_0x470328+0x1}};});return{'items':_0x5d12fe[_0x12ffb7(0x148,_0x21d08a._0x5854fd,0x1d,-_0x21d08a._0x2b56e0)](0x0,_0x1ee3ab),'engine':_0x12ffb7(-0xe1,-_0x21d08a._0x56d240,0x33,0x5c)};}async function searchGoogleCse(_0x32965c,_0x3db0cd,_0x1544ce){const _0x117257={_0x1caca0:0x1fd,_0x47845d:0x3bd,_0x4efb7d:0x49f,_0x58975c:0x2a6,_0x44bad8:0x461,_0x14a3fa:0x505,_0x4b0ef4:0x2e,_0xe1bc8d:0x22c,_0x32ec53:0x9f,_0x40ac42:0x1e8,_0x1d9d48:0xeb,_0x57d211:0x209,_0x55f155:0x5f5,_0x594642:0xbc,_0x525548:0x2a3,_0x127092:0x3a9,_0x3379bf:0x548,_0xe400f9:0x2e7,_0x572455:0x42e,_0x3174af:0x5a6,_0x5ab416:0x5b4,_0x5f04cf:0x3e3,_0x502f12:0x4bd,_0x35fe75:0x2df,_0x566408:0x3c6,_0x158f01:0xcf,_0x30eec1:0x3ab,_0x45e161:0x2ce,_0x1a9130:0x404,_0x4d397b:0x383,_0x2031dc:0x3f4,_0x16b420:0x35a,_0x40635f:0x3c1,_0x4deccb:0x353,_0xe6f320:0x22e,_0x17c47a:0x96,_0x54f278:0x344,_0x213631:0x1ff,_0x169de8:0x43a,_0x151fc1:0x299,_0x5aa33f:0x550,_0x571f69:0x1e1,_0x5ef2c5:0x107,_0x5be8e3:0x179,_0x3d4f9a:0x302,_0x45a094:0x354,_0x2c272a:0x27c,_0x102171:0x11c,_0x12029e:0x187,_0x231bb6:0x20a,_0x5c745f:0x1d8,_0x540bc6:0x27b,_0x126dbc:0x18f,_0x4c0492:0x321,_0x4f8e73:0x25e,_0x4eba01:0x331,_0x2993a1:0x42f,_0xcace00:0x38f,_0x11d5fe:0x1ee,_0x12935e:0x32d,_0x4e91dd:0x185,_0x78d74f:0x224,_0x19385a:0xd8,_0x1a4779:0x390,_0xe52d82:0x35a,_0x7d97ed:0x1ac,_0x5f526d:0x24c,_0x4b1ddb:0x5c5,_0x22eba6:0x63e,_0xafd525:0x4bf,_0x495e05:0x56b,_0x3bb3c2:0x4ad,_0x37f160:0xb2,_0x19a510:0x221,_0x31b1b6:0x142,_0x14062a:0x17a,_0x4eca93:0x28f,_0xf9ef5:0x44f,_0x344abd:0x52d,_0x18c88b:0x5f6,_0x495a18:0x1fb,_0x10654c:0x1e1,_0x1782fb:0x1fa,_0x453516:0x3b4,_0x15decf:0x16a,_0x1dadfe:0x214,_0xd52391:0x281,_0x3b0fd1:0x93,_0x18077f:0x338,_0x46886a:0x54f,_0x4d8d9e:0x11c,_0x2f74e4:0x58,_0x2551a6:0x9a,_0x4d3bde:0x1f3,_0x1c90bb:0x397,_0x2dbbb9:0x1f1,_0x25c726:0x409,_0x4d30a8:0x26b,_0x5b02c8:0x345,_0x5ea3f3:0x4c4,_0x495337:0x3b3,_0x8e6b0e:0x2f2,_0x2d4eff:0x330,_0x1c57d5:0x46e,_0x4ac296:0x38c,_0x2e1b44:0x2ca,_0x236009:0x1c0,_0x4030e2:0x425,_0xcf6953:0x1d4,_0x5e5e59:0x1a3,_0x24ba37:0x198,_0x4ee3a3:0x666,_0x1bbb43:0x1f5,_0x37c3ad:0x28e,_0x24657e:0x3a1,_0x4d0d64:0x35e,_0x1d45f1:0x2ba,_0x45f0c1:0x2fa,_0x2a6f36:0x37a,_0x4ac24f:0x41f,_0x512d21:0x476,_0x5e8d5a:0x3af},_0x4c9a45={_0x5153c3:0x4ba,_0x159db4:0x1f0},_0x6a9b01=Math[_0xddf83b(-_0x117257._0x1caca0,-0x274,-0x24d,-0x1f4)](0x1,Math[_0x14f198(_0x117257._0x47845d,_0x117257._0x4efb7d,0x397,_0x117257._0x58975c)](0x32,_0x3db0cd[_0x14f198(_0x117257._0x44bad8,0x350,_0x117257._0x14a3fa,0x602)]));if(_0x3db0cd[_0xddf83b(_0x117257._0x4b0ef4,-0xa6,-_0x117257._0xe1bc8d,-0x1af)]+_0x6a9b01>0x64)throw new ToolExecutionError(_0xddf83b(-_0x117257._0x32ec53,-0x1e3,-0x4b,-_0x117257._0x40ac42),{'offset':_0x3db0cd[_0xddf83b(-0x205,-0xa6,-_0x117257._0x1d9d48,-_0x117257._0x57d211)],'count':_0x6a9b01,'maxResults':0x64});function _0x14f198(_0x50ef8b,_0x1c4477,_0x54c769,_0x43ff60){return _0x4bfe88(_0x50ef8b-0x81,_0x1c4477-0x76,_0x54c769-0x19b,_0x1c4477);}const _0x369f06=cseDateRestrict(_0x3db0cd[_0x14f198(0x4bb,_0x117257._0x55f155,0x5fc,0x5d8)]),_0x1b474e=addSiteFilters(_0x3db0cd[_0xddf83b(-0xc6,-0x66,0x140,_0x117257._0x594642)],_0x3db0cd[_0x14f198(_0x117257._0x525548,0x1d0,_0x117257._0x127092,0x112)]);let _0x39715c=0x0,_0x5b10f9=_0x3db0cd[_0x14f198(0x495,_0x117257._0x3379bf,_0x117257._0xe400f9,0x598)]+0x1;const _0x2b252d=[];while(_0x39715c<_0x6a9b01){const _0xc7172a=Math['min'](0xa,_0x6a9b01-_0x39715c),_0xd85110=new URL(_0x14f198(_0x117257._0x572455,_0x117257._0x3174af,0x58f,_0x117257._0x5ab416));_0xd85110[_0x14f198(0x35a,_0x117257._0x5f04cf,0x1aa,_0x117257._0x502f12)][_0xddf83b(-0x1f4,-_0x117257._0x35fe75,-0x490,-_0x117257._0x566408)]('key',_0x32965c['googleCseKey']),_0xd85110[_0xddf83b(-_0x117257._0x158f01,-0x1e1,-0xa0,-0x16b)][_0x14f198(0x25c,_0x117257._0x30eec1,_0x117257._0x45e161,_0x117257._0x1a9130)]('cx',_0x32965c[_0x14f198(0x3f4,_0x117257._0x4d397b,0x41f,_0x117257._0x2031dc)]),_0xd85110['searchParams'][_0x14f198(0x25c,0x141,0x367,0x22a)]('q',_0x1b474e),_0xd85110[_0x14f198(_0x117257._0x16b420,0x28d,0x3a1,_0x117257._0x40635f)]['set'](_0xddf83b(-0x2fa,-_0x117257._0x4deccb,-0x2a6,-_0x117257._0xe6f320),String(_0xc7172a)),_0xd85110[_0xddf83b(-0x32b,-0x1e1,-_0x117257._0x17c47a,-_0x117257._0x54f278)][_0x14f198(0x25c,0x1fe,0x147,_0x117257._0x213631)](_0x14f198(_0x117257._0x169de8,0x398,_0x117257._0x151fc1,_0x117257._0x5aa33f),String(_0x5b10f9)),_0xd85110[_0xddf83b(-0x353,-_0x117257._0x571f69,-_0x117257._0x5ef2c5,-_0x117257._0x5be8e3)][_0x14f198(0x25c,_0x117257._0x3d4f9a,0x30d,_0x117257._0x45a094)](_0x14f198(_0x117257._0x2c272a,0x120,0x26b,_0x117257._0x102171),_0x3db0cd[_0x14f198(_0x117257._0x2c272a,_0x117257._0x12029e,0x413,_0x117257._0x231bb6)]?_0x14f198(0x37a,_0x117257._0x5c745f,0x312,_0x117257._0x540bc6):_0xddf83b(-_0x117257._0x126dbc,-_0x117257._0x4c0492,-_0x117257._0x4f8e73,-0x328));_0x3db0cd[_0xddf83b(-0x462,-0x317,-0x4af,-0x3ac)]&&(_0xd85110[_0x14f198(0x35a,0x240,_0x117257._0x4eba01,0x40c)]['set']('hl',_0x3db0cd['lang']),_0xd85110[_0x14f198(0x35a,_0x117257._0x2993a1,_0x117257._0xcace00,_0x117257._0x11d5fe)][_0xddf83b(-0x3d1,-_0x117257._0x35fe75,-0x3e8,-0x48e)]('lr',_0x14f198(0x2c4,_0x117257._0x12935e,_0x117257._0x4e91dd,0x332)+_0x3db0cd[_0x14f198(_0x117257._0x78d74f,_0x117257._0x19385a,0x310,_0x117257._0x1a4779)]));if(_0x3db0cd['region'])_0xd85110[_0x14f198(_0x117257._0xe52d82,0x461,_0x117257._0x7d97ed,0x216)][_0x14f198(0x25c,0xb9,_0x117257._0x5f526d,0x10b)]('gl',_0x3db0cd[_0x14f198(0x4fe,_0x117257._0x4b1ddb,_0x117257._0x22eba6,_0x117257._0xafd525)][_0x14f198(0x44c,_0x117257._0x495e05,0x5e3,0x54d)]());if(_0x3db0cd[_0x14f198(0x53e,0x3b2,_0x117257._0x3bb3c2,0x5a5)]===_0xddf83b(-0x28f,-0xfe,-_0x117257._0x37f160,-_0x117257._0x19a510))_0xd85110[_0xddf83b(-_0x117257._0x31b1b6,-0x1e1,-_0x117257._0x14062a,-0x168)][_0xddf83b(-_0x117257._0x4eca93,-0x2df,-0x1f5,-0x2ca)](_0x14f198(_0x117257._0xf9ef5,_0x117257._0x344abd,0x339,_0x117257._0x18c88b),'image');if(_0x369f06)_0xd85110[_0xddf83b(-_0x117257._0x495a18,-_0x117257._0x10654c,-_0x117257._0x1782fb,-0x1a4)][_0xddf83b(-0x25a,-_0x117257._0x35fe75,-0x349,-0x33c)](_0xddf83b(-_0x117257._0x453516,-0x22b,-0x1d7,-_0x117257._0x15decf),_0x369f06);const _0x2ba360=await fetchJson(_0xd85110[_0xddf83b(-0xf1,-_0x117257._0x1dadfe,-_0x117257._0xd52391,-_0x117257._0x3b0fd1)](),_0x1544ce),_0x4c1b20=_0x2ba360[_0x14f198(_0x117257._0x30eec1,0x44f,_0x117257._0x18077f,0x3a8)]??[];if(_0x4c1b20[_0x14f198(0x41f,0x5bc,_0x117257._0xafd525,_0x117257._0x46886a)]===0x0)break;const _0x1baef1=_0x39715c;for(let _0x424e79=0x0;_0x424e79<_0x4c1b20[_0xddf83b(-0x147,-_0x117257._0x4d8d9e,_0x117257._0x2f74e4,-_0x117257._0x2551a6)];_0x424e79++){const _0x2a4b93=_0x4c1b20[_0x424e79];if(!_0x2a4b93)continue;const _0x2e934c=_0x2a4b93[_0x14f198(_0x117257._0x4d3bde,_0x117257._0x1c90bb,_0x117257._0x2dbbb9,0x171)]||_0x2a4b93[_0x14f198(0x4c4,_0x117257._0x127092,0x460,_0x117257._0x25c726)]?.[_0xddf83b(-0x212,-_0x117257._0x4d30a8,-_0x117257._0x5b02c8,-0x3ad)]||'',_0x26172d=_0x2a4b93['title']||_0x2a4b93[_0x14f198(_0x117257._0x5ea3f3,0x40a,_0x117257._0x495337,0x56e)]?.[_0xddf83b(-_0x117257._0x8e6b0e,-_0x117257._0x2d4eff,-0x4bb,-0x46d)]||_0x14f198(_0x117257._0x1c57d5,_0x117257._0x4ac296,0x4e1,0x3e8),_0x5c289d=_0x2a4b93[_0x14f198(0x34d,_0x117257._0x2e1b44,_0x117257._0x236009,_0x117257._0x4030e2)]||_0x2a4b93[_0x14f198(0x360,0x33b,_0x117257._0xcf6953,0x4ff)]?.['replace'](/<[^>]+>/g,''),_0x2b510e=_0x2a4b93[_0xddf83b(-0x238,-_0x117257._0x5e5e59,-0x28e,-_0x117257._0x24ba37)]?.['metatags']?.[0x0]??{};let _0x202b39;try{_0x202b39=new URL(_0x2e934c)[_0x14f198(0x516,0x51e,0x581,_0x117257._0x4ee3a3)];}catch{_0x202b39=null;}_0x2b252d[_0xddf83b(-_0x117257._0x1bbb43,-_0x117257._0x37c3ad,-0x28a,-_0x117257._0x24657e)]({'title':_0x26172d,'url':normalizeUrl(_0x2e934c),'snippet':_0x5c289d??null,'displayUrl':_0x202b39,'favicon':null,'publishedAt':_0x2b510e[_0x14f198(0x307,0x39b,_0x117257._0x213631,0x2cb)]||_0x2b510e[_0x14f198(_0x117257._0x4d0d64,0x26c,0x31e,0x1c8)]||null,'source':{'engine':_0x14f198(0x30c,_0x117257._0x1d45f1,_0x117257._0x45f0c1,_0x117257._0x2a6f36),'rank':_0x1baef1+_0x424e79+0x1}});}_0x39715c+=_0x4c1b20[_0x14f198(_0x117257._0x4ac24f,0x550,0x582,0x2a5)],_0x5b10f9+=_0x4c1b20['length'];if(_0x4c1b20[_0x14f198(0x41f,0x37c,0x272,0x2de)]<_0xc7172a)break;}function _0xddf83b(_0x3ec6e1,_0x5636ab,_0x1d3fb7,_0x26c4bf){return _0x4bfe88(_0x5636ab- -_0x4c9a45._0x5153c3,_0x5636ab-_0x4c9a45._0x159db4,_0x1d3fb7-0x1b6,_0x26c4bf);}return _0x2b252d[_0x14f198(0x4f6,0x533,_0x117257._0x512d21,_0x117257._0x5e8d5a)](0x0,_0x6a9b01);}function isGoogleCseEngine(_0x32b95a){const _0x491e07={_0x11d012:0x16b},_0x18e96f={_0x4d0a5a:0x5};function _0x54e681(_0x30d318,_0xd59d93,_0x4c0109,_0x149d48){return _0x5469ba(_0x30d318,_0xd59d93-_0x18e96f._0x4d0a5a,_0x4c0109-0x150,_0x149d48- -0x13e);}return _0x54e681(-0x162,-_0x491e07._0x11d012,-0x1f6,-0x4d)in _0x32b95a;}function _0x4bfe88(_0x593529,_0x211fb8,_0x3994eb,_0x17dec8){const _0x3d93c3={_0x393be1:0xf9};return _0x5bda(_0x593529-_0x3d93c3._0x393be1,_0x17dec8);}function isOllamaEngine(_0x1f42b5){const _0x287653={_0x480025:0x172},_0x45beb7={_0x36be2a:0x135};function _0x18c253(_0x44ad5a,_0x53b09c,_0x5620a1,_0x26eac1){return _0x4bfe88(_0x44ad5a- -0x43e,_0x53b09c-_0x45beb7._0x36be2a,_0x5620a1-0x141,_0x53b09c);}return _0x18c253(0x1,_0x287653._0x480025,0x102,-0xc7)in _0x1f42b5;}function isTavilyEngine(_0x247bf3){const _0x2c89b5={_0xabdde3:0x73,_0x7fdbdb:0x16c},_0x2550e7={_0x3102c3:0xef};function _0x3a28ef(_0x1ebff7,_0xd6b723,_0xcf30e9,_0x227d3c){return _0x5469ba(_0x227d3c,_0xd6b723-0xcc,_0xcf30e9-_0x2550e7._0x3102c3,_0xd6b723- -0x251);}return _0x3a28ef(0x223,_0x2c89b5._0xabdde3,0xf1,_0x2c89b5._0x7fdbdb)in _0x247bf3;}function createWebSearchTool(_0x5c315d){const _0x2353df={_0x2a53a9:0xaa,_0x574f7d:0x2a6,_0x4d3cfc:0x21d,_0x2d5232:0x4e,_0x2ea7a6:0x1c8,_0x28c8da:0xdb,_0x1fe37f:0xa4,_0x4d0c50:0xa0,_0x4d07bf:0x1fc,_0x13f55d:0x1d7,_0x22d0d1:0x9c,_0x4c891e:0x44,_0x287133:0x1b0,_0x1345cb:0x96,_0xb73657:0x233,_0x2fecbe:0x236,_0x5a5745:0x1e6,_0x221085:0x24c,_0x200409:0x39f,_0x32c704:0x298,_0x5ef495:0x3f0,_0x4a6e7d:0x2a1,_0x4e7309:0x138,_0x4d3668:0x48,_0x149c67:0x157,_0x1e7559:0x107,_0x2c44ae:0x14,_0x1e69f2:0x161,_0x1319e9:0x19e,_0x19ea28:0x1ff,_0x2afaf7:0x279,_0x1cf881:0x2bb,_0x1ccc6e:0x3a4,_0x2ac208:0x43a},_0x51717e={_0xca3b88:0x3ed,_0x13f4ba:0x472,_0x3a13ff:0x49d,_0x34c42e:0x348,_0x1faba1:0x1be,_0x354c2e:0x365,_0x21398d:0x4e2,_0x19616a:0x405,_0x552d4c:0x231,_0x3466f3:0x227,_0x2a68b5:0x347,_0x165224:0x203,_0x5cdc0f:0x18d,_0x1ad2d3:0x21c,_0x40534e:0x343,_0x312940:0x2ff,_0x4866db:0x240,_0x1396fa:0x2bf,_0x4c3e58:0x45e,_0xe07269:0x4d8,_0x4f6e63:0x470,_0x1d56e3:0x2fd,_0x1231e5:0x4ac,_0x3e52da:0x69d,_0x4c9ae1:0x351,_0x1a9894:0x283,_0x165e04:0x37a,_0x729a94:0x238,_0x3c205b:0x20d,_0x37a03f:0x2ed,_0x12160c:0x1bb,_0x5d4103:0x191,_0x103a01:0x2ee,_0xa1e54b:0x31e,_0x3e026e:0x511,_0x43f553:0x143,_0xcb99e5:0x40e,_0x2a013b:0x355,_0x7f08aa:0x3fc,_0x54d785:0x278,_0x40f738:0x26f,_0x42c247:0x31e,_0x3b1377:0x325,_0x1a46d4:0x37a,_0x1bd0ab:0x427,_0x397608:0x3e4,_0x17d60f:0x33a,_0x10c579:0x4a0,_0x129394:0x51e,_0x5471aa:0x51f,_0x14665b:0x2a5,_0x54660c:0x1dd,_0x5254ae:0x257,_0x130f3e:0x48c,_0x141448:0x4d6,_0xbbe396:0x387,_0x4102c8:0x4ab,_0x37fff3:0x329,_0x41ae06:0x19c,_0x54627d:0x414,_0x40ad67:0x535,_0x3298fd:0x402,_0x417a30:0x38b,_0x51c697:0x53c,_0x36c27f:0x622,_0x592076:0x63e,_0x453a2a:0x291,_0x5bd64d:0x5b8,_0x4f6576:0x17f,_0x931d:0x184,_0x37b36d:0x5a6,_0x1b0487:0x719,_0xd24f04:0x57f,_0x209d57:0x2e3,_0x4f3656:0x361,_0x544073:0x4be,_0x1b6e6c:0x4a0,_0xf720:0x358,_0x3c8ee6:0x5d2,_0x1d5609:0x5b4,_0x366c0d:0x67e,_0xb02d8a:0x1e1},_0x935be2={_0x353c25:0x144},_0x5c8295={_0x3914e7:0xbf},_0x36adc2={_0x10b42c:0x19d,_0x1a584c:0x82};if(!_0x5c315d[_0x7966bb(-_0x2353df._0x2a53a9,-_0x2353df._0x574f7d,-0x1a1,-_0x2353df._0x4d3cfc)]||_0x5c315d[_0x5adaaf(-_0x2353df._0x2d5232,0x275,_0x2353df._0x2ea7a6,_0x2353df._0x28c8da)]['length']===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');const _0x1b5864=_0x5c315d[_0x5adaaf(0x12,0x63,-_0x2353df._0x1fe37f,_0x2353df._0x4d0c50)]??_0x7966bb(_0x2353df._0x4d07bf,_0x2353df._0x13f55d,_0x2353df._0x22d0d1,-_0x2353df._0x4c891e);function _0x5adaaf(_0x3532ef,_0x3a0608,_0x10b683,_0x2223ef){return _0x4bfe88(_0x2223ef- -_0x36adc2._0x10b42c,_0x3a0608-_0x36adc2._0x1a584c,_0x10b683-0xdf,_0x3a0608);}const _0x5a2969=_0x5c315d['lookup'];function _0x7966bb(_0x205fd5,_0x4595fc,_0x215205,_0x4b19e7){return _0x4bfe88(_0x215205- -0x419,_0x4595fc-_0x5c8295._0x3914e7,_0x215205-0x73,_0x205fd5);}return defineTool({'name':_0x1b5864,'permissionClass':'read','description':_0x5adaaf(0x19a,0x2fd,0xf4,_0x2353df._0x287133),'inputSchema':{'type':'object','properties':{'description':{'type':_0x5adaaf(0x115,0xa3,0x1dd,_0x2353df._0x1345cb)},'query':{'type':_0x7966bb(-_0x2353df._0xb73657,-_0x2353df._0x2fecbe,-_0x2353df._0x5a5745,-0xa1)},'count':{'type':_0x5adaaf(0x25a,_0x2353df._0x221085,0x125,0x223)},'offset':{'type':'number'},'domains':{'type':_0x5adaaf(_0x2353df._0x200409,_0x2353df._0x32c704,_0x2353df._0x5ef495,_0x2353df._0x4a6e7d),'items':{'type':_0x7966bb(-0x14c,-0x10c,-0x1e6,-_0x2353df._0x4e7309)}},'recencyDays':{'type':'number'},'lang':{'type':_0x5adaaf(-_0x2353df._0x4d3668,-0x119,_0x2353df._0x149c67,0x96)},'region':{'type':'string'},'safe':{'type':_0x7966bb(_0x2353df._0x1e7559,0x34,0x3f,-0x8e)},'type':{'type':_0x5adaaf(-_0x2353df._0x2c44ae,_0x2353df._0x1e69f2,0x65,_0x2353df._0x1345cb)},'hydrateMeta':{'type':_0x5adaaf(_0x2353df._0x1319e9,_0x2353df._0x19ea28,_0x2353df._0x2afaf7,_0x2353df._0x1cf881)}},'required':[_0x5adaaf(_0x2353df._0x1ccc6e,0x2e4,_0x2353df._0x2ac208,0x2b7)]},async *'execute'(_0x35d1d9,_0x26d3d0){const _0x1353fe={_0x5f18e5:0x17c,_0x3d61ae:0x68,_0x5376cb:0xff,_0x3660ee:0x200,_0x26d93e:0x2f6,_0xb294f:0x433,_0x110193:0x315,_0x365a78:0x334,_0x3058dc:0x2a2,_0x3ac066:0x282,_0x26c6cc:0xd7,_0x165d53:0x2e6},_0x56d788={_0x29c8bd:0x51b},_0x4d0448=_0x35d1d9[_0x14a32f(0x435,0x535,_0x51717e._0xca3b88,0x41d)][_0x14a32f(_0x51717e._0x13f4ba,_0x51717e._0x3a13ff,0x55d,0x2f5)]();if(!_0x4d0448)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x2e90b2={'query':_0x4d0448,'count':Math[_0x232534(0x279,_0x51717e._0x34c42e,0x328,_0x51717e._0x1faba1)](0x1,Math[_0x232534(_0x51717e._0x354c2e,0x43e,_0x51717e._0x21398d,0x371)](0x32,Math['trunc'](_0x35d1d9[_0x14a32f(0x3c1,_0x51717e._0x19616a,_0x51717e._0x552d4c,0x4d1)]??0xa))),'offset':Math[_0x14a32f(_0x51717e._0x3466f3,0x2f9,0x251,_0x51717e._0x2a68b5)](0x0,Math['trunc'](_0x35d1d9['offset']??0x0)),'domains':_0x35d1d9[_0x14a32f(_0x51717e._0x165224,_0x51717e._0x5cdc0f,_0x51717e._0x1ad2d3,0x29b)]??[],'recencyDays':Math['max'](0x0,Math[_0x232534(_0x51717e._0x40534e,_0x51717e._0x312940,_0x51717e._0x4866db,_0x51717e._0x1396fa)](_0x35d1d9['recencyDays']??0x0)),'lang':_0x35d1d9['lang']??'en','region':_0x35d1d9[_0x14a32f(_0x51717e._0x4c3e58,0x34f,0x4c0,_0x51717e._0xe07269)]??'','safe':_0x35d1d9[_0x232534(_0x51717e._0x4f6e63,_0x51717e._0x1d56e3,0x196,_0x51717e._0x1231e5)]??!![],'type':normalizeType(_0x35d1d9[_0x232534(_0x51717e._0x3e52da,0x5bf,0x54a,0x710)]),'hydrateMeta':_0x35d1d9[_0x232534(0x26c,0x302,0x41d,_0x51717e._0x4c9ae1)]??![]};let _0x1bb0f3=[],_0x10f677='unknown';for(const _0x127652 of _0x5c315d[_0x232534(_0x51717e._0x1a9894,_0x51717e._0x165e04,_0x51717e._0x729a94,_0x51717e._0x3c205b)]){try{if(isGoogleCseEngine(_0x127652))_0x1bb0f3=await searchGoogleCse(_0x127652,_0x2e90b2,_0x26d3d0[_0x14a32f(_0x51717e._0x37a03f,0x2f4,_0x51717e._0x12160c,_0x51717e._0x5d4103)]),_0x10f677='google-cse';else{if(isOllamaEngine(_0x127652)){const _0x530435=await searchOllama(_0x127652,_0x2e90b2,_0x26d3d0[_0x14a32f(_0x51717e._0x37a03f,_0x51717e._0x103a01,0x422,0x3ad)]);_0x1bb0f3=_0x530435[_0x232534(_0x51717e._0xa1e54b,0x42c,0x4f3,_0x51717e._0x3e026e)],_0x10f677=_0x530435[_0x14a32f(0x157,0x2f2,0x2b9,_0x51717e._0x43f553)];}else{if(isTavilyEngine(_0x127652)){const _0x1fc6f6=await searchTavily(_0x127652,_0x2e90b2,_0x26d3d0[_0x232534(0x5c3,_0x51717e._0xcb99e5,_0x51717e._0x2a013b,0x36d)]);_0x1bb0f3=_0x1fc6f6[_0x14a32f(0x30b,_0x51717e._0x7f08aa,0x28d,0x3e5)],_0x10f677=_0x1fc6f6[_0x232534(0x251,_0x51717e._0x54d785,0x191,_0x51717e._0x40f738)];}}}if(_0x1bb0f3[_0x14a32f(0x37f,_0x51717e._0x42c247,0x1f3,0x475)]>0x0)break;}catch(_0x52b5c8){if(_0x127652===_0x5c315d[_0x232534(_0x51717e._0x3b1377,_0x51717e._0x1a46d4,_0x51717e._0x1bd0ab,0x372)][_0x5c315d[_0x232534(_0x51717e._0x397608,0x37a,_0x51717e._0x17d60f,0x510)]['length']-0x1])throw _0x52b5c8;}}_0x2e90b2['hydrateMeta']&&_0x1bb0f3[_0x232534(0x516,_0x51717e._0x10c579,_0x51717e._0x129394,_0x51717e._0x5471aa)]>0x0&&(_0x1bb0f3=await hydrateResults(_0x1bb0f3,_0x2e90b2[_0x232534(0x169,_0x51717e._0x14665b,_0x51717e._0x54660c,0x2da)],_0x26d3d0[_0x232534(0x506,0x40e,0x340,_0x51717e._0x5254ae)],_0x5a2969));const _0x3306bc=new Set();function _0x232534(_0x535ca3,_0x2b1fd9,_0x408eef,_0x31d7b5){return _0x7966bb(_0x31d7b5,_0x2b1fd9-0x32,_0x2b1fd9-_0x56d788._0x29c8bd,_0x31d7b5-0x180);}_0x1bb0f3=_0x1bb0f3[_0x232534(_0x51717e._0x130f3e,_0x51717e._0x141448,_0x51717e._0xbbe396,0x322)](_0x3f8ed9=>{const _0x2288cd={_0x5405de:0x194},_0x4051eb=_0x3f8ed9[_0x521099(_0x1353fe._0x5f18e5,0x60,_0x1353fe._0x3d61ae,_0x1353fe._0x5376cb)][_0x3f22a0(_0x1353fe._0x3660ee,_0x1353fe._0x26d93e,_0x1353fe._0xb294f,_0x1353fe._0x110193)]();function _0x521099(_0x428cab,_0x12de94,_0x854518,_0x1cdefc){return _0x14a32f(_0x1cdefc- -0x3ad,_0x12de94-0xaa,_0x854518-0x15b,_0x12de94);}function _0x3f22a0(_0x537f04,_0x1ee2fa,_0x2b00d2,_0x322621){return _0x232534(_0x537f04-0x9,_0x1ee2fa- -_0x2288cd._0x5405de,_0x2b00d2-0xc2,_0x322621);}if(!_0x4051eb||_0x3306bc[_0x3f22a0(_0x1353fe._0x365a78,0x228,_0x1353fe._0x3058dc,0x2d3)](_0x4051eb))return![];return _0x3306bc[_0x3f22a0(_0x1353fe._0x3ac066,0x18c,_0x1353fe._0x26c6cc,_0x1353fe._0x165d53)](_0x4051eb),!![];}),_0x1bb0f3=_0x1bb0f3[_0x232534(_0x51717e._0x4102c8,_0x51717e._0x37fff3,0x443,0x383)]((_0x156eb8,_0x3caa71)=>({..._0x156eb8,'source':{..._0x156eb8[_0x232534(0x463,0x495,0x649,0x533)],'rank':_0x3caa71+0x1}}));const _0x12388e={};if(_0x2e90b2[_0x232534(0x234,0x324,_0x51717e._0x41ae06,_0x51717e._0x54627d)][_0x232534(_0x51717e._0x40ad67,_0x51717e._0x10c579,0x451,0x5f8)]>0x0)_0x12388e[_0x232534(_0x51717e._0x3298fd,0x324,0x491,0x2ab)]=_0x2e90b2[_0x14a32f(0x203,0x247,_0x51717e._0x417a30,0x1c7)];function _0x14a32f(_0xe95ad3,_0x88788f,_0x80f1d,_0x5ece26){return _0x7966bb(_0x5ece26,_0x88788f-_0x935be2._0x353c25,_0xe95ad3-0x3fa,_0x5ece26-0x108);}if(_0x2e90b2['recencyDays']>0x0)_0x12388e[_0x232534(0x481,_0x51717e._0x51c697,_0x51717e._0x36c27f,_0x51717e._0x592076)]=_0x2e90b2[_0x14a32f(0x41b,_0x51717e._0x453a2a,_0x51717e._0x5bd64d,_0x51717e._0x10c579)];if(_0x2e90b2[_0x14a32f(0x184,0x2a6,_0x51717e._0x4f6576,0x2cb)]!=='en')_0x12388e[_0x14a32f(_0x51717e._0x931d,0x1a6,0xe4,0x200)]=_0x2e90b2['lang'];if(_0x2e90b2[_0x232534(0x4ef,0x57f,0x3fc,0x593)])_0x12388e[_0x232534(0x6e8,0x57f,_0x51717e._0x37b36d,_0x51717e._0x1b0487)]=_0x2e90b2[_0x232534(0x3c8,_0x51717e._0xd24f04,0x623,0x591)];return yield createToolOutput(formatResults(_0x1bb0f3),{'engine':_0x10f677,'count':_0x1bb0f3['length'],'items':_0x1bb0f3,'query':_0x2e90b2[_0x14a32f(0x435,_0x51717e._0x209d57,_0x51717e._0x4f3656,0x5e8)],...Object[_0x232534(0x68e,0x50c,0x59f,0x573)](_0x12388e)[_0x232534(_0x51717e._0x544073,_0x51717e._0x1b6e6c,0x3b6,_0x51717e._0xf720)]>0x0?{'appliedFilters':_0x12388e}:{},'offset':_0x2e90b2[_0x232534(0x550,0x516,0x634,_0x51717e._0x3c8ee6)],'totalRequested':_0x2e90b2[_0x232534(_0x51717e._0x1d5609,_0x51717e._0x21398d,_0x51717e._0x366c0d,0x618)],'hydrated':_0x2e90b2[_0x14a32f(_0x51717e._0xb02d8a,0x215,0x40,0x261)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,extractOwnedMcpSafeError,filepath,files,isProbablyBinary,isTerminalStatus,normalizeToolOutputValue,projectMcpTools,redactMcpDiagnostic,resolveAllowedPath,resolveBashExecutionTarget,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateToolInput};
1
+ (function(_0x529c6d,_0x523bab){const _0x357d68={_0x3aa15b:0x246,_0x53c0e8:0x2b6,_0x42ed38:0x1ad,_0x2d1e47:0x2c,_0xd462b7:0x1a7,_0x37551b:0x3d4,_0x19af30:0x107,_0x3d7619:0x218,_0x2b53f7:0x241,_0x17a5d1:0xd4,_0x49953a:0x15f,_0x51de5b:0x1c2,_0x29242f:0x109,_0x1f95e6:0x68,_0x5a04d1:0x2a4,_0x4e8c01:0x12c,_0x415ea6:0xae,_0x76e79f:0x96},_0x29f6a1={_0x338878:0x2e5};function _0x3f224b(_0x51a778,_0x3d8f39,_0x30e088,_0x3a389b){return _0x2a2f(_0x3d8f39- -_0x29f6a1._0x338878,_0x3a389b);}const _0x45864f=_0x529c6d();function _0x49864f(_0x27183b,_0x4108a7,_0x1ccd3f,_0x3af9d3){return _0x2a2f(_0x4108a7-0x362,_0x27183b);}while(!![]){try{const _0x3e3570=parseInt(_0x3f224b(-_0x357d68._0x3aa15b,-0x21f,-_0x357d68._0x53c0e8,-_0x357d68._0x42ed38))/0x1*(parseInt(_0x3f224b(-0x1ea,-0x173,-_0x357d68._0x2d1e47,-_0x357d68._0xd462b7))/0x2)+parseInt(_0x49864f(0x44e,0x55e,0x6fe,_0x357d68._0x37551b))/0x3*(parseInt(_0x3f224b(-0x130,-_0x357d68._0x19af30,-_0x357d68._0x3d7619,0x10))/0x4)+parseInt(_0x3f224b(-_0x357d68._0x2b53f7,-_0x357d68._0x17a5d1,0x49,-_0x357d68._0x49953a))/0x5+-parseInt(_0x3f224b(_0x357d68._0x51de5b,0x7b,_0x357d68._0x29242f,-_0x357d68._0x1f95e6))/0x6+parseInt(_0x49864f(0x5d4,0x424,0x380,_0x357d68._0x5a04d1))/0x7+parseInt(_0x3f224b(-0x93,0x65,-_0x357d68._0x4e8c01,-_0x357d68._0x415ea6))/0x8+-parseInt(_0x3f224b(-0xb8,-0x1de,-_0x357d68._0x76e79f,-0x277))/0x9;if(_0x3e3570===_0x523bab)break;else _0x45864f['push'](_0x45864f['shift']());}catch(_0x647882){_0x45864f['push'](_0x45864f['shift']());}}}(_0x2884,0xec497));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-A4CS4HLK.js';import{getTextFromMessage}from'../chunk-YNOIG4FD.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 _0xa37a56 from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':'typescriptreact','.js':_0x515b8f(0x261,0x3b4,0x414,0x3d6),'.jsx':_0x1c3a85(0x10b,0x76,0x12d,0x180),'.mjs':'javascript','.cjs':_0x1c3a85(0x75,-0x243,0x5c,-0xb3),'.mts':'typescript','.cts':_0x1c3a85(0x186,0x180,0x16d,0x64),'.json':'json','.jsonc':'jsonc'};function getLanguageId(_0x48312d){const _0x274d94={_0x1e0309:0x575,_0x3a27b6:0x487,_0x1b05c5:0x6a0,_0x175531:0x825,_0x35260e:0x4fe},_0x5e99fa={_0xfa3be5:0xc8,_0x4d1046:0x0};function _0xd07d42(_0x228357,_0xe09fb,_0x54afc5,_0x6cde93){return _0x515b8f(_0x228357-_0x5e99fa._0xfa3be5,_0xe09fb-0x58,_0x6cde93,_0xe09fb-_0x5e99fa._0x4d1046);}function _0x2bcf1f(_0x28eb49,_0x36fe4e,_0x52d362,_0x43fddf){return _0x1c3a85(_0x28eb49-0x1f,_0x43fddf,_0x52d362-0x130,_0x52d362-0x15a);}return EXTENSION_TO_LANGUAGE[_0xa37a56[_0xd07d42(0x6a7,0x60c,_0x274d94._0x1e0309,_0x274d94._0x3a27b6)](_0x48312d)[_0xd07d42(0x603,_0x274d94._0x1b05c5,_0x274d94._0x175531,_0x274d94._0x35260e)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x38dc37){const _0x177ac9={_0x54f822:0x4f6},_0x17a331={_0x3f42b0:0x2b};function _0x5432a3(_0x45cbe6,_0x3bdbca,_0x55becd,_0x8c49a5){return _0x1c3a85(_0x45cbe6-0x125,_0x3bdbca,_0x55becd-_0x17a331._0x3f42b0,_0x8c49a5-0x18f);}return pathToFileURL(_0x38dc37)[_0x5432a3(0x4b5,0x2fc,_0x177ac9._0x54f822,0x392)]();}function textDocumentPosition(_0x593238){const _0x561d3f={_0x890f28:0x577,_0x4ba02:0x54f,_0x4f5fe9:0x4f7,_0x5bea9b:0x6e8,_0x476b6d:0x563,_0x42ccbc:0x46c,_0x28943b:0x2fe},_0x3614c4={_0xbc0d44:0x311},_0x44552c={_0x18fd5c:0x2a};function _0x2962d9(_0x4c3eed,_0x13286e,_0x16f30e,_0x141971){return _0x515b8f(_0x4c3eed-0x44,_0x13286e-0xab,_0x141971,_0x13286e- -_0x44552c._0x18fd5c);}function _0xb20d80(_0x9f9461,_0x452e97,_0x4ee581,_0x28afe8){return _0x515b8f(_0x9f9461-0x16f,_0x452e97-0xe3,_0x28afe8,_0x4ee581- -_0x3614c4._0xbc0d44);}return{'textDocument':{'uri':uriForPath(_0x593238[_0x2962d9(_0x561d3f._0x890f28,_0x561d3f._0x4ba02,_0x561d3f._0x4f5fe9,_0x561d3f._0x5bea9b)])},'position':{'line':_0x593238[_0x2962d9(_0x561d3f._0x476b6d,_0x561d3f._0x42ccbc,0x3e3,0x453)],'character':_0x593238[_0x2962d9(0x3d6,0x36c,0x4b5,_0x561d3f._0x28943b)]}};}function normalizeLocations(_0x3b0e37){const _0x4bd577={_0x4d0d9b:0xbf,_0x34e8ba:0xc6,_0xb7ffd6:0x21a},_0x3adc4a={_0x5cc412:0x15d,_0x2c75db:0x15f};function _0xb646ac(_0x35d838,_0x304a49,_0x5ba4af,_0x580803){return _0x1c3a85(_0x35d838-0x13a,_0x580803,_0x5ba4af-_0x3adc4a._0x5cc412,_0x5ba4af- -_0x3adc4a._0x2c75db);}if(!_0x3b0e37)return[];return Array[_0xb646ac(-_0x4bd577._0x4d0d9b,0x85,-_0x4bd577._0x34e8ba,-_0x4bd577._0xb7ffd6)](_0x3b0e37)?_0x3b0e37:[_0x3b0e37];}async function withLspTimeout(_0x4141bd,_0x56859f,_0x35b799){const _0x8730be={_0x57d849:0x67,_0x2b08b7:0x122,_0x2dd22f:0x108,_0x2b5a19:0x1b0,_0x569776:0x286},_0x2f055c={_0x2925d2:0x146,_0x1e5206:0x2c3,_0x536c9a:0x59b,_0x121e10:0x5c9},_0x5161da={_0x37df1b:0x111,_0x5176b3:0x10f,_0x5df96c:0x196},_0x1bfca2={_0x5e50fa:0x167};function _0x5e20e9(_0x5bb602,_0x13678c,_0x20290c,_0x4e9f68){return _0x1c3a85(_0x5bb602-0xb0,_0x4e9f68,_0x20290c-0x179,_0x5bb602- -_0x1bfca2._0x5e50fa);}function _0x82187f(_0xd4871a,_0x27ed0a,_0x39d39a,_0x1d3fb2){return _0x1c3a85(_0xd4871a-_0x5161da._0x37df1b,_0x1d3fb2,_0x39d39a-_0x5161da._0x5176b3,_0x39d39a-_0x5161da._0x5df96c);}if(!Number['isFinite'](_0x56859f)||_0x56859f<0x1)throw new Error('Invalid\x20LSP\x20timeout\x20for\x20'+_0x35b799+_0x5e20e9(0x60,-_0x8730be._0x57d849,-_0x8730be._0x2b08b7,0x208));let _0x321eee;try{return await Promise[_0x5e20e9(-_0x8730be._0x2dd22f,-_0x8730be._0x2b5a19,-0x8c,-_0x8730be._0x569776)]([_0x4141bd,new Promise((_0x10d047,_0x2a2315)=>{const _0x5434cb={_0x46ca70:0x25a};_0x321eee=setTimeout(()=>{function _0x305efe(_0x191515,_0x41d3bb,_0xe6e53e,_0x519bbe){return _0x2a2f(_0x41d3bb-0x97,_0x519bbe);}function _0x53ead1(_0x4e85d1,_0x1007bf,_0x49e897,_0x19ad3d){return _0x2a2f(_0x1007bf-_0x5434cb._0x46ca70,_0x19ad3d);}_0x2a2315(new Error(_0x305efe(_0x2f055c._0x2925d2,0x185,0x1bc,_0x2f055c._0x1e5206)+_0x35b799+'\x20timed\x20out\x20after\x20'+_0x56859f+_0x53ead1(0x50c,_0x2f055c._0x536c9a,0x5c0,_0x2f055c._0x121e10)));},_0x56859f);})]);}finally{if(_0x321eee!==void 0x0)clearTimeout(_0x321eee);}}async function createLspClient(_0xf0607b){const _0x253aac={_0x1c90a6:0x284,_0x2dc72c:0x14a,_0x15c4e2:0x27a,_0x55bd9:0x2e6,_0x1915e1:0x27c,_0x83e50b:0x198,_0x4c3069:0x2ee,_0x3095ef:0x1c6,_0x55f9d8:0x14d,_0x1f40fe:0x1b6,_0x32bba0:0x62,_0x2c7f10:0x430,_0xa284aa:0x1fa,_0xb5a38c:0x2be,_0x1c8451:0x23b,_0x3bc52f:0x90,_0x713d8a:0x3c,_0xf8bde9:0x17c,_0x6cff97:0x7f,_0x4ab770:0x312,_0x3b5d1d:0x352,_0x3fa861:0x1c4,_0x345af5:0x4fe,_0x2c60b7:0x4fd,_0x53fb6e:0x406,_0x52a080:0x542,_0x1d327d:0x21a,_0xe98b54:0x235,_0x10da58:0x27f,_0x336097:0x18f,_0x51caa0:0x338,_0x11b998:0x251,_0xa0fcde:0x18,_0x10fae5:0x117,_0x2c1c77:0x285,_0x4cbcc7:0x58,_0x58f97d:0x20c,_0x5094e2:0x132,_0x6fa282:0x267,_0x1ffaa2:0x18e,_0xbcb1f2:0x2e6,_0x1985c5:0x327,_0x3fa848:0x1ef,_0x24621a:0x53a,_0x2ed4f5:0x36e,_0x2213f5:0x441,_0x54df5e:0x2a9,_0x79c84d:0x1f9,_0x42f1e8:0x38,_0x4410cf:0xd3},_0x223d16={_0x55721f:0xc0},_0x506722={_0x3114f4:0x494,_0x30d3a6:0x593,_0x354fb8:0x536,_0x1c29e8:0x6fa,_0xd79baa:0x15d,_0x286772:0x39b,_0x3c3d3e:0x4d5,_0x4d0ca0:0x2a1},_0x55c168={_0x5bbad7:0xd8},_0x68e9ce={_0x1829e3:0x1c5,_0x2e6eca:0x1dc},_0x21c67e={_0x364596:0x76,_0x402010:0x4f,_0x39d999:0x1ad,_0x371de9:0x15f,_0x3dbf94:0x4e},_0x4baa22={_0x456267:0x266,_0xc6fdf4:0x1d9,_0x102f65:0x1d2,_0x5a3197:0x21c,_0x46bf96:0x361,_0x1f89e4:0x258},_0x413abe={_0x23eaae:0x164,_0x667abf:0x199},_0x4400e0={_0x5eec5c:0x296,_0x182b79:0x1cc},_0x4195dd={_0x2ef9e5:0x19d,_0x4fca5d:0x1c0,_0x169053:0x45a},_0xd10207={_0x588604:0x5d5},_0x580ecb={_0x1a04f9:0xb5,_0x1bbbdc:0x310},_0x108f8d={_0x264e7d:0x563},_0x1ad089={_0x30b580:0x1e9,_0x50b987:0x223},_0x31dfdf={_0x4d77c7:0x249},_0x22cfe3={_0x5041a7:0x85},_0x558604={_0x4ec889:0x3b3,_0x1b244f:0x652},_0x20d6c2={_0x1a43c1:0x20e,_0x26bd63:0xe0,_0x160712:0x1e5,_0x511e7f:0x11c},_0x3d2df7={_0x2df474:0x561,_0x15e740:0x5f0,_0xbdfca9:0x3d4,_0x23d0d5:0x5d5,_0x4b3c3d:0x59a,_0x61122d:0x5f8,_0x5dc779:0x44d,_0x1ec151:0x2f9,_0x274ff8:0x3cd,_0x14e508:0x2ad,_0x3228da:0x4d6},_0x13e459={_0xbe8f42:0x14a,_0x379e8e:0x1d5},_0x1a4013={_0x1dfc90:0x206,_0x5e033e:0x205,_0xb5d59:0x35e,_0xe4fc5d:0x452,_0x10d4c0:0x57f,_0x412ed9:0x2f5,_0x3070a0:0x32e,_0x27784c:0x20b,_0x3ee737:0x449,_0x529e79:0x392,_0x27504e:0x344,_0xed759a:0x3d7,_0x17209b:0x3d0,_0xef8976:0x49d,_0xb93b3a:0x62f},_0x365422={_0x546eda:0xa1,_0x550212:0x0},_0x2467f0={_0x220e55:0x1c,_0xe3b2dd:0xbe},_0x54145b=_0xf0607b[_0x26dba6(_0x253aac._0x1c90a6,_0x253aac._0x2dc72c,_0x253aac._0x15c4e2,_0x253aac._0x55bd9)][_0x26dba6(0x1f2,0x1c7,0x1b6,_0x253aac._0x1915e1)][_0x26dba6(0x2f4,0x2ea,0x482,0x414)],_0xc01207=_0xf0607b[_0x15add8(0x2d7,_0x253aac._0x83e50b,0x220,_0x253aac._0x4c3069)][_0x15add8(_0x253aac._0x3095ef,_0x253aac._0x55f9d8,_0x253aac._0x1f40fe,_0x253aac._0x32bba0)][_0x15add8(_0x253aac._0x2c7f10,_0x253aac._0xa284aa,_0x253aac._0xb5a38c,_0x253aac._0x1c8451)];if(!_0x54145b||!_0xc01207)throw new Error(_0x15add8(_0x253aac._0x3bc52f,0x3b,0x153,_0x253aac._0x713d8a));const _0x426ad1=_0xf0607b[_0x26dba6(_0x253aac._0xf8bde9,_0x253aac._0x6cff97,_0x253aac._0x4ab770,0x234)]??DEFAULT_LSP_REQUEST_TIMEOUT_MS;function _0x26dba6(_0x8adbe5,_0x44a48a,_0x48ecc6,_0x3038ac){return _0x515b8f(_0x8adbe5-0x15d,_0x44a48a-0xbf,_0x44a48a,_0x3038ac- -0x27a);}const _0x5ebae3=createMessageConnection(new StreamMessageReader(_0x54145b),new StreamMessageWriter(_0xc01207)),_0x218901=new Map(),_0x31a8c2=new Map();let _0x27444c=![];const _0x517b43=async(_0x832631,_0x1f5e81)=>{const _0x1546bf={_0x17bae7:0x2b};function _0x38dc07(_0x182875,_0x27fbfd,_0x5312cf,_0x336d61){return _0x15add8(_0x182875-0x34,_0x182875,_0x5312cf- -0x154,_0x336d61-_0x1546bf._0x17bae7);}return withLspTimeout(_0x5ebae3[_0x38dc07(_0x2467f0._0x220e55,-_0x2467f0._0xe3b2dd,-0x6f,-0x77)](_0x832631,_0x1f5e81),_0x426ad1,_0x832631);};_0x5ebae3[_0x26dba6(_0x253aac._0x3b5d1d,0x2f,0x2b7,_0x253aac._0x3fa861)]('textDocument/publishDiagnostics',_0x2b6f47=>{const _0x1aa01f={_0x3fd1b8:0x108};_0x218901[_0x3ac685(_0x1a4013._0x1dfc90,_0x1a4013._0x5e033e,_0x1a4013._0xb5d59,0x44d)](_0x2b6f47[_0x3210a2(0x332,_0x1a4013._0xe4fc5d,0x392,0x253)],_0x2b6f47[_0x3210a2(0x3ff,0x536,0x3e6,_0x1a4013._0x10d4c0)]);function _0x3ac685(_0x16003f,_0x4e7129,_0x1e5b46,_0x35922d){return _0x15add8(_0x16003f-_0x1aa01f._0x3fd1b8,_0x16003f,_0x1e5b46-0x176,_0x35922d-0x8e);}function _0x3210a2(_0x2081aa,_0x2de03d,_0x555448,_0x8edfa6){return _0x26dba6(_0x2081aa-_0x365422._0x546eda,_0x2081aa,_0x555448-_0x365422._0x550212,_0x555448- -0xa6);}const _0x4753f6=_0x31a8c2[_0x3ac685(0x39c,_0x1a4013._0x412ed9,_0x1a4013._0x3070a0,0x1bc)](_0x2b6f47[_0x3210a2(_0x1a4013._0x27784c,_0x1a4013._0x3ee737,_0x1a4013._0x529e79,0x292)]);if(!_0x4753f6)return;_0x31a8c2[_0x3ac685(_0x1a4013._0x27504e,_0x1a4013._0xed759a,_0x1a4013._0x17209b,0x401)](_0x2b6f47[_0x3ac685(_0x1a4013._0xef8976,0x5b1,0x4e8,_0x1a4013._0xb93b3a)]);for(const _0x166e1e of _0x4753f6)_0x166e1e();}),_0x5ebae3[_0x26dba6(_0x253aac._0x345af5,0x31f,_0x253aac._0x2c60b7,_0x253aac._0x53fb6e)]();let _0x1569fb;try{_0x1569fb=await _0x517b43('initialize',{'processId':process[_0x26dba6(0x5a2,0x540,_0x253aac._0x52a080,0x484)],'rootUri':uriForPath(_0xf0607b['root']),'workspaceFolders':[{'uri':uriForPath(_0xf0607b[_0x26dba6(_0x253aac._0x1d327d,0x35,_0x253aac._0xe98b54,0x1f6)]),'name':_0xf0607b[_0x15add8(0xe4,0x12e,_0x253aac._0x10da58,0x1f8)]['id']}],'initializationOptions':_0xf0607b[_0x26dba6(_0x253aac._0x336097,_0x253aac._0x51caa0,_0x253aac._0x11b998,0x2e6)][_0x15add8(-0x8,_0x253aac._0xa0fcde,_0x253aac._0x10fae5,-0x13)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x26dba6(_0x253aac._0x2c1c77,0x309,0x31f,0x204),_0x15add8(-_0x253aac._0x4cbcc7,_0x253aac._0x58f97d,_0x253aac._0x5094e2,0x6e)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x502106){_0x5ebae3[_0x26dba6(0x2c4,0x3b1,0x5f3,0x43d)](),_0xf0607b[_0x26dba6(0x1a5,_0x253aac._0x6fa282,_0x253aac._0x1ffaa2,_0x253aac._0xbcb1f2)][_0x26dba6(0x1b4,0x1be,_0x253aac._0x1985c5,0x27c)][_0x26dba6(0x257,0x39a,0x258,_0x253aac._0x3fa848)]();throw _0x502106;}_0x5ebae3[_0x26dba6(_0x253aac._0x24621a,0x3a2,_0x253aac._0x2ed4f5,_0x253aac._0x2213f5)](_0x26dba6(0x9b,0xce,_0x253aac._0x54df5e,_0x253aac._0x79c84d),{});const _0x15f86d={'serverId':_0xf0607b['server']['id'],'root':_0xf0607b[_0x15add8(0x3d,-0x37,0x130,-0x28)],'connection':_0x5ebae3,'diagnostics':_0x218901,'capabilities':_0x1569fb[_0x15add8(_0x253aac._0x42f1e8,-0x75,_0x253aac._0x4410cf,0x8)]??{},'notify':{async 'open'({path:_0x2564e1}){const _0x21043c={_0x19551b:0xf0,_0x430c16:0x27d},_0x3cdd1b=await readFile(_0x2564e1,_0x191154(_0x3d2df7._0x2df474,_0x3d2df7._0x15e740,_0x3d2df7._0xbdfca9,0x448));function _0x191154(_0x74d90b,_0x56b043,_0x36b1be,_0x4492e8){return _0x15add8(_0x74d90b-_0x21043c._0x19551b,_0x56b043,_0x4492e8-_0x21043c._0x430c16,_0x4492e8-0xe9);}function _0x802201(_0x1263e0,_0x431cbf,_0x2191b1,_0x261602){return _0x26dba6(_0x1263e0-_0x13e459._0xbe8f42,_0x261602,_0x2191b1-0x15,_0x1263e0-_0x13e459._0x379e8e);}_0x5ebae3[_0x191154(0x44e,_0x3d2df7._0x23d0d5,_0x3d2df7._0x4b3c3d,_0x3d2df7._0x61122d)](_0x191154(_0x3d2df7._0x5dc779,0x358,0x1d1,_0x3d2df7._0x1ec151),{'textDocument':{'uri':uriForPath(_0x2564e1),'languageId':getLanguageId(_0x2564e1)??_0x802201(_0x3d2df7._0x274ff8,_0x3d2df7._0x14e508,_0x3d2df7._0x3228da,0x456),'version':0x1,'text':_0x3cdd1b}});},async 'change'({path:_0x282e32,version:_0x5c3afd}){const _0x4e964b={_0x1f58ab:0xd6},_0x42415d={_0x5ce290:0xdf,_0x42c75d:0x3b8};function _0xe4fd60(_0x5e6140,_0x19401f,_0x946b50,_0x2d0194){return _0x15add8(_0x5e6140-_0x42415d._0x5ce290,_0x5e6140,_0x19401f- -_0x42415d._0x42c75d,_0x2d0194-0xc8);}function _0x2ec3a9(_0x18ee78,_0x45bde0,_0xefe3ef,_0x139ce9){return _0x26dba6(_0x18ee78-0x12f,_0xefe3ef,_0xefe3ef-_0x4e964b._0x1f58ab,_0x18ee78- -0x365);}const _0x58b4db=await readFile(_0x282e32,_0xe4fd60(-_0x20d6c2._0x1a43c1,-0x1ed,-_0x20d6c2._0x26bd63,-0x289));_0x5ebae3['sendNotification'](_0x2ec3a9(-0x47,0x72,-_0x20d6c2._0x160712,-_0x20d6c2._0x511e7f),{'textDocument':{'uri':uriForPath(_0x282e32),'version':_0x5c3afd},'contentChanges':[{'text':_0x58b4db}]});},async 'close'({path:_0x3f82b9}){const _0x2a45ea={_0x2cc987:0x1cf};function _0x24ad97(_0x3a4858,_0x489a53,_0x5cb3f9,_0x4f44a2){return _0x26dba6(_0x3a4858-_0x2a45ea._0x2cc987,_0x4f44a2,_0x5cb3f9-0x13a,_0x3a4858-0x70);}_0x5ebae3[_0x24ad97(0x4b1,_0x558604._0x4ec889,_0x558604._0x1b244f,0x645)]('textDocument/didClose',{'textDocument':{'uri':uriForPath(_0x3f82b9)}});}},'request':{async 'definition'(_0x5af2b6){function _0x38a47c(_0x1bd116,_0x53860b,_0x207abe,_0x220005){return _0x15add8(_0x1bd116-0x1de,_0x220005,_0x53860b- -0x6e,_0x220005-0x149);}return normalizeLocations(await _0x517b43(_0x38a47c(_0x22cfe3._0x5041a7,0x64,0x1e1,0x139),textDocumentPosition(_0x5af2b6)));},async 'references'(_0x5f4472){return normalizeLocations(await _0x517b43('textDocument/references',{...textDocumentPosition(_0x5f4472),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x164dbb){return await _0x517b43('textDocument/hover',textDocumentPosition(_0x164dbb))??null;},async 'documentSymbol'(_0x416a9a){function _0x3d6844(_0x1e15d8,_0x1e437d,_0x1f1f32,_0x24f9e2){return _0x26dba6(_0x1e15d8-0x51,_0x1e437d,_0x1f1f32-0x93,_0x1e15d8-0xe);}return await _0x517b43(_0x3d6844(0x39f,0x3c2,_0x31dfdf._0x4d77c7,0x24f),{'textDocument':{'uri':uriForPath(_0x416a9a)}})??[];},async 'workspaceSymbol'(_0x2d5380){function _0x35411b(_0x411eb8,_0xd3db3c,_0x526abd,_0x146698){return _0x15add8(_0x411eb8-_0x1ad089._0x30b580,_0x526abd,_0x146698-_0x1ad089._0x50b987,_0x146698-0x3f);}return await _0x517b43(_0x35411b(0x27d,_0x108f8d._0x264e7d,0x310,0x3c2),{'query':_0x2d5380})??[];},async 'implementation'(_0x2b2d89){function _0x391ef9(_0xc25330,_0x26ef55,_0x395c92,_0x1e79fb){return _0x15add8(_0xc25330-_0x580ecb._0x1a04f9,_0x1e79fb,_0x26ef55-_0x580ecb._0x1bbbdc,_0x1e79fb-0x138);}return normalizeLocations(await _0x517b43(_0x391ef9(_0xd10207._0x588604,0x5aa,0x464,0x729),textDocumentPosition(_0x2b2d89)));},async 'prepareCallHierarchy'(_0x2e2b87){function _0x205c0a(_0x10cff8,_0x1070ec,_0x203ba2,_0x17d816){return _0x26dba6(_0x10cff8-_0x4195dd._0x2ef9e5,_0x1070ec,_0x203ba2-_0x4195dd._0x4fca5d,_0x10cff8- -_0x4195dd._0x169053);}return await _0x517b43(_0x205c0a(-0x18e,-0x3a,-0x1cb,0x8),textDocumentPosition(_0x2e2b87))??[];},async 'incomingCalls'(_0x4597c1){const _0x2051e7={_0x26e7ae:0x138};function _0x277358(_0x319cd9,_0x4944b9,_0x8a8484,_0x21efb0){return _0x26dba6(_0x319cd9-_0x2051e7._0x26e7ae,_0x21efb0,_0x8a8484-0x99,_0x4944b9- -0x1cc);}return await _0x517b43(_0x277358(0x267,_0x4400e0._0x5eec5c,_0x4400e0._0x182b79,0x427),{'item':_0x4597c1})??[];},async 'outgoingCalls'(_0x28cb8d){function _0x5d7102(_0x4506e5,_0x27bd59,_0x4aff23,_0x5ed55f){return _0x15add8(_0x4506e5-_0x413abe._0x23eaae,_0x5ed55f,_0x4aff23- -0x98,_0x5ed55f-_0x413abe._0x667abf);}return await _0x517b43(_0x5d7102(0x338,0x1ae,0x279,0x42b),{'item':_0x28cb8d})??[];}},'waitForDiagnostics'({path:_0x501b24,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x3a0ee3={_0xcbcde1:0x1e9,_0x142f70:0x28,_0x31665b:0x194},_0x4e816a={_0x33343b:0xc9,_0x5992d3:0x150},_0x3ecf8d={_0x26cf47:0xd4,_0xe305e1:0x1b,_0x49a1e4:0xd},_0x56fc5e=uriForPath(_0x501b24);if(_0x218901[_0x4a4be1(_0x21c67e._0x364596,_0x21c67e._0x402010,_0x21c67e._0x39d999,0x1e3)](_0x56fc5e))return Promise[_0x8d55c3(-_0x21c67e._0x371de9,0x8d,_0x21c67e._0x3dbf94,-0x5b)]();function _0x8d55c3(_0x2cecbb,_0x9b4fd6,_0x1b0f37,_0x2091e7){return _0x15add8(_0x2cecbb-0x1bd,_0x2cecbb,_0x2091e7- -0xb4,_0x2091e7-0x60);}function _0x4a4be1(_0x1ed584,_0x170c6c,_0x30c5bd,_0x213879){return _0x15add8(_0x1ed584-_0x3ecf8d._0x26cf47,_0x1ed584,_0x213879- -_0x3ecf8d._0xe305e1,_0x213879-_0x3ecf8d._0x49a1e4);}return new Promise(_0x221edc=>{const _0x48f992={_0x4f3200:0xee,_0x1246bb:0x28,_0x2176b6:0x14f,_0x323ebc:0x25c,_0x4e0c84:0x18e,_0x108fea:0x1ac,_0x5de7ee:0x7a},_0x11a1f6={_0x83ad38:0x28},_0x5de10d=setTimeout(()=>{const _0x1fa37a={_0x1e7d5a:0x1f9};function _0x3029ba(_0x40a5c3,_0x21f36c,_0x7f3ac3,_0x1edf32){return _0x2a2f(_0x1edf32- -_0x1fa37a._0x1e7d5a,_0x21f36c);}const _0x5731e6=_0x31a8c2[_0x3029ba(_0x48f992._0x4f3200,-0x84,-0x8a,-_0x48f992._0x1246bb)](_0x56fc5e);_0x5731e6?.['delete'](_0x47d8e3);function _0x3e64c9(_0xeb03aa,_0x165d41,_0x5b47b2,_0x27604){return _0x2a2f(_0x27604-_0x11a1f6._0x83ad38,_0x165d41);}if(_0x5731e6?.[_0x3029ba(0x1e8,_0x48f992._0x2176b6,_0x48f992._0x323ebc,0x1cb)]===0x0)_0x31a8c2[_0x3029ba(0x149,_0x48f992._0x4e0c84,_0x48f992._0x108fea,_0x48f992._0x5de7ee)](_0x56fc5e);_0x221edc();},timeoutMs),_0x47d8e3=()=>{clearTimeout(_0x5de10d),_0x221edc();},_0x386813=_0x31a8c2['get'](_0x56fc5e)??new Set();_0x386813[_0x3d0eb(_0x4baa22._0x456267,_0x4baa22._0xc6fdf4,_0x4baa22._0x102f65,_0x4baa22._0x5a3197)](_0x47d8e3);function _0x3d0eb(_0x2e3fc0,_0x462a0c,_0x13bd4,_0x3c5985){return _0x4a4be1(_0x3c5985,_0x462a0c-0xda,_0x13bd4-_0x4e816a._0x33343b,_0x13bd4-_0x4e816a._0x5992d3);}function _0x5a8431(_0x281f3f,_0x2f587d,_0x478816,_0x76cdb5){return _0x4a4be1(_0x76cdb5,_0x2f587d-_0x3a0ee3._0xcbcde1,_0x478816-_0x3a0ee3._0x142f70,_0x478816-_0x3a0ee3._0x31665b);}_0x31a8c2[_0x5a8431(0x2d7,0x2af,_0x4baa22._0x46bf96,_0x4baa22._0x1f89e4)](_0x56fc5e,_0x386813);});},async 'shutdown'(){function _0x40b089(_0x181fd5,_0x54260b,_0x2ee45f,_0x35ba34){return _0x26dba6(_0x181fd5-0xdb,_0x181fd5,_0x2ee45f-_0x68e9ce._0x1829e3,_0x54260b-_0x68e9ce._0x2e6eca);}if(_0x27444c)return;_0x27444c=!![];function _0x4a844d(_0x248ff3,_0x317e38,_0x21946a,_0x1a1e1c){return _0x15add8(_0x248ff3-_0x55c168._0x5bbad7,_0x1a1e1c,_0x21946a-0x68,_0x1a1e1c-0x16);}try{await _0x517b43(_0x40b089(0x4bd,_0x506722._0x3114f4,0x58b,_0x506722._0x30d3a6),null),_0x5ebae3['sendNotification'](_0x40b089(_0x506722._0x354fb8,0x561,0x4a0,_0x506722._0x1c29e8));}catch{}finally{_0x5ebae3['dispose'](),_0xf0607b[_0x4a844d(_0x506722._0xd79baa,0x23a,0x288,_0x506722._0x286772)][_0x40b089(_0x506722._0x3c3d3e,0x458,0x5bd,_0x506722._0x4d0ca0)]['kill']();}}};function _0x15add8(_0x285d9c,_0x377e80,_0x4c5902,_0x3fbf06){return _0x515b8f(_0x285d9c-0x58,_0x377e80-_0x223d16._0x55721f,_0x377e80,_0x4c5902- -0x340);}return _0x15f86d;}import{spawn as _0x59f609}from'child_process';import{access as _0x1e3ee7}from'fs/promises';import _0x4a3e68 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x625444 from'os';import _0x3af399 from'path';import _0x5b7eed from'which';var installPromises=new Map();function sanitizePackageName(_0x4c808b){const _0x3683af={_0x1b93e9:0x3f3,_0x4c4590:0x411,_0x59f683:0x28e,_0x3ea590:0x3e1},_0x2a6198={_0x14a26b:0x12d,_0x331dcc:0x11a},_0x4e545d={_0x277ee1:0xc4,_0x1bb90e:0x11f,_0x42fa94:0x5c7};function _0x486ab6(_0x2e2d1c,_0x6d7031,_0x1172e1,_0x10d105){return _0x515b8f(_0x2e2d1c-_0x4e545d._0x277ee1,_0x6d7031-_0x4e545d._0x1bb90e,_0x10d105,_0x6d7031- -_0x4e545d._0x42fa94);}function _0x2f8461(_0xee8a37,_0x24d23f,_0x5348b0,_0x3149d9){return _0x515b8f(_0xee8a37-0x7d,_0x24d23f-_0x2a6198._0x14a26b,_0x24d23f,_0xee8a37- -_0x2a6198._0x331dcc);}return _0x4c808b[_0x2f8461(0x411,0x41d,_0x3683af._0x1b93e9,0x564)](/^@/,'')[_0x2f8461(_0x3683af._0x4c4590,_0x3683af._0x59f683,_0x3683af._0x3ea590,0x3dc)](/[/]/g,'__');}function binaryNameForPlatform(_0x37c27f){const _0x49772e={_0x265597:0x6b,_0x586b85:0x157,_0x143e86:0x38,_0x401afd:0x10b,_0xda71b:0xfb,_0x469634:0x187},_0x4be191={_0x5bda41:0xf};function _0x5b898a(_0x3f9692,_0x33990a,_0x2a8b53,_0x781ae){return _0x515b8f(_0x3f9692-_0x4be191._0x5bda41,_0x33990a-0x1f4,_0x3f9692,_0x781ae- -0x5d0);}function _0x53143e(_0x148f48,_0x4955be,_0x4d1ac0,_0x3498c1){return _0x1c3a85(_0x148f48-0x9d,_0x4d1ac0,_0x4d1ac0-0x58,_0x3498c1-0x241);}return process[_0x5b898a(-_0x49772e._0x265597,0xc5,_0x49772e._0x586b85,_0x49772e._0x143e86)]===_0x5b898a(-0xf0,-_0x49772e._0x401afd,-0x204,-_0x49772e._0xda71b)?_0x37c27f+_0x53143e(0x24c,0x2e8,_0x49772e._0x469634,0x2b9):_0x37c27f;}async function exists(_0x1d62ed){try{return await access(_0x1d62ed),!![];}catch{return![];}}function runNpmInstall(_0x111a69,_0x1e3acc,_0x277ec8){const _0x3779c0={_0x544fb5:0x40c,_0x343e8e:0x2f1,_0x2288b7:0x3da,_0x3b3c1e:0x137,_0x33562d:0x6c5,_0x30a02b:0x351,_0x382edd:0x526};return new Promise(_0xa78114=>{const _0x4e1261={_0x40ecf7:0x394},_0xc375be=spawn(_0x5444ad(0x40f,_0x3779c0._0x544fb5,_0x3779c0._0x343e8e,0x567),[_0x5444ad(_0x3779c0._0x2288b7,0x2a8,0x3fb,_0x3779c0._0x3b3c1e),_0x220003(_0x3779c0._0x33562d,0x6a6,0x759,0x7bf),_0x111a69,_0x1e3acc],{'env':_0x277ec8,'stdio':'ignore'});function _0x5444ad(_0xa640e1,_0xef1f2b,_0x22807f,_0xfe85e2){return _0x2a2f(_0xef1f2b-0x83,_0x22807f);}function _0x220003(_0x5e951c,_0x28cd8d,_0x4b2e6d,_0x45cfa4){return _0x2a2f(_0x28cd8d-_0x4e1261._0x40ecf7,_0x4b2e6d);}_0xc375be['on'](_0x5444ad(0x24a,0x276,0x134,_0x3779c0._0x30a02b),()=>_0xa78114(![])),_0xc375be['on'](_0x5444ad(0x5c9,0x43a,_0x3779c0._0x382edd,0x300),_0x401a0e=>_0xa78114(_0x401a0e===0x0));});}function shouldDisableLspDownload(_0x490d98=process[_0x515b8f(0x3c7,0x650,0x613,0x49c)]){const _0x538174={_0x432f7d:0x57,_0x413765:0x23,_0x1e545e:0xa3,_0x1c66dc:0x154,_0x367840:0x67},_0x4af52d={_0x3e0ba8:0x197},_0x2de28d={_0x1a1e5e:0x23a};function _0x27f033(_0x418bf4,_0xf3a8d5,_0x1b0f7b,_0x3b30c2){return _0x1c3a85(_0x418bf4-0x13f,_0x418bf4,_0x1b0f7b-0x2a,_0xf3a8d5- -_0x2de28d._0x1a1e5e);}const _0x22d0d7=_0x490d98['NUVIN_DISABLE_LSP_DOWNLOAD']?.[_0x27f033(_0x538174._0x432f7d,-_0x538174._0x413765,_0x538174._0x1e545e,-0x1ac)]();function _0x12d5e7(_0x8485da,_0x34b46d,_0x3d5954,_0x56b80a){return _0x515b8f(_0x8485da-_0x4af52d._0x3e0ba8,_0x34b46d-0x12a,_0x34b46d,_0x3d5954- -0x5af);}return _0x22d0d7===_0x12d5e7(-_0x538174._0x1c66dc,0xf5,0x48,-_0x538174._0x367840)||_0x22d0d7==='1'||_0x22d0d7==='yes'||_0x22d0d7==='on';}function getLspPackageDir(_0x24d378){const _0x5d9abc={_0x3c70bf:0x65b,_0x4ed44a:0x8c6,_0x2ec62e:0x772,_0xbeab0a:0x658,_0xb8ea1e:0x447},_0x5560eb={_0x13694d:0x130,_0x4f95fa:0x16b},_0x389a2c={_0x2c1c20:0x114};function _0x16f109(_0x23092b,_0x5d0c85,_0x1ff33c,_0x9e8bbc){return _0x1c3a85(_0x23092b-_0x389a2c._0x2c1c20,_0x23092b,_0x1ff33c-0x13,_0x1ff33c-0x4fb);}function _0x50fb7f(_0x1eca4d,_0x4a5bd2,_0x391f1c,_0x205c7){return _0x515b8f(_0x1eca4d-_0x5560eb._0x13694d,_0x4a5bd2-0x56,_0x4a5bd2,_0x1eca4d- -_0x5560eb._0x4f95fa);}return _0x3af399[_0x16f109(0x495,0x624,0x62f,0x7df)](_0x625444[_0x16f109(0x78f,0x577,_0x5d9abc._0x3c70bf,0x689)](),_0x16f109(_0x5d9abc._0x4ed44a,0x62a,_0x5d9abc._0x2ec62e,_0x5d9abc._0xbeab0a),'lsp',_0x50fb7f(_0x5d9abc._0xb8ea1e,0x5ba,0x333,0x3ce),sanitizePackageName(_0x24d378));}function getLspBinDir(_0x43ce01){const _0x4de499={_0x5ec857:0x77,_0x2e5f6b:0x2f4,_0x496986:0x152,_0x467f7c:0x267},_0x50b1e8={_0x532e92:0x107},_0x30c151={_0x4c1541:0x30};function _0x9a3f88(_0x238216,_0x1440d6,_0x3130af,_0x39c447){return _0x1c3a85(_0x238216-0x1bf,_0x1440d6,_0x3130af-_0x30c151._0x4c1541,_0x39c447-0x1e);}function _0x4d636d(_0x277418,_0x2b01de,_0x1228cb,_0x985cb0){return _0x1c3a85(_0x277418-_0x50b1e8._0x532e92,_0x2b01de,_0x1228cb-0x183,_0x277418-0x465);}return _0x3af399[_0x9a3f88(_0x4de499._0x5ec857,-0x1e,_0x4de499._0x2e5f6b,_0x4de499._0x496986)](getLspPackageDir(_0x43ce01),_0x9a3f88(0x364,0xf7,0x1fb,_0x4de499._0x467f7c),'.bin');}async function findPackageBinary(_0x41aad2,_0x401678){const _0x4c5256={_0x544837:0xc8,_0x78833e:0x57,_0x1a9935:0x5a7,_0x3938f9:0x3c7,_0x26f2e2:0x47e,_0x1ef35d:0x6d1,_0x170269:0x69a,_0x189bc2:0x250,_0x190df6:0x2f9},_0x129261={_0x2e1cde:0x74,_0x45857a:0x1b8},_0x1c5e17={_0x4cb111:0x1ad};let _0x4cf387=_0x3af399[_0x2ec044(-0x22,0x1d8,_0x4c5256._0x544837,_0x4c5256._0x78833e)](_0x401678);function _0x3497d9(_0x1d4d9e,_0x24640d,_0x47a433,_0x4d9b73){return _0x515b8f(_0x1d4d9e-_0x1c5e17._0x4cb111,_0x24640d-0x19b,_0x47a433,_0x4d9b73- -0xed);}function _0x2ec044(_0xf8ab58,_0x4f722b,_0x34a657,_0x64d2e9){return _0x1c3a85(_0xf8ab58-0x77,_0x4f722b,_0x34a657-_0x129261._0x2e1cde,_0x34a657-_0x129261._0x45857a);}const _0x46fd06=binaryNameForPlatform(_0x41aad2);while(!![]){const _0x3491a8=_0x3af399[_0x3497d9(0x471,0x419,_0x4c5256._0x1a9935,0x4d0)](_0x4cf387,_0x2ec044(_0x4c5256._0x3938f9,_0x4c5256._0x26f2e2,0x401,0x42c),_0x3497d9(_0x4c5256._0x1ef35d,_0x4c5256._0x170269,0x462,0x580),_0x46fd06);if(await exists(_0x3491a8))return _0x3491a8;const _0x13d546=_0x3af399[_0x3497d9(0x434,0x3d2,_0x4c5256._0x189bc2,_0x4c5256._0x190df6)](_0x4cf387);if(_0x13d546===_0x4cf387)return void 0x0;_0x4cf387=_0x13d546;}}async function findPathBinary(_0x2bdf99,_0xc52c61){const _0x1c4b49={_0x2beb10:0x383,_0x5d3dd8:0x37d,_0x21136e:0x45e,_0x4c3718:0xf1,_0x182054:0x176,_0x9c84ab:0x35e,_0x4c9bb0:0x3b,_0x2ea58d:0x25,_0x1a38a7:0x226,_0xcaeff5:0x45},_0x586685={_0x4f400a:0x2f},_0x4f0ab5={_0x5b0941:0x152,_0x50ac35:0x162};function _0x3831a4(_0xe6b01a,_0x19dde8,_0x231899,_0x5f2cb3){return _0x1c3a85(_0xe6b01a-_0x4f0ab5._0x5b0941,_0x19dde8,_0x231899-_0x4f0ab5._0x50ac35,_0x231899- -0xc8);}function _0x158eaa(_0x4c7d6c,_0x26c825,_0x9c82c3,_0x5a7350){return _0x1c3a85(_0x4c7d6c-0x47,_0x5a7350,_0x9c82c3-_0x586685._0x4f400a,_0x9c82c3-0x3dc);}const _0x378b47=getLspBinDir(_0xc52c61),_0x4c95fa=[_0x378b47,process[_0x158eaa(_0x1c4b49._0x2beb10,_0x1c4b49._0x5d3dd8,0x3ef,_0x1c4b49._0x21136e)][_0x3831a4(0x93,0x217,_0x1c4b49._0x4c3718,_0x1c4b49._0x182054)]][_0x158eaa(0x418,0x51a,0x478,_0x1c4b49._0x9c84ab)](Boolean)[_0x3831a4(_0x1c4b49._0x4c9bb0,-0x150,0x6c,_0x1c4b49._0x2ea58d)](_0x3af399[_0x3831a4(-0x29a,-_0x1c4b49._0x1a38a7,-0x1af,-_0x1c4b49._0xcaeff5)]);try{return await _0x5b7eed(_0x2bdf99,{'path':_0x4c95fa});}catch{return void 0x0;}}async function resolvePackageBinary(_0x54277e){const _0x248a44={_0x4fcf3c:0xb4,_0x1006ad:0xf1,_0xb161dd:0x1e4,_0x34cd36:0x1b8,_0x18c5bd:0x27f,_0x1cf9cc:0x15c,_0x2d1a05:0x90,_0x472590:0x228,_0x534140:0x4a,_0x21dac1:0x5a,_0x5ca835:0x1bc,_0x4490bf:0x2f,_0x1586a4:0x183},_0x53014b={_0x42a4fb:0x3c8,_0x1199c1:0x551,_0x18b304:0x63b,_0x227ee2:0x43d,_0x11cd66:0x1a2,_0xb68cfd:0x2cd,_0x3365d3:0x12f},_0x2b7b20={_0x1d1b43:0x74},_0x29ae9b={_0x480559:0x88},_0x515002=_0x54277e[_0x33db0d(-0x9f,-0x52,_0x248a44._0x4fcf3c,_0x248a44._0x1006ad)]??_0x54277e['packageName'];function _0x208ec1(_0x44f2ea,_0x460cbb,_0x5845df,_0x5b48b3){return _0x515b8f(_0x44f2ea-0x29,_0x460cbb-0x4d,_0x5845df,_0x5b48b3- -0x539);}const _0x48611a=await findPackageBinary(_0x515002,_0x54277e[_0x208ec1(_0x248a44._0xb161dd,0x28c,-0x48,0xe4)]);if(_0x48611a)return _0x48611a;const _0x119552=await findPathBinary(_0x515002,_0x54277e[_0x33db0d(-0x178,-_0x248a44._0x34cd36,-_0x248a44._0x18c5bd,-_0x248a44._0x1cf9cc)]);if(_0x119552)return _0x119552;const _0x25e6d8=_0x54277e[_0x208ec1(-_0x248a44._0x2d1a05,0x4a,-0x51,-0x9d)]??process[_0x208ec1(-_0x248a44._0x472590,0xf0,-0x234,-0x9d)];if(shouldDisableLspDownload(_0x25e6d8))return void 0x0;function _0x33db0d(_0x5c36d6,_0x55ac6c,_0x43bf69,_0x56838a){return _0x515b8f(_0x5c36d6-_0x29ae9b._0x480559,_0x55ac6c-0x145,_0x43bf69,_0x5c36d6- -0x70b);}const _0x3011cc=getLspPackageDir(_0x54277e[_0x208ec1(0x1a3,-_0x248a44._0x534140,0x13f,_0x248a44._0x21dac1)]),_0x565bb1=_0x54277e[_0x208ec1(0x192,_0x248a44._0x5ca835,0x177,0x5a)]+':'+_0x515002;let _0x26fd5a=installPromises['get'](_0x565bb1);!_0x26fd5a&&(_0x26fd5a=((async()=>{const _0x1b2a77={_0x1526cf:0x152};function _0x211349(_0x20d51b,_0x263b4,_0x3ecb3a,_0x19bab8){return _0x208ec1(_0x20d51b-0x162,_0x263b4-_0x1b2a77._0x1526cf,_0x3ecb3a,_0x19bab8-0x288);}await mkdir(_0x3011cc,{'recursive':!![]});const _0x57f263=await runNpmInstall(_0x3011cc,_0x54277e[_0x1493f3(_0x53014b._0x42a4fb,_0x53014b._0x1199c1,_0x53014b._0x18b304,_0x53014b._0x227ee2)],_0x25e6d8);if(!_0x57f263)return void 0x0;const _0x470fae=_0x3af399[_0x211349(0x31a,_0x53014b._0x11cd66,0x2ec,0x30c)](getLspBinDir(_0x54277e[_0x211349(_0x53014b._0xb68cfd,_0x53014b._0x3365d3,0x274,0x2e2)]),binaryNameForPlatform(_0x515002));function _0x1493f3(_0x4ed457,_0x1f89ef,_0x5640e4,_0x4d6f40){return _0x208ec1(_0x4ed457-0x1b9,_0x1f89ef-_0x2b7b20._0x1d1b43,_0x4ed457,_0x1f89ef-0x4f7);}return await exists(_0x470fae)?_0x470fae:void 0x0;})()),installPromises[_0x208ec1(0xbd,_0x248a44._0x4490bf,_0x248a44._0x1586a4,-0x11)](_0x565bb1,_0x26fd5a));try{return await _0x26fd5a;}catch{return void 0x0;}finally{installPromises['delete'](_0x565bb1);}}var TYPESCRIPT_EXTENSIONS=[_0x1c3a85(0x273,0x2fd,0x195,0x1e0),_0x515b8f(0x2f7,0x37b,0x442,0x442),_0x515b8f(0x58a,0x6d2,0x59f,0x6bc),'.jsx',_0x515b8f(0x5d4,0x37b,0x442,0x4a1),_0x1c3a85(-0x1a6,-0x8d,-0x40,-0x43),'.mts','.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x515b8f(0x592,0x50a,0x4fd,0x645),_0x515b8f(0x79a,0x7b2,0x738,0x67e)],TYPESCRIPT_ROOT_MARKERS=[_0x1c3a85(0x2f,0x21a,0x96,0x1a2),'bun.lockb','bun.lock',_0x515b8f(0x45f,0x3b4,0x410,0x45d),'yarn.lock',_0x1c3a85(0xba,0x19c,0x6b,0x16),_0x515b8f(0x6ac,0x6f2,0x62d,0x585),_0x515b8f(0x304,0x55e,0x52f,0x40b)],BIOME_ROOT_MARKERS=['biome.json',_0x515b8f(0x7a7,0x74c,0x6ab,0x692),'package-lock.json',_0x1c3a85(0x178,0xd4,0x200,0x40),'bun.lock',_0x515b8f(0x3fa,0x3cc,0x447,0x45d),_0x1c3a85(0x158,0x7e,0x25f,0xa0),_0x1c3a85(-0x203,0xfc,-0x7e,-0x7e)];async function exists2(_0x3f243a){try{return await _0x1e3ee7(_0x3f243a),!![];}catch{return![];}}async function findUp(_0x263343,_0x40d113){const _0x5755cf={_0x3804cc:0x4fb,_0x1c468d:0x264,_0xee5e95:0x57a,_0x60041:0x5f6,_0x586fd1:0x592,_0xd1e584:0x3a6,_0x54298d:0x2c1},_0x25bb45={_0x25b072:0x21,_0x2fdc0f:0x39},_0x19209e={_0x59eb3f:0x11b,_0x2504ec:0x13b};let _0x56161e=_0x4a3e68[_0x565e77(_0x5755cf._0x3804cc,0x3d2,0x40d,0x460)](_0x263343);const _0xc67c86=_0x4a3e68['extname'](_0x56161e);function _0x17435d(_0x22b303,_0x7b81db,_0x22579a,_0x52bf72){return _0x515b8f(_0x22b303-0xd3,_0x7b81db-_0x19209e._0x59eb3f,_0x22579a,_0x52bf72- -_0x19209e._0x2504ec);}function _0x565e77(_0x1d46eb,_0x1c7c6a,_0x419d17,_0x4c80d2){return _0x515b8f(_0x1d46eb-0x54,_0x1c7c6a-_0x25bb45._0x25b072,_0x419d17,_0x1c7c6a-_0x25bb45._0x2fdc0f);}if(_0xc67c86)_0x56161e=_0x4a3e68[_0x565e77(_0x5755cf._0x1c468d,0x41f,_0x5755cf._0xee5e95,0x2b1)](_0x56161e);while(!![]){for(const _0x13e9af of _0x40d113){if(await exists2(_0x4a3e68[_0x565e77(0x43f,_0x5755cf._0x60041,_0x5755cf._0x586fd1,0x6e4)](_0x56161e,_0x13e9af)))return _0x56161e;}const _0xf4178a=_0x4a3e68[_0x17435d(_0x5755cf._0xd1e584,0x1c2,_0x5755cf._0x54298d,0x2ab)](_0x56161e);if(_0xf4178a===_0x56161e)return void 0x0;_0x56161e=_0xf4178a;}}async function hasDenoRoot(_0xaaa529){const _0xb93df5={_0x42d074:0xcf,_0x36ad1a:0x1c7,_0xcaa3a3:0x121},_0x4ee066={_0x237b59:0x1f};function _0x51e545(_0x37d5ec,_0x36b2ac,_0x410f7c,_0x3cb1b5){return _0x1c3a85(_0x37d5ec-0xce,_0x3cb1b5,_0x410f7c-0xd4,_0x37d5ec- -_0x4ee066._0x237b59);}function _0x5e3630(_0x3f3343,_0xc0484b,_0x2d241e,_0x407adc){return _0x515b8f(_0x3f3343-0x17c,_0xc0484b-0x61,_0x3f3343,_0x2d241e- -0x129);}return await exists2(_0x4a3e68[_0x51e545(0x115,_0xb93df5._0x42d074,-0x8f,0x1b4)](_0xaaa529,_0x51e545(0x1d7,0x2f9,0x6e,_0xb93df5._0x36ad1a)))||await exists2(_0x4a3e68[_0x51e545(0x115,0x67,0x1b9,_0xb93df5._0xcaa3a3)](_0xaaa529,'deno.jsonc'));}async function resolveTsserverPath(_0x681c28){const _0x3791cd={_0x48c0ad:0x15f,_0x12957b:0x2f7,_0xb80fe3:0x147,_0x2cdfd2:0xc5,_0xa00ef8:0x1da,_0x5c352c:0xee,_0x279475:0xb,_0x48b948:0xce,_0x2e6279:0x153,_0x49b119:0x5c,_0x59f82d:0x112,_0x3218ba:0xf1,_0x221b70:0x2b0,_0x4eaf28:0xb,_0x197e88:0x1a9,_0x11a0a8:0x190,_0x187eca:0x19f,_0x6af6c5:0x222,_0x3ffd18:0x89},_0x309d4d={_0x5dddd5:0x1f3},_0x4ac087={_0x1ad82d:0x100};let _0x1d822a=_0x4a3e68[_0x20d9f6(-_0x3791cd._0x48c0ad,-_0x3791cd._0x12957b,-0x6a,-_0x3791cd._0xb80fe3)](_0x681c28);while(!![]){const _0x3d029f=_0x4a3e68[_0x20d9f6(_0x3791cd._0x2cdfd2,0xf1,-0xc8,0xc0)](_0x1d822a,_0x20d9f6(_0x3791cd._0xa00ef8,0xe1,_0x3791cd._0x5c352c,0x11b),_0x20d9f6(-_0x3791cd._0x279475,-0x59,0x10b,-_0x3791cd._0x48b948),_0x20d9f6(-0x9a,0x4b,-_0x3791cd._0x2e6279,_0x3791cd._0x49b119),'tsserver.js');if(await exists2(_0x3d029f))return _0x3d029f;const _0x2f605e=_0x4a3e68[_0x20d9f6(-_0x3791cd._0x59f82d,-_0x3791cd._0x3218ba,-_0x3791cd._0x221b70,-0x207)](_0x1d822a);if(_0x2f605e===_0x1d822a)break;_0x1d822a=_0x2f605e;}const _0x646c79=getLspPackageDir(_0x20d9f6(-_0x3791cd._0x4eaf28,-0xe0,-_0x3791cd._0x197e88,-_0x3791cd._0x11a0a8));function _0x20d9f6(_0x34c73d,_0x49b8ea,_0x4a69ec,_0x44c491){return _0x515b8f(_0x34c73d-_0x4ac087._0x1ad82d,_0x49b8ea-0xf4,_0x4a69ec,_0x34c73d- -0x4f8);}const _0x34fe7b=await resolvePackageBinary({'packageName':_0x20d9f6(-0xb,0x18c,0xb,-_0x3791cd._0x187eca),'binaryName':'tsc','startDir':_0x681c28});function _0x7dc62(_0x101e4b,_0x4ca3b4,_0x28859c,_0x473f5b){return _0x1c3a85(_0x101e4b-0x11b,_0x473f5b,_0x28859c-_0x309d4d._0x5dddd5,_0x28859c-0x358);}if(!_0x34fe7b)return void 0x0;const _0x5aa612=_0x4a3e68['join'](_0x646c79,'node_modules','typescript','lib',_0x20d9f6(0xc8,0x237,_0x3791cd._0x6af6c5,_0x3791cd._0x3ffd18));return await exists2(_0x5aa612)?_0x5aa612:void 0x0;}var TypeScriptServer={'id':_0x1c3a85(0x19b,-0x51,0xc0,0x64),'name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x402d65){const _0x5cd19f=await findUp(_0x402d65,TYPESCRIPT_ROOT_MARKERS);if(!_0x5cd19f)return void 0x0;return await hasDenoRoot(_0x5cd19f)?void 0x0:_0x5cd19f;},async 'spawn'(_0x209d16){const _0x250b1a={_0x415b84:0x191,_0x326052:0x20f,_0x2d382e:0x217,_0x5e18b4:0x3cd,_0x5a85ba:0x3fa,_0x3ce074:0x34a,_0x14b9fb:0x292},_0xc3216b={_0x26ec1f:0x134},_0xceaf43={_0x4cb9de:0x260},_0x47de2e=await resolveTsserverPath(_0x209d16);if(!_0x47de2e)return void 0x0;function _0x31e822(_0x15759b,_0x266041,_0x3398e9,_0x376cb2){return _0x1c3a85(_0x15759b-0x1cb,_0x266041,_0x3398e9-0x102,_0x3398e9- -_0xceaf43._0x4cb9de);}function _0x1cd289(_0x5ecb12,_0x524361,_0x5cfef5,_0x346f52){return _0x1c3a85(_0x5ecb12-_0xc3216b._0x26ec1f,_0x5ecb12,_0x5cfef5-0x83,_0x346f52-0x10b);}const _0x5d0498=await resolvePackageBinary({'packageName':_0x1cd289(_0x250b1a._0x415b84,0x32e,_0x250b1a._0x326052,_0x250b1a._0x2d382e),'binaryName':_0x1cd289(0x229,0x1cd,0xd0,0x217),'startDir':_0x209d16});if(!_0x5d0498)return void 0x0;return{'process':_0x59f609(_0x5d0498,[_0x31e822(-0x35e,-0x22a,-0x295,-_0x250b1a._0x5e18b4)],{'cwd':_0x209d16,'stdio':_0x31e822(-_0x250b1a._0x5a85ba,-0x189,-_0x250b1a._0x3ce074,-_0x250b1a._0x14b9fb)}),'initialization':{'tsserver':{'path':_0x47de2e}}};}},BiomeServer={'id':'biome','name':_0x515b8f(0x5fc,0x653,0x4db,0x5ee),'extensions':BIOME_EXTENSIONS,async 'root'(_0x3e7f59){return findUp(_0x3e7f59,BIOME_ROOT_MARKERS);},async 'spawn'(_0x2b55ec){const _0x35f522={_0x890ca0:0xeb,_0x118cac:0x24,_0x4edb26:0x32,_0x4f6a8b:0x203,_0x3ac1c1:0x234,_0x7a0fa4:0x158,_0x4ef987:0xae,_0x557ae4:0x198,_0x249ec8:0x316,_0x12eccb:0x3a0,_0x5a1027:0xc3,_0x4d5fe3:0x44},_0xe29bc0={_0x40ca6d:0x81},_0x3db4e2={_0x581de5:0x61,_0x59f532:0xf3,_0x560d8a:0x12e};function _0x3ea4f0(_0x1860ec,_0x138d9c,_0x91a4f1,_0x5897fe){return _0x1c3a85(_0x1860ec-_0x3db4e2._0x581de5,_0x5897fe,_0x91a4f1-_0x3db4e2._0x59f532,_0x91a4f1-_0x3db4e2._0x560d8a);}const _0x16c2af=await findPackageBinary(_0x3be600(-0x40,_0x35f522._0x890ca0,_0x35f522._0x118cac,-_0x35f522._0x4edb26),_0x2b55ec)??await resolvePackageBinary({'packageName':_0x3be600(_0x35f522._0x4f6a8b,_0x35f522._0x3ac1c1,_0x35f522._0x7a0fa4,_0x35f522._0x4ef987),'binaryName':_0x3ea4f0(0x29e,0x2cd,_0x35f522._0x557ae4,0x83),'startDir':_0x2b55ec});if(!_0x16c2af)return void 0x0;function _0x3be600(_0x5a49af,_0x2f567b,_0x11abf9,_0x120be0){return _0x1c3a85(_0x5a49af-0x160,_0x11abf9,_0x11abf9-0x1d7,_0x2f567b-_0xe29bc0._0x40ca6d);}return{'process':_0x59f609(_0x16c2af,[_0x3ea4f0(_0x35f522._0x249ec8,0x451,0x385,_0x35f522._0x12eccb),_0x3be600(_0x35f522._0x5a1027,0x4c,-0x21,-0x3b)],{'cwd':_0x2b55ec,'stdio':_0x3ea4f0(-0x81,-0xa3,_0x35f522._0x4d5fe3,0x187)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x3cde44){const _0x4f5e52={_0x5a2578:0x71f,_0xf07e1b:0x57b,_0x5cc502:0x6e3,_0x501fa3:0x54b,_0x2b89e4:0x592,_0x1cd373:0x168,_0x24eb92:0x9b,_0x364b71:0x98},_0x25b27c={_0x39fbbc:0xf8},_0x4474a0={_0x5b8ec6:0x186,_0x1707c4:0x185,_0x488559:0x43};function _0x4e2968(_0x363660,_0x127818,_0x241c95,_0x3e225c){return _0x515b8f(_0x363660-_0x4474a0._0x5b8ec6,_0x127818-_0x4474a0._0x1707c4,_0x127818,_0x363660-_0x4474a0._0x488559);}function _0x2ce0c5(_0x4550f6,_0xac83d0,_0x3718c2,_0x65ca00){return _0x1c3a85(_0x4550f6-0xb2,_0xac83d0,_0x3718c2-_0x25b27c._0x39fbbc,_0x4550f6-0xcc);}const _0x42dbcd=_0x4a3e68[_0x4e2968(0x64f,_0x4f5e52._0x5a2578,0x4c5,_0x4f5e52._0xf07e1b)](_0x3cde44)[_0x4e2968(_0x4f5e52._0x5cc502,_0x4f5e52._0x501fa3,0x55f,_0x4f5e52._0x2b89e4)]();return BUILTIN_LSP_SERVERS[_0x2ce0c5(_0x4f5e52._0x1cd373,0x1a4,_0x4f5e52._0x24eb92,_0x4f5e52._0x364b71)](_0x537135=>_0x537135[_0x4e2968(0x679,0x7ed,0x590,0x6d8)][_0x4e2968(0x4a7,0x5ee,0x4e5,0x5dd)](_0x42dbcd));}function stateKey(_0x2c41c7,_0x3b6822){return _0x3b6822+':'+_0x2c41c7['id'];}function diagnosticsKeyToPath(_0x9ca208){const _0x4fd1c8={_0x222d3e:0x448,_0x2453c6:0x374},_0x5d96d4={_0x226007:0xc0};function _0x1dcfbe(_0x153d12,_0x23bb3f,_0x2597ca,_0x3011ff){return _0x1c3a85(_0x153d12-_0x5d96d4._0x226007,_0x23bb3f,_0x2597ca-0x16c,_0x2597ca-0x296);}if(!_0x9ca208['startsWith'](_0x1dcfbe(_0x4fd1c8._0x222d3e,0x2d0,_0x4fd1c8._0x2453c6,0x332)))return _0x9ca208;return fileURLToPath(_0x9ca208);}function nextFileVersion(_0xf2fc65,_0x3387d0){const _0x3a192d={_0x507ed8:0x42e,_0x17e24e:0x21e,_0x28aa74:0x269},_0x552076={_0xbf408a:0x11},_0x57d54c={_0x29c514:0xa2,_0x4cdbab:0x56b};function _0x5843dd(_0xcc9b2e,_0x4a7cbf,_0x303e7b,_0x2a52db){return _0x515b8f(_0xcc9b2e-_0x57d54c._0x29c514,_0x4a7cbf-0x58,_0x4a7cbf,_0xcc9b2e- -_0x57d54c._0x4cdbab);}const _0x320481=(_0xf2fc65[_0x1b2035(0x393,0x50b,_0x3a192d._0x507ed8,0x267)][_0x5843dd(-0x73,-0x15d,0x71,-_0x3a192d._0x17e24e)](_0x3387d0)??0x1)+0x1;function _0x1b2035(_0x5ad9d6,_0x38b3c7,_0x264cc7,_0x1d0b35){return _0x1c3a85(_0x5ad9d6-_0x552076._0xbf408a,_0x264cc7,_0x264cc7-0x128,_0x5ad9d6-0x46d);}return _0xf2fc65[_0x5843dd(-0x1bc,-0x1c2,-0x1a6,-_0x3a192d._0x28aa74)]['set'](_0x3387d0,_0x320481),_0x320481;}async function collectClientResults(_0x4b4dff){const _0xcead52={_0x30bc25:0x3f9,_0x4beeb3:0x4b7,_0x56d50a:0x5f9,_0x1aafae:0x10a},_0x1624aa={_0x2f791d:0xb4,_0x57598b:0x31d},_0x4954b1={_0x107202:0xd5};function _0x2a692(_0x452e68,_0x1578bf,_0x3aacc2,_0x21f80b){return _0x515b8f(_0x452e68-0x185,_0x1578bf-_0x4954b1._0x107202,_0x452e68,_0x3aacc2- -0x6ae);}const _0x33d93b=await Promise[_0x3723e4(0x318,_0xcead52._0x30bc25,_0xcead52._0x4beeb3,_0xcead52._0x56d50a)](_0x4b4dff);function _0x3723e4(_0x7baf9d,_0x2e4482,_0x52cf44,_0x1eaa80){return _0x1c3a85(_0x7baf9d-0x1a3,_0x2e4482,_0x52cf44-_0x1624aa._0x2f791d,_0x52cf44-_0x1624aa._0x57598b);}return _0x33d93b[_0x2a692(-0x57,-0x4a,-_0xcead52._0x1aafae,-0xc8)](_0x4973d0=>_0x4973d0[_0x2a692(-0x2ea,-0x236,-0x231,-0x108)]===_0x2a692(-0x2ad,-0x199,-0x235,-0x25e)?_0x4973d0[_0x3723e4(0x374,0x2c6,0x3d6,0x3bb)]:[]);}function createLspService(_0x36a5c3={}){const _0x8678c5={_0x2d50cd:0x356,_0xfe4b05:0x37c},_0x42503d={_0xb5f4b4:0x569,_0x535f6d:0x465,_0x33aea4:0x57c,_0x13426c:0x503,_0x248257:0x6e2,_0x465148:0x647,_0x10dcbc:0x51c,_0x159a53:0x3fe,_0x1bd69a:0xb4,_0x2d72ee:0x9a,_0x4dc8a7:0xc2,_0x59fae5:0xcd,_0x3cb768:0x36,_0x32e4c9:0x132,_0x184726:0xde,_0xf8f39f:0x2b,_0x4e6b45:0x43,_0x1d2ddc:0x49e,_0x2f1c48:0x88,_0x3e4e00:0x70,_0x1214a9:0xd6,_0x34fc3c:0x407,_0x363d02:0x339,_0x86aabd:0x3de,_0x154d4e:0x226,_0x4dd769:0x222,_0x1719c4:0x9b,_0x3e4776:0x27,_0x57af95:0x80,_0x2a2e23:0x70},_0x1d8a5b={_0x385ff7:0x26e,_0xc1a5db:0xb2},_0x1c79ac={_0x4f995e:0x15a},_0x6d1f63={_0xaa3f73:0x340,_0x17ebde:0xc4},_0x501c18={_0x27b82c:0xaa,_0x9f3bbd:0x22b,_0x3e0ab9:0x120},_0x25b097={_0x1af826:0x3a8,_0x4f85d4:0xde},_0x57f090={_0x1659f3:0xed,_0x46e2c1:0xa,_0x3f430e:0x18f,_0x62e94:0x3b4,_0x3c7dcd:0x31e},_0x5931cb={_0x5ac680:0x1b4,_0x40508f:0x136,_0x3f6d39:0x19d},_0x50ffb4={_0x49889e:0x27a,_0x36a934:0x3f5,_0x306052:0xd8},_0x22c029={_0x3a1d53:0xea,_0x4a6bf7:0x116,_0x36a94d:0x24},_0x36b29d={_0x18bf7f:0x1ea,_0x5f086c:0x14,_0x537feb:0x1b3},_0x3a3529={_0x57b050:0x35},_0x3a1243={_0x14180d:0x405,_0x392224:0x44e,_0x5eefc8:0x43a},_0x57a7fd={_0x4f96af:0x121,_0x95ca1c:0x1f9},_0x311f1a={_0x17defb:0xc},_0x4a94d0={_0x435258:0x129,_0x3b9084:0x173},_0x46c88b={_0x4f5f69:0x349,_0x849a3e:0x17b},_0x3fe106={_0x141eee:0x1bc,_0x158a41:0x6d},_0x181f60={_0x4730ec:0x1fb,_0x2fa64b:0x449,_0x5299c6:0x33d},_0x2d4640={_0x24bce4:0x202},_0x4d7837={_0x474d2b:0x3f1,_0x38e966:0x39b},_0x5936dd={_0x4a081f:0x186},_0x458191={_0x18da7e:0x51,_0x1acb9e:0x11b,_0x302f10:0x1f0},_0x16862c={_0x40b2d7:0x13e},_0x5b7d4c={_0x18cdab:0x28b,_0xd43914:0x273},_0x304906={_0x22e8fe:0xf5,_0x5f38e3:0x12f},_0x89f9c5={_0x522133:0x262,_0x2e969e:0x3bb,_0x5cc395:0x3f5,_0x24efe3:0xcf,_0x4f471f:0x205,_0x52a1fe:0xb9,_0x4d316e:0x25d,_0x1e0f8f:0x638,_0x2332ec:0x67e,_0x1bdf85:0x566,_0x3ec169:0x3be},_0x113792={_0x4fecda:0x43d,_0x488f1c:0x5eb,_0x51883a:0x4ce,_0x2b5bd7:0x4a1,_0x538883:0x5f8,_0x4a51a0:0x49c,_0x28352d:0x3b2,_0x187bb4:0x406,_0x45885c:0x427,_0x283d71:0x42a,_0x167414:0x3e2,_0x11cce2:0x526},_0x1a7563={_0x53c82a:0x14},_0x53d498={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x192805=()=>_0x36a5c3[_0x4c414b(0x226,0x1fe,0x27e,0x14f)]!==![];function _0x4c414b(_0xee245a,_0x191c36,_0x46b309,_0x2bbcd5){return _0x515b8f(_0xee245a-_0x1a7563._0x53c82a,_0x191c36-0x29,_0xee245a,_0x191c36- -0x24a);}async function _0x35da64(_0x1d0756,_0x688f29){const _0x176d86={_0x389b68:0x103,_0x515d71:0x76},_0x35374f={_0x24ef59:0x4be,_0x395e09:0x4e2,_0x55e5e1:0x3e1,_0x3d7aef:0x3c9,_0x74a553:0x61,_0x157f23:0xf9,_0x990090:0x12a,_0x172d1d:0x74,_0x578ee2:0x40e,_0x2d93f4:0x400,_0xf23b8c:0x382,_0x1765d5:0xbd,_0x47e526:0xdc},_0x2406bd={_0x273bec:0x15,_0x388bc8:0x46},_0x506f72=stateKey(_0x1d0756,_0x688f29),_0x5469e3=_0x53d498['clients'][_0x4f8b3e(0x2a5,0x5d9,_0x113792._0x4fecda,_0x113792._0x488f1c)](_0x5d15fc=>_0x5d15fc[_0x4f8b3e(0x559,0x3ba,0x45c,0x60b)]===_0x1d0756['id']&&_0x5d15fc[_0x5894cc(0xb,-0x17,0x123,-0x7f)]===_0x688f29);if(_0x5469e3)return _0x5469e3;if(_0x53d498[_0x4f8b3e(0x408,_0x113792._0x51883a,_0x113792._0x2b5bd7,_0x113792._0x538883)]['has'](_0x506f72))return void 0x0;function _0x4f8b3e(_0x5195d4,_0x16ac74,_0x2f2b9d,_0x4d3a2b){return _0x4c414b(_0x16ac74,_0x2f2b9d-0x104,_0x2f2b9d-0x2c,_0x4d3a2b-0x100);}const _0x117ed1=_0x53d498[_0x5894cc(0x26d,0x1f4,0xaf,0x1ea)][_0x4f8b3e(_0x113792._0x4a51a0,0x538,_0x113792._0x28352d,0x29f)](_0x506f72);if(_0x117ed1)return _0x117ed1;const _0x3ddd66=((async()=>{const _0x1dab17={_0x705c15:0x77,_0x52a4ab:0x11d};function _0x2c4cb5(_0x4d8d0a,_0x44c9b5,_0x47e534,_0x42a55a){return _0x5894cc(_0x4d8d0a-_0x1dab17._0x705c15,_0x44c9b5-_0x1dab17._0x52a4ab,_0x44c9b5-0x351,_0x47e534);}function _0x58f417(_0x29297f,_0x433082,_0x2225ee,_0x58cd33){return _0x5894cc(_0x29297f-_0x2406bd._0x273bec,_0x433082-_0x2406bd._0x388bc8,_0x58cd33- -0x171,_0x29297f);}try{const _0x3bc224=await _0x1d0756[_0x58f417(0x92,-0x109,0x101,-0x18)](_0x688f29);if(!_0x3bc224)return _0x53d498[_0x2c4cb5(0x4fe,0x5eb,_0x35374f._0x24ef59,0x713)][_0x2c4cb5(_0x35374f._0x395e09,_0x35374f._0x55e5e1,0x306,_0x35374f._0x3d7aef)](_0x506f72),void 0x0;const _0x2fd382=await createLspClient({'server':_0x1d0756,'root':_0x688f29,'handle':_0x3bc224}),_0x209e98=_0x53d498['clients'][_0x58f417(-_0x35374f._0x74a553,0x227,-0xa2,0xc5)](_0xc787f5=>_0xc787f5['serverId']===_0x1d0756['id']&&_0xc787f5['root']===_0x688f29);if(_0x209e98)return await _0x2fd382[_0x58f417(-_0x35374f._0x157f23,-_0x35374f._0x990090,0x1aa,_0x35374f._0x172d1d)](),_0x209e98;return _0x53d498['clients']['push'](_0x2fd382),_0x2fd382;}catch{return _0x53d498[_0x2c4cb5(0x510,0x5eb,0x6d0,0x4ec)][_0x58f417(-0x279,-0xfd,-0x291,-0xe1)](_0x506f72),void 0x0;}finally{_0x53d498[_0x2c4cb5(_0x35374f._0x578ee2,_0x35374f._0x2d93f4,_0x35374f._0xf23b8c,0x32c)][_0x58f417(-0x99,-0xa5,-_0x35374f._0x1765d5,_0x35374f._0x47e526)](_0x506f72);}})());_0x53d498[_0x4f8b3e(0x2aa,0x12f,0x2b6,_0x113792._0x187bb4)][_0x4f8b3e(_0x113792._0x45885c,_0x113792._0x283d71,_0x113792._0x167414,_0x113792._0x11cce2)](_0x506f72,_0x3ddd66);function _0x5894cc(_0x635510,_0x2d70b0,_0x4c54a8,_0x4e7b4c){return _0x4c414b(_0x4e7b4c,_0x4c54a8- -_0x176d86._0x389b68,_0x4c54a8-_0x176d86._0x515d71,_0x4e7b4c-0x5e);}return _0x3ddd66;}async function _0x31c37e(_0x563f20,_0x1a71ff){const _0x1757e7={_0x4b589d:0x3c},_0x4168b6={_0x5aa63d:0xef,_0x1b3e06:0x1c2,_0x18ae81:0x10a};if(!_0x192805())return[];const _0x4dffaf=[];function _0x14f741(_0x43d16b,_0x5ede99,_0x5dedcf,_0x1f0699){return _0x4c414b(_0x1f0699,_0x5ede99- -_0x4168b6._0x5aa63d,_0x5dedcf-_0x4168b6._0x1b3e06,_0x1f0699-_0x4168b6._0x18ae81);}function _0x35ed8e(_0x10d1a6,_0x1c5338,_0x1c1819,_0x47f045){return _0x4c414b(_0x47f045,_0x10d1a6-_0x1757e7._0x4b589d,_0x1c1819-0x1ad,_0x47f045-0x12d);}for(const _0x54a5e1 of getServersForFile(_0x563f20)){const _0x249b16=await _0x54a5e1[_0x35ed8e(_0x89f9c5._0x522133,_0x89f9c5._0x2e969e,0xeb,_0x89f9c5._0x5cc395)](_0x563f20);if(!_0x249b16)continue;const _0x3f8761=stateKey(_0x54a5e1,_0x249b16);if(_0x53d498[_0x35ed8e(0x3d9,0x464,0x51b,0x41d)][_0x14f741(_0x89f9c5._0x24efe3,_0x89f9c5._0x4f471f,0x236,0x216)](_0x3f8761))continue;const _0x8bdb5d=_0x53d498[_0x14f741(0x19b,0x5f,-_0x89f9c5._0x52a1fe,0x193)][_0x14f741(0x386,0x24a,0x2d3,_0x89f9c5._0x4d316e)](_0x323641=>_0x323641[_0x14f741(0x13a,0x269,0x116,0x3d4)]===_0x54a5e1['id']&&_0x323641[_0x35ed8e(0x262,0x240,0x10e,0xa4)]===_0x249b16);if(_0x8bdb5d){_0x4dffaf[_0x35ed8e(0x4e9,_0x89f9c5._0x1e0f8f,_0x89f9c5._0x2332ec,0x3f1)](_0x8bdb5d);continue;}if(!_0x1a71ff)continue;const _0x29cb9f=await _0x35da64(_0x54a5e1,_0x249b16);if(_0x29cb9f)_0x4dffaf[_0x14f741(_0x89f9c5._0x1bdf85,_0x89f9c5._0x3ec169,0x294,0x30d)](_0x29cb9f);}return _0x4dffaf;}async function _0x4cdd3c(_0x216bff,_0x8a832b=![]){const _0x4be602={_0x2483ba:0x3f0,_0x1aa228:0x3de,_0x389ee5:0x4c6,_0x2dff62:0x353,_0x1a4b5f:0x56c,_0x54d3ae:0x58d,_0x2ce412:0x5e3,_0x30f596:0x4d1,_0x45b81f:0x526,_0x445a4c:0x39c,_0x57a8e8:0x22,_0x21b636:0x2cc,_0x545cf3:0x2a2,_0x27cb55:0x4e0,_0x25e991:0x56d,_0x2dfa71:0x54a,_0x2afef3:0x210,_0x55918e:0x348},_0x2bb4bf={_0x4c97fc:0xc3,_0x38775c:0x183},_0x3e5341=await _0x31c37e(_0x216bff,!![]);function _0x4c338a(_0x1af571,_0x5a9b94,_0x414d8a,_0x57390d){return _0x4c414b(_0x1af571,_0x5a9b94-_0x304906._0x22e8fe,_0x414d8a-_0x304906._0x5f38e3,_0x57390d-0x19);}await Promise[_0x4c338a(0x326,_0x5b7d4c._0x18cdab,0x307,_0x5b7d4c._0xd43914)](_0x3e5341['map'](async _0x2a0924=>{const _0x4ecd72={_0x3541aa:0xb6,_0x53dc34:0xe6};function _0x4b4309(_0x1a6106,_0x1d6a65,_0x5d33cc,_0x5e6af3){return _0x4c338a(_0x5e6af3,_0x1a6106-_0x2bb4bf._0x4c97fc,_0x5d33cc-0x174,_0x5e6af3-_0x2bb4bf._0x38775c);}!_0x53d498[_0x407d81(0x43c,0x20f,0x39c,_0x4be602._0x2483ba)][_0x407d81(0x31d,0x2dd,0x333,0x1a8)](_0x2a0924['serverId']+':'+_0x2a0924[_0x4b4309(_0x4be602._0x1aa228,_0x4be602._0x389ee5,_0x4be602._0x2dff62,_0x4be602._0x1a4b5f)]+':'+_0x216bff)&&(await _0x2a0924[_0x4b4309(0x445,_0x4be602._0x54d3ae,_0x4be602._0x2ce412,0x2a7)][_0x407d81(_0x4be602._0x30f596,0x263,0x3ba,0x52b)]({'path':_0x216bff}),_0x53d498[_0x407d81(_0x4be602._0x45b81f,0x42f,_0x4be602._0x445a4c,0x542)][_0x407d81(0x1e7,0x236,0x1d2,_0x4be602._0x57a8e8)](_0x2a0924['serverId']+':'+_0x2a0924['root']+':'+_0x216bff));await _0x2a0924[_0x407d81(0x34b,0x122,_0x4be602._0x21b636,_0x4be602._0x545cf3)][_0x407d81(_0x4be602._0x27cb55,_0x4be602._0x25e991,0x4f0,_0x4be602._0x2dfa71)]({'path':_0x216bff,'version':nextFileVersion(_0x53d498,_0x216bff)});function _0x407d81(_0x59519c,_0x39f02d,_0x24f53d,_0x4ee7e5){return _0x4c338a(_0x59519c,_0x24f53d- -_0x4ecd72._0x3541aa,_0x24f53d-0x113,_0x4ee7e5-_0x4ecd72._0x53dc34);}if(_0x8a832b)await _0x2a0924[_0x407d81(0x2a6,0x294,_0x4be602._0x2afef3,_0x4be602._0x55918e)]({'path':_0x216bff});}));}async function _0x50f682(_0x480436){function _0x30dffb(_0x141801,_0x36db00,_0x31e1cc,_0x51c2f6){return _0x4c414b(_0x31e1cc,_0x141801- -0x2de,_0x31e1cc-0x168,_0x51c2f6-_0x16862c._0x40b2d7);}return await _0x4cdd3c(_0x480436['file'],![]),_0x31c37e(_0x480436[_0x30dffb(_0x458191._0x18da7e,_0x458191._0x1acb9e,-0xde,_0x458191._0x302f10)],![]);}async function _0x5cfc39(_0x572377){const _0x105412=await _0x50f682(_0x572377);function _0x7050c8(_0x6bcd5b,_0x43c681,_0x375194,_0x16a423){return _0x4c414b(_0x43c681,_0x16a423- -0x272,_0x375194-0x1d5,_0x16a423-0x5d);}function _0x3418f1(_0x1674cf,_0x67a34a,_0x59db07,_0x103bdb){return _0x4c414b(_0x59db07,_0x1674cf-0xac,_0x59db07-_0x5936dd._0x4a081f,_0x103bdb-0xa4);}return collectClientResults(_0x105412[_0x3418f1(0x23c,_0x4d7837._0x474d2b,_0x4d7837._0x38e966,0x1c0)](_0x4eb5cc=>_0x4eb5cc[_0x3418f1(0x31b,0x3cf,0x21a,0x20c)]['prepareCallHierarchy'](_0x572377)));}return{'isEnabled':_0x192805,async 'hasClients'(_0xbaa4aa){const _0x320cf7={_0x156a86:0x69,_0x116adc:0xd6};function _0x7df2d3(_0x159602,_0x4317e2,_0xfcd1ad,_0x58ff67){return _0x4c414b(_0x58ff67,_0x4317e2- -0x138,_0xfcd1ad-_0x320cf7._0x156a86,_0x58ff67-_0x320cf7._0x116adc);}return(await _0x31c37e(_0xbaa4aa,![]))['length']>0x0||getServersForFile(_0xbaa4aa)[_0x7df2d3(0x12b,_0x2d4640._0x24bce4,0x72,0x33e)]>0x0;},'touchFile':_0x4cdd3c,async 'diagnostics'(){const _0x410236={};function _0x30b176(_0x4e01d2,_0x12b6a8,_0x1b68ba,_0x114b60){return _0x4c414b(_0x1b68ba,_0x114b60- -0x48b,_0x1b68ba-0x53,_0x114b60-0x184);}for(const _0x47e869 of _0x53d498[_0x30b176(-_0x181f60._0x4730ec,-_0x181f60._0x2fa64b,-0x3e7,-_0x181f60._0x5299c6)]){for(const [_0x12f990,_0x1b319a]of _0x47e869['diagnostics']){_0x410236[diagnosticsKeyToPath(_0x12f990)]=_0x1b319a;}}return _0x410236;},async 'diagnosticsForFile'(_0x62753d){await _0x4cdd3c(_0x62753d,!![]);function _0x33de80(_0x5d80a6,_0x219d23,_0x21a99e,_0x401491){return _0x4c414b(_0x219d23,_0x21a99e-_0x3fe106._0x141eee,_0x21a99e-_0x3fe106._0x158a41,_0x401491-0x1b2);}const _0x23090e=[];function _0x642f34(_0x1317b3,_0x448d0d,_0x57a01b,_0x492466){return _0x4c414b(_0x448d0d,_0x57a01b- -_0x46c88b._0x4f5f69,_0x57a01b-_0x46c88b._0x849a3e,_0x492466-0x158);}for(const _0x439c89 of await _0x31c37e(_0x62753d,![])){for(const [_0x5558dd,_0x77495e]of _0x439c89[_0x642f34(_0x4a94d0._0x435258,0x252,_0x4a94d0._0x3b9084,0x167)]){if(diagnosticsKeyToPath(_0x5558dd)===_0x62753d)_0x23090e[_0x642f34(0x282,0xa9,0x164,0x8b)](..._0x77495e);}}return _0x23090e;},async 'definition'(_0x117ed9){const _0x1bd92f={_0x493e30:0x2e9,_0x1d8c84:0x89};function _0x5da327(_0x1d19d2,_0x102d78,_0x4dcd06,_0x27b603){return _0x4c414b(_0x1d19d2,_0x102d78- -_0x1bd92f._0x493e30,_0x4dcd06-0x36,_0x27b603-_0x1bd92f._0x1d8c84);}function _0x568ff1(_0xf25818,_0xc0573f,_0x5cb940,_0x2e6302){return _0x4c414b(_0xf25818,_0xc0573f-0x12c,_0x5cb940-_0x311f1a._0x17defb,_0x2e6302-0x19c);}return collectClientResults((await _0x50f682(_0x117ed9))[_0x5da327(-_0x57a7fd._0x4f96af,-0x159,-_0x57a7fd._0x95ca1c,-0x272)](_0x35479f=>_0x35479f[_0x5da327(0xcf,-0x7a,-0x191,-0xc2)]['definition'](_0x117ed9)));},async 'references'(_0x23425d){const _0x1de4e9={_0x5a3b78:0x18b},_0x759acf={_0x264f9a:0x14};function _0x3d5d65(_0x147a0b,_0x49e508,_0x5ab31c,_0x28a498){return _0x4c414b(_0x5ab31c,_0x147a0b- -0x440,_0x5ab31c-0x1ae,_0x28a498-_0x759acf._0x264f9a);}function _0x5a9f16(_0x17e177,_0x287714,_0x124a31,_0xef6b83){return _0x4c414b(_0x17e177,_0xef6b83-0x30a,_0x124a31-0x1db,_0xef6b83-_0x1de4e9._0x5a3b78);}return collectClientResults((await _0x50f682(_0x23425d))[_0x5a9f16(_0x3a1243._0x14180d,_0x3a1243._0x392224,_0x3a1243._0x5eefc8,0x49a)](_0x3e5e86=>_0x3e5e86['request'][_0x3d5d65(-0xd0,-0x17,-0xd4,0x43)](_0x23425d)));},async 'hover'(_0x428ee6){const _0x3a92b0={_0x42a5fa:0x479,_0x24bdf5:0x2e};function _0x49dfcf(_0x565c92,_0x41454d,_0x3a9681,_0x3d7bd2){return _0x4c414b(_0x565c92,_0x3d7bd2- -0x304,_0x3a9681-_0x3a3529._0x57b050,_0x3d7bd2-0xb8);}function _0x5cf71e(_0xd479f9,_0x45f321,_0x4d7027,_0x363b3f){return _0x4c414b(_0xd479f9,_0x45f321- -_0x3a92b0._0x42a5fa,_0x4d7027-_0x3a92b0._0x24bdf5,_0x363b3f-0x12c);}const _0x528cb7=await Promise[_0x5cf71e(-_0x36b29d._0x18bf7f,-0xa0,_0x36b29d._0x5f086c,-_0x36b29d._0x537feb)]((await _0x50f682(_0x428ee6))['map'](_0x239cd5=>_0x239cd5[_0x5cf71e(-0x320,-0x20a,-0x350,-0x2aa)][_0x5cf71e(0xab,0x2f,-0x1f,-0xd9)](_0x428ee6)));return _0x528cb7['flatMap'](_0x46bfdd=>_0x46bfdd[_0x49dfcf(-0x14b,-0x13a,-0x285,-0xd1)]==='fulfilled'&&_0x46bfdd[_0x5cf71e(-0x14a,-0x181,-0x54,-0x223)]?[_0x46bfdd[_0x5cf71e(-0x97,-0x181,-0xc3,-0x5)]]:[]);},async 'documentSymbol'(_0x164aa1){const _0x23d4dc={_0x83a8f1:0x38d,_0x18834f:0x16f};function _0x7690d(_0xd2c153,_0xc8e3df,_0x227a2d,_0x110a52){return _0x4c414b(_0xd2c153,_0x110a52- -_0x23d4dc._0x83a8f1,_0x227a2d-0x157,_0x110a52-_0x23d4dc._0x18834f);}await _0x4cdd3c(_0x164aa1,![]);function _0x50e89d(_0xfc44d,_0x2f95e4,_0x4ce40d,_0x95f296){return _0x4c414b(_0x4ce40d,_0xfc44d-_0x22c029._0x3a1d53,_0x4ce40d-_0x22c029._0x4a6bf7,_0x95f296-_0x22c029._0x36a94d);}return collectClientResults((await _0x31c37e(_0x164aa1,![]))[_0x50e89d(_0x50ffb4._0x49889e,_0x50ffb4._0x36a934,_0x50ffb4._0x306052,0x2ec)](_0x3377ec=>_0x3377ec[_0x50e89d(0x359,0x2a1,0x31a,0x1fa)]['documentSymbol'](_0x164aa1)));},async 'workspaceSymbol'(_0x350653){const _0x4d2270={_0x227e41:0x177,_0x1c8487:0xb1};function _0x1ebaf7(_0x170605,_0x39d0c2,_0x4e6d3b,_0x11c3e1){return _0x4c414b(_0x4e6d3b,_0x11c3e1-_0x5931cb._0x5ac680,_0x4e6d3b-_0x5931cb._0x40508f,_0x11c3e1-_0x5931cb._0x3f6d39);}function _0x5ac719(_0x5b4f66,_0x97b3e,_0x5e37f9,_0x180705){return _0x4c414b(_0x5e37f9,_0x97b3e- -0x144,_0x5e37f9-_0x4d2270._0x227e41,_0x180705-_0x4d2270._0x1c8487);}return collectClientResults(_0x53d498[_0x5ac719(_0x57f090._0x1659f3,_0x57f090._0x46e2c1,_0x57f090._0x3f430e,-0x2e)][_0x1ebaf7(0x4f5,_0x57f090._0x62e94,_0x57f090._0x3c7dcd,0x344)](_0x18fcab=>_0x18fcab[_0x5ac719(-0x40,0x12b,0x2e5,0x126)][_0x5ac719(0x277,0x204,0x1b3,0x361)](_0x350653)));},async 'implementation'(_0x1531b9){const _0x517f08={_0x330ef0:0x5f};function _0x31f889(_0x2cc93d,_0x1beaa0,_0x37b8d5,_0x5b341f){return _0x4c414b(_0x5b341f,_0x1beaa0-0x1bd,_0x37b8d5-_0x517f08._0x330ef0,_0x5b341f-0xa6);}return collectClientResults((await _0x50f682(_0x1531b9))['map'](_0x547675=>_0x547675[_0x31f889(0x3b4,0x42c,0x3f0,0x2dd)]['implementation'](_0x1531b9)));},async 'prepareCallHierarchy'(_0x377c59){return _0x5cfc39(_0x377c59);},async 'incomingCalls'(_0xa56093){const _0xea1802=await _0x5cfc39(_0xa56093),_0x61a465=await _0x50f682(_0xa56093);function _0x330b4b(_0x843118,_0x46389a,_0x1b4299,_0x593214){return _0x4c414b(_0x46389a,_0x593214- -_0x25b097._0x1af826,_0x1b4299-0xf,_0x593214-_0x25b097._0x4f85d4);}function _0x27ff0b(_0x26ed05,_0xaadd9c,_0x45ce5c,_0x52a207){return _0x4c414b(_0x45ce5c,_0x52a207- -0x23a,_0x45ce5c-0x50,_0x52a207-0xa0);}return collectClientResults(_0x61a465[_0x27ff0b(_0x501c18._0x27b82c,_0x501c18._0x9f3bbd,0x146,_0x501c18._0x3e0ab9)](_0x593290=>_0xea1802[_0x27ff0b(-0xd0,-0x18f,-0x105,-0xaa)](_0x5efd01=>_0x593290[_0x27ff0b(0xae,0x146,-0x169,0x35)][_0x27ff0b(0x9b,0xac,0x16b,0x1a2)](_0x5efd01))));},async 'outgoingCalls'(_0xa7feb7){const _0x4901c7={_0x1dcb37:0xfb,_0x40d9d1:0x1d0},_0x31c881={_0x4e30cb:0x393,_0x53841d:0xc0},_0x10a58e=await _0x5cfc39(_0xa7feb7);function _0x59c1ca(_0x1ff07d,_0x4e342d,_0x3808b6,_0x40f839){return _0x4c414b(_0x40f839,_0x4e342d- -_0x31c881._0x4e30cb,_0x3808b6-_0x31c881._0x53841d,_0x40f839-0x1e7);}function _0x2d5a8a(_0x3c79ee,_0x34cc1e,_0x14c11f,_0x248f18){return _0x4c414b(_0x14c11f,_0x3c79ee- -0x195,_0x14c11f-_0x4901c7._0x1dcb37,_0x248f18-_0x4901c7._0x40d9d1);}const _0x28e4a1=await _0x50f682(_0xa7feb7);return collectClientResults(_0x28e4a1[_0x2d5a8a(0x1c5,_0x6d1f63._0xaa3f73,_0x6d1f63._0x17ebde,0x4)](_0x39801a=>_0x10a58e[_0x2d5a8a(-0x5,-0x3b,0xf3,-0x122)](_0x9ea050=>_0x39801a[_0x59c1ca(-0x24b,-0x124,-0x11a,-0x19c)][_0x59c1ca(0x5f,0x66,0x211,0x17e)](_0x9ea050))));},async 'shutdown'(){function _0x3b4274(_0x4d2403,_0x51c3d9,_0x2001ad,_0x258f0a){return _0x4c414b(_0x4d2403,_0x2001ad- -0x1e8,_0x2001ad-_0x1c79ac._0x4f995e,_0x258f0a-0x8c);}if(_0x53d498[_0x1d0196(0x42a,_0x42503d._0xb5f4b4,_0x42503d._0x535f6d,_0x42503d._0x33aea4)])return;_0x53d498[_0x1d0196(0x452,0x54e,0x465,0x2de)]=!![],await Promise[_0x1d0196(_0x42503d._0x13426c,_0x42503d._0x248257,_0x42503d._0x465148,0x653)](_0x53d498['clients'][_0x1d0196(0x3ab,_0x42503d._0x10dcbc,_0x42503d._0x159a53,0x4ec)](_0x21a19b=>_0x21a19b[_0x3b4274(0xa1,-0xaa,0x100,0x28)]()));function _0x1d0196(_0xbad3fa,_0x5d52b1,_0x40abf6,_0x405cd9){return _0x4c414b(_0xbad3fa,_0x40abf6-_0x1d8a5b._0x385ff7,_0x40abf6-0x2e,_0x405cd9-_0x1d8a5b._0xc1a5db);}_0x53d498[_0x3b4274(_0x42503d._0x1bd69a,-0x1fe,-_0x42503d._0x2d72ee,_0x42503d._0x4dc8a7)]=[],_0x53d498[_0x3b4274(-0x128,_0x42503d._0x59fae5,-_0x42503d._0x3cb768,-_0x42503d._0x32e4c9)][_0x3b4274(_0x42503d._0x184726,_0x42503d._0xf8f39f,-0x70,-_0x42503d._0x4e6b45)](),_0x53d498[_0x1d0196(0x701,0x70f,0x60b,_0x42503d._0x1d2ddc)][_0x3b4274(-0x14e,-_0x42503d._0x2f1c48,-_0x42503d._0x3e4e00,-_0x42503d._0x1214a9)](),_0x53d498[_0x1d0196(_0x42503d._0x34fc3c,_0x42503d._0x363d02,0x3d3,0x595)][_0x1d0196(_0x42503d._0x86aabd,0x3a2,0x3e6,_0x42503d._0x154d4e)](),_0x53d498[_0x3b4274(0x100,_0x42503d._0x4dd769,0x175,_0x42503d._0x1719c4)][_0x3b4274(-_0x42503d._0x3e4776,_0x42503d._0x57af95,-_0x42503d._0x2a2e23,-0x88)]();},'status'(){const _0x3f361c={_0x21ba92:0x73,_0x3e71d2:0x1dd};function _0x362f49(_0x2fa108,_0x1ca607,_0xc56f58,_0x131d11){return _0x4c414b(_0x131d11,_0x1ca607-_0x3f361c._0x21ba92,_0xc56f58-_0x3f361c._0x3e71d2,_0x131d11-0x42);}return{'connectedClients':_0x53d498['clients'][_0x362f49(0x4ba,0x3ad,_0x8678c5._0x2d50cd,_0x8678c5._0xfe4b05)]};}};}function createQuestionId(){const _0x3df059={_0x52a350:0x51a,_0x59441f:0x494,_0xec9826:0x5d4,_0x5577e7:0x62c,_0xe6ece4:0x546,_0x6a07ca:0x44a,_0x18461a:0x532},_0xe7c2d3={_0xf69e37:0x76,_0x1d2072:0x48c},_0x1ce7ad={_0x38d671:0x8e};function _0x4515fd(_0x4c4574,_0x5003c1,_0xfb4c8b,_0x571361){return _0x1c3a85(_0x4c4574-_0x1ce7ad._0x38d671,_0xfb4c8b,_0xfb4c8b-0xe8,_0x4c4574-0x22c);}function _0x4db5ea(_0x43c447,_0x28ccc6,_0x224974,_0x426551){return _0x1c3a85(_0x43c447-0x61,_0x224974,_0x224974-_0xe7c2d3._0xf69e37,_0x28ccc6-_0xe7c2d3._0x1d2072);}return _0x4db5ea(0x469,_0x3df059._0x52a350,_0x3df059._0x59441f,0x445)+Date['now']()+'-'+Math[_0x4db5ea(0x6c6,_0x3df059._0xec9826,_0x3df059._0x5577e7,_0x3df059._0xe6ece4)]()['toString'](0x24)[_0x4db5ea(_0x3df059._0x6a07ca,_0x3df059._0x18461a,0x694,0x414)](0x2,0x9);}function validateInput(_0x1eeafa){const _0x5f54cf={_0x3c54a4:0x11a,_0x41feaa:0x121,_0x25dd1e:0x1b6,_0x1281a9:0x21b,_0x18e579:0xa4,_0x3f7a5d:0x29b,_0xffd596:0x1d7,_0x39d214:0x2a6,_0x6c50d7:0xb2,_0x43dc06:0x81,_0x6c804:0x32,_0x3e6bcd:0x5e,_0x4c2449:0xe6,_0x115dba:0x506,_0x3e56bc:0x29c,_0x1592a1:0x400,_0x4e2839:0x24b,_0x195c4a:0x134,_0x5b33f3:0x229,_0x929b33:0x183,_0x5d9904:0x309,_0xf83a30:0x1ce,_0x39b71b:0x27b,_0x390681:0x4c0,_0x6d3be6:0x436,_0x4a374a:0x325,_0x29e846:0x35f,_0x1fa8e8:0x25c,_0x1e071b:0x89,_0x238e96:0xcd,_0x2cf7fa:0x3bd,_0x4b001b:0x34f,_0x1354c5:0x135,_0x15e672:0x20a,_0x4be7be:0xbf,_0x32fbbc:0x331,_0xfa85ca:0x12a,_0x412bb9:0x9,_0x378dd0:0x239,_0x594c74:0x380,_0x340cc9:0x54a,_0xe5554b:0x3a8,_0x253c67:0x222,_0x1fcd37:0x24f,_0x50b0f5:0x20c,_0x4b8049:0x2a8,_0x41906f:0x135,_0x3f3179:0x1fa,_0x2a0e17:0x160,_0x113b04:0x327,_0x42e4a2:0x2e1,_0xa18b68:0x21a,_0x1206cb:0x2c0,_0x43f232:0x3a8,_0x435d25:0x168,_0x2eed9c:0x93,_0x46a4a5:0x3d,_0xbe4c02:0x19a,_0x574463:0x2f7,_0x58ef81:0x3f4,_0xe9f3:0x8,_0x3a0a10:0x10c,_0x14c0d0:0xd,_0x45ba69:0x43b,_0x5926ec:0x27b,_0x19c72b:0x193},_0x5c83a6={_0x2d0e98:0x61,_0x17c910:0x63,_0x480e03:0x11f},_0x20c2e3={_0x128fc1:0xe5,_0x4895cf:0x1ba};function _0x135ef4(_0x686283,_0x3fb1fb,_0x5d15f7,_0x566438){return _0x1c3a85(_0x686283-0x3c,_0x3fb1fb,_0x5d15f7-_0x20c2e3._0x128fc1,_0x5d15f7- -_0x20c2e3._0x4895cf);}if(!Array[_0x135ef4(0x53,-_0x5f54cf._0x3c54a4,-_0x5f54cf._0x41feaa,-_0x5f54cf._0x25dd1e)](_0x1eeafa[_0x135ef4(-0xc6,_0x5f54cf._0x1281a9,_0x5f54cf._0x18e579,0x37)])||_0x1eeafa['questions']['length']<0x1||_0x1eeafa['questions'][_0x444385(_0x5f54cf._0x3f7a5d,0x9e,_0x5f54cf._0xffd596,0x21a)]>0xa)throw new ToolExecutionError(_0x444385(0x32e,0x1b0,_0x5f54cf._0x39d214,0x289),{'error':_0x444385(_0x5f54cf._0x6c50d7,_0x5f54cf._0x43dc06,-0x6f,0x4f)});function _0x444385(_0x4b13d5,_0x22b134,_0x55a688,_0x2360c2){return _0x1c3a85(_0x4b13d5-_0x5c83a6._0x2d0e98,_0x4b13d5,_0x55a688-_0x5c83a6._0x17c910,_0x2360c2-_0x5c83a6._0x480e03);}for(let _0x396cae=0x0;_0x396cae<_0x1eeafa[_0x135ef4(-0x92,_0x5f54cf._0x6c804,0xa4,-_0x5f54cf._0x3e6bcd)][_0x444385(0x66,0x276,_0x5f54cf._0x4c2449,0x21a)];_0x396cae+=0x1){const _0x5b8d65=_0x1eeafa[_0x444385(_0x5f54cf._0x115dba,_0x5f54cf._0x3e56bc,_0x5f54cf._0x1592a1,0x37d)][_0x396cae];if(!_0x5b8d65[_0x444385(0x215,0x351,_0x5f54cf._0x4e2839,0x2af)]||typeof _0x5b8d65['question']!==_0x444385(_0x5f54cf._0x195c4a,_0x5f54cf._0x5b33f3,_0x5f54cf._0x929b33,0x13e))throw new ToolExecutionError(_0x135ef4(-_0x5f54cf._0x5d9904,-_0x5f54cf._0xf83a30,-_0x5f54cf._0x39b71b,-0x429)+(_0x396cae+0x1)+_0x444385(0x22e,_0x5f54cf._0x390681,0x550,0x3a4));if(!_0x5b8d65[_0x444385(0x4d9,0x370,_0x5f54cf._0x6d3be6,_0x5f54cf._0x4a374a)]||typeof _0x5b8d65[_0x444385(0x4bb,_0x5f54cf._0x29e846,0x1f1,_0x5f54cf._0x4a374a)]!==_0x135ef4(-_0x5f54cf._0x1fa8e8,-0x28b,-0x19b,-_0x5f54cf._0x1e071b))throw new ToolExecutionError(_0x135ef4(-_0x5f54cf._0x238e96,-_0x5f54cf._0x2cf7fa,-_0x5f54cf._0x39b71b,-_0x5f54cf._0x4b001b)+(_0x396cae+0x1)+_0x444385(_0x5f54cf._0x1354c5,0x176,0x120,0x280));if(_0x5b8d65[_0x444385(0x1e6,0x227,0x3f4,0x325)][_0x135ef4(-0x77,-_0x5f54cf._0x15e672,-_0x5f54cf._0x4be7be,-0xf3)]>0x1e)throw new ToolExecutionError(_0x135ef4(-0x3fc,-_0x5f54cf._0x32fbbc,-0x27b,-0x39e)+(_0x396cae+0x1)+_0x135ef4(_0x5f54cf._0xfa85ca,-_0x5f54cf._0x412bb9,0x20,-0x53)+_0x5b8d65[_0x135ef4(0x51,-0x1,0x4c,0x12b)][_0x135ef4(-_0x5f54cf._0x378dd0,-0x1db,-0xbf,-0x17b)]);if(!Array['isArray'](_0x5b8d65['options'])||_0x5b8d65[_0x444385(_0x5f54cf._0x594c74,0x376,_0x5f54cf._0x340cc9,_0x5f54cf._0xe5554b)][_0x135ef4(-_0x5f54cf._0x253c67,-_0x5f54cf._0x1fcd37,-0xbf,-_0x5f54cf._0x50b0f5)]<0x2||_0x5b8d65['options'][_0x444385(_0x5f54cf._0x4b8049,0x18c,_0x5f54cf._0x41906f,0x21a)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x396cae+0x1)+_0x444385(_0x5f54cf._0x3f3179,0x10d,0x280,_0x5f54cf._0x2a0e17));for(let _0x1c1a37=0x0;_0x1c1a37<_0x5b8d65['options'][_0x444385(_0x5f54cf._0x113b04,_0x5f54cf._0x42e4a2,0xf6,_0x5f54cf._0xa18b68)];_0x1c1a37+=0x1){const _0x282891=_0x5b8d65[_0x444385(0x4dc,_0x5f54cf._0x1206cb,0x20e,_0x5f54cf._0x43f232)][_0x1c1a37];if(!_0x282891[_0x135ef4(0x91,-_0x5f54cf._0x435d25,-0xe4,-0x103)]||!_0x282891[_0x444385(_0x5f54cf._0x2eed9c,_0x5f54cf._0x46a4a5,0x17c,_0x5f54cf._0xbe4c02)])throw new ToolExecutionError(_0x135ef4(-_0x5f54cf._0x574463,-_0x5f54cf._0x58ef81,-_0x5f54cf._0x39b71b,-0x161)+(_0x396cae+0x1)+_0x135ef4(-_0x5f54cf._0xe9f3,-_0x5f54cf._0x3a0a10,0x34,-0x1)+(_0x1c1a37+0x1)+_0x444385(_0x5f54cf._0x14c0d0,0x17b,-0xd,0x1b3));}if(typeof _0x5b8d65['multiSelect']!=='boolean')throw new ToolExecutionError(_0x135ef4(-_0x5f54cf._0x45ba69,-0x3e7,-_0x5f54cf._0x5926ec,-_0x5f54cf._0x19c72b)+(_0x396cae+0x1)+_0x135ef4(-0x1c2,-0x39f,-0x1e0,-0x325));}}function buildQuestions(_0x429b73){const _0x4866a4={_0xb44ba2:0xbb,_0x5ba330:0x232,_0x48c83d:0x261},_0x553d4e={_0x29641f:0x46,_0xe4de69:0x56d},_0x3eb47f={_0x34c38f:0xf,_0x21851c:0xbe,_0x4c67b8:0x46e};function _0x47dfa7(_0x23ab41,_0x21f219,_0x300996,_0x4ae51c){return _0x1c3a85(_0x23ab41-_0x3eb47f._0x34c38f,_0x23ab41,_0x300996-_0x3eb47f._0x21851c,_0x4ae51c-_0x3eb47f._0x4c67b8);}function _0x5aece3(_0x363be9,_0xaf4840,_0xf9dd90,_0x20f878){return _0x515b8f(_0x363be9-_0x553d4e._0x29641f,_0xaf4840-0x26,_0xaf4840,_0x363be9- -_0x553d4e._0xe4de69);}return _0x429b73['questions'][_0x5aece3(-0x193,-_0x4866a4._0xb44ba2,-_0x4866a4._0x5ba330,-_0x4866a4._0x48c83d)]((_0x3b02c1,_0x1522e9)=>({'id':'q'+_0x1522e9,'question':_0x3b02c1[_0x47dfa7(0x79b,0x445,0x608,0x5fe)],'topic':_0x3b02c1[_0x47dfa7(0x70f,0x75f,0x5bd,0x674)],'options':_0x3b02c1['options'],'multiSelect':_0x3b02c1[_0x47dfa7(0x27f,0x3d9,0x203,0x3a6)]}));}function createResult(_0xf2ff41,_0x3f4d2d,_0x4835b8){const _0x3f725d={_0x4618b2:0x429,_0x1049fd:0x340},_0x1a867f={_0x107cd9:0x2f5},_0x428e24={'questionId':_0xf2ff41,'questionCount':_0x3f4d2d,'answers':_0x4835b8};function _0xc8c254(_0x51508d,_0xb308af,_0x12ed5f,_0x80427d){return _0x1c3a85(_0x51508d-0xc6,_0x12ed5f,_0x12ed5f-0x17b,_0xb308af-_0x1a867f._0x107cd9);}return createToolOutput(_0xc8c254(_0x3f725d._0x4618b2,0x449,0x4f6,_0x3f725d._0x1049fd)+JSON['stringify'](_0x4835b8,null,0x2),_0x428e24);}function createAskUserTool(){const _0x466935={_0x144fd7:0x191,_0xe67aa0:0x7b,_0x34d585:0xa3,_0x54e568:0x11a,_0x4b392c:0x42,_0x18d85f:0x4a,_0x3c8a91:0x18a,_0x5c0594:0xf2,_0x543dbc:0x242,_0x43e32e:0x1a7,_0x5d4296:0x4a,_0x787f36:0xf3,_0x1592c0:0x17e,_0x29ef3a:0x1e,_0x30c744:0x4b,_0x430d88:0x251,_0x5c2475:0x100,_0x240e8b:0x91,_0x43007a:0x10c,_0x599860:0x28a,_0x475a5b:0x224,_0x10cb52:0x170,_0x13b910:0xf,_0x1c4edb:0x1c3,_0x55d129:0x22e,_0x140d4e:0x52c,_0x45b903:0x27f,_0x2075bd:0xe0,_0x3f72a3:0x221,_0x1d17e0:0x297},_0x452401={_0x3bce0e:0x1c1,_0x4141ae:0x171,_0x25606c:0x46c,_0x50f247:0x384,_0x448edc:0x348,_0x2b8f74:0x1c,_0x5e3297:0xf6,_0x580fab:0xc8,_0x4f5d94:0xee,_0x53bfc6:0x5f,_0x22020e:0x14,_0x567ba5:0x3f6,_0x3c7101:0x472,_0x18f57d:0x297},_0x14ddd7={_0xae0f39:0xbb},_0xd5cd57={_0x352952:0x4,_0x765f54:0x62,_0x49a00c:0x4c6};function _0x2662e9(_0x46f93f,_0x9be8f5,_0xdceba5,_0x56163b){return _0x515b8f(_0x46f93f-_0xd5cd57._0x352952,_0x9be8f5-_0xd5cd57._0x765f54,_0xdceba5,_0x9be8f5- -_0xd5cd57._0x49a00c);}function _0x4afca8(_0x2cffc2,_0x3dc4c3,_0x59e0ef,_0x1d025f){return _0x515b8f(_0x2cffc2-0xfc,_0x3dc4c3-_0x14ddd7._0xae0f39,_0x3dc4c3,_0x1d025f- -0x39c);}return defineTool({'name':_0x4afca8(0x41a,0x3ea,0x1eb,0x31d),'permissionClass':_0x4afca8(0x349,_0x466935._0x144fd7,0x181,0x1ea),'description':_0x4afca8(0x1af,_0x466935._0xe67aa0,-_0x466935._0x34d585,_0x466935._0x54e568),'inputSchema':{'type':_0x2662e9(-_0x466935._0x4b392c,-_0x466935._0x18d85f,-0x2,-_0x466935._0x3c8a91),'properties':{'questions':{'type':_0x4afca8(_0x466935._0x5c0594,_0x466935._0x543dbc,0x7a,_0x466935._0x43e32e),'items':{'type':_0x2662e9(-0x1dc,-_0x466935._0x5d4296,_0x466935._0x787f36,0x59),'properties':{'question':{'type':_0x2662e9(-0x16,-0x1e,-0x1c5,-_0x466935._0x1592c0)},'topic':{'type':_0x2662e9(-0x167,-_0x466935._0x29ef3a,-0x11c,-_0x466935._0x30c744)},'options':{'type':_0x4afca8(0x29d,_0x466935._0x430d88,-0x6,0x1a7),'items':{'type':_0x2662e9(-_0x466935._0x5c2475,-0x4a,-0x1c2,-_0x466935._0x240e8b),'properties':{'label':{'type':_0x4afca8(0x2c8,0x2c5,0x1eb,_0x466935._0x43007a)},'description':{'type':_0x4afca8(_0x466935._0x599860,-0x48,0xe6,_0x466935._0x43007a)}},'required':[_0x4afca8(_0x466935._0x475a5b,_0x466935._0x10cb52,_0x466935._0x13b910,_0x466935._0x1c4edb),_0x4afca8(0xe0,0x1d6,0xae,0x168)]}},'multiSelect':{'type':_0x4afca8(_0x466935._0x55d129,0x237,0x1ad,0x32e)}},'required':[_0x4afca8(0x138,0x321,0x1bb,0x27d),'topic',_0x4afca8(0x1ce,_0x466935._0x140d4e,0x2ea,0x376),_0x2662e9(-_0x466935._0x45b903,-0x105,0x46,-0x22d)]}},'answers':{'type':_0x4afca8(0x217,-0x5d,0x22d,_0x466935._0x2075bd),'properties':{}}},'required':[_0x2662e9(0x32d,_0x466935._0x3f72a3,0x163,_0x466935._0x1d17e0)]},async *'execute'(_0x15febd,_0x5df414){const _0x1ef764={_0x2656d5:0x1c6,_0x269970:0x172};function _0x4f2bcb(_0x4e4b98,_0x43d95f,_0x3c2e7c,_0x1eeab3){return _0x2662e9(_0x4e4b98-0xa3,_0x1eeab3-0x127,_0x4e4b98,_0x1eeab3-0xd4);}const _0x58cde3=_0x15febd;validateInput(_0x58cde3);const _0x3bb173=_0x5df414[_0x505cc0(0x1a4,-0x155,0x22,0x1ca)]??createQuestionId();if(_0x58cde3['answers']&&Object[_0x4f2bcb(_0x452401._0x3bce0e,0x28c,-0xb5,0xff)](_0x58cde3['answers'])[_0x505cc0(-_0x452401._0x4141ae,0x46,-0xb4,-0xde)]>0x0)return createResult(_0x3bb173,_0x58cde3[_0x4f2bcb(_0x452401._0x25606c,_0x452401._0x50f247,0x294,_0x452401._0x448edc)]['length'],_0x58cde3['answers']);if(!_0x5df414[_0x505cc0(_0x452401._0x2b8f74,-0x12f,-0x14,0x86)])throw new ToolExecutionError(_0x505cc0(_0x452401._0x5e3297,-0x189,-_0x452401._0x580fab,-_0x452401._0x4f5d94));const _0x5b888a=buildQuestions(_0x58cde3);function _0x505cc0(_0x288440,_0x2a81e6,_0x5682f3,_0x12838d){return _0x2662e9(_0x288440-_0x1ef764._0x2656d5,_0x5682f3- -_0x1ef764._0x269970,_0x2a81e6,_0x12838d-0x6b);}const _0x217f87=await _0x5df414[_0x505cc0(-0x1,-_0x452401._0x53bfc6,-_0x452401._0x22020e,0x10e)]({'questionId':_0x3bb173,'questions':_0x5b888a});yield createResult(_0x3bb173,_0x58cde3[_0x4f2bcb(_0x452401._0x567ba5,_0x452401._0x3c7101,0x471,_0x452401._0x448edc)][_0x4f2bcb(_0x452401._0x18f57d,0x331,0xaa,0x1e5)],_0x217f87);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x1e539d}from'child_process';function errorMessage(_0x47c068){return _0x47c068 instanceof Error?_0x47c068['message']:String(_0x47c068);}function isNotFound(_0x3cb33c){const _0x52be2b={_0x347bc4:0x65,_0x3e3243:0x12c,_0x68eb8:0x1d8,_0x1f9e64:0xc1,_0x3545ce:0x1a1,_0x31817c:0x2fa,_0x52f872:0x17c,_0x2439da:0x141,_0x110886:0x30c},_0x278761={_0x5f2ad9:0x141,_0x24db25:0x401},_0xfa523={_0x10fe9d:0x164,_0x2f7b8e:0x6f1};function _0x5865a6(_0x19f84c,_0xa0d4a5,_0x2f157f,_0x3c9168){return _0x515b8f(_0x19f84c-_0xfa523._0x10fe9d,_0xa0d4a5-0x69,_0x19f84c,_0xa0d4a5- -_0xfa523._0x2f7b8e);}function _0x197558(_0x18b759,_0x5e221b,_0x2ac352,_0x74e85e){return _0x515b8f(_0x18b759-0x97,_0x5e221b-_0x278761._0x5f2ad9,_0x18b759,_0x5e221b- -_0x278761._0x24db25);}return typeof _0x3cb33c===_0x197558(_0x52be2b._0x347bc4,0x7b,0x33,-0x109)&&_0x3cb33c!==null&&_0x5865a6(-_0x52be2b._0x3e3243,-0xc1,-0xce,0xf5)in _0x3cb33c&&_0x3cb33c[_0x5865a6(-_0x52be2b._0x68eb8,-_0x52be2b._0x1f9e64,-0x14c,-_0x52be2b._0x3545ce)]===_0x5865a6(-_0x52be2b._0x31817c,-_0x52be2b._0x52f872,-_0x52be2b._0x2439da,-_0x52be2b._0x110886);}function isSafeProcessId(_0xbef9b0){const _0x94fcb8={_0x12c791:0xa};function _0x5310f4(_0x1d394d,_0x29d94c,_0x2d6c2c,_0x2a02e3){return _0x515b8f(_0x1d394d-0x149,_0x29d94c-0x40,_0x2d6c2c,_0x29d94c- -0x4bf);}return _0xbef9b0!==void 0x0&&Number[_0x5310f4(0x127,0x163,-_0x94fcb8._0x12c791,0x1ea)](_0xbef9b0)&&_0xbef9b0>0x1;}function createProcessTreeSignalAdapter(_0x4c032e={}){const _0x160b9f={_0x15be6c:0x49c,_0x4e2f94:0x64d,_0x3a2520:0x63d,_0x5debf9:0x5cb,_0xc77bd7:0x44e,_0x43729e:0x32e,_0x1c8d3c:0x42c,_0x5465aa:0x447,_0x53048c:0x5aa,_0x28216a:0x29e,_0xbdc201:0x95,_0x691c85:0x1d7,_0x25b6f1:0xf2},_0x5a7f83={_0x3337ee:0x572,_0x3e19c4:0x229,_0x671947:0x1dd,_0x271f0a:0x15a,_0x5c756f:0xb1,_0x1dd32d:0x36f,_0x13ef8f:0x38f,_0x4a721a:0x5f3,_0xed28e7:0x28f,_0x3a4640:0x2e0,_0x456906:0x2ec,_0x35adb6:0x307,_0x5b4ef1:0x21d,_0x506719:0x3e9,_0x23baf1:0x554,_0x4d9974:0x154,_0xba589f:0x23,_0x514793:0x36b,_0x5240ea:0x4ef,_0x2a8704:0x465},_0x7b514d={_0x30e2b5:0x17d,_0x1d6a39:0x164},_0x26c073={_0x4c9704:0x16d},_0x307b1d={_0x2108aa:0x1,_0x1fe980:0xb5},_0x508b0f=_0x4c032e[_0x19b890(_0x160b9f._0x15be6c,0x515,_0x160b9f._0x4e2f94,0x5cb)]??process[_0x19b890(_0x160b9f._0x3a2520,0x5f5,0x5e6,_0x160b9f._0x5debf9)];function _0xdafae2(_0x33de3a,_0xa8575b,_0x35cc3f,_0x5a222e){return _0x515b8f(_0x33de3a-_0x307b1d._0x2108aa,_0xa8575b-_0x307b1d._0x1fe980,_0x5a222e,_0x35cc3f- -0x67d);}const _0x5379b7=_0x4c032e[_0x19b890(0x367,_0x160b9f._0xc77bd7,_0x160b9f._0x43729e,_0x160b9f._0x1c8d3c)]??process[_0x19b890(0x3b2,0x2ec,0x285,0x42c)][_0x19b890(0x774,_0x160b9f._0x5465aa,_0x160b9f._0x53048c,0x5f4)](process);function _0x19b890(_0x3c4089,_0x3e3f14,_0x5a8ba6,_0x659baa){return _0x515b8f(_0x3c4089-_0x26c073._0x4c9704,_0x3e3f14-0x17c,_0x3e3f14,_0x659baa- -0x3d);}const _0x4a487b=_0x4c032e[_0xdafae2(-_0x160b9f._0x28216a,-_0x160b9f._0xbdc201,-_0x160b9f._0x691c85,-_0x160b9f._0x25b6f1)]??_0x1e539d;return{async 'signal'(_0x26fda9,_0x351b89){const _0x524ba8={_0x31339b:0x4fb,_0x294e67:0x6a0,_0x6d4fa8:0x378,_0x19fa77:0x347,_0x1ce02c:0x16,_0x46de03:0x30d,_0x7a7f9f:0x29e,_0x41e430:0x27f,_0x3e0824:0x3c1,_0x1b66b7:0x3d2,_0x225b31:0x4f0,_0x1bfa65:0x290,_0x32d6f5:0x385,_0xe594f3:0x475,_0xc9a26f:0x3d,_0x518f04:0x6a3,_0x489d1a:0x4a7},_0x551654={_0x1ccc39:0x1a6};if(_0x508b0f!==_0xe13ff1(_0x5a7f83._0x3337ee,_0x5a7f83._0x3e19c4,0x3d7,0x54e)){if(!isSafeProcessId(_0x26fda9['processGroupId']))return{'outcome':'failed','error':'Unsafe\x20or\x20missing\x20POSIX\x20process\x20group\x20id'};try{return _0x5379b7(-_0x26fda9[_0x39ed75(-_0x5a7f83._0x671947,-0x16e,-_0x5a7f83._0x271f0a,-_0x5a7f83._0x5c756f)],_0x351b89===_0xe13ff1(0x3f8,0x475,_0x5a7f83._0x1dd32d,0x372)?_0xe13ff1(0x341,_0x5a7f83._0x13ef8f,0x458,_0x5a7f83._0x4a721a):'SIGKILL'),{'outcome':_0x39ed75(_0x5a7f83._0xed28e7,0x2a0,0x2a,0x1e9)};}catch(_0x568862){return isNotFound(_0x568862)?{'outcome':_0x39ed75(_0x5a7f83._0x3a4640,_0x5a7f83._0x456906,_0x5a7f83._0x35adb6,_0x5a7f83._0x5b4ef1),'error':errorMessage(_0x568862)}:{'outcome':_0xe13ff1(_0x5a7f83._0x506719,0x364,0x3c5,_0x5a7f83._0x23baf1),'error':errorMessage(_0x568862)};}}function _0xe13ff1(_0x9c3915,_0x491620,_0x155d38,_0x7072cb){return _0xdafae2(_0x9c3915-0x47,_0x491620-0xde,_0x155d38-0x57f,_0x7072cb);}function _0x39ed75(_0x141db4,_0x3b50ed,_0x3cda43,_0x11f891){return _0xdafae2(_0x141db4-_0x7b514d._0x30e2b5,_0x3b50ed-_0x7b514d._0x1d6a39,_0x11f891-0x187,_0x3cda43);}if(!isSafeProcessId(_0x26fda9[_0x39ed75(0x57,-_0x5a7f83._0x4d9974,-0x9f,_0x5a7f83._0xba589f)]))return{'outcome':_0xe13ff1(_0x5a7f83._0x514793,_0x5a7f83._0x5240ea,0x3c5,_0x5a7f83._0x2a8704),'error':_0x39ed75(0x12a,0x8c,-0x1a8,-0x5)};return new Promise(_0x80945b=>{const _0x310042={_0x21d9c0:0x405,_0x2f0d1f:0x4cc,_0x15e1f8:0x19,_0x4c7fb2:0x85,_0x574f97:0x26f,_0x4e8c7d:0x1eb},_0x17d858={_0x25d9f4:0x37,_0x48756c:0x5e6};let _0x263f19=![];function _0x63aa5d(_0x43902a,_0x2e0011,_0x39ebbe,_0x358076){return _0xe13ff1(_0x43902a-_0x17d858._0x25d9f4,_0x2e0011-0x65,_0x358076- -_0x17d858._0x48756c,_0x43902a);}const _0x4040e4=_0x20aa34=>{if(_0x263f19)return;_0x263f19=!![],_0x80945b(_0x20aa34);};let _0x569368;try{const _0x5aa569=[_0x1328a8(0x35c,0x5ea,_0x524ba8._0x31339b,_0x524ba8._0x294e67),String(_0x26fda9[_0x63aa5d(-_0x524ba8._0x6d4fa8,-_0x524ba8._0x19fa77,-_0x524ba8._0x1ce02c,-0x1cb)]),'/T'];if(_0x351b89===_0x1328a8(0x493,0x174,0x327,_0x524ba8._0x46de03))_0x5aa569['push']('/F');_0x569368=_0x4a487b(_0x63aa5d(-_0x524ba8._0x7a7f9f,-0x3da,-0x201,-_0x524ba8._0x41e430),_0x5aa569,{'stdio':_0x1328a8(0x439,0x1a4,0x2e0,_0x524ba8._0x3e0824),'windowsHide':!![]});}catch(_0x440b9b){_0x4040e4({'outcome':_0x1328a8(0x30d,0x322,_0x524ba8._0x1b66b7,_0x524ba8._0x225b31),'error':errorMessage(_0x440b9b)});return;}function _0x1328a8(_0x102dac,_0x3d2be5,_0x439082,_0x3f7058){return _0x39ed75(_0x102dac-_0x551654._0x1ccc39,_0x3d2be5-0x17e,_0x102dac,_0x439082-0x405);}_0x569368[_0x1328a8(_0x524ba8._0x1bfa65,0x54e,0x40d,_0x524ba8._0x32d6f5)](_0x1328a8(0x559,_0x524ba8._0xe594f3,0x429,0x2a3),_0x586da0=>{_0x4040e4(isNotFound(_0x586da0)?{'outcome':'not-found','error':errorMessage(_0x586da0)}:{'outcome':'failed','error':errorMessage(_0x586da0)});}),_0x569368[_0x63aa5d(-0x269,-_0x524ba8._0xc9a26f,-0x39b,-0x1e6)](_0x1328a8(_0x524ba8._0x518f04,_0x524ba8._0x489d1a,0x5ed,0x689),_0x48a90c=>{const _0x44c3f7={_0xc1dcdd:0xa8,_0x4985cc:0xd1,_0x2b9cc0:0x5c7},_0xabd3f0={_0x5c9dd2:0xfa,_0x86c32c:0x248};function _0x467286(_0x2c0bf9,_0x2f4cce,_0x5efa65,_0x3a717e){return _0x63aa5d(_0x5efa65,_0x2f4cce-_0xabd3f0._0x5c9dd2,_0x5efa65-0x104,_0x2c0bf9-_0xabd3f0._0x86c32c);}function _0x390384(_0xddf816,_0x5d43a2,_0x3a5610,_0x57b263){return _0x63aa5d(_0x3a5610,_0x5d43a2-_0x44c3f7._0xc1dcdd,_0x3a5610-_0x44c3f7._0x4985cc,_0xddf816-_0x44c3f7._0x2b9cc0);}_0x4040e4(_0x48a90c===0x0?{'outcome':_0x390384(0x5c2,_0x310042._0x21d9c0,0x4c5,_0x310042._0x2f0d1f)}:{'outcome':_0x467286(0x27,0x1e4,_0x310042._0x15e1f8,_0x310042._0x4c7fb2),'error':_0x390384(0x315,_0x310042._0x574f97,_0x310042._0x4e8c7d,0x17a)+String(_0x48a90c)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x62670c){const _0x229465={_0x41402a:0x79,_0x1071d6:0x159,_0x1bd6c9:0x5e,_0x3b3b96:0xb7},_0x3ceb62={_0x23a8f5:0x1be,_0x21d2da:0x560},_0x19499d=_0x62670c[_0x144eb6(-_0x229465._0x41402a,_0x229465._0x1071d6,_0x229465._0x1bd6c9,_0x229465._0x3b3b96)](0x0)??0x0;function _0x144eb6(_0x16b19a,_0x55e733,_0xada146,_0x53e46f){return _0x515b8f(_0x16b19a-_0x3ceb62._0x23a8f5,_0x55e733-0x118,_0x53e46f,_0xada146- -_0x3ceb62._0x21d2da);}return _0x19499d<0x20&&_0x62670c!=='\x09'||_0x19499d>=0x7f&&_0x19499d<=0x9f||_0x19499d===0xa0||_0x19499d>=0x200b&&_0x19499d<=0x200f||_0x19499d>=0x2060&&_0x19499d<=0x2069||_0x19499d===0x23ce||_0x19499d===0x2424;}function createTerminalOutputNormalizer(){const _0x2caa28={_0x1e09a0:0x32a},_0x1d5c0c={_0x1025c8:0x1fb},_0x4de95f={_0x5de2c1:0x169,_0x45d3aa:0x4e9,_0x5d3f68:0x3cc,_0x4c907f:0x4b5,_0x7102ef:0x393,_0x573f8c:0x200,_0x10aecf:0x362,_0x10f536:0x3e,_0x5d49df:0x148,_0xb3b71b:0x2f0,_0x5e8b83:0x272,_0x53a0d5:0x141,_0x161b22:0x13,_0x52522d:0x3b8,_0x1921d4:0x4ef,_0xb91bf4:0x316,_0x266ac9:0x3ec,_0x46b9b6:0x352,_0x161e34:0x3c5,_0x30b7ac:0x4b5,_0x47a4c0:0x322,_0x26d3c9:0x39f,_0x525b9a:0x3f3,_0x405b86:0x537,_0x394334:0x3e0,_0x3bdfe5:0x276,_0x204faa:0x330},_0x34bb97={_0xde24ba:0x18b,_0x12f598:0x8},_0x2de893={_0x46f756:0x467,_0x388905:0x4cb,_0x4b6b77:0x4f0,_0x167f0c:0x2ee,_0x32748f:0x441,_0xb38990:0x37c};let _0x347ce8='text',_0x23dee6=![],_0x13e7d1=![],_0x10891d=[],_0x419b3f=0x0,_0x4b3d4d=![];const _0x4f3660=()=>{_0x10891d=[],_0x419b3f=0x0;},_0x314c06=_0x40d175=>{const _0x19c131={_0x3b2cd:0x97};function _0x2b46af(_0x3f9473,_0x3f85a7,_0x2d9090,_0x58673f){return _0x2a2f(_0x3f85a7-0x11f,_0x3f9473);}_0x10891d[_0x3319b9(0x5f8,_0x2de893._0x46f756,_0x2de893._0x388905,0x471)](_0x40d175);function _0x3319b9(_0x19eb70,_0x296180,_0x251b96,_0x355f66){return _0x2a2f(_0x296180-_0x19c131._0x3b2cd,_0x251b96);}_0x419b3f+=_0x40d175[_0x2b46af(0x352,0x37c,_0x2de893._0x4b6b77,0x49c)];while(_0x419b3f>MAX_PROGRESS_LINE_CHARS){const _0x45d1e8=_0x10891d[_0x3319b9(_0x2de893._0x167f0c,0x45d,0x3d1,_0x2de893._0x32748f)]();if(_0x45d1e8===void 0x0)break;_0x419b3f-=_0x45d1e8[_0x2b46af(0x2ae,_0x2de893._0xb38990,0x417,0x3f8)];}},_0x5d7f48=_0x165b45=>{const _0x1763fc={_0x2d38d8:0x10b};function _0x81e360(_0x17b0a7,_0x5c54c7,_0x3fc946,_0x1bcf58){return _0x2a2f(_0x17b0a7- -_0x1763fc._0x2d38d8,_0x3fc946);}const _0x9c8ec8=_0x10891d[_0x81e360(_0x34bb97._0xde24ba,-_0x34bb97._0x12f598,0x234,0xa)]('')+(_0x165b45?'\x0a':'');return _0x4f3660(),_0x9c8ec8;},_0x4088f1=_0x4d7d9d=>{const _0x368de4={_0x52f417:0x2c4};if(_0x4b3d4d)throw new Error(_0x12a47e(0x193,0x2ad,_0x4de95f._0x5de2c1,0x2f6));let _0x912674='';function _0x12a47e(_0x12e7ae,_0x1faa8f,_0x38bd4a,_0xc63fb5){return _0x2a2f(_0x1faa8f-0x19,_0xc63fb5);}function _0x4322c1(_0x150d09,_0x532c27,_0x34e8dc,_0x29eeea){return _0x2a2f(_0x34e8dc-_0x368de4._0x52f417,_0x150d09);}for(const _0x103ffc of _0x4d7d9d){if(_0x347ce8===_0x4322c1(_0x4de95f._0x45d3aa,_0x4de95f._0x5d3f68,_0x4de95f._0x4c907f,_0x4de95f._0x7102ef)){const _0x2637dc=_0x103ffc[_0x12a47e(_0x4de95f._0x573f8c,0x2b0,_0x4de95f._0x10aecf,0x1b8)](0x0)??0x0;if(_0x2637dc>=0x40&&_0x2637dc<=0x7e)_0x347ce8=_0x12a47e(-_0x4de95f._0x10f536,_0x4de95f._0x5d49df,_0x4de95f._0xb3b71b,_0x4de95f._0x5e8b83);continue;}if(_0x347ce8===_0x12a47e(-0x6f,_0x4de95f._0x53a0d5,_0x4de95f._0x161b22,0x91)||_0x347ce8===_0x4322c1(_0x4de95f._0x52522d,_0x4de95f._0x1921d4,0x39f,0x2d8)){if(_0x23dee6){_0x103ffc==='\x5c'?(_0x347ce8='text',_0x23dee6=![]):_0x23dee6=_0x103ffc===ESC;continue;}if(_0x103ffc===ESC)_0x23dee6=!![];else _0x347ce8===_0x4322c1(0x555,_0x4de95f._0xb91bf4,_0x4de95f._0x266ac9,_0x4de95f._0x46b9b6)&&_0x103ffc===BEL&&(_0x347ce8=_0x4322c1(0x58b,0x2ff,0x3f3,0x318));continue;}if(_0x347ce8==='escape'){if(_0x103ffc==='[')_0x347ce8=_0x4322c1(0x552,_0x4de95f._0x161e34,_0x4de95f._0x30b7ac,_0x4de95f._0x47a4c0);else{if(_0x103ffc===']')_0x347ce8='osc',_0x23dee6=![];else _0x103ffc==='P'||_0x103ffc==='_'||_0x103ffc==='^'?(_0x347ce8=_0x4322c1(0x25a,0x3c7,_0x4de95f._0x26d3c9,0x1fc),_0x23dee6=![]):_0x347ce8=_0x4322c1(0x45a,0x58f,_0x4de95f._0x525b9a,0x570);}continue;}if(_0x13e7d1){_0x13e7d1=![];if(_0x103ffc==='\x0a'){_0x912674+=_0x5d7f48(!![]);continue;}_0x4f3660();}if(_0x103ffc===ESC)_0x347ce8=_0x4322c1(0x58c,0x6f8,0x5dc,_0x4de95f._0x405b86);else{if(_0x103ffc==='\x0d')_0x13e7d1=!![];else{if(_0x103ffc==='\x0a')_0x912674+=_0x5d7f48(!![]);else{if(_0x103ffc==='\x08'){const _0xd659ef=_0x10891d[_0x12a47e(0x38e,0x223,0x2ae,0x295)]();if(_0xd659ef!==void 0x0)_0x419b3f-=_0xd659ef[_0x12a47e(_0x4de95f._0x394334,_0x4de95f._0x3bdfe5,_0x4de95f._0x204faa,0x140)];}else!isDiscardedTextControl(_0x103ffc)&&_0x314c06(_0x103ffc);}}}}return _0x912674;};return{'write':_0x4088f1,'end'(){function _0x4f7ac8(_0x56299c,_0x20e825,_0x31ef6b,_0x48db15){return _0x2a2f(_0x48db15-_0x1d5c0c._0x1025c8,_0x20e825);}if(_0x4b3d4d)return'';return _0x4b3d4d=!![],_0x13e7d1=![],_0x347ce8=_0x4f7ac8(0x2b2,0x35c,0x2b4,_0x2caa28._0x1e09a0),_0x23dee6=![],_0x5d7f48(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0x3da384){const _0x1fc5cd={_0x3d7701:0x10e,_0x3eb65a:0xaf,_0x485f64:0x160,_0x46a9ba:0x88,_0x28ae01:0xd3},_0x1004ef={_0x5483e1:0x196,_0x24cae2:0x60d};super(_0x272265(-_0x1fc5cd._0x3d7701,-0x19a,-0x9f,-_0x1fc5cd._0x3eb65a));function _0x272265(_0x282efc,_0x3c14a1,_0x418053,_0x3e6d3e){return _0x515b8f(_0x282efc-_0x1004ef._0x5483e1,_0x3c14a1-0x27,_0x3e6d3e,_0x418053- -_0x1004ef._0x24cae2);}this['results']=_0x3da384;function _0x283369(_0x27ca9e,_0x56a4f8,_0x5c0626,_0x1f2dd2){return _0x515b8f(_0x27ca9e-0xf3,_0x56a4f8-0x99,_0x56a4f8,_0x5c0626- -0x670);}this[_0x272265(-0x18d,-0x164,-0x74,0x80)]=_0x272265(_0x1fc5cd._0x485f64,-_0x1fc5cd._0x46a9ba,0xa8,-_0x1fc5cd._0x28ae01);}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x4ca6f2){const _0x5df284={_0x217ace:0x56f,_0x45a70a:0x410,_0x4ce2f6:0x307,_0x3a82d0:0x2f1},_0xa94041={_0x25771e:0x69,_0x3bc657:0x177},_0x1fcfee={_0xe219d8:0x139,_0xf7fe73:0x20};function _0x13d3fc(_0x2deb35,_0x19ef03,_0xda50,_0x27eef4){return _0x1c3a85(_0x2deb35-_0x1fcfee._0xe219d8,_0x2deb35,_0xda50-_0x1fcfee._0xf7fe73,_0xda50-0x319);}function _0x1ebfc0(_0x3fa135,_0x16e041,_0x561465,_0x2b4f93){return _0x1c3a85(_0x3fa135-_0xa94041._0x25771e,_0x16e041,_0x561465-_0xa94041._0x3bc657,_0x561465-0x18f);}return _0x4ca6f2===_0x13d3fc(0x266,_0x5df284._0x217ace,_0x5df284._0x45a70a,_0x5df284._0x4ce2f6)||_0x4ca6f2===_0x1ebfc0(0x408,0x2dc,_0x5df284._0x3a82d0,0x2f1)||_0x4ca6f2==='error';}var BackgroundProcessRegistry=class{['entries']=new Map();[_0x515b8f(0x5e8,0x30e,0x492,0x480)]=new Map();[_0x515b8f(0x4fd,0x4df,0x4c8,0x4c5)];[_0x515b8f(0x51d,0x3ea,0x354,0x3b1)];['capChars'];[_0x1c3a85(0x58,0x2ad,-0x2c,0x17f)];['signalAdapter'];[_0x515b8f(0x465,0x6cc,0x4e4,0x578)]=0x0;constructor(_0x584410={}){const _0x473837={_0x193fbe:0x450,_0x8bc808:0x3a0,_0x3fbc73:0x483,_0x5e69f6:0x32e,_0x46feed:0x309,_0x5183b0:0x21b,_0x574c49:0x81,_0x12eafc:0xfd,_0x393969:0xd1,_0x2c2a99:0x22e,_0x360751:0x257,_0x468374:0x3bd,_0x17b6b4:0x3f2,_0x3a366e:0x5c6,_0x274379:0x749,_0x56f179:0x765,_0x517e4d:0x2d8,_0x32ead3:0x144,_0x240bea:0xec,_0x41b93c:0x237,_0x48a3f0:0x260,_0xcbfe9b:0x3da,_0x19b582:0x25f,_0x12ca1c:0x316,_0x46f20d:0x5c6},_0x748ae9={_0x395d70:0x1e8,_0x161429:0x82,_0x4e37dc:0x42},_0x4506ed={_0x255db4:0x1a9};this[_0x59921d(0x483,0x33b,_0x473837._0x193fbe,_0x473837._0x8bc808)]=_0x584410[_0x59921d(_0x473837._0x3fbc73,_0x473837._0x5e69f6,0x45d,_0x473837._0x46feed)]??0xa;function _0x3596a3(_0x478c80,_0x4aee40,_0x379462,_0x2d4930){return _0x1c3a85(_0x478c80-0x142,_0x379462,_0x379462-_0x4506ed._0x255db4,_0x4aee40-0x159);}function _0x59921d(_0x1c0939,_0x3efecb,_0x4d6b94,_0x4b99b3){return _0x515b8f(_0x1c0939-_0x748ae9._0x395d70,_0x3efecb-_0x748ae9._0x161429,_0x3efecb,_0x1c0939- -_0x748ae9._0x4e37dc);}this[_0x3596a3(0x2f,0x81,_0x473837._0x5183b0,-0x4e)]=_0x584410[_0x3596a3(0x89,_0x473837._0x574c49,_0x473837._0x12eafc,-0x20)]??0x40,this[_0x3596a3(0x3bc,0x257,_0x473837._0x393969,_0x473837._0x2c2a99)]=_0x584410[_0x3596a3(0xc3,_0x473837._0x360751,_0x473837._0x468374,_0x473837._0x17b6b4)]??0x100000,this[_0x59921d(_0x473837._0x3a366e,_0x473837._0x274379,0x4c2,0x4d7)]=_0x584410[_0x59921d(0x5c6,0x446,_0x473837._0x56f179,0x448)]??process[_0x3596a3(0x285,_0x473837._0x517e4d,_0x473837._0x32ead3,0x326)],this[_0x3596a3(0x1c1,_0x473837._0x240bea,_0x473837._0x41b93c,_0x473837._0x48a3f0)]=_0x584410[_0x59921d(_0x473837._0xcbfe9b,_0x473837._0x19b582,0x486,_0x473837._0x12ca1c)]??createProcessTreeSignalAdapter({'platform':this[_0x59921d(_0x473837._0x46f20d,0x707,0x61a,0x717)]});}[_0x1c3a85(-0x38,-0x44,-0x3a,0x92)](){const _0x3b5f68={_0x528d9a:0xb5,_0x2bc042:0xb8,_0x7d123f:0x176,_0x2ef654:0x2aa,_0x36454f:0x41,_0x1041f9:0xb9,_0x12a993:0x30c,_0x5dd747:0x1bd,_0x39304c:0x1fe,_0x73905d:0x8b,_0x40c23e:0x4d0,_0x4e8698:0x5f6,_0x563e56:0x158,_0x232b3b:0x23f,_0x4e0270:0x32d,_0x1ec173:0x178,_0x1afd67:0x1da,_0x59f50f:0x88,_0x4a825a:0x45,_0xde095c:0x140,_0x778464:0x8a,_0x5135a6:0x387,_0x549d4a:0xb6,_0x461700:0x19f,_0x2ee600:0x293,_0x39c165:0x5c5,_0x2946d7:0x433},_0x2723d0={_0x20b3de:0x79,_0x3575e8:0xf5},_0x40808b={_0x4544a8:0x56,_0x1fed40:0x63d};function _0x522740(_0x1237b0,_0x4b3022,_0x3e3886,_0x21369b){return _0x515b8f(_0x1237b0-0x115,_0x4b3022-_0x40808b._0x4544a8,_0x1237b0,_0x4b3022- -_0x40808b._0x1fed40);}const _0x1cb3d4=[...this['entries'][_0x522740(_0x3b5f68._0x528d9a,_0x3b5f68._0x2bc042,0x16c,_0x3b5f68._0x7d123f)]()][_0x33c66b(_0x3b5f68._0x2ef654,0x379,0x36f,0x430)](_0x3bf381=>!_0x3bf381[_0x33c66b(0x597,0x3bd,0x53c,0x41d)]);function _0x33c66b(_0x20a64c,_0x129e08,_0x3b33ed,_0x2c8bfa){return _0x515b8f(_0x20a64c-_0x2723d0._0x20b3de,_0x129e08-0x63,_0x20a64c,_0x2c8bfa- -_0x2723d0._0x3575e8);}if(_0x1cb3d4[_0x522740(_0x3b5f68._0x36454f,-_0x3b5f68._0x1041f9,-0x6a,0x3f)]+this[_0x522740(-_0x3b5f68._0x12a993,-_0x3b5f68._0x5dd747,-_0x3b5f68._0x39304c,-_0x3b5f68._0x73905d)][_0x33c66b(_0x3b5f68._0x40c23e,0x6e6,0x774,_0x3b5f68._0x4e8698)]>=this['maxConcurrent'])throw new ToolExecutionError(_0x522740(0x4c,0x98,_0x3b5f68._0x563e56,_0x3b5f68._0x232b3b)+this[_0x522740(-_0x3b5f68._0x4e0270,-_0x3b5f68._0x1ec173,-_0x3b5f68._0x1afd67,-0x2ef)]+_0x522740(_0x3b5f68._0x59f50f,_0x3b5f68._0x4a825a,-_0x3b5f68._0xde095c,_0x3b5f68._0x778464),{'running':this[_0x33c66b(0x34f,0x279,_0x3b5f68._0x5135a6,0x3d0)]});const _0x3d0145=Object[_0x522740(-0x315,-0x157,-0x23a,-_0x3b5f68._0x549d4a)]({'id':randomUUID()});return this[_0x522740(-_0x3b5f68._0x461700,-_0x3b5f68._0x5dd747,-_0x3b5f68._0x2ee600,-0x52)][_0x33c66b(0x57c,_0x3b5f68._0x39c165,0x409,_0x3b5f68._0x2946d7)](_0x3d0145['id'],_0x3d0145),_0x3d0145;}[_0x515b8f(0x752,0x5ca,0x59c,0x5d4)](_0x558915){const _0x552a1d={_0x2a575c:0xb5,_0x52ef82:0x95,_0x50a8f4:0x210,_0x49de80:0x1e8,_0xd1803f:0x145,_0x270e8b:0x112,_0x421aac:0x135,_0x1e4adb:0x4c},_0x17945d={_0x5a3656:0x1eb,_0x3eff0b:0x515},_0x2f8206={_0x5209f4:0xab,_0x12fc43:0x1ca,_0x53d514:0x51};function _0x3d4b10(_0x63db9d,_0x28ddf3,_0x3ade7a,_0x3998ba){return _0x1c3a85(_0x63db9d-_0x2f8206._0x5209f4,_0x28ddf3,_0x3ade7a-_0x2f8206._0x12fc43,_0x3ade7a-_0x2f8206._0x53d514);}function _0x48756f(_0xfaeb4e,_0xb08e07,_0x386868,_0x583db9){return _0x515b8f(_0xfaeb4e-0x5b,_0xb08e07-_0x17945d._0x5a3656,_0xb08e07,_0x386868- -_0x17945d._0x3eff0b);}this[_0x48756f(-_0x552a1d._0x2a575c,0x11b,-_0x552a1d._0x52ef82,-_0x552a1d._0x50a8f4)][_0x3d4b10(_0x552a1d._0x49de80,_0x552a1d._0xd1803f,0xc0,-0x101)](_0x558915['id'])===_0x558915&&this[_0x48756f(0x68,-_0x552a1d._0x270e8b,-0x95,-_0x552a1d._0x421aac)][_0x3d4b10(0x23,_0x552a1d._0x1e4adb,0x162,0x29d)](_0x558915['id']);}[_0x515b8f(0x70a,0x70a,0x588,0x6e4)](_0x40da00,_0x4d93f4){const _0x2c2c0e={_0x2c8007:0x220,_0x40aed3:0x196,_0x3a8891:0xae,_0x2da1c5:0x11a,_0x20077a:0x1b9,_0x2c5e23:0xb1,_0x2db096:0x3ab,_0x2938b5:0x1d9,_0x19b52a:0x238,_0x1af717:0x1e1,_0x57f153:0x360,_0x29afab:0x31c,_0x89a50a:0x28e,_0x17fe42:0x344,_0x5b2455:0x444,_0x40662e:0x47b,_0x8135c4:0x306,_0x546970:0x221,_0x4515e4:0x221,_0x3288c1:0x3b4,_0x5a144e:0x522,_0x57d58a:0x2c9,_0x282a70:0x309,_0x47641f:0x2df,_0x2b4bce:0x1b1,_0x28ba62:0x4e0,_0x2fe935:0x395,_0x1ffdae:0x2bb,_0x1058aa:0x270,_0x734364:0xcc,_0x4a666d:0x282,_0x51a9f3:0x17c,_0x249bc6:0x164,_0x27f10b:0x198,_0x43f2eb:0x13b,_0xc039a:0x25d,_0x3509f0:0xd6,_0x47e922:0xce,_0x5d9a24:0x173,_0x56ef25:0x242,_0x4e0614:0x214,_0x2c21dc:0x168,_0x2a5ff3:0x3fc,_0x1604e2:0x2b0,_0x864631:0x273},_0x19c84f={_0x446765:0x4c8,_0x39c168:0x285,_0x46dd8f:0x124,_0x344458:0x3bb,_0x35a9e1:0x457,_0x1a8c70:0x3d8,_0x5c263d:0x64f,_0x1d4caa:0x50b,_0x2cd2e5:0x131,_0x56e955:0x134,_0x3885ae:0xd2,_0x92fd4b:0x126,_0x1857c7:0x530},_0x48b2af={_0x3bd340:0x12,_0x2ef7f5:0xe3},_0x485ecf={_0x146134:0x567,_0x5a9543:0x598,_0x30a8a9:0x16,_0x30f644:0xb1,_0x83e041:0x1,_0xa3b080:0x169,_0x53c40d:0x25,_0x4ec3ca:0xd7,_0x34a949:0x1d5,_0x41f939:0x130},_0x2827f3={_0x4b44dc:0x576,_0x4bc0b1:0x50d,_0x53baae:0x67e,_0x5c6095:0x499,_0x6a8414:0x251,_0x2cade1:0x6af,_0x9781df:0x461,_0x32adcb:0x56a},_0x54328e={_0x42c264:0x6f,_0xcadb7:0xee,_0x3bba6a:0xad},_0xf89bd7={_0x1ce023:0xea,_0x4e058f:0x14d,_0x3bb1ee:0xf9,_0x4599e4:0xc2},_0x4c37d0={_0x1833ca:0x29b,_0x59c761:0x150,_0x5afcfb:0x18},_0x179cc2={_0x22e571:0x225},_0x40652f={_0x41602c:0x10b},_0x1ef009={_0x24f5da:0x11b,_0x5afc94:0x19f};function _0x58930b(_0x420fd9,_0x206087,_0x154049,_0xe7b2c4){return _0x1c3a85(_0x420fd9-0x24,_0x420fd9,_0x154049-_0x1ef009._0x24f5da,_0x206087-_0x1ef009._0x5afc94);}if(this[_0x58930b(_0x2c2c0e._0x2c8007,_0x2c2c0e._0x40aed3,0xb8,_0x2c2c0e._0x3a8891)]['get'](_0x40da00['id'])!==_0x40da00)throw new ToolExecutionError('Background\x20process\x20reservation\x20is\x20missing\x20or\x20already\x20consumed',{'reservationId':_0x40da00['id']});this[_0x1b6743(_0x2c2c0e._0x2da1c5,_0x2c2c0e._0x20077a,0x121,0x147)]['delete'](_0x40da00['id']);let _0x1aac44;const _0x32b86a=new Promise(_0x201f26=>{_0x1aac44=_0x201f26;}),_0x19a1a7=_0x1b6743(0xba,-_0x2c2c0e._0x2c5e23,0xcc,0x191)+ ++this[_0x1b6743(0x11d,_0x2c2c0e._0x2db096,0x219,0x317)]+'-'+randomUUID()[_0x1b6743(_0x2c2c0e._0x2938b5,0xcf,0x1d0,0x291)](0x0,0x8);function _0x1b6743(_0x2894de,_0xe861ae,_0x54a694,_0xf477a2){return _0x515b8f(_0x2894de-0x18f,_0xe861ae-_0x40652f._0x41602c,_0xe861ae,_0x54a694- -0x35f);}const _0xe0c77a={'shellId':_0x19a1a7,'command':_0x4d93f4[_0x1b6743(0xb6,_0x2c2c0e._0x19b52a,0x145,0x26e)],'cwd':_0x4d93f4['cwd'],'pid':_0x4d93f4[_0x58930b(_0x2c2c0e._0x1af717,_0x2c2c0e._0x57f153,0x4ed,0x519)][_0x58930b(_0x2c2c0e._0x29afab,0x414,_0x2c2c0e._0x89a50a,0x350)],'processGroupId':_0x4d93f4['processGroupId'],'status':_0x1b6743(0x451,_0x2c2c0e._0x17fe42,0x366,_0x2c2c0e._0x5b2455),'exitCode':null,'signal':null,'startedAt':Date['now'](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x4d93f4[_0x58930b(0x1d1,0x360,_0x2c2c0e._0x40662e,_0x2c2c0e._0x8135c4)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x58930b(0xa1,_0x2c2c0e._0x546970,0xa6,0x2e2)),'stderrDecoder':new StringDecoder(_0x58930b(0x2e1,_0x2c2c0e._0x4515e4,_0x2c2c0e._0x3288c1,0xcf)),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x4d93f4[_0x1b6743(0x355,_0x2c2c0e._0x5a144e,0x37e,0x456)],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x32b86a,'resolveTerminal':_0x1aac44,'terminationSettled':![]};this['entries'][_0x1b6743(_0x2c2c0e._0x57d58a,_0x2c2c0e._0x282a70,0x1c9,_0x2c2c0e._0x47641f)](_0x19a1a7,_0xe0c77a);try{_0x4d93f4[_0x58930b(_0x2c2c0e._0x2b4bce,0x360,_0x2c2c0e._0x28ba62,_0x2c2c0e._0x2fe935)][_0x58930b(_0x2c2c0e._0x1ffdae,0x3a4,0x241,0x4d2)]?.['on'](_0x1b6743(_0x2c2c0e._0x1058aa,_0x2c2c0e._0x734364,_0x2c2c0e._0x4a666d,_0x2c2c0e._0x51a9f3),_0x324ced=>{const _0x4dd1d7={_0x2bb115:0x223,_0x4fb716:0xf2,_0x5dbf35:0x6b};function _0x591e9e(_0x3be368,_0x24eb1d,_0x40c31c,_0x5a9b8b){return _0x58930b(_0x24eb1d,_0x40c31c- -_0x4dd1d7._0x2bb115,_0x40c31c-_0x4dd1d7._0x4fb716,_0x5a9b8b-_0x4dd1d7._0x5dbf35);}this['appendDecoded'](_0xe0c77a,_0xe0c77a[_0x591e9e(-_0x179cc2._0x22e571,-0x24d,-0x10a,-0x2c3)],_0xe0c77a['stdoutNormalizer'],_0x324ced);}),_0x4d93f4[_0x58930b(0x263,0x360,0x37e,0x3b0)][_0x1b6743(0x7e,_0x2c2c0e._0x249bc6,_0x2c2c0e._0x27f10b,_0x2c2c0e._0x43f2eb)]?.['on']('data',_0x1e3000=>{const _0x20f3e6={_0x3d4aff:0x11a,_0x412f84:0x1d2,_0x435994:0x1bc};function _0x2c3905(_0x43d893,_0x4293e5,_0x8875e,_0xd18a3d){return _0x58930b(_0x43d893,_0xd18a3d- -_0x4c37d0._0x1833ca,_0x8875e-_0x4c37d0._0x59c761,_0xd18a3d-_0x4c37d0._0x5afcfb);}function _0x32856f(_0x36a0e3,_0x59825a,_0x3ec042,_0xc6c0af){return _0x58930b(_0x36a0e3,_0x3ec042- -_0x20f3e6._0x3d4aff,_0x3ec042-_0x20f3e6._0x412f84,_0xc6c0af-_0x20f3e6._0x435994);}this[_0x32856f(0x28b,0x27e,_0xf89bd7._0x1ce023,0x1b6)](_0xe0c77a,_0xe0c77a[_0x2c3905(-_0xf89bd7._0x4e058f,_0xf89bd7._0x3bb1ee,-_0xf89bd7._0x4599e4,-0x40)],_0xe0c77a['stderrNormalizer'],_0x1e3000);}),_0x4d93f4[_0x58930b(0x4f6,0x360,_0x2c2c0e._0xc039a,_0x2c2c0e._0x1af717)][_0x58930b(0x3c6,0x214,_0x2c2c0e._0x3509f0,0x272)]('exit',(_0x56b456,_0x2eafcf)=>{const _0x3c5cdd={_0xb571f8:0x18d};_0xe0c77a[_0x60ef74(_0x2827f3._0x4b44dc,0x3a1,_0x2827f3._0x4bc0b1,_0x2827f3._0x53baae)]=!![],_0xe0c77a[_0xe4f868(0x38c,0x3d7,_0x2827f3._0x5c6095,_0x2827f3._0x6a8414)]=_0x56b456;function _0x60ef74(_0xdbc27d,_0x406e0b,_0x190d32,_0x4249eb){return _0x58930b(_0x4249eb,_0x190d32-_0x3c5cdd._0xb571f8,_0x190d32-0x10e,_0x4249eb-0x22);}function _0xe4f868(_0x2ee675,_0x163645,_0x3d2d1e,_0x40c044){return _0x58930b(_0x40c044,_0x2ee675-_0x54328e._0x42c264,_0x3d2d1e-_0x54328e._0xcadb7,_0x40c044-_0x54328e._0x3bba6a);}_0xe0c77a[_0x60ef74(_0x2827f3._0x2cade1,_0x2827f3._0x9781df,_0x2827f3._0x32adcb,0x3c9)]=_0x2eafcf;}),_0x4d93f4['child'][_0x1b6743(0x10c,_0x2c2c0e._0x47e922,0x19f,_0x2c2c0e._0x5d9a24)]('error',_0x4b1f23=>{const _0x31c7ba={_0x59ae62:0x1b8},_0x5a1da9={_0x16f8d2:0x31,_0x408272:0x2a7};function _0x3f37ca(_0xbb7c7a,_0x13b013,_0x1ec1fe,_0x1451a6){return _0x1b6743(_0xbb7c7a-_0x5a1da9._0x16f8d2,_0xbb7c7a,_0x1ec1fe-_0x5a1da9._0x408272,_0x1451a6-0x118);}_0xe0c77a[_0x3f37ca(_0x485ecf._0x146134,0x57d,0x462,_0x485ecf._0x5a9543)]=_0x4b1f23[_0x43dffa(_0x485ecf._0x30a8a9,-_0x485ecf._0x30f644,-_0x485ecf._0x83e041,-_0x485ecf._0xa3b080)];function _0x43dffa(_0x227a39,_0x17433c,_0x2106a0,_0x3eea2e){return _0x58930b(_0x3eea2e,_0x227a39- -_0x31c7ba._0x59ae62,_0x2106a0-0x22,_0x3eea2e-0x16);}_0xe0c77a[_0x43dffa(-_0x485ecf._0x53c40d,_0x485ecf._0x4ec3ca,-_0x485ecf._0x34a949,_0x485ecf._0x41f939)]='error';}),_0x4d93f4['child'][_0x58930b(_0x2c2c0e._0x56ef25,_0x2c2c0e._0x4e0614,0x2ad,_0x2c2c0e._0x2c21dc)]('close',(_0x252904,_0x1c1e5b)=>{const _0x14132a={_0x518e31:0x1ab,_0x4941d3:0x139};_0xe0c77a[_0x43c4b5(0x344,0x4f2,0x31d,_0x19c84f._0x446765)]=_0x252904;function _0x43c4b5(_0x3b7c97,_0x374341,_0x2844d2,_0x34c54f){return _0x58930b(_0x2844d2,_0x34c54f-_0x14132a._0x518e31,_0x2844d2-_0x14132a._0x4941d3,_0x34c54f-0x11a);}_0xe0c77a[_0xd2c290(_0x19c84f._0x39c168,_0x19c84f._0x46dd8f,0x399,_0x19c84f._0x344458)]=_0x1c1e5b,_0xe0c77a[_0x43c4b5(_0x19c84f._0x35a9e1,_0x19c84f._0x1a8c70,_0x19c84f._0x5c263d,_0x19c84f._0x1d4caa)]=null;function _0xd2c290(_0x54ee64,_0x2b22b6,_0x1d8ed2,_0xe2e76d){return _0x1b6743(_0x54ee64-_0x48b2af._0x3bd340,_0xe2e76d,_0x54ee64- -_0x48b2af._0x2ef7f5,_0xe2e76d-0xfe);}_0xe0c77a[_0x43c4b5(0x29a,0x2ab,0x2ec,0x33e)]!=='error'&&(_0xe0c77a[_0xd2c290(0x3b,-_0x19c84f._0x2cd2e5,0x1b3,_0x19c84f._0x56e955)]=_0xe0c77a[_0xd2c290(-0x7d,-_0x19c84f._0x3885ae,_0x19c84f._0x92fd4b,-0x233)]?_0x43c4b5(0x66d,0x312,_0x19c84f._0x1857c7,0x4ac):_0x43c4b5(0x3f9,0x335,0x461,0x441)),this['settleTerminal'](_0xe0c77a);});}catch(_0x167937){this[_0x58930b(_0x2c2c0e._0x2a5ff3,0x25f,0x10b,0x27d)][_0x58930b(0x136,_0x2c2c0e._0x1604e2,_0x2c2c0e._0x864631,0x36d)](_0x19a1a7);throw _0x167937;}return this['evictIfNeeded'](),_0xe0c77a;}[_0x515b8f(0x55e,0x4fd,0x496,0x4a6)](_0x1af9b1){const _0x35d0ac={_0xc46821:0x14b,_0x56357e:0x584,_0x24eaa2:0x57c,_0x4a1834:0x35c,_0x564bc9:0x20d,_0x509b1e:0x52f,_0x88ff30:0x615,_0x3808ce:0x5f9,_0x24b06f:0x474,_0x337928:0x4c1},_0x106004={_0x548ea6:0x164,_0x3ed555:0x1a1},_0x1e7e63={_0x54fc22:0x329};function _0x37b433(_0x44c637,_0x3e25b0,_0xba1d78,_0x21fb85){return _0x1c3a85(_0x44c637-0x51,_0x21fb85,_0xba1d78-0xa,_0xba1d78-_0x1e7e63._0x54fc22);}const _0x34011f=this[_0x3c50ba(0x236,0x12b,0x1f6,_0x35d0ac._0xc46821)]();function _0x3c50ba(_0x5cfafa,_0x543f44,_0x23d9da,_0x1fd69e){return _0x515b8f(_0x5cfafa-_0x106004._0x548ea6,_0x543f44-_0x106004._0x3ed555,_0x5cfafa,_0x1fd69e- -0x3d0);}try{return this[_0x37b433(0x70f,0x56f,_0x35d0ac._0x56357e,_0x35d0ac._0x24eaa2)](_0x34011f,{..._0x1af9b1,...this[_0x3c50ba(_0x35d0ac._0x4a1834,0x284,_0x35d0ac._0x564bc9,0x238)]==='win32'?{}:{'processGroupId':_0x1af9b1['child'][_0x37b433(_0x35d0ac._0x509b1e,_0x35d0ac._0x88ff30,0x59e,_0x35d0ac._0x3808ce)]}});}catch(_0x5dbb7a){this[_0x37b433(0x3ae,0x439,_0x35d0ac._0x24b06f,_0x35d0ac._0x337928)](_0x34011f);throw _0x5dbb7a;}}['read'](_0x112429,_0x535cb0){const _0x4d898c={_0x39762a:0xb6,_0x5949db:0xf5,_0x2bd44b:0x1e3,_0xdf2a38:0x242,_0x2fddf2:0x104,_0x5e2c77:0x48,_0x552ef6:0x123,_0x4980af:0x405,_0x168c4c:0x335,_0x3811b2:0x267,_0x238d5c:0x64f,_0x294406:0x17c,_0x2fea19:0x139,_0x5d26e4:0x115,_0xcc8d7f:0x56,_0x27f9ed:0xd9,_0x42669c:0x27a,_0x30c829:0x51c,_0xc3740d:0xcf,_0x223f85:0x6b,_0x17f816:0xb1,_0x439ac:0x8a,_0x207b79:0x188,_0x3b6e96:0x358,_0x16ce01:0x397,_0x6e08d6:0x2c6,_0x506a9d:0x140,_0x185976:0x2c2,_0x5719d0:0x214,_0x4ab10c:0x27f,_0x34b113:0x25d,_0xecfbae:0x173,_0xde98ce:0x22d,_0x2af1a0:0x4b6,_0x37d44c:0x39,_0x2d42ff:0xd6,_0xb0ef78:0xe8,_0x2b6a4d:0x469,_0x533cd4:0x298,_0x59f55f:0x446,_0x6117e1:0x51c,_0x5706a7:0x3c7,_0x2915ea:0x110,_0x49ee72:0x4c,_0xc0ab5e:0x183,_0x4198ed:0x1b8,_0x44516b:0x377,_0x13f870:0x8,_0x58e353:0xc6,_0xbfdd67:0x1f4,_0x4125f5:0xc8,_0x45e844:0xb1,_0x46c9e3:0x266,_0x52c547:0x362},_0x4cdc3a={_0x3ab710:0x167,_0xf91c3a:0x2d1},_0xaf5247={_0x5b0a15:0x1f3,_0x33dc80:0x176};function _0x12b375(_0x351c97,_0x44f9de,_0x1497b6,_0x8331c){return _0x1c3a85(_0x351c97-_0xaf5247._0x5b0a15,_0x1497b6,_0x1497b6-0x6a,_0x44f9de- -_0xaf5247._0x33dc80);}const _0x26ebf5=this[_0x12b375(-0x1bb,-_0x4d898c._0x39762a,-_0x4d898c._0x5949db,-0x70)][_0x3e26ef(0x340,_0x4d898c._0x2bd44b,_0x4d898c._0xdf2a38,0x4a7)](_0x112429);if(!_0x26ebf5)throw new ToolExecutionError(_0x12b375(-_0x4d898c._0x2fddf2,-_0x4d898c._0x5e2c77,-_0x4d898c._0x552ef6,0x9e)+_0x112429,{'shellId':_0x112429});function _0x3e26ef(_0x11f2c2,_0x2f667f,_0x355858,_0x442d9a){return _0x1c3a85(_0x11f2c2-0x18c,_0x355858,_0x355858-_0x4cdc3a._0x3ab710,_0x11f2c2-_0x4cdc3a._0xf91c3a);}const _0x19a081=_0x26ebf5['buffer'][_0x3e26ef(_0x4d898c._0x4980af,_0x4d898c._0x168c4c,0x2f0,_0x4d898c._0x3811b2)](''),_0x1bd0b0=Math['max'](_0x26ebf5[_0x3e26ef(0x51c,0x44a,_0x4d898c._0x238d5c,0x3df)],_0x26ebf5[_0x12b375(-0x2bf,-_0x4d898c._0x294406,-_0x4d898c._0x2fea19,-0x170)]),_0x16220a=Math[_0x12b375(0x5f,0xf,0x1b4,-_0x4d898c._0x5d26e4)](0x0,_0x26ebf5[_0x12b375(-_0x4d898c._0xcc8d7f,-0x17c,-_0x4d898c._0x27f9ed,-_0x4d898c._0x42669c)]-_0x26ebf5[_0x3e26ef(_0x4d898c._0x30c829,0x689,0x6a6,0x362)]),_0x36cff1=_0x19a081[_0x12b375(_0x4d898c._0xc3740d,-0xd0,_0x4d898c._0x223f85,_0x4d898c._0x17f816)](_0x1bd0b0-_0x26ebf5[_0x12b375(0x2c,-0x17c,-_0x4d898c._0x439ac,-_0x4d898c._0x207b79)]);let _0x561065;const _0x4bd194=_0x535cb0?.[_0x3e26ef(_0x4d898c._0x3b6e96,_0x4d898c._0x16ce01,0x4e1,_0x4d898c._0x6e08d6)];if(!_0x4bd194)_0x561065=_0x36cff1,_0x26ebf5[_0x12b375(0x54,0xd5,_0x4d898c._0x506a9d,-0x2f)]=_0x26ebf5[_0x3e26ef(0x2a7,_0x4d898c._0x185976,0x3ea,0x431)];else{let _0x2a3548;try{_0x2a3548=new RegExp(_0x4bd194);}catch(_0x3b179a){throw new ToolExecutionError(_0x3e26ef(_0x4d898c._0x5719d0,0x18e,0x355,0xc4)+(_0x3b179a instanceof Error?_0x3b179a[_0x3e26ef(0x300,_0x4d898c._0x4ab10c,0x45b,_0x4d898c._0x34b113)]:String(_0x3b179a)),{'shellId':_0x112429,'regex':_0x4bd194});}let _0x21e3cc=_0x36cff1;if(!_0x26ebf5[_0x12b375(0x15,-0xed,-_0x4d898c._0xecfbae,-0x2a)]){const _0x57e6bb=_0x36cff1['lastIndexOf']('\x0a');_0x21e3cc=_0x57e6bb>=0x0?_0x36cff1[_0x3e26ef(0x377,_0x4d898c._0xde98ce,0x2b7,_0x4d898c._0x2af1a0)](0x0,_0x57e6bb+0x1):'';}_0x561065=_0x21e3cc[_0x12b375(0x177,_0x4d898c._0x37d44c,-_0x4d898c._0x2d42ff,-_0x4d898c._0xb0ef78)]('\x0a')[_0x3e26ef(0x36d,_0x4d898c._0x2b6a4d,0x30c,_0x4d898c._0x533cd4)](_0x3a8c1e=>_0x2a3548[_0x12b375(0xa5,-0xcc,-0xce,0x64)](_0x3a8c1e))[_0x3e26ef(0x405,0x30f,_0x4d898c._0x59f55f,0x5a7)]('\x0a'),_0x26ebf5[_0x3e26ef(_0x4d898c._0x6117e1,0x3ae,_0x4d898c._0x5706a7,0x60e)]=_0x1bd0b0+_0x21e3cc['length'];}return{'output':(_0x16220a>0x0?_0x12b375(-_0x4d898c._0x2915ea,-_0x4d898c._0x49ee72,0x153,-_0x4d898c._0xc0ab5e)+_0x16220a+_0x12b375(-0x4e,-_0x4d898c._0x4198ed,-0x2ad,-_0x4d898c._0x44516b):'')+_0x561065,'status':_0x26ebf5['status'],'exitCode':_0x26ebf5[_0x12b375(-0x50,_0x4d898c._0x13f870,_0x4d898c._0x58e353,-0x151)],'signal':_0x26ebf5[_0x12b375(_0x4d898c._0xbfdd67,_0x4d898c._0x4125f5,_0x4d898c._0x45e844,_0x4d898c._0x46c9e3)],'error':_0x26ebf5[_0x3e26ef(_0x4d898c._0x52c547,0x2d4,0x247,0x360)],'truncated':_0x16220a>0x0};}[_0x515b8f(0x712,0x69c,0x64b,0x6f1)](){const _0xc9fa5b={_0x5ac205:0x8,_0x387920:0xc6,_0x3971b4:0xe2},_0x255721={_0x2159a2:0x134,_0x3c830e:0x76};function _0x51dbea(_0x4d69a2,_0x5c4e05,_0x54ca6c,_0x29ffc3){return _0x1c3a85(_0x4d69a2-_0x255721._0x2159a2,_0x54ca6c,_0x54ca6c-0x1e8,_0x4d69a2- -_0x255721._0x3c830e);}return[...this[_0x51dbea(0x4a,-_0xc9fa5b._0x5ac205,_0xc9fa5b._0x387920,_0xc9fa5b._0x3971b4)]['values']()];}['kill'](_0x6c1d6c){const _0x270b6f={_0x2c5d81:0x2af,_0x1f77ba:0x4f9,_0x24a3f2:0x3ea,_0x3ce73b:0x45c,_0x3edcf5:0x3d4,_0x11bd54:0x2f9,_0x21631a:0x3d6,_0x3536d7:0x493,_0x53bd94:0x16b,_0xe7d4aa:0x272,_0x545072:0x6ae,_0x57d060:0x26,_0x138de8:0x172,_0x5530ed:0x1a4,_0x3054ed:0x359,_0x4de24b:0x395,_0x34558e:0x442,_0xf35d42:0xbb,_0x17cc36:0xf,_0x580792:0x4f7,_0x2347aa:0x359,_0xe14524:0x396,_0x23eac8:0x344,_0x937122:0x2c9,_0x57e92b:0x2bb,_0x5de66c:0x516,_0x10390b:0x57f,_0x58b4fc:0x331,_0x2bd1a9:0x281,_0x1b64c4:0x16b,_0x5162d9:0x2d2,_0x593685:0x4da,_0x15d7d3:0x5db},_0x712155={_0x201327:0x49},_0x4bec82={_0x5173c5:0x15a,_0x258418:0x124},_0xbf5f56={_0x340467:0x123},_0x124488=this[_0x120045(_0x270b6f._0x2c5d81,0x269,_0x270b6f._0x1f77ba,0x425)][_0x120045(_0x270b6f._0x24a3f2,0x374,_0x270b6f._0x3ce73b,_0x270b6f._0x3edcf5)](_0x6c1d6c);if(!_0x124488)throw new ToolExecutionError(_0x120045(_0x270b6f._0x11bd54,_0x270b6f._0x21631a,0x41c,_0x270b6f._0x3536d7)+_0x6c1d6c,{'shellId':_0x6c1d6c});if(_0x124488[_0x22f37b(_0x270b6f._0x53bd94,0x115,_0x270b6f._0xe7d4aa,0x2c2)]&&!_0x124488['terminationSettled'])return _0x124488[_0x120045(0x5c7,0x52f,_0x270b6f._0x545072,0x57f)];if(_0x124488[_0x22f37b(-_0x270b6f._0x57d060,_0x270b6f._0x138de8,0x156,-_0x270b6f._0x5530ed)]&&isTerminalStatus(_0x124488[_0x120045(0x304,0x448,0x308,_0x270b6f._0x3054ed)]))return Promise['resolve'](this['result'](_0x124488,_0x120045(0x490,0x386,_0x270b6f._0x4de24b,_0x270b6f._0x34558e)));if(_0x124488[_0x22f37b(-_0x270b6f._0xf35d42,_0x270b6f._0x17cc36,-0x3b,0x1b)]!=='error')_0x124488[_0x120045(_0x270b6f._0x580792,0x199,0x4f5,_0x270b6f._0x2347aa)]=_0x120045(_0x270b6f._0xe14524,_0x270b6f._0x23eac8,_0x270b6f._0x937122,_0x270b6f._0x57e92b);_0x124488['killRequested']=!![];function _0x22f37b(_0x5dc427,_0x592698,_0x17e5ed,_0x4bf583){return _0x515b8f(_0x5dc427-_0xbf5f56._0x340467,_0x592698-0x19,_0x592698,_0x5dc427- -0x538);}_0x124488[_0x120045(0x48d,_0x270b6f._0x580792,0x3ef,0x3a4)]=![];function _0x120045(_0x4e4b22,_0x1d2edd,_0x470cbc,_0x48ea3b){return _0x515b8f(_0x4e4b22-_0x4bec82._0x5173c5,_0x1d2edd-0x17e,_0x4e4b22,_0x48ea3b- -_0x4bec82._0x258418);}return _0x124488[_0x120045(0x6d5,0x70e,_0x270b6f._0x5de66c,_0x270b6f._0x10390b)]=this[_0x120045(0x394,0xda,_0x270b6f._0x58b4fc,_0x270b6f._0x2bd1a9)](_0x124488),void _0x124488[_0x22f37b(_0x270b6f._0x1b64c4,_0x270b6f._0x5162d9,0x171,0x2c4)][_0x120045(_0x270b6f._0x593685,0x5ae,_0x270b6f._0x15d7d3,0x449)](()=>{_0x124488['terminationSettled']=!![];},()=>{function _0x4e0527(_0x2b597a,_0x18655c,_0x1891ea,_0x488b52){return _0x120045(_0x1891ea,_0x18655c-0x38,_0x1891ea-0x84,_0x18655c- -0x394);}_0x124488[_0x4e0527(0xb5,0x10,0x10c,_0x712155._0x201327)]=!![];}),_0x124488[_0x22f37b(0x16b,0x2e5,0x2a8,0x8f)];}[_0x515b8f(0x75f,0x81f,0x5c0,0x6f6)](){const _0x18e362={_0x4b8f72:0xd,_0x38f0c7:0x170,_0x5a6aea:0x14a,_0xafe770:0x1e1,_0x3e3dbc:0x20f},_0x28229b={_0x43cf42:0x1c};function _0x1f6500(_0x3ef9c0,_0x53085b,_0x118521,_0xc36820){return _0x515b8f(_0x3ef9c0-0x1a9,_0x53085b-0x1b8,_0xc36820,_0x118521- -0x50d);}function _0x633223(_0x546ddd,_0x434dae,_0x35acfd,_0x25825f){return _0x1c3a85(_0x546ddd-0x14b,_0x35acfd,_0x35acfd-_0x28229b._0x43cf42,_0x434dae- -0x122);}return Promise['all']([...this[_0x633223(0xf0,-0x62,-0x13f,-_0x18e362._0x4b8f72)][_0x633223(_0x18e362._0x38f0c7,_0x18e362._0x5a6aea,_0x18e362._0xafe770,0x17c)]()][_0x1f6500(-0xc0,-_0x18e362._0x3e3dbc,-0x133,0x69)](_0x4b7f99=>this[_0x1f6500(-0xe2,-0xf1,-0xa4,0x7c)](_0x4b7f99['shellId'])));}async[_0x515b8f(0x6a5,0x532,0x481,0x53a)](){const _0x41f4fc={_0x2bd64e:0x40f,_0x101e31:0x2f0},_0x2ceacb={_0x2bf912:0x132,_0x161c77:0x4d6},_0xa16765={_0x4875ad:0x160},_0x5f0922=await this['closeAll']();if(_0x5f0922['some'](_0x2202ea=>_0x2202ea['outcome']===_0x19222e(0x510,0x528,0x3eb,0x5a7)))throw new BackgroundProcessCleanupError(_0x5f0922);function _0x2fc25e(_0x28fb2b,_0x246a15,_0x5f599a,_0x1292da){return _0x515b8f(_0x28fb2b-_0xa16765._0x4875ad,_0x246a15-0x1bd,_0x1292da,_0x28fb2b- -0x100);}this['entries'][_0x2fc25e(0x2c2,0x1f6,0x445,0x420)]();function _0x19222e(_0x3cd5de,_0x4ae788,_0x8abcc6,_0x2ec48d){return _0x1c3a85(_0x3cd5de-0x13e,_0x8abcc6,_0x8abcc6-_0x2ceacb._0x2bf912,_0x3cd5de-_0x2ceacb._0x161c77);}return this['reservations'][_0x19222e(_0x41f4fc._0x2bd64e,_0x41f4fc._0x101e31,0x490,0x282)](),_0x5f0922;}async[_0x515b8f(0x424,0x27a,0x2a2,0x3a5)](_0x2d921b){const _0x1a7dc0={_0x245643:0x3d2,_0x4d66f7:0x501,_0x5a6098:0x688,_0x3f82ad:0x77c,_0x20931a:0xfe,_0x17a524:0x8,_0x391c2b:0x10b,_0x14b360:0x4aa,_0x23a658:0x4c3,_0x593c8d:0x3cb,_0x3a9138:0x24b,_0x144ced:0x2bb,_0x21cadb:0x3be,_0x5c8078:0x271,_0x2a7b8f:0x18b,_0x35c66a:0x47c,_0x7da165:0x302,_0xcf9fc8:0x347,_0x240762:0x5a1,_0x49e245:0x3e7,_0x37d03b:0x236,_0x66fdee:0x3e1,_0x472015:0x1f9,_0x17541a:0x414,_0x195337:0x2d,_0x141c37:0x465,_0x519418:0x553,_0x2853e2:0x594,_0x3e8dee:0x21b,_0x1eb421:0x2f3,_0x1d2d22:0x3fa,_0x4f17c1:0x3da},_0x2bd27f={_0x5dcb3c:0x1d5},_0x43ae52={_0x3ec821:0x196,_0x207df2:0x5e};_0x2d921b[_0x5c7f44(0x434,0x3b1,_0x1a7dc0._0x245643,_0x1a7dc0._0x4d66f7)]=!![];const _0x27b12e=await this['signalAdapter'][_0x5c7f44(0x4f2,0x669,_0x1a7dc0._0x5a6098,_0x1a7dc0._0x3f82ad)]({'rootPid':_0x2d921b['pid'],'processGroupId':_0x2d921b[_0x20989a(_0x1a7dc0._0x20931a,_0x1a7dc0._0x17a524,0x49,_0x1a7dc0._0x391c2b)]},_0x5c7f44(0x444,0x40f,0x49e,_0x1a7dc0._0x14b360));if(_0x27b12e[_0x5c7f44(_0x1a7dc0._0x23a658,_0x1a7dc0._0x593c8d,_0x1a7dc0._0x3a9138,0x3cb)]==='failed')return this['failed'](_0x2d921b,_0x27b12e[_0x20989a(0x28,0xa3,0x11e,-0x9d)]);if(await this['waitForTerminal'](_0x2d921b,TERMINATION_WINDOW_MS))return this['confirmed'](_0x2d921b);_0x2d921b['forceRequested']=!![];function _0x5c7f44(_0x16bc10,_0x7d7acf,_0x599f0f,_0x1c21a8){return _0x515b8f(_0x16bc10-_0x43ae52._0x3ec821,_0x7d7acf-0x18d,_0x599f0f,_0x7d7acf- -_0x43ae52._0x207df2);}const _0xf8d132=await this[_0x5c7f44(_0x1a7dc0._0x144ced,_0x1a7dc0._0x21cadb,_0x1a7dc0._0x5c8078,0x35f)]['signal']({'rootPid':_0x2d921b[_0x20989a(_0x1a7dc0._0x2a7b8f,_0x1a7dc0._0x35c66a,_0x1a7dc0._0x7da165,_0x1a7dc0._0xcf9fc8)],'processGroupId':_0x2d921b[_0x5c7f44(_0x1a7dc0._0x240762,_0x1a7dc0._0x49e245,_0x1a7dc0._0x37d03b,_0x1a7dc0._0x66fdee)]},_0x5c7f44(0x4b7,0x3ba,_0x1a7dc0._0x472015,_0x1a7dc0._0x17541a));function _0x20989a(_0x4e183e,_0x335169,_0x3f4c5b,_0x4b0648){return _0x1c3a85(_0x4e183e-_0x2bd27f._0x5dcb3c,_0x4e183e,_0x3f4c5b-0x170,_0x3f4c5b-0x8d);}if(_0xf8d132[_0x20989a(-0x15,-0x68,_0x1a7dc0._0x195337,-0xe3)]==='failed')return this[_0x5c7f44(0x4b7,_0x1a7dc0._0x141c37,_0x1a7dc0._0x519418,_0x1a7dc0._0x2853e2)](_0x2d921b,_0xf8d132[_0x20989a(0x140,_0x1a7dc0._0x3e8dee,0x11e,0x108)]);if(await this['waitForTerminal'](_0x2d921b,TERMINATION_WINDOW_MS))return this[_0x5c7f44(_0x1a7dc0._0x1eb421,0x3bc,_0x1a7dc0._0x1d2d22,0x2bc)](_0x2d921b);return this[_0x5c7f44(_0x1a7dc0._0x4f17c1,_0x1a7dc0._0x141c37,0x4df,0x2f0)](_0x2d921b,'Background\x20process\x20termination\x20timed\x20out\x20after\x204000ms');}[_0x515b8f(0x35e,0x532,0x2c7,0x41a)](_0x1e91c1){const _0x44c7f9={_0x103dff:0xa3,_0x5648e4:0xfa,_0x498c7a:0xd,_0x277f71:0xb,_0x85ff10:0x23c,_0x4a8b7b:0x12b,_0x1f89e6:0x2f0,_0x23aa55:0x4d1},_0x3423dd={_0x13dc30:0x19,_0x5de8c6:0x69};function _0x205675(_0x29e136,_0x56d937,_0x51811f,_0xfd9167){return _0x1c3a85(_0x29e136-0x1a2,_0x51811f,_0x51811f-_0x3423dd._0x13dc30,_0x56d937-_0x3423dd._0x5de8c6);}function _0x3d82b9(_0x3a987b,_0x1a9e9b,_0x4a557b,_0x4bcd7d){return _0x1c3a85(_0x3a987b-0x145,_0x4a557b,_0x4a557b-0x29,_0x3a987b-0x36f);}return _0x1e91c1['status']==='error'?this[_0x205675(0xfb,_0x44c7f9._0x103dff,0x9c,0xff)](_0x1e91c1,_0x1e91c1[_0x205675(0xb3,_0x44c7f9._0x5648e4,_0x44c7f9._0x498c7a,-_0x44c7f9._0x277f71)]??_0x205675(_0x44c7f9._0x85ff10,0x21e,_0x44c7f9._0x4a8b7b,_0x44c7f9._0x1f89e6)):this['result'](_0x1e91c1,_0x3d82b9(_0x44c7f9._0x23aa55,0x38f,0x4e6,0x43a));}[_0x1c3a85(0xf7,-0xf5,-0x167,0x3a)](_0x5c9d69,_0x5d3a97){const _0x4eed24={_0x1b32f8:0x128,_0x17672b:0x51,_0x2df60e:0x1d1,_0x3a975b:0x1f2,_0x5e1ce9:0x294,_0x19e174:0x2a3},_0x4b597d={_0x36e27e:0x98,_0x3dfcc6:0x220},_0x25ae42={_0x536d5b:0xa4};_0x5c9d69[_0x47a652(-0x95,_0x4eed24._0x1b32f8,0x231,-_0x4eed24._0x17672b)]=_0x5d3a97;function _0x47a652(_0x1d9cde,_0x167a84,_0x46becd,_0x12a84e){return _0x1c3a85(_0x1d9cde-_0x25ae42._0x536d5b,_0x1d9cde,_0x46becd-0x39,_0x167a84-0x97);}function _0x10fc1d(_0xd209e5,_0x1ea3f3,_0xd74931,_0x36a3cc){return _0x515b8f(_0xd209e5-_0x4b597d._0x36e27e,_0x1ea3f3-0x16,_0xd74931,_0x36a3cc- -_0x4b597d._0x3dfcc6);}return this[_0x47a652(0x356,_0x4eed24._0x2df60e,0x23e,_0x4eed24._0x3a975b)](_0x5c9d69,_0x10fc1d(_0x4eed24._0x5e1ce9,0x16a,0x22e,_0x4eed24._0x19e174));}['result'](_0x28c189,_0x289eae){const _0x25baca={_0x194acc:0x514,_0x392a00:0x466,_0x460889:0x654,_0x210bfd:0x18d,_0x314a63:0x167,_0xceafc8:0x245,_0xf51c6e:0x3ae,_0x34c367:0xae,_0x21cf99:0x7,_0x3f97b4:0x100,_0x33b2e6:0x111},_0xb6e0d0={_0x4b0a47:0x3a9},_0x374584={_0x58d868:0x40,_0x73ceea:0x13};function _0xc63c08(_0x21578e,_0x275b7e,_0xc94204,_0x56644a){return _0x1c3a85(_0x21578e-_0x374584._0x58d868,_0x56644a,_0xc94204-_0x374584._0x73ceea,_0x21578e-0x73);}function _0x121e78(_0x140783,_0x157f9e,_0x221ffd,_0x2c9ff6){return _0x1c3a85(_0x140783-0xc1,_0x221ffd,_0x221ffd-0x16,_0x157f9e-_0xb6e0d0._0x4b0a47);}return{'shellId':_0x28c189[_0x121e78(_0x25baca._0x194acc,0x5ce,_0x25baca._0x392a00,_0x25baca._0x460889)],'outcome':_0x289eae,'status':_0x28c189[_0xc63c08(0x67,_0x25baca._0x210bfd,_0x25baca._0x314a63,-0x3f)],'exitCode':_0x28c189['exitCode'],'signal':_0x28c189[_0xc63c08(0x2b1,0x2a1,_0x25baca._0xceafc8,_0x25baca._0xf51c6e)],'error':_0x28c189[_0xc63c08(0x104,-_0x25baca._0x34c367,0x184,0x1e1)],'gracefulRequested':_0x28c189[_0xc63c08(-_0x25baca._0x21cf99,-_0x25baca._0x3f97b4,-0x74,_0x25baca._0x33b2e6)],'forceRequested':_0x28c189['forceRequested']};}[_0x1c3a85(0xe7,-0x16e,-0xc6,-0x40)](_0x176866,_0xb384ac){const _0x1cfa76={_0x2b98d7:0x3d0,_0x354a6f:0x3fb,_0x751176:0x58b,_0x5644bd:0x4fb,_0x2b7663:0x441};if(_0x176866['terminalSettled'])return Promise['resolve'](!![]);return new Promise(_0x148a03=>{let _0x36f3db=![];function _0x421c1a(_0x48f3f7,_0x17f584,_0x287d46,_0x39b25e){return _0x2a2f(_0x39b25e-0x1fb,_0x17f584);}function _0x1ae222(_0x9cd581,_0x1bd7fe,_0x53ec1a,_0x1fc220){return _0x2a2f(_0x1bd7fe- -0xaa,_0x1fc220);}const _0x2d6e31=setTimeout(()=>{if(_0x36f3db)return;_0x36f3db=!![],_0x148a03(![]);},_0xb384ac);void _0x176866[_0x421c1a(_0x1cfa76._0x2b98d7,_0x1cfa76._0x354a6f,_0x1cfa76._0x751176,0x3d4)][_0x421c1a(_0x1cfa76._0x5644bd,0x3e2,0x2f1,_0x1cfa76._0x2b7663)](()=>{if(_0x36f3db)return;_0x36f3db=!![],clearTimeout(_0x2d6e31),_0x148a03(!![]);});});}[_0x515b8f(0x444,0x423,0x363,0x4ee)](_0x4d7371,_0x4ee106,_0x35c490,_0x4e16df){const _0x58eee8={_0x23b706:0x8f,_0x470a90:0xac,_0x4cdb56:0xc,_0x5c0df2:0x3,_0xbd76f9:0x240,_0x34319b:0x8e,_0x35820e:0xe2,_0xd380be:0xff},_0x685585={_0x1d3677:0x18c,_0x6160ef:0x49d};function _0x17d112(_0x49a121,_0x564101,_0x3690ee,_0x242ee9){return _0x515b8f(_0x49a121-0x197,_0x564101-0x1b0,_0x3690ee,_0x242ee9- -0x39b);}const _0x282959=_0x4ee106[_0x17d112(-0x126,0xea,0x222,0x6a)](_0x4e16df);function _0x3349ae(_0x57b9df,_0x17bc0f,_0x44324d,_0x1836e9){return _0x515b8f(_0x57b9df-_0x685585._0x1d3677,_0x17bc0f-0x6,_0x44324d,_0x17bc0f- -_0x685585._0x6160ef);}this[_0x3349ae(-_0x58eee8._0x23b706,-_0x58eee8._0x470a90,_0x58eee8._0x4cdb56,-_0x58eee8._0x5c0df2)](_0x4d7371,_0x4d7371[_0x3349ae(0x19f,_0x58eee8._0xbd76f9,0x126,0x1f6)]?_0x35c490[_0x3349ae(_0x58eee8._0x34319b,-0x98,-_0x58eee8._0x35820e,_0x58eee8._0xd380be)](_0x282959):_0x282959);}[_0x1c3a85(0x80,0x143,-0x95,-0x1)](_0x3b5aea){const _0x199b8e={_0x58ef58:0x3eb,_0x4ddc55:0x31a,_0x26659b:0x241,_0xb30d8f:0x332,_0x3baee7:0x390},_0x2a94c0={_0x3c5f43:0x53},_0x2a3435={_0x31f7c6:0x9b};function _0x3aa484(_0x58dc57,_0x38c515,_0x2d154a,_0xcfadf7){return _0x515b8f(_0x58dc57-0xfc,_0x38c515-_0x2a3435._0x31f7c6,_0x2d154a,_0xcfadf7- -0x1e0);}this[_0x3aa484(_0x199b8e._0x58ef58,0x5a1,_0x199b8e._0x4ddc55,0x3e8)](_0x3b5aea);!_0x3b5aea[_0x3aa484(_0x199b8e._0x26659b,0x38c,0x37c,_0x199b8e._0xb30d8f)]&&(_0x3b5aea['terminalSettled']=!![],_0x3b5aea[_0x3aa484(0x2d4,0x53f,_0x199b8e._0x3baee7,0x47e)]());function _0xd4f5da(_0x3f6527,_0x586974,_0x5960a1,_0x4ddf3c){return _0x1c3a85(_0x3f6527-0x17b,_0x586974,_0x5960a1-0xc2,_0x3f6527-_0x2a94c0._0x3c5f43);}this['evictIfNeeded']();}['flushStreams'](_0x37be4d){const _0x297dba={_0x36690b:0xd1,_0x30e53a:0x18a,_0x2050f5:0x221,_0x5c5911:0x249,_0x42e53b:0x2f9,_0x166be7:0x12b,_0x5b8dcf:0x2f9,_0x863682:0x383,_0x8db320:0x204,_0xc3acae:0x23b,_0x1d240f:0x31a,_0x4e9c39:0x505,_0x4b9596:0x201,_0x56ac1c:0x208,_0x1195d8:0x6c,_0x566c72:0x55,_0x5e8893:0x9c,_0x244143:0x195,_0x26ad65:0x1fb,_0x3a212b:0x496,_0x3ae080:0x4bc,_0x4bdcbc:0x38b,_0x46a15a:0x2a0,_0x5aaa8e:0x32b,_0x4ef9bd:0x228,_0x4a29f9:0x1c7,_0x138e47:0x459,_0x43f8d3:0x2f9},_0x5ede12={_0x477a04:0x15f},_0x1bdfa3={_0x45f846:0x4a};if(_0x37be4d[_0xd4f3a9(0xc0,-0xe0,0x162,_0x297dba._0x36690b)])return;_0x37be4d[_0xd4f3a9(0x222,0xd5,_0x297dba._0x30e53a,_0x297dba._0x36690b)]=!![];function _0x251521(_0x498cab,_0x551329,_0xc48b11,_0x1e6d2b){return _0x1c3a85(_0x498cab-_0x1bdfa3._0x45f846,_0x1e6d2b,_0xc48b11-0xcc,_0x551329-0x29c);}function _0xd4f3a9(_0xd023e7,_0x16be91,_0x4d3f8,_0x569035){return _0x1c3a85(_0xd023e7-_0x5ede12._0x477a04,_0x4d3f8,_0x4d3f8-0x150,_0x569035-0xd9);}const _0x2e40=_0x37be4d['stdoutDecoder'][_0xd4f3a9(_0x297dba._0x2050f5,_0x297dba._0x5c5911,0x3c8,_0x297dba._0x42e53b)](),_0x28830c=_0x37be4d[_0xd4f3a9(0xaa,_0x297dba._0x166be7,0x10e,0x195)][_0xd4f3a9(0x326,0x4a9,0x34b,_0x297dba._0x5b8dcf)]();this[_0x251521(_0x297dba._0x863682,_0x297dba._0x8db320,_0x297dba._0xc3acae,_0x297dba._0x1d240f)](_0x37be4d,_0x37be4d[_0x251521(_0x297dba._0x4e9c39,0x4f0,0x501,0x4fe)]?_0x37be4d['stdoutNormalizer'][_0xd4f3a9(_0x297dba._0x4b9596,_0x297dba._0x56ac1c,-_0x297dba._0x1195d8,_0x297dba._0x566c72)](_0x2e40)+_0x37be4d[_0xd4f3a9(_0x297dba._0x5e8893,0x342,_0x297dba._0x244143,_0x297dba._0x26ad65)][_0x251521(_0x297dba._0x3a212b,_0x297dba._0x3ae080,_0x297dba._0x4bdcbc,0x641)]():_0x2e40),this['append'](_0x37be4d,_0x37be4d['stripAnsi']?_0x37be4d[_0x251521(0x1aa,_0x297dba._0x46a15a,0xef,0x2c2)][_0x251521(0x8b,0x218,0xf7,0xfc)](_0x28830c)+_0x37be4d[_0x251521(0x368,_0x297dba._0x46a15a,_0x297dba._0x5aaa8e,_0x297dba._0x4ef9bd)][_0xd4f3a9(_0x297dba._0x4a29f9,_0x297dba._0x138e47,0x34b,_0x297dba._0x43f8d3)]():_0x28830c);}['append'](_0x118844,_0x16a017){const _0x1c7293={_0x4a3b59:0x3c7,_0x33038b:0x46c,_0x482c49:0x712,_0x1b0268:0x41b,_0x30a761:0x594,_0x32c929:0x56f,_0x336dd8:0x66e,_0x2074ce:0x394,_0x1a3528:0x5e5,_0x1c83c1:0x5d0,_0x10ff24:0x70a,_0x56eeff:0x39f,_0x3ca761:0x655,_0x1094ab:0x757,_0xa88888:0x540,_0x40b2f3:0x5cc,_0xe36e1e:0x69b,_0x1c6731:0x6a9,_0x3b0f7c:0x565,_0x47610e:0x5ed,_0x2a82a7:0x59b,_0x477002:0x389,_0x5eddcb:0x32d,_0x25c102:0x670,_0xd17cb4:0x54d,_0x2e318c:0x5ae,_0x4a7f40:0x62b,_0x444d51:0x692,_0x1903e1:0x43f,_0x3647c0:0x340,_0x127ae5:0x475},_0x43aa18={_0x144c0b:0x6d},_0x271fbc={_0x39bfc5:0x8c,_0x208218:0x167,_0x4e4f4d:0x69};if(_0x16a017[_0x368bcf(0x540,0x3ad,_0x1c7293._0x4a3b59,_0x1c7293._0x33038b)]===0x0)return;function _0x58e776(_0x156951,_0x303142,_0x2e5e5d,_0x526d4a){return _0x515b8f(_0x156951-_0x271fbc._0x39bfc5,_0x303142-_0x271fbc._0x208218,_0x156951,_0x2e5e5d-_0x271fbc._0x4e4f4d);}function _0x368bcf(_0x387b89,_0x8ed616,_0x75a303,_0x2e4896){return _0x1c3a85(_0x387b89-_0x43aa18._0x144c0b,_0x75a303,_0x75a303-0x1d8,_0x387b89-0x445);}_0x118844[_0x368bcf(0x595,0x672,0x4fe,0x625)][_0x58e776(0x6ce,0x870,0x760,_0x1c7293._0x482c49)](_0x16a017),_0x118844['bufferChars']+=_0x16a017['length'],_0x118844[_0x368bcf(_0x1c7293._0x1b0268,_0x1c7293._0x30a761,_0x1c7293._0x32c929,0x4b2)]+=_0x16a017[_0x368bcf(0x540,_0x1c7293._0x336dd8,0x486,_0x1c7293._0x2074ce)];while(_0x118844[_0x368bcf(_0x1c7293._0x1a3528,_0x1c7293._0x1c83c1,0x5f4,_0x1c7293._0x10ff24)]>this[_0x368bcf(0x543,_0x1c7293._0x56eeff,0x478,0x4f9)]){const _0x11f0db=_0x118844['bufferChars']-this[_0x368bcf(0x543,0x40a,0x626,_0x1c7293._0x3ca761)],_0x4a605a=_0x118844[_0x58e776(0x64b,_0x1c7293._0x1094ab,0x642,0x709)][0x0];if(_0x4a605a===void 0x0)break;_0x4a605a[_0x368bcf(_0x1c7293._0xa88888,0x3e7,_0x1c7293._0x40b2f3,0x3cd)]<=_0x11f0db?(_0x118844[_0x58e776(0x702,_0x1c7293._0xe36e1e,0x642,0x728)][_0x368bcf(_0x1c7293._0x1c6731,0x7bc,0x60d,0x786)](),_0x118844['bufferChars']-=_0x4a605a[_0x58e776(_0x1c7293._0x3b0f7c,0x4df,_0x1c7293._0x47610e,0x478)],_0x118844[_0x58e776(_0x1c7293._0x2a82a7,_0x1c7293._0x477002,0x4ec,_0x1c7293._0x5eddcb)]+=_0x4a605a[_0x368bcf(0x540,0x6ee,0x47e,0x56d)]):(_0x118844[_0x368bcf(0x595,0x678,_0x1c7293._0x25c102,_0x1c7293._0xd17cb4)][0x0]=_0x4a605a[_0x368bcf(0x4eb,_0x1c7293._0x2e318c,_0x1c7293._0x4a7f40,0x5f9)](_0x11f0db),_0x118844[_0x58e776(0x4d4,0x68b,_0x1c7293._0x444d51,0x71d)]-=_0x11f0db,_0x118844[_0x368bcf(_0x1c7293._0x1903e1,_0x1c7293._0x3647c0,0x51d,_0x1c7293._0x127ae5)]+=_0x11f0db);}}['evictIfNeeded'](){const _0x5ec4c4={_0x5532c2:0xca,_0x80a0c5:0x1a5,_0xa71a36:0x38b,_0x90080:0x478,_0x3ea745:0x457,_0x574f9d:0x3ff,_0x45c2a5:0x2e7,_0x594108:0x238,_0x8c8811:0x2aa,_0x3ebd6a:0x16,_0xc5192b:0x86,_0x1c9527:0xc3,_0x2b0060:0x18c,_0x4e21cf:0x2b4},_0x10f4df={_0x4ec13e:0x16,_0x1b105d:0x121,_0x3c5301:0x3e4};function _0x400eb4(_0x1a7187,_0x259e9e,_0x544f39,_0x54dc86){return _0x1c3a85(_0x1a7187-_0x10f4df._0x4ec13e,_0x544f39,_0x544f39-_0x10f4df._0x1b105d,_0x259e9e-_0x10f4df._0x3c5301);}function _0x47e62f(_0x3c5848,_0x4e34fa,_0x23f6d6,_0x39eeb3){return _0x1c3a85(_0x3c5848-0x4d,_0x4e34fa,_0x23f6d6-0x14c,_0x23f6d6-0x7b);}while(this[_0x47e62f(0x247,_0x5ec4c4._0x5532c2,0x13b,_0x5ec4c4._0x80a0c5)]['size']>this['maxEntries']){const _0x1cf056=[...this[_0x400eb4(_0x5ec4c4._0xa71a36,0x4a4,_0x5ec4c4._0x90080,_0x5ec4c4._0x3ea745)][_0x47e62f(_0x5ec4c4._0x574f9d,0x1fc,_0x5ec4c4._0x45c2a5,0x444)]()]['filter'](_0x14a900=>_0x14a900[_0x47e62f(-0x36,0x286,0x104,0x56)]&&isTerminalStatus(_0x14a900[_0x47e62f(0xbe,-0xbc,0x6f,0x208)]))[_0x47e62f(0x235,_0x5ec4c4._0x594108,_0x5ec4c4._0x8c8811,0x1b2)]((_0x4f9add,_0x1eb4c2)=>_0x4f9add[_0x400eb4(0x757,0x5bb,0x634,0x499)]-_0x1eb4c2['startedAt'])[0x0];if(!_0x1cf056)return;this[_0x47e62f(-_0x5ec4c4._0x3ebd6a,-_0x5ec4c4._0xc5192b,0x13b,0x3f)][_0x47e62f(0x13e,_0x5ec4c4._0x1c9527,_0x5ec4c4._0x2b0060,_0x5ec4c4._0x4e21cf)](_0x1cf056['shellId']);}}};function createBashOutputTool(_0x428dfb){const _0x51803a={_0x4b4304:0xbf,_0x27bcb0:0x10d,_0x33ee4b:0x5e,_0x31ecee:0x1de,_0x5ad8cf:0xc0,_0x4a44c2:0x288,_0x3e3b0a:0x1f1,_0x49b236:0x376,_0x4cbd2f:0x2f0,_0x49891b:0x20e,_0x4b7bd1:0x221},_0x3fe91c={_0x4db8af:0x236,_0x191f0c:0xf2,_0x262478:0x276,_0x1d9917:0x123,_0x2ddbef:0x153,_0x403347:0x8a,_0x131a19:0x2ab,_0x2ccdd5:0xce,_0x5c4ddd:0x155,_0x4d0707:0xea,_0x4579d0:0x11d,_0x5deae4:0x20e,_0x21ebf0:0x9d,_0x147462:0xba,_0x19e60d:0x68,_0x4639c9:0x80,_0x321b5f:0xbf,_0x4f3659:0xc0,_0x1ffba0:0x21,_0x3b637c:0xc1},_0x5b0b8e={_0x20adc0:0x133};function _0x91b544(_0x46d10d,_0x723312,_0x222ac5,_0xcd4fb4){return _0x1c3a85(_0x46d10d-_0x5b0b8e._0x20adc0,_0x222ac5,_0x222ac5-0x140,_0x723312- -0x9e);}function _0x1234b2(_0x10f1b3,_0x345212,_0x44734d,_0x21c33c){return _0x1c3a85(_0x10f1b3-0x62,_0x10f1b3,_0x44734d-0xa6,_0x345212- -0x210);}const {registry:_0x1ddb88}=_0x428dfb;return defineTool({'name':'BashOutput','permissionClass':'always-confirm','description':_0x1234b2(_0x51803a._0x4b4304,-0xb9,-_0x51803a._0x27bcb0,-_0x51803a._0x33ee4b),'inputSchema':{'type':_0x91b544(-_0x51803a._0x31ecee,-0xab,_0x51803a._0x5ad8cf,-0x24f),'properties':{'shellId':{'type':_0x1234b2(-_0x51803a._0x4a44c2,-_0x51803a._0x3e3b0a,-_0x51803a._0x49b236,-_0x51803a._0x4cbd2f)},'regex':{'type':_0x91b544(-_0x51803a._0x49891b,-0x7f,0x60,-_0x51803a._0x4b7bd1)}},'required':['shellId']},async *'execute'(_0x45adba){const _0x589391={_0x1cb767:0x73,_0x450f0c:0x101},_0x40c1a5={_0x549547:0x199,_0x439eb6:0x151,_0x5135eb:0x1f1},_0x1c4b0a=_0x1ddb88[_0xad4cfe(-_0x3fe91c._0x4db8af,0x37,-_0x3fe91c._0x191f0c,-_0x3fe91c._0x262478)](_0x45adba[_0xad4cfe(0x74,0x1ed,0x36,_0x3fe91c._0x1d9917)],_0x45adba[_0x5b0245(0x10b,0x51,-0x8a,-_0x3fe91c._0x2ddbef)]?{'regex':_0x45adba[_0xad4cfe(-_0x3fe91c._0x403347,-_0x3fe91c._0x131a19,-0x168,-0x52)]}:void 0x0);function _0xad4cfe(_0xbe3352,_0x139972,_0x35f723,_0x526933){return _0x91b544(_0xbe3352-_0x40c1a5._0x549547,_0x35f723- -_0x40c1a5._0x439eb6,_0x139972,_0x526933-_0x40c1a5._0x5135eb);}function _0x5b0245(_0xd63abf,_0x21b754,_0x190b58,_0x51420f){return _0x91b544(_0xd63abf-0x1d4,_0x190b58- -_0x589391._0x1cb767,_0x51420f,_0x51420f-_0x589391._0x450f0c);}return createToolOutput(_0x1c4b0a[_0xad4cfe(-_0x3fe91c._0x2ccdd5,-_0x3fe91c._0x5c4ddd,-_0x3fe91c._0x4d0707,0x66)],{'shellId':_0x45adba['shellId'],'status':_0x1c4b0a[_0x5b0245(-0x53,-0x20a,-_0x3fe91c._0x4579d0,-_0x3fe91c._0x5deae4)],'exitCode':_0x1c4b0a[_0x5b0245(-_0x3fe91c._0x21ebf0,-0x10b,0x6d,-0xb8)],'signal':_0x1c4b0a[_0x5b0245(0x2ea,_0x3fe91c._0x147462,0x12d,-_0x3fe91c._0x19e60d)],'error':_0x1c4b0a[_0x5b0245(0x10b,0x82,-_0x3fe91c._0x4639c9,_0x3fe91c._0x321b5f)],'truncated':_0x1c4b0a[_0xad4cfe(-0x94,-_0x3fe91c._0x4f3659,-_0x3fe91c._0x1ffba0,_0x3fe91c._0x3b637c)]});}});}import{spawn as _0x1ad1f1}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x500290 from'os';import*as _0x50bfbd from'path';import{StringDecoder as _0x162ebb}from'string_decoder';import{spawn as _0x1a1ac0}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x556b42){return _0x556b42 instanceof Error;}function resolveCarriageReturns(_0x244010){const _0x323df0={_0x1de03f:0x27e},_0xac41a5={_0x9620aa:0x2fe,_0x5a5450:0x605,_0xc8bb95:0x74b,_0x23395b:0x693,_0x5db95c:0x61e},_0x248f77={_0x15d292:0x1a};function _0x2abdf2(_0x6efbfc,_0x55657b,_0x1621c6,_0x5f30c5){return _0x515b8f(_0x6efbfc-0x113,_0x55657b-0x99,_0x6efbfc,_0x5f30c5- -_0x248f77._0x15d292);}return _0x244010['split']('\x0a')[_0x2abdf2(_0x323df0._0x1de03f,0x4ac,0x562,0x3c0)](_0x3de9fb=>{const _0x1802a6={_0x55cc2a:0x667};function _0x1ac4b2(_0x135cda,_0x8baef1,_0x3b9257,_0x2378be){return _0x2abdf2(_0x135cda,_0x8baef1-0xd5,_0x3b9257-0x19e,_0x2378be- -_0x1802a6._0x55cc2a);}if(!_0x3de9fb[_0xd3a556(0x431,0x3ba,_0xac41a5._0x9620aa,0x4ca)]('\x0d'))return _0x3de9fb;function _0xd3a556(_0x2e0682,_0x302c14,_0x2bb8c8,_0xc223d1){return _0x2abdf2(_0x302c14,_0x302c14-0x162,_0x2bb8c8-0x3a,_0x2e0682- -0x19);}const _0x5f171c=_0x3de9fb[_0xd3a556(_0xac41a5._0x5a5450,_0xac41a5._0xc8bb95,0x74e,0x6d0)]('\x0d');return _0x5f171c[_0x5f171c[_0xd3a556(0x551,0x545,_0xac41a5._0x23395b,_0xac41a5._0x5db95c)]-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x52a693){const _0x167368={_0x14595f:0x26a,_0x5615b7:0xf9,_0x1020d6:0x43f,_0x4f565f:0x31e,_0xa2f8c3:0x495},_0x2eca8f={_0x53b8cb:0x9},_0x2e143e={_0x2b5d0c:0x1aa,_0x15c87b:0x17e};function _0x5f21b4(_0x2eb755,_0x543f46,_0x137cfc,_0xe9dce){return _0x515b8f(_0x2eb755-0x29,_0x543f46-_0x2e143e._0x2b5d0c,_0x137cfc,_0x2eb755- -_0x2e143e._0x15c87b);}const _0x32796a=[];for(const _0x1794ab of Array[_0x17062b(-0xe7,-_0x167368._0x14595f,-_0x167368._0x5615b7,-0x104)](_0x52a693)){_0x1794ab==='\x08'?_0x32796a['pop']():_0x32796a['push'](_0x1794ab);}function _0x17062b(_0x412f59,_0x327917,_0x3a8898,_0x50addc){return _0x515b8f(_0x412f59-0x1cb,_0x327917-_0x2eca8f._0x53b8cb,_0x3a8898,_0x412f59- -0x4a7);}return _0x32796a[_0x5f21b4(_0x167368._0x1020d6,_0x167368._0x4f565f,_0x167368._0xa2f8c3,0x2a9)]('');}function stripAnsiAndControls(_0x439220){const _0x10eceb={_0x4c9061:0x1d0,_0x377cf6:0x34f,_0x490b7d:0x222,_0x3afe3a:0x245,_0x5487fb:0x124,_0x52befa:0x8a,_0x2f4dc3:0x245,_0x44b042:0x406,_0x13c1ec:0x2c2,_0xd50caa:0x26d},_0x223c08={_0x9d3336:0xa0,_0x69316b:0x2be},_0x370166={_0x40bac8:0x24};_0x439220=resolveCarriageReturns(_0x439220),_0x439220=resolveBackspaces(_0x439220),_0x439220=stripVTControlCharacters(_0x439220);const _0xccecf6='\x1b',_0x11cf7b='\x07';_0x439220=_0x439220[_0x14c4b1(_0x10eceb._0x4c9061,_0x10eceb._0x377cf6,_0x10eceb._0x490b7d,_0x10eceb._0x3afe3a)](new RegExp(_0x14c4b1(_0x10eceb._0x5487fb,0xdf,0x1fa,0x285)+_0x11cf7b+_0x14c4b1(0x4f9,0x34c,0x34d,0x3dd)+_0x11cf7b,'g'),''),_0x439220=_0x439220['replace'](new RegExp(';[^\x5cn]*?'+_0xccecf6+'\x5c\x5c','g'),''),_0x439220=_0x439220[_0x14c4b1(0x1af,_0x10eceb._0x52befa,0x381,0x245)](new RegExp(_0x11cf7b,'g'),''),_0x439220=_0x439220[_0x14c4b1(0x1b8,0x1f1,0x11f,_0x10eceb._0x2f4dc3)](new RegExp(_0xccecf6+_0x14c4b1(_0x10eceb._0x44b042,0x20a,0x2d5,_0x10eceb._0x13c1ec)+_0xccecf6+'\x5c\x5c','g'),''),_0x439220=_0x439220[_0xc3e888(0x31c,0x157,0x36f,_0x10eceb._0xd50caa)](new RegExp(_0xccecf6+'[=>7-8()]','g'),''),_0x439220=_0x439220['replace'](/[\u0080-\u009F]/g,'');function _0x14c4b1(_0x317555,_0x32abd8,_0x4b6e78,_0x5f3786){return _0x515b8f(_0x317555-_0x370166._0x40bac8,_0x32abd8-0x150,_0x32abd8,_0x5f3786- -0x2e6);}_0x439220=_0x439220['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x439220=_0x439220['replace'](/[\u23CE\u2424]/g,'');function _0xc3e888(_0x34f4f7,_0x971f69,_0x391ecd,_0xf4496e){return _0x515b8f(_0x34f4f7-_0x223c08._0x9d3336,_0x971f69-0x1dd,_0x971f69,_0xf4496e- -_0x223c08._0x69316b);}return _0x439220;}function killProcessGroup(_0x36e318,_0x44a2c2,_0x11ff9b='SIGKILL'){const _0x39ffed={_0x506b06:0x1be,_0x1e8a0c:0x3af,_0x4902fd:0x3ec,_0x478891:0x2f6,_0x3341a0:0x1,_0xef1e5b:0x195,_0x538276:0xac,_0x2e7a45:0x312,_0x21ba61:0x3b3,_0x5f0808:0xd7,_0x1c37ad:0x1be,_0x226791:0xb7},_0x1c2686={_0x24fcf6:0x196},_0x4dcd6a={_0x26291f:0x1dc};function _0x4b9885(_0x38f78b,_0x919536,_0x354c39,_0x38ab06){return _0x515b8f(_0x38f78b-_0x4dcd6a._0x26291f,_0x919536-0x195,_0x38f78b,_0x354c39- -0xb6);}function _0x526bc9(_0x5eea42,_0xf12cf7,_0x5d64bf,_0x191cf8){return _0x1c3a85(_0x5eea42-_0x1c2686._0x24fcf6,_0x191cf8,_0x5d64bf-0x5b,_0x5eea42- -0xb7);}if(!_0x36e318[_0x526bc9(_0x39ffed._0x506b06,0xb2,0x333,0x289)])return;if(_0x44a2c2)try{_0x1a1ac0(_0x4b9885(0x551,0x48f,_0x39ffed._0x1e8a0c,_0x39ffed._0x4902fd),['/pid',_0x36e318[_0x526bc9(_0x39ffed._0x506b06,_0x39ffed._0x478891,0x15b,_0x39ffed._0x3341a0)][_0x526bc9(0x14c,_0x39ffed._0xef1e5b,_0x39ffed._0x538276,0x197)](),'/T','/F'],{'stdio':_0x526bc9(-0x16f,-0x27d,-0x277,-0x19d)});return;}catch{_0x36e318[_0x4b9885(0x51f,_0x39ffed._0x2e7a45,_0x39ffed._0x21ba61,0x2d9)](_0x11ff9b);return;}try{process[_0x526bc9(-_0x39ffed._0x5f0808,0xcc,0x77,-0x15)](-_0x36e318[_0x526bc9(_0x39ffed._0x1c37ad,_0x39ffed._0x226791,0x26c,0xa0)],_0x11ff9b);}catch{_0x36e318['kill'](_0x11ff9b);}}import{stat}from'fs/promises';import*as _0x1dc734 from'path';function isPathInside(_0x2eaaee,_0x3dcfae){const _0x454aa7={_0x283238:0xd0,_0x42e530:0x24f,_0x54546a:0xda,_0x1df5fb:0xd7,_0x1e4f38:0x419,_0xe27b9c:0x5af,_0x256d3f:0x19b},_0xc7f144={_0x4d8439:0x35d},_0x24c1ad={_0x130c1a:0x18c,_0x9c2b39:0x19};function _0x469991(_0x2703f1,_0x2358ab,_0x3ad054,_0x190ba4){return _0x1c3a85(_0x2703f1-_0x24c1ad._0x130c1a,_0x3ad054,_0x3ad054-0x67,_0x190ba4-_0x24c1ad._0x9c2b39);}function _0x46890d(_0x383d46,_0x121d67,_0x1e87d4,_0x83222b){return _0x1c3a85(_0x383d46-0xf0,_0x1e87d4,_0x1e87d4-0x1c7,_0x83222b-_0xc7f144._0x4d8439);}const _0x46ec57=_0x1dc734[_0x469991(_0x454aa7._0x283238,-_0x454aa7._0x42e530,_0x454aa7._0x54546a,-_0x454aa7._0x1df5fb)](_0x2eaaee),_0x1130b0=_0x1dc734[_0x46890d(_0x454aa7._0x1e4f38,0x3f3,0x4d1,_0x454aa7._0xe27b9c)](_0x46ec57,_0x3dcfae);return _0x1130b0===''||!_0x1130b0[_0x469991(0x33d,0x289,_0x454aa7._0x256d3f,0x1ed)]('..')&&!_0x1dc734[_0x469991(-0x16f,-0x97,-0x1f0,-0x6f)](_0x1130b0);}function resolveWorkspacePath(_0x4aea47,_0x1e37af){return resolveAllowedPath(_0x4aea47,[],_0x1e37af);}function resolveAllowedPath(_0x43e945,_0xd2450b,_0x313ab9){const _0x33ea81={_0x5dd026:0xfe,_0x1c1bdb:0x1d3,_0x4bf4f1:0x3e6};function _0x3eddf2(_0x3672f2,_0x39c155,_0x589e31,_0x166632){return _0x515b8f(_0x3672f2-_0x33ea81._0x5dd026,_0x39c155-_0x33ea81._0x1c1bdb,_0x39c155,_0x589e31- -_0x33ea81._0x4bf4f1);}const _0x4728f2=_0x1dc734['resolve'](_0x43e945),_0x82e159=_0x1dc734['resolve'](_0x4728f2,_0x313ab9),_0xcb2b31=[_0x4728f2,..._0xd2450b[_0x3eddf2(0xf9,-0xfc,-0xc,-0x95)](_0x30c03f=>_0x1dc734['resolve'](_0x30c03f))];if(_0xcb2b31['some'](_0x1d098b=>isPathInside(_0x1d098b,_0x82e159)))return _0x82e159;throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x313ab9,{'path':_0x313ab9,'rootDir':_0x4728f2,'allowedDirs':_0xcb2b31});}async function assertWorkspaceFile(_0x1ab19f){const _0x4953b8={_0x2c0b68:0x297},_0x148aa9={_0x5a8e0b:0x1ce,_0x5c55b9:0x2c5};function _0x2926c8(_0x407e65,_0x822009,_0x461a4e,_0x3b1bd1){return _0x515b8f(_0x407e65-_0x148aa9._0x5a8e0b,_0x822009-0x13a,_0x407e65,_0x461a4e- -_0x148aa9._0x5c55b9);}const _0x22461d=await stat(_0x1ab19f);if(!_0x22461d['isFile']())throw new ToolExecutionError(_0x2926c8(0x2b9,0x13b,_0x4953b8._0x2c0b68,0x407)+_0x1ab19f,{'path':_0x1ab19f});}function isProbablyBinary(_0x111df0){const _0x370f9b={_0x27dc71:0x364},_0x13b765={_0xe04c59:0x144};function _0x3b6a21(_0x2e4efe,_0x1d2a31,_0x2e9e43,_0x745a4a){return _0x1c3a85(_0x2e4efe-0x1a9,_0x2e9e43,_0x2e9e43-_0x13b765._0xe04c59,_0x1d2a31- -0x249);}return _0x111df0[_0x3b6a21(-0x3d4,-0x26e,-_0x370f9b._0x27dc71,-0x3e6)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION='Run\x20a\x20non-interactive\x20shell\x20command\x20with\x20timeout\x20protection\x20and\x20capture\x20stdout/stderr.\x20Use\x20FileRead\x20for\x20file\x20contents.\x20Use\x20outputRegex\x20for\x20focused\x20foreground\x20output,\x20ignoreOutput\x20when\x20only\x20the\x20exit\x20status\x20matters,\x20and\x20runInBackground\x20for\x20servers\x20or\x20watchers;\x20follow\x20background\x20runs\x20with\x20BashOutput\x20or\x20KillShell.\x20Provide\x20a\x20concise\x20user-facing\x20purpose\x20in\x20description.\x20Default\x20timeout:\x20'+DEFAULT_TIMEOUT_MS+'ms.';function buildChildEnv(_0x27cbb9,_0x1c98a3,_0x3acf99){const _0xac2959={_0x2a0e53:0x549,_0x3e077c:0x441,_0xa66700:0x43e,_0x39156b:0x37a,_0x1460df:0x4b9,_0x243d67:0x579,_0x4a6fc9:0x516,_0x445bbc:0x449,_0x4fb3a7:0x88e,_0x264c8f:0x6a9,_0x2f5cd0:0x48f,_0x3f2d69:0x33c,_0x13933b:0x58d,_0x16b308:0x57e,_0x5e1124:0x566},_0xc09cd6={_0x4bd742:0x135,_0x5b2f18:0x4f0};function _0x1682d8(_0x3efd4f,_0x3d1f3e,_0x110b5c,_0x24435f){return _0x1c3a85(_0x3efd4f-0x5f,_0x3efd4f,_0x110b5c-0x97,_0x110b5c-0x394);}const _0x367b71={...process['env'],..._0x27cbb9??{}};function _0xb9bc84(_0x19f1e5,_0x2bdf31,_0x5d99b6,_0x403c43){return _0x1c3a85(_0x19f1e5-0x40,_0x5d99b6,_0x5d99b6-_0xc09cd6._0x4bd742,_0x19f1e5-_0xc09cd6._0x5b2f18);}if(_0x500290['platform']()===_0x1682d8(0x35e,0x5a0,0x3e0,_0xac2959._0x2a0e53)){const _0x4187e2=new Set(_0x1c98a3[_0xb9bc84(_0xac2959._0x3e077c,0x3e4,_0xac2959._0xa66700,_0xac2959._0x39156b)](_0x4cb777=>_0x4cb777['toLowerCase']()));for(const _0x4042b6 of Object[_0xb9bc84(0x505,0x475,_0xac2959._0x1460df,0x67c)](_0x367b71)){if(_0x4187e2[_0x1682d8(_0xac2959._0x243d67,_0xac2959._0x4a6fc9,_0xac2959._0x445bbc,0x391)](_0x4042b6[_0xb9bc84(0x707,0x743,_0xac2959._0x4fb3a7,_0xac2959._0x264c8f)]()))delete _0x367b71[_0x4042b6];}}else{for(const _0x5afc3f of _0x1c98a3)delete _0x367b71[_0x5afc3f];if(_0x3acf99[_0x1682d8(0x5f8,0x42b,_0xac2959._0x2f5cd0,_0xac2959._0x3f2d69)]>0x0)for(const _0x1745ef of Object['keys'](_0x367b71)){_0x3acf99[_0xb9bc84(_0xac2959._0x13933b,_0xac2959._0x16b308,0x52c,_0xac2959._0x5e1124)](_0x56c013=>_0x1745ef['startsWith'](_0x56c013))&&delete _0x367b71[_0x1745ef];}}return _0x367b71;}function mapSpawnError(_0x13c1fb,_0x5ac881){const _0x140c17={_0x40b881:0x14b,_0x456a07:0x18e,_0x2d085a:0x315},_0x5d267a={_0x4adb8b:0x1c2,_0x4cf4e6:0x2e6},_0x71bce9={_0x31fc88:0xcf,_0x35d543:0x1df,_0xa813b4:0x53};if(isErrnoException(_0x13c1fb)&&_0x13c1fb['code']===_0x56994e(_0x140c17._0x40b881,0x276,0x132,0x148))return new ToolExecutionError('Shell\x20not\x20found:\x20'+_0x5ac881['shellPath'],_0x5ac881);function _0x18b31f(_0x4498f6,_0x10fe3c,_0x5db917,_0x5b8282){return _0x515b8f(_0x4498f6-_0x71bce9._0x31fc88,_0x10fe3c-_0x71bce9._0x35d543,_0x4498f6,_0x5b8282-_0x71bce9._0xa813b4);}function _0x56994e(_0x40f743,_0x522b86,_0x37d346,_0x261a57){return _0x1c3a85(_0x40f743-_0x5d267a._0x4adb8b,_0x37d346,_0x37d346-0x1e6,_0x522b86-_0x5d267a._0x4cf4e6);}return new ToolExecutionError(_0x13c1fb instanceof Error?_0x13c1fb[_0x56994e(_0x140c17._0x456a07,_0x140c17._0x2d085a,0x1ef,0x28e)]:String(_0x13c1fb),_0x5ac881);}function shellExists(_0x4ccd42){const _0x28250e={_0xaa969:0xef,_0x3d56b7:0x2c7,_0x3c636e:0x204,_0x234608:0x13f},_0x3f6a1d={_0x1b7ada:0x211};function _0x7b4212(_0x282051,_0x16f2d9,_0xd9d8fd,_0x59d90a){return _0x1c3a85(_0x282051-0x1,_0xd9d8fd,_0xd9d8fd-0x1b4,_0x59d90a- -0x192);}function _0x23558e(_0x441a21,_0x2fd52a,_0x83182b,_0x267bd6){return _0x515b8f(_0x441a21-0xbf,_0x2fd52a-0x169,_0x83182b,_0x267bd6- -_0x3f6a1d._0x1b7ada);}try{const _0x497abe=statSync(_0x4ccd42);return _0x497abe[_0x7b4212(0x84,-_0x28250e._0xaa969,-0x267,-0x106)]()&&(_0x497abe[_0x7b4212(-_0x28250e._0x3d56b7,-_0x28250e._0x3c636e,-0x19f,-_0x28250e._0x234608)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x24d7b1){const _0x26d7c8={_0x466a81:0x587,_0x451ff9:0x36e,_0x52e9b5:0x580,_0x22003d:0x7d,_0x51e654:0x119,_0x115ede:0x6a,_0x508f51:0x3e,_0x3a8c5e:0x1a6,_0x4c0fc6:0x211,_0x4a2f21:0x31c,_0x386a72:0x6f4,_0xee3fa6:0x45d,_0x2b717a:0x403,_0x211c90:0x12b,_0x596f0a:0xa0,_0x36692f:0x220,_0x34e8df:0x327},_0x3f5257={_0x51dd3f:0x82,_0x3c2c41:0xb5,_0x331325:0x3f},_0x3b2264={_0x127344:0xdb};if(_0x24d7b1)return _0x24d7b1;if(_0x500290['platform']()===_0x999982(_0x26d7c8._0x466a81,0x496,_0x26d7c8._0x451ff9,_0x26d7c8._0x52e9b5))return process[_0x44f8dd(_0x26d7c8._0x22003d,0x4b,_0x26d7c8._0x51e654,_0x26d7c8._0x115ede)][_0x44f8dd(0x165,0x1e2,0x1a1,_0x26d7c8._0x508f51)]||_0x44f8dd(_0x26d7c8._0x3a8c5e,0x322,0x211,_0x26d7c8._0x4c0fc6);function _0x44f8dd(_0x5c2fe8,_0x447928,_0x55c3cc,_0x114f1a){return _0x515b8f(_0x5c2fe8-_0x3b2264._0x127344,_0x447928-0x1bd,_0x114f1a,_0x55c3cc- -0x383);}const _0x42babb=['/bin/bash',_0x999982(0x2ae,0x3e9,_0x26d7c8._0x4a2f21,0x4c4),'/usr/bin/bash',_0x999982(0x549,0x6d1,_0x26d7c8._0x386a72,0x5ac)];for(const _0x38d8de of _0x42babb){if(shellExists(_0x38d8de))return _0x38d8de;}const _0x4ecafa=process[_0x999982(0x365,_0x26d7c8._0xee3fa6,0x3a8,_0x26d7c8._0x2b717a)][_0x44f8dd(0x249,_0x26d7c8._0x211c90,_0x26d7c8._0x596f0a,-0x23)];if(_0x4ecafa&&shellExists(_0x4ecafa))return _0x4ecafa;function _0x999982(_0x15d8d8,_0x39a05d,_0x37a6c4,_0x23f92d){return _0x515b8f(_0x15d8d8-_0x3f5257._0x51dd3f,_0x39a05d-_0x3f5257._0x3c2c41,_0x37a6c4,_0x39a05d- -_0x3f5257._0x331325);}return _0x44f8dd(_0x26d7c8._0x36692f,0x465,_0x26d7c8._0x34e8df,0x372);}function buildShellArgs(_0x54960a,_0x277cd8){const _0x2fc00f={_0x322cdb:0xef,_0x377646:0x13e,_0x210bcf:0x37,_0x23cd8a:0x1b,_0x4753a5:0x270,_0x5042f9:0x3a,_0x1d2b44:0x123,_0x18b9fe:0x33,_0x28163b:0x18,_0x4e5356:0x208,_0x1136be:0x238,_0x5c8c24:0x291,_0x3fa303:0x188},_0x44dbc2={_0x62a6e5:0x1a8},_0x163ced={_0x4f8960:0x152,_0x26b9be:0x184,_0x52bff8:0x5ed};function _0x7ee284(_0x486f00,_0x3408c9,_0x238b80,_0x3b71cb){return _0x515b8f(_0x486f00-_0x163ced._0x4f8960,_0x3408c9-_0x163ced._0x26b9be,_0x3408c9,_0x3b71cb- -_0x163ced._0x52bff8);}if(_0x500290[_0x7ee284(_0x2fc00f._0x322cdb,_0x2fc00f._0x377646,_0x2fc00f._0x210bcf,_0x2fc00f._0x23cd8a)]()===_0x32418a(0x19f,0x368,0x2c8,0x1fb)){const _0x339392=/cmd(\.exe)?$/i[_0x7ee284(-0x19c,-_0x2fc00f._0x4753a5,0x9f,-0xba)](_0x277cd8);return _0x339392?['/d','/s','/c',_0x54960a]:[_0x7ee284(_0x2fc00f._0x5042f9,_0x2fc00f._0x1d2b44,-_0x2fc00f._0x18b9fe,-_0x2fc00f._0x28163b),_0x32418a(_0x2fc00f._0x4e5356,0x2c2,0x4b4,0x330),_0x7ee284(_0x2fc00f._0x1136be,_0x2fc00f._0x5c8c24,_0x2fc00f._0x3fa303,0x11b),_0x54960a];}function _0x32418a(_0x4237c9,_0x130e82,_0x3a28fe,_0x5e38bf){return _0x515b8f(_0x4237c9-_0x44dbc2._0x62a6e5,_0x130e82-0x5b,_0x130e82,_0x5e38bf- -0x2da);}return['-c',_0x54960a];}function resolveWorkingDirectory(_0xc11ca7,_0xa2c4a,_0x5e6a51){const _0x54b925={_0x2e915d:0x313,_0x45c14a:0x336,_0x1ef509:0xf3,_0x5d73ea:0x151,_0x24077b:0x21a},_0x546e4b={_0x252f7a:0x2f0,_0x3debfa:0xe7,_0x1d349c:0x23e,_0xae643d:0x3ad},_0x2a06de={_0x130298:0x177,_0x36ddb3:0x194,_0x56a700:0x1a9},_0x46cf96={_0x274052:0x70,_0x40237b:0x69},_0x57eaae={_0x29eb14:0x1c2},_0x44f9c7={_0xba2949:0x95},_0x18af4b=resolveAllowedPath(_0xa2c4a,_0x5e6a51,_0xc11ca7??'.');function _0x723f59(_0x2b59f7,_0x3c05f8,_0x37f876,_0x2d8053){return _0x1c3a85(_0x2b59f7-0x37,_0x2b59f7,_0x37f876-_0x44f9c7._0xba2949,_0x2d8053-0x4ff);}function _0x1a8f33(_0x45b742,_0xba5c1d,_0x326f0c,_0x197e81){return _0x515b8f(_0x45b742-_0x57eaae._0x29eb14,_0xba5c1d-0xe5,_0x326f0c,_0x197e81- -0x389);}try{const _0x7ebb36=statSync(_0x18af4b);if(!_0x7ebb36[_0x723f59(0x563,_0x54b925._0x2e915d,_0x54b925._0x45c14a,0x4b0)]())throw new ToolExecutionError('Working\x20directory\x20is\x20not\x20a\x20directory:\x20'+_0x18af4b,{'cwd':_0x18af4b});const _0xb8eaca=realpathSync(_0x18af4b),_0xdac43b=realpathSync(_0xa2c4a),_0x5ef7ef=_0x5e6a51[_0x1a8f33(0xa9,-_0x54b925._0x1ef509,-_0x54b925._0x5d73ea,0x51)](_0x3a74c3=>{function _0x129641(_0x2beec9,_0x4ce8ef,_0x9af60,_0x4cb7f9){return _0x1a8f33(_0x2beec9-_0x46cf96._0x274052,_0x4ce8ef-_0x46cf96._0x40237b,_0x4ce8ef,_0x4cb7f9-0x39d);}function _0x6a3ba1(_0x6eabac,_0x3b1099,_0x757019,_0x1a74cd){return _0x1a8f33(_0x6eabac-_0x2a06de._0x130298,_0x3b1099-_0x2a06de._0x36ddb3,_0x757019,_0x3b1099- -_0x2a06de._0x56a700);}try{return realpathSync(_0x50bfbd[_0x6a3ba1(-_0x546e4b._0x252f7a,-0x199,-0x337,-_0x546e4b._0x3debfa)](_0x3a74c3));}catch{return _0x50bfbd[_0x129641(0x500,0x354,_0x546e4b._0x1d349c,_0x546e4b._0xae643d)](_0x3a74c3);}});return resolveAllowedPath(_0xdac43b,_0x5ef7ef,_0xb8eaca);}catch(_0x7a4d72){if(_0x7a4d72 instanceof ToolExecutionError)throw _0x7a4d72;throw new ToolExecutionError(_0x1a8f33(0x290,_0x54b925._0x24077b,0x2da,0x28f)+_0x18af4b,{'cwd':_0x18af4b});}}function resolveBashExecutionTarget(_0x5e44cd,_0x3f9572={}){const _0x47ecd3={_0x2c6510:0x2b3,_0x2dd93a:0x287,_0x3d80d3:0x268,_0x34b182:0x422,_0x5645d2:0xed,_0x5cc1f0:0x44e,_0x3332a8:0x40e,_0x3f5b43:0x5e,_0x24f91b:0xa3},_0x15ccb1={_0x2150df:0x1e7},_0x336d5c={_0x5012df:0xec},_0x4194b2=_0x50bfbd['resolve'](_0x3f9572[_0x1771dd(-0x1d3,-_0x47ecd3._0x2c6510,-0x2ff,-_0x47ecd3._0x2dd93a)]??process['cwd']());function _0x1771dd(_0x1be5c2,_0x5c1375,_0x4dd9cd,_0x276ed4){return _0x515b8f(_0x1be5c2-_0x336d5c._0x5012df,_0x5c1375-0x193,_0x4dd9cd,_0x1be5c2- -0x570);}const _0x421861=resolveDefaultShell(_0x3f9572['shellPath']);function _0x5a52a2(_0xda02fe,_0x32bb54,_0x3fab81,_0x3ab3ef){return _0x515b8f(_0xda02fe-_0x15ccb1._0x2150df,_0x32bb54-0x76,_0x3fab81,_0xda02fe- -0x23c);}return{'command':_0x5e44cd[_0x5a52a2(_0x47ecd3._0x3d80d3,_0x47ecd3._0x34b182,0x2ce,0x257)],'cwd':resolveWorkingDirectory(_0x5e44cd[_0x1771dd(-0x1a9,-0x2a8,-_0x47ecd3._0x5645d2,-0x2f4)],_0x4194b2,_0x3f9572[_0x5a52a2(_0x47ecd3._0x5cc1f0,0x342,_0x47ecd3._0x3332a8,0x447)]??[]),'shellPath':_0x421861,'dialect':resolveShellDialect(_0x421861),'background':_0x5e44cd[_0x1771dd(_0x47ecd3._0x3f5b43,_0x47ecd3._0x24f91b,0x58,-0xcd)]??![]};}function resolveShellDialect(_0x40b80c){const _0x1461b8={_0x100ec3:0x52a,_0x525251:0x642,_0x4affc1:0x63d,_0x548980:0x79e,_0x54c6b5:0x547,_0x4d5680:0x54e,_0x32b1c1:0x3ee,_0x20c4ad:0x4f4,_0x33ac04:0x489,_0x5f29a2:0x7ff,_0x39f843:0x551,_0x5df94c:0x505,_0x108af5:0x4db,_0x165020:0x55c},_0x382d5e={_0x162bd2:0x1c8};if(_0x500290['platform']()==='win32')return _0x281c1c(0x510,0x4f5,0x479,_0x1461b8._0x100ec3);function _0x281c1c(_0x1d83d5,_0x3d08e0,_0xfb9d14,_0x5c52bf){return _0x1c3a85(_0x1d83d5-0x28,_0x3d08e0,_0xfb9d14-0x18d,_0x1d83d5-0x426);}const _0x1fcca8=_0x50bfbd[_0x281c1c(0x507,0x585,_0x1461b8._0x525251,0x683)](_0x40b80c)[_0x281c1c(_0x1461b8._0x4affc1,0x62b,0x71c,_0x1461b8._0x548980)]();function _0x147ef3(_0x3df27e,_0x40fe41,_0x4c3356,_0x4c6566){return _0x515b8f(_0x3df27e-0x1cb,_0x40fe41-_0x382d5e._0x162bd2,_0x4c3356,_0x4c6566- -0x46f);}if(_0x1fcca8===_0x281c1c(0x54e,0x3e7,_0x1461b8._0x54c6b5,0x54f))return _0x281c1c(_0x1461b8._0x4d5680,0x4aa,0x589,_0x1461b8._0x32b1c1);if(_0x1fcca8==='sh'||_0x1fcca8===_0x281c1c(_0x1461b8._0x20c4ad,0x4a1,_0x1461b8._0x33ac04,0x476))return _0x281c1c(0x697,0x5d4,_0x1461b8._0x5f29a2,0x78e);return _0x281c1c(_0x1461b8._0x39f843,_0x1461b8._0x5df94c,_0x1461b8._0x108af5,_0x1461b8._0x165020);}function emitChunk(_0xfe24f,_0x22daa9,_0x1acae1,_0x453ff4){const _0x20102b={_0x2c948e:0x323,_0x2af84a:0x699},_0x1f1053={_0x5f4604:0x1d8,_0x38ada8:0x5e},_0x35c11f={_0x365da8:0x95,_0x2eb96b:0x2df};_0xfe24f[_0x40e2d8(_0x20102b._0x2c948e,0x1e8,0x210,0x378)](_0x1acae1);function _0x394ab2(_0x65f85e,_0x18949c,_0x44bd12,_0x1c7812){return _0x1c3a85(_0x65f85e-_0x35c11f._0x365da8,_0x65f85e,_0x44bd12-0x36,_0x1c7812-_0x35c11f._0x2eb96b);}_0x22daa9[_0x394ab2(0x457,_0x20102b._0x2af84a,0x475,0x54d)](_0x1acae1);function _0x40e2d8(_0x53a546,_0x2ac241,_0xd81a50,_0x4810d3){return _0x1c3a85(_0x53a546-_0x1f1053._0x5f4604,_0x2ac241,_0xd81a50-0x99,_0xd81a50- -_0x1f1053._0x38ada8);}_0x453ff4();}function appendChunk(_0x5506a6,_0x4bcc53,_0x56db08,_0xe6ff11,_0x27c8a0,_0x33e720){const _0x1cb38b={_0x1f7120:0x2cf,_0x1e0f13:0x2d1,_0x1dcb9e:0x21e,_0x2604ec:0x1b4,_0x295be3:0x1c8,_0x5e8f04:0x39e,_0x34c7d8:0x296,_0x4056ad:0x1f2,_0x4e1c74:0x1cf,_0x3c2863:0xf3,_0x5ff0b1:0x20,_0x3b10d9:0x184,_0x55ba04:0x17a,_0x28f5e5:0x316,_0x5ec5e0:0x2ee,_0xfa13bf:0x11,_0xaf5953:0xb6,_0x2f0b1b:0xbb,_0x1b398c:0x1d9,_0x44e60a:0x397,_0x51b3b3:0x260,_0x4264a5:0x313},_0x279d3f={_0x1e4b88:0x153,_0xe7c8c8:0x298},_0x175506={_0x86155:0x93,_0x55bcaf:0x84,_0x24e67f:0x27f};function _0x4fa0f7(_0x579e05,_0x1473af,_0x524edf,_0x23c4b6){return _0x1c3a85(_0x579e05-_0x175506._0x86155,_0x1473af,_0x524edf-_0x175506._0x55bcaf,_0x579e05- -_0x175506._0x24e67f);}const _0x4a4e0a=_0xe6ff11?stripAnsiAndControls(_0x56db08):_0x56db08;if(_0x4a4e0a[_0x4fa0f7(-0x184,-0xde,-0x116,-0x2a)]===0x0)return;if(!_0x33e720){emitChunk(_0x5506a6,_0x4bcc53,_0x4a4e0a,_0x27c8a0);return;}let _0x25a9d1=0x0,_0x567033=_0x4a4e0a[_0x14e84a(0x2a1,0x453,0xf0,_0x1cb38b._0x1f7120)]('\x0a');function _0x14e84a(_0x2d8833,_0x418f58,_0x504ece,_0x5768db){return _0x515b8f(_0x2d8833-0xf4,_0x418f58-_0x279d3f._0x1e4b88,_0x5768db,_0x2d8833- -_0x279d3f._0xe7c8c8);}while(_0x567033>=0x0){_0x33e720['trailingChunks']['push'](_0x4a4e0a['slice'](_0x25a9d1,_0x567033));const _0x27d0ba=_0x33e720['trailingChunks']['join']('');_0x33e720[_0x4fa0f7(-_0x1cb38b._0x1e0f13,-_0x1cb38b._0x1dcb9e,-_0x1cb38b._0x2604ec,-0x3a7)][_0x14e84a(0x2ec,0x303,_0x1cb38b._0x295be3,0x2e9)]=0x0,_0x33e720[_0x4fa0f7(-0x1f8,-_0x1cb38b._0x5e8f04,-_0x1cb38b._0x34c7d8,-0x214)][_0x14e84a(0x29b,0x2b0,_0x1cb38b._0x4056ad,0xed)](_0x27d0ba)&&emitChunk(_0x5506a6,_0x4bcc53,_0x27d0ba+'\x0a',_0x27c8a0),_0x25a9d1=_0x567033+0x1,_0x567033=_0x4a4e0a[_0x4fa0f7(-_0x1cb38b._0x4e1c74,-_0x1cb38b._0x3c2863,-_0x1cb38b._0x5ff0b1,-0x313)]('\x0a',_0x25a9d1);}_0x25a9d1<_0x4a4e0a[_0x4fa0f7(-_0x1cb38b._0x3b10d9,0x2f,-0xe0,-_0x1cb38b._0x55ba04)]&&_0x33e720[_0x4fa0f7(-_0x1cb38b._0x1e0f13,-_0x1cb38b._0x28f5e5,-_0x1cb38b._0x5ec5e0,-0x341)][_0x4fa0f7(-_0x1cb38b._0xfa13bf,-_0x1cb38b._0xaf5953,0x11e,-_0x1cb38b._0x2f0b1b)](_0x4a4e0a[_0x4fa0f7(-_0x1cb38b._0x1b398c,-_0x1cb38b._0x44e60a,-_0x1cb38b._0x51b3b3,-_0x1cb38b._0x4264a5)](_0x25a9d1));}function flushOutputRegex(_0x7b5fb0,_0x33d03b,_0x6a92c9,_0x1751c8){const _0x5acfdf={_0x200610:0x11b,_0x4a27e9:0x2af,_0x14b037:0x1e2,_0xf14e02:0x75,_0x4db405:0xb4,_0x5714ec:0x178,_0x44c519:0x306,_0x1218b0:0x44,_0x4d614f:0x68,_0x50845d:0xc0,_0x327ca5:0x3c,_0x361330:0xed,_0x3ab430:0x5,_0x447224:0x102,_0x3ef60d:0x0,_0x55987e:0x190,_0x5a0507:0xf6,_0x295c6c:0x1df},_0x1d12e3={_0x384c4f:0x159,_0x45ab3d:0x4fd},_0x137bae={_0x4efe24:0x3a,_0x18b33a:0x126};if(!_0x6a92c9||_0x6a92c9[_0x4fcd8b(-0x178,-0x11a,-_0x5acfdf._0x200610,-_0x5acfdf._0x4a27e9)][_0x4fcd8b(-0x2b,-_0x5acfdf._0x14b037,_0x5acfdf._0xf14e02,_0x5acfdf._0x4db405)]===0x0)return;const _0x25cf9b=_0x6a92c9[_0x4fcd8b(-_0x5acfdf._0x5714ec,-_0x5acfdf._0x44c519,-_0x5acfdf._0x1218b0,-_0x5acfdf._0x4d614f)][_0x5f48d9(_0x5acfdf._0x50845d,-0xd3,_0x5acfdf._0x327ca5,-_0x5acfdf._0x361330)]('');_0x6a92c9[_0x4fcd8b(-0x178,-0x23e,_0x5acfdf._0x3ab430,-0x284)][_0x4fcd8b(-0x2b,_0x5acfdf._0x447224,_0x5acfdf._0x3ef60d,-_0x5acfdf._0x55987e)]=0x0;function _0x4fcd8b(_0x59bfbd,_0x47b5d0,_0x1d389d,_0x5d935f){return _0x1c3a85(_0x59bfbd-0x11b,_0x5d935f,_0x1d389d-_0x137bae._0x4efe24,_0x59bfbd- -_0x137bae._0x18b33a);}function _0x5f48d9(_0x217609,_0x2a4be6,_0xeea2ee,_0x20221d){return _0x515b8f(_0x217609-_0x1d12e3._0x384c4f,_0x2a4be6-0x1e4,_0x2a4be6,_0x217609- -_0x1d12e3._0x45ab3d);}_0x6a92c9[_0x4fcd8b(-0x9f,-0x4b,0x16,0x107)][_0x5f48d9(0x36,0x168,-_0x5acfdf._0x5a0507,_0x5acfdf._0x295c6c)](_0x25cf9b)&&emitChunk(_0x7b5fb0,_0x33d03b,_0x25cf9b,_0x1751c8);}function createBashTool(_0x290d59={}){const _0x22b178={_0x3d4edd:0x24,_0x1235c2:0x171,_0x3edcda:0x121,_0x52a549:0x87,_0x4bbbd8:0xe3,_0x383d05:0x334,_0x5b66eb:0x388,_0x181767:0x31d,_0x52f0b7:0x78,_0x2a9146:0x2,_0x2730bb:0xec,_0x3708de:0x222,_0x252029:0xee,_0x3bd78d:0xa8,_0xea3bc7:0x18e,_0x247d2d:0x1b9,_0xe7a66:0x287,_0x157593:0x17e,_0x25a94c:0x1b1,_0x5a5e76:0xbc,_0x4041a7:0xd6,_0x406426:0x3df,_0x332eae:0x17d,_0x598249:0xaf,_0x378ea5:0x2f4,_0x5b5a4f:0x50a,_0x2dcdb7:0x55a,_0x2a5658:0x4e,_0xc538a0:0x5a,_0x256284:0x72,_0x45a33c:0x112,_0x7bd0cb:0x5ab,_0x54e261:0x320,_0x37725f:0x2c7,_0x8c54a2:0x136,_0xafe660:0xe,_0x3504b4:0x115},_0x1d1823={_0x337a95:0x7f,_0x14f9cf:0x7d,_0x3d1b1d:0x152,_0x532ef2:0x313,_0x2dd844:0x154,_0xe0ec2d:0x90,_0x5a5a9f:0x167,_0x397eb3:0x139,_0xe80834:0x140,_0x1a6c1f:0x12a,_0x10c02f:0x80,_0x2fc585:0x348,_0x4fe2ce:0x8a,_0x304bac:0x2c,_0x1a3cd7:0x12e,_0xfeac63:0x189,_0xd9f9c9:0x39,_0x14e26a:0x85,_0x2a4476:0x88,_0x20a7b6:0x74,_0x18c9f5:0x257,_0x12c201:0x8,_0x4a01b5:0x18f,_0x37617b:0x2b3,_0xdccf4c:0x3bc,_0x1d0c70:0x164,_0x25486e:0x19b,_0x117526:0x5,_0x3281e2:0x1c,_0x271096:0x75,_0x234628:0x98,_0x5af4b8:0x2,_0x469017:0x2d0,_0x31a408:0x10f,_0x1ad64d:0x169,_0x1554ac:0x1f9,_0x955e6f:0x167,_0x1b2e85:0x1c1,_0x2eb09c:0x37,_0x2bb89c:0x2b,_0x434150:0x97,_0x48be28:0x27,_0x58460f:0x2ac,_0x4d1115:0x90,_0x358593:0x10d,_0x187594:0x44,_0x2daa99:0xab,_0x4b270c:0x134,_0x38ae8b:0xd3,_0x5a1046:0x175,_0xf199bb:0x7d,_0x5e724c:0x19b,_0x4b0b7a:0x19d,_0x30b8bf:0x110,_0x204b62:0xb0,_0xddffea:0x179,_0x4e5653:0xe6,_0x569df7:0x215,_0x23b7f7:0xc7,_0x5b5146:0x6e,_0x32a0a6:0xd6,_0x2f8e0e:0x9e,_0x4f9d99:0x1e1,_0x4eac10:0xb5,_0x186adc:0x48,_0x144a4f:0x43,_0x556540:0x200,_0x538329:0x293,_0x4db737:0x126,_0x5b865a:0x75,_0x149e07:0xea,_0x174de6:0x1a,_0x3a3e9c:0x4b,_0x40f961:0x115,_0x51e32f:0x7a,_0x9f6f2f:0x1cd,_0x3346e5:0x2ec,_0x7be9e3:0xdb,_0x5027a0:0xf6,_0xc76152:0x2ca,_0x4b065d:0x16f,_0x2ba902:0x142,_0x2da20b:0x170,_0x47e7a7:0xa7,_0x2f7465:0x154,_0x1b2694:0x483,_0x1ab752:0xc7,_0x30862e:0x1ad,_0x22b7c5:0x12a,_0x5a9c4f:0xab,_0x54f9a3:0x38,_0x2ea8d7:0x1a5,_0x167cc5:0xce,_0x5ae88e:0x145,_0x1dac36:0x81,_0x1870c8:0x19b,_0x3adcd4:0xa,_0x2a5503:0x28a,_0x5e6c74:0x142,_0x52cc68:0x17e,_0x543a67:0x150,_0x418967:0x170,_0x43c26c:0x9c,_0x7b029c:0x2cc,_0x1c9860:0x94,_0x1b6e62:0x168,_0x2acefd:0x90,_0x1d67c0:0x66,_0x2b30c2:0xa8,_0x3deda9:0x1cd,_0x31394b:0x16d,_0x574dd6:0xbe,_0x48ec6f:0x193,_0xe905c4:0xff},_0x9b2b52={_0x2059ee:0x4db,_0x513816:0x2de,_0x1f637c:0x255,_0x2a1eba:0x2d5,_0x33fa22:0x36a,_0x123989:0x2bd,_0x48bfdc:0x34e,_0x5da0ac:0x5f2,_0x4abd89:0x4a3,_0xee142e:0x52e,_0x553961:0x548},_0x3e44a2={_0x398554:0x37b,_0x23cdde:0x645,_0x3882a0:0x4f5,_0x35541d:0x4fa,_0x17755b:0x435,_0x43d45d:0x298},_0x3ddb9a={_0x20094e:0x16b,_0x16416a:0x5,_0x4c6a68:0x3f},_0x54ea62={_0x54b523:0x24,_0xe720d7:0x1a9},_0xe84d89={_0x58d838:0xbd,_0x1ae183:0x27c},_0x212a43=_0x50bfbd['resolve'](_0x290d59[_0x59a07b(_0x22b178._0x3d4edd,_0x22b178._0x1235c2,0x104,_0x22b178._0x3edcda)]??process['cwd']()),_0x647998=_0x290d59['allowedDirs']??[],_0xc505dc=_0x290d59[_0x18cb1a(0x1de,0x26,_0x22b178._0x52a549,_0x22b178._0x4bbbd8)]??DEFAULT_TIMEOUT_MS,_0xecdbd8=_0x290d59[_0x59a07b(0x383,0x31e,0x5b5,0x461)]??!![],_0x36714a=_0x290d59[_0x59a07b(_0x22b178._0x383d05,_0x22b178._0x5b66eb,0x332,_0x22b178._0x181767)]??_0x18cb1a(_0x22b178._0x52f0b7,0x16e,0x2a3,_0x22b178._0x2a9146);function _0x59a07b(_0x436250,_0x2c0449,_0x23effe,_0x1ee034){return _0x515b8f(_0x436250-0x5a,_0x2c0449-_0xe84d89._0x58d838,_0x23effe,_0x1ee034- -_0xe84d89._0x1ae183);}const _0x388f07=_0x290d59['scrubEnvKeys']??[];function _0x18cb1a(_0x347633,_0x2ce295,_0xb46c28,_0x4ae19d){return _0x1c3a85(_0x347633-_0x54ea62._0x54b523,_0x4ae19d,_0xb46c28-_0x54ea62._0xe720d7,_0x2ce295- -0x6d);}const _0x4682cb=_0x290d59[_0x18cb1a(0x2,_0x22b178._0x2730bb,0x19,_0x22b178._0x3708de)]??[],_0x312760=_0x290d59[_0x18cb1a(_0x22b178._0x252029,_0x22b178._0x3bd78d,0x1fb,0x1f)];return defineTool({'name':_0x36714a,'permissionClass':_0x18cb1a(-0xaf,-0x132,-_0x22b178._0xea3bc7,-_0x22b178._0x247d2d),'description':_0x290d59[_0x59a07b(_0x22b178._0xe7a66,_0x22b178._0x157593,_0x22b178._0x25a94c,0x288)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':_0x18cb1a(-_0x22b178._0x5a5e76,-0x4e,-0x7d,_0x22b178._0x4041a7)},'description':{'type':_0x59a07b(0x1cc,_0x22b178._0x406426,0x396,0x22c),'description':'User-facing\x20purpose:\x20what\x20the\x20command\x20does\x20and\x20the\x20goal\x20it\x20advances,\x20e.g.\x20\x27Run\x20auth\x20tests\x20to\x20verify\x20the\x20refresh\x20fix\x27.'},'cwd':{'type':'string'},'timeoutMs':{'type':_0x18cb1a(0xfe,_0x22b178._0x332eae,_0x22b178._0x598249,_0x22b178._0x378ea5)},'ignoreOutput':{'type':_0x59a07b(0x607,_0x22b178._0x5b5a4f,_0x22b178._0x2dcdb7,0x44e)},'outputRegex':{'type':_0x18cb1a(0xa9,-_0x22b178._0x2a5658,_0x22b178._0xc538a0,-_0x22b178._0x5a5e76),'description':_0x18cb1a(_0x22b178._0x256284,-_0x22b178._0x45a33c,-0x241,-0x26d)},'runInBackground':{'type':_0x59a07b(0x588,0x478,_0x22b178._0x7bd0cb,0x44e)}},'required':[_0x59a07b(0x329,_0x22b178._0x54e261,_0x22b178._0x37725f,0x228),_0x18cb1a(_0x22b178._0x8c54a2,_0x22b178._0xafe660,-_0x22b178._0x3504b4,0x11a)]},async *'execute'(_0x5e5d48,_0x3f157d){const _0x5c4b29={_0x6c65e9:0x15c,_0x35c2f:0x1e9,_0x3975ce:0x30,_0x4335f2:0x91,_0x1ba771:0x35,_0x3bdd50:0x3a9,_0x55e535:0x3a,_0x43013c:0x41e,_0x428579:0x324},_0x18928c={_0x196fb2:0x1a6,_0x29e8b7:0xb6},_0x423087={_0x468b15:0x35f},_0x40a196={_0x115a0e:0x3a1,_0x2dc408:0x31d,_0x2755b4:0x2bf,_0x3f8264:0x204},_0x4a8ad1={_0x3c87ad:0x1bb,_0x353517:0x71,_0x161ae7:0x43f},_0x35fc2c={_0x5c6991:0x7,_0x3755ed:0x8f,_0x33bc42:0x1cd},_0x2c5027={_0x5a7910:0x175},_0x2ee580=_0x5e5d48['timeoutMs']??_0xc505dc;if(!Number[_0x4d4d49(-_0x1d1823._0x337a95,_0x1d1823._0x14f9cf,0xa7,-_0x1d1823._0x3d1b1d)](_0x2ee580)||_0x2ee580<0x1)throw new ToolExecutionError(_0x222bcd(-_0x1d1823._0x532ef2,-0x110,-0x1c2,-_0x1d1823._0x2dd844),{'command':_0x5e5d48[_0x4d4d49(_0x1d1823._0xe0ec2d,-0x7f,0xf9,-0x75)]});function _0x4d4d49(_0x5ac4e6,_0xc4dcf6,_0x259bcb,_0x3d83ad){return _0x18cb1a(_0x5ac4e6-0xcb,_0x5ac4e6-0xe2,_0x259bcb-0x48,_0xc4dcf6);}throwIfAborted(_0x3f157d['signal']);const _0x3dbf97=_0x5e5d48[_0x4d4d49(_0x1d1823._0x5a5a9f,_0x1d1823._0x397eb3,_0x1d1823._0xe80834,_0x1d1823._0x1a6c1f)]??![],_0x8d7047=resolveBashExecutionTarget(_0x5e5d48,{'defaultCwd':_0x212a43,'allowedDirs':_0x647998,'shellPath':_0x290d59[_0x4d4d49(0x1c8,_0x1d1823._0x10c02f,_0x1d1823._0x2fc585,_0x1d1823._0x4fe2ce)]}),{cwd:_0x172d7b,shellPath:_0x4fabf8}=_0x8d7047,_0x3fdfc6=buildShellArgs(_0x5e5d48[_0x4d4d49(0x90,_0x1d1823._0x304bac,0xc9,0x1bb)],_0x4fabf8),_0x5f0294=_0x500290[_0x4d4d49(0x1f4,0x97,_0x1d1823._0x1a3cd7,_0x1d1823._0xfeac63)]()===_0x222bcd(_0x1d1823._0xd9f9c9,_0x1d1823._0x14e26a,0x9f,-0xb0),_0xe8a0c9=buildChildEnv(_0x290d59[_0x4d4d49(_0x1d1823._0x2a4476,-_0x1d1823._0x20a7b6,-0x9e,-0x136)],_0x388f07,_0x4682cb);if(_0x5e5d48[_0x4d4d49(0x1ba,_0x1d1823._0x18c9f5,0xa2,0x342)]){if(!_0x312760)throw new ToolExecutionError(_0x222bcd(0x10e,-_0x1d1823._0x12c201,0x17,0xd7),{'command':_0x5e5d48[_0x222bcd(-0x176,-_0x1d1823._0x4a01b5,-0x26e,-0xe1)]});throwIfAborted(_0x3f157d[_0x4d4d49(_0x1d1823._0x37617b,0x24e,_0x1d1823._0xdccf4c,_0x1d1823._0x1d0c70)]),await _0x290d59['verifyExecution']?.(_0x8d7047,_0x3f157d[_0x222bcd(0x6f,-_0x1d1823._0x25486e,_0x1d1823._0x117526,-_0x1d1823._0x3281e2)],_0x3f157d),throwIfAborted(_0x3f157d['signal']);const _0x413e4a=_0x312760['reserve']();let _0x14a329;try{_0x14a329=_0x1ad1f1(_0x4fabf8,_0x3fdfc6,{'cwd':_0x172d7b,'env':_0xe8a0c9,'stdio':[_0x4d4d49(-0x43,0x149,-0xcc,0x161),'pipe',_0x4d4d49(-_0x1d1823._0x271096,-0x1e9,-_0x1d1823._0x234628,-0x180)],'shell':![],'windowsHide':!![],'detached':!_0x5f0294});}catch(_0x17c0a9){_0x312760['release'](_0x413e4a);throw mapSpawnError(_0x17c0a9,{'command':_0x5e5d48[_0x4d4d49(0x90,0x98,-_0x1d1823._0x5af4b8,-0xb5)],'cwd':_0x172d7b,'shellPath':_0x4fabf8});}let _0x484962;try{_0x484962=_0x312760[_0x4d4d49(_0x1d1823._0x469017,0x28c,_0x1d1823._0x31a408,0x48e)](_0x413e4a,{'child':_0x14a329,'command':_0x5e5d48['command'],'cwd':_0x172d7b,'stripAnsi':_0xecdbd8,...!_0x5f0294&&_0x14a329['pid']!==void 0x0?{'processGroupId':_0x14a329['pid']}:{}});}catch(_0x4462b0){_0x312760['release'](_0x413e4a),_0x14a329['once'](_0x4d4d49(0x106,_0x1d1823._0x1ad64d,-0x9e,_0x1d1823._0x1554ac),()=>{});try{killProcessGroup(_0x14a329,_0x5f0294);}catch{}throw _0x4462b0;}return createToolOutput(_0x222bcd(-_0x1d1823._0x955e6f,0xa2,_0x1d1823._0x1b2e85,_0x1d1823._0x2eb09c)+_0x484962['shellId']+_0x4d4d49(_0x1d1823._0x2bb89c,0x1e8,_0x1d1823._0x434150,0x12c)+(_0x484962[_0x222bcd(_0x1d1823._0x48be28,0x336,_0x1d1823._0x58460f,0x179)]??'?')+_0x4d4d49(0x119,0xa3,0xb0,0x55),{'shellId':_0x484962['shellId'],'status':_0x484962['status'],'command':_0x484962[_0x4d4d49(_0x1d1823._0x4d1115,-0x132,_0x1d1823._0x358593,-0xbb)],'description':_0x5e5d48['description'],'cwd':_0x484962[_0x4d4d49(-0x4d,-_0x1d1823._0x187594,_0x1d1823._0x2daa99,_0x1d1823._0x4b270c)],'pid':_0x484962[_0x222bcd(_0x1d1823._0x38ae8b,_0x1d1823._0x5a1046,_0x1d1823._0xf199bb,0x179)]??null});}let _0xe91550,_0x356109;if(_0x5e5d48[_0x222bcd(-_0x1d1823._0x5e724c,_0x1d1823._0x4b0b7a,-_0x1d1823._0x30b8bf,-0x13)]!==void 0x0)try{const _0x5738c7=new RegExp(_0x5e5d48[_0x222bcd(-0x4c,-0x31,_0x1d1823._0x204b62,-0x13)]);_0xe91550={'regex':_0x5738c7,'trailingChunks':[]},_0x356109={'regex':_0x5738c7,'trailingChunks':[]};}catch(_0x90ad0a){throw new ToolExecutionError(_0x4d4d49(_0x1d1823._0xddffea,0x1c5,0x122,_0x1d1823._0x4e5653)+(_0x90ad0a instanceof Error?_0x90ad0a[_0x222bcd(0xf0,-_0x1d1823._0x569df7,-0x13f,-0xcd)]:String(_0x90ad0a)),{'command':_0x5e5d48[_0x4d4d49(0x90,-_0x1d1823._0x23b7f7,0x11e,-_0x1d1823._0x5b5146)],'outputRegex':_0x5e5d48[_0x222bcd(-_0x1d1823._0x32a0a6,0x84,-0x1b9,-0x13)]});}await _0x290d59[_0x4d4d49(0x7d,_0x1d1823._0x2f8e0e,0x87,_0x1d1823._0x4f9d99)]?.(_0x8d7047,_0x3f157d[_0x222bcd(-_0x1d1823._0x4eac10,-0x15,0xaf,-0x1c)],_0x3f157d),throwIfAborted(_0x3f157d[_0x222bcd(0x1dd,-0x7c,-_0x1d1823._0x186adc,0x142)]);let _0x4fb0f5;try{_0x4fb0f5=_0x1ad1f1(_0x4fabf8,_0x3fdfc6,{'cwd':_0x172d7b,'env':_0xe8a0c9,'stdio':_0x3dbf97?['ignore','ignore',_0x4d4d49(-_0x1d1823._0x144a4f,-0x19e,0x42,-_0x1d1823._0x556540)]:[_0x222bcd(-_0x1d1823._0x538329,-0x1b,-0xaf,-0x1b4),_0x4d4d49(-0x75,0x85,-_0x1d1823._0x4db737,-0x11c),_0x4d4d49(-_0x1d1823._0x5b865a,-0x220,_0x1d1823._0x149e07,_0x1d1823._0x174de6)],'shell':![],'windowsHide':!![],'detached':!_0x5f0294});}catch(_0x4d766b){throw mapSpawnError(_0x4d766b,{'command':_0x5e5d48[_0x4d4d49(_0x1d1823._0xe0ec2d,_0x1d1823._0x3a3e9c,0x11a,0x191)],'cwd':_0x172d7b,'shellPath':_0x4fabf8});}const _0x1617e8=[],_0x1d5444=[],_0x5e7d07=new _0x162ebb('utf8'),_0x6911ad=new _0x162ebb(_0x222bcd(_0x1d1823._0x40f961,-0x8e,-0x1d5,-_0x1d1823._0x51e32f));let _0x4b51f8,_0x4cef8a=![],_0x3f0b01;const _0x8c96e9=()=>{if(!_0x4b51f8)return;const _0x48858a=_0x4b51f8;_0x4b51f8=void 0x0,_0x48858a();},_0x2798d2=async()=>{if(_0x1d5444[_0x509e5b(_0x3ddb9a._0x20094e,-_0x3ddb9a._0x16416a,-_0x3ddb9a._0x4c6a68,0x10)]>0x0||_0x4cef8a)return;function _0x509e5b(_0xb7bddd,_0x22c1e3,_0x56e6af,_0x2a889c){return _0x222bcd(_0xb7bddd,_0x22c1e3-_0x2c5027._0x5a7910,_0x56e6af-0x1d,_0x22c1e3- -0x4);}await new Promise(_0x206ba1=>{_0x4b51f8=_0x206ba1;});};function _0x222bcd(_0x44bd3c,_0x275ff6,_0x390ec4,_0x96c22a){return _0x18cb1a(_0x44bd3c-_0x35fc2c._0x5c6991,_0x96c22a- -_0x35fc2c._0x3755ed,_0x390ec4-_0x35fc2c._0x33bc42,_0x44bd3c);}const _0x11756a=_0x4ca2e7=>{appendChunk(_0x1617e8,_0x1d5444,_0x5e7d07['write'](_0x4ca2e7),_0xecdbd8,_0x8c96e9,_0xe91550);},_0x475f7f=_0x503318=>{function _0x3d5b92(_0x58f8d0,_0x5db07f,_0x293f7f,_0x3132a0){return _0x222bcd(_0x3132a0,_0x5db07f-_0x4a8ad1._0x3c87ad,_0x293f7f-_0x4a8ad1._0x353517,_0x293f7f-_0x4a8ad1._0x161ae7);}appendChunk(_0x1617e8,_0x1d5444,_0x6911ad[_0x3d5b92(_0x40a196._0x115a0e,_0x40a196._0x2dc408,_0x40a196._0x2755b4,_0x40a196._0x3f8264)](_0x503318),_0xecdbd8,_0x8c96e9,_0x356109);};_0x4fb0f5['stdout']?.['on'](_0x4d4d49(_0x1d1823._0x9f6f2f,_0x1d1823._0x3346e5,_0x1d1823._0x7be9e3,0x13e),_0x11756a),_0x4fb0f5['stderr']?.['on'](_0x4d4d49(_0x1d1823._0x9f6f2f,0x26b,_0x1d1823._0x5027a0,0x68),_0x475f7f);let _0x509967=![],_0x1d00e7;const _0x2f58f4=addAbortListener(_0x3f157d[_0x222bcd(-_0x1d1823._0x187594,_0x1d1823._0xc76152,_0x1d1823._0x4b065d,_0x1d1823._0x2ba902)],()=>{function _0x3dfa90(_0x263610,_0x95a7aa,_0x3a850c,_0x5dbfd2){return _0x4d4d49(_0x263610-_0x423087._0x468b15,_0x95a7aa,_0x3a850c-0x5d,_0x5dbfd2-0x34);}_0x3f0b01=toAbortError(_0x3f157d[_0x30ba10(_0x3e44a2._0x398554,_0x3e44a2._0x23cdde,_0x3e44a2._0x3882a0,_0x3e44a2._0x35541d)][_0x3dfa90(0x37a,_0x3e44a2._0x17755b,0x2ae,_0x3e44a2._0x43d45d)]),_0x4cef8a=!![],_0x8c96e9();function _0x30ba10(_0x1b2ee0,_0x13b9c4,_0x3c9abe,_0x4335dd){return _0x4d4d49(_0x4335dd-0x247,_0x3c9abe,_0x3c9abe-_0x18928c._0x196fb2,_0x4335dd-_0x18928c._0x29e8b7);}try{killProcessGroup(_0x4fb0f5,_0x5f0294);}catch{}});try{const _0x9048c0=new Promise((_0x2135de,_0x4bcbee)=>{const _0x47b27a={_0x3f1d3d:0x11e,_0x593763:0x7},_0x2c658c={_0xc4b32f:0xd8},_0x206b9b=()=>{const _0x2278c3={_0x226bec:0x6};_0x1d00e7&&(clearTimeout(_0x1d00e7),_0x1d00e7=void 0x0);function _0x272289(_0x5e170b,_0x35e7e1,_0x46be6a,_0x5080fb){return _0x2a2f(_0x35e7e1-_0x2278c3._0x226bec,_0x5e170b);}_0x4fb0f5[_0x272289(_0x5c4b29._0x6c65e9,_0x5c4b29._0x35c2f,0x38f,0x391)](_0x167736(-_0x5c4b29._0x3975ce,0x316,0x160,_0x5c4b29._0x4335f2),_0x27897e);function _0x167736(_0x4a9a88,_0x385e06,_0x35fa55,_0x1f512f){return _0x2a2f(_0x35fa55- -0x93,_0x385e06);}_0x4fb0f5[_0x272289(_0x5c4b29._0x1ba771,0x1e9,_0x5c4b29._0x3bdd50,_0x5c4b29._0x55e535)](_0x167736(_0x5c4b29._0x43013c,0x34a,_0x5c4b29._0x428579,0x218),_0x1af775);},_0x27897e=_0x214a91=>{_0x4cef8a=!![],_0x8c96e9(),_0x206b9b(),_0x4bcbee(_0x3f0b01??_0x214a91);};function _0x2fddf0(_0x16aa61,_0x116900,_0x3a95fb,_0x3e602f){return _0x222bcd(_0x116900,_0x116900-0x27,_0x3a95fb-0xab,_0x16aa61- -0x149);}const _0x1af775=(_0x1761f7,_0x509fa7)=>{_0x509967=!![],appendChunk(_0x1617e8,_0x1d5444,_0x5e7d07['end'](),_0xecdbd8,_0x8c96e9,_0xe91550),appendChunk(_0x1617e8,_0x1d5444,_0x6911ad['end'](),_0xecdbd8,_0x8c96e9,_0x356109),flushOutputRegex(_0x1617e8,_0x1d5444,_0xe91550,_0x8c96e9),flushOutputRegex(_0x1617e8,_0x1d5444,_0x356109,_0x8c96e9),_0x4cef8a=!![],_0x8c96e9(),_0x206b9b();if(_0x3f0b01){_0x4bcbee(_0x3f0b01);return;}_0x2135de({'code':_0x1761f7,'signal':_0x509fa7});};function _0x52d33c(_0xf538a7,_0x1f4f5c,_0x36c4aa,_0x9fb7be){return _0x4d4d49(_0x36c4aa-0x264,_0xf538a7,_0x36c4aa-0x104,_0x9fb7be-_0x2c658c._0xc4b32f);}_0x1d00e7=setTimeout(()=>{_0x4cef8a=!![],_0x8c96e9();function _0x4d1518(_0x45ea39,_0x4f679a,_0x3c2566,_0x2b6ed7){return _0x2a2f(_0x2b6ed7-0xe,_0x45ea39);}_0x206b9b();try{killProcessGroup(_0x4fb0f5,_0x5f0294);}catch{}_0x4bcbee(new ToolExecutionError('Command\x20timed\x20out\x20after\x20'+_0x2ee580+'\x20ms',{'command':_0x5e5d48[_0x4d1518(0x31e,_0x47b27a._0x3f1d3d,_0x47b27a._0x593763,0x18b)],'cwd':_0x172d7b,'shellPath':_0x4fabf8,'timeoutMs':_0x2ee580,'timedOut':!![]}));},_0x2ee580),_0x4fb0f5[_0x52d33c(_0x9b2b52._0x2059ee,0x243,0x34e,_0x9b2b52._0x513816)](_0x52d33c(_0x9b2b52._0x1f637c,_0x9b2b52._0x2a1eba,_0x9b2b52._0x33fa22,0x4b9),_0x27897e),_0x4fb0f5[_0x52d33c(_0x9b2b52._0x123989,0x260,_0x9b2b52._0x48bfdc,0x34c)](_0x52d33c(_0x9b2b52._0x5da0ac,_0x9b2b52._0x4abd89,_0x9b2b52._0xee142e,_0x9b2b52._0x553961),_0x1af775);});while(_0x1d5444[_0x4d4d49(_0x1d1823._0x2da20b,_0x1d1823._0x47e7a7,0x7f,0x2b)]>0x0||!_0x4cef8a){if(_0x1d5444[_0x222bcd(0x15c,0x9b,_0x1d1823._0x2f7465,-0x1)]===0x0){await _0x2798d2();continue;}const _0x17ee5e=_0x1d5444[_0x4d4d49(0x2d9,0x381,_0x1d1823._0x1b2694,0x2d4)]();_0x17ee5e!==void 0x0&&(yield _0x17ee5e);}const _0x542c98=await _0x9048c0,_0x1f85f9=_0x3dbf97?_0x4d4d49(_0x1d1823._0x1ab752,0xc7,_0x1d1823._0x30862e,_0x1d1823._0x22b7c5)+(_0x542c98[_0x222bcd(0x18d,-0xb4,0x1ed,_0x1d1823._0x5a9c4f)]??0x0):_0x1617e8[_0x222bcd(0xc9,0x1cb,0x145,_0x1d1823._0x54f9a3)](''),_0x1ce9e6={'command':_0x5e5d48[_0x222bcd(-_0x1d1823._0x2ea8d7,-0x164,_0x1d1823._0x167cc5,-0xe1)],'description':_0x5e5d48[_0x222bcd(-_0x1d1823._0x5ae88e,-0x14c,0xa,-_0x1d1823._0x1dac36)],'cwd':_0x172d7b,'exitCode':_0x542c98[_0x4d4d49(0x21c,_0x1d1823._0x1870c8,0x2a6,0x260)]??0x0,'signal':_0x542c98[_0x222bcd(_0x1d1823._0x3adcd4,_0x1d1823._0x2a5503,0x233,_0x1d1823._0x5e6c74)],'ignoreOutput':_0x3dbf97,'outputRegex':_0x5e5d48[_0x4d4d49(0x15e,0x261,_0x1d1823._0x52cc68,0x172)]??null,'shellPath':_0x4fabf8,'timeoutMs':_0x2ee580};if(_0x542c98[_0x4d4d49(0x21c,0xe1,0x9b,0x19f)]!==0x0)throw new ToolExecutionError(_0x1f85f9||_0x4d4d49(0x1ad,-_0x1d1823._0x117526,_0x1d1823._0x543a67,0x87)+(_0x542c98['code']??0x0),_0x1ce9e6);return createToolOutput(_0x1f85f9,_0x1ce9e6);}catch(_0x5a4575){while(_0x1d5444[_0x4d4d49(_0x1d1823._0x418967,0x2fa,_0x1d1823._0x43c26c,0x222)]>0x0){const _0x4e8ccc=_0x1d5444[_0x222bcd(_0x1d1823._0x7b029c,0x1db,_0x1d1823._0x1c9860,_0x1d1823._0x1b6e62)]();_0x4e8ccc!==void 0x0&&(yield _0x4e8ccc);}if(_0x5a4575 instanceof ToolExecutionError)throw _0x5a4575;if(_0x3f0b01)throw _0x3f0b01;throw mapSpawnError(_0x5a4575,{'command':_0x5e5d48[_0x4d4d49(_0x1d1823._0x2acefd,_0x1d1823._0x1d67c0,0x1ba,_0x1d1823._0x2b30c2)],'cwd':_0x172d7b,'shellPath':_0x4fabf8});}finally{_0x1d00e7&&clearTimeout(_0x1d00e7);_0x2f58f4(),_0x4fb0f5[_0x222bcd(-0x70,0x233,0x16e,0x109)]?.['off'](_0x4d4d49(_0x1d1823._0x3deda9,0x299,0xe8,0x12),_0x11756a),_0x4fb0f5['stderr']?.[_0x4d4d49(0xf6,-0x5b,_0x1d1823._0x31394b,_0x1d1823._0x574dd6)]('data',_0x475f7f);if(!_0x509967&&_0x4fb0f5[_0x222bcd(_0x1d1823._0x48ec6f,0x24b,0x1d9,0x179)]&&!_0x4fb0f5[_0x222bcd(0x11a,0xe0,_0x1d1823._0xe905c4,_0x1d1823._0x1d67c0)])try{killProcessGroup(_0x4fb0f5,_0x5f0294);}catch{}}}});}function createShellExecTool(_0x549f83={}){return createBashTool(_0x549f83);}import{readdir,readFile as _0x7653e2}from'fs/promises';import{extname,join as _0x6c31e1}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x89521d,join,relative as _0x2aece3,resolve as _0x1adbde}from'path';import{readdir as _0x1c1e96,readFile as _0x54a0a9}from'fs/promises';import{join as _0x25c847,relative as _0x4a07d2,sep}from'path';import{delimiter}from'path';import{mkdir as _0x4f2802,rm,stat as _0x31f675,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x3a286f}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x1c8ddf,rename as _0xb1fafb,rm as _0x2a7c4f,stat as _0x18de0c,writeFile as _0x2d522d}from'fs/promises';import{homedir as _0x290a2d}from'os';import{dirname as _0x251c3d,isAbsolute as _0x195bff,join as _0x3f2f94,resolve as _0x27b12b}from'path';import{parse as _0xfa65f2,stringify as _0x31d5eb}from'yaml';import{randomUUID as _0x4a73b5}from'crypto';import{cp,lstat,mkdir as _0x444959,readdir as _0x33bc81,readFile as _0x355eaf,rename,rm as _0x18aa2f,writeFile as _0x3ffb2c}from'fs/promises';import{homedir}from'os';import{join as _0x2a2353}from'path';import{parse as _0x455399,stringify as _0x304346}from'yaml';import{z}from'zod';import{readdir as _0x2ea420,readFile as _0x380c38}from'fs/promises';import{join as _0x1eba20}from'path';import{randomUUID as _0x6a92b0}from'crypto';import{mkdir as _0x2fb5cb,readdir as _0x7d547b,readFile as _0x372a6c,rename as _0x29710b,rm as _0x1cd944,writeFile as _0x481d1e}from'fs/promises';import{homedir as _0xc10a39}from'os';import{basename as _0x96717a,isAbsolute as _0x4e61a0,join as _0x32e909,relative as _0x59449b,resolve as _0x501140}from'path';import{parse as _0x5a2ac7,stringify as _0x53e463}from'yaml';import{delimiter as _0x6a079c,resolve as _0x300a71}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x58d893){const _0x2503fb={_0x128beb:0xe9,_0x1399e9:0x177,_0x345aa3:0x548,_0x447ee2:0x54a,_0x1a7f0c:0x548,_0x5f041c:0x359,_0x999a95:0x543,_0x54a723:0xd1,_0x39f93c:0x104,_0x6f7f17:0x841,_0x11200b:0x7da,_0x46632f:0x512,_0x27f09f:0x6bb},_0x1e0e51={_0x199a7d:0x162},_0x562a9d={_0x1badab:0xb0},_0x30a72d=[];let _0x5dd78b='',_0x3f09bb=0x0;function _0x42748d(_0x5df5f4,_0x37be1e,_0x351323,_0x395338){return _0x1c3a85(_0x5df5f4-_0x562a9d._0x1badab,_0x5df5f4,_0x351323-0x196,_0x37be1e- -0x12);}while(_0x3f09bb<_0x58d893[_0x42748d(0x23b,_0x2503fb._0x128beb,0x65,_0x2503fb._0x1399e9)]){const _0x3ad483=_0x58d893[_0x3f09bb];if(_0x3ad483==='\x5c'&&_0x3f09bb+0x1<_0x58d893[_0x532682(0x4e1,0x474,0x5f4,_0x2503fb._0x345aa3)])_0x5dd78b+=_0x58d893[_0x3f09bb+0x1],_0x3f09bb+=0x2;else{if(_0x3ad483==='\x22'||_0x3ad483==='\x27'){const _0x188005=_0x3ad483;_0x3f09bb++;while(_0x3f09bb<_0x58d893[_0x532682(_0x2503fb._0x447ee2,0x691,0x3c7,_0x2503fb._0x1a7f0c)]&&_0x58d893[_0x3f09bb]!==_0x188005){_0x58d893[_0x3f09bb]==='\x5c'&&_0x3f09bb+0x1<_0x58d893['length']?(_0x5dd78b+=_0x58d893[_0x3f09bb+0x1],_0x3f09bb+=0x2):(_0x5dd78b+=_0x58d893[_0x3f09bb],_0x3f09bb++);}_0x3f09bb++;}else _0x3ad483!==void 0x0&&/\s/[_0x532682(_0x2503fb._0x5f041c,_0x2503fb._0x999a95,0x3a8,0x4f7)](_0x3ad483)?(_0x5dd78b&&(_0x30a72d[_0x42748d(_0x2503fb._0x54a723,0x25c,0x351,_0x2503fb._0x39f93c)](_0x5dd78b),_0x5dd78b=''),_0x3f09bb++):(_0x5dd78b+=_0x3ad483,_0x3f09bb++);}}function _0x532682(_0x26b1a2,_0x26ff97,_0x8d6d46,_0x203cdf){return _0x1c3a85(_0x26b1a2-0x76,_0x26b1a2,_0x8d6d46-_0x1e0e51._0x199a7d,_0x203cdf-0x44d);}if(_0x5dd78b)_0x30a72d[_0x532682(_0x2503fb._0x6f7f17,_0x2503fb._0x11200b,_0x2503fb._0x46632f,_0x2503fb._0x27f09f)](_0x5dd78b);return _0x30a72d;}function renderCommandInstructions(_0x134893){const _0x2e97c3={_0x55361c:0xb6,_0x4be3b1:0x4c,_0x5beb1f:0x23,_0x45f98d:0x104,_0x2bcbcf:0x14e,_0x68da5e:0x119,_0x5aa7a7:0x136,_0x4c3759:0x14b,_0x3731d8:0x17b,_0x32e87c:0x8c,_0x48d798:0x2f2,_0x3346c0:0x401,_0x34a2d7:0x42e,_0x3a8079:0x4a9,_0x344450:0xff,_0x43d4d4:0x27b,_0x1b9f69:0x27d,_0xcb071:0x67,_0x2ef99d:0x32b,_0x611988:0x222,_0x335be0:0x3fe,_0x4a6248:0x1d0},_0x994014={_0x5cbc3b:0x309},_0x5200a0={_0x40c1a2:0x20e,_0x37b692:0x1da},_0x2ce929={_0x56b463:0x1a0,_0x44b9b9:0x1d3,_0x565025:0x3a};let _0x28c868=_0x134893[_0x57f6ea(0x2c,_0x2e97c3._0x55361c,_0x2e97c3._0x4be3b1,_0x2e97c3._0x5beb1f)],_0x268f5d=![];const _0x33450b=tokenizeCommandArguments(_0x134893['argumentsText']);_0x28c868=_0x28c868[_0x5d1156(_0x2e97c3._0x45f98d,0x18f,0x222,0x69)](/\$ARGUMENTS\[(\d+)\]/g,(_0x467054,_0x13cc00)=>{return _0x268f5d=!![],_0x33450b[Number(_0x13cc00)]??'';});function _0x57f6ea(_0x577e56,_0x40b65e,_0x41c0d9,_0x49f64f){return _0x1c3a85(_0x577e56-_0x2ce929._0x56b463,_0x41c0d9,_0x41c0d9-_0x2ce929._0x44b9b9,_0x577e56- -_0x2ce929._0x565025);}_0x28c868=_0x28c868[_0x57f6ea(0x68,-_0x2e97c3._0x2bcbcf,-0xb1,_0x2e97c3._0x68da5e)](/\$ARGUMENTS\b/g,()=>{const _0x5b6fcf={_0xaf0684:0x1d7};_0x268f5d=!![];function _0x371499(_0x4e7605,_0x40ec12,_0x5e0c6c,_0x313236){return _0x57f6ea(_0x5e0c6c-0x2e,_0x40ec12-_0x5b6fcf._0xaf0684,_0x4e7605,_0x313236-0x82);}return _0x134893[_0x371499(0x17e,_0x5200a0._0x40c1a2,_0x5200a0._0x37b692,0x144)];});if(_0x134893[_0x57f6ea(_0x2e97c3._0x5aa7a7,_0x2e97c3._0x4c3759,_0x2e97c3._0x3731d8,-_0x2e97c3._0x32e87c)]&&_0x134893[_0x57f6ea(0x136,0x19,0x15,_0x2e97c3._0x48d798)][_0x57f6ea(0xc1,-0xb2,0x3e,-0xde)]>0x0)for(let _0x533a0d=0x0;_0x533a0d<_0x134893[_0x5d1156(_0x2e97c3._0x3346c0,_0x2e97c3._0x34a2d7,0x2f0,_0x2e97c3._0x3a8079)][_0x5d1156(0x29c,_0x2e97c3._0x344450,_0x2e97c3._0x43d4d4,0x152)];_0x533a0d++){const _0x16ced6=_0x134893['argumentNames'][_0x533a0d];if(_0x16ced6){const _0x2fb2e9=new RegExp('\x5c$'+_0x16ced6+'\x5cb','g');_0x28c868=_0x28c868[_0x5d1156(0x246,_0x2e97c3._0x1b9f69,0x222,_0x2e97c3._0xcb071)](_0x2fb2e9,()=>{return _0x268f5d=!![],_0x33450b[_0x533a0d]??'';});}}function _0x5d1156(_0x325cc2,_0x1b1daf,_0x5bb1d0,_0x210ef7){return _0x515b8f(_0x325cc2-0xc1,_0x1b1daf-0x3b,_0x325cc2,_0x5bb1d0- -_0x994014._0x5cbc3b);}return _0x28c868=_0x28c868[_0x5d1156(0x381,_0x2e97c3._0x2ef99d,_0x2e97c3._0x611988,0xb1)](/\$(\d+)\b/g,(_0x188016,_0x587104)=>{return _0x268f5d=!![],_0x33450b[Number(_0x587104)]??'';}),!_0x268f5d&&_0x134893[_0x5d1156(0x23b,0x4dc,0x366,_0x2e97c3._0x335be0)]['trim']()&&(_0x28c868=_0x28c868+_0x5d1156(0x379,_0x2e97c3._0x4a6248,0x1c7,0x1a)+_0x134893['argumentsText']),_0x28c868;}var PROVIDER_API_KEY_ENVS=[{'env':'OPENROUTER_API_KEY','provider':_0x515b8f(0x83f,0x5a2,0x815,0x6fd)},{'env':_0x1c3a85(0x199,0x333,-0x31,0x174),'provider':'anthropic'},{'env':_0x1c3a85(0x43e,0x1ea,0x19f,0x283),'provider':_0x1c3a85(-0x5,0xcd,-0xd1,-0xe6)},{'env':'GITHUB_TOKEN','provider':_0x515b8f(0x362,0x409,0x33f,0x3a3)},{'env':_0x515b8f(0x601,0x616,0x2ed,0x45b),'provider':_0x1c3a85(0x19a,0x268,0x204,0x1a1)},{'env':_0x515b8f(0x587,0x33b,0x4ff,0x4b1),'provider':'deepinfra'},{'env':_0x1c3a85(0x67,-0x66,0x4a,0xcb),'provider':_0x1c3a85(0x1de,0x3aa,0xb8,0x26b)},{'env':_0x1c3a85(0x120,0x93,0x15d,0x48),'provider':_0x1c3a85(0x76,-0x167,0x6,-0x7f)},{'env':_0x1c3a85(-0x9,0x123,0x41,-0x29),'provider':_0x515b8f(0x750,0x6bc,0x5bb,0x70d)},{'env':'KIMI_API_KEY','provider':'kimi'},{'env':_0x1c3a85(-0xae,0xeb,-0x7b,-0x72),'provider':_0x1c3a85(-0xb,0x1bb,-0x2,0x54)},{'env':_0x515b8f(0x56c,0x5a9,0x403,0x5a5),'provider':'deepseek'},{'env':_0x515b8f(0x5d5,0x519,0x5b0,0x6d9),'provider':_0x515b8f(0x77a,0x752,0x732,0x658)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x1c3a85(0x8b,-0x61,0xfd,-0xaf)](_0x473b5a=>_0x473b5a[_0x1c3a85(-0x123,0x194,0xb2,0x13)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY',_0x515b8f(0x3e6,0x37e,0x292,0x3c3),'GOOGLE_CSE_CX'],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,'BASH_ENV',_0x1c3a85(0x171,0xc3,0x2ed,0x18e),_0x515b8f(0x539,0x6ca,0x63e,0x696),'BASHOPTS',_0x515b8f(0x669,0x448,0x506,0x5b9),'GLOBIGNORE'],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x1c3a85(-0x7a,0x101,-0xd1,0xca)](Object[_0x515b8f(0x6e0,0x55e,0x5d0,0x61e)]),_0x515b8f(0x61e,0x524,0x4a1,0x61e)]);function prototypeSafeRecord(_0x39d43b){const _0x36b2ce={_0x332eb4:0x1e2,_0x117b4a:0x349,_0x12750e:0x4b4,_0x1df2b8:0x458,_0x16e286:0x3f6,_0x4d3029:0x52f,_0x242dd8:0x41d,_0x52efcb:0x4df,_0x452abc:0x4df},_0x4bfe28={_0xea38a1:0x202,_0x5d4a3d:0x1b4},_0x51e4f8={_0x2262d4:0x376},_0x19459f={_0x59d0fb:0x142,_0x47fb6a:0x58,_0x2fd271:0x38};function _0x1f304d(_0x10e1c6,_0x3d7dfe,_0x4bd364,_0x56e129){return _0x515b8f(_0x10e1c6-_0x19459f._0x59d0fb,_0x3d7dfe-_0x19459f._0x47fb6a,_0x56e129,_0x3d7dfe-_0x19459f._0x2fd271);}function _0x3fa74f(_0x2016a1,_0x3b3b07,_0x53072f,_0x3e6e6a){return _0x1c3a85(_0x2016a1-0x3c,_0x3b3b07,_0x53072f-0xbb,_0x53072f-_0x51e4f8._0x2262d4);}return z[_0x3fa74f(_0x36b2ce._0x332eb4,0x249,0x340,_0x36b2ce._0x117b4a)](_0x4da46a=>{const _0x27d9b7={_0x1f0841:0xaf,_0x5c9492:0x8c};function _0x379f5e(_0x259766,_0x3d232c,_0x288bde,_0x2b0a64){return _0x3fa74f(_0x259766-0xc6,_0x288bde,_0x259766- -0x4db,_0x2b0a64-0x70);}if(_0x4da46a===null||typeof _0x4da46a!=='object'||Array['isArray'](_0x4da46a))return null;function _0x4e636c(_0x146491,_0x5e15f6,_0xd4caaf,_0x4af865){return _0x3fa74f(_0x146491-_0x27d9b7._0x1f0841,_0xd4caaf,_0x5e15f6- -0x5ea,_0x4af865-_0x27d9b7._0x5c9492);}const _0x421012=Object[_0x379f5e(-_0x4bfe28._0xea38a1,-0x16b,-0x156,-0x103)](_0x4da46a);if(_0x421012!==Object['prototype']&&_0x421012!==null)return null;return{'entries':Object[_0x4e636c(-0x2e2,-_0x4bfe28._0x5d4a3d,-0x2cc,-0x239)](_0x4da46a)};},z[_0x1f304d(0x4de,_0x36b2ce._0x12750e,_0x36b2ce._0x1df2b8,_0x36b2ce._0x16e286)]({'entries':z['array'](z['tuple']([z[_0x1f304d(0x4e6,0x4e0,_0x36b2ce._0x4d3029,_0x36b2ce._0x242dd8)](),_0x39d43b]))}))[_0x1f304d(_0x36b2ce._0x52efcb,0x66a,0x60a,_0x36b2ce._0x452abc)](({entries:_0x15fd33})=>Object['fromEntries'](_0x15fd33));}var chatModelAuthSchemeSchema=z[_0x515b8f(0x296,0x2bb,0x521,0x3f0)]([_0x515b8f(0x57b,0x569,0x290,0x3e8),_0x515b8f(0x61a,0x412,0x4e2,0x53b)]),apiKeyAuthSchema=z[_0x1c3a85(-0x1e,0x1a3,-0x17c,-0xd)]({'type':z[_0x515b8f(0x4e7,0x4bc,0x434,0x508)](_0x1c3a85(-0x1d1,-0x30,0xec,-0x46)),'apiKey':z['string'](),'authScheme':chatModelAuthSchemeSchema[_0x515b8f(0x600,0x721,0x5b0,0x6d1)]()})['passthrough'](),oauthAuthSchema=z['object']({'type':z[_0x515b8f(0x495,0x5d9,0x439,0x508)]('oauth'),'access':z[_0x515b8f(0x303,0x3ee,0x54e,0x4a8)](),'refresh':z[_0x515b8f(0x603,0x4b7,0x57f,0x4a8)](),'expires':z['number']()[_0x1c3a85(0x24b,0x1b8,0x104,0x248)](),'authScheme':chatModelAuthSchemeSchema[_0x515b8f(0x58e,0x75c,0x779,0x6d1)]()})['passthrough'](),finiteNonNegative=z['number']()[_0x1c3a85(0x27d,0x41,-0x1c,0x166)]()['nonnegative'](),chatGptAuthSchema=z[_0x1c3a85(-0xc6,-0x14a,-0x148,-0xd)]({'type':z['literal']('chatgpt'),'access':z['string']()[_0x1c3a85(0x1f9,0x2ba,0x2c1,0x1b1)](0x1),'refresh':z[_0x515b8f(0x56e,0x428,0x2f2,0x4a8)]()['min'](0x1),'idToken':z[_0x515b8f(0x3d6,0x48e,0x2e8,0x4a8)]()['min'](0x1),'accountId':z[_0x1c3a85(0x11c,-0x53,-0xe8,0x1f)]()[_0x1c3a85(0x144,0x9a,0x330,0x1b1)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x515b8f(0x768,0x7ba,0x67d,0x6d1)]()})[_0x1c3a85(-0x8b,0x94,-0x12e,0x38)](),authMethodSchema=z[_0x1c3a85(0xf1,0x54,0x17,0x5c)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z['enum']([_0x515b8f(0x5f6,0x5dc,0x870,0x6f3),'low',_0x515b8f(0x78f,0x78f,0x7ff,0x702),_0x515b8f(0x588,0x5e2,0x45a,0x614),_0x515b8f(0x759,0x4ff,0x618,0x5f1),_0x515b8f(0x7b2,0x71c,0x717,0x60e)]),reasoningOptionSchema=z['object']({'id':z['string']()[_0x1c3a85(0x126,0x222,0x185,0xd4)]()[_0x1c3a85(0x27a,0x366,0x116,0x1b1)](0x1),'description':z[_0x1c3a85(-0x6d,-0xe,-0x92,0x1f)]()[_0x515b8f(0x782,0x7ed,0x660,0x6d1)](),'mode':z[_0x515b8f(0x29a,0x48a,0x5ab,0x3f0)](['adaptive',_0x515b8f(0x40c,0x3c6,0x381,0x534)])[_0x1c3a85(0x3a8,0x287,0x224,0x248)](),'effort':reasoningEffortSchema['optional'](),'budgetTokens':z['number']()['int']()[_0x1c3a85(0x91,0x174,0x110,0x1b1)](0x400)[_0x515b8f(0x6dd,0x7b1,0x700,0x6d1)]()})[_0x1c3a85(-0x1a7,-0x177,0x58,-0x39)]((_0xe57c31,_0x4c86b0)=>{const _0x27ab28={_0x2cb477:0x807,_0x285d58:0xcb,_0x185518:0x1c,_0x37d872:0x78,_0x43108a:0x4d2,_0x4e6505:0x60c,_0xad994f:0x58f,_0x137c9c:0x47b,_0x33608b:0x10f,_0x1d612f:0x250,_0x25821c:0x31,_0x155569:0xce,_0x156755:0xc0,_0x522425:0x50f,_0x4767e1:0x542,_0x1d610f:0x679,_0x48e61f:0x4a0,_0xab6c2f:0x387,_0x326e25:0x3e3,_0x543fb0:0x29,_0xd5851c:0x124,_0x18851f:0x142,_0x45b12e:0x93,_0x4ff0b0:0x10a,_0x5d9204:0x492,_0x3e9b1a:0x539,_0x303006:0x651,_0x4af009:0x681,_0xc51c05:0x6fe,_0x1d21d9:0x600,_0x6b0a67:0x3c,_0x3c87fc:0x373,_0x4ab51f:0x5af,_0x325b0c:0x4e2,_0x12153e:0x24c,_0xad983b:0xdf,_0x41208e:0xbf,_0x2c8c24:0x388,_0x1e5cf7:0x4e2,_0x5c0f0d:0x469,_0x5cd0ce:0xfd,_0x5d06d9:0x12c,_0x497611:0x9e,_0x5744bf:0x432,_0x462779:0x67e,_0x1dedb3:0x6ce,_0x919e32:0x6e7,_0x3b4a9c:0x778,_0x1fe6b3:0x6b3,_0x5ea1db:0x824},_0x3f1931={_0x1f828f:0x52,_0x91de19:0x15b,_0x4f05e3:0x113},_0x32add7={_0x8afb50:0x1ef,_0x50d824:0x6},_0x50b222=_0xe57c31['id'][_0x180b1e(0x7db,0x6a6,0x69e,_0x27ab28._0x2cb477)]();(_0x50b222===_0xd6038c(_0x27ab28._0x285d58,_0x27ab28._0x185518,-0x92,_0x27ab28._0x37d872)||_0x50b222===_0x180b1e(_0x27ab28._0x43108a,0x4a1,0x403,0x5c5)||_0x50b222===_0x180b1e(0x5ab,_0x27ab28._0x4e6505,_0x27ab28._0xad994f,0x607))&&_0x4c86b0[_0x180b1e(0x57b,0x50f,0x564,_0x27ab28._0x137c9c)]({'code':'custom','path':['id'],'message':_0xd6038c(0xe8,-0xd8,-0x7d,-0x1ef)+_0x50b222+_0xd6038c(-_0x27ab28._0x33608b,-_0x27ab28._0x1d612f,-0xc3,_0x27ab28._0x25821c)});if(_0xe57c31[_0xd6038c(-0xa7,_0x27ab28._0x155569,-_0x27ab28._0x156755,0x101)]==='manual'){_0xe57c31['budgetTokens']===void 0x0&&_0x4c86b0[_0x180b1e(0x5d8,_0x27ab28._0x522425,_0x27ab28._0x4767e1,_0x27ab28._0x1d610f)]({'code':_0x180b1e(0x2f2,_0x27ab28._0x48e61f,_0x27ab28._0xab6c2f,_0x27ab28._0x326e25),'path':['budgetTokens'],'message':_0xd6038c(_0x27ab28._0x543fb0,-0x289,-_0x27ab28._0xd5851c,-_0x27ab28._0x18851f)});_0xe57c31[_0xd6038c(0x1d8,-0x8e,0x12c,0xdc)]!==void 0x0&&_0x4c86b0[_0xd6038c(0xf2,0x94,-_0x27ab28._0x45b12e,_0x27ab28._0x4ff0b0)]({'code':_0x180b1e(_0x27ab28._0x5d9204,_0x27ab28._0x48e61f,_0x27ab28._0x3e9b1a,_0x27ab28._0x303006),'path':[_0x180b1e(0x862,0x6ce,0x7d7,0x676)],'message':'Manual\x20reasoning\x20cannot\x20set\x20effort'});return;}_0xe57c31[_0x180b1e(0x5d3,_0x27ab28._0x4af009,_0x27ab28._0xc51c05,_0x27ab28._0x1d21d9)]!==void 0x0&&_0x4c86b0[_0xd6038c(_0x27ab28._0x6b0a67,-0x177,-_0x27ab28._0x45b12e,0xe3)]({'code':_0x180b1e(_0x27ab28._0x3c87fc,_0x27ab28._0x48e61f,_0x27ab28._0x4ab51f,_0x27ab28._0x325b0c),'path':[_0xd6038c(_0x27ab28._0x12153e,-0x42,_0x27ab28._0xad983b,-_0x27ab28._0x41208e)],'message':_0xd6038c(-0x90,-0xde,0xb9,0x43)});function _0x180b1e(_0x1e5b79,_0x5bbd98,_0x394d12,_0x3cdaf8){return _0x515b8f(_0x1e5b79-_0x32add7._0x8afb50,_0x5bbd98-0xa8,_0x1e5b79,_0x5bbd98-_0x32add7._0x50d824);}function _0xd6038c(_0x2f19ac,_0x36b07a,_0x1177ba,_0x4751dd){return _0x1c3a85(_0x2f19ac-_0x3f1931._0x1f828f,_0x4751dd,_0x1177ba-_0x3f1931._0x91de19,_0x1177ba- -_0x3f1931._0x4f05e3);}_0xe57c31[_0x180b1e(_0x27ab28._0x2c8c24,_0x27ab28._0x1e5cf7,0x484,_0x27ab28._0x5c0f0d)]===void 0x0&&_0xe57c31[_0xd6038c(0x18f,_0x27ab28._0x5cd0ce,_0x27ab28._0x5d06d9,_0x27ab28._0x497611)]===void 0x0&&_0x4c86b0[_0x180b1e(0x6ab,0x50f,_0x27ab28._0x5744bf,_0x27ab28._0x462779)]({'code':'custom','path':[_0x180b1e(0x6fa,_0x27ab28._0x1dedb3,_0x27ab28._0x919e32,0x73b)],'message':_0x180b1e(_0x27ab28._0x3b4a9c,_0x27ab28._0x1fe6b3,0x62d,_0x27ab28._0x5ea1db)});});function validateReasoningOptionIds(_0x1ab4e,_0x53f459){const _0x54d9bb={_0x4be847:0x4a9,_0x545f32:0x442,_0xa536ce:0x606,_0x584786:0x5f7,_0xd4f931:0x323,_0x3cf058:0x319,_0x1eac6d:0x255,_0xfd736e:0x3df,_0x5721f8:0x552,_0x490755:0x102,_0x1cc580:0xc2,_0x1c16fc:0xa0},_0x575ba1={_0x21928b:0xbb};function _0x2dc4a7(_0x2c80de,_0x26edc0,_0x29ca5f,_0x1b24e9){return _0x515b8f(_0x2c80de-0x59,_0x26edc0-0x8b,_0x2c80de,_0x26edc0- -0x639);}const _0x9f6b80=new Set();function _0x39a928(_0x2f914f,_0x3efd0e,_0x11d3b7,_0x718c23){return _0x515b8f(_0x2f914f-0x1da,_0x3efd0e-0x9e,_0x2f914f,_0x718c23- -_0x575ba1._0x21928b);}for(let _0x39a4df=0x0;_0x39a4df<_0x1ab4e[_0x39a928(_0x54d9bb._0x4be847,_0x54d9bb._0x545f32,_0x54d9bb._0xa536ce,0x4c9)];_0x39a4df+=0x1){const _0x45c1f8=_0x1ab4e[_0x39a4df]?.['id'][_0x39a928(0x6db,_0x54d9bb._0x584786,0x586,0x5e5)]();if(!_0x45c1f8)continue;if(_0x9f6b80['has'](_0x45c1f8)){_0x53f459[_0x39a928(0x453,_0x54d9bb._0xd4f931,_0x54d9bb._0x3cf058,0x44e)]({'code':_0x39a928(0x241,_0x54d9bb._0x1eac6d,0x249,_0x54d9bb._0xfd736e),'path':[_0x39a928(0x733,0x69b,_0x54d9bb._0x5721f8,0x657),_0x39a4df,'id'],'message':_0x2dc4a7(_0x54d9bb._0x490755,0x1d,-_0x54d9bb._0x1cc580,_0x54d9bb._0x1c16fc)+_0x45c1f8+'\x22'});continue;}_0x9f6b80['add'](_0x45c1f8);}}var providerReasoningConfigSchema=z[_0x1c3a85(0x1a9,0x192,0xf0,-0xd)]({'options':z[_0x515b8f(0x4ab,0x606,0x5db,0x543)](reasoningOptionSchema)})[_0x515b8f(0x3f1,0x474,0x2f3,0x450)]((_0x54ba6e,_0x1888c5)=>{validateReasoningOptionIds(_0x54ba6e['options'],_0x1888c5);}),modelReasoningConfigSchema=z['object']({'defaultOption':z[_0x1c3a85(0x111,-0xb,0x5,0x1f)]()[_0x1c3a85(0x118,-0x31,0xd1,0xd4)]()[_0x1c3a85(0x33f,0x124,0x1cd,0x1b1)](0x1)[_0x515b8f(0x6fc,0x524,0x517,0x6d1)](),'canDisable':z[_0x1c3a85(0x38a,0x135,0x3f3,0x241)]()[_0x515b8f(0x52b,0x64c,0x65a,0x6d1)](),'options':z[_0x1c3a85(-0x43,0x9c,0x17a,0xba)](reasoningOptionSchema)})[_0x1c3a85(-0x95,0x62,0xab,-0x39)]((_0x34cf09,_0x14ee71)=>{const _0x2f2e49={_0x56eab0:0x30c,_0x2f010d:0x2f9,_0x3a6e92:0x82,_0x499853:0x2b,_0x2d4010:0xd2,_0x15df3a:0x1c2,_0x3a16b0:0x2a,_0x1d434e:0x19c,_0x52e30b:0x34c,_0x2a1a8e:0x374,_0x2aead6:0xf9,_0x12a4b4:0x174,_0x139dc1:0x1de,_0x57e0c1:0x2a2,_0x40e045:0x2da,_0x24a36e:0x14f,_0x92638c:0x60,_0x306e4b:0x41,_0x53e379:0x107,_0x57f8d9:0x266,_0x3b94b5:0x20e,_0x175422:0x28e,_0x16907b:0x191},_0x57517c={_0x5780b1:0x37a},_0x5ff1f4={_0x2de71c:0xa6,_0x820a08:0x438};validateReasoningOptionIds(_0x34cf09['options'],_0x14ee71);const _0x3f2084=_0x34cf09[_0x3c76b2(_0x2f2e49._0x56eab0,0x314,0x34c,_0x2f2e49._0x2f010d)]?.['toLowerCase']();function _0x251eb3(_0x4627b6,_0x5889d9,_0x5d8b9b,_0x20f9f9){return _0x515b8f(_0x4627b6-0x14e,_0x5889d9-_0x5ff1f4._0x2de71c,_0x5889d9,_0x5d8b9b- -_0x5ff1f4._0x820a08);}if(_0x3f2084===void 0x0)return;function _0x3c76b2(_0x29ca6b,_0x3c5189,_0x460836,_0x7b45d7){return _0x515b8f(_0x29ca6b-0x3c,_0x3c5189-0xe0,_0x7b45d7,_0x460836- -_0x57517c._0x5780b1);}if(_0x3f2084===_0x251eb3(_0x2f2e49._0x3a6e92,-_0x2f2e49._0x499853,_0x2f2e49._0x2d4010,_0x2f2e49._0x15df3a)){_0x34cf09['canDisable']!==!![]&&_0x14ee71[_0x3c76b2(0x286,-_0x2f2e49._0x3a16b0,0x18f,0x292)]({'code':'custom','path':[_0x3c76b2(_0x2f2e49._0x1d434e,0x34a,_0x2f2e49._0x52e30b,_0x2f2e49._0x2a1a8e)],'message':_0x251eb3(_0x2f2e49._0x2aead6,0x73,_0x2f2e49._0x12a4b4,_0x2f2e49._0x139dc1)});return;}!_0x34cf09[_0x251eb3(0x43c,_0x2f2e49._0x57e0c1,_0x2f2e49._0x40e045,_0x2f2e49._0x24a36e)][_0x3c76b2(_0x2f2e49._0x92638c,_0x2f2e49._0x306e4b,0x1ac,_0x2f2e49._0x53e379)](_0x197c27=>_0x197c27['id']['toLowerCase']()===_0x3f2084)&&_0x14ee71['addIssue']({'code':'custom','path':[_0x251eb3(_0x2f2e49._0x57f8d9,_0x2f2e49._0x3b94b5,_0x2f2e49._0x175422,0xde)],'message':'Reasoning\x20default\x20\x22'+_0x34cf09[_0x251eb3(0x408,0x265,0x28e,_0x2f2e49._0x16907b)]+'\x22\x20is\x20not\x20a\x20declared\x20option'});}),modelDefinitionSchema=z[_0x1c3a85(0xdc,-0x43,0x24,-0xd)]({'id':z[_0x1c3a85(-0x90,0x91,0x9c,0x1f)](),'name':z[_0x1c3a85(0x1d7,0x111,-0xec,0x1f)]()['optional'](),'reasoning':modelReasoningConfigSchema['optional']()})[_0x515b8f(0x512,0x51a,0x5b3,0x4c1)](),modelConfigSchema=z['union']([z['literal'](![]),z[_0x1c3a85(0xf2,-0xdd,-0xeb,0x7f)](!![]),z[_0x515b8f(0x5dc,0x586,0x2f7,0x4a8)](),z[_0x1c3a85(-0xc7,0x1a9,0x25e,0xba)](z['string']()),z[_0x1c3a85(-0x2a,0x97,0x3d,0xba)](modelDefinitionSchema)]),chatModelSurfaceSchema=z['enum']([_0x515b8f(0x54d,0x528,0x593,0x4cf),'openai-chat-completions',_0x1c3a85(0x93,0x109,0xa7,-0x83),_0x515b8f(0x51d,0x272,0x4a3,0x400)]),providerConfigSchema=z[_0x515b8f(0x3c0,0x57d,0x5a5,0x47c)]({'apiKey':z['string']()[_0x515b8f(0x56c,0x529,0x874,0x6d1)](),'token':z[_0x1c3a85(-0x58,0x68,0x96,0x1f)]()[_0x515b8f(0x693,0x694,0x820,0x6d1)](),'defaultModel':z['string']()[_0x515b8f(0x842,0x72b,0x723,0x6d1)](),'smallModel':z[_0x1c3a85(-0xfe,0x101,0x69,0x1f)]()[_0x1c3a85(0x23d,0x253,0xa3,0x248)](),'currentAuth':z[_0x515b8f(0x4f6,0x658,0x31e,0x4a8)]()[_0x1c3a85(0xfa,0x341,0x356,0x248)](),'auth':z[_0x1c3a85(0x191,0x63,0x53,0xba)](authMethodSchema)[_0x1c3a85(0x292,0x1d6,0x12a,0x248)](),'surface':chatModelSurfaceSchema[_0x515b8f(0x77f,0x6bc,0x799,0x6d1)](),'baseUrl':z[_0x1c3a85(0x137,0x116,0xb6,0x1f)]()['optional'](),'models':modelConfigSchema[_0x1c3a85(0x275,0x248,0x2a0,0x248)](),'customHeaders':z[_0x1c3a85(0xb4,0x11b,-0xc,-0x96)](z[_0x1c3a85(0x58,-0x1a3,0x187,0x1f)](),z[_0x515b8f(0x4e9,0x370,0x4cc,0x4a8)]())['optional'](),'reasoning':providerReasoningConfigSchema[_0x515b8f(0x5b7,0x7b8,0x7cf,0x6d1)]()})['passthrough'](),mcpServerConfigSchema=z[_0x515b8f(0x48a,0x54f,0x5e0,0x47c)]({'command':z['string']()[_0x1c3a85(0x1f3,0x8f,0x27a,0x248)](),'args':z['array'](z[_0x515b8f(0x30f,0x540,0x4d7,0x4a8)]())[_0x1c3a85(0x1cf,0x186,0x37e,0x248)](),'env':z[_0x1c3a85(-0xb5,-0x1f1,-0x5b,-0x96)](z[_0x515b8f(0x50c,0x647,0x663,0x4a8)](),z[_0x515b8f(0x4eb,0x657,0x47e,0x4a8)]())[_0x515b8f(0x84c,0x756,0x58a,0x6d1)](),'transport':z[_0x515b8f(0x4e0,0x44d,0x4bc,0x3f0)]([_0x515b8f(0x5ad,0x462,0x475,0x5cc),_0x1c3a85(0x196,-0x4a,-0x55,0xed)])[_0x515b8f(0x592,0x78c,0x656,0x6d1)](),'url':z['string']()[_0x1c3a85(0x2ba,0x3a8,0xb0,0x248)](),'headers':z['record'](z[_0x1c3a85(0x83,0x1b7,0x48,0x1f)](),z[_0x515b8f(0x605,0x459,0x44e,0x4a8)]())['optional'](),'prefix':z[_0x1c3a85(0xd,0x181,-0x6e,0x1f)]()[_0x515b8f(0x64e,0x604,0x872,0x6d1)](),'timeoutMs':z['number']()[_0x515b8f(0x667,0x780,0x6e2,0x6d1)](),'enabled':z[_0x1c3a85(0x29b,0x16d,0x3f7,0x241)]()[_0x515b8f(0x83c,0x728,0x559,0x6d1)](),'auth':z[_0x515b8f(0x5e5,0x473,0x371,0x47c)]({'type':z[_0x1c3a85(-0x7,-0x17b,0x4d,-0x99)]([_0x515b8f(0x5b3,0x62b,0x74a,0x704),_0x515b8f(0x55a,0x2b0,0x272,0x3e8),_0x515b8f(0x726,0x70f,0x76f,0x5e3)]),'token':z[_0x515b8f(0x4bc,0x63e,0x392,0x4a8)]()[_0x515b8f(0x786,0x648,0x7f0,0x6d1)](),'oauth':z[_0x1c3a85(0x15c,0x1a6,-0x54,-0xd)]({'clientId':z[_0x1c3a85(0x11a,-0x170,-0x2f,0x1f)]()[_0x515b8f(0x641,0x5a0,0x701,0x6d1)](),'clientMetadataUrl':z[_0x1c3a85(-0xc4,0xf9,0xcf,0x1f)]()[_0x515b8f(0x564,0x699,0x7e9,0x6d1)](),'authorizationServer':z[_0x1c3a85(0xd1,0x6e,-0x14e,0x1f)]()[_0x515b8f(0x7e3,0x87c,0x5ea,0x6d1)](),'scopes':z[_0x1c3a85(0x210,-0xcb,0x103,0xba)](z[_0x1c3a85(0x26,0x1ae,-0x7a,0x1f)]())['optional'](),'tokenStorageKey':z['string']()[_0x1c3a85(0x2ae,0x288,0x17e,0x248)]()})['passthrough']()[_0x515b8f(0x58f,0x781,0x881,0x6d1)]()})[_0x1c3a85(-0x1a,0xdf,0x165,0x38)]()['optional']()})[_0x515b8f(0x326,0x66e,0x55f,0x4c1)](),mcpToolPermissionClassSchema=z[_0x1c3a85(0x1c,-0x12e,-0x1fc,-0x99)]([_0x1c3a85(0x274,0x170,-0x71,0xfd),_0x515b8f(0x39d,0x5a4,0x2d9,0x405),_0x1c3a85(-0x1ca,0x57,-0x1,-0xc5)]),mcpSettingsSchema=z[_0x515b8f(0x2c9,0x564,0x431,0x47c)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x515b8f(0x684,0x81a,0x6d9,0x6d1)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x1c3a85(0x313,0x3d1,0x29e,0x241)]()))[_0x1c3a85(0x394,0x88,0x268,0x248)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x515b8f(0x5cd,0x72d,0x7f9,0x6d1)](),'defaultTimeoutMs':z[_0x515b8f(0x55d,0x549,0x759,0x673)]()['optional']()})['passthrough'](),skillsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x515b8f(0x77e,0x620,0x5d0,0x6d1)](),'includeDefaults':z[_0x1c3a85(0x1e4,0x24a,0x3d0,0x241)]()['optional'](),'directories':z[_0x1c3a85(0x26d,0xa9,0x27c,0xba)](z[_0x515b8f(0x5b5,0x3d9,0x619,0x4a8)]())[_0x1c3a85(0x1ff,0xfc,0x3a5,0x248)](),'exclude':z['array'](z[_0x1c3a85(0x146,0x133,-0xd9,0x1f)]())[_0x1c3a85(0x2a6,0x377,0x38e,0x248)]()})['passthrough'](),commandsSettingsSchema=z[_0x1c3a85(-0x8d,0x136,0x115,-0xd)]({'enabled':z[_0x1c3a85(0x2c2,0x334,0x25a,0x241)]()['optional'](),'directories':z['array'](z[_0x515b8f(0x488,0x511,0x530,0x4a8)]())[_0x1c3a85(0xef,0x16f,0x1b9,0x248)]()})[_0x515b8f(0x5f1,0x452,0x64b,0x4c1)](),agentsSettingsSchema=z[_0x1c3a85(-0x106,-0x10f,-0x36,-0xd)]({'enabled':z[_0x515b8f(0x6b5,0x619,0x6cc,0x6ca)]()[_0x515b8f(0x702,0x6a3,0x811,0x6d1)](),'includeDefaults':z[_0x515b8f(0x560,0x52b,0x835,0x6ca)]()[_0x1c3a85(0x381,0x330,0x31b,0x248)](),'directories':z['array'](z[_0x1c3a85(0x142,0xc9,0x1be,0x1f)]())['optional'](),'maxConcurrency':z['number']()[_0x1c3a85(0x258,0x172,0x30,0x166)]()[_0x1c3a85(-0x1e9,-0xd,0xa2,-0x65)]()[_0x1c3a85(-0x11,0xdc,-0x114,0x3e)]()[_0x515b8f(0x670,0x61c,0x6c1,0x6d1)]()})[_0x1c3a85(0x104,0x5,-0x178,0x38)](),uiThemeSettingsSchema=z[_0x1c3a85(0x53,-0x179,0x1d,-0xd)]({'mode':z['enum']([_0x1c3a85(-0x39,-0x81,-0x140,-0xbf),_0x1c3a85(0x8b,0x13a,-0x57,0x9),_0x1c3a85(0x195,-0xd9,0x109,0x4a)])['optional'](),'colorLevel':z[_0x515b8f(0x507,0x2cc,0x4c3,0x3f0)]([_0x1c3a85(-0xdd,0x9f,-0x13e,-0xbf),'none',_0x1c3a85(-0x8,-0x87,0x21c,0x63),_0x1c3a85(0x186,0x25b,0x138,0x1f8),'truecolor'])[_0x1c3a85(0x3e7,0x1d5,0x3bf,0x248)](),'backgrounds':z[_0x1c3a85(-0x4c,-0x21,0x99,-0x99)]([_0x515b8f(0x552,0x51e,0x3b4,0x3ca),'on',_0x515b8f(0x3e1,0x423,0x509,0x50a)])[_0x1c3a85(0x383,0x1dc,0x1ff,0x248)](),'messageStyle':z[_0x515b8f(0x32a,0x543,0x3ed,0x3f0)]([_0x1c3a85(-0x26c,-0x2,-0x1e2,-0xdd),_0x1c3a85(-0x59,0x2cb,0xda,0x156)])[_0x1c3a85(0x156,0x13a,0x15b,0x248)]()})[_0x1c3a85(0x4d,-0x40,0x1cf,0x38)](),statuslineSegmentSchema=z['enum']([_0x515b8f(0x38b,0x52b,0x535,0x3d7),_0x1c3a85(0xa3,-0x116,0x3a,0x3b),_0x515b8f(0x3c4,0x599,0x2e7,0x42c),_0x1c3a85(0x2cc,0x2c2,0x23c,0x12f),'tokens',_0x515b8f(0x539,0x2c8,0x454,0x3a1),_0x515b8f(0x5d0,0x63d,0x485,0x53d),'requests',_0x1c3a85(0x264,0x141,0x28a,0x1de),_0x515b8f(0x482,0x25a,0x2b1,0x3f6),_0x1c3a85(0xeb,0x1a6,-0x164,0x19),_0x1c3a85(0x71,-0x185,-0x18f,0x7),_0x515b8f(0x44f,0x31c,0x65f,0x4de),'memory',_0x1c3a85(-0x1f6,-0x1f7,-0x171,-0xee)]),statuslineItemSchema=z['union']([statuslineSegmentSchema,z[_0x1c3a85(0xea,-0xb9,-0xef,0x7f)]('|')]),statuslineRowSchema=z[_0x1c3a85(0x100,-0xd1,-0x4c,0xba)](statuslineItemSchema),statuslineConfigSchema=z[_0x515b8f(0x5cb,0x4ab,0x624,0x47c)]({'rows':z[_0x515b8f(0x667,0x54a,0x577,0x705)]([statuslineRowSchema,statuslineRowSchema])[_0x1c3a85(0xda,0x1bb,0x324,0x248)]()})[_0x1c3a85(0x1a4,-0xe0,-0x17b,0x38)](),memoryExtractionSettingsSchema=z[_0x515b8f(0x2d3,0x593,0x4b3,0x47c)]({'enabled':z[_0x515b8f(0x61f,0x7ea,0x6e0,0x6ca)]()[_0x1c3a85(0x3dc,0x20f,0x155,0x248)](),'provider':z['string']()[_0x1c3a85(0x1cb,0x4e,0x321,0x1b1)](0x1)[_0x1c3a85(0x378,0x2b7,0x3a7,0x248)](),'model':z['string']()[_0x1c3a85(0x33a,0x1eb,0x30b,0x1b1)](0x1)[_0x515b8f(0x56f,0x60a,0x757,0x6d1)](),'minUserMessages':z[_0x515b8f(0x5bb,0x6d8,0x553,0x673)]()[_0x1c3a85(0x107,-0xe3,0x4b,-0x65)]()[_0x1c3a85(0x26b,0x42,0x365,0x1b1)](0x1)[_0x515b8f(0x5d7,0x718,0x7e4,0x6d1)]()})[_0x1c3a85(0x189,0x215,0xcf,0x60)](),memorySettingsSchema=z[_0x515b8f(0x5e4,0x455,0x4a6,0x47c)]({'enabled':z['boolean']()[_0x515b8f(0x6bf,0x609,0x7c7,0x6d1)](),'extraction':memoryExtractionSettingsSchema[_0x1c3a85(0x377,0x1f5,0x35d,0x248)]()})[_0x1c3a85(-0x156,-0x11,0x183,0x60)](),recentModelSchema=z[_0x515b8f(0x4af,0x4ee,0x50d,0x47c)]({'provider':z[_0x515b8f(0x3e1,0x482,0x4f0,0x4a8)](),'model':z[_0x1c3a85(-0x189,0x15f,0x16c,0x1f)](),'usedAt':z[_0x515b8f(0x6f8,0x4b6,0x515,0x673)]()})[_0x515b8f(0x4e7,0x670,0x40b,0x4c1)](),lspServerEntrySchema=z[_0x1c3a85(-0x12a,-0x171,-0x19a,-0xd)]({'disabled':z[_0x1c3a85(0x3bb,0x1b6,0x3fe,0x241)]()[_0x1c3a85(0x395,0x2ce,0x328,0x248)](),'command':z[_0x1c3a85(0x1a5,-0x115,0x1a3,0x1f)]()[_0x1c3a85(0x154,0x39c,0x14c,0x248)](),'args':z[_0x515b8f(0x633,0x474,0x38e,0x543)](z['string']())['optional'](),'rootMarkers':z['array'](z['string']())[_0x515b8f(0x78c,0x651,0x5c9,0x6d1)]()})['passthrough'](),lspConfigSchema=z[_0x1c3a85(0x23,0x113,-0x16a,-0xd)]({'enabled':z[_0x1c3a85(0x1d7,0x329,0x297,0x241)]()['optional'](),'servers':z['record'](z[_0x1c3a85(0xec,-0xfa,-0x116,0x1f)](),lspServerEntrySchema)['optional']()})[_0x515b8f(0x340,0x527,0x507,0x4c1)](),serverEndpointSchema=z[_0x515b8f(0x4e6,0x3eb,0x4e7,0x47c)]({'url':z['string'](),'token':z[_0x515b8f(0x548,0x37b,0x46b,0x4a8)]()[_0x1c3a85(0x3f8,0x17c,0x2a4,0x248)]()})[_0x1c3a85(-0x15d,0x81,-0x138,0x38)](),commandHookConfigSchema=z[_0x1c3a85(0xfa,0xd4,-0x124,-0xd)]({'type':z[_0x1c3a85(0x21d,-0xf5,0x21f,0x7f)](_0x1c3a85(-0x19f,-0x18d,0xe5,0x1b)),'command':z['string'](),'timeout':z[_0x1c3a85(0x3a6,0x19f,0x28c,0x1ea)]()['optional']()}),hookMatcherGroupSchema=z[_0x515b8f(0x2f6,0x31a,0x4cf,0x47c)]({'matcher':z[_0x515b8f(0x5d7,0x5a4,0x559,0x4a8)]()['optional'](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x1c3a85(-0xb0,-0x1c4,-0xd4,-0xd)]({'PreToolUse':z[_0x1c3a85(0x13d,-0xde,0x179,0xba)](hookMatcherGroupSchema)[_0x1c3a85(0x399,0x3ab,0x17e,0x248)](),'PostToolUse':z[_0x515b8f(0x59c,0x6d1,0x430,0x543)](hookMatcherGroupSchema)['optional'](),'UserPromptSubmit':z[_0x1c3a85(-0x36,-0xbb,0x25c,0xba)](hookMatcherGroupSchema)['optional'](),'Stop':z[_0x1c3a85(0x204,-0xc8,-0x42,0xba)](hookMatcherGroupSchema)['optional'](),'Notification':z[_0x515b8f(0x394,0x6e7,0x649,0x543)](hookMatcherGroupSchema)['optional'](),'ToolApprovalRequest':z[_0x515b8f(0x5a2,0x42c,0x3ba,0x543)](hookMatcherGroupSchema)[_0x515b8f(0x602,0x790,0x724,0x6d1)](),'SessionStart':z[_0x515b8f(0x4b5,0x5c6,0x4cb,0x543)](hookMatcherGroupSchema)[_0x515b8f(0x82f,0x6a2,0x61c,0x6d1)](),'SessionEnd':z[_0x515b8f(0x6a8,0x3ab,0x400,0x543)](hookMatcherGroupSchema)[_0x1c3a85(0x114,0x212,0x22e,0x248)]()}),providerNameSchema=z[_0x1c3a85(0x15d,-0xa2,-0x197,0x1f)]()[_0x1c3a85(0xdd,0x1d0,0x11a,0x1b1)](0x1,_0x1c3a85(0x25a,0xa5,0x3ed,0x261))[_0x1c3a85(0xd,0x1c7,0x92,0xd2)](_0x42695e=>!_0x42695e[_0x1c3a85(-0x148,0xe6,0x3d,-0x25)](':'),_0x515b8f(0x246,0x374,0x44f,0x3a4)),bashPolicyRuleSchema=z[_0x1c3a85(0x191,-0xc2,0x13d,-0xd)]({'id':z[_0x1c3a85(-0x1c,0xfb,0x111,0x1f)]()['trim']()[_0x1c3a85(0xef,0x30e,0x157,0x1b1)](0x1)['max'](0x80),'action':z[_0x1c3a85(-0x1f0,-0x219,-0x28,-0x99)](['allow',_0x515b8f(0x6b5,0x5d3,0x6b0,0x67d)]),'cwd':z[_0x1c3a85(0x40,-0x160,0x14,-0x99)]([_0x1c3a85(0x339,0x160,0x105,0x1fc),_0x1c3a85(0x143,-0x69,0x53,0x13d)])['optional'](),'commands':z[_0x1c3a85(0x1c7,-0x69,0xdf,0xba)](z[_0x515b8f(0x396,0x479,0x60f,0x4a8)]()[_0x1c3a85(0x34d,0x100,0x12b,0x1b1)](0x1))['min'](0x1)})['strict'](),bashPolicyConfigSchema=z['object']({'default':z['literal'](_0x1c3a85(0x10,0xa0,-0x27a,-0xe3))[_0x1c3a85(0x27e,0x1e3,0x184,0x248)](),'rules':z[_0x515b8f(0x4db,0x496,0x5bf,0x543)](bashPolicyRuleSchema)[_0x1c3a85(-0x3c,0xcb,0x1c4,0x185)](0x3e8)})[_0x515b8f(0x478,0x32a,0x342,0x4e9)](),cliConfigSchema=z[_0x515b8f(0x43a,0x2fc,0x2df,0x47c)]({'activeProvider':providerNameSchema[_0x1c3a85(0x25f,0x278,0x331,0x248)](),'activeModel':z['string']()[_0x515b8f(0x807,0x66c,0x664,0x6d1)](),'apiKey':z[_0x515b8f(0x39c,0x2ed,0x470,0x4a8)]()[_0x1c3a85(0x126,0x18c,0x393,0x248)](),'providers':z['record'](providerNameSchema,providerConfigSchema)[_0x1c3a85(0xb8,0x305,0x3b8,0x248)](),'mcp':mcpSettingsSchema[_0x1c3a85(0xc2,0x185,0xaf,0x248)](),'skills':skillsSettingsSchema[_0x515b8f(0x5d9,0x516,0x5ae,0x6d1)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z[_0x515b8f(0x32f,0x3b8,0x578,0x3f3)](z[_0x515b8f(0x632,0x46c,0x5a4,0x4a8)](),z[_0x1c3a85(0x2de,0x312,0x195,0x241)]())[_0x515b8f(0x551,0x5b0,0x6dd,0x6d1)](),'allowedDirs':z['array'](z[_0x1c3a85(0x1ce,0x35,0x39,0x1f)]())[_0x515b8f(0x565,0x7c6,0x6b7,0x6d1)](),'mcpEnabled':prototypeSafeRecord(z[_0x515b8f(0x67d,0x544,0x741,0x6ca)]())['optional'](),'commandsEnabled':z[_0x515b8f(0x2ff,0x3de,0x236,0x3f3)](z['string'](),z[_0x1c3a85(0x1cd,0xd3,0x33f,0x241)]())[_0x515b8f(0x767,0x6ae,0x890,0x6d1)](),'memory':memorySettingsSchema['optional'](),'session':z['object']({'memPersist':z[_0x515b8f(0x6b7,0x747,0x5ff,0x6ca)]()[_0x1c3a85(0xb0,0x3ae,0x11d,0x248)](),'persistEventLog':z['boolean']()[_0x1c3a85(0x3a4,0xd1,0x128,0x248)](),'persistHttpLog':z[_0x1c3a85(0x1c0,0x3f0,0x1d1,0x241)]()[_0x1c3a85(0x3d8,0x34c,0x23c,0x248)]()})['passthrough']()[_0x515b8f(0x66a,0x83d,0x5aa,0x6d1)](),'requireToolApproval':z['boolean']()[_0x1c3a85(0x3f5,0x365,0x123,0x248)](),'thinking':z[_0x1c3a85(0x8e,0xee,-0x186,-0xd)]({'selections':z[_0x515b8f(0x2a8,0x2d9,0x38b,0x3f3)](z[_0x515b8f(0x56a,0x618,0x640,0x4a8)](),z['string']())[_0x515b8f(0x7a0,0x808,0x7c3,0x6d1)]()})[_0x1c3a85(0x87,0x94,0x188,0x248)](),'streamingChunks':z[_0x1c3a85(0x384,0x241,0xfe,0x241)]()['optional'](),'agentsEnabled':z[_0x515b8f(0x43d,0x4f2,0x234,0x3f3)](z['string'](),z['boolean']())['optional'](),'recentModels':z['array'](recentModelSchema)[_0x1c3a85(0x3ed,0x1da,0x353,0x248)](),'lsp':lspConfigSchema[_0x515b8f(0x5c3,0x709,0x5cd,0x6d1)](),'servers':z['record'](z['string'](),serverEndpointSchema)[_0x515b8f(0x820,0x790,0x739,0x6d1)](),'ui':z[_0x1c3a85(-0xeb,-0x1a5,0xe9,-0xd)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x1c3a85(0x3b7,0x20b,0x102,0x248)]()})[_0x515b8f(0x461,0x3e7,0x516,0x4c1)]()[_0x515b8f(0x600,0x7ca,0x7b5,0x6d1)](),'tools':z['record'](z[_0x1c3a85(-0xe5,-0x14d,0xd9,0x1f)](),z[_0x1c3a85(0xa5,0x2be,0x1bf,0x12b)]())[_0x1c3a85(0x359,0x38d,0x390,0x248)](),'hooks':hooksConfigSchema[_0x1c3a85(0x29d,0x116,0x26a,0x248)](),'bashPolicy':z[_0x1c3a85(-0x4b,0x1a,0x226,0x12b)]()['optional']()})[_0x515b8f(0x392,0x451,0x46b,0x4c1)](),workspaceOverlaySchema=z['object']({'root':z[_0x1c3a85(-0x6e,0x5,-0x5a,0x1f)]()['optional'](),'allowedDirs':z[_0x515b8f(0x3d7,0x5d3,0x3a1,0x543)](z['string']())[_0x1c3a85(0x20e,0x271,0xfe,0x248)](),'activeProvider':providerNameSchema[_0x515b8f(0x60b,0x537,0x801,0x6d1)](),'activeModel':z[_0x515b8f(0x3a1,0x5ce,0x53a,0x4a8)]()[_0x515b8f(0x760,0x5e9,0x64c,0x6d1)](),'mcp':mcpSettingsSchema[_0x515b8f(0x72f,0x5f1,0x594,0x6d1)](),'skills':skillsSettingsSchema[_0x515b8f(0x6c4,0x834,0x57b,0x6d1)](),'agents':agentsSettingsSchema[_0x1c3a85(0x293,0x289,0x2ff,0x248)](),'commands':commandsSettingsSchema[_0x1c3a85(0x2f9,0xe5,0x1b9,0x248)](),'hooks':hooksConfigSchema['optional'](),'memory':memorySettingsSchema[_0x1c3a85(0x128,0x180,0xc4,0x248)](),'mcpEnabled':prototypeSafeRecord(z[_0x515b8f(0x5c2,0x874,0x752,0x6ca)]())[_0x515b8f(0x54d,0x5cb,0x7eb,0x6d1)](),'skillsEnabled':z[_0x1c3a85(-0x4f,0x76,-0xff,-0x96)](z[_0x1c3a85(0xb,-0x1a1,-0x173,0x1f)](),z[_0x515b8f(0x54f,0x52b,0x616,0x6ca)]())[_0x515b8f(0x796,0x805,0x56c,0x6d1)](),'agentsEnabled':z['record'](z['string'](),z['boolean']())['optional'](),'commandsEnabled':z[_0x515b8f(0x505,0x26e,0x33a,0x3f3)](z[_0x1c3a85(-0x108,-0xaa,0x176,0x1f)](),z[_0x1c3a85(0x116,0x91,0x9d,0x241)]())[_0x515b8f(0x6f2,0x758,0x640,0x6d1)](),'bashPolicy':z['unknown']()[_0x1c3a85(0x1fd,0x39b,0x11f,0x248)]()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object['getOwnPropertyNames'](Object[_0x515b8f(0x5c7,0x6e7,0x6f8,0x61e)]),'prototype']);function buildDescription(_0x1fae32){const _0x35cb92={_0x5619a8:0x3a7,_0x201753:0x65b,_0x317a51:0x5c4,_0x14bfbf:0x599,_0x3b8e13:0x346,_0x2dc8e1:0x391},_0x3a257c={_0x4afabe:0xe7},_0x10a6f5={_0x3f268b:0x18c,_0xb73a4b:0x170};function _0x16bf85(_0x522731,_0x27ed2f,_0x1bca48,_0x596c13){return _0x1c3a85(_0x522731-_0x10a6f5._0x3f268b,_0x522731,_0x1bca48-_0x10a6f5._0xb73a4b,_0x27ed2f-0x490);}function _0x3f1739(_0x1b8c48,_0x11e1c1,_0x3c7514,_0x5166e5){return _0x515b8f(_0x1b8c48-0x47,_0x11e1c1-_0x3a257c._0x4afabe,_0x3c7514,_0x5166e5- -0x382);}if(_0x1fae32[_0x3f1739(0x299,_0x35cb92._0x5619a8,0x3b9,0x202)]===0x0)return['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.','Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x16bf85(0x532,_0x35cb92._0x201753,0x6c6,0x5d1)][_0x16bf85(0x5b1,_0x35cb92._0x317a51,0x552,0x558)]('\x0a');const _0x1c5b46=['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.','Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x16bf85(0x549,0x62e,0x47d,_0x35cb92._0x14bfbf),..._0x1fae32[_0x16bf85(_0x35cb92._0x3b8e13,0x3e1,_0x35cb92._0x2dc8e1,0x352)](_0xa3e5de=>_0xa3e5de[_0x3f1739(0x4,-0x93,0x6d,0x38)]?'-\x20'+_0xa3e5de[_0x3f1739(0x3bf,0x223,0x56,0x217)]+'\x20'+_0xa3e5de[_0x3f1739(-0x18,0x184,-0x13,0x38)]+':\x20'+_0xa3e5de[_0x3f1739(0x2ec,0x2ed,0x89,0x182)]:'-\x20'+_0xa3e5de['name']+':\x20'+_0xa3e5de['description'])];return _0x1c5b46['join']('\x0a');}function createInvokeCommandTool(_0x5b2415){const _0x56d7c4={_0x22df08:0x45e,_0x4e2c01:0x2e7,_0x569344:0x3e1,_0x219dad:0x110,_0x1598f2:0x5a,_0x3464a5:0x2fc,_0x204327:0x351,_0x26dd8c:0x509,_0x5e8d84:0x2f2,_0x11e829:0x4e},_0x134e67={_0x2df5f3:0xca,_0x567216:0x182,_0x1a73c7:0x24c,_0x48120c:0x29,_0x138fe4:0x32,_0xeeea00:0x202,_0x9aaec6:0x6a,_0x118244:0x109,_0x173f66:0x126,_0xb20ef0:0x299,_0x52fce3:0x36d,_0x22c2e4:0x410,_0x2e970e:0x75,_0x5b4bb3:0x17d,_0x4c3474:0xb4,_0xdb4ed8:0x391,_0x46cf98:0x4fd,_0x4b13ad:0x276,_0x4c801:0x9b,_0x2f9073:0x52,_0x2884e2:0xe2,_0x50bead:0x3f1,_0x1f827d:0x27d,_0x395e6f:0x3b4},_0x4d2526={_0x1faf90:0x1c6},_0x4432f1={_0x27822c:0x1ab,_0x3f8379:0x8d},_0x3cd3b6=new Map(_0x5b2415[_0x46d07d(0x277,_0x56d7c4._0x22df08,0x148,_0x56d7c4._0x4e2c01)][_0x32d09d(0x247,0x3d7,_0x56d7c4._0x569344,0x37f)](_0x1d728b=>[_0x1d728b['id'],_0x1d728b])),_0x3a37e1=buildDescription(_0x5b2415['commands']);function _0x32d09d(_0x10e53f,_0x3ac754,_0x12417c,_0x589645){return _0x1c3a85(_0x10e53f-0x144,_0x10e53f,_0x12417c-0x150,_0x3ac754-0x486);}function _0x46d07d(_0x40256f,_0x26ba7c,_0x339659,_0x1cca1a){return _0x1c3a85(_0x40256f-_0x4432f1._0x27822c,_0x26ba7c,_0x339659-0x189,_0x1cca1a-_0x4432f1._0x3f8379);}return defineTool({'name':_0x46d07d(-_0x56d7c4._0x219dad,-_0x56d7c4._0x1598f2,0x236,0x83),'permissionClass':_0x32d09d(_0x56d7c4._0x3464a5,0x3c1,0x257,_0x56d7c4._0x204327),'description':_0x3a37e1,'inputSchema':{'type':'object','properties':{'name':{'type':_0x32d09d(_0x56d7c4._0x26dd8c,0x4a5,_0x56d7c4._0x5e8d84,0x449)},'args':{'type':'string'}},'required':[_0x46d07d(_0x56d7c4._0x11e829,0x206,0x25,0x19d)]},async *'execute'(_0x7b2338){function _0x952f39(_0x1499f8,_0x122868,_0x47872e,_0x1e1597){return _0x46d07d(_0x1499f8-0xcc,_0x122868,_0x47872e-0x1f1,_0x1499f8-0x29e);}const _0x7a7d5=_0x3cd3b6[_0x5dc3af(-_0x134e67._0x2df5f3,-_0x134e67._0x567216,-_0x134e67._0x1a73c7,0xda)](_0x7b2338[_0x5dc3af(-_0x134e67._0x48120c,0xe8,-0x4b,-_0x134e67._0x138fe4)]);if(!_0x7a7d5){const _0x2cbccb=Array[_0x5dc3af(-_0x134e67._0xeeea00,-0x36f,-0x2eb,-0x2da)](_0x3cd3b6[_0x5dc3af(-0x124,-_0x134e67._0x9aaec6,-0x212,-0x1a3)]())['join'](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x7b2338['name']+'\x27\x20not\x20found.\x20Available\x20commands:\x20'+_0x2cbccb,{'name':_0x7b2338[_0x5dc3af(-0x29,_0x134e67._0x118244,-_0x134e67._0x173f66,-0x1d4)]});}function _0x5dc3af(_0x4009c8,_0x230371,_0xe72b5,_0x591e65){return _0x46d07d(_0x4009c8-0x96,_0xe72b5,_0xe72b5-0x12a,_0x4009c8- -_0x4d2526._0x1faf90);}const _0x91b209=await _0x5b2415[_0x952f39(_0x134e67._0xb20ef0,_0x134e67._0x52fce3,0x333,_0x134e67._0x22c2e4)](_0x7a7d5),_0x43141b=_0x7b2338[_0x5dc3af(-_0x134e67._0x2e970e,-_0x134e67._0x5b4bb3,_0x134e67._0x4c3474,-0x1cf)]??'',_0x3b61f9=renderCommandInstructions({'instructions':_0x91b209[_0x952f39(_0x134e67._0xdb4ed8,0x32c,_0x134e67._0x46cf98,_0x134e67._0x4b13ad)],'argumentsText':_0x43141b,'argumentNames':_0x91b209[_0x5dc3af(0x71,0x68,_0x134e67._0x4c801,_0x134e67._0x2f9073)]});return yield createToolOutput(_0x3b61f9,{'id':_0x91b209['id'],'name':_0x91b209['name'],'path':_0x7a7d5[_0x5dc3af(-0xa4,-0xd8,-0x118,-_0x134e67._0x2884e2)][_0x952f39(_0x134e67._0x50bead,_0x134e67._0x1f827d,_0x134e67._0x395e6f,0x323)]}),void 0x0;}});}import{readFile as _0x7849b4,rename as _0x26d936,stat as _0x305b61,writeFile as _0x2773c8}from'fs/promises';import*as _0x40bef7 from'path';import{createHash}from'crypto';function sha256Bytes(_0x28b104){const _0x4e7edb={_0x421564:0x62e,_0x47f4f9:0x8ce,_0x4fc0ba:0x6ac,_0x5e0bcd:0x57f,_0x508db1:0x540,_0xc5c950:0x660,_0xf4af13:0x75c,_0x3a8232:0x648},_0x4a11b0={_0x49e709:0xf2};function _0x176a53(_0xa75691,_0x59bb86,_0x4f9bbd,_0x181e0f){return _0x515b8f(_0xa75691-0xa,_0x59bb86-0x176,_0x4f9bbd,_0xa75691-0xb0);}function _0x2d441d(_0xe2b10e,_0x4c68b7,_0x5ca81e,_0x1eb57c){return _0x515b8f(_0xe2b10e-_0x4a11b0._0x49e709,_0x4c68b7-0x143,_0x5ca81e,_0x1eb57c- -0xe4);}return createHash(_0x176a53(_0x4e7edb._0x421564,0x4d6,0x791,0x599))[_0x176a53(0x780,0x87d,_0x4e7edb._0x47f4f9,0x6d1)](_0x28b104)[_0x176a53(_0x4e7edb._0x4fc0ba,_0x4e7edb._0x5e0bcd,0x67f,_0x4e7edb._0x508db1)](_0x176a53(0x609,_0x4e7edb._0xc5c950,_0x4e7edb._0xf4af13,_0x4e7edb._0x3a8232));}function countLines(_0x43dd5a){const _0x3e738e={_0x3fe150:0x4a,_0x3925f8:0x1f,_0x4b3205:0x97,_0x87a4e6:0x1ed,_0x280225:0x1,_0x2a4fb7:0x12b,_0x42c26f:0x1ea,_0x5ac7e5:0x97,_0x3fb602:0x215},_0x519863={_0x30254f:0x1f0},_0xc90fc9={_0x2d609f:0x64};function _0x5944b3(_0x335ab6,_0x4299a9,_0x1669a2,_0x4bfadc){return _0x1c3a85(_0x335ab6-0x120,_0x1669a2,_0x1669a2-0xef,_0x335ab6- -_0xc90fc9._0x2d609f);}const _0x14a7fc=_0x43dd5a[_0x62be9d(-0xfd,-_0x3e738e._0x3fe150,-_0x3e738e._0x3925f8,0xaa)](/\n$/,'');function _0x62be9d(_0x10f55e,_0x1f82a3,_0x35851b,_0x869232){return _0x1c3a85(_0x10f55e-_0x519863._0x30254f,_0x869232,_0x35851b-0xb7,_0x35851b- -0xc1);}return _0x14a7fc[_0x5944b3(_0x3e738e._0x4b3205,_0x3e738e._0x87a4e6,-_0x3e738e._0x280225,-0xdc)]===0x0?0x0:_0x14a7fc[_0x5944b3(0x14b,_0x3e738e._0x2a4fb7,_0x3e738e._0x42c26f,0x28b)]('\x0a')[_0x5944b3(_0x3e738e._0x5ac7e5,-0xd2,0x1bb,_0x3e738e._0x3fb602)];}function replaceFirstExact(_0x5f5dfb,_0x95eb48,_0xed7c26){const _0x43a07f={_0x1c2b3a:0x57a,_0x4f407c:0x5bc,_0x35e426:0x4df,_0x2be57e:0x47a,_0x4c0d58:0x3f5},_0x4f088d={_0x535a45:0x34f},_0x125df2={_0x37fa61:0xe6,_0x5a8ccc:0x121},_0x40c031=_0x5f5dfb['indexOf'](_0x95eb48);if(_0x40c031===-0x1)return void 0x0;function _0xb03f7(_0x3e6dc6,_0x32a8ed,_0xeeb947,_0xa19f1){return _0x515b8f(_0x3e6dc6-_0x125df2._0x37fa61,_0x32a8ed-_0x125df2._0x5a8ccc,_0x32a8ed,_0xa19f1-0xc1);}const _0x220da2=_0x5f5dfb['slice'](0x0,_0x40c031)[_0xb03f7(_0x43a07f._0x1c2b3a,0x732,_0x43a07f._0x4f407c,0x6f9)]('\x0a')[_0xb03f7(_0x43a07f._0x35e426,0x7ce,0x5da,0x645)],_0x1ed999=countLines(_0x95eb48);function _0x2a57fe(_0x2b560d,_0x57c3c0,_0x587d16,_0x224c59){return _0x1c3a85(_0x2b560d-0x4,_0x2b560d,_0x587d16-0xaa,_0x224c59-_0x4f088d._0x535a45);}const _0x420d23=countLines(_0xed7c26);return{'before':_0x5f5dfb,'after':_0x5f5dfb[_0x2a57fe(_0x43a07f._0x2be57e,0x362,0x593,_0x43a07f._0x4c0d58)](0x0,_0x40c031)+_0xed7c26+_0x5f5dfb['slice'](_0x40c031+_0x95eb48['length']),'lineNumbers':{'oldStartLine':_0x220da2,'oldEndLine':_0x220da2+_0x1ed999-0x1,'newStartLine':_0x220da2,'newEndLine':_0x220da2+_0x420d23-0x1,'oldLineCount':_0x1ed999,'newLineCount':_0x420d23}};}function detectEol(_0xab955b){const _0x538989={_0x23f4a2:0x3a3,_0x2a875a:0x3b3,_0x2c8a75:0x44a,_0x3d6b52:0x43c},_0x3fb235={_0x49f3e1:0x140},_0x434285={_0x2d69a3:0x198};function _0x49b6ad(_0x5306d8,_0x4af77c,_0x23411d,_0x4459f2){return _0x1c3a85(_0x5306d8-_0x434285._0x2d69a3,_0x4af77c,_0x23411d-0x151,_0x4459f2-0x281);}function _0x11c874(_0x5c6059,_0x1a8450,_0xc6d80c,_0x4c2233){return _0x515b8f(_0x5c6059-_0x3fb235._0x49f3e1,_0x1a8450-0x7,_0x5c6059,_0xc6d80c- -0x434);}return/\r\n/[_0x49b6ad(0x44d,0x4cc,_0x538989._0x23f4a2,0x32b)](_0xab955b['toString']('utf8'))?_0x49b6ad(0x572,_0x538989._0x2a875a,_0x538989._0x2c8a75,_0x538989._0x3d6b52):'lf';}function normalizeToLf(_0xb4ccc9){const _0x838f44={_0xdf9fab:0x258,_0x1d2d23:0x21c,_0x27a0a6:0x285},_0x9b8963={_0xde19fd:0xe1,_0xec9886:0x30f};function _0x3641d7(_0x1052a7,_0x32ae0d,_0x1b2a02,_0x522c1f){return _0x515b8f(_0x1052a7-_0x9b8963._0xde19fd,_0x32ae0d-0x2,_0x522c1f,_0x32ae0d- -_0x9b8963._0xec9886);}return _0xb4ccc9[_0x3641d7(_0x838f44._0xdf9fab,_0x838f44._0x1d2d23,0xac,_0x838f44._0x27a0a6)](/\r\n/g,'\x0a');}function convertEol(_0x1a0444,_0x162c08){const _0x34fdda={_0x448505:0x522},_0x1cb3d1={_0x231009:0x42},_0x127f01={_0x1d3407:0x18e};function _0x50da39(_0x75740b,_0x2d33c9,_0x1ea3e0,_0x30239a){return _0x1c3a85(_0x75740b-0x1d7,_0x2d33c9,_0x1ea3e0-_0x127f01._0x1d3407,_0x75740b-0x233);}function _0x1a87e3(_0xda4dc3,_0x17ea51,_0x590094,_0x5a2e13){return _0x515b8f(_0xda4dc3-0x11f,_0x17ea51-0x1d4,_0x590094,_0x17ea51-_0x1cb3d1._0x231009);}return _0x162c08===_0x1a87e3(_0x34fdda._0x448505,0x686,0x656,0x686)?_0x1a0444[_0x1a87e3(0x692,0x56d,0x5b0,0x569)](/\n/g,'\x0d\x0a'):_0x1a0444;}async function atomicWrite(_0x5be3fb,_0x52af8d){const _0x49c2c2={_0x233863:0x422,_0x16f946:0x61e,_0x37fbd3:0x55b,_0x2b1e8c:0x593,_0x51cd6a:0x754,_0x58a62e:0x5cc,_0x5825e3:0x59d},_0x308340={_0x2cb2e7:0x4ce},_0x451a85=_0x40bef7['dirname'](_0x5be3fb);function _0x366f84(_0x3e195d,_0x31dc0b,_0x45d549,_0x130733){return _0x515b8f(_0x3e195d-0xee,_0x31dc0b-0x99,_0x31dc0b,_0x130733- -0x76);}const _0x543f03=_0x40bef7['join'](_0x451a85,'.tmp.'+_0x40bef7[_0x18c97d(0x5af,0x593,0x6b0,0x653)](_0x5be3fb)+'.'+Date[_0x366f84(0x3c0,0x2c4,0x459,0x413)]()+'.'+Math[_0x366f84(_0x49c2c2._0x233863,_0x49c2c2._0x16f946,0x474,_0x49c2c2._0x37fbd3)]()[_0x18c97d(0x6d1,_0x49c2c2._0x2b1e8c,_0x49c2c2._0x51cd6a,_0x49c2c2._0x58a62e)](0x24)[_0x366f84(0x675,0x465,_0x49c2c2._0x5825e3,0x4b9)](0x2));await _0x2773c8(_0x543f03,_0x52af8d);function _0x18c97d(_0x43ccd9,_0x2a5254,_0x22dfff,_0x21794f){return _0x1c3a85(_0x43ccd9-0x96,_0x21794f,_0x22dfff-0x1aa,_0x43ccd9-_0x308340._0x2cb2e7);}await _0x26d936(_0x543f03,_0x5be3fb);}function createFileEditTool(_0x3b9d2c={}){const _0x3aa742={_0x8035e3:0x470,_0x4917c3:0x330,_0x2b2afa:0x3e7,_0x1e1540:0x33d,_0x5c8b4b:0x402,_0x3d390a:0x411,_0x400a54:0x498,_0x589403:0x6d4,_0x560913:0x44e,_0x1ab265:0x72b,_0x39a228:0x73a,_0x3e36c1:0x628,_0x38b983:0x4f4,_0x13859e:0x1fa,_0x5c8de4:0x31f,_0x5d2290:0x48c,_0xa320d1:0x146,_0x2a76e3:0x1ac,_0x272e8e:0x1e2,_0x2994b5:0x194,_0x2dfef:0x60b,_0xc2189e:0x4f2,_0x74267a:0x676,_0x4e4593:0x14,_0x1238e9:0x268,_0x2b3887:0x567,_0x58f3c3:0x2f,_0x393420:0x93,_0x208b2e:0x1d},_0x4f434c={_0x3ce0b7:0x354,_0x49c2de:0x1ea,_0x1cd6e6:0x201,_0x22da28:0x171,_0x4c09c0:0x48f,_0x414d48:0x2f3,_0xaa4e71:0x26d,_0x542da8:0x3dc,_0x269a3c:0x1e3,_0x4df1b8:0x30b,_0x33572d:0x1c1,_0x5f54e2:0x27d,_0x53af44:0x524,_0x1225af:0x245,_0x34e124:0x2ab,_0x17b23c:0x144,_0x4c98e7:0x1c,_0x49ec0c:0x305,_0x131f97:0x249,_0x2e6b63:0x6b,_0xa62628:0x1d,_0x3c613a:0x22,_0x2858e4:0x152,_0x3ed628:0x25f,_0x4e36d2:0x28e,_0x5686d6:0xcc,_0x34167d:0x3c,_0xab49fd:0x17b,_0x43f733:0x3eb,_0x37ed27:0x10,_0x409f99:0xe7,_0x243d6c:0x5,_0xb94568:0x2f4,_0x40e8d6:0x26a,_0x52ef8b:0xae,_0x55664e:0x15d,_0x5d2b33:0x336,_0x2f2c49:0x2c2,_0x1dbeef:0x27e,_0x3eae7:0x2b5,_0x2856a3:0x1a7,_0x273099:0x50,_0x3f776f:0x172,_0x8fff01:0x1ed,_0x35b509:0x91},_0x11042f={_0x50cf73:0xce},_0x27431b={_0x37085f:0x1c0,_0x10ed18:0x12d},_0x45f9b8={_0x2e1dc8:0x52,_0x4134aa:0x63c},_0x36a089=_0x40bef7['resolve'](_0x3b9d2c[_0xdce226(_0x3aa742._0x8035e3,_0x3aa742._0x4917c3,_0x3aa742._0x2b2afa,_0x3aa742._0x1e1540)]??process[_0xdce226(_0x3aa742._0x5c8b4b,0x5d1,_0x3aa742._0x3d390a,_0x3aa742._0x400a54)]());function _0x892fee(_0x4a2857,_0x4ebc11,_0x1020f5,_0x17cec5){return _0x515b8f(_0x4a2857-0xf,_0x4ebc11-_0x45f9b8._0x2e1dc8,_0x4a2857,_0x17cec5- -_0x45f9b8._0x4134aa);}const _0x35781a=_0x3b9d2c[_0xdce226(0x53b,0x7e5,_0x3aa742._0x589403,0x6f7)]??[];function _0xdce226(_0x18fdcb,_0x38f145,_0x28efb9,_0xff2c23){return _0x515b8f(_0x18fdcb-_0x27431b._0x37085f,_0x38f145-_0x27431b._0x10ed18,_0xff2c23,_0x28efb9-0x4a);}const _0x3e30c6=_0x3b9d2c[_0xdce226(_0x3aa742._0x560913,_0x3aa742._0x1ab265,0x5e3,_0x3aa742._0x39a228)]??_0xdce226(_0x3aa742._0x3e36c1,0x4ca,_0x3aa742._0x38b983,0x4f7);return defineTool({'name':_0x3e30c6,'permissionClass':'write','description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':_0x892fee(-_0x3aa742._0x13859e,-0x2e5,-_0x3aa742._0x5c8de4,-0x1c0),'properties':{'filePath':{'type':_0xdce226(0x48f,_0x3aa742._0x5d2290,0x4f2,0x333)},'description':{'type':_0x892fee(-_0x3aa742._0xa320d1,-_0x3aa742._0x2a76e3,-_0x3aa742._0x272e8e,-_0x3aa742._0x2994b5),'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':_0xdce226(0x389,_0x3aa742._0x2dfef,_0x3aa742._0xc2189e,_0x3aa742._0x74267a)},'newText':{'type':_0x892fee(-_0x3aa742._0x4e4593,-0xfa,-_0x3aa742._0x1238e9,-0x194)},'dryRun':{'type':_0xdce226(0x6b5,_0x3aa742._0x2b3887,0x714,0x896)}},'required':['filePath',_0x892fee(0x193,_0x3aa742._0x58f3c3,_0x3aa742._0x393420,-_0x3aa742._0x208b2e),'newText']},async *'execute'(_0x381de4){const _0x3c5294={_0x4dcb00:0x427},_0x1b84ca=resolveAllowedPath(_0x36a089,_0x35781a,_0x381de4[_0xcef09f(_0x4f434c._0x3ce0b7,_0x4f434c._0x49c2de,0x1de,0x359)]);await assertWorkspaceFile(_0x1b84ca);const _0x1a1787=await _0x305b61(_0x1b84ca),_0x193a33=await _0x7849b4(_0x1b84ca),_0x5379e9=detectEol(_0x193a33),_0x34fc85=normalizeToLf(_0x193a33['toString'](_0x145d35(0x249,0x1e2,0x131,_0x4f434c._0x1cd6e6))),_0x2feed4=normalizeToLf(_0x381de4[_0xcef09f(0x208,0x242,_0x4f434c._0x22da28,0x25a)]);function _0x145d35(_0x89a853,_0x541a30,_0x29eafc,_0x460af){return _0x892fee(_0x460af,_0x541a30-0xec,_0x29eafc-_0x11042f._0x50cf73,_0x89a853-0x37a);}const _0x15a82d=normalizeToLf(_0x381de4[_0x145d35(0x316,_0x4f434c._0x4c09c0,0x1ef,_0x4f434c._0x414d48)]),_0x2b1082=replaceFirstExact(_0x34fc85,_0x2feed4,_0x15a82d);if(_0x2b1082===void 0x0){const _0x5ec9ec=_0x2feed4[_0x145d35(_0x4f434c._0xaa4e71,_0x4f434c._0x542da8,_0x4f434c._0x269a3c,_0x4f434c._0x4df1b8)](0x0,0x64)[_0x145d35(0x269,0x3b2,_0x4f434c._0x33572d,_0x4f434c._0x5f54e2)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x145d35(0x3b0,0x435,_0x4f434c._0x53af44,0x417)+_0x5ec9ec+(_0x2feed4[_0x145d35(0x2c2,_0x4f434c._0x1225af,0x24d,_0x4f434c._0x34e124)]>0x64?_0xcef09f(0x1b3,_0x4f434c._0x17b23c,_0x4f434c._0x4c98e7,0x158):'')+'\x22',{'filePath':_0x381de4[_0x145d35(_0x4f434c._0x49ec0c,0x1bf,_0x4f434c._0x131f97,0x1d8)]});}function _0xcef09f(_0x31c865,_0xc33737,_0x4699e8,_0x111784){return _0xdce226(_0x31c865-0x90,_0xc33737-0xed,_0xc33737- -_0x3c5294._0x4dcb00,_0x111784);}const _0x3e1284=convertEol(_0x2b1082[_0xcef09f(0x51,-0x33,-0x1a6,-0x1af)],_0x5379e9),_0x400ac3=Buffer[_0xcef09f(-_0x4f434c._0x2e6b63,-_0x4f434c._0xa62628,_0x4f434c._0x3c613a,-0x17e)](_0x3e1284,'utf8'),_0x25caca=sha256Bytes(_0x193a33),_0x152903=sha256Bytes(_0x400ac3),_0x5af336=_0x25caca===_0x152903,_0x16b2d5=_0x381de4['dryRun']??![];return!_0x16b2d5&&!_0x5af336&&await atomicWrite(_0x1b84ca,_0x400ac3),yield createToolOutput(_0x5af336?_0x145d35(0x129,_0x4f434c._0x2858e4,_0x4f434c._0x3ed628,0x13b):_0x16b2d5?_0x145d35(0x1b9,_0x4f434c._0x4e36d2,0x150,0x1a5):_0x145d35(0x1db,_0x4f434c._0x5686d6,_0x4f434c._0x34167d,0x359),{'filePath':_0x381de4[_0x145d35(0x305,_0x4f434c._0xab49fd,0x179,_0x4f434c._0x43f733)],'resolvedPath':_0x1b84ca,'created':_0x1a1787['birthtime'][_0xcef09f(0xbe,-_0x4f434c._0x37ed27,-_0x4f434c._0x409f99,_0x4f434c._0x243d6c)](),'modified':_0x1a1787[_0xcef09f(_0x4f434c._0xb94568,_0x4f434c._0x40e8d6,0x149,_0x4f434c._0x52ef8b)][_0xcef09f(0x108,-0x10,0x13d,0x17)](),'size':_0x1a1787[_0xcef09f(_0x4f434c._0x55664e,0x30e,_0x4f434c._0x5d2b33,0x164)],'eol':_0x5379e9,'oldTextLength':_0x2feed4[_0x145d35(_0x4f434c._0x2f2c49,0x379,0x1b7,_0x4f434c._0x1dbeef)],'newTextLength':_0x15a82d[_0xcef09f(_0x4f434c._0x3eae7,_0x4f434c._0x2856a3,_0x4f434c._0x273099,0x4c)],'bytesWritten':_0x5af336||_0x16b2d5?0x0:_0x400ac3[_0xcef09f(_0x4f434c._0x3f776f,_0x4f434c._0x2856a3,_0x4f434c._0x8fff01,_0x4f434c._0x35b509)],'beforeSha':_0x25caca,'afterSha':_0x152903,'dryRun':_0x16b2d5,'noChange':_0x5af336,'lineNumbers':_0x2b1082['lineNumbers']}),void 0x0;}});}function _0x2a2f(_0x47c38c,_0x1b0d49){_0x47c38c=_0x47c38c-0x6c;const _0x288431=_0x2884();let _0x2a2fd1=_0x288431[_0x47c38c];if(_0x2a2f['dGevlo']===undefined){var _0x15c535=function(_0x4b0d33){const _0x48d239='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xa37a56='',_0x59f609='';for(let _0x1e3ee7=0x0,_0x4a3e68,_0x625444,_0x3af399=0x0;_0x625444=_0x4b0d33['charAt'](_0x3af399++);~_0x625444&&(_0x4a3e68=_0x1e3ee7%0x4?_0x4a3e68*0x40+_0x625444:_0x625444,_0x1e3ee7++%0x4)?_0xa37a56+=String['fromCharCode'](0xff&_0x4a3e68>>(-0x2*_0x1e3ee7&0x6)):0x0){_0x625444=_0x48d239['indexOf'](_0x625444);}for(let _0x5b7eed=0x0,_0x1e539d=_0xa37a56['length'];_0x5b7eed<_0x1e539d;_0x5b7eed++){_0x59f609+='%'+('00'+_0xa37a56['charCodeAt'](_0x5b7eed)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x59f609);};_0x2a2f['gcCGhM']=_0x15c535,_0x2a2f['BENsfn']={},_0x2a2f['dGevlo']=!![];}const _0x1576bf=_0x288431[0x0],_0x2e1484=_0x47c38c+_0x1576bf,_0x18f7bb=_0x2a2f['BENsfn'][_0x2e1484];return!_0x18f7bb?(_0x2a2fd1=_0x2a2f['gcCGhM'](_0x2a2fd1),_0x2a2f['BENsfn'][_0x2e1484]=_0x2a2fd1):_0x2a2fd1=_0x18f7bb,_0x2a2fd1;}import{mkdir as _0x3db4b8,rename as _0xf0470a,stat as _0x2f07cb,writeFile as _0x58ddbb}from'fs/promises';import*as _0x5c3b8d from'path';async function atomicWrite2(_0xd0afcd,_0x52822f){const _0x66bf88={_0xf619d0:0x318,_0x3390d0:0x1b4,_0x4e311e:0x268,_0x55e73a:0x1c3,_0x6158f5:0x27b,_0x4a22cb:0x2d,_0x2bf0a7:0x133},_0x37c914={_0x4409cb:0xae},_0x22d5c4={_0x1ca7c8:0x1de,_0x34fa8d:0x302};function _0x1c8037(_0x237ef2,_0x37c45f,_0x544ac5,_0x3a88e1){return _0x515b8f(_0x237ef2-_0x22d5c4._0x1ca7c8,_0x37c45f-0x157,_0x237ef2,_0x544ac5- -_0x22d5c4._0x34fa8d);}const _0x2be361=_0x5c3b8d[_0x50a65e(-_0x66bf88._0xf619d0,-0x2a3,-0x2b0,-0x305)](_0xd0afcd);await _0x3db4b8(_0x2be361,{'recursive':!![]});function _0x50a65e(_0x295663,_0x499360,_0x4d2ed5,_0x23273d){return _0x1c3a85(_0x295663-0x181,_0x23273d,_0x4d2ed5-_0x37c914._0x4409cb,_0x295663- -0x275);}const _0x95006e=_0x5c3b8d['join'](_0x2be361,_0x1c8037(0x1a4,_0x66bf88._0x3390d0,0x1ca,0x246)+_0x5c3b8d[_0x1c8037(0x2cd,0x2dc,_0x66bf88._0x4e311e,_0x66bf88._0x55e73a)](_0xd0afcd)+'.'+Date[_0x1c8037(_0x66bf88._0x6158f5,-_0x66bf88._0x4a22cb,0x187,0x2b2)]()+'.'+Math[_0x50a65e(-0x12d,-0x17c,0x84,-0xc6)]()[_0x50a65e(-0x72,-0x164,-_0x66bf88._0x2bf0a7,-0x20d)](0x24)['slice'](0x2));await _0x58ddbb(_0x95006e,_0x52822f),await _0xf0470a(_0x95006e,_0xd0afcd);}function createFileNewTool(_0x5c1ab5={}){const _0x5b5c0b={_0x447c84:0x28f,_0x2a22f2:0x280,_0x59a8d5:0x37c,_0x371d52:0x3f2,_0x408298:0xf7,_0x1bfb1c:0x18f,_0x1054d9:0x63,_0x2ace76:0x133,_0x1b52f2:0x9e,_0x175e25:0x162,_0x19d165:0x5e,_0x394f9f:0x1a8},_0x1c8cd3={_0x244944:0x5fe,_0x3586c5:0x500,_0x345998:0x57b,_0x1ad83f:0x407,_0x5c1416:0x3d6,_0x5951bc:0x464,_0x1981d6:0x370,_0x570c4d:0x359,_0x36f6c4:0x2a0,_0xccc47b:0x137,_0x11225e:0x587,_0x51e325:0x55a,_0x380af2:0x483,_0x313605:0x37d,_0x4a4622:0x517,_0x59aae7:0x6d9,_0x224172:0x49,_0x38a159:0xe,_0x4c06f2:0x307,_0x4a0ef2:0x24b,_0xfdc3d8:0x264,_0x5d7fcc:0x47f,_0x1b7352:0x4e0,_0x71e4ed:0x360,_0x2966a8:0x4dc},_0x2a2fe9={_0x3e6d7d:0xb5,_0x1a90b0:0xee},_0x1ce33b={_0x4948f8:0x29},_0x5a3a35={_0x2b9059:0x10d,_0x5b202c:0x63},_0x52477a=_0x5c3b8d['resolve'](_0x5c1ab5['defaultCwd']??process[_0x1d81e9(-0xa9,-0x296,-0x10c,-_0x5b5c0b._0x447c84)]()),_0x8b4603=_0x5c1ab5[_0x4deb67(0x273,_0x5b5c0b._0x2a22f2,_0x5b5c0b._0x59a8d5,_0x5b5c0b._0x371d52)]??[];function _0x4deb67(_0x56f3cb,_0x3b42e1,_0x79605f,_0x249e19){return _0x515b8f(_0x56f3cb-_0x5a3a35._0x2b9059,_0x3b42e1-_0x5a3a35._0x5b202c,_0x56f3cb,_0x3b42e1- -0x40a);}function _0x1d81e9(_0x1eee99,_0x314e1e,_0x35a13d,_0x18a248){return _0x1c3a85(_0x1eee99-0x32,_0x314e1e,_0x35a13d-_0x1ce33b._0x4948f8,_0x35a13d- -0x4a);}const _0x243087=_0x5c1ab5[_0x4deb67(_0x5b5c0b._0x408298,_0x5b5c0b._0x1bfb1c,0x186,0x2c1)]??_0x4deb67(-0x11c,-_0x5b5c0b._0x1054d9,-_0x5b5c0b._0x2ace76,0x152);return defineTool({'name':_0x243087,'permissionClass':'write','description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':'object','properties':{'filePath':{'type':_0x4deb67(0xa3,_0x5b5c0b._0x1b52f2,_0x5b5c0b._0x175e25,-0xd9)},'content':{'type':_0x1d81e9(_0x5b5c0b._0x19d165,-0x1dc,-0x2b,0x22)}},'required':[_0x1d81e9(_0x5b5c0b._0x394f9f,0x18e,0xf4,-0x2d),'content']},async *'execute'(_0x10879b){const _0xb9402c={_0x13ace9:0x39d,_0x211329:0x34,_0x4e77d6:0x7c},_0x5f1eec=resolveAllowedPath(_0x52477a,_0x8b4603,_0x10879b[_0x3cd02a(0x4b4,0x55a,_0x1c8cd3._0x244944,0x483)]),_0x368c02=await _0x2f07cb(_0x5f1eec)[_0x3cd02a(0x578,_0x1c8cd3._0x3586c5,0x5fc,_0x1c8cd3._0x345998)](()=>!![])[_0x3cd02a(_0x1c8cd3._0x1ad83f,0x366,0x297,_0x1c8cd3._0x5c1416)](()=>![]),_0x1ea823=Buffer[_0x3cd02a(_0x1c8cd3._0x5951bc,0x353,0x2e1,_0x1c8cd3._0x1981d6)](_0x10879b[_0x3cd02a(0x2d5,_0x1c8cd3._0x570c4d,0x205,_0x1c8cd3._0x36f6c4)],_0x214565(0x2cb,0x1cc,0x287,_0x1c8cd3._0xccc47b));await atomicWrite2(_0x5f1eec,_0x1ea823);function _0x214565(_0x489c4e,_0x2c46b8,_0x94f7e8,_0x444e24){return _0x4deb67(_0x489c4e,_0x444e24-0x36,_0x94f7e8-_0x2a2fe9._0x3e6d7d,_0x444e24-_0x2a2fe9._0x1a90b0);}yield createToolOutput('File\x20written\x20at\x20'+_0x10879b[_0x3cd02a(_0x1c8cd3._0x11225e,_0x1c8cd3._0x51e325,_0x1c8cd3._0x380af2,0x70a)]+'.',{'filePath':_0x10879b['filePath'],'resolvedPath':_0x5f1eec,'bytes':_0x1ea823[_0x3cd02a(_0x1c8cd3._0x313605,_0x1c8cd3._0x4a4622,0x4d9,_0x1c8cd3._0x59aae7)],'lines':_0x10879b[_0x214565(-0x19c,-_0x1c8cd3._0x224172,-0x47,-_0x1c8cd3._0x38a159)][_0x214565(0x113,_0x1c8cd3._0x4c06f2,_0x1c8cd3._0x4a0ef2,_0x1c8cd3._0xfdc3d8)](/\r?\n/)[_0x3cd02a(_0x1c8cd3._0x5d7fcc,0x517,_0x1c8cd3._0x1b7352,0x6cf)],'created':new Date()[_0x3cd02a(0x25f,_0x1c8cd3._0x71e4ed,0x41c,_0x1c8cd3._0x2966a8)](),'overwritten':_0x368c02});function _0x3cd02a(_0x758c6f,_0x181399,_0x2d70b3,_0x15bdcc){return _0x4deb67(_0x758c6f,_0x181399-_0xb9402c._0x13ace9,_0x2d70b3-_0xb9402c._0x211329,_0x15bdcc-_0xb9402c._0x4e77d6);}return void 0x0;}});}import{readFile as _0x44ceee,stat as _0x55bf08}from'fs/promises';import*as _0x554a50 from'path';function stripUtfBom(_0x577e9a){const _0x193695={_0x450efa:0x489,_0x16ce00:0x558,_0x1448bc:0x4a5},_0x2ba45e={_0x3feb41:0x161,_0x328e5e:0x2a,_0x248f28:0xdc},_0x35b41c={_0x4e751f:0x52,_0x21f1d4:0xca};function _0x4207d0(_0x529593,_0x139e33,_0xc69aea,_0xdd74f7){return _0x515b8f(_0x529593-0x12f,_0x139e33-_0x35b41c._0x4e751f,_0xdd74f7,_0x529593- -_0x35b41c._0x21f1d4);}function _0x378c9d(_0x2223f6,_0x40cc39,_0x20d1e7,_0x314ddd){return _0x515b8f(_0x2223f6-_0x2ba45e._0x3feb41,_0x40cc39-_0x2ba45e._0x328e5e,_0x314ddd,_0x20d1e7- -_0x2ba45e._0x248f28);}return _0x577e9a[_0x378c9d(_0x193695._0x450efa,_0x193695._0x16ce00,_0x193695._0x1448bc,0x4b7)](0x0)===0xfeff?_0x577e9a[_0x378c9d(0x3df,_0x193695._0x16ce00,0x453,0x3a9)](0x1):_0x577e9a;}function clampLine(_0x30c39e,_0x1ca8fc){const _0x8e54a7={_0x1337cf:0x132,_0x40437a:0x10d,_0x3c62d2:0x7,_0x41b088:0x195,_0x1f0c7b:0x252,_0x5e77b9:0x1ee,_0x2f7206:0x160,_0x104897:0x4f},_0x13faa0={_0xe06d91:0x143},_0x5a9f33={_0x29def3:0x106,_0x301560:0x1b0,_0x250a0e:0x588};if(!Number['isFinite'](_0x30c39e))return 0x1;function _0x1ae758(_0x8ab5e2,_0x23db98,_0x28021c,_0x34e2d1){return _0x515b8f(_0x8ab5e2-_0x5a9f33._0x29def3,_0x23db98-_0x5a9f33._0x301560,_0x28021c,_0x34e2d1- -_0x5a9f33._0x250a0e);}function _0x1e2ca7(_0x493ca6,_0x1bc489,_0x5a8da0,_0x5ef0c4){return _0x1c3a85(_0x493ca6-0x17d,_0x5ef0c4,_0x5a8da0-_0x13faa0._0xe06d91,_0x493ca6-0x33f);}return Math[_0x1ae758(-_0x8e54a7._0x1337cf,-0x126,_0x8e54a7._0x40437a,0x86)](0x1,Math[_0x1ae758(-_0x8e54a7._0x3c62d2,_0x8e54a7._0x41b088,_0x8e54a7._0x1f0c7b,0xb2)](Math[_0x1ae758(0x115,_0x8e54a7._0x5e77b9,_0x8e54a7._0x2f7206,_0x8e54a7._0x104897)](_0x30c39e),_0x1ca8fc));}function createFileReadTool(_0x597c4e={}){const _0x2e3f19={_0x1192f2:0x11f,_0x48d8dc:0x96,_0x3cea9c:0x43,_0x26ea85:0x14b,_0x4e954a:0xa7,_0x2696f1:0x2a,_0x6bfe1c:0xf1,_0x36fc8a:0x1b6,_0x364d46:0x193,_0x21228d:0xc6,_0x304576:0x293,_0x220f95:0x9d,_0x2b832c:0xbf,_0x2e8265:0x14c,_0x405349:0x241,_0x254649:0x118},_0x41c489={_0x2053ba:0x181,_0x483776:0x10d,_0x39f96f:0x17a,_0x1bb5e:0x10d,_0x27e8e8:0x1bd,_0x45463e:0xfc,_0x4efcb8:0x18a,_0x7cb6ce:0x1be,_0x491e66:0xc,_0x546d7e:0xa,_0x3db597:0x170,_0x5d80f2:0x19c,_0x88a116:0xca,_0x11f309:0x1c9,_0x150418:0x10a,_0x588708:0x206,_0x2e138b:0x154,_0x22bc94:0x272,_0x33f48e:0x23d,_0x492da5:0x117,_0x1b453e:0x5d,_0x155ada:0xd6,_0x2e786b:0x59,_0x1b8369:0x1ba,_0x29eb9e:0x177,_0xecc13a:0x1d0,_0x1b2413:0x194,_0x53d7d2:0x11,_0x2dc80b:0x64,_0x5f1b2c:0xdf,_0x89a54:0x179,_0x52cbbe:0x1a4,_0x16b1e4:0xae,_0x216c6a:0x2c,_0x4b51f2:0x178,_0x5e2909:0x1ac,_0x492a34:0x47,_0x4ed1eb:0x120,_0x5d16ab:0xd6,_0xd1135:0x40,_0x5c2d89:0x139,_0xa66bbf:0xba,_0x3516dc:0xfd,_0x3cfcec:0x160,_0x59d9fa:0xb9,_0x30404b:0xf2,_0x356b92:0x92},_0x23b3f3={_0x251c28:0x167,_0x119ced:0x1e3,_0x56af51:0x3f0},_0x4c0d20={_0x540f6b:0x1b6};function _0x59c5b6(_0x5cb5c6,_0x5e372d,_0x542839,_0x542380){return _0x515b8f(_0x5cb5c6-0x180,_0x5e372d-_0x4c0d20._0x540f6b,_0x5cb5c6,_0x542380- -0x39d);}const _0x18b3ea=_0x554a50['resolve'](_0x597c4e[_0x268789(_0x2e3f19._0x1192f2,_0x2e3f19._0x48d8dc,_0x2e3f19._0x3cea9c,-0x53)]??process[_0x59c5b6(-_0x2e3f19._0x26ea85,-_0x2e3f19._0x4e954a,0x19,_0x2e3f19._0x2696f1)]());function _0x268789(_0x4b8251,_0x465664,_0x493294,_0x567a53){return _0x515b8f(_0x4b8251-_0x23b3f3._0x251c28,_0x465664-_0x23b3f3._0x119ced,_0x493294,_0x567a53- -_0x23b3f3._0x56af51);}const _0x940617=_0x597c4e[_0x268789(0x270,_0x2e3f19._0x6bfe1c,0x259,0x29a)]??[],_0x4518af=_0x597c4e[_0x59c5b6(0x1f3,0x2a2,0x20d,0x1fc)]??'FileRead';return defineTool({'name':_0x4518af,'permissionClass':'read','description':_0x268789(0x23a,0x28b,_0x2e3f19._0x36fc8a,0x29d),'inputSchema':{'type':_0x59c5b6(0x158,_0x2e3f19._0x364d46,_0x2e3f19._0x21228d,0xdf),'properties':{'path':{'type':_0x59c5b6(_0x2e3f19._0x304576,-_0x2e3f19._0x220f95,0x14d,0x10b)},'lineStart':{'type':'number','description':_0x59c5b6(0x6,_0x2e3f19._0x2b832c,0x1e0,0x10f)},'lineEnd':{'type':_0x59c5b6(_0x2e3f19._0x2e8265,_0x2e3f19._0x405349,_0x2e3f19._0x254649,0x2d6),'description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':['path']},async *'execute'(_0x1a70e4){const _0x4dad13={_0xd21236:0x1af},_0x34c874={_0x2a2ef7:0xcc},_0x24a378=resolveAllowedPath(_0x18b3ea,_0x940617,_0x1a70e4['path']);await assertWorkspaceFile(_0x24a378);const _0x6bde67=await _0x55bf08(_0x24a378),_0x24116a=await _0x44ceee(_0x24a378);if(isProbablyBinary(_0x24116a))throw new ToolExecutionError(_0x985336(-0x16d,-0x15c,_0x41c489._0x2053ba,-0x2c)+_0x1a70e4['path'],{'path':_0x1a70e4[_0x985336(-_0x41c489._0x483776,_0x41c489._0x39f96f,-0xf2,0x12)]});function _0x165751(_0x40e3e4,_0x4f3004,_0x1b95c7,_0x4039ff){return _0x59c5b6(_0x4039ff,_0x4f3004-_0x34c874._0x2a2ef7,_0x1b95c7-0xd8,_0x40e3e4- -0x111);}let _0x57c3b9=_0x24116a['toString']('utf8');const _0x5a76ed=_0x57c3b9[_0x165751(0xd3,_0x41c489._0x1bb5e,_0x41c489._0x27e8e8,_0x41c489._0x45463e)](0x0)===0xfeff;_0x57c3b9=stripUtfBom(_0x57c3b9);const _0x1d46f9=_0x57c3b9[_0x165751(_0x41c489._0x4efcb8,0x76,_0x41c489._0x7cb6ce,0x41)](/\r?\n/),_0x5b3c87={'path':_0x1a70e4['path'],'resolvedPath':_0x24a378,'created':_0x6bde67[_0x985336(-0x12b,-0x2e2,_0x41c489._0x491e66,-0x130)][_0x985336(-0x13d,-0x109,-_0x41c489._0x546d7e,-_0x41c489._0x3db597)](),'modified':_0x6bde67[_0x985336(_0x41c489._0x5d80f2,_0x41c489._0x88a116,_0x41c489._0x11f309,_0x41c489._0x150418)][_0x985336(-_0x41c489._0x588708,-_0x41c489._0x2e138b,-_0x41c489._0x22bc94,-0x170)](),'size':_0x6bde67[_0x165751(_0x41c489._0x33f48e,0x2f7,0x3c3,_0x41c489._0x492da5)],'encoding':_0x165751(_0x41c489._0x1b453e,0xb0,0xeb,0x1b7),'bomStripped':_0x5a76ed,'truncated':![],'totalLines':_0x1d46f9[_0x165751(_0x41c489._0x155ada,_0x41c489._0x2e786b,_0x41c489._0x1b8369,_0x41c489._0x29eb9e)]};function _0x985336(_0x3118d0,_0x318cf3,_0x5f4b41,_0x1f7fb5){return _0x268789(_0x3118d0-0x1af,_0x318cf3-_0x4dad13._0xd21236,_0x318cf3,_0x1f7fb5- -0x14d);}if(_0x1a70e4[_0x985336(-0x118,-_0x41c489._0xecc13a,-_0x41c489._0x1b2413,-0xb3)]!==void 0x0||_0x1a70e4[_0x165751(_0x41c489._0x53d7d2,-_0x41c489._0x2dc80b,_0x41c489._0x5f1b2c,-_0x41c489._0x89a54)]!==void 0x0){const _0x251f43=clampLine(_0x1a70e4[_0x985336(-_0x41c489._0x52cbbe,_0x41c489._0x16b1e4,_0x41c489._0x216c6a,-0xb3)]??0x1,_0x1d46f9[_0x985336(-0x66,-_0x41c489._0x4b51f2,_0x41c489._0x5e2909,_0x41c489._0x492a34)]),_0x5babcb=clampLine(_0x1a70e4[_0x985336(-0xb2,_0x41c489._0x4ed1eb,0x43,-0x7e)]??_0x1d46f9[_0x165751(_0x41c489._0x5d16ab,-0x46,0x250,-_0x41c489._0xd1135)],_0x1d46f9['length']),_0x52e376=Math[_0x985336(_0x41c489._0x5c2d89,0x192,-_0x41c489._0xa66bbf,_0x41c489._0x3516dc)](_0x251f43,_0x5babcb),_0x5900c5=Math[_0x165751(_0x41c489._0x3cfcec,0x256,_0x41c489._0x59d9fa,-0x55)](_0x251f43,_0x5babcb),_0x45b6d1=_0x1d46f9[_0x165751(0x81,0x20a,-_0x41c489._0x30404b,_0x41c489._0x5c2d89)](_0x52e376-0x1,_0x5900c5)['map']((_0x5fbbaa,_0x59a39f)=>_0x52e376+_0x59a39f+'|'+_0x5fbbaa)['join']('\x0a');return yield createToolOutput(_0x45b6d1,{..._0x5b3c87,'lineRange':{'lineStart':_0x52e376,'lineEnd':_0x5900c5,'linesTotal':_0x1d46f9[_0x985336(-_0x41c489._0x356b92,-0xec,0xd,0x47)]}}),void 0x0;}return yield createToolOutput(_0x57c3b9,_0x5b3c87),void 0x0;}});}import{stat as _0x3f45f1}from'fs/promises';import*as _0x51961f from'path';import{execSync,spawn as _0x48c7c1}from'child_process';import{existsSync}from'fs';import{stat as _0x735868}from'fs/promises';import*as _0x384c87 from'os';import*as _0xbbeb3e from'path';import{rgPath as _0x4a942b}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x2a2ec7={_0x789b90:0x720,_0x56dfa2:0x49a,_0x2ee8d0:0x569,_0xa27cd8:0x589,_0x4821d1:0x436,_0x1599d0:0x3a4,_0x395f2a:0x4c9,_0xdb021e:0x51e,_0x2bbceb:0x5a7,_0x11e8bd:0x48a,_0x30994c:0x2b8,_0x5d20d0:0x2d7,_0x3bee7e:0x21f,_0x46f210:0x1d9,_0x27e1b6:0x60e,_0x45306b:0x4a2,_0x53a495:0x5ab,_0x58e494:0x6b4,_0x2d0440:0x4a4,_0x524f06:0x589,_0x15399b:0x689,_0x29dfef:0x651,_0x57ddbd:0x6d3,_0x57e802:0x6c9,_0x104f6b:0x651,_0x3e3541:0x5c0,_0x3dad24:0x2a3,_0x502f1d:0x5b0,_0x457c0e:0x450,_0x378dc9:0x45d,_0xccc52d:0x54d,_0x1399c2:0x622,_0x430d60:0x4af,_0x448380:0x5bd,_0x210994:0x546,_0x58ba6f:0x308,_0xb1b573:0x38d,_0x47a02f:0x3c7,_0x4e13aa:0x163,_0x50fa63:0x20a,_0x5d1ef6:0x2bb,_0x3f8ca6:0x28f,_0x1625a9:0x569,_0x4ccaea:0x58f,_0x381802:0x54b},_0x133f4e={_0x553ddb:0x61,_0x3c22dc:0x9f},_0x4e027b={_0x2f2976:0x166,_0x5231c6:0x477},_0x3da4f1=_0x384c87[_0x2d420d(0x665,_0x2a2ec7._0x789b90,_0x2a2ec7._0x56dfa2,_0x2a2ec7._0x2ee8d0)]()===_0x2d420d(0x3d6,_0x2a2ec7._0xa27cd8,0x4f2,_0x2a2ec7._0x4821d1),_0x7e1bca=_0x3da4f1?[_0xbbeb3e[_0x2d420d(_0x2a2ec7._0x1599d0,0x626,_0x2a2ec7._0x395f2a,_0x2a2ec7._0xdb021e)](process[_0x5cbb09(0x503,_0x2a2ec7._0x2bbceb,0x42f,_0x2a2ec7._0x11e8bd)]['LOCALAPPDATA']||'',_0x2d420d(_0x2a2ec7._0x30994c,0x432,0x39c,0x404),'WinGet',_0x2d420d(_0x2a2ec7._0x5d20d0,_0x2a2ec7._0x3bee7e,_0x2a2ec7._0x46f210,0x394)),_0xbbeb3e[_0x5cbb09(0x654,_0x2a2ec7._0x27e1b6,_0x2a2ec7._0x45306b,_0x2a2ec7._0x53a495)](process[_0x5cbb09(0x3ab,0x390,0x35f,0x48a)][_0x2d420d(0x61f,0x723,_0x2a2ec7._0x58e494,0x5c0)]||'',_0x5cbb09(_0x2a2ec7._0x2d0440,0x3ca,0x454,_0x2a2ec7._0x524f06),_0x2d420d(0x4d4,_0x2a2ec7._0x15399b,0x511,_0x2a2ec7._0x29dfef)),_0xbbeb3e['join'](process['env']['ProgramFiles(x86)']||'','ripgrep',_0x2d420d(_0x2a2ec7._0x57ddbd,0x568,_0x2a2ec7._0x57e802,_0x2a2ec7._0x104f6b))]:[_0x5cbb09(_0x2a2ec7._0x3e3541,0x499,0x7ad,0x608),_0x5cbb09(_0x2a2ec7._0x3dad24,_0x2a2ec7._0x502f1d,_0x2a2ec7._0x457c0e,_0x2a2ec7._0x378dc9),_0x5cbb09(_0x2a2ec7._0xccc52d,0x446,_0x2a2ec7._0x1399c2,0x465),'/bin/rg'];for(const _0x42f593 of _0x7e1bca){if(existsSync(_0x42f593))return _0x42f593;}function _0x5cbb09(_0x5e4992,_0x1b7710,_0x4f38b7,_0x40b980){return _0x1c3a85(_0x5e4992-0x55,_0x5e4992,_0x4f38b7-_0x4e027b._0x2f2976,_0x40b980-_0x4e027b._0x5231c6);}try{const _0x705712=_0x3da4f1?'where\x20rg':_0x2d420d(_0x2a2ec7._0x430d60,0x724,0x4e4,0x562),_0x256893=execSync(_0x705712,{'encoding':_0x2d420d(_0x2a2ec7._0x448380,_0x2a2ec7._0x210994,_0x2a2ec7._0x58ba6f,0x46c),'stdio':[_0x5cbb09(0x23c,0x463,0x314,_0x2a2ec7._0xb1b573),_0x2d420d(_0x2a2ec7._0x47a02f,_0x2a2ec7._0x4e13aa,_0x2a2ec7._0x50fa63,0x300),_0x2d420d(_0x2a2ec7._0x5d1ef6,0x3b1,_0x2a2ec7._0x3f8ca6,0x332)]})[_0x5cbb09(_0x2a2ec7._0x1625a9,_0x2a2ec7._0x4ccaea,0x672,_0x2a2ec7._0x381802)]()['split'](/\r?\n/)[0x0];if(_0x256893&&existsSync(_0x256893))return _0x256893;}catch{return null;}function _0x2d420d(_0x18d0ae,_0x52a904,_0x2a1b4c,_0x403221){return _0x515b8f(_0x18d0ae-0x1c5,_0x52a904-_0x133f4e._0x553ddb,_0x18d0ae,_0x403221- -_0x133f4e._0x3c22dc);}return null;}async function filepath(){const _0x15465c={_0x33efbf:0x108,_0x5c664a:0x148,_0x503a05:0x84},_0x2bff1d={_0x545369:0xb6,_0x6b4068:0x4fe};if(cachedRgPath)return cachedRgPath;function _0x5dfcc5(_0x12fee5,_0x1a6afc,_0x3bdb63,_0x47ec3c){return _0x515b8f(_0x12fee5-0xdd,_0x1a6afc-_0x2bff1d._0x545369,_0x1a6afc,_0x3bdb63- -_0x2bff1d._0x6b4068);}if(_0x4a942b&&existsSync(_0x4a942b))return cachedRgPath=_0x4a942b,_0x4a942b;const _0xa5a721=findSystemRipgrep();if(!_0xa5a721)throw new Error(_0x5dfcc5(0x70,-_0x15465c._0x33efbf,-_0x15465c._0x5c664a,-_0x15465c._0x503a05));return cachedRgPath=_0xa5a721,_0xa5a721;}async function*files(_0x4ef06a){const _0x5ac0c3={_0x39c9cb:0x184,_0x50b86e:0x18,_0x177047:0x4e,_0x2b5e58:0x6a,_0x1ab8ac:0x1a3,_0x3938b6:0xc0,_0x42147d:0x176,_0x4904c9:0x5b,_0x6d969b:0x215,_0x32b826:0x1c7,_0x34564a:0x24,_0x3d8e4d:0x1fb,_0x32cc8e:0x5d,_0x36ef17:0xdb,_0x3e5e2d:0xd1,_0x5a7f33:0x12b,_0x448c1c:0x366,_0x2ded8e:0x3de,_0x6ed055:0x117,_0x253847:0xda,_0x527bd3:0x2bd,_0x155928:0xdb,_0xc78ac0:0x54,_0x591090:0xf1,_0x229c94:0x25d,_0x470049:0x577,_0x51d5f9:0x51b,_0x516d13:0x38a,_0x1da82c:0x334,_0x23842e:0x100,_0x4deb2c:0x2a9,_0xae55cf:0x201,_0x4c2494:0x30a},_0x2739c3={_0x36d18f:0x1ae,_0x50a56f:0x1db},_0x25648b={_0x35667e:0x1e9},_0x3317fb=await filepath(),_0x59b9e2=await _0x735868(_0x4ef06a['cwd'])[_0x2a1809(0xa9,0x132,-0x5e,-0x1bd)](()=>null);if(!_0x59b9e2?.[_0x2a1809(0x19d,-_0x5ac0c3._0x39c9cb,0x9,_0x5ac0c3._0x50b86e)]())throw Object['assign'](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x4ef06a[_0x2a1809(_0x5ac0c3._0x177047,-0x1b6,-_0x5ac0c3._0x2b5e58,-_0x5ac0c3._0x1ab8ac)]+'\x27'),{'code':_0x2a1809(-0xd8,_0x5ac0c3._0x3938b6,-_0x5ac0c3._0x50b86e,_0x5ac0c3._0x42147d)});const _0xf7fc6d=['--files',_0x95835e(_0x5ac0c3._0x4904c9,_0x5ac0c3._0x6d969b,_0x5ac0c3._0x32b826,_0x5ac0c3._0x34564a),_0x2a1809(-_0x5ac0c3._0x3d8e4d,0x4f,-_0x5ac0c3._0x32cc8e,-_0x5ac0c3._0x36ef17),_0x2a1809(-_0x5ac0c3._0x3e5e2d,0x59,-0x91,_0x5ac0c3._0x5a7f33)];for(const _0x205ac9 of _0x4ef06a[_0x95835e(_0x5ac0c3._0x448c1c,0x301,0x282,_0x5ac0c3._0x2ded8e)]??[]){_0xf7fc6d['push'](_0x2a1809(-0xca,0x15b,0x3d,_0x5ac0c3._0x6ed055)+_0x205ac9);}function _0x2a1809(_0x5ec3af,_0x287d9a,_0x5a8050,_0x31fe3f){return _0x1c3a85(_0x5ec3af-0x1ce,_0x287d9a,_0x5a8050-_0x25648b._0x35667e,_0x5a8050-0x58);}const _0x5f14b8=_0x48c7c1(_0x3317fb,_0xf7fc6d,{'cwd':_0x4ef06a['cwd'],'stdio':[_0x95835e(_0x5ac0c3._0x253847,_0x5ac0c3._0x527bd3,0x123,_0x5ac0c3._0x155928),_0x95835e(0x27,0xa2,0xf1,-_0x5ac0c3._0xc78ac0),_0x95835e(-0xc9,-0x52,_0x5ac0c3._0x591090,0xd3)]});function _0x95835e(_0x8a96f9,_0x4f1c2c,_0x193ca2,_0x1d9713){return _0x1c3a85(_0x8a96f9-_0x2739c3._0x36d18f,_0x1d9713,_0x193ca2-0x168,_0x193ca2-_0x2739c3._0x50a56f);}let _0x55e1ff='';for await(const _0xef8a00 of _0x5f14b8[_0x2a1809(0x2ca,0xe1,_0x5ac0c3._0x229c94,0x14c)]??[]){_0x55e1ff+=_0xef8a00[_0x95835e(0x289,0x4a6,_0x5ac0c3._0x2ded8e,_0x5ac0c3._0x470049)]();const _0x513d0c=_0x55e1ff[_0x95835e(_0x5ac0c3._0x51d5f9,0x496,_0x5ac0c3._0x516d13,_0x5ac0c3._0x1da82c)](/\r?\n/);_0x55e1ff=_0x513d0c[_0x2a1809(0x207,0x156,_0x5ac0c3._0x23842e,-0x59)]()??'';for(const _0x3231ac of _0x513d0c){if(_0x3231ac['length']>0x0)yield _0x3231ac;}}_0x55e1ff['trim']()['length']>0x0&&(yield _0x55e1ff[_0x95835e(_0x5ac0c3._0x4deb2c,_0x5ac0c3._0xae55cf,0x2af,_0x5ac0c3._0x4c2494)]());}function objectValue(_0x25a7a7){return typeof _0x25a7a7==='object'&&_0x25a7a7!==null?_0x25a7a7:void 0x0;}function decodeRipgrepText(_0x41cc97){const _0x8bbdc={_0x9079e4:0x33a,_0x17d947:0x19f,_0x41b80b:0x3fa,_0x120b82:0x3cd,_0x350589:0x301,_0x36a992:0x4f5,_0xe79b84:0x537,_0x5159bc:0x490,_0x1071cf:0x4e2,_0x931473:0x364,_0x1304fb:0x3cc,_0x263fe2:0x1f4,_0x2d152d:0x4e9},_0x4ae4d7={_0x5ad439:0x2e2},_0x71d36a={_0x3dd721:0x119};function _0x1b9966(_0x2b61dc,_0x3d6696,_0x1d3da9,_0x17b343){return _0x515b8f(_0x2b61dc-_0x71d36a._0x3dd721,_0x3d6696-0x199,_0x17b343,_0x2b61dc- -0x11c);}const _0x1ddcda=objectValue(_0x41cc97);function _0x6d5e1a(_0x5b2607,_0x1aa334,_0x1e492b,_0x2d4443){return _0x1c3a85(_0x5b2607-0x45,_0x2d4443,_0x1e492b-0x41,_0x5b2607-_0x4ae4d7._0x5ad439);}if(typeof _0x1ddcda?.[_0x1b9966(_0x8bbdc._0x9079e4,_0x8bbdc._0x17d947,0x244,_0x8bbdc._0x41b80b)]==='string')return _0x1ddcda['text'];if(typeof _0x1ddcda?.[_0x6d5e1a(0x4f5,0x5f9,0x34c,_0x8bbdc._0x120b82)]===_0x6d5e1a(_0x8bbdc._0x350589,0x168,0x471,0x3b6))return Buffer['from'](_0x1ddcda[_0x6d5e1a(_0x8bbdc._0x36a992,_0x8bbdc._0xe79b84,_0x8bbdc._0x5159bc,_0x8bbdc._0x1071cf)],'base64')['toString'](_0x6d5e1a(_0x8bbdc._0x931473,_0x8bbdc._0x1304fb,_0x8bbdc._0x263fe2,_0x8bbdc._0x2d152d));return void 0x0;}function parseMatchLine(_0x375594,_0x4008){const _0x2615df={_0x758689:0x5e,_0x354c02:0x168,_0x200238:0x432,_0x1a5caa:0x15d,_0x13cba4:0x256,_0x9d0ec2:0x488,_0x39fef5:0x3b0,_0x20ea37:0x39d,_0x135173:0x118,_0x4febc7:0x394,_0x22c292:0x1c3,_0x2842ce:0x2b7,_0x1375ff:0x42f,_0xf39db4:0x4ce,_0x120371:0x61d,_0xd475f0:0x41f,_0x477137:0x76,_0x2e0a6e:0x213,_0x4117be:0x291,_0x54d469:0x155,_0x490339:0xbc,_0xbd93dd:0x11c,_0x222a5d:0x21,_0x3ccb85:0x137,_0x10c80e:0x2d0},_0x2d651f={_0x3e7f9b:0x87,_0x10d839:0x244},_0x3ff3b9={_0x56ceb8:0x2f,_0x57cbb5:0x1b7};if(_0x375594['length']===0x0)return null;const _0x56a968=objectValue(JSON[_0x5cf82a(_0x2615df._0x758689,_0x2615df._0x354c02,-0x3e,0xe4)](_0x375594));if(_0x56a968?.[_0x436516(0x20f,0x240,0x273,0x1b9)]!=='match'&&_0x56a968?.[_0x436516(0x276,_0x2615df._0x200238,0x273,0x3b4)]!==_0x436516(0xeb,0x144,_0x2615df._0x1a5caa,_0x2615df._0x13cba4))return null;function _0x5cf82a(_0x5a7fab,_0x3224f5,_0x2e2b9c,_0x2c319f){return _0x515b8f(_0x5a7fab-_0x3ff3b9._0x56ceb8,_0x3224f5-_0x3ff3b9._0x57cbb5,_0x2c319f,_0x5a7fab- -0x4d8);}const _0x1d5bf8=objectValue(_0x56a968[_0x436516(_0x2615df._0x9d0ec2,_0x2615df._0x39fef5,_0x2615df._0x20ea37,0x440)]),_0x1bf6c9=decodeRipgrepText(_0x1d5bf8?.[_0x5cf82a(0x77,-0xfc,_0x2615df._0x135173,0x141)]),_0x2114b7=decodeRipgrepText(_0x1d5bf8?.[_0x5cf82a(0x1db,0x2ca,_0x2615df._0x4febc7,0x34)]);function _0x436516(_0xc398aa,_0x2a1d01,_0x2539b8,_0x4f92dd){return _0x515b8f(_0xc398aa-_0x2d651f._0x3e7f9b,_0x2a1d01-0x146,_0x2a1d01,_0x2539b8- -_0x2d651f._0x10d839);}const _0x171468=_0x1d5bf8?.[_0x5cf82a(_0x2615df._0x22c292,0x146,0x242,0x1ac)];if(_0x1bf6c9===void 0x0||_0x2114b7===void 0x0||typeof _0x171468!==_0x436516(0x520,_0x2615df._0x2842ce,_0x2615df._0x1375ff,_0x2615df._0xf39db4))throw new Error(_0x436516(0x363,_0x2615df._0x120371,0x4bd,_0x2615df._0xd475f0));return{'filePath':_0xbbeb3e[_0x5cf82a(-0xd7,-_0x2615df._0x477137,-_0x2615df._0x2e0a6e,-_0x2615df._0x4117be)](_0x1bf6c9)?_0x1bf6c9:_0xbbeb3e[_0x436516(0x23e,-0xd,_0x2615df._0x54d469,0x2d2)](_0x4008,_0x1bf6c9),'lineNum':_0x171468,'lineText':_0x2114b7[_0x5cf82a(0x53,-0x159,_0x2615df._0x490339,-_0x2615df._0xbd93dd)](/\r?\n$/,''),..._0x56a968[_0x5cf82a(-_0x2615df._0x222a5d,-0x7f,0x80,0xc4)]===_0x5cf82a(-_0x2615df._0x3ccb85,-_0x2615df._0x10c80e,-0x160,-0x16f)?{'isContext':!![]}:{}};}async function search(_0x2ae158){const _0x51f76c={_0xadc71f:0x683,_0x30f08f:0x5ad,_0x397e6f:0x6c0,_0x1227e5:0x3b9,_0x1f7067:0x529,_0x4e3c8d:0x26a,_0x13463d:0x480,_0x58e62f:0x589,_0x14e9f1:0x358,_0x8fc861:0x5f4,_0x50e6d3:0x568,_0x49c474:0x682,_0x4e22d6:0x661,_0x5f4617:0x5a2,_0x11c3f6:0x44d,_0x2662bc:0x3ee,_0x58cdf6:0x469,_0x42d0d3:0x412,_0x48d443:0x35d,_0x9bbc11:0x650,_0x337ec6:0x53e,_0x255c59:0x385,_0x55b110:0x448,_0x5d2e2a:0x5c8,_0x45f34f:0x6a9,_0x122c00:0x3ae,_0x3931b9:0x2b0,_0x510ed5:0x24c,_0x79885d:0x383,_0x40f40b:0x2f2,_0x2c8a79:0x46e,_0x3ca1d9:0x320,_0x5708b6:0x3c4,_0x50ee12:0x31c,_0x11e4f1:0x393,_0x11c743:0x362,_0x470998:0x46b,_0x1e9d24:0x4f7,_0x4c3f50:0x534,_0x49cd52:0x36c,_0x549f32:0x402,_0x1aa105:0x388,_0x5dfc00:0x3d5,_0x3a31cd:0x22e,_0x126a33:0x72e,_0x2cd381:0x6a7,_0x5c87b6:0x6e0,_0x1e64ab:0x464,_0x4082c1:0x6b2,_0x85ae3b:0x592,_0x13daf0:0x3e1,_0x2642d3:0x65e,_0x52dc25:0x673,_0x17ceb5:0x6e1,_0x4bae1e:0x5ca,_0x52d7ea:0x5ab,_0x39a47e:0x282,_0x513079:0x3cf,_0x32303c:0x685,_0x1c056f:0x6a0,_0x3321d2:0x6c2,_0x2ef148:0x701,_0x288bb0:0x72b,_0x204fb4:0x581,_0x43c79e:0x60f,_0x42c528:0x468,_0x6cb2b1:0x453,_0x448027:0x3be,_0x1826d0:0x3fb},_0x16f084={_0x11544c:0xe3,_0x1dbf9b:0x6e,_0x3056cc:0x214,_0x4c8a5c:0x228,_0x48d4a3:0x1e8,_0x5b39d1:0x93,_0x3fbdbd:0x46,_0x1fa0f9:0x37,_0x4673c0:0x67,_0x494a6f:0x1b0,_0x2d2fde:0x445,_0x1fdfb0:0x414,_0x4e04b7:0x31a,_0x442dec:0x1b1,_0x5b56cd:0x2f5},_0x80c1c0={_0x18df59:0x4d4},_0x4c0ebc={_0x4b149c:0x5d5,_0x1024f3:0x5bb},_0x1d43fb={_0x24b458:0x144},_0x4f3e26={_0x18ed57:0x66},_0x1e4c98={_0x25bdca:0xfb,_0x2de5bb:0x1ca,_0x3bd2ec:0x50};if(_0x2ae158[_0x3889ed(0x57b,0x4d5,0x5ee,0x529)]!==void 0x0&&_0x2ae158['files']!==void 0x0)throw new Error(_0x3889ed(0x5c7,_0x51f76c._0xadc71f,0x4b6,0x661));if(_0x2ae158[_0x2b65bc(0x41a,0x5b0,_0x51f76c._0x30f08f,_0x51f76c._0x397e6f)]){const _0x1d1b6b=await _0x735868(_0x2ae158[_0x3889ed(0x37b,0x490,_0x51f76c._0x1227e5,_0x51f76c._0x1f7067)])[_0x3889ed(0x4b2,_0x51f76c._0x4e3c8d,_0x51f76c._0x13463d,0x383)](()=>null);if(!_0x1d1b6b?.['isFile']())throw Object[_0x2b65bc(_0x51f76c._0x58e62f,_0x51f76c._0x14e9f1,0x448,_0x51f76c._0x8fc861)](new Error(_0x3889ed(0x851,0x611,_0x51f76c._0x50e6d3,0x6a9)+_0x2ae158[_0x3889ed(_0x51f76c._0x49c474,0x4ab,_0x51f76c._0x4e22d6,0x529)]+'\x27'),{'code':_0x2b65bc(_0x51f76c._0x5f4617,0x583,_0x51f76c._0x11c3f6,_0x51f76c._0x2662bc)});}else{if(_0x2ae158[_0x3889ed(0x303,0x281,0x1b9,0x35d)]!==void 0x0)for(const _0x523789 of _0x2ae158[_0x3889ed(_0x51f76c._0x58cdf6,0x3d0,_0x51f76c._0x42d0d3,_0x51f76c._0x48d443)]){if(!_0xbbeb3e['isAbsolute'](_0x523789))throw new Error(_0x2b65bc(_0x51f76c._0x9bbc11,0x63a,0x4db,_0x51f76c._0x337ec6)+_0x523789+'\x27');const _0x3d0310=await _0x735868(_0x523789)['catch'](()=>null);if(!_0x3d0310?.[_0x3889ed(_0x51f76c._0x255c59,0x547,0x66c,0x4c5)]())throw Object[_0x2b65bc(0x53a,0x499,_0x51f76c._0x55b110,0x52e)](new Error(_0x3889ed(0x6ab,_0x51f76c._0x5d2e2a,0x7cf,_0x51f76c._0x45f34f)+_0x523789+'\x27'),{'code':'ENOENT'});}else{const _0x108004=await _0x735868(_0x2ae158[_0x3889ed(0x2c4,_0x51f76c._0x122c00,0x281,0x377)])[_0x3889ed(_0x51f76c._0x3931b9,_0x51f76c._0x510ed5,0x4b3,_0x51f76c._0x79885d)](()=>null);if(!_0x108004?.[_0x2b65bc(0x47b,_0x51f76c._0x40f40b,_0x51f76c._0x2c8a79,_0x51f76c._0x3ca1d9)]())throw Object[_0x3889ed(0x481,0x499,0x464,_0x51f76c._0x5708b6)](new Error(_0x3889ed(0x428,_0x51f76c._0x50ee12,_0x51f76c._0x11e4f1,_0x51f76c._0x11c743)+_0x2ae158['cwd']+'\x27'),{'code':'ENOENT'});}}if(_0x2ae158[_0x3889ed(0x321,0x3e5,_0x51f76c._0x470998,_0x51f76c._0x48d443)]?.[_0x3889ed(0x639,0x46b,_0x51f76c._0x1e9d24,_0x51f76c._0x4c3f50)]===0x0)return[];const _0x410271=await filepath(),_0x25dad7=['--json','--regexp',_0x2ae158['pattern']];function _0x3889ed(_0x10001a,_0x5c52cc,_0x2b4d14,_0x48a909){return _0x515b8f(_0x10001a-_0x1e4c98._0x25bdca,_0x5c52cc-_0x1e4c98._0x2de5bb,_0x2b4d14,_0x48a909- -_0x1e4c98._0x3bd2ec);}function _0x2b65bc(_0x3b5087,_0x58b504,_0xdf6b92,_0x5c5814){return _0x1c3a85(_0x3b5087-_0x4f3e26._0x18ed57,_0x58b504,_0xdf6b92-0x188,_0xdf6b92-0x4bd);}const _0x3f91df=typeof _0x2ae158[_0x3889ed(0x328,_0x51f76c._0x49cd52,_0x51f76c._0x549f32,0x351)]==='number'&&_0x2ae158[_0x2b65bc(_0x51f76c._0x1aa105,0x56e,_0x51f76c._0x5dfc00,_0x51f76c._0x3a31cd)]>0x0;return _0x3f91df&&_0x25dad7[_0x3889ed(0x50f,_0x51f76c._0x126a33,0x75f,_0x51f76c._0x2cd381)]('-C',String(_0x2ae158['context'])),_0x2ae158['glob']&&!_0x2ae158[_0x3889ed(_0x51f76c._0x5c87b6,_0x51f76c._0x1e64ab,_0x51f76c._0x4082c1,_0x51f76c._0x1f7067)]&&_0x2ae158[_0x2b65bc(_0x51f76c._0x85ae3b,0x4fa,_0x51f76c._0x13daf0,0x49a)]===void 0x0&&_0x25dad7[_0x3889ed(_0x51f76c._0x2642d3,0x7c9,_0x51f76c._0x85ae3b,0x6a7)](_0x3889ed(_0x51f76c._0x52dc25,_0x51f76c._0x17ceb5,_0x51f76c._0x4bae1e,0x6b3),_0x2ae158[_0x2b65bc(_0x51f76c._0x4e22d6,_0x51f76c._0x52d7ea,0x564,0x57e)]),_0x2ae158[_0x3889ed(_0x51f76c._0x39a47e,_0x51f76c._0x513079,0x50b,0x35d)]!==void 0x0?_0x25dad7[_0x2b65bc(0x88d,_0x51f76c._0x32303c,0x72b,_0x51f76c._0x1c056f)](..._0x2ae158['files']):_0x25dad7[_0x2b65bc(_0x51f76c._0x3321d2,_0x51f76c._0x2ef148,_0x51f76c._0x288bb0,0x655)](_0x2ae158[_0x3889ed(_0x51f76c._0x204fb4,_0x51f76c._0x43c79e,_0x51f76c._0x42c528,0x529)]??_0x2ae158[_0x2b65bc(_0x51f76c._0x6cb2b1,_0x51f76c._0x448027,_0x51f76c._0x1826d0,_0x51f76c._0x4e3c8d)]),await new Promise((_0xfe8561,_0x3f6e48)=>{const _0x4b4dfc={_0x331af:0x471,_0x5059d5:0x62d,_0x592421:0x59e,_0x2c751d:0x233,_0x2c9159:0x307,_0x8f92c2:0x167,_0xb97ebc:0xc,_0x51a80b:0x96,_0x319d08:0x289,_0xa06f13:0x15,_0x4c110f:0x84,_0x1151bc:0x139,_0x468706:0x5ba,_0x1e14e0:0x5a2,_0x9f396a:0x438,_0x2ed208:0x25c,_0x205f7b:0x2b1,_0x38c024:0xca,_0xa0d29e:0x668,_0x41e800:0x653,_0x5bc90c:0x265,_0x426e6c:0x31e,_0x1ef57e:0x34e},_0x4f4ad8={_0x129038:0xbb},_0x169b41={_0x114d79:0x582},_0x5bae1c={_0xe887a0:0xd9},_0x404b49={_0x207d17:0x12d};function _0x196257(_0x9b5c5d,_0x94fb38,_0x5e1db5,_0x1bbc4c){return _0x3889ed(_0x9b5c5d-_0x404b49._0x207d17,_0x94fb38-0x92,_0x9b5c5d,_0x1bbc4c- -0x163);}function _0x182bd5(_0x5ec1d1,_0x4c0302,_0x25e27c,_0x198e8a){return _0x2b65bc(_0x5ec1d1-0x58,_0x5ec1d1,_0x4c0302- -0x67c,_0x198e8a-_0x1d43fb._0x24b458);}const _0x283575=_0x48c7c1(_0x410271,_0x25dad7,{'cwd':_0x2ae158[_0x196257(_0x16f084._0x11544c,0x3d2,_0x16f084._0x1dbf9b,_0x16f084._0x3056cc)],'stdio':[_0x182bd5(-0x3a6,-0x277,-0x375,-_0x16f084._0x4c8a5c),'pipe',_0x196257(_0x16f084._0x48d4a3,0x220,0x331,0x1ec)]});let _0x14378b='',_0x426e36='';_0x283575[_0x182bd5(_0x16f084._0x5b39d1,_0x16f084._0x3fbdbd,0x13b,-_0x16f084._0x1fa0f9)]?.['on'](_0x182bd5(-0x59,-_0x16f084._0x4673c0,-0x8,-_0x16f084._0x494a6f),_0x405f0d=>{function _0x38fcd5(_0x522156,_0x3e021e,_0x5391d2,_0x2b9f96){return _0x196257(_0x3e021e,_0x3e021e-0xf7,_0x5391d2-_0x5bae1c._0xe887a0,_0x5391d2-0xe2);}_0x14378b+=_0x405f0d[_0x38fcd5(0x53d,_0x4c0ebc._0x4b149c,_0x4c0ebc._0x1024f3,0x679)]();}),_0x283575[_0x196257(_0x16f084._0x2d2fde,_0x16f084._0x1fdfb0,0x1ec,0x344)]?.['on']('data',_0x13275d=>{function _0x2c60bb(_0x15d045,_0x4f7d44,_0x1cabb7,_0x3319f9){return _0x182bd5(_0x15d045,_0x4f7d44-_0x169b41._0x114d79,_0x1cabb7-0x108,_0x3319f9-0x87);}_0x426e36+=_0x13275d[_0x2c60bb(_0x80c1c0._0x18df59,0x5c6,0x43f,0x6af)]();}),_0x283575['on']('close',_0x472e8c=>{const _0x389e7e={_0x47ca49:0x6da,_0x4d2dcd:0x5d6,_0x2a9c70:0x474,_0x6287d8:0x5df,_0x2737fe:0x562,_0x5c4ba2:0x4c7},_0x5dad6d={_0x19bc2a:0x15f,_0x1d9cd5:0x9d};if(_0x472e8c===0x1&&_0x14378b===''){_0xfe8561([]);return;}if(_0x472e8c!==0x0&&_0x472e8c!==0x1){_0x3f6e48(new Error('ripgrep\x20failed:\x20'+_0x426e36));return;}const _0x102971=[];function _0x21a4d8(_0x3200a6,_0x2d1b9c,_0x3f107a,_0x41b83b){return _0x182bd5(_0x3200a6,_0x3f107a-_0x5dad6d._0x19bc2a,_0x3f107a-0x12d,_0x41b83b-_0x5dad6d._0x1d9cd5);}try{for(const _0x50b305 of _0x14378b[_0x73af26(_0x4b4dfc._0x331af,_0x4b4dfc._0x5059d5,0x467,_0x4b4dfc._0x592421)](/\r?\n/)){const _0x23890e=parseMatchLine(_0x50b305,_0x2ae158['cwd']);if(_0x23890e)_0x102971[_0x21a4d8(0x251,_0x4b4dfc._0x2c751d,0x20e,_0x4b4dfc._0x2c9159)](_0x23890e);}}catch(_0x517a53){_0x3f6e48(_0x517a53);return;}const _0x3865c0=_0x2ae158[_0x21a4d8(_0x4b4dfc._0x8f92c2,-0x7f,_0x4b4dfc._0xb97ebc,_0x4b4dfc._0x51a80b)]??0x64,_0x425641=Number[_0x73af26(0x334,0x1ef,0x4a0,0x2fb)](_0x3865c0)?Math[_0x21a4d8(_0x4b4dfc._0x319d08,0xab,0x125,0x290)](0x0,Math['trunc'](_0x3865c0)):0x64,_0x1c54e7=_0x102971[_0x21a4d8(_0x4b4dfc._0xa06f13,_0x4b4dfc._0x4c110f,0x3c,-_0x4b4dfc._0x1151bc)](_0x534895=>!_0x534895[_0x21a4d8(0x212,0xcd,0x1b8,0x16e)]);if(_0x1c54e7[_0x73af26(_0x4b4dfc._0x468706,_0x4b4dfc._0x1e14e0,_0x4b4dfc._0x9f396a,0x4ea)]<=_0x425641){_0xfe8561(_0x102971);return;}const _0x4ef4cc=_0x1c54e7['slice'](0x0,_0x425641),_0x1105a1=new Set(_0x4ef4cc);function _0x73af26(_0x3cf01a,_0x9d3d3f,_0x4ce379,_0x556e52){return _0x196257(_0x3cf01a,_0x9d3d3f-_0x4f4ad8._0x129038,_0x4ce379-0xbf,_0x556e52-0x119);}const _0x21523d=_0x3f91df?Math[_0x21a4d8(_0x4b4dfc._0x2ed208,_0x4b4dfc._0x205f7b,0x125,_0x4b4dfc._0x38c024)](0x0,Math[_0x73af26(_0x4b4dfc._0xa0d29e,_0x4b4dfc._0x41e800,0x3d1,0x53d)](_0x2ae158[_0x21a4d8(-0xcb,-0x152,-0x148,-_0x4b4dfc._0x5bc90c)]??0x0)):0x0;_0xfe8561(_0x102971[_0x73af26(_0x4b4dfc._0x426e6c,_0x4b4dfc._0x1ef57e,0x4b3,0x48b)](_0x1d025e=>{function _0x95b363(_0x50502c,_0x42d4e4,_0x1d636e,_0x480665){return _0x73af26(_0x42d4e4,_0x42d4e4-0xc4,_0x1d636e-0x182,_0x1d636e-0x13b);}function _0x8d1e3b(_0x4a06ce,_0x2e754c,_0xcd3d,_0xa897f4){return _0x21a4d8(_0xcd3d,_0x2e754c-0x13e,_0x4a06ce-0x522,_0xa897f4-0x1f2);}if(!_0x1d025e[_0x8d1e3b(_0x389e7e._0x47ca49,0x862,0x679,_0x389e7e._0x4d2dcd)])return _0x1105a1[_0x95b363(_0x389e7e._0x2a9c70,0x6ca,_0x389e7e._0x6287d8,0x4e0)](_0x1d025e);return _0x4ef4cc[_0x8d1e3b(0x55f,_0x389e7e._0x2737fe,_0x389e7e._0x5c4ba2,0x3fc)](_0x511233=>_0x511233['filePath']===_0x1d025e['filePath']&&Math[_0x8d1e3b(0x3d0,0x592,0x499,0x255)](_0x511233[_0x95b363(0x3a5,0x2a6,0x45e,0x5e5)]-_0x1d025e['lineNum'])<=_0x21523d);}));}),_0x283575['on'](_0x196257(_0x16f084._0x4e04b7,_0x16f084._0x442dec,_0x16f084._0x5b56cd,0x367),_0x3f6e48);});}function createGlobTool(_0x2c810d={}){const _0x29f2d2={_0x310d43:0x5e3,_0xdbf5c3:0x33a,_0x1f82aa:0x479,_0x2dc7b3:0x1da,_0x219977:0x39b,_0x55afce:0xe7,_0x3c0178:0x60,_0x3c5f03:0x323,_0x50758e:0x354,_0x5cdc4a:0x5b0,_0x3d3902:0x3d6,_0x1b435e:0x427,_0x2acfb6:0x23c,_0x141c20:0x39b,_0x45533f:0x3de,_0xc1a70a:0x673,_0x144f71:0x384,_0x42e929:0x455,_0x5c8cd7:0x3f5},_0x36fd0c={_0x181adf:0x5b4,_0x1ce117:0x6ee,_0x5226b3:0x87,_0x4972e7:0x144,_0x4203e3:0x225,_0x4954d7:0x6c7,_0x9f576b:0x6e1,_0x4a2e68:0x3d1,_0x3c5e2d:0x19a,_0x8c9b13:0x1dc,_0xb69a51:0x110,_0x5070ba:0x95,_0x3c2587:0x10b,_0x50235f:0xea,_0x148fdd:0x1d5,_0x552e27:0x2a,_0xcbdce4:0xdc,_0x32dd7d:0xe0,_0x58795a:0xf1,_0x169e4e:0xd,_0x5a51e1:0xdf,_0x495fb2:0xe9,_0x168e6b:0xb6,_0x230637:0x70,_0x4a40a8:0x6ab,_0x20a7d5:0x756,_0x28f145:0x6a9,_0x2f1ec7:0x211,_0x26aa15:0x385,_0x49903d:0x113,_0x1cd838:0x247,_0x362ad0:0x15f,_0x2ce33b:0x83a,_0x5e1238:0x912,_0x2f72e5:0x61a,_0x1e87b9:0xd4,_0x487368:0x216,_0x4348f6:0xef,_0x593754:0x20a,_0x160a2d:0x1f6,_0x4c81ab:0x2f6,_0x5b4a1e:0x54d,_0x16349d:0x7cb,_0x50b195:0x6e6,_0x4d7e9d:0x7ef,_0x48e261:0x84,_0x10e15f:0x114,_0x5b17fb:0x435,_0x173a1a:0x168,_0x4c728b:0x180,_0xb7cd6b:0x5f7,_0x58e0be:0x794,_0xb53a78:0x713,_0x3aae09:0x60,_0x170ef2:0xdb,_0x188c5d:0x174},_0x575ec9={_0x113643:0x1da,_0x1446cb:0x88},_0x5b2ed3={_0x152379:0x4a,_0x6016a6:0x150,_0x103b4e:0x517},_0x2220b8=_0x51961f[_0x30ad92(_0x29f2d2._0x310d43,_0x29f2d2._0xdbf5c3,0x427,_0x29f2d2._0x1f82aa)](_0x2c810d[_0x44a181(_0x29f2d2._0x2dc7b3,_0x29f2d2._0x219977,_0x29f2d2._0x55afce,_0x29f2d2._0x3c0178)]??process[_0x44a181(0x204,_0x29f2d2._0x3c5f03,0x22b,_0x29f2d2._0x50758e)]()),_0x263a2c=_0x2c810d[_0x44a181(0x4c7,0x5b1,0x4ce,_0x29f2d2._0x5cdc4a)]??[],_0x510662=_0x2c810d['limit']??0x64;function _0x30ad92(_0x262ad9,_0x373a1a,_0x546bac,_0x1a4003){return _0x1c3a85(_0x262ad9-_0x5b2ed3._0x152379,_0x262ad9,_0x546bac-_0x5b2ed3._0x6016a6,_0x546bac-_0x5b2ed3._0x103b4e);}const _0x528045=_0x2c810d[_0x44a181(_0x29f2d2._0x3d3902,_0x29f2d2._0x1b435e,0x4cc,0x25e)]??'Glob';function _0x44a181(_0x21b821,_0x2f0947,_0x6fc521,_0x471bea){return _0x1c3a85(_0x21b821-_0x575ec9._0x113643,_0x2f0947,_0x6fc521-_0x575ec9._0x1446cb,_0x21b821-0x2c6);}return defineTool({'name':_0x528045,'permissionClass':_0x44a181(0x3c3,0x23b,_0x29f2d2._0x2acfb6,0x3e6),'description':_0x44a181(0x2a5,0x33b,0x1f1,_0x29f2d2._0x141c20),'inputSchema':{'type':_0x30ad92(0x579,_0x29f2d2._0x45533f,0x50a,_0x29f2d2._0xc1a70a),'properties':{'pattern':{'type':_0x44a181(0x2e5,0x2f0,0x240,_0x29f2d2._0x144f71)},'path':{'type':_0x44a181(0x2e5,0x3bc,0x210,_0x29f2d2._0x42e929)},'limit':{'type':'number'}},'required':[_0x30ad92(0x656,0x589,0x589,_0x29f2d2._0x5c8cd7)]},async *'execute'(_0x42c919){const _0x20c50d={_0x268a71:0x1e5},_0x56bbe8={_0x47b706:0x672,_0x289415:0xbe};if(_0x42c919[_0x26bf0c(0x4ed,_0x36fd0c._0x181adf,_0x36fd0c._0x1ce117,0x4b0)][_0x1314f7(-_0x36fd0c._0x5226b3,-_0x36fd0c._0x4972e7,-0x23e,-_0x36fd0c._0x4203e3)]()[_0x1314f7(-0x60,-0xd1,0x60,0xa4)]===0x0)throw new ToolExecutionError(_0x26bf0c(_0x36fd0c._0x4954d7,0x74a,_0x36fd0c._0x9f576b,0x78c),{});const _0x4ecd53=resolveAllowedPath(_0x2220b8,_0x263a2c,_0x42c919['path']??'.'),_0x1efdf4=await _0x3f45f1(_0x4ecd53)[_0x26bf0c(_0x36fd0c._0x4a2e68,0x48c,0x3ee,0x56c)](()=>null);if(!_0x1efdf4?.['isDirectory']())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x42c919[_0x1314f7(-0x95,-_0x36fd0c._0x3c5e2d,-_0x36fd0c._0x8c9b13,_0x36fd0c._0xb69a51)]??'.'),{'path':_0x42c919[_0x1314f7(-_0x36fd0c._0x5070ba,-0x41,-_0x36fd0c._0x3c2587,-_0x36fd0c._0x50235f)]??'.'});const _0x2c60cc=_0x42c919[_0x1314f7(-0xef,0x3b,-0x1fa,-_0x36fd0c._0x148fdd)]??_0x510662,_0x43b609=Math[_0x1314f7(_0x36fd0c._0x552e27,-_0x36fd0c._0xcbdce4,-_0x36fd0c._0x32dd7d,_0x36fd0c._0x58795a)](0x1,Math[_0x1314f7(-_0x36fd0c._0x169e4e,-0xc1,0x1ad,_0x36fd0c._0x5a51e1)](_0x2c60cc)),_0x16aa8c=[];let _0x38d632=![];for await(const _0x263858 of files({'cwd':_0x4ecd53,'glob':[_0x42c919[_0x1314f7(-_0x36fd0c._0x495fb2,-0x278,0x5c,0x79)]]})){if(_0x16aa8c[_0x1314f7(-0x60,_0x36fd0c._0x168e6b,-0x7f,-_0x36fd0c._0x230637)]>=_0x43b609){_0x38d632=!![];break;}const _0xa72bb6=await _0x3f45f1(_0x51961f[_0x26bf0c(_0x36fd0c._0x4a40a8,0x676,_0x36fd0c._0x20a7d5,_0x36fd0c._0x28f145)](_0x4ecd53,_0x263858))[_0x1314f7(-_0x36fd0c._0x2f1ec7,-0x2e8,-0x1fb,-_0x36fd0c._0x26aa15)](()=>null);_0x16aa8c[_0x1314f7(_0x36fd0c._0x49903d,0x1c0,_0x36fd0c._0x1cd838,_0x36fd0c._0x362ad0)]({'path':_0x263858,'mtime':_0xa72bb6?.[_0x26bf0c(_0x36fd0c._0x2ce33b,0x7b5,_0x36fd0c._0x5e1238,_0x36fd0c._0x2f72e5)]??0x0});}_0x16aa8c[_0x1314f7(_0x36fd0c._0x1e87b9,-0x9b,_0x36fd0c._0x487368,_0x36fd0c._0x4348f6)]((_0x202b05,_0x1e8668)=>_0x1e8668[_0x1314f7(0x63,0x211,-0x89,-0xbe)]-_0x202b05['mtime']);const _0xbe715c=_0x16aa8c[_0x1314f7(-_0x36fd0c._0x593754,-_0x36fd0c._0x160a2d,-0x31d,-_0x36fd0c._0x4c81ab)](_0x2c91ce=>_0x2c91ce[_0x26bf0c(0x460,0x608,0x4da,0x521)]);function _0x1314f7(_0x3d954c,_0x5054c5,_0x2a2fe0,_0x220743){return _0x30ad92(_0x2a2fe0,_0x5054c5-0x1a1,_0x3d954c- -_0x56bbe8._0x47b706,_0x220743-_0x56bbe8._0x289415);}function _0x26bf0c(_0x3430de,_0x5407e9,_0xf9acae,_0xb98f5b){return _0x44a181(_0x5407e9-0x27c,_0x3430de,_0xf9acae-0xc0,_0xb98f5b-_0x20c50d._0x268a71);}const _0x5dae8f=_0xbe715c[_0x26bf0c(_0x36fd0c._0x5b4a1e,0x63d,_0x36fd0c._0x16349d,_0x36fd0c._0x50b195)]===0x0?_0x26bf0c(_0x36fd0c._0x4d7e9d,0x741,0x754,0x611)+_0x42c919[_0x1314f7(-0xe9,-0xce,0x8f,0x2c)]:''+_0xbe715c[_0x1314f7(-0x27,-_0x36fd0c._0x48e261,-0x19e,_0x36fd0c._0x10e15f)]('\x0a')+(_0x38d632?_0x26bf0c(0x418,0x4e6,_0x36fd0c._0x5b17fb,0x687):'');return yield createToolOutput(_0x5dae8f,{'pattern':_0x42c919[_0x1314f7(-_0x36fd0c._0x495fb2,-0x200,-_0x36fd0c._0x173a1a,-_0x36fd0c._0x4c728b)],'searchPath':_0x51961f[_0x26bf0c(_0x36fd0c._0xb7cd6b,_0x36fd0c._0x58e0be,_0x36fd0c._0xb53a78,0x6d3)](_0x2220b8,_0x4ecd53)||'.','matches':_0xbe715c,'count':_0xbe715c[_0x1314f7(-_0x36fd0c._0x3aae09,_0x36fd0c._0x170ef2,-0x1dc,-_0x36fd0c._0x188c5d)],'truncated':_0x38d632}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x106e1d){const _0x4883f9={_0x3a1de9:0x47b,_0x36373e:0x438,_0x191da1:0x149,_0x9cbde3:0x5c4,_0x3338a1:0x619,_0x1b91ca:0xb1,_0x10f693:0x16a},_0x47d8bc={_0x1cd6cd:0x79},_0x1b15d8={_0x5a127c:0x1c6,_0x32e5d6:0x380};function _0x3c20fe(_0x4b6472,_0x28bb43,_0x7ab2a3,_0x149fac){return _0x1c3a85(_0x4b6472-_0x1b15d8._0x5a127c,_0x28bb43,_0x7ab2a3-0x21,_0x4b6472-_0x1b15d8._0x32e5d6);}function _0x686cb0(_0x2cfbcf,_0x4a306f,_0x245b93,_0xfd6d13){return _0x1c3a85(_0x2cfbcf-_0x47d8bc._0x1cd6cd,_0x245b93,_0x245b93-0x1b2,_0x2cfbcf-0x4e);}if(_0x106e1d['trim']()[_0x3c20fe(_0x4883f9._0x3a1de9,0x33f,0x535,0x433)]===0x0)throw new Error(_0x3c20fe(0x588,0x4a3,0x567,_0x4883f9._0x36373e));if(_0x106e1d[_0x686cb0(_0x4883f9._0x191da1,0x38,0x31,0x24)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x3c20fe(_0x4883f9._0x9cbde3,_0x4883f9._0x3338a1,0x61a,0x501)+GREP_MAX_PATTERN_LENGTH+_0x686cb0(0x49,_0x4883f9._0x1b91ca,-_0x4883f9._0x10f693,0x1c1));}function boundedGrepSnippet(_0x2e434f){const _0xf90416={_0x425a77:0x443,_0x29e54f:0x4b6,_0x291f99:0x426},_0x39f0ea={_0x41805b:0x39d},_0x8b70d8={_0x2ffe49:0x194};function _0x49fba7(_0x309a10,_0x448558,_0x42a57b,_0x211250){return _0x1c3a85(_0x309a10-0x18a,_0x448558,_0x42a57b-_0x8b70d8._0x2ffe49,_0x211250-0x472);}function _0x59ccea(_0x1ae12d,_0x899c6b,_0x313b65,_0x591d5a){return _0x1c3a85(_0x1ae12d-0xf1,_0x591d5a,_0x313b65-0x198,_0x899c6b-_0x39f0ea._0x41805b);}return _0x2e434f[_0x49fba7(0x504,_0xf90416._0x425a77,0x582,0x56d)]>GREP_MAX_SNIPPET_LENGTH?_0x2e434f[_0x59ccea(0x539,_0xf90416._0x425a77,0x4e3,0x289)](0x0,GREP_MAX_SNIPPET_LENGTH)+_0x59ccea(_0xf90416._0x29e54f,0x435,0x376,_0xf90416._0x291f99):_0x2e434f;}async function searchRegex(_0x56a6b1){const _0x41e4c6={_0x5bf2ed:0x116,_0x369164:0xc8,_0x1883dd:0x88,_0x1d384a:0x208,_0x49b097:0xa6,_0x370854:0x3a5,_0x36f98b:0x164,_0x4bf452:0x20d,_0x29b251:0x87,_0x3d7d62:0x11,_0x3ecb0c:0xf9,_0x1437fa:0xbe,_0x52c689:0x151,_0x74f9b6:0x1da,_0x3cc056:0x12f,_0x5cd795:0x97,_0x1f1e7f:0xe1,_0x2b4e53:0xb7,_0x5b1aef:0x2be,_0x10f60a:0x42c,_0x5a5165:0x28c,_0xa72767:0x201,_0x475043:0x130,_0x392bff:0x24c,_0x4c7dfa:0x2a0,_0x56cac4:0x7,_0x41d290:0x22f,_0x2f4c87:0x24f,_0x71aac0:0x300,_0x30e064:0x88,_0x8cd4ad:0x23d,_0x5e3b52:0xb9,_0x2a9c0f:0x7f,_0x553d50:0x68,_0x352a37:0x19e,_0x6cd691:0x4,_0x1b9c74:0x8c,_0x21f327:0xfe},_0x5c2485={_0x5536f1:0x10c,_0x5600c5:0x3a,_0x1d7d16:0xa9},_0x4f23e8={_0x3808d5:0xca,_0xda1c8:0x150},_0x100cc1={_0x50cc74:0x12d};validateGrepPattern(_0x56a6b1['pattern']);function _0x3a200d(_0x6933c6,_0x46c144,_0x6444b3,_0x28d77f){return _0x1c3a85(_0x6933c6-_0x100cc1._0x50cc74,_0x28d77f,_0x6444b3-0xc4,_0x6933c6- -0x1d6);}const _0x5260da=_0x56a6b1[_0xcb4eda(_0x41e4c6._0x5bf2ed,0x96,_0x41e4c6._0x369164,0x1e2)]??GREP_DEFAULT_LIMIT,_0x44c830=Number['isFinite'](_0x5260da)?Math['max'](0x1,Math[_0x3a200d(-_0x41e4c6._0x1883dd,-_0x41e4c6._0x1d384a,0x10c,_0x41e4c6._0x49b097)](_0x5260da)):GREP_DEFAULT_LIMIT;if(_0x56a6b1['files']?.['length']===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0x24f78a=await search({'cwd':_0x56a6b1[_0x3a200d(-0x298,-_0x41e4c6._0x370854,-0x12f,-0x366)],'pattern':_0x56a6b1[_0x3a200d(-_0x41e4c6._0x36f98b,-_0x41e4c6._0x4bf452,-_0x41e4c6._0x29b251,-_0x41e4c6._0x3d7d62)],..._0x56a6b1[_0xcb4eda(-0x32,-0x7e,-_0x41e4c6._0x3ecb0c,_0x41e4c6._0x1437fa)]===void 0x0?{}:{'files':_0x56a6b1['files']},..._0x56a6b1[_0xcb4eda(_0x41e4c6._0x52c689,0x29a,_0x41e4c6._0x74f9b6,0x188)]===void 0x0?{}:{'glob':_0x56a6b1[_0x3a200d(-_0x41e4c6._0x3cc056,-0x138,-0xb6,-_0x41e4c6._0x5cd795)]},..._0x56a6b1[_0xcb4eda(-0x3e,_0x41e4c6._0x1f1e7f,0x4c,-_0x41e4c6._0x2b4e53)]===void 0x0?{}:{'context':_0x56a6b1[_0x3a200d(-_0x41e4c6._0x5b1aef,-0x205,-_0x41e4c6._0x10f60a,-0x430)]},'limit':_0x44c830+0x1}),_0x1c8e5d=_0x24f78a['filter'](_0x42becb=>!_0x42becb['isContext']),_0x20c880=_0x1c8e5d[_0x3a200d(-0xdb,-_0x41e4c6._0x5a5165,-0x61,-_0x41e4c6._0xa72767)]>_0x44c830,_0x308ad1=_0x1c8e5d[_0x3a200d(-_0x41e4c6._0x475043,-_0x41e4c6._0x392bff,-_0x41e4c6._0x4c7dfa,_0x41e4c6._0x56cac4)](0x0,_0x44c830);function _0xcb4eda(_0x37f699,_0x4381b9,_0x5b0143,_0x40f5e7){return _0x515b8f(_0x37f699-_0x4f23e8._0x3808d5,_0x4381b9-_0x4f23e8._0xda1c8,_0x40f5e7,_0x37f699- -0x3df);}const _0x375e5d=new Set(_0x308ad1),_0x3cb464=Math[_0xcb4eda(_0x41e4c6._0x41d290,_0x41e4c6._0x2f4c87,0x3de,_0x41e4c6._0x71aac0)](0x0,Math[_0x3a200d(-_0x41e4c6._0x30e064,-0x1a,-0x2e,-_0x41e4c6._0x8cd4ad)](_0x56a6b1[_0xcb4eda(-0x3e,0x163,_0x41e4c6._0x5e3b52,-0x1ee)]??0x0)),_0x585bdf=_0x20c880?_0x24f78a[_0x3a200d(-0x13a,-0x111,-0x2d1,_0x41e4c6._0x2a9c0f)](_0x16bdc3=>{function _0x1143d3(_0x480ac9,_0x4023fa,_0x5fc56b,_0x4d6c20){return _0xcb4eda(_0x4d6c20- -0x24b,_0x4023fa-0x182,_0x5fc56b-0x8b,_0x5fc56b);}function _0x5c05ef(_0x45ef44,_0x1eaef2,_0x45a64d,_0x5e2ebf){return _0xcb4eda(_0x45a64d-_0x5c2485._0x5536f1,_0x1eaef2-_0x5c2485._0x5600c5,_0x45a64d-_0x5c2485._0x1d7d16,_0x45ef44);}if(!_0x16bdc3['isContext'])return _0x375e5d['has'](_0x16bdc3);return _0x308ad1['some'](_0x2aa7da=>_0x2aa7da[_0x1143d3(-0x1ed,0x150,-0x49,-0x63)]===_0x16bdc3['filePath']&&Math['abs'](_0x2aa7da[_0x5c05ef(0xde,-0x73,0xea,0x1f7)]-_0x16bdc3[_0x1143d3(-0x2dd,-0x408,-0x396,-0x26d)])<=_0x3cb464);}):_0x24f78a;return{'matches':_0x585bdf,'matchCount':_0x308ad1['length'],'fileCount':new Set(_0x585bdf[_0xcb4eda(-0x5,-_0x41e4c6._0x553d50,-_0x41e4c6._0x352a37,_0x41e4c6._0x6cd691)](_0x493c93=>_0x493c93[_0x3a200d(-0x98,0x22,-0x11e,-0x17a)]))[_0x3a200d(_0x41e4c6._0x1b9c74,-_0x41e4c6._0x21f327,0x24a,-0xc1)],'truncated':_0x20c880};}import{stat as _0x35d47e}from'fs/promises';import*as _0x3d5d08 from'path';function createGrepTool(_0x4a1a90={}){const _0x31445b={_0x2d1f95:0x33,_0xa84f40:0x30,_0xae84c3:0x35,_0x5b2229:0x1e6,_0x21831d:0x2ba,_0x293cc2:0x2d7,_0x5c1594:0x149,_0x1fb351:0xdb,_0x295ff7:0x230,_0x13eb9e:0x306,_0x14b23f:0x368,_0x476b4a:0x327,_0xd4f3f6:0x2c8,_0x5a93a9:0x5c,_0x33eaa0:0x144,_0xbbf7dc:0x8c,_0x3235f9:0x29,_0x369175:0x152,_0x135bb8:0x13f,_0xa77a45:0x17b,_0x19b7bf:0x272,_0x126221:0x47a,_0x4bd725:0x30a,_0x80c03c:0x2fe,_0x2c541f:0x2ce},_0x18fc47={_0x34793d:0x577,_0x592976:0x3d8,_0x1cd4c8:0x3f3,_0x587cbe:0x394,_0x37def7:0x4f2,_0x785411:0x2fe,_0xb10eca:0x60e,_0x260a03:0x46a,_0x574c2e:0x40b,_0x13a8c8:0x5e5,_0xfc93ad:0x2b9,_0x48f71a:0x539,_0x3b10df:0x311,_0x343292:0x310,_0x2ba60d:0x458,_0xea8357:0x48d,_0x1bc4f0:0x358,_0x1eccfc:0x420,_0x2a0443:0x1b0,_0x1acf23:0x15c,_0x40cfd0:0x3e7,_0x77d087:0x582,_0x1336df:0x594,_0x372d05:0x501,_0x37a00c:0x39c,_0x3136fa:0x313,_0x163272:0x1b5,_0x5e232c:0x217,_0x198571:0x390,_0x291dd1:0x542,_0x1f820d:0x502,_0x3d5151:0x4cd,_0x1d5b7d:0x75c,_0x471c4e:0x3e9,_0x2e716e:0x546,_0x21160d:0x433,_0x8a0d62:0x344,_0xbf7c3b:0x6af,_0x541f8c:0x4cc,_0x3d6096:0x610,_0x1f7c0f:0x632,_0x51ef57:0x483,_0x43040a:0x543,_0x59c6d2:0x420,_0x1e57c0:0x296,_0x523e6d:0x2f6,_0x5d94e9:0x5e3,_0x3c6a49:0x4dc,_0x1bc7a9:0x53e,_0x3a23ec:0x6b7,_0x2a4eac:0x52d,_0xf505f5:0x659,_0x56a31b:0x313,_0x3ebf1d:0x4a5,_0x4ac7da:0x532,_0x5033d8:0x62c,_0x150767:0x606,_0x1d4691:0x619,_0x344c19:0x480,_0x82e0a7:0x40d,_0x36b3e7:0x572,_0x4f1452:0x522,_0x4166b8:0x37a,_0x10d8fa:0x34d,_0x271425:0x380,_0x33ce09:0x439,_0xa29008:0x582,_0x352f4c:0x55a,_0x327291:0x3d4,_0x5f2135:0x70d,_0x2c56f9:0x452,_0x440552:0x50d,_0x1ee83d:0x48f,_0x2159ce:0x587,_0x3e920f:0x498},_0x34e066={_0x4911c4:0x173},_0x2624eb={_0x313f4f:0x1c1,_0x8b373e:0x369};function _0x22caf1(_0x2e2fbb,_0x40d5ca,_0x587e49,_0x8509ae){return _0x515b8f(_0x2e2fbb-0x1e1,_0x40d5ca-0x16f,_0x2e2fbb,_0x587e49- -0x657);}function _0x3a2654(_0x309241,_0x395160,_0x4bcc3c,_0x754bd7){return _0x515b8f(_0x309241-0xb0,_0x395160-_0x2624eb._0x313f4f,_0x4bcc3c,_0x395160- -_0x2624eb._0x8b373e);}const _0x531d67=_0x3d5d08[_0x3a2654(-_0x31445b._0x2d1f95,_0x31445b._0xa84f40,-_0x31445b._0xae84c3,0x50)](_0x4a1a90[_0x22caf1(-_0x31445b._0x5b2229,-0x300,-_0x31445b._0x21831d,-0x248)]??process[_0x22caf1(-0x251,-_0x31445b._0x293cc2,-0x290,-0x401)]()),_0xc71634=_0x4a1a90['allowedDirs']??[],_0xc50434=_0x4a1a90[_0x3a2654(0xdf,0x18c,0x2c,_0x31445b._0x5c1594)]??GREP_DEFAULT_LIMIT,_0x32281e=_0x4a1a90[_0x3a2654(_0x31445b._0x1fb351,_0x31445b._0x295ff7,_0x31445b._0x13eb9e,_0x31445b._0x14b23f)]??_0x3a2654(0x3f0,_0x31445b._0x476b4a,_0x31445b._0xd4f3f6,0x25b);return defineTool({'name':_0x32281e,'permissionClass':_0x3a2654(_0x31445b._0x5a93a9,0x21d,0x195,0x28b),'description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':_0x3a2654(0x132,0x113,0x1cf,_0x31445b._0x33eaa0),'properties':{'pattern':{'type':_0x22caf1(-0x12b,-0x271,-0x1af,-_0x31445b._0xbbf7dc)},'path':{'type':_0x3a2654(_0x31445b._0x3235f9,0x13f,0x51,0x288)},'include':{'type':_0x3a2654(_0x31445b._0x369175,_0x31445b._0x135bb8,_0x31445b._0xa77a45,_0x31445b._0x19b7bf)},'limit':{'type':'number'},'context':{'type':_0x3a2654(_0x31445b._0x126221,_0x31445b._0x4bd725,0x35e,0x238)}},'required':[_0x3a2654(_0x31445b._0x80c03c,0x192,_0x31445b._0x2c541f,0x0)]},async *'execute'(_0x2f17d7){try{validateGrepPattern(_0x2f17d7[_0x526776(_0x18fc47._0x34793d,0x53a,0x426,0x4b3)]);}catch(_0x4c7f51){throw new ToolExecutionError(_0x4c7f51[_0x28be06(0x3be,_0x18fc47._0x592976,_0x18fc47._0x1cd4c8,0x578)],{});}const _0x9a5437=resolveAllowedPath(_0x531d67,_0xc71634,_0x2f17d7[_0x28be06(_0x18fc47._0x587cbe,_0x18fc47._0x37def7,0x48a,0x591)]??'.'),_0x3dff54=await _0x35d47e(_0x9a5437)[_0x526776(0x334,0x2bd,_0x18fc47._0x785411,0x35f)](()=>null),_0xd865d7=_0x3dff54?.[_0x28be06(_0x18fc47._0xb10eca,0x43c,0x450,_0x18fc47._0x260a03)]()??![],_0x56cf80=_0x3dff54?.[_0x28be06(0x2d6,0x3b4,0x375,0x30c)]()??![];if(!_0xd865d7&&!_0x56cf80)throw new ToolExecutionError(_0x526776(0x3f7,_0x18fc47._0x574c2e,0x46b,_0x18fc47._0x13a8c8)+(_0x2f17d7[_0x526776(_0x18fc47._0xfc93ad,0x635,0x47a,0x60b)]??'.'),{'path':_0x2f17d7[_0x526776(_0x18fc47._0x48f71a,0x52c,0x47a,0x531)]??'.'});const _0x1ebec3=await searchRegex({'cwd':_0x56cf80?_0x9a5437:_0x3d5d08[_0x526776(0x3cb,0x1ea,_0x18fc47._0x3b10df,_0x18fc47._0x343292)](_0x9a5437),'pattern':_0x2f17d7[_0x28be06(_0x18fc47._0x1cd4c8,0x3cd,0x436,0x36c)],'glob':_0x56cf80?_0x2f17d7[_0x28be06(0x5a8,_0x18fc47._0x2ba60d,0x49f,_0x18fc47._0xea8357)]:void 0x0,'limit':_0x2f17d7[_0x526776(_0x18fc47._0x1bc4f0,0x50a,_0x18fc47._0x1eccfc,0x457)]??_0xc50434,'files':_0xd865d7?[_0x9a5437]:void 0x0,'context':_0x2f17d7[_0x526776(_0x18fc47._0x2a0443,_0x18fc47._0x1acf23,0x2cc,_0x18fc47._0x40cfd0)]});function _0x526776(_0x28b02a,_0x58e2d8,_0x180545,_0x52211d){return _0x3a2654(_0x28b02a-0xaa,_0x180545-0x294,_0x28b02a,_0x52211d-0x1e1);}const {matches:_0x45927f}=_0x1ebec3,_0x22c770=new Map();for(const _0x494411 of _0x45927f){if(!_0x22c770['has'](_0x494411[_0x28be06(0x572,_0x18fc47._0x77d087,0x502,_0x18fc47._0x1336df)])){const _0x20c2b4=await _0x35d47e(_0x494411[_0x28be06(0x433,_0x18fc47._0x372d05,0x502,_0x18fc47._0x37a00c)])[_0x28be06(_0x18fc47._0x3136fa,_0x18fc47._0x163272,0x30e,_0x18fc47._0x5e232c)](()=>null);_0x22c770['set'](_0x494411[_0x28be06(_0x18fc47._0x198571,_0x18fc47._0x291dd1,_0x18fc47._0x1f820d,0x65d)],{'matches':[],'mtime':_0x20c2b4?.[_0x526776(_0x18fc47._0x3d5151,0x4fb,0x627,_0x18fc47._0x1d5b7d)]??0x0});}_0x22c770[_0x28be06(_0x18fc47._0x471c4e,_0x18fc47._0x2e716e,_0x18fc47._0x21160d,0x4d7)](_0x494411[_0x28be06(_0x18fc47._0x8a0d62,0x37c,0x502,_0x18fc47._0xbf7c3b)])?.['matches'][_0x28be06(_0x18fc47._0x541f8c,_0x18fc47._0x3d6096,_0x18fc47._0x1f7c0f,_0x18fc47._0x51ef57)](_0x494411);}const _0x179847=[..._0x22c770['entries']()][_0x526776(0x511,0x770,0x5e3,_0x18fc47._0x43040a)]((_0x57f3f5,_0x27f5d3)=>_0x27f5d3[0x1]['mtime']-_0x57f3f5[0x1][_0x28be06(0x5a9,0x3c1,0x582,0x68b)]),_0x522ca9=_0xd865d7?_0x3d5d08[_0x28be06(0x1a2,0x4c7,0x321,_0x18fc47._0x59c6d2)](_0x9a5437):_0x9a5437;let _0x5e36b9='';function _0x28be06(_0x3c2266,_0x45759d,_0x16bbb6,_0x3414cf){return _0x3a2654(_0x3c2266-_0x34e066._0x4911c4,_0x16bbb6-0x2a4,_0x3414cf,_0x3414cf-0x66);}if(_0x45927f['length']===0x0)_0x5e36b9=_0x28be06(0x3d0,_0x18fc47._0x1e57c0,_0x18fc47._0x523e6d,0x1c3)+_0x2f17d7[_0x28be06(0x5b0,_0x18fc47._0x5d94e9,0x436,_0x18fc47._0x3c6a49)];else{_0x5e36b9='Found\x20'+_0x1ebec3['matchCount']+_0x28be06(_0x18fc47._0x1bc7a9,_0x18fc47._0x3a23ec,_0x18fc47._0x2a4eac,0x39b)+(_0x1ebec3['matchCount']===0x1?'':'es')+'\x0a';for(const [_0x5b775e,_0x581613]of _0x179847){const _0xa7e351=_0xd865d7?_0x3d5d08[_0x28be06(_0x18fc47._0xf505f5,_0x18fc47._0x56a31b,_0x18fc47._0x3ebf1d,0x659)](_0x5b775e):_0x3d5d08[_0x526776(_0x18fc47._0x4ac7da,_0x18fc47._0x5033d8,_0x18fc47._0x150767,_0x18fc47._0x1d4691)](_0x522ca9,_0x5b775e);_0x5e36b9+='\x0a'+_0xa7e351+':\x0a';for(const _0x397950 of _0x581613[_0x526776(_0x18fc47._0x344c19,0x401,0x40f,0x2c6)]){const _0x4a2f14=boundedGrepSnippet(_0x397950[_0x28be06(_0x18fc47._0x82e0a7,0x3bf,_0x18fc47._0x36b3e7,_0x18fc47._0x4f1452)]),_0x189997=_0x397950['isContext']?'\x20\x20':'>\x20';_0x5e36b9+=_0x189997+_0x526776(_0x18fc47._0x4166b8,0x3f5,_0x18fc47._0x10d8fa,_0x18fc47._0x271425)+_0x397950['lineNum']+':\x20'+_0x4a2f14+'\x0a';}}_0x1ebec3[_0x526776(0x455,_0x18fc47._0x33ce09,_0x18fc47._0xa29008,_0x18fc47._0x352f4c)]&&(_0x5e36b9+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');}const _0x3f5c1d={'searchPath':_0x3d5d08[_0x28be06(0x46b,0x5d5,0x616,0x5bc)](_0x531d67,_0x9a5437)||'.','pattern':_0x2f17d7['pattern'],'matchCount':_0x1ebec3[_0x526776(0x223,0x2a4,_0x18fc47._0x327291,_0x18fc47._0x82e0a7)],'fileCount':_0x1ebec3['fileCount'],'truncated':_0x1ebec3[_0x526776(_0x18fc47._0x5f2135,_0x18fc47._0x2c56f9,_0x18fc47._0x77d087,0x602)]};return _0x56cf80&&_0x2f17d7[_0x526776(0x4a5,_0x18fc47._0x440552,_0x18fc47._0x1ee83d,0x363)]!==void 0x0&&(_0x3f5c1d['include']=_0x2f17d7[_0x526776(0x3cb,_0x18fc47._0x2c56f9,0x48f,_0x18fc47._0x2159ce)]),yield createToolOutput(_0x5e36b9[_0x28be06(0x34c,0x53e,_0x18fc47._0x3e920f,0x397)](),_0x3f5c1d),void 0x0;}});}function createKillShellTool(_0x45b20a){const _0x245ca5={_0x3a030b:0x21b,_0xd624eb:0x7c,_0x201fb2:0xca,_0x190c25:0x3d8,_0x129065:0x3c0,_0x28b983:0x212,_0x340444:0x33,_0x469ea6:0xe5,_0x2e779c:0x56,_0x46032f:0x44,_0x599d0c:0x97},_0x2c62f0={_0x236566:0x2bb,_0x50af22:0x136,_0xb9b4c5:0x108,_0xbd3163:0x11d,_0x4710d5:0x11,_0x3b7b4d:0x87,_0x41188d:0x105,_0x361f52:0x126,_0x1ff29e:0x2ce,_0x4d0df6:0x29a,_0x3f1283:0x199,_0x1a425e:0x13d,_0x2a07be:0x168,_0x383936:0x10e,_0x51d0f5:0xce,_0x37d300:0x22c,_0x13ad21:0x160,_0x5b8621:0x193,_0x9daff6:0x2ad,_0x28da71:0x128,_0x135422:0x15f,_0x4152fe:0x15,_0x15e046:0x7,_0x4e32fa:0x31e,_0x11dccf:0x241,_0x23ef1c:0x56a,_0x4b78bc:0x4ae,_0xfa3f78:0xa9,_0x151d3e:0x199,_0x58bfe6:0x49,_0x469196:0x114,_0x4f69f1:0x64,_0x276853:0x151,_0x37a446:0x56a,_0x202b17:0x4e8},_0x3d1d1a={_0x5d46fb:0x48},_0x2e0718={_0x13b367:0x18e},_0x169bd6={_0x370e43:0x8f,_0xa9100e:0xc0},_0x51f001={_0x5e1853:0x156},{registry:_0x5887d1}=_0x45b20a;function _0x3387d4(_0x2232bd,_0x30f550,_0x18630c,_0x316e15){return _0x1c3a85(_0x2232bd-_0x51f001._0x5e1853,_0x2232bd,_0x18630c-0x57,_0x18630c- -0x18e);}function _0x110661(_0x542906,_0x5b33d9,_0x37a25d,_0x2aa65a){return _0x1c3a85(_0x542906-_0x169bd6._0x370e43,_0x5b33d9,_0x37a25d-0x81,_0x2aa65a- -_0x169bd6._0xa9100e);}return defineTool({'name':_0x110661(0x25e,_0x245ca5._0x3a030b,-_0x245ca5._0xd624eb,_0x245ca5._0x201fb2),'permissionClass':'always-confirm','description':_0x3387d4(-_0x245ca5._0x190c25,-_0x245ca5._0x129065,-0x283,-0x15b),'inputSchema':{'type':'object','properties':{'shellId':{'type':_0x110661(-_0x245ca5._0x28b983,-_0x245ca5._0x340444,_0x245ca5._0x469ea6,-0xa1)}},'required':[_0x3387d4(-_0x245ca5._0x2e779c,-_0x245ca5._0x46032f,_0x245ca5._0x599d0c,0x16d)]},async *'execute'(_0x60d46e){function _0x5641f0(_0x420c7c,_0x2a42b2,_0x1e8c2d,_0x4bade6){return _0x110661(_0x420c7c-_0x2e0718._0x13b367,_0x2a42b2,_0x1e8c2d-0x1b4,_0x1e8c2d-0x405);}const _0x1484af=await _0x5887d1[_0x2b9364(-_0x2c62f0._0x236566,-_0x2c62f0._0x50af22,-0x128,-_0x2c62f0._0xb9b4c5)](_0x60d46e['shellId']),_0x2b9d0e={'shellId':_0x1484af[_0x2b9364(0x61,0xbc,_0x2c62f0._0xbd3163,0x2b5)],'outcome':_0x1484af['outcome'],'status':_0x1484af['status'],'exitCode':_0x1484af[_0x2b9364(0x120,-0x7c,0x76,_0x2c62f0._0x4710d5)],'signal':_0x1484af['signal'],'error':_0x1484af[_0x2b9364(-_0x2c62f0._0x3b7b4d,-_0x2c62f0._0x41188d,-0x77,-_0x2c62f0._0x361f52)],'gracefulRequested':_0x1484af['gracefulRequested'],'forceRequested':_0x1484af[_0x2b9364(-_0x2c62f0._0x1ff29e,-_0x2c62f0._0x4d0df6,-_0x2c62f0._0x3f1283,-0x2d5)]};if(_0x1484af[_0x2b9364(-0x1a6,-_0x2c62f0._0x1a425e,-_0x2c62f0._0x2a07be,-0x260)]===_0x2b9364(-_0x2c62f0._0x383936,-0x110,-_0x2c62f0._0x51d0f5,-_0x2c62f0._0x37d300))throw new ToolExecutionError(_0x2b9364(-_0x2c62f0._0x13ad21,-_0x2c62f0._0x5b8621,-0x120,-_0x2c62f0._0x9daff6)+_0x60d46e['shellId']+':\x20'+(_0x1484af[_0x2b9364(0x7,_0x2c62f0._0x28da71,-0x77,-_0x2c62f0._0x135422)]??_0x2b9364(-_0x2c62f0._0x4152fe,-0x14f,-0x19d,_0x2c62f0._0x15e046)),_0x2b9d0e);const _0x101585=_0x1484af[_0x2b9364(-_0x2c62f0._0x4e32fa,-0x25d,-_0x2c62f0._0x2a07be,-0x25d)]==='already-terminal'?_0x2b9364(-_0x2c62f0._0x11dccf,0x2f,-0x126,-0x3e)+_0x60d46e[_0x5641f0(0x4d4,0x6ad,_0x2c62f0._0x23ef1c,_0x2c62f0._0x4b78bc)]+_0x2b9364(0x26,-_0x2c62f0._0xfa3f78,0xe3,_0x2c62f0._0x151d3e)+_0x1484af[_0x2b9364(-_0x2c62f0._0x58bfe6,-0x241,-_0x2c62f0._0x469196,-_0x2c62f0._0x4f69f1)]+'.':_0x2b9364(-0x38,-0x1e1,-_0x2c62f0._0x276853,-0x1d2)+_0x60d46e[_0x5641f0(0x6f4,0x531,_0x2c62f0._0x37a446,_0x2c62f0._0x202b17)]+'.';function _0x2b9364(_0x2f7b80,_0x27ba13,_0x288b03,_0x46e7a4){return _0x110661(_0x2f7b80-0x70,_0x2f7b80,_0x288b03-0x1e6,_0x288b03- -_0x3d1d1a._0x5d46fb);}return createToolOutput(_0x101585,_0x2b9d0e);}});}import{readdir as _0xbbedb,readFile as _0x564c6f,stat as _0x3845fc}from'fs/promises';import*as _0x20620a from'path';import*as _0x2cea0e from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0xf1e704,_0x394cd1){const _0x16d474={_0x3d4b0d:0x478,_0x5374c8:0x271,_0x35de15:0x408,_0x5ba163:0x5fc,_0x27035f:0x6c1,_0x1b58de:0x5ab,_0x474dc1:0x476,_0x7a8340:0x4ad,_0x5fa014:0x5a3,_0x5ce892:0x458},_0x5e04f4={_0x8f30f7:0x3f4},_0x2e7d9e={_0xe18f4a:0x190,_0xb9300f:0x35};if(_0x394cd1>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0x4c6050(_0x3b32,_0x3312ec,_0x365dd0,_0x1f654f){return _0x515b8f(_0x3b32-0x7e,_0x3312ec-_0x2e7d9e._0xe18f4a,_0x365dd0,_0x1f654f-_0x2e7d9e._0xb9300f);}function _0x545fcf(_0x34c869,_0x2f940a,_0x1955cd,_0x51c63b){return _0x1c3a85(_0x34c869-0xe1,_0x51c63b,_0x1955cd-0x96,_0x1955cd-_0x5e04f4._0x8f30f7);}const _0x55724e=await _0x564c6f(_0xf1e704)[_0x4c6050(_0x16d474._0x3d4b0d,0x2da,_0x16d474._0x5374c8,_0x16d474._0x35de15)](()=>null);if(!_0x55724e||isProbablyBinary(_0x55724e))return void 0x0;return _0x55724e[_0x4c6050(0x5db,0x5b4,_0x16d474._0x5ba163,_0x16d474._0x27035f)](_0x545fcf(0x4e9,_0x16d474._0x1b58de,_0x16d474._0x474dc1,_0x16d474._0x7a8340))[_0x545fcf(0x6a3,0x745,_0x16d474._0x5fa014,0x51a)](/\r?\n/)[_0x545fcf(0x4a8,_0x16d474._0x5ce892,0x4ef,0x622)];}function createLsTool(_0x3e1bc9={}){const _0x28489b={_0x519158:0x205,_0x1e912a:0xf2,_0x47a87a:0x29b,_0x319e06:0x162,_0x4c445d:0xb3,_0x5308bb:0x338,_0xf8adb:0x1ff,_0x1a58d3:0x2be,_0x33d551:0xa,_0x2afa93:0x6a,_0x5cc571:0x10e,_0x59dff5:0x1ed,_0x22834b:0x1df,_0x4dab71:0x16,_0x43fba0:0x19b,_0x188f0a:0x116,_0x58f788:0x62,_0x181115:0xe3,_0x2102b4:0x174,_0x480e71:0x51c,_0x205646:0x2bc},_0x4d175c={_0x70257d:0x374,_0x5abc2b:0xa1,_0x58e77f:0x1ab,_0xc60a3a:0x2ac,_0x4a9c14:0x318,_0x24a6df:0x125,_0x39da12:0x21f,_0x4edcbe:0x30a,_0x5a059e:0x6c,_0x1a9057:0x24d,_0x40459b:0x20c,_0x1ed99e:0x1bb,_0x2d8e70:0x1ff,_0xb53656:0xe1,_0x206b27:0x2b4,_0x436569:0x12a,_0x3a8c09:0xf0,_0x5f3a8f:0x1bc,_0x2150bd:0x173,_0x506ecb:0x10d,_0x38b261:0x1a2,_0x4ede99:0xc9,_0x39eeee:0xf3,_0x34743e:0xa5,_0x37b7ae:0x60,_0x1f888e:0x2c,_0x2c33fe:0x89,_0x3c53be:0x1f9,_0x5cf3f8:0x39d,_0x54133f:0x381,_0x8748f7:0x49a,_0x58d0d1:0x472,_0x2b587d:0x190,_0x2ccf6e:0x4e,_0x528faa:0x8c,_0x23f302:0x18,_0x3e40ed:0x159,_0x410694:0x20a,_0x28d8c7:0x261,_0x61ee07:0x1bc,_0x5eb7ff:0x2c4,_0x881f3d:0x2a4,_0x1a4715:0x2a3,_0x125f34:0xdd},_0xf5ccd6={_0x5e4868:0x1a4,_0x2e5008:0x2d1},_0x10c563=_0x20620a[_0xe9773a(0x5d,-_0x28489b._0x519158,-_0x28489b._0x1e912a,-_0x28489b._0x47a87a)](_0x3e1bc9['defaultCwd']??process[_0xef0ec(_0x28489b._0x319e06,_0x28489b._0x4c445d,0x154,0xf6)]());function _0xef0ec(_0x326086,_0xdf8073,_0x26c9a9,_0x395654){return _0x515b8f(_0x326086-_0xf5ccd6._0x5e4868,_0xdf8073-0x5d,_0x326086,_0x395654- -_0xf5ccd6._0x2e5008);}function _0xe9773a(_0x395194,_0x50eb79,_0x3c6233,_0x1b485b){return _0x515b8f(_0x395194-0xc9,_0x50eb79-0x1e6,_0x1b485b,_0x3c6233- -0x48b);}const _0x2a847d=_0x3e1bc9[_0xe9773a(_0x28489b._0x5308bb,0x33b,_0x28489b._0xf8adb,_0x28489b._0x1a58d3)]??[],_0x79065f=_0x3e1bc9[_0xe9773a(-_0x28489b._0x33d551,_0x28489b._0x2afa93,_0x28489b._0x5cc571,_0x28489b._0x59dff5)]??'Ls';return defineTool({'name':_0x79065f,'permissionClass':_0xef0ec(_0x28489b._0x22834b,0x475,0x256,0x2b5),'description':_0xef0ec(0x16e,-0x4,-_0x28489b._0x4dab71,_0x28489b._0x43fba0),'inputSchema':{'type':_0xef0ec(_0x28489b._0x188f0a,0x14f,_0x28489b._0x58f788,0x1ab),'properties':{'path':{'type':_0xe9773a(_0x28489b._0x181115,-_0x28489b._0x2102b4,0x1d,-0x75)},'limit':{'type':_0xef0ec(_0x28489b._0x480e71,0x475,_0x28489b._0x205646,0x3a2)}}},async *'execute'(_0x141d6b){const _0x10a310={_0x83ce58:0x7f,_0x20a7bf:0x61},_0x1528b6={_0x5a0b71:0x121,_0x43b2bd:0x3ff},_0x58a34a=_0x141d6b[_0x4b78d4(0x21d,0x134,0x185,_0x4d175c._0x70257d)]??'.',_0x1ab0be=resolveAllowedPath(_0x10c563,_0x2a847d,_0x58a34a),_0x1df90a=await _0x3845fc(_0x1ab0be)[_0x4b78d4(_0x4d175c._0x5abc2b,0xba,_0x4d175c._0x58e77f,0x25b)](()=>null);if(!_0x1df90a?.['isDirectory']())throw new ToolExecutionError(_0x4b78d4(_0x4d175c._0xc60a3a,_0x4d175c._0x4a9c14,_0x4d175c._0x24a6df,0x3e8)+_0x58a34a,{'path':_0x58a34a});const _0x2c6eb9=_0x141d6b[_0x4b78d4(0x1c3,_0x4d175c._0x39da12,_0x4d175c._0x39da12,0xf2)]??0x3e8,_0x4f24be=Math[_0x205d5a(-0x54,-0x96,-0x23d,0x103)](Math['max'](Math[_0x4b78d4(0x2a5,0x2c1,0x3fc,_0x4d175c._0x4edcbe)](_0x2c6eb9),0x1),0x2710);function _0x205d5a(_0x38bc3f,_0x51f45a,_0x438e88,_0x509eaf){return _0xef0ec(_0x438e88,_0x51f45a-_0x1528b6._0x5a0b71,_0x438e88-0x147,_0x51f45a- -_0x1528b6._0x43b2bd);}function _0x4b78d4(_0x2e19a4,_0x2291bf,_0xb726fb,_0x47337d){return _0xef0ec(_0x2291bf,_0x2291bf-_0x10a310._0x83ce58,_0xb726fb-0x136,_0x2e19a4- -_0x10a310._0x20a7bf);}const _0x26d29d=await _0xbbedb(_0x1ab0be),_0x35c8d1=[];for(const _0x5b8330 of _0x26d29d[_0x4b78d4(0x1fd,0x39f,_0x4d175c._0x5a059e,_0x4d175c._0x1a9057)](0x0,_0x4f24be)){const _0x195b17=_0x20620a[_0x205d5a(0x2a,-0x113,-0x21b,-0x276)](_0x1ab0be,_0x5b8330),_0x15024e=await _0x3845fc(_0x195b17)[_0x4b78d4(0xa1,-0x39,_0x4d175c._0x40459b,-0x15)](()=>null);if(!_0x15024e)continue;let _0xcc58b='other';if(_0x15024e[_0x205d5a(-0x137,-_0x4d175c._0x1ed99e,-0x64,-0x245)]())_0xcc58b=_0x205d5a(-_0x4d175c._0x2d8e70,-0x157,-0x1dd,-_0x4d175c._0xb53656);else{if(_0x15024e[_0x4b78d4(0x108,_0x4d175c._0x206b27,_0x4d175c._0x436569,_0x4d175c._0x3a8c09)]())_0xcc58b=_0x4b78d4(0xfe,_0x4d175c._0x5f3a8f,_0x4d175c._0x2150bd,_0x4d175c._0x506ecb);else{if(_0x15024e[_0x205d5a(-0x2bb,-_0x4d175c._0x38b261,-0xa6,-0x1ba)]())_0xcc58b=_0x205d5a(-_0x4d175c._0x4ede99,0x39,-_0x4d175c._0x39eeee,_0x4d175c._0x34743e);}}const _0x485a84={'name':_0x5b8330,'type':_0xcc58b,'size':_0x15024e['size'],'mtime':_0x15024e[_0x205d5a(-_0x4d175c._0x37b7ae,_0x4d175c._0x1f888e,-0x170,0x158)],'mode':_0x15024e[_0x205d5a(-_0x4d175c._0x2c33fe,-0x1f4,-0x1c7,-_0x4d175c._0x3c53be)]},_0x194b61=_0xcc58b===_0x4b78d4(0x247,0x26b,0x15b,0x3dd)?await countTextLines(_0x195b17,_0x15024e[_0x4b78d4(0x3b9,_0x4d175c._0x5cf3f8,0x35c,0x22e)]):void 0x0;if(_0x194b61!==void 0x0)_0x485a84[_0x4b78d4(_0x4d175c._0x54133f,_0x4d175c._0x8748f7,0x428,_0x4d175c._0x58d0d1)]=_0x194b61;_0x35c8d1[_0x205d5a(0x147,0x27,_0x4d175c._0x2b587d,_0x4d175c._0x2ccf6e)](_0x485a84);}_0x35c8d1[_0x205d5a(_0x4d175c._0x528faa,-_0x4d175c._0x23f302,_0x4d175c._0x3e40ed,0x196)]((_0xb871db,_0x3d0691)=>_0xb871db[_0x4b78d4(0x267,0x137,0xc5,0x18b)][_0x4b78d4(0x2e3,0x20e,0x3cd,0x253)](_0x3d0691[_0x205d5a(-0x15f,-0x137,0x79,-0x16c)]));const _0x297424={'path':_0x58a34a,'total':_0x35c8d1[_0x205d5a(-_0x4d175c._0x410694,-0x14c,-0x246,-0x32)],'truncated':_0x26d29d[_0x205d5a(-_0x4d175c._0x28d8c7,-0x14c,-0x24c,-_0x4d175c._0x61ee07)]>_0x4f24be,'entries':_0x35c8d1};return yield createToolOutput(_0x2cea0e[_0x205d5a(-0x1b7,-0x27b,-_0x4d175c._0x5eb7ff,-0x13c)](_0x297424,{'indent':0x2,'lineWidth':0x0})[_0x4b78d4(_0x4d175c._0x881f3d,0xed,0x10f,_0x4d175c._0x1a4715)](),{'path':_0x58a34a,'total':_0x35c8d1[_0x4b78d4(0x252,0x404,_0x4d175c._0x125f34,0x2a4)],'truncated':_0x26d29d['length']>_0x4f24be,'limit':_0x4f24be,'entries':_0x35c8d1}),void 0x0;}});}import{stat as _0x3a7e31}from'fs/promises';import _0x46eae3 from'path';import{fileURLToPath as _0x5c2082}from'url';function awaitWithAbort(_0x534c5d,_0x4b6bea){const _0x3a4a52={_0x49cfe7:0x304,_0x18147f:0x14,_0x43c35c:0x13f,_0x5768bb:0x1ac},_0x35ed79={_0x3dee00:0xd3},_0x2e67a4={_0x3ffe8b:0x166,_0x454618:0x1d3},_0x1a6d9f={_0x97cbff:0xc1},_0x464640={_0x1cb44a:0x13c,_0x24ae7f:0x1bc},_0x3b3bcd={_0x2d679b:0xec,_0x456270:0x148};if(!_0x4b6bea)return _0x534c5d;if(_0x4b6bea[_0x4d0b80(0x7c,-0x19,0x89,0xa5)])return Promise[_0x486be8(0x2f5,_0x3a4a52._0x49cfe7,0x181,_0x3a4a52._0x18147f)](toAbortError(_0x4b6bea[_0x486be8(_0x3a4a52._0x43c35c,_0x3a4a52._0x5768bb,0x162,0x15e)]));function _0x4d0b80(_0x5f418e,_0x7cc7c3,_0x3dc61b,_0x207ed3){return _0x515b8f(_0x5f418e-_0x3b3bcd._0x2d679b,_0x7cc7c3-_0x3b3bcd._0x456270,_0x7cc7c3,_0x5f418e- -0x3f8);}function _0x486be8(_0x29e286,_0x307f15,_0x2533b0,_0xbd7871){return _0x1c3a85(_0x29e286-0x118,_0x29e286,_0x2533b0-_0x464640._0x1cb44a,_0x2533b0-_0x464640._0x24ae7f);}return new Promise((_0x5f181b,_0x215b19)=>{const _0x181827={_0x205e91:0xeb},_0x2eb526=()=>{const _0x2ee2b5={_0x50cd91:0x47};_0x435836();function _0x1277db(_0x41bb35,_0x9d56c3,_0x1997d7,_0x54b665){return _0x2a2f(_0x9d56c3- -_0x2ee2b5._0x50cd91,_0x41bb35);}_0x215b19(toAbortError(_0x4b6bea[_0x1277db(0x1c,_0x1a6d9f._0x97cbff,0x118,0x165)]));},_0x435836=()=>_0x4b6bea[_0x24530b(-0xe4,0x13,0xc3,0x1b9)]('abort',_0x2eb526);function _0x161b37(_0x2bfebf,_0x53deac,_0x52de05,_0x1b1799){return _0x4d0b80(_0x1b1799-_0x2e67a4._0x3ffe8b,_0x2bfebf,_0x52de05-_0x2e67a4._0x454618,_0x1b1799-0x9e);}function _0x24530b(_0xb66f6d,_0x3597c5,_0x53d672,_0x4566c0){return _0x4d0b80(_0x3597c5- -0xa5,_0x4566c0,_0x53d672-0xa2,_0x4566c0-_0x181827._0x205e91);}_0x4b6bea['addEventListener']('abort',_0x2eb526,{'once':!![]}),_0x534c5d[_0x24530b(-0x4d,0xd0,-_0x35ed79._0x3dee00,-0x98)](_0x13c46e=>{_0x435836(),_0x5f181b(_0x13c46e);},_0x58f9bb=>{_0x435836(),_0x215b19(_0x58f9bb);});});}function severityName(_0x34c5d8){const _0x33638f={_0x3bc123:0x1ee,_0x54d2ae:0x173,_0x532af4:0x1fb,_0xcea508:0x6aa,_0x4a2037:0x6a1,_0x286e50:0x551,_0x3f2d5b:0x783,_0x25f0be:0x59,_0x1b9e2e:0x49b},_0x269ca0={_0x3cd67e:0x16f,_0x407777:0x4d0};function _0x463751(_0x45b43e,_0x53252a,_0x3fed50,_0x5b7967){return _0x515b8f(_0x45b43e-_0x269ca0._0x3cd67e,_0x53252a-0x1c2,_0x53252a,_0x45b43e- -_0x269ca0._0x407777);}function _0x321c15(_0x4c99ba,_0x338a02,_0x4fc18a,_0x519562){return _0x515b8f(_0x4c99ba-0x127,_0x338a02-0xe0,_0x338a02,_0x4c99ba-0x9f);}switch(_0x34c5d8){case 0x1:return _0x463751(_0x33638f._0x3bc123,0xdb,_0x33638f._0x54d2ae,_0x33638f._0x532af4);case 0x2:return _0x321c15(0x61b,_0x33638f._0xcea508,0x5f4,0x738);case 0x3:return _0x321c15(_0x33638f._0x4a2037,_0x33638f._0x286e50,_0x33638f._0x3f2d5b,0x723);case 0x4:return _0x463751(0xd1,-0x34,0x23,_0x33638f._0x25f0be);default:return _0x321c15(0x471,_0x33638f._0x1b9e2e,0x2e6,0x44a);}}function formatSingleHover(_0xa2b5c8){const _0x1b8a0c={_0x36c502:0x442,_0x452288:0x1bf,_0x466669:0x2b6,_0x3a1f32:0x398,_0x5e26c1:0x457,_0x5dc632:0x526,_0x4489d3:0x489,_0x589ef1:0x4de,_0x5051da:0x6b0,_0x3d22c3:0x6a9,_0x16aca9:0x554,_0x2f6d5d:0x591,_0x50a1bb:0x75a,_0x5763ee:0x7e7,_0x2e5416:0x51b,_0x4c178c:0x68d},_0x3696b3={_0x4cc1a6:0x102},_0x425ebe={_0x526870:0xa4},_0x4a3137=_0xa2b5c8[_0x235266(_0x1b8a0c._0x36c502,0x332,0x43c,_0x1b8a0c._0x452288)];if(typeof _0x4a3137===_0x235266(_0x1b8a0c._0x466669,0x3a6,0x238,_0x1b8a0c._0x3a1f32))return _0x4a3137;function _0x4e150f(_0xf7ef02,_0x3f6b33,_0x4f2f26,_0x6b1245){return _0x515b8f(_0xf7ef02-0x8f,_0x3f6b33-_0x425ebe._0x526870,_0xf7ef02,_0x4f2f26-0x4);}if(Array[_0x4e150f(0x3e1,_0x1b8a0c._0x5e26c1,_0x1b8a0c._0x5dc632,0x479)](_0x4a3137))return _0x4a3137[_0x4e150f(_0x1b8a0c._0x4489d3,_0x1b8a0c._0x589ef1,0x3de,0x308)](_0x23324b=>typeof _0x23324b===_0x235266(0x44d,0x3a6,0x4b2,0x300)?_0x23324b:_0x23324b[_0x235266(0x49b,0x440,0x400,0x472)])['filter'](Boolean)[_0x4e150f(0x6ed,0x517,0x5c1,0x44a)]('\x0a\x0a');if(_0x4e150f(0x528,0x6c5,0x517,0x5b9)in _0x4a3137)return _0x4a3137['value'];function _0x235266(_0x5cb644,_0x410b75,_0x378c5e,_0x3144c4){return _0x515b8f(_0x5cb644-0x8a,_0x410b75-0x160,_0x5cb644,_0x410b75- -_0x3696b3._0x4cc1a6);}return _0x4a3137[_0x4e150f(0x513,0x7f5,_0x1b8a0c._0x5051da,0x850)]?_0x4e150f(_0x1b8a0c._0x3d22c3,0x671,_0x1b8a0c._0x16aca9,_0x1b8a0c._0x2f6d5d)+_0x4a3137[_0x4e150f(_0x1b8a0c._0x50a1bb,_0x1b8a0c._0x5763ee,_0x1b8a0c._0x5051da,0x812)]+'\x0a'+_0x4a3137['value']+_0x4e150f(0x712,_0x1b8a0c._0x2e5416,_0x1b8a0c._0x4c178c,0x669):_0x4a3137['value'];}function formatHover(_0x5c3d35){const _0x279bfd={_0x94438c:0x34b,_0x30d192:0x3bb,_0x461c5b:0x51e,_0x275076:0x44c,_0x1ef0ec:0x566,_0x805cb6:0x510,_0x3e7c05:0x4af,_0x22074d:0x4e9},_0x4becb9={_0x14fdaf:0x61},_0x59323d={_0x27977f:0x1ba,_0x449795:0x46a};function _0x58adc2(_0x26151d,_0x285b64,_0x5a56d4,_0x11cd61){return _0x1c3a85(_0x26151d-0x15c,_0x5a56d4,_0x5a56d4-_0x59323d._0x27977f,_0x26151d-_0x59323d._0x449795);}function _0x543010(_0x53f9ed,_0x13fd24,_0x3ffeff,_0x579f7d){return _0x1c3a85(_0x53f9ed-_0x4becb9._0x14fdaf,_0x13fd24,_0x3ffeff-0x72,_0x3ffeff-0x3dc);}if(_0x5c3d35[_0x58adc2(0x565,0x538,0x5e1,0x3da)]===0x0)return _0x543010(_0x279bfd._0x94438c,0x4f5,0x4df,0x433);return _0x5c3d35[_0x58adc2(_0x279bfd._0x30d192,0x269,_0x279bfd._0x461c5b,_0x279bfd._0x275076)](formatSingleHover)[_0x543010(0x4c2,_0x279bfd._0x1ef0ec,_0x279bfd._0x805cb6,0x400)](_0x543010(0x63a,_0x279bfd._0x3e7c05,0x668,_0x279bfd._0x22074d));}function locationPath(_0xb8ae57){const _0xadf8c5={_0x117121:0x595,_0x25e54c:0x6a2},_0x83938e={_0x5a9cb1:0x49,_0x35b707:0x12c};function _0x238143(_0x4be066,_0x14f05a,_0x506abd,_0x492574){return _0x515b8f(_0x4be066-_0x83938e._0x5a9cb1,_0x14f05a-_0x83938e._0x35b707,_0x492574,_0x506abd-0x45);}if(!_0xb8ae57[_0x238143(0x624,_0xadf8c5._0x117121,_0xadf8c5._0x25e54c,0x714)]('file://'))return _0xb8ae57;return _0x5c2082(_0xb8ae57);}function formatLocations(_0x450371){const _0x5d91d7={_0x352e65:0x60b,_0x36dcd8:0x701},_0x49ea4a={_0x130657:0x592,_0x3539a2:0x704,_0x46c785:0x752,_0x5b88df:0x51c,_0x24f1ae:0x49d,_0x5e7e67:0x54a},_0x1cf975={_0x4bd8ef:0x169,_0x255cd5:0x134};function _0x296d8e(_0x46c47f,_0x4b87d2,_0x473613,_0x20de04){return _0x1c3a85(_0x46c47f-0x11a,_0x4b87d2,_0x473613-0xfd,_0x473613-0x46f);}if(_0x450371[_0x296d8e(_0x5d91d7._0x352e65,0x47d,0x56a,_0x5d91d7._0x36dcd8)]===0x0)return'No\x20locations\x20found';return _0x450371['map'](_0x6d9b1f=>{const _0x77cf3f={_0x170655:0x10c};function _0x357d9f(_0x593bba,_0x3ce93b,_0x15b7eb,_0x2dcc13){return _0x296d8e(_0x593bba-_0x1cf975._0x4bd8ef,_0x2dcc13,_0x593bba-0xa0,_0x2dcc13-_0x1cf975._0x255cd5);}function _0x1942c5(_0x340b2c,_0x3e912e,_0x4eefbd,_0x2383a7){return _0x296d8e(_0x340b2c-0x16e,_0x3e912e,_0x4eefbd- -_0x77cf3f._0x170655,_0x2383a7-0x49);}const _0x4cf54f=_0x6d9b1f['range'][_0x357d9f(_0x49ea4a._0x130657,_0x49ea4a._0x3539a2,_0x49ea4a._0x46c785,0x6cf)];return locationPath(_0x6d9b1f['uri'])+':'+(_0x4cf54f[_0x357d9f(_0x49ea4a._0x5b88df,_0x49ea4a._0x24f1ae,0x4eb,_0x49ea4a._0x5e7e67)]+0x1)+':'+(_0x4cf54f['character']+0x1);})['join']('\x0a');}function isDocumentSymbol(_0x2f071e){const _0x194d68={_0x146bb1:0x1a2,_0x1e1051:0x267},_0x537832={_0x72ca00:0x120,_0x495f44:0x151},_0x34d352={_0x57be2b:0xf6,_0x4fb2bc:0x431};function _0x473cd3(_0x1b890f,_0x4cc2a9,_0x2f254f,_0x52bc5a){return _0x515b8f(_0x1b890f-_0x34d352._0x57be2b,_0x4cc2a9-0x60,_0x4cc2a9,_0x2f254f- -_0x34d352._0x4fb2bc);}function _0x6e483d(_0x1f05d8,_0x5dd8dd,_0x477e1e,_0x2b58cd){return _0x1c3a85(_0x1f05d8-_0x537832._0x72ca00,_0x5dd8dd,_0x477e1e-0xf8,_0x2b58cd-_0x537832._0x495f44);}return _0x6e483d(_0x194d68._0x146bb1,0x35c,0x4b4,0x353)in _0x2f071e&&_0x473cd3(0x1af,_0x194d68._0x1e1051,0x217,0x10e)in _0x2f071e;}function formatSymbols(_0x25a289){const _0x166b7d={_0x23f781:0x59a,_0x3a066b:0x37a,_0x1ff815:0x3ef},_0x44363d={_0x382f83:0x208,_0x409e5b:0xbf,_0x3283c8:0x5c,_0x5032fb:0x119,_0x56c03d:0x2df,_0x1b834d:0x85,_0x1c097a:0x1db,_0x574bbe:0xef,_0x1786b4:0xc8,_0x45e0bc:0x32,_0x1961e4:0x62,_0x1eff7c:0x154,_0x38e0b3:0x20d,_0x55a6ec:0x2b9,_0x571d9e:0x102,_0x2b70b9:0x13f,_0x3b46b3:0x1e8,_0x48eb3b:0x1a,_0x4de481:0x25,_0x266285:0x3b,_0x302fc2:0x58,_0x57dbba:0x1a7,_0x236898:0x27a,_0x29cd7d:0x23d,_0xf3f104:0x1f7,_0x1c5dbf:0x16b,_0xc991fd:0x257,_0x25203a:0x1fb,_0xdfc72b:0x7c,_0x517639:0x216,_0x24d52a:0x37d,_0x53e86c:0x1d7},_0x2420ad={_0x1957b0:0x7c},_0x587e5d={_0x52e011:0x46a};if(_0x25a289[_0x5dffbb(0x5bc,0x44c,0x565,_0x166b7d._0x23f781)]===0x0)return'No\x20symbols\x20found';function _0x5dffbb(_0x4c5185,_0x144b54,_0x3b18e4,_0x52dade){return _0x1c3a85(_0x4c5185-0x154,_0x52dade,_0x3b18e4-0x152,_0x3b18e4-_0x587e5d._0x52e011);}function _0x25d991(_0xc3cdbc,_0x1a1e7c,_0x152222,_0x59aa97){return _0x1c3a85(_0xc3cdbc-_0x2420ad._0x1957b0,_0x1a1e7c,_0x152222-0x150,_0xc3cdbc-0x318);}return _0x25a289['map'](_0x5d54a6=>{function _0x35367e(_0x1e1066,_0x3aeb6c,_0x225c47,_0x50080a){return _0x5dffbb(_0x1e1066-0x1ea,_0x3aeb6c-0x21,_0x50080a- -0x6ce,_0x3aeb6c);}if(isDocumentSymbol(_0x5d54a6))return _0x5d54a6['name']+'\x20('+_0x5d54a6[_0x35367e(-_0x44363d._0x382f83,-0x2ba,-0x1a5,-0x1da)]+_0x10c6fb(0x14e,0x242,_0x44363d._0x409e5b,_0x44363d._0x3283c8)+(_0x5d54a6[_0x10c6fb(_0x44363d._0x5032fb,_0x44363d._0x56c03d,0x23d,_0x44363d._0x1b834d)]['start'][_0x35367e(-0x168,-_0x44363d._0x1c097a,-_0x44363d._0x574bbe,-0x257)]+0x1)+':'+(_0x5d54a6[_0x35367e(-_0x44363d._0x1786b4,-_0x44363d._0x45e0bc,-0x1fe,-_0x44363d._0x1961e4)]['start']['character']+0x1)+']';function _0x10c6fb(_0x20c33b,_0x41042d,_0x25a857,_0x92614a){return _0x5dffbb(_0x20c33b-0x101,_0x41042d-0x164,_0x25a857- -0x42f,_0x92614a);}return _0x5d54a6[_0x35367e(-0x195,-0x10f,-0x207,-_0x44363d._0x1eff7c)]+'\x20('+_0x5d54a6[_0x35367e(-_0x44363d._0x38e0b3,-_0x44363d._0x55a6ec,-_0x44363d._0x571d9e,-0x1da)]+')\x20'+locationPath(_0x5d54a6[_0x35367e(-_0x44363d._0x2b70b9,0x8c,-_0x44363d._0x3b46b3,-0xa1)][_0x35367e(_0x44363d._0x48eb3b,-_0x44363d._0x4de481,-0xd4,-_0x44363d._0x266285)])+':'+(_0x5d54a6[_0x35367e(_0x44363d._0x302fc2,-_0x44363d._0x57dbba,-0x1c1,-0xa1)][_0x10c6fb(0x17b,_0x44363d._0x236898,_0x44363d._0x29cd7d,0x86)][_0x35367e(-0x17e,-_0x44363d._0xf3f104,-_0x44363d._0x1c5dbf,-0x1e1)][_0x35367e(-0x376,-0x214,-0x21d,-_0x44363d._0xc991fd)]+0x1)+':'+(_0x5d54a6[_0x10c6fb(_0x44363d._0x25203a,_0x44363d._0xdfc72b,0x1fe,0x2c9)][_0x35367e(-0x1b1,-0x1b7,-_0x44363d._0x517639,-_0x44363d._0x1961e4)][_0x35367e(-0x33f,-_0x44363d._0x24d52a,-_0x44363d._0x53e86c,-0x1e1)]['character']+0x1);})[_0x25d991(0x44c,_0x166b7d._0x3a066b,0x5a3,_0x166b7d._0x1ff815)]('\x0a');}function formatDiagnostics(_0x591d50){const _0x518e9b={_0x45611f:0x491,_0x5772fe:0x598,_0x2b8ed1:0x447,_0x5d72ea:0x62f,_0x7f1154:0x5df},_0x3d2ba7={_0x242bbb:0x3be,_0x4d803d:0x190,_0x4ecd3f:0xb5,_0x50bcef:0xa4,_0x3ba7e5:0xd3,_0x1cd719:0x49,_0x3598cb:0x2b7,_0x3d2cb5:0x2f9,_0x5ccf39:0x3e2},_0x170cc7={_0x54a57a:0x1a2},_0x331fc={_0xf0040a:0x51,_0x24f944:0xbe,_0x3b399e:0x3b4};if(_0x591d50['length']===0x0)return'No\x20diagnostics';function _0x297d43(_0x53c729,_0x41f0d9,_0x316eaf,_0x3187b6){return _0x1c3a85(_0x53c729-_0x331fc._0xf0040a,_0x41f0d9,_0x316eaf-_0x331fc._0x24f944,_0x316eaf-_0x331fc._0x3b399e);}function _0x1b52cf(_0x4a3d02,_0x47a5c6,_0x44bae5,_0x32c07a){return _0x515b8f(_0x4a3d02-0xdb,_0x47a5c6-_0x170cc7._0x54a57a,_0x32c07a,_0x47a5c6-0xb7);}return _0x591d50[_0x1b52cf(0x640,_0x518e9b._0x45611f,_0x518e9b._0x5772fe,_0x518e9b._0x2b8ed1)](_0x4bc0e8=>{const _0x5c6d71={_0x5219df:0x19c,_0x1fad2d:0x2b8},_0x4be1e4={_0xd948c0:0xd2};function _0xed1887(_0x251cc8,_0x543269,_0xa82311,_0x24cc1f){return _0x1b52cf(_0x251cc8-0x22,_0x543269- -0x477,_0xa82311-_0x4be1e4._0xd948c0,_0xa82311);}function _0x3e997d(_0x26f206,_0x586196,_0x1eda6f,_0x2adb49){return _0x1b52cf(_0x26f206-_0x5c6d71._0x5219df,_0x26f206- -_0x5c6d71._0x1fad2d,_0x1eda6f-0x1f1,_0x1eda6f);}const _0x27d0ea=_0x4bc0e8[_0xed1887(0x2d3,0x2cb,0x3b8,_0x3d2ba7._0x242bbb)][_0xed1887(_0x3d2ba7._0x4d803d,0x14c,-0x3d,_0x3d2ba7._0x4ecd3f)];return severityName(_0x4bc0e8[_0x3e997d(0x1fd,_0x3d2ba7._0x50bcef,0x2e6,0x2a7)])+'\x20['+(_0x27d0ea[_0xed1887(0x41,0xd6,0x28e,0x83)]+0x1)+':'+(_0x27d0ea[_0xed1887(-_0x3d2ba7._0x3ba7e5,-0x2a,-0xe1,_0x3d2ba7._0x1cd719)]+0x1)+']\x20'+_0x4bc0e8[_0x3e997d(_0x3d2ba7._0x3598cb,_0x3d2ba7._0x3d2cb5,_0x3d2ba7._0x5ccf39,0x46d)];})[_0x1b52cf(_0x518e9b._0x5d72ea,0x674,_0x518e9b._0x7f1154,0x800)]('\x0a');}function formatIncomingCalls(_0x2f8367){const _0x2c7151={_0x12ae02:0x453,_0x2966b4:0x577,_0x108801:0x4c8,_0x542722:0x54a},_0x22243b={_0x490e4f:0x10f,_0xb55edb:0x121},_0x32f912={_0x3a2697:0x2a};function _0x56d151(_0x395589,_0x139666,_0x4e6f77,_0x3fb4a7){return _0x1c3a85(_0x395589-0x1e5,_0x4e6f77,_0x4e6f77-0x103,_0x395589-_0x32f912._0x3a2697);}function _0x49ecb6(_0x4aeb59,_0x899381,_0xfe6c38,_0xe0a4b9){return _0x515b8f(_0x4aeb59-_0x22243b._0x490e4f,_0x899381-_0x22243b._0xb55edb,_0xfe6c38,_0xe0a4b9-0x8c);}if(_0x2f8367['length']===0x0)return'No\x20call\x20hierarchy\x20results';return _0x2f8367[_0x49ecb6(0x5e5,_0x2c7151._0x12ae02,_0x2c7151._0x2966b4,0x466)](_0x4efee2=>_0x4efee2['from'][_0x56d151(0x13a,0x4f,0xcd,0x1ec)])[_0x49ecb6(_0x2c7151._0x108801,0x754,_0x2c7151._0x542722,0x649)]('\x0a');}function formatOutgoingCalls(_0x4ac0d1){const _0x3b29e9={_0x41a0c5:0x20,_0x52185c:0xea,_0x50f8b7:0x109,_0x3b440e:0x104,_0x26c4a8:0x568,_0x2c1733:0x83b,_0x18d049:0x62f,_0x368f01:0x543},_0x3f12e4={_0x54e546:0xb5,_0x274b04:0x72},_0xd93611={_0x33c940:0x46,_0x47c1b1:0x1ef,_0x654151:0x49a};function _0x169de7(_0x1d0ca2,_0x245d3a,_0x2cdb51,_0xc005ed){return _0x515b8f(_0x1d0ca2-_0xd93611._0x33c940,_0x245d3a-_0xd93611._0x47c1b1,_0x1d0ca2,_0x245d3a- -_0xd93611._0x654151);}if(_0x4ac0d1[_0x169de7(_0x3b29e9._0x41a0c5,_0x3b29e9._0x52185c,_0x3b29e9._0x50f8b7,_0x3b29e9._0x3b440e)]===0x0)return _0xc45f15(0x711,_0x3b29e9._0x26c4a8,0x73f,_0x3b29e9._0x2c1733);function _0xc45f15(_0x379973,_0x2ba605,_0x3ba26a,_0x29a13a){return _0x515b8f(_0x379973-_0x3f12e4._0x54e546,_0x2ba605-0x196,_0x29a13a,_0x379973-_0x3f12e4._0x274b04);}return _0x4ac0d1['map'](_0x314429=>_0x314429['to'][_0x169de7(0xe,0xff,0x1a2,0x16f)])[_0xc45f15(_0x3b29e9._0x18d049,0x60f,0x6c7,_0x3b29e9._0x368f01)]('\x0a');}function toStructured(_0x55cc12){const _0x81d264={_0x3817d1:0x313,_0x17b180:0x20e,_0x1a6c40:0x2b9,_0x529432:0x25b,_0x5c2121:0x459},_0xeb072={_0x36a0ac:0x5};function _0x26b1a3(_0x1ef9fe,_0x4e8ece,_0x254dda,_0x3cc327){return _0x1c3a85(_0x1ef9fe-_0xeb072._0x36a0ac,_0x4e8ece,_0x254dda-0x1e3,_0x254dda-0x1ff);}function _0x27af69(_0x380a35,_0x695e16,_0x24ecdc,_0x4e66a5){return _0x515b8f(_0x380a35-0xa2,_0x695e16-0xd1,_0x24ecdc,_0x380a35- -0x19c);}return JSON[_0x26b1a3(_0x81d264._0x3817d1,0x1be,0x2ac,_0x81d264._0x17b180)](JSON[_0x27af69(_0x81d264._0x1a6c40,_0x81d264._0x529432,0x1de,_0x81d264._0x5c2121)](_0x55cc12));}async function assertFile(_0x2361e2){const _0x31bec0={_0x3ec6d2:0xd9,_0x1d91d3:0x49},_0x1139a0={_0xe6da08:0x186,_0x7177c4:0xe4,_0x4c4b57:0x55e},_0x23f569=await _0x3a7e31(_0x2361e2);function _0x351467(_0x18fc14,_0x25baf7,_0x4b87a4,_0x53a353){return _0x515b8f(_0x18fc14-_0x1139a0._0xe6da08,_0x25baf7-_0x1139a0._0x7177c4,_0x18fc14,_0x4b87a4- -_0x1139a0._0x4c4b57);}if(!_0x23f569[_0x351467(0x11c,_0x31bec0._0x3ec6d2,-_0x31bec0._0x1d91d3,-0x98)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x2361e2,{'path':_0x2361e2});}function validatePosition(_0x1eb7f9,_0x1d9cd2){const _0x4d4eaa={_0x3a46e7:0x229,_0x83f10d:0x154,_0x45454d:0x3aa,_0xc7fb1d:0xb0,_0x4d73f9:0x4c,_0x584b7a:0x12d,_0x200328:0x323},_0x25803a={_0x100b8d:0x74},_0xc9c725={_0x4ab4dd:0x109,_0x5d4c6f:0x85};function _0x3871d7(_0x2f2157,_0xa3a9a8,_0x8aee81,_0x5b5ccd){return _0x1c3a85(_0x2f2157-0x3a,_0xa3a9a8,_0x8aee81-_0xc9c725._0x4ab4dd,_0x2f2157-_0xc9c725._0x5d4c6f);}if(!Number[_0x3871d7(_0x4d4eaa._0x3a46e7,0x188,_0x4d4eaa._0x83f10d,_0x4d4eaa._0x45454d)](_0x1eb7f9)||_0x1eb7f9<0x1)throw new ToolExecutionError(_0x3871d7(-0x2c,0x11f,_0x4d4eaa._0xc7fb1d,_0x4d4eaa._0x4d73f9),{'line':_0x1eb7f9});function _0xb88836(_0x4e2f65,_0x556db1,_0x4b2b56,_0x3d54b2){return _0x1c3a85(_0x4e2f65-_0x25803a._0x100b8d,_0x4b2b56,_0x4b2b56-0x129,_0x4e2f65- -0x1b);}if(!Number[_0x3871d7(0x229,_0x4d4eaa._0x584b7a,0x9f,_0x4d4eaa._0x200328)](_0x1d9cd2)||_0x1d9cd2<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x1d9cd2});}function createLspTool(_0x4409af={}){const _0x312b9e={_0x30d9fc:0x2fe,_0x3afc43:0x48e,_0xb4e10b:0x139,_0x42e122:0x20d,_0x2b471d:0x5eb,_0x2df307:0x493,_0x396221:0x46b,_0x57158e:0x55d,_0x2ae7a4:0x72c,_0x52bf29:0x26,_0xbce134:0x413,_0x2d1a71:0x2ca,_0x1f8db3:0x282,_0x1838c9:0x4b2,_0x157ab1:0x409,_0x40c8de:0x558,_0x1f5697:0x45b,_0x8bab85:0x372,_0x1bd1d0:0x3a5,_0x1f768d:0x384,_0x1faef6:0x653,_0x6d02a8:0x77b,_0x39c769:0x52f,_0x192fdb:0xf1,_0x4c79e1:0x135,_0x8a31cc:0x24b,_0x464239:0x1a6,_0x2b8191:0x92,_0x4b0111:0x8a,_0x2339c4:0x4cd,_0x16021a:0x55c,_0x83c881:0x503,_0xed988a:0x42e,_0x479144:0x21a,_0xb23ab8:0x126,_0x3445a8:0x2d1,_0x6acbb5:0x672,_0x2c079d:0x6ac,_0x2246c0:0x528,_0x53c1df:0x573},_0x303364={_0x377bb9:0x221,_0x26989e:0x294,_0x1e533b:0x2b9,_0x5eb428:0x451,_0x5a6cad:0x407,_0x49dcf3:0x24c,_0x361be9:0xc5,_0x4fb7e7:0x1e,_0x377727:0xfb,_0x3927cb:0x2a7,_0x5f1037:0x2d2,_0x26ce8a:0x137,_0xf585d4:0xf7,_0x295362:0x4c6,_0x5cc8ff:0x50b,_0x51cd76:0x594,_0x22d309:0x73,_0x1f5293:0x1aa,_0x5a5d93:0x5c,_0x34eb52:0xb4,_0x485af0:0x2,_0x3238ad:0xfd,_0x905c92:0x4c6,_0x33d215:0x49f,_0x18088d:0x6e,_0x5c9893:0xa3,_0x9b916c:0x2bc,_0x5dad55:0x6fe,_0x5a021f:0x656,_0x1a4bad:0x7e,_0xce6588:0x28f,_0x4facd3:0x1ff,_0x58c050:0xd5,_0x76ec31:0x5fe,_0x2bedc2:0x5d6,_0x1a1ebb:0x576,_0x18292e:0x4b3,_0x5c70a7:0x3d3,_0x45b2c2:0x6fe,_0x2b170b:0x79a,_0x39f3c9:0x1df,_0x986638:0x2bd,_0x40fe4c:0x233,_0x2b1bde:0x208,_0x43a71f:0x486,_0x1910f0:0x599,_0x575f11:0x778,_0x1efa36:0x70,_0x3ac006:0x71d,_0x258ead:0x139,_0x571c2b:0x6fe,_0x17c1b0:0x87b,_0x4cd160:0x143,_0xda684d:0x389,_0xe72a9d:0x6fe,_0x45f259:0x47b,_0xc80694:0x4ee,_0x47089a:0x10f,_0x1ab860:0x16a,_0x468049:0xe0,_0x1b4147:0x40,_0x264c8b:0xba,_0xa4c563:0x9a,_0x143974:0x102,_0x253cac:0x7d0,_0x1adfc7:0x66c,_0x51ca4e:0xde,_0x3a1258:0x94,_0x3f6257:0x61a,_0x3abe1d:0x6fe,_0x16146e:0x554,_0x587506:0x2d3,_0x33ccd9:0x280,_0x17c768:0x15d,_0x879b72:0x255,_0x3182a5:0x151,_0x34614c:0x10c,_0x5c2beb:0x131,_0x1d0dd7:0x67a,_0x3106db:0x60c,_0x42e2e7:0x6f0,_0x5ec2ff:0x510,_0x2453d4:0x54f,_0xd5fbf0:0x1b2,_0x42f40d:0xdf},_0x568139={_0x2b408c:0x133,_0x3aace7:0x9f};function _0x4b31a1(_0x4fc253,_0x249d5b,_0x33af0f,_0x2b6379){return _0x1c3a85(_0x4fc253-0x146,_0x249d5b,_0x33af0f-0xb8,_0x33af0f- -0x77);}const _0x4939f0=_0x46eae3[_0x407646(0x2fa,0x3b1,0x475,0x2b4)](_0x4409af[_0x407646(_0x312b9e._0x30d9fc,_0x312b9e._0x3afc43,0x4bf,0x288)]??process[_0x4b31a1(-0xfb,-0x16e,-_0x312b9e._0xb4e10b,-_0x312b9e._0x42e122)]()),_0x546898=_0x4409af[_0x407646(_0x312b9e._0x2b471d,_0x312b9e._0x2df307,0x47a,0x763)]??[],_0x1ea2f3=_0x4409af['name']??_0x407646(0x573,_0x312b9e._0x396221,_0x312b9e._0x57158e,_0x312b9e._0x2ae7a4);function _0x407646(_0x3f230f,_0x4719e0,_0x3b3807,_0x3b6dc){return _0x515b8f(_0x3f230f-0x178,_0x4719e0-_0x568139._0x2b408c,_0x3b3807,_0x3f230f- -_0x568139._0x3aace7);}return defineTool({'name':_0x1ea2f3,'permissionClass':_0x4b31a1(-0x74,_0x312b9e._0x52bf29,0x86,-0x88),'description':_0x407646(_0x312b9e._0xbce134,_0x312b9e._0x2d1a71,0x463,_0x312b9e._0x1f8db3),'inputSchema':{'type':_0x407646(0x3dd,0x3f9,_0x312b9e._0x1838c9,0x58a),'properties':{'operation':{'type':_0x407646(_0x312b9e._0x157ab1,0x2f6,0x541,_0x312b9e._0x40c8de),'enum':[_0x407646(_0x312b9e._0x1f5697,0x41d,_0x312b9e._0x8bab85,0x337),_0x407646(_0x312b9e._0x1bd1d0,0x39d,0x235,_0x312b9e._0x1f768d),_0x407646(_0x312b9e._0x1faef6,_0x312b9e._0x6d02a8,0x4ae,_0x312b9e._0x39c769),_0x4b31a1(0x252,_0x312b9e._0x192fdb,_0x312b9e._0x4c79e1,_0x312b9e._0x8a31cc),_0x4b31a1(_0x312b9e._0x464239,-0x5c,_0x312b9e._0x2b8191,-_0x312b9e._0x4b0111),'goToImplementation',_0x407646(_0x312b9e._0x2339c4,_0x312b9e._0x16021a,_0x312b9e._0x83c881,_0x312b9e._0xed988a),_0x4b31a1(0x102,_0x312b9e._0x479144,_0x312b9e._0xb23ab8,0x217),'outgoingCalls','diagnostics']},'filePath':{'type':'string'},'line':{'type':'number'},'character':{'type':_0x4b31a1(_0x312b9e._0x3445a8,0x187,0x173,0x26)},'query':{'type':'string'}},'required':[_0x407646(0x60c,0x674,_0x312b9e._0x6acbb5,_0x312b9e._0x2c079d),_0x407646(_0x312b9e._0x2246c0,0x3ee,0x5b7,0x6a0),_0x407646(0x3f7,0x456,_0x312b9e._0x53c1df,0x503),'character']},async *'execute'(_0x1c78e4,_0x2cb3f3){const _0x4cabf7={_0x39d219:0xd6},_0x4227ab={_0x3cb14b:0x13b},_0x49b990=_0x4409af[_0xaa86cd(-0x28a,-_0x303364._0x377bb9,-_0x303364._0x26989e,-_0x303364._0x1e533b)];if(!_0x49b990)throw new ToolExecutionError(_0xaa86cd(-0x1ee,-0xbd,-0xcf,0x36));if(!_0x49b990['isEnabled']())throw new ToolExecutionError(_0x5ec214(_0x303364._0x5eb428,_0x303364._0x5a6cad,_0x303364._0x49dcf3,0x322));const _0x8f18d6=_0x1c78e4[_0xaa86cd(-0x1a7,_0x303364._0x361be9,-_0x303364._0x4fb7e7,_0x303364._0x377727)];validatePosition(_0x1c78e4['line'],_0x1c78e4['character']);function _0xaa86cd(_0x4984f3,_0x140a44,_0x38b151,_0x53276d){return _0x4b31a1(_0x4984f3-0xbd,_0x140a44,_0x38b151- -0x1c9,_0x53276d-_0x4227ab._0x3cb14b);}if(_0x8f18d6===_0xaa86cd(-_0x303364._0x3927cb,-_0x303364._0x5f1037,-_0x303364._0x26ce8a,-_0x303364._0xf585d4)){if(!_0x1c78e4[_0x5ec214(0x525,_0x303364._0x295362,0x50b,0x405)]?.[_0x5ec214(_0x303364._0x5cc8ff,_0x303364._0x51cd76,0x56a,0x669)]())throw new ToolExecutionError(_0xaa86cd(-0x1b9,-_0x303364._0x22d309,-0x20d,-_0x303364._0x1f5293));const _0x42a803=await awaitWithAbort(_0x49b990[_0xaa86cd(-0x19e,0x2a,-0x137,-0x119)](_0x1c78e4['query']['trim']()),_0x2cb3f3[_0xaa86cd(-_0x303364._0x5a5d93,_0x303364._0x34eb52,-_0x303364._0x485af0,_0x303364._0x3238ad)]);return yield createToolOutput(formatSymbols(_0x42a803),{'operation':_0x8f18d6,'query':_0x1c78e4[_0x5ec214(0x660,_0x303364._0x905c92,_0x303364._0x33d215,0x608)],'symbols':_0x42a803}),void 0x0;}const _0x94ce91=resolveAllowedPath(_0x4939f0,_0x546898,_0x1c78e4[_0xaa86cd(-_0x303364._0x18088d,_0x303364._0x5c9893,-0x102,-_0x303364._0x9b916c)]);function _0x5ec214(_0x7f18e2,_0x329521,_0x4a0a25,_0x146f62){return _0x407646(_0x329521-_0x4cabf7._0x39d219,_0x329521-0x13b,_0x4a0a25,_0x146f62-0xb2);}await assertFile(_0x94ce91);if(!await awaitWithAbort(_0x49b990['hasClients'](_0x94ce91),_0x2cb3f3[_0x5ec214(0x8b6,_0x303364._0x5dad55,0x6ec,_0x303364._0x5a021f)]))throw new ToolExecutionError(_0xaa86cd(-_0x303364._0x1a4bad,-_0x303364._0xce6588,-0x1f5,-_0x303364._0x4facd3)+_0x1c78e4[_0xaa86cd(0x78,-_0x303364._0x58c050,-0x102,-0x11)],{'filePath':_0x1c78e4[_0x5ec214(0x695,_0x303364._0x76ec31,0x6d3,0x6bc)]});await awaitWithAbort(_0x49b990[_0x5ec214(_0x303364._0x2bedc2,_0x303364._0x1a1ebb,_0x303364._0x18292e,_0x303364._0x5c70a7)](_0x94ce91,!![]),_0x2cb3f3[_0x5ec214(0x7c1,_0x303364._0x45b2c2,0x79e,_0x303364._0x2b170b)]);const _0x140e5b={'file':_0x94ce91,'line':_0x1c78e4[_0xaa86cd(-_0x303364._0x39f3c9,-_0x303364._0x986638,-_0x303364._0x40fe4c,-0x193)]-0x1,'character':_0x1c78e4[_0xaa86cd(-_0x303364._0x2b1bde,-_0x303364._0x43a71f,-0x333,-0x216)]-0x1};switch(_0x8f18d6){case _0x5ec214(_0x303364._0x1910f0,0x729,0x857,0x661):{const _0x272d4e=await awaitWithAbort(_0x49b990[_0x5ec214(0x82b,0x729,0x7d0,_0x303364._0x575f11)](_0x140e5b),_0x2cb3f3[_0xaa86cd(0xae,-_0x303364._0x1efa36,-_0x303364._0x485af0,-0xbc)]);return yield createToolOutput(formatHover(_0x272d4e),{'operation':_0x8f18d6,'filePath':_0x94ce91,'hover':_0x272d4e}),void 0x0;}case _0x5ec214(0x6b0,0x73d,_0x303364._0x3ac006,0x78c):{const _0x3fa5a3=await awaitWithAbort(_0x49b990[_0xaa86cd(-0x232,-0x27a,-_0x303364._0x258ead,-0x11f)](_0x94ce91),_0x2cb3f3[_0x5ec214(0x5f4,_0x303364._0x571c2b,_0x303364._0x17c1b0,0x790)]);return yield createToolOutput(formatDiagnostics(_0x3fa5a3),{'operation':_0x8f18d6,'filePath':_0x94ce91,'diagnostics':_0x3fa5a3}),void 0x0;}case _0xaa86cd(-_0x303364._0x4cd160,-_0x303364._0xda684d,-0x1cf,-0x17e):{const _0x4dc599=await awaitWithAbort(_0x49b990['definition'](_0x140e5b),_0x2cb3f3[_0x5ec214(0x65e,_0x303364._0xe72a9d,0x73e,0x880)]);return yield createToolOutput(formatLocations(_0x4dc599),{'operation':_0x8f18d6,'filePath':_0x94ce91,'locations':_0x4dc599}),void 0x0;}case _0x5ec214(0x414,_0x303364._0x45f259,_0x303364._0xc80694,0x51f):{const _0x87e23d=await awaitWithAbort(_0x49b990[_0xaa86cd(-0x2a9,-0x224,-_0x303364._0x47089a,-_0x303364._0x1ab860)](_0x140e5b),_0x2cb3f3[_0xaa86cd(-_0x303364._0x468049,_0x303364._0x1b4147,-0x2,0x77)]);return yield createToolOutput(formatLocations(_0x87e23d),{'operation':_0x8f18d6,'filePath':_0x94ce91,'locations':_0x87e23d}),void 0x0;}case _0xaa86cd(_0x303364._0x264c8b,-0x1a2,-_0x303364._0xa4c563,-_0x303364._0x143974):{const _0x26fbda=await awaitWithAbort(_0x49b990['implementation'](_0x140e5b),_0x2cb3f3['signal']);return yield createToolOutput(formatLocations(_0x26fbda),{'operation':_0x8f18d6,'filePath':_0x94ce91,'locations':_0x26fbda}),void 0x0;}case _0x5ec214(_0x303364._0x253cac,_0x303364._0x1adfc7,0x7d6,0x502):{const _0xbab334=await awaitWithAbort(_0x49b990[_0xaa86cd(_0x303364._0x51ca4e,0xa8,-_0x303364._0x3a1258,0xa9)](_0x94ce91),_0x2cb3f3[_0x5ec214(_0x303364._0x3f6257,_0x303364._0x3abe1d,0x5ee,0x6ae)]);return yield createToolOutput(formatSymbols(_0xbab334),{'operation':_0x8f18d6,'filePath':_0x94ce91,'symbols':_0xbab334}),void 0x0;}case _0x5ec214(0x6e1,0x5a3,_0x303364._0x16146e,0x764):{const _0x12804f=await awaitWithAbort(_0x49b990[_0xaa86cd(-_0x303364._0x587506,-_0x303364._0x33ccd9,-_0x303364._0x17c768,-_0x303364._0x879b72)](_0x140e5b),_0x2cb3f3[_0xaa86cd(_0x303364._0x3182a5,-0x79,-0x2,-0x8b)]);return yield createToolOutput(formatSymbols(_0x12804f),{'operation':_0x8f18d6,'filePath':_0x94ce91,'symbols':toStructured(_0x12804f)}),void 0x0;}case _0xaa86cd(0x85,_0x303364._0x34614c,-0xa3,-_0x303364._0x5c2beb):{const _0x5b25e4=await awaitWithAbort(_0x49b990[_0xaa86cd(-0x14c,-0x15,-_0x303364._0x5c9893,-0x1a7)](_0x140e5b),_0x2cb3f3[_0xaa86cd(-0x161,-0x188,-0x2,-0x69)]);return yield createToolOutput(formatIncomingCalls(_0x5b25e4),{'operation':_0x8f18d6,'filePath':_0x94ce91,'calls':toStructured(_0x5b25e4)}),void 0x0;}case _0x5ec214(0x768,_0x303364._0x1d0dd7,0x534,_0x303364._0x3106db):{const _0x34faf1=await awaitWithAbort(_0x49b990[_0x5ec214(_0x303364._0x42e2e7,_0x303364._0x1d0dd7,_0x303364._0x5ec2ff,_0x303364._0x2453d4)](_0x140e5b),_0x2cb3f3[_0xaa86cd(-_0x303364._0xd5fbf0,-0x137,-0x2,-_0x303364._0x42f40d)]);return yield createToolOutput(formatOutgoingCalls(_0x34faf1),{'operation':_0x8f18d6,'filePath':_0x94ce91,'calls':toStructured(_0x34faf1)}),void 0x0;}}}});}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';import{randomUUID as _0x465e32}from'crypto';import{mkdir as _0x4b29f7,readFile as _0x28ae37,writeFile as _0x467011}from'fs/promises';import{join as _0x56175a}from'path';function sanitizeStorageKey(_0x5c802c){const _0x17faec={_0x2f876c:0x1f,_0x486d95:0x17e,_0x5624fc:0x1fc,_0x2c3924:0x9c,_0x5c1c2a:0x75,_0x44c0e0:0x217},_0x4213c6={_0x45c3eb:0x1cf,_0x540181:0x5c7},_0xbe4fb6={_0x7356c5:0x1d7,_0x2827c1:0x54a};function _0x5092b3(_0x2181b4,_0x2a40d6,_0x1fbd9e,_0x1d54e2){return _0x515b8f(_0x2181b4-_0xbe4fb6._0x7356c5,_0x2a40d6-0x10c,_0x2a40d6,_0x2181b4- -_0xbe4fb6._0x2827c1);}function _0x4420e6(_0x1d90a1,_0x20ddee,_0x75ab2c,_0x89f2e1){return _0x515b8f(_0x1d90a1-0x46,_0x20ddee-_0x4213c6._0x45c3eb,_0x75ab2c,_0x89f2e1- -_0x4213c6._0x540181);}return _0x5c802c[_0x5092b3(-_0x17faec._0x2f876c,-_0x17faec._0x486d95,0x23,0x111)](/[^a-zA-Z0-9_]+/g,'_')[_0x4420e6(-_0x17faec._0x5624fc,-0x97,-0x17a,-_0x17faec._0x2c3924)](/^_+|_+$/g,'')||_0x5092b3(_0x17faec._0x5c1c2a,_0x17faec._0x44c0e0,-0x12e,0x9a);}function storagePath(_0x23f037){const _0x4c682d={_0x4e04c6:0x26c,_0x34f9fc:0x38f,_0x57c7d7:0x213,_0x161577:0x2f0,_0x430858:0x333,_0x219f7d:0x462,_0x43061c:0x3b9,_0x1e4a35:0x53b,_0x42b7e2:0x354,_0x220665:0x3a8,_0x750601:0x807},_0x4b443f={_0x59d96f:0x25f},_0x54e78d={_0x1aaa31:0x170};function _0x1caf26(_0x5c17f9,_0x2ab1da,_0x28644f,_0x376138){return _0x1c3a85(_0x5c17f9-0xd6,_0x376138,_0x28644f-_0x54e78d._0x1aaa31,_0x2ab1da-0x463);}function _0x290b0e(_0x6cff47,_0x1910a0,_0x5cea00,_0x59ae51){return _0x1c3a85(_0x6cff47-0x85,_0x5cea00,_0x5cea00-0x195,_0x59ae51-_0x4b443f._0x59d96f);}const _0x4e978c=sanitizeStorageKey(_0x23f037[_0x290b0e(_0x4c682d._0x4e04c6,_0x4c682d._0x34f9fc,0xee,_0x4c682d._0x57c7d7)][_0x290b0e(_0x4c682d._0x161577,_0x4c682d._0x430858,_0x4c682d._0x219f7d,_0x4c682d._0x43061c)]?.['tokenStorageKey']??_0x23f037[_0x290b0e(_0x4c682d._0x1e4a35,_0x4c682d._0x42b7e2,_0x4c682d._0x220665,0x4b0)]);return _0x56175a(_0x23f037[_0x1caf26(_0x4c682d._0x750601,0x6c6,0x75f,0x864)],_0x4e978c+'.json');}async function readStore(_0x5272e3){const _0x927a69={_0x5a6464:0x5d7,_0x261abd:0x128,_0x10a4ad:0x2f5,_0x540e99:0x794,_0x1102a3:0x768,_0x991716:0x798,_0x47c653:0x649},_0x2251cb={_0x55b496:0x8f,_0x2db140:0xc6,_0x1145e2:0x50},_0x49bc81={_0xb11e49:0x96};function _0x5e2e70(_0x328806,_0x43ab01,_0x4b09c0,_0x5cd96a){return _0x1c3a85(_0x328806-_0x49bc81._0xb11e49,_0x43ab01,_0x4b09c0-0x18c,_0x328806-0x237);}function _0x502569(_0x48509f,_0x2659bb,_0x114bdc,_0x21c0c7){return _0x515b8f(_0x48509f-_0x2251cb._0x55b496,_0x2659bb-_0x2251cb._0x2db140,_0x2659bb,_0x21c0c7- -_0x2251cb._0x1145e2);}try{return JSON[_0x502569(_0x927a69._0x5a6464,0x4ca,0x434,0x4e6)](await _0x28ae37(_0x5272e3,_0x5e2e70(0x2b9,_0x927a69._0x261abd,0x404,_0x927a69._0x10a4ad)));}catch(_0x5d46bd){if(_0x5d46bd instanceof Error&&_0x502569(_0x927a69._0x540e99,_0x927a69._0x1102a3,0x654,0x5e0)in _0x5d46bd&&_0x5d46bd[_0x502569(_0x927a69._0x991716,0x775,_0x927a69._0x47c653,0x5e0)]==='ENOENT')return{};throw _0x5d46bd;}}async function writeStore(_0x21610f,_0x8047ab){const _0x2339e9={_0x404f53:0x1c5,_0xacfc93:0x9b},_0x2737d1={_0x3ee907:0x14c,_0x86a089:0x123};function _0x4df859(_0x4235a3,_0x329ca9,_0x115b4b,_0x138fc4){return _0x515b8f(_0x4235a3-_0x2737d1._0x3ee907,_0x329ca9-_0x2737d1._0x86a089,_0x138fc4,_0x115b4b- -0x483);}await _0x4b29f7(_0x56175a(_0x21610f,'..'),{'recursive':!![]}),await _0x467011(_0x21610f,JSON['stringify'](_0x8047ab,null,0x2),_0x4df859(-0xba,_0x2339e9._0x404f53,0x88,-_0x2339e9._0xacfc93));}async function updateStore(_0xba55b4,_0x456977){const _0x95cf52=await readStore(_0xba55b4);_0x456977(_0x95cf52),await writeStore(_0xba55b4,_0x95cf52);}function createMcpOAuthProvider(_0xecb13e){const _0x15d940={_0xb8b1f8:0x36b,_0x3aee5f:0x1dc,_0x5712c7:0x17a,_0x30f462:0x314,_0x5ae58c:0x26b,_0x1c04d3:0x2b8,_0x2db3d1:0x395,_0x5bf79f:0x2c7,_0x196a63:0x2db,_0x29c6fc:0x379},_0x3e6708={_0x3762aa:0x4a,_0x3714dd:0x2a,_0x1dfeeb:0x205},_0x5e6a7b={_0x140b2b:0x20d,_0x1ac7d1:0x1d4,_0x19d36e:0x29e,_0x425eee:0x1aa,_0x52cc0b:0x2e1,_0x50301b:0x238,_0x2f70c7:0x299,_0x1c2459:0x1d8,_0x313bf2:0xa1,_0x18cbb7:0x138,_0x4217f9:0xab,_0x414559:0x4c,_0x56bcbc:0x1ca,_0x24e389:0x62,_0xb0d459:0x64,_0x12c52c:0x36d,_0x1e81af:0x218,_0x5243e2:0x1a2,_0x3c8fba:0x1dd,_0x2be50e:0x2d1,_0x39fd2b:0x198},_0x2db181={_0x397d24:0xa5,_0x2f78d9:0x247,_0x5bc14a:0x11b,_0x17043f:0x201,_0x2f83a2:0x2ed},_0x20454e={_0x1da49f:0x1e3,_0x1e1cf4:0x21,_0x58610d:0x30f},_0x353c01={_0x1fbba9:0x163},_0x1a44c0={_0x556e07:0x314},_0x507e33={_0x1b5dd1:0x317,_0x104af3:0x1b1},_0x2318f={_0x17c4fb:0x1d7,_0x4c0580:0x2ee},_0x3f2be8={_0x381000:0x2b0,_0x3acf7b:0x2d9},_0x1e8eaa={_0x52549f:0x19e},_0x45bec1={_0x1d494c:0x3b,_0x4c65ce:0x16d};function _0x109405(_0x2277f2,_0x4eac1d,_0x5958f3,_0x5eaf6f){return _0x1c3a85(_0x2277f2-0x28,_0x4eac1d,_0x5958f3-_0x45bec1._0x1d494c,_0x5eaf6f-_0x45bec1._0x4c65ce);}const _0x27d5b7=storagePath(_0xecb13e),_0x59fd07=_0xecb13e['config'][_0x109405(_0x15d940._0xb8b1f8,0x1a1,0x1a0,0x2c7)]?.[_0x109405(0x563,0x2b4,0x45a,0x3b2)]?.['join']('\x20');function _0x337984(_0x373e5f,_0x742598,_0x5d93ca,_0x202469){return _0x1c3a85(_0x373e5f-_0x1e8eaa._0x52549f,_0x373e5f,_0x5d93ca-0x1db,_0x202469- -0x188);}const _0x5ab56c={'client_name':'Nuvin','redirect_uris':[_0xecb13e[_0x109405(0x371,_0x15d940._0x3aee5f,0x1e8,0x2b1)]],'grant_types':['authorization_code',_0x109405(0x1de,-0x50,0x102,0x172)],'response_types':[_0x109405(_0x15d940._0x5712c7,0x372,0x1bb,_0x15d940._0x30f462)],'token_endpoint_auth_method':_0x109405(_0x15d940._0x5ae58c,_0x15d940._0x1c04d3,-0x9f,0x101),..._0x59fd07?{'scope':_0x59fd07}:{}};return{'clientMetadataUrl':_0xecb13e[_0x337984(-0x2ce,-0x303,-0x197,-0x1d4)][_0x109405(0x2ef,_0x15d940._0x2db3d1,0x31b,_0x15d940._0x5bf79f)]?.[_0x109405(0x1e2,0x395,_0x15d940._0x196a63,_0x15d940._0x29c6fc)],get 'redirectUrl'(){return _0xecb13e['callbackUrl'];},get 'clientMetadata'(){return _0x5ab56c;},async 'state'(){const _0x1cb584={_0x4c0dde:0x12};function _0x474e19(_0x1969d4,_0x5754ea,_0x1abc0c,_0x31d057){return _0x337984(_0x31d057,_0x5754ea-_0x1cb584._0x4c0dde,_0x1abc0c-0xa1,_0x1969d4-0x17d);}const _0x229c6c=await readStore(_0x27d5b7);if(_0x229c6c[_0x474e19(0x237,_0x2318f._0x17c4fb,_0x2318f._0x4c0580,0x263)])return _0x229c6c['state'];const _0x34f187=_0x465e32();return await updateStore(_0x27d5b7,_0x475ff8=>{function _0x2db646(_0x399a66,_0x4c14d9,_0x55345c,_0x3d5a0a){return _0x474e19(_0x3d5a0a-0x195,_0x4c14d9-0x191,_0x55345c-0x12d,_0x399a66);}_0x475ff8[_0x2db646(_0x3f2be8._0x381000,_0x3f2be8._0x3acf7b,0x4bc,0x3cc)]=_0x34f187;}),_0x34f187;},async 'clientInformation'(){function _0x44cae1(_0x3dbf75,_0x43889a,_0x4a0ca1,_0x42e085){return _0x109405(_0x3dbf75-0x184,_0x3dbf75,_0x4a0ca1-0xd2,_0x4a0ca1-0x60);}return(await readStore(_0x27d5b7))[_0x44cae1(_0x507e33._0x1b5dd1,_0x507e33._0x104af3,0x1be,0x8d)];},async 'saveClientInformation'(_0x48d2fb){const _0x5f2461={_0x249957:0x3e6,_0x50b36c:0x244},_0x2bfba6={_0x59641e:0xf1};await updateStore(_0x27d5b7,_0x5644e0=>{function _0x41d4c3(_0x3b2f7b,_0x52b25c,_0x79ff65,_0x5e7b15){return _0x2a2f(_0x5e7b15-_0x2bfba6._0x59641e,_0x3b2f7b);}_0x5644e0[_0x41d4c3(0x385,_0x5f2461._0x249957,0x1c5,_0x5f2461._0x50b36c)]=_0x48d2fb;});},async 'tokens'(){function _0x468f13(_0x25d077,_0x278b9b,_0x1330c9,_0x347ec1){return _0x109405(_0x25d077-0x196,_0x25d077,_0x1330c9-0x67,_0x278b9b- -_0x1a44c0._0x556e07);}return(await readStore(_0x27d5b7))[_0x468f13(-0x317,-_0x353c01._0x1fbba9,-0xfa,-0x1b2)];},async 'saveTokens'(_0x20d2c8){const _0x4ddd0b={_0x39144a:0x38e,_0x3e888b:0x371};await updateStore(_0x27d5b7,_0x5df237=>{function _0x1e34e3(_0x5c6d32,_0x3fd241,_0x48d223,_0x18b310){return _0x2a2f(_0x48d223-0x357,_0x5c6d32);}_0x5df237[_0x1e34e3(_0x4ddd0b._0x39144a,_0x4ddd0b._0x3e888b,0x4fd,0x635)]=_0x20d2c8;});},async 'redirectToAuthorization'(_0x5939e5){await _0xecb13e['onRedirect'](_0x5939e5);},async 'saveCodeVerifier'(_0x464f0b){await updateStore(_0x27d5b7,_0x15ea04=>{_0x15ea04['codeVerifier']=_0x464f0b;});},async 'codeVerifier'(){const _0x5ca1fd={_0x2ff3e8:0x10e};function _0x1c13bc(_0x2580c7,_0x5cbaeb,_0x40990b,_0x293113){return _0x337984(_0x40990b,_0x5cbaeb-0x84,_0x40990b-_0x5ca1fd._0x2ff3e8,_0x2580c7-0x613);}const _0x4aca8f=(await readStore(_0x27d5b7))[_0x3c1914(_0x2db181._0x397d24,0xf7,0x296,_0x2db181._0x2f78d9)];function _0x3c1914(_0x1aad30,_0x413e57,_0x2cb4d5,_0x3cae86){return _0x337984(_0x3cae86,_0x413e57-_0x20454e._0x1da49f,_0x2cb4d5-_0x20454e._0x1e1cf4,_0x413e57-_0x20454e._0x58610d);}if(!_0x4aca8f)throw new Error(_0x3c1914(_0x2db181._0x5bc14a,0x256,_0x2db181._0x17043f,_0x2db181._0x2f83a2));return _0x4aca8f;},async 'invalidateCredentials'(_0xc27959){await updateStore(_0x27d5b7,_0x46d2e5=>{const _0x1cd72f={_0x2cab15:0x105};(_0xc27959===_0xd4ca51(0x1da,_0x5e6a7b._0x140b2b,_0x5e6a7b._0x1ac7d1,0x1ff)||_0xc27959===_0xd4ca51(_0x5e6a7b._0x19d36e,0x390,0x1fc,0x313))&&(_0x46d2e5[_0xd4ca51(_0x5e6a7b._0x425eee,_0x5e6a7b._0x52cc0b,_0x5e6a7b._0x50301b,_0x5e6a7b._0x2f70c7)]=void 0x0);(_0xc27959===_0xd4ca51(0x41,0x2a4,_0x5e6a7b._0x1c2459,0x1ff)||_0xc27959==='tokens')&&(_0x46d2e5[_0x393670(0x197,0x1d1,0x1bc,_0x5e6a7b._0x313bf2)]=void 0x0);function _0x393670(_0x1d797c,_0x47dbd0,_0x755e44,_0x559491){return _0x2a2f(_0x559491- -_0x1cd72f._0x2cab15,_0x1d797c);}function _0xd4ca51(_0xe0124e,_0x43178b,_0x2842b3,_0x436897){return _0x2a2f(_0x436897-0x146,_0x43178b);}(_0xc27959===_0x393670(0x4,-_0x5e6a7b._0x18cbb7,-_0x5e6a7b._0x4217f9,-_0x5e6a7b._0x414559)||_0xc27959===_0x393670(0x5e,0x130,0x32c,_0x5e6a7b._0x56bcbc))&&(_0x46d2e5[_0xd4ca51(_0x5e6a7b._0x24e389,_0x5e6a7b._0xb0d459,_0x5e6a7b._0x12c52c,_0x5e6a7b._0x1e81af)]=void 0x0,_0x46d2e5[_0xd4ca51(0x503,0x4c3,0x41e,0x4ea)]=void 0x0),(_0xc27959==='all'||_0xc27959==='discovery')&&(_0x46d2e5[_0x393670(_0x5e6a7b._0x5243e2,_0x5e6a7b._0x3c8fba,_0x5e6a7b._0x2be50e,_0x5e6a7b._0x39fd2b)]=void 0x0);});},async 'saveDiscoveryState'(_0x31d7de){const _0x3e0762={_0x33ac5d:0x6a8,_0x34c0e8:0x481,_0x16064e:0x51d},_0x32d0b6={_0x5221da:0x280};await updateStore(_0x27d5b7,_0x4c479b=>{function _0x1fdfdf(_0x5a39a7,_0x3e6cc2,_0x89b979,_0x45d959){return _0x2a2f(_0x45d959-_0x32d0b6._0x5221da,_0x5a39a7);}_0x4c479b[_0x1fdfdf(_0x3e0762._0x33ac5d,0x4a8,_0x3e0762._0x34c0e8,_0x3e0762._0x16064e)]=_0x31d7de;});},async 'discoveryState'(){function _0x58b158(_0x2034f3,_0x2519da,_0x510981,_0x1905e5){return _0x109405(_0x2034f3-0x9d,_0x2519da,_0x510981-0xc3,_0x510981- -0x2f0);}return(await readStore(_0x27d5b7))[_0x58b158(-_0x3e6708._0x3762aa,_0x3e6708._0x3714dd,-0x48,-_0x3e6708._0x1dfeeb)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x1c3a85(0xa1,0x384,0x221,0x1d9),'message':_0x531593=>'MCP\x20server\x20'+_0x531593+_0x1c3a85(0x216,0x96,0x257,0x231)},'connect':{'code':_0x1c3a85(0x1c3,0x83,0x229,0x125),'message':_0x48cb2d=>_0x1c3a85(0x66,-0x172,-0x5d,-0xa7)+_0x48cb2d+'\x20failed\x20to\x20connect'},'discover':{'code':'mcp-discovery-failed','message':_0x2db35e=>_0x1c3a85(0x3a,-0x2b,0xa0,-0xa7)+_0x2db35e+_0x515b8f(0x613,0x681,0x54a,0x5a9)},'toolCall':{'code':_0x1c3a85(0x9e,-0x209,-0x14,-0xed),'message':_0x2dac0d=>'MCP\x20server\x20'+_0x2dac0d+'\x20tool\x20call\x20failed'}},timeoutMessageByOperation={'close':_0x4958bc=>_0x515b8f(0x391,0x39e,0x467,0x3e2)+_0x4958bc+_0x1c3a85(-0xa0,0x10,-0x14e,-0x53),'connect':_0x496d3b=>_0x515b8f(0x4d7,0x347,0x2fd,0x3e2)+_0x496d3b+_0x1c3a85(0x261,0x176,0x398,0x1f1),'discover':_0x3cb595=>_0x1c3a85(-0x15b,-0x221,-0x18,-0xa7)+_0x3cb595+_0x1c3a85(0x37d,0x3e5,0x364,0x24f),'toolCall':_0x3f7791=>_0x1c3a85(0x3e,-0x155,-0x55,-0xa7)+_0x3f7791+_0x1c3a85(-0x29,0x8b,-0xa7,-0x7d)};function toMcpSafeError(_0x157a13){const _0x3e8b18={_0x3c950e:0x96,_0x45295a:0xdb,_0x397f10:0x1ca,_0x2f0a12:0x3f,_0x18bc95:0x139,_0x715274:0x348,_0x2d21f8:0x504,_0x43daaf:0x4c0,_0x5dba78:0x126,_0x111a6c:0x19e,_0x1fab7e:0x1,_0x432e57:0x1bf,_0x272382:0xd9,_0x3cf880:0x4a5,_0x49b84f:0x136,_0x2fb349:0x6eb,_0x4cd05b:0x651,_0x2a9e95:0x290,_0x446034:0x1bf,_0x203e2d:0xd,_0x23dc1b:0x48,_0x7d3750:0x115,_0x34f6c7:0x4e1},_0x5e97c6={_0x41a67e:0xab,_0x40bc2f:0xea,_0x3edf1b:0x51b},_0x167892={_0x59b227:0x16a,_0x3cbbf0:0x42f};if(_0x157a13[_0x232696(-0x5c,-0x80,-0x1,-_0x3e8b18._0x3c950e)]instanceof UnauthorizedError)return Object[_0x232696(-_0x3e8b18._0x45295a,-_0x3e8b18._0x397f10,-0x35,_0x3e8b18._0x2f0a12)]({'code':'mcp-auth-required','message':_0x232696(-0x73,-0x3c,-_0x3e8b18._0x18bc95,-0x16e)+_0x157a13[_0x232696(0xcd,0x1ff,0x1bf,0xeb)]+'\x20requires\x20authentication'});if(_0x157a13[_0x29c922(0x667,_0x3e8b18._0x715274,_0x3e8b18._0x2d21f8,_0x3e8b18._0x43daaf)]instanceof McpError&&_0x157a13[_0x232696(_0x3e8b18._0x5dba78,-_0x3e8b18._0x111a6c,-_0x3e8b18._0x1fab7e,_0x3e8b18._0x432e57)][_0x232696(0x43,_0x3e8b18._0x272382,0x115,0x143)]===ErrorCode[_0x29c922(0x578,0x534,_0x3e8b18._0x3cf880,0x58a)])return Object[_0x232696(-_0x3e8b18._0x432e57,-0xa5,-0x35,_0x3e8b18._0x49b84f)]({'code':_0x29c922(_0x3e8b18._0x2fb349,0x501,0x5c9,0x5a6),'message':timeoutMessageByOperation[_0x157a13[_0x29c922(0x52e,0x503,0x676,_0x3e8b18._0x4cd05b)]](_0x157a13[_0x232696(0x229,_0x3e8b18._0x2a9e95,_0x3e8b18._0x446034,0x28d)])});const _0x3ec203=failureByOperation[_0x157a13['operation']];function _0x29c922(_0x2616f6,_0x269777,_0x50c8dc,_0x4971a1){return _0x1c3a85(_0x2616f6-_0x167892._0x59b227,_0x269777,_0x50c8dc-0xb8,_0x4971a1-_0x167892._0x3cbbf0);}function _0x232696(_0x18a8d7,_0x177235,_0x3f30bc,_0x400787){return _0x515b8f(_0x18a8d7-_0x5e97c6._0x41a67e,_0x177235-_0x5e97c6._0x40bc2f,_0x18a8d7,_0x3f30bc- -_0x5e97c6._0x3edf1b);}return Object[_0x232696(_0x3e8b18._0x203e2d,-0xb6,-0x35,-0x66)]({'code':_0x3ec203[_0x232696(0x1d0,-_0x3e8b18._0x23dc1b,_0x3e8b18._0x7d3750,0x112)],'message':_0x3ec203['message'](_0x157a13[_0x29c922(_0x3e8b18._0x34f6c7,0x648,0x74b,0x680)])});}function redactMcpDiagnostic(_0x353d84,_0x39508f){const _0x2aff39={_0x1ebe87:0x20,_0x14983d:0x573,_0xa11852:0x769,_0x296d5f:0x5d0,_0x37dc72:0x5bf,_0x175a1c:0xd2,_0x2eda28:0x5d,_0x212839:0xb3,_0x2c254a:0x40b,_0x1310b6:0x54e,_0xe505b:0x5d0},_0x1e68f6={_0x745bdc:0x175},_0x3061ac={_0x26bc4f:0x7f},_0x4c1d11=[...new Set(_0x39508f['filter'](_0x196167=>_0x196167[_0xb5136f(-0x84,0x1f8,0x5e,-0x119)]>0x0))][_0xb5136f(0x10e,0x190,0x192,-_0x2aff39._0x1ebe87)]((_0x53818d,_0x4249e8)=>_0x4249e8['length']-_0x53818d[_0x2eaf35(0x6f8,0x47c,0x568,0x5d0)]);if(_0x353d84[_0x2eaf35(0x6b2,0x76a,_0x2aff39._0x14983d,0x5d0)]===0x0||_0x4c1d11[_0x2eaf35(0x6f8,0x68c,_0x2aff39._0xa11852,_0x2aff39._0x296d5f)]===0x0)return _0x353d84;let _0x19b623='',_0x14b9d7=0x0;function _0x2eaf35(_0x2a02bc,_0x8b04a3,_0x40de81,_0x516ab4){return _0x1c3a85(_0x2a02bc-0x171,_0x40de81,_0x40de81-_0x3061ac._0x26bc4f,_0x516ab4-0x4d5);}while(_0x14b9d7<_0x353d84[_0x2eaf35(0x4c2,_0x2aff39._0x37dc72,0x491,_0x2aff39._0x296d5f)]){const _0x9860e6=_0x4c1d11[_0xb5136f(-_0x2aff39._0x175a1c,-0x43,_0x2aff39._0x2eda28,_0x2aff39._0x212839)](_0x4f0455=>_0x353d84[_0xb5136f(0x7d,-0x52,0x137,0x1bd)](_0x4f0455,_0x14b9d7));_0x9860e6?(_0x19b623+=_0x2eaf35(0x56d,0x482,0x3ad,_0x2aff39._0x2c254a),_0x14b9d7+=_0x9860e6[_0x2eaf35(0x66e,0x4f7,_0x2aff39._0x1310b6,_0x2aff39._0xe505b)]):(_0x19b623+=_0x353d84[_0x14b9d7],_0x14b9d7+=0x1);}function _0xb5136f(_0x1b1c46,_0x4279b1,_0x245646,_0x402c11){return _0x1c3a85(_0x1b1c46-0x1cb,_0x1b1c46,_0x245646-_0x1e68f6._0x745bdc,_0x245646- -0x9d);}return _0x19b623;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x5ecb10){const _0x58fcfa={_0x2ecca6:0x2a0,_0x22ead0:0x291,_0x3e138a:0x356,_0x1d1dd5:0x331},_0x567bdb={_0x32ab25:0x178,_0x254950:0x3b7};function _0x378645(_0x2a2faa,_0x3e3a00,_0x1f28f6,_0x44077d){return _0x515b8f(_0x2a2faa-0xb7,_0x3e3a00-0x122,_0x2a2faa,_0x3e3a00- -0x606);}function _0x37d52d(_0x1a7b28,_0x2df65f,_0x32023d,_0x41cab0){return _0x515b8f(_0x1a7b28-0xbd,_0x2df65f-_0x567bdb._0x32ab25,_0x2df65f,_0x41cab0- -_0x567bdb._0x254950);}return typeof _0x5ecb10===_0x378645(-_0x58fcfa._0x2ecca6,-0x18a,-0x24a,-0x17d)&&_0x5ecb10!==null||typeof _0x5ecb10===_0x37d52d(_0x58fcfa._0x22ead0,_0x58fcfa._0x3e138a,_0x58fcfa._0x1d1dd5,0x31c);}function createOwnedMcpSafeError(_0x305bd0){const _0x523e61={_0xe24af8:0x100,_0xe761a2:0x4b,_0x549660:0x37b,_0x464ffc:0x375,_0x338946:0x159,_0x39f6e6:0x153,_0x1fe58e:0x9},_0x1bb696={_0x33a2d6:0x7c,_0x18c702:0x1b4,_0x316338:0xa8},_0x49fbf3={_0x23bda3:0x72,_0x49067c:0x204},_0x453082=toMcpSafeError(_0x305bd0);function _0x521fc7(_0x3dd280,_0x51452f,_0x1c7867,_0x8f9241){return _0x1c3a85(_0x3dd280-_0x49fbf3._0x23bda3,_0x1c7867,_0x1c7867-0x76,_0x51452f- -_0x49fbf3._0x49067c);}const _0x526ebf=Object[_0x620462(0x115,_0x523e61._0xe24af8,-0x1ff,-_0x523e61._0xe761a2)]({'code':_0x453082['code'],'message':_0x453082[_0x521fc7(-_0x523e61._0x549660,-0x1d5,-0x144,-_0x523e61._0x464ffc)]});ownedMcpSafeErrors[_0x620462(-_0x523e61._0x338946,-_0x523e61._0x39f6e6,-0x11b,-_0x523e61._0x1fe58e)](_0x453082,_0x526ebf);function _0x620462(_0x46732e,_0x466db3,_0x4f878e,_0xd32f27){return _0x1c3a85(_0x46732e-_0x1bb696._0x33a2d6,_0x466db3,_0x4f878e-_0x1bb696._0x18c702,_0xd32f27- -_0x1bb696._0x316338);}return _0x453082;}function extractOwnedMcpSafeError(_0x26727d){const _0xd3cc3={_0x1aa6f1:0x3ac,_0x3aeb56:0x22c,_0x3eb59f:0x121,_0x2bc1fc:0x3fe,_0xfe02a3:0x3bb},_0x2efba1={_0x8d28ae:0x15,_0x3c7a74:0xb0,_0xce6af6:0x1fd},_0x2c720b={_0x250772:0x127,_0x56009a:0xad,_0x16bcbc:0x2c3};if(!isWeakMapKey(_0x26727d))return void 0x0;const _0x2eaa02=ownedMcpSafeErrors[_0x58253d(0x321,0x3a2,0x316,0x332)](_0x26727d);function _0x58253d(_0x3599a5,_0x337c54,_0x522d8e,_0x5f134c){return _0x1c3a85(_0x3599a5-_0x2c720b._0x250772,_0x3599a5,_0x522d8e-_0x2c720b._0x56009a,_0x5f134c-_0x2c720b._0x16bcbc);}if(!_0x2eaa02)return void 0x0;const _0x3601a8=Object['freeze']({'code':_0x2eaa02['code'],'message':_0x2eaa02[_0x120f8d(0x1e3,0x204,_0xd3cc3._0x1aa6f1,_0xd3cc3._0x3aeb56)]});function _0x120f8d(_0x3290c5,_0x4f9e1f,_0x31cb3a,_0x3e3a1d){return _0x1c3a85(_0x3290c5-_0x2efba1._0x8d28ae,_0x3290c5,_0x31cb3a-_0x2efba1._0x3c7a74,_0x3e3a1d-_0x2efba1._0xce6af6);}return ownedMcpSafeErrors[_0x120f8d(_0xd3cc3._0x3eb59f,_0xd3cc3._0x2bc1fc,_0xd3cc3._0xfe02a3,0x29c)](_0x3601a8,_0x2eaa02),_0x3601a8;}function ownValue(_0x4e89ac,_0x1d7da1){return _0x4e89ac&&Object['hasOwn'](_0x4e89ac,_0x1d7da1)?_0x4e89ac[_0x1d7da1]:void 0x0;}function isToolPermissionClass(_0x480800){const _0x48c6b7={_0x2fadbe:0x187,_0x1d7bcf:0x88,_0x4b40b0:0x89,_0x4d6779:0x3c},_0xd25572={_0x23182a:0x1c6},_0x48c200={_0x1cc352:0x117,_0x1c992e:0x44c};function _0x21c774(_0x24531a,_0x30b72b,_0x238762,_0xe6a08d){return _0x515b8f(_0x24531a-_0x48c200._0x1cc352,_0x30b72b-0x12e,_0x238762,_0x24531a- -_0x48c200._0x1c992e);}function _0x3f1679(_0x4cb4c5,_0x4127f4,_0x3aa774,_0x272f04){return _0x515b8f(_0x4cb4c5-_0xd25572._0x23182a,_0x4127f4-0x99,_0x3aa774,_0x4cb4c5- -0x55a);}return _0x480800==='read'||_0x480800===_0x3f1679(-0x155,-0x234,-0x79,-_0x48c6b7._0x2fadbe)||_0x480800===_0x21c774(-_0x48c6b7._0x1d7bcf,-0x94,_0x48c6b7._0x4b40b0,-_0x48c6b7._0x4d6779);}function suggestedPermissionClass(_0x243431){const _0x62e6cd={_0x484e6d:0x23c,_0x566b19:0x136,_0x3b63c9:0x2a8,_0x229115:0x5b,_0x31ceb7:0x167,_0x3ecae7:0x37,_0x28ab90:0x67},_0x59b3f8={_0x22e11b:0xe5,_0x296de9:0xb8},_0x4b67b4={_0xbcb71:0xf6,_0x48f7f2:0x16d},_0x1f2045=_0x243431[_0x33a216(_0x62e6cd._0x484e6d,_0x62e6cd._0x566b19,0x16f,_0x62e6cd._0x3b63c9)]?.[_0x33a216(_0x62e6cd._0x229115,0x2e8,0x1a6,0xd2)];if(_0x1f2045===!![])return _0x268cdc(-_0x62e6cd._0x31ceb7,_0x62e6cd._0x3ecae7,-0x108,-_0x62e6cd._0x28ab90);function _0x33a216(_0x211716,_0x679c73,_0x5a0e95,_0x536080){return _0x1c3a85(_0x211716-0x154,_0x211716,_0x5a0e95-_0x4b67b4._0xbcb71,_0x5a0e95-_0x4b67b4._0x48f7f2);}if(_0x1f2045===![])return'write';function _0x268cdc(_0x51dfc0,_0x1dc2d0,_0x27bd3d,_0x955a21){return _0x1c3a85(_0x51dfc0-_0x59b3f8._0x22e11b,_0x27bd3d,_0x27bd3d-_0x59b3f8._0x296de9,_0x1dc2d0- -0xc6);}return void 0x0;}function _0x2884(){const _0x20bccc=['uefusa','B3v0z29PBMDdywXSCW','y3jSzG','lMPZB24','zgv0ywLS','BxrPBwu','C2vSzwn0Aw9UuMfUz2u','yMfZAwm','y2HPBgq','yxr0CG','Bg9JyxrPB24','Aw5FChjVz3jLC3m','Dg9KB3ncEvnLC3nPB24','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','oIbLEhbLy3rLzcbHihbVC2L0AxzLig51BwjLCG','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','u3rHCNrLzcbHz2vUDcbYDw4G','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','Dhj1BMnHDgvK','B3bLBMnVzguTz28','C2vTyxbOB3jL','Dg9VBenHBgXjza','vMLLD2vKigLTywDLigzPBgu6ia','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','C3rHCNrZv2L0Aa','CMvZB2X2zvrLCM1PBMfS','uhjVz3jHBuzPBgvZ','C3rHCNrLzef0','Dg9vChbLCKnHC2u','BwnWlwnSB3nLlwzHAwXLza','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','qMfZAa','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','vg9Vig1HBNKGCMvKAxjLy3rZ','Dg9VBhm','ig1Z','lNrZ','ChjVy2vZC0v4AxrLza','ls0T','yMLUyxj5tMfTzq','lMjPBG','yxnJAwK','yxjNDw1LBNrZvgv4Da','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','mtqXmJq5nZzrvMfOuM4','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','BNvTyMvY','ihDHCYbHBhjLywr5ia','ywXSB3DLzfrVB2XZ','BgLMzwn5y2XL','lcbpChrPB24G','Aw52ywXPzf90B3bPyW','rgv0ywLSoIa','ignVBM5Ly3rPB24GDgLTzwqGB3v0','yNvKz2v0vg9Rzw5Z','C3vIyxjYyxK','zgvUEq','lMPZB25J','zgvUBY5QC29U','BgLZDgvU','yw5ZAti1nG','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','DgfZAW','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','D29YA3nWywnL','vg9KBYa','nda5ode4rhziyvfQ','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','cMbGya','ywXSB3DLzerPCNm','CMfUz2u','Dg9tDhjPBMC','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','C3rKB3v0','Dg9WAwm','r3jLCa','Cgf0DgvYBIbPCYbYzxf1AxjLza','yMLVBwuUANnVBMm','ie9sia','AhLKCMf0zu1LDge','y2XPzw50twv0ywrHDgfvCMW','u0HfteXpufrt','yxbWBgLJyxrPB24VANnVBG','y2fSBfrVB2W','BgfZDeLUzgv4t2y','DxrTx3rLCM0','BgLUzv9UDw1Izxi','yNL0zxm','Dg9VBa','q291BgqGBM90ihjLC29SDMuGAg9ZDa','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','Dg9mB3DLCKnHC2u','AxndB250zxH0','qxnZAwDUvgfZAW','DgvYBwLUyxrPB25qCM9TAxnL','Dg9Rzw4','y291BNq','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','Aw1Hz2vZ','zw5K','l2jPBI9IyxnO','B3bLCMf0Aw9U','BgfUz3vHz2u','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','C2HLBgXjza','ihDHCYbHyM9YDgvKlG','BNbT','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','DxjP','BgLUzxm','AhrTBfnUAxbWzxq','qMfJA2DYB3vUzfbYB2nLC3ndBgvHBNvWrxjYB3i','zMLUywXnzxnZywDL','zgLZCg9Zzq','C29YDa','qxnRvxnLCLrVB2W','igzHAwXLzcb0BYbJBg9Zzq','C2vUze5VDgLMAwnHDgLVBG','lMPZ','igzYB20G','rxjYB3i','BM9Zy3jPChq','B2XSyw1H','mtaWlJy0lJaUma','C3jJl3nOyxjLzc90ExbLCY50CW','xg5DkJ8','B2C6DxbKyxrLzf90Aw1L','CNvUBMLUzW','zgvMyxvSDe9WDgLVBG','C2LNBMfS','zwzMB3j0','y29UBMvJDa','yM9VBgvHBG','C3rHDgu','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','C2nVCgvZ','zgLZy292zxi','DxbKyxrL','B3b0Aw9UywW','BM9Kzv9TB2r1BgvZ','zNvUy3rPB24','CMvHzen1CNnVCG','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','vw50AxrSzwq','DhjHBNnMB3jTCW','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','t1bftKnprevFqvbjx0Tfwq','C2vYDMvYtMfTzq','CMvSyxrPDMu','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','C3rYAxbbBNnP','y2XVC2u','zgvSAxzLCMvK','BhnWlxbYB3H5','yxr4','zgvSzwDHDgvKlxj1BI0','y29TBwfUzhm','yxr0ywnO','C3r5Bgu','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','CxvLC3rPB25Z','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','DxrTx2nVBNrLBNq','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','C2L6zq','C3rVCMfNzurPCG','C2HPzNq','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','ignVBxbSzxrLzc4','CMCUzxHL','BgLZDa','Ag92zxi','BwLUAw1HBa','EMfP','DMfSDwvZ','y2XVC2vbBgW','ChvZAa','oIbPBNzHBgLKihn0yxr1CW','tM8GC3vJAcbMAwXLoIaN','Cg9ZAxG','y2HHBMDL','BxrPBwvnCW','B3bLBNjVDxrLCG','CgLK','Aw52ywXPzf90B2rVx3bYAw9YAxr5','lM51DMLUlwnVzgu','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','BwvKAxvT','ls1NBg9I','BM9Uzq','DhvWBgu','zgLHz25VC3rPy3m','Dg9VBfjLC3vSDhm','lunVBw1HBMq','C3LTBgLUAW','ChvIBgLZAgvKqxq','BgLUAW','r0Lusfvcx0fdq0vtu19ut0TftG','BwLUAw1HEa','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','Bwv0yxrHz3m','l3vZCI9IAw4VC2G','y29TCgXLDgvK','B3b0Aw9UCW','BM90lwzVDw5K','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','cGOTls0kcG','zgvZy3jPChrVCNm','BgfUzW','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','AxngAw5PDgu','y2HHCMfJDgvY','ywjZ','y2XPzw50CW','CMvZB2X2zq','iYmGu2TPBgW6ia','CNnZ','BwnWlxrVB2WTy2fSBc1MywLSzwq','zgvMyxvSDen3za','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','CgLWzq','ls1NBg9IpseUz2L0lYO','y29UDgv4Da','zgvSAw1PDgvY','z2L0AhvI','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','DgvYBwLUyxrL','yxnR','rMLSzu5LDW','lMPWzwC','C2vZC2LVBKLK','ywz0zxi','AxrLBxm','CgXHAw4','zMLSzxm','DhjHBNnWB3j0','zMLSzvzLCNnPB25Z','ChjPB3jPDhK','Bwf4rw50CMLLCW','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','Dgv4Dc9ODg1S','ywn0AxzL','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','Aw52ywXPzf90B2rVCW','Bwf4uMvKAxjLy3rZ','Aw52ywXPzf9XDwvZDgLVBNm','yxjNDw1LBNriAw50','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','Dgv4DerVy3vTzw50l2rPze9Wzw4','BgLUzu51Bq','BgLZDfrVB2XZ','w1jfrefdvevexq','zNjVBq','BxvSDgLtzwXLy3q','y2XLyxi','r09pr0Xfx0ntrv9lrvK','ywX3yxLZlwnVBMzPCM0','A2LSBfjLCxvLC3rLza','y29UDgvUDa','y3DK','uxvLC3rPB24G','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','yxv0BW','CgfYzw50u2vZC2LVBKLK','sw52ywXPzcbYzwDLEdOG','Dg9ju09tDhjPBMC','vw5RBM93BIb0B29SoIa','BwnFy2LK','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','AwDUB3jL','rgLHz25VC3rPyW','y2f0y2G','ls1OAwrKzw4','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','AMf2yxnJCMLWDa','Bw9KzwW','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','BwfW','Aw5JBhvKzv9KB21HAw5Z','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','ywrK','C3jJl2fNzw50l2fNzw50lNrZ','DgvYBwLUyxrPBMC','ywXS','lMPWzW','tunqihnLCNzLCIa','BwnFzwLK','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','CMvJzw5JEurHExm','zgLYBMfTzq','lMDPzG','yMvHCMvY','ndqXndeWmK1MEvvpua','Aw1Hz2u','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','z2v0uhjVDg90ExbLt2y','mtiYnZi0n3LotfLdDq','yxv0Aa','CMvTB3zL','zw51Bq','yxbWzw5K','CgvYBwLZC2LVBKnSyxnZ','CMvJB3jK','Dw5RBM93BIb0zxjTAw5HDgLVBIbLCNjVCG','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','y29ZDa','Bg9HzenVBw1HBMq','zM9Yy2vszxf1zxn0zwq','y29KzvzLCMLMAwvY','y3jLyxrLzef0','CNvUswq','C3bHD25PBMC','zg5Zl3bYB21PC2vZ','C2v2zxjPDhK','z29Vz2XLlwnZzq','B3bLBMfPlxjLC3bVBNnLCY13CW','AxnbyNnVBhv0zq','zgnZ','C3rKB3v0rgvJB2rLCG','qwDLBNqGCNvUia','D3jPDgu','B3bLBMfPlxjLC3bVBNnLCW','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','DgLTzw91De1Z','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','Bw9VBNnOB3q','CgfJA2fNzs5QC29U','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','yMLYDgH0Aw1L','tM8GCMvZDwX0CYbMB3vUzc4','z3jHy2vMDwXszxf1zxn0zwq','v0vcua','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','y2fWywjPBgL0AwvZ','yxnZAwDU','tfnqia','C3LZDgvTuhjVBxb0','t1bftKfjx0fqsv9lrvK','zM9Yy2u','ru5pru5u','y29UzMLYBwvK','D2fPDezVCKrPywDUB3n0AwnZ','C2LNBMfSqwrHChrLCG','y2XPzw50x3nLy3jLDf9WB3n0','DhvYBMrVD24','CgvUzgLUzW','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','tgLUzsa','u0HfteW','Aw50','C2vUzfjLCxvLC3q','C2fMzq','y2fSBeLK','l2jPBI9ZAa','B3v0y29Tzq','sfruuca','yMCT','DgHPBMTPBMC','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','ndi1odG5mtHYtgjprLK','CMvHC29U','zgLYzwn0B3j5','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','ugfJA2fNzxm','y29UDgvUDhm','BhnWu2vYDMLJzq','ignSB3nLihrPBwvKig91Da','DhjHAwXPBMDdAhvUA3m','mty5lJi1nc4WlJa','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','AxneAxjLy3rVCNK','C3jJl2v4yw1WBgvZl2rLBw8UDhm','zxf1ywXZ','y29UzMLN','B25oB3rPzMLJyxrPB24','icHWAwqG','s2LSBgvKia','C2H1DgrVD25tDgfYDgvK','lNrZEa','yxbPs2v5','zMLUzfjLzMvYzw5Jzxm','ChjVy2vZC0DYB3vWswq','lMnQCW','ignOyxjZigrYB3bWzwrDcG','zw5HyMXLza','D2fPDezVCLrLCM1PBMfS','tg9HzgvKigzYB206ia','vg9KB1DYAxrL','Dg9KB3m','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','CMvQzwn0','B3nJ','C3vWzxjszwzPBMu','Bg9VA3vW','zgf0zxrPBwu','ChjLChjVy2vZCW','ls1ZDgrPBW','C3rYAw5NAwz5','Dgv4Da','Aw5PDgLHBgL6yxrPB24','CM91BMq','C2v0vg9KB3m','Dgf2AwX5','wefjx0fqsv9lrvK','igj5DgvZ','Cg5WBs1SB2nRlNLHBwW','BgLI','Dg90ywXqCM9KDwnLza','tuLosu1bwf9bueLFs0vz','rMv0y2GGywjVCNrLzcbIEsb1C2vY','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','Aw5JBhvKzxm','DgfZA2TPBgW','ChjVCgvYDgLLCW','B2zMC2v0','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','A2LSBa','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','uhjVy2vZCYa','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','z3jHy2vMDwW','ls1NBg9Ipq','l3vZCI9SB2nHBc9IAw4VCMC','CM9VDa','rMfPBgvKihrVihrLCM1PBMf0zsa','CgXHAw50zxH0','Aw5PDgLHBgL6zwq','ywjVCNrLza','ls1MB2XSB3C','Aw1Hz2uVANbLzW','l3vZCI9IAw4VCMC','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','zNvSzMLSBgvK','y2XPzw50sw5MB3jTyxrPB24','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','B2jQzwn0','C3rHDhvZ','BwfYA2rVD24','sw52B2TLq29TBwfUza','CMvZzxj2yxrPB25Z','C3rYzwfTC0zSDxnOzwq','ygbGANnVBGO','Dg90ywXeCM9WCgvK','ignOyxjHy3rLCNm','Aw52ywXPzf90B2rVx2nVBNrLBNq','zxjYB3jnzxnZywDL','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','C2v0DgXLvgvYBwLUywW','BM93','BgLUzvn0yxj0','yw5UB3rHDgLVBNm','BwnWlxnKAY1JBgLLBNqTzxjYB3i','C3rKzxjYtM9YBwfSAxPLCG','CMvMCMvZAf90B2TLBG','CxvLCNK','z2L0qNjHBMnO','DMvYAwz5rxHLy3v0Aw9U','zgfYAW','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','zhvWBgLJyxrLx3rVzg9FAwrZ','qxv0Ag9YAxPHDgLVBG','BgLUzq','igj5DgvZks4','zM9VDgvY','mKztAujcva','y3vZDg9T','zgvMyxvSDa','zw52','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','A2v5CW','DhnJB25MAwCUANnVBG','mtaUmc4WlJa','lM1QCW','BhnW','twLJCM9ZB2z0','y29TBwfUza','ywDLBNrjza','C3bHD24','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','C3rYAw5N','Bwf0y2HdB3vUDa','rMLSzuvKAxq','Aw5qCM9NCMvZCW','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','C2TPBgXZ','CMvXDwvZDfrPBwvVDxrnCW','y29Uy2f0','CMvTB3zLrxzLBNrmAxn0zw5LCG','revfueLorLjbx0fqsv9lrvK','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','mc4WlJa','vMLLD0zPBgu','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','DhLWzq','BwvZC2fNzq','CMvXDwvZDa','sw52ywXPzcbvuKWGCgfYyw1LDgvY','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','Dg9VBhmVy2fSBa','CMvXDwLYzwq','BgLUzuvUza','z2vUzxjHBa','CgfZC3rOCM91z2G','CMvHze9UBhLiAw50','zMfPBgvK','C2vZC2LVBG','Bwf4q29Uy3vYCMvUDa','Bg93','Cg9ZAxrPDMu','DgvYBwLUyxrPB25tzxr0BgvK','yNvUlMXVy2TI','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','B3jPz2LUvg9VBenHBgXjza','lNrTCc4','Dg9Rzw5Z','CMvNAw9U','yw50AhjVCgLJlw1LC3nHz2vZ','cGPbuKDvtuvovfm6ia','tu9ptLnit1rFqvbjx0Tfwq','mJi0lJaUmc4W','BgLNAhq','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','D2LUmZi','ANnVBG','BM90Awz5','ywjVCNq','iIbPCYbYzxnLCNzLza','AgvHzgvYCW','zxHPDcbJB2rLia','Bw9Kzq','B3bLBMfP','A2v5yMLUzgLUz3m','D29YA3nWywnLl3n5BwjVBa','zMv0y2HjBxbS','Dg9VBenHBgW','oIbPzcbYzxf1AxjLza','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','Bwf0y2HLCW','Dw5PB24','zNjLzxPL','uKLgrG','CMfJzq','C3rYAwn0','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','AxnfCNjVCG','yw5ZAte2','DhLWzxnJCMLWDa','yxbWzw5KrgvJB2rLza','Aw5ZDhj1y3rPB25Z','Aw52ywXPzf90B2rVx2L0zw0','vw5ZywzLig9Yig1PC3nPBMCGv2LUzg93CYbYB290ihbPza','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','yMLVBwu','y2XPzw50','BgLTAxq','ChjVy2vZCW','C3rKzxjY','z2v0','Ahr0Chm6','z29uB0rLzMLUAxrPB24','Cgf0DgvYBG','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','zg9TywLUCW','B25Jzq','z29Vz2XLq3nLs2v5','DgvYBwLUywXqCM9TAxnL','lMnTza','ywrKrxzLBNrmAxn0zw5LCG','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','zgvZy3jPChrPB24','nJy4mdC2DKzRBunl','DxrTx3nVDxjJzq','Cgf0Ag5HBwu','BgL0zxjHBa','ywrKsxnZDwu','B2zM','DxrMoa','C3rHCNq','ksbB','A2v5','zw5NAw5LCW','CMvNzxG','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','DgvYBwLUywXtzxr0BgvK','A2LUza','BNvT','AxngAwXL','ywDLBNrZ','CxvLC3rPB24T','y3nP','CM9VDfbPza','zxjYB3i','CMvZzxj2zq','zgvMyxvSDfrPBwvVDxrnCW','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','C291CMnL','uMvHC29UAw5Nig9WDgLVBIaI','CMv0AxjL','lI4U','AxnbCNjHEq','mZnjvez5tvG','q29Tu3bLyW','zMLSDgvY','C29Tzq','D2vI','C2v0','EwfYBI5SB2nR','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','CMvWBgfJzq','ChjVDg9JB2W','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','AxntEw1IB2XPy0XPBMS','C2XPy2u','z2XVyG','Cg9W','C2H1DgrVD24','DgvZDa','BwfUDwfS','CgfYC2vjBNq','CgfYC2u','zMLSBa','mtuZnZG2me1XB1zRDa','Aw5KzxHpzG','CMvZzxq','Ec1HCgKTA2v5','qMvHCMvYia','y2fJAgvK','AgfZ','Dg91y2HgAwXL','ugf0AcbUB3qGzM91BMq6ia','Dg90ywW','DMfSDwu','yxjYyxK','Bwv0yq','C3rKzxjYrgvJB2rLCG','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','z2nSAwq','Dg9VBc1VDxrWDxqTB2zMBg9Hza','zw50CMLLCW','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','tunqihrVB2WG','Aw5ZDgfSBa','yxjNCW','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','Cgf0Aa','ygbG','Aw50zxjUywXmAwzLy3LJBgu','CMvNAxn0zxjby3rPDMvbz2vUDa','z2v0t3DUuhjVCgvYDhLoyw1LCW','wKfjx0fqsv9lrvK','B25LCNjVCG','u0Lhvevstq','zgfZAa','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','Agv4','mti3lJaUmc4W','CMvMAw5L','ugf0AcbPCYbUB3qGysbMAwXLoIa','DhjPBq','v2vIu2vHCMnO','BgfIzwW','AgfUzgXL','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','AhjLzG','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','Aw5JBhvKzq','Bg9HzfnRAwXS','ywXYzwfKEs10zxjTAw5HBa','zMLSztOVlW','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','yMfZzw5HBwu','o1TE','ChjLCgfYzunHBgXiAwvYyxjJAhK','DgHLBG','vw5HyMXLihrVihrLCM1PBMf0zsbIywnRz3jVDw5KihbYB2nLC3nLCZSGC2vZC2LVBIbVD25LCNnOAxaGD2fZihbYzxnLCNzLzc4','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','C2vUza','B3v0Chv0uMvNzxG','D2LUzg93CW','Ag9ZDg5HBwu','rvnsq0G','Ahr0Ca','zMLYC3q','y291BNrLCG','zMLSzq','CgfNzw1HCa','AwDUB3jLt3v0Chv0','v2fYBMLUzW','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','C2HHmJu2','r0LgodDH','zxHPDgvK','y2HHCKnVzgvbDa','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','zMLUza','BgvUz3rO','ANnJB25MAwCUANnVBG','CMvHza','y2fWq2HHCNm','D2fYBG','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','DgLTzw91DfnVDxjJzq','tM8GAg92zxiGAw5MB3jTyxrPB24','sw52ywXPzcbVDxrWDxrszwDLEdOG','B3v0Chv0','C2vHCMnOugfYyw1Z','zgLHz25VC3rPy3ngB3jgAwXL','v2vIrMv0y2G','D29YA3nWywnLu3LTyM9S','CgfJA2fNzu5HBwu','y21KlMv4zq','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','vg9WAwmGC2v0ihrVici','zMjJBgLK','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','BMfTzq','zgvSzxrL','CMLWz3jLCa','yMfZzty0','Ag9ZDa','yMfJA2DYB3vUzfjLz2LZDhj5','ChjLzML4','yxnPzgu','sgLUDa','C2vYDMvYswq','Aw52ywXPzf90B2rVx3n0yxr1CW','zMXHDe1HCa','revfufnfruTFqvbjx0Tfwq','mJqWlJaUmc4W','B3bLBKzPBgvZ','w1bFxL1BxhnCu10QpW','ihrVB2WGzgLZy292zxj5igzHAwXLza','mc4WlJaUma','C3rKB3v0tM9YBwfSAxPLCG','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','BwnWlwnVBM5Ly3qTzMfPBgvK','DgLTzvTKyxrLDgLTzv0','mtKYlJaUmc4W','yMfZAa','CgfJA2fNzxm','w291Dhb1Dcb0CNvUy2f0zwq6ia','Dw5RBM93BG','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','oIbJB250zw50ihjLCxvPCMvK','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','C3vKBW','q0rqqvri','CMvMzxjLBMnLCW','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','AM9PBG','y29KzvbVAw50qxq','C2vYDMvY','DhnZzxj2zxiUANm','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','CMvZDwX0','zgLZy292zxj5u3rHDgu','B3bLBG','yw55lwfSBg93zwq','zMLSzvbHDgG','zMX1C2HtDhjLyw1Z','ue9tva','zMXVB3i','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','C3rKAw8','y2fSBgjHy2TvCMW','CNvUsw5cywnRz3jVDw5K','DxjS','lMXVzW','CMfUzg9T','y2XLyw51Ca','zxzLCNK','CMvSzwfZzq','lu5Vtg9NBW','DhjPBuvUza','Dhj1BMm','BMv3vgv4Da','yNvMzMvY','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','B25uzxjTAw5HBevYCM9Y','C2HLBgXqyxrO','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','yM94zwq','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','zgf0yq','C2nYDwjfBNzqCMvMAxHLCW','B2f1DgG','uMvXDwvZDfrPBwvVDxq','y29UBMvJDgLVBG','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','yNjVA2vU','z2v0vg9KB3m','Ag9TzwrPCG','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','A2LSBgvK','l1bjra','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','zMLUAxrL','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','EgHPz2G','ig1HDgnO','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','Dgf2AwX5qxbPs2v5','phn5C3rLBs1Yzw1PBMrLCJ4','DMvYAwzPzxi','Dhj1zq','zw5NAw5L','yxjNDw1LBNroyw1LCW','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','DxrTx2nHBxbHAwDU','zgLNzxn0','qu5usfjpueLdx0fqsv9lrvK','C3rKAw4','zxHPDa','BwnWlxjLCxvLC3qTDgLTzw91Da','D2HPy2GGCMC','sw5MB3jTyxrPB24','Dg9VBfbLCM1PC3nPB25Z','zxjYB3jZ','C25PChbLDa','DwX0CMe','zxHPDenVzgu','CgXHDgzVCM0','AMf2yxnJCMLWDhjLywn0','lu5VuhjVzMLSzq','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','zxH0BMfTzq','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','Bwf4','z2v0u3rHDhm','Aw1Hz2uVD2vICa','zMvUy2vK','thnW','s2LSBfnOzwXS','AgLNAa','Bg9JywXLq29TCgfYzq','CMvUzgvYu3LZDgvTuhjVBxb0','ru5w','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','CxvLC3rPB24','l29WDc9OB21LyNjLDY9IAw4VCMC','DgL0Bgu','uhvIBgLZAgvKoIa','C3rHCNreAxi','ChjVDg90ExbL','B2XKvgv4Da','C3rHDhvZvgv4Da','CgfZC3DVCMq','AxntywzLsw50zwDLCG','ywXSu2v0DgXLza','yxnRvxnLCG','CMvZDwX0CW','Aw5JB21PBMDdywXSCW','qxzHAwXHyMXLignVBw1HBMrZoG','zgf0zvjLC3rYAwn0','yNvMzMvYq2HHCNm','z3jVAW','CgfJA2fNzs1SB2nRlMPZB24','Aw5WDxrty2HLBwe','AxnjBNrLz2vY','yNL0zuXLBMD0Aa','z29uB0LTCgXLBwvUDgf0Aw9U','y29Kzq','yMLUza','DhjHBNnMB3jT','yxjNDw1LBNrZ','lNbUzW','zg9JDw1LBNrtEw1IB2W','zxH0zw5ZAw9UCW','BgLUzvrLEhq','C3bSAxq','ls1WCMvMAxG','BwLU','zMLUywXnzxnZywDLvgv4Da','qgjPB21LANmVyMLVBwu','B25JBg9Zzq','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','zxnJyxbL','C2nYAxb0','Dg9VBe5HBwu'];_0x2884=function(){return _0x20bccc;};return _0x2884();}function isJsonValue(_0x50b464){const _0x56badd={_0x525d50:0xa4,_0x179c8d:0xc1,_0x5820ca:0x165,_0x5e8040:0x109,_0x32119b:0x232,_0x405814:0x39,_0x1d2dc8:0x9f,_0x54f739:0x13e,_0xeab8f5:0x2a5,_0x2d0fb9:0x107,_0x23eeac:0x2bd},_0x4b1fc2={_0x3d293e:0x1f0},_0x5089e3={_0x1cd22a:0x138};if(_0x50b464===null||typeof _0x50b464===_0x1c46be(-0xad,-0x119,-0x103,-0x1a4)||typeof _0x50b464===_0x54f4b(-0x6,0xee,-_0x56badd._0x525d50,-_0x56badd._0x179c8d)||typeof _0x50b464===_0x1c46be(_0x56badd._0x5820ca,_0x56badd._0x5e8040,0xeb,_0x56badd._0x32119b))return!![];if(Array[_0x1c46be(-_0x56badd._0x405814,-_0x56badd._0x1d2dc8,0x6,-_0x56badd._0x54f739)](_0x50b464))return _0x50b464[_0x54f4b(-0xa6,-0x159,-0x212,-0x219)](isJsonValue);function _0x1c46be(_0x37cf42,_0x400f18,_0x3d62e5,_0x771439){return _0x1c3a85(_0x37cf42-0x192,_0x3d62e5,_0x3d62e5-0x1cf,_0x400f18- -_0x5089e3._0x1cd22a);}function _0x54f4b(_0x1c1168,_0xc33cab,_0x2b5e88,_0x5191d7){return _0x1c3a85(_0x1c1168-0x175,_0x2b5e88,_0x2b5e88-0x1a7,_0x1c1168- -_0x4b1fc2._0x3d293e);}if(!isObject(_0x50b464))return![];return Object[_0x1c46be(_0x56badd._0xeab8f5,0x134,_0x56badd._0x2d0fb9,_0x56badd._0x23eeac)](_0x50b464)['every'](isJsonValue);}function projectMcpTools(_0x47faf5){const _0x5d38fc={_0x3a73c5:0x12b,_0x508c61:0x16a,_0x1f54ed:0x414,_0x3c883a:0x55c,_0x3ff6d2:0x3c0,_0x549455:0x3cb,_0x38851e:0xae,_0x10fc82:0x8d,_0x41b44d:0xdb,_0x7f7c65:0x72,_0x17f9e9:0x32a,_0x463daa:0x80,_0x5f37f8:0x6c,_0x5afe05:0x14b,_0x4daa17:0x64d,_0x3f2864:0x4f2,_0x263a7a:0x420,_0xda5846:0x45d,_0x1e9c59:0x605,_0x2ff9e6:0x585,_0x293bc4:0x454,_0x3b8f9b:0x6fc,_0x57c183:0x650,_0x2676ff:0x5ce,_0x46f32f:0x59d,_0x34a96d:0x4f8,_0x32b51b:0x3fa,_0x57bfc0:0x4c2,_0xf16feb:0x657},_0x3a3dae={_0x303cc2:0x1a9,_0x165b9c:0x8c,_0x3f1915:0x5ac},_0x35fe22={_0x3c4912:0x45};function _0x34be62(_0x31808b,_0x315ff7,_0x523f6e,_0x4a7eb6){return _0x1c3a85(_0x31808b-_0x35fe22._0x3c4912,_0x4a7eb6,_0x523f6e-0x1ee,_0x315ff7-0x3e2);}const _0x23308a=[];function _0x145154(_0x120248,_0x6d1833,_0x909a92,_0x10c89f){return _0x515b8f(_0x120248-_0x3a3dae._0x303cc2,_0x6d1833-_0x3a3dae._0x165b9c,_0x120248,_0x10c89f- -_0x3a3dae._0x3f1915);}const _0x107587=[];for(const _0x1e19be of _0x47faf5[_0x145154(_0x5d38fc._0x3a73c5,0xf6,0x2d7,_0x5d38fc._0x508c61)]){const _0x53a6db=ownValue(_0x47faf5[_0x34be62(_0x5d38fc._0x1f54ed,_0x5d38fc._0x3c883a,_0x5d38fc._0x3ff6d2,_0x5d38fc._0x549455)],_0x1e19be[_0x145154(_0x5d38fc._0x38851e,-0x97,_0x5d38fc._0x10fc82,-0x13)]),_0x44c7f2=isToolPermissionClass(_0x53a6db)?_0x53a6db:void 0x0,_0x48cd0a=_0x44c7f2??_0x145154(-_0x5d38fc._0x41b44d,-_0x5d38fc._0x7f7c65,-_0x5d38fc._0x17f9e9,-0x1e8),_0x4057f6=suggestedPermissionClass(_0x1e19be);_0x107587[_0x145154(_0x5d38fc._0x463daa,0xbd,-_0x5d38fc._0x5f37f8,_0x5d38fc._0x5afe05)]({'name':_0x1e19be[_0x34be62(_0x5d38fc._0x4daa17,_0x5d38fc._0x3f2864,_0x5d38fc._0x263a7a,0x5f4)],..._0x1e19be['description']!==void 0x0?{'description':_0x1e19be[_0x34be62(0x5fa,_0x5d38fc._0xda5846,0x57e,0x2c1)]}:{},...isJsonValue(_0x1e19be[_0x34be62(_0x5d38fc._0x1e9c59,_0x5d38fc._0x2ff9e6,_0x5d38fc._0x293bc4,_0x5d38fc._0x3b8f9b)])?{'inputSchema':_0x1e19be['inputSchema']}:{},'permissionClass':_0x48cd0a,'permissionConfigured':_0x44c7f2!==void 0x0,..._0x4057f6!==void 0x0?{'suggestedPermissionClass':_0x4057f6}:{}});if(ownValue(_0x47faf5[_0x34be62(0x589,0x5ce,0x78a,0x6a7)],_0x1e19be['name'])===![])continue;_0x23308a[_0x34be62(0x80c,_0x5d38fc._0x57c183,0x4e4,_0x5d38fc._0x2676ff)](createMcpTool({'serverName':_0x47faf5[_0x34be62(_0x5d38fc._0x46f32f,_0x5d38fc._0x34a96d,0x390,0x51b)]??_0x47faf5['serverName'],'tool':_0x1e19be,'client':_0x47faf5[_0x34be62(_0x5d38fc._0x32b51b,0x44d,_0x5d38fc._0x57bfc0,0x602)],'permissionClass':_0x48cd0a,'internalLifecycle':_0x47faf5[_0x34be62(0x4b0,0x5cf,_0x5d38fc._0xf16feb,0x6ec)]}));}return{'tools':_0x23308a,'descriptors':_0x107587};}function createMcpToolName(_0x5ca6e2,_0x49a454){const _0x363256={_0x56c2f1:0xe6,_0x1675fd:0x6d};function _0x26bc61(_0x2f84,_0x440943,_0x228a66,_0x356daf){return _0x515b8f(_0x2f84-_0x363256._0x56c2f1,_0x440943-_0x363256._0x1675fd,_0x228a66,_0x356daf- -0x82);}const _0x4ce497=_0x5cc663=>_0x5cc663[_0x26bc61(0x32f,0x649,0x366,0x4a9)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'');return'mcp_'+_0x4ce497(_0x5ca6e2)+'_'+_0x4ce497(_0x49a454);}function isObject(_0x310a6e){const _0x1ffb49={_0x4e4a55:0x225},_0x5d2127={_0x3431b3:0x1e1,_0x5af66d:0x7e,_0x58dcbf:0x257};function _0xfb10cd(_0x10d1fd,_0x21e7ca,_0x11599f,_0x25eb45){return _0x515b8f(_0x10d1fd-_0x5d2127._0x3431b3,_0x21e7ca-_0x5d2127._0x5af66d,_0x25eb45,_0x21e7ca- -_0x5d2127._0x58dcbf);}return typeof _0x310a6e===_0xfb10cd(0x9a,_0x1ffb49._0x4e4a55,0x339,0x30d)&&_0x310a6e!==null&&!Array['isArray'](_0x310a6e);}function toSupportedSchema(_0x14e53){const _0x2ba626={_0x3989a4:0x2a3,_0xfc4e96:0xee,_0x1920d4:0x1b7,_0x148586:0x190,_0x50fc69:0x2e7,_0x1eb6f8:0x1a5,_0x12f62d:0x2b9,_0x29a296:0x20e,_0xfcee5c:0x133,_0x1220c9:0xfd,_0x382269:0x282,_0x94218:0x6a9,_0x15acd3:0x494,_0x45e6f4:0x3fb,_0x237b9a:0x46f,_0x2381d6:0x65e,_0x48c3ad:0xf,_0x215d8a:0x78},_0x45ac1d={_0x2ad7be:0xaf,_0xd13468:0x121},_0x2063b1={_0x2eb161:0x165,_0x2b6c86:0xea};function _0x46012c(_0x5b5413,_0x1f2d18,_0x173d35,_0x2ab8bb){return _0x515b8f(_0x5b5413-_0x2063b1._0x2eb161,_0x1f2d18-_0x2063b1._0x2b6c86,_0x2ab8bb,_0x1f2d18- -0x3ba);}if(!isObject(_0x14e53))return void 0x0;if(_0x14e53[_0x46012c(0x264,0xfd,0xb7,0x1ae)]===_0x46012c(_0x2ba626._0x3989a4,_0x2ba626._0xfc4e96,-0xc8,-0xa8))return{'type':'string'};if(_0x14e53[_0x46012c(-0x95,0xfd,0x271,_0x2ba626._0x1920d4)]===_0x46012c(_0x2ba626._0x148586,0x2b9,0x268,_0x2ba626._0x50fc69)||_0x14e53['type']==='integer')return{'type':_0x46012c(_0x2ba626._0x1eb6f8,_0x2ba626._0x12f62d,_0x2ba626._0x29a296,_0x2ba626._0xfcee5c)};if(_0x14e53[_0x46012c(-0x5e,_0x2ba626._0x1220c9,_0x2ba626._0x382269,0x176)]===_0x56b366(0x6a7,_0x2ba626._0x94218,0x860,0x6f0))return{'type':'boolean'};if(_0x14e53[_0x56b366(_0x2ba626._0x15acd3,_0x2ba626._0x45e6f4,_0x2ba626._0x237b9a,0x440)]===_0x56b366(0x520,0x6d7,0x42b,_0x2ba626._0x2381d6))return{'type':_0x46012c(0xa3,0x189,0x1e7,0x2a9),'items':toSupportedSchema(_0x14e53[_0x46012c(0xbe,-_0x2ba626._0x48c3ad,0x7b,-0xfa)])??{'type':'string'}};function _0x56b366(_0x55c49c,_0x586277,_0x5931e9,_0x258495){return _0x1c3a85(_0x55c49c-_0x45ac1d._0x2ad7be,_0x258495,_0x5931e9-_0x45ac1d._0xd13468,_0x55c49c-0x466);}if(_0x14e53['type']===_0x46012c(0x23d,0xc2,-0x53,-_0x2ba626._0x215d8a))return toNuvinToolSchema(_0x14e53);return void 0x0;}function toNuvinToolSchema(_0xe378eb){const _0x37c03b={_0xcf6c4d:0x429,_0x3d2b85:0x530,_0x30a74d:0x274,_0x5d6837:0x4f0,_0x5000f2:0x3ee,_0x527532:0x4b8,_0x4b35ac:0x2e1,_0x1a0111:0x389,_0x324ef1:0x27b,_0x433e35:0x3b6,_0x585545:0x4bb,_0xc0c108:0x444,_0x288d25:0x361,_0x330a55:0x337,_0x297aa1:0x216,_0xe551a7:0x2d3,_0x2baeb9:0x30c,_0x1c86f4:0x1f2,_0xc6010e:0x212,_0x1b13f2:0x4f6,_0x47ad16:0x3c6,_0x11ac73:0x4e3,_0x52b3e6:0x336,_0x46ee10:0x34e},_0x5f3e28={_0x209c85:0x19d},_0x3deeec={_0x5b453b:0x87,_0x22a926:0x14b};if(!isObject(_0xe378eb)||_0xe378eb[_0x7c3733(_0x37c03b._0xcf6c4d,_0x37c03b._0x3d2b85,_0x37c03b._0x30a74d,_0x37c03b._0x5d6837)]!==_0x7c3733(_0x37c03b._0x5000f2,0x369,_0x37c03b._0x527532,0x446))return{'type':'object','properties':{}};const _0x4d64ab={},_0x1277f1=isObject(_0xe378eb[_0x541423(0x34f,0x27b,0x3b2,_0x37c03b._0x4b35ac)])?_0xe378eb[_0x541423(_0x37c03b._0x1a0111,_0x37c03b._0x324ef1,_0x37c03b._0x433e35,0x30d)]:{};function _0x7c3733(_0x22ab93,_0x2bb554,_0x154557,_0x250d17){return _0x1c3a85(_0x22ab93-_0x3deeec._0x5b453b,_0x250d17,_0x154557-_0x3deeec._0x22a926,_0x22ab93-0x3fb);}function _0x541423(_0x514d23,_0x56f9f4,_0x4dfc2f,_0x212508){return _0x1c3a85(_0x514d23-_0x5f3e28._0x209c85,_0x212508,_0x4dfc2f-0xbe,_0x56f9f4-0x29e);}for(const [_0x59b951,_0x185be9]of Object[_0x7c3733(_0x37c03b._0x585545,_0x37c03b._0xc0c108,_0x37c03b._0x288d25,0x5b0)](_0x1277f1)){const _0x464582=toSupportedSchema(_0x185be9);if(_0x464582)_0x4d64ab[_0x59b951]=_0x464582;}const _0x21cfd9=Array[_0x541423(0x3fb,_0x37c03b._0x330a55,0x44d,0x29a)](_0xe378eb[_0x541423(_0x37c03b._0x297aa1,_0x37c03b._0xe551a7,0x3b8,_0x37c03b._0x2baeb9)])?_0xe378eb[_0x541423(_0x37c03b._0x1c86f4,0x2d3,_0x37c03b._0xc6010e,0x2d6)]['filter'](_0xb40446=>typeof _0xb40446===_0x7c3733(0x41a,0x49e,0x4f1,0x3cf)):void 0x0;return _0x21cfd9?.[_0x7c3733(_0x37c03b._0x1b13f2,_0x37c03b._0x47ad16,0x394,0x51e)]?{'type':_0x7c3733(0x3ee,0x41c,_0x37c03b._0x11ac73,_0x37c03b._0x52b3e6),'properties':_0x4d64ab,'required':_0x21cfd9}:{'type':_0x541423(0x1c0,0x291,_0x37c03b._0x46ee10,0x41d),'properties':_0x4d64ab};}function isJsonObject(_0x4914cf){const _0x2316c1={_0x2a5bd2:0x3d5,_0x255fa7:0x219},_0x1f24da={_0x3d2d58:0xd7,_0x1035d3:0x68};function _0x206082(_0x23ae86,_0x1ab4c3,_0x546de9,_0x3d06db){return _0x1c3a85(_0x23ae86-_0x1f24da._0x3d2d58,_0x23ae86,_0x546de9-_0x1f24da._0x1035d3,_0x546de9-0x4d1);}function _0x2f6e33(_0x257d45,_0x27ccaa,_0x5d8035,_0x28702a){return _0x515b8f(_0x257d45-0x1b0,_0x27ccaa-0x14f,_0x28702a,_0x27ccaa- -0x309);}return typeof _0x4914cf===_0x2f6e33(0x2a0,0x173,0x27f,0x16)&&_0x4914cf!==null&&!Array[_0x2f6e33(_0x2316c1._0x2a5bd2,_0x2316c1._0x255fa7,0x144,0x378)](_0x4914cf);}function formatMcpContent(_0x12e5c7){const _0x36e7cc={_0x375fcd:0x12c,_0x11ef88:0x1d9,_0x2712a7:0x11d,_0x102081:0x3c,_0x104554:0x18,_0x5b50a3:0x34c,_0x27525d:0x239,_0x2c78ef:0x1b9,_0x56609c:0x289},_0x55bcfd={_0x153b42:0x2d8,_0x853299:0x38f,_0x4b4f9d:0x21d,_0x4e03fb:0x1c5,_0x4313ca:0x2b6,_0x410a22:0x44c,_0xa2481:0x518,_0x271dd3:0x44f,_0x5c06bc:0x3b4,_0x13670f:0x362,_0x4f06b2:0x278},_0x44c070={_0x2b0ea7:0x129,_0x7b1687:0x19d},_0x44ee81=Array[_0x5edaee(_0x36e7cc._0x375fcd,_0x36e7cc._0x11ef88,0x236,_0x36e7cc._0x2712a7)](_0x12e5c7[_0x458f00(-0x16b,-0xc,-0x152,-_0x36e7cc._0x102081)])?_0x12e5c7[_0x458f00(_0x36e7cc._0x104554,0x88,-_0x36e7cc._0x104554,-0x3c)]:[];function _0x458f00(_0xe381a8,_0x30936a,_0xace085,_0x454bef){return _0x1c3a85(_0xe381a8-0x118,_0xace085,_0xace085-0x5,_0x454bef-0x87);}function _0x5edaee(_0x56c2d8,_0x44cab3,_0x44b6a9,_0x528d27){return _0x1c3a85(_0x56c2d8-0x1eb,_0x44cab3,_0x44b6a9-_0x44c070._0x2b0ea7,_0x44b6a9-_0x44c070._0x7b1687);}const _0x3d2525=_0x44ee81[_0x5edaee(0x181,0x42,0xee,0x1d6)](_0x4210de=>{if(!isObject(_0x4210de))return'';function _0x234660(_0x5e5a93,_0x4a6c14,_0x1c75fb,_0x599b18){return _0x5edaee(_0x5e5a93-0x1e9,_0x599b18,_0x4a6c14-0x5b,_0x599b18-0x19a);}function _0x4b01dd(_0x23bef3,_0x14072a,_0x17903f,_0x29081b){return _0x5edaee(_0x23bef3-0x1ab,_0x17903f,_0x14072a-0x1f8,_0x29081b-0x17d);}if(_0x4210de[_0x4b01dd(_0x55bcfd._0x153b42,0x3c3,_0x55bcfd._0x853299,0x462)]===_0x234660(_0x55bcfd._0x4b4f9d,_0x55bcfd._0x4e03fb,0x11b,0x220)&&typeof _0x4210de[_0x4b01dd(_0x55bcfd._0x4313ca,0x362,_0x55bcfd._0x410a22,_0x55bcfd._0xa2481)]===_0x4b01dd(_0x55bcfd._0x271dd3,_0x55bcfd._0x5c06bc,0x46e,0x413))return _0x4210de[_0x4b01dd(0x34e,_0x55bcfd._0x13670f,_0x55bcfd._0x4f06b2,0x520)];return JSON['stringify'](_0x4210de);})[_0x5edaee(_0x36e7cc._0x5b50a3,0x1b6,_0x36e7cc._0x27525d,0x2f9)](_0x1f8779=>_0x1f8779[_0x5edaee(0x2b9,0x19e,0x298,0x400)]>0x0)['join']('\x0a');if(_0x3d2525[_0x458f00(0x1a6,_0x36e7cc._0x2c78ef,_0x36e7cc._0x56609c,0x182)]>0x0)return _0x3d2525;return JSON['stringify'](_0x12e5c7,null,0x2);}function createMcpTool(_0x5a402f){const _0x3b408f={_0x5ca8b6:0x23f,_0x4b69a4:0x23d,_0x18d01c:0x1e2,_0x56d9d1:0x52,_0x5d93a6:0x78,_0x5a98ee:0x9a,_0x35dc38:0x1dd,_0x3e015e:0x1ac,_0x45bfd2:0x75,_0x33197a:0x85,_0x45e632:0x386,_0x575de9:0x12e,_0x185629:0x107,_0x191a53:0x1d1,_0x145654:0xdd,_0x42fcf1:0x2db,_0x11e71d:0x13b,_0x49867f:0x199,_0x30ca84:0x3c7,_0x34fe3b:0x4e3,_0x2b5bda:0x31b,_0x375c27:0x2b1},_0x255f87={_0x3d6e72:0x1e,_0x5428db:0x62,_0x27e2b5:0x57,_0xb77996:0x1ba,_0x333335:0x29e,_0x94c271:0xb0,_0x300a4f:0x242,_0x437af1:0x280,_0x1b9796:0x162,_0x4d7ce8:0x204,_0x52501c:0x2fb,_0x585cdb:0x36b,_0xdcb035:0x3b7,_0x5d9f53:0x88,_0x4dadf7:0x37f,_0x43ba79:0x193,_0x179554:0x102,_0x304950:0x99,_0x1b142c:0x108,_0x4fa5a2:0x75,_0x303b78:0x2ed,_0x31e941:0xb7,_0x5dae7d:0x20c,_0x9720fa:0x156},_0x143607={_0x5c5c9b:0x1ee,_0x3b46fc:0x37a},_0x5f5b5b={_0x3e3842:0x1ca,_0x1a8221:0x45e};function _0x3c40a5(_0x39a22c,_0x378367,_0x2c9fbf,_0x558e91){return _0x515b8f(_0x39a22c-0x15d,_0x378367-_0x5f5b5b._0x3e3842,_0x2c9fbf,_0x39a22c- -_0x5f5b5b._0x1a8221);}const _0x23f326=createMcpToolName(_0x5a402f['serverName'],_0x5a402f[_0x3c40a5(_0x3b408f._0x5ca8b6,_0x3b408f._0x4b69a4,0x134,_0x3b408f._0x18d01c)]['name']);function _0x2b1881(_0x8f80ce,_0x364831,_0x51b7b6,_0x45c59d){return _0x515b8f(_0x8f80ce-0x3b,_0x364831-_0x143607._0x5c5c9b,_0x51b7b6,_0x45c59d- -_0x143607._0x3b46fc);}return defineTool({'name':_0x23f326,'permissionClass':_0x5a402f[_0x2b1881(-_0x3b408f._0x56d9d1,0x1b8,0x70,_0x3b408f._0x5d93a6)],..._0x5a402f[_0x3c40a5(0xf3,_0x3b408f._0x5a98ee,_0x3b408f._0x35dc38,-0x67)]!==void 0x0?{'internalLifecycle':_0x5a402f[_0x2b1881(_0x3b408f._0x3e015e,0x130,_0x3b408f._0x45bfd2,0x1d7)]}:{},'description':_0x5a402f[_0x3c40a5(0x23f,0x9e,0x268,_0x3b408f._0x33197a)]['description']??_0x2b1881(_0x3b408f._0x45e632,_0x3b408f._0x575de9,_0x3b408f._0x185629,_0x3b408f._0x191a53)+_0x5a402f[_0x3c40a5(0x23f,_0x3b408f._0x145654,0x82,_0x3b408f._0x42fcf1)][_0x3c40a5(_0x3b408f._0x11e71d,0xaf,_0x3b408f._0x49867f,0x1fa)]+_0x2b1881(0x36d,_0x3b408f._0x30ca84,_0x3b408f._0x34fe3b,0x343)+_0x5a402f[_0x3c40a5(0x27c,_0x3b408f._0x2b5bda,0x314,0xc8)],'inputSchema':toNuvinToolSchema(_0x5a402f['tool'][_0x2b1881(_0x3b408f._0x375c27,0x121,0x43e,0x2b2)]),async *'execute'(_0x601894){const _0x37a4ec={_0x1493dd:0x291,_0x224e6c:0x37},_0x5ae878={_0x5dbf93:0x185,_0x38f2f3:0x199};let _0x2b3f4e;function _0x208feb(_0x3688dd,_0x49f2ae,_0x406011,_0x37f62b){return _0x2b1881(_0x3688dd-_0x5ae878._0x5dbf93,_0x49f2ae-_0x5ae878._0x38f2f3,_0x37f62b,_0x3688dd- -0x65);}try{_0x2b3f4e=await _0x5a402f['client'][_0x4a664c(0x11a,_0x255f87._0x3d6e72,_0x255f87._0x5428db,-_0x255f87._0x27e2b5)]({'name':_0x5a402f['tool'][_0x208feb(_0x255f87._0xb77996,_0x255f87._0x333335,_0x255f87._0x94c271,_0x255f87._0x300a4f)],'arguments':isJsonObject(_0x601894)?_0x601894:{}});if(_0x2b3f4e[_0x4a664c(-_0x255f87._0x437af1,-_0x255f87._0x1b9796,-0xd0,-_0x255f87._0x4d7ce8)])throw toMcpSafeError({'serverName':_0x5a402f[_0x208feb(_0x255f87._0x52501c,_0x255f87._0x585cdb,_0x255f87._0xdcb035,0x1ab)],'operation':_0x208feb(0x102,-0xb4,_0x255f87._0x5d9f53,-0x1e),'error':_0x2b3f4e});}catch(_0x14acc7){throw extractOwnedMcpSafeError(_0x14acc7)??toMcpSafeError({'serverName':_0x5a402f[_0x208feb(0x2fb,0x254,_0x255f87._0x4dadf7,_0x255f87._0x43ba79)],'operation':_0x208feb(_0x255f87._0x179554,0x1f3,0xc,0x140),'error':_0x14acc7});}function _0x4a664c(_0x5e8053,_0x51be85,_0x590e89,_0x22eac4){return _0x3c40a5(_0x22eac4- -_0x37a4ec._0x1493dd,_0x51be85-_0x37a4ec._0x224e6c,_0x51be85,_0x22eac4-0x20);}return yield createToolOutput(formatMcpContent(_0x2b3f4e),{'serverName':_0x5a402f['serverName'],'toolName':_0x5a402f[_0x4a664c(-_0x255f87._0x304950,_0x255f87._0x1b142c,_0x255f87._0x4fa5a2,-0x52)][_0x4a664c(-_0x255f87._0x303b78,-_0x255f87._0x31e941,-_0x255f87._0x5dae7d,-_0x255f87._0x9720fa)],'result':_0x2b3f4e}),void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x433a4a){let _0x3d0187=_0x433a4a;return{'get'(){return _0x3d0187;},'set'(_0x3e7878){_0x3d0187=_0x3e7878;}};}function _0x515b8f(_0x1de3df,_0x20847d,_0x1283fa,_0x378d0a){return _0x2a2f(_0x378d0a-0x327,_0x1283fa);}function resolveMcpTimeoutMs(_0x5346f2,_0x31d02f){const _0x5ab901={_0x15a962:0x11,_0x2c0c53:0x11a,_0x5434f4:0xfa},_0x2832c1={_0x1cbbba:0x8e};function _0x133c23(_0x1e295f,_0x2bd684,_0x38954f,_0x479c62){return _0x1c3a85(_0x1e295f-_0x2832c1._0x1cbbba,_0x1e295f,_0x38954f-0x191,_0x479c62-0x17b);}return _0x5346f2[_0x133c23(_0x5ab901._0x15a962,0xbf,_0x5ab901._0x2c0c53,_0x5ab901._0x5434f4)]??_0x31d02f??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x493214,_0x1815b1){const _0x1288cd={_0xa14184:0x1e},_0x47d87f={_0x598bd7:0x1f2,_0x487a22:0x4fc};function _0x4c7b7b(_0x59ccd8,_0x32308d,_0xf5888d,_0x1b089c){return _0x515b8f(_0x59ccd8-_0x47d87f._0x598bd7,_0x32308d-0x1a5,_0x32308d,_0x1b089c- -_0x47d87f._0x487a22);}return(_0x1815b1?extractOwnedMcpSafeError(_0x493214[_0x4c7b7b(-0x23,-0x10d,-0xa7,_0x1288cd._0xa14184)]):void 0x0)??createOwnedMcpSafeError(_0x493214);}function createMcpGenerationLifecycle(_0x3ba55a){const _0x2d8881={_0x245ebf:0x126},_0x2353b3={_0x577795:0x128},_0x569e51={_0x31dd83:0x31f,_0x25b912:0x15e,_0x1a8f4f:0x2ca,_0x5e1aa4:0xbf,_0x451fa2:0x276,_0x984f6d:0x41e};let _0x48084d=0x0,_0x160f6a=![],_0x387c53=![],_0x56164f,_0x119a2e,_0x44fe38;const _0x4c4a4e=()=>{const _0x2503b9={_0x5ec0a0:0x1d8};if(!_0x160f6a||_0x48084d!==0x0||_0x387c53)return;_0x387c53=!![];function _0x3d2be0(_0x382bd8,_0x4cdf8b,_0x24d2f9,_0x35d6a7){return _0x2a2f(_0x4cdf8b- -0xe8,_0x35d6a7);}function _0x1a33bc(_0x542d93,_0x435beb,_0x5d2d15,_0x5eddd5){return _0x2a2f(_0x5eddd5-_0x2503b9._0x5ec0a0,_0x5d2d15);}void Promise['resolve']()[_0x3d2be0(_0x569e51._0x31dd83,_0x569e51._0x25b912,_0x569e51._0x1a8f4f,_0x569e51._0x5e1aa4)](_0x3ba55a)[_0x1a33bc(0x434,0x47c,_0x569e51._0x451fa2,_0x569e51._0x984f6d)](_0x119a2e,_0x44fe38);};return{'acquire'(){function _0x358570(_0x4ff786,_0x306dc0,_0x1b71dd,_0x29f57e){return _0x2a2f(_0x4ff786- -_0x2353b3._0x577795,_0x306dc0);}if(_0x160f6a)throw new Error(_0x358570(0xb4,0x75,0xee,_0x2d8881._0x245ebf));_0x48084d+=0x1;let _0x168fe6=![];return()=>{if(_0x168fe6)return;_0x168fe6=!![],_0x48084d-=0x1,_0x4c4a4e();};},'retire'(){return!_0x56164f&&(_0x56164f=new Promise((_0xe34a78,_0x2fcae9)=>{_0x119a2e=_0xe34a78,_0x44fe38=_0x2fcae9;})),_0x160f6a=!![],_0x4c4a4e(),_0x56164f;}};}function buildMcpHttpHeaders(_0x10df73){const _0x19c4c3={_0x3289ec:0x1b9,_0x1b9ba9:0x78,_0x3d9c02:0x25c,_0x25c605:0x16a,_0x398430:0xcd,_0x2c2bd7:0x1de,_0x2c1a64:0xa8,_0x38934c:0x15f,_0x412086:0x60,_0x30b948:0x7f,_0x56996f:0x199,_0x3d442d:0x60,_0x1e28bf:0x25f,_0x27dec0:0x86,_0x4fa38e:0xa0,_0x552862:0x356,_0xc82b1e:0x17d,_0x34d554:0x103},_0x1096d3={_0x4b7de5:0x13f},_0x192a81={_0x135095:0x1ce},_0x5e4571={..._0x10df73[_0x18c373(_0x19c4c3._0x3289ec,_0x19c4c3._0x1b9ba9,_0x19c4c3._0x3d9c02,_0x19c4c3._0x25c605)]??{}};_0x10df73[_0x18c373(_0x19c4c3._0x398430,0xfb,_0x19c4c3._0x2c2bd7,-_0x19c4c3._0x2c1a64)]?.['type']==='bearer'&&_0x10df73[_0x18c373(0xcd,_0x19c4c3._0x38934c,_0x19c4c3._0x412086,-_0x19c4c3._0x30b948)][_0x1bff66(_0x19c4c3._0x56996f,_0x19c4c3._0x3d442d,0x1da,_0x19c4c3._0x1e28bf)]&&_0x5e4571['Authorization']===void 0x0&&(_0x5e4571[_0x1bff66(-0x174,0x78,-0x35,-0x165)]='Bearer\x20'+_0x10df73[_0x18c373(0xcd,-_0x19c4c3._0x27dec0,-0xf3,-_0x19c4c3._0x4fa38e)][_0x18c373(0x383,0x2b5,_0x19c4c3._0x552862,0x453)]);function _0x1bff66(_0x3641c2,_0x1ac876,_0x9551bc,_0x4522a1){return _0x1c3a85(_0x3641c2-_0x192a81._0x135095,_0x3641c2,_0x9551bc-0xf6,_0x9551bc- -0x41);}function _0x18c373(_0xcbb5ff,_0x57caf7,_0x1a0c67,_0x443707){return _0x1c3a85(_0xcbb5ff-0x119,_0x57caf7,_0x1a0c67-_0x1096d3._0x4b7de5,_0xcbb5ff-0x168);}return Object[_0x18c373(_0x19c4c3._0xc82b1e,0x90,0x75,_0x19c4c3._0x34d554)](_0x5e4571)['length']>0x0?_0x5e4571:void 0x0;}async function connectMcpServer(_0x103755,_0xeeee58,_0x58a5f6){const _0x746408={_0x38ebbe:0x493,_0xb4914b:0x417,_0x50e855:0x33b,_0x8bf8ae:0x3df,_0x2d22d6:0x535,_0x328589:0x625,_0x12085c:0x44d,_0x3a9c72:0x61d,_0x3618d3:0x55d,_0x204c0c:0x609,_0x189f0f:0x15e,_0x5b39e7:0x26,_0x582c7b:0x171,_0x367bb3:0x705,_0x1a6093:0x650,_0x2b0191:0x738,_0x58fff5:0x741,_0x4765fd:0x30d,_0x289b9a:0x23f,_0x2ef656:0x2fc,_0x28ea45:0x293,_0x5dea03:0x3ce,_0x19709d:0x46a,_0xc6f036:0x16e,_0x3dd3fe:0x11e,_0x317739:0x726,_0x2cee91:0x59f,_0x6b8e59:0x7c,_0x3f27d1:0x192,_0x4d4c08:0x5cd,_0x3c8710:0x32f,_0x5b59c4:0x308,_0x2a9553:0x267,_0x4d1e8c:0x624,_0x24af49:0x6ad,_0x137ac8:0x597,_0x5168a5:0x1cc,_0x302f30:0x4a5,_0x51a090:0x502,_0x1bd586:0x4aa,_0x28987b:0x229,_0xc8ed2a:0x2a0,_0x5f2753:0x5af,_0x59260d:0x71b,_0x5a9972:0x6af,_0x96a54a:0x2be,_0x5c1bdc:0x4ca,_0x3f54a9:0x3bc,_0x5a4570:0x5a8,_0xc1a698:0x6a7,_0x320617:0x5bb,_0x56aa3a:0x13f,_0x19402c:0x217,_0x32633f:0x6c3,_0x5265d5:0x511,_0x4aee24:0x279,_0x183371:0x1b4,_0x18a1ed:0x254,_0x17d9c0:0x2fd,_0x324a89:0x1ca,_0x1ec90e:0x252,_0x57b168:0x32a,_0x4fcf75:0x596,_0x27399f:0x4d8,_0x2e0fc2:0x5f6,_0xdeb262:0x368,_0x67a952:0x630,_0xaac0c4:0x477,_0x3d0b88:0x6dc},_0x322182={_0x3e25ef:0x68e,_0x352c15:0x540,_0x1b1962:0x36a,_0x1f74f6:0x4e8,_0x45f896:0x3ad,_0x5b432b:0x568,_0x1b5006:0x40b,_0x35f07b:0x731,_0x5b8271:0x85f},_0x3a0812={_0x299bc4:0x23b},_0x1768a2={_0x231a1e:0x36,_0x4cf9ee:0x13a,_0x45ee39:0x132,_0x3298bd:0x12,_0x23d460:0x1d2},_0x468ff5={_0x20f335:0x85,_0x595af2:0x4a},_0x596a92={_0x5283a5:0x156},_0x3034c8={_0x5a6678:0x17f},_0xc915c={_0x4108e4:0x13},_0x110c9f={_0x13f46c:0x2a},_0x3f00d5={_0x5aa64a:0x3f6,_0xaacb80:0x13,_0x30f0e0:0xff,_0x2514fc:0x127,_0x4a31a1:0x1a9,_0x50ce9f:0x12b,_0x487079:0x56,_0x5ddee6:0x310,_0x4100b7:0x2ae},_0x3db4cc={_0x2e4aad:0x11e,_0x2f823e:0x14,_0x9a2cb0:0x125,_0x3820ad:0xe},_0xbe2fa5={_0x1614de:0x5bd},_0xfc0920={_0x473223:0x17e},_0x3537fe={_0x551ddf:0x52,_0x1b1605:0xe3},_0x41fa32={_0x53656d:0xc6},_0x1b9968={_0x2c8f1a:0xb};function _0x174f11(_0x5c0987,_0x201035,_0x60955d,_0x15df92){return _0x1c3a85(_0x5c0987-_0x1b9968._0x2c8f1a,_0x201035,_0x60955d-0x1e0,_0x5c0987-0x469);}const _0x20aede=new Client({'name':'nuvin','version':_0x174f11(_0x746408._0x38ebbe,0x4d5,0x637,0x3bb)}),_0x44f034=_0x58a5f6?.[_0x2e3ffb(0x490,_0x746408._0xb4914b,_0x746408._0x50e855,_0x746408._0x8bf8ae)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x217447=new Set();let _0x3d76c7,_0x17e586=![];const _0x1e5e7b=()=>{if(_0x17e586||_0x3d76c7)return;function _0x122742(_0x1c2330,_0x40a3e0,_0x2d9ec7,_0x67018c){return _0x2e3ffb(_0x1c2330-_0x41fa32._0x53656d,_0x40a3e0-0x143,_0x67018c- -0x298,_0x40a3e0);}_0x3d76c7={'code':'mcp-transport-error','cause':new Error(_0x122742(-_0x3537fe._0x551ddf,-0x59,0x9f,_0x3537fe._0x1b1605))};for(const _0x3402e7 of _0x217447){try{_0x3402e7(_0x3d76c7);}catch{}}};function _0x2e3ffb(_0x36d564,_0x340dcd,_0x10b98c,_0x48e3c6){return _0x1c3a85(_0x36d564-0x1e9,_0x48e3c6,_0x10b98c-_0xfc0920._0x473223,_0x10b98c-0x239);}_0x20aede[_0x174f11(_0x746408._0x2d22d6,_0x746408._0x328589,0x6d3,_0x746408._0x12085c)]=()=>{const _0x27a1c3={_0x45a5b7:0xbe};function _0x19e7c4(_0x50b7ab,_0x21ca7e,_0x14dda1,_0x4c3f04){return _0x2e3ffb(_0x50b7ab-_0x27a1c3._0x45a5b7,_0x21ca7e-0x1ac,_0x50b7ab- -0x375,_0x14dda1);}function _0x2da3b0(_0x559c34,_0x201f5d,_0x446571,_0x337a29){return _0x174f11(_0x201f5d- -_0xbe2fa5._0x1614de,_0x559c34,_0x446571-0x1e7,_0x337a29-0xd4);}console[_0x2da3b0(-_0x3db4cc._0x2e4aad,-0x55,-0xda,-_0x3db4cc._0x2f823e)]('MCP\x20SDK\x20client\x20reported\x20a\x20recoverable\x20error',{'server':_0x103755,'code':_0x2da3b0(-_0x3db4cc._0x9a2cb0,-0x151,-0x2d2,_0x3db4cc._0x3820ad)});},_0x20aede[_0x174f11(_0x746408._0x3a9c72,_0x746408._0x3618d3,0x45e,_0x746408._0x204c0c)]=_0x1e5e7b;try{if(_0xeeee58[_0x2e3ffb(0x6e,0x27b,_0x746408._0x189f0f,-_0x746408._0x5b39e7)]===_0x2e3ffb(_0x746408._0x582c7b,0x2e5,0x326,0x497)||_0xeeee58[_0x174f11(0x5af,_0x746408._0x367bb3,_0x746408._0x1a6093,_0x746408._0x2b0191)]){if(!_0xeeee58[_0x174f11(0x5af,_0x746408._0x58fff5,0x519,0x670)])throw new Error(_0x174f11(0x3c2,0x581,_0x746408._0x4765fd,0x55e)+_0x103755+_0x2e3ffb(_0x746408._0x289b9a,_0x746408._0x2ef656,_0x746408._0x28ea45,0x223));if(_0xeeee58[_0x174f11(_0x746408._0x5dea03,_0x746408._0x19709d,0x459,0x472)]?.[_0x2e3ffb(0x2f9,_0x746408._0xc6f036,0x267,_0x746408._0x3dd3fe)]===_0x174f11(0x5c3,_0x746408._0x317739,0x5a1,_0x746408._0x2cee91)&&!_0x58a5f6?.['oauth'])throw new Error(_0x2e3ffb(_0x746408._0x6b8e59,0x2d4,_0x746408._0x3f27d1,0x90)+_0x103755+_0x174f11(_0x746408._0x4d4c08,0x6c3,0x515,0x651));const _0x31dc14=buildMcpHttpHeaders(_0xeeee58),_0x449303=_0xeeee58[_0x174f11(0x3ce,_0x746408._0x3c8710,0x29a,0x3c9)]?.[_0x2e3ffb(_0x746408._0x5b59c4,0x36b,_0x746408._0x2a9553,0x268)]===_0x2e3ffb(0x3bd,0x257,0x393,0x36f)&&_0x58a5f6?.[_0x174f11(0x5c3,0x57b,_0x746408._0x4d1e8c,0x4da)]?createMcpOAuthProvider({'serverName':_0x103755,'callbackUrl':_0x58a5f6[_0x174f11(0x5c3,0x52e,_0x746408._0x24af49,_0x746408._0x137ac8)][_0x2e3ffb(_0x746408._0x5168a5,0x2f9,0x37d,_0x746408._0x302f30)],'storageDir':_0x58a5f6['oauth'][_0x2e3ffb(_0x746408._0x51a090,0x323,0x49c,0x4d3)],'config':_0xeeee58[_0x174f11(_0x746408._0x5dea03,_0x746408._0x1bd586,_0x746408._0x28987b,_0x746408._0xc8ed2a)],'onRedirect':_0x4b6571=>_0x58a5f6['oauth']?.['onRedirect'](_0x103755,_0x4b6571)}):void 0x0,_0x1898c3=new StreamableHTTPClientTransport(new URL(_0xeeee58[_0x174f11(_0x746408._0x5f2753,_0x746408._0x59260d,0x448,_0x746408._0x5a9972)]),{'authProvider':_0x449303,'requestInit':_0x31dc14?{'headers':_0x31dc14}:void 0x0});await _0x20aede[_0x2e3ffb(_0x746408._0x96a54a,_0x746408._0x5c1bdc,0x479,0x506)](_0x1898c3,{'timeout':_0x44f034[_0x174f11(0x4d8,_0x746408._0x3f54a9,0x51c,_0x746408._0x5a4570)](),..._0x58a5f6?.[_0x174f11(_0x746408._0xc1a698,0x5ff,0x6f3,_0x746408._0x320617)]!==void 0x0?{'signal':_0x58a5f6['signal']}:{}});}else{if(!_0xeeee58[_0x2e3ffb(0xb4,0xe0,0x254,_0x746408._0x56aa3a)])throw new Error(_0x2e3ffb(0x2d4,0x227,0x192,_0x746408._0x19402c)+_0x103755+_0x174f11(0x595,0x60a,_0x746408._0x32633f,_0x746408._0x5265d5));const _0x59e247=new StdioClientTransport({'command':_0xeeee58[_0x2e3ffb(_0x746408._0x4aee24,_0x746408._0x183371,_0x746408._0x18a1ed,0x340)],'args':_0xeeee58[_0x2e3ffb(0x48d,0x264,_0x746408._0x17d9c0,0x258)]??[],'env':_0xeeee58['env'],'stderr':_0x174f11(0x37f,_0x746408._0x324a89,_0x746408._0x1ec90e,0x4b7)});await _0x20aede[_0x2e3ffb(_0x746408._0x57b168,_0x746408._0x4fcf75,0x479,0x344)](_0x59e247,{'timeout':_0x44f034[_0x174f11(_0x746408._0x27399f,0x503,_0x746408._0x2e0fc2,_0x746408._0xdeb262)](),..._0x58a5f6?.[_0x2e3ffb(_0x746408._0x67a952,0x2cf,_0x746408._0xaac0c4,0x37c)]!==void 0x0?{'signal':_0x58a5f6[_0x174f11(0x6a7,0x510,_0x746408._0x3d0b88,0x851)]}:{}});}}catch(_0x3698aa){throw createOwnedMcpSafeError({'serverName':_0x103755,'operation':'connect','error':_0x3698aa});}return{async 'listTools'(_0x5bc770){const _0x2bb803={_0x4cf176:0x13d};function _0xc6c7fa(_0x34170c,_0x63356,_0xcb788e,_0x48cdd8){return _0x174f11(_0x34170c- -0x4ff,_0x63356,_0xcb788e-_0x2bb803._0x4cf176,_0x48cdd8-0xcf);}const _0x726c1d=_0x5bc770?.[_0x293bac(0x2f6,_0x3f00d5._0x5aa64a,0x2b0,0x1db)]??_0x58a5f6?.['signal'];function _0x293bac(_0x1747f1,_0x231fe9,_0x4b9db0,_0x1d3740){return _0x2e3ffb(_0x1747f1-0x26,_0x231fe9-0x6,_0x1747f1- -0x181,_0x231fe9);}try{return await _0x20aede[_0x293bac(-_0x3f00d5._0xaacb80,-0x144,_0x3f00d5._0x30f0e0,0x17c)](void 0x0,{'timeout':_0x44f034[_0x293bac(_0x3f00d5._0x2514fc,-0x49,_0x3f00d5._0x4a31a1,_0x3f00d5._0x50ce9f)](),..._0x726c1d!==void 0x0?{'signal':_0x726c1d}:{}});}catch(_0x407b3f){throw createOwnedMcpSafeError({'serverName':_0x103755,'operation':_0xc6c7fa(0x1b0,_0x3f00d5._0x487079,_0x3f00d5._0x5ddee6,_0x3f00d5._0x4100b7),'error':_0x407b3f});}},'onTerminalError'(_0x51efeb){function _0x59c591(_0x1e0869,_0x2b4061,_0x5f564e,_0x2a273b){return _0x2e3ffb(_0x1e0869-_0x110c9f._0x13f46c,_0x2b4061-0x11e,_0x2b4061- -0x30c,_0x2a273b);}_0x217447[_0x59c591(-0x41,-_0x3034c8._0x5a6678,-0x340,-0x25d)](_0x51efeb);const _0x438354=_0x3d76c7;_0x438354&&queueMicrotask(()=>{const _0x10f91d={_0x3ded19:0x1ab,_0x5b3836:0x164};function _0x3e0096(_0x2503a4,_0x3bf136,_0x4927b9,_0x477049){return _0x59c591(_0x2503a4-0x147,_0x3bf136- -_0x10f91d._0x3ded19,_0x4927b9-_0x10f91d._0x5b3836,_0x2503a4);}if(_0x217447[_0x3e0096(-0x258,-0x1c9,-0x386,-_0xc915c._0x4108e4)](_0x51efeb))_0x51efeb(_0x438354);});function _0x2fd922(_0x844a74,_0x567006,_0x352787,_0x5bb5c4){return _0x174f11(_0x5bb5c4- -0x421,_0x567006,_0x352787-0xb1,_0x5bb5c4-0x127);}return()=>_0x217447[_0x59c591(-0x4d,0x3e,0x181,0x1a2)](_0x51efeb);},async 'callTool'(_0x5dff10){function _0x52bdd8(_0x32355e,_0x3dc821,_0x2875a4,_0x469b87){return _0x2e3ffb(_0x32355e-0x76,_0x3dc821-_0x596a92._0x5283a5,_0x469b87-0x10d,_0x32355e);}function _0x28bbdf(_0x3c320d,_0x2b6372,_0x4d8884,_0x5ba5e9){return _0x174f11(_0x3c320d- -0x4d3,_0x2b6372,_0x4d8884-_0x468ff5._0x20f335,_0x5ba5e9-_0x468ff5._0x595af2);}try{return await _0x20aede['request']({'method':_0x28bbdf(-_0x1768a2._0x231a1e,-_0x1768a2._0x4cf9ee,_0x1768a2._0x45ee39,_0x1768a2._0x3298bd),'params':_0x5dff10},CallToolResultSchema,{'timeout':_0x44f034[_0x52bdd8(0x30e,0x469,0x30d,0x3b5)]()});}catch(_0x5d4f44){throw createOwnedMcpSafeError({'serverName':_0x103755,'operation':_0x28bbdf(-0x12,0x5c,-_0x1768a2._0x23d460,-0x176),'error':_0x5d4f44});}},async 'close'(){const _0x479f9a={_0x8a5aa3:0x1e};_0x17e586=!![];function _0x5efe11(_0x2cb10c,_0x2a5ebe,_0x146529,_0x4f823c){return _0x174f11(_0x4f823c- -0x2b3,_0x2a5ebe,_0x146529-0x135,_0x4f823c-_0x479f9a._0x8a5aa3);}_0x20aede[_0x67bf22(0x426,_0x322182._0x3e25ef,0x62f,_0x322182._0x352c15)]=void 0x0,_0x20aede[_0x5efe11(0x466,0x50f,0x466,_0x322182._0x1b1962)]=void 0x0,_0x217447[_0x67bf22(_0x322182._0x1f74f6,0x2c1,0x3e5,_0x322182._0x45f896)]();function _0x67bf22(_0x21fe3c,_0x1f5e1f,_0x103b5a,_0x42d562){return _0x2e3ffb(_0x21fe3c-0xb6,_0x1f5e1f-0x8,_0x42d562-_0x3a0812._0x299bc4,_0x103b5a);}try{await _0x20aede[_0x5efe11(_0x322182._0x5b432b,0x41c,0x369,_0x322182._0x1b5006)]();}catch(_0x4770e5){throw createOwnedMcpSafeError({'serverName':_0x103755,'operation':_0x67bf22(_0x322182._0x35f07b,0x777,_0x322182._0x5b8271,0x6c9),'error':_0x4770e5});}}};}async function createMcpConnectionGeneration(_0x1df656){const _0x30fb07={_0x57ca20:0x6b,_0x4a19b4:0x1a3,_0x4f8c6f:0x185,_0x4411ad:0x3,_0x45b8c2:0x81,_0x49804f:0x24f,_0x48cb84:0x20,_0x55fb7a:0x124,_0x3920f4:0x11b,_0x1fcf96:0x5d,_0x33afc1:0xd4,_0xe503f4:0x68,_0x227378:0x26,_0x1d9a3b:0x199,_0x54696c:0xe5,_0x1b95da:0x125,_0xb30207:0x2bc,_0x13f893:0x351,_0x13699f:0x46,_0x42697c:0x12e,_0x3c41dd:0x16f,_0x3113cf:0x12f,_0x3402a0:0x60,_0x499074:0xf,_0x346236:0x1cb,_0x15a3fd:0x7a,_0x9050c3:0x10b,_0x3b18ae:0x66,_0x4ab92b:0x162},_0x4c74eb={_0xc09b2d:0x5b6,_0x3155c5:0x641},_0x29f812={_0x173665:0x1,_0x5f0c14:0x87,_0x306735:0x6c4},_0x54c80d={_0xd8a309:0x2e3,_0x37902d:0x289},_0x4d888f={_0x5bc7e6:0x19b,_0x3f5294:0x17f,_0x2bec13:0x5ac},_0x5babcc={_0x37c5e3:0x830,_0x7d946b:0x6c4,_0x3519a7:0x6f0,_0x21f0ac:0x6c0,_0x1632a5:0x544,_0x1262e0:0x7d0,_0x294762:0x7c8},_0x4ce5a6={_0xeda4dc:0xe8},_0x3051fb={_0x48003d:0x5a3,_0xbee80b:0x529,_0x1de00a:0x6b4,_0x7a7735:0x831,_0x113b10:0x7ef,_0x3d5bf5:0x154,_0x1e02f9:0xa},_0x47722c={_0x207bea:0x123,_0x2d8843:0xfa,_0x419940:0x1f1},_0x46d887={_0x5ed1e7:0x277},_0x45c20a={_0x3280b8:0x30},_0x1558ca={_0x2a1bee:0x120,_0x24442c:0x16},_0x26aeac=_0x1df656[_0x5e5b0c(-_0x30fb07._0x57ca20,-_0x30fb07._0x4a19b4,-_0x30fb07._0x4f8c6f,-0x37)]??connectMcpServer,_0x56602f=_0x1df656[_0x46898f(0x4f,0x9d,-_0x30fb07._0x4411ad,_0x30fb07._0x45b8c2)]===void 0x0,_0x226473={..._0x1df656[_0x5e5b0c(-_0x30fb07._0x49804f,-_0x30fb07._0x48cb84,-_0x30fb07._0x55fb7a,-_0x30fb07._0x3920f4)],'timeoutSource':_0x1df656['timeoutSource'],..._0x1df656[_0x46898f(0x4d,-_0x30fb07._0x1fcf96,_0x30fb07._0x33afc1,0x1e3)]!==void 0x0?{'signal':_0x1df656['signal']}:{}};let _0x5ef7ed;try{_0x5ef7ed=await _0x26aeac(_0x1df656['serverName'],_0x1df656['config'],_0x226473);}catch(_0x457d6a){throw mapOwnedMcpBoundaryError({'serverName':_0x1df656[_0x5e5b0c(_0x30fb07._0xe503f4,-0x159,0x8f,-_0x30fb07._0x227378)],'operation':_0x46898f(0x4f,_0x30fb07._0x1d9a3b,0x12,-_0x30fb07._0x54696c),'error':_0x457d6a},_0x56602f);}const _0x5194c6=new Set();let _0x385d72;const _0xadd48=_0x5ef7ed[_0x5e5b0c(-0x4,0x88,-0x2bd,-_0x30fb07._0x1b95da)]?.(_0x51b8b9=>{if(_0x385d72)return;_0x385d72=_0x51b8b9;for(const _0x26e1e4 of _0x5194c6)_0x26e1e4(_0x51b8b9);});let _0x496195=![];const _0x304fff=()=>{if(_0x496195)return;_0x496195=!![];function _0x281e40(_0x7f7d5d,_0x2c6f81,_0x3aa6e5,_0x44801b){return _0x46898f(_0x44801b-_0x1558ca._0x2a1bee,_0x2c6f81,_0x3aa6e5-_0x1558ca._0x24442c,_0x44801b-0xc1);}_0x5194c6[_0x281e40(-0x26f,-_0x45c20a._0x3280b8,-0xfd,-0x198)](),_0xadd48?.();};function _0x5e5b0c(_0x4e86e8,_0x21a480,_0xf112ed,_0x3edb31){return _0x1c3a85(_0x4e86e8-0xe2,_0x4e86e8,_0xf112ed-0x102,_0x3edb31- -_0x46d887._0x5ed1e7);}let _0x23fc40;function _0x46898f(_0x25385,_0x10497c,_0x50c227,_0x33cce6){return _0x1c3a85(_0x25385-_0x47722c._0x207bea,_0x10497c,_0x50c227-_0x47722c._0x2d8843,_0x25385- -_0x47722c._0x419940);}try{_0x23fc40=await _0x5ef7ed[_0x46898f(-_0x30fb07._0xb30207,-0x2c2,-_0x30fb07._0x13f893,-0x260)](_0x1df656[_0x46898f(0x4d,-_0x30fb07._0x13699f,-_0x30fb07._0x42697c,-0x130)]!==void 0x0?{'signal':_0x1df656[_0x5e5b0c(_0x30fb07._0x3c41dd,-0xb2,-_0x30fb07._0x3113cf,-0x39)]}:void 0x0);}catch(_0xafa4fd){const _0x82a76f=mapOwnedMcpBoundaryError({'serverName':_0x1df656[_0x46898f(_0x30fb07._0x3402a0,0x17,0x14f,_0x30fb07._0x499074)],'operation':_0x46898f(0x55,_0x30fb07._0x346236,_0x30fb07._0x15a3fd,_0x30fb07._0x9050c3),'error':_0xafa4fd},_0x56602f);_0x304fff();try{await _0x5ef7ed['close']();}catch{}throw _0x82a76f;}const _0x52c58f=[..._0x23fc40[_0x46898f(-0x13,_0x30fb07._0x3b18ae,-0xce,-_0x30fb07._0x4ab92b)]],_0x38da03={async 'callTool'(_0x59c40a){const _0x557de1={_0x226cce:0xb1,_0x307d8d:0x71c},_0x44577c={_0x429e55:0x26,_0x29605a:0x113,_0x26474b:0x229};function _0xc278b9(_0x2a0c2f,_0x276200,_0x17a9af,_0x4f7b6f){return _0x5e5b0c(_0x2a0c2f,_0x276200-_0x44577c._0x429e55,_0x17a9af-_0x44577c._0x29605a,_0x17a9af-_0x44577c._0x26474b);}function _0x2e8626(_0x285377,_0x17156b,_0x2608b2,_0x4bfbec){return _0x5e5b0c(_0x2608b2,_0x17156b-_0x557de1._0x226cce,_0x2608b2-0x8b,_0x4bfbec-_0x557de1._0x307d8d);}try{return await _0x5ef7ed[_0x2e8626(_0x3051fb._0x48003d,0x5f9,_0x3051fb._0xbee80b,_0x3051fb._0x1de00a)](_0x59c40a);}catch(_0x18f423){throw mapOwnedMcpBoundaryError({'serverName':_0x1df656[_0x2e8626(_0x3051fb._0x7a7735,0x79c,_0x3051fb._0x113b10,0x6f6)],'operation':_0xc278b9(-0x1a9,_0x3051fb._0x3d5bf5,_0x3051fb._0x1e02f9,0xd1),'error':_0x18f423},_0x56602f);}}},_0x20cc99=createMcpGenerationLifecycle(async()=>{_0x304fff();function _0x4b07a8(_0x3f3d73,_0x11d00a,_0x9e7856,_0x865612){return _0x46898f(_0x9e7856-0x660,_0x865612,_0x9e7856-0xda,_0x865612-0xdb);}function _0xbfcd02(_0x2f578f,_0x7bc676,_0x140427,_0x359e85){return _0x5e5b0c(_0x140427,_0x7bc676-_0x4ce5a6._0xeda4dc,_0x140427-0x1d4,_0x7bc676-0x293);}try{await _0x5ef7ed[_0x4b07a8(0x70f,_0x5babcc._0x37c5e3,_0x5babcc._0x7d946b,0x73d)]();}catch(_0x318d81){throw mapOwnedMcpBoundaryError({'serverName':_0x1df656[_0x4b07a8(_0x5babcc._0x3519a7,0x871,_0x5babcc._0x21f0ac,0x776)],'operation':_0x4b07a8(_0x5babcc._0x1632a5,_0x5babcc._0x1262e0,0x6c4,_0x5babcc._0x294762),'error':_0x318d81},_0x56602f);}});return{'client':_0x5ef7ed,'descriptors':_0x52c58f,'lifecycle':_0x20cc99,'projectTools'(_0x5742a2){return projectMcpTools({..._0x5742a2,'descriptors':_0x52c58f,'client':_0x38da03,'lifecycle':_0x20cc99});},'onTerminalError'(_0x243bc0){const _0x4f3e04={_0x5241e0:0x1d2,_0x4ff327:0x2e0,_0x4a4407:0x2ee,_0x4df6fc:0x48f};if(_0x496195)return()=>{};_0x5194c6[_0x1c7627(_0x54c80d._0xd8a309,_0x54c80d._0x37902d,0x213,0x1f5)](_0x243bc0);const _0x506b44=_0x385d72;function _0x1c7627(_0x3b6631,_0x372a00,_0x5890ca,_0x3ecc40){return _0x5e5b0c(_0x3b6631,_0x372a00-_0x4d888f._0x5bc7e6,_0x5890ca-_0x4d888f._0x3f5294,_0x372a00-_0x4d888f._0x2bec13);}return _0x506b44&&queueMicrotask(()=>{function _0x5473dd(_0x2a28dd,_0x1383a5,_0x56fbab,_0x3b7f68){return _0x1c7627(_0x56fbab,_0x1383a5- -0x10a,_0x56fbab-0x130,_0x3b7f68-0xc5);}if(_0x5194c6[_0x5473dd(_0x4f3e04._0x5241e0,_0x4f3e04._0x4ff327,_0x4f3e04._0x4a4407,_0x4f3e04._0x4df6fc)](_0x243bc0))_0x243bc0(_0x506b44);}),()=>_0x5194c6['delete'](_0x243bc0);},'retire'(){_0x304fff();function _0x5a1cd4(_0x46947a,_0x2fe658,_0x14500e,_0x31472d){return _0x5e5b0c(_0x46947a,_0x2fe658-_0x29f812._0x173665,_0x14500e-_0x29f812._0x5f0c14,_0x31472d-_0x29f812._0x306735);}return _0x20cc99[_0x5a1cd4(0x4ab,_0x4c74eb._0xc09b2d,_0x4c74eb._0x3155c5,0x4e4)]();}};}function getCommand(_0x108a27){const _0x1da338={_0x473767:0x1b2,_0x3d5e22:0x2b7,_0x59566b:0x17c,_0x1b71ab:0x217,_0x6e5a1b:0x14b,_0x242010:0x216,_0x191c79:0x1bc,_0x2e8324:0x18a,_0x164054:0x9b,_0x2b388f:0x101,_0x226244:0x25e},_0x58894d={_0x34feea:0x187,_0xc2e93f:0x62e};function _0x351a9a(_0x3798f7,_0x5725d5,_0x3c10be,_0x33cbfd){return _0x515b8f(_0x3798f7-0x38,_0x5725d5-_0x58894d._0x34feea,_0x3798f7,_0x5725d5- -_0x58894d._0xc2e93f);}if(_0x108a27&&typeof _0x108a27===_0x351a9a(-0x5d,-_0x1da338._0x473767,-_0x1da338._0x3d5e22,-_0x1da338._0x59566b)&&!Array[_0x1dd78c(-_0x1da338._0x1b71ab,-_0x1da338._0x6e5a1b,-0x102,-_0x1da338._0x242010)](_0x108a27)&&typeof _0x108a27[_0x351a9a(-_0x1da338._0x191c79,-_0x1da338._0x2e8324,-0xec,-0xc6)]===_0x1dd78c(-_0x1da338._0x164054,-0x1c5,-0x30f,-0x176))return _0x108a27[_0x1dd78c(-0x32c,-0x1c9,-_0x1da338._0x2b388f,-_0x1da338._0x226244)];function _0x1dd78c(_0xe7345f,_0x439af4,_0x1c4170,_0x113ea6){return _0x1c3a85(_0xe7345f-0x198,_0x1c4170,_0x1c4170-0x94,_0x439af4- -0x1e4);}return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=[_0x1c3a85(0x119,-0xf6,0x58,-0x27),_0x1c3a85(0x187,0x1cb,0xed,0x124),'docs/plans/2026-04-16-public-tools-api-implementation.md',_0x515b8f(0x331,0x43a,0x5ab,0x40b),_0x1c3a85(0x77,0x78,-0xdc,-0xab),_0x1c3a85(0x381,0x1b8,0x317,0x28b),_0x515b8f(0x333,0x2bc,0x369,0x43b),_0x515b8f(0x589,0x601,0x673,0x6a7),_0x1c3a85(-0x150,-0x8,-0x52,-0x82),_0x1c3a85(-0x53,-0x173,-0x9f,-0x3c),'src/formats/provider-adapters.ts',_0x515b8f(0x41d,0x25a,0x23b,0x3b5),_0x515b8f(0x50d,0x66b,0x51e,0x6c2),_0x1c3a85(0x98,0x11,-0x19c,-0x69),_0x1c3a85(-0xd9,-0x74,-0x65,0xc5),_0x1c3a85(-0x100,-0x1,-0x11d,-0x1f),'src/agent/turn-engine.test.ts'][_0x515b8f(0x58e,0x6c7,0x76e,0x5bd)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x1c3a85(0x37d,0x287,0xd5,0x1db),'description':'Executes\x20a\x20shell\x20command','input_schema':{'type':_0x1c3a85(0xf4,-0xd9,-0xcf,-0xd),'properties':{'command':{'type':_0x1c3a85(-0xf6,0x8d,0x56,0x1f)}},'required':[_0x1c3a85(-0x142,0x1ad,0x19,0x1b)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0xcaaa2){return{'output':_0xcaaa2,'structured':{'value':_0xcaaa2}};}function createUnknownToolResult(_0xc522b2){const _0x2836eb={_0x11a0d9:0x2ff,_0x2daab0:0x397,_0x3ea3ce:0x3b7,_0x1d2f12:0x337,_0x7fbd3:0x3f7,_0x9567ef:0x392,_0xe34a3c:0x366,_0x5433a1:0x220,_0x23ff64:0x4e3,_0x1eccfd:0x32d},_0xb13bac={_0x34d19f:0x10b,_0x4aa495:0x177,_0x5bc4eb:0x1ef},_0xdff6ad={_0x388067:0x1f,_0x423af2:0xb6};function _0xfac6a9(_0x476055,_0xbac4a8,_0x5dfe45,_0x3b8abd){return _0x515b8f(_0x476055-0x13,_0xbac4a8-_0xdff6ad._0x388067,_0x3b8abd,_0x476055- -_0xdff6ad._0x423af2);}function _0x451dd4(_0x5279dd,_0x19c049,_0x5db691,_0x58ea85){return _0x1c3a85(_0x5279dd-_0xb13bac._0x34d19f,_0x5db691,_0x5db691-_0xb13bac._0x4aa495,_0x5279dd-_0xb13bac._0x5bc4eb);}return{'callId':_0xc522b2['id'],'toolName':_0xc522b2[_0x451dd4(_0x2836eb._0x11a0d9,_0x2836eb._0x2daab0,_0x2836eb._0x3ea3ce,_0x2836eb._0x1d2f12)],'status':_0x451dd4(0x280,_0x2836eb._0x7fbd3,_0x2836eb._0x9567ef,_0x2836eb._0xe34a3c),'output':_0x451dd4(0x134,0x189,0x199,_0x2836eb._0x5433a1)+_0xc522b2[_0xfac6a9(_0x2836eb._0x23ff64,0x4be,_0x2836eb._0x1eccfd,0x529)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x56ca85,_0x400066){return{'callId':_0x56ca85['id'],'toolName':_0x56ca85['name'],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x56ca85['input']),'exitCode':0x0},'chunks':[_0x400066],'meta':createMeta()};}function createMockToolRuntime(){const _0x21e734={_0x32df6a:0x329,_0x480e9b:0x3e3},_0x17bbf2={_0x3a7db9:0x5c2,_0x595b22:0x36e},_0x5af1e3={_0x226c54:0x190},_0x47bab0=async(_0x5e9dab,_0x3d1491)=>{if(_0x5e9dab['name']!==_0x38ef39(0x639,_0x17bbf2._0x3a7db9,0x4cd,_0x17bbf2._0x595b22))return createUnknownToolResult(_0x5e9dab);const _0x593f70=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0x38ef39(_0x4ec0c3,_0x4e02d7,_0x5dbf81,_0x411f65){return _0x2a2f(_0x5dbf81-_0x5af1e3._0x226c54,_0x4e02d7);}return createSuccessToolResult(_0x5e9dab,_0x593f70);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x4e4d89,_0x2833b9){const _0x3ab154={_0x4e42fc:0x330};function _0x360b02(_0x221a4,_0x1d208d,_0x3c8350,_0x4b763e){return _0x2a2f(_0x1d208d-_0x3ab154._0x4e42fc,_0x3c8350);}return await Promise['all'](_0x4e4d89[_0x360b02(_0x21e734._0x32df6a,_0x21e734._0x480e9b,0x4a9,0x4bd)](async _0x52dd31=>{return await _0x47bab0(_0x52dd31,_0x2833b9);}));},async 'execute'(_0x4c40ee,_0xe1633c){return await _0x47bab0(_0x4c40ee,_0xe1633c);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x267acb={_0x5cc9b1:0x91e},_0x5defbb={_0x286c80:0xa5};function _0x5bbd6a(_0x23132f,_0x478ba8,_0x157263,_0xb2f68f){return _0x1c3a85(_0x23132f-0xda,_0xb2f68f,_0x157263-_0x5defbb._0x286c80,_0x23132f-0x509);}return delegatedRunCounter+=0x1,_0x5bbd6a(0x762,_0x267acb._0x5cc9b1,0x6fa,0x5c2)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x53f23c,_0x28c7d3){const _0x70877c={_0x3fce1f:0x362},_0x341787={_0x5eeec0:0x286};function _0x288d07(_0xc554de,_0x299ad7,_0x4a5940,_0x3b8cde){return _0x1c3a85(_0xc554de-0x181,_0x3b8cde,_0x4a5940-0x115,_0x4a5940-_0x341787._0x5eeec0);}return typeof _0x53f23c===_0x288d07(0x3a1,0x35b,0x4d0,_0x70877c._0x3fce1f)?await _0x53f23c(_0x28c7d3):_0x53f23c;}function awaitWithAbort2(_0x1d86d0,_0x2f15a0){const _0x26882d={_0x38539b:0x337,_0x14a89f:0x35f,_0x3df52:0x1db};return throwIfAborted(_0x2f15a0),new Promise((_0x3da4e4,_0x252afe)=>{const _0x3d8378={_0x570134:0x26};let _0x5d44c5=![];function _0x2b1cbf(_0xd67400,_0x1fe073,_0x3268fa,_0x58a9b9){return _0x2a2f(_0x3268fa- -0x6b,_0x1fe073);}const _0x4b928e=addAbortListener(_0x2f15a0,()=>{const _0x4d01ab={_0x263f4e:0xe2};if(_0x5d44c5)return;function _0x54218f(_0x5b216f,_0x2a71a0,_0x21cb89,_0x4ac99c){return _0x2a2f(_0x5b216f- -_0x4d01ab._0x263f4e,_0x4ac99c);}_0x5d44c5=!![],_0x252afe(toAbortError(_0x2f15a0[_0x54218f(_0x3d8378._0x570134,-0x86,0x1c9,-0xbe)]));});_0x1d86d0[_0x2b1cbf(_0x26882d._0x38539b,_0x26882d._0x14a89f,_0x26882d._0x3df52,0x1a2)](_0x2d472f=>{if(_0x5d44c5)return;_0x5d44c5=!![],_0x4b928e(),_0x3da4e4(_0x2d472f);},_0xe66489=>{if(_0x5d44c5)return;_0x5d44c5=!![],_0x4b928e(),_0x252afe(_0xe66489);});});}function getDelegatedAgentDefinition(_0x3bd5e3,_0x46ba06){const _0x15dc85={_0x54cef2:0x3ce,_0xc6ef87:0x156,_0x196d31:0x22b},_0x464e0f={_0x23b6f7:0x235};function _0x1d6177(_0xddd944,_0x4c5a66,_0x161b0e,_0x42543f){return _0x1c3a85(_0xddd944-0x51,_0x161b0e,_0x161b0e-0x15f,_0xddd944-_0x464e0f._0x23b6f7);}return _0x3bd5e3[_0x1d6177(0x2c2,_0x15dc85._0x54cef2,_0x15dc85._0xc6ef87,_0x15dc85._0x196d31)]?.[_0x46ba06];}function createRunSummary(_0x3d56fe){const _0x85f1b1={_0x39c147:0x1a,_0x51eaa1:0x18b,_0x33c998:0x8e,_0x135821:0x14b,_0x2ce144:0x1be,_0x2fc4e0:0xa,_0x568304:0x6c,_0x4052d2:0x199,_0x1cdfa9:0xd,_0xd0e463:0x42,_0xd68f95:0x154,_0x4f1a0e:0x13c,_0x55bc2c:0x9f,_0x21361b:0x18c,_0x183312:0x49,_0x31c10a:0x101,_0x4cbe11:0x27f,_0x5790bd:0x301,_0x2ba63c:0x18c},_0x4ff650={_0x4aff4c:0x157};function _0x147fa9(_0x538fba,_0x40e5ef,_0x20c885,_0x2254e9){return _0x1c3a85(_0x538fba-0x11a,_0x2254e9,_0x20c885-0x1c9,_0x40e5ef-_0x4ff650._0x4aff4c);}function _0x25c8a8(_0x3507c4,_0x23caee,_0xb532d3,_0x58d317){return _0x515b8f(_0x3507c4-0x162,_0x23caee-0xb4,_0x58d317,_0xb532d3- -0x437);}return{'runId':_0x3d56fe['runId'],'agentId':_0x3d56fe['agentId'],..._0x3d56fe[_0x25c8a8(_0x85f1b1._0x39c147,-_0x85f1b1._0x51eaa1,-_0x85f1b1._0x33c998,-0x1ea)]!==void 0x0?{'sessionId':_0x3d56fe['sessionId']}:{},'status':_0x3d56fe[_0x147fa9(0x9a,_0x85f1b1._0x135821,0x30a,_0x85f1b1._0x2ce144)],'parentSessionId':_0x3d56fe[_0x25c8a8(_0x85f1b1._0x2fc4e0,-0x205,-_0x85f1b1._0x568304,0x75)],..._0x3d56fe[_0x147fa9(0x12d,_0x85f1b1._0x4052d2,0x18d,0x274)]!==void 0x0?{'originToolCallId':_0x3d56fe[_0x25c8a8(-_0x85f1b1._0x1cdfa9,_0x85f1b1._0xd0e463,0x94,0x21c)]}:{},..._0x3d56fe[_0x147fa9(0x12e,_0x85f1b1._0xd68f95,_0x85f1b1._0x4f1a0e,0x1e0)]!==void 0x0?{'errorMessage':_0x3d56fe[_0x147fa9(0xce,0x154,0x52,0x112)]}:{},..._0x3d56fe[_0x25c8a8(_0x85f1b1._0x55bc2c,0x328,_0x85f1b1._0x21361b,_0x85f1b1._0x183312)]?.[_0x25c8a8(_0x85f1b1._0x31c10a,0x3c5,_0x85f1b1._0x4cbe11,0x1b4)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x3d56fe[_0x25c8a8(_0x85f1b1._0x5790bd,0x1f6,_0x85f1b1._0x2ba63c,0x14b)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x4310d7,_0x499777){const _0x71cec2={_0x556d3a:0x45d,_0x2997c4:0x54a,_0x7afad5:0x432,_0x1268df:0x2f5,_0x3832aa:0x300,_0x5e985c:0x50e,_0x34bf27:0x636},_0x4a7690={_0x275b65:0x138},_0x188b5a={_0x587a69:0xd0,_0x5b76dc:0x11b},_0x2e9d95=createRunSummary(_0x4310d7),_0x234997=_0x2e9d95[_0x1b9375(0x5c5,_0x71cec2._0x556d3a,0x5e8,_0x71cec2._0x2997c4)];function _0xecc605(_0x407f4f,_0x2df289,_0x4d6b84,_0x5c5723){return _0x1c3a85(_0x407f4f-_0x188b5a._0x587a69,_0x407f4f,_0x4d6b84-_0x188b5a._0x5b76dc,_0x2df289-0x38);}function _0x1b9375(_0x5d19cd,_0x159594,_0x45855c,_0xde06bd){return _0x1c3a85(_0x5d19cd-_0x4a7690._0x275b65,_0x159594,_0x45855c-0x1a9,_0x5d19cd-0x413);}return createToolOutput(typeof _0x234997===_0x1b9375(_0x71cec2._0x7afad5,_0x71cec2._0x1268df,_0x71cec2._0x3832aa,0x3ca)&&_0x234997[_0x1b9375(_0x71cec2._0x5e985c,_0x71cec2._0x34bf27,0x50f,0x631)]>0x0?_0x234997:_0x499777,_0x2e9d95);}function getRunTerminalErrorMessage(_0x41b5f8){const _0x40a0e7={_0x5cde2e:0x5c8,_0x362eb7:0x4e4,_0x5d1586:0x6f0,_0x155da2:0x636,_0x343ef1:0x743,_0x4f0a7d:0x508,_0x3977c9:0x44c,_0x17f410:0x505,_0x52c6c3:0x485,_0x2101ef:0x43a,_0x3c95e3:0x5f8,_0x4f5636:0x4f9,_0x3cad85:0x4f5,_0x21d845:0x52c,_0x409fad:0x5c9},_0x4fc322={_0x55da25:0x4c},_0x48c96b={_0x1d21fc:0x20};function _0x408f0f(_0x2e8d29,_0x1e6fcd,_0x4836f9,_0x3a291d){return _0x1c3a85(_0x2e8d29-_0x48c96b._0x1d21fc,_0x3a291d,_0x4836f9-0x13f,_0x4836f9-0x458);}const _0x58df2b=_0x41b5f8?.[_0x16c1da(_0x40a0e7._0x5cde2e,_0x40a0e7._0x362eb7,_0x40a0e7._0x5d1586,_0x40a0e7._0x155da2)][_0x16c1da(0x63f,0x57d,_0x40a0e7._0x343ef1,0x672)]['at'](-0x1);function _0x16c1da(_0x3862e0,_0x921e2,_0x38b25b,_0x52656f){return _0x1c3a85(_0x3862e0-0x153,_0x38b25b,_0x38b25b-_0x4fc322._0x55da25,_0x52656f-0x3f4);}if(_0x58df2b?.[_0x408f0f(_0x40a0e7._0x4f0a7d,0x42c,_0x40a0e7._0x3977c9,0x296)]===_0x16c1da(0x3b0,0x487,_0x40a0e7._0x17f410,_0x40a0e7._0x52c6c3)&&_0x58df2b[_0x16c1da(0x340,_0x40a0e7._0x2101ef,_0x40a0e7._0x3c95e3,_0x40a0e7._0x4f5636)][_0x408f0f(0x6e4,_0x40a0e7._0x3cad85,_0x40a0e7._0x21d845,0x65d)]()[_0x16c1da(0x6a2,0x5a9,_0x40a0e7._0x409fad,0x4ef)]>0x0)return _0x58df2b['output'];return void 0x0;}function formatAbortedRunMessage(_0x17f896,_0x2ce998){const _0x178033={_0x418d96:0x31,_0x5848d1:0x9f,_0x3fb030:0xd6,_0x475cc7:0x3e1,_0xced1c7:0x25b,_0x350928:0x2ce,_0x19e3fd:0x381,_0x500c3d:0x555,_0x3f957c:0x69c,_0xdb5e45:0x4d1},_0x4965b4={_0x4a19b7:0x99},_0x412001={_0x50f3c3:0x18d},_0x131b31=_0x92f740(_0x178033._0x418d96,-0x4,-_0x178033._0x5848d1,_0x178033._0x3fb030)+_0x17f896+_0x92f740(_0x178033._0x475cc7,_0x178033._0xced1c7,_0x178033._0x350928,_0x178033._0x19e3fd);function _0x1f8c2b(_0xfcc242,_0x5bb34c,_0x496d07,_0x30a738){return _0x515b8f(_0xfcc242-_0x412001._0x50f3c3,_0x5bb34c-0x53,_0x496d07,_0x5bb34c- -0x8);}function _0x92f740(_0x1b68f9,_0xbdb6e3,_0x2dd715,_0x1e67d4){return _0x1c3a85(_0x1b68f9-0x1a,_0xbdb6e3,_0x2dd715-_0x4965b4._0x4a19b7,_0x1e67d4-0x15b);}if(!_0x2ce998||_0x2ce998[_0x1f8c2b(0x681,_0x178033._0x500c3d,0x5b5,0x47e)]()[_0x1f8c2b(_0x178033._0x3f957c,0x57c,0x3d0,_0x178033._0xdb5e45)]===0x0||_0x2ce998===_0x131b31)return _0x131b31;return _0x131b31+'\x20Cause:\x20'+_0x2ce998;}function createAssignTaskTool(_0x5c67fb){const _0x369cd6={_0x17d7d0:0x7b2,_0x296b4c:0x181,_0x4111fc:0x179,_0x3dc55b:0x2bd,_0x4184e3:0x57,_0x257b51:0xc,_0x333b2d:0x154,_0x48647c:0x14b,_0x59f30f:0x21e,_0x360427:0x2c9,_0xaba15a:0x185,_0x287ff7:0x217,_0x52eaf7:0x1f3,_0x1330be:0x406,_0x257b4e:0x5a9,_0x59663d:0x406,_0x534462:0x38a,_0x52a52a:0x3a7,_0x2028e7:0x4e2,_0x333c1b:0x278,_0x228f96:0x16a,_0x3c561f:0x1ec,_0x4fe564:0x78,_0x2722f8:0x5ea,_0x1fcaa2:0x53e},_0x2553d4={_0x45e592:0x18,_0x9eb7e5:0x241,_0x17f1b6:0x383,_0x19c6b8:0x29f,_0x415a12:0xe6,_0x4d19f0:0x31c,_0x577c58:0x2ea,_0x3fc673:0x23f,_0x11693c:0x7f,_0x102f27:0x86,_0x204c17:0xf,_0x45d379:0x65,_0x15b2bf:0xd1,_0x18d81a:0x1b,_0x3fda81:0x2a0,_0x549e7c:0xab,_0x42dbf5:0x23f,_0x430d87:0x3c0,_0x3664bd:0x10a,_0x3676eb:0xdd,_0x6f913b:0xc,_0x17ef6f:0x379,_0x480330:0x3f4,_0xa97217:0x277,_0x43cc92:0x621,_0x51d42c:0x461,_0x4936f6:0x1d3,_0x307877:0xb3,_0x514569:0x167,_0x4c9e5f:0x335,_0x1ca987:0x103,_0x26bff4:0x398,_0x444bd2:0x554,_0xaab6df:0x3b0,_0x3eca2c:0x55d,_0x3fd0f8:0x24,_0x5bec79:0x49d,_0x126298:0x461,_0xb6eb50:0x163,_0x276270:0x486,_0x7997eb:0x3db,_0x303f44:0x2ec,_0x2edc97:0x1ed,_0x1b823a:0x30f,_0x40a087:0x8e,_0xee9ed0:0x40,_0x57dc22:0x8b,_0x56658f:0x70,_0x36c274:0x53,_0x36e754:0x1f,_0x2529fe:0x1c7,_0x206615:0x143,_0x4025d5:0xdd,_0x31bacf:0x9d,_0xacd8c0:0x44,_0x3eb02a:0x2e5,_0x145ad8:0x347,_0x571ebf:0x152,_0x641b29:0xeb,_0x522c5b:0x290,_0x5d0435:0x41d,_0x3feebe:0x276,_0x64b0be:0x3fe,_0xd57128:0x187,_0x30f74a:0x2ea,_0x4c73ba:0x418,_0x1d8dd4:0x8b,_0x23fe75:0x38,_0x280c41:0x20,_0x2179b6:0x341,_0x3c4535:0x195,_0xac4867:0x7,_0x40a1bc:0x625,_0x5686b2:0x489,_0x2840cd:0x5ba,_0xaab540:0x241,_0x50da85:0x395,_0x3905a1:0x12,_0x5a417e:0x149,_0x70c32:0x2cc,_0x1c0ebd:0x23,_0x481d5a:0x1ca,_0x165666:0x171,_0x244c45:0xf9,_0x340107:0x3a4,_0x4de434:0xf3,_0x50c5cb:0xee,_0x1c597b:0x13,_0x1b5fca:0x105,_0xd56489:0x25d,_0x2b2a4c:0x316},_0x5d6c12={_0x22e742:0x41},_0x3a14d8={_0x1d4a62:0x2a0},_0x148ee1={_0x4bff40:0x3a},_0x53c4a1={_0x2b5098:0x1ba,_0x3b4956:0x396};function _0x19ebb2(_0x26da55,_0x2ce732,_0x1af031,_0x48a115){return _0x515b8f(_0x26da55-0x9a,_0x2ce732-_0x53c4a1._0x2b5098,_0x1af031,_0x48a115- -_0x53c4a1._0x3b4956);}function _0x2c19e2(_0x2a89d8,_0x3e9b54,_0x1856d4,_0x184e53){return _0x515b8f(_0x2a89d8-0x78,_0x3e9b54-0x16f,_0x1856d4,_0x184e53-_0x148ee1._0x4bff40);}return defineTool({'name':_0x2c19e2(_0x369cd6._0x17d7d0,0x78b,0x7ca,0x6dc),'permissionClass':'always-confirm','description':_0x19ebb2(_0x369cd6._0x296b4c,0x3f3,_0x369cd6._0x4111fc,_0x369cd6._0x3dc55b),'inputSchema':{'type':'object','properties':{'agentId':{'type':_0x19ebb2(0xb0,0x113,0x8e,0x112),'description':_0x19ebb2(_0x369cd6._0x4184e3,0x140,_0x369cd6._0x257b51,_0x369cd6._0x333b2d)},'description':{'type':_0x19ebb2(_0x369cd6._0x48647c,_0x369cd6._0x59f30f,_0x369cd6._0x360427,0x112),'description':_0x19ebb2(_0x369cd6._0xaba15a,0x154,_0x369cd6._0x287ff7,_0x369cd6._0x52eaf7)},'nickname':{'type':_0x19ebb2(0x85,-0x9e,0xb,0x112),'description':_0x2c19e2(_0x369cd6._0x1330be,0x410,0x46f,_0x369cd6._0x257b4e)},'task':{'type':_0x2c19e2(_0x369cd6._0x59663d,_0x369cd6._0x534462,_0x369cd6._0x52a52a,_0x369cd6._0x2028e7),'description':_0x19ebb2(_0x369cd6._0x333c1b,0x1f8,_0x369cd6._0x228f96,_0x369cd6._0x3c561f)}},'required':[_0x19ebb2(-_0x369cd6._0x4fe564,0x88,0x160,0x10f),_0x2c19e2(0x5e9,0x55e,_0x369cd6._0x2722f8,_0x369cd6._0x1fcaa2),'task']},async *'execute'(_0x4e1b28,_0x561872){const _0x6f490e={_0x134ef8:0x327,_0x4977a8:0x23a,_0x20c446:0x3a1,_0x51635b:0x7d},_0x3e1c8a={_0x473dd8:0x178},_0x4db99a={_0xd600e3:0x246},_0x4f8c13=createDelegatedRunId(),_0x5046bf=new AbortController(),_0x5ec725={'agentId':_0x4e1b28['agentId'],'parentSessionId':_0x561872[_0x2bcd99(0x148,0x166,0x143,-_0x2553d4._0x45e592)],'runId':_0x4f8c13,'signal':_0x5046bf[_0x19a24e(0x34f,_0x2553d4._0x9eb7e5,_0x2553d4._0x17f1b6,0x2ff)],..._0x561872['toolCallId']!==void 0x0?{'toolCallId':_0x561872[_0x19a24e(_0x2553d4._0x19c6b8,0x1d4,0x342,_0x2553d4._0x415a12)]}:{}},_0x3389f0=getDelegatedAgentDefinition(_0x5c67fb,_0x4e1b28[_0x2bcd99(_0x2553d4._0x4d19f0,_0x2553d4._0x577c58,_0x2553d4._0x3fc673,_0x2553d4._0x11693c)]);function _0x2bcd99(_0x522bbb,_0x372ce8,_0x20a9fc,_0x35e638){return _0x2c19e2(_0x522bbb-0x28,_0x372ce8-0x1e2,_0x35e638,_0x20a9fc- -_0x3a14d8._0x1d4a62);}function _0x19a24e(_0x81829c,_0x161b66,_0x661371,_0x463269){return _0x2c19e2(_0x81829c-0x187,_0x161b66-_0x5d6c12._0x22e742,_0x463269,_0x161b66- -0x4c0);}if(!_0x3389f0)throw new ToolExecutionError(_0x19a24e(-_0x2553d4._0x102f27,-0x75,-_0x2553d4._0x204c17,_0x2553d4._0x45d379)+_0x4e1b28[_0x19a24e(-_0x2553d4._0x15b2bf,0x1f,_0x2553d4._0x18d81a,0x74)],{'agentId':_0x4e1b28[_0x2bcd99(_0x2553d4._0x3fda81,0x26a,0x23f,_0x2553d4._0x549e7c)]});let _0x2af1b8={'runId':_0x4f8c13,'agentId':_0x4e1b28['agentId'],'status':_0x19a24e(0x263,_0x2553d4._0x42dbf5,0xf6,_0x2553d4._0x430d87),'parentSessionId':_0x561872[_0x19a24e(-_0x2553d4._0x3664bd,-_0x2553d4._0x3676eb,-_0x2553d4._0x6f913b,-0x168)],..._0x561872[_0x19a24e(0x173,0x1d4,0x88,0x18c)]!==void 0x0?{'originToolCallId':_0x561872[_0x2bcd99(_0x2553d4._0x17ef6f,0x32e,_0x2553d4._0x480330,_0x2553d4._0xa97217)]}:{}};const _0x522dff=addAbortListener(_0x561872[_0x2bcd99(_0x2553d4._0x43cc92,0x4d2,_0x2553d4._0x51d42c,0x337)],()=>{function _0x90d0a2(_0x2ead15,_0x8a50bf,_0x5f01e5,_0x53eb40){return _0x2bcd99(_0x2ead15-0x9b,_0x8a50bf-0xd5,_0x5f01e5- -_0x4db99a._0xd600e3,_0x8a50bf);}function _0x1d6a26(_0x4387cb,_0x12c7fa,_0x4c0bea,_0x429351){return _0x19a24e(_0x4387cb-0x1ba,_0x4387cb-0x264,_0x4c0bea-_0x3e1c8a._0x473dd8,_0x4c0bea);}_0x5046bf[_0x1d6a26(0x2b6,_0x6f490e._0x134ef8,_0x6f490e._0x4977a8,_0x6f490e._0x20c446)](_0x561872['signal'][_0x90d0a2(-0x12,-0xe8,-_0x6f490e._0x51635b,-0x1b9)]);});let _0x5e2ec6,_0x260a88,_0x4fc140,_0x40bc95;try{_0x5c67fb[_0x19a24e(0x31d,_0x2553d4._0x4936f6,_0x2553d4._0x307877,_0x2553d4._0x514569)]!==void 0x0&&(_0x5e2ec6=await _0x5c67fb[_0x2bcd99(0x42d,_0x2553d4._0x4c9e5f,0x3f3,0x4ce)]['acquire'](_0x5046bf[_0x19a24e(0xb9,0x241,0x20a,_0x2553d4._0x1ca987)]));throwIfAborted(_0x5046bf[_0x19a24e(0x342,0x241,0x3ab,0x1c3)]);const _0x47fe64=await awaitWithAbort2(resolveDelegatedAgentOptions(_0x3389f0,_0x5ec725),_0x5046bf['signal']);throwIfAborted(_0x5046bf[_0x2bcd99(_0x2553d4._0x26bff4,0x532,0x461,0x4fb)]);const _0x45be50=_0x5c67fb[_0x2bcd99(_0x2553d4._0x444bd2,0x1f8,_0x2553d4._0xaab6df,0x549)]!==void 0x0&&_0x47fe64['systemPrompt']!==void 0x0?{..._0x47fe64,'systemPrompt':_0x5c67fb[_0x2bcd99(0x539,_0x2553d4._0x3eca2c,0x3b0,0x370)](_0x47fe64[_0x19a24e(_0x2553d4._0x3fd0f8,-0x70,0xfc,-0x19c)])}:_0x47fe64;throwIfAborted(_0x5046bf[_0x2bcd99(0x4e0,_0x2553d4._0x5bec79,_0x2553d4._0x126298,0x4ec)]);const _0x42ca24=new Agent(_0x45be50);_0x2af1b8={..._0x2af1b8,'sessionId':_0x42ca24[_0x19a24e(-_0x2553d4._0xb6eb50,-0xdd,0x8b,-0x12b)]},_0x260a88=_0x5c67fb[_0x2bcd99(_0x2553d4._0x276270,_0x2553d4._0x7997eb,_0x2553d4._0x303f44,_0x2553d4._0x2edc97)]?.(_0x42ca24,_0x5ec725);const _0x462aa4=new Promise(_0x15f142=>{_0x40bc95=_0x15f142;});_0x4fc140=_0x5c67fb['registerActiveRun']?.({'runId':_0x4f8c13,'abortController':_0x5046bf,'completion':_0x462aa4}),yield createToolOutput(_0x2bcd99(_0x2553d4._0x1b823a,0x495,0x3ec,0x296)+_0x2af1b8[_0x19a24e(-0x1c5,-0x8b,_0x2553d4._0x40a087,_0x2553d4._0xee9ed0)]+'.',{'runId':_0x2af1b8[_0x19a24e(-0xf8,-_0x2553d4._0x57dc22,-_0x2553d4._0x56658f,_0x2553d4._0x57dc22)],'agentId':_0x2af1b8[_0x19a24e(-_0x2553d4._0x36c274,_0x2553d4._0x36e754,-0x10a,-_0x2553d4._0x18d81a)],'sessionId':_0x42ca24[_0x2bcd99(0x129,_0x2553d4._0x2529fe,_0x2553d4._0x206615,_0x2553d4._0x4025d5)],'status':_0x2af1b8[_0x19a24e(_0x2553d4._0x31bacf,-0x9,_0x2553d4._0xacd8c0,-0x1ba)]}),throwIfAborted(_0x5046bf[_0x2bcd99(_0x2553d4._0x3eb02a,_0x2553d4._0x145ad8,0x461,0x4ed)]);const _0xbb4730=await _0x42ca24[_0x19a24e(_0x2553d4._0x571ebf,_0x2553d4._0x641b29,0x15c,_0x2553d4._0x522c5b)](_0x4e1b28[_0x2bcd99(0x2db,0x481,_0x2553d4._0x5d0435,_0x2553d4._0x3feebe)],{'streaming':!![],'signal':_0x5046bf[_0x2bcd99(0x55d,0x50e,_0x2553d4._0x51d42c,_0x2553d4._0x64b0be)]});_0x2af1b8={..._0x2af1b8,'status':_0xbb4730['status'],'result':_0xbb4730};if(_0xbb4730[_0x19a24e(-0xa0,-0x9,-_0x2553d4._0xd57128,0xc7)]!==_0x2bcd99(0x449,_0x2553d4._0x30f74a,0x4ab,_0x2553d4._0x4c73ba)){const _0x100274=getRunTerminalErrorMessage(_0xbb4730),_0x7a0b09=formatAbortedRunMessage(_0x2af1b8[_0x19a24e(-0x158,-_0x2553d4._0x1d8dd4,0x28,-_0x2553d4._0x23fe75)],_0x100274);throw new ToolExecutionError(_0x7a0b09,{...createRunSummary(_0x2af1b8),'aborted':!![],'errorMessage':_0x7a0b09});}return createRunSummaryOutput(_0x2af1b8,_0x2bcd99(_0x2553d4._0x280c41,_0x2553d4._0x2179b6,0x19e,0x173)+_0x2af1b8[_0x2bcd99(0x2ff,_0x2553d4._0x11693c,_0x2553d4._0x3c4535,_0x2553d4._0xac4867)]+_0x2bcd99(_0x2553d4._0x40a1bc,0x502,_0x2553d4._0x5686b2,0x3ea));}catch(_0x428f13){if(_0x428f13 instanceof ToolExecutionError)throw _0x428f13;if(isAbortError(_0x428f13)||_0x5046bf[_0x2bcd99(0x3c2,_0x2553d4._0x2840cd,0x461,0x33f)][_0x2bcd99(0x3ba,0x263,0x20e,0x117)]||_0x561872[_0x19a24e(0x254,_0x2553d4._0xaab540,_0x2553d4._0x50da85,0x203)][_0x19a24e(_0x2553d4._0x11693c,-_0x2553d4._0x3905a1,-0x69,-0xcc)]){const _0x10dbcb=getRunTerminalErrorMessage(_0x2af1b8['result'])??(_0x428f13 instanceof Error?_0x428f13[_0x19a24e(0x14,0x32,-_0x2553d4._0x5a417e,0xb4)]:String(_0x428f13)),_0x13ad56=formatAbortedRunMessage(_0x2af1b8[_0x2bcd99(0x119,_0x2553d4._0x70c32,_0x2553d4._0x3c4535,-_0x2553d4._0x1c0ebd)],_0x10dbcb);_0x2af1b8={..._0x2af1b8,'status':_0x19a24e(0x6a,-_0x2553d4._0x3905a1,0xa5,-_0x2553d4._0x481d5a),'errorMessage':_0x13ad56};throw new ToolExecutionError(_0x13ad56,{...createRunSummary(_0x2af1b8),'aborted':!![],'errorMessage':_0x13ad56});}const _0x4c7790=getRunTerminalErrorMessage(_0x2af1b8[_0x19a24e(0x278,0x13d,0x44,_0x2553d4._0x165666)])??(_0x428f13 instanceof Error?_0x428f13[_0x2bcd99(_0x2553d4._0x244c45,_0x2553d4._0x340107,0x252,_0x2553d4._0x4de434)]:String(_0x428f13))??_0x19a24e(_0x2553d4._0x50c5cb,-0x82,-0x33,0x6c)+_0x2af1b8[_0x19a24e(-_0x2553d4._0x1c597b,-_0x2553d4._0x57dc22,0xb2,_0x2553d4._0x1b5fca)]+'\x20failed.';_0x2af1b8={..._0x2af1b8,'status':_0x2bcd99(0x258,_0x2553d4._0xaab540,_0x2553d4._0xd56489,_0x2553d4._0x2b2a4c),'errorMessage':_0x4c7790};throw new ToolExecutionError(_0x4c7790,{...createRunSummary(_0x2af1b8),'errorMessage':_0x4c7790});}finally{_0x40bc95?.(),_0x4fc140?.(),_0x260a88?.(),_0x5e2ec6?.(),_0x522dff();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x266638){return[createAssignTaskTool(_0x266638)];}import*as _0x4a5df4 from'path';function buildDescription2(_0x2d85f4){const _0x867d39={_0x501645:0x1d7,_0x1ef248:0x112,_0x57d98b:0x10c,_0x1afdaf:0x440,_0x77221b:0x2a1,_0x2377ae:0x14,_0x281bb5:0x84,_0x23fdb8:0x7b,_0x5f3439:0x30d,_0x213870:0x9b,_0x504716:0x18d,_0x3460fb:0xe5,_0x289f4c:0x34d,_0x2452b9:0x78,_0x58ec9f:0x261,_0x760483:0xd9},_0x99f6b9={_0x1ffb75:0x19e};function _0x51832e(_0x55d830,_0x3e36ad,_0x2827ac,_0x23a869){return _0x515b8f(_0x55d830-0x187,_0x3e36ad-_0x99f6b9._0x1ffb75,_0x55d830,_0x23a869- -0x696);}if(_0x2d85f4[_0x51832e(-_0x867d39._0x501645,-0x10f,-0x167,-_0x867d39._0x1ef248)]===0x0)return _0x51832e(-0x163,-_0x867d39._0x57d98b,-_0x867d39._0x1afdaf,-_0x867d39._0x77221b);const _0x5adc0d=[_0x483f2b(0x5d,_0x867d39._0x2377ae,-_0x867d39._0x281bb5,-_0x867d39._0x23fdb8),_0x483f2b(_0x867d39._0x5f3439,_0x867d39._0x213870,_0x867d39._0x504716,0x1a6),_0x483f2b(-_0x867d39._0x3460fb,0x1b4,0x83,-0x2a),_0x483f2b(-0x1a0,-0x176,-0x8a,0x40),..._0x2d85f4[_0x51832e(-0x10f,-0x2bb,-_0x867d39._0x289f4c,-0x2bc)](_0x5e7d13=>'-\x20'+_0x5e7d13['name']+':\x20'+_0x5e7d13[_0x51832e(-0x19b,-0x202,-0x1f7,-0x192)])];function _0x483f2b(_0x37e942,_0x1f627a,_0x2fad9a,_0x319870){return _0x1c3a85(_0x37e942-0x121,_0x1f627a,_0x2fad9a-0x28,_0x2fad9a- -0xb6);}return _0x5adc0d[_0x51832e(-0x43,_0x867d39._0x2452b9,-_0x867d39._0x58ec9f,-_0x867d39._0x760483)]('\x0a');}function createLoadSkillTool(_0x38db2d){const _0x48afb3={_0x4c4f42:0x361,_0x502a1a:0x286,_0x4cf564:0x367,_0x121be7:0x8d,_0x37e8ff:0x40,_0x579a8a:0x3c,_0x39ed69:0x1bc},_0x2fca4a={_0x2da2a7:0x24c,_0x346b36:0x1d7,_0x1b4733:0x20d,_0x3b0397:0x14,_0x2c3c29:0x3a8,_0x5bcb5f:0x216,_0x2b3c63:0x35e,_0x4e1932:0xbd,_0x1ee5b5:0x1c5,_0x4d99d2:0x80,_0x3dd1fe:0x112,_0x38ad0c:0x77,_0x3c24b7:0x6d8,_0x49657b:0x537,_0x38f784:0x503,_0x579114:0x410,_0x1a616b:0x4a2,_0x261ec1:0x38a,_0x269cbe:0x3ce,_0x21bc34:0x2e9,_0x40969c:0x2d3,_0x291508:0x41c,_0x3114fa:0x4bc,_0x40ff9a:0x335,_0x11cd14:0x6a8,_0x52af8a:0xbe,_0x40d535:0x1e0,_0x4cc25b:0x1fb,_0xdf9fbf:0x609,_0x9fbdaf:0x3f9,_0x37aa6a:0x2c4,_0x3ca592:0x3e8,_0x5bf8fa:0x2,_0x50d0c3:0x353,_0x9c2f7d:0x4ed,_0x89ad13:0x4ab,_0x674a2:0x408,_0x2cf082:0x6a3,_0x4fc635:0x628,_0x145136:0x629,_0x145d7d:0x5b7,_0x12a899:0x146,_0x5397a7:0x1b1,_0x55643a:0x79,_0x5660e6:0x4c,_0x233fab:0x1e8},_0x5df626={_0x5cd381:0x8},_0x3e1d69={_0x25b5c5:0x44,_0x436525:0x11b,_0xe3a081:0x70};function _0x2e9412(_0xf88656,_0x525dc3,_0x342009,_0x3a3ef3){return _0x1c3a85(_0xf88656-_0x3e1d69._0x25b5c5,_0x342009,_0x342009-_0x3e1d69._0x436525,_0x3a3ef3- -_0x3e1d69._0xe3a081);}const _0x2763de=new Map(_0x38db2d['skills'][_0x2e9412(-0x21,-0xd9,-0x16d,-0x11f)](_0x19bf9c=>[_0x19bf9c[_0x2e9412(0x118,0x1b1,-0xc5,0xa0)],_0x19bf9c])),_0x2addde=buildDescription2(_0x38db2d[_0x55a692(_0x48afb3._0x4c4f42,_0x48afb3._0x502a1a,0x213,_0x48afb3._0x4cf564)]);function _0x55a692(_0x30c479,_0x3e4130,_0xe994e5,_0x1c23a8){return _0x1c3a85(_0x30c479-_0x5df626._0x5cd381,_0x30c479,_0xe994e5-0x3a,_0x1c23a8-0x343);}return defineTool({'name':'LoadSkill','permissionClass':_0x2e9412(0x102,0xc5,0x225,_0x48afb3._0x121be7),'description':_0x2addde,'inputSchema':{'type':_0x2e9412(_0x48afb3._0x37e8ff,_0x48afb3._0x579a8a,-0x175,-0x7d),'properties':{'name':{'type':_0x2e9412(-0x118,-_0x48afb3._0x39ed69,-0x16b,-0x51)}},'required':['name']},async *'execute'(_0x39edd1){const _0x394fbc={_0x2d8d07:0x189,_0x2d31fe:0x163,_0x72b98c:0xe4},_0x4fc319={_0x1fedab:0x1cc,_0x21dbc7:0x1d6},_0x5d0b40=_0x2763de[_0x48fc39(-_0x2fca4a._0x2da2a7,-0x1f4,-_0x2fca4a._0x346b36,-_0x2fca4a._0x1b4733)](_0x39edd1[_0x48fc39(-0x125,_0x2fca4a._0x3b0397,-0x136,-0xd4)]);function _0x48fc39(_0x37f582,_0x12e923,_0x3c4fb2,_0x39b97d){return _0x2e9412(_0x37f582-0x3c,_0x12e923-_0x4fc319._0x1fedab,_0x37f582,_0x3c4fb2- -_0x4fc319._0x21dbc7);}if(!_0x5d0b40){const _0x527f7e=Array[_0x44081c(0x3ea,_0x2fca4a._0x2c3c29,_0x2fca4a._0x5bcb5f,_0x2fca4a._0x2b3c63)](_0x2763de[_0x48fc39(-0x351,-_0x2fca4a._0x4e1932,-0x231,-0x189)]())[_0x48fc39(-_0x2fca4a._0x1ee5b5,-_0x2fca4a._0x4d99d2,-_0x2fca4a._0x3dd1fe,-_0x2fca4a._0x38ad0c)](',\x20');throw new ToolExecutionError('Skill\x20\x27'+_0x39edd1[_0x44081c(_0x2fca4a._0x3c24b7,0x64d,0x456,_0x2fca4a._0x49657b)]+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x527f7e,{'name':_0x39edd1['name']});}const _0x43f855=await _0x38db2d[_0x44081c(0x457,0x48b,0x43e,_0x2fca4a._0x38f784)](_0x5d0b40);function _0x44081c(_0x2bef07,_0x72b61,_0x4fcf70,_0x34c409){return _0x55a692(_0x72b61,_0x72b61-_0x394fbc._0x2d8d07,_0x4fcf70-_0x394fbc._0x2d31fe,_0x34c409-_0x394fbc._0x72b98c);}const _0x3514a4=_0x5d0b40[_0x44081c(_0x2fca4a._0x579114,0x320,0x669,0x4bc)][_0x44081c(_0x2fca4a._0x1a616b,_0x2fca4a._0x261ec1,0x26d,_0x2fca4a._0x269cbe)]??_0x4a5df4[_0x48fc39(-0x146,-0x2fe,-_0x2fca4a._0x21bc34,-_0x2fca4a._0x40969c)](_0x5d0b40[_0x44081c(0x38d,_0x2fca4a._0x291508,_0x2fca4a._0x3114fa,0x4bc)][_0x48fc39(-0x31e,-0x22b,-0x180,-0x2b0)]),_0x47923e=[_0x48fc39(-0x43a,-0x2c6,-_0x2fca4a._0x40ff9a,-0x4dd)+_0x43f855[_0x44081c(0x631,_0x2fca4a._0x11cd14,0x449,0x537)],'',_0x43f855[_0x48fc39(-0x9d,-_0x2fca4a._0x52af8a,-_0x2fca4a._0x40d535,-_0x2fca4a._0x4cc25b)],'',_0x44081c(0x58a,0x651,0x58a,_0x2fca4a._0xdf9fbf),_0x44081c(_0x2fca4a._0x9fbdaf,0x46a,_0x2fca4a._0x37aa6a,_0x2fca4a._0x3ca592)+_0x5d0b40[_0x48fc39(-_0x2fca4a._0x5bf8fa,-_0x2fca4a._0x50d0c3,-0x1b1,-0x2c7)][_0x44081c(0x441,0x5b3,0x5b5,_0x2fca4a._0x9c2f7d)],'Base\x20directory:\x20'+_0x3514a4][_0x44081c(_0x2fca4a._0x89ad13,_0x2fca4a._0x674a2,_0x2fca4a._0x2cf082,0x55b)]('\x0a');return yield createToolOutput(_0x47923e,{'id':_0x43f855['id'],'name':_0x43f855[_0x44081c(_0x2fca4a._0x4fc635,_0x2fca4a._0x145136,_0x2fca4a._0x145d7d,0x537)],'path':_0x5d0b40[_0x48fc39(-_0x2fca4a._0x12a899,-0x79,-_0x2fca4a._0x5397a7,-_0x2fca4a._0x55643a)][_0x48fc39(-_0x2fca4a._0x5660e6,-0x4d,-0x180,-_0x2fca4a._0x233fab)],'baseDirectory':_0x3514a4}),void 0x0;}});}var TODO_STATUSES=new Set([_0x1c3a85(0x2,0x14f,-0x1c1,-0x6a),_0x1c3a85(0x20e,0x2c6,0x33d,0x1c4),'completed']),TODO_PRIORITIES=new Set([_0x1c3a85(0x334,0x212,0x14f,0x18b),_0x515b8f(0x59a,0x7ee,0x771,0x702),'low']);function isTodoStatus(_0x14c911){const _0x512890={_0x1717ab:0x355,_0x39ef06:0x237,_0x3b5198:0x3ee,_0x25cb14:0x30b},_0x17eb51={_0x2d1e44:0x108},_0x2d3790={_0x1e63e3:0x197,_0x13c7fd:0x96};function _0x2f4707(_0x52d313,_0x105ac4,_0x361fd0,_0x2ae027){return _0x515b8f(_0x52d313-_0x2d3790._0x1e63e3,_0x105ac4-_0x2d3790._0x13c7fd,_0x52d313,_0x2ae027- -0xcf);}function _0x1d7c41(_0x2d1ae5,_0x256406,_0x2e6f7c,_0x17e219){return _0x1c3a85(_0x2d1ae5-0x1d,_0x17e219,_0x2e6f7c-_0x17eb51._0x2d1e44,_0x2e6f7c-0x218);}return typeof _0x14c911===_0x1d7c41(_0x512890._0x1717ab,0xc3,_0x512890._0x39ef06,_0x512890._0x3b5198)&&TODO_STATUSES[_0x2f4707(0x41d,0x313,_0x512890._0x25cb14,0x46f)](_0x14c911);}function isTodoPriority(_0x4abfbb){const _0x3389c0={_0x382179:0x447,_0x30da7e:0xba,_0x93e221:0x138,_0x43a33d:0x1df},_0x1f8bf3={_0x476a1e:0x4ff},_0x20010d={_0x2dd1c3:0x97,_0x3d0d3a:0x127};function _0xbc3f24(_0x2d2c37,_0x10265a,_0x42aed2,_0x31646e){return _0x515b8f(_0x2d2c37-_0x20010d._0x2dd1c3,_0x10265a-_0x20010d._0x3d0d3a,_0x31646e,_0x42aed2- -0x4ef);}function _0x227ee4(_0xf19ee3,_0x37b6fb,_0xe8b873,_0x1e7a79){return _0x1c3a85(_0xf19ee3-0xba,_0x37b6fb,_0xe8b873-0x1f0,_0x1e7a79-_0x1f8bf3._0x476a1e);}return typeof _0x4abfbb===_0x227ee4(_0x3389c0._0x382179,0x66e,0x415,0x51e)&&TODO_PRIORITIES[_0xbc3f24(-_0x3389c0._0x30da7e,-_0x3389c0._0x93e221,0x4f,_0x3389c0._0x43a33d)](_0x4abfbb);}var TodoStore=class{['todosBySession']=new Map();[_0x1c3a85(0x2b7,0x31f,0xb8,0x15f)](_0x25d421){const _0x2b20ab={_0x53ed08:0x555,_0x30c4a9:0x357,_0x352f99:0x173},_0x18d484={_0x388156:0xa,_0x2f3387:0x262},_0x32ec30={_0x431604:0x109,_0x50f6ae:0x200};function _0x20263c(_0x1d2450,_0x470904,_0x386c77,_0x1c63b){return _0x1c3a85(_0x1d2450-_0x32ec30._0x431604,_0x470904,_0x386c77-0x1d2,_0x1d2450-_0x32ec30._0x50f6ae);}function _0x2d7788(_0x4fd8ce,_0x5e3ec2,_0x291685,_0x35cb3d){return _0x1c3a85(_0x4fd8ce-0x1c8,_0x4fd8ce,_0x291685-_0x18d484._0x388156,_0x35cb3d-_0x18d484._0x2f3387);}return this[_0x20263c(0x3c5,0x248,0x4e0,_0x2b20ab._0x53ed08)][_0x2d7788(_0x2b20ab._0x30c4a9,0x3c6,_0x2b20ab._0x352f99,0x2d1)](_0x25d421)??[];}[_0x515b8f(0x32f,0x548,0x32a,0x459)](_0x34a6f9,_0x329a67){const _0x5803cb={_0x1bfd0c:0x115,_0x271ad5:0x95,_0x4ac94a:0x18b,_0x4bb1a4:0x6},_0x2e204b={_0x3efc05:0xd,_0x341573:0x5b9},_0x465219={_0x4fe55f:0x1a4,_0x29e6bf:0xc5};function _0xc6124c(_0x2672ce,_0x1d9f44,_0x3088e3,_0x20b0e6){return _0x515b8f(_0x2672ce-0x13,_0x1d9f44-_0x465219._0x4fe55f,_0x2672ce,_0x3088e3- -_0x465219._0x29e6bf);}function _0x116db0(_0x3c2afb,_0x4c4f48,_0x27e751,_0x25b1b1){return _0x515b8f(_0x3c2afb-_0x2e204b._0x3efc05,_0x4c4f48-0x18,_0x27e751,_0x4c4f48- -_0x2e204b._0x341573);}this[_0x116db0(_0x5803cb._0x1bfd0c,_0x5803cb._0x271ad5,0x4,_0x5803cb._0x4ac94a)][_0x116db0(-0x53,-0x91,-0x4c,_0x5803cb._0x4bb1a4)](_0x34a6f9,_0x329a67);}[_0x1c3a85(-0x38,0x7b,0x48,0x186)](_0x3602e3){const _0x87bd54={_0x47d1ac:0xcc,_0x9b7125:0x5b,_0x65edca:0x82,_0x313085:0x3de,_0xecea13:0x2e6,_0x81872a:0x2d7,_0x414325:0x389,_0x17f07f:0x3c4,_0x75fbd8:0x1dc,_0x1f33aa:0x267,_0x1d70ba:0x2c4,_0x281ac7:0x91,_0x35f7bf:0x27,_0x2a6cd4:0x59,_0x1f63da:0x146,_0x25527c:0x29e,_0x12b017:0x19a},_0x40c424={_0x124397:0xca,_0xf0c762:0x1a6},_0x414f11={_0x38a0f9:0x1d6,_0x1f4e9f:0x18b},_0x89c69e=this[_0x5dd60e(_0x87bd54._0x47d1ac,_0x87bd54._0x9b7125,_0x87bd54._0x65edca,-0x2c)](_0x3602e3),_0xa0b2b7={'total':_0x89c69e[_0x36c987(_0x87bd54._0x313085,0x51b,0x51e,_0x87bd54._0xecea13)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x5dd60e(_0x9c5719,_0x5929d7,_0x6ec4da,_0xb4011c){return _0x1c3a85(_0x9c5719-_0x414f11._0x38a0f9,_0x5929d7,_0x6ec4da-0x1c0,_0xb4011c- -_0x414f11._0x1f4e9f);}for(const _0x3a9adf of _0x89c69e){if(_0x3a9adf[_0x36c987(_0x87bd54._0x81872a,0x270,_0x87bd54._0x414325,_0x87bd54._0x17f07f)]==='pending')_0xa0b2b7[_0x5dd60e(-_0x87bd54._0x75fbd8,-0x2c8,-_0x87bd54._0x1f33aa,-0x1f5)]+=0x1;else{if(_0x3a9adf[_0x36c987(_0x87bd54._0x81872a,0x360,_0x87bd54._0x1d70ba,0x319)]===_0x5dd60e(-_0x87bd54._0x281ac7,_0x87bd54._0x35f7bf,-_0x87bd54._0x2a6cd4,0x39))_0xa0b2b7[_0x5dd60e(-_0x87bd54._0x1f63da,-0x1cc,-_0x87bd54._0x25527c,-0x169)]+=0x1;else _0xa0b2b7[_0x5dd60e(0x2ad,_0x87bd54._0x12b017,-0x9c,0xfd)]+=0x1;}}function _0x36c987(_0x1c501a,_0x1274fc,_0x1b7539,_0x5c0644){return _0x515b8f(_0x1c501a-_0x40c424._0x124397,_0x1274fc-0x1c2,_0x1b7539,_0x1c501a- -_0x40c424._0xf0c762);}return _0xa0b2b7;}};function validateTodos(_0x4f39dc){const _0x1b37bb={_0x878081:0x221,_0x53766b:0x2b3,_0xcaa90b:0x4c6,_0x3fdcb9:0x374,_0x309327:0x495,_0x428f38:0x3f2,_0xa1eb55:0x245,_0x5d678e:0x4ac,_0x3c29dd:0x437,_0x8b0bdf:0x19f,_0x3ba610:0x1d9,_0x1b4e34:0x374,_0x3f9ac3:0x2a7,_0x4f7ca1:0x315,_0x30f6da:0x3f1,_0x15d2fc:0x44d,_0x35d03d:0x621,_0x32247a:0x418,_0x5bc5a8:0x210,_0x1be4f7:0x4f4,_0x3266cc:0x512,_0x58fc06:0x34d,_0x89e6a0:0x2f9,_0x2e0f9f:0x417,_0x18f524:0x53e,_0x2180f8:0x2b9,_0x264994:0x4e9,_0x42786c:0x40a,_0x491fee:0x2ee,_0x53ba2c:0x239,_0x19cacb:0x1a0,_0xdbf927:0x362,_0x5be57d:0x58f,_0x2987dc:0x485,_0x3a0fb8:0x501,_0x577960:0x344,_0x236b98:0x4de,_0x512a24:0x2a6,_0x462b62:0x317,_0x48297f:0x442,_0x29d900:0x3ad,_0x38578b:0x4eb,_0x347f39:0x2e8,_0x4fcd62:0x472,_0x28557e:0x3a5,_0x490cb9:0x5b6,_0x2820ea:0x69f,_0xb67594:0x439,_0xf43df2:0x5ae,_0x528928:0x460,_0x59eb14:0x620,_0x2b1e58:0x334,_0x1bf43f:0x2bd,_0x58a5e9:0x230,_0x11ba0d:0x5ae,_0x3270cd:0x498,_0x5e2ab5:0x16b,_0x3a0d94:0x33e,_0x2f51e1:0x427,_0x413fd6:0x605,_0x509fd0:0x3eb,_0x4e93de:0x472,_0x4dae7f:0x225,_0x207cec:0x3b7},_0x216750={_0x4aa401:0x68},_0x59441b={_0x5cfe76:0x136,_0x11b5de:0x1f1,_0x50e9e4:0xd8};function _0x385a84(_0x13f9d0,_0x4bd3d0,_0x52799a,_0x7b4007){return _0x515b8f(_0x13f9d0-_0x59441b._0x5cfe76,_0x4bd3d0-_0x59441b._0x11b5de,_0x13f9d0,_0x7b4007- -_0x59441b._0x50e9e4);}function _0x34d656(_0x3adbe8,_0x3300fb,_0xe68ece,_0x427f6f){return _0x515b8f(_0x3adbe8-0x4b,_0x3300fb-_0x216750._0x4aa401,_0x3adbe8,_0x3300fb- -0x26f);}if(!Array[_0x34d656(_0x1b37bb._0x878081,_0x1b37bb._0x53766b,0x10a,0x289)](_0x4f39dc[_0x385a84(0x248,_0x1b37bb._0xcaa90b,0x2f7,_0x1b37bb._0x3fdcb9)])||_0x4f39dc[_0x385a84(_0x1b37bb._0x309327,_0x1b37bb._0x428f38,_0x1b37bb._0xa1eb55,0x374)][_0x385a84(0x4a2,0x41d,0x567,_0x1b37bb._0x5d678e)]===0x0)throw new ToolExecutionError(_0x34d656(0x441,_0x1b37bb._0x3c29dd,0x276,0x4e7),{'error':_0x34d656(0x20,0x148,_0x1b37bb._0x8b0bdf,_0x1b37bb._0x3ba610)});for(let _0x3539d4=0x0;_0x3539d4<_0x4f39dc[_0x385a84(0x34e,0x428,0x271,_0x1b37bb._0x1b4e34)][_0x34d656(_0x1b37bb._0x3f9ac3,_0x1b37bb._0x4f7ca1,_0x1b37bb._0x30f6da,_0x1b37bb._0x15d2fc)];_0x3539d4+=0x1){const _0x5cf21b=_0x4f39dc[_0x34d656(0x22,0x1dd,0x1ac,0x126)][_0x3539d4];if(!_0x5cf21b||typeof _0x5cf21b!=='object')throw new ToolExecutionError('Todo\x20'+(_0x3539d4+0x1)+_0x385a84(_0x1b37bb._0x35d03d,0x4bb,0x5a1,0x60e),{'error':_0x385a84(0x3ea,0x258,0x2c2,_0x1b37bb._0x32247a)});if(typeof _0x5cf21b['id']!==_0x34d656(0x3b6,0x239,0x39f,_0x1b37bb._0x5bc5a8)||_0x5cf21b['id'][_0x385a84(0x517,_0x1b37bb._0x1be4f7,_0x1b37bb._0x3266cc,0x485)]()[_0x385a84(_0x1b37bb._0x58fc06,0x4d4,0x453,0x4ac)]===0x0)throw new ToolExecutionError(_0x34d656(_0x1b37bb._0x89e6a0,_0x1b37bb._0x2e0f9f,0x451,_0x1b37bb._0x18f524)+(_0x3539d4+0x1)+_0x385a84(0x297,_0x1b37bb._0x2180f8,_0x1b37bb._0x264994,_0x1b37bb._0x42786c),{'error':'invalid_todo_id'});if(typeof _0x5cf21b[_0x385a84(0x397,0x1dd,0x207,_0x1b37bb._0x491fee)]!==_0x34d656(0x265,_0x1b37bb._0x53ba2c,0x21d,_0x1b37bb._0x19cacb)||_0x5cf21b[_0x385a84(0x473,_0x1b37bb._0xdbf927,0x21c,0x2ee)][_0x385a84(_0x1b37bb._0x5be57d,0x435,0x2d6,_0x1b37bb._0x2987dc)]()['length']===0x0)throw new ToolExecutionError(_0x385a84(0x61a,0x431,_0x1b37bb._0x3a0fb8,0x5ae)+(_0x3539d4+0x1)+_0x385a84(_0x1b37bb._0x577960,0x4e0,0x463,_0x1b37bb._0x236b98),{'error':_0x385a84(_0x1b37bb._0x512a24,_0x1b37bb._0x462b62,_0x1b37bb._0x48297f,_0x1b37bb._0x29d900)});if(!isTodoStatus(_0x5cf21b[_0x385a84(_0x1b37bb._0x38578b,_0x1b37bb._0x347f39,_0x1b37bb._0x4fcd62,_0x1b37bb._0x28557e)]))throw new ToolExecutionError(_0x385a84(_0x1b37bb._0x490cb9,_0x1b37bb._0x2820ea,_0x1b37bb._0xb67594,_0x1b37bb._0xf43df2)+(_0x3539d4+0x1)+_0x385a84(0x60d,_0x1b37bb._0x528928,0x7c6,_0x1b37bb._0x59eb14),{'error':_0x34d656(0x3c1,_0x1b37bb._0x2b1e58,0x4ed,_0x1b37bb._0x1bf43f)});if(!isTodoPriority(_0x5cf21b[_0x385a84(0x29a,0x340,_0x1b37bb._0x58a5e9,0x2d8)]))throw new ToolExecutionError(_0x385a84(0x567,0x40c,0x5e0,_0x1b37bb._0x11ba0d)+(_0x3539d4+0x1)+':\x20invalid\x20priority',{'error':_0x385a84(_0x1b37bb._0x3270cd,0x6a0,0x6b8,0x627)});}const _0x5b586e=_0x4f39dc['todos'][_0x34d656(0xf3,_0x1b37bb._0x5e2ab5,0x108,0xb9)](_0x55adad=>_0x55adad['id']);if(new Set(_0x5b586e)[_0x34d656(_0x1b37bb._0x3a0d94,0x47c,0x38e,_0x1b37bb._0x2f51e1)]!==_0x5b586e['length'])throw new ToolExecutionError(_0x385a84(_0x1b37bb._0x413fd6,0x57b,_0x1b37bb._0x509fd0,_0x1b37bb._0x4e93de),{'error':_0x34d656(0x174,_0x1b37bb._0x4dae7f,0x24f,_0x1b37bb._0x207cec)});}function createStatsProgress(_0x4c56ac){const _0x3cd663={_0x211d83:0x1c,_0x14e187:0x68,_0x463bc1:0x47,_0x3593bb:0xdd,_0x417985:0x7c,_0x2648c4:0x40,_0x233f63:0x11d,_0x193ee7:0xc,_0xb87632:0x72},_0x5d45e2={_0x5b64b9:0xae,_0xaa7dd2:0xf7,_0x337ed9:0xaf},_0x57287d={_0x55fd91:0x82,_0x13321d:0xee,_0x16dc7a:0x25};function _0x364956(_0x1b9d26,_0x18559f,_0x4818b5,_0x248383){return _0x1c3a85(_0x1b9d26-_0x57287d._0x55fd91,_0x1b9d26,_0x4818b5-_0x57287d._0x13321d,_0x248383-_0x57287d._0x16dc7a);}function _0x4b3958(_0x3882e6,_0x39636b,_0x1abba1,_0x4e588c){return _0x515b8f(_0x3882e6-_0x5d45e2._0x5b64b9,_0x39636b-_0x5d45e2._0xaa7dd2,_0x1abba1,_0x3882e6-_0x5d45e2._0x337ed9);}return _0x4c56ac[_0x364956(_0x3cd663._0x211d83,-_0x3cd663._0x14e187,_0x3cd663._0x463bc1,_0x3cd663._0x3593bb)]>0x0?Math[_0x364956(_0x3cd663._0x417985,-_0x3cd663._0x2648c4,-_0x3cd663._0x233f63,-_0x3cd663._0x193ee7)](_0x4c56ac[_0x4b3958(0x7c0,0x7ad,0x738,0x718)]/_0x4c56ac[_0x364956(0x13b,0x22a,-_0x3cd663._0xb87632,0xdd)]*0x64)+'%':'0%';}function createReminderItems(_0x4021e5){const _0x1c073e={_0x159345:0x196},_0x3cda6a={_0x2dd70f:0x4b,_0x39bcb6:0x512};function _0x4454e8(_0x2275ee,_0x6a121c,_0x574788,_0x3ce801){return _0x515b8f(_0x2275ee-0x1d2,_0x6a121c-_0x3cda6a._0x2dd70f,_0x2275ee,_0x6a121c- -_0x3cda6a._0x39bcb6);}function _0x5c4e12(_0x509581,_0x230ffe,_0x573fb5,_0x1ff330){return _0x1c3a85(_0x509581-0x9b,_0x230ffe,_0x573fb5-_0x1c073e._0x159345,_0x573fb5-0xd9);}return _0x4021e5['map'](_0x47defd=>({'content':_0x47defd[_0x4454e8(-0x273,-0x14c,-0x1bd,-0x154)],'status':_0x47defd[_0x4454e8(-0x168,-0x95,-0xc6,0x6e)],'id':_0x47defd['id']}));}function createStructuredResult(_0xc31aa7,_0x216d86,_0x2037b6,_0xaca5d0){const _0x2f5110={_0x4c0975:0x33a,_0x518b41:0x357,_0x5db65c:0x4e4,_0x133b65:0x42f,_0x3e22af:0x491},_0x20266a={_0x529f1b:0xa0},_0x56a0e9={_0xba647b:0xbd};function _0x2f7617(_0x200689,_0xb673a4,_0x12b6a5,_0x8a9fd1){return _0x1c3a85(_0x200689-0x77,_0x200689,_0x12b6a5-_0x56a0e9._0xba647b,_0xb673a4-0x19);}function _0x31b7b8(_0x46c027,_0x1dbadd,_0x2e20f0,_0x47e12c){return _0x515b8f(_0x46c027-0xec,_0x1dbadd-0x104,_0x47e12c,_0x1dbadd- -_0x20266a._0x529f1b);}return{'allCompleted':_0xaca5d0,'items':_0x216d86[_0x31b7b8(0x2b2,_0x2f5110._0x4c0975,0x398,_0x2f5110._0x518b41)](_0x42f731=>({'id':_0x42f731['id'],'content':_0x42f731['content'],'status':_0x42f731[_0x31b7b8(0x246,0x3dd,0x27d,0x33b)],'priority':_0x42f731[_0x2f7617(-0xe3,-0xc0,-0xec,-0x189)],'createdAt':_0x42f731[_0x2f7617(0x65,-0x76,-0x149,-0x1bb)]})),'progress':createStatsProgress(_0x2037b6),'recentChanges':!![],'sessionId':_0xc31aa7,'stats':_0x2037b6,'todosWritten':_0x216d86[_0x31b7b8(0x3b7,_0x2f5110._0x5db65c,_0x2f5110._0x133b65,_0x2f5110._0x3e22af)]};}function createOutputText(_0x170e15,_0x26ae76){const _0x5de836={_0x1415a9:0x16d,_0x51b53f:0x4b4,_0x55ee80:0x43e,_0x4c0320:0xb9,_0x194a6f:0x7e,_0x1236db:0xe1,_0x4ee09f:0x68,_0x42652e:0x166,_0xf9ada1:0xe1};function _0x464d6a(_0x27717c,_0x4b1443,_0x33de60,_0x26237d){return _0x515b8f(_0x27717c-0x3f,_0x4b1443-0x1af,_0x33de60,_0x4b1443- -0x146);}function _0x26deff(_0x5328e5,_0x350f25,_0x23f6e6,_0x666716){return _0x515b8f(_0x5328e5-0x196,_0x350f25-0x66,_0x350f25,_0x666716- -0x2e8);}const _0x273f09=JSON[_0x26deff(0x1d5,0xed,0xb9,_0x5de836._0x1415a9)](createReminderItems(_0x170e15));if(_0x26ae76)return'All\x20'+_0x170e15[_0x464d6a(_0x5de836._0x51b53f,_0x5de836._0x55ee80,0x58d,0x27f)]+'\x20todo\x20items\x20have\x20been\x20completed\x20successfully!\x0a\x0a<system-reminder>\x0aAll\x20todo\x20items\x20are\x20now\x20completed!\x20Ask\x20about\x20next\x20steps.\x20Completed\x20list:\x0a'+_0x273f09+_0x26deff(0x279,_0x5de836._0x4c0320,-_0x5de836._0x194a6f,_0x5de836._0x1236db);return'Todos\x20have\x20been\x20modified\x20successfully.\x20Continue\x20with\x20current\x20tasks\x20if\x20applicable.\x0a\x0a<system-reminder>\x0aYour\x20todo\x20list\x20has\x20changed.\x20DO\x20NOT\x20mention\x20this\x20explicitly\x20to\x20the\x20user.\x20Latest\x20contents:\x0a'+_0x273f09+_0x26deff(0x245,-_0x5de836._0x4ee09f,_0x5de836._0x42652e,_0x5de836._0xf9ada1);}function createTodoWriteTool(_0x5c78d2=new TodoStore()){const _0x38fa78={_0x1ed100:0x229,_0x3c688b:0x29b,_0x311a32:0x335,_0x38efa4:0x3e3,_0x53f50d:0x3e2,_0x4a3216:0x391,_0x531019:0x25a,_0x2f768b:0x21d,_0x572521:0x321,_0x17a5ee:0x1b4,_0x52899f:0x188,_0x564573:0x3bc,_0x5b03b4:0x286,_0x5e91f0:0xea,_0x39d307:0x1b6,_0x4ec6ee:0x3c9,_0x378bab:0x184,_0x5b2126:0x427,_0x31aa1f:0x1c8,_0x18c08b:0x104,_0x253632:0x11d,_0x23055b:0xb9,_0x33e947:0x215,_0x4a40c7:0x393},_0x10915b={_0x4944fb:0x24d,_0x1f4a3e:0x234,_0x3f6396:0x31b,_0x195e88:0x1d8,_0x25dbe2:0x62a,_0x3d7166:0x4bc,_0x35eb97:0x50e,_0x4c28ab:0x44e,_0x2a29f1:0x455,_0x3e52f6:0x33f,_0x13b71e:0x4c9,_0x332545:0x52c,_0x47d2b3:0x7e2,_0x5a5af9:0x5f9,_0x5e9260:0x67f,_0x4ce0ee:0x500,_0x3464f0:0x19f,_0x84178:0x164,_0x336d01:0x3b,_0x16533c:0x243,_0x57e19b:0x2b9,_0x4161ba:0x115},_0x44b695={_0x41f7dc:0xd5},_0x9d6a89={_0x109114:0xe6,_0x3d978a:0x11};function _0x5814b0(_0x51ba21,_0x46fcad,_0x5cf5ec,_0xa5da5d){return _0x1c3a85(_0x51ba21-_0x9d6a89._0x109114,_0x46fcad,_0x5cf5ec-_0x9d6a89._0x3d978a,_0xa5da5d- -0x13c);}function _0xc47859(_0x4c2534,_0x5c4d96,_0x57d7bd,_0x37f95f){return _0x1c3a85(_0x4c2534-_0x44b695._0x41f7dc,_0x5c4d96,_0x57d7bd-0x83,_0x4c2534-0x267);}return defineTool({'name':_0xc47859(_0x38fa78._0x1ed100,0x39e,_0x38fa78._0x3c688b,0x26f),'permissionClass':_0xc47859(0x364,0x438,_0x38fa78._0x311a32,_0x38fa78._0x38efa4),'description':_0x5814b0(-0x12b,-_0x38fa78._0x53f50d,-_0x38fa78._0x4a3216,-0x227),'inputSchema':{'type':_0xc47859(_0x38fa78._0x531019,_0x38fa78._0x2f768b,0x200,0x237),'properties':{'todos':{'type':_0xc47859(_0x38fa78._0x572521,0x381,_0x38fa78._0x17a5ee,0x368),'items':{'type':_0xc47859(_0x38fa78._0x531019,_0x38fa78._0x52899f,0x1ec,_0x38fa78._0x564573),'properties':{'content':{'type':_0xc47859(_0x38fa78._0x5b03b4,0x3ec,_0x38fa78._0x5e91f0,_0x38fa78._0x39d307)},'status':{'type':'string'},'priority':{'type':_0xc47859(_0x38fa78._0x5b03b4,0x2ca,0x301,_0x38fa78._0x4ec6ee)},'id':{'type':_0xc47859(0x286,0x1b8,_0x38fa78._0x378bab,_0x38fa78._0x5b2126)},'createdAt':{'type':_0x5814b0(-0x122,-_0x38fa78._0x31aa1f,-_0x38fa78._0x18c08b,-_0x38fa78._0x253632)}},'required':['content',_0xc47859(0x25b,0x3d5,0x393,_0x38fa78._0x23055b),_0x5814b0(-0x1ee,-0x105,-0xbf,-_0x38fa78._0x33e947),'id']}}},'required':[_0xc47859(0x22a,_0x38fa78._0x4a40c7,0x1e0,0x3a5)]},async *'execute'(_0xce8e29,_0x4841c6){const _0x5363f9={_0x216b11:0x1cc,_0x47ffec:0xb3},_0x15b986={_0x1b4d99:0x292,_0x213459:0x113};function _0x328585(_0x1c99a3,_0x2dcd58,_0x2660a2,_0x3a1d4e){return _0xc47859(_0x2660a2-_0x15b986._0x1b4d99,_0x2dcd58,_0x2660a2-_0x15b986._0x213459,_0x3a1d4e-0x74);}const _0x55cec7=_0xce8e29;validateTodos(_0x55cec7);const _0x290b0b=_0x4841c6[_0x129ef5(-0x4a7,-0x353,-0x33f,-0x25d)]||_0x129ef5(-0x2db,-0x1db,-_0x10915b._0x4944fb,-0x136),_0x51afa1=new Date()[_0x129ef5(-0x2aa,-_0x10915b._0x1f4a3e,-_0x10915b._0x3f6396,-_0x10915b._0x195e88)](),_0x24c0c0=_0x55cec7[_0x328585(_0x10915b._0x25dbe2,0x54b,_0x10915b._0x3d7166,_0x10915b._0x35eb97)][_0x129ef5(-_0x10915b._0x4c28ab,-_0x10915b._0x2a29f1,-0x30e,-0x2f6)](_0x4a315f=>({'id':_0x4a315f['id'],'content':_0x4a315f[_0x129ef5(-0x1c4,-0x1dd,-0x322,-0x250)],'status':_0x4a315f[_0x129ef5(-0xe9,-0x214,-0x26b,-0x220)],'priority':_0x4a315f['priority'],'sessionId':_0x290b0b,'createdAt':_0x4a315f[_0x328585(0x3b3,0x3c0,0x46a,0x4f7)]||_0x51afa1,'updatedAt':_0x51afa1}));_0x5c78d2[_0x328585(_0x10915b._0x3e52f6,0x339,_0x10915b._0x13b71e,_0x10915b._0x332545)](_0x290b0b,_0x24c0c0);function _0x129ef5(_0x3d450c,_0x5ef1a7,_0x2a0be7,_0x42acf5){return _0xc47859(_0x2a0be7- -0x4c6,_0x5ef1a7,_0x2a0be7-_0x5363f9._0x216b11,_0x42acf5-_0x5363f9._0x47ffec);}const _0x36e151=_0x5c78d2[_0x328585(_0x10915b._0x47d2b3,_0x10915b._0x5a5af9,_0x10915b._0x5e9260,_0x10915b._0x4ce0ee)](_0x290b0b),_0x17afd5=_0x24c0c0[_0x129ef5(-_0x10915b._0x3464f0,-0x50,-_0x10915b._0x84178,_0x10915b._0x336d01)]>0x0&&_0x24c0c0[_0x129ef5(-_0x10915b._0x16533c,-_0x10915b._0x57e19b,-_0x10915b._0x4161ba,-0x14)](_0x24923d=>_0x24923d['status']===_0x328585(0x7e7,0x80f,0x781,0x8f9));return createToolOutput(createOutputText(_0x24c0c0,_0x17afd5),createStructuredResult(_0x290b0b,_0x24c0c0,_0x36e151,_0x17afd5));}});}import{mkdir as _0x3ee5aa,writeFile as _0x1ce260}from'fs/promises';import*as _0x2f260e from'path';function sanitizeFileName(_0x766965){const _0x45756a={_0x5402be:0x3fe},_0x252c56={_0x473e59:0x49,_0x5101fe:0xb7};function _0x457417(_0x4c2cb2,_0x48ef0e,_0x2013ea,_0x57dbe0){return _0x515b8f(_0x4c2cb2-_0x252c56._0x473e59,_0x48ef0e-0xa4,_0x48ef0e,_0x4c2cb2- -_0x252c56._0x5101fe);}return _0x766965[_0x457417(0x474,0x464,0x4c6,_0x45756a._0x5402be)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x17c069,_0x4c7d38){const _0x49030f={_0x3938c3:0x4fd,_0x3c545c:0x3f8,_0xa5d228:0x3c3,_0x35cc42:0x2a8,_0x1ba33d:0x257,_0x4f756b:0x58c,_0x3975d9:0x48c,_0x85c5f0:0x56d,_0x1e6b1e:0x403,_0x2ef56b:0x152,_0x51668c:0x1aa,_0x357ea7:0x17e,_0x43b587:0x449,_0x44abb4:0x69d,_0x1844f3:0x523,_0x4533ff:0x6b6,_0xba950b:0x4b2,_0x203a09:0x379,_0x407cdf:0x26e,_0x523016:0x2f1,_0x1e1bbf:0x1a8,_0x16b82b:0x5cf,_0x167792:0x62d,_0x1729c8:0x28b,_0x18694e:0x29f,_0x317c09:0x28c,_0x2f555f:0x394,_0x23f9cc:0x326,_0x4b6569:0x2cd,_0x2c6bd8:0x39d,_0xf2f917:0x2b0,_0x2c77b2:0x44e,_0x5c840f:0x62e,_0x986bff:0x59d,_0x44759f:0x4a5,_0x383dc2:0x3e,_0x5986fc:0x5c3,_0xc68ad7:0x509,_0x43e97d:0x5ec,_0x4ed177:0x430,_0x2c0c9e:0x3bb,_0x7e4e9a:0x3fe,_0x590315:0x4dd,_0xad1643:0x506,_0x4de0ef:0x517,_0x32c091:0x458,_0x32f1ab:0x597,_0x9086ca:0x3d1,_0x1868dd:0x516,_0x11dc0b:0x527},_0x3e5944={_0xaefe65:0x116},_0x45600c={_0x20d9fc:0x9f},{maxBytes:_0x279997,sessionDir:_0x29a759}=_0x4c7d38;if(!_0x17c069[_0x24677b(_0x49030f._0x3938c3,_0x49030f._0x3c545c,0x56d,0x599)]||Buffer['byteLength'](_0x17c069[_0x3ee9d1(_0x49030f._0xa5d228,0x30f,_0x49030f._0x35cc42,0x1da)],_0x3ee9d1(0x156,0x28c,0x348,0x442))<=_0x279997)return _0x17c069;const _0x1edccc=Buffer[_0x3ee9d1(_0x49030f._0x1ba33d,0x3af,0x569,0x2f9)](_0x17c069[_0x24677b(_0x49030f._0x4f756b,_0x49030f._0x3975d9,_0x49030f._0x85c5f0,0x660)],_0x3ee9d1(_0x49030f._0x1e6b1e,0x28c,_0x49030f._0x2ef56b,_0x49030f._0x51668c));if(!_0x29a759){const _0x559d5d=_0x17c069[_0x3ee9d1(0x36d,0x30f,0x45e,0x41c)][_0x3ee9d1(0x1cd,0x2b0,_0x49030f._0x357ea7,_0x49030f._0x43b587)](0x0,_0x279997);return{..._0x17c069,'output':_0x559d5d+(_0x24677b(0x259,0x302,0x3bb,0x2fa)+_0x279997+'\x20bytes\x20(original:\x20'+_0x1edccc+'\x20bytes).\x20No\x20session\x20directory\x20available\x20for\x20file\x20offload.\x0a</system-reminder>'),'meta':{..._0x17c069['meta'],'truncated':!![],'originalBytes':_0x1edccc,'transforms':[..._0x17c069[_0x24677b(_0x49030f._0x44abb4,0x563,_0x49030f._0x1844f3,0x5c4)][_0x24677b(0x728,0x6af,_0x49030f._0x4533ff,0x832)],_0x24677b(_0x49030f._0xba950b,_0x49030f._0x203a09,0x527,0x3d5)]}};}const _0x51c0a3=_0x17c069[_0x3ee9d1(0x303,0x3c2,0x346,_0x49030f._0x407cdf)]+'_'+sanitizeFileName(_0x17c069[_0x3ee9d1(_0x49030f._0x523016,_0x49030f._0x1e1bbf,0x15d,0x4d)])+_0x24677b(0x57b,_0x49030f._0x16b82b,0x5af,_0x49030f._0x167792),_0x1cb8fc=_0x2f260e['join'](_0x29a759,_0x51c0a3);await _0x3ee5aa(_0x29a759,{'recursive':!![]}),await _0x1ce260(_0x1cb8fc,_0x17c069[_0x3ee9d1(0x373,0x30f,0x278,_0x49030f._0x1729c8)],_0x3ee9d1(_0x49030f._0x18694e,_0x49030f._0x317c09,0x209,_0x49030f._0x2f555f));let _0x5d3740=_0x17c069['output']['slice'](0x0,_0x279997);const _0xa63613=_0x5d3740[_0x3ee9d1(_0x49030f._0x23f9cc,0x41a,_0x49030f._0x4b6569,_0x49030f._0x2c6bd8)]('\x0a');_0xa63613>_0x279997*0.5&&(_0x5d3740=_0x5d3740[_0x3ee9d1(0x248,_0x49030f._0xf2f917,0x356,_0x49030f._0x2c77b2)](0x0,_0xa63613));function _0x24677b(_0x15e30b,_0x314008,_0x397256,_0x476889){return _0x515b8f(_0x15e30b-_0x45600c._0x20d9fc,_0x314008-0x187,_0x15e30b,_0x397256- -0x21);}const _0x41937c=['',_0x24677b(0x75a,0x4d5,0x5d4,0x476),_0x24677b(_0x49030f._0x5c840f,_0x49030f._0x986bff,0x644,_0x49030f._0x44759f)+_0x279997+'\x20bytes\x20(total:\x20'+_0x1edccc+_0x3ee9d1(0x2f2,0x218,0x2f6,0x3bb),_0x3ee9d1(_0x49030f._0x383dc2,0x1a2,0x133,0x134)+_0x1cb8fc,_0x24677b(0x5b1,_0x49030f._0x5986fc,_0x49030f._0xc68ad7,_0x49030f._0x43e97d),'</system-reminder>'][_0x3ee9d1(_0x49030f._0x4ed177,0x33e,0x28e,_0x49030f._0x2c0c9e)]('\x0a');function _0x3ee9d1(_0x10ca66,_0x585714,_0x58f58d,_0x34e492){return _0x1c3a85(_0x10ca66-_0x3e5944._0xaefe65,_0x58f58d,_0x58f58d-0x135,_0x585714-0x20a);}return{..._0x17c069,'output':_0x5d3740+_0x41937c,'meta':{..._0x17c069['meta'],'truncated':!![],'originalBytes':_0x1edccc,'transforms':[..._0x17c069[_0x24677b(_0x49030f._0x7e4e9a,_0x49030f._0x590315,0x523,_0x49030f._0xad1643)][_0x3ee9d1(_0x49030f._0x4de0ef,_0x49030f._0x32c091,0x47a,_0x49030f._0x32f1ab)],_0x24677b(_0x49030f._0x9086ca,_0x49030f._0x1868dd,_0x49030f._0x11dc0b,0x571)]}};}function createUpdateTopicTool(){const _0x37b560={_0x2ff3c3:0x19b,_0x157710:0x244,_0x17c8af:0xf,_0x4240d3:0x255,_0x5705b0:0x2d2,_0x31bebc:0x3b7,_0x18b3a1:0x181},_0x451d21={_0x4ade30:0x12c,_0x31e106:0xa,_0x2e230f:0x17c,_0x1efb3f:0x78,_0x42b2f4:0x346,_0x38b9ca:0x3b2,_0x5ba7a:0x11f,_0x4dc96a:0x16c,_0x4462c2:0x1},_0x3cac36={_0x3f0041:0x183,_0x2a3975:0xd7,_0x11aa4c:0x187},_0x4b4715={_0xe761d4:0xc9,_0x3fa6d3:0x6fd},_0xa1079b={_0x12d70c:0x15,_0xa07ce2:0x558};function _0x5ef720(_0x3c747f,_0x3a0056,_0x7d4c3a,_0x53a62f){return _0x515b8f(_0x3c747f-_0xa1079b._0x12d70c,_0x3a0056-0xb7,_0x53a62f,_0x3a0056- -_0xa1079b._0xa07ce2);}function _0x5192e1(_0x12cea5,_0x1265e9,_0x33e264,_0x8e59ad){return _0x515b8f(_0x12cea5-0x24,_0x1265e9-_0x4b4715._0xe761d4,_0x8e59ad,_0x12cea5- -_0x4b4715._0x3fa6d3);}return defineTool({'name':'UpdateTopic','permissionClass':_0x5192e1(-0x177,-0x12f,-_0x37b560._0x2ff3c3,-0x27a),'description':_0x5ef720(-_0x37b560._0x157710,-0x11f,-0x20d,-_0x37b560._0x17c8af),'inputSchema':{'type':_0x5192e1(-0x281,-0x387,-0x37f,-0x35a),'properties':{'topic':{'type':_0x5192e1(-_0x37b560._0x4240d3,-_0x37b560._0x5705b0,-0x18c,-_0x37b560._0x31bebc)}},'required':[_0x5ef720(_0x37b560._0x18b3a1,0x137,0x207,-0x74)]},async *'execute'(_0x49607f,_0xe3157e){function _0x51e573(_0x2b011e,_0x768dca,_0x1cd4b6,_0x417329){return _0x5192e1(_0x768dca-0x3cb,_0x768dca-0x10a,_0x1cd4b6-0xfb,_0x2b011e);}const {topic:_0x9ecc90}=_0x49607f;if(typeof _0x9ecc90!=='string'||_0x9ecc90['trim']()[_0x2ad8af(-0x9f,-0xf9,_0x451d21._0x4ade30,_0x451d21._0x31e106)]===0x0)throw new ToolExecutionError(_0x2ad8af(_0x451d21._0x2e230f,_0x451d21._0x1efb3f,0x1f,0xf6),{'error':_0x51e573(0x455,_0x451d21._0x42b2f4,0x20d,_0x451d21._0x38b9ca)});const _0x4f4a8f=_0x9ecc90[_0x2ad8af(0x135,_0x451d21._0x5ba7a,-_0x451d21._0x4dc96a,-0x1d)]();_0xe3157e['setTopic']?.(_0x4f4a8f),yield createToolOutput(_0x2ad8af(_0x451d21._0x4462c2,0x62,0x19f,0x1c)+_0x4f4a8f+'\x22',{'topic':_0x4f4a8f});function _0x2ad8af(_0x48c35c,_0x321f45,_0x395491,_0x1d78c1){return _0x5192e1(_0x1d78c1-_0x3cac36._0x3f0041,_0x321f45-_0x3cac36._0x2a3975,_0x395491-_0x3cac36._0x11aa4c,_0x395491);}return void 0x0;}});}import{readFile as _0x33b143,stat as _0x139f2e}from'fs/promises';import*as _0x23d9eb from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set(['auto',_0x515b8f(0x7a8,0x57d,0x4e5,0x614),_0x1c3a85(0x7a,-0x15d,0xd6,0x3d),'original']),PNG_SIGNATURE=Buffer[_0x515b8f(0x488,0x372,0x43a,0x3c0)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x337d60,_0x5d198e){const _0x4b17bf={_0x33aeb4:0x11c,_0x15fc99:0x4f,_0x406a8b:0x1b7,_0x4d0c0c:0x17d,_0x30a555:0x2cf,_0x511c30:0x172,_0x2cf199:0xc2,_0x723fb:0x89,_0x5c7fc0:0x10b,_0x580e8f:0x62,_0x568c69:0x686,_0x3fcc7d:0x7b9,_0x212b43:0x3bd,_0x499ca3:0xda,_0x3d1309:0x11a,_0xd61b65:0x580,_0x1d584d:0x494,_0x875755:0x603,_0x43a856:0x47c,_0x3bfbfd:0x307,_0x2d5a04:0x565,_0x56989a:0x5c5,_0x4cfe25:0x72e,_0x48abff:0x3a5,_0x1b059b:0x352,_0x276a42:0x5a5,_0x51499a:0x4e3,_0x5ac8d9:0x3eb,_0x1cfaa4:0x19,_0x3d41a3:0x153,_0x39aa9e:0x17c,_0x329d93:0x58,_0x4c75b7:0x41,_0x545223:0x168,_0xd49410:0x185,_0x19c99b:0x376,_0x275091:0x2a8,_0x4b151a:0x2fe,_0x5206f3:0x389,_0x4f5819:0x1b5,_0x2e6a7c:0x1b1,_0xb0606f:0x30b},_0xe2f1ad={_0x55d1e6:0x1e7,_0x3f762e:0x2d,_0x437b87:0x6b},_0x336733={_0x1a8b90:0x5f3};if(_0x337d60[_0x23da5f(0x89,-0xde,-_0x4b17bf._0x33aeb4,-_0x4b17bf._0x15fc99)](0x0,0x8)[_0x23da5f(-_0x4b17bf._0x406a8b,-0x180,0x1,-0x34d)](PNG_SIGNATURE))return'image/png';if(_0x337d60[0x0]===0xff&&_0x337d60[0x1]===0xd8&&_0x337d60[0x2]===0xff)return _0x23da5f(-_0x4b17bf._0x4d0c0c,-_0x4b17bf._0x30a555,-_0x4b17bf._0x511c30,-_0x4b17bf._0x2cf199);const _0x13604c=_0x337d60[_0x23da5f(_0x4b17bf._0x723fb,0x7e,-_0x4b17bf._0x5c7fc0,-_0x4b17bf._0x580e8f)](0x0,0x6)[_0x6a9305(0x621,0x53f,_0x4b17bf._0x568c69,_0x4b17bf._0x3fcc7d)]('ascii');if(_0x13604c===_0x6a9305(0x514,_0x4b17bf._0x212b43,0x638,0x3e6)||_0x13604c==='GIF89a')return'image/gif';function _0x23da5f(_0x354f28,_0x23a328,_0xc8afb9,_0x28d140){return _0x515b8f(_0x354f28-0x158,_0x23a328-0xdd,_0xc8afb9,_0x354f28- -_0x336733._0x1a8b90);}function _0x6a9305(_0x20d692,_0x293df4,_0x3fb491,_0xfbbaf2){return _0x515b8f(_0x20d692-_0xe2f1ad._0x55d1e6,_0x293df4-_0xe2f1ad._0x3f762e,_0x293df4,_0x20d692- -_0xe2f1ad._0x437b87);}if(_0x337d60[_0x23da5f(_0x4b17bf._0x723fb,-0x14,-_0x4b17bf._0x499ca3,-_0x4b17bf._0x3d1309)](0x0,0x4)[_0x6a9305(0x621,_0x4b17bf._0xd61b65,0x752,_0x4b17bf._0x1d584d)](_0x6a9305(_0x4b17bf._0x875755,0x626,0x558,0x67c))===_0x6a9305(_0x4b17bf._0x43a856,_0x4b17bf._0x3bfbfd,_0x4b17bf._0x2d5a04,0x61c)&&_0x337d60['subarray'](0x8,0xc)[_0x6a9305(0x621,_0x4b17bf._0x56989a,0x583,_0x4b17bf._0x4cfe25)]('ascii')===_0x6a9305(_0x4b17bf._0x48abff,0x3d6,0x401,_0x4b17bf._0x1b059b))return _0x6a9305(_0x4b17bf._0x276a42,0x6e6,_0x4b17bf._0x51499a,_0x4b17bf._0x5ac8d9);const _0x18950d=_0x23d9eb[_0x23da5f(_0x4b17bf._0x1cfaa4,_0x4b17bf._0x3d41a3,_0x4b17bf._0x39aa9e,_0x4b17bf._0x329d93)](_0x5d198e)['toLowerCase']();if(_0x18950d===_0x23da5f(_0x4b17bf._0x4c75b7,-0x21,-_0x4b17bf._0x545223,_0x4b17bf._0xd49410))return'image/png';if(_0x18950d===_0x6a9305(_0x4b17bf._0x19c99b,_0x4b17bf._0x275091,_0x4b17bf._0x4b151a,_0x4b17bf._0x5206f3)||_0x18950d==='.jpeg')return'image/jpeg';if(_0x18950d===_0x23da5f(-0x20c,-_0x4b17bf._0x4f5819,-_0x4b17bf._0x2e6a7c,-_0x4b17bf._0xb0606f))return'image/gif';if(_0x18950d==='.webp')return _0x6a9305(0x5a5,0x44b,0x6dc,0x6ab);return void 0x0;}function normalizeDetail(_0x1fdcbd){const _0x5612ff={_0x4f2f05:0x499,_0x3e8dd7:0x3a3,_0x3fc6ff:0x3e0,_0x3022b2:0x6cf,_0x15a551:0x657,_0x2dae8b:0x5e9,_0x1861ea:0x4f5,_0x5ce00c:0x6c2},_0x2de2c3={_0x3d22eb:0xf6,_0x282223:0x11f,_0x5c5079:0x40},_0x4cdef6={_0xd73df8:0x49};if(_0x1fdcbd===void 0x0)return void 0x0;const _0x32d63d=_0x1fdcbd[_0x5c1516(_0x5612ff._0x4f2f05,_0x5612ff._0x3e8dd7,_0x5612ff._0x3fc6ff,0x51d)]()[_0x183171(_0x5612ff._0x3022b2,0x56b,_0x5612ff._0x15a551,0x77a)]();function _0x183171(_0x1b35f0,_0x56f7e0,_0x5bb6f5,_0x909de0){return _0x515b8f(_0x1b35f0-0x1b1,_0x56f7e0-0x1a9,_0x56f7e0,_0x5bb6f5- -_0x4cdef6._0xd73df8);}function _0x5c1516(_0x48b9bb,_0x43c24b,_0x1629ee,_0x43a8f6){return _0x515b8f(_0x48b9bb-_0x2de2c3._0x3d22eb,_0x43c24b-_0x2de2c3._0x282223,_0x1629ee,_0x43a8f6- -_0x2de2c3._0x5c5079);}if(!SUPPORTED_DETAILS[_0x183171(_0x5612ff._0x2dae8b,0x4e9,_0x5612ff._0x1861ea,0x36b)](_0x32d63d))throw new ToolExecutionError(_0x183171(0x428,0x63b,0x51a,_0x5612ff._0x5ce00c)+_0x1fdcbd,{'detail':_0x1fdcbd});return _0x32d63d;}function createViewFileTool(_0xe7ee85={}){const _0x573e08={_0x4e294a:0x7d,_0x1cb0fe:0x3f,_0x1315b0:0x1d,_0x5d45d1:0x18b,_0x2213d1:0x445,_0x172987:0x3ca,_0x4d87b1:0x260,_0x38a330:0x283,_0x19290f:0x220,_0x2072e4:0xd5,_0xe5b3ec:0x3be,_0x3c0435:0x256,_0xdec4f7:0x2fc,_0x3e24c4:0x296,_0x5ace37:0x3eb,_0x468fc4:0x334,_0x3cd532:0x263,_0x1950ce:0xa1,_0x252313:0x374},_0xf835a6={_0x1abcf3:0x21f,_0x2cd2b1:0x17d,_0x3c1322:0x491,_0x6d2e81:0x206,_0x3cc088:0x151,_0x242a93:0x17d,_0x4b5f94:0x182,_0x443331:0x60,_0x4a27a3:0x2ba,_0x3b3f31:0x185,_0x67ecc7:0x126,_0xaca5c8:0x1e7,_0x567aba:0x258,_0x493484:0x2c3,_0x360775:0x315,_0x3ce7a5:0x1b,_0x199cbd:0x1f3,_0x379c9a:0x3f,_0x225c2c:0x19c,_0x3a7255:0x247,_0x361a79:0x16c,_0x2df3f7:0x3c8,_0x9fa098:0x13a,_0x31f2db:0x86,_0x16a67b:0x99,_0x2f3e6e:0x84,_0x375a36:0x23d,_0x35efcb:0x1b4,_0x16f719:0x1a9,_0x1b7901:0x1f,_0x4c0dd3:0x260,_0xf375e1:0x304,_0x38819a:0x36a,_0x453a80:0x21d,_0x173383:0x96,_0x32606a:0xec,_0x4e6333:0x53,_0x3032d2:0x1d9,_0x3e7dea:0x26a,_0x4ee859:0x23b,_0x5a0e1e:0x536,_0x5135fe:0x2f1,_0x90e3c5:0x39b,_0x63c329:0x148,_0xe3079e:0x165,_0x40bafd:0xdc,_0x39f83d:0x138,_0x2c26f9:0x234,_0x1aa005:0x145,_0x10068b:0x9,_0x489c6e:0x150,_0x16039f:0xdc,_0x516679:0x3fa},_0x23a255={_0x542ce6:0x58};function _0x49fa5f(_0x460b7d,_0x520f5a,_0x236247,_0x2f75c5){return _0x515b8f(_0x460b7d-_0x23a255._0x542ce6,_0x520f5a-0x43,_0x460b7d,_0x520f5a- -0x245);}function _0x746021(_0x33193c,_0x162217,_0x3d602c,_0x5c04e0){return _0x515b8f(_0x33193c-0x11f,_0x162217-0x28,_0x33193c,_0x162217- -0x339);}const _0x3c7401=_0x23d9eb['resolve'](_0xe7ee85[_0x746021(_0x573e08._0x4e294a,0x64,-_0x573e08._0x1cb0fe,_0x573e08._0x1315b0)]??process[_0x746021(_0x573e08._0x5d45d1,0x8e,0x9b,0x1c9)]()),_0x3168a0=_0xe7ee85[_0x49fa5f(0x55f,_0x573e08._0x2213d1,0x39b,0x4c0)]??[],_0x3b254a=_0xe7ee85['maxBytes']??DEFAULT_MAX_BYTES,_0xc432f6=_0xe7ee85[_0x746021(_0x573e08._0x172987,_0x573e08._0x4d87b1,0x367,_0x573e08._0x38a330)]??_0x49fa5f(0x204,0x26f,_0x573e08._0x19290f,_0x573e08._0x2072e4);return defineTool({'name':_0xc432f6,'permissionClass':_0x49fa5f(0x3da,0x341,_0x573e08._0xe5b3ec,0x446),'description':_0x746021(0x8b,0x1b9,0x50,0x2c4),'inputSchema':{'type':_0x746021(_0x573e08._0x3c0435,0x143,_0x573e08._0xdec4f7,0x16f),'properties':{'path':{'type':_0x49fa5f(_0x573e08._0x3e24c4,0x263,0x31a,_0x573e08._0x5ace37)},'detail':{'type':_0x49fa5f(_0x573e08._0x468fc4,_0x573e08._0x3cd532,_0x573e08._0x1950ce,_0x573e08._0x252313)}},'required':['path']},async *'execute'(_0x2e7bb3){const _0x3fe48e={_0x4907dc:0x393},_0x4e0a36={_0x47f0c9:0xac,_0x51ab49:0x94},_0x175acf=resolveAllowedPath(_0x3c7401,_0x3168a0,_0x2e7bb3[_0x426529(-_0xf835a6._0x1abcf3,-0x2b3,-_0xf835a6._0x2cd2b1,-0xa4)]);await assertWorkspaceFile(_0x175acf);const _0x413699=await _0x139f2e(_0x175acf);function _0x54c5f5(_0x3cc38f,_0x173ab3,_0x573e6d,_0x1e2e90){return _0x49fa5f(_0x173ab3,_0x573e6d- -_0x4e0a36._0x47f0c9,_0x573e6d-_0x4e0a36._0x51ab49,_0x1e2e90-0x11);}if(_0x413699[_0x54c5f5(_0xf835a6._0x3c1322,0x448,0x3fa,0x292)]>_0x3b254a)throw new ToolExecutionError(_0x426529(-_0xf835a6._0x6d2e81,-_0xf835a6._0x3cc088,-0xe6,0xd3)+_0x2e7bb3[_0x426529(-0x174,-0x6e,-_0xf835a6._0x242a93,-0x329)],{'path':_0x2e7bb3[_0x426529(-_0xf835a6._0x4b5f94,-_0xf835a6._0x443331,-0x17d,-_0xf835a6._0x4a27a3)],'maxBytes':_0x3b254a,'size':_0x413699[_0x426529(-_0xf835a6._0x3b3f31,0x128,0x1f,_0xf835a6._0x67ecc7)]});const _0x4e816d=await _0x33b143(_0x175acf),_0xfafc06=detectImageMediaType(_0x4e816d,_0x175acf);if(!_0xfafc06)throw new ToolExecutionError(_0x426529(-_0xf835a6._0xaca5c8,-_0xf835a6._0x567aba,-_0xf835a6._0x493484,-_0xf835a6._0x360775)+_0x2e7bb3[_0x426529(-_0xf835a6._0x3ce7a5,-_0xf835a6._0x199cbd,-0x17d,-_0xf835a6._0x379c9a)],{'path':_0x2e7bb3['path'],'supported':[_0x426529(-_0xf835a6._0x225c2c,-0x300,-0x2e5,-0x13f),_0x426529(-_0xf835a6._0x3a7255,-_0xf835a6._0x361a79,-0x324,-_0xf835a6._0x2df3f7),'.jpg',_0x426529(-0x55,-0x9a,-0x98,0x20),'.webp']});const _0xea8f86=normalizeDetail(_0x2e7bb3[_0x426529(-0x1c2,-_0xf835a6._0x9fa098,-_0xf835a6._0x31f2db,-_0xf835a6._0x16a67b)]);function _0x426529(_0x163ded,_0x193878,_0x114ef8,_0x4ab38a){return _0x746021(_0x4ab38a,_0x114ef8- -_0x3fe48e._0x4907dc,_0x114ef8-0xe6,_0x4ab38a-0x8f);}const _0x59ffda=[_0x426529(_0xf835a6._0x2f3e6e,0x3,-0x71,-0x96)+_0x2e7bb3[_0x426529(-0x1dc,-_0xf835a6._0x375a36,-0x17d,-0x35)],'MIME:\x20'+_0xfafc06,'Size:\x20'+_0x413699[_0x426529(_0xf835a6._0x35efcb,_0xf835a6._0x16f719,_0xf835a6._0x1b7901,0x13)]+_0x426529(-0x1dc,-0xf5,-0x270,-_0xf835a6._0x4c0dd3)][_0x426529(-_0xf835a6._0xf375e1,-_0xf835a6._0x38819a,-_0xf835a6._0x453a80,-_0xf835a6._0x173383)](_0xea8f86?[_0x426529(-_0xf835a6._0x32606a,-0x1a0,-_0xf835a6._0x4e6333,-_0xf835a6._0x3032d2)+_0xea8f86]:[])['join']('\x0a'),_0x34afc0=[{'type':'image','source':{'type':_0x54c5f5(_0xf835a6._0x3e7dea,0x16b,0x2ab,_0xf835a6._0x4ee859),'media_type':_0xfafc06,'data':_0x4e816d[_0x54c5f5(_0xf835a6._0x5a0e1e,_0xf835a6._0x5135fe,_0xf835a6._0x90e3c5,0x1ee)](_0x54c5f5(0x258,0x1b4,0x2ab,0x34a))}},{'type':_0x54c5f5(_0xf835a6._0x63c329,0x193,_0xf835a6._0xe3079e,_0xf835a6._0x40bafd),'text':_0x59ffda}];return yield createToolOutput(_0x59ffda,{'path':_0x2e7bb3[_0x426529(-0x1b5,-_0xf835a6._0x39f83d,-_0xf835a6._0x242a93,-_0xf835a6._0x2c26f9)],'resolvedPath':_0x175acf,'created':_0x413699['birthtime'][_0x54c5f5(0x24e,_0xf835a6._0x1aa005,0xdc,-_0xf835a6._0x10068b)](),'modified':_0x413699['mtime'][_0x54c5f5(_0xf835a6._0x489c6e,0x22a,_0xf835a6._0x16039f,0x25e)](),'size':_0x413699[_0x54c5f5(0x4cb,0x312,_0xf835a6._0x516679,0x364)],'mimeType':_0xfafc06,'encoding':'base64',..._0xea8f86?{'detail':_0xea8f86}:{}},_0x34afc0),void 0x0;}});}import _0x437881 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x5aa880=>{const _0x5a8525={_0x2534ae:0x173,_0x4893ef:0x3d7,_0x28ac09:0x25f},_0x263892={_0x37dcda:0x19e},{lookup:_0x493a20}=await import(_0x1be8ab(_0x5a8525._0x2534ae,0x2ca,_0x5a8525._0x4893ef,_0x5a8525._0x28ac09));function _0x1be8ab(_0xb51d86,_0x436ad3,_0x535e07,_0x7b7958){return _0x515b8f(_0xb51d86-0xb8,_0x436ad3-0x27,_0x535e07,_0x7b7958- -_0x263892._0x37dcda);}return _0x493a20(_0x5aa880,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x493eda){const _0x454c50={_0x35cb97:0x357,_0x8a434d:0x315,_0x442adf:0x247},_0x143297={_0x449ef1:0x3ba},_0x2e70fd={_0x550579:0x62,_0x4349a5:0x9e},_0x20f5f3=_0x493eda[_0x3006b0(0x1bd,0x27e,_0x454c50._0x35cb97,_0x454c50._0x8a434d)]('.');if(_0x20f5f3['length']!==0x4)return null;let _0x42fa1d=0x0;function _0x53e226(_0x5c4f84,_0x1f7362,_0xbceb87,_0x733680){return _0x1c3a85(_0x5c4f84-0x2a,_0xbceb87,_0xbceb87-_0x2e70fd._0x550579,_0x5c4f84- -_0x2e70fd._0x4349a5);}function _0x3006b0(_0x58254d,_0x57b842,_0x513178,_0x406cad){return _0x515b8f(_0x58254d-0x1f4,_0x57b842-0x104,_0x406cad,_0x57b842- -_0x143297._0x449ef1);}for(const _0x3f5de6 of _0x20f5f3){if(!/^\d{1,3}$/[_0x3006b0(0x25e,0x179,_0x454c50._0x442adf,0x97)](_0x3f5de6))return null;const _0x6f4458=Number(_0x3f5de6);if(_0x6f4458>0xff)return null;_0x42fa1d=_0x42fa1d*0x100+_0x6f4458;}return _0x42fa1d>>>0x0;}function isBlockedIpv4(_0x34b8d2){const _0x150044={_0x3e7a82:0xaf,_0x5c39e7:0x146,_0x44ec0f:0x187,_0xe7492b:0xe6,_0x37e5ff:0x1c4,_0x251485:0x1ad,_0x473845:0x307,_0x38e397:0x2eb,_0x5128c7:0x6a,_0x22e25d:0x147,_0xfc882f:0x94,_0x595cc2:0x13b,_0x4b6ba9:0x7e,_0x35fb14:0x159,_0x49bf20:0x5b,_0x574214:0x1be,_0x3cdad3:0x319,_0xf693ca:0x72,_0x4144e0:0x128,_0x4dfb20:0x1e,_0xbe7c23:0x15c,_0x488006:0x17a},_0x19f6b9={_0x82b744:0x13b},_0x2c31ff=ipv4ToInt(_0x34b8d2);if(_0x2c31ff===null)return!![];function _0xa5cd19(_0x3b11b7,_0x128be9,_0x4963a0,_0x5c2bb2){return _0x515b8f(_0x3b11b7-0x15e,_0x128be9-0x16e,_0x4963a0,_0x128be9- -0x3ba);}function _0x48c543(_0x3968f2,_0x8ddf04,_0x52112e,_0x14aeda){return _0x1c3a85(_0x3968f2-0x122,_0x3968f2,_0x52112e-0x1f4,_0x8ddf04- -_0x19f6b9._0x82b744);}const _0x453ead=(_0x319365,_0x15e0fc)=>{const _0x17267b=ipv4ToInt(_0x319365);if(_0x17267b===null)return![];const _0x38aff6=_0x15e0fc===0x0?0x0:0xffffffff<<0x20-_0x15e0fc>>>0x0;return(_0x2c31ff&_0x38aff6)===(_0x17267b&_0x38aff6);};return _0x453ead(_0x48c543(-_0x150044._0x3e7a82,-0x1a,_0x150044._0x5c39e7,_0x150044._0x44ec0f),0x8)||_0x453ead(_0xa5cd19(0x209,_0x150044._0xe7492b,_0x150044._0x37e5ff,0x269),0x8)||_0x453ead(_0xa5cd19(_0x150044._0x251485,_0x150044._0x473845,_0x150044._0x38e397,0x2dc),0xa)||_0x453ead(_0x48c543(-0x1d6,-_0x150044._0x5128c7,_0x150044._0x22e25d,_0x150044._0xfc882f),0x8)||_0x453ead(_0xa5cd19(_0x150044._0x595cc2,_0x150044._0x4b6ba9,_0x150044._0x35fb14,-_0x150044._0x49bf20),0x10)||_0x453ead('172.16.0.0',0xc)||_0x453ead(_0xa5cd19(0x10f,0x1f6,_0x150044._0x574214,_0x150044._0x3cdad3),0x18)||_0x453ead('192.168.0.0',0x10)||_0x453ead('198.18.0.0',0xf)||_0x453ead(_0x48c543(_0x150044._0xf693ca,-0xf2,-0x61,-0xf0),0x4)||_0x453ead(_0x48c543(_0x150044._0x4144e0,-_0x150044._0x4dfb20,_0x150044._0xbe7c23,_0x150044._0x488006),0x4);}function expandIpv6(_0x242e5f){const _0x10b834={_0x5c9e68:0x5d6,_0x121098:0x8a7,_0x4d4fac:0x4d1,_0x110243:0x4d0,_0x5d3f64:0x3e3,_0x3151b0:0x66f,_0x2e5e83:0x5da,_0x4ec7ef:0x4bd,_0x41503c:0x4bb,_0x3375f0:0x690,_0x5b2487:0x4db,_0x25bd9f:0x634,_0x295e2e:0x60b,_0x14f2b9:0x39d,_0x508bce:0x419,_0x9dfb2d:0x6a8,_0xf28f60:0x6c4,_0x121e8c:0x536,_0x5e36f6:0x3e2,_0xba8423:0x489},_0x5cb2a9={_0x4f2bf8:0x162,_0x58bfaf:0x5e},_0x13b797={_0x29fedf:0xb6,_0xf6041b:0x539};let _0x25ca22=_0x242e5f,_0x2ae6d5;const _0x1a7209=_0x25ca22[_0x3812f1(_0x10b834._0x5c9e68,_0x10b834._0x121098,0x5a2,0x749)](':');_0x25ca22[_0x505ef2(_0x10b834._0x4d4fac,_0x10b834._0x110243,0x648,_0x10b834._0x5d3f64)](_0x1a7209+0x1)[_0x3812f1(0x471,_0x10b834._0x3151b0,0x535,0x514)]('.')&&(_0x2ae6d5=_0x25ca22['slice'](_0x1a7209+0x1),_0x25ca22=_0x25ca22[_0x3812f1(0x45a,0x584,0x6eb,0x5df)](0x0,_0x1a7209+0x1));const _0x35ef8f=_0x25ca22[_0x505ef2(_0x10b834._0x2e5e83,0x73a,_0x10b834._0x4ec7ef,_0x10b834._0x41503c)]('::');if(_0x35ef8f['length']>0x2)return null;function _0x3812f1(_0x31bdd3,_0x1715ad,_0x1a67d0,_0x1c6cff){return _0x1c3a85(_0x31bdd3-0x7d,_0x1715ad,_0x1a67d0-_0x13b797._0x29fedf,_0x1c6cff-_0x13b797._0xf6041b);}const _0xb23d24=_0x4224b8=>_0x4224b8['split'](':')[_0x505ef2(0x4c7,0x618,0x475,0x5a3)](_0x271b9d=>_0x271b9d['length']>0x0)[_0x3812f1(0x648,0x48d,0x4b3,0x48a)](_0x27d264=>Number[_0x3812f1(0x79a,0x49e,0x6ea,0x5e5)](_0x27d264,0x10)),_0x5102b9=_0x35ef8f[0x0]?_0xb23d24(_0x35ef8f[0x0]):[],_0x267dd8=_0x35ef8f[_0x3812f1(_0x10b834._0x3375f0,_0x10b834._0x5b2487,_0x10b834._0x4d4fac,_0x10b834._0x25bd9f)]===0x2&&_0x35ef8f[0x1]?_0xb23d24(_0x35ef8f[0x1]):[],_0x5963c3=[];if(_0x2ae6d5){const _0x21ebd5=ipv4ToInt(_0x2ae6d5);if(_0x21ebd5===null)return null;_0x5963c3[_0x505ef2(0x699,_0x10b834._0x295e2e,0x754,0x575)](_0x21ebd5>>>0x10&0xffff,_0x21ebd5&0xffff);}const _0x573319=[..._0x267dd8,..._0x5963c3],_0x5d80bf=0x8-_0x5102b9['length']-_0x573319[_0x505ef2(0x526,_0x10b834._0x14f2b9,_0x10b834._0x508bce,0x440)];function _0x505ef2(_0x553dce,_0x57b438,_0x56bb52,_0x51b2b6){return _0x515b8f(_0x553dce-0xcd,_0x57b438-_0x5cb2a9._0x4f2bf8,_0x57b438,_0x553dce- -_0x5cb2a9._0x58bfaf);}if(_0x35ef8f['length']===0x1)return _0x5102b9['length']+_0x573319[_0x505ef2(0x526,_0x10b834._0x9dfb2d,_0x10b834._0xf28f60,_0x10b834._0x121e8c)]===0x8?[..._0x5102b9,..._0x573319]:null;if(_0x5d80bf<0x0)return null;return[..._0x5102b9,...new Array(_0x5d80bf)[_0x505ef2(0x4d9,_0x10b834._0x5e36f6,0x587,_0x10b834._0xba8423)](0x0),..._0x573319];}function isBlockedIpv6(_0x3384ab){const _0x53bf92={_0x45f5e4:0xd,_0x5e3d9a:0xf5,_0x23d971:0x8b,_0x98a052:0x1a1,_0x47b957:0x26f,_0x65cf3f:0x28e,_0x1c7662:0x151},_0x2523ae={_0x4ce0cc:0x14f},_0x458ed2=expandIpv6(_0x3384ab);if(!_0x458ed2||_0x458ed2[_0x158e0c(_0x53bf92._0x45f5e4,-0x28f,-_0x53bf92._0x5e3d9a,-0x177)](_0x485cb3=>Number['isNaN'](_0x485cb3)))return!![];const _0x393044=_0x458ed2[_0x1c6d80(-0x16d,-0xa9,-0xda,_0x53bf92._0x23d971)](0x0,0x7)[_0x1c6d80(0xda,-0x5,-0xd6,-_0x53bf92._0x98a052)](_0x3400ac=>_0x3400ac===0x0);if(_0x393044&&(_0x458ed2[0x7]===0x0||_0x458ed2[0x7]===0x1))return!![];if(_0x458ed2[_0x158e0c(-_0x53bf92._0x47b957,-0x289,-0xec,-_0x53bf92._0x65cf3f)](0x0,0x5)[_0x158e0c(-0x34,-0x1e1,-0x48,-_0x53bf92._0x1c7662)](_0x17d0bf=>_0x17d0bf===0x0)&&(_0x458ed2[0x5]===0xffff||_0x458ed2[0x5]===0x0)){const _0x1028d0=(_0x458ed2[0x6]<<0x10|_0x458ed2[0x7])>>>0x0,_0x36d4ab=[_0x1028d0>>>0x18&0xff,_0x1028d0>>>0x10&0xff,_0x1028d0>>>0x8&0xff,_0x1028d0&0xff]['join']('.');return isBlockedIpv4(_0x36d4ab);}const _0x14b5a6=_0x458ed2[0x0];if((_0x14b5a6&0xff00)===0xfc00||(_0x14b5a6&0xfe00)===0xfc00)return!![];if((_0x14b5a6&0xffc0)===0xfe80)return!![];function _0x158e0c(_0x2c3eda,_0x352436,_0x5deab0,_0x453d17){return _0x1c3a85(_0x2c3eda-0xf2,_0x2c3eda,_0x5deab0-0x81,_0x5deab0- -0x192);}if((_0x14b5a6&0xff00)===0xff00)return!![];function _0x1c6d80(_0x38e4f8,_0x296c4b,_0x18e019,_0x362120){return _0x1c3a85(_0x38e4f8-0xfd,_0x18e019,_0x18e019-0x1f3,_0x296c4b- -_0x2523ae._0x4ce0cc);}return![];}function isBlockedAddress(_0x26642c){const _0x30c0de=isIP(_0x26642c);if(_0x30c0de===0x4)return isBlockedIpv4(_0x26642c);if(_0x30c0de===0x6)return isBlockedIpv6(_0x26642c);return!![];}async function assertPublicUrl(_0x39a682,_0x12f234={}){const _0x1d76d2={_0x48956e:0x55d,_0x210116:0x574,_0x48b46e:0x6c8,_0x56dda4:0x19,_0x267b3f:0x13,_0x48f6b6:0xc1,_0x18699d:0x211,_0x4efe31:0xc,_0x1d0061:0xd2,_0x41ee68:0xac,_0x64acc4:0x693,_0x161ff0:0x50f,_0x24207f:0x12f,_0x28568c:0xf7,_0x28a5d7:0x617,_0x4f6876:0x52a,_0x1c39a4:0x687,_0xedbc63:0x16b,_0x575489:0x2ab,_0x2ab071:0xd9,_0x57b816:0x218,_0x1036ea:0xb3,_0x1a28f1:0x35,_0x5de059:0x77e,_0x142bcf:0x6e2,_0x5d025e:0x717,_0x2722b6:0x60c,_0x5d2c8d:0x333,_0x50df46:0x1b4},_0x49b714={_0x53303d:0x11d},_0x322604={_0x30b5cf:0xa};let _0x306af3;try{_0x306af3=new URL(_0x39a682);}catch{throw new ToolExecutionError(_0x496d05(_0x1d76d2._0x48956e,0x558,_0x1d76d2._0x210116,_0x1d76d2._0x48b46e),{'url':_0x39a682});}if(_0x306af3[_0x5c25bf(-0x112,-_0x1d76d2._0x56dda4,-_0x1d76d2._0x267b3f,-0xd2)]!=='http:'&&_0x306af3[_0x5c25bf(_0x1d76d2._0x48f6b6,-_0x1d76d2._0x18699d,-_0x1d76d2._0x4efe31,-_0x1d76d2._0x1d0061)]!==_0x5c25bf(-0x1e7,_0x1d76d2._0x41ee68,-0x18a,-0x105))throw new ToolExecutionError(_0x496d05(_0x1d76d2._0x64acc4,0x5de,0x513,0x60f),{'url':_0x39a682});if(_0x306af3['username']||_0x306af3[_0x5c25bf(-0x165,0x11,-0xde,0x23)])throw new ToolExecutionError('URLs\x20must\x20not\x20include\x20usernames\x20or\x20passwords',{'url':_0x306af3['protocol']+'//'+_0x306af3[_0x496d05(0x640,0x51c,_0x1d76d2._0x161ff0,0x549)]+_0x306af3[_0x5c25bf(-0x46,-0x2b,-_0x1d76d2._0x24207f,-_0x1d76d2._0x28568c)]});function _0x5c25bf(_0x1221ba,_0x521473,_0x1aff03,_0x1ec050){return _0x515b8f(_0x1221ba-_0x322604._0x30b5cf,_0x521473-0xc7,_0x1aff03,_0x1ec050- -0x5fe);}const _0x47e223=_0x306af3[_0x496d05(_0x1d76d2._0x28a5d7,0x6b4,_0x1d76d2._0x4f6876,_0x1d76d2._0x1c39a4)]['replace'](/^\[|\]$/g,''),_0x5820cb=_0x306af3[_0x5c25bf(-0x1a5,-_0x1d76d2._0xedbc63,0xef,-0xd2)]+'//'+_0x306af3['host']+_0x306af3[_0x5c25bf(-0x18c,-_0x1d76d2._0x575489,-_0x1d76d2._0x2ab071,-0xf7)];if(isIP(_0x47e223)){if(isBlockedAddress(_0x47e223))throw new ToolExecutionError(_0x5c25bf(_0x1d76d2._0x57b816,-_0x1d76d2._0x1036ea,-_0x1d76d2._0x1a28f1,0xea),{'url':_0x5820cb});return _0x306af3;}const _0x3b7498=_0x12f234['lookup']??defaultLookup;let _0xa4ced0;try{_0xa4ced0=await _0x3b7498(_0x47e223);}catch{throw new ToolExecutionError(_0x496d05(0x741,_0x1d76d2._0x5de059,0x7a9,_0x1d76d2._0x142bcf),{'url':_0x5820cb});}function _0x496d05(_0x171116,_0x4f279f,_0x3302bc,_0x51378b){return _0x515b8f(_0x171116-0x16b,_0x4f279f-_0x49b714._0x53303d,_0x51378b,_0x171116-0xa3);}if(_0xa4ced0[_0x496d05(0x627,_0x1d76d2._0x5d025e,0x6b9,_0x1d76d2._0x2722b6)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x5820cb});for(const {address:_0x59ecc8}of _0xa4ced0){if(isBlockedAddress(_0x59ecc8))throw new ToolExecutionError(_0x5c25bf(-0x1e2,-_0x1d76d2._0x5d2c8d,-_0x1d76d2._0x50df46,-0x229),{'url':_0x5820cb});}return _0x306af3;}async function safeFetch(_0x3b8f93,_0x2d62d9={},_0x1787fc={}){const _0x10cdd9={_0x450828:0x32b,_0x2fe858:0x57,_0x56fdd3:0x1f3,_0x3e3bff:0x1af,_0x30880c:0xed,_0x57fd9b:0x1f,_0x4a9edb:0x209,_0x33e523:0x45,_0x1bda38:0x163,_0x3e20f0:0x23,_0x41ad14:0xa5},_0xdfc9d1={_0x1f4ae4:0x1e2},_0x3b1d11={_0x38873a:0x9d,_0x89771:0x6e3};function _0x592d26(_0x2b695e,_0x195a32,_0x3e1f64,_0x25ff9e){return _0x515b8f(_0x2b695e-_0x3b1d11._0x38873a,_0x195a32-0x14b,_0x3e1f64,_0x195a32- -_0x3b1d11._0x89771);}const _0x48768d=_0x1787fc[_0x4ed8d6(0xc0,-0xb,-0x81,0x18)]??fetch,_0x423e07=_0x1787fc[_0x592d26(-0x4e6,-_0x10cdd9._0x450828,-0x390,-0x39c)]??DEFAULT_MAX_REDIRECTS;function _0x4ed8d6(_0x97ff85,_0x5eaef3,_0xc1549d,_0x25f3de){return _0x515b8f(_0x97ff85-_0xdfc9d1._0x1f4ae4,_0x5eaef3-0xf6,_0x5eaef3,_0xc1549d- -0x561);}let _0x5185f7=_0x3b8f93;for(let _0x5f3746=0x0;;_0x5f3746+=0x1){const _0x17591e=await assertPublicUrl(_0x5185f7,_0x1787fc),_0x134950=await _0x48768d(_0x17591e[_0x592d26(0x13e,-_0x10cdd9._0x2fe858,-_0x10cdd9._0x56fdd3,-0x6a)](),{..._0x2d62d9,'redirect':_0x592d26(-0x95,-_0x10cdd9._0x3e3bff,-_0x10cdd9._0x30880c,-_0x10cdd9._0x57fd9b)}),_0x421409=_0x134950[_0x592d26(-0x385,-_0x10cdd9._0x4a9edb,-0x1a5,-0x29b)]['get'](_0x4ed8d6(-_0x10cdd9._0x33e523,0x292,0xeb,-0xd5));if(!REDIRECT_STATUSES[_0x4ed8d6(0x116,_0x10cdd9._0x1bda38,-_0x10cdd9._0x3e20f0,_0x10cdd9._0x41ad14)](_0x134950['status'])||!_0x421409)return _0x134950;if(_0x5f3746>=_0x423e07)throw new ToolExecutionError(_0x592d26(0xf,-0x7d,-0x10,0xd3),{'url':_0x17591e[_0x592d26(-0x52,-0x57,-0x48,0x11a)]()});_0x5185f7=new URL(_0x421409,_0x17591e)['toString']();}}var USER_AGENT=_0x515b8f(0x397,0x2c7,0x366,0x487),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x20e3d5,_0x19c2f5){const _0x12bf20={_0x50c09b:0x427,_0xb76750:0x435,_0x4ff4ac:0x50f,_0x220470:0x38c,_0x43efa4:0x3a5,_0x3cc001:0x1e4,_0x4617b2:0x22a,_0x128e10:0x37a,_0x21fa38:0x3e5,_0x180655:0x584},_0x375507={_0x4702da:0x221,_0x1eac0b:0x64,_0x3ccbde:0x1c0},_0x2ee13c={_0x1deeeb:0x11},_0x3bc2ba={_0x4e18c9:0x14a};function _0x54fd92(_0x2c4d0e,_0x3c36ad,_0xcafa84,_0x31e0ba){return _0x1c3a85(_0x2c4d0e-0x1ce,_0x31e0ba,_0xcafa84-_0x3bc2ba._0x4e18c9,_0xcafa84-0x3e6);}const _0x457f07=new AbortController();function _0x4a514f(_0x503b35,_0x15e7e8,_0x59acb1,_0x4907bc){return _0x1c3a85(_0x503b35-_0x2ee13c._0x1deeeb,_0x15e7e8,_0x59acb1-0x71,_0x59acb1-0x1b1);}const _0x433d24=setTimeout(()=>_0x457f07[_0x4a514f(0x83,0x142,0x200,0x2d3)](new Error('Fetch\x20timed\x20out')),_0x19c2f5),_0x2441d3=()=>_0x457f07[_0x4a514f(0x26d,0x20c,0x200,0x3b3)](_0x20e3d5[_0x54fd92(0x228,0x23a,0x38c,0x2fb)]);return _0x20e3d5[_0x54fd92(0x4d5,0x2b1,0x3d1,0x571)]?_0x457f07[_0x54fd92(_0x12bf20._0x50c09b,0x566,_0x12bf20._0xb76750,0x5c6)](_0x20e3d5[_0x54fd92(_0x12bf20._0x4ff4ac,0x36b,_0x12bf20._0x220470,_0x12bf20._0x43efa4)]):_0x20e3d5[_0x4a514f(_0x12bf20._0x3cc001,0x338,_0x12bf20._0x4617b2,_0x12bf20._0x128e10)](_0x54fd92(_0x12bf20._0x21fa38,0x31b,0x435,_0x12bf20._0x180655),_0x2441d3,{'once':!![]}),{'signal':_0x457f07[_0x4a514f(0x4ec,0x324,0x3ef,0x4ee)],'cleanup':()=>{const _0x292415={_0x59e041:0xa8};clearTimeout(_0x433d24);function _0x3fa52c(_0x506fdd,_0x5793be,_0x3a72d0,_0xad501e){return _0x4a514f(_0x506fdd-0x1cd,_0x3a72d0,_0x506fdd- -0x3c8,_0xad501e-0x154);}function _0x306cdc(_0x5f1563,_0x354a08,_0x1b7a74,_0x26b2e1){return _0x54fd92(_0x5f1563-0xe1,_0x354a08-_0x292415._0x59e041,_0x5f1563- -0x59e,_0x26b2e1);}_0x20e3d5[_0x3fa52c(-0x1f0,-_0x375507._0x4702da,-0xe0,-_0x375507._0x1eac0b)](_0x3fa52c(-0x1c8,-_0x375507._0x3ccbde,-0x2cc,-0xa9),_0x2441d3);}};}function _0x1c3a85(_0x5628c2,_0x4d2093,_0x149a22,_0x1bc9fc){return _0x2a2f(_0x1bc9fc- -0x162,_0x4d2093);}function createWebFetchTool(_0x486394={}){const _0x48b03d={_0x3f8ab5:0x46b,_0x162ef2:0x397,_0x35c0e3:0x428,_0x17f639:0x224,_0x5cbed7:0x14b,_0x3500b0:0x424,_0x3431ea:0x285,_0xc1328c:0x5c3,_0x1dc308:0x502,_0xd62f72:0x354,_0x365b7b:0x19d,_0x2a98b2:0x3ea,_0x55f1e5:0x3d0,_0x191da2:0x117,_0x3a67c5:0x79,_0x3cfdd8:0x2c,_0xa1e966:0x6,_0xa4e0c:0x143,_0x30a03d:0x1db,_0x832ff0:0x2e3,_0x3fcc1a:0x2f0,_0x808793:0x45,_0x424d81:0x133,_0x39722e:0x216,_0x27604d:0x1eb,_0x57a219:0x24f,_0xd49eb7:0x24b,_0x1cb486:0x312,_0x5a305b:0x4b9},_0x5692d6={_0x45398f:0x675,_0x75d2cf:0x7a9,_0x167089:0x5e7,_0xc919d3:0x450,_0x556d17:0x1fb,_0x49845c:0x15f,_0x241dce:0x2db,_0x4a7c62:0x6b0,_0x4118c9:0x630,_0x44ac3f:0x541,_0x4712a3:0x658,_0x158374:0x37d,_0x5aaea5:0x545,_0xcd1eb7:0x6c6,_0x3c9bc6:0x6c3,_0x423461:0x282,_0x24fc1b:0x158,_0x4aed95:0x2f7,_0x282fe2:0x69d,_0x145ea2:0x320,_0x55262a:0x41a,_0x2154f3:0x13b,_0x4f2f5b:0x2ab,_0x3e177d:0x372,_0x56ae14:0x501,_0x264df9:0x3be,_0x53b30d:0x3ad,_0x5b9e7:0x473,_0x228b5b:0x395,_0x24d260:0x1f1,_0x26f3ab:0x325,_0x6abd6b:0x3a5,_0x18b91b:0x503,_0x589c43:0x37c,_0x5dfceb:0x350,_0x5209bb:0x459,_0xa061c3:0x309,_0x37b7ce:0x3d2,_0x5e809e:0x3b7,_0x39bd56:0x1f6},_0x223621={_0x35ad51:0x533,_0xeb53bf:0x174},_0x1e32c8={_0x30cc92:0x6b9},_0x8a869f={_0x272d15:0x8f,_0x3230bf:0x2bd};function _0x2ebda8(_0x458050,_0xe30a15,_0x400ffd,_0x51bf09){return _0x515b8f(_0x458050-_0x8a869f._0x272d15,_0xe30a15-0xf0,_0x51bf09,_0x458050- -_0x8a869f._0x3230bf);}function _0x22004b(_0x9296a7,_0x13b844,_0x502e4b,_0x4a4b24){return _0x515b8f(_0x9296a7-0x19,_0x13b844-0x2d,_0x9296a7,_0x13b844- -_0x1e32c8._0x30cc92);}const _0x303ca2=_0x486394[_0x2ebda8(0x2dc,0x47f,_0x48b03d._0x3f8ab5,_0x48b03d._0x162ef2)]??_0x2ebda8(0x2d4,0x2f1,_0x48b03d._0x35c0e3,_0x48b03d._0x17f639),_0x149f25=_0x486394[_0x2ebda8(_0x48b03d._0x5cbed7,0x124,0x25b,0x15b)]??DEFAULT_TIMEOUT_MS2,_0x5c0ffc=_0x486394['lookup'],_0x5233b7=new _0x437881({'headingStyle':_0x2ebda8(_0x48b03d._0x3500b0,_0x48b03d._0x3431ea,_0x48b03d._0xc1328c,_0x48b03d._0x1dc308),'codeBlockStyle':_0x2ebda8(_0x48b03d._0xd62f72,0x4b4,_0x48b03d._0x365b7b,0x388),'bulletListMarker':'-'});return _0x5233b7[_0x22004b(-0x484,-0x2ca,-_0x48b03d._0x2a98b2,-_0x48b03d._0x55f1e5)]([_0x22004b(-_0x48b03d._0x191da2,-_0x48b03d._0x3a67c5,0x69,-0x1d5),_0x22004b(0x19d,_0x48b03d._0x3cfdd8,-0x148,0x12c),_0x22004b(0xbc,_0x48b03d._0xa1e966,-_0x48b03d._0xa4e0c,0xde),'iframe','nav',_0x2ebda8(_0x48b03d._0x30a03d,0x267,0x100,0x20a),'header',_0x2ebda8(_0x48b03d._0x832ff0,0x385,_0x48b03d._0x3fcc1a,0x425)]),defineTool({'name':_0x303ca2,'permissionClass':_0x22004b(-_0x48b03d._0x808793,-_0x48b03d._0x424d81,0x80,0x47),'description':_0x22004b(0x23,0x35,0xca,0x16a),'inputSchema':{'type':_0x22004b(-0x12c,-0x23d,-0xf3,-_0x48b03d._0x39722e),'properties':{'description':{'type':_0x2ebda8(_0x48b03d._0x27604d,_0x48b03d._0x57a219,0xa7,0x32f)},'url':{'type':_0x22004b(-0x37e,-0x211,-0x39a,-_0x48b03d._0xd49eb7)}},'required':[_0x2ebda8(_0x48b03d._0x1cb486,_0x48b03d._0x5a305b,0x3fb,0x196)]},async *'execute'(_0x1b1077,_0x48e9b8){const _0x34913a={_0xef0f66:0x2,_0x500373:0x6a},_0x562e9e=(await assertPublicUrl(_0x1b1077[_0x571857(_0x5692d6._0x45398f,0x7fd,_0x5692d6._0x75d2cf,0x5dc)],{'lookup':_0x5c0ffc}))[_0x571857(0x732,0x778,0x7ec,_0x5692d6._0x167089)]();if(_0x48e9b8['signal'][_0x59573a(0x302,_0x5692d6._0xc919d3,0x430,0x2ee)])throw new ToolExecutionError(_0x59573a(_0x5692d6._0x556d17,_0x5692d6._0x49845c,0x48f,_0x5692d6._0x241dce),{'url':_0x562e9e});const _0x4ee8f2=createTimeoutSignal(_0x48e9b8[_0x59573a(0x3e1,_0x5692d6._0x4a7c62,_0x5692d6._0x4118c9,_0x5692d6._0x44ac3f)],_0x149f25);let _0x1c3e1f='',_0x4409a7=0x0,_0x9ee5b8;try{const _0x3b119c=await safeFetch(_0x562e9e,{'headers':{'User-Agent':USER_AGENT},'signal':_0x4ee8f2['signal']},{'lookup':_0x5c0ffc});if(!_0x3b119c['ok'])throw new ToolExecutionError(_0x571857(0x4d0,_0x5692d6._0x4712a3,0x577,_0x5692d6._0x158374)+_0x3b119c[_0x571857(0x523,0x3d4,_0x5692d6._0x5aaea5,0x369)]+'\x20'+_0x3b119c[_0x571857(_0x5692d6._0xcd1eb7,0x64e,0x525,_0x5692d6._0x3c9bc6)],{'url':_0x562e9e,'statusCode':_0x3b119c[_0x59573a(_0x5692d6._0x423461,0x21b,_0x5692d6._0x24fc1b,_0x5692d6._0x4aed95)]});_0x1c3e1f=_0x3b119c['headers'][_0x571857(0x59e,0x627,0x4e5,_0x5692d6._0x282fe2)]('content-type')??'',_0x4409a7=_0x3b119c[_0x59573a(_0x5692d6._0x145ea2,_0x5692d6._0x55262a,0x462,0x2f7)],_0x9ee5b8=await _0x3b119c[_0x59573a(0x2a8,_0x5692d6._0x2154f3,_0x5692d6._0x4f2f5b,0x2d0)]();}catch(_0x29d786){if(_0x29d786 instanceof ToolExecutionError)throw _0x29d786;const _0x472d38=_0x29d786 instanceof Error?_0x29d786[_0x59573a(_0x5692d6._0x3e177d,0x43e,0x324,0x332)]:String(_0x29d786);throw new ToolExecutionError(_0x472d38,{'url':_0x562e9e});}finally{_0x4ee8f2[_0x59573a(_0x5692d6._0x56ae14,_0x5692d6._0x264df9,_0x5692d6._0x53b30d,0x44c)]();}function _0x571857(_0x2e2c3b,_0x1b204a,_0x3054fd,_0x2541ff){return _0x2ebda8(_0x2e2c3b-0x363,_0x1b204a-_0x34913a._0xef0f66,_0x3054fd-_0x34913a._0x500373,_0x3054fd);}const _0x5c52df=new Date()[_0x571857(_0x5692d6._0x5b9e7,0x518,0x46f,_0x5692d6._0x228b5b)]();let _0x48eeb8,_0x3e9ce4;function _0x59573a(_0x5e1dec,_0x456e33,_0x400c90,_0x256b2d){return _0x22004b(_0x456e33,_0x256b2d-_0x223621._0x35ad51,_0x400c90-_0x223621._0xeb53bf,_0x256b2d-0xe9);}if(_0x1c3e1f[_0x59573a(_0x5692d6._0x24d260,0x12d,_0x5692d6._0x26f3ab,0x2de)]('application/json'))_0x48eeb8=_0x59573a(0x322,0x229,0x235,0x2fc)+_0x9ee5b8+_0x59573a(0x430,0x479,_0x5692d6._0x6abd6b,_0x5692d6._0x18b91b),_0x3e9ce4=_0x59573a(0x2f2,0x1cd,_0x5692d6._0x589c43,_0x5692d6._0x5dfceb);else _0x1c3e1f[_0x571857(0x50a,0x60d,0x6b4,0x463)](_0x571857(_0x5692d6._0x5209bb,_0x5692d6._0xa061c3,_0x5692d6._0x37b7ce,0x48b))?(_0x48eeb8=_0x5233b7[_0x59573a(0x2e3,_0x5692d6._0x5e809e,_0x5692d6._0x39bd56,0x298)](_0x9ee5b8),_0x3e9ce4='markdown'):(_0x48eeb8=_0x9ee5b8,_0x3e9ce4='text');return yield createToolOutput(_0x48eeb8,{'url':_0x562e9e,'contentType':_0x1c3e1f,'statusCode':_0x4409a7,'format':_0x3e9ce4,'size':_0x9ee5b8['length'],'fetchedAt':_0x5c52df}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x515b8f(0x723,0x503,0x668,0x58a);function normalizeUrl(_0x123a52){const _0x593ded={_0x3bd2f5:0x412,_0xe69515:0x17c,_0x3a9d57:0x97,_0x3c595b:0x2fb,_0x327f25:0x615,_0x26c394:0x6ff,_0x50c52b:0x5a6,_0x3d52d0:0x5fc,_0x533a30:0x5f5,_0x10315d:0x609,_0x554769:0x2cd,_0x41bfc2:0x453,_0x252391:0x58e,_0x3c881c:0x4,_0x4c647e:0x1c7,_0x46b686:0x54d,_0x1d677b:0x626,_0x1154b4:0x4a6,_0x52edce:0x443,_0x50472e:0x598},_0x32040c={_0xd41474:0x1e3,_0x12284e:0x154,_0xd35e8a:0xf4},_0x3999da={_0x480858:0x47f};function _0x15056f(_0x38edcb,_0x2e81d1,_0x9a25b2,_0x12f365){return _0x515b8f(_0x38edcb-0x1da,_0x2e81d1-0x124,_0x12f365,_0x2e81d1- -_0x3999da._0x480858);}function _0x107dbf(_0x5f0491,_0x57e9e9,_0xe6b0b9,_0x29e116){return _0x515b8f(_0x5f0491-_0x32040c._0xd41474,_0x57e9e9-_0x32040c._0x12284e,_0x5f0491,_0x29e116- -_0x32040c._0xd35e8a);}try{const _0x4bb1c8=new URL(_0x123a52);for(const _0x236199 of[_0x107dbf(0x506,0x529,0x55c,_0x593ded._0x3bd2f5),'utm_medium',_0x15056f(0x288,_0x593ded._0xe69515,_0x593ded._0x3a9d57,_0x593ded._0x3c595b),_0x107dbf(0x5eb,_0x593ded._0x327f25,_0x593ded._0x26c394,_0x593ded._0x50c52b),_0x107dbf(_0x593ded._0x3d52d0,0x66d,0x6e4,_0x593ded._0x533a30),_0x107dbf(_0x593ded._0x10315d,0x2f2,_0x593ded._0x554769,_0x593ded._0x41bfc2),_0x107dbf(0x480,0x4d2,_0x593ded._0x252391,0x4a3),_0x15056f(_0x593ded._0x3c881c,-0xb0,-0x14f,-0x79),_0x15056f(0xff,-0x9c,-0x8,-_0x593ded._0x4c647e)]){_0x4bb1c8['searchParams'][_0x107dbf(0x482,_0x593ded._0x46b686,_0x593ded._0x1d677b,_0x593ded._0x1154b4)](_0x236199);}return _0x4bb1c8[_0x107dbf(0x5c8,_0x593ded._0x52edce,0x469,_0x593ded._0x50472e)]();}catch{return _0x123a52;}}function cseDateRestrict(_0x9b06c1){const _0x1d9fad={_0xdced7f:0x85,_0x4591d4:0x167,_0x49fc64:0x2d8,_0x42d081:0x87,_0x4e880c:0x2c8},_0x530639={_0x249319:0x1bf,_0xb80b85:0xd6};function _0x47f680(_0x104077,_0x754739,_0x3c0450,_0x51def2){return _0x1c3a85(_0x104077-0x11e,_0x754739,_0x3c0450-0x8d,_0x3c0450- -0x1e);}if(_0x9b06c1<=0x0)return void 0x0;if(_0x9b06c1<=0x1e)return'd'+Math[_0x47f680(_0x1d9fad._0xdced7f,0x3a,_0x1d9fad._0x4591d4,0x133)](0x1,Math[_0x47f680(_0x1d9fad._0x49fc64,-_0x1d9fad._0x42d081,0x123,_0x1d9fad._0x4e880c)](_0x9b06c1));function _0x4485b7(_0x2b126b,_0x15fc36,_0x4f8284,_0x20a5be){return _0x515b8f(_0x2b126b-_0x530639._0x249319,_0x15fc36-_0x530639._0xb80b85,_0x2b126b,_0x20a5be- -0x190);}if(_0x9b06c1<=0x16d)return'm'+Math['ceil'](_0x9b06c1/0x1e);return'y'+Math['ceil'](_0x9b06c1/0x16d);}function addSiteFilters(_0x7c105f,_0x37bf7d){const _0x40a7da={_0x497b34:0x59e,_0x12ca89:0x625,_0x424e60:0x551,_0x1df152:0x2d4,_0x325f0f:0x47c,_0x55ccb8:0x58a,_0x315e67:0x4c6},_0x1a9092={_0x2daea5:0x18b,_0x530964:0x18,_0x4635ca:0x1cd},_0x181598={_0x1dabd7:0x120,_0x3aa0a5:0xf,_0x5b2657:0x33};if(_0x37bf7d[_0x4560b6(0x6a1,_0x40a7da._0x497b34,_0x40a7da._0x12ca89,_0x40a7da._0x424e60)]===0x0)return _0x7c105f[_0x354b8d(0x3b4,0x2e6,_0x40a7da._0x1df152,0x390)]();function _0x4560b6(_0x362a77,_0x5bf84,_0x17d465,_0x2e77cf){return _0x515b8f(_0x362a77-_0x181598._0x1dabd7,_0x5bf84-_0x181598._0x3aa0a5,_0x17d465,_0x2e77cf- -_0x181598._0x5b2657);}function _0x354b8d(_0x5c494e,_0x2254d0,_0x3843ab,_0x1bf550){return _0x515b8f(_0x5c494e-_0x1a9092._0x2daea5,_0x2254d0-_0x1a9092._0x530964,_0x2254d0,_0x1bf550- -_0x1a9092._0x4635ca);}return(_0x7c105f+'\x20('+_0x37bf7d['map'](_0x159dc=>'site:'+_0x159dc)[_0x4560b6(0x46b,_0x40a7da._0x325f0f,0x6b2,_0x40a7da._0x55ccb8)](_0x354b8d(0x41f,0x3ed,0x5ee,_0x40a7da._0x315e67))+')')['trim']();}function normalizeType(_0x430153){const _0x149bc2={_0x1097d9:0x111,_0x40bf59:0x203},_0x181651={_0x38fff4:0x283};function _0x388e69(_0x43f567,_0x2a8897,_0x4cf9d4,_0xf06677){return _0x515b8f(_0x43f567-0xeb,_0x2a8897-0x43,_0x2a8897,_0x4cf9d4- -_0x181651._0x38fff4);}return _0x430153==='images'?'images':_0x388e69(0x2ab,_0x149bc2._0x1097d9,0x2a4,_0x149bc2._0x40bf59);}async function fetchJson(_0x3d92a9,_0x21d91c,_0x230e96){const _0x22442d={_0x35351b:0x621,_0x39fb46:0x196,_0x809f98:0x28b,_0x1102bf:0x3b0,_0x501b48:0x580,_0x22adf1:0x457,_0x370423:0x34,_0x17948f:0x3b9,_0x2cb7fa:0x172,_0x633b17:0x1bb,_0x12c382:0x4b1,_0x113027:0x499,_0x16cf40:0x32b,_0x1102d8:0xa7,_0x148143:0x43f,_0x20def8:0x250,_0x304411:0x1a6,_0x24aeee:0x1d8,_0x414086:0x313,_0x4e6dfd:0x200,_0x22e99a:0x10a,_0x3392fe:0x16a,_0x3fd12e:0x334,_0x27b366:0x89,_0x317f12:0x1d},_0x22e371={_0x55bdd0:0x1bc,_0x57d678:0x29a},_0x3dde3f={_0x5db0e6:0xb7,_0x267898:0x5d0};function _0x57a79f(_0x625834,_0x5269cf,_0x35dc39,_0x9ed554){return _0x515b8f(_0x625834-0x34,_0x5269cf-_0x3dde3f._0x5db0e6,_0x625834,_0x35dc39- -_0x3dde3f._0x267898);}function _0x1a997a(_0x4bf45a,_0x2fa3e4,_0x580f13,_0x337ca9){return _0x1c3a85(_0x4bf45a-0x129,_0x580f13,_0x580f13-_0x22e371._0x55bdd0,_0x337ca9-_0x22e371._0x57d678);}const _0x4dce90=await fetch(_0x3d92a9,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x1a997a(0x357,_0x22442d._0x35351b,0x5f3,0x4a8),..._0x230e96?.[_0x1a997a(0x2bc,_0x22442d._0x39fb46,0x45b,0x2eb)]},'signal':_0x21d91c,..._0x230e96});if(!_0x4dce90['ok']){let _0x2cc613,_0x8d9d8e;try{_0x2cc613=await _0x4dce90['text']();const _0x2b9bdb=JSON[_0x1a997a(_0x22442d._0x809f98,0x45e,0x46c,0x347)](_0x2cc613),_0x5c45c6=typeof _0x2b9bdb[_0x1a997a(_0x22442d._0x1102bf,0x4bc,_0x22442d._0x501b48,_0x22442d._0x22adf1)]===_0x57a79f(-_0x22442d._0x370423,-0x2ba,-0x154,-0xeb)?_0x2b9bdb['detail'][_0x1a997a(0x239,0x414,_0x22442d._0x17948f,0x32b)]:void 0x0;_0x8d9d8e=_0x2b9bdb['error']?.[_0x57a79f(-_0x22442d._0x2cb7fa,-0x88,-0x118,-_0x22442d._0x633b17)]??_0x2b9bdb[_0x1a997a(_0x22442d._0x12c382,_0x22442d._0x113027,0x45c,_0x22442d._0x16cf40)]?.[_0x57a79f(-0x3,-0x111,_0x22442d._0x370423,_0x22442d._0x1102d8)]?.[0x0]?.[_0x1a997a(0x20f,_0x22442d._0x148143,0x2bb,0x2c9)]??_0x5c45c6;}catch{}const _0x3d6a9c=_0x8d9d8e?_0x57a79f(-_0x22442d._0x20def8,-0xb9,-_0x22442d._0x304411,-_0x22442d._0x24aeee)+_0x4dce90[_0x57a79f(-_0x22442d._0x414086,-_0x22442d._0x4e6dfd,-0x153,-_0x22442d._0x22e99a)]+':\x20'+_0x8d9d8e:'HTTP\x20'+_0x4dce90[_0x1a997a(_0x22442d._0x3392fe,0x3a7,_0x22442d._0x3fd12e,0x28e)]+'\x20'+_0x4dce90[_0x57a79f(-_0x22442d._0x27b366,-_0x22442d._0x317f12,0x50,0xf4)];throw new ToolExecutionError(_0x3d6a9c,{'statusCode':_0x4dce90['status'],..._0x2cc613?{'body':_0x2cc613}:{}});}return await _0x4dce90['json']();}async function hydrateResults(_0x3210ad,_0x314ed1,_0x21d9e1,_0x49d19d){const _0x487c49={_0x299b03:0x122,_0x5b4040:0x48,_0x4d2de3:0xd,_0x3319f1:0x2d,_0x1cb526:0x1aa,_0x1705a3:0xb5,_0x400dd0:0x36,_0x4f2bb0:0x25a,_0x5de3c8:0x128,_0x5d1a37:0x1a2},_0x1ae7a9={_0x1f9c5f:0x10c,_0x5335dc:0x13c},_0x5392e1={_0x2d1c76:0x2f9,_0x1972c2:0x541,_0x1f8431:0x66b,_0x146240:0x45d,_0x2e89f3:0x51e,_0x5ada00:0x1b8,_0x581287:0x3cc,_0x2d965a:0x480,_0x14e30d:0x5a8,_0x1f0bfa:0x4ee,_0x32f355:0x4ea,_0x396825:0x44a,_0x543e69:0x466,_0x5e1a3c:0x3b5,_0x5f7c5a:0x48d,_0x3e81c3:0x23c,_0x4a60fd:0x4c3,_0x2fa3d9:0x4e2,_0x550336:0x348,_0xb7a795:0x3a8,_0x28425c:0x3d1,_0x30928f:0x325,_0x4eb327:0x4a3,_0x2113ee:0x32f,_0x33191a:0x172,_0x204ada:0x29d,_0x1cd375:0x2fb,_0x4e3c00:0x2ba,_0x19a062:0x345,_0x240530:0x4a2,_0x3a3723:0x4b5,_0x3072d0:0x643,_0x40bbee:0x623,_0x4bf55a:0x4da,_0xa698a5:0x436},_0x31348e={_0x5ee49d:0x58},_0xaf0771={_0x4f5e22:0xd3,_0x1461b3:0x4};function _0x2c263c(_0xd09958,_0x25d0ed,_0x1a0582,_0x1dce91){return _0x1c3a85(_0xd09958-_0xaf0771._0x4f5e22,_0x25d0ed,_0x1a0582-0x1bb,_0x1a0582-_0xaf0771._0x1461b3);}const _0x33a783=await Promise[_0x3dda9c(-_0x487c49._0x299b03,0x19,-0x3,-_0x487c49._0x5b4040)](_0x3210ad[_0x2c263c(-_0x487c49._0x4d2de3,0xa,0xaa,0x1be)](0x0,0xa)['map'](async _0x1af4ef=>{const _0x377605={_0x10c9c6:0x21e,_0x5b4308:0xfd};function _0x3bab90(_0x593f7a,_0x5443dc,_0x171647,_0x5af77f){return _0x2c263c(_0x593f7a-0x116,_0x171647,_0x5443dc-_0x377605._0x10c9c6,_0x5af77f-_0x377605._0x5b4308);}function _0x5be1d0(_0x18b975,_0x21ae42,_0x194e7a,_0x16bf73){return _0x3dda9c(_0x16bf73-0x3d5,_0x21ae42-_0x31348e._0x5ee49d,_0x21ae42,_0x16bf73-0xf4);}try{const _0x3a4ffb=await safeFetch(_0x1af4ef[_0x5be1d0(_0x5392e1._0x2d1c76,_0x5392e1._0x1972c2,0x447,0x4a2)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x314ed1,'Accept':'text/html'},'signal':_0x21d9e1},{'lookup':_0x49d19d});if(!_0x3a4ffb['ok'])return _0x1af4ef;const _0xa717f6=await _0x3a4ffb[_0x5be1d0(0x414,0x31c,0x481,0x329)](),_0x58a62b=load(_0xa717f6),_0x4a5203=_0x58a62b('meta[property=\x27og:title\x27]')[_0x5be1d0(_0x5392e1._0x1f8431,0x5c6,_0x5392e1._0x146240,_0x5392e1._0x2e89f3)](_0x5be1d0(_0x5392e1._0x5ada00,0x411,_0x5392e1._0x581287,0x299))||_0x58a62b(_0x5be1d0(0x4d7,_0x5392e1._0x2d965a,_0x5392e1._0x14e30d,_0x5392e1._0x1f0bfa))[_0x5be1d0(_0x5392e1._0x32f355,0x369,0x51d,_0x5392e1._0x396825)]()['text']()[_0x5be1d0(0x4cd,_0x5392e1._0x543e69,0x549,0x430)](),_0x29376c=_0x58a62b('meta[name=\x27description\x27]')['attr'](_0x3bab90(0x1a0,0x15f,0x84,0x1e9))||_0x58a62b('meta[property=\x27og:description\x27]')[_0x3bab90(0x450,0x3e4,0x425,_0x5392e1._0x5e1a3c)]('content')||_0x1af4ef[_0x5be1d0(0x4fc,0x331,0x601,0x4d8)],_0x17b0d4=_0x58a62b(_0x3bab90(_0x5392e1._0x5f7c5a,0x3e8,_0x5392e1._0x3e81c3,0x3df))[_0x3bab90(_0x5392e1._0x4a60fd,0x3e4,_0x5392e1._0x2fa3d9,0x530)]('content')||_0x58a62b(_0x3bab90(0x445,_0x5392e1._0x550336,0x490,_0x5392e1._0xb7a795))['attr'](_0x5be1d0(_0x5392e1._0x28425c,0x3f8,_0x5392e1._0x396825,_0x5392e1._0x30928f))||_0x1af4ef[_0x3bab90(0x46a,_0x5392e1._0x4eb327,0x614,0x571)],_0xa96417=_0x58a62b(_0x3bab90(_0x5392e1._0x2113ee,_0x5392e1._0x33191a,_0x5392e1._0x204ada,0x1e7))['attr'](_0x3bab90(0x394,_0x5392e1._0x1cd375,_0x5392e1._0x4e3c00,0x230));return{..._0x1af4ef,'title':_0x4a5203||_0x1af4ef['title'],'snippet':_0x29376c,'url':_0xa96417?normalizeUrl(new URL(_0xa96417,_0x1af4ef[_0x5be1d0(0x4bc,0x60c,_0x5392e1._0x19a062,_0x5392e1._0x240530)])[_0x5be1d0(_0x5392e1._0x3a3723,_0x5392e1._0x3072d0,0x3c7,0x55f)]()):_0x1af4ef[_0x5be1d0(_0x5392e1._0x40bbee,_0x5392e1._0x4bf55a,_0x5392e1._0xa698a5,_0x5392e1._0x240530)],'publishedAt':_0x17b0d4};}catch{return _0x1af4ef;}})),_0x2eaa18=new Map(_0x3210ad[_0x3dda9c(_0x487c49._0x3319f1,_0x487c49._0x1cb526,0xd9,-_0x487c49._0x1705a3)](0x0,0xa)[_0x3dda9c(-0x128,-_0x487c49._0x400dd0,-0x235,-_0x487c49._0x4f2bb0)]((_0x261ca1,_0x2b3042)=>[_0x261ca1[_0x3dda9c(0xcd,0x27b,-0x97,-0x72)],_0x33a783[_0x2b3042]]));function _0x3dda9c(_0x1111a5,_0x57c064,_0xd86d46,_0x1803cc){return _0x515b8f(_0x1111a5-_0x1ae7a9._0x1f9c5f,_0x57c064-_0x1ae7a9._0x5335dc,_0xd86d46,_0x1111a5- -0x502);}return _0x3210ad[_0x3dda9c(-_0x487c49._0x5de3c8,-0xda,-_0x487c49._0x5d1a37,-0x13e)](_0x360730=>_0x2eaa18['get'](_0x360730[_0x3dda9c(0xcd,0x3f,0x27d,0x1a5)])??_0x360730);}function formatResults(_0xc57643){const _0x4c9f99={_0x4683da:0x30,_0xd98308:0x170,_0x470e05:0x16e,_0x28d795:0x1d,_0x233b27:0xa5,_0x37f42b:0x254},_0x4177c8={_0x5c402e:0x155,_0x52e85a:0x2a0,_0xeeb4ad:0x3c8,_0x58f285:0x4d6,_0x54b568:0x410,_0x5980a2:0x476,_0x5cf536:0x55c,_0x5a88b2:0x503,_0x5a9bff:0x6bd,_0x5d1e91:0x53b,_0x3ec0e3:0x479,_0x344d53:0x603,_0xbfc58d:0x36d,_0x1a30cd:0x39e,_0x388ee3:0x252,_0x3fa1ee:0x309,_0x50d061:0x313,_0x1977fc:0x48c,_0x45b706:0x315,_0x38b85b:0x33f,_0x3b5af7:0x267},_0x2de227={_0x421190:0x73,_0x4dca66:0x131,_0x42fd2f:0x521},_0x4fce8f={_0x54a1ff:0xac,_0x3cfffb:0x154};function _0x3b2532(_0x294f2b,_0x545e6f,_0x21b36d,_0x5116b3){return _0x1c3a85(_0x294f2b-_0x4fce8f._0x54a1ff,_0x294f2b,_0x21b36d-0x8e,_0x5116b3-_0x4fce8f._0x3cfffb);}if(_0xc57643['length']===0x0)return _0x3b2532(_0x4c9f99._0x4683da,0x58,_0x4c9f99._0xd98308,0xd9);function _0x5b87b3(_0x357196,_0x481ad2,_0x372f11,_0x5eb02b){return _0x515b8f(_0x357196-_0x2de227._0x421190,_0x481ad2-_0x2de227._0x4dca66,_0x481ad2,_0x357196- -_0x2de227._0x42fd2f);}return _0xc57643[_0x3b2532(0x1a,_0x4c9f99._0x470e05,_0x4c9f99._0x28d795,_0x4c9f99._0x233b27)](_0x782edc=>{const _0x58217a={_0x43e3d0:0x3e,_0xf832e3:0x1ad};function _0x16f878(_0x3bf802,_0x3a3979,_0x2d388c,_0x1aed49){return _0x3b2532(_0x1aed49,_0x3a3979-0x92,_0x2d388c-0x159,_0x3bf802-0x12e);}const _0x2a96cf=[_0x782edc[_0x1508a9(_0x4177c8._0x5c402e,_0x4177c8._0x52e85a,0x338,0x2ca)]['rank']+'.\x20'+_0x782edc[_0x16f878(0x414,0x4ba,0x468,0x2a9)],_0x782edc[_0x16f878(_0x4177c8._0xeeb4ad,_0x4177c8._0x58f285,0x293,_0x4177c8._0x54b568)]];if(_0x782edc['snippet'])_0x2a96cf[_0x1508a9(_0x4177c8._0x5980a2,0x479,_0x4177c8._0x5cf536,0x42f)](_0x782edc['snippet']);function _0x1508a9(_0x58ce05,_0x33e254,_0x34da87,_0x53f65d){return _0x5b87b3(_0x33e254-0x2a3,_0x53f65d,_0x34da87-_0x58217a._0x43e3d0,_0x53f65d-_0x58217a._0xf832e3);}if(_0x782edc[_0x16f878(_0x4177c8._0x5a88b2,_0x4177c8._0x5a9bff,0x3a2,_0x4177c8._0x5d1e91)])_0x2a96cf[_0x1508a9(0x31b,_0x4177c8._0x3ec0e3,_0x4177c8._0x344d53,_0x4177c8._0xbfc58d)](_0x1508a9(0x2fc,_0x4177c8._0x1a30cd,_0x4177c8._0x388ee3,_0x4177c8._0x3fa1ee)+_0x782edc[_0x1508a9(_0x4177c8._0x50d061,_0x4177c8._0x1977fc,0x5fa,_0x4177c8._0x45b706)]);return _0x2a96cf[_0x1508a9(0x42d,_0x4177c8._0x38b85b,_0x4177c8._0x3b5af7,0x464)]('\x0a');})[_0x3b2532(0x1da,_0x4c9f99._0x37f42b,0xf0,0x288)]('\x0a\x0a');}async function searchOllama(_0x22cb6c,_0x4922a2,_0x55310a){const _0x366639={_0x3ed9d8:0x3f0,_0x4a6b98:0x3f6,_0x828b79:0x4dd,_0x2806b4:0x156,_0x362745:0xfd,_0x5d52cb:0x15d,_0x55ce1a:0x350,_0x4b29f2:0x16a,_0x1864e3:0x37f,_0x23865a:0x489,_0x5077f4:0x4de,_0x3a2b37:0x2f2,_0x2d5323:0x32e,_0x7f2606:0x1e0,_0x2fe0d0:0x147,_0xd65641:0x2a3,_0x146fad:0x3db,_0x5620e1:0x364,_0x4d2d1d:0x40f,_0x250fd7:0x190,_0x55ef0c:0x180,_0x205ed8:0xb7,_0x484fcc:0x92,_0x5239b6:0x37a,_0xab5013:0x1c9},_0x3e63c2={_0x3cfbcd:0xb1},_0x47bea6={_0xdc2366:0x341,_0xb4e7e5:0x659,_0x495925:0x678,_0x20d00a:0x627,_0x5cc685:0x316,_0x145803:0x232,_0x3cd216:0x511,_0x2f78c0:0x4f0,_0x2f6eec:0x544},_0x3c17a2={_0x409011:0x57},_0x4d795c=Math['max'](0x1,Math[_0x5920f0(_0x366639._0x3ed9d8,_0x366639._0x4a6b98,0x2bd,_0x366639._0x828b79)](0xa,_0x4922a2['count'])),_0x164134=addSiteFilters(_0x4922a2['query'],_0x4922a2[_0x5920f0(0x2b3,_0x366639._0x2806b4,_0x366639._0x362745,_0x366639._0x5d52cb)]),_0x422deb=await fetchJson(_0x2a91d3(-_0x366639._0x55ce1a,-0x2c5,-_0x366639._0x4b29f2,-0x197),_0x55310a,{'method':_0x5920f0(_0x366639._0x1864e3,_0x366639._0x23865a,0x27e,_0x366639._0x5077f4),'headers':{'Authorization':_0x5920f0(_0x366639._0x3a2b37,0x490,0x2be,_0x366639._0x2d5323)+_0x22cb6c[_0x2a91d3(-0x3ea,-0x28b,-_0x366639._0x7f2606,-0x2b5)]},'body':JSON[_0x2a91d3(-_0x366639._0x2fe0d0,-0x3a3,-0x2f0,-_0x366639._0xd65641)]({'query':_0x164134,'max_results':_0x4d795c})});function _0x5920f0(_0x56d41f,_0x4775df,_0x1c26bc,_0x143367){return _0x515b8f(_0x56d41f-0xf0,_0x4775df-_0x3c17a2._0x409011,_0x4775df,_0x56d41f- -0x24a);}const _0x3afa43=_0x422deb[_0x5920f0(_0x366639._0x146fad,_0x366639._0x5620e1,0x29a,_0x366639._0x4d2d1d)]??[],_0x30a620=_0x3afa43[_0x5920f0(_0x366639._0x250fd7,_0x366639._0x55ef0c,_0x366639._0x205ed8,_0x366639._0x484fcc)]((_0x197ae4,_0x21c915)=>{const _0x5089d9={_0x2214d1:0x549},_0x2171a7=_0x197ae4[_0x58636b(0x420,0x54d,_0x47bea6._0xdc2366,0x4d3)]||'';let _0x5852cd;try{_0x5852cd=new URL(_0x2171a7)['host'];}catch{_0x5852cd=null;}function _0x3eb19b(_0x391ca5,_0x54aad5,_0x16d3c6,_0x353725){return _0x2a91d3(_0x353725,_0x54aad5-0xe5,_0x16d3c6-0x1c7,_0x54aad5-0x7a7);}function _0x58636b(_0x1995dc,_0x4b4734,_0x2cb0b0,_0x912025){return _0x2a91d3(_0x912025,_0x4b4734-0x83,_0x2cb0b0-0x30,_0x1995dc-_0x5089d9._0x2214d1);}return{'title':_0x197ae4['title']||_0x3eb19b(_0x47bea6._0xb4e7e5,0x785,_0x47bea6._0x495925,_0x47bea6._0x20d00a),'url':normalizeUrl(_0x2171a7),'snippet':_0x197ae4[_0x58636b(0x217,_0x47bea6._0x5cc685,0x134,_0x47bea6._0x145803)]??null,'displayUrl':_0x5852cd,'favicon':null,'publishedAt':null,'source':{'engine':_0x58636b(_0x47bea6._0x3cd216,_0x47bea6._0x2f78c0,_0x47bea6._0x2f6eec,0x654),'rank':_0x21c915+0x1}};});function _0x2a91d3(_0x39c905,_0x119c48,_0x31d736,_0x5852e3){return _0x515b8f(_0x39c905-0x1d4,_0x119c48-_0x3e63c2._0x3cfbcd,_0x39c905,_0x5852e3- -0x6f8);}return{'items':_0x30a620[_0x2a91d3(-_0x366639._0x5239b6,-0x2f4,-0x299,-_0x366639._0xab5013)](0x0,_0x4d795c),'engine':'ollama'};}async function searchTavily(_0x5df0ea,_0xaf8692,_0x14dc8e){const _0x9fa78b={_0x57f00a:0x315,_0xe8f82:0x2ca,_0x56eed7:0x13,_0x405cb9:0x157,_0xf7b73:0x39d,_0x4e68d9:0x20b,_0x1da20e:0x60,_0x2fb96b:0xfc,_0x1ee693:0xb7,_0x5d6262:0x9d,_0x3e45e4:0x2b7,_0x38e510:0x124,_0x295333:0x85,_0x2a5e0e:0x127,_0x36e081:0x2ce,_0x1ce338:0x1da,_0x150209:0x108,_0x3e90b9:0xd,_0x27c66a:0x2d8,_0x43e162:0x1c0,_0x3633fc:0x19,_0x3d1ed0:0x336,_0x37eb1e:0x223,_0xc8cc57:0xb7,_0x1dd2e1:0x11d,_0x52f3af:0x15c,_0x51eea2:0x95,_0x55b34c:0xb2},_0x578e40={_0xe7f301:0x55f,_0x13b20c:0x5b3,_0x11ca47:0x345,_0x18971f:0x3c3,_0xe3490a:0x409,_0x5ecad3:0x384,_0x5d2b9e:0x3b8,_0x4c5234:0x590,_0xa1002f:0xa8,_0x296615:0x3ea,_0x534e6c:0x288},_0x38adee={_0x43ab69:0x96,_0x4f1f32:0x83},_0x2afe9d={_0x58275a:0x9a,_0x15f519:0x29};function _0xf00cdb(_0x45a498,_0x4e40a6,_0x2d1f76,_0x5b2c20){return _0x1c3a85(_0x45a498-_0x2afe9d._0x58275a,_0x5b2c20,_0x2d1f76-0x1c4,_0x4e40a6-_0x2afe9d._0x15f519);}const _0x54a667=Math['max'](0x1,Math[_0xf00cdb(_0x9fa78b._0x57f00a,0x1da,0x1c9,_0x9fa78b._0xe8f82)](0x14,_0xaf8692['count']));function _0x1ff128(_0x21a570,_0x3b55dd,_0x142ed0,_0x57fad5){return _0x1c3a85(_0x21a570-_0x38adee._0x43ab69,_0x21a570,_0x142ed0-0xbf,_0x142ed0- -_0x38adee._0x4f1f32);}const _0x44a74e={'query':_0xaf8692[_0xf00cdb(-_0x9fa78b._0x56eed7,0x2f,0x4,_0x9fa78b._0x405cb9)],'max_results':_0x54a667,'search_depth':_0x5df0ea['searchDepth']??_0xf00cdb(0xa8,0x1e9,_0x9fa78b._0xf7b73,0x3a6),'topic':_0x5df0ea['topic']??_0xf00cdb(_0x9fa78b._0x4e68d9,_0x9fa78b._0x1da20e,_0x9fa78b._0x2fb96b,0xba)};if(_0xaf8692[_0xf00cdb(-_0x9fa78b._0x1ee693,_0x9fa78b._0x5d6262,-0x6e,-0x64)][_0xf00cdb(_0x9fa78b._0x3e45e4,_0x9fa78b._0x38e510,0x1f8,0x261)]>0x0)_0x44a74e[_0xf00cdb(-0xc8,-_0x9fa78b._0x295333,-0xd2,0xe7)]=_0xaf8692[_0xf00cdb(0x12c,_0x9fa78b._0x5d6262,0x218,0x4f)];const _0xe85645=await fetchJson('https://api.tavily.com/search',_0x14dc8e,{'method':_0xf00cdb(_0x9fa78b._0x2a5e0e,0x169,_0x9fa78b._0x36e081,_0x9fa78b._0x1ce338),'headers':{'Authorization':_0x1ff128(-0x186,0x1be,0x30,_0x9fa78b._0x150209)+_0x5df0ea[_0xf00cdb(_0x9fa78b._0x3e90b9,0x194,_0x9fa78b._0x27c66a,0x341)],'Content-Type':_0x1ff128(_0x9fa78b._0x43e162,-_0x9fa78b._0x3633fc,0x18b,_0x9fa78b._0x3d1ed0)},'body':JSON[_0x1ff128(-_0x9fa78b._0x37eb1e,-0x1c,-_0x9fa78b._0xc8cc57,-_0x9fa78b._0x1dd2e1)](_0x44a74e)}),_0x2b7b40=_0xe85645['results']??[],_0x35d404=_0x2b7b40['map']((_0x3d5c42,_0xa47b5)=>{const _0x500386={_0x528207:0x4c},_0x1d8ddd={_0x55f146:0x3e,_0x7d5311:0x1f3};function _0x30373d(_0x311163,_0x2f9446,_0x41bbbd,_0x3466ab){return _0xf00cdb(_0x311163-_0x1d8ddd._0x55f146,_0x311163-0x208,_0x41bbbd-_0x1d8ddd._0x7d5311,_0x2f9446);}function _0x1c1dc1(_0x2b7364,_0x47ba34,_0x16210c,_0x1c15d4){return _0x1ff128(_0x2b7364,_0x47ba34-_0x500386._0x528207,_0x47ba34-0x49c,_0x1c15d4-0x198);}const _0x3b2811=_0x3d5c42[_0x1c1dc1(0x708,_0x578e40._0xe7f301,_0x578e40._0x13b20c,0x638)]||'';let _0x1ba8e7;try{_0x1ba8e7=new URL(_0x3b2811)[_0x30373d(_0x578e40._0x11ca47,0x43a,0x1f0,0x402)];}catch{_0x1ba8e7=null;}return{'title':_0x3d5c42[_0x30373d(_0x578e40._0x18971f,_0x578e40._0xe3490a,_0x578e40._0x5ecad3,_0x578e40._0x5d2b9e)]||_0x1c1dc1(_0x578e40._0x4c5234,0x666,0x4c5,0x58a),'url':normalizeUrl(_0x3b2811),'snippet':_0x3d5c42[_0x30373d(0x16e,0x12b,_0x578e40._0xa1002f,0x18)]??null,'displayUrl':_0x1ba8e7,'favicon':null,'publishedAt':null,'source':{'engine':_0x1c1dc1(0x2e2,_0x578e40._0x296615,0x47c,_0x578e40._0x534e6c),'rank':_0xa47b5+0x1}};});return{'items':_0x35d404[_0xf00cdb(_0x9fa78b._0x52f3af,0xcf,_0x9fa78b._0x51eea2,0x16c)](0x0,_0x54a667),'engine':_0x1ff128(-0x1,-0x22,-_0x9fa78b._0x55b34c,0xa5)};}async function searchGoogleCse(_0x9704c1,_0x52cf18,_0x1a0a15){const _0x4c837e={_0x1df1fa:0x1ed,_0x175b71:0xb1,_0x31d6a2:0x180,_0x5ecc6a:0x258,_0x32d819:0x134,_0x344118:0x287,_0x274ded:0x6a,_0x8b3e59:0x46,_0x220672:0x48,_0x5a330f:0xfc,_0x10a06e:0x1d2,_0x1b7265:0x1a,_0x42a921:0x129,_0x87a7da:0x2a9,_0x3062e9:0x1b7,_0x36d531:0xb0,_0x48e849:0x80,_0x1cf1ff:0x189,_0x33466e:0x2eb,_0x400a76:0x298,_0x37c89d:0x1e0,_0x18e5fa:0x1ef,_0x479d17:0x77,_0x2abad8:0x55,_0xdaeb26:0x2d3,_0x15a01a:0x68,_0x878369:0x1c6,_0x2ae5f6:0xdc,_0x145263:0x24e,_0x28d7c9:0x96,_0x51890c:0x142,_0x1b60d6:0x272,_0x10d1e9:0xdb,_0x1e6989:0x1a9,_0x46441f:0x1c,_0x494ae9:0x2bc,_0x532bd8:0x13b,_0x515e7a:0xdb,_0x2e6c30:0x8a,_0x417db2:0xf7,_0x560f5b:0xc7,_0x1f100c:0x9b,_0x19d949:0x30a,_0x2a7120:0x1c6,_0x14a14f:0x45,_0x1fccc8:0x4e,_0x2bf3c8:0x29f,_0x954512:0xf4,_0x2e5604:0x129,_0x276cae:0x2e4,_0x27bbf2:0x2c8,_0x5698fd:0x3fd,_0x2d0bcf:0x2f1,_0x3166eb:0x32d,_0x312a5b:0x127,_0x22c096:0x1c9,_0x10c9f2:0x99,_0x226228:0xea,_0x4174a2:0xbd,_0x5349e7:0x21a,_0x173382:0xba,_0x225ef3:0xc8,_0x2daf8a:0x15f,_0x50700e:0x54,_0xe52afb:0x106,_0x4522a2:0x134,_0x262ec8:0x333,_0x5ad8bd:0x1d3,_0x5d2aad:0x81,_0x43ada0:0x116,_0x47e375:0x1f,_0x527207:0x8c,_0x24a74a:0x43,_0x708fbd:0x6a,_0xe3acbd:0x181,_0x460fac:0x28c,_0x48c1d9:0x32e,_0x2598c2:0xa3,_0x58ad2c:0x181,_0x434b47:0x153,_0x1f1304:0xf0,_0x41d9a8:0x2d3,_0x56b251:0x304,_0x37001e:0x469,_0x1b0218:0x27f,_0x46565b:0x23d,_0x3c3ce2:0x6b,_0xb64c0e:0x191,_0x411e32:0xfb,_0x1b3293:0x42,_0x54ff58:0x26,_0x50ce99:0x1db,_0x1df84c:0x2ae,_0x575fcc:0x207,_0x1d08b7:0x1f2,_0x3e67c1:0x1b0,_0x4a7f87:0x16a,_0x3421f9:0xaf,_0x71c774:0x2bb,_0x50c886:0xec,_0x4ca028:0x372,_0x53cf56:0x2be,_0x143144:0x291,_0x356eb8:0x20f,_0x3e45e5:0xd3,_0x4ace3b:0xa1,_0x2798c9:0x225,_0x5622cc:0x63,_0x337c2c:0x18,_0x18c7ea:0x136,_0x62f4e4:0x1c4,_0x174a49:0xb9,_0x3eae56:0x61,_0x1cdbb5:0x1e5,_0xccb87b:0x174,_0x1c2ca2:0x216,_0x5092e2:0x185,_0x49892c:0x4c,_0x1c41b6:0x2a0,_0x59f48e:0xf5,_0x3f49b5:0x109,_0x11d1f5:0x10f,_0x454db6:0x2d7,_0x412179:0x277,_0x4698f3:0x113,_0x48c38f:0xaa,_0x3130ee:0x2f1,_0x425a50:0x16a,_0x14c895:0x4f,_0x3a7ff6:0x29e,_0xa92c71:0x30f},_0x3c20d5={_0xa8abc8:0x6ee},_0x3209cc={_0x24fc5e:0x7f,_0x160c37:0xf6};function _0x5699b7(_0x5de2a,_0x48d15c,_0x215e75,_0x2e23a8){return _0x515b8f(_0x5de2a-_0x3209cc._0x24fc5e,_0x48d15c-_0x3209cc._0x160c37,_0x48d15c,_0x215e75- -0x44d);}const _0x54eb3f=Math[_0x5699b7(0x27,0x2af,0x1c1,0x29d)](0x1,Math[_0x5699b7(0x235,0x249,_0x4c837e._0x1df1fa,_0x4c837e._0x175b71)](0x32,_0x52cf18[_0x5699b7(0x175,_0x4c837e._0x31d6a2,_0x4c837e._0x5ecc6a,0xff)]));if(_0x52cf18[_0x4bfbea(-_0x4c837e._0x32d819,-_0x4c837e._0x344118,-0x215,-0x3c4)]+_0x54eb3f>0x64)throw new ToolExecutionError(_0x4bfbea(0x11a,-_0x4c837e._0x274ded,-_0x4c837e._0x8b3e59,_0x4c837e._0x220672),{'offset':_0x52cf18[_0x5699b7(-_0x4c837e._0x5a330f,_0x4c837e._0x10a06e,_0x4c837e._0x1b7265,-_0x4c837e._0x42a921)],'count':_0x54eb3f,'maxResults':0x64});function _0x4bfbea(_0x3221dd,_0x5c188a,_0x1beadd,_0x26a1a9){return _0x515b8f(_0x3221dd-0x141,_0x5c188a-0x64,_0x3221dd,_0x5c188a- -_0x3c20d5._0xa8abc8);}const _0x34053c=cseDateRestrict(_0x52cf18[_0x4bfbea(-_0x4c837e._0x87a7da,-0x309,-0x1c1,-_0x4c837e._0x3062e9)]),_0x2445a5=addSiteFilters(_0x52cf18['query'],_0x52cf18[_0x5699b7(0xee,-0x4a,_0x4c837e._0x36d531,_0x4c837e._0x48e849)]);let _0x26f643=0x0,_0x105b82=_0x52cf18['offset']+0x1;const _0x4ba10a=[];while(_0x26f643<_0x54eb3f){const _0x50fd52=Math['min'](0xa,_0x54eb3f-_0x26f643),_0x2227d0=new URL(_0x5699b7(0x2ba,_0x4c837e._0x1cf1ff,0x1c0,_0x4c837e._0x33466e));_0x2227d0[_0x4bfbea(-_0x4c837e._0x400a76,-0x15f,-0x2f9,-0x133)]['set'](_0x4bfbea(-0x2f4,-_0x4c837e._0x37c89d,-0x2ba,-0x1ad),_0x9704c1[_0x4bfbea(-0x124,-_0x4c837e._0x18e5fa,-_0x4c837e._0x3062e9,-_0x4c837e._0x479d17)]),_0x2227d0[_0x4bfbea(-_0x4c837e._0x2abad8,-0x15f,-0x1de,-_0x4c837e._0xdaeb26)][_0x4bfbea(-_0x4c837e._0x15a01a,-_0x4c837e._0x878369,-_0x4c837e._0x2ae5f6,-_0x4c837e._0x145263)]('cx',_0x9704c1['googleCseCx']),_0x2227d0[_0x5699b7(_0x4c837e._0x28d7c9,-0x59,_0x4c837e._0x51890c,0x1d7)][_0x5699b7(_0x4c837e._0x1b60d6,-0xcb,_0x4c837e._0x10d1e9,_0x4c837e._0x1e6989)]('q',_0x2445a5),_0x2227d0[_0x4bfbea(_0x4c837e._0x46441f,-0x15f,-_0x4c837e._0x494ae9,-_0x4c837e._0x532bd8)][_0x5699b7(-0x3,0xa0,_0x4c837e._0x515e7a,-_0x4c837e._0x2e6c30)](_0x5699b7(0x253,_0x4c837e._0x417db2,_0x4c837e._0x560f5b,0x95),String(_0x50fd52)),_0x2227d0[_0x5699b7(0x206,0x284,_0x4c837e._0x51890c,_0x4c837e._0x1f100c)][_0x4bfbea(-_0x4c837e._0x19d949,-_0x4c837e._0x2a7120,-0x1c3,-0x1b5)](_0x5699b7(-0x85,_0x4c837e._0x14a14f,0xbf,_0x4c837e._0x1fccc8),String(_0x105b82)),_0x2227d0[_0x5699b7(_0x4c837e._0x2bf3c8,0x205,0x142,_0x4c837e._0x954512)][_0x4bfbea(-0x187,-0x1c6,-_0x4c837e._0x2e5604,-0x163)](_0x4bfbea(-_0x4c837e._0x276cae,-_0x4c837e._0x27bbf2,-_0x4c837e._0x5698fd,-0x272),_0x52cf18[_0x4bfbea(-_0x4c837e._0x2d0bcf,-0x2c8,-0x1e3,-_0x4c837e._0x3166eb)]?_0x5699b7(-_0x4c837e._0x312a5b,-_0x4c837e._0x22c096,-_0x4c837e._0x10c9f2,0xb9):_0x5699b7(-_0x4c837e._0x226228,0xe4,_0x4c837e._0x4174a2,0x83));_0x52cf18[_0x5699b7(-0x119,-_0x4c837e._0x5349e7,-_0x4c837e._0x173382,-_0x4c837e._0x225ef3)]&&(_0x2227d0[_0x4bfbea(-0x2ad,-_0x4c837e._0x2daf8a,-_0x4c837e._0x50700e,-0x290)]['set']('hl',_0x52cf18[_0x5699b7(-0x25e,_0x4c837e._0xe52afb,-_0x4c837e._0x173382,-0xf7)]),_0x2227d0[_0x5699b7(0x2dd,_0x4c837e._0x4522a2,0x142,0xa1)]['set']('lr','lang_'+_0x52cf18[_0x4bfbea(-0x3e3,-0x35b,-_0x4c837e._0x262ec8,-0x319)]));if(_0x52cf18[_0x5699b7(-0x99,_0x4c837e._0x5ad8bd,_0x4c837e._0x5d2aad,_0x4c837e._0x43ada0)])_0x2227d0[_0x5699b7(0x264,0xa,0x142,0x30)][_0x5699b7(-_0x4c837e._0x47e375,0x176,_0x4c837e._0x10d1e9,-_0x4c837e._0x527207)]('gl',_0x52cf18[_0x5699b7(_0x4c837e._0x24a74a,-_0x4c837e._0x708fbd,0x81,_0x4c837e._0xe3acbd)][_0x5699b7(0x2f6,_0x4c837e._0x460fac,0x214,_0x4c837e._0x48c1d9)]());if(_0x52cf18[_0x5699b7(-_0x4c837e._0x2598c2,-0x13a,0x6a,0xa)]===_0x4bfbea(-_0x4c837e._0x58ad2c,-0x46,_0x4c837e._0x434b47,-_0x4c837e._0x1f1304))_0x2227d0['searchParams']['set']('searchType',_0x4bfbea(-_0x4c837e._0x41d9a8,-_0x4c837e._0x56b251,-_0x4c837e._0x37001e,-_0x4c837e._0x1b0218));if(_0x34053c)_0x2227d0[_0x5699b7(-0x44,-0x6a,_0x4c837e._0x51890c,_0x4c837e._0x46565b)][_0x5699b7(_0x4c837e._0x3c3ce2,_0x4c837e._0xb64c0e,0xdb,_0x4c837e._0x411e32)](_0x5699b7(_0x4c837e._0x1b3293,_0x4c837e._0x54ff58,_0x4c837e._0x50ce99,_0x4c837e._0x1df84c),_0x34053c);const _0x4b7268=await fetchJson(_0x2227d0[_0x5699b7(_0x4c837e._0x575fcc,_0x4c837e._0x1d08b7,0x23f,0x2f8)](),_0x1a0a15),_0x5b03cb=_0x4b7268['items']??[];if(_0x5b03cb[_0x4bfbea(-_0x4c837e._0x3e67c1,-_0x4c837e._0x4a7f87,-_0x4c837e._0x3421f9,-_0x4c837e._0x71c774)]===0x0)break;const _0x31c7d1=_0x26f643;for(let _0x10baf3=0x0;_0x10baf3<_0x5b03cb[_0x4bfbea(-0x228,-0x16a,-_0x4c837e._0x50c886,-0xfb)];_0x10baf3++){const _0xcec9eb=_0x5b03cb[_0x10baf3];if(!_0xcec9eb)continue;const _0x2f739f=_0xcec9eb[_0x5699b7(_0x4c837e._0x4ca028,0x112,_0x4c837e._0x53cf56,0x164)]||_0xcec9eb[_0x4bfbea(-_0x4c837e._0x143144,-_0x4c837e._0x56b251,-0x237,-0x476)]?.['contextLink']||'',_0x3d3005=_0xcec9eb[_0x4bfbea(-_0x4c837e._0x356eb8,-_0x4c837e._0x3e45e5,-_0x4c837e._0x4ace3b,-_0x4c837e._0x2798c9)]||_0xcec9eb[_0x5699b7(0x156,0x1d,-_0x4c837e._0x5622cc,-0xa9)]?.[_0x4bfbea(-0xa1,-0xd3,0x71,-0x150)]||_0x4bfbea(0x88,-_0x4c837e._0x337c2c,-_0x4c837e._0x18c7ea,0x16b),_0x367e73=_0xcec9eb[_0x5699b7(0x200,0x1e,0x1b8,0x350)]||_0xcec9eb[_0x4bfbea(-0xa6,-0x3a,-_0x4c837e._0x62f4e4,_0x4c837e._0x174a49)]?.[_0x4bfbea(-_0x4c837e._0x3eae56,-0x1c3,-0x211,-0xfb)](/<[^>]+>/g,''),_0x189fdb=_0xcec9eb[_0x4bfbea(-_0x4c837e._0x1cdbb5,-_0x4c837e._0xccb87b,-_0x4c837e._0x1c2ca2,-_0x4c837e._0x5092e2)]?.[_0x4bfbea(0x5c,0x21,-0x142,-0x5f)]?.[0x0]??{};let _0x485f4d;try{_0x485f4d=new URL(_0x2f739f)[_0x5699b7(-_0x4c837e._0x49892c,_0x4c837e._0x1c41b6,0x150,-0x1f)];}catch{_0x485f4d=null;}_0x4ba10a[_0x4bfbea(_0x4c837e._0x59f48e,0x9,-_0x4c837e._0x3f49b5,0xf6)]({'title':_0x3d3005,'url':normalizeUrl(_0x2f739f),'snippet':_0x367e73??null,'displayUrl':_0x485f4d,'favicon':null,'publishedAt':_0x189fdb[_0x4bfbea(-_0x4c837e._0x1d08b7,-0x1f2,-_0x4c837e._0x11d1f5,-_0x4c837e._0x454db6)]||_0x189fdb[_0x5699b7(0x146,0x112,_0x4c837e._0x412179,0x18b)]||null,'source':{'engine':_0x5699b7(-_0x4c837e._0x4698f3,-_0x4c837e._0x48c38f,-0x4e,_0x4c837e._0x36d531),'rank':_0x31c7d1+_0x10baf3+0x1}});}_0x26f643+=_0x5b03cb[_0x4bfbea(-_0x4c837e._0x3130ee,-_0x4c837e._0x425a50,_0x4c837e._0x14c895,-_0x4c837e._0x3a7ff6)],_0x105b82+=_0x5b03cb['length'];if(_0x5b03cb['length']<_0x50fd52)break;}return _0x4ba10a[_0x4bfbea(-0x156,-0x1bf,-_0x4c837e._0xa92c71,-0x1a5)](0x0,_0x54eb3f);}function isGoogleCseEngine(_0x1abb71){return'googleCseKey'in _0x1abb71;}function isOllamaEngine(_0x4285fd){const _0x35534b={_0x526e2f:0x180,_0x1aca4d:0xd7},_0x5a906e={_0x5de053:0x52,_0x37e724:0x640};function _0xc8ac6d(_0xe748e9,_0x9cb291,_0x23f936,_0x11ac57){return _0x515b8f(_0xe748e9-_0x5a906e._0x5de053,_0x9cb291-0x168,_0x11ac57,_0x9cb291- -_0x5a906e._0x37e724);}return _0xc8ac6d(-_0x35534b._0x526e2f,-0x1fd,-0x37e,-_0x35534b._0x1aca4d)in _0x4285fd;}function isTavilyEngine(_0x48733e){const _0x45b4f8={_0x300afb:0x38,_0x46e565:0x128,_0x4f6203:0x233},_0x29c0ee={_0x362ac2:0xdd,_0x1baffa:0x25e};function _0x217689(_0x3642df,_0x2433ca,_0x19b918,_0x14e589){return _0x1c3a85(_0x3642df-_0x29c0ee._0x362ac2,_0x14e589,_0x19b918-0xc8,_0x19b918- -_0x29c0ee._0x1baffa);}return _0x217689(_0x45b4f8._0x300afb,-_0x45b4f8._0x46e565,-0xf3,-_0x45b4f8._0x4f6203)in _0x48733e;}function createWebSearchTool(_0x59d1f9){const _0x270f14={_0x579073:0x484,_0x3c81a4:0x15b,_0x47a7fb:0x11b,_0x139c69:0x50,_0x1eaeb5:0x17,_0x6e7d8c:0xc4,_0x3c47af:0x69,_0x557698:0x14a,_0x4323a6:0x6b,_0x444b8b:0xe9,_0x4d77a2:0x147,_0x420760:0xaa,_0x1a2e15:0x35,_0xf2cbce:0x4b,_0x191d9a:0x3f1,_0x4f1ce7:0x20,_0x336f1d:0x10b,_0x118cb8:0x122,_0x5bd8ff:0x110,_0x498f8f:0xa7,_0x326221:0xe,_0x3699fa:0x2d,_0xc511d9:0x38,_0x4f736b:0x41d,_0x21cef8:0x429,_0x597c60:0x2bd,_0xd86ba9:0x27d,_0xa18b04:0x522,_0x13f24e:0x179,_0x1803db:0x599,_0x4fa3e4:0x404},_0x1df6ed={_0x2b0811:0x140,_0x4b3628:0x13b,_0x255dd0:0x30b,_0x47e9cd:0x1ec,_0x364709:0x5cf,_0x45d30f:0x471,_0x221ea4:0xf2,_0x2580c5:0x53e,_0x54a000:0x51a,_0x4905bc:0x168,_0x50eea2:0x1b9,_0x57ffed:0x45,_0x4189e3:0x23a,_0x1e025f:0x60,_0x1dfbcd:0xdb,_0x2cad21:0x2c9,_0x423193:0x45b,_0x4f7694:0x37c,_0x2ea4e0:0x46f,_0x12e8c6:0x21,_0x4a0b65:0x7b7,_0x124fd4:0x4dd,_0x518c8f:0x50a,_0x1a0dbe:0x5dd,_0x38c6a7:0x5e4,_0x14e234:0x503,_0xc2a56:0x482,_0x337864:0x1ba,_0x291a60:0x1db,_0x4f79f8:0x2a5,_0x2bf24c:0x45b,_0x21cf1d:0x1bb,_0x4b5c65:0x166,_0x5b69ac:0x1e0,_0x182565:0x1d6,_0x1d2c6e:0xe4,_0x23fa48:0x22e,_0x5f2157:0x9e,_0x48497e:0x58d,_0x537133:0x50d,_0x3541af:0x4df,_0x3b8132:0x519,_0x1a7e93:0x460,_0x276b79:0x185,_0x5063e1:0x272,_0x4d2766:0x2f,_0x26004a:0xc2,_0x5e41ea:0x8f,_0x361212:0x368,_0x38f118:0x36c,_0x24ec7a:0x108,_0x310ff2:0x79,_0x11d927:0x641,_0x3b268d:0x4bd,_0xccf271:0x12e,_0x17a0ad:0x14a,_0x5f22d2:0xdb,_0x37750a:0x1d,_0x5b7ddd:0x237,_0x5197a7:0x37a,_0xa50ac8:0x8f,_0x40de3f:0x14,_0x30ae6a:0x39,_0x352822:0x8f,_0x44b6d9:0x560,_0x1cb061:0xb3,_0x10bcae:0xac,_0x13908d:0xf7,_0xcc4873:0xa0,_0x8439ed:0x162,_0x1d5ba1:0x96,_0x2d40e3:0x7c,_0x2a0fab:0x43,_0xa5e1db:0x8a,_0x1270a1:0x45,_0x14e43a:0x536,_0x3f5d4f:0x63a,_0x2100e8:0x588,_0x1e55b0:0x271,_0x522636:0x1b1},_0x3e08ab={_0x3d87a0:0x4,_0x1c8289:0xc8},_0x415c5f={_0x49341c:0xa4,_0x22e77b:0x8b};if(!_0x59d1f9['engines']||_0x59d1f9[_0x592058(0x586,_0x270f14._0x579073,0x433,0x401)][_0x2f880e(0x1a3,0x4e,_0x270f14._0x3c81a4,0x33)]===0x0)throw new Error(_0x2f880e(-_0x270f14._0x47a7fb,-_0x270f14._0x139c69,0x9e,_0x270f14._0x1eaeb5));const _0x222310=_0x59d1f9[_0x2f880e(-0x9e,0xe6,0x11b,0x48)]??_0x2f880e(-_0x270f14._0x6e7d8c,-0xeb,_0x270f14._0x3c47af,0xd),_0x7c459=_0x59d1f9[_0x2f880e(-_0x270f14._0x557698,_0x270f14._0x4323a6,-0x1,-0x100)];function _0x592058(_0xeba857,_0x2ac1cb,_0x3137ce,_0x336588){return _0x515b8f(_0xeba857-_0x415c5f._0x49341c,_0x2ac1cb-0x1ed,_0x336588,_0x2ac1cb- -_0x415c5f._0x22e77b);}function _0x2f880e(_0x25ae24,_0x6f0b3c,_0x4aed78,_0x427c3b){return _0x1c3a85(_0x25ae24-_0x3e08ab._0x3d87a0,_0x6f0b3c,_0x4aed78-0x1a2,_0x427c3b- -_0x3e08ab._0x1c8289);}return defineTool({'name':_0x222310,'permissionClass':_0x2f880e(_0x270f14._0x444b8b,_0x270f14._0x4d77a2,-_0x270f14._0x420760,_0x270f14._0x1a2e15),'description':_0x2f880e(_0x270f14._0xf2cbce,0x1d4,-0x146,0x2c),'inputSchema':{'type':_0x592058(0x2b8,_0x270f14._0x191d9a,0x22f,0x24a),'properties':{'description':{'type':_0x2f880e(-0x64,_0x270f14._0x4f1ce7,-0x13,-0xa9)},'query':{'type':_0x2f880e(-0xdd,-0x153,-0x28,-0xa9)},'count':{'type':_0x2f880e(_0x270f14._0x336f1d,-0x97,-0x87,_0x270f14._0x118cb8)},'offset':{'type':'number'},'domains':{'type':_0x2f880e(0x174,-_0x270f14._0x5bd8ff,-_0x270f14._0x498f8f,-_0x270f14._0x326221),'items':{'type':_0x2f880e(-_0x270f14._0x3699fa,-0x79,0xd4,-0xa9)}},'recencyDays':{'type':_0x2f880e(0x227,-_0x270f14._0xc511d9,-0x76,0x122)},'lang':{'type':_0x592058(0x4ff,_0x270f14._0x4f736b,_0x270f14._0x21cef8,_0x270f14._0x597c60)},'region':{'type':_0x592058(_0x270f14._0xd86ba9,0x41d,_0x270f14._0xa18b04,0x521)},'safe':{'type':'boolean'},'type':{'type':_0x592058(0x2e9,_0x270f14._0x4f736b,0x5bb,0x323)},'hydrateMeta':{'type':_0x2f880e(0x9c,0x165,-0x2f,_0x270f14._0x13f24e)}},'required':[_0x592058(_0x270f14._0x1803db,_0x270f14._0x4fa3e4,0x29a,0x4b8)]},async *'execute'(_0x35bfcb,_0x31714f){const _0x46d63a={_0xc130ed:0x1f2},_0x20637a={_0x54af55:0x96,_0x21efba:0x126,_0x56e78a:0x101,_0x2caa6b:0x14d,_0x506342:0x1fa,_0x4c331c:0xc6,_0x1702f3:0x5,_0x8a693f:0x3b,_0x4dad8f:0x104,_0x4cbe3d:0xf7,_0x33b91a:0x191},_0x38a671={_0x3e1c57:0xfd,_0x3625b5:0x11a},_0x2ddc1a={_0x25019f:0x1a0},_0x44f39d={_0x3c712f:0x20},_0x34d240=_0x35bfcb['query'][_0x51b796(_0x1df6ed._0x2b0811,-0xf,-0x8,_0x1df6ed._0x4b3628)]();if(!_0x34d240)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x5b3097={'query':_0x34d240,'count':Math[_0x51b796(0x21f,0x262,_0x1df6ed._0x255dd0,_0x1df6ed._0x47e9cd)](0x1,Math[_0x4c745c(0x770,0x4ae,_0x1df6ed._0x364709,0x650)](0x32,Math[_0x4c745c(0x48e,0x57c,0x56c,_0x1df6ed._0x45d30f)](_0x35bfcb[_0x51b796(0x43e,_0x1df6ed._0x221ea4,0x335,0x283)]??0xa))),'offset':Math['max'](0x0,Math[_0x4c745c(_0x1df6ed._0x2580c5,0x59d,0x56c,_0x1df6ed._0x54a000)](_0x35bfcb[_0x51b796(-0x161,_0x1df6ed._0x4905bc,_0x1df6ed._0x50eea2,_0x1df6ed._0x57ffed)]??0x0)),'domains':_0x35bfcb[_0x51b796(_0x1df6ed._0x4189e3,0x139,_0x1df6ed._0x1e025f,_0x1df6ed._0x1dfbcd)]??[],'recencyDays':Math[_0x51b796(0x242,_0x1df6ed._0x2cad21,0x16c,0x1ec)](0x0,Math['trunc'](_0x35bfcb['recencyDays']??0x0)),'lang':_0x35bfcb[_0x4c745c(0x1bc,_0x1df6ed._0x423193,0x328,_0x1df6ed._0x4f7694)]??'en','region':_0x35bfcb['region']??'','safe':_0x35bfcb[_0x4c745c(_0x1df6ed._0x2ea4e0,0x41c,0x3bb,0x2c2)]??!![],'type':normalizeType(_0x35bfcb[_0x51b796(-0x50,0x250,_0x1df6ed._0x12e8c6,0x95)]),'hydrateMeta':_0x35bfcb[_0x4c745c(0x776,_0x1df6ed._0x4a0b65,0x629,_0x1df6ed._0x124fd4)]??![]};let _0x1581a9=[];function _0x4c745c(_0x7fc7bc,_0x4a5553,_0x48f7c6,_0x45e906){return _0x592058(_0x7fc7bc-0xda,_0x48f7c6-_0x44f39d._0x3c712f,_0x48f7c6-0x13d,_0x4a5553);}let _0x229c3c=_0x4c745c(_0x1df6ed._0x518c8f,_0x1df6ed._0x1a0dbe,0x549,_0x1df6ed._0x38c6a7);for(const _0x1bf2c0 of _0x59d1f9[_0x4c745c(_0x1df6ed._0x14e234,0x474,0x4a4,_0x1df6ed._0xc2a56)]){try{if(isGoogleCseEngine(_0x1bf2c0))_0x1581a9=await searchGoogleCse(_0x1bf2c0,_0x5b3097,_0x31714f[_0x51b796(_0x1df6ed._0x337864,0x21d,_0x1df6ed._0x291a60,_0x1df6ed._0x4f79f8)]),_0x229c3c='google-cse';else{if(isOllamaEngine(_0x1bf2c0)){const _0x30bbb1=await searchOllama(_0x1bf2c0,_0x5b3097,_0x31714f[_0x51b796(0x131,0x3fc,_0x1df6ed._0x2bf24c,0x2a5)]);_0x1581a9=_0x30bbb1[_0x51b796(-_0x1df6ed._0x21cf1d,-_0x1df6ed._0x4b5c65,-_0x1df6ed._0x5b69ac,-0x77)],_0x229c3c=_0x30bbb1[_0x51b796(0x45,0x5d,0x41,_0x1df6ed._0x182565)];}else{if(isTavilyEngine(_0x1bf2c0)){const _0x5a5c4a=await searchTavily(_0x1bf2c0,_0x5b3097,_0x31714f[_0x51b796(_0x1df6ed._0x1d2c6e,_0x1df6ed._0x23fa48,0x2f2,0x2a5)]);_0x1581a9=_0x5a5c4a[_0x51b796(-0x85,-0xf,-_0x1df6ed._0x5f2157,-0x77)],_0x229c3c=_0x5a5c4a[_0x4c745c(0x4b6,0x3f2,_0x1df6ed._0x48497e,_0x1df6ed._0x537133)];}}}if(_0x1581a9[_0x4c745c(_0x1df6ed._0x3541af,0x6ba,_0x1df6ed._0x3b8132,_0x1df6ed._0x1a7e93)]>0x0)break;}catch(_0x1caa12){if(_0x1bf2c0===_0x59d1f9['engines'][_0x59d1f9['engines'][_0x51b796(_0x1df6ed._0x276b79,0x166,0x1d2,0x162)]-0x1])throw _0x1caa12;}}_0x5b3097[_0x51b796(0x3a4,0x2de,0x3f5,_0x1df6ed._0x5063e1)]&&_0x1581a9['length']>0x0&&(_0x1581a9=await hydrateResults(_0x1581a9,_0x5b3097[_0x51b796(-_0x1df6ed._0x4d2766,-0x1af,-_0x1df6ed._0x26004a,-_0x1df6ed._0x5e41ea)],_0x31714f[_0x51b796(0x256,_0x1df6ed._0x361212,0x3a0,_0x1df6ed._0x4f79f8)],_0x7c459));const _0x34fdfe=new Set();_0x1581a9=_0x1581a9[_0x4c745c(0x3a7,0x39a,0x4ba,_0x1df6ed._0x38f118)](_0x4d525a=>{const _0x3aeac9=_0x4d525a[_0x3e8522(_0x20637a._0x54af55,-_0x20637a._0x21efba,_0x20637a._0x56e78a,0xae)][_0x3e8522(0x167,_0x20637a._0x2caa6b,_0x20637a._0x506342,_0x20637a._0x4c331c)]();function _0x4dce91(_0x243f9e,_0x40b2e3,_0x810cbd,_0x154aa5){return _0x4c745c(_0x243f9e-_0x2ddc1a._0x25019f,_0x810cbd,_0x40b2e3- -0x29f,_0x154aa5-0x75);}if(!_0x3aeac9||_0x34fdfe[_0x3e8522(_0x20637a._0x1702f3,-0x33,_0x20637a._0x8a693f,_0x20637a._0x4dad8f)](_0x3aeac9))return![];function _0x3e8522(_0x3b9f7b,_0x3908f9,_0xee61ac,_0x4f9a00){return _0x4c745c(_0x3b9f7b-_0x38a671._0x3e1c57,_0x3908f9,_0x3b9f7b- -0x4ce,_0x4f9a00-_0x38a671._0x3625b5);}return _0x34fdfe[_0x3e8522(-0x15c,-_0x20637a._0x4cbe3d,-0x2dc,-_0x20637a._0x33b91a)](_0x3aeac9),!![];});function _0x51b796(_0x5dfe8b,_0x17d7ac,_0x52e450,_0x41123a){return _0x2f880e(_0x5dfe8b-0x199,_0x17d7ac,_0x52e450-_0x46d63a._0xc130ed,_0x41123a-0x12f);}_0x1581a9=_0x1581a9[_0x51b796(-_0x1df6ed._0x24ec7a,0x80,_0x1df6ed._0x310ff2,-0x48)]((_0x3610e7,_0x5234df)=>({..._0x3610e7,'source':{..._0x3610e7[_0x51b796(-0xa7,0x258,0xb2,0xfc)],'rank':_0x5234df+0x1}}));const _0xe3a218={};if(_0x5b3097['domains'][_0x4c745c(0x640,_0x1df6ed._0x11d927,0x519,_0x1df6ed._0x3b268d)]>0x0)_0xe3a218[_0x51b796(_0x1df6ed._0xccf271,_0x1df6ed._0x276b79,0xff,0xdb)]=_0x5b3097[_0x51b796(0x259,0x147,_0x1df6ed._0x17a0ad,_0x1df6ed._0x5f22d2)];if(_0x5b3097[_0x51b796(-_0x1df6ed._0x37750a,-0x1b8,-0x157,-0x3d)]>0x0)_0xe3a218['recencyDays']=_0x5b3097[_0x4c745c(0x4af,_0x1df6ed._0x5b7ddd,_0x1df6ed._0x5197a7,0x2c0)];if(_0x5b3097[_0x51b796(0x2d,-0x79,-0x172,-_0x1df6ed._0xa50ac8)]!=='en')_0xe3a218[_0x51b796(_0x1df6ed._0x40de3f,0x9a,_0x1df6ed._0x30ae6a,-_0x1df6ed._0x352822)]=_0x5b3097[_0x51b796(0x27,0xa7,0x55,-0x8f)];if(_0x5b3097[_0x4c745c(0x498,_0x1df6ed._0x44b6d9,0x463,0x4fd)])_0xe3a218[_0x51b796(0xe7,_0x1df6ed._0x1cb061,0x71,_0x1df6ed._0x10bcae)]=_0x5b3097[_0x51b796(0x24c,0x221,_0x1df6ed._0x13908d,0xac)];return yield createToolOutput(formatResults(_0x1581a9),{'engine':_0x229c3c,'count':_0x1581a9[_0x51b796(0x132,0x55,_0x1df6ed._0xcc4873,_0x1df6ed._0x8439ed)],'items':_0x1581a9,'query':_0x5b3097[_0x51b796(_0x1df6ed._0x1d5ba1,0xf0,0xce,0x6d)],...Object[_0x51b796(0xd1,0x18e,0x1bf,_0x1df6ed._0x2d40e3)](_0xe3a218)[_0x51b796(0xe9,_0x1df6ed._0x2a0fab,0x2fe,0x162)]>0x0?{'appliedFilters':_0xe3a218}:{},'offset':_0x5b3097[_0x51b796(-0x84,_0x1df6ed._0xa5e1db,0x168,_0x1df6ed._0x1270a1)],'totalRequested':_0x5b3097[_0x4c745c(0x6e1,_0x1df6ed._0x14e43a,_0x1df6ed._0x3f5d4f,_0x1df6ed._0x2100e8)],'hydrated':_0x5b3097[_0x51b796(0x3c0,_0x1df6ed._0x1e55b0,_0x1df6ed._0x522636,_0x1df6ed._0x5063e1)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,GREP_DEFAULT_LIMIT,GREP_MAX_PATTERN_LENGTH,GREP_MAX_SNIPPET_LENGTH,ToolExecutionError,ToolRegistry,assertWorkspaceFile,boundedGrepSnippet,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,extractOwnedMcpSafeError,filepath,files,isProbablyBinary,isTerminalStatus,normalizeToolOutputValue,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,sha256Bytes,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};