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

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(_0x45a2f6,_0x3f6bef){const _0xea14c4={_0x3c6c6e:0x16b,_0x7d6b68:0x24,_0x3ab55e:0x6e6,_0x265223:0x5d3,_0x36210f:0x29,_0x3f700d:0x126,_0x202cb5:0x193,_0x3046b9:0x137,_0x4a12ba:0x224,_0x4efd6c:0x466,_0x57c3e6:0x42f,_0x3f6ac8:0x6b8,_0x2850c6:0x1da,_0x13aaed:0x238,_0x149c63:0x72c,_0x183650:0x4be,_0x3a9e25:0x64f,_0x435d5e:0x606,_0x4ffbd6:0x37c,_0x55ad8c:0x2cf,_0x29ed75:0x2e7},_0x2525d0={_0x4c7546:0x2d8},_0x35a0d7={_0x45cc81:0x1b2};function _0x2ea199(_0x203868,_0x4b942c,_0x3ea9be,_0x492098){return _0x5041(_0x492098-_0x35a0d7._0x45cc81,_0x203868);}const _0x4f7f03=_0x45a2f6();function _0x3e00f0(_0x331309,_0x1a9aa7,_0x16e32e,_0x204283){return _0x5041(_0x331309- -_0x2525d0._0x4c7546,_0x1a9aa7);}while(!![]){try{const _0x2d2ec5=parseInt(_0x3e00f0(-_0xea14c4._0x3c6c6e,_0xea14c4._0x7d6b68,-0x30b,-0x2ab))/0x1+parseInt(_0x2ea199(_0xea14c4._0x3ab55e,0x7cb,_0xea14c4._0x265223,0x652))/0x2+-parseInt(_0x3e00f0(-_0xea14c4._0x36210f,-0x85,0x21,-0xf9))/0x3*(-parseInt(_0x2ea199(0x500,0x51b,0x4fb,0x5a0))/0x4)+parseInt(_0x3e00f0(-0x1e,-_0xea14c4._0x3f700d,-_0xea14c4._0x202cb5,-0x1b))/0x5*(parseInt(_0x3e00f0(_0xea14c4._0x3046b9,0x3,0x2f1,_0xea14c4._0x4a12ba))/0x6)+-parseInt(_0x2ea199(_0xea14c4._0x4efd6c,_0xea14c4._0x57c3e6,_0xea14c4._0x3f6ac8,0x50c))/0x7*(parseInt(_0x3e00f0(-0xf4,-_0xea14c4._0x2850c6,-_0xea14c4._0x13aaed,-0x1e1))/0x8)+-parseInt(_0x2ea199(_0xea14c4._0x149c63,_0xea14c4._0x183650,0x66e,0x5b5))/0x9+parseInt(_0x2ea199(0x512,0x5c7,_0xea14c4._0x3a9e25,_0xea14c4._0x435d5e))/0xa*(-parseInt(_0x2ea199(_0xea14c4._0x4ffbd6,0x3d0,_0xea14c4._0x55ad8c,_0xea14c4._0x29ed75))/0xb);if(_0x2d2ec5===_0x3f6bef)break;else _0x4f7f03['push'](_0x4f7f03['shift']());}catch(_0x5c708){_0x4f7f03['push'](_0x4f7f03['shift']());}}}(_0x32bc,0x7838b));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 _0x3776ef from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x151cc1(0x333,0x2bd,0x169,0x364),'.tsx':_0x1ac42a(-0x362,-0x2a2,-0x1e6,-0x1f7),'.js':_0x151cc1(0x1f0,0x2b4,0x259,0x380),'.jsx':_0x1ac42a(0xe3,-0xb1,0x11f,0x1c4),'.mjs':'javascript','.cjs':_0x151cc1(0x410,0x2b4,0x199,0x15a),'.mts':_0x151cc1(0x12c,0x2bd,0x2aa,0x241),'.cts':_0x1ac42a(-0x15c,-0x1c7,-0xc0,-0x103),'.json':_0x1ac42a(0xb6,0x2e,-0x2a,0x143),'.jsonc':_0x151cc1(0x21c,0x23a,0x12f,0x1a6)};function getLanguageId(_0x471328){const _0x397e87={_0x504afe:0x258,_0x5f5d2b:0x2f0,_0x3aff20:0x4b9},_0x5a235c={_0x47568f:0x191,_0x1a9723:0x1c},_0x3441fb={_0x5d1df8:0x41,_0x28eb87:0x4f8};function _0x26a70d(_0x36e3f0,_0x3c5c6f,_0x4908ef,_0x4e0609){return _0x1ac42a(_0x36e3f0-_0x3441fb._0x5d1df8,_0x3c5c6f-0xe7,_0x4908ef-_0x3441fb._0x28eb87,_0x4e0609);}function _0x2b9efb(_0x1e80bd,_0x30f835,_0x35bd56,_0x10c259){return _0x151cc1(_0x1e80bd-_0x5a235c._0x47568f,_0x10c259- -0x1d0,_0x1e80bd,_0x10c259-_0x5a235c._0x1a9723);}return EXTENSION_TO_LANGUAGE[_0x3776ef[_0x2b9efb(0x15c,_0x397e87._0x504afe,0x3e4,_0x397e87._0x5f5d2b)](_0x471328)[_0x26a70d(_0x397e87._0x3aff20,0x4b0,0x379,0x2d1)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x3f04a5){const _0x1e8d8d={_0x2fb978:0x1c6},_0x4bc867={_0x349962:0x163};function _0x139cc1(_0x3b6c95,_0x22cbcb,_0x4228bb,_0x138bf3){return _0x1ac42a(_0x3b6c95-0x192,_0x22cbcb-_0x4bc867._0x349962,_0x138bf3-0x267,_0x3b6c95);}return pathToFileURL(_0x3f04a5)[_0x139cc1(0x14,-0x21,_0x1e8d8d._0x2fb978,0x139)]();}function textDocumentPosition(_0xd0500a){const _0x22a106={_0x1ac840:0x51c,_0x441a51:0x50c},_0x494d61={_0x6a05c1:0x4b,_0x624235:0x56d};function _0x32823d(_0x461b4b,_0x46f9f4,_0x2fac7a,_0x2ae277){return _0x1ac42a(_0x461b4b-_0x494d61._0x6a05c1,_0x46f9f4-0x10,_0x2ae277-_0x494d61._0x624235,_0x46f9f4);}return{'textDocument':{'uri':uriForPath(_0xd0500a['file'])},'position':{'line':_0xd0500a['line'],'character':_0xd0500a[_0x32823d(_0x22a106._0x1ac840,0x3b6,0x5cd,_0x22a106._0x441a51)]}};}function normalizeLocations(_0x1b94e1){const _0x43b06f={_0x17b245:0x276,_0x190cea:0x313},_0x24add5={_0x1d92e8:0x1e0};function _0x52f64d(_0x4b5abc,_0x71b557,_0x3f4ba7,_0x41d2cf){return _0x151cc1(_0x4b5abc-0x16d,_0x71b557-0x22,_0x3f4ba7,_0x41d2cf-_0x24add5._0x1d92e8);}if(!_0x1b94e1)return[];return Array[_0x52f64d(0x17f,_0x43b06f._0x17b245,_0x43b06f._0x190cea,0x17d)](_0x1b94e1)?_0x1b94e1:[_0x1b94e1];}async function withLspTimeout(_0x4d947a,_0x284f97,_0x19c700){const _0x284bb3={_0x28a53d:0x143,_0x1e477c:0x102,_0x37a6fe:0x3c,_0x38b272:0xd4,_0x374f58:0x29,_0xc4f5ee:0x11},_0x86b459={_0x298f24:0x4bd},_0x23768c={_0x43b0c8:0x121,_0x366943:0x1e7,_0x590ebd:0x60};function _0x23a0dc(_0x255291,_0x51d931,_0x530254,_0x2c23dd){return _0x1ac42a(_0x255291-_0x23768c._0x43b0c8,_0x51d931-_0x23768c._0x366943,_0x255291- -_0x23768c._0x590ebd,_0x530254);}if(!Number['isFinite'](_0x284f97)||_0x284f97<0x1)throw new Error(_0x4bd38f(0x215,0x6d,-_0x284bb3._0x28a53d,0x12e)+_0x19c700+_0x23a0dc(-_0x284bb3._0x1e477c,-0x235,_0x284bb3._0x37a6fe,-0x224));let _0xa5307;function _0x4bd38f(_0x5a14f3,_0x5daf40,_0x18d941,_0x1d4146){return _0x151cc1(_0x5a14f3-0x135,_0x5daf40- -0x17d,_0x5a14f3,_0x1d4146-0x64);}try{return await Promise[_0x4bd38f(-_0x284bb3._0x38b272,_0x284bb3._0x374f58,0x1c,-_0x284bb3._0xc4f5ee)]([_0x4d947a,new Promise((_0x223c0a,_0x45f6e0)=>{_0xa5307=setTimeout(()=>{function _0x572eb7(_0x4fa240,_0x3b31be,_0xa80718,_0x4966e2){return _0x5041(_0x4966e2- -0x52,_0x4fa240);}_0x45f6e0(new Error('LSP\x20'+_0x19c700+'\x20timed\x20out\x20after\x20'+_0x284f97+_0x572eb7(_0x86b459._0x298f24,0x2ed,0x36f,0x3cb)));},_0x284f97);})]);}finally{if(_0xa5307!==void 0x0)clearTimeout(_0xa5307);}}async function createLspClient(_0x2f6ff5){const _0x2a947c={_0x46bdbb:0x691,_0xd91248:0x84f,_0xa5da6:0x3e1,_0x112eaf:0x3ac,_0x2943c7:0x45f,_0x368706:0x599,_0x4ff50c:0x5bd,_0xa2f932:0x45f,_0x1ba004:0x4f7,_0x10887b:0x558,_0xc977d7:0x72d,_0x737d9c:0x8c1,_0x2f85be:0x3b4,_0xbc63e7:0x32b,_0x5a6dc2:0x552,_0x1d79a4:0x6d4,_0xbc0429:0x569,_0x2d25da:0x4e7,_0x571909:0x3f0,_0x5cf601:0x36c,_0x444a39:0x2e1,_0x37f309:0x5af,_0x1d76ef:0x679,_0x47e477:0x2e9,_0x243848:0x3ad,_0x220be5:0x5d3,_0x46679a:0x6f4,_0x301167:0x56e,_0x2df774:0x54e,_0x2a7211:0x575,_0x9b47a5:0x41d,_0x52b44f:0x301,_0x47e749:0x3fa,_0x2b6bf5:0x42a,_0x2c2f64:0x3a7,_0x2cce8b:0x3f8,_0x5524f3:0x691,_0x53d93e:0x605,_0x486e8c:0x6b8,_0x2e1c0d:0x502,_0x35214f:0x82f,_0x15d88d:0x549,_0x5864f9:0x3b8,_0x564509:0x386,_0x3049e2:0x3ef,_0x4a6a73:0x36d,_0x36ef7d:0x2d2,_0x4e4ae8:0x44d,_0x5dab44:0x349},_0x244c83={_0x2f825d:0x555,_0x125a35:0x4b3,_0x44d0e9:0x440,_0x3d63c5:0x3ec,_0x5038e4:0x3fb,_0x5c0971:0x64b,_0x526194:0x5c2,_0x27abe7:0x60a,_0x15e75a:0x613,_0x1b5442:0x501,_0xa5e844:0x4c9,_0x151d49:0x5c0,_0x33ade4:0x68a,_0x496cef:0x56f},_0x471b4d={_0x44fc5b:0x1d4},_0xba95ee={_0x35b528:0x15d,_0x647d01:0x11d},_0x482e52={_0x29f67a:0x496,_0x51bd7e:0x5bc},_0x15e504={_0x4cf49f:0x363,_0x442c66:0x3dc,_0x28ff71:0x30e,_0x2c2ec5:0x32e,_0x5dcf2b:0x173,_0xca7276:0x2f9},_0x5734d8={_0x2562e5:0x36},_0x5cebaa={_0x4cf8b5:0x254},_0x463945={_0x467cad:0x384,_0xcf5887:0x263},_0x1b2d11={_0x408217:0x2ac,_0x3726e3:0x2e2,_0x1baf60:0x463},_0x1c60ed={_0x1d68ab:0x6c,_0x678563:0x142},_0x107dab={_0x2c9ca6:0x19,_0x3bafb9:0x2b5,_0x279ddd:0x101},_0x4af7ca={_0x5308e8:0x3c5},_0x441fcd={_0x24f3e3:0x5bc,_0x12e78f:0x61d,_0x39f03e:0x4ab},_0x3940c5={_0x9d19d9:0xca},_0x17746c={_0x4bdb57:0x3a},_0x1a0792={_0x198571:0x237,_0x1690b7:0x84},_0x33f1d4={_0x50b356:0x2db},_0x46bb97={_0x2a6c42:0x76e},_0x34b284={_0x3e33dc:0x5e4,_0x36e4ef:0x45e,_0x193f77:0x4e3},_0x4767f5={_0x5bdd90:0x141,_0x4c4828:0x4a},_0x50d391={_0x4bb992:0x386,_0x28e759:0x461,_0x2148bc:0x51a,_0xbd20fb:0x496,_0xa88bd1:0x77c,_0xb39b18:0x61f,_0x159718:0x4ab,_0x2443c9:0x6c,_0xd9c6d:0x2a},_0x4fe2a0={_0x4bc2fe:0x114,_0x4bb540:0x33b},_0x4bf55f={_0x5976be:0xbb,_0x21d54f:0x0},_0x3fefce={_0x510f89:0x83},_0x11e2b4={_0x1b450d:0x1c,_0x527627:0x129,_0x3f3396:0x3f1,_0x2684f4:0x82,_0x43cff4:0x231,_0x220597:0x12d,_0x3a8553:0x9b,_0x40c535:0x117,_0x390f5c:0x299,_0x6133d8:0x1f3},_0x4cf32c={_0x3e7e77:0x9a6,_0x5851c0:0x7d1},_0x3f17fa={_0x5071a0:0x309},_0xa19538=_0x2f6ff5[_0x370746(_0x2a947c._0x46bdbb,0x683,0x6ca,_0x2a947c._0xd91248)][_0x276703(_0x2a947c._0xa5da6,0x3de,_0x2a947c._0x112eaf,_0x2a947c._0x2943c7)]['stdout'],_0x319c67=_0x2f6ff5['handle'][_0x276703(0x53e,_0x2a947c._0x368706,_0x2a947c._0x4ff50c,_0x2a947c._0xa2f932)][_0x276703(_0x2a947c._0x1ba004,0x47e,0x56a,_0x2a947c._0x10887b)];if(!_0xa19538||!_0x319c67)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');const _0x49afa8=_0x2f6ff5[_0x370746(_0x2a947c._0xc977d7,0x858,0x876,_0x2a947c._0x737d9c)]??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x344ef7=createMessageConnection(new StreamMessageReader(_0xa19538),new StreamMessageWriter(_0x319c67)),_0x293160=new Map(),_0x18642b=new Map();let _0xd73206=![];function _0x370746(_0x528994,_0x4d592c,_0x127ca4,_0xeb36be){return _0x151cc1(_0x528994-0xac,_0x528994-_0x3f17fa._0x5071a0,_0x4d592c,_0xeb36be-0x7a);}const _0x2a10e3=async(_0x414fcd,_0x233cee)=>{const _0x113699={_0x4331c4:0x82,_0xb1863f:0x29a};function _0x4dde0b(_0xac775b,_0x19bbbe,_0x4d54ca,_0x3c2659){return _0x276703(_0x3c2659,_0x19bbbe-0x61,_0x4d54ca-_0x113699._0x4331c4,_0xac775b-_0x113699._0xb1863f);}return withLspTimeout(_0x344ef7[_0x4dde0b(0x806,_0x4cf32c._0x3e7e77,_0x4cf32c._0x5851c0,0x753)](_0x414fcd,_0x233cee),_0x49afa8,_0x414fcd);};_0x344ef7[_0x276703(0x522,_0x2a947c._0x2f85be,0x40a,0x3bb)](_0x276703(_0x2a947c._0xbc63e7,0x346,_0x2a947c._0x5a6dc2,0x4e8),_0x19609d=>{const _0xadc5ea={_0xbb9d64:0x626,_0x144aaf:0xcf},_0x452945={_0x2c4745:0x80};function _0x4b2335(_0x4ed75b,_0xcad532,_0x489ff8,_0x2aa6db){return _0x370746(_0x2aa6db- -0x3e6,_0x489ff8,_0x489ff8-_0x452945._0x2c4745,_0x2aa6db-0x128);}_0x293160[_0x335985(-_0x11e2b4._0x1b450d,-0xac,-0xa4,_0x11e2b4._0x527627)](_0x19609d['uri'],_0x19609d[_0x4b2335(_0x11e2b4._0x3f3396,_0x11e2b4._0x2684f4,0x2e0,0x242)]);const _0x50ab92=_0x18642b[_0x4b2335(0x27b,_0x11e2b4._0x43cff4,_0x11e2b4._0x220597,0x28c)](_0x19609d['uri']);if(!_0x50ab92)return;function _0x335985(_0x50fc07,_0x4ca404,_0xccbbe1,_0x4643cd){return _0x370746(_0xccbbe1- -_0xadc5ea._0xbb9d64,_0x4ca404,_0xccbbe1-0xc,_0x4643cd-_0xadc5ea._0x144aaf);}_0x18642b[_0x4b2335(-_0x11e2b4._0x3a8553,0xa0,-0x4a,_0x11e2b4._0x40c535)](_0x19609d[_0x4b2335(0x10c,_0x11e2b4._0x2684f4,_0x11e2b4._0x390f5c,_0x11e2b4._0x6133d8)]);for(const _0x1a45ba of _0x50ab92)_0x1a45ba();});function _0x276703(_0x259741,_0x530332,_0x341610,_0x48ac69){return _0x151cc1(_0x259741-0x1ef,_0x48ac69-0xa3,_0x259741,_0x48ac69-_0x3fefce._0x510f89);}_0x344ef7[_0x370746(0x60a,_0x2a947c._0x1d79a4,_0x2a947c._0xbc0429,_0x2a947c._0x2d25da)]();let _0x5c239f;try{_0x5c239f=await _0x2a10e3(_0x276703(0x36f,_0x2a947c._0x571909,_0x2a947c._0x5cf601,_0x2a947c._0x444a39),{'processId':process['pid'],'rootUri':uriForPath(_0x2f6ff5[_0x370746(_0x2a947c._0x37f309,_0x2a947c._0x1d76ef,0x459,0x51b)]),'workspaceFolders':[{'uri':uriForPath(_0x2f6ff5[_0x276703(_0x2a947c._0x47e477,0x284,_0x2a947c._0x243848,0x349)]),'name':_0x2f6ff5[_0x370746(_0x2a947c._0x220be5,_0x2a947c._0x46679a,0x519,_0x2a947c._0x301167)]['id']}],'initializationOptions':_0x2f6ff5['handle'][_0x276703(0x55c,_0x2a947c._0x2df774,_0x2a947c._0x2a7211,0x3ee)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x276703(_0x2a947c._0x9b47a5,_0x2a947c._0x52b44f,0x230,0x3ab),_0x276703(_0x2a947c._0x47e749,_0x2a947c._0x2b6bf5,0x39c,_0x2a947c._0x2c2f64)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x561899){_0x344ef7[_0x276703(0x586,0x533,0x2ec,_0x2a947c._0x2cce8b)](),_0x2f6ff5[_0x370746(_0x2a947c._0x5524f3,_0x2a947c._0x53d93e,0x629,_0x2a947c._0x486e8c)][_0x370746(0x6c5,_0x2a947c._0x2e1c0d,0x7ea,_0x2a947c._0x35214f)]['kill']();throw _0x561899;}_0x344ef7[_0x370746(_0x2a947c._0x15d88d,_0x2a947c._0x5864f9,_0x2a947c._0x564509,_0x2a947c._0x3049e2)]('initialized',{});const _0x5a4584={'serverId':_0x2f6ff5[_0x276703(0x4cc,0x480,0x4c4,_0x2a947c._0x4a6a73)]['id'],'root':_0x2f6ff5[_0x276703(_0x2a947c._0x36ef7d,0x17d,_0x2a947c._0x4e4ae8,_0x2a947c._0x5dab44)],'connection':_0x344ef7,'diagnostics':_0x293160,'capabilities':_0x5c239f[_0x276703(0x371,0x232,0x4a6,0x394)]??{},'notify':{async 'open'({path:_0x10af08}){function _0x186bb8(_0x9366bc,_0xc5458f,_0x374683,_0x510514){return _0x276703(_0xc5458f,_0xc5458f-_0x4bf55f._0x5976be,_0x374683-_0x4bf55f._0x21d54f,_0x374683-0x237);}function _0x4145cd(_0x2d0057,_0x3f3010,_0x4201a8,_0x115c09){return _0x276703(_0x115c09,_0x3f3010-_0x4fe2a0._0x4bc2fe,_0x4201a8-0x171,_0x2d0057- -_0x4fe2a0._0x4bb540);}const _0x1d714b=await readFile(_0x10af08,_0x4145cd(0x254,_0x50d391._0x4bb992,0x197,0x397));_0x344ef7[_0x186bb8(_0x50d391._0x28e759,0x3e0,_0x50d391._0x2148bc,_0x50d391._0xbd20fb)](_0x186bb8(0x5dd,_0x50d391._0xa88bd1,_0x50d391._0xb39b18,_0x50d391._0x159718),{'textDocument':{'uri':uriForPath(_0x10af08),'languageId':getLanguageId(_0x10af08)??_0x4145cd(_0x50d391._0x2443c9,_0x50d391._0xd9c6d,-0x74,0xa7),'version':0x1,'text':_0x1d714b}});},async 'change'({path:_0x526b96,version:_0x4c9b1b}){const _0x4a1ccc={_0x2c57fe:0x102,_0x536f4b:0x299},_0x4773e7={_0xd3e290:0x114,_0x4e31d6:0x2e4};function _0x47f531(_0x3ee2db,_0x5a17d2,_0x89a437,_0x5cb161){return _0x276703(_0x5a17d2,_0x5a17d2-_0x4773e7._0xd3e290,_0x89a437-0x1df,_0x5cb161- -_0x4773e7._0x4e31d6);}const _0x14ceb5=await readFile(_0x526b96,'utf8');function _0x3f9a5d(_0x53ebdc,_0x4b0599,_0x41a9f6,_0xb771bb){return _0x276703(_0x41a9f6,_0x4b0599-_0x4a1ccc._0x2c57fe,_0x41a9f6-0x71,_0xb771bb- -_0x4a1ccc._0x536f4b);}_0x344ef7[_0x3f9a5d(_0x4767f5._0x5bdd90,0x19e,-0x9f,_0x4767f5._0x4c4828)](_0x3f9a5d(0x35,-0x248,-0x173,-0x7a),{'textDocument':{'uri':uriForPath(_0x526b96),'version':_0x4c9b1b},'contentChanges':[{'text':_0x14ceb5}]});},async 'close'({path:_0x277109}){const _0x155934={_0x13235d:0x64a};function _0x5dac7a(_0x4885de,_0x1b7e42,_0x5a8690,_0x2c0dae){return _0x276703(_0x1b7e42,_0x1b7e42-0x61,_0x5a8690-0x28,_0x4885de-0x2d0);}function _0x18530a(_0x538136,_0x50b569,_0x226ee7,_0x905265){return _0x370746(_0x538136- -_0x155934._0x13235d,_0x50b569,_0x226ee7-0xc0,_0x905265-0x1e);}_0x344ef7[_0x18530a(-0x101,-0x151,0xb1,-0x20f)](_0x5dac7a(_0x34b284._0x3e33dc,_0x34b284._0x36e4ef,0x78b,_0x34b284._0x193f77),{'textDocument':{'uri':uriForPath(_0x277109)}});}},'request':{async 'definition'(_0x352190){return normalizeLocations(await _0x2a10e3('textDocument/definition',textDocumentPosition(_0x352190)));},async 'references'(_0xc75181){const _0x454955={_0x134681:0x1c0};function _0x5b22eb(_0x2525b3,_0x221261,_0xedf3d5,_0x509290){return _0x370746(_0xedf3d5- -0x20,_0x221261,_0xedf3d5-0x82,_0x509290-_0x454955._0x134681);}return normalizeLocations(await _0x2a10e3(_0x5b22eb(0x634,_0x46bb97._0x2a6c42,0x62b,0x4fd),{...textDocumentPosition(_0xc75181),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x1e1c29){const _0x28e3e6={_0x59bf3c:0xad,_0x1f3467:0x182};function _0x4aa657(_0x5583e7,_0x3def2b,_0x105a7d,_0xf91d3d){return _0x370746(_0x3def2b- -0x233,_0xf91d3d,_0x105a7d-_0x28e3e6._0x59bf3c,_0xf91d3d-_0x28e3e6._0x1f3467);}return await _0x2a10e3(_0x4aa657(0x31e,_0x33f1d4._0x50b356,0x441,0x436),textDocumentPosition(_0x1e1c29))??null;},async 'documentSymbol'(_0x3fb4d6){const _0x2ffe07={_0x4691c6:0xe1};function _0x49ccdb(_0x287f32,_0x256c43,_0x343ff5,_0x2d866a){return _0x370746(_0x256c43- -0x5a2,_0x287f32,_0x343ff5-_0x2ffe07._0x4691c6,_0x2d866a-0x187);}return await _0x2a10e3(_0x49ccdb(_0x1a0792._0x198571,_0x1a0792._0x1690b7,-0xbd,-0x14),{'textDocument':{'uri':uriForPath(_0x3fb4d6)}})??[];},async 'workspaceSymbol'(_0xb0f09e){function _0x587785(_0x4d6468,_0x855bef,_0x448636,_0x15a498){return _0x370746(_0x448636- -0x5f1,_0x4d6468,_0x448636-0x59,_0x15a498-_0x17746c._0x4bdb57);}return await _0x2a10e3(_0x587785(-0x85,-0x149,-_0x3940c5._0x9d19d9,-0x78),{'query':_0xb0f09e})??[];},async 'implementation'(_0x54f1ce){const _0xa8c320={_0x5d9602:0x0,_0x2d66c0:0x66};function _0x1c4174(_0xffbc4d,_0xae10f2,_0x432eb4,_0x290fdb){return _0x276703(_0xae10f2,_0xae10f2-0x7e,_0x432eb4-_0xa8c320._0x5d9602,_0x290fdb-_0xa8c320._0x2d66c0);}return normalizeLocations(await _0x2a10e3(_0x1c4174(_0x441fcd._0x24f3e3,_0x441fcd._0x12e78f,_0x441fcd._0x39f03e,0x5e6),textDocumentPosition(_0x54f1ce)));},async 'prepareCallHierarchy'(_0x584869){function _0x4b4b9c(_0x5e6acc,_0x45562b,_0xd7b069,_0x9d5925){return _0x276703(_0x45562b,_0x45562b-0x1e9,_0xd7b069-0x2f,_0x9d5925- -_0x4af7ca._0x5308e8);}return await _0x2a10e3(_0x4b4b9c(-_0x107dab._0x2c9ca6,0x60,-_0x107dab._0x3bafb9,-_0x107dab._0x279ddd),textDocumentPosition(_0x584869))??[];},async 'incomingCalls'(_0xdd3208){function _0x46c856(_0x5602c4,_0x5da47d,_0x569030,_0x4265dc){return _0x276703(_0x5da47d,_0x5da47d-_0x1c60ed._0x1d68ab,_0x569030-_0x1c60ed._0x678563,_0x4265dc-0x70);}return await _0x2a10e3(_0x46c856(_0x1b2d11._0x408217,0x37b,_0x1b2d11._0x3726e3,_0x1b2d11._0x1baf60),{'item':_0xdd3208})??[];},async 'outgoingCalls'(_0x1be1db){function _0x5d6053(_0x3c478a,_0x4a1c66,_0x49d373,_0x1f2d4a){return _0x370746(_0x1f2d4a- -0x6f9,_0x49d373,_0x49d373-0x164,_0x1f2d4a-0x111);}return await _0x2a10e3(_0x5d6053(-_0x463945._0x467cad,-0x259,-0x295,-_0x463945._0xcf5887),{'item':_0x1be1db})??[];}},'waitForDiagnostics'({path:_0x342057,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x436813=uriForPath(_0x342057);function _0x478e0a(_0x2df833,_0x1be80a,_0x6781c3,_0x2f7025){return _0x276703(_0x2f7025,_0x1be80a-0x1c9,_0x6781c3-0x1a7,_0x2df833-_0x5cebaa._0x4cf8b5);}if(_0x293160[_0xda2b76(0x552,_0x482e52._0x29f67a,0x498,_0x482e52._0x51bd7e)](_0x436813))return Promise[_0x478e0a(0x612,0x446,0x51c,0x61d)]();function _0xda2b76(_0x13ef83,_0x46965b,_0x2de8db,_0x546159){return _0x276703(_0x46965b,_0x46965b-0x193,_0x2de8db-_0x5734d8._0x2562e5,_0x546159-0x107);}return new Promise(_0x1111ec=>{const _0x2aeafe={_0x365c6c:0x6f7,_0x3b1fc3:0x80f,_0x5b44ba:0x872,_0x3ec00d:0x6b8,_0x5461cf:0x78a},_0x19ced2={_0xe09f86:0x1ee};function _0x30aa2f(_0x167049,_0x1f9c23,_0x1f02af,_0x1dc2f2){return _0x478e0a(_0x1f9c23- -0x3fd,_0x1f9c23-_0x19ced2._0xe09f86,_0x1f02af-0xc4,_0x167049);}function _0x514eb4(_0x2e1f39,_0x22f89c,_0x3fc0e6,_0x4c92ab){return _0xda2b76(_0x2e1f39-0x1d,_0x4c92ab,_0x3fc0e6-0x5e,_0x3fc0e6- -0xe2);}const _0x44db6c=setTimeout(()=>{const _0x298044={_0x4ba8a4:0x139},_0x14daa3=_0x18642b[_0x3c5fb9(0x73e,_0x2aeafe._0x365c6c,0x66e,_0x2aeafe._0x3b1fc3)](_0x436813);function _0x2fd777(_0x151ff8,_0xafdc9,_0x155b35,_0x355105){return _0x5041(_0x155b35- -_0x298044._0x4ba8a4,_0xafdc9);}function _0x3c5fb9(_0xd2a0c2,_0x2a0a23,_0x5cd6df,_0x1814a1){return _0x5041(_0x2a0a23-0x3e1,_0x5cd6df);}_0x14daa3?.['delete'](_0x3313b8);if(_0x14daa3?.[_0x3c5fb9(0x921,_0x2aeafe._0x5b44ba,_0x2aeafe._0x3ec00d,_0x2aeafe._0x5461cf)]===0x0)_0x18642b['delete'](_0x436813);_0x1111ec();},timeoutMs),_0x3313b8=()=>{clearTimeout(_0x44db6c),_0x1111ec();},_0x4333c8=_0x18642b[_0x30aa2f(0x387,0x263,_0x15e504._0x4cf49f,_0x15e504._0x442c66)](_0x436813)??new Set();_0x4333c8[_0x30aa2f(0x234,_0x15e504._0x28ff71,0x219,_0x15e504._0x2c2ec5)](_0x3313b8),_0x18642b[_0x30aa2f(0x2ec,_0x15e504._0x5dcf2b,_0x15e504._0xca7276,0xe3)](_0x436813,_0x4333c8);});},async 'shutdown'(){function _0x2cf02e(_0x1865a7,_0x3e0a58,_0x14a4f2,_0x45094c){return _0x370746(_0x14a4f2- -_0xba95ee._0x35b528,_0x1865a7,_0x14a4f2-_0xba95ee._0x647d01,_0x45094c-0x60);}if(_0xd73206)return;_0xd73206=!![];function _0x4ff176(_0x47ab33,_0x35be19,_0x2a162d,_0x47190d){return _0x276703(_0x47ab33,_0x35be19-0x7e,_0x2a162d-_0x471b4d._0x44fc5b,_0x47190d-0x1ed);}try{await _0x2a10e3(_0x2cf02e(_0x244c83._0x2f825d,_0x244c83._0x125a35,0x47e,0x2e4),null),_0x344ef7[_0x2cf02e(_0x244c83._0x44d0e9,0x457,_0x244c83._0x3d63c5,0x41d)](_0x2cf02e(_0x244c83._0x5038e4,_0x244c83._0x5c0971,_0x244c83._0x526194,0x4bc));}catch{}finally{_0x344ef7[_0x2cf02e(_0x244c83._0x27abe7,_0x244c83._0x15e75a,_0x244c83._0x1b5442,_0x244c83._0xa5e844)](),_0x2f6ff5[_0x2cf02e(0x692,0x613,0x534,_0x244c83._0x151d49)][_0x2cf02e(_0x244c83._0x33ade4,0x4d4,0x568,0x625)][_0x4ff176(0x43c,0x3f8,0x5d5,_0x244c83._0x496cef)]();}}};return _0x5a4584;}import{spawn as _0xa5d2bf}from'child_process';import{access as _0x2bfaf1}from'fs/promises';import _0x246d48 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x458083 from'os';import _0x2eb2bd from'path';function _0x151cc1(_0x1037ff,_0x4fd848,_0x19e8ac,_0x53a535){const _0x11a90f={_0x52f58f:0x53};return _0x5041(_0x4fd848-_0x11a90f._0x52f58f,_0x19e8ac);}import _0x1982f4 from'which';var installPromises=new Map();function sanitizePackageName(_0x14c256){const _0x286d99={_0x4957c2:0x615,_0x8bb793:0x325},_0x5b36f7={_0x3061f9:0x1ac};function _0x535340(_0x3ed9ad,_0x1e43ef,_0x2b1990,_0x2ebc2c){return _0x1ac42a(_0x3ed9ad-_0x5b36f7._0x3061f9,_0x1e43ef-0x3f,_0x2ebc2c-0x6a0,_0x2b1990);}return _0x14c256['replace'](/^@/,'')[_0x535340(_0x286d99._0x4957c2,0x64f,_0x286d99._0x8bb793,0x4f4)](/[/]/g,'__');}function binaryNameForPlatform(_0x4b6efe){const _0x3dd01c={_0x1d2f67:0x533,_0x1cc957:0x57c,_0x38f755:0x4e5,_0x42c708:0x84},_0x1eda33={_0xff059c:0x27e,_0x2e08ef:0xfd},_0x240c06={_0x11359d:0x92,_0x4fc9d9:0x3b};function _0xc727ad(_0x5454c5,_0xa88bc8,_0x1bd1b9,_0x9e02e){return _0x1ac42a(_0x5454c5-_0x240c06._0x11359d,_0xa88bc8-0x1c5,_0xa88bc8-_0x240c06._0x4fc9d9,_0x5454c5);}function _0xb0e5f1(_0x522f56,_0x2b9b8c,_0x59f9da,_0x54f26e){return _0x151cc1(_0x522f56-0xe2,_0x59f9da-_0x1eda33._0xff059c,_0x522f56,_0x54f26e-_0x1eda33._0x2e08ef);}return process[_0xb0e5f1(_0x3dd01c._0x1d2f67,0x60c,_0x3dd01c._0x1cc957,_0x3dd01c._0x38f755)]===_0xc727ad(_0x3dd01c._0x42c708,-0x110,-0x224,-0xee)?_0x4b6efe+'.cmd':_0x4b6efe;}async function exists(_0x1f26eb){try{return await access(_0x1f26eb),!![];}catch{return![];}}function runNpmInstall(_0x3d82cd,_0x46f094,_0x599fc1){const _0x27801e={_0x202e21:0x17,_0x54aafa:0x15e,_0xc7efb4:0x7b,_0x237c31:0x21a,_0x3a077e:0xba,_0x4f395e:0x16f,_0x40bbf1:0xf1,_0x493c6e:0x6e};return new Promise(_0x316c09=>{const _0x1d4800={_0x358d32:0x28f};function _0x493dd9(_0xdbb6be,_0x24b9b2,_0x536045,_0x22136a){return _0x5041(_0x22136a-0x27a,_0xdbb6be);}const _0x4e7e0d=spawn(_0x103fd4(-0x9e,-0x13,_0x27801e._0x202e21,-_0x27801e._0x54aafa),[_0x103fd4(-_0x27801e._0xc7efb4,-_0x27801e._0x237c31,-0x19e,-_0x27801e._0x3a077e),_0x103fd4(_0x27801e._0x54aafa,_0x27801e._0x4f395e,0x303,0xf4),_0x3d82cd,_0x46f094],{'env':_0x599fc1,'stdio':_0x103fd4(-_0x27801e._0x40bbf1,-0x1e5,_0x27801e._0x493c6e,-0xe1)});_0x4e7e0d['on']('error',()=>_0x316c09(![]));function _0x103fd4(_0x2f5ddf,_0x536775,_0x541832,_0x2fada6){return _0x5041(_0x2f5ddf- -_0x1d4800._0x358d32,_0x541832);}_0x4e7e0d['on']('close',_0x17b57a=>_0x316c09(_0x17b57a===0x0));});}function shouldDisableLspDownload(_0x4ae375=process[_0x1ac42a(0x142,0x26,-0x41,0xf8)]){const _0x48b24c={_0x1cda54:0x33b,_0x181c71:0x47d,_0x2d8b4c:0x36e,_0x3b23f1:0x434,_0x48b262:0x380,_0x55f14a:0x47c},_0x472f06={_0x46faf3:0xd6,_0x50e17f:0x39},_0x1a68b7={_0x365cf1:0x140,_0x1f95e3:0xe7,_0x52ee95:0x172},_0x42bf86=_0x4ae375['NUVIN_DISABLE_LSP_DOWNLOAD']?.[_0xb43c05(_0x48b24c._0x1cda54,_0x48b24c._0x181c71,_0x48b24c._0x2d8b4c,_0x48b24c._0x3b23f1)]();function _0x3613ac(_0x262b6d,_0x8aa5c8,_0x131fd6,_0x480f65){return _0x151cc1(_0x262b6d-_0x1a68b7._0x365cf1,_0x131fd6- -_0x1a68b7._0x1f95e3,_0x262b6d,_0x480f65-_0x1a68b7._0x52ee95);}function _0xb43c05(_0x54eeb1,_0x49b002,_0x5015ac,_0x170039){return _0x151cc1(_0x54eeb1-_0x472f06._0x46faf3,_0x49b002-0x27f,_0x170039,_0x170039-_0x472f06._0x50e17f);}return _0x42bf86==='true'||_0x42bf86==='1'||_0x42bf86===_0x3613ac(0x48c,0x538,_0x48b24c._0x48b262,_0x48b24c._0x55f14a)||_0x42bf86==='on';}function getLspPackageDir(_0x5779cd){const _0x58fbf9={_0xd4ad0d:0x26f,_0x3ec215:0x205,_0x3b8f04:0x199,_0x2b5a49:0x1cd,_0x2f196d:0x677,_0x2e3157:0x608,_0xbfd9a2:0x662},_0x3c2fe5={_0x3aaead:0xab,_0x34a06a:0x1b2};function _0x18e851(_0x529827,_0xd25835,_0x177666,_0x36afe8){return _0x151cc1(_0x529827-_0x3c2fe5._0x3aaead,_0x36afe8-0x34b,_0x529827,_0x36afe8-_0x3c2fe5._0x34a06a);}function _0x188cfc(_0xd27835,_0x4034b0,_0x574dcd,_0x1b05cf){return _0x1ac42a(_0xd27835-0x192,_0x4034b0-0x148,_0xd27835- -0xf,_0x574dcd);}return _0x2eb2bd[_0x188cfc(0x12d,0x1b0,0x151,_0x58fbf9._0xd4ad0d)](_0x458083[_0x188cfc(-_0x58fbf9._0x3ec215,-_0x58fbf9._0x3b8f04,-_0x58fbf9._0x2b5a49,-0x3d)](),_0x18e851(_0x58fbf9._0x2f196d,0x641,_0x58fbf9._0x2e3157,_0x58fbf9._0xbfd9a2),'lsp','packages',sanitizePackageName(_0x5779cd));}function getLspBinDir(_0x7d1dfb){const _0x4275bc={_0x51ebe4:0x328,_0x2181a5:0x411,_0x409bc0:0x44c,_0x4414a5:0x2d6,_0x384e44:0x239,_0x50b1cf:0x1c3,_0x1d9ab9:0x637,_0x43a0cb:0x40a},_0xfd8837={_0x5bf6b3:0x6f,_0x2889a7:0xa8,_0x1a71fa:0x122},_0x9828e3={_0x227d29:0x14,_0x28fbdb:0x4db};function _0x47f9ad(_0x113aff,_0x82a1ef,_0xa66c69,_0x73f416){return _0x1ac42a(_0x113aff-0x1d9,_0x82a1ef-_0x9828e3._0x227d29,_0x113aff-_0x9828e3._0x28fbdb,_0xa66c69);}function _0x316fcb(_0x1cf65b,_0x3ae7d1,_0x261400,_0x4225a9){return _0x151cc1(_0x1cf65b-_0xfd8837._0x5bf6b3,_0x261400- -_0xfd8837._0x2889a7,_0x3ae7d1,_0x4225a9-_0xfd8837._0x1a71fa);}return _0x2eb2bd[_0x316fcb(_0x4275bc._0x51ebe4,0x400,_0x4275bc._0x2181a5,_0x4275bc._0x409bc0)](getLspPackageDir(_0x7d1dfb),_0x316fcb(_0x4275bc._0x4414a5,_0x4275bc._0x384e44,_0x4275bc._0x50b1cf,0x277),_0x47f9ad(0x522,0x3c1,_0x4275bc._0x1d9ab9,_0x4275bc._0x43a0cb));}async function findPackageBinary(_0x1241f9,_0x2772e2){const _0x2f4930={_0x3bab6e:0x13a,_0x1fa116:0x52,_0x297626:0x5f,_0x43ff49:0x840,_0x489956:0x72a,_0x27a2e1:0x2a5,_0xd2a660:0x87b,_0x5ab1e4:0x74b,_0x2f62cf:0x5fc,_0x1037d9:0x883,_0x46b07c:0x755},_0x420626={_0x3197d1:0x152},_0x25f979={_0x502508:0x1e5,_0x5b8bc0:0x36d,_0x5464ae:0x28};function _0x5e4a05(_0x2164af,_0x34c684,_0x1ab13f,_0x32b19f){return _0x151cc1(_0x2164af-_0x25f979._0x502508,_0x1ab13f- -_0x25f979._0x5b8bc0,_0x2164af,_0x32b19f-_0x25f979._0x5464ae);}let _0x533559=_0x2eb2bd[_0x5e4a05(_0x2f4930._0x3bab6e,-0x125,-_0x2f4930._0x1fa116,_0x2f4930._0x297626)](_0x2772e2);const _0xd9bb7b=binaryNameForPlatform(_0x1241f9);function _0x50962a(_0x884831,_0x199ae3,_0x44300e,_0xac255e){return _0x151cc1(_0x884831-_0x420626._0x3197d1,_0x44300e-0x387,_0x199ae3,_0xac255e-0x82);}while(!![]){const _0x3f2c15=_0x2eb2bd[_0x50962a(0x8a9,0x829,_0x2f4930._0x43ff49,_0x2f4930._0x489956)](_0x533559,_0x5e4a05(-0x14,-_0x2f4930._0x27a2e1,-0x102,-0x247),_0x50962a(0x85d,_0x2f4930._0xd2a660,_0x2f4930._0x5ab1e4,_0x2f4930._0x2f62cf),_0xd9bb7b);if(await exists(_0x3f2c15))return _0x3f2c15;const _0x4538f9=_0x2eb2bd[_0x50962a(_0x2f4930._0x1037d9,_0x2f4930._0x46b07c,0x858,0x959)](_0x533559);if(_0x4538f9===_0x533559)return void 0x0;_0x533559=_0x4538f9;}}async function findPathBinary(_0x54eaf2,_0x54db7e){const _0x406609={_0x1d0d78:0x14e,_0x2563f9:0x356,_0x5b1488:0xce,_0x2ef4fb:0x373,_0x520045:0x174,_0x841eb0:0x406,_0x195334:0x28d,_0x19ee69:0x361,_0x143d58:0x4cb,_0x26f844:0x32f},_0x1cb161={_0x429c5f:0x72,_0x207e0c:0x158,_0x1626f0:0x66},_0x5430be={_0x58f205:0x1aa,_0xe058af:0x2da},_0x5e93fc=getLspBinDir(_0x54db7e),_0x3a1d39=[_0x5e93fc,process[_0x4dd106(0x299,_0x406609._0x1d0d78,_0x406609._0x2563f9,_0x406609._0x5b1488)][_0x4dd106(0x3c6,0x29a,_0x406609._0x2ef4fb,0x484)]][_0x4dd106(_0x406609._0x520045,0x1d3,0x1a8,0x246)](Boolean)[_0x55655b(_0x406609._0x841eb0,0x234,_0x406609._0x195334,_0x406609._0x19ee69)](_0x2eb2bd[_0x4dd106(0x329,0x39b,_0x406609._0x143d58,_0x406609._0x26f844)]);function _0x4dd106(_0x47134b,_0x1b8bc4,_0x58e8e8,_0x5d3cfc){return _0x1ac42a(_0x47134b-_0x5430be._0x58f205,_0x1b8bc4-0x10b,_0x47134b-_0x5430be._0xe058af,_0x5d3cfc);}function _0x55655b(_0x10829f,_0x362a73,_0x5b6af7,_0x532864){return _0x151cc1(_0x10829f-_0x1cb161._0x429c5f,_0x532864- -_0x1cb161._0x207e0c,_0x5b6af7,_0x532864-_0x1cb161._0x1626f0);}try{return await _0x1982f4(_0x54eaf2,{'path':_0x3a1d39});}catch{return void 0x0;}}async function resolvePackageBinary(_0x40bd16){const _0x4da544={_0x1dbe2d:0x14e,_0x29bab7:0x94,_0xdd5c60:0x293,_0x1982b1:0x2e,_0x162696:0x135,_0x472a34:0x3e,_0x1e852e:0x103,_0x4ccc70:0x1b0,_0x3f890c:0x18b,_0x328710:0x1d,_0x10f24f:0xe7,_0x506dd3:0x6c,_0x3d2c6f:0x8b,_0x1fc1f6:0x110},_0x300a8a={_0x5608c6:0x10d,_0x48cf26:0x169,_0x20969f:0x3d0,_0x46446e:0x4f7,_0x5859b2:0x3c2,_0x258086:0x5a3},_0x36c911=_0x40bd16[_0x305f80(-0xc4,-0x204,-_0x4da544._0x1dbe2d,-_0x4da544._0x29bab7)]??_0x40bd16[_0x305f80(-_0x4da544._0xdd5c60,-_0x4da544._0x1982b1,-0x185,-_0x4da544._0x162696)];function _0x152c4e(_0x42925c,_0x402dee,_0x59fbd3,_0x45fccc){return _0x1ac42a(_0x42925c-0xcd,_0x402dee-0x12,_0x45fccc-0x79,_0x42925c);}const _0x402e5d=await findPackageBinary(_0x36c911,_0x40bd16['startDir']);if(_0x402e5d)return _0x402e5d;const _0x3fad31=await findPathBinary(_0x36c911,_0x40bd16['packageName']);if(_0x3fad31)return _0x3fad31;const _0x125709=_0x40bd16['env']??process['env'];if(shouldDisableLspDownload(_0x125709))return void 0x0;const _0x262859=getLspPackageDir(_0x40bd16['packageName']),_0x24d8db=_0x40bd16[_0x152c4e(-0x123,-_0x4da544._0x472a34,-0x1,-_0x4da544._0x1e852e)]+':'+_0x36c911;let _0x27e797=installPromises[_0x305f80(_0x4da544._0x4ccc70,_0x4da544._0x3f890c,-_0x4da544._0x328710,0x1b3)](_0x24d8db);function _0x305f80(_0x567a16,_0x45707a,_0x584269,_0x35449f){return _0x1ac42a(_0x567a16-0x2b,_0x45707a-0x2a,_0x584269- -0x9,_0x35449f);}!_0x27e797&&(_0x27e797=((async()=>{const _0x5ded69={_0x39e69a:0xa8},_0x2bf0fe={_0x4fa87e:0xa3};function _0x20834d(_0x242769,_0x307b9e,_0x30b091,_0x989678){return _0x152c4e(_0x989678,_0x307b9e-0x92,_0x30b091-_0x2bf0fe._0x4fa87e,_0x307b9e-0x5fa);}function _0x4c7a8c(_0x1543f7,_0x377571,_0x496087,_0x1abf16){return _0x152c4e(_0x1abf16,_0x377571-0x13f,_0x496087-0x0,_0x377571- -_0x5ded69._0x39e69a);}await mkdir(_0x262859,{'recursive':!![]});const _0x53ac3b=await runNpmInstall(_0x262859,_0x40bd16['packageName'],_0x125709);if(!_0x53ac3b)return void 0x0;const _0x134719=_0x2eb2bd[_0x4c7a8c(0x8e,_0x300a8a._0x5608c6,0x45,_0x300a8a._0x48cf26)](getLspBinDir(_0x40bd16[_0x20834d(_0x300a8a._0x20969f,_0x300a8a._0x46446e,_0x300a8a._0x5859b2,_0x300a8a._0x258086)]),binaryNameForPlatform(_0x36c911));return await exists(_0x134719)?_0x134719:void 0x0;})()),installPromises[_0x152c4e(_0x4da544._0x10f24f,0x78,-_0x4da544._0x506dd3,-_0x4da544._0x3d2c6f)](_0x24d8db,_0x27e797));try{return await _0x27e797;}catch{return void 0x0;}finally{installPromises[_0x152c4e(-0x92,0x86,-0x3d,-_0x4da544._0x1fc1f6)](_0x24d8db);}}var TYPESCRIPT_EXTENSIONS=[_0x151cc1(0x32a,0x3eb,0x472,0x559),_0x1ac42a(0xbb,-0x42,0x2c,0x8f),_0x151cc1(0x53a,0x418,0x50b,0x2be),_0x1ac42a(-0x120,-0x16e,-0xa5,0xae),_0x1ac42a(0x29f,0x2be,0x155,0x1a),_0x151cc1(-0x19,0x1a0,0x52,0x271),_0x1ac42a(-0xe6,-0x62,0x73,0x142),_0x1ac42a(0x1f6,0x9e,0x128,0x123)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x151cc1(0x4d7,0x3d0,0x237,0x282),_0x151cc1(0x3,0x1d3,0x154,0x4d)],TYPESCRIPT_ROOT_MARKERS=[_0x1ac42a(-0x2f6,-0x88,-0x1b7,-0x1da),_0x151cc1(0x2b6,0x17f,0x189,0xc4),'bun.lock',_0x1ac42a(0x8,0xfa,-0x46,-0xaa),_0x1ac42a(0x79,0x1b,-0x140,0x8c),_0x1ac42a(0x1a4,0x213,0x14b,0x277),_0x1ac42a(0x197,-0x34,0x188,0x119),_0x151cc1(0x27f,0x39d,0x4da,0x47d)],BIOME_ROOT_MARKERS=[_0x151cc1(0x4c5,0x313,0x326,0x354),_0x1ac42a(0x48,-0x31,0x7b,0x171),_0x151cc1(0x228,0x1c6,0x1dd,0x286),_0x151cc1(0x82,0x17f,0x27d,0x2b5),_0x1ac42a(0x6c,0x239,0xfc,0x3b),_0x151cc1(0x196,0x337,0x22c,0x4ce),_0x151cc1(0x2f9,0x23d,0x175,0x3ad),_0x151cc1(0x33c,0x39d,0x526,0x231)];async function exists2(_0x34b61){try{return await _0x2bfaf1(_0x34b61),!![];}catch{return![];}}async function findUp(_0x23e8c3,_0x4cd6f9){const _0x59363b={_0x3cdd83:0x77c,_0x3b0728:0x5dc,_0x33bba2:0x156,_0x3660b7:0xaf},_0x1dc2c5={_0x2a48be:0xc2,_0xdbace2:0x8d},_0x20c449={_0x2a9452:0x499};let _0x4060f9=_0x246d48[_0x7d3471(-0x16e,0x81,-0xef,0x4e)](_0x23e8c3);const _0x24a461=_0x246d48[_0x23b93b(0x5c9,_0x59363b._0x3cdd83,0x740,_0x59363b._0x3b0728)](_0x4060f9);if(_0x24a461)_0x4060f9=_0x246d48['dirname'](_0x4060f9);function _0x23b93b(_0x1e316d,_0x131470,_0x43d250,_0x10f363){return _0x1ac42a(_0x1e316d-0x142,_0x131470-0xc8,_0x10f363-_0x20c449._0x2a9452,_0x131470);}function _0x7d3471(_0x1d1541,_0x1cf7ef,_0x5e4f67,_0x29f3da){return _0x1ac42a(_0x1d1541-_0x1dc2c5._0x2a48be,_0x1cf7ef-0x54,_0x5e4f67- -_0x1dc2c5._0xdbace2,_0x1cf7ef);}while(!![]){for(const _0x5e9e83 of _0x4cd6f9){if(await exists2(_0x246d48[_0x7d3471(_0x59363b._0x33bba2,0xbe,_0x59363b._0x3660b7,-0xf5)](_0x4060f9,_0x5e9e83)))return _0x4060f9;}const _0x570a85=_0x246d48['dirname'](_0x4060f9);if(_0x570a85===_0x4060f9)return void 0x0;_0x4060f9=_0x570a85;}}async function hasDenoRoot(_0x40270d){const _0x295576={_0x4adbc1:0x35d,_0x15c51a:0x1af,_0x26e0d1:0x187,_0x5cdca4:0x358,_0x515986:0x196,_0x447494:0x26a,_0x3f08c7:0x157};function _0x1b72db(_0x1dce54,_0x5405d3,_0x2b7dd8,_0x4222b6){return _0x1ac42a(_0x1dce54-0x22,_0x5405d3-0x15c,_0x2b7dd8-0x71,_0x5405d3);}function _0x2fdcc7(_0x2e5fc0,_0xb7da47,_0x537dcb,_0x4a8292){return _0x1ac42a(_0x2e5fc0-0x163,_0xb7da47-0x189,_0x2e5fc0-0x516,_0xb7da47);}return await exists2(_0x246d48['join'](_0x40270d,_0x1b72db(_0x295576._0x4adbc1,0x327,_0x295576._0x15c51a,0x9e)))||await exists2(_0x246d48[_0x1b72db(_0x295576._0x26e0d1,_0x295576._0x5cdca4,0x1ad,_0x295576._0x515986)](_0x40270d,_0x1b72db(-0x20a,-_0x295576._0x447494,-_0x295576._0x3f08c7,-0x31e)));}async function resolveTsserverPath(_0x13f314){const _0x370496={_0x25ffd0:0x17f,_0x163334:0x2b4,_0x15ab35:0x2d8,_0x25adea:0x582,_0x3c0845:0x58e,_0x8105e4:0x7b8,_0x31aa22:0x7e8,_0x58b3ee:0x7d9,_0x573c11:0x63a,_0x365b78:0x4e5,_0x373f00:0x1f1,_0x3df799:0x1f1,_0x153bd0:0x38e,_0x8a9f27:0x372,_0x3c6a51:0x2b7,_0x102314:0x4f3,_0x1229eb:0x479,_0x18b02d:0x1b7,_0x50b68a:0x1b1},_0x12c981={_0x3cd053:0x152,_0x123369:0x20,_0x544f67:0x4e6};function _0x35a924(_0x22c2ea,_0x150695,_0x35f5f2,_0x51579c){return _0x151cc1(_0x22c2ea-0xb2,_0x51579c-0xd1,_0x150695,_0x51579c-0x158);}let _0x543a17=_0x246d48['resolve'](_0x13f314);while(!![]){const _0x173a11=_0x246d48['join'](_0x543a17,'node_modules','typescript',_0x35a924(_0x370496._0x25ffd0,_0x370496._0x163334,0x130,_0x370496._0x15ab35),_0x43ebdf(_0x370496._0x25adea,0x36a,_0x370496._0x3c0845,0x3fb));if(await exists2(_0x173a11))return _0x173a11;const _0x23870a=_0x246d48[_0x43ebdf(_0x370496._0x8105e4,_0x370496._0x31aa22,_0x370496._0x58b3ee,_0x370496._0x573c11)](_0x543a17);if(_0x23870a===_0x543a17)break;_0x543a17=_0x23870a;}function _0x43ebdf(_0x50cf6b,_0x1f6a63,_0x4289d5,_0x337bb8){return _0x1ac42a(_0x50cf6b-_0x12c981._0x3cd053,_0x1f6a63-_0x12c981._0x123369,_0x337bb8-_0x12c981._0x544f67,_0x1f6a63);}const _0x350d3e=getLspPackageDir(_0x35a924(_0x370496._0x365b78,_0x370496._0x373f00,0x409,0x38e)),_0x129793=await resolvePackageBinary({'packageName':_0x35a924(0x2e2,0x243,_0x370496._0x3df799,_0x370496._0x153bd0),'binaryName':'tsc','startDir':_0x13f314});if(!_0x129793)return void 0x0;const _0x2cdeab=_0x246d48['join'](_0x350d3e,'node_modules',_0x35a924(_0x370496._0x8a9f27,_0x370496._0x3c6a51,_0x370496._0x102314,0x38e),_0x43ebdf(_0x370496._0x1229eb,_0x370496._0x18b02d,_0x370496._0x50b68a,0x370),'tsserver.js');return await exists2(_0x2cdeab)?_0x2cdeab:void 0x0;}var TypeScriptServer={'id':_0x151cc1(0x44b,0x2bd,0x231,0x196),'name':_0x151cc1(0x1da,0x2d7,0x3df,0x36d),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x526976){const _0x748589=await findUp(_0x526976,TYPESCRIPT_ROOT_MARKERS);if(!_0x748589)return void 0x0;return await hasDenoRoot(_0x748589)?void 0x0:_0x748589;},async 'spawn'(_0x3a0614){const _0x57e4f1={_0x49fe55:0x54b,_0x5e05ea:0x4d8,_0x35b99a:0x3e8,_0x1a1a92:0x62b,_0x45f0e3:0x1ef,_0x2e7c4c:0x97,_0x3dc2b8:0x33c},_0x5ee723={_0x3ef8bc:0xa3,_0x480cda:0x5e6},_0x5c1f3a=await resolveTsserverPath(_0x3a0614);if(!_0x5c1f3a)return void 0x0;function _0x10ad5(_0x3ff598,_0x33f1ba,_0x214d7d,_0x505b20){return _0x1ac42a(_0x3ff598-_0x5ee723._0x3ef8bc,_0x33f1ba-0x10d,_0x214d7d-_0x5ee723._0x480cda,_0x3ff598);}const _0x189e7e=await resolvePackageBinary({'packageName':_0x10ad5(0x4cc,0x66a,0x4d8,0x5c4),'binaryName':_0x10ad5(0x517,_0x57e4f1._0x49fe55,_0x57e4f1._0x5e05ea,_0x57e4f1._0x35b99a),'startDir':_0x3a0614});if(!_0x189e7e)return void 0x0;function _0x114adc(_0x3b2132,_0x4671be,_0x1d867b,_0x36b8da){return _0x1ac42a(_0x3b2132-0x1e5,_0x4671be-0x15c,_0x3b2132- -0x85,_0x1d867b);}return{'process':_0xa5d2bf(_0x189e7e,[_0x10ad5(0x583,0x61b,0x720,_0x57e4f1._0x1a1a92)],{'cwd':_0x3a0614,'stdio':_0x114adc(-_0x57e4f1._0x45f0e3,-_0x57e4f1._0x2e7c4c,-_0x57e4f1._0x3dc2b8,-0x147)}),'initialization':{'tsserver':{'path':_0x5c1f3a}}};}},BiomeServer={'id':_0x151cc1(0x3ec,0x374,0x4e5,0x529),'name':_0x1ac42a(-0x65,0x100,0x1a,-0x168),'extensions':BIOME_EXTENSIONS,async 'root'(_0x4c27e0){return findUp(_0x4c27e0,BIOME_ROOT_MARKERS);},async 'spawn'(_0x362af6){const _0x36d2cc={_0x570f81:0x29e,_0x51e2b7:0x28f,_0x39d125:0x142,_0x42f06d:0x1b3,_0x574708:0xe1,_0x16e33f:0x257,_0x31bdef:0x3f2,_0x214238:0x346,_0x4151eb:0xf5,_0x435dad:0xa2},_0x48cfea={_0x2a698c:0x16c,_0x3c14fc:0x20c},_0x2b4900={_0x33ffda:0x58},_0xeca8ff=await findPackageBinary(_0x200275(_0x36d2cc._0x570f81,0x14e,_0x36d2cc._0x51e2b7,0x2fa),_0x362af6)??await resolvePackageBinary({'packageName':_0x200275(0xff,-0x40,-_0x36d2cc._0x39d125,-_0x36d2cc._0x42f06d),'binaryName':'biome','startDir':_0x362af6});function _0x200275(_0x222512,_0x291d26,_0x6b623,_0x307f40){return _0x1ac42a(_0x222512-0x128,_0x291d26-_0x2b4900._0x33ffda,_0x291d26-0x157,_0x6b623);}function _0x44ae19(_0x4a79d6,_0x2d7ecc,_0x5216df,_0x2e8131){return _0x1ac42a(_0x4a79d6-_0x48cfea._0x2a698c,_0x2d7ecc-0x41,_0x5216df-_0x48cfea._0x3c14fc,_0x2e8131);}if(!_0xeca8ff)return void 0x0;return{'process':_0xa5d2bf(_0xeca8ff,[_0x200275(0x6f,_0x36d2cc._0x574708,_0x36d2cc._0x16e33f,-0x91),_0x44ae19(0x4d7,_0x36d2cc._0x31bdef,_0x36d2cc._0x214238,0x222)],{'cwd':_0x362af6,'stdio':_0x44ae19(-_0x36d2cc._0x4151eb,0x226,_0x36d2cc._0x435dad,-0xee)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x1b1832){const _0x6f24ea={_0xe18013:0x8c},_0x56d456={_0x4d65c4:0x77,_0x5dca50:0x475},_0x14903e={_0x47d55a:0xdf,_0xdd2e35:0x1a6};function _0x393ff3(_0x42f628,_0x17064f,_0x42fae5,_0x188c1e){return _0x151cc1(_0x42f628-_0x14903e._0x47d55a,_0x17064f- -0x313,_0x42fae5,_0x188c1e-_0x14903e._0xdd2e35);}function _0x2042e7(_0x46ba14,_0xafcfea,_0x2c226f,_0x526a69){return _0x1ac42a(_0x46ba14-0x73,_0xafcfea-_0x56d456._0x4d65c4,_0xafcfea-_0x56d456._0x5dca50,_0x2c226f);}const _0x27919a=_0x246d48[_0x2042e7(0x4db,0x5b8,0x4ac,0x6cf)](_0x1b1832)[_0x393ff3(-_0x6f24ea._0xe18013,-0x115,-0x85,0x83)]();return BUILTIN_LSP_SERVERS['filter'](_0x3798a4=>_0x3798a4[_0x2042e7(0x3a5,0x412,0x516,0x4e5)]['includes'](_0x27919a));}function stateKey(_0x52bdb6,_0x53113a){return _0x53113a+':'+_0x52bdb6['id'];}function diagnosticsKeyToPath(_0x344ab1){const _0x282b6c={_0x548689:0x64e,_0x21d962:0x5a9,_0x8b8ad2:0x54f,_0x29c924:0x4b7},_0x134acb={_0x443648:0xa0},_0x323267={_0x20416e:0x241};function _0x5c30fc(_0x4f8ee0,_0x2cd676,_0xee8194,_0x20692e){return _0x151cc1(_0x4f8ee0-0xff,_0x4f8ee0-_0x323267._0x20416e,_0xee8194,_0x20692e-0x81);}function _0x513c0c(_0x34e78c,_0x5258d6,_0x48d8e3,_0x187db1){return _0x1ac42a(_0x34e78c-0x141,_0x5258d6-0x158,_0x187db1-_0x134acb._0x443648,_0x34e78c);}if(!_0x344ab1[_0x5c30fc(_0x282b6c._0x548689,0x5f9,_0x282b6c._0x21d962,0x505)](_0x5c30fc(0x5a3,_0x282b6c._0x8b8ad2,_0x282b6c._0x29c924,0x5a9)))return _0x344ab1;return fileURLToPath(_0x344ab1);}function nextFileVersion(_0x4bfb7b,_0xe6efc5){const _0x471566={_0x579682:0x1cb,_0x25dc7f:0x1a8,_0x28a3a1:0x3f,_0x25b9dc:0x31c,_0x383117:0x2bc,_0x1ca7a9:0x13a},_0x1e478e={_0x33f20b:0x121,_0x3f8126:0x29e,_0x32da04:0x2b},_0x4c79e7={_0x2ffb3a:0x86,_0x5262f4:0x1c1};function _0xa50c83(_0x1e17a5,_0x18ba92,_0x44e948,_0x45c3fd){return _0x151cc1(_0x1e17a5-0x54,_0x44e948- -_0x4c79e7._0x2ffb3a,_0x45c3fd,_0x45c3fd-_0x4c79e7._0x5262f4);}const _0x4a9f7d=(_0x4bfb7b[_0xa50c83(_0x471566._0x579682,0xef,_0x471566._0x25dc7f,_0x471566._0x28a3a1)]['get'](_0xe6efc5)??0x1)+0x1;function _0x575acd(_0x3a6282,_0x27b531,_0x271825,_0x4143a1){return _0x151cc1(_0x3a6282-_0x1e478e._0x33f20b,_0x4143a1- -_0x1e478e._0x3f8126,_0x3a6282,_0x4143a1-_0x1e478e._0x32da04);}return _0x4bfb7b[_0xa50c83(_0x471566._0x25b9dc,0xb4,0x1a8,_0x471566._0x383117)][_0x575acd(-_0x471566._0x1ca7a9,-0x69,0xc2,-0x25)](_0xe6efc5,_0x4a9f7d),_0x4a9f7d;}async function collectClientResults(_0x4bdf68){const _0x15c3e3={_0x5dc53b:0x4f,_0x56c8bf:0xa8},_0x576e3f={_0xa26787:0x8b,_0x53a5d5:0x12a},_0x3fd8e6={_0x17c3a2:0x120,_0x1651c0:0x38a},_0x135aa6=await Promise[_0x20324d(0x2c8,0x12d,_0x15c3e3._0x5dc53b,_0x15c3e3._0x56c8bf)](_0x4bdf68);function _0x3ecf97(_0x176048,_0x4da407,_0x5f39e8,_0x34581c){return _0x151cc1(_0x176048-_0x3fd8e6._0x17c3a2,_0x34581c- -_0x3fd8e6._0x1651c0,_0x176048,_0x34581c-0x1db);}function _0x20324d(_0x306b50,_0xabc9ca,_0x105322,_0x4ea53c){return _0x151cc1(_0x306b50-_0x576e3f._0xa26787,_0xabc9ca- -_0x576e3f._0x53a5d5,_0x105322,_0x4ea53c-0x56);}return _0x135aa6['flatMap'](_0x43232e=>_0x43232e[_0x3ecf97(0x20d,0x115,-0x47,0x7e)]===_0x3ecf97(0x9,-0xff,-0x14e,-0x191)?_0x43232e['value']:[]);}function createLspService(_0x109a55={}){const _0x5d41d1={_0x186769:0x271,_0x5b6211:0xd8},_0x413a39={_0x4b4344:0x1a0,_0x20a7fe:0x99,_0x17ea37:0xb2,_0x3fa5a7:0x9,_0x417dfb:0x1d2,_0x4f4127:0x4,_0x52ba1a:0x2cb,_0xa8b2a4:0x2c8,_0x315716:0x490,_0x55c8c3:0x2c8,_0x5df3ec:0x314,_0xccf110:0x1bc,_0x1d4a7e:0x38,_0x178909:0x2,_0x167c51:0x3bd,_0x21fb9d:0x356,_0x508842:0x3c8,_0x4a1b86:0x26e,_0x5505e5:0xcb,_0x145c40:0xda,_0x38a5a8:0x3f4,_0x18c7df:0x24b,_0x1d291f:0x30,_0x24de1c:0x37d,_0x362f11:0x435},_0xc91f60={_0x1298e0:0x2cf,_0x9f46e:0x15f},_0x107ab6={_0x2c4dc8:0x243},_0x36070a={_0x5a2d56:0x4f5,_0x592446:0x5ed,_0x537bd2:0x647},_0xc07729={_0xdea1d3:0xaa,_0x27e875:0xa2,_0x3c0984:0x7a},_0x5c93e0={_0x4a8260:0x3e5},_0x299e72={_0x20a588:0x2e9,_0x1d8f5f:0x149,_0x43d248:0x214,_0x537650:0x99,_0x23c286:0x1fa,_0x596cfd:0x1a1,_0x2532d2:0x59,_0x8384b3:0x150,_0x2f0349:0x10d},_0x9c892f={_0x27d32a:0xbb},_0x316f49={_0x389dba:0x5a8,_0x3056ba:0x386,_0x649b0f:0x593},_0x4fe45={_0x41eba3:0x250},_0x39e73c={_0x2a77e3:0x261},_0x3df7cc={_0x3695a2:0x14e,_0x4e3200:0x436,_0x4c52a7:0x2cc,_0x1faaba:0x6,_0x4c0c90:0x1ab},_0x137873={_0x371c23:0x5a3,_0x186140:0xa7,_0x2b8e56:0x105,_0x3a17f0:0x15},_0x521822={_0x1b43dd:0x45,_0x21b50d:0x13b,_0x2ccc78:0x76},_0x36f59d={_0x192a75:0x567,_0x1fcadf:0x3d6,_0x15e68a:0x464},_0xf9c440={_0x51d529:0x610},_0x39fca9={_0x4bfa94:0x1cf,_0xea75df:0x291,_0x26e3c7:0x56a,_0x163d6f:0x4e1,_0x26c7e2:0x5ce,_0x50fffe:0x375,_0x1355f6:0x3df,_0x135bd6:0x212,_0x41b842:0x268,_0x57ab51:0x27d,_0x4cd7d8:0x2db,_0x37f4c1:0xcb,_0x53908b:0x2b9,_0x30a789:0x291,_0x142380:0x394,_0x215021:0x233,_0xf9f0f5:0x407,_0x3569dc:0x4ff,_0x2894b7:0x102,_0x3a0c9e:0x672,_0xddaa15:0x3fb,_0x38e93f:0x500,_0x809c6f:0x4b9},_0x4ee7d4={_0x3d5b67:0x1ec,_0x30c41e:0x529,_0x59dfd5:0x39d,_0x183cb7:0x579,_0x2ed003:0x595,_0x101ad2:0x4dd,_0x6802b9:0x202,_0x4eca23:0x386},_0x390f21={_0x445c88:0x359,_0x4b5e8e:0x2ba,_0x27dd4b:0x673,_0x100398:0x604,_0x1635fa:0x320,_0x2cc54c:0x3e1,_0x5125a9:0x66e,_0x47b01e:0x618,_0x526f03:0x57a,_0x4437d1:0x76,_0x443801:0x196,_0x296cb8:0x8c},_0x12169b={_0x41af28:0x6ed,_0x1b4ece:0x16b,_0x490e83:0x4c2,_0x405fe0:0x614,_0x4753c8:0x1bf,_0x10f208:0x756,_0x20f963:0x5c8,_0x4a4ce6:0x76b,_0x182a54:0x87f,_0xda57d8:0x63,_0x2ab321:0x1e6,_0x50deaa:0x1e6},_0x174049={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x528cd7=()=>_0x109a55['enabled']!==![];async function _0x25eaee(_0x469b3f,_0x441329){const _0x19afc2={_0x3b7c82:0x90},_0x12f4e1={_0x2c7c7e:0x9a,_0x5c01a7:0x425},_0x1d42b6=stateKey(_0x469b3f,_0x441329),_0x17afdc=_0x174049[_0x1d856a(_0x390f21._0x445c88,_0x390f21._0x4b5e8e,0x1c8,0x33d)]['find'](_0x3d83ee=>_0x3d83ee['serverId']===_0x469b3f['id']&&_0x3d83ee[_0x1d856a(0x180,0x117,0x1c3,0x8b)]===_0x441329);if(_0x17afdc)return _0x17afdc;if(_0x174049[_0x45093c(_0x390f21._0x27dd4b,0x73f,_0x390f21._0x100398,0x511)]['has'](_0x1d42b6))return void 0x0;const _0x1e98dc=_0x174049[_0x1d856a(_0x390f21._0x1635fa,_0x390f21._0x2cc54c,0x2dc,0x2f2)]['get'](_0x1d42b6);if(_0x1e98dc)return _0x1e98dc;const _0xb55264=((async()=>{function _0x212995(_0x516709,_0x51b6b9,_0x266c02,_0x28ec62){return _0x1d856a(_0x516709-_0x12f4e1._0x2c7c7e,_0x51b6b9-0x1d2,_0x516709-_0x12f4e1._0x5c01a7,_0x28ec62);}function _0x60cad1(_0xe00fa5,_0x501edd,_0x2371c2,_0x1e1cba){return _0x1d856a(_0xe00fa5-0x171,_0x501edd-0x1a0,_0xe00fa5- -0x174,_0x2371c2);}try{const _0x436a22=await _0x469b3f['spawn'](_0x441329);if(!_0x436a22)return _0x174049[_0x212995(_0x12169b._0x41af28,0x83a,0x649,0x7dd)]['add'](_0x1d42b6),void 0x0;const _0x3ad7b9=await createLspClient({'server':_0x469b3f,'root':_0x441329,'handle':_0x436a22}),_0x347f8c=_0x174049[_0x60cad1(0x54,-0x172,-_0x12169b._0x1b4ece,0x9d)][_0x212995(_0x12169b._0x490e83,0x44c,0x314,0x3b5)](_0x5091f=>_0x5091f[_0x212995(0x841,0x8ca,0x8fb,0x6fd)]===_0x469b3f['id']&&_0x5091f[_0x212995(0x5e8,0x45f,0x78a,0x46d)]===_0x441329);if(_0x347f8c)return await _0x3ad7b9[_0x212995(_0x12169b._0x405fe0,0x6f8,0x45c,0x4da)](),_0x347f8c;return _0x174049['clients']['push'](_0x3ad7b9),_0x3ad7b9;}catch{return _0x174049[_0x60cad1(0x154,_0x12169b._0x4753c8,0x173,0x143)][_0x212995(_0x12169b._0x10f208,0x713,_0x12169b._0x20f963,_0x12169b._0x4a4ce6)](_0x1d42b6),void 0x0;}finally{_0x174049[_0x212995(0x701,0x64e,_0x12169b._0x182a54,0x703)][_0x60cad1(-_0x12169b._0xda57d8,-0xcb,-_0x12169b._0x2ab321,-_0x12169b._0x50deaa)](_0x1d42b6);}})());function _0x1d856a(_0x5e2454,_0x51bbc4,_0x546047,_0x40bd75){return _0x5041(_0x546047- -_0x19afc2._0x3b7c82,_0x40bd75);}_0x174049[_0x45093c(0x4bd,_0x390f21._0x5125a9,_0x390f21._0x47b01e,_0x390f21._0x526f03)][_0x1d856a(-0x28,_0x390f21._0x4437d1,_0x390f21._0x443801,_0x390f21._0x296cb8)](_0x1d42b6,_0xb55264);function _0x45093c(_0x4762c8,_0x508682,_0x226ce8,_0x42de6e){return _0x5041(_0x226ce8-0x2ac,_0x4762c8);}return _0xb55264;}async function _0x2c16f2(_0x46a7e8,_0x52b8fc){const _0x121f7e={_0x58a0bf:0x45};function _0xceabfc(_0x5233d2,_0xc4dc34,_0x3a26bf,_0x335182){return _0x5041(_0x335182-_0x121f7e._0x58a0bf,_0x3a26bf);}if(!_0x528cd7())return[];const _0x3b5ea0=[];function _0x8143d2(_0x48b690,_0xf5f93f,_0x4be007,_0x422640){return _0x5041(_0x422640-0x1d6,_0x48b690);}for(const _0x312ca2 of getServersForFile(_0x46a7e8)){const _0x58326a=await _0x312ca2['root'](_0x46a7e8);if(!_0x58326a)continue;const _0x54e20b=stateKey(_0x312ca2,_0x58326a);if(_0x174049[_0xceabfc(_0x4ee7d4._0x3d5b67,0x2d8,_0x4ee7d4._0x30c41e,_0x4ee7d4._0x59dfd5)][_0x8143d2(_0x4ee7d4._0x183cb7,0x6db,0x592,_0x4ee7d4._0x2ed003)](_0x54e20b))continue;const _0x42a286=_0x174049['clients']['find'](_0x51e0c4=>_0x51e0c4[_0x8143d2(0x50e,0x5d1,0x841,0x682)]===_0x312ca2['id']&&_0x51e0c4[_0x8143d2(0x50b,0x431,0x355,0x429)]===_0x58326a);if(_0x42a286){_0x3b5ea0[_0xceabfc(0x3f4,_0x4ee7d4._0x101ad2,_0x4ee7d4._0x6802b9,_0x4ee7d4._0x4eca23)](_0x42a286);continue;}if(!_0x52b8fc)continue;const _0x2e9029=await _0x25eaee(_0x312ca2,_0x58326a);if(_0x2e9029)_0x3b5ea0[_0xceabfc(0x2ad,0x417,0x2cb,0x386)](_0x2e9029);}return _0x3b5ea0;}async function _0x417782(_0x3c623a,_0x33db8d=![]){const _0x14cb4f={_0xb97a27:0x263},_0x9949b8=await _0x2c16f2(_0x3c623a,!![]);function _0x1cdf8a(_0x58c902,_0x394cac,_0x1da8bd,_0x1d91ae){return _0x5041(_0x1d91ae-0x23c,_0x1da8bd);}await Promise['all'](_0x9949b8[_0x1cdf8a(0x5b5,0x56f,0x715,_0xf9c440._0x51d529)](async _0x561021=>{const _0x348c8d={_0x4b2f5b:0x11a};function _0x504845(_0x32fbe6,_0xa91ed,_0x346937,_0x2edb4c){return _0x1cdf8a(_0x32fbe6-0xce,_0xa91ed-0x1aa,_0x2edb4c,_0x346937- -_0x348c8d._0x4b2f5b);}function _0x4aee2e(_0x424d29,_0x57b530,_0x451720,_0x3584de){return _0x1cdf8a(_0x424d29-0xca,_0x57b530-0x98,_0x57b530,_0x3584de- -_0x14cb4f._0xb97a27);}!_0x174049[_0x504845(_0x39fca9._0x4bfa94,0x3c5,_0x39fca9._0xea75df,0x173)][_0x504845(_0x39fca9._0x26e3c7,0x5a1,_0x39fca9._0x163d6f,0x4ca)](_0x561021[_0x504845(0x4d9,0x65c,_0x39fca9._0x26c7e2,0x476)]+':'+_0x561021[_0x504845(0x1ad,0x4b7,_0x39fca9._0x50fffe,0x466)]+':'+_0x3c623a)&&(await _0x561021[_0x504845(_0x39fca9._0x1355f6,_0x39fca9._0x135bd6,_0x39fca9._0x41b842,0x339)][_0x504845(0x281,_0x39fca9._0x57ab51,0x3b0,_0x39fca9._0x4cd7d8)]({'path':_0x3c623a}),_0x174049[_0x504845(_0x39fca9._0x37f4c1,_0x39fca9._0x53908b,_0x39fca9._0x30a789,_0x39fca9._0x142380)][_0x4aee2e(_0x39fca9._0x215021,_0x39fca9._0xf9f0f5,_0x39fca9._0x3569dc,0x39a)](_0x561021['serverId']+':'+_0x561021[_0x504845(0x2a7,0x246,_0x39fca9._0x50fffe,0x2b2)]+':'+_0x3c623a));await _0x561021[_0x4aee2e(_0x39fca9._0x2894b7,0x8b,0x2bc,0x11f)][_0x4aee2e(0x2ed,0x4c1,0x299,0x440)]({'path':_0x3c623a,'version':nextFileVersion(_0x174049,_0x3c623a)});if(_0x33db8d)await _0x561021[_0x504845(_0x39fca9._0x3a0c9e,_0x39fca9._0xddaa15,_0x39fca9._0x38e93f,_0x39fca9._0x809c6f)]({'path':_0x3c623a});}));}async function _0x509a86(_0x5d6dc5){const _0x466d67={_0x52e270:0x104};await _0x417782(_0x5d6dc5['file'],![]);function _0x356be6(_0x483832,_0x4bf55d,_0xd21a61,_0xae9e78){return _0x5041(_0x4bf55d-_0x466d67._0x52e270,_0xd21a61);}return _0x2c16f2(_0x5d6dc5[_0x356be6(0x512,_0x36f59d._0x192a75,_0x36f59d._0x1fcadf,_0x36f59d._0x15e68a)],![]);}async function _0x55ef6d(_0x38cd91){const _0x505987={_0x592fb0:0x35e};function _0x22d30a(_0x5d4f90,_0x52eebb,_0x24c7eb,_0x4eeef7){return _0x5041(_0x52eebb-0x176,_0x5d4f90);}function _0x4f6cab(_0x1bb8b5,_0x12f465,_0x2f685d,_0x35524c){return _0x5041(_0x35524c- -_0x505987._0x592fb0,_0x2f685d);}const _0x205ef6=await _0x509a86(_0x38cd91);return collectClientResults(_0x205ef6[_0x4f6cab(-_0x521822._0x1b43dd,-_0x521822._0x21b50d,0x179,_0x521822._0x2ccc78)](_0x2d5b0e=>_0x2d5b0e[_0x4f6cab(0x91,-0x7f,-0x1bb,-0x36)][_0x4f6cab(-0x19,-0x103,0x9e,-0xa)](_0x38cd91)));}return{'isEnabled':_0x528cd7,async 'hasClients'(_0x394e6c){return(await _0x2c16f2(_0x394e6c,![]))['length']>0x0||getServersForFile(_0x394e6c)['length']>0x0;},'touchFile':_0x417782,async 'diagnostics'(){const _0x49b9f2={};function _0x34823c(_0x5f05cb,_0x1a7147,_0x36b392,_0x426880){return _0x5041(_0x5f05cb- -0x373,_0x36b392);}function _0x3b8120(_0x32576a,_0x2fb5d7,_0x7dc84a,_0x4692f2){return _0x5041(_0x4692f2-0x2cf,_0x7dc84a);}for(const _0x3786f6 of _0x174049[_0x3b8120(0x464,_0x137873._0x371c23,0x59d,0x527)]){for(const [_0x51d7e5,_0x2c1f0b]of _0x3786f6[_0x34823c(-_0x137873._0x186140,-_0x137873._0x2b8e56,-_0x137873._0x3a17f0,-0x214)]){_0x49b9f2[diagnosticsKeyToPath(_0x51d7e5)]=_0x2c1f0b;}}return _0x49b9f2;},async 'diagnosticsForFile'(_0x7cbc52){await _0x417782(_0x7cbc52,!![]);function _0x539568(_0x5d2085,_0x523eec,_0x9a1b38,_0x50e3c5){return _0x5041(_0x5d2085- -0x337,_0x50e3c5);}const _0x355ff1=[];function _0x4f5931(_0x105916,_0xce7f8e,_0x5babc9,_0x276cb3){return _0x5041(_0x276cb3-0x0,_0x105916);}for(const _0x95cb79 of await _0x2c16f2(_0x7cbc52,![])){for(const [_0x8802a9,_0x363c69]of _0x95cb79[_0x4f5931(_0x3df7cc._0x3695a2,0x1d4,_0x3df7cc._0x4e3200,_0x3df7cc._0x4c52a7)]){if(diagnosticsKeyToPath(_0x8802a9)===_0x7cbc52)_0x355ff1[_0x539568(0xa,-_0x3df7cc._0x1faaba,_0x3df7cc._0x4c0c90,0x36)](..._0x363c69);}}return _0x355ff1;},async 'definition'(_0x49d8e3){function _0x55ace9(_0x3d2a3a,_0x25fc3f,_0x515bdf,_0x4ace56){return _0x5041(_0x3d2a3a- -0x54,_0x515bdf);}function _0x40d27b(_0x1d27e4,_0x5abf35,_0x163bcf,_0x338253){return _0x5041(_0x338253- -_0x39e73c._0x2a77e3,_0x1d27e4);}return collectClientResults((await _0x509a86(_0x49d8e3))[_0x40d27b(_0x4fe45._0x41eba3,-0x5c,0x28b,0x173)](_0x8d941c=>_0x8d941c['request'][_0x40d27b(0x2c7,0x16,0x75,0x198)](_0x49d8e3)));},async 'references'(_0x6f9690){function _0x122009(_0x44fd76,_0x1d0b0f,_0x34ee28,_0x426005){return _0x5041(_0x1d0b0f-0xd8,_0x44fd76);}return collectClientResults((await _0x509a86(_0x6f9690))[_0x122009(_0x316f49._0x389dba,0x4ac,_0x316f49._0x3056ba,_0x316f49._0x649b0f)](_0x334e08=>_0x334e08['request']['references'](_0x6f9690)));},async 'hover'(_0x2b51c7){function _0x4f5772(_0x5d0428,_0x128199,_0x5c7701,_0x144b29){return _0x5041(_0x144b29- -0x233,_0x5c7701);}function _0x203684(_0x2b0f1f,_0x28918f,_0x13dae1,_0x56e353){return _0x5041(_0x13dae1- -_0x9c892f._0x27d32a,_0x2b0f1f);}const _0x515865=await Promise[_0x203684(_0x299e72._0x20a588,-0x4f,_0x299e72._0x1d8f5f,_0x299e72._0x43d248)]((await _0x509a86(_0x2b51c7))[_0x4f5772(0x19c,_0x299e72._0x537650,_0x299e72._0x23c286,_0x299e72._0x596cfd)](_0x35d575=>_0x35d575[_0x203684(0xd4,0x3fd,0x26d,0x1e3)][_0x4f5772(-0xb,0x1e9,0xfd,0x13c)](_0x2b51c7)));return _0x515865[_0x4f5772(-_0x299e72._0x2532d2,_0x299e72._0x8384b3,-_0x299e72._0x2f0349,-0x7c)](_0x381d5d=>_0x381d5d[_0x4f5772(0x29d,0x2f0,0x230,0x182)]===_0x203684(-0x4a,-0x18,0xeb,0x138)&&_0x381d5d[_0x203684(0x1ca,-0x131,0x70,0x5d)]?[_0x381d5d[_0x203684(-0x84,0x36,0x70,0x14d)]]:[]);},async 'documentSymbol'(_0x362c88){const _0x9e5d9d={_0x115187:0x2cd};function _0x3b52a3(_0x41af71,_0xb48089,_0x4d8e2d,_0x6cd4c2){return _0x5041(_0x4d8e2d- -_0x9e5d9d._0x115187,_0xb48089);}return await _0x417782(_0x362c88,![]),collectClientResults((await _0x2c16f2(_0x362c88,![]))['map'](_0x2a1eb5=>_0x2a1eb5[_0x3b52a3(0x225,0x2e,0x5b,-0x158)]['documentSymbol'](_0x362c88)));},async 'workspaceSymbol'(_0x41e2e7){function _0x163e9a(_0x3263bd,_0x16fd1d,_0x2bca69,_0x10d419){return _0x5041(_0x10d419- -_0x5c93e0._0x4a8260,_0x3263bd);}function _0x3835f6(_0x50645f,_0x3422ee,_0x1f8ab5,_0x25970a){return _0x5041(_0x50645f-0x26e,_0x1f8ab5);}return collectClientResults(_0x174049[_0x163e9a(-0x302,-0xe2,-_0xc07729._0xdea1d3,-0x18d)][_0x163e9a(_0xc07729._0x27e875,-0x3a,-_0xc07729._0x3c0984,-0x11)](_0x3d88b4=>_0x3d88b4['request']['workspaceSymbol'](_0x41e2e7)));},async 'implementation'(_0x5d40f9){const _0x20dbe9={_0x5e3b91:0x121};function _0x81ae00(_0x1cff63,_0x73cdeb,_0x40aba3,_0x5de5a0){return _0x5041(_0x40aba3-0x30a,_0x73cdeb);}function _0x1d6cda(_0x130ba3,_0x3061a4,_0x101eaf,_0x2e29a8){return _0x5041(_0x130ba3-_0x20dbe9._0x5e3b91,_0x3061a4);}return collectClientResults((await _0x509a86(_0x5d40f9))[_0x1d6cda(_0x36070a._0x5a2d56,_0x36070a._0x592446,_0x36070a._0x537bd2,0x504)](_0x528646=>_0x528646['request'][_0x81ae00(0x3f8,0x2e3,0x445,0x42b)](_0x5d40f9)));},async 'prepareCallHierarchy'(_0x52fa97){return _0x55ef6d(_0x52fa97);},async 'incomingCalls'(_0x3fe15c){function _0x6af23d(_0x4b8131,_0x2be265,_0x807f52,_0x2f58d6){return _0x5041(_0x4b8131-0x118,_0x807f52);}function _0x49ad7c(_0x3dc361,_0x3cc1d8,_0x560841,_0x3033bc){return _0x5041(_0x560841- -_0x107ab6._0x2c4dc8,_0x3dc361);}const _0x1fdbb9=await _0x55ef6d(_0x3fe15c),_0x24919d=await _0x509a86(_0x3fe15c);return collectClientResults(_0x24919d[_0x6af23d(_0xc91f60._0x1298e0,_0xc91f60._0x9f46e,0x49c,0x364)](_0x4ac7a0=>_0x1fdbb9[_0x6af23d(0x4ec,0x614,0x6a9,0x36c)](_0x5f0de3=>_0x4ac7a0['request']['incomingCalls'](_0x5f0de3))));},async 'outgoingCalls'(_0x3eb9c9){function _0x12270f(_0x8a3ff4,_0x54ac04,_0x53f0b8,_0x39b9f0){return _0x5041(_0x8a3ff4- -0x319,_0x39b9f0);}function _0x2be94(_0x6da435,_0x94234e,_0x1623bb,_0x45f058){return _0x5041(_0x94234e- -0x2,_0x1623bb);}const _0x5c2fde=await _0x55ef6d(_0x3eb9c9),_0x4f7491=await _0x509a86(_0x3eb9c9);return collectClientResults(_0x4f7491['flatMap'](_0xb36f19=>_0x5c2fde[_0x12270f(0xbb,0xd6,0x20d,0x70)](_0x451444=>_0xb36f19['request'][_0x2be94(0xcf,0x198,0x1c5,0x124)](_0x451444))));},async 'shutdown'(){const _0x40c4ce={_0x484b45:0x70};if(_0x174049[_0x4d5285(-_0x413a39._0x4b4344,_0x413a39._0x20a7fe,-0x152,-_0x413a39._0x17ea37)])return;_0x174049[_0x4d5285(-_0x413a39._0x3fa5a7,-0x3d,-0x99,-_0x413a39._0x17ea37)]=!![],await Promise[_0x4d5285(0x121,_0x413a39._0x417dfb,-0x152,_0x413a39._0x4f4127)](_0x174049[_0x318ae7(0x3a4,_0x413a39._0x52ba1a,0x2b7,_0x413a39._0xa8b2a4)]['map'](_0x4305f5=>_0x4305f5[_0x4d5285(0xe0,-0xb4,-0x67,0x7f)]()));function _0x4d5285(_0x4190ed,_0x2dda33,_0x287ef1,_0xf4d687){return _0x5041(_0xf4d687- -0x200,_0x2dda33);}_0x174049[_0x318ae7(_0x413a39._0x315716,0x392,0x2a6,_0x413a39._0x55c8c3)]=[],_0x174049[_0x4d5285(-0x54,0x173,_0x413a39._0x5df3ec,0x16c)][_0x4d5285(-0x177,_0x413a39._0xccf110,_0x413a39._0x1d4a7e,-_0x413a39._0x178909)](),_0x174049[_0x318ae7(_0x413a39._0x167c51,_0x413a39._0x21fb9d,0x289,_0x413a39._0x508842)][_0x318ae7(0x33e,0x2fe,0x225,_0x413a39._0x4a1b86)](),_0x174049[_0x318ae7(_0x413a39._0x5505e5,_0x413a39._0x145c40,_0x413a39._0x38a5a8,_0x413a39._0x18c7df)][_0x318ae7(0x38a,0x2a0,0xf6,0x26e)]();function _0x318ae7(_0x47f4cc,_0xaa3f0b,_0x2c2f16,_0x2db1ff){return _0x5041(_0x2db1ff-_0x40c4ce._0x484b45,_0x2c2f16);}_0x174049[_0x4d5285(-0xc7,-0x235,_0x413a39._0x1d291f,-0x91)][_0x318ae7(_0x413a39._0x24de1c,_0x413a39._0x362f11,0x2d9,0x26e)]();},'status'(){function _0x2af14a(_0x559bb9,_0x279656,_0x3cce62,_0x465f4c){return _0x5041(_0x3cce62- -0x330,_0x559bb9);}return{'connectedClients':_0x174049[_0x2af14a(-_0x5d41d1._0x186769,-0x1c9,-_0x5d41d1._0x5b6211,-0x123)]['length']};}};}function createQuestionId(){const _0xcc99c5={_0x40f216:0x11e,_0x59069a:0x27,_0x2b8015:0x2a,_0x169b80:0x430,_0x241ad3:0x718,_0x100142:0x31b,_0x3489db:0xaf,_0x4fd6c6:0x7b,_0x213f11:0xf5,_0x298e3f:0xc7},_0x8bc2d9={_0x2993d1:0x4d},_0x42fa4b={_0x3cab32:0xb6,_0xe39476:0x10e};function _0x1a4ad7(_0x16a5ab,_0x1b15dd,_0x31319d,_0x450dce){return _0x151cc1(_0x16a5ab-_0x42fa4b._0x3cab32,_0x450dce-0x1dc,_0x16a5ab,_0x450dce-_0x42fa4b._0xe39476);}function _0xf2df04(_0x58ea9d,_0x2face7,_0x391ad8,_0x49525d){return _0x1ac42a(_0x58ea9d-_0x8bc2d9._0x2993d1,_0x2face7-0x97,_0x58ea9d-0x7f,_0x49525d);}return _0xf2df04(0xec,_0xcc99c5._0x40f216,_0xcc99c5._0x59069a,-_0xcc99c5._0x2b8015)+Date[_0x1a4ad7(_0xcc99c5._0x169b80,0x716,_0xcc99c5._0x241ad3,0x5b2)]()+'-'+Math[_0xf2df04(0x1da,0x26,_0xcc99c5._0x100142,0x2df)]()[_0xf2df04(-_0xcc99c5._0x3489db,_0xcc99c5._0x4fd6c6,_0xcc99c5._0x213f11,-_0xcc99c5._0x298e3f)](0x24)['slice'](0x2,0x9);}function validateInput(_0x380aea){const _0x2e8bf0={_0x28bed0:0x555,_0x81206:0x4b3,_0x20bcb6:0x2f,_0x170fe8:0x17d,_0x3faeaf:0x2ed,_0x216c2f:0xa2,_0x21db3f:0x21d,_0x3fbbb3:0xc8,_0x237afc:0x13a,_0x4182fa:0x1cf,_0x2a6b7c:0x105,_0x396e82:0x8d,_0x57e1a5:0x1d4,_0x5bec63:0x53b,_0x19c0af:0x1f4,_0x239f8e:0x304,_0x493953:0x1e7,_0x33edb2:0x31a,_0x47c627:0x3de,_0x5200be:0x3a3,_0x56425a:0xd3,_0x42df54:0x2a,_0x551413:0xb3,_0x3767c2:0x172,_0x42769b:0xd9,_0x21b4a5:0x14d,_0x4b3167:0x3f,_0x37e895:0x73,_0x439016:0x2b7,_0x5bd4d9:0x4d,_0x4965e4:0x28,_0x1428f5:0x77,_0x305db0:0xb1,_0xb1bcb6:0x5d4,_0x31a42d:0x765,_0x4fa294:0x741,_0x240182:0xc6,_0x2878e9:0x9a,_0x59718d:0x5d4,_0x3a3be2:0x5db,_0xd91ca4:0x15b,_0x2267d6:0x99,_0x9dca94:0x798,_0x4b4fee:0x563,_0x5d12ff:0x6d5,_0x5aa717:0x145,_0xa9c0b9:0x4a4,_0x4a38c8:0x635,_0x41bd79:0x484,_0x4061db:0x2a6,_0x182f0e:0x44e,_0x2659ce:0x428,_0x4a2221:0x379,_0x567563:0x369,_0x2d1e08:0x37f,_0x123e51:0x284,_0x321860:0x2c1,_0x1f0aef:0x13},_0x10012a={_0x3efcd9:0x50,_0x43ec46:0xdf};function _0x5f1283(_0x3e9c89,_0x42720f,_0x4f6aad,_0x59ce58){return _0x151cc1(_0x3e9c89-_0x10012a._0x3efcd9,_0x59ce58- -0x269,_0x42720f,_0x59ce58-_0x10012a._0x43ec46);}function _0x40a6f1(_0x6beb80,_0xdb357e,_0x41112e,_0x3a5c1e){return _0x151cc1(_0x6beb80-0x1c7,_0x6beb80-0x14e,_0x3a5c1e,_0x3a5c1e-0x1ad);}if(!Array[_0x40a6f1(0x3a2,_0x2e8bf0._0x28bed0,0x48f,_0x2e8bf0._0x81206)](_0x380aea[_0x5f1283(_0x2e8bf0._0x20bcb6,0x2b4,0x245,_0x2e8bf0._0x170fe8)])||_0x380aea[_0x5f1283(0x216,_0x2e8bf0._0x3faeaf,0x24,_0x2e8bf0._0x170fe8)][_0x5f1283(_0x2e8bf0._0x216c2f,0x3bd,0x233,_0x2e8bf0._0x21db3f)]<0x1||_0x380aea[_0x40a6f1(0x534,0x60d,_0x2e8bf0._0x81206,0x64a)]['length']>0xa)throw new ToolExecutionError(_0x5f1283(0x30c,_0x2e8bf0._0x3fbbb3,_0x2e8bf0._0x237afc,_0x2e8bf0._0x4182fa),{'error':_0x5f1283(_0x2e8bf0._0x2a6b7c,0x188,0x22c,_0x2e8bf0._0x396e82)});for(let _0x4d2ca0=0x0;_0x4d2ca0<_0x380aea[_0x5f1283(-0x4e,0x2cd,_0x2e8bf0._0x57e1a5,_0x2e8bf0._0x170fe8)][_0x40a6f1(0x5d4,_0x2e8bf0._0x5bec63,0x59f,0x41b)];_0x4d2ca0+=0x1){const _0x3b892e=_0x380aea['questions'][_0x4d2ca0];if(!_0x3b892e[_0x5f1283(_0x2e8bf0._0x19c0af,0x26b,0xa6,0x152)]||typeof _0x3b892e[_0x40a6f1(0x509,0x42b,0x6b6,0x48c)]!==_0x40a6f1(_0x2e8bf0._0x239f8e,_0x2e8bf0._0x493953,_0x2e8bf0._0x33edb2,0x3b9))throw new ToolExecutionError('Question\x20'+(_0x4d2ca0+0x1)+':\x20\x22question\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(!_0x3b892e[_0x40a6f1(_0x2e8bf0._0x47c627,0x3a8,0x4c3,0x57f)]||typeof _0x3b892e[_0x40a6f1(0x3de,_0x2e8bf0._0x5200be,0x468,0x54f)]!==_0x5f1283(_0x2e8bf0._0x56425a,-0x1cd,-_0x2e8bf0._0x42df54,-_0x2e8bf0._0x551413))throw new ToolExecutionError(_0x5f1283(_0x2e8bf0._0x3767c2,_0x2e8bf0._0x42769b,-_0x2e8bf0._0x21b4a5,_0x2e8bf0._0x4b3167)+(_0x4d2ca0+0x1)+_0x5f1283(_0x2e8bf0._0x37e895,_0x2e8bf0._0x439016,0x182,0x1d4));if(_0x3b892e[_0x5f1283(-0xe2,-_0x2e8bf0._0x5bd4d9,-_0x2e8bf0._0x170fe8,0x27)]['length']>0x1e)throw new ToolExecutionError(_0x5f1283(-_0x2e8bf0._0x4965e4,0x105,0xe1,_0x2e8bf0._0x4b3167)+(_0x4d2ca0+0x1)+_0x40a6f1(0x5f8,0x7a6,0x5bd,0x6cb)+_0x3b892e[_0x5f1283(_0x2e8bf0._0x1428f5,-_0x2e8bf0._0x305db0,0xcf,0x27)][_0x40a6f1(_0x2e8bf0._0xb1bcb6,0x50d,_0x2e8bf0._0x31a42d,_0x2e8bf0._0x4fa294)]);if(!Array['isArray'](_0x3b892e['options'])||_0x3b892e[_0x5f1283(-0x23,-_0x2e8bf0._0x240182,0x11a,_0x2e8bf0._0x2878e9)][_0x40a6f1(_0x2e8bf0._0x59718d,_0x2e8bf0._0x3a3be2,0x78a,0x476)]<0x2||_0x3b892e[_0x5f1283(_0x2e8bf0._0xd91ca4,-_0x2e8bf0._0x396e82,-_0x2e8bf0._0x2267d6,0x9a)][_0x40a6f1(0x5d4,_0x2e8bf0._0x9dca94,_0x2e8bf0._0x4b4fee,_0x2e8bf0._0x5d12ff)]>0x4)throw new ToolExecutionError(_0x5f1283(0x145,-0x82,-_0x2e8bf0._0x5aa717,_0x2e8bf0._0x4b3167)+(_0x4d2ca0+0x1)+_0x40a6f1(_0x2e8bf0._0xa9c0b9,_0x2e8bf0._0x4a38c8,0x304,_0x2e8bf0._0x41bd79));for(let _0x295c13=0x0;_0x295c13<_0x3b892e[_0x40a6f1(0x451,_0x2e8bf0._0x4061db,0x2da,_0x2e8bf0._0x182f0e)][_0x40a6f1(0x5d4,0x6c2,0x4c7,_0x2e8bf0._0x2659ce)];_0x295c13+=0x1){const _0x3aa2dc=_0x3b892e[_0x5f1283(-0x1c,0x187,0xc0,_0x2e8bf0._0x2878e9)][_0x295c13];if(!_0x3aa2dc[_0x40a6f1(_0x2e8bf0._0x4a2221,0x27a,_0x2e8bf0._0x4061db,0x461)]||!_0x3aa2dc['description'])throw new ToolExecutionError('Question\x20'+(_0x4d2ca0+0x1)+_0x5f1283(0x1c0,_0x2e8bf0._0x567563,_0x2e8bf0._0x2d1e08,_0x2e8bf0._0x123e51)+(_0x295c13+0x1)+_0x5f1283(0x1d,_0x2e8bf0._0x321860,-_0x2e8bf0._0x1f0aef,0x10d));}if(typeof _0x3b892e['multiSelect']!=='boolean')throw new ToolExecutionError(_0x40a6f1(0x3f6,0x425,0x310,0x273)+(_0x4d2ca0+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0xe7a61f){const _0x43ef21={_0x850cb0:0xc7},_0x47bb63={_0x4df710:0x202};function _0x430095(_0x2332b3,_0x371cb9,_0x4d9ab5,_0x2cc32b){return _0x1ac42a(_0x2332b3-0xc6,_0x371cb9-0x95,_0x2cc32b-0x65d,_0x371cb9);}function _0xdb8e6b(_0x255d0c,_0x3a883f,_0xaf3e3e,_0x575141){return _0x1ac42a(_0x255d0c-0x176,_0x3a883f-0x132,_0x255d0c-_0x47bb63._0x4df710,_0xaf3e3e);}return _0xe7a61f[_0xdb8e6b(0x26b,0x3d1,0x12c,_0x43ef21._0x850cb0)]['map']((_0xa6a54f,_0xbc413d)=>({'id':'q'+_0xbc413d,'question':_0xa6a54f[_0xdb8e6b(0x240,0x358,0x118,0x337)],'topic':_0xa6a54f['topic'],'options':_0xa6a54f['options'],'multiSelect':_0xa6a54f[_0x430095(0x726,0x6dc,0x755,0x659)]}));}function createResult(_0x143749,_0x2b8378,_0x4e68e3){const _0x5edefd={_0x1a58e1:0xa8},_0x1cdd6c={_0x1e90ab:0x1a1,_0x535985:0xa9};function _0x6a664c(_0x1a1681,_0x139fa7,_0x587cdb,_0x54a720){return _0x1ac42a(_0x1a1681-_0x1cdd6c._0x1e90ab,_0x139fa7-0x1,_0x1a1681-_0x1cdd6c._0x535985,_0x587cdb);}const _0x183c3f={'questionId':_0x143749,'questionCount':_0x2b8378,'answers':_0x4e68e3};return createToolOutput(_0x6a664c(0x1be,_0x5edefd._0x1a58e1,0x319,0xb2)+JSON['stringify'](_0x4e68e3,null,0x2),_0x183c3f);}function createAskUserTool(){const _0x50f7b5={_0x21cc97:0x61e,_0x4b05e7:0x6a,_0x3edb5e:0x163,_0x32796c:0x196,_0x1d06a0:0x188,_0x3f846b:0x5fe,_0x75eb0f:0x18f,_0x1c46c9:0x66a,_0x46ce36:0x573,_0x22e99c:0x3bc,_0x53586b:0x1d,_0x19d7e7:0xf4,_0x49b144:0xa0,_0x468d8f:0x6,_0xed55de:0x4e6,_0x3dcbd5:0x48f,_0x488fb6:0x631,_0x4a2585:0xbb,_0x2ec029:0x1f5,_0x39eb50:0x670,_0x587c9b:0x61f,_0x3b5a80:0x64a,_0x220947:0x5ee,_0x501134:0x515,_0x4a126e:0x195,_0x5eab7a:0x6a,_0x27553f:0xae},_0x359703={_0x484b56:0x66f,_0xc25525:0xe3,_0x544310:0xee,_0xa4387e:0x7c8,_0xcc2cac:0x644,_0x3615ed:0x411,_0x140748:0x229,_0x43fde7:0x63b,_0x251c03:0x54b,_0x243a29:0x5b6,_0x51439f:0x3c7,_0x379108:0x2f6,_0x477ed7:0x25a,_0x30b285:0x4e2,_0x2a636f:0x3f5,_0x1274fb:0x49c,_0x4ff269:0x3d1,_0x318de0:0x423,_0xd81823:0xcb,_0xc37568:0x1d3,_0x1fab9e:0x7e9,_0x4897be:0x4cc,_0x19f633:0x67d,_0x1458a4:0x1cb,_0x56b63a:0x22e},_0x51485e={_0x16b8d7:0xe,_0x492112:0x19},_0x21a4cd={_0x271b12:0x11b};function _0x272607(_0x448312,_0x2201f9,_0xbd325b,_0x15da36){return _0x151cc1(_0x448312-0x61,_0x2201f9-0x264,_0xbd325b,_0x15da36-0x40);}function _0x5838e6(_0x34d1c4,_0x1fa2a0,_0x2ac8f5,_0x32cb63){return _0x151cc1(_0x34d1c4-0x83,_0x34d1c4- -0x1d3,_0x1fa2a0,_0x32cb63-_0x21a4cd._0x271b12);}return defineTool({'name':'AskUserTool','permissionClass':'read','description':_0x272607(_0x50f7b5._0x21cc97,0x6f3,0x5b0,0x718),'inputSchema':{'type':_0x5838e6(-_0x50f7b5._0x4b05e7,_0x50f7b5._0x3edb5e,-_0x50f7b5._0x32796c,-_0x50f7b5._0x1d06a0),'properties':{'questions':{'type':_0x272607(0x745,0x66a,_0x50f7b5._0x3f846b,0x646),'items':{'type':'object','properties':{'question':{'type':'string'},'topic':{'type':_0x5838e6(-0x1d,_0x50f7b5._0x75eb0f,0x195,-0xa6)},'options':{'type':_0x272607(0x7d1,_0x50f7b5._0x1c46c9,0x66b,0x546),'items':{'type':_0x272607(0x4c5,0x3cd,_0x50f7b5._0x46ce36,_0x50f7b5._0x22e99c),'properties':{'label':{'type':_0x5838e6(-_0x50f7b5._0x53586b,-_0x50f7b5._0x19d7e7,-_0x50f7b5._0x49b144,0x176)},'description':{'type':_0x5838e6(-_0x50f7b5._0x53586b,-_0x50f7b5._0x3edb5e,_0x50f7b5._0x468d8f,-0x1e1)}},'required':[_0x272607(_0x50f7b5._0xed55de,_0x50f7b5._0x3dcbd5,0x2f7,_0x50f7b5._0x488fb6),_0x5838e6(_0x50f7b5._0x4a2585,0x48,-0x99,0xac)]}},'multiSelect':{'type':_0x5838e6(0x133,0x2f1,_0x50f7b5._0x2ec029,0x2f5)}},'required':[_0x272607(_0x50f7b5._0x39eb50,_0x50f7b5._0x587c9b,_0x50f7b5._0x3b5a80,0x67c),_0x272607(_0x50f7b5._0x220947,0x4f4,0x510,_0x50f7b5._0x501134),_0x5838e6(0x130,0x232,_0x50f7b5._0x4a126e,0x213),'multiSelect']}},'answers':{'type':_0x5838e6(-_0x50f7b5._0x5eab7a,0xea,_0x50f7b5._0x27553f,0x63),'properties':{}}},'required':['questions']},async *'execute'(_0x3582ac,_0x55f373){function _0x315815(_0x4503fe,_0x4cdec4,_0x1bfd83,_0x3b7fe0){return _0x5838e6(_0x4cdec4-0x34,_0x1bfd83,_0x1bfd83-0xef,_0x3b7fe0-0x1);}function _0x150c83(_0x4dd5a9,_0x5748f8,_0x11f972,_0x3a1bc3){return _0x272607(_0x4dd5a9-_0x51485e._0x16b8d7,_0x4dd5a9- -0xf,_0x5748f8,_0x3a1bc3-_0x51485e._0x492112);}const _0x2176f9=_0x3582ac;validateInput(_0x2176f9);const _0xd0f32e=_0x55f373[_0x150c83(0x5e0,0x795,_0x359703._0x484b56,0x71d)]??createQuestionId();if(_0x2176f9[_0x315815(_0x359703._0xc25525,_0x359703._0x544310,-0x43,0x280)]&&Object[_0x150c83(0x609,0x582,_0x359703._0xa4387e,_0x359703._0xcc2cac)](_0x2176f9['answers'])[_0x315815(0x1d4,0x2e7,_0x359703._0x3615ed,_0x359703._0x140748)]>0x0)return createResult(_0xd0f32e,_0x2176f9[_0x150c83(_0x359703._0x43fde7,0x510,_0x359703._0x251c03,_0x359703._0x243a29)][_0x315815(_0x359703._0x51439f,0x2e7,_0x359703._0x379108,_0x359703._0x477ed7)],_0x2176f9[_0x150c83(_0x359703._0x30b285,_0x359703._0x2a636f,_0x359703._0x1274fb,0x5bd)]);if(!_0x55f373[_0x315815(_0x359703._0x4ff269,0x2b1,0x3dd,_0x359703._0x318de0)])throw new ToolExecutionError(_0x315815(0x1c1,_0x359703._0xd81823,0xca,_0x359703._0xc37568));const _0x4c0854=buildQuestions(_0x2176f9),_0x289558=await _0x55f373['askUser']({'questionId':_0xd0f32e,'questions':_0x4c0854});yield createResult(_0xd0f32e,_0x2176f9[_0x150c83(0x63b,_0x359703._0x1fab9e,_0x359703._0x4897be,_0x359703._0x19f633)][_0x315815(_0x359703._0x1458a4,0x2e7,_0x359703._0x56b63a,0x37d)],_0x289558);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x1b4331}from'child_process';function errorMessage(_0x493365){const _0x31b9ac={_0x30327d:0x12f};function _0x4f2404(_0x4d594e,_0x1edbe3,_0x274d7f,_0xb581bd){return _0x1ac42a(_0x4d594e-0x7b,_0x1edbe3-_0x31b9ac._0x30327d,_0x1edbe3-0x1c2,_0x4d594e);}return _0x493365 instanceof Error?_0x493365[_0x4f2404(0x394,0x2d3,0x421,0x13d)]:String(_0x493365);}function isNotFound(_0x1eb75e){const _0x44506f={_0x12ca58:0x19d,_0x369e97:0x180,_0x4b6782:0x61e,_0x338f96:0x70a,_0x1ddfa4:0x677,_0x2d09ae:0x336,_0x18cc34:0x346,_0x30461b:0x5ff,_0x2eb848:0x4c0},_0x45ba4f={_0x1a61cd:0x73},_0x1fcb3f={_0x399223:0xb8,_0x5587b8:0x237};function _0x414a97(_0x2db3ca,_0x31d7c3,_0x1d44ad,_0x3793cd){return _0x1ac42a(_0x2db3ca-0x1b2,_0x31d7c3-_0x1fcb3f._0x399223,_0x31d7c3-_0x1fcb3f._0x5587b8,_0x3793cd);}function _0x11c3bb(_0x57c4bd,_0x455eb2,_0x320e22,_0x51dd9){return _0x151cc1(_0x57c4bd-0x5,_0x320e22-0x1fb,_0x455eb2,_0x51dd9-_0x45ba4f._0x1a61cd);}return typeof _0x1eb75e===_0x414a97(_0x44506f._0x12ca58,0x23,0xcb,-_0x44506f._0x369e97)&&_0x1eb75e!==null&&_0x11c3bb(_0x44506f._0x4b6782,_0x44506f._0x338f96,_0x44506f._0x1ddfa4,0x653)in _0x1eb75e&&_0x1eb75e[_0x414a97(0x1e5,_0x44506f._0x2d09ae,0x25c,_0x44506f._0x18cc34)]===_0x11c3bb(0x5a8,_0x44506f._0x30461b,_0x44506f._0x2eb848,0x57c);}function isSafeProcessId(_0x128b29){const _0x20012b={_0x292df3:0x3f8,_0x42e26f:0x3e0},_0x880aab={_0x3f9043:0xbe,_0x4aca7a:0x275};function _0x298676(_0x3b1a25,_0x2410f3,_0xc305a3,_0x1378f0){return _0x1ac42a(_0x3b1a25-_0x880aab._0x3f9043,_0x2410f3-0x1cb,_0xc305a3-_0x880aab._0x4aca7a,_0x3b1a25);}return _0x128b29!==void 0x0&&Number[_0x298676(_0x20012b._0x292df3,0x549,_0x20012b._0x42e26f,0x327)](_0x128b29)&&_0x128b29>0x1;}function createProcessTreeSignalAdapter(_0x526f26={}){const _0x8303b4={_0x284b98:0x536,_0x13a10d:0x644,_0x3d476a:0x501,_0xa4c473:0x61c,_0x574430:0x540,_0x43d792:0x4ee,_0x3efc2f:0x54e},_0x32271a={_0x1f145c:0x51f,_0x2bd4c0:0x67d,_0x5538bd:0x215,_0x45de1c:0x37f,_0x473e55:0x4a1,_0x46b6e6:0x3b9,_0x2824ad:0x21b,_0x4f256c:0x1fb,_0x325351:0x85,_0x265c7d:0x122,_0x2ccae1:0x652,_0x147962:0x5c6,_0x2ee7cb:0x550,_0x4f25d1:0x592,_0x35ddf0:0x515,_0x45775c:0x4f0,_0x1d61ee:0x4aa,_0x362050:0x3ad,_0x440b35:0x699,_0x439da7:0x467,_0x432d4f:0x26b,_0x291590:0x295},_0x55be18={_0x35caf1:0x20f,_0x1d0ffb:0x302,_0x5828a4:0x260,_0x49e014:0x106,_0x675d9e:0x22b,_0x27d882:0x23a,_0xfe2047:0x4e0,_0x1a188e:0x696,_0x579abf:0x67a,_0x1e8e01:0x396,_0x18d51f:0x397,_0x1a29af:0x575,_0xcc26a9:0x610},_0x552cf3={_0x4c768d:0x5b5},_0x459fb8={_0x23a6fa:0xb2},_0x37ac51=_0x526f26[_0x459a91(0x5b5,_0x8303b4._0x284b98,0x3c0,_0x8303b4._0x13a10d)]??process[_0x1dc9f2(0x4fd,_0x8303b4._0x3d476a,_0x8303b4._0xa4c473,_0x8303b4._0x574430)];function _0x1dc9f2(_0x2265d6,_0x161a64,_0xd61344,_0x1a9e06){return _0x1ac42a(_0x2265d6-_0x459fb8._0x23a6fa,_0x161a64-0x1b,_0x161a64-0x580,_0xd61344);}const _0x28bbd9=_0x526f26['kill']??process['kill'][_0x459a91(0x1fc,0x3c4,0x311,_0x8303b4._0x43d792)](process);function _0x459a91(_0x1cc1bb,_0xf1202,_0xeddde2,_0x193235){return _0x1ac42a(_0x1cc1bb-0x186,_0xf1202-0x9c,_0xf1202-_0x552cf3._0x4c768d,_0xeddde2);}const _0xc2eea6=_0x526f26[_0x459a91(0x4d5,0x661,_0x8303b4._0x3efc2f,0x6b5)]??_0x1b4331;return{async 'signal'(_0x30a70f,_0x592661){const _0x32a239={_0x734d01:0x3e1,_0x399502:0x59e,_0x2cb812:0x323,_0x408d36:0x3e7,_0x4c5610:0x806},_0x4a50d4={_0x5469a3:0x2b3},_0x109c13={_0x5c334e:0xea},_0x4db8ad={_0x4bc07d:0x96,_0x4ecd66:0x35f};if(_0x37ac51!==_0x4bfde0(_0x32271a._0x1f145c,_0x32271a._0x2bd4c0,0x414,0x36f)){if(!isSafeProcessId(_0x30a70f['processGroupId']))return{'outcome':_0x275425(0x24a,_0x32271a._0x5538bd,_0x32271a._0x45de1c,_0x32271a._0x473e55),'error':_0x275425(0x4bf,0x221,_0x32271a._0x46b6e6,0x214)};try{return _0x28bbd9(-_0x30a70f[_0x275425(_0x32271a._0x2824ad,0x17d,_0x32271a._0x4f256c,_0x32271a._0x325351)],_0x592661===_0x275425(0x16f,0x159,0x1b3,_0x32271a._0x265c7d)?_0x4bfde0(_0x32271a._0x2ccae1,_0x32271a._0x147962,_0x32271a._0x2ee7cb,0x633):_0x4bfde0(_0x32271a._0x4f25d1,_0x32271a._0x35ddf0,_0x32271a._0x45775c,0x62b)),{'outcome':_0x4bfde0(_0x32271a._0x1d61ee,0x4c7,_0x32271a._0x362050,0x592)};}catch(_0xe95236){return isNotFound(_0xe95236)?{'outcome':_0x4bfde0(0x5e9,_0x32271a._0x440b35,0x69e,0x5fa),'error':errorMessage(_0xe95236)}:{'outcome':_0x275425(0x1e4,_0x32271a._0x439da7,0x37f,0x23f),'error':errorMessage(_0xe95236)};}}function _0x275425(_0x1c3268,_0x5cd29d,_0x2c0bb0,_0x1814df){return _0x459a91(_0x1c3268-_0x4db8ad._0x4bc07d,_0x2c0bb0- -_0x4db8ad._0x4ecd66,_0x5cd29d,_0x1814df-0x195);}if(!isSafeProcessId(_0x30a70f[_0x275425(0x1d4,0x32f,_0x32271a._0x432d4f,_0x32271a._0x291590)]))return{'outcome':'failed','error':'Unsafe\x20or\x20missing\x20Windows\x20root\x20pid'};function _0x4bfde0(_0x18d25f,_0x292272,_0xa86260,_0xd7cabb){return _0x1dc9f2(_0x18d25f-0xf9,_0x18d25f-_0x109c13._0x5c334e,_0xd7cabb,_0xd7cabb-0x1f4);}return new Promise(_0x46b69c=>{const _0x5569bd={_0x5898ed:0x188,_0x57fa4d:0x1b,_0x5916b1:0x153,_0x4831da:0x2c5},_0x4a8a21={_0x89583a:0x5c,_0x14ccf6:0x96};let _0x164d33=![];const _0x2f0bb7=_0x471cea=>{if(_0x164d33)return;_0x164d33=!![],_0x46b69c(_0x471cea);};let _0xe55a76;function _0x43fda7(_0xb741d9,_0x8bbeac,_0x3c1a18,_0x3dd9cf){return _0x275425(_0xb741d9-0x1b8,_0x3dd9cf,_0xb741d9- -_0x4a8a21._0x89583a,_0x3dd9cf-_0x4a8a21._0x14ccf6);}function _0x134831(_0x7268bd,_0x32ad9d,_0x5a1815,_0x476dd8){return _0x4bfde0(_0x7268bd- -_0x4a50d4._0x5469a3,_0x32ad9d-0x1b5,_0x5a1815-0x10d,_0x476dd8);}try{const _0x252ca5=['/PID',String(_0x30a70f[_0x43fda7(_0x55be18._0x35caf1,_0x55be18._0x1d0ffb,0x11c,_0x55be18._0x5828a4)]),'/T'];if(_0x592661===_0x43fda7(0x272,_0x55be18._0x49e014,0xc3,0x22b))_0x252ca5['push']('/F');_0xe55a76=_0xc2eea6(_0x134831(0x4c5,0x4ae,0x57d,0x4c8),_0x252ca5,{'stdio':_0x134831(_0x55be18._0x675d9e,0x31a,_0x55be18._0x27d882,0x182),'windowsHide':!![]});}catch(_0xd66648){_0x2f0bb7({'outcome':_0x134831(_0x55be18._0xfe2047,_0x55be18._0x1a188e,_0x55be18._0x579abf,0x36c),'error':errorMessage(_0xd66648)});return;}_0xe55a76[_0x43fda7(0x2af,_0x55be18._0x1e8e01,_0x55be18._0x18d51f,0x10e)]('error',_0x4a87ff=>{const _0x2d9eb2={_0x353809:0x268};function _0x3f5a10(_0x1eaece,_0x4a7307,_0x256e4e,_0x35ba5a){return _0x134831(_0x256e4e-0x326,_0x4a7307-0x4f,_0x256e4e-0xbb,_0x4a7307);}function _0x5969c0(_0x18ca89,_0x106722,_0x55925e,_0x58a22d){return _0x43fda7(_0x18ca89-_0x2d9eb2._0x353809,_0x106722-0x60,_0x55925e-0x79,_0x106722);}_0x2f0bb7(isNotFound(_0x4a87ff)?{'outcome':_0x5969c0(_0x32a239._0x734d01,_0x32a239._0x399502,_0x32a239._0x2cb812,_0x32a239._0x408d36),'error':errorMessage(_0x4a87ff)}:{'outcome':_0x3f5a10(0x8e9,0x8c7,_0x32a239._0x4c5610,0x8e1),'error':errorMessage(_0x4a87ff)});}),_0xe55a76[_0x134831(0x46c,0x35a,_0x55be18._0x1a29af,0x38b)](_0x134831(0x4f6,_0x55be18._0xcc26a9,0x397,0x452),_0x22f41a=>{const _0x4a2c1d={_0x2a28b0:0x38d,_0x3e8dff:0x1d2},_0x58d09f={_0x1f3d12:0x9f};function _0x110ab8(_0x5639e7,_0x1861e5,_0x5212ca,_0x170984){return _0x43fda7(_0x1861e5- -0x208,_0x1861e5-0x1f2,_0x5212ca-_0x58d09f._0x1f3d12,_0x5212ca);}function _0x2853ea(_0x4347f0,_0x505a4c,_0x220610,_0x1707b5){return _0x134831(_0x4347f0- -_0x4a2c1d._0x2a28b0,_0x505a4c-_0x4a2c1d._0x3e8dff,_0x220610-0x6e,_0x220610);}_0x2f0bb7(_0x22f41a===0x0?{'outcome':_0x110ab8(-_0x5569bd._0x5898ed,-0x1ce,-0x31d,-_0x5569bd._0x57fa4d)}:{'outcome':_0x2853ea(_0x5569bd._0x5916b1,-0x2d,_0x5569bd._0x4831da,0xa5),'error':_0x2853ea(-0xd7,-0x171,-0x2d,0x39)+String(_0x22f41a)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x4234c7){const _0x90b330={_0x3fe1a6:0x9,_0x3258a5:0x9a},_0x1b7e80={_0x456d66:0x10f,_0x4fa6e2:0x406};function _0x22ff49(_0x2ee9d4,_0x12d78d,_0x46528d,_0x588968){return _0x151cc1(_0x2ee9d4-_0x1b7e80._0x456d66,_0x2ee9d4- -_0x1b7e80._0x4fa6e2,_0x12d78d,_0x588968-0x1c5);}const _0x526e7c=_0x4234c7[_0x22ff49(-_0x90b330._0x3fe1a6,-_0x90b330._0x3258a5,0x134,-0x41)](0x0)??0x0;return _0x526e7c<0x20&&_0x4234c7!=='\x09'||_0x526e7c>=0x7f&&_0x526e7c<=0x9f||_0x526e7c===0xa0||_0x526e7c>=0x200b&&_0x526e7c<=0x200f||_0x526e7c>=0x2060&&_0x526e7c<=0x2069||_0x526e7c===0x23ce||_0x526e7c===0x2424;}function createTerminalOutputNormalizer(){const _0x27a5c7={_0x2d5143:0x488,_0x2a1ff9:0x40d,_0x3647d1:0x49e},_0x5ab256={_0x183c58:0x7fc,_0x5999c3:0x838,_0x481925:0x840,_0x266bd4:0x40e,_0x1fb971:0x396,_0x1a7181:0x51e,_0x2f64ad:0x10a,_0x456680:0x815,_0x3906d6:0x481,_0x5151f0:0x507,_0x4b4de9:0x5f1,_0x284043:0x426},_0x5457d1={_0x3fe298:0x2bc,_0x5dd59a:0x36f,_0x3e128a:0x192,_0x491382:0x3a6,_0xa873bb:0x15b,_0x2afc7b:0x293,_0x370a34:0x3ae,_0x2b1a7f:0x43b,_0x5e43e5:0x53b,_0x141aee:0x283},_0x4fd337={_0x1c30c1:0x85};let _0x29498d='text',_0x1fc66f=![],_0x27c522=![],_0x294bde=[],_0x487a12=0x0,_0x22220b=![];const _0x49d46c=()=>{_0x294bde=[],_0x487a12=0x0;},_0x2b7d18=_0x3505df=>{_0x294bde[_0x587620(_0x5457d1._0x3fe298,_0x5457d1._0x5dd59a,0x376,_0x5457d1._0x3e128a)](_0x3505df);function _0x587620(_0x474710,_0x2fd52f,_0x4d1a89,_0xb732fc){return _0x5041(_0x474710- -_0x4fd337._0x1c30c1,_0xb732fc);}_0x487a12+=_0x3505df[_0x1e23a4(0x4d1,_0x5457d1._0x491382,0x444,0x2f2)];function _0x1e23a4(_0x43de10,_0x4f00da,_0x58cbb4,_0x3ba623){return _0x5041(_0x58cbb4-0x11,_0x43de10);}while(_0x487a12>MAX_PROGRESS_LINE_CHARS){const _0x2fbc79=_0x294bde[_0x1e23a4(0x407,_0x5457d1._0xa873bb,_0x5457d1._0x2afc7b,0x138)]();if(_0x2fbc79===void 0x0)break;_0x487a12-=_0x2fbc79[_0x587620(_0x5457d1._0x370a34,_0x5457d1._0x2b1a7f,_0x5457d1._0x5e43e5,_0x5457d1._0x141aee)];}},_0x31f3a3=_0x6878ae=>{const _0x5b040c=_0x294bde['join']('')+(_0x6878ae?'\x0a':'');return _0x49d46c(),_0x5b040c;},_0x47596e=_0x4c630d=>{const _0x4ff1e8={_0x6c567a:0x3ae};if(_0x22220b)throw new Error(_0x17116c(0x6ef,_0x5ab256._0x183c58,_0x5ab256._0x5999c3,_0x5ab256._0x481925));let _0x333afc='';function _0x17116c(_0x52ad02,_0x3cea04,_0x605ec9,_0x43c7b4){return _0x5041(_0x43c7b4-_0x4ff1e8._0x6c567a,_0x605ec9);}for(const _0x3829c9 of _0x4c630d){if(_0x29498d==='csi'){const _0x246d88=_0x3829c9[_0x4687fb(0x303,_0x5ab256._0x266bd4,_0x5ab256._0x1fb971,0x59c)](0x0)??0x0;if(_0x246d88>=0x40&&_0x246d88<=0x7e)_0x29498d=_0x17116c(_0x5ab256._0x1a7181,0x448,0x394,0x4d3);continue;}if(_0x29498d==='osc'||_0x29498d==='dcs'){if(_0x1fc66f){_0x3829c9==='\x5c'?(_0x29498d='text',_0x1fc66f=![]):_0x1fc66f=_0x3829c9===ESC;continue;}if(_0x3829c9===ESC)_0x1fc66f=!![];else _0x29498d===_0x4687fb(_0x5ab256._0x2f64ad,0x2a7,0xd9,0x2d2)&&_0x3829c9===BEL&&(_0x29498d='text');continue;}if(_0x29498d==='escape'){if(_0x3829c9==='[')_0x29498d=_0x17116c(_0x5ab256._0x456680,0x70a,_0x5ab256._0x3906d6,0x64b);else{if(_0x3829c9===']')_0x29498d=_0x17116c(0x6b9,0x779,_0x5ab256._0x5151f0,_0x5ab256._0x4b4de9),_0x1fc66f=![];else _0x3829c9==='P'||_0x3829c9==='_'||_0x3829c9==='^'?(_0x29498d=_0x4687fb(0x234,0x3dc,0x254,0x271),_0x1fc66f=![]):_0x29498d=_0x4687fb(0x128,0x189,-0x15,0x2e3);}continue;}if(_0x27c522){_0x27c522=![];if(_0x3829c9==='\x0a'){_0x333afc+=_0x31f3a3(!![]);continue;}_0x49d46c();}if(_0x3829c9===ESC)_0x29498d=_0x4687fb(_0x5ab256._0x284043,0x3e8,0x476,0x4f6);else{if(_0x3829c9==='\x0d')_0x27c522=!![];else{if(_0x3829c9==='\x0a')_0x333afc+=_0x31f3a3(!![]);else{if(_0x3829c9==='\x08'){const _0x40fdb0=_0x294bde['pop']();if(_0x40fdb0!==void 0x0)_0x487a12-=_0x40fdb0['length'];}else!isDiscardedTextControl(_0x3829c9)&&_0x2b7d18(_0x3829c9);}}}}function _0x4687fb(_0x291adf,_0xae6f63,_0x52eb60,_0x49df1a){return _0x5041(_0xae6f63-0x64,_0x49df1a);}return _0x333afc;};return{'write':_0x47596e,'end'(){const _0x5622ba={_0x3aab19:0x363};function _0x220305(_0xa0bdff,_0x4b4a43,_0x394172,_0x582915){return _0x5041(_0xa0bdff-_0x5622ba._0x3aab19,_0x582915);}if(_0x22220b)return'';return _0x22220b=!![],_0x27c522=![],_0x29498d=_0x220305(_0x27a5c7._0x2d5143,0x2e9,_0x27a5c7._0x2a1ff9,_0x27a5c7._0x3647d1),_0x1fc66f=![],_0x31f3a3(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0x4d8cf3){const _0x5deccd={_0x165648:0x2d4,_0x364146:0x18a,_0x3ccdc4:0x58e,_0x4f4432:0x535,_0x1c5f0c:0x270,_0x14a57f:0x103},_0x4492a2={_0x514390:0x467},_0x11a2d7={_0x402a79:0x1e5,_0x5d2e90:0x144};function _0x446077(_0x18a370,_0x4b7164,_0x2a6ad3,_0x5d54ab){return _0x151cc1(_0x18a370-_0x11a2d7._0x402a79,_0x18a370-_0x11a2d7._0x5d2e90,_0x2a6ad3,_0x5d54ab-0x117);}super('Unable\x20to\x20terminate\x20background\x20processes;\x20session\x20ownership\x20was\x20preserved.'),this[_0x446077(_0x5deccd._0x165648,0x2eb,0x311,_0x5deccd._0x364146)]=_0x4d8cf3;function _0xc7f7d3(_0x36cac7,_0x14fcd2,_0x2b0a9a,_0xae8d12){return _0x1ac42a(_0x36cac7-0x2,_0x14fcd2-0x66,_0x14fcd2-_0x4492a2._0x514390,_0xae8d12);}this[_0x446077(0x553,_0x5deccd._0x3ccdc4,0x576,_0x5deccd._0x4f4432)]=_0xc7f7d3(0x2eb,0x2a8,_0x5deccd._0x1c5f0c,_0x5deccd._0x14a57f);}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x5de16e){const _0x1827dd={_0x489356:0x9d,_0x531935:0x0,_0x32a2b6:0x213,_0x544de9:0x687},_0x5b43f5={_0x1a1706:0x42,_0x585acb:0xdd},_0xabaa41={_0x1082b8:0x8,_0x417a05:0x5f6};function _0x17076d(_0x302817,_0x100b56,_0x1a4f45,_0x251489){return _0x1ac42a(_0x302817-0xe6,_0x100b56-_0xabaa41._0x1082b8,_0x1a4f45-_0xabaa41._0x417a05,_0x251489);}function _0x59315c(_0x29d64d,_0x15ae11,_0x122bfc,_0x2f613d){return _0x1ac42a(_0x29d64d-_0x5b43f5._0x1a1706,_0x15ae11-0x9b,_0x29d64d-_0x5b43f5._0x585acb,_0x2f613d);}return _0x5de16e===_0x59315c(-_0x1827dd._0x489356,_0x1827dd._0x531935,-_0x1827dd._0x32a2b6,-0x204)||_0x5de16e==='killed'||_0x5de16e===_0x17076d(0x6bf,0x4b5,0x677,_0x1827dd._0x544de9);}var BackgroundProcessRegistry=class{[_0x151cc1(0x321,0x35e,0x4df,0x18e)]=new Map();['reservations']=new Map();['maxConcurrent'];[_0x1ac42a(-0x224,-0x5d,-0x1b5,-0x163)];['capChars'];[_0x1ac42a(-0x1e1,0x6,-0x7f,-0x20c)];[_0x1ac42a(0xa7,-0x15e,-0x12,-0x1)];['counter']=0x0;constructor(_0x92d9ad={}){const _0x526a93={_0x493cdb:0x3d6,_0x3f6d89:0x15e,_0x117ea2:0x2df,_0x3ca0dc:0x20a,_0x44e142:0x558,_0x3b6dee:0x4a3,_0x533723:0x2a0,_0x29f620:0x275,_0x836a70:0x3b7,_0x3678a6:0x37a,_0x2079f6:0x75d,_0x13daba:0x5d9,_0x421920:0x147,_0x23ceb5:0x312,_0x39d6ce:0x51e,_0x13fc35:0x511,_0x553e3d:0x752,_0x2bece1:0x36f,_0x21db7c:0x215,_0x347dcc:0x322,_0x162d7a:0x669,_0x29e0f4:0x5c2,_0x1aea05:0x5c3},_0xb8a776={_0x4a3f3b:0x133};this[_0x1ed6cf(0x292,_0x526a93._0x493cdb,_0x526a93._0x3f6d89,0x20a)]=_0x92d9ad[_0x1ed6cf(0x4f,_0x526a93._0x117ea2,0x54,_0x526a93._0x3ca0dc)]??0xa;function _0x5bbfa9(_0x4aafe4,_0x25e155,_0x516d39,_0x5b76f5){return _0x1ac42a(_0x4aafe4-0x1df,_0x25e155-_0xb8a776._0x4a3f3b,_0x5b76f5-0x658,_0x25e155);}this['maxEntries']=_0x92d9ad[_0x5bbfa9(0x4cc,0x2f4,_0x526a93._0x44e142,_0x526a93._0x3b6dee)]??0x40,this[_0x1ed6cf(_0x526a93._0x533723,0x1f9,_0x526a93._0x29f620,_0x526a93._0x836a70)]=_0x92d9ad[_0x1ed6cf(0x1ed,_0x526a93._0x3678a6,0x36d,0x3b7)]??0x100000,this[_0x5bbfa9(_0x526a93._0x2079f6,0x6cc,0x78c,_0x526a93._0x13daba)]=_0x92d9ad[_0x1ed6cf(0x478,_0x526a93._0x421920,_0x526a93._0x23ceb5,0x2b5)]??process[_0x5bbfa9(_0x526a93._0x39d6ce,_0x526a93._0x13fc35,_0x526a93._0x553e3d,_0x526a93._0x13daba)];function _0x1ed6cf(_0x53c65e,_0x47e609,_0x5f93a0,_0x407940){return _0x1ac42a(_0x53c65e-0x5a,_0x47e609-0x12b,_0x407940-0x334,_0x47e609);}this[_0x1ed6cf(_0x526a93._0x2bece1,_0x526a93._0x21db7c,0x1c3,_0x526a93._0x347dcc)]=_0x92d9ad['signalAdapter']??createProcessTreeSignalAdapter({'platform':this[_0x5bbfa9(_0x526a93._0x162d7a,_0x526a93._0x29e0f4,_0x526a93._0x1aea05,0x5d9)]});}[_0x1ac42a(-0x12,0x95,0xfd,-0xd0)](){const _0xc5621f={_0xbe8ffa:0x425,_0x3d359b:0x5dc,_0x3b1eb9:0x347,_0x42623d:0x1c7,_0x15ca3c:0x2d5,_0x55180e:0x398,_0x53e30b:0x3a4,_0x2300cc:0x6cc,_0x32b649:0x4ea,_0x5c66b4:0x2c1,_0x165b0a:0x1fa,_0x2f9712:0x3ab,_0x471f0d:0x4fc,_0x5b56ae:0x3cf,_0xd74b4b:0x2c1,_0x23408e:0x2d2,_0x59ee7d:0x12a,_0xaf3fdc:0x2ce,_0x779ef0:0x398,_0x58c80a:0x3d7,_0x52363c:0x1f8,_0x1eae77:0x340,_0x2d734f:0x2fa,_0x23c769:0x374},_0x56f702={_0x5367bc:0xca,_0x29b805:0x194},_0x2072ef={_0x227d26:0x6b};function _0x5d4bc5(_0x58f9df,_0x4e51be,_0x417446,_0x555da6){return _0x1ac42a(_0x58f9df-0x12e,_0x4e51be-_0x2072ef._0x227d26,_0x58f9df-0x3eb,_0x555da6);}const _0x46a957=[...this[_0x312cec(_0xc5621f._0xbe8ffa,0x541,_0xc5621f._0x3d359b,0x3cc)][_0x5d4bc5(_0xc5621f._0x3b1eb9,0x42b,0x296,_0xc5621f._0x42623d)]()][_0x5d4bc5(0x285,0x375,_0xc5621f._0x15ca3c,_0xc5621f._0x55180e)](_0x3cf1da=>!_0x3cf1da[_0x5d4bc5(0x255,0x113,0x21f,0x1fc)]);if(_0x46a957['length']+this[_0x5d4bc5(0x539,0x5e3,0x46b,_0xc5621f._0x53e30b)][_0x5d4bc5(0x552,0x453,_0xc5621f._0x2300cc,_0xc5621f._0x32b649)]>=this[_0x5d4bc5(_0xc5621f._0x5c66b4,_0xc5621f._0x165b0a,0x2e6,_0xc5621f._0x2f9712)])throw new ToolExecutionError(_0x312cec(0x4a1,_0xc5621f._0x471f0d,0x48e,_0xc5621f._0x5b56ae)+this[_0x5d4bc5(_0xc5621f._0xd74b4b,0x452,0x10e,0x279)]+_0x312cec(_0xc5621f._0x23408e,_0xc5621f._0x59ee7d,0x13c,0x392),{'running':this[_0x5d4bc5(0x2c1,0x163,0x411,_0xc5621f._0xaf3fdc)]});const _0x176f04=Object[_0x5d4bc5(_0xc5621f._0x779ef0,0x408,_0xc5621f._0x58c80a,_0xc5621f._0x52363c)]({'id':randomUUID()});function _0x312cec(_0x31b668,_0x128f1d,_0x38d2fd,_0x113953){return _0x151cc1(_0x31b668-_0x56f702._0x5367bc,_0x31b668-0xc7,_0x128f1d,_0x113953-_0x56f702._0x29b805);}return this['reservations'][_0x312cec(_0xc5621f._0x1eae77,_0xc5621f._0x2d734f,0x4e1,_0xc5621f._0x23c769)](_0x176f04['id'],_0x176f04),_0x176f04;}[_0x1ac42a(-0x2af,-0x28d,-0x200,-0x25d)](_0x406247){const _0x20028a={_0x45e7cf:0x7bd,_0x4b69f2:0x442,_0x10e4f7:0x4f6},_0x3ece96={_0x1d42f7:0xf2,_0x2942c8:0x5c},_0x52a9fa={_0x42a98a:0xae,_0x13acf8:0x302,_0x5ece8a:0x3d};function _0x274a78(_0x471a7f,_0x2e1e1d,_0x238d88,_0x4629bc){return _0x151cc1(_0x471a7f-_0x52a9fa._0x42a98a,_0x4629bc-_0x52a9fa._0x13acf8,_0x471a7f,_0x4629bc-_0x52a9fa._0x5ece8a);}function _0x5d5338(_0x4154b8,_0x1f20ac,_0x535c4f,_0x2084c1){return _0x1ac42a(_0x4154b8-0x107,_0x1f20ac-_0x3ece96._0x1d42f7,_0x2084c1- -_0x3ece96._0x2942c8,_0x535c4f);}this['reservations']['get'](_0x406247['id'])===_0x406247&&this[_0x274a78(_0x20028a._0x45e7cf,0x615,0x65d,0x7cd)][_0x274a78(0x485,0x3be,_0x20028a._0x4b69f2,_0x20028a._0x10e4f7)](_0x406247['id']);}[_0x151cc1(0x3db,0x29d,0x290,0xcf)](_0x54a850,_0x18a39f){const _0x2fdd44={_0x5d085c:0x34b,_0x4e1bea:0x11,_0x5322cb:0x2da,_0x7a707f:0x262,_0x2864cc:0x11f,_0x2a65a5:0x303,_0xdc2c2a:0x32c,_0x3b2a1d:0x1b6,_0x59f905:0xd7,_0x1cf09e:0x1b,_0xf350cf:0x25,_0x5ae718:0x3f,_0x4e89d5:0xdf,_0xcc9b0b:0x209,_0x3b1d73:0x5c,_0x4c81ae:0x10,_0x53dc45:0x197,_0xf0740e:0x13d,_0x39f00f:0x361,_0xe7a6bc:0x31a,_0x1d71b9:0x1dd,_0x444873:0x15d,_0x292bf5:0x256,_0x36ac2d:0x206,_0x11ac99:0x3f4,_0x3884e7:0x15a,_0x5b071f:0x6d,_0x4b162e:0x190,_0x2fe9f1:0xbe,_0x13dd5c:0x2c1,_0x1180dd:0x1bd,_0xa528bc:0x118,_0x27adb3:0x140,_0x5d683d:0x256,_0x144347:0x324,_0x20e2f8:0x2ee,_0x198ff8:0x324,_0x2f75d5:0x489,_0x222abe:0x292,_0xb71a8f:0x2f3,_0x3ed368:0x21b,_0x4e5d21:0x55,_0x4fa06e:0xb1,_0x27b4b8:0x98,_0x45f378:0x1b2,_0x49f3cd:0x51,_0x4ccf50:0x90,_0x4f9f12:0x1c,_0x3ff179:0x388,_0x18995d:0x2a7,_0x3abdfb:0x324,_0x41cad7:0x92,_0x3584c3:0x28,_0x558050:0x12d,_0x5d484b:0x26a,_0x2cb90b:0x409,_0x57509e:0x424,_0x5dde53:0xd6,_0x1c508c:0xde,_0x1e29bf:0x1fd,_0x42c185:0x1cf,_0x43c780:0x8c,_0xfb333a:0x30c,_0x5ceb9f:0x29c,_0x1b2582:0x297,_0x8f9978:0x1a5,_0x21ff8e:0x61,_0x267076:0x146,_0x2fcad6:0x183,_0x4e37f8:0x2c,_0x4d4309:0x249,_0x45db49:0x8f},_0x919dce={_0x1b6d2a:0x0,_0x323eec:0x4b3,_0xecb59:0x2cc,_0x4c1840:0x1a2,_0x234c59:0x30b,_0x380d9a:0x71b,_0x24faf1:0xe4,_0x2b828c:0x23,_0x38fbde:0x145},_0x54dc9a={_0x3b42eb:0x12c},_0x5425aa={_0x1ea2dc:0x14c,_0x29f33e:0x80b,_0x21f51a:0x785,_0x27c3fd:0x7c5,_0x2a5369:0x35},_0x8f3527={_0x53fcb4:0x79},_0x3b8c7a={_0x55ec0a:0x90,_0x559680:0x1e,_0x4e36bd:0x510},_0x3919d4={_0x236240:0x298,_0x144e30:0x282,_0x4a15ef:0x1c2,_0x44b6cc:0x3e3,_0x46e21c:0x4ba,_0xdaa36:0x366},_0x2364b0={_0xa484dd:0x1db},_0x4eb5d={_0x507c0d:0xc2,_0x58d18d:0x133,_0x84c680:0x53,_0x22937c:0x118,_0x5d3195:0x1e8},_0x3cf368={_0xf84dc7:0x148,_0x320e38:0x3fe},_0x26a2dc={_0x56f33b:0x345,_0x181cf6:0x33a},_0x22ce22={_0x44c3dd:0x195,_0x531a6e:0x1c8},_0x557951={_0x8b8241:0x1b6,_0x4e9123:0x1bf,_0x2c962c:0x164};if(this[_0x3ab96c(0x192,_0x2fdd44._0x5d085c,0xf5,0x2b2)][_0x3ab96c(-_0x2fdd44._0x4e1bea,0x1a9,_0x2fdd44._0x5322cb,0x150)](_0x54a850['id'])!==_0x54a850)throw new ToolExecutionError(_0x3ab96c(0x2a5,_0x2fdd44._0x7a707f,0x14d,_0x2fdd44._0x2864cc),{'reservationId':_0x54a850['id']});this[_0x1e0d2b(0x239,_0x2fdd44._0x2a65a5,_0x2fdd44._0xdc2c2a,_0x2fdd44._0x3b2a1d)][_0x3ab96c(-_0x2fdd44._0x59f905,0x34,_0x2fdd44._0x1cf09e,-_0x2fdd44._0xf350cf)](_0x54a850['id']);let _0x4d167c;const _0x2d6222=new Promise(_0x5ea62a=>{_0x4d167c=_0x5ea62a;}),_0x31f1cd=_0x3ab96c(_0x2fdd44._0x5ae718,0x34,_0x2fdd44._0x4e89d5,0x195)+ ++this[_0x1e0d2b(-_0x2fdd44._0xcc9b0b,-_0x2fdd44._0x3b1d73,0x142,0x84)]+'-'+randomUUID()[_0x1e0d2b(_0x2fdd44._0x4c81ae,_0x2fdd44._0x53dc45,_0x2fdd44._0xf0740e,_0x2fdd44._0x39f00f)](0x0,0x8);function _0x3ab96c(_0x5aca79,_0x1bf458,_0x573837,_0x502eb8){return _0x1ac42a(_0x5aca79-_0x557951._0x8b8241,_0x1bf458-_0x557951._0x4e9123,_0x502eb8-_0x557951._0x2c962c,_0x573837);}function _0x1e0d2b(_0x1bd0a6,_0x1fa3b4,_0x52a7dc,_0x5255a1){return _0x151cc1(_0x1bd0a6-_0x22ce22._0x44c3dd,_0x1fa3b4- -_0x22ce22._0x531a6e,_0x52a7dc,_0x5255a1-0x2d);}const _0xbe7c54={'shellId':_0x31f1cd,'command':_0x18a39f[_0x1e0d2b(_0x2fdd44._0xe7a6bc,0x16d,0x44,0x1e9)],'cwd':_0x18a39f['cwd'],'pid':_0x18a39f[_0x3ab96c(0x32f,_0x2fdd44._0x1d71b9,_0x2fdd44._0x444873,_0x2fdd44._0x292bf5)][_0x1e0d2b(_0x2fdd44._0x36ac2d,0x22a,0x242,_0x2fdd44._0x11ac99)],'processGroupId':_0x18a39f[_0x1e0d2b(0x1c3,_0x2fdd44._0x3884e7,-_0x2fdd44._0x5b071f,-0x66)],'status':_0x3ab96c(_0x2fdd44._0x4b162e,-_0x2fdd44._0x2fe9f1,-0x18f,0x3f),'exitCode':null,'signal':null,'startedAt':Date[_0x3ab96c(0x2fb,0x16,_0x2fdd44._0x13dd5c,_0x2fdd44._0x1180dd)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x18a39f[_0x3ab96c(_0x2fdd44._0xa528bc,_0x2fdd44._0x27adb3,0xe4,_0x2fdd44._0x5d683d)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x1e0d2b(0x1c9,_0x2fdd44._0x144347,_0x2fdd44._0x20e2f8,0x45b)),'stderrDecoder':new StringDecoder(_0x1e0d2b(0x4ec,_0x2fdd44._0x198ff8,_0x2fdd44._0x2f75d5,_0x2fdd44._0x222abe)),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x18a39f[_0x1e0d2b(_0x2fdd44._0xb71a8f,0x14e,_0x2fdd44._0x3ed368,_0x2fdd44._0x4e5d21)],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x2d6222,'resolveTerminal':_0x4d167c,'terminationSettled':![]};this['entries'][_0x1e0d2b(-0x2d,_0x2fdd44._0x4fa06e,-0x3f,-0x6c)](_0x31f1cd,_0xbe7c54);try{_0x18a39f['child'][_0x1e0d2b(_0x2fdd44._0x27b4b8,_0x2fdd44._0x45f378,_0x2fdd44._0x49f3cd,_0x2fdd44._0x4ccf50)]?.['on'](_0x1e0d2b(-0xe8,_0x2fdd44._0x4f9f12,-0x2c,-0x152),_0x136eb3=>{const _0x5f030b={_0x141e78:0x77};function _0x377d25(_0x266af3,_0x102607,_0x1c1d55,_0x31b6db){return _0x1e0d2b(_0x266af3-0x1e0,_0x102607-0x1aa,_0x31b6db,_0x31b6db-_0x5f030b._0x141e78);}this['appendDecoded'](_0xbe7c54,_0xbe7c54['stdoutDecoder'],_0xbe7c54[_0x377d25(_0x26a2dc._0x56f33b,0x37c,_0x26a2dc._0x181cf6,0x1bb)],_0x136eb3);}),_0x18a39f[_0x1e0d2b(_0x2fdd44._0x3ff179,_0x2fdd44._0x18995d,_0x2fdd44._0x3abdfb,0x22e)][_0x1e0d2b(_0x2fdd44._0x41cad7,0x1b4,0x12c,0x22d)]?.['on'](_0x3ab96c(_0x2fdd44._0x3584c3,_0x2fdd44._0x558050,-0x167,-0x35),_0x16e70e=>{const _0x5dcaf0={_0x2258f8:0x177,_0x574d14:0x5f,_0x1dc1bc:0x127};function _0x1cab1e(_0x2d5506,_0xbc6198,_0x4c6ff8,_0x5ad8f1){return _0x3ab96c(_0x2d5506-_0x5dcaf0._0x2258f8,_0xbc6198-_0x5dcaf0._0x574d14,_0x5ad8f1,_0x4c6ff8- -_0x5dcaf0._0x1dc1bc);}function _0x1347fa(_0xe8a89b,_0x385489,_0x5e445c,_0x24ca1d){return _0x3ab96c(_0xe8a89b-_0x3cf368._0xf84dc7,_0x385489-0xf,_0x5e445c,_0x385489-_0x3cf368._0x320e38);}this[_0x1cab1e(0x17,-0x119,-_0x4eb5d._0x507c0d,-0xb4)](_0xbe7c54,_0xbe7c54[_0x1cab1e(-_0x4eb5d._0x58d18d,0x8c,_0x4eb5d._0x84c680,_0x4eb5d._0x22937c)],_0xbe7c54[_0x1cab1e(-_0x4eb5d._0x5d3195,-0xbf,-0x113,-0x51)],_0x16e70e);}),_0x18a39f[_0x3ab96c(0xa3,0x23c,0xa9,0x256)][_0x1e0d2b(0x1e7,_0x2fdd44._0x5d484b,_0x2fdd44._0x2cb90b,_0x2fdd44._0x57509e)](_0x3ab96c(0x25d,_0x2fdd44._0x5dde53,_0x2fdd44._0x1c508c,_0x2fdd44._0x1e29bf),(_0x2c56a4,_0x19fc3b)=>{const _0x43d15d={_0x2175f3:0x189,_0x3a7950:0x103};_0xbe7c54[_0x459d75(0x2da,0xfe,_0x3919d4._0x236240,0x307)]=!![];function _0x539cf5(_0x4b0705,_0x203c35,_0x35b7af,_0x1dd405){return _0x3ab96c(_0x4b0705-_0x43d15d._0x2175f3,_0x203c35-_0x43d15d._0x3a7950,_0x4b0705,_0x1dd405-0x3fb);}_0xbe7c54[_0x459d75(0x1c2,0x318,_0x3919d4._0x144e30,0x2c2)]=_0x2c56a4;function _0x459d75(_0x32b6cf,_0x59f14a,_0x3c8cac,_0x1e7178){return _0x1e0d2b(_0x32b6cf-_0x2364b0._0xa484dd,_0x3c8cac-0x2d,_0x1e7178,_0x1e7178-0xb5);}_0xbe7c54[_0x539cf5(_0x3919d4._0x4a15ef,_0x3919d4._0x44b6cc,_0x3919d4._0x46e21c,_0x3919d4._0xdaa36)]=_0x19fc3b;}),_0x18a39f['child'][_0x1e0d2b(_0x2fdd44._0x42c185,0x26a,0x166,0xa4)](_0x1e0d2b(_0x2fdd44._0x43c780,0x236,0x2c3,_0x2fdd44._0xfb333a),_0x8a2340=>{function _0x200507(_0x27aae8,_0x525486,_0x18db87,_0x18eed2){return _0x3ab96c(_0x27aae8-_0x3b8c7a._0x55ec0a,_0x525486-_0x3b8c7a._0x559680,_0x18eed2,_0x525486-_0x3b8c7a._0x4e36bd);}_0xbe7c54[_0x56be24(0x21a,_0x5425aa._0x1ea2dc,0x27b,0x174)]=_0x8a2340[_0x200507(_0x5425aa._0x29f33e,_0x5425aa._0x21f51a,0x6e2,_0x5425aa._0x27c3fd)];function _0x56be24(_0x46eafd,_0x464a53,_0x31b3f6,_0x1d2005){return _0x1e0d2b(_0x46eafd-0x148,_0x1d2005- -0xc2,_0x464a53,_0x1d2005-_0x8f3527._0x53fcb4);}_0xbe7c54[_0x56be24(_0x5425aa._0x2a5369,0x134,0x129,0x17e)]=_0x200507(0x5af,0x6f5,0x81d,0x65d);}),_0x18a39f[_0x1e0d2b(0x434,0x2a7,_0x2fdd44._0x5ceb9f,_0x2fdd44._0x1b2582)]['once']('close',(_0x18d085,_0x2cb73e)=>{_0xbe7c54[_0x59054a(0x19f,_0x919dce._0x1b6d2a,0x2a6,0x2da)]=_0x18d085,_0xbe7c54['signal']=_0x2cb73e;function _0x59054a(_0x412b3e,_0x34d3a5,_0x50c212,_0x58efd2){return _0x3ab96c(_0x412b3e-_0x54dc9a._0x3b42eb,_0x34d3a5-0xde,_0x50c212,_0x412b3e- -0x65);}_0xbe7c54[_0x20c0fc(_0x919dce._0x323eec,0x5de,0x7ef,0x62f)]=null;_0xbe7c54[_0x59054a(0x18a,_0x919dce._0xecb59,_0x919dce._0x4c1840,_0x919dce._0x234c59)]!==_0x20c0fc(_0x919dce._0x380d9a,0x6b3,0x53d,0x5be)&&(_0xbe7c54['status']=_0xbe7c54[_0x59054a(-0x29,_0x919dce._0x24faf1,_0x919dce._0x2b828c,-_0x919dce._0x38fbde)]?'killed':'exited');function _0x20c0fc(_0x1f6b05,_0x4c56c1,_0x346e9f,_0x3473d0){return _0x3ab96c(_0x1f6b05-0x17b,_0x4c56c1-0xe9,_0x346e9f,_0x3473d0-0x3d9);}this['settleTerminal'](_0xbe7c54);});}catch(_0x36429a){this[_0x1e0d2b(_0x2fdd44._0x8f9978,0x196,_0x2fdd44._0x21ff8e,_0x2fdd44._0x267076)][_0x1e0d2b(_0x2fdd44._0x2fcad6,_0x2fdd44._0x4e37f8,0x1d3,-0x38)](_0x31f1cd);throw _0x36429a;}return this[_0x3ab96c(0x117,-_0x2fdd44._0x4d4309,-0x21c,-_0x2fdd44._0x45db49)](),_0xbe7c54;}['spawn'](_0x4824c2){const _0x255bf4={_0xfccb91:0x500,_0x1d2e65:0x32f,_0x5bfbe7:0x429,_0x6560ae:0x2c9,_0xb21f5d:0x505,_0x130400:0x524,_0x158ef3:0x4bf,_0x5e192b:0x59a,_0x34e9f7:0x5bb,_0x219749:0x368,_0x48354c:0x51d,_0x49103f:0x650,_0x273fe9:0x55f,_0x5238df:0x46f},_0x5bae82={_0x56ae9b:0x66f},_0x2e5455={_0x3979da:0x1c9,_0x246dc8:0x1ed};function _0x442f8a(_0x56feff,_0x4796dd,_0x47e36e,_0x4c7c87){return _0x151cc1(_0x56feff-_0x2e5455._0x3979da,_0x4796dd-0x12b,_0x56feff,_0x4c7c87-_0x2e5455._0x246dc8);}function _0x258d26(_0x22f628,_0x5236fc,_0x425e8f,_0x16f9fc){return _0x1ac42a(_0x22f628-0xac,_0x5236fc-0xb7,_0x16f9fc-_0x5bae82._0x56ae9b,_0x425e8f);}const _0x44e5b2=this[_0x258d26(0x8e9,0x80a,0x7ed,0x76c)]();try{return this[_0x442f8a(0x557,0x3c8,_0x255bf4._0xfccb91,_0x255bf4._0x1d2e65)](_0x44e5b2,{..._0x4824c2,...this[_0x442f8a(0x365,_0x255bf4._0x5bfbe7,_0x255bf4._0x6560ae,0x3dd)]===_0x258d26(_0x255bf4._0xb21f5d,0x649,0x656,_0x255bf4._0x130400)?{}:{'processGroupId':_0x4824c2[_0x442f8a(_0x255bf4._0x158ef3,_0x255bf4._0x5e192b,0x55b,_0x255bf4._0x34e9f7)][_0x442f8a(_0x255bf4._0x219749,_0x255bf4._0x48354c,_0x255bf4._0x49103f,0x383)]}});}catch(_0xd48bd9){this[_0x258d26(0x477,_0x255bf4._0x273fe9,0x30f,_0x255bf4._0x5238df)](_0x44e5b2);throw _0xd48bd9;}}[_0x151cc1(0x500,0x46a,0x419,0x383)](_0xa9b3a,_0x170509){const _0x40bacc={_0x5cd182:0x13b,_0x26172b:0x5e,_0x191196:0x1f3,_0x2b97c6:0x3aa,_0x3db1e9:0x1ec,_0x4691de:0x27f,_0x451a74:0x1e8,_0x3d3be5:0x351,_0x4a4ee8:0xf8,_0x36d511:0x1,_0x3cdf86:0x93,_0x178294:0x17e,_0xd7dde4:0x2d1,_0xad676d:0x23a,_0x47e878:0x29b,_0x45936b:0x18e,_0x17afed:0x42,_0x11b6fe:0x109,_0x1fd53c:0x1e9,_0x5ec155:0x237,_0x27fedf:0x64,_0x328296:0x6a,_0x3d17ab:0x69,_0x271449:0x39,_0x214282:0xe5,_0x3f8274:0x1af,_0x146300:0x3f,_0x2071e7:0x161,_0x262b28:0x67,_0x2c11ba:0x3b8,_0x57aee2:0x19d,_0x2f9b51:0x383,_0x562549:0xdb,_0x22ebfd:0x16,_0x22e854:0x3c,_0x4392ff:0x1f9,_0x5da6b1:0x13c,_0x58aef4:0x220,_0x30cde0:0x1aa,_0x4604c2:0x20,_0xfe912e:0xde,_0xc491c7:0x11f,_0x2d75b8:0xa2,_0x4efea5:0x30d,_0x45f5e9:0x28c,_0x159896:0x1e5,_0x5082d4:0x1d9,_0x299c89:0x2ce,_0x26b2de:0x128,_0x40fc66:0x4c},_0x426e2a={_0x52ef0e:0x4b},_0x17bc8a={_0x32f943:0x1c},_0x5cef58=this[_0x21ddab(0x2d0,_0x40bacc._0x5cd182,-_0x40bacc._0x26172b,_0x40bacc._0x191196)][_0x21ddab(-0x7c,0x146,0x27e,-0x5f)](_0xa9b3a);if(!_0x5cef58)throw new ToolExecutionError(_0x11aaf8(_0x40bacc._0x2b97c6,0x2f0,_0x40bacc._0x3db1e9,0x1c1)+_0xa9b3a,{'shellId':_0xa9b3a});const _0x24954a=_0x5cef58[_0x21ddab(_0x40bacc._0x4691de,_0x40bacc._0x451a74,_0x40bacc._0x3d3be5,_0x40bacc._0x4a4ee8)][_0x11aaf8(0x20c,-_0x40bacc._0x36d511,0x1c4,0x327)]('');function _0x21ddab(_0xdebeda,_0x2c4848,_0x544786,_0x14bdaa){return _0x151cc1(_0xdebeda-_0x17bc8a._0x32f943,_0x2c4848- -0x223,_0x544786,_0x14bdaa-0x72);}const _0x449581=Math['max'](_0x5cef58[_0x11aaf8(0x292,_0x40bacc._0x3cdf86,_0x40bacc._0x178294,_0x40bacc._0xd7dde4)],_0x5cef58[_0x11aaf8(0x6e,-0x1ca,-0x42,-0x18d)]),_0x51a9d4=Math[_0x11aaf8(_0x40bacc._0xad676d,0x22c,0x119,_0x40bacc._0x47e878)](0x0,_0x5cef58[_0x11aaf8(-0x17e,_0x40bacc._0x45936b,-_0x40bacc._0x17afed,-_0x40bacc._0x11b6fe)]-_0x5cef58[_0x21ddab(0x328,0x250,_0x40bacc._0x1fd53c,0xbd)]),_0x290224=_0x24954a[_0x11aaf8(_0x40bacc._0x5ec155,-_0x40bacc._0x27fedf,_0x40bacc._0x328296,-_0x40bacc._0x3d17ab)](_0x449581-_0x5cef58[_0x11aaf8(-_0x40bacc._0x271449,-_0x40bacc._0x214282,-_0x40bacc._0x17afed,-_0x40bacc._0x3f8274)]);let _0x58cf99;function _0x11aaf8(_0x37a6db,_0x4d5269,_0x41aae7,_0x5c837b){return _0x1ac42a(_0x37a6db-_0x426e2a._0x52ef0e,_0x4d5269-0x13,_0x41aae7-0x88,_0x4d5269);}const _0x4eb0b7=_0x170509?.[_0x21ddab(0x29b,0xd0,-0x33,-_0x40bacc._0x146300)];if(!_0x4eb0b7)_0x58cf99=_0x290224,_0x5cef58[_0x11aaf8(0x36,_0x40bacc._0x2071e7,0x17e,0x10)]=_0x5cef58[_0x21ddab(-0x48,-_0x40bacc._0x262b28,-0xe7,-0x137)];else{let _0x4189d4;try{_0x4189d4=new RegExp(_0x4eb0b7);}catch(_0x476731){throw new ToolExecutionError(_0x11aaf8(_0x40bacc._0x2c11ba,_0x40bacc._0x57aee2,0x206,_0x40bacc._0x2f9b51)+(_0x476731 instanceof Error?_0x476731[_0x21ddab(_0x40bacc._0x562549,0x26b,0x3a3,0x2b4)]:String(_0x476731)),{'shellId':_0xa9b3a,'regex':_0x4eb0b7});}let _0x13ea4c=_0x290224;if(!_0x5cef58[_0x21ddab(_0x40bacc._0x22ebfd,-_0x40bacc._0x22e854,0x57,-0x7f)]){const _0x28062d=_0x290224['lastIndexOf']('\x0a');_0x13ea4c=_0x28062d>=0x0?_0x290224[_0x21ddab(_0x40bacc._0x4392ff,_0x40bacc._0x5da6b1,0x1b2,_0x40bacc._0x58aef4)](0x0,_0x28062d+0x1):'';}_0x58cf99=_0x13ea4c[_0x21ddab(0x2f0,0x21b,_0x40bacc._0x30cde0,0x2eb)]('\x0a')[_0x11aaf8(-_0x40bacc._0x4604c2,-0x269,-_0x40bacc._0xfe912e,-_0x40bacc._0xc491c7)](_0x535be9=>_0x4189d4[_0x21ddab(0x30d,0x2bf,0x173,0x314)](_0x535be9))['join']('\x0a'),_0x5cef58['readCursor']=_0x449581+_0x13ea4c[_0x11aaf8(0x4d,_0x40bacc._0x2d75b8,0x191,_0x40bacc._0x4efea5)];}return{'output':(_0x51a9d4>0x0?'[output\x20truncated:\x20'+_0x51a9d4+'\x20chars\x20dropped]\x0a':'')+_0x58cf99,'status':_0x5cef58[_0x21ddab(_0x40bacc._0x45f5e9,_0x40bacc._0x159896,0x30f,0xcb)],'exitCode':_0x5cef58[_0x11aaf8(_0x40bacc._0x5082d4,_0x40bacc._0x299c89,_0x40bacc._0x26b2de,0x48)],'signal':_0x5cef58[_0x11aaf8(-0x2fc,-0x259,-0x171,-_0x40bacc._0x40fc66)],'error':_0x5cef58['error'],'truncated':_0x51a9d4>0x0};}[_0x151cc1(0x36d,0x1b1,0x11a,0x309)](){const _0xecb1db={_0x480c88:0x6dc},_0x11dacc={_0x18301a:0x124};function _0x2e172d(_0x28c883,_0xd7f543,_0x50064d,_0x5b2db8){return _0x151cc1(_0x28c883-0x122,_0x28c883-0x254,_0x5b2db8,_0x5b2db8-_0x11dacc._0x18301a);}return[...this['entries'][_0x2e172d(0x52d,_0xecb1db._0x480c88,0x6d0,0x3f3)]()];}[_0x151cc1(0x174,0x2df,0x406,0x416)](_0x4fc440){const _0x4d2239={_0x2d5340:0x726,_0x45d72e:0x3c1,_0x9171e7:0x4dc,_0x4429b5:0x890,_0x42c5d3:0x79c,_0x2d3aa1:0x219,_0x9221a0:0x3ac,_0xb2491b:0x2f1,_0x1e3fd2:0x525,_0x4d3fc1:0x5c6,_0x521a74:0x527,_0x78a07a:0x746,_0x141ac0:0x356,_0x2801dc:0x4be,_0x581857:0x6a1,_0x307d34:0x971,_0x355414:0x61f,_0x5ea461:0x60e,_0x3a862f:0x83a,_0x352da3:0x6a7,_0x16d065:0x593,_0xd0ecdb:0x47b,_0x422956:0x6e9,_0x55fe3a:0x4e1,_0x1b2909:0x3b9,_0x3b9fac:0x24e,_0x5d0044:0x5cf,_0x9b999c:0x460,_0x24eb31:0x758,_0x30172d:0x69c,_0x58d2e9:0x758,_0x4cc14b:0x667,_0x1b6059:0x138,_0x3e5722:0x2cc,_0x23929b:0x190,_0x5e62bd:0x403,_0x56d62c:0x3e9},_0x451c7c={_0x575296:0x53,_0x59c75a:0x43},_0x41c245={_0x551ba6:0x39,_0x9bb30b:0x2c3},_0x318b08={_0x3e05c4:0x50,_0x3ca4f4:0x9a},_0x23140c={_0x29a3f3:0x122},_0x329b4c=this[_0x4ee741(0x69c,0x77d,_0x4d2239._0x2d5340,0x7c4)][_0x54afbd(_0x4d2239._0x45d72e,0x3a4,0x356,_0x4d2239._0x9171e7)](_0x4fc440);if(!_0x329b4c)throw new ToolExecutionError(_0x4ee741(0x81f,_0x4d2239._0x4429b5,0x785,_0x4d2239._0x42c5d3)+_0x4fc440,{'shellId':_0x4fc440});if(_0x329b4c['terminationPromise']&&!_0x329b4c[_0x54afbd(0x568,0x3b9,_0x4d2239._0x2d3aa1,_0x4d2239._0x9221a0)])return _0x329b4c[_0x54afbd(0x1bf,0x2cc,_0x4d2239._0xb2491b,0x310)];function _0x54afbd(_0x3840ff,_0x4b45e5,_0x356147,_0x422867){return _0x1ac42a(_0x3840ff-0x1b0,_0x4b45e5-_0x23140c._0x29a3f3,_0x4b45e5-0x3b8,_0x3840ff);}if(_0x329b4c[_0x4ee741(_0x4d2239._0x1e3fd2,_0x4d2239._0x4d3fc1,0x6a4,_0x4d2239._0x521a74)]&&isTerminalStatus(_0x329b4c[_0x4ee741(_0x4d2239._0x78a07a,0x774,0x863,0x847)]))return Promise[_0x54afbd(0x4da,_0x4d2239._0x141ac0,_0x4d2239._0x2801dc,0x362)](this[_0x4ee741(0x805,_0x4d2239._0x581857,_0x4d2239._0x307d34,0x9d2)](_0x329b4c,'already-terminal'));if(_0x329b4c['status']!==_0x54afbd(0x403,0x439,0x2fa,0x570))_0x329b4c[_0x4ee741(0x746,_0x4d2239._0x355414,_0x4d2239._0x5ea461,0x902)]=_0x4ee741(_0x4d2239._0x3a862f,0x8de,_0x4d2239._0x352da3,0x851);_0x329b4c[_0x4ee741(_0x4d2239._0x16d065,_0x4d2239._0xd0ecdb,_0x4d2239._0x422956,0x51f)]=!![];function _0x4ee741(_0x4dd1d7,_0x3c3a9b,_0xf01c2f,_0x449e54){return _0x151cc1(_0x4dd1d7-_0x318b08._0x3e05c4,_0x4dd1d7-0x33e,_0xf01c2f,_0x449e54-_0x318b08._0x3ca4f4);}return _0x329b4c[_0x54afbd(_0x4d2239._0x55fe3a,_0x4d2239._0x1b2909,_0x4d2239._0x3b9fac,0x375)]=![],_0x329b4c[_0x4ee741(_0x4d2239._0x5d0044,0x631,_0x4d2239._0x9b999c,0x666)]=this[_0x4ee741(_0x4d2239._0x24eb31,_0x4d2239._0x30172d,_0x4d2239._0x58d2e9,_0x4d2239._0x4cc14b)](_0x329b4c),void _0x329b4c[_0x54afbd(_0x4d2239._0x1b6059,_0x4d2239._0x3e5722,_0x4d2239._0x23929b,_0x4d2239._0x5e62bd)][_0x4ee741(0x7d3,0x61d,0x7e1,0x981)](()=>{const _0x5b0544={_0x3b756b:0x5bd,_0x31f0eb:0xa4};function _0x26f1dc(_0x4b069e,_0x415e46,_0x1985ee,_0xe837b4){return _0x4ee741(_0x415e46- -_0x5b0544._0x3b756b,_0x415e46-_0x5b0544._0x31f0eb,_0xe837b4,_0xe837b4-0x5f);}_0x329b4c[_0x26f1dc(-_0x41c245._0x551ba6,0xff,_0x41c245._0x9bb30b,0x155)]=!![];},()=>{const _0x31fbc7={_0x42af9d:0x3cd,_0x3ad1bc:0xd9};function _0x5ec6e3(_0x59647b,_0x3884ec,_0x5edce4,_0xb3e411){return _0x54afbd(_0x3884ec,_0xb3e411- -_0x31fbc7._0x42af9d,_0x5edce4-0x159,_0xb3e411-_0x31fbc7._0x3ad1bc);}_0x329b4c[_0x5ec6e3(_0x451c7c._0x575296,-_0x451c7c._0x59c75a,-0xe9,-0x14)]=!![];}),_0x329b4c[_0x54afbd(0x21c,0x2cc,_0x4d2239._0xb2491b,_0x4d2239._0x56d62c)];}['closeAll'](){const _0x265784={_0x1bb502:0x1c0,_0x169c11:0x281,_0x5b727f:0x6c,_0x137a2e:0xe,_0x37cff0:0x2b,_0x15d61f:0x666,_0x549bc5:0x723,_0x1b1b18:0x521,_0x28a469:0xbb,_0xe8209a:0x16a},_0x262054={_0x5a5875:0x136},_0x239a05={_0x590f39:0x5f,_0xcab49e:0x70a};function _0x9e466e(_0x474026,_0x4bc1a5,_0x4c056d,_0x23395c){return _0x1ac42a(_0x474026-_0x239a05._0x590f39,_0x4bc1a5-0x1c4,_0x474026-_0x239a05._0xcab49e,_0x4c056d);}function _0x46b61f(_0x3b51fa,_0x38a419,_0x37fc84,_0x580c76){return _0x151cc1(_0x3b51fa-0x8,_0x37fc84- -0x36c,_0x38a419,_0x580c76-_0x262054._0x5a5875);}return Promise[_0x46b61f(-0x2c1,-_0x265784._0x1bb502,-0x11a,-_0x265784._0x169c11)]([...this[_0x46b61f(0x137,-_0x265784._0x5b727f,-_0x265784._0x137a2e,-_0x265784._0x37cff0)][_0x9e466e(_0x265784._0x15d61f,0x80c,_0x265784._0x549bc5,_0x265784._0x1b1b18)]()][_0x46b61f(-0x50,0x207,_0x265784._0x28a469,_0x265784._0xe8209a)](_0x1cf27e=>this[_0x46b61f(-0x15f,0xfd,-0x8d,-0xe9)](_0x1cf27e[_0x46b61f(0x1cf,0x19c,0xc3,-0x18)])));}async[_0x151cc1(0x617,0x503,0x5a2,0x6a4)](){const _0xee373f={_0x2869a3:0x123,_0x50ca12:0x29,_0x48b950:0x18f,_0x2b5467:0x2fe,_0x395232:0x3b8,_0x3bdffe:0x368,_0x2efdc2:0x1b8,_0x50857d:0x193,_0x5a2286:0x280,_0x34a9db:0x61e,_0x5e2a7a:0x5b3,_0x36138a:0x270,_0x4e78c4:0x20e,_0x3005a0:0x173},_0x5ec4f9={_0x4344d4:0x130,_0x3a42af:0x328},_0x338ac6={_0x1aba13:0x8d};function _0xe22992(_0x55344d,_0x33331d,_0x46faf5,_0x43fc9c){return _0x1ac42a(_0x55344d-0xf4,_0x33331d-_0x338ac6._0x1aba13,_0x43fc9c-0x29f,_0x46faf5);}const _0x150e8f=await this[_0xe22992(_0xee373f._0x2869a3,0x1f,-_0xee373f._0x50ca12,_0xee373f._0x48b950)]();function _0x3d5390(_0x5889e8,_0x25ea37,_0x1d5f2e,_0x8e8755){return _0x151cc1(_0x5889e8-_0x5ec4f9._0x4344d4,_0x8e8755-_0x5ec4f9._0x3a42af,_0x25ea37,_0x8e8755-0x1f0);}if(_0x150e8f[_0xe22992(0x446,_0xee373f._0x2b5467,_0xee373f._0x395232,_0xee373f._0x3bdffe)](_0x2923ec=>_0x2923ec[_0xe22992(0x2b3,0x172,0x481,0x2cc)]==='failed'))throw new BackgroundProcessCleanupError(_0x150e8f);return this[_0xe22992(_0xee373f._0x2efdc2,_0xee373f._0x50857d,0x2d6,_0xee373f._0x5a2286)][_0x3d5390(_0xee373f._0x34a9db,_0xee373f._0x5e2a7a,0x48e,0x579)](),this['reservations'][_0xe22992(_0xee373f._0x36138a,0x233,_0xee373f._0x4e78c4,_0xee373f._0x3005a0)](),_0x150e8f;}async[_0x151cc1(0x4a6,0x41a,0x422,0x263)](_0x226adf){const _0x5b052d={_0x2e6b19:0x553,_0x5f6771:0x569,_0x4ebeac:0x3f6,_0x183f94:0x414,_0x5e45cf:0x25a,_0x509445:0x74a,_0xe4bccb:0x681,_0x5a601c:0x839,_0x5f1073:0x67a,_0x3795ff:0x581,_0x28028d:0x853,_0x1bff39:0x834,_0x6f28ac:0x6a4,_0x486ad1:0x52b,_0x280788:0x756,_0x42bbae:0x740,_0x333fb7:0x6a4,_0x52989b:0x57c,_0x2dc650:0x6e3,_0x2f5483:0x53b,_0x5b7153:0x918,_0x4f5449:0x5f1,_0x1dec71:0x557,_0xfa158f:0x45d,_0x9e2fb3:0x79c,_0x5ad60c:0x5f3,_0x3fce2d:0x581,_0x5c18d0:0x6d7,_0x285e97:0x83b,_0x3be086:0x652,_0x5733c1:0x59a,_0x1282a5:0x5fe},_0x3f94cd={_0x2bdeb2:0x6d5},_0x4cfa3d={_0x3ad5d1:0x159,_0x41db3b:0x1fe};_0x226adf['gracefulRequested']=!![];const _0x2278bb=await this[_0xff355a(_0x5b052d._0x2e6b19,0x5a9,_0x5b052d._0x5f6771,_0x5b052d._0x4ebeac)][_0xff355a(_0x5b052d._0x183f94,0x4c1,0x382,_0x5b052d._0x5e45cf)]({'rootPid':_0x226adf[_0x4b7100(_0x5b052d._0x509445,0x83c,_0x5b052d._0xe4bccb,_0x5b052d._0x5a601c)],'processGroupId':_0x226adf[_0x4b7100(_0x5b052d._0x5f1073,0x514,_0x5b052d._0x3795ff,0x5a9)]},'graceful');if(_0x2278bb[_0x4b7100(0x702,0x82d,0x5a6,0x853)]===_0xff355a(_0x5b052d._0x28028d,_0x5b052d._0x1bff39,_0x5b052d._0x6f28ac,_0x5b052d._0x486ad1))return this['failed'](_0x226adf,_0x2278bb[_0x4b7100(_0x5b052d._0x280788,0x6ce,0x782,_0x5b052d._0x42bbae)]);if(await this['waitForTerminal'](_0x226adf,TERMINATION_WINDOW_MS))return this[_0x4b7100(0x597,0x449,0x443,_0x5b052d._0x333fb7)](_0x226adf);_0x226adf[_0x4b7100(_0x5b052d._0x52989b,_0x5b052d._0x2dc650,0x625,_0x5b052d._0x2f5483)]=!![];function _0xff355a(_0x203877,_0x585bd6,_0x4ae0c2,_0xe0e4d){return _0x151cc1(_0x203877-_0x4cfa3d._0x3ad5d1,_0x4ae0c2-_0x4cfa3d._0x41db3b,_0x585bd6,_0xe0e4d-0x113);}const _0x19a517=await this[_0x4b7100(0x6c3,0x6ca,0x687,0x745)]['signal']({'rootPid':_0x226adf[_0x4b7100(_0x5b052d._0x509445,0x5d0,0x786,_0x5b052d._0x5b7153)],'processGroupId':_0x226adf[_0x4b7100(_0x5b052d._0x5f1073,0x4c4,_0x5b052d._0x4f5449,_0x5b052d._0x1dec71)]},_0xff355a(_0x5b052d._0xfa158f,_0x5b052d._0x9e2fb3,_0x5b052d._0x5ad60c,0x4a6));if(_0x19a517['outcome']===_0xff355a(_0x5b052d._0x3fce2d,0x849,0x6a4,0x7f2))return this[_0x4b7100(0x7fe,_0x5b052d._0x5c18d0,_0x5b052d._0x285e97,0x749)](_0x226adf,_0x19a517['error']);function _0x4b7100(_0x38d511,_0x4df8ab,_0x505423,_0x3677e6){return _0x1ac42a(_0x38d511-0xca,_0x4df8ab-0x6b,_0x38d511-_0x3f94cd._0x2bdeb2,_0x3677e6);}if(await this['waitForTerminal'](_0x226adf,TERMINATION_WINDOW_MS))return this['confirmed'](_0x226adf);return this[_0xff355a(0x5db,_0x5b052d._0x3be086,0x6a4,_0x5b052d._0x5733c1)](_0x226adf,_0xff355a(_0x5b052d._0x1282a5,0x8a7,0x6f3,0x7e5));}[_0x151cc1(0x407,0x23f,0xfe,0x14d)](_0x592b3f){const _0x68fd30={_0x21637a:0x115,_0x46d306:0x7a2,_0x2f55f7:0x11c,_0x9b213b:0x65,_0x17af0d:0x7c0,_0xbca651:0x971,_0x131b29:0x69d,_0x3c3e66:0x151,_0x1c501b:0x114},_0x2c276c={_0x5669d6:0x679},_0x3e1844={_0x5f2ddb:0x151,_0xe60db6:0x1c};function _0x16b7c2(_0x54e9da,_0x5abfa7,_0x4e8561,_0x35d3f9){return _0x1ac42a(_0x54e9da-_0x3e1844._0x5f2ddb,_0x5abfa7-0xbd,_0x4e8561- -_0x3e1844._0xe60db6,_0x54e9da);}function _0x4c9613(_0x2b1a9e,_0x163442,_0x4569c2,_0x333360){return _0x1ac42a(_0x2b1a9e-0x7a,_0x163442-0xf,_0x2b1a9e-_0x2c276c._0x5669d6,_0x4569c2);}return _0x592b3f['status']===_0x16b7c2(0xb2,-_0x68fd30._0x21637a,0x65,-0xe)?this[_0x4c9613(_0x68fd30._0x46d306,0x780,0x8bf,0x901)](_0x592b3f,_0x592b3f[_0x16b7c2(0x101,-_0x68fd30._0x2f55f7,_0x68fd30._0x9b213b,0xbd)]??_0x4c9613(_0x68fd30._0x17af0d,_0x68fd30._0xbca651,_0x68fd30._0x131b29,0x959)):this['result'](_0x592b3f,_0x16b7c2(_0x68fd30._0x3c3e66,0x296,_0x68fd30._0x1c501b,0x31));}[_0x1ac42a(0x2ab,-0x13,0x129,0xcd)](_0x4317c1,_0xf93f0){const _0x4ae6a4={_0x1818d4:0x38a,_0x1868f8:0x285,_0xd94af:0x135},_0x3cdcb8={_0x53da03:0x35,_0x3d8656:0x15c},_0x400802={_0x28a207:0x4f};function _0x414c55(_0x3061b0,_0x24cdbc,_0x1da123,_0x2fbe04){return _0x1ac42a(_0x3061b0-0xb4,_0x24cdbc-_0x400802._0x28a207,_0x24cdbc-0x318,_0x2fbe04);}_0x4317c1['error']=_0xf93f0;function _0x60cebf(_0x237e47,_0x2530ce,_0x2e9916,_0x4bdf0d){return _0x1ac42a(_0x237e47-_0x3cdcb8._0x53da03,_0x2530ce-0x7d,_0x2e9916-_0x3cdcb8._0x3d8656,_0x4bdf0d);}return this[_0x414c55(0x3c7,0x462,_0x4ae6a4._0x1818d4,0x2bb)](_0x4317c1,_0x60cebf(0x1a5,0x1a4,_0x4ae6a4._0x1868f8,_0x4ae6a4._0xd94af));}[_0x151cc1(0x3ec,0x4c7,0x36a,0x38e)](_0x94861b,_0xf40b55){const _0x1d1f08={_0x255d60:0x331,_0x193425:0x2dc,_0x2a1da3:0x276,_0x3d7fb4:0x3c8,_0x535dfb:0x2ca,_0x471365:0x6dd,_0x4d3f54:0x6d2,_0x382e70:0x228,_0x9510e5:0x251,_0x161c63:0x42,_0x4b170f:0x29d},_0x111bd5={_0x2c317f:0x2a,_0x4edbae:0x153},_0x57571d={_0x5f209c:0x2f0};function _0xdf2cbf(_0x3a176,_0x20d5a9,_0x2788fe,_0x3c623c){return _0x151cc1(_0x3a176-0x16e,_0x2788fe-_0x57571d._0x5f209c,_0x3a176,_0x3c623c-0x1c3);}function _0x3f103c(_0x129173,_0x5ef051,_0x31ee2d,_0x210943){return _0x151cc1(_0x129173-_0x111bd5._0x2c317f,_0x31ee2d- -_0x111bd5._0x4edbae,_0x210943,_0x210943-0x11f);}return{'shellId':_0x94861b[_0x3f103c(0x40a,_0x1d1f08._0x255d60,_0x1d1f08._0x193425,0x388)],'outcome':_0xf40b55,'status':_0x94861b[_0x3f103c(_0x1d1f08._0x2a1da3,_0x1d1f08._0x3d7fb4,0x2b5,0x2f9)],'exitCode':_0x94861b[_0x3f103c(0x125,0x2ea,_0x1d1f08._0x535dfb,0x497)],'signal':_0x94861b['signal'],'error':_0x94861b[_0xdf2cbf(0x6fb,_0x1d1f08._0x471365,0x6ee,_0x1d1f08._0x4d3f54)],'gracefulRequested':_0x94861b[_0x3f103c(_0x1d1f08._0x382e70,0x1e4,_0x1d1f08._0x9510e5,0x37a)],'forceRequested':_0x94861b[_0x3f103c(0x214,-_0x1d1f08._0x161c63,0xd1,_0x1d1f08._0x4b170f)]};}[_0x1ac42a(-0xc1,-0x17f,-0x12f,-0x2a1)](_0x3cdaf4,_0x3f0321){const _0xda59e0={_0x336469:0x5},_0x34a324={_0x31e65e:0x616,_0x1b184b:0x62b,_0x15fc4e:0x817},_0x3719b2={_0x5b0200:0x138,_0x52e03f:0x119};if(_0x3cdaf4[_0x21f836(-0x99,0x17a,0xce,_0xda59e0._0x336469)])return Promise['resolve'](!![]);function _0x21f836(_0x268e15,_0x43820d,_0x40351d,_0x426b7f){return _0x151cc1(_0x268e15-_0x3719b2._0x5b0200,_0x40351d- -_0x3719b2._0x52e03f,_0x268e15,_0x426b7f-0x4e);}return new Promise(_0x5eb744=>{const _0x42394b={_0x59119d:0x18d};function _0x38f7f9(_0x1cf882,_0x509b66,_0xd055d,_0x8e1b59){return _0x21f836(_0x8e1b59,_0x509b66-0xf7,_0x1cf882-0x48b,_0x8e1b59-0x1ba);}let _0x3cd64b=![];function _0x58279f(_0x393ddb,_0x1a5d3c,_0x3b7b9f,_0x39d7de){return _0x21f836(_0x3b7b9f,_0x1a5d3c-0x113,_0x1a5d3c-0x249,_0x39d7de-_0x42394b._0x59119d);}const _0x58bf77=setTimeout(()=>{if(_0x3cd64b)return;_0x3cd64b=!![],_0x5eb744(![]);},_0x3f0321);void _0x3cdaf4[_0x38f7f9(_0x34a324._0x31e65e,0x5b0,_0x34a324._0x1b184b,0x58b)][_0x38f7f9(0x807,_0x34a324._0x15fc4e,0x6bb,0x7b9)](()=>{if(_0x3cd64b)return;_0x3cd64b=!![],clearTimeout(_0x58bf77),_0x5eb744(!![]);});});}['appendDecoded'](_0x3b1ced,_0x4fd53d,_0x249950,_0x2cc3e8){const _0x6dbf0b={_0x156ee7:0x495,_0x2a004e:0x3a8,_0x1a56cd:0x7b7,_0x28ebda:0x7ec},_0x2c09c6={_0x19d5ce:0x197,_0x522e5b:0xd8},_0x5c06ee={_0x2560a5:0x174},_0x4bfc8a=_0x4fd53d[_0x3622c2(_0x6dbf0b._0x156ee7,0x309,0x243,_0x6dbf0b._0x2a004e)](_0x2cc3e8);function _0x5b82f1(_0x1f3226,_0x1b1949,_0x579834,_0x1160be){return _0x1ac42a(_0x1f3226-0x109,_0x1b1949-_0x5c06ee._0x2560a5,_0x1f3226-0x6b4,_0x579834);}function _0x3622c2(_0xbc68a3,_0x2337eb,_0x22e21e,_0x192b72){return _0x151cc1(_0xbc68a3-_0x2c09c6._0x19d5ce,_0x192b72- -_0x2c09c6._0x522e5b,_0x22e21e,_0x192b72-0x8f);}this['append'](_0x3b1ced,_0x3b1ced['stripAnsi']?_0x249950[_0x5b82f1(_0x6dbf0b._0x1a56cd,0x833,0x66a,_0x6dbf0b._0x28ebda)](_0x4bfc8a):_0x4bfc8a);}[_0x1ac42a(-0x255,-0x1c6,-0x194,-0x35b)](_0x59f6da){const _0x4e51ad={_0x1b97e2:0x39,_0xc8ed4:0x40,_0x31c214:0x119,_0x6ed8cb:0x20a,_0x5ef9aa:0x1a9,_0x1cfba6:0x1b8,_0x194cc2:0xb3,_0x4d6643:0x2ca,_0x51dc4f:0x16a,_0x3efb01:0x29,_0x42aacc:0x4b,_0x340bea:0x1ff,_0x4a8a8c:0xf1,_0x33c7dd:0xa6,_0x516fcf:0x82},_0x314bff={_0x461f41:0x1f0},_0x10b664={_0x387c13:0x19e};function _0x3a8057(_0x151d9c,_0x1322c2,_0x28fa60,_0xb3bd8){return _0x151cc1(_0x151d9c-0x2e,_0x1322c2- -0x27b,_0x151d9c,_0xb3bd8-_0x10b664._0x387c13);}this[_0xb4b97d(_0x4e51ad._0x1b97e2,_0x4e51ad._0xc8ed4,_0x4e51ad._0x31c214,_0x4e51ad._0x6ed8cb)](_0x59f6da);function _0xb4b97d(_0x5f35ab,_0x418add,_0x5f16ab,_0x267c46){return _0x151cc1(_0x5f35ab-0x75,_0x418add- -0x39f,_0x5f35ab,_0x267c46-_0x314bff._0x461f41);}!_0x59f6da[_0xb4b97d(-_0x4e51ad._0x5ef9aa,-_0x4e51ad._0x1cfba6,-_0x4e51ad._0x194cc2,-_0x4e51ad._0x4d6643)]&&(_0x59f6da[_0x3a8057(-_0x4e51ad._0x51dc4f,-0x94,0x111,-0x229)]=!![],_0x59f6da[_0xb4b97d(-_0x4e51ad._0x3efb01,-0x1aa,-0x1ca,-_0x4e51ad._0x42aacc)]()),this[_0x3a8057(-_0x4e51ad._0x340bea,-_0x4e51ad._0x4a8a8c,_0x4e51ad._0x33c7dd,-_0x4e51ad._0x516fcf)]();}['flushStreams'](_0x85c290){const _0x548166={_0x162394:0x7e0,_0x52df88:0x829,_0x18f3bc:0x820,_0x24e77c:0x831,_0x3c6dd9:0x729,_0x49b957:0x75e,_0x4f61e5:0x7d9,_0x4201cb:0x8e5,_0x1a9fc2:0x59a,_0x3cf747:0x549,_0x2ff210:0x762,_0x458484:0x520,_0x32d356:0x536,_0x5f12c4:0x589,_0x2904b7:0x563,_0x49b5cc:0x56d,_0x3481f0:0x62b,_0x5673f8:0x808,_0x4b58e4:0x636,_0x9c9c59:0x5b7,_0xd180ac:0x3a9,_0x572ad2:0x4bd,_0x79641:0x468,_0x3b93d6:0x459,_0x1da350:0x531,_0x54a062:0x4b2,_0x6ac1d3:0x70d,_0x58345a:0x3af,_0x4627a2:0x484,_0x4c9b50:0x7b4,_0x572d39:0x8ad,_0x5e9a09:0x80d,_0x42175f:0x8db,_0x5742b5:0x4c0,_0x2ea899:0x41b,_0x130d9e:0x59a,_0x2ced44:0x6f5,_0x5bf0fa:0x403,_0x4ed7f5:0x642},_0x40b854={_0x11792b:0x1e6},_0x40c38a={_0xc6a620:0x257};if(_0x85c290[_0x4f81c0(_0x548166._0x162394,_0x548166._0x52df88,0x93a,_0x548166._0x18f3bc)])return;_0x85c290[_0x4f81c0(0x7e0,0x989,_0x548166._0x24e77c,_0x548166._0x3c6dd9)]=!![];function _0x7041b8(_0x5c23e5,_0x46cb3f,_0x4bfb5d,_0xe08492){return _0x151cc1(_0x5c23e5-0xea,_0x46cb3f-_0x40c38a._0xc6a620,_0x5c23e5,_0xe08492-0x12d);}const _0x1686d5=_0x85c290[_0x4f81c0(_0x548166._0x49b957,_0x548166._0x4f61e5,0x8a1,_0x548166._0x4201cb)][_0x4f81c0(_0x548166._0x1a9fc2,_0x548166._0x3cf747,0x4e8,_0x548166._0x2ff210)]();function _0x4f81c0(_0x3f6dab,_0x4b2739,_0x4601db,_0x275a52){return _0x151cc1(_0x3f6dab-_0x40b854._0x11792b,_0x3f6dab-0x334,_0x275a52,_0x275a52-0xa0);}const _0x1f923b=_0x85c290[_0x4f81c0(0x6c7,0x7e4,0x835,0x560)][_0x4f81c0(_0x548166._0x1a9fc2,0x60b,_0x548166._0x458484,0x44d)]();this[_0x4f81c0(_0x548166._0x32d356,0x5ae,0x675,_0x548166._0x5f12c4)](_0x85c290,_0x85c290[_0x7041b8(_0x548166._0x2904b7,_0x548166._0x49b5cc,_0x548166._0x3481f0,0x4a9)]?_0x85c290[_0x4f81c0(0x6ce,0x55f,0x85e,0x65d)][_0x7041b8(_0x548166._0x5673f8,0x6d7,_0x548166._0x4b58e4,_0x548166._0x9c9c59)](_0x1686d5)+_0x85c290['stdoutNormalizer'][_0x7041b8(_0x548166._0xd180ac,_0x548166._0x572ad2,0x488,_0x548166._0x79641)]():_0x1686d5),this[_0x7041b8(0x3d2,_0x548166._0x3b93d6,_0x548166._0x1da350,0x307)](_0x85c290,_0x85c290[_0x4f81c0(0x64a,_0x548166._0x54a062,0x4a8,_0x548166._0x6ac1d3)]?_0x85c290[_0x7041b8(_0x548166._0x58345a,_0x548166._0x4627a2,0x2f7,0x4ac)][_0x4f81c0(_0x548166._0x4c9b50,_0x548166._0x572d39,_0x548166._0x5e9a09,_0x548166._0x42175f)](_0x1f923b)+_0x85c290[_0x7041b8(_0x548166._0x5742b5,_0x548166._0x4627a2,_0x548166._0x2ea899,0x457)][_0x4f81c0(_0x548166._0x130d9e,_0x548166._0x2ced44,_0x548166._0x5bf0fa,_0x548166._0x4ed7f5)]():_0x1f923b);}['append'](_0x1d6854,_0x842975){const _0x4a824a={_0x42ae54:0x6e4,_0x5922ae:0x846,_0x338898:0x37,_0x30995a:0x3e,_0x2201a1:0x1d8,_0xab72f8:0x46,_0x1eca48:0x440,_0xcfbef1:0x2d6,_0x443543:0x384,_0x56f06c:0x4c,_0x9aeed8:0x34,_0x275e38:0x1a7,_0x547a70:0x134,_0xa7ed67:0x779,_0x70240:0x689,_0x1d9f03:0x5ce,_0x1dfe87:0x205,_0x349c6c:0x11,_0xfba815:0x1d9,_0x4d2f37:0x65f,_0xd4954:0x70f,_0x223109:0x665,_0x26794d:0x53c,_0x591db4:0x3a8,_0x37f8c:0x126,_0x5c98dc:0xa5,_0x3df578:0x1d2},_0x4edee8={_0x2761dc:0x3b};function _0x4cd479(_0x57d430,_0x1863ca,_0x3711e1,_0x1cc345){return _0x1ac42a(_0x57d430-0x1a4,_0x1863ca-0x186,_0x3711e1-0x606,_0x1863ca);}if(_0x842975[_0x4cd479(0x57e,_0x4a824a._0x42ae54,0x70f,_0x4a824a._0x5922ae)]===0x0)return;function _0x3cfb2e(_0x588aaa,_0x238b33,_0x2e5135,_0x4238ac){return _0x1ac42a(_0x588aaa-0x122,_0x238b33-_0x4edee8._0x2761dc,_0x2e5135- -0x50,_0x588aaa);}_0x1d6854[_0x3cfb2e(-_0x4a824a._0x338898,0x1e8,_0x4a824a._0x30995a,_0x4a824a._0x2201a1)][_0x3cfb2e(-_0x4a824a._0xab72f8,0xb0,-0x39,0x91)](_0x842975),_0x1d6854['bufferChars']+=_0x842975['length'],_0x1d6854[_0x4cd479(_0x4a824a._0x1eca48,_0x4a824a._0xcfbef1,0x445,_0x4a824a._0x443543)]+=_0x842975[_0x3cfb2e(-_0x4a824a._0x56f06c,0x281,0xb9,0xee)];while(_0x1d6854[_0x3cfb2e(_0x4a824a._0x9aeed8,_0x4a824a._0x275e38,_0x4a824a._0x547a70,0xc5)]>this[_0x4cd479(0x769,_0x4a824a._0xa7ed67,_0x4a824a._0x70240,_0x4a824a._0x1d9f03)]){const _0x1ff395=_0x1d6854['bufferChars']-this['capChars'],_0x5e881b=_0x1d6854['buffer'][0x0];if(_0x5e881b===void 0x0)break;_0x5e881b[_0x3cfb2e(-0x9c,-0x9f,0xb9,_0x4a824a._0x1dfe87)]<=_0x1ff395?(_0x1d6854[_0x3cfb2e(-_0x4a824a._0x349c6c,0x196,_0x4a824a._0x30995a,_0x4a824a._0xfba815)][_0x4cd479(0x69f,_0x4a824a._0x4d2f37,0x55e,_0x4a824a._0xd4954)](),_0x1d6854['bufferChars']-=_0x5e881b['length'],_0x1d6854[_0x4cd479(_0x4a824a._0x223109,0x679,_0x4a824a._0x26794d,_0x4a824a._0x591db4)]+=_0x5e881b['length']):(_0x1d6854[_0x3cfb2e(0x55,-0x109,_0x4a824a._0x30995a,0x125)][0x0]=_0x5e881b[_0x3cfb2e(-0x1bf,_0x4a824a._0x37f8c,-0x6e,_0x4a824a._0x5c98dc)](_0x1ff395),_0x1d6854['bufferChars']-=_0x1ff395,_0x1d6854[_0x3cfb2e(-_0x4a824a._0x3df578,-0xfb,-0x11a,-0x12c)]+=_0x1ff395);}}['evictIfNeeded'](){const _0xf91e9d={_0x2a1c6b:0x385,_0x5c63e5:0x5d3,_0x5c78ee:0x541,_0x15aa65:0x438,_0x34bae2:0x7d7,_0x3376d8:0x43f,_0x1f6db6:0x373,_0x421ee2:0x676,_0x327900:0x57b,_0x1f2ed5:0x48f,_0x3b58c7:0x3d7,_0x5c0572:0x2d6,_0x4e3067:0x638,_0x2f076c:0x715},_0x37fbb5={_0x5b997a:0x17e},_0x2b98e1={_0x371b6e:0x4e,_0x409aa8:0x1e3,_0x355d17:0xe4};function _0x438bc2(_0x4ee1f9,_0x1e9594,_0x5d53a9,_0x3b5899){return _0x151cc1(_0x4ee1f9-_0x2b98e1._0x371b6e,_0x5d53a9-_0x2b98e1._0x409aa8,_0x4ee1f9,_0x3b5899-_0x2b98e1._0x355d17);}function _0x76048b(_0x26f418,_0x52fb84,_0x4edf30,_0x2cc171){return _0x1ac42a(_0x26f418-0x1de,_0x52fb84-_0x37fbb5._0x5b997a,_0x26f418-0x4fe,_0x4edf30);}while(this[_0x438bc2(_0xf91e9d._0x2a1c6b,_0xf91e9d._0x5c63e5,_0xf91e9d._0x5c78ee,_0xf91e9d._0x15aa65)][_0x76048b(0x665,0x54e,0x817,_0xf91e9d._0x34bae2)]>this['maxEntries']){const _0x3bde48=[...this[_0x76048b(0x4df,_0xf91e9d._0x3376d8,_0xf91e9d._0x1f6db6,0x4ba)]['values']()]['filter'](_0x3e68bb=>_0x3e68bb[_0x438bc2(0x271,0x551,0x3ca,0x3b9)]&&isTerminalStatus(_0x3e68bb['status']))[_0x76048b(0x614,_0xf91e9d._0x421ee2,0x777,0x4b8)]((_0x48d7bb,_0x320400)=>_0x48d7bb[_0x438bc2(0x793,0x54d,0x5cc,0x5c5)]-_0x320400[_0x438bc2(0x502,0x559,0x5cc,0x41a)])[0x0];if(!_0x3bde48)return;this[_0x438bc2(0x449,_0xf91e9d._0x327900,0x541,0x530)][_0x438bc2(_0xf91e9d._0x1f2ed5,0x296,_0xf91e9d._0x3b58c7,_0xf91e9d._0x5c0572)](_0x3bde48[_0x76048b(0x5b0,_0xf91e9d._0x4e3067,0x3f0,_0xf91e9d._0x2f076c)]);}}};function createBashOutputTool(_0x545ae4){const _0x193df9={_0x50a5f2:0x318,_0x530a07:0x1a5,_0x8fd35:0x22d,_0x5e0d63:0x2d6,_0x2b7765:0x349,_0x413083:0x323,_0x413fdf:0x336},_0xdd76e6={_0x56b21f:0x60a,_0x70950c:0x661,_0x442bec:0x4c9,_0x21c6a5:0x352,_0x5c21db:0x44d,_0x179cdb:0x314,_0x2bac1f:0x522,_0x23fce1:0x5dc,_0x48fcf4:0x444,_0x22fcaa:0xc6,_0x37d62e:0x8a,_0x1eef66:0x5d8,_0x20a796:0x38f,_0x2cad7c:0x13,_0x18aad1:0x388,_0x445a68:0x8e,_0x6ef5f6:0x113,_0x2e8df7:0x2e,_0x1cb9df:0x144},_0x3595ea={_0xf632a6:0x1c9,_0x301ff3:0x2ee,_0x5db044:0x1a5},_0x3a3dbe={_0x1df30c:0x1cf,_0x549e32:0x9a};function _0x3e615a(_0x5acf15,_0xa6c480,_0x3b0954,_0x24726a){return _0x1ac42a(_0x5acf15-_0x3a3dbe._0x1df30c,_0xa6c480-_0x3a3dbe._0x549e32,_0xa6c480-0xee,_0x3b0954);}function _0x2f3bf0(_0x2c555b,_0x11ae5a,_0x15d33b,_0x4e7d71){return _0x1ac42a(_0x2c555b-0x39,_0x11ae5a-0xa3,_0x2c555b-0x4ea,_0x4e7d71);}const {registry:_0x3b74e5}=_0x545ae4;return defineTool({'name':'BashOutput','permissionClass':'always-confirm','description':_0x2f3bf0(_0x193df9._0x50a5f2,_0x193df9._0x530a07,0x1a2,_0x193df9._0x8fd35),'inputSchema':{'type':_0x2f3bf0(_0x193df9._0x5e0d63,0x1b9,_0x193df9._0x2b7765,0x179),'properties':{'shellId':{'type':'string'},'regex':{'type':_0x2f3bf0(_0x193df9._0x413083,0x388,0x22c,_0x193df9._0x413fdf)}},'required':['shellId']},async *'execute'(_0x1a0075){const _0x5584df={_0x4328df:0x116};function _0x36837a(_0x475e8b,_0x4a44e3,_0x2ae264,_0xb97b1b){return _0x3e615a(_0x475e8b-0x83,_0x2ae264- -_0x5584df._0x4328df,_0x4a44e3,_0xb97b1b-0xfd);}function _0x3b823a(_0x259360,_0x49bf9b,_0x5c9085,_0x3c1513){return _0x3e615a(_0x259360-_0x3595ea._0xf632a6,_0x5c9085-_0x3595ea._0x301ff3,_0x49bf9b,_0x3c1513-_0x3595ea._0x5db044);}const _0x23b66a=_0x3b74e5[_0x3b823a(_0xdd76e6._0x56b21f,_0xdd76e6._0x70950c,_0xdd76e6._0x442bec,0x3b6)](_0x1a0075['shellId'],_0x1a0075[_0x3b823a(0x33c,0x310,_0xdd76e6._0x21c6a5,0x1c7)]?{'regex':_0x1a0075[_0x3b823a(_0xdd76e6._0x5c21db,0x2df,0x352,_0xdd76e6._0x179cdb)]}:void 0x0);return createToolOutput(_0x23b66a[_0x3b823a(_0xdd76e6._0x2bac1f,_0xdd76e6._0x23fce1,_0xdd76e6._0x48fcf4,0x3c9)],{'shellId':_0x1a0075[_0x36837a(_0xdd76e6._0x22fcaa,0x1f2,_0xdd76e6._0x37d62e,0x108)],'status':_0x23b66a[_0x3b823a(_0xdd76e6._0x1eef66,0x323,0x467,_0xdd76e6._0x20a796)],'exitCode':_0x23b66a[_0x36837a(-_0xdd76e6._0x2cad7c,0x4d,0x78,0x19b)],'signal':_0x23b66a[_0x36837a(-_0xdd76e6._0x18aad1,-_0xdd76e6._0x445a68,-0x221,-0x259)],'error':_0x23b66a[_0x36837a(0xe1,-0xf1,0x59,-0xb7)],'truncated':_0x23b66a[_0x36837a(-0x162,_0xdd76e6._0x6ef5f6,_0xdd76e6._0x2e8df7,-_0xdd76e6._0x1cb9df)]});}});}import{spawn as _0x338aa5}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x17e031 from'os';import*as _0x5dfcea from'path';import{StringDecoder as _0x2678c9}from'string_decoder';import{spawn as _0x1a0c4b}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x593253){return _0x593253 instanceof Error;}function resolveCarriageReturns(_0x20d26d){const _0x3e2d46={_0x360eac:0x94b,_0x283a29:0x712,_0x10d11b:0x69f},_0x3ce58b={_0x34a2c:0x82,_0x303b5b:0x1b0,_0x5f3712:0x138,_0x4ff14b:0x3af,_0x5ac9d9:0x300,_0x15af93:0x252},_0x15542c={_0x7c6e4:0x198,_0x33c19e:0x70},_0x42103e={_0x1f0d15:0x17f,_0x155389:0x9d},_0x15a146={_0x39cb8e:0x370,_0x44a414:0x171};function _0x2d55c8(_0x4b978c,_0x3bc9a3,_0x68ffae,_0x246d4d){return _0x151cc1(_0x4b978c-0x1db,_0x246d4d-_0x15a146._0x39cb8e,_0x4b978c,_0x246d4d-_0x15a146._0x44a414);}function _0x3067f0(_0x16af09,_0x77c484,_0xf8840f,_0xe0fd99){return _0x151cc1(_0x16af09-_0x42103e._0x1f0d15,_0xf8840f- -_0x42103e._0x155389,_0x16af09,_0xe0fd99-0x7d);}return _0x20d26d[_0x2d55c8(0x699,_0x3e2d46._0x360eac,_0x3e2d46._0x283a29,0x7ae)]('\x0a')[_0x2d55c8(0x951,0x6f3,_0x3e2d46._0x10d11b,0x797)](_0x96c803=>{const _0x460b89={_0x3f5bac:0xfb};if(!_0x96c803[_0x100925(0x25c,_0x3ce58b._0x34a2c,_0x3ce58b._0x303b5b,_0x3ce58b._0x5f3712)]('\x0d'))return _0x96c803;function _0x100925(_0x4a238a,_0x289a7b,_0x45d455,_0xc5e061){return _0x3067f0(_0x289a7b,_0x289a7b-_0x15542c._0x7c6e4,_0xc5e061- -_0x15542c._0x33c19e,_0xc5e061-0x66);}function _0x154079(_0x3b0485,_0x36c135,_0x2d42e4,_0x47049b){return _0x3067f0(_0x2d42e4,_0x36c135-_0x460b89._0x3f5bac,_0x47049b- -0x108,_0x47049b-0x46);}const _0x4346de=_0x96c803['split']('\x0d');return _0x4346de[_0x4346de[_0x154079(_0x3ce58b._0x4ff14b,_0x3ce58b._0x5ac9d9,_0x3ce58b._0x15af93,0x2e1)]-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x32c0eb){const _0x238d9f={_0x49948f:0x4d9,_0x58e7f7:0x4a4,_0x579908:0x5b7,_0x6d2bd8:0x511,_0x421536:0x37c,_0x135238:0x679,_0x1a7ccb:0x655},_0x4a655b={_0x479e51:0xe4},_0x26701c={_0xc178bf:0xd3,_0x277976:0x519};function _0x59a802(_0x35c174,_0x6e9db6,_0x5c36a0,_0x2c465d){return _0x1ac42a(_0x35c174-0x13c,_0x6e9db6-_0x26701c._0xc178bf,_0x2c465d-_0x26701c._0x277976,_0x5c36a0);}const _0x35838f=[];for(const _0x207092 of Array[_0x59a802(_0x238d9f._0x49948f,0x3f8,0x50a,0x534)](_0x32c0eb)){_0x207092==='\x08'?_0x35838f[_0x4bb594(0x709,_0x238d9f._0x58e7f7,_0x238d9f._0x579908,_0x238d9f._0x6d2bd8)]():_0x35838f[_0x59a802(0x5bb,_0x238d9f._0x421536,0x3d0,0x530)](_0x207092);}function _0x4bb594(_0x3ec7cb,_0x4db120,_0x58f8a7,_0x159b48){return _0x151cc1(_0x3ec7cb-_0x4a655b._0x479e51,_0x58f8a7-0x31d,_0x3ec7cb,_0x159b48-0x1a7);}return _0x35838f[_0x59a802(0x6d4,0x582,_0x238d9f._0x135238,_0x238d9f._0x1a7ccb)]('');}function stripAnsiAndControls(_0x48ecb1){const _0x9509dd={_0x91ca1b:0xcd,_0x1ad577:0xcc,_0x5daba2:0x1da,_0x4ee32e:0x25b,_0x424fee:0x4d,_0x5e3457:0x28d,_0x45a051:0xff,_0x336f2a:0x3,_0x4b94e5:0x16f,_0x4e000f:0x2d6,_0x437227:0x3d5,_0x1511db:0x277,_0x562080:0x196,_0x175197:0x51,_0x3cd8f5:0xfd,_0x2dad33:0x1d2,_0x5334db:0x58,_0x3c99c0:0x191},_0x550640={_0x1f8d36:0xa6,_0x5ed80f:0xc4},_0x36997b={_0x1daece:0x10f,_0xf3ea0e:0x5};_0x48ecb1=resolveCarriageReturns(_0x48ecb1),_0x48ecb1=resolveBackspaces(_0x48ecb1),_0x48ecb1=stripVTControlCharacters(_0x48ecb1);function _0x4ee20b(_0x419f7c,_0x5e5b37,_0x35d434,_0xee48c2){return _0x151cc1(_0x419f7c-_0x36997b._0x1daece,_0x35d434- -0xd4,_0x419f7c,_0xee48c2-_0x36997b._0xf3ea0e);}const _0x3b961f='\x1b',_0x57fb69='\x07';_0x48ecb1=_0x48ecb1['replace'](new RegExp(_0x4ee20b(_0x9509dd._0x91ca1b,_0x9509dd._0x1ad577,_0x9509dd._0x5daba2,_0x9509dd._0x4ee32e)+_0x57fb69+'\x5cn]*?'+_0x57fb69,'g'),''),_0x48ecb1=_0x48ecb1[_0x4ee20b(_0x9509dd._0x424fee,_0x9509dd._0x5e3457,0xfd,_0x9509dd._0x45a051)](new RegExp(_0x4ee20b(-0x79,_0x9509dd._0x336f2a,0x102,0x8f)+_0x3b961f+'\x5c\x5c','g'),''),_0x48ecb1=_0x48ecb1[_0x4d2b0c(0x380,_0x9509dd._0x4b94e5,0x277,_0x9509dd._0x4e000f)](new RegExp(_0x57fb69,'g'),''),_0x48ecb1=_0x48ecb1['replace'](new RegExp(_0x3b961f+_0x4ee20b(0x1f5,0x36d,0x21a,_0x9509dd._0x437227)+_0x3b961f+'\x5c\x5c','g'),''),_0x48ecb1=_0x48ecb1[_0x4d2b0c(0x189,0x341,_0x9509dd._0x1511db,0x205)](new RegExp(_0x3b961f+'[=>7-8()]','g'),'');function _0x4d2b0c(_0x35a85b,_0x24293f,_0x21f03e,_0x4365be){return _0x151cc1(_0x35a85b-0x88,_0x21f03e-_0x550640._0x1f8d36,_0x4365be,_0x4365be-_0x550640._0x5ed80f);}return _0x48ecb1=_0x48ecb1[_0x4ee20b(_0x9509dd._0x562080,-_0x9509dd._0x175197,_0x9509dd._0x3cd8f5,-0x4e)](/[\u0080-\u009F]/g,''),_0x48ecb1=_0x48ecb1[_0x4d2b0c(0x445,0x194,_0x9509dd._0x1511db,0x108)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x48ecb1=_0x48ecb1[_0x4ee20b(_0x9509dd._0x2dad33,_0x9509dd._0x5334db,0xfd,_0x9509dd._0x3c99c0)](/[\u23CE\u2424]/g,''),_0x48ecb1;}function killProcessGroup(_0x31090c,_0x323c42,_0x270328=_0x151cc1(0x247,0x2a5,0x3fb,0x3ff)){const _0x5baee9={_0x496983:0x6c4,_0x1d65cd:0x520,_0x2b10d5:0x4a5,_0x596b98:0x639,_0x59a7cd:0x4ab,_0x309e87:0x419,_0x1bf3b2:0x618,_0x3cb2f9:0x7a5,_0x10369d:0x654,_0x1f8c9:0x41c},_0x43f77b={_0x2dfe00:0x29,_0x5291a0:0x262},_0x56eb66={_0x5c1fd2:0x11f,_0x23190a:0x1e0};if(!_0x31090c[_0x4d64a2(0x77a,_0x5baee9._0x496983,0x50b,0x654)])return;function _0x229bf6(_0x4bb694,_0xe27327,_0x5474cd,_0x435aa0){return _0x1ac42a(_0x4bb694-_0x56eb66._0x5c1fd2,_0xe27327-_0x56eb66._0x23190a,_0xe27327-0x500,_0x5474cd);}if(_0x323c42)try{_0x1a0c4b('taskkill',[_0x4d64a2(_0x5baee9._0x1d65cd,0x4b5,_0x5baee9._0x2b10d5,0x47d),_0x31090c[_0x4d64a2(0x6d0,_0x5baee9._0x596b98,0x776,0x654)][_0x229bf6(_0x5baee9._0x59a7cd,0x3d2,0x3d1,0x2eb)](),'/T','/F'],{'stdio':_0x4d64a2(_0x5baee9._0x309e87,0x2f0,0x39e,0x453)});return;}catch{_0x31090c['kill'](_0x270328);return;}function _0x4d64a2(_0x853e7e,_0x1b5184,_0x2fdb7d,_0x1ee4b5){return _0x151cc1(_0x853e7e-_0x43f77b._0x2dfe00,_0x1ee4b5-_0x43f77b._0x5291a0,_0x1b5184,_0x1ee4b5-0x162);}try{process[_0x4d64a2(_0x5baee9._0x1bf3b2,0x52f,0x60b,0x541)](-_0x31090c[_0x4d64a2(_0x5baee9._0x3cb2f9,0x75a,0x744,_0x5baee9._0x10369d)],_0x270328);}catch{_0x31090c[_0x4d64a2(0x5a0,_0x5baee9._0x1f8c9,0x643,0x541)](_0x270328);}}import{stat}from'fs/promises';import*as _0x3c902f from'path';function isPathInside(_0x502429,_0x33fa1a){const _0x321164={_0x119529:0x227,_0x4161e9:0x24d},_0x24404a={_0x3f97ff:0xd1,_0x21e14d:0x328};function _0x25f6a4(_0x34242e,_0x13d955,_0x507bb4,_0x577407){return _0x151cc1(_0x34242e-_0x24404a._0x3f97ff,_0x34242e-_0x24404a._0x21e14d,_0x13d955,_0x577407-0x78);}function _0x33e8ff(_0x53eace,_0x425cb1,_0x317713,_0x3a33ad){return _0x151cc1(_0x53eace-0x1aa,_0x53eace- -0x3e,_0x425cb1,_0x3a33ad-0x167);}const _0xa682db=_0x3c902f['resolve'](_0x502429),_0x42b2b1=_0x3c902f[_0x33e8ff(_0x321164._0x119529,0xf8,0x102,0x22c)](_0xa682db,_0x33fa1a);return _0x42b2b1===''||!_0x42b2b1[_0x33e8ff(0x3cf,_0x321164._0x4161e9,0x549,0x2b3)]('..')&&!_0x3c902f[_0x33e8ff(_0x321164._0x4161e9,0x189,0x103,0x2c0)](_0x42b2b1);}function resolveWorkspacePath(_0x59645b,_0x307f66){return resolveAllowedPath(_0x59645b,[],_0x307f66);}function resolveAllowedPath(_0xe7b3ff,_0x577ae6,_0x3b706e){const _0x21f43d={_0x31e862:0x480,_0x241c76:0x52e,_0x1d670d:0x368,_0x2a2925:0x424,_0x7fd14:0x29e,_0x31cf16:0x169,_0x46b4ac:0x1b8,_0x4f793d:0x3f,_0x5ee49b:0xba,_0x1cc733:0x2e0},_0x8376cb={_0x212f56:0x9a},_0x24aee0={_0x416b7d:0xc1,_0x281b7f:0x2dd,_0x4da0a7:0x191};function _0xb211e2(_0x2d4705,_0x1b3f49,_0x15972b,_0xd3603d){return _0x151cc1(_0x2d4705-_0x24aee0._0x416b7d,_0x1b3f49- -_0x24aee0._0x281b7f,_0x15972b,_0xd3603d-_0x24aee0._0x4da0a7);}function _0x57be40(_0x1303b1,_0x51cbd5,_0x51f4fa,_0x38802f){return _0x151cc1(_0x1303b1-0xea,_0x38802f-_0x8376cb._0x212f56,_0x51f4fa,_0x38802f-0x197);}const _0x432884=_0x3c902f[_0x57be40(_0x21f43d._0x31e862,0x26c,_0x21f43d._0x241c76,0x3b5)](_0xe7b3ff),_0x583f55=_0x3c902f[_0x57be40(_0x21f43d._0x1d670d,_0x21f43d._0x2a2925,_0x21f43d._0x7fd14,0x3b5)](_0x432884,_0x3b706e),_0x3207e6=[_0x432884,..._0x577ae6['map'](_0x418707=>_0x3c902f[_0xb211e2(0xff,0x3e,0x10d,-0x31)](_0x418707))];if(_0x3207e6[_0xb211e2(0x137,_0x21f43d._0x31cf16,_0x21f43d._0x46b4ac,_0x21f43d._0x4f793d)](_0x1d9630=>isPathInside(_0x1d9630,_0x583f55)))return _0x583f55;throw new ToolExecutionError(_0x57be40(0x30c,_0x21f43d._0x5ee49b,_0x21f43d._0x1cc733,0x214)+_0x3b706e,{'path':_0x3b706e,'rootDir':_0x432884,'allowedDirs':_0x3207e6});}async function assertWorkspaceFile(_0x471636){const _0x4640c8={_0x4ca71e:0x21f,_0x2a1fb7:0x25e},_0x511afc={_0x13f84c:0x17d,_0x1806d3:0x10e};function _0x4d6567(_0x3899a4,_0x2381ab,_0x5cbbc9,_0x13b4e7){return _0x151cc1(_0x3899a4-_0x511afc._0x13f84c,_0x13b4e7- -0x403,_0x5cbbc9,_0x13b4e7-_0x511afc._0x1806d3);}const _0x57d5cf=await stat(_0x471636);if(!_0x57d5cf[_0x4d6567(_0x4640c8._0x4ca71e,0x258,_0x4640c8._0x2a1fb7,0xc7)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x471636,{'path':_0x471636});}function isProbablyBinary(_0x11d920){const _0x4f85e6={_0x43bc28:0x437,_0x25af95:0x40d},_0x3634c2={_0x14aaed:0xdf,_0x41d6ca:0x1c6};function _0x5ee565(_0x4745e5,_0x4c4580,_0x340fd7,_0x4f5523){return _0x151cc1(_0x4745e5-_0x3634c2._0x14aaed,_0x4f5523-0xd3,_0x340fd7,_0x4f5523-_0x3634c2._0x41d6ca);}return _0x11d920[_0x5ee565(0x20b,_0x4f85e6._0x43bc28,_0x4f85e6._0x25af95,0x318)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x1ac42a(-0x5,-0xac,-0x187,-0x1f0)+DEFAULT_TIMEOUT_MS+'ms.';function buildChildEnv(_0x223abe,_0x9a4259,_0x391e50){const _0x43f1ba={_0x459d2c:0x63,_0x421c18:0x24,_0xd6ede7:0x2fd,_0x804065:0x294,_0x4df158:0x4b1,_0x525cb0:0x557,_0x1008a6:0x236,_0x369933:0x2f2,_0x225f87:0x1c3,_0x3f480d:0x24e,_0x41d1e9:0x516,_0x104e29:0x388,_0x5a77eb:0x248,_0x382a69:0x648,_0x2aed50:0x53e,_0x2910f5:0x190},_0x925deb={_0xb97311:0x1bb,_0x40a1bd:0x507},_0x36ac3e={_0x3aac09:0x164,_0x457ae1:0x1f1};function _0x60ef37(_0x1eb733,_0x51eff1,_0x23da20,_0xf09dad){return _0x151cc1(_0x1eb733-_0x36ac3e._0x3aac09,_0xf09dad- -_0x36ac3e._0x457ae1,_0x51eff1,_0xf09dad-0x10a);}const _0x568805={...process[_0x60ef37(_0x43f1ba._0x459d2c,-_0x43f1ba._0x421c18,0x72,0x14b)],..._0x223abe??{}};function _0x5b883e(_0x5282d5,_0x5b7913,_0x2dae4f,_0x56f535){return _0x1ac42a(_0x5282d5-_0x925deb._0xb97311,_0x5b7913-0x1ae,_0x2dae4f-_0x925deb._0x40a1bd,_0x5b7913);}if(_0x17e031['platform']()===_0x5b883e(_0x43f1ba._0xd6ede7,0x301,0x3bc,_0x43f1ba._0x804065)){const _0x3769e8=new Set(_0x9a4259[_0x5b883e(_0x43f1ba._0x4df158,0x472,0x5b1,_0x43f1ba._0x525cb0)](_0x30dfc5=>_0x30dfc5['toLowerCase']()));for(const _0x15ade3 of Object[_0x60ef37(_0x43f1ba._0x1008a6,0xc0,_0x43f1ba._0x369933,_0x43f1ba._0x225f87)](_0x568805)){if(_0x3769e8['has'](_0x15ade3[_0x5b883e(_0x43f1ba._0x3f480d,_0x43f1ba._0x41d1e9,_0x43f1ba._0x104e29,_0x43f1ba._0x5a77eb)]()))delete _0x568805[_0x15ade3];}}else{for(const _0x5a9cdb of _0x9a4259)delete _0x568805[_0x5a9cdb];if(_0x391e50['length']>0x0)for(const _0x4c88eb of Object[_0x5b883e(0x478,_0x43f1ba._0x382a69,_0x43f1ba._0x2aed50,0x5a3)](_0x568805)){_0x391e50[_0x60ef37(_0x43f1ba._0x2910f5,0x1f7,0xdc,0x255)](_0x54ae1f=>_0x4c88eb[_0x5b883e(0x701,0x6e9,0x597,0x4e3)](_0x54ae1f))&&delete _0x568805[_0x4c88eb];}}return _0x568805;}function mapSpawnError(_0x360709,_0x13c458){const _0x1ce55c={_0x898d24:0x261,_0x182e8c:0x35c,_0x191976:0xfe,_0x191e0d:0x2ac,_0x57c33e:0x16e,_0x54690:0x4f5,_0x19c72d:0x558},_0x129484={_0x5cfb42:0x170},_0x5dba53={_0x3da370:0x1d0};if(isErrnoException(_0x360709)&&_0x360709[_0x14b8d9(0xf1,0x3ed,_0x1ce55c._0x898d24,0x1e2)]===_0x14b8d9(0x2b8,_0x1ce55c._0x182e8c,0x288,_0x1ce55c._0x191976))return new ToolExecutionError(_0x14b8d9(0x2f2,_0x1ce55c._0x191e0d,_0x1ce55c._0x57c33e,-0x3e)+_0x13c458['shellPath'],_0x13c458);function _0x14b8d9(_0x1a81ec,_0x4d114b,_0x2add58,_0x552041){return _0x1ac42a(_0x1a81ec-_0x5dba53._0x3da370,_0x4d114b-0x16f,_0x2add58-0x162,_0x1a81ec);}function _0x33699c(_0x5f5934,_0x210241,_0x179114,_0x448ff5){return _0x151cc1(_0x5f5934-_0x129484._0x5cfb42,_0x5f5934-0x1ba,_0x210241,_0x448ff5-0xff);}return new ToolExecutionError(_0x360709 instanceof Error?_0x360709[_0x33699c(0x648,_0x1ce55c._0x54690,_0x1ce55c._0x19c72d,0x772)]:String(_0x360709),_0x13c458);}function shellExists(_0x18f064){const _0x1eb681={_0x58946f:0x724},_0x851791={_0x36c563:0xc5,_0x172249:0x703};function _0x2290f5(_0x39ea11,_0x3d2ef9,_0xae5e01,_0x5ac9ed){return _0x1ac42a(_0x39ea11-0x57,_0x3d2ef9-_0x851791._0x36c563,_0xae5e01-_0x851791._0x172249,_0x39ea11);}try{const _0x111e7e=statSync(_0x18f064);return _0x111e7e['isFile']()&&(_0x111e7e[_0x2290f5(0x8e0,0x5c2,0x768,_0x1eb681._0x58946f)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x4f3eb8){const _0x523ba6={_0x4cd9ac:0x7ad,_0x1c2f7e:0x6b3,_0x4a9e89:0x523,_0x188460:0x56f,_0x14b2ec:0x59b,_0x2adcd0:0x881,_0xfc6f0a:0x735,_0x2d0add:0x3ae,_0x38bb3f:0x3e6,_0x143047:0x39e,_0x160bad:0x743,_0x392427:0x5b5,_0x4cc809:0x6dd,_0x445e33:0x68f,_0x179cd3:0x1f7,_0x3bfb3c:0x3a9,_0x2bec03:0x4fb,_0x53f30f:0x245},_0x4ac0fe={_0x304a31:0x35,_0xa1b6e9:0x66e},_0x2b8155={_0xc9f358:0x36c};if(_0x4f3eb8)return _0x4f3eb8;function _0xc774b(_0x238776,_0x10d81c,_0x3d1151,_0x5099cf){return _0x1ac42a(_0x238776-0x5f,_0x10d81c-0x195,_0x10d81c-_0x2b8155._0xc9f358,_0x238776);}if(_0x17e031[_0x157a36(_0x523ba6._0x4cd9ac,0x5ef,_0x523ba6._0x1c2f7e,0x6c8)]()===_0x157a36(0x60c,_0x523ba6._0x4a9e89,_0x523ba6._0x188460,_0x523ba6._0x14b2ec))return process[_0x157a36(0x46e,0x62d,0x752,0x75a)][_0x157a36(_0x523ba6._0x2adcd0,_0x523ba6._0xfc6f0a,0x6a9,0x60d)]||'cmd.exe';const _0x2b164e=[_0xc774b(0x2ee,0x3a9,0x1f8,_0x523ba6._0x2d0add),_0xc774b(0x32d,_0x523ba6._0x38bb3f,_0x523ba6._0x143047,0x4bc),_0x157a36(0x855,_0x523ba6._0x160bad,_0x523ba6._0x392427,0x7e2),_0x157a36(0x614,_0x523ba6._0x4cc809,0x64e,0x520)];for(const _0x4a0123 of _0x2b164e){if(shellExists(_0x4a0123))return _0x4a0123;}const _0x4f4908=process[_0x157a36(0x4eb,0x62d,0x7d4,_0x523ba6._0x445e33)][_0xc774b(0x185,0x1c1,_0x523ba6._0x179cd3,0x2fe)];if(_0x4f4908&&shellExists(_0x4f4908))return _0x4f4908;function _0x157a36(_0x5cfcbc,_0x189728,_0x2d197c,_0x31eb1f){return _0x1ac42a(_0x5cfcbc-_0x4ac0fe._0x304a31,_0x189728-0x59,_0x189728-_0x4ac0fe._0xa1b6e9,_0x2d197c);}return _0xc774b(0x2a1,_0x523ba6._0x3bfb3c,_0x523ba6._0x2bec03,_0x523ba6._0x53f30f);}function buildShellArgs(_0x32171a,_0x130d12){const _0x397204={_0x1340ff:0x1ca,_0x15c4da:0x2f1,_0x4cee9a:0x81,_0x1729d4:0x1cb,_0x3c5340:0x189},_0x94e3c3={_0x4e6ce2:0x23e},_0x379197={_0x325899:0x7c,_0x5b46a5:0x5e};function _0x2fe3f2(_0x2fa5a1,_0x5003ba,_0x5bda7f,_0x9e9fcb){return _0x1ac42a(_0x2fa5a1-_0x379197._0x325899,_0x5003ba-_0x379197._0x5b46a5,_0x5bda7f-0x1f7,_0x2fa5a1);}if(_0x17e031[_0x2fe3f2(0x1dc,_0x397204._0x1340ff,0x178,0x241)]()==='win32'){const _0x3b9d59=/cmd(\.exe)?$/i[_0x2fe3f2(_0x397204._0x15c4da,0x26e,0x35c,0x30f)](_0x130d12);return _0x3b9d59?['/d','/s','/c',_0x32171a]:[_0x2fe3f2(0x7c,-0x12e,0x9f,_0x397204._0x4cee9a),_0x2fe3f2(_0x397204._0x1729d4,0x221,0x184,0x32f),_0x2fe3f2(0x16a,0x341,_0x397204._0x3c5340,0x309),_0x32171a];}function _0x10fbbf(_0x2475f1,_0x30af1d,_0x3d95b2,_0x75ee51){return _0x151cc1(_0x2475f1-0x1a,_0x75ee51-_0x94e3c3._0x4e6ce2,_0x30af1d,_0x75ee51-0x7b);}return['-c',_0x32171a];}function resolveWorkingDirectory(_0x44f751,_0x5df0d2,_0x19e914){const _0xf5e8a7={_0x462abc:0x61f,_0x392c21:0x618,_0x167895:0x62a,_0x1e8b86:0x722,_0xd8974c:0x753,_0x2637e5:0x838,_0x1939f4:0x248,_0x5ea72a:0x385,_0x2f7aaa:0x38,_0x473cf2:0xb6,_0x5f4505:0x53},_0x5a652d={_0x1ade51:0x3ae,_0x24fa34:0x443,_0xa9b7bb:0x3a8},_0x38b14a={_0xafec10:0x59,_0x53f378:0x2e4},_0x49c962={_0xaa965b:0x18f,_0xf3cef0:0x1df,_0x45208d:0x194};function _0x3ab3c5(_0x44b507,_0x4f77a6,_0x589063,_0x91f65e){return _0x151cc1(_0x44b507-_0x49c962._0xaa965b,_0x44b507- -_0x49c962._0xf3cef0,_0x4f77a6,_0x91f65e-_0x49c962._0x45208d);}const _0x3f6450=resolveAllowedPath(_0x5df0d2,_0x19e914,_0x44f751??'.');function _0x2066a1(_0x31835e,_0x553d3c,_0x5813c1,_0x4f59e7){return _0x151cc1(_0x31835e-_0x38b14a._0xafec10,_0x4f59e7-_0x38b14a._0x53f378,_0x31835e,_0x4f59e7-0xcf);}try{const _0x26fd25=statSync(_0x3f6450);if(!_0x26fd25[_0x2066a1(_0xf5e8a7._0x462abc,_0xf5e8a7._0x392c21,0x778,_0xf5e8a7._0x167895)]())throw new ToolExecutionError(_0x2066a1(_0xf5e8a7._0x1e8b86,_0xf5e8a7._0xd8974c,_0xf5e8a7._0x2637e5,0x7e1)+_0x3f6450,{'cwd':_0x3f6450});const _0x3c7181=realpathSync(_0x3f6450),_0x14d01e=realpathSync(_0x5df0d2),_0x3fa04a=_0x19e914[_0x3ab3c5(_0xf5e8a7._0x1939f4,_0xf5e8a7._0x5ea72a,0x21e,0x36f)](_0x99b971=>{const _0x2f0a02={_0x415b17:0x128},_0x5ab760={_0x21b4e2:0x66};function _0x5e89b1(_0x22170a,_0x13e76d,_0x2433a3,_0x3c2f4c){return _0x2066a1(_0x2433a3,_0x13e76d-0x18f,_0x2433a3-_0x5ab760._0x21b4e2,_0x22170a- -0x25c);}function _0x17dbdb(_0x5c05f6,_0x450340,_0x3f6970,_0x5661be){return _0x2066a1(_0x3f6970,_0x450340-0x82,_0x3f6970-0x49,_0x5c05f6- -_0x2f0a02._0x415b17);}try{return realpathSync(_0x5dfcea[_0x17dbdb(0x4d7,0x361,_0x5a652d._0x1ade51,_0x5a652d._0x24fa34)](_0x99b971));}catch{return _0x5dfcea[_0x5e89b1(0x3a3,0x27b,_0x5a652d._0xa9b7bb,0x1fb)](_0x99b971);}});return resolveAllowedPath(_0x14d01e,_0x3fa04a,_0x3c7181);}catch(_0x50f1bb){if(_0x50f1bb instanceof ToolExecutionError)throw _0x50f1bb;throw new ToolExecutionError(_0x3ab3c5(-_0xf5e8a7._0x2f7aaa,_0xf5e8a7._0x473cf2,-0x176,-_0xf5e8a7._0x5f4505)+_0x3f6450,{'cwd':_0x3f6450});}}function resolveBashExecutionTarget(_0x143cc1,_0x4f6b3b={}){const _0x1d1c52={_0x4defa4:0x157,_0x2a95e1:0x2cc,_0x5c1869:0x14d,_0x12ac59:0xad,_0x3e6f75:0x3e,_0x44f4a7:0x139,_0x4fb1b2:0x100,_0x470b39:0x172},_0x443937={_0x269cbe:0x81,_0x41dc21:0x1af},_0x3399ff={_0x21aa78:0x10b,_0x26f559:0x191,_0x3a78a4:0x149};function _0x517cd7(_0x9d4181,_0x511627,_0x3869e0,_0x72ff68){return _0x151cc1(_0x9d4181-_0x3399ff._0x21aa78,_0x9d4181- -_0x3399ff._0x26f559,_0x3869e0,_0x72ff68-_0x3399ff._0x3a78a4);}function _0x1eaf56(_0x49616b,_0x25ce8f,_0x2508f4,_0x284446){return _0x1ac42a(_0x49616b-_0x443937._0x269cbe,_0x25ce8f-_0x443937._0x41dc21,_0x284446-0x11a,_0x2508f4);}const _0x3cf486=_0x5dfcea['resolve'](_0x4f6b3b[_0x1eaf56(_0x1d1c52._0x4defa4,0xf7,_0x1d1c52._0x2a95e1,_0x1d1c52._0x5c1869)]??process[_0x1eaf56(-_0x1d1c52._0x12ac59,-_0x1d1c52._0x3e6f75,-0x44,0x34)]()),_0x454244=resolveDefaultShell(_0x4f6b3b[_0x1eaf56(0xac,-_0x1d1c52._0x44f4a7,-_0x1d1c52._0x4fb1b2,0x92)]);return{'command':_0x143cc1[_0x1eaf56(_0x1d1c52._0x470b39,0x1,0xc0,0xd2)],'cwd':resolveWorkingDirectory(_0x143cc1['cwd'],_0x3cf486,_0x4f6b3b['allowedDirs']??[]),'shellPath':_0x454244,'dialect':resolveShellDialect(_0x454244),'background':_0x143cc1['runInBackground']??![]};}function resolveShellDialect(_0x622c58){const _0x4af69b={_0x44a6a2:0x54c,_0x539681:0x705,_0xef6e4c:0x5a4,_0x4574e6:0x5bd,_0x46d141:0x395,_0x2cc694:0x35b,_0x2b7193:0x506,_0xdb7f18:0x4ae,_0x172483:0x556,_0x1f571e:0x570,_0x1e648e:0x538,_0x103e6c:0x588,_0x48acb3:0x444,_0x181a4b:0x5f9,_0x1f9bfa:0x600,_0x2b4784:0x66d},_0x3811ad={_0x2cc6cd:0x372};if(_0x17e031[_0x103d5a(0x497,0x319,0x48b,_0x4af69b._0x44a6a2)]()===_0x376693(_0x4af69b._0x539681,0x726,_0x4af69b._0xef6e4c,_0x4af69b._0x4574e6))return _0x103d5a(0x449,_0x4af69b._0x46d141,0x311,_0x4af69b._0x2cc694);const _0x4a36fc=_0x5dfcea[_0x103d5a(0x607,0x4b6,_0x4af69b._0x2b7193,0x758)](_0x622c58)[_0x376693(_0x4af69b._0xdb7f18,_0x4af69b._0x172483,_0x4af69b._0x1f571e,0x4f1)]();function _0x103d5a(_0x18cc8f,_0xa60467,_0x227ea7,_0x1f59c1){return _0x151cc1(_0x18cc8f-0x19b,_0x18cc8f-0x199,_0x227ea7,_0x1f59c1-0x128);}if(_0x4a36fc===_0x376693(_0x4af69b._0x1e648e,0x59e,0x5a5,0x518))return _0x376693(_0x4af69b._0x103e6c,0x5bd,0x5a5,0x64e);if(_0x4a36fc==='sh'||_0x4a36fc===_0x376693(0x5b7,_0x4af69b._0x48acb3,_0x4af69b._0x181a4b,0x43a))return _0x376693(0x5e6,_0x4af69b._0x1f9bfa,0x648,_0x4af69b._0x2b4784);function _0x376693(_0x3508e7,_0x9d1c03,_0xc63279,_0x3d9f49){return _0x151cc1(_0x3508e7-0x1e4,_0xc63279-_0x3811ad._0x2cc6cd,_0x3508e7,_0x3d9f49-0x11e);}return'unknown';}function emitChunk(_0x16e27d,_0x444227,_0x3a78ed,_0x4ce7ad){const _0x2c6559={_0x59e876:0x9d,_0x31dd07:0xc8,_0x3ef696:0x1a2},_0x295db1={_0x45d41c:0xde,_0x327ffb:0x4e},_0x1f6bf8={_0x5305f1:0x86};_0x16e27d[_0x5d4b17(0x71,0x254,_0x2c6559._0x59e876,0x159)](_0x3a78ed),_0x444227[_0x5d4b17(-_0x2c6559._0x31dd07,_0x2c6559._0x3ef696,0x9d,-0x8a)](_0x3a78ed);function _0x5d4b17(_0x339015,_0x1d6ca8,_0x2a3322,_0x595e92){return _0x1ac42a(_0x339015-0xfb,_0x1d6ca8-0x19c,_0x2a3322-_0x1f6bf8._0x5305f1,_0x595e92);}function _0x48eec9(_0x570ce5,_0x58aea2,_0x5161b0,_0x52b67b){return _0x151cc1(_0x570ce5-_0x295db1._0x45d41c,_0x5161b0- -0x40c,_0x58aea2,_0x52b67b-_0x295db1._0x327ffb);}_0x4ce7ad();}function appendChunk(_0x401ce0,_0x4e8d07,_0x4cfa92,_0x52884b,_0x355a3d,_0x5d2804){const _0x279035={_0x2efd72:0x390,_0x3e0a93:0x29c,_0x417ea6:0x210,_0x30a430:0x334,_0x52b147:0x2d5,_0x4e8f49:0x131,_0x584be2:0xfa,_0x236c80:0x415,_0x455682:0x4f2,_0x48d26f:0x546,_0x319b1a:0x5c7,_0x193fc3:0x5d7,_0x533de0:0xc7,_0xa9caf8:0xc4,_0x3538ca:0x8e,_0x36e025:0x50f,_0x4b5b76:0x2f5,_0x38f61f:0x4d0,_0x136b5b:0x415,_0x5e97cf:0x2e0,_0x2d61c2:0x253},_0x10a2d0={_0x32bc55:0x265,_0x3acafa:0x133},_0x4d8810={_0x56dea7:0x31d},_0x2f6499=_0x52884b?stripAnsiAndControls(_0x4cfa92):_0x4cfa92;if(_0x2f6499[_0x51a47b(0x426,0x501,_0x279035._0x2efd72,_0x279035._0x3e0a93)]===0x0)return;function _0x51a47b(_0x25bd08,_0x14525f,_0x51dd02,_0x31dac5){return _0x1ac42a(_0x25bd08-0xdd,_0x14525f-0x1a8,_0x25bd08-_0x4d8810._0x56dea7,_0x51dd02);}if(!_0x5d2804){emitChunk(_0x401ce0,_0x4e8d07,_0x2f6499,_0x355a3d);return;}function _0x1ab7df(_0x20f4dd,_0x13c3f3,_0x49837e,_0x50cea9){return _0x151cc1(_0x20f4dd-0xe2,_0x50cea9- -_0x10a2d0._0x32bc55,_0x20f4dd,_0x50cea9-_0x10a2d0._0x3acafa);}let _0x4a0476=0x0,_0x1fcf10=_0x2f6499['indexOf']('\x0a');while(_0x1fcf10>=0x0){_0x5d2804[_0x1ab7df(0x1a7,0x3d1,0x16b,_0x279035._0x417ea6)][_0x51a47b(_0x279035._0x30a430,_0x279035._0x52b147,0x2ff,0x38c)](_0x2f6499[_0x1ab7df(-0xd4,0x37,_0x279035._0x4e8f49,_0x279035._0x584be2)](_0x4a0476,_0x1fcf10));const _0x17ae5b=_0x5d2804[_0x51a47b(_0x279035._0x236c80,_0x279035._0x455682,_0x279035._0x48d26f,0x564)][_0x51a47b(0x459,0x46f,_0x279035._0x319b1a,0x45c)]('');_0x5d2804[_0x51a47b(0x415,_0x279035._0x193fc3,0x469,0x4b6)]['length']=0x0,_0x5d2804[_0x1ab7df(_0x279035._0x533de0,-_0x279035._0xa9caf8,0xc8,_0x279035._0x3538ca)][_0x51a47b(0x482,_0x279035._0x36e025,0x4df,0x643)](_0x17ae5b)&&emitChunk(_0x401ce0,_0x4e8d07,_0x17ae5b+'\x0a',_0x355a3d),_0x4a0476=_0x1fcf10+0x1,_0x1fcf10=_0x2f6499[_0x51a47b(0x1eb,_0x279035._0x4b5b76,0x26d,0x37c)]('\x0a',_0x4a0476);}_0x4a0476<_0x2f6499[_0x51a47b(0x426,0x56a,0x373,_0x279035._0x38f61f)]&&_0x5d2804[_0x51a47b(_0x279035._0x136b5b,_0x279035._0x5e97cf,0x2d7,0x5ae)][_0x51a47b(_0x279035._0x30a430,_0x279035._0x2d61c2,0x2c7,0x27c)](_0x2f6499['slice'](_0x4a0476));}function flushOutputRegex(_0x54ec21,_0x4ee01a,_0x1074c2,_0x116d3e){const _0x238bd7={_0x33a76d:0x54e,_0x459fa2:0x40b,_0x3f36cd:0x333,_0x37fd93:0x1e5,_0x14619e:0x703,_0x432393:0x6dc,_0x4b96b0:0x5b8,_0x162b67:0x703,_0x58c390:0x7d2,_0x5c3db7:0x80c},_0x1243ef={_0x1e6439:0x1cb,_0x291c6f:0x28e},_0x20cd7d={_0x58ea00:0x12f,_0x5c7f0f:0x153};if(!_0x1074c2||_0x1074c2[_0x137a2(0x703,_0x238bd7._0x33a76d,0x67e,0x678)][_0xab971c(_0x238bd7._0x459fa2,0x264,_0x238bd7._0x3f36cd,_0x238bd7._0x37fd93)]===0x0)return;function _0xab971c(_0xee9968,_0x396e78,_0x304047,_0x128ff4){return _0x151cc1(_0xee9968-_0x20cd7d._0x58ea00,_0x304047- -_0x20cd7d._0x5c7f0f,_0xee9968,_0x128ff4-0x10f);}const _0x38ab18=_0x1074c2[_0x137a2(_0x238bd7._0x14619e,0x546,_0x238bd7._0x432393,_0x238bd7._0x4b96b0)]['join']('');_0x1074c2[_0x137a2(_0x238bd7._0x162b67,0x6c6,_0x238bd7._0x58c390,_0x238bd7._0x5c3db7)]['length']=0x0;function _0x137a2(_0x1921bf,_0x880390,_0x1f7b18,_0x3758ee){return _0x151cc1(_0x1921bf-_0x1243ef._0x1e6439,_0x1921bf-_0x1243ef._0x291c6f,_0x3758ee,_0x3758ee-0x1b9);}_0x1074c2['regex']['test'](_0x38ab18)&&emitChunk(_0x54ec21,_0x4ee01a,_0x38ab18,_0x116d3e);}function createBashTool(_0x5a9bb2={}){const _0x4cf081={_0x236b9a:0xa9,_0x23f530:0x167,_0x39b0d4:0xf1,_0x292649:0x102,_0x39fe96:0x1fa,_0x1dafb8:0xe5,_0x314a59:0x21b,_0x5d77d3:0x368,_0xee45f5:0x3ef,_0x750f1c:0x2fd,_0x29f085:0x14c,_0x22910e:0x2bb,_0x159569:0x15d,_0x5a447f:0x1a2,_0x4db7ea:0x21,_0x209f92:0x1c5,_0x4cb13f:0x199,_0x1c4add:0x4a,_0x267c2e:0x17b,_0x9d656f:0x25,_0x12d303:0x21,_0x55f76c:0xb4,_0x28cc56:0x113,_0x28a407:0x56,_0x126db2:0xc6,_0x2325e7:0x137,_0x25feef:0x1be,_0xd91e44:0xf9},_0x44f999={_0x2a4791:0x34f,_0x4e4b40:0x253,_0x2b9c5b:0x43e,_0x325f30:0x382,_0x493c78:0x606,_0x118481:0x6be,_0x4276bd:0x762,_0x1a0ea1:0x3f2,_0x4302c8:0x38e,_0x5b5430:0x33b,_0x49a58d:0x4ca,_0x5d3944:0x6ef,_0x53d3b7:0x5e8,_0x11771f:0x6c9,_0xc632d:0x4b5,_0x2d1d8e:0x4fc,_0x480bf5:0x3d5,_0xed281b:0x6d0,_0x26c8e8:0x890,_0x383ee3:0x72e,_0x4caa2c:0x690,_0x8ef48c:0x58d,_0x4f6dc6:0x447,_0x3a911e:0x4ec,_0x19bc78:0x5c4,_0x30a271:0x518,_0x5512ce:0x5bd,_0x33e945:0x663,_0x5259dd:0x7c2,_0x5c5217:0x51a,_0x18d784:0x413,_0x38721c:0x3c8,_0x1ee3eb:0x3ca,_0x69b021:0x4c1,_0x2d79c4:0x3c2,_0x5a8867:0x334,_0x8c475a:0x351,_0x4ff31c:0x39b,_0x34daea:0x5ae,_0x2f0961:0x458,_0x5c4cd7:0x454,_0x277d43:0x557,_0x407067:0x438,_0x2d7803:0x2f2,_0x11ee8c:0x6c9,_0x2c2fa1:0x76b,_0x19b1e8:0x599,_0x4475b8:0x475,_0xe1b8d4:0x676,_0x2eed7f:0x334,_0x42856f:0x424,_0x65b3de:0x64a,_0x156e43:0x79f,_0x13aef6:0x95c,_0x2a3012:0x825,_0x2c3b15:0x653,_0x5890f7:0x3df,_0x51b87c:0x5a9,_0x412f93:0x4e8,_0x1fb9b8:0x4bb,_0xb885e8:0x74c,_0x559166:0xa4a,_0x4b3a4c:0x7c3,_0x361fcb:0x626,_0x1584f8:0x62f,_0x593d90:0x54a,_0x1bca55:0x51d,_0x3bb898:0x5cf,_0x2f51c2:0x72e,_0x59b202:0x5c6,_0x485c34:0x8b8,_0x9635d2:0x631,_0x14e7b1:0x71b,_0x3e92b5:0x9ce,_0x1eb5d3:0x632,_0x189776:0x384,_0x12ee21:0x35b,_0x30e970:0x747,_0x29022a:0x454,_0xcff294:0x69b,_0x29a25b:0x872,_0x25c633:0x709,_0x36d9cb:0x728,_0x1d7cae:0x7d0,_0x1f5c2a:0x539,_0x473f28:0x7b1,_0x285fd7:0x5da,_0xcfb23b:0x3b8,_0x4282f3:0x4e2,_0x45f6b4:0x585,_0x33e389:0x43e,_0x432e39:0x444,_0x4bf14c:0x585,_0x4752bc:0x404,_0x16141e:0x71e,_0x1e7638:0x468,_0x1a048e:0x5a7,_0x2eadba:0x3e5,_0x311c2d:0x7a0,_0x497f1b:0x762,_0x5549a2:0x754,_0x4fc4ae:0x5ba,_0x43485c:0x5e1,_0x543bd6:0x490,_0x14a5a0:0x4d2,_0x4a44f1:0x4cb,_0x159698:0x63d,_0x25df4c:0x669,_0x148fe3:0x764,_0x33ca6:0x7e1,_0x20ef76:0x540,_0x4c22fc:0x593,_0x26ea3c:0x670,_0x4fa723:0x64e,_0x4e3397:0x58e,_0x3cd72f:0x77c,_0x4c754e:0x7d5,_0x85a1df:0x622,_0x27091e:0x633,_0x3ba26e:0x625,_0x7fa4cd:0x6d9,_0x3f63be:0x804,_0x2f4030:0x94f,_0x3f5314:0x633,_0xb88098:0x561,_0x257245:0x7ee,_0x3b773a:0x811,_0x19bb63:0x691,_0x145a20:0x5d7,_0x4e3407:0x6ab,_0x4d073f:0x4c9,_0x1bb9f8:0x52f,_0x31d4e8:0x531,_0x171c77:0x4bf,_0x41c231:0x648,_0x39675d:0x2ee,_0x1666a3:0x426,_0x36707b:0x559,_0x9fa8cb:0x4cc,_0x4dbc50:0x3cd,_0x4965be:0x599,_0x3652ab:0x3ed,_0x17ee84:0x664,_0x973c9:0x810,_0x19ad4e:0x655},_0x50819b={_0x512294:0x149,_0x31de51:0x380,_0x596854:0x143,_0x33badc:0x44c},_0x9cebd2={_0x9e4f:0x1d7},_0x30d560=_0x5dfcea[_0xfc1546(_0x4cf081._0x236b9a,-0xe0,-_0x4cf081._0x23f530,0x40)](_0x5a9bb2['defaultCwd']??process[_0x11e3fe(_0x4cf081._0x39b0d4,0x12d,0x133,_0x4cf081._0x292649)]()),_0x3eea0e=_0x5a9bb2['allowedDirs']??[],_0x87e11d=_0x5a9bb2[_0x11e3fe(0x250,_0x4cf081._0x39fe96,0x485,0x2f3)]??DEFAULT_TIMEOUT_MS,_0x52525f=_0x5a9bb2[_0xfc1546(0xd0,-_0x4cf081._0x1dafb8,-0x265,-_0x4cf081._0x314a59)]??!![],_0xc44508=_0x5a9bb2[_0x11e3fe(0xce,_0x4cf081._0x5d77d3,_0x4cf081._0xee45f5,0x27a)]??'Bash',_0x3f23a7=_0x5a9bb2[_0xfc1546(-0x1ba,-0x1dc,-_0x4cf081._0x750f1c,-0xc9)]??[],_0x2639fe=_0x5a9bb2['scrubEnvPrefixes']??[],_0xe0b09e=_0x5a9bb2['backgroundRegistry'];function _0xfc1546(_0x511f40,_0x53a2bf,_0x326b4d,_0x59bbf7){return _0x151cc1(_0x511f40-0x94,_0x53a2bf- -0x3fb,_0x326b4d,_0x59bbf7-_0x9cebd2._0x9e4f);}function _0x11e3fe(_0x4d8f2d,_0x1571c2,_0x247fb3,_0xeb153b){return _0x151cc1(_0x4d8f2d-0xb2,_0xeb153b- -0x195,_0x1571c2,_0xeb153b-0x117);}return defineTool({'name':_0xc44508,'permissionClass':_0x11e3fe(_0x4cf081._0x29f085,0x121,_0x4cf081._0x22910e,0x1cf),'description':_0x5a9bb2[_0x11e3fe(-0xbc,0x195,_0x4cf081._0x159569,0xf9)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':_0x11e3fe(-0xe1,_0x4cf081._0x5a447f,0x19d,_0x4cf081._0x4db7ea)},'description':{'type':_0xfc1546(-0x3b8,-0x245,-_0x4cf081._0x209f92,-0x3ca),'description':_0xfc1546(-_0x4cf081._0x4cb13f,-_0x4cf081._0x1c4add,0xa8,0x13e)},'cwd':{'type':_0x11e3fe(-_0x4cf081._0x267c2e,-_0x4cf081._0x9d656f,-0x54,_0x4cf081._0x12d303)},'timeoutMs':{'type':_0x11e3fe(0x2c1,0x280,0x176,0x32a)},'ignoreOutput':{'type':'boolean'},'outputRegex':{'type':_0x11e3fe(0x1e0,-_0x4cf081._0x55f76c,_0x4cf081._0x28cc56,0x21),'description':'For\x20foreground\x20runs,\x20return\x20only\x20complete\x20stdout/stderr\x20lines\x20matching\x20this\x20regex;\x20exit\x20status\x20is\x20unchanged.'},'runInBackground':{'type':'boolean'}},'required':[_0xfc1546(-_0x4cf081._0x28a407,-_0x4cf081._0x126db2,-_0x4cf081._0x2325e7,0x1c),_0x11e3fe(0xf8,_0x4cf081._0x25feef,-0x26,_0x4cf081._0xd91e44)]},async *'execute'(_0x1bb016,_0x47680a){const _0x41f239={_0x58ffdd:0xa4,_0x281aca:0x88,_0x5e964b:0x121,_0x4c2ff1:0x6ed,_0x51d2e4:0x73d,_0x488681:0x721,_0x1d30ff:0x8a,_0x212834:0x204,_0x53ec4c:0xd},_0xfb4b4b={_0x20115f:0x73e,_0x473f33:0x111},_0x1d27cf={_0x430dd5:0x138,_0x2a0b3f:0x188},_0x47156e={_0x37330e:0x8b},_0x101fd6={_0x25abb7:0x143,_0x39681e:0x11a},_0x59f78b={_0x54ac24:0x5b6,_0x1d7154:0xf0,_0x3dd66e:0xf6},_0x4b9917={_0x4763eb:0xe5},_0x3a1459={_0x3fce5a:0x592,_0x5d36bc:0xdf},_0x2bf08e={_0x25f57f:0x66a,_0x1be286:0x73e,_0xe5c3fa:0x86f},_0x14bf35={_0x5e012d:0x22,_0x1b61e4:0x19e},_0x352a57=_0x1bb016[_0x2f361e(_0x44f999._0x2a4791,_0x44f999._0x4e4b40,_0x44f999._0x2b9c5b,_0x44f999._0x325f30)]??_0x87e11d;if(!Number[_0x2f361e(0x541,_0x44f999._0x493c78,_0x44f999._0x118481,0x4b4)](_0x352a57)||_0x352a57<0x1)throw new ToolExecutionError(_0x2f361e(0x669,0x76a,0x4b9,_0x44f999._0x4276bd),{'command':_0x1bb016[_0x2f361e(0x4ec,_0x44f999._0x1a0ea1,_0x44f999._0x4302c8,0x4bb)]});throwIfAborted(_0x47680a[_0x2f361e(_0x44f999._0x5b5430,0x40e,0x1c1,0x1f6)]);const _0x483b47=_0x1bb016[_0xdf27a4(0x636,_0x44f999._0x49a58d,0x5e2,_0x44f999._0x5d3944)]??![],_0x354bf3=resolveBashExecutionTarget(_0x1bb016,{'defaultCwd':_0x30d560,'allowedDirs':_0x3eea0e,'shellPath':_0x5a9bb2[_0x2f361e(0x4ac,0x362,_0x44f999._0x53d3b7,0x404)]}),{cwd:_0x4987fd,shellPath:_0x5d1d7d}=_0x354bf3,_0x2ffbbb=buildShellArgs(_0x1bb016[_0xdf27a4(_0x44f999._0x11771f,0x52a,0x511,0x758)],_0x5d1d7d),_0x378fda=_0x17e031[_0x2f361e(_0x44f999._0xc632d,_0x44f999._0x2d1d8e,0x3a7,_0x44f999._0x480bf5)]()==='win32',_0x4ef472=buildChildEnv(_0x5a9bb2[_0xdf27a4(_0x44f999._0xed281b,_0x44f999._0x26c8e8,_0x44f999._0x383ee3,0x76d)],_0x3f23a7,_0x2639fe);if(_0x1bb016[_0x2f361e(0x5f0,_0x44f999._0x4caa2c,0x4d7,0x73e)]){if(!_0xe0b09e)throw new ToolExecutionError(_0x2f361e(0x59e,0x719,_0x44f999._0x8ef48c,_0x44f999._0x4f6dc6),{'command':_0x1bb016[_0x2f361e(_0x44f999._0x3a911e,0x3e5,_0x44f999._0x19bc78,0x5b7)]});throwIfAborted(_0x47680a[_0xdf27a4(_0x44f999._0x30a271,_0x44f999._0x5512ce,0x5c4,_0x44f999._0x33e945)]),await _0x5a9bb2[_0xdf27a4(0x7bf,_0x44f999._0x5259dd,0x61d,0x874)]?.(_0x354bf3,_0x47680a[_0x2f361e(_0x44f999._0x5c5217,0x3e4,0x5d8,0x5af)],_0x47680a),throwIfAborted(_0x47680a[_0x2f361e(0x33b,_0x44f999._0x18d784,0x45e,0x1f7)]);const _0x127883=_0xe0b09e['reserve']();let _0x559a82;try{_0x559a82=_0x338aa5(_0x5d1d7d,_0x2ffbbb,{'cwd':_0x4987fd,'env':_0x4ef472,'stdio':[_0x2f361e(0x3a8,0x523,0x37c,_0x44f999._0x38721c),'pipe',_0x2f361e(_0x44f999._0x1ee3eb,_0x44f999._0x69b021,0x448,_0x44f999._0x2d79c4)],'shell':![],'windowsHide':!![],'detached':!_0x378fda});}catch(_0x218436){_0xe0b09e[_0x2f361e(_0x44f999._0x5a8867,_0x44f999._0x8c475a,0x348,_0x44f999._0x4ff31c)](_0x127883);throw mapSpawnError(_0x218436,{'command':_0x1bb016[_0x2f361e(0x4ec,_0x44f999._0x34daea,_0x44f999._0x2f0961,0x510)],'cwd':_0x4987fd,'shellPath':_0x5d1d7d});}let _0x34daf9;try{_0x34daf9=_0xe0b09e[_0x2f361e(_0x44f999._0x5c4cd7,_0x44f999._0x277d43,_0x44f999._0x407067,_0x44f999._0x2d7803)](_0x127883,{'child':_0x559a82,'command':_0x1bb016[_0xdf27a4(_0x44f999._0x11ee8c,0x85f,_0x44f999._0x2c2fa1,_0x44f999._0x19b1e8)],'cwd':_0x4987fd,'stripAnsi':_0x52525f,...!_0x378fda&&_0x559a82[_0x2f361e(0x5a9,_0x44f999._0x4475b8,0x441,_0x44f999._0xe1b8d4)]!==void 0x0?{'processGroupId':_0x559a82['pid']}:{}});}catch(_0x2a6dbb){_0xe0b09e[_0x2f361e(_0x44f999._0x2eed7f,0x2ce,_0x44f999._0x42856f,0x3f3)](_0x127883),_0x559a82[_0xdf27a4(0x7c6,_0x44f999._0x65b3de,_0x44f999._0x156e43,_0x44f999._0x13aef6)](_0xdf27a4(0x792,_0x44f999._0x2a3012,0x5e1,0x81d),()=>{});try{killProcessGroup(_0x559a82,_0x378fda);}catch{}throw _0x2a6dbb;}return createToolOutput('Started\x20background\x20process\x20'+_0x34daf9[_0x2f361e(0x5e6,_0x44f999._0x2c3b15,0x6d4,0x4dd)]+_0x2f361e(_0x44f999._0x5890f7,0x3a8,0x3e2,0x48d)+(_0x34daf9[_0x2f361e(_0x44f999._0x51b87c,0x570,_0x44f999._0x412f93,_0x44f999._0x1fb9b8)]??'?')+_0xdf27a4(0x896,_0x44f999._0xb885e8,0xa63,_0x44f999._0x559166),{'shellId':_0x34daf9[_0xdf27a4(_0x44f999._0x4b3a4c,_0x44f999._0x361fcb,0x6ba,0x98b)],'status':_0x34daf9[_0x2f361e(0x5bf,_0x44f999._0x1584f8,0x537,_0x44f999._0x593d90)],'command':_0x34daf9[_0x2f361e(0x4ec,_0x44f999._0x1bca55,0x4ac,0x56a)],'description':_0x1bb016[_0xdf27a4(0x622,0x6c7,_0x44f999._0x3bb898,_0x44f999._0x2f51c2)],'cwd':_0x34daf9['cwd'],'pid':_0x34daf9[_0xdf27a4(0x786,_0x44f999._0x59b202,0x84b,_0x44f999._0x485c34)]??null});}function _0x2f361e(_0x14c7dc,_0x3bf4fd,_0x3eea46,_0x1d8a8b){return _0xfc1546(_0x14c7dc-0x14e,_0x14c7dc-0x5b2,_0x1d8a8b,_0x1d8a8b-0x97);}let _0x2f4de9,_0x1571d4;if(_0x1bb016[_0x2f361e(0x695,0x5be,_0x44f999._0x9635d2,_0x44f999._0x14e7b1)]!==void 0x0)try{const _0x71f8e4=new RegExp(_0x1bb016[_0xdf27a4(0x872,0x741,0x819,_0x44f999._0x3e92b5)]);_0x2f4de9={'regex':_0x71f8e4,'trailingChunks':[]},_0x1571d4={'regex':_0x71f8e4,'trailingChunks':[]};}catch(_0x10ac60){throw new ToolExecutionError(_0x2f361e(0x4e2,_0x44f999._0x1eb5d3,_0x44f999._0x189776,_0x44f999._0x12ee21)+(_0x10ac60 instanceof Error?_0x10ac60[_0x2f361e(0x645,0x481,_0x44f999._0x30e970,0x479)]:String(_0x10ac60)),{'command':_0x1bb016[_0x2f361e(0x4ec,_0x44f999._0x29022a,_0x44f999._0xcff294,0x496)],'outputRegex':_0x1bb016[_0xdf27a4(_0x44f999._0x29a25b,_0x44f999._0x25c633,_0x44f999._0x36d9cb,_0x44f999._0x1d7cae)]});}await _0x5a9bb2['verifyExecution']?.(_0x354bf3,_0x47680a[_0xdf27a4(0x6f7,_0x44f999._0x1f5c2a,_0x44f999._0x473f28,_0x44f999._0x285fd7)],_0x47680a),throwIfAborted(_0x47680a[_0xdf27a4(_0x44f999._0x30a271,0x570,_0x44f999._0xcfb23b,0x358)]);let _0x27fd17;function _0xdf27a4(_0x2449e9,_0x21ab8b,_0x1d9f49,_0x51bca){return _0xfc1546(_0x2449e9-_0x14bf35._0x5e012d,_0x2449e9-0x78f,_0x51bca,_0x51bca-_0x14bf35._0x1b61e4);}try{_0x27fd17=_0x338aa5(_0x5d1d7d,_0x2ffbbb,{'cwd':_0x4987fd,'env':_0x4ef472,'stdio':_0x483b47?[_0x2f361e(0x3a8,_0x44f999._0x4282f3,0x536,0x460),_0xdf27a4(_0x44f999._0x45f6b4,0x66d,_0x44f999._0x33e389,_0x44f999._0x432e39),_0xdf27a4(_0x44f999._0x4bf14c,_0x44f999._0x4752bc,_0x44f999._0x16141e,_0x44f999._0x1e7638)]:['ignore',_0xdf27a4(_0x44f999._0x1a048e,0x3e7,0x542,0x56d),_0x2f361e(_0x44f999._0x1ee3eb,0x291,_0x44f999._0x2d7803,_0x44f999._0x2eadba)],'shell':![],'windowsHide':!![],'detached':!_0x378fda});}catch(_0x5f52bb){throw mapSpawnError(_0x5f52bb,{'command':_0x1bb016[_0xdf27a4(0x6c9,_0x44f999._0x311c2d,0x7ad,_0x44f999._0x497f1b)],'cwd':_0x4987fd,'shellPath':_0x5d1d7d});}const _0x566678=[],_0x65fe69=[],_0x4bb757=new _0x2678c9(_0x2f361e(0x6a3,_0x44f999._0x5549a2,0x82a,_0x44f999._0x4fc4ae)),_0x4a468b=new _0x2678c9('utf8');let _0x357fc0,_0x3d6ac4=![],_0x31906e;const _0xce3e77=()=>{if(!_0x357fc0)return;const _0x4b391b=_0x357fc0;_0x357fc0=void 0x0,_0x4b391b();},_0x44c65a=async()=>{const _0x259026={_0x3c602e:0x101,_0x5da91f:0x96};function _0x1a0063(_0x55532a,_0x3dc479,_0x3e2a9e,_0x4d1dda){return _0x2f361e(_0x3e2a9e-_0x259026._0x3c602e,_0x3dc479-0x12a,_0x3e2a9e-_0x259026._0x5da91f,_0x55532a);}if(_0x65fe69[_0x1a0063(0x60f,_0x2bf08e._0x25f57f,_0x2bf08e._0x1be286,_0x2bf08e._0xe5c3fa)]>0x0||_0x3d6ac4)return;await new Promise(_0x546649=>{_0x357fc0=_0x546649;});},_0x5d86ad=_0x37d1ca=>{function _0xa0c6be(_0x4ac44e,_0x45d321,_0x3f48b6,_0x35b48e){return _0x2f361e(_0x35b48e- -_0x3a1459._0x3fce5a,_0x45d321-0x14f,_0x3f48b6-_0x3a1459._0x5d36bc,_0x45d321);}appendChunk(_0x566678,_0x65fe69,_0x4bb757[_0xa0c6be(0x250,0x13d,-_0x4b9917._0x4763eb,0xa5)](_0x37d1ca),_0x52525f,_0xce3e77,_0x2f4de9);},_0x44093e=_0x32f559=>{function _0x389a23(_0x3269cc,_0xe029b8,_0x2e21ab,_0x1e5c77){return _0x2f361e(_0x3269cc- -_0x59f78b._0x54ac24,_0xe029b8-_0x59f78b._0x1d7154,_0x2e21ab-_0x59f78b._0x3dd66e,_0x2e21ab);}appendChunk(_0x566678,_0x65fe69,_0x4a468b[_0x389a23(0x81,_0x101fd6._0x25abb7,-_0x101fd6._0x39681e,-0x8)](_0x32f559),_0x52525f,_0xce3e77,_0x1571d4);};_0x27fd17['stdout']?.['on']('data',_0x5d86ad),_0x27fd17[_0x2f361e(0x533,_0x44f999._0x43485c,_0x44f999._0x543bd6,0x394)]?.['on'](_0x2f361e(_0x44f999._0x4ff31c,0x52c,0x479,0x25e),_0x44093e);let _0x2e0fb3=![],_0x26c1ad;const _0x4fdcaf=addAbortListener(_0x47680a[_0xdf27a4(_0x44f999._0x30a271,_0x44f999._0x14a5a0,_0x44f999._0x4a44f1,0x5c8)],()=>{const _0x19a9b8={_0x1e8e0b:0x4d8,_0x352151:0x1d8};_0x31906e=toAbortError(_0x47680a[_0x439d1c(_0x50819b._0x512294,_0x50819b._0x31de51,_0x50819b._0x596854,0x229)][_0x439d1c(_0x50819b._0x33badc,0x397,0x24c,0x35b)]);function _0x477aa8(_0x554fe3,_0x446253,_0x1b48f7,_0x469d1b){return _0xdf27a4(_0x469d1b- -_0x19a9b8._0x1e8e0b,_0x446253-0x5,_0x1b48f7-_0x19a9b8._0x352151,_0x554fe3);}_0x3d6ac4=!![],_0xce3e77();function _0x439d1c(_0x5d456f,_0x577f6f,_0x5a9d36,_0x381bfc){return _0xdf27a4(_0x381bfc- -0x2ef,_0x577f6f-0x15f,_0x5a9d36-_0x47156e._0x37330e,_0x5a9d36);}try{killProcessGroup(_0x27fd17,_0x378fda);}catch{}});try{const _0x287c89=new Promise((_0x14fc74,_0x829f9d)=>{const _0x29b85c={_0x3c9d62:0x329,_0x59bdc0:0x31e,_0x2e1a2d:0x31a,_0x3fb9ff:0x427,_0x326b4f:0x162,_0x263305:0x36a},_0x4f5927={_0x45753f:0x39a},_0x595676={_0x5b4af2:0x103},_0x5e73eb={_0x174a80:0x1aa,_0x2a4708:0x30f,_0x18f646:0x196,_0x5ee701:0x111},_0x4e425b={_0x526d40:0x2d,_0x5e3d8a:0x1e7,_0x4b51f8:0x9c,_0x58ca8d:0x47,_0x181135:0x100,_0x3e139e:0x108},_0x399b90={_0x5755d7:0x13d},_0x578213={_0x292da3:0x20e};function _0x419fb8(_0x14281a,_0x681275,_0x44fc29,_0x65fa33){return _0x2f361e(_0x44fc29-_0x1d27cf._0x430dd5,_0x681275-0x112,_0x44fc29-_0x1d27cf._0x2a0b3f,_0x65fa33);}const _0x480683=()=>{_0x26c1ad&&(clearTimeout(_0x26c1ad),_0x26c1ad=void 0x0);function _0x3aae91(_0x4d220e,_0xc93c97,_0x2287cf,_0x152515){return _0x5041(_0x152515- -_0x578213._0x292da3,_0xc93c97);}_0x27fd17[_0x3aae91(_0x4e425b._0x526d40,-_0x4e425b._0x5e3d8a,0x4e,-_0x4e425b._0x4b51f8)](_0x3aae91(_0x4e425b._0x58ca8d,_0x4e425b._0x181135,_0x4e425b._0x3e139e,0x19d),_0x6e3756);function _0x142b7e(_0x3ec8b5,_0x56a985,_0x2a2335,_0x404e61){return _0x5041(_0x3ec8b5- -_0x399b90._0x5755d7,_0x56a985);}_0x27fd17['off']('close',_0x2f35c4);},_0x6e3756=_0x33ba15=>{_0x3d6ac4=!![],_0xce3e77(),_0x480683(),_0x829f9d(_0x31906e??_0x33ba15);},_0x2f35c4=(_0x1a4df4,_0x26e91f)=>{function _0x28b523(_0x392d5f,_0x4f77cd,_0xd4caa1,_0x1764f0){return _0x5041(_0xd4caa1- -0x392,_0x4f77cd);}_0x2e0fb3=!![],appendChunk(_0x566678,_0x65fe69,_0x4bb757[_0x13ebeb(_0x5e73eb._0x174a80,_0x5e73eb._0x2a4708,_0x5e73eb._0x18f646,0x371)](),_0x52525f,_0xce3e77,_0x2f4de9),appendChunk(_0x566678,_0x65fe69,_0x4a468b[_0x28b523(-_0x5e73eb._0x5ee701,-0x164,-0x17f,-0x215)](),_0x52525f,_0xce3e77,_0x1571d4),flushOutputRegex(_0x566678,_0x65fe69,_0x2f4de9,_0xce3e77),flushOutputRegex(_0x566678,_0x65fe69,_0x1571d4,_0xce3e77),_0x3d6ac4=!![],_0xce3e77(),_0x480683();function _0x13ebeb(_0x132e4a,_0x437532,_0x5c91f8,_0x3b3f29){return _0x5041(_0x132e4a- -0x69,_0x5c91f8);}if(_0x31906e){_0x829f9d(_0x31906e);return;}_0x14fc74({'code':_0x1a4df4,'signal':_0x26e91f});};_0x26c1ad=setTimeout(()=>{_0x3d6ac4=!![],_0xce3e77();function _0x3a9b88(_0x38f7cb,_0xacbb1d,_0x421804,_0x5ea997){return _0x5041(_0x421804- -_0x595676._0x5b4af2,_0x38f7cb);}_0x480683();try{killProcessGroup(_0x27fd17,_0x378fda);}catch{}function _0xb1faf0(_0x227c56,_0x2c353c,_0xf13d87,_0x180d97){return _0x5041(_0x227c56-_0x4f5927._0x45753f,_0x2c353c);}_0x829f9d(new ToolExecutionError(_0x3a9b88(0x296,0x188,_0x29b85c._0x3c9d62,0x1d7)+_0x352a57+_0x3a9b88(0x155,_0x29b85c._0x59bdc0,_0x29b85c._0x2e1a2d,_0x29b85c._0x3fb9ff),{'command':_0x1bb016[_0x3a9b88(_0x29b85c._0x326b4f,_0x29b85c._0x263305,0x1df,0x104)],'cwd':_0x4987fd,'shellPath':_0x5d1d7d,'timeoutMs':_0x352a57,'timedOut':!![]}));},_0x352a57),_0x27fd17[_0x2bccc9(0x65,_0x41f239._0x58ffdd,_0x41f239._0x281aca,_0x41f239._0x5e964b)](_0x419fb8(0x77c,0x532,_0x41f239._0x4c2ff1,0x696),_0x6e3756);function _0x2bccc9(_0x2af39c,_0x110668,_0x318ba6,_0x9e573b){return _0xdf27a4(_0x318ba6- -_0xfb4b4b._0x20115f,_0x110668-0xdd,_0x318ba6-_0xfb4b4b._0x473f33,_0x110668);}_0x27fd17[_0x419fb8(_0x41f239._0x51d2e4,0x64e,_0x41f239._0x488681,0x5f3)](_0x2bccc9(-_0x41f239._0x1d30ff,_0x41f239._0x212834,0x112,-_0x41f239._0x53ec4c),_0x2f35c4);});while(_0x65fe69[_0x2f361e(_0x44f999._0x159698,0x797,0x701,0x5e4)]>0x0||!_0x3d6ac4){if(_0x65fe69['length']===0x0){await _0x44c65a();continue;}const _0xe3380e=_0x65fe69[_0xdf27a4(_0x44f999._0x25df4c,_0x44f999._0x148fe3,_0x44f999._0x33ca6,0x7d6)]();_0xe3380e!==void 0x0&&(yield _0xe3380e);}const _0x1471eb=await _0x287c89,_0x230fe2=_0x483b47?_0xdf27a4(0x699,_0x44f999._0x20ef76,_0x44f999._0x4c22fc,0x772)+(_0x1471eb['code']??0x0):_0x566678[_0x2f361e(_0x44f999._0x26ea3c,_0x44f999._0x4fa723,_0x44f999._0x4e3397,_0x44f999._0x159698)](''),_0x1616a0={'command':_0x1bb016[_0xdf27a4(0x6c9,_0x44f999._0x3cd72f,0x87e,_0x44f999._0x4c754e)],'description':_0x1bb016[_0xdf27a4(_0x44f999._0x85a1df,0x4f5,0x76f,0x786)],'cwd':_0x4987fd,'exitCode':_0x1471eb[_0x2f361e(_0x44f999._0x27091e,_0x44f999._0x3ba26e,0x624,0x7d6)]??0x0,'signal':_0x1471eb['signal'],'ignoreOutput':_0x483b47,'outputRegex':_0x1bb016[_0xdf27a4(0x872,_0x44f999._0x7fa4cd,_0x44f999._0x3f63be,_0x44f999._0x2f4030)]??null,'shellPath':_0x5d1d7d,'timeoutMs':_0x352a57};if(_0x1471eb[_0x2f361e(_0x44f999._0x3f5314,0x7a0,_0x44f999._0xb88098,0x50d)]!==0x0)throw new ToolExecutionError(_0x230fe2||'Command\x20exited\x20with\x20code\x20'+(_0x1471eb[_0x2f361e(0x633,_0x44f999._0x257245,0x6b6,0x4c5)]??0x0),_0x1616a0);return createToolOutput(_0x230fe2,_0x1616a0);}catch(_0x2fc4f9){while(_0x65fe69[_0xdf27a4(0x81a,_0x44f999._0x3b773a,_0x44f999._0x19bb63,0x782)]>0x0){const _0x3d1fd3=_0x65fe69[_0x2f361e(0x48c,0x3e3,0x380,_0x44f999._0x145a20)]();_0x3d1fd3!==void 0x0&&(yield _0x3d1fd3);}if(_0x2fc4f9 instanceof ToolExecutionError)throw _0x2fc4f9;if(_0x31906e)throw _0x31906e;throw mapSpawnError(_0x2fc4f9,{'command':_0x1bb016[_0x2f361e(0x4ec,_0x44f999._0x4e3407,_0x44f999._0x4d073f,_0x44f999._0x1bb9f8)],'cwd':_0x4987fd,'shellPath':_0x5d1d7d});}finally{_0x26c1ad&&clearTimeout(_0x26c1ad);_0x4fdcaf(),_0x27fd17[_0x2f361e(_0x44f999._0x31d4e8,_0x44f999._0x171c77,_0x44f999._0x41c231,_0x44f999._0x51b87c)]?.[_0x2f361e(0x37c,0x4c1,_0x44f999._0x39675d,_0x44f999._0x1666a3)](_0xdf27a4(0x578,0x6db,0x620,0x514),_0x5d86ad),_0x27fd17['stderr']?.[_0xdf27a4(_0x44f999._0x36707b,0x53b,_0x44f999._0x9fa8cb,0x4eb)](_0xdf27a4(0x578,0x608,_0x44f999._0x4dbc50,_0x44f999._0x4965be),_0x44093e);if(!_0x2e0fb3&&_0x27fd17[_0x2f361e(_0x44f999._0x51b87c,0x654,_0x44f999._0x3652ab,0x59b)]&&!_0x27fd17[_0x2f361e(_0x44f999._0x17ee84,_0x44f999._0x973c9,0x4b0,_0x44f999._0x19ad4e)])try{killProcessGroup(_0x27fd17,_0x378fda);}catch{}}}});}function createShellExecTool(_0x51676a={}){return createBashTool(_0x51676a);}import{readdir,readFile as _0x19b8a9}from'fs/promises';import{extname,join as _0x32d60b}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x333f03,join,relative as _0x2b5bb8,resolve as _0x342c56}from'path';import{readdir as _0x84d130,readFile as _0x55579b}from'fs/promises';import{join as _0x2811b3,relative as _0x35fecd,sep}from'path';import{delimiter}from'path';import{mkdir as _0x10fe7e,rm,stat as _0x4d5d12,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x16f75f}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x21aa97,rename as _0x1e4c2d,rm as _0x2006d7,stat as _0x2fa415,writeFile as _0x1b5ae4}from'fs/promises';import{homedir as _0x3b6c47}from'os';import{dirname as _0x27d45c,isAbsolute as _0x158d7d,join as _0xd5346b,resolve as _0xee1678}from'path';import{parse as _0x29fa68,stringify as _0x3f2794}from'yaml';import{randomUUID as _0x10fb22}from'crypto';import{cp,lstat,mkdir as _0x16c6b5,readdir as _0x25c9b7,readFile as _0x3d1283,rename,rm as _0x254a88,writeFile as _0x2f549c}from'fs/promises';import{homedir}from'os';import{join as _0xa64e0}from'path';import{parse as _0x2a4e07,stringify as _0x39e62a}from'yaml';import{z}from'zod';import{readdir as _0x3d2400,readFile as _0x22cede}from'fs/promises';import{join as _0x58db13}from'path';import{randomUUID as _0x368b5a}from'crypto';import{mkdir as _0x20d217,readdir as _0x43fd0a,readFile as _0x1484e6,rename as _0x185f42,rm as _0x34e9ce,writeFile as _0x41c887}from'fs/promises';import{homedir as _0x3e7b42}from'os';import{basename as _0x326a98,isAbsolute as _0x2a4556,join as _0x361db4,relative as _0x1872ec,resolve as _0x4531c4}from'path';import{parse as _0x1650a4,stringify as _0x1595e8}from'yaml';import{delimiter as _0x3dd8dd,resolve as _0x25cc7d}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0xd694d9){const _0x201365={_0x91d822:0x488,_0x2bd3cc:0x2d0,_0x36f772:0x3e8,_0x1b7a75:0x2a0,_0x2cbdb7:0x1c5,_0xcdfbba:0x2cb,_0x1fc202:0x347,_0x559de1:0x240,_0x50be10:0x32c,_0x7b6cd0:0x1fd,_0x1db8f8:0x26d},_0x5a88b1={_0x1e18d4:0x70,_0x114750:0x138},_0x3d40f8={_0x388d1d:0x18f,_0x3d3769:0x1b6,_0x5d8386:0x182};function _0x5832e8(_0x42a927,_0x3cd11f,_0x19d587,_0xd75259){return _0x151cc1(_0x42a927-_0x3d40f8._0x388d1d,_0x19d587- -_0x3d40f8._0x3d3769,_0x3cd11f,_0xd75259-_0x3d40f8._0x5d8386);}const _0xfee63=[];let _0x384cfd='',_0x26bebe=0x0;while(_0x26bebe<_0xd694d9['length']){const _0x3a8770=_0xd694d9[_0x26bebe];if(_0x3a8770==='\x5c'&&_0x26bebe+0x1<_0xd694d9[_0x5832e8(_0x201365._0x91d822,0x2cf,_0x201365._0x2bd3cc,_0x201365._0x36f772)])_0x384cfd+=_0xd694d9[_0x26bebe+0x1],_0x26bebe+=0x2;else{if(_0x3a8770==='\x22'||_0x3a8770==='\x27'){const _0x410689=_0x3a8770;_0x26bebe++;while(_0x26bebe<_0xd694d9[_0x5832e8(_0x201365._0x1b7a75,0x11c,_0x201365._0x2bd3cc,_0x201365._0x2cbdb7)]&&_0xd694d9[_0x26bebe]!==_0x410689){_0xd694d9[_0x26bebe]==='\x5c'&&_0x26bebe+0x1<_0xd694d9[_0x1f7f71(0x416,_0x201365._0xcdfbba,0x454,0x51e)]?(_0x384cfd+=_0xd694d9[_0x26bebe+0x1],_0x26bebe+=0x2):(_0x384cfd+=_0xd694d9[_0x26bebe],_0x26bebe++);}_0x26bebe++;}else _0x3a8770!==void 0x0&&/\s/[_0x5832e8(_0x201365._0x1fc202,_0x201365._0x559de1,_0x201365._0x50be10,_0x201365._0x7b6cd0)](_0x3a8770)?(_0x384cfd&&(_0xfee63[_0x5832e8(_0x201365._0x1db8f8,0x7c,0x1de,0x2cf)](_0x384cfd),_0x384cfd=''),_0x26bebe++):(_0x384cfd+=_0x3a8770,_0x26bebe++);}}if(_0x384cfd)_0xfee63['push'](_0x384cfd);function _0x1f7f71(_0x388188,_0x501691,_0x35dcfc,_0xe9679b){return _0x151cc1(_0x388188-0x1b,_0x388188- -_0x5a88b1._0x1e18d4,_0xe9679b,_0xe9679b-_0x5a88b1._0x114750);}return _0xfee63;}function renderCommandInstructions(_0x47b86d){const _0x144aa9={_0x360f6f:0x79,_0x33a6da:0x1b4,_0x2250ac:0x793,_0x1d481b:0x68e,_0x3f9c8e:0x677,_0x4d214a:0x36c,_0xb875c5:0x49e,_0x3c37bd:0x411,_0x38d2fe:0x56a,_0x33988b:0x37e,_0x2bf27b:0x10e,_0x35c8f3:0x2a1,_0x504042:0x76c,_0x1183d5:0x675,_0x1e5ce8:0x17,_0x45950b:0x196,_0x1ac2ef:0x126,_0x1d8122:0x3be,_0x45d0cf:0x1f3,_0x53a3d3:0x2a0,_0x200e96:0x5b8,_0x5d30ed:0x61c,_0x562848:0x36e,_0x223626:0x3a3,_0x37ab0c:0x361,_0x379713:0x75,_0x55a1fa:0x292},_0x1f52fc={_0x29bbfa:0x70,_0x4cc168:0x1d},_0x370a89={_0x440d92:0x52,_0x158814:0x56c};let _0x2ec27c=_0x47b86d[_0x12fd39(-_0x144aa9._0x360f6f,-_0x144aa9._0x33a6da,-0x158,-0x92)],_0x2cb1f4=![];const _0x593294=tokenizeCommandArguments(_0x47b86d[_0x396d10(_0x144aa9._0x2250ac,0x78c,_0x144aa9._0x1d481b,_0x144aa9._0x3f9c8e)]);function _0x396d10(_0x4d615a,_0x337643,_0x262d8c,_0x759b6e){return _0x1ac42a(_0x4d615a-_0x370a89._0x440d92,_0x337643-0x25,_0x262d8c-_0x370a89._0x158814,_0x759b6e);}_0x2ec27c=_0x2ec27c[_0x396d10(0x451,_0x144aa9._0x4d214a,0x3c0,_0x144aa9._0xb875c5)](/\$ARGUMENTS\[(\d+)\]/g,(_0x33ecc2,_0x4bc1dc)=>{return _0x2cb1f4=!![],_0x593294[Number(_0x4bc1dc)]??'';}),_0x2ec27c=_0x2ec27c[_0x396d10(_0x144aa9._0x3c37bd,_0x144aa9._0x38d2fe,0x3c0,_0x144aa9._0x33988b)](/\$ARGUMENTS\b/g,()=>{return _0x2cb1f4=!![],_0x47b86d['argumentsText'];});if(_0x47b86d['argumentNames']&&_0x47b86d[_0x12fd39(-_0x144aa9._0x2bf27b,-0x16e,-0x191,-_0x144aa9._0x35c8f3)][_0x396d10(0x753,_0x144aa9._0x504042,_0x144aa9._0x1183d5,0x67c)]>0x0)for(let _0x9fbb37=0x0;_0x9fbb37<_0x47b86d[_0x12fd39(-0x125,-0x172,-0x191,-_0x144aa9._0x1e5ce8)][_0x12fd39(0x2df,_0x144aa9._0x45950b,_0x144aa9._0x1ac2ef,0x184)];_0x9fbb37++){const _0x574c0a=_0x47b86d[_0x396d10(0x319,0x3fc,_0x144aa9._0x1d8122,_0x144aa9._0x45d0cf)][_0x9fbb37];if(_0x574c0a){const _0x51f460=new RegExp('\x5c$'+_0x574c0a+'\x5cb','g');_0x2ec27c=_0x2ec27c[_0x396d10(0x4ab,_0x144aa9._0x53a3d3,0x3c0,0x460)](_0x51f460,()=>{return _0x2cb1f4=!![],_0x593294[_0x9fbb37]??'';});}}_0x2ec27c=_0x2ec27c['replace'](/\$(\d+)\b/g,(_0x110198,_0x89316f)=>{return _0x2cb1f4=!![],_0x593294[Number(_0x89316f)]??'';});function _0x12fd39(_0x1327b9,_0x2ee101,_0x2703cc,_0x47f712){return _0x1ac42a(_0x1327b9-_0x1f52fc._0x29bbfa,_0x2ee101-0x12c,_0x2703cc-_0x1f52fc._0x4cc168,_0x47f712);}return!_0x2cb1f4&&_0x47b86d['argumentsText'][_0x396d10(_0x144aa9._0x200e96,0x5a1,_0x144aa9._0x5d30ed,0x700)]()&&(_0x2ec27c=_0x2ec27c+_0x396d10(_0x144aa9._0x562848,_0x144aa9._0x223626,_0x144aa9._0x37ab0c,0x20c)+_0x47b86d[_0x12fd39(-_0x144aa9._0x379713,0xbd,0x13f,_0x144aa9._0x55a1fa)]),_0x2ec27c;}var PROVIDER_API_KEY_ENVS=[{'env':_0x151cc1(0x516,0x47b,0x3fd,0x56e),'provider':_0x1ac42a(-0x2e,-0xf8,0x6b,-0x51)},{'env':_0x1ac42a(-0xb1,0x11f,0xd7,0xed),'provider':_0x151cc1(0x265,0x23b,0x96,0x234)},{'env':'GITHUB_ACCESS_TOKEN','provider':_0x151cc1(0x525,0x508,0x3b9,0x364)},{'env':'GITHUB_TOKEN','provider':_0x151cc1(0x3e4,0x508,0x47c,0x51e)},{'env':_0x151cc1(0x3ad,0x421,0x2a8,0x4c1),'provider':_0x1ac42a(0x4f,-0x129,0x4,-0x18a)},{'env':_0x1ac42a(0xf9,-0xaa,-0x57,0x12f),'provider':'deepinfra'},{'env':_0x1ac42a(-0x2ca,-0xa4,-0x1a9,-0x160),'provider':_0x1ac42a(-0x154,0x54,-0x33,0x99)},{'env':_0x151cc1(0x3fe,0x426,0x536,0x560),'provider':_0x151cc1(0x2c,0x1df,0x67,0x147)},{'env':_0x151cc1(0x32e,0x280,0x2ff,0x2ee),'provider':_0x151cc1(0x458,0x35d,0x250,0x2a2)},{'env':_0x1ac42a(-0x8d,-0xf1,-0x13a,0x27),'provider':_0x1ac42a(0x219,0x177,0x14f,0xc8)},{'env':_0x1ac42a(0x27b,-0x3d,0x15e,0x22b),'provider':_0x1ac42a(-0x279,-0x10d,-0x179,-0x2fa)},{'env':_0x1ac42a(0x1ab,0xe1,0x4a,-0xdb),'provider':_0x151cc1(0x5ea,0x4f4,0x5c5,0x545)},{'env':'OPENCODE_API_KEY','provider':'opencode-go'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS['map'](_0x78fdd=>_0x78fdd[_0x1ac42a(-0x208,-0x1c2,-0x41,0x1)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY',_0x151cc1(0x242,0x2e0,0x496,0x2f3),_0x151cc1(0x10a,0x227,0x335,0x224)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,'BASH_ENV',_0x151cc1(0x19a,0x186,0x20a,0x121),'SHELLOPTS',_0x1ac42a(-0x158,0x2a,-0xe1,-0x2d),_0x151cc1(0x613,0x506,0x5fd,0x50e),_0x151cc1(0x4a0,0x3b8,0x2dd,0x209)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object[_0x1ac42a(0x16d,0x219,0xef,0x12b)]),_0x151cc1(0x5f5,0x46c,0x2f7,0x56b)]);function prototypeSafeRecord(_0x2776b2){const _0x5f2bed={_0xcb1ff:0x68a,_0x180ca6:0x774,_0x59e631:0x7db,_0x5c827b:0x42,_0x3b6213:0xce,_0x249d50:0x93,_0x19f81b:0x3b},_0x1b7499={_0x109693:0x527,_0x26a406:0x52f,_0x2690e3:0x702,_0x529784:0x650,_0x231140:0x809,_0xcd742a:0x6a9,_0x1672d1:0x698},_0x348bd7={_0x1d286e:0x73},_0x32a116={_0x4d76cd:0x9b},_0x3a94c9={_0x427261:0x6b,_0x37a91b:0x284,_0x1a1ab6:0x38},_0x267873={_0x1cdd20:0x1c0,_0x287c86:0x6eb};function _0x269684(_0xdb258f,_0x46f5f7,_0x147fdb,_0x583ccb){return _0x1ac42a(_0xdb258f-0x162,_0x46f5f7-_0x267873._0x1cdd20,_0x583ccb-_0x267873._0x287c86,_0x147fdb);}function _0x2e3ba1(_0x365f30,_0xb29142,_0x1bbec9,_0x2ebac1){return _0x151cc1(_0x365f30-_0x3a94c9._0x427261,_0x2ebac1- -_0x3a94c9._0x37a91b,_0xb29142,_0x2ebac1-_0x3a94c9._0x1a1ab6);}return z[_0x269684(0x454,0x42f,0x647,0x57d)](_0x227e37=>{if(_0x227e37===null||typeof _0x227e37!=='object'||Array[_0x5d3996(_0x1b7499._0x109693,0x4ff,_0x1b7499._0x26a406,0x6b9)](_0x227e37))return null;const _0x116bd8=Object['getPrototypeOf'](_0x227e37);if(_0x116bd8!==Object[_0x3b30a3(_0x1b7499._0x2690e3,0x850,0x7b7,_0x1b7499._0x529784)]&&_0x116bd8!==null)return null;function _0x5d3996(_0x564969,_0x2539a6,_0xb10174,_0x581056){return _0x269684(_0x564969-0x12a,_0x2539a6-0x180,_0xb10174,_0x564969- -_0x32a116._0x4d76cd);}function _0x3b30a3(_0xb4c494,_0x48117e,_0x39be0f,_0x10ba6c){return _0x269684(_0xb4c494-_0x348bd7._0x1d286e,_0x48117e-0xf0,_0x10ba6c,_0x39be0f- -0x23);}return{'entries':Object[_0x3b30a3(0x6ec,_0x1b7499._0x231140,_0x1b7499._0xcd742a,_0x1b7499._0x1672d1)](_0x227e37)};},z[_0x269684(0x605,0x310,_0x5f2bed._0xcb1ff,0x4d7)]({'entries':z[_0x269684(0x5b6,0x8ad,0x72d,_0x5f2bed._0x180ca6)](z[_0x269684(0x6db,_0x5f2bed._0x59e631,0x6d7,0x834)]([z[_0x2e3ba1(-0x8f,-_0x5f2bed._0x5c827b,0xa9,-_0x5f2bed._0x3b6213)](),_0x2776b2]))}))[_0x2e3ba1(-_0x5f2bed._0x249d50,0xf1,-0x87,_0x5f2bed._0x19f81b)](({entries:_0x10c852})=>Object[_0x269684(0x5b9,0x6fd,0x73c,0x5f3)](_0x10c852));}var chatModelAuthSchemeSchema=z[_0x151cc1(0x14f,0x21a,0x28b,0x337)]([_0x1ac42a(-0x244,-0x20d,-0xde,-0x280),_0x1ac42a(-0x36f,-0xc1,-0x1b4,-0x336)]),apiKeyAuthSchema=z[_0x1ac42a(-0x22e,-0x2af,-0x214,-0x2d3)]({'type':z[_0x151cc1(0x58c,0x423,0x4a5,0x4f9)](_0x1ac42a(0xc0,0x170,0x151,0xd9)),'apiKey':z[_0x151cc1(0x371,0x1b6,0x2f0,0x171)](),'authScheme':chatModelAuthSchemeSchema[_0x151cc1(0x534,0x4a0,0x569,0x37d)]()})[_0x151cc1(0x249,0x256,0x204,0x125)](),oauthAuthSchema=z[_0x151cc1(0x19c,0x169,-0x1c,0x2be)]({'type':z[_0x1ac42a(0x4a,0xc8,0xa6,-0xcd)](_0x151cc1(0x24c,0x405,0x281,0x5a2)),'access':z[_0x1ac42a(-0x2b9,-0x1e1,-0x1c7,-0x2a7)](),'refresh':z[_0x1ac42a(-0x239,-0x33f,-0x1c7,-0x37d)](),'expires':z['number']()[_0x1ac42a(0x2cf,0x2e2,0x123,0x25e)](),'authScheme':chatModelAuthSchemeSchema[_0x1ac42a(0x138,0x2c5,0x123,0x19c)]()})[_0x1ac42a(0x95,0x24,-0x127,-0x22b)](),finiteNonNegative=z['number']()[_0x151cc1(0x49b,0x359,0x1be,0x4a4)]()[_0x1ac42a(0x34,0x13d,0x5c,-0x151)](),chatGptAuthSchema=z[_0x1ac42a(-0xca,-0x22d,-0x214,-0x49)]({'type':z[_0x151cc1(0x5d7,0x423,0x41e,0x26d)](_0x1ac42a(-0x19e,-0x2c2,-0x1de,-0xec)),'access':z[_0x151cc1(0x14c,0x1b6,0x377,0x374)]()[_0x151cc1(0x434,0x3db,0x450,0x47f)](0x1),'refresh':z[_0x1ac42a(-0x35e,-0x206,-0x1c7,-0x1ee)]()[_0x1ac42a(0x113,-0x21,0x5e,-0x61)](0x1),'idToken':z['string']()['min'](0x1),'accountId':z[_0x151cc1(0x25c,0x1b6,0x308,0x201)]()[_0x1ac42a(0xfc,0x204,0x5e,0x1e)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x1ac42a(0x77,0x2b9,0x123,0x267)]()})[_0x1ac42a(-0x209,-0xea,-0x127,-0x1f5)](),authMethodSchema=z['union']([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z['enum']([_0x1ac42a(0x2ea,0x135,0x173,-0x33),_0x151cc1(0x46,0x18b,0x335,0x1d1),_0x151cc1(0x31b,0x200,0x3b9,0x2a9),'high','xhigh','max']),reasoningOptionSchema=z[_0x1ac42a(-0x2a6,-0x2dc,-0x214,-0x261)]({'id':z['string']()[_0x151cc1(0x28f,0x42d,0x5df,0x49b)]()[_0x151cc1(0x292,0x3db,0x460,0x210)](0x1),'description':z[_0x1ac42a(-0x56,-0x35e,-0x1c7,-0x341)]()['optional'](),'mode':z[_0x1ac42a(-0x1bd,-0x293,-0x163,-0x1c9)]([_0x1ac42a(-0x83,-0x2bb,-0x19f,-0x361),_0x151cc1(0x2fe,0x26c,0x1f7,0xf8)])[_0x1ac42a(0x284,0x276,0x123,0x2cb)](),'effort':reasoningEffortSchema[_0x1ac42a(0xf2,0x1e4,0x123,0x20d)](),'budgetTokens':z[_0x1ac42a(0x74,0x1cb,0x142,0x12e)]()[_0x1ac42a(-0x1e,0x95,-0x11,-0x179)]()[_0x151cc1(0x2bc,0x3db,0x37e,0x346)](0x400)[_0x151cc1(0x478,0x4a0,0x344,0x45d)]()})['superRefine']((_0x1dc6bd,_0x5af3f7)=>{const _0x26eed6={_0x226ff0:0x1e2,_0x30f2c4:0x2d0,_0x526292:0x7e,_0x133b45:0x18a,_0x4f01f4:0x1f4,_0x37098f:0x395,_0x11934c:0x27e,_0x6f9341:0xc6,_0x463061:0x114,_0xf4a2d3:0x11,_0x493a58:0x387,_0x423a3c:0x268,_0x3fbdf4:0x39a,_0x2bfa86:0x2f9,_0x2da3f6:0xe2,_0x36a7cf:0x4d7,_0x4a76d9:0x3e8,_0x538ebf:0x4fd,_0x39a336:0x3c6,_0x126351:0x43d,_0x356f8e:0x250,_0x179b3f:0x30e,_0x4f9b6e:0xc0,_0x40c476:0x131,_0x329756:0x296,_0x3b7a95:0x1d6,_0x1bf9b2:0x54,_0x5ea32f:0x86,_0x431808:0x1a8,_0x4ffd41:0x2d0,_0x32e3dd:0x463,_0x431386:0x2f4,_0x57b188:0x1c4,_0x188769:0x29e,_0x186223:0x3b1,_0x641c89:0x1e9,_0x1ec855:0x285,_0x37df0a:0x2eb,_0x3db044:0x236,_0x86133b:0x207,_0x563fd1:0x7a,_0xb90f86:0x2cd,_0x512fc4:0x316,_0x3e39a8:0x2d1,_0x44597e:0x2be,_0x59d6be:0x115,_0x33ac30:0x114,_0x13653e:0x1c6,_0x3da445:0x2cf,_0x20b64b:0x1b2,_0x33610a:0x3e9},_0x53bcb5={_0x27babd:0x8f,_0x1f24e7:0xcc},_0x55c9b3=_0x1dc6bd['id'][_0x5b2d00(_0x26eed6._0x226ff0,_0x26eed6._0x30f2c4,_0x26eed6._0x526292,_0x26eed6._0x133b45)]();(_0x55c9b3==='off'||_0x55c9b3===_0x5b2d00(_0x26eed6._0x4f01f4,0x1fe,_0x26eed6._0x37098f,0x24e)||_0x55c9b3===_0x5370a8(_0x26eed6._0x11934c,0x154,0x258,_0x26eed6._0x6f9341))&&_0x5af3f7[_0x5370a8(-0xa4,_0x26eed6._0x463061,-0x59,_0x26eed6._0xf4a2d3)]({'code':_0x5b2d00(0x3d2,_0x26eed6._0x493a58,_0x26eed6._0x423a3c,_0x26eed6._0x3fbdf4),'path':['id'],'message':_0x5b2d00(0x243,_0x26eed6._0x2bfa86,_0x26eed6._0x2da3f6,0x2b9)+_0x55c9b3+_0x5370a8(_0x26eed6._0x36a7cf,_0x26eed6._0x4a76d9,0x391,_0x26eed6._0x538ebf)});function _0x5b2d00(_0x365eef,_0x7e070d,_0x442383,_0x477512){return _0x151cc1(_0x365eef-0xb7,_0x365eef- -0x1c,_0x442383,_0x477512-0x19f);}if(_0x1dc6bd[_0x5b2d00(_0x26eed6._0x39a336,0x360,_0x26eed6._0x126351,0x2ab)]===_0x5b2d00(_0x26eed6._0x356f8e,0x13f,_0x26eed6._0x179b3f,_0x26eed6._0x4f9b6e)){_0x1dc6bd[_0x5370a8(0x139,_0x26eed6._0x40c476,_0x26eed6._0x329756,0x1be)]===void 0x0&&_0x5af3f7[_0x5370a8(_0x26eed6._0x3b7a95,0x114,_0x26eed6._0x1bf9b2,-_0x26eed6._0x5ea32f)]({'code':'custom','path':[_0x5370a8(_0x26eed6._0x431808,0x131,_0x26eed6._0x4ffd41,0x2f3)],'message':_0x5370a8(_0x26eed6._0x32e3dd,0x3b7,0x208,_0x26eed6._0x431386)});_0x1dc6bd['effort']!==void 0x0&&_0x5af3f7[_0x5b2d00(_0x26eed6._0x57b188,0x37b,0x52,0x33f)]({'code':_0x5b2d00(0x3d2,_0x26eed6._0x188769,0x29b,0x334),'path':['effort'],'message':_0x5b2d00(0x230,_0x26eed6._0x186223,0x1ca,_0x26eed6._0x641c89)});return;}function _0x5370a8(_0x3989b7,_0x493c08,_0x1c68d2,_0x1a5826){return _0x151cc1(_0x3989b7-_0x53bcb5._0x27babd,_0x493c08- -_0x53bcb5._0x1f24e7,_0x1a5826,_0x1a5826-0xf2);}_0x1dc6bd[_0x5370a8(_0x26eed6._0x1ec855,0x131,_0x26eed6._0x37df0a,0x5d)]!==void 0x0&&_0x5af3f7[_0x5370a8(0x190,0x114,0x178,_0x26eed6._0x3db044)]({'code':'custom','path':[_0x5370a8(_0x26eed6._0x86133b,_0x26eed6._0x40c476,0x4,_0x26eed6._0x563fd1)],'message':_0x5370a8(0x42e,_0x26eed6._0xb90f86,0x34d,0x2a2)}),_0x1dc6bd[_0x5370a8(0x42a,_0x26eed6._0x512fc4,_0x26eed6._0x3e39a8,_0x26eed6._0x44597e)]===void 0x0&&_0x1dc6bd['effort']===void 0x0&&_0x5af3f7[_0x5370a8(_0x26eed6._0x59d6be,_0x26eed6._0x33ac30,0x2b9,_0x26eed6._0x13653e)]({'code':_0x5370a8(0x229,0x322,0x352,_0x26eed6._0x3da445),'path':[_0x5b2d00(_0x26eed6._0x20b64b,0x1f1,0x16,0x29e)],'message':_0x5b2d00(0x2f0,0x1f8,_0x26eed6._0x33610a,0x127)});});function validateReasoningOptionIds(_0x1f32f9,_0xcd3fde){const _0x1891da={_0x2a398b:0x538,_0x8d088a:0x4a9,_0x51788e:0x426,_0x1e152c:0x518,_0x5f2201:0x353,_0x218390:0x717},_0x1ff93e={_0x22bdb5:0xb2,_0xe2173a:0x38},_0x3bdcfb={_0x58251f:0x15f};function _0x4c7f71(_0x3de008,_0x2d7ead,_0x49e47a,_0x3a09d7){return _0x151cc1(_0x3de008-0x8c,_0x3de008-_0x3bdcfb._0x58251f,_0x2d7ead,_0x3a09d7-0x78);}const _0x4e9602=new Set();function _0xe8b8(_0x207b4a,_0x245873,_0x542153,_0x2905df){return _0x151cc1(_0x207b4a-0x18f,_0x207b4a-_0x1ff93e._0x22bdb5,_0x245873,_0x2905df-_0x1ff93e._0xe2173a);}for(let _0x524b47=0x0;_0x524b47<_0x1f32f9[_0xe8b8(_0x1891da._0x2a398b,0x3c7,_0x1891da._0x8d088a,_0x1891da._0x51788e)];_0x524b47+=0x1){const _0x96a387=_0x1f32f9[_0x524b47]?.['id']['toLowerCase']();if(!_0x96a387)continue;if(_0x4e9602[_0x4c7f71(0x571,0x6fa,_0x1891da._0x1e152c,0x457)](_0x96a387)){_0xcd3fde[_0xe8b8(0x292,_0x1891da._0x5f2201,0x164,0xe8)]({'code':_0xe8b8(0x4a0,_0x1891da._0x1e152c,0x66e,0x629),'path':['options',_0x524b47,'id'],'message':_0x4c7f71(0x339,0x41b,0x4b5,0x1fc)+_0x96a387+'\x22'});continue;}_0x4e9602[_0x4c7f71(0x573,0x680,_0x1891da._0x218390,0x701)](_0x96a387);}}var providerReasoningConfigSchema=z['object']({'options':z[_0x1ac42a(-0x72,-0x103,0x89,-0x8f)](reasoningOptionSchema)})['superRefine']((_0x105ee2,_0x1087fc)=>{const _0x3473c4={_0x428fdb:0x16,_0x19b60b:0x15},_0x5cfae1={_0x26a6f9:0x10f};function _0x3b1655(_0x27f8e0,_0x4c3c41,_0x58b412,_0x4753bd){return _0x151cc1(_0x27f8e0-_0x5cfae1._0x26a6f9,_0x4753bd- -0x319,_0x4c3c41,_0x4753bd-0x15c);}validateReasoningOptionIds(_0x105ee2[_0x3b1655(-0x8,_0x3473c4._0x428fdb,-_0x3473c4._0x19b60b,-_0x3473c4._0x428fdb)],_0x1087fc);}),modelReasoningConfigSchema=z[_0x151cc1(0x1b0,0x169,0x15b,0x128)]({'defaultOption':z[_0x1ac42a(-0x245,-0x24f,-0x1c7,-0x71)]()['trim']()[_0x151cc1(0x58f,0x3db,0x277,0x3d4)](0x1)['optional'](),'canDisable':z[_0x151cc1(0x2c0,0x306,0x17e,0x4c3)]()[_0x151cc1(0x63b,0x4a0,0x500,0x543)](),'options':z['array'](reasoningOptionSchema)})['superRefine']((_0x224692,_0x1ef703)=>{const _0x27810e={_0x481678:0x1aa,_0x1c47e5:0x101,_0x338794:0x13a,_0x106aca:0x15b,_0x501790:0x9d,_0x737914:0x5e,_0x2401ac:0x1cf,_0x46cbba:0x2ed,_0x23d8e5:0x224,_0x21d691:0x250,_0x468212:0x2dc,_0x16f156:0x1f8,_0x18a227:0x20,_0x27874e:0x66,_0x25a530:0x101,_0x4c2873:0x100,_0x45568c:0xb5,_0xe53d3c:0x10,_0x275046:0xd8,_0x3b789c:0x13a,_0x1de4c5:0x152,_0x576b70:0x35,_0x58d58f:0x8c,_0x563432:0xe4},_0x5bbec4={_0x25a97c:0x1bf,_0x503493:0x2e},_0x3997ec={_0x241727:0x18};function _0x4e8c45(_0x1af988,_0x473aed,_0x5eca2c,_0x1f3808){return _0x151cc1(_0x1af988-_0x3997ec._0x241727,_0x1f3808- -0x404,_0x473aed,_0x1f3808-0x81);}function _0x44faed(_0x115acd,_0x4f91cd,_0x4f494c,_0x502963){return _0x151cc1(_0x115acd-_0x5bbec4._0x25a97c,_0x4f91cd- -0x346,_0x502963,_0x502963-_0x5bbec4._0x503493);}validateReasoningOptionIds(_0x224692[_0x4e8c45(0x4,0x55,-_0x27810e._0x481678,-_0x27810e._0x1c47e5)],_0x1ef703);const _0x40e38d=_0x224692[_0x44faed(0xf,-_0x27810e._0x338794,-0x77,-_0x27810e._0x106aca)]?.[_0x4e8c45(-_0x27810e._0x501790,-0xd4,-_0x27810e._0x737914,-0x206)]();if(_0x40e38d===void 0x0)return;if(_0x40e38d==='off'){_0x224692[_0x44faed(_0x27810e._0x2401ac,0x191,-0x8,0x14f)]!==!![]&&_0x1ef703[_0x4e8c45(-0x376,-0x201,-_0x27810e._0x46cbba,-_0x27810e._0x23d8e5)]({'code':'custom','path':[_0x4e8c45(-0x2c6,-_0x27810e._0x21d691,-_0x27810e._0x468212,-_0x27810e._0x16f156)],'message':_0x4e8c45(-0xde,0x3e,-0xc2,-_0x27810e._0x18a227)});return;}!_0x224692[_0x4e8c45(-0x1ec,-_0x27810e._0x27874e,-0x97,-_0x27810e._0x25a530)][_0x44faed(0x7,_0x27810e._0x4c2873,-_0x27810e._0x45568c,-0xa0)](_0x4d48e8=>_0x4d48e8['id'][_0x44faed(-0x12a,-0x148,-0x2bb,-0x25a)]()===_0x40e38d)&&_0x1ef703['addIssue']({'code':_0x4e8c45(-0x1a6,-_0x27810e._0xe53d3c,0x170,-0x16),'path':['defaultOption'],'message':_0x44faed(-0x95,_0x27810e._0x275046,0x182,0x78)+_0x224692[_0x44faed(-0x1f7,-_0x27810e._0x3b789c,-_0x27810e._0x1de4c5,-_0x27810e._0x576b70)]+_0x4e8c45(_0x27810e._0x58d58f,0x207,-_0x27810e._0x563432,0x95)});}),modelDefinitionSchema=z[_0x1ac42a(-0xdc,-0x3b2,-0x214,-0xeb)]({'id':z['string'](),'name':z[_0x151cc1(0x378,0x1b6,0x26a,0x134)]()['optional'](),'reasoning':modelReasoningConfigSchema[_0x1ac42a(0x27a,0x134,0x123,0xf9)]()})[_0x1ac42a(-0x84,-0xe0,-0x127,-0x22a)](),modelConfigSchema=z['union']([z[_0x151cc1(0x2bd,0x423,0x2fe,0x46d)](![]),z['literal'](!![]),z[_0x1ac42a(-0x1a0,-0x148,-0x1c7,-0x54)](),z['array'](z[_0x1ac42a(-0x101,-0x1ef,-0x1c7,-0x150)]()),z[_0x151cc1(0x43e,0x406,0x44f,0x3b6)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x151cc1(0x1ba,0x21a,0x2ad,0x301)]([_0x151cc1(0x4c1,0x45a,0x5f1,0x557),'openai-chat-completions',_0x151cc1(0x1c0,0x1d8,0x14,0x312),'openai-responses-ws']),providerConfigSchema=z['object']({'apiKey':z[_0x1ac42a(0x5,-0x46,-0x1c7,-0x1a8)]()[_0x1ac42a(0x10d,-0x40,0x123,0xfb)](),'token':z[_0x151cc1(0x15b,0x1b6,0x23f,0x2e3)]()[_0x151cc1(0x372,0x4a0,0x608,0x416)](),'defaultModel':z[_0x1ac42a(-0xa1,-0x13a,-0x1c7,-0x17f)]()[_0x151cc1(0x2d0,0x4a0,0x4a7,0x5f1)](),'smallModel':z[_0x1ac42a(-0x2bc,-0x29,-0x1c7,-0x304)]()[_0x151cc1(0x4c4,0x4a0,0x66c,0x380)](),'currentAuth':z[_0x151cc1(0x1f9,0x1b6,0x260,0x20c)]()[_0x151cc1(0x3c8,0x4a0,0x306,0x5ea)](),'auth':z[_0x151cc1(0x2b2,0x406,0x43b,0x2e4)](authMethodSchema)[_0x1ac42a(0xbc,0x2a0,0x123,0x1c1)](),'surface':chatModelSurfaceSchema['optional'](),'baseUrl':z[_0x1ac42a(-0x91,-0x6b,-0x1c7,-0x29b)]()[_0x1ac42a(0x193,0x2d3,0x123,0x2d4)](),'models':modelConfigSchema[_0x1ac42a(-0x61,0x264,0x123,0xa4)](),'customHeaders':z['record'](z[_0x151cc1(0x2de,0x1b6,0x328,0x25)](),z[_0x151cc1(0x231,0x1b6,0x28d,0x77)]())[_0x1ac42a(-0x1d,0x208,0x123,-0x35)](),'reasoning':providerReasoningConfigSchema[_0x1ac42a(0x20d,0x8a,0x123,0x26c)]()})[_0x151cc1(0x295,0x256,0x2c0,0x18a)](),mcpServerConfigSchema=z[_0x151cc1(0x310,0x169,0x303,0x145)]({'command':z[_0x1ac42a(-0x107,-0x2e5,-0x1c7,-0x35a)]()['optional'](),'args':z['array'](z['string']())[_0x1ac42a(0x104,0x2eb,0x123,0xc6)](),'env':z[_0x151cc1(0xc4,0x1fb,0x268,0x276)](z[_0x1ac42a(-0x189,-0x1ce,-0x1c7,-0x376)](),z['string']())[_0x1ac42a(0x103,0x5f,0x123,0xa4)](),'transport':z[_0x151cc1(0x248,0x21a,0xbf,0x4e)]([_0x151cc1(0x4e3,0x4ab,0x5c4,0x2fe),'http'])[_0x151cc1(0x4f4,0x4a0,0x5bf,0x5aa)](),'url':z['string']()[_0x151cc1(0x515,0x4a0,0x4a1,0x533)](),'headers':z[_0x1ac42a(-0x279,-0x227,-0x182,-0x202)](z[_0x151cc1(0x331,0x1b6,0x381,0x36b)](),z[_0x151cc1(0x1af,0x1b6,0x1fe,0x14)]())['optional'](),'prefix':z[_0x1ac42a(-0x14a,-0x11f,-0x1c7,-0x154)]()[_0x1ac42a(0xbf,0x19,0x123,0x210)](),'timeoutMs':z[_0x1ac42a(0x273,0xf0,0x142,0x199)]()[_0x151cc1(0x447,0x4a0,0x4b8,0x3d8)](),'enabled':z[_0x151cc1(0x480,0x306,0x1cf,0x291)]()['optional'](),'auth':z[_0x1ac42a(-0x34f,-0x27b,-0x214,-0x30f)]({'type':z[_0x151cc1(0x11a,0x21a,0xcc,0xad)](['none','bearer','oauth']),'token':z['string']()[_0x151cc1(0x54c,0x4a0,0x53e,0x43d)](),'oauth':z[_0x1ac42a(-0x3d5,-0x327,-0x214,-0x38a)]({'clientId':z[_0x1ac42a(-0x36a,-0xc,-0x1c7,-0x358)]()[_0x1ac42a(0x14e,0x193,0x123,0x98)](),'clientMetadataUrl':z[_0x1ac42a(-0x187,-0x32c,-0x1c7,-0x23b)]()[_0x1ac42a(0x14a,0x1ca,0x123,0x88)](),'authorizationServer':z['string']()['optional'](),'scopes':z[_0x151cc1(0x3e4,0x406,0x505,0x26c)](z[_0x151cc1(0x2f5,0x1b6,0x278,0x26d)]())['optional'](),'tokenStorageKey':z[_0x151cc1(0x364,0x1b6,0x2d7,0x1bb)]()['optional']()})['passthrough']()[_0x151cc1(0x34b,0x4a0,0x5b0,0x619)]()})['passthrough']()[_0x151cc1(0x5c4,0x4a0,0x4ba,0x54d)]()})['passthrough'](),mcpToolPermissionClassSchema=z['enum']([_0x1ac42a(0x5f,0x215,0xed,-0xd9),_0x1ac42a(0xae,0x10b,0x103,0x2a5),_0x151cc1(0x2f7,0x364,0x2d3,0x20d)]),mcpSettingsSchema=z['object']({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z['boolean']()))[_0x151cc1(0x664,0x4a0,0x5fb,0x591)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x151cc1(0x2ed,0x4a0,0x389,0x397)](),'defaultTimeoutMs':z[_0x1ac42a(0x2df,0x16b,0x142,0x14a)]()[_0x1ac42a(0x99,0x2cd,0x123,0x7b)]()})[_0x1ac42a(0x64,-0x1dd,-0x127,-0x2db)](),skillsSettingsSchema=z[_0x151cc1(-0x3c,0x169,0x293,-0x3)]({'enabled':z[_0x1ac42a(-0x176,-0x14e,-0x77,-0x37)]()['optional'](),'includeDefaults':z[_0x151cc1(0x36c,0x306,0x342,0x412)]()[_0x151cc1(0x410,0x4a0,0x608,0x45d)](),'directories':z[_0x1ac42a(0x30,0x1d4,0x89,0x1cb)](z[_0x151cc1(0x29d,0x1b6,0x202,-0xc)]())[_0x1ac42a(0x2c9,0x21a,0x123,0x85)](),'exclude':z['array'](z['string']())['optional']()})[_0x1ac42a(0x25,-0x1fc,-0x127,-0x195)](),commandsSettingsSchema=z['object']({'enabled':z[_0x151cc1(0x329,0x306,0x3a6,0x424)]()['optional'](),'directories':z[_0x1ac42a(0x130,0x234,0x89,0x4d)](z[_0x151cc1(0xf0,0x1b6,0xd0,0x315)]())[_0x151cc1(0x353,0x4a0,0x5db,0x531)]()})[_0x151cc1(0x1ec,0x256,0x19d,0x10a)](),agentsSettingsSchema=z[_0x1ac42a(-0x325,-0x87,-0x214,-0x1c2)]({'enabled':z[_0x1ac42a(-0x8a,0xd4,-0x77,-0x169)]()[_0x1ac42a(-0x68,0x2a6,0x123,0x2da)](),'includeDefaults':z[_0x151cc1(0x42b,0x306,0x435,0x201)]()[_0x151cc1(0x5de,0x4a0,0x2d8,0x434)](),'directories':z[_0x151cc1(0x341,0x406,0x52e,0x5c1)](z[_0x1ac42a(-0x11f,-0x195,-0x1c7,-0x1a9)]())[_0x1ac42a(0x144,0x19d,0x123,0x16e)](),'maxConcurrency':z[_0x1ac42a(0x20c,0x1db,0x142,0xd1)]()['finite']()[_0x151cc1(0x429,0x36c,0x3e1,0x1e4)]()[_0x1ac42a(0x21,-0x5f,0x11e,0x24)]()[_0x151cc1(0x4ee,0x4a0,0x58d,0x65a)]()})['passthrough'](),uiThemeSettingsSchema=z[_0x1ac42a(-0x172,-0x3af,-0x214,-0x1ad)]({'mode':z[_0x1ac42a(-0x1c3,-0x39,-0x163,-0x12)]([_0x1ac42a(-0xad,0xd6,0xd2,0x10d),_0x1ac42a(0x145,-0x8d,0xf4,0x90),'light'])[_0x1ac42a(0x298,-0x72,0x123,0x2ad)](),'colorLevel':z[_0x1ac42a(-0x85,-0x170,-0x163,-0x1ef)]([_0x1ac42a(0x93,0xe0,0xd2,0x181),_0x1ac42a(0x20e,-0xb9,0x100,-0x5),_0x1ac42a(0x77,0x106,0x166,0x208),_0x1ac42a(-0xd3,0xf,-0xc,-0x163),_0x151cc1(0x1f9,0x1bb,0x1f8,0x306)])[_0x151cc1(0x499,0x4a0,0x475,0x55b)](),'backgrounds':z[_0x1ac42a(-0x1ae,0x5c,-0x163,0x49)]([_0x1ac42a(0xa,-0xfd,0xd2,-0xcb),'on',_0x151cc1(0x186,0x1c5,0x1ff,0x1b6)])['optional'](),'messageStyle':z[_0x151cc1(0x367,0x21a,0x3db,0x350)]([_0x1ac42a(0x10,-0x46,-0x42,0xdf),_0x1ac42a(0x161,0x4e,0x16c,0x51)])[_0x1ac42a(0x15f,0x87,0x123,0x179)]()})[_0x151cc1(0x29e,0x256,0x265,0x117)](),statuslineSegmentSchema=z['enum']([_0x1ac42a(-0x43,0x27,-0x8e,-0x136),_0x1ac42a(-0x21a,-0x6f,-0xf7,0x2a),_0x1ac42a(0x85,-0xb9,0xd0,0x6c),_0x151cc1(0x24c,0x209,0x2cb,0x39e),'tokens','context',_0x1ac42a(0x145,-0x14e,0x26,0x164),_0x151cc1(0x2d7,0x270,0x20e,0x389),_0x1ac42a(-0x2f8,-0xe3,-0x206,-0x2b3),_0x1ac42a(-0x202,-0xa6,-0x149,-0x36),_0x151cc1(0x110,0x1aa,0xb7,0x2c),'gitBranch',_0x1ac42a(0x1b6,-0x52,0x63,-0xd6),'memory',_0x1ac42a(0x64,-0x4c,0x25,0x13f)]),statuslineItemSchema=z[_0x151cc1(0x355,0x275,0x1c7,0x142)]([statuslineSegmentSchema,z[_0x1ac42a(-0xfe,0x1dd,0xa6,-0xd6)]('|')]),statuslineRowSchema=z[_0x151cc1(0x3cf,0x406,0x2aa,0x351)](statuslineItemSchema),statuslineConfigSchema=z[_0x151cc1(0x29b,0x169,0xeb,0x23a)]({'rows':z[_0x1ac42a(0x2b5,0x7,0x149,-0x81)]([statuslineRowSchema,statuslineRowSchema])['optional']()})[_0x151cc1(0x1de,0x256,0x3e7,0x36f)](),memoryExtractionSettingsSchema=z[_0x151cc1(0x1cc,0x169,0x32f,0x2e4)]({'enabled':z[_0x1ac42a(-0xb5,0xde,-0x77,-0x159)]()[_0x151cc1(0x433,0x4a0,0x59a,0x38a)](),'provider':z[_0x1ac42a(-0x1d7,-0x288,-0x1c7,-0x145)]()[_0x151cc1(0x2c6,0x3db,0x503,0x48d)](0x1)[_0x1ac42a(0x1ee,0xff,0x123,0x4c)](),'model':z[_0x1ac42a(-0xec,-0x289,-0x1c7,-0x155)]()['min'](0x1)[_0x1ac42a(-0x18,0x2ec,0x123,0x235)](),'minUserMessages':z[_0x151cc1(0x50e,0x4bf,0x651,0x433)]()['int']()[_0x151cc1(0x527,0x3db,0x379,0x462)](0x1)['optional']()})['strict'](),memorySettingsSchema=z['object']({'enabled':z[_0x151cc1(0x417,0x306,0x222,0x25d)]()[_0x1ac42a(0x11a,0xd4,0x123,0x21)](),'extraction':memoryExtractionSettingsSchema[_0x151cc1(0x360,0x4a0,0x409,0x5c0)]()})[_0x1ac42a(0x2a1,0x248,0x148,0xb0)](),recentModelSchema=z['object']({'provider':z['string'](),'model':z[_0x1ac42a(-0xef,-0x238,-0x1c7,-0x11a)](),'usedAt':z[_0x1ac42a(0x2db,0x1f2,0x142,0x1df)]()})['passthrough'](),lspServerEntrySchema=z['object']({'disabled':z[_0x151cc1(0x1ee,0x306,0x3ec,0x44c)]()['optional'](),'command':z[_0x151cc1(0x310,0x1b6,0x157,0xbc)]()['optional'](),'args':z[_0x151cc1(0x5b8,0x406,0x4ea,0x3f0)](z[_0x1ac42a(-0x160,-0xb1,-0x1c7,-0x22e)]())[_0x151cc1(0x2ff,0x4a0,0x337,0x2d1)](),'rootMarkers':z[_0x151cc1(0x312,0x406,0x5b9,0x51a)](z['string']())['optional']()})[_0x151cc1(0x35b,0x256,0x2df,0x36f)](),lspConfigSchema=z['object']({'enabled':z[_0x151cc1(0x1be,0x306,0x3a6,0x13b)]()[_0x1ac42a(-0x8,0x2b8,0x123,0x16f)](),'servers':z[_0x151cc1(0x197,0x1fb,0x2a4,0x2b4)](z[_0x151cc1(0x2d0,0x1b6,0x19,0x1d4)](),lspServerEntrySchema)[_0x151cc1(0x3ee,0x4a0,0x5ae,0x5a5)]()})[_0x1ac42a(0xe,-0x1b4,-0x127,-0x2da)](),serverEndpointSchema=z[_0x151cc1(0x188,0x169,0x145,0x1ea)]({'url':z[_0x151cc1(0x1b3,0x1b6,0x195,0x1d7)](),'token':z[_0x151cc1(0x30a,0x1b6,0x1ca,0x6c)]()[_0x1ac42a(-0x1d,0x156,0x123,0x0)]()})[_0x151cc1(0x360,0x256,0x318,0xea)](),commandHookConfigSchema=z[_0x151cc1(0x29f,0x169,0x15a,0x1f7)]({'type':z[_0x1ac42a(0x152,0x155,0xa6,-0x88)](_0x1ac42a(0x4,0x56,-0x48,-0x100)),'command':z[_0x1ac42a(-0x2ae,-0x1f3,-0x1c7,-0x70)](),'timeout':z[_0x151cc1(0x58a,0x4bf,0x5e5,0x324)]()['optional']()}),hookMatcherGroupSchema=z['object']({'matcher':z[_0x1ac42a(-0x2af,-0x103,-0x1c7,-0x21b)]()[_0x151cc1(0x648,0x4a0,0x3de,0x3fb)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x151cc1(0x312,0x169,0x182,0x2b)]({'PreToolUse':z[_0x151cc1(0x33d,0x406,0x498,0x31b)](hookMatcherGroupSchema)[_0x1ac42a(-0x14,0xd0,0x123,0x165)](),'PostToolUse':z[_0x1ac42a(-0x13b,-0x12c,0x89,0x242)](hookMatcherGroupSchema)['optional'](),'UserPromptSubmit':z[_0x1ac42a(0xce,0x256,0x89,0xf7)](hookMatcherGroupSchema)[_0x151cc1(0x325,0x4a0,0x524,0x46f)](),'Stop':z[_0x1ac42a(0x3d,0x1ea,0x89,0x130)](hookMatcherGroupSchema)[_0x1ac42a(0x15f,0x9f,0x123,-0x12)](),'Notification':z[_0x151cc1(0x2e7,0x406,0x283,0x38c)](hookMatcherGroupSchema)[_0x1ac42a(-0x5d,0xca,0x123,0x65)](),'ToolApprovalRequest':z[_0x1ac42a(0x1e,-0xcf,0x89,0xe4)](hookMatcherGroupSchema)[_0x1ac42a(0x295,-0x68,0x123,0x123)](),'SessionStart':z[_0x151cc1(0x4d3,0x406,0x33b,0x5bc)](hookMatcherGroupSchema)[_0x1ac42a(0x1c1,-0x57,0x123,-0x5)](),'SessionEnd':z['array'](hookMatcherGroupSchema)[_0x1ac42a(0x6b,-0x2,0x123,-0x28)]()}),providerNameSchema=z['string']()[_0x1ac42a(0xee,0xbc,0x5e,0x18)](0x1,_0x151cc1(0x419,0x4ae,0x526,0x55d))[_0x151cc1(0x341,0x333,0x47f,0x2cf)](_0x1a204e=>!_0x1a204e[_0x151cc1(0x161,0x245,0x21e,0x11a)](':'),_0x151cc1(0x37c,0x22f,0x3ef,0x3ff)),bashPolicyRuleSchema=z['object']({'id':z[_0x151cc1(0x7b,0x1b6,-0xf,0x1d7)]()[_0x151cc1(0x301,0x42d,0x5b2,0x547)]()['min'](0x1)[_0x151cc1(0x328,0x40e,0x567,0x596)](0x80),'action':z[_0x1ac42a(-0x2a9,-0x141,-0x163,-0x29)](['allow','deny']),'cwd':z[_0x1ac42a(-0x2fe,-0x261,-0x163,-0x220)]([_0x151cc1(0x2a8,0x404,0x52a,0x3b2),_0x151cc1(0x419,0x2e6,0x2c9,0x2a5)])[_0x151cc1(0x2eb,0x4a0,0x5b5,0x60d)](),'commands':z[_0x151cc1(0x5c9,0x406,0x236,0x297)](z[_0x1ac42a(-0x150,-0x1e5,-0x1c7,-0x2e)]()[_0x1ac42a(0xe1,0x48,0x5e,0x2c)](0x1))[_0x151cc1(0x40d,0x3db,0x44c,0x400)](0x1)})['strict'](),bashPolicyConfigSchema=z[_0x1ac42a(-0x2a0,-0x190,-0x214,-0x2fb)]({'default':z[_0x1ac42a(0x189,0x200,0xa6,0x8c)](_0x151cc1(0x170,0x247,0x174,0x316))['optional'](),'rules':z['array'](bashPolicyRuleSchema)['max'](0x3e8)})[_0x1ac42a(0x2a,0x2e5,0x148,0x1a8)](),cliConfigSchema=z[_0x151cc1(0xf7,0x169,0x268,0x1e2)]({'activeProvider':providerNameSchema[_0x1ac42a(0x46,0x1c6,0x123,0x100)](),'activeModel':z[_0x151cc1(-0x10,0x1b6,0x10b,0x1aa)]()[_0x1ac42a(0x9a,0x169,0x123,0x149)](),'apiKey':z['string']()['optional'](),'providers':z['record'](providerNameSchema,providerConfigSchema)[_0x1ac42a(0x14f,0xa5,0x123,0x1)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x1ac42a(0x20,0x216,0x123,-0x6c)](),'agents':agentsSettingsSchema[_0x151cc1(0x5ae,0x4a0,0x5a0,0x5d3)](),'commands':commandsSettingsSchema[_0x151cc1(0x4b5,0x4a0,0x4be,0x426)](),'skillsEnabled':z[_0x1ac42a(-0x20c,-0x1be,-0x182,-0x2a9)](z[_0x1ac42a(-0x13b,-0x34b,-0x1c7,-0x241)](),z[_0x151cc1(0x287,0x306,0x39e,0x278)]())[_0x151cc1(0x2d7,0x4a0,0x34f,0x42c)](),'allowedDirs':z[_0x151cc1(0x576,0x406,0x397,0x57b)](z[_0x1ac42a(-0x309,-0x21a,-0x1c7,-0x150)]())[_0x151cc1(0x3d2,0x4a0,0x46b,0x3a9)](),'mcpEnabled':prototypeSafeRecord(z[_0x1ac42a(0xac,0x42,-0x77,-0x2d)]())[_0x151cc1(0x641,0x4a0,0x525,0x66e)](),'commandsEnabled':z[_0x151cc1(0x2bd,0x1fb,0x19a,0x28a)](z[_0x151cc1(0x74,0x1b6,0xf1,0x114)](),z[_0x1ac42a(0x14b,0xab,-0x77,0x39)]())[_0x151cc1(0x3c0,0x4a0,0x426,0x3ab)](),'memory':memorySettingsSchema[_0x151cc1(0x3df,0x4a0,0x4bc,0x3c8)](),'session':z['object']({'memPersist':z[_0x1ac42a(-0x1fd,-0xb3,-0x77,-0xcf)]()[_0x151cc1(0x646,0x4a0,0x3f7,0x4e6)](),'persistEventLog':z[_0x151cc1(0x3eb,0x306,0x438,0x3d9)]()['optional'](),'persistHttpLog':z['boolean']()[_0x151cc1(0x44d,0x4a0,0x4fc,0x48c)]()})[_0x151cc1(0xe0,0x256,0x17d,0xd6)]()[_0x1ac42a(0x275,0x135,0x123,0x9f)](),'requireToolApproval':z['boolean']()[_0x151cc1(0x4b3,0x4a0,0x327,0x3ff)](),'thinking':z[_0x1ac42a(-0x2dc,-0xd8,-0x214,-0x79)]({'selections':z[_0x151cc1(0x1d6,0x1fb,0x246,0x2a1)](z[_0x1ac42a(-0x10c,-0x2b9,-0x1c7,-0x9d)](),z[_0x151cc1(0x338,0x1b6,0x31f,0x128)]())[_0x1ac42a(0x2a5,-0x3a,0x123,0xdb)]()})[_0x1ac42a(0x1b,0x1ad,0x123,0x129)](),'streamingChunks':z['boolean']()['optional'](),'agentsEnabled':z[_0x1ac42a(-0x295,-0x1a1,-0x182,-0x1a9)](z['string'](),z[_0x151cc1(0x455,0x306,0x348,0x1f7)]())[_0x1ac42a(0x2c,-0x49,0x123,-0x51)](),'recentModels':z[_0x151cc1(0x335,0x406,0x4fc,0x360)](recentModelSchema)[_0x151cc1(0x5d5,0x4a0,0x44b,0x4ed)](),'lsp':lspConfigSchema['optional'](),'servers':z[_0x151cc1(0x1a4,0x1fb,0xb9,0x1d8)](z['string'](),serverEndpointSchema)[_0x151cc1(0x58c,0x4a0,0x399,0x40f)](),'ui':z['object']({'theme':uiThemeSettingsSchema[_0x1ac42a(-0x3c,0x136,0x123,0x105)](),'statusline':statuslineConfigSchema['optional']()})[_0x151cc1(0x1c8,0x256,0x329,0x264)]()['optional'](),'tools':z[_0x151cc1(0xfd,0x1fb,0x129,0x30)](z['string'](),z[_0x151cc1(0x29,0x19d,-0x26,0x327)]())['optional'](),'hooks':hooksConfigSchema['optional'](),'bashPolicy':z[_0x151cc1(0x22f,0x19d,0x106,0x21b)]()[_0x151cc1(0x378,0x4a0,0x53f,0x5b6)]()})['passthrough'](),workspaceOverlaySchema=z[_0x1ac42a(-0x82,-0x2fc,-0x214,-0x2de)]({'root':z[_0x1ac42a(-0x377,-0x1ad,-0x1c7,-0x99)]()[_0x151cc1(0x654,0x4a0,0x5a5,0x305)](),'allowedDirs':z[_0x151cc1(0x59b,0x406,0x47b,0x2a9)](z[_0x1ac42a(-0x1bb,-0x1b2,-0x1c7,-0x1bc)]())[_0x1ac42a(0x27e,0x218,0x123,0x1a7)](),'activeProvider':providerNameSchema[_0x151cc1(0x362,0x4a0,0x5fa,0x2e0)](),'activeModel':z[_0x1ac42a(-0x13e,-0x37,-0x1c7,-0xd1)]()[_0x151cc1(0x64e,0x4a0,0x50a,0x48b)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x151cc1(0x33a,0x4a0,0x551,0x36f)](),'agents':agentsSettingsSchema[_0x151cc1(0x662,0x4a0,0x3c8,0x2e5)](),'commands':commandsSettingsSchema[_0x151cc1(0x501,0x4a0,0x569,0x3e4)](),'hooks':hooksConfigSchema[_0x151cc1(0x5f1,0x4a0,0x309,0x4e1)](),'memory':memorySettingsSchema[_0x151cc1(0x3e8,0x4a0,0x3dc,0x577)](),'mcpEnabled':prototypeSafeRecord(z[_0x1ac42a(-0x20d,0x63,-0x77,-0x86)]())[_0x1ac42a(-0x8b,0x1de,0x123,-0x73)](),'skillsEnabled':z[_0x151cc1(0x30d,0x1fb,0x2c1,0x33d)](z[_0x1ac42a(-0x18c,-0x1b9,-0x1c7,-0x167)](),z[_0x1ac42a(-0x14c,0x147,-0x77,0x135)]())['optional'](),'agentsEnabled':z[_0x151cc1(0x87,0x1fb,0x254,0x330)](z[_0x151cc1(0x168,0x1b6,0x29,-0x8)](),z[_0x1ac42a(-0x136,-0xe7,-0x77,0x124)]())[_0x151cc1(0x622,0x4a0,0x4b1,0x334)](),'commandsEnabled':z[_0x151cc1(0x5d,0x1fb,0xb3,0x366)](z[_0x1ac42a(-0x1b8,-0x306,-0x1c7,-0xc6)](),z[_0x151cc1(0x30b,0x306,0x431,0x3c5)]())[_0x151cc1(0x3e7,0x4a0,0x431,0x486)](),'bashPolicy':z[_0x151cc1(0x339,0x19d,0x36b,0x1e)]()['optional']()})[_0x1ac42a(-0x73,-0x2e9,-0x127,-0x15c)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object['getOwnPropertyNames'](Object[_0x151cc1(0x560,0x46c,0x2a6,0x487)]),_0x1ac42a(-0x30,0x268,0xef,0x68)]);function buildDescription(_0x4f8296){const _0x4b1810={_0x17dfd1:0x4b3,_0x29afe4:0x352,_0x2ce3c2:0x531,_0xaaecca:0x5b5,_0x1bc895:0x4ad,_0x264273:0x3bc,_0x57551d:0x36,_0x25958f:0x357,_0x27eae7:0x19d,_0x48a06f:0x48},_0x37d5af={_0x2f9722:0x95,_0x3ecc43:0x8c},_0x3186a1={_0x1e1c56:0x12d,_0x57320e:0xc};if(_0x4f8296['length']===0x0)return[_0xef8448(0x341,0x294,_0x4b1810._0x17dfd1,0x3bc),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x4387da(_0x4b1810._0x29afe4,0x3ba,0x200,_0x4b1810._0x2ce3c2)][_0x4387da(_0x4b1810._0xaaecca,_0x4b1810._0x1bc895,0x5e9,0x5bf)]('\x0a');function _0x4387da(_0x16a521,_0x97b011,_0x9e1ab3,_0x2ac99a){return _0x151cc1(_0x16a521-_0x3186a1._0x1e1c56,_0x97b011- -_0x3186a1._0x57320e,_0x9e1ab3,_0x2ac99a-0xe3);}const _0x452926=[_0xef8448(0x461,0x4bb,0x55f,_0x4b1810._0x264273),_0x4387da(-_0x4b1810._0x57551d,0x198,_0x4b1810._0x25958f,0x16f),_0x4387da(0x208,_0x4b1810._0x27eae7,0x326,_0x4b1810._0x48a06f),..._0x4f8296['map'](_0x342c84=>_0x342c84[_0xef8448(0x227,0x38c,0x42d,0x307)]?'-\x20'+_0x342c84[_0xef8448(0x431,0x47e,0x356,0x37a)]+'\x20'+_0x342c84[_0x4387da(0x295,0x390,0x4d8,0x42f)]+':\x20'+_0x342c84['description']:'-\x20'+_0x342c84['name']+':\x20'+_0x342c84['description'])];function _0xef8448(_0x5e04f5,_0x327021,_0x9c0598,_0x185660){return _0x151cc1(_0x5e04f5-0x13e,_0x185660- -_0x37d5af._0x2f9722,_0x327021,_0x185660-_0x37d5af._0x3ecc43);}return _0x452926['join']('\x0a');}function createInvokeCommandTool(_0x367cf9){const _0x1788d8={_0x236ebd:0x637,_0x415456:0x30a,_0x4cac08:0x5ad,_0x50ab59:0x834,_0x41debc:0x4d1,_0x1074bd:0x355,_0x42fe8e:0x4c2,_0x1a54bb:0x635,_0x477cc5:0x5d3,_0x2853c5:0x450,_0x26ed70:0x3c2,_0x578971:0x4e3,_0x57a9c4:0x282,_0x5b05d5:0x2c5,_0x3301f7:0x40f,_0x250bdc:0x409,_0x49d995:0x3c6,_0x5148ad:0x549,_0x453aba:0x51e},_0xfceab6={_0x355f8c:0x6a1,_0x3c9f4c:0x40d,_0x23793e:0x3ea,_0x568067:0x3aa,_0x2db243:0x3af,_0x464604:0x2fe,_0x5436fa:0x50f,_0x7bfb84:0x630,_0x22fad3:0x64c,_0x31cd57:0x51d,_0x5dee39:0x67f,_0x1f2e90:0x314,_0x33191c:0x31a,_0x507e07:0x220},_0x2f6e63={_0x1b0cc6:0x47},_0x289520={_0x31af6c:0xd7},_0xb3a101=new Map(_0x367cf9[_0x5a3d92(0x4d1,0x64c,_0x1788d8._0x236ebd,_0x1788d8._0x415456)][_0x5a3d92(0x680,_0x1788d8._0x4cac08,0x635,_0x1788d8._0x50ab59)](_0x2eb1c0=>[_0x2eb1c0['id'],_0x2eb1c0]));function _0x349fd9(_0xc5895,_0x16d714,_0x545668,_0x52967b){return _0x151cc1(_0xc5895-0xd9,_0x52967b-0x10f,_0x16d714,_0x52967b-0xcd);}function _0x5a3d92(_0x323daf,_0x45ce66,_0x3f47cb,_0x4ccf6d){return _0x1ac42a(_0x323daf-0xe7,_0x45ce66-_0x289520._0x31af6c,_0x323daf-0x5d6,_0x4ccf6d);}const _0xf0a461=buildDescription(_0x367cf9[_0x5a3d92(_0x1788d8._0x41debc,_0x1788d8._0x1074bd,0x587,0x620)]);return defineTool({'name':_0x5a3d92(_0x1788d8._0x42fe8e,0x4c8,0x419,0x63d),'permissionClass':_0x5a3d92(0x5bd,_0x1788d8._0x1a54bb,_0x1788d8._0x477cc5,_0x1788d8._0x2853c5),'description':_0xf0a461,'inputSchema':{'type':_0x5a3d92(_0x1788d8._0x26ed70,0x517,_0x1788d8._0x578971,_0x1788d8._0x57a9c4),'properties':{'name':{'type':_0x349fd9(0x45a,0x130,0x385,_0x1788d8._0x5b05d5)},'args':{'type':_0x5a3d92(_0x1788d8._0x3301f7,0x536,_0x1788d8._0x250bdc,0x4a4)}},'required':[_0x349fd9(0x3fc,_0x1788d8._0x49d995,_0x1788d8._0x5148ad,_0x1788d8._0x453aba)]},async *'execute'(_0x57f310){const _0x55116a={_0x25282f:0xa4,_0x3edd79:0xa5};function _0x40cfa9(_0x149836,_0x41aa20,_0x38c869,_0x3d8717){return _0x349fd9(_0x149836-_0x55116a._0x25282f,_0x3d8717,_0x38c869-_0x55116a._0x3edd79,_0x149836- -0x1ba);}const _0xb08876=_0xb3a101[_0x2c0e68(0x57b,0x65d,_0xfceab6._0x355f8c,_0xfceab6._0x3c9f4c)](_0x57f310[_0x40cfa9(0x364,_0xfceab6._0x23793e,_0xfceab6._0x568067,_0xfceab6._0x2db243)]);function _0x2c0e68(_0x5f49e5,_0x218224,_0x252924,_0x3e1b12){return _0x5a3d92(_0x5f49e5- -_0x2f6e63._0x1b0cc6,_0x218224-0xe2,_0x252924-0x8b,_0x252924);}if(!_0xb08876){const _0xf2b371=Array['from'](_0xb3a101['keys']())['join'](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x57f310['name']+_0x2c0e68(0x3a5,_0xfceab6._0x464604,0x4a8,0x28b)+_0xf2b371,{'name':_0x57f310['name']});}const _0xcce342=await _0x367cf9['loadCommand'](_0xb08876),_0x38507f=_0x57f310[_0x2c0e68(_0xfceab6._0x5436fa,0x36e,0x597,_0xfceab6._0x7bfb84)]??'',_0x3f2834=renderCommandInstructions({'instructions':_0xcce342['instructions'],'argumentsText':_0x38507f,'argumentNames':_0xcce342[_0x2c0e68(_0xfceab6._0x22fad3,_0xfceab6._0x31cd57,_0xfceab6._0x5dee39,0x5d9)]});return yield createToolOutput(_0x3f2834,{'id':_0xcce342['id'],'name':_0xcce342[_0x40cfa9(0x364,_0xfceab6._0x1f2e90,_0xfceab6._0x33191c,0x425)],'path':_0xb08876['source'][_0x40cfa9(0x162,_0xfceab6._0x507e07,0x2ab,0x5d)]}),void 0x0;}});}import{readFile as _0x844ce1,rename as _0xe58e8a,stat as _0x5ae177,writeFile as _0x46e694}from'fs/promises';import*as _0x2ab8b9 from'path';import{createHash}from'crypto';function sha256Bytes(_0x34d123){const _0xedae43={_0x113129:0x60,_0xf2c82e:0x527,_0x23a3a6:0x581,_0x560b47:0x6d5},_0x48c0d9={_0x3611d3:0x388},_0x421e28={_0xb9a1be:0x83,_0x39acac:0x57c};function _0x41fb94(_0x4c15dd,_0x2d6666,_0x426591,_0x131b34){return _0x1ac42a(_0x4c15dd-_0x421e28._0xb9a1be,_0x2d6666-0x134,_0x426591-_0x421e28._0x39acac,_0x2d6666);}function _0x1d2a62(_0x39bc8f,_0x4f5515,_0x4337ad,_0x15909e){return _0x151cc1(_0x39bc8f-0x1dc,_0x4f5515- -_0x48c0d9._0x3611d3,_0x15909e,_0x15909e-0x16a);}return createHash(_0x1d2a62(0x163,-_0xedae43._0x113129,-0x22b,0x0))[_0x41fb94(0x443,0x1e3,0x370,0x1c2)](_0x34d123)['digest'](_0x41fb94(_0xedae43._0xf2c82e,0x46d,_0xedae43._0x23a3a6,_0xedae43._0x560b47));}function countLines(_0xc55851){const _0x3b4baa={_0x151d4c:0x2f6,_0x5e27cb:0x401,_0x14a9fb:0x48b,_0x40dae6:0x684,_0x886f26:0x5ab},_0x275817={_0x4e4e42:0x9b},_0x430314={_0x424c3e:0x4a2};function _0x2baf6e(_0x257eb9,_0x72c278,_0x5da5da,_0x3af8ee){return _0x1ac42a(_0x257eb9-0x199,_0x72c278-0x5b,_0x3af8ee-_0x430314._0x424c3e,_0x5da5da);}const _0x2d8fc3=_0xc55851[_0x2baf6e(0x1a7,0x44d,0x3c6,_0x3b4baa._0x151d4c)](/\n$/,'');function _0x440f58(_0x1d7d57,_0x385a52,_0x4ec947,_0x1514dc){return _0x151cc1(_0x1d7d57-0xd6,_0x385a52- -_0x275817._0x4e4e42,_0x4ec947,_0x1514dc-0x6b);}return _0x2d8fc3['length']===0x0?0x0:_0x2d8fc3['split']('\x0a')[_0x2baf6e(_0x3b4baa._0x5e27cb,_0x3b4baa._0x14a9fb,_0x3b4baa._0x40dae6,_0x3b4baa._0x886f26)];}function replaceFirstExact(_0x5df5e5,_0x583d47,_0x258039){const _0xb350f4={_0x58ae01:0x531,_0x5533b4:0x2d4,_0x2faba9:0x18e,_0x658454:0x85,_0x58340c:0x642,_0x33f367:0x591,_0x1aeb3f:0x64b,_0x2f9e0e:0x4d2,_0x16d6a8:0x5b4,_0x10bcd2:0x726,_0x444e1c:0x52d},_0xaab479={_0x76d7c4:0x187,_0x246f48:0x173,_0x15ba61:0x1b6},_0x21c0ec=_0x5df5e5['indexOf'](_0x583d47);if(_0x21c0ec===-0x1)return void 0x0;function _0x506a07(_0x2bbae1,_0x1da381,_0x58f6ba,_0x52869d){return _0x151cc1(_0x2bbae1-_0xaab479._0x76d7c4,_0x2bbae1-_0xaab479._0x246f48,_0x58f6ba,_0x52869d-_0xaab479._0x15ba61);}const _0x3e2a7a=_0x5df5e5[_0x506a07(0x4d2,_0xb350f4._0x58ae01,0x370,0x617)](0x0,_0x21c0ec)[_0x52a265(_0xb350f4._0x5533b4,-0x57,0x15d,-0x5c)]('\x0a')[_0x52a265(_0xb350f4._0x2faba9,_0xb350f4._0x658454,0x1a5,0x1a4)],_0x4302b2=countLines(_0x583d47),_0x31f3f0=countLines(_0x258039);function _0x52a265(_0x455ea8,_0x531aec,_0x3c4ed5,_0x19397e){return _0x151cc1(_0x455ea8-0x1b2,_0x3c4ed5- -0x2e1,_0x19397e,_0x19397e-0x55);}return{'before':_0x5df5e5,'after':_0x5df5e5[_0x506a07(0x4d2,_0xb350f4._0x58340c,_0xb350f4._0x33f367,_0xb350f4._0x1aeb3f)](0x0,_0x21c0ec)+_0x258039+_0x5df5e5[_0x506a07(_0xb350f4._0x2f9e0e,0x3bc,0x5cd,_0xb350f4._0x16d6a8)](_0x21c0ec+_0x583d47[_0x506a07(0x5f9,_0xb350f4._0x10bcd2,_0xb350f4._0x444e1c,0x72e)]),'lineNumbers':{'oldStartLine':_0x3e2a7a,'oldEndLine':_0x3e2a7a+_0x4302b2-0x1,'newStartLine':_0x3e2a7a,'newEndLine':_0x3e2a7a+_0x31f3f0-0x1,'oldLineCount':_0x4302b2,'newLineCount':_0x31f3f0}};}function detectEol(_0x429971){const _0x22431c={_0x43feb2:0x31e,_0x46f91f:0x35d,_0x21f9b6:0x3cf,_0x3bfe51:0x21b,_0x40fd67:0x7f8,_0x19c408:0x58e},_0x472dbd={_0x200c8d:0x1a6,_0x304edb:0x1b9},_0x443fbb={_0x281ffb:0x180,_0x2a4d82:0x17a};function _0x39330b(_0xb06e23,_0x22357b,_0x44e414,_0x1fbbb1){return _0x151cc1(_0xb06e23-0xa7,_0xb06e23-_0x443fbb._0x281ffb,_0x22357b,_0x1fbbb1-_0x443fbb._0x2a4d82);}function _0x56d311(_0x78f0d5,_0xdd5674,_0x48b892,_0xeb5de7){return _0x1ac42a(_0x78f0d5-0x160,_0xdd5674-_0x472dbd._0x200c8d,_0x78f0d5-_0x472dbd._0x304edb,_0x48b892);}return/\r\n/[_0x56d311(_0x22431c._0x43feb2,0x494,_0x22431c._0x46f91f,0x1b3)](_0x429971[_0x39330b(_0x22431c._0x21f9b6,_0x22431c._0x3bfe51,0x4ac,0x489)](_0x39330b(0x66c,_0x22431c._0x40fd67,0x59d,0x80d)))?_0x39330b(0x64d,0x5f9,_0x22431c._0x19c408,0x71c):'lf';}function normalizeToLf(_0x2fa448){return _0x2fa448['replace'](/\r\n/g,'\x0a');}function convertEol(_0x34ad7c,_0x7aa861){const _0x30edd1={_0x286a3b:0x49a,_0x5b2375:0x4ad,_0x3b7d93:0x32c,_0x341f40:0xc4,_0x91cdd5:0x26f},_0x1d4376={_0x49240e:0x14a,_0x533aba:0x1},_0x5aefbf={_0x4e31b6:0x688};function _0xf6e959(_0x5457a9,_0x34bd12,_0x64d7c1,_0x551ed8){return _0x1ac42a(_0x5457a9-0x68,_0x34bd12-0x188,_0x5457a9-_0x5aefbf._0x4e31b6,_0x64d7c1);}function _0x15c93c(_0x3ace9b,_0x35c97d,_0x2854a9,_0x1f6e5c){return _0x1ac42a(_0x3ace9b-_0x1d4376._0x49240e,_0x35c97d-_0x1d4376._0x533aba,_0x3ace9b-0x34a,_0x35c97d);}return _0x7aa861===_0x15c93c(_0x30edd1._0x286a3b,_0x30edd1._0x5b2375,0x489,0x2cc)?_0x34ad7c[_0x15c93c(0x19e,_0x30edd1._0x3b7d93,_0x30edd1._0x341f40,_0x30edd1._0x91cdd5)](/\n/g,'\x0d\x0a'):_0x34ad7c;}async function atomicWrite(_0x48aed7,_0x30ca21){const _0x5ba4dc={_0x448508:0x865,_0x49fce9:0x78c,_0x260d06:0x3a3,_0x215c6e:0x586,_0x1b2a95:0x6a8,_0x499d15:0x3f1,_0x5e0ffd:0x779,_0x2a295c:0x8f0,_0x2a4f22:0x258,_0x3cf6d0:0x2eb,_0x58c489:0x277,_0x48ddb2:0x658,_0x4ed486:0x4d1},_0x5c630b={_0x3a8fbe:0x1c4,_0x9494fe:0xe9,_0x151388:0x711},_0x4f66c5={_0x424524:0x81,_0x78fbb7:0x261,_0x43101d:0x9};function _0x3e8263(_0x34f8cb,_0x3de930,_0x38a3da,_0x83e51e){return _0x151cc1(_0x34f8cb-_0x4f66c5._0x424524,_0x83e51e- -_0x4f66c5._0x78fbb7,_0x34f8cb,_0x83e51e-_0x4f66c5._0x43101d);}const _0x351310=_0x2ab8b9[_0x490475(0x78f,_0x5ba4dc._0x448508,_0x5ba4dc._0x49fce9,0x837)](_0x48aed7),_0x344772=_0x2ab8b9[_0x3e8263(0x405,0xaa,_0x5ba4dc._0x260d06,0x258)](_0x351310,_0x490475(0x3c2,_0x5ba4dc._0x215c6e,_0x5ba4dc._0x1b2a95,_0x5ba4dc._0x499d15)+_0x2ab8b9[_0x3e8263(0x2c3,0x314,0x260,0x20d)](_0x48aed7)+'.'+Date[_0x490475(_0x5ba4dc._0x5e0ffd,0x76a,0x698,_0x5ba4dc._0x2a295c)]()+'.'+Math[_0x3e8263(_0x5ba4dc._0x2a4f22,_0x5ba4dc._0x3cf6d0,0x207,_0x5ba4dc._0x58c489)]()[_0x490475(_0x5ba4dc._0x48ddb2,0x5e3,0x5bf,_0x5ba4dc._0x4ed486)](0x24)['slice'](0x2));function _0x490475(_0x189dc0,_0x3d4474,_0x2bdfbe,_0x937bfc){return _0x1ac42a(_0x189dc0-_0x5c630b._0x3a8fbe,_0x3d4474-_0x5c630b._0x9494fe,_0x3d4474-_0x5c630b._0x151388,_0x937bfc);}await _0x46e694(_0x344772,_0x30ca21),await _0xe58e8a(_0x344772,_0x48aed7);}function createFileEditTool(_0x44fc77={}){const _0xb8cfff={_0x239473:0x4d5,_0x386425:0x45e,_0x4cc389:0x58b,_0x44933f:0x400,_0x1f3907:0x6cc,_0x1a1e29:0x50a,_0x1ff3f6:0x146,_0x3a89b3:0xf0,_0x21196a:0x518,_0x56a58c:0x406,_0x390c57:0x6f7,_0x11c05c:0x388,_0x44a190:0x139,_0x37347e:0x2ac,_0x4a1b1a:0x351,_0x355e3b:0x264,_0x391c8b:0x2bf,_0x1d5182:0x2ff,_0xbcece9:0x3f9,_0x102ca5:0x263,_0x629ea1:0x537,_0xa48a0d:0x2f9,_0x28586e:0x370,_0x86e008:0x18a,_0x139582:0x264,_0x44a0c4:0x371,_0x14bd79:0x269,_0x5280eb:0x3b4,_0x2d4ec6:0x341,_0x2851ff:0x4b6,_0x4a6f5c:0x40e,_0x5ccddd:0x4e7,_0x5cb5c4:0x6ae},_0x3f0540={_0x53f7b7:0x105,_0x2a2a2b:0x12d,_0x359ad3:0x2f5,_0x5c43a4:0x155,_0x15ec63:0x45e,_0x2340e6:0x50e,_0x43baaf:0x461,_0x3c3a79:0x5f3,_0x4a7ce4:0x356,_0x1288dd:0x3f9,_0x475ce5:0x47,_0x38cfcb:0x107,_0x3dc871:0x135,_0x32c8a7:0x2b6,_0x3f4e3e:0x40e,_0x42d375:0x58f,_0x4ccbab:0x168,_0x2190ad:0x202,_0x290451:0x278,_0x3cf90f:0xb8,_0x76ac5d:0x3b,_0x55e128:0x52e,_0x3adb8e:0x39b,_0x39c191:0x3be,_0x23874b:0x296,_0x169acb:0x2b5,_0x1b0ecd:0x366,_0x1ce82f:0x287,_0x23aa6b:0x233,_0x20eae3:0x44d,_0x2c03a6:0x2d6,_0x4cf984:0x381,_0x1744ce:0x149,_0x3341c2:0x216,_0x4f4c80:0x20e,_0xdc866f:0x52e,_0x2a411f:0x52c,_0x44f7c6:0x3f0,_0x36b847:0x39f,_0x1d392e:0x219},_0x3e15f6={_0x21a9f6:0x109,_0x3b79d0:0x22},_0x4b496d={_0x52e85c:0x1ac,_0x2c7acc:0x8,_0x2a4b02:0x158},_0x4950c9={_0x2d08d9:0x2b,_0x55fd79:0x4c0},_0x5d59e2={_0x338d50:0xac,_0x59cd25:0x42b};function _0x412d88(_0x1d11f2,_0x185b12,_0x35f875,_0x2416bc){return _0x1ac42a(_0x1d11f2-0x183,_0x185b12-_0x5d59e2._0x338d50,_0x35f875-_0x5d59e2._0x59cd25,_0x185b12);}const _0x358663=_0x2ab8b9[_0x412d88(_0xb8cfff._0x239473,0x33f,0x3c9,0x3c4)](_0x44fc77[_0x412d88(0x430,0x59f,_0xb8cfff._0x386425,_0xb8cfff._0x4cc389)]??process[_0x412d88(0x33e,0x3a9,0x345,0x26e)]()),_0x306ede=_0x44fc77[_0x412d88(0x4b0,0x711,0x58d,_0xb8cfff._0x44933f)]??[];function _0x35e296(_0x407cb9,_0x4eeb0f,_0x238048,_0x109fd6){return _0x1ac42a(_0x407cb9-0x1b9,_0x4eeb0f-_0x4950c9._0x2d08d9,_0x238048-_0x4950c9._0x55fd79,_0x4eeb0f);}const _0xed6dfa=_0x44fc77[_0x35e296(_0xb8cfff._0x1f3907,0x5d3,0x552,_0xb8cfff._0x1a1e29)]??_0x412d88(_0xb8cfff._0x1ff3f6,_0xb8cfff._0x3a89b3,0x253,0x343);return defineTool({'name':_0xed6dfa,'permissionClass':_0x35e296(_0xb8cfff._0x21196a,_0xb8cfff._0x56a58c,0x5c3,_0xb8cfff._0x390c57),'description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':_0x35e296(_0xb8cfff._0x11c05c,_0xb8cfff._0x44a190,_0xb8cfff._0x37347e,_0xb8cfff._0x4a1b1a),'properties':{'filePath':{'type':_0x412d88(0x267,0x9c,_0xb8cfff._0x355e3b,_0xb8cfff._0x391c8b)},'description':{'type':_0x412d88(_0xb8cfff._0x1d5182,_0xb8cfff._0xbcece9,_0xb8cfff._0x355e3b,_0xb8cfff._0x102ca5),'description':_0x35e296(0x508,0x462,_0xb8cfff._0x629ea1,0x641)},'oldText':{'type':_0x35e296(0x236,0x26b,_0xb8cfff._0xa48a0d,_0xb8cfff._0x28586e)},'newText':{'type':_0x412d88(0xf3,_0xb8cfff._0x86e008,_0xb8cfff._0x139582,0x3ca)},'dryRun':{'type':_0x412d88(_0xb8cfff._0x44a0c4,_0xb8cfff._0x14bd79,_0xb8cfff._0x5280eb,_0xb8cfff._0x2d4ec6)}},'required':[_0x35e296(_0xb8cfff._0x2851ff,0x435,_0xb8cfff._0x4a6f5c,0x4b5),_0x35e296(_0xb8cfff._0x2851ff,_0xb8cfff._0x5ccddd,0x5ab,0x6f9),_0x35e296(0x700,_0xb8cfff._0x5cb5c4,0x55c,0x6cc)]},async *'execute'(_0x3f6ac4){const _0x7014b2=resolveAllowedPath(_0x358663,_0x306ede,_0x3f6ac4[_0x1b16f5(0x171,0x2f2,_0x3f0540._0x53f7b7,_0x3f0540._0x2a2a2b)]);await assertWorkspaceFile(_0x7014b2);const _0x15fb69=await _0x5ae177(_0x7014b2),_0xa9d3a9=await _0x844ce1(_0x7014b2),_0x3294a3=detectEol(_0xa9d3a9),_0x366bdb=normalizeToLf(_0xa9d3a9[_0x531b14(0x47a,_0x3f0540._0x359ad3,_0x3f0540._0x5c43a4,_0x3f0540._0x15ec63)]('utf8')),_0x2416f8=normalizeToLf(_0x3f6ac4[_0x531b14(0x3ea,_0x3f0540._0x2340e6,0x626,0x5d2)]),_0x30e7a8=normalizeToLf(_0x3f6ac4[_0x531b14(0x4ed,0x4bf,_0x3f0540._0x43baaf,_0x3f0540._0x3c3a79)]),_0x2bd741=replaceFirstExact(_0x366bdb,_0x2416f8,_0x30e7a8);function _0x531b14(_0x432644,_0x436ddf,_0xf5f3d9,_0x1678bc){return _0x412d88(_0x432644-_0x4b496d._0x52e85c,_0xf5f3d9,_0x436ddf- -_0x4b496d._0x2c7acc,_0x1678bc-_0x4b496d._0x2a4b02);}if(_0x2bd741===void 0x0){const _0x55120f=_0x2416f8[_0x531b14(_0x3f0540._0x4a7ce4,0x405,0x2d7,0x4e9)](0x0,0x64)[_0x531b14(0x1b4,0x277,0x1a7,_0x3f0540._0x1288dd)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x1b16f5(-_0x3f0540._0x475ce5,0x108,-_0x3f0540._0x38cfcb,0x39)+_0x55120f+(_0x2416f8['length']>0x64?_0x1b16f5(_0x3f0540._0x3dc871,_0x3f0540._0x32c8a7,0x327,0x25b):'')+'\x22',{'filePath':_0x3f6ac4['filePath']});}const _0x28d056=convertEol(_0x2bd741[_0x531b14(0x287,_0x3f0540._0x3f4e3e,0x5bd,_0x3f0540._0x42d375)],_0x3294a3);function _0x1b16f5(_0x2f3b16,_0x231c0c,_0x55011b,_0x2c87d5){return _0x412d88(_0x2f3b16-_0x3e15f6._0x21a9f6,_0x2f3b16,_0x2c87d5- -0x24c,_0x2c87d5-_0x3e15f6._0x3b79d0);}const _0x4a8a2e=Buffer['from'](_0x28d056,_0x1b16f5(0x3a5,0x235,0x445,0x34e)),_0x39a9bf=sha256Bytes(_0xa9d3a9),_0x1b7816=sha256Bytes(_0x4a8a2e),_0x3d241b=_0x39a9bf===_0x1b7816,_0x1e14c6=_0x3f6ac4['dryRun']??![];return!_0x1e14c6&&!_0x3d241b&&await atomicWrite(_0x7014b2,_0x4a8a2e),yield createToolOutput(_0x3d241b?_0x1b16f5(_0x3f0540._0x4ccbab,_0x3f0540._0x2190ad,0x18b,0x14e):_0x1e14c6?_0x1b16f5(_0x3f0540._0x290451,0x22a,0x192,0xac):_0x1b16f5(0x116,-_0x3f0540._0x3cf90f,0x11a,_0x3f0540._0x76ac5d),{'filePath':_0x3f6ac4[_0x531b14(_0x3f0540._0x55e128,0x371,_0x3f0540._0x3adb8e,0x38c)],'resolvedPath':_0x7014b2,'created':_0x15fb69[_0x531b14(_0x3f0540._0x39c191,_0x3f0540._0x23874b,_0x3f0540._0x169acb,0x1bc)]['toISOString'](),'modified':_0x15fb69[_0x531b14(0x388,_0x3f0540._0x1b0ecd,_0x3f0540._0x1ce82f,_0x3f0540._0x23aa6b)]['toISOString'](),'size':_0x15fb69[_0x1b16f5(_0x3f0540._0x20eae3,_0x3f0540._0x2c03a6,_0x3f0540._0x4cf984,0x346)],'eol':_0x3294a3,'oldTextLength':_0x2416f8[_0x1b16f5(_0x3f0540._0x1744ce,_0x3f0540._0x3341c2,_0x3f0540._0x4f4c80,0x2e8)],'newTextLength':_0x30e7a8[_0x531b14(_0x3f0540._0xdc866f,_0x3f0540._0x2a411f,0x5c8,0x55f)],'bytesWritten':_0x3d241b||_0x1e14c6?0x0:_0x4a8a2e[_0x531b14(_0x3f0540._0x44f7c6,_0x3f0540._0x2a411f,0x587,_0x3f0540._0x36b847)],'beforeSha':_0x39a9bf,'afterSha':_0x1b7816,'dryRun':_0x1e14c6,'noChange':_0x3d241b,'lineNumbers':_0x2bd741[_0x1b16f5(0x120,0x156,_0x3f0540._0x1d392e,0x1a5)]}),void 0x0;}});}import{mkdir as _0x5ed7df,rename as _0x47c755,stat as _0x18fe2,writeFile as _0xaa20e}from'fs/promises';import*as _0x38aea1 from'path';async function atomicWrite2(_0x596586,_0xd0de63){const _0x2949d7={_0x2b26dc:0xba,_0xf70be0:0x27c,_0x3aaa21:0x268,_0x2f1954:0x169,_0x5dbb69:0x10d,_0x862c7b:0x174,_0x1b1cdd:0xb8,_0x2ce4cd:0x1c,_0x4c15d6:0x1e,_0x125906:0x14d,_0x360baf:0x258,_0x18beeb:0xf2},_0x584c5e={_0x3dde13:0x63,_0x3f9ac6:0x110},_0x472969={_0x1630d1:0x11f,_0x3abae2:0x1af},_0x34a594=_0x38aea1['dirname'](_0x596586);await _0x5ed7df(_0x34a594,{'recursive':!![]});const _0x17996f=_0x38aea1[_0x4d3068(0x36f,0x24c,0x184,_0x2949d7._0x2b26dc)](_0x34a594,'.tmp.'+_0x38aea1[_0x4d3068(0x64,0x201,_0x2949d7._0xf70be0,_0x2949d7._0x3aaa21)](_0x596586)+'.'+Date[_0x4d3068(0x2e5,_0x2949d7._0x2f1954,_0x2949d7._0x5dbb69,0x2e0)]()+'.'+Math[_0x53aad9(_0x2949d7._0x862c7b,0x271,_0x2949d7._0x1b1cdd,0x325)]()[_0x4d3068(_0x2949d7._0x2ce4cd,-_0x2949d7._0x4c15d6,-0x182,_0x2949d7._0x125906)](0x24)[_0x4d3068(_0x2949d7._0x360baf,_0x2949d7._0x18beeb,-0x45,-0xf)](0x2));function _0x53aad9(_0x5a7e9a,_0x2c1070,_0x81b30f,_0x404768){return _0x1ac42a(_0x5a7e9a-_0x472969._0x1630d1,_0x2c1070-_0x472969._0x3abae2,_0x2c1070-0x116,_0x81b30f);}await _0xaa20e(_0x17996f,_0xd0de63);function _0x4d3068(_0x5ccc7a,_0x1a5a1e,_0x689f59,_0x2100e3){return _0x1ac42a(_0x5ccc7a-_0x584c5e._0x3dde13,_0x1a5a1e-_0x584c5e._0x3f9ac6,_0x1a5a1e-_0x584c5e._0x3f9ac6,_0x689f59);}await _0x47c755(_0x17996f,_0x596586);}function createFileNewTool(_0x570ab4={}){const _0x4b2f9e={_0x4793be:0x394,_0x44779a:0x322,_0x4dc476:0x39c,_0x482df5:0x43c,_0x56023c:0x30f,_0x5b436b:0x3b7,_0x5d0feb:0x466,_0x17bcc4:0x3a4,_0x351290:0x66a,_0x321450:0x2bd,_0x449138:0x416,_0x26aa50:0x307,_0x44af6f:0x31b,_0x3cf3e1:0x53b,_0x5ce9be:0x53e,_0x48d3a4:0x805,_0x5676cd:0x64f,_0x32d885:0x401,_0x2cb18e:0x49a,_0x58ce42:0x336,_0x27a692:0x4a7,_0x15f806:0x74e,_0x2dea0b:0x650},_0x4fb01f={_0x37f3d1:0x2ae,_0x5134c6:0x19e,_0x39841f:0x2aa,_0x5f53a3:0x409,_0x2321a5:0x32d,_0x1ab0fc:0x527,_0x5d56a3:0x50d,_0x74a74e:0x3f5,_0x4452ee:0x459,_0x59d0cf:0x378,_0x563954:0x239,_0x25bbe5:0x34c,_0x8b3f6b:0x23f,_0x739192:0x596,_0x3072df:0x49e,_0x516288:0x3f5,_0x44dcdd:0x4b5,_0x43c76e:0x4e6,_0x22c573:0x2ac,_0x47fd98:0x3c2},_0xc42405={_0x314e56:0x384},_0x59141c={_0x21e508:0x58,_0x3204ad:0x54c};function _0x1d4d5d(_0x44d376,_0x5ed8a5,_0x44fa9d,_0x2ce8c0){return _0x1ac42a(_0x44d376-_0x59141c._0x21e508,_0x5ed8a5-0xc0,_0x44fa9d-_0x59141c._0x3204ad,_0x2ce8c0);}const _0x227fd1=_0x38aea1[_0x569c16(_0x4b2f9e._0x4793be,0x1eb,_0x4b2f9e._0x44779a,_0x4b2f9e._0x4dc476)](_0x570ab4[_0x569c16(_0x4b2f9e._0x482df5,_0x4b2f9e._0x56023c,_0x4b2f9e._0x5b436b,0x26c)]??process[_0x1d4d5d(0x5c9,0x4ac,_0x4b2f9e._0x5d0feb,0x517)]()),_0x533757=_0x570ab4[_0x569c16(_0x4b2f9e._0x17bcc4,0x409,0x4e6,_0x4b2f9e._0x351290)]??[];function _0x569c16(_0x1ac91b,_0x1f138c,_0x22efe6,_0x17e6ce){return _0x1ac42a(_0x1ac91b-0xe,_0x1f138c-0x5c,_0x22efe6-_0xc42405._0x314e56,_0x1f138c);}const _0x1cadbd=_0x570ab4[_0x569c16(0x36c,_0x4b2f9e._0x321450,_0x4b2f9e._0x449138,0x546)]??_0x569c16(_0x4b2f9e._0x26aa50,_0x4b2f9e._0x44af6f,0x47d,_0x4b2f9e._0x3cf3e1);return defineTool({'name':_0x1cadbd,'permissionClass':_0x1d4d5d(_0x4b2f9e._0x5ce9be,_0x4b2f9e._0x48d3a4,_0x4b2f9e._0x5676cd,0x6c4),'description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':'object','properties':{'filePath':{'type':'string'},'content':{'type':'string'}},'required':[_0x1d4d5d(0x57a,_0x4b2f9e._0x32d885,_0x4b2f9e._0x2cb18e,_0x4b2f9e._0x58ce42),_0x1d4d5d(_0x4b2f9e._0x27a692,_0x4b2f9e._0x15f806,_0x4b2f9e._0x2dea0b,0x610)]},async *'execute'(_0x4cce0d){const _0x232c82={_0xde66e:0x25b},_0x49a455={_0xcf6bdb:0x15f,_0x580186:0xdd,_0x1e4cf2:0x1f0};function _0x32ba70(_0x3c40fa,_0xd1aa53,_0x5978a1,_0x285217){return _0x1d4d5d(_0x3c40fa-_0x49a455._0xcf6bdb,_0xd1aa53-_0x49a455._0x580186,_0x5978a1- -_0x49a455._0x1e4cf2,_0xd1aa53);}const _0x118fcd=resolveAllowedPath(_0x227fd1,_0x533757,_0x4cce0d[_0x32ba70(_0x4fb01f._0x37f3d1,_0x4fb01f._0x5134c6,_0x4fb01f._0x39841f,0x136)]);function _0x5baf9a(_0x314eec,_0x4cbbe3,_0x54e5c6,_0x5b9236){return _0x1d4d5d(_0x314eec-0x8f,_0x4cbbe3-0x150,_0x5b9236- -_0x232c82._0xde66e,_0x314eec);}const _0x541624=await _0x18fe2(_0x118fcd)[_0x5baf9a(0x40c,0x55b,0x462,_0x4fb01f._0x5f53a3)](()=>!![])[_0x32ba70(0x3e3,_0x4fb01f._0x2321a5,0x43a,0x449)](()=>![]),_0x5a9f66=Buffer['from'](_0x4cce0d[_0x5baf9a(_0x4fb01f._0x1ab0fc,_0x4fb01f._0x5d56a3,0x587,_0x4fb01f._0x74a74e)],_0x32ba70(_0x4fb01f._0x4452ee,0x3ce,0x4cb,0x4be));return await atomicWrite2(_0x118fcd,_0x5a9f66),yield createToolOutput(_0x32ba70(0x288,0x2d2,0x303,_0x4fb01f._0x59d0cf)+_0x4cce0d[_0x5baf9a(0x202,_0x4fb01f._0x563954,_0x4fb01f._0x25bbe5,_0x4fb01f._0x8b3f6b)]+'.',{'filePath':_0x4cce0d['filePath'],'resolvedPath':_0x118fcd,'bytes':_0x5a9f66[_0x5baf9a(_0x4fb01f._0x739192,0x43c,0x513,0x3fa)],'lines':_0x4cce0d[_0x5baf9a(0x3f3,0x54d,_0x4fb01f._0x3072df,_0x4fb01f._0x516288)][_0x32ba70(_0x4fb01f._0x44dcdd,_0x4fb01f._0x43c76e,0x41d,0x5b4)](/\r?\n/)[_0x32ba70(0x3bb,0x47d,0x465,0x3d0)],'created':new Date()[_0x5baf9a(_0x4fb01f._0x22c573,0x2f6,0x36f,_0x4fb01f._0x47fd98)](),'overwritten':_0x541624}),void 0x0;}});}import{readFile as _0x5134b4,stat as _0x2139af}from'fs/promises';import*as _0x1e2d8e from'path';function stripUtfBom(_0x4f30cb){const _0x1d2ff5={_0x238204:0x527,_0xb70fc5:0x4b4,_0x15dbac:0x4f3},_0x14202f={_0x3ce845:0x150};function _0x45fe01(_0x209247,_0x2b4cc1,_0x366e01,_0x5c5d86){return _0x151cc1(_0x209247-0x57,_0x5c5d86-0x1d9,_0x2b4cc1,_0x5c5d86-0x1be);}function _0x1df7bb(_0x285cd0,_0x60ceba,_0x20ecca,_0x4dcaca){return _0x1ac42a(_0x285cd0-0x0,_0x60ceba-_0x14202f._0x3ce845,_0x4dcaca-0x6f1,_0x285cd0);}return _0x4f30cb[_0x45fe01(_0x1d2ff5._0x238204,0x697,0x53f,0x671)](0x0)===0xfeff?_0x4f30cb[_0x45fe01(_0x1d2ff5._0xb70fc5,_0x1d2ff5._0x15dbac,0x55b,0x538)](0x1):_0x4f30cb;}function clampLine(_0x3c6bd5,_0x2c5ea5){const _0x220b6b={_0x34ab34:0x1b4,_0xd136a9:0x69a,_0x3a9d56:0x763,_0x315311:0x730,_0x41cf21:0x7cc,_0x50c7f0:0x94a},_0x130e00={_0x21ec64:0x19d,_0x5e10e9:0x26b},_0x56f847={_0x5da746:0x1c9,_0x13cca4:0x355,_0x39b281:0x180};if(!Number[_0x2518d3(_0x220b6b._0x34ab34,0x26c,0x439,0x278)](_0x3c6bd5))return 0x1;function _0x1b0143(_0x775f57,_0x4ccc10,_0x17a52e,_0x5f34fb){return _0x151cc1(_0x775f57-_0x56f847._0x5da746,_0x4ccc10-_0x56f847._0x13cca4,_0x17a52e,_0x5f34fb-_0x56f847._0x39b281);}function _0x2518d3(_0x5d14be,_0x29becd,_0xbd560b,_0x17ab1c){return _0x1ac42a(_0x5d14be-0x14,_0x29becd-_0x130e00._0x21ec64,_0x17ab1c-_0x130e00._0x5e10e9,_0x29becd);}return Math[_0x1b0143(_0x220b6b._0xd136a9,_0x220b6b._0x3a9d56,0x900,0x8b7)](0x1,Math[_0x1b0143(0x77c,_0x220b6b._0x315311,0x6b3,0x8e4)](Math[_0x1b0143(0x6bf,_0x220b6b._0x41cf21,0x65c,_0x220b6b._0x50c7f0)](_0x3c6bd5),_0x2c5ea5));}function createFileReadTool(_0x360e53={}){const _0x471e2b={_0x1c7ed9:0x91,_0x15afb1:0x35,_0x3e3d86:0xb4,_0x5f20c6:0x42,_0x3adda0:0x3bf,_0x40fc96:0x347,_0x301d1f:0x291,_0x4b1de4:0x1c3,_0x55a8a8:0x90,_0x565c05:0x3,_0x4239cd:0x6,_0x16630d:0x11c,_0x5e40fb:0x123,_0x52d7bb:0x13f,_0x1f6cd7:0x1b4,_0x16556c:0x81},_0x1600f4={_0x409b1a:0x3e2,_0x19e652:0x54e,_0x3a46b5:0x65,_0x255bb3:0x6a,_0x486b75:0x91,_0x1a1652:0x690,_0x587da8:0x3ba,_0x10ca59:0x4e8,_0x45ccf2:0x81b,_0x33df1d:0x685,_0x462413:0x731,_0x3a0327:0x1fe,_0x5eeb88:0xe8,_0x36f99e:0xeb,_0x8cdbe8:0xee,_0x3e422e:0x59c,_0x47b7e6:0x3ff,_0x52a72c:0x73d,_0x16fc26:0x7b7,_0x7f25b8:0x84e,_0x1285d4:0x931,_0x1530e2:0x6b4,_0x5cdf59:0x875,_0x195c8c:0x20f,_0x450eb6:0x17,_0x546a56:0x15a,_0x5b278:0x93,_0x1350d5:0x61a,_0x1a7384:0x71f,_0x5e746f:0x5d4,_0xab6557:0x5a6,_0x2bd0a:0x1b9,_0x1eb16c:0x358,_0x5dfb94:0x10e,_0x57b840:0x2c8,_0x4c39ba:0x19e,_0xa8c93a:0x14d,_0x58d24e:0x3,_0x57e5c0:0x4be,_0x2bad9d:0x5b6,_0x133277:0x6ec,_0x5d1f0e:0x1ec,_0x531fd8:0x1e7,_0x45a1c8:0x1ec,_0x5b054f:0x71c,_0x1a0ab6:0x6f1,_0x5677eb:0x71f},_0x41fe35={_0x3a7fab:0x14a,_0x429cdb:0x129},_0x360fbb={_0x114839:0x1dd},_0x3ff909={_0x8c43bf:0x102,_0xb2e566:0x17e};function _0x2ebdc0(_0x59b38c,_0x4785e2,_0x2d4f3d,_0x452b39){return _0x151cc1(_0x59b38c-_0x3ff909._0x8c43bf,_0x2d4f3d- -_0x3ff909._0xb2e566,_0x452b39,_0x452b39-0x3b);}const _0x4f6584=_0x1e2d8e[_0x2ebdc0(0x154,_0x471e2b._0x1c7ed9,0x19d,_0x471e2b._0x15afb1)](_0x360e53['defaultCwd']??process[_0x4131bb(_0x471e2b._0x3e3d86,-0x106,-_0x471e2b._0x5f20c6,-0x1fd)]()),_0x51ca09=_0x360e53[_0x2ebdc0(0x308,0x4da,0x361,0x488)]??[];function _0x4131bb(_0x55273a,_0x5993ac,_0x5c884d,_0x35eff2){return _0x151cc1(_0x55273a-0x95,_0x5c884d- -0x2d9,_0x5993ac,_0x35eff2-_0x360fbb._0x114839);}const _0x5c684a=_0x360e53[_0x2ebdc0(_0x471e2b._0x3adda0,_0x471e2b._0x40fc96,_0x471e2b._0x301d1f,_0x471e2b._0x4b1de4)]??'FileRead';return defineTool({'name':_0x5c684a,'permissionClass':_0x2ebdc0(0x496,0x206,0x2ec,0x49b),'description':_0x2ebdc0(-_0x471e2b._0x55a8a8,-0x1bb,_0x471e2b._0x565c05,0x172),'inputSchema':{'type':'object','properties':{'path':{'type':_0x4131bb(-_0x471e2b._0x4239cd,-_0x471e2b._0x16630d,-_0x471e2b._0x5e40fb,-_0x471e2b._0x52d7bb)},'lineStart':{'type':'number','description':'Start\x20reading\x20from\x20this\x20line\x20number\x20(1-based)'},'lineEnd':{'type':'number','description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':[_0x2ebdc0(_0x471e2b._0x1f6cd7,-_0x471e2b._0x16556c,0x8f,0x77)]},async *'execute'(_0x523775){const _0x34db2e={_0x229b89:0x156,_0x176f91:0x572},_0x57db66=resolveAllowedPath(_0x4f6584,_0x51ca09,_0x523775[_0x23dd31(_0x1600f4._0x409b1a,0x389,_0x1600f4._0x19e652,0x4a6)]);await assertWorkspaceFile(_0x57db66);const _0x5cb5e2=await _0x2139af(_0x57db66);function _0x23dd31(_0x380c09,_0xe20515,_0x31376,_0x17ecb8){return _0x4131bb(_0x380c09-_0x34db2e._0x229b89,_0xe20515,_0x17ecb8-_0x34db2e._0x176f91,_0x17ecb8-0x16b);}const _0x7818e6=await _0x5134b4(_0x57db66);if(isProbablyBinary(_0x7818e6))throw new ToolExecutionError(_0x371916(-_0x1600f4._0x3a46b5,-_0x1600f4._0x255bb3,-0x100,0xce)+_0x523775['path'],{'path':_0x523775[_0x371916(-0x256,-0xc0,_0x1600f4._0x486b75,-0x26)]});let _0x5ad2e4=_0x7818e6[_0x23dd31(_0x1600f4._0x1a1652,0x5fd,_0x1600f4._0x587da8,_0x1600f4._0x10ca59)]('utf8');const _0x362e95=_0x5ad2e4[_0x23dd31(_0x1600f4._0x45ccf2,0x58d,_0x1600f4._0x33df1d,_0x1600f4._0x462413)](0x0)===0xfeff;_0x5ad2e4=stripUtfBom(_0x5ad2e4);const _0x4a23a7=_0x5ad2e4['split'](/\r?\n/),_0x5ce8d8={'path':_0x523775[_0x23dd31(0x2e4,0x4ce,0x4f8,0x4a6)],'resolvedPath':_0x57db66,'created':_0x5cb5e2[_0x371916(-_0x1600f4._0x3a0327,-0xdd,-_0x1600f4._0x5eeb88,_0x1600f4._0x36f99e)][_0x371916(0x264,0x181,0x142,_0x1600f4._0x8cdbe8)](),'modified':_0x5cb5e2[_0x23dd31(0x400,_0x1600f4._0x3e422e,_0x1600f4._0x47b7e6,0x559)][_0x23dd31(0x70c,_0x1600f4._0x52a72c,_0x1600f4._0x16fc26,0x6e7)](),'size':_0x5cb5e2['size'],'encoding':_0x23dd31(0x926,_0x1600f4._0x7f25b8,_0x1600f4._0x1285d4,0x785),'bomStripped':_0x362e95,'truncated':![],'totalLines':_0x4a23a7[_0x23dd31(_0x1600f4._0x1530e2,_0x1600f4._0x5cdf59,0x66b,0x71f)]};function _0x371916(_0x57f1be,_0x3a9cbf,_0x1ab26f,_0x195826){return _0x2ebdc0(_0x57f1be-_0x41fe35._0x3a7fab,_0x3a9cbf-_0x41fe35._0x429cdb,_0x3a9cbf- -0x14f,_0x195826);}if(_0x523775[_0x371916(_0x1600f4._0x195c8c,0x10f,-_0x1600f4._0x450eb6,0x7f)]!==void 0x0||_0x523775[_0x371916(-0x148,-_0x1600f4._0x546a56,-0x11c,-_0x1600f4._0x5b278)]!==void 0x0){const _0x2e02fa=clampLine(_0x523775['lineStart']??0x1,_0x4a23a7[_0x23dd31(_0x1600f4._0x1350d5,0x8a3,0x8a5,_0x1600f4._0x1a7384)]),_0x65ecc5=clampLine(_0x523775['lineEnd']??_0x4a23a7[_0x23dd31(_0x1600f4._0x5e746f,_0x1600f4._0xab6557,0x75a,_0x1600f4._0x1a7384)],_0x4a23a7[_0x371916(0x53,_0x1600f4._0x2bd0a,_0x1600f4._0x1eb16c,0x2df)]),_0x4271f5=Math[_0x371916(0x2cd,_0x1600f4._0x5dfb94,0xc0,_0x1600f4._0x57b840)](_0x2e02fa,_0x65ecc5),_0x209d15=Math[_0x371916(_0x1600f4._0x4c39ba,0x141,_0x1600f4._0xa8c93a,-_0x1600f4._0x58d24e)](_0x2e02fa,_0x65ecc5),_0x2b3568=_0x4a23a7[_0x23dd31(0x4f5,_0x1600f4._0x57e5c0,_0x1600f4._0x2bad9d,0x5f8)](_0x4271f5-0x1,_0x209d15)[_0x23dd31(0x5a6,0x57a,_0x1600f4._0x133277,0x6c0)]((_0x229c98,_0x52277b)=>_0x4271f5+_0x52277b+'|'+_0x229c98)[_0x371916(0x64,_0x1600f4._0x5d1f0e,_0x1600f4._0x531fd8,_0x1600f4._0x45a1c8)]('\x0a');return yield createToolOutput(_0x2b3568,{..._0x5ce8d8,'lineRange':{'lineStart':_0x4271f5,'lineEnd':_0x209d15,'linesTotal':_0x4a23a7[_0x23dd31(_0x1600f4._0x5b054f,0x6d8,_0x1600f4._0x1a0ab6,_0x1600f4._0x5677eb)]}}),void 0x0;}return yield createToolOutput(_0x5ad2e4,_0x5ce8d8),void 0x0;}});}import{stat as _0x5e4a83}from'fs/promises';import*as _0x48fc84 from'path';function _0x32bc(){const _0x53b637=['CMvZB2X2zq','y2HHCMfJDgvY','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C2vSzwn0Aw9UuMfUz2u','zgLHz25VC3rPy3m','DhjPBuvUza','r2XVyG','ChjVy2vZC0DYB3vWswq','v0vcua','rMLSzsb3CML0DgvUigf0ia','ignOyxjHy3rLCNm','revfueLorLjbx0fqsv9lrvK','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','C2HHmJu2','uhjVz3jHBuzPBgvZkhG4nIK','zNjLzxPL','sw52ywXPzcbVDxrWDxrszwDLEdOG','tg9HzgvKigzYB206ia','uhvIBgLZAgvKoIa','AxnfBMfIBgvK','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','DgLTzw91DfnVDxjJzq','CM91BMq','BhmGlwXH','CMvMAw5L','Aw52ywXPzf90B2rVCW','y29TBwfUza','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','Cg5WBs1SB2nRlNLHBwW','qMfJA2DYB3vUzcbWCM9JzxnZihjLC2vYDMf0Aw9UigLZig1PC3nPBMCGB3iGywXYzwfKEsbJB25ZDw1Lza','C3rHDgu','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','CgXHAw4','zw52','zMLUywXnzxnZywDLvgv4Da','C25PChbLDa','yNL0zxm','BwnWlwf1DgGTCMvXDwLYzwq','r0LgodDH','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','BgLUzu51BwjLCNm','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','Dgv4DerVy3vTzw50l2rPze9Wzw4','AxneAxjLy3rVCNK','zgvSzwDHDgvKlxj1BI0','vg9Vig1HBNKGCMvKAxjLy3rZ','ihrVB2WGy2fSBcbMywLSzwq','EMfP','Aw5PDgLHBgL6yxrPB24','Aw1Hz2uVANbLzW','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','uhjVz3jHBuzPBgvZ','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','C3LTBgLUAW','CMv0AxjL','ANnVBG','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','zgLZCg9Zzq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','r3jLCa','oIbPBNzHBgLKihn0yxr1CW','zMLUAxrL','l29WDc9OB21LyNjLDY9IAw4VCMC','BwnWlxrVB2WTy2fSBc1MywLSzwq','C3jJl2v4yw1WBgvZl2rLBw8UDhm','BwLUAw1HEa','zw50CMLLCW','C2XPy2u','ygbG','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','zMLSztOVlW','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','ywX3yxLZlwnVBMzPCM0','u0Lhvevstq','BwnFzwLK','yxr0CG','ywz0zxi','z2v0','igzHAwXLzcb0BYbJB25Uzwn0','C2LNBMfSqwrHChrLCG','Aw50','z2XVyG','B3bLCMf0Aw9U','CgfYC2u','ywjZ','yw5ZAti1nG','ig1HDgnO','B3jPz2LUvg9VBenHBgXjza','yMLVBwu','Aw5FChjVz3jLC3m','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','Aw1Hz2uVz2LM','qxv0Ag9YAxPHDgLVBG','BxvSDgLtzwXLy3q','C3rKB3v0','CMvXDwvZDa','C3rKzxjY','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','DgvYBwLUyxrPB25tzxr0BgvK','zhvWBgLJyxrLx3rVzg9FAwrZ','Dgv4Dc9ODg1S','z3jVAW','Agv4','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','y29Uy2f0','ugfJA2fNzxm','Dgf2AwX5qxbPs2v5','ywjVCNq','AgfUzgXL','u2HLBgWGBM90igzVDw5KoIa','AxngAw5PDgu','Dg9VBenHBgXjza','Dg9VBfjLC3vSDhm','B2C6DxbKyxrLzf90Aw1L','igzYB20G','rMv0y2GGywjVCNrLzcbIEsb1C2vY','vxbKyxrLvg9WAwm','mty5lJi1nc4WlJa','CM9VDfbPza','C3rKzxjYrgvJB2rLCG','ChvZAa','Cgf0Ag5HBwu','BgLZDfrVB2XZ','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','zNjVBq','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','C3rKB3v0tM9YBwfSAxPLCG','rMv0y2GGDgLTzwqGB3v0','yxjNDw1LBNriAw50','CgfJA2fNzs5QC29U','u2L6ztOG','zgLZy292zxj5u3rHDgu','ChjLzML4','B2XSyw1H','CNnZ','y2fJAgvK','z3jHy2vMDwXszxf1zxn0zwq','Axnoyu4','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','ChjLCgfYzunHBgXiAwvYyxjJAhK','DgL0Bgu','lNrZEa','B3v0y29Tzq','yNjVA2vU','l3vZCI9IAw4VCMC','ndu1ndLTvhjkyuu','yMCT','mc4WlJa','zgvMyxvSDen3za','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','Dg9Rzw5tDg9YywDLs2v5','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','A2v5CW','Aw1Hz2u','tM8GC3vJAcbMAwXLoIaN','v2LUr2v0','r0XpqKLhtK9srq','C2vZC2LVBKLK','l2jPBI9IyxnO','CxvLC3rPB24','ChjVy2vZCW','tM8GBg9JyxrPB25ZigzVDw5K','zg9TywLUCW','C3bHD25PBMC','y291BNq','mJi0lJaUmc4W','Ag92zxi','BNvT','lMjPBG','Aw5JBhvKzq','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','revfufnfruTFqvbjx0Tfwq','rM91BMqG','phn5C3rLBs1Yzw1PBMrLCJ4','CMvJzw5JEurHExm','zgnZ','zgvSAw1PDgvY','yxnPzgu','mJqWlJaUmc4W','qMfZAa','lMPZB24','vg9WAwmGC2v0ihrVici','CNvUswq','Dhj1BMnHDgvK','BgLUzq','zMLUywXnzxnZywDL','BM93','zxnJyxbL','vMLLD0zPBgu','BM9UBMvNyxrPDMu','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','BwLU','BgLUzvn0yxj0','Aw5qCM9NCMvZCW','BgLUzvrLEhq','zMX1C2HtDhjLyw1Z','A2v5yMLUzgLUz3m','DhjHBNnWB3j0','Bw9Kzq','D29YA3nWywnLu3LTyM9S','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','B3v0Chv0','CxvLC3rPB25Z','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','B3bLBNjVDxrLCG','C3rHCNrLzef0','CxvLC3rPB24T','lNrZ','l3vZCI9IAw4VC2G','DxrTx21LzgL1Bq','y3vZDg9T','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','lM10CW','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','CgLK','D2vI','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','zM9Yy2u','DxrTx2nHBxbHAwDU','l2jPBI9ZAa','yMLVBwuUANnVBMm','lI4U','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','Aw50zwDLCG','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','y29KzvbVAw50qxq','zxjYB3i','qMfZzsbKAxjLy3rVCNK6ia','y2fWq2HHCNm','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','vw50AxrSzwq','BMf2','D29YA3nWywnL','B2f1DgG','yxjYyxK','y29UDgv4Da','C3rHDhvZ','BgLUzv9UDw1Izxi','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','yNvMzMvY','Dg9Rzw5Z','C3rHCNrZv2L0Aa','Bwf4','BMfTzq','Aw52ywXPzf90B2rVx2L0zw0','qwDLBNqGCNvUia','AgfZ','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','ywrK','zg9JDw1LBNrtEw1IB2W','zxHPDa','zgf0zxrPBwu','lMPZ','BMv3vgv4Da','DgvYBwLUyxrL','mtCYlJe2lJaUma','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','zxHPDenVzgu','uMvHC29UAw5NigrLzMf1BhqGiG','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','Cgf0DgvYBG','wefjx0fqsv9lrvK','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','BgL0zxjHBa','CMvXDwvZDfrPBwvVDxrnCW','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','tu9ptLnit1rFqvbjx0Tfwq','BwfW','mtaUmc4WlJa','C3bHD24','C3rKB3v0rgvJB2rLCG','DMvYAwz5rxHLy3v0Aw9U','zw5NAw5L','DhjPBq','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','C2HLBgXjza','zMLSzxm','D2fPDezVCKrPywDUB3n0AwnZ','B25Jzq','ChjVy2vZC0v4AxrLza','mtaWlJy0lJaUma','B25szwrPCMvJDa','Bg9VA3vW','oIbPBNzHBgLKihbYAw9YAxr5','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','CNvUsw5cywnRz3jVDw5K','yxjNDw1LBNrZ','sw5MB3jTyxrPB24','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','C3bSAxq','Dg9Rzw4','ls1WCMvMAxG','nZuYEgncvM1p','qxnZAwDUvgfZAW','zxzLCNK','q29Tu3bLyW','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','C29Tzq','Dg9KB3m','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','Bwv0yq','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','thnW','zgvMAw5PDgLVBG','DgHPBMTPBMC','Dg9ju09tDhjPBMC','yxv0BW','yxnRvxnLCG','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','l3vZCI9IAw4VyMfZAa','vg9KBYa','qu5usfjpueLdx0fqsv9lrvK','y29UzMLN','nte1mJu5CKD0DwXl','DxnLCM5HBwu','CMvXDwLYzwq','rMfPBgvKihrVihrLCM1PBMf0zsa','yw50AhjVCgLJlw1LC3nHz2vZ','y2f0y2G','Aw5WDxq','CxvLCNK','Aw52ywXPzf90B2rVx3n0yxr1CW','AxrLBxm','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','nKTwrKvAua','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','CMvTB3zLrxzLBNrmAxn0zw5LCG','Ag9ZDg5HBwu','DhLWzq','EwvZ','B2XKvgv4Da','uefusa','CMvHza','BgLUzxm','ChjVDg90ExbL','Aw52ywXPzf90B2rVx2LK','yMfZzw5HBwu','y2HPBgq','ig1Z','zgfYAW','BgfUz18','CMvHzen1CNnVCG','CgvYBwLZC2LVBKnSyxnZ','DhjHAwXPBMDdAhvUA3m','rMLSzu5LDW','Dhj1BMm','C2vUza','yNvUlMXVy2S','CMvZzxj2zq','t1bftLjpvvrfuL9bueLFs0vz','y29Kzq','BM9Uzq','vMLLD2vKigLTywDLigzPBgu6ia','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','D3jPDgu','y29UDgvUDa','AgvHzgvYCW','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','y2fSBeLK','AgvHzgvY','BgvUz3rO','C2v0vg9WAwm','zgvMyxvSDfrPBwvVDxrnCW','ls0T','BwnWxW','DgfZA2TPBgW','igzHAwXLzc4','Aw1Hz2uVD2vICa','BwvZC2fNzq','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','ywDLBNrjza','CMvHze9UBhLiAw50','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','C29YDa','yxv0Aa','DgHLBG','z2v0u3rHDhm','BgfUz3vHz2u','y2HHCKnVzgvbDa','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','lNbUzW','Cg9ZAxrPDMu','AMf2yxnJCMLWDhjLywn0','yxnZAwDU','Ahr0Ca','yxjNDw1LBNrZvgv4Da','B3b0Aw9UywW','CMfUz2u','zxjYB3jnzxnZywDL','ru5pru5u','ls1NBg9IpseUz2L0lYO','lMn0CW','zMfPBgvK','mteWntKWENbTzNLW','DgLTzvTKyxrLDgLTzv0','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','C3rKAw8','C3rYzwfTC0zSDxnOzwq','A2LSBgvK','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','yMfZAwm','CMvNAxn0zxjby3rPDMvsDw4','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','AgfZq2XPzw50CW','iIbPCYbYzxnLCNzLza','C3rKAw4','zMLSzq','ls1ZDgrPBW','C2vTyxbOB3jL','AM9PBG','y2HHBMDL','zgvUBY5QC29U','y2XVC2u','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','zgLZy292zxj5','BNvTyMvY','zxH0BMfTzq','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','zMLYC3q','D2HPy2GGCMC','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','C3rYAwn0','DhvWBgu','CMvZDwX0','DhnJB25MAwCUANnVBG','C2vUzfjLCxvLC3q','AxngAwXL','CMvZzxj2yxrPB25Z','A2LTAq','y3jSzG','yxbPs2v5','z29Vz2XLq3nLs2v5','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','zgLYBMfTzq','lM1QCW','ignVBM5Ly3rPB24GDgLTzwqGB3v0','v2fYBMLUzW','CMvMCMvZAf90B2TLBG','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','y2fUrgLZywjSzq','CMfUzg9T','B2zMC2v0','ls1OAwrKzw4','t1bftKfjx0fqsv9lrvK','yxbWBgLJyxrPB24VANnVBG','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','B3v0Chv0uMvNzxG','ywXSB3DLzerPCNm','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','DgvZDa','yw5ZAte2','C2L6zq','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','zw5NAw5LCW','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','AxntywzLsw50zwDLCG','yM94zwq','zMLSzunVDw50','C2fMzq','DxrMoa','lcbpChrPB24G','zgv0ywLS','AgfZt3DU','BwLUAw1HBa','zgf0zvjLC3rYAwn0','y2fSBfrVB2W','mti2mZy3ogD1vef3Aa','zgvLChnLzwS','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','y2vPBa','Bg9JyxrPB24','AhjLzG','BgLMzwn5y2XL','ignVBxbSzxrLzc4','sw52ywXPzcbYzwDLEdOG','DgvYBwLUyxrPBMC','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','C2vYDMvYswq','Aw50zxjUywXmAwzLy3LJBgu','yNvMzMvYq2HHCNm','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','CMvZzxq','z29uB0rLzMLUAxrPB24','ANnJB25MAwCUANnVBG','q0rqqvri','DhvYBMrVD24','z2L0AhvI','B2jQzwn0','tM8GAg92zxiGAw5MB3jTyxrPB24','r0LgodLH','y291BNrLCG','CMvMzxjLBMnLCW','AwzYyw1L','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','qMvHCMvYia','DxbKyxrL','cGPbuKDvtuvovfm6ia','BgLUzuvUza','tunqihnLCNzLCIa','Bwf0y2HLCW','C3vIyxjYyxK','Dg9VBhm','Dgv4Da','zgLZy292zxi','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','CMvSzwfZzq','DMfSDwu','yNvUlMXVy2TI','zMLUza','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','C3rHDhvZvgv4Da','C2vHCMnOugfYyw1Z','C2LNBMfS','ugf0AcbPCYbUB3qGysbMAwXLoIa','ru5w','Ag9TzwrPCG','mJeWmxfyywn1Ea','BwnWlwrPC2nVDMvYEs1MywLSzwq','zxzPy3rjzK5LzwrLza','Bg93','yMLUza','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','Aw1WBgvTzw50yxrPB24','C2TPBgXZ','CMvZDwX0CW','y3jLyxrLzef0','y29TCgXLDgvK','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','ls1YzwDLEha','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','DhLWzxnJCMLWDhjLywn0','DgLTzw91De1Z','BM90Awz5','twLJCM9ZB2z0','Bg9JywXLq29TCgfYzq','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','Dw5RBM93BG','C2vHCMnOrgvWDgG','y2HHDgDWDa','lMnQCW','C2H1DgrVD25tDgfYDgvK','DxrTx2nVBNrLBNq','B25LCNjVCG','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','rMLSzuvKAxq','CMfJzq','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','DxrTx3nVDxjJzq','qxzHAwXHyMXLignVBw1HBMrZoG','BhnW','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','C291CMnL','tM8GC3LTyM9SCYbMB3vUza','ihDHCYbHBhjLywr5ia','zMLSBa','CMvNAw9U','BgLZDa','l2jPBI9YzW','Bwf0y2HdB3vUDa','lMPWzW','zgvUBY5QC29UyW','C3rYAw5N','yxr4','C2vYDMvYtMfTzq','Bwf4uMvKAxjLy3rZ','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','Dhj1zwnVBg9Y','Dg90ywXqCM9KDwnLza','zgvSAxzLCMvK','qMfJA2DYB3vUzfbYB2nLC3ndBgvHBNvWrxjYB3i','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','odiWnta3v29cD3vp','CMvUzgvYu3LZDgvTuhjVBxb0','B3bLBKzPBgvZ','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','B2zM','CgfJA2fNzs1SB2nRlMPZB24','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','Bwf4rw50CMLLCW','Ec1HCgKTA2v5','zMLUzfjLzMvYzw5Jzxm','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ChjPB3jPDhK','y2XPzw50sw5MB3jTyxrPB24','zwzMB3j0','yxjNDw1LBNroyw1LCW','BwnWlxrYyw5ZCg9YDc1LCNjVCG','CMvWBgfJzq','u0HfteW','lMPZB25J','wKfjx0fqsv9lrvK','pc9ZExn0zw0TCMvTAw5Kzxi+','o1TExg5DkJ8','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','B3bLBMfPlxjLC3bVBNnLCW','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','C3rVCMfNzurPCG','Dgf2AwX5','Ag9ZDa','ywrHChrPDMu','Bw9VBNnOB3q','ywrKsxnZDwu','z29uB0LTCgXLBwvUDgf0Aw9U','AxnjBNrLz2vY','ignSB3nLihrPBwvKig91Da','zgf0yq','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','qgjPB21LANmVyMLVBwu','DgvYBwLUywXtzxr0BgvK','AhrTBfnUAxbWzxq','C2v0DgXLvgvYBwLUywW','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','uMvXDwvZDfrPBwvVDxq','ywjVCNrLza','B3v0z29PBMDdywXSCW','Dg9VBe5HBwu','ie9sia','yMLYDgH0Aw1L','AwDUB3jL','lNrTCc4','Aw5WDxrty2HLBwe','zgvSzxrL','CMvZB2X2zvrLCM1PBMfS','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','CMCUzxHL','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','zNvSzMLSBgvK','Bwf4qNL0zxm','CMvJB3jK','Dg9VBfbLCM1PC3nPB25Z','yNvKz2v0vg9Rzw5Z','Dg9mB3DLCKnHC2u','igj5DgvZicH0B3rHBdOG','BwvKAxvT','CgfJA2fNzu5HBwu','yxbWzw5K','zxHPDgvK','B3bLBMfP','Dgv4DerVy3vTzw50l2HVDMvY','qwXSia','BgLI','Aw5ZDhj1y3rPB25Z','C3vKBW','zMXHDe1HCa','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','zgvMyxvSDe9WDgLVBG','Cgf0Aa','z29Vz2XLlwnZzq','ChjLChjVy2vZCW','zgvMyxvSDa','v2vIrMv0y2G','Dg9VBenHBgW','CgLWzq','ywrKrxzLBNrmAxn0zw5LCG','yxv0Ag9YAxPHDgLVBL9JB2rL','CgfYzw50u2vZC2LVBKLK','zMLSDgvY','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','zw51Bq','l3bPza','BgfUzW','zNvUy3rPB24','D29YA3nWywnLl3n5BwjVBa','C2nYDwjfBNzlzxLZ','DwX0CMe','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','CMvQzwn0','Dg9VBa','zM9Yy2vszxf1zxn0zwq','lu5Vtg9NBW','CMLWz3jLCa','r09pr0Xfx0ntrv9dwa','icHWAwqG','Aw52ywXPzf90B3bPyW','C3rHCNq','BgfIzwW','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','C3rKzxjYtM9YBwfSAxPLCG','zMLSzvzLCNnPB25Z','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','BgLUAW','y29UDgvUDc10ExbL','D2LUmZi','yMfZAa','y29ZDa','s2LSBfnOzwXS','tunqihrVB2WG','mZy4qNz0EMXv','yMLUyxj5tMfTzq','cMbGya','ANnVBMm','yw50AhjVCgLJ','Aw1Hz2vZ','EwfYBI5SB2nR','Aw5PDgLHBgL6zq','y29UzMLYBwvK','C2vUze5VDgLMAwnHDgLVBG','CMvNAxn0zxjby3rPDMvbz2vUDa','CMvTB3zL','s0Lnsv9bueLFs0vz','BNbT','Aw5JBhvKzxm','AxndB250zxH0','yxnR','Dg9vChbLCKnHC2u','Dg9KB3ncEvnLC3nPB24','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','Aw5KzxHpzG','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','BNv2Aw4','D2fPDezVCLrLCM1PBMfS','Dg9tDhjPBMC','lNDLyNa','y2XLyxi','ywXS','Bwf4q29Uy3vYCMvUDa','AxnbCNjHEq','A2LSBfjLCxvLC3rLza','CgfZC3rOCM91z2G','ywXSu2v0DgXLza','CNvUBMLUzW','Aw1Hz2uVCg5N','ksbB','rxjYB3i','Aw5JBhvKzv9KB21HAw5Z','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','zgLYzwn0B3j5','uMvHC29UAw5Nig9WDgLVBIaI','yNL0zuXLBMD0Aa','v2vIu2vHCMnO','tM8GCMvZDwX0CYbMB3vUzc4','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','Aw5JB21PBMDdywXSCW','CMvSyxrPDMu','zw5K','Aw5ZDgfSBa','lMPWzwC','sw52B2TLq29TBwfUza','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','BM9Kzv9TB2r1BgvZ','BwfUDwfS','y2XVC2vbBgW','ugf0AcbUB3qGzM91BMq6ia','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','CMvXDwvZDhm','Dgv4DerVy3vTzw50l2rPzenSB3nL','A2v5','l3vZCI9SB2nHBc9IAw4VCMC','C3rYAw5NAwz5','Dw5PB24','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','zgLHz25VC3rPy3ngB3jgAwXL','y29TBwfUzhm','C2v0','iYmGu2TPBgW6ia','uKLgrG','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','yxbWzw5KrgvJB2rLza','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','tuLosu1bwf9bueLFs0vz','ywXYzwfKEs10zxjTAw5HBa','z2nSAwq','oIbPzcbYzxf1AxjLza','y29UDgvUDhm','zNjVBuvUDhjPzxm','C2vZC2LVBG','zgfZAa','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','BxrPBwvnCW','C2v2zxjPDhK','AxnbyNnVBhv0zq','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','yw5ZD2vYCW','zgvZy3jPChrPB24','y29KzvzLCMLMAwvY','Dg9WAwm','DgvYBwLUyxrPB25qCM9TAxnL','DhnZzxj2zxiUANm','BgLTAxq','Dg90ywW','BgfZDeLUzgv4t2y','B3nJ','y3DK','y29UDgv4DeXPBMS','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','Cg9W','y2fSBgjHy2TvCMW','qKftse9qvfm','yxr0ywnO','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','yMvHCMvY','ChjVCgvYDgLLCW','lMXVzW','AwDUB3jLt3v0Chv0','y2XPzw50','DgvYBwLUywXqCM9TAxnL','u0Lhs0Lmta','CM9VDa','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','uxvLC3rPB24G','w1jfrefdvevexq','ihrVB2WGzgLZy292zxj5igzHAwXLza','y2XPzw50CW','DgfZAW','zMXVB3i','o1TE','zxf1ywXZ','D2LUzg93CW','DxrTx3rLCM0','DxjS','Dg90ywXeCM9WCgvK','AMf2yxnJCMLWDa','BwnWlwnVBM5Ly3qTzMfPBgvK','CMvHC29U','te9dquXbufbeqvrb','ywn0AxzL','BwnWlxnKAY1JBgLLBNqTzxjYB3i','zgvZy3jPChrVCNm','tg9HzfnRAwXS','lMDPzG','DhLWzxnJCMLWDa','AxnfCNjVCG','DhjHBNnMB3jT','BxrPBwu','AhLKCMf0zu1LDge','s2LSBgvKia','u3rHCNrLzcbHz2vUDcbYDw4G','mti3lJaUmc4W','rvnsq0G','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','C2L0ztO','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','CgvUzgLUzW','C2vYDMvY','zMLSzvbHDgG','ue9tva','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','A2LUza','B25JBg9Zzq','DxjP','y29UBMvJDgLVBG','C2H1DgrVD24','ls1MB2XSB3C','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','C2HPzNq','Cg9ZAxG','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','lMPZEa','DMfSDwvZ','z3jHy2vMDwW','oIbLEhbLy3rLzcbHihbVC2L0AxzLig51BwjLCG','ihDHCYbHyM9YDgvKlG','Cgf0DgvYBIbPCYbYzxf1AxjLza','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','A2LSBa','r09pr0Xfx0ntrv9lrvK','B3bLBG','ChvIBgLZAgvKqxq','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','q291BgqGBM90ihjLC29SDMuGAg9ZDa','yw55lwfSBg93zwq','yMfZzty0','ygbGANnVBGO','y29UBMvJDa','C2nVCgvZ','C3LZDgvTuhjVBxb0','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','Ahr0CdO','w1bFxL1BxhnCu10QpW','Bw9KzwW','y3nP','y2fWywjPBgL0AwvZ','B25uzxjTAw5HBevYCM9Y','CMvNzxG','tM8GzgLHz25VC3rPy3m','C2HLBgXqyxrO','Aw52ywXPzf9XDwvZDgLVBNm','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','C2vHCMnOvhLWzq','ywnXDwLYzq','mc4WlJaUma','BM90lwzVDw5K','yxjNCW','CgXHDgzVCM0','ywXSB3DLzfrVB2XZ','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','BgLZDgvU','mtqWmtzrsuDUCe8','B3b0Aw9UCW','CgXHAw50zxH0','zxHPDcbJB2rLia','yM9VBgvHBG','BhnWlxbYB3H5','BwfYA2rVD24','tNv2Aw4','lu5VuhjVzMLSzq','sw52ywXPzcbvuKWGCgfYyw1LDgvY','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','mZe1mJKZnvPADgvVta','ChjVDg9JB2W','lunVBw1HBMq','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','CMfUAW','sfruuca','yMLVBwuUANnVBG','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','BgLUzu51Bq','C3rYAxbbBNnP','lM51DMLU','B25oB3rPzMLJyxrPB24','DMvYAwzPzxi','zxH0zw5ZAw9UCW'];_0x32bc=function(){return _0x53b637;};return _0x32bc();}import{execSync,spawn as _0x447297}from'child_process';import{existsSync}from'fs';import{stat as _0x86a6c8}from'fs/promises';import*as _0x2c4090 from'os';import*as _0x2c2767 from'path';import{rgPath as _0x4823fb}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x225f2a={_0x4d1bfb:0x221,_0xf07107:0x187,_0x2b4ee5:0x18f,_0x406ffb:0x457,_0x3e992f:0x1c1,_0x45d525:0x198,_0x58f36c:0x9a,_0x253e63:0x1fc,_0x34fc67:0x2bc,_0x2ef777:0x240,_0x112d04:0x111,_0x245a94:0x48e,_0x4987ad:0x35d,_0x592010:0x26e,_0x9e0f20:0x491,_0x3a8edc:0x2ea,_0x56bd75:0x397,_0x52d8ea:0x438,_0x5c2d48:0x398,_0x760e94:0x6a,_0x24eb91:0x1fe,_0x1cadb5:0x316,_0x1599b0:0x2fc,_0x7fbb69:0x18e,_0x6d364c:0x377,_0x5a17c5:0x301,_0x31f83b:0xc4,_0x557257:0xaf,_0x45d628:0x275,_0x5c846c:0x332,_0x42d123:0x3b7,_0x54ee62:0x386,_0x2f5caa:0x40b,_0xff224a:0x384,_0x3f52ae:0x29c,_0x3b0822:0x10,_0x8b8ea5:0x61b,_0x2c3ff4:0x431,_0x554ee5:0x49b,_0x36f306:0x46a,_0x4d1e26:0x478,_0x5a9ae2:0x38f,_0x5f213d:0x162,_0x8bb3f9:0x1eb,_0x255adf:0x118,_0x4b39ff:0x1b0,_0x3595de:0x405,_0x1e4f1f:0x45f,_0x35d5f8:0x2c7},_0x3f14b3={_0xc38809:0x80},_0xc71c2c={_0x272593:0x186,_0x408934:0x28,_0x19e7a1:0x1a},_0x45dc13=_0x2c4090[_0x324885(_0x225f2a._0x4d1bfb,_0x225f2a._0xf07107,0x2b9,0x23a)]()==='win32',_0x215332=_0x45dc13?[_0x2c2767[_0x324885(0x444,0x342,0x1a8,0x4b3)](process[_0x48c3df(_0x225f2a._0x2b4ee5,_0x225f2a._0x406ffb,0x314,_0x225f2a._0x3e992f)][_0x324885(0x2c7,0x140,_0x225f2a._0x45d525,_0x225f2a._0x58f36c)]||'',_0x48c3df(_0x225f2a._0x253e63,0x23e,0x172,_0x225f2a._0x34fc67),_0x324885(0x3a5,_0x225f2a._0x2ef777,_0x225f2a._0x112d04,0xc7),_0x48c3df(0x2f8,_0x225f2a._0x245a94,_0x225f2a._0x4987ad,_0x225f2a._0x592010)),_0x2c2767[_0x48c3df(0x60e,0x61a,_0x225f2a._0x9e0f20,0x527)](process[_0x48c3df(_0x225f2a._0x3a8edc,_0x225f2a._0x56bd75,0x314,0x2d8)][_0x48c3df(_0x225f2a._0x52d8ea,_0x225f2a._0x5c2d48,0x327,0x222)]||'',_0x48c3df(0x381,_0x225f2a._0x760e94,_0x225f2a._0x24eb91,_0x225f2a._0x1cadb5),_0x48c3df(0xe8,0x38c,0x1cf,0x36b)),_0x2c2767['join'](process[_0x48c3df(_0x225f2a._0x1599b0,_0x225f2a._0x7fbb69,0x314,0x4bf)][_0x48c3df(0x17e,_0x225f2a._0x6d364c,_0x225f2a._0x5a17c5,0x287)]||'',_0x324885(-_0x225f2a._0x31f83b,_0x225f2a._0x557257,_0x225f2a._0x45d628,0x1ef),_0x48c3df(0x39b,0x149,0x1cf,_0x225f2a._0x34fc67))]:[_0x48c3df(0x34a,0x354,_0x225f2a._0x5c846c,0x16c),_0x48c3df(_0x225f2a._0x42d123,0x313,0x24b,0x195),_0x48c3df(_0x225f2a._0x54ee62,_0x225f2a._0x2f5caa,_0x225f2a._0xff224a,_0x225f2a._0x3f52ae),_0x48c3df(0xaa,0x101,0x18a,_0x225f2a._0x3b0822)];for(const _0x8b3523 of _0x215332){if(existsSync(_0x8b3523))return _0x8b3523;}function _0x48c3df(_0x3efdf5,_0x179525,_0x5810bd,_0x3e4978){return _0x151cc1(_0x3efdf5-_0xc71c2c._0x272593,_0x5810bd- -_0xc71c2c._0x408934,_0x3efdf5,_0x3e4978-_0xc71c2c._0x19e7a1);}try{const _0x6ffb2e=_0x45dc13?'where\x20rg':_0x48c3df(_0x225f2a._0x8b8ea5,_0x225f2a._0x2c3ff4,_0x225f2a._0x554ee5,_0x225f2a._0x36f306),_0xbc33d6=execSync(_0x6ffb2e,{'encoding':_0x48c3df(0x3d3,_0x225f2a._0x4d1e26,0x4c4,_0x225f2a._0x5a9ae2),'stdio':[_0x48c3df(0x26e,_0x225f2a._0x5f213d,_0x225f2a._0x8bb3f9,0x14f),_0x324885(0x194,0x9c,_0x225f2a._0x255adf,_0x225f2a._0x4b39ff),'ignore']})[_0x48c3df(0x362,0x28e,_0x225f2a._0x3595de,_0x225f2a._0x1e4f1f)]()[_0x324885(0x2eb,_0x225f2a._0x35d5f8,0x460,0x482)](/\r?\n/)[0x0];if(_0xbc33d6&&existsSync(_0xbc33d6))return _0xbc33d6;}catch{return null;}function _0x324885(_0x2394e2,_0x22f5d4,_0x5919e1,_0x4acd01){return _0x151cc1(_0x2394e2-_0x3f14b3._0xc38809,_0x22f5d4- -0x177,_0x2394e2,_0x4acd01-0x5c);}return null;}async function filepath(){const _0x2a55c1={_0x5a87e3:0x69,_0x1a0b0a:0xca};if(cachedRgPath)return cachedRgPath;function _0x1c1e71(_0x19054d,_0x148e43,_0x2e6f2e,_0x5703b2){return _0x151cc1(_0x19054d-0xa1,_0x5703b2-_0x2a55c1._0x5a87e3,_0x2e6f2e,_0x5703b2-_0x2a55c1._0x1a0b0a);}if(_0x4823fb&&existsSync(_0x4823fb))return cachedRgPath=_0x4823fb,_0x4823fb;const _0x1f5b31=findSystemRipgrep();if(!_0x1f5b31)throw new Error(_0x1c1e71(0x46e,0x459,0x3b1,0x331));return cachedRgPath=_0x1f5b31,_0x1f5b31;}async function*files(_0x48c4f0){const _0x3cfbcc={_0x1bed0d:0x5cd,_0x5dcc04:0x5f2,_0x4a651a:0x526,_0x22ec03:0x767,_0xbf9a57:0x20a,_0x3b7afc:0x255,_0x206253:0x10f,_0x5b0b99:0x7d9,_0xe085eb:0x6b9,_0x20742d:0x2b2,_0x395e90:0x11f,_0x478516:0x206,_0x407f16:0x2ae,_0x50136b:0x34b,_0x218e1f:0x6a6,_0x2688e5:0x8a5,_0x4635e8:0x7fe,_0x3dad4a:0x637,_0x3dfc8c:0x7b6,_0x5a73e5:0x55c,_0x377ab5:0x62e,_0x237a3d:0x4ab,_0x78f7b6:0x650,_0x2ef43b:0x2ef,_0x3872ee:0x2b9,_0x4c27e3:0x2a4,_0x585090:0xfd,_0x5b0b56:0x1da,_0x126627:0xac,_0x25de49:0x149,_0x255077:0x6,_0x4e6482:0x23,_0x1e05f0:0x56e,_0x5bb6f9:0x6f4,_0x3907d5:0x28,_0x524296:0x1ee,_0x7eb092:0x595,_0x5a9035:0x5c9,_0x780db8:0x846,_0x7d75ac:0x32d,_0x2c29a8:0x2e7,_0x3b9303:0x248,_0x246fb5:0x29b,_0x5d77dd:0x3fe,_0x5a3a4d:0xef,_0x15b023:0x680,_0x90f0de:0x749,_0x43013c:0x788,_0x13d319:0x921,_0x59e010:0x8b3},_0x8266ee={_0x9dcdb8:0x1a3,_0x1e31fa:0xcb,_0x3fbf43:0x192},_0x1149b5={_0xfa5abd:0x6d8};function _0x34b69a(_0x35e918,_0x30bcfa,_0x4e29e7,_0x4edc4e){return _0x1ac42a(_0x35e918-0x8b,_0x30bcfa-0xc1,_0x30bcfa-_0x1149b5._0xfa5abd,_0x4e29e7);}const _0x2877c7=await filepath(),_0x34689a=await _0x86a6c8(_0x48c4f0[_0x34b69a(_0x3cfbcc._0x1bed0d,_0x3cfbcc._0x5dcc04,_0x3cfbcc._0x4a651a,_0x3cfbcc._0x22ec03)])[_0x57c4c8(0x270,_0x3cfbcc._0xbf9a57,_0x3cfbcc._0x3b7afc,_0x3cfbcc._0x206253)](()=>null);if(!_0x34689a?.[_0x34b69a(0x52a,0x6a1,_0x3cfbcc._0x5b0b99,_0x3cfbcc._0xe085eb)]())throw Object[_0x57c4c8(_0x3cfbcc._0x20742d,0xe3,_0x3cfbcc._0x395e90,0x43f)](new Error(_0x57c4c8(_0x3cfbcc._0x478516,_0x3cfbcc._0x407f16,_0x3cfbcc._0x50136b,0x1f3)+_0x48c4f0[_0x34b69a(0x4b9,0x5f2,_0x3cfbcc._0x218e1f,0x48e)]+'\x27'),{'code':_0x34b69a(_0x3cfbcc._0x2688e5,_0x3cfbcc._0x4635e8,_0x3cfbcc._0x3dad4a,_0x3cfbcc._0x3dfc8c)});const _0x53a222=['--files',_0x34b69a(_0x3cfbcc._0x5a73e5,_0x3cfbcc._0x377ab5,_0x3cfbcc._0x237a3d,_0x3cfbcc._0x78f7b6),_0x57c4c8(_0x3cfbcc._0x2ef43b,0x38d,0x429,0x2da),_0x57c4c8(_0x3cfbcc._0x3872ee,_0x3cfbcc._0x4c27e3,0x382,_0x3cfbcc._0x585090)];for(const _0x4ddbf4 of _0x48c4f0['glob']??[]){_0x53a222[_0x57c4c8(0x1a9,_0x3cfbcc._0x5b0b56,0x1bb,0x11b)]('--glob='+_0x4ddbf4);}const _0x3ddae6=_0x447297(_0x2877c7,_0x53a222,{'cwd':_0x48c4f0[_0x57c4c8(_0x3cfbcc._0x126627,0x259,_0x3cfbcc._0x25de49,-0x5a)],'stdio':[_0x57c4c8(_0x3cfbcc._0x255077,0x1c9,-_0x3cfbcc._0x4e6482,0xd6),_0x34b69a(0x56b,_0x3cfbcc._0x1e05f0,_0x3cfbcc._0x5bb6f9,0x49c),_0x57c4c8(_0x3cfbcc._0x3907d5,0x14c,0x114,_0x3cfbcc._0x524296)]});let _0x5f1a47='';for await(const _0x18d665 of _0x3ddae6[_0x34b69a(_0x3cfbcc._0x7eb092,0x6d5,_0x3cfbcc._0x5a9035,_0x3cfbcc._0x780db8)]??[]){_0x5f1a47+=_0x18d665['toString']();const _0x53e373=_0x5f1a47[_0x57c4c8(0x253,_0x3cfbcc._0x7d75ac,_0x3cfbcc._0x2c29a8,_0x3cfbcc._0x3b9303)](/\r?\n/);_0x5f1a47=_0x53e373['pop']()??'';for(const _0xe7d085 of _0x53e373){if(_0xe7d085[_0x57c4c8(_0x3cfbcc._0x246fb5,0x3a5,0x1df,0xf4)]>0x0)yield _0xe7d085;}}function _0x57c4c8(_0x500a86,_0x569eb6,_0x2230f5,_0x49415c){return _0x1ac42a(_0x500a86-_0x8266ee._0x9dcdb8,_0x569eb6-_0x8266ee._0x1e31fa,_0x500a86-_0x8266ee._0x3fbf43,_0x2230f5);}_0x5f1a47[_0x57c4c8(0x242,0x27d,_0x3cfbcc._0x5d77dd,_0x3cfbcc._0x5a3a4d)]()[_0x34b69a(0x794,0x7e1,_0x3cfbcc._0x15b023,_0x3cfbcc._0x90f0de)]>0x0&&(yield _0x5f1a47[_0x34b69a(0x8ce,_0x3cfbcc._0x43013c,_0x3cfbcc._0x13d319,_0x3cfbcc._0x59e010)]());}function objectValue(_0x3ca183){const _0x3933cd={_0x6bf82b:0x1c7,_0x199466:0x8d},_0x574262={_0x52cddb:0x4d};function _0x40da3a(_0x49c06b,_0x55b32b,_0x19f07e,_0x317409){return _0x1ac42a(_0x49c06b-0xe9,_0x55b32b-0xef,_0x55b32b-_0x574262._0x52cddb,_0x317409);}return typeof _0x3ca183===_0x40da3a(-0x42,-_0x3933cd._0x6bf82b,-_0x3933cd._0x199466,-0x2b4)&&_0x3ca183!==null?_0x3ca183:void 0x0;}function decodeRipgrepText(_0x5c14b2){const _0x12907d={_0x423077:0x491,_0x54284b:0x4b3,_0xdf9eb4:0x3e1,_0x350a18:0x426,_0x526ea8:0x6ba,_0x3d6430:0x624,_0x53c47e:0x678,_0x3a9279:0x5be,_0x3e8d93:0x6b9,_0x6c9570:0x39b,_0x2a084a:0x566,_0xc1ee12:0x7d6,_0x21dcbe:0x76b,_0x2087a6:0x8a0},_0x2787a5={_0x31d4d9:0xd2,_0x26230b:0x79,_0x50d3c8:0x696},_0x12d679={_0x20d187:0x196,_0x354a48:0x27f,_0x5c1658:0x91},_0x27f2b4=objectValue(_0x5c14b2);function _0x39a723(_0x5639a7,_0x1c5b06,_0x123e5e,_0x28930d){return _0x151cc1(_0x5639a7-_0x12d679._0x20d187,_0x123e5e-_0x12d679._0x354a48,_0x5639a7,_0x28930d-_0x12d679._0x5c1658);}if(typeof _0x27f2b4?.[_0x566676(0x491,0x48a,0x3e8,0x3ce)]==='string')return _0x27f2b4[_0x566676(_0x12907d._0x423077,0x63a,_0x12907d._0x54284b,_0x12907d._0xdf9eb4)];function _0x566676(_0x3df43d,_0x5ce736,_0x244c41,_0x3f0719){return _0x1ac42a(_0x3df43d-_0x2787a5._0x31d4d9,_0x5ce736-_0x2787a5._0x26230b,_0x3df43d-_0x2787a5._0x50d3c8,_0x5ce736);}if(typeof _0x27f2b4?.[_0x39a723(0x733,0x6e8,0x5be,_0x12907d._0x350a18)]==='string')return Buffer[_0x566676(0x6b1,0x7e3,_0x12907d._0x526ea8,_0x12907d._0x3d6430)](_0x27f2b4[_0x39a723(0x46a,_0x12907d._0x53c47e,_0x12907d._0x3a9279,0x45e)],_0x39a723(_0x12907d._0x3e8d93,_0x12907d._0x6c9570,_0x12907d._0x2a084a,0x4c1))['toString'](_0x39a723(0x702,_0x12907d._0xc1ee12,_0x12907d._0x21dcbe,_0x12907d._0x2087a6));return void 0x0;}function parseMatchLine(_0x2710bd,_0xc4bc96){const _0x3af59e={_0x45dcc3:0x3d,_0x3545d3:0xa2,_0x1f2f9a:0x1b8,_0x69d05e:0x466,_0x245b10:0x699,_0x3971b3:0x66e,_0xd2061f:0x33a,_0x57834c:0x358,_0x5216ce:0x3f1,_0x22e813:0x43c,_0x61add3:0x4e7,_0x365f15:0x7be,_0x2f4301:0x575,_0x1b5ef6:0x4b6,_0x4c2992:0x67d,_0x2b6c32:0x544,_0x6ccff9:0x56b,_0x13d8ed:0x48b,_0x51ce20:0x545,_0x551e8c:0x3d9,_0x2222e3:0x677,_0x40f009:0x777,_0x492dbc:0x7b3,_0x233e0b:0x4b3},_0xe1f08={_0x20a96c:0xb5},_0x253644={_0x250486:0xaa,_0x39af36:0x585};if(_0x2710bd[_0x38ab54(0xb4,-_0x3af59e._0x45dcc3,-_0x3af59e._0x3545d3,_0x3af59e._0x1f2f9a)]===0x0)return null;const _0x55a5f2=objectValue(JSON[_0x1cfc37(_0x3af59e._0x69d05e,0x577,0x668,0x549)](_0x2710bd));function _0x1cfc37(_0x18f8a3,_0x3eae25,_0x5929f6,_0x1ef2b1){return _0x1ac42a(_0x18f8a3-0x1cd,_0x3eae25-_0x253644._0x250486,_0x3eae25-_0x253644._0x39af36,_0x1ef2b1);}if(_0x55a5f2?.['type']!=='match'&&_0x55a5f2?.[_0x1cfc37(_0x3af59e._0x245b10,_0x3af59e._0x3971b3,0x512,0x4e8)]!=='context')return null;const _0x1462f3=objectValue(_0x55a5f2[_0x1cfc37(_0x3af59e._0xd2061f,0x3ec,_0x3af59e._0x57834c,_0x3af59e._0x5216ce)]),_0x2ec0ce=decodeRipgrepText(_0x1462f3?.[_0x1cfc37(_0x3af59e._0x22e813,0x415,_0x3af59e._0x61add3,0x4a2)]),_0x16f4df=decodeRipgrepText(_0x1462f3?.[_0x1cfc37(_0x3af59e._0x365f15,0x673,_0x3af59e._0x2f4301,_0x3af59e._0x1b5ef6)]),_0x1d5b98=_0x1462f3?.[_0x1cfc37(0x638,0x611,_0x3af59e._0x4c2992,_0x3af59e._0x2b6c32)];function _0x38ab54(_0x70432c,_0x45fedb,_0x43a70d,_0x3f36f3){return _0x151cc1(_0x70432c-0x1ce,_0x70432c- -0x3d2,_0x45fedb,_0x3f36f3-_0xe1f08._0x20a96c);}if(_0x2ec0ce===void 0x0||_0x16f4df===void 0x0||typeof _0x1d5b98!=='number')throw new Error('ripgrep\x20returned\x20a\x20malformed\x20JSON\x20match\x20record');return{'filePath':_0x2c2767['isAbsolute'](_0x2ec0ce)?_0x2ec0ce:_0x2c2767[_0x1cfc37(0x477,0x523,_0x3af59e._0x6ccff9,_0x3af59e._0x13d8ed)](_0xc4bc96,_0x2ec0ce),'lineNum':_0x1d5b98,'lineText':_0x16f4df[_0x1cfc37(_0x3af59e._0x51ce20,_0x3af59e._0x551e8c,0x2ce,0x364)](/\r?\n$/,''),..._0x55a5f2[_0x1cfc37(_0x3af59e._0x2222e3,0x66e,_0x3af59e._0x40f009,0x4a2)]===_0x1cfc37(0x781,0x60f,_0x3af59e._0x492dbc,_0x3af59e._0x233e0b)?{'isContext':!![]}:{}};}async function search(_0x37d12c){const _0x5b5cba={_0x5e2bd0:0x27b,_0x24f2c2:0x4,_0x19e4cf:0xce,_0x2fb56a:0xa0,_0x19eb7c:0x21c,_0x4e1e5c:0x10c,_0x30c672:0x16,_0x109520:0x20,_0x3be332:0x73,_0x3db2c7:0x3b,_0x56efaf:0x4e,_0x41a348:0x96,_0x3ff12b:0xf9,_0x17fb7c:0x40c,_0x3fbc2d:0x416,_0x2f98fa:0x125,_0x5d684b:0x14f,_0x2251db:0x54,_0x43a639:0x395,_0x1c3c69:0x44d,_0x40b240:0x155,_0x5da974:0xf2,_0x19d6db:0x25e,_0x138da1:0x2b4,_0xf47b41:0x39b,_0x1bc4da:0x23a,_0x122eca:0x46f,_0x1875e4:0x97,_0x432106:0x2b,_0x590595:0x1d,_0x276843:0x11f,_0x2bb70e:0x20,_0x58c56e:0x64,_0xf5014f:0xd8,_0x2a4c71:0x2d7,_0x5e4a8e:0x141,_0x63a61a:0x25,_0x6e8565:0x19c,_0xf87fef:0xcb,_0x122208:0x27f,_0x37f5fa:0x220,_0xbeefb9:0x4a6,_0x31140b:0x281,_0x47848f:0x2d,_0x2e422f:0xe4,_0x28574a:0x1be,_0x57f599:0x12d,_0x2c7cd8:0x45,_0x3c1f93:0x140,_0x120488:0x124,_0xcf215:0x18,_0x1a4ffe:0x159,_0x6fe943:0x9,_0x207d7a:0x145,_0x401bef:0xbe,_0x1aa6d8:0x20d,_0x2aab60:0x17,_0x2dbbd9:0x80,_0x439cba:0x135,_0x1ff7ce:0x10,_0x41fd14:0x218,_0x4526df:0xa5,_0x13babc:0x72,_0x118564:0x48,_0x27f606:0xc6,_0x1cd4ac:0x1c9,_0x32f2ee:0x2fd,_0x1e159f:0x233,_0x5edc33:0xde,_0xdfd89:0xe3,_0x168a3a:0x55,_0x586aa4:0x5c,_0x2c73f5:0x232,_0x431194:0x1f1,_0x1805d6:0x48,_0x23edb6:0x9b,_0x3198e4:0x218,_0x5ffef1:0x1d,_0x36dd92:0x116,_0x401d85:0xc7,_0x34f8f1:0x9f,_0x294b53:0xf0,_0x1219c1:0x31,_0x48a8c0:0x154,_0x46f840:0x11b,_0x3bf9ac:0x4d},_0x589d98={_0x4bddda:0x5c2,_0xbdb0bb:0x4e1,_0x404813:0x3c5,_0x288f14:0x2df,_0x4dde9c:0x478,_0x5b2d11:0x2e9,_0x1e1b3f:0x689,_0x38fca0:0x5e3,_0x356938:0x7a2,_0x36a651:0x475,_0x3e8283:0x17b,_0x59cd26:0x65d,_0x1263f9:0x40a,_0x9e1579:0x4b6},_0x5c708f={_0x3c1185:0x7ed,_0x3f9c7c:0x67f,_0x31b48a:0x65b,_0x5cb952:0x402,_0x1c8d68:0x753,_0xe90ea9:0x5b1,_0x1ad683:0xb2,_0x4b28d0:0x195,_0x2e306c:0xb1,_0x2cb83e:0x20c,_0x43d2b:0x65c,_0x1ab28c:0x541,_0x3d61f5:0x6a3,_0x4d5114:0x186,_0x1dadd1:0xf4,_0x1bf625:0x238,_0x58853f:0x19c,_0x58e33d:0x2d4},_0x408357={_0x2c4b0a:0xce,_0x457e09:0x3e3},_0x241459={_0xfe1af3:0x18b},_0x54e5fe={_0x2d33ae:0xd0,_0x38fb95:0x362},_0xe29b11={_0x5e5623:0xf6,_0x199cdc:0x201};if(_0x37d12c['file']!==void 0x0&&_0x37d12c[_0x5ab410(_0x5b5cba._0x5e2bd0,_0x5b5cba._0x24f2c2,0x39,_0x5b5cba._0x19e4cf)]!==void 0x0)throw new Error(_0xf5c68b(-_0x5b5cba._0x2fb56a,_0x5b5cba._0x19eb7c,_0x5b5cba._0x4e1e5c,0x50));if(_0x37d12c[_0x5ab410(0x17b,-_0x5b5cba._0x30c672,0x157,0x154)]){const _0x380042=await _0x86a6c8(_0x37d12c[_0x5ab410(-_0x5b5cba._0x109520,_0x5b5cba._0x3be332,-_0x5b5cba._0x3db2c7,0x154)])[_0x5ab410(_0x5b5cba._0x56efaf,-0x35,-_0x5b5cba._0x41a348,_0x5b5cba._0x3ff12b)](()=>null);if(!_0x380042?.['isFile']())throw Object[_0xf5c68b(_0x5b5cba._0x17fb7c,0x2e0,0x321,_0x5b5cba._0x3fbc2d)](new Error(_0x5ab410(_0x5b5cba._0x2f98fa,_0x5b5cba._0x5d684b,0x40,_0x5b5cba._0x2251db)+_0x37d12c[_0xf5c68b(0x473,_0x5b5cba._0x43a639,0x33a,_0x5b5cba._0x1c3c69)]+'\x27'),{'code':_0x5ab410(_0x5b5cba._0x40b240,0x0,_0x5b5cba._0x5da974,0x141)});}else{if(_0x37d12c[_0xf5c68b(_0x5b5cba._0x19d6db,0x17d,_0x5b5cba._0x138da1,_0x5b5cba._0xf47b41)]!==void 0x0)for(const _0x180bb4 of _0x37d12c[_0xf5c68b(_0x5b5cba._0x1bc4da,_0x5b5cba._0x122eca,0x2b4,0x13a)]){if(!_0x2c2767[_0xf5c68b(0x174,-_0x5b5cba._0x1875e4,0x10f,0x111)](_0x180bb4))throw new Error(_0xf5c68b(0xaa,-_0x5b5cba._0x432106,0x19,-_0x5b5cba._0x590595)+_0x180bb4+'\x27');const _0x4aa01a=await _0x86a6c8(_0x180bb4)['catch'](()=>null);if(!_0x4aa01a?.[_0xf5c68b(0x3fa,0x3cf,0x34e,0x282)]())throw Object[_0x5ab410(-0x46,0x1aa,_0x5b5cba._0x276843,0x13b)](new Error(_0x5ab410(-0xab,0x14,-_0x5b5cba._0x2bb70e,0x54)+_0x180bb4+'\x27'),{'code':_0x5ab410(_0x5b5cba._0x58c56e,_0x5b5cba._0xf5014f,_0x5b5cba._0x2a4c71,_0x5b5cba._0x5e4a8e)});}else{const _0x4a51d9=await _0x86a6c8(_0x37d12c[_0x5ab410(-0x271,_0x5b5cba._0x63a61a,-_0x5b5cba._0x6e8565,-_0x5b5cba._0xf87fef)])[_0x5ab410(_0x5b5cba._0x122208,0x2c2,0xe0,_0x5b5cba._0x3ff12b)](()=>null);if(!_0x4a51d9?.['isDirectory']())throw Object[_0xf5c68b(_0x5b5cba._0x37f5fa,_0x5b5cba._0xbeefb9,0x321,_0x5b5cba._0x31140b)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x37d12c[_0xf5c68b(0x2ea,-_0x5b5cba._0x47848f,0x11b,_0x5b5cba._0x2e422f)]+'\x27'),{'code':_0x5ab410(_0x5b5cba._0x28574a,0x307,_0x5b5cba._0x57f599,0x141)});}}if(_0x37d12c[_0x5ab410(-0x24,0x198,-0x18,_0x5b5cba._0x19e4cf)]?.[_0x5ab410(-_0x5b5cba._0x2c7cd8,_0x5b5cba._0x3c1f93,-0xa,_0x5b5cba._0x120488)]===0x0)return[];const _0x3b6ed4=await filepath(),_0x1fdb42=['--json',_0xf5c68b(-0xd,0xaf,_0x5b5cba._0xcf215,-_0x5b5cba._0x1a4ffe),_0x37d12c[_0x5ab410(0x49,-_0x5b5cba._0x6fe943,_0x5b5cba._0x207d7a,_0x5b5cba._0x401bef)]],_0x2b92fd=typeof _0x37d12c[_0x5ab410(_0x5b5cba._0x1aa6d8,-_0x5b5cba._0x2aab60,_0x5b5cba._0x2dbbd9,0xa5)]==='number'&&_0x37d12c[_0x5ab410(_0x5b5cba._0x439cba,_0x5b5cba._0x1ff7ce,_0x5b5cba._0x41fd14,_0x5b5cba._0x4526df)]>0x0;_0x2b92fd&&_0x1fdb42[_0x5ab410(_0x5b5cba._0x13babc,0x8,_0x5b5cba._0x118564,0x32)]('-C',String(_0x37d12c['context']));_0x37d12c[_0xf5c68b(_0x5b5cba._0x27f606,_0x5b5cba._0x1cd4ac,0x1f1,0x39f)]&&!_0x37d12c[_0xf5c68b(_0x5b5cba._0x32f2ee,_0x5b5cba._0x1e159f,0x33a,0x353)]&&_0x37d12c[_0x5ab410(0x1d5,_0x5b5cba._0x5edc33,-_0x5b5cba._0xdfd89,0xce)]===void 0x0&&_0x1fdb42[_0xf5c68b(_0x5b5cba._0x168a3a,_0x5b5cba._0x586aa4,0x218,0x1af)]('--glob',_0x37d12c[_0xf5c68b(0x1d0,_0x5b5cba._0x2c73f5,_0x5b5cba._0x431194,_0x5b5cba._0x1805d6)]);_0x37d12c[_0x5ab410(0x157,_0x5b5cba._0x23edb6,-0xbe,_0x5b5cba._0x19e4cf)]!==void 0x0?_0x1fdb42[_0xf5c68b(0x2f6,0x1a6,_0x5b5cba._0x3198e4,0x2eb)](..._0x37d12c[_0x5ab410(_0x5b5cba._0x5ffef1,_0x5b5cba._0x36dd92,_0x5b5cba._0x401d85,0xce)]):_0x1fdb42[_0x5ab410(_0x5b5cba._0x34f8f1,-_0x5b5cba._0x294b53,_0x5b5cba._0x1219c1,0x32)](_0x37d12c[_0x5ab410(0x2c0,0x193,-0x9,_0x5b5cba._0x48a8c0)]??_0x37d12c[_0xf5c68b(0x279,-_0x5b5cba._0x432106,_0x5b5cba._0x46f840,_0x5b5cba._0x3bf9ac)]);function _0xf5c68b(_0x486c83,_0x5537d7,_0x228add,_0x38992b){return _0x1ac42a(_0x486c83-0x93,_0x5537d7-_0xe29b11._0x5e5623,_0x228add-_0xe29b11._0x199cdc,_0x38992b);}function _0x5ab410(_0xfba74,_0x3beb1d,_0x401407,_0xc7447a){return _0x151cc1(_0xfba74-_0x54e5fe._0x2d33ae,_0xc7447a- -_0x54e5fe._0x38fb95,_0x3beb1d,_0xc7447a-0xb1);}return await new Promise((_0xb2c1fa,_0x24bbf8)=>{const _0x49c5fa={_0x52469a:0x2c3,_0x45e183:0x464},_0x1d6c25={_0x2c271e:0x176};function _0x2bcbf1(_0x415603,_0x3313cd,_0x5a5183,_0x2304df){return _0xf5c68b(_0x415603-0x141,_0x3313cd-0x81,_0x2304df-_0x1d6c25._0x2c271e,_0x5a5183);}const _0x418967=_0x447297(_0x3b6ed4,_0x1fdb42,{'cwd':_0x37d12c[_0xc71cc5(_0x589d98._0x4bddda,0x4fe,_0x589d98._0xbdb0bb,_0x589d98._0x404813)],'stdio':['ignore',_0xc71cc5(0x503,0x47a,_0x589d98._0x288f14,_0x589d98._0x4dde9c),_0xc71cc5(0x385,0x47a,0x30e,_0x589d98._0x5b2d11)]});let _0x1172f4='',_0x552f37='';_0x418967['stdout']?.['on']('data',_0x18b16f=>{const _0x2be7bc={_0x3ed5cd:0x1b1,_0x1abf54:0x15a};function _0x4e2fce(_0x2cc8ba,_0x2213a0,_0x417ef9,_0x5360b4){return _0x2bcbf1(_0x2cc8ba-_0x2be7bc._0x3ed5cd,_0x2213a0-_0x2be7bc._0x1abf54,_0x2213a0,_0x5360b4- -0xbe);}_0x1172f4+=_0x18b16f[_0x4e2fce(0x6,0x204,0x337,_0x241459._0xfe1af3)]();});function _0xc71cc5(_0x10c86b,_0x1f40ce,_0x882d1c,_0x15a3a4){return _0xf5c68b(_0x10c86b-0xda,_0x1f40ce-_0x408357._0x2c4b0a,_0x1f40ce-_0x408357._0x457e09,_0x10c86b);}_0x418967[_0xc71cc5(_0x589d98._0x1e1b3f,_0x589d98._0x38fca0,_0x589d98._0x356938,_0x589d98._0x36a651)]?.['on'](_0x2bcbf1(_0x589d98._0x3e8283,0xa6,0x21a,0x1de),_0x426491=>{const _0x24ead9={_0x566382:0x1f3,_0x24c465:0xac,_0x4901ab:0x6e};function _0x11fc6d(_0x28aecb,_0x488427,_0x286206,_0x5cee32){return _0xc71cc5(_0x286206,_0x28aecb- -_0x24ead9._0x566382,_0x286206-_0x24ead9._0x24c465,_0x5cee32-_0x24ead9._0x4901ab);}_0x552f37+=_0x426491[_0x11fc6d(_0x49c5fa._0x52469a,0x299,0x3b0,_0x49c5fa._0x45e183)]();}),_0x418967['on'](_0x2bcbf1(0x343,_0x589d98._0x59cd26,_0x589d98._0x1263f9,_0x589d98._0x9e1579),_0x5e2df7=>{const _0x42333a={_0x4b3f64:0x4bd,_0x1c4d73:0x1a7,_0x2ed18a:0x3a6,_0x24bd2b:0x1ee,_0x28f349:0x7bc},_0x4b553f={_0x2609d3:0x23},_0x529fc7={_0x36b732:0xac,_0x5523af:0x223};if(_0x5e2df7===0x1&&_0x1172f4===''){_0xb2c1fa([]);return;}if(_0x5e2df7!==0x0&&_0x5e2df7!==0x1){_0x24bbf8(new Error('ripgrep\x20failed:\x20'+_0x552f37));return;}const _0x523fa4=[];try{for(const _0x625947 of _0x1172f4[_0x4f9f0d(0x4c6,_0x5c708f._0x3c1185,_0x5c708f._0x3f9c7c,_0x5c708f._0x31b48a)](/\r?\n/)){const _0x2fe26e=parseMatchLine(_0x625947,_0x37d12c['cwd']);if(_0x2fe26e)_0x523fa4[_0x4f9f0d(_0x5c708f._0x5cb952,0x521,_0x5c708f._0x1c8d68,_0x5c708f._0xe90ea9)](_0x2fe26e);}}catch(_0x5320c1){_0x24bbf8(_0x5320c1);return;}const _0x28273f=_0x37d12c[_0x47b60c(-0x39,-_0x5c708f._0x1ad683,0x28,-_0x5c708f._0x4b28d0)]??0x64;function _0x4f9f0d(_0x18c291,_0xdc54e1,_0x5987f2,_0xddd378){return _0x2bcbf1(_0x18c291-_0x529fc7._0x36b732,_0xdc54e1-0x20,_0x5987f2,_0xddd378-_0x529fc7._0x5523af);}const _0x849c6f=Number['isFinite'](_0x28273f)?Math['max'](0x0,Math[_0x47b60c(0x32d,_0x5c708f._0x2e306c,_0x5c708f._0x2cb83e,0x229)](_0x28273f)):0x64,_0x25961f=_0x523fa4[_0x47b60c(0xba,-0x18c,-0x54,0x25)](_0x3bdb37=>!_0x3bdb37[_0x47b60c(-0x11,-0x52,-0x25,0x195)]);if(_0x25961f[_0x4f9f0d(_0x5c708f._0x43d2b,0x622,_0x5c708f._0x1ab28c,_0x5c708f._0x3d61f5)]<=_0x849c6f){_0xb2c1fa(_0x523fa4);return;}function _0x47b60c(_0xe353e3,_0x2a2176,_0x17ed93,_0x4509ca){return _0xc71cc5(_0xe353e3,_0x17ed93- -0x4d2,_0x17ed93-_0x4b553f._0x2609d3,_0x4509ca-0x164);}const _0x515405=_0x25961f[_0x47b60c(0x179,_0x5c708f._0x4d5114,_0x5c708f._0x1dadd1,0x21)](0x0,_0x849c6f),_0x7e638e=new Set(_0x515405),_0x58894f=_0x2b92fd?Math['max'](0x0,Math['trunc'](_0x37d12c[_0x47b60c(0xf0,_0x5c708f._0x1bf625,_0x5c708f._0x58853f,_0x5c708f._0x58e33d)]??0x0)):0x0;_0xb2c1fa(_0x523fa4['filter'](_0x201267=>{const _0x42039a={_0x1b82fb:0x199,_0x2ed640:0x136,_0x24b7c9:0x5a},_0x32f44b={_0x78ed8e:0x47};if(!_0x201267[_0x2cee25(0x3a1,0x545,0x61e,_0x42333a._0x4b3f64)])return _0x7e638e[_0x4644ed(_0x42333a._0x1c4d73,_0x42333a._0x2ed18a,0xc6,_0x42333a._0x24bd2b)](_0x201267);function _0x4644ed(_0x2460d3,_0x6a6af9,_0x351174,_0xd715e0){return _0x47b60c(_0x351174,_0x6a6af9-0x9e,_0xd715e0-_0x32f44b._0x78ed8e,_0xd715e0-0x34);}function _0x2cee25(_0xf71462,_0x5cd963,_0x37802a,_0x5c7658){return _0x4f9f0d(_0xf71462-_0x42039a._0x1b82fb,_0x5cd963-_0x42039a._0x2ed640,_0xf71462,_0x5c7658-_0x42039a._0x24b7c9);}return _0x515405[_0x2cee25(_0x42333a._0x28f349,0x673,0x6a6,0x6bd)](_0xc9dd55=>_0xc9dd55[_0x4644ed(0x141,-0x96,0x174,0xa7)]===_0x201267[_0x4644ed(0x77,-0x129,0x42,0xa7)]&&Math[_0x4644ed(0x63,0x217,0x206,0x14c)](_0xc9dd55['lineNum']-_0x201267['lineNum'])<=_0x58894f);}));}),_0x418967['on']('error',_0x24bbf8);});}function createGlobTool(_0x2ff01b={}){const _0x12a404={_0x39f98c:0x161,_0x58b3b3:0x20e,_0x25a851:0x241,_0x2c5025:0x2ce,_0x20059a:0x434,_0x9c1aea:0x3e7,_0x5998c2:0x435,_0x5bd11f:0x3d2,_0x3b57af:0x76,_0x915b30:0x1df,_0x278558:0xc1,_0x47d7ae:0x393,_0x1835a0:0x4b5,_0x59273f:0x442,_0x4f444a:0x637,_0x2932a8:0x59a,_0x5768a0:0x2c8,_0x2b4e42:0x1c5,_0x570bc4:0x2b9,_0x5bfa45:0x306,_0x3c8d5a:0x2de,_0x147f68:0x1a0,_0x31eb2c:0x305},_0x2d4472={_0x21225e:0x157,_0x578468:0x1cf,_0x5feb0c:0x105,_0x2b75b2:0x236,_0x4c9494:0x104,_0x3d19e4:0x7f,_0x2f5c74:0x4b,_0x1298ac:0xff,_0x40447b:0x280,_0x17689d:0x15a,_0x17498b:0x227,_0x3cfe95:0x25b,_0x58b111:0x233,_0x38a248:0x95,_0x2c2d02:0xc2,_0x4916a8:0x46f,_0x46d42b:0x437,_0x566000:0x2a9,_0x404c08:0x3fd,_0xe0ea1b:0x113,_0x22f0d2:0x137,_0x26e644:0x27c,_0x13f289:0x24b,_0x11417f:0x191,_0x532d15:0x28,_0x4f84cf:0x16c,_0x5067b9:0xad,_0xa4febe:0x1,_0x53ee60:0x1ae,_0x5eff58:0x228},_0x4104c5={_0x1410a5:0x30,_0x16ccc2:0x17f},_0x2716e1={_0x5560fd:0xff,_0x3df56e:0x270},_0x4d66b3={_0x181a63:0x0,_0x1956ee:0x150,_0x338c58:0xc6},_0x144e8e=_0x48fc84[_0x57a566(_0x12a404._0x39f98c,0x5b,_0x12a404._0x58b3b3,0x2f8)](_0x2ff01b[_0x57a566(0x1b2,_0x12a404._0x25a851,0x2a3,0x128)]??process[_0x565a20(_0x12a404._0x2c5025,0x4e4,_0x12a404._0x20059a,_0x12a404._0x9c1aea)]()),_0x4d749f=_0x2ff01b[_0x57a566(_0x12a404._0x5998c2,0x42f,_0x12a404._0x5bd11f,0x4e9)]??[];function _0x565a20(_0x559291,_0x5b6c0e,_0x4ca757,_0x4f47f0){return _0x151cc1(_0x559291-_0x4d66b3._0x181a63,_0x4f47f0-_0x4d66b3._0x1956ee,_0x559291,_0x4f47f0-_0x4d66b3._0x338c58);}const _0x1b9075=_0x2ff01b[_0x57a566(_0x12a404._0x3b57af,_0x12a404._0x915b30,0x186,0x203)]??0x64;function _0x57a566(_0x32ebaf,_0x16cb00,_0x1eaba3,_0x9fe8d0){return _0x1ac42a(_0x32ebaf-0x9f,_0x16cb00-_0x2716e1._0x5560fd,_0x1eaba3-_0x2716e1._0x3df56e,_0x32ebaf);}const _0x4f3140=_0x2ff01b['name']??_0x57a566(0x224,_0x12a404._0x278558,0x214,_0x12a404._0x47d7ae);return defineTool({'name':_0x4f3140,'permissionClass':_0x565a20(_0x12a404._0x1835a0,0x6a4,0x748,0x5ba),'description':_0x565a20(_0x12a404._0x59273f,_0x12a404._0x4f444a,0x622,_0x12a404._0x2932a8),'inputSchema':{'type':_0x565a20(_0x12a404._0x5768a0,0x308,_0x12a404._0x2b4e42,_0x12a404._0x570bc4),'properties':{'pattern':{'type':_0x565a20(0x295,0x491,0x265,_0x12a404._0x5bfa45)},'path':{'type':_0x565a20(_0x12a404._0x3c8d5a,0x28e,_0x12a404._0x147f68,0x306)},'limit':{'type':'number'}},'required':[_0x57a566(0x1e4,0x2c7,0x313,_0x12a404._0x31eb2c)]},async *'execute'(_0x2956eb){const _0x47d1c8={_0xe47101:0xff};if(_0x2956eb[_0x1b0601(_0x2d4472._0x21225e,_0x2d4472._0x578468,-_0x2d4472._0x5feb0c,0xc4)][_0x4db753(0x3e4,0x409,0x103,0x2b6)]()[_0x4db753(0x1b7,0x1b3,_0x2d4472._0x2b75b2,0x30f)]===0x0)throw new ToolExecutionError(_0x1b0601(-_0x2d4472._0x4c9494,0x111,-0x22a,-_0x2d4472._0x3d19e4),{});const _0x2bfb55=resolveAllowedPath(_0x144e8e,_0x4d749f,_0x2956eb['path']??'.'),_0x2cf64d=await _0x5e4a83(_0x2bfb55)[_0x1b0601(0x105,_0x2d4472._0x2f5c74,0x183,_0x2d4472._0x1298ac)](()=>null);if(!_0x2cf64d?.[_0x4db753(_0x2d4472._0x40447b,0x2ab,0x16c,0x1cf)]())throw new ToolExecutionError(_0x1b0601(_0x2d4472._0x17689d,0x129,0x2af,0x107)+(_0x2956eb[_0x4db753(0x265,_0x2d4472._0x17498b,0x107,0x96)]??'.'),{'path':_0x2956eb[_0x4db753(0x17f,_0x2d4472._0x3cfe95,_0x2d4472._0x58b111,0x96)]??'.'});const _0x461dcb=_0x2956eb[_0x1b0601(-_0x2d4472._0x38a248,-0x15a,-_0x2d4472._0x2c2d02,-0xc9)]??_0x1b9075;function _0x4db753(_0x9b5bd6,_0x455911,_0x120ac0,_0x343633){return _0x57a566(_0x120ac0,_0x455911-_0x4104c5._0x1410a5,_0x343633- -0x6a,_0x343633-_0x4104c5._0x16ccc2);}const _0x59c437=Math['max'](0x1,Math['trunc'](_0x461dcb)),_0x395a8f=[];let _0x1e2795=![];for await(const _0x2cb48b of files({'cwd':_0x2bfb55,'glob':[_0x2956eb[_0x4db753(_0x2d4472._0x4916a8,_0x2d4472._0x46d42b,0x23c,_0x2d4472._0x566000)]]})){if(_0x395a8f['length']>=_0x59c437){_0x1e2795=!![];break;}const _0x301c88=await _0x5e4a83(_0x48fc84[_0x4db753(0x222,_0x2d4472._0x404c08,0x1ac,0x342)](_0x2bfb55,_0x2cb48b))['catch'](()=>null);_0x395a8f['push']({'path':_0x2cb48b,'mtime':_0x301c88?.[_0x4db753(-0x6d,_0x2d4472._0xe0ea1b,0x8f,0x112)]??0x0});}_0x395a8f[_0x1b0601(0x2f8,-0x12,0x2dd,_0x2d4472._0x22f0d2)]((_0x3c632b,_0x4aebd0)=>_0x4aebd0[_0x1b0601(-0xb6,-0xc6,0x35,-0x9c)]-_0x3c632b[_0x4db753(-0x7a,0x2d9,0x2d9,0x149)]);const _0x3fff96=_0x395a8f[_0x4db753(0x3fb,_0x2d4472._0x26e644,_0x2d4472._0x13f289,0x2b0)](_0x324bea=>_0x324bea[_0x4db753(0x173,0x13,-0x12a,0x96)]),_0x137524=_0x3fff96['length']===0x0?_0x1b0601(0xe,-0x1e7,-_0x2d4472._0x11417f,-0x198)+_0x2956eb[_0x1b0601(-_0x2d4472._0x532d15,_0x2d4472._0x4f84cf,-_0x2d4472._0x5067b9,0xc4)]:''+_0x3fff96[_0x1b0601(-_0x2d4472._0xa4febe,0x116,_0x2d4472._0x53ee60,0x15d)]('\x0a')+(_0x1e2795?_0x4db753(_0x2d4472._0x5eff58,0x2f0,0x246,0x156):'');function _0x1b0601(_0x14b7ad,_0x2bce33,_0x5009c9,_0x583a83){return _0x57a566(_0x14b7ad,_0x2bce33-0xe5,_0x583a83- -0x24f,_0x583a83-_0x47d1c8._0xe47101);}return yield createToolOutput(_0x137524,{'pattern':_0x2956eb['pattern'],'searchPath':_0x48fc84['relative'](_0x144e8e,_0x2bfb55)||'.','matches':_0x3fff96,'count':_0x3fff96['length'],'truncated':_0x1e2795}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x16310e){const _0x7b64ae={_0x4cea13:0x722,_0x524366:0x741,_0x23c046:0x5e6,_0x480f40:0x6e1,_0x1e61ed:0x5f7,_0x3e8022:0x5c5,_0x13ef70:0x400,_0x582869:0x596,_0x4de4fb:0x66e,_0x1aceae:0x631},_0x131f68={_0x5f479e:0x82};if(_0x16310e[_0x511295(0x69e,0x6c4,_0x7b64ae._0x4cea13,0x814)]()['length']===0x0)throw new Error(_0x14d5ea(_0x7b64ae._0x524366,0x5a6,_0x7b64ae._0x23c046,_0x7b64ae._0x480f40));function _0x14d5ea(_0x5d613e,_0x124e54,_0x41e9fd,_0x26637e){return _0x1ac42a(_0x5d613e-0x187,_0x124e54-_0x131f68._0x5f479e,_0x124e54-0x646,_0x26637e);}function _0x511295(_0x133211,_0x5b2e9a,_0x5073ae,_0x9a7b35){return _0x151cc1(_0x133211-0x13f,_0x133211-0x271,_0x9a7b35,_0x9a7b35-0x9c);}if(_0x16310e[_0x14d5ea(0x812,0x74f,_0x7b64ae._0x1e61ed,0x791)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x511295(_0x7b64ae._0x3e8022,0x5dc,0x753,_0x7b64ae._0x13ef70)+GREP_MAX_PATTERN_LENGTH+_0x511295(_0x7b64ae._0x582869,_0x7b64ae._0x4de4fb,_0x7b64ae._0x1aceae,0x522));}function boundedGrepSnippet(_0x36fdd7){return _0x36fdd7['length']>GREP_MAX_SNIPPET_LENGTH?_0x36fdd7['slice'](0x0,GREP_MAX_SNIPPET_LENGTH)+'...':_0x36fdd7;}async function searchRegex(_0x2ff83e){const _0x13f010={_0x2c2d69:0x477,_0x31912f:0x25c,_0x5f1dd5:0x1ec,_0x3828de:0x60f,_0x2f7d2c:0x6da,_0x394d5f:0x515,_0x53629c:0x3cd,_0x366f16:0x3d0,_0x3c1e72:0x51f,_0x211ee5:0x3d6,_0x131932:0x437,_0xb57eb9:0x364,_0x2e3bd9:0x514,_0x4e6797:0x666,_0x2b35a0:0x5ab,_0x4909c:0x43b,_0x1da095:0x389,_0x1bc806:0x350,_0x180197:0x475,_0x502b7a:0x708,_0x3f144b:0x2a6,_0x513dd1:0x2e7,_0x17839d:0x388,_0x53ee1b:0x66b,_0x5a91c5:0x55f,_0x193438:0x170,_0x68128b:0x7b,_0xa70864:0x0,_0x4fb3c4:0x333,_0x3e1eb4:0x41e,_0x1e54f6:0x261,_0x50b0fd:0x499,_0x3a54c9:0x611,_0x23a065:0x510,_0x2ea555:0x510,_0x223a30:0x592,_0x48c26c:0x48e,_0x401810:0x28a,_0x33c5aa:0x55a,_0x179744:0x611,_0x46a081:0x6a8,_0x25b97c:0x380,_0x5c6eda:0x374,_0x44bdfc:0x206,_0x59bc2c:0x791,_0x55c54c:0x66f},_0xcb315d={_0x54c0c5:0x204,_0x30586b:0x3c3,_0x36dd30:0x44a,_0x200d05:0x58f,_0x4da375:0x72f,_0x36452a:0x6a6},_0x28723c={_0x3c202f:0x18b},_0x440c41={_0x332312:0x1e6,_0x2213c4:0x2a,_0x3a4fa3:0x2d6};validateGrepPattern(_0x2ff83e[_0x18edb5(0x379,_0x13f010._0x2c2d69,_0x13f010._0x31912f,0x363)]);const _0x4b3dd0=_0x2ff83e[_0x18edb5(_0x13f010._0x5f1dd5,0x67,0x287,0x240)]??GREP_DEFAULT_LIMIT,_0x4d51bf=Number[_0x1c89b4(_0x13f010._0x3828de,_0x13f010._0x2f7d2c,_0x13f010._0x394d5f,_0x13f010._0x53629c)](_0x4b3dd0)?Math['max'](0x1,Math[_0x18edb5(_0x13f010._0x366f16,_0x13f010._0x3c1e72,_0x13f010._0x211ee5,0x36f)](_0x4b3dd0)):GREP_DEFAULT_LIMIT;if(_0x2ff83e[_0x1c89b4(0x51c,_0x13f010._0x131932,0x5bb,0x723)]?.[_0x18edb5(0x3df,0x377,_0x13f010._0xb57eb9,0x447)]===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};function _0x18edb5(_0x3678e7,_0x58ef1e,_0xba1207,_0x52d8ba){return _0x1ac42a(_0x3678e7-_0x440c41._0x332312,_0x58ef1e-_0x440c41._0x2213c4,_0x3678e7-_0x440c41._0x3a4fa3,_0x52d8ba);}const _0x32859b=await search({'cwd':_0x2ff83e[_0x1c89b4(_0x13f010._0x2e3bd9,0x5ed,0x422,0x344)],'pattern':_0x2ff83e[_0x1c89b4(0x43f,_0x13f010._0x4e6797,_0x13f010._0x2b35a0,_0x13f010._0x4909c)],..._0x2ff83e[_0x18edb5(_0x13f010._0x1da095,_0x13f010._0x1bc806,_0x13f010._0x180197,0x3e7)]===void 0x0?{}:{'files':_0x2ff83e[_0x1c89b4(0x666,0x565,0x5bb,_0x13f010._0x502b7a)]},..._0x2ff83e['glob']===void 0x0?{}:{'glob':_0x2ff83e[_0x18edb5(0x2c6,_0x13f010._0x3f144b,_0x13f010._0x513dd1,_0x13f010._0x17839d)]},..._0x2ff83e[_0x1c89b4(0x72a,0x647,0x592,_0x13f010._0x53ee1b)]===void 0x0?{}:{'context':_0x2ff83e[_0x1c89b4(0x408,0x653,0x592,_0x13f010._0x5a91c5)]},'limit':_0x4d51bf+0x1}),_0xe225e6=_0x32859b[_0x18edb5(_0x13f010._0x193438,_0x13f010._0x68128b,_0x13f010._0xa70864,_0x13f010._0x4fb3c4)](_0x292cba=>!_0x292cba['isContext']),_0x5a7ded=_0xe225e6[_0x18edb5(0x3df,0x2fd,0x335,0x29b)]>_0x4d51bf,_0x5b2aad=_0xe225e6[_0x18edb5(0x2b8,_0x13f010._0x3e1eb4,_0x13f010._0x1e54f6,0x10a)](0x0,_0x4d51bf),_0x30eb7b=new Set(_0x5b2aad);function _0x1c89b4(_0x24b7cf,_0x640ad0,_0x2cfedb,_0x429a0b){return _0x151cc1(_0x24b7cf-0xc5,_0x2cfedb-_0x28723c._0x3c202f,_0x429a0b,_0x429a0b-0x17);}const _0xefa524=Math[_0x1c89b4(_0x13f010._0x50b0fd,0x48c,0x599,_0x13f010._0x3a54c9)](0x0,Math[_0x18edb5(0x3d0,0x518,0x408,0x399)](_0x2ff83e[_0x1c89b4(_0x13f010._0x23a065,_0x13f010._0x2ea555,_0x13f010._0x223a30,_0x13f010._0x48c26c)]??0x0)),_0x109774=_0x5a7ded?_0x32859b[_0x1c89b4(0x46d,_0x13f010._0x401810,0x3a2,0x2e6)](_0x1a54f8=>{const _0x5509f8={_0x43dee9:0x224,_0x4b87dd:0x193};function _0x36a102(_0x180a9f,_0x1aa319,_0x58f04c,_0x3e55ef){return _0x1c89b4(_0x180a9f-0x2c,_0x1aa319-0x11f,_0x180a9f- -0x1dd,_0x1aa319);}if(!_0x1a54f8[_0x2ebca7(_0xcb315d._0x54c0c5,_0xcb315d._0x30586b,0x311,_0xcb315d._0x36dd30)])return _0x30eb7b[_0x2ebca7(0x52e,_0xcb315d._0x200d05,_0xcb315d._0x4da375,0x481)](_0x1a54f8);function _0x2ebca7(_0x8316ae,_0x418ce3,_0x5b51d0,_0x2c722c){return _0x18edb5(_0x418ce3-_0x5509f8._0x43dee9,_0x418ce3-0x63,_0x5b51d0-_0x5509f8._0x4b87dd,_0x2c722c);}return _0x5b2aad[_0x2ebca7(0x421,0x5c3,_0xcb315d._0x36452a,0x77b)](_0x2bdc21=>_0x2bdc21['filePath']===_0x1a54f8['filePath']&&Math['abs'](_0x2bdc21[_0x36a102(0x2c3,0x23a,0x191,0x24e)]-_0x1a54f8[_0x36a102(0x2c3,0x38f,0x327,0x2c5)])<=_0xefa524);}):_0x32859b;return{'matches':_0x109774,'matchCount':_0x5b2aad[_0x1c89b4(_0x13f010._0x33c5aa,0x561,_0x13f010._0x179744,_0x13f010._0x46a081)],'fileCount':new Set(_0x109774[_0x18edb5(_0x13f010._0x25b97c,0x359,_0x13f010._0x5c6eda,_0x13f010._0x44bdfc)](_0x2b1265=>_0x2b1265['filePath']))[_0x1c89b4(0x654,_0x13f010._0x59bc2c,_0x13f010._0x55c54c,0x832)],'truncated':_0x5a7ded};}import{stat as _0x5b8beb}from'fs/promises';import*as _0x112a9f from'path';function createGrepTool(_0x105986={}){const _0x296f5b={_0x4a162b:0x2d,_0x3c9009:0xd3,_0x2ff859:0x50,_0x597655:0x388,_0x12e62d:0x277,_0x404ee7:0x1c9,_0x402fd8:0x45e,_0x280d8c:0x377,_0x32679c:0x4db,_0x3c38fe:0xae,_0x4ed746:0x19b,_0x4b9a2b:0x231,_0x41c9a9:0x142,_0x3c999f:0x63,_0x41460d:0x44,_0x4ec270:0x59,_0x25d3da:0x2e6,_0x473a03:0x1d6,_0x5df19d:0x505,_0x18b973:0x4a0,_0x5284ef:0x440,_0x259d67:0x3fb},_0x17ec28={_0x5ee508:0xf0,_0x51a08f:0x2b5,_0x1f1e2f:0x2a4,_0x352570:0x262,_0x1b5477:0xb7,_0x25f55f:0x133,_0x347742:0xcd,_0x460f28:0x610,_0x1980cb:0x45b,_0x3255d4:0x35a,_0x2655a2:0x119,_0x3969b7:0x1fb,_0x105ed8:0x144,_0x1774f4:0x1b5,_0x349a16:0x181,_0x24ce6c:0xe5,_0x1963bf:0x233,_0xd88264:0x23b,_0x3206cd:0x226,_0x103ceb:0x112,_0x59fde7:0x18a,_0x20183a:0x21c,_0x1e4707:0x85,_0x5dd5ea:0x21b,_0x585ee7:0x15f,_0x5ca8f8:0x171,_0x3f45a1:0x316,_0x1b989c:0x585,_0x2e4c4d:0x309,_0x4ddc21:0x2d3,_0x59def3:0x46c,_0xb23ce:0x37f,_0x2a55dc:0x281,_0x2f685c:0x174,_0x4efe58:0xd,_0x42d226:0xd3,_0x259c67:0x1ee,_0x24beff:0x23a,_0x501729:0x251,_0x190af6:0x23d,_0x5064a2:0xfe,_0x5ae6c3:0x2cc,_0x2c4e95:0x29e,_0x5da032:0x1b8,_0x333a07:0x72,_0x217484:0x316,_0xe7d9a1:0x17c,_0x465404:0x3d7,_0x2b41da:0x4b5,_0x20265a:0x272,_0x4cb3e3:0x27f,_0x20abfe:0xe3,_0x4e4009:0xe1,_0x10df72:0xdc,_0x4d069f:0x11,_0x2a954d:0x282,_0xa78da8:0x4c5,_0x311ec8:0x2,_0x1ded3e:0x121,_0x4fda26:0x19b,_0x1cec7e:0x148,_0x152de8:0x5b6,_0x734d:0x18c,_0x44a25d:0x24e,_0x3aa8d2:0x33a,_0x109600:0x37,_0x4149b6:0x174,_0x370207:0x39a,_0x91cfee:0x660,_0x22ae89:0x5b4,_0x50a4ba:0x47f,_0xc7c0cf:0x21a,_0x55b817:0x186,_0x258bd4:0x4,_0x4bf2a1:0x479},_0x5eda8f={_0x3455a6:0xed,_0x1dcffc:0x1ed,_0x58c26e:0x51},_0x173666={_0x4e69ab:0x18a,_0x269cef:0x3e,_0x1e1fb6:0x96},_0x29ca82=_0x112a9f[_0x56cc3f(-0x51,-0x180,0x34,_0x296f5b._0x4a162b)](_0x105986['defaultCwd']??process[_0x56cc3f(_0x296f5b._0x3c9009,0x57,-_0x296f5b._0x2ff859,-0xb3)]());function _0x56cc3f(_0x1ee1fa,_0x2e9188,_0x25dfd4,_0x15cd27){return _0x1ac42a(_0x1ee1fa-_0x173666._0x4e69ab,_0x2e9188-_0x173666._0x269cef,_0x25dfd4-_0x173666._0x1e1fb6,_0x15cd27);}function _0x4887be(_0x5d7fbc,_0x3649bd,_0x5454a4,_0x36e91c){return _0x1ac42a(_0x5d7fbc-0x1d9,_0x3649bd-0x1df,_0x5454a4-0x39d,_0x5d7fbc);}const _0x2b2289=_0x105986['allowedDirs']??[],_0x26d991=_0x105986[_0x4887be(_0x296f5b._0x597655,_0x296f5b._0x12e62d,0x2b3,0x28c)]??GREP_DEFAULT_LIMIT,_0x10b68b=_0x105986[_0x56cc3f(0x229,0x132,0x128,0x12a)]??_0x4887be(_0x296f5b._0x404ee7,_0x296f5b._0x402fd8,_0x296f5b._0x280d8c,_0x296f5b._0x32679c);return defineTool({'name':_0x10b68b,'permissionClass':_0x4887be(0x5ff,0x5ab,0x48a,0x312),'description':_0x4887be(0x4a,_0x296f5b._0x3c38fe,_0x296f5b._0x4ed746,_0x296f5b._0x4b9a2b),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0x56cc3f(-_0x296f5b._0x41c9a9,0x8,-0x131,-0x39)},'path':{'type':_0x4887be(_0x296f5b._0x3c999f,_0x296f5b._0x41460d,0x1d6,_0x296f5b._0x4ec270)},'include':{'type':_0x4887be(_0x296f5b._0x25d3da,0x26d,_0x296f5b._0x473a03,0x336)},'limit':{'type':_0x4887be(_0x296f5b._0x5df19d,0x675,0x4df,0x517)},'context':{'type':'number'}},'required':[_0x4887be(_0x296f5b._0x18b973,0x4a2,_0x296f5b._0x5284ef,_0x296f5b._0x259d67)]},async *'execute'(_0x1ff5f1){const _0x502862={_0x177b5c:0x121};try{validateGrepPattern(_0x1ff5f1[_0x1c8ab3(_0x17ec28._0x5ee508,0x18a,_0x17ec28._0x51a08f,0x260)]);}catch(_0x1f41dc){throw new ToolExecutionError(_0x1f41dc[_0x1c8ab3(_0x17ec28._0x1f1e2f,0x1f8,_0x17ec28._0x352570,_0x17ec28._0x1b5477)],{});}function _0x1c8ab3(_0x10b150,_0x8414f4,_0x264543,_0x41eaf5){return _0x56cc3f(_0x10b150-_0x5eda8f._0x3455a6,_0x8414f4-_0x5eda8f._0x1dcffc,_0x8414f4-_0x5eda8f._0x58c26e,_0x41eaf5);}const _0x151b43=resolveAllowedPath(_0x29ca82,_0x2b2289,_0x1ff5f1[_0x1c8ab3(0x82,-0x89,-_0x17ec28._0x25f55f,-_0x17ec28._0x347742)]??'.'),_0x30b166=await _0x5b8beb(_0x151b43)[_0x1a606d(_0x17ec28._0x460f28,0x57d,0x463,_0x17ec28._0x1980cb)](()=>null),_0x39b66d=_0x30b166?.[_0x1a606d(_0x17ec28._0x3255d4,0x507,0x4d2,0x4b5)]()??![],_0x4684d5=_0x30b166?.[_0x1c8ab3(_0x17ec28._0x2655a2,0xb0,_0x17ec28._0x3969b7,0x37)]()??![];if(!_0x39b66d&&!_0x4684d5)throw new ToolExecutionError(_0x1c8ab3(-_0x17ec28._0x105ed8,-0x28,-_0x17ec28._0x1774f4,-_0x17ec28._0x349a16)+(_0x1ff5f1['path']??'.'),{'path':_0x1ff5f1[_0x1c8ab3(-_0x17ec28._0x24ce6c,-0x89,-_0x17ec28._0x1963bf,-0x223)]??'.'});const _0x2b922e=await searchRegex({'cwd':_0x4684d5?_0x151b43:_0x112a9f[_0x1c8ab3(0x18f,_0x17ec28._0xd88264,_0x17ec28._0x3206cd,_0x17ec28._0x103ceb)](_0x151b43),'pattern':_0x1ff5f1[_0x1c8ab3(0x325,_0x17ec28._0x59fde7,_0x17ec28._0x20183a,0x27d)],'glob':_0x4684d5?_0x1ff5f1[_0x1c8ab3(-_0x17ec28._0x1e4707,0x12f,0x94,_0x17ec28._0x5dd5ea)]:void 0x0,'limit':_0x1ff5f1[_0x1a606d(_0x17ec28._0x585ee7,_0x17ec28._0x5ca8f8,0x29b,0x29a)]??_0x26d991,'files':_0x39b66d?[_0x151b43]:void 0x0,'context':_0x1ff5f1['context']}),{matches:_0x26910a}=_0x2b922e,_0x41fc3d=new Map();function _0x1a606d(_0x4641fb,_0x22a8ba,_0x31512b,_0x252dc8){return _0x4887be(_0x22a8ba,_0x22a8ba-0x1ac,_0x31512b- -0x18,_0x252dc8-_0x502862._0x177b5c);}for(const _0x57f9bc of _0x26910a){if(!_0x41fc3d[_0x1a606d(_0x17ec28._0x3f45a1,0x4f9,0x41a,_0x17ec28._0x1b989c)](_0x57f9bc[_0x1a606d(0x30e,_0x17ec28._0x2e4c4d,_0x17ec28._0x4ddc21,0x236)])){const _0x3d2c31=await _0x5b8beb(_0x57f9bc[_0x1a606d(0x120,_0x17ec28._0x59def3,0x2d3,0x3af)])['catch'](()=>null);_0x41fc3d[_0x1a606d(_0x17ec28._0xb23ce,0x2c7,_0x17ec28._0x2a55dc,_0x17ec28._0x2f685c)](_0x57f9bc['filePath'],{'matches':[],'mtime':_0x3d2c31?.[_0x1c8ab3(-0x90,-_0x17ec28._0x4efe58,-0x42,-_0x17ec28._0x4efe58)]??0x0});}_0x41fc3d[_0x1c8ab3(0xd1,_0x17ec28._0x42d226,_0x17ec28._0x259c67,0xd3)](_0x57f9bc[_0x1a606d(_0x17ec28._0x24beff,0x2c3,_0x17ec28._0x4ddc21,0x326)])?.[_0x1a606d(_0x17ec28._0x501729,_0x17ec28._0x190af6,0x17d,0x1e8)][_0x1c8ab3(0x6,_0x17ec28._0x5064a2,_0x17ec28._0x5ae6c3,_0x17ec28._0x2c4e95)](_0x57f9bc);}const _0x31c0a9=[..._0x41fc3d[_0x1c8ab3(_0x17ec28._0x5da032,0xc8,0x24d,0x72)]()][_0x1a606d(0x454,0x40e,0x49b,0x47b)]((_0x25b0f1,_0x4cc18e)=>_0x4cc18e[0x1][_0x1c8ab3(0x6a,0x2a,0x3b,0x16c)]-_0x25b0f1[0x1][_0x1a606d(0x26e,0x36d,0x2c8,0x250)]),_0x4c8f0e=_0x39b66d?_0x112a9f[_0x1c8ab3(0x179,0x23b,_0x17ec28._0x333a07,0x2a6)](_0x151b43):_0x151b43;let _0x2edffb='';if(_0x26910a[_0x1a606d(0x402,0x322,0x48e,_0x17ec28._0x217484)]===0x0)_0x2edffb=_0x1a606d(_0x17ec28._0xe7d9a1,0xe4,0x265,0x398)+_0x1ff5f1[_0x1a606d(_0x17ec28._0x465404,0x283,0x428,0x36e)];else{_0x2edffb=_0x1a606d(_0x17ec28._0x2b41da,0x24d,0x3d0,_0x17ec28._0x20265a)+_0x2b922e[_0x1c8ab3(-_0x17ec28._0x4cb3e3,-_0x17ec28._0x20abfe,-0xb2,0x1)]+_0x1c8ab3(_0x17ec28._0x4e4009,_0x17ec28._0x10df72,_0x17ec28._0x4d069f,0x239)+(_0x2b922e[_0x1a606d(0x32c,_0x17ec28._0x2a954d,0x1bb,0xbc)]===0x1?'':'es')+'\x0a';for(const [_0x1cc531,_0x50e498]of _0x31c0a9){const _0x23ed9c=_0x39b66d?_0x112a9f[_0x1a606d(0x3c6,_0x17ec28._0xa78da8,0x476,0x34b)](_0x1cc531):_0x112a9f['relative'](_0x4c8f0e,_0x1cc531);_0x2edffb+='\x0a'+_0x23ed9c+':\x0a';for(const _0x6ce73f of _0x50e498[_0x1c8ab3(-_0x17ec28._0x311ec8,-_0x17ec28._0x1ded3e,-_0x17ec28._0x4fda26,-_0x17ec28._0x1cec7e)]){const _0xb1c6fd=boundedGrepSnippet(_0x6ce73f[_0x1a606d(0x3da,0x361,0x3e6,_0x17ec28._0x152de8)]),_0x2bf3fa=_0x6ce73f[_0x1a606d(_0x17ec28._0x734d,0x237,_0x17ec28._0x44a25d,_0x17ec28._0x3aa8d2)]?'\x20\x20':'>\x20';_0x2edffb+=_0x2bf3fa+'Line\x20'+_0x6ce73f['lineNum']+':\x20'+_0xb1c6fd+'\x0a';}}_0x2b922e['truncated']&&(_0x2edffb+=_0x1c8ab3(-0x35,_0x17ec28._0x109600,_0x17ec28._0x4149b6,0x1b8));}const _0x3d4841={'searchPath':_0x112a9f[_0x1a606d(_0x17ec28._0x370207,0x3f4,0x26d,0x2ff)](_0x29ca82,_0x151b43)||'.','pattern':_0x1ff5f1['pattern'],'matchCount':_0x2b922e['matchCount'],'fileCount':_0x2b922e[_0x1a606d(_0x17ec28._0x91cfee,_0x17ec28._0x22ae89,0x4f2,_0x17ec28._0x50a4ba)],'truncated':_0x2b922e[_0x1c8ab3(_0x17ec28._0xc7c0cf,0x13d,_0x17ec28._0x55b817,_0x17ec28._0x258bd4)]};return _0x4684d5&&_0x1ff5f1['include']!==void 0x0&&(_0x3d4841['include']=_0x1ff5f1[_0x1a606d(_0x17ec28._0x4bf2a1,0x4d5,0x3cd,0x355)]),yield createToolOutput(_0x2edffb['trim'](),_0x3d4841),void 0x0;}});}function createKillShellTool(_0x28996f){const _0x14cb2d={_0x505ed4:0x7f,_0x8c4ef:0x1,_0x375245:0x28b,_0x566dc0:0x1b3,_0x2155a3:0x54a},_0x41fb71={_0x30564e:0x16b,_0x4d6278:0x32b,_0x319621:0x6e,_0x52ad62:0x48,_0x5115b5:0x4e8,_0x1ff4f2:0x4b1,_0x51c769:0x3f5,_0x1d4e26:0x1b8,_0x30b472:0x23c,_0x3615c9:0x25c,_0x293410:0x27c,_0x5b3932:0x167,_0x1128a1:0x20b,_0x3f8732:0x16a,_0x4c1def:0x329,_0x2948d0:0x562,_0x5374f6:0xbb,_0x23e863:0x121,_0x14005a:0x2e2,_0x231e1d:0x372,_0x40ed63:0x1a5,_0x41f8d3:0xe,_0x53c688:0x7a,_0x547732:0x41,_0x33948d:0x513,_0x3c7466:0x4d7},_0x1baa14={_0x14883a:0x136,_0x5d19c2:0x399},_0x57ab04={_0x28a31c:0x188,_0x10e4b8:0xef},_0x327c8d={_0x3b6d67:0x35};function _0xd917e8(_0x24725e,_0x41c17f,_0x1fc895,_0x46185d){return _0x151cc1(_0x24725e-0xae,_0x46185d-0x5d,_0x41c17f,_0x46185d-_0x327c8d._0x3b6d67);}function _0x1823ca(_0x4d7189,_0x2569ac,_0x2b12d1,_0xb07681){return _0x151cc1(_0x4d7189-_0x57ab04._0x28a31c,_0x2569ac- -0x11d,_0x4d7189,_0xb07681-_0x57ab04._0x10e4b8);}const {registry:_0x430067}=_0x28996f;return defineTool({'name':_0x1823ca(-0x62,0x118,_0x14cb2d._0x505ed4,_0x14cb2d._0x8c4ef),'permissionClass':'always-confirm','description':'Terminate\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true),\x20identified\x20by\x20its\x20shellId.','inputSchema':{'type':_0xd917e8(_0x14cb2d._0x375245,_0x14cb2d._0x566dc0,0x225,0x1c6),'properties':{'shellId':{'type':'string'}},'required':[_0xd917e8(_0x14cb2d._0x2155a3,0x441,0x62c,0x48c)]},async *'execute'(_0x283232){const _0x588e41={_0x56b14b:0x152,_0x106639:0x11a},_0x4910cb=await _0x430067['kill'](_0x283232[_0x2668c2(0xf3,0x154,0x6a,_0x41fb71._0x30564e)]);function _0x2668c2(_0x55cc22,_0x56d689,_0x535b72,_0x1767a0){return _0xd917e8(_0x55cc22-0x94,_0x535b72,_0x535b72-_0x1baa14._0x14883a,_0x55cc22- -_0x1baa14._0x5d19c2);}function _0x43c809(_0x3dfd3d,_0x11768a,_0x341a28,_0x449bdd){return _0xd917e8(_0x3dfd3d-0x3a,_0x3dfd3d,_0x341a28-_0x588e41._0x56b14b,_0x341a28- -_0x588e41._0x106639);}const _0x2b3bd7={'shellId':_0x4910cb[_0x43c809(0x340,0x3a8,0x372,_0x41fb71._0x4d6278)],'outcome':_0x4910cb[_0x2668c2(_0x41fb71._0x319621,0x45,0xae,-_0x41fb71._0x52ad62)],'status':_0x4910cb[_0x43c809(0x33b,_0x41fb71._0x5115b5,0x34b,_0x41fb71._0x1ff4f2)],'exitCode':_0x4910cb[_0x43c809(_0x41fb71._0x51c769,0x1c1,0x360,0x462)],'signal':_0x4910cb[_0x2668c2(-_0x41fb71._0x1d4e26,-0x2a0,-0x2c9,0x16)],'error':_0x4910cb[_0x43c809(0x172,_0x41fb71._0x30b472,0x341,_0x41fb71._0x3615c9)],'gracefulRequested':_0x4910cb[_0x43c809(_0x41fb71._0x293410,0x222,0x2e7,0x301)],'forceRequested':_0x4910cb[_0x43c809(0x269,0x206,_0x41fb71._0x5b3932,_0x41fb71._0x1128a1)]};if(_0x4910cb['outcome']===_0x2668c2(_0x41fb71._0x3f8732,0x8b,0x1a2,0x215))throw new ToolExecutionError(_0x43c809(0x258,_0x41fb71._0x4c1def,0x39c,_0x41fb71._0x2948d0)+_0x283232['shellId']+':\x20'+(_0x4910cb['error']??'unknown\x20termination\x20error'),_0x2b3bd7);const _0x2459aa=_0x4910cb['outcome']===_0x2668c2(-_0x41fb71._0x5374f6,-0x238,-_0x41fb71._0x23e863,-0x175)?'Process\x20'+_0x283232[_0x43c809(0x3bd,_0x41fb71._0x14005a,_0x41fb71._0x231e1d,0x448)]+_0x43c809(0x54,_0x41fb71._0x40ed63,0xf1,_0x41fb71._0x41f8d3)+_0x4910cb[_0x2668c2(0xcc,0x27,-0x67,-0xbf)]+'.':_0x2668c2(-_0x41fb71._0x53c688,-_0x41fb71._0x547732,-0x7b,0x5f)+_0x283232[_0x43c809(_0x41fb71._0x33948d,0x524,0x372,_0x41fb71._0x3c7466)]+'.';return createToolOutput(_0x2459aa,_0x2b3bd7);}});}import{readdir as _0x48e273,readFile as _0x4536a8,stat as _0x3a3658}from'fs/promises';import*as _0x4ff902 from'path';import*as _0xe4772f from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x6d911c,_0x238f9b){const _0x55ca43={_0x5ddc86:0x1eb,_0x2ef56e:0x32d,_0xbbefc5:0x2e9,_0x1e4e63:0x2cd,_0x4047a4:0x34e,_0x2bdc08:0x4b6,_0x1bc1c9:0x1ef,_0x1c02aa:0x492,_0xa31309:0x396,_0xbadd34:0x53d,_0x1e34ac:0x6bf,_0x4b5c95:0x5b5,_0x282bab:0x2b8,_0x4bf6a7:0x358,_0x4c4006:0x21f},_0x316533={_0x2d4caa:0xff,_0x9f57df:0x16e},_0x2e056d={_0x4ae33b:0x12e};if(_0x238f9b>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x43727d=await _0x4536a8(_0x6d911c)[_0x325fbc(_0x55ca43._0x5ddc86,_0x55ca43._0x2ef56e,_0x55ca43._0xbbefc5,_0x55ca43._0x1e4e63)](()=>null);function _0x325fbc(_0x4913ea,_0xbf59c,_0x1f205f,_0x36fa42){return _0x151cc1(_0x4913ea-0x39,_0xbf59c- -_0x2e056d._0x4ae33b,_0x4913ea,_0x36fa42-0xff);}if(!_0x43727d||isProbablyBinary(_0x43727d))return void 0x0;function _0x2f2f1a(_0x586176,_0x415391,_0x5ef1c6,_0x13f188){return _0x151cc1(_0x586176-0x1d1,_0x586176-_0x316533._0x2d4caa,_0x13f188,_0x13f188-_0x316533._0x9f57df);}return _0x43727d[_0x2f2f1a(_0x55ca43._0x4047a4,_0x55ca43._0x2bdc08,_0x55ca43._0x1bc1c9,_0x55ca43._0x1c02aa)](_0x325fbc(_0x55ca43._0xa31309,0x3be,0x46e,0x3b9))[_0x2f2f1a(_0x55ca43._0xbadd34,0x38a,_0x55ca43._0x1e34ac,_0x55ca43._0x4b5c95)](/\r?\n/)[_0x325fbc(_0x55ca43._0x282bab,_0x55ca43._0x4bf6a7,0x3f5,_0x55ca43._0x4c4006)];}function createLsTool(_0x5af00b={}){const _0x481b6a={_0x233137:0x43d,_0x345c33:0x478,_0x10aa3f:0x48d,_0x45eaa9:0x55b,_0x287cac:0xc2,_0x5c3811:0x1e,_0x51c7fc:0x80,_0x36fa90:0x601,_0x1d194a:0x566,_0x5cf839:0x61c,_0x40da42:0x81,_0x17d45d:0x233,_0x4d684c:0x252,_0x3cd64c:0xd8,_0x9ba50b:0x3e2,_0x26401f:0x36e,_0x9f4f92:0x1dc,_0x3298ed:0x5e1,_0x2e203a:0x627},_0x50e3e5={_0x3ce785:0x475,_0x238e98:0x29b,_0x5b0913:0x57a,_0x1f7524:0x377,_0x51d2bf:0x2e5,_0x310562:0x275,_0x29e9ad:0x696,_0x3ff44c:0x63d,_0x1f4db1:0x525,_0x502c38:0x232,_0x1472bd:0x286,_0xe5373b:0x192,_0x123391:0x2f1,_0x329bdf:0x3b7,_0x4625fb:0x293,_0x276bc3:0x179,_0x5c590d:0x302,_0xd52c81:0x827,_0x5c194a:0x760,_0x53f96c:0x4fc,_0x62e052:0x189,_0x123e31:0xca,_0x56da80:0x305,_0x4f9a71:0x18e,_0x1b7a3b:0x2ee,_0x42002f:0x543,_0x146383:0x6aa,_0x2afa82:0x52a,_0x7770b1:0x43a,_0x117e78:0x7bf,_0x6c9580:0x71e,_0x13a35a:0x1bf,_0x6f8204:0x3c7,_0x50c369:0x2be,_0x5bbcda:0x342,_0x2b285c:0x2be,_0x4e4252:0x15c,_0xf68781:0x7e,_0x1023d9:0x4e6,_0x3daf83:0x42c,_0xbd54fa:0x343,_0x4bdf3d:0x64c,_0x1ca530:0x768,_0x576112:0x13d,_0x4eeafe:0x2be},_0x38941f={_0x291b3a:0xbb,_0x18e0d2:0x1b3},_0x34c9f5={_0x55b4b1:0x2ea},_0x17aa52={_0x19a55e:0x9a},_0x3791c4={_0x2fed6f:0x15};function _0x494372(_0x34074a,_0x5593c2,_0x135986,_0x1872ab){return _0x1ac42a(_0x34074a-0x145,_0x5593c2-0x73,_0x1872ab- -_0x3791c4._0x2fed6f,_0x5593c2);}const _0x481a99=_0x4ff902[_0xdf5929(_0x481b6a._0x233137,_0x481b6a._0x345c33,_0x481b6a._0x10aa3f,_0x481b6a._0x45eaa9)](_0x5af00b[_0x494372(-0x70,_0x481b6a._0x287cac,-0x10b,_0x481b6a._0x5c3811)]??process[_0x494372(_0x481b6a._0x51c7fc,0x26,0x53,-0xfb)]()),_0x482f64=_0x5af00b[_0xdf5929(_0x481b6a._0x36fa90,_0x481b6a._0x1d194a,_0x481b6a._0x5cf839,0x644)]??[];function _0xdf5929(_0x567f02,_0x158652,_0x5cd5dd,_0x11c457){return _0x1ac42a(_0x567f02-_0x17aa52._0x19a55e,_0x158652-0xb7,_0x567f02-0x49f,_0x5cd5dd);}const _0x3d0e6e=_0x5af00b['name']??'Ls';return defineTool({'name':_0x3d0e6e,'permissionClass':_0x494372(_0x481b6a._0x40da42,_0x481b6a._0x17d45d,_0x481b6a._0x4d684c,_0x481b6a._0x3cd64c),'description':_0xdf5929(0x53e,0x596,_0x481b6a._0x9ba50b,0x4e8),'inputSchema':{'type':_0x494372(-0x378,-0x327,-0x347,-0x229),'properties':{'path':{'type':_0x494372(-0x215,-0x1bb,-_0x481b6a._0x26401f,-_0x481b6a._0x9f4f92)},'limit':{'type':_0xdf5929(_0x481b6a._0x3298ed,0x46e,0x76f,_0x481b6a._0x2e203a)}}},async *'execute'(_0x4492ad){const _0x1ad7f2=_0x4492ad['path']??'.',_0x5a94d0=resolveAllowedPath(_0x481a99,_0x482f64,_0x1ad7f2),_0x44c711=await _0x3a3658(_0x5a94d0)['catch'](()=>null);if(!_0x44c711?.[_0x309518(_0x50e3e5._0x3ce785,0x50c,0x552,0x68e)]())throw new ToolExecutionError(_0x2e92fd(0x183,0x3d6,0x134,_0x50e3e5._0x238e98)+_0x1ad7f2,{'path':_0x1ad7f2});const _0x3bfe91=_0x4492ad[_0x309518(0x3cf,0x459,_0x50e3e5._0x5b0913,_0x50e3e5._0x1f7524)]??0x3e8,_0x46db6f=Math['min'](Math[_0x2e92fd(0x281,_0x50e3e5._0x51d2bf,_0x50e3e5._0x310562,0x246)](Math[_0x309518(_0x50e3e5._0x29e9ad,_0x50e3e5._0x3ff44c,0x482,0x6fd)](_0x3bfe91),0x1),0x2710);function _0x2e92fd(_0xa58268,_0x596334,_0xdc04f8,_0x551cbd){return _0xdf5929(_0x551cbd- -_0x34c9f5._0x55b4b1,_0x596334-0x55,_0xa58268,_0x551cbd-0x1d1);}const _0x4b8879=await _0x48e273(_0x5a94d0),_0x1875a4=[];for(const _0x517f0c of _0x4b8879[_0x309518(0x463,_0x50e3e5._0x1f4db1,0x472,0x522)](0x0,_0x46db6f)){const _0x2ed688=_0x4ff902[_0x2e92fd(_0x50e3e5._0x502c38,_0x50e3e5._0x1472bd,_0x50e3e5._0xe5373b,_0x50e3e5._0x123391)](_0x5a94d0,_0x517f0c),_0x20c96e=await _0x3a3658(_0x2ed688)[_0x2e92fd(0x2ea,0x2de,_0x50e3e5._0x329bdf,_0x50e3e5._0x4625fb)](()=>null);if(!_0x20c96e)continue;let _0x217eca='other';if(_0x20c96e[_0x2e92fd(_0x50e3e5._0x276bc3,0x234,0x399,_0x50e3e5._0x5c590d)]())_0x217eca=_0x309518(_0x50e3e5._0xd52c81,0x67c,_0x50e3e5._0x5c194a,_0x50e3e5._0x53f96c);else{if(_0x20c96e['isDirectory']())_0x217eca='directory';else{if(_0x20c96e['isSymbolicLink']())_0x217eca=_0x2e92fd(0x105,0xb7,0x274,_0x50e3e5._0x62e052);}}const _0x7ba604={'name':_0x517f0c,'type':_0x217eca,'size':_0x20c96e['size'],'mtime':_0x20c96e[_0x2e92fd(-_0x50e3e5._0x123e31,0xa9,0x12d,0xc1)],'mode':_0x20c96e[_0x2e92fd(0x3e8,0x395,0x158,0x21a)]},_0x3ee4d9=_0x217eca===_0x2e92fd(0x1e4,_0x50e3e5._0x56da80,_0x50e3e5._0x4f9a71,_0x50e3e5._0x1b7a3b)?await countTextLines(_0x2ed688,_0x20c96e[_0x309518(_0x50e3e5._0x42002f,_0x50e3e5._0x146383,_0x50e3e5._0x2afa82,0x7ae)]):void 0x0;if(_0x3ee4d9!==void 0x0)_0x7ba604[_0x2e92fd(0x242,0x221,_0x50e3e5._0x7770b1,0x2a3)]=_0x3ee4d9;_0x1875a4['push'](_0x7ba604);}function _0x309518(_0x33db00,_0x4af320,_0x33d0c1,_0x17a35e){return _0x494372(_0x33db00-_0x38941f._0x291b3a,_0x33d0c1,_0x33d0c1-_0x38941f._0x18e0d2,_0x4af320-0x558);}_0x1875a4[_0x309518(_0x50e3e5._0x117e78,0x659,0x780,_0x50e3e5._0x6c9580)]((_0x4565c7,_0x3575fd)=>_0x4565c7[_0x309518(0x771,0x5d5,0x517,0x775)][_0x309518(0x3b0,0x361,0x223,0x403)](_0x3575fd[_0x2e92fd(0x26f,0x10b,0x299,0x247)]));const _0x1e00b2={'path':_0x1ad7f2,'total':_0x1875a4[_0x2e92fd(_0x50e3e5._0x13a35a,_0x50e3e5._0x6f8204,0x12e,_0x50e3e5._0x50c369)],'truncated':_0x4b8879[_0x2e92fd(0x259,_0x50e3e5._0x5bbcda,0x3a5,_0x50e3e5._0x2b285c)]>_0x46db6f,'entries':_0x1875a4};return yield createToolOutput(_0xe4772f[_0x2e92fd(0x204,_0x50e3e5._0x4e4252,_0x50e3e5._0xf68781,0xac)](_0x1e00b2,{'indent':0x2,'lineWidth':0x0})[_0x309518(0x3ad,_0x50e3e5._0x1023d9,_0x50e3e5._0x3daf83,_0x50e3e5._0xbd54fa)](),{'path':_0x1ad7f2,'total':_0x1875a4[_0x309518(0x4b7,_0x50e3e5._0x4bdf3d,0x4dc,_0x50e3e5._0x1ca530)],'truncated':_0x4b8879[_0x2e92fd(0x12b,_0x50e3e5._0x576112,0x265,_0x50e3e5._0x4eeafe)]>_0x46db6f,'limit':_0x46db6f,'entries':_0x1875a4}),void 0x0;}});}import{stat as _0x2780e6}from'fs/promises';import _0x4da47b from'path';import{fileURLToPath as _0x2e2aef}from'url';function awaitWithAbort(_0x372e08,_0x4bb0fb){const _0x467c57={_0x586620:0x40e,_0x4c0c79:0x444,_0x3d83cc:0x3a4,_0x2d97e9:0x4f9,_0x359a70:0x422},_0x113f85={_0x21420a:0x32d,_0x5b91a6:0x33,_0x4ae148:0x1f1,_0x4cbc00:0x17e,_0xe75efc:0x3d3,_0xcac6c:0x388,_0x82bad6:0xf0},_0x5a382a={_0x589ca6:0x23,_0x4a343c:0x147},_0x282ec7={_0x4f6873:0xb9,_0xb3e8e0:0x222};if(!_0x4bb0fb)return _0x372e08;function _0x26d30c(_0xc5d99,_0x303b9b,_0x45ecf6,_0x1052ec){return _0x151cc1(_0xc5d99-_0x282ec7._0x4f6873,_0xc5d99-_0x282ec7._0xb3e8e0,_0x303b9b,_0x1052ec-0x50);}if(_0x4bb0fb[_0x26d30c(_0x467c57._0x586620,0x37a,0x3f5,0x3e7)])return Promise[_0x26d30c(_0x467c57._0x4c0c79,0x44c,_0x467c57._0x3d83cc,_0x467c57._0x2d97e9)](toAbortError(_0x4bb0fb[_0x26d30c(0x4d8,0x3c0,0x651,_0x467c57._0x359a70)]));function _0x4b88ec(_0x44003a,_0x3bcf69,_0xd95ec5,_0x610ce4){return _0x151cc1(_0x44003a-_0x5a382a._0x589ca6,_0xd95ec5- -0x314,_0x44003a,_0x610ce4-_0x5a382a._0x4a343c);}return new Promise((_0x4c3ddc,_0x5e3aa3)=>{const _0x4b0358={_0x5ab389:0xa9,_0x54b625:0x10b},_0x51fef7={_0x370989:0x341,_0x528f94:0x39d},_0xf1a73f=()=>{function _0x172332(_0x4e6cc8,_0x3b7bb7,_0xef1972,_0x3397f1){return _0x5041(_0x4e6cc8- -0x74,_0x3397f1);}_0x53b470(),_0x5e3aa3(toAbortError(_0x4bb0fb[_0x172332(0x1ef,_0x51fef7._0x370989,0x236,_0x51fef7._0x528f94)]));};function _0x568003(_0x4fb6dd,_0xe2a864,_0x5c0d02,_0x4aafa4){return _0x26d30c(_0x4aafa4- -0xc6,_0xe2a864,_0x5c0d02-0x8e,_0x4aafa4-0x168);}const _0x53b470=()=>_0x4bb0fb[_0x16a481(0x1b8,0x309,0x161,0x25b)](_0x16a481(0x2d7,0x30d,0x137,0x17e),_0xf1a73f);_0x4bb0fb[_0x568003(0x2bd,0x540,_0x113f85._0x21420a,0x370)](_0x16a481(_0x113f85._0x5b91a6,0x231,_0x113f85._0x4ae148,_0x113f85._0x4cbc00),_0xf1a73f,{'once':!![]});function _0x16a481(_0x1aa827,_0x4a578e,_0x535a71,_0x5d658e){return _0x4b88ec(_0x535a71,_0x4a578e-_0x4b0358._0x5ab389,_0x5d658e-_0x4b0358._0x54b625,_0x5d658e-0x12d);}_0x372e08[_0x16a481(_0x113f85._0xe75efc,_0x113f85._0xcac6c,_0x113f85._0x82bad6,0x28c)](_0x72faf9=>{_0x53b470(),_0x4c3ddc(_0x72faf9);},_0x50b1f1=>{_0x53b470(),_0x5e3aa3(_0x50b1f1);});});}function severityName(_0x554643){const _0x1165b4={_0x2e9e05:0x3c0,_0x238413:0x532,_0x1c844d:0x76e},_0x23b215={_0xba31e4:0xd0},_0x5d969e={_0x264fca:0x11d,_0x4fa830:0x2d7};function _0x437140(_0x1b50b5,_0x1e8823,_0x4d5537,_0x33f5dc){return _0x151cc1(_0x1b50b5-_0x5d969e._0x264fca,_0x4d5537-_0x5d969e._0x4fa830,_0x1e8823,_0x33f5dc-0x16d);}function _0x2a0858(_0x2449b3,_0x36787b,_0x276365,_0x3ed29f){return _0x151cc1(_0x2449b3-0x34,_0x276365-0x253,_0x36787b,_0x3ed29f-_0x23b215._0xba31e4);}switch(_0x554643){case 0x1:return _0x437140(_0x1165b4._0x2e9e05,0x509,_0x1165b4._0x238413,0x6c9);case 0x2:return _0x2a0858(_0x1165b4._0x1c844d,0x79b,0x727,0x6bc);case 0x3:return _0x437140(0x557,0x54c,0x712,0x6ad);case 0x4:return'Hint';default:return'Diagnostic';}}function formatSingleHover(_0x50388f){const _0x187982={_0x197b53:0x27a,_0x10424c:0x1df,_0x3af8fe:0x3db,_0x5ee520:0x245,_0x468372:0x382,_0x133219:0x39b,_0x5cdf79:0x1d4,_0x4f18bf:0x23,_0x58a9cb:0x66d,_0x6817a5:0x627,_0x4625de:0x3fd,_0x5d70c7:0x231,_0x1de2b2:0x205,_0x866946:0x157,_0x34f951:0x565,_0x4790e8:0x54a,_0x223a7c:0x3e1,_0x1a4cf6:0x5bf,_0x31e2b5:0x4fc,_0x1b6a73:0x437,_0x2ce6bb:0x27d,_0x433cd2:0x2f7,_0x5f1b36:0x1cb,_0x4839bc:0x2ec,_0x5b40f4:0x47c,_0x1fbdd6:0x2c1,_0x3710ab:0x274},_0x13b061={_0x4b3417:0xf8,_0x46269e:0xb3},_0x28c9ba={_0x30f890:0x7e},_0x19414a=_0x50388f[_0x45d18f(_0x187982._0x197b53,0x337,_0x187982._0x10424c,_0x187982._0x3af8fe)];function _0x5b6f39(_0x51d23b,_0x5e09ab,_0x31db55,_0x2dd97e){return _0x1ac42a(_0x51d23b-0x112,_0x5e09ab-0x14d,_0x51d23b- -_0x28c9ba._0x30f890,_0x2dd97e);}if(typeof _0x19414a===_0x5b6f39(-_0x187982._0x5ee520,-0x303,-_0x187982._0x468372,-_0x187982._0x133219))return _0x19414a;if(Array[_0x5b6f39(-0x1a7,-0x1f0,-_0x187982._0x5cdf79,-_0x187982._0x4f18bf)](_0x19414a))return _0x19414a['map'](_0x2ce4b0=>typeof _0x2ce4b0==='string'?_0x2ce4b0:_0x2ce4b0['value'])['filter'](Boolean)[_0x45d18f(_0x187982._0x58a9cb,0x56c,0x51f,_0x187982._0x6817a5)]('\x0a\x0a');if('kind'in _0x19414a)return _0x19414a[_0x45d18f(_0x187982._0x4625de,_0x187982._0x5d70c7,_0x187982._0x1de2b2,_0x187982._0x866946)];function _0x45d18f(_0x36828e,_0x567bc4,_0x2e454d,_0x468589){return _0x151cc1(_0x36828e-_0x13b061._0x4b3417,_0x567bc4-_0x13b061._0x46269e,_0x468589,_0x468589-0xc8);}return _0x19414a[_0x45d18f(_0x187982._0x34f951,_0x187982._0x4790e8,_0x187982._0x223a7c,_0x187982._0x1a4cf6)]?_0x45d18f(0x37d,0x413,_0x187982._0x31e2b5,_0x187982._0x1b6a73)+_0x19414a['language']+'\x0a'+_0x19414a[_0x5b6f39(-_0x187982._0x2ce6bb,-0x22d,-0x221,-_0x187982._0x433cd2)]+_0x45d18f(_0x187982._0x5f1b36,_0x187982._0x4839bc,_0x187982._0x5b40f4,0x21c):_0x19414a[_0x5b6f39(-_0x187982._0x2ce6bb,-_0x187982._0x1fbdd6,-_0x187982._0x3710ab,-0x2d1)];}function formatHover(_0x1bdcfc){const _0x239b5c={_0x1f80c3:0x650,_0x492ab5:0x562,_0x17d74e:0x212,_0x9fb5f9:0x2c4,_0xc976f7:0x14,_0x577923:0x119,_0x4c1b4f:0x3f,_0x529b6f:0x29e,_0xd07ef8:0xaf},_0x411526={_0x5603f9:0x11b,_0x1087ad:0x6b},_0x582c51={_0x31a544:0xf8};if(_0x1bdcfc[_0xbb1186(0x531,0x5c6,_0x239b5c._0x1f80c3,_0x239b5c._0x492ab5)]===0x0)return _0x44c61e(-_0x239b5c._0x17d74e,-_0x239b5c._0x9fb5f9,-0x342,-0x27e);function _0xbb1186(_0x27f350,_0x2bc050,_0x5c6147,_0x586d6c){return _0x151cc1(_0x27f350-_0x582c51._0x31a544,_0x5c6147-0x1ca,_0x586d6c,_0x586d6c-0x1d);}function _0x44c61e(_0x30f4e8,_0x216042,_0x2c0acc,_0x4a86bc){return _0x1ac42a(_0x30f4e8-0x1dc,_0x216042-_0x411526._0x5603f9,_0x4a86bc- -_0x411526._0x1087ad,_0x2c0acc);}return _0x1bdcfc[_0x44c61e(-_0x239b5c._0xc976f7,_0x239b5c._0x577923,-0x155,_0x239b5c._0x4c1b4f)](formatSingleHover)[_0x44c61e(0x205,_0x239b5c._0x529b6f,-_0x239b5c._0xd07ef8,0xd1)]('\x0a\x0a---\x0a\x0a');}function locationPath(_0x21a8db){const _0x591132={_0xd871af:0x4a8,_0x1438fd:0x3dc,_0x5875b5:0x7d,_0x46ed12:0x187},_0x1f0e8b={_0x21e0e2:0x1c0,_0x33d85f:0x1d3},_0x1fa7da={_0x466b2c:0x183,_0x3304b5:0x9b,_0x1889a7:0x7f};function _0x2b5350(_0x5e1491,_0x125aed,_0x251eea,_0x20be19){return _0x151cc1(_0x5e1491-_0x1fa7da._0x466b2c,_0x5e1491-_0x1fa7da._0x3304b5,_0x20be19,_0x20be19-_0x1fa7da._0x1889a7);}if(!_0x21a8db[_0x2b5350(_0x591132._0xd871af,0x30a,_0x591132._0x1438fd,0x3d2)](_0x454d0b(0x10f,-_0x591132._0x5875b5,0x15a,_0x591132._0x46ed12)))return _0x21a8db;function _0x454d0b(_0x52ddfe,_0x51fe81,_0x28de96,_0x18e5d9){return _0x151cc1(_0x52ddfe-_0x1f0e8b._0x21e0e2,_0x52ddfe- -0x253,_0x51fe81,_0x18e5d9-_0x1f0e8b._0x33d85f);}return _0x2e2aef(_0x21a8db);}function formatLocations(_0x455a20){const _0x3cc977={_0x1da4a9:0x446,_0x19fa1f:0x474,_0x3408a9:0x29a,_0x4c046d:0x15b,_0x1db544:0x1b7,_0x58c508:0x1bd,_0x282736:0x10d,_0x91f5cd:0x221,_0x3b35d6:0x40f,_0x4baf52:0x2b3},_0x1ae95f={_0x474c3e:0x425,_0x112ea1:0x36e,_0x532f85:0x279,_0xdef29e:0x35f,_0x1f65cb:0x3ab,_0x1b3613:0x387},_0x2b4967={_0x26dc02:0x8e},_0x475299={_0x48a486:0x1f},_0x3e7d5b={_0x57301f:0x16c,_0x19ef6a:0x1},_0x503d44={_0x5709ad:0x1ad};if(_0x455a20[_0x3fad92(0x31a,_0x3cc977._0x1da4a9,_0x3cc977._0x19fa1f,_0x3cc977._0x3408a9)]===0x0)return _0x245be8(0x328,0x2bb,_0x3cc977._0x4c046d,_0x3cc977._0x1db544);function _0x245be8(_0x3cbbaf,_0x59780e,_0x16db14,_0x36facd){return _0x151cc1(_0x3cbbaf-0x42,_0x36facd- -0x206,_0x59780e,_0x36facd-_0x503d44._0x5709ad);}function _0x3fad92(_0x50761a,_0x13ff32,_0x1ca4ef,_0x1fa52f){return _0x151cc1(_0x50761a-0xdb,_0x50761a- -_0x3e7d5b._0x57301f,_0x13ff32,_0x1fa52f-_0x3e7d5b._0x19ef6a);}return _0x455a20[_0x245be8(_0x3cc977._0x58c508,_0x3cc977._0x282736,0x91,_0x3cc977._0x91f5cd)](_0x54c4d0=>{function _0x437d17(_0x16a886,_0x331464,_0x46deec,_0x4a6a0a){return _0x3fad92(_0x331464-0xf0,_0x46deec,_0x46deec-0xf5,_0x4a6a0a-_0x475299._0x48a486);}const _0x1414bf=_0x54c4d0[_0x437d17(0x349,_0x1ae95f._0x474c3e,_0x1ae95f._0x112ea1,0x3d1)]['start'];function _0x2dba41(_0x13f320,_0x323b94,_0x5c8482,_0x4c8ef4){return _0x245be8(_0x13f320-_0x2b4967._0x26dc02,_0x5c8482,_0x5c8482-0xf5,_0x323b94-0x295);}return locationPath(_0x54c4d0[_0x2dba41(_0x1ae95f._0x532f85,_0x1ae95f._0xdef29e,0x1e9,0x2d0)])+':'+(_0x1414bf[_0x437d17(_0x1ae95f._0x1f65cb,0x358,_0x1ae95f._0x1b3613,0x1f2)]+0x1)+':'+(_0x1414bf[_0x437d17(0x2a1,0x2a0,0x1e3,0x160)]+0x1);})[_0x245be8(0x15d,0x1f0,_0x3cc977._0x3b35d6,_0x3cc977._0x4baf52)]('\x0a');}function isDocumentSymbol(_0x1242e7){const _0x2e4ab5={_0x3c2678:0xc5};function _0x3acc16(_0x4961c0,_0x3f8bf3,_0x227db5,_0x536792){return _0x1ac42a(_0x4961c0-0x15,_0x3f8bf3-0x121,_0x227db5-0x38d,_0x536792);}function _0x4cbb61(_0xf170bf,_0x431133,_0x2441f2,_0x4792c8){return _0x1ac42a(_0xf170bf-0x6c,_0x431133-0x12f,_0x431133- -0x64,_0xf170bf);}return _0x4cbb61(0x17d,0xc0,0x191,0x5f)in _0x1242e7&&_0x4cbb61(-0x1ce,-0xc3,_0x2e4ab5._0x3c2678,-0x11b)in _0x1242e7;}function formatSymbols(_0x35bae1){const _0x571859={_0x62bcf4:0x28f,_0x45b43f:0x338,_0x8d0939:0xba,_0x4644f2:0x12e},_0x27b408={_0x224b78:0x567,_0x43ec64:0x563,_0x24d6e0:0x577,_0x4a6f33:0x3f1,_0x45d1c7:0x396,_0x2cf9fc:0x6fc,_0x21a885:0x618,_0x31983f:0x763,_0x3de862:0x2d7,_0x3c2cbe:0x1b6,_0x1f4b31:0x134,_0x1500c:0x366,_0x207b56:0x78a,_0x54dcda:0xc1,_0x1cc5ea:0x661,_0x4a12b6:0x4d3,_0x18d24f:0xc4,_0x137263:0x764,_0x5a62ee:0x6b8,_0x4837da:0x66b,_0x41ccf4:0x969,_0xdfa931:0x6c8,_0x12507a:0x44e,_0x1e4494:0x8e3,_0x3f2f6d:0x7a0,_0xcb886c:0x74a,_0x14db76:0x61a,_0x251d60:0x67d,_0x24abc6:0x79d,_0xbac8df:0x130,_0x157a93:0x2d2,_0xe8c75:0x13d,_0x140347:0x129,_0x275bed:0x1b5},_0x2b2ba1={_0x3a5e61:0x141};function _0x1fdc74(_0x131dfb,_0x1f7f53,_0x3b63b1,_0x47e1dd){return _0x1ac42a(_0x131dfb-0xcf,_0x1f7f53-_0x2b2ba1._0x3a5e61,_0x1f7f53-0x3fc,_0x131dfb);}function _0x23ecbf(_0x10a01d,_0x4ddea6,_0x492b1a,_0x5a0f79){return _0x151cc1(_0x10a01d-0x1da,_0x492b1a- -0x38b,_0x4ddea6,_0x5a0f79-0xd4);}if(_0x35bae1['length']===0x0)return _0x1fdc74(_0x571859._0x62bcf4,0x22c,0x3d2,_0x571859._0x45b43f);return _0x35bae1['map'](_0x3c8fcf=>{const _0x35408f={_0x3b6afe:0x22a,_0x22467c:0x31,_0x387ec8:0x86};function _0x27b722(_0xce1a51,_0x21d98f,_0x24be47,_0x340495){return _0x1fdc74(_0x24be47,_0x21d98f- -0x45f,_0x24be47-0x65,_0x340495-0x164);}if(isDocumentSymbol(_0x3c8fcf))return _0x3c8fcf['name']+'\x20('+_0x3c8fcf[_0x413e3d(_0x27b408._0x224b78,_0x27b408._0x43ec64,_0x27b408._0x24d6e0,_0x27b408._0x4a6f33)]+_0x413e3d(0x4e8,0x35a,0x503,_0x27b408._0x45d1c7)+(_0x3c8fcf[_0x413e3d(_0x27b408._0x2cf9fc,_0x27b408._0x21a885,0x74a,_0x27b408._0x31983f)][_0x27b722(-_0x27b408._0x3de862,-_0x27b408._0x3c2cbe,-_0x27b408._0x1f4b31,-_0x27b408._0x1500c)][_0x413e3d(0x7f6,0x5f2,0x67d,_0x27b408._0x207b56)]+0x1)+':'+(_0x3c8fcf[_0x27b722(0x8,_0x27b408._0x54dcda,0x238,0x1ac)][_0x413e3d(0x6a2,_0x27b408._0x1cc5ea,_0x27b408._0x4a12b6,0x460)][_0x27b722(-0x13a,-_0x27b408._0x18d24f,-0x1df,-0x51)]+0x1)+']';function _0x413e3d(_0x2b7541,_0x3615c3,_0x1b4623,_0x2ceeae){return _0x1fdc74(_0x2ceeae,_0x1b4623-_0x35408f._0x3b6afe,_0x1b4623-_0x35408f._0x22467c,_0x2ceeae-_0x35408f._0x387ec8);}return _0x3c8fcf[_0x413e3d(_0x27b408._0x137263,0x68c,_0x27b408._0x5a62ee,0x5be)]+'\x20('+_0x3c8fcf['kind']+')\x20'+locationPath(_0x3c8fcf[_0x413e3d(0x818,_0x27b408._0x4837da,0x7a0,_0x27b408._0x41ccf4)][_0x413e3d(0x5f1,_0x27b408._0xdfa931,0x579,_0x27b408._0x12507a)])+':'+(_0x3c8fcf[_0x413e3d(_0x27b408._0x1e4494,0x622,_0x27b408._0x3f2f6d,0x779)][_0x413e3d(0x81f,0x5c5,_0x27b408._0xcb886c,0x794)][_0x413e3d(0x60a,_0x27b408._0x14db76,0x4d3,0x60e)][_0x413e3d(0x536,0x72a,_0x27b408._0x251d60,_0x27b408._0x24abc6)]+0x1)+':'+(_0x3c8fcf[_0x27b722(_0x27b408._0xbac8df,0x117,_0x27b408._0x157a93,0x1a5)][_0x27b722(_0x27b408._0xe8c75,_0x27b408._0x54dcda,0x266,0x262)][_0x27b722(-0x381,-_0x27b408._0x3c2cbe,-_0x27b408._0x140347,-_0x27b408._0x275bed)]['character']+0x1);})[_0x23ecbf(_0x571859._0x8d0939,-0x27,_0x571859._0x4644f2,0x68)]('\x0a');}function formatDiagnostics(_0x33588b){const _0x3b8d96={_0x20efbe:0xb6,_0x3907f8:0xbe,_0x1d615d:0x27,_0x343d9c:0xe9,_0x560262:0xdc,_0x2101ec:0x1ed,_0x2782d1:0x595,_0x4ab998:0x6a0,_0x3fe8e0:0x528,_0x34b81e:0x50f},_0x14308d={_0x18297a:0x38a,_0x1d9731:0x609,_0x2b7218:0x62b,_0x1f0ff7:0x4f9,_0x3579ea:0x673,_0x1de0e7:0x4a6,_0x5cd07a:0x36a,_0x1b4913:0x43a,_0x3c2266:0x4ba},_0x31c24d={_0x1df845:0x53},_0x557610={_0x5dab58:0x4d};if(_0x33588b[_0x1eeb5d(0x262,_0x3b8d96._0x20efbe,_0x3b8d96._0x3907f8,-_0x3b8d96._0x1d615d)]===0x0)return _0x1eeb5d(-_0x3b8d96._0x343d9c,-_0x3b8d96._0x560262,-_0x3b8d96._0x2101ec,-0xea);function _0x22a127(_0x569fb0,_0x97a1be,_0x393bdb,_0x340304){return _0x1ac42a(_0x569fb0-0xb4,_0x97a1be-_0x557610._0x5dab58,_0x340304-0x465,_0x569fb0);}function _0x1eeb5d(_0x547faf,_0x374ddb,_0x37478d,_0x2bf75b){return _0x1ac42a(_0x547faf-0x130,_0x374ddb-0x166,_0x374ddb- -_0x31c24d._0x1df845,_0x547faf);}return _0x33588b[_0x22a127(_0x3b8d96._0x2782d1,_0x3b8d96._0x4ab998,_0x3b8d96._0x3fe8e0,_0x3b8d96._0x34b81e)](_0xa0648d=>{const _0x46fbcd={_0x5ad4eb:0x128},_0x255772={_0x4a5922:0x5ec},_0xba9e4b=_0xa0648d['range'][_0x2db41f(_0x14308d._0x18297a,_0x14308d._0x1d9731,_0x14308d._0x2b7218,_0x14308d._0x1f0ff7)];function _0x393a68(_0x27808e,_0x337c6f,_0x2ed1bf,_0x5d53fb){return _0x1eeb5d(_0x27808e,_0x337c6f-_0x255772._0x4a5922,_0x2ed1bf-0x2a,_0x5d53fb-0x25);}function _0x2db41f(_0x1e5e2c,_0x36da5c,_0x1f2d18,_0x32a1f9){return _0x1eeb5d(_0x1f2d18,_0x32a1f9-0x69f,_0x1f2d18-_0x46fbcd._0x5ad4eb,_0x32a1f9-0x1d8);}return severityName(_0xa0648d[_0x393a68(_0x14308d._0x3579ea,_0x14308d._0x1de0e7,_0x14308d._0x5cd07a,_0x14308d._0x1b4913)])+'\x20['+(_0xba9e4b[_0x393a68(0x68b,0x5f0,0x552,_0x14308d._0x3c2266)]+0x1)+':'+(_0xba9e4b['character']+0x1)+']\x20'+_0xa0648d['message'];})['join']('\x0a');}function formatIncomingCalls(_0xdf48b){const _0x73a901={_0x8f7d89:0x1c4,_0x39db6a:0x38d,_0x419126:0x36f,_0x4fa7ec:0x16a,_0x343152:0x1cd,_0x384a3a:0x1fd,_0x295a47:0x50f,_0x519a8b:0x56c},_0x5357d8={_0xa4eed6:0xbb,_0xd2b31a:0x347},_0x2a7b5f={_0x21545d:0x1,_0x5d7fc9:0x266};if(_0xdf48b[_0x35001f(_0x73a901._0x8f7d89,_0x73a901._0x39db6a,_0x73a901._0x419126,0x2e7)]===0x0)return _0x35001f(_0x73a901._0x4fa7ec,_0x73a901._0x343152,_0x73a901._0x384a3a,0x365);function _0x35001f(_0x28f64a,_0x2b944a,_0x3ac4b9,_0x3d1240){return _0x1ac42a(_0x28f64a-0xd9,_0x2b944a-_0x2a7b5f._0x21545d,_0x3ac4b9-_0x2a7b5f._0x5d7fc9,_0x3d1240);}function _0x234f57(_0x717f98,_0x1d19ab,_0x49b9ee,_0x4e284e){return _0x1ac42a(_0x717f98-0x3a,_0x1d19ab-_0x5357d8._0xa4eed6,_0x4e284e-_0x5357d8._0xd2b31a,_0x1d19ab);}return _0xdf48b['map'](_0x14c706=>_0x14c706['from'][_0x35001f(0x2c0,0x1b5,0x2f8,0x1c8)])[_0x35001f(0x395,_0x73a901._0x295a47,0x3a2,_0x73a901._0x519a8b)]('\x0a');}function formatOutgoingCalls(_0x37198c){const _0x5bac62={_0x1c7e42:0x1f5,_0x22b413:0x1e6,_0x17e9f0:0x68b,_0x496e5d:0x5d4,_0x1778cf:0x856,_0x314d69:0x3a1,_0x50c784:0x2ed},_0x388ff3={_0x47241b:0x65f},_0xba9476={_0x1a97ad:0x116,_0x4ac77c:0x1cc,_0x2a0f11:0x1b1};if(_0x37198c[_0xa556db(_0x5bac62._0x1c7e42,_0x5bac62._0x22b413,0x2ba,0x463)]===0x0)return _0xeb00f4(_0x5bac62._0x17e9f0,0x5f6,0x7a3,0x6cc);function _0xa556db(_0x3ef934,_0x35a31d,_0xfe8ed1,_0xbd79d5){return _0x1ac42a(_0x3ef934-_0xba9476._0x1a97ad,_0x35a31d-_0xba9476._0x4ac77c,_0xfe8ed1-_0xba9476._0x2a0f11,_0x35a31d);}function _0xeb00f4(_0x4b5da7,_0x1b0a7e,_0x416e42,_0x169781){return _0x1ac42a(_0x4b5da7-0xec,_0x1b0a7e-0x1d0,_0x1b0a7e-_0x388ff3._0x47241b,_0x4b5da7);}return _0x37198c[_0xeb00f4(_0x5bac62._0x496e5d,0x709,0x5a3,_0x5bac62._0x1778cf)](_0x1f90cc=>_0x1f90cc['to'][_0xeb00f4(0x77a,0x6f1,0x7f6,0x75d)])[_0xa556db(_0x5bac62._0x314d69,0x258,_0x5bac62._0x50c784,0x12b)]('\x0a');}function toStructured(_0x1dd56e){const _0x2a2fc0={_0x2419a9:0x7d0},_0x5461c6={_0x1c009e:0x100};function _0x5c0d5e(_0x1e402f,_0x4cd7d7,_0x3374e7,_0x4bc0d0){return _0x151cc1(_0x1e402f-_0x5461c6._0x1c009e,_0x4cd7d7-0x377,_0x4bc0d0,_0x4bc0d0-0x1d3);}return JSON[_0x5c0d5e(0x582,0x6e6,0x5bb,_0x2a2fc0._0x2419a9)](JSON['stringify'](_0x1dd56e));}async function assertFile(_0x276795){const _0xa9fc49={_0x2cce8d:0x446,_0x365c2e:0x34f},_0x30c3b6={_0x51b433:0x167};function _0x1c2fe1(_0x43629b,_0x3124aa,_0x153bd8,_0x49d4d2){return _0x151cc1(_0x43629b-_0x30c3b6._0x51b433,_0x3124aa-0x2c1,_0x153bd8,_0x49d4d2-0x1ef);}const _0x2e7235=await _0x2780e6(_0x276795);if(!_0x2e7235['isFile']())throw new ToolExecutionError(_0x1c2fe1(0x399,_0xa9fc49._0x2cce8d,_0xa9fc49._0x365c2e,0x523)+_0x276795,{'path':_0x276795});}function validatePosition(_0xd8a175,_0x565a77){const _0x35f7ae={_0x113945:0x23,_0x3535de:0xfb,_0x52c1b6:0xaa,_0x1f4bed:0x3af,_0x1ccf64:0x33d,_0x14d730:0x4ee},_0x35ee37={_0x7a814f:0x6e,_0x50ef77:0x2b3,_0x3debbf:0xa9},_0xd80419={_0x281f95:0x138,_0x15255f:0x1ab};function _0x29bd43(_0x33d54d,_0x4eeba0,_0xcf5228,_0x23ebb4){return _0x151cc1(_0x33d54d-0x145,_0x23ebb4- -_0xd80419._0x281f95,_0x4eeba0,_0x23ebb4-_0xd80419._0x15255f);}function _0x4d7866(_0x3f9804,_0x49e004,_0x3c78c7,_0x335dc3){return _0x151cc1(_0x3f9804-_0x35ee37._0x7a814f,_0x3c78c7- -_0x35ee37._0x50ef77,_0x49e004,_0x335dc3-_0x35ee37._0x3debbf);}if(!Number['isInteger'](_0xd8a175)||_0xd8a175<0x1)throw new ToolExecutionError(_0x29bd43(0xf2,0x14b,0xdd,0x37),{'line':_0xd8a175});if(!Number[_0x29bd43(0x69,-_0x35f7ae._0x113945,-_0x35f7ae._0x3535de,_0x35f7ae._0x52c1b6)](_0x565a77)||_0x565a77<0x1)throw new ToolExecutionError(_0x29bd43(_0x35f7ae._0x1f4bed,_0x35f7ae._0x1ccf64,_0x35f7ae._0x14d730,0x385),{'character':_0x565a77});}function createLspTool(_0x10b9eb={}){const _0x567940={_0x5df75b:0xf7,_0x1f34b8:0x10f,_0x33b016:0x24,_0x337242:0xe,_0x114018:0x126,_0x455dc5:0x21c,_0x193e91:0xd0,_0x376fd0:0x200,_0x31d458:0xf7,_0x11431c:0x10c,_0x42d461:0xf3,_0xe3ed45:0x1c7,_0x2b33e9:0x12b,_0x11e944:0xb7,_0x592565:0x1b4,_0xde73a0:0x30b,_0x5bd7a0:0x347,_0x2d8b01:0x189,_0x59423f:0x330,_0x31dca0:0x734,_0x41549c:0x605,_0xd3c623:0x5d0,_0x5942c7:0x4c5,_0x3eea95:0x516,_0x5b607f:0x690,_0x1fa8cd:0xad,_0x448cb7:0x1ac,_0x5c00cb:0xa4,_0x27f444:0x170,_0x4d0219:0x39d,_0x47065d:0x55b,_0x4ef2cf:0x97,_0x2e1a49:0xdb,_0x297d80:0x247,_0x271953:0x152,_0x46480a:0x1,_0xfbefdf:0x31d,_0xf79b1a:0x189,_0x4189d8:0x230,_0x52b406:0x2e1,_0x5e3d68:0x2b7,_0x330594:0x177,_0x2e78c9:0x290,_0x195fe3:0x1e9,_0x1ab632:0x23,_0x2cff9c:0x8c},_0x59a2de={_0x2e3e08:0x5a1,_0x54bd24:0x57f,_0x5ead0:0x42f,_0x4d8694:0x58b,_0x45e225:0x53b,_0x42e914:0x745,_0x1adcf5:0x3b6,_0x3f5fbf:0x468,_0x951476:0x555,_0x3c1090:0x632,_0x4e2843:0x4dc,_0x1801dc:0x448,_0x395914:0x62b,_0x1556ba:0x680,_0x1f39b5:0x465,_0x304ed5:0x3ba,_0x33f39d:0x462,_0x2f5257:0x580,_0x2777e2:0x549,_0x4c912d:0x5b7,_0x40fd95:0x48e,_0x502c87:0x4db,_0x2fdfde:0x390,_0x3b6aae:0x235,_0x108c87:0x34a,_0x3807a7:0x46c,_0x4c4ce0:0x38b,_0x119ff5:0x5f1,_0x5b56e6:0x4d7,_0x5b74ab:0x2e5,_0x2654b3:0x219,_0x16fbae:0x291,_0x4f674c:0x2cd,_0x36dd56:0x49e,_0x5bb7ca:0x2ff,_0x45e716:0x310,_0x5f22b1:0x2db,_0x31125e:0x483,_0x48b39d:0x4c0,_0x19f4ea:0x278,_0x2b2be3:0x43f,_0x48bedf:0x69d,_0x1259fe:0x59a,_0x4c0ab5:0x658,_0x1aa40c:0x203,_0x3afd62:0x308,_0x218068:0x38d,_0x373532:0x22e,_0x5800c4:0x352,_0x297524:0x542,_0x51921b:0xd6,_0x1e1e14:0xca,_0xe8aef9:0x2a2,_0x37f942:0x203,_0x585b75:0x563,_0xd18bfb:0x3ed,_0x42107a:0x34e,_0x23c419:0x5e4,_0x5dbb19:0x548,_0x263071:0x494,_0x43c238:0x621,_0x4c571f:0x4ca,_0x42d953:0x4f0,_0x4eab60:0x390,_0x13a021:0x4fa,_0x4c40fc:0x426,_0x2feae9:0x484,_0x137af3:0x1c1,_0x531faa:0x390,_0x15de43:0x41c,_0x1e013f:0x13c,_0x36b80e:0x2e3,_0x3ddace:0x396,_0x3da38a:0x531,_0x2a3470:0x28c,_0x2e44c3:0x3f9,_0x27a663:0x3c6,_0x24d7fb:0x427,_0x59215d:0x2e8},_0x1c6d28={_0x3be661:0x10b,_0x21c28e:0xd1},_0x67e23e={_0x9848b0:0x2f,_0x3954dd:0x104,_0x10b7d1:0x47e},_0x1127d4={_0x41b8b0:0x75,_0x415832:0x3e},_0x28fa1e=_0x4da47b[_0x39c201(-_0x567940._0x5df75b,-_0x567940._0x1f34b8,-_0x567940._0x33b016,0xe0)](_0x10b9eb[_0x39c201(0x221,_0x567940._0x337242,0x71,-_0x567940._0x114018)]??process['cwd']());function _0x39c201(_0x529bc8,_0x1ce4a9,_0x3867fa,_0x5201e6){return _0x1ac42a(_0x529bc8-_0x1127d4._0x41b8b0,_0x1ce4a9-0xd2,_0x3867fa-_0x1127d4._0x415832,_0x5201e6);}const _0xe3d6c3=_0x10b9eb[_0x39c201(0xa,0x82,0x1a0,0xaf)]??[],_0x5babb4=_0x10b9eb[_0x39c201(_0x567940._0x455dc5,0x13,_0x567940._0x193e91,-0x16)]??_0x39c201(_0x567940._0x376fd0,_0x567940._0x31d458,_0x567940._0x11431c,_0x567940._0x42d461);function _0x22550a(_0x1b1f8f,_0x301945,_0x1efe05,_0x4df721){return _0x1ac42a(_0x1b1f8f-_0x67e23e._0x9848b0,_0x301945-_0x67e23e._0x3954dd,_0x301945-_0x67e23e._0x10b7d1,_0x4df721);}return defineTool({'name':_0x5babb4,'permissionClass':_0x39c201(_0x567940._0xe3ed45,0x101,_0x567940._0x2b33e9,0x2d4),'description':_0x39c201(-0x1b8,_0x567940._0x11e944,-0x18,_0x567940._0x592565),'inputSchema':{'type':_0x39c201(-0x2ac,-_0x567940._0xde73a0,-0x1d6,-_0x567940._0x5bd7a0),'properties':{'operation':{'type':_0x39c201(-0x272,-0x29d,-_0x567940._0x2d8b01,-_0x567940._0x59423f),'enum':[_0x22550a(_0x567940._0x31dca0,_0x567940._0x41549c,_0x567940._0xd3c623,_0x567940._0x5942c7),'findReferences','hover',_0x22550a(0x4a6,_0x567940._0x3eea95,_0x567940._0x5b607f,0x433),_0x39c201(_0x567940._0x1fa8cd,_0x567940._0x448cb7,_0x567940._0x5c00cb,_0x567940._0x27f444),_0x22550a(0x143,0x2e2,0x16d,0x172),_0x22550a(_0x567940._0x4d0219,0x4a8,0x4b6,_0x567940._0x47065d),_0x39c201(_0x567940._0x4ef2cf,0xa5,-_0x567940._0x2e1a49,-0x15d),_0x39c201(-0xed,-_0x567940._0x297d80,-_0x567940._0x271953,-_0x567940._0x46480a),'diagnostics']},'filePath':{'type':_0x39c201(-_0x567940._0xfbefdf,-0x1b1,-_0x567940._0xf79b1a,-0x54)},'line':{'type':_0x39c201(_0x567940._0x4189d8,-0x2b,0x180,0x4c)},'character':{'type':_0x39c201(0x2bc,_0x567940._0x52b406,0x180,0x212)},'query':{'type':_0x22550a(0x258,_0x567940._0x5e3d68,0x3de,_0x567940._0x330594)}},'required':['operation',_0x22550a(_0x567940._0x2e78c9,0x3cc,0x555,0x429),_0x22550a(0x4f5,0x4d5,0x418,0x39b),_0x39c201(-_0x567940._0x195fe3,0x7e,-_0x567940._0x1ab632,_0x567940._0x2cff9c)]},async *'execute'(_0x10aab1,_0x5ba385){const _0x2b7a52={_0x40df92:0x9,_0x4521a7:0x139,_0x3aaeaf:0x3be},_0x66bc69=_0x10b9eb['lspService'];if(!_0x66bc69)throw new ToolExecutionError(_0x3a2c4d(0x72f,0x47d,_0x59a2de._0x2e3e08,0x566));if(!_0x66bc69[_0x4c7be0(_0x59a2de._0x54bd24,_0x59a2de._0x5ead0,0x629,0x53a)]())throw new ToolExecutionError(_0x4c7be0(0x5bc,_0x59a2de._0x4d8694,0x526,_0x59a2de._0x45e225));const _0x762505=_0x10aab1['operation'];validatePosition(_0x10aab1[_0x4c7be0(0x5fe,_0x59a2de._0x42e914,0x581,0x5e0)],_0x10aab1[_0x3a2c4d(0x2a0,_0x59a2de._0x1adcf5,0x42c,0x39b)]);if(_0x762505===_0x3a2c4d(0x52b,_0x59a2de._0x3f5fbf,0x530,0x462)){if(!_0x10aab1[_0x3a2c4d(0x5fd,_0x59a2de._0x951476,_0x59a2de._0x3c1090,_0x59a2de._0x4e2843)]?.[_0x3a2c4d(0x460,_0x59a2de._0x1801dc,0x5a7,0x4ac)]())throw new ToolExecutionError(_0x4c7be0(_0x59a2de._0x395914,0x579,_0x59a2de._0x1556ba,0x6bb));const _0x336f3a=await awaitWithAbort(_0x66bc69[_0x3a2c4d(_0x59a2de._0x1f39b5,_0x59a2de._0x304ed5,0x2f4,_0x59a2de._0x33f39d)](_0x10aab1[_0x4c7be0(0x740,_0x59a2de._0x2f5257,0x5f0,0x669)][_0x4c7be0(0x6ab,_0x59a2de._0x2777e2,_0x59a2de._0x4c912d,0x639)]()),_0x5ba385[_0x4c7be0(0x2b2,_0x59a2de._0x40fd95,_0x59a2de._0x502c87,_0x59a2de._0x2fdfde)]);return yield createToolOutput(formatSymbols(_0x336f3a),{'operation':_0x762505,'query':_0x10aab1['query'],'symbols':_0x336f3a}),void 0x0;}function _0x4c7be0(_0x2fda90,_0x1498f0,_0x494f1a,_0xb34de3){return _0x22550a(_0x2fda90-0x1d0,_0xb34de3-_0x1c6d28._0x3be661,_0x494f1a-_0x1c6d28._0x21c28e,_0x1498f0);}const _0x12c9e3=resolveAllowedPath(_0x28fa1e,_0xe3d6c3,_0x10aab1[_0x3a2c4d(0x471,0x2c4,_0x59a2de._0x3b6aae,_0x59a2de._0x108c87)]);await assertFile(_0x12c9e3);function _0x3a2c4d(_0x2f9f44,_0x28f366,_0x422556,_0x57a08c){return _0x39c201(_0x2f9f44-_0x2b7a52._0x40df92,_0x28f366-_0x2b7a52._0x4521a7,_0x57a08c-_0x2b7a52._0x3aaeaf,_0x2f9f44);}if(!await awaitWithAbort(_0x66bc69[_0x3a2c4d(0x433,_0x59a2de._0x3807a7,_0x59a2de._0x4c4ce0,0x532)](_0x12c9e3),_0x5ba385['signal']))throw new ToolExecutionError(_0x4c7be0(0x6c8,0x3e8,_0x59a2de._0x119ff5,0x542)+_0x10aab1[_0x4c7be0(0x403,0x30e,0x4c2,_0x59a2de._0x5b56e6)],{'filePath':_0x10aab1[_0x3a2c4d(_0x59a2de._0x5b74ab,_0x59a2de._0x2654b3,_0x59a2de._0x16fbae,0x34a)]});await awaitWithAbort(_0x66bc69['touchFile'](_0x12c9e3,!![]),_0x5ba385['signal']);const _0x6ca9a9={'file':_0x12c9e3,'line':_0x10aab1['line']-0x1,'character':_0x10aab1[_0x3a2c4d(0x487,_0x59a2de._0x3b6aae,0x42e,0x39b)]-0x1};switch(_0x762505){case'hover':{const _0x23c043=await awaitWithAbort(_0x66bc69['hover'](_0x6ca9a9),_0x5ba385['signal']);return yield createToolOutput(formatHover(_0x23c043),{'operation':_0x762505,'filePath':_0x12c9e3,'hover':_0x23c043}),void 0x0;}case _0x3a2c4d(_0x59a2de._0x4f674c,0x1e2,_0x59a2de._0x36dd56,0x39e):{const _0xb9c5b0=await awaitWithAbort(_0x66bc69[_0x4c7be0(_0x59a2de._0x5bb7ca,_0x59a2de._0x45e716,_0x59a2de._0x5f22b1,_0x59a2de._0x31125e)](_0x12c9e3),_0x5ba385[_0x4c7be0(_0x59a2de._0x48b39d,_0x59a2de._0x19f4ea,0x2ed,0x390)]);return yield createToolOutput(formatDiagnostics(_0xb9c5b0),{'operation':_0x762505,'filePath':_0x12c9e3,'diagnostics':_0xb9c5b0}),void 0x0;}case _0x3a2c4d(0x6c4,_0x59a2de._0x2b2be3,0x6f3,0x583):{const _0x2d98a1=await awaitWithAbort(_0x66bc69[_0x4c7be0(_0x59a2de._0x48bedf,0x74b,_0x59a2de._0x1259fe,_0x59a2de._0x4c0ab5)](_0x6ca9a9),_0x5ba385[_0x4c7be0(_0x59a2de._0x1aa40c,_0x59a2de._0x3afd62,_0x59a2de._0x218068,0x390)]);return yield createToolOutput(formatLocations(_0x2d98a1),{'operation':_0x762505,'filePath':_0x12c9e3,'locations':_0x2d98a1}),void 0x0;}case _0x4c7be0(0x2a4,0x52a,_0x59a2de._0x373532,0x3d6):{const _0x7533ba=await awaitWithAbort(_0x66bc69[_0x4c7be0(_0x59a2de._0x5800c4,0x31c,_0x59a2de._0x297524,0x379)](_0x6ca9a9),_0x5ba385[_0x3a2c4d(_0x59a2de._0x51921b,_0x59a2de._0x1e1e14,_0x59a2de._0xe8aef9,_0x59a2de._0x37f942)]);return yield createToolOutput(formatLocations(_0x7533ba),{'operation':_0x762505,'filePath':_0x12c9e3,'locations':_0x7533ba}),void 0x0;}case _0x4c7be0(0x450,_0x59a2de._0x585b75,0x47c,_0x59a2de._0xd18bfb):{const _0x1bfab8=await awaitWithAbort(_0x66bc69['implementation'](_0x6ca9a9),_0x5ba385[_0x4c7be0(0x339,_0x59a2de._0x42107a,0x4d7,0x390)]);return yield createToolOutput(formatLocations(_0x1bfab8),{'operation':_0x762505,'filePath':_0x12c9e3,'locations':_0x1bfab8}),void 0x0;}case _0x3a2c4d(_0x59a2de._0x23c419,0x433,_0x59a2de._0x5dbb19,_0x59a2de._0x263071):{const _0x44d48a=await awaitWithAbort(_0x66bc69[_0x4c7be0(0x679,0x45c,0x70a,_0x59a2de._0x43c238)](_0x12c9e3),_0x5ba385[_0x4c7be0(_0x59a2de._0x4c571f,_0x59a2de._0x42d953,0x32f,_0x59a2de._0x4eab60)]);return yield createToolOutput(formatSymbols(_0x44d48a),{'operation':_0x762505,'filePath':_0x12c9e3,'symbols':_0x44d48a}),void 0x0;}case _0x3a2c4d(_0x59a2de._0x13a021,0x4d7,0x444,_0x59a2de._0x4c40fc):{const _0x4feba8=await awaitWithAbort(_0x66bc69['prepareCallHierarchy'](_0x6ca9a9),_0x5ba385[_0x4c7be0(_0x59a2de._0x2feae9,0x212,_0x59a2de._0x137af3,_0x59a2de._0x531faa)]);return yield createToolOutput(formatSymbols(_0x4feba8),{'operation':_0x762505,'filePath':_0x12c9e3,'symbols':toStructured(_0x4feba8)}),void 0x0;}case _0x3a2c4d(_0x59a2de._0x15de43,0x3d4,0x1f0,0x2e3):{const _0x16eadd=await awaitWithAbort(_0x66bc69[_0x3a2c4d(_0x59a2de._0xe8aef9,0x149,_0x59a2de._0x1e013f,_0x59a2de._0x36b80e)](_0x6ca9a9),_0x5ba385[_0x4c7be0(_0x59a2de._0x3ddace,0x1fc,_0x59a2de._0x3da38a,_0x59a2de._0x4eab60)]);return yield createToolOutput(formatIncomingCalls(_0x16eadd),{'operation':_0x762505,'filePath':_0x12c9e3,'calls':toStructured(_0x16eadd)}),void 0x0;}case _0x4c7be0(_0x59a2de._0x2a3470,0x514,0x44d,_0x59a2de._0x2e44c3):{const _0x2c5fd4=await awaitWithAbort(_0x66bc69[_0x4c7be0(0x25a,_0x59a2de._0x27a663,_0x59a2de._0x24d7fb,_0x59a2de._0x2e44c3)](_0x6ca9a9),_0x5ba385[_0x3a2c4d(_0x59a2de._0x59215d,0x338,0x6f,0x203)]);return yield createToolOutput(formatOutgoingCalls(_0x2c5fd4),{'operation':_0x762505,'filePath':_0x12c9e3,'calls':toStructured(_0x2c5fd4)}),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 _0xc61b02}from'crypto';import{mkdir as _0x1c3e93,readFile as _0x2cdeca,writeFile as _0x3e0ce7}from'fs/promises';import{join as _0x2b467d}from'path';function sanitizeStorageKey(_0x524632){const _0x44e9c5={_0x4cd9ad:0x3ad,_0x21065f:0x2c9,_0xba2508:0x43b,_0x2121e5:0x3c3};function _0x426aea(_0xbe8b0a,_0x3128ff,_0x386a95,_0x2b0bdf){return _0x151cc1(_0xbe8b0a-0x100,_0x386a95-0x1c3,_0x2b0bdf,_0x2b0bdf-0x104);}function _0x19a799(_0x40339c,_0x585caa,_0x2833f0,_0x5747ae){return _0x1ac42a(_0x40339c-0x116,_0x585caa-0x11b,_0x585caa-0x50b,_0x40339c);}return _0x524632[_0x426aea(0x3d8,_0x44e9c5._0x4cd9ad,0x394,_0x44e9c5._0x21065f)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0x426aea(0x379,_0x44e9c5._0xba2508,0x48d,_0x44e9c5._0x2121e5);}function storagePath(_0xdd1f89){const _0x1aaf0f={_0x3c994a:0xaf,_0x279a6:0x5e,_0x9298c1:0x3e,_0x2f2493:0x6c,_0x24cb57:0x1d2,_0x1a0fcf:0x14,_0x25eff9:0x1ce,_0x59c93b:0x21c,_0x16ea15:0x310,_0x5ae66b:0x1d1,_0x5979b:0xd2,_0x32617a:0x27,_0x34ab42:0x163,_0x3566a5:0x148},_0x358d6c={_0x589711:0x46,_0x4d1136:0xcc},_0x317a60={_0x394b31:0x58,_0x1ca43a:0x154,_0x3d707c:0x47};function _0x1bc44a(_0x39b7d0,_0x5acf97,_0x15e234,_0x32d45d){return _0x1ac42a(_0x39b7d0-_0x317a60._0x394b31,_0x5acf97-_0x317a60._0x1ca43a,_0x32d45d- -_0x317a60._0x3d707c,_0x5acf97);}function _0x3350a5(_0x58d6cd,_0x783b29,_0x3e582d,_0x3be47d){return _0x1ac42a(_0x58d6cd-_0x358d6c._0x589711,_0x783b29-_0x358d6c._0x4d1136,_0x783b29- -0x7a,_0x3be47d);}const _0x203292=sanitizeStorageKey(_0xdd1f89[_0x3350a5(_0x1aaf0f._0x3c994a,_0x1aaf0f._0x279a6,-_0x1aaf0f._0x9298c1,0x176)]['oauth']?.[_0x1bc44a(_0x1aaf0f._0x2f2493,-_0x1aaf0f._0x24cb57,_0x1aaf0f._0x1a0fcf,-0x12)]??_0xdd1f89[_0x3350a5(-_0x1aaf0f._0x25eff9,-0x23f,-0x3ca,-0x172)]);return _0x2b467d(_0xdd1f89[_0x3350a5(-0x2e9,-_0x1aaf0f._0x59c93b,-_0x1aaf0f._0x16ea15,-_0x1aaf0f._0x5ae66b)],_0x203292+_0x3350a5(_0x1aaf0f._0x5979b,-_0x1aaf0f._0x32617a,-_0x1aaf0f._0x34ab42,_0x1aaf0f._0x3566a5));}async function readStore(_0x10bf49){const _0x4ec727={_0x36c1a3:0x402,_0x5b106c:0x355,_0x198f4b:0x5a1,_0x47d040:0x456,_0x31350a:0x531,_0x3017af:0x556,_0x31b97d:0x3c6,_0x5999a3:0x549},_0x19da72={_0xc01b0:0x15c,_0x19dbbf:0x194},_0x97fdda={_0x26ddcc:0x71,_0xfae974:0x91};function _0x398d9c(_0x439082,_0x5e8331,_0x51b405,_0x4c09b7){return _0x151cc1(_0x439082-0x60,_0x439082- -_0x97fdda._0x26ddcc,_0x51b405,_0x4c09b7-_0x97fdda._0xfae974);}function _0x293388(_0xe10b0d,_0x34af29,_0x1fcbf5,_0x1476cc){return _0x151cc1(_0xe10b0d-_0x19da72._0xc01b0,_0xe10b0d- -0xea,_0x1fcbf5,_0x1476cc-_0x19da72._0x19dbbf);}try{return JSON['parse'](await _0x2cdeca(_0x10bf49,_0x293388(_0x4ec727._0x36c1a3,0x48e,_0x4ec727._0x5b106c,_0x4ec727._0x198f4b)));}catch(_0x48527c){if(_0x48527c instanceof Error&&_0x398d9c(0x40b,_0x4ec727._0x47d040,_0x4ec727._0x31350a,0x5d4)in _0x48527c&&_0x48527c[_0x293388(0x392,0x521,0x37e,0x517)]===_0x398d9c(0x432,_0x4ec727._0x3017af,_0x4ec727._0x31b97d,_0x4ec727._0x5999a3))return{};throw _0x48527c;}}async function writeStore(_0x528ca5,_0x2ba7d6){const _0x34e404={_0x3cee63:0x830,_0x3a8d10:0x931},_0x3b0768={_0x5fd6f1:0x6c,_0x34d160:0x6c1};await _0x1c3e93(_0x2b467d(_0x528ca5,'..'),{'recursive':!![]});function _0x4cdd5a(_0x3eb9db,_0x49c82a,_0x3f8ff4,_0x126fc2){return _0x1ac42a(_0x3eb9db-0x15a,_0x49c82a-_0x3b0768._0x5fd6f1,_0x3f8ff4-_0x3b0768._0x34d160,_0x3eb9db);}await _0x3e0ce7(_0x528ca5,JSON['stringify'](_0x2ba7d6,null,0x2),_0x4cdd5a(0x97a,0x908,_0x34e404._0x3cee63,_0x34e404._0x3a8d10));}async function updateStore(_0x5887c4,_0x157da2){const _0x22706d=await readStore(_0x5887c4);_0x157da2(_0x22706d),await writeStore(_0x5887c4,_0x22706d);}function createMcpOAuthProvider(_0x4308fb){const _0x24a735={_0x5ee2ab:0x1f1,_0x53772b:0x14f,_0x229fef:0x247,_0x5c9f8e:0x64f,_0x187366:0x566,_0x40e9f3:0x2c,_0x1a7fd0:0x703,_0x7b575a:0x739,_0x1bce02:0x75c,_0x4d942:0x84b,_0x304390:0x143,_0x23e2f5:0x293,_0x2abda9:0xfb,_0x37d180:0x45f,_0x4338e5:0x299,_0x1bd490:0x228},_0x319fb4={_0x5eec84:0x1b3,_0x305c58:0x258,_0x885371:0x315},_0xb5c413={_0x5ba3be:0x2bd,_0x358e05:0x2c1,_0x120c32:0x180},_0x1930ca={_0x3ceeae:0xd0,_0x18f639:0x8,_0x2f0c02:0x7f,_0x5d93a6:0x201,_0x3ca6dd:0xd7,_0x290ce3:0xd0,_0x238b9e:0x1c,_0x63b4cd:0x6d,_0x4eb04f:0x1e0,_0x4e3e13:0x128},_0x2a374d={_0x3ec32b:0x39f,_0x2a36b2:0xc6,_0x18094b:0x25c,_0x38522a:0x1f5,_0x210f93:0x3cb,_0x45db3d:0x350,_0x2d2a9f:0x3d9},_0xa8f994={_0x14a0b7:0x138,_0x4225a5:0x9c},_0x30dcfa={_0x29d7eb:0xe6,_0x3a456e:0x29,_0x4e028d:0x71},_0x1a58e4={_0x51c4fc:0x599},_0x1d647e={_0x3d657a:0x61d},_0x4f4da6={_0x34493f:0x62e,_0x2bb7dd:0x434},_0x4b9201={_0x2b3989:0x4e2,_0x2ff48d:0x33b},_0x549775={_0xca6822:0x647,_0x601d92:0x4a6,_0x352c54:0x747,_0x135a10:0x33c,_0x1ff4fd:0x6a9},_0x468526={_0x1abc24:0x217,_0x26cb02:0x19f},_0x1d62d7={_0x14fa47:0x1b0,_0x5e4fea:0x24a,_0x1d9375:0x190},_0x3509b6={_0x3955f6:0x2c,_0x46259e:0x115};function _0x1229a6(_0x29a2d4,_0x422c2c,_0x1014e0,_0x2d6333){return _0x151cc1(_0x29a2d4-_0x3509b6._0x3955f6,_0x2d6333- -0x20e,_0x29a2d4,_0x2d6333-_0x3509b6._0x46259e);}const _0x59f6c7=storagePath(_0x4308fb);function _0x5264bb(_0x4a7472,_0x518f23,_0x5ddea0,_0x3ac73c){return _0x151cc1(_0x4a7472-_0x1d62d7._0x14fa47,_0x4a7472-_0x1d62d7._0x5e4fea,_0x5ddea0,_0x3ac73c-_0x1d62d7._0x1d9375);}const _0xf975d0=_0x4308fb[_0x1229a6(_0x24a735._0x5ee2ab,0x1fd,_0x24a735._0x53772b,_0x24a735._0x229fef)][_0x5264bb(_0x24a735._0x5c9f8e,0x72a,0x624,_0x24a735._0x187366)]?.[_0x1229a6(0xab,_0x24a735._0x40e9f3,0x39,0xdc)]?.[_0x5264bb(_0x24a735._0x1a7fd0,_0x24a735._0x7b575a,_0x24a735._0x1bce02,_0x24a735._0x4d942)]('\x20'),_0x4144ae={'client_name':_0x1229a6(_0x24a735._0x304390,_0x24a735._0x23e2f5,0x208,_0x24a735._0x2abda9),'redirect_uris':[_0x4308fb['callbackUrl']],'grant_types':[_0x5264bb(_0x24a735._0x37d180,0x372,0x32a,0x324),_0x5264bb(0x71f,0x8a0,0x74c,0x67d)],'response_types':['code'],'token_endpoint_auth_method':'client_secret_post',..._0xf975d0?{'scope':_0xf975d0}:{}};return{'clientMetadataUrl':_0x4308fb[_0x1229a6(_0x24a735._0x4338e5,0x1a8,_0x24a735._0x1bd490,0x247)]['oauth']?.['clientMetadataUrl'],get 'redirectUrl'(){const _0x2cf43a={_0x11e7e2:0x346};function _0x4e64bd(_0x558568,_0x1d9eeb,_0x3db689,_0x93709f){return _0x5264bb(_0x1d9eeb- -_0x2cf43a._0x11e7e2,_0x1d9eeb-0x197,_0x558568,_0x93709f-0x8e);}return _0x4308fb[_0x4e64bd(_0x468526._0x1abc24,_0x468526._0x26cb02,0x263,0x10f)];},get 'clientMetadata'(){return _0x4144ae;},async 'state'(){const _0x430b72={_0x5e7a94:0x558,_0x94c45c:0x512,_0x543bc0:0x4b8},_0x1e23c1={_0x5801c5:0x1b7},_0x1a03ef={_0xda587d:0x155},_0x4bfcbb={_0xad5db3:0x10f,_0x108348:0x3b6},_0x5a5dfc=await readStore(_0x59f6c7);if(_0x5a5dfc[_0x2f0c92(_0x549775._0xca6822,0x71f,_0x549775._0x601d92,_0x549775._0x352c54)])return _0x5a5dfc[_0x27d775(0x4e1,_0x549775._0x135a10,_0x549775._0x1ff4fd,0x52f)];function _0x27d775(_0x21891f,_0x5b7d61,_0x34502a,_0x2650cc){return _0x1229a6(_0x2650cc,_0x5b7d61-0x4d,_0x34502a-_0x4bfcbb._0xad5db3,_0x21891f-_0x4bfcbb._0x108348);}const _0x44ee78=_0xc61b02();function _0x2f0c92(_0x4e7325,_0x1d50c5,_0x424863,_0x43f2d9){return _0x5264bb(_0x4e7325-0xc4,_0x1d50c5-0xfb,_0x424863,_0x43f2d9-_0x1a03ef._0xda587d);}return await updateStore(_0x59f6c7,_0x4fc742=>{function _0x4693eb(_0x1e552f,_0x587ab9,_0x463d7f,_0x596a8d){return _0x2f0c92(_0x1e552f- -0xef,_0x587ab9-0xab,_0x463d7f,_0x596a8d-_0x1e23c1._0x5801c5);}_0x4fc742[_0x4693eb(_0x430b72._0x5e7a94,_0x430b72._0x94c45c,_0x430b72._0x543bc0,0x669)]=_0x44ee78;}),_0x44ee78;},async 'clientInformation'(){function _0x4e0e8f(_0x3f9554,_0x4944f3,_0x17336c,_0x598d7e){return _0x5264bb(_0x3f9554- -0x3f,_0x4944f3-0x2a,_0x17336c,_0x598d7e-0x1e0);}return(await readStore(_0x59f6c7))[_0x4e0e8f(0x3d8,_0x4b9201._0x2b3989,_0x4b9201._0x2ff48d,0x48d)];},async 'saveClientInformation'(_0x2514f4){await updateStore(_0x59f6c7,_0x465557=>{const _0x6f6c15={_0x3747f6:0x2f7};function _0x36357c(_0x3e8f64,_0x54a8b7,_0xfb6bcc,_0x772c8){return _0x5041(_0x54a8b7-_0x6f6c15._0x3747f6,_0x3e8f64);}_0x465557[_0x36357c(_0x4f4da6._0x34493f,0x471,0x531,_0x4f4da6._0x2bb7dd)]=_0x2514f4;});},async 'tokens'(){const _0xa8fb27={_0x112ce4:0x41f};function _0x2cc820(_0x3f09a3,_0x2bd61d,_0x221bf2,_0x33ed0){return _0x1229a6(_0x2bd61d,_0x2bd61d-0x109,_0x221bf2-0x180,_0x221bf2-_0xa8fb27._0x112ce4);}return(await readStore(_0x59f6c7))[_0x2cc820(0x4f3,0x511,_0x1d647e._0x3d657a,0x682)];},async 'saveTokens'(_0x45d6b6){await updateStore(_0x59f6c7,_0x44094c=>{_0x44094c['tokens']=_0x45d6b6;});},async 'redirectToAuthorization'(_0x5b4daf){function _0x49eca7(_0x5c9147,_0x1a4974,_0x4418eb,_0x56547f){return _0x5264bb(_0x5c9147- -_0x1a58e4._0x51c4fc,_0x1a4974-0x16d,_0x1a4974,_0x56547f-0x199);}await _0x4308fb[_0x49eca7(_0x30dcfa._0x29d7eb,_0x30dcfa._0x3a456e,_0x30dcfa._0x4e028d,0x143)](_0x5b4daf);},async 'saveCodeVerifier'(_0x35f12c){await updateStore(_0x59f6c7,_0x2f1aae=>{_0x2f1aae['codeVerifier']=_0x35f12c;});},async 'codeVerifier'(){const _0x50e177={_0x4cde07:0x1db},_0x5ec801=(await readStore(_0x59f6c7))[_0x5bf48c(_0x2a374d._0x3ec32b,_0x2a374d._0x2a36b2,_0x2a374d._0x18094b,_0x2a374d._0x38522a)];function _0x5bf48c(_0xb7b7a4,_0x589a3b,_0x45ffc8,_0x25d68c){return _0x1229a6(_0x589a3b,_0x589a3b-0x167,_0x45ffc8-0x1c8,_0x45ffc8-_0x50e177._0x4cde07);}function _0x23d112(_0x250822,_0xee2028,_0x4c54cd,_0x4199aa){return _0x1229a6(_0x250822,_0xee2028-_0xa8f994._0x14a0b7,_0x4c54cd-_0xa8f994._0x4225a5,_0xee2028-0x2cb);}if(!_0x5ec801)throw new Error(_0x5bf48c(_0x2a374d._0x210f93,0x3c4,_0x2a374d._0x45db3d,_0x2a374d._0x2d2a9f));return _0x5ec801;},async 'invalidateCredentials'(_0x219a3a){const _0x2b9af9={_0x4188c1:0xd7};await updateStore(_0x59f6c7,_0x3362d7=>{const _0x3a5e3f={_0x2fece7:0x2cf};function _0x3c782e(_0x4f47bc,_0x5a28de,_0x17594a,_0x1a35ba){return _0x5041(_0x1a35ba- -_0x2b9af9._0x4188c1,_0x5a28de);}(_0x219a3a===_0x2024eb(-0x192,-_0x1930ca._0x3ceeae,-0x155,_0x1930ca._0x18f639)||_0x219a3a===_0x2024eb(0x2f,-_0x1930ca._0x2f0c02,-0xe2,-_0x1930ca._0x5d93a6))&&(_0x3362d7['clientInformation']=void 0x0);(_0x219a3a===_0x2024eb(-_0x1930ca._0x3ca6dd,-_0x1930ca._0x290ce3,-0x12c,_0x1930ca._0x238b9e)||_0x219a3a==='tokens')&&(_0x3362d7['tokens']=void 0x0);function _0x2024eb(_0x349f4d,_0x36fb39,_0x36890a,_0x566fab){return _0x5041(_0x36fb39- -_0x3a5e3f._0x2fece7,_0x349f4d);}(_0x219a3a==='all'||_0x219a3a===_0x3c782e(0x163,0x342,0x3b7,0x1ef))&&(_0x3362d7['codeVerifier']=void 0x0,_0x3362d7['state']=void 0x0),(_0x219a3a===_0x3c782e(_0x1930ca._0x63b4cd,_0x1930ca._0x4eb04f,-0x81,_0x1930ca._0x4e3e13)||_0x219a3a===_0x2024eb(0x1a9,0x19c,0x2cb,0x1f0))&&(_0x3362d7['discoveryState']=void 0x0);});},async 'saveDiscoveryState'(_0x591e89){await updateStore(_0x59f6c7,_0x160ee7=>{const _0x3743be={_0xe49f19:0x64};function _0x3b8c82(_0x1e81bd,_0x135fb5,_0x22d01b,_0x4e0f21){return _0x5041(_0x22d01b- -_0x3743be._0xe49f19,_0x1e81bd);}_0x160ee7[_0x3b8c82(_0xb5c413._0x5ba3be,_0xb5c413._0x358e05,0x2e8,_0xb5c413._0x120c32)]=_0x591e89;});},async 'discoveryState'(){function _0x15d3f5(_0x3b1b7f,_0x53803b,_0x369d8d,_0x28625b){return _0x1229a6(_0x28625b,_0x53803b-0x18a,_0x369d8d-0x162,_0x53803b- -0x26);}return(await readStore(_0x59f6c7))[_0x15d3f5(_0x319fb4._0x5eec84,0x16b,_0x319fb4._0x305c58,_0x319fb4._0x885371)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':'mcp-close-failed','message':_0x819762=>_0x151cc1(0x21c,0x174,0x27a,0x1fb)+_0x819762+'\x20failed\x20to\x20close'},'connect':{'code':_0x151cc1(0x25c,0x2b5,0x28a,0x1b3),'message':_0x153411=>_0x1ac42a(-0xac,-0x370,-0x209,-0x162)+_0x153411+_0x151cc1(0x411,0x36a,0x26c,0x40f)},'discover':{'code':_0x151cc1(0x327,0x189,0x105,0x306),'message':_0x51ff90=>_0x151cc1(0x13d,0x174,-0x56,0x28e)+_0x51ff90+_0x1ac42a(-0x219,0x58,-0xd3,-0x1bc)},'toolCall':{'code':_0x151cc1(0x4e4,0x35b,0x3ab,0x293),'message':_0x33bcde=>'MCP\x20server\x20'+_0x33bcde+_0x151cc1(0x1bb,0x349,0x37f,0x1f2)}},timeoutMessageByOperation={'close':_0x90c8e4=>_0x1ac42a(-0x123,-0x1b0,-0x209,-0x1e5)+_0x90c8e4+_0x151cc1(0x205,0x1e3,0x177,0xb4),'connect':_0x17c093=>_0x1ac42a(-0xe2,-0x292,-0x209,-0x295)+_0x17c093+_0x151cc1(0x317,0x4d3,0x357,0x49c),'discover':_0x566e62=>'MCP\x20server\x20'+_0x566e62+_0x1ac42a(-0x15b,0xc7,-0x107,-0x6f),'toolCall':_0x4cc427=>_0x1ac42a(-0x32d,-0x222,-0x209,-0x1ab)+_0x4cc427+_0x151cc1(0x219,0x2e3,0x491,0x3ad)};function toMcpSafeError(_0x2cbd85){const _0x29ee74={_0x3fb253:0x340,_0x19fa19:0x30d,_0x4becbf:0x270,_0xefb176:0x3f3,_0xc3eab4:0xbf,_0x3bc3aa:0x3ae,_0x5858f6:0x41b,_0x43e737:0x19a,_0x1f30ac:0x8c,_0x594b56:0xe8,_0xb52c24:0xa5,_0x114285:0x195,_0xe72388:0x346,_0x5e9afc:0x341,_0x2b5a42:0x36e,_0x4c45d0:0x39a,_0x39b808:0x578,_0x1f9a2c:0x63,_0x3eaca:0x65,_0x1bbb0f:0xa4,_0x42bb5c:0x18c,_0x5e9ab8:0x408,_0x1383dc:0x25d,_0x214c7b:0x28b,_0x53a4f5:0x258,_0x39a53f:0x272},_0x316e41={_0x56536e:0x2c5},_0x41f1fd={_0x414b29:0xe3,_0x44ee59:0x150};function _0xd7dad0(_0x39d0b6,_0x46a93c,_0x3efdb9,_0x227616){return _0x151cc1(_0x39d0b6-0x19d,_0x227616- -_0x41f1fd._0x414b29,_0x39d0b6,_0x227616-_0x41f1fd._0x44ee59);}if(_0x2cbd85[_0x2a5d8a(_0x29ee74._0x3fb253,0x346,_0x29ee74._0x19fa19,_0x29ee74._0x4becbf)]instanceof UnauthorizedError)return Object[_0xd7dad0(0x2b5,_0x29ee74._0xefb176,_0x29ee74._0xc3eab4,0x247)]({'code':_0x2a5d8a(0x15d,0x288,_0x29ee74._0x3bc3aa,_0x29ee74._0x5858f6),'message':_0x2a5d8a(0x188,0xbc,_0x29ee74._0x43e737,0x105)+_0x2cbd85[_0xd7dad0(_0x29ee74._0x1f30ac,0x12b,_0x29ee74._0x594b56,0xd5)]+_0xd7dad0(_0x29ee74._0xb52c24,_0x29ee74._0x114285,0x2ca,0x135)});if(_0x2cbd85[_0x2a5d8a(0x214,_0x29ee74._0xe72388,_0x29ee74._0x5e9afc,_0x29ee74._0x2b5a42)]instanceof McpError&&_0x2cbd85[_0x2a5d8a(0x4b4,0x346,0x4d4,0x270)][_0x2a5d8a(_0x29ee74._0x4c45d0,0x3c4,_0x29ee74._0x39b808,0x538)]===ErrorCode[_0xd7dad0(0x13a,_0x29ee74._0x1f9a2c,_0x29ee74._0x3eaca,0x108)])return Object[_0x2a5d8a(_0x29ee74._0x1bbb0f,0x272,_0x29ee74._0x42bb5c,0x2d6)]({'code':'mcp-request-timeout','message':timeoutMessageByOperation[_0x2cbd85[_0xd7dad0(_0x29ee74._0x5e9ab8,0x2bc,_0x29ee74._0x1383dc,_0x29ee74._0x214c7b)]](_0x2cbd85[_0x2a5d8a(0x96,0x100,0x5,_0x29ee74._0x53a4f5)])});const _0x45715b=failureByOperation[_0x2cbd85['operation']];function _0x2a5d8a(_0x11aa0e,_0x4400f9,_0x48b16b,_0x4628bf){return _0x1ac42a(_0x11aa0e-0xce,_0x4400f9-0x52,_0x4400f9-_0x316e41._0x56536e,_0x48b16b);}return Object[_0x2a5d8a(0x12d,_0x29ee74._0x39a53f,0x32c,0x263)]({'code':_0x45715b['code'],'message':_0x45715b['message'](_0x2cbd85['serverName'])});}function _0x5041(_0x4c09ed,_0x9cc671){_0x4c09ed=_0x4c09ed-0x116;const _0x32bcc6=_0x32bc();let _0x504107=_0x32bcc6[_0x4c09ed];if(_0x5041['ObtMWo']===undefined){var _0x1a55d6=function(_0xe51839){const _0x50251a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3776ef='',_0xa5d2bf='';for(let _0x2bfaf1=0x0,_0x246d48,_0x458083,_0x2eb2bd=0x0;_0x458083=_0xe51839['charAt'](_0x2eb2bd++);~_0x458083&&(_0x246d48=_0x2bfaf1%0x4?_0x246d48*0x40+_0x458083:_0x458083,_0x2bfaf1++%0x4)?_0x3776ef+=String['fromCharCode'](0xff&_0x246d48>>(-0x2*_0x2bfaf1&0x6)):0x0){_0x458083=_0x50251a['indexOf'](_0x458083);}for(let _0x1982f4=0x0,_0x1b4331=_0x3776ef['length'];_0x1982f4<_0x1b4331;_0x1982f4++){_0xa5d2bf+='%'+('00'+_0x3776ef['charCodeAt'](_0x1982f4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa5d2bf);};_0x5041['RhJooq']=_0x1a55d6,_0x5041['sMRYnr']={},_0x5041['ObtMWo']=!![];}const _0x3c1ebf=_0x32bcc6[0x0],_0x1efaf4=_0x4c09ed+_0x3c1ebf,_0x4f7766=_0x5041['sMRYnr'][_0x1efaf4];return!_0x4f7766?(_0x504107=_0x5041['RhJooq'](_0x504107),_0x5041['sMRYnr'][_0x1efaf4]=_0x504107):_0x504107=_0x4f7766,_0x504107;}function redactMcpDiagnostic(_0x242491,_0x1ac9ac){const _0x293928={_0x1578f6:0xac,_0x1ca69a:0x7e6,_0x479adc:0x8ad,_0x5d8734:0x19a,_0x2df323:0x8f7,_0x1d626f:0x91b,_0x4171d2:0x8a1,_0x31147e:0x16c,_0x1d433e:0x322,_0x432559:0x207,_0x2f8730:0x19a,_0x113369:0x33c},_0x47ddb9={_0x4cd3f8:0x1ec,_0x440af4:0xd1};function _0x229667(_0x3e5c37,_0x19b85e,_0x13b1e9,_0x95ef90){return _0x1ac42a(_0x3e5c37-0x13c,_0x19b85e-0x148,_0x3e5c37-0x91,_0x19b85e);}const _0x43f332=[...new Set(_0x1ac9ac[_0x229667(-0xd5,_0x293928._0x1578f6,-0x202,-0x1cf)](_0x5d7825=>_0x5d7825[_0x502f1b(0x7d9,0x7d8,0x8b9,0x78f)]>0x0))][_0x502f1b(_0x293928._0x1ca69a,0x889,0x6a7,_0x293928._0x479adc)]((_0x223015,_0x2b0a38)=>_0x2b0a38[_0x229667(0x19a,0x19b,0x1f7,0x1a1)]-_0x223015[_0x502f1b(0x7d9,0x894,0x828,0x747)]);if(_0x242491[_0x229667(_0x293928._0x5d8734,-0x26,0x163,0x1c2)]===0x0||_0x43f332[_0x502f1b(0x7d9,_0x293928._0x2df323,0x94e,0x7e4)]===0x0)return _0x242491;let _0x2caaad='',_0x303891=0x0;function _0x502f1b(_0x14fe83,_0x5f0e28,_0x1f32df,_0x2dda6f){return _0x151cc1(_0x14fe83-_0x47ddb9._0x4cd3f8,_0x14fe83-0x353,_0x2dda6f,_0x2dda6f-_0x47ddb9._0x440af4);}while(_0x303891<_0x242491[_0x502f1b(0x7d9,_0x293928._0x1d626f,_0x293928._0x4171d2,0x65a)]){const _0x19baa2=_0x43f332[_0x229667(-_0x293928._0x31147e,-0x1f8,-_0x293928._0x1d433e,-0x15d)](_0x194625=>_0x242491[_0x502f1b(0x760,0x668,0x709,0x60c)](_0x194625,_0x303891));_0x19baa2?(_0x2caaad+=_0x229667(-0x43,0x149,-_0x293928._0x432559,-0x19),_0x303891+=_0x19baa2[_0x229667(_0x293928._0x2f8730,0x1f3,0x5,_0x293928._0x113369)]):(_0x2caaad+=_0x242491[_0x303891],_0x303891+=0x1);}return _0x2caaad;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x1acf84){const _0x4bee01={_0x23db34:0x27a,_0x5c638c:0x434,_0x3124e6:0x2a9,_0x4c0511:0x457},_0x12d1bf={_0x8bb807:0x1e3},_0xc51df8={_0x64f151:0x108,_0x4da6a4:0x137};function _0x4e3840(_0x3e504b,_0x51247d,_0x1aa62e,_0x5cf6b3){return _0x1ac42a(_0x3e504b-_0xc51df8._0x64f151,_0x51247d-_0xc51df8._0x4da6a4,_0x51247d-0x3e0,_0x3e504b);}function _0x46893c(_0x4d65d6,_0x1d6a76,_0x720827,_0x1ec212){return _0x1ac42a(_0x4d65d6-_0x12d1bf._0x8bb807,_0x1d6a76-0xf7,_0x4d65d6-0x578,_0x1d6a76);}return typeof _0x1acf84===_0x46893c(0x364,0x33c,_0x4bee01._0x23db34,_0x4bee01._0x5c638c)&&_0x1acf84!==null||typeof _0x1acf84===_0x46893c(0x418,_0x4bee01._0x3124e6,0x3a5,_0x4bee01._0x4c0511);}function createOwnedMcpSafeError(_0x355da0){const _0x41d973={_0x16532f:0x9a,_0x367810:0x1f6,_0x11654d:0x1f},_0x2cd31d={_0xd9dc31:0x18d},_0x33b068={_0x2a6ff3:0xb0},_0x14fce0=toMcpSafeError(_0x355da0);function _0x4cdfb2(_0x93dec5,_0x3e6bed,_0x18ae8b,_0x204a30){return _0x1ac42a(_0x93dec5-_0x33b068._0x2a6ff3,_0x3e6bed-0xfe,_0x18ae8b-0xe5,_0x204a30);}const _0x4e39f2=Object[_0x4cdfb2(-0x9a,_0x41d973._0x16532f,0x92,0x17a)]({'code':_0x14fce0['code'],'message':_0x14fce0[_0x4cdfb2(0x198,0xf1,_0x41d973._0x367810,0x18b)]});function _0x589b16(_0xc38198,_0x15bdee,_0x122cc1,_0xfa3eff){return _0x1ac42a(_0xc38198-0x113,_0x15bdee-_0x2cd31d._0xd9dc31,_0x15bdee-0x68a,_0xfa3eff);}return ownedMcpSafeErrors[_0x4cdfb2(-0x1d4,0x191,-_0x41d973._0x11654d,-0x11f)](_0x14fce0,_0x4e39f2),_0x14fce0;}function extractOwnedMcpSafeError(_0x166af1){const _0x2a4486={_0x39a57b:0x84b,_0x180774:0x584,_0x46b29f:0x43f,_0x6c4ccb:0x3d9,_0x1d73da:0x2af,_0x47501e:0x137,_0x4ad81c:0xac},_0x35d366={_0x102baf:0x1ac},_0x47e72a={_0x421d25:0x5a,_0x2b3175:0x6eb};if(!isWeakMapKey(_0x166af1))return void 0x0;const _0x50070c=ownedMcpSafeErrors['get'](_0x166af1);function _0x3c2d86(_0x1c855f,_0x1485dd,_0x295d3d,_0x386838){return _0x1ac42a(_0x1c855f-_0x47e72a._0x421d25,_0x1485dd-0xfa,_0x295d3d-_0x47e72a._0x2b3175,_0x386838);}if(!_0x50070c)return void 0x0;const _0x2e52c2=Object[_0x3c2d86(0x52c,_0x2a4486._0x39a57b,0x698,_0x2a4486._0x180774)]({'code':_0x50070c[_0x5502e0(_0x2a4486._0x46b29f,_0x2a4486._0x6c4ccb,0x3af,_0x2a4486._0x1d73da)],'message':_0x50070c['message']});ownedMcpSafeErrors[_0x5502e0(-0xc1,_0x2a4486._0x47501e,0x1ba,_0x2a4486._0x4ad81c)](_0x2e52c2,_0x50070c);function _0x5502e0(_0x3d774d,_0x57e021,_0x3de47f,_0x238f39){return _0x151cc1(_0x3d774d-0xe9,_0x238f39- -0x1cd,_0x3d774d,_0x238f39-_0x35d366._0x102baf);}return _0x2e52c2;}function ownValue(_0x35f110,_0x3a1d48){const _0x2813d5={_0x3f6b36:0x47,_0x2dab30:0x215,_0x4abc26:0x156},_0x9a0250={_0x49e4d2:0x1f2,_0x3cbd17:0x399,_0x3db376:0x158};function _0x534983(_0x1a0325,_0x2d78a3,_0x27521a,_0x519e95){return _0x151cc1(_0x1a0325-_0x9a0250._0x49e4d2,_0x519e95- -_0x9a0250._0x3cbd17,_0x1a0325,_0x519e95-_0x9a0250._0x3db376);}return _0x35f110&&Object[_0x534983(-_0x2813d5._0x3f6b36,_0x2813d5._0x2dab30,0x31a,_0x2813d5._0x4abc26)](_0x35f110,_0x3a1d48)?_0x35f110[_0x3a1d48]:void 0x0;}function isToolPermissionClass(_0x36c9fb){const _0x3a5d32={_0x750288:0x40a,_0x20207d:0x45d,_0x33a389:0x373},_0x7cd643={_0x267690:0x23},_0xe56143={_0x46c3dc:0x432};function _0x4b5d2c(_0x1d32dd,_0x58b46a,_0x5b192c,_0x83d57a){return _0x1ac42a(_0x1d32dd-0x1cf,_0x58b46a-0x102,_0x58b46a-_0xe56143._0x46c3dc,_0x83d57a);}function _0x58010a(_0xc66412,_0x17ed41,_0x650aa3,_0x30f3ab){return _0x151cc1(_0xc66412-0x172,_0x30f3ab- -_0x7cd643._0x267690,_0xc66412,_0x30f3ab-0xed);}return _0x36c9fb==='read'||_0x36c9fb===_0x58010a(0x3d2,0x5a5,_0x3a5d32._0x750288,_0x3a5d32._0x20207d)||_0x36c9fb===_0x58010a(0x41c,_0x3a5d32._0x33a389,0x477,0x341);}function suggestedPermissionClass(_0x36538b){const _0x345b0c={_0x3b1acb:0x2c9,_0x41c7fd:0xaf,_0x749439:0x240,_0x182ec0:0x294,_0x3dcef1:0x32a},_0x322275={_0x52270e:0x12b,_0xf2a545:0x34b},_0x34cb1a={_0x43ac86:0x68,_0x5c2fa3:0x22a,_0x691ceb:0x101};function _0x4d8420(_0x17fc06,_0x12eee8,_0x2d2a9d,_0x41b85b){return _0x151cc1(_0x17fc06-_0x34cb1a._0x43ac86,_0x41b85b- -_0x34cb1a._0x5c2fa3,_0x17fc06,_0x41b85b-_0x34cb1a._0x691ceb);}const _0x42db2b=_0x36538b['annotations']?.[_0x38909f(0x45f,0x542,0x2b2,0x37d)];function _0x38909f(_0x2b54a3,_0x2c0e16,_0x5bd21e,_0x3401ac){return _0x1ac42a(_0x2b54a3-_0x322275._0x52270e,_0x2c0e16-0x1d6,_0x2b54a3-_0x322275._0xf2a545,_0x5bd21e);}if(_0x42db2b===!![])return _0x4d8420(_0x345b0c._0x3b1acb,0x3f2,_0x345b0c._0x41c7fd,_0x345b0c._0x749439);if(_0x42db2b===![])return _0x4d8420(0x15d,_0x345b0c._0x182ec0,_0x345b0c._0x3dcef1,0x256);return void 0x0;}function isJsonValue(_0x2a1c04){const _0x9f74d2={_0x2f044f:0x280,_0x35fdc9:0x180,_0x47bcb1:0x39,_0x228b48:0x169,_0x2ad918:0x7a,_0x29bae6:0x144,_0xaf2d4f:0xb0,_0x11ff1b:0x249,_0x59c35b:0x175,_0x2005fd:0x67,_0x340889:0x1ea,_0x2295f2:0x175},_0x5c2783={_0x4d87a6:0x164,_0x35af59:0x71,_0x127e8f:0xaf};function _0x547cc8(_0xdb40dd,_0x10e453,_0x349ed5,_0x38647f){return _0x1ac42a(_0xdb40dd-0x1c0,_0x10e453-0x6f,_0x349ed5-0x3e,_0x10e453);}function _0x4d9449(_0xa71932,_0xf26728,_0x4d1fd2,_0x345fa4){return _0x1ac42a(_0xa71932-_0x5c2783._0x4d87a6,_0xf26728-_0x5c2783._0x35af59,_0x345fa4-_0x5c2783._0x127e8f,_0xa71932);}if(_0x2a1c04===null||typeof _0x2a1c04===_0x547cc8(-0x19,-_0x9f74d2._0x2f044f,-0x189,-0x101)||typeof _0x2a1c04===_0x547cc8(0xb2,0x1e5,_0x9f74d2._0x35fdc9,0x1c3)||typeof _0x2a1c04===_0x547cc8(0x154,-0x3a,-_0x9f74d2._0x47bcb1,-_0x9f74d2._0x228b48))return!![];if(Array[_0x4d9449(-0x6f,-0x1e,-0x39,-_0x9f74d2._0x2ad918)](_0x2a1c04))return _0x2a1c04[_0x4d9449(_0x9f74d2._0x29bae6,_0x9f74d2._0xaf2d4f,_0x9f74d2._0x11ff1b,_0x9f74d2._0x59c35b)](isJsonValue);if(!isObject(_0x2a1c04))return![];return Object['values'](_0x2a1c04)[_0x4d9449(_0x9f74d2._0x2005fd,_0x9f74d2._0x340889,-0x40,_0x9f74d2._0x2295f2)](isJsonValue);}function projectMcpTools(_0x58e1b5){const _0x420161={_0x44c7d8:0x1bb,_0x1eb104:0x129,_0x48fd75:0x3,_0x415546:0xa5,_0x13d8b0:0x7c,_0x2201d1:0x2a5,_0x5aed8b:0x295,_0x31ed7c:0x162,_0x29efda:0x41e,_0x32210d:0x18f,_0x3d0ea6:0x243,_0x18e4e7:0x218,_0x61f656:0x22e,_0x1a44b3:0x315,_0x542e03:0x1c4,_0x24c040:0x200,_0x208b86:0x71,_0x1618a0:0x17d,_0x8e81c6:0x199,_0x2c43ba:0x365,_0x42733b:0x487,_0x2db1d2:0x332,_0x31ebbf:0x189,_0x221d49:0x2a2,_0x1e8647:0x496,_0x2f8d78:0x533},_0x435c61={_0x24d896:0xd6},_0x584930={_0x5d81b8:0x6f,_0x5d3d05:0x34e},_0x7255ba=[],_0x52c85d=[];function _0x4ea321(_0x3b6274,_0x5256e5,_0x839457,_0x12aa9d){return _0x1ac42a(_0x3b6274-_0x584930._0x5d81b8,_0x5256e5-0x1de,_0x12aa9d-_0x584930._0x5d3d05,_0x3b6274);}for(const _0x108369 of _0x58e1b5[_0x383a56(_0x420161._0x44c7d8,_0x420161._0x1eb104,_0x420161._0x48fd75,0x372)]){const _0x695db3=ownValue(_0x58e1b5[_0x383a56(0xfd,0x2ca,-_0x420161._0x415546,-_0x420161._0x13d8b0)],_0x108369[_0x4ea321(0x371,0x375,_0x420161._0x2201d1,0x3e0)]),_0xc91fd7=isToolPermissionClass(_0x695db3)?_0x695db3:void 0x0,_0x1d5efe=_0xc91fd7??'always-confirm',_0x24e087=suggestedPermissionClass(_0x108369);_0x52c85d[_0x383a56(_0x420161._0x5aed8b,_0x420161._0x31ed7c,_0x420161._0x29efda,0x23e)]({'name':_0x108369['name'],..._0x108369[_0x383a56(_0x420161._0x32210d,_0x420161._0x3d0ea6,_0x420161._0x18e4e7,0x118)]!==void 0x0?{'description':_0x108369['description']}:{},...isJsonValue(_0x108369[_0x383a56(0xf4,0x160,0x92,0x1c1)])?{'inputSchema':_0x108369[_0x4ea321(_0x420161._0x61f656,0x1f6,_0x420161._0x1a44b3,_0x420161._0x542e03)]}:{},'permissionClass':_0x1d5efe,'permissionConfigured':_0xc91fd7!==void 0x0,..._0x24e087!==void 0x0?{'suggestedPermissionClass':_0x24e087}:{}});if(ownValue(_0x58e1b5[_0x383a56(_0x420161._0x24c040,_0x420161._0x208b86,0x110,0x2c9)],_0x108369[_0x383a56(0x310,0x239,0x39e,_0x420161._0x1618a0)])===![])continue;_0x7255ba[_0x4ea321(0x43e,_0x420161._0x8e81c6,0x22c,_0x420161._0x2c43ba)](createMcpTool({'serverName':_0x58e1b5[_0x4ea321(_0x420161._0x42733b,0x2bf,_0x420161._0x2db1d2,0x371)]??_0x58e1b5[_0x4ea321(0xed,0x1a7,0x316,_0x420161._0x31ebbf)],'tool':_0x108369,'client':_0x58e1b5[_0x4ea321(0x26f,_0x420161._0x221d49,0x36a,0x274)],'permissionClass':_0x1d5efe,'internalLifecycle':_0x58e1b5[_0x4ea321(0x62b,_0x420161._0x1e8647,_0x420161._0x2f8d78,0x4ca)]}));}function _0x383a56(_0x47c335,_0x59fec4,_0x33363a,_0x3faacd){return _0x1ac42a(_0x47c335-0x1a5,_0x59fec4-_0x435c61._0x24d896,_0x47c335-0x27e,_0x59fec4);}return{'tools':_0x7255ba,'descriptors':_0x52c85d};}function createMcpToolName(_0x4ba402,_0x824e4a){const _0x453e64={_0x23c1db:0x353,_0x4ed247:0x478,_0x4aa513:0x50a},_0x14b163={_0x1f265e:0x12,_0x4acce7:0x5a};function _0x3b2aa9(_0x2e9ebb,_0x22d02b,_0x12978e,_0x356fb9){return _0x151cc1(_0x2e9ebb-0xc8,_0x12978e- -_0x14b163._0x1f265e,_0x22d02b,_0x356fb9-_0x14b163._0x4acce7);}const _0x2472d5=_0x191a19=>_0x191a19['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x3b2aa9(0x12c,0x110,0x1bf,0xfe)](/^_+|_+$/g,'');function _0x5da5b3(_0x5b5989,_0x48c5ff,_0xbc72a0,_0x24c1bb){return _0x151cc1(_0x5b5989-0x11,_0x24c1bb- -0x2c6,_0xbc72a0,_0x24c1bb-0x51);}return _0x3b2aa9(_0x453e64._0x23c1db,0x5a7,_0x453e64._0x4ed247,_0x453e64._0x4aa513)+_0x2472d5(_0x4ba402)+'_'+_0x2472d5(_0x824e4a);}function isObject(_0x254db8){const _0x52e4d8={_0x5486be:0x1ff,_0x3887ff:0x1a3,_0x3aa01b:0x25a,_0x3824b8:0x36b,_0x1a9a3a:0x2e6},_0xe42c1d={_0x2f52eb:0x170,_0x3d44d4:0x117},_0x244208={_0x384685:0x58};function _0x4b0106(_0x145b14,_0x521226,_0x1ec158,_0x569bc7){return _0x1ac42a(_0x145b14-_0x244208._0x384685,_0x521226-0x4a,_0x521226-0x413,_0x1ec158);}function _0x3ff435(_0x39f67f,_0x37bfd9,_0x1d97f1,_0x1ad6b9){return _0x151cc1(_0x39f67f-_0xe42c1d._0x2f52eb,_0x37bfd9-_0xe42c1d._0x3d44d4,_0x1ad6b9,_0x1ad6b9-0x70);}return typeof _0x254db8===_0x4b0106(0x2e8,_0x52e4d8._0x5486be,_0x52e4d8._0x3887ff,_0x52e4d8._0x3aa01b)&&_0x254db8!==null&&!Array[_0x3ff435(0x37a,_0x52e4d8._0x3824b8,_0x52e4d8._0x1a9a3a,0x512)](_0x254db8);}function toSupportedSchema(_0x3b8a70){const _0x1c8a9a={_0x31f361:0x2e0,_0x35bcba:0x22b,_0x4367c2:0x39f,_0xecbe38:0x60,_0x19fa0f:0x3b,_0x7ff8b5:0x9a,_0x12e079:0x85,_0x490e7d:0x176,_0x298340:0x891,_0x5dd82e:0x6eb,_0x158af3:0x632,_0x2bffdc:0x696,_0x3ce5b4:0x916,_0x102a57:0xdb,_0x21a410:0x70,_0x5bfc31:0xa9,_0x56cee6:0x3a,_0x3e495d:0x752,_0x413a98:0x726,_0x4a0b01:0x705,_0x4206d8:0x2e,_0x20575f:0x16d,_0x52c370:0x7e,_0x39dba6:0x35c,_0x24b6e8:0x756,_0x4798f9:0x2e2},_0x3cbf0b={_0x26aadf:0x118},_0x4378e8={_0x46bf83:0x1e1,_0x21c524:0x64};if(!isObject(_0x3b8a70))return void 0x0;if(_0x3b8a70['type']===_0x48d66b(-0x123,-_0x1c8a9a._0x31f361,-0x22b,-0x267))return{'type':_0x48d66b(-0x2af,-0x169,-_0x1c8a9a._0x35bcba,-_0x1c8a9a._0x4367c2)};function _0x48d66b(_0x3d0d03,_0x39f20b,_0x27fa22,_0x54ea94){return _0x1ac42a(_0x3d0d03-_0x4378e8._0x46bf83,_0x39f20b-0x15f,_0x27fa22- -_0x4378e8._0x21c524,_0x39f20b);}if(_0x3b8a70[_0x48d66b(0x21f,0xa6,0x85,_0x1c8a9a._0xecbe38)]===_0x48d66b(0x257,-0x31,0xde,-_0x1c8a9a._0x19fa0f)||_0x3b8a70[_0x48d66b(0x1c,-_0x1c8a9a._0x7ff8b5,_0x1c8a9a._0x12e079,_0x1c8a9a._0x490e7d)]===_0x21340c(_0x1c8a9a._0x298340,0x873,0x629,_0x1c8a9a._0x5dd82e))return{'type':_0x21340c(_0x1c8a9a._0x158af3,_0x1c8a9a._0x2bffdc,_0x1c8a9a._0x3ce5b4,0x7af)};if(_0x3b8a70['type']===_0x48d66b(-0x29b,-0x1af,-_0x1c8a9a._0x102a57,-_0x1c8a9a._0x21a410))return{'type':_0x48d66b(-0x175,-0x1ba,-0xdb,0x47)};if(_0x3b8a70['type']===_0x48d66b(-_0x1c8a9a._0x5bfc31,0xb3,0x25,_0x1c8a9a._0x56cee6))return{'type':_0x21340c(_0x1c8a9a._0x3e495d,_0x1c8a9a._0x413a98,_0x1c8a9a._0x4a0b01,0x6f6),'items':toSupportedSchema(_0x3b8a70[_0x48d66b(-_0x1c8a9a._0x4206d8,_0x1c8a9a._0x20575f,_0x1c8a9a._0x52c370,0x200)])??{'type':_0x48d66b(-0x223,-_0x1c8a9a._0x39dba6,-_0x1c8a9a._0x35bcba,-0xe1)}};function _0x21340c(_0x594fbe,_0x357a2d,_0x17a72c,_0x8e2e0a){return _0x151cc1(_0x594fbe-_0x3cbf0b._0x26aadf,_0x8e2e0a-0x2f0,_0x17a72c,_0x8e2e0a-0x196);}if(_0x3b8a70[_0x21340c(0x73a,0x677,0x770,_0x1c8a9a._0x24b6e8)]===_0x21340c(0x426,0x489,_0x1c8a9a._0x4798f9,0x459))return toNuvinToolSchema(_0x3b8a70);return void 0x0;}function toNuvinToolSchema(_0x566f6d){const _0x5a8e1c={_0x5af8b6:0x4b,_0x550260:0x22d,_0x3e56b9:0x8,_0x2580b7:0x63,_0x471a75:0x2c,_0xdfccdb:0x1d3,_0x317108:0x92,_0x5e4e8b:0xc0,_0x43d7ab:0x185,_0x237472:0x15f,_0x562241:0xbc,_0x2121d9:0x157,_0x1868dc:0x10e,_0x40edf2:0x516,_0x444e76:0x17d},_0x584b04={_0x50579f:0x159,_0x487591:0x104},_0x231a55={_0x3244ee:0xe5};if(!isObject(_0x566f6d)||_0x566f6d[_0x38a0a8(0x47a,0x2ed,0x345,0x34c)]!=='object')return{'type':_0x3bba8c(-0x2a0,-_0x5a8e1c._0x5af8b6,-0x163,-_0x5a8e1c._0x550260),'properties':{}};const _0xa82560={};function _0x38a0a8(_0x4e0264,_0x396932,_0x520a4a,_0x181eed){return _0x151cc1(_0x4e0264-0x173,_0x4e0264-0x14,_0x396932,_0x181eed-_0x231a55._0x3244ee);}function _0x3bba8c(_0x22a4be,_0x274f19,_0x43c38e,_0x1f311b){return _0x1ac42a(_0x22a4be-_0x584b04._0x50579f,_0x274f19-_0x584b04._0x487591,_0x43c38e-0xb1,_0x1f311b);}const _0x55eb14=isObject(_0x566f6d[_0x3bba8c(_0x5a8e1c._0x3e56b9,_0x5a8e1c._0x2580b7,-_0x5a8e1c._0x471a75,0x3c)])?_0x566f6d[_0x3bba8c(0x188,-0xb4,-0x2c,-_0x5a8e1c._0xdfccdb)]:{};for(const [_0x2d8cfe,_0x31e2e0]of Object[_0x3bba8c(0x37,0x8a,_0x5a8e1c._0x317108,0xef)](_0x55eb14)){const _0x13d747=toSupportedSchema(_0x31e2e0);if(_0x13d747)_0xa82560[_0x2d8cfe]=_0x13d747;}const _0x1850e7=Array[_0x3bba8c(0x55,_0x5a8e1c._0x5e4e8b,-0x78,0x2e)](_0x566f6d['required'])?_0x566f6d[_0x3bba8c(_0x5a8e1c._0x43d7ab,_0x5a8e1c._0x237472,0x18c,_0x5a8e1c._0x562241)][_0x38a0a8(0x22b,_0x5a8e1c._0x2121d9,0xa3,_0x5a8e1c._0x1868dc)](_0x362222=>typeof _0x362222==='string'):void 0x0;return _0x1850e7?.[_0x38a0a8(0x49a,0x53b,_0x5a8e1c._0x40edf2,0x3fa)]?{'type':_0x38a0a8(_0x5a8e1c._0x444e76,0xb1,0x23e,-0x13),'properties':_0xa82560,'required':_0x1850e7}:{'type':_0x38a0a8(0x17d,0x241,0x230,0x2b0),'properties':_0xa82560};}function isJsonObject(_0x53c4b8){const _0x3c7180={_0x486eb0:0x9,_0x57bb04:0x82},_0x57b2bb={_0x5c204f:0x3a};function _0x45aa7d(_0x3e87b9,_0x3855e1,_0x18980a,_0x283746){return _0x1ac42a(_0x3e87b9-0x187,_0x3855e1-_0x57b2bb._0x5c204f,_0x18980a-0x162,_0x283746);}return typeof _0x53c4b8===_0x45aa7d(-0xda,_0x3c7180._0x486eb0,-0xb2,_0x3c7180._0x57bb04)&&_0x53c4b8!==null&&!Array['isArray'](_0x53c4b8);}function formatMcpContent(_0x3de988){const _0x1ad0bb={_0x210492:0x49e,_0x469caf:0x5fb,_0x2a3343:0x610,_0x36dedf:0x46c,_0x11e789:0x6a4,_0x325ed3:0x63e,_0x9de3d0:0x4bb,_0x4fac49:0x600,_0x4132be:0x345,_0x1d5eb0:0x3ee,_0x5ccb68:0x3f4},_0x5cbba1={_0x44f5b5:0x1e0,_0x387532:0x17a},_0x340515={_0x4547b3:0x2a6,_0x319cc5:0x2c8,_0x426efc:0x436,_0x401e18:0x291,_0x147418:0x37b,_0x272680:0xba,_0x296b05:0x114,_0x1c5af8:0x38},_0x1a24c9={_0x1ff552:0x32,_0x24f9a8:0x1eb},_0xf0dcb0=Array[_0x4f5548(0x3e0,0x43f,0x372,_0x1ad0bb._0x210492)](_0x3de988[_0x4f5548(0x566,0x66c,0x666,0x6b0)])?_0x3de988[_0x166408(0x7b3,0x6b0,_0x1ad0bb._0x469caf,0x450)]:[];function _0x4f5548(_0x3aec4d,_0x1f049,_0x1f6d35,_0x12847b){return _0x151cc1(_0x3aec4d-_0x1a24c9._0x1ff552,_0x1f049-_0x1a24c9._0x24f9a8,_0x1f6d35,_0x12847b-0x9a);}const _0xca8db5=_0xf0dcb0[_0x166408(_0x1ad0bb._0x2a3343,0x5b0,0x5a1,0x622)](_0x2c0346=>{const _0x3aff8e={_0xd528fa:0x124,_0x11ca94:0x573};if(!isObject(_0x2c0346))return'';if(_0x2c0346[_0x49136e(0x182,0xde,_0x340515._0x4547b3,0x18d)]===_0x49136e(-_0x340515._0x319cc5,-0x210,-0x123,-0x70)&&typeof _0x2c0346[_0x265ccd(_0x340515._0x426efc,0x5d9,0x30b,_0x340515._0x401e18)]==='string')return _0x2c0346[_0x265ccd(0x436,0x3cf,0x335,_0x340515._0x147418)];function _0x49136e(_0xde0ee4,_0x4a88a0,_0x5dd471,_0x287980){return _0x4f5548(_0xde0ee4-_0x3aff8e._0xd528fa,_0x4a88a0- -_0x3aff8e._0x11ca94,_0xde0ee4,_0x287980-0x3c);}function _0x265ccd(_0x5ed42e,_0x483fa9,_0x54b798,_0x1410a0){return _0x4f5548(_0x5ed42e-0x36,_0x5ed42e-0xd3,_0x483fa9,_0x1410a0-0xa5);}return JSON[_0x49136e(_0x340515._0x272680,-_0x340515._0x296b05,-_0x340515._0x1c5af8,0xaf)](_0x2c0346);})[_0x4f5548(_0x1ad0bb._0x36dedf,0x402,0x4a1,0x4ce)](_0xef265f=>_0xef265f[_0x4f5548(0x579,0x671,0x5fb,0x64d)]>0x0)[_0x4f5548(0x548,_0x1ad0bb._0x11e789,0x731,_0x1ad0bb._0x325ed3)]('\x0a');if(_0xca8db5[_0x166408(0x448,_0x1ad0bb._0x9de3d0,_0x1ad0bb._0x4fac49,0x7a8)]>0x0)return _0xca8db5;function _0x166408(_0x461ba0,_0x1af134,_0x4f8d9c,_0x310595){return _0x151cc1(_0x461ba0-_0x5cbba1._0x44f5b5,_0x4f8d9c-_0x5cbba1._0x387532,_0x461ba0,_0x310595-0xd7);}return JSON[_0x166408(_0x1ad0bb._0x4132be,0x352,_0x1ad0bb._0x1d5eb0,_0x1ad0bb._0x5ccb68)](_0x3de988,null,0x2);}function createMcpTool(_0x854d9a){const _0x442a6e={_0x166d30:0x83d,_0x65117d:0x747,_0x598ff9:0x5f5,_0x1a505c:0x7a2,_0x12e763:0x20a,_0x1d33cb:0xcc,_0x1064be:0xa4,_0x309443:0x797,_0x153c2a:0x1a9,_0x19bde2:0x1a2,_0x247335:0x24,_0x3f7bd4:0x48f,_0x5d27ec:0x46a,_0x1afab1:0x509,_0x44d7d9:0x374,_0x48c550:0x43,_0xb27971:0x139,_0x188569:0x173,_0x4db2c1:0xeb,_0x32bc0c:0x643,_0x270808:0x48b,_0x1ef6f6:0x376,_0xdef2c8:0x4c6,_0x1d0af2:0x42c},_0x1e84f6={_0x16caea:0xb8,_0x410af9:0xc,_0x487910:0x2b2,_0x435349:0x1d5,_0x44abd8:0x318,_0x31f8f5:0x1ed,_0x547506:0x196,_0x11e224:0x1,_0x35986d:0x116,_0x56e70f:0x27,_0x4340ca:0x3e2,_0x261651:0x117,_0x54f8a4:0x85,_0x4360ad:0x281,_0xa283f9:0x9f,_0x2f3d28:0x212,_0x4d5ea6:0xdf,_0x265bab:0x2c,_0x4ee2fd:0x3d,_0xa83f6c:0x178},_0x289dc3={_0x1b9506:0x56a,_0x27087a:0x1a9},_0x10da00={_0x302c5e:0x2d3},_0x4d2d72={_0x3976bb:0x10f,_0x42164c:0x3cc,_0x4019c4:0x124};function _0x1f9218(_0x300ad7,_0x4e08fb,_0x390287,_0x4cf552){return _0x151cc1(_0x300ad7-_0x4d2d72._0x3976bb,_0x300ad7- -_0x4d2d72._0x42164c,_0x390287,_0x4cf552-_0x4d2d72._0x4019c4);}const _0x4935f1=createMcpToolName(_0x854d9a['serverName'],_0x854d9a['tool']['name']);function _0x172b4c(_0x1f6b75,_0x325331,_0x2e2823,_0x171cb3){return _0x151cc1(_0x1f6b75-0x16a,_0x325331-_0x10da00._0x302c5e,_0x171cb3,_0x171cb3-0x151);}return defineTool({'name':_0x4935f1,'permissionClass':_0x854d9a[_0x172b4c(_0x442a6e._0x166d30,_0x442a6e._0x65117d,_0x442a6e._0x598ff9,_0x442a6e._0x1a505c)],..._0x854d9a[_0x1f9218(0x134,_0x442a6e._0x12e763,_0x442a6e._0x1d33cb,_0x442a6e._0x1064be)]!==void 0x0?{'internalLifecycle':_0x854d9a[_0x172b4c(0x7d4,0x7d3,_0x442a6e._0x309443,0x954)]}:{},'description':_0x854d9a[_0x1f9218(-_0x442a6e._0x153c2a,0x27,-_0x442a6e._0x19bde2,-_0x442a6e._0x247335)][_0x172b4c(_0x442a6e._0x3f7bd4,0x561,_0x442a6e._0x5d27ec,0x5d9)]??_0x172b4c(0x602,_0x442a6e._0x1afab1,0x3a9,_0x442a6e._0x44d7d9)+_0x854d9a[_0x1f9218(-0x1a9,-0x22b,-0x2ce,-0x12f)][_0x1f9218(_0x442a6e._0x48c550,-_0x442a6e._0xb27971,0x1b6,_0x442a6e._0x188569)]+_0x1f9218(-0x3e,-_0x442a6e._0x4db2c1,0x147,-0x82)+_0x854d9a[_0x172b4c(_0x442a6e._0x32bc0c,_0x442a6e._0x270808,0x363,0x597)],'inputSchema':toNuvinToolSchema(_0x854d9a[_0x1f9218(-0x1a9,-0x2eb,-0x17,-0x36c)][_0x172b4c(_0x442a6e._0x1ef6f6,_0x442a6e._0xdef2c8,_0x442a6e._0x1d0af2,0x341)]),async *'execute'(_0x3ec60e){const _0x3cf236={_0x5f4718:0x14e,_0x460505:0x6e3,_0x25ea7c:0x141};let _0x185de2;try{_0x185de2=await _0x854d9a[_0x138b16(0x176,0x17b,-_0x1e84f6._0x16caea,_0x1e84f6._0x410af9)][_0x138b16(_0x1e84f6._0x487910,0x3c0,_0x1e84f6._0x435349,0x25b)]({'name':_0x854d9a[_0x537b48(-0xdf,-_0x1e84f6._0x44abd8,-0x28b,-_0x1e84f6._0x31f8f5)][_0x537b48(_0x1e84f6._0x547506,0x103,0x8d,-_0x1e84f6._0x11e224)],'arguments':isJsonObject(_0x3ec60e)?_0x3ec60e:{}});if(_0x185de2[_0x138b16(0xa4,-_0x1e84f6._0x35986d,0x102,_0x1e84f6._0x56e70f)])throw toMcpSafeError({'serverName':_0x854d9a[_0x537b48(-0xdc,-_0x1e84f6._0x4340ca,-0x399,-0x258)],'operation':_0x138b16(-_0x1e84f6._0x261651,-0xa1,-0x9,-_0x1e84f6._0x54f8a4),'error':_0x185de2});}catch(_0xd6c803){throw extractOwnedMcpSafeError(_0xd6c803)??toMcpSafeError({'serverName':_0x854d9a[_0x537b48(-0x39d,-_0x1e84f6._0x4360ad,-0x270,-0x258)],'operation':'toolCall','error':_0xd6c803});}yield createToolOutput(formatMcpContent(_0x185de2),{'serverName':_0x854d9a[_0x138b16(_0x1e84f6._0xa283f9,-_0x1e84f6._0x2f3d28,-0x231,-_0x1e84f6._0x4d5ea6)],'toolName':_0x854d9a['tool'][_0x138b16(-_0x1e84f6._0x265bab,0x8,-_0x1e84f6._0x4ee2fd,_0x1e84f6._0xa83f6c)],'result':_0x185de2});function _0x138b16(_0x2a4bec,_0x4755af,_0x40fe53,_0x3068f9){return _0x172b4c(_0x2a4bec-0x6e,_0x3068f9- -_0x289dc3._0x1b9506,_0x40fe53-_0x289dc3._0x27087a,_0x2a4bec);}function _0x537b48(_0x3d39b8,_0x318d9e,_0x35c73f,_0x6e66e4){return _0x172b4c(_0x3d39b8-_0x3cf236._0x5f4718,_0x6e66e4- -_0x3cf236._0x460505,_0x35c73f-_0x3cf236._0x25ea7c,_0x318d9e);}return void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x2996f9){let _0x353f19=_0x2996f9;return{'get'(){return _0x353f19;},'set'(_0x26b99f){_0x353f19=_0x26b99f;}};}function resolveMcpTimeoutMs(_0x45a817,_0x26e8c1){const _0x447ed9={_0x458aef:0x2a4,_0x7647cf:0x1ef,_0x723be1:0x212},_0x2edc02={_0x3c3b07:0x57};function _0x31cc9f(_0x36274b,_0x164408,_0x5f1128,_0x1f97bd){return _0x151cc1(_0x36274b-0x93,_0x5f1128-_0x2edc02._0x3c3b07,_0x1f97bd,_0x1f97bd-0x111);}return _0x45a817[_0x31cc9f(_0x447ed9._0x458aef,0x1a7,_0x447ed9._0x7647cf,_0x447ed9._0x723be1)]??_0x26e8c1??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x21a4a6,_0x2cd505){return(_0x2cd505?extractOwnedMcpSafeError(_0x21a4a6['error']):void 0x0)??createOwnedMcpSafeError(_0x21a4a6);}function createMcpGenerationLifecycle(_0x437589){const _0x418f14={_0x336a52:0x104,_0x527a40:0xb1,_0x483b6e:0x1d},_0xbbfc55={_0x163d15:0x20c},_0x31a418={_0x29d584:0x65,_0x100c94:0x7f,_0x358be8:0x1b3,_0x31b983:0x29a,_0x47a067:0x1e5},_0x2431d3={_0x1c5732:0x249};let _0x5e9def=0x0,_0x47f7e9=![],_0x495b35=![],_0x4c9f4a,_0x5592a8,_0x457fc6;const _0x1ec8c4=()=>{function _0x117e9c(_0x119dbe,_0x459d51,_0x3240de,_0xae620a){return _0x5041(_0xae620a- -_0x2431d3._0x1c5732,_0x119dbe);}if(!_0x47f7e9||_0x5e9def!==0x0||_0x495b35)return;_0x495b35=!![];function _0x37e334(_0x37ae78,_0xdb2bef,_0x5eddf3,_0x142e15){return _0x5041(_0x5eddf3- -0x28f,_0xdb2bef);}void Promise[_0x117e9c(0x105,-0x125,_0x31a418._0x29d584,_0x31a418._0x100c94)]()[_0x37e334(0x2d7,0xcd,_0x31a418._0x358be8,0x251)](_0x437589)[_0x37e334(0x16b,_0x31a418._0x31b983,0x1b3,_0x31a418._0x47a067)](_0x5592a8,_0x457fc6);};return{'acquire'(){if(_0x47f7e9)throw new Error(_0x2b5ddd(_0x418f14._0x336a52,_0x418f14._0x527a40,-0xd0,_0x418f14._0x483b6e));_0x5e9def+=0x1;let _0x52b76f=![];function _0x2b5ddd(_0x19b40e,_0x4adc7e,_0x16e151,_0x48e171){return _0x5041(_0x4adc7e- -_0xbbfc55._0x163d15,_0x19b40e);}return()=>{if(_0x52b76f)return;_0x52b76f=!![],_0x5e9def-=0x1,_0x1ec8c4();};},'retire'(){return!_0x4c9f4a&&(_0x4c9f4a=new Promise((_0x414630,_0xa875b7)=>{_0x5592a8=_0x414630,_0x457fc6=_0xa875b7;})),_0x47f7e9=!![],_0x1ec8c4(),_0x4c9f4a;}};}function buildMcpHttpHeaders(_0x1eee2b){const _0x41a020={_0xb18ff2:0x246,_0x4cbc78:0x281,_0x433ca5:0x237,_0x26887c:0x235,_0x501b35:0x514,_0x8c8be9:0x6e9,_0x3c4e95:0x8c0,_0x193934:0x817,_0x11ac3c:0x6c2,_0x554c41:0x8a2,_0x2369b7:0x789,_0x457fb7:0x1bb,_0x59b3cf:0x24a,_0x14b404:0xd8,_0x58e732:0xa8},_0x57922d={_0x5c5572:0x6c7},_0xad3c2={_0x75a573:0x141},_0x524186={..._0x1eee2b[_0x5286e1(_0x41a020._0xb18ff2,0x120,0x26a,_0x41a020._0x4cbc78)]??{}};function _0x5286e1(_0x52ef60,_0x44f71b,_0x8c00c9,_0x1f1876){return _0x1ac42a(_0x52ef60-0xc2,_0x44f71b-0x140,_0x52ef60-_0xad3c2._0x75a573,_0x44f71b);}_0x1eee2b[_0x5286e1(0x258,_0x41a020._0x433ca5,0x3b8,_0x41a020._0x26887c)]?.['type']===_0x5c4c55(_0x41a020._0x501b35,0x423,0x76c,0x5e9)&&_0x1eee2b[_0x5c4c55(0x886,0x74a,_0x41a020._0x8c8be9,0x7de)][_0x5c4c55(_0x41a020._0x3c4e95,_0x41a020._0x193934,0x683,0x789)]&&_0x524186[_0x5c4c55(0x70b,0x605,0x5b8,_0x41a020._0x11ac3c)]===void 0x0&&(_0x524186['Authorization']='Bearer\x20'+_0x1eee2b['auth'][_0x5c4c55(0x8e5,_0x41a020._0x554c41,0x756,_0x41a020._0x2369b7)]);function _0x5c4c55(_0x3deed5,_0x218b15,_0x17416c,_0x40bebb){return _0x1ac42a(_0x3deed5-0x187,_0x218b15-0x19a,_0x40bebb-_0x57922d._0x5c5572,_0x3deed5);}return Object[_0x5286e1(0x178,0xdf,_0x41a020._0x457fb7,0x20)](_0x524186)[_0x5286e1(_0x41a020._0x59b3cf,0x1f3,_0x41a020._0x14b404,_0x41a020._0x58e732)]>0x0?_0x524186:void 0x0;}function _0x1ac42a(_0x524bf5,_0x3ab1d5,_0x5f2f73,_0x1df016){return _0x5041(_0x5f2f73- -0x32a,_0x1df016);}async function connectMcpServer(_0x22931a,_0x3abbfe,_0x28191f){const _0x29cca1={_0x157468:0x57a,_0x47ccc7:0x526,_0x518a20:0x4ba,_0x21af7c:0x691,_0x3a7ffc:0xc6,_0x4bfba4:0x21,_0x275201:0x253,_0x106268:0x398,_0x24d195:0x121,_0x106ec8:0x11,_0x292325:0x7d5,_0x55216d:0x819,_0x1eb6a1:0x144,_0x23272f:0x21a,_0x24e905:0x22d,_0x222e09:0x49e,_0x871eec:0x28e,_0xacd9c7:0x28f,_0x1ba30f:0x70,_0x13195f:0x9,_0x4f5e76:0x708,_0x2bd9c4:0x14b,_0x13827b:0x13a,_0x3bbd8e:0x36,_0x5cf938:0x282,_0x501d29:0x148,_0x478653:0xb6,_0x1c1c34:0x6d3,_0x5b73f9:0x61d,_0x3aeeee:0x6fc,_0x177045:0x672,_0x579905:0x83c,_0x301e70:0x7b2,_0x4a32bb:0x508,_0x436f64:0x672,_0x410f92:0x386,_0xbfc8f8:0x4f1,_0x3600c7:0x508,_0x5e2a6c:0x451,_0x4dd5e7:0x4ac,_0x547c52:0x10c,_0x3701a5:0x101,_0x1038d8:0x50,_0x3d0efb:0x9b,_0xed66c4:0x42f,_0x320d26:0x4ba,_0x4c7e05:0x5b9,_0x28ebc9:0x572,_0x179ad2:0x455,_0x350a8c:0xc1,_0x54cd74:0x118,_0x1fe78b:0x92,_0x284899:0x4c,_0x3360fb:0x3e1,_0x2275de:0xe0,_0x8f7cf6:0x189,_0x3035c1:0x23,_0x23b7b3:0x232,_0x1a16bc:0x478,_0xcc3041:0x3f6,_0x29f37d:0x60b,_0x5d7dbd:0x5d6,_0x2b52f8:0x272,_0x81dc9b:0x2da,_0x244c74:0x394,_0x3fcc16:0x556},_0x4a513a={_0x4b9dcd:0x3f4,_0x791ff8:0x21e,_0x269c60:0x550,_0xb4b891:0x443,_0x418c99:0x29e,_0xb6ecfe:0x313,_0x8c9cc4:0x254,_0x4b0d7e:0x11b,_0x5a7237:0x145},_0x2786ae={_0x2ea628:0x15e,_0x313341:0x152},_0x20e47f={_0xa2c0c9:0x714,_0x56aedd:0x64c,_0x4305bb:0x4c,_0x428661:0x255},_0x4b6596={_0x243537:0x137},_0xf8857d={_0x202cbd:0x33c,_0x53d331:0x25d,_0x196497:0x1e9},_0x41fd49={_0x41fab9:0x3c8,_0x2a847b:0x18d},_0x42c245={_0x4beaf9:0xd7,_0x4e60eb:0x237,_0xe22863:0x14b,_0x5e7ec5:0x2d6,_0x3b42f7:0x113,_0x3ebc5d:0x26b,_0x4bc73b:0x317,_0xa7cdf0:0x36c,_0x4417b7:0x3c1,_0x5c5fa6:0x25c,_0x3e8b6d:0x156},_0x57638b={_0xaca627:0x101},_0xab6d7={_0x550c5c:0x1ed,_0x3fc8e3:0x2fb,_0x2e4d11:0x290,_0x239a60:0x3e6,_0x26990c:0x20c,_0x229308:0x2b0},_0x19d63d={_0xe1e6bd:0x56d},_0x9b203d={_0x5bc57b:0x5ea},_0x44f391={_0x13e8a4:0xec,_0x32060f:0xdf,_0x3d116d:0x1b5,_0x4d4386:0x527,_0x3de41f:0x56f},_0x3f8ab6=new Client({'name':_0x309a05(_0x29cca1._0x157468,_0x29cca1._0x47ccc7,_0x29cca1._0x518a20,0x4a0),'version':_0x309a05(0x6ea,0x7ab,0x61c,_0x29cca1._0x21af7c)}),_0x480d62=_0x28191f?.[_0x490483(-_0x29cca1._0x3a7ffc,-0x292,-_0x29cca1._0x4bfba4,-0x9)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x49b6bc=new Set();let _0x18c7d1,_0x2eb9a5=![];const _0x25ec4e=()=>{const _0xa2c2d0={_0x347688:0x10b};function _0x4c6170(_0x3e84dc,_0x19adfb,_0x5d99cb,_0x2014a5){return _0x490483(_0x3e84dc-0x1ce,_0x19adfb-_0xa2c2d0._0x347688,_0x5d99cb,_0x2014a5-0xaf);}function _0x4c05b7(_0x48d9a6,_0x8d9955,_0x3af135,_0x551680){return _0x490483(_0x551680-0x55b,_0x8d9955-0x1d2,_0x8d9955,_0x551680-0x195);}if(_0x2eb9a5||_0x18c7d1)return;_0x18c7d1={'code':_0x4c6170(-0x58,-_0x44f391._0x13e8a4,_0x44f391._0x32060f,-_0x44f391._0x3d116d),'cause':new Error(_0x4c05b7(0x43d,_0x44f391._0x4d4386,0x4b6,_0x44f391._0x3de41f))};for(const _0x1d3b30 of _0x49b6bc){try{_0x1d3b30(_0x18c7d1);}catch{}}};function _0x309a05(_0xc93f76,_0x59b72d,_0x25cbb4,_0x3c8e5a){return _0x1ac42a(_0xc93f76-0xa,_0x59b72d-0x19e,_0x25cbb4-_0x9b203d._0x5bc57b,_0xc93f76);}_0x3f8ab6[_0x490483(-_0x29cca1._0x275201,-0x381,-_0x29cca1._0x106268,-0x275)]=()=>{const _0x407159={_0x3b0afb:0x276,_0x3eaac7:0x93};function _0x2b49d2(_0xb61ddb,_0x372088,_0x266645,_0x2fd714){return _0x309a05(_0x266645,_0x372088-0x1b6,_0x2fd714- -_0x407159._0x3b0afb,_0x2fd714-_0x407159._0x3eaac7);}function _0x4ef217(_0x112847,_0x4c6c0d,_0x2fe286,_0xf5ad9b){return _0x309a05(_0xf5ad9b,_0x4c6c0d-0x1a8,_0x112847- -_0x19d63d._0xe1e6bd,_0xf5ad9b-0x1af);}console['warn'](_0x2b49d2(_0xab6d7._0x550c5c,_0xab6d7._0x3fc8e3,0x2ba,_0xab6d7._0x2e4d11),{'server':_0x22931a,'code':_0x2b49d2(_0xab6d7._0x239a60,_0xab6d7._0x26990c,0x386,_0xab6d7._0x229308)});},_0x3f8ab6[_0x490483(-0x127,-0xd3,-_0x29cca1._0x24d195,-0x2a0)]=_0x25ec4e;function _0x490483(_0x111584,_0x19299f,_0x35a0c2,_0x11c223){return _0x151cc1(_0x111584-0x5,_0x111584- -0x3f6,_0x35a0c2,_0x11c223-_0x57638b._0xaca627);}try{if(_0x3abbfe[_0x490483(-0x15,-_0x29cca1._0x106ec8,-0x1cb,0xcd)]===_0x309a05(0x8d0,_0x29cca1._0x292325,0x70b,_0x29cca1._0x55216d)||_0x3abbfe['url']){if(!_0x3abbfe[_0x490483(-_0x29cca1._0x1eb6a1,-_0x29cca1._0x23272f,-_0x29cca1._0x24e905,0x12)])throw new Error(_0x309a05(_0x29cca1._0x222e09,_0x29cca1._0x871eec,0x3e1,_0x29cca1._0xacd9c7)+_0x22931a+'\x20requires\x20url\x20for\x20http\x20transport');if(_0x3abbfe[_0x490483(0x9e,-0xea,0x17a,0x207)]?.[_0x490483(_0x29cca1._0x1ba30f,0x56,_0x29cca1._0x13195f,0x1d6)]===_0x309a05(0x73d,0x58d,0x672,_0x29cca1._0x4f5e76)&&!_0x28191f?.[_0x490483(0xf,_0x29cca1._0x2bd9c4,-_0x29cca1._0x13827b,_0x29cca1._0x3bbd8e)])throw new Error(_0x490483(-_0x29cca1._0x5cf938,-_0x29cca1._0x501d29,-0x388,-_0x29cca1._0x478653)+_0x22931a+'\x20requires\x20OAuth\x20connection\x20options');const _0x212c17=buildMcpHttpHeaders(_0x3abbfe),_0x371de9=_0x3abbfe['auth']?.[_0x309a05(0x519,0x73c,_0x29cca1._0x1c1c34,0x560)]===_0x309a05(_0x29cca1._0x5b73f9,_0x29cca1._0x3aeeee,_0x29cca1._0x177045,_0x29cca1._0x579905)&&_0x28191f?.[_0x309a05(0x61c,0x4b9,_0x29cca1._0x177045,0x79c)]?createMcpOAuthProvider({'serverName':_0x22931a,'callbackUrl':_0x28191f[_0x309a05(_0x29cca1._0x301e70,_0x29cca1._0x4a32bb,_0x29cca1._0x436f64,0x6a5)][_0x309a05(_0x29cca1._0x410f92,_0x29cca1._0xbfc8f8,_0x29cca1._0x3600c7,_0x29cca1._0x5e2a6c)],'storageDir':_0x28191f[_0x309a05(0x4d7,_0x29cca1._0x4dd5e7,_0x29cca1._0x436f64,0x4a2)][_0x490483(-0x21b,-0x8a,-0xc7,-_0x29cca1._0x547c52)],'config':_0x3abbfe[_0x490483(0x9e,0xdf,0x24,_0x29cca1._0x3701a5)],'onRedirect':_0xdf4be=>_0x28191f[_0x490483(0xf,-0x1ae,-0x178,0x61)]?.['onRedirect'](_0x22931a,_0xdf4be)}):void 0x0,_0x5cf67f=new StreamableHTTPClientTransport(new URL(_0x3abbfe['url']),{'authProvider':_0x371de9,'requestInit':_0x212c17?{'headers':_0x212c17}:void 0x0});await _0x3f8ab6[_0x490483(-0x10d,_0x29cca1._0x1038d8,_0x29cca1._0x3d0efb,-0xb3)](_0x5cf67f,{'timeout':_0x480d62[_0x309a05(0x5cb,0x6ad,0x5d6,_0x29cca1._0xed66c4)](),..._0x28191f?.[_0x309a05(_0x29cca1._0x320d26,_0x29cca1._0x4c7e05,0x3f1,0x4e3)]!==void 0x0?{'signal':_0x28191f[_0x309a05(_0x29cca1._0x28ebc9,0x282,0x3f1,_0x29cca1._0x179ad2)]}:{}});}else{if(!_0x3abbfe[_0x490483(-_0x29cca1._0x350a8c,-_0x29cca1._0x54cd74,_0x29cca1._0x1fe78b,-_0x29cca1._0x284899)])throw new Error(_0x309a05(0x539,0x21b,_0x29cca1._0x3360fb,0x4bd)+_0x22931a+_0x490483(_0x29cca1._0x2275de,_0x29cca1._0x8f7cf6,0xc9,-0x7));const _0x886fee=new StdioClientTransport({'command':_0x3abbfe[_0x490483(-0xc1,_0x29cca1._0x3035c1,-_0x29cca1._0x23b7b3,-0x184)],'args':_0x3abbfe[_0x309a05(_0x29cca1._0x1a16bc,0x649,0x56a,0x66d)]??[],'env':_0x3abbfe[_0x309a05(_0x29cca1._0xcc3041,0x614,0x5a9,0x674)],'stderr':_0x309a05(_0x29cca1._0x29f37d,0x395,0x480,0x590)});await _0x3f8ab6['connect'](_0x886fee,{'timeout':_0x480d62[_0x309a05(0x65d,0x632,_0x29cca1._0x5d7dbd,0x57f)](),..._0x28191f?.[_0x490483(-_0x29cca1._0x2b52f8,-0x430,-0x230,-0x1f0)]!==void 0x0?{'signal':_0x28191f[_0x490483(-0x272,-_0x29cca1._0x81dc9b,-0x36c,-0x239)]}:{}});}}catch(_0x25f3c3){throw createOwnedMcpSafeError({'serverName':_0x22931a,'operation':_0x309a05(0x510,_0x29cca1._0x244c74,_0x29cca1._0x3fcc16,0x505),'error':_0x25f3c3});}return{async 'listTools'(_0x40bfaf){const _0x4050fe={_0x50c18c:0x1d0},_0x57ea4f={_0x4ef988:0x37,_0x3b11d3:0x34};function _0x56876a(_0x464517,_0x4d7ff8,_0x5a19fe,_0x55f1ca){return _0x309a05(_0x5a19fe,_0x4d7ff8-_0x57ea4f._0x4ef988,_0x55f1ca- -0x53c,_0x55f1ca-_0x57ea4f._0x3b11d3);}function _0x453d28(_0x1d94aa,_0x4df8cf,_0x253f11,_0x567f5f){return _0x309a05(_0x567f5f,_0x4df8cf-0x1ca,_0x1d94aa- -0x11b,_0x567f5f-_0x4050fe._0x50c18c);}const _0x527824=_0x40bfaf?.[_0x56876a(-_0x42c245._0x4beaf9,-_0x42c245._0x4e60eb,-0xc3,-_0x42c245._0xe22863)]??_0x28191f?.[_0x453d28(_0x42c245._0x5e7ec5,_0x42c245._0x3b42f7,0x1cf,_0x42c245._0x3ebc5d)];try{return await _0x3f8ab6['listTools'](void 0x0,{'timeout':_0x480d62[_0x453d28(0x4bb,_0x42c245._0x4bc73b,_0x42c245._0xa7cdf0,_0x42c245._0x4417b7)](),..._0x527824!==void 0x0?{'signal':_0x527824}:{}});}catch(_0x4181a9){throw createOwnedMcpSafeError({'serverName':_0x22931a,'operation':_0x56876a(-0x207,-0x1d3,-_0x42c245._0x5c5fa6,-_0x42c245._0x3e8b6d),'error':_0x4181a9});}},'onTerminalError'(_0x2de4bc){const _0x579f8f={_0x42c489:0x100};_0x49b6bc[_0x553855(0x41c,_0xf8857d._0x202cbd,_0xf8857d._0x53d331,_0xf8857d._0x196497)](_0x2de4bc);const _0x7b0939=_0x18c7d1;_0x7b0939&&queueMicrotask(()=>{if(_0x49b6bc['has'](_0x2de4bc))_0x2de4bc(_0x7b0939);});function _0x553855(_0x5166f0,_0x166e31,_0x516e1f,_0x291e8e){return _0x490483(_0x516e1f-0x23f,_0x166e31-0x2,_0x5166f0,_0x291e8e-_0x579f8f._0x42c489);}function _0x313737(_0x3b250e,_0x663422,_0x708013,_0x77aad4){return _0x490483(_0x77aad4-_0x41fd49._0x41fab9,_0x663422-_0x41fd49._0x2a847b,_0x708013,_0x77aad4-0x10c);}return()=>_0x49b6bc[_0x313737(0x100,0x36f,0x173,0x1c6)](_0x2de4bc);},async 'callTool'(_0x881df7){const _0x111956={_0x4dd1a6:0x744,_0x1ffc02:0x41,_0x2065c9:0x15d};function _0x2fc3c8(_0x287453,_0x486356,_0x4d70a6,_0x4833b4){return _0x490483(_0x4d70a6-_0x111956._0x4dd1a6,_0x486356-_0x111956._0x1ffc02,_0x486356,_0x4833b4-_0x111956._0x2065c9);}function _0xb3bb8d(_0x1bfc7b,_0x1cd3ad,_0x5af407,_0x2aaacf){return _0x309a05(_0x1bfc7b,_0x1cd3ad-0x17,_0x1cd3ad- -0x58b,_0x2aaacf-_0x4b6596._0x243537);}try{return await _0x3f8ab6[_0x2fc3c8(0x792,_0x20e47f._0xa2c0c9,0x6c9,_0x20e47f._0x56aedd)]({'method':'tools/call','params':_0x881df7},CallToolResultSchema,{'timeout':_0x480d62['get']()});}catch(_0x3987f4){throw createOwnedMcpSafeError({'serverName':_0x22931a,'operation':_0xb3bb8d(-0x226,-0x10c,_0x20e47f._0x4305bb,-_0x20e47f._0x428661),'error':_0x3987f4});}},async 'close'(){const _0x2f6f43={_0x3314c0:0x111,_0x46f441:0x1ab};_0x2eb9a5=!![];function _0x2dc443(_0x3e79b4,_0x51146c,_0x4e8958,_0x543b43){return _0x309a05(_0x51146c,_0x51146c-_0x2f6f43._0x3314c0,_0x543b43- -_0x2f6f43._0x46f441,_0x543b43-0x58);}function _0x4351de(_0x1b5629,_0x4e8419,_0x77ecaa,_0x25c5b1){return _0x490483(_0x25c5b1-0x7f,_0x4e8419-_0x2786ae._0x2ea628,_0x1b5629,_0x25c5b1-_0x2786ae._0x313341);}_0x3f8ab6[_0x2dc443(_0x4a513a._0x4b9dcd,0x14d,0x3e6,0x265)]=void 0x0,_0x3f8ab6[_0x2dc443(_0x4a513a._0x791ff8,0x322,_0x4a513a._0x269c60,0x391)]=void 0x0,_0x49b6bc[_0x2dc443(0x405,_0x4a513a._0xb4b891,_0x4a513a._0x418c99,_0x4a513a._0xb6ecfe)]();try{await _0x3f8ab6[_0x4351de(_0x4a513a._0x8c9cc4,_0x4a513a._0x4b0d7e,0xbc,_0x4a513a._0x5a7237)]();}catch(_0x48f483){throw createOwnedMcpSafeError({'serverName':_0x22931a,'operation':'close','error':_0x48f483});}}};}async function createMcpConnectionGeneration(_0x4a3445){const _0x234081={_0x231593:0xcb,_0x7a2772:0x318,_0x194e66:0x1bc,_0x1f19e5:0x115,_0x406f84:0xe2,_0x4cfb47:0x22c,_0x3ffe64:0x332,_0x9a4769:0x1a4,_0x291dcb:0x2a,_0x5acaca:0x118,_0x4f6986:0x1c6,_0x1878e5:0xf8,_0x20a3f0:0xe4,_0x31bbeb:0x1cd,_0x5781ee:0xf0,_0x1f9bca:0x4d,_0x3edb41:0x14e,_0x579749:0x56,_0x515515:0x188,_0x4063b0:0x288,_0x51713c:0xfa,_0x4c180e:0x14c,_0x485ab0:0x8a,_0x45f5db:0xc1,_0x4ff6cb:0x2ec,_0x2ab3a9:0x123,_0x1f2a48:0x2dc,_0x2c27ba:0x38f},_0x28e86f={_0x252e08:0x21f,_0x1083fc:0x54},_0x10f815={_0x26b146:0x1b7,_0x4a8d40:0x1b},_0x48635e={_0x3c020b:0x601,_0x1ef53f:0x744},_0x23e0cf={_0x1fab00:0x81c,_0x1171c6:0x6bb},_0x27ce83={_0x2a17cd:0x181},_0x3d5cae={_0x235c94:0x5dc,_0x268614:0x693,_0x1376f3:0x725,_0x2b2092:0x5b1,_0x4de0bb:0x421,_0x2f1af3:0x7c5,_0x512068:0x682},_0x566873={_0x1bda84:0x140,_0x99c540:0x22a,_0x34aacc:0x138,_0x3ba379:0x2b2,_0xdd1c67:0x58,_0x1af712:0x165},_0x270bfc={_0x1b098c:0x28d},_0x121d70={_0x551f40:0x4,_0x161136:0x5d,_0x3fa4f5:0x55,_0x8b0968:0xe7},_0x586c99={_0x587089:0x1bc,_0x224f21:0x9c},_0xbe7903={_0x4be5d6:0x167},_0x50ab27=_0x4a3445[_0x41fa89(_0x234081._0x231593,0x117,_0x234081._0x7a2772,_0x234081._0x194e66)]??connectMcpServer,_0x381f2e=_0x4a3445[_0x94ead9(-_0x234081._0x1f19e5,_0x234081._0x406f84,-0x36,0x4d)]===void 0x0,_0x32712f={..._0x4a3445[_0x41fa89(_0x234081._0x4cfb47,0x2b7,_0x234081._0x3ffe64,_0x234081._0x9a4769)],'timeoutSource':_0x4a3445['timeoutSource'],..._0x4a3445[_0x94ead9(-0xa4,0x3a,-_0x234081._0x291dcb,-_0x234081._0x5acaca)]!==void 0x0?{'signal':_0x4a3445['signal']}:{}};let _0x2c554f;function _0x94ead9(_0x5fcac3,_0x40738e,_0x31b5b1,_0x2da8a9){return _0x151cc1(_0x5fcac3-0x18d,_0x2da8a9- -0x29c,_0x40738e,_0x2da8a9-_0xbe7903._0x4be5d6);}try{_0x2c554f=await _0x50ab27(_0x4a3445[_0x94ead9(-_0x234081._0x4f6986,-_0x234081._0x1878e5,-0x96,-_0x234081._0x20a3f0)],_0x4a3445['config'],_0x32712f);}catch(_0x519998){throw mapOwnedMcpBoundaryError({'serverName':_0x4a3445['serverName'],'operation':_0x94ead9(0x179,_0x234081._0x31bbeb,-_0x234081._0x5781ee,_0x234081._0x1f9bca),'error':_0x519998},_0x381f2e);}const _0x149d84=new Set();let _0xdc4de0;const _0x3383e4=_0x2c554f[_0x94ead9(-0x85,-0xd0,-_0x234081._0x3edb41,_0x234081._0x579749)]?.(_0xb191ee=>{if(_0xdc4de0)return;_0xdc4de0=_0xb191ee;for(const _0x1d804c of _0x149d84)_0x1d804c(_0xb191ee);});let _0x559d7e=![];function _0x41fa89(_0x22bc6f,_0x3289c5,_0x4e815f,_0x26a75f){return _0x151cc1(_0x22bc6f-0x185,_0x26a75f- -0x12d,_0x22bc6f,_0x26a75f-0x173);}const _0x268b45=()=>{if(_0x559d7e)return;function _0x6355cc(_0xa055f7,_0x4e742c,_0x249966,_0x5e5820){return _0x94ead9(_0xa055f7-_0x586c99._0x587089,_0x249966,_0x249966-0x177,_0x5e5820- -_0x586c99._0x224f21);}_0x559d7e=!![],_0x149d84[_0x6355cc(_0x121d70._0x551f40,-_0x121d70._0x161136,-_0x121d70._0x3fa4f5,-_0x121d70._0x8b0968)](),_0x3383e4?.();};let _0x2377e8;try{_0x2377e8=await _0x2c554f[_0x94ead9(_0x234081._0x515515,_0x234081._0x4063b0,-0xa9,_0x234081._0x51713c)](_0x4a3445[_0x94ead9(-_0x234081._0x4c180e,-0x57,_0x234081._0x485ab0,-0x118)]!==void 0x0?{'signal':_0x4a3445['signal']}:void 0x0);}catch(_0x2c1d39){const _0x12e184=mapOwnedMcpBoundaryError({'serverName':_0x4a3445['serverName'],'operation':_0x94ead9(-_0x234081._0x45f5db,-0x2c1,-_0x234081._0x4ff6cb,-_0x234081._0x2ab3a9),'error':_0x2c1d39},_0x381f2e);_0x268b45();try{await _0x2c554f[_0x41fa89(0x1f2,_0x234081._0x1f2a48,0x55a,_0x234081._0x2c27ba)]();}catch{}throw _0x12e184;}const _0x5e35e7=[..._0x2377e8['tools']],_0x523d43={async 'callTool'(_0x2e2c8f){const _0x13c6ac={_0x28b3e2:0x2a};function _0x50cdb2(_0x2b0f25,_0x3d6a0,_0xdfd7f4,_0x471588){return _0x94ead9(_0x2b0f25-_0x13c6ac._0x28b3e2,_0x3d6a0,_0xdfd7f4-0x19f,_0x2b0f25-0x29f);}function _0x4c171c(_0x44fab2,_0x32babd,_0x5b1658,_0x3ad6f0){return _0x41fa89(_0x5b1658,_0x32babd-0x7a,_0x5b1658-0x1c5,_0x3ad6f0- -_0x270bfc._0x1b098c);}try{return await _0x2c554f[_0x4c171c(0x228,_0x566873._0x1bda84,_0x566873._0x99c540,_0x566873._0x34aacc)](_0x2e2c8f);}catch(_0x81192a){throw mapOwnedMcpBoundaryError({'serverName':_0x4a3445[_0x4c171c(-_0x566873._0x3ba379,-0x27f,-0x2f3,-0x202)],'operation':_0x4c171c(-_0x566873._0xdd1c67,-0x202,-_0x566873._0x1af712,-0x1a8),'error':_0x81192a},_0x381f2e);}}},_0x277426=createMcpGenerationLifecycle(async()=>{const _0x1893c3={_0x2db8f1:0x80,_0x3eef81:0x505},_0x22941e={_0x3ea496:0xc7};_0x268b45();function _0x562f53(_0x4d401d,_0x439d4f,_0x2008bd,_0x138405){return _0x94ead9(_0x4d401d-0x25,_0x138405,_0x2008bd-_0x22941e._0x3ea496,_0x4d401d-0x27a);}function _0x13953a(_0x375c67,_0x4ab967,_0x22f778,_0x4e70c9){return _0x94ead9(_0x375c67-_0x1893c3._0x2db8f1,_0x22f778,_0x22f778-0x50,_0x4e70c9-_0x1893c3._0x3eef81);}try{await _0x2c554f[_0x13953a(_0x3d5cae._0x235c94,_0x3d5cae._0x268614,0x621,_0x3d5cae._0x1376f3)]();}catch(_0xa88208){throw mapOwnedMcpBoundaryError({'serverName':_0x4a3445[_0x13953a(_0x3d5cae._0x2b2092,0x485,0x41a,_0x3d5cae._0x4de0bb)],'operation':_0x13953a(_0x3d5cae._0x2f1af3,0x616,_0x3d5cae._0x512068,_0x3d5cae._0x1376f3),'error':_0xa88208},_0x381f2e);}});return{'client':_0x2c554f,'descriptors':_0x5e35e7,'lifecycle':_0x277426,'projectTools'(_0x30da01){return projectMcpTools({..._0x30da01,'descriptors':_0x5e35e7,'client':_0x523d43,'lifecycle':_0x277426});},'onTerminalError'(_0x4171f2){const _0x2a8b6e={_0x470f6c:0x13},_0xe41c6e={_0x32c661:0x1a9,_0x1aba62:0x90};function _0x21bd96(_0x16db07,_0x404678,_0x32b701,_0x2283f0){return _0x41fa89(_0x2283f0,_0x404678-_0xe41c6e._0x32c661,_0x32b701-_0xe41c6e._0x1aba62,_0x404678-0x31a);}if(_0x559d7e)return()=>{};_0x149d84[_0x21bd96(0x536,_0x48635e._0x3c020b,0x478,_0x48635e._0x1ef53f)](_0x4171f2);function _0x2b380b(_0x51669b,_0x4e0466,_0x34f8d7,_0x2fe130){return _0x94ead9(_0x51669b-0xbe,_0x51669b,_0x34f8d7-_0x27ce83._0x2a17cd,_0x34f8d7- -0x12c);}const _0x37a1ca=_0xdc4de0;return _0x37a1ca&&queueMicrotask(()=>{function _0x3a857c(_0x4ac091,_0x78c8fa,_0x51926c,_0x4bc404){return _0x21bd96(_0x4ac091-0x1ac,_0x78c8fa-0xbc,_0x51926c-_0x2a8b6e._0x470f6c,_0x4ac091);}if(_0x149d84[_0x3a857c(_0x23e0cf._0x1fab00,_0x23e0cf._0x1171c6,0x78a,0x592)](_0x4171f2))_0x4171f2(_0x37a1ca);}),()=>_0x149d84[_0x21bd96(0x289,0x3e1,0x5a9,0x437)](_0x4171f2);},'retire'(){function _0x1a4dcb(_0xc10b5e,_0x3830a7,_0x41b889,_0x22e1b4){return _0x41fa89(_0x41b889,_0x3830a7-_0x10f815._0x26b146,_0x41b889-0x1d2,_0xc10b5e- -_0x10f815._0x4a8d40);}return _0x268b45(),_0x277426[_0x1a4dcb(0x20a,_0x28e86f._0x252e08,0x27e,_0x28e86f._0x1083fc)]();}};}function getCommand(_0x10d171){const _0x196851={_0xa7c811:0x33,_0x488432:0x203,_0x5dc1af:0x105,_0x469f96:0x9c,_0x36e9d8:0xb9,_0x2a6202:0x89,_0x303926:0x77},_0x280d50={_0x1fc55a:0x10a},_0x4f6bd6={_0x1d304b:0xf4};function _0xa0482a(_0x2f18af,_0xd6e7b6,_0x408b4e,_0x1f6185){return _0x1ac42a(_0x2f18af-_0x4f6bd6._0x1d304b,_0xd6e7b6-0x182,_0x1f6185-0xc2,_0x408b4e);}function _0x1ac77a(_0x2c710c,_0x453d44,_0x110f3c,_0x826912){return _0x1ac42a(_0x2c710c-0xea,_0x453d44-_0x280d50._0x1fc55a,_0x826912- -0x54,_0x2c710c);}if(_0x10d171&&typeof _0x10d171==='object'&&!Array['isArray'](_0x10d171)&&typeof _0x10d171['command']===_0xa0482a(0x6d,_0x196851._0xa7c811,-_0x196851._0x488432,-_0x196851._0x5dc1af))return _0x10d171[_0x1ac77a(-0x260,-0x1c7,-0x247,-_0x196851._0x469f96)];return _0xa0482a(-_0x196851._0x36e9d8,0xbc,_0x196851._0x2a6202,_0x196851._0x303926);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x151cc1(0x33e,0x43c,0x54b,0x609),_0x1ac42a(0x100,0x41,-0x2f,0x11e),_0x151cc1(0x2d5,0x39d,0x528,0x25a),'src/agent/agent.ts',_0x1ac42a(0x23,-0x131,-0xfe,-0x1a),_0x1ac42a(-0x5d,-0xcc,-0x21,0x70),_0x151cc1(0x3d2,0x41f,0x554,0x419),'src/models/mock-model.ts',_0x151cc1(0x359,0x196,0x22e,0x72),_0x1ac42a(-0x2c,0x114,0x144,0x12),_0x1ac42a(0x176,0xc4,0xa5,0xf3),'src/shared/types.ts',_0x151cc1(0x5e9,0x460,0x3f1,0x4f0),_0x151cc1(0x137,0x1bf,0x31e,0x110),_0x151cc1(0x332,0x2d4,0x1a8,0x332),_0x1ac42a(0x22,-0xc2,-0x164,-0xc3)][_0x151cc1(0x648,0x4b9,0x46a,0x3e8)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x1ac42a(-0x13a,-0x36,0x52,-0x9a),'description':_0x1ac42a(-0xec,-0x2e,0x96,-0x1e),'input_schema':{'type':_0x151cc1(0x1f1,0x169,0x22e,-0x4c),'properties':{'command':{'type':'string'}},'required':['command']}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x22c7b6){return{'output':_0x22c7b6,'structured':{'value':_0x22c7b6}};}function createUnknownToolResult(_0x24bec1){const _0x5791b4={_0x20f172:0x694,_0x34bdd4:0x5a3,_0xfbc42f:0x683,_0x59d614:0x597},_0x4d248d={_0x3a54fb:0x181,_0x42e227:0x21},_0x2681e8={_0x580418:0x127,_0x38ee5c:0x3df};function _0xa8a19c(_0x3db13e,_0x2e9956,_0x27c93b,_0x43baa1){return _0x1ac42a(_0x3db13e-_0x2681e8._0x580418,_0x2e9956-0x188,_0x27c93b-_0x2681e8._0x38ee5c,_0x2e9956);}function _0x33793c(_0x52ee61,_0x3f935e,_0x398939,_0x4f970d){return _0x1ac42a(_0x52ee61-_0x4d248d._0x3a54fb,_0x3f935e-_0x4d248d._0x42e227,_0x52ee61-0x602,_0x4f970d);}return{'callId':_0x24bec1['id'],'toolName':_0x24bec1[_0x33793c(_0x5791b4._0x20f172,_0x5791b4._0x34bdd4,0x656,0x5b0)],'status':'error','output':'Unknown\x20tool:\x20'+_0x24bec1[_0x33793c(_0x5791b4._0x20f172,_0x5791b4._0xfbc42f,_0x5791b4._0x59d614,0x53e)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x15b91d,_0x20f476){const _0x4b0700={_0x1439dd:0x54e,_0x72e6d4:0x60a,_0x934ccd:0x12e,_0xd11648:0x2b6,_0x1e317d:0x4f},_0x5702a5={_0x41ea1f:0x29,_0xf415de:0x4f},_0x2b9180={_0x264155:0x11a};function _0x23a60d(_0xc6b62a,_0x38fc20,_0x19946a,_0x597a74){return _0x1ac42a(_0xc6b62a-0x10c,_0x38fc20-_0x2b9180._0x264155,_0x597a74-0x578,_0x38fc20);}function _0x41ab7f(_0x35b6d8,_0x3772ee,_0x217c1e,_0x26a799){return _0x1ac42a(_0x35b6d8-0x1b0,_0x3772ee-_0x5702a5._0x41ea1f,_0x35b6d8-_0x5702a5._0xf415de,_0x26a799);}return{'callId':_0x15b91d['id'],'toolName':_0x15b91d[_0x23a60d(_0x4b0700._0x1439dd,0x518,0x74e,_0x4b0700._0x72e6d4)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x15b91d[_0x41ab7f(_0x4b0700._0x934ccd,0x1bc,_0x4b0700._0xd11648,_0x4b0700._0x1e317d)]),'exitCode':0x0},'chunks':[_0x20f476],'meta':createMeta()};}function createMockToolRuntime(){const _0x410c91={_0xfb273b:0x3a1},_0x30a59d={_0x48ddc8:0x3d7},_0x1c1816={_0x2eb475:0x43f,_0x3b61a7:0x4ca,_0x4c5cfd:0x326,_0xa74be0:0x253,_0x2bd796:0x3ff,_0xdf258c:0x284},_0x3efc90={_0x50930b:0x138},_0x5a954f=async(_0xe13d50,_0x260069)=>{if(_0xe13d50[_0x168a83(0x2a7,0x4fa,_0x1c1816._0x2eb475,_0x1c1816._0x3b61a7)]!==_0x168a83(_0x1c1816._0x4c5cfd,_0x1c1816._0xa74be0,_0x1c1816._0x2bd796,_0x1c1816._0xdf258c))return createUnknownToolResult(_0xe13d50);function _0x168a83(_0x5845df,_0x3d22fc,_0x174a30,_0x573b23){return _0x5041(_0x174a30-0x83,_0x573b23);}function _0x3f4f69(_0x44c222,_0x468e6e,_0xab5db8,_0x9575f3){return _0x5041(_0x468e6e- -_0x3efc90._0x50930b,_0xab5db8);}const _0x305ceb=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0xe13d50,_0x305ceb);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x16f451,_0x340be2){function _0x517988(_0x1e2e4e,_0x50d5b1,_0x2dcd3b,_0x5fdbb2){return _0x5041(_0x5fdbb2-_0x30a59d._0x48ddc8,_0x50d5b1);}function _0x4c2625(_0x53264e,_0x5149b2,_0x5a3b16,_0x2297e0){return _0x5041(_0x5149b2-0x160,_0x53264e);}return await Promise[_0x4c2625(0x1b8,0x35f,0x503,0x48e)](_0x16f451[_0x4c2625(_0x410c91._0xfb273b,0x534,0x3df,0x3a8)](async _0x2cb3bf=>{return await _0x5a954f(_0x2cb3bf,_0x340be2);}));},async 'execute'(_0x548346,_0xa5045f){return await _0x5a954f(_0x548346,_0xa5045f);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x3d6b50={_0x5eaeca:0xb,_0x58d43b:0x186,_0x303816:0x22},_0x493a0d={_0x597d93:0x14d,_0x3171d4:0x41};function _0x2caf11(_0xa9dec2,_0x3dcb96,_0x4baa6f,_0x266136){return _0x1ac42a(_0xa9dec2-0x82,_0x3dcb96-_0x493a0d._0x597d93,_0xa9dec2-_0x493a0d._0x3171d4,_0x3dcb96);}return delegatedRunCounter+=0x1,_0x2caf11(_0x3d6b50._0x5eaeca,-0x169,-_0x3d6b50._0x58d43b,-_0x3d6b50._0x303816)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x3a70d8,_0x32cf08){const _0x291b5b={_0x2caf5b:0x338,_0x4907b4:0x4ad},_0x4c69aa={_0x126d16:0xe4};function _0x5325da(_0x2f7262,_0x1fbe62,_0x3719c7,_0x3bdf8c){return _0x151cc1(_0x2f7262-0x18,_0x3bdf8c-0x28a,_0x2f7262,_0x3bdf8c-_0x4c69aa._0x126d16);}return typeof _0x3a70d8===_0x5325da(_0x291b5b._0x2caf5b,0x3cc,_0x291b5b._0x4907b4,0x4a7)?await _0x3a70d8(_0x32cf08):_0x3a70d8;}function awaitWithAbort2(_0x26b1b1,_0x49f56b){const _0x2e9f33={_0x2067d4:0x149};return throwIfAborted(_0x49f56b),new Promise((_0x30f226,_0x48595b)=>{let _0x2ea2b8=![];const _0x1b3947=addAbortListener(_0x49f56b,()=>{if(_0x2ea2b8)return;_0x2ea2b8=!![];function _0x3dbbcd(_0x37f37,_0x1224a5,_0x1aa2fe,_0x185ae2){return _0x5041(_0x1224a5- -0x49,_0x185ae2);}_0x48595b(toAbortError(_0x49f56b[_0x3dbbcd(0x3e3,0x21a,_0x2e9f33._0x2067d4,0x273)]));});_0x26b1b1['then'](_0x42dcd9=>{if(_0x2ea2b8)return;_0x2ea2b8=!![],_0x1b3947(),_0x30f226(_0x42dcd9);},_0x445610=>{if(_0x2ea2b8)return;_0x2ea2b8=!![],_0x1b3947(),_0x48595b(_0x445610);});});}function getDelegatedAgentDefinition(_0x104358,_0x5384d8){return _0x104358['agents']?.[_0x5384d8];}function createRunSummary(_0x3e1969){const _0x5447a1={_0x414604:0x323,_0x6f169f:0x37f,_0x15e885:0x357,_0xa469be:0x355,_0x3d8730:0x32a,_0x33950d:0x1bf,_0x3fe994:0x4f1,_0x55dae2:0x41d,_0x5d7e3a:0x1df,_0x3fb757:0xa0,_0x579c61:0x88,_0x18887c:0x33c,_0xb4034b:0x3ed,_0x45a6cc:0x236,_0x53f534:0x33c,_0x4711ea:0x50c,_0x45dd13:0x46b,_0x29134b:0x246,_0x283413:0x2d5,_0x4178b2:0x3bc,_0x3844d8:0x519},_0x264e1a={_0x45302d:0x1d6,_0x21d1e6:0x111,_0x16a379:0xba},_0x42aa5f={_0x2df3ac:0xeb};function _0xbbc620(_0xe5a361,_0x3bc4ec,_0x18db6e,_0x56a9c2){return _0x1ac42a(_0xe5a361-_0x42aa5f._0x2df3ac,_0x3bc4ec-0x11d,_0x3bc4ec-0x346,_0x56a9c2);}function _0x1652e8(_0x2c2190,_0x1214de,_0x83daf7,_0x253808){return _0x151cc1(_0x2c2190-_0x264e1a._0x45302d,_0x1214de- -_0x264e1a._0x21d1e6,_0x83daf7,_0x253808-_0x264e1a._0x16a379);}return{'runId':_0x3e1969['runId'],'agentId':_0x3e1969[_0x1652e8(_0x5447a1._0x414604,_0x5447a1._0x6f169f,_0x5447a1._0x15e885,0x39d)],..._0x3e1969[_0x1652e8(_0x5447a1._0xa469be,0x2a8,0x348,_0x5447a1._0x3d8730)]!==void 0x0?{'sessionId':_0x3e1969[_0xbbc620(_0x5447a1._0x33950d,0x382,_0x5447a1._0x3fe994,0x452)]}:{},'status':_0x3e1969[_0xbbc620(0x418,0x3d1,0x32d,_0x5447a1._0x55dae2)],'parentSessionId':_0x3e1969[_0xbbc620(0x259,_0x5447a1._0x5d7e3a,_0x5447a1._0x3fb757,_0x5447a1._0x579c61)],..._0x3e1969[_0xbbc620(0x3ce,_0x5447a1._0x18887c,_0x5447a1._0xb4034b,_0x5447a1._0x45a6cc)]!==void 0x0?{'originToolCallId':_0x3e1969[_0xbbc620(0x1b8,_0x5447a1._0x53f534,_0x5447a1._0x4711ea,0x4b2)]}:{},..._0x3e1969['errorMessage']!==void 0x0?{'errorMessage':_0x3e1969[_0xbbc620(0x432,_0x5447a1._0x45dd13,0x316,0x61c)]}:{},..._0x3e1969['result']?.[_0x1652e8(0x18d,0x2c4,0x1b2,_0x5447a1._0x29134b)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x3e1969[_0xbbc620(_0x5447a1._0x283413,0x490,_0x5447a1._0x4178b2,_0x5447a1._0x3844d8)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x3532ea,_0x2c5849){const _0x13e341={_0x26f8aa:0x6c6,_0x4ad879:0x533,_0x387d0a:0x449,_0x5a480d:0x2b5},_0x433dc5={_0xc14540:0x1b5},_0x2d177a={_0x5312dd:0x167},_0x28e111=createRunSummary(_0x3532ea),_0x340b3b=_0x28e111[_0x1947ed(0x568,0x51c,_0x13e341._0x26f8aa,_0x13e341._0x4ad879)];function _0x571f95(_0x4eda90,_0x1f28fe,_0x32bc98,_0x49580d){return _0x1ac42a(_0x4eda90-_0x2d177a._0x5312dd,_0x1f28fe-0x50,_0x4eda90-0x340,_0x49580d);}function _0x1947ed(_0x5ab348,_0x4fbbe,_0x4305eb,_0x4128cf){return _0x151cc1(_0x5ab348-_0x433dc5._0xc14540,_0x4305eb-0x389,_0x4fbbe,_0x4128cf-0x19);}return createToolOutput(typeof _0x340b3b==='string'&&_0x340b3b[_0x571f95(_0x13e341._0x387d0a,0x5f9,0x3cb,_0x13e341._0x5a480d)]>0x0?_0x340b3b:_0x2c5849,_0x28e111);}function getRunTerminalErrorMessage(_0xa165e2){const _0x36788f={_0x3ba2e5:0xc1,_0x4d0418:0x558,_0x78258d:0x5ee,_0x1be577:0x216,_0x11dbb8:0xa8},_0x4050a5={_0xaab94d:0x11d},_0x5b7da0=_0xa165e2?.['state'][_0x4a864d(0x536,0x2d5,0x441,0x471)]['at'](-0x1);function _0x4a864d(_0x6bc8f3,_0x361ee8,_0x5371fd,_0x2fa997){return _0x151cc1(_0x6bc8f3-_0x4050a5._0xaab94d,_0x2fa997-0xe5,_0x5371fd,_0x2fa997-0x164);}if(_0x5b7da0?.[_0x4a864d(0x58f,0x4da,0x3e5,0x4ed)]===_0x2402ff(0x13c,0x287,_0x36788f._0x3ba2e5,0x17e)&&_0x5b7da0[_0x4a864d(_0x36788f._0x4d0418,0x496,_0x36788f._0x78258d,0x4ca)][_0x2402ff(0x28a,-0x38,0xf0,0x43)]()[_0x4a864d(0x66a,0x49f,0x69f,0x56b)]>0x0)return _0x5b7da0[_0x2402ff(_0x36788f._0x1be577,0x22c,_0x36788f._0x11dbb8,0xf0)];function _0x2402ff(_0x343e2b,_0x25a77a,_0x4319f6,_0x114f25){return _0x151cc1(_0x343e2b-0xfb,_0x4319f6- -0x33d,_0x114f25,_0x114f25-0x151);}return void 0x0;}function formatAbortedRunMessage(_0x2f49d0,_0x56dbe2){const _0x2827c9={_0x5f0843:0x62d,_0x418395:0x7c3,_0x1ceeb4:0x427,_0x1da3cf:0x6c1,_0xc0d8af:0x744},_0x54a820={_0x41dae5:0x18b,_0xc32938:0x112,_0x5b30df:0x698},_0x373754={_0x54b6d2:0x65},_0x1edabe=_0x470cab(0x792,_0x2827c9._0x5f0843,0x6a1,0x6cf)+_0x2f49d0+_0x7e1875(_0x2827c9._0x418395,0x67c,0x5f7,_0x2827c9._0x1ceeb4);function _0x470cab(_0xc1d6c0,_0x182d53,_0x30c48c,_0x490e76){return _0x151cc1(_0xc1d6c0-0x182,_0x490e76-0x2be,_0xc1d6c0,_0x490e76-_0x373754._0x54b6d2);}function _0x7e1875(_0x590ef5,_0xd3d1fc,_0x301f18,_0x50e0c9){return _0x1ac42a(_0x590ef5-_0x54a820._0x41dae5,_0xd3d1fc-_0x54a820._0xc32938,_0x301f18-_0x54a820._0x5b30df,_0x590ef5);}if(!_0x56dbe2||_0x56dbe2['trim']()[_0x470cab(0x5bc,_0x2827c9._0x1da3cf,0x73f,_0x2827c9._0xc0d8af)]===0x0||_0x56dbe2===_0x1edabe)return _0x1edabe;return _0x1edabe+'\x20Cause:\x20'+_0x56dbe2;}function createAssignTaskTool(_0x4efc54){const _0x4a86f1={_0x30a5f4:0x73e,_0x3d0220:0x4ac,_0x32fc4b:0x569,_0xbd3d99:0x464,_0x4bc067:0x2b1,_0x1791d2:0x39f,_0x1396f9:0x4b2,_0x45142d:0x624,_0x3370fc:0x44b,_0x441ab5:0x498,_0x250aa5:0x4c7,_0x1d6be6:0x2f2,_0x42d6d9:0x656,_0x151c67:0x5d8,_0x7910f5:0x5e4,_0x29a5f2:0x67b,_0x40d22a:0x58a,_0x1e6fd4:0x50d},_0x51f2d5={_0x24e0c9:0x49,_0x387476:0x21e,_0x24b0f9:0xb3,_0xd8748:0x205,_0x4c7e1f:0xb0,_0x1f2c23:0x1e9,_0x54f5a9:0x4e6,_0x3ccce1:0x360,_0x15a18f:0x659,_0x13ec15:0x6e6,_0x2cbdff:0x5aa,_0x146c78:0xde,_0x4e6317:0x7f,_0x4d6cbd:0xcb,_0x3739ec:0xdf,_0x413a46:0x187,_0x47f494:0xb,_0x448fcf:0x7b3,_0x4e2c8c:0x779,_0x340fff:0x6b8,_0x36fd2f:0x596,_0x5b0053:0x6b2,_0x5a4668:0x2b,_0x30da20:0x23d,_0x40bc0b:0x623,_0x47b579:0x731,_0x1d38d0:0xc2,_0x46e979:0xe1,_0x196011:0x228,_0x55f103:0x5be,_0xc6da46:0x682,_0x542289:0x5ec,_0x48a435:0x5ac,_0x2a3df9:0x6d7,_0x2a0723:0x1de,_0x13c165:0x89,_0x5bd5c4:0x185,_0xade3b7:0x25b,_0x18518a:0x305,_0x47ed83:0x185,_0x250aa4:0x549,_0x38ec90:0x2cd,_0x3421c5:0x440,_0x54643a:0x3a3,_0x27e627:0x5ab,_0x4e3280:0x3e0,_0x4f8399:0x406,_0x55fa34:0x470,_0x3024a5:0x50a,_0xe2760e:0xe0,_0xec4944:0x1dc,_0xf13254:0x1e,_0x2bc893:0x138,_0x4d4021:0x327,_0x408e58:0x223,_0x292f6a:0x1cf,_0x52214f:0x5,_0x20d6d4:0xc8,_0x4e6e30:0x2b4,_0x27fedc:0x23f,_0x428fb7:0x1a8,_0x41e94f:0x65,_0x4d3eba:0x161,_0xd9e727:0x46,_0x5339ed:0x29,_0x31f6e4:0x84,_0x4bb6a1:0xc5,_0x5a9f1b:0x198,_0x26440d:0x53d,_0x588c23:0x46c,_0x50060d:0x7c0,_0x26c204:0x627,_0x193ca3:0x229,_0x1a4108:0xb2,_0x4fe68f:0x5d,_0x193838:0x30,_0x22a2e0:0xff,_0x24bf11:0x7ab,_0x24a66c:0x723,_0xb7e23f:0x627,_0x14cbf2:0x28c,_0x4f4efd:0x630,_0x180a98:0x5a2,_0xce1916:0x719,_0x562e54:0x185,_0x3a1310:0x20c,_0x109fd8:0x10e,_0x3f6a0d:0x185,_0x4babe4:0x7dd,_0x2329ba:0x51a,_0x4beec1:0x67,_0x431503:0x644,_0xae46b7:0x183,_0x83726:0x1f,_0x4d492e:0x150,_0x820df3:0x192},_0x1daa59={_0xe400fb:0x3f,_0x1a584a:0xaf,_0x379595:0x152,_0x203d1d:0xb8,_0x2b05d2:0x5b,_0x9de243:0x1b},_0x1d346c={_0x55652b:0x605},_0x89583={_0x19e12d:0xd7,_0x4fba63:0x151},_0x519417={_0x299694:0xb1,_0x41f5dc:0x4c5},_0x3bf0c8={_0x1cceef:0x72,_0x1a9552:0x56,_0x423469:0x679};function _0x4c7503(_0x2b999b,_0x59abea,_0x2ef6d4,_0x1b8775){return _0x1ac42a(_0x2b999b-_0x3bf0c8._0x1cceef,_0x59abea-_0x3bf0c8._0x1a9552,_0x2b999b-_0x3bf0c8._0x423469,_0x2ef6d4);}function _0x479e06(_0x4f2943,_0x424b5c,_0x5808bf,_0x566b9e){return _0x1ac42a(_0x4f2943-0xfc,_0x424b5c-_0x519417._0x299694,_0x424b5c-_0x519417._0x41f5dc,_0x4f2943);}return defineTool({'name':_0x4c7503(_0x4a86f1._0x30a5f4,0x7e9,0x777,0x739),'permissionClass':'always-confirm','description':_0x4c7503(0x59a,0x530,_0x4a86f1._0x3d0220,_0x4a86f1._0x32fc4b),'inputSchema':{'type':_0x479e06(_0x4a86f1._0xbd3d99,_0x4a86f1._0x4bc067,0x1f5,_0x4a86f1._0x1791d2),'properties':{'agentId':{'type':'string','description':'ID\x20of\x20the\x20agent\x20to\x20invoke,\x20chosen\x20from\x20the\x20available\x20specialist\x20agents.'},'description':{'type':'string','description':'Short\x20user-facing\x20summary\x20of\x20the\x20delegated\x20work.\x20Used\x20only\x20for\x20display\x20and\x20not\x20sent\x20to\x20the\x20agent.'},'nickname':{'type':_0x4c7503(_0x4a86f1._0x1396f9,_0x4a86f1._0x45142d,0x574,0x4d6),'description':_0x479e06(0x3ab,0x426,0x2e4,0x5c0)},'task':{'type':_0x479e06(_0x4a86f1._0x3370fc,0x2fe,0x3e3,0x479),'description':_0x4c7503(_0x4a86f1._0x441ab5,_0x4a86f1._0x250aa5,0x60a,_0x4a86f1._0x1d6be6)}},'required':[_0x479e06(_0x4a86f1._0x42d6d9,_0x4a86f1._0x151c67,_0x4a86f1._0x7910f5,_0x4a86f1._0x29a5f2),_0x4c7503(_0x4a86f1._0x40d22a,0x4c9,_0x4a86f1._0x1e6fd4,0x5df),'task']},async *'execute'(_0x41ed11,_0x163f01){const _0x2b4807=createDelegatedRunId();function _0x227446(_0x3cb325,_0xba9ec7,_0x1c9305,_0x2a2512){return _0x479e06(_0x3cb325,_0x2a2512-_0x89583._0x19e12d,_0x1c9305-0x123,_0x2a2512-_0x89583._0x4fba63);}const _0x32490f=new AbortController(),_0x380ce7={'agentId':_0x41ed11[_0x49ba26(-_0x51f2d5._0x24e0c9,_0x51f2d5._0x387476,0x187,_0x51f2d5._0x24b0f9)],'parentSessionId':_0x163f01[_0x49ba26(_0x51f2d5._0xd8748,-0x75,_0x51f2d5._0x4c7e1f,_0x51f2d5._0x1f2c23)],'runId':_0x2b4807,'signal':_0x32490f[_0x227446(_0x51f2d5._0x54f5a9,_0x51f2d5._0x3ccce1,0x217,0x3a3)],..._0x163f01[_0x227446(_0x51f2d5._0x15a18f,0x4bd,_0x51f2d5._0x13ec15,_0x51f2d5._0x2cbdff)]!==void 0x0?{'toolCallId':_0x163f01[_0x49ba26(_0x51f2d5._0x146c78,0x96,0x82,-_0x51f2d5._0x4e6317)]}:{}},_0x3df933=getDelegatedAgentDefinition(_0x4efc54,_0x41ed11[_0x49ba26(_0x51f2d5._0x4d6cbd,_0x51f2d5._0x3739ec,_0x51f2d5._0x413a46,-_0x51f2d5._0x47f494)]);if(!_0x3df933)throw new ToolExecutionError(_0x227446(_0x51f2d5._0x448fcf,_0x51f2d5._0x4e2c8c,_0x51f2d5._0x340fff,0x6c8)+_0x41ed11[_0x227446(_0x51f2d5._0x36fd2f,0x4f0,_0x51f2d5._0x5b0053,0x6af)],{'agentId':_0x41ed11[_0x49ba26(_0x51f2d5._0x5a4668,_0x51f2d5._0x30da20,0x187,0x21)]});function _0x49ba26(_0x2089f9,_0x16df3b,_0x4c1aee,_0x182043){return _0x4c7503(_0x4c1aee- -_0x1d346c._0x55652b,_0x16df3b-0x51,_0x182043,_0x182043-0x1b1);}let _0x458bd8={'runId':_0x2b4807,'agentId':_0x41ed11[_0x227446(_0x51f2d5._0x40bc0b,_0x51f2d5._0x47b579,0x847,0x6af)],'status':_0x49ba26(-0x255,-_0x51f2d5._0x1d38d0,-0xb1,_0x51f2d5._0x46e979),'parentSessionId':_0x163f01[_0x49ba26(-0x25,_0x51f2d5._0x413a46,_0x51f2d5._0x4c7e1f,_0x51f2d5._0x196011)],..._0x163f01[_0x227446(0x3fa,0x507,_0x51f2d5._0x55f103,0x5aa)]!==void 0x0?{'originToolCallId':_0x163f01[_0x227446(0x66e,_0x51f2d5._0xc6da46,0x6d7,0x5aa)]}:{}};const _0x48cc3f=addAbortListener(_0x163f01[_0x49ba26(-0x270,-0x15,-0x185,-0x20c)],()=>{const _0x5ec794={_0x216331:0x1a3,_0x3264e5:0x161},_0x133742={_0x55c4b2:0x104};function _0x2bd152(_0x512c2a,_0x4c9b65,_0x2b3a41,_0x29aa15){return _0x49ba26(_0x512c2a-_0x133742._0x55c4b2,_0x4c9b65-0x1a7,_0x2b3a41- -0x12f,_0x29aa15);}function _0x2422cf(_0x147562,_0x4fb4d7,_0x60926e,_0xdb8772){return _0x227446(_0x60926e,_0x4fb4d7-_0x5ec794._0x216331,_0x60926e-_0x5ec794._0x3264e5,_0x147562- -0x41d);}_0x32490f[_0x2bd152(-_0x1daa59._0xe400fb,-0x189,-0xb1,-_0x1daa59._0x1a584a)](_0x163f01[_0x2422cf(-0x7a,-0x133,_0x1daa59._0x379595,0x14)][_0x2422cf(_0x1daa59._0x203d1d,-_0x1daa59._0x2b05d2,_0x1daa59._0x9de243,-0xee)]);});let _0x3800a5,_0x29f930,_0x3e0a31,_0xa20e2b;try{_0x4efc54[_0x227446(_0x51f2d5._0x542289,_0x51f2d5._0x48a435,0x65b,_0x51f2d5._0x2a3df9)]!==void 0x0&&(_0x3800a5=await _0x4efc54['semaphore'][_0x227446(0x5c4,0x5cf,0x4b7,0x519)](_0x32490f[_0x49ba26(-_0x51f2d5._0x2a0723,-_0x51f2d5._0x13c165,-_0x51f2d5._0x5bd5c4,-_0x51f2d5._0xade3b7)]));throwIfAborted(_0x32490f['signal']);const _0x5c4c3e=await awaitWithAbort2(resolveDelegatedAgentOptions(_0x3df933,_0x380ce7),_0x32490f[_0x49ba26(-_0x51f2d5._0x18518a,-_0x51f2d5._0x146c78,-_0x51f2d5._0x47ed83,-0xcc)]);throwIfAborted(_0x32490f[_0x227446(_0x51f2d5._0x250aa4,_0x51f2d5._0x38ec90,_0x51f2d5._0x3421c5,_0x51f2d5._0x54643a)]);const _0x5599f3=_0x4efc54[_0x227446(0x3f8,0x331,_0x51f2d5._0x27e627,_0x51f2d5._0x4e3280)]!==void 0x0&&_0x5c4c3e[_0x227446(_0x51f2d5._0x4f8399,0x6d5,_0x51f2d5._0x55fa34,_0x51f2d5._0x3024a5)]!==void 0x0?{..._0x5c4c3e,'systemPrompt':_0x4efc54[_0x49ba26(-0x189,-_0x51f2d5._0xe2760e,-0x148,-0x1ec)](_0x5c4c3e[_0x49ba26(0x18f,-_0x51f2d5._0xec4944,-_0x51f2d5._0xf13254,-_0x51f2d5._0x2bc893)])}:_0x5c4c3e;throwIfAborted(_0x32490f[_0x227446(0x52b,_0x51f2d5._0x4d4021,0x305,0x3a3)]);const _0x591dd2=new Agent(_0x5599f3);_0x458bd8={..._0x458bd8,'sessionId':_0x591dd2[_0x49ba26(_0x51f2d5._0x408e58,_0x51f2d5._0x292f6a,0xb0,-_0x51f2d5._0x52214f)]},_0x29f930=_0x4efc54[_0x49ba26(-0x46,-0x15f,-_0x51f2d5._0x20d6d4,-0xd)]?.(_0x591dd2,_0x380ce7);const _0x8692a7=new Promise(_0x10091b=>{_0xa20e2b=_0x10091b;});_0x3e0a31=_0x4efc54[_0x49ba26(_0x51f2d5._0x4e6e30,_0x51f2d5._0x27fedc,_0x51f2d5._0x428fb7,0x153)]?.({'runId':_0x2b4807,'abortController':_0x32490f,'completion':_0x8692a7}),yield createToolOutput(_0x49ba26(-_0x51f2d5._0x41e94f,-0x124,-0x46,-_0x51f2d5._0x4d3eba)+_0x458bd8[_0x49ba26(_0x51f2d5._0xd9e727,0x7f,0xc9,_0x51f2d5._0x5339ed)]+'.',{'runId':_0x458bd8[_0x49ba26(0xba,-_0x51f2d5._0x31f6e4,0xc9,-_0x51f2d5._0x4bb6a1)],'agentId':_0x458bd8[_0x49ba26(-0x2d,0x149,0x187,_0x51f2d5._0x5a9f1b)],'sessionId':_0x591dd2[_0x227446(_0x51f2d5._0x26440d,0x5d9,0x69a,0x5d8)],'status':_0x458bd8[_0x227446(0x662,_0x51f2d5._0x588c23,_0x51f2d5._0x50060d,_0x51f2d5._0x26c204)]}),throwIfAborted(_0x32490f[_0x227446(0x4c3,0x213,_0x51f2d5._0x193ca3,0x3a3)]);const _0x31055f=await _0x591dd2[_0x227446(0x73a,0x6bd,0x559,0x697)](_0x41ed11[_0x49ba26(_0x51f2d5._0x1a4108,0x2d,-_0x51f2d5._0x4fe68f,0x162)],{'streaming':!![],'signal':_0x32490f['signal']});_0x458bd8={..._0x458bd8,'status':_0x31055f[_0x49ba26(_0x51f2d5._0x193838,_0x51f2d5._0x4e6e30,_0x51f2d5._0x22a2e0,0x1e0)],'result':_0x31055f};if(_0x31055f[_0x227446(0x544,_0x51f2d5._0x24bf11,_0x51f2d5._0x24a66c,_0x51f2d5._0xb7e23f)]!=='completed'){const _0x2b4a17=getRunTerminalErrorMessage(_0x31055f),_0x432072=formatAbortedRunMessage(_0x458bd8[_0x49ba26(-0x2c,_0x51f2d5._0x14cbf2,0xc9,-0x68)],_0x2b4a17);throw new ToolExecutionError(_0x432072,{...createRunSummary(_0x458bd8),'aborted':!![],'errorMessage':_0x432072});}return createRunSummaryOutput(_0x458bd8,_0x227446(0x679,0x5fa,0x6b7,_0x51f2d5._0x4f4efd)+_0x458bd8['runId']+_0x227446(0x7b8,0x785,_0x51f2d5._0x180a98,_0x51f2d5._0xce1916));}catch(_0x3f0e29){if(_0x3f0e29 instanceof ToolExecutionError)throw _0x3f0e29;if(isAbortError(_0x3f0e29)||_0x32490f[_0x49ba26(-0x4c,-0x2ac,-_0x51f2d5._0x562e54,-_0x51f2d5._0x3a1310)]['aborted']||_0x163f01[_0x49ba26(-_0x51f2d5._0x109fd8,-0x31c,-_0x51f2d5._0x3f6a0d,-0x2a7)]['aborted']){const _0x50c2a9=getRunTerminalErrorMessage(_0x458bd8[_0x227446(_0x51f2d5._0x4babe4,0x6fa,_0x51f2d5._0x2329ba,_0x51f2d5._0x13ec15)])??(_0x3f0e29 instanceof Error?_0x3f0e29[_0x49ba26(0x33c,_0x51f2d5._0x4beec1,0x185,0xf)]:String(_0x3f0e29)),_0x3add30=formatAbortedRunMessage(_0x458bd8['runId'],_0x50c2a9);_0x458bd8={..._0x458bd8,'status':'aborted','errorMessage':_0x3add30};throw new ToolExecutionError(_0x3add30,{...createRunSummary(_0x458bd8),'aborted':!![],'errorMessage':_0x3add30});}const _0x252a18=getRunTerminalErrorMessage(_0x458bd8[_0x227446(0x6cc,0x5e6,0x710,0x6e6)])??(_0x3f0e29 instanceof Error?_0x3f0e29['message']:String(_0x3f0e29))??_0x227446(0x749,_0x51f2d5._0x431503,0x5ae,0x630)+_0x458bd8['runId']+_0x49ba26(0xb2,-0x37,_0x51f2d5._0xae46b7,-_0x51f2d5._0x83726);_0x458bd8={..._0x458bd8,'status':_0x49ba26(0x324,_0x51f2d5._0x4d492e,0x19d,_0x51f2d5._0x820df3),'errorMessage':_0x252a18};throw new ToolExecutionError(_0x252a18,{...createRunSummary(_0x458bd8),'errorMessage':_0x252a18});}finally{_0xa20e2b?.(),_0x3e0a31?.(),_0x29f930?.(),_0x3800a5?.(),_0x48cc3f();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x4afc03){return[createAssignTaskTool(_0x4afc03)];}import*as _0x3b5f3c from'path';function buildDescription2(_0x32c04f){const _0x4660af={_0x5e66dd:0x16e,_0x244af3:0x32,_0x1a73b8:0x2b7,_0x2ef6f2:0x327,_0x5b16ce:0x2d3,_0x28912c:0x2a4,_0x34943b:0x1f,_0x1df339:0x15d,_0x4c02e5:0xf5,_0x4068e8:0xa4,_0x5d24a9:0x2e2,_0x1171be:0x48d,_0x59e5b7:0x41e},_0x3b0ce0={_0xc8fa48:0x0,_0x2625ca:0x2da},_0x33da9c={_0x262ea8:0x3f,_0x529c93:0xb,_0x30e22a:0x1c9};function _0x3b23b7(_0x48ad5b,_0x1e27f1,_0x71b3b8,_0x4f06d4){return _0x1ac42a(_0x48ad5b-_0x33da9c._0x262ea8,_0x1e27f1-_0x33da9c._0x529c93,_0x4f06d4-_0x33da9c._0x30e22a,_0x71b3b8);}if(_0x32c04f[_0x3b23b7(0x30d,0x3d4,_0x4660af._0x5e66dd,0x2d2)]===0x0)return _0x3b23b7(-_0x4660af._0x244af3,_0x4660af._0x1a73b8,0x154,0x144);const _0x164b05=[_0x3b23b7(_0x4660af._0x2ef6f2,0x1ef,_0x4660af._0x5b16ce,0x248),_0x33a50b(-_0x4660af._0x28912c,-0xe2,-_0x4660af._0x34943b,-_0x4660af._0x1df339),_0x33a50b(-0x2c3,-_0x4660af._0x4c02e5,-0x1a2,_0x4660af._0x4068e8),'Available\x20skills\x20(skill_name:\x20description):',..._0x32c04f[_0x3b23b7(0x318,0x157,_0x4660af._0x5d24a9,0x273)](_0x4944a4=>'-\x20'+_0x4944a4['name']+':\x20'+_0x4944a4['description'])];function _0x33a50b(_0x55277e,_0x50b0e0,_0x258a52,_0xedaa07){return _0x151cc1(_0x55277e-_0x3b0ce0._0xc8fa48,_0x50b0e0- -_0x3b0ce0._0x2625ca,_0xedaa07,_0xedaa07-0x48);}return _0x164b05[_0x3b23b7(_0x4660af._0x1171be,0x155,_0x4660af._0x59e5b7,0x305)]('\x0a');}function createLoadSkillTool(_0x9d34b3){const _0x214f9b={_0x2eedaa:0x358,_0x417431:0x3e3,_0xa91fc3:0x50a,_0x168781:0x72d,_0x27e5db:0x463,_0x12986d:0x291,_0x4d3507:0x23d,_0x82be1c:0x34b,_0x2a908a:0x537},_0x454fa4={_0xa12abf:0x5b7,_0x3f5d47:0x5af,_0x521982:0x482,_0x12bd0b:0x541,_0x3ec8b7:0x66e,_0x3843b9:0x659,_0x370f1c:0x558,_0x88cc9:0x4c2,_0x5bd97c:0x768,_0x3513ec:0x59c,_0x181f59:0x5af,_0x37e19c:0x67b,_0x2ec787:0x48b,_0x237003:0x5db,_0x4b085c:0x1a9,_0x93f024:0x419,_0x35697a:0x633,_0x5792c7:0x7e1,_0x1b131b:0x5d9,_0x3fe7c4:0x5b2,_0x1a9d5a:0x4bc,_0x518188:0x4f4,_0x18dcc1:0x479,_0x4a849d:0x41a,_0x379d8a:0x3d7,_0x1772a9:0x43e,_0x3923cd:0x6b8,_0x277912:0x681,_0x14c094:0x7fe,_0x376401:0x61d,_0x219140:0x4d1,_0x5785e6:0x843,_0x5dddcb:0x6f4,_0x508417:0x739,_0x14d145:0x509,_0x5dc6c8:0x5af,_0x366590:0x534,_0x198e28:0x3e1,_0x5226cb:0x545,_0x4b0801:0x469,_0x28fd7c:0x3ad},_0x227e3b={_0x183ecf:0x1e8},_0x1e7f0f={_0x57dfc0:0x128,_0x22b6f2:0x150},_0x2d1aba={_0x1ef3da:0x1ae},_0x5387c2=new Map(_0x9d34b3[_0x5cf721(0x3a6,0x33d,0x200,_0x214f9b._0x2eedaa)]['map'](_0x5c4497=>[_0x5c4497[_0x14b0a1(0x537,0x6a0,0x42e,0x46d)],_0x5c4497]));function _0x5cf721(_0x13f047,_0x595461,_0x5fc65b,_0x307dd3){return _0x151cc1(_0x13f047-0x1a1,_0x595461-_0x2d1aba._0x1ef3da,_0x13f047,_0x307dd3-0x133);}const _0x5487a9=buildDescription2(_0x9d34b3['skills']);function _0x14b0a1(_0x2e59b9,_0x142362,_0x2ba119,_0x4297ff){return _0x151cc1(_0x2e59b9-0x1a7,_0x2e59b9-_0x1e7f0f._0x57dfc0,_0x142362,_0x4297ff-_0x1e7f0f._0x22b6f2);}return defineTool({'name':_0x14b0a1(_0x214f9b._0x417431,0x357,_0x214f9b._0xa91fc3,0x534),'permissionClass':_0x5cf721(_0x214f9b._0x168781,0x618,0x570,_0x214f9b._0x27e5db),'description':_0x5487a9,'inputSchema':{'type':_0x14b0a1(_0x214f9b._0x12986d,_0x214f9b._0x4d3507,_0x214f9b._0x82be1c,0x2a1),'properties':{'name':{'type':'string'}},'required':[_0x14b0a1(_0x214f9b._0x2a908a,0x39c,0x645,0x6cc)]},async *'execute'(_0xaf876a){const _0x51a5d2={_0x50a6d3:0xe},_0x418e15=_0x5387c2[_0x34ccf5(0x533,_0x454fa4._0xa12abf,0x5ad,0x679)](_0xaf876a[_0x2c8a8c(_0x454fa4._0x3f5d47,0x594,_0x454fa4._0x521982,0x4fc)]);if(!_0x418e15){const _0xde8e41=Array['from'](_0x5387c2[_0x34ccf5(0x6f4,_0x454fa4._0x12bd0b,_0x454fa4._0x3ec8b7,0x6c4)]())[_0x2c8a8c(_0x454fa4._0x3843b9,_0x454fa4._0x370f1c,0x7f4,_0x454fa4._0x88cc9)](',\x20');throw new ToolExecutionError('Skill\x20\x27'+_0xaf876a['name']+_0x34ccf5(0x5c1,0x6a6,_0x454fa4._0x5bd97c,_0x454fa4._0x3513ec)+_0xde8e41,{'name':_0xaf876a[_0x2c8a8c(_0x454fa4._0x181f59,_0x454fa4._0x37e19c,_0x454fa4._0x2ec787,_0x454fa4._0x237003)]});}function _0x34ccf5(_0x187622,_0x2a1187,_0x44e634,_0x3b0f61){return _0x14b0a1(_0x3b0f61-_0x227e3b._0x183ecf,_0x44e634,_0x44e634-0x115,_0x3b0f61-0x18);}const _0x5a20a1=await _0x9d34b3['loadSkill'](_0x418e15);function _0x2c8a8c(_0x3e2eed,_0x127852,_0x4bd1e8,_0x4f3a2d){return _0x5cf721(_0x4bd1e8,_0x3e2eed- -0xe,_0x4bd1e8-_0x51a5d2._0x50a6d3,_0x4f3a2d-0x1f1);}const _0xea439f=_0x418e15[_0x2c8a8c(0x34c,0x4c4,0x2be,_0x454fa4._0x4b085c)][_0x2c8a8c(0x3fe,0x3d9,_0x454fa4._0x93f024,0x50c)]??_0x3b5f3c[_0x34ccf5(_0x454fa4._0x35697a,0x7da,0x726,_0x454fa4._0x5792c7)](_0x418e15[_0x34ccf5(0x4a3,_0x454fa4._0x1b131b,_0x454fa4._0x3fe7c4,_0x454fa4._0x1a9d5a)][_0x2c8a8c(0x3ad,0x430,_0x454fa4._0x518188,_0x454fa4._0x18dcc1)]),_0x4b33c3=[_0x2c8a8c(_0x454fa4._0x4a849d,0x46b,_0x454fa4._0x379d8a,_0x454fa4._0x1772a9)+_0x5a20a1[_0x34ccf5(_0x454fa4._0x3923cd,0x6f9,_0x454fa4._0x277912,0x71f)],'',_0x5a20a1['instructions'],'',_0x34ccf5(_0x454fa4._0x14c094,0x7af,0x726,0x799),_0x34ccf5(_0x454fa4._0x376401,0x51e,_0x454fa4._0x219140,0x63c)+_0x418e15['source']['path'],_0x34ccf5(_0x454fa4._0x5785e6,_0x454fa4._0x5dddcb,_0x454fa4._0x508417,0x70f)+_0xea439f][_0x2c8a8c(0x659,_0x454fa4._0x14d145,_0x454fa4._0x3fe7c4,0x643)]('\x0a');return yield createToolOutput(_0x4b33c3,{'id':_0x5a20a1['id'],'name':_0x5a20a1[_0x2c8a8c(_0x454fa4._0x5dc6c8,0x604,_0x454fa4._0x366590,_0x454fa4._0x198e28)],'path':_0x418e15[_0x34ccf5(_0x454fa4._0x5226cb,0x618,_0x454fa4._0x4b0801,_0x454fa4._0x1a9d5a)][_0x2c8a8c(_0x454fa4._0x28fd7c,0x52a,0x246,0x3b5)],'baseDirectory':_0xea439f}),void 0x0;}});}var TODO_STATUSES=new Set([_0x1ac42a(-0x53,0x47,-0xb4,-0x275),_0x151cc1(0x438,0x375,0x43b,0x30a),_0x1ac42a(-0x2a8,-0x22,-0x1eb,-0x232)]),TODO_PRIORITIES=new Set(['high',_0x151cc1(0xdf,0x200,0x253,0x350),_0x151cc1(0x255,0x18b,0x11f,0x281)]);function isTodoStatus(_0x119f39){const _0xd29c48={_0x5b8ba0:0x168,_0x12a735:0x5d,_0x12de12:0x472,_0x3058c9:0x570},_0x2637e1={_0x500750:0x60},_0xae0d0f={_0x330da3:0x1aa,_0x1c5787:0x144};function _0xc7c70f(_0x2466ad,_0x22967b,_0x50dcd4,_0x1389a2){return _0x1ac42a(_0x2466ad-0x81,_0x22967b-_0xae0d0f._0x330da3,_0x1389a2-_0xae0d0f._0x1c5787,_0x2466ad);}function _0xfc763a(_0x46ec6a,_0x5da775,_0x25e8f4,_0x4cca0f){return _0x151cc1(_0x46ec6a-0x59,_0x46ec6a-_0x2637e1._0x500750,_0x25e8f4,_0x4cca0f-0x96);}return typeof _0x119f39===_0xc7c70f(-_0xd29c48._0x5b8ba0,-0x1b0,-_0xd29c48._0x12a735,-0x83)&&TODO_STATUSES[_0xfc763a(_0xd29c48._0x12de12,0x63d,0x5de,_0xd29c48._0x3058c9)](_0x119f39);}function isTodoPriority(_0x25a32f){const _0x51fbc2={_0x1de9f9:0x567,_0xbcbb6:0x712},_0x40eb9f={_0x5ce6a2:0x1a6};function _0x15fb0d(_0x23b1c2,_0x37c622,_0x215dec,_0x1e8b41){return _0x151cc1(_0x23b1c2-_0x40eb9f._0x5ce6a2,_0x37c622-0x155,_0x23b1c2,_0x1e8b41-0x176);}return typeof _0x25a32f==='string'&&TODO_PRIORITIES[_0x15fb0d(0x47e,_0x51fbc2._0x1de9f9,_0x51fbc2._0xbcbb6,0x59e)](_0x25a32f);}var TodoStore=class{['todosBySession']=new Map();['getTodos'](_0xa10443){const _0x4d20c4={_0x36730e:0x375},_0x566e92={_0x102292:0x101};function _0x29e702(_0x4bd0b3,_0x217df7,_0xb8b3c2,_0x16d276){return _0x151cc1(_0x4bd0b3-0x13e,_0x16d276- -_0x566e92._0x102292,_0x217df7,_0x16d276-0x9c);}return this['todosBySession'][_0x29e702(0x1e3,0x323,_0x4d20c4._0x36730e,0x268)](_0xa10443)??[];}['setTodos'](_0x31e6f9,_0x379db0){const _0xb88d5d={_0x16f616:0x15d,_0x3ee422:0x106},_0x3e0b9e={_0xc682ce:0xc9,_0x4e2050:0x12e};function _0x139db2(_0xedef17,_0x358682,_0x5969e3,_0x3825f7){return _0x151cc1(_0xedef17-_0x3e0b9e._0xc682ce,_0x3825f7- -0x273,_0x5969e3,_0x3825f7-_0x3e0b9e._0x4e2050);}this[_0x139db2(_0xb88d5d._0x16f616,-0x199,_0xb88d5d._0x3ee422,-0x2a)]['set'](_0x31e6f9,_0x379db0);}[_0x151cc1(0x44f,0x496,0x4b8,0x2f2)](_0x262110){const _0x25ab2b={_0x435c9d:0x4b0,_0x43eefb:0x337,_0x4cce7d:0x506,_0x4fc3fe:0x374,_0x2085db:0x4b4,_0x309b1d:0x3b0,_0x1b4a07:0x37a,_0x5a2f57:0x233,_0x1e9354:0x316,_0x5370be:0x576,_0x2e4e03:0x5a3,_0x1d5778:0x4c4,_0x131d34:0x20b,_0xd8c42a:0x3bf},_0x4e7245={_0x223e83:0x179,_0x3467bd:0x9b};function _0x20af42(_0x5730b3,_0x252a63,_0x545628,_0x1c98c0){return _0x151cc1(_0x5730b3-0x126,_0x5730b3-0x2a,_0x252a63,_0x1c98c0-0x9c);}function _0x4dc65b(_0x23c635,_0x5f3efa,_0x1d9e93,_0x2eb38a){return _0x1ac42a(_0x23c635-_0x4e7245._0x223e83,_0x5f3efa-_0x4e7245._0x3467bd,_0x2eb38a-0x464,_0x1d9e93);}const _0x5b946c=this['getTodos'](_0x262110),_0x4217d9={'total':_0x5b946c[_0x20af42(_0x25ab2b._0x435c9d,0x3c8,_0x25ab2b._0x43eefb,_0x25ab2b._0x4cce7d)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0xaf9a16 of _0x5b946c){if(_0xaf9a16['status']===_0x4dc65b(_0x25ab2b._0x4fc3fe,0x419,_0x25ab2b._0x2085db,_0x25ab2b._0x309b1d))_0x4217d9[_0x4dc65b(_0x25ab2b._0x1b4a07,_0x25ab2b._0x5a2f57,_0x25ab2b._0x1e9354,_0x25ab2b._0x309b1d)]+=0x1;else{if(_0xaf9a16['status']==='in_progress')_0x4217d9[_0x4dc65b(_0x25ab2b._0x5370be,_0x25ab2b._0x2e4e03,0x581,_0x25ab2b._0x1d5778)]+=0x1;else _0x4217d9[_0x4dc65b(_0x25ab2b._0x131d34,0x141,_0x25ab2b._0xd8c42a,0x279)]+=0x1;}}return _0x4217d9;}};function validateTodos(_0x283884){const _0x2f69d3={_0x4b42ba:0x2d6,_0x5955f3:0x60b,_0xf04835:0x784,_0x5db272:0x667,_0x111f51:0x7c3,_0x19f8a3:0x10b,_0x557735:0x175,_0x7af338:0x2be,_0x4908f4:0x252,_0x3d1ec1:0x2ba,_0x51d110:0x2ef,_0xa51624:0x81f,_0xe3efac:0x74d,_0x3bcabb:0x2b1,_0x527593:0x268,_0x32743d:0x40e,_0x36d703:0x15d,_0x3609a4:0x281,_0x17dded:0x861,_0x25f2ef:0x5c5,_0x35d4df:0x67a,_0x42d3b6:0x676,_0x28f85a:0x3f6,_0x17f0b4:0x54c,_0x2909a3:0x4f3,_0xaf78b:0x223,_0x6edebc:0x365,_0x53fcf1:0x3e8,_0x2c68f6:0x2c6,_0x4bd09c:0x441,_0x1d3e7e:0x81b,_0x42ff81:0x104,_0x348cf1:0x257,_0x5ac105:0x23e,_0x5fa727:0x75a,_0x157e7a:0x6ed,_0x2ae01a:0x875,_0x534a18:0x5b8,_0x3198e:0x535,_0x56dfcd:0x587,_0x2c48c5:0x3e6,_0x1f01dc:0x56e,_0x5dd28b:0x33d,_0x10b14f:0x297,_0x395327:0x40e,_0x4a1583:0x28b,_0x20c0bf:0x48a,_0x563c51:0x4a5,_0x57afaa:0x558,_0x474059:0x852,_0x2cc391:0x774,_0x11e91b:0x3e0,_0x52d8c7:0x43a,_0x495ea2:0x94f,_0x1e6008:0x843,_0x10d2f:0x821,_0x448b4a:0x27b,_0x59cc69:0x2b7,_0xf6e14d:0x1ee,_0x5451f7:0x3bc},_0x2c42fe={_0x468b71:0x198,_0x4eb157:0x1d,_0x9dd665:0x338};function _0x24ae13(_0x109c0f,_0x1191de,_0x2ff7f4,_0x28d67c){return _0x151cc1(_0x109c0f-0xdd,_0x28d67c-0x33d,_0x109c0f,_0x28d67c-0x16d);}if(!Array[_0x17c21c(_0x2f69d3._0x4b42ba,0x3cf,0x13a,0x20f)](_0x283884[_0x17c21c(0x36a,0x4a7,0x488,0x402)])||_0x283884[_0x24ae13(_0x2f69d3._0x5955f3,0x5f5,0x706,_0x2f69d3._0xf04835)][_0x24ae13(0x66e,_0x2f69d3._0x5db272,0x69d,_0x2f69d3._0x111f51)]===0x0)throw new ToolExecutionError(_0x17c21c(0x158,_0x2f69d3._0x19f8a3,0x8f,_0x2f69d3._0x557735),{'error':_0x17c21c(_0x2f69d3._0x7af338,_0x2f69d3._0x4908f4,_0x2f69d3._0x3d1ec1,_0x2f69d3._0x51d110)});for(let _0x1a8703=0x0;_0x1a8703<_0x283884[_0x24ae13(0x79d,_0x2f69d3._0xa51624,0x890,0x784)][_0x24ae13(0x5ff,0x7c1,0x68e,0x7c3)];_0x1a8703+=0x1){const _0x4cf752=_0x283884[_0x24ae13(_0x2f69d3._0xf04835,0x74c,_0x2f69d3._0xe3efac,0x784)][_0x1a8703];if(!_0x4cf752||typeof _0x4cf752!=='object')throw new ToolExecutionError(_0x17c21c(_0x2f69d3._0x3bcabb,0x476,_0x2f69d3._0x527593,_0x2f69d3._0x32743d)+(_0x1a8703+0x1)+_0x17c21c(0x3b3,_0x2f69d3._0x36d703,0x183,_0x2f69d3._0x3609a4),{'error':_0x24ae13(_0x2f69d3._0x17dded,_0x2f69d3._0x25f2ef,_0x2f69d3._0x35d4df,_0x2f69d3._0xe3efac)});if(typeof _0x4cf752['id']!==_0x24ae13(_0x2f69d3._0x42d3b6,_0x2f69d3._0x28f85a,_0x2f69d3._0x17f0b4,_0x2f69d3._0x2909a3)||_0x4cf752['id'][_0x17c21c(_0x2f69d3._0xaf78b,0x542,_0x2f69d3._0x6edebc,_0x2f69d3._0x53fcf1)]()[_0x17c21c(_0x2f69d3._0x2c68f6,0x2e5,0x3c3,_0x2f69d3._0x4bd09c)]===0x0)throw new ToolExecutionError(_0x24ae13(_0x2f69d3._0x1d3e7e,0x5d2,0x891,0x790)+(_0x1a8703+0x1)+_0x17c21c(_0x2f69d3._0x42ff81,0x39b,_0x2f69d3._0x348cf1,_0x2f69d3._0x5ac105),{'error':_0x24ae13(_0x2f69d3._0x5fa727,_0x2f69d3._0x157e7a,_0x2f69d3._0x2ae01a,0x7aa)});if(typeof _0x4cf752[_0x17c21c(0x314,0x492,0x2fc,0x43c)]!==_0x24ae13(_0x2f69d3._0x534a18,_0x2f69d3._0x3198e,0x55e,_0x2f69d3._0x2909a3)||_0x4cf752['content'][_0x17c21c(_0x2f69d3._0x56dfcd,0x4fa,_0x2f69d3._0x2c48c5,0x3e8)]()[_0x17c21c(0x305,_0x2f69d3._0x1f01dc,0x5ae,0x441)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x1a8703+0x1)+':\x20content\x20required',{'error':'invalid_todo_content'});if(!isTodoStatus(_0x4cf752['status']))throw new ToolExecutionError(_0x17c21c(0x42a,_0x2f69d3._0x5dd28b,_0x2f69d3._0x10b14f,_0x2f69d3._0x395327)+(_0x1a8703+0x1)+_0x17c21c(0x175,_0x2f69d3._0x4a1583,_0x2f69d3._0x20c0bf,0x313),{'error':_0x24ae13(0x792,0x853,0x882,0x79b)});if(!isTodoPriority(_0x4cf752[_0x24ae13(_0x2f69d3._0x563c51,_0x2f69d3._0x57afaa,0x466,0x509)]))throw new ToolExecutionError(_0x24ae13(0x760,0x5c2,0x60e,0x790)+(_0x1a8703+0x1)+_0x24ae13(0x7f0,_0x2f69d3._0x474059,0x80c,_0x2f69d3._0x2cc391),{'error':'invalid_todo_priority'});}const _0x3ac00b=_0x283884['todos'][_0x17c21c(_0x2f69d3._0x11e91b,0x37f,_0x2f69d3._0x52d8c7,0x3e2)](_0x1d54a1=>_0x1d54a1['id']);function _0x17c21c(_0x11522a,_0xf6b50f,_0x26e276,_0x237106){return _0x1ac42a(_0x11522a-_0x2c42fe._0x468b71,_0xf6b50f-_0x2c42fe._0x4eb157,_0x237106-_0x2c42fe._0x9dd665,_0xf6b50f);}if(new Set(_0x3ac00b)[_0x24ae13(_0x2f69d3._0x495ea2,0x8e8,_0x2f69d3._0x1e6008,_0x2f69d3._0x10d2f)]!==_0x3ac00b['length'])throw new ToolExecutionError(_0x17c21c(_0x2f69d3._0x448b4a,_0x2f69d3._0x59cc69,_0x2f69d3._0xf6e14d,_0x2f69d3._0x5451f7),{'error':_0x17c21c(0x373,0x49b,0x1a0,0x33a)});}function createStatsProgress(_0x91d49e){const _0x47e5b0={_0x46d229:0x4a4,_0x270ce7:0x44d,_0x59b47f:0x554,_0x3ab7cd:0x432,_0x52564d:0x390},_0x304615={_0x14219b:0x107,_0x558cbf:0x51b},_0x3e6271={_0x2adabc:0x66,_0x378384:0x173};function _0x3dbb60(_0x492ee4,_0x32967f,_0x34e2f4,_0x12dffe){return _0x151cc1(_0x492ee4-_0x3e6271._0x2adabc,_0x492ee4-_0x3e6271._0x378384,_0x34e2f4,_0x12dffe-0xd7);}function _0x378cae(_0x40365c,_0x4e337a,_0x1d80ec,_0x2e48c0){return _0x1ac42a(_0x40365c-_0x304615._0x14219b,_0x4e337a-0x19f,_0x1d80ec-_0x304615._0x558cbf,_0x40365c);}return _0x91d49e[_0x378cae(0x5b1,0x310,0x432,0x487)]>0x0?Math[_0x3dbb60(_0x47e5b0._0x46d229,0x61a,0x614,0x59b)](_0x91d49e[_0x378cae(0x356,0x16b,0x330,_0x47e5b0._0x270ce7)]/_0x91d49e[_0x378cae(_0x47e5b0._0x59b47f,0x575,_0x47e5b0._0x3ab7cd,_0x47e5b0._0x52564d)]*0x64)+'%':'0%';}function createReminderItems(_0x1ef081){const _0x2a2f91={_0x4ed257:0x590,_0x3a289b:0x33f},_0x4a006c={_0x2e85:0x24,_0x4f3252:0x166,_0x286e5f:0xc4},_0x275945={_0x105f6c:0x335};function _0x51a071(_0x2fe995,_0x305bda,_0x10f2b3,_0x163e09){return _0x1ac42a(_0x2fe995-0x41,_0x305bda-0x109,_0x305bda-_0x275945._0x105f6c,_0x163e09);}function _0x5b5331(_0x4cdfc4,_0x262311,_0x363081,_0x390c89){return _0x151cc1(_0x4cdfc4-_0x4a006c._0x2e85,_0x4cdfc4-_0x4a006c._0x4f3252,_0x262311,_0x390c89-_0x4a006c._0x286e5f);}return _0x1ef081[_0x51a071(_0x2a2f91._0x4ed257,0x3df,0x48d,_0x2a2f91._0x3a289b)](_0x11aae=>({'content':_0x11aae[_0x5b5331(0x5e7,0x4f1,0x60a,0x56f)],'status':_0x11aae[_0x51a071(0x370,0x3c0,0x390,0x30f)],'id':_0x11aae['id']}));}function createStructuredResult(_0x7eff52,_0x446e60,_0x27b15e,_0x53f700){const _0x4e0bbd={_0x4f7b73:0x2cb,_0x41cfb7:0xe7,_0x5ecc9f:0x23e,_0x5c75dd:0x2a6,_0x20caad:0x44e},_0x345f70={_0x5468f0:0x19b,_0x12b22a:0x19c},_0x390082={_0x2a0cc2:0x19d};function _0x3acc4c(_0x2d3e0d,_0x3cb821,_0x216aa2,_0x4abead){return _0x1ac42a(_0x2d3e0d-0x1,_0x3cb821-0xd,_0x216aa2-_0x390082._0x2a0cc2,_0x3cb821);}function _0x3d9a8e(_0x583184,_0x20b45f,_0x4d5d91,_0x5a6bfe){return _0x1ac42a(_0x583184-_0x345f70._0x5468f0,_0x20b45f-_0x345f70._0x12b22a,_0x583184-0x5e4,_0x5a6bfe);}return{'allCompleted':_0x53f700,'items':_0x446e60[_0x3acc4c(_0x4e0bbd._0x4f7b73,_0x4e0bbd._0x41cfb7,0x247,0x1fc)](_0x3005ef=>({'id':_0x3005ef['id'],'content':_0x3005ef[_0x3acc4c(0x3dd,0x3a1,0x2a1,0x293)],'status':_0x3005ef[_0x3acc4c(0x230,0x1f6,0x228,0x21e)],'priority':_0x3005ef['priority'],'createdAt':_0x3005ef[_0x3d9a8e(0x3f8,0x22a,0x302,0x307)]})),'progress':createStatsProgress(_0x27b15e),'recentChanges':!![],'sessionId':_0x7eff52,'stats':_0x27b15e,'todosWritten':_0x446e60[_0x3acc4c(0x3bc,_0x4e0bbd._0x5ecc9f,_0x4e0bbd._0x5c75dd,_0x4e0bbd._0x20caad)]};}function createOutputText(_0x154f21,_0x229795){const _0x1a2d5d={_0x4e8d8b:0x1af,_0x2452e9:0xf6,_0x49c0e7:0x2f6,_0x59be89:0x545,_0x3f0ba6:0x53,_0x1d16e3:0x1b8,_0x50b099:0x18,_0x323dd9:0x145},_0x166fde={_0x4d6cde:0x303,_0x107957:0x58},_0x4d4ed1={_0x3a4d08:0x2b8};function _0x4a7084(_0xf162b,_0x5c7507,_0xeaa7b0,_0x260526){return _0x1ac42a(_0xf162b-0x115,_0x5c7507-0x1b,_0xeaa7b0-_0x4d4ed1._0x3a4d08,_0xf162b);}const _0x528955=JSON[_0x4a7084(0x2b7,0x12f,_0x1a2d5d._0x4e8d8b,_0x1a2d5d._0x2452e9)](createReminderItems(_0x154f21));function _0x18a6cb(_0x45a61c,_0x24bdb6,_0x208611,_0x1421c3){return _0x151cc1(_0x45a61c-0xf7,_0x1421c3- -_0x166fde._0x4d6cde,_0x45a61c,_0x1421c3-_0x166fde._0x107957);}if(_0x229795)return _0x18a6cb(0x15,-0xe1,-0x1f6,-0xfd)+_0x154f21[_0x4a7084(_0x1a2d5d._0x49c0e7,_0x1a2d5d._0x59be89,0x3c1,0x554)]+_0x4a7084(0x22,_0x1a2d5d._0x3f0ba6,_0x1a2d5d._0x1d16e3,_0x1a2d5d._0x50b099)+_0x528955+'.\x0a</system-reminder>';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'+_0x528955+_0x18a6cb(-_0x1a2d5d._0x50b099,0x100,0x1df,_0x1a2d5d._0x323dd9);}function createTodoWriteTool(_0x120641=new TodoStore()){const _0x291ec7={_0xdf14e6:0x3db,_0x448f83:0x29d,_0x5546c2:0x363,_0x339b24:0x16,_0x52b4ac:0x313,_0x19d37e:0xca,_0x2fbf90:0x21b,_0x18ee0a:0x34c,_0x4f3cf0:0x200,_0x38dc32:0x8a,_0x16dddd:0x24a,_0x6f49e2:0xf7,_0x2ace27:0x8a,_0x1b6c93:0xc9,_0x5c732d:0xed,_0x44a33b:0x11,_0x173f2b:0x309,_0x182013:0x2b6,_0x5f4bae:0x1c8,_0x4af8cf:0x94,_0x5c20b8:0x25e,_0x3e5957:0x3c9,_0x1f529c:0xaa,_0xc9c616:0x216},_0x4db3bd={_0x1da1dd:0x192,_0x1c6f9d:0x33b,_0x3601bf:0xde,_0x2cd803:0x25a,_0x2f1d8d:0x292,_0x56b3cb:0x372,_0x306fd7:0x2cb,_0x5e85bb:0x24f},_0x504062={_0x5618fe:0x186,_0x388091:0x23e},_0x1c8408={_0x41468a:0x12,_0x4d3d5c:0x4a,_0x588176:0x10b};function _0x6b7b00(_0x22c212,_0x4734b0,_0x44071c,_0x2eb64e){return _0x151cc1(_0x22c212-0x4a,_0x22c212- -0x240,_0x4734b0,_0x2eb64e-0x89);}function _0x9fb516(_0x2feb27,_0x225531,_0x213542,_0x3b4741){return _0x151cc1(_0x2feb27-_0x1c8408._0x41468a,_0x3b4741-_0x1c8408._0x4d3d5c,_0x2feb27,_0x3b4741-_0x1c8408._0x588176);}return defineTool({'name':'TodoWrite','permissionClass':_0x9fb516(_0x291ec7._0xdf14e6,0x475,0x514,0x4b4),'description':'Maintain\x20a\x20concise\x20task\x20list\x20when\x20visible\x20progress\x20tracking\x20adds\x20coordination\x20value.\x0a\x0aUse\x20TodoWrite\x20when\x20the\x20user\x20explicitly\x20requests\x20a\x20todo/checklist,\x20or\x20when\x20work\x20has\x20several\x20meaningful\x20phases,\x20dependencies,\x20or\x20checkpoints.\x20Skip\x20it\x20for\x20conversational\x20questions,\x20a\x20single\x20straightforward\x20task,\x20or\x20a\x20short\x20flat\x20sequence\x20of\x20trivial\x20actions.\x20List\x20meaningful\x20outcomes\x20rather\x20than\x20individual\x20tool\x20calls.\x0a\x0aUse\x20statuses\x20pending,\x20in_progress,\x20and\x20completed,\x20with\x20at\x20most\x20one\x20item\x20in_progress.\x20Create\x20the\x20list\x20once\x20before\x20starting\x20tracked\x20work.\x20Then\x20update\x20it\x20only\x20at\x20meaningful\x20milestones:\x0a-\x20Batch\x20status\x20changes\x20in\x20one\x20call:\x20mark\x20all\x20newly\x20finished\x20items\x20completed\x20and\x20set\x20the\x20next\x20milestone\x20in_progress\x20together.\x0a-\x20Do\x20not\x20call\x20TodoWrite\x20after\x20every\x20tool\x20call,\x20minor\x20substep,\x20or\x20progress\x20message.\x20Avoid\x20back-to-back\x20TodoWrite\x20calls\x20without\x20substantive\x20work\x20between\x20them.\x0a-\x20Keep\x20the\x20current\x20item\x20in_progress\x20when\x20blocked,\x20implementation\x20is\x20partial,\x20or\x20verification\x20fails.\x20Add\x20or\x20revise\x20items\x20only\x20when\x20the\x20plan\x20materially\x20changes.\x0a-\x20Preserve\x20item\x20IDs\x20and\x20include\x20the\x20full\x20current\x20list\x20in\x20every\x20update.\x0a-\x20After\x20implementation\x20and\x20verification\x20finish,\x20send\x20one\x20final\x20update\x20that\x20marks\x20all\x20completed\x20work\x20accurately.','inputSchema':{'type':_0x9fb516(0x47,0xaf,_0x291ec7._0x448f83,0x1b3),'properties':{'todos':{'type':_0x6b7b00(0x1c6,_0x291ec7._0x5546c2,_0x291ec7._0x339b24,_0x291ec7._0x52b4ac),'items':{'type':'object','properties':{'content':{'type':_0x6b7b00(-0x8a,_0x291ec7._0x19d37e,-0x2a,-_0x291ec7._0x2fbf90)},'status':{'type':_0x9fb516(0x2fd,_0x291ec7._0x18ee0a,0x2b6,_0x291ec7._0x4f3cf0)},'priority':{'type':_0x6b7b00(-_0x291ec7._0x38dc32,0x127,-_0x291ec7._0x16dddd,_0x291ec7._0x6f49e2)},'id':{'type':_0x6b7b00(-_0x291ec7._0x2ace27,_0x291ec7._0x1b6c93,_0x291ec7._0x5c732d,-_0x291ec7._0x44a33b)},'createdAt':{'type':_0x9fb516(0x233,0x12d,0x1e5,0x200)}},'required':[_0x6b7b00(0x241,_0x291ec7._0x173f2b,0xc6,_0x291ec7._0x182013),_0x6b7b00(_0x291ec7._0x5f4bae,_0x291ec7._0x4af8cf,0x19e,0x200),_0x9fb516(_0x291ec7._0x5c20b8,_0x291ec7._0x3e5957,_0x291ec7._0x1f529c,_0x291ec7._0xc9c616),'id']}}},'required':['todos']},async *'execute'(_0x5c6a40,_0x146844){const _0x14e949={_0x31a502:0x9a},_0x25e83e=_0x5c6a40;validateTodos(_0x25e83e);const _0x5a5296=_0x146844[_0x1b6bc0(0x2bc,0x2e4,0x9f,0x1c5)]||_0x1b6bc0(0x3c,_0x4db3bd._0x1da1dd,0x1de,0x1c),_0x3c1df7=new Date()[_0x1b6bc0(_0x4db3bd._0x1c6f9d,0x98,_0x4db3bd._0x3601bf,_0x4db3bd._0x2cd803)]();function _0x1b6bc0(_0x4f8fa7,_0x1924c0,_0xfa360b,_0x258555){return _0x9fb516(_0xfa360b,_0x1924c0-_0x504062._0x5618fe,_0xfa360b-0x8c,_0x258555- -_0x504062._0x388091);}const _0x3340ec=_0x25e83e['todos'][_0x59cf53(0x5e2,0x50b,0x6d6,0x574)](_0x399869=>({'id':_0x399869['id'],'content':_0x399869[_0x59cf53(0x550,0x4d8,0x68c,0x5ce)],'status':_0x399869[_0x59cf53(0x4c5,0x4ce,0x5c0,0x555)],'priority':_0x399869[_0x1b6bc0(-0x169,-0xed,0x5d,-0x28)],'sessionId':_0x5a5296,'createdAt':_0x399869[_0x1b6bc0(0xa6,-0x211,-0xb4,-0x63)]||_0x3c1df7,'updatedAt':_0x3c1df7}));_0x120641['setTodos'](_0x5a5296,_0x3340ec);const _0x3f416a=_0x120641['getStats'](_0x5a5296),_0x150c23=_0x3340ec[_0x1b6bc0(0x1f0,0x3bc,0x394,_0x4db3bd._0x2f1d8d)]>0x0&&_0x3340ec[_0x1b6bc0(_0x4db3bd._0x56b3cb,_0x4db3bd._0x306fd7,0x1c6,_0x4db3bd._0x5e85bb)](_0x448353=>_0x448353['status']===_0x59cf53(0x410,0x15a,0x209,0x2df));function _0x59cf53(_0x317cd1,_0x1d387b,_0x39c069,_0x518092){return _0x9fb516(_0x317cd1,_0x1d387b-0x83,_0x39c069-_0x14e949._0x31a502,_0x518092-0x103);}return createToolOutput(createOutputText(_0x3340ec,_0x150c23),createStructuredResult(_0x5a5296,_0x3340ec,_0x3f416a,_0x150c23));}});}import{mkdir as _0x527953,writeFile as _0x2d6814}from'fs/promises';import*as _0x3ea3bf from'path';function sanitizeFileName(_0x20490d){const _0x1792de={_0x2a87f0:0x188,_0x3378f7:0x40e};function _0x349f2c(_0x115d9e,_0x5b81fe,_0x2bd443,_0x27b7a7){return _0x1ac42a(_0x115d9e-_0x1792de._0x2a87f0,_0x5b81fe-0x10,_0x5b81fe-_0x1792de._0x3378f7,_0x2bd443);}return _0x20490d[_0x349f2c(0xe8,0x262,0x13f,0x426)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x4a7416,_0x19ad33){const _0x14bb7b={_0x360f2f:0x7ac,_0x20c03c:0x8fe,_0x420261:0x73f,_0xab11a6:0x6d7,_0x2ac219:0x5ba,_0x5f585e:0x5a6,_0x14c46f:0x5bb,_0x54b2d0:0x7da,_0x1f4f04:0x846,_0x2b5e4e:0x70c,_0x3b48e1:0x66a,_0x34a495:0x5e4,_0x45c04d:0x6fc,_0x4da19c:0x73f,_0x27ac31:0x752,_0x547fc:0x62c,_0x3e2908:0x646,_0x5df5a7:0x86d,_0x5bf316:0x6fd,_0x46931a:0x8f7,_0xaff29a:0x8c3,_0x3e723d:0x720,_0x5d9e80:0x72b,_0x23d8d4:0x6e6,_0x15c01f:0x7b6,_0x202b38:0x913,_0x821c0d:0x41c,_0x1728df:0x5fc,_0x587459:0x538,_0x48ed07:0x68c,_0x1128c4:0x55b,_0x4437d4:0x3b6,_0x1f6bdf:0x934,_0x2e20c5:0x7f1,_0x457d64:0x7c1,_0x19a007:0x6b2,_0x477e12:0x606,_0x1c2683:0x5fb,_0x119e47:0x61e,_0x4a4ecb:0x846,_0x1f4c55:0x8e3,_0x2fde41:0x5ac,_0x5d427c:0x6b9,_0x483af3:0x6d4,_0x5b832a:0x4e9,_0x237319:0x89b,_0x10e020:0x7c2,_0x56c2bc:0x723,_0x18a1a7:0x863,_0x2402be:0x7ba,_0x3b9521:0x59a,_0x54d392:0x6a7,_0x5644db:0x73d,_0x1dd096:0x390,_0x20f582:0x394,_0x588e78:0x3f0,_0x5183ce:0x5e5,_0x5d6f2a:0x66a,_0x1d5f5e:0x51a,_0x1bd667:0x52f,_0x12f484:0x6ee,_0x41a52d:0x89a,_0x1bbd1c:0x7d2,_0x4f5467:0x941,_0x4b6014:0x4d7,_0x14c40f:0x5a0},_0x3daa55={_0x304d8c:0x2},_0x4e3def={_0x35d619:0x35a},{maxBytes:_0x5eb230,sessionDir:_0x299473}=_0x19ad33;if(!_0x4a7416[_0x69e014(_0x14bb7b._0x360f2f,_0x14bb7b._0x20c03c,_0x14bb7b._0x420261,_0x14bb7b._0xab11a6)]||Buffer[_0x69e014(0x506,0x4cb,_0x14bb7b._0x2ac219,0x514)](_0x4a7416[_0x69e014(_0x14bb7b._0x5f585e,_0x14bb7b._0x14c46f,_0x14bb7b._0x420261,0x66a)],_0x69e014(_0x14bb7b._0x54b2d0,0x8a5,_0x14bb7b._0x1f4f04,_0x14bb7b._0x2b5e4e))<=_0x5eb230)return _0x4a7416;const _0x9edd21=Buffer[_0x69e014(0x4bd,_0x14bb7b._0x3b48e1,0x5ba,0x45e)](_0x4a7416[_0x69e014(_0x14bb7b._0x34a495,_0x14bb7b._0x45c04d,_0x14bb7b._0x4da19c,0x90a)],'utf8');if(!_0x299473){const _0x5228c9=_0x4a7416[_0x4b93b8(0x6b1,0x8f4,_0x14bb7b._0x27ac31,0x76f)][_0x4b93b8(_0x14bb7b._0x547fc,_0x14bb7b._0x3e2908,0x6cc,_0x14bb7b._0x5df5a7)](0x0,_0x5eb230);return{..._0x4a7416,'output':_0x5228c9+(_0x4b93b8(_0x14bb7b._0x5bf316,0x743,0x75c,_0x14bb7b._0x46931a)+_0x5eb230+'\x20bytes\x20(original:\x20'+_0x9edd21+_0x4b93b8(0x5fd,_0x14bb7b._0xaff29a,_0x14bb7b._0x3e723d,0x6d5)),'meta':{..._0x4a7416[_0x4b93b8(_0x14bb7b._0x5d9e80,_0x14bb7b._0x23d8d4,_0x14bb7b._0x15c01f,0x978)],'truncated':!![],'originalBytes':_0x9edd21,'transforms':[..._0x4a7416[_0x4b93b8(0x6fb,0x7b3,0x7b6,_0x14bb7b._0x202b38)]['transforms'],_0x4b93b8(_0x14bb7b._0x821c0d,_0x14bb7b._0x1728df,_0x14bb7b._0x587459,_0x14bb7b._0x48ed07)]}};}const _0x128820=_0x4a7416[_0x4b93b8(0x3d7,0x639,_0x14bb7b._0x1128c4,_0x14bb7b._0x4437d4)]+'_'+sanitizeFileName(_0x4a7416[_0x4b93b8(_0x14bb7b._0x1f6bdf,0x992,_0x14bb7b._0x2e20c5,_0x14bb7b._0x457d64)])+_0x69e014(_0x14bb7b._0x19a007,_0x14bb7b._0x477e12,_0x14bb7b._0x1c2683,_0x14bb7b._0x119e47);function _0x69e014(_0x383238,_0x50f741,_0x5b50a3,_0xb8f367){return _0x151cc1(_0x383238-0x1e2,_0x5b50a3-_0x4e3def._0x35d619,_0x383238,_0xb8f367-0x113);}const _0x216db7=_0x3ea3bf['join'](_0x299473,_0x128820);await _0x527953(_0x299473,{'recursive':!![]}),await _0x2d6814(_0x216db7,_0x4a7416['output'],_0x69e014(0x74d,0x7e9,_0x14bb7b._0x4a4ecb,_0x14bb7b._0x1f4c55));let _0x5191bd=_0x4a7416[_0x69e014(_0x14bb7b._0x2fde41,_0x14bb7b._0x54b2d0,0x73f,0x759)][_0x69e014(0x674,0x7d5,_0x14bb7b._0x5d427c,0x7b7)](0x0,_0x5eb230);const _0x2e96d7=_0x5191bd[_0x69e014(0x529,_0x14bb7b._0x483af3,0x5ef,0x5f2)]('\x0a');_0x2e96d7>_0x5eb230*0.5&&(_0x5191bd=_0x5191bd[_0x69e014(_0x14bb7b._0x5b832a,0x83c,_0x14bb7b._0x5d427c,0x80d)](0x0,_0x2e96d7));const _0x2179f2=['',_0x69e014(_0x14bb7b._0x237319,_0x14bb7b._0x10e020,_0x14bb7b._0x56c2bc,_0x14bb7b._0x18a1a7),_0x69e014(_0x14bb7b._0x2402be,_0x14bb7b._0x3b9521,_0x14bb7b._0x54d392,_0x14bb7b._0x5644db)+_0x5eb230+_0x69e014(_0x14bb7b._0x1dd096,_0x14bb7b._0x20f582,0x559,_0x14bb7b._0x588e78)+_0x9edd21+'\x20bytes).','Full\x20output\x20saved\x20to:\x20'+_0x216db7,_0x4b93b8(_0x14bb7b._0x5183ce,0x42c,0x530,0x5a2),_0x69e014(_0x14bb7b._0x5d6f2a,_0x14bb7b._0x1d5f5e,_0x14bb7b._0x1bd667,0x563)][_0x69e014(_0x14bb7b._0x12f484,0x7db,0x813,0x8ee)]('\x0a');function _0x4b93b8(_0x4edbb8,_0x4e8527,_0x997229,_0x1e8744){return _0x151cc1(_0x4edbb8-_0x3daa55._0x304d8c,_0x997229-0x36d,_0x4edbb8,_0x1e8744-0x1a);}return{..._0x4a7416,'output':_0x5191bd+_0x2179f2,'meta':{..._0x4a7416[_0x69e014(0x897,0x745,0x7a3,_0x14bb7b._0x41a52d)],'truncated':!![],'originalBytes':_0x9edd21,'transforms':[..._0x4a7416[_0x4b93b8(_0x14bb7b._0x1bbd1c,_0x14bb7b._0x4f5467,0x7b6,0x66e)]['transforms'],_0x69e014(_0x14bb7b._0x4b6014,_0x14bb7b._0x14c40f,0x525,0x3f2)]}};}function createUpdateTopicTool(){const _0x43257c={_0x8981b:0x6,_0x519005:0x1ae,_0x1fecb1:0x1ed,_0x47be66:0x59,_0x1a1c3:0x3,_0x111ac7:0x175,_0xdd26ff:0x13a,_0x47d4ac:0x6d,_0x341d6e:0x1ac},_0xf3f23b={_0x1be933:0x36d,_0x2714e5:0x2e1,_0x479f53:0x372,_0x180088:0x4bd,_0x420ad9:0x41a,_0x5563a2:0x515,_0x406f75:0x2e8,_0x805d59:0x149,_0x4e4534:0x1bd,_0x354b17:0x3bd,_0x1415b2:0x588,_0x3fc129:0x4f5,_0x57cc38:0x33e,_0x541f7a:0x554,_0x2405c9:0x3ad},_0x50d585={_0x58ec0f:0x194,_0x20d956:0x3a5},_0x7a51e4={_0x39dbd3:0xb4,_0x5d12c8:0x411,_0x1a469e:0xe6},_0xadab3={_0x4352aa:0x13e,_0x4b1178:0x9d,_0x316fbf:0x32};function _0x345dae(_0x3f9dca,_0x300720,_0x3deb17,_0x4f7635){return _0x1ac42a(_0x3f9dca-_0xadab3._0x4352aa,_0x300720-_0xadab3._0x4b1178,_0x4f7635-_0xadab3._0x316fbf,_0x3deb17);}function _0xcb6532(_0x44c46b,_0x3be172,_0x17f009,_0x5788be){return _0x151cc1(_0x44c46b-_0x7a51e4._0x39dbd3,_0x5788be- -_0x7a51e4._0x5d12c8,_0x17f009,_0x5788be-_0x7a51e4._0x1a469e);}return defineTool({'name':_0x345dae(0x7c,-_0x43257c._0x8981b,_0x43257c._0x519005,0x45),'permissionClass':_0xcb6532(_0x43257c._0x1fecb1,-0xd2,-0x5,_0x43257c._0x47be66),'description':_0x345dae(_0x43257c._0x1a1c3,-_0x43257c._0x111ac7,-_0x43257c._0xdd26ff,0x5b),'inputSchema':{'type':'object','properties':{'topic':{'type':'string'}},'required':[_0x345dae(-_0x43257c._0x47d4ac,-_0x43257c._0x341d6e,0x4d,-0xbb)]},async *'execute'(_0xef78f2,_0x50deec){const _0x74a2c1={_0x5a7c51:0xa9,_0x11fc9e:0x1b8,_0x26cd44:0x3b9},{topic:_0x5b9db2}=_0xef78f2;function _0x3496a8(_0x38e72a,_0x22a185,_0x497ab2,_0x544410){return _0x345dae(_0x38e72a-_0x74a2c1._0x5a7c51,_0x22a185-_0x74a2c1._0x11fc9e,_0x497ab2,_0x544410-_0x74a2c1._0x26cd44);}if(typeof _0x5b9db2!==_0x3496a8(0x93,_0xf3f23b._0x1be933,_0xf3f23b._0x2714e5,0x224)||_0x5b9db2[_0x3496a8(0x4bc,0x3e9,0x609,0x49b)]()[_0x2a91d4(_0xf3f23b._0x479f53,_0xf3f23b._0x180088,0x475,_0xf3f23b._0x420ad9)]===0x0)throw new ToolExecutionError(_0x3496a8(_0xf3f23b._0x5563a2,_0xf3f23b._0x406f75,0x42f,0x3a8),{'error':_0x2a91d4(0x3d,0x25d,_0xf3f23b._0x805d59,_0xf3f23b._0x4e4534)});const _0x553e42=_0x5b9db2['trim']();function _0x2a91d4(_0x2cbf1d,_0x29cd62,_0x10a679,_0x2596c4){return _0xcb6532(_0x2cbf1d-0x16b,_0x29cd62-_0x50d585._0x58ec0f,_0x2cbf1d,_0x2596c4-_0x50d585._0x20d956);}return _0x50deec[_0x3496a8(_0xf3f23b._0x354b17,0x533,_0xf3f23b._0x1415b2,_0xf3f23b._0x3fc129)]?.(_0x553e42),yield createToolOutput(_0x3496a8(_0xf3f23b._0x57cc38,_0xf3f23b._0x541f7a,_0xf3f23b._0x2405c9,0x43f)+_0x553e42+'\x22',{'topic':_0x553e42}),void 0x0;}});}import{readFile as _0x270ae3,stat as _0x5eb4bb}from'fs/promises';import*as _0x38c22a from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x151cc1(0x342,0x44f,0x5a5,0x48c),'high',_0x1ac42a(-0x319,-0x125,-0x1f2,-0x25b),'original']),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x40fdbf,_0x49a222){const _0x3a9c57={_0x3e7c31:0x32e,_0xa825f7:0x509,_0x58c555:0x450,_0x42b561:0x311,_0x1e89bb:0x36f,_0x4d4d17:0x37b,_0x1b9bf7:0x42a,_0x55e06e:0x354,_0x4f50d4:0x4c0,_0x349311:0x390,_0x357575:0x5f0,_0xedd78e:0x5b2,_0x1c44e7:0x4e9,_0x1e19b1:0x43a,_0x522027:0x499,_0x1b21b6:0x4e3,_0x12a8eb:0x3ae,_0x7da2a5:0x47d,_0x2ea14b:0x347,_0x4cbf60:0x2fe,_0x5d4778:0x49b,_0x4aebd6:0x2b2,_0x10b838:0x467,_0x5c6182:0x5fd,_0x388b55:0x526,_0x4f323f:0x4f4,_0x2c8f0b:0x81e,_0x53ba7c:0x6fe,_0x400678:0x712,_0x4dc25c:0x662,_0x731622:0x849,_0x2f4e30:0x789,_0x416d34:0x5c2,_0x1bab38:0x66b,_0x47fd00:0x4f1,_0x102534:0x405,_0x8e4d05:0x307,_0x1e13f3:0x3be,_0x159a8c:0x4de,_0x5cee75:0x48f,_0x75818b:0x5d7,_0x5afdf9:0x64f,_0x2eb425:0x48d,_0x185642:0x47e,_0x30c3ee:0x4f4,_0x1db24a:0x35d,_0x57ebe9:0x31e,_0x3d9a34:0x262,_0x1e81b3:0x421},_0x1cd67d={_0x45b640:0x7d},_0x42ca29={_0x12fceb:0x20};if(_0x40fdbf[_0x2b1512(_0x3a9c57._0x3e7c31,0x4ec,_0x3a9c57._0xa825f7,0x347)](0x0,0x8)[_0x3dec5f(0x43d,_0x3a9c57._0x58c555,0x520,0x63f)](PNG_SIGNATURE))return _0x2b1512(_0x3a9c57._0x42b561,_0x3a9c57._0x1e89bb,_0x3a9c57._0x4d4d17,_0x3a9c57._0x1b9bf7);if(_0x40fdbf[0x0]===0xff&&_0x40fdbf[0x1]===0xd8&&_0x40fdbf[0x2]===0xff)return'image/jpeg';const _0x2994ae=_0x40fdbf['subarray'](0x0,0x6)[_0x3dec5f(0x618,_0x3a9c57._0x55e06e,_0x3a9c57._0x4f50d4,_0x3a9c57._0x349311)]('ascii');if(_0x2994ae===_0x3dec5f(_0x3a9c57._0x357575,0x4ea,_0x3a9c57._0xedd78e,_0x3a9c57._0x1c44e7)||_0x2994ae===_0x2b1512(0x2e0,0x1e6,_0x3a9c57._0x1e19b1,0x33c))return _0x2b1512(_0x3a9c57._0x522027,_0x3a9c57._0x1b21b6,_0x3a9c57._0x12a8eb,0x548);if(_0x40fdbf[_0x2b1512(0x26b,_0x3a9c57._0x7da2a5,0x1e1,_0x3a9c57._0x2ea14b)](0x0,0x4)[_0x2b1512(0x50e,0x25d,0x3ba,0x420)]('ascii')===_0x2b1512(0x391,_0x3a9c57._0x4cbf60,0x46e,0x44c)&&_0x40fdbf['subarray'](0x8,0xc)[_0x2b1512(_0x3a9c57._0x5d4778,_0x3a9c57._0x4aebd6,_0x3a9c57._0x10b838,0x420)]('ascii')===_0x2b1512(0x45f,_0x3a9c57._0x5c6182,_0x3a9c57._0x388b55,_0x3a9c57._0x4f323f))return _0x3dec5f(_0x3a9c57._0x2c8f0b,0x64d,_0x3a9c57._0x53ba7c,0x603);function _0x3dec5f(_0x12c74e,_0x565a8b,_0x31752c,_0x210d90){return _0x1ac42a(_0x12c74e-0x14c,_0x565a8b-_0x42ca29._0x12fceb,_0x31752c-0x5ee,_0x12c74e);}const _0x5d3617=_0x38c22a[_0x2b1512(_0x3a9c57._0x400678,_0x3a9c57._0x4dc25c,_0x3a9c57._0x731622,0x691)](_0x49a222)['toLowerCase']();if(_0x5d3617===_0x2b1512(0x5d7,_0x3a9c57._0x2f4e30,_0x3a9c57._0x416d34,_0x3a9c57._0x1bab38))return _0x2b1512(_0x3a9c57._0x47fd00,_0x3a9c57._0x102534,0x544,0x42a);if(_0x5d3617==='.jpg'||_0x5d3617===_0x2b1512(_0x3a9c57._0x8e4d05,_0x3a9c57._0x1e13f3,0x4d7,0x439))return _0x2b1512(0x625,_0x3a9c57._0x159a8c,_0x3a9c57._0x5cee75,0x51d);function _0x2b1512(_0x5a0b8d,_0x2e95ae,_0x26c7c0,_0x2f748a){return _0x1ac42a(_0x5a0b8d-_0x1cd67d._0x45b640,_0x2e95ae-0x17d,_0x2f748a-0x54e,_0x26c7c0);}if(_0x5d3617===_0x2b1512(0x5b8,_0x3a9c57._0x75818b,_0x3a9c57._0x5afdf9,_0x3a9c57._0x2eb425))return _0x3dec5f(_0x3a9c57._0x185642,0x49d,0x5e8,_0x3a9c57._0x30c3ee);if(_0x5d3617===_0x2b1512(_0x3a9c57._0x1db24a,_0x3a9c57._0x57ebe9,_0x3a9c57._0x3d9a34,_0x3a9c57._0x1e81b3))return'image/webp';return void 0x0;}function normalizeDetail(_0x5958d0){const _0x5b49f1={_0x9cb04c:0x677,_0x195733:0x758,_0x4397b7:0x759},_0x3a3010={_0x20440f:0x10,_0x12946b:0x5c7},_0x12b3ef={_0x11931e:0x195,_0x1808c6:0x468};if(_0x5958d0===void 0x0)return void 0x0;const _0x5eb867=_0x5958d0[_0x15b8ef(0x4c0,0x6d6,_0x5b49f1._0x9cb04c,_0x5b49f1._0x195733)]()['toLowerCase']();if(!SUPPORTED_DETAILS['has'](_0x5eb867))throw new ToolExecutionError(_0x15b8ef(0x6b9,_0x5b49f1._0x4397b7,0x58e,0x707)+_0x5958d0,{'detail':_0x5958d0});function _0x592b92(_0x5877e9,_0x461f37,_0x6c93ff,_0x33bb6a){return _0x1ac42a(_0x5877e9-_0x12b3ef._0x11931e,_0x461f37-0x1a6,_0x33bb6a-_0x12b3ef._0x1808c6,_0x5877e9);}function _0x15b8ef(_0x5c1cbb,_0x35bbdf,_0x15aa1c,_0x25b3d9){return _0x1ac42a(_0x5c1cbb-_0x3a3010._0x20440f,_0x35bbdf-0x18a,_0x15aa1c-_0x3a3010._0x12946b,_0x35bbdf);}return _0x5eb867;}function createViewFileTool(_0x50018f={}){const _0x3cb90d={_0x451622:0x4c,_0x502226:0x8f,_0x5c1d85:0x201,_0x582ead:0x34,_0x28d107:0x3ce,_0x4aa18d:0x295,_0x58935c:0x561,_0xc265e2:0x1b0,_0x482b8d:0x4b,_0x41df30:0x2e,_0x293dd4:0x359,_0x33a753:0x347,_0x5aeab5:0x367,_0x9df678:0xc9,_0x436fd7:0x28,_0x50aa9f:0x4f,_0x1c6059:0xb3,_0x32a09c:0xa1,_0x3c91b8:0xd9,_0xcc0d6:0x241,_0x3ed985:0x216,_0x1d9507:0x106,_0x2971c3:0x311,_0xee5189:0x33,_0x5c0425:0xfc,_0x4e33d7:0x76},_0x973bd5={_0x275f9a:0x141,_0x3d414f:0x2,_0x1b66d9:0x2fd,_0x22e782:0x27f,_0x8a973f:0x22d,_0x86304f:0x2c1,_0x5c8ca0:0x2fa,_0x549a6c:0x3b,_0x4ac6b6:0x183,_0x5f058a:0x418,_0x4abf8e:0x2cb,_0x15fc47:0x42c,_0x7c3fc9:0x14,_0x9c67ba:0x13b,_0x2be897:0x36,_0x4f3f47:0x2c9,_0x2ce46d:0x233,_0xebeb53:0x255,_0x25601b:0x1a6,_0x3d4b58:0x35c,_0x4cdcb0:0x19c,_0x19c3f9:0x251,_0x1b5bd5:0x273,_0x2f45d8:0x448,_0x52de92:0x184,_0x4b31e6:0x318,_0x101f00:0x87,_0x15faa5:0x2e2,_0x30bbd7:0x4df,_0x20f909:0x4ff,_0x3c9a2c:0x3b2,_0x33d8ac:0x543,_0x200f9d:0x95,_0x1afa11:0x158,_0x3044a6:0x7c,_0x3928d8:0x2d2,_0x772bef:0x44a,_0x470492:0x376,_0x2b0656:0x5a9,_0x378847:0x28d,_0x2b9c4d:0x2f5,_0x8b0ad4:0x210,_0x542784:0x210,_0x21bfb2:0x2cf,_0x22f8ad:0x169,_0x3ed50b:0x202,_0x440d6e:0x1af,_0x2e7f50:0x244,_0x146833:0xfd,_0x356d1c:0x360,_0x3f4bcf:0xac,_0x1897d5:0x9d,_0x51a9a9:0x138,_0x9c54e7:0xdb,_0x27549:0xbe,_0x2bcc5c:0xed,_0x1faa80:0x81,_0x2e2034:0x6,_0x364026:0x382,_0x3fb513:0x3be,_0x1bab2d:0x1c4,_0xf4a230:0x1f4,_0x29ed35:0x394,_0xf6b9dd:0x430,_0x5ce95f:0x264,_0xd292a3:0x25f,_0x1e542d:0x234,_0x3f1cb1:0xd5},_0x7bc241={_0x54d946:0x111},_0x5b6fd9={_0x20fcce:0x1f4,_0x5d95be:0x25},_0x8ba8c6=_0x38c22a[_0x5066b8(-0x116,0x121,-_0x3cb90d._0x451622,-_0x3cb90d._0x502226)](_0x50018f['defaultCwd']??process[_0x5066b8(-0x27f,-_0x3cb90d._0x5c1d85,_0x3cb90d._0x582ead,-0x113)]());function _0x5066b8(_0x3f3536,_0x18546e,_0x28b037,_0x52b306){return _0x151cc1(_0x3f3536-_0x5b6fd9._0x20fcce,_0x52b306- -0x3aa,_0x3f3536,_0x52b306-_0x5b6fd9._0x5d95be);}const _0x12cfe3=_0x50018f[_0x1381b3(_0x3cb90d._0x28d107,0x25f,_0x3cb90d._0x4aa18d,_0x3cb90d._0x58935c)]??[],_0x348f74=_0x50018f[_0x5066b8(-0x1ce,-0x1c6,-0x23a,-_0x3cb90d._0xc265e2)]??DEFAULT_MAX_BYTES,_0x5c70dd=_0x50018f['name']??_0x5066b8(-0x9b,-_0x3cb90d._0x482b8d,-0x14,_0x3cb90d._0x41df30);function _0x1381b3(_0xed3537,_0x24fc02,_0x1a88de,_0x2d3e9c){return _0x151cc1(_0xed3537-0x7c,_0xed3537- -_0x7bc241._0x54d946,_0x1a88de,_0x2d3e9c-0x37);}return defineTool({'name':_0x5c70dd,'permissionClass':_0x1381b3(_0x3cb90d._0x293dd4,_0x3cb90d._0x33a753,_0x3cb90d._0x5aeab5,0x2fb),'description':_0x5066b8(_0x3cb90d._0x9df678,-_0x3cb90d._0x436fd7,_0x3cb90d._0x50aa9f,-_0x3cb90d._0x1c6059),'inputSchema':{'type':_0x5066b8(-_0x3cb90d._0x32a09c,-_0x3cb90d._0x3c91b8,-0x31c,-_0x3cb90d._0xcc0d6),'properties':{'path':{'type':_0x5066b8(-_0x3cb90d._0x3ed985,-_0x3cb90d._0x1d9507,-0x204,-0x1f4)},'detail':{'type':_0x5066b8(-_0x3cb90d._0x2971c3,-0x316,-_0x3cb90d._0xee5189,-0x1f4)}},'required':[_0x1381b3(_0x3cb90d._0x5c0425,0xa1,-_0x3cb90d._0x4e33d7,0x28f)]},async *'execute'(_0x2e2521){const _0x330de9={_0xe64c0c:0xd9,_0x549094:0x72},_0x10b1b0=resolveAllowedPath(_0x8ba8c6,_0x12cfe3,_0x2e2521[_0x495504(_0x973bd5._0x275f9a,-_0x973bd5._0x3d414f,_0x973bd5._0x1b66d9,_0x973bd5._0x22e782)]);function _0x495504(_0x5488f1,_0x179148,_0xde300e,_0x4d3a1e){return _0x5066b8(_0xde300e,_0x179148-0xf9,_0xde300e-0x1ae,_0x5488f1-0x2de);}await assertWorkspaceFile(_0x10b1b0);const _0x2c4e9c=await _0x5eb4bb(_0x10b1b0);function _0x330b22(_0x4805d1,_0x5cf338,_0x2cbe5e,_0x400327){return _0x1381b3(_0x400327- -_0x330de9._0xe64c0c,_0x5cf338-0x103,_0x2cbe5e,_0x400327-_0x330de9._0x549094);}if(_0x2c4e9c[_0x330b22(_0x973bd5._0x8a973f,0x191,_0x973bd5._0x86304f,_0x973bd5._0x5c8ca0)]>_0x348f74)throw new ToolExecutionError('Image\x20file\x20is\x20too\x20large:\x20'+_0x2e2521[_0x330b22(0x54,_0x973bd5._0x549a6c,0x1c4,0x23)],{'path':_0x2e2521[_0x330b22(0x109,-0x56,-_0x973bd5._0x4ac6b6,0x23)],'maxBytes':_0x348f74,'size':_0x2c4e9c[_0x495504(_0x973bd5._0x5f058a,_0x973bd5._0x4abf8e,_0x973bd5._0x15fc47,0x4d8)]});const _0x49dad5=await _0x270ae3(_0x10b1b0),_0x44bc61=detectImageMediaType(_0x49dad5,_0x10b1b0);if(!_0x44bc61)throw new ToolExecutionError('Unsupported\x20image\x20file:\x20'+_0x2e2521[_0x495504(_0x973bd5._0x275f9a,_0x973bd5._0x7c3fc9,_0x973bd5._0x9c67ba,_0x973bd5._0x2be897)],{'path':_0x2e2521[_0x495504(0x141,0x1cd,_0x973bd5._0x4f3f47,_0x973bd5._0x2ce46d)],'supported':[_0x495504(0x1f0,_0x973bd5._0xebeb53,_0x973bd5._0x25601b,_0x973bd5._0x3d4b58),_0x495504(_0x973bd5._0x4cdcb0,0x5b,_0x973bd5._0x19c3f9,_0x973bd5._0x1b5bd5),_0x330b22(-0x156,0x12c,0x9b,-0x36),_0x330b22(0x277,_0x973bd5._0x2f45d8,0xfa,0x2b0),_0x495504(_0x973bd5._0x52de92,_0x973bd5._0x4b31e6,_0x973bd5._0x101f00,_0x973bd5._0x15faa5)]});const _0xb4340c=normalizeDetail(_0x2e2521[_0x495504(0x422,_0x973bd5._0x30bbd7,0x4d5,_0x973bd5._0x20f909)]),_0x5eba07=[_0x495504(_0x973bd5._0x3c9a2c,0x4a4,_0x973bd5._0x33d8ac,0x336)+_0x2e2521[_0x330b22(_0x973bd5._0x200f9d,-_0x973bd5._0x1afa11,-_0x973bd5._0x3044a6,0x23)],'MIME:\x20'+_0x44bc61,_0x495504(_0x973bd5._0x3928d8,_0x973bd5._0x772bef,_0x973bd5._0x470492,0x45f)+_0x2c4e9c[_0x495504(0x418,0x4f0,_0x973bd5._0x2b0656,_0x973bd5._0x378847)]+'\x20bytes'][_0x330b22(0x1af,0x2f3,_0x973bd5._0x2b9c4d,0x19a)](_0xb4340c?['Detail:\x20'+_0xb4340c]:[])[_0x330b22(_0x973bd5._0x8b0ad4,_0x973bd5._0x542784,0x3a9,_0x973bd5._0x21bfb2)]('\x0a'),_0x135662=[{'type':_0x330b22(_0x973bd5._0x22f8ad,_0x973bd5._0x3ed50b,_0x973bd5._0x440d6e,0x1cb),'source':{'type':_0x330b22(0x250,0x18a,_0x973bd5._0x2e7f50,_0x973bd5._0x146833),'media_type':_0x44bc61,'data':_0x49dad5['toString'](_0x495504(0x21b,0x2c9,_0x973bd5._0x356d1c,0x33a))}},{'type':_0x495504(_0x973bd5._0x3f4bcf,_0x973bd5._0x1897d5,_0x973bd5._0x51a9a9,-_0x973bd5._0x9c54e7),'text':_0x5eba07}];return yield createToolOutput(_0x5eba07,{'path':_0x2e2521[_0x330b22(-0xdc,-_0x973bd5._0x27549,_0x973bd5._0x2bcc5c,0x23)],'resolvedPath':_0x10b1b0,'created':_0x2c4e9c[_0x330b22(-0x16,-0xf2,_0x973bd5._0x1faa80,_0x973bd5._0x2e2034)][_0x495504(_0x973bd5._0x364026,_0x973bd5._0x3fb513,0x4ef,_0x973bd5._0x1bab2d)](),'modified':_0x2c4e9c[_0x495504(_0x973bd5._0xf4a230,0x234,0x156,0x235)][_0x330b22(_0x973bd5._0x29ed35,_0x973bd5._0xf6b9dd,0x2e3,_0x973bd5._0x5ce95f)](),'size':_0x2c4e9c[_0x330b22(_0x973bd5._0xd292a3,0x266,0x3ec,0x2fa)],'mimeType':_0x44bc61,'encoding':_0x495504(0x21b,_0x973bd5._0x1e542d,_0x973bd5._0x3f1cb1,0x27e),..._0xb4340c?{'detail':_0xb4340c}:{}},_0x135662),void 0x0;}});}import _0x13ba17 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x27b119=>{const {lookup:_0x173e21}=await import('dns/promises');return _0x173e21(_0x27b119,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x3e7982){const _0x26613a={_0xa42a4e:0x850,_0x113434:0x458},_0x3d3edc={_0x1aa6e7:0xd1},_0x18c57f={_0x4e3270:0x1f1,_0x20c38a:0x41,_0x3dad31:0x2f3},_0xa2b1cb=_0x3e7982['split']('.');if(_0xa2b1cb[_0x134233(_0x26613a._0xa42a4e,0x7d9,0x620,0x714)]!==0x4)return null;let _0x1d3392=0x0;function _0x5d6774(_0x21aeef,_0x2cacd6,_0x42ee27,_0x14931e){return _0x1ac42a(_0x21aeef-_0x18c57f._0x4e3270,_0x2cacd6-_0x18c57f._0x20c38a,_0x42ee27-_0x18c57f._0x3dad31,_0x2cacd6);}for(const _0xf14b6 of _0xa2b1cb){if(!/^\d{1,3}$/[_0x5d6774(0x4f9,0x543,_0x26613a._0x113434,0x4a0)](_0xf14b6))return null;const _0x5e33de=Number(_0xf14b6);if(_0x5e33de>0xff)return null;_0x1d3392=_0x1d3392*0x100+_0x5e33de;}function _0x134233(_0x36aff3,_0x42cb17,_0x406009,_0x335ffd){return _0x151cc1(_0x36aff3-_0x3d3edc._0x1aa6e7,_0x42cb17-0x353,_0x406009,_0x335ffd-0x109);}return _0x1d3392>>>0x0;}function isBlockedIpv4(_0x493cf8){const _0x314911={_0x13712a:0x8bb,_0x4a4709:0x6e6,_0x1eca74:0x753,_0x12cbf0:0x701,_0x1088da:0x806,_0x47464a:0x63f,_0x8e825f:0x486,_0x233b47:0x71b,_0x53036f:0x6df,_0x3319f8:0x196,_0x44fee4:0x38e,_0x5d733f:0x343,_0x33b90b:0x3a8,_0x27239f:0x446,_0x379899:0x178},_0x321632={_0x5513ee:0x113,_0x2d62d4:0x19f},_0x49dff7=ipv4ToInt(_0x493cf8);if(_0x49dff7===null)return!![];function _0x5da766(_0x239980,_0x2757b1,_0x325c89,_0x5491a6){return _0x1ac42a(_0x239980-0x1d2,_0x2757b1-0x80,_0x325c89-0x6cb,_0x2757b1);}function _0x218b9a(_0x175001,_0x49e7d5,_0x3628c4,_0xeab628){return _0x151cc1(_0x175001-0x19a,_0x3628c4- -_0x321632._0x5513ee,_0x49e7d5,_0xeab628-_0x321632._0x2d62d4);}const _0x5c62e6=(_0x2b90e1,_0x1ce906)=>{const _0x4131bd=ipv4ToInt(_0x2b90e1);if(_0x4131bd===null)return![];const _0x120a05=_0x1ce906===0x0?0x0:0xffffffff<<0x20-_0x1ce906>>>0x0;return(_0x49dff7&_0x120a05)===(_0x4131bd&_0x120a05);};return _0x5c62e6(_0x218b9a(0x2c4,0x210,0x1e8,0x38b),0x8)||_0x5c62e6(_0x5da766(_0x314911._0x13712a,_0x314911._0x4a4709,0x776,_0x314911._0x1eca74),0x8)||_0x5c62e6(_0x5da766(_0x314911._0x12cbf0,_0x314911._0x1088da,0x782,0x5fa),0xa)||_0x5c62e6(_0x5da766(0x450,_0x314911._0x47464a,0x612,_0x314911._0x8e825f),0x8)||_0x5c62e6(_0x5da766(0x7bf,_0x314911._0x233b47,_0x314911._0x53036f,0x5cc),0x10)||_0x5c62e6(_0x218b9a(_0x314911._0x3319f8,_0x314911._0x44fee4,0x308,_0x314911._0x5d733f),0xc)||_0x5c62e6('192.0.0.0',0x18)||_0x5c62e6('192.168.0.0',0x10)||_0x5c62e6('198.18.0.0',0xf)||_0x5c62e6(_0x218b9a(0x1be,0x2f1,0x2ae,_0x314911._0x33b90b),0x4)||_0x5c62e6(_0x218b9a(0x25c,_0x314911._0x27239f,0x2bb,_0x314911._0x379899),0x4);}function expandIpv6(_0x337321){const _0x352fda={_0x2b3b21:0x38d,_0x3bd9d0:0x462,_0x4b2d1c:0x2f6,_0x5b4c3e:0x17,_0x5c70f5:0x1dc,_0x3a10bc:0x3d5,_0x1c9e24:0x388,_0x33809c:0x4d4,_0x1d30a6:0x569,_0x4d8d99:0x4fc,_0xe8a689:0x2ed,_0x1ee2f2:0x461,_0x1340d:0x582,_0x11c876:0x41d,_0x4661dc:0x420,_0x436dd5:0x3e2,_0xe76449:0x41d,_0x4ca4a0:0x2f8,_0x53f94e:0x608,_0x6f04ad:0x39a,_0x3c368b:0x64e,_0x32a619:0x225,_0x2290cf:0x24f,_0x1e83c3:0x2b8},_0x45a19c={_0x250019:0x76};let _0x1460d8=_0x337321,_0x38ea06;const _0x1556a7=_0x1460d8['lastIndexOf'](':');_0x1460d8[_0x4ed640(_0x352fda._0x2b3b21,_0x352fda._0x3bd9d0,_0x352fda._0x4b2d1c,0x4b3)](_0x1556a7+0x1)[_0x4ed640(0x372,_0x352fda._0x5b4c3e,_0x352fda._0x5c70f5,0x2e3)]('.')&&(_0x38ea06=_0x1460d8[_0x2bc684(0x3ee,_0x352fda._0x3a10bc,_0x352fda._0x1c9e24,0x545)](_0x1556a7+0x1),_0x1460d8=_0x1460d8['slice'](0x0,_0x1556a7+0x1));const _0x4d2eef=_0x1460d8[_0x2bc684(0x630,0x4b4,_0x352fda._0x33809c,0x5c9)]('::');if(_0x4d2eef[_0x2bc684(_0x352fda._0x1d30a6,_0x352fda._0x4d8d99,0x5cf,0x383)]>0x2)return null;const _0x5ecd85=_0x250c0a=>_0x250c0a[_0x2bc684(0x39b,0x4b4,0x3da,0x3b5)](':')[_0x2bc684(0x424,0x28d,0x3ed,0x12c)](_0x2ca5ad=>_0x2ca5ad[_0x2bc684(0x344,0x4fc,0x642,0x6a6)]>0x0)['map'](_0x4f63d1=>Number['parseInt'](_0x4f63d1,0x10)),_0x13b93f=_0x4d2eef[0x0]?_0x5ecd85(_0x4d2eef[0x0]):[],_0x3e5290=_0x4d2eef['length']===0x2&&_0x4d2eef[0x1]?_0x5ecd85(_0x4d2eef[0x1]):[],_0x37e9ef=[];function _0x4ed640(_0xf67f77,_0x19b87b,_0x2320a4,_0x472e75){return _0x1ac42a(_0xf67f77-0xed,_0x19b87b-0x1bd,_0x2320a4-0x314,_0x19b87b);}function _0x2bc684(_0x3c6ea9,_0x42069c,_0x2249ca,_0x3c38f5){return _0x151cc1(_0x3c6ea9-0xe2,_0x42069c-_0x45a19c._0x250019,_0x3c6ea9,_0x3c38f5-0x88);}if(_0x38ea06){const _0x2ec27b=ipv4ToInt(_0x38ea06);if(_0x2ec27b===null)return null;_0x37e9ef['push'](_0x2ec27b>>>0x10&0xffff,_0x2ec27b&0xffff);}const _0x173620=[..._0x3e5290,..._0x37e9ef],_0xef6199=0x8-_0x13b93f[_0x4ed640(_0x352fda._0xe8a689,0x5ea,0x41d,0x360)]-_0x173620[_0x4ed640(_0x352fda._0x1ee2f2,_0x352fda._0x1340d,_0x352fda._0x11c876,0x591)];if(_0x4d2eef[_0x4ed640(_0x352fda._0x4661dc,_0x352fda._0x436dd5,_0x352fda._0xe76449,_0x352fda._0x4ca4a0)]===0x1)return _0x13b93f['length']+_0x173620[_0x2bc684(_0x352fda._0x53f94e,0x4fc,_0x352fda._0x6f04ad,_0x352fda._0x3c368b)]===0x8?[..._0x13b93f,..._0x173620]:null;if(_0xef6199<0x0)return null;return[..._0x13b93f,...new Array(_0xef6199)[_0x2bc684(0x3e0,_0x352fda._0x32a619,_0x352fda._0x2290cf,_0x352fda._0x1e83c3)](0x0),..._0x173620];}function isBlockedIpv6(_0x9e57a5){const _0x31817a={_0x20bcce:0x377,_0x3377c9:0x3fa,_0x2b865c:0x394,_0xb31383:0x290,_0x38c678:0x122,_0x3ddc32:0x68d,_0x1f3bda:0x7bb,_0x5489cf:0x885,_0x4ed4bd:0x6bd,_0x9798c7:0x7de},_0x95806d={_0x38dff4:0x2f},_0x58b96b={_0x277464:0x125},_0xe4143f=expandIpv6(_0x9e57a5);if(!_0xe4143f||_0xe4143f[_0x5cba0b(0x51e,_0x31817a._0x20bcce,0x480,_0x31817a._0x3377c9)](_0x6ea84a=>Number[_0x5cba0b(0x25b,0x2d6,0x3d9,0x144)](_0x6ea84a)))return!![];const _0x391143=_0xe4143f['slice'](0x0,0x7)[_0x10532b(0x5ba,0x647,0x552,0x586)](_0x26e5c9=>_0x26e5c9===0x0);if(_0x391143&&(_0xe4143f[0x7]===0x0||_0xe4143f[0x7]===0x1))return!![];function _0x10532b(_0x23cda0,_0x13fdba,_0x26c8de,_0x2b3c9d){return _0x1ac42a(_0x23cda0-0x10c,_0x13fdba-_0x58b96b._0x277464,_0x13fdba-0x581,_0x23cda0);}if(_0xe4143f[_0x5cba0b(_0x31817a._0x2b865c,_0x31817a._0xb31383,0x3f9,_0x31817a._0x38c678)](0x0,0x5)[_0x10532b(0x7cf,0x647,_0x31817a._0x3ddc32,_0x31817a._0x1f3bda)](_0x1a0ae6=>_0x1a0ae6===0x0)&&(_0xe4143f[0x5]===0xffff||_0xe4143f[0x5]===0x0)){const _0x522eb7=(_0xe4143f[0x6]<<0x10|_0xe4143f[0x7])>>>0x0,_0x947303=[_0x522eb7>>>0x18&0xff,_0x522eb7>>>0x10&0xff,_0x522eb7>>>0x8&0xff,_0x522eb7&0xff][_0x10532b(_0x31817a._0x5489cf,_0x31817a._0x4ed4bd,0x6bc,_0x31817a._0x9798c7)]('.');return isBlockedIpv4(_0x947303);}const _0x5e3388=_0xe4143f[0x0];function _0x5cba0b(_0x491c57,_0x62565b,_0x18c6e2,_0x3fb261){return _0x1ac42a(_0x491c57-0x74,_0x62565b-_0x95806d._0x38dff4,_0x62565b-0x2ae,_0x18c6e2);}if((_0x5e3388&0xff00)===0xfc00||(_0x5e3388&0xfe00)===0xfc00)return!![];if((_0x5e3388&0xffc0)===0xfe80)return!![];if((_0x5e3388&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x42504d){const _0x327b0f=isIP(_0x42504d);if(_0x327b0f===0x4)return isBlockedIpv4(_0x42504d);if(_0x327b0f===0x6)return isBlockedIpv6(_0x42504d);return!![];}async function assertPublicUrl(_0x20403b,_0x6b1f20={}){const _0x164cb4={_0x6dd66b:0x14c,_0x4f3489:0x129,_0x13898c:0xd9,_0x316aff:0x165,_0x19613b:0x25d,_0x3642f8:0x321,_0x134244:0x2f,_0x492c56:0x48,_0x10947d:0x430,_0xbe6328:0x2a6,_0xa50702:0x36e,_0x512f0b:0x579,_0x49de2b:0x48b,_0x3eacbf:0x4e8,_0x2cc885:0x336,_0xf12037:0x168,_0x2fdd65:0x159,_0xb426c:0x18c,_0x44190f:0x20d,_0x3b45a2:0x174,_0x3e45be:0x81,_0x341ff5:0x171,_0x31130d:0x157,_0x42872d:0x4b7,_0x493587:0x50b,_0x5dca84:0x358,_0x3739e9:0x76,_0x27396d:0x231,_0xecb6b4:0x62d,_0x51247c:0x5a8,_0x3add04:0x43a,_0x552716:0x1f0,_0x4c6530:0x7,_0x213c7f:0x2fc,_0x4e0d06:0x365},_0x1542a8={_0x4dd239:0x194},_0x2358f4={_0x203609:0x19e};let _0x16372a;try{_0x16372a=new URL(_0x20403b);}catch{throw new ToolExecutionError(_0x4c17bf(_0x164cb4._0x6dd66b,_0x164cb4._0x4f3489,_0x164cb4._0x13898c,_0x164cb4._0x316aff),{'url':_0x20403b});}if(_0x16372a[_0x4c17bf(_0x164cb4._0x19613b,0x312,_0x164cb4._0x3642f8,0x168)]!==_0x4c17bf(-0x72,-_0x164cb4._0x134244,_0x164cb4._0x492c56,0x147)&&_0x16372a[_0x590908(0x5db,_0x164cb4._0x10947d,_0x164cb4._0xbe6328,_0x164cb4._0xa50702)]!=='https:')throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x20403b});if(_0x16372a[_0x590908(0x742,_0x164cb4._0x512f0b,_0x164cb4._0x49de2b,_0x164cb4._0x3eacbf)]||_0x16372a['password'])throw new ToolExecutionError(_0x4c17bf(0x86,0x97,_0x164cb4._0x2cc885,0x1bb),{'url':_0x16372a[_0x4c17bf(0x18d,0x320,0xa9,_0x164cb4._0xf12037)]+'//'+_0x16372a['host']+_0x16372a['pathname']});const _0x5d4b45=_0x16372a[_0x4c17bf(_0x164cb4._0x2fdd65,_0x164cb4._0xb426c,_0x164cb4._0x44190f,0x2bf)][_0x4c17bf(-_0x164cb4._0x3b45a2,-0x158,-0x26,0x2b)](/^\[|\]$/g,''),_0x4048bb=_0x16372a[_0x4c17bf(-0x23,_0x164cb4._0x3e45be,_0x164cb4._0x341ff5,_0x164cb4._0xf12037)]+'//'+_0x16372a[_0x4c17bf(-0x17a,-_0x164cb4._0x31130d,0x5d,0x37)]+_0x16372a[_0x590908(0x2f4,_0x164cb4._0x42872d,0x341,0x54a)];if(isIP(_0x5d4b45)){if(isBlockedAddress(_0x5d4b45))throw new ToolExecutionError(_0x4c17bf(_0x164cb4._0x493587,0x49b,0x3f5,_0x164cb4._0x5dca84),{'url':_0x4048bb});return _0x16372a;}const _0x3f8f02=_0x6b1f20['lookup']??defaultLookup;let _0x349b27;try{_0x349b27=await _0x3f8f02(_0x5d4b45);}catch{throw new ToolExecutionError(_0x4c17bf(-_0x164cb4._0x3739e9,0x2f1,_0x164cb4._0x27396d,0x13f),{'url':_0x4048bb});}if(_0x349b27[_0x590908(_0x164cb4._0xecb6b4,_0x164cb4._0x51247c,0x6dc,_0x164cb4._0x3add04)]===0x0)throw new ToolExecutionError(_0x4c17bf(0x167,_0x164cb4._0x552716,-_0x164cb4._0x4c6530,0x13f),{'url':_0x4048bb});for(const {address:_0x5d59ba}of _0x349b27){if(isBlockedAddress(_0x5d59ba))throw new ToolExecutionError(_0x590908(0x445,0x422,_0x164cb4._0x213c7f,_0x164cb4._0x4e0d06),{'url':_0x4048bb});}function _0x4c17bf(_0x125e2e,_0x2752f5,_0x57c7c7,_0x16db64){return _0x151cc1(_0x125e2e-0xd5,_0x16db64- -0x1a6,_0x125e2e,_0x16db64-_0x2358f4._0x203609);}function _0x590908(_0x3f104d,_0x2ac2a2,_0x1cea81,_0x204e2d){return _0x151cc1(_0x3f104d-0x2a,_0x2ac2a2-0x122,_0x204e2d,_0x204e2d-_0x1542a8._0x4dd239);}return _0x16372a;}async function safeFetch(_0x565309,_0x33ef42={},_0x1ec06c={}){const _0x1b0fdc={_0x40f32d:0x102,_0x26af2c:0x1b0,_0x33dac9:0x8f,_0x15a209:0x3,_0x1c4498:0x186,_0x22c0a2:0x32b,_0x5aac1c:0x2d3,_0x296108:0x296,_0x56ebb1:0x1c7,_0x23b036:0x137,_0x25e0db:0x11f,_0x42dcb5:0xae,_0x4b520f:0x2a,_0x342462:0x1f5,_0xdeffce:0xc9,_0x17916a:0xb,_0x4e9b8f:0x1cb,_0x1d4af1:0x59,_0x59f2cb:0x31,_0x2a1982:0x6c},_0x25a0dd={_0x4fca87:0x140,_0x226244:0x197},_0x3d4978={_0x4db169:0x1b};function _0x1bcf1(_0x3ad2ad,_0x2a9f7a,_0x3f2cd5,_0x865357){return _0x151cc1(_0x3ad2ad-0x9d,_0x3f2cd5- -0x24c,_0x3ad2ad,_0x865357-_0x3d4978._0x4db169);}const _0x298a8a=_0x1ec06c['fetchImpl']??fetch;function _0x47b8ca(_0x1224c8,_0x18b992,_0xc0f692,_0x519e4b){return _0x151cc1(_0x1224c8-_0x25a0dd._0x4fca87,_0x519e4b- -0x2bb,_0x18b992,_0x519e4b-_0x25a0dd._0x226244);}const _0x171841=_0x1ec06c[_0x47b8ca(-0x49,-0x9f,-0x15a,-_0x1b0fdc._0x40f32d)]??DEFAULT_MAX_REDIRECTS;let _0x33f126=_0x565309;for(let _0x1014da=0x0;;_0x1014da+=0x1){const _0x2a6ab9=await assertPublicUrl(_0x33f126,_0x1ec06c),_0x3542c2=await _0x298a8a(_0x2a6ab9[_0x1bcf1(_0x1b0fdc._0x26af2c,_0x1b0fdc._0x33dac9,_0x1b0fdc._0x15a209,-_0x1b0fdc._0x1c4498)](),{..._0x33ef42,'redirect':'manual'}),_0x196d41=_0x3542c2[_0x47b8ca(_0x1b0fdc._0x22c0a2,_0x1b0fdc._0x5aac1c,_0x1b0fdc._0x296108,_0x1b0fdc._0x56ebb1)][_0x47b8ca(_0x1b0fdc._0x23b036,0x1f6,-_0x1b0fdc._0x25e0db,_0x1b0fdc._0x42dcb5)]('location');if(!REDIRECT_STATUSES[_0x47b8ca(_0x1b0fdc._0x4b520f,_0x1b0fdc._0x342462,_0x1b0fdc._0xdeffce,0x157)](_0x3542c2['status'])||!_0x196d41)return _0x3542c2;if(_0x1014da>=_0x171841)throw new ToolExecutionError(_0x47b8ca(0x1dc,0x170,_0x1b0fdc._0x17916a,0x8d),{'url':_0x2a6ab9[_0x47b8ca(-_0x1b0fdc._0x4e9b8f,-_0x1b0fdc._0x1d4af1,-_0x1b0fdc._0x59f2cb,-_0x1b0fdc._0x2a1982)]()});_0x33f126=new URL(_0x196d41,_0x2a6ab9)['toString']();}}var USER_AGENT=_0x151cc1(0x4e2,0x42e,0x5ea,0x50c),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x32ac22,_0x45a1a6){const _0x1e9274={_0xbb9c1e:0x42c,_0x118b95:0x34b,_0xee2400:0x399,_0x39fab5:0x4b6,_0xe82b39:0x253,_0x30dd62:0x3d9,_0x15e4dd:0x36f,_0x4d21d7:0x3c6,_0x1ad9aa:0x52,_0x246f24:0xf7},_0x599c16={_0x1317a7:0x399,_0x9cdd43:0x24c},_0x2b76b0={_0x1a1298:0x159,_0xa8cdd3:0x43a},_0x28eb63={_0x5bb054:0x10d,_0x4708c9:0x16a,_0x3b1df2:0x39},_0xd4df23={_0x3e149d:0x3f},_0x4c820f=new AbortController(),_0x213a17=setTimeout(()=>_0x4c820f[_0x18090a(0x1da,0x376,0x37d,0x21d)](new Error(_0x18090a(0x32a,0x370,0x228,0x231))),_0x45a1a6),_0x676ed1=()=>_0x4c820f[_0x5631cc(0x438,0x3d9,0x3c6,0x43c)](_0x32ac22['reason']);function _0x5631cc(_0x4a5b92,_0x386c10,_0x5d367f,_0x126556){return _0x151cc1(_0x4a5b92-0x37,_0x5d367f-_0xd4df23._0x3e149d,_0x386c10,_0x126556-0x133);}function _0x18090a(_0x246d50,_0x54b7bc,_0x56b84e,_0x260de0){return _0x151cc1(_0x246d50-_0x28eb63._0x5bb054,_0x260de0- -_0x28eb63._0x4708c9,_0x246d50,_0x260de0-_0x28eb63._0x3b1df2);}return _0x32ac22['aborted']?_0x4c820f[_0x5631cc(_0x1e9274._0xbb9c1e,_0x1e9274._0x118b95,0x3c6,0x484)](_0x32ac22[_0x5631cc(_0x1e9274._0xee2400,_0x1e9274._0x39fab5,0x2f5,0x346)]):_0x32ac22[_0x5631cc(0x2bc,0x2e8,_0x1e9274._0xe82b39,0x33a)](_0x5631cc(_0x1e9274._0x30dd62,_0x1e9274._0x15e4dd,_0x1e9274._0x4d21d7,0x49d),_0x676ed1,{'once':!![]}),{'signal':_0x4c820f[_0x18090a(0xa5,-_0x1e9274._0x1ad9aa,_0x1e9274._0x246f24,0x1a)],'cleanup':()=>{const _0x5b9773={_0x6231cc:0x1aa,_0x439758:0x147};function _0x17bb42(_0x500cfb,_0xb81fc2,_0x405620,_0x5b8f79){return _0x18090a(_0xb81fc2,_0xb81fc2-0x109,_0x405620-_0x2b76b0._0x1a1298,_0x405620-_0x2b76b0._0xa8cdd3);}clearTimeout(_0x213a17);function _0x9af3a5(_0x56f32f,_0x13d83e,_0x372c33,_0x44d2e9){return _0x5631cc(_0x56f32f-_0x5b9773._0x6231cc,_0x372c33,_0x13d83e- -0x2d,_0x44d2e9-_0x5b9773._0x439758);}_0x32ac22[_0x17bb42(0x8c9,0x59a,0x734,0x7cc)](_0x9af3a5(0x209,_0x599c16._0x1317a7,_0x599c16._0x9cdd43,0x2c5),_0x676ed1);}};}function createWebFetchTool(_0x16cec4={}){const _0x4c8bfb={_0x2b95bf:0x4a4,_0x276816:0x5fd,_0x556960:0x2a6,_0x36cffd:0x1a3,_0x28c421:0x3da,_0x296688:0x22d,_0x401ec8:0x5b6,_0xf1bd2f:0x524,_0x26c907:0x1b2,_0x121736:0x47,_0x216a46:0x79,_0xe31127:0x6f,_0x13c510:0x25d,_0x2673fa:0xae,_0x368ad7:0x51a,_0x2506a4:0x56c,_0x34684e:0x3a3,_0x519b4a:0x369,_0x59075b:0x4a8,_0x2a6e9d:0x4ff,_0x1b41ab:0x92,_0x10187b:0x12a,_0x2bb0d6:0x45,_0x1b3385:0x121,_0x116c61:0x1df,_0x1d5a98:0x347,_0x286ae3:0x19c,_0x24c97e:0x254},_0x1526be={_0x3983ba:0x2ee,_0x183a5b:0x28b,_0x2d2ddf:0x152,_0x3486c2:0x4a4,_0x255f0d:0xec,_0x2fc4d9:0xe0,_0x34dca3:0x11,_0x1c16ff:0xb7,_0xea55c7:0x89,_0x13036b:0x2e9,_0x3c00de:0x1e5,_0x1999af:0x217,_0x29a483:0x2da,_0x315857:0x487,_0x55e30a:0x23d,_0x3e760a:0x39f,_0x43fe1a:0x34e,_0x17afa4:0x61d,_0x4e2b79:0x4f2,_0x2b4d38:0x1c7,_0xb9afaa:0x482,_0x4a7832:0x495,_0x646612:0x533,_0x1b85c8:0x303,_0x43455c:0x1fc,_0x36fca2:0x91,_0x52bdb7:0x18,_0x59c8fd:0xa7,_0x343e74:0x162,_0x3e33c0:0x132,_0xea34bf:0x5eb,_0x479639:0x43f,_0x59904f:0xad,_0xf80770:0x93,_0x399681:0x145,_0x37063b:0x54f,_0x4ad462:0x375,_0x5f136e:0x3bf,_0x4627ee:0x8f,_0x5fedf4:0x5c,_0x1e6a37:0xd1,_0x473cef:0x100,_0x2e97b1:0x99,_0x14717a:0x9e,_0x8a739d:0xbb,_0x459e11:0x160,_0x84ad07:0x23d},_0x34d77d={_0x4f9462:0xdd,_0x3f2674:0x108,_0x538aca:0x9a},_0x2d4f52={_0x287a26:0x288,_0x23c0bc:0x1d,_0x152bcf:0xe2},_0x4a7897={_0x1232f7:0x5e,_0x4b8227:0x412},_0x38d413={_0x56eba6:0xa4},_0x57d0c2=_0x16cec4[_0xf6b1a1(_0x4c8bfb._0x2b95bf,0x64d,0x458,_0x4c8bfb._0x276816)]??_0xf6b1a1(_0x4c8bfb._0x556960,_0x4c8bfb._0x36cffd,0x2b1,_0x4c8bfb._0x28c421),_0x4bf7f0=_0x16cec4[_0xf6b1a1(_0x4c8bfb._0x296688,0x1b4,0xc1,0x2f8)]??DEFAULT_TIMEOUT_MS2;function _0x1589a5(_0x3480f7,_0x4c4446,_0x344c00,_0x469af6){return _0x151cc1(_0x3480f7-0x105,_0x3480f7- -0x1fb,_0x4c4446,_0x469af6-_0x38d413._0x56eba6);}const _0x393167=_0x16cec4[_0xf6b1a1(0x4cb,_0x4c8bfb._0x401ec8,0x5c0,_0x4c8bfb._0xf1bd2f)];function _0xf6b1a1(_0x3b0bab,_0x3151ab,_0x20185c,_0xa8756f){return _0x1ac42a(_0x3b0bab-_0x4a7897._0x1232f7,_0x3151ab-0x17c,_0x3b0bab-_0x4a7897._0x4b8227,_0x3151ab);}const _0x170808=new _0x13ba17({'headingStyle':_0xf6b1a1(0x24c,0x252,0x2c9,_0x4c8bfb._0x26c907),'codeBlockStyle':'fenced','bulletListMarker':'-'});return _0x170808[_0x1589a5(_0x4c8bfb._0x121736,0x181,0x76,0x1d5)](['script','style','noscript',_0x1589a5(-0x8d,-0x245,_0x4c8bfb._0x216a46,_0x4c8bfb._0xe31127),_0x1589a5(0x208,0x3b7,_0x4c8bfb._0x13c510,_0x4c8bfb._0x2673fa),'footer',_0xf6b1a1(_0x4c8bfb._0x368ad7,_0x4c8bfb._0x2506a4,0x52c,_0x4c8bfb._0x34684e),_0xf6b1a1(0x462,_0x4c8bfb._0x519b4a,0x625,_0x4c8bfb._0x59075b)]),defineTool({'name':_0x57d0c2,'permissionClass':_0xf6b1a1(_0x4c8bfb._0x2a6e9d,0x4a0,0x597,0x50c),'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':_0x1589a5(-_0x4c8bfb._0x1b41ab,0x1a,-0x12f,-_0x4c8bfb._0x10187b),'properties':{'description':{'type':_0x1589a5(-_0x4c8bfb._0x2bb0d6,-_0x4c8bfb._0x1b3385,-_0x4c8bfb._0x116c61,-0x9e)},'url':{'type':'string'}},'required':[_0xf6b1a1(_0x4c8bfb._0x1d5a98,_0x4c8bfb._0x286ae3,0x302,_0x4c8bfb._0x24c97e)]},async *'execute'(_0x16416d,_0x1c25b1){const _0x43fd38=(await assertPublicUrl(_0x16416d[_0x3b104a(_0x1526be._0x3983ba,_0x1526be._0x183a5b,0x33f,0x18c)],{'lookup':_0x393167}))[_0x3b104a(0x20a,_0x1526be._0x2d2ddf,0x2dc,_0x1526be._0x3486c2)]();if(_0x1c25b1['signal'][_0x5b3bc4(-0x104,-_0x1526be._0x255f0d,-0xd8,_0x1526be._0x2fc4d9)])throw new ToolExecutionError(_0x5b3bc4(-_0x1526be._0x34dca3,_0x1526be._0x1c16ff,0x24b,-_0x1526be._0xea55c7),{'url':_0x43fd38});const _0x5c9257=createTimeoutSignal(_0x1c25b1[_0x3b104a(_0x1526be._0x13036b,_0x1526be._0x3c00de,0x211,_0x1526be._0x1999af)],_0x4bf7f0);let _0x423353='';function _0x3b104a(_0x41cc3c,_0x1a32b3,_0x39df0f,_0x3792d0){return _0x1589a5(_0x39df0f-_0x2d4f52._0x287a26,_0x41cc3c,_0x39df0f-_0x2d4f52._0x23c0bc,_0x3792d0-_0x2d4f52._0x152bcf);}let _0x203e94=0x0,_0x2739d8;function _0x5b3bc4(_0x153d71,_0x26cbcc,_0x132550,_0xdb0b28){return _0x1589a5(_0x26cbcc- -_0x34d77d._0x4f9462,_0xdb0b28,_0x132550-_0x34d77d._0x3f2674,_0xdb0b28-_0x34d77d._0x538aca);}try{const _0x5d5f60=await safeFetch(_0x43fd38,{'headers':{'User-Agent':USER_AGENT},'signal':_0x5c9257[_0x3b104a(0x1c2,_0x1526be._0x29a483,0x211,0x3d4)]},{'lookup':_0x393167});if(!_0x5d5f60['ok'])throw new ToolExecutionError(_0x3b104a(_0x1526be._0x315857,_0x1526be._0x55e30a,_0x1526be._0x3e760a,0x4c0)+_0x5d5f60[_0x3b104a(_0x1526be._0x43fe1a,_0x1526be._0x17afa4,0x495,_0x1526be._0x4e2b79)]+'\x20'+_0x5d5f60[_0x3b104a(0x387,0xd9,0x20f,_0x1526be._0x2b4d38)],{'url':_0x43fd38,'statusCode':_0x5d5f60[_0x3b104a(_0x1526be._0xb9afaa,0x506,_0x1526be._0x4a7832,_0x1526be._0x646612)]});_0x423353=_0x5d5f60[_0x5b3bc4(_0x1526be._0x1b85c8,0x1aa,_0x1526be._0x43455c,0xdc)][_0x5b3bc4(-_0x1526be._0x34dca3,_0x1526be._0x36fca2,0x1b6,_0x1526be._0x52bdb7)](_0x5b3bc4(0x102,-_0x1526be._0x59c8fd,-_0x1526be._0x343e74,-_0x1526be._0x3e33c0))??'',_0x203e94=_0x5d5f60['status'],_0x2739d8=await _0x5d5f60[_0x5b3bc4(-0x177,-0x160,0x23,-0x28a)]();}catch(_0x2b3b07){if(_0x2b3b07 instanceof ToolExecutionError)throw _0x2b3b07;const _0x2db8e3=_0x2b3b07 instanceof Error?_0x2b3b07[_0x3b104a(0x607,_0x1526be._0xea34bf,0x51b,0x637)]:String(_0x2b3b07);throw new ToolExecutionError(_0x2db8e3,{'url':_0x43fd38});}finally{_0x5c9257['cleanup']();}const _0x365925=new Date()[_0x3b104a(0x63e,_0x1526be._0x479639,0x4db,0x3d9)]();let _0x1e307f,_0x26f5ba;if(_0x423353[_0x5b3bc4(-_0x1526be._0x59904f,-_0x1526be._0xf80770,-0x200,-_0x1526be._0x399681)](_0x3b104a(0x554,0x59b,0x569,_0x1526be._0x37063b)))_0x1e307f=_0x3b104a(0x378,0x326,_0x1526be._0x4ad462,_0x1526be._0x5f136e)+_0x2739d8+_0x5b3bc4(-0x242,-0x9f,-_0x1526be._0x4627ee,-_0x1526be._0x5fedf4),_0x26f5ba=_0x5b3bc4(0x12a,0x7b,_0x1526be._0x1e6a37,_0x1526be._0x473cef);else _0x423353['includes']('text/html')?(_0x1e307f=_0x170808[_0x3b104a(0x6da,0x5f3,0x594,0x74b)](_0x2739d8),_0x26f5ba=_0x5b3bc4(-_0x1526be._0x2e97b1,0x30,_0x1526be._0x14717a,_0x1526be._0x8a739d)):(_0x1e307f=_0x2739d8,_0x26f5ba=_0x5b3bc4(-0x214,-_0x1526be._0x459e11,-_0x1526be._0x84ad07,-0x300));return yield createToolOutput(_0x1e307f,{'url':_0x43fd38,'contentType':_0x423353,'statusCode':_0x203e94,'format':_0x26f5ba,'size':_0x2739d8['length'],'fetchedAt':_0x365925}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2='Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20Chrome/123.0.0.0\x20Safari/537.36\x20NuvinBot/1.0';function normalizeUrl(_0x1d3cd6){const _0x35e2b5={_0x3d0964:0x157,_0x587d40:0x136,_0x9d64b3:0x1b2,_0x26f71b:0x1f2,_0x1079e0:0xb7,_0x5beb42:0x94,_0x140d74:0x43,_0x52e6bf:0x8d,_0x9d2641:0x99,_0x48d41f:0x94,_0x56077f:0x81,_0x545b80:0x9c,_0x175242:0x50,_0x49693b:0x171,_0x1e55d5:0x231},_0x471ca0={_0x5491a4:0x34,_0x21449b:0x4},_0x5621ac={_0x4f6a1d:0x1c7};function _0x334cd0(_0x1d7513,_0x22dfa9,_0x1a27ce,_0x595b02){return _0x1ac42a(_0x1d7513-0x8e,_0x22dfa9-_0x5621ac._0x4f6a1d,_0x595b02-0x67,_0x22dfa9);}function _0x36465d(_0x49df45,_0x10c0e3,_0x3fd7cd,_0x5b64de){return _0x151cc1(_0x49df45-_0x471ca0._0x5491a4,_0x3fd7cd- -0x204,_0x5b64de,_0x5b64de-_0x471ca0._0x21449b);}try{const _0x4d921f=new URL(_0x1d3cd6);for(const _0x310a04 of[_0x36465d(-_0x35e2b5._0x3d0964,0xe1,-0x5c,-0xb7),_0x334cd0(_0x35e2b5._0x587d40,0x1bc,0x29f,0xd7),_0x36465d(0x3b8,_0x35e2b5._0x9d64b3,_0x35e2b5._0x26f71b,_0x35e2b5._0x1079e0),_0x334cd0(-0x165,-_0x35e2b5._0x5beb42,_0x35e2b5._0x140d74,-0x65),_0x36465d(-0x109,-0x1ad,-0x62,-0x19f),_0x334cd0(-0x17c,-_0x35e2b5._0x52e6bf,-_0x35e2b5._0x9d2641,-_0x35e2b5._0x48d41f),'fbclid','mc_cid',_0x334cd0(_0x35e2b5._0x56077f,0x21e,_0x35e2b5._0x545b80,_0x35e2b5._0x175242)]){_0x4d921f[_0x36465d(0x9a,-_0x35e2b5._0x49693b,-0x81,-_0x35e2b5._0x1e55d5)]['delete'](_0x310a04);}return _0x4d921f['toString']();}catch{return _0x1d3cd6;}}function cseDateRestrict(_0x376746){const _0x1a2163={_0xc409ef:0x304,_0x26c7ca:0x3ec,_0x2d5679:0x3e8,_0x527838:0x40d,_0x16b423:0x34b,_0x5299ce:0x5dd,_0x49e579:0x672},_0xd1189c={_0x858a0f:0x5e9},_0x5aa459={_0x19ecc2:0x1b7};if(_0x376746<=0x0)return void 0x0;function _0x539424(_0x3e5ac4,_0x252834,_0x24ddee,_0x1d98f0){return _0x1ac42a(_0x3e5ac4-0x6a,_0x252834-_0x5aa459._0x19ecc2,_0x1d98f0-0x35b,_0x24ddee);}function _0xa4f275(_0x47a10e,_0x175ba4,_0x10d554,_0x30545c){return _0x1ac42a(_0x47a10e-0x54,_0x175ba4-0xdb,_0x47a10e-_0xd1189c._0x858a0f,_0x30545c);}if(_0x376746<=0x1e)return'd'+Math[_0x539424(0x502,_0x1a2163._0xc409ef,0x32c,_0x1a2163._0x26c7ca)](0x1,Math[_0x539424(0x29b,_0x1a2163._0x2d5679,0x380,0x28b)](_0x376746));if(_0x376746<=0x16d)return'm'+Math[_0x539424(_0x1a2163._0x527838,0x696,_0x1a2163._0x16b423,0x4d4)](_0x376746/0x1e);return'y'+Math[_0xa4f275(0x762,0x79a,_0x1a2163._0x5299ce,_0x1a2163._0x49e579)](_0x376746/0x16d);}function addSiteFilters(_0x33b27c,_0x4031f2){const _0x428e3d={_0x229369:0x325,_0x3e31c9:0x4c5,_0x3093bd:0x649,_0x346f8d:0x520,_0x5c6ce5:0x4bc,_0x4d94d0:0x2b1,_0x3b437f:0x134,_0x57da83:0x4ef},_0x3084fa={_0x1c827b:0x9b,_0x43a619:0x2},_0x2cb4c2={_0x159996:0x68,_0xa18a47:0x43f};if(_0x4031f2['length']===0x0)return _0x33b27c[_0x2da184(0x4ef,0x364,0x62f,_0x428e3d._0x229369)]();function _0x2da184(_0x4321c2,_0x260275,_0xc08dad,_0x151829){return _0x1ac42a(_0x4321c2-0x1c0,_0x260275-_0x2cb4c2._0x159996,_0x4321c2-_0x2cb4c2._0xa18a47,_0xc08dad);}function _0x22328f(_0x2cc0f2,_0x4a0179,_0x2a0a94,_0x413602){return _0x1ac42a(_0x2cc0f2-_0x3084fa._0x1c827b,_0x4a0179-_0x3084fa._0x43a619,_0x2a0a94-0x3e4,_0x413602);}return(_0x33b27c+'\x20('+_0x4031f2[_0x2da184(0x4e9,0x52e,0x53e,_0x428e3d._0x3e31c9)](_0x1f5702=>_0x22328f(0x366,0x1c7,0x32e,0x3bb)+_0x1f5702)[_0x22328f(_0x428e3d._0x3093bd,0x62c,_0x428e3d._0x346f8d,_0x428e3d._0x5c6ce5)](_0x2da184(_0x428e3d._0x4d94d0,_0x428e3d._0x3b437f,0x207,0x3b1))+')')[_0x2da184(_0x428e3d._0x57da83,0x39a,0x494,0x5c9)]();}function normalizeType(_0x26f00b){const _0xcb9fea={_0x4040ed:0x2c7,_0x47b99c:0x1e5,_0x23f600:0xa6,_0x51fd97:0x12e,_0x186680:0x1dc,_0x2a8f6c:0x343,_0x24fe81:0x287,_0x976406:0x33e},_0x36e734={_0xda16cf:0x73,_0x36b71e:0x60},_0x4d0ceb={_0x4fc577:0x1e4,_0x47acfa:0x101,_0x6e7924:0x5ae};function _0x564ff9(_0x10b101,_0x1db528,_0x434a08,_0x57d627){return _0x1ac42a(_0x10b101-_0x4d0ceb._0x4fc577,_0x1db528-_0x4d0ceb._0x47acfa,_0x10b101-_0x4d0ceb._0x6e7924,_0x57d627);}function _0x552943(_0x37c7f6,_0x3a766f,_0x3c2e7a,_0x148c34){return _0x151cc1(_0x37c7f6-_0x36e734._0xda16cf,_0x3a766f- -_0x36e734._0x36b71e,_0x3c2e7a,_0x148c34-0xe7);}return _0x26f00b===_0x552943(_0xcb9fea._0x4040ed,0x1dc,_0xcb9fea._0x47b99c,_0xcb9fea._0x23f600)?_0x552943(_0xcb9fea._0x51fd97,_0xcb9fea._0x186680,0x24e,_0xcb9fea._0x2a8f6c):_0x552943(_0xcb9fea._0x24fe81,0x393,_0xcb9fea._0x976406,0x304);}async function fetchJson(_0x5a942d,_0x28e8ce,_0x5eaf0d){const _0x4ac947={_0x168faa:0x280,_0x1394c3:0x1de,_0x27f28d:0xb9,_0x8199ac:0xa1,_0x262842:0xe4,_0x42ba6f:0x36,_0x2bbcab:0x28e,_0x312d67:0x113,_0x4824ff:0x108,_0x5da56d:0x2ad,_0x40fc30:0x292,_0x52cc9f:0x152,_0x190947:0x3b7,_0x21c251:0x11d,_0x1f8f7c:0x11e,_0x411734:0x1a2,_0xee8b56:0x207,_0x3852e0:0x115,_0x580d80:0x25d,_0x16bc47:0x247,_0x10e5fe:0x1ac,_0x3b99a1:0x5c,_0x103e1b:0x1d6},_0x459624={_0x5ed6aa:0xad,_0xdee24c:0x121},_0x4e62d3={_0x5b3ff7:0x17d,_0x290d66:0x4c};function _0x3651b1(_0x3a2270,_0x2518d8,_0x3204b3,_0x3a60b4){return _0x1ac42a(_0x3a2270-_0x4e62d3._0x5b3ff7,_0x2518d8-0xba,_0x2518d8- -_0x4e62d3._0x290d66,_0x3204b3);}const _0x555fc7=await fetch(_0x5a942d,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x6c9c0d(_0x4ac947._0x168faa,0x31e,0x132,_0x4ac947._0x1394c3),..._0x5eaf0d?.[_0x3651b1(0x263,_0x4ac947._0x27f28d,-_0x4ac947._0x8199ac,0x98)]},'signal':_0x28e8ce,..._0x5eaf0d});function _0x6c9c0d(_0x3c8593,_0x52163f,_0x149ff5,_0x41c95e){return _0x1ac42a(_0x3c8593-_0x459624._0x5ed6aa,_0x52163f-0xfc,_0x3c8593-_0x459624._0xdee24c,_0x52163f);}if(!_0x555fc7['ok']){let _0x3c5e3e,_0x5b51bf;try{_0x3c5e3e=await _0x555fc7[_0x6c9c0d(-_0x4ac947._0x262842,_0x4ac947._0x42ba6f,-0x34,-_0x4ac947._0x2bbcab)]();const _0x5608aa=JSON[_0x6c9c0d(_0x4ac947._0x312d67,0x245,_0x4ac947._0x4824ff,_0x4ac947._0x5da56d)](_0x3c5e3e),_0x281893=typeof _0x5608aa[_0x6c9c0d(_0x4ac947._0x40fc30,_0x4ac947._0x52cc9f,_0x4ac947._0x190947,0x125)]==='object'?_0x5608aa[_0x6c9c0d(_0x4ac947._0x40fc30,_0x4ac947._0x21c251,_0x4ac947._0x1f8f7c,0x36c)][_0x3651b1(0x148,0x35,-0x4b,-0x185)]:void 0x0;_0x5b51bf=_0x5608aa[_0x3651b1(0xbf,0x35,-0x175,-0x16)]?.['message']??_0x5608aa[_0x6c9c0d(_0x4ac947._0x411734,0x1c7,0xb6,_0x4ac947._0xee8b56)]?.['errors']?.[0x0]?.[_0x6c9c0d(0x232,0x1f5,0x10f,0x115)]??_0x281893;}catch{}const _0x36b714=_0x5b51bf?_0x3651b1(-0x36,-0xb7,-0xe4,-0xfc)+_0x555fc7['status']+':\x20'+_0x5b51bf:_0x3651b1(-0x275,-0xb7,_0x4ac947._0x3852e0,-0x60)+_0x555fc7['status']+'\x20'+_0x555fc7[_0x3651b1(-_0x4ac947._0x580d80,-_0x4ac947._0x16bc47,-0xd1,-0x207)];throw new ToolExecutionError(_0x36b714,{'statusCode':_0x555fc7[_0x6c9c0d(_0x4ac947._0x10e5fe,0x4d,0x128,0x159)],..._0x3c5e3e?{'body':_0x3c5e3e}:{}});}return await _0x555fc7[_0x6c9c0d(0xf7,_0x4ac947._0x3b99a1,_0x4ac947._0x103e1b,-0x77)]();}async function hydrateResults(_0x61747c,_0x2d0aee,_0x2ab361,_0x2426dc){const _0x224d83={_0x10f2c8:0x27,_0x5c79e1:0x11,_0x56eadb:0x187,_0x4b617a:0x27,_0xba841:0x146,_0x4930e4:0x160,_0xf6f68c:0x245,_0x51db64:0xbb,_0x21e730:0x137},_0x3d6ad2={_0x511dd4:0x17c},_0x1bb420={_0x555a92:0x168,_0x29f429:0x8},_0x5d4fcb={_0x358ac6:0x134,_0x2ce329:0x25c,_0x723c59:0x16e,_0xf479cd:0x189,_0x4abf7a:0x17d,_0x429e17:0x2f9,_0x1189b4:0x2,_0x228544:0x107,_0x19ce7a:0x16a,_0x5dd2d8:0x2a7,_0x951960:0x2aa,_0x34063c:0x356,_0x208ea2:0x2bc,_0x43335d:0x2de,_0x426545:0x30d,_0x523288:0x278,_0x40b4e7:0x224,_0x3f4c9e:0x6d,_0x383eb0:0x1ff,_0x524556:0x146,_0x101596:0x303,_0x158da6:0x4c2,_0xab28f9:0x2a0,_0x213114:0x101,_0x5135c0:0x1e9,_0x4f65a0:0x384,_0x498f3a:0x15d,_0xd2660a:0x27e,_0x4a3c25:0x2fc,_0x3684df:0x13b,_0x52c7c1:0x179,_0x36f132:0x164,_0x521a9d:0x95,_0x29c3e4:0x303,_0x273d45:0x299,_0x427a59:0x262,_0x55e1a5:0x32a,_0x5f4039:0x20c,_0x40ca04:0x454,_0x5d4199:0x1e9,_0x4635e1:0x3a9,_0x56feda:0x55,_0x5a2394:0x8e,_0x299eb1:0x119,_0x520883:0x2ba,_0x147963:0x67,_0x1b1816:0x3d5,_0x2ab67e:0x2f5,_0x412966:0xa2,_0x649ef9:0x27,_0x48d826:0x10e},_0x3a2c67={_0x48825b:0x183,_0x672580:0x10f},_0x3e7a55=await Promise[_0x10b9bb(_0x224d83._0x10f2c8,0xc0,0x149,-_0x224d83._0x5c79e1)](_0x61747c[_0x1935e3(-_0x224d83._0x56eadb,-_0x224d83._0x4b617a,_0x224d83._0xba841,_0x224d83._0x4930e4)](0x0,0xa)[_0x10b9bb(0x1d2,0x295,0x329,_0x224d83._0xf6f68c)](async _0x4a5b2d=>{const _0x435a60={_0x592ca0:0x208,_0x4745d2:0xac};function _0x1f3881(_0x12ae7f,_0x45c654,_0x4f4dd9,_0x90b40){return _0x1935e3(_0x90b40,_0x4f4dd9-_0x3a2c67._0x48825b,_0x4f4dd9-_0x3a2c67._0x672580,_0x90b40-0x1bb);}function _0x2316cf(_0x14a955,_0x17ab8b,_0x1f9d75,_0x4a72b5){return _0x1935e3(_0x17ab8b,_0x14a955-_0x435a60._0x592ca0,_0x1f9d75-_0x435a60._0x4745d2,_0x4a72b5-0x126);}try{const _0x5cc131=await safeFetch(_0x4a5b2d[_0x2316cf(_0x5d4fcb._0x358ac6,0x10a,0x1a5,_0x5d4fcb._0x2ce329)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x2d0aee,'Accept':_0x1f3881(_0x5d4fcb._0x723c59,_0x5d4fcb._0xf479cd,_0x5d4fcb._0x4abf7a,_0x5d4fcb._0x429e17)},'signal':_0x2ab361},{'lookup':_0x2426dc});if(!_0x5cc131['ok'])return _0x4a5b2d;const _0x459f7c=await _0x5cc131[_0x2316cf(-0x6,-_0x5d4fcb._0x1189b4,-_0x5d4fcb._0x228544,_0x5d4fcb._0x19ce7a)](),_0xa31846=load(_0x459f7c),_0x27a87e=_0xa31846(_0x2316cf(_0x5d4fcb._0x5dd2d8,0x284,_0x5d4fcb._0x951960,_0x5d4fcb._0x34063c))['attr'](_0x2316cf(0x303,_0x5d4fcb._0x208ea2,_0x5d4fcb._0x43335d,0x216))||_0xa31846(_0x2316cf(0x22a,0x3a6,_0x5d4fcb._0x426545,0x314))[_0x2316cf(0x344,_0x5d4fcb._0x523288,_0x5d4fcb._0x40b4e7,0x500)]()[_0x1f3881(-_0x5d4fcb._0x3f4c9e,-0x31,-0x8b,-0x1c2)]()['trim'](),_0x445568=_0xa31846(_0x2316cf(_0x5d4fcb._0x383eb0,0x27f,0x34d,0x3ae))[_0x1f3881(_0x5d4fcb._0x524556,0x22c,0x164,0x1c6)](_0x2316cf(_0x5d4fcb._0x101596,0x2ec,_0x5d4fcb._0x158da6,_0x5d4fcb._0xab28f9))||_0xa31846(_0x2316cf(0x27c,0x2ea,0x3a8,_0x5d4fcb._0x213114))[_0x2316cf(_0x5d4fcb._0x5135c0,_0x5d4fcb._0x4f65a0,0x1ea,0x3b0)](_0x1f3881(0x2e6,_0x5d4fcb._0x498f3a,_0x5d4fcb._0xd2660a,_0x5d4fcb._0x4a3c25))||_0x4a5b2d[_0x1f3881(0x187,-0x62,_0x5d4fcb._0x3684df,_0x5d4fcb._0x52c7c1)],_0x2797ae=_0xa31846('meta[property=\x27article:published_time\x27]')[_0x1f3881(0x2de,0x2ca,_0x5d4fcb._0x36f132,_0x5d4fcb._0x521a9d)](_0x2316cf(_0x5d4fcb._0x29c3e4,_0x5d4fcb._0x273d45,0x26f,_0x5d4fcb._0x427a59))||_0xa31846(_0x2316cf(_0x5d4fcb._0x55e1a5,0x4da,_0x5d4fcb._0x5f4039,_0x5d4fcb._0x40ca04))[_0x2316cf(_0x5d4fcb._0x5d4199,0x141,0x4b,0xb6)](_0x1f3881(_0x5d4fcb._0x4635e1,_0x5d4fcb._0x56feda,0x214,_0x5d4fcb._0x5a2394))||_0x4a5b2d[_0x2316cf(0x164,_0x5d4fcb._0x299eb1,_0x5d4fcb._0x520883,_0x5d4fcb._0x147963)],_0x2fa5b9=_0xa31846('link[rel=\x27canonical\x27]')['attr'](_0x1f3881(0x3c7,_0x5d4fcb._0x1b1816,_0x5d4fcb._0x2ab67e,0x244));return{..._0x4a5b2d,'title':_0x27a87e||_0x4a5b2d['title'],'snippet':_0x445568,'url':_0x2fa5b9?normalizeUrl(new URL(_0x2fa5b9,_0x4a5b2d[_0x1f3881(0xd0,_0x5d4fcb._0x412966,0xaf,0x1)])['toString']()):_0x4a5b2d[_0x2316cf(_0x5d4fcb._0x358ac6,0x25,-_0x5d4fcb._0x649ef9,_0x5d4fcb._0x48d826)],'publishedAt':_0x2797ae};}catch{return _0x4a5b2d;}}));function _0x10b9bb(_0x3283db,_0x2c920d,_0x41bc93,_0x180c9f){return _0x1ac42a(_0x3283db-_0x1bb420._0x555a92,_0x2c920d-_0x1bb420._0x29f429,_0x2c920d-0x1eb,_0x180c9f);}function _0x1935e3(_0x79ae8d,_0x5c9e21,_0xce6f0f,_0x3499bb){return _0x1ac42a(_0x79ae8d-0x16d,_0x5c9e21-_0x3d6ad2._0x511dd4,_0x5c9e21- -0x9,_0x79ae8d);}const _0x48c940=new Map(_0x61747c[_0x1935e3(_0x224d83._0x51db64,-_0x224d83._0x4b617a,0x6c,_0x224d83._0x21e730)](0x0,0xa)['map']((_0x4aa04d,_0x17d523)=>[_0x4aa04d[_0x10b9bb(0x1a1,0x120,0x152,0x2a0)],_0x3e7a55[_0x17d523]]));return _0x61747c['map'](_0x43d06e=>_0x48c940['get'](_0x43d06e[_0x10b9bb(-0x23,0x120,0x2aa,0x97)])??_0x43d06e);}function formatResults(_0x46d965){const _0x59c42c={_0x189bff:0x47e,_0x478b8a:0x6bb,_0x89df33:0x3fc,_0x58206c:0x6ab,_0x42d76f:0x4cf},_0x11c7e7={_0x5fa3d5:0x542,_0x4ae505:0x643,_0x2f9811:0x609,_0x2209fd:0x481,_0x9cab72:0x634,_0x10be65:0x5e4,_0xd2143c:0x59f,_0x8d6730:0x56d,_0x5010ed:0x653,_0x442d31:0x606,_0x40270a:0x5f5,_0x4f889b:0x6e1,_0x1ccc3c:0x4a4,_0x1a0f12:0x49a,_0x5a1cfb:0x729,_0x472d68:0x65f,_0xcd9a05:0x71a,_0x3b8b30:0x78a,_0x54b3b:0x6c2},_0x36bc17={_0x5cc752:0x1bb,_0x210f0e:0x10},_0xeb786b={_0x107ea0:0x193};function _0x5942b8(_0x499c9d,_0x1c8187,_0x552936,_0x591516){return _0x1ac42a(_0x499c9d-0xf6,_0x1c8187-0x14f,_0x552936-0x6bf,_0x591516);}function _0x1fc44(_0x37b4ea,_0x5eb957,_0x2c6fae,_0x21547f){return _0x151cc1(_0x37b4ea-0x189,_0x5eb957-_0xeb786b._0x107ea0,_0x2c6fae,_0x21547f-0xce);}if(_0x46d965[_0x1fc44(0x4c0,0x619,0x717,0x464)]===0x0)return _0x5942b8(_0x59c42c._0x189bff,_0x59c42c._0x478b8a,0x5a4,0x5ad);return _0x46d965[_0x1fc44(_0x59c42c._0x89df33,0x5ba,0x4bb,0x784)](_0x1ffd44=>{const _0x55939d={_0x2e27bf:0x1b,_0x1fe972:0xe1};function _0x1fd9d8(_0x3953c2,_0x14f630,_0x5525b9,_0x345648){return _0x5942b8(_0x3953c2-0x111,_0x14f630-_0x36bc17._0x5cc752,_0x345648- -_0x36bc17._0x210f0e,_0x14f630);}const _0x408489=[_0x1ffd44['source'][_0x1fd9d8(0x6e0,_0x11c7e7._0x5fa3d5,0x694,_0x11c7e7._0x4ae505)]+'.\x20'+_0x1ffd44[_0x47c0a5(_0x11c7e7._0x2f9811,_0x11c7e7._0x2209fd,_0x11c7e7._0x9cab72,0x56c)],_0x1ffd44[_0x1fd9d8(0x52b,0x47d,0x443,_0x11c7e7._0x10be65)]];if(_0x1ffd44[_0x1fd9d8(0x72a,0x580,0x67f,0x670)])_0x408489[_0x47c0a5(0x5f5,0x4d4,0x4ee,0x776)](_0x1ffd44[_0x47c0a5(_0x11c7e7._0xd2143c,_0x11c7e7._0x8d6730,0x4b9,_0x11c7e7._0x5010ed)]);function _0x47c0a5(_0x37b7fe,_0x5c5789,_0x4fe67c,_0x3f74){return _0x5942b8(_0x37b7fe-0x1d6,_0x5c5789-_0x55939d._0x2e27bf,_0x37b7fe- -_0x55939d._0x1fe972,_0x5c5789);}if(_0x1ffd44[_0x1fd9d8(0x5db,_0x11c7e7._0x442d31,0x785,0x614)])_0x408489[_0x47c0a5(_0x11c7e7._0x40270a,0x7b0,_0x11c7e7._0x4f889b,0x5ac)](_0x1fd9d8(_0x11c7e7._0x1ccc3c,_0x11c7e7._0x1a0f12,_0x11c7e7._0x5a1cfb,_0x11c7e7._0x472d68)+_0x1ffd44[_0x47c0a5(0x543,0x50d,0x6a9,0x455)]);return _0x408489[_0x47c0a5(_0x11c7e7._0xcd9a05,_0x11c7e7._0x3b8b30,0x645,_0x11c7e7._0x54b3b)]('\x0a');})[_0x1fc44(0x7a9,0x64c,_0x59c42c._0x58206c,_0x59c42c._0x42d76f)]('\x0a\x0a');}async function searchOllama(_0x5f3d77,_0x13e4c3,_0x436eab){const _0x3b0fdb={_0x359653:0x71,_0xe61f33:0xb9,_0x519852:0xcc,_0x30533b:0x80,_0xdf9fc1:0x12,_0x406cba:0x2b,_0x49586a:0x18a,_0x1d00d8:0xa4,_0x3f07f9:0x2f7,_0x3f2091:0x7c1,_0x4a10a4:0x6f3},_0x8ec4e4={_0x1ebe3f:0x1cd,_0x6d069a:0x6cf},_0x38f50a={_0x221690:0x533,_0x25c37f:0x258,_0x5a1f19:0x255,_0x3050c5:0x283,_0x327b06:0x530,_0x2e203d:0x5c1},_0x2fe967={_0x2e5f0f:0x34,_0x65004:0x58},_0xaf9866={_0x339c3b:0x1a0},_0x84bb6a={_0x4511dc:0x10c},_0x1b1f44=Math['max'](0x1,Math['min'](0xa,_0x13e4c3['count']));function _0x23c401(_0x3dd20f,_0x2b625b,_0x3b4d93,_0x46fda9){return _0x151cc1(_0x3dd20f-0x16,_0x3dd20f- -0x1bb,_0x46fda9,_0x46fda9-_0x84bb6a._0x4511dc);}const _0xdfe2e0=addSiteFilters(_0x13e4c3['query'],_0x13e4c3[_0x559e3e(0x760,0x854,0x710,0x847)]),_0x250cba=await fetchJson(_0x23c401(_0x3b0fdb._0x359653,-_0x3b0fdb._0xe61f33,0xf1,_0x3b0fdb._0x519852),_0x436eab,{'method':'POST','headers':{'Authorization':_0x559e3e(0x30e,0x384,0x4c2,0x4ab)+_0x5f3d77['apiKey']},'body':JSON[_0x23c401(0xb9,-0x2a,-_0x3b0fdb._0x30533b,-_0x3b0fdb._0xdf9fc1)]({'query':_0xdfe2e0,'max_results':_0x1b1f44})}),_0x3f59c0=_0x250cba[_0x23c401(-_0x3b0fdb._0x406cba,-0x3f,-_0x3b0fdb._0x49586a,-_0x3b0fdb._0x1d00d8)]??[],_0x14b824=_0x3f59c0[_0x23c401(0x26c,0x227,_0x3b0fdb._0x3f07f9,0x17a)]((_0x1f0ad6,_0xa359b6)=>{function _0x152f99(_0x2c655e,_0x2159a5,_0x3f0f23,_0xecadd4){return _0x559e3e(_0x2c655e-0x1d3,_0x2159a5-_0xaf9866._0x339c3b,_0xecadd4- -0x51f,_0x2159a5);}function _0x548881(_0x4ac4a1,_0x3fce76,_0x122a2c,_0x34ba77){return _0x23c401(_0x122a2c-0x34a,_0x3fce76-_0x2fe967._0x2e5f0f,_0x122a2c-_0x2fe967._0x65004,_0x3fce76);}const _0x3f4356=_0x1f0ad6[_0x548881(_0x38f50a._0x221690,0x5e1,0x441,0x3e4)]||'';let _0x3d7c90;try{_0x3d7c90=new URL(_0x3f4356)[_0x548881(0x25f,0x3ec,0x36c,_0x38f50a._0x25c37f)];}catch{_0x3d7c90=null;}return{'title':_0x1f0ad6['title']||'Untitled','url':normalizeUrl(_0x3f4356),'snippet':_0x1f0ad6[_0x152f99(_0x38f50a._0x5a1f19,0x3b2,_0x38f50a._0x3050c5,0x2b4)]??null,'displayUrl':_0x3d7c90,'favicon':null,'publishedAt':null,'source':{'engine':_0x548881(0x5fd,0x4dc,_0x38f50a._0x327b06,_0x38f50a._0x2e203d),'rank':_0xa359b6+0x1}};});function _0x559e3e(_0x18b86a,_0x1e0c7a,_0x3d9069,_0x58cc4a){return _0x1ac42a(_0x18b86a-_0x8ec4e4._0x1ebe3f,_0x1e0c7a-0x174,_0x3d9069-_0x8ec4e4._0x6d069a,_0x58cc4a);}return{'items':_0x14b824['slice'](0x0,_0x1b1f44),'engine':_0x559e3e(0x63b,_0x3b0fdb._0x3f2091,_0x3b0fdb._0x4a10a4,0x686)};}async function searchTavily(_0x464385,_0xd02f7e,_0x541a32){const _0xd10c97={_0x272744:0x648,_0x4a29eb:0x58f,_0x4fd22a:0x6d4,_0x48ced2:0x426,_0x51714a:0xe9,_0x54a2c0:0x1bc,_0x1ef46c:0x33d,_0x506f05:0x62e,_0x10db00:0x151,_0x45ec6b:0x20b,_0x4171bf:0x273,_0x181751:0xe3,_0x3fc588:0x293,_0x35120c:0x2c6,_0x48604a:0x253,_0x5d19a5:0x11,_0x180888:0x5e7,_0x3820a4:0x5e5,_0x3ed8a9:0x611},_0x52f86c={_0x496234:0x133,_0x203d0b:0x28b,_0x22ab33:0x1be,_0x18274c:0x486,_0x2d6fa6:0x254,_0x1e05dd:0x353},_0x38d03b={_0x4e429b:0x1c0,_0x2e7d32:0xf6},_0x51edd4={_0x5ac85c:0x1e9},_0x4c2a0e=Math[_0x7d7ebc(0x696,0x793,0x7b0,0x5d5)](0x1,Math[_0x7d7ebc(0x663,0x689,0x5cc,0x6aa)](0x14,_0xd02f7e[_0x7d7ebc(_0xd10c97._0x272744,0x679,_0xd10c97._0x4a29eb,_0xd10c97._0x4fd22a)])),_0x2bca17={'query':_0xd02f7e['query'],'max_results':_0x4c2a0e,'search_depth':_0x464385[_0x7d7ebc(_0xd10c97._0x48ced2,0x5ad,0x504,0x451)]??_0xc62f33(_0xd10c97._0x51714a,0xfe,-0x49,0xcd),'topic':_0x464385['topic']??'general'};function _0x7d7ebc(_0x183ce4,_0x1fcddb,_0x501545,_0x4990d1){return _0x1ac42a(_0x183ce4-_0x51edd4._0x5ac85c,_0x1fcddb-0x4b,_0x183ce4-0x605,_0x4990d1);}if(_0xd02f7e[_0xc62f33(-0x131,-0x1ce,-0x1af,-0x25)][_0xc62f33(-0x3,_0xd10c97._0x54a2c0,0xaa,0xa3)]>0x0)_0x2bca17[_0x7d7ebc(0x4e4,_0xd10c97._0x1ef46c,0x699,_0xd10c97._0x506f05)]=_0xd02f7e['domains'];const _0x35eaba=await fetchJson('https://api.tavily.com/search',_0x541a32,{'method':_0xc62f33(-_0xd10c97._0x10db00,0x5c,0x37,-0x117),'headers':{'Authorization':_0xc62f33(-0x406,-0x3f4,-_0xd10c97._0x45ec6b,-_0xd10c97._0x4171bf)+_0x464385[_0xc62f33(-0x1b4,_0xd10c97._0x181751,0x157,-0x5d)],'Content-Type':'application/json'},'body':JSON['stringify'](_0x2bca17)}),_0x56c822=_0x35eaba[_0xc62f33(-0x388,-_0xd10c97._0x3fc588,-_0xd10c97._0x35120c,-_0xd10c97._0x48604a)]??[];function _0xc62f33(_0x47d6ea,_0x9e7785,_0x2649a0,_0x2c5784){return _0x1ac42a(_0x47d6ea-_0x38d03b._0x4e429b,_0x9e7785-_0x38d03b._0x2e7d32,_0x2c5784- -0x66,_0x2649a0);}const _0x2e0d1a=_0x56c822[_0xc62f33(-_0xd10c97._0x5d19a5,0x92,0x11b,0x44)]((_0xe3f878,_0x3454a8)=>{const _0x459e5b={_0x2d73f9:0x407},_0x464d41=_0xe3f878[_0x5aff8e(0x219,_0x52f86c._0x496234,0x23f,0x1ca)]||'';let _0x182cb7;function _0x32983f(_0x4c3b06,_0xe9b82b,_0x536a05,_0x4b8633){return _0xc62f33(_0x4c3b06-0x1a9,_0xe9b82b-0x3b,_0x536a05,_0x4c3b06-0x45b);}try{_0x182cb7=new URL(_0x464d41)['host'];}catch{_0x182cb7=null;}function _0x5aff8e(_0x174933,_0x30c5c3,_0x13f1a5,_0x245cd1){return _0x7d7ebc(_0x30c5c3- -_0x459e5b._0x2d73f9,_0x30c5c3-0xb,_0x13f1a5-0x4f,_0x13f1a5);}return{'title':_0xe3f878[_0x5aff8e(_0x52f86c._0x203d0b,0x229,_0x52f86c._0x22ab33,0x316)]||'Untitled','url':normalizeUrl(_0x464d41),'snippet':_0xe3f878[_0x32983f(0x4f9,0x3f2,_0x52f86c._0x18274c,0x5d6)]??null,'displayUrl':_0x182cb7,'favicon':null,'publishedAt':null,'source':{'engine':_0x32983f(_0x52f86c._0x2d6fa6,0x407,0x2d4,_0x52f86c._0x1e05dd),'rank':_0x3454a8+0x1}};});return{'items':_0x2e0d1a[_0x7d7ebc(_0xd10c97._0x180888,_0xd10c97._0x3820a4,0x5a1,_0xd10c97._0x3ed8a9)](0x0,_0x4c2a0e),'engine':_0x7d7ebc(0x464,0x518,0x2de,0x50f)};}async function searchGoogleCse(_0x485f2c,_0x36ca9e,_0x4297a8){const _0x5234c6={_0x165f05:0x233,_0xf1a1e0:0x211,_0x407974:0x4c0,_0x5da28e:0x310,_0x3a32a8:0x407,_0x5aa022:0x40a,_0x4890b3:0x75,_0x1bd722:0xa4,_0x1bc72c:0xb8,_0x4f8aa4:0x139,_0x3c4f27:0x2e,_0x519db9:0x18e,_0x4f9955:0x168,_0x1ad4bb:0x119,_0x2926f0:0x23,_0x49e1a3:0x499,_0xc88a6f:0x188,_0x3d1abc:0x156,_0x3e29de:0x77,_0xc1966b:0x1bd,_0x3f8caf:0xe3,_0xd40c7d:0xbb,_0x2bc78a:0x11e,_0x5b093f:0x3d1,_0x47c6cb:0x1e4,_0x460024:0x2b2,_0x48dfe1:0x3b3,_0xf051a2:0x1c3,_0x5d4573:0x54,_0x341b2a:0x563,_0x27ef88:0x2e4,_0x3839b3:0xcc,_0x3c37a2:0xb8,_0x1ae06f:0x172,_0x380722:0x1d6,_0x5cc75b:0x9,_0x41d849:0x35,_0x2d444f:0x1bc,_0x255a63:0x2b7,_0x47db3f:0xda,_0x22666a:0x2d0,_0x497dd7:0x157,_0x24b6aa:0x203,_0x16401b:0x448,_0x4aad95:0x1ae,_0x369563:0x2e9,_0x581ac5:0x9b,_0x15d04d:0x11d,_0x4335ff:0x425,_0x2c3e47:0x144,_0x14f0b1:0x1bc,_0x110f4b:0x124,_0x5e3bd0:0x14d,_0x3223c3:0x52,_0x34655e:0x1bc,_0x42c1af:0x1f4,_0x655ee7:0xb6,_0x46478d:0xb6,_0x1cca21:0x1ed,_0x4149c7:0x38a,_0x1ee873:0xfa,_0x3104fd:0x2a3,_0x401762:0xe2,_0x42f14d:0xe1,_0x5a485e:0x154,_0x26cc21:0x1a5,_0x1f85be:0x231,_0x4ade7c:0x26d,_0x91b20d:0x3d,_0x44828d:0x162,_0x1ce7c2:0x34d,_0x565335:0xe5,_0x436476:0x223,_0x1bb811:0x2b3,_0x37ac85:0x299,_0x4a91d9:0x1ae,_0x5974b4:0x298,_0x47d2cb:0x123,_0x37d9ef:0x27b,_0x1071a2:0x12b,_0x338a0e:0x171,_0x529880:0x3a,_0x12550e:0x264,_0x41958f:0x1ae,_0x466909:0x127,_0x25abfc:0x22e,_0x53b5f2:0x498,_0x3f2545:0x1eb,_0x15c977:0x450,_0x466fdb:0x1e7,_0x453100:0xb1,_0x33750c:0xbc,_0x189215:0x1b,_0x18e6ff:0x2a,_0x4fffe6:0x151,_0x59645a:0xf,_0x563638:0x51,_0x501909:0xc5,_0x3a58b0:0x471,_0xe46bb0:0x205,_0x4d3499:0x392,_0x44d445:0x28e,_0x16a066:0x200,_0x2ba8b5:0x2ea,_0x529a30:0x4ac,_0x10b4ed:0x48a,_0x50f87b:0x1cd,_0x32c8fa:0x8d,_0x11a1a7:0x241,_0x2cf937:0x129,_0x35790c:0x3,_0x3919ca:0x337,_0x257b5a:0x4f3,_0x4b87e9:0x461,_0x171474:0x24d,_0x57761d:0x196,_0x9938cb:0x410,_0x291915:0x1bf,_0xdb8f10:0x106,_0x27c986:0x17,_0x3c9f43:0xa1,_0x4e29b0:0xf2,_0x4a8f29:0x50,_0x1fb8e6:0x118,_0x293ac2:0x2c2,_0x1362d4:0x42e,_0x595a57:0x272,_0x5d347f:0x60,_0x4c0f27:0x554,_0xefa12c:0x2cc,_0x367d1c:0x292,_0x5a6ae0:0x51,_0x1afbf9:0x21b,_0x263bfd:0x125,_0x240469:0x2ef,_0x27acf6:0x294,_0x2047ef:0xdd},_0x2538aa={_0x3f0115:0xcc,_0x3d4a63:0xcb,_0x44d7c5:0x2},_0x4ad6e9=Math[_0x464d6e(0x207,0x343,_0x5234c6._0x165f05,_0x5234c6._0xf1a1e0)](0x1,Math[_0x464d6e(_0x5234c6._0x407974,_0x5234c6._0x5da28e,_0x5234c6._0x3a32a8,_0x5234c6._0x5aa022)](0x32,_0x36ca9e[_0x3de9e4(-_0x5234c6._0x4890b3,-0x10,0x45,0xa5)]));if(_0x36ca9e[_0x3de9e4(_0x5234c6._0x1bd722,_0x5234c6._0x1bc72c,_0x5234c6._0x4f8aa4,_0x5234c6._0x3c4f27)]+_0x4ad6e9>0x64)throw new ToolExecutionError(_0x3de9e4(-_0x5234c6._0x519db9,-_0x5234c6._0x4f9955,-0x1be,-0x30e),{'offset':_0x36ca9e[_0x3de9e4(0xa4,-_0x5234c6._0x1ad4bb,0x11a,_0x5234c6._0x2926f0)],'count':_0x4ad6e9,'maxResults':0x64});const _0x484b87=cseDateRestrict(_0x36ca9e[_0x464d6e(_0x5234c6._0x49e1a3,0x2ff,_0x5234c6._0xc88a6f,_0x5234c6._0x3d1abc)]);function _0x464d6e(_0x4512f3,_0x5c4da1,_0x588f10,_0x41baa8){return _0x151cc1(_0x4512f3-_0x2538aa._0x3f0115,_0x5c4da1- -_0x2538aa._0x3d4a63,_0x588f10,_0x41baa8-_0x2538aa._0x44d7c5);}const _0x7955ed=addSiteFilters(_0x36ca9e[_0x3de9e4(0x28,-0x3c,0x11b,0x1ce)],_0x36ca9e[_0x3de9e4(-_0x5234c6._0x3e29de,-_0x5234c6._0xc1966b,_0x5234c6._0x3f8caf,_0x5234c6._0xd40c7d)]);function _0x3de9e4(_0x5278f4,_0xdc481c,_0x2a5049,_0x3de4dc){return _0x1ac42a(_0x5278f4-0xd0,_0xdc481c-0x18b,_0x5278f4- -0xb8,_0x3de4dc);}let _0x10d31e=0x0,_0x357a4d=_0x36ca9e['offset']+0x1;const _0x50c979=[];while(_0x10d31e<_0x4ad6e9){const _0x317e4e=Math[_0x3de9e4(-0x5a,-0x11c,_0x5234c6._0x2bc78a,-0x128)](0xa,_0x4ad6e9-_0x10d31e),_0x403c47=new URL(_0x464d6e(_0x5234c6._0x5b093f,0x396,0x3e2,_0x5234c6._0x47c6cb));_0x403c47[_0x3de9e4(-_0x5234c6._0x460024,-0x468,-0x42e,-_0x5234c6._0x48dfe1)][_0x464d6e(0x2a6,0x1ae,0x33d,0xe1)](_0x3de9e4(-_0x5234c6._0xf051a2,-0x102,-_0x5234c6._0x5d4573,-0x2a),_0x485f2c[_0x464d6e(_0x5234c6._0x341b2a,0x404,0x3e3,_0x5234c6._0x27ef88)]),_0x403c47[_0x464d6e(-_0x5234c6._0x3839b3,_0x5234c6._0x3c37a2,-0x29,_0x5234c6._0x1ae06f)][_0x3de9e4(-0x1bc,-0x232,-0x2cf,-_0x5234c6._0x380722)]('cx',_0x485f2c['googleCseCx']),_0x403c47[_0x464d6e(0x1ca,0xb8,_0x5234c6._0x5cc75b,-_0x5234c6._0x41d849)][_0x3de9e4(-_0x5234c6._0x2d444f,-_0x5234c6._0x255a63,-_0x5234c6._0x47db3f,-_0x5234c6._0x22666a)]('q',_0x7955ed),_0x403c47[_0x3de9e4(-_0x5234c6._0x460024,-_0x5234c6._0x497dd7,-_0x5234c6._0x24b6aa,-_0x5234c6._0x16401b)][_0x464d6e(0x1cf,_0x5234c6._0x4aad95,_0x5234c6._0x369563,_0x5234c6._0x581ac5)](_0x3de9e4(-0x72,0x56,-_0x5234c6._0x15d04d,-0x59),String(_0x317e4e)),_0x403c47[_0x3de9e4(-_0x5234c6._0x460024,-_0x5234c6._0x4335ff,-0x146,-_0x5234c6._0x2c3e47)][_0x3de9e4(-_0x5234c6._0x14f0b1,-_0x5234c6._0x110f4b,-_0x5234c6._0x5e3bd0,-0xec)](_0x464d6e(0x103,0x15f,-_0x5234c6._0x3223c3,0x1cc),String(_0x357a4d)),_0x403c47['searchParams'][_0x3de9e4(-_0x5234c6._0x34655e,-0x1aa,-_0x5234c6._0x42c1af,-0x18e)](_0x3de9e4(_0x5234c6._0x655ee7,0xd8,0x183,0xe8),_0x36ca9e[_0x3de9e4(_0x5234c6._0x46478d,0xc4,-0x8,0x7e)]?_0x464d6e(0x37,_0x5234c6._0x1cca21,_0x5234c6._0x4149c7,0x29b):_0x464d6e(0x14f,_0x5234c6._0x1ee873,-0xc5,_0x5234c6._0x3104fd));_0x36ca9e[_0x3de9e4(-0x219,-_0x5234c6._0x401762,-_0x5234c6._0x42f14d,-_0x5234c6._0x5a485e)]&&(_0x403c47[_0x3de9e4(-0x2b2,-0x20d,-0x1a6,-0xe5)][_0x3de9e4(-0x1bc,-_0x5234c6._0x26cc21,-0x31a,-_0x5234c6._0x1f85be)]('hl',_0x36ca9e[_0x464d6e(-0x5d,0x151,0x2a8,_0x5234c6._0x4ade7c)]),_0x403c47['searchParams'][_0x464d6e(0x13a,0x1ae,0x18f,0x15)]('lr',_0x3de9e4(_0x5234c6._0x91b20d,0x4d,0x81,_0x5234c6._0x44828d)+_0x36ca9e[_0x3de9e4(-0x219,-0x209,-_0x5234c6._0x1ce7c2,-0x9f)]));if(_0x36ca9e[_0x464d6e(0x206,_0x5234c6._0x565335,_0x5234c6._0x436476,_0x5234c6._0x1bb811)])_0x403c47['searchParams'][_0x464d6e(_0x5234c6._0x37ac85,0x1ae,_0x5234c6._0x4a91d9,0x9b)]('gl',_0x36ca9e[_0x464d6e(_0x5234c6._0x5974b4,_0x5234c6._0x565335,_0x5234c6._0x47d2cb,0xd0)][_0x3de9e4(-0x1ed,-0x30f,-0x38f,-_0x5234c6._0x37d9ef)]());if(_0x36ca9e[_0x3de9e4(0x31,-0x142,_0x5234c6._0x1071a2,0x58)]===_0x464d6e(0x53,_0x5234c6._0x338a0e,0x2b6,_0x5234c6._0x529880))_0x403c47[_0x3de9e4(-0x2b2,-0x27c,-0x414,-0x312)][_0x464d6e(_0x5234c6._0x12550e,_0x5234c6._0x41958f,0x119,_0x5234c6._0x4f8aa4)](_0x464d6e(_0x5234c6._0x466909,_0x5234c6._0x25abfc,0x134,0x3c7),_0x464d6e(0x252,0x2ea,_0x5234c6._0x53b5f2,_0x5234c6._0x3f2545));if(_0x484b87)_0x403c47[_0x3de9e4(-_0x5234c6._0x460024,-_0x5234c6._0x15c977,-_0x5234c6._0x466fdb,-0x244)][_0x3de9e4(-0x1bc,-0x233,-_0x5234c6._0x453100,-0xaf)](_0x3de9e4(_0x5234c6._0x33750c,-0xe,-_0x5234c6._0x189215,0x158),_0x484b87);const _0x5a3ed0=await fetchJson(_0x403c47['toString'](),_0x4297a8),_0x3c7827=_0x5a3ed0[_0x3de9e4(_0x5234c6._0x18e6ff,-_0x5234c6._0x4fffe6,-0x3b,-_0x5234c6._0x59645a)]??[];if(_0x3c7827[_0x3de9e4(_0x5234c6._0x563638,-_0x5234c6._0x501909,-0x138,-0x120)]===0x0)break;const _0x352f76=_0x10d31e;for(let _0x333b2d=0x0;_0x333b2d<_0x3c7827[_0x464d6e(0x51a,0x3bb,0x304,_0x5234c6._0x3a58b0)];_0x333b2d++){const _0x3a3ba6=_0x3c7827[_0x333b2d];if(!_0x3a3ba6)continue;const _0x35d6ac=_0x3a3ba6[_0x3de9e4(-_0x5234c6._0xe46bb0,-_0x5234c6._0x4d3499,-_0x5234c6._0x44d445,-0x1db)]||_0x3a3ba6[_0x464d6e(_0x5234c6._0x16a066,_0x5234c6._0x2ba8b5,_0x5234c6._0x529a30,_0x5234c6._0x10b4ed)]?.[_0x464d6e(0x2be,_0x5234c6._0x50f87b,0x2d4,0x245)]||'',_0x4899be=_0x3a3ba6[_0x3de9e4(-_0x5234c6._0x32c8fa,_0x5234c6._0x1ad4bb,-_0x5234c6._0x11a1a7,_0x5234c6._0x2cf937)]||_0x3a3ba6[_0x3de9e4(-0x80,_0x5234c6._0x35790c,0x42,0x26)]?.['title']||_0x464d6e(0x418,_0x5234c6._0x3919ca,_0x5234c6._0x257b5a,_0x5234c6._0x4b87e9),_0x37aff9=_0x3a3ba6['snippet']||_0x3a3ba6[_0x3de9e4(-_0x5234c6._0x171474,-_0x5234c6._0x47db3f,-_0x5234c6._0x57761d,-_0x5234c6._0x9938cb)]?.[_0x464d6e(_0x5234c6._0x291915,_0x5234c6._0xdb8f10,0x2c2,_0x5234c6._0x27c986)](/<[^>]+>/g,''),_0x139cfa=_0x3a3ba6['pagemap']?.['metatags']?.[0x0]??{};let _0x59fe7d;try{_0x59fe7d=new URL(_0x35d6ac)['host'];}catch{_0x59fe7d=null;}_0x50c979[_0x3de9e4(-_0x5234c6._0x3c9f43,0x4f,-_0x5234c6._0x4e29b0,-_0x5234c6._0x4a8f29)]({'title':_0x4899be,'url':normalizeUrl(_0x35d6ac),'snippet':_0x37aff9??null,'displayUrl':_0x59fe7d,'favicon':null,'publishedAt':_0x139cfa[_0x464d6e(0xb8,0xfc,0x1c9,_0x5234c6._0x1fb8e6)]||_0x139cfa[_0x464d6e(0x12f,_0x5234c6._0x293ac2,_0x5234c6._0x1362d4,_0x5234c6._0x595a57)]||null,'source':{'engine':_0x464d6e(0x284,0x143,0xd9,-_0x5234c6._0x5d347f),'rank':_0x352f76+_0x333b2d+0x1}});}_0x10d31e+=_0x3c7827[_0x464d6e(_0x5234c6._0x4c0f27,0x3bb,_0x5234c6._0xefa12c,_0x5234c6._0x367d1c)],_0x357a4d+=_0x3c7827['length'];if(_0x3c7827[_0x3de9e4(_0x5234c6._0x5a6ae0,_0x5234c6._0x1afbf9,0x150,_0x5234c6._0x263bfd)]<_0x317e4e)break;}return _0x50c979[_0x464d6e(_0x5234c6._0x240469,_0x5234c6._0x27acf6,_0x5234c6._0x2047ef,0x183)](0x0,_0x4ad6e9);}function isGoogleCseEngine(_0x2ac33e){const _0x44a099={_0x18ad53:0x443,_0x273146:0x6f8,_0x4db349:0x622},_0x7828c1={_0x26e162:0x97,_0x4ef3cb:0x9e};function _0xfc3c54(_0xc8ad4b,_0x2d1cd9,_0xf0d365,_0xab1c18){return _0x1ac42a(_0xc8ad4b-_0x7828c1._0x26e162,_0x2d1cd9-_0x7828c1._0x4ef3cb,_0xab1c18-0x44e,_0xf0d365);}return _0xfc3c54(_0x44a099._0x18ad53,_0x44a099._0x273146,_0x44a099._0x4db349,0x5a0)in _0x2ac33e;}function isOllamaEngine(_0x526897){const _0x55dbf7={_0x12f9a1:0x6d3,_0x23aef8:0x66d},_0x28b58f={_0x3ece6b:0x1be,_0xff8c13:0x205,_0x3309c6:0x61};function _0x480b76(_0x250d2f,_0x286b3a,_0x52c503,_0x4d2619){return _0x151cc1(_0x250d2f-_0x28b58f._0x3ece6b,_0x52c503-_0x28b58f._0xff8c13,_0x250d2f,_0x4d2619-_0x28b58f._0x3309c6);}return _0x480b76(0x846,0x550,_0x55dbf7._0x12f9a1,_0x55dbf7._0x23aef8)in _0x526897;}function isTavilyEngine(_0x46cebf){const _0x4f2b6f={_0x25e7d8:0x12a},_0x372c48={_0x5c7b7f:0x35};function _0x5c7829(_0x42603b,_0x27a7c6,_0xfc9f33,_0x1cde97){return _0x1ac42a(_0x42603b-0x1e2,_0x27a7c6-0x4b,_0x1cde97- -_0x372c48._0x5c7b7f,_0x27a7c6);}return _0x5c7829(-_0x4f2b6f._0x25e7d8,-0xae,0x186,-0x2c)in _0x46cebf;}function createWebSearchTool(_0xb1e85){const _0x50b884={_0x1c7e87:0x357,_0x2c7a1c:0x152,_0x25e4f6:0x43e,_0x107a91:0x2c1,_0x4d22d6:0x6eb,_0x4a63bd:0x608,_0x52260a:0x42a,_0x5a3c08:0x53d,_0x4ad544:0x276,_0xa18035:0x265,_0x5b7b78:0x90a,_0x16e95e:0x635,_0x384bfd:0x712,_0x5538e7:0x746,_0x272142:0x305,_0x3c8086:0x497,_0x14d43a:0x50d,_0x17248a:0x162,_0x435047:0x232,_0x2fa108:0x2b8,_0x26cc5c:0x2ee,_0x22de27:0x171,_0x1c578e:0x1cf,_0x42e03f:0xf,_0x5d6e73:0x492,_0x2ef13b:0x1b3,_0x54f161:0xed,_0x5412cb:0x5e2,_0x39f966:0x1bd,_0x3fd6fb:0x119,_0x152f86:0x19d,_0x2db772:0x1f9,_0x32dc3c:0x135,_0x1ddd2b:0x128,_0x54a09a:0x6f7,_0x3cb8ae:0x739},_0x1f7d05={_0x4cf50f:0x51f,_0x50e0d9:0x9b,_0x354322:0x43,_0x398c94:0x4e,_0x26e09b:0x66e,_0x544c80:0x748,_0x409122:0x6d2,_0x138b09:0x569,_0x5a6121:0x3cb,_0x13b02e:0x4cd,_0x41b424:0x408,_0x4227e5:0x63a,_0xd5f77f:0x514,_0x345c37:0x4a2,_0x413a17:0x4fc,_0x2db083:0x580,_0x50b001:0x61d,_0x42aa93:0x67c,_0x4c4fa9:0x677,_0x3b1ea3:0x72f,_0x23c0f9:0x73c,_0x361340:0x75f,_0x21e4c0:0xb0,_0x2b96fa:0x100,_0x1277b5:0x71,_0x257a92:0x20,_0x282dd3:0x195,_0x21c4a5:0xa5,_0x56ca97:0xf4,_0x2c5c31:0x105,_0x3536a8:0x606,_0xca2896:0x3aa,_0x3c9765:0x33b,_0x5267c9:0x277,_0x1e724f:0x3fb,_0x57a68a:0x1d9,_0xffc1c3:0x404,_0x22a224:0x75,_0x38b77c:0x1f,_0x5e92dd:0x5ca,_0x46d50e:0x322,_0x2c5a10:0x34a,_0x1937d5:0x100,_0x1f9229:0x1f9,_0x455a40:0x45,_0x339a01:0x6f9,_0x4c77ce:0x7a2,_0x438b34:0x99,_0x259e66:0xfc,_0x31a7a6:0x6a,_0x149c13:0x129,_0xd9c06c:0x1e7,_0x2d2e8f:0xaf,_0x25a8bd:0xea,_0xc1465f:0x9c,_0x24e585:0x1ca,_0x40d0e6:0x2dd,_0x2f5850:0x22a,_0x466289:0x78d,_0x3ebd9e:0x1a,_0x5a0010:0x135,_0x182f93:0x5d2,_0x59467d:0x169,_0x201392:0x128,_0x50f27d:0x517,_0xbea3f0:0x5b9,_0x403048:0x648,_0x28c6ef:0x468,_0x17ee96:0x45a,_0x376574:0x36b,_0x4e8d36:0x38f,_0x485fe7:0x6d,_0x391b9e:0x23b,_0x3cf6ab:0x18c,_0x5efc5c:0x121,_0x2b8d11:0x263,_0x49123f:0x1e3,_0x46ed0a:0x73,_0x578084:0x15a,_0x20bcf6:0x36,_0x179813:0x25a,_0x5301a2:0x55e,_0x1ae3f9:0x398,_0x3164e9:0x52b,_0x205dbf:0x129},_0x47b9e6={_0x134f46:0xc5,_0x34f121:0x3ef},_0x2054ae={_0x365f71:0x1c0},_0x1fc220={_0x5ae204:0x1d1};if(!_0xb1e85[_0x272dc1(0x1dd,_0x50b884._0x1c7e87,0x315,0x3ce)]||_0xb1e85[_0x272dc1(0x1e7,_0x50b884._0x2c7a1c,0x315,_0x50b884._0x25e4f6)]['length']===0x0)throw new Error(_0x272dc1(0x1f7,0x26,0x113,_0x50b884._0x107a91));const _0x3587bb=_0xb1e85[_0x1ac0f7(0x6a1,0x666,0x613,_0x50b884._0x4d22d6)]??_0x1ac0f7(_0x50b884._0x4a63bd,_0x50b884._0x52260a,0x5d8,_0x50b884._0x5a3c08);function _0x272dc1(_0x179611,_0x23df96,_0x3ec38e,_0x442587){return _0x151cc1(_0x179611-0x1d3,_0x3ec38e- -_0x1fc220._0x5ae204,_0x179611,_0x442587-0x59);}function _0x1ac0f7(_0x523c22,_0x259ce3,_0x5dc863,_0x1362fc){return _0x151cc1(_0x523c22-_0x2054ae._0x365f71,_0x1362fc-0x2dc,_0x259ce3,_0x1362fc-0x2b);}const _0x94b7e6=_0xb1e85[_0x272dc1(0x2a6,_0x50b884._0x4ad544,_0x50b884._0xa18035,0x23f)];return defineTool({'name':_0x3587bb,'permissionClass':_0x1ac0f7(_0x50b884._0x5b7b78,_0x50b884._0x16e95e,_0x50b884._0x384bfd,_0x50b884._0x5538e7),'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':_0x1ac0f7(_0x50b884._0x272142,_0x50b884._0x3c8086,_0x50b884._0x14d43a,0x445),'properties':{'description':{'type':'string'},'query':{'type':_0x272dc1(-_0x50b884._0x17248a,0x15,-0x1b,0xe7)},'count':{'type':_0x272dc1(_0x50b884._0x435047,_0x50b884._0x2fa108,_0x50b884._0x26cc5c,_0x50b884._0x22de27)},'offset':{'type':_0x272dc1(0x419,0x1eb,0x2ee,_0x50b884._0x1c578e)},'domains':{'type':'array','items':{'type':_0x272dc1(-0xa1,-0x123,-0x1b,-_0x50b884._0x42e03f)}},'recencyDays':{'type':'number'},'lang':{'type':_0x1ac0f7(0x523,0x320,0x432,_0x50b884._0x5d6e73)},'region':{'type':_0x272dc1(_0x50b884._0x2ef13b,-0x20,-0x1b,_0x50b884._0x54f161)},'safe':{'type':_0x1ac0f7(0x605,0x5f4,0x555,_0x50b884._0x5412cb)},'type':{'type':_0x272dc1(0xd7,-_0x50b884._0x39f966,-0x1b,-_0x50b884._0x3fd6fb)},'hydrateMeta':{'type':_0x272dc1(_0x50b884._0x152f86,_0x50b884._0x2db772,_0x50b884._0x32dc3c,_0x50b884._0x1ddd2b)}},'required':[_0x1ac0f7(0x72c,0x7a9,_0x50b884._0x54a09a,_0x50b884._0x3cb8ae)]},async *'execute'(_0x4d1df9,_0x2ad168){const _0xed317f={_0x4d8400:0x14a,_0xd213a8:0xe,_0x537832:0x13e},_0x1479c2=_0x4d1df9[_0x5a738b(0x5fb,_0x1f7d05._0x4cf50f,0x652,0x4a9)][_0x5cdba6(_0x1f7d05._0x50e0d9,_0x1f7d05._0x354322,-_0x1f7d05._0x398c94,-0x43)]();function _0x5cdba6(_0x3dbfa8,_0x2641e6,_0x23a109,_0x31d411){return _0x272dc1(_0x3dbfa8,_0x2641e6-0x13,_0x2641e6- -0x219,_0x31d411-0xbe);}if(!_0x1479c2)throw new ToolExecutionError(_0x5a738b(_0x1f7d05._0x26e09b,0x69b,0x760,_0x1f7d05._0x544c80));const _0x3c44f2={'query':_0x1479c2,'count':Math[_0x5a738b(0x5ac,0x459,_0x1f7d05._0x409122,_0x1f7d05._0x138b09)](0x1,Math[_0x5a738b(0x579,_0x1f7d05._0x5a6121,0x6bb,_0x1f7d05._0x13b02e)](0x32,Math['trunc'](_0x4d1df9[_0x5a738b(0x55e,_0x1f7d05._0x41b424,_0x1f7d05._0x4227e5,_0x1f7d05._0xd5f77f)]??0xa))),'offset':Math[_0x5a738b(0x5ac,_0x1f7d05._0x345c37,_0x1f7d05._0x413a17,0x569)](0x0,Math[_0x5a738b(0x615,_0x1f7d05._0x2db083,_0x1f7d05._0x50b001,_0x1f7d05._0x42aa93)](_0x4d1df9[_0x5a738b(_0x1f7d05._0x4c4fa9,_0x1f7d05._0x3b1ea3,_0x1f7d05._0x23c0f9,_0x1f7d05._0x361340)]??0x0)),'domains':_0x4d1df9['domains']??[],'recencyDays':Math[_0x5cdba6(0x175,0x24,-_0x1f7d05._0x21e4c0,_0x1f7d05._0x2b96fa)](0x0,Math['trunc'](_0x4d1df9[_0x5cdba6(-_0x1f7d05._0x1277b5,-_0x1f7d05._0x257a92,-_0x1f7d05._0x282dd3,_0x1f7d05._0x21c4a5)]??0x0)),'lang':_0x4d1df9['lang']??'en','region':_0x4d1df9[_0x5a738b(0x34e,0x293,0x414,0x2c4)]??'','safe':_0x4d1df9['safe']??!![],'type':normalizeType(_0x4d1df9[_0x5cdba6(-0xcc,0x7c,_0x1f7d05._0x56ca97,_0x1f7d05._0x2c5c31)]),'hydrateMeta':_0x4d1df9[_0x5a738b(0x45f,0x327,_0x1f7d05._0x3536a8,_0x1f7d05._0xca2896)]??![]};let _0x23d4d4=[],_0x34f3d6=_0x5a738b(_0x1f7d05._0x3c9765,_0x1f7d05._0x5267c9,_0x1f7d05._0x1e724f,_0x1f7d05._0x57a68a);for(const _0xc95dde of _0xb1e85['engines']){try{if(isGoogleCseEngine(_0xc95dde))_0x23d4d4=await searchGoogleCse(_0xc95dde,_0x3c44f2,_0x2ad168[_0x5cdba6(-0x30d,-0x266,-0x364,-0x1d6)]),_0x34f3d6=_0x5cdba6(-0x344,-0x1dc,-0xaf,-0x19c);else{if(isOllamaEngine(_0xc95dde)){const _0x14e3bb=await searchOllama(_0xc95dde,_0x3c44f2,_0x2ad168[_0x5a738b(0x322,_0x1f7d05._0xffc1c3,0x44f,0x1d2)]);_0x23d4d4=_0x14e3bb[_0x5cdba6(-0x94,_0x1f7d05._0x22a224,_0x1f7d05._0x38b77c,0x53)],_0x34f3d6=_0x14e3bb[_0x5a738b(_0x1f7d05._0x5e92dd,0x719,0x57a,0x5a4)];}else{if(isTavilyEngine(_0xc95dde)){const _0x29bc76=await searchTavily(_0xc95dde,_0x3c44f2,_0x2ad168[_0x5a738b(_0x1f7d05._0x46d50e,0x4c5,_0x1f7d05._0x2c5a10,0x2a3)]);_0x23d4d4=_0x29bc76[_0x5cdba6(_0x1f7d05._0x1937d5,_0x1f7d05._0x22a224,_0x1f7d05._0x1f9229,0xe6)],_0x34f3d6=_0x29bc76[_0x5cdba6(0xff,0x42,0x70,-_0x1f7d05._0x455a40)];}}}if(_0x23d4d4[_0x5a738b(0x624,_0x1f7d05._0x339a01,0x71c,_0x1f7d05._0x4c77ce)]>0x0)break;}catch(_0x534212){if(_0xc95dde===_0xb1e85[_0x5cdba6(_0x1f7d05._0x438b34,_0x1f7d05._0x259e66,0x125,-0x92)][_0xb1e85['engines'][_0x5cdba6(-0x127,0x9c,_0x1f7d05._0x31a7a6,0x224)]-0x1])throw _0x534212;}}function _0x5a738b(_0x29fc25,_0x1043fb,_0x540b16,_0x366f90){return _0x1ac0f7(_0x29fc25-_0xed317f._0x4d8400,_0x1043fb,_0x540b16-_0xed317f._0xd213a8,_0x29fc25- -_0xed317f._0x537832);}_0x3c44f2[_0x5cdba6(0x5d,-_0x1f7d05._0x149c13,-_0x1f7d05._0xd9c06c,-_0x1f7d05._0x2d2e8f)]&&_0x23d4d4[_0x5cdba6(_0x1f7d05._0x25a8bd,_0x1f7d05._0xc1465f,_0x1f7d05._0x24e585,-0x4d)]>0x0&&(_0x23d4d4=await hydrateResults(_0x23d4d4,_0x3c44f2['lang'],_0x2ad168[_0x5cdba6(-_0x1f7d05._0x40d0e6,-0x266,-_0x1f7d05._0x2f5850,-0x1e1)],_0x94b7e6));const _0x486753=new Set();_0x23d4d4=_0x23d4d4['filter'](_0xb7d057=>{const _0x29a616={_0x1acdc9:0x268,_0x656923:0x3b};function _0xeec440(_0x435462,_0x2bdd7d,_0x58e047,_0x4882c5){return _0x5cdba6(_0x58e047,_0x435462-_0x29a616._0x1acdc9,_0x58e047-0x16e,_0x4882c5-_0x29a616._0x656923);}const _0x2ee4ae=_0xb7d057['url']['toLowerCase']();if(!_0x2ee4ae||_0x486753[_0xeec440(0x290,0x17c,_0x47b9e6._0x134f46,_0x47b9e6._0x34f121)](_0x2ee4ae))return![];return _0x486753['add'](_0x2ee4ae),!![];}),_0x23d4d4=_0x23d4d4['map']((_0x18c34c,_0x57756a)=>({..._0x18c34c,'source':{..._0x18c34c[_0x5a738b(0x34a,0x3f6,0x1fb,0x1c7)],'rank':_0x57756a+0x1}}));const _0x52e9a1={};if(_0x3c44f2['domains'][_0x5a738b(0x624,0x6d6,_0x1f7d05._0x466289,0x7ec)]>0x0)_0x52e9a1[_0x5cdba6(-_0x1f7d05._0x3ebd9e,-0x2c,-_0x1f7d05._0x5a0010,-0x19e)]=_0x3c44f2[_0x5a738b(0x55c,0x5f5,_0x1f7d05._0x182f93,0x497)];if(_0x3c44f2[_0x5cdba6(_0x1f7d05._0x59467d,-0x20,0x9c,_0x1f7d05._0x201392)]>0x0)_0x52e9a1[_0x5a738b(0x568,0x65f,_0x1f7d05._0x50f27d,_0x1f7d05._0xbea3f0)]=_0x3c44f2[_0x5a738b(0x568,0x5f2,_0x1f7d05._0x403048,_0x1f7d05._0x28c6ef)];if(_0x3c44f2['lang']!=='en')_0x52e9a1[_0x5a738b(0x3ba,0x569,_0x1f7d05._0x17ee96,0x57b)]=_0x3c44f2[_0x5a738b(0x3ba,0x424,_0x1f7d05._0x376574,_0x1f7d05._0x4e8d36)];if(_0x3c44f2[_0x5cdba6(-_0x1f7d05._0x485fe7,-0x23a,-_0x1f7d05._0x391b9e,-_0x1f7d05._0x3cf6ab)])_0x52e9a1[_0x5cdba6(-_0x1f7d05._0x485fe7,-0x23a,-_0x1f7d05._0x5efc5c,-_0x1f7d05._0x2b8d11)]=_0x3c44f2['region'];return yield createToolOutput(formatResults(_0x23d4d4),{'engine':_0x34f3d6,'count':_0x23d4d4['length'],'items':_0x23d4d4,'query':_0x3c44f2[_0x5cdba6(_0x1f7d05._0x49123f,_0x1f7d05._0x46ed0a,0x110,_0x1f7d05._0x578084)],...Object[_0x5cdba6(0x18f,-_0x1f7d05._0x20bcf6,0xba,-0x1e6)](_0x52e9a1)[_0x5cdba6(0x1a2,_0x1f7d05._0xc1465f,0x189,_0x1f7d05._0x179813)]>0x0?{'appliedFilters':_0x52e9a1}:{},'offset':_0x3c44f2['offset'],'totalRequested':_0x3c44f2[_0x5a738b(_0x1f7d05._0x5301a2,_0x1f7d05._0x1ae3f9,_0x1f7d05._0x3164e9,0x553)],'hydrated':_0x3c44f2[_0x5cdba6(0x2c,-_0x1f7d05._0x205dbf,-0x1c,-0x251)]}),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};