@nuvin/agent-core 0.2.0-rc.10 → 0.2.0-rc.11

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(_0x2e8025,_0x125705){const _0x5b103c={_0x140d5c:0x4f0,_0x3833da:0x39d,_0x3be5a4:0x30d,_0x9c18a9:0xc2,_0x2c695a:0x173,_0x5a525d:0x3e,_0xbc1c93:0x3e8,_0x3d085c:0x51e,_0x423d95:0x3ed,_0x3ccda5:0x4a4,_0x38a756:0x5f1,_0x217ab9:0x426,_0x41ceb9:0x4d,_0x487888:0x240,_0x104bc3:0x2a4,_0x1daba2:0x31b,_0x5c5855:0x295,_0x56904d:0x87,_0x3c22fc:0x28b,_0x54a1d1:0x2fe},_0x3d4026={_0x4d79dd:0x31e};function _0x5c7300(_0x1613e6,_0x36cb1e,_0x4dd202,_0x480ba9){return _0x678a(_0x36cb1e- -_0x3d4026._0x4d79dd,_0x4dd202);}const _0x248be6=_0x2e8025();function _0x18877c(_0x1ca3c5,_0x1c40a7,_0x88ca5f,_0x44a4e7){return _0x678a(_0x88ca5f-0xd9,_0x44a4e7);}while(!![]){try{const _0x31da2b=-parseInt(_0x18877c(_0x5b103c._0x140d5c,_0x5b103c._0x3833da,_0x5b103c._0x3be5a4,0x358))/0x1*(parseInt(_0x5c7300(0x2b6,_0x5b103c._0x9c18a9,0x9f,0x1bb))/0x2)+parseInt(_0x5c7300(0x3fb,0x27c,0x2d2,_0x5b103c._0x2c695a))/0x3+parseInt(_0x5c7300(0x134,0x1b5,-_0x5b103c._0x5a525d,-0x12))/0x4+-parseInt(_0x18877c(0x502,_0x5b103c._0xbc1c93,0x59d,_0x5b103c._0x3d085c))/0x5*(-parseInt(_0x18877c(_0x5b103c._0x423d95,_0x5b103c._0x3ccda5,_0x5b103c._0x38a756,_0x5b103c._0x217ab9))/0x6)+-parseInt(_0x5c7300(-0x17a,_0x5b103c._0x41ceb9,0xa9,_0x5b103c._0x487888))/0x7+-parseInt(_0x5c7300(0x211,0x41,-0x15c,0x132))/0x8+-parseInt(_0x18877c(_0x5b103c._0x104bc3,_0x5b103c._0x1daba2,_0x5b103c._0x5c5855,_0x5b103c._0x56904d))/0x9*(-parseInt(_0x5c7300(0x19c,_0x5b103c._0x3c22fc,_0x5b103c._0x54a1d1,0x467))/0xa);if(_0x31da2b===_0x125705)break;else _0x248be6['push'](_0x248be6['shift']());}catch(_0x1fa441){_0x248be6['push'](_0x248be6['shift']());}}}(_0x3ec8,0x48bec));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-ZHE3E26D.js';import'../chunk-GAZGO6N7.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 _0x2eee78 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x47b891(0x352,0x44b,0x5b1,0x641),'.tsx':_0x47b891(0x576,0x720,0x8d6,0x524),'.js':'javascript','.jsx':_0xe18bb0(-0x10,0xf1,-0xb5,0x150),'.mjs':_0xe18bb0(0x177,0x27d,0x22d,0x353),'.cjs':_0x47b891(0x661,0x70e,0x752,0x56c),'.mts':_0x47b891(0x65b,0x44b,0x2a7,0x30d),'.cts':_0xe18bb0(0x17e,-0x46,0x17e,0x3a),'.json':_0x47b891(0x708,0x6d9,0x810,0x565),'.jsonc':_0xe18bb0(0x2bb,0x2c2,0x330,0x3eb)};function getLanguageId(_0xe265bd){const _0xfd817={_0x1a73bf:0x370,_0x4c9cf7:0xa9,_0x7b0ffa:0x93,_0x27c48a:0x13e,_0xb9f32a:0x33},_0x4c2b6a={_0x8a7b96:0xb0,_0x351008:0x1be},_0x58ed54={_0x31afbd:0x335};function _0x456678(_0x2ea069,_0x6a0157,_0x8547cf,_0x16857f){return _0x47b891(_0x2ea069,_0x6a0157- -_0x58ed54._0x31afbd,_0x8547cf-0x1b6,_0x16857f-0x0);}function _0x38442d(_0x4b2d6e,_0x5b567f,_0x53e988,_0x2f5e9b){return _0xe18bb0(_0x2f5e9b,_0x5b567f- -_0x4c2b6a._0x8a7b96,_0x53e988-0x93,_0x2f5e9b-_0x4c2b6a._0x351008);}return EXTENSION_TO_LANGUAGE[_0x2eee78[_0x38442d(_0xfd817._0x1a73bf,0x1be,0xa8,_0xfd817._0x4c9cf7)](_0xe265bd)[_0x38442d(-_0xfd817._0x7b0ffa,_0xfd817._0x27c48a,-0xb6,-_0xfd817._0xb9f32a)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0xee31a1){const _0x2087af={_0x108ffd:0x4be};function _0x441ba8(_0xf1b2ce,_0x5667c9,_0x416cdc,_0x3b2ba1){return _0xe18bb0(_0xf1b2ce,_0x416cdc-0x1c6,_0x416cdc-0x99,_0x3b2ba1-0x1a3);}return pathToFileURL(_0xee31a1)[_0x441ba8(0x3f3,0x3b9,_0x2087af._0x108ffd,0x37f)]();}function textDocumentPosition(_0x1b9319){const _0x224cd7={_0x917d69:0x234,_0x1727ff:0x308,_0x3f5b9a:0x15,_0x14f744:0x5d5,_0x35872e:0x873},_0x5ce2f7={_0x18106a:0xe3,_0x2839ae:0x12,_0x4e9de3:0xbd};function _0x4cecb0(_0x385355,_0x43a2cd,_0x7eb15,_0x5aa6b7){return _0xe18bb0(_0x43a2cd,_0x7eb15- -_0x5ce2f7._0x18106a,_0x7eb15-_0x5ce2f7._0x2839ae,_0x5aa6b7-_0x5ce2f7._0x4e9de3);}function _0x2e4c1e(_0x3b05e4,_0x1af3ac,_0xb81e0,_0x4c6bb4){return _0xe18bb0(_0x1af3ac,_0x4c6bb4-0x4d5,_0xb81e0-0xd4,_0x4c6bb4-0x8e);}return{'textDocument':{'uri':uriForPath(_0x1b9319[_0x4cecb0(-_0x224cd7._0x917d69,-_0x224cd7._0x1727ff,-0x185,_0x224cd7._0x3f5b9a)])},'position':{'line':_0x1b9319[_0x4cecb0(-0x294,-0x190,-0x16b,-0x271)],'character':_0x1b9319[_0x2e4c1e(_0x224cd7._0x14f744,0x6b0,_0x224cd7._0x35872e,0x7be)]}};}function normalizeLocations(_0xf9ed9c){const _0x2c9f29={_0xe7f2d7:0x113,_0x2cd255:0x254,_0xe683fe:0x6d,_0x4b2095:0x46},_0x3d11bb={_0x27a874:0x4d4};function _0x400fb5(_0x5e4bff,_0x31c4a4,_0x17d31e,_0x3303f6){return _0x47b891(_0x3303f6,_0x17d31e- -_0x3d11bb._0x27a874,_0x17d31e-0x18c,_0x3303f6-0x12b);}if(!_0xf9ed9c)return[];return Array[_0x400fb5(_0x2c9f29._0xe7f2d7,_0x2c9f29._0x2cd255,_0x2c9f29._0xe683fe,-_0x2c9f29._0x4b2095)](_0xf9ed9c)?_0xf9ed9c:[_0xf9ed9c];}async function withLspTimeout(_0x1f5941,_0x3c6efd,_0x2fbe63){const _0x5d7540={_0x343414:0x47b,_0x5f09b4:0xd6,_0x2dee6b:0x46,_0x1c98d9:0x193,_0x4a90fd:0x364},_0x4b7470={_0x5835b3:0x734,_0x2a2189:0xd9,_0x4ddd11:0x29},_0x4a5df3={_0x23ade0:0x1e7},_0x145a29={_0x4656c8:0x589,_0x431058:0x13e};if(!Number[_0x260fb(0x30e,0x315,0x4b5,_0x5d7540._0x343414)](_0x3c6efd)||_0x3c6efd<0x1)throw new Error(_0x23959b(_0x5d7540._0x5f09b4,-_0x5d7540._0x2dee6b,-0x1,0x18c)+_0x2fbe63+':\x20expected\x20a\x20positive\x20number');let _0x485d61;function _0x23959b(_0x30c0f0,_0x415746,_0x19b7b3,_0x329164){return _0x47b891(_0x329164,_0x19b7b3- -_0x145a29._0x4656c8,_0x19b7b3-_0x145a29._0x431058,_0x329164-0xe1);}function _0x260fb(_0x3fcad1,_0x458a0d,_0x16e2bc,_0x26523b){return _0x47b891(_0x3fcad1,_0x16e2bc- -0x1a4,_0x16e2bc-0x113,_0x26523b-_0x4a5df3._0x23ade0);}try{return await Promise[_0x260fb(0x545,_0x5d7540._0x1c98d9,_0x5d7540._0x4a90fd,0x1dc)]([_0x1f5941,new Promise((_0x3fb623,_0x26c986)=>{_0x485d61=setTimeout(()=>{function _0xadfb50(_0x4c152e,_0x38b1a0,_0x45f2ef,_0x443fa6){return _0x678a(_0x38b1a0- -0x371,_0x443fa6);}function _0x5e95b3(_0x2947c7,_0x2d4045,_0x53e801,_0x5635b7){return _0x678a(_0x2d4045-0x37d,_0x53e801);}_0x26c986(new Error('LSP\x20'+_0x2fbe63+_0x5e95b3(0x680,0x6f2,_0x4b7470._0x5835b3,0x598)+_0x3c6efd+_0xadfb50(_0x4b7470._0x2a2189,-_0x4b7470._0x4ddd11,0xf7,0x1d0)));},_0x3c6efd);})]);}finally{if(_0x485d61!==void 0x0)clearTimeout(_0x485d61);}}async function createLspClient(_0x87cc84){const _0x129b2f={_0x13f8ad:0x3fc,_0x6edd93:0x1d8,_0x2c4dc5:0xb1,_0xcbfed9:0x369,_0x34f2e4:0x68d,_0x2fa987:0x54,_0x57d8a3:0x225,_0x2b3041:0x11d,_0x1d33b7:0x888,_0x4b0e8f:0x762,_0x3f30eb:0x61b,_0x49ea13:0x5a9,_0x13e9ab:0x8b1,_0x5600fc:0x7b5,_0x2502e9:0x6d9,_0x5a23fa:0x6c8,_0x41ab6c:0x5a,_0x1c264f:0x171,_0x58482a:0x200,_0x311848:0x1e2,_0x3e21cc:0x22e,_0x58e10c:0x150,_0x28ecfd:0x388,_0x6f43d7:0x57e,_0x2f3ae5:0x67d,_0x2cdf86:0x584,_0x2b4937:0x62d,_0x4eb0b1:0x45a,_0x36f97f:0x16b,_0x4fff84:0x871,_0x4bc1b2:0x11e,_0x26298c:0x11c,_0xce19ea:0xd8,_0x4f4224:0x300,_0x32a021:0x1b,_0x32a057:0x184,_0x59d7bf:0x1db,_0x5012ae:0x1e2},_0x38261c={_0x146d00:0x57f},_0x4a2a8f={_0x351e35:0x364,_0x3adc82:0x2dc,_0x1d6fb8:0x308,_0x4bda14:0x10b,_0x174aa7:0x2e2,_0x5bc756:0x6d,_0x362cc3:0x227,_0x4f2ee:0x7d,_0x2b54e7:0x96,_0x4d51a7:0x27e,_0x4a71f9:0x7f,_0x4bffa6:0x128,_0x1e9890:0x121,_0x5d0a97:0x31d},_0x4af8ea={_0x284ef5:0x14d},_0x50b4fa={_0x3d8769:0xc1},_0x372f03={_0x461183:0x5a9,_0x1ee15a:0x2dd,_0x334ddb:0x13c,_0x266d58:0x1ba},_0x511543={_0x3aede5:0x199},_0x2dee4f={_0x184708:0x7f9,_0x2f5356:0x742,_0x406f23:0x77b},_0x38bb82={_0x34d3db:0x10c,_0x354378:0x1ac},_0x4d8f27={_0x4dc4ac:0x174},_0x30043a={_0x581e93:0x62,_0x559f12:0x1,_0x136889:0x35},_0x17a923={_0x5c1e99:0x219,_0x2e6e20:0x601},_0x549870={_0x5f1261:0x191,_0x21a48e:0x33c},_0x2b72e4={_0x375352:0x35},_0x13d7f5={_0x56be64:0x14b},_0x60ef0d={_0x50777d:0x3a4},_0x49d165={_0x3b6590:0x872,_0x5229b0:0x930,_0x1cae3e:0x776,_0xc68703:0x536,_0x34c6ff:0x3aa},_0x51cd15={_0x262374:0x2a1,_0x4950f3:0x473,_0x42fbcc:0x489,_0x405545:0x547,_0x3f7fc0:0x426},_0x41f2cd={_0x120c55:0x76a,_0x6bb204:0x72b,_0x52bb84:0x8ba},_0x1c1c2b={_0x472a46:0x74,_0xb0a13f:0x47,_0x94886b:0x63a},_0x4e8ab7={_0x52f4d9:0x1a1},_0x57d8f0={_0x4d27b3:0x295,_0x5263c5:0x38d,_0x20e0b5:0x10c,_0xe9600b:0x282,_0x89a06a:0xd5},_0x127772={_0x3732f9:0x152},_0x413654=_0x87cc84[_0x4c9bb0(_0x129b2f._0x13f8ad,0x429,0x25c,0x445)][_0x3c4595(-_0x129b2f._0x6edd93,_0x129b2f._0x2c4dc5,-0x54,-0x17d)]['stdout'],_0x239f52=_0x87cc84[_0x3c4595(-0x3a4,-_0x129b2f._0xcbfed9,-0x1f2,-0xd4)][_0x4c9bb0(0x639,_0x129b2f._0x34f2e4,0x7bd,0x5e3)][_0x3c4595(_0x129b2f._0x2fa987,-_0x129b2f._0x57d8a3,-_0x129b2f._0x2b3041,-0x173)];if(!_0x413654||!_0x239f52)throw new Error(_0x4c9bb0(_0x129b2f._0x1d33b7,0x6ee,_0x129b2f._0x4b0e8f,0x68b));const _0xabbef1=_0x87cc84[_0x4c9bb0(_0x129b2f._0x3f30eb,0x605,0x472,_0x129b2f._0x49ea13)]??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x58831b=createMessageConnection(new StreamMessageReader(_0x413654),new StreamMessageWriter(_0x239f52)),_0x5e5233=new Map(),_0x129a9c=new Map();let _0x5d3934=![];const _0x4aecfe=async(_0x5ed0cf,_0x138781)=>{function _0x48481e(_0x5baec5,_0x5c83e7,_0x93927f,_0x27fc07){return _0x4c9bb0(_0x5baec5-0x59,_0x5c83e7-0xc0,_0x5c83e7,_0x93927f-0x116);}return withLspTimeout(_0x58831b[_0x48481e(0x4ed,0x3da,0x555,0x3da)](_0x5ed0cf,_0x138781),_0xabbef1,_0x5ed0cf);};_0x58831b[_0x4c9bb0(_0x129b2f._0x13e9ab,0x5fd,0x6b8,_0x129b2f._0x5600fc)]('textDocument/publishDiagnostics',_0x166f8d=>{const _0x1ebcdc={_0x3d94c7:0x196};_0x5e5233['set'](_0x166f8d['uri'],_0x166f8d[_0x42dd2b(0x47b,0x567,0x327,0x35a)]);const _0x19217d=_0x129a9c[_0x42dd2b(_0x57d8f0._0x4d27b3,0x3dd,_0x57d8f0._0x5263c5,0x2f8)](_0x166f8d[_0x55a100(0x52,_0x57d8f0._0x20e0b5,_0x57d8f0._0xe9600b,0x248)]);if(!_0x19217d)return;_0x129a9c['delete'](_0x166f8d[_0x42dd2b(0x185,-0x6a,0x107,_0x57d8f0._0x89a06a)]);function _0x55a100(_0x5cba00,_0x318e1f,_0x2a349f,_0x53e84b){return _0x4c9bb0(_0x5cba00-_0x127772._0x3732f9,_0x318e1f-0x1a1,_0x2a349f,_0x318e1f- -0x3c9);}function _0x42dd2b(_0x1bd76b,_0x1ca778,_0x43ecfa,_0xa10786){return _0x4c9bb0(_0x1bd76b-_0x1ebcdc._0x3d94c7,_0x1ca778-0x6b,_0xa10786,_0x1bd76b- -0x350);}for(const _0x546f61 of _0x19217d)_0x546f61();}),_0x58831b[_0x4c9bb0(_0x129b2f._0x2502e9,0x671,_0x129b2f._0x5a23fa,0x6b3)]();let _0xe4b8ad;try{_0xe4b8ad=await _0x4aecfe('initialize',{'processId':process[_0x3c4595(-0x125,0xd4,-0x1c,_0x129b2f._0x41ab6c)],'rootUri':uriForPath(_0x87cc84['root']),'workspaceFolders':[{'uri':uriForPath(_0x87cc84[_0x3c4595(_0x129b2f._0x1c264f,_0x129b2f._0x58482a,_0x129b2f._0x311848,0x66)]),'name':_0x87cc84['server']['id']}],'initializationOptions':_0x87cc84[_0x3c4595(-_0x129b2f._0x3e21cc,-_0x129b2f._0x58e10c,-0x1f2,-_0x129b2f._0x28ecfd)][_0x4c9bb0(_0x129b2f._0x6f43d7,0x6fd,0x888,_0x129b2f._0x2f3ae5)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x4c9bb0(_0x129b2f._0x2cdf86,0x497,_0x129b2f._0x2b4937,_0x129b2f._0x4eb0b1),_0x3c4595(0x49,_0x129b2f._0x36f97f,0xcb,0x25a)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x1cf002){_0x58831b[_0x4c9bb0(_0x129b2f._0x4fff84,0x69c,0x54b,0x6e6)](),_0x87cc84[_0x3c4595(-0x287,-0xd7,-0x1f2,-_0x129b2f._0x4bc1b2)]['process'][_0x3c4595(-0x167,-_0x129b2f._0x26298c,-0xca,-_0x129b2f._0xce19ea)]();throw _0x1cf002;}function _0x4c9bb0(_0x596028,_0x306def,_0x4536d2,_0x559a6c){return _0x47b891(_0x4536d2,_0x559a6c-0xb8,_0x4536d2-0xfc,_0x559a6c-_0x4e8ab7._0x52f4d9);}_0x58831b['sendNotification'](_0x4c9bb0(0x302,_0x129b2f._0x4f4224,0x5ae,0x45e),{});const _0x2ae15e={'serverId':_0x87cc84[_0x3c4595(-_0x129b2f._0x32a021,_0x129b2f._0x32a057,_0x129b2f._0x59d7bf,0x3d4)]['id'],'root':_0x87cc84[_0x3c4595(0xd2,0x21c,_0x129b2f._0x5012ae,0x17a)],'connection':_0x58831b,'diagnostics':_0x5e5233,'capabilities':_0xe4b8ad['capabilities']??{},'notify':{async 'open'({path:_0x34755e}){function _0x5ebf29(_0x11f230,_0x15c218,_0x3ab51b,_0x10bff5){return _0x3c4595(_0x11f230-_0x1c1c2b._0x472a46,_0x15c218-_0x1c1c2b._0xb0a13f,_0x3ab51b-_0x1c1c2b._0x94886b,_0x10bff5);}const _0x2112c2=await readFile(_0x34755e,'utf8');_0x58831b[_0x5ebf29(0x7be,_0x41f2cd._0x120c55,_0x41f2cd._0x6bb204,_0x41f2cd._0x52bb84)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x34755e),'languageId':getLanguageId(_0x34755e)??'plaintext','version':0x1,'text':_0x2112c2}});},async 'change'({path:_0x19c019,version:_0x5a01a7}){const _0xf45b10={_0x4265e2:0x179},_0x1767b3={_0x33873c:0x1c0,_0xe2f142:0x445},_0x1a3186=await readFile(_0x19c019,_0x224e54(_0x51cd15._0x262374,_0x51cd15._0x4950f3,0x612,_0x51cd15._0x42fbcc));function _0x556576(_0x44c3c5,_0x9f41e7,_0x42fd07,_0x4090e5){return _0x3c4595(_0x44c3c5-0x121,_0x9f41e7-_0x1767b3._0x33873c,_0x4090e5-_0x1767b3._0xe2f142,_0x44c3c5);}function _0x224e54(_0x557450,_0x92348e,_0x3186bd,_0x780da8){return _0x4c9bb0(_0x557450-0x8a,_0x92348e-_0xf45b10._0x4265e2,_0x557450,_0x92348e- -0x2d2);}_0x58831b[_0x224e54(_0x51cd15._0x405545,0x456,0x33a,_0x51cd15._0x3f7fc0)]('textDocument/didChange',{'textDocument':{'uri':uriForPath(_0x19c019),'version':_0x5a01a7},'contentChanges':[{'text':_0x1a3186}]});},async 'close'({path:_0x3f2c35}){const _0x31c897={_0x40f0fc:0x125,_0x30027a:0x3f6};function _0x8586af(_0x3ae5e9,_0xc530d1,_0x1cdb27,_0xac913a){return _0x4c9bb0(_0x3ae5e9-0x7a,_0xc530d1-_0x31c897._0x40f0fc,_0x1cdb27,_0x3ae5e9- -_0x31c897._0x30027a);}function _0x5c1ee4(_0x20b3c3,_0x32ba85,_0x5c4379,_0x20f6f6){return _0x3c4595(_0x20b3c3-0x102,_0x32ba85-0x88,_0x20f6f6-0x685,_0x20b3c3);}_0x58831b[_0x5c1ee4(_0x49d165._0x3b6590,0x8b2,_0x49d165._0x5229b0,_0x49d165._0x1cae3e)](_0x8586af(0x3e4,_0x49d165._0xc68703,0x212,_0x49d165._0x34c6ff),{'textDocument':{'uri':uriForPath(_0x3f2c35)}});}},'request':{async 'definition'(_0x40a6f6){const _0x519d08={_0x3aea83:0x155,_0x50ae6b:0x3e9};function _0x1fabdf(_0x26210a,_0x262de5,_0x2fac26,_0x264436){return _0x3c4595(_0x26210a-0x182,_0x262de5-_0x519d08._0x3aea83,_0x264436-_0x519d08._0x50ae6b,_0x262de5);}return normalizeLocations(await _0x4aecfe(_0x1fabdf(_0x60ef0d._0x50777d,0x3bf,0x4ef,0x38b),textDocumentPosition(_0x40a6f6)));},async 'references'(_0x9f4daa){function _0x1875fd(_0x1a4fec,_0x152739,_0x4580c9,_0x3c381e){return _0x4c9bb0(_0x1a4fec-_0x13d7f5._0x56be64,_0x152739-0xc5,_0x3c381e,_0x4580c9- -0x4b0);}return normalizeLocations(await _0x4aecfe(_0x1875fd(0x4b,-0x129,0xc3,-_0x2b72e4._0x375352),{...textDocumentPosition(_0x9f4daa),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x41a016){return await _0x4aecfe('textDocument/hover',textDocumentPosition(_0x41a016))??null;},async 'documentSymbol'(_0x35743c){function _0x3cae2c(_0x2cf378,_0x8274b2,_0x49fbb7,_0x55e68d){return _0x4c9bb0(_0x2cf378-_0x549870._0x5f1261,_0x8274b2-0x13e,_0x2cf378,_0x8274b2- -_0x549870._0x21a48e);}return await _0x4aecfe(_0x3cae2c(_0x17a923._0x5c1e99,0x422,_0x17a923._0x2e6e20,0x33b),{'textDocument':{'uri':uriForPath(_0x35743c)}})??[];},async 'workspaceSymbol'(_0x3bf571){const _0x36daf9={_0x1cae4c:0x1de,_0x281f97:0x111};function _0x123de3(_0x4b9630,_0x9a0d55,_0x5e8b64,_0x597be8){return _0x3c4595(_0x4b9630-_0x36daf9._0x1cae4c,_0x9a0d55-0x163,_0x4b9630-_0x36daf9._0x281f97,_0x5e8b64);}return await _0x4aecfe(_0x123de3(_0x30043a._0x581e93,-_0x30043a._0x559f12,_0x30043a._0x136889,0xaf),{'query':_0x3bf571})??[];},async 'implementation'(_0x3d87a7){return normalizeLocations(await _0x4aecfe('textDocument/implementation',textDocumentPosition(_0x3d87a7)));},async 'prepareCallHierarchy'(_0x19d1c6){function _0x145b62(_0x1bd71d,_0x5dcb46,_0x8e9984,_0x586854){return _0x3c4595(_0x1bd71d-_0x4d8f27._0x4dc4ac,_0x5dcb46-0x147,_0x586854-0x2fd,_0x5dcb46);}return await _0x4aecfe(_0x145b62(_0x38bb82._0x34d3db,-0x38,0x51,_0x38bb82._0x354378),textDocumentPosition(_0x19d1c6))??[];},async 'incomingCalls'(_0x199a6a){const _0x2fe144={_0x166ac3:0xb,_0x1d6c57:0x174,_0x12993e:0x753};function _0x542b99(_0x486267,_0x3f7329,_0x32a9b6,_0x15bfac){return _0x3c4595(_0x486267-_0x2fe144._0x166ac3,_0x3f7329-_0x2fe144._0x1d6c57,_0x32a9b6-_0x2fe144._0x12993e,_0x486267);}return await _0x4aecfe(_0x542b99(_0x2dee4f._0x184708,_0x2dee4f._0x2f5356,_0x2dee4f._0x406f23,0x904),{'item':_0x199a6a})??[];},async 'outgoingCalls'(_0x286c65){return await _0x4aecfe('callHierarchy/outgoingCalls',{'item':_0x286c65})??[];}},'waitForDiagnostics'({path:_0x4b5866,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x43c523={_0x6a7d97:0x985,_0x39e4dc:0x868,_0x4ca0ab:0x9ce},_0x2ce284=uriForPath(_0x4b5866);function _0x461ae9(_0x260461,_0x342a3c,_0x49fafa,_0x32070a){return _0x4c9bb0(_0x260461-0xa1,_0x342a3c-0x162,_0x342a3c,_0x49fafa-0xee);}if(_0x5e5233[_0x437b3a(_0x372f03._0x461183,0x3a4,0x5f8,0x595)](_0x2ce284))return Promise[_0x437b3a(_0x372f03._0x1ee15a,_0x372f03._0x334ddb,_0x372f03._0x266d58,0x26f)]();function _0x437b3a(_0x5b053e,_0x51e747,_0x2d15f9,_0x39e740){return _0x4c9bb0(_0x5b053e-_0x511543._0x3aede5,_0x51e747-0x141,_0x2d15f9,_0x5b053e- -0x20d);}return new Promise(_0x2300a8=>{const _0x5675cb={_0x3c615e:0x4dd,_0x5cc740:0x2a2,_0x51e308:0x187,_0x3c5b56:0x3ab,_0x23a45d:0x575},_0x7fccde={_0x5bad69:0x145},_0x284ec3={_0x5f1ede:0x52};function _0x77f6a(_0x53be2b,_0x44fd52,_0x37fc5b,_0x36440d){return _0x437b3a(_0x44fd52-0x29f,_0x44fd52-0x4a,_0x53be2b,_0x36440d-0xe7);}const _0x385e18=setTimeout(()=>{function _0xb05c4(_0x5bd5b,_0x9df9b2,_0x4d6882,_0x3e12cc){return _0x678a(_0x9df9b2- -_0x284ec3._0x5f1ede,_0x5bd5b);}const _0x1712ff=_0x129a9c[_0xb05c4(_0x5675cb._0x3c615e,0x2fa,_0x5675cb._0x5cc740,_0x5675cb._0x51e308)](_0x2ce284);function _0x15a2d7(_0x5b2abc,_0x5741b8,_0x4063e2,_0x388863){return _0x678a(_0x5741b8-_0x7fccde._0x5bad69,_0x5b2abc);}_0x1712ff?.['delete'](_0x4394c6);if(_0x1712ff?.[_0xb05c4(0x56d,0x407,0x508,0x488)]===0x0)_0x129a9c[_0xb05c4(0x551,_0x5675cb._0x3c5b56,_0x5675cb._0x23a45d,0x24f)](_0x2ce284);_0x2300a8();},timeoutMs),_0x4394c6=()=>{clearTimeout(_0x385e18),_0x2300a8();},_0x53698f=_0x129a9c['get'](_0x2ce284)??new Set();_0x53698f[_0x77f6a(_0x43c523._0x6a7d97,_0x43c523._0x39e4dc,0x690,_0x43c523._0x4ca0ab)](_0x4394c6),_0x129a9c['set'](_0x2ce284,_0x53698f);});},async 'shutdown'(){function _0x40cab5(_0x48c994,_0x1323d7,_0x739b33,_0x2db444){return _0x4c9bb0(_0x48c994-_0x50b4fa._0x3d8769,_0x1323d7-0x1f0,_0x48c994,_0x739b33- -0x44c);}if(_0x5d3934)return;_0x5d3934=!![];function _0x28f8b3(_0x2abd3c,_0x4a4e5c,_0x67d437,_0x138934){return _0x4c9bb0(_0x2abd3c-_0x4af8ea._0x284ef5,_0x4a4e5c-0x18f,_0x67d437,_0x2abd3c- -0x679);}try{await _0x4aecfe(_0x40cab5(0x186,-0x35,0x137,-0xcf),null),_0x58831b[_0x40cab5(0x4b2,_0x4a2a8f._0x351e35,_0x4a2a8f._0x3adc82,0x29c)](_0x40cab5(_0x4a2a8f._0x1d6fb8,_0x4a2a8f._0x4bda14,0x318,_0x4a2a8f._0x174aa7));}catch{}finally{_0x58831b[_0x28f8b3(_0x4a2a8f._0x5bc756,0x19,_0x4a2a8f._0x362cc3,-_0x4a2a8f._0x4f2ee)](),_0x87cc84['handle'][_0x28f8b3(-_0x4a2a8f._0x2b54e7,0xd6,-_0x4a2a8f._0x4d51a7,-0xe1)][_0x40cab5(-_0x4a2a8f._0x4a71f9,_0x4a2a8f._0x4bffa6,_0x4a2a8f._0x1e9890,_0x4a2a8f._0x5d0a97)]();}}};function _0x3c4595(_0x5c2b7e,_0x47c3d1,_0x3bc787,_0xe4b125){return _0x47b891(_0xe4b125,_0x3bc787- -_0x38261c._0x146d00,_0x3bc787-0xad,_0xe4b125-0xd2);}return _0x2ae15e;}import{spawn as _0xe573a8}from'child_process';import{access as _0x1bc8ac}from'fs/promises';import _0x546c96 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0xc6783e from'os';import _0x70b777 from'path';import _0x466031 from'which';var installPromises=new Map();function sanitizePackageName(_0x1547bb){const _0x544339={_0x1591f2:0x266,_0x17073d:0x86e},_0x2a8fdd={_0x3d9361:0x198},_0x1d537b={_0x487e2c:0x4ee,_0x1e89f0:0xe3,_0x1af64f:0x1d};function _0x244f6e(_0x5d0ed1,_0x22aeb2,_0x3315d8,_0x3bbdeb){return _0x47b891(_0x22aeb2,_0x3bbdeb- -_0x1d537b._0x487e2c,_0x3315d8-_0x1d537b._0x1e89f0,_0x3bbdeb-_0x1d537b._0x1af64f);}function _0x293337(_0x5452b6,_0x444cd0,_0x4ce025,_0x1e203f){return _0xe18bb0(_0x444cd0,_0x1e203f-0x4c2,_0x4ce025-_0x2a8fdd._0x3d9361,_0x1e203f-0x13);}return _0x1547bb[_0x244f6e(0x2ec,0x3e8,0x1f6,_0x544339._0x1591f2)](/^@/,'')[_0x293337(0x898,_0x544339._0x17073d,0x941,0x785)](/[/]/g,'__');}function binaryNameForPlatform(_0x28e73d){const _0x3ba3ce={_0x46a0fe:0x630,_0x4d864c:0x461,_0x239e05:0x604,_0x638ab9:0x491,_0x569223:0x668,_0x52db34:0x4e3,_0x399212:0x494},_0x20db1e={_0x2a2308:0x9c,_0x44ab99:0x111};function _0x20e163(_0x535720,_0x827be7,_0x2ae6dc,_0x53fb4d){return _0x47b891(_0x827be7,_0x53fb4d- -_0x20db1e._0x2a2308,_0x2ae6dc-_0x20db1e._0x44ab99,_0x53fb4d-0x1b3);}function _0x590944(_0x12ba4d,_0x2ad4c1,_0x342824,_0x455802){return _0x47b891(_0x2ad4c1,_0x342824-0x84,_0x342824-0x5d,_0x455802-0xdc);}return process[_0x590944(0x845,0x721,0x7ad,_0x3ba3ce._0x46a0fe)]===_0x590944(_0x3ba3ce._0x4d864c,0x67d,_0x3ba3ce._0x239e05,0x402)?_0x28e73d+_0x590944(_0x3ba3ce._0x638ab9,_0x3ba3ce._0x569223,_0x3ba3ce._0x52db34,_0x3ba3ce._0x399212):_0x28e73d;}async function exists(_0x45d518){try{return await access(_0x45d518),!![];}catch{return![];}}function runNpmInstall(_0x13f095,_0x56fde1,_0x13c8bb){const _0x48ace6={_0x10abe8:0x2e2,_0x4bdb93:0x305,_0x1644ab:0x1e0,_0x453a00:0x351,_0x17ade3:0x1a9,_0x135119:0x1c6},_0x1e844d={_0x37ede3:0x179};return new Promise(_0x57adc1=>{const _0x5c46f3={_0x15b3fe:0x1fd},_0x179b48=spawn(_0x3155c0(_0x48ace6._0x10abe8,_0x48ace6._0x4bdb93,_0x48ace6._0x1644ab,_0x48ace6._0x453a00),['install','--prefix',_0x13f095,_0x56fde1],{'env':_0x13c8bb,'stdio':_0x3155c0(0x193,0x1e1,0x7d,0x17a)});function _0x3155c0(_0x2c670f,_0x1f3b26,_0x5c55bc,_0x44f303){return _0x678a(_0x1f3b26- -_0x1e844d._0x37ede3,_0x5c55bc);}_0x179b48['on'](_0x3155c0(_0x48ace6._0x17ade3,0x5d,0xb9,_0x48ace6._0x135119),()=>_0x57adc1(![]));function _0x477f2e(_0x237e0f,_0xbb36,_0x3e00f9,_0x11b575){return _0x678a(_0x3e00f9-_0x5c46f3._0x15b3fe,_0xbb36);}_0x179b48['on']('close',_0x1190bf=>_0x57adc1(_0x1190bf===0x0));});}function shouldDisableLspDownload(_0x2cb354=process[_0xe18bb0(0x143,0x168,0x314,-0x7b)]){const _0x2fb236={_0x238451:0x1c,_0x1280b2:0x37f,_0x55d834:0x3b1,_0x5df751:0x48c,_0x1f48be:0x2f6},_0x3b40ee={_0x519289:0x471,_0x14b99d:0xad,_0x2ac3b9:0xe5},_0x6ded5a={_0x1525a0:0x300,_0x419be2:0xdd},_0x135adb=_0x2cb354[_0x196683(0x2f,-_0x2fb236._0x238451,0x2d8,0x19a)]?.[_0x19028c(0x489,_0x2fb236._0x1280b2,_0x2fb236._0x55d834,0x32f)]();function _0x19028c(_0x13cb5c,_0x3f7942,_0x321dd6,_0x2e1d6d){return _0x47b891(_0x13cb5c,_0x3f7942- -_0x6ded5a._0x1525a0,_0x321dd6-0x25,_0x2e1d6d-_0x6ded5a._0x419be2);}function _0x196683(_0x54b6f8,_0x567ff3,_0xc93036,_0x150a72){return _0x47b891(_0xc93036,_0x150a72- -_0x3b40ee._0x519289,_0xc93036-_0x3b40ee._0x14b99d,_0x150a72-_0x3b40ee._0x2ac3b9);}return _0x135adb==='true'||_0x135adb==='1'||_0x135adb===_0x19028c(0x27c,_0x2fb236._0x5df751,0x370,_0x2fb236._0x1f48be)||_0x135adb==='on';}function getLspPackageDir(_0x54e6a0){const _0x1d8cd2={_0x207a0a:0x642,_0x203381:0x637,_0x156f89:0x6bf,_0x94ecd3:0x569,_0x1d37b4:0x2f6,_0x1d3523:0x5b8,_0x526aa2:0x6ca,_0x111803:0x65d},_0x5420c3={_0x24b507:0x1a3},_0x257cc8={_0x2c2687:0x124};function _0x3c211f(_0x18985d,_0x282f1c,_0x3b72aa,_0xc72d00){return _0xe18bb0(_0x18985d,_0x282f1c-0x3d5,_0x3b72aa-0x72,_0xc72d00-_0x257cc8._0x2c2687);}function _0x3b86c8(_0x2e57af,_0x1c2b9e,_0x89c3f1,_0x234935){return _0xe18bb0(_0x89c3f1,_0x2e57af-_0x5420c3._0x24b507,_0x89c3f1-0x2d,_0x234935-0x109);}return _0x70b777[_0x3b86c8(0x285,0x1e3,0x18a,0x1cc)](_0xc6783e[_0x3c211f(_0x1d8cd2._0x207a0a,_0x1d8cd2._0x203381,_0x1d8cd2._0x156f89,0x5e1)](),_0x3b86c8(0x49d,0x29d,_0x1d8cd2._0x94ecd3,_0x1d8cd2._0x1d37b4),'lsp',_0x3c211f(_0x1d8cd2._0x1d3523,0x5ba,_0x1d8cd2._0x526aa2,_0x1d8cd2._0x111803),sanitizePackageName(_0x54e6a0));}function getLspBinDir(_0x3ac2c6){const _0x1cb86d={_0x9b96d7:0x116,_0x2b619f:0x203,_0x1377bc:0x49c,_0x567526:0x476,_0x32d266:0x152,_0x29cc90:0x24d,_0x375aad:0xa4},_0x309513={_0x5e5d64:0x2e9,_0x29cd0d:0x44},_0x24d40f={_0x3fb8f6:0x15d};function _0x44093b(_0x73cc2c,_0x483271,_0x10d06b,_0x301285){return _0xe18bb0(_0x73cc2c,_0x301285- -0x5d,_0x10d06b-0x151,_0x301285-_0x24d40f._0x3fb8f6);}function _0x1e1334(_0x11e726,_0x2cd037,_0x4226af,_0x2cefbd){return _0xe18bb0(_0x2cefbd,_0x11e726-_0x309513._0x5e5d64,_0x4226af-0x8d,_0x2cefbd-_0x309513._0x29cd0d);}return _0x70b777[_0x44093b(-0x89,-_0x1cb86d._0x9b96d7,_0x1cb86d._0x2b619f,0x85)](getLspPackageDir(_0x3ac2c6),_0x1e1334(_0x1cb86d._0x1377bc,0x35d,0x4f0,_0x1cb86d._0x567526),_0x44093b(-_0x1cb86d._0x32d266,0x2a4,_0x1cb86d._0x29cc90,_0x1cb86d._0x375aad));}async function findPackageBinary(_0x50ee7d,_0x59e1e0){const _0xa28b4d={_0x174ec5:0x101,_0xd9dc5b:0x641,_0x1f3eb1:0x67d,_0x41e940:0x728,_0x55d86a:0x4ea},_0xca206a={_0x3d9a04:0x555,_0x406518:0x1bf},_0x46bb90={_0x275034:0x106};let _0x31988a=_0x70b777['resolve'](_0x59e1e0);function _0x5bc2cb(_0x2d8982,_0x11f0dc,_0x32be54,_0x5d61db){return _0x47b891(_0x11f0dc,_0x2d8982-0xaf,_0x32be54-0x102,_0x5d61db-_0x46bb90._0x275034);}const _0x3a94d7=binaryNameForPlatform(_0x50ee7d);function _0x4580c8(_0x3c9b38,_0x4ba2ce,_0x1a981b,_0x315d28){return _0x47b891(_0x4ba2ce,_0x1a981b- -_0xca206a._0x3d9a04,_0x1a981b-0x2,_0x315d28-_0xca206a._0x406518);}while(!![]){const _0x391665=_0x70b777[_0x4580c8(0x180,-0x151,0x1e,_0xa28b4d._0x174ec5)](_0x31988a,'node_modules',_0x5bc2cb(_0xa28b4d._0xd9dc5b,_0xa28b4d._0x1f3eb1,_0xa28b4d._0x41e940,0x517),_0x3a94d7);if(await exists(_0x391665))return _0x391665;const _0x295d88=_0x70b777[_0x5bc2cb(_0xa28b4d._0x55d86a,0x2de,0x31d,0x5d0)](_0x31988a);if(_0x295d88===_0x31988a)return void 0x0;_0x31988a=_0x295d88;}}async function findPathBinary(_0x2b5ecc,_0x49ce22){const _0x3a6e98={_0x57b490:0x3e,_0x4161e6:0xa5,_0x4b9ad2:0x7f5,_0x3f95ba:0x85f},_0x567046={_0x204422:0x19e},_0x4ca2e9={_0x513315:0xea};function _0x377d93(_0x71f792,_0x590b53,_0x2c53e5,_0x2a9602){return _0xe18bb0(_0x2a9602,_0x2c53e5-0x606,_0x2c53e5-0x5b,_0x2a9602-_0x4ca2e9._0x513315);}function _0x5515c3(_0x3e966e,_0x24ac94,_0x5cb382,_0x44eaaf){return _0xe18bb0(_0x5cb382,_0x3e966e- -0x1f,_0x5cb382-_0x567046._0x204422,_0x44eaaf-0x125);}const _0x353003=getLspBinDir(_0x49ce22),_0x13315b=[_0x353003,process[_0x5515c3(0x149,0x1c8,0x29f,-0x13)][_0x5515c3(_0x3a6e98._0x57b490,0x83,0x138,-_0x3a6e98._0x4161e6)]][_0x377d93(_0x3a6e98._0x4b9ad2,0x840,_0x3a6e98._0x3f95ba,0x84e)](Boolean)['join'](_0x70b777['delimiter']);try{return await _0x466031(_0x2b5ecc,{'path':_0x13315b});}catch{return void 0x0;}}async function resolvePackageBinary(_0x5e273a){const _0x58bdcf={_0x180ca0:0x5a1,_0x55e361:0x537,_0x21b327:0x160,_0x2403ff:0x35b,_0x4f53e3:0x40e,_0x254fa2:0x2a0,_0x3eec22:0x1cb,_0x296c75:0x37c,_0x85bf0e:0x2cd,_0x5044e1:0x453,_0x22240a:0x1f8,_0x36dc2e:0x2a0,_0x443a1b:0x335,_0x23f69c:0x3f,_0x581a64:0x125,_0x230856:0xb8,_0x4e4dc4:0x31c,_0x3c0452:0x1d6,_0x50c475:0x32b,_0xc8298a:0x57c},_0x187932={_0x1cc172:0x16c,_0x240810:0x19d,_0x414379:0x1fe,_0xf8c275:0x7b,_0x369af4:0x106},_0x351397={_0x4ef700:0x3e2,_0x2eee06:0x93},_0x23c209={_0x251b53:0x3ad,_0x5d4324:0x108},_0x8b512=_0x5e273a[_0x3e205e(_0x58bdcf._0x180ca0,0x7ae,0x523,_0x58bdcf._0x55e361)]??_0x5e273a[_0x447d7f(_0x58bdcf._0x21b327,_0x58bdcf._0x2403ff,_0x58bdcf._0x4f53e3,_0x58bdcf._0x254fa2)],_0x4234a6=await findPackageBinary(_0x8b512,_0x5e273a[_0x447d7f(-0xc5,0x20c,_0x58bdcf._0x3eec22,0xff)]);if(_0x4234a6)return _0x4234a6;const _0xaebdac=await findPathBinary(_0x8b512,_0x5e273a[_0x447d7f(_0x58bdcf._0x296c75,0x1ca,0x230,0x2a0)]);if(_0xaebdac)return _0xaebdac;const _0x430bb0=_0x5e273a['env']??process[_0x447d7f(0x45a,0x25a,0x151,_0x58bdcf._0x85bf0e)];function _0x3e205e(_0x5129c8,_0x4338e3,_0x2b9bd2,_0x24d143){return _0xe18bb0(_0x4338e3,_0x5129c8-_0x23c209._0x251b53,_0x2b9bd2-0x1ba,_0x24d143-_0x23c209._0x5d4324);}if(shouldDisableLspDownload(_0x430bb0))return void 0x0;const _0x1b04e9=getLspPackageDir(_0x5e273a[_0x447d7f(_0x58bdcf._0x5044e1,0x19c,_0x58bdcf._0x22240a,_0x58bdcf._0x36dc2e)]),_0xe36243=_0x5e273a[_0x3e205e(0x4e8,0x3c4,_0x58bdcf._0x443a1b,0x3fd)]+':'+_0x8b512;function _0x447d7f(_0x178e03,_0x109232,_0xe33302,_0x1294f7){return _0xe18bb0(_0x178e03,_0x1294f7-0x165,_0xe33302-0x183,_0x1294f7-0x1f3);}let _0x32960f=installPromises[_0x447d7f(_0x58bdcf._0x23f69c,_0x58bdcf._0x581a64,_0x58bdcf._0x230856,0x201)](_0xe36243);!_0x32960f&&(_0x32960f=((async()=>{const _0x24242c={_0x288a8c:0x14a};await mkdir(_0x1b04e9,{'recursive':!![]});const _0x2c7fa8=await runNpmInstall(_0x1b04e9,_0x5e273a[_0x562d2c(0x2ac,0x106,_0x187932._0x1cc172,_0x187932._0x240810)],_0x430bb0);function _0x562d2c(_0x5c29d2,_0x448fed,_0x2ac42c,_0x1cb67b){return _0x3e205e(_0x448fed- -_0x351397._0x4ef700,_0x5c29d2,_0x2ac42c-_0x351397._0x2eee06,_0x1cb67b-0x1e8);}function _0x3e083e(_0x2be0e0,_0xeb3045,_0x57c3a5,_0x1a57f3){return _0x447d7f(_0x2be0e0,_0xeb3045-_0x24242c._0x288a8c,_0x57c3a5-0x12b,_0xeb3045- -0x29d);}if(!_0x2c7fa8)return void 0x0;const _0x227b7c=_0x70b777[_0x3e083e(-_0x187932._0x414379,-0x56,0x7e,-_0x187932._0xf8c275)](getLspBinDir(_0x5e273a[_0x562d2c(0x276,_0x187932._0x369af4,0x1fb,-0xc7)]),binaryNameForPlatform(_0x8b512));return await exists(_0x227b7c)?_0x227b7c:void 0x0;})()),installPromises[_0x3e205e(_0x58bdcf._0x4e4dc4,0x38c,0x49c,_0x58bdcf._0x3c0452)](_0xe36243,_0x32960f));try{return await _0x32960f;}catch{return void 0x0;}finally{installPromises[_0x3e205e(0x4fa,_0x58bdcf._0x50c475,_0x58bdcf._0xc8298a,0x3e9)](_0xe36243);}}var TYPESCRIPT_EXTENSIONS=['.ts',_0x47b891(0x761,0x6c8,0x74d,0x817),_0xe18bb0(0xaa,-0x98,-0x145,0x15f),_0x47b891(0x5ef,0x69d,0x855,0x51b),_0xe18bb0(-0x7e,0x59,-0x83,-0x9),_0x47b891(0x652,0x5e1,0x721,0x3e6),_0x47b891(0x588,0x77d,0x6d2,0x62b),_0x47b891(0x7cd,0x5dd,0x6e6,0x7dd)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x47b891(0x601,0x67b,0x4df,0x68e),'.jsonc'],TYPESCRIPT_ROOT_MARKERS=['package-lock.json',_0xe18bb0(-0x1c9,0x43,-0xe1,0x243),_0xe18bb0(-0x40,-0xc5,-0xe3,-0x1b6),_0x47b891(0x5e1,0x492,0x62e,0x5aa),_0x47b891(0x6bc,0x5f7,0x551,0x4fb),_0x47b891(0x559,0x737,0x8f9,0x560),'jsconfig.json','package.json'],BIOME_ROOT_MARKERS=[_0xe18bb0(-0xa8,-0x8c,-0xe1,-0x287),_0x47b891(0x1cd,0x3bb,0x31e,0x412),'package-lock.json','bun.lockb',_0x47b891(0x1cd,0x3cc,0x31d,0x3aa),_0x47b891(0x4bc,0x492,0x62d,0x677),_0x47b891(0x6a4,0x5f7,0x7e4,0x45c),_0xe18bb0(0x20f,0xc1,0x12e,-0xbc)];async function exists2(_0x1e7adf){try{return await _0x1bc8ac(_0x1e7adf),!![];}catch{return![];}}async function findUp(_0x1f531b,_0x39a4ad){const _0x912a3d={_0x4729c6:0x219,_0x4632ee:0x17,_0xdd44f0:0x13a,_0x2a6ac9:0xe,_0x21d5a1:0x247,_0x3ba48f:0x77,_0xafaf38:0x53,_0x3cb798:0x11f},_0x197339={_0x958df5:0xfd},_0x4e8662={_0x3265aa:0x6e};function _0x59a1bc(_0x545171,_0xbe7965,_0x1b3c15,_0x1802fd){return _0x47b891(_0x1802fd,_0x545171- -0x3ec,_0x1b3c15-_0x4e8662._0x3265aa,_0x1802fd-0x48);}function _0x267394(_0x2d53af,_0x4b7f36,_0x5ee7c2,_0x369f77){return _0x47b891(_0x2d53af,_0x4b7f36- -0x449,_0x5ee7c2-0x1e2,_0x369f77-_0x197339._0x958df5);}let _0x408956=_0x546c96[_0x267394(-_0x912a3d._0x4729c6,-_0x912a3d._0x4632ee,_0x912a3d._0xdd44f0,0xc7)](_0x1f531b);const _0x170c32=_0x546c96['extname'](_0x408956);if(_0x170c32)_0x408956=_0x546c96[_0x267394(-0xa6,-_0x912a3d._0x2a6ac9,-0x102,-0x142)](_0x408956);while(!![]){for(const _0xdce3e1 of _0x39a4ad){if(await exists2(_0x546c96[_0x59a1bc(0x187,_0x912a3d._0x21d5a1,0x350,_0x912a3d._0x3ba48f)](_0x408956,_0xdce3e1)))return _0x408956;}const _0x6d0035=_0x546c96[_0x59a1bc(0x4f,-0x1d,-_0x912a3d._0xafaf38,_0x912a3d._0x3cb798)](_0x408956);if(_0x6d0035===_0x408956)return void 0x0;_0x408956=_0x6d0035;}}async function hasDenoRoot(_0x408f44){const _0x510d27={_0x547ccd:0x602,_0x2b071a:0x46f,_0xf42d24:0x4bf,_0x373a32:0x66c,_0x3a476b:0x6a0},_0x54154c={_0x1544a9:0x38d},_0x3183c1={_0x566bf8:0x44,_0x4c97fc:0xff};function _0x49419d(_0x1aceb4,_0x2e69a9,_0x250d3a,_0x158df9){return _0xe18bb0(_0x158df9,_0x250d3a- -_0x3183c1._0x566bf8,_0x250d3a-0xe,_0x158df9-_0x3183c1._0x4c97fc);}function _0x168522(_0xe78798,_0x118d5d,_0x3bb3f8,_0x5ac918){return _0xe18bb0(_0x5ac918,_0x118d5d-_0x54154c._0x1544a9,_0x3bb3f8-0x13a,_0x5ac918-0x3);}return await exists2(_0x546c96['join'](_0x408f44,'deno.json'))||await exists2(_0x546c96[_0x168522(_0x510d27._0x547ccd,_0x510d27._0x2b071a,_0x510d27._0xf42d24,0x402)](_0x408f44,_0x168522(0x7d4,_0x510d27._0x373a32,_0x510d27._0x3a476b,0x774)));}async function resolveTsserverPath(_0x1b179d){const _0x2d3497={_0x5dcb6f:0x54c,_0x4d16c2:0x615,_0x13fde9:0x45a,_0x453923:0x324,_0x2cf3d8:0x538,_0x24b3b8:0x4f2,_0x38b102:0x247,_0x24ff8f:0x24e,_0x8252d1:0x6df,_0x103232:0x3ad,_0x57d202:0x527,_0x5165ce:0x333,_0x47dd3e:0x40c,_0x321c73:0x46d,_0x632678:0x405,_0x330c93:0x42b,_0x5ba3d3:0x574,_0x320e3a:0x83a,_0x221c75:0x1df,_0x3cc8d7:0x2e7,_0x156666:0x1bc,_0x123194:0x4b6},_0x5c7bfe={_0x4e76af:0x19,_0x4e3da0:0x1c2},_0x2af3c8={_0x438350:0x121};let _0x1a696b=_0x546c96['resolve'](_0x1b179d);function _0x3f25da(_0x17bd04,_0x30e182,_0x5ef80c,_0x5cd2bc){return _0xe18bb0(_0x5cd2bc,_0x30e182-0x32d,_0x5ef80c-_0x2af3c8._0x438350,_0x5cd2bc-0x184);}function _0x127c27(_0x4c9d61,_0x241162,_0x5702aa,_0xedf33f){return _0x47b891(_0xedf33f,_0x5702aa- -_0x5c7bfe._0x4e76af,_0x5702aa-0x14c,_0xedf33f-_0x5c7bfe._0x4e3da0);}while(!![]){const _0x5769db=_0x546c96[_0x3f25da(_0x2d3497._0x5dcb6f,0x40f,0x359,_0x2d3497._0x4d16c2)](_0x1a696b,_0x3f25da(_0x2d3497._0x13fde9,0x4e0,_0x2d3497._0x453923,_0x2d3497._0x2cf3d8),_0x127c27(0x290,_0x2d3497._0x24b3b8,0x432,0x416),_0x3f25da(_0x2d3497._0x38b102,_0x2d3497._0x24ff8f,0x3bf,0x272),_0x127c27(_0x2d3497._0x8252d1,_0x2d3497._0x103232,0x4e7,0x361));if(await exists2(_0x5769db))return _0x5769db;const _0xad308a=_0x546c96['dirname'](_0x1a696b);if(_0xad308a===_0x1a696b)break;_0x1a696b=_0xad308a;}const _0x3d1792=getLspPackageDir(_0x127c27(_0x2d3497._0x57d202,0x405,0x432,0x561)),_0x3a1aca=await resolvePackageBinary({'packageName':_0x3f25da(0x27c,0x2e7,0x442,0x10c),'binaryName':_0x127c27(0x509,_0x2d3497._0x5165ce,_0x2d3497._0x47dd3e,_0x2d3497._0x321c73),'startDir':_0x1b179d});if(!_0x3a1aca)return void 0x0;const _0x1c9fdb=_0x546c96[_0x3f25da(_0x2d3497._0x632678,0x40f,0x301,0x49d)](_0x3d1792,_0x127c27(_0x2d3497._0x330c93,_0x2d3497._0x5ba3d3,0x62b,_0x2d3497._0x320e3a),_0x3f25da(_0x2d3497._0x221c75,_0x2d3497._0x3cc8d7,0x2e7,_0x2d3497._0x156666),'lib',_0x3f25da(0x504,0x39c,_0x2d3497._0x123194,0x418));return await exists2(_0x1c9fdb)?_0x1c9fdb:void 0x0;}var TypeScriptServer={'id':_0xe18bb0(0x19b,-0x46,0xd8,0x1c6),'name':_0xe18bb0(0x1dc,0x5b,0x1fd,-0x182),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x52ce34){const _0x1fc703=await findUp(_0x52ce34,TYPESCRIPT_ROOT_MARKERS);if(!_0x1fc703)return void 0x0;return await hasDenoRoot(_0x1fc703)?void 0x0:_0x1fc703;},async 'spawn'(_0x2b1d8e){const _0x52b087={_0x435f16:0x37e,_0x1afb91:0x213,_0x153e96:0x2fb,_0x522415:0x3b1,_0x5c4653:0x3e7,_0x4de664:0x3a7,_0x234a58:0x300,_0x11a8ad:0x28f},_0x395805={_0x3f347c:0x165},_0x264503=await resolveTsserverPath(_0x2b1d8e);if(!_0x264503)return void 0x0;function _0x21e6a2(_0x4be849,_0xe5482e,_0x444fbd,_0x5d5d3b){return _0x47b891(_0xe5482e,_0x4be849- -0x234,_0x444fbd-0x1,_0x5d5d3b-0x1e7);}function _0x4ba99c(_0x3615f0,_0x308f44,_0x127640,_0x4d7638){return _0x47b891(_0x127640,_0x308f44- -0x2b7,_0x127640-0x165,_0x4d7638-_0x395805._0x3f347c);}const _0xc4dccf=await resolvePackageBinary({'packageName':_0x21e6a2(_0x52b087._0x435f16,0x305,_0x52b087._0x1afb91,0x28a),'binaryName':_0x4ba99c(0x371,_0x52b087._0x153e96,_0x52b087._0x522415,0x233),'startDir':_0x2b1d8e});if(!_0xc4dccf)return void 0x0;return{'process':_0xe573a8(_0xc4dccf,['--stdio'],{'cwd':_0x2b1d8e,'stdio':_0x21e6a2(_0x52b087._0x5c4653,_0x52b087._0x4de664,_0x52b087._0x234a58,_0x52b087._0x11a8ad)}),'initialization':{'tsserver':{'path':_0x264503}}};}},BiomeServer={'id':_0xe18bb0(-0xd7,0x93,0x29c,-0x104),'name':_0xe18bb0(0x1ee,0x1ae,0x321,0x16f),'extensions':BIOME_EXTENSIONS,async 'root'(_0x400bfd){return findUp(_0x400bfd,BIOME_ROOT_MARKERS);},async 'spawn'(_0x294bab){const _0x372570={_0x8aa48a:0x467,_0x164bfe:0x37a,_0x150336:0x621,_0x3ded49:0x81,_0x69dcc0:0xbb},_0x4eef2b={_0x28bb1e:0x12e},_0x3d523c={_0x3caa28:0x11b,_0x594107:0x1cb};function _0x1118cb(_0x14147e,_0xf2bc08,_0x46a3ef,_0x16d5b1){return _0xe18bb0(_0x16d5b1,_0x46a3ef- -_0x3d523c._0x3caa28,_0x46a3ef-_0x3d523c._0x594107,_0x16d5b1-0x2f);}const _0x950eaa=await findPackageBinary('biome',_0x294bab)??await resolvePackageBinary({'packageName':_0x4c4125(_0x372570._0x8aa48a,0x471,0x27c,0x2d2),'binaryName':_0x4c4125(0x525,_0x372570._0x164bfe,0x4fc,_0x372570._0x150336),'startDir':_0x294bab});function _0x4c4125(_0x1b5851,_0x551472,_0x284263,_0x4c0dfe){return _0xe18bb0(_0x551472,_0x1b5851-0x492,_0x284263-_0x4eef2b._0x28bb1e,_0x4c0dfe-0x1a8);}if(!_0x950eaa)return void 0x0;return{'process':_0xe573a8(_0x950eaa,[_0x1118cb(0x279,_0x372570._0x3ded49,_0x372570._0x69dcc0,0xc0),'--stdio'],{'cwd':_0x294bab,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x32cc91){const _0x46c3f7={_0x3fc27b:0x464,_0x5b845b:0x570,_0x3c0ee8:0x415,_0x3e6397:0x2d1,_0x38143f:0x38e,_0x22cc9b:0x25b},_0x7526af={_0x2dfbc7:0x152},_0x1c6560={_0x12355:0x41},_0x52e15a=_0x546c96[_0x444b41(_0x46c3f7._0x3fc27b,_0x46c3f7._0x5b845b,_0x46c3f7._0x3c0ee8,0x3f7)](_0x32cc91)[_0x444b41(0x348,_0x46c3f7._0x3e6397,_0x46c3f7._0x38143f,0x377)]();function _0x444b41(_0x5f1b56,_0x259cf3,_0x1639ba,_0x3a0449){return _0xe18bb0(_0x1639ba,_0x3a0449-0x189,_0x1639ba-0x54,_0x3a0449-_0x1c6560._0x12355);}function _0x1cba48(_0x3da147,_0x24b952,_0x2106d2,_0x3a9435){return _0x47b891(_0x3a9435,_0x2106d2- -0x298,_0x2106d2-_0x7526af._0x2dfbc7,_0x3a9435-0xa9);}return BUILTIN_LSP_SERVERS[_0x444b41(0x1d5,0x503,_0x46c3f7._0x22cc9b,0x3e2)](_0x27a8ba=>_0x27a8ba[_0x1cba48(0x32e,0x271,0x2a7,0x97)][_0x1cba48(0x4aa,0x18f,0x2f5,0x42c)](_0x52e15a));}function stateKey(_0x151fcd,_0x894de2){return _0x894de2+':'+_0x151fcd['id'];}function diagnosticsKeyToPath(_0x57e187){const _0x218662={_0x2a9b15:0x5ef,_0x1e9855:0x713,_0x134d61:0x705},_0x54b2a0={_0x3aef36:0x106};if(!_0x57e187['startsWith'](_0x32873d(_0x218662._0x2a9b15,_0x218662._0x1e9855,0x526,_0x218662._0x134d61)))return _0x57e187;function _0x32873d(_0x26223a,_0x235bd6,_0x37436e,_0xa13d){return _0x47b891(_0x37436e,_0x235bd6- -0x70,_0x37436e-_0x54b2a0._0x3aef36,_0xa13d-0x50);}return fileURLToPath(_0x57e187);}function nextFileVersion(_0x45960c,_0x23a312){const _0xed3c92={_0x2b39f8:0x22c},_0x122700={_0x48835b:0x353,_0x22ccea:0x162,_0x160739:0x5e},_0x46ebe6=(_0x45960c[_0x5e0934(0xc6,0x72,0x2d0,_0xed3c92._0x2b39f8)]['get'](_0x23a312)??0x1)+0x1;function _0x5e0934(_0x157bcc,_0x2a1e7d,_0x20c775,_0x3ff82f){return _0x47b891(_0x20c775,_0x157bcc- -_0x122700._0x48835b,_0x20c775-_0x122700._0x22ccea,_0x3ff82f-_0x122700._0x160739);}return _0x45960c['fileVersions']['set'](_0x23a312,_0x46ebe6),_0x46ebe6;}async function collectClientResults(_0x13b1f5){const _0xb025c5={_0x547873:0x8c},_0x111ab3={_0x5066d4:0x54,_0x1f3c54:0x1d8},_0x170981={_0x3574ea:0x238,_0x429353:0x96},_0x5e40a5=await Promise['allSettled'](_0x13b1f5);function _0x4c3cc6(_0x5e376b,_0x3245c7,_0x21ef0f,_0xab039b){return _0x47b891(_0x3245c7,_0x21ef0f- -_0x170981._0x3574ea,_0x21ef0f-0x127,_0xab039b-_0x170981._0x429353);}function _0x2b48bd(_0x480be5,_0x5df480,_0x14aa8a,_0x1059a9){return _0xe18bb0(_0x5df480,_0x1059a9-0x479,_0x14aa8a-_0x111ab3._0x5066d4,_0x1059a9-_0x111ab3._0x1f3c54);}return _0x5e40a5[_0x4c3cc6(_0xb025c5._0x547873,0x394,0x287,0x119)](_0xa65054=>_0xa65054[_0x2b48bd(0x6b8,0x7e4,0x60f,0x691)]==='fulfilled'?_0xa65054[_0x2b48bd(0x4e5,0x6ef,0x577,0x5ee)]:[]);}function createLspService(_0x55a334={}){const _0x5de231={_0x540d46:0x1c3},_0xe9fccf={_0xdaf665:0x85,_0x37e7e3:0xa9},_0x25a535={_0x4ffa0b:0x4b1,_0x2b4802:0x460,_0x2929de:0x210,_0x156ab2:0x2d2,_0x46641d:0xe0,_0x10d3aa:0x3f5,_0xcd5a96:0x4f9,_0x162f2e:0x487,_0x703fc0:0x40d,_0x5962df:0x2d2,_0x334a92:0x329,_0x10f036:0x33e,_0x5b55b2:0x2c5,_0x539077:0x2fb,_0x5e68a3:0xc3,_0x40ae0d:0x1de,_0xb6c028:0x231,_0x2b0e2b:0x351,_0x45cbd3:0x1de,_0x31f02b:0x1b8,_0x511e58:0x727,_0x38876a:0x616},_0x4e302f={_0xed909a:0x5f,_0x158b2f:0xa2},_0x982f22={_0x320188:0x1ff,_0x3537e3:0x3e6},_0x2aa466={_0x523210:0x153,_0x162a3e:0x33c},_0x3e6bc7={_0xfb8e75:0x84},_0x575c22={_0x2e4fc4:0x201,_0x27ece6:0x47,_0x4a0edd:0xa4},_0x586d55={_0x18e147:0x19f,_0xe7fa80:0x102},_0x27f89d={_0x58d120:0x1e8},_0x4bf48c={_0x157bad:0x587,_0x4f908a:0x329},_0x1ce54a={_0x177bd5:0x441},_0x24ade0={_0x45d32e:0xf6,_0x4c508d:0x308},_0x407f53={_0x815e6f:0x364,_0x4c97e5:0x32d},_0x3e3b={_0x294141:0x4a7,_0x16728c:0x4b2,_0x26c59f:0x4cc},_0x11201d={_0x4f4452:0x165,_0x174f18:0x2c8},_0x4d2990={_0x3ac37b:0x5be},_0x1d3148={_0x41061f:0xd2,_0x2a3f46:0x1f0},_0x19bb8d={_0x17a11d:0xf9,_0x3eb28e:0xe9},_0x2d897a={_0x37d072:0xcb},_0x3a3e8a={_0x8e6b5f:0x2dc},_0x4af2da={_0x3dec5b:0x153,_0x1bbf71:0x2e5,_0x946180:0x184},_0x44fdf6={_0x560d5d:0x141},_0x25c56d={_0x1e2bd3:0x3ba,_0x4ac70d:0x5c9,_0x1dbefc:0x325,_0x568139:0x50a,_0x4c9a00:0x40f,_0x265471:0x5ee,_0x5343f7:0x5ef},_0x350fa9={_0x4eb67e:0x1a7},_0x56230b={_0x510b19:0x2d5,_0x528cac:0xed,_0x2081b1:0x1b6},_0x4b201c={_0xd69e4e:0x7d0,_0x53c3d3:0x705},_0x53cf8b={_0x2b1cf8:0x33c,_0x57168b:0x4b9,_0x320e05:0x470},_0x4fff2d={_0xff1b5f:0x636,_0x4cce42:0x73b,_0x4ac84b:0x771},_0x116b46={_0x12919f:0x606,_0x3553a5:0x58b,_0x43c3a3:0x69f,_0x2efc8d:0x3b7,_0x5379de:0x94e,_0x44fa16:0x5c0,_0x27ad4b:0x3b8,_0x293604:0x246,_0x41486a:0x42c,_0x36e1da:0x2e6,_0x25f2e9:0x3d9,_0x2bf3e1:0x2db,_0x409fe7:0x558,_0xa4637c:0x44f},_0x89f28e={_0x543fa6:0x56},_0x424c74={_0xe55f4a:0x11,_0x2c4075:0x16},_0x109806={_0x10c4e8:0x1f7,_0x57cfb6:0x8a,_0x4cbf24:0xac,_0x27ca0a:0x4bf,_0x5e72b5:0x63b,_0x10fc2e:0xe1,_0x52e827:0x20f,_0x5fc882:0x230,_0x4bbef6:0x442,_0x4896ea:0x2c3,_0x474f1d:0x1f6,_0xe42d4c:0x11c},_0x5e69e2={_0x5c2b5a:0x156,_0x499566:0x177},_0x3ae672={_0x582040:0x411,_0x1ae8cf:0x6b1,_0x33f643:0x6ae,_0x460df:0x868,_0x5b94c1:0x4d6,_0x56f061:0x612,_0x1ee980:0x767,_0x5e0493:0x8e7,_0x48a634:0x5cf,_0x4efb91:0x5d8,_0x5b1f65:0x74b,_0x2e6fc2:0x612,_0x357278:0x8c6,_0x465461:0x825,_0x2af66c:0x82f,_0x3c1dcd:0x87a,_0x63c126:0x82b,_0x6dc9a8:0x8e0,_0x95567b:0x779,_0x27f020:0x9b4},_0x36d68b={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x1c305a=()=>_0x55a334[_0x2f6c36(0x21e,0x2d8,0x53d,0x32e)]!==![];async function _0x36682c(_0x44de57,_0x1ee854){const _0x1e8f58={_0x2a25c6:0x15b,_0xcfc89f:0x189},_0x599e37={_0x2ff89c:0x135,_0xb50c02:0x559},_0x3399b5=stateKey(_0x44de57,_0x1ee854),_0x983df3=_0x36d68b[_0x6d8368(-0x149,_0x109806._0x10c4e8,0xb9,0xd4)][_0x37cc2c(0x36e,0x355,0x303,0x528)](_0x52a327=>_0x52a327['serverId']===_0x44de57['id']&&_0x52a327[_0x6d8368(0x411,0x25a,0x315,0x388)]===_0x1ee854);if(_0x983df3)return _0x983df3;if(_0x36d68b[_0x6d8368(-_0x109806._0x57cfb6,0x1a9,_0x109806._0x4cbf24,0x3b)]['has'](_0x3399b5))return void 0x0;const _0x3b28aa=_0x36d68b[_0x37cc2c(0x502,_0x109806._0x27ca0a,_0x109806._0x5e72b5,0x400)][_0x6d8368(0xdb,0x147,_0x109806._0x10fc2e,_0x109806._0x52e827)](_0x3399b5);if(_0x3b28aa)return _0x3b28aa;const _0x514edf=((async()=>{const _0x5a9d51={_0xd99b04:0x60e,_0x52d0dd:0x147};function _0x25fe1c(_0x4a23b0,_0x5b3c5c,_0x5eb9fd,_0x4e5aeb){return _0x6d8368(_0x4a23b0-_0x599e37._0x2ff89c,_0x4a23b0,_0x5eb9fd-_0x599e37._0xb50c02,_0x4e5aeb-0x124);}function _0x1d748d(_0x5ed3e9,_0x2a43d7,_0x308b73,_0x4c3dbf){return _0x6d8368(_0x5ed3e9-0xc3,_0x308b73,_0x5ed3e9-_0x5a9d51._0xd99b04,_0x4c3dbf-_0x5a9d51._0x52d0dd);}try{const _0x30f473=await _0x44de57['spawn'](_0x1ee854);if(!_0x30f473)return _0x36d68b[_0x25fe1c(_0x3ae672._0x582040,_0x3ae672._0x1ae8cf,0x605,0x495)][_0x25fe1c(0x670,_0x3ae672._0x33f643,0x82b,_0x3ae672._0x460df)](_0x3399b5),void 0x0;const _0x26d700=await createLspClient({'server':_0x44de57,'root':_0x1ee854,'handle':_0x30f473}),_0x3f7317=_0x36d68b[_0x25fe1c(_0x3ae672._0x5b94c1,0x5f6,_0x3ae672._0x56f061,0x4dd)][_0x1d748d(_0x3ae672._0x1ee980,0x5d0,_0x3ae672._0x5e0493,0x7f8)](_0x27477d=>_0x27477d[_0x1d748d(0x7b2,0x5d2,0x6e6,0x82e)]===_0x44de57['id']&&_0x27477d[_0x25fe1c(0x81a,0x823,0x86e,0x8c7)]===_0x1ee854);if(_0x3f7317)return await _0x26d700[_0x25fe1c(_0x3ae672._0x48a634,0x71b,_0x3ae672._0x4efb91,0x4a1)](),_0x3f7317;return _0x36d68b[_0x25fe1c(0x618,_0x3ae672._0x5b1f65,_0x3ae672._0x2e6fc2,0x5bc)][_0x1d748d(0x57e,0x6bd,0x6fa,0x381)](_0x26d700),_0x26d700;}catch{return _0x36d68b[_0x1d748d(0x6ba,_0x3ae672._0x357278,_0x3ae672._0x465461,0x755)][_0x25fe1c(_0x3ae672._0x2af66c,_0x3ae672._0x3c1dcd,_0x3ae672._0x63c126,_0x3ae672._0x6dc9a8)](_0x3399b5),void 0x0;}finally{_0x36d68b[_0x25fe1c(_0x3ae672._0x95567b,0x8d3,0x81c,_0x3ae672._0x27f020)]['delete'](_0x3399b5);}})());_0x36d68b[_0x6d8368(_0x109806._0x5fc882,_0x109806._0x4bbef6,_0x109806._0x4896ea,0x48d)][_0x37cc2c(_0x109806._0x474f1d,0x1b0,_0x109806._0xe42d4c,0x2e2)](_0x3399b5,_0x514edf);function _0x37cc2c(_0x397c5f,_0x61ff75,_0xa83a94,_0x12d9a2){return _0x2f6c36(_0x397c5f,_0x61ff75-_0x1e8f58._0x2a25c6,_0xa83a94-_0x1e8f58._0xcfc89f,_0x61ff75-0x85);}function _0x6d8368(_0x4553df,_0x38ef36,_0x4f5627,_0xc235ac){return _0x2f6c36(_0x38ef36,_0x38ef36-0x1,_0x4f5627-_0x5e69e2._0x5c2b5a,_0x4f5627- -_0x5e69e2._0x499566);}return _0x514edf;}async function _0x217881(_0x1315e4,_0x350b5c){if(!_0x1c305a())return[];const _0x1bbf16=[];function _0x94a21d(_0x5a025c,_0x5db59b,_0x3ae64e,_0x490886){return _0x2f6c36(_0x3ae64e,_0x5db59b-0xc8,_0x3ae64e-_0x424c74._0xe55f4a,_0x5db59b-_0x424c74._0x2c4075);}function _0x135e34(_0x158256,_0x317140,_0x312723,_0x23c265){return _0x2f6c36(_0x23c265,_0x317140-0x87,_0x312723-_0x89f28e._0x543fa6,_0x317140-0x368);}for(const _0x98b740 of getServersForFile(_0x1315e4)){const _0xacc382=await _0x98b740[_0x94a21d(0x44e,0x4a2,0x643,0x38f)](_0x1315e4);if(!_0xacc382)continue;const _0x4dd213=stateKey(_0x98b740,_0xacc382);if(_0x36d68b[_0x135e34(_0x116b46._0x12919f,_0x116b46._0x3553a5,_0x116b46._0x43c3a3,_0x116b46._0x2efc8d)][_0x135e34(_0x116b46._0x5379de,0x791,0x89a,_0x116b46._0x44fa16)](_0x4dd213))continue;const _0x144b61=_0x36d68b[_0x94a21d(_0x116b46._0x27ad4b,_0x116b46._0x293604,0x2c7,_0x116b46._0x41486a)][_0x94a21d(0x450,_0x116b46._0x36e1da,_0x116b46._0x25f2e9,_0x116b46._0x2bf3e1)](_0x306ee0=>_0x306ee0['serverId']===_0x98b740['id']&&_0x306ee0[_0x94a21d(0x29b,0x4a2,0x34f,0x363)]===_0xacc382);if(_0x144b61){_0x1bbf16[_0x135e34(_0x116b46._0x409fe7,_0x116b46._0xa4637c,0x267,0x626)](_0x144b61);continue;}if(!_0x350b5c)continue;const _0x53ff60=await _0x36682c(_0x98b740,_0xacc382);if(_0x53ff60)_0x1bbf16['push'](_0x53ff60);}return _0x1bbf16;}async function _0x7d4db5(_0x228ec7,_0x45420f=![]){const _0x3ae9aa={_0x1c9aa9:0x26e,_0x367f77:0x11f,_0x418da6:0x1dc,_0x17bdb1:0x2a5,_0x321f0f:0x3be,_0x28130e:0xce,_0x448e9f:0x168,_0x4f0b71:0x2ae,_0x23e5c5:0x28d,_0x22c9c0:0x1de,_0x50ca88:0x484,_0x5c18e9:0x3c2,_0x206f75:0x598,_0x4145f1:0x275,_0x21a5ae:0x13a,_0x168693:0x286,_0x1ecae4:0x2fc,_0x224653:0x278,_0x462563:0x465,_0x370feb:0x3a6,_0x15233f:0xe7,_0x12f490:0xa6,_0x9c65bd:0x194},_0x37b13c={_0x2a2c85:0x1bc},_0x143e79={_0x31fb7d:0xba};function _0x4e8339(_0x464380,_0x401936,_0x521da2,_0x3afa37){return _0x2f6c36(_0x3afa37,_0x401936-0x91,_0x521da2-0x1e8,_0x464380-_0x143e79._0x31fb7d);}function _0x2d4b03(_0x561291,_0x5ab368,_0x2a0b6c,_0x5e4169){return _0x2f6c36(_0x5e4169,_0x5ab368-0x15d,_0x2a0b6c-0x1c7,_0x5ab368-0x3ab);}const _0x1cf8e6=await _0x217881(_0x228ec7,!![]);await Promise[_0x2d4b03(_0x4fff2d._0xff1b5f,_0x4fff2d._0x4cce42,_0x4fff2d._0x4ac84b,0x836)](_0x1cf8e6[_0x2d4b03(0x89b,0x6d7,0x59e,0x76e)](async _0x4a833e=>{function _0x118308(_0x5c2b86,_0x486e58,_0x5b9c3f,_0x738827){return _0x4e8339(_0x738827-0x95,_0x486e58-0x2d,_0x5b9c3f-0x33,_0x5c2b86);}!_0x36d68b[_0x3e55dc(_0x3ae9aa._0x1c9aa9,0x232,0x416,_0x3ae9aa._0x367f77)][_0x3e55dc(_0x3ae9aa._0x418da6,_0x3ae9aa._0x17bdb1,_0x3ae9aa._0x321f0f,0x394)](_0x4a833e[_0x3e55dc(_0x3ae9aa._0x28130e,_0x3ae9aa._0x448e9f,-0x7e,_0x3ae9aa._0x4f0b71)]+':'+_0x4a833e['root']+':'+_0x228ec7)&&(await _0x4a833e[_0x118308(0x63f,0x78b,0x671,0x614)][_0x3e55dc(0x195,0xc2,0x250,0x4c)]({'path':_0x228ec7}),_0x36d68b[_0x3e55dc(0x26e,0x12b,_0x3ae9aa._0x23e5c5,_0x3ae9aa._0x22c9c0)][_0x118308(0x411,_0x3ae9aa._0x50ca88,_0x3ae9aa._0x5c18e9,_0x3ae9aa._0x206f75)](_0x4a833e[_0x3e55dc(_0x3ae9aa._0x28130e,-0xe0,_0x3ae9aa._0x4145f1,_0x3ae9aa._0x21a5ae)]+':'+_0x4a833e[_0x3e55dc(0x23f,_0x3ae9aa._0x168693,_0x3ae9aa._0x1ecae4,0x219)]+':'+_0x228ec7));await _0x4a833e[_0x3e55dc(_0x3ae9aa._0x224653,0x3d7,_0x3ae9aa._0x462563,_0x3ae9aa._0x370feb)]['change']({'path':_0x228ec7,'version':nextFileVersion(_0x36d68b,_0x228ec7)});function _0x3e55dc(_0x7514c0,_0x2028d3,_0x49268f,_0x38542e){return _0x4e8339(_0x7514c0- -0x307,_0x2028d3-0xe1,_0x49268f-_0x37b13c._0x2a2c85,_0x49268f);}if(_0x45420f)await _0x4a833e[_0x3e55dc(_0x3ae9aa._0x15233f,-_0x3ae9aa._0x12f490,_0x3ae9aa._0x9c65bd,0x149)]({'path':_0x228ec7});}));}async function _0x30ef4c(_0x489805){const _0x3ee646={_0x245e4c:0x4e,_0x11d6fa:0x2e,_0x2cfd9c:0x222};function _0x4064a0(_0x52eb5f,_0x4f5542,_0xc744ef,_0x181cd8){return _0x2f6c36(_0xc744ef,_0x4f5542-_0x3ee646._0x245e4c,_0xc744ef-_0x3ee646._0x11d6fa,_0x52eb5f-_0x3ee646._0x2cfd9c);}return await _0x7d4db5(_0x489805[_0x4064a0(_0x53cf8b._0x2b1cf8,_0x53cf8b._0x57168b,0x53a,_0x53cf8b._0x320e05)],![]),_0x217881(_0x489805['file'],![]);}async function _0xa8652d(_0x17ee0f){const _0x507ca1={_0x2c31e8:0xf3};function _0x568555(_0x34e3b2,_0x19d212,_0x263c88,_0x50eedf){return _0x2f6c36(_0x263c88,_0x19d212-0x166,_0x263c88-0x27,_0x19d212- -0x152);}const _0x1354f2=await _0x30ef4c(_0x17ee0f);function _0x4e666b(_0x38a4df,_0x3aface,_0x3f95fe,_0x3274ed){return _0x2f6c36(_0x3aface,_0x3aface-0x10a,_0x3f95fe-_0x507ca1._0x2c31e8,_0x3274ed-0x3d9);}return collectClientResults(_0x1354f2[_0x4e666b(0x58f,_0x4b201c._0xd69e4e,0x73f,_0x4b201c._0x53c3d3)](_0x5a62a3=>_0x5a62a3[_0x4e666b(0x88a,0x805,0x931,0x829)]['prepareCallHierarchy'](_0x17ee0f)));}function _0x2f6c36(_0x4d94a7,_0x34e7c9,_0x116096,_0x4e375c){return _0x47b891(_0x4d94a7,_0x4e375c- -_0x56230b._0x510b19,_0x116096-_0x56230b._0x528cac,_0x4e375c-_0x56230b._0x2081b1);}return{'isEnabled':_0x1c305a,async 'hasClients'(_0x3ae549){const _0x4a9f0a={_0x2f2052:0x4c9};function _0x5b7f77(_0x4cdd38,_0x298cf5,_0x97c08c,_0x77f131){return _0x2f6c36(_0x77f131,_0x298cf5-0x74,_0x97c08c-0x110,_0x4cdd38-_0x4a9f0a._0x2f2052);}function _0x5a0b5f(_0x2f1ce5,_0x568652,_0x2f8352,_0x39ac80){return _0x2f6c36(_0x2f1ce5,_0x568652-0x41,_0x2f8352-0x157,_0x39ac80-_0x350fa9._0x4eb67e);}return(await _0x217881(_0x3ae549,![]))[_0x5a0b5f(_0x25c56d._0x1e2bd3,_0x25c56d._0x4ac70d,_0x25c56d._0x1dbefc,_0x25c56d._0x568139)]>0x0||getServersForFile(_0x3ae549)[_0x5a0b5f(_0x25c56d._0x4c9a00,_0x25c56d._0x265471,_0x25c56d._0x5343f7,_0x25c56d._0x568139)]>0x0;},'touchFile':_0x7d4db5,async 'diagnostics'(){const _0x1248ce={_0xc8b4c3:0xd4,_0x3422fc:0x1c9,_0x404d75:0xb5},_0x58d98a={};function _0x957f0d(_0x4f56f3,_0x5c75fe,_0x52ddaf,_0x47855c){return _0x2f6c36(_0x4f56f3,_0x5c75fe-_0x1248ce._0xc8b4c3,_0x52ddaf-_0x1248ce._0x3422fc,_0x52ddaf-_0x1248ce._0x404d75);}for(const _0x366232 of _0x36d68b[_0x957f0d(0x25e,_0x4af2da._0x3dec5b,_0x4af2da._0x1bbf71,_0x4af2da._0x946180)]){for(const [_0x4fa91d,_0x200a73]of _0x366232[_0x957f0d(0x553,0x2f0,0x4f3,0x3fd)]){_0x58d98a[diagnosticsKeyToPath(_0x4fa91d)]=_0x200a73;}}function _0x30a588(_0x6fa949,_0x5e139e,_0x796268,_0x179cbb){return _0x2f6c36(_0x179cbb,_0x5e139e-0x162,_0x796268-0x1a1,_0x5e139e- -_0x44fdf6._0x560d5d);}return _0x58d98a;},async 'diagnosticsForFile'(_0x51e567){await _0x7d4db5(_0x51e567,!![]);const _0x4e453d=[];for(const _0x1c149d of await _0x217881(_0x51e567,![])){for(const [_0xb90dae,_0x1ba3f6]of _0x1c149d[_0x4f8dc3(0x162,_0x2d897a._0x37d072,0x13c,0x168)]){if(diagnosticsKeyToPath(_0xb90dae)===_0x51e567)_0x4e453d['push'](..._0x1ba3f6);}}function _0x4f8dc3(_0x401992,_0xb19ed,_0x413285,_0x3f57de){return _0x2f6c36(_0x413285,_0xb19ed-0x152,_0x413285-0x87,_0x401992- -_0x3a3e8a._0x8e6b5f);}return _0x4e453d;},async 'definition'(_0x292116){const _0x1b6b85={_0x4640cd:0x76,_0x1e8073:0x1f6},_0x40b586={_0x3b9db4:0x7,_0x33e44f:0x65};function _0x103ca6(_0x4e0161,_0x596d4e,_0x499327,_0x299f66){return _0x2f6c36(_0x4e0161,_0x596d4e-_0x40b586._0x3b9db4,_0x499327-_0x40b586._0x33e44f,_0x299f66- -0x243);}function _0x355035(_0x526732,_0x53b4a6,_0xed46a1,_0x5cd1a2){return _0x2f6c36(_0x53b4a6,_0x53b4a6-_0x1b6b85._0x4640cd,_0xed46a1-0x117,_0x5cd1a2- -_0x1b6b85._0x1e8073);}return collectClientResults((await _0x30ef4c(_0x292116))[_0x103ca6(_0x19bb8d._0x17a11d,0x14c,0xf0,_0x19bb8d._0x3eb28e)](_0x5f1b97=>_0x5f1b97[_0x355035(0x79,0x1d4,0x1e8,0x25a)][_0x355035(0x3c4,0x31d,0x127,0x24f)](_0x292116)));},async 'references'(_0x1a44f7){const _0x3e3fea={_0x72fab:0x9f,_0x33e588:0x18f};function _0x27aca4(_0x58f027,_0x2b5b31,_0x195c6c,_0xc5c1e0){return _0x2f6c36(_0x2b5b31,_0x2b5b31-0xff,_0x195c6c-_0x3e3fea._0x72fab,_0x195c6c-_0x3e3fea._0x33e588);}function _0x271160(_0x27528b,_0x5ad6fe,_0x58a308,_0x30110e){return _0x2f6c36(_0x27528b,_0x5ad6fe-0x42,_0x58a308-_0x1d3148._0x41061f,_0x58a308-_0x1d3148._0x2a3f46);}return collectClientResults((await _0x30ef4c(_0x1a44f7))[_0x27aca4(0x587,_0x4d2990._0x3ac37b,0x4bb,0x6a5)](_0x53c657=>_0x53c657['request'][_0x271160(0x511,0x523,0x67e,0x80b)](_0x1a44f7)));},async 'hover'(_0x5003c9){const _0x81f573={_0x1a2b3e:0x4b,_0x4535f1:0x114};function _0x560e59(_0x187da8,_0xa90ea0,_0xe6c372,_0x510565){return _0x2f6c36(_0xa90ea0,_0xa90ea0-0x9,_0xe6c372-_0x81f573._0x1a2b3e,_0xe6c372-_0x81f573._0x4535f1);}function _0x5ad832(_0xbd5ddc,_0x40bd6d,_0x58f656,_0x29c1c9){return _0x2f6c36(_0xbd5ddc,_0x40bd6d-0x1ca,_0x58f656-_0x11201d._0x4f4452,_0x40bd6d-_0x11201d._0x174f18);}const _0x28bb9e=await Promise['allSettled']((await _0x30ef4c(_0x5003c9))['map'](_0x12f623=>_0x12f623[_0x560e59(0x604,0x476,0x564,0x753)][_0x5ad832(0x5fa,0x717,0x8d3,0x55c)](_0x5003c9)));return _0x28bb9e[_0x5ad832(_0x3e3b._0x294141,_0x3e3b._0x16728c,_0x3e3b._0x26c59f,0x508)](_0x2be16f=>_0x2be16f[_0x560e59(0x4a1,0x538,0x4e8,0x352)]===_0x5ad832(0x254,0x40e,0x433,0x580)&&_0x2be16f['value']?[_0x2be16f['value']]:[]);},async 'documentSymbol'(_0x3c33fd){const _0x26ed57={_0x4516d6:0x11};function _0x4b6113(_0x29adb3,_0x49fc76,_0x22016f,_0x1fe5af){return _0x2f6c36(_0x1fe5af,_0x49fc76-0x19b,_0x22016f-0x17b,_0x29adb3- -0x28);}function _0x584519(_0x461836,_0x4abc05,_0x44d38a,_0x1e26f9){return _0x2f6c36(_0x1e26f9,_0x4abc05-_0x26ed57._0x4516d6,_0x44d38a-0x1c4,_0x461836-0x38);}return await _0x7d4db5(_0x3c33fd,![]),collectClientResults((await _0x217881(_0x3c33fd,![]))[_0x584519(_0x407f53._0x815e6f,0x1f6,0x52e,_0x407f53._0x4c97e5)](_0x19b52e=>_0x19b52e[_0x584519(0x488,0x664,0x299,0x517)][_0x4b6113(0x3ee,0x365,0x324,0x393)](_0x3c33fd)));},async 'workspaceSymbol'(_0x5d7029){function _0x20485c(_0x1d09b1,_0xf1b25e,_0x45b171,_0x29f071){return _0x2f6c36(_0x29f071,_0xf1b25e-0x4,_0x45b171-0xc,_0x1d09b1-0xd0);}function _0x151802(_0x4f1d51,_0x276040,_0x328c97,_0x236dd6){return _0x2f6c36(_0x276040,_0x276040-_0x24ade0._0x45d32e,_0x328c97-0x1f1,_0x4f1d51-_0x24ade0._0x4c508d);}return collectClientResults(_0x36d68b[_0x20485c(0x300,_0x1ce54a._0x177bd5,0x4d0,0x225)]['map'](_0x2c14bd=>_0x2c14bd['request'][_0x151802(0x525,0x404,0x4b5,0x3e3)](_0x5d7029)));},async 'implementation'(_0x4c8d83){const _0x4a33b0={_0x45d548:0xd6,_0x3a46c9:0x192,_0x211c44:0x244},_0x568735={_0x116d59:0x18c};function _0x22b390(_0x54026e,_0x58b555,_0x27d19b,_0x242df5){return _0x2f6c36(_0x27d19b,_0x58b555-0x11b,_0x27d19b-0x13a,_0x58b555-_0x568735._0x116d59);}function _0x383f8b(_0x4a1570,_0x3acee2,_0x18300a,_0x7b9567){return _0x2f6c36(_0x3acee2,_0x3acee2-_0x4a33b0._0x45d548,_0x18300a-_0x4a33b0._0x3a46c9,_0x18300a- -_0x4a33b0._0x211c44);}return collectClientResults((await _0x30ef4c(_0x4c8d83))[_0x22b390(0x3d1,0x4b8,_0x4bf48c._0x157bad,_0x4bf48c._0x4f908a)](_0x413b88=>_0x413b88[_0x383f8b(0xb5,0x309,0x20c,0x12e)]['implementation'](_0x4c8d83)));},async 'prepareCallHierarchy'(_0x81d7c1){return _0xa8652d(_0x81d7c1);},async 'incomingCalls'(_0x31fd46){const _0x55bf19=await _0xa8652d(_0x31fd46);function _0x5405f6(_0x366a97,_0x5612c5,_0x4ec53,_0x453be7){return _0x2f6c36(_0x5612c5,_0x5612c5-_0x27f89d._0x58d120,_0x4ec53-0xc6,_0x366a97-0xda);}const _0x537595=await _0x30ef4c(_0x31fd46);function _0x3ed378(_0x18dbde,_0x56e363,_0x11c59b,_0x4d19e8){return _0x2f6c36(_0x4d19e8,_0x56e363-0x1b4,_0x11c59b-_0x586d55._0x18e147,_0x18dbde- -_0x586d55._0xe7fa80);}return collectClientResults(_0x537595[_0x3ed378(0xe8,_0x575c22._0x2e4fc4,-_0x575c22._0x27ece6,_0x575c22._0x4a0edd)](_0x2deabb=>_0x55bf19[_0x3ed378(0x22a,0x4e,0x182,0x366)](_0x3918da=>_0x2deabb['request'][_0x5405f6(0x26d,0x2f5,0xd9,0x99)](_0x3918da))));},async 'outgoingCalls'(_0x5ef3e5){function _0x25e130(_0x3ed4cf,_0x5ad2bc,_0x5278fb,_0x5503f1){return _0x2f6c36(_0x3ed4cf,_0x5ad2bc-0x1aa,_0x5278fb-_0x3e6bc7._0xfb8e75,_0x5503f1-0x1fc);}function _0x492f4c(_0x596fe5,_0x2dd3c5,_0x5cd2be,_0xab0a94){return _0x2f6c36(_0x2dd3c5,_0x2dd3c5-_0x2aa466._0x523210,_0x5cd2be-0x12e,_0x5cd2be-_0x2aa466._0x162a3e);}const _0x57f73f=await _0xa8652d(_0x5ef3e5),_0x217970=await _0x30ef4c(_0x5ef3e5);return collectClientResults(_0x217970[_0x25e130(0x4fd,0x58a,_0x982f22._0x320188,_0x982f22._0x3537e3)](_0x49f3a4=>_0x57f73f[_0x25e130(0x516,0x368,0x57f,0x528)](_0xb2631=>_0x49f3a4[_0x492f4c(0x631,0x831,0x78c,0x68a)][_0x25e130(0x711,0x691,0x41a,0x521)](_0xb2631))));},async 'shutdown'(){if(_0x36d68b['shutdownStarted'])return;_0x36d68b['shutdownStarted']=!![],await Promise[_0xfd216a(0x44d,0x2c4,_0x25a535._0x4ffa0b,0x534)](_0x36d68b[_0x1704c0(_0x25a535._0x2b4802,_0x25a535._0x2929de,_0x25a535._0x156ab2,_0x25a535._0x46641d)][_0xfd216a(_0x25a535._0x10d3aa,_0x25a535._0xcd5a96,_0x25a535._0x162f2e,0x68c)](_0x54ebc1=>_0x54ebc1[_0x1704c0(0x2e4,0x1eb,0x298,0x3d4)]())),_0x36d68b[_0x1704c0(_0x25a535._0x703fc0,0x14e,_0x25a535._0x5962df,0xe5)]=[];function _0xfd216a(_0x53ef73,_0x188636,_0x5a7a80,_0x5daa19){return _0x2f6c36(_0x53ef73,_0x188636-0x9e,_0x5a7a80-0xde,_0x5a7a80-0x15b);}_0x36d68b['spawning'][_0x1704c0(0x3b9,_0x25a535._0x334a92,0x1de,0x2ef)](),_0x36d68b[_0x1704c0(0x355,_0x25a535._0x10f036,_0x25a535._0x5b55b2,0x487)][_0x1704c0(_0x25a535._0x539077,_0x25a535._0x5e68a3,0x1de,_0x25a535._0x40ae0d)](),_0x36d68b[_0x1704c0(_0x25a535._0xb6c028,0x2b4,0x1e6,0x298)][_0x1704c0(0x23,_0x25a535._0x2b0e2b,_0x25a535._0x45cbd3,_0x25a535._0x31f02b)]();function _0x1704c0(_0x17bd41,_0x3b6feb,_0x4589f6,_0x35ddf4){return _0x2f6c36(_0x3b6feb,_0x3b6feb-_0x4e302f._0xed909a,_0x4589f6-0x12f,_0x4589f6-_0x4e302f._0x158b2f);}_0x36d68b[_0xfd216a(_0x25a535._0x511e58,0x501,_0x25a535._0x38876a,0x492)]['clear']();},'status'(){function _0x3d4cfc(_0x3cd15d,_0x34151e,_0x95738c,_0x1efe1d){return _0x2f6c36(_0x95738c,_0x34151e-0xa7,_0x95738c-_0xe9fccf._0xdaf665,_0x1efe1d- -_0xe9fccf._0x37e7e3);}return{'connectedClients':_0x36d68b['clients'][_0x3d4cfc(0xd0,_0x5de231._0x540d46,0x42a,0x2ba)]};}};}function getCommand(_0x5ec745){const _0x33ca03={_0x1eeec4:0x1c7,_0x44edf9:0x10b,_0x4c5f19:0x5d1,_0x398d2b:0x628,_0x2c13ad:0x3f9,_0x1f30bd:0x707,_0x2724b2:0x4d5},_0x56cf4a={_0x170b8e:0x269},_0x41555a={_0x1e555d:0x519};function _0x46208d(_0x2840fb,_0x49c292,_0x136a74,_0x1407ce){return _0x47b891(_0x136a74,_0x2840fb- -_0x41555a._0x1e555d,_0x136a74-0x3b,_0x1407ce-0x1bd);}function _0x18b2b9(_0x1a1d2d,_0x228492,_0x33e1ff,_0x32d561){return _0xe18bb0(_0x1a1d2d,_0x228492-_0x56cf4a._0x170b8e,_0x33e1ff-0xcf,_0x32d561-0x1aa);}if(_0x5ec745&&typeof _0x5ec745===_0x46208d(_0x33ca03._0x1eeec4,_0x33ca03._0x44edf9,0x1c5,0x398)&&!Array['isArray'](_0x5ec745)&&typeof _0x5ec745[_0x18b2b9(_0x33ca03._0x4c5f19,0x53d,_0x33ca03._0x398d2b,_0x33ca03._0x2c13ad)]==='string')return _0x5ec745[_0x18b2b9(_0x33ca03._0x1f30bd,0x53d,_0x33ca03._0x2724b2,0x3b0)];return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0xe18bb0(0x118,0x183,0x1b5,0x255),_0x47b891(0x624,0x489,0x378,0x38a),_0xe18bb0(0x123,0xc1,0x2f,0x13c),_0xe18bb0(-0x23b,-0x95,-0x198,-0x244),_0x47b891(0x339,0x403,0x3d1,0x441),_0xe18bb0(0x2d3,0xca,-0xf2,-0x11c),_0xe18bb0(0x249,0x64,-0x11,-0x10a),_0x47b891(0x490,0x4f0,0x4ae,0x5d1),_0xe18bb0(0x2e6,0x16d,0x1bb,0x37a),_0xe18bb0(-0x16,0x9e,-0x154,-0xeb),_0xe18bb0(-0x71,0x15,-0x5e,0xdd),_0xe18bb0(0x43a,0x29b,0x26a,0x142),'src/agent/agent.test.ts',_0xe18bb0(0x3c8,0x25b,0x111,0x17d),'src/formats/provider-adapters.test.ts',_0xe18bb0(-0x2a5,-0x107,-0x147,-0x260)][_0x47b891(0x3bb,0x573,0x5a1,0x740)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x47b891(0x3c7,0x3a8,0x311,0x4dd),'description':_0xe18bb0(-0x21e,-0x2d,-0xfb,-0xf6),'input_schema':{'type':_0xe18bb0(0x259,0x24f,0x1eb,0x336),'properties':{'command':{'type':'string'}},'required':[_0x47b891(0x80c,0x765,0x91f,0x69a)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0xd24a9d){return{'output':_0xd24a9d,'structured':{'value':_0xd24a9d}};}function createUnknownToolResult(_0x336533){const _0x4bac9b={_0x224add:0x2e0,_0x5d1af2:0x3e7,_0x2112fd:0x25c,_0x3af441:0x3d1,_0x2e7db9:0x2cc,_0x2c0b31:0x41c,_0x43b5fb:0x3f9,_0x4a8609:0x15a,_0x40e2ef:0x139,_0x509b4e:0x20a},_0x488b20={_0x360d05:0x4ab,_0x1d59a6:0x11b},_0x39d947={_0x4324be:0x19d};function _0x145c32(_0x33ce24,_0x54f5c5,_0x10b0af,_0x303c8c){return _0x47b891(_0x33ce24,_0x303c8c- -0x1dd,_0x10b0af-_0x39d947._0x4324be,_0x303c8c-0x139);}function _0x187223(_0x2b257d,_0x28da53,_0x13c34e,_0x13f632){return _0xe18bb0(_0x28da53,_0x13c34e-_0x488b20._0x360d05,_0x13c34e-0xdb,_0x13f632-_0x488b20._0x1d59a6);}return{'callId':_0x336533['id'],'toolName':_0x336533[_0x187223(_0x4bac9b._0x224add,0x24a,0x401,_0x4bac9b._0x5d1af2)],'status':_0x187223(0x358,_0x4bac9b._0x2112fd,_0x4bac9b._0x3af441,_0x4bac9b._0x2e7db9),'output':_0x145c32(0x2e0,0x5f3,_0x4bac9b._0x2c0b31,_0x4bac9b._0x43b5fb)+_0x336533[_0x145c32(_0x4bac9b._0x4a8609,_0x4bac9b._0x40e2ef,0x4c,_0x4bac9b._0x509b4e)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x1d1249,_0x482000){const _0x1d2e04={_0x8ba36b:0x19e,_0x2ffb2a:0x36c,_0x2fc423:0x53f,_0x3e2132:0x610},_0x44cb93={_0x49b9e5:0x1b5},_0x34c44c={_0x2bbda9:0xa0,_0x137c2b:0x12d};function _0x814134(_0x2b5c1f,_0x3d5e66,_0x385b83,_0x236cfd){return _0xe18bb0(_0x2b5c1f,_0x385b83-0x320,_0x385b83-_0x34c44c._0x2bbda9,_0x236cfd-_0x34c44c._0x137c2b);}function _0x2b1059(_0x254ed2,_0x5b64af,_0x17d139,_0xcdf35e){return _0xe18bb0(_0x254ed2,_0xcdf35e-0x549,_0x17d139-0x1d1,_0xcdf35e-_0x44cb93._0x49b9e5);}return{'callId':_0x1d1249['id'],'toolName':_0x1d1249[_0x814134(_0x1d2e04._0x8ba36b,_0x1d2e04._0x2ffb2a,0x276,0xbf)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x1d1249[_0x2b1059(_0x1d2e04._0x2fc423,0x56f,_0x1d2e04._0x3e2132,0x4ee)]),'exitCode':0x0},'chunks':[_0x482000],'meta':createMeta()};}function createMockToolRuntime(){const _0x3d2fa0={_0x295448:0x142,_0xe2b54f:0xe9,_0x23c457:0x31d,_0x5508cb:0x3ed},_0x3b16c0={_0x54e9d4:0x249,_0x5f0a3a:0xca},_0x535c00=async(_0x3390da,_0x1b2318)=>{function _0x9cf348(_0x33f911,_0x3293f8,_0x141333,_0xf7801c){return _0x678a(_0x141333- -0x2e9,_0x3293f8);}function _0x32ec96(_0x6a8b20,_0x1ecba9,_0x5bead8,_0x5e2eca){return _0x678a(_0x1ecba9-0x221,_0x6a8b20);}if(_0x3390da[_0x32ec96(0x33a,0x427,_0x3b16c0._0x54e9d4,0x3a2)]!==_0x9cf348(-0x7a,0x60,-0x122,-_0x3b16c0._0x5f0a3a))return createUnknownToolResult(_0x3390da);const _0x55b96b=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x3390da,_0x55b96b);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x399dde,_0x4de35b){const _0x29e3a5={_0x29caaa:0x1e6};function _0xdbe74d(_0x58928e,_0x2c5a68,_0x238706,_0x1f9b7e){return _0x678a(_0x58928e- -_0x29e3a5._0x29caaa,_0x238706);}function _0x1b9e5f(_0x13c623,_0x50e99c,_0x1c2c62,_0xd0134){return _0x678a(_0xd0134-0x23,_0x13c623);}return await Promise[_0xdbe74d(0x29e,0x257,_0x3d2fa0._0x295448,_0x3d2fa0._0xe2b54f)](_0x399dde[_0xdbe74d(0x23a,_0x3d2fa0._0x23c457,0x3da,_0x3d2fa0._0x5508cb)](async _0x41a8bf=>{return await _0x535c00(_0x41a8bf,_0x4de35b);}));},async 'execute'(_0x3909f8,_0x49520e){return await _0x535c00(_0x3909f8,_0x49520e);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x232551={_0x56fdd3:0x647,_0x28fd3a:0x443,_0x189e9b:0x430,_0x42708c:0x501},_0x2985c3={_0x1a8f4c:0xaf};delegatedRunCounter+=0x1;function _0x234981(_0x57f906,_0x57c157,_0x2050fa,_0x5cf00b){return _0x47b891(_0x2050fa,_0x5cf00b- -_0x2985c3._0x1a8f4c,_0x2050fa-0x89,_0x5cf00b-0x9c);}return _0x234981(_0x232551._0x56fdd3,_0x232551._0x28fd3a,_0x232551._0x189e9b,_0x232551._0x42708c)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x3cf506,_0x12a144){const _0x594f28={_0xcc098e:0x1ef,_0x51a98a:0x6b};function _0xabcc0f(_0x1603df,_0x51df8a,_0x18a2e1,_0x29d37a){return _0xe18bb0(_0x51df8a,_0x1603df-0x3c0,_0x18a2e1-_0x594f28._0xcc098e,_0x29d37a-_0x594f28._0x51a98a);}return typeof _0x3cf506===_0xabcc0f(0x3a8,0x335,0x5af,0x3f8)?await _0x3cf506(_0x12a144):_0x3cf506;}function awaitWithAbort(_0x27edb1,_0xc8b9b4){const _0x4942c0={_0x474629:0x6d2,_0x5b0964:0x77d,_0x27838a:0x5f3};return throwIfAborted(_0xc8b9b4),new Promise((_0x26f4fe,_0x215101)=>{const _0x17926f={_0x4b97f6:0x2f2};function _0x23eac7(_0x46650e,_0x165999,_0x21ea09,_0x390613){return _0x678a(_0x165999-_0x17926f._0x4b97f6,_0x46650e);}let _0x32451d=![];const _0x3f6d70=addAbortListener(_0xc8b9b4,()=>{if(_0x32451d)return;_0x32451d=!![],_0x215101(toAbortError(_0xc8b9b4['reason']));});_0x27edb1[_0x23eac7(_0x4942c0._0x474629,_0x4942c0._0x5b0964,0x848,_0x4942c0._0x27838a)](_0x185bab=>{if(_0x32451d)return;_0x32451d=!![],_0x3f6d70(),_0x26f4fe(_0x185bab);},_0x2bd04a=>{if(_0x32451d)return;_0x32451d=!![],_0x3f6d70(),_0x215101(_0x2bd04a);});});}function getDelegatedAgentDefinition(_0x10ef22,_0xb5c7cb){const _0x11034e={_0x3e03fc:0x326,_0x5b782d:0x312},_0x180b66={_0x50288e:0x2d2,_0x5f3129:0x18d};function _0x13213e(_0x7200c1,_0x18b04c,_0x1b30c0,_0x497a2b){return _0x47b891(_0x18b04c,_0x7200c1- -_0x180b66._0x50288e,_0x1b30c0-_0x180b66._0x5f3129,_0x497a2b-0x13f);}return _0x10ef22[_0x13213e(0x246,_0x11034e._0x3e03fc,_0x11034e._0x5b782d,0x35)]?.[_0xb5c7cb];}function createRunSummary(_0x588909){const _0x2a5d53={_0x28a738:0x53,_0x2ff3e0:0x2f,_0x6d180a:0x3f9,_0x34a355:0x4dc,_0x10d4e1:0x4fe,_0x39f74b:0x609,_0x577e89:0x50c,_0xa54dcc:0x4e3,_0x1e9a60:0xa4,_0x31ff00:0x6a,_0x197760:0x1f8,_0x1668f2:0xd6,_0x160d7b:0x1b4,_0x4bddce:0x245,_0x97c110:0x3cb,_0x414103:0x270,_0x51bc2d:0x1b6,_0x5b4563:0x348},_0x3d068f={_0x367ce6:0x88};function _0x145e00(_0x219b35,_0x4a74c2,_0x5897ff,_0x177740){return _0xe18bb0(_0x177740,_0x5897ff-0x2f,_0x5897ff-0xf2,_0x177740-0xe9);}function _0x1063d8(_0x597ab3,_0x1346fe,_0x218763,_0xf8ddcb){return _0xe18bb0(_0x218763,_0x597ab3-0x3f1,_0x218763-0x9f,_0xf8ddcb-_0x3d068f._0x367ce6);}return{'runId':_0x588909[_0x145e00(_0x2a5d53._0x28a738,-0x11a,-_0x2a5d53._0x2ff3e0,-0x221)],'agentId':_0x588909[_0x1063d8(0x556,0x6d6,0x52e,_0x2a5d53._0x6d180a)],..._0x588909[_0x1063d8(0x4dc,0x6a6,0x352,0x3d3)]!==void 0x0?{'sessionId':_0x588909[_0x1063d8(_0x2a5d53._0x34a355,_0x2a5d53._0x10d4e1,0x3a7,0x6a2)]}:{},'status':_0x588909[_0x1063d8(_0x2a5d53._0x39f74b,_0x2a5d53._0x577e89,0x6e1,_0x2a5d53._0xa54dcc)],'parentSessionId':_0x588909['parentSessionId'],..._0x588909[_0x1063d8(0x391,0x2fa,0x1a7,0x465)]!==void 0x0?{'originToolCallId':_0x588909['originToolCallId']}:{},..._0x588909[_0x145e00(-_0x2a5d53._0x1e9a60,0x4d,_0x2a5d53._0x31ff00,_0x2a5d53._0x197760)]!==void 0x0?{'errorMessage':_0x588909[_0x145e00(_0x2a5d53._0x1668f2,_0x2a5d53._0x160d7b,_0x2a5d53._0x31ff00,_0x2a5d53._0x4bddce)]}:{},..._0x588909['result']?.[_0x145e00(0x434,_0x2a5d53._0x97c110,_0x2a5d53._0x414103,_0x2a5d53._0x51bc2d)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x588909[_0x1063d8(_0x2a5d53._0x5b4563,0x22d,0x3d1,0x46f)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x4994b0,_0x35879f){const _0x5d72b6={_0xb24d5f:0x2ec,_0x4506b0:0x4eb},_0x3a0670={_0x3da2f4:0x96},_0x1e60a9=createRunSummary(_0x4994b0);function _0x30033b(_0x53184b,_0x189750,_0x4dd245,_0x2c0e15){return _0x47b891(_0x189750,_0x53184b- -0x34c,_0x4dd245-_0x3a0670._0x3da2f4,_0x2c0e15-0xa0);}const _0x162cbc=_0x1e60a9['finalMessageText'];return createToolOutput(typeof _0x162cbc==='string'&&_0x162cbc[_0x30033b(_0x5d72b6._0xb24d5f,0xf4,0x2b1,_0x5d72b6._0x4506b0)]>0x0?_0x162cbc:_0x35879f,_0x1e60a9);}function getRunTerminalErrorMessage(_0x3ec318){const _0x21bbb5={_0x1bb6a1:0x190,_0x2d51b2:0x200,_0x49e999:0xbe,_0x59efd9:0xb3,_0x56f6e5:0x4ab,_0x4158c0:0x20c,_0xcd342f:0x11c,_0x1a575e:0x287},_0x127375={_0x27c08b:0x42c,_0x5d37a4:0x6c},_0x37cc0d={_0xbd5888:0x1c5},_0x5b1987=_0x3ec318?.[_0x45e4ef(0x70,_0x21bbb5._0x1bb6a1,_0x21bbb5._0x2d51b2,0x2f8)][_0x29a3a9(0xa1,-_0x21bbb5._0x49e999,_0x21bbb5._0x59efd9,-0x85)]['at'](-0x1);if(_0x5b1987?.['status']===_0x29a3a9(-0x75,0x143,0x12b,-0x11f)&&_0x5b1987[_0x45e4ef(_0x21bbb5._0x56f6e5,0x476,0x37c,0x460)]['trim']()[_0x29a3a9(_0x21bbb5._0x4158c0,_0x21bbb5._0x49e999,0x1f1,_0x21bbb5._0xcd342f)]>0x0)return _0x5b1987[_0x29a3a9(_0x21bbb5._0x1a575e,0x243,0x341,0x228)];function _0x45e4ef(_0x18de0d,_0x3700fd,_0x2e1aeb,_0x135650){return _0xe18bb0(_0x18de0d,_0x2e1aeb-0x15a,_0x2e1aeb-0x155,_0x135650-_0x37cc0d._0xbd5888);}function _0x29a3a9(_0x3634e1,_0x51d6da,_0x3b7eea,_0x2790db){return _0x47b891(_0x51d6da,_0x3634e1- -_0x127375._0x27c08b,_0x3b7eea-_0x127375._0x5d37a4,_0x2790db-0x1d5);}return void 0x0;}function formatAbortedRunMessage(_0xe00397,_0x475da3){const _0x13da4a={_0x53a240:0x29b,_0x33249f:0x302,_0x4b98a3:0x406,_0x55b95c:0x2c0,_0x42c929:0x427,_0x445493:0x111,_0x27673a:0x37c},_0x46a4f4={_0x41991a:0x378,_0x352af2:0xc8};function _0x329c33(_0x5512c3,_0x593a2a,_0x397c78,_0x581c7e){return _0x47b891(_0x593a2a,_0x397c78- -_0x46a4f4._0x41991a,_0x397c78-_0x46a4f4._0x352af2,_0x581c7e-0x6);}function _0x3b8d36(_0x334978,_0x430b0a,_0x316c2d,_0xc44fc5){return _0x47b891(_0xc44fc5,_0x430b0a- -0x106,_0x316c2d-0x136,_0xc44fc5-0x1c4);}const _0x33b95d=_0x329c33(_0x13da4a._0x53a240,0x10b,_0x13da4a._0x33249f,0x3b7)+_0xe00397+'\x20was\x20aborted.';if(!_0x475da3||_0x475da3['trim']()[_0x329c33(_0x13da4a._0x4b98a3,0xf6,_0x13da4a._0x55b95c,_0x13da4a._0x42c929)]===0x0||_0x475da3===_0x33b95d)return _0x33b95d;return _0x33b95d+_0x329c33(0x382,_0x13da4a._0x445493,0x2a8,_0x13da4a._0x27673a)+_0x475da3;}function createAssignTaskTool(_0x267c06){const _0x5aa9e6={_0x2982f4:0x37c,_0x1699b0:0x5a2,_0x1c21b9:0x4be,_0x42cfdc:0x5c8,_0x400b40:0x5b5,_0x37dfc8:0x271,_0x53db9d:0x426,_0x18b817:0x18f,_0x3f2e5d:0x97,_0x2bd166:0x2b3,_0x447298:0x422,_0x21a385:0x40c,_0x4e0584:0x60f,_0x4ca3c5:0x3f1,_0xffea25:0x497,_0x1e3b32:0x76,_0x5773dc:0x196,_0x43892f:0x10,_0x139e1b:0x261,_0x59f16e:0x100,_0xc4ac1e:0x6d},_0x5b43c4={_0x269080:0x59d,_0x2f31e7:0x6de,_0x41d1e9:0x816,_0x14175e:0x5b1,_0xb7d047:0x5ea,_0xfd9d3e:0x885,_0x302988:0x6a2,_0x8df865:0x650,_0x4ce478:0x706,_0x48939f:0x72b,_0x5de76d:0x8f1,_0x5dd486:0x8d4,_0x69f0d0:0x6de,_0x4a0813:0x27a,_0x4328dd:0x470,_0x6f8b35:0x5a1,_0xe7fe5d:0x4d9,_0x192e4:0x715,_0x1c0644:0x5d0,_0x3235a7:0x5a0,_0x5b737c:0x7c5,_0x3de2cb:0x725,_0x6b7f5b:0x8ea,_0x4d1856:0x873,_0x288a5f:0x7d8,_0x18cf8d:0x6da,_0x31952e:0x68a,_0x19a4f4:0x5b6,_0x4a62b8:0x606,_0x4ba9e6:0x71d,_0x17c192:0x4b7,_0x52ddaa:0x509,_0x2c288a:0x664,_0x897ce6:0x67f,_0x177445:0x3dc,_0x575b2e:0x37f,_0x230b34:0x56b,_0x11a5d3:0x35a,_0x5a7e7d:0x292,_0x1257a0:0x59a,_0x162d4f:0x237,_0x5a91e0:0x321,_0x54cab7:0x3d4,_0x14c0ae:0x4b7,_0x5bd23c:0x470,_0x23dc97:0x523,_0x28d242:0x658,_0x40e0ae:0x6b4,_0x1cd6b4:0x909,_0x388003:0x6ad,_0x20dc3f:0x791,_0x5da4d1:0x62a,_0x594491:0x339,_0x2e34a9:0x1fc,_0x586eeb:0x28f,_0x5360d9:0x6cf,_0x46693c:0x4f4,_0x3a30f:0x554,_0x5c046d:0x487,_0x2e118d:0x910,_0x392418:0x53f,_0x2fb37a:0x9e4,_0x33d208:0x75f,_0x3d5462:0x809,_0x35ff09:0x61e,_0x54f453:0x7a1,_0x37a2c9:0x91b,_0x451334:0x730,_0x1432ea:0x64a,_0x4928d0:0x5a8,_0x3ebc8b:0x4da,_0x27016b:0x4fb,_0x3e917e:0x5f3,_0x3afb0b:0x582,_0x53577b:0x270,_0x2b5a55:0x54f,_0xe9f56a:0x648,_0x391597:0x762,_0x33ccb5:0xfb,_0x154747:0x127,_0x121675:0x2ad,_0x52c7f4:0x5a9},_0x234e55={_0x528b5c:0x49},_0x3f655b={_0x5794d4:0x5c8,_0x3706fd:0x703,_0x9c73c3:0x581,_0x5dff45:0x584,_0x4102f8:0x747,_0x11eda5:0x5fd},_0x59ef0c={_0xbb6d88:0x8c};function _0x28732e(_0x49be5d,_0x5ec34c,_0x1529cc,_0x10e175){return _0x47b891(_0x1529cc,_0x5ec34c- -0x12b,_0x1529cc-0x1cb,_0x10e175-_0x59ef0c._0xbb6d88);}function _0x14162c(_0x261ed1,_0x44df67,_0x5b6798,_0x4d536e){return _0x47b891(_0x4d536e,_0x44df67- -0x460,_0x5b6798-0x62,_0x4d536e-0x2);}return defineTool({'name':'AssignTask','permissionClass':_0x14162c(_0x5aa9e6._0x2982f4,0x2de,0x290,0x128),'description':_0x28732e(_0x5aa9e6._0x1699b0,0x401,0x27d,_0x5aa9e6._0x1c21b9),'inputSchema':{'type':_0x28732e(_0x5aa9e6._0x42cfdc,_0x5aa9e6._0x400b40,0x44e,0x696),'properties':{'agentId':{'type':_0x14162c(_0x5aa9e6._0x37dfc8,0x157,0x289,0x30d),'description':_0x28732e(0x3c0,0x552,0x66c,_0x5aa9e6._0x53db9d)},'description':{'type':_0x14162c(_0x5aa9e6._0x18b817,0x157,_0x5aa9e6._0x3f2e5d,0xb4),'description':_0x28732e(_0x5aa9e6._0x2bd166,_0x5aa9e6._0x447298,_0x5aa9e6._0x21a385,_0x5aa9e6._0x4e0584)},'nickname':{'type':_0x28732e(0x4c5,0x48c,_0x5aa9e6._0x4ca3c5,0x5d7),'description':'Optional\x20short\x20display\x20name\x20for\x20this\x20delegated\x20run.\x20Used\x20only\x20for\x20display\x20and\x20not\x20sent\x20to\x20the\x20agent.'},'task':{'type':'string','description':_0x28732e(0x540,_0x5aa9e6._0xffea25,0x3f0,0x5bb)}},'required':[_0x14162c(_0x5aa9e6._0x1e3b32,_0x5aa9e6._0x5773dc,0x13b,_0x5aa9e6._0x43892f),_0x14162c(-_0x5aa9e6._0x139e1b,-0xd1,_0x5aa9e6._0x59f16e,-_0x5aa9e6._0xc4ac1e),'task']},async *'execute'(_0x3c8d4d,_0x4bfb86){const _0x18cc6e={_0x5b0fb4:0x142,_0xbe0bd2:0x2da},_0x305841=createDelegatedRunId();function _0x418ba2(_0x5b5f8d,_0x1de188,_0x2b475c,_0x3f9a06){return _0x14162c(_0x5b5f8d-_0x18cc6e._0x5b0fb4,_0x2b475c-_0x18cc6e._0xbe0bd2,_0x2b475c-0x1b6,_0x5b5f8d);}const _0x1035b6=new AbortController(),_0x35995a={'agentId':_0x3c8d4d[_0x475451(0x753,_0x5b43c4._0x269080,_0x5b43c4._0x2f31e7,0x6a5)],'parentSessionId':_0x4bfb86[_0x475451(_0x5b43c4._0x41d1e9,0x873,0x664,_0x5b43c4._0x14175e)],'runId':_0x305841,'signal':_0x1035b6['signal'],..._0x4bfb86[_0x475451(_0x5b43c4._0xb7d047,0x892,0x6a2,0x653)]!==void 0x0?{'toolCallId':_0x4bfb86[_0x475451(0x623,_0x5b43c4._0xfd9d3e,_0x5b43c4._0x302988,0x60b)]}:{}},_0x13851d=getDelegatedAgentDefinition(_0x267c06,_0x3c8d4d[_0x475451(0x616,_0x5b43c4._0x8df865,_0x5b43c4._0x2f31e7,0x868)]);if(!_0x13851d)throw new ToolExecutionError(_0x475451(_0x5b43c4._0x4ce478,0x7db,_0x5b43c4._0x48939f,_0x5b43c4._0x5de76d)+_0x3c8d4d['agentId'],{'agentId':_0x3c8d4d[_0x475451(_0x5b43c4._0x5dd486,0x60d,_0x5b43c4._0x69f0d0,0x820)]});let _0x1ef949={'runId':_0x305841,'agentId':_0x3c8d4d[_0x418ba2(0x3ec,_0x5b43c4._0x4a0813,_0x5b43c4._0x4328dd,_0x5b43c4._0x6f8b35)],'status':_0x475451(_0x5b43c4._0xe7fe5d,_0x5b43c4._0x192e4,0x660,_0x5b43c4._0x1c0644),'parentSessionId':_0x4bfb86['sessionId'],..._0x4bfb86[_0x475451(0x677,_0x5b43c4._0x3235a7,_0x5b43c4._0x302988,0x79e)]!==void 0x0?{'originToolCallId':_0x4bfb86[_0x475451(0x5a2,_0x5b43c4._0x5b737c,0x6a2,0x829)]}:{}};const _0x4a9e86=addAbortListener(_0x4bfb86[_0x475451(0x8d6,0x92e,_0x5b43c4._0x3de2cb,_0x5b43c4._0x6b7f5b)],()=>{const _0x4c161c={_0xa200db:0x123,_0x51823c:0x2d};function _0x59c973(_0x284768,_0x2fe5cf,_0x59726a,_0x39398e){return _0x418ba2(_0x284768,_0x2fe5cf-_0x4c161c._0xa200db,_0x39398e-0x31,_0x39398e-_0x4c161c._0x51823c);}function _0x99bbd7(_0x4c58a4,_0x569383,_0x1a0aaa,_0x25d09a){return _0x418ba2(_0x4c58a4,_0x569383-0x15,_0x25d09a-0x138,_0x25d09a-0xb7);}_0x1035b6[_0x59c973(_0x3f655b._0x5794d4,0x593,_0x3f655b._0x3706fd,_0x3f655b._0x9c73c3)](_0x4bfb86[_0x99bbd7(0x4b7,_0x3f655b._0x5dff45,_0x3f655b._0x4102f8,0x5ef)][_0x59c973(_0x3f655b._0x11eda5,0x49f,0x571,0x644)]);});let _0x8abd74,_0x28a4f2;function _0x475451(_0x5e7635,_0x156472,_0xcc9dcb,_0x246db9){return _0x28732e(_0x5e7635-_0x234e55._0x528b5c,_0xcc9dcb-0x213,_0x5e7635,_0x246db9-0x125);}let _0x5eea5a,_0x3a2824;try{_0x267c06[_0x475451(_0x5b43c4._0x4d1856,_0x5b43c4._0x288a5f,_0x5b43c4._0x18cf8d,0x7bc)]!==void 0x0&&(_0x8abd74=await _0x267c06['semaphore'][_0x475451(0x4da,0x84d,_0x5b43c4._0x31952e,0x7f6)](_0x1035b6['signal']));throwIfAborted(_0x1035b6[_0x475451(0x7ff,_0x5b43c4._0x19a4f4,0x725,_0x5b43c4._0x4a62b8)]);const _0x10f930=await awaitWithAbort(resolveDelegatedAgentOptions(_0x13851d,_0x35995a),_0x1035b6[_0x475451(0x7af,_0x5b43c4._0x4ba9e6,0x725,0x53a)]);throwIfAborted(_0x1035b6[_0x418ba2(0x6be,0x59d,_0x5b43c4._0x17c192,0x4f1)]);const _0x267538=_0x267c06[_0x418ba2(0x43c,0x1cb,0x332,_0x5b43c4._0x52ddaa)]!==void 0x0&&_0x10f930[_0x418ba2(0x63f,_0x5b43c4._0x2c288a,0x502,0x6ad)]!==void 0x0?{..._0x10f930,'systemPrompt':_0x267c06[_0x475451(_0x5b43c4._0x897ce6,0x64a,_0x5b43c4._0x3235a7,0x741)](_0x10f930['systemPrompt'])}:_0x10f930;throwIfAborted(_0x1035b6[_0x418ba2(0x6ab,0x56f,_0x5b43c4._0x17c192,_0x5b43c4._0x177445)]);const _0x3c99fa=new Agent(_0x267538);_0x1ef949={..._0x1ef949,'sessionId':_0x3c99fa['sessionId']},_0x28a4f2=_0x267c06[_0x418ba2(_0x5b43c4._0x575b2e,_0x5b43c4._0x230b34,_0x5b43c4._0x11a5d3,0x3f1)]?.(_0x3c99fa,_0x35995a);const _0x498250=new Promise(_0x21ea5f=>{_0x3a2824=_0x21ea5f;});_0x5eea5a=_0x267c06[_0x475451(_0x5b43c4._0x5a7e7d,0x486,0x49b,_0x5b43c4._0x1257a0)]?.({'runId':_0x305841,'abortController':_0x1035b6,'completion':_0x498250}),yield createToolOutput('Started\x20agent\x20run\x20'+_0x1ef949[_0x418ba2(_0x5b43c4._0x162d4f,0x4b0,0x2ad,_0x5b43c4._0x5a91e0)]+'.',{'runId':_0x1ef949['runId'],'agentId':_0x1ef949[_0x418ba2(_0x5b43c4._0x54cab7,_0x5b43c4._0x14c0ae,_0x5b43c4._0x5bd23c,0x5aa)],'sessionId':_0x3c99fa['sessionId'],'status':_0x1ef949[_0x418ba2(0x37d,0x403,_0x5b43c4._0x23dc97,_0x5b43c4._0x69f0d0)]}),throwIfAborted(_0x1035b6['signal']);const _0xfffe13=await _0x3c99fa[_0x418ba2(0x6ca,0x321,0x50d,0x633)](_0x3c8d4d[_0x475451(0x50d,_0x5b43c4._0x28d242,0x6ff,0x6a4)],{'streaming':!![],'signal':_0x1035b6[_0x475451(_0x5b43c4._0x40e0ae,_0x5b43c4._0x1cd6b4,0x725,0x6fc)]});_0x1ef949={..._0x1ef949,'status':_0xfffe13[_0x475451(_0x5b43c4._0x388003,0x863,_0x5b43c4._0x20dc3f,0x69b)],'result':_0xfffe13};if(_0xfffe13[_0x475451(_0x5b43c4._0x5da4d1,0x714,0x791,0x5f1)]!==_0x418ba2(_0x5b43c4._0x594491,0x4b4,0x2fc,0x11c)){const _0x4bb5d4=getRunTerminalErrorMessage(_0xfffe13),_0x16abdd=formatAbortedRunMessage(_0x1ef949[_0x418ba2(0x24e,_0x5b43c4._0x2e34a9,0x2ad,_0x5b43c4._0x586eeb)],_0x4bb5d4);throw new ToolExecutionError(_0x16abdd,{...createRunSummary(_0x1ef949),'aborted':!![],'errorMessage':_0x16abdd});}return createRunSummaryOutput(_0x1ef949,_0x418ba2(0x4f9,_0x5b43c4._0x5360d9,_0x5b43c4._0x46693c,0x6e1)+_0x1ef949['runId']+_0x475451(0x81e,_0x5b43c4._0x3a30f,0x684,_0x5b43c4._0x5c046d));}catch(_0x22c520){if(_0x22c520 instanceof ToolExecutionError)throw _0x22c520;if(isAbortError(_0x22c520)||_0x1035b6[_0x475451(_0x5b43c4._0x2e118d,_0x5b43c4._0x392418,0x725,0x692)][_0x475451(0x8b0,_0x5b43c4._0x2fb37a,0x861,_0x5b43c4._0x33d208)]||_0x4bfb86[_0x475451(_0x5b43c4._0x3d5462,0x5e0,0x725,_0x5b43c4._0x35ff09)][_0x418ba2(0x636,_0x5b43c4._0x54f453,0x5f3,0x505)]){const _0x19f435=getRunTerminalErrorMessage(_0x1ef949[_0x418ba2(0x402,0x256,0x262,0x35c)])??(_0x22c520 instanceof Error?_0x22c520[_0x475451(_0x5b43c4._0x37a2c9,0x9be,0x7ce,_0x5b43c4._0x451334)]:String(_0x22c520)),_0x2bb848=formatAbortedRunMessage(_0x1ef949[_0x475451(_0x5b43c4._0x1432ea,_0x5b43c4._0x4928d0,0x51b,_0x5b43c4._0x3ebc8b)],_0x19f435);_0x1ef949={..._0x1ef949,'status':_0x418ba2(_0x5b43c4._0x27016b,0x7de,_0x5b43c4._0x3e917e,_0x5b43c4._0x3afb0b),'errorMessage':_0x2bb848};throw new ToolExecutionError(_0x2bb848,{...createRunSummary(_0x1ef949),'aborted':!![],'errorMessage':_0x2bb848});}const _0x2353da=getRunTerminalErrorMessage(_0x1ef949[_0x418ba2(0xc4,_0x5b43c4._0x53577b,0x262,0x200)])??(_0x22c520 instanceof Error?_0x22c520[_0x418ba2(0x738,0x404,0x560,_0x5b43c4._0x2b5a55)]:String(_0x22c520))??_0x475451(_0x5b43c4._0xe9f56a,0x8bd,_0x5b43c4._0x391597,0x80f)+_0x1ef949[_0x418ba2(_0x5b43c4._0x33ccb5,_0x5b43c4._0x154747,_0x5b43c4._0x121675,0x267)]+'\x20failed.';_0x1ef949={..._0x1ef949,'status':'failed','errorMessage':_0x2353da};throw new ToolExecutionError(_0x2353da,{...createRunSummary(_0x1ef949),'errorMessage':_0x2353da});}finally{_0x267c06[_0x475451(0x2fa,0x3a6,0x49c,_0x5b43c4._0x52c7f4)]?.(_0x35995a),_0x3a2824?.(),_0x5eea5a?.(),_0x28a4f2?.(),_0x8abd74?.(),_0x4a9e86();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x5c2eb0){return[createAssignTaskTool(_0x5c2eb0)];}import{mkdir as _0x2c18c4,writeFile}from'fs/promises';import*as _0x1d9a72 from'path';function sanitizeFileName(_0x16b3c7){const _0x4a3282={_0x2501fd:0x5e5,_0x2d41cc:0x54c},_0x308f84={_0xf661ed:0x117};function _0x2b6a01(_0x223061,_0x4383d0,_0x3c75fe,_0x337bc5){return _0xe18bb0(_0x3c75fe,_0x4383d0-0x135,_0x3c75fe-0x11f,_0x337bc5-_0x308f84._0xf661ed);}return _0x16b3c7[_0x2b6a01(0x321,0x3f8,_0x4a3282._0x2501fd,_0x4a3282._0x2d41cc)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x264866,_0x509c04){const _0x5d8037={_0x201111:0x1d4,_0x5a87a8:0x2cf,_0x223790:0x535,_0x134aba:0x556,_0x59175c:0x47e,_0x5ea57c:0x7cf,_0x50646f:0x46b,_0x44da39:0x62a,_0x49740d:0x5a5,_0xd514c1:0x400,_0x10a2d5:0x47b,_0x254028:0x448,_0x5c6273:0x318,_0x33d16e:0x4fe,_0x49c063:0x4a5,_0x536e55:0x25c,_0x1452fd:0x165,_0x5e2cb9:0x3e6,_0x490918:0x43b,_0x2b5241:0x35b,_0x34b765:0x15f,_0x44cabc:0x43,_0x5068d2:0x84,_0x5ee4df:0x368,_0x5442d8:0x32b,_0x4b3316:0x280,_0x43d14e:0x368,_0x581692:0x1f8,_0x541328:0x48,_0x32a63c:0x32,_0x1c6553:0x5b5,_0x33db1b:0x570,_0x1af469:0x4c7,_0x237383:0x6bb,_0x4721c3:0x65a,_0x3765d8:0x652,_0x175bdf:0x720,_0x57d468:0x534,_0x313deb:0x32c,_0x5bf22d:0x18f,_0x1066fd:0x1e,_0x587612:0x7c,_0x2724ab:0x4c,_0x1a52e2:0x175,_0x409835:0x4ef,_0x1e5371:0x6c5,_0x2662fd:0x42,_0x39e121:0xe0,_0x2f66db:0x298},{maxBytes:_0x178fbd,sessionDir:_0x13bef7}=_0x509c04;if(!_0x264866[_0x28d431(_0x5d8037._0x201111,_0x5d8037._0x5a87a8,0x405,0x1a5)]||Buffer[_0x29d6a4(_0x5d8037._0x223790,_0x5d8037._0x134aba,0x47c,0x4bf)](_0x264866[_0x29d6a4(_0x5d8037._0x59175c,_0x5d8037._0x5ea57c,_0x5d8037._0x50646f,_0x5d8037._0x44da39)],_0x29d6a4(0x5ba,0x4d6,_0x5d8037._0x49740d,0x604))<=_0x178fbd)return _0x264866;const _0x104a52=Buffer[_0x28d431(0x22b,0x164,0x35b,0x1bc)](_0x264866[_0x28d431(0xe3,_0x5d8037._0x5a87a8,_0x5d8037._0xd514c1,0x226)],'utf8');if(!_0x13bef7){const _0x7de0a9=_0x264866['output'][_0x29d6a4(0x25d,_0x5d8037._0x10a2d5,_0x5d8037._0x254028,_0x5d8037._0x5c6273)](0x0,_0x178fbd);return{..._0x264866,'output':_0x7de0a9+(_0x29d6a4(0x536,0x4bb,_0x5d8037._0x33d16e,_0x5d8037._0x49c063)+_0x178fbd+_0x28d431(0x12f,0xaf,_0x5d8037._0x536e55,_0x5d8037._0x1452fd)+_0x104a52+_0x28d431(0x22,0x7d,0x211,0x122)),'meta':{..._0x264866['meta'],'truncated':!![],'originalBytes':_0x104a52,'transforms':[..._0x264866[_0x29d6a4(0x1c5,0x55b,0x5ae,0x3a7)][_0x28d431(0xdb,0x1d7,0xe4,_0x5d8037._0x5e2cb9)],_0x29d6a4(0x362,0x631,0x2e7,_0x5d8037._0x490918)]}};}function _0x29d6a4(_0x1b682f,_0xb9c3cb,_0x354bea,_0x57da80){return _0x47b891(_0x354bea,_0x57da80- -0x89,_0x354bea-0x157,_0x57da80-0xdb);}const _0x39afc1=_0x264866['toolName']+'_'+sanitizeFileName(_0x264866[_0x29d6a4(0x203,0x50f,0x473,_0x5d8037._0x2b5241)])+'.log',_0x6c25ae=_0x1d9a72['join'](_0x13bef7,_0x39afc1);function _0x28d431(_0xaaaf7c,_0x1a75b2,_0x5832f0,_0x38714b){return _0x47b891(_0xaaaf7c,_0x1a75b2- -0x3e4,_0x5832f0-0x1ea,_0x38714b-0x13d);}await _0x2c18c4(_0x13bef7,{'recursive':!![]}),await writeFile(_0x6c25ae,_0x264866['output'],'utf8');let _0x162a7b=_0x264866['output'][_0x28d431(_0x5d8037._0x34b765,-_0x5d8037._0x44cabc,0x5c,_0x5d8037._0x5068d2)](0x0,_0x178fbd);const _0x1fcb67=_0x162a7b[_0x28d431(0xc7,0x1b5,_0x5d8037._0x5ee4df,0x1f2)]('\x0a');_0x1fcb67>_0x178fbd*0.5&&(_0x162a7b=_0x162a7b[_0x29d6a4(_0x5d8037._0x5442d8,0x156,_0x5d8037._0x4b3316,0x318)](0x0,_0x1fcb67));const _0x1ed39c=['',_0x28d431(_0x5d8037._0x43d14e,0x189,0x1a7,_0x5d8037._0x581692),_0x28d431(-_0x5d8037._0x541328,_0x5d8037._0x32a63c,-0x103,0x1b4)+_0x178fbd+_0x29d6a4(0x619,0x687,0x4fb,_0x5d8037._0x1c6553)+_0x104a52+'\x20bytes).',_0x29d6a4(_0x5d8037._0x33db1b,_0x5d8037._0x1af469,_0x5d8037._0x237383,_0x5d8037._0x4721c3)+_0x6c25ae,_0x29d6a4(_0x5d8037._0x3765d8,_0x5d8037._0x175bdf,0x4d0,_0x5d8037._0x57d468),_0x28d431(0x185,0x236,_0x5d8037._0x313deb,0x1b0)][_0x28d431(0x178,_0x5d8037._0x5bf22d,_0x5d8037._0x1066fd,_0x5d8037._0x587612)]('\x0a');return{..._0x264866,'output':_0x162a7b+_0x1ed39c,'meta':{..._0x264866[_0x28d431(0x1a8,_0x5d8037._0x2724ab,-0x183,0xd1)],'truncated':!![],'originalBytes':_0x104a52,'transforms':[..._0x264866[_0x28d431(_0x5d8037._0x1a52e2,0x4c,0xcb,-0x181)][_0x29d6a4(_0x5d8037._0x409835,0x372,_0x5d8037._0x1e5371,0x532)],_0x28d431(-_0x5d8037._0x2662fd,_0x5d8037._0x39e121,_0x5d8037._0x2f66db,0x31)]}};}import{readFile as _0x31666b,stat as _0x5249bb}from'fs/promises';function createAnchoredFileError(_0x4863b7,_0x5fe8b8,_0x5140ee){return new ToolExecutionError(_0x5fe8b8,{'error':_0x4863b7,..._0x5140ee});}import{createHash}from'crypto';function sha256Bytes(_0xaea80f){const _0x51bfcc={_0xa70ffa:0x1c6,_0x59f54c:0x60,_0x2ed899:0xa2,_0x241693:0x43a,_0x49553b:0x287},_0x2f97f8={_0x5d0b8f:0x41c,_0x2b70:0xd9},_0x591732={_0x1fd28a:0x520,_0x5c9c86:0x1be,_0x4fb4af:0x9c};function _0x18c1fb(_0x3124da,_0x3f2a03,_0x49b80e,_0x1c70d3){return _0x47b891(_0x1c70d3,_0x3124da- -_0x591732._0x1fd28a,_0x49b80e-_0x591732._0x5c9c86,_0x1c70d3-_0x591732._0x4fb4af);}function _0x2a600f(_0x54f670,_0x3ac3db,_0x3b5beb,_0x2d6d7b){return _0xe18bb0(_0x54f670,_0x3b5beb-_0x2f97f8._0x5d0b8f,_0x3b5beb-0x4e,_0x2d6d7b-_0x2f97f8._0x2b70);}return createHash(_0x18c1fb(-0x31,-0x14d,_0x51bfcc._0xa70ffa,0x39))[_0x18c1fb(0x138,0xa,-_0x51bfcc._0x59f54c,-_0x51bfcc._0x2ed899)](_0xaea80f)[_0x2a600f(0x5ab,0x2c0,_0x51bfcc._0x241693,_0x51bfcc._0x49553b)]('hex');}function countLines(_0x552c42){const _0x482d4d={_0x261280:0x511,_0x528811:0x6d3,_0x342e21:0x594,_0x5e0371:0x535,_0x558bdc:0x443,_0x199aa5:0x165,_0x3c2ac9:0x14},_0x2d17eb={_0x4fbf58:0x342},_0x54de2b={_0x926e98:0x29};function _0x286722(_0x5a3691,_0x848ec9,_0x4c3d6f,_0x1fa4ad){return _0x47b891(_0x5a3691,_0x4c3d6f- -0x414,_0x4c3d6f-_0x54de2b._0x926e98,_0x1fa4ad-0x99);}const _0x4d2967=_0x552c42[_0x4c4748(_0x482d4d._0x261280,0x605,_0x482d4d._0x528811,_0x482d4d._0x342e21)](/\n$/,'');function _0x4c4748(_0x3d83f5,_0x25e102,_0x5770be,_0x47cd9b){return _0xe18bb0(_0x47cd9b,_0x25e102-_0x2d17eb._0x4fbf58,_0x5770be-0x35,_0x47cd9b-0x127);}return _0x4d2967[_0x4c4748(_0x482d4d._0x5e0371,0x4e9,_0x482d4d._0x558bdc,0x317)]===0x0?0x0:_0x4d2967[_0x286722(-_0x482d4d._0x199aa5,0xcd,_0x482d4d._0x3c2ac9,0x1e)]('\x0a')['length'];}function replaceFirstExact(_0x5a1efd,_0x248f7c,_0x41be65){const _0x7602a4={_0x52cacf:0x9a4,_0x450980:0x757,_0x2e7f53:0x7ba,_0x33744d:0x621,_0x3ea393:0x4c5,_0x5c2afe:0x5f5,_0x3a074c:0x557,_0x212710:0x50e,_0x13986e:0x976,_0x3734b8:0x6c7},_0x108468={_0x79e402:0x68a,_0x27fede:0x1c8},_0x19c9d5={_0x379af4:0x1b6,_0x58816d:0xe7},_0xd672b2=_0x5a1efd[_0x782a25(_0x7602a4._0x52cacf,0x85e,0x948,0x7ef)](_0x248f7c);if(_0xd672b2===-0x1)return void 0x0;const _0x5182b0=_0x5a1efd[_0x782a25(0x5d5,_0x7602a4._0x450980,0x557,0x464)](0x0,_0xd672b2)[_0x8e8de7(0x495,_0x7602a4._0x2e7f53,_0x7602a4._0x33744d,0x555)]('\x0a')['length'],_0x2750a9=countLines(_0x248f7c);function _0x782a25(_0x418de1,_0x373d55,_0x541b92,_0x247a9a){return _0x47b891(_0x418de1,_0x541b92-_0x19c9d5._0x379af4,_0x541b92-_0x19c9d5._0x58816d,_0x247a9a-0xdb);}const _0x597a25=countLines(_0x41be65);function _0x8e8de7(_0x4383f9,_0x3326a5,_0x3ad47f,_0x1e816c){return _0xe18bb0(_0x4383f9,_0x3ad47f-_0x108468._0x79e402,_0x3ad47f-_0x108468._0x27fede,_0x1e816c-0x9b);}return{'before':_0x5a1efd,'after':_0x5a1efd[_0x782a25(_0x7602a4._0x3ea393,_0x7602a4._0x5c2afe,_0x7602a4._0x3a074c,_0x7602a4._0x212710)](0x0,_0xd672b2)+_0x41be65+_0x5a1efd['slice'](_0xd672b2+_0x248f7c[_0x782a25(0x893,_0x7602a4._0x13986e,0x7ee,_0x7602a4._0x3734b8)]),'lineNumbers':{'oldStartLine':_0x5182b0,'oldEndLine':_0x5182b0+_0x2750a9-0x1,'newStartLine':_0x5182b0,'newEndLine':_0x5182b0+_0x597a25-0x1,'oldLineCount':_0x2750a9,'newLineCount':_0x597a25}};}var MAX_OPERATIONS=0x64;function requireValidAnchorLine(_0xaf9085){const _0xb7b5b8={_0x1a6ff5:0x585,_0x45c62b:0x3a1,_0x32f366:0x4b1,_0x51ad9c:0x3e7},_0x661832={_0x4252a8:0x63,_0x59cecb:0x7b},_0x383ad3={_0x2bb46f:0xa7};function _0x122e34(_0x5c239a,_0x158608,_0x10a9b6,_0x22cd4d){return _0x47b891(_0x5c239a,_0x10a9b6- -0x40d,_0x10a9b6-0x176,_0x22cd4d-_0x383ad3._0x2bb46f);}function _0x5c3704(_0x6f8e71,_0x34f432,_0x4b4639,_0x43a2b3){return _0x47b891(_0x6f8e71,_0x4b4639- -_0x661832._0x4252a8,_0x4b4639-_0x661832._0x59cecb,_0x43a2b3-0xf1);}if(!Number[_0x5c3704(0x1f4,_0xb7b5b8._0x1a6ff5,_0xb7b5b8._0x45c62b,0x3ab)](_0xaf9085)||_0xaf9085<0x1)throw createAnchoredFileError(_0x5c3704(_0xb7b5b8._0x32f366,_0xb7b5b8._0x51ad9c,0x40d,0x234),'Line\x20numbers\x20must\x20be\x20positive\x20safe\x20integers;\x20got\x20'+String(_0xaf9085)+'.');}function rangeLines(_0x40a3a8,_0x5ec194){const _0x2ea8fa={_0x16d7d7:0x28,_0xce7f3b:0x167,_0x4dbd37:0x197},_0x2834c3={_0x484244:0x3e4,_0x154ebc:0x1a9},_0x5dcfe5=[];for(let _0x56dddf=_0x40a3a8;_0x56dddf<=_0x5ec194;_0x56dddf+=0x1){_0x5dcfe5[_0x10df1b(-_0x2ea8fa._0x16d7d7,_0x2ea8fa._0xce7f3b,-0xba,_0x2ea8fa._0x4dbd37)](_0x56dddf);}function _0x10df1b(_0x30a6f4,_0x4159cc,_0x3e8e9e,_0x1f2e46){return _0x47b891(_0x4159cc,_0x30a6f4- -_0x2834c3._0x484244,_0x3e8e9e-_0x2834c3._0x154ebc,_0x1f2e46-0x1e8);}return _0x5dcfe5;}function normalizeContent(_0x4354ed){const _0x321739={_0x434789:0x88,_0x4cc135:0x39,_0x56ff0d:0xfc};function _0x1c32eb(_0x45ebac,_0x18764a,_0x469c4c,_0x1e561b){return _0x47b891(_0x469c4c,_0x45ebac-_0x321739._0x434789,_0x469c4c-_0x321739._0x4cc135,_0x1e561b-_0x321739._0x56ff0d);}return _0x4354ed[_0x1c32eb(0x7dc,0x86d,0x7ef,0x601)](/\r\n/g,'\x0a')['split']('\x0a');}function planOperations(_0x280356,_0x3a21ab){const _0x110660={_0xfc6cac:0x779,_0x33b437:0x7a2,_0x5b8b22:0x6d5,_0x37c977:0x89b,_0x2da652:0x88,_0x3fdaa9:0x76b,_0x515d34:0x465,_0x4dff75:0x47c,_0x47be7b:0x672,_0x144b67:0x67a,_0x3105d2:0x29d,_0x97a766:0x4bd,_0x242630:0x34b},_0x1a7de0={_0x6d8fe9:0x229,_0x44b981:0x1ae,_0x18b79b:0x1f9,_0x53e6fe:0x1fd,_0x3bcd1f:0x3a3,_0x365ebc:0x262,_0x473264:0xde,_0x1b6991:0x5c,_0x6ceca:0xf5,_0x51e202:0xf8,_0x599aa9:0x3c,_0x23b309:0x19b,_0x26c8dc:0x2bd,_0x36e26c:0x1e4,_0x54987b:0xb2,_0x495a0a:0xf0,_0x4ec370:0x4a,_0x2d9001:0x57,_0x587065:0x24b,_0x2fb9f3:0xd2,_0x3c81b3:0x221,_0x28ac62:0x245,_0x5a1bd5:0x25a,_0x530c53:0x45a,_0x4a6235:0x8,_0x12bb57:0x93,_0x15c959:0x5c,_0x36a54e:0x107,_0x76f5fa:0x207,_0x4e98b5:0x42b,_0x533b30:0xd9,_0x21e029:0x1f7,_0xb0dc9:0xf0,_0x2631b5:0x8,_0x4dfa8c:0x1f,_0x2450d2:0x331,_0x300e91:0x3a6,_0x18a7e8:0x1af,_0x2a7cea:0x295,_0x34a2fe:0x1ba,_0x599547:0x35e,_0x3d7263:0x2b3,_0x20a70e:0x3e3,_0x1ee7d3:0x245,_0x54d46e:0x13f,_0x3d1acc:0x1b7,_0x33de9c:0x23d,_0x5d7bb7:0x1bf,_0x26e08e:0xd8,_0x2834b3:0xee,_0x1af507:0x317,_0xad2f43:0x117,_0x4045e0:0x136,_0x17e43e:0x262,_0x1c62c9:0x20f,_0xe26a15:0x3a6,_0x35bc7d:0x20d,_0x270e98:0x236,_0x21aca2:0x195,_0x46f59a:0xb9,_0x2dafbf:0x262,_0xe6d086:0x43a,_0x405714:0x171,_0x505d4f:0x145,_0x28155c:0x37,_0x1478e4:0x23d,_0xe217c0:0x138,_0x5db509:0x39d,_0xf4243d:0xd9,_0x765e77:0x10f,_0x2d009a:0x89,_0x2c58de:0x313,_0x43ee36:0x204,_0x93464:0x101,_0x3b45cc:0x34,_0x368182:0x191,_0x431e91:0x146,_0x7a73fc:0xd4,_0x3821b1:0x219,_0x417641:0x237,_0x5dd710:0x53,_0x4fd716:0x245,_0x2dc510:0x216,_0x236c40:0x39,_0x146c26:0x16e,_0x4e4685:0x88,_0x435499:0xaf,_0xd06b32:0xdc,_0xdc389b:0x43,_0x389725:0xe5,_0x1304ab:0x13,_0x4e290b:0xe8,_0x2c24f6:0x20c,_0xf24692:0x53,_0x2ffc3b:0x110,_0x5a3c71:0xcf,_0x1e24d4:0x2dc,_0xe4d062:0x106,_0x13f4d6:0x238,_0x1f38d3:0xf8,_0x5f5096:0x1a1,_0x222113:0xbe,_0x557a05:0xdc,_0x33477e:0x12b,_0x13f420:0xab,_0x5d6af7:0x112,_0x395082:0x26e,_0x291776:0x157,_0x30b4de:0xc5,_0x4fba0c:0x1d4,_0x48c05a:0xee,_0x19d371:0x41,_0x439d57:0x1f4,_0x41b18d:0x82,_0x3dce29:0x156,_0x312a0e:0x179,_0x24fc09:0x2f0,_0x1aedbc:0x246,_0x2b7e1f:0xd4,_0x32e184:0xcd,_0x5b3fa8:0xb4,_0x4e6224:0xed,_0x5228a6:0x7b,_0x3530a1:0x20c,_0x407198:0x1e0,_0x2587cb:0xb6,_0xcc4e68:0x149,_0x13615b:0xe4,_0x14788b:0xfc,_0x56945d:0x2c,_0x13c030:0x48,_0x284e58:0x21,_0x1a0dfb:0x53,_0xfb03c2:0x49,_0xffe850:0x69,_0x5e37cf:0xb3,_0xeb9433:0x22d,_0x22f84e:0x23f},_0x281544={_0x47827c:0x171,_0x43f4c0:0x58},_0x109183={_0x44ca13:0x141,_0x4df257:0xeb,_0x158038:0x128};function _0x187f94(_0x20a7c6,_0x29f18b,_0x4eb08e,_0x345e3a){return _0x47b891(_0x345e3a,_0x4eb08e-_0x109183._0x44ca13,_0x4eb08e-_0x109183._0x4df257,_0x345e3a-_0x109183._0x158038);}if(_0x3a21ab[_0x187f94(0x686,0x89e,_0x110660._0xfc6cac,0x96b)]===0x0)throw createAnchoredFileError('invalid_range',_0x187f94(_0x110660._0x33b437,0x7b4,_0x110660._0x5b8b22,0x5fa));if(_0x3a21ab[_0x187f94(0x873,_0x110660._0x37c977,_0x110660._0xfc6cac,0x8ae)]>MAX_OPERATIONS)throw createAnchoredFileError(_0x1dbbe9(0x258,0x86,_0x110660._0x2da652,0x73),_0x187f94(0x66d,0x8b4,0x86b,_0x110660._0x3fdaa9)+MAX_OPERATIONS+_0x187f94(0x511,0x711,0x65b,_0x110660._0x515d34));if(_0x280356[_0x187f94(0x468,0x4f0,0x555,_0x110660._0x4dff75)][_0x187f94(_0x110660._0x47be7b,0x76b,0x779,_0x110660._0x144b67)]===0x0)throw createAnchoredFileError('invalid_range',_0x1dbbe9(0x2d4,_0x110660._0x3105d2,_0x110660._0x97a766,_0x110660._0x242630));function _0x1dbbe9(_0x1be9fe,_0x5002cf,_0x1a6122,_0x12bd18){return _0xe18bb0(_0x5002cf,_0x12bd18-0x94,_0x1a6122-_0x281544._0x47827c,_0x12bd18-_0x281544._0x43f4c0);}return _0x3a21ab[_0x1dbbe9(0x288,0x37b,0x2fb,0x204)](_0x2b151e=>{const _0xe0ffb3={_0x426f14:0x116,_0xb94b0b:0x178},_0x2c2841={_0x3b3ef9:0x1ae,_0x3e556b:0x600};function _0x4d882b(_0x540c14,_0x3736ab,_0x4a6813,_0x233f39){return _0x187f94(_0x540c14-_0x2c2841._0x3b3ef9,_0x3736ab-0x3,_0x540c14- -_0x2c2841._0x3e556b,_0x233f39);}function _0xf4d422(_0x365292,_0x4ab330,_0x564a84,_0x2b2298){return _0x187f94(_0x365292-_0xe0ffb3._0x426f14,_0x4ab330-_0xe0ffb3._0xb94b0b,_0x365292- -0x608,_0x2b2298);}switch(_0x2b151e[_0x4d882b(0x20f,_0x1a7de0._0x6d8fe9,0x3dc,_0x1a7de0._0x44b981)]){case _0x4d882b(0x295,0x36a,_0x1a7de0._0x18b79b,_0x1a7de0._0x53e6fe):{requireValidAnchorLine(_0x2b151e[_0xf4d422(0x23d,_0x1a7de0._0x3bcd1f,0x179,0x67)]),requireValidAnchorLine(_0x2b151e['endLine']);if(_0x2b151e['startLine']>_0x2b151e[_0x4d882b(_0x1a7de0._0x365ebc,0x3dd,0x3f1,0x339)])throw createAnchoredFileError(_0x4d882b(-0x4f,-_0x1a7de0._0x473264,-_0x1a7de0._0x1b6991,-_0x1a7de0._0x6ceca),_0xf4d422(_0x1a7de0._0x51e202,0x180,-_0x1a7de0._0x599aa9,_0x1a7de0._0x23b309));if(typeof _0x2b151e[_0xf4d422(0xc7,_0x1a7de0._0x26c8dc,_0x1a7de0._0x36e26c,-_0x1a7de0._0x54987b)]!==_0xf4d422(_0x1a7de0._0x495a0a,-0x2c,_0x1a7de0._0x4ec370,0x157))throw createAnchoredFileError(_0xf4d422(-_0x1a7de0._0x2d9001,-_0x1a7de0._0x587065,0x57,0x15a),_0xf4d422(-_0x1a7de0._0x2fb9f3,-_0x1a7de0._0x3c81b3,0xae,-_0x1a7de0._0x28ac62));if(_0x2b151e[_0xf4d422(_0x1a7de0._0x5a1bd5,0x257,_0x1a7de0._0x530c53,0x43a)]>_0x280356[_0x4d882b(-0xab,-0x193,-0x290,_0x1a7de0._0x4a6235)][_0x4d882b(0x179,-_0x1a7de0._0x12bb57,0x2f6,0x2ab)])throw createAnchoredFileError('invalid_range',_0xf4d422(0x40,_0x1a7de0._0x15c959,_0x1a7de0._0x36a54e,-0xd6)+_0x2b151e['startLine']+',\x20'+_0x2b151e[_0x4d882b(0x262,_0x1a7de0._0x76f5fa,_0x1a7de0._0x4e98b5,0x2fc)]+_0xf4d422(-_0x1a7de0._0x533b30,-_0x1a7de0._0x21e029,-0x22c,-_0x1a7de0._0xb0dc9)+_0x280356[_0x4d882b(-0xab,-_0x1a7de0._0x2631b5,_0x1a7de0._0x4dfa8c,-0x183)]['length']+_0xf4d422(0x244,0x36b,_0x1a7de0._0x2450d2,_0x1a7de0._0x300e91));const _0x30326c=normalizeContent(_0x2b151e[_0x4d882b(0xcf,_0x1a7de0._0x18a7e8,-0x110,0x19f)]);return{'kind':'replace','canonical':{'operation':_0x4d882b(_0x1a7de0._0x2a7cea,0x268,0x248,0x180),'startLine':_0x2b151e[_0x4d882b(_0x1a7de0._0x28ac62,_0x1a7de0._0x34a2fe,_0x1a7de0._0x599547,_0x1a7de0._0x3d7263)],'endLine':_0x2b151e[_0x4d882b(_0x1a7de0._0x365ebc,0x405,0x1ae,_0x1a7de0._0x20a70e)],'content':_0x30326c['join']('\x0a')},'spliceIndex':_0x2b151e[_0x4d882b(_0x1a7de0._0x1ee7d3,0x27c,0x11f,0x23b)]-0x1,'deleteCount':_0x2b151e[_0xf4d422(0x25a,0x3d4,_0x1a7de0._0x54d46e,_0x1a7de0._0x3d1acc)]-_0x2b151e[_0xf4d422(_0x1a7de0._0x33de9c,_0x1a7de0._0x5d7bb7,0xc5,_0x1a7de0._0x26e08e)]+0x1,'rows':_0x30326c,'sourceStart':_0x2b151e[_0x4d882b(0x245,_0x1a7de0._0x2834b3,0x162,0x3c5)],'sourceEnd':_0x2b151e['endLine'],'requiredLines':rangeLines(_0x2b151e[_0xf4d422(0x23d,_0x1a7de0._0x1af507,0x106,0x2ab)],_0x2b151e['endLine'])};}case _0xf4d422(_0x1a7de0._0xad2f43,0x31b,0x2c9,_0x1a7de0._0x4045e0):{requireValidAnchorLine(_0x2b151e['startLine']),requireValidAnchorLine(_0x2b151e[_0x4d882b(_0x1a7de0._0x17e43e,0x39d,_0x1a7de0._0x1c62c9,0x231)]);if(_0x2b151e['startLine']>_0x2b151e[_0x4d882b(0x262,0x2b3,0x198,_0x1a7de0._0xe26a15)])throw createAnchoredFileError(_0x4d882b(-0x4f,-_0x1a7de0._0x35bc7d,-_0x1a7de0._0x270e98,0x13),_0xf4d422(0xc5,_0x1a7de0._0x21aca2,-_0x1a7de0._0x46f59a,0x21));if(_0x2b151e[_0x4d882b(_0x1a7de0._0x2dafbf,_0x1a7de0._0xe6d086,0x153,0xc0)]>_0x280356['lines'][_0xf4d422(_0x1a7de0._0x405714,-0x41,0x17a,-0x98)])throw createAnchoredFileError('invalid_range',_0x4d882b(_0x1a7de0._0x505d4f,0x17d,-0x13,-_0x1a7de0._0x28155c)+_0x2b151e[_0xf4d422(_0x1a7de0._0x1478e4,_0x1a7de0._0xe217c0,_0x1a7de0._0x5db509,0x67)]+',\x20'+_0x2b151e[_0x4d882b(_0x1a7de0._0x2dafbf,0x3ad,0x253,0x1ad)]+_0xf4d422(-_0x1a7de0._0xf4243d,0x7f,_0x1a7de0._0x765e77,0xf5)+_0x280356['lines'][_0x4d882b(0x179,_0x1a7de0._0x2d009a,0x25f,_0x1a7de0._0x2c58de)]+_0xf4d422(0x244,_0x1a7de0._0x43ee36,_0x1a7de0._0x93464,0xe7));return{'kind':_0xf4d422(0x117,0xf8,-_0x1a7de0._0x3b45cc,0xbd),'canonical':{'operation':_0xf4d422(0x117,_0x1a7de0._0x368182,-0xb6,_0x1a7de0._0x431e91),'startLine':_0x2b151e[_0xf4d422(_0x1a7de0._0x33de9c,0x1c2,0x2ab,_0x1a7de0._0x7a73fc)],'endLine':_0x2b151e[_0x4d882b(_0x1a7de0._0x17e43e,0x372,_0x1a7de0._0x3821b1,_0x1a7de0._0x417641)]},'spliceIndex':_0x2b151e[_0xf4d422(0x23d,0x90,0x2f,_0x1a7de0._0x5dd710)]-0x1,'deleteCount':_0x2b151e['endLine']-_0x2b151e[_0x4d882b(_0x1a7de0._0x4fd716,_0x1a7de0._0x2dc510,0x2ab,_0x1a7de0._0x5db509)]+0x1,'rows':[],'sourceStart':_0x2b151e[_0xf4d422(_0x1a7de0._0x1478e4,_0x1a7de0._0x236c40,_0x1a7de0._0x146c26,0xe1)],'sourceEnd':_0x2b151e[_0xf4d422(0x25a,0x2d0,0x23b,0x6e)],'requiredLines':rangeLines(_0x2b151e[_0x4d882b(_0x1a7de0._0x4fd716,_0x1a7de0._0x4e4685,_0x1a7de0._0x435499,0x44f)],_0x2b151e[_0xf4d422(0x25a,0x315,0x12a,0x14f)])};}case _0xf4d422(_0x1a7de0._0xd06b32,-0x11b,0x36,-_0x1a7de0._0xdc389b):{requireValidAnchorLine(_0x2b151e['line']);if(_0x2b151e[_0xf4d422(_0x1a7de0._0x389725,_0x1a7de0._0x1304ab,-_0x1a7de0._0x4e290b,-0x110)]!==_0xf4d422(_0x1a7de0._0x2c24f6,0x216,0x3f1,_0x1a7de0._0xf24692)&&_0x2b151e['position']!==_0x4d882b(_0x1a7de0._0x2ffc3b,-0x55,-0xe0,_0x1a7de0._0x3d7263))throw createAnchoredFileError('invalid_range','insert\x20position\x20must\x20be\x20\x27before\x27\x20or\x20\x27after\x27.');if(typeof _0x2b151e[_0x4d882b(_0x1a7de0._0x5a3c71,_0x1a7de0._0x1e24d4,-_0x1a7de0._0xe4d062,_0x1a7de0._0x13f4d6)]!==_0x4d882b(_0x1a7de0._0x1f38d3,-0x2,0x153,-0x38))throw createAnchoredFileError('invalid_range',_0xf4d422(0x107,0x2d6,0x210,_0x1a7de0._0x5f5096));if(_0x2b151e[_0xf4d422(-_0x1a7de0._0x222113,-_0x1a7de0._0x557a05,_0x1a7de0._0x33477e,-0x16a)]>_0x280356[_0x4d882b(-_0x1a7de0._0x13f420,-_0x1a7de0._0x5d6af7,-0x1b5,-_0x1a7de0._0x395082)]['length'])throw createAnchoredFileError(_0xf4d422(-0x57,-0x29,_0x1a7de0._0x291776,-0x191),_0x4d882b(_0x1a7de0._0x30b4de,_0x1a7de0._0x4fba0c,_0x1a7de0._0x48c05a,0xdb)+_0x2b151e['line']+_0x4d882b(0x168,_0x1a7de0._0x19d371,_0x1a7de0._0x439d57,-_0x1a7de0._0x41b18d)+_0x280356[_0x4d882b(-0xab,0xc5,0x10e,_0x1a7de0._0x3dce29)][_0x4d882b(_0x1a7de0._0x312a0e,0x30,0x83,0x2e1)]+_0xf4d422(0x244,_0x1a7de0._0x24fc09,_0x1a7de0._0x1aedbc,0x3e6));const _0x4971b0=normalizeContent(_0x2b151e[_0xf4d422(0xc7,_0x1a7de0._0x2b7e1f,-_0x1a7de0._0x32e184,_0x1a7de0._0x5b3fa8)]),_0x3269fe=_0x2b151e[_0x4d882b(_0x1a7de0._0x4e6224,-_0x1a7de0._0x5228a6,0x197,_0x1a7de0._0x5f5096)]===_0xf4d422(_0x1a7de0._0x3530a1,0x20b,_0x1a7de0._0x407198,0x2eb)?_0x2b151e[_0xf4d422(-_0x1a7de0._0x222113,-0x17a,-0x237,-0x2a7)]-0x1:_0x2b151e[_0x4d882b(-_0x1a7de0._0x2587cb,0x142,-_0x1a7de0._0xcc4e68,0x7d)];return{'kind':'insert','canonical':{'operation':_0x4d882b(_0x1a7de0._0x13615b,-0x69,0x150,0xa3),'position':_0x2b151e[_0xf4d422(0xe5,0x242,-_0x1a7de0._0x14788b,0x89)],'line':_0x2b151e[_0x4d882b(-_0x1a7de0._0x2587cb,-0x1fb,-0x91,-0x2a2)],'content':_0x4971b0[_0x4d882b(_0x1a7de0._0x5b3fa8,-_0x1a7de0._0x56945d,-_0x1a7de0._0x13c030,-_0x1a7de0._0x284e58)]('\x0a')},'spliceIndex':_0x3269fe,'deleteCount':0x0,'rows':_0x4971b0,'gap':_0x3269fe,'requiredLines':[_0x2b151e[_0xf4d422(-0xbe,-_0x1a7de0._0x1a0dfb,0x39,-_0x1a7de0._0xfb03c2)]]};}default:{const _0x4c1597=_0x2b151e;throw createAnchoredFileError('invalid_range',_0x4d882b(-_0x1a7de0._0xffe850,_0x1a7de0._0x5e37cf,-0x1dd,-_0x1a7de0._0xeb9433)+String(_0x4c1597[_0x4d882b(0x20f,_0x1a7de0._0x22f84e,0x128,0x153)])+'\x27.');}}});}function assertNoOverlaps(_0x52299b){const _0x46a55c={_0x59e592:0x3f2,_0x1a4cb8:0x22a,_0x38f8ca:0x389,_0x39b119:0x320,_0x584c82:0x1ea,_0x50dc03:0x461,_0x3505f3:0x272,_0x45477e:0x14a,_0x38864a:0x302,_0x4d1864:0x21f,_0xeffbd5:0x310,_0x2fcda4:0x229,_0x5bee50:0x3,_0x30f4c9:0x1d8,_0x22edc1:0x24b,_0x43340e:0x170,_0x28da6a:0x311,_0x406805:0xd4,_0x326241:0x266,_0x5764c5:0x2ce,_0x54dac7:0x1b2,_0x2b7be8:0x4b8,_0x1681ca:0x203,_0x721b84:0x381,_0x272bb1:0x395,_0x18efd7:0x229,_0x540e26:0x309,_0x18732c:0xc7,_0x2b9709:0xad,_0x5b6370:0xb6,_0x3494d6:0x268},_0x1bdc59={_0x5c37c7:0xcb,_0x272682:0x182},_0x391512={_0x170b30:0x4c8,_0x4be169:0xcb},_0x8f96b7=_0x52299b[_0x54cbd8(_0x46a55c._0x59e592,0x32f,0x478,0x324)](_0x44c69f=>_0x44c69f[_0x54cbd8(0x1b9,0x460,0x37c,0x351)]==='replace'||_0x44c69f[_0x28b598(0x24f,0x337,0x2d6,0xbb)]===_0x28b598(0x116,-0x13,-0x25,0x28f));function _0x28b598(_0x4dd2ee,_0x2647d8,_0x8bbb7,_0x1cddbe){return _0x47b891(_0x1cddbe,_0x4dd2ee- -_0x391512._0x170b30,_0x8bbb7-0x8f,_0x1cddbe-_0x391512._0x4be169);}const _0x5a7ef1=_0x52299b[_0x28b598(0x222,_0x46a55c._0x1a4cb8,0x3cb,_0x46a55c._0x38f8ca)](_0x1b9c07=>_0x1b9c07[_0x54cbd8(0x231,0x180,0x2ab,0x351)]===_0x54cbd8(0x2ad,0x4,0x2cd,0x1dd));for(let _0x563d4a=0x0;_0x563d4a<_0x8f96b7[_0x28b598(0x170,0x196,0xe0,_0x46a55c._0x39b119)];_0x563d4a+=0x1){for(let _0x447c64=_0x563d4a+0x1;_0x447c64<_0x8f96b7[_0x54cbd8(_0x46a55c._0x584c82,0xc2,_0x46a55c._0x50dc03,_0x46a55c._0x3505f3)];_0x447c64+=0x1){const _0x4adb2e=_0x8f96b7[_0x563d4a],_0x45c740=_0x8f96b7[_0x447c64];if(Math[_0x28b598(-_0x46a55c._0x45477e,-0x1fd,-0x226,-0xe)](_0x4adb2e['sourceStart'],_0x45c740[_0x54cbd8(_0x46a55c._0x38864a,_0x46a55c._0x4d1864,_0x46a55c._0xeffbd5,_0x46a55c._0x2fcda4)])<=Math['min'](_0x4adb2e[_0x54cbd8(-_0x46a55c._0x5bee50,0x1b1,0x4c,0x1c9)],_0x45c740['sourceEnd']))throw createAnchoredFileError(_0x54cbd8(0x26f,_0x46a55c._0x30f4c9,_0x46a55c._0x22edc1,0x29d),'Anchored\x20replace/delete\x20source\x20ranges\x20overlap.');}}function _0x54cbd8(_0x34ce0d,_0x5f3854,_0x5c9951,_0x31e2e6){return _0xe18bb0(_0x5c9951,_0x31e2e6-_0x1bdc59._0x5c37c7,_0x5c9951-_0x1bdc59._0x272682,_0x31e2e6-0x73);}for(let _0x2b5f36=0x0;_0x2b5f36<_0x5a7ef1[_0x28b598(_0x46a55c._0x43340e,_0x46a55c._0x28da6a,_0x46a55c._0x406805,0x299)];_0x2b5f36+=0x1){for(let _0xe9f82e=_0x2b5f36+0x1;_0xe9f82e<_0x5a7ef1['length'];_0xe9f82e+=0x1){if(_0x5a7ef1[_0x2b5f36][_0x28b598(0x27f,_0x46a55c._0x326241,_0x46a55c._0x5764c5,_0x46a55c._0x54dac7)]===_0x5a7ef1[_0xe9f82e][_0x54cbd8(_0x46a55c._0x2b7be8,0x22e,0x53f,0x381)])throw createAnchoredFileError('overlapping_operations','Multiple\x20insertions\x20target\x20the\x20same\x20line\x20gap.');}}for(const _0xc42773 of _0x5a7ef1){for(const _0x2a9fb8 of _0x8f96b7){if(_0xc42773[_0x54cbd8(0x3f9,_0x46a55c._0x1681ca,0x476,_0x46a55c._0x721b84)]>=_0x2a9fb8[_0x54cbd8(_0x46a55c._0x272bb1,0x1c8,0x37f,_0x46a55c._0x18efd7)]&&_0xc42773[_0x54cbd8(0x262,_0x46a55c._0x540e26,0x1ac,0x381)]<=_0x2a9fb8[_0x28b598(_0x46a55c._0x18732c,0x2b1,-_0x46a55c._0x2b9709,-_0x46a55c._0x5b6370)]-0x1)throw createAnchoredFileError('overlapping_operations',_0x28b598(0x1fb,0x226,_0x46a55c._0x3494d6,0x2d1));}}}function assertLinesObserved(_0x531901,_0x41f84a){const _0x57d6ab={_0x31614a:0x31f,_0xc7e8b1:0xcb,_0xc2be9e:0x150,_0x1ef3ea:0x1c6},_0x462c71={_0x15e67a:0x47c,_0x18f56f:0x63},_0x260862={_0x163f9d:0x9,_0x4f5c53:0x161},_0x506c46=new Set();for(const _0x38b531 of _0x531901){for(const _0x53697b of _0x38b531['requiredLines']){_0x506c46[_0x15dd53(_0x57d6ab._0x31614a,_0x57d6ab._0xc7e8b1,0x237,0x2a2)](_0x53697b);}}function _0x1c36b7(_0x22ea55,_0x3f7719,_0x1d9efb,_0x3fd303){return _0xe18bb0(_0x3fd303,_0x22ea55-_0x260862._0x163f9d,_0x1d9efb-0x2a,_0x3fd303-_0x260862._0x4f5c53);}const _0x5ce162=[..._0x506c46][_0x1c36b7(_0x57d6ab._0xc2be9e,_0x57d6ab._0x1ef3ea,0xc5,-0x95)]((_0x5e1284,_0x1f1448)=>_0x5e1284-_0x1f1448);function _0x15dd53(_0x3cfd8d,_0x58ebd2,_0x114a83,_0x3c6b4d){return _0x47b891(_0x114a83,_0x3c6b4d- -_0x462c71._0x15e67a,_0x114a83-_0x462c71._0x18f56f,_0x3c6b4d-0x17d);}for(const _0x5c41aa of _0x5ce162){if(!_0x41f84a[_0x1c36b7(0x276,0x419,0x1df,0x413)](_0x5c41aa))throw createAnchoredFileError(_0x15dd53(0x19a,0x23d,0x420,0x225),'Line\x20'+_0x5c41aa+'\x20must\x20be\x20observed\x20by\x20FileRead\x20before\x20it\x20can\x20be\x20used\x20as\x20an\x20edit\x20anchor.',{'requiredLines':_0x5ce162});}return _0x5ce162;}function applyOperations(_0x4e099a,_0x248eee){const _0x4097cd={_0x4c358d:0x362,_0xdfaee3:0x427,_0x596e14:0x333,_0x1a7380:0x33b,_0x256a5d:0x1fd,_0x4089f8:0x3bf,_0x50f577:0x36a,_0x3edc10:0x209,_0x2cd6cc:0x26f,_0x226b41:0x59b,_0x4a588f:0x539,_0x373b43:0x136,_0x178e76:0x22b,_0x9b7c73:0x41b,_0x272f1e:0x436,_0x36860a:0x407,_0xbbd28b:0x569,_0x463187:0x3b4,_0x18199a:0x5fa,_0xd86d47:0x434,_0x2083c1:0x448},_0x164514={_0x94a235:0x1f4,_0x54191e:0x3e},_0x4f024c={_0x27120d:0x61b,_0x423307:0x4b9,_0x47200c:0x61b,_0x1d7405:0x558,_0x4b6183:0x734,_0x327382:0x30e,_0x5559da:0x581,_0x361a1e:0x5dd,_0xa42599:0x739,_0x57c0f0:0x684,_0x52bf66:0x89f,_0x24ed82:0x767,_0x2f9a77:0x589,_0x438e9c:0x6e4},_0x2ef18e={_0x2ec59b:0x182},_0xe966b2={_0x435d2b:0x1b2,_0x557ef1:0x29},_0x2d6227={_0x5f198d:0x2d2,_0x4d83c6:0x68,_0x4e49b2:0x58},_0x422a50=[..._0x4e099a[_0x1d2998(_0x4097cd._0x4c358d,0x274,_0x4097cd._0xdfaee3,0x255)]];function _0x1d2998(_0x5269f7,_0x1af6a1,_0x3e3601,_0x32e76e){return _0xe18bb0(_0x1af6a1,_0x32e76e-_0x2d6227._0x5f198d,_0x3e3601-_0x2d6227._0x4d83c6,_0x32e76e-_0x2d6227._0x4e49b2);}const _0x2ecb1b=[..._0x248eee][_0x301a5c(0x1ca,_0x4097cd._0x596e14,_0x4097cd._0x1a7380,0x501)]((_0x17a3af,_0x4ccfca)=>{if(_0x17a3af[_0x292e12(_0x4f024c._0x27120d,_0x4f024c._0x423307,0x680,0x7cb)]!==_0x4ccfca[_0x292e12(_0x4f024c._0x47200c,_0x4f024c._0x1d7405,_0x4f024c._0x4b6183,0x476)])return _0x4ccfca[_0x19ff07(0x49f,0x43a,_0x4f024c._0x327382,0x3f4)]-_0x17a3af['spliceIndex'];const _0x2a0d14=_0x17a3af[_0x19ff07(_0x4f024c._0x5559da,_0x4f024c._0x361a1e,0x503,_0x4f024c._0xa42599)]===_0x292e12(0x589,_0x4f024c._0x57c0f0,0x578,0x41b);function _0x19ff07(_0x191d61,_0x52e052,_0xde3f7c,_0xa0324e){return _0x1d2998(_0x191d61-0x60,_0xde3f7c,_0xde3f7c-_0xe966b2._0x435d2b,_0x191d61-_0xe966b2._0x557ef1);}const _0x5e51c1=_0x4ccfca[_0x292e12(0x6fd,0x62f,_0x4f024c._0x52bf66,_0x4f024c._0x24ed82)]===_0x292e12(_0x4f024c._0x2f9a77,_0x4f024c._0x438e9c,0x5ae,0x45d);if(_0x2a0d14!==_0x5e51c1)return _0x2a0d14?0x1:-0x1;function _0x292e12(_0x440021,_0x1b2d41,_0x2198b3,_0xf4c617){return _0x1d2998(_0x440021-0x39,_0xf4c617,_0x2198b3-_0x2ef18e._0x2ec59b,_0x440021-0x1a5);}return 0x0;});for(const _0x30b8f2 of _0x2ecb1b){_0x422a50[_0x301a5c(_0x4097cd._0x256a5d,_0x4097cd._0x4089f8,_0x4097cd._0x50f577,_0x4097cd._0x3edc10)](_0x30b8f2[_0x301a5c(_0x4097cd._0x2cd6cc,0x2c7,0x398,_0x4097cd._0x226b41)],_0x30b8f2[_0x1d2998(0x3ae,0x25f,_0x4097cd._0x4a588f,0x3aa)],..._0x30b8f2[_0x1d2998(_0x4097cd._0x373b43,_0x4097cd._0x178e76,_0x4097cd._0x9b7c73,0x280)]);}if(_0x422a50[_0x301a5c(0x419,_0x4097cd._0x272f1e,0x39b,0x52e)]===0x0)return'';function _0x301a5c(_0x4effab,_0xa2951b,_0x3b6ff7,_0x234f82){return _0xe18bb0(_0x234f82,_0x3b6ff7-_0x164514._0x94a235,_0x3b6ff7-_0x164514._0x54191e,_0x234f82-0xf8);}const _0x23746f=_0x422a50[_0x1d2998(_0x4097cd._0x36860a,_0x4097cd._0xbbd28b,0x32d,_0x4097cd._0x463187)]('\x0a');return _0x4e099a[_0x301a5c(_0x4097cd._0x18199a,_0x4097cd._0xd86d47,_0x4097cd._0x2083c1,0x24f)]?_0x23746f+'\x0a':_0x23746f;}function operationRowDelta(_0x1411a5){const _0x78dbd5={_0xe18650:0x721,_0x507e84:0x654,_0x119e47:0x915};function _0xd3d148(_0x14b56f,_0x2826bd,_0x4589ea,_0xbed679){return _0x47b891(_0x14b56f,_0x2826bd-0x1b8,_0x4589ea-0x5c,_0xbed679-0x88);}return _0x1411a5['rows']['length']-_0x1411a5[_0xd3d148(0x70e,_0x78dbd5._0xe18650,_0x78dbd5._0x507e84,_0x78dbd5._0x119e47)];}function finalFileOrder(_0x487148){const _0x5f54a6={_0x53b449:0x163,_0xa89205:0x4f3,_0x362f72:0x2ec},_0x1976dc={_0x9a128d:0x246,_0x1b5aee:0x418,_0x31bfc7:0x4be,_0x2531e3:0x246,_0x36e31f:0x108,_0x138a79:0x5b7,_0x307c78:0x49d,_0x2f2ad5:0x3c7,_0xc31768:0x1b4,_0xf9b224:0x301},_0x4161a7={_0x4837e1:0x59,_0x242aa3:0xc0},_0x21fee9={_0x49c2c3:0x2ec,_0x10328f:0x6a};function _0x3a4cbe(_0x8b17c2,_0x1f039a,_0x1bca58,_0x17339c){return _0x47b891(_0x17339c,_0x1bca58- -_0x21fee9._0x49c2c3,_0x1bca58-_0x21fee9._0x10328f,_0x17339c-0x7);}return[..._0x487148][_0x3a4cbe(_0x5f54a6._0x53b449,_0x5f54a6._0xa89205,_0x5f54a6._0x362f72,0x343)]((_0xf9880b,_0x381ca9)=>{if(_0xf9880b[_0x2e4e8f(_0x1976dc._0x9a128d,0x25a,_0x1976dc._0x1b5aee,0x137)]!==_0x381ca9[_0x4ce5ef(_0x1976dc._0x31bfc7,0x19a,0x2e5,0x28b)])return _0xf9880b['spliceIndex']-_0x381ca9[_0x2e4e8f(_0x1976dc._0x2531e3,_0x1976dc._0x36e31f,0x16e,0x1f1)];const _0xfe3e80=_0xf9880b[_0x4ce5ef(_0x1976dc._0x138a79,_0x1976dc._0x307c78,0x3c7,0x2b4)]===_0x2e4e8f(0x1b4,0x380,-0x1e,0x220);function _0x4ce5ef(_0x1c8180,_0x28f8de,_0x3cf7ee,_0x1f5848){return _0x3a4cbe(_0x1c8180-_0x4161a7._0x4837e1,_0x28f8de-_0x4161a7._0x242aa3,_0x3cf7ee- -0x64,_0x28f8de);}const _0x4e827a=_0x381ca9[_0x4ce5ef(0x3c1,0x4b6,_0x1976dc._0x2f2ad5,0x5c4)]===_0x2e4e8f(_0x1976dc._0xc31768,0x181,_0x1976dc._0xf9b224,0x3a0);function _0x2e4e8f(_0x274390,_0x12b959,_0x5754c0,_0x44823a){return _0x3a4cbe(_0x274390-0x13c,_0x12b959-0x18,_0x274390- -0x103,_0x44823a);}if(_0xfe3e80!==_0x4e827a)return _0xfe3e80?-0x1:0x1;return 0x0;});}function computeFinalFileNewSideLines(_0x376acb){const _0x511fe5={_0xc390e:0x775,_0x3efa81:0x66b,_0x56490f:0x785,_0x1bb7ab:0x5d9,_0x5c421d:0x76e,_0x3cfb4a:0x6ce,_0x584ad6:0x154,_0x593452:0x26,_0x1f1670:0x142,_0x40e59f:0x234,_0xe81187:0xb,_0x18e773:0x3b,_0x8fbcab:0x182,_0x4ac339:0x725,_0x695dfc:0x6ce,_0x22bfab:0x4b5,_0x53bb0:0x69,_0x5e7142:0x34,_0xf34423:0xa5,_0x728a64:0x76c,_0x4b0e88:0x8cd,_0x5c2425:0x74a,_0x195d99:0x47b,_0x17fbe0:0x611,_0x4e32ab:0x26c,_0x5daec8:0x472,_0xd2f0ae:0x4aa,_0x259d26:0x681},_0x15c358={_0x429f4f:0xf4,_0x4b8c21:0x148},_0xfbe692={_0x1a8a18:0x103},_0x2bc9f8=new Array(_0x376acb[_0x2265a6(0x4cc,0x7e1,_0x511fe5._0xc390e,_0x511fe5._0x3efa81)]);let _0x317986=0x0;for(const _0x4c8cde of finalFileOrder(_0x376acb)){const _0x2a482b=_0x4c8cde[_0x2265a6(0x746,0x8a0,0x6cc,0x74a)]===_0x2265a6(0x52d,_0x511fe5._0x56490f,_0x511fe5._0x1bb7ab,0x5d6)?_0x4c8cde[_0x2265a6(_0x511fe5._0x5c421d,0x7ed,0x80c,_0x511fe5._0x3cfb4a)][_0x1021e9(-_0x511fe5._0x584ad6,_0x511fe5._0x593452,_0x511fe5._0x1f1670,_0x511fe5._0x40e59f)]===_0x1021e9(_0x511fe5._0xe81187,0x14d,_0x511fe5._0x18e773,_0x511fe5._0x8fbcab)?_0x4c8cde[_0x2265a6(_0x511fe5._0x4ac339,0x752,0x74d,_0x511fe5._0x695dfc)]['line']:_0x4c8cde['canonical'][_0x2265a6(0x270,0x4cd,_0x511fe5._0x22bfab,0x43c)]+0x1:_0x4c8cde[_0x1021e9(0x259,_0x511fe5._0x53bb0,_0x511fe5._0x5e7142,_0x511fe5._0xf34423)],_0xc02c3d=_0x2a482b+_0x317986,_0x2c35dd=_0x4c8cde[_0x2265a6(_0x511fe5._0x728a64,0x82e,_0x511fe5._0x4b0e88,_0x511fe5._0x5c2425)]===_0x2265a6(0x46a,0x5c2,_0x511fe5._0x195d99,_0x511fe5._0x17fbe0)?0x0:_0x4c8cde[_0x2265a6(0x32e,0x603,_0x511fe5._0x4e32ab,_0x511fe5._0x5daec8)][_0x2265a6(_0x511fe5._0xd2f0ae,_0x511fe5._0x259d26,0x5d2,0x66b)];_0x2bc9f8[_0x376acb['indexOf'](_0x4c8cde)]={'newStartLine':_0xc02c3d,'newEndLine':_0xc02c3d+_0x2c35dd-0x1},_0x317986+=operationRowDelta(_0x4c8cde);}function _0x2265a6(_0x3b7b62,_0x5142d8,_0x11c30f,_0x2a94b8){return _0xe18bb0(_0x5142d8,_0x2a94b8-0x4c4,_0x11c30f-0x6d,_0x2a94b8-_0xfbe692._0x1a8a18);}function _0x1021e9(_0xe04e01,_0x31edcf,_0x3d708f,_0x3d310e){return _0xe18bb0(_0xe04e01,_0x31edcf- -0xf5,_0x3d708f-_0x15c358._0x429f4f,_0x3d310e-_0x15c358._0x4b8c21);}return _0x2bc9f8;}function buildBlock(_0x126957,_0x271730,_0x378ca8,_0x46863b){const _0x1da3bb={_0xf84dba:0x5e1,_0x2c7575:0x567,_0x1eff4f:0x4c1,_0x325217:0x65b,_0x540b83:0x7d9,_0x227aaa:0x465,_0x4d0a16:0x39c,_0x5405ea:0x55c,_0x5593cc:0x502,_0x2719b2:0x3fa,_0x4ac378:0x53f,_0x7b20eb:0x41a,_0x232401:0x4b9,_0x4c7028:0x4c4,_0x5ba990:0x459,_0x1a9f4c:0x356,_0x349901:0x650,_0x4ebf9b:0x6bc,_0x5c5ced:0x7b8,_0x6cd5d3:0x311,_0x442dec:0x74a,_0x7d5306:0x4b9,_0x5cccdd:0x6bb,_0xfd94dc:0x577,_0x598b44:0x2b2,_0x2bb86e:0x4b3,_0x204428:0x624,_0x325cd9:0x4e2,_0x49c355:0x346,_0x3f5bb3:0x2f5,_0x27f7e7:0x309,_0x269d81:0x65e,_0x4194d4:0x6b6},_0x364f7e={_0x68981e:0x108,_0x19bb84:0x173},_0x164005={_0x409c36:0x35b,_0x27e418:0xf9,_0x5cb90a:0x27};function _0x29707c(_0x52eb33,_0xa7363c,_0x15028b,_0x5c72fa){return _0xe18bb0(_0xa7363c,_0x52eb33-_0x164005._0x409c36,_0x15028b-_0x164005._0x27e418,_0x5c72fa-_0x164005._0x5cb90a);}if(_0x271730[_0x29707c(_0x1da3bb._0xf84dba,0x56f,_0x1da3bb._0x2c7575,0x681)]==='insert'){const {line:_0x165b86,position:_0x1c515d}=_0x271730[_0x2b598b(0x6c1,_0x1da3bb._0x1eff4f,_0x1da3bb._0x325217,_0x1da3bb._0x540b83)],_0x3be697=_0x1c515d==='before'?_0x165b86:_0x165b86+0x1;return{'oldText':'','newText':_0x271730['rows']['join']('\x0a'),'lineNumbers':{'oldStartLine':_0x3be697,'oldEndLine':_0x3be697-0x1,'newStartLine':_0x378ca8,'newEndLine':_0x46863b,'oldLineCount':0x0,'newLineCount':_0x271730[_0x2b598b(_0x1da3bb._0x227aaa,_0x1da3bb._0x4d0a16,_0x1da3bb._0x5405ea,0x666)][_0x29707c(_0x1da3bb._0x5593cc,_0x1da3bb._0x2719b2,0x461,_0x1da3bb._0x4ac378)]}};}const _0x472be6=_0x126957['lines'][_0x29707c(0x26b,_0x1da3bb._0x7b20eb,0x2bd,0x2b3)](_0x271730[_0x29707c(_0x1da3bb._0x232401,0x54b,_0x1da3bb._0x4c7028,0x543)]-0x1,_0x271730[_0x29707c(_0x1da3bb._0x5ba990,0x5ba,_0x1da3bb._0x1a9f4c,_0x1da3bb._0x349901)])['join']('\x0a'),_0x12a15d=_0x271730[_0x2b598b(0x5b5,0x670,_0x1da3bb._0x4ebf9b,_0x1da3bb._0x5c5ced)]-_0x271730[_0x29707c(0x4b9,_0x1da3bb._0x6cd5d3,0x55d,0x4e7)]+0x1;if(_0x271730[_0x29707c(0x5e1,0x749,0x60d,_0x1da3bb._0x442dec)]===_0x29707c(0x4a8,0x363,0x3df,0x5ab))return{'oldText':_0x472be6,'newText':'','lineNumbers':{'oldStartLine':_0x271730[_0x29707c(_0x1da3bb._0x7d5306,0x437,_0x1da3bb._0x5cccdd,_0x1da3bb._0xfd94dc)],'oldEndLine':_0x271730[_0x29707c(0x459,0x5c9,0x26b,_0x1da3bb._0x598b44)],'newStartLine':_0x378ca8,'newEndLine':_0x378ca8-0x1,'oldLineCount':_0x12a15d,'newLineCount':0x0}};function _0x2b598b(_0x567490,_0x3f97eb,_0x7c6125,_0x5cd455){return _0xe18bb0(_0x5cd455,_0x567490-0x4b7,_0x7c6125-_0x364f7e._0x68981e,_0x5cd455-_0x364f7e._0x19bb84);}return{'oldText':_0x472be6,'newText':_0x271730[_0x29707c(0x309,0x133,0x2eb,_0x1da3bb._0x2bb86e)][_0x29707c(0x43d,_0x1da3bb._0x204428,_0x1da3bb._0x325cd9,0x639)]('\x0a'),'lineNumbers':{'oldStartLine':_0x271730[_0x29707c(0x4b9,_0x1da3bb._0x49c355,0x345,_0x1da3bb._0x3f5bb3)],'oldEndLine':_0x271730['sourceEnd'],'newStartLine':_0x378ca8,'newEndLine':_0x46863b,'oldLineCount':_0x12a15d,'newLineCount':_0x271730[_0x29707c(_0x1da3bb._0x27f7e7,0x2e8,0x2e5,0x4f0)][_0x2b598b(_0x1da3bb._0x269d81,0x5b6,_0x1da3bb._0x4194d4,0x7ea)]}};}function stableStringify(_0x34c0e0){const _0x5da12b={_0x164ed8:0x5d0,_0x47c39a:0x7a6,_0x24a512:0x69d,_0x129adb:0x82d,_0x563dcb:0x681,_0x3626c1:0x5c6,_0xbea7a0:0x71b,_0x42ec6c:0x537,_0x3ef99d:0x542,_0xbd256f:0x4ff,_0x453af0:0x718,_0x364d73:0x5f3,_0x41f22c:0x6fb,_0xdc65b0:0x71d,_0x3e4b16:0x468},_0x214973={_0x465641:0x5ed,_0x20a07:0x1c,_0x2a931c:0x1c6},_0x2d6cb4={_0x56ad17:0x2e};function _0x3270c5(_0x575e50,_0x225ce3,_0x5b46a7,_0x557245){return _0xe18bb0(_0x557245,_0x225ce3-0x511,_0x5b46a7-_0x2d6cb4._0x56ad17,_0x557245-0x21);}if(Array[_0x365ab2(_0x5da12b._0x164ed8,0x846,_0x5da12b._0x47c39a,_0x5da12b._0x24a512)](_0x34c0e0))return'['+_0x34c0e0[_0x3270c5(_0x5da12b._0x129adb,_0x5da12b._0x563dcb,_0x5da12b._0x3626c1,_0x5da12b._0xbea7a0)](stableStringify)[_0x3270c5(0x6a3,0x5f3,0x76e,_0x5da12b._0x42ec6c)](',')+']';if(_0x34c0e0!==null&&typeof _0x34c0e0==='object'){const _0x5574b4=_0x34c0e0;return'{'+Object[_0x3270c5(_0x5da12b._0x3ef99d,_0x5da12b._0xbd256f,0x364,0x2f8)](_0x5574b4)['sort']()['map'](_0x3f777c=>JSON[_0x365ab2(0x6bc,0x89e,0x69f,0x709)](_0x3f777c)+':'+stableStringify(_0x5574b4[_0x3f777c]))[_0x3270c5(_0x5da12b._0x453af0,_0x5da12b._0x364d73,_0x5da12b._0x41f22c,_0x5da12b._0xdc65b0)](',')+'}';}function _0x365ab2(_0x388d13,_0x157146,_0x21b1da,_0x25c169){return _0xe18bb0(_0x157146,_0x25c169-_0x214973._0x465641,_0x21b1da-_0x214973._0x20a07,_0x25c169-_0x214973._0x2a931c);}return JSON[_0x3270c5(_0x5da12b._0x3e4b16,0x62d,0x673,0x746)](_0x34c0e0);}function _0x3ec8(){const _0x2e6c39=['AgvHzgvYCW','B3bLBG','yxr0ywnO','Dg90ywW','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','yMXVy2TZ','ugf0AcbPCYbUB3qGysbMAwXLoIa','zw5KC1DPDgG','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','Aw5FChjVz3jLC3m','z2v0t3DUuhjVCgvYDhLoyw1LCW','vgHLihDYAxrLigXHBMrLzcWGyNv0ihrOzsbYzwfKlwjHy2SGzgLKig5VDcbTyxrJAcb0AguGAw50zw5KzwqGyNL0zxmGB3iGCgvYBwLZC2LVBNmUie5VihjVBgXIywnRihDHCYbWzxjMB3jTzwq7ihjLlxjLywqGD2L0AcbgAwXLuMvHzcb0BYbJB25MAxjTihrOzsbJDxjYzw50ihn0yxrLlG','DgfNrM9YrgLNzxn0','qw4GAw5Zzxj0Aw9UihrHCMDLDhmGysbNyxaGC3rYAwn0BhKGAw5ZAwrLigeGCMvWBgfJzwqGB3iGzgvSzxrLzcbYyw5Nzs4','Aw1Hz2uVCg5N','qMfZAe91Dhb1Da','ls1YzwDLEha','BM90lwzVDw5K','lNrZEa','B2XKu3rHCNrmAw5L','vMLLD0zPBgu','oIbJB250zw50ihjLCxvPCMvK','B3bLBMfPlxjLC3bVBNnLCW','ig1HDgnO','B3bLCMf0Aw9U','uMvHzcbHifvurI04ihrLEhqGzMLSzsbHCYbHihnUyxbZAg90lwfUy2HVCMvKifTWyxrOi3rHz10GAgvHzgvYihbSDxmGtJP0zxH0ihjVD3mUifrOzsb0ywCGAwrLBNrPzMLLCYb0AguGD2HVBguGzMLSzsWGC28GCMvHzcbVBMX5ihrOzsbSAw5LCYb5B3uGBMvLzcb3AxrOigXPBMvtDgfYDc9SAw5Lrw5KiokaLcb0AguGDgfNihn0yxLZihzHBgLKigzVCIbHihjHBMDLihjLywqUievTChr5igzPBgvZigHHDMuGBM8GzwrPDgfIBguGBgLUzs4GtwL4zwqGteyVq1jmrIWGtLvmlcbHBMqGAw52ywXPzcbvveyTocbHCMuGCMvQzwn0zwq7ihvZzsbLEgfJDcbgAwXLrwrPDcbPBNn0zwfKlG','C2vYDMvYtMfTzq','DgvZDa','zMLUywXnzxnZywDL','yMvMB3jL','u2TPBgWGjW','CMvHze9UBhLiAw50','ywjVCNq','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','y2fUB25Py2fSugf0Aa','ANnVBG','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','oIbPBNzHBgLKihbYAw9YAxr5','yNL0zxncEurPz2vZDa','ywXYzwfKEs10zxjTAw5HBa','yxjNDw1LBNrZvgv4Da','w1bFxL1BxhnCu10QpW','B2jQzwn0','ywnXDwLYzuj5DgvZ','sw52ywXPzcbvuKWGCgfYyw1LDgvY','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','zMLUywXozxDSAw5L','BwvZC2fNzq','lNbUzW','CMvHza','zMfPBgvK','zMLSDgvY','zg9JDw1LBNrtEw1IB2W','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','CMvUyw1L','ru5w','Cgf0Ag5HBwu','BM9dAgfUz2vdB3vUDgvYCW','Aw1WBgvTzw50yxrPB24','igj5DgvZlcbLEgnLzwrPBMCGDgHLig9IC2vYDMf0Aw9Ulxn0B3jLigjVDw5Kig9Mia','Ag9TzwrPCG','ihrVB2WGy2fSBcbMywLSzwq','y29UDgv4Da','zMLUzfjLzMvYzw5Jzxm','CMvWBgfJzsbZDgfYDeXPBMu','CxvLCNK','mtuZnZG2quj0Bej0','tM8GCMvZDwX0CYbMB3vUzc4','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','z3jHy2vMDwW','B25oB3rPzMLJyxrPB24','AgfZ','zxH0BMfTzq','r0Lusfvcx0fdq0vtu19ut0TftG','rMLSzsa','qKftse9qvfm','Aw1Hz2uVz2LM','C3rHCNrmAw5L','mJi0lJaUmc4W','y29UDgv4DeXPBMvZ','Dg91y2HqyxrO','C3rYAwn0','Dw5RBM93BIb0zxjTAw5HDgLVBIbLCNjVCG','zw5K','lwXPBMuGC25HChnOB3qU','yM9T','u0HfteXpufrt','AMf2yxnJCMLWDa','C3bHD25PBMC','qMvHCMvYia','vg9KB1DYAxrL','zgv0ywLS','zgLHz25VC3rPy3m','y2fWq2HHCNm','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','vMfSAwrHDgvKia','A2LUza','BM9Uzq','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','zgvMAw5PDgLVBG','C3rYAxbbBNnP','s0Lnsv9bueLFs0vz','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','ywrK','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','DhLWzxnJCMLWDhjLywn0','zw5KtgLUzq','Dgv4DerVy3vTzw50l2rPzenSB3nL','AxnfBMfIBgvK','Ag92zxi','CMvXDwvZDa','lMDPzG','zxjYB3jZ','ywrKrxzLBNrmAxn0zw5LCG','CgXHDgzVCM0','qxqGBw9ZDca','zMLSzxm','C3jJl3nOyxjLzc90ExbLCY50CW','CMCUzxHL','C2vHCMnOrgvWDgG','y2XPzw50','ygbGANnVBGO','BwnWlwf1DgGTCMvXDwLYzwq','yxjNCW','sfruuca','CMvHzezPBgu','BwnWlxjLCxvLC3qTDgLTzw91Da','DhLWzq','DhnJB25MAwCUANnVBG','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','B25Jzq','A2v5','CgfYC2u','ignVBM5Ly3rPB24GDgLTzwqGB3v0','ywX3yxLZlwnVBMzPCM0','DgvYBwLUyxrPB25tzxr0BgvK','zw5NAw5LCW','yxbWBgLJyxrPB24VANnVBG','rMLSzu5LDW','Dg9VBhmVy2fSBa','yM9VBgvHBG','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','zhj5uNvU','z2fW','rw1WDhKGzMLSzxmGAgf2zsbUBYbVyNnLCNzHyMXLigXPBMuGyw5JAg9YCZSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHDcbSzwfZDcbVBMuGBgLUzs4','D2vI','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','BgfUz3vHz2u','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','Ahr0CdO','C3rKzxjYtM9YBwfSAxPLCG','C2HLBgXqyxrO','oYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','tNv2Aw4','ANnVBMm','CMvWBgfJzq','A2v5yMLUzgLUz3m','C3rKB3v0tM9YBwfSAxPLCG','DgfN','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','C2vYDMvY','BwnWlwnSB3nLlwzHAwXLza','igLZihvUA25VD24GzM9Yia','y29Uy2f0','yNvKz2v0vg9Rzw5Z','B2C6DxbKyxrLzf90Aw1L','l3vZCI9IAw4VC2G','CM9VDa','zgvSzxrLlNn0yxj0tgLUzq','CMvMzxjLBMnLCW','ig9WzxjHDgLVBNmGkgrYEsbYDw47ig5VihDYAxrLks4','y29TBwfUza','ugf0AcbUB3qGzM91BMq6ia','Aw5JBhvKzq','rMLSzvjLywq','Dg91y2HgAwXL','BxrPBwu','uxvLC3rPB24G','Aw52ywXPzf9WyxrJAa','CMLWz3jLCcbMywLSzwq6ia','CgXHAw4','Cgf0DgvYBIbPCYbYzxf1AxjLza','zgvUBY5QC29UyW','C3rYzwfTC0zSDxnOzwq','Bwf4vMvYC2LVBNnqzxjqyxrO','uhjVz3jHBuzPBgvZ','y29UBMvJDgLVBG','CgvUzgLUzW','DgfNig11C3qGyMuGzxHHy3rSEsaXmIb1ChbLCMnHC2uGAgv4ignOyxjHy3rLCNm7igDVDcaN','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','BxrPBwvnCW','ywjVCNrLza','y2HHCMfJDgvY','mtCXnJKYmu1kuvvTzW','BhnWu2vYDMLJzq','lM10CW','Dw5PB24','zxzLCNK','DgfPBhm','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','zMLSztOVlW','zgf0zvjLC3rYAwn0','DhjPBq','rgLHz25VC3rPyW','igLZig5VigXVBMDLCIbHDMfPBgfIBguGka','mJqWlJaUmc4W','Dg9tDhjPBMC','mtaZmgnnr1HhqW','lM51DMLUlwnVzgu','EwvZ','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0igjLigf0ig1VC3qG','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','l3vZCI9IAw4VyMfZAa','B3bLBKzPBgvZ','Aw52ywXPzf9Yyw5NztOGDgHLigvKAxqNCYbZB3vYy2uTzgvYAxzLzcbWCMv2Awv3ihrLEhqGAxmG','Aw5KzxHpzG','B3bLBNjVDxrLCG','zxzPy3rjzK5LzwrLza','rMLSzsb3CML0DgvUigf0ia','q29Tu3bLyW','zgvMyxvSDfrPBwvVDxrnCW','CMvZDwX0CW','CMvHC29U','BM90Awz5','qMfZzsbKAxjLy3rVCNK6ia','Dg9VBhm','CMfUz2u','CgfZC3rOCM91z2G','B25JBg9Zzq','Bwf4','Cg9ZDf93CML0zv9KCMLMDa','CMvNAw9U','C3vWzxjszwzPBMu','CxvLC3rPB24T','C25PChbLDa','Bwv0yxrHz3m','yMfZzw5HBwu','y2HPBgq','C2vUzfjLCxvLC3q','C3vIyxjYyxK','DgLTzw91DfnVDxjJzq','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','ChjVDg9JB2W','CMvSyxrPDMu','AgfUzgXL','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','zgvZy3jPChrPB24','yxr0CG','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','zg5Zl3bYB21PC2vZ','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','CM91BMq','C2nYDwjfBNzlzxLZ','y2HTB2q','DhjHAwXPBMDdAhvUA3m','yw5ZAte2','zgvJB2rL','lu5VuhjVzMLSzq','C2nYDwjfBNzqCMvMAxHLCW','zwrPDa','mJqYmJHYwKjRBfy','AxneAxjLy3rVCNK','yMfJA2DYB3vUzfjLz2LZDhj5','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','C2XPy2u','BwfYA2rVD24','Axnoyu4','ls0T','CMvZzxq','Aw5PDgLHBgL6zwq','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','qMfZAa','yw50AhjVCgLJlw1LC3nHz2vZ','Dw5RBM93BL9ZBMfWC2HVDa','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','ihDOAwXLihrOzsbLzgL0ihDHCYbWzw5KAw5NicG','yMfZAwm','zgLZy292zxi','yxjNDw1LBNriAw50','CMv0AxjL','rMLSzuvKAxq','BgLI','CMvNAxn0zxjby3rPDMvsDw4','CMvSzwfZzufNzw50uMvZB3vYy2vZ','yxv0BW','AgfZAgXPBMu','zxjYB3i','u25HChnOB3qGzM9Yia','zgvUEq','zxnJyxbL','yMLVBwuUANnVBMm','ChvZAa','y2fSBfrVB2W','igj5DguTAwrLBNrPy2fSlG','qxv0Ag9YAxPHDgLVBG','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','z29Vz2XLq3nLq3G','iYmGu2TPBgW6ia','C3rHCNq','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','uKLgrG','l3bPza','C2vSzwn0Aw9UuMfUz2u','D3jPDgvgAwXL','Bwf4u25HChnOB3rcExrLCW','y291BNrLCG','zw50CMLLCW','yNvUlMXVy2S','C2v2zxjPDhK','wKfjx0fqsv9lrvK','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','DgvYBwLUyxrL','u25HChnOB3qGDgfNia','l2jPBI9ZAa','ygbG','uMvHzcb0AguGBMv4DcbYyw5Nzsb3AxrOigXPBMvtDgfYDdOG','ywrKsxnZDwu','r09pr0Xfx0ntrv9dwa','BNvTyMvY','ugfJA2fNzxm','y29ZDa','zNjVBq','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','D2LUzg93CW','B25uzxjTAw5HBevYCM9Y','vg9KBYa','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbZBMfWC2HVDc1HBMnOB3jLzcbSAw5Lig9WzxjHDgLVBNmUienHBgWGrMLSzvjLywqGzMLYC3qGDg8GB2j0ywLUihrOzsbJDxjYzw50ifTWyxrOi1rbr10GAgvHzgvYigfUzcbooIbSAw5Lig51BwjLCNm7igv2zxj5igvKAxqGCMvXDwLYzxmGDgHHDcb0ywCUifjLDxnLihrOzsbMCMvZAcaJvefhihjLDhvYBMvKigj5igeGC3vJy2vZC2z1BcbLzgL0igzVCIb0AguGBMv4DcbLzgL0ig9UihrOzsbZyw1LigzPBguSigfUzcbYzs1YzwfKig9UBhKGD2HLBIb5B3uGBMvLzcb1BNnLzw4GBgLUzsbUDw1IzxjZig9YigeGDgfNigLZihjLAMvJDgvKlIbmAw5Lig51BwjLCNmGAw4GB3bLCMf0Aw9UCYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4','Dhj1BMm','yxnJAwK','igzHAwXLzcb0BYbJBg9Zzq','y2fSBeLK','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','lIbuAguGD3jPDguGzgLKig5VDcbSyw5KoYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGyw5KihjLDhj5lG','BMfTzq','CMvZDwX0','BgfUzW','Bw9KzwW','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','vxbKyxrLvg9WAwm','AgLNAa','xsbPCYbWyxn0ihrOzsbLBMqGB2yGDgHLia','zMLSzq','ls1QC29U','rMv0y2GGDgLTzwqGB3v0','Bxv0yxrPB25Z','zgLZy292zxj5u3rHDgu','BgLTAxrZ','CMvWBgfJzsbJB250zw50ig11C3qGyMuGysbZDhjPBMCU','ihDHCYbYzwfKlG','z2XVyG','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','lMPZ','sw52ywXPzcbZDhj1y3r1CMvKiezPBgvfzgL0igLUChv0oIa','mtaWlJy0lJaUma','C3jJl2fNzw50l2fNzw50lNrZ','BgLNAhq','zgf0zxrPBwu','z2v0vg9KB3m','C2v0','BgLZDa','yNvMzMvY','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','AxntywzLsw50zwDLCG','yMLVBwuUANnVBG','BM9Fy2HHBMDL','y3DK','CxvLC3rPB25Z','BgLUzq','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','ChjVy2vZC0DYB3vWswq','Dw1HC2S','AxnjBNrLz2vY','oYbJB25ZDhj1y3qGD2L0AcbVyNnLCNzHDgLVBNmSig11Dgf0Aw9UCYWGyw5Kig91Dhb1Dej1zgDLDej5DgvZlG','Aw5WDxrty2HLBwe','yw50AhjVCgLJ','y2XLyxi','te9dquXbufbeqvrb','BM9UBMvNyxrPDMu','BgLUzxm','mJq1CejQshDK','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','y2XVC2vbBgW','vgHLigfUy2HVCMvKig9WzxjHDgLVBNmGD291BgqGBgvHDMuGDgHLigzPBguGyNL0zs1PzgvUDgLJywWU','zMLSzvzLCNnPB25Z','igLZia','zNvSzMLSBgvK','AhLKCMf0zu1LDge','DxjP','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','DMvYC2LVBNncEvbHDgG','BwvKAxvT','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','DxrMoej5DgvZ','zgvSzxrLihn0yxj0tgLUzq','CgfYC2vjBNq','DhnJ','C25HChnOB3q','CgvYBwLZC2LVBKnSyxnZ','C3bSAxq','DhvYBMrVD24','CMfUzg9T','C3rHCNreAxi','ig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqG','zhvWBgLJyxrLx3rVzg9FAwrZ','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','mtaUmc4WlJa','Bwv0yq','B3jPz2LUvg9VBenHBgXjza','CMvZB2X2zq','CNvUswq','ignOyw5NzwqGB24GzgLZAZSGCMuTCMvHzcb3AxrOiezPBgvszwfKigfUzcbYzxrYEsb3AxrOihrOzsbMCMvZAcb0ywCU','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','Aw5WDxq','yxjNDw1LBNrZ','zgvMyxvSDe9WDgLVBG','qwXSia','yNL0zxm','zgLYBMfTzq','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','AxntEw1IB2XPy0XPBMS','B2XSyw1H','CM93CW','yw55lwfSBg93zwq','C2TPBgXZ','D2fPDezVCLrLCM1PBMfS','v2vIu2vHCMnO','yMLYDgH0Aw1L','rMLSzsbPCYbLBxb0EtSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHBIbVyNnLCNzLzcbSAw5LlG','zgf0yq','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','icHWAwqG','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','CMvKDwnL','DhLWzxnJCMLWDa','C2HLBgXjza','Aw5qCM9NCMvZCW','Cgf0DgvYBG','Dg9vChbLCKnHC2u','Ag9ZDa','BMv3rw5KtgLUzq','zMX1C2HtDhjLyw1Z','ru5pru5u','CNvUrxHJBhvZAxzL','twLJCM9ZB2z0','vw5RBM93BIbHBMnOB3jLzcbVCgvYyxrPB24GjW','zw5NAw5L','rxjYB3i','CNvUsw5cywnRz3jVDw5K','z2L0qNjHBMnO','DgL0Bgu','yxbWzw5KrgvJB2rLza','sw52ywXPzcbVDxrWDxrszwDLEdOG','oYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGzMLYC3qU','lMnTza','u3rVCdOGmYbJB25Zzwn1DgL2zsbPzgvUDgLJywWGBM8TB3aGzwrPDhmGzM9YihrOAxmGCgf0AcbHBMqGCgf5Bg9Hzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigjLzM9YzsbYzxrYEwLUzY4','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','C3rKAw4','BhnW','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','zgvMyxvSDen3za','qgjPB21LANmVyMLVBwu','zMLUAxrL','Aw5JB21PBMDdywXSCW','lMPWzW','DMvYAwz5rxHLy3v0Aw9U','CxvLC3rPB24','y2fSBgjHy2TvCMW','zgLZCgXHEwvKtgLUzxm','zxHHy3q','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','Aw52ywXPzf9Yyw5Nzq','Dg9Rzw4','Aw52ywXPzf90B2rVx2nVBNrLBNq','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','C3rHDhvZvgv4Da','vg9Vig1HBNKGCMvKAxjLy3rZ','B2zMC2v0','ChvIBgLZAgvKqxq','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','zNvUy3rPB24','Aw5ZDhj1y3rPB25Z','AwzYyw1L','yMvHCMvY','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','C2HPzNq','A2v5CW','uhjVy2vZCYa','l2jPBI9IyxnO','y29TCgXLDgvK','o1TExg5DkJ8','DgLTzvTKyxrLDgLTzv0','DwX0CMe','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','zgfZAa','tg9HzfnRAwXS','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','zgLYzwn0B3j5','l3vZCI9SB2nHBc9IAw4VCMC','ls1NBg9I','AxnfCNjVCG','lMPWzwC','yMLUzfnLC3nPB24','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','ywz0zxjuzxH0','Cg5WBs1SB2nRlNLHBwW','igj5DgvZicHVCMLNAw5HBdOG','igj5DgvZoYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','zxHPDgvK','zgfYAW','C3rYDwn0DxjLza','y291BNq','r2XVyG','C2v0vg9WAwm','BgLUzuvUza','C3rKzxjYrgvJB2rLCG','Aw50zwDLCG','A2LSBfjLCxvLC3rLza','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','y2HHDgDWDa','C3rHCNrLzef0','lNDLyNa','Aw5Zzxj0igXPBMu','tM8GAg92zxiGAw5MB3jTyxrPB24','DxnLCM5HBwu','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','CMvZzxj2zq','B2XKvgv4Da','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','l1bjra','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','zMLUywXSEq','yMfZzty0','CMvWBgfJzsbLBMrmAw5L','zgLNzxn0','lcbpChrPB24G','ChjVDg90ExbL','z3jHy2vMDwXszxf1zxn0zwq','Cg9W','C3rHDa','A2LSBa','BwnFy2LK','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','CMvUzgvYu3LZDgvTuhjVBxb0','BwfUDwfS','BMv3vgv4Da','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','ChjPB3jPDhK','B3b0Aw9UywW','z29Vz2XLq3nLs2v5','zMXHDe1HCa','CMvXDwLYzwq','zgvMyxvSDa','ywn0AxzL','AxrLBxm','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ufvuihjLCxvPCMvZigf0igXLyxn0ig9UzsbWyxLSB2fKihjVDY4','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','zNjLzxPL','D2fYBG','C2nYAxb0','CMvSzwfZzq','C2H1DgrVD24','zxjYB3jnzxnZywDL','Dg9VBfjLC3vSDhm','Dgv4Dc9ODg1S','Aw5Zzxj0lMXPBMu','D29YA3nWywnLl3n5BwjVBa','DgHPBMTPBMC','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','yNvUlMXVy2TI','y29KzvzLCMLMAwvY','BwLUAw1HBa','qxnRvxnLCLrVB2W','Dg90ywXeCM9WCgvK','C3rHBgvFC25HChnOB3q6iezPBguG','vMLLD2vKigLTywDLigzPBgu6ia','ignOyxjZigrYB3bWzwrDcG','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','DgfZA2TPBgW','yxnR','yxv0Aa','CMvNAxn0zxjby3rPDMvbz2vUDa','C3vKBW','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','B3b0Aw9UCW','y2f0y2G','BwnWlxnKAY1JBgLLBNqTzxjYB3i','zgvLCgLUzNjH','igLZig5VDcb2ywXPzcbvveyToc4','ChjLCgfYzunHBgXiAwvYyxjJAhK','B3bLBMfPlxjLC3bVBNnLCY13CW','lM1QCW','zgvSzxrLigvUzeXPBMu','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','ugf0y2GGy29UDgfPBNmGBM8GB3bLCMf0Aw9UCY4','uefusa','C2HHmJu2','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','CMvXDwvZDfrPBwvVDxrnCW','D29YA3nWywnLu3LTyM9S','tuLosu1bwf9bueLFs0vz','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','CMvNzxG','ig9WzxjHDgLVBNmU','yNjVA2vU','ktSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','Aw1Hz2u','yxnPzgu','BMv3tgLUzunVDw50','B3nJ','A2LSBgvK','AxndB250zxH0','DhnZzxj2zxiUANm','l29WDc9OB21LyNjLDY9IAw4VCMC','ignVBNrHAw5Zie5vtcbIExrLCY4','uhjVz3jHBuzPBgvZkhG4nIK','DMvYAwzPzxi','y2XPzw50CW','DhvWBgu','CMvWBgfJzsbYyw5NzsbB','CMfJzq','C3rHBgvFC25HChnOB3q','ignOyxjHy3rLCNm','ls1MB2XSB3C','ig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYihbHDgnOlG','BgfUz18','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','DxrTx21LzgL1Bq','BM93','Dg9Rzw5Z','thnW','zw51Bq','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB3v0Chv0qNvKz2v0qNL0zxmU','qxbWBgLLzca','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','cMbGya','ywDLBNrZ','B3bLBMnVzguTz28','igfUy2HVCMvKig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYigvKAxqU','D3jPDgu','CMvZzxj2yxrPB25Z','CMvXDwLYzwrmAw5LCW','y29UDgv4DeXPBMS','CMLWz3jLCa','z2L0AhvI','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','Dg9KB3ncEvnLC3nPB24','yxbWzw5K','yMLVBwu','y29Kzq','DxrTx3nVDxjJzq','cGOTls0kcG','zgLZy292zxj5','ig1Z','y29UzMLYBwvK','ChjVy2vZCW','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','z2v0','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','B2zM','igrPzcbUB3qGBwf0y2GGDgHLigLUDgvUzgvKignVBNrLBNqGywz0zxiGD3jPDgLUzY4','ywXSB3DLzerPCNm','BwnWxW','A2LTAq','Bg9VA3vW','zM9Yy2u','C3rHDgu','ig11C3qGyMuGysbWB3nPDgL2zsbZywzLigLUDgvNzxi7igDVDca','vw5HyMXLihrVihjLywqG','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','AwDUB3jL','ue9tva','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','zMLSzunVDw50','zxH0zw5ZAw9UCW','ndCXnZiXnLL6sg5KBW','AxnbCNjHEq','y2XPzw50twv0ywrHDgfvCMW','C3rKzxjY','Dg9VBa','BgfIzwW','Dg9ju09tDhjPBMC','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','yNL0zuXLBMD0Aa','y2XPzw50sw5MB3jTyxrPB24','y2XVC2u','ywXSB3DLzfrVB2XZ','mty1nJm4mNDtrKTMrW','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','C3rHBgvFC25HChnOB3q6ihrOzsbMAwXLignOyw5NzwqGC2LUy2uGC25HChnOB3qG','igj5DgvZlcbLEgnLzwrPBMCGDgHLia','BMv4DeXPBMvtDgfYDa','CgfJA2fNzs5QC29U','CMvWBgfJzs5ZDgfYDeXPBMu','zMXVB3i','C3bHD24','ihrPBwvKig91DcbHzNrLCIa','Aw1Hz2uVANbLzW','ie9sia','z29uB0rLzMLUAxrPB24','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','C3jJl2v4yw1WBgvZl2rLBw8UDhm','Aw52ywXPzf90B3bPyW','zxHLyW','B3rOzxi','C2vHCMnOugfYyw1Z','y2fJAgvK','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','C3rHBgvFC25HChnOB3q6ifvUywjSzsb0BYbYzwfKia','CgLK','B3v0Chv0qNvKz2v0qNL0zxm','v0vcua','B25szwrPCMvJDa','Dgf2AwX5','zMLSBa','zgvSzxrLq291BNq','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','u0Lhs0Lmta','t1bftLjpvvrfuL9bueLFs0vz','phn5C3rLBs1Yzw1PBMrLCJ4','r3jLCa','r09pr0Xfx0ntrv9lrvK','zw5JB2rL','Bw9Kzq','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','AM9PBG','igzVCIbHBIbHBMnOB3jLzcbLzgL0icG','q0rqqvri','lI4U','CMvJzw5JEurHExm','CNvUBMLUzW','Ahr0Chm6','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','C2vZC2LVBKLK','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','B2jZzxj2yxrPB25Z','AxngAwXL','D2LUmZi','uMvHC29UAw5NigrLzMf1BhqGiG','AMf2yxnJCMLWDhjLywn0','tM8GzgLHz25VC3rPy3m','Aw5Zzxj0igXPBMuG','B3bLCMf0Aw9UCW','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','ywrHChrPDMu','zgvSzxrLlMvUzeXPBMu','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','zgvSzxrLihn0yxj0tgLUzsbTDxn0ig5VDcbLEgnLzwqGzw5KtgLUzs4','Aw5JBhvKzxm','y29UDgvUDa','C291CMnLrw5K','Aw50zxjUywXmAwzLy3LJBgu','y3jLyxrLzef0','lMjPBG','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','qxqGBgvHC3qGB25LigfUy2HVCMvKig9WzxjHDgLVBIbPCYbYzxf1AxjLzc4','y3nP','Dg9VBfbLCM1PC3nPB25Z','Dg9Rzw5tDg9YywDLs2v5','DgLTzw91De1Z','BgfZDeLUzgv4t2y','Bwf4q29Uy3vYCMvUDa','Dw5RBM93BL9ZBMfWC2HVDdOGvw5HyMXLihrVihjLywqG','ignVBxbSzxrLzc4','CMvJzw5JEq','C3rKB3v0','vw50AxrSzwq','ls1NBg9Ipq','Dw5ZzwvUx2XPBMvZoIb0AguGCMvXDwLYzwqGBgLUzxmGBxvZDcbIzsbVyNnLCNzLzcbIEsbgAwXLuMvHzcbIzwzVCMuGDgHLEsbJyw4GyMuGDxnLzcbHCYbLzgL0igfUy2HVCNmU','ywnXDwLYzq','Aw5Zzxj0','Cg9ZAxG','zMLUza','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','Dhj1BMnHDgvK','Bwf4ugf0Ahm','B3v0y29Tzq','Cg9ZAxrPB24','C3rYAw5NAwz5','CMvHzen1CNnVCG','ig1PEgvZieXgigfUzcbduKXgigXPBMuGzw5KAw5NCY4','zgvSzwDHDgvKlxj1BI0','Ahr0Ca','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','CMvJB3jK','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','igzYB20G','tM8GC3vJAcbMAwXLoIaN','C3rYAw5N','Ec1HCgKTA2v5','BNv2Aw4','Dg9VBenHBgXjza','DhjHBNnMB3jTCW','Bwf0y2HdB3vUDa','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','y29UzMLN','CMvWBgfJzsbZDgfYDeXPBMuGBxvZDcbUB3qGzxHJzwvKigvUzeXPBMuU','zgvZy3jPChrVCNm','mJiYnNn5DfvoyW','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','C2v0DgXLvgvYBwLUywW','yxjYyxK','Aw5PDgLHBgL6yxrPB24','BgLMzwn5y2XL','yxnZAwDU','yxbPs2v5','vg9WAwmGC2v0ihrVici','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','BwLU','CgfJA2fNzu5HBwu','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','Aw5Zzxj0ignVBNrLBNqGBxvZDcbIzsbHihn0CMLUzY4','ywz0zxi','BgLUzvrLEhq','DgvYBwLUyxrPB25qCM9TAxnL','CM9VDfbPza','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','C2LNBMfSqwrHChrLCG','uhvIBgLZAgvKoIa','vw5RBM93BIb0B29SoIa','Dg90ywXcExrLCW','C29YDa','CgfNzw1HCa','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB2jZzxj2yxrPB25ZlG','CMvWBgfJzs5LBMrmAw5L','AgvHzgvY','lMn0CW','zgvSzxrL','C2v0vg9KB3m','Aw1Hz2vZ','lMnQCW','C3rVCMfNzurPCG','CMvXDwvZDhm','yw1IAwD1B3vZx3nUyxbZAg90x3rHzW','DgvYBwLUywXtzxr0BgvK','Dg9WAwm','z29Vz2XLlwnZzq','igzVCIbHBIbHBMnOB3jLzcbZBMfWC2HVDcaO','z2v0u3rHDhm','y2HHCKnVzgvbDa','uMuTCMvHzcb0AguGCMvXDwLYzwqGBgLUzxmGD2L0AcbgAwXLuMvHzcbHBMqGCMv0CNKGD2L0Acb0AguGzNjLC2GGDgfNlG','CMvMAw5L','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','Bg93','C291CMnLu3rHCNq','C2vYDMvYswq','lu5Vtg9NBW','C2vTyxbOB3jL','D29YA3nWywnL','CMvJB3jKtM9dAgfUz2u','z3jVAW','ywDLBNrjza','EwfYBI5SB2nR','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','zw52','B3v0z29PBMDdywXSCW','BgLZDgvU','y29TBwfUzhm','Dg9KB3m','C3jJl3rVB2XZl2nVCMuVBw9JAY10B29Slxj1BNrPBwuUDhm','y2fUrgLZywjSzq','D2HLCMuGCMC','BwfW','Dw5RBM93BG','zw5HyMXLza','zgvSzxrLihjHBMDLifS','xqPgAwXLihDYAxr0zw4GyxqG','DMfSDwu','C3bSAwnL','Cgf0Aa','D2fPDezVCKrPywDUB3n0AwnZ','zw9S','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','EMfP','Bgv4AwnHBfbHDgG','yNvMzMvYq2HHCNm','Bg9JyxrPB24','y3vZDg9T','mtCYlJe2lJaUma','BgLUzu51BwjLCNm','zMv0y2HjBxbS','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','vw5ZywzLig9Yig1PC3nPBMCGv2LUzg93CYbYB290ihbPza','zg9TywLUCW','DgfZAW','Bg9HzenVBw1HBMq','B2f1DgG','pc9ZExn0zw0TCMvTAw5Kzxi+','CgLWzq','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','r0LgodLH','y21KlMv4zq','y29KzvbVAw50qxq','ienHDxnLoIa','mtKYlJaUmc4W','zxf1ywXZ','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','Bw9VBNnOB3q','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','v2vIrMv0y2G','igLZihbHC3qGDgHLigvUzcbVzIb0AguG','BgL0zxjHBa','v2fYBMLUzW','igj5DgvZlG','ywXSu2v0DgXLza','Aw52ywXPzf90B2rVx3n0yxr1CW','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','zgLZCg9Zzq','y3jSzG','sgLUDa','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0ig5VDcbJB250ywLUignHCNjPywDLihjLDhvYBNmU','DxrTx2nVBNrLBNq','CNnZ','igj5DgvZ','C3bSAwnLsw5KzxG','rM91BMqG','mty5lJi1nc4WlJa','BgvUz3rO','Dg9VBenHBgW','C2L6zq','vgHLigzPBguGywXYzwfKEsbTyxrJAgvZihrOzsbPBNrLBMrLzcbYzxn1Bhq7ig5VihDYAxrLihDHCYbTywrLlIbszs1YzwfKihDPDgGGrMLSzvjLywqGyMvMB3jLihjLDhj5Aw5NlG','vg90ywWGyxv0Ag9YzwqGCMvWBgfJzw1LBNqGy29UDgvUDcbTDxn0igjLigf0ig1VC3qG','C2LNBMfS','igj5DgvZicH0B3rHBdOG','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','ksbB','yxrVBwLJv3jPDgu','y29UBMvJDa','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','BM9Kzv9TB2r1BgvZ','z29uB0LTCgXLBwvUDgf0Aw9U','BM9Zy3jPChq','BgLUzvn0yxj0','Dgf2AwX5qxbPs2v5','Cgf0y2G','CgXHAw50zxH0','yM94zwq','revfufnfruTFqvbjx0Tfwq','C3LTBgLUAW','BgLTAxq','u0HfteW','tunqihnLCNzLCIa','Dgv4Da','Aw1Hz2uVD2vICa','Aw50','BM9Fy2HHBMDLoIb0AguGCMvXDwvZDgvKigvKAxqGD291BgqGBgvHDMuG','lunVBw1HBMq','yxr4','zxHPDcbJB2rLia','DxbKyxrL','AxngAw5PDgu','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','BxvSDgLtzwXLy3q','BMv3u3rHCNrmAw5L','Aw52ywXPzf90B2rVx2LK','BNbT','BgLUzu51Bq','vw5HyMXLihrVihrLCM1PBMf0zsbIywnRz3jVDw5KihbYB2nLC3nLCZSGC2vZC2LVBIbVD25LCNnOAxaGD2fZihbYzxnLCNzLzc4','lwj5DguGyM91BMq7ig5HCNjVDYb0AguGzwrPDcbYyw5NzsbHBMqGCMv0CNKU','B3zLCMXHChbPBMDFB3bLCMf0Aw9UCW','o1TE','ywXS','zM9Yy2vszxf1zxn0zwq','BhnWlxbYB3H5','rvnsq0G','yw5UB3rHDgLVBNm','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','BwnWlxrVB2WTy2fSBc1MywLSzwq','DgHLBG','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','zNjVBuvUDhjPzxm','zMLSzvbHDgG','C2vUze5VDgLMAwnHDgLVBG','C3rKAw8','B25LCNjVCG','zxzPy3rmzwfZDfjLy2vUDgX5vxnLzfbHDgG','s2LSBgvKia','qKftsf9ftLy','CgfJA2fNzxm','BgLZDfrVB2XZ','C3rHCNrZv2L0Aa','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','qwDLBNqGCNvUia','lMPZB24','y2XPzw50x3nLy3jLDf9WB3n0','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','C29Tzq','Dg9mB3DLCKnHC2u','yxnRvxnLCG','CMvZzxroB0nOyw5Nzq','DMfSDwvZ','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','C2fMzq','yMLUyxj5tMfTzq','yw5ZD2vYCW','zwzMB3j0','C3LZDgvTuhjVBxb0','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','CMvMCMvZAf90B2TLBG','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','mtKYlJe2oc4WlJa','DxrMoa','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','l2jPBI9YzW','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','BwvTB3j5','D3jPDgvFzMfPBgvKoIbgywLSzwqGDg8GD3jPDguG','C2vUza','Aw52ywXPzf90B2rVx2L0zw0','AxnbyNnVBhv0zq','AgfZt3DU','DgvYBwLUywXqCM9TAxnL','D3jPDgvFzMfPBgvK','B2XKtgLUzunVDw50','Dg90ywXqCM9KDwnLza','y2fUB25Py2fS','B2jZzxj2zwrmAw5LCW','lMPZEa','DxrTx2nHBxbHAwDU','t1bftKnprevFqvbjx0Tfwq','s2LSBfnOzwXS','Dw5ZzwvUx2XPBMvZ','C291CMnL','mc4WlJa','zxHPDenVzgu','mJvzwM5ur2G','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','B2XKrw5KtgLUzq','C3rHDhvZ','zgnZ','DxjS','zxHPDa','B3v0Chv0uMvNzxG','uMvHC29UAw5Nig9WDgLVBIaI','C3rKB3v0rgvJB2rLCG','yxjNDw1LBNroyw1LCW','yMfZAa','Bg9HzfnRAwXS','B3v0Chv0','mty3nJC1nKXvuufeDW','DgvYBwLUyxrPBMC'];_0x3ec8=function(){return _0x2e6c39;};return _0x3ec8();}function prepareCanonicalFileEdit(_0x9e69ed,_0x125dd1,_0x497036){const _0x3f5ebc={_0x575f39:0x21d,_0x2d51fd:0xfd,_0xc0621b:0x590,_0x3f8489:0x4e2,_0x5b2012:0x6d1,_0x288a71:0x988,_0x22b82c:0x779,_0x2cf036:0x94d,_0x57e2f3:0x781},_0x5d7aa8={_0x382663:0x1a8},_0x26bdf1={_0x56a61f:0x1e9,_0x31b9e0:0x3},_0x13fbed=planOperations(_0x9e69ed,_0x497036);assertNoOverlaps(_0x13fbed);const _0x28db16=assertLinesObserved(_0x13fbed,_0x125dd1),_0x96168c=applyOperations(_0x9e69ed,_0x13fbed);if(_0x96168c===_0x9e69ed['text'])throw createAnchoredFileError(_0x55032a(0x234,_0x3f5ebc._0x575f39,0x5d,_0x3f5ebc._0x2d51fd),_0x4212b6(0x6fc,_0x3f5ebc._0xc0621b,_0x3f5ebc._0x3f8489,_0x3f5ebc._0x5b2012));function _0x55032a(_0x40d5f1,_0x5adc12,_0x495502,_0x47cc78){return _0x47b891(_0x40d5f1,_0x5adc12- -_0x26bdf1._0x56a61f,_0x495502-0x183,_0x47cc78-_0x26bdf1._0x31b9e0);}function _0x4212b6(_0x595c27,_0x5e0b2d,_0x5923a1,_0x191c06){return _0xe18bb0(_0x5923a1,_0x5e0b2d-0x609,_0x5923a1-_0x5d7aa8._0x382663,_0x191c06-0x1c3);}const _0xa15ea3=_0x13fbed[_0x4212b6(_0x3f5ebc._0x288a71,_0x3f5ebc._0x22b82c,_0x3f5ebc._0x2cf036,_0x3f5ebc._0x57e2f3)](_0x53fdaf=>_0x53fdaf['canonical']),_0x3da19f=computeFinalFileNewSideLines(_0x13fbed);return{'afterText':_0x96168c,'operations':_0xa15ea3,'blocks':_0x13fbed[_0x4212b6(0x6e5,_0x3f5ebc._0x22b82c,0x58b,0x665)]((_0x45ccff,_0x15602)=>{const {newStartLine:_0xac46f4,newEndLine:_0x3ccf77}=_0x3da19f[_0x15602];return buildBlock(_0x9e69ed,_0x45ccff,_0xac46f4,_0x3ccf77);}),'requiredLines':_0x28db16,'payloadDigest':sha256Bytes(stableStringify(_0xa15ea3))};}import _0x56c308 from'string-width';var EMPTY_FILE_MESSAGE=_0x47b891(0x4a7,0x445,0x549,0x4a6);function clampLine(_0x1920e3,_0x5c3556){const _0x2c6854={_0x421b4d:0x28e,_0x2fbf54:0x33f,_0x586cd4:0x327,_0x38e7e4:0x1e7},_0x5c7edb={_0x113c9f:0x13},_0x25f4ae={_0x4b474a:0x332};if(!Number[_0x3f64d7(_0x2c6854._0x421b4d,0x343,_0x2c6854._0x2fbf54,_0x2c6854._0x586cd4)](_0x1920e3))return 0x1;function _0x3f64d7(_0x265a8c,_0x413c47,_0x1461bb,_0x35dcd0){return _0x47b891(_0x1461bb,_0x35dcd0- -_0x25f4ae._0x4b474a,_0x1461bb-0x12a,_0x35dcd0-0x179);}function _0x47168e(_0x2757bc,_0x337406,_0xefca25,_0x484a47){return _0xe18bb0(_0x2757bc,_0x337406- -_0x5c7edb._0x113c9f,_0xefca25-0x9a,_0x484a47-0x16b);}return Math['max'](0x1,Math[_0x3f64d7(_0x2c6854._0x38e7e4,0x245,0x2ce,0x299)](Math['trunc'](_0x1920e3),_0x5c3556));}function formatAnchoredFileRead(_0x3d7852){const _0x129dee={_0x23f0e6:0x414,_0x4385cf:0x76c,_0x2b1137:0x748,_0x25cc46:0x869,_0x56c2a1:0x463,_0x5a7b5e:0x412,_0x350f50:0x4b2,_0x5c5cf3:0x542,_0x23c2fd:0x1ff,_0x4e451f:0x3a7,_0x59efea:0x3af,_0x6f7bba:0x153,_0x3cc1a5:0x29f,_0x3c8dbd:0x132,_0x3d1b92:0x277,_0x2f4010:0x1ae,_0x3eb93d:0x370,_0x24def3:0x11e,_0x3b4cd7:0x373,_0x64a133:0x820,_0x20003f:0x919,_0xf787a3:0x134,_0x4e6a88:0x1f8,_0x4c085a:0x3bd,_0x518f73:0x2d3,_0x375449:0xf6,_0x5034d6:0x11c,_0x3776c1:0x66,_0x4ec031:0x9a,_0x3e7408:0x7da},_0x5c1984={_0x49574b:0xd8},_0x2cd775={_0x173e0a:0xb},{displayPath:_0x5a597d,snapshot:_0x263119,maxBytes:_0x173299}=_0x3d7852;function _0x33abe5(_0x4c9e80,_0x44786b,_0x4d9d14,_0x2c7825){return _0x47b891(_0x4d9d14,_0x44786b- -0x2a0,_0x4d9d14-_0x2cd775._0x173e0a,_0x2c7825-0x156);}const _0x1650e9=_0x263119[_0x3478e7(0x5dd,0x5a7,_0x129dee._0x23f0e6,_0x129dee._0x4385cf)][_0x3478e7(_0x129dee._0x2b1137,0x7cb,_0x129dee._0x25cc46,0x7b0)],_0x28f003='['+_0x5a597d+'#'+_0x263119[_0x33abe5(0x473,0x4b7,0x3f8,_0x129dee._0x56c2a1)]+']\x0a',_0x30625d=Buffer[_0x33abe5(0x3ea,0x2a8,_0x129dee._0x5a7b5e,_0x129dee._0x350f50)](_0x28f003,_0x33abe5(0x5b6,0x3ed,_0x129dee._0x5c5cf3,0x4ae));if(_0x1650e9===0x0){const _0x157931=''+_0x28f003+EMPTY_FILE_MESSAGE+'\x0a';return{'output':_0x157931,'displayedLines':[],'truncated':![]};}const _0x33e1d8=clampLine(_0x3d7852[_0x33abe5(_0x129dee._0x23c2fd,_0x129dee._0x4e451f,_0x129dee._0x59efea,0x461)]??0x1,_0x1650e9);function _0x3478e7(_0x2a954f,_0x33fb54,_0x313954,_0x52de54){return _0x47b891(_0x52de54,_0x33fb54-0x193,_0x313954-_0x5c1984._0x49574b,_0x52de54-0xc1);}const _0x36dd74=clampLine(_0x3d7852['lineEnd']??_0x1650e9,_0x1650e9),_0x454860=Math[_0x33abe5(0x268,0x32b,_0x129dee._0x6f7bba,_0x129dee._0x3cc1a5)](_0x33e1d8,_0x36dd74),_0x3aafdd=Math[_0x33abe5(-_0x129dee._0x3c8dbd,0xde,_0x129dee._0x3d1b92,_0x129dee._0x2f4010)](_0x33e1d8,_0x36dd74),_0x4b62e0=[],_0x5639b9=[];let _0x280c9b=_0x30625d;for(let _0x1c05e8=_0x454860;_0x1c05e8<=_0x3aafdd;_0x1c05e8+=0x1){const _0x2834a2=_0x1c05e8+':'+_0x263119['lines'][_0x1c05e8-0x1]+'\x0a',_0x460dcd=Buffer[_0x33abe5(_0x129dee._0x3eb93d,0x2a8,_0x129dee._0x24def3,_0x129dee._0x3b4cd7)](_0x2834a2,_0x3478e7(0x951,_0x129dee._0x64a133,0xa2f,_0x129dee._0x20003f)),_0x509859=_0x1c05e8+0x1,_0xcb67b1=Buffer['byteLength'](_0x33abe5(-0xa1,_0x129dee._0xf787a3,_0x129dee._0x4e6a88,0x1b4)+_0x509859+'.\x0a',_0x33abe5(_0x129dee._0x4c085a,0x3ed,0x5b2,0x42c));if(_0x280c9b+_0x460dcd+_0xcb67b1>_0x173299){const _0x3518e1='Read\x20the\x20next\x20range\x20with\x20lineStart:\x20'+_0x1c05e8+'.\x0a';return{'output':''+_0x28f003+_0x4b62e0[_0x33abe5(0x25b,_0x129dee._0x518f73,_0x129dee._0x375449,0x3a1)]('')+_0x3518e1,'displayedLines':_0x5639b9,'lineStart':_0x454860,'lineEnd':_0x5639b9[_0x5639b9['length']-0x1],'truncated':!![],'nextLineStart':_0x1c05e8};}_0x4b62e0[_0x33abe5(0x1d9,_0x129dee._0x5034d6,-_0x129dee._0x3776c1,_0x129dee._0x4ec031)](_0x2834a2),_0x5639b9['push'](_0x1c05e8),_0x280c9b+=_0x460dcd;}return{'output':''+_0x28f003+_0x4b62e0[_0x3478e7(0x7b4,0x706,0x728,_0x129dee._0x3e7408)](''),'displayedLines':_0x5639b9,'lineStart':_0x454860,'lineEnd':_0x3aafdd,'truncated':![]};}function isWithinDisplayColumns(_0x9c1909,_0x57c969){return _0x56c308(_0x9c1909)<=_0x57c969;}import{randomUUID}from'crypto';import{chmod,rename,rm,writeFile as _0x43ca5e}from'fs/promises';import*as _0x234993 from'path';var defaultFileSystem={'writeFile':_0x43ca5e,'chmod':chmod,'rename':rename,'rm':rm};async function atomicReplaceFile(_0x596e67,_0x4a80d4,_0x573a14,_0x55b687){const _0x4c04cb={_0x3871e8:0x4f,_0x11cb56:0x4a5,_0x84ffb2:0x315,_0x3eed37:0x2c0,_0x4b1131:0x28a,_0x1aec3c:0x29b,_0x50bd78:0x3fd,_0x185f9f:0x380,_0x36f7b2:0x22f,_0x2457eb:0x5f4},_0x1972ec={_0x21f822:0x10d},_0x9140c8={_0x500d00:0x145,_0x133054:0x108};function _0x2f41e2(_0x36905e,_0x5da02d,_0x3e9e8e,_0x27eb69){return _0xe18bb0(_0x5da02d,_0x36905e-0x396,_0x3e9e8e-_0x9140c8._0x500d00,_0x27eb69-_0x9140c8._0x133054);}const _0x1d8240=_0x55b687??defaultFileSystem;function _0x570caa(_0x1efdc2,_0x2169b2,_0x2f92ef,_0x1776ff){return _0xe18bb0(_0x2169b2,_0x1efdc2-0x215,_0x2f92ef-0x1b2,_0x1776ff-_0x1972ec._0x21f822);}const _0x5c4efc=_0x234993[_0x570caa(0x1bf,-_0x4c04cb._0x3871e8,0x2f3,0x39)](_0x596e67),_0x1b6ed7=_0x234993[_0x2f41e2(0x478,_0x4c04cb._0x11cb56,_0x4c04cb._0x84ffb2,_0x4c04cb._0x3eed37)](_0x5c4efc,'.tmp.'+_0x234993[_0x2f41e2(_0x4c04cb._0x4b1131,0x248,0x252,0x354)](_0x596e67)+'.'+randomUUID()),_0xba1f1d=_0x573a14&0xfff;try{await _0x1d8240[_0x570caa(0x14c,0x46,-0xa7,0x29)](_0x1b6ed7,_0x4a80d4,{'mode':_0xba1f1d}),await _0x1d8240[_0x2f41e2(_0x4c04cb._0x1aec3c,_0x4c04cb._0x50bd78,_0x4c04cb._0x185f9f,_0x4c04cb._0x36f7b2)](_0x1b6ed7,_0xba1f1d),await _0x1d8240[_0x2f41e2(0x5f2,_0x4c04cb._0x2457eb,0x707,0x5f8)](_0x1b6ed7,_0x596e67);}finally{await _0x1d8240['rm'](_0x1b6ed7,{'force':!![]});}}var utf8Decoder=new TextDecoder('utf-8',{'fatal':!![],'ignoreBOM':!![]});function exactReplacementGuidance(_0x4fe6c3,_0x2c0e42){const _0x27f925={_0xcb69ba:0x9e,_0x305dc0:0x8,_0x39f788:0x1bd},_0x361301={_0x10f7ec:0x8b},_0x216737={_0x1571bc:0x51b,_0x3c65f3:0x31};function _0x13f734(_0x3a8d50,_0x1a0974,_0x21e9cf,_0x11093a){return _0xe18bb0(_0x1a0974,_0x11093a-_0x216737._0x1571bc,_0x21e9cf-_0x216737._0x3c65f3,_0x11093a-0x107);}function _0x24010a(_0x315d22,_0x2e1fe0,_0x1de8c1,_0xc4f0cb){return _0x47b891(_0x315d22,_0x2e1fe0- -0x3a2,_0x1de8c1-0x140,_0xc4f0cb-_0x361301._0x10f7ec);}throw createAnchoredFileError(_0x24010a(-_0x27f925._0xcb69ba,_0x27f925._0x305dc0,-0x135,0x1f),_0x2c0e42+'\x20'+_0x4fe6c3+_0x24010a(0x454,0x3af,_0x27f925._0x39f788,0x2f2),{'path':_0x4fe6c3});}function createNormalizedFileSnapshot(_0x3861d4,_0x35ea86,_0x1e2857){const _0x4e60c1={_0x458caf:0x4d,_0x15b80e:0x7e,_0x5df3b1:0x5b5,_0xda79aa:0x55a,_0x207321:0x3a5,_0x4fa3bc:0x346,_0xd1b6df:0x2ea,_0x103491:0x29,_0xbfde4c:0x3d,_0x40de65:0x1fe,_0x296930:0x331,_0x40cef8:0x744,_0x2f7ccf:0x4ae,_0x4e3291:0x5a1,_0x4fe747:0xf5,_0x12b090:0x45,_0x4087ae:0x5e1,_0x410117:0x468,_0xdae077:0x40a,_0x5d8887:0x544,_0x3357b6:0x54d,_0x53044f:0x5ef,_0x508741:0x697,_0x1a2d06:0x6b8,_0x332961:0x102,_0x559d9d:0x364,_0x14d961:0x2ba,_0x30d1bc:0x2f1,_0x121abb:0x343,_0x57e425:0x4d3,_0x1e9cd0:0x555,_0x23b29e:0x48a,_0x436fdc:0x361,_0x1f31ad:0x37,_0x30c606:0x18d,_0x2cabbf:0x24a,_0x4a011e:0x181,_0x546210:0xf3,_0xc3ff8a:0x1ec,_0x357d2b:0x22d,_0x11654a:0x16b,_0x14046a:0x28b,_0xe58d02:0x1b4},_0x381801={_0x12ddaa:0x448},_0x57eaf8={_0x325c67:0x1c8};Buffer[_0x32a3b2(-0xfe,0x1f,_0x4e60c1._0x458caf,_0x4e60c1._0x15b80e)](_0x35ea86)['includes'](0x0)&&exactReplacementGuidance(_0x3861d4,_0x32a3b2(_0x4e60c1._0x5df3b1,_0x4e60c1._0xda79aa,0x40e,_0x4e60c1._0x207321)+_0x3861d4+_0x32a3b2(_0x4e60c1._0x4fa3bc,_0x4e60c1._0xd1b6df,0x24b,0x1a6));let _0x304956;function _0x32a3b2(_0x3ac969,_0x1b331d,_0x1d8397,_0x237b1d){return _0x47b891(_0x3ac969,_0x237b1d- -0x35c,_0x1d8397-_0x57eaf8._0x325c67,_0x237b1d-0x1c1);}try{_0x304956=utf8Decoder[_0x32a3b2(_0x4e60c1._0x103491,-0x1d2,-0x16,_0x4e60c1._0xbfde4c)](_0x35ea86);}catch{exactReplacementGuidance(_0x3861d4,_0x32a3b2(_0x4e60c1._0x40de65,0x336,0x3c4,0x3a5)+_0x3861d4+_0x32a3b2(0x382,0x24b,_0x4e60c1._0x296930,0x18b));}const _0x3cd2d6=_0x304956[_0x565338(_0x4e60c1._0x40cef8,_0x4e60c1._0x2f7ccf,0x62e,_0x4e60c1._0x4e3291)](0x0)===0xfeff;if(_0x3cd2d6)_0x304956=_0x304956[_0x32a3b2(-0x190,0xa,_0x4e60c1._0x4fe747,_0x4e60c1._0x12b090)](0x1);const _0x1d1fac=_0x304956[_0x565338(_0x4e60c1._0x4087ae,_0x4e60c1._0x410117,_0x4e60c1._0xdae077,_0x4e60c1._0x5d8887)]('\x0d\x0a'),_0x10c54a=/(?<!\r)\n/[_0x565338(0x539,_0x4e60c1._0x3357b6,0x510,0x688)](_0x304956);_0x1d1fac&&_0x10c54a&&exactReplacementGuidance(_0x3861d4,_0x565338(0x678,_0x4e60c1._0x53044f,_0x4e60c1._0x508741,_0x4e60c1._0x1a2d06)+_0x3861d4+_0x32a3b2(_0x4e60c1._0x332961,_0x4e60c1._0x559d9d,_0x4e60c1._0x14d961,0x253));const _0x2c027f=_0x1d1fac?_0x32a3b2(_0x4e60c1._0x30d1bc,0x4ac,0x304,0x2d3):'lf',_0x43077d=_0x1d1fac?_0x304956[_0x32a3b2(0x4d2,_0x4e60c1._0x121abb,0x537,0x3f8)](/\r\n/g,'\x0a'):_0x304956,_0x1fd5ae=_0x43077d[_0x32a3b2(_0x4e60c1._0x57e425,_0x4e60c1._0x1e9cd0,_0x4e60c1._0x23b29e,_0x4e60c1._0x436fdc)]('\x0a'),_0x551411=_0x43077d===''?[]:_0x43077d['split']('\x0a')[_0x32a3b2(_0x4e60c1._0x1f31ad,-_0x4e60c1._0x30c606,0x151,0x45)](0x0,_0x1fd5ae?-0x1:void 0x0),_0x23c9ce=sha256Bytes(_0x43077d);function _0x565338(_0xed65bd,_0x1ac0c0,_0x3f2d34,_0x5aa6dd){return _0xe18bb0(_0x1ac0c0,_0x5aa6dd-_0x381801._0x12ddaa,_0x3f2d34-0x142,_0x5aa6dd-0x16d);}const _0x2bd683=_0x23c9ce['slice'](0x0,0xc)[_0x32a3b2(0x2ea,_0x4e60c1._0x2cabbf,_0x4e60c1._0x4a011e,_0x4e60c1._0x546210)]();return{'canonicalPath':_0x3861d4,'text':_0x43077d,'lines':_0x551411,'finalNewline':_0x1fd5ae,'bom':_0x3cd2d6,'eol':_0x2c027f,'digest':_0x23c9ce,'tag':_0x2bd683,'utf8Bytes':Buffer[_0x32a3b2(0x18c,0x39,-0xb,_0x4e60c1._0xc3ff8a)](_0x43077d,'utf8'),'recordedAt':_0x1e2857??Date[_0x32a3b2(_0x4e60c1._0x357d2b,_0x4e60c1._0x11654a,_0x4e60c1._0x14046a,_0x4e60c1._0xe58d02)]()};}function serializeNormalizedFile(_0x3399f0,_0x5ce23f){const _0x56156b={_0x106d84:0x7b,_0x372a23:0x3f,_0x2d8098:0x11,_0x158821:0x2c1,_0x274d1c:0x315,_0x4eaa69:0xdc,_0x4901ba:0x1da,_0x185606:0x15e,_0x30b7e8:0x24e,_0x118e37:0x158,_0x2a7e2b:0x217,_0x28482c:0x31e},_0x2df19b={_0x2c5ffd:0xb5},_0x18005b=_0x5ce23f[_0x54c128(_0x56156b._0x106d84,-_0x56156b._0x372a23,-_0x56156b._0x2d8098,0x255)]==='crlf'?_0x3399f0[_0x4defdc(_0x56156b._0x158821,0x1f7,_0x56156b._0x274d1c,0x4cd)](/\n/g,'\x0d\x0a'):_0x3399f0;function _0x54c128(_0x445504,_0x2cbc69,_0x271585,_0xc1e7c9){return _0xe18bb0(_0xc1e7c9,_0x445504- -0xfe,_0x271585-0xe6,_0xc1e7c9-0x18f);}function _0x4defdc(_0x51ddcc,_0x29227d,_0x3d8504,_0x5a08ae){return _0x47b891(_0x29227d,_0x3d8504- -0x43f,_0x3d8504-0x1a6,_0x5a08ae-_0x2df19b._0x2c5ffd);}const _0x172986=Buffer[_0x4defdc(-_0x56156b._0x4eaa69,0x181,-0x65,0x3d)](_0x18005b,_0x4defdc(_0x56156b._0x4901ba,_0x56156b._0x185606,_0x56156b._0x30b7e8,_0x56156b._0x118e37));return _0x5ce23f['bom']?Buffer[_0x4defdc(0x1ee,_0x56156b._0x2a7e2b,_0x56156b._0x28482c,0x279)]([Buffer['from']([0xef,0xbb,0xbf]),_0x172986]):_0x172986;}var MAX_ANCHORED_OPERATIONS=0x64,MAX_ANCHORED_CONTENT_BYTES=0x100*0x400,textEncoder=new TextEncoder();function utf8Bytes(_0x41ddcc){const _0x3aaf9d={_0x541571:0x615,_0x5a7e3f:0x55b,_0x1bb9d2:0x585,_0x14d242:0x4c2},_0x1e6c6e={_0xd8e8fa:0x536,_0xe94edc:0x1b1,_0x3b1b61:0xd4};function _0x92d568(_0x58842f,_0x4e5a3c,_0x367399,_0x113f5c){return _0xe18bb0(_0x367399,_0x113f5c-0x4a5,_0x367399-0x107,_0x113f5c-0x1d);}function _0x329a27(_0x476c90,_0x15255e,_0x351457,_0x36094d){return _0xe18bb0(_0x476c90,_0x36094d-_0x1e6c6e._0xd8e8fa,_0x351457-_0x1e6c6e._0xe94edc,_0x36094d-_0x1e6c6e._0x3b1b61);}return textEncoder[_0x329a27(0x818,0x80a,0x63b,_0x3aaf9d._0x541571)](_0x41ddcc)[_0x92d568(_0x3aaf9d._0x5a7e3f,_0x3aaf9d._0x1bb9d2,_0x3aaf9d._0x14d242,0x64c)];}var TAG_PATTERN=/^[0-9A-F]{12}$/,replaceOperationSchema={'type':_0x47b891(0x50e,0x6e0,0x708,0x8b5),'properties':{'operation':{'type':'string','enum':[_0xe18bb0(0x38b,0x2c3,0xbd,0x384)]},'startLine':{'type':_0x47b891(0x442,0x3d7,0x21a,0x32a)},'endLine':{'type':_0xe18bb0(0x1e,-0xba,-0xec,-0x110)},'content':{'type':_0x47b891(0x59e,0x5b7,0x3cc,0x52c)}},'required':[_0xe18bb0(0x1cc,0x23d,0x73,0x38),_0x47b891(0x69b,0x704,0x569,0x50a),'endLine','content'],'additionalProperties':![]},deleteOperationSchema={'type':'object','properties':{'operation':{'type':'string','enum':[_0xe18bb0(0x1bb,0x14d,0x1c4,0x249)]},'startLine':{'type':_0x47b891(0x455,0x3d7,0x1d8,0x4ce)},'endLine':{'type':_0xe18bb0(-0x25e,-0xba,-0x248,-0x220)}},'required':['operation','startLine','endLine'],'additionalProperties':![]},insertOperationSchema={'type':_0xe18bb0(0x35b,0x24f,0x3e5,0x2c3),'properties':{'operation':{'type':_0xe18bb0(0x304,0x126,0x256,-0x50),'enum':[_0xe18bb0(0x5e,0x112,0x1ff,0x204)]},'position':{'type':_0x47b891(0x573,0x5b7,0x4df,0x6b3),'enum':['before',_0xe18bb0(0x1cc,0x13e,0x159,-0x36)]},'line':{'type':_0x47b891(0x47f,0x3d7,0x336,0x4f5)},'content':{'type':_0xe18bb0(0x12,0x126,0xe9,0x112)}},'required':[_0xe18bb0(0x427,0x23d,0x2a2,0x237),_0x47b891(0x431,0x5ac,0x73e,0x717),_0xe18bb0(0xc2,-0x88,0x45,-0x289),'content'],'additionalProperties':![]},structuredFileEditInputSchema={'type':_0x47b891(0x899,0x6e0,0x577,0x5c7),'properties':{'filePath':{'type':'string'},'tag':{'type':_0x47b891(0x654,0x5b7,0x40d,0x7c4)},'description':{'type':_0x47b891(0x55f,0x5b7,0x697,0x4a6)},'operations':{'type':_0x47b891(0x6fc,0x5c4,0x6dd,0x765),'items':{'anyOf':[replaceOperationSchema,deleteOperationSchema,insertOperationSchema]}},'dryRun':{'type':_0x47b891(0x73d,0x744,0x772,0x87a)}},'required':[_0x47b891(0x4d0,0x66f,0x47f,0x6fd),'tag','operations'],'additionalProperties':![]};function requireValidLineNumber(_0x769d32,_0x237d56){const _0xe7aa99={_0x5c2670:0x890,_0x9af2e8:0x976};function _0x4dc9e4(_0x568b47,_0x468f61,_0x5c6f1e,_0xa699a6){return _0xe18bb0(_0x468f61,_0x568b47-0x496,_0x5c6f1e-0x17a,_0xa699a6-0x138);}function _0x2201b6(_0x58fd9f,_0x40c659,_0x155635,_0x48fef1){return _0xe18bb0(_0x48fef1,_0x155635-0x45,_0x155635-0x146,_0x48fef1-0x141);}if(!Number['isSafeInteger'](_0x769d32)||_0x769d32<0x1)throw createAnchoredFileError(_0x4dc9e4(0x771,0x8ef,_0xe7aa99._0x5c2670,_0xe7aa99._0x9af2e8),_0x237d56+_0x2201b6(0xfd,-0x87,0xec,0x285)+String(_0x769d32)+'.');}function parseStructuredFileEditInput(_0x1f75ae){const _0x5586d8={_0x21eeab:0xe4,_0x17951d:0x9b,_0x43db66:0xa3,_0x27c318:0x13,_0x4ff094:0x21c,_0x312952:0x178,_0x4fff50:0x13,_0x48b18a:0x283,_0x32109b:0x348,_0x536878:0x49d,_0x1180b6:0x4f2,_0x325e8f:0x43a,_0x278a80:0x5dd,_0x519ce2:0xe,_0x422ef8:0x6a,_0x418dca:0x178,_0x228ba4:0x509,_0x2d2bd5:0x28a,_0x215b92:0x23,_0x192b88:0x11e,_0x125c41:0x1e5,_0x240dd5:0x2a,_0x3495e6:0x2fc,_0x112f83:0x3b0,_0x52a955:0x467,_0x4ad066:0x4fe,_0x422078:0x83,_0x5f5d0c:0x25,_0x2a5f61:0x12b,_0x4381ed:0x23d,_0x1aa60d:0x8b,_0x4b2dfb:0xa7,_0x1b0509:0x58,_0x5c58d4:0x1b0,_0x38a368:0xc6,_0x11a2ad:0x284,_0x11a2dc:0x3de,_0x32201c:0x298,_0x43574e:0x363,_0x377eec:0x374,_0x303d8f:0x263,_0xcd6089:0x394,_0x3e135e:0x431,_0x876395:0x3e7,_0x48a0b2:0xd6,_0x540f74:0x69,_0x326e29:0xd7,_0x557f5a:0x1d7,_0x123299:0x21d,_0x5c1ad1:0x160,_0x2d034f:0xb8,_0x45b4cc:0x3d7,_0x4ac277:0xe,_0x7cd9af:0x6c,_0x1e2bc7:0x20d,_0x1cea0f:0x431,_0x571756:0x29a,_0x5670bb:0x32a,_0x292634:0x414,_0x4235e8:0xce,_0x5c24b7:0x15a,_0x6154b5:0x9d,_0x4e8bc3:0x1a,_0x5ba225:0xcc,_0x9a8af4:0xa3,_0xd18259:0x60,_0x3d54cf:0x3bb,_0x1971c5:0x1cf,_0x5cc400:0x17f,_0x3a2f1a:0x103,_0x52c3da:0xb8,_0x2acdc8:0x210,_0x35a70b:0x3a,_0x5825ea:0x71,_0x66cd9d:0x3cf,_0x1350af:0x3d7,_0x506d84:0x29e,_0x492030:0x249,_0xa82002:0x32,_0x4ad979:0xf1,_0x4ba71b:0xfd,_0x91b157:0x467,_0x272a34:0x42d,_0x3f6809:0x1bd,_0x129d58:0x67,_0x3de505:0x8f,_0x146f6f:0x1e3},_0x2d9731={_0x126110:0x1a1,_0x355666:0xf9,_0x48065b:0x68},_0x451598={_0x20b4cd:0xe1,_0x4ac486:0x73},_0x1a9f01=_0x1f75ae;if(_0x1a9f01!==null&&typeof _0x1a9f01===_0x5cf1c1(0x14a,0x6d,_0x5586d8._0x21eeab,0x16e)&&!Array['isArray'](_0x1a9f01)&&Array['isArray'](_0x1a9f01[_0x5cf1c1(0x1ed,_0x5586d8._0x17951d,-_0x5586d8._0x43db66,_0x5586d8._0x27c318)])&&_0x1a9f01[_0x5cf1c1(-0x171,_0x5586d8._0x4ff094,_0x5586d8._0x312952,_0x5586d8._0x4fff50)][_0x1e8aaa(0x32d,_0x5586d8._0x48b18a,_0x5586d8._0x32109b,0x4d5)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x1e8aaa(0x344,_0x5586d8._0x536878,0x47c,0x538),_0x1e8aaa(0x58f,_0x5586d8._0x1180b6,_0x5586d8._0x325e8f,0x527)+MAX_ANCHORED_OPERATIONS+'\x20anchored\x20operations\x20are\x20allowed\x20per\x20edit.');let _0x469927;try{_0x469927=validateToolInput(_0x1f75ae,structuredFileEditInputSchema);}catch(_0x442cb3){const _0xd5237e=_0x442cb3 instanceof Error?_0x442cb3['message']:String(_0x442cb3);throw createAnchoredFileError(_0x1e8aaa(0x68a,_0x5586d8._0x278a80,0x47c,0x422),_0x5cf1c1(-_0x5586d8._0x519ce2,_0x5586d8._0x422ef8,-0x96,-_0x5586d8._0x418dca)+_0xd5237e);}function _0x5cf1c1(_0x43df11,_0x4e66ce,_0x375f27,_0x370ba7){return _0xe18bb0(_0x375f27,_0x370ba7- -_0x451598._0x20b4cd,_0x375f27-0xe1,_0x370ba7-_0x451598._0x4ac486);}if(!TAG_PATTERN[_0x1e8aaa(_0x5586d8._0x228ba4,0x2c5,0x3e1,0x226)](_0x469927[_0x5cf1c1(_0x5586d8._0x2d2bd5,-_0x5586d8._0x215b92,_0x5586d8._0x192b88,_0x5586d8._0x125c41)]))throw createAnchoredFileError('invalid_patch',_0x5cf1c1(_0x5586d8._0x240dd5,0xe5,_0x5586d8._0x3495e6,0x204)+_0x469927[_0x1e8aaa(_0x5586d8._0x112f83,0x4e8,_0x5586d8._0x52a955,_0x5586d8._0x4ad066)]+'\x27.');if(_0x469927['operations'][_0x5cf1c1(_0x5586d8._0x422078,-0x112,-_0x5586d8._0x5f5d0c,0xc6)]===0x0)throw createAnchoredFileError(_0x5cf1c1(_0x5586d8._0x2a5f61,0x3cb,_0x5586d8._0x4381ed,0x1fa),'At\x20least\x20one\x20anchored\x20operation\x20is\x20required.');function _0x1e8aaa(_0x584310,_0xc0b4b,_0x138c21,_0x3904c0){return _0xe18bb0(_0xc0b4b,_0x138c21-_0x2d9731._0x126110,_0x138c21-_0x2d9731._0x355666,_0x3904c0-_0x2d9731._0x48065b);}if(_0x469927[_0x5cf1c1(_0x5586d8._0x1aa60d,0x118,_0x5586d8._0x4b2dfb,0x13)][_0x5cf1c1(_0x5586d8._0x1b0509,_0x5586d8._0x5c58d4,0x199,_0x5586d8._0x38a368)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError('invalid_patch','At\x20most\x20'+MAX_ANCHORED_OPERATIONS+'\x20anchored\x20operations\x20are\x20allowed\x20per\x20edit.');let _0x12d3ef=0x0;const _0xacb6fc=[];for(const _0x4d8b5e of _0x469927[_0x1e8aaa(0xad,0x1ac,0x295,_0x5586d8._0x11a2ad)]){switch(_0x4d8b5e[_0x1e8aaa(0x1eb,0x439,_0x5586d8._0x11a2dc,0x55b)]){case'replace':{requireValidLineNumber(_0x4d8b5e[_0x5cf1c1(_0x5586d8._0x32201c,0x1bc,0x21b,0x192)],_0x1e8aaa(_0x5586d8._0x43574e,_0x5586d8._0x377eec,_0x5586d8._0x303d8f,0x20d)),requireValidLineNumber(_0x4d8b5e[_0x1e8aaa(0x220,_0x5586d8._0xcd6089,_0x5586d8._0x3e135e,_0x5586d8._0x876395)],_0x5cf1c1(-_0x5586d8._0x48a0b2,0x111,-0x13b,_0x5586d8._0x540f74));if(_0x4d8b5e['startLine']>_0x4d8b5e['endLine'])throw createAnchoredFileError(_0x5cf1c1(0x1a7,0xe5,0x146,0x1fa),_0x5cf1c1(_0x5586d8._0x1b0509,-_0x5586d8._0x326e29,_0x5586d8._0x557f5a,0x4d));_0x12d3ef+=utf8Bytes(_0x4d8b5e[_0x1e8aaa(0x177,0x3d0,0x29e,0x15e)]);if(_0x12d3ef>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError('invalid_patch',_0x5cf1c1(0x26f,_0x5586d8._0x123299,0x122,0xca)+MAX_ANCHORED_CONTENT_BYTES+_0x5cf1c1(0x1cf,0x1d3,_0x5586d8._0x5c1ad1,_0x5586d8._0x2d034f));_0xacb6fc['push']({'operation':'replace','startLine':_0x4d8b5e['startLine'],'endLine':_0x4d8b5e[_0x1e8aaa(0x543,_0x5586d8._0x45b4cc,0x431,0x32f)],'content':_0x4d8b5e[_0x5cf1c1(-_0x5586d8._0x4ac277,-0x73,0x1a8,0x1c)]});break;}case _0x5cf1c1(-0x3d,-0x77,-0x6,_0x5586d8._0x7cd9af):{requireValidLineNumber(_0x4d8b5e['startLine'],_0x5cf1c1(_0x5586d8._0x1e2bc7,_0x5586d8._0x4ac277,0x3ad,0x1f0)),requireValidLineNumber(_0x4d8b5e[_0x1e8aaa(0x259,0x433,_0x5586d8._0x1cea0f,0x50c)],_0x1e8aaa(0x253,0x8a,_0x5586d8._0x571756,_0x5586d8._0x5670bb));if(_0x4d8b5e[_0x1e8aaa(0x4ac,0x3b8,_0x5586d8._0x292634,0x4f1)]>_0x4d8b5e['endLine'])throw createAnchoredFileError(_0x1e8aaa(0x542,0x5e6,0x47c,0x432),_0x5cf1c1(_0x5586d8._0x4235e8,_0x5586d8._0x5c24b7,_0x5586d8._0x6154b5,_0x5586d8._0x4e8bc3));_0xacb6fc[_0x1e8aaa(0x1f1,-0x56,_0x5586d8._0x5ba225,-0x8d)]({'operation':_0x1e8aaa(0x33f,0x3e3,0x2ee,0x204),'startLine':_0x4d8b5e['startLine'],'endLine':_0x4d8b5e['endLine']});break;}case'insert':{requireValidLineNumber(_0x4d8b5e['line'],_0x5cf1c1(-0x218,-0xe0,0x134,-_0x5586d8._0x9a8af4)),_0x12d3ef+=utf8Bytes(_0x4d8b5e[_0x5cf1c1(0xd,-_0x5586d8._0xd18259,-0x38,0x1c)]);if(_0x12d3ef>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x1e8aaa(0x2d8,0x649,0x47c,_0x5586d8._0x3d54cf),_0x5cf1c1(_0x5586d8._0x1971c5,-0x56,-0x134,0xca)+MAX_ANCHORED_CONTENT_BYTES+_0x5cf1c1(-0x11e,_0x5586d8._0x5cc400,-_0x5586d8._0x3a2f1a,_0x5586d8._0x52c3da));_0xacb6fc['push']({'operation':'insert','position':_0x4d8b5e[_0x5cf1c1(0x51,_0x5586d8._0x2acdc8,0x131,_0x5586d8._0x35a70b)],'line':_0x4d8b5e[_0x5cf1c1(-0x174,-0xb2,-_0x5586d8._0x5825ea,-0x169)],'content':_0x4d8b5e[_0x1e8aaa(_0x5586d8._0x66cd9d,_0x5586d8._0x1350af,_0x5586d8._0x506d84,0x38c)]});break;}}}return{'filePath':_0x469927[_0x5cf1c1(_0x5586d8._0x492030,_0x5586d8._0xa82002,-_0x5586d8._0x4ad979,_0x5586d8._0x4ba71b)],'tag':_0x469927[_0x1e8aaa(0x49c,0x37f,_0x5586d8._0x91b157,_0x5586d8._0x272a34)],'operations':_0xacb6fc,'dryRun':_0x469927[_0x5cf1c1(0x399,_0x5586d8._0x3f6809,-0x34,0x1d4)]??![],..._0x469927[_0x5cf1c1(-0x2d8,0x9,-0x392,-0x1e3)]!==void 0x0?{'description':_0x469927[_0x5cf1c1(-_0x5586d8._0x129d58,-0x219,-_0x5586d8._0x3de505,-_0x5586d8._0x146f6f)]}:{}};}var HEADER=/^\[([^#\r\n]+)#([0-9A-F]{12})\]$/,REPLACE=/^PUT ([1-9]\d*)\.=([1-9]\d*):$/,INSERT=/^PUT ([<>])([1-9]\d*):$/,DELETE=/^CUT ([1-9]\d*)\.=([1-9]\d*)$/,textEncoder2=new TextEncoder();function utf8Bytes2(_0x444f67){const _0x36584f={_0x4bd115:0x75d,_0x5d2746:0x8bd},_0xcb5f9a={_0x2434a8:0x8e};function _0x46a93d(_0x134bee,_0x57dc58,_0x4d4973,_0x2b0cc3){return _0xe18bb0(_0x4d4973,_0x134bee-0x5b6,_0x4d4973-0x1ab,_0x2b0cc3-_0xcb5f9a._0x2434a8);}return textEncoder2['encode'](_0x444f67)[_0x46a93d(_0x36584f._0x4bd115,0x6ed,_0x36584f._0x5d2746,0x788)];}function preview(_0x57fbe0){const _0x121086={_0x4f953d:0x49b,_0x5b537c:0x30b,_0x451565:0x3a1,_0x49b954:0x406},_0x7a65ad={_0x4b69e5:0x100},_0x4d7bb9={_0x248626:0x491};function _0x334d35(_0x20f229,_0x4ae3a5,_0x533a30,_0x534af3){return _0xe18bb0(_0x533a30,_0x534af3-_0x4d7bb9._0x248626,_0x533a30-0x25,_0x534af3-0xe);}function _0x15ceae(_0x33a5c2,_0x571998,_0x56f74d,_0x5c108a){return _0xe18bb0(_0x56f74d,_0x33a5c2-0x186,_0x56f74d-0x12c,_0x5c108a-_0x7a65ad._0x4b69e5);}return _0x57fbe0['length']>0x3c?_0x57fbe0[_0x334d35(_0x121086._0x4f953d,0x397,_0x121086._0x5b537c,_0x121086._0x451565)](0x0,0x3c)+_0x334d35(0x4b6,0x53f,_0x121086._0x49b954,0x576):_0x57fbe0;}var hashlineFileEditInputSchema={'type':_0xe18bb0(0x24a,0x24f,0x33b,0x31b),'properties':{'patch':{'type':_0xe18bb0(0x252,0x126,0x2af,0x330)},'description':{'type':'string'},'dryRun':{'type':_0x47b891(0x6f0,0x744,0x871,0x6ac)}},'required':[_0xe18bb0(0x90,0x1b8,0x315,0x10b)],'additionalProperties':![]};function requireLineNumber(_0x5298d1,_0x4397c6){const _0xe3da85={_0x192e5a:0x899,_0x47fe51:0x7ab,_0x3d6ebf:0x627,_0x1bcf3c:0x745,_0x30b143:0x55c,_0x528412:0x62d},_0x366912={_0x33a62b:0x69,_0x4316b5:0x3e};function _0x3374d5(_0x5a8299,_0x4e9d6b,_0x56037d,_0x485a59){return _0x47b891(_0x4e9d6b,_0x56037d-0x1c1,_0x56037d-0x18b,_0x485a59-0x1c);}if(_0x5298d1[_0x1acea5(0x6ad,_0xe3da85._0x192e5a,_0xe3da85._0x47fe51,0x6a1)]>0x10)throw createAnchoredFileError(_0x1acea5(_0xe3da85._0x3d6ebf,_0xe3da85._0x1bcf3c,0x9b6,0x7d5),_0x4397c6+'\x20exceeds\x20the\x20safe-integer\x20range.');function _0x1acea5(_0x16ded8,_0x22254e,_0x4e6df0,_0x42c313){return _0x47b891(_0x16ded8,_0x42c313-_0x366912._0x33a62b,_0x4e6df0-0x2d,_0x42c313-_0x366912._0x4316b5);}const _0x52fb64=Number(_0x5298d1);if(!Number[_0x1acea5(_0xe3da85._0x30b143,0x471,0x42c,0x46d)](_0x52fb64)||_0x52fb64<0x1)throw createAnchoredFileError('invalid_patch',_0x4397c6+_0x3374d5(0x832,_0xe3da85._0x528412,0x6f9,0x4f6)+_0x5298d1+'.');return _0x52fb64;}function parseHashlineFileEditInput(_0x3cb3e9){const _0x2a22c1={_0x3e72d5:0x202,_0x186336:0x4fb,_0x5ac882:0x380,_0x52d34d:0x411,_0x50f7c1:0x387,_0x14774d:0x3d8,_0x1cdd6a:0x448,_0x5b9f2f:0x5c7,_0xf7156d:0x18d,_0x19d5d6:0x33b,_0x574360:0x4ff,_0x20db38:0x333,_0x2ee111:0x245,_0x40bba5:0x1bb,_0x51ff2c:0x1f7,_0x3f6c0f:0x280,_0x5c729a:0x1d,_0x139dd4:0x3e3,_0x4ea477:0x120,_0x46b4f9:0x24c,_0x3893d3:0x510,_0x3eac3c:0x426,_0x41a860:0x5c6,_0x2c1ea3:0x2f2,_0x45cbb0:0x25a,_0x557bb0:0x14f,_0x2f5deb:0x51a,_0x47755b:0x555,_0x23e009:0x2df,_0x19d404:0x2bb,_0x1d0217:0x402,_0x5e4040:0x30b,_0x5670c0:0x25c,_0x2107c8:0x66e,_0x4dfca3:0x51a,_0xeef651:0x47d,_0x1a5413:0x308,_0x281764:0x83,_0x2bd931:0x291,_0x5eb0f4:0xb7,_0x52681f:0x14e,_0x4eedea:0x35,_0x46abf3:0x1b7,_0x45a5bb:0x2e7,_0x1b13f0:0x2c8,_0x3470d9:0x3aa,_0x45964a:0x1e1,_0x4f738d:0x2f5,_0x366945:0x11a,_0x2a0772:0x1d1,_0x2ec4ce:0x2e8,_0x54477e:0x284,_0x76626e:0xff,_0x4a0c1e:0x9c,_0x210597:0x4c3,_0x4204bf:0x33a,_0x1ce006:0x29e,_0x49c788:0x1df,_0x2c2f36:0x12,_0xa9407a:0x1f2,_0x18fd68:0x3cb,_0xad49c6:0x51a,_0x20bcd2:0x5f5,_0x15d7df:0x337,_0x149353:0x2ee,_0x38a9e0:0x551,_0x9281bd:0x520,_0x6bd36a:0x51a,_0x33e452:0x16a,_0x3df9cb:0x332,_0x2412bc:0x155,_0x1776bf:0x151,_0x5698bd:0x5d,_0x166e97:0xb8},_0x115b6a={_0x2cfb93:0x252,_0x1a96b1:0xc4,_0x4b2089:0x111},_0x369459={_0x52772e:0x9e,_0x49edd9:0x1d2,_0x41c209:0x26,_0x3814ca:0x218,_0x5ea930:0x69,_0x3b6ecd:0x1ba,_0x3ca409:0x1fc,_0x179246:0x19d,_0x2b7575:0x188,_0x45b887:0x281,_0x265193:0x9,_0x5179b8:0xb9,_0x319242:0xf7},_0x3d9433={_0x39d179:0x162},_0x1f3a83={_0x28dbdd:0x1cd,_0x169fd6:0x2a9},_0x579d6b={_0x2a5d60:0x944,_0x21be62:0x84b,_0x395bb8:0x16b,_0x35a58a:0x226,_0x368ad3:0x5f,_0x160db1:0x24d,_0x370f77:0x32b},_0x1c7559={_0x19ef04:0x195};let _0x5656c5;function _0x47ffa9(_0x4e963b,_0x3acd28,_0x3e7471,_0x2b8057){return _0xe18bb0(_0x4e963b,_0x3e7471-0xa5,_0x3e7471-_0x1c7559._0x19ef04,_0x2b8057-0xc1);}try{_0x5656c5=validateToolInput(_0x3cb3e9,hashlineFileEditInputSchema);}catch(_0x13b419){const _0x507907=_0x13b419 instanceof Error?_0x13b419['message']:String(_0x13b419);throw createAnchoredFileError(_0x47ffa9(_0x2a22c1._0x3e72d5,0x3e5,0x380,_0x2a22c1._0x186336),'Invalid\x20Hashline\x20FileEdit\x20input:\x20'+_0x507907);}const {patch:_0x27ced0}=_0x5656c5;if(utf8Bytes2(_0x27ced0)>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x47ffa9(0x230,0x1e1,_0x2a22c1._0x5ac882,0x3b0),_0x47ffa9(_0x2a22c1._0x52d34d,_0x2a22c1._0x50f7c1,0x3a1,0x586)+MAX_ANCHORED_CONTENT_BYTES+_0x55e0fc(0x589,_0x2a22c1._0x14774d,_0x2a22c1._0x1cdd6a,_0x2a22c1._0x5b9f2f));if(_0x27ced0[_0x55e0fc(_0x2a22c1._0xf7156d,_0x2a22c1._0x19d5d6,0x318,0x321)]('\x0d'))throw createAnchoredFileError(_0x47ffa9(_0x2a22c1._0x574360,_0x2a22c1._0x20db38,0x380,0x1f4),_0x47ffa9(0x25e,0x381,_0x2a22c1._0x2ee111,_0x2a22c1._0x40bba5));const _0xc5b105=_0x27ced0[_0x55e0fc(_0x2a22c1._0x51ff2c,0x1d6,_0x2a22c1._0x3f6c0f,_0x2a22c1._0x5c729a)]('\x0a'),_0x1137d6=[],_0x3e671b=_0x454ee8=>{const _0x435c4a={_0x4f8792:0xbf,_0x5b697b:0x42a},_0x563a35={_0x5935d4:0x29f,_0x3bb40f:0x4b};function _0x3ad1ad(_0x10edc4,_0x18799c,_0x2f15fe,_0x5a622d){return _0x55e0fc(_0x10edc4-0xa6,_0x10edc4- -_0x563a35._0x5935d4,_0x2f15fe-_0x563a35._0x3bb40f,_0x5a622d);}function _0x422825(_0x13fbb2,_0x5ebb91,_0x26a3f5,_0x335995){return _0x55e0fc(_0x13fbb2-_0x435c4a._0x4f8792,_0x26a3f5-_0x435c4a._0x5b697b,_0x26a3f5-0x28,_0x5ebb91);}if(_0x1137d6['length']>=MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x422825(0x79c,0x7d6,_0x579d6b._0x2a5d60,_0x579d6b._0x21be62),_0x3ad1ad(0x239,0x437,0x407,_0x579d6b._0x395bb8)+MAX_ANCHORED_OPERATIONS+_0x3ad1ad(0x1b,_0x579d6b._0x35a58a,-0xb1,_0x579d6b._0x368ad3));_0x1137d6[_0x3ad1ad(-0x135,-_0x579d6b._0x160db1,-0xa5,-_0x579d6b._0x370f77)](_0x454ee8);};let _0x5f48a0,_0x71ada7,_0x8788a5=![],_0x191ebc=![],_0x4ed639,_0x2cf23f,_0x2af456=0x0,_0x3dbad6=0x0,_0x24e896=[];const _0x2b8212=()=>{if(!_0x191ebc)return;function _0x354d20(_0x1fd733,_0x42ddea,_0x41673b,_0x49c239){return _0x55e0fc(_0x1fd733-_0x1f3a83._0x28dbdd,_0x49c239-_0x1f3a83._0x169fd6,_0x41673b-0x11f,_0x41673b);}function _0x4b0524(_0x31db46,_0x58dbc8,_0x49580d,_0x34ecae){return _0x47ffa9(_0x34ecae,_0x58dbc8-0x78,_0x31db46- -0x1ae,_0x34ecae-_0x3d9433._0x39d179);}if(_0x24e896[_0x4b0524(_0x369459._0x52772e,0x1c,0x219,-0x7)]===0x0)throw createAnchoredFileError(_0x4b0524(_0x369459._0x49edd9,_0x369459._0x41c209,_0x369459._0x3814ca,0x1cf),_0x4b0524(-0xd5,-0x182,-_0x369459._0x5ea930,-0x59));const _0x520384=_0x24e896['join']('\x0a');_0x4ed639===_0x4b0524(_0x369459._0x3b6ecd,_0x369459._0x3ca409,_0x369459._0x179246,_0x369459._0x2b7575)?_0x3e671b({'operation':_0x4b0524(0x1ba,0xac,_0x369459._0x45b887,0x1c7),'startLine':_0x2af456,'endLine':_0x3dbad6,'content':_0x520384}):_0x3e671b({'operation':_0x4b0524(_0x369459._0x265193,-_0x369459._0x5179b8,0xcb,_0x369459._0x319242),'position':_0x2cf23f,'line':_0x2af456,'content':_0x520384}),_0x191ebc=![],_0x24e896=[];};for(const _0x516bef of _0xc5b105){if(_0x516bef[_0x47ffa9(_0x2a22c1._0x139dd4,_0x2a22c1._0x4ea477,_0x2a22c1._0x46b4f9,0x8e)]===0x0)continue;if(_0x191ebc&&_0x516bef[_0x55e0fc(_0x2a22c1._0x3893d3,_0x2a22c1._0x3eac3c,_0x2a22c1._0x41a860,_0x2a22c1._0x2c1ea3)]('+')){_0x24e896[_0x55e0fc(0x24d,0x16a,0x5b,0x95)](_0x516bef[_0x55e0fc(_0x2a22c1._0x45cbb0,_0x2a22c1._0x557bb0,0x10d,0x14a)](0x1));continue;}_0x2b8212();if(!_0x8788a5){const _0x5e6b63=HEADER['exec'](_0x516bef);if(_0x5e6b63===null)throw createAnchoredFileError(_0x55e0fc(0x5db,_0x2a22c1._0x2f5deb,0x41b,_0x2a22c1._0x47755b),'Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');_0x5f48a0=_0x5e6b63[0x1],_0x71ada7=_0x5e6b63[0x2],_0x8788a5=!![];continue;}const _0x296cfa=REPLACE[_0x55e0fc(0x25e,0x30b,_0x2a22c1._0x23e009,_0x2a22c1._0x19d404)](_0x516bef);if(_0x296cfa!==null){const _0x3beb2d=requireLineNumber(_0x296cfa[0x1],_0x47ffa9(_0x2a22c1._0x1d0217,0x31d,_0x2a22c1._0x5e4040,0x124)),_0x58305b=requireLineNumber(_0x296cfa[0x2],_0x55e0fc(0x3f1,_0x2a22c1._0x5670c0,0x18e,_0x2a22c1._0x46b4f9));if(_0x3beb2d>_0x58305b)throw createAnchoredFileError(_0x55e0fc(_0x2a22c1._0x2107c8,_0x2a22c1._0x4dfca3,0x458,_0x2a22c1._0xeef651),_0x47ffa9(_0x2a22c1._0x1a5413,_0x2a22c1._0x281764,0x1d3,0x2d));_0x191ebc=!![],_0x4ed639='replace',_0x2af456=_0x3beb2d,_0x3dbad6=_0x58305b,_0x24e896=[];continue;}const _0x5b1ff4=INSERT['exec'](_0x516bef);if(_0x5b1ff4!==null){const _0x14ddf8=requireLineNumber(_0x5b1ff4[0x2],_0x47ffa9(0x6a,_0x2a22c1._0x2bd931,_0x2a22c1._0x5eb0f4,_0x2a22c1._0x52681f));_0x191ebc=!![],_0x4ed639=_0x47ffa9(0x3c1,-_0x2a22c1._0x4eedea,_0x2a22c1._0x46abf3,0x314),_0x2cf23f=_0x5b1ff4[0x1]==='<'?_0x47ffa9(0x17f,0x4c5,_0x2a22c1._0x45a5bb,_0x2a22c1._0x1b13f0):'after',_0x2af456=_0x14ddf8,_0x24e896=[];continue;}const _0x3adca0=DELETE[_0x55e0fc(_0x2a22c1._0x3470d9,_0x2a22c1._0x5e4040,_0x2a22c1._0x45964a,_0x2a22c1._0x4f738d)](_0x516bef);if(_0x3adca0!==null){const _0x1b84fb=requireLineNumber(_0x3adca0[0x1],_0x55e0fc(_0x2a22c1._0x366945,_0x2a22c1._0x2a0772,_0x2a22c1._0x2ec4ce,0x1f2)),_0x1fbfb7=requireLineNumber(_0x3adca0[0x2],_0x47ffa9(0x238,_0x2a22c1._0x54477e,_0x2a22c1._0x76626e,_0x2a22c1._0x4a0c1e));if(_0x1b84fb>_0x1fbfb7)throw createAnchoredFileError(_0x47ffa9(0x57a,0x22a,_0x2a22c1._0x5ac882,0x4dd),_0x55e0fc(_0x2a22c1._0x210597,_0x2a22c1._0x4204bf,0x1ac,_0x2a22c1._0x1ce006));_0x3e671b({'operation':_0x47ffa9(_0x2a22c1._0x49c788,_0x2a22c1._0x2c2f36,_0x2a22c1._0xa9407a,_0x2a22c1._0x18fd68),'startLine':_0x1b84fb,'endLine':_0x1fbfb7});continue;}throw createAnchoredFileError(_0x55e0fc(0x3a8,_0x2a22c1._0xad49c6,_0x2a22c1._0x20bcd2,_0x2a22c1._0x15d7df),'Unsupported\x20Hashline\x20row:\x20'+preview(_0x516bef));}_0x2b8212();if(!_0x8788a5)throw createAnchoredFileError(_0x47ffa9(0x411,_0x2a22c1._0x149353,0x380,0x358),'Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');if(_0x1137d6[_0x55e0fc(0x464,0x3e6,0x50f,_0x2a22c1._0x38a9e0)]===0x0)throw createAnchoredFileError(_0x55e0fc(_0x2a22c1._0x9281bd,_0x2a22c1._0x6bd36a,0x366,0x507),_0x55e0fc(_0x2a22c1._0x33e452,0x29b,0x458,0x472));function _0x55e0fc(_0x29d8f1,_0x48784c,_0x1fd084,_0x2ad0fc){return _0x47b891(_0x2ad0fc,_0x48784c- -_0x115b6a._0x2cfb93,_0x1fd084-_0x115b6a._0x1a96b1,_0x2ad0fc-_0x115b6a._0x4b2089);}return{'filePath':_0x5f48a0,'tag':_0x71ada7,'operations':_0x1137d6,'dryRun':_0x5656c5['dryRun']??![],..._0x5656c5[_0x55e0fc(-0x41,0x13d,_0x2a22c1._0x3df9cb,0xa1)]!==void 0x0?{'description':_0x5656c5[_0x47ffa9(-_0x2a22c1._0x2412bc,_0x2a22c1._0x1776bf,-_0x2a22c1._0x5698bd,-_0x2a22c1._0x166e97)]}:{}};}import{realpath,stat}from'fs/promises';import*as _0x3f477e from'path';function isPathInside(_0x182b1f,_0x3c8c86){const _0x2b88ed={_0x4b4b7f:0xf5,_0x5301cb:0x1e9,_0x14efe2:0x1c9,_0x25ac4c:0x5ac,_0x14338c:0x66d,_0x128b5e:0x84b,_0x4a7bc1:0x606,_0x10021e:0x76b},_0x4b6941={_0x4aeba3:0xe},_0x5eb488={_0x42ebce:0xda};function _0x2f398f(_0x26e76f,_0x1c0bab,_0x4efbe2,_0x61e4fc){return _0xe18bb0(_0x26e76f,_0x61e4fc-0x567,_0x4efbe2-0x18f,_0x61e4fc-_0x5eb488._0x42ebce);}function _0x1c2a9b(_0x484c3f,_0x4fa786,_0x449f8a,_0xdf9005){return _0x47b891(_0xdf9005,_0x484c3f- -0x33d,_0x449f8a-0x1c,_0xdf9005-_0x4b6941._0x4aeba3);}const _0x58f306=_0x3f477e[_0x1c2a9b(_0x2b88ed._0x4b4b7f,0x2e5,_0x2b88ed._0x5301cb,_0x2b88ed._0x14efe2)](_0x182b1f),_0x15db97=_0x3f477e[_0x2f398f(0x450,_0x2b88ed._0x25ac4c,_0x2b88ed._0x14338c,0x462)](_0x58f306,_0x3c8c86);return _0x15db97===''||!_0x15db97['startsWith']('..')&&!_0x3f477e[_0x2f398f(_0x2b88ed._0x128b5e,_0x2b88ed._0x4a7bc1,0x8be,_0x2b88ed._0x10021e)](_0x15db97);}function resolveWorkspacePath(_0x1e1407,_0x3efca2){return resolveAllowedPath(_0x1e1407,[],_0x3efca2);}function resolveAllowedPath(_0xadf469,_0x11cc20,_0x26fd62){const _0x3b53b6={_0x50caff:0x4b2,_0xd075a2:0x5e7,_0x5ab118:0x5bb,_0x3b4138:0x48d,_0x24ee45:0xfc,_0x246950:0x100,_0x2303cf:0xb3,_0x636cac:0x110,_0x4daa0b:0x130,_0x1b3029:0x58e,_0x311ef9:0x52d,_0x3cdf49:0x75d},_0x27ba7a={_0x5317e5:0x54e,_0x208780:0x142,_0x326a9e:0x103},_0x47ea52={_0x1efa5b:0x511},_0x2b9ca5=_0x3f477e[_0x48807d(_0x3b53b6._0x50caff,0x539,_0x3b53b6._0xd075a2,_0x3b53b6._0x5ab118)](_0xadf469),_0x22043e=_0x3f477e[_0x48807d(0x4b2,0x5ce,_0x3b53b6._0x3b4138,0x561)](_0x2b9ca5,_0x26fd62);function _0x48807d(_0x227fd3,_0x906aa2,_0x539eb1,_0x554bca){return _0xe18bb0(_0x539eb1,_0x227fd3-_0x47ea52._0x1efa5b,_0x539eb1-0x117,_0x554bca-0x8c);}const _0x33b3e2=[_0x2b9ca5,..._0x11cc20[_0xf6677b(0x257,_0x3b53b6._0x24ee45,_0x3b53b6._0x246950,_0x3b53b6._0x2303cf)](_0x4d0477=>_0x3f477e[_0x48807d(0x4b2,0x337,0x638,0x483)](_0x4d0477))];if(_0x33b3e2[_0xf6677b(_0x3b53b6._0x636cac,0x2ab,0x1e0,_0x3b53b6._0x4daa0b)](_0x20e746=>isPathInside(_0x20e746,_0x22043e)))return _0x22043e;function _0xf6677b(_0x1f2289,_0x595bba,_0x1ee290,_0x2ab760){return _0x47b891(_0x595bba,_0x2ab760- -_0x27ba7a._0x5317e5,_0x1ee290-_0x27ba7a._0x208780,_0x2ab760-_0x27ba7a._0x326a9e);}throw new ToolExecutionError(_0x48807d(_0x3b53b6._0x1b3029,_0x3b53b6._0x311ef9,_0x3b53b6._0x3cdf49,0x385)+_0x26fd62,{'path':_0x26fd62,'rootDir':_0x2b9ca5,'allowedDirs':_0x33b3e2});}async function resolveCanonicalAllowedFile(_0x1481df,_0x469617,_0x5f1725){const _0x4bb793={_0x5184d6:0x2a3,_0x151e65:0x368,_0xcd3a49:0x243,_0x1b3c12:0x100,_0x5675fc:0x2ef,_0x33be69:0xc9,_0x1d2f1a:0x281,_0x3fa58c:0x41b},_0xdd539e={_0x22154e:0x104,_0x43f92a:0xdc};function _0x14720f(_0x2d3f06,_0x32bc7d,_0x4bf6d6,_0x3b5d84){return _0x47b891(_0x32bc7d,_0x2d3f06- -0x43b,_0x4bf6d6-0x18d,_0x3b5d84-0xf7);}const _0x3bc3c8=resolveAllowedPath(_0x1481df,_0x469617,_0x5f1725),_0xbfe98e=await realpath(_0x3bc3c8),_0xea14d1=[];for(const _0xe4f00 of[_0x1481df,..._0x469617]){try{_0xea14d1[_0x24edd9(-_0x4bb793._0x5184d6,-0x1d9,-0x1a5,-_0x4bb793._0x151e65)](await realpath(_0xe4f00));}catch{}}if(!_0xea14d1[_0x14720f(_0x4bb793._0xcd3a49,_0x4bb793._0x1b3c12,0x1f6,_0x4bb793._0x5675fc)](_0x268aa5=>isPathInside(_0x268aa5,_0xbfe98e)))throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x5f1725,{'path':_0x5f1725,'lexicalPath':_0x3bc3c8,'canonicalPath':_0xbfe98e,'allowedDirs':_0xea14d1});const _0x3d6bc8=await stat(_0xbfe98e);if(!_0x3d6bc8[_0x14720f(0x144,0x84,-_0x4bb793._0x33be69,-0x1d)]())throw new ToolExecutionError(_0x14720f(_0x4bb793._0x1d2f1a,_0x4bb793._0x3fa58c,0x19f,0x73)+_0x5f1725,{'path':_0x5f1725,'lexicalPath':_0x3bc3c8,'canonicalPath':_0xbfe98e});function _0x24edd9(_0x1a3f3b,_0x4d7a54,_0x1fa95f,_0x46c2e9){return _0xe18bb0(_0x1fa95f,_0x4d7a54- -_0xdd539e._0x22154e,_0x1fa95f-_0xdd539e._0x43f92a,_0x46c2e9-0xb0);}return{'authoredPath':_0x5f1725,'lexicalPath':_0x3bc3c8,'canonicalPath':_0xbfe98e};}async function assertWorkspaceFile(_0x509213){const _0x3cda57={_0xa897:0xaf,_0x79bb87:0x14d,_0x5d1e2e:0xff,_0x168755:0x76a},_0x32d92d={_0x18a8a2:0xae,_0x1b87a6:0xd0};function _0x5374c1(_0x4e9d0d,_0x4bdc6c,_0x3e9ba9,_0x2b10f5){return _0x47b891(_0x4e9d0d,_0x2b10f5- -0x480,_0x3e9ba9-0x4b,_0x2b10f5-0x114);}function _0x4d7564(_0x2b055e,_0x51b411,_0x4a393b,_0x1544ea){return _0x47b891(_0x4a393b,_0x1544ea-_0x32d92d._0x18a8a2,_0x4a393b-_0x32d92d._0x1b87a6,_0x1544ea-0x113);}const _0x430667=await stat(_0x509213);if(!_0x430667[_0x5374c1(_0x3cda57._0xa897,_0x3cda57._0x79bb87,-0x15,_0x3cda57._0x5d1e2e)]())throw new ToolExecutionError(_0x4d7564(0x770,0x75f,0x7ff,_0x3cda57._0x168755)+_0x509213,{'path':_0x509213});}function isProbablyBinary(_0x4edbae){const _0x3f3a2d={_0x539f0e:0x696},_0x298926={_0x4e2fa0:0x59a,_0x332716:0xd1,_0x25089e:0x14f};function _0x511610(_0x2ae6af,_0x3c1d62,_0xdfad00,_0x287558){return _0xe18bb0(_0x2ae6af,_0x3c1d62-_0x298926._0x4e2fa0,_0xdfad00-_0x298926._0x332716,_0x287558-_0x298926._0x25089e);}return _0x4edbae[_0x511610(0x71f,_0x3f3a2d._0x539f0e,0x72a,0x4d5)](0x0);}var MAX_ANCHORED_PREVIEW_BYTES=0x100*0x400,defaultFileSystem2={'readFile':_0x7e5d1b=>_0x31666b(_0x7e5d1b),'stat':_0x55eef6=>_0x5249bb(_0x55eef6),'atomicWrite':(_0x35d3fc,_0x86e0d0,_0x494136)=>atomicReplaceFile(_0x35d3fc,_0x86e0d0,_0x494136)};function parseAnchoredInput(_0x32f512,_0x317e8f){const _0x3fd1fb={_0x4467e6:0x22,_0xc49ed:0xef,_0x594809:0x13a},_0x28c0a5={_0x1757fa:0x174};if(_0x32f512===_0xeef59f(-0xa0,-_0x3fd1fb._0x4467e6,_0x3fd1fb._0xc49ed,-_0x3fd1fb._0x594809))return parseHashlineFileEditInput(_0x317e8f);function _0xeef59f(_0x4e5778,_0x537c8f,_0x127251,_0x403dcc){return _0x47b891(_0x127251,_0x4e5778- -0x456,_0x127251-0x12d,_0x403dcc-_0x28c0a5._0x1757fa);}return parseStructuredFileEditInput(_0x317e8f);}function stableStringify2(_0x3e9fb0){const _0x2c3121={_0x5b5869:0x1b8,_0x3fbe59:0x2bc,_0x5dc276:0xf,_0x23fe53:0xe2,_0x3aff32:0xa1},_0x3b3e77={_0x135282:0x1c1},_0x4ea568={_0x20aa3d:0xea};function _0x217ee3(_0x2fb21b,_0x4668d2,_0x5e5a1a,_0x36f37c){return _0xe18bb0(_0x4668d2,_0x2fb21b- -0x97,_0x5e5a1a-0xb4,_0x36f37c-_0x4ea568._0x20aa3d);}if(Array['isArray'](_0x3e9fb0))return'['+_0x3e9fb0[_0x217ee3(0xd9,0x219,-0x4b,0x14e)](stableStringify2)['join'](',')+']';function _0x38b0d0(_0x594c82,_0x451b4c,_0x5b3da6,_0x5536bc){return _0x47b891(_0x5b3da6,_0x451b4c- -0x24,_0x5b3da6-0x1c8,_0x5536bc-_0x3b3e77._0x135282);}if(_0x3e9fb0!==null&&typeof _0x3e9fb0===_0x217ee3(_0x2c3121._0x5b5869,_0x2c3121._0x3fbe59,0x3b0,0x261)){const _0x1448a9=_0x3e9fb0;return'{'+Object[_0x217ee3(-0xa9,_0x2c3121._0x5dc276,-0x118,-_0x2c3121._0x23fe53)](_0x1448a9)['sort']()['map'](_0x4abb04=>JSON[_0x217ee3(0x85,-0xe8,-0x87,0xaa)](_0x4abb04)+':'+stableStringify2(_0x1448a9[_0x4abb04]))['join'](',')+'}';}return JSON[_0x217ee3(0x85,_0x2c3121._0x3aff32,0x9,0xdf)](_0x3e9fb0);}function normalizeOperationContent(_0xb52200){const _0x533bb3={_0x500233:0x401,_0x4e7653:0x481,_0x54f962:0x180,_0x924c81:0x1b5,_0x15266a:0xf0,_0x5716f0:0x208,_0x217c66:0x2e4,_0x3d68b5:0x2ad,_0x464843:0x15c,_0x1255bb:0x4,_0x1f589e:0x163,_0x21abda:0x243,_0x554ec3:0x23,_0x3a8db2:0x10c,_0x229a7e:0x282},_0x3c870a={_0x15a283:0x1c4,_0x2c4482:0x11b,_0x43e720:0x1b3},_0x38b84e={_0x8c7bda:0x1e2,_0x11d0f5:0xf5};function _0x5aef5b(_0x1ec0ae,_0xcea63a,_0x2cabfc,_0x2f208d){return _0xe18bb0(_0x2f208d,_0x2cabfc- -0x10e,_0x2cabfc-_0x38b84e._0x8c7bda,_0x2f208d-_0x38b84e._0x11d0f5);}if(_0xb52200[_0x39ac64(0x318,0x2e9,_0x533bb3._0x500233,_0x533bb3._0x4e7653)]===_0x5aef5b(_0x533bb3._0x54f962,0x254,_0x533bb3._0x924c81,_0x533bb3._0x15266a)||_0xb52200[_0x39ac64(_0x533bb3._0x5716f0,_0x533bb3._0x217c66,0x401,_0x533bb3._0x3d68b5)]===_0x5aef5b(-0x1e7,_0x533bb3._0x464843,_0x533bb3._0x1255bb,-0xea))return{..._0xb52200,'content':_0xb52200[_0x39ac64(0x1c0,_0x533bb3._0x1f589e,0x2c1,_0x533bb3._0x21abda)][_0x5aef5b(-_0x533bb3._0x554ec3,_0x533bb3._0x3a8db2,0x1b5,_0x533bb3._0x229a7e)](/\r\n/g,'\x0a')};function _0x39ac64(_0x3a445c,_0x4668a3,_0x214f73,_0x731cfa){return _0xe18bb0(_0x731cfa,_0x214f73-_0x3c870a._0x15a283,_0x214f73-_0x3c870a._0x2c4482,_0x731cfa-_0x3c870a._0x43e720);}return _0xb52200;}function computePayloadDigest(_0x162739){const _0x48d2c9={_0x2d4fbf:0x251,_0x58e554:0x2da,_0x2823a1:0x554},_0x5a2740={_0x25dc80:0x260,_0x22e6f9:0xf0};function _0x3fcd05(_0x46f455,_0x1dba45,_0x3bd98f,_0x18bbbd){return _0x47b891(_0x3bd98f,_0x46f455- -_0x5a2740._0x25dc80,_0x3bd98f-_0x5a2740._0x22e6f9,_0x18bbbd-0x79);}return sha256Bytes(stableStringify2(_0x162739[_0x3fcd05(0x3a1,_0x48d2c9._0x2d4fbf,_0x48d2c9._0x58e554,_0x48d2c9._0x2823a1)](normalizeOperationContent)));}function collectRequiredLines(_0x4824a9){const _0x5decb8={_0x114e4d:0x493,_0x5f04c0:0x5fc,_0x141279:0x509,_0x15db26:0x78d,_0x8dcdc9:0x84b,_0x14649e:0x478,_0x3574b5:0x3b4,_0x884f0d:0x3ad,_0x32c538:0x4fe,_0xb47196:0x78d,_0x4c2536:0x966,_0x1a13ad:0x8cf,_0x4ed22c:0x7e5},_0x4e650d={_0x4d42f1:0x6f,_0x31c4e1:0xde};function _0x1ea87f(_0x486574,_0x35db60,_0x32f0c4,_0x3a6c79){return _0x47b891(_0x35db60,_0x486574-_0x4e650d._0x4d42f1,_0x32f0c4-_0x4e650d._0x31c4e1,_0x3a6c79-0x175);}const _0x1a9ddf=new Set();for(const _0xfc7fc3 of _0x4824a9){if(_0xfc7fc3['operation']===_0x204d9f(_0x5decb8._0x114e4d,0x39b,_0x5decb8._0x5f04c0,_0x5decb8._0x141279))_0x1a9ddf[_0x1ea87f(_0x5decb8._0x15db26,_0x5decb8._0x8dcdc9,0x5e9,0x6f1)](_0xfc7fc3[_0x1ea87f(_0x5decb8._0x14649e,_0x5decb8._0x3574b5,0x649,_0x5decb8._0x884f0d)]);else for(let _0x5a6dce=_0xfc7fc3['startLine'];_0x5a6dce<=_0xfc7fc3[_0x204d9f(0x611,0x68c,0x70a,_0x5decb8._0x32c538)];_0x5a6dce+=0x1){_0x1a9ddf[_0x1ea87f(_0x5decb8._0xb47196,_0x5decb8._0x4c2536,_0x5decb8._0x1a13ad,_0x5decb8._0x4ed22c)](_0x5a6dce);}}function _0x204d9f(_0x3a73f0,_0x2d9828,_0x19cc36,_0x2b4299){return _0xe18bb0(_0x2d9828,_0x3a73f0-0x381,_0x19cc36-0x1d4,_0x2b4299-0xdb);}return[..._0x1a9ddf]['sort']((_0x6fa6ed,_0x44ebf8)=>_0x6fa6ed-_0x44ebf8);}async function resolveEditTarget(_0x521411,_0x2f32db,_0x142f1b){const _0x3eef21={_0x4cc668:0x8e5,_0x1f8872:0x91f,_0x50488e:0x85c,_0x35385d:0x7a0,_0xdd00f0:0x8b1},_0x518630={_0x542912:0x690},_0x2f7b98={_0x5ae8fe:0x1a1};function _0x199799(_0x66efbf,_0x223b19,_0x402590,_0x1b5ead){return _0xe18bb0(_0x66efbf,_0x223b19-0x135,_0x402590-_0x2f7b98._0x5ae8fe,_0x1b5ead-0x194);}function _0x5e5c35(_0x485e67,_0x3c530a,_0x2a5e63,_0x51e521){return _0xe18bb0(_0x51e521,_0x485e67-_0x518630._0x542912,_0x2a5e63-0x8f,_0x51e521-0x169);}try{return await resolveCanonicalAllowedFile(_0x521411,_0x2f32db,_0x142f1b);}catch(_0x3d5de2){if(_0x3d5de2 instanceof ToolExecutionError)throw _0x3d5de2;const _0x1896c2=_0x3d5de2 instanceof Error?_0x3d5de2[_0x5e5c35(_0x3eef21._0x4cc668,_0x3eef21._0x1f8872,0xa36,_0x3eef21._0x50488e)]:String(_0x3d5de2);throw createAnchoredFileError(_0x5e5c35(0x5a9,0x440,0x5e8,_0x3eef21._0x35385d),'unknown_snapshot:\x20Unable\x20to\x20read\x20'+_0x142f1b+_0x5e5c35(0x773,0x6b8,_0x3eef21._0xdd00f0,0x94d)+_0x1896c2+');\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x142f1b});}}async function readLiveSnapshot(_0x589f07,_0x57e8df){const _0x3ae256={_0x1c6cc4:0x43b,_0x3c4818:0x439,_0x139fb8:0x3b5,_0x3c479f:0x26f},_0x4b3096={_0x5cf5ec:0x494},_0x9cd32c={_0x67e141:0x2ab,_0x24663f:0x63,_0x313d51:0x1de};let _0x33b513;try{_0x33b513=await _0x31666b(_0x589f07);}catch(_0x3c8fc4){const _0x336004=_0x3c8fc4 instanceof Error?_0x3c8fc4[_0x1fd604(_0x3ae256._0x1c6cc4,0x3e9,0x45c,_0x3ae256._0x3c4818)]:String(_0x3c8fc4);throw createAnchoredFileError('unknown_snapshot',_0x1fd604(0x2f0,0x4b6,_0x3ae256._0x139fb8,_0x3ae256._0x3c479f)+_0x57e8df+'\x20for\x20an\x20anchored\x20snapshot\x20('+_0x336004+');\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x57e8df});}function _0x1fd604(_0x34e5a5,_0x6a227d,_0x3499bb,_0x594a9d){return _0x47b891(_0x6a227d,_0x34e5a5- -_0x9cd32c._0x67e141,_0x3499bb-_0x9cd32c._0x24663f,_0x594a9d-_0x9cd32c._0x313d51);}function _0x52ecbd(_0x9bdfeb,_0x75d2ea,_0x427253,_0x1058ea){return _0xe18bb0(_0x75d2ea,_0x9bdfeb-_0x4b3096._0x5cf5ec,_0x427253-0x7,_0x1058ea-0x76);}return createNormalizedFileSnapshot(_0x589f07,_0x33b513);}function staleSnapshotMessageText(_0x20a222,_0x5b8c28){const _0x12f269={_0x543614:0x3b3,_0x167da6:0x493,_0x4c4056:0x13,_0x4381dd:0x363,_0x5b24b4:0x44,_0x2cb5b4:0x1a9},_0x5df6f2={_0x437d36:0x1be},_0x4a3358={_0x2f2781:0x28f,_0x2069f0:0x66,_0x562dc3:0x194};function _0x20fda4(_0x35eeda,_0x30a82d,_0x31af38,_0x476a86){return _0xe18bb0(_0x31af38,_0x476a86-_0x4a3358._0x2f2781,_0x31af38-_0x4a3358._0x2069f0,_0x476a86-_0x4a3358._0x562dc3);}function _0x281ecc(_0x2678b8,_0x3d0616,_0xeadf85,_0x4f2ac1){return _0xe18bb0(_0x3d0616,_0xeadf85-0x259,_0xeadf85-0xd4,_0x4f2ac1-_0x5df6f2._0x437d36);}return{'reasonLine':_0x281ecc(_0x12f269._0x543614,_0x12f269._0x167da6,0x317,0x495)+_0x5b8c28+_0x281ecc(-_0x12f269._0x4c4056,_0x12f269._0x4381dd,0x1be,-_0x12f269._0x5b24b4),'guidance':'File\x20'+_0x20a222+_0x281ecc(0xf2,_0x12f269._0x2cb5b4,0x1fc,0x22d)};}function unseenLinesMessageText(){const _0x525829={_0x3afb9d:0x50c},_0x3d7fed={_0x462790:0x2cb,_0xc47a97:0x3c};function _0x24ba9b(_0x616b4a,_0x26e7f5,_0x27329a,_0xd7dfdc){return _0xe18bb0(_0x26e7f5,_0xd7dfdc-_0x3d7fed._0x462790,_0x27329a-_0x3d7fed._0xc47a97,_0xd7dfdc-0x8b);}function _0x5433ae(_0x4a450a,_0x4feaa7,_0x2651ef,_0x3c92a5){return _0xe18bb0(_0x4a450a,_0x2651ef-0x197,_0x2651ef-0x127,_0x3c92a5-0x79);}return{'reasonLine':_0x24ba9b(0x4e7,0x367,_0x525829._0x3afb9d,0x3db),'guidance':_0x24ba9b(0x2b2,0x542,0x5ce,0x425)};}function noChangeMessageText(_0x1425c2,_0x159edc){const _0x168508={_0x4e796e:0x366,_0x1bc36f:0x2a6,_0x34c246:0x3e2,_0x19439e:0x1dd,_0x4adff9:0x56d,_0x24f76d:0x423,_0x310241:0x23c,_0x1b4f35:0x3e9},_0xdd10a={_0x13a8c0:0xde,_0x9cc944:0x1b0},_0x11da30={_0x596c10:0xb3};function _0x313e51(_0x13bef0,_0x8ab392,_0x24f9d3,_0x256bfc){return _0xe18bb0(_0x8ab392,_0x13bef0-0x447,_0x24f9d3-_0x11da30._0x596c10,_0x256bfc-0x2b);}function _0x5bb7a6(_0x16a12f,_0x36ce4e,_0x285974,_0x5e07f5){return _0xe18bb0(_0x16a12f,_0x285974-0x23f,_0x285974-_0xdd10a._0x13a8c0,_0x5e07f5-_0xdd10a._0x9cc944);}const _0xb827c0=_0x159edc>=0x3;return{'reasonLine':_0x5bb7a6(_0x168508._0x4e796e,0x399,0x402,0x53c)+_0x1425c2+_0x313e51(0x374,_0x168508._0x1bc36f,_0x168508._0x34c246,_0x168508._0x19439e),'guidance':_0xb827c0?_0x313e51(0x416,0x3be,_0x168508._0x4adff9,_0x168508._0x24f76d):_0x5bb7a6(_0x168508._0x310241,0x562,_0x168508._0x1b4f35,0x55f)};}function buildRecoveryContext(_0x3aacc4,_0x30e250,_0xe7c062,_0x50e2b6,_0x4c9ec6,_0x5e3a2c){const _0x57d97d={_0x5d2c64:0x37d,_0x2a8573:0x58d,_0x3c7c38:0x4ed,_0x7398fa:0x3b6,_0x2932aa:0x4fd,_0x4f1e69:0x1e5,_0x3c02d5:0x126,_0xcbe7fb:0x420,_0x4f469a:0x246,_0x568f78:0x3de,_0x5ed011:0x3fb,_0x2e5d25:0x3a0,_0x214832:0x361,_0xfef30e:0x480,_0x58076b:0x38c,_0x1e6096:0x25b,_0x2c2a65:0x32f,_0x2de007:0x564,_0x19f1d2:0x41d,_0xf6b364:0x49b,_0x506e33:0x230,_0x40a450:0x56b,_0x3d1851:0x3ce,_0x2480bb:0x4ea,_0x33e158:0x30a,_0x105030:0x8e,_0x13e765:0x1ca,_0x283538:0x63f,_0x8cab90:0x29d,_0x3c394e:0x34b,_0x357c63:0x433,_0x33a7f3:0x630,_0x4a167b:0x2fd,_0xbb4b8a:0xa6},_0xe4faa1={_0x404234:0xdf},_0x10e273='['+_0x3aacc4+'#'+_0x30e250[_0xe7047b(_0x57d97d._0x5d2c64,_0x57d97d._0x2a8573,0x53f,_0x57d97d._0x3c7c38)]+']';function _0x3437a1(_0x1dc94d,_0xf98d85,_0x2a0a64,_0x40f52d){return _0x47b891(_0xf98d85,_0x2a0a64- -0x25a,_0x2a0a64-0x1a6,_0x40f52d-0x104);}const _0x24e6e7={'tag':_0x30e250[_0x3437a1(_0x57d97d._0x7398fa,0x322,_0x57d97d._0x2932aa,0x39c)],'digest':_0x30e250[_0x3437a1(_0x57d97d._0x4f1e69,_0x57d97d._0x3c02d5,0x255,0x401)],'contextLines':[],'output':_0x4c9ec6+'\x0a'+_0x10e273+'\x0a'+_0x5e3a2c},_0x34b926=_0x30e250['lines'][_0x3437a1(_0x57d97d._0xcbe7fb,_0x57d97d._0x4f469a,_0x57d97d._0x568f78,_0x57d97d._0x5ed011)],_0x2486a3=[...new Set(_0xe7c062[_0xe7047b(_0x57d97d._0x2e5d25,0x44c,_0x57d97d._0x214832,_0x57d97d._0xfef30e)](_0x11a27d=>Number['isSafeInteger'](_0x11a27d)&&_0x11a27d>=0x1&&_0x11a27d<=_0x34b926))][_0x3437a1(0x3ac,_0x57d97d._0x58076b,0x37e,_0x57d97d._0x1e6096)]((_0x569065,_0x317ba7)=>_0x569065-_0x317ba7);if(_0x2486a3[_0x3437a1(0x4f8,_0x57d97d._0x2c2a65,0x3de,_0x57d97d._0x2de007)]===0x0)return _0x24e6e7;const _0x315016=_0x2486a3[_0x2486a3[_0xe7047b(_0x57d97d._0x19f1d2,_0x57d97d._0xf6b364,0x321,0x3ce)]-0x1]-_0x2486a3[0x0]+0x1;if(_0x315016>0x14)return _0x24e6e7;for(const _0x1932b1 of _0x2486a3){if(!isWithinDisplayColumns(_0x30e250[_0x3437a1(0x1e,0x2f4,0x1ba,0x63)][_0x1932b1-0x1],0x200))return _0x24e6e7;}const _0x40fccf=formatAnchoredFileRead({'displayPath':_0x3aacc4,'snapshot':_0x30e250,'lineStart':_0x2486a3[0x0],'lineEnd':_0x2486a3[_0x2486a3[_0xe7047b(_0x57d97d._0x506e33,_0x57d97d._0x40a450,0x3a9,_0x57d97d._0x3d1851)]-0x1],'maxBytes':_0x50e2b6});if(_0x40fccf[_0xe7047b(_0x57d97d._0x2480bb,0x2f6,0x412,0x33f)]||_0x40fccf[_0x3437a1(_0x57d97d._0x33e158,_0x57d97d._0x105030,0x213,_0x57d97d._0x13e765)]['length']===0x0)return _0x24e6e7;function _0xe7047b(_0x1fb1a8,_0xb8b2a2,_0x1b6b88,_0xf114dc){return _0xe18bb0(_0xb8b2a2,_0xf114dc-0x227,_0x1b6b88-0x1cc,_0xf114dc-_0xe4faa1._0x404234);}const _0xfb5928=_0x4c9ec6+'\x0a'+_0x40fccf[_0x3437a1(0x48b,_0x57d97d._0x283538,0x459,0x2e8)]['trimEnd']()+'\x0a'+_0x5e3a2c;if(Buffer['byteLength'](_0xfb5928,_0x3437a1(_0x57d97d._0x8cab90,_0x57d97d._0x3c394e,_0x57d97d._0x357c63,0x3b5))>_0x50e2b6)return _0x24e6e7;return{'tag':_0x30e250[_0xe7047b(_0x57d97d._0x33a7f3,_0x57d97d._0x4a167b,0x673,0x4ed)],'digest':_0x30e250[_0x3437a1(0x214,_0x57d97d._0xbb4b8a,0x255,0x3cb)],'contextLines':[..._0x40fccf[_0xe7047b(0x27d,0x388,0x33c,0x203)]],'output':_0xfb5928};}function assertPreviewWithinBounds(_0x98c1f9,_0x550ce2,_0x227838){const _0x19493b={_0x23bca5:0x65b,_0x310fcd:0x455,_0xe7193d:0x54d,_0x38abfc:0x5ae,_0x4a62aa:0x838,_0x3c8bc6:0x5df,_0x21e142:0x6d6,_0x90016c:0x8eb},_0x592ed5={_0x3440d0:0x4ae,_0x2404d8:0xb4},_0x308e7a={_0x724c86:0x4b},_0x35f1d5=_0x98c1f9[_0x4ab2d8(0x4d9,_0x19493b._0x23bca5,_0x19493b._0x310fcd,_0x19493b._0xe7193d)]((_0x1c325b,_0x1ab92c)=>_0x1c325b+Buffer['byteLength'](_0x1ab92c['oldText'],_0x4ab2d8(0x71c,0x8ac,0x857,0x5ec))+Buffer[_0x4ab2d8(0x5d7,0x691,0x62d,0x45e)](_0x1ab92c[_0x2d89e7(0x2c9,0x69e,0x4d7,0x363)],_0x4ab2d8(0x71c,0x8fe,0x678,0x7f5)),0x0);function _0x4ab2d8(_0x36143c,_0x30b958,_0x4f3e7c,_0x30fbd5){return _0xe18bb0(_0x30fbd5,_0x36143c-0x520,_0x4f3e7c-_0x308e7a._0x724c86,_0x30fbd5-0x42);}function _0x2d89e7(_0x30bf07,_0x332796,_0x12f78c,_0x5b22ee){return _0xe18bb0(_0x332796,_0x12f78c-_0x592ed5._0x3440d0,_0x12f78c-_0x592ed5._0x2404d8,_0x5b22ee-0x146);}if(_0x35f1d5>MAX_ANCHORED_PREVIEW_BYTES)throw createAnchoredFileError(_0x2d89e7(0x46f,0x2f2,0x48d,_0x19493b._0x38abfc),_0x4ab2d8(0x820,_0x19493b._0x4a62aa,0x68d,0x779)+_0x35f1d5+_0x4ab2d8(_0x19493b._0x3c8bc6,0x7c2,0x63a,_0x19493b._0x21e142)+MAX_ANCHORED_PREVIEW_BYTES+_0x4ab2d8(0x6f1,0x632,0x7a3,_0x19493b._0x90016c),{'path':_0x227838,'canonicalPath':_0x550ce2,'previewBytes':_0x35f1d5});}function buildPreview(_0x4f1b1d,_0x521362,_0x5523a1,_0xedd458,_0x4a3e97){const _0x10f193={_0x442253:0x37e,_0x4ee6e0:0x482,_0x4e3b24:0x254,_0x3377fc:0x2b0,_0x27bc19:0x1bf,_0x234a2d:0x424,_0x432746:0x3d5},_0x274adf={_0x2a6cb0:0x17a},_0xa6a186={_0x597ce5:0x5de,_0x181b60:0x21};function _0x32bfe4(_0x3a8b33,_0x15c852,_0x2eefdd,_0x513a63){return _0xe18bb0(_0x2eefdd,_0x3a8b33-_0xa6a186._0x597ce5,_0x2eefdd-_0xa6a186._0x181b60,_0x513a63-0xff);}function _0x2a180d(_0x4311ff,_0x25c281,_0xabc5e9,_0x3cd844){return _0x47b891(_0x4311ff,_0x25c281- -0x383,_0xabc5e9-0x112,_0x3cd844-_0x274adf._0x2a6cb0);}return{'mode':_0x4f1b1d,'filePath':_0x521362[_0x2a180d(0x244,0x2ec,_0x10f193._0x442253,0x2f3)],'canonicalPath':_0x5523a1['canonicalPath'],'tag':_0x521362['tag'],'digest':_0xedd458['snapshot'][_0x32bfe4(0x5fc,0x546,_0x10f193._0x4ee6e0,0x49a)],'operationCount':_0x4a3e97['operations'][_0x2a180d(0x147,0x2b5,0x1a6,_0x10f193._0x4e3b24)],'operations':_0x4a3e97[_0x2a180d(0x371,0x202,_0x10f193._0x3377fc,_0x10f193._0x27bc19)],'blocks':_0x4a3e97[_0x2a180d(_0x10f193._0x234a2d,0x338,_0x10f193._0x432746,0x4b5)]};}function buildResultText(_0x7be36c,_0x4d6b4d,_0x20e94c,_0x13005d,_0x2cbcf2){const _0x1fc689={_0x3fc493:0x3ab,_0x44ca51:0x4ea,_0x3c4fc4:0x3ec,_0x5e940e:0x7fe,_0x16100e:0x62f,_0x5c8626:0x56d,_0x5a74d4:0x3b6,_0x3b4211:0x4e3,_0x3fc05c:0x796,_0x21ce48:0x706,_0x415f6a:0x5ed,_0x3c56ff:0x427,_0x53be0d:0x20e},_0x193696={_0x394fae:0x1f2},_0x4267f1={_0x45cdd3:0xa0,_0x23b4e1:0xc1,_0x215d32:0x1bc},_0x13b5ca='['+_0x7be36c+'#'+_0x4d6b4d['tag']+']\x0a'+_0x2cbcf2+'\x0a';let _0x1521ad=Buffer[_0x3d5bf7(0x514,_0x1fc689._0x3fc493,_0x1fc689._0x44ca51,_0x1fc689._0x3c4fc4)](_0x13b5ca,_0x3d5bf7(_0x1fc689._0x5e940e,0x565,_0x1fc689._0x16100e,0x7d9));const _0xe3f116=[],_0x143c06=[];for(const _0x29d5f3 of _0x20e94c){const _0x119970=_0x29d5f3+':'+(_0x4d6b4d[_0x3d5bf7(0x414,_0x1fc689._0x5c8626,_0x1fc689._0x5a74d4,0x235)][_0x29d5f3-0x1]??'')+'\x0a',_0xecad94=Buffer[_0x3d5bf7(_0x1fc689._0x3b4211,0x6da,_0x1fc689._0x44ca51,0x48d)](_0x119970,_0x1e83ac(_0x1fc689._0x3fc05c,_0x1fc689._0x21ce48,_0x1fc689._0x415f6a,_0x1fc689._0x3c56ff));if(_0x1521ad+_0xecad94>_0x13005d)break;_0xe3f116['push'](_0x119970),_0x143c06[_0x1e83ac(0x121,0x30e,0x31c,_0x1fc689._0x53be0d)](_0x29d5f3),_0x1521ad+=_0xecad94;}function _0x1e83ac(_0x9c721,_0x16dfd2,_0x22daef,_0x5a7cae){return _0x47b891(_0x16dfd2,_0x22daef- -_0x4267f1._0x45cdd3,_0x22daef-_0x4267f1._0x23b4e1,_0x5a7cae-_0x4267f1._0x215d32);}function _0x3d5bf7(_0xe2fdb6,_0x3c93e6,_0x207016,_0x3851ab){return _0x47b891(_0x3851ab,_0x207016- -0x5e,_0x207016-0x14e,_0x3851ab-_0x193696._0x394fae);}return{'output':''+_0x13b5ca+_0xe3f116['join'](''),'observedLines':_0x143c06};}function selectChangedContextLines(_0x49510b,_0x1e5098,_0xc1cbe3){const _0x9f6b84={_0x5dc853:0x7d6,_0x20a1e2:0x747,_0x3f0399:0x883,_0x17cc6f:0x567,_0x1c5568:0x3f8,_0x78946a:0x4ab,_0x4dbcaa:0x586,_0x303686:0x3fb,_0x2ef0db:0x534,_0x1f2b3c:0x853,_0x27ef65:0x706,_0x28b980:0x66c,_0x4dcf20:0x358,_0x30b47a:0x3a8,_0x4115b3:0x6bf,_0x59a0ed:0x534,_0x5c22d3:0x6f7,_0x94cfd5:0x720,_0xbf5942:0x559,_0x11fee9:0x63a,_0x6bb4f3:0x426,_0x4346b5:0x595,_0x5bc500:0x779,_0x340c4f:0x418,_0x3fbb78:0x44e,_0x3a4b59:0x355,_0x564dd3:0x85d,_0x4a1f4f:0xa63,_0x5055e7:0x53a,_0x284c62:0x6ab,_0x4a1c62:0x11f,_0x19f47e:0x6b9,_0x22ab5f:0x7c5,_0x206d3f:0x7c5,_0x52c2b3:0x685,_0x55501b:0x29b,_0x539033:0x29d},_0x4adc49={_0x541f0c:0x135,_0x47b7ab:0x18b},_0x595abe={_0x342aa9:0x60,_0x3c7e7a:0x193};function _0x5f3289(_0x50de9f,_0xbb066e,_0x28c11a,_0x3ac2b7){return _0x47b891(_0xbb066e,_0x3ac2b7- -0x104,_0x28c11a-_0x595abe._0x342aa9,_0x3ac2b7-_0x595abe._0x3c7e7a);}const _0x7bb572=new Set();function _0x4ad9f2(_0x23763d,_0x1728da,_0xe76686,_0x2c5a8a){return _0x47b891(_0xe76686,_0x2c5a8a-_0x4adc49._0x541f0c,_0xe76686-0x103,_0x2c5a8a-_0x4adc49._0x47b7ab);}for(const _0x1f49d8 of _0x49510b){const _0x1cc0d4=_0x1f49d8[_0x4ad9f2(0x7f1,0x568,_0x9f6b84._0x5dc853,_0x9f6b84._0x20a1e2)];if(_0xc1cbe3===_0x4ad9f2(0x8b2,_0x9f6b84._0x3f0399,_0x9f6b84._0x17cc6f,0x704)){if(_0x1cc0d4[_0x5f3289(0x28b,0x216,0x2a0,_0x9f6b84._0x1c5568)]>0x0)for(let _0xa70828=_0x1cc0d4['newStartLine'];_0xa70828<=_0x1cc0d4[_0x4ad9f2(_0x9f6b84._0x78946a,0x716,0x600,_0x9f6b84._0x4dbcaa)]&&_0xa70828<=_0x1e5098['lines'][_0x5f3289(_0x9f6b84._0x303686,0x5fa,0x3bf,_0x9f6b84._0x2ef0db)];_0xa70828+=0x1){_0x7bb572[_0x4ad9f2(0x8d2,0xa53,0x645,_0x9f6b84._0x1f2b3c)](_0xa70828);}else _0x1cc0d4['newStartLine']>=0x1&&_0x1cc0d4[_0x5f3289(_0x9f6b84._0x27ef65,0x409,_0x9f6b84._0x28b980,0x559)]<=_0x1e5098['lines'][_0x5f3289(_0x9f6b84._0x4dcf20,_0x9f6b84._0x30b47a,_0x9f6b84._0x4115b3,_0x9f6b84._0x59a0ed)]&&_0x7bb572['add'](_0x1cc0d4[_0x5f3289(_0x9f6b84._0x5c22d3,0x673,_0x9f6b84._0x94cfd5,_0x9f6b84._0xbf5942)]);}else{if(_0x1cc0d4[_0x5f3289(_0x9f6b84._0x11fee9,_0x9f6b84._0x6bb4f3,0x5da,_0x9f6b84._0x4346b5)]>0x0)for(let _0xca9af1=_0x1cc0d4['oldStartLine'];_0xca9af1<=_0x1cc0d4[_0x4ad9f2(0x5fe,0x96c,_0x9f6b84._0x5bc500,0x7dd)]&&_0xca9af1<=_0x1e5098[_0x5f3289(_0x9f6b84._0x340c4f,_0x9f6b84._0x3fbb78,_0x9f6b84._0x3a4b59,0x310)][_0x4ad9f2(0x89e,0x6b7,_0x9f6b84._0x564dd3,0x76d)];_0xca9af1+=0x1){_0x7bb572[_0x4ad9f2(0x94c,_0x9f6b84._0x4a1f4f,0x6ef,0x853)](_0xca9af1);}else _0x1cc0d4[_0x5f3289(_0x9f6b84._0x5055e7,0x459,_0x9f6b84._0x284c62,0x5c5)]>=0x1&&_0x1cc0d4['oldStartLine']<=_0x1e5098[_0x5f3289(0x4f2,0x231,_0x9f6b84._0x4a1c62,0x310)]['length']&&_0x7bb572[_0x4ad9f2(_0x9f6b84._0x19f47e,_0x9f6b84._0x22ab5f,_0x9f6b84._0x206d3f,0x853)](_0x1cc0d4[_0x5f3289(0x5cd,0x4b9,0x721,0x5c5)]);}}return[..._0x7bb572][_0x4ad9f2(0x848,_0x9f6b84._0x52c2b3,0x824,0x70d)]((_0x2fde87,_0x27f038)=>_0x2fde87-_0x27f038)[_0x5f3289(0x2e7,_0x9f6b84._0x55501b,0x48c,_0x9f6b84._0x539033)](0x0,0x14);}function throwStaleSnapshot(_0x4462c3,_0x1a2b2b,_0x3ebdea,_0x42513e){const _0x243a99={_0x1e7c35:0xf3,_0x18a1b4:0x414,_0x206be8:0x8bd,_0xeaa552:0x70c,_0x24a8f2:0xde,_0xb0d7be:0x26a,_0x478b5e:0x7a7,_0x1bb313:0x8a1,_0x1ca821:0x51f,_0x8784d1:0x78b,_0x17cea3:0x87f,_0x3c4b11:0x6bb};function _0x59288e(_0x4c76e7,_0x392070,_0x1726fd,_0x24b19e){return _0x47b891(_0x24b19e,_0x4c76e7- -0x3d1,_0x1726fd-0x93,_0x24b19e-0x1df);}function _0x548b26(_0x1faa78,_0x26efe3,_0x16c595,_0x12a860){return _0x47b891(_0x1faa78,_0x12a860- -0x4b,_0x16c595-0x14a,_0x12a860-0x66);}throw createAnchoredFileError('stale_snapshot',_0x42513e[_0x59288e(0x2e2,0x408,_0x243a99._0x1e7c35,_0x243a99._0x18a1b4)],{'path':_0x4462c3,'canonicalPath':_0x1a2b2b,'tag':_0x3ebdea[_0x548b26(0x6b2,_0x243a99._0x206be8,0x8da,_0x243a99._0xeaa552)],'digest':_0x3ebdea[_0x59288e(_0x243a99._0x24a8f2,-0x8a,_0x243a99._0xb0d7be,0x5f)],..._0x42513e[_0x548b26(0x6ef,_0x243a99._0x478b5e,_0x243a99._0x1bb313,0x6bb)][_0x548b26(0x7b8,_0x243a99._0x1ca821,_0x243a99._0x8784d1,0x5ed)]>0x0?{'contextLines':[..._0x42513e[_0x548b26(0x563,0x7e7,_0x243a99._0x17cea3,_0x243a99._0x3c4b11)]]}:{}});}function throwUnseenLines(_0x4d7209,_0x5aa943,_0x1c37a6,_0x4f3992,_0x66a11c){const _0x10f3b2={_0x5a5c49:0x2e1,_0x57eff6:0x456,_0x10982a:0x30d,_0x6a677c:0x53f,_0xce490a:0x3f3,_0x5933d9:0x20c,_0x1af48e:0x7eb},_0x4621ae={_0x47e886:0x98},_0x4a00f3={_0x545277:0x47};function _0x24edb9(_0x50c82a,_0x575765,_0x5381e5,_0x2a7a90){return _0x47b891(_0x5381e5,_0x2a7a90- -0xbc,_0x5381e5-0x1ad,_0x2a7a90-_0x4a00f3._0x545277);}function _0x5d6a02(_0x1da675,_0x4c6b75,_0x2d6b07,_0xd9bdc6){return _0xe18bb0(_0x4c6b75,_0xd9bdc6-0x47,_0x2d6b07-_0x4621ae._0x47e886,_0xd9bdc6-0x37);}throw createAnchoredFileError('unseen_lines',_0x66a11c[_0x24edb9(0x47f,0x7c8,0x771,0x5f7)],{'path':_0x4d7209,'canonicalPath':_0x5aa943,'tag':_0x1c37a6[_0x5d6a02(_0x10f3b2._0x5a5c49,_0x10f3b2._0x57eff6,0x4bc,_0x10f3b2._0x10982a)],'digest':_0x1c37a6[_0x24edb9(_0x10f3b2._0x6a677c,0x604,0x456,_0x10f3b2._0xce490a)],'requiredLines':[..._0x4f3992],..._0x66a11c['contextLines'][_0x5d6a02(_0x10f3b2._0x5933d9,0x3a3,0x17b,0x1ee)]>0x0?{'contextLines':[..._0x66a11c[_0x24edb9(0x5f5,_0x10f3b2._0x1af48e,0x7b2,0x64a)]]}:{}});}function throwNoChange(_0x55d8bb,_0x3b3b02,_0xf117d9,_0x467125,_0x25485f){const _0x6a4876={_0x398dfe:0x43f,_0x9137d3:0x36c,_0x1c655f:0x1f5,_0x58b0bf:0x177,_0x3ae07b:0xa0,_0x13e7a8:0x409,_0x1a3cef:0x4ed},_0x1a9611={_0xcae6da:0x41,_0x32a451:0x8f},_0xba6aa6={_0x348fc2:0x1d};function _0x2fe478(_0x53da0a,_0x3a5f6e,_0x11fc61,_0x52b357){return _0xe18bb0(_0x52b357,_0x11fc61-0x3bc,_0x11fc61-0x1e8,_0x52b357-_0xba6aa6._0x348fc2);}function _0x27e919(_0x307bca,_0x3f50ef,_0x13312d,_0x625f7d){return _0x47b891(_0x625f7d,_0x13312d- -0x338,_0x13312d-_0x1a9611._0xcae6da,_0x625f7d-_0x1a9611._0x32a451);}throw createAnchoredFileError(_0x2fe478(0x333,_0x6a4876._0x398dfe,0x331,_0x6a4876._0x9137d3),_0x467125['output'],{'path':_0x55d8bb,'canonicalPath':_0x3b3b02,'tag':_0xf117d9['tag'],'digest':_0xf117d9[_0x27e919(0x247,_0x6a4876._0x1c655f,_0x6a4876._0x58b0bf,_0x6a4876._0x3ae07b)],'attemptCount':_0x25485f,..._0x467125['contextLines'][_0x27e919(_0x6a4876._0x13e7a8,0x153,0x300,0x40f)]>0x0?{'contextLines':[..._0x467125[_0x27e919(0x410,_0x6a4876._0x1a3cef,0x3ce,0x2b8)]]}:{}});}async function prepareAnchoredFileEditApproval(_0x40f67f,_0x250ed5,_0x457dd4,_0x35bf09){const _0x540340={_0x403735:0x47c,_0x206e96:0x4f1,_0x4f98b1:0x595,_0x1df3b4:0x62e,_0x2a4fd1:0x6a4,_0x298d07:0x650,_0x386612:0x44e,_0x48d701:0x560,_0x4a4a79:0x214,_0x24a73b:0x240,_0x282ec9:0x7b6,_0x4bd1a1:0x716,_0x1c16d4:0x697,_0x5f8230:0x813,_0xa33b68:0x32,_0x389131:0xf2,_0x35945b:0x4b2,_0x17d5a9:0x3e5,_0x1aab4e:0x4,_0x30e26f:0x1bb,_0x32d462:0x55f,_0x213e39:0x73c,_0x3374c0:0x921,_0x4c3913:0xa0,_0x37911b:0x2d,_0x242868:0xa1,_0xc053f:0x11c,_0x3f690d:0x272,_0x188c2d:0x32e,_0x516542:0x214,_0x1539e3:0x2a6,_0x4c9fc2:0xef,_0x2643c8:0x8f,_0x29c726:0x2e1,_0x590c59:0x49b,_0x2564d3:0x7af,_0x46487e:0x5bd,_0x120945:0x13c,_0x57cf16:0x60,_0x37efbc:0x1af,_0x432e7e:0x2a8,_0x57d43e:0xc1,_0x1f2410:0x2c9,_0x1283c1:0xbf,_0x728c67:0x63,_0x41d70c:0x242,_0x233570:0x1d3,_0x8cd8f0:0x67d,_0x2bd077:0x500,_0x227d22:0x226,_0xd67706:0x106,_0x5b1e94:0x436,_0x5934d1:0x376,_0x4bd4ab:0x1eb,_0x154d32:0x597,_0x517fbd:0x79b,_0x31a854:0x78e,_0x40588f:0x5b3,_0x37fc9d:0xd0,_0x3ed859:0x164,_0x26936b:0x780,_0x5c7845:0x4ca,_0x1fdb2c:0x62e,_0x5eafd1:0x120,_0x49aa73:0x301,_0x4c3028:0xc1,_0x1a77d3:0x7f3,_0x50c8ce:0x6c5,_0x105d3c:0x3e9,_0x4c5ba3:0x749,_0x1dbf57:0x667,_0x18b9fa:0x7e5,_0x2ca00f:0x7c2},_0x3dfac5={_0x385eb8:0xb9},_0x5698ea={_0x38f949:0x132};function _0xf877a9(_0x2bb7c8,_0x37b954,_0x2d9c27,_0x4bb4d1){return _0xe18bb0(_0x37b954,_0x2d9c27-0x450,_0x2d9c27-_0x5698ea._0x38f949,_0x4bb4d1-0x1a6);}const _0x1e7782=parseAnchoredInput(_0x40f67f,_0x250ed5),_0x489774=await resolveEditTarget(_0x35bf09[_0xf877a9(0x33f,_0x540340._0x403735,0x424,0x40a)],_0x35bf09[_0xf877a9(0x3a1,0x532,_0x540340._0x206e96,0x6f7)],_0x1e7782[_0xf877a9(_0x540340._0x4f98b1,0x7c3,_0x540340._0x1df3b4,_0x540340._0x2a4fd1)]);function _0x4db359(_0x397f1d,_0x5117a3,_0x327ca6,_0x175e3a){return _0x47b891(_0x397f1d,_0x327ca6- -0x4c4,_0x327ca6-0x2a,_0x175e3a-_0x3dfac5._0x385eb8);}const {observations:_0x3c65ed}=_0x35bf09;_0x3c65ed[_0xf877a9(0x4ae,_0x540340._0x298d07,_0x540340._0x386612,_0x540340._0x48d701)](_0x457dd4);const _0x454ce7=_0x3c65ed[_0x4db359(-0x100,0x160,-0x92,-0x182)](_0x489774[_0x4db359(0x260,0x2c5,_0x540340._0x4a4a79,_0x540340._0x24a73b)],_0x1e7782[_0xf877a9(_0x540340._0x282ec9,0x689,_0x540340._0x4bd1a1,0x5d0)]),_0x2fcd69=await readLiveSnapshot(_0x489774[_0xf877a9(0x57b,0x706,_0x540340._0x1c16d4,_0x540340._0x5f8230)],_0x1e7782['filePath']),_0xb58bd0=computePayloadDigest(_0x1e7782['operations']);if(_0x2fcd69[_0x4db359(-_0x540340._0xa33b68,_0x540340._0x389131,-0x15,0x123)]!==_0x454ce7[_0xf877a9(_0x540340._0x35945b,0x228,_0x540340._0x17d5a9,0x59b)][_0x4db359(_0x540340._0x1aab4e,-_0x540340._0x30e26f,-0x15,0x7e)]){const {reasonLine:_0x568287,guidance:_0x332143}=staleSnapshotMessageText(_0x1e7782['filePath'],_0x1e7782[_0xf877a9(_0x540340._0x32d462,_0x540340._0x213e39,0x716,_0x540340._0x3374c0)]),_0x2a3ea0=buildRecoveryContext(_0x1e7782['filePath'],_0x2fcd69,collectRequiredLines(_0x1e7782['operations']),_0x35bf09[_0x4db359(-0x69,-0x87,_0x540340._0x4c3913,_0x540340._0x37911b)],_0x568287,_0x332143);_0x3c65ed['record'](_0x2fcd69,_0x2a3ea0[_0x4db359(_0x540340._0x242868,_0x540340._0xc053f,0x242,_0x540340._0x3f690d)]),throwStaleSnapshot(_0x1e7782['filePath'],_0x489774[_0x4db359(_0x540340._0x188c2d,0x2cf,_0x540340._0x516542,0x6e)],_0x2fcd69,_0x2a3ea0);}let _0x8e628f;try{_0x8e628f=prepareCanonicalFileEdit(_0x454ce7['snapshot'],_0x454ce7[_0x4db359(_0x540340._0x1539e3,0x237,0x1d8,_0x540340._0x4c9fc2)],_0x1e7782['operations']);}catch(_0x5c199d){if(_0x5c199d instanceof ToolExecutionError&&_0x5c199d[_0x4db359(0xc1,-_0x540340._0x2643c8,-0x2d,-0x179)][_0xf877a9(_0x540340._0x29c726,_0x540340._0x590c59,0x376,0x45b)]===_0xf877a9(0x866,_0x540340._0x2564d3,0x660,_0x540340._0x46487e)){const _0x2552cd=_0x5c199d[_0x4db359(-0x169,-_0x540340._0x120945,-0x2d,0x11e)][_0x4db359(_0x540340._0x57cf16,_0x540340._0x37efbc,0x59,-0x1ae)]??collectRequiredLines(_0x1e7782[_0x4db359(0x152,_0x540340._0x432e7e,_0x540340._0x57d43e,_0x540340._0x1f2410)]),{reasonLine:_0x4046d6,guidance:_0x425842}=unseenLinesMessageText(),_0x2f7dec=buildRecoveryContext(_0x1e7782[_0x4db359(-0x2b,0x1b7,0x1ab,0x1af)],_0x2fcd69,_0x2552cd,_0x35bf09['outputBudgetBytes'],_0x4046d6,_0x425842);_0x3c65ed[_0x4db359(0x219,_0x540340._0x1283c1,_0x540340._0x4c9fc2,0xc6)](_0x2fcd69,_0x2f7dec[_0x4db359(0x432,_0x540340._0x728c67,_0x540340._0x41d70c,_0x540340._0x233570)]),throwUnseenLines(_0x1e7782[_0xf877a9(_0x540340._0x8cd8f0,_0x540340._0x2bd077,0x62e,0x463)],_0x489774[_0x4db359(_0x540340._0x227d22,_0x540340._0xd67706,_0x540340._0x516542,0x11b)],_0x2fcd69,_0x2552cd,_0x2f7dec);}if(_0x5c199d instanceof ToolExecutionError&&_0x5c199d['structured'][_0xf877a9(_0x540340._0x5b1e94,0x308,_0x540340._0x5934d1,_0x540340._0x4bd4ab)]===_0xf877a9(0x411,_0x540340._0x154d32,0x3c5,0x24e)){const _0x52b21d=_0x3c65ed[_0xf877a9(_0x540340._0x517fbd,_0x540340._0x31a854,_0x540340._0x40588f,0x60f)](_0x489774[_0x4db359(_0x540340._0x37fc9d,_0x540340._0x3ed859,0x214,0x30e)],_0xb58bd0),{reasonLine:_0x37f190,guidance:_0x12e033}=noChangeMessageText(_0x1e7782[_0xf877a9(_0x540340._0x26936b,_0x540340._0x5c7845,_0x540340._0x1fdb2c,0x596)],_0x52b21d),_0x3dd029=buildRecoveryContext(_0x1e7782[_0x4db359(_0x540340._0x5eafd1,_0x540340._0x49aa73,0x1ab,-0xa)],_0x2fcd69,collectRequiredLines(_0x1e7782['operations']),_0x35bf09[_0x4db359(0x158,0x217,_0x540340._0x4c3913,-_0x540340._0x4c3028)],_0x37f190,_0x12e033);_0x3c65ed['record'](_0x2fcd69,_0x3dd029[_0xf877a9(_0x540340._0x1a77d3,0x502,_0x540340._0x50c8ce,0x539)]),throwNoChange(_0x1e7782[_0x4db359(0x5b,0x18d,0x1ab,0x227)],_0x489774[_0x4db359(_0x540340._0x105d3c,0x387,0x214,0x3b2)],_0x2fcd69,_0x3dd029,_0x52b21d);}throw _0x5c199d;}return assertPreviewWithinBounds(_0x8e628f[_0xf877a9(0x5ae,0x535,0x67a,0x794)],_0x489774[_0xf877a9(0x551,_0x540340._0x4c5ba3,0x697,_0x540340._0x1dbf57)],_0x1e7782[_0xf877a9(_0x540340._0x18b9fa,0x5d2,_0x540340._0x1fdb2c,_0x540340._0x2ca00f)]),buildPreview(_0x40f67f,_0x1e7782,_0x489774,_0x454ce7,_0x8e628f);}async function reResolveUnderLock(_0x39aea9,_0x3d59d1,_0x42f7f2,_0x339417){const _0x33c2cc={_0x14049e:0x314,_0x48cb57:0x24b,_0x310e8d:0x4d,_0x497ed4:0x85,_0x44ba5a:0x1,_0x101ba7:0x50d,_0x50bd82:0x532,_0x1e8de4:0x2bd,_0x14651f:0x19e,_0xd64144:0x6ca,_0x4de563:0x69f,_0x2a45c2:0x6af,_0x4ece5f:0x5d2,_0x18a43d:0x13e,_0x24cc0d:0xa4,_0x2b122:0x646,_0x37f552:0x471,_0x1071fe:0x46f,_0x1d9bab:0x4c9,_0x403f90:0x688},_0x4e130d={_0x22c8fb:0x1a6};let _0x493ea2;try{_0x493ea2=await resolveCanonicalAllowedFile(_0x39aea9,_0x3d59d1,_0x42f7f2[_0x28ed0c(0x267,0x111,_0x33c2cc._0x14049e,_0x33c2cc._0x48cb57)]);}catch(_0x57f0f9){if(_0x57f0f9 instanceof ToolExecutionError)throw _0x57f0f9;const _0x3c214d=_0x57f0f9 instanceof Error?_0x57f0f9['message']:String(_0x57f0f9);throw createAnchoredFileError(_0x28ed0c(_0x33c2cc._0x310e8d,_0x33c2cc._0x497ed4,0x1ae,-_0x33c2cc._0x44ba5a),_0x581bc1(0x4b0,0x47b,0x482,0x602)+_0x42f7f2[_0x28ed0c(0x3d7,0x49a,0x314,_0x33c2cc._0x101ba7)]+_0x28ed0c(0x329,_0x33c2cc._0x50bd82,0x42c,0x355)+_0x3c214d+_0x28ed0c(0x28b,_0x33c2cc._0x1e8de4,_0x33c2cc._0x14651f,0x1e6),{'path':_0x42f7f2[_0x581bc1(0x646,0x576,_0x33c2cc._0xd64144,_0x33c2cc._0x4de563)]});}function _0x581bc1(_0x4b0ff1,_0x48ff0c,_0x560b96,_0x5722ed){return _0xe18bb0(_0x5722ed,_0x4b0ff1-0x468,_0x560b96-_0x4e130d._0x22c8fb,_0x5722ed-0x13c);}function _0x28ed0c(_0x4d484c,_0x4295b7,_0x313835,_0x1e8647){return _0x47b891(_0x1e8647,_0x313835- -0x35b,_0x313835-0x12b,_0x1e8647-0x19c);}if(_0x493ea2[_0x581bc1(_0x33c2cc._0x2a45c2,0x4b4,0x874,0x767)]!==_0x339417)throw createAnchoredFileError(_0x581bc1(0x4e0,_0x33c2cc._0x4ece5f,0x4b8,0x2dd),_0x28ed0c(_0x33c2cc._0x18a43d,-0x37,0x17e,_0x33c2cc._0x24cc0d)+_0x42f7f2[_0x581bc1(_0x33c2cc._0x2b122,0x48a,0x7e2,_0x33c2cc._0x37f552)]+'\x20now\x20resolves\x20to\x20a\x20different\x20target\x20than\x20the\x20approved\x20edit;\x20re-read\x20with\x20FileRead\x20first.',{'path':_0x42f7f2[_0x581bc1(_0x33c2cc._0x2b122,_0x33c2cc._0x1071fe,0x554,_0x33c2cc._0x1d9bab)],'canonicalPath':_0x493ea2[_0x581bc1(0x6af,0x7b2,0x571,_0x33c2cc._0x403f90)]});return _0x493ea2;}async function executeAnchoredFileEdit(_0x300af4,_0x5419dd,_0x205279,_0x9b42d2,_0x257dd6=defaultFileSystem2){const _0x15ccd3={_0xdc7b96:0x697,_0x338e46:0x49d,_0x48bafe:0x744,_0xfc938a:0x5fc,_0x1a7121:0x3e1,_0x5b2ab0:0x376,_0x2b5e5c:0x51e,_0x3401bc:0x44a,_0x1c1e91:0x355,_0x16beab:0x4f5,_0x231210:0x802,_0x308a1b:0x660,_0x435d7a:0x707},_0x979661={_0x21dcac:0x300,_0x29b0ac:0x208,_0x20f39c:0x47b,_0x3a654e:0x45d,_0x4dfa3b:0x78f,_0x1e604d:0x600,_0x526811:0x1e4,_0x12aa60:0x232,_0x468e8c:0x395,_0x1d60fd:0x48a,_0x295cad:0x31f,_0xcce7d8:0x17d,_0x3c998c:0x4e9,_0x46227c:0x61f,_0x387621:0x8b5,_0x213884:0x373,_0x2efc11:0x4a9,_0x46297b:0x4fa,_0x252a8b:0x679,_0x10b797:0x71c,_0x1bfa4a:0x7ff,_0x2018bc:0x7ef,_0x10a223:0x1a4,_0x531c83:0x6ad,_0x193c0d:0x6d9,_0x1c53aa:0x3da,_0x2ce1e6:0x489,_0x1d61f0:0x436,_0x3c2074:0x2ac,_0x3afef2:0x260,_0x1abd51:0x57d,_0x2a2078:0x5ff,_0x2206d2:0x74d,_0x1333a6:0x34e,_0x26006d:0x14f,_0xc60caf:0x5b0,_0x3c5646:0x60a,_0x167330:0x537,_0x393480:0x412,_0x506959:0x4e7,_0x212be3:0x331,_0x5b7572:0x252,_0x50bf93:0x62f,_0x674e00:0x630,_0x84d6:0x726,_0x4294f2:0x7e3,_0x4a33ad:0x8f2,_0x21c683:0x22b,_0x175672:0x307,_0x1941ee:0x382,_0x1a41a4:0x7bd,_0xabcd9d:0x5a1,_0x36faac:0x597,_0x3f715e:0x7c8,_0x32948a:0x2eb,_0x347662:0x5d2,_0x97bf7c:0x43f,_0xc4d4cb:0x63c,_0x173e6d:0x541,_0x21ae33:0x5ae,_0x5df125:0x54e,_0x2f540d:0x698,_0x37d946:0x387,_0x4f8b67:0x553,_0x456e3e:0x45f,_0x93cd17:0x758,_0x4431e4:0x8f6,_0xb641cb:0xb9,_0x3353ae:0x376,_0x9af634:0x23a,_0x5be08a:0x199,_0x4ae973:0x356,_0x149f34:0x1f5,_0x4e7de4:0x5b6,_0x1013f5:0x71e,_0x1c9624:0x72c,_0x2c8564:0x254,_0x1df3cb:0x7f9,_0x14374c:0x926,_0x1b8b30:0x520,_0xa8f075:0x61b,_0x2e65c8:0x647,_0x30194c:0x55f,_0x22b79a:0x66a,_0x2f2dcb:0x769,_0x44f1da:0x4c4,_0x48e914:0x853,_0x430454:0x6ee,_0x3a417e:0x6cb,_0x1ef6b5:0x828,_0x47cb6a:0x28a,_0x45857e:0x296,_0x2c23a2:0x248,_0x212b2b:0x417,_0x4bf61d:0x548,_0x3d8dab:0x4b6,_0x5b5918:0x4af,_0x39080e:0x447,_0x316480:0x13f,_0x16e76e:0x314,_0x27c263:0x46c,_0x39d8a7:0x7fd,_0x6713e8:0x7f0,_0x3fa535:0x6d4,_0x5c4f20:0x4e3,_0x18ace1:0x435,_0x47b054:0x772,_0x56f11c:0x742,_0x196219:0x504,_0x2d30dc:0x476,_0x3fddb3:0x126,_0x5f33c8:0x365,_0x55597b:0x5fb,_0xb028b9:0x437,_0x57a62d:0x507,_0x5144f6:0x50d,_0x387489:0x79a,_0x576f7f:0x138,_0x416759:0x2e9,_0xcb77ea:0x34f,_0x3ca705:0x3ae,_0x350666:0x4fa,_0x4d43f5:0x307,_0x2257ae:0x58f,_0x367f12:0x453,_0x406ace:0x4e6,_0xeb020d:0x274,_0xddbdf0:0x342,_0x15ba8e:0x76a,_0x1bce18:0x73f,_0x17c836:0x6a2,_0x440e9d:0x47b,_0x1c4337:0x496,_0x7111c9:0x749,_0x51fb94:0x6be,_0x32f3bb:0x726,_0x3235f4:0x6a6,_0x1e6308:0x149,_0x1200f1:0x34,_0x872685:0x189,_0x1c33f3:0x2fe,_0x4422f3:0x409,_0x18474e:0x3e4,_0x52a50c:0x514,_0x203e3c:0x47a,_0x2bd47c:0x5aa,_0x16f5b9:0x455,_0x299640:0x56b,_0x33c573:0x380,_0x189ea3:0x61a,_0x138ec1:0x41d,_0x495bb8:0x79d,_0x4f54cd:0x663,_0x4912ff:0x436,_0x59bb75:0x419,_0x283b3f:0x271,_0x2c8f50:0x36b,_0x309805:0x412,_0x276f10:0x3d8,_0x5ae861:0x47b,_0x30a602:0x305,_0x217662:0x8e0,_0x2cb714:0x853,_0x2176da:0x44f,_0x5b868a:0x464,_0x151ed5:0x3da,_0x23b33c:0x47b,_0x293684:0x55e,_0x9e0e20:0x5bc,_0x127e11:0x5df,_0x441287:0x56d,_0x53eb85:0x5f2,_0x4457b8:0x4f6,_0x205433:0x45e,_0x2d02e7:0x54a,_0x4e9643:0x686,_0xfb55b7:0x755,_0x20af62:0x2e2,_0x1860f2:0x2d1,_0xd1ba1a:0x5dd,_0x1ad29e:0x25b,_0x3c80d6:0x2b1,_0x4a80a0:0x76a,_0xc67c0b:0x829,_0x269bba:0x7bd,_0x19ff22:0x717,_0x4b1c62:0x80e,_0x5b9089:0x8bc,_0xd91e8:0x566,_0x128694:0x636,_0x3421c4:0x406,_0x4293b2:0x3a6,_0x399343:0x5a4,_0x349182:0x294,_0x2a9c46:0x6e6,_0x44eee3:0x326,_0x4c6708:0x4e8,_0x22a1f7:0x372,_0x29fe69:0x463,_0x26c35a:0x2fc,_0x55a5fb:0x2a7,_0x367023:0x29a,_0x3f885e:0x119,_0x360799:0x5a6,_0x62ed5:0x5e2,_0x2fd448:0x6f9,_0x5cfe2d:0x6cc,_0x1c821f:0x322,_0x50cd96:0x2e9,_0x380635:0x6f7,_0x340732:0x6a8,_0x3ad386:0x616,_0x36bb23:0x6f1},_0x1d50aa={_0x5f39fc:0x1b8},_0x2ac88f={_0x3d040f:0xd1},_0x209546={_0x1288d6:0x203,_0x128d0f:0x140};function _0x575ef2(_0x4af977,_0x2460d7,_0x216704,_0xb5be67){return _0xe18bb0(_0x2460d7,_0x4af977-_0x209546._0x1288d6,_0x216704-_0x209546._0x128d0f,_0xb5be67-0xbd);}const _0x58cc73=parseAnchoredInput(_0x300af4,_0x5419dd);function _0x25831a(_0x5243c1,_0x330c34,_0x2637ab,_0x39e8a9){return _0xe18bb0(_0x2637ab,_0x39e8a9-0x55b,_0x2637ab-0x1c7,_0x39e8a9-_0x2ac88f._0x3d040f);}const _0x20bb12=await resolveEditTarget(_0x9b42d2[_0x575ef2(0x1d7,0x45,0x33b,0x113)],_0x9b42d2[_0x25831a(_0x15ccd3._0xdc7b96,_0x15ccd3._0x338e46,_0x15ccd3._0x48bafe,_0x15ccd3._0xfc938a)],_0x58cc73[_0x575ef2(_0x15ccd3._0x1a7121,0x415,_0x15ccd3._0x5b2ab0,0x3d7)]);return _0x9b42d2['mutations'][_0x25831a(0x4ad,0x3e2,0x6cf,_0x15ccd3._0x2b5e5c)](_0x20bb12[_0x575ef2(_0x15ccd3._0x3401bc,_0x15ccd3._0x1c1e91,_0x15ccd3._0x16beab,0x528)],_0x205279[_0x25831a(0x86f,_0x15ccd3._0x231210,_0x15ccd3._0x308a1b,_0x15ccd3._0x435d7a)],async()=>{const _0x3c04c1={_0x5ed30d:0x194,_0x17fe8e:0x327},_0x33746b=await reResolveUnderLock(_0x9b42d2[_0x30d340(_0x979661._0x21dcac,0x1d4,_0x979661._0x29b0ac,0x84)],_0x9b42d2[_0x30d340(0x2b4,_0x979661._0x20f39c,0x2d5,_0x979661._0x3a654e)],_0x58cc73,_0x20bb12[_0x184f91(_0x979661._0x4dfa3b,0x5c2,0x789,_0x979661._0x1e604d)]),{observations:_0x2a9aeb}=_0x9b42d2;_0x2a9aeb[_0x30d340(0x1e4,_0x979661._0x526811,_0x979661._0x12aa60,_0x979661._0x468e8c)](_0x205279[_0x30d340(_0x979661._0x1d60fd,0x1bd,_0x979661._0x295cad,_0x979661._0xcce7d8)]);const _0x319f0f=_0x2a9aeb[_0x184f91(_0x979661._0x3c998c,0x428,0x67d,0x58d)](_0x33746b[_0x184f91(0x78f,_0x979661._0x46227c,0x8bc,_0x979661._0x387621)],_0x58cc73[_0x30d340(_0x979661._0x213884,_0x979661._0x2efc11,_0x979661._0x46297b,_0x979661._0x252a8b)]);let _0x4d4177,_0x56c7a4;function _0x30d340(_0x4dbbc9,_0x39cc96,_0x836873,_0x363d27){return _0x25831a(_0x4dbbc9-_0x3c04c1._0x5ed30d,_0x39cc96-0x3d,_0x39cc96,_0x836873- -_0x3c04c1._0x17fe8e);}try{[_0x4d4177,_0x56c7a4]=await Promise[_0x184f91(_0x979661._0x10b797,0x91b,0x61a,0x5aa)]([_0x257dd6['readFile'](_0x33746b[_0x184f91(0x78f,_0x979661._0x1bfa4a,0x85c,_0x979661._0x2018bc)]),_0x257dd6[_0x30d340(0x456,0x428,0x257,_0x979661._0x10a223)](_0x33746b[_0x184f91(0x78f,_0x979661._0x531c83,_0x979661._0x193c0d,0x7d1)])]);}catch(_0xec2649){const _0x3a3775=_0xec2649 instanceof Error?_0xec2649[_0x30d340(0x671,_0x979661._0x1c53aa,_0x979661._0x2ce1e6,0x2a3)]:String(_0xec2649);throw createAnchoredFileError(_0x30d340(_0x979661._0x1d61f0,0x126,_0x979661._0x3c2074,_0x979661._0x3afef2),_0x184f91(0x619,_0x979661._0x1abd51,0x4a7,0x7b5)+_0x58cc73[_0x184f91(0x726,0x8f5,_0x979661._0x2a2078,_0x979661._0x2206d2)]+_0x30d340(_0x979661._0x1333a6,0x2c1,_0x979661._0x26006d,0x291)+_0x3a3775+_0x184f91(_0x979661._0xc60caf,_0x979661._0x3c5646,0x71a,_0x979661._0x167330),{'path':_0x58cc73[_0x30d340(0x50c,0x570,_0x979661._0x393480,_0x979661._0x506959)]});}const _0x1015fb=createNormalizedFileSnapshot(_0x33746b['canonicalPath'],_0x4d4177);if(_0x1015fb[_0x30d340(0x1d1,_0x979661._0x212be3,_0x979661._0x5b7572,0x407)]!==_0x319f0f[_0x184f91(0x4dd,_0x979661._0x50bf93,_0x979661._0x674e00,0x680)]['digest']){const {reasonLine:_0x275681,guidance:_0x41e92e}=staleSnapshotMessageText(_0x58cc73[_0x184f91(_0x979661._0x84d6,0x766,_0x979661._0x4294f2,0x53c)],_0x58cc73['tag']),_0x2188ca=buildRecoveryContext(_0x58cc73[_0x184f91(_0x979661._0x84d6,0x6f5,_0x979661._0x4a33ad,0x852)],_0x1015fb,collectRequiredLines(_0x58cc73['operations']),_0x9b42d2[_0x30d340(0x3b9,_0x979661._0x21c683,_0x979661._0x175672,_0x979661._0x1941ee)],_0x275681,_0x41e92e);_0x2a9aeb['record'](_0x1015fb,_0x2188ca[_0x184f91(_0x979661._0x1a41a4,0x5fe,0x80a,0x61a)]),throwStaleSnapshot(_0x58cc73['filePath'],_0x33746b[_0x184f91(_0x979661._0x4dfa3b,_0x979661._0xabcd9d,_0x979661._0x36faac,_0x979661._0x3f715e)],_0x1015fb,_0x2188ca);}let _0x24795e;function _0x184f91(_0x5c5a6c,_0x1c5707,_0x4882ba,_0x5d7046){return _0x25831a(_0x5c5a6c-0x7e,_0x1c5707-_0x1d50aa._0x5f39fc,_0x1c5707,_0x5c5a6c- -0x13);}try{_0x24795e=prepareCanonicalFileEdit(_0x319f0f[_0x30d340(-0x20,0xe5,0x1c9,_0x979661._0x32948a)],_0x319f0f[_0x30d340(0x343,_0x979661._0x347662,_0x979661._0x97bf7c,0x39f)],_0x58cc73[_0x184f91(_0x979661._0xc4d4cb,_0x979661._0x173e6d,_0x979661._0x21ae33,0x518)]);}catch(_0x290cac){if(_0x290cac instanceof ToolExecutionError&&_0x290cac[_0x184f91(_0x979661._0x5df125,0x69a,_0x979661._0x2f540d,_0x979661._0x37d946)][_0x184f91(0x46e,0x29f,_0x979661._0x4f8b67,_0x979661._0x456e3e)]===_0x184f91(_0x979661._0x93cd17,0x599,_0x979661._0x4431e4,0x5b2)){const _0x53f0e2=_0x290cac[_0x30d340(_0x979661._0xb641cb,_0x979661._0x3353ae,_0x979661._0x9af634,0x349)]['requiredLines']??collectRequiredLines(_0x58cc73[_0x30d340(_0x979661._0x5be08a,0x16b,0x328,0x1b1)]),{reasonLine:_0x3f2816,guidance:_0x9278e8}=unseenLinesMessageText(),_0x1dc8b7=buildRecoveryContext(_0x58cc73['filePath'],_0x1015fb,_0x53f0e2,_0x9b42d2['outputBudgetBytes'],_0x3f2816,_0x9278e8);_0x2a9aeb[_0x30d340(0x4f2,0x3bb,_0x979661._0x4ae973,_0x979661._0x149f34)](_0x1015fb,_0x1dc8b7[_0x30d340(0x428,0x53a,_0x979661._0x2efc11,_0x979661._0x4e7de4)]),throwUnseenLines(_0x58cc73[_0x184f91(_0x979661._0x84d6,_0x979661._0x1013f5,0x576,_0x979661._0x1c9624)],_0x33746b['canonicalPath'],_0x1015fb,_0x53f0e2,_0x1dc8b7);}if(_0x290cac instanceof ToolExecutionError&&_0x290cac['structured'][_0x30d340(_0x979661._0x2c8564,-0x41,0x15a,0x84)]==='no_change'){const {reasonLine:_0x37580d,guidance:_0x8b78c6}=noChangeMessageText(_0x58cc73[_0x184f91(_0x979661._0x84d6,_0x979661._0x1df3cb,_0x979661._0x14374c,0x58a)],0x1),_0x5484d9=buildRecoveryContext(_0x58cc73[_0x30d340(0x3c0,0x2bc,0x412,0x344)],_0x1015fb,collectRequiredLines(_0x58cc73[_0x30d340(0x369,_0x979661._0x1b8b30,0x328,0x4fb)]),_0x9b42d2[_0x184f91(_0x979661._0xa8f075,_0x979661._0x2e65c8,_0x979661._0x30194c,0x4fa)],_0x37580d,_0x8b78c6);_0x2a9aeb[_0x184f91(_0x979661._0x22b79a,0x515,_0x979661._0x2f2dcb,_0x979661._0x44f1da)](_0x1015fb,_0x5484d9['contextLines']),throwNoChange(_0x58cc73[_0x184f91(0x726,0x823,_0x979661._0x10b797,_0x979661._0x48e914)],_0x33746b[_0x184f91(0x78f,_0x979661._0x430454,_0x979661._0x3a417e,_0x979661._0x1ef6b5)],_0x1015fb,_0x5484d9,0x1);}throw _0x290cac;}assertPreviewWithinBounds(_0x24795e['blocks'],_0x33746b[_0x30d340(0x479,0x439,0x47b,0x5f9)],_0x58cc73[_0x30d340(_0x979661._0x47cb6a,0x4ae,0x412,0x336)]);const _0x30fa1d=_0x24795e[_0x30d340(_0x979661._0x45857e,_0x979661._0x2c23a2,0x328,0x37b)][_0x30d340(0x578,_0x979661._0x212b2b,0x3db,0x3e9)],_0x27595d=serializeNormalizedFile(_0x24795e[_0x184f91(_0x979661._0x4bf61d,_0x979661._0x3d8dab,0x714,0x739)],{'bom':_0x1015fb[_0x30d340(0x2f3,0x349,_0x979661._0x5b5918,_0x979661._0x39080e)],'eol':_0x1015fb['eol']}),_0x3d8cd3=_0x56c7a4[_0x30d340(_0x979661._0x316480,0x27d,_0x979661._0x16e76e,_0x979661._0x27c263)];if(_0x58cc73[_0x184f91(_0x979661._0x39d8a7,0x7c2,_0x979661._0x6713e8,_0x979661._0x3fa535)]){const _0x5d2dd0=buildResultText(_0x58cc73[_0x30d340(0x370,_0x979661._0x5c4f20,0x412,_0x979661._0x18ace1)],_0x1015fb,selectChangedContextLines(_0x24795e[_0x184f91(_0x979661._0x47b054,0x874,_0x979661._0x56f11c,0x7dc)],_0x1015fb,_0x30d340(0x539,_0x979661._0x196219,_0x979661._0x2d30dc,0x27a)),_0x9b42d2[_0x30d340(_0x979661._0x3fddb3,0x4cb,0x307,_0x979661._0x5f33c8)],_0x184f91(0x7cd,0x836,_0x979661._0x55597b,0x8fa)+_0x30fa1d+_0x30d340(0x493,_0x979661._0xb028b9,_0x979661._0x57a62d,0x340));_0x2a9aeb[_0x184f91(_0x979661._0x22b79a,_0x979661._0x5144f6,_0x979661._0x387489,0x483)](_0x1015fb,_0x5d2dd0[_0x30d340(0x53b,0x48e,0x43f,0x3d6)]);const _0x56d9bc={'preview':buildPreview(_0x300af4,_0x58cc73,_0x33746b,_0x319f0f,_0x24795e),'beforeDigest':_0x319f0f[_0x30d340(0x19a,-0x9,0x1c9,0x1f1)]['digest'],'afterDigest':_0x1015fb[_0x30d340(_0x979661._0x576f7f,_0x979661._0x416759,0x252,_0x979661._0xcb77ea)],'beforeTag':_0x58cc73[_0x30d340(0x63c,_0x979661._0x3ca705,_0x979661._0x350666,0x354)],'afterTag':_0x1015fb[_0x30d340(_0x979661._0x4d43f5,0x61e,_0x979661._0x46297b,_0x979661._0x2257ae)],'bytesWritten':0x0,'dryRun':!![],'operationCount':_0x30fa1d,'tokenClassification':_0x184f91(_0x979661._0x367f12,_0x979661._0x406ace,_0x979661._0xeb020d,_0x979661._0xddbdf0)};return createToolOutput(_0x5d2dd0[_0x184f91(_0x979661._0x15ba8e,0x953,0x898,_0x979661._0x1bce18)],_0x56d9bc);}try{await _0x257dd6[_0x184f91(0x6f8,0x69a,0x867,_0x979661._0x17c836)](_0x33746b[_0x30d340(0x61d,0x400,_0x979661._0x440e9d,0x659)],_0x27595d,_0x3d8cd3);}catch(_0x39547a){const _0x31b802=_0x39547a instanceof Error?_0x39547a[_0x30d340(0x3fe,0x459,0x489,0x510)]:String(_0x39547a);throw createAnchoredFileError(_0x30d340(_0x979661._0x1c4337,0x50c,0x43b,0x5ae),_0x184f91(_0x979661._0x7111c9,_0x979661._0x51fb94,0x8c4,0x813)+_0x58cc73[_0x184f91(_0x979661._0x32f3bb,0x7c2,_0x979661._0x3235f4,0x615)]+':\x20'+_0x31b802+_0x30d340(_0x979661._0x1e6308,-_0x979661._0x1200f1,_0x979661._0x872685,_0x979661._0x1c33f3),{'path':_0x58cc73[_0x30d340(0x4c2,0x468,0x412,_0x979661._0x4422f3)],'canonicalPath':_0x33746b[_0x30d340(_0x979661._0x18474e,_0x979661._0x52a50c,0x47b,_0x979661._0x203e3c)]});}let _0x32ea21,_0x4ccd05;try{[_0x32ea21,_0x4ccd05]=await Promise[_0x184f91(0x71c,0x76b,0x7ce,_0x979661._0x2bd47c)]([_0x257dd6[_0x184f91(0x7eb,0x94a,0x9e6,0x6a4)](_0x33746b[_0x30d340(0x3ba,_0x979661._0x16f5b9,_0x979661._0x20f39c,0x440)]),_0x257dd6[_0x184f91(_0x979661._0x299640,_0x979661._0x33c573,_0x979661._0x189ea3,_0x979661._0x138ec1)](_0x33746b['canonicalPath'])]);}catch(_0x273f07){const _0x370eda=_0x273f07 instanceof Error?_0x273f07[_0x184f91(_0x979661._0x495bb8,0x7ff,0x90b,_0x979661._0x4f54cd)]:String(_0x273f07);throw createAnchoredFileError(_0x184f91(_0x979661._0x4912ff,_0x979661._0x59bb75,0x3d0,0x2be),'post_write_drift:\x20Failed\x20to\x20verify\x20'+_0x58cc73[_0x30d340(0x315,0x333,0x412,_0x979661._0x283b3f)]+'\x20after\x20writing\x20('+_0x370eda+');\x20no\x20rollback\x20was\x20performed.\x20Re-read\x20with\x20FileRead\x20first.',{'path':_0x58cc73[_0x30d340(_0x979661._0x2c8f50,0x61e,_0x979661._0x309805,0x5a7)],'canonicalPath':_0x33746b[_0x30d340(_0x979661._0x276f10,0x2c8,_0x979661._0x5ae861,_0x979661._0x30a602)]});}if(!_0x32ea21[_0x184f91(0x6d9,0x5c5,_0x979661._0x217662,_0x979661._0x2cb714)](_0x27595d)||(_0x4ccd05['mode']&0x1ff)!==(_0x3d8cd3&0x1ff)){const _0x583046='post_write_drift:\x20'+_0x58cc73['filePath']+_0x184f91(0x5e8,0x660,_0x979661._0x193c0d,_0x979661._0x2176da),_0x232736=_0x30d340(0x2a4,0x55f,_0x979661._0x5b868a,_0x979661._0x151ed5);let _0x1be49d;try{_0x1be49d=createNormalizedFileSnapshot(_0x33746b[_0x30d340(0x4c6,0x63a,_0x979661._0x23b33c,_0x979661._0x293684)],_0x32ea21);}catch{_0x1be49d=void 0x0;}let _0x26a73d;_0x1be49d!==void 0x0?(_0x26a73d=buildRecoveryContext(_0x58cc73[_0x184f91(0x726,_0x979661._0x9e0e20,_0x979661._0x127e11,_0x979661._0x441287)],_0x1be49d,selectChangedContextLines(_0x24795e[_0x30d340(_0x979661._0x53eb85,_0x979661._0x4457b8,_0x979661._0x205433,_0x979661._0x2d02e7)],_0x1be49d,_0x184f91(_0x979661._0x4e9643,_0x979661._0xfb55b7,0x499,0x55a)),_0x9b42d2['outputBudgetBytes'],_0x583046,_0x232736),_0x2a9aeb['record'](_0x1be49d,_0x26a73d[_0x30d340(_0x979661._0x20af62,_0x979661._0x1860f2,0x4a9,_0x979661._0xd1ba1a)])):_0x26a73d={'tag':'','digest':'','contextLines':[],'output':_0x583046+'\x0a'+_0x232736};throw createAnchoredFileError(_0x184f91(_0x979661._0x4912ff,_0x979661._0x1ad29e,_0x979661._0x3c80d6,0x5cc),_0x26a73d[_0x184f91(_0x979661._0x4a80a0,_0x979661._0xc67c0b,0x80f,0x834)],{'path':_0x58cc73['filePath'],'canonicalPath':_0x33746b[_0x184f91(_0x979661._0x4dfa3b,_0x979661._0x269bba,0x5f6,_0x979661._0x19ff22)],..._0x1be49d!==void 0x0?{'tag':_0x1be49d[_0x184f91(_0x979661._0x4b1c62,0x6e9,_0x979661._0x5b9089,0x93c)],'digest':_0x1be49d[_0x184f91(_0x979661._0xd91e8,_0x979661._0x128694,_0x979661._0x3421c4,_0x979661._0x193c0d)]}:{},..._0x26a73d['contextLines'][_0x30d340(_0x979661._0x4293b2,_0x979661._0x399343,0x3db,_0x979661._0x349182)]>0x0?{'contextLines':[..._0x26a73d[_0x184f91(_0x979661._0x269bba,0x8d8,0x953,_0x979661._0x2a9c46)]]}:{}});}const _0x41ac6a=createNormalizedFileSnapshot(_0x33746b[_0x184f91(0x78f,0x826,0x5ec,0x837)],_0x32ea21),_0x18adaf=buildResultText(_0x58cc73[_0x184f91(_0x979661._0x32f3bb,0x7c9,0x6a3,0x901)],_0x41ac6a,selectChangedContextLines(_0x24795e['blocks'],_0x41ac6a,_0x30d340(_0x979661._0x44eee3,_0x979661._0x4c6708,_0x979661._0x22a1f7,_0x979661._0x29fe69)),_0x9b42d2['outputBudgetBytes'],_0x30d340(_0x979661._0x26c35a,0x292,0x2b8,0x24c)+_0x30fa1d+_0x30d340(0x2ad,_0x979661._0x55a5fb,_0x979661._0x367023,_0x979661._0x3f885e));_0x2a9aeb['record'](_0x41ac6a,_0x18adaf[_0x184f91(0x753,0x7eb,_0x979661._0x360799,0x90e)]),_0x2a9aeb[_0x184f91(0x738,0x639,_0x979661._0x62ed5,0x75d)](_0x33746b[_0x184f91(0x78f,0x646,0x615,_0x979661._0x2fd448)]);const _0x2e54bb={'preview':buildPreview(_0x300af4,_0x58cc73,_0x33746b,_0x319f0f,_0x24795e),'beforeDigest':_0x319f0f[_0x184f91(0x4dd,0x4aa,_0x979661._0x5cfe2d,0x662)][_0x30d340(0x181,0x437,0x252,0x26f)],'afterDigest':_0x41ac6a[_0x30d340(_0x979661._0x1c821f,_0x979661._0x50cd96,0x252,0x1aa)],'beforeTag':_0x58cc73[_0x30d340(0x5c0,0x5ab,_0x979661._0x46297b,0x612)],'afterTag':_0x41ac6a[_0x184f91(0x80e,_0x979661._0x380635,_0x979661._0x340732,0x83a)],'bytesWritten':_0x27595d[_0x184f91(0x6ef,_0x979661._0x3ad386,_0x979661._0x36bb23,0x6ea)],'dryRun':![],'operationCount':_0x30fa1d,'tokenClassification':'edit'};return createToolOutput(_0x18adaf['output'],_0x2e54bb);});}import{readFile as _0x4005c7,stat as _0x59dfef}from'fs/promises';import*as _0x215c7d from'path';function detectEol(_0x241177){const _0x31e82a={_0x254312:0x5d5,_0x47071b:0x5e8,_0x4b6186:0x5b9,_0x3b21e8:0x430},_0x269658={_0x3f43bd:0x76},_0x152cf2={_0x1a9fb8:0xa5,_0x16ea09:0x2d,_0xc3d79c:0x44};function _0x136c3f(_0x25dace,_0x2ae078,_0x8cca0d,_0x203bb3){return _0x47b891(_0x25dace,_0x203bb3- -_0x152cf2._0x1a9fb8,_0x8cca0d-_0x152cf2._0x16ea09,_0x203bb3-_0x152cf2._0xc3d79c);}function _0x501733(_0x5be876,_0x110b7e,_0x23ee8d,_0x4c979e){return _0x47b891(_0x23ee8d,_0x5be876- -_0x269658._0x3f43bd,_0x23ee8d-0x182,_0x4c979e-0x138);}return/\r\n/['test'](_0x241177['toString'](_0x136c3f(_0x31e82a._0x254312,0x5c3,0x628,_0x31e82a._0x47071b)))?_0x501733(_0x31e82a._0x4b6186,0x59b,0x420,_0x31e82a._0x3b21e8):'lf';}function normalizeToLf(_0x264a01){const _0x17f462={_0x119b52:0x5f5,_0x2f909:0x542,_0x3d1ab1:0x697,_0x575413:0x6b6},_0x597f94={_0x4c9ddc:0x332,_0x20125a:0xcb};function _0x1487f2(_0x3171cc,_0x3498eb,_0x488c9f,_0x5ef55c){return _0xe18bb0(_0x488c9f,_0x3171cc-_0x597f94._0x4c9ddc,_0x488c9f-0xc,_0x5ef55c-_0x597f94._0x20125a);}return _0x264a01[_0x1487f2(_0x17f462._0x119b52,_0x17f462._0x2f909,_0x17f462._0x3d1ab1,_0x17f462._0x575413)](/\r\n/g,'\x0a');}function convertEol(_0x14e367,_0x2e46d7){const _0x2410dd={_0x388a04:0x144,_0x12d2ac:0x106,_0x15d61c:0x93,_0x5042a3:0x22b},_0x245458={_0x3d5491:0xf8},_0x2b1553={_0xef8092:0xbd,_0x13e912:0x22};function _0x2c77b9(_0x275bec,_0x1eab4b,_0x3dc292,_0xd45358){return _0xe18bb0(_0x3dc292,_0xd45358-_0x2b1553._0xef8092,_0x3dc292-_0x2b1553._0x13e912,_0xd45358-0x93);}function _0x2d5988(_0x36a99f,_0x429e9a,_0x18ea00,_0x336516){return _0x47b891(_0x429e9a,_0x336516- -0x529,_0x18ea00-0x1de,_0x336516-_0x245458._0x3d5491);}return _0x2e46d7===_0x2d5988(_0x2410dd._0x388a04,0x2e0,0x198,_0x2410dd._0x12d2ac)?_0x14e367[_0x2d5988(_0x2410dd._0x15d61c,0xeb,0xc2,_0x2410dd._0x5042a3)](/\n/g,'\x0d\x0a'):_0x14e367;}function resolveAnchoredEditTarget(_0x1892d0,_0x16e2fd,_0x3873d4,_0x3e380e){const _0x52490f={_0xc98ad6:0x249,_0x43a102:0x1d4,_0x348f7e:0x204,_0x37900d:0xb6,_0x414ddb:0x4d,_0x187a21:0x180,_0x5ca283:0xd5,_0x5503e0:0x6e,_0x230d18:0x10,_0x5aa682:0x1b1,_0x517847:0x286,_0xf0e69e:0x289,_0x50d295:0x161,_0x2d57fe:0x156,_0x15f0e1:0xd2,_0x40d98b:0x9e,_0x5653c6:0x120},_0x130de2={_0x3417c7:0x402},_0x59d873={_0x3e79fa:0x118},_0x59f24c=_0x1892d0[_0x268ff1(0x134,0x2b9,0x16f,_0x52490f._0xc98ad6)]??_0x42ea66(_0x52490f._0x43a102,0x132,0x24d,_0x52490f._0x348f7e);if(_0x59f24c==='exact')return void 0x0;const _0x3f5566=_0x1892d0['observations'],_0x343da0=_0x1892d0[_0x42ea66(0x27,_0x52490f._0x37900d,-0x115,-0xd3)],_0x51c1ba=_0x1892d0[_0x268ff1(-_0x52490f._0x414ddb,_0x52490f._0x187a21,0x162,_0x52490f._0x5ca283)];if(_0x3f5566===void 0x0||_0x343da0===void 0x0||_0x51c1ba===void 0x0){const _0x5af97f=[_0x3f5566===void 0x0?'observations':void 0x0,_0x343da0===void 0x0?_0x268ff1(0x10a,_0x52490f._0x5503e0,-_0x52490f._0x230d18,_0x52490f._0x5aa682):void 0x0,_0x51c1ba===void 0x0?'outputBudgetBytes':void 0x0][_0x42ea66(_0x52490f._0x517847,0x3ae,_0x52490f._0xf0e69e,0x334)](_0x3dfe10=>_0x3dfe10!==void 0x0)['join'](',\x20');throw new Error(_0x16e2fd+'\x20'+_0x59f24c+_0x268ff1(0x1,_0x52490f._0x50d295,0x2a,-0x151)+_0x5af97f+_0x42ea66(_0x52490f._0x2d57fe,_0x52490f._0x15f0e1,-_0x52490f._0x40d98b,_0x52490f._0x5653c6));}function _0x42ea66(_0x17b0b4,_0x3a80d0,_0x151cff,_0x5ebcb1){return _0xe18bb0(_0x17b0b4,_0x3a80d0-0x155,_0x151cff-_0x59d873._0x3e79fa,_0x5ebcb1-0x32);}function _0x268ff1(_0x1d478d,_0x15354f,_0x110d56,_0x56c5e2){return _0x47b891(_0x15354f,_0x110d56- -_0x130de2._0x3417c7,_0x110d56-0x1d7,_0x56c5e2-0x197);}return{'mode':_0x59f24c,'environment':{'defaultCwd':_0x3873d4,'allowedDirs':_0x3e380e,'observations':_0x3f5566,'mutations':_0x343da0,'outputBudgetBytes':_0x51c1ba}};}function createFileEditTool(_0xee878a={}){const _0x43ce44={_0x21145d:0x433,_0x1ca54e:0x53a,_0x578cb3:0xd1,_0x251aec:0x19,_0x586998:0x66,_0x3a63ad:0x408,_0x39f91c:0x533,_0x121843:0x1d4,_0x39a379:0xea,_0x1e81b3:0x96,_0x106fbd:0x82,_0x1edb24:0x41d,_0x31332f:0x51c,_0xd3e230:0x517,_0xd73ba9:0x540,_0x39f3b1:0x52,_0x2f393f:0x53,_0x1c2323:0x120,_0x1cf29d:0x66,_0x7bccfd:0x15d,_0x920f22:0xe8,_0x4d5fa8:0x270,_0x1827f0:0x373,_0x1809d7:0x5e6,_0x37fa6c:0x38a,_0x232f4d:0x2de,_0x1503e1:0x2ad,_0x4ce9d0:0x130,_0x2dcceb:0x16a,_0x2777cd:0x374,_0xc438:0x23a,_0x569f62:0x570,_0x21d928:0x184,_0xa0595f:0x314,_0x37f06f:0x311,_0x2b8b19:0x179,_0x22cb5d:0x159,_0x12f373:0x87},_0x2b6ca1={_0x4b7f11:0x6e5,_0x4feb13:0x7e6,_0x564d9b:0x7f1,_0x2e4f3d:0x3cf,_0x7fff9c:0x406,_0x22d0f6:0x279,_0x10987f:0x488,_0x21b83d:0x5fe,_0x52c1ff:0x7d9,_0x5b901e:0x7ee,_0x2a3bde:0x915,_0x73f410:0x70a,_0x2bff2e:0x8e7,_0x3821d2:0x81e,_0x227f90:0x712,_0x43590f:0x8c9,_0x35fd88:0x720,_0x5321aa:0x51a,_0x19ef14:0x76b,_0x2b3dc6:0x8d3,_0x450077:0x645,_0x440e3b:0x8ae,_0x3dd035:0x75b,_0x185259:0x675,_0x51fb5d:0x633,_0x126f85:0x70c,_0x322a96:0x7de,_0x49793d:0x9f9,_0x403f7b:0x807,_0x2d2c28:0x6e7,_0x38a45c:0x831,_0x1a0b40:0x737,_0x163710:0x6ea,_0x1fea37:0x77e,_0x3a0ceb:0x619,_0x258608:0x6bc},_0x5e3926={_0xb31364:0x1a0},_0x501536={_0x445f6e:0xa8,_0x5321ae:0x57},_0x9be332={_0x16c1cc:0x123,_0x3f6f5a:0x45},_0x1cc4a6={_0x52f537:0x433,_0x1d222a:0x1af,_0x187ae1:0xc};function _0x2f79d3(_0x45abb9,_0x4aa669,_0x3587ba,_0x4439a9){return _0x47b891(_0x4aa669,_0x4439a9- -_0x1cc4a6._0x52f537,_0x3587ba-_0x1cc4a6._0x1d222a,_0x4439a9-_0x1cc4a6._0x187ae1);}const _0x4956fc=_0x215c7d[_0x540847(0x496,_0x43ce44._0x21145d,0x236,_0x43ce44._0x1ca54e)](_0xee878a[_0x2f79d3(-_0x43ce44._0x578cb3,_0x43ce44._0x251aec,_0x43ce44._0x586998,0x32)]??process[_0x540847(0x447,_0x43ce44._0x3a63ad,0x3c2,0x230)]()),_0x4437b3=_0xee878a[_0x540847(0x3ab,_0x43ce44._0x39f91c,0x470,0x376)]??[];function _0x540847(_0x5266db,_0x112963,_0x438a19,_0x315acc){return _0xe18bb0(_0x438a19,_0x112963-0x492,_0x438a19-_0x9be332._0x16c1cc,_0x315acc-_0x9be332._0x3f6f5a);}const _0x34cfb7=_0xee878a['name']??_0x2f79d3(-_0x43ce44._0x121843,_0x43ce44._0x39a379,_0x43ce44._0x1e81b3,-_0x43ce44._0x106fbd),_0x161434=resolveAnchoredEditTarget(_0xee878a,_0x34cfb7,_0x4956fc,_0x4437b3);if(_0x161434!==void 0x0){const {mode:_0x55b701,environment:_0x362be7}=_0x161434;return defineTool({'name':_0x34cfb7,'permissionClass':_0x540847(_0x43ce44._0x1edb24,_0x43ce44._0x31332f,_0x43ce44._0xd3e230,_0x43ce44._0xd73ba9),'description':_0x55b701==='hashline'?'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20applying\x20a\x20snapshot-anchored\x20Hashline\x20patch.':_0x2f79d3(-0xba,_0x43ce44._0x39f3b1,0x195,-_0x43ce44._0x2f393f),'inputSchema':_0x55b701===_0x2f79d3(-_0x43ce44._0x1c2323,-0x24e,-_0x43ce44._0x1cf29d,-0x7d)?hashlineFileEditInputSchema:structuredFileEditInputSchema,async *'execute'(_0x1bfa9e,_0x12ad0f){return yield await executeAnchoredFileEdit(_0x55b701,_0x1bfa9e,_0x12ad0f,_0x362be7),void 0x0;}});}return defineTool({'name':_0x34cfb7,'permissionClass':_0x2f79d3(0x66,0x18a,_0x43ce44._0x7bccfd,_0x43ce44._0x920f22),'description':_0x540847(_0x43ce44._0x4d5fa8,0x479,_0x43ce44._0x1827f0,_0x43ce44._0x1809d7),'inputSchema':{'type':_0x2f79d3(_0x43ce44._0x37fa6c,_0x43ce44._0x232f4d,0x23c,_0x43ce44._0x1503e1),'properties':{'filePath':{'type':_0x2f79d3(0x176,-0x36,0x2ba,0x184)},'description':{'type':'string','description':_0x2f79d3(_0x43ce44._0x4ce9d0,_0x43ce44._0x2dcceb,_0x43ce44._0x2777cd,_0x43ce44._0xc438)},'oldText':{'type':_0x540847(0x638,0x5b8,0x4ea,_0x43ce44._0x569f62)},'newText':{'type':_0x2f79d3(0x6d,0x59,_0x43ce44._0x39a379,_0x43ce44._0x21d928)},'dryRun':{'type':_0x2f79d3(0x37a,_0x43ce44._0xa0595f,0x40c,_0x43ce44._0x37f06f)}},'required':['filePath',_0x2f79d3(0x17c,0x245,-0x173,0x75),_0x2f79d3(_0x43ce44._0x2b8b19,-0x13f,_0x43ce44._0x22cb5d,_0x43ce44._0x12f373)]},async *'execute'(_0x319e56){const _0xbb63ed=resolveAllowedPath(_0x4956fc,_0x4437b3,_0x319e56[_0xe43ea8(0x8c6,0x50e,_0x2b6ca1._0x4b7f11,0x70c)]);await assertWorkspaceFile(_0xbb63ed);const _0x8c3dd=await _0x59dfef(_0xbb63ed),_0x3f1eaa=await _0x4005c7(_0xbb63ed),_0x39785d=detectEol(_0x3f1eaa),_0x35ddd9=normalizeToLf(_0x3f1eaa[_0xe43ea8(_0x2b6ca1._0x4feb13,0x6e7,0x9b9,0x826)]('utf8')),_0x41929b=normalizeToLf(_0x319e56[_0x23347e(0x6b0,0x649,0x82c,0x706)]),_0x544818=normalizeToLf(_0x319e56['newText']),_0x1758fd=replaceFirstExact(_0x35ddd9,_0x41929b,_0x544818);if(_0x1758fd===void 0x0){const _0x49b380=_0x41929b['slice'](0x0,0x64)[_0xe43ea8(0x9f6,0x7ec,0x6be,_0x2b6ca1._0x564d9b)](/\n/g,'\x5cn');throw new ToolExecutionError(_0xe43ea8(_0x2b6ca1._0x2e4f3d,_0x2b6ca1._0x7fff9c,_0x2b6ca1._0x22d0f6,_0x2b6ca1._0x10987f)+_0x49b380+(_0x41929b[_0x23347e(_0x2b6ca1._0x21b83d,_0x2b6ca1._0x52c1ff,_0x2b6ca1._0x5b901e,0x6ca)]>0x64?_0x23347e(_0x2b6ca1._0x564d9b,0x717,0x595,0x7be):'')+'\x22',{'filePath':_0x319e56['filePath']});}const _0x329960=convertEol(_0x1758fd['after'],_0x39785d),_0x58c282=Buffer['from'](_0x329960,_0xe43ea8(0x5d4,0x59c,_0x2b6ca1._0x2a3bde,0x72a)),_0x3f8525=sha256Bytes(_0x3f1eaa),_0x185c09=sha256Bytes(_0x58c282);function _0xe43ea8(_0x4f8794,_0x403868,_0x1502d7,_0x2eec9f){return _0x540847(_0x4f8794-_0x501536._0x445f6e,_0x2eec9f-0x9c,_0x4f8794,_0x2eec9f-_0x501536._0x5321ae);}const _0xf4dd0=_0x3f8525===_0x185c09;function _0x23347e(_0xb76c5,_0x10b510,_0x1af131,_0x3448dd){return _0x540847(_0xb76c5-0x1b5,_0x10b510-_0x5e3926._0xb31364,_0x3448dd,_0x3448dd-0xdc);}const _0x5ad043=_0x319e56[_0x23347e(_0x2b6ca1._0x73f410,_0x2b6ca1._0x2bff2e,_0x2b6ca1._0x3821d2,_0x2b6ca1._0x5b901e)]??![];return!_0x5ad043&&!_0xf4dd0&&await atomicReplaceFile(_0xbb63ed,_0x58c282,_0x8c3dd[_0x23347e(0x85d,_0x2b6ca1._0x227f90,0x511,_0x2b6ca1._0x43590f)]),yield createToolOutput(_0xf4dd0?_0xe43ea8(_0x2b6ca1._0x35fd88,0x356,0x659,_0x2b6ca1._0x5321aa):_0x5ad043?_0x23347e(0x965,_0x2b6ca1._0x19ef14,_0x2b6ca1._0x2b3dc6,_0x2b6ca1._0x450077):_0xe43ea8(_0x2b6ca1._0x440e3b,0x73d,0x55b,_0x2b6ca1._0x3dd035),{'filePath':_0x319e56[_0xe43ea8(_0x2b6ca1._0x185259,_0x2b6ca1._0x51fb5d,0x72f,_0x2b6ca1._0x126f85)],'resolvedPath':_0xbb63ed,'created':_0x8c3dd['birthtime'][_0xe43ea8(_0x2b6ca1._0x322a96,0x7b8,0x5dd,0x5e3)](),'modified':_0x8c3dd[_0xe43ea8(0x905,0x60d,_0x2b6ca1._0x49793d,_0x2b6ca1._0x403f7b)][_0x23347e(0x8e5,_0x2b6ca1._0x2d2c28,0x69f,0x846)](),'size':_0x8c3dd[_0xe43ea8(_0x2b6ca1._0x38a45c,_0x2b6ca1._0x1a0b40,0x796,0x6d7)],'eol':_0x39785d,'oldTextLength':_0x41929b[_0xe43ea8(0x82c,0x7e0,_0x2b6ca1._0x163710,0x6d5)],'newTextLength':_0x544818[_0xe43ea8(_0x2b6ca1._0x1fea37,0x8e2,_0x2b6ca1._0x3a0ceb,0x6d5)],'bytesWritten':_0xf4dd0||_0x5ad043?0x0:_0x58c282[_0x23347e(0x748,0x7d9,_0x2b6ca1._0x258608,0x80b)],'beforeSha':_0x3f8525,'afterSha':_0x185c09,'dryRun':_0x5ad043,'noChange':_0xf4dd0,'lineNumbers':_0x1758fd['lineNumbers']}),void 0x0;}});}var FileMutationCoordinator=class{[_0xe18bb0(0x2c5,0x2ef,0x21e,0x1e0)]=new Map();async[_0xe18bb0(-0x1b2,-0x3d,-0x55,-0x1ca)](_0x2cd0c6,_0x43af15,_0x17e87e){const _0x1c436e={_0x416ef4:0x1cd,_0x211634:0x304,_0x575274:0x4f8,_0x1afd60:0x47e,_0x398345:0x326,_0x232891:0x121,_0x51df2a:0x772,_0x4e1fed:0x652,_0x1b519a:0x4ba,_0xe9aca5:0x16,_0x4e4d77:0x12c,_0x8eba2:0x15,_0x2e2c35:0x3fc},_0x3bd410={_0x1d4bf4:0x5b8,_0x49b730:0x688,_0x4f15f3:0x2f4,_0x2a87c0:0x416,_0x7bed82:0x444},_0x539e95={_0xc4dd52:0x133};function _0x1c0a93(_0x5db82d,_0xa9bdda,_0x167f00,_0x12d9b1){return _0xe18bb0(_0x167f00,_0x12d9b1-0x7c,_0x167f00-0x106,_0x12d9b1-0x1b6);}throwIfAborted(_0x43af15);const _0x5590a9=this['tails']['get'](_0x2cd0c6)??Promise[_0x17150e(_0x1c436e._0x416ef4,_0x1c436e._0x211634,_0x1c436e._0x575274,_0x1c436e._0x1afd60)](),_0x2b6ab9=_0x5590a9[_0x1c0a93(_0x1c436e._0x398345,_0x1c436e._0x232891,0xb2,0x257)](async()=>{return throwIfAborted(_0x43af15),_0x17e87e();}),_0x174c74=_0x2b6ab9['then'](()=>void 0x0,()=>void 0x0);this[_0x17150e(_0x1c436e._0x51df2a,_0x1c436e._0x4e1fed,0x607,_0x1c436e._0x1b519a)][_0x1c0a93(0x120,_0x1c436e._0xe9aca5,-_0x1c436e._0x4e4d77,-_0x1c436e._0x8eba2)](_0x2cd0c6,_0x174c74);function _0x17150e(_0x2c2243,_0x2cacca,_0x47e095,_0x4ee09b){return _0xe18bb0(_0x47e095,_0x2cacca-0x363,_0x47e095-0x131,_0x4ee09b-0x1f);}return void _0x174c74[_0x17150e(0x274,0x37e,_0x1c436e._0x2e2c35,0x4ab)](()=>{const _0x4bf3c2={_0x158140:0x1ac,_0x109ad1:0x1b3};function _0x582476(_0x520949,_0xae716,_0x35b19f,_0x301536){return _0x17150e(_0x520949-_0x4bf3c2._0x158140,_0x520949- -0x9a,_0x35b19f,_0x301536-_0x4bf3c2._0x109ad1);}function _0x2e75ea(_0x3c65c9,_0x349366,_0x41cd53,_0x16da0c){return _0x17150e(_0x3c65c9-_0x539e95._0xc4dd52,_0x3c65c9- -0x9a,_0x349366,_0x16da0c-0x141);}this[_0x2e75ea(_0x3bd410._0x1d4bf4,0x4aa,_0x3bd410._0x49b730,0x66a)][_0x582476(0x365,_0x3bd410._0x4f15f3,0x39b,0x1e4)](_0x2cd0c6)===_0x174c74&&this[_0x2e75ea(0x5b8,0x750,0x3e7,0x5cb)][_0x2e75ea(_0x3bd410._0x2a87c0,0x218,0x5f9,_0x3bd410._0x7bed82)](_0x2cd0c6);}),_0x2b6ab9;}};import{mkdir as _0x363f05,stat as _0x461720}from'fs/promises';import*as _0x4a4b86 from'path';function createFileNewTool(_0x1db193={}){const _0x268139={_0x4dc760:0x18d,_0x84da65:0x1a3,_0x1b814a:0x2ad,_0x5d3797:0x232,_0x50a6dc:0x19,_0x5a77cc:0x178,_0x38fbf0:0x157,_0x51845a:0x1d6,_0x45a5f9:0x158,_0xd5dc20:0x35a,_0x31088f:0x2a,_0x431b6b:0x9a,_0xaec13e:0xe1,_0x32eb57:0x228,_0x1720f7:0xb0,_0x184899:0x1e4,_0x16b735:0x42c,_0x1bd87f:0x328,_0x1c6ad9:0x44b,_0x3f9acd:0x1f7,_0x4acae2:0x103,_0x3ed0b9:0x45b,_0x9c6cf3:0x152,_0x568d13:0x1fb},_0x3fb3d8={_0x50b52c:0x2ba,_0x4eca7d:0x4ad,_0x118d96:0x77,_0x2cfb71:0x396,_0x14742a:0x297,_0x238773:0x2e8,_0x55fd57:0x192,_0x2e57ec:0x27d,_0x22e782:0x2cb,_0x1c1676:0x15d,_0x2c6ddc:0x41f,_0x22fa8c:0x48f,_0x55a639:0x37a,_0x3208ca:0x547,_0x1a313b:0x5f0,_0x2952cd:0x550,_0xac224:0x3eb,_0xd39d32:0x432,_0xacf1d6:0x412,_0x4417ff:0x42c,_0x43cbfa:0x5ea,_0x177a6f:0x45d,_0x12a31a:0x5c0,_0x7ddcf1:0x5b3,_0x298d34:0x30e,_0x5911e7:0x35b,_0x5b095c:0x4ef,_0x15e39a:0x377,_0x43d11d:0x3cd,_0x1204d7:0x67c,_0x20617b:0x613,_0x3dd852:0x6ef,_0x131567:0x496,_0x3525ca:0x695,_0x2e54ec:0x417,_0x2e696e:0x550,_0x4ed179:0x52c,_0x48d67a:0x691,_0x3d1643:0x519,_0x466d17:0x46f,_0x282d9d:0x329,_0x3a835d:0x309},_0x1d9004={_0x277e72:0xec},_0x4fda9b={_0x40da26:0x1a2},_0x530a70=_0x4a4b86[_0x132201(_0x268139._0x4dc760,_0x268139._0x84da65,0x48,-0x25)](_0x1db193[_0x132201(0x2c,0x1d6,_0x268139._0x1b814a,_0x268139._0x5d3797)]??process[_0x132201(-_0x268139._0x50a6dc,_0x268139._0x5a77cc,-0xe,0x19b)]()),_0x5a7a15=_0x1db193[_0x22afae(0x116,_0x268139._0x38fbf0,-0x154,-0x3a)]??[],_0x3addb5=_0x1db193[_0x132201(_0x268139._0x51845a,_0x268139._0x45a5f9,0x23a,0xd8)]??_0x22afae(_0x268139._0xd5dc20,0x356,-_0x268139._0x31088f,_0x268139._0x51845a);function _0x22afae(_0xe7dbeb,_0x273ded,_0x49f913,_0x239523){return _0xe18bb0(_0xe7dbeb,_0x239523- -0xdb,_0x49f913-0x126,_0x239523-_0x4fda9b._0x40da26);}function _0x132201(_0x598300,_0x5cb892,_0x1f99e8,_0x50414b){return _0xe18bb0(_0x1f99e8,_0x5cb892-0x202,_0x1f99e8-0x162,_0x50414b-_0x1d9004._0x277e72);}const {observations:_0x8705f4,anchored:anchored=![]}=_0x1db193;return defineTool({'name':_0x3addb5,'permissionClass':_0x22afae(_0x268139._0x431b6b,-_0x268139._0xaec13e,0xde,-0x51),'description':_0x132201(0x141,_0x268139._0x32eb57,_0x268139._0x1720f7,_0x268139._0x184899),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x132201(_0x268139._0x16b735,_0x268139._0x1bd87f,0x2ea,_0x268139._0x1c6ad9)},'content':{'type':_0x132201(0x4b7,0x328,0x305,_0x268139._0x32eb57)}},'required':[_0x22afae(-0x28,_0x268139._0x3f9acd,-0x77,_0x268139._0x4acae2),_0x132201(_0x268139._0x3ed0b9,0x2ff,_0x268139._0x9c6cf3,_0x268139._0x568d13)]},async *'execute'(_0xba381d,_0x45b77b){const _0x20d798={_0x3888aa:0x17},_0x27c38b=resolveAllowedPath(_0x530a70,_0x5a7a15,_0xba381d[_0x46028d(0x3c9,_0x3fb3d8._0x50b52c,_0x3fb3d8._0x4eca7d,0x368)]),_0x255eb4=await _0x461720(_0x27c38b)[_0x46028d(0x23e,_0x3fb3d8._0x118d96,_0x3fb3d8._0x2cfb71,_0x3fb3d8._0x14742a)](()=>void 0x0);function _0x2062cc(_0x38a8d2,_0x1c238a,_0x62ea52,_0x53dbc1){return _0x132201(_0x38a8d2-0x1,_0x62ea52-0x170,_0x1c238a,_0x53dbc1-0x10e);}function _0x46028d(_0x54fd50,_0x3d1746,_0x4d8fba,_0x6d9775){return _0x132201(_0x54fd50-0x86,_0x54fd50- -_0x20d798._0x3888aa,_0x3d1746,_0x6d9775-0x161);}const _0x1b9b9b=_0x255eb4!==void 0x0,_0x6e6dd7=Buffer['from'](_0xba381d[_0x46028d(_0x3fb3d8._0x238773,_0x3fb3d8._0x55fd57,_0x3fb3d8._0x2e57ec,0x290)],'utf8'),_0x3954ee=_0x255eb4!==void 0x0?_0x255eb4[_0x46028d(_0x3fb3d8._0x22e782,0x1f2,_0x3fb3d8._0x1c1676,0x322)]&0xfff:0x1b6&~process[_0x2062cc(_0x3fb3d8._0x2c6ddc,_0x3fb3d8._0x22fa8c,0x2ed,_0x3fb3d8._0x55a639)]();let _0xc7b4d9;anchored&&_0x8705f4!==void 0x0&&(_0xc7b4d9=createNormalizedFileSnapshot(_0x27c38b,_0x6e6dd7)[_0x46028d(0x4b1,_0x3fb3d8._0x3208ca,_0x3fb3d8._0x1a313b,0x60a)]);await _0x363f05(_0x4a4b86['dirname'](_0x27c38b),{'recursive':!![]}),await atomicReplaceFile(_0x27c38b,_0x6e6dd7,_0x3954ee);if(_0xc7b4d9!==void 0x0&&_0x8705f4!==void 0x0){const _0x4fcd3d=await resolveCanonicalAllowedFile(_0x530a70,_0x5a7a15,_0xba381d[_0x2062cc(0x701,0x436,_0x3fb3d8._0x2952cd,_0x3fb3d8._0xac224)]),_0x10dc32=createNormalizedFileSnapshot(_0x4fcd3d[_0x46028d(_0x3fb3d8._0xd39d32,0x3a1,_0x3fb3d8._0xacf1d6,0x50a)],_0x6e6dd7);_0x8705f4['bindSession'](_0x45b77b[_0x2062cc(_0x3fb3d8._0x4417ff,_0x3fb3d8._0x43cbfa,_0x3fb3d8._0x177a6f,_0x3fb3d8._0x12a31a)]),_0x8705f4[_0x2062cc(0x434,_0x3fb3d8._0x7ddcf1,0x494,0x49f)](_0x10dc32,_0x10dc32[_0x2062cc(_0x3fb3d8._0x298d34,0x19d,0x2f5,0x3e3)][_0x46028d(_0x3fb3d8._0x5911e7,0x3f9,0x43d,0x360)]((_0x4fb893,_0x4459d6)=>_0x4459d6+0x1));}return yield createToolOutput(_0xc7b4d9===void 0x0?_0x46028d(_0x3fb3d8._0x5b095c,_0x3fb3d8._0x15e39a,_0x3fb3d8._0x43d11d,_0x3fb3d8._0x1204d7)+_0xba381d['filePath']+'.':'['+_0xba381d[_0x2062cc(0x59d,0x443,0x550,_0x3fb3d8._0x20617b)]+'#'+_0xc7b4d9+_0x2062cc(0x60b,_0x3fb3d8._0x3dd852,0x4e6,_0x3fb3d8._0x131567)+_0xba381d[_0x2062cc(_0x3fb3d8._0x3525ca,0x64c,_0x3fb3d8._0x2952cd,0x608)]+'.',{'filePath':_0xba381d[_0x2062cc(_0x3fb3d8._0x2e54ec,0x3fa,_0x3fb3d8._0x2e696e,_0x3fb3d8._0x4ed179)],'resolvedPath':_0x27c38b,'bytes':_0x6e6dd7[_0x2062cc(0x37f,_0x3fb3d8._0x48d67a,_0x3fb3d8._0x3d1643,0x632)],'lines':_0xba381d[_0x2062cc(0x27a,0x5b2,_0x3fb3d8._0x466d17,0x4b6)][_0x2062cc(_0x3fb3d8._0x282d9d,0x2ef,_0x3fb3d8._0x3a835d,0x48d)](/\r?\n/)['length'],'created':new Date()['toISOString'](),'overwritten':_0x1b9b9b,..._0xc7b4d9===void 0x0?{}:{'tag':_0xc7b4d9}}),void 0x0;}});}var FILE_OBSERVATION_LIMITS={'maxPaths':0x1e,'maxVersionsPerPath':0x4,'maxSnapshotBytes':0x40*0x400*0x400},FileObservationStore=class{[_0x47b891(0x5f9,0x3f4,0x1e6,0x557)];['tagForDigest'];['sessionId'];['versionsByPath']=new Map();[_0x47b891(0x784,0x59d,0x70f,0x75e)]=[];[_0xe18bb0(0x78,0x146,0x9c,0x17c)]=0x0;['bytesByDigest']=new Map();[_0xe18bb0(0xb5,0x25f,0x173,0x38d)]=new Map();constructor(_0x3eeea8={}){const _0x1c4108={_0x210a4b:0x1d6,_0x2358e7:0x1f1,_0x3a283e:0x30e,_0x420fc4:0x6a8,_0x221525:0x437,_0x116ade:0x538},_0x468b76={_0x2c73a3:0x31f,_0x42ea62:0x182},_0x1293c0={_0x86f250:0x28e,_0x53bc81:0x14e,_0x4db13d:0xd1};this[_0x304d73(_0x1c4108._0x210a4b,_0x1c4108._0x2358e7,0x315,_0x1c4108._0x3a283e)]={...FILE_OBSERVATION_LIMITS,..._0x3eeea8['limits']};function _0x304d73(_0x10674d,_0x4be759,_0x10a37a,_0x2e30ad){return _0xe18bb0(_0x10a37a,_0x4be759-_0x1293c0._0x86f250,_0x10a37a-_0x1293c0._0x53bc81,_0x2e30ad-_0x1293c0._0x4db13d);}function _0xf7130e(_0x352dd1,_0x18bdd0,_0x46d65e,_0x1b42e4){return _0x47b891(_0x18bdd0,_0x1b42e4- -_0x468b76._0x2c73a3,_0x46d65e-_0x468b76._0x42ea62,_0x1b42e4-0x187);}this[_0x304d73(_0x1c4108._0x420fc4,0x4bf,0x44e,0x3fe)]=_0x3eeea8[_0xf7130e(_0x1c4108._0x221525,_0x1c4108._0x116ade,0x1f6,0x3a3)];}[_0xe18bb0(-0x148,-0x2,0x1af,-0xb1)](_0x535a10){const _0x4f3d06={_0x1920e9:0x134,_0x3d4d41:0x215,_0x34b6f6:0x3f,_0x1b1283:0x143,_0x112a1f:0x1e8},_0x22f03c={_0x20f3f6:0x53d},_0x3626b8={_0x2e7fa0:0x448,_0x50bf9f:0x10e};if(this[_0x5a4fce(_0x4f3d06._0x1920e9,0x7f,0x192,0x20d)]===_0x535a10)return;function _0x5a4fce(_0x2b3991,_0x53c20e,_0x159d18,_0x8db01e){return _0x47b891(_0x53c20e,_0x2b3991- -_0x3626b8._0x2e7fa0,_0x159d18-_0x3626b8._0x50bf9f,_0x8db01e-0x30);}function _0x46f151(_0x29a46f,_0x3f98f2,_0x5b68c7,_0x56f94c){return _0x47b891(_0x3f98f2,_0x29a46f- -_0x22f03c._0x20f3f6,_0x5b68c7-0x56,_0x56f94c-0xdf);}this[_0x46f151(-0x12c,0x8e,-_0x4f3d06._0x3d4d41,0x71)](),this[_0x46f151(_0x4f3d06._0x34b6f6,_0x4f3d06._0x1b1283,_0x4f3d06._0x112a1f,0x1ff)]=_0x535a10;}['record'](_0x26d1fd,_0x40449d){const _0x5cbe68={_0x1a5988:0x45,_0x1e1059:0x8c,_0x478516:0x184,_0x26b810:0x163,_0x2abb23:0x5e,_0xc8dacb:0x181,_0x32db10:0x2e6,_0x91e2b7:0x1e1,_0x3e6feb:0x3b,_0x4cad55:0x31c,_0x440d16:0x764,_0x4e081e:0x63c,_0x31ec85:0x1bc,_0x37b113:0x84,_0x25d3d4:0x152,_0x3cc99f:0x8c,_0x43e642:0x61,_0x4a6e46:0x6bc,_0x56f932:0x6c2,_0x142fb2:0x361,_0x387836:0x309,_0x2ad512:0x1a3,_0x1b0191:0x33,_0x3cb7d3:0x90,_0x213b57:0x466,_0x26c358:0x42c,_0x31d936:0x3f8,_0x2eafc5:0x4b1,_0x36e8fe:0x7f3,_0x43a107:0x63c,_0x406a33:0x1fc,_0x200a95:0x1dd,_0x347f03:0x540,_0x1083b4:0x386,_0x179430:0x26e,_0x11fa5a:0x206,_0x145012:0x4cf,_0x34c7da:0x7ab,_0x140c87:0x6bb,_0x506278:0x266,_0x5e024b:0x1bb,_0x256d1f:0x383,_0xabea9e:0x226,_0x33bec9:0x197,_0x53aa8e:0xc,_0x4464b7:0x137,_0x4e65f7:0x267,_0x2b9101:0xd7,_0x520296:0x4cc,_0x511dc6:0x664,_0x51e714:0x26d,_0x4a9e64:0x89,_0x3f951b:0x1d,_0x9bdcd8:0x61,_0x4a1e31:0x3dc,_0x2730b1:0x529,_0x11cf19:0x124,_0x2a931d:0x119,_0x58a83b:0x2dd,_0x53b5da:0xc9,_0x4bf441:0x51a,_0x56229b:0x34b,_0x43031a:0x4b7,_0x3ab36b:0x296,_0x2c1abb:0x2a1,_0x44d7b3:0x29a,_0x453db1:0x386,_0x1f4a1c:0x78a,_0x34246d:0x4da,_0x427d65:0x63c,_0x34e664:0x3d6,_0x5cdd5d:0x3a5,_0x15e625:0x545,_0x62dd9a:0x16f,_0x119a51:0x150,_0x4c050b:0x358,_0x50d095:0x46d,_0x5c0387:0x35a,_0x48d7df:0x60d,_0x464f14:0x59c,_0x64e465:0x6d3,_0x5db044:0x793,_0x196df8:0x5ce},_0xb73400={_0x3f996a:0x122,_0x1e2990:0x103},_0xd38b0f={_0x133715:0xfb,_0x1a06d4:0x8d,_0xa22b0a:0x83};if(_0x26d1fd[_0x19abf5(_0x5cbe68._0x1a5988,_0x5cbe68._0x1e1059,-_0x5cbe68._0x478516,-_0x5cbe68._0x26b810)]>this[_0x19abf5(0xfb,_0x5cbe68._0x2abb23,-0x33,_0x5cbe68._0xc8dacb)][_0x25aaa8(0x4d1,_0x5cbe68._0x32db10,_0x5cbe68._0x91e2b7,0x32d)])throw createAnchoredFileError(_0x19abf5(0xc0,0x14,-0x57,-_0x5cbe68._0x3e6feb),_0x25aaa8(0x45a,0x304,0x529,_0x5cbe68._0x4cad55)+_0x26d1fd[_0x25aaa8(0x528,0x6fe,_0x5cbe68._0x440d16,_0x5cbe68._0x4e081e)]+_0x19abf5(_0x5cbe68._0x31ec85,_0x5cbe68._0x37b113,-0x181,0xff)+_0x26d1fd[_0x19abf5(-_0x5cbe68._0x25d3d4,_0x5cbe68._0x3cc99f,0x211,-_0x5cbe68._0x43e642)]+_0x25aaa8(_0x5cbe68._0x4a6e46,0x543,_0x5cbe68._0x56f932,0x656)+this[_0x25aaa8(_0x5cbe68._0x142fb2,0x463,_0x5cbe68._0x387836,0x358)][_0x19abf5(-_0x5cbe68._0x2ad512,_0x5cbe68._0x1b0191,0x242,_0x5cbe68._0x3cb7d3)]+_0x25aaa8(0x271,_0x5cbe68._0x213b57,_0x5cbe68._0x26c358,_0x5cbe68._0x31d936),{'path':_0x26d1fd[_0x25aaa8(_0x5cbe68._0x2eafc5,0x76c,_0x5cbe68._0x36e8fe,_0x5cbe68._0x43a107)],'size':_0x26d1fd[_0x25aaa8(_0x5cbe68._0x406a33,_0x5cbe68._0x200a95,_0x5cbe68._0x347f03,_0x5cbe68._0x1083b4)]});const _0x368710=this['tagForDigest']?this[_0x19abf5(_0x5cbe68._0x179430,0x32c,0x3ae,_0x5cbe68._0x11fa5a)](_0x26d1fd['digest']):_0x26d1fd[_0x25aaa8(_0x5cbe68._0x145012,0x737,_0x5cbe68._0x34c7da,_0x5cbe68._0x140c87)],_0x4b43ca=this[_0x25aaa8(0x24d,_0x5cbe68._0x506278,_0x5cbe68._0x5e024b,_0x5cbe68._0x256d1f)][_0x19abf5(_0x5cbe68._0xabea9e,_0x5cbe68._0x33bec9,_0x5cbe68._0x53aa8e,_0x5cbe68._0x4464b7)](_0x26d1fd[_0x19abf5(0x1b9,0x342,_0x5cbe68._0x4e65f7,0x394)]),_0x1086f3=_0x4b43ca?.[_0x19abf5(0x168,0x20f,0x62,_0x5cbe68._0x2b9101)](_0x2d15a3=>_0x2d15a3[_0x19abf5(-0x91,0x90,0x1ed,-0xbf)][_0x19abf5(0x10a,0x119,0x162,0xb1)]===_0x26d1fd[_0x25aaa8(0x252,0x345,0x2bf,0x413)]);let _0x2b9c42;function _0x19abf5(_0x46d2f3,_0x1b5d5e,_0x5ec089,_0x101f86){return _0xe18bb0(_0x101f86,_0x1b5d5e-_0xd38b0f._0x133715,_0x5ec089-_0xd38b0f._0x1a06d4,_0x101f86-_0xd38b0f._0xa22b0a);}if(_0x1086f3){for(const _0x4f8dae of _0x40449d)_0x1086f3[_0x25aaa8(0x78d,0x76a,0x5a8,0x600)][_0x25aaa8(_0x5cbe68._0x520296,0x489,_0x5cbe68._0x511dc6,0x682)](_0x4f8dae);_0x2b9c42=_0x1086f3;}else{_0x2b9c42={'snapshot':_0x26d1fd,'tag':_0x368710,'observedLines':new Set(_0x40449d)};if(!_0x4b43ca)this[_0x19abf5(_0x5cbe68._0x51e714,_0x5cbe68._0x4a9e64,_0x5cbe68._0x3f951b,0x207)][_0x19abf5(0x147,0x6a,-_0x5cbe68._0x9bdcd8,0x45)](_0x26d1fd['canonicalPath'],[_0x2b9c42]);else{if(_0x4b43ca['length']>=this['limits'][_0x19abf5(0x481,_0x5cbe68._0x4a1e31,_0x5cbe68._0x2730b1,0x4a6)]){const _0x7d4a10=_0x4b43ca[_0x19abf5(0x163,0xe8,0x274,0x22b)]();if(_0x7d4a10)this['releaseBytes'](_0x7d4a10[_0x25aaa8(0x442,0x57a,0x2ee,0x38a)][_0x19abf5(_0x5cbe68._0x11cf19,_0x5cbe68._0x2a931d,_0x5cbe68._0x58a83b,_0x5cbe68._0x53b5da)]);}_0x4b43ca['push'](_0x2b9c42);}this[_0x19abf5(_0x5cbe68._0x4bf441,_0x5cbe68._0x56229b,_0x5cbe68._0x43031a,_0x5cbe68._0x3ab36b)](_0x26d1fd['digest'],_0x26d1fd[_0x25aaa8(_0x5cbe68._0x2c1abb,_0x5cbe68._0x44d7b3,0x333,_0x5cbe68._0x453db1)]);}this['touchPath'](_0x26d1fd[_0x25aaa8(_0x5cbe68._0x1f4a1c,0x795,_0x5cbe68._0x34246d,_0x5cbe68._0x427d65)]);function _0x25aaa8(_0x1432ed,_0x86b446,_0x9d3f04,_0x4abc61){return _0x47b891(_0x1432ed,_0x4abc61- -0x9c,_0x9d3f04-_0xb73400._0x3f996a,_0x4abc61-_0xb73400._0x1e2990);}while(this['versionsByPath'][_0x25aaa8(_0x5cbe68._0x34e664,_0x5cbe68._0x5cdd5d,0x6db,0x59e)]>this[_0x25aaa8(0x463,_0x5cbe68._0x15e625,_0x5cbe68._0x62dd9a,0x358)][_0x19abf5(0x2c9,0x214,0x2e0,0x30c)]){this['evictLeastRecentlyUsedPath']();}while(this['totalBytes']>this[_0x25aaa8(0x1a5,0x28f,_0x5cbe68._0x119a51,_0x5cbe68._0x4c050b)][_0x19abf5(0xde,_0x5cbe68._0x1b0191,-0x77,0xe1)]&&this[_0x25aaa8(_0x5cbe68._0x50d095,_0x5cbe68._0x5c0387,_0x5cbe68._0x48d7df,0x501)][_0x25aaa8(0x572,0x44e,0x4b1,_0x5cbe68._0x464f14)]>0x1){this[_0x25aaa8(_0x5cbe68._0x64e465,_0x5cbe68._0x5db044,0x502,0x5d7)]();}return{'snapshot':_0x2b9c42['snapshot'],'observedLines':new Set(_0x2b9c42[_0x25aaa8(0x41c,_0x5cbe68._0x196df8,0x723,0x600)])};}['resolve'](_0x4971c3,_0x13186c){const _0x1961af={_0xa92de5:0x205,_0x5f4dcd:0x250,_0x40ebea:0x120,_0x4eaf3f:0x1c3,_0x3fdec4:0x8d,_0x52feec:0x147,_0x27560a:0xd7,_0xe0a862:0x263,_0x1d4b9f:0x4d2,_0x10d2ea:0x67b,_0x4a95ea:0x4c2,_0x238bdd:0x69b,_0x49d5ee:0x649,_0x1e5296:0x5df,_0x434226:0x3ff,_0x3c14ba:0x626,_0x32e73c:0x40b,_0x13d882:0x4d2,_0x4c1fe5:0x35a,_0x3489f6:0x1bc,_0x5f24fe:0x3df,_0x5723fd:0x28a,_0x16ef84:0x1d4,_0x4028ef:0x295,_0x4e496b:0x43,_0x2fd6ff:0x156},_0x26cd72={_0x4c465d:0x10b,_0x20451c:0x104,_0xe08c0c:0x1cd},_0x209213={_0x81c054:0x1ce,_0x2f85c2:0xc2},_0x1290d9=this[_0xd58b67(_0x1961af._0xa92de5,_0x1961af._0x5f4dcd,0x314,0x21d)]['get'](_0x4971c3);if(!_0x1290d9)throw createAnchoredFileError(_0x21d6cb(_0x1961af._0x40ebea,0x139,_0x1961af._0x4eaf3f,-_0x1961af._0x3fdec4),_0x21d6cb(_0x1961af._0x52feec,0x21b,_0x1961af._0x27560a,_0x1961af._0xe0a862)+_0x13186c+_0x21d6cb(_0x1961af._0x1d4b9f,_0x1961af._0x10d2ea,_0x1961af._0x4a95ea,_0x1961af._0x238bdd)+_0x4971c3+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x4971c3,'tag':_0x13186c});function _0x21d6cb(_0x38c892,_0x28dd8c,_0x27a00b,_0xa9b0f4){return _0x47b891(_0x27a00b,_0x38c892- -0x28a,_0x27a00b-_0x209213._0x81c054,_0xa9b0f4-_0x209213._0x2f85c2);}const _0x472c3e=_0x1290d9[_0xd58b67(0x57a,_0x1961af._0x49d5ee,_0x1961af._0x1e5296,_0x1961af._0x434226)](_0x242b9a=>_0x242b9a[_0xd58b67(0x591,0x477,0x64c,0x640)]===_0x13186c);if(_0x472c3e[_0xd58b67(_0x1961af._0x3c14ba,_0x1961af._0x32e73c,0x52d,0x5b0)]===0x0)throw createAnchoredFileError('unknown_snapshot','Snapshot\x20tag\x20'+_0x13186c+_0x21d6cb(_0x1961af._0x13d882,0x3e8,0x64c,0x2ce)+_0x4971c3+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x4971c3,'tag':_0x13186c});if(_0x472c3e['length']>0x1)throw createAnchoredFileError(_0x21d6cb(_0x1961af._0x4c1fe5,_0x1961af._0x3489f6,0x32e,_0x1961af._0x5f24fe),_0xd58b67(0x154,_0x1961af._0x5723fd,0x2c6,0x463)+_0x13186c+'\x20is\x20ambiguous\x20for\x20'+_0x4971c3+_0x21d6cb(_0x1961af._0x16ef84,_0x1961af._0x4028ef,0x25,0x12d),{'path':_0x4971c3,'tag':_0x13186c});this['touchPath'](_0x4971c3);function _0xd58b67(_0x54530f,_0x5b7057,_0x3e1ea8,_0x3428e8){return _0x47b891(_0x5b7057,_0x3e1ea8- -_0x26cd72._0x4c465d,_0x3e1ea8-_0x26cd72._0x20451c,_0x3428e8-_0x26cd72._0xe08c0c);}return{'snapshot':_0x472c3e[0x0][_0x21d6cb(0x19c,_0x1961af._0x4e496b,_0x1961af._0x2fd6ff,0x1a9)],'observedLines':new Set(_0x472c3e[0x0]['observedLines'])};}[_0xe18bb0(0x2ac,0x163,0xe2,0x2d2)](_0x24b899,_0x4478ff){const _0x14be24={_0x32c11e:0x3c3,_0x2c58b9:0x559,_0x303d46:0x5aa,_0x3dcc4f:0x63e,_0x3bb409:0x2b7,_0x15b1cd:0x177,_0x4485ef:0x36,_0x50ce53:0xd4},_0x1412f4={_0x15956a:0x4d4,_0xae67ca:0x12d},_0x5b7b92={_0x384217:0x4bd,_0x26c346:0x1af,_0xb37d8e:0x198};function _0x14336e(_0x2182f5,_0x5cc86e,_0x2d3164,_0x177aa2){return _0xe18bb0(_0x5cc86e,_0x2182f5-_0x5b7b92._0x384217,_0x2d3164-_0x5b7b92._0x26c346,_0x177aa2-_0x5b7b92._0xb37d8e);}function _0xea38d8(_0x193ba3,_0x5c48ca,_0x2a910e,_0x48dd97){return _0x47b891(_0x2a910e,_0x48dd97- -_0x1412f4._0x15956a,_0x2a910e-0xb6,_0x48dd97-_0x1412f4._0xae67ca);}const _0x92bcc=_0x24b899+'\x00'+_0x4478ff,_0x1908dd=(this[_0xea38d8(0x80,_0x14be24._0x32c11e,0x232,0x21c)][_0x14336e(_0x14be24._0x2c58b9,0x6bb,_0x14be24._0x303d46,_0x14be24._0x3dcc4f)](_0x92bcc)??0x0)+0x1;return this[_0xea38d8(_0x14be24._0x3bb409,0x12e,0x291,0x21c)][_0xea38d8(0x25,-_0x14be24._0x15b1cd,_0x14be24._0x4485ef,-_0x14be24._0x50ce53)](_0x92bcc,_0x1908dd),_0x1908dd;}[_0xe18bb0(0x214,0x1f0,0x100,0x39d)](_0x4246f9){const _0x4d4944={_0x3c5760:0xa5b,_0x53d4eb:0x91d,_0x1ef4e5:0x816,_0x410892:0x96d,_0x461f27:0x800},_0xb26e83={_0x3d3bc0:0x1aa,_0x576910:0x111};function _0x8f7b6a(_0xcf2cc5,_0xc9e086,_0x44d251,_0x5dc63d){return _0x47b891(_0x44d251,_0x5dc63d-_0xb26e83._0x3d3bc0,_0x44d251-_0xb26e83._0x576910,_0x5dc63d-0xc2);}const _0x23cd5c=_0x4246f9+'\x00';function _0x21a933(_0x8effe0,_0x38c6a0,_0x39b39b,_0x44a5a7){return _0x47b891(_0x8effe0,_0x39b39b- -0x19f,_0x39b39b-0x82,_0x44a5a7-0x1e);}for(const _0x40275f of[...this[_0x8f7b6a(_0x4d4944._0x3c5760,_0x4d4944._0x53d4eb,_0x4d4944._0x1ef4e5,0x89a)]['keys']()]){if(_0x40275f[_0x8f7b6a(_0x4d4944._0x410892,0x7c8,_0x4d4944._0x461f27,0x822)](_0x23cd5c))this['noChangeCounters']['delete'](_0x40275f);}}['clear'](){const _0x3d82f7={_0x705499:0x386,_0x54871b:0x3f7,_0x156332:0x6c4,_0x8b9997:0x6c6,_0x5b21bf:0x656,_0x14a051:0x7e4,_0x2ee1a1:0x805,_0x487867:0x8cf,_0x5ec066:0x619,_0x2a5d2f:0x53a,_0x459f65:0x5b6,_0x1ee3c1:0x421,_0x1e136f:0x396,_0x8aff49:0x819,_0x3be810:0x8c8,_0x12a3ed:0x5d2},_0x1e1910={_0x24565e:0x71},_0x51e9d8={_0x2893f5:0x14e};this[_0x5a3514(0x412,_0x3d82f7._0x705499,0x479,_0x3d82f7._0x54871b)][_0x3475fb(0x53a,0x4b2,0x47b,_0x3d82f7._0x156332)]();function _0x3475fb(_0x5da464,_0x27cf59,_0x48c2f0,_0x4053c8){return _0x47b891(_0x27cf59,_0x5da464-0x129,_0x48c2f0-0xb1,_0x4053c8-_0x51e9d8._0x2893f5);}function _0x5a3514(_0x2b5ef7,_0x37df47,_0x3c60f7,_0x4699ae){return _0x47b891(_0x2b5ef7,_0x4699ae- -0x28,_0x3c60f7-0x1b3,_0x4699ae-_0x1e1910._0x24565e);}this[_0x3475fb(_0x3d82f7._0x8b9997,_0x3d82f7._0x5b21bf,0x4db,_0x3d82f7._0x14a051)]=[],this['totalBytes']=0x0,this[_0x3475fb(_0x3d82f7._0x2ee1a1,_0x3d82f7._0x487867,0x7d8,_0x3d82f7._0x5ec066)][_0x3475fb(_0x3d82f7._0x2a5d2f,_0x3d82f7._0x459f65,_0x3d82f7._0x1ee3c1,_0x3d82f7._0x1e136f)](),this[_0x3475fb(_0x3d82f7._0x8aff49,_0x3d82f7._0x3be810,0x764,0x9fd)][_0x3475fb(0x53a,0x462,_0x3d82f7._0x12a3ed,0x4a5)]();}[_0xe18bb0(0x470,0x276,0x465,0x19d)](_0x5780a5){const _0x2bce63={_0x54bd06:0x48f,_0x32a17c:0x4c6,_0x724228:0x9f1,_0x501de2:0x951,_0x34d19c:0x886,_0x291d61:0x115,_0x223069:0x1af,_0x1575be:0x15d,_0x144636:0xcd,_0x3e105e:0x219,_0x1d9402:0x14c,_0x4e644d:0x4c9},_0x57bb73={_0x350ebb:0x29},_0x5c332c={_0x321203:0x585,_0x4e6da9:0xc3};function _0xc96ee(_0x1b77e4,_0x4386e6,_0x222a76,_0x427fe3){return _0xe18bb0(_0x4386e6,_0x427fe3-_0x5c332c._0x321203,_0x222a76-_0x5c332c._0x4e6da9,_0x427fe3-0x1e0);}const _0x5d05d5=this[_0xc96ee(0x570,_0x2bce63._0x54bd06,_0x2bce63._0x32a17c,0x691)][_0xc96ee(_0x2bce63._0x724228,_0x2bce63._0x501de2,0x982,_0x2bce63._0x34d19c)](_0x5780a5);function _0x55ac01(_0x4e7a0d,_0x5b29c2,_0x3ef7d9,_0x1ae5ef){return _0x47b891(_0x3ef7d9,_0x5b29c2- -0x3ee,_0x3ef7d9-0x61,_0x1ae5ef-_0x57bb73._0x350ebb);}if(_0x5d05d5!==-0x1)this[_0x55ac01(_0x2bce63._0x291d61,_0x2bce63._0x223069,0x4f,_0x2bce63._0x1575be)][_0x55ac01(_0x2bce63._0x144636,_0x2bce63._0x3e105e,0x1de,_0x2bce63._0x1d9402)](_0x5d05d5,0x1);this['recency'][_0xc96ee(0x491,0x463,_0x2bce63._0x4e644d,0x4b0)](_0x5780a5);}[_0x47b891(0x701,0x673,0x637,0x517)](){const _0x55d875={_0x4c1d22:0x1a2,_0xf5725a:0xf5,_0x1a1073:0x156,_0xdc492d:0x270,_0x43d056:0x97,_0x19c7bf:0x140,_0x26ece6:0xf,_0x245547:0x46,_0x345ff1:0x19b,_0x3795f9:0x135,_0x52a427:0x4d,_0xbce326:0x14d,_0x4edf56:0xa3,_0x93b20:0x1c2},_0xa14490={_0x2bdc86:0x573,_0x4447d7:0x84},_0x5166c2={_0x226a5b:0x21c,_0x198dde:0x24},_0xa13586=this[_0x1a8b26(0x2a,_0x55d875._0x4c1d22,0x223,-0x59)][_0x1a8b26(-_0x55d875._0xf5725a,-_0x55d875._0x1a1073,-0x4f,-_0x55d875._0xdc492d)]();function _0x185964(_0x42d312,_0x5ed14c,_0x86240a,_0x3743fb){return _0xe18bb0(_0x5ed14c,_0x86240a-_0x5166c2._0x226a5b,_0x86240a-0x51,_0x3743fb-_0x5166c2._0x198dde);}if(_0xa13586===void 0x0)return;function _0x1a8b26(_0x2d834b,_0x5df4d3,_0x53fa72,_0x5406f1){return _0x47b891(_0x5406f1,_0x2d834b- -_0xa14490._0x2bdc86,_0x53fa72-0xb0,_0x5406f1-_0xa14490._0x4447d7);}const _0x32d7d6=this[_0x185964(_0x55d875._0x43d056,_0x55d875._0x19c7bf,0x1aa,_0x55d875._0x26ece6)][_0x1a8b26(-_0x55d875._0x245547,-0x14c,0x17b,-_0x55d875._0x345ff1)](_0xa13586);this[_0x185964(0x237,_0x55d875._0x3795f9,0x1aa,_0x55d875._0x52a427)]['delete'](_0xa13586);if(_0x32d7d6){for(const _0x224bde of _0x32d7d6)this['releaseBytes'](_0x224bde[_0x1a8b26(-_0x55d875._0xbce326,_0x55d875._0x4edf56,0x4a,-0x20f)][_0x185964(0x162,_0x55d875._0x93b20,0x23a,0x143)]);}}[_0xe18bb0(0x191,0x250,0x351,0xbd)](_0x1bdb9f,_0x385b84){const _0x14db75={_0x46e4fd:0x813,_0x4d267e:0x632,_0x425949:0x2d9,_0x56dd80:0x615,_0x343920:0x6ca,_0x475d05:0x50b},_0x28acd9={_0x31fda0:0xc1},_0x1befdd={_0x29dbd8:0x15d,_0x5e5b76:0x1d4};function _0x248379(_0x3c3c8c,_0x554df6,_0x2c3c02,_0x1a16de){return _0xe18bb0(_0x3c3c8c,_0x2c3c02-0x3c5,_0x2c3c02-_0x1befdd._0x29dbd8,_0x1a16de-_0x1befdd._0x5e5b76);}function _0x5c2afb(_0x52ff3c,_0x18d80d,_0x144a16,_0x49b143){return _0xe18bb0(_0x52ff3c,_0x18d80d-0x540,_0x144a16-0x179,_0x49b143-_0x28acd9._0x31fda0);}!this[_0x248379(0x613,0x543,0x610,0x817)][_0x248379(0x4f7,_0x14db75._0x46e4fd,_0x14db75._0x4d267e,0x5a1)](_0x1bdb9f)&&(this['bytesByDigest'][_0x5c2afb(_0x14db75._0x425949,0x4af,0x44e,0x58c)](_0x1bdb9f,_0x385b84),this[_0x248379(_0x14db75._0x56dd80,_0x14db75._0x343920,_0x14db75._0x475d05,0x3a2)]+=_0x385b84);}['releaseBytes'](_0x3e3fa7){const _0x3dc687={_0x2bd38b:0x4ad,_0x2ac6a7:0x691,_0x58b8f3:0x6b3,_0x1da7cd:0x60f,_0x220dff:0x332,_0x4b239e:0x637,_0x25aa59:0x7ba,_0x31c6b1:0x161,_0x243563:0x29a,_0x11150e:0x691,_0x230134:0x504,_0x34dcb9:0x4e2,_0x31a577:0x5e4,_0x1c22cc:0x31d,_0x31b646:0x409,_0x95a53e:0x4c9},_0x3dc12f={_0x4940c2:0x58f,_0x178852:0x1c9},_0x157e45={_0x258435:0x4b,_0x346cf7:0x7f};function _0x3eca9c(_0x4b0cd4,_0x5b4ca8,_0x120a61,_0x282c4c){return _0x47b891(_0x4b0cd4,_0x5b4ca8- -_0x157e45._0x258435,_0x120a61-0x108,_0x282c4c-_0x157e45._0x346cf7);}if(!this[_0x3eca9c(_0x3dc687._0x2bd38b,_0x3dc687._0x2ac6a7,0x488,0x835)][_0x3eca9c(0x5f4,_0x3dc687._0x58b8f3,_0x3dc687._0x1da7cd,0x79c)](_0x3e3fa7))return;const _0x14e164=[...this[_0x3eca9c(0x5cd,0x3d4,_0x3dc687._0x220dff,0x53c)][_0x3eca9c(0x6ca,_0x3dc687._0x4b239e,_0x3dc687._0x25aa59,0x5ac)]()][_0x12aa55(_0x3dc687._0x31c6b1,_0x3dc687._0x243563,0xef,0x227)](_0x2652d7=>_0x2652d7[_0x3eca9c(0x6a3,0x633,0x55b,0x74d)](_0x1a26f0=>_0x1a26f0[_0x12aa55(-0x1fe,-0x2b5,-0x169,-0xc3)][_0x3eca9c(0x4e3,0x464,0x51b,0x520)]===_0x3e3fa7));function _0x12aa55(_0x5b9992,_0x12e705,_0x6137a5,_0x2383a6){return _0x47b891(_0x5b9992,_0x6137a5- -_0x3dc12f._0x4940c2,_0x6137a5-0x15b,_0x2383a6-_0x3dc12f._0x178852);}!_0x14e164&&(this[_0x3eca9c(0x743,0x58c,0x3e8,0x587)]-=this[_0x3eca9c(0x68a,_0x3dc687._0x11150e,0x77f,_0x3dc687._0x230134)][_0x3eca9c(0x52a,_0x3dc687._0x34dcb9,0x49a,_0x3dc687._0x31a577)](_0x3e3fa7)??0x0,this[_0x12aa55(_0x3dc687._0x1c22cc,0x17a,0x14d,0x2d9)][_0x3eca9c(_0x3dc687._0x31b646,0x593,0x72b,_0x3dc687._0x95a53e)](_0x3e3fa7));}};import{readFile as _0xe1f2ba,stat as _0x5c7d85}from'fs/promises';import*as _0x51ee06 from'path';function stripUtfBom(_0x38f1a4){const _0x3e07b9={_0x35f67a:0x93d,_0xe142ad:0x7e6,_0x2a2857:0x237,_0x274d7e:0xe9,_0x17df9f:0x1de},_0x2b98c3={_0x157bb0:0x17e},_0x49df7b={_0x7a5be3:0x327,_0x120a43:0x84};function _0x4457ac(_0x1333ab,_0x48b3b1,_0x41f0e6,_0x18e6a0){return _0xe18bb0(_0x1333ab,_0x48b3b1-_0x49df7b._0x7a5be3,_0x41f0e6-0x33,_0x18e6a0-_0x49df7b._0x120a43);}function _0x4c01b6(_0x29f501,_0x1bc45a,_0x419ec4,_0x5c9543){return _0xe18bb0(_0x1bc45a,_0x5c9543-0x68d,_0x419ec4-0x1ac,_0x5c9543-_0x2b98c3._0x157bb0);}return _0x38f1a4[_0x4c01b6(0x7a2,0x984,_0x3e07b9._0x35f67a,_0x3e07b9._0xe142ad)](0x0)===0xfeff?_0x38f1a4[_0x4457ac(0x326,_0x3e07b9._0x2a2857,_0x3e07b9._0x274d7e,_0x3e07b9._0x17df9f)](0x1):_0x38f1a4;}function clampLine2(_0x52cda8,_0x5a8502){if(!Number['isFinite'](_0x52cda8))return 0x1;return Math['max'](0x1,Math['min'](Math['trunc'](_0x52cda8),_0x5a8502));}function resolveAnchoredTarget(_0x57431f){const _0x2e338e={_0x4dc539:0x493,_0x53ee7e:0x5a3,_0xc3c767:0x3cb,_0x3a02b7:0x4cb,_0x1d5c6f:0x908,_0x313eaf:0x8e7,_0x5e278f:0x5ff,_0x46867f:0x61f,_0x518895:0x51b,_0x41bc9c:0x4c6,_0x5d7335:0x673,_0x497af4:0x471,_0x26450d:0x306,_0x43816a:0x2f3,_0x5009e2:0x6aa,_0x416784:0x675,_0x2942d4:0x32f,_0x2c8dfd:0x55d,_0x4020f0:0x421,_0x448269:0x328,_0x2fe1d4:0x42a,_0x155737:0x5ab,_0x342392:0x3db,_0x20716e:0x471},_0x3d31af={_0x26944a:0xf3,_0x2e0df1:0x1f1},_0x1c2ea3=_0x57431f['mode']??_0x498029(_0x2e338e._0x4dc539,0x352,0x4e0,0x4f9);function _0x498029(_0x4efc3a,_0x18668a,_0x1369f4,_0x50660f){return _0xe18bb0(_0x18668a,_0x4efc3a-0x4b6,_0x1369f4-0x1c1,_0x50660f-0x26);}function _0x5280cf(_0x4bf54c,_0x3ccd52,_0x1f2953,_0x4c233c){return _0x47b891(_0x1f2953,_0x4c233c- -_0x3d31af._0x26944a,_0x1f2953-0x67,_0x4c233c-_0x3d31af._0x2e0df1);}if(_0x1c2ea3==='exact')return void 0x0;if(_0x57431f[_0x498029(_0x2e338e._0x53ee7e,0x701,_0x2e338e._0xc3c767,_0x2e338e._0x3a02b7)]===void 0x0)throw new Error((_0x57431f[_0x498029(0x40c,0x2b0,0x5b9,0x391)]??_0x498029(0x78d,_0x2e338e._0x1d5c6f,0x8c5,_0x2e338e._0x313eaf))+_0x498029(_0x2e338e._0x5e278f,_0x2e338e._0x46867f,_0x2e338e._0x518895,0x512));if(_0x57431f[_0x5280cf(_0x2e338e._0x41bc9c,0x2dc,_0x2e338e._0x5d7335,_0x2e338e._0x497af4)]===void 0x0)throw new Error((_0x57431f[_0x498029(0x40c,_0x2e338e._0x26450d,0x258,_0x2e338e._0x43816a)]??_0x5280cf(_0x2e338e._0x5009e2,0x51c,0x48e,_0x2e338e._0x416784))+_0x5280cf(_0x2e338e._0x2942d4,_0x2e338e._0x2c8dfd,0x301,_0x2e338e._0x4020f0));return{'mode':_0x1c2ea3,'observations':_0x57431f[_0x5280cf(_0x2e338e._0x448269,0x3c8,_0x2e338e._0x2fe1d4,0x48b)],'outputBudgetBytes':_0x57431f[_0x5280cf(_0x2e338e._0x155737,_0x2e338e._0x342392,0x3b3,_0x2e338e._0x20716e)]};}function isErrnoException(_0x439487){const _0x104fef={_0x1c0e33:0x107,_0x4289c6:0x12f,_0x35b6d5:0xd},_0x3f91b5={_0x1defc4:0x190},_0x161e29={_0x37a419:0x1be};function _0x379ef4(_0x3935d4,_0x5436e9,_0x6d3b5a,_0x1c02e7){return _0xe18bb0(_0x6d3b5a,_0x1c02e7-0x399,_0x6d3b5a-0xe,_0x1c02e7-_0x161e29._0x37a419);}function _0x5b74f0(_0x299dab,_0x39f87a,_0x331466,_0x12451c){return _0x47b891(_0x331466,_0x39f87a- -0x542,_0x331466-_0x3f91b5._0x1defc4,_0x12451c-0xb0);}return _0x439487 instanceof Error&&_0x5b74f0(-0x1b4,-0x1d,-0x95,-_0x104fef._0x1c0e33)in _0x439487&&typeof _0x439487[_0x5b74f0(_0x104fef._0x4289c6,-0x1d,0x66,0x2a)]===_0x5b74f0(-0x3a,0x75,_0x104fef._0x35b6d5,0x147);}function wrapAnchoredFsError(_0x581a7f,_0x1d66b6){const _0x2ad0d0={_0x5ea126:0x1f1,_0x172252:0x1d4,_0x2a5c7e:0x377,_0x18fadf:0x42f,_0x111415:0x563,_0x32e803:0x52d,_0x1a5209:0x5c7,_0x55cc0f:0x6ff},_0x26ee33={_0x48486f:0x4a3},_0x195f02={_0x5e7732:0xc0,_0x2a7be4:0x1c0};function _0x1f372f(_0x5f41ed,_0x79004c,_0x280afc,_0x1a76df){return _0xe18bb0(_0x79004c,_0x5f41ed-0x2d8,_0x280afc-_0x195f02._0x5e7732,_0x1a76df-_0x195f02._0x2a7be4);}if(_0x581a7f instanceof ToolExecutionError)throw _0x581a7f;if(!isErrnoException(_0x581a7f))throw _0x581a7f;function _0x32ac5e(_0xbf8edc,_0xb090d1,_0x6a06e8,_0x325721){return _0x47b891(_0xbf8edc,_0x6a06e8- -_0x26ee33._0x48486f,_0x6a06e8-0x90,_0x325721-0x1d7);}throw createAnchoredFileError(_0x1f372f(_0x2ad0d0._0x5ea126,0x142,_0x2ad0d0._0x172252,_0x2ad0d0._0x2a5c7e),_0x1f372f(0x380,0x416,0x416,0x444)+_0x1d66b6+_0x1f372f(_0x2ad0d0._0x18fadf,_0x2ad0d0._0x111415,0x38b,0x586)+_0x581a7f[_0x1f372f(_0x2ad0d0._0x32e803,0x699,_0x2ad0d0._0x1a5209,_0x2ad0d0._0x55cc0f)]+');\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x1d66b6});}async function executeAnchoredRead(_0x6879ec,_0x225beb,_0x48b0ff,_0xa75ee0,_0x51a856,_0x4df92c,_0x7ece69){const _0x47868a={_0x4178cc:0x728,_0x13a366:0x542,_0xf84a4c:0x1e9,_0x3c89c2:0x25b,_0x3b929e:0x93,_0xefa6c9:0x6cc,_0x3b5635:0x604,_0x2f388f:0x631,_0xd404a9:0x54e,_0xd85b7f:0x394,_0x16e415:0x306,_0x3573f6:0x12c,_0x467327:0x3d1,_0x43e073:0x412,_0x47de16:0x240,_0x17841f:0x37a,_0x2ed719:0x562,_0x1fbef8:0x166,_0x154e45:0x19b,_0x32e3b4:0x2b6,_0x84eb96:0x492,_0x436c56:0x65c,_0x579cbc:0x78c,_0x2fc576:0x6c2,_0x50da32:0x24a,_0x30aba7:0x132,_0x319f41:0x30d},_0x4f5a8c={_0xeca96c:0x62},_0x4a45cf={_0x17e968:0x544,_0xbff026:0x14f};let _0x28d058;try{_0x28d058=await resolveCanonicalAllowedFile(_0x225beb,_0x48b0ff,_0xa75ee0);}catch(_0x714100){wrapAnchoredFsError(_0x714100,_0xa75ee0);}let _0x570171;function _0x22a46d(_0x3a7dbf,_0x1e1441,_0x203dd7,_0x3ed167){return _0xe18bb0(_0x3a7dbf,_0x203dd7-_0x4a45cf._0x17e968,_0x203dd7-0x1bd,_0x3ed167-_0x4a45cf._0xbff026);}try{_0x570171=await _0xe1f2ba(_0x28d058[_0x22a46d(0x680,_0x47868a._0x4178cc,0x78b,0x770)]);}catch(_0x3b86b5){wrapAnchoredFsError(_0x3b86b5,_0xa75ee0);}const _0x493169=createNormalizedFileSnapshot(_0x28d058['canonicalPath'],_0x570171);function _0x2b0541(_0x404a3a,_0x36a57a,_0x135de1,_0x4903ca){return _0x47b891(_0x4903ca,_0x404a3a- -0x307,_0x135de1-_0x4f5a8c._0xeca96c,_0x4903ca-0x1a7);}_0x6879ec['observations'][_0x22a46d(0x5a9,0x668,_0x47868a._0x13a366,0x3b2)](_0x7ece69);const _0x3b3c2c=formatAnchoredFileRead({'displayPath':_0xa75ee0,'snapshot':_0x493169,'lineStart':_0x51a856,'lineEnd':_0x4df92c,'maxBytes':_0x6879ec[_0x2b0541(0x25d,_0x47868a._0xf84a4c,_0x47868a._0x3c89c2,_0x47868a._0x3b929e)]});return _0x6879ec[_0x22a46d(_0x47868a._0xefa6c9,_0x47868a._0x3b5635,_0x47868a._0x2f388f,_0x47868a._0xd404a9)][_0x2b0541(0x2ac,0xa7,0x2e5,0x2f1)](_0x493169,_0x3b3c2c[_0x22a46d(0x4c7,0x404,0x520,_0x47868a._0xd85b7f)]),createToolOutput(_0x3b3c2c['output'],{'mode':_0x6879ec['mode'],'path':_0xa75ee0,'resolvedPath':_0x28d058[_0x2b0541(_0x47868a._0x16e415,_0x47868a._0x3573f6,0x231,0x37b)],'canonicalPath':_0x28d058[_0x2b0541(_0x47868a._0x467327,_0x47868a._0x43e073,_0x47868a._0x47de16,0x53e)],'tag':_0x493169['tag'],'digest':_0x493169[_0x22a46d(_0x47868a._0x17841f,0x465,_0x47868a._0x2ed719,0x622)],'displayedLines':[..._0x3b3c2c[_0x2b0541(_0x47868a._0x1fbef8,_0x47868a._0x154e45,0x33,_0x47868a._0x32e3b4)]],'truncated':_0x3b3c2c[_0x22a46d(0x4a4,_0x47868a._0x84eb96,_0x47868a._0x436c56,_0x47868a._0x579cbc)],..._0x3b3c2c[_0x22a46d(0x6a9,0x7fd,0x604,_0x47868a._0x2fc576)]!==void 0x0?{'nextLineStart':_0x3b3c2c[_0x2b0541(_0x47868a._0x50da32,_0x47868a._0x30aba7,_0x47868a._0x319f41,0x2cd)]}:{}});}function createFileReadTool(_0x291ed6={}){const _0x5841a4={_0x36f5e5:0x100,_0x13231c:0x110,_0x48157a:0x1c8,_0x39cfbc:0x81,_0x1a5b82:0x200,_0x3fb2db:0x19a,_0x547843:0x436,_0x524d89:0x3be,_0x58590b:0x4ff,_0x5bc737:0x42c,_0x9937f3:0x3ae,_0x2e2672:0x22e,_0x7222b2:0x54b,_0x5e28a7:0x10b,_0x14709e:0xbf,_0x5eee59:0x1dd,_0x1362d2:0x393,_0x38ebd3:0xd8,_0x3536e3:0xa5,_0x2f8470:0x282,_0x41af0f:0x2fa,_0x101ce0:0x26c},_0x3c7361={_0x3db2ca:0x3c2,_0x588782:0x922,_0x306725:0x7c5,_0x1d7afd:0x943,_0x437b4c:0x35d,_0x466269:0x567,_0x2a1923:0x4c0,_0x49343d:0x532,_0x5c9b48:0x361,_0x28cf03:0x9e4,_0x5de692:0x94d,_0x537563:0x9e2,_0x5170c9:0x252,_0x1beadb:0x67c,_0x21d7ee:0x82a,_0x29f99f:0x730,_0xee3bc0:0x3e6,_0x4f88ca:0x3dd,_0x4e9c34:0x255,_0x17c603:0x2c9,_0xad27ba:0x2fc,_0x4b7c4d:0x875,_0xaf3641:0x81b,_0x3231aa:0x85e,_0x3769dc:0x339,_0x4764e5:0x3bb,_0xb11642:0x17c,_0x46b4ac:0x501,_0x5c2faf:0x201,_0x3efe4d:0x2bd,_0x454a0c:0x3f2,_0x4523a8:0x235,_0x10a067:0x49d,_0x48a7de:0x5b1,_0x381042:0x786,_0x350a06:0x82a,_0x232711:0x84a,_0x355266:0x7d6,_0x23240c:0x67e},_0x5a7f54={_0x25f842:0x24,_0xff0b68:0xd0},_0x41d965={_0x52b934:0x10b,_0x1f07d7:0x1da},_0x4ea973={_0xa7c146:0x15f};function _0x23befd(_0x4b2de6,_0x3f2099,_0x432c4a,_0x3045c8){return _0xe18bb0(_0x3045c8,_0x4b2de6-_0x4ea973._0xa7c146,_0x432c4a-0x63,_0x3045c8-0xf9);}const _0x5743c5=_0x51ee06[_0x23befd(_0x5841a4._0x36f5e5,0x18e,_0x5841a4._0x13231c,0x5e)](_0x291ed6['defaultCwd']??process[_0x9cb602(_0x5841a4._0x48157a,_0x5841a4._0x39cfbc,-0x16d,0x271)]()),_0x11eb90=_0x291ed6[_0x23befd(_0x5841a4._0x1a5b82,0x2a0,0x1db,_0x5841a4._0x3fb2db)]??[],_0x17d0da=_0x291ed6['name']??_0x23befd(_0x5841a4._0x547843,_0x5841a4._0x524d89,0x4e9,_0x5841a4._0x58590b),_0x3a3b5b=resolveAnchoredTarget(_0x291ed6);function _0x9cb602(_0x41423d,_0x54031d,_0x3fdc88,_0x54938c){return _0xe18bb0(_0x3fdc88,_0x54031d-_0x41d965._0x52b934,_0x3fdc88-_0x41d965._0x1f07d7,_0x54938c-0x59);}return defineTool({'name':_0x17d0da,'permissionClass':'read','description':_0x3a3b5b===void 0x0?'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).':_0x23befd(0x39d,0x53a,0x526,_0x5841a4._0x5bc737),'inputSchema':{'type':_0x23befd(_0x5841a4._0x9937f3,0x2e2,_0x5841a4._0x2e2672,_0x5841a4._0x7222b2),'properties':{'path':{'type':'string'},'lineStart':{'type':_0x23befd(0xa5,-_0x5841a4._0x5e28a7,-_0x5841a4._0x14709e,0x16a),'description':_0x23befd(0x1e4,_0x5841a4._0x5eee59,0x2c1,_0x5841a4._0x1362d2)},'lineEnd':{'type':'number','description':_0x23befd(0x79,0x8b,-_0x5841a4._0x38ebd3,0x1d6)}},'required':[_0x9cb602(_0x5841a4._0x3536e3,_0x5841a4._0x2f8470,_0x5841a4._0x41af0f,_0x5841a4._0x101ce0)]},async *'execute'(_0x53500a,_0x4f7adb){const _0x1b3014={_0x3a9093:0x1da,_0x2119d3:0x140},_0x1eaa18=resolveAllowedPath(_0x5743c5,_0x11eb90,_0x53500a['path']);if(_0x3a3b5b===void 0x0){await assertWorkspaceFile(_0x1eaa18);const _0x4cfb66=await _0x5c7d85(_0x1eaa18),_0x5bea2f=await _0xe1f2ba(_0x1eaa18);if(isProbablyBinary(_0x5bea2f))throw new ToolExecutionError('File\x20appears\x20to\x20be\x20binary:\x20'+_0x53500a[_0x2afb5c(0x331,_0x3c7361._0x3db2ca,0x54d,0x57c)],{'path':_0x53500a[_0x182691(_0x3c7361._0x588782,_0x3c7361._0x306725,0x7eb,_0x3c7361._0x1d7afd)]});let _0x392bb8=_0x5bea2f['toString'](_0x2afb5c(0x450,0x447,_0x3c7361._0x437b4c,0x28e));const _0x445db8=_0x392bb8['charCodeAt'](0x0)===0xfeff;_0x392bb8=stripUtfBom(_0x392bb8);const _0x673aec=_0x392bb8[_0x182691(0x660,0x44f,0x60b,_0x3c7361._0x466269)](/\r?\n/),_0x3a54eb={'path':_0x53500a[_0x2afb5c(_0x3c7361._0x2a1923,0x3c2,_0x3c7361._0x49343d,0x22e)],'resolvedPath':_0x1eaa18,'created':_0x4cfb66[_0x2afb5c(0xa3,0x1fe,_0x3c7361._0x5c9b48,0x314)]['toISOString'](),'modified':_0x4cfb66[_0x182691(0x954,_0x3c7361._0x28cf03,_0x3c7361._0x5de692,_0x3c7361._0x537563)]['toISOString'](),'size':_0x4cfb66['size'],'encoding':_0x182691(0x9f5,0x9ab,0x870,0x78e),'bomStripped':_0x445db8,'truncated':![],'totalLines':_0x673aec[_0x2afb5c(0x410,0x3f2,_0x3c7361._0x5170c9,0x498)]};if(_0x53500a[_0x182691(0x77a,_0x3c7361._0x1beadb,_0x3c7361._0x21d7ee,_0x3c7361._0x29f99f)]!==void 0x0||_0x53500a[_0x2afb5c(0x1ca,0x255,_0x3c7361._0xee3bc0,0x230)]!==void 0x0){const _0x203242=clampLine2(_0x53500a['lineStart']??0x1,_0x673aec['length']),_0x29397c=clampLine2(_0x53500a[_0x2afb5c(_0x3c7361._0x4f88ca,_0x3c7361._0x4e9c34,_0x3c7361._0x17c603,_0x3c7361._0xad27ba)]??_0x673aec['length'],_0x673aec[_0x182691(_0x3c7361._0x4b7c4d,0x737,_0x3c7361._0xaf3641,0x90d)]),_0x42f597=Math[_0x182691(0x711,0x79f,0x7ae,_0x3c7361._0x3231aa)](_0x203242,_0x29397c),_0x4325b6=Math[_0x182691(0x6e2,0x6d5,0x561,0x50b)](_0x203242,_0x29397c),_0x360337=_0x673aec['slice'](_0x42f597-0x1,_0x4325b6)[_0x2afb5c(_0x3c7361._0x3769dc,_0x3c7361._0x4764e5,0x252,0x4da)]((_0x23b2d2,_0x46e0d0)=>_0x42f597+_0x46e0d0+'|'+_0x23b2d2)[_0x2afb5c(_0x3c7361._0xb11642,0x32d,_0x3c7361._0x46b4ac,_0x3c7361._0x5c2faf)]('\x0a');return yield createToolOutput(_0x360337,{..._0x3a54eb,'lineRange':{'lineStart':_0x42f597,'lineEnd':_0x4325b6,'linesTotal':_0x673aec[_0x2afb5c(_0x3c7361._0x3efe4d,_0x3c7361._0x454a0c,_0x3c7361._0x4523a8,0x1f0)]}}),void 0x0;}return yield createToolOutput(_0x392bb8,_0x3a54eb),void 0x0;}yield await executeAnchoredRead(_0x3a3b5b,_0x5743c5,_0x11eb90,_0x53500a[_0x2afb5c(_0x3c7361._0x10a067,0x3c2,0x3fb,_0x3c7361._0x48a7de)],_0x53500a[_0x182691(_0x3c7361._0x381042,0x715,_0x3c7361._0x350a06,0x6cd)],_0x53500a[_0x182691(_0x3c7361._0x232711,_0x3c7361._0x355266,_0x3c7361._0x23240c,0x5eb)],_0x4f7adb['sessionId']);function _0x182691(_0x3f3c80,_0x22664d,_0x1a8810,_0x59d496){return _0x23befd(_0x1a8810-0x515,_0x22664d-_0x5a7f54._0x25f842,_0x1a8810-_0x5a7f54._0xff0b68,_0x59d496);}function _0x2afb5c(_0x217f25,_0xf1be3f,_0x3a2cb3,_0x48b5a0){return _0x9cb602(_0x217f25-_0x1b3014._0x3a9093,_0xf1be3f-_0x1b3014._0x2119d3,_0x48b5a0,_0x48b5a0-0x188);}return 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 _0x4b251f}from'crypto';import{mkdir as _0x4afc43,readFile as _0x37381c,writeFile as _0x190b6a}from'fs/promises';import{join as _0x135fdf}from'path';function sanitizeStorageKey(_0x2637f4){const _0x5a8e12={_0x435af2:0x407,_0xa83600:0x245,_0x168a89:0x3c7,_0x5c7e2c:0x48d},_0x44cc9f={_0x3bb872:0x40,_0x5b653a:0x38},_0xab667={_0xa4ecbd:0x177,_0x3cc5fe:0x137};function _0x4c15b1(_0x672086,_0x5a0783,_0x468e91,_0x4b4071){return _0xe18bb0(_0x4b4071,_0x5a0783-_0xab667._0xa4ecbd,_0x468e91-0x1b5,_0x4b4071-_0xab667._0x3cc5fe);}function _0xdfc255(_0x59c264,_0x49f961,_0x3a5aca,_0x377465){return _0xe18bb0(_0x3a5aca,_0x377465-_0x44cc9f._0x3bb872,_0x3a5aca-_0x44cc9f._0x5b653a,_0x377465-0x12e);}return _0x2637f4[_0x4c15b1(_0x5a8e12._0x435af2,0x43a,0x48d,_0x5a8e12._0xa83600)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0xdfc255(_0x5a8e12._0x168a89,0x2e2,_0x5a8e12._0x5c7e2c,0x309);}function storagePath(_0x5600bc){const _0x39ce3c={_0x3b8bcd:0x42c,_0x30485e:0x19e,_0x31dfec:0x426,_0x3dab38:0x2cf,_0xc5e63c:0x581,_0x2de97b:0x45d,_0x15e53:0x437,_0x39a8ba:0x36f,_0x5f169f:0x381},_0x1857b6={_0x218941:0x1b0},_0x3d114b=sanitizeStorageKey(_0x5600bc[_0x4e4f0f(_0x39ce3c._0x3b8bcd,0x560,0x4cb,0x642)]['oauth']?.[_0x369871(_0x39ce3c._0x30485e,0x324,_0x39ce3c._0x31dfec,_0x39ce3c._0x3dab38)]??_0x5600bc[_0x369871(_0x39ce3c._0xc5e63c,_0x39ce3c._0x2de97b,0x66d,0x4e2)]);function _0x4e4f0f(_0x4f11c2,_0x29226b,_0x5f1f68,_0xb005f0){return _0xe18bb0(_0xb005f0,_0x5f1f68-0x39e,_0x5f1f68-0x1bf,_0xb005f0-0x18);}function _0x369871(_0x29c048,_0x5e123a,_0x3cdbb8,_0x31f7fb){return _0xe18bb0(_0x3cdbb8,_0x5e123a-0x21e,_0x3cdbb8-_0x1857b6._0x218941,_0x31f7fb-0x7c);}return _0x135fdf(_0x5600bc[_0x369871(_0x39ce3c._0x15e53,_0x39ce3c._0x39a8ba,_0x39ce3c._0x5f169f,0x270)],_0x3d114b+_0x4e4f0f(0x775,0x41e,0x588,0x38a));}async function readStore(_0x576359){const _0x1ca482={_0x2c5bdd:0x601,_0x3d3027:0x380,_0x1e2252:0x286,_0x4f8317:0x2e0,_0x30be6d:0x478,_0x4fc828:0x35a,_0x59faa0:0x14a,_0x5a88bd:0x28b,_0x4871a6:0x17f,_0x2af3a4:0x25c},_0x24657b={_0xf740d7:0x1eb};function _0x3ded22(_0x1d80ab,_0x52c58d,_0x7726cf,_0x549112){return _0x47b891(_0x52c58d,_0x549112- -0x1f7,_0x7726cf-0xea,_0x549112-0xa4);}function _0x5cd97e(_0x314a3f,_0x128ee4,_0x59a456,_0x4de6a8){return _0x47b891(_0x128ee4,_0x4de6a8- -0x255,_0x59a456-0x197,_0x4de6a8-_0x24657b._0xf740d7);}try{return JSON[_0x5cd97e(_0x1ca482._0x2c5bdd,0x33e,0x622,0x4e7)](await _0x37381c(_0x576359,_0x5cd97e(_0x1ca482._0x3d3027,_0x1ca482._0x1e2252,0x5af,0x438)));}catch(_0x122cd9){if(_0x122cd9 instanceof Error&&_0x5cd97e(_0x1ca482._0x4f8317,_0x1ca482._0x30be6d,_0x1ca482._0x4fc828,0x2d0)in _0x122cd9&&_0x122cd9[_0x5cd97e(0x272,0x118,_0x1ca482._0x59faa0,0x2d0)]===_0x3ded22(_0x1ca482._0x5a88bd,0x27e,_0x1ca482._0x4871a6,_0x1ca482._0x2af3a4))return{};throw _0x122cd9;}}async function writeStore(_0x252fc8,_0x2fdd8c){const _0x194cac={_0x44df62:0x3f1,_0x1d226d:0x1e2,_0x2913a7:0x9e9,_0x2424cb:0x7fb},_0x4fd10a={_0x51b01b:0x2d5},_0x4c8e56={_0x14b19c:0x16e,_0x214d0e:0x1f2};function _0x3d901c(_0x1cc1ed,_0x1df078,_0x194ecb,_0x49efc9){return _0x47b891(_0x194ecb,_0x49efc9-_0x4c8e56._0x14b19c,_0x194ecb-_0x4c8e56._0x214d0e,_0x49efc9-0x172);}await _0x4afc43(_0x135fdf(_0x252fc8,'..'),{'recursive':!![]});function _0x3ad61a(_0x418d48,_0x483755,_0x12c4ff,_0x9cd027){return _0xe18bb0(_0x9cd027,_0x418d48-_0x4fd10a._0x51b01b,_0x12c4ff-0x61,_0x9cd027-0x128);}await _0x190b6a(_0x252fc8,JSON[_0x3ad61a(_0x194cac._0x44df62,0x3ae,_0x194cac._0x1d226d,0x5cd)](_0x2fdd8c,null,0x2),_0x3d901c(0x991,0x715,_0x194cac._0x2913a7,_0x194cac._0x2424cb));}async function updateStore(_0x39ada4,_0x8abfe8){const _0x141d36=await readStore(_0x39ada4);_0x8abfe8(_0x141d36),await writeStore(_0x39ada4,_0x141d36);}function createMcpOAuthProvider(_0x2156ac){const _0x34ea28={_0x49cb51:0xc9,_0x1970ef:0x2f4,_0x229439:0xb0,_0x1cfed8:0x41b,_0x396169:0x55d,_0x1eece5:0x141,_0x5996ca:0x103,_0x477c98:0x195,_0x48d331:0xd0,_0x5825e7:0x445,_0x4d1dbb:0x6c0,_0x51df56:0x62b,_0x34393c:0x15d},_0x624190={_0x1cf473:0x4d0,_0x232c3a:0x628,_0xd9a819:0x5e2},_0x2e7300={_0x5154bc:0x115,_0x272714:0x18e,_0x472ccf:0x20c,_0x16ca19:0x1b3,_0x312e9d:0x83},_0x4d99ea={_0x224318:0x94,_0x3c19d1:0xf4},_0x14c2a1={_0x54461d:0x676,_0x2c1108:0x706},_0x583a4b={_0x4a80ad:0x607},_0x324f00={_0x5d142f:0x19b,_0x4f0f5c:0x122},_0x59a917={_0x2af223:0x6d4,_0x3dea85:0x4f3,_0x348b74:0x586},_0x67a3d3={_0x389fd4:0x2ad,_0x2a0141:0xba,_0x4f9a85:0x1a},_0x4732f8={_0xf53587:0x63,_0x40c9cf:0x50,_0x3b85e3:0x89,_0xeb8ffc:0x802,_0x3284c0:0x6e0,_0x513b39:0x6e6},_0x42cf3f={_0x840bba:0x179,_0x3c6234:0x92},_0x5d7710={_0x345458:0x657,_0x1b24d7:0x458},_0x4837dd={_0x317bc2:0xde},_0x44b879={_0x3b20f8:0x94},_0x4df7a9={_0x418503:0x64};function _0x13910e(_0x1b0b43,_0x48d5d0,_0x7e04aa,_0x1c26cd){return _0xe18bb0(_0x48d5d0,_0x1c26cd- -_0x4df7a9._0x418503,_0x7e04aa-0x1f2,_0x1c26cd-0x19e);}function _0x265d63(_0x522876,_0xf7c728,_0x3a6fcb,_0x2629d9){return _0x47b891(_0x522876,_0x3a6fcb- -0x40,_0x3a6fcb-_0x44b879._0x3b20f8,_0x2629d9-0x18);}const _0x3e7eff=storagePath(_0x2156ac),_0x1b09fd=_0x2156ac[_0x13910e(0x1c0,0xf8,0x251,_0x34ea28._0x49cb51)][_0x13910e(_0x34ea28._0x1970ef,0x219,_0x34ea28._0x229439,0x124)]?.['scopes']?.[_0x265d63(_0x34ea28._0x1cfed8,0x73c,0x533,_0x34ea28._0x396169)]('\x20'),_0x14ebcd={'client_name':_0x13910e(0x1f4,0x246,0x367,0x25d),'redirect_uris':[_0x2156ac['callbackUrl']],'grant_types':['authorization_code',_0x13910e(_0x34ea28._0x1eece5,_0x34ea28._0x5996ca,0x111,_0x34ea28._0x477c98)],'response_types':[_0x13910e(-0x19,0x1e5,_0x34ea28._0x48d331,0x30)],'token_endpoint_auth_method':_0x265d63(_0x34ea28._0x5825e7,_0x34ea28._0x4d1dbb,0x63c,_0x34ea28._0x51df56),..._0x1b09fd?{'scope':_0x1b09fd}:{}};return{'clientMetadataUrl':_0x2156ac['config']['oauth']?.[_0x13910e(0xcb,_0x34ea28._0x34393c,-0x14a,0x4d)],get 'redirectUrl'(){function _0x4f0d2b(_0x142da5,_0x17aa8d,_0x57acb2,_0x4c88e6){return _0x265d63(_0x4c88e6,_0x17aa8d-_0x4837dd._0x317bc2,_0x57acb2-0x102,_0x4c88e6-0xff);}return _0x2156ac[_0x4f0d2b(0x537,_0x5d7710._0x345458,0x52e,_0x5d7710._0x1b24d7)];},get 'clientMetadata'(){return _0x14ebcd;},async 'state'(){const _0xdd1518={_0xc89c99:0x3eb,_0x6e1597:0x518},_0x2c7264={_0x561626:0x22};function _0x57f489(_0x1e9a73,_0x44f76d,_0x10baf7,_0x4b35f0){return _0x13910e(_0x1e9a73-0x7a,_0x4b35f0,_0x10baf7-_0x2c7264._0x561626,_0x10baf7-0x69e);}const _0x231654=await readStore(_0x3e7eff);function _0x4dcf55(_0x29137a,_0x2a6b2c,_0x43c24e,_0x59e82b){return _0x13910e(_0x29137a-0x157,_0x2a6b2c,_0x43c24e-_0x42cf3f._0x840bba,_0x43c24e- -_0x42cf3f._0x3c6234);}if(_0x231654[_0x4dcf55(-_0x4732f8._0xf53587,-0x25e,-_0x4732f8._0x40c9cf,_0x4732f8._0x3b85e3)])return _0x231654[_0x57f489(0x740,_0x4732f8._0xeb8ffc,_0x4732f8._0x3284c0,_0x4732f8._0x513b39)];const _0xdbdcd6=_0x4b251f();return await updateStore(_0x3e7eff,_0x2d502f=>{const _0x421baa={_0x5ce48b:0x112,_0x3691e0:0x282};function _0x32e407(_0x561a82,_0x2b424d,_0x5d8a22,_0x280088){return _0x57f489(_0x561a82-0x1cf,_0x2b424d-_0x421baa._0x5ce48b,_0x2b424d- -_0x421baa._0x3691e0,_0x280088);}_0x2d502f[_0x32e407(_0xdd1518._0xc89c99,0x45e,_0xdd1518._0x6e1597,0x502)]=_0xdbdcd6;}),_0xdbdcd6;},async 'clientInformation'(){const _0x4069c1={_0x5b756d:0x45b,_0x1f3e9d:0x19b};function _0x158623(_0x2be3b2,_0x250c48,_0x45da15,_0x4729d0){return _0x265d63(_0x4729d0,_0x250c48-0x1b5,_0x250c48- -_0x4069c1._0x5b756d,_0x4729d0-_0x4069c1._0x1f3e9d);}return(await readStore(_0x3e7eff))[_0x158623(_0x67a3d3._0x389fd4,0xae,_0x67a3d3._0x2a0141,-_0x67a3d3._0x4f9a85)];},async 'saveClientInformation'(_0x1a29f7){await updateStore(_0x3e7eff,_0x5e3f1e=>{function _0x4bdf6d(_0x250a00,_0x3944db,_0x495998,_0xccc03d){return _0x678a(_0x495998-0x18b,_0x3944db);}_0x5e3f1e[_0x4bdf6d(_0x59a917._0x2af223,0x334,_0x59a917._0x3dea85,_0x59a917._0x348b74)]=_0x1a29f7;});},async 'tokens'(){function _0x410917(_0x3350e2,_0x19b2c8,_0x37fbc1,_0x5809c){return _0x265d63(_0x5809c,_0x19b2c8-_0x324f00._0x5d142f,_0x19b2c8- -0x83,_0x5809c-_0x324f00._0x4f0f5c);}return(await readStore(_0x3e7eff))[_0x410917(0x304,0x44e,0x63e,_0x583a4b._0x4a80ad)];},async 'saveTokens'(_0x42f290){await updateStore(_0x3e7eff,_0xd772ca=>{function _0x22072d(_0xbd2832,_0x46f7be,_0x5ac3df,_0x31d7aa){return _0x678a(_0x5ac3df-0x3d6,_0xbd2832);}_0xd772ca[_0x22072d(_0x14c2a1._0x54461d,0x567,_0x14c2a1._0x2c1108,0x584)]=_0x42f290;});},async 'redirectToAuthorization'(_0x28b612){await _0x2156ac['onRedirect'](_0x28b612);},async 'saveCodeVerifier'(_0x2b6616){const _0x4ff7bc={_0x5f39f5:0x64a,_0xb71de0:0x5d7};await updateStore(_0x3e7eff,_0x2852f3=>{function _0xda2956(_0x18b229,_0x213d5b,_0xe38c45,_0xdaea6a){return _0x678a(_0x213d5b-0x182,_0xe38c45);}_0x2852f3[_0xda2956(_0x4ff7bc._0x5f39f5,0x476,_0x4ff7bc._0xb71de0,0x3fe)]=_0x2b6616;});},async 'codeVerifier'(){const _0x5e46aa={_0x44b6d9:0xee,_0x2d6053:0x1c3},_0x3c8d09=(await readStore(_0x3e7eff))[_0x57097c(_0x2e7300._0x5154bc,0x1a3,_0x2e7300._0x272714,_0x2e7300._0x472ccf)];function _0x58ae02(_0x23ea19,_0x1b47c3,_0x47a995,_0x11d5b3){return _0x13910e(_0x23ea19-0x10a,_0x1b47c3,_0x47a995-_0x4d99ea._0x224318,_0x23ea19-_0x4d99ea._0x3c19d1);}if(!_0x3c8d09)throw new Error(_0x58ae02(_0x2e7300._0x16ca19,-0x3d,_0x2e7300._0x312e9d,0xe4));function _0x57097c(_0x3a926b,_0x11e1f1,_0x3d856a,_0x46d288){return _0x13910e(_0x3a926b-0x101,_0x46d288,_0x3d856a-_0x5e46aa._0x44b6d9,_0x11e1f1-_0x5e46aa._0x2d6053);}return _0x3c8d09;},async 'invalidateCredentials'(_0x2fbfb9){const _0x579d94={_0x311e6a:0xf6,_0x54d1bb:0x1f9,_0x5b8208:0x607,_0x4a2dc8:0x705,_0x5a0930:0x716,_0x8e7abc:0x7a7,_0x319933:0x589,_0x346487:0x74,_0x2cfc68:0x2d1,_0x470c9a:0x29b,_0x53bbfd:0x15a,_0x7baca2:0x16,_0x574a86:0x88a,_0x23e69f:0x6e7,_0x2dbcc3:0x151,_0xcf17a1:0x8a,_0x22e2a7:0x78f,_0x36ca38:0x438,_0x2311ab:0x7c5,_0x304776:0x5e7};await updateStore(_0x3e7eff,_0x1c38e7=>{function _0x5c5951(_0x19b023,_0x7c3b6b,_0x446fe8,_0xf4bca6){return _0x678a(_0xf4bca6-0x3d5,_0x19b023);}(_0x2fbfb9===_0x3b4381(_0x579d94._0x311e6a,_0x579d94._0x54d1bb,0x152,0x165)||_0x2fbfb9==='client')&&(_0x1c38e7['clientInformation']=void 0x0);(_0x2fbfb9==='all'||_0x2fbfb9===_0x5c5951(0x770,_0x579d94._0x5b8208,0x582,_0x579d94._0x4a2dc8))&&(_0x1c38e7[_0x5c5951(_0x579d94._0x5a0930,_0x579d94._0x8e7abc,_0x579d94._0x319933,0x705)]=void 0x0);function _0x3b4381(_0x224110,_0x4141ad,_0x4d5bde,_0x5ee7d4){return _0x678a(_0x4141ad- -0x28b,_0x224110);}(_0x2fbfb9===_0x3b4381(_0x579d94._0x346487,_0x579d94._0x54d1bb,_0x579d94._0x2cfc68,_0x579d94._0x470c9a)||_0x2fbfb9===_0x3b4381(-_0x579d94._0x53bbfd,0x98,_0x579d94._0x7baca2,0x128))&&(_0x1c38e7['codeVerifier']=void 0x0,_0x1c38e7[_0x5c5951(0x784,_0x579d94._0x574a86,_0x579d94._0x23e69f,0x72b)]=void 0x0),(_0x2fbfb9==='all'||_0x2fbfb9===_0x3b4381(-_0x579d94._0x2dbcc3,0xbc,_0x579d94._0xcf17a1,0x172))&&(_0x1c38e7[_0x5c5951(_0x579d94._0x22e2a7,_0x579d94._0x36ca38,_0x579d94._0x2311ab,_0x579d94._0x304776)]=void 0x0);});},async 'saveDiscoveryState'(_0xf68b58){const _0xb2ffa3={_0x4165a6:0x91};await updateStore(_0x3e7eff,_0xd48ff4=>{function _0x272391(_0x43a90e,_0x447bbd,_0x218176,_0x566ae4){return _0x678a(_0x43a90e- -_0xb2ffa3._0x4165a6,_0x218176);}_0xd48ff4[_0x272391(0x181,0x229,0xa8,0x242)]=_0xf68b58;});},async 'discoveryState'(){const _0x54e1a5={_0x1edbbf:0x74,_0x22ccf4:0x193};function _0x252bc6(_0x98385f,_0x310c8d,_0x45872,_0x34c564){return _0x13910e(_0x98385f-_0x54e1a5._0x1edbbf,_0x45872,_0x45872-_0x54e1a5._0x22ccf4,_0x310c8d-0x5d2);}return(await readStore(_0x3e7eff))[_0x252bc6(0x4e6,_0x624190._0x1cf473,_0x624190._0x232c3a,_0x624190._0xd9a819)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x47b891(0x824,0x75b,0x95c,0x902),'message':_0x1b0a67=>_0xe18bb0(0x9d,0x1bf,0x2e2,0x119)+_0x1b0a67+_0xe18bb0(-0x1cd,-0xae,-0x4a,-0x1b6)},'connect':{'code':'mcp-connect-failed','message':_0x5ab14d=>'MCP\x20server\x20'+_0x5ab14d+'\x20failed\x20to\x20connect'},'discover':{'code':'mcp-discovery-failed','message':_0x2c24a9=>_0x47b891(0x738,0x650,0x50a,0x80e)+_0x2c24a9+'\x20tool\x20discovery\x20failed'},'toolCall':{'code':_0xe18bb0(0x180,0x1da,0x14f,0xaf),'message':_0x45e9bc=>'MCP\x20server\x20'+_0x45e9bc+_0x47b891(0x64b,0x6f4,0x8df,0x832)}},timeoutMessageByOperation={'close':_0x11f7e9=>_0xe18bb0(0x26f,0x1bf,0x259,0x2a9)+_0x11f7e9+'\x20close\x20timed\x20out','connect':_0x2a6aed=>'MCP\x20server\x20'+_0x2a6aed+_0xe18bb0(0x39e,0x2ac,0xb9,0x4a5),'discover':_0x175343=>_0xe18bb0(0xb2,0x1bf,0x2b0,0xd7)+_0x175343+_0x47b891(0x496,0x393,0x3ae,0x332),'toolCall':_0x21fd48=>'MCP\x20server\x20'+_0x21fd48+'\x20tool\x20call\x20timed\x20out'};function toMcpSafeError(_0x10c196){const _0x398622={_0x4f3a07:0x630,_0x870cae:0x46d,_0x2ad869:0x5e0,_0x4c9642:0x5d6,_0x250f15:0x71c,_0x2ca090:0x716,_0x155096:0x634,_0xac012f:0x683,_0x3fba6f:0x755,_0x31702f:0x7df,_0x19ab32:0x424,_0x116ac2:0x553,_0x38ab8a:0x4c6,_0x30829b:0x484,_0x266651:0x5db,_0x5c3f23:0x634,_0x13121e:0x79f,_0x8b4583:0x13b,_0x3f76a7:0x2fe,_0x4d26af:0x735,_0x2cb662:0x340,_0x587a51:0x153,_0x4459bf:0x263,_0x57f6ca:0x2f6,_0x3bc82a:0x6bb,_0x3a511c:0x815},_0xf7d74a={_0x48a9c4:0x593,_0x3c25cd:0x33},_0x3873bf={_0x52266a:0x91};function _0x1bf4cf(_0x3ea4d8,_0x14cc6d,_0x257872,_0x5ac142){return _0x47b891(_0x257872,_0x5ac142-0x10f,_0x257872-0x177,_0x5ac142-_0x3873bf._0x52266a);}function _0x416e82(_0x5f0dce,_0x2fcb5b,_0x13c57a,_0x18893a){return _0x47b891(_0x13c57a,_0x5f0dce- -_0xf7d74a._0x48a9c4,_0x13c57a-_0xf7d74a._0x3c25cd,_0x18893a-0xc);}if(_0x10c196['error']instanceof UnauthorizedError)return Object[_0x1bf4cf(_0x398622._0x4f3a07,_0x398622._0x870cae,_0x398622._0x2ad869,_0x398622._0x4c9642)]({'code':_0x1bf4cf(0x866,_0x398622._0x250f15,_0x398622._0x2ca090,0x840),'message':_0x1bf4cf(0x756,0x75a,0x6bb,0x75f)+_0x10c196[_0x1bf4cf(_0x398622._0x155096,_0x398622._0xac012f,_0x398622._0x3fba6f,_0x398622._0x31702f)]+_0x416e82(-0xf4,0xa6,-0xb2,-0x216)});if(_0x10c196[_0x1bf4cf(0x3b7,_0x398622._0x19ab32,_0x398622._0x116ac2,_0x398622._0x38ab8a)]instanceof McpError&&_0x10c196['error'][_0x1bf4cf(0x4a8,_0x398622._0x30829b,_0x398622._0x266651,_0x398622._0x5c3f23)]===ErrorCode['RequestTimeout'])return Object['freeze']({'code':_0x1bf4cf(0x7f5,0x86f,_0x398622._0x13121e,0x844),'message':timeoutMessageByOperation[_0x10c196[_0x416e82(_0x398622._0x8b4583,0x210,_0x398622._0x3f76a7,-0x84)]](_0x10c196[_0x1bf4cf(0x904,_0x398622._0x4d26af,0x936,0x7df)])});const _0x31442a=failureByOperation[_0x10c196[_0x416e82(0x13b,0x295,_0x398622._0x2cb662,0xc8)]];return Object[_0x1bf4cf(0x3d5,0x756,0x3f1,_0x398622._0x4c9642)]({'code':_0x31442a['code'],'message':_0x31442a[_0x416e82(_0x398622._0x587a51,_0x398622._0x4459bf,_0x398622._0x57f6ca,0x22d)](_0x10c196[_0x1bf4cf(0x61b,_0x398622._0x3bc82a,_0x398622._0x3a511c,0x7df)])});}function redactMcpDiagnostic(_0x57a035,_0x18a166){const _0x566825={_0x95b128:0x718,_0xeb4a40:0x8ba,_0x71a221:0x779,_0x1ddfbf:0x7de,_0x14648c:0x6e6,_0x5de9bf:0x85c,_0x19ec0d:0x730,_0x715894:0x79f},_0x557ae2={_0x4238ae:0x5d2,_0x26b433:0x1a4},_0x7afc66={_0x49ce60:0x5cd},_0x4fc759=[...new Set(_0x18a166[_0xbd7b56(0x826,0x7f7,0x8dc,_0x566825._0x95b128)](_0x14ff7f=>_0x14ff7f[_0x18ce2c(0x586,0x798,0x779,0x89c)]>0x0))]['sort']((_0x724e2f,_0x5ba010)=>_0x5ba010[_0xbd7b56(0x774,0x570,0x7fb,0x579)]-_0x724e2f[_0xbd7b56(0x774,0x80b,0x84e,0x903)]);if(_0x57a035['length']===0x0||_0x4fc759[_0x18ce2c(0x94c,0x747,0x779,0x770)]===0x0)return _0x57a035;function _0xbd7b56(_0x1c17fa,_0x1dc283,_0x3271cd,_0x1965b9){return _0xe18bb0(_0x3271cd,_0x1c17fa-_0x7afc66._0x49ce60,_0x3271cd-0x4c,_0x1965b9-0x1da);}let _0x1b3b99='',_0x5ee310=0x0;while(_0x5ee310<_0x57a035[_0x18ce2c(_0x566825._0xeb4a40,0x85b,_0x566825._0x71a221,0x645)]){const _0x17a5c1=_0x4fc759[_0x18ce2c(0x731,_0x566825._0x1ddfbf,_0x566825._0x14648c,_0x566825._0x5de9bf)](_0x2cc724=>_0x57a035[_0xbd7b56(0x7b4,0x6fd,0x64f,0x7a9)](_0x2cc724,_0x5ee310));_0x17a5c1?(_0x1b3b99+='[REDACTED]',_0x5ee310+=_0x17a5c1[_0x18ce2c(0x7e0,_0x566825._0x19ec0d,0x779,_0x566825._0x715894)]):(_0x1b3b99+=_0x57a035[_0x5ee310],_0x5ee310+=0x1);}function _0x18ce2c(_0x462aae,_0x30a5f7,_0x1e8698,_0x27ff49){return _0xe18bb0(_0x30a5f7,_0x1e8698-_0x557ae2._0x4238ae,_0x1e8698-_0x557ae2._0x26b433,_0x27ff49-0x116);}return _0x1b3b99;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x44c850){return typeof _0x44c850==='object'&&_0x44c850!==null||typeof _0x44c850==='function';}function createOwnedMcpSafeError(_0x1b5e5e){const _0x321561={_0x2a2594:0x41c,_0x4af848:0x4f1,_0x320336:0x3cb,_0x4ebb9d:0x4bb,_0x378eb2:0x1f9,_0x11a9cd:0x63,_0x2b2bd8:0x199},_0x512970={_0x46e03e:0x1bb,_0x520dbb:0x19a},_0x320992={_0x4121ce:0x207,_0x50ea5a:0xd9},_0x41dfb8=toMcpSafeError(_0x1b5e5e),_0x3c495e=Object[_0x185515(0x2ff,_0x321561._0x2a2594,_0x321561._0x4af848,_0x321561._0x320336)]({'code':_0x41dfb8[_0x185515(_0x321561._0x4ebb9d,0x4f0,0x54f,0x3cb)],'message':_0x41dfb8[_0x185515(0x523,0x73c,0x710,0x580)]});ownedMcpSafeErrors[_0x16b140(_0x321561._0x378eb2,0x17a,_0x321561._0x11a9cd,_0x321561._0x2b2bd8)](_0x41dfb8,_0x3c495e);function _0x16b140(_0x5869ee,_0x599b1b,_0x2e59e3,_0xdb0d43){return _0x47b891(_0xdb0d43,_0x5869ee- -_0x320992._0x4121ce,_0x2e59e3-0x111,_0xdb0d43-_0x320992._0x50ea5a);}function _0x185515(_0x3eff39,_0x10679d,_0x1cdbfb,_0x433c32){return _0x47b891(_0x3eff39,_0x1cdbfb-0x2a,_0x1cdbfb-_0x512970._0x46e03e,_0x433c32-_0x512970._0x520dbb);}return _0x41dfb8;}function extractOwnedMcpSafeError(_0x26240a){const _0x5d8b5f={_0x301f91:0x3cf,_0x8854ad:0x33d,_0x596e3f:0x35e,_0x15b042:0x335,_0x1b6380:0x86e,_0x221013:0x730,_0x1d9191:0x6df,_0x3416c0:0x3cc,_0x537a4c:0x3f9,_0x37c7f9:0x263},_0x4190a3={_0x27badd:0x80},_0x4ccc50={_0x39f8e9:0x2a1,_0x4c7da5:0x14d};if(!isWeakMapKey(_0x26240a))return void 0x0;const _0x44a292=ownedMcpSafeErrors[_0x224631(_0x5d8b5f._0x301f91,0x22c,_0x5d8b5f._0x8854ad,0x132)](_0x26240a);function _0x224631(_0x533f62,_0x16b564,_0x9c988c,_0x4b86f9){return _0xe18bb0(_0x16b564,_0x9c988c-_0x4ccc50._0x39f8e9,_0x9c988c-_0x4ccc50._0x4c7da5,_0x4b86f9-0xcf);}function _0x29b6e0(_0x1e64f3,_0x5f1c34,_0x52e072,_0x5e8bbe){return _0x47b891(_0x5e8bbe,_0x52e072- -0x7,_0x52e072-_0x4190a3._0x27badd,_0x5e8bbe-0x9f);}if(!_0x44a292)return void 0x0;const _0x225c71=Object['freeze']({'code':_0x44a292[_0x224631(_0x5d8b5f._0x596e3f,0x356,_0x5d8b5f._0x15b042,0x4e0)],'message':_0x44a292[_0x29b6e0(_0x5d8b5f._0x1b6380,_0x5d8b5f._0x221013,_0x5d8b5f._0x1d9191,0x7cc)]});return ownedMcpSafeErrors[_0x29b6e0(_0x5d8b5f._0x3416c0,0x494,_0x5d8b5f._0x537a4c,_0x5d8b5f._0x37c7f9)](_0x225c71,_0x44a292),_0x225c71;}function ownValue(_0x1f0894,_0x2f86ca){const _0x170d2c={_0x41526f:0x866,_0x46be0:0x5a6},_0x44488b={_0x524371:0x4f4,_0x14c301:0x30,_0x90cdf3:0x17a};function _0x1e6d16(_0x328e3a,_0x438db5,_0x47a8b0,_0x493ccb){return _0xe18bb0(_0x438db5,_0x493ccb-_0x44488b._0x524371,_0x47a8b0-_0x44488b._0x14c301,_0x493ccb-_0x44488b._0x90cdf3);}return _0x1f0894&&Object[_0x1e6d16(_0x170d2c._0x41526f,_0x170d2c._0x46be0,0x876,0x6f9)](_0x1f0894,_0x2f86ca)?_0x1f0894[_0x2f86ca]:void 0x0;}function isToolPermissionClass(_0x52f075){const _0x552179={_0x42612e:0x364,_0x359434:0x2c7,_0x447397:0x327},_0x47e5a8={_0x42266b:0xcf,_0x16855d:0x15b},_0x52d11e={_0x959fad:0x417};function _0x6e0bbb(_0x17b1c1,_0x331133,_0x387a7c,_0x1ff011){return _0x47b891(_0x387a7c,_0x1ff011- -_0x52d11e._0x959fad,_0x387a7c-0xcd,_0x1ff011-0xb0);}function _0x141e0a(_0x9076c9,_0x3635a3,_0x1fccb5,_0x52dd40){return _0x47b891(_0x1fccb5,_0x3635a3- -0x2e8,_0x1fccb5-_0x47e5a8._0x42266b,_0x52dd40-_0x47e5a8._0x16855d);}return _0x52f075==='read'||_0x52f075===_0x6e0bbb(0x257,0x13e,0x8b,0x104)||_0x52f075===_0x6e0bbb(_0x552179._0x42612e,_0x552179._0x359434,0x1a2,_0x552179._0x447397);}function suggestedPermissionClass(_0x474260){const _0x288c04={_0x4659c0:0x767,_0x1406a8:0x32f,_0x1aed19:0x292,_0x3deebf:0x191,_0x2a1868:0x6},_0x3ab802={_0x5b8271:0x627,_0x506026:0x1db},_0x1db582={_0x128a88:0x4e,_0x1952b8:0x71,_0x17a787:0xcf},_0x314517=_0x474260[_0x18c844(0x7ff,0x988,0x97f,_0x288c04._0x4659c0)]?.[_0x41de64(0x12d,0x159,_0x288c04._0x1406a8,_0x288c04._0x1aed19)];if(_0x314517===!![])return _0x18c844(0x87e,0x9b6,0x8fd,0xa7f);function _0x41de64(_0x326723,_0x4c751c,_0x123a35,_0x423a4f){return _0xe18bb0(_0x4c751c,_0x423a4f-_0x1db582._0x128a88,_0x123a35-_0x1db582._0x1952b8,_0x423a4f-_0x1db582._0x17a787);}function _0x18c844(_0x1d4172,_0x130056,_0x108a13,_0x18ffb4){return _0xe18bb0(_0x130056,_0x1d4172-_0x3ab802._0x5b8271,_0x108a13-_0x3ab802._0x506026,_0x18ffb4-0x37);}if(_0x314517===![])return _0x41de64(_0x288c04._0x3deebf,0xfa,_0x288c04._0x2a1868,0xd8);return void 0x0;}function isJsonValue(_0x38a130){const _0x25d795={_0x35d791:0x775,_0x3ab6c7:0x3ed,_0x592269:0x3fd,_0x3274cd:0x604,_0x23882f:0x76b,_0x151ba3:0x5c5},_0x43b197={_0x36f8c1:0x4da,_0x518d07:0x1a7},_0xf1facb={_0x4e512d:0x3b};if(_0x38a130===null||typeof _0x38a130===_0x4852be(_0x25d795._0x35d791,0x5a3,_0x25d795._0x3ab6c7,0x7a5)||typeof _0x38a130===_0x14a2d2(0x338,_0x25d795._0x592269,0x420,0x525)||typeof _0x38a130===_0x14a2d2(_0x25d795._0x3274cd,0x79d,0x78d,0x8f5))return!![];function _0x4852be(_0x5136a1,_0x1e6b87,_0x344a13,_0x3127c0){return _0xe18bb0(_0x5136a1,_0x1e6b87-0x47d,_0x344a13-0x43,_0x3127c0-_0xf1facb._0x4e512d);}function _0x14a2d2(_0x5ba0b3,_0x3686cc,_0x5045be,_0x24e378){return _0xe18bb0(_0x24e378,_0x5045be-_0x43b197._0x36f8c1,_0x5045be-0x173,_0x24e378-_0x43b197._0x518d07);}if(Array['isArray'](_0x38a130))return _0x38a130[_0x4852be(0x8fb,_0x25d795._0x23882f,_0x25d795._0x151ba3,0x6f4)](isJsonValue);if(!isObject(_0x38a130))return![];return Object['values'](_0x38a130)['every'](isJsonValue);}function projectMcpTools(_0x6155a2){const _0x3bf098={_0x47ca1f:0x371,_0x5536df:0x37a,_0x47a971:0x17c,_0x5ef3b9:0x18b,_0x552f5d:0x63,_0x2ad484:0x152,_0x2aeb91:0x32,_0x55686a:0xa,_0x4b936e:0x7d5,_0x56a6ad:0xdf,_0x1a065f:0x243,_0x261417:0x583,_0x2a79e0:0x84,_0x19dd9f:0x115,_0x115f1b:0x3bd,_0x6033cb:0x399,_0x19de03:0x22b,_0x2c42c1:0x88,_0x46b991:0x35,_0x5a0b9d:0x67d,_0xe35b87:0x474,_0xf33a12:0x7bc,_0x2959a5:0x34f,_0x14418c:0x28c,_0x5543d9:0x65d,_0xaf02c8:0x5d5},_0x4662fc={_0x231985:0x4d},_0x2e4288={_0x34b4e0:0x4},_0x11f41f=[],_0x1abbc1=[];function _0x48eafd(_0x19d743,_0x12b924,_0x3d2cd3,_0x4c4342){return _0xe18bb0(_0x3d2cd3,_0x19d743-0x528,_0x3d2cd3-0xf2,_0x4c4342-_0x2e4288._0x34b4e0);}for(const _0x361632 of _0x6155a2[_0x4c7ce5(_0x3bf098._0x47ca1f,_0x3bf098._0x5536df,0xfb,_0x3bf098._0x47a971)]){const _0x564478=ownValue(_0x6155a2[_0x4c7ce5(0x2d4,_0x3bf098._0x5ef3b9,-_0x3bf098._0x552f5d,_0x3bf098._0x2ad484)],_0x361632[_0x4c7ce5(_0x3bf098._0x2aeb91,-0x1fa,-_0x3bf098._0x55686a,-0x5d)]),_0x284b5f=isToolPermissionClass(_0x564478)?_0x564478:void 0x0,_0x13a098=_0x284b5f??_0x48eafd(_0x3bf098._0x4b936e,0x923,0x701,0x69d),_0x4ecf0c=suggestedPermissionClass(_0x361632);_0x1abbc1[_0x4c7ce5(-_0x3bf098._0x56a6ad,-_0x3bf098._0x1a065f,0xb8,-0x88)]({'name':_0x361632[_0x48eafd(0x47e,0x4fd,0x419,_0x3bf098._0x261417)],..._0x361632[_0x4c7ce5(_0x3bf098._0x2a79e0,_0x3bf098._0x19dd9f,0xbf,-0xb5)]!==void 0x0?{'description':_0x361632['description']}:{},...isJsonValue(_0x361632[_0x48eafd(0x4a6,_0x3bf098._0x115f1b,0x488,_0x3bf098._0x6033cb)])?{'inputSchema':_0x361632[_0x4c7ce5(-_0x3bf098._0x19de03,-0xc4,-_0x3bf098._0x2c42c1,-_0x3bf098._0x46b991)]}:{},'permissionClass':_0x13a098,'permissionConfigured':_0x284b5f!==void 0x0,..._0x4ecf0c!==void 0x0?{'suggestedPermissionClass':_0x4ecf0c}:{}});if(ownValue(_0x6155a2[_0x48eafd(0x5e2,_0x3bf098._0x5a0b9d,_0x3bf098._0xe35b87,_0x3bf098._0xf33a12)],_0x361632[_0x4c7ce5(-0x1af,-_0x3bf098._0x19de03,0x9,-0x5d)])===![])continue;_0x11f41f['push'](createMcpTool({'serverName':_0x6155a2['prefix']??_0x6155a2[_0x4c7ce5(0x440,0x220,_0x3bf098._0x2959a5,_0x3bf098._0x14418c)],'tool':_0x361632,'client':_0x6155a2[_0x48eafd(0x7c6,0x91e,0x776,0x6be)],'permissionClass':_0x13a098,'internalLifecycle':_0x6155a2[_0x48eafd(_0x3bf098._0x5543d9,0x853,_0x3bf098._0xaf02c8,0x592)]}));}function _0x4c7ce5(_0x3e81fb,_0x2c0f39,_0x481fa4,_0x5895a1){return _0xe18bb0(_0x3e81fb,_0x5895a1-_0x4662fc._0x231985,_0x481fa4-0x61,_0x5895a1-0xe0);}return{'tools':_0x11f41f,'descriptors':_0x1abbc1};}function createMcpToolName(_0x1b4bfe,_0x28760e){const _0x2a6005={_0x363444:0x5f,_0x3183a8:0xd5,_0x320e08:0x11d,_0x23fd06:0x130},_0x48159a={_0x35a22b:0x33},_0x38823e={_0x27a6c2:0x184};function _0x406e6f(_0x2d22ab,_0x56c556,_0x33bf26,_0x4f8944){return _0xe18bb0(_0x2d22ab,_0x33bf26-0x13e,_0x33bf26-_0x38823e._0x27a6c2,_0x4f8944-0x11c);}function _0x1864bc(_0x1003c7,_0x1ca6be,_0x218ce4,_0x3125cd){return _0xe18bb0(_0x3125cd,_0x1ca6be-_0x48159a._0x35a22b,_0x218ce4-0x24,_0x3125cd-0x19d);}const _0x5cd5d1=_0x24c208=>_0x24c208['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x1864bc(0x363,0x2f6,0x3bf,0x3da)](/^_+|_+$/g,'');return _0x1864bc(-_0x2a6005._0x363444,_0x2a6005._0x3183a8,_0x2a6005._0x320e08,_0x2a6005._0x23fd06)+_0x5cd5d1(_0x1b4bfe)+'_'+_0x5cd5d1(_0x28760e);}function isObject(_0x4027f3){const _0x3bd73b={_0x4535fa:0x286,_0x3d346f:0xfb,_0x20b184:0x627,_0x356f57:0x37a,_0x4ac211:0x5cb},_0x51eac2={_0x489cc3:0x37,_0x1dac35:0x136,_0x48d068:0x1c0},_0x554170={_0x6ca812:0x137};function _0x4cb272(_0x4406ec,_0x8e574c,_0x143c8d,_0x1a626f){return _0x47b891(_0x8e574c,_0x143c8d- -0x77,_0x143c8d-_0x554170._0x6ca812,_0x1a626f-0x1c4);}function _0xf5bb91(_0x47d892,_0x25319c,_0x2632bb,_0x1fe555){return _0xe18bb0(_0x1fe555,_0x47d892-_0x51eac2._0x489cc3,_0x2632bb-_0x51eac2._0x1dac35,_0x1fe555-_0x51eac2._0x48d068);}return typeof _0x4027f3===_0xf5bb91(_0x3bd73b._0x4535fa,_0x3bd73b._0x3d346f,0xa8,0x11d)&&_0x4027f3!==null&&!Array[_0x4cb272(_0x3bd73b._0x20b184,_0x3bd73b._0x356f57,0x4ca,_0x3bd73b._0x4ac211)](_0x4027f3);}function toSupportedSchema(_0x50d80e){const _0x160d3e={_0x9f1832:0x6cd,_0x115c0b:0x4dc,_0x1e04c7:0x63d,_0x2e0c11:0x36e,_0x12118a:0x54e,_0x2ca25b:0x300,_0x23f472:0x260,_0x238cf4:0x36e,_0x51cf6f:0x404,_0x390b2e:0x6cd,_0x3f2c06:0xad,_0x38c3d3:0x4c,_0x24f1da:0x112,_0x1d30b5:0x2f6,_0x35878c:0x427,_0x3ab7cd:0xee,_0x21f17f:0x25b,_0x5f1b8f:0x130,_0x1753fa:0x44e,_0x54d26d:0x24d,_0x1e278a:0x628,_0x399d83:0x55b,_0x49c394:0x55,_0x4810fd:0x102,_0x21b31c:0x45a,_0x58404d:0x302,_0xbd1320:0x3ff,_0x2ff5ae:0x6f9,_0x460e7e:0xa0,_0x33a104:0xdc,_0x4e22f8:0x332,_0x2b4308:0x1f7},_0x2d6b9d={_0x5615e3:0x428},_0x4bd922={_0x5f03ee:0x1be,_0x569b9f:0x162};if(!isObject(_0x50d80e))return void 0x0;if(_0x50d80e[_0x50b581(_0x160d3e._0x9f1832,_0x160d3e._0x115c0b,0x6cd,0x8d1)]==='string')return{'type':_0x50b581(_0x160d3e._0x1e04c7,_0x160d3e._0x2e0c11,_0x160d3e._0x12118a,0x701)};if(_0x50d80e[_0x5c458a(_0x160d3e._0x2ca25b,_0x160d3e._0x23f472,0x447,0x24d)]===_0x50b581(0x296,0x276,_0x160d3e._0x238cf4,_0x160d3e._0x51cf6f)||_0x50d80e[_0x50b581(0x540,0x572,_0x160d3e._0x390b2e,0x681)]===_0x5c458a(0x7,_0x160d3e._0x3f2c06,-0x7c,-_0x160d3e._0x38c3d3))return{'type':_0x5c458a(0x27,-0x1a1,-0x1f4,-_0x160d3e._0x24f1da)};if(_0x50d80e['type']===_0x5c458a(0x1d1,0x88,_0x160d3e._0x1d30b5,0x25b))return{'type':_0x5c458a(_0x160d3e._0x35878c,0x404,_0x160d3e._0x3ab7cd,_0x160d3e._0x21f17f)};if(_0x50d80e[_0x5c458a(_0x160d3e._0x5f1b8f,0x333,_0x160d3e._0x1753fa,_0x160d3e._0x54d26d)]===_0x50b581(0x460,_0x160d3e._0x1e278a,_0x160d3e._0x399d83,0x518))return{'type':_0x5c458a(_0x160d3e._0x49c394,-_0x160d3e._0x4810fd,0x1a2,0xdb),'items':toSupportedSchema(_0x50d80e[_0x50b581(0x36b,0x4c0,_0x160d3e._0x21b31c,_0x160d3e._0x58404d)])??{'type':_0x50b581(0x3d4,_0x160d3e._0xbd1320,_0x160d3e._0x12118a,_0x160d3e._0x2ff5ae)}};if(_0x50d80e[_0x5c458a(_0x160d3e._0x460e7e,0x14f,0x31a,0x24d)]===_0x5c458a(_0x160d3e._0x33a104,0x68,_0x160d3e._0x4e22f8,_0x160d3e._0x2b4308))return toNuvinToolSchema(_0x50d80e);function _0x5c458a(_0x342d95,_0x331aca,_0x51ab80,_0x56cc89){return _0x47b891(_0x51ab80,_0x56cc89- -0x4e9,_0x51ab80-_0x4bd922._0x5f03ee,_0x56cc89-_0x4bd922._0x569b9f);}function _0x50b581(_0x413e82,_0x46cad1,_0x1b7c8d,_0x493343){return _0xe18bb0(_0x46cad1,_0x1b7c8d-_0x2d6b9d._0x5615e3,_0x1b7c8d-0xd5,_0x493343-0x99);}return void 0x0;}function toNuvinToolSchema(_0x302d54){const _0x4b6738={_0x3297f6:0x4e1,_0x1c2f15:0x4f8,_0x3452c4:0x31b,_0x2df1db:0x1b9,_0x18d45d:0x467,_0x30f1b5:0x491,_0x1e2aeb:0x2d6,_0x19a263:0x10b,_0x1c3c19:0x3bc,_0x153b9c:0x28e,_0x3140b8:0x435,_0x386d65:0x1d8,_0x49efe2:0x246,_0x14f946:0x40e,_0x39bd15:0x385,_0x1247f4:0x646,_0x1d9119:0x35b,_0x1f8e41:0x4ae},_0x52e3c9={_0x3d0f63:0x1cc,_0x38c8e0:0x32},_0x1bdc25={_0xa34527:0x1eb,_0x57ba88:0x1d8};if(!isObject(_0x302d54)||_0x302d54[_0x5d8b40(_0x4b6738._0x3297f6,0x42f,_0x4b6738._0x1c2f15,0x504)]!=='object')return{'type':'object','properties':{}};function _0x33c5f6(_0x9f055d,_0x420447,_0x3e0dd6,_0x303c01){return _0xe18bb0(_0x303c01,_0x9f055d-0x3e1,_0x3e0dd6-_0x1bdc25._0xa34527,_0x303c01-_0x1bdc25._0x57ba88);}function _0x5d8b40(_0x200ff2,_0x598112,_0x3776ae,_0x18e0e2){return _0x47b891(_0x3776ae,_0x18e0e2- -0x232,_0x3776ae-_0x52e3c9._0x3d0f63,_0x18e0e2-_0x52e3c9._0x38c8e0);}const _0x4cb8f3={},_0xb49af=isObject(_0x302d54['properties'])?_0x302d54['properties']:{};for(const [_0xfa4153,_0x482f32]of Object[_0x33c5f6(_0x4b6738._0x3452c4,0x14d,_0x4b6738._0x2df1db,_0x4b6738._0x18d45d)](_0xb49af)){const _0x2b5ba2=toSupportedSchema(_0x482f32);if(_0x2b5ba2)_0x4cb8f3[_0xfa4153]=_0x2b5ba2;}const _0xc301ec=Array[_0x33c5f6(_0x4b6738._0x30f1b5,_0x4b6738._0x1e2aeb,0x521,0x39b)](_0x302d54[_0x5d8b40(0x317,_0x4b6738._0x19a263,_0x4b6738._0x1c3c19,_0x4b6738._0x153b9c)])?_0x302d54[_0x5d8b40(_0x4b6738._0x3140b8,_0x4b6738._0x386d65,_0x4b6738._0x49efe2,0x28e)]['filter'](_0x17eded=>typeof _0x17eded==='string'):void 0x0;return _0xc301ec?.['length']?{'type':_0x5d8b40(_0x4b6738._0x14f946,_0x4b6738._0x39bd15,_0x4b6738._0x1247f4,0x4ae),'properties':_0x4cb8f3,'required':_0xc301ec}:{'type':_0x5d8b40(0x529,0x335,_0x4b6738._0x1d9119,_0x4b6738._0x1f8e41),'properties':_0x4cb8f3};}function isJsonObject(_0x3112d0){const _0x396f2e={_0x1a6ab2:0x6d8,_0x498614:0x5a6},_0x4d43e6={_0x1b5db3:0x357,_0x4c14bf:0x141};function _0x3fc40c(_0x375096,_0x5c4816,_0x14fd36,_0x240895){return _0xe18bb0(_0x14fd36,_0x240895-_0x4d43e6._0x1b5db3,_0x14fd36-0x98,_0x240895-_0x4d43e6._0x4c14bf);}return typeof _0x3112d0===_0x3fc40c(_0x396f2e._0x1a6ab2,0x503,0x412,_0x396f2e._0x498614)&&_0x3112d0!==null&&!Array['isArray'](_0x3112d0);}function formatMcpContent(_0x4dad72){const _0x48e3e5={_0x3fe002:0x1c,_0xcd5e86:0x1a5,_0x33a274:0x177,_0x3899da:0x19a,_0x69439a:0x241,_0x59a8dc:0x4c,_0x61d567:0x56d,_0x2b8dc9:0x4c7},_0x3d4b2d={_0x51a6eb:0x89},_0x229d54={_0x2e53a9:0xea,_0x5f1d47:0x8a,_0x131699:0xd2,_0x3c6d0d:0x224,_0x56da88:0x3e9,_0x16d524:0x553},_0x19c8f7={_0x246c9e:0x337},_0x549288={_0x21fec6:0x12c};function _0x25ae3d(_0xb0b7f9,_0x240d0a,_0x57cc44,_0x54427f){return _0xe18bb0(_0x240d0a,_0x57cc44-0x205,_0x57cc44-0x1ea,_0x54427f-_0x549288._0x21fec6);}const _0x598066=Array[_0x407a5d(0x337,_0x48e3e5._0x3fe002,_0x48e3e5._0xcd5e86,_0x48e3e5._0x33a274)](_0x4dad72[_0x25ae3d(_0x48e3e5._0x3899da,0x317,0x302,_0x48e3e5._0x69439a)])?_0x4dad72['content']:[],_0xcddd24=_0x598066['map'](_0x384052=>{const _0x20c2c6={_0x411e45:0x150};function _0x516cbd(_0x2ea7bf,_0x31e536,_0x4b0a04,_0x2def50){return _0x407a5d(_0x2ea7bf,_0x31e536-0xf9,_0x4b0a04-0x99,_0x31e536-_0x19c8f7._0x246c9e);}if(!isObject(_0x384052))return'';function _0x3473ac(_0x4ecf23,_0x59d294,_0x7e9c45,_0x39f6a3){return _0x407a5d(_0x39f6a3,_0x59d294-0x29,_0x7e9c45-_0x20c2c6._0x411e45,_0x7e9c45- -0x1d9);}if(_0x384052['type']==='text'&&typeof _0x384052[_0x3473ac(_0x229d54._0x2e53a9,0x22,0xae,_0x229d54._0x5f1d47)]==='string')return _0x384052[_0x3473ac(-0x21,_0x229d54._0x131699,0xae,_0x229d54._0x3c6d0d)];return JSON[_0x516cbd(_0x229d54._0x56da88,0x51a,_0x229d54._0x16d524,0x6a7)](_0x384052);})['filter'](_0x481867=>_0x481867[_0x407a5d(0x2de,0x25f,0x2bf,0x26e)]>0x0)[_0x407a5d(_0x48e3e5._0x59a8dc,0x37f,0x1da,0x1a9)]('\x0a');if(_0xcddd24[_0x25ae3d(_0x48e3e5._0x61d567,_0x48e3e5._0x2b8dc9,0x3ac,0x2b2)]>0x0)return _0xcddd24;function _0x407a5d(_0x27072b,_0x383fe4,_0x123db4,_0x36cb21){return _0xe18bb0(_0x27072b,_0x36cb21-0xc7,_0x123db4-0x82,_0x36cb21-_0x3d4b2d._0x51a6eb);}return JSON['stringify'](_0x4dad72,null,0x2);}function createMcpTool(_0x27a6ac){const _0x19aa9d={_0xef2f7d:0x195,_0x261ef6:0x2ff,_0xe4a7bb:0x1c2,_0xf77e95:0x19,_0x44f168:0x101,_0x3b3653:0x111,_0x26570a:0x308,_0x3f9e8e:0x441,_0x12f98b:0x504,_0x2a5d43:0x59e,_0x393369:0x441,_0x34ed26:0x331,_0x521bd3:0x408,_0x3fdcac:0x1d2,_0x2ecd53:0x240,_0x5e40f8:0x337,_0x2e5bee:0x1c2,_0x58716e:0x25,_0xb326c9:0x314,_0x23af96:0x466,_0x2a5f7e:0x2f0,_0xd89c93:0x2de,_0x265536:0x4ee,_0x4209d7:0xe9,_0x42fde5:0x33b,_0x4e7584:0xf},_0x115f6b={_0x4f5185:0x5a3,_0x171ca7:0x463,_0x2cfe97:0x137,_0x30440c:0x203,_0x45844f:0xf1,_0x33e7a9:0x23d,_0x3bd4e2:0x3ce,_0x1f2dcd:0x1c1,_0x171767:0x3a6,_0x238102:0x391,_0xd07a7b:0x404,_0x568489:0x858,_0x5af104:0x937,_0x348677:0x862,_0x24294a:0x906,_0x51a73f:0x84b,_0x5ef5a3:0x5c7,_0x2089cc:0x601,_0x281f7d:0x404,_0x469364:0x2cb,_0x41f65b:0xac,_0x12e564:0x278},_0x4fdb8d={_0x140189:0x18d},_0x26744c={_0xd3f58e:0xb},_0x2a637d={_0x33b4d2:0x1cc},_0x3afcc2={_0x58e61a:0x2d};function _0x25ee8d(_0x552b7d,_0x38daa6,_0x41e834,_0x4ceaa5){return _0xe18bb0(_0x552b7d,_0x4ceaa5-0x342,_0x41e834-_0x3afcc2._0x58e61a,_0x4ceaa5-0x109);}const _0x1e936c=createMcpToolName(_0x27a6ac[_0x8d13a(0x321,0x34e,0x434,_0x19aa9d._0xef2f7d)],_0x27a6ac[_0x8d13a(_0x19aa9d._0x261ef6,_0x19aa9d._0xe4a7bb,0x2eb,-_0x19aa9d._0xf77e95)]['name']);function _0x8d13a(_0x11b75a,_0x3232ad,_0x1be807,_0x388215){return _0x47b891(_0x1be807,_0x3232ad- -0x382,_0x1be807-0x13c,_0x388215-_0x2a637d._0x33b4d2);}return defineTool({'name':_0x1e936c,'permissionClass':_0x27a6ac[_0x8d13a(0x237,0xa5,_0x19aa9d._0x44f168,-_0x19aa9d._0x3b3653)],..._0x27a6ac[_0x25ee8d(0x5be,_0x19aa9d._0x26570a,0x390,_0x19aa9d._0x3f9e8e)]!==void 0x0?{'internalLifecycle':_0x27a6ac[_0x25ee8d(_0x19aa9d._0x12f98b,0x314,_0x19aa9d._0x2a5d43,_0x19aa9d._0x393369)]}:{},'description':_0x27a6ac['tool'][_0x25ee8d(_0x19aa9d._0x34ed26,_0x19aa9d._0x521bd3,_0x19aa9d._0x3fdcac,_0x19aa9d._0x2ecd53)]??'MCP\x20tool\x20'+_0x27a6ac[_0x8d13a(_0x19aa9d._0x5e40f8,_0x19aa9d._0x2e5bee,0xc9,_0x19aa9d._0x58716e)]['name']+_0x25ee8d(0x3fd,_0x19aa9d._0xb326c9,0x439,_0x19aa9d._0x23af96)+_0x27a6ac[_0x8d13a(_0x19aa9d._0x2a5f7e,0x34e,_0x19aa9d._0xd89c93,_0x19aa9d._0x265536)],'inputSchema':toNuvinToolSchema(_0x27a6ac[_0x8d13a(_0x19aa9d._0x4209d7,_0x19aa9d._0xe4a7bb,_0x19aa9d._0x42fde5,-_0x19aa9d._0x4e7584)][_0x8d13a(-0x143,0x8d,-0x14a,0x170)]),async *'execute'(_0xca1c45){let _0x45187e;function _0x1c3567(_0x3614c3,_0x3406bc,_0x57588b,_0x212403){return _0x25ee8d(_0x57588b,_0x3406bc-_0x26744c._0xd3f58e,_0x57588b-0x4d,_0x212403-0x2fb);}try{_0x45187e=await _0x27a6ac[_0x117bd8(0x5cd,0x282,_0x115f6b._0x4f5185,_0x115f6b._0x171ca7)][_0x117bd8(_0x115f6b._0x2cfe97,0x1e0,_0x115f6b._0x30440c,_0x115f6b._0x45844f)]({'name':_0x27a6ac[_0x1c3567(0x819,0x54e,0x577,0x6f0)]['name'],'arguments':isJsonObject(_0xca1c45)?_0xca1c45:{}});if(_0x45187e[_0x117bd8(0x1be,_0x115f6b._0x33e7a9,_0x115f6b._0x3bd4e2,_0x115f6b._0x1f2dcd)])throw toMcpSafeError({'serverName':_0x27a6ac[_0x117bd8(_0x115f6b._0x171767,0x2af,_0x115f6b._0x238102,_0x115f6b._0xd07a7b)],'operation':_0x1c3567(_0x115f6b._0x568489,0x80b,_0x115f6b._0x5af104,0x7e5),'error':_0x45187e});}catch(_0x506a46){throw extractOwnedMcpSafeError(_0x506a46)??toMcpSafeError({'serverName':_0x27a6ac[_0x1c3567(_0x115f6b._0x348677,0x6da,0x7bf,0x87c)],'operation':_0x1c3567(0x86c,_0x115f6b._0x24294a,_0x115f6b._0x51a73f,0x7e5),'error':_0x506a46});}function _0x117bd8(_0x295414,_0x1c2d9c,_0x5c4f8d,_0x122946){return _0x25ee8d(_0x295414,_0x1c2d9c-0xc5,_0x5c4f8d-_0x4fdb8d._0x140189,_0x122946- -0x17d);}return yield createToolOutput(formatMcpContent(_0x45187e),{'serverName':_0x27a6ac[_0x117bd8(0x5d2,_0x115f6b._0x5ef5a3,_0x115f6b._0x2089cc,_0x115f6b._0x281f7d)],'toolName':_0x27a6ac[_0x117bd8(_0x115f6b._0x469364,0x1c3,_0x115f6b._0x41f65b,_0x115f6b._0x12e564)]['name'],'result':_0x45187e}),void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x5bb876){let _0x3b8edf=_0x5bb876;return{'get'(){return _0x3b8edf;},'set'(_0x37cecc){_0x3b8edf=_0x37cecc;}};}function resolveMcpTimeoutMs(_0x5d9913,_0x3f1bbf){const _0x165846={_0x3ca6b1:0x353,_0x54c592:0x54a,_0x357c42:0x45c},_0x11fc6b={_0x380db5:0x355,_0x2e9dec:0x1be};function _0x41a4e4(_0x410926,_0x3454bd,_0x28edb0,_0x1394d5){return _0xe18bb0(_0x410926,_0x1394d5-_0x11fc6b._0x380db5,_0x28edb0-0x1a6,_0x1394d5-_0x11fc6b._0x2e9dec);}return _0x5d9913[_0x41a4e4(0x2ac,_0x165846._0x3ca6b1,_0x165846._0x54c592,_0x165846._0x357c42)]??_0x3f1bbf??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x304725,_0x4a792d){const _0x4e43eb={_0x22e874:0x17a},_0x5e4b5={_0x5c8d82:0x15,_0x14aef5:0x182};function _0x42d46b(_0x117298,_0x1d6e06,_0x23df44,_0x5a7a3a){return _0x47b891(_0x117298,_0x23df44- -0x23d,_0x23df44-_0x5e4b5._0x5c8d82,_0x5a7a3a-_0x5e4b5._0x14aef5);}return(_0x4a792d?extractOwnedMcpSafeError(_0x304725[_0x42d46b(-0x39,0x147,_0x4e43eb._0x22e874,0xe7)]):void 0x0)??createOwnedMcpSafeError(_0x304725);}function createMcpGenerationLifecycle(_0x4c8f83){const _0xa984be={_0x19322f:0x134,_0x514741:0xb4,_0xd2b7a4:0x1f4,_0x2342b3:0x106,_0x35c073:0x68,_0x52b1f0:0x27c,_0x4c622b:0x166,_0x2a14d1:0x17d},_0x35ef84={_0x37905a:0x325},_0x3107bb={_0x5187a7:0x385};let _0x532dfa=0x0,_0x3616dd=![],_0x41210c=![],_0x494310,_0x35cf2e,_0x283f56;const _0x2f8ef4=()=>{if(!_0x3616dd||_0x532dfa!==0x0||_0x41210c)return;_0x41210c=!![];function _0x347080(_0x5db7a6,_0x48b498,_0x33ee9d,_0x35ad7d){return _0x678a(_0x48b498- -_0x3107bb._0x5187a7,_0x35ad7d);}function _0x3cb3dc(_0xe75bc7,_0x171a94,_0x4df3ce,_0xf5e026){return _0x678a(_0xe75bc7- -_0x35ef84._0x37905a,_0x171a94);}void Promise[_0x347080(-0x142,-_0xa984be._0x19322f,_0xa984be._0x514741,-_0xa984be._0xd2b7a4)]()[_0x347080(-0xe0,_0xa984be._0x2342b3,-_0xa984be._0x35c073,_0xa984be._0x52b1f0)](_0x4c8f83)[_0x3cb3dc(_0xa984be._0x4c622b,0x31,_0xa984be._0x2a14d1,0x1b3)](_0x35cf2e,_0x283f56);};return{'acquire'(){if(_0x3616dd)throw new Error('Cannot\x20acquire\x20a\x20retired\x20MCP\x20connection\x20generation');_0x532dfa+=0x1;let _0x2da4c3=![];return()=>{if(_0x2da4c3)return;_0x2da4c3=!![],_0x532dfa-=0x1,_0x2f8ef4();};},'retire'(){return!_0x494310&&(_0x494310=new Promise((_0x47df11,_0x2688c2)=>{_0x35cf2e=_0x47df11,_0x283f56=_0x2688c2;})),_0x3616dd=!![],_0x2f8ef4(),_0x494310;}};}function buildMcpHttpHeaders(_0x5e789a){const _0x395092={_0xef6caa:0x4d2,_0x1c2c2c:0x73f,_0x11cc74:0x72f,_0x2f8aa9:0x0,_0x472483:0x97,_0x1db694:0x11d,_0x1163d9:0x352,_0x5c7b5f:0x36a,_0x41e1ec:0x296,_0x33f564:0x4bd,_0x455da6:0x2e4,_0x17d83e:0x446,_0x13b4a8:0x32e,_0x50bae8:0x3d,_0x47adc0:0x240,_0x52444c:0x583,_0xe79212:0x5ba,_0x3aec33:0x530,_0x5b4941:0x112,_0x3e67f6:0x4ab,_0x2b09d3:0x300,_0x120909:0x610},_0x3745fd={_0x4848a7:0x304},_0x4fd74e={_0x8da234:0x35f},_0x286bf1={..._0x5e789a['headers']??{}};function _0x20ec5c(_0x50a10b,_0x2326d4,_0x3e6d91,_0x34f4a2){return _0x47b891(_0x3e6d91,_0x34f4a2- -_0x4fd74e._0x8da234,_0x3e6d91-0xcf,_0x34f4a2-0x16d);}_0x5e789a[_0x268c7d(0x352,0x501,0x34b,_0x395092._0xef6caa)]?.[_0x268c7d(0x5a9,_0x395092._0x1c2c2c,_0x395092._0x11cc74,0x420)]===_0x20ec5c(_0x395092._0x2f8aa9,-_0x395092._0x472483,-0xa1,_0x395092._0x1db694)&&_0x5e789a[_0x268c7d(_0x395092._0x1163d9,_0x395092._0x5c7b5f,_0x395092._0x41e1ec,_0x395092._0x33f564)][_0x268c7d(_0x395092._0x455da6,_0x395092._0x17d83e,0x476,_0x395092._0x13b4a8)]&&_0x286bf1[_0x20ec5c(0x259,-0x72,-0x63,0x60)]===void 0x0&&(_0x286bf1[_0x20ec5c(_0x395092._0x50bae8,_0x395092._0x47adc0,0xcd,0x60)]=_0x268c7d(_0x395092._0x52444c,_0x395092._0xe79212,0x63f,0x742)+_0x5e789a[_0x268c7d(0x352,0x457,_0x395092._0x3aec33,0x32c)][_0x20ec5c(0x2cc,0x2be,0x262,_0x395092._0x5b4941)]);function _0x268c7d(_0x2fbdda,_0x53aa5a,_0x396ce1,_0xbf1fc0){return _0xe18bb0(_0xbf1fc0,_0x2fbdda-_0x3745fd._0x4848a7,_0x396ce1-0xa2,_0xbf1fc0-0x67);}return Object['keys'](_0x286bf1)[_0x268c7d(_0x395092._0x3e67f6,_0x395092._0x2b09d3,_0x395092._0x120909,0x2cd)]>0x0?_0x286bf1:void 0x0;}async function connectMcpServer(_0x4d7ff3,_0x48bfb6,_0x1fb782){const _0x7a00c={_0x59ffc2:0x666,_0x13c224:0x585,_0x42913b:0x8b7,_0x5de15e:0x61f,_0x28d08b:0x683,_0x437d12:0x71f,_0x324369:0x73d,_0x5063ea:0x758,_0x2b60a5:0x558,_0x3654b2:0x893,_0x11bb02:0x79d,_0x5e4c7f:0x7c9,_0x29d402:0x64f,_0x45c23c:0x7d2,_0x44838e:0x842,_0x5d3c3f:0x727,_0x304f3f:0x6ba,_0x3496b4:0x84d,_0x55f03d:0x472,_0x28fb91:0x824,_0x305a98:0x515,_0x2079c5:0x4a4,_0x452f91:0x482,_0x2417c0:0x4de,_0x1a7a9b:0x6c6,_0x316590:0x4f6,_0xfa4367:0x6c1,_0x56032c:0x7b5,_0x1c2659:0x37f,_0x3b21ae:0x6be,_0x3709a:0x54b,_0x3039ac:0x618,_0x360453:0x859,_0x433a34:0x6d7,_0xa646cf:0x3c4,_0x33dc49:0x641,_0x1abf1f:0x6d0,_0x405b73:0x5da,_0x51c2fe:0x69e,_0x4343ab:0x884,_0x5f2773:0x622,_0x4e3dcc:0x7f2,_0x386930:0x6b0,_0x1e8c49:0x715,_0x7cd534:0x68c,_0x197a94:0x5f8,_0x578782:0x7f7,_0x2dfe65:0x73a,_0x103afc:0x61a,_0x2f7503:0x724,_0x181a02:0x7c9,_0x9095a7:0x4c8,_0x1f15c2:0x52c,_0x20760e:0x59a,_0x4add4d:0x63c,_0x5bc772:0x466,_0xdf561b:0x6a1,_0x1bb254:0x5c2},_0xf670e9={_0x11dd47:0x1bf,_0x14bfe0:0xa5,_0x1ddd2d:0x280,_0x415a5b:0x3c6,_0x45753a:0x2e9,_0x311730:0x29a,_0x37235f:0x2ae},_0x2a014d={_0x22eb27:0x190},_0xac473f={_0x1ad298:0x14c,_0x20fa58:0x39d},_0x71fe4={_0x1e9894:0xa69,_0x3255e1:0x938,_0x573df8:0x8a3,_0x3d7e25:0xd6,_0x3ba48c:0x49,_0x3a337f:0xc1,_0x27450c:0x1e2,_0x399627:0x148},_0x236941={_0x33f52e:0x7d5,_0x821d05:0x5ca},_0x1ff13d={_0x311d8:0x6a,_0x3d415:0xb8},_0x111479={_0x4420e5:0x653,_0x25a1a0:0x5c9,_0x1cd9eb:0x77a},_0x27e538={_0x2bc8b0:0x4eb,_0x5cf07d:0x573,_0x5cb127:0x6a7,_0x3d54e5:0x6f0,_0x398587:0x96,_0x1caff1:0xea,_0x3b9e63:0xd3,_0x2721ab:0x1be},_0x2338cf={_0x2c3cdd:0x202},_0x110723={_0x105804:0x13d},_0x3ec8d5={_0x2b31af:0x1ea},_0x45fdd4={_0x5bddf6:0x417,_0x418fab:0x8e1,_0x40dea7:0x6b2,_0x4a0839:0x423,_0x30d5d1:0x5e9,_0x13d2dd:0x553},_0x495100={_0x559282:0x712},_0x19a7d7=new Client({'name':_0x52e70b(0x529,_0x7a00c._0x59ffc2,_0x7a00c._0x13c224,0x6b9),'version':_0x52e70b(_0x7a00c._0x42913b,0x750,_0x7a00c._0x5de15e,_0x7a00c._0x28d08b)}),_0x3d5915=_0x1fb782?.['timeoutSource']??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x3b5741=new Set();let _0x245b4d,_0x36d87e=![];const _0x58f008=()=>{const _0x21dabf={_0x387a4f:0x135};function _0x1a2bae(_0x484a10,_0x5a72af,_0x137e03,_0x153166){return _0x5838d0(_0x484a10-0x17c,_0x5a72af-0x32,_0x137e03- -_0x21dabf._0x387a4f,_0x484a10);}if(_0x36d87e||_0x245b4d)return;_0x245b4d={'code':'mcp-transport-error','cause':new Error(_0x1a2bae(0x780,_0x495100._0x559282,0x5e3,0x528))};for(const _0x556d18 of _0x3b5741){try{_0x556d18(_0x245b4d);}catch{}}};_0x19a7d7[_0x52e70b(0x73c,_0x7a00c._0x437d12,0x762,0x623)]=()=>{const _0x11e09f={_0x5a0bf4:0x11b,_0xb4bd78:0x6f};function _0x50f8e8(_0x3c15c3,_0xc99748,_0x4217eb,_0x22ed3d){return _0x5838d0(_0x3c15c3-0x178,_0xc99748-0x110,_0x3c15c3- -0x2bc,_0xc99748);}function _0x1fd543(_0x13954f,_0x547268,_0xd12bf,_0x57a531){return _0x5838d0(_0x13954f-_0x11e09f._0x5a0bf4,_0x547268-0xde,_0x57a531-_0x11e09f._0xb4bd78,_0xd12bf);}console[_0x1fd543(_0x45fdd4._0x5bddf6,0x43b,0x60c,0x536)](_0x1fd543(0x88a,_0x45fdd4._0x418fab,_0x45fdd4._0x40dea7,0x748),{'server':_0x4d7ff3,'code':_0x1fd543(0x4a7,_0x45fdd4._0x4a0839,_0x45fdd4._0x30d5d1,_0x45fdd4._0x13d2dd)});};function _0x5838d0(_0x416762,_0x140266,_0x3aa3ff,_0x12a625){return _0xe18bb0(_0x12a625,_0x3aa3ff-0x490,_0x3aa3ff-_0x3ec8d5._0x2b31af,_0x12a625-0x1b2);}_0x19a7d7['onclose']=_0x58f008;try{if(_0x48bfb6['transport']==='http'||_0x48bfb6[_0x52e70b(_0x7a00c._0x324369,_0x7a00c._0x5063ea,_0x7a00c._0x2b60a5,_0x7a00c._0x3654b2)]){if(!_0x48bfb6[_0x52e70b(0x86d,0x758,_0x7a00c._0x11bb02,0x563)])throw new Error(_0x5838d0(_0x7a00c._0x5e4c7f,0x5b6,_0x7a00c._0x29d402,_0x7a00c._0x45c23c)+_0x4d7ff3+_0x5838d0(_0x7a00c._0x44838e,_0x7a00c._0x5d3c3f,0x669,0x763));if(_0x48bfb6['auth']?.[_0x52e70b(_0x7a00c._0x304f3f,0x7e3,0x66c,_0x7a00c._0x3496b4)]===_0x5838d0(0x7f4,_0x7a00c._0x55f03d,0x618,0x6fb)&&!_0x1fb782?.[_0x52e70b(_0x7a00c._0x28fb91,0x6c6,_0x7a00c._0x305a98,0x5c6)])throw new Error('MCP\x20server\x20'+_0x4d7ff3+'\x20requires\x20OAuth\x20connection\x20options');const _0x17499d=buildMcpHttpHeaders(_0x48bfb6),_0x399430=_0x48bfb6[_0x5838d0(_0x7a00c._0x2079c5,_0x7a00c._0x452f91,_0x7a00c._0x2417c0,0x455)]?.['type']===_0x52e70b(0x707,_0x7a00c._0x1a7a9b,0x732,_0x7a00c._0x316590)&&_0x1fb782?.[_0x5838d0(_0x7a00c._0xfa4367,0x571,0x618,_0x7a00c._0x56032c)]?createMcpOAuthProvider({'serverName':_0x4d7ff3,'callbackUrl':_0x1fb782['oauth'][_0x52e70b(_0x7a00c._0x1c2659,0x519,0x3b5,_0x7a00c._0x3b21ae)],'storageDir':_0x1fb782[_0x5838d0(_0x7a00c._0x3709a,0x824,_0x7a00c._0x3039ac,0x55c)][_0x52e70b(_0x7a00c._0x360453,0x68f,_0x7a00c._0x5e4c7f,_0x7a00c._0x433a34)],'config':_0x48bfb6[_0x52e70b(0x4f8,0x58c,_0x7a00c._0xa646cf,0x521)],'onRedirect':_0x3ffcdc=>_0x1fb782['oauth']?.[_0x5838d0(0x70a,0x4eb,0x565,0x44c)](_0x4d7ff3,_0x3ffcdc)}):void 0x0,_0x53ef75=new StreamableHTTPClientTransport(new URL(_0x48bfb6['url']),{'authProvider':_0x399430,'requestInit':_0x17499d?{'headers':_0x17499d}:void 0x0});await _0x19a7d7[_0x5838d0(0x5a0,0x6eb,_0x7a00c._0x33dc49,_0x7a00c._0x1abf1f)](_0x53ef75,{'timeout':_0x3d5915[_0x52e70b(0x74a,_0x7a00c._0x405b73,0x4ca,0x756)](),..._0x1fb782?.['signal']!==void 0x0?{'signal':_0x1fb782[_0x5838d0(0x804,0x4b2,0x63c,0x704)]}:{}});}else{if(!_0x48bfb6[_0x5838d0(_0x7a00c._0x51c2fe,0x5ff,0x764,_0x7a00c._0x4343ab)])throw new Error('MCP\x20server\x20'+_0x4d7ff3+_0x52e70b(_0x7a00c._0x5f2773,_0x7a00c._0x4e3dcc,_0x7a00c._0x386930,_0x7a00c._0x1e8c49));const _0x2922f1=new StdioClientTransport({'command':_0x48bfb6[_0x52e70b(0x9ca,0x812,0x9fa,_0x7a00c._0x7cd534)],'args':_0x48bfb6['args']??[],'env':_0x48bfb6[_0x5838d0(0x4dd,0x6bb,_0x7a00c._0x197a94,_0x7a00c._0x578782)],'stderr':_0x5838d0(0x76c,_0x7a00c._0x2dfe65,_0x7a00c._0x103afc,0x4c2)});await _0x19a7d7[_0x52e70b(0x5c9,0x6ef,_0x7a00c._0x2f7503,_0x7a00c._0x181a02)](_0x2922f1,{'timeout':_0x3d5915[_0x5838d0(_0x7a00c._0x9095a7,0x625,_0x7a00c._0x1f15c2,0x70d)](),..._0x1fb782?.['signal']!==void 0x0?{'signal':_0x1fb782[_0x5838d0(_0x7a00c._0x20760e,0x517,_0x7a00c._0x4add4d,0x5b1)]}:{}});}}catch(_0x3bcd6e){throw createOwnedMcpSafeError({'serverName':_0x4d7ff3,'operation':_0x5838d0(_0x7a00c._0x5bc772,_0x7a00c._0xdf561b,0x641,_0x7a00c._0x1bb254),'error':_0x3bcd6e});}function _0x52e70b(_0x3ce02c,_0x50cea6,_0x272db1,_0x7e3975){return _0x47b891(_0x272db1,_0x50cea6-0xad,_0x272db1-_0x110723._0x105804,_0x7e3975-0x151);}return{async 'listTools'(_0x54a161){const _0x58aba3={_0x2701bb:0x66,_0x2bb863:0x613,_0x27f670:0x2b};function _0x23a119(_0x33d021,_0xce877f,_0x4ea98c,_0x112557){return _0x52e70b(_0x33d021-_0x58aba3._0x2701bb,_0x4ea98c- -_0x58aba3._0x2bb863,_0x33d021,_0x112557-_0x58aba3._0x27f670);}const _0x292886=_0x54a161?.[_0x26cfce(_0x27e538._0x2bc8b0,_0x27e538._0x5cf07d,0x4e8,_0x27e538._0x5cb127)]??_0x1fb782?.[_0x26cfce(_0x27e538._0x3d54e5,0x45f,0x4e8,0x4eb)];function _0x26cfce(_0x2c514d,_0x1c0221,_0x205376,_0x463872){return _0x52e70b(_0x2c514d-0x11a,_0x205376- -_0x2338cf._0x2c3cdd,_0x1c0221,_0x463872-0x80);}try{return await _0x19a7d7[_0x23a119(0x7b,_0x27e538._0x398587,0x111,0x253)](void 0x0,{'timeout':_0x3d5915[_0x23a119(-0x1ce,_0x27e538._0x1caff1,-0x39,_0x27e538._0x3b9e63)](),..._0x292886!==void 0x0?{'signal':_0x292886}:{}});}catch(_0x463542){throw createOwnedMcpSafeError({'serverName':_0x4d7ff3,'operation':_0x23a119(-_0x27e538._0x2721ab,-0x1d9,-0x1b8,0x34),'error':_0x463542});}},'onTerminalError'(_0x10b695){const _0x3f51ed={_0x2114be:0xc1,_0x4ebf14:0x609,_0x562bc5:0xbd},_0x280db4={_0x484a03:0xad};_0x3b5741[_0x5261f5(0x654,_0x236941._0x33f52e,0x7bf,_0x236941._0x821d05)](_0x10b695);const _0x346fdb=_0x245b4d;_0x346fdb&&queueMicrotask(()=>{function _0x2c7747(_0x403d08,_0xcef749,_0x1479ae,_0xc78b2c){return _0x5261f5(_0x403d08-_0x280db4._0x484a03,_0x403d08- -0x162,_0xcef749,_0xc78b2c-0x1b7);}if(_0x3b5741[_0x2c7747(_0x111479._0x4420e5,_0x111479._0x25a1a0,0x5f5,_0x111479._0x1cd9eb)](_0x10b695))_0x10b695(_0x346fdb);});function _0x54b03f(_0xa6ccbc,_0x47f723,_0x5e9532,_0x548db1){return _0x52e70b(_0xa6ccbc-_0x3f51ed._0x2114be,_0x548db1- -_0x3f51ed._0x4ebf14,_0x5e9532,_0x548db1-_0x3f51ed._0x562bc5);}function _0x5261f5(_0x47a804,_0x143145,_0x307209,_0x1af42){return _0x5838d0(_0x47a804-_0x1ff13d._0x311d8,_0x143145-0x18e,_0x143145-_0x1ff13d._0x3d415,_0x307209);}return()=>_0x3b5741[_0x5261f5(0x831,0x695,0x69e,0x53d)](_0x10b695);},async 'callTool'(_0xaf3e64){const _0x1d526d={_0xb2f89f:0x17e,_0x3dd67f:0x132,_0x300d26:0x161},_0x11dd65={_0x5d74f5:0xbd,_0x326a98:0x456};function _0x127aeb(_0x188d15,_0x141533,_0x2b54ee,_0x3748c4){return _0x5838d0(_0x188d15-0x1ae,_0x141533-_0x11dd65._0x5d74f5,_0x141533- -_0x11dd65._0x326a98,_0x3748c4);}function _0x4bdd63(_0x52f664,_0x567864,_0x2767f6,_0xa6a3f2){return _0x5838d0(_0x52f664-_0x1d526d._0xb2f89f,_0x567864-_0x1d526d._0x3dd67f,_0x52f664-_0x1d526d._0x300d26,_0x567864);}try{return await _0x19a7d7[_0x4bdd63(0x885,_0x71fe4._0x1e9894,0x7e6,_0x71fe4._0x3255e1)]({'method':_0x4bdd63(_0x71fe4._0x573df8,0x97f,0x83b,0x88a),'params':_0xaf3e64},CallToolResultSchema,{'timeout':_0x3d5915[_0x127aeb(-0xc6,_0x71fe4._0x3d7e25,_0x71fe4._0x3ba48c,0x10b)]()});}catch(_0xaf585c){throw createOwnedMcpSafeError({'serverName':_0x4d7ff3,'operation':_0x127aeb(_0x71fe4._0x3a337f,_0x71fe4._0x27450c,0xc3,_0x71fe4._0x399627),'error':_0xaf585c});}},async 'close'(){_0x36d87e=!![],_0x19a7d7['onerror']=void 0x0,_0x19a7d7[_0x69adc2(-0x21,-0xd,_0xf670e9._0x11dd47,_0xf670e9._0x14bfe0)]=void 0x0;function _0x69adc2(_0x1f7433,_0x359ff5,_0xcad6bd,_0x1c653e){return _0x5838d0(_0x1f7433-_0xac473f._0x1ad298,_0x359ff5-0x76,_0x1f7433- -_0xac473f._0x20fa58,_0x359ff5);}function _0x424b95(_0x4244b3,_0x2086b5,_0x540106,_0x48b6df){return _0x5838d0(_0x4244b3-0xf1,_0x2086b5-0x13a,_0x4244b3- -_0x2a014d._0x22eb27,_0x540106);}_0x3b5741[_0x424b95(_0xf670e9._0x1ddd2d,_0xf670e9._0x415a5b,_0xf670e9._0x45753a,_0xf670e9._0x311730)]();try{await _0x19a7d7[_0x69adc2(0x1ac,0x159,_0xf670e9._0x37235f,-0x10)]();}catch(_0x7b105c){throw createOwnedMcpSafeError({'serverName':_0x4d7ff3,'operation':_0x69adc2(0x1ac,0x89,-0x4a,0x32a),'error':_0x7b105c});}}};}async function createMcpConnectionGeneration(_0x186e33){const _0x372c47={_0x45c74d:0x51e,_0x12b55d:0x387,_0x53e489:0x7f3,_0x2303c5:0x848,_0x13c7f7:0x9fd,_0x30f736:0x9ed,_0x1d5224:0xce,_0x57d5c5:0x102,_0x4a5376:0x78d,_0x4a5fa0:0x7d8,_0x27179d:0x415,_0x2a3bcd:0x23c,_0x117d59:0x6f2,_0x511d1b:0x7fa,_0x122d28:0x897,_0x1a1ee2:0x287,_0x1f0697:0x3bc,_0x154c67:0x50f,_0x161c8b:0x382,_0x69aada:0x448,_0x19761d:0x2b4,_0x42f8d1:0xe0,_0x2201ea:0x248,_0x2b89b8:0x28f,_0x42a587:0x368,_0x5e919d:0x4e1,_0x4c8ffd:0x351},_0x120b8e={_0x16cfc8:0x4fd,_0xc17c8c:0x6d8,_0x5d1e74:0x555,_0x52c1c7:0x53e},_0x554aae={_0x1c5d2a:0xc2},_0x46ac89={_0x3abd60:0x703,_0x3d66e6:0x5a7,_0x3109f4:0x572},_0x12789e={_0x2ad3fb:0x1b4,_0x41b15d:0x2e2,_0x2e4b9d:0x18c},_0x170f6f={_0x37a9ff:0x1a7,_0x5d86de:0x7},_0x124745={_0x5724fb:0x277,_0x33bc81:0xba,_0x2b6ee4:0xe9},_0x22f580={_0x5a65be:0x619},_0x2bc15d={_0x55ad8a:0x259},_0x1498bb={_0x1d8004:0x20e,_0x382541:0x384,_0x5ddce6:0x521,_0x4a371c:0x68a},_0x833ed6={_0x2a6890:0x167,_0x39d597:0x37,_0x1fd34e:0x77},_0x329085={_0x485a70:0x8c,_0x9a1bae:0x85},_0x4c9ee8={_0x3e7de7:0x1b8},_0x5b0844=_0x186e33[_0x47e848(_0x372c47._0x45c74d,0x25e,_0x372c47._0x12b55d,0x45e)]??connectMcpServer,_0x2d16a9=_0x186e33[_0x2cc3f2(_0x372c47._0x53e489,_0x372c47._0x2303c5,0x7fa,0x96f)]===void 0x0,_0x26ade7={..._0x186e33[_0x2cc3f2(_0x372c47._0x13c7f7,0x98b,0x92c,_0x372c47._0x30f736)],'timeoutSource':_0x186e33[_0x47e848(-0xa3,-0xd0,_0x372c47._0x1d5224,-_0x372c47._0x57d5c5)],..._0x186e33['signal']!==void 0x0?{'signal':_0x186e33['signal']}:{}};let _0x5ac1d3;try{_0x5ac1d3=await _0x5b0844(_0x186e33[_0x2cc3f2(0x8fe,0xa2c,0x888,_0x372c47._0x4a5376)],_0x186e33[_0x2cc3f2(0x881,0x887,0x776,_0x372c47._0x4a5fa0)],_0x26ade7);}catch(_0x1ff860){throw mapOwnedMcpBoundaryError({'serverName':_0x186e33[_0x47e848(0x5b7,0x594,_0x372c47._0x27179d,_0x372c47._0x2a3bcd)],'operation':_0x2cc3f2(0x7de,_0x372c47._0x117d59,_0x372c47._0x511d1b,_0x372c47._0x122d28),'error':_0x1ff860},_0x2d16a9);}const _0x5f284e=new Set();let _0x3fe687;function _0x2cc3f2(_0x484d2c,_0x587140,_0xbe7ee9,_0x4900dc){return _0x47b891(_0x587140,_0xbe7ee9-_0x4c9ee8._0x3e7de7,_0xbe7ee9-0x136,_0x4900dc-0xa5);}const _0xcb3ced=_0x5ac1d3[_0x2cc3f2(0x5f7,0x517,0x595,0x3bd)]?.(_0x4b68f0=>{if(_0x3fe687)return;_0x3fe687=_0x4b68f0;for(const _0x2810d2 of _0x5f284e)_0x2810d2(_0x4b68f0);});let _0x17a617=![];const _0x4af351=()=>{if(_0x17a617)return;_0x17a617=!![];function _0x53cc2c(_0x3f0368,_0xaee0c1,_0x36d2f6,_0x775dc0){return _0x47e848(_0x775dc0,_0xaee0c1-_0x329085._0x485a70,_0xaee0c1- -0x2bd,_0x775dc0-_0x329085._0x9a1bae);}_0x5f284e[_0x53cc2c(-0x67,-_0x833ed6._0x2a6890,-_0x833ed6._0x39d597,_0x833ed6._0x1fd34e)](),_0xcb3ced?.();};let _0x195659;try{_0x195659=await _0x5ac1d3[_0x47e848(_0x372c47._0x1a1ee2,0x3a7,_0x372c47._0x1f0697,0x45b)](_0x186e33[_0x47e848(0x3be,_0x372c47._0x154c67,_0x372c47._0x161c8b,0x2bf)]!==void 0x0?{'signal':_0x186e33['signal']}:void 0x0);}catch(_0x3e3c49){const _0x4a7633=mapOwnedMcpBoundaryError({'serverName':_0x186e33[_0x47e848(0x41e,_0x372c47._0x69aada,0x415,_0x372c47._0x19761d)],'operation':'discover','error':_0x3e3c49},_0x2d16a9);_0x4af351();try{await _0x5ac1d3[_0x47e848(_0x372c47._0x42f8d1,_0x372c47._0x2201ea,_0x372c47._0x2b89b8,0x1a5)]();}catch{}throw _0x4a7633;}const _0x43b743=[..._0x195659[_0x47e848(_0x372c47._0x42a587,0x44a,_0x372c47._0x5e919d,_0x372c47._0x4c8ffd)]],_0x1cfe8e={async 'callTool'(_0x280173){const _0x5d985c={_0x36ebf1:0xa5,_0x13a476:0x1e5},_0x5895ff={_0x1457cf:0x10f,_0x402d2a:0x450,_0x426c44:0x1cd};function _0x2bb4cd(_0x139f69,_0x55ae82,_0x3b8cf7,_0x38a012){return _0x47e848(_0x38a012,_0x55ae82-_0x5895ff._0x1457cf,_0x139f69-_0x5895ff._0x402d2a,_0x38a012-_0x5895ff._0x426c44);}function _0xe5e32c(_0x2b66d9,_0x4e983a,_0x3acf83,_0x283253){return _0x2cc3f2(_0x2b66d9-_0x5d985c._0x36ebf1,_0x3acf83,_0x4e983a- -0x367,_0x283253-_0x5d985c._0x13a476);}try{return await _0x5ac1d3[_0xe5e32c(0x3a0,_0x1498bb._0x1d8004,0x169,0x1b8)](_0x280173);}catch(_0x377b9b){throw mapOwnedMcpBoundaryError({'serverName':_0x186e33[_0xe5e32c(_0x1498bb._0x382541,_0x1498bb._0x5ddce6,_0x1498bb._0x4a371c,0x486)],'operation':'toolCall','error':_0x377b9b},_0x2d16a9);}}},_0x130584=createMcpGenerationLifecycle(async()=>{function _0x338e1e(_0x414d03,_0x3b3dd8,_0x455b60,_0x4178de){return _0x47e848(_0x414d03,_0x3b3dd8-0x1bf,_0x4178de- -_0x2bc15d._0x55ad8a,_0x4178de-0x1ed);}function _0x523434(_0x1a24da,_0x1dae0c,_0x342740,_0x4c4293){return _0x2cc3f2(_0x1a24da-0x140,_0x4c4293,_0x1dae0c- -_0x22f580._0x5a65be,_0x4c4293-0x111);}_0x4af351();try{await _0x5ac1d3['close']();}catch(_0x4aa907){throw mapOwnedMcpBoundaryError({'serverName':_0x186e33[_0x523434(0x2b5,0x26f,0x280,_0x124745._0x5724fb)],'operation':_0x523434(_0x124745._0x33bc81,_0x124745._0x2b6ee4,0x30,-0x11a),'error':_0x4aa907},_0x2d16a9);}});function _0x47e848(_0xc89c8a,_0x3e1c1b,_0x7d5ea6,_0x4e83fb){return _0xe18bb0(_0xc89c8a,_0x7d5ea6-0x1d6,_0x7d5ea6-_0x170f6f._0x37a9ff,_0x4e83fb-_0x170f6f._0x5d86de);}return{'client':_0x5ac1d3,'descriptors':_0x43b743,'lifecycle':_0x130584,'projectTools'(_0x56d6e8){return projectMcpTools({..._0x56d6e8,'descriptors':_0x43b743,'client':_0x1cfe8e,'lifecycle':_0x130584});},'onTerminalError'(_0x3811ff){const _0x203b5e={_0x3f1973:0x3d3},_0x27585f={_0x2fd01b:0x2,_0x286c1c:0x48},_0x1cb055={_0x4fb250:0x1bb,_0xa7a4a8:0x32f};if(_0x17a617)return()=>{};function _0x4510ff(_0xe3ea92,_0x5ac51e,_0x194d60,_0x3a302a){return _0x2cc3f2(_0xe3ea92-_0x1cb055._0x4fb250,_0x3a302a,_0x5ac51e- -_0x1cb055._0xa7a4a8,_0x3a302a-0xc);}_0x5f284e[_0x4510ff(_0x46ac89._0x3abd60,_0x46ac89._0x3d66e6,_0x46ac89._0x3109f4,0x78b)](_0x3811ff);const _0x217866=_0x3fe687;function _0x3b97ae(_0x271bce,_0x298c69,_0x52ffbd,_0x5c92a7){return _0x2cc3f2(_0x271bce-0x62,_0x271bce,_0x298c69- -_0x27585f._0x2fd01b,_0x5c92a7-_0x27585f._0x286c1c);}return _0x217866&&queueMicrotask(()=>{function _0x2a1bbf(_0x7af0be,_0x1c7dc3,_0x57d4ae,_0x209a99){return _0x4510ff(_0x7af0be-0x1e1,_0x1c7dc3- -_0x203b5e._0x3f1973,_0x57d4ae-0xde,_0x57d4ae);}if(_0x5f284e[_0x2a1bbf(0x219,_0x12789e._0x2ad3fb,_0x12789e._0x41b15d,_0x12789e._0x2e4b9d)](_0x3811ff))_0x3811ff(_0x217866);}),()=>_0x5f284e[_0x3b97ae(0x6d8,0x794,0x6fd,0x850)](_0x3811ff);},'retire'(){function _0x2fd4cb(_0x3b41f3,_0x159054,_0xed5c64,_0x4ad6ce){return _0x47e848(_0x3b41f3,_0x159054-0x34,_0xed5c64-0x460,_0x4ad6ce-_0x554aae._0x1c5d2a);}return _0x4af351(),_0x130584[_0x2fd4cb(_0x120b8e._0x16cfc8,_0x120b8e._0xc17c8c,_0x120b8e._0x5d1e74,_0x120b8e._0x52c1c7)]();}};}import{stat as _0x437b9a}from'fs/promises';import*as _0x29a601 from'path';import{execSync,spawn as _0x93d52a}from'child_process';import{existsSync}from'fs';import{stat as _0x588a43}from'fs/promises';import*as _0x11a275 from'os';import*as _0x101d6f from'path';import{rgPath as _0xa6676}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x286f8d={_0xc86ea1:0x39f,_0x2b9bfa:0x4fa,_0x52d49e:0x2a7,_0x1257e5:0x58c,_0xf480e2:0x345,_0x30a77f:0x21c,_0x2642f1:0x16b,_0x1d153e:0x14f,_0x246816:0x15a,_0x3dd07b:0x281,_0x54571e:0x132,_0x21a630:0x204,_0x13dce7:0x2ea,_0x5984bd:0x24,_0x2be7c5:0x166,_0x14ab2c:0x3d6,_0x5462a9:0x56c,_0xfcf8a5:0x34b,_0x3523f4:0x232,_0xe6413d:0x4fd,_0x32d8dd:0x4ec,_0x2eab53:0x350,_0x4b9cdb:0x44d,_0x1d97fe:0x196,_0x4b0eb2:0x16a,_0x456fa6:0x409,_0x1501e4:0x407,_0x106a5d:0x30a,_0xf687c8:0xae,_0x4b5645:0x331,_0x109ff8:0x142,_0x31b2aa:0x12c,_0x328dba:0x197,_0x199991:0x124,_0x1d6788:0x2b7,_0x231402:0x49c,_0x685e8f:0x23c,_0x50e0a9:0x4bb,_0x5dc4f9:0x31d,_0x1728a8:0x2fc,_0xec5af5:0x14d,_0x3c7e43:0x4b,_0x405b39:0x3ba,_0x1b8c54:0x2e,_0x31f044:0x15e,_0x32ab58:0x66b,_0x4b41d0:0x54f,_0x5581be:0x7d,_0x2107f8:0x153};function _0x5f5ca1(_0x41c0f8,_0x40a0b6,_0x2ca303,_0x51385a){return _0x47b891(_0x40a0b6,_0x2ca303- -0x3dd,_0x2ca303-0xa9,_0x51385a-0xcb);}function _0x1bdb18(_0x30bf02,_0x3b474b,_0x39ea53,_0x36a2d7){return _0x47b891(_0x36a2d7,_0x30bf02- -0x1d4,_0x39ea53-0x179,_0x36a2d7-0x3);}const _0x4bc76b=_0x11a275[_0x1bdb18(0x555,0x473,0x6ee,0x411)]()===_0x1bdb18(0x3ac,0x2ba,0x2e1,0x26c),_0x3cf742=_0x4bc76b?[_0x101d6f[_0x1bdb18(_0x286f8d._0xc86ea1,_0x286f8d._0x2b9bfa,_0x286f8d._0x52d49e,_0x286f8d._0x1257e5)](process[_0x5f5ca1(_0x286f8d._0xf480e2,0x1d4,_0x286f8d._0x30a77f,_0x286f8d._0x2642f1)][_0x5f5ca1(-_0x286f8d._0x1d153e,-_0x286f8d._0x246816,0x35,-0x136)]||'',_0x1bdb18(_0x286f8d._0x3dd07b,0x3eb,_0x286f8d._0x54571e,0x244),'WinGet',_0x1bdb18(_0x286f8d._0x21a630,0x3c3,_0x286f8d._0x13dce7,_0x286f8d._0x5984bd)),_0x101d6f['join'](process[_0x5f5ca1(0xea,_0x286f8d._0x2be7c5,_0x286f8d._0x30a77f,0xb2)][_0x5f5ca1(_0x286f8d._0x14ab2c,0x407,0x396,_0x286f8d._0x5462a9)]||'',_0x1bdb18(_0x286f8d._0xfcf8a5,_0x286f8d._0x3523f4,_0x286f8d._0xe6413d,0x172),_0x5f5ca1(0x251,_0x286f8d._0x32d8dd,_0x286f8d._0x2eab53,_0x286f8d._0x4b9cdb)),_0x101d6f[_0x5f5ca1(0x10d,0x363,_0x286f8d._0x1d97fe,_0x286f8d._0x4b0eb2)](process[_0x5f5ca1(_0x286f8d._0x456fa6,_0x286f8d._0x1501e4,0x21c,0x2f5)][_0x5f5ca1(_0x286f8d._0x106a5d,_0x286f8d._0xf687c8,0x126,0x270)]||'',_0x5f5ca1(-0x15,_0x286f8d._0x4b5645,_0x286f8d._0x109ff8,_0x286f8d._0x31b2aa),'rg.exe')]:[_0x5f5ca1(_0x286f8d._0x328dba,0xa5,_0x286f8d._0x199991,0x28b),_0x1bdb18(_0x286f8d._0x1d6788,_0x286f8d._0x231402,0x485,_0x286f8d._0x685e8f),'/usr/bin/rg',_0x1bdb18(_0x286f8d._0x50e0a9,_0x286f8d._0x5dc4f9,0x5b6,_0x286f8d._0x1728a8)];for(const _0x3e5cb7 of _0x3cf742){if(existsSync(_0x3e5cb7))return _0x3e5cb7;}try{const _0xa6d77a=_0x4bc76b?_0x5f5ca1(_0x286f8d._0xec5af5,0x3d8,0x223,_0x286f8d._0x3c7e43):'which\x20rg',_0x585f2f=execSync(_0xa6d77a,{'encoding':_0x1bdb18(0x4b9,_0x286f8d._0x405b39,0x41c,0x4a7),'stdio':['pipe','pipe',_0x5f5ca1(0x127,-_0x286f8d._0x1b8c54,_0x286f8d._0x31f044,0x36c)]})[_0x1bdb18(0x5b1,0x61e,_0x286f8d._0x32ab58,_0x286f8d._0x4b41d0)]()[_0x5f5ca1(-_0x286f8d._0x5581be,-_0x286f8d._0x2107f8,0x4b,-0x1aa)](/\r?\n/)[0x0];if(_0x585f2f&&existsSync(_0x585f2f))return _0x585f2f;}catch{return null;}return null;}async function filepath(){if(cachedRgPath)return cachedRgPath;if(_0xa6676&&existsSync(_0xa6676))return cachedRgPath=_0xa6676,_0xa6676;const _0x267972=findSystemRipgrep();if(!_0x267972)throw new Error('ripgrep\x20executable\x20not\x20found.\x20Install\x20rg\x20to\x20use\x20Glob\x20and\x20Grep\x20tools.');return cachedRgPath=_0x267972,_0x267972;}async function*files(_0x1efa6f){const _0x48e29a={_0x5eab9d:0x70,_0x32c067:0x287,_0x2a0d5d:0x231,_0x546843:0x1a4,_0x154351:0x3f,_0x134349:0x256,_0x39f268:0x28e,_0xfca89a:0x483,_0x388a86:0x2dc,_0x20cd91:0x89,_0x4dcbd6:0x22a,_0xddad11:0x2d0,_0xee07a0:0x2e2,_0x46721c:0x25e,_0x11cf1f:0x2d1,_0x486efe:0x43b,_0x3cd21f:0x44f,_0x574447:0x444,_0x534308:0x448,_0x3dfe01:0x5c9,_0x9ccb9a:0x390,_0x157b20:0x3c7,_0x3b09f8:0x28a,_0x4b2958:0x6bb,_0x391b94:0x1ab,_0x45f2a5:0x3d0,_0x6ccb80:0x247,_0x1201d9:0x511,_0x5dde5c:0x409},_0x331361={_0x2d8578:0x2ba,_0x2267f9:0x5d,_0xc92899:0x1d2},_0x3c4bc1=await filepath(),_0x3b33fe=await _0x588a43(_0x1efa6f[_0x5d1612(0x390,0x18a,0x2a7,0x9e)])[_0x5d1612(0x389,0x267,0x389,_0x48e29a._0x5eab9d)](()=>null);function _0xa823d8(_0x585ba1,_0x5bfe7f,_0x56e86f,_0x4da3c7){return _0xe18bb0(_0x5bfe7f,_0x585ba1-_0x331361._0x2d8578,_0x56e86f-_0x331361._0x2267f9,_0x4da3c7-_0x331361._0xc92899);}if(!_0x3b33fe?.['isDirectory']())throw Object[_0x5d1612(0x3da,0x34a,0x3f9,0x3b4)](new Error(_0x5d1612(0x5c2,0x42a,0x3be,_0x48e29a._0x32c067)+_0x1efa6f[_0xa823d8(0x230,_0x48e29a._0x2a0d5d,_0x48e29a._0x546843,_0x48e29a._0x154351)]+'\x27'),{'code':'ENOENT'});const _0x2b6b16=['--files',_0x5d1612(_0x48e29a._0x134349,_0x48e29a._0x39f268,_0x48e29a._0xfca89a,_0x48e29a._0x388a86),'--hidden','--glob=!.git/*'];for(const _0x213115 of _0x1efa6f[_0x5d1612(-_0x48e29a._0x20cd91,0x17a,0x1ee,_0x48e29a._0x4dcbd6)]??[]){_0x2b6b16['push'](_0x5d1612(_0x48e29a._0xddad11,0x323,_0x48e29a._0xee07a0,0x27a)+_0x213115);}const _0x247db4=_0x93d52a(_0x3c4bc1,_0x2b6b16,{'cwd':_0x1efa6f[_0xa823d8(0x230,_0x48e29a._0x46721c,_0x48e29a._0x11cf1f,0x1e1)],'stdio':[_0xa823d8(0x364,0x4cd,_0x48e29a._0x486efe,0x3de),_0x5d1612(0x47f,0x39e,_0x48e29a._0x3cd21f,0x4c7),_0xa823d8(_0x48e29a._0x574447,_0x48e29a._0x534308,_0x48e29a._0x3dfe01,_0x48e29a._0x9ccb9a)]});function _0x5d1612(_0x29dd19,_0x11d056,_0x1efebb,_0xb5e354){return _0xe18bb0(_0x29dd19,_0x11d056-0x214,_0x1efebb-0xa4,_0xb5e354-0x112);}let _0x24f41a='';for await(const _0x292ef7 of _0x247db4[_0xa823d8(_0x48e29a._0x157b20,0x421,0x232,_0x48e29a._0x3b09f8)]??[]){_0x24f41a+=_0x292ef7[_0xa823d8(0x5b2,0x79d,_0x48e29a._0x4b2958,0x4f4)]();const _0x123554=_0x24f41a[_0x5d1612(0x1e4,_0x48e29a._0x391b94,0x250,0x1f)](/\r?\n/);_0x24f41a=_0x123554['pop']()??'';for(const _0xa9c900 of _0x123554){if(_0xa9c900['length']>0x0)yield _0xa9c900;}}_0x24f41a['trim']()[_0x5d1612(_0x48e29a._0x45f2a5,0x3bb,_0x48e29a._0x6ccb80,0x3be)]>0x0&&(yield _0x24f41a[_0x5d1612(0x406,0x508,_0x48e29a._0x1201d9,_0x48e29a._0x5dde5c)]());}function objectValue(_0x42483c){return typeof _0x42483c==='object'&&_0x42483c!==null?_0x42483c:void 0x0;}function decodeRipgrepText(_0x35f661){const _0x54aaf3={_0x58e818:0x3aa,_0x1c8749:0x500,_0x2b5652:0x3ff,_0x17fa44:0x3af,_0x196649:0x380,_0x38397e:0x2fb,_0x539710:0x1aa,_0x32d62d:0x2e0,_0x310706:0x355,_0x1dca37:0x3bb,_0x4127a6:0x38b,_0x43f621:0x755,_0x3ce834:0x537,_0xa9d63c:0x632,_0x33cfb9:0x810,_0x48b9c7:0x807},_0x4064cf={_0x442499:0x252,_0x2175a6:0x175},_0x11be26={_0x38a873:0xc0,_0x26852a:0x19b},_0x12eb2c=objectValue(_0x35f661);if(typeof _0x12eb2c?.[_0x516eb6(_0x54aaf3._0x58e818,_0x54aaf3._0x1c8749,_0x54aaf3._0x2b5652,_0x54aaf3._0x17fa44)]==='string')return _0x12eb2c[_0x516eb6(_0x54aaf3._0x196649,_0x54aaf3._0x38397e,0x3ff,0x324)];function _0x5a8bfd(_0x29fe34,_0x7959d9,_0x5a0d51,_0x183119){return _0xe18bb0(_0x183119,_0x5a0d51-0x614,_0x5a0d51-_0x11be26._0x38a873,_0x183119-_0x11be26._0x26852a);}function _0x516eb6(_0x583201,_0x3b71e8,_0x501141,_0x45e4f3){return _0x47b891(_0x3b71e8,_0x501141- -_0x4064cf._0x442499,_0x501141-_0x4064cf._0x2175a6,_0x45e4f3-0x178);}if(typeof _0x12eb2c?.[_0x516eb6(0x39c,0x3db,0x1e8,_0x54aaf3._0x539710)]===_0x516eb6(_0x54aaf3._0x32d62d,_0x54aaf3._0x310706,0x365,_0x54aaf3._0x1dca37))return Buffer[_0x516eb6(0x2c1,_0x54aaf3._0x4127a6,0x188,0x398)](_0x12eb2c[_0x5a8bfd(0x547,0x4d1,0x5bd,_0x54aaf3._0x43f621)],'base64')[_0x516eb6(0x514,0x52d,_0x54aaf3._0x3ce834,0x6c5)](_0x5a8bfd(0x8fe,_0x54aaf3._0xa9d63c,_0x54aaf3._0x33cfb9,_0x54aaf3._0x48b9c7));return void 0x0;}function parseMatchLine(_0x57593d,_0x441fae){const _0x40162c={_0x14e3c1:0x560,_0x4781d5:0x5ae,_0x3d710b:0x5ba,_0x143431:0x7bc,_0xede78d:0x5d9,_0x15dc9a:0x711,_0xf21ae2:0x6d7,_0x1ceaa6:0x757,_0x16e406:0x80c,_0x388ae5:0x61d,_0x42926c:0x7ef,_0x1f92ff:0x5a0,_0x1dc0b9:0x761,_0x55f257:0x36e,_0x5c125f:0x1b5,_0x216051:0x688,_0x5e8f23:0x494,_0x3cef25:0x57a,_0x2bc456:0x494,_0x3e2cd7:0x627,_0x59f4d6:0x2ff,_0x547c7d:0x3e9,_0x1257af:0x49d,_0xc80b98:0x61e,_0xf337d6:0x35a,_0x47a420:0x365,_0x42b1ae:0x1ac,_0x4050cc:0x79a,_0x859382:0x44e,_0x19aa34:0x775,_0x34b3ea:0x5f6},_0x18ee90={_0x35696c:0x30,_0x51f041:0x61},_0x1e4910={_0x221ed9:0x131,_0x54de84:0x1e3};if(_0x57593d[_0x35612b(_0x40162c._0x14e3c1,_0x40162c._0x4781d5,0x572,_0x40162c._0x3d710b)]===0x0)return null;const _0x45b9f6=objectValue(JSON[_0xdb3b2a(_0x40162c._0x143431,_0x40162c._0xede78d,_0x40162c._0x15dc9a,0x7df)](_0x57593d));function _0x35612b(_0x1db85e,_0x5cae7b,_0x576aa6,_0x5a108e){return _0xe18bb0(_0x576aa6,_0x1db85e-0x3b9,_0x576aa6-_0x1e4910._0x221ed9,_0x5a108e-_0x1e4910._0x54de84);}if(_0x45b9f6?.[_0x35612b(0x65e,0x6a5,0x5c5,_0x40162c._0xf21ae2)]!=='match'&&_0x45b9f6?.[_0xdb3b2a(0x7b6,_0x40162c._0x1ceaa6,0x636,_0x40162c._0x16e406)]!==_0x35612b(_0x40162c._0x388ae5,_0x40162c._0x42926c,_0x40162c._0x1f92ff,_0x40162c._0x1dc0b9))return null;const _0x586496=objectValue(_0x45b9f6[_0x35612b(_0x40162c._0x55f257,0x4c4,0x222,_0x40162c._0x5c125f)]),_0x2c831f=decodeRipgrepText(_0x586496?.[_0xdb3b2a(_0x40162c._0x216051,_0x40162c._0x5e8f23,_0x40162c._0x3cef25,0x83e)]),_0x38670c=decodeRipgrepText(_0x586496?.[_0xdb3b2a(_0x40162c._0x2bc456,0x543,0x529,_0x40162c._0x3e2cd7)]),_0x1137fa=_0x586496?.['line_number'];function _0xdb3b2a(_0x54eb99,_0x46279f,_0x4a8789,_0x53b5e4){return _0xe18bb0(_0x46279f,_0x54eb99-0x511,_0x4a8789-_0x18ee90._0x35696c,_0x53b5e4-_0x18ee90._0x51f041);}if(_0x2c831f===void 0x0||_0x38670c===void 0x0||typeof _0x1137fa!==_0x35612b(_0x40162c._0x59f4d6,_0x40162c._0x547c7d,0x2cd,_0x40162c._0x1257af))throw new Error(_0x35612b(0x660,0x84f,0x466,_0x40162c._0xc80b98));return{'filePath':_0x101d6f['isAbsolute'](_0x2c831f)?_0x2c831f:_0x101d6f[_0x35612b(_0x40162c._0xf337d6,_0x40162c._0x47a420,_0x40162c._0x42b1ae,0x384)](_0x441fae,_0x2c831f),'lineNum':_0x1137fa,'lineText':_0x38670c[_0x35612b(0x67c,0x839,0x7f2,0x769)](/\r?\n$/,''),..._0x45b9f6[_0x35612b(0x65e,0x4a0,_0x40162c._0x4050cc,_0x40162c._0x859382)]===_0xdb3b2a(_0x40162c._0x19aa34,0x858,_0x40162c._0x34b3ea,0x60b)?{'isContext':!![]}:{}};}async function search(_0x368884){const _0x39679b={_0x121eac:0xba,_0x2db9dc:0xe6,_0x4fdd37:0xa4,_0x550f51:0x5ff,_0x172ff1:0x558,_0x56b93b:0x202,_0x4bf3b6:0x2d6,_0x587973:0x171,_0x28ccd8:0x20d,_0xfcaa76:0x234,_0x4ab542:0xc4,_0x1dd9fe:0xe6,_0x14e57f:0xc0,_0x241ec0:0x19c,_0x4e4c5f:0x26e,_0x5c6743:0xaa,_0x2bdbfd:0x351,_0x2b01ea:0x13e,_0x129a94:0x1dd,_0x247615:0x2b4,_0x4a8fb1:0x84,_0x50a366:0x191,_0x43140f:0x40f,_0xa1c51:0x52,_0xd1b495:0x25,_0x5659d4:0x86,_0x2c03c3:0x391,_0x20bb87:0x340,_0x25c054:0x4dd,_0x144e18:0x11b,_0x20287b:0xe0,_0x5d30fe:0x1db,_0x522017:0x10b,_0x5cc2b8:0x25f,_0x45afb9:0x535,_0x5beee6:0x378,_0x293c4c:0x1b,_0x2cb442:0x88,_0x5d7ffe:0x337,_0x48be81:0x453,_0xc8e8e2:0x482,_0x5df3f4:0x7e,_0x12b9ea:0x53,_0x418ee4:0x203,_0x48620b:0x187,_0x36eb95:0x38b,_0x632fbb:0x678,_0x261313:0x53a,_0x1564e4:0x29b,_0x1a681b:0x364,_0x46afb7:0x47f,_0x1dd4af:0x61c,_0x5a9442:0x4c7,_0x17c736:0x181,_0x303ac1:0x14c,_0x234d80:0x428,_0x2fd7c1:0x256,_0x32c9a5:0xde,_0x4fa3e2:0x9b,_0x3f6b5c:0x199,_0x1cec3b:0x79,_0x5eac5a:0x12,_0x1e4f90:0x1d2,_0x5df7a9:0x216,_0x3cedc6:0x4b5,_0x2e4344:0x6b9,_0x1bceb6:0x247,_0x3a8239:0x1e6,_0x13b3e8:0x42a,_0x4ca2e0:0x180,_0x5a9480:0x2c9,_0x15a25f:0xca,_0x15efbf:0x77,_0x3d6079:0xdc},_0xd9facb={_0x16ec9b:0x553,_0x1b596a:0x306,_0x13fdcd:0x90f,_0xaa4f87:0x704,_0x13a9f2:0x4f3,_0x4d1b5c:0x363,_0x4f041c:0x59c,_0x2e94e7:0x2bc,_0x45d7bd:0x460,_0x4ff3d8:0x3f9,_0x168ed8:0x52f,_0x229981:0x4b7},_0x4d7605={_0x54da64:0x1f2,_0xa8eee9:0x21f,_0x4abad9:0xb8,_0x3f91d1:0x92,_0x5e3373:0x259,_0x2b0d37:0x3b3,_0xba0fd:0x2a,_0x5453c0:0x19a,_0xf5043e:0x243,_0x28dd90:0x3b4,_0x3bc7e1:0xa0,_0x589294:0x150,_0x968a8:0x369,_0x2b71a0:0x274},_0x5a030d={_0x1b96f5:0x276,_0x4f6228:0x7b,_0x4b707b:0x19d},_0x5d9cd3={_0x3765eb:0x14b};if(_0x368884[_0xe1103f(_0x39679b._0x121eac,-_0x39679b._0x2db9dc,-_0x39679b._0x4fdd37,-0x11)]!==void 0x0&&_0x368884[_0x110cf0(0x3ce,0x4b5,_0x39679b._0x550f51,_0x39679b._0x172ff1)]!==void 0x0)throw new Error(_0xe1103f(0x52,_0x39679b._0x56b93b,_0x39679b._0x4bf3b6,_0x39679b._0x587973));if(_0x368884[_0xe1103f(-0x1a,-_0x39679b._0x2db9dc,-_0x39679b._0x28ccd8,-_0x39679b._0xfcaa76)]){const _0xca755b=await _0x588a43(_0x368884[_0xe1103f(_0x39679b._0x4ab542,-_0x39679b._0x1dd9fe,_0x39679b._0x14e57f,0xec)])[_0x110cf0(_0x39679b._0x241ec0,_0x39679b._0x4e4c5f,0x39d,0x101)](()=>null);if(!_0xca755b?.[_0xe1103f(0xfa,_0x39679b._0x5c6743,0x1b8,-0x69)]())throw Object[_0x110cf0(0x472,_0x39679b._0x2bdbfd,0x3c3,0x2c7)](new Error('No\x20such\x20file:\x20\x27'+_0x368884[_0xe1103f(-0x87,-0xe6,-_0x39679b._0x2b01ea,-0x238)]+'\x27'),{'code':_0x110cf0(0x2f,_0x39679b._0x129a94,_0x39679b._0x247615,_0x39679b._0x4a8fb1)});}else{if(_0x368884[_0xe1103f(_0x39679b._0x50a366,0x256,0x3b0,0x3ab)]!==void 0x0)for(const _0x5eb610 of _0x368884[_0xe1103f(0x29b,0x256,_0x39679b._0x43140f,_0x39679b._0xa1c51)]){if(!_0x101d6f['isAbsolute'](_0x5eb610))throw new Error(_0xe1103f(0x166,0xa8,_0x39679b._0xd1b495,_0x39679b._0x5659d4)+_0x5eb610+'\x27');const _0x19aae1=await _0x588a43(_0x5eb610)['catch'](()=>null);if(!_0x19aae1?.['isFile']())throw Object['assign'](new Error(_0x110cf0(_0x39679b._0x2c03c3,_0x39679b._0x20bb87,0x4ab,_0x39679b._0x25c054)+_0x5eb610+'\x27'),{'code':_0xe1103f(0x141,-0x82,-0xa,-_0x39679b._0x144e18)});}else{const _0x1a2020=await _0x588a43(_0x368884[_0x110cf0(0x19,0x191,_0x39679b._0x20287b,_0x39679b._0x5d30fe)])[_0x110cf0(_0x39679b._0x522017,0x26e,0x219,0x20d)](()=>null);if(!_0x1a2020?.[_0x110cf0(_0x39679b._0x5cc2b8,0x128,0x181,0x314)]())throw Object[_0x110cf0(0x53f,0x351,_0x39679b._0x45afb9,_0x39679b._0x5beee6)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x368884[_0x110cf0(0x2b4,_0x39679b._0x50a366,_0x39679b._0x293c4c,_0x39679b._0x2cb442)]+'\x27'),{'code':_0x110cf0(0x2fc,0x1dd,_0x39679b._0x5d7ffe,0x3e9)});}}if(_0x368884['files']?.[_0x110cf0(_0x39679b._0x48be81,0x3c2,_0x39679b._0xc8e8e2,0x37e)]===0x0)return[];function _0xe1103f(_0x30d52e,_0x3311c8,_0x4c6825,_0x39770f){return _0xe18bb0(_0x4c6825,_0x3311c8- -0x44,_0x4c6825-_0x5d9cd3._0x3765eb,_0x39770f-0x1e8);}const _0x467c4b=await filepath(),_0x5132fc=[_0xe1103f(_0x39679b._0x5df3f4,-0xe5,-_0x39679b._0x12b9ea,-_0x39679b._0x418ee4),_0xe1103f(_0x39679b._0x48620b,0x1f1,0x1ae,_0x39679b._0x36eb95),_0x368884['pattern']],_0x22d955=typeof _0x368884[_0x110cf0(_0x39679b._0x632fbb,0x47f,0x49f,_0x39679b._0x261313)]===_0x110cf0(_0x39679b._0x1564e4,0x161,0x77,0xe)&&_0x368884[_0x110cf0(0x3ca,0x47f,_0x39679b._0x1a681b,0x63c)]>0x0;function _0x110cf0(_0x46981c,_0x321603,_0x50a4b4,_0x383df5){return _0x47b891(_0x50a4b4,_0x321603- -_0x5a030d._0x1b96f5,_0x50a4b4-_0x5a030d._0x4f6228,_0x383df5-_0x5a030d._0x4b707b);}return _0x22d955&&_0x5132fc['push']('-C',String(_0x368884[_0x110cf0(0x2f5,_0x39679b._0x46afb7,_0x39679b._0x1dd4af,_0x39679b._0x5a9442)])),_0x368884[_0x110cf0(0x2f3,_0x39679b._0x17c736,0x385,-0x5f)]&&!_0x368884[_0xe1103f(-0x2b0,-_0x39679b._0x1dd9fe,-_0x39679b._0x303ac1,-0x1d4)]&&_0x368884[_0xe1103f(_0x39679b._0x234d80,_0x39679b._0x2fd7c1,_0x39679b._0x32c9a5,_0x39679b._0x4fa3e2)]===void 0x0&&_0x5132fc[_0x110cf0(_0x39679b._0x3f6b5c,0x146,_0x39679b._0x1cec3b,-_0x39679b._0x5eac5a)](_0x110cf0(_0x39679b._0x1e4f90,_0x39679b._0x5df7a9,0x27e,0x29e),_0x368884['glob']),_0x368884[_0x110cf0(0x34a,_0x39679b._0x3cedc6,0x5a0,_0x39679b._0x2e4344)]!==void 0x0?_0x5132fc[_0x110cf0(-0x7b,0x146,_0x39679b._0x1bceb6,_0x39679b._0x3a8239)](..._0x368884[_0xe1103f(_0x39679b._0x13b3e8,0x256,0x355,_0x39679b._0x4ca2e0)]):_0x5132fc[_0xe1103f(-_0x39679b._0x5a9480,-0x119,0x78,-_0x39679b._0x15a25f)](_0x368884[_0xe1103f(-_0x39679b._0x15efbf,-_0x39679b._0x2db9dc,-_0x39679b._0x3d6079,-0x15f)]??_0x368884['cwd']),await new Promise((_0x1c1fa2,_0x1b3b57)=>{const _0x462f74={_0x125780:0x328,_0x4f518f:0x2fc},_0x462018={_0x191887:0x664},_0x4a2a2b={_0x1683f1:0x8e8,_0x5906f4:0x9df},_0x214309={_0x220da8:0x89},_0x4ac73e={_0xa68d86:0xdc};function _0x44f083(_0x20bbaa,_0x4acb89,_0x113679,_0x5033f4){return _0x110cf0(_0x20bbaa-_0x4ac73e._0xa68d86,_0x5033f4-0x193,_0x113679,_0x5033f4-0x5b);}const _0xfb26f=_0x93d52a(_0x467c4b,_0x5132fc,{'cwd':_0x368884[_0x2459d7(_0xd9facb._0x16ec9b,_0xd9facb._0x1b596a,0x59e,0x4f0)],'stdio':['ignore',_0x2459d7(_0xd9facb._0x13fdcd,0x787,0x541,_0xd9facb._0xaa4f87),'pipe']});function _0x2459d7(_0x16bc4d,_0x1066a1,_0x5d115b,_0x17338f){return _0x110cf0(_0x16bc4d-0x188,_0x17338f-0x35f,_0x16bc4d,_0x17338f-_0x214309._0x220da8);}let _0x1ca61c='',_0x40c020='';_0xfb26f[_0x44f083(0x496,0x5ff,_0xd9facb._0x13a9f2,0x4bb)]?.['on'](_0x44f083(0x45d,0x31c,0x1a7,_0xd9facb._0x4d1b5c),_0x214565=>{function _0x20a656(_0x4f4574,_0x4955d9,_0x571bc2,_0x4fa716){return _0x2459d7(_0x4fa716,_0x4955d9-0x143,_0x571bc2-0x1af,_0x571bc2-0x76);}_0x1ca61c+=_0x214565[_0x20a656(0x79e,0x7ff,_0x4a2a2b._0x1683f1,_0x4a2a2b._0x5906f4)]();}),_0xfb26f[_0x44f083(_0xd9facb._0x4f041c,_0xd9facb._0x2e94e7,0x344,_0xd9facb._0x45d7bd)]?.['on'](_0x2459d7(0x61f,_0xd9facb._0x4ff3d8,0x5e1,_0xd9facb._0x168ed8),_0x41ee48=>{_0x40c020+=_0x41ee48['toString']();}),_0xfb26f['on']('close',_0xffd48c=>{const _0xdbee6c={_0x3a0af9:0x113,_0x23ed95:0x3f2,_0x392d10:0x10f};if(_0xffd48c===0x1&&_0x1ca61c===''){_0x1c1fa2([]);return;}if(_0xffd48c!==0x0&&_0xffd48c!==0x1){_0x1b3b57(new Error(_0x378700(_0x4d7605._0x54da64,0x271,_0x4d7605._0xa8eee9,0x167)+_0x40c020));return;}const _0x4febde=[];try{for(const _0x1ddc52 of _0x1ca61c[_0x378700(-0x153,-_0x4d7605._0x4abad9,-0x130,-_0x4d7605._0x3f91d1)](/\r?\n/)){const _0x3c761a=parseMatchLine(_0x1ddc52,_0x368884['cwd']);if(_0x3c761a)_0x4febde[_0x4eab32(-0x273,-0xc5,-_0x4d7605._0x5e3373,-0x20f)](_0x3c761a);}}catch(_0x23fbe4){_0x1b3b57(_0x23fbe4);return;}const _0x537725=_0x368884[_0x4eab32(0x1a6,0x1cd,0x329,0x28d)]??0x64,_0x8d6138=Number[_0x4eab32(_0x4d7605._0x2b0d37,0x1d8,0x195,-_0x4d7605._0xba0fd)](_0x537725)?Math['max'](0x0,Math[_0x378700(-_0x4d7605._0x5453c0,-0x33c,-0x18f,0x18)](_0x537725)):0x64,_0x55daf5=_0x4febde['filter'](_0x2940b1=>!_0x2940b1[_0x4eab32(0x103,0x7e,-0x103,-0x161)]);if(_0x55daf5[_0x378700(0xbd,_0x4d7605._0xf5043e,0x268,0x114)]<=_0x8d6138){_0x1c1fa2(_0x4febde);return;}function _0x378700(_0xcba3a8,_0x3e64ce,_0x352080,_0x453c39){return _0x2459d7(_0x453c39,_0x3e64ce-0x18b,_0x352080-0xf4,_0xcba3a8- -_0x462018._0x191887);}const _0x5d5b70=_0x55daf5['slice'](0x0,_0x8d6138);function _0x4eab32(_0x1d4669,_0x233c6,_0x5dda54,_0x5e0012){return _0x44f083(_0x1d4669-0xe0,_0x233c6-0xf3,_0x5e0012,_0x233c6- -0x39e);}const _0x90baa6=new Set(_0x5d5b70),_0x16ba41=_0x22d955?Math[_0x378700(-0x1fd,-0x1c4,-0x266,-_0x4d7605._0x28dd90)](0x0,Math[_0x4eab32(-0x1c6,-_0x4d7605._0x3bc7e1,-_0x4d7605._0x589294,-0x27e)](_0x368884[_0x4eab32(_0x4d7605._0x968a8,_0x4d7605._0x2b71a0,_0x4d7605._0x2b0d37,0x383)]??0x0)):0x0;_0x1c1fa2(_0x4febde['filter'](_0x308328=>{const _0x35aaf5={_0x498fd4:0x2aa,_0x210487:0xb2};function _0x2ca115(_0xaafc8c,_0x5bfa09,_0x45d6d2,_0x345f6c){return _0x4eab32(_0xaafc8c-0x134,_0x5bfa09-_0x35aaf5._0x498fd4,_0x45d6d2-_0x35aaf5._0x210487,_0x45d6d2);}function _0x172cde(_0x58c9d0,_0x55c195,_0x18a932,_0x970b43){return _0x4eab32(_0x58c9d0-_0xdbee6c._0x3a0af9,_0x970b43-_0xdbee6c._0x23ed95,_0x18a932-_0xdbee6c._0x392d10,_0x58c9d0);}if(!_0x308328[_0x2ca115(0x4a3,_0x462f74._0x125780,_0x462f74._0x4f518f,0x39c)])return _0x90baa6['has'](_0x308328);return _0x5d5b70['some'](_0x5b52df=>_0x5b52df[_0x2ca115(0x32d,0x498,0x418,0x42c)]===_0x308328[_0x172cde(0x41b,0x5c5,0x517,0x5e0)]&&Math['abs'](_0x5b52df['lineNum']-_0x308328['lineNum'])<=_0x16ba41);}));}),_0xfb26f['on'](_0x2459d7(_0xd9facb._0x229981,0x3e8,0x625,0x4a0),_0x1b3b57);});}function createGlobTool(_0x5a1b7d={}){const _0x2c434c={_0x5223b9:0x416,_0x4b312b:0x442,_0x2bd5cd:0x4d4,_0x2ed71d:0x6c1,_0x49b5b4:0x81e,_0xa7a869:0x606,_0x2a11b2:0x8d8,_0x136b6a:0x78a,_0x3e9a98:0x782,_0x16a49e:0x8c2,_0x5086d4:0x764,_0x16529f:0x564,_0x150eb2:0x622,_0x399375:0x479,_0x26aa3d:0x6fa},_0x5d64af={_0x1f5ca2:0x8bb,_0x321abc:0x67e,_0x879ef3:0x446,_0x1f65bb:0x506,_0xe7e756:0x790,_0x133bea:0x7ca,_0xde9272:0x83c,_0x59fbd4:0x5d8,_0x57370e:0x4b3,_0x3977f9:0x29c,_0x3a988b:0x4c1,_0x4830d7:0x44f,_0x3b1c80:0x277,_0x38320b:0x432,_0x1fd901:0x3c4,_0xc20179:0x4e2,_0x195be6:0x8ae,_0x700bdf:0x820,_0x20b2c1:0x82b,_0x401a3c:0x4ea,_0x435d45:0x7fd,_0x3fccc6:0x730,_0x501732:0x4d6,_0x40cb1e:0x469,_0x457a2e:0x6aa,_0x29eb56:0x56a,_0x77f644:0x82c,_0x9b93d2:0x4c4,_0x192280:0x6c1,_0x28e9d3:0x899,_0x398186:0x842},_0x21f421={_0x58f780:0x35},_0x49384a={_0x421e00:0x187},_0x2b824b={_0x531eff:0x11b},_0x2e4785={_0x3ecb87:0x1d0,_0x4ee226:0x117,_0x491ec1:0x92},_0x359f16=_0x29a601[_0x3032e8(_0x2c434c._0x5223b9,_0x2c434c._0x4b312b,_0x2c434c._0x2bd5cd,0x47c)](_0x5a1b7d[_0x479243(0x5ba,_0x2c434c._0x2ed71d,0x635,0x5ec)]??process['cwd']());function _0x479243(_0xea7964,_0x2454f5,_0xacadc8,_0x1eb30a){return _0x47b891(_0xea7964,_0xacadc8-_0x2e4785._0x3ecb87,_0xacadc8-_0x2e4785._0x4ee226,_0x1eb30a-_0x2e4785._0x491ec1);}function _0x3032e8(_0x50c9a1,_0x573d4f,_0x5ecf20,_0x1faafd){return _0x47b891(_0x50c9a1,_0x5ecf20-0xa2,_0x5ecf20-_0x2b824b._0x531eff,_0x1faafd-0x114);}const _0x2bed63=_0x5a1b7d[_0x3032e8(0x473,0x58f,0x5d4,0x722)]??[],_0x37ab8c=_0x5a1b7d[_0x479243(0x6f0,0x8a5,_0x2c434c._0x49b5b4,0x9f3)]??0x64,_0x90bbf8=_0x5a1b7d['name']??_0x3032e8(0x650,_0x2c434c._0xa7a869,0x53b,0x5eb);return defineTool({'name':_0x90bbf8,'permissionClass':_0x3032e8(0x7ce,_0x2c434c._0x2a11b2,_0x2c434c._0x136b6a,0x7ea),'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x3032e8(0x814,0x793,_0x2c434c._0x3e9a98,_0x2c434c._0x16a49e),'properties':{'pattern':{'type':_0x3032e8(_0x2c434c._0x5086d4,0x5c7,0x659,_0x2c434c._0x16529f)},'path':{'type':'string'},'limit':{'type':_0x3032e8(0x41c,_0x2c434c._0x150eb2,_0x2c434c._0x399375,0x637)}},'required':[_0x479243(_0x2c434c._0x26aa3d,0x695,0x61e,0x51a)]},async *'execute'(_0x2a2560){if(_0x2a2560['pattern'][_0x3a37b2(0x6fd,_0x5d64af._0x1f5ca2,0x790,0x9d2)]()['length']===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});function _0x39ea0a(_0x45a75b,_0x587be9,_0x20ebd6,_0x19882a){return _0x3032e8(_0x45a75b,_0x587be9-0x1bd,_0x587be9- -0x2c,_0x19882a-_0x49384a._0x421e00);}const _0x2d08cb=resolveAllowedPath(_0x359f16,_0x2bed63,_0x2a2560[_0x39ea0a(0x47f,_0x5d64af._0x321abc,0x5db,0x539)]??'.'),_0x32b8f9=await _0x437b9a(_0x2d08cb)['catch'](()=>null);function _0x3a37b2(_0x4f033c,_0x53ef7f,_0xd8965,_0x49f282){return _0x3032e8(_0xd8965,_0x53ef7f-_0x21f421._0x58f780,_0x53ef7f-0x94,_0x49f282-0x79);}if(!_0x32b8f9?.['isDirectory']())throw new ToolExecutionError(_0x39ea0a(_0x5d64af._0x879ef3,_0x5d64af._0x1f65bb,0x473,0x357)+(_0x2a2560['path']??'.'),{'path':_0x2a2560[_0x39ea0a(0x872,_0x5d64af._0x321abc,_0x5d64af._0xe7e756,_0x5d64af._0x133bea)]??'.'});const _0x5ea7b5=_0x2a2560[_0x39ea0a(_0x5d64af._0xde9272,0x6c4,_0x5d64af._0x59fbd4,0x795)]??_0x37ab8c,_0x24a935=Math[_0x39ea0a(0x57c,0x3f4,_0x5d64af._0x57370e,_0x5d64af._0x3977f9)](0x1,Math['trunc'](_0x5ea7b5)),_0x3a8f18=[];let _0x2eb48a=![];for await(const _0x1f5239 of files({'cwd':_0x2d08cb,'glob':[_0x2a2560['pattern']]})){if(_0x3a8f18[_0x39ea0a(0x4f3,0x6ae,_0x5d64af._0x3a988b,0x5cd)]>=_0x24a935){_0x2eb48a=!![];break;}const _0x31b083=await _0x437b9a(_0x29a601[_0x3a37b2(0x82f,0x6a9,0x5b8,0x6b0)](_0x2d08cb,_0x1f5239))[_0x39ea0a(0x625,0x55a,0x4c9,_0x5d64af._0x4830d7)](()=>null);_0x3a8f18[_0x39ea0a(_0x5d64af._0x3b1c80,_0x5d64af._0x38320b,_0x5d64af._0x1fd901,_0x5d64af._0xc20179)]({'path':_0x1f5239,'mtime':_0x31b083?.[_0x3a37b2(0x9e8,_0x5d64af._0x195be6,_0x5d64af._0x700bdf,0x7e5)]??0x0});}_0x3a8f18['sort']((_0x24a7f5,_0x1ff5b9)=>_0x1ff5b9['mtime']-_0x24a7f5['mtime']);const _0x28127f=_0x3a8f18[_0x39ea0a(0x81a,0x677,_0x5d64af._0x20b2c1,_0x5d64af._0x401a3c)](_0x2a43fe=>_0x2a43fe[_0x3a37b2(0x934,0x73e,0x6d0,0x8b0)]),_0x8336d2=_0x28127f[_0x39ea0a(_0x5d64af._0x435d45,0x6ae,_0x5d64af._0x3fccc6,0x60a)]===0x0?_0x3a37b2(0x5d5,_0x5d64af._0x501732,_0x5d64af._0x40cb1e,0x698)+_0x2a2560[_0x3a37b2(0x464,0x584,_0x5d64af._0x457a2e,_0x5d64af._0x29eb56)]:''+_0x28127f['join']('\x0a')+(_0x2eb48a?_0x39ea0a(_0x5d64af._0x77f644,0x6ff,0x7c3,0x5c5):'');return yield createToolOutput(_0x8336d2,{'pattern':_0x2a2560[_0x39ea0a(0x45c,_0x5d64af._0x9b93d2,0x62d,_0x5d64af._0x192280)],'searchPath':_0x29a601['relative'](_0x359f16,_0x2d08cb)||'.','matches':_0x28127f,'count':_0x28127f[_0x3a37b2(_0x5d64af._0x28e9d3,0x76e,_0x5d64af._0x398186,0x5e3)],'truncated':_0x2eb48a}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x3ee3fd){const _0x4fc09d={_0xabcf1b:0x5ca,_0x446baa:0x4e2,_0x205e99:0x471,_0x4dbc40:0x619,_0x48d8e2:0x80,_0x123e07:0x4,_0x1cfec7:0x2d9,_0x3cc21f:0x496,_0x41f133:0x54b,_0x8c2c7:0x3b4},_0x41e467={_0x3f69df:0x127,_0x5a2cee:0x135},_0x2f5204={_0x2ae88f:0x33b,_0x5dbbb1:0x64};function _0x3f4bea(_0xb81d3a,_0x511b6f,_0x432c30,_0x11a8eb){return _0xe18bb0(_0xb81d3a,_0x11a8eb-_0x2f5204._0x2ae88f,_0x432c30-_0x2f5204._0x5dbbb1,_0x11a8eb-0x38);}function _0x1b6970(_0x4792d5,_0x6e021f,_0x5dd61f,_0x329f75){return _0xe18bb0(_0x5dd61f,_0x329f75- -_0x41e467._0x3f69df,_0x5dd61f-_0x41e467._0x5a2cee,_0x329f75-0x1a2);}if(_0x3ee3fd['trim']()[_0x3f4bea(0x613,_0x4fc09d._0xabcf1b,0x646,_0x4fc09d._0x446baa)]===0x0)throw new Error(_0x3f4bea(0x639,0x565,_0x4fc09d._0x205e99,_0x4fc09d._0x4dbc40));if(_0x3ee3fd[_0x1b6970(-0x29,0x259,0x200,_0x4fc09d._0x48d8e2)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x1b6970(_0x4fc09d._0x123e07,-_0x4fc09d._0x1cfec7,-0x109,-0x132)+GREP_MAX_PATTERN_LENGTH+_0x3f4bea(0x4ed,_0x4fc09d._0x3cc21f,_0x4fc09d._0x41f133,_0x4fc09d._0x8c2c7));}function boundedGrepSnippet(_0x310f9d){const _0x3639fb={_0x1306c5:0x459,_0x155d3a:0x296,_0x3b6621:0xee,_0x2172e2:0x366,_0xcbecd3:0x539,_0x18e57c:0x438},_0xb1bc54={_0x26d09d:0x83,_0x63a277:0xdb};function _0x7da6c0(_0x3b8ee6,_0x35d225,_0x300897,_0x55c328){return _0xe18bb0(_0x300897,_0x3b8ee6-0x2b2,_0x300897-0x20,_0x55c328-0x165);}function _0x50cf61(_0x3dd9dd,_0x107daa,_0x51324b,_0x2b05a1){return _0x47b891(_0x107daa,_0x3dd9dd-_0xb1bc54._0x26d09d,_0x51324b-_0xb1bc54._0x63a277,_0x2b05a1-0x1ba);}return _0x310f9d[_0x7da6c0(_0x3639fb._0x1306c5,_0x3639fb._0x155d3a,0x27b,0x62e)]>GREP_MAX_SNIPPET_LENGTH?_0x310f9d[_0x7da6c0(0x1c2,_0x3639fb._0x3b6621,0x147,_0x3639fb._0x2172e2)](0x0,GREP_MAX_SNIPPET_LENGTH)+_0x7da6c0(0x397,_0x3639fb._0xcbecd3,_0x3639fb._0x18e57c,0x4d6):_0x310f9d;}async function searchRegex(_0x140af8){const _0xe0df8e={_0x5c2752:0x443,_0x28b26b:0x4c0,_0x1bf4a9:0x441,_0x3e434a:0x6e7,_0x45778d:0x280,_0x321621:0x409,_0x41ede8:0x585,_0x1b13f9:0x5a8,_0x48c5a7:0x856,_0x21c720:0x922,_0x3cd373:0x93b,_0x2abc08:0x41f,_0x558041:0x382,_0x9f5369:0x55e,_0x4aa0f0:0x474,_0x4a3803:0x69b,_0x451d08:0x76a,_0x158247:0x79d,_0x438b50:0x652,_0x3e215d:0x2c7,_0x3354ee:0x56b,_0x5aacf7:0x68e,_0x4b29e4:0x358,_0x66ba04:0x8ca,_0x422024:0x702,_0x182a35:0x9a5,_0x3dc5c9:0x9cd,_0x42be29:0x4da,_0x2f8042:0x730,_0x46e12a:0x767,_0xe15147:0x82e,_0x137e5d:0x7fa,_0x490383:0x7cc,_0x415196:0x83e,_0x4e0d9e:0x7ba,_0x2a036f:0x8fe,_0x22fbf8:0x611},_0x35c501={_0x2c4105:0x72,_0x9c010f:0x106},_0x464590={_0x252729:0x2b5,_0x1faa85:0x320,_0x5a701a:0x24e,_0x3bf32e:0x5ce,_0xb7a3d5:0x3d5};validateGrepPattern(_0x140af8[_0x239c06(_0xe0df8e._0x5c2752,0x402,_0xe0df8e._0x28b26b,_0xe0df8e._0x1bf4a9)]);const _0x3a5e91=_0x140af8['limit']??GREP_DEFAULT_LIMIT,_0x6e2e6=Number[_0x3818bd(_0xe0df8e._0x3e434a,0x769,0x7a8,0x7aa)](_0x3a5e91)?Math[_0x239c06(_0xe0df8e._0x45778d,_0xe0df8e._0x321621,0x3f0,_0xe0df8e._0x41ede8)](0x1,Math[_0x3818bd(_0xe0df8e._0x1b13f9,0x4f1,0x3d0,0x3d9)](_0x3a5e91)):GREP_DEFAULT_LIMIT;if(_0x140af8[_0x3818bd(_0xe0df8e._0x48c5a7,0x83b,_0xe0df8e._0x21c720,_0xe0df8e._0x3cd373)]?.['length']===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0xa51358=await search({'cwd':_0x140af8[_0x239c06(_0xe0df8e._0x2abc08,_0xe0df8e._0x558041,0x479,0x5cf)],'pattern':_0x140af8[_0x3818bd(0x3f5,_0xe0df8e._0x9f5369,_0xe0df8e._0x4aa0f0,_0xe0df8e._0x4a3803)],..._0x140af8[_0x239c06(_0xe0df8e._0x451d08,0x929,0x79d,0x6f8)]===void 0x0?{}:{'files':_0x140af8[_0x239c06(0x71c,0x903,_0xe0df8e._0x158247,0x963)]},..._0x140af8[_0x239c06(_0xe0df8e._0x438b50,0x586,0x469,_0xe0df8e._0x3e215d)]===void 0x0?{}:{'glob':_0x140af8[_0x3818bd(_0xe0df8e._0x3354ee,0x507,_0xe0df8e._0x5aacf7,_0xe0df8e._0x4b29e4)]},..._0x140af8[_0x3818bd(_0xe0df8e._0x66ba04,0x805,0x9bc,_0xe0df8e._0x422024)]===void 0x0?{}:{'context':_0x140af8['context']},'limit':_0x6e2e6+0x1}),_0x5c67c0=_0xa51358[_0x3818bd(0x90a,0x7fa,_0xe0df8e._0x182a35,_0xe0df8e._0x3dc5c9)](_0x5556d2=>!_0x5556d2[_0x3818bd(0x436,0x60f,0x617,0x702)]),_0x2ac477=_0x5c67c0['length']>_0x6e2e6,_0x196dd5=_0x5c67c0['slice'](0x0,_0x6e2e6),_0x596e71=new Set(_0x196dd5),_0x23b531=Math[_0x3818bd(0x3fc,0x48e,0x445,_0xe0df8e._0x42be29)](0x0,Math['trunc'](_0x140af8[_0x239c06(_0xe0df8e._0x2f8042,0x8c6,_0xe0df8e._0x46e12a,_0xe0df8e._0xe15147)]??0x0)),_0x157e04=_0x2ac477?_0xa51358[_0x3818bd(0x847,_0xe0df8e._0x137e5d,_0xe0df8e._0x490383,_0xe0df8e._0x415196)](_0x45999a=>{const _0x4b44e3={_0x46483e:0xa8,_0x42093a:0x35a,_0x2f8912:0x25},_0x25419a={_0x5d09ba:0x147,_0x5656c2:0x172};if(!_0x45999a[_0x196a6a(0x4a4,_0x464590._0x252729,_0x464590._0x1faa85,0x423)])return _0x596e71['has'](_0x45999a);function _0x20034b(_0x18429a,_0x11dff3,_0x21e2cc,_0x3c9a0b){return _0x3818bd(_0x18429a-_0x25419a._0x5d09ba,_0x21e2cc- -_0x25419a._0x5656c2,_0x11dff3,_0x3c9a0b-0x1a8);}function _0x196a6a(_0x55f80d,_0x15ba2f,_0x22fa94,_0x247a3){return _0x3818bd(_0x55f80d-_0x4b44e3._0x46483e,_0x15ba2f- -_0x4b44e3._0x42093a,_0x22fa94,_0x247a3-_0x4b44e3._0x2f8912);}return _0x196dd5[_0x196a6a(_0x464590._0x5a701a,0x434,_0x464590._0x3bf32e,_0x464590._0xb7a3d5)](_0x45d8f2=>_0x45d8f2['filePath']===_0x45999a[_0x196a6a(0x3eb,0x425,0x54f,0x28d)]&&Math['abs'](_0x45d8f2['lineNum']-_0x45999a[_0x196a6a(0x3b0,0x416,0x40b,0x4c3)])<=_0x23b531);}):_0xa51358;function _0x239c06(_0x3a07cc,_0x1a5227,_0x19b5f8,_0x1b0ad9){return _0x47b891(_0x3a07cc,_0x19b5f8-_0x35c501._0x2c4105,_0x19b5f8-0x1bf,_0x1b0ad9-_0x35c501._0x9c010f);}function _0x3818bd(_0x1d35a5,_0x243f62,_0xf25bec,_0x3ed4f7){return _0xe18bb0(_0xf25bec,_0x243f62-0x5a1,_0xf25bec-0xf9,_0x3ed4f7-0x92);}return{'matches':_0x157e04,'matchCount':_0x196dd5[_0x239c06(0x7b0,0x6ab,0x6aa,0x844)],'fileCount':new Set(_0x157e04[_0x3818bd(_0xe0df8e._0x4e0d9e,0x711,0x507,_0xe0df8e._0x2a036f)](_0x2479ef=>_0x2479ef[_0x239c06(0x777,0x787,0x6e1,0x70d)]))[_0x3818bd(0x7a1,0x74a,0x6ec,_0xe0df8e._0x22fbf8)],'truncated':_0x2ac477};}import{stat as _0x56f112}from'fs/promises';import*as _0x574a9e from'path';function createGrepTool(_0x4ab907={}){const _0x502e45={_0x127ba6:0x246,_0x14fd62:0x1be,_0x3d4453:0x332,_0x46a664:0x24a,_0x81717b:0x1df,_0x32491a:0x1e0,_0x66e5ea:0x412,_0x69763f:0x127,_0x836e41:0x1f7,_0x2e4caa:0x2fe,_0x203356:0x1c1,_0x47b5df:0x8e,_0x521106:0x48},_0x2b5bbf={_0xcfca8a:0x485,_0x104957:0x3d4,_0x376bf9:0x2f6,_0x416884:0x283,_0x2682f8:0xc3,_0x438179:0x464,_0x103101:0x26d,_0x575f1f:0x294,_0x15eaa5:0x22d,_0x3dbc92:0xe3,_0x2c0502:0x631,_0x419171:0x64a,_0x4c6dd8:0x454,_0x33edb4:0x4fe,_0x163776:0x49c,_0x30472c:0x2c5,_0x3b6634:0x25,_0x1d2ab3:0x129,_0x4be301:0x1e9,_0x3bfbe2:0x4ee,_0x21dbed:0x455,_0x3e299a:0x544,_0x20b967:0x479,_0x3b162c:0x478,_0x2fef91:0x37e,_0x3dd07d:0x575,_0x5134da:0x3e3,_0xe9383d:0x57b,_0x552885:0x3f7,_0x83ae5c:0x44e,_0x121c73:0x50a,_0x10147c:0xf2,_0x1ef644:0xe5,_0x5bef54:0x28f,_0x22f249:0x5da,_0x398610:0x466,_0x25078a:0x36,_0x4a3f37:0x4,_0x3d3eba:0xaa,_0x26cfc0:0xea,_0x2301c3:0x365,_0x1f79c8:0x2c6,_0x38c10f:0x508,_0x199889:0x401,_0x89d08f:0x173,_0x4b6c6a:0x2e7,_0x14de4a:0x11a,_0x327ca3:0x5ca,_0x1afb6e:0x509,_0x2721c5:0x55b,_0x5301a4:0x5c3,_0x2af41f:0x590,_0x858e09:0x65b,_0x59e118:0x4c6,_0x583801:0x3ee,_0x305c3a:0x3f5,_0x4803a1:0x47b,_0x3cf308:0x4a5,_0x27695c:0x442,_0x118c6e:0x2d,_0x18c670:0x13c,_0x35ff70:0x58a,_0x4c6d88:0x4b2,_0x58b9e1:0x2fa,_0x22b0af:0xf4,_0x53b558:0xa9,_0x399438:0x22c,_0xe70fd2:0xd3,_0x157127:0x297,_0x2ad734:0x65d,_0xd2783d:0x661,_0x2ec050:0x4d5,_0x2ecfe3:0x816},_0x26e859={_0x587f15:0x102,_0x333772:0x31},_0x2034e2=_0x574a9e['resolve'](_0x4ab907['defaultCwd']??process['cwd']()),_0x2deb21=_0x4ab907[_0x3cf9fe(0x147,-0x19,0x94,0x348)]??[];function _0x3cf9fe(_0x13a5e,_0x25e247,_0x46e7d4,_0x4b3dcb){return _0x47b891(_0x46e7d4,_0x13a5e- -0x3eb,_0x46e7d4-0x1ed,_0x4b3dcb-0x135);}function _0x374e08(_0x1fe0e5,_0x488977,_0x1de2b1,_0x36085e){return _0xe18bb0(_0x1de2b1,_0x36085e-_0x26e859._0x587f15,_0x1de2b1-_0x26e859._0x333772,_0x36085e-0x1c);}const _0x3908df=_0x4ab907[_0x374e08(0x19c,_0x502e45._0x127ba6,0x2b7,0x2bf)]??GREP_DEFAULT_LIMIT,_0x167812=_0x4ab907[_0x3cf9fe(-0x4,0xb9,_0x502e45._0x14fd62,0xdf)]??_0x374e08(_0x502e45._0x3d4453,0x297,_0x502e45._0x46a664,_0x502e45._0x81717b);return defineTool({'name':_0x167812,'permissionClass':'read','description':_0x374e08(_0x502e45._0x32491a,0x1fd,_0x502e45._0x66e5ea,0x296),'inputSchema':{'type':'object','properties':{'pattern':{'type':'string'},'path':{'type':_0x3cf9fe(0x1cc,0xca,0x307,0x10e)},'include':{'type':_0x374e08(_0x502e45._0x69763f,_0x502e45._0x836e41,_0x502e45._0x2e4caa,0x228)},'limit':{'type':'number'},'context':{'type':_0x374e08(0xd2,_0x502e45._0x203356,-_0x502e45._0x47b5df,_0x502e45._0x521106)}},'required':['pattern']},async *'execute'(_0x4c370d){const _0x323f5d={_0x5ad034:0x7b},_0x583735={_0x4785eb:0x2e1};try{validateGrepPattern(_0x4c370d['pattern']);}catch(_0x2e291d){throw new ToolExecutionError(_0x2e291d[_0x427833(0x5cf,0x3d0,_0x2b5bbf._0xcfca8a,_0x2b5bbf._0x104957)],{});}const _0x246b99=resolveAllowedPath(_0x2034e2,_0x2deb21,_0x4c370d[_0x427833(0x33a,0x331,0x445,_0x2b5bbf._0x376bf9)]??'.'),_0x1680bd=await _0x56f112(_0x246b99)[_0x427833(_0x2b5bbf._0x416884,0x214,_0x2b5bbf._0x2682f8,0x1d2)](()=>null),_0x3dc0bf=_0x1680bd?.[_0x427833(0x47b,0x8c,_0x2b5bbf._0x438179,_0x2b5bbf._0x103101)]()??![],_0x15aaae=_0x1680bd?.[_0x5ac404(0x12f,_0x2b5bbf._0x575f1f,_0x2b5bbf._0x15eaa5,_0x2b5bbf._0x3dbc92)]()??![];if(!_0x3dc0bf&&!_0x15aaae)throw new ToolExecutionError(_0x427833(_0x2b5bbf._0x2c0502,0x4bf,_0x2b5bbf._0x419171,_0x2b5bbf._0x4c6dd8)+(_0x4c370d[_0x5ac404(0x685,_0x2b5bbf._0x33edb4,_0x2b5bbf._0x163776,0x408)]??'.'),{'path':_0x4c370d[_0x427833(0x30d,0x33c,_0x2b5bbf._0x30472c,0x2f6)]??'.'});const _0x67df89=await searchRegex({'cwd':_0x15aaae?_0x246b99:_0x574a9e[_0x427833(0xf6,0x103,-_0x2b5bbf._0x3b6634,_0x2b5bbf._0x1d2ab3)](_0x246b99),'pattern':_0x4c370d[_0x5ac404(_0x2b5bbf._0x4be301,0x344,0x53b,0x50a)],'glob':_0x15aaae?_0x4c370d[_0x427833(0x24f,_0x2b5bbf._0x3bfbe2,0x466,_0x2b5bbf._0x21dbed)]:void 0x0,'limit':_0x4c370d[_0x5ac404(0x37a,_0x2b5bbf._0x3e299a,_0x2b5bbf._0x20b967,_0x2b5bbf._0x3b162c)]??_0x3908df,'files':_0x3dc0bf?[_0x246b99]:void 0x0,'context':_0x4c370d[_0x427833(_0x2b5bbf._0x2fef91,0x3f7,_0x2b5bbf._0x3dd07d,_0x2b5bbf._0x5134da)]});function _0x5ac404(_0x3121bb,_0x4ebc45,_0x542095,_0xf59882){return _0x3cf9fe(_0x4ebc45-_0x583735._0x4785eb,_0x4ebc45-0xa6,_0xf59882,_0xf59882-0xca);}const {matches:_0xca7384}=_0x67df89,_0x2dedb8=new Map();for(const _0xfe497c of _0xca7384){if(!_0x2dedb8[_0x427833(_0x2b5bbf._0xe9383d,_0x2b5bbf._0x552885,0x492,0x3ec)](_0xfe497c['filePath'])){const _0x419663=await _0x56f112(_0xfe497c[_0x427833(0x2ad,_0x2b5bbf._0x83ae5c,_0x2b5bbf._0x121c73,0x35d)])['catch'](()=>null);_0x2dedb8[_0x5ac404(_0x2b5bbf._0x10147c,0x2f6,0x276,_0x2b5bbf._0x1ef644)](_0xfe497c['filePath'],{'matches':[],'mtime':_0x419663?.[_0x427833(0x29d,_0x2b5bbf._0x5bef54,_0x2b5bbf._0x22f249,_0x2b5bbf._0x398610)]??0x0});}_0x2dedb8['get'](_0xfe497c['filePath'])?.['matches'][_0x427833(0x1,-_0x2b5bbf._0x25078a,-_0x2b5bbf._0x4a3f37,_0x2b5bbf._0x3d3eba)](_0xfe497c);}function _0x427833(_0x460f27,_0x2b1703,_0x73c9a,_0x20fb1c){return _0x374e08(_0x460f27-0x9a,_0x2b1703-_0x323f5d._0x5ad034,_0x2b1703,_0x20fb1c-0x7d);}const _0x48e693=[..._0x2dedb8['entries']()][_0x427833(_0x2b5bbf._0x26cfc0,0x3a7,_0x2b5bbf._0x2301c3,_0x2b5bbf._0x1f79c8)]((_0x4b39ab,_0x3e7252)=>_0x3e7252[0x1][_0x427833(0x5dc,0x550,0x635,0x458)]-_0x4b39ab[0x1][_0x5ac404(0x785,0x660,0x725,0x4a2)]),_0xbd04b9=_0x3dc0bf?_0x574a9e[_0x5ac404(_0x2b5bbf._0x38c10f,0x331,0x51b,0x27f)](_0x246b99):_0x246b99;let _0x1dcbe1='';if(_0xca7384[_0x5ac404(_0x2b5bbf._0x199889,0x52e,0x6af,0x36a)]===0x0)_0x1dcbe1=_0x5ac404(_0x2b5bbf._0x89d08f,_0x2b5bbf._0x30472c,_0x2b5bbf._0x4b6c6a,_0x2b5bbf._0x14de4a)+_0x4c370d[_0x427833(-0x26,0x128,0xbd,0x13c)];else{_0x1dcbe1=_0x5ac404(0x48d,0x52c,_0x2b5bbf._0x327ca3,_0x2b5bbf._0x1afb6e)+_0x67df89['matchCount']+_0x5ac404(_0x2b5bbf._0x2721c5,_0x2b5bbf._0x5301a4,0x3dc,_0x2b5bbf._0x2af41f)+(_0x67df89['matchCount']===0x1?'':'es')+'\x0a';for(const [_0xebdc7b,_0x8350c6]of _0x48e693){const _0xdee7e6=_0x3dc0bf?_0x574a9e['basename'](_0xebdc7b):_0x574a9e['relative'](_0xbd04b9,_0xebdc7b);_0x1dcbe1+='\x0a'+_0xdee7e6+':\x0a';for(const _0x5cd1c9 of _0x8350c6['matches']){const _0x4581b2=boundedGrepSnippet(_0x5cd1c9[_0x5ac404(_0x2b5bbf._0x858e09,_0x2b5bbf._0x59e118,_0x2b5bbf._0x583801,0x42f)]),_0x344c65=_0x5cd1c9[_0x5ac404(0x260,_0x2b5bbf._0x305c3a,_0x2b5bbf._0x4803a1,_0x2b5bbf._0x3cf308)]?'\x20\x20':'>\x20';_0x1dcbe1+=_0x344c65+'Line\x20'+_0x5cd1c9['lineNum']+':\x20'+_0x4581b2+'\x0a';}}_0x67df89['truncated']&&(_0x1dcbe1+=_0x5ac404(0x44a,0x57f,0x36e,_0x2b5bbf._0x27695c));}const _0x114273={'searchPath':_0x574a9e['relative'](_0x2034e2,_0x246b99)||'.','pattern':_0x4c370d[_0x427833(0x2db,0x9d,_0x2b5bbf._0x118c6e,_0x2b5bbf._0x18c670)],'matchCount':_0x67df89[_0x5ac404(_0x2b5bbf._0x35ff70,_0x2b5bbf._0x4c6d88,0x37b,_0x2b5bbf._0x58b9e1)],'fileCount':_0x67df89[_0x427833(_0x2b5bbf._0x22b0af,_0x2b5bbf._0x53b558,0x2b0,_0x2b5bbf._0x399438)],'truncated':_0x67df89[_0x427833(_0x2b5bbf._0xe70fd2,0x35d,_0x2b5bbf._0x1f79c8,_0x2b5bbf._0x157127)]};return _0x15aaae&&_0x4c370d[_0x5ac404(0x49b,0x65d,0x7d2,0x746)]!==void 0x0&&(_0x114273[_0x5ac404(0x6db,_0x2b5bbf._0x2ad734,0x849,_0x2b5bbf._0xd2783d)]=_0x4c370d['include']),yield createToolOutput(_0x1dcbe1[_0x5ac404(_0x2b5bbf._0x2ec050,0x67b,0x7af,_0x2b5bbf._0x2ecfe3)](),_0x114273),void 0x0;}});}import{readdir,readFile as _0x3e11ec,stat as _0x443059}from'fs/promises';import*as _0x21ca25 from'path';import*as _0x591317 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x1d0da4,_0x4e1a85){const _0xc5ed96={_0x4c866c:0x571,_0x525070:0x63f},_0x5b30e9={_0x51e504:0x6a,_0x157bb3:0x1dd,_0x58cbce:0x7b},_0x294dc0={_0x5c6553:0x43,_0x5cc325:0x56};if(_0x4e1a85>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x2236cc=await _0x3e11ec(_0x1d0da4)['catch'](()=>null);function _0xd36ec4(_0x7076e6,_0x10a815,_0x3ec0a4,_0x1b8886){return _0x47b891(_0x7076e6,_0x1b8886-_0x294dc0._0x5c6553,_0x3ec0a4-_0x294dc0._0x5cc325,_0x1b8886-0x9f);}if(!_0x2236cc||isProbablyBinary(_0x2236cc))return void 0x0;function _0x5d170f(_0xd55eb1,_0x37471e,_0x1689eb,_0x14ecf3){return _0xe18bb0(_0x1689eb,_0x37471e- -_0x5b30e9._0x51e504,_0x1689eb-_0x5b30e9._0x157bb3,_0x14ecf3-_0x5b30e9._0x58cbce);}return _0x2236cc['toString'](_0x5d170f(0x290,0x192,0x35a,0x27f))['split'](/\r?\n/)[_0xd36ec4(_0xc5ed96._0x4c866c,0x555,_0xc5ed96._0x525070,0x67b)];}function createLsTool(_0x3b139f={}){const _0x7f4a65={_0x4f30b0:0x514,_0x5f3e93:0x97,_0x478d31:0x236,_0x1496df:0x1d8,_0xdc8dda:0x1c2,_0x308c7b:0x273,_0x5e5a60:0x35e,_0x3a8ca9:0x242,_0x1df9a4:0x3eb,_0x36f722:0x3c1,_0x34973f:0x5dc,_0x4c9874:0x7c5,_0x5bfe61:0x6c8,_0x20ea68:0x1de,_0x7d41d9:0x738,_0x26cadd:0x487,_0xb3c1e1:0x545,_0x4e74d3:0x3ec,_0x10f607:0x3b4,_0x9f631b:0x2e9},_0x3a865f={_0x14be01:0x9,_0x50fd58:0x86,_0x5ca308:0x737,_0x321842:0x718,_0x2fa7fc:0x6b4,_0x278870:0x37b,_0x29b1cb:0x5a0,_0x4b6616:0x313,_0x357e16:0x2c9,_0x2335d7:0x609,_0x2b0c99:0x48a,_0x365943:0x2e7,_0x2abd29:0x5b5,_0x2e254b:0x3f5,_0x20c814:0x589,_0x39fdf8:0x5cd,_0x47ab86:0x25e,_0x101ceb:0x71,_0x1d2b3a:0x210,_0x42a474:0x256,_0xe5b944:0x63,_0xd01064:0x13b,_0x2082a3:0x3b,_0x13605a:0xb0,_0x641b60:0x8,_0x1be1cb:0x655,_0xfe0976:0x4d8,_0x5971af:0x326,_0x2664bf:0x3ee,_0x398867:0x816,_0x2f3daa:0xd9,_0x3af0e4:0x26b,_0x22aaad:0x2dc,_0x5cd299:0x1dc,_0x37f741:0x1ac,_0x3b512d:0x721,_0x502bfa:0x566,_0x39f050:0x769,_0x14a6a8:0x71,_0xe695ac:0x14b,_0x2aaf15:0x11d},_0x2f030b={_0x37f208:0x1f5,_0x7df027:0xfe},_0x374b9a={_0x3dc61c:0x1bf,_0x392f0f:0x56},_0x5539df={_0x13e2b1:0x385,_0xcb9053:0x77,_0x546fbc:0xe6},_0x853be1=_0x21ca25[_0xf79c9e(0x326,_0x7f4a65._0x4f30b0,0x4e6,0x40b)](_0x3b139f['defaultCwd']??process[_0x2eab19(_0x7f4a65._0x5f3e93,_0x7f4a65._0x478d31,0x1b,_0x7f4a65._0x1496df)]());function _0xf79c9e(_0x155d29,_0x1de96f,_0x407387,_0x368a3f){return _0xe18bb0(_0x1de96f,_0x155d29-_0x5539df._0x13e2b1,_0x407387-_0x5539df._0xcb9053,_0x368a3f-_0x5539df._0x546fbc);}function _0x2eab19(_0x3370,_0x30fc45,_0x58c01c,_0x2f0b02){return _0x47b891(_0x2f0b02,_0x3370- -0x370,_0x58c01c-0x159,_0x2f0b02-0x1ec);}const _0x3bec30=_0x3b139f[_0x2eab19(_0x7f4a65._0xdc8dda,_0x7f4a65._0x308c7b,_0x7f4a65._0x5e5a60,0x70)]??[],_0x16ae37=_0x3b139f[_0xf79c9e(0x2db,_0x7f4a65._0x3a8ca9,_0x7f4a65._0x1df9a4,_0x7f4a65._0x36f722)]??'Ls';return defineTool({'name':_0x16ae37,'permissionClass':_0xf79c9e(_0x7f4a65._0x34973f,_0x7f4a65._0x4c9874,_0x7f4a65._0x5bfe61,0x5c8),'description':_0x2eab19(_0x7f4a65._0x20ea68,0x3c,0x15f,0x215),'inputSchema':{'type':_0xf79c9e(0x5d4,_0x7f4a65._0x7d41d9,_0x7f4a65._0x26cadd,_0x7f4a65._0xb3c1e1),'properties':{'path':{'type':'string'},'limit':{'type':_0xf79c9e(0x2cb,_0x7f4a65._0x4e74d3,_0x7f4a65._0x10f607,_0x7f4a65._0x9f631b)}}},async *'execute'(_0x1c6ada){const _0x43d466=_0x1c6ada['path']??'.',_0x3f5dfd=resolveAllowedPath(_0x853be1,_0x3bec30,_0x43d466),_0x38e78c=await _0x443059(_0x3f5dfd)[_0x52976d(-0x29,-_0x3a865f._0x14be01,_0x3a865f._0x50fd58,-0xb3)](()=>null);if(!_0x38e78c?.['isDirectory']())throw new ToolExecutionError(_0x3a48cd(0x579,0x55b,0x549,0x3bb)+_0x43d466,{'path':_0x43d466});const _0xa69470=_0x1c6ada[_0x3a48cd(_0x3a865f._0x5ca308,_0x3a865f._0x321842,0x628,0x66d)]??0x3e8,_0xfefc0f=Math[_0x3a48cd(_0x3a865f._0x2fa7fc,0x814,0x830,0x7e6)](Math[_0x3a48cd(0x467,_0x3a865f._0x278870,_0x3a865f._0x29b1cb,_0x3a865f._0x4b6616)](Math[_0x3a48cd(0x4ca,0x2fa,_0x3a865f._0x357e16,_0x3a865f._0x2335d7)](_0xa69470),0x1),0x2710),_0xcb9212=await readdir(_0x3f5dfd),_0x408cd7=[];for(const _0x23124b of _0xcb9212[_0x3a48cd(_0x3a865f._0x2b0c99,_0x3a865f._0x365943,_0x3a865f._0x2abd29,_0x3a865f._0x2e254b)](0x0,_0xfefc0f)){const _0x2b3f4a=_0x21ca25[_0x3a48cd(0x65c,0x82f,_0x3a865f._0x20c814,0x5c3)](_0x3f5dfd,_0x23124b),_0x5231ee=await _0x443059(_0x2b3f4a)[_0x3a48cd(_0x3a865f._0x39fdf8,0x6ed,0x7c8,0x750)](()=>null);if(!_0x5231ee)continue;let _0x12ab53=_0x52976d(_0x3a865f._0x47ab86,_0x3a865f._0x101ceb,_0x3a865f._0x1d2b3a,0x103);if(_0x5231ee[_0x52976d(0x22e,0x92,_0x3a865f._0x42a474,0x223)]())_0x12ab53='file';else{if(_0x5231ee['isDirectory']())_0x12ab53=_0x52976d(-0x26d,-_0x3a865f._0xe5b944,-_0x3a865f._0xd01064,-_0x3a865f._0x2082a3);else{if(_0x5231ee[_0x52976d(0x130,-_0x3a865f._0x13605a,-0x1ed,_0x3a865f._0x641b60)]())_0x12ab53=_0x3a48cd(0x736,0x6a8,0x79e,_0x3a865f._0x1be1cb);}}const _0x230762={'name':_0x23124b,'type':_0x12ab53,'size':_0x5231ee['size'],'mtime':_0x5231ee['mtimeMs'],'mode':_0x5231ee[_0x3a48cd(0x65a,0x506,0x4fc,0x5f3)]},_0x1803c9=_0x12ab53===_0x3a48cd(_0x3a865f._0xfe0976,0x511,_0x3a865f._0x5971af,_0x3a865f._0x2664bf)?await countTextLines(_0x2b3f4a,_0x5231ee[_0x3a48cd(0x723,0x81f,0x66a,_0x3a865f._0x398867)]):void 0x0;if(_0x1803c9!==void 0x0)_0x230762[_0x52976d(-0x5b,-_0x3a865f._0x2f3daa,-0x2d,0xe8)]=_0x1803c9;_0x408cd7[_0x52976d(-_0x3a865f._0x3af0e4,-0x131,-_0x3a865f._0x22aaad,-0x22c)](_0x230762);}function _0x52976d(_0x248109,_0xce4e33,_0x2d56b2,_0x2a4826){return _0xf79c9e(_0xce4e33- -0x3e1,_0x248109,_0x2d56b2-_0x374b9a._0x3dc61c,_0x2a4826-_0x374b9a._0x392f0f);}_0x408cd7['sort']((_0x1a423d,_0x59b3c3)=>_0x1a423d[_0x3a48cd(0x4d0,0x5ff,0x2fb,0x487)]['localeCompare'](_0x59b3c3[_0x3a48cd(0x4d0,0x337,0x4ae,0x68f)]));const _0x390c14={'path':_0x43d466,'total':_0x408cd7[_0x52976d(0x2e1,0x14b,_0x3a865f._0x5cd299,_0x3a865f._0x37f741)],'truncated':_0xcb9212[_0x3a48cd(_0x3a865f._0x3b512d,_0x3a865f._0x502bfa,0x8d9,_0x3a865f._0x39f050)]>_0xfefc0f,'entries':_0x408cd7};yield createToolOutput(_0x591317[_0x52976d(-0x4,0xc0,-_0x3a865f._0x14a6a8,0x234)](_0x390c14,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x43d466,'total':_0x408cd7['length'],'truncated':_0xcb9212[_0x52976d(0x104,_0x3a865f._0xe695ac,_0x3a865f._0x2aaf15,0x2a4)]>_0xfefc0f,'limit':_0xfefc0f,'entries':_0x408cd7});function _0x3a48cd(_0x396bb6,_0x68b832,_0x5f5a9f,_0x11c206){return _0xf79c9e(_0x396bb6-_0x2f030b._0x37f208,_0x11c206,_0x5f5a9f-_0x2f030b._0x7df027,_0x11c206-0x2c);}return void 0x0;}});}import{readFile as _0x2cb3b9,stat as _0x798f27}from'fs/promises';import*as _0x1d4943 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x47b891(0x339,0x3b5,0x206,0x27a),_0xe18bb0(-0x63,-0xa4,0xeb,-0x78),_0xe18bb0(0x93,0x15d,0x367,0x2a5),'original']),PNG_SIGNATURE=Buffer[_0xe18bb0(0x1c,-0xb7,-0x2ac,-0x17)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x1d7470,_0x475244){const _0x175068={_0x2e73df:0x53,_0xd76d27:0x1af,_0x2035ad:0x6,_0x11aa6b:0x174,_0x5eaf5a:0x172,_0x3d84d3:0x39,_0x40f9bd:0x310,_0x36082f:0x1c9,_0x2375b7:0x42c,_0x534b15:0x5cb,_0x1b66c1:0x3fb,_0xd36343:0x2a3,_0x3df46f:0x2d8,_0x2e35d3:0x1f6,_0x297241:0x291,_0x4fd8c3:0x106,_0x465b9f:0x375,_0x24f096:0x371,_0x2dad57:0x18f,_0x42eb06:0x219,_0x5624af:0x25a,_0x3ac4db:0x2c4,_0x354620:0x38b,_0x5ed1b0:0x353,_0x5edb85:0x359,_0x9e91c8:0x489,_0xa2df74:0x1d3,_0x2a165f:0x6e,_0xc61c23:0x1ad,_0xec637d:0x1e6,_0x2bbd70:0xae,_0x145773:0x26c,_0x222dcd:0x28f,_0x397592:0x197,_0x1fb3e9:0x286,_0x159035:0x193,_0x559ee1:0x2c4},_0x48d3cd={_0x5c3495:0xbc},_0x5cea19={_0x3f9f73:0x517,_0x47cea1:0xdf,_0x64f2b3:0x1a0};if(_0x1d7470[_0x34b428(-_0x175068._0x2e73df,-_0x175068._0xd76d27,-_0x175068._0x2035ad,-_0x175068._0x11aa6b)](0x0,0x8)[_0x34b428(0x2d3,_0x175068._0x5eaf5a,0x294,0x8e)](PNG_SIGNATURE))return _0x296cd4(0x2ad,_0x175068._0x3d84d3,0x2fb,0x1ad);if(_0x1d7470[0x0]===0xff&&_0x1d7470[0x1]===0xd8&&_0x1d7470[0x2]===0xff)return _0x34b428(_0x175068._0x40f9bd,0x159,_0x175068._0x36082f,0x1ec);function _0x296cd4(_0x1e06a3,_0x57d9b0,_0x4d915e,_0x4c3ff5){return _0x47b891(_0x57d9b0,_0x4c3ff5- -_0x5cea19._0x3f9f73,_0x4d915e-_0x5cea19._0x47cea1,_0x4c3ff5-_0x5cea19._0x64f2b3);}const _0x4e3a81=_0x1d7470['subarray'](0x0,0x6)[_0x34b428(_0x175068._0x2375b7,_0x175068._0x534b15,_0x175068._0x1b66c1,_0x175068._0xd36343)](_0x296cd4(0xa4,-_0x175068._0x3df46f,-_0x175068._0x2e35d3,-0x135));if(_0x4e3a81==='GIF87a'||_0x4e3a81===_0x296cd4(_0x175068._0x297241,0x2ef,0x87,_0x175068._0x4fd8c3))return _0x34b428(0x2d0,0x312,_0x175068._0x465b9f,0x3c5);if(_0x1d7470['subarray'](0x0,0x4)['toString']('ascii')===_0x34b428(-0x81,0x1fa,0x37,-0x177)&&_0x1d7470[_0x296cd4(-_0x175068._0x24f096,-0x14f,0x29,-_0x175068._0x2dad57)](0x8,0xc)[_0x296cd4(0x2ce,0x18c,_0x175068._0x42eb06,0x272)](_0x34b428(0x60,0xb4,0x54,0x132))===_0x34b428(_0x175068._0x5624af,-0x31,0x1d7,0x11c))return _0x34b428(0x425,0x355,_0x175068._0x3ac4db,_0x175068._0x354620);const _0x27c13d=_0x1d4943['extname'](_0x475244)[_0x34b428(0x355,0x359,0x2f1,0x1fa)]();if(_0x27c13d===_0x34b428(0x411,_0x175068._0x5ed1b0,_0x175068._0x5edb85,_0x175068._0x9e91c8))return _0x296cd4(_0x175068._0xa2df74,_0x175068._0x2a165f,0x34c,_0x175068._0xc61c23);if(_0x27c13d===_0x296cd4(-0x1e3,-_0x175068._0xec637d,0x162,-_0x175068._0x2bbd70)||_0x27c13d===_0x296cd4(-0x280,-_0x175068._0x145773,-_0x175068._0x222dcd,-0x89))return'image/jpeg';if(_0x27c13d===_0x34b428(_0x175068._0x397592,_0x175068._0x1fb3e9,0x398,0x39f))return'image/gif';if(_0x27c13d==='.webp')return _0x34b428(0x1ce,_0x175068._0x159035,_0x175068._0x559ee1,0x404);function _0x34b428(_0x241941,_0x539917,_0x5b0c5e,_0x411ffa){return _0xe18bb0(_0x411ffa,_0x5b0c5e-0x103,_0x5b0c5e-_0x48d3cd._0x5c3495,_0x411ffa-0xa7);}return void 0x0;}function normalizeDetail(_0x315aad){const _0x57c7e4={_0xb9b381:0xac5,_0x9e7296:0x885,_0x33715a:0x904,_0x7efe57:0x690,_0x186555:0x646,_0x4b4c6c:0xa21,_0x2221d2:0x99a,_0xdfca9b:0x673},_0x49151a={_0x201338:0x1b0},_0x45bcee={_0x580505:0x4aa};if(_0x315aad===void 0x0)return void 0x0;const _0x229c95=_0x315aad[_0x2b6351(_0x57c7e4._0xb9b381,_0x57c7e4._0x9e7296,0xaa7,_0x57c7e4._0x33715a)]()[_0x2b6351(_0x57c7e4._0x7efe57,0x73c,_0x57c7e4._0x186555,0x7fe)]();function _0x20ce86(_0x29b75e,_0x4f955d,_0x5bbd68,_0xdfef9e){return _0x47b891(_0x4f955d,_0xdfef9e- -_0x45bcee._0x580505,_0x5bbd68-0x5e,_0xdfef9e-0x165);}if(!SUPPORTED_DETAILS[_0x2b6351(_0x57c7e4._0x4b4c6c,0x748,_0x57c7e4._0x2221d2,0x87d)](_0x229c95))throw new ToolExecutionError(_0x2b6351(0x6d9,0x7f2,0x7e7,_0x57c7e4._0xdfca9b)+_0x315aad,{'detail':_0x315aad});function _0x2b6351(_0x5915e9,_0x5257c3,_0x4fe2ea,_0x9197c3){return _0xe18bb0(_0x5257c3,_0x9197c3-0x610,_0x4fe2ea-0x12a,_0x9197c3-_0x49151a._0x201338);}return _0x229c95;}function createViewFileTool(_0x2e2c80={}){const _0x241120={_0x461232:0x42,_0x3e88e9:0x1b3,_0x5696cb:0x224,_0x24b2fc:0x40c,_0x4af428:0x202,_0x521200:0x2be,_0x1a7969:0x359,_0x31fbef:0x39f,_0x17f8bf:0x41a,_0x54f1c3:0x484,_0x21ec42:0x517,_0x43d4bd:0x3fa,_0x44497a:0x2b7,_0x979bb8:0x5f9,_0x559fbb:0x6fe,_0x537dce:0x61c,_0x47939c:0x2a9,_0x16759c:0x4cc,_0x2382d0:0x632,_0x138f68:0x6d2,_0x5d7a35:0x6c1,_0x17a15e:0x5ac},_0x61667a={_0x8fd0be:0x86c,_0x46679a:0x83e,_0x4bdffc:0x7a4,_0xacefe8:0x73f,_0x3285a3:0x703,_0x83f755:0x782,_0x2951d9:0x6d1,_0x1d51d2:0x645,_0x302d1c:0x8a3,_0x43cdba:0x818,_0x9fc002:0x750,_0x5ca537:0x6ab,_0x4b004f:0x5eb,_0x105d97:0x545,_0x545b96:0x593,_0x278ee8:0x723,_0x17f136:0x72d,_0x199913:0x6d6,_0x5d10dc:0x8f1,_0x16d496:0xa37,_0x41bbb6:0x5b2,_0xbdbb23:0x5d6,_0x2987b0:0x48e,_0x5c41fb:0x3d3,_0x4dba98:0x5b1,_0x141cd7:0x5cf,_0xf14aa9:0x7f1,_0x2f22d2:0x442,_0x4f09e6:0x7e2,_0x1da7a0:0x8ae,_0x309fc1:0xa76,_0x5f2324:0x4ac,_0x14f46a:0x60e,_0x12d698:0x7ef,_0x3796a2:0x750,_0x6a235:0x782,_0x57497e:0x8b4,_0x44d070:0x902,_0x552747:0x8a5,_0x3972ed:0x6f7,_0x4e7f38:0x5ac,_0x2f54f9:0x62a,_0x232d2c:0x677,_0x4e3d40:0xa89,_0x3fde4f:0x93f,_0x13bd85:0x925,_0x2ceef0:0x5f5,_0x288046:0x525,_0x22d3a4:0x834,_0x30c052:0x906,_0x4d847b:0x764,_0x16c00c:0x68e,_0x29a092:0x736,_0xce2a9c:0x62f,_0x1dd559:0x55d},_0x18e3a7={_0x194398:0xae},_0x48d2f9={_0x32b268:0x1d},_0x638006=_0x1d4943[_0x5a4164(-_0x241120._0x461232,-0x118,_0x241120._0x3e88e9,-_0x241120._0x5696cb)](_0x2e2c80[_0x176231(0x57a,0x490,_0x241120._0x24b2fc,0x3b7)]??process[_0x176231(_0x241120._0x4af428,_0x241120._0x521200,0x298,_0x241120._0x1a7969)]()),_0x1a6249=_0x2e2c80[_0x176231(_0x241120._0x31fbef,0x39f,_0x241120._0x17f8bf,_0x241120._0x54f1c3)]??[],_0x25d845=_0x2e2c80['maxBytes']??DEFAULT_MAX_BYTES,_0x3944d6=_0x2e2c80[_0x176231(_0x241120._0x21ec42,_0x241120._0x43d4bd,_0x241120._0x44497a,0x339)]??_0x176231(_0x241120._0x979bb8,_0x241120._0x559fbb,0x4db,_0x241120._0x537dce);function _0x5a4164(_0x5f0210,_0x49dcda,_0x538084,_0x129528){return _0xe18bb0(_0x538084,_0x5f0210-_0x48d2f9._0x32b268,_0x538084-0xe4,_0x129528-0x18c);}function _0x176231(_0x30b741,_0x39d006,_0x322452,_0x195984){return _0x47b891(_0x30b741,_0x195984- -_0x18e3a7._0x194398,_0x322452-0xd7,_0x195984-0x1c4);}return defineTool({'name':_0x3944d6,'permissionClass':_0x5a4164(0x274,_0x241120._0x47939c,0x452,0x22d),'description':_0x176231(0x424,0x609,0x5dc,_0x241120._0x16759c),'inputSchema':{'type':_0x176231(0x602,0x61f,0x4ce,_0x241120._0x2382d0),'properties':{'path':{'type':'string'},'detail':{'type':'string'}},'required':[_0x176231(_0x241120._0x138f68,_0x241120._0x5d7a35,_0x241120._0x17a15e,0x55a)]},async *'execute'(_0x17f546){const _0x28037d={_0x546252:0x98},_0x182040={_0x33996c:0x15a,_0x5447ff:0xeb},_0x16d4cc=resolveAllowedPath(_0x638006,_0x1a6249,_0x17f546[_0x5de474(_0x61667a._0x8fd0be,_0x61667a._0x46679a,_0x61667a._0x4bdffc,0x891)]);function _0x1f789e(_0x5a34eb,_0x5a66e4,_0x3782a4,_0x5dd0ff){return _0x5a4164(_0x3782a4-0x5bc,_0x5a66e4-_0x182040._0x33996c,_0x5dd0ff,_0x5dd0ff-_0x182040._0x5447ff);}await assertWorkspaceFile(_0x16d4cc);const _0xa22d3f=await _0x798f27(_0x16d4cc);if(_0xa22d3f[_0x1f789e(_0x61667a._0xacefe8,_0x61667a._0x3285a3,_0x61667a._0x83f755,0x992)]>_0x25d845)throw new ToolExecutionError(_0x5de474(0x4c0,_0x61667a._0x2951d9,_0x61667a._0x1d51d2,0x67c)+_0x17f546[_0x1f789e(_0x61667a._0x302d1c,_0x61667a._0x43cdba,_0x61667a._0x9fc002,_0x61667a._0x5ca537)],{'path':_0x17f546[_0x1f789e(_0x61667a._0x4b004f,_0x61667a._0x105d97,_0x61667a._0x9fc002,_0x61667a._0x545b96)],'maxBytes':_0x25d845,'size':_0xa22d3f['size']});const _0x3d5ab0=await _0x2cb3b9(_0x16d4cc),_0x37d81c=detectImageMediaType(_0x3d5ab0,_0x16d4cc);function _0x5de474(_0x3fe218,_0x3da63c,_0x40b58a,_0x585e6c){return _0x5a4164(_0x40b58a-0x610,_0x3da63c-0x10,_0x585e6c,_0x585e6c-_0x28037d._0x546252);}if(!_0x37d81c)throw new ToolExecutionError(_0x5de474(0x73e,0x63c,_0x61667a._0x278ee8,0x8b8)+_0x17f546['path'],{'path':_0x17f546[_0x1f789e(_0x61667a._0x17f136,0x5d4,_0x61667a._0x9fc002,_0x61667a._0x199913)],'supported':[_0x5de474(_0x61667a._0x5d10dc,_0x61667a._0x16d496,0x8c2,0x9d5),_0x1f789e(0x41c,_0x61667a._0x41bbb6,_0x61667a._0xbdbb23,_0x61667a._0x2987b0),_0x1f789e(_0x61667a._0x5c41fb,0x5bc,_0x61667a._0x4dba98,_0x61667a._0x141cd7),_0x1f789e(0x9ac,_0x61667a._0xf14aa9,0x82f,0x86b),_0x1f789e(_0x61667a._0x2f22d2,0x4b3,0x5ea,0x449)]});const _0x26c73e=normalizeDetail(_0x17f546[_0x5de474(_0x61667a._0x4f09e6,0x6fc,_0x61667a._0x1da7a0,_0x61667a._0x309fc1)]),_0xa4924f=[_0x1f789e(0x714,_0x61667a._0x5f2324,0x622,_0x61667a._0x14f46a)+_0x17f546[_0x1f789e(0x899,_0x61667a._0x12d698,_0x61667a._0x3796a2,0x692)],'MIME:\x20'+_0x37d81c,'Size:\x20'+_0xa22d3f[_0x1f789e(0x8f5,0x61b,_0x61667a._0x6a235,0x984)]+_0x5de474(_0x61667a._0x57497e,0x6cd,0x7d0,0x876)][_0x1f789e(_0x61667a._0x44d070,0x9e4,_0x61667a._0x552747,0x699)](_0x26c73e?['Detail:\x20'+_0x26c73e]:[])[_0x5de474(_0x61667a._0x3972ed,_0x61667a._0x4e7f38,0x70f,0x7fa)]('\x0a'),_0x3fb8f5=[{'type':'image','source':{'type':_0x5de474(_0x61667a._0x2f54f9,_0x61667a._0x232d2c,0x649,0x568),'media_type':_0x37d81c,'data':_0x3d5ab0[_0x5de474(_0x61667a._0x4e3d40,_0x61667a._0x3fde4f,_0x61667a._0x13bd85,0x85f)](_0x1f789e(_0x61667a._0x14f46a,0x644,_0x61667a._0x2ceef0,0x505))}},{'type':'text','text':_0xa4924f}];return yield createToolOutput(_0xa4924f,{'path':_0x17f546['path'],'resolvedPath':_0x16d4cc,'created':_0xa22d3f[_0x5de474(0x671,_0x61667a._0x288046,0x5e0,0x4ab)]['toISOString'](),'modified':_0xa22d3f[_0x5de474(_0x61667a._0x22d3a4,0x83f,_0x61667a._0x30c052,0x80e)][_0x1f789e(0x7c1,_0x61667a._0x4d847b,_0x61667a._0x16c00c,0x4aa)](),'size':_0xa22d3f[_0x1f789e(_0x61667a._0x29a092,0x947,0x782,0x707)],'mimeType':_0x37d81c,'encoding':_0x1f789e(_0x61667a._0xce2a9c,_0x61667a._0x1dd559,0x5f5,0x530),..._0x26c73e?{'detail':_0x26c73e}:{}},_0x3fb8f5),void 0x0;}});}function createQuestionId(){const _0x126bdf={_0x3b9394:0x1bb,_0x580bea:0x4ba,_0xb7dfac:0x1b1,_0x1d56c2:0x6b1,_0x9b4463:0x430,_0x155be3:0x258,_0x45be62:0x566,_0x1ecf11:0x6bc,_0x569580:0x95e,_0x4d90b3:0x2ec,_0x425ce9:0x29b},_0x5d1fbb={_0x4308f6:0x19b,_0xf7ffde:0x32},_0x3dd401={_0x45ee06:0x6,_0xda3893:0x5e};function _0x2afd9b(_0x31c99e,_0x731c45,_0x4daf3a,_0x3ca2af){return _0x47b891(_0x3ca2af,_0x31c99e-_0x3dd401._0x45ee06,_0x4daf3a-_0x3dd401._0xda3893,_0x3ca2af-0x14c);}function _0x11f8ee(_0x401c91,_0x423524,_0x5862fa,_0x5b455a){return _0x47b891(_0x423524,_0x5862fa- -_0x5d1fbb._0x4308f6,_0x5862fa-0xee,_0x5b455a-_0x5d1fbb._0xf7ffde);}return _0x2afd9b(0x388,_0x126bdf._0x3b9394,_0x126bdf._0x580bea,_0x126bdf._0xb7dfac)+Date[_0x2afd9b(0x516,_0x126bdf._0x1d56c2,0x326,0x453)]()+'-'+Math[_0x2afd9b(_0x126bdf._0x9b4463,_0x126bdf._0x155be3,_0x126bdf._0x45be62,0x606)]()[_0x2afd9b(0x78f,_0x126bdf._0x1ecf11,_0x126bdf._0x569580,0x924)](0x24)[_0x11f8ee(_0x126bdf._0x4d90b3,0x2f5,0x206,_0x126bdf._0x425ce9)](0x2,0x9);}function validateInput(_0xa5fba7){const _0x3bbf37={_0x550b2e:0x1dd,_0x19ba96:0x283,_0x38b202:0x2ce,_0x372a57:0x1f8,_0xa01cb5:0x22a,_0x1b126f:0xc7,_0x33f862:0x16e,_0x1d2d1b:0x299,_0x6bc125:0x358,_0x2274c4:0x39e,_0x3ef6d4:0x404,_0x28faaf:0x550,_0x315f84:0x12f,_0x263c39:0x1b2,_0x1b7575:0x9b,_0xab2766:0xcc,_0x3813cd:0x169,_0x779377:0x1d7,_0x4e8745:0x22a,_0x32ceb0:0x234,_0x369e07:0x59,_0x259f06:0xaf,_0x5e271f:0x509,_0x55b5c0:0x22c,_0xe4492:0x171,_0x16a97b:0x352,_0x3064b0:0x48e,_0x6446c4:0x3da,_0x540452:0x3f,_0x2392d6:0x177,_0x2694e5:0x308,_0x3e9ca2:0x1d7,_0x46b9a2:0x530,_0x116c4d:0x249,_0x2cdb61:0x1fb,_0x4afe44:0x306,_0x15e7d3:0x44a,_0x24a892:0x2e7,_0x3701f5:0x333,_0x577a3c:0x31d,_0xfca9e8:0x33b,_0x3a01c0:0x4d1,_0x368610:0x321,_0x175849:0x17a,_0x55b9d0:0x11,_0x5327fc:0xf,_0x4ad236:0x101,_0x310023:0x2ab,_0x325daf:0x350,_0xa9ad98:0x29f,_0x4ace23:0x356,_0x1f4b65:0x2f0,_0x480e5c:0x12f,_0x2444de:0x3aa,_0x53f9d9:0x120,_0x56cce8:0x31c,_0x4603d5:0x183,_0x58bf48:0x24c,_0xc03f3:0x10f,_0x4bd837:0xc6,_0x3f7997:0x125,_0x2a31db:0x60f,_0x166698:0x401},_0x9c8f3d={_0x277693:0x29a,_0x2fef79:0x3d},_0x2cf2c6={_0x4b70f4:0xa6,_0x225639:0x13c};function _0xbadbaf(_0x5da53e,_0x40e8d7,_0x13e119,_0x6de1a9){return _0xe18bb0(_0x40e8d7,_0x6de1a9- -_0x2cf2c6._0x4b70f4,_0x13e119-_0x2cf2c6._0x225639,_0x6de1a9-0x114);}function _0x2d9d35(_0x57d531,_0x1a5881,_0x4d08f5,_0x45c73d){return _0x47b891(_0x4d08f5,_0x57d531- -_0x9c8f3d._0x277693,_0x4d08f5-0x12b,_0x45c73d-_0x9c8f3d._0x2fef79);}if(!Array[_0xbadbaf(-0x1aa,-0x8,-_0x3bbf37._0x550b2e,0xa)](_0xa5fba7[_0x2d9d35(0x16e,_0x3bbf37._0x19ba96,_0x3bbf37._0x38b202,_0x3bbf37._0x372a57)])||_0xa5fba7[_0x2d9d35(0x16e,_0x3bbf37._0xa01cb5,_0x3bbf37._0x1b126f,-0x85)]['length']<0x1||_0xa5fba7[_0x2d9d35(_0x3bbf37._0x33f862,_0x3bbf37._0x1d2d1b,_0x3bbf37._0x6bc125,0x1c3)][_0x2d9d35(_0x3bbf37._0x2274c4,_0x3bbf37._0x3ef6d4,0x350,_0x3bbf37._0x28faaf)]>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':'invalid_questions'});for(let _0x5a0d81=0x0;_0x5a0d81<_0xa5fba7[_0xbadbaf(0x8a,-0x1af,-0x2b1,-_0x3bbf37._0x315f84)]['length'];_0x5a0d81+=0x1){const _0x2b710d=_0xa5fba7['questions'][_0x5a0d81];if(!_0x2b710d['question']||typeof _0x2b710d[_0xbadbaf(-0x1db,-_0x3bbf37._0x263c39,_0x3bbf37._0x1b7575,-_0x3bbf37._0xab2766)]!==_0x2d9d35(0x31d,_0x3bbf37._0x3813cd,_0x3bbf37._0x779377,0x316))throw new ToolExecutionError(_0xbadbaf(0x325,_0x3bbf37._0x4e8745,0x3af,_0x3bbf37._0x32ceb0)+(_0x5a0d81+0x1)+':\x20\x22question\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(!_0x2b710d['topic']||typeof _0x2b710d[_0xbadbaf(0xa6,_0x3bbf37._0x369e07,0x284,_0x3bbf37._0x259f06)]!==_0x2d9d35(0x31d,_0x3bbf37._0x5e271f,_0x3bbf37._0x55b5c0,_0x3bbf37._0xe4492))throw new ToolExecutionError(_0x2d9d35(0x4d1,_0x3bbf37._0x16a97b,_0x3bbf37._0x3064b0,_0x3bbf37._0x6446c4)+(_0x5a0d81+0x1)+_0xbadbaf(-0x184,_0x3bbf37._0x540452,-0xc0,-_0x3bbf37._0x2392d6));if(_0x2b710d[_0xbadbaf(0xe1,-0x148,0xf5,0xaf)]['length']>0x1e)throw new ToolExecutionError('Question\x20'+(_0x5a0d81+0x1)+':\x20\x22topic\x22\x20must\x20be\x20max\x2030\x20characters,\x20got\x20'+_0x2b710d[_0x2d9d35(0x34c,0x429,_0x3bbf37._0x2694e5,_0x3bbf37._0x3e9ca2)][_0x2d9d35(_0x3bbf37._0x2274c4,_0x3bbf37._0x46b9a2,0x4ba,0x1ff)]);if(!Array['isArray'](_0x2b710d[_0x2d9d35(_0x3bbf37._0x116c4d,0x2b3,_0x3bbf37._0x2cdb61,_0x3bbf37._0x4afe44)])||_0x2b710d[_0x2d9d35(_0x3bbf37._0x116c4d,_0x3bbf37._0x15e7d3,0x392,0x1d9)]['length']<0x2||_0x2b710d[_0x2d9d35(0x249,0x6a,_0x3bbf37._0x24a892,_0x3bbf37._0x3701f5)][_0x2d9d35(0x39e,_0x3bbf37._0x577a3c,_0x3bbf37._0xfca9e8,0x45c)]>0x4)throw new ToolExecutionError(_0x2d9d35(_0x3bbf37._0x3a01c0,0x6b2,0x5e2,_0x3bbf37._0x368610)+(_0x5a0d81+0x1)+_0x2d9d35(0x14b,_0x3bbf37._0x175849,-0x32,_0x3bbf37._0x55b9d0));for(let _0x59aa7c=0x0;_0x59aa7c<_0x2b710d['options'][_0xbadbaf(-_0x3bbf37._0x5327fc,0x30f,-0xaa,_0x3bbf37._0x4ad236)];_0x59aa7c+=0x1){const _0x181d8c=_0x2b710d['options'][_0x59aa7c];if(!_0x181d8c[_0x2d9d35(_0x3bbf37._0x310023,_0x3bbf37._0x325daf,0x1f5,_0x3bbf37._0xa9ad98)]||!_0x181d8c['description'])throw new ToolExecutionError(_0xbadbaf(_0x3bbf37._0x4ace23,_0x3bbf37._0x1f4b65,0x15a,_0x3bbf37._0x32ceb0)+(_0x5a0d81+0x1)+_0x2d9d35(0x216,_0x3bbf37._0x480e5c,_0x3bbf37._0x2444de,0x2d0)+(_0x59aa7c+0x1)+_0xbadbaf(0x5e,_0x3bbf37._0x53f9d9,_0x3bbf37._0x56cce8,_0x3bbf37._0x4603d5));}if(typeof _0x2b710d[_0xbadbaf(_0x3bbf37._0x58bf48,_0x3bbf37._0xc03f3,_0x3bbf37._0x4bd837,_0x3bbf37._0x3f7997)]!==_0x2d9d35(0x4aa,_0x3bbf37._0x2a31db,_0x3bbf37._0x166698,0x4de))throw new ToolExecutionError('Question\x20'+(_0x5a0d81+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0x2875a7){const _0x1eb6fb={_0x13c23c:0x6c3,_0x173bd0:0x522,_0x40a72b:0x593},_0x103fb1={_0x17e70d:0xc2,_0x3ba71b:0x121},_0x437da2={_0x29c04e:0x34};function _0x519a08(_0x350ea7,_0x1ad6ba,_0x37ac6c,_0x25988d){return _0xe18bb0(_0x37ac6c,_0x1ad6ba-0x2a0,_0x37ac6c-_0x437da2._0x29c04e,_0x25988d-0x1d0);}function _0x36be4d(_0x7560ff,_0x13edc0,_0x295cc8,_0x52add7){return _0x47b891(_0x13edc0,_0x7560ff-_0x103fb1._0x17e70d,_0x295cc8-0x109,_0x52add7-_0x103fb1._0x3ba71b);}return _0x2875a7['questions'][_0x36be4d(_0x1eb6fb._0x13c23c,0x7d3,_0x1eb6fb._0x173bd0,_0x1eb6fb._0x40a72b)]((_0x1090fb,_0x3ba24a)=>({'id':'q'+_0x3ba24a,'question':_0x1090fb[_0x36be4d(0x52d,0x712,0x491,0x60b)],'topic':_0x1090fb[_0x519a08(0x54e,0x3f5,0x2e5,0x2e0)],'options':_0x1090fb[_0x36be4d(0x5a5,0x617,0x56d,0x6d0)],'multiSelect':_0x1090fb['multiSelect']}));}function createResult(_0x408585,_0x462f3b,_0x41c17e){const _0x3bb768={_0x313414:0x975,_0x1fb895:0x15f,_0x593097:0x43,_0x1b50ba:0x1d6,_0x495b59:0x352},_0x2ba5da={_0x24b76e:0x43,_0x57ee6d:0x105,_0x23a2ed:0xac};function _0x3c3691(_0x526dfe,_0x72459a,_0x424d81,_0xab95f2){return _0xe18bb0(_0x424d81,_0x526dfe-_0x2ba5da._0x24b76e,_0x424d81-_0x2ba5da._0x57ee6d,_0xab95f2-_0x2ba5da._0x23a2ed);}const _0x2c764d={'questionId':_0x408585,'questionCount':_0x462f3b,'answers':_0x41c17e};function _0x3d157a(_0x2d8124,_0x37e2ae,_0x5d887b,_0x497d60){return _0xe18bb0(_0x497d60,_0x2d8124-0x653,_0x5d887b-0x5f,_0x497d60-0x170);}return createToolOutput(_0x3d157a(0x7ef,_0x3bb768._0x313414,0x87e,0x78d)+JSON[_0x3c3691(_0x3bb768._0x1fb895,_0x3bb768._0x593097,_0x3bb768._0x1b50ba,_0x3bb768._0x495b59)](_0x41c17e,null,0x2),_0x2c764d);}function createAskUserTool(){const _0x44c621={_0x2558ef:0x3a,_0x42c80a:0x241,_0x476846:0x209,_0x32d05f:0x6b3,_0x580e0b:0x7c5,_0x5e36e7:0x5b0,_0x1a2600:0x4d8,_0x102730:0x6ab,_0xc159c8:0x5a8,_0x27ac3e:0x113,_0x4b5830:0x2b6,_0x3e7a75:0x85,_0x316cab:0x757,_0x16b886:0x523,_0x22280c:0x6c7,_0x283e56:0x582,_0x4a13bf:0x664,_0x4b1836:0xdc,_0x2c69bd:0x115,_0x3bda8c:0x4c,_0x32c313:0x2df,_0x2c1646:0x2a0,_0x307500:0x2f9,_0x5ca30f:0x436,_0x5f0cd3:0x605,_0x59f649:0x6c9,_0x30a781:0x1b8,_0x32faea:0x34f,_0x58d2d2:0x48,_0x470969:0x640,_0x485f94:0x7ab},_0x461fa1={_0x9cfb95:0x1b1,_0x4c7c93:0xb6,_0x4b54b6:0x1c1,_0x231471:0x2cf,_0x513217:0x33f,_0x14a74d:0x46e,_0x87316d:0x6c1,_0x5d183f:0x3ea,_0x2d65a0:0x181,_0x35a303:0x109,_0x18c73e:0x258,_0x21619a:0x1c9,_0x1d8306:0x394,_0x4aa7ea:0x38a},_0x5109bc={_0x2d1080:0x35,_0x2675e6:0xb9},_0x36e330={_0x535ec0:0x139,_0x26c5c4:0x109};function _0x3db73e(_0x1c7b91,_0x4306f3,_0x49a6bf,_0x53ab62){return _0xe18bb0(_0x4306f3,_0x1c7b91- -0x13,_0x49a6bf-_0x36e330._0x535ec0,_0x53ab62-_0x36e330._0x26c5c4);}function _0x446811(_0x35e03d,_0x3f4d29,_0x4ac6da,_0x7f3144){return _0x47b891(_0x4ac6da,_0x3f4d29- -_0x5109bc._0x2d1080,_0x4ac6da-0x10a,_0x7f3144-_0x5109bc._0x2675e6);}return defineTool({'name':_0x3db73e(0x33,_0x44c621._0x2558ef,_0x44c621._0x42c80a,_0x44c621._0x476846),'permissionClass':_0x446811(0x5c9,_0x44c621._0x32d05f,_0x44c621._0x580e0b,_0x44c621._0x5e36e7),'description':_0x446811(0x78d,0x5e7,_0x44c621._0x1a2600,0x428),'inputSchema':{'type':_0x446811(0x4d0,_0x44c621._0x102730,0x583,0x84e),'properties':{'questions':{'type':_0x446811(0x63c,0x58f,_0x44c621._0xc159c8,0x5ab),'items':{'type':'object','properties':{'question':{'type':_0x3db73e(_0x44c621._0x27ac3e,0x231,_0x44c621._0x4b5830,_0x44c621._0x3e7a75)},'topic':{'type':_0x446811(0x4f3,0x582,0x381,_0x44c621._0x316cab)},'options':{'type':'array','items':{'type':_0x446811(_0x44c621._0x16b886,0x6ab,0x62e,_0x44c621._0x22280c),'properties':{'label':{'type':'string'},'description':{'type':_0x446811(0x4d5,_0x44c621._0x283e56,_0x44c621._0x4a13bf,0x390)}},'required':[_0x3db73e(0xa1,-_0x44c621._0x4b1836,0x17e,-0xf1),_0x3db73e(-_0x44c621._0x2c69bd,_0x44c621._0x3bda8c,0xf0,-_0x44c621._0x32c313)]}},'multiSelect':{'type':_0x3db73e(_0x44c621._0x2c1646,0x40d,_0x44c621._0x307500,0x44e)}},'required':[_0x446811(0x2ae,_0x44c621._0x5ca30f,0x236,0x5f4),_0x446811(0x650,0x5b1,_0x44c621._0x5f0cd3,_0x44c621._0x59f649),'options',_0x3db73e(_0x44c621._0x30a781,0x4c,_0x44c621._0x32faea,-_0x44c621._0x58d2d2)]}},'answers':{'type':_0x446811(0x8a2,_0x44c621._0x102730,_0x44c621._0x470969,_0x44c621._0x485f94),'properties':{}}},'required':['questions']},async *'execute'(_0x3d12af,_0x513fd9){const _0x2d1999={_0x5553f8:0x482},_0x1b5edc={_0x4ba728:0x30,_0x117198:0x17b};function _0x598e23(_0x3e0985,_0x10c69b,_0x3089d6,_0x5977bd){return _0x446811(_0x3e0985-_0x1b5edc._0x4ba728,_0x10c69b- -_0x1b5edc._0x117198,_0x3e0985,_0x5977bd-0xb7);}function _0x495d01(_0x44d48b,_0x159e08,_0x22aefd,_0x519f14){return _0x446811(_0x44d48b-0x13d,_0x159e08- -_0x2d1999._0x5553f8,_0x519f14,_0x519f14-0x1b0);}const _0x505bef=_0x3d12af;validateInput(_0x505bef);const _0x4a2242=_0x513fd9[_0x598e23(0x3fb,0x40a,0x54d,0x2d9)]??createQuestionId();if(_0x505bef[_0x495d01(_0x461fa1._0x9cfb95,0x1cf,_0x461fa1._0x4c7c93,0x320)]&&Object[_0x598e23(_0x461fa1._0x4b54b6,_0x461fa1._0x231471,_0x461fa1._0x513217,0x467)](_0x505bef[_0x598e23(_0x461fa1._0x14a74d,0x4d6,_0x461fa1._0x87316d,_0x461fa1._0x5d183f)])[_0x495d01(0x251,_0x461fa1._0x2d65a0,0x8e,_0x461fa1._0x35a303)]>0x0)return createResult(_0x4a2242,_0x505bef[_0x598e23(0x20e,_0x461fa1._0x18c73e,0x273,0x2de)]['length'],_0x505bef['answers']);if(!_0x513fd9['askUser'])throw new ToolExecutionError('Context\x20does\x20not\x20support\x20user\x20questions');const _0x909b4f=buildQuestions(_0x505bef),_0x26957d=await _0x513fd9[_0x495d01(0x3bd,_0x461fa1._0x21619a,-0x3e,_0x461fa1._0x1d8306)]({'questionId':_0x4a2242,'questions':_0x909b4f});yield createResult(_0x4a2242,_0x505bef['questions'][_0x598e23(0x307,0x488,0x2fe,_0x461fa1._0x4aa7ea)],_0x26957d);}});}import{stat as _0xe80f96}from'fs/promises';import _0x212f25 from'path';import{fileURLToPath as _0x509427}from'url';function awaitWithAbort2(_0x1de58c,_0x2c749d){const _0x34a52={_0x1f9273:0x8eb,_0x2a53b6:0x75d,_0x38a50d:0x74e},_0xbd1718={_0x12e116:0x24e,_0x496bad:0x1d9,_0x3e43ab:0x21a,_0x4a081c:0x35e,_0x1a4c6d:0x381},_0x45e51f={_0x437234:0x116},_0x5ce59f={_0x787df3:0x48b};if(!_0x2c749d)return _0x1de58c;if(_0x2c749d[_0x417cb3(0x767,_0x34a52._0x1f9273,0x57e,0x72e)])return Promise['reject'](toAbortError(_0x2c749d[_0x417cb3(0x6b3,0x7cc,_0x34a52._0x2a53b6,_0x34a52._0x38a50d)]));function _0x5430c2(_0x24a330,_0xdee6dc,_0x219ad5,_0x3964de){return _0xe18bb0(_0x219ad5,_0x24a330-_0x5ce59f._0x787df3,_0x219ad5-0x178,_0x3964de-0x1a5);}function _0x417cb3(_0xb3d9c0,_0x22c911,_0x5d55c4,_0x4489d2){return _0xe18bb0(_0x5d55c4,_0x4489d2-0x446,_0x5d55c4-0x188,_0x4489d2-_0x45e51f._0x437234);}return new Promise((_0x2b7837,_0x20d1d6)=>{const _0x36ba48=()=>{_0xc9350a(),_0x20d1d6(toAbortError(_0x2c749d['reason']));},_0xc9350a=()=>_0x2c749d['removeEventListener']('abort',_0x36ba48);_0x2c749d[_0x1552d7(_0xbd1718._0x12e116,0x2d6,0x180,0x2b5)]('abort',_0x36ba48,{'once':!![]});function _0x2ba1b9(_0xf4683e,_0xae8873,_0x52417e,_0x2f1cdf){return _0x417cb3(_0xf4683e-0xed,_0xae8873-0x7e,_0xae8873,_0x52417e- -0x25e);}function _0x1552d7(_0x10315e,_0x2fad2b,_0x53f86c,_0x301401){return _0x417cb3(_0x10315e-0x3d,_0x2fad2b-0x2b,_0x10315e,_0x2fad2b- -0x407);}_0x1de58c[_0x1552d7(_0xbd1718._0x496bad,_0xbd1718._0x3e43ab,_0xbd1718._0x4a081c,_0xbd1718._0x1a4c6d)](_0x4e245f=>{_0xc9350a(),_0x2b7837(_0x4e245f);},_0x525f72=>{_0xc9350a(),_0x20d1d6(_0x525f72);});});}function severityName(_0x4402a6){const _0x562817={_0xad13b0:0x376,_0x129498:0x5f1,_0x7d1f44:0x67f,_0x4417ec:0x55a,_0x204b1d:0x70b,_0x49b9c5:0x6f5,_0x481509:0x733,_0x570945:0x883,_0x3073db:0xa1f},_0x238f9a={_0x5d8323:0xcf},_0x12b6fb={_0x488b66:0x103,_0x11255e:0xe1};function _0x468d8d(_0x2b5979,_0x311f8c,_0xe84985,_0x3b1b44){return _0x47b891(_0x3b1b44,_0x311f8c-_0x12b6fb._0x488b66,_0xe84985-0x15a,_0x3b1b44-_0x12b6fb._0x11255e);}function _0x499fcd(_0x193b9a,_0x4cb76b,_0x50884a,_0xa77d2a){return _0x47b891(_0xa77d2a,_0x50884a- -_0x238f9a._0x5d8323,_0x50884a-0x1ba,_0xa77d2a-0x10e);}switch(_0x4402a6){case 0x1:return _0x468d8d(_0x562817._0xad13b0,0x55b,_0x562817._0x129498,0x604);case 0x2:return _0x499fcd(0x3d7,_0x562817._0x7d1f44,_0x562817._0x4417ec,_0x562817._0x204b1d);case 0x3:return'Information';case 0x4:return _0x468d8d(_0x562817._0x49b9c5,_0x562817._0x481509,_0x562817._0x570945,0x8b5);default:return _0x468d8d(0x999,0x889,0x678,_0x562817._0x3073db);}}function formatSingleHover(_0x1299b6){const _0x128725={_0x4b56ff:0x993,_0x402ce0:0x7bd,_0x2d5a6c:0x82b,_0x33fe0f:0x33c,_0x9dbc58:0x504,_0x5740eb:0x4e5,_0x84a7fe:0x4bf,_0x191ff8:0x988,_0x4ba198:0x71f,_0x60ed2d:0x91d,_0xb3f40f:0x9f3,_0x6f05e:0x401,_0xcf2c00:0x364,_0x146aba:0x551,_0x48424f:0x242,_0x20b3ff:0x78a,_0x24c324:0x180,_0x1c9715:0x26b,_0x54cb02:0x401,_0x50a25b:0x534,_0x281883:0x32e},_0x16f5af={_0x21fbda:0x1c3},_0x2afa2b={_0x17dfc9:0x119};function _0x276f33(_0x31a672,_0x2daee2,_0x5a36f6,_0x29ad14){return _0x47b891(_0x29ad14,_0x5a36f6-0x206,_0x5a36f6-0x10c,_0x29ad14-_0x2afa2b._0x17dfc9);}const _0x361d8a=_0x1299b6['contents'];if(typeof _0x361d8a===_0x276f33(0x682,_0x128725._0x4b56ff,_0x128725._0x402ce0,_0x128725._0x2d5a6c))return _0x361d8a;if(Array[_0x43c635(_0x128725._0x33fe0f,0x33d,_0x128725._0x9dbc58,0x4d7)](_0x361d8a))return _0x361d8a['map'](_0x263282=>typeof _0x263282==='string'?_0x263282:_0x263282[_0x43c635(0x401,0x352,0x2da,0x20e)])[_0x43c635(_0x128725._0x5740eb,_0x128725._0x84a7fe,0x2d4,0x6f0)](Boolean)['join']('\x0a\x0a');function _0x43c635(_0x10d074,_0x536e52,_0x2cd89e,_0xa54bae){return _0x47b891(_0xa54bae,_0x10d074- -0x205,_0x2cd89e-0x47,_0xa54bae-_0x16f5af._0x21fbda);}if(_0x276f33(_0x128725._0x191ff8,_0x128725._0x4ba198,_0x128725._0x60ed2d,_0x128725._0xb3f40f)in _0x361d8a)return _0x361d8a[_0x43c635(_0x128725._0x6f05e,_0x128725._0xcf2c00,_0x128725._0x146aba,_0x128725._0x48424f)];return _0x361d8a[_0x43c635(0x547,0x623,0x6bd,0x3b8)]?_0x276f33(0x6cb,0x52e,0x5d9,_0x128725._0x20b3ff)+_0x361d8a['language']+'\x0a'+_0x361d8a['value']+_0x43c635(0x312,_0x128725._0x24c324,0x42d,_0x128725._0x1c9715):_0x361d8a[_0x43c635(_0x128725._0x54cb02,0x4a1,_0x128725._0x50a25b,_0x128725._0x281883)];}function formatHover(_0x14f6c3){const _0x255dd1={_0x4ccd18:0x688,_0x5c5af7:0x4d7,_0x569e1b:0x40a,_0x459fa2:0x3b3,_0x4223c8:0x393,_0xd9edc:0x101,_0x5f43a4:0x3ea,_0x13a8cb:0x305,_0x29b2f9:0x3e9},_0x24023b={_0x30bbdc:0xa4};function _0x3c607a(_0x4c6bad,_0x59e386,_0x208a30,_0x11b859){return _0xe18bb0(_0x208a30,_0x11b859-0x223,_0x208a30-_0x24023b._0x30bbdc,_0x11b859-0xc);}if(_0x14f6c3['length']===0x0)return _0x1e6e48(_0x255dd1._0x4ccd18,_0x255dd1._0x5c5af7,_0x255dd1._0x569e1b,0x343);function _0x1e6e48(_0x3a5ca2,_0xb0b51e,_0x770b51,_0x56d8fa){return _0xe18bb0(_0x3a5ca2,_0xb0b51e-0x4c4,_0x770b51-0x8c,_0x56d8fa-0x185);}return _0x14f6c3[_0x3c607a(_0x255dd1._0x459fa2,0x567,0x48f,_0x255dd1._0x4223c8)](formatSingleHover)[_0x3c607a(0x3b9,_0x255dd1._0xd9edc,_0x255dd1._0x5f43a4,_0x255dd1._0x13a8cb)](_0x1e6e48(0x55d,0x55a,_0x255dd1._0x29b2f9,0x6e9));}function locationPath(_0x207f9e){const _0x515cb1={_0x23cb86:0x6e3},_0x1ce3f5={_0x24063c:0xe5};if(!_0x207f9e[_0x22a91e(_0x515cb1._0x23cb86,0x87b,0x624,0x75d)]('file://'))return _0x207f9e;function _0x22a91e(_0x12a0a1,_0x2cbdad,_0x1c5b44,_0xf72c74){return _0x47b891(_0x1c5b44,_0xf72c74-_0x1ce3f5._0x24063c,_0x1c5b44-0x65,_0xf72c74-0x58);}return _0x509427(_0x207f9e);}function formatLocations(_0x4ff2a5){const _0x5135aa={_0x1c6240:0x3a9},_0x5cb20e={_0x35e502:0x73,_0x10829f:0x214,_0x757142:0xc9,_0x7e0f02:0xcd,_0x5e2391:0x1a2,_0x34c82f:0xf5,_0x5abdde:0xa5,_0x190827:0xb9,_0x2ca42b:0x129},_0x47bdad={_0x4fa1d2:0xe7};if(_0x4ff2a5['length']===0x0)return'No\x20locations\x20found';function _0x11a647(_0x41b25b,_0x4cfc2b,_0x34d54b,_0x25868d){return _0x47b891(_0x34d54b,_0x25868d- -0x2a9,_0x34d54b-0x16c,_0x25868d-0x118);}return _0x4ff2a5[_0x11a647(0x4c0,0x1a8,_0x5135aa._0x1c6240,0x358)](_0x13f34e=>{const _0x152c87={_0x492e:0xa7};function _0x309303(_0x563ec3,_0x51bd28,_0x45fa02,_0x2c2975){return _0x11a647(_0x563ec3-0x18e,_0x51bd28-0x65,_0x45fa02,_0x51bd28- -_0x152c87._0x492e);}function _0xaffbfc(_0x110c3d,_0x254333,_0x55b5c7,_0x1f6b0b){return _0x11a647(_0x110c3d-_0x47bdad._0x4fa1d2,_0x254333-0x140,_0x1f6b0b,_0x110c3d-0x21d);}const _0x3a9ee6=_0x13f34e['range'][_0x309303(0x7b,_0x5cb20e._0x35e502,0x16e,_0x5cb20e._0x10829f)];return locationPath(_0x13f34e[_0x309303(-_0x5cb20e._0x757142,_0x5cb20e._0x7e0f02,_0x5cb20e._0x5e2391,_0x5cb20e._0x34c82f)])+':'+(_0x3a9ee6[_0x309303(-_0x5cb20e._0x5abdde,_0x5cb20e._0x190827,0x14,_0x5cb20e._0x2ca42b)]+0x1)+':'+(_0x3a9ee6['character']+0x1);})['join']('\x0a');}function isDocumentSymbol(_0x36d740){const _0x469fc1={_0x44a5cb:0x3bc,_0x1ea342:0x255,_0x5bd142:0x42b},_0x430d11={_0x19f55e:0x3,_0x2eaa57:0x4a};function _0x3ef6fe(_0x16d20d,_0x491e7e,_0x2d748c,_0x32ca64){return _0x47b891(_0x32ca64,_0x491e7e- -0x172,_0x2d748c-_0x430d11._0x19f55e,_0x32ca64-_0x430d11._0x2eaa57);}return'range'in _0x36d740&&_0x3ef6fe(_0x469fc1._0x44a5cb,_0x469fc1._0x1ea342,0x2db,_0x469fc1._0x5bd142)in _0x36d740;}function formatSymbols(_0x32b2c8){const _0xdc0c25={_0xcb396a:0x722,_0x5df4ee:0x4f0,_0x3e7e66:0x574,_0xcffb4b:0x622},_0x2daf80={_0xb5d5d3:0x307,_0x57c136:0x62e,_0xeb1423:0x5d2,_0x1f761a:0x744,_0x2a7803:0x385,_0x2f55b5:0x526,_0x3e0989:0x232,_0x9ceb46:0x1f4,_0xd95bb5:0x108,_0x29ad4e:0x110,_0x1b1586:0x363,_0x378a3e:0x374,_0x16ee54:0x108,_0x12c1f1:0x8e2,_0x3c2fad:0x45c,_0x282042:0x4bb,_0x1dee69:0x372,_0x1ad3e6:0x75d,_0x1e35b6:0x64d,_0x2c1f7e:0x457,_0x3921b0:0x43f,_0x4dad05:0x2e1,_0x216157:0x2d5,_0x2dee96:0x440,_0xa29d43:0x445,_0x3ff745:0x31d,_0x430826:0x448,_0x524031:0x1f9,_0x1f6c8:0x1e0,_0x1aac65:0x5,_0x296338:0x530,_0x221b9d:0x4de},_0x41719f={_0x3a6bcb:0x123,_0x440051:0xb,_0x457325:0x141};function _0x3edc89(_0x5b741b,_0x5be96b,_0xdb1c5b,_0x4ae9a7){return _0x47b891(_0xdb1c5b,_0x4ae9a7-0x37,_0xdb1c5b-0x7b,_0x4ae9a7-0x1bf);}if(_0x32b2c8[_0x35e8c7(_0xdc0c25._0xcb396a,0x75b,0x78a,0x692)]===0x0)return'No\x20symbols\x20found';function _0x35e8c7(_0x320547,_0x2c80b5,_0xd320c8,_0x4d50ca){return _0x47b891(_0xd320c8,_0x2c80b5-_0x41719f._0x3a6bcb,_0xd320c8-_0x41719f._0x440051,_0x4d50ca-_0x41719f._0x457325);}return _0x32b2c8['map'](_0x102342=>{const _0x554461={_0x28624a:0x66,_0x1fad75:0x1c9,_0x138644:0x110};if(isDocumentSymbol(_0x102342))return _0x102342[_0x33353b(0x4df,0x530,0x341,_0x2daf80._0xb5d5d3)]+'\x20('+_0x102342[_0x33353b(_0x2daf80._0x57c136,_0x2daf80._0xeb1423,0x671,_0x2daf80._0x1f761a)]+_0x377081(_0x2daf80._0x2a7803,_0x2daf80._0x2f55b5,0x4ca,_0x2daf80._0x3e0989)+(_0x102342[_0x33353b(0x103,0x2d9,0x2d5,_0x2daf80._0x9ceb46)][_0x377081(_0x2daf80._0xd95bb5,0x14e,0x2c2,_0x2daf80._0x29ad4e)][_0x33353b(0x20c,0x28d,_0x2daf80._0x1b1586,_0x2daf80._0x378a3e)]+0x1)+':'+(_0x102342['range'][_0x377081(_0x2daf80._0x16ee54,-0x91,-0x31,0x139)][_0x33353b(_0x2daf80._0x12c1f1,0x667,0x6d4,0x562)]+0x1)+']';function _0x377081(_0x21ef6b,_0x22dd23,_0x3245c1,_0x39f38e){return _0x35e8c7(_0x21ef6b-0xc8,_0x21ef6b- -0x3de,_0x22dd23,_0x39f38e-0xf9);}function _0x33353b(_0x45b102,_0x464451,_0x1503df,_0x226117){return _0x35e8c7(_0x45b102-_0x554461._0x28624a,_0x1503df- -_0x554461._0x1fad75,_0x226117,_0x226117-_0x554461._0x138644);}return _0x102342['name']+'\x20('+_0x102342[_0x377081(_0x2daf80._0x3c2fad,_0x2daf80._0x282042,0x429,_0x2daf80._0x1dee69)]+')\x20'+locationPath(_0x102342[_0x33353b(_0x2daf80._0x1ad3e6,0x6ac,0x569,_0x2daf80._0x1e35b6)]['uri'])+':'+(_0x102342[_0x377081(0x354,0x517,_0x2daf80._0x2c1f7e,0x44c)][_0x33353b(_0x2daf80._0x3921b0,_0x2daf80._0x4dad05,_0x2daf80._0x216157,_0x2daf80._0x2dee96)][_0x33353b(_0x2daf80._0xa29d43,0x1ca,_0x2daf80._0x3ff745,0x229)]['line']+0x1)+':'+(_0x102342[_0x377081(0x354,_0x2daf80._0x430826,_0x2daf80._0x524031,_0x2daf80._0x1f6c8)][_0x377081(0xc0,-0x6a,0xd8,_0x2daf80._0x1aac65)]['start'][_0x377081(0x4bf,0x50d,_0x2daf80._0x296338,_0x2daf80._0x221b9d)]+0x1);})[_0x3edc89(_0xdc0c25._0x5df4ee,_0xdc0c25._0x3e7e66,_0xdc0c25._0xcffb4b,0x5aa)]('\x0a');}function _0x678a(_0x5834f8,_0x55e981){_0x5834f8=_0x5834f8-0x19a;const _0x3ec814=_0x3ec8();let _0x678a25=_0x3ec814[_0x5834f8];if(_0x678a['VcliVf']===undefined){var _0x3bba2c=function(_0x5971ca){const _0x4261c8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2eee78='',_0xe573a8='';for(let _0x1bc8ac=0x0,_0x546c96,_0xc6783e,_0x70b777=0x0;_0xc6783e=_0x5971ca['charAt'](_0x70b777++);~_0xc6783e&&(_0x546c96=_0x1bc8ac%0x4?_0x546c96*0x40+_0xc6783e:_0xc6783e,_0x1bc8ac++%0x4)?_0x2eee78+=String['fromCharCode'](0xff&_0x546c96>>(-0x2*_0x1bc8ac&0x6)):0x0){_0xc6783e=_0x4261c8['indexOf'](_0xc6783e);}for(let _0x466031=0x0,_0x2c18c4=_0x2eee78['length'];_0x466031<_0x2c18c4;_0x466031++){_0xe573a8+='%'+('00'+_0x2eee78['charCodeAt'](_0x466031)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xe573a8);};_0x678a['UTdtzt']=_0x3bba2c,_0x678a['PDuQrs']={},_0x678a['VcliVf']=!![];}const _0x572674=_0x3ec814[0x0],_0x10768d=_0x5834f8+_0x572674,_0x3246f1=_0x678a['PDuQrs'][_0x10768d];return!_0x3246f1?(_0x678a25=_0x678a['UTdtzt'](_0x678a25),_0x678a['PDuQrs'][_0x10768d]=_0x678a25):_0x678a25=_0x3246f1,_0x678a25;}function formatDiagnostics(_0x3c97ff){const _0x4d689d={_0x24e10e:0x303,_0x4b6b90:0x2b2,_0x5b7fd9:0x35c,_0x1b3e9f:0x35f,_0x3d377e:0x320,_0x202844:0x380},_0x4769ce={_0x1c296e:0x717,_0x3cd1ea:0x467,_0x3891af:0x373,_0x55321b:0x58c,_0x2ae21a:0x4d6,_0x3ff728:0x4f4,_0x4ee07d:0x424,_0x797472:0x915,_0x4d1171:0x860,_0x1c35f0:0xa09,_0x333aec:0xa25,_0x22ed7b:0x881},_0x18c66d={_0x167a50:0x491,_0x7abb85:0x1b0,_0x465d99:0x119},_0x448f59={_0x577515:0x155};if(_0x3c97ff[_0x193000(0x2e9,0x196,0x2fc,0x4fa)]===0x0)return _0x193000(0x234,0x2e2,0x1e4,_0x4d689d._0x24e10e);function _0x178288(_0x289eda,_0x5ab9f8,_0x10b883,_0x211f5b){return _0x47b891(_0x5ab9f8,_0x211f5b- -0x2c3,_0x10b883-0x35,_0x211f5b-0x76);}function _0x193000(_0x386704,_0x16c023,_0x5e9fa7,_0x2aacfd){return _0x47b891(_0x5e9fa7,_0x386704- -0x34f,_0x5e9fa7-0xea,_0x2aacfd-_0x448f59._0x577515);}return _0x3c97ff[_0x193000(_0x4d689d._0x4b6b90,_0x4d689d._0x5b7fd9,0x405,0xf1)](_0x5e9135=>{const _0x4bd7c5={_0x24cf3b:0x38};function _0x5cc0ce(_0x418828,_0x4ccd08,_0x24be36,_0x91afe4){return _0x178288(_0x418828-0x7,_0x418828,_0x24be36-_0x4bd7c5._0x24cf3b,_0x4ccd08-0x45e);}const _0x1fcf5d=_0x5e9135[_0x5cc0ce(_0x4769ce._0x1c296e,0x516,_0x4769ce._0x3cd1ea,_0x4769ce._0x3891af)][_0x5cc0ce(0x485,0x55e,_0x4769ce._0x55321b,0x5eb)];function _0x4fdc6d(_0x2a48f5,_0x466c7a,_0x30abc3,_0x535c14){return _0x193000(_0x30abc3-_0x18c66d._0x167a50,_0x466c7a-_0x18c66d._0x7abb85,_0x535c14,_0x535c14-_0x18c66d._0x465d99);}return severityName(_0x5e9135[_0x4fdc6d(_0x4769ce._0x2ae21a,_0x4769ce._0x3ff728,0x50f,_0x4769ce._0x4ee07d)])+'\x20['+(_0x1fcf5d['line']+0x1)+':'+(_0x1fcf5d[_0x5cc0ce(0x779,_0x4769ce._0x797472,_0x4769ce._0x4d1171,_0x4769ce._0x1c35f0)]+0x1)+']\x20'+_0x5e9135[_0x5cc0ce(_0x4769ce._0x333aec,_0x4769ce._0x22ed7b,0x6a6,0x860)];})[_0x178288(_0x4d689d._0x1b3e9f,_0x4d689d._0x3d377e,_0x4d689d._0x202844,0x2b0)]('\x0a');}function formatIncomingCalls(_0x476b19){const _0x403af5={_0x3b82c7:0x4bc,_0x586821:0x307,_0x241136:0x4fb,_0x3a13af:0x331},_0x4ef0b8={_0x259b1e:0xa9,_0x4f1172:0x116},_0x3c70e9={_0x343048:0x260,_0x23f464:0x7d,_0x1f58b3:0x2f};function _0x47887a(_0x162c9c,_0x2588af,_0x2833e4,_0x55ca8f){return _0x47b891(_0x2588af,_0x2833e4- -_0x3c70e9._0x343048,_0x2833e4-_0x3c70e9._0x23f464,_0x55ca8f-_0x3c70e9._0x1f58b3);}function _0x2674d7(_0x4b4d8b,_0x72ebc7,_0x362ad6,_0x5403d5){return _0x47b891(_0x5403d5,_0x362ad6- -0x331,_0x362ad6-_0x4ef0b8._0x259b1e,_0x5403d5-_0x4ef0b8._0x4f1172);}if(_0x476b19[_0x2674d7(0x4ef,_0x403af5._0x3b82c7,_0x403af5._0x586821,_0x403af5._0x241136)]===0x0)return _0x2674d7(_0x403af5._0x3a13af,0x42c,0x450,0x62d);return _0x476b19['map'](_0x5ad3d2=>_0x5ad3d2[_0x2674d7(0x290,0xea,0xa9,-0xc3)]['name'])['join']('\x0a');}function formatOutgoingCalls(_0x25e220){const _0x125dbb={_0x56a335:0x245,_0x2774b5:0x28f,_0x3eb113:0xc0,_0x2704aa:0x85d},_0x51f6dc={_0x18d3a7:0xd2};function _0x5ddc03(_0x388f34,_0x4e6c6d,_0x5f4121,_0x336e95){return _0x47b891(_0x336e95,_0x5f4121- -0x578,_0x5f4121-0x4c,_0x336e95-0x2a);}if(_0x25e220[_0x5ddc03(_0x125dbb._0x56a335,_0x125dbb._0x2774b5,_0x125dbb._0x3eb113,0x2b0)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0xecdb50(_0x2e9171,_0x16e3e0,_0x372a43,_0x147e19){return _0x47b891(_0x16e3e0,_0x2e9171-0x189,_0x372a43-_0x51f6dc._0x18d3a7,_0x147e19-0x4a);}return _0x25e220[_0xecdb50(0x78a,0x905,0x930,_0x125dbb._0x2704aa)](_0x1e117b=>_0x1e117b['to'][_0x5ddc03(0x1d,-0x20c,-0x191,-0x397)])['join']('\x0a');}function toStructured(_0x4ae853){const _0x3e6f1c={_0x1a91d5:0x8eb,_0x22afc9:0x705,_0x45f80a:0x5fc};function _0x40d60b(_0x3a97c8,_0x1fbc9f,_0x4943da,_0x50076f){return _0x47b891(_0x1fbc9f,_0x4943da-0x158,_0x4943da-0x1a4,_0x50076f-0x1f);}return JSON['parse'](JSON[_0x40d60b(0x5bb,_0x3e6f1c._0x1a91d5,_0x3e6f1c._0x22afc9,_0x3e6f1c._0x45f80a)](_0x4ae853));}function _0xe18bb0(_0x4ba2f8,_0x51dd54,_0x52024f,_0x49fea9){const _0x39562e={_0x133ae6:0x2b0};return _0x678a(_0x51dd54- -_0x39562e._0x133ae6,_0x4ba2f8);}async function assertFile(_0x4e5da9){const _0x4e9df1=await _0xe80f96(_0x4e5da9);if(!_0x4e9df1['isFile']())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x4e5da9,{'path':_0x4e5da9});}function validatePosition(_0x29ecbc,_0x12e691){const _0x48b8fb={_0x3eca66:0x3c7,_0x4d01d5:0x4fc,_0x3f68bc:0x710,_0x9e8823:0x878},_0x40135f={_0xb0040:0x17e},_0x56198e={_0x308344:0xef};function _0x526522(_0x3f82c7,_0x19c002,_0x4a250a,_0x5e6992){return _0x47b891(_0x19c002,_0x4a250a-_0x56198e._0x308344,_0x4a250a-0x117,_0x5e6992-0xa0);}if(!Number['isInteger'](_0x29ecbc)||_0x29ecbc<0x1)throw new ToolExecutionError('line\x20must\x20be\x20a\x20positive\x20integer',{'line':_0x29ecbc});function _0x28625d(_0x5b9fe8,_0x3dff79,_0x40d9cc,_0x4dc4bd){return _0x47b891(_0x40d9cc,_0x5b9fe8- -0x93,_0x40d9cc-0x176,_0x4dc4bd-_0x40135f._0xb0040);}if(!Number[_0x526522(_0x48b8fb._0x3eca66,0x3ce,_0x48b8fb._0x4d01d5,0x61b)](_0x12e691)||_0x12e691<0x1)throw new ToolExecutionError(_0x28625d(0x6a6,_0x48b8fb._0x3f68bc,0x86f,_0x48b8fb._0x9e8823),{'character':_0x12e691});}function createLspTool(_0xee114b={}){const _0x536925={_0x3f453e:0x362,_0x31c25c:0x4ad,_0x917acb:0x0,_0x9067d2:0xe0,_0x45f05c:0xc2,_0x358538:0x20,_0x557511:0x1b4,_0x3dfe3a:0x442,_0x474ed5:0x256,_0x16e846:0x1a7,_0x46be09:0x3,_0x17d1d4:0x152,_0x4b89cc:0x1c7,_0xae58cd:0x1b0,_0x33ca64:0x5a,_0x22201f:0x16e,_0x457eea:0x275,_0x5f9d6e:0x480,_0x16c2ce:0x31d,_0x31fce6:0x1b5,_0x325c72:0x43f,_0x1c5713:0x422,_0x48b7c4:0x604,_0x31f217:0x386,_0xc5dd2:0x575,_0x3dc4f7:0x58d,_0x78df0c:0x4c7,_0x3419b7:0x421,_0x5607be:0x2b7,_0x32b9dd:0x293,_0xbd064a:0x52a,_0x478fc5:0x168,_0xf79af4:0x30,_0x81c385:0x6c2,_0x52b9a2:0x381,_0x4ad66d:0x145,_0x406d0b:0x41c,_0x92f3d:0x79d,_0x28a8c8:0x373,_0x3321f7:0x1b1},_0x27ebb2={_0x3edaf4:0x4db,_0x5c55d7:0x429,_0x33fd9e:0x3e8,_0x3346ec:0x14a,_0x3c1465:0x8d,_0x119c96:0x344,_0x1b8bf2:0x213,_0xc727ad:0x3d1,_0x20d9cf:0x2e3,_0x17abee:0x105,_0x4918a8:0x3e6,_0x1af3bf:0x577,_0x42a446:0x289,_0x1c6cf0:0x3c4,_0x2f94d7:0x433,_0x44f208:0x53e,_0x37858c:0x265,_0x3fe1b6:0x3f9,_0x24076f:0x306,_0x47d945:0x19c,_0x5e23ed:0x364,_0x5b8b98:0x26d,_0x2fd925:0x467,_0x3df978:0xe3,_0x107a0e:0x400,_0x5567c9:0x3a0,_0x170917:0x50e,_0x5267a1:0x3e6,_0x252b57:0x41f,_0x410df6:0x328,_0xa0cf09:0x1e0,_0x2d931d:0x3d2,_0x56683f:0x2b9,_0x3eeecc:0x2e7,_0x3331d5:0x390,_0x42f4d9:0x389,_0x3c6680:0x2a9,_0xf25afa:0x492,_0x534752:0x2eb,_0x41e1d9:0x1f4,_0x404bd5:0x519,_0x3cf156:0x418,_0x2e5644:0x4fa,_0x50d881:0x3c8,_0x4ec393:0x40b,_0x491393:0x411,_0x1d1af5:0xe5,_0x3f6557:0x165,_0x35340a:0x2a9,_0x57abb1:0x182,_0x3007c8:0x490,_0x26ec41:0x2f3,_0x24c7ba:0x159,_0x48f4b6:0x26a,_0x56d003:0x35d,_0x500647:0x200,_0x381720:0x257,_0x408ac6:0x146,_0x45b260:0x2a9,_0x2f00fd:0x1a3,_0x574dd8:0x193,_0x2330e7:0x20c,_0x561bd6:0x13,_0x436984:0x284,_0x4cc7c4:0x116,_0x5df8ee:0x43f,_0x2fe838:0x3d0,_0x1a6bf1:0x2a8},_0x3a2a86={_0x5c3178:0x2},_0x1f50a4={_0x5778b1:0x18c},_0x5e82f6={_0x41fed3:0x3c1,_0x3b5f17:0x173};function _0x60ae10(_0x5a7b88,_0x4a9a04,_0xe21a58,_0x50f62d){return _0xe18bb0(_0xe21a58,_0x5a7b88-_0x5e82f6._0x41fed3,_0xe21a58-_0x5e82f6._0x3b5f17,_0x50f62d-0x8e);}function _0x3d5a7a(_0x294b50,_0x42549e,_0x4824b0,_0x33732c){return _0x47b891(_0x33732c,_0x42549e- -0x407,_0x4824b0-0x1ce,_0x33732c-_0x1f50a4._0x5778b1);}const _0x156452=_0x212f25[_0x60ae10(_0x536925._0x3f453e,_0x536925._0x31c25c,0x2d2,0x363)](_0xee114b['defaultCwd']??process[_0x3d5a7a(-0xe9,_0x536925._0x917acb,_0x536925._0x9067d2,-_0x536925._0x45f05c)]()),_0x50245b=_0xee114b['allowedDirs']??[],_0x4c8754=_0xee114b[_0x3d5a7a(0x8b,-_0x536925._0x358538,-_0x536925._0x557511,0x12)]??_0x60ae10(_0x536925._0x3dfe3a,0x3e4,_0x536925._0x474ed5,0x520);return defineTool({'name':_0x4c8754,'permissionClass':'read','description':_0x3d5a7a(_0x536925._0x16e846,_0x536925._0x46be09,-0x185,_0x536925._0x17d1d4),'inputSchema':{'type':'object','properties':{'operation':{'type':_0x3d5a7a(_0x536925._0x4b89cc,_0x536925._0xae58cd,-_0x536925._0x33ca64,_0x536925._0x22201f),'enum':['goToDefinition',_0x3d5a7a(0x145,0x2ef,_0x536925._0x457eea,_0x536925._0x5f9d6e),_0x3d5a7a(0x2a5,_0x536925._0x16c2ce,0x156,_0x536925._0x31fce6),_0x3d5a7a(_0x536925._0x325c72,0x2e4,0x4e3,0x140),_0x60ae10(_0x536925._0x1c5713,0x5a5,_0x536925._0x48b7c4,_0x536925._0x31f217),_0x60ae10(_0x536925._0xc5dd2,_0x536925._0x3dc4f7,_0x536925._0x78df0c,_0x536925._0x3419b7),'prepareCallHierarchy',_0x60ae10(0x398,_0x536925._0x5607be,0x1bb,_0x536925._0x32b9dd),_0x60ae10(_0x536925._0xbd064a,0x48b,0x45f,0x655),'diagnostics']},'filePath':{'type':'string'},'line':{'type':'number'},'character':{'type':_0x3d5a7a(-_0x536925._0x478fc5,-_0x536925._0xf79af4,-0x1a5,0x19d)},'query':{'type':_0x60ae10(0x4e7,0x4eb,_0x536925._0x81c385,_0x536925._0x52b9a2)}},'required':[_0x3d5a7a(0x1ba,0x2c7,_0x536925._0x4ad66d,_0x536925._0x406d0b),_0x60ae10(0x59f,0x787,_0x536925._0x92f3d,0x562),'line',_0x3d5a7a(0x320,_0x536925._0x28a8c8,_0x536925._0x3321f7,0x2ee)]},async *'execute'(_0x9e8512,_0x20f089){const _0x3badd3=_0xee114b[_0x1b5b7c(0x275,_0x27ebb2._0x3edaf4,_0x27ebb2._0x5c55d7,_0x27ebb2._0x33fd9e)];if(!_0x3badd3)throw new ToolExecutionError(_0x1b5b7c(_0x27ebb2._0x3346ec,0x29a,0x85,_0x27ebb2._0x3c1465));if(!_0x3badd3[_0x590d52(_0x27ebb2._0x119c96,_0x27ebb2._0x1b8bf2,0x4ae,_0x27ebb2._0xc727ad)]())throw new ToolExecutionError(_0x1b5b7c(0x3c4,_0x27ebb2._0x20d9cf,_0x27ebb2._0x17abee,0x1f2));const _0x40816f=_0x9e8512[_0x590d52(0x565,0x580,0x28a,0x37c)];validatePosition(_0x9e8512['line'],_0x9e8512[_0x1b5b7c(0x454,0x4c6,0x525,_0x27ebb2._0x4918a8)]);if(_0x40816f==='workspaceSymbol'){if(!_0x9e8512[_0x590d52(0x30c,_0x27ebb2._0x1af3bf,_0x27ebb2._0x42a446,0x3a6)]?.[_0x590d52(0x2dc,_0x27ebb2._0x1c6cf0,0x356,_0x27ebb2._0x2f94d7)]())throw new ToolExecutionError(_0x590d52(0x201,_0x27ebb2._0x44f208,_0x27ebb2._0x37858c,_0x27ebb2._0x3fe1b6));const _0x590fbd=await awaitWithAbort2(_0x3badd3[_0x590d52(_0x27ebb2._0x24076f,0x272,_0x27ebb2._0x47d945,0x1a0)](_0x9e8512[_0x1b5b7c(0x3f4,0x50a,0x2e9,_0x27ebb2._0x5e23ed)]['trim']()),_0x20f089[_0x1b5b7c(_0x27ebb2._0x5b8b98,_0x27ebb2._0x2fd925,0x264,0x2a9)]);return yield createToolOutput(formatSymbols(_0x590fbd),{'operation':_0x40816f,'query':_0x9e8512['query'],'symbols':_0x590fbd}),void 0x0;}const _0x4219da=resolveAllowedPath(_0x156452,_0x50245b,_0x9e8512['filePath']);await assertFile(_0x4219da);function _0x1b5b7c(_0x48c99b,_0x2421d6,_0x2390dd,_0x121702){return _0x60ae10(_0x121702- -0x2c4,_0x2421d6-_0x3a2a86._0x5c3178,_0x48c99b,_0x121702-0x44);}function _0x590d52(_0x173b2b,_0x3e6a7e,_0x2e67fd,_0x3eec79){return _0x60ae10(_0x3eec79- -0x282,_0x3e6a7e-0xea,_0x2e67fd,_0x3eec79-0x29);}if(!await awaitWithAbort2(_0x3badd3['hasClients'](_0x4219da),_0x20f089[_0x590d52(_0x27ebb2._0x3df978,_0x27ebb2._0x107a0e,0x45f,0x2eb)]))throw new ToolExecutionError(_0x590d52(0x3b2,0x299,_0x27ebb2._0x5567c9,0x208)+_0x9e8512['filePath'],{'filePath':_0x9e8512['filePath']});await awaitWithAbort2(_0x3badd3[_0x1b5b7c(0x37c,_0x27ebb2._0x170917,0x52d,0x3d5)](_0x4219da,!![]),_0x20f089['signal']);const _0x152890={'file':_0x4219da,'line':_0x9e8512[_0x1b5b7c(0x1b7,0xaa,-0x143,0x75)]-0x1,'character':_0x9e8512[_0x1b5b7c(0x3bf,0x355,0x4c3,_0x27ebb2._0x5267a1)]-0x1};switch(_0x40816f){case _0x590d52(_0x27ebb2._0x252b57,_0x27ebb2._0x410df6,_0x27ebb2._0xa0cf09,_0x27ebb2._0x2d931d):{const _0x15ec79=await awaitWithAbort2(_0x3badd3[_0x1b5b7c(_0x27ebb2._0x56683f,0x34c,_0x27ebb2._0x3eeecc,_0x27ebb2._0x3331d5)](_0x152890),_0x20f089[_0x1b5b7c(0x389,0x3af,_0x27ebb2._0x42f4d9,_0x27ebb2._0x3c6680)]);return yield createToolOutput(formatHover(_0x15ec79),{'operation':_0x40816f,'filePath':_0x4219da,'hover':_0x15ec79}),void 0x0;}case'diagnostics':{const _0x2078c5=await awaitWithAbort2(_0x3badd3['diagnosticsForFile'](_0x4219da),_0x20f089[_0x590d52(_0x27ebb2._0xf25afa,0x3c6,0x277,_0x27ebb2._0x534752)]);return yield createToolOutput(formatDiagnostics(_0x2078c5),{'operation':_0x40816f,'filePath':_0x4219da,'diagnostics':_0x2078c5}),void 0x0;}case _0x590d52(0xfc,_0x27ebb2._0x41e1d9,0x211,0x207):{const _0x4496c5=await awaitWithAbort2(_0x3badd3[_0x590d52(_0x27ebb2._0x404bd5,_0x27ebb2._0x3cf156,_0x27ebb2._0x2e5644,_0x27ebb2._0x50d881)](_0x152890),_0x20f089['signal']);return yield createToolOutput(formatLocations(_0x4496c5),{'operation':_0x40816f,'filePath':_0x4219da,'locations':_0x4496c5}),void 0x0;}case'findReferences':{const _0x23a2c9=await awaitWithAbort2(_0x3badd3[_0x590d52(0x5f8,_0x27ebb2._0x4ec393,0x485,_0x27ebb2._0x491393)](_0x152890),_0x20f089[_0x1b5b7c(_0x27ebb2._0x1d1af5,_0x27ebb2._0x107a0e,_0x27ebb2._0x3f6557,_0x27ebb2._0x35340a)]);return yield createToolOutput(formatLocations(_0x23a2c9),{'operation':_0x40816f,'filePath':_0x4219da,'locations':_0x23a2c9}),void 0x0;}case _0x590d52(0x450,_0x27ebb2._0x57abb1,_0x27ebb2._0x3007c8,_0x27ebb2._0x26ec41):{const _0x287764=await awaitWithAbort2(_0x3badd3[_0x1b5b7c(_0x27ebb2._0x24c7ba,0x4de,_0x27ebb2._0x48f4b6,_0x27ebb2._0x56d003)](_0x152890),_0x20f089[_0x1b5b7c(_0x27ebb2._0x500647,_0x27ebb2._0x381720,_0x27ebb2._0x408ac6,_0x27ebb2._0x45b260)]);return yield createToolOutput(formatLocations(_0x287764),{'operation':_0x40816f,'filePath':_0x4219da,'locations':_0x287764}),void 0x0;}case'documentSymbol':{const _0x2f9f3d=await awaitWithAbort2(_0x3badd3['documentSymbol'](_0x4219da),_0x20f089['signal']);return yield createToolOutput(formatSymbols(_0x2f9f3d),{'operation':_0x40816f,'filePath':_0x4219da,'symbols':_0x2f9f3d}),void 0x0;}case _0x1b5b7c(_0x27ebb2._0x2f00fd,0xf9,_0x27ebb2._0x574dd8,0x154):{const _0x450b10=await awaitWithAbort2(_0x3badd3['prepareCallHierarchy'](_0x152890),_0x20f089['signal']);return yield createToolOutput(formatSymbols(_0x450b10),{'operation':_0x40816f,'filePath':_0x4219da,'symbols':toStructured(_0x450b10)}),void 0x0;}case _0x590d52(_0x27ebb2._0x2330e7,-_0x27ebb2._0x561bd6,_0x27ebb2._0x436984,_0x27ebb2._0x4cc7c4):{const _0x167cbd=await awaitWithAbort2(_0x3badd3['incomingCalls'](_0x152890),_0x20f089['signal']);return yield createToolOutput(formatIncomingCalls(_0x167cbd),{'operation':_0x40816f,'filePath':_0x4219da,'calls':toStructured(_0x167cbd)}),void 0x0;}case _0x1b5b7c(0x25e,0xd6,0xcf,0x266):{const _0xb705a1=await awaitWithAbort2(_0x3badd3[_0x590d52(0x97,_0x27ebb2._0x5df8ee,_0x27ebb2._0x2fe838,_0x27ebb2._0x1a6bf1)](_0x152890),_0x20f089['signal']);return yield createToolOutput(formatOutgoingCalls(_0xb705a1),{'operation':_0x40816f,'filePath':_0x4219da,'calls':toStructured(_0xb705a1)}),void 0x0;}}}});}import*as _0x11826e from'path';function buildDescription(_0x3bd78d){const _0x523a3b={_0x70638d:0x9ea,_0x3c908f:0x82f,_0x1fc2bd:0x821,_0x48f5e0:0x304,_0x52d3d1:0x32a,_0x1bbcbe:0x11d,_0x305e7f:0x48a,_0x35b608:0x6f4,_0x5edfee:0x519,_0x7e9a0a:0x5ef,_0x38e1d1:0x970,_0x136bef:0x74e,_0x3e3429:0x7ea,_0x2aa8f3:0x5c9,_0x3bf9b2:0x75c},_0x4b672c={_0x42d1a6:0x102,_0x5d44a8:0x12},_0x357770={_0x20117b:0x1e9};function _0x6facc4(_0x18e7f8,_0x5dd5ea,_0x5e023f,_0x49519f){return _0x47b891(_0x5dd5ea,_0x49519f-_0x357770._0x20117b,_0x5e023f-0xbf,_0x49519f-0xfa);}if(_0x3bd78d[_0x6facc4(_0x523a3b._0x70638d,_0x523a3b._0x3c908f,0x9b6,_0x523a3b._0x1fc2bd)]===0x0)return'Load\x20a\x20skill\x20by\x20name\x20to\x20get\x20detailed\x20task\x20instructions.\x20No\x20skills\x20are\x20currently\x20available.';function _0x422d83(_0x31563c,_0x28c643,_0x574cfa,_0x2b9799){return _0xe18bb0(_0x31563c,_0x574cfa-0x228,_0x574cfa-_0x4b672c._0x42d1a6,_0x2b9799-_0x4b672c._0x5d44a8);}const _0x16c3f9=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x422d83(0x3dc,_0x523a3b._0x48f5e0,_0x523a3b._0x52d3d1,_0x523a3b._0x1bbcbe),_0x422d83(_0x523a3b._0x305e7f,_0x523a3b._0x35b608,_0x523a3b._0x5edfee,_0x523a3b._0x7e9a0a),'Available\x20skills\x20(skill_name:\x20description):',..._0x3bd78d[_0x6facc4(0x88c,_0x523a3b._0x38e1d1,_0x523a3b._0x136bef,_0x523a3b._0x3e3429)](_0x4d5912=>'-\x20'+_0x4d5912[_0x6facc4(0x5d8,0x656,0x5dc,0x5d0)]+':\x20'+_0x4d5912[_0x6facc4(0x769,0x603,0x3cd,0x578)])];return _0x16c3f9[_0x6facc4(_0x523a3b._0x2aa8f3,0x69d,0x6e7,_0x523a3b._0x3bf9b2)]('\x0a');}function createLoadSkillTool(_0x11d17d){const _0x29b2a1={_0x2116b4:0x33b,_0x4fd309:0x18b,_0x54dfce:0x203,_0x21ee96:0x15e,_0x24db35:0x111,_0x1b67ce:0x86,_0x3c409d:0xcd,_0x155648:0x37b,_0x458c70:0x42a,_0x484480:0x558,_0x2d2cde:0xf2,_0x564516:0x5c,_0x127759:0x223,_0x34a974:0x1b0},_0x3d731e={_0x33f140:0x7d8,_0x11ba83:0x4ff,_0x2c07ef:0x830,_0x1c6daf:0x69e,_0x4c88c9:0x3c6,_0x293a27:0x60a,_0x2e18c5:0x54b,_0x13a960:0xa7,_0x57cd21:0x168,_0x1bffa9:0x179,_0x3582ac:0xfc,_0x1901d1:0x8ae,_0x4ee7fb:0x24,_0x4a20bb:0x18c,_0x4b7f33:0x1b4,_0xb1e59d:0x1bf,_0x1d19c0:0x49,_0x5d672a:0x69,_0x4cb6f2:0x26f,_0x306b2d:0x220,_0x5965ee:0x390,_0x1f76ec:0x3be,_0xa9e3af:0x264,_0x489edb:0x5a2,_0x3ee2fa:0x824,_0x226aa2:0x779},_0x32219c={_0x3cc173:0xe1},_0x4a4c9d={_0x26001a:0x1d2,_0x4ccb07:0x1},_0x103883={_0x4f1a62:0x3bb,_0x69f8f7:0x83};function _0x42dfe2(_0x56ab89,_0x35ff6b,_0x2ad624,_0x39c83b){return _0x47b891(_0x39c83b,_0x35ff6b- -_0x103883._0x4f1a62,_0x2ad624-_0x103883._0x69f8f7,_0x39c83b-0x79);}const _0x579a4a=new Map(_0x11d17d[_0x233976(_0x29b2a1._0x2116b4,_0x29b2a1._0x4fd309,_0x29b2a1._0x54dfce,_0x29b2a1._0x21ee96)]['map'](_0x2fda88=>[_0x2fda88['name'],_0x2fda88])),_0x18de19=buildDescription(_0x11d17d[_0x42dfe2(-_0x29b2a1._0x24db35,_0x29b2a1._0x1b67ce,-0x4a,0x35)]);function _0x233976(_0x55f6bf,_0x261c9c,_0x1027c3,_0x2250c2){return _0xe18bb0(_0x2250c2,_0x261c9c-0x1db,_0x1027c3-0x10,_0x2250c2-0x3e);}return defineTool({'name':_0x42dfe2(0x114,_0x29b2a1._0x3c409d,-0xf9,-0x4d),'permissionClass':'read','description':_0x18de19,'inputSchema':{'type':_0x233976(_0x29b2a1._0x155648,_0x29b2a1._0x458c70,0x514,_0x29b2a1._0x484480),'properties':{'name':{'type':_0x233976(0x238,0x301,0x367,_0x29b2a1._0x2d2cde)}},'required':[_0x42dfe2(-_0x29b2a1._0x564516,0x2c,_0x29b2a1._0x127759,-_0x29b2a1._0x34a974)]},async *'execute'(_0x29678c){const _0x551e4a=_0x579a4a[_0x54dfc6(_0x3d731e._0x33f140,_0x3d731e._0x11ba83,_0x3d731e._0x2c07ef,_0x3d731e._0x1c6daf)](_0x29678c[_0x54dfc6(0x464,_0x3d731e._0x4c88c9,0x6b1,0x558)]);if(!_0x551e4a){const _0x5ac81b=Array[_0x54dfc6(0x5eb,0x465,_0x3d731e._0x293a27,_0x3d731e._0x2e18c5)](_0x579a4a['keys']())[_0x4e9d21(-_0x3d731e._0x13a960,_0x3d731e._0x57cd21,_0x3d731e._0x1bffa9,_0x3d731e._0x3582ac)](',\x20');throw new ToolExecutionError(_0x54dfc6(0x7da,_0x3d731e._0x1901d1,0x76d,0x845)+_0x29678c[_0x4e9d21(-0x112,-_0x3d731e._0x4ee7fb,-0x96,0x1)]+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x5ac81b,{'name':_0x29678c['name']});}function _0x54dfc6(_0x4e89de,_0x2b881c,_0x421573,_0x2aa38c){return _0x42dfe2(_0x4e89de-_0x4a4c9d._0x26001a,_0x2aa38c-0x52c,_0x421573-_0x4a4c9d._0x4ccb07,_0x2b881c);}const _0x3b9352=await _0x11d17d[_0x4e9d21(_0x3d731e._0x4a20bb,0x2a7,0x49c,0x1dc)](_0x551e4a),_0x48bfe0=_0x551e4a['source'][_0x4e9d21(-0x185,0x7f,0xf2,_0x3d731e._0x4b7f33)]??_0x11826e[_0x54dfc6(0x620,0x63c,0x4eb,0x5ac)](_0x551e4a['source'][_0x4e9d21(_0x3d731e._0xb1e59d,0x1fd,0x12c,0x18e)]);function _0x4e9d21(_0x225735,_0x5313f1,_0xcc458e,_0xc6b16e){return _0x42dfe2(_0x225735-_0x32219c._0x3cc173,_0x5313f1- -0x50,_0xcc458e-0x196,_0x225735);}const _0x167ef6=[_0x4e9d21(0x15a,-_0x3d731e._0x1d19c0,-0x4d,0x1c0)+_0x3b9352['name'],'',_0x3b9352['instructions'],'',_0x4e9d21(_0x3d731e._0x5d672a,-0x67,-0x171,-0x215),'Loaded\x20from:\x20'+_0x551e4a[_0x4e9d21(_0x3d731e._0x4cb6f2,0x297,0x119,0x3c7)][_0x4e9d21(_0x3d731e._0x306b2d,0x1fd,0x3da,0xb7)],_0x4e9d21(0x383,_0x3d731e._0x5965ee,_0x3d731e._0x1f76ec,_0x3d731e._0xa9e3af)+_0x48bfe0][_0x4e9d21(0x1c0,0x168,0x3e,0x1d9)]('\x0a');return yield createToolOutput(_0x167ef6,{'id':_0x3b9352['id'],'name':_0x3b9352[_0x54dfc6(0x40a,0x6a1,0x3a4,0x558)],'path':_0x551e4a['source'][_0x54dfc6(_0x3d731e._0x489edb,_0x3d731e._0x3ee2fa,0x8a0,_0x3d731e._0x226aa2)],'baseDirectory':_0x48bfe0}),void 0x0;}});}var TODO_STATUSES=new Set([_0xe18bb0(0x143,0x2e4,0x3cb,0x3d4),'in_progress',_0x47b891(0x482,0x482,0x65f,0x2a3)]),TODO_PRIORITIES=new Set([_0x47b891(0x2df,0x3ed,0x541,0x428),_0x47b891(0x5a2,0x420,0x270,0x551),_0x47b891(0x67b,0x5ee,0x4af,0x3f4)]);function isTodoStatus(_0x5c1d27){const _0x4eb689={_0x23a5db:0x584,_0x84b1c4:0x400,_0x2b9faa:0x524,_0x16c09b:0x10e,_0x4aaf88:0x20f},_0x24a9dd={_0x1d39d1:0x93},_0x4eb7ff={_0x59edee:0x5a,_0x1af1a3:0x1b1};function _0x5510fb(_0x317dff,_0x5608b5,_0x5a87da,_0x11380b){return _0xe18bb0(_0x5a87da,_0x317dff- -_0x4eb7ff._0x59edee,_0x5a87da-_0x4eb7ff._0x1af1a3,_0x11380b-0x8e);}function _0xf303b2(_0x366739,_0x336f5c,_0x1c3264,_0x1947cd){return _0x47b891(_0x336f5c,_0x1947cd- -_0x24a9dd._0x1d39d1,_0x1c3264-0xfb,_0x1947cd-0xa);}return typeof _0x5c1d27===_0xf303b2(0x562,_0x4eb689._0x23a5db,_0x4eb689._0x84b1c4,_0x4eb689._0x2b9faa)&&TODO_STATUSES[_0x5510fb(0x213,0x2c6,_0x4eb689._0x16c09b,_0x4eb689._0x4aaf88)](_0x5c1d27);}function isTodoPriority(_0x3313dd){const _0x5928df={_0x336999:0x6c0,_0x1cc7ae:0x703,_0x38573d:0x894},_0x11b118={_0x558e35:0x1c8},_0x4a3f93={_0x48dd52:0x16,_0x49fcf2:0x4a};function _0x5b58eb(_0x4be303,_0x3eca32,_0x615bc0,_0x1c7d23){return _0x47b891(_0x1c7d23,_0x615bc0-_0x4a3f93._0x48dd52,_0x615bc0-0x13e,_0x1c7d23-_0x4a3f93._0x49fcf2);}function _0x58871f(_0x172f55,_0x1d2919,_0x585fe9,_0x1007e1){return _0x47b891(_0x585fe9,_0x1007e1-0x196,_0x585fe9-0xe8,_0x1007e1-_0x11b118._0x558e35);}return typeof _0x3313dd===_0x5b58eb(0x627,0x495,0x5cd,_0x5928df._0x336999)&&TODO_PRIORITIES[_0x58871f(0x931,_0x5928df._0x1cc7ae,0x833,_0x5928df._0x38573d)](_0x3313dd);}var TodoStore=class{[_0x47b891(0x33e,0x522,0x454,0x703)]=new Map();[_0x47b891(0x550,0x3ff,0x547,0x2e8)](_0x2b4a8b){const _0x4c2511={_0x1ac3a4:0x67f,_0x335a42:0x59a},_0x1566e3={_0x2fe131:0x4fe,_0xc0fc04:0x1a4};function _0x3764f3(_0x3c7984,_0x31ceed,_0x5efec5,_0x183db4){return _0xe18bb0(_0x3c7984,_0x183db4-_0x1566e3._0x2fe131,_0x5efec5-0x12,_0x183db4-_0x1566e3._0xc0fc04);}return this['todosBySession'][_0x3764f3(_0x4c2511._0x1ac3a4,0x706,0x542,_0x4c2511._0x335a42)](_0x2b4a8b)??[];}[_0xe18bb0(0xc0,0x14e,0x23c,0x239)](_0x323887,_0x476742){const _0x27e56a={_0x594d54:0xce,_0x500d61:0x66,_0x5bab3a:0x8};function _0x465686(_0x314fd3,_0x277a0f,_0xdbf54,_0xa6dc42){return _0xe18bb0(_0xdbf54,_0xa6dc42-0x89,_0xdbf54-0x1cf,_0xa6dc42-0xf3);}this['todosBySession'][_0x465686(0x10,_0x27e56a._0x594d54,_0x27e56a._0x500d61,-_0x27e56a._0x5bab3a)](_0x323887,_0x476742);}[_0xe18bb0(0x29a,0x158,0x22d,-0x81)](_0x32a316){const _0x4270f3={_0x3717ec:0x2a6,_0x375d87:0xb5,_0x53365b:0xc8,_0x373c23:0x143,_0x12e4e6:0x1f7,_0x52f505:0x24e,_0x507e73:0x31d,_0x42dacf:0xc7,_0x394e62:0x260,_0x3ad8b1:0x86,_0x1992cb:0x2d,_0x48cef9:0x198,_0x2e1498:0xf4,_0x371bfb:0xe8,_0x58ef0a:0xa8,_0x1902b2:0xa5,_0x51b80a:0x272},_0x3a3180={_0x41c31b:0x4f5,_0x3dc83d:0xf7,_0x4adeea:0x1c3},_0x51160e={_0x2c7945:0xbd},_0x4cf374=this[_0x97045a(-_0x4270f3._0x3717ec,-0xf6,-_0x4270f3._0x375d87,-0x13b)](_0x32a316),_0x9ac2c1={'total':_0x4cf374[_0x97045a(-_0x4270f3._0x53365b,_0x4270f3._0x373c23,_0x4270f3._0x12e4e6,0x318)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x50c17e(_0x4750e8,_0x4e60b4,_0x13d71c,_0x179a00){return _0xe18bb0(_0x179a00,_0x4750e8- -0x96,_0x13d71c-0x1e,_0x179a00-_0x51160e._0x2c7945);}for(const _0x5704cd of _0x4cf374){if(_0x5704cd['status']===_0x50c17e(_0x4270f3._0x52f505,0x234,_0x4270f3._0x507e73,_0x4270f3._0x42dacf))_0x9ac2c1[_0x97045a(0x415,0x280,0xfc,0x3a6)]+=0x1;else{if(_0x5704cd[_0x50c17e(0x182,_0x4270f3._0x394e62,-_0x4270f3._0x3ad8b1,-_0x4270f3._0x1992cb)]===_0x50c17e(_0x4270f3._0x48cef9,-0x43,0x97,_0x4270f3._0x2e1498))_0x9ac2c1[_0x97045a(_0x4270f3._0x371bfb,-_0x4270f3._0x58ef0a,-0x130,0x29)]+=0x1;else _0x9ac2c1[_0x50c17e(-_0x4270f3._0x1902b2,0x5f,-_0x4270f3._0x51b80a,-0x88)]+=0x1;}}function _0x97045a(_0x9c2d1a,_0x2d4230,_0x34accd,_0x323261){return _0x47b891(_0x34accd,_0x2d4230- -_0x3a3180._0x41c31b,_0x34accd-_0x3a3180._0x3dc83d,_0x323261-_0x3a3180._0x4adeea);}return _0x9ac2c1;}};function validateTodos(_0x485b4e){const _0x418fd5={_0x149985:0x6c9,_0x4bc123:0x700,_0x212f6a:0x737,_0x29aeff:0x692,_0x2748cd:0x75c,_0x558c11:0x75a,_0x563f82:0x72c,_0x167063:0x924,_0x5cc42e:0x71f,_0x31049f:0x8a2,_0x8ae99:0x68b,_0x3d671c:0x7fc,_0x446c82:0x75a,_0x1939c6:0x6e9,_0x27aee1:0x603,_0x4bbf6a:0x8d7,_0xebe58a:0x8cc,_0x5e9292:0x48b,_0x314ae9:0x66a,_0x348335:0x54a,_0x5ac273:0x3cb,_0x1b757d:0x866,_0x3512fb:0x8df,_0x431c80:0x6d9,_0x284182:0x76e,_0x1e2b62:0x4e1,_0x424797:0x578,_0x39a917:0x734,_0x536b88:0x6ba,_0x3d63ac:0x5f3,_0x50b48f:0x827,_0x57de30:0x5dc,_0x48a52c:0x77b,_0x488fdf:0x888,_0x127600:0x8af,_0x326f90:0x73b,_0x9db86f:0x6b0,_0x3174b6:0x66e,_0x4983af:0x6ad,_0x3d6451:0x821,_0x402f7e:0x42d,_0x286119:0x358,_0x4e59fb:0x773,_0x58bee0:0x7fd,_0x3d4d75:0x721,_0xe26059:0x5c6},_0x29b7bb={_0x18b39b:0x122,_0x5de037:0x5e};if(!Array[_0x14b8f6(0x778,0x501,0x663,_0x418fd5._0x149985)](_0x485b4e[_0x12449e(_0x418fd5._0x4bc123,0x58d,_0x418fd5._0x212f6a,_0x418fd5._0x29aeff)])||_0x485b4e[_0x14b8f6(0x875,0x8f9,0x71f,0x894)][_0x14b8f6(0x8a0,_0x418fd5._0x2748cd,_0x418fd5._0x558c11,_0x418fd5._0x563f82)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':'invalid_todos'});for(let _0x587582=0x0;_0x587582<_0x485b4e[_0x14b8f6(0x5f7,_0x418fd5._0x167063,_0x418fd5._0x5cc42e,_0x418fd5._0x31049f)][_0x14b8f6(_0x418fd5._0x8ae99,_0x418fd5._0x3d671c,_0x418fd5._0x446c82,_0x418fd5._0x1939c6)];_0x587582+=0x1){const _0x644210=_0x485b4e[_0x14b8f6(_0x418fd5._0x27aee1,0x625,0x71f,_0x418fd5._0x4bbf6a)][_0x587582];if(!_0x644210||typeof _0x644210!==_0x14b8f6(0x930,_0x418fd5._0xebe58a,0x802,0x858))throw new ToolExecutionError(_0x12449e(0x4e1,0x598,_0x418fd5._0x5e9292,_0x418fd5._0x314ae9)+(_0x587582+0x1)+_0x12449e(_0x418fd5._0x348335,0x624,_0x418fd5._0x5ac273,0x5de),{'error':_0x14b8f6(_0x418fd5._0x1b757d,0x6f4,0x7b6,_0x418fd5._0x3512fb)});if(typeof _0x644210['id']!==_0x14b8f6(0x85d,0x635,_0x418fd5._0x431c80,_0x418fd5._0x284182)||_0x644210['id']['trim']()['length']===0x0)throw new ToolExecutionError(_0x12449e(_0x418fd5._0x1e2b62,0x2f0,_0x418fd5._0x424797,0x3a8)+(_0x587582+0x1)+':\x20id\x20required',{'error':_0x12449e(0x761,0x950,_0x418fd5._0x39a917,0x6df)});if(typeof _0x644210['content']!==_0x12449e(_0x418fd5._0x536b88,_0x418fd5._0x3d63ac,_0x418fd5._0x50b48f,0x8a5)||_0x644210[_0x12449e(0x691,_0x418fd5._0x57de30,_0x418fd5._0x48a52c,0x808)][_0x12449e(_0x418fd5._0x488fdf,_0x418fd5._0x127600,0x7de,0x73f)]()[_0x12449e(_0x418fd5._0x326f90,0x613,0x697,0x837)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x587582+0x1)+_0x12449e(0x7ce,_0x418fd5._0x9db86f,0x5c6,0x832),{'error':_0x14b8f6(_0x418fd5._0x3174b6,0x79c,0x594,0x581)});if(!isTodoStatus(_0x644210['status']))throw new ToolExecutionError('Todo\x20'+(_0x587582+0x1)+':\x20invalid\x20status',{'error':_0x12449e(0x72f,_0x418fd5._0x4983af,0x5bf,_0x418fd5._0x3d6451)});if(!isTodoPriority(_0x644210['priority']))throw new ToolExecutionError(_0x12449e(0x4e1,_0x418fd5._0x402f7e,0x647,_0x418fd5._0x286119)+(_0x587582+0x1)+_0x14b8f6(0x742,_0x418fd5._0x4e59fb,_0x418fd5._0x58bee0,0xa08),{'error':'invalid_todo_priority'});}const _0x2d871f=_0x485b4e['todos'][_0x14b8f6(0x7ef,0x524,0x723,_0x418fd5._0x3d4d75)](_0x14b5de=>_0x14b5de['id']);function _0x14b8f6(_0x3ab0c3,_0x177240,_0x48dd71,_0x3d60c6){return _0x47b891(_0x3d60c6,_0x48dd71-_0x29b7bb._0x18b39b,_0x48dd71-0xfa,_0x3d60c6-_0x29b7bb._0x5de037);}function _0x12449e(_0x265941,_0x10cf7a,_0x3ea61f,_0x3d23d6){return _0xe18bb0(_0x3ea61f,_0x265941-0x594,_0x3ea61f-0xa0,_0x3d23d6-0xa1);}if(new Set(_0x2d871f)['size']!==_0x2d871f[_0x12449e(_0x418fd5._0x326f90,_0x418fd5._0xe26059,0x944,0x6cd)])throw new ToolExecutionError('Todo\x20items\x20must\x20have\x20unique\x20IDs',{'error':_0x12449e(0x530,0x3de,0x599,0x6f3)});}function createStatsProgress(_0x4c8e63){const _0x5a1f1c={_0x306f09:0x13d,_0x406327:0x35,_0x5dcb8c:0x13,_0x43edf3:0xde,_0x5dcdf1:0x1fc,_0x514c8c:0xdf},_0x20e1a4={_0x48b231:0x561},_0x4dd270={_0x1bda64:0x1d4,_0x352360:0x28};function _0x103596(_0x4e4080,_0x50897a,_0x76d0e6,_0x18d522){return _0x47b891(_0x50897a,_0x4e4080- -0x40b,_0x76d0e6-_0x4dd270._0x1bda64,_0x18d522-_0x4dd270._0x352360);}function _0x25a92a(_0x3f18e3,_0xd6d136,_0x265e29,_0xbf1ba3){return _0x47b891(_0x3f18e3,_0x265e29- -_0x20e1a4._0x48b231,_0x265e29-0x92,_0xbf1ba3-0xcf);}return _0x4c8e63[_0x25a92a(-0x2a,0xcc,0x158,_0x5a1f1c._0x306f09)]>0x0?Math[_0x103596(-0x77,-_0x5a1f1c._0x406327,-0x203,-_0x5a1f1c._0x5dcb8c)](_0x4c8e63[_0x25a92a(-_0x5a1f1c._0x43edf3,-_0x5a1f1c._0x5dcdf1,-_0x5a1f1c._0x514c8c,-0x4a)]/_0x4c8e63['total']*0x64)+'%':'0%';}function createReminderItems(_0x300c96){const _0x196d68={_0x386971:0x7c1,_0x4c11cc:0x855,_0xf5f07:0x827,_0x355e77:0x977},_0x26d95b={_0x4ec4fc:0x140,_0x1a1951:0x1a3};function _0x293859(_0x3c85af,_0x3a5223,_0x3db190,_0x3bbb24){return _0x47b891(_0x3c85af,_0x3db190- -0x3bc,_0x3db190-0x154,_0x3bbb24-0x1ad);}function _0x39488c(_0x5852fb,_0x346f0f,_0xd3a9af,_0x58c38b){return _0xe18bb0(_0x58c38b,_0x5852fb-0x651,_0xd3a9af-_0x26d95b._0x4ec4fc,_0x58c38b-_0x26d95b._0x1a1951);}return _0x300c96[_0x39488c(_0x196d68._0x386971,_0x196d68._0x4c11cc,_0x196d68._0xf5f07,_0x196d68._0x355e77)](_0xb78b9b=>({'content':_0xb78b9b[_0x39488c(0x74e,0x5da,0x7a5,0x749)],'status':_0xb78b9b[_0x39488c(0x869,0x8ac,0x7c7,0x9c4)],'id':_0xb78b9b['id']}));}function createStructuredResult(_0x3f46c2,_0x2056ee,_0x1b14c0,_0x4f1795){const _0x58aca2={_0x2ccc76:0x977,_0x343738:0x979,_0x495650:0x4c6,_0x387690:0x510},_0x32e167={_0x51dc98:0x648,_0x354118:0x5c,_0x3a3f5d:0x1a5},_0x18e460={_0x2d6eca:0x31f,_0x28146e:0x15e,_0x548c7c:0x3f};function _0x594120(_0x4e3692,_0x3004cd,_0x5f1164,_0x51ee2e){return _0xe18bb0(_0x51ee2e,_0x4e3692-_0x18e460._0x2d6eca,_0x5f1164-_0x18e460._0x28146e,_0x51ee2e-_0x18e460._0x548c7c);}function _0x5dfd71(_0x197bcc,_0x4e3b25,_0x362d94,_0x24c0ad){return _0xe18bb0(_0x4e3b25,_0x197bcc-_0x32e167._0x51dc98,_0x362d94-_0x32e167._0x354118,_0x24c0ad-_0x32e167._0x3a3f5d);}return{'allCompleted':_0x4f1795,'items':_0x2056ee[_0x5dfd71(0x7b8,_0x58aca2._0x2ccc76,_0x58aca2._0x343738,0x7be)](_0x1d59e9=>({'id':_0x1d59e9['id'],'content':_0x1d59e9[_0x5dfd71(0x745,0x940,0x8c1,0x820)],'status':_0x1d59e9['status'],'priority':_0x1d59e9[_0x594120(0x34a,0x198,0x2d7,0x198)],'createdAt':_0x1d59e9['createdAt']})),'progress':createStatsProgress(_0x1b14c0),'recentChanges':!![],'sessionId':_0x3f46c2,'stats':_0x1b14c0,'todosWritten':_0x2056ee[_0x594120(_0x58aca2._0x495650,0x413,0x35e,_0x58aca2._0x387690)]};}function createOutputText(_0xc2e674,_0x44d063){const _0x46f1f3={_0x2fa7c6:0x743,_0x203c9e:0x5e5,_0x4aebac:0x63f,_0x4bd21e:0x22a,_0x31022f:0x9f,_0x5dbd8a:0x110,_0x2e245b:0x1cc,_0x1f5179:0x82,_0x4c6ff2:0x5c,_0xc075f0:0x6c,_0x19a280:0x8a,_0x3c2bf2:0x126,_0x527b7:0x82},_0x5ab6be={_0x5a21be:0xf1},_0x5dc028={_0x5670d7:0x1c3,_0x57593a:0x22};function _0x42bf42(_0x34aef6,_0x181cd7,_0x344686,_0x11c150){return _0x47b891(_0x11c150,_0x181cd7-0x12e,_0x344686-_0x5dc028._0x5670d7,_0x11c150-_0x5dc028._0x57593a);}const _0x403546=JSON['stringify'](createReminderItems(_0xc2e674));function _0x51f8fa(_0x322a72,_0x35d75e,_0x470133,_0x414132){return _0xe18bb0(_0x322a72,_0x414132-0x16c,_0x470133-_0x5ab6be._0x5a21be,_0x414132-0x3e);}if(_0x44d063)return _0x42bf42(0x479,0x567,_0x46f1f3._0x2fa7c6,_0x46f1f3._0x203c9e)+_0xc2e674[_0x42bf42(0x57e,0x766,0x5ef,_0x46f1f3._0x4aebac)]+_0x51f8fa(_0x46f1f3._0x4bd21e,0x1ae,0x18f,_0x46f1f3._0x31022f)+_0x403546+_0x51f8fa(-0x68,_0x46f1f3._0x5dbd8a,_0x46f1f3._0x2e245b,_0x46f1f3._0x1f5179);return _0x51f8fa(0x115,-_0x46f1f3._0x4c6ff2,_0x46f1f3._0x2e245b,_0x46f1f3._0xc075f0)+_0x403546+_0x51f8fa(-0x182,_0x46f1f3._0x19a280,_0x46f1f3._0x3c2bf2,_0x46f1f3._0x527b7);}function createTodoWriteTool(_0x4d56a5=new TodoStore()){const _0x57e8e2={_0x2d7ee6:0x305,_0x43825f:0x9,_0x2f758e:0x120,_0x3f574c:0x23c,_0x27bb1a:0x13f,_0x50df71:0x614,_0x738225:0x4a5,_0x377923:0x689,_0x3c5b78:0x571,_0x4cdf2b:0x118,_0x24d8cd:0x22d,_0x4557f4:0x693,_0x1dd295:0x2e,_0x5b2f8f:0x103,_0x11fe63:0x21c,_0x32ca56:0x11,_0x4536e5:0x2e,_0x22b86a:0x11a,_0x45341e:0x605,_0x1a82d2:0x6a0,_0x4fc11e:0x4f6,_0xb246dd:0x313,_0x3f9fe2:0x24,_0x513df1:0x1f1,_0x43086d:0x6f,_0x29e578:0xb8,_0x592bb9:0x357,_0x21da86:0x3a6},_0x46a8d5={_0x3cbf64:0xa6,_0x13b224:0x2ed,_0xafb72:0x21,_0x54ba94:0x165,_0x2b4eff:0x1e2,_0x330e62:0x342,_0x2d6ce3:0x6dd,_0x40262c:0x50a,_0x369438:0x3eb,_0x5e42b2:0x354,_0xf906a9:0x4f2,_0xe7d17c:0x6a1,_0x50a88f:0x627,_0x12cc93:0x4ef},_0x44c57b={_0x5d81aa:0x69,_0x20d0af:0x4d1,_0x325d7e:0x8b},_0x5b204c={_0x251b1e:0x1bc},_0x503f82={_0x2b66c2:0x3d0};function _0x1d13cc(_0x461bd8,_0x173f89,_0x38d4fe,_0x130342){return _0xe18bb0(_0x173f89,_0x38d4fe-_0x503f82._0x2b66c2,_0x38d4fe-0x106,_0x130342-0x68);}function _0x596c88(_0x5db42f,_0x2ff755,_0x3eec02,_0x1a243b){return _0x47b891(_0x1a243b,_0x2ff755- -0x5c8,_0x3eec02-0x62,_0x1a243b-_0x5b204c._0x251b1e);}return defineTool({'name':_0x596c88(_0x57e8e2._0x2d7ee6,0x149,0x8,_0x57e8e2._0x43825f),'permissionClass':_0x596c88(0x8e,_0x57e8e2._0x2f758e,_0x57e8e2._0x3f574c,_0x57e8e2._0x27bb1a),'description':_0x1d13cc(_0x57e8e2._0x50df71,_0x57e8e2._0x738225,_0x57e8e2._0x377923,_0x57e8e2._0x3c5b78),'inputSchema':{'type':_0x596c88(-0x7a,_0x57e8e2._0x4cdf2b,_0x57e8e2._0x24d8cd,-0x87),'properties':{'todos':{'type':_0x1d13cc(0x3cb,0x415,0x503,_0x57e8e2._0x4557f4),'items':{'type':_0x596c88(-_0x57e8e2._0x1dd295,0x118,_0x57e8e2._0x5b2f8f,_0x57e8e2._0x11fe63),'properties':{'content':{'type':_0x596c88(0xb9,-_0x57e8e2._0x32ca56,-_0x57e8e2._0x4536e5,_0x57e8e2._0x22b86a)},'status':{'type':_0x1d13cc(_0x57e8e2._0x45341e,0x636,0x4f6,_0x57e8e2._0x1a82d2)},'priority':{'type':_0x596c88(0x18e,-_0x57e8e2._0x32ca56,0x132,0x90)},'id':{'type':_0x1d13cc(0x4f7,0x5b1,_0x57e8e2._0x4fc11e,_0x57e8e2._0xb246dd)},'createdAt':{'type':'string'}},'required':['content',_0x596c88(_0x57e8e2._0x3f9fe2,0xe1,_0x57e8e2._0x513df1,_0x57e8e2._0x43086d),_0x596c88(-_0x57e8e2._0x29e578,-0x10c,0x102,0x1b),'id']}}},'required':[_0x1d13cc(0x451,_0x57e8e2._0x592bb9,0x53c,_0x57e8e2._0x21da86)]},async *'execute'(_0x2cea67,_0x2ef7c5){const _0x1009bc={_0x1f82cd:0x35a};function _0x1a625e(_0x4e6856,_0x310557,_0x1c6b97,_0x141f82){return _0x1d13cc(_0x4e6856-0x1d6,_0x4e6856,_0x310557- -_0x1009bc._0x1f82cd,_0x141f82-0x84);}const _0x36ea96=_0x2cea67;validateTodos(_0x36ea96);function _0x37cc3b(_0x23faac,_0x519976,_0x2d7842,_0x3c077f){return _0x596c88(_0x23faac-_0x44c57b._0x5d81aa,_0x519976-_0x44c57b._0x20d0af,_0x2d7842-_0x44c57b._0x325d7e,_0x2d7842);}const _0x3d02f0=_0x2ef7c5['sessionId']||_0x1a625e(-0x55,_0x46a8d5._0x3cbf64,-0x45,0x288),_0x54f878=new Date()[_0x1a625e(_0x46a8d5._0x13b224,0x12b,0x169,_0x46a8d5._0xafb72)](),_0x10dafc=_0x36ea96[_0x1a625e(_0x46a8d5._0x54ba94,_0x46a8d5._0x2b4eff,_0x46a8d5._0x330e62,0x213)][_0x37cc3b(_0x46a8d5._0x2d6ce3,_0x46a8d5._0x40262c,0x332,0x3b2)](_0x2e69c4=>({'id':_0x2e69c4['id'],'content':_0x2e69c4[_0x1a625e(0x10a,0x173,0x230,0x1c5)],'status':_0x2e69c4[_0x37cc3b(0x498,0x5b2,0x4c4,0x4d5)],'priority':_0x2e69c4['priority'],'sessionId':_0x3d02f0,'createdAt':_0x2e69c4[_0x37cc3b(0x4d9,0x49a,0x2f5,0x525)]||_0x54f878,'updatedAt':_0x54f878}));_0x4d56a5[_0x37cc3b(_0x46a8d5._0x369438,0x4e8,0x5bf,0x40e)](_0x3d02f0,_0x10dafc);const _0x1e0486=_0x4d56a5[_0x37cc3b(_0x46a8d5._0x5e42b2,_0x46a8d5._0xf906a9,_0x46a8d5._0xe7d17c,_0x46a8d5._0x50a88f)](_0x3d02f0),_0x3f5e0e=_0x10dafc['length']>0x0&&_0x10dafc[_0x37cc3b(_0x46a8d5._0x12cc93,0x688,0x75d,0x7ef)](_0x4e2fd3=>_0x4e2fd3[_0x1a625e(0x2da,0x28e,0x236,0x3ac)]===_0x1a625e(-0xb9,0x67,0x216,0x222));return createToolOutput(createOutputText(_0x10dafc,_0x3f5e0e),createStructuredResult(_0x3d02f0,_0x10dafc,_0x1e0486,_0x3f5e0e));}});}function createUpdateTopicTool(){const _0x5ae626={_0x507590:0x148,_0x1cf8ad:0x16d,_0x4aa2c6:0xbf,_0x3f4808:0xce,_0xf9f870:0xa6,_0x1d3947:0xc2,_0x808be3:0x52f,_0x26f735:0x2c8,_0x225c22:0x1cc,_0x2561ec:0x41c,_0x2682b1:0xa8},_0x93eafb={_0x435c3c:0x27b,_0x51ce32:0x3f1,_0x31e8df:0x3be,_0x1d54ef:0x56d,_0x8c853e:0x501,_0x9c3750:0x450,_0x349de1:0x208,_0x2f42d4:0x3bc,_0x1ecb09:0x29f,_0x4aab01:0x3b9,_0x5ccbf9:0x216,_0x9bc15c:0xce,_0x10f4a2:0x27,_0x32f4b8:0x22f,_0x5752da:0x39c,_0x477d23:0x432},_0xfaa4ac={_0x35a205:0x38,_0x3e8f3c:0x99},_0xe7e136={_0x44a371:0x1ad,_0x1a2b46:0x18d,_0xd91714:0x22},_0x12956e={_0x36644a:0x66},_0x4632ab={_0x2e56cc:0x559,_0x52b9fc:0x95};function _0x3db89d(_0x13aa23,_0x305c6d,_0xeda3e8,_0x5d36da){return _0x47b891(_0x305c6d,_0xeda3e8- -_0x4632ab._0x2e56cc,_0xeda3e8-0x135,_0x5d36da-_0x4632ab._0x52b9fc);}function _0x58570d(_0x2610f3,_0x22a71b,_0x51e6f4,_0x488948){return _0x47b891(_0x488948,_0x22a71b- -0x24c,_0x51e6f4-_0x12956e._0x36644a,_0x488948-0x1a4);}return defineTool({'name':_0x3db89d(-0x1ee,-_0x5ae626._0x507590,-_0x5ae626._0x1cf8ad,-_0x5ae626._0x4aa2c6),'permissionClass':_0x3db89d(0x33f,_0x5ae626._0x3f4808,0x18f,0x187),'description':_0x3db89d(0x2ea,-_0x5ae626._0xf9f870,0x102,-_0x5ae626._0x1d3947),'inputSchema':{'type':_0x58570d(_0x5ae626._0x808be3,0x494,0x5df,_0x5ae626._0x26f735),'properties':{'topic':{'type':_0x58570d(_0x5ae626._0x225c22,0x36b,0x29b,_0x5ae626._0x2561ec)}},'required':[_0x3db89d(_0x5ae626._0x2682b1,-0x17b,0x8d,-0xf8)]},async *'execute'(_0x2a6b48,_0x1273c5){const {topic:_0x39e6be}=_0x2a6b48;if(typeof _0x39e6be!==_0x47db74(_0x93eafb._0x435c3c,_0x93eafb._0x51ce32,_0x93eafb._0x31e8df,0x333)||_0x39e6be[_0x47db74(0x4b7,0x68a,_0x93eafb._0x1d54ef,_0x93eafb._0x8c853e)]()[_0x47db74(_0x93eafb._0x9c3750,0x273,_0x93eafb._0x349de1,0x3b4)]===0x0)throw new ToolExecutionError('topic\x20must\x20be\x20a\x20non-empty\x20string',{'error':_0x47db74(_0x93eafb._0x2f42d4,_0x93eafb._0x1ecb09,0x21a,0x2d8)});const _0x338ec6=_0x39e6be[_0x264163(_0x93eafb._0x4aab01,0x3ef,0x42b,_0x93eafb._0x5ccbf9)]();function _0x264163(_0x2206f9,_0x1d3015,_0x377fc5,_0x2acb3e){return _0x3db89d(_0x2206f9-_0xe7e136._0x44a371,_0x377fc5,_0x2206f9-_0xe7e136._0x1a2b46,_0x2acb3e-_0xe7e136._0xd91714);}function _0x47db74(_0x41b5e0,_0x54d7ba,_0xa9e49b,_0x1f1db4){return _0x58570d(_0x41b5e0-0x100,_0x1f1db4- -_0xfaa4ac._0x35a205,_0xa9e49b-_0xfaa4ac._0x3e8f3c,_0xa9e49b);}return _0x1273c5[_0x264163(_0x93eafb._0x9bc15c,_0x93eafb._0x10f4a2,0x199,_0x93eafb._0x32f4b8)]?.(_0x338ec6),yield createToolOutput(_0x47db74(_0x93eafb._0x5752da,_0x93eafb._0x477d23,0x44d,0x345)+_0x338ec6+'\x22',{'topic':_0x338ec6}),void 0x0;}});}import{randomUUID as _0x3cf3f9}from'crypto';import{StringDecoder}from'string_decoder';function _0x47b891(_0x42f8bb,_0x483cfe,_0x26a447,_0x2566e4){const _0x4f93b2={_0x28e5dd:0x1e1};return _0x678a(_0x483cfe-_0x4f93b2._0x28e5dd,_0x42f8bb);}import{spawn as _0x1dfa11}from'child_process';function errorMessage(_0x3df21c){return _0x3df21c instanceof Error?_0x3df21c['message']:String(_0x3df21c);}function isNotFound(_0x14a850){const _0x4de2a1={_0x54881b:0x64c,_0x32ab8b:0x744,_0x2828cd:0x5d8,_0x4437d:0x672,_0x51a6be:0x40f,_0x52c7f2:0x485,_0x3aebaf:0x71b,_0x2b1368:0x798,_0x531b31:0x831},_0x238f51={_0x39e2ce:0x16e},_0x29b1f7={_0x36ba27:0x36,_0x53e74a:0x4};function _0x13efc2(_0x58fcf4,_0x2b6582,_0x340b74,_0x13d9b1){return _0xe18bb0(_0x340b74,_0x58fcf4-0x544,_0x340b74-_0x29b1f7._0x36ba27,_0x13d9b1-_0x29b1f7._0x53e74a);}function _0x4c8b7e(_0x21b6f0,_0x1ce94a,_0x45403c,_0x54c210){return _0xe18bb0(_0x54c210,_0x1ce94a-0x4f5,_0x45403c-0x1ba,_0x54c210-_0x238f51._0x39e2ce);}return typeof _0x14a850===_0x4c8b7e(_0x4de2a1._0x54881b,_0x4de2a1._0x32ab8b,0x925,0x64e)&&_0x14a850!==null&&_0x13efc2(_0x4de2a1._0x2828cd,_0x4de2a1._0x4437d,0x605,0x59c)in _0x14a850&&_0x14a850[_0x13efc2(0x5d8,_0x4de2a1._0x51a6be,0x402,_0x4de2a1._0x52c7f2)]===_0x13efc2(_0x4de2a1._0x3aebaf,0x649,_0x4de2a1._0x2b1368,_0x4de2a1._0x531b31);}function isSafeProcessId(_0x49d337){const _0x1dece5={_0x236cf1:0x4cd,_0x1c0ec4:0x42d,_0x168118:0x486},_0x5b25fe={_0x408845:0x82};function _0x3ab166(_0x20a099,_0x28b371,_0x4bab6e,_0x5de5e7){return _0x47b891(_0x28b371,_0x5de5e7-_0x5b25fe._0x408845,_0x4bab6e-0x133,_0x5de5e7-0x9e);}return _0x49d337!==void 0x0&&Number[_0x3ab166(_0x1dece5._0x236cf1,0x660,_0x1dece5._0x1c0ec4,_0x1dece5._0x168118)](_0x49d337)&&_0x49d337>0x1;}function createProcessTreeSignalAdapter(_0x30b72f={}){const _0x494d36={_0x418ce6:0x767,_0xd7b5e3:0x63f,_0x48ac48:0x7e8,_0x45f819:0x774,_0x1cb8f9:0x34,_0x37c259:0x5e5,_0x256340:0x4df},_0x132037={_0x22d3c1:0xfc,_0x4fe923:0xff,_0x260bde:0x3dd,_0x4f0880:0x2c0,_0x2cfe58:0x56b,_0x2f74a1:0x442,_0x2691ec:0x111,_0x55b9f4:0x24,_0x455ccb:0x57,_0x287fa3:0x45d,_0x2dcdfe:0x598,_0x7fcb39:0x4e7,_0x48e6b4:0x5a5,_0x32e95e:0x3dd,_0x322fc0:0x377,_0x5adf1c:0x564,_0x24c2b1:0x368,_0x2d8d34:0x54e,_0x423faa:0x4bd,_0x42680c:0x3dd,_0x59f735:0x591},_0x100f8e={_0x5d3cbc:0x432},_0x51aee2={_0x1afe1c:0xcc},_0x35a0a0={_0x31472a:0x1a1};function _0x76cff(_0x2ee20a,_0xb2e1cd,_0x334c9d,_0x105923){return _0xe18bb0(_0xb2e1cd,_0x2ee20a-0x3a7,_0x334c9d-0x103,_0x105923-_0x35a0a0._0x31472a);}const _0x4103f5=_0x30b72f[_0x76cff(0x63f,0x50b,_0x494d36._0x418ce6,0x82b)]??process[_0x76cff(_0x494d36._0xd7b5e3,_0x494d36._0x48ac48,_0x494d36._0x45f819,0x4f1)],_0x2bb4af=_0x30b72f[_0x56fd68(0x109,-0x1,0x188,-_0x494d36._0x1cb8f9)]??process['kill']['bind'](process);function _0x56fd68(_0x48181b,_0x262a83,_0x2639db,_0x420a03){return _0xe18bb0(_0x2639db,_0x262a83- -0x25,_0x2639db-_0x51aee2._0x1afe1c,_0x420a03-0x6f);}const _0x491ecd=_0x30b72f[_0x76cff(0x46b,_0x494d36._0x37c259,_0x494d36._0x256340,0x65a)]??_0x1dfa11;return{async 'signal'(_0x420695,_0x51bf62){const _0x353557={_0x242c13:0x52d,_0x522c31:0x34d,_0x256c6d:0x561,_0x58df6f:0x526,_0x23ab17:0x596,_0x5166c5:0x487,_0x320351:0x43f,_0x57ed30:0x3d2,_0x264d83:0x5db,_0x4b2c9b:0x69f,_0x52ad8e:0x951,_0x5de244:0x8ec,_0x117cfd:0x7bd},_0x4486e8={_0x55c8c3:0x155,_0x419e63:0x38f},_0x2e71df={_0x5ade01:0x1b,_0x4ae144:0x271},_0x4afd51={_0xcda228:0x30,_0x50c32c:0x1aa,_0x2e2ac5:0x90};if(_0x4103f5!=='win32'){if(!isSafeProcessId(_0x420695[_0x2954ba(-0x7c,_0x132037._0x22d3c1,-0xab,_0x132037._0x4fe923)]))return{'outcome':_0x2954ba(0x309,0x383,0x1ce,_0x132037._0x260bde),'error':_0x2944df(_0x132037._0x4f0880,0x5c7,_0x132037._0x2cfe58,_0x132037._0x2f74a1)};try{return _0x2bb4af(-_0x420695[_0x2954ba(_0x132037._0x2691ec,-_0x132037._0x55b9f4,_0x132037._0x455ccb,0xff)],_0x51bf62==='graceful'?'SIGTERM':_0x2944df(_0x132037._0x287fa3,_0x132037._0x2dcdfe,0x67a,_0x132037._0x7fcb39)),{'outcome':'delivered'};}catch(_0x14bcc0){return isNotFound(_0x14bcc0)?{'outcome':'not-found','error':errorMessage(_0x14bcc0)}:{'outcome':_0x2954ba(_0x132037._0x48e6b4,0x308,0x520,_0x132037._0x32e95e),'error':errorMessage(_0x14bcc0)};}}function _0x2954ba(_0xafb781,_0x2a5364,_0x271a6a,_0x385095){return _0x56fd68(_0xafb781-_0x4afd51._0xcda228,_0x385095-_0x4afd51._0x50c32c,_0x271a6a,_0x385095-_0x4afd51._0x2e2ac5);}function _0x2944df(_0x40dd82,_0x256436,_0x36a798,_0x931f06){return _0x56fd68(_0x40dd82-0x164,_0x931f06-_0x100f8e._0x5d3cbc,_0x40dd82,_0x931f06-0x66);}if(!isSafeProcessId(_0x420695[_0x2944df(_0x132037._0x322fc0,_0x132037._0x5adf1c,_0x132037._0x24c2b1,_0x132037._0x2d8d34)]))return{'outcome':_0x2954ba(0x38a,0x49e,_0x132037._0x423faa,_0x132037._0x42680c),'error':_0x2944df(0x425,0x4b1,0x481,_0x132037._0x59f735)};return new Promise(_0x32c43c=>{const _0x367480={_0x40edd4:0x1b5,_0x1cfefc:0x122,_0x38a63:0x2f2,_0x50e0f1:0x7f,_0x2776f:0xc8},_0x3e094f={_0x16417d:0x157},_0x29c1ba={_0x3b815d:0x5b7},_0x1f8fc5={_0x2c1453:0x2c2};let _0x265594=![];const _0x532770=_0x303e68=>{if(_0x265594)return;_0x265594=!![],_0x32c43c(_0x303e68);};function _0x392c24(_0x4b5e1b,_0x5c702f,_0x53d82a,_0x47a3a1){return _0x2954ba(_0x4b5e1b-0x187,_0x5c702f-_0x2e71df._0x5ade01,_0x5c702f,_0x53d82a-_0x2e71df._0x4ae144);}function _0x268d9e(_0x5d93de,_0x37ff85,_0xc77d2c,_0x45baf0){return _0x2954ba(_0x5d93de-0x193,_0x37ff85-_0x4486e8._0x55c8c3,_0x37ff85,_0xc77d2c-_0x4486e8._0x419e63);}let _0x31a1cf;try{const _0x232e85=[_0x268d9e(0x739,0x6e2,_0x353557._0x242c13,_0x353557._0x522c31),String(_0x420695[_0x268d9e(_0x353557._0x256c6d,0x6e2,0x655,0x558)]),'/T'];if(_0x51bf62===_0x268d9e(_0x353557._0x58df6f,0x551,0x5b9,_0x353557._0x23ab17))_0x232e85[_0x268d9e(0x44f,_0x353557._0x5166c5,_0x353557._0x320351,_0x353557._0x57ed30)]('/F');_0x31a1cf=_0x491ecd('taskkill',_0x232e85,{'stdio':'ignore','windowsHide':!![]});}catch(_0x3cb8bf){_0x532770({'outcome':'failed','error':errorMessage(_0x3cb8bf)});return;}_0x31a1cf[_0x392c24(0x5a7,_0x353557._0x264d83,_0x353557._0x4b2c9b,0x885)](_0x268d9e(0x280,0x481,0x43a,0x514),_0x4a0cde=>{const _0x4f1dc2={_0x493ac9:0x2dd};function _0x210206(_0x383574,_0x188ec7,_0x3661fb,_0x2743a1){return _0x392c24(_0x383574-0x1b2,_0x3661fb,_0x188ec7- -_0x4f1dc2._0x493ac9,_0x2743a1-0x6d);}_0x532770(isNotFound(_0x4a0cde)?{'outcome':_0x210206(0x2a0,0x34f,0x18d,_0x1f8fc5._0x2c1453),'error':errorMessage(_0x4a0cde)}:{'outcome':'failed','error':errorMessage(_0x4a0cde)});}),_0x31a1cf[_0x268d9e(_0x353557._0x52ad8e,_0x353557._0x5de244,_0x353557._0x117cfd,0x6f0)]('close',_0x3baa36=>{function _0x96cc58(_0xcda50d,_0x1f251f,_0x46ea26,_0x739e0b){return _0x268d9e(_0xcda50d-0x5c,_0x46ea26,_0x1f251f- -_0x29c1ba._0x3b815d,_0x739e0b-0xe4);}function _0x41de4c(_0x3a7e21,_0x1072af,_0x5c6c81,_0x53cc5b){return _0x392c24(_0x3a7e21-0x22,_0x53cc5b,_0x5c6c81- -0x31f,_0x53cc5b-_0x3e094f._0x16417d);}_0x532770(_0x3baa36===0x0?{'outcome':'delivered'}:{'outcome':_0x96cc58(0xa4,_0x367480._0x40edd4,_0x367480._0x1cfefc,_0x367480._0x38a63),'error':_0x96cc58(0x93,0x1e1,_0x367480._0x50e0f1,_0x367480._0x2776f)+String(_0x3baa36)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x1b30d7){const _0x1194ca={_0x526f99:0x6af,_0x62cf2b:0x3e3},_0xfb7750={_0x691232:0x115};function _0x1e3bb4(_0x34d87b,_0x1f175c,_0x5ada57,_0x147f1d){return _0x47b891(_0x147f1d,_0x5ada57- -0xd0,_0x5ada57-0xf,_0x147f1d-_0xfb7750._0x691232);}const _0x2a07b5=_0x1b30d7[_0x1e3bb4(0x3e0,_0x1194ca._0x526f99,0x54f,_0x1194ca._0x62cf2b)](0x0)??0x0;return _0x2a07b5<0x20&&_0x1b30d7!=='\x09'||_0x2a07b5>=0x7f&&_0x2a07b5<=0x9f||_0x2a07b5===0xa0||_0x2a07b5>=0x200b&&_0x2a07b5<=0x200f||_0x2a07b5>=0x2060&&_0x2a07b5<=0x2069||_0x2a07b5===0x23ce||_0x2a07b5===0x2424;}function createTerminalOutputNormalizer(){const _0xa8a02c={_0x3c491a:0xc2},_0x1c2793={_0x479827:0x436},_0x282846={_0x22e5e7:0x3cc,_0x5c1c89:0x33c,_0x30ce37:0x34e,_0xa19c92:0x3ad,_0x11e5b8:0x2b0,_0x395368:0x366,_0x52412e:0x6d1,_0x38be3e:0x306,_0x40dcd2:0x506,_0x4cba06:0x3d6,_0x51fa70:0x6b4,_0xd69931:0x236,_0x24449b:0x443,_0x45a96a:0x30b,_0x35fb18:0x3c3,_0x2a893b:0x486,_0x201296:0x4b0,_0x48b9dc:0x551,_0x1b1b92:0x379,_0xb69289:0x44c,_0x1804f5:0x200,_0x4fc43f:0x53e,_0x23ca10:0x725,_0x345830:0x5f4,_0x3e71dd:0x236,_0x38c1f3:0x162,_0xc7417e:0x313,_0x1b1c23:0x233,_0x571f6f:0x4ed},_0x2c3d7f={_0x15c7e2:0xf8},_0x1c4441={_0x20c8fc:0xa,_0x4e473e:0x9a},_0x2abb64={_0x4fd233:0x10f,_0xbcf5bc:0x22},_0x1c1e3e={_0x953401:0x15,_0x588b46:0x436},_0x264f9b={_0x12187a:0x161};let _0xbfc80f=_0xb8898(-0xf4,0xeb,0xdf,_0xa8a02c._0x3c491a),_0x38255f=![],_0x20c451=![],_0x8b1bc1=[],_0x397d58=0x0,_0x53b880=![];function _0xb8898(_0x3d6aae,_0x500913,_0x2ff3ea,_0x44becc){return _0x47b891(_0x3d6aae,_0x44becc- -0x58f,_0x2ff3ea-_0x264f9b._0x12187a,_0x44becc-0x58);}const _0x3a5876=()=>{_0x8b1bc1=[],_0x397d58=0x0;},_0x7b3e30=_0x2282f7=>{_0x8b1bc1['push'](_0x2282f7);function _0x5f01ea(_0x576e80,_0x387c5b,_0x3a38e6,_0x5d8e68){return _0xb8898(_0x576e80,_0x387c5b-0xa3,_0x3a38e6-_0x1c1e3e._0x953401,_0x387c5b-_0x1c1e3e._0x588b46);}_0x397d58+=_0x2282f7[_0x5f01ea(0x329,0x4df,0x5ac,0x69e)];function _0x18d6f8(_0x4a1fba,_0xdca256,_0x119ec7,_0x3c703e){return _0xb8898(_0x119ec7,_0xdca256-_0x2abb64._0x4fd233,_0x119ec7-0x1e0,_0x4a1fba- -_0x2abb64._0xbcf5bc);}while(_0x397d58>MAX_PROGRESS_LINE_CHARS){const _0x15f7f0=_0x8b1bc1[_0x18d6f8(-0x133,-0x123,_0x1c4441._0x20c8fc,_0x1c4441._0x4e473e)]();if(_0x15f7f0===void 0x0)break;_0x397d58-=_0x15f7f0['length'];}},_0x4b0f45=_0x247885=>{const _0x5c6cd7=_0x8b1bc1[_0x4daa0f(0x819,0x591,0x7fe,0x61c)]('')+(_0x247885?'\x0a':'');_0x3a5876();function _0x4daa0f(_0x273947,_0x299551,_0x4b407c,_0x45f831){return _0xb8898(_0x273947,_0x299551-_0x2c3d7f._0x15c7e2,_0x4b407c-0xff,_0x45f831-0x638);}return _0x5c6cd7;},_0x28e631=_0x509f78=>{const _0x77b6={_0x156b55:0x1f2,_0x6cb0b8:0x18d,_0x58900e:0x3f8},_0x10d0c8={_0x2b86b2:0xf9};if(_0x53b880)throw new Error(_0xf490b2(0x494,_0x282846._0x22e5e7,_0x282846._0x5c1c89,0x48a));let _0x24ad58='';function _0x33b06f(_0x4f1b28,_0x2ddce7,_0x1c763f,_0xbc5e9){return _0xb8898(_0x2ddce7,_0x2ddce7-0x16a,_0x1c763f-_0x10d0c8._0x2b86b2,_0x4f1b28-0x40b);}function _0xf490b2(_0xdcb8c2,_0x5c9d58,_0x4f000f,_0xfd5173){return _0xb8898(_0x5c9d58,_0x5c9d58-_0x77b6._0x156b55,_0x4f000f-_0x77b6._0x6cb0b8,_0x4f000f-_0x77b6._0x58900e);}for(const _0x4688eb of _0x509f78){if(_0xbfc80f===_0xf490b2(0x24f,0x52f,0x3fe,_0x282846._0x30ce37)){const _0x54b28e=_0x4688eb[_0xf490b2(0x5e1,0x309,0x488,_0x282846._0xa19c92)](0x0)??0x0;if(_0x54b28e>=0x40&&_0x54b28e<=0x7e)_0xbfc80f='text';continue;}if(_0xbfc80f===_0xf490b2(_0x282846._0x11e5b8,0x16c,_0x282846._0x395368,0x401)||_0xbfc80f===_0xf490b2(0x68f,_0x282846._0x52412e,0x513,0x5ea)){if(_0x38255f){_0x4688eb==='\x5c'?(_0xbfc80f='text',_0x38255f=![]):_0x38255f=_0x4688eb===ESC;continue;}if(_0x4688eb===ESC)_0x38255f=!![];else _0xbfc80f===_0xf490b2(_0x282846._0x38be3e,_0x282846._0x40dcd2,_0x282846._0x395368,0x4e6)&&_0x4688eb===BEL&&(_0xbfc80f=_0x33b06f(0x4cd,_0x282846._0x4cba06,0x6bb,_0x282846._0x51fa70));continue;}if(_0xbfc80f===_0x33b06f(_0x282846._0xd69931,_0x282846._0x24449b,_0x282846._0x45a96a,_0x282846._0x35fb18)){if(_0x4688eb==='[')_0xbfc80f=_0xf490b2(_0x282846._0x2a893b,_0x282846._0x201296,0x3fe,_0x282846._0x48b9dc);else{if(_0x4688eb===']')_0xbfc80f=_0x33b06f(_0x282846._0x1b1b92,_0x282846._0xb69289,0x20c,_0x282846._0x1804f5),_0x38255f=![];else _0x4688eb==='P'||_0x4688eb==='_'||_0x4688eb==='^'?(_0xbfc80f=_0x33b06f(0x526,_0x282846._0x4fc43f,_0x282846._0x23ca10,_0x282846._0x345830),_0x38255f=![]):_0xbfc80f='text';}continue;}if(_0x20c451){_0x20c451=![];if(_0x4688eb==='\x0a'){_0x24ad58+=_0x4b0f45(!![]);continue;}_0x3a5876();}if(_0x4688eb===ESC)_0xbfc80f=_0x33b06f(_0x282846._0x3e71dd,_0x282846._0x38c1f3,_0x282846._0xc7417e,_0x282846._0x1b1c23);else{if(_0x4688eb==='\x0d')_0x20c451=!![];else{if(_0x4688eb==='\x0a')_0x24ad58+=_0x4b0f45(!![]);else{if(_0x4688eb==='\x08'){const _0x4c2fe4=_0x8b1bc1['pop']();if(_0x4c2fe4!==void 0x0)_0x397d58-=_0x4c2fe4[_0xf490b2(0x4ed,0x6a4,0x4a1,_0x282846._0x571f6f)];}else!isDiscardedTextControl(_0x4688eb)&&_0x7b3e30(_0x4688eb);}}}}return _0x24ad58;};return{'write':_0x28e631,'end'(){const _0x25fea={_0x3ee0ff:0xee};if(_0x53b880)return'';_0x53b880=!![],_0x20c451=![];function _0x2366cc(_0x1a65cb,_0x1ceb85,_0x3fba29,_0xbf58b2){return _0xb8898(_0x1a65cb,_0x1ceb85-_0x25fea._0x3ee0ff,_0x3fba29-0x112,_0x3fba29-0x46f);}return _0xbfc80f=_0x2366cc(0x64e,_0x1c2793._0x479827,0x531,0x6dc),_0x38255f=![],_0x4b0f45(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0xf2004b){const _0x2d75af={_0x46f888:0x135,_0x168e45:0x22a,_0x40d0c4:0xa0d,_0x5e28e3:0x963,_0x1893a1:0x894,_0x4d4567:0x95b,_0x2b2e0b:0x3c5},_0x153a83={_0x2d7dad:0x112,_0x897a91:0x1d1},_0x6768ab={_0x22c717:0xc8};super(_0x199fbc(_0x2d75af._0x46f888,0xb9,_0x2d75af._0x168e45,0x1da));function _0x1a594b(_0x4a064b,_0x52448c,_0x4434f7,_0x58ec3d){return _0xe18bb0(_0x4a064b,_0x58ec3d-0x654,_0x4434f7-0x128,_0x58ec3d-_0x6768ab._0x22c717);}this[_0x1a594b(_0x2d75af._0x40d0c4,_0x2d75af._0x5e28e3,_0x2d75af._0x1893a1,_0x2d75af._0x4d4567)]=_0xf2004b;function _0x199fbc(_0xdaf968,_0x30f50b,_0x3d66dd,_0x2f65f3){return _0x47b891(_0xdaf968,_0x30f50b- -0x5a8,_0x3d66dd-_0x153a83._0x2d7dad,_0x2f65f3-_0x153a83._0x897a91);}this[_0x1a594b(0x3a0,_0x2d75af._0x2b2e0b,0x4ed,0x5aa)]='BackgroundProcessCleanupError';}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x55ec8f){const _0x435c18={_0x343974:0x2f,_0x19322b:0x183,_0x5d1cbc:0x115,_0x1356c1:0x3a,_0x3ec831:0xf},_0x415b68={_0x1f4066:0x33,_0x19c9a0:0x181},_0x1839ea={_0x4f02ba:0x2f0,_0x3a3c16:0x117,_0x1f6d9a:0xec};function _0x49bf58(_0x3a9741,_0x5f8c9f,_0x2e3495,_0x592844){return _0xe18bb0(_0x592844,_0x3a9741-_0x1839ea._0x4f02ba,_0x2e3495-_0x1839ea._0x3a3c16,_0x592844-_0x1839ea._0x1f6d9a);}function _0x317d8c(_0x2f3f94,_0x2100a0,_0x1531ec,_0xf1c075){return _0xe18bb0(_0x2f3f94,_0x2100a0- -_0x415b68._0x1f4066,_0x1531ec-_0x415b68._0x19c9a0,_0xf1c075-0x147);}return _0x55ec8f===_0x317d8c(-0x19,-_0x435c18._0x343974,0xed,-_0x435c18._0x19322b)||_0x55ec8f===_0x317d8c(-_0x435c18._0x5d1cbc,_0x435c18._0x1356c1,_0x435c18._0x3ec831,0xb1)||_0x55ec8f==='error';}var BackgroundProcessRegistry=class{[_0x47b891(0x3b6,0x3cb,0x27c,0x397)]=new Map();['reservations']=new Map();[_0xe18bb0(-0xa3,0x109,0x278,0xd0)];['maxEntries'];['capChars'];[_0x47b891(0x642,0x729,0x739,0x7cf)];[_0x47b891(0x490,0x5d4,0x51b,0x75d)];[_0xe18bb0(0x20,-0xc7,-0x214,-0xa4)]=0x0;constructor(_0x22be46={}){const _0x6e5024={_0x20fc70:0x3f7,_0x5798c2:0x23b,_0x151869:0x3c3,_0x545ebb:0x2c8,_0x43bcf2:0x40e,_0x551c67:0x617,_0x3181f3:0x570,_0x1a98ae:0x3c9,_0x3372db:0x458,_0x4afa18:0x36c,_0x1573af:0x313,_0x134ffb:0x302,_0x402c61:0x69d,_0x1165ed:0x50f,_0xdcda1a:0x2c7,_0x573596:0x3fd,_0x28da95:0x61d},_0x76d768={_0x2fd18d:0x306,_0x33073a:0x1d2,_0x1bc019:0xfd},_0x390d31={_0x3e972b:0x1d7,_0x18d980:0x18b};this[_0x27e65e(0x458,_0x6e5024._0x20fc70,_0x6e5024._0x5798c2,_0x6e5024._0x151869)]=_0x22be46['maxConcurrent']??0xa;function _0x27e65e(_0x18bf51,_0x19ba7,_0xcbfdb,_0x534d4b){return _0x47b891(_0x19ba7,_0x534d4b- -_0x390d31._0x3e972b,_0xcbfdb-_0x390d31._0x18d980,_0x534d4b-0x1a0);}this['maxEntries']=_0x22be46['maxEntries']??0x40,this[_0x4c2eb1(_0x6e5024._0x545ebb,_0x6e5024._0x43bcf2,0x586,_0x6e5024._0x551c67)]=_0x22be46[_0x27e65e(_0x6e5024._0x3181f3,_0x6e5024._0x1a98ae,0x634,0x53d)]??0x100000,this[_0x4c2eb1(_0x6e5024._0x3372db,0x423,0x49c,_0x6e5024._0x4afa18)]=_0x22be46[_0x4c2eb1(_0x6e5024._0x1573af,0x423,0x567,_0x6e5024._0x134ffb)]??process[_0x27e65e(_0x6e5024._0x402c61,_0x6e5024._0x1165ed,0x40f,0x552)];function _0x4c2eb1(_0x451a00,_0x16dc4c,_0x1ff70a,_0x2ea138){return _0x47b891(_0x1ff70a,_0x16dc4c- -_0x76d768._0x2fd18d,_0x1ff70a-_0x76d768._0x33073a,_0x2ea138-_0x76d768._0x1bc019);}this[_0x27e65e(0x374,_0x6e5024._0xdcda1a,0x26f,_0x6e5024._0x573596)]=_0x22be46[_0x27e65e(0x5b7,0x3f0,0x1f2,_0x6e5024._0x573596)]??createProcessTreeSignalAdapter({'platform':this[_0x4c2eb1(0x3c8,0x423,0x370,_0x6e5024._0x28da95)]});}[_0x47b891(0x368,0x4a7,0x352,0x67d)](){const _0x331d6c={_0x47f7f1:0x1f8,_0x46f153:0x51e,_0x1516a0:0x56e,_0x2287ef:0x403,_0x2d6c46:0x26b,_0x2c59e2:0x27,_0x56a225:0x56,_0x5c436e:0x262,_0x1a0701:0x38,_0x30ce58:0x268,_0x580667:0x2f3,_0x35b29d:0x1f5,_0x248cab:0x3db,_0x17db43:0x160,_0x5637a1:0x2b5,_0x35959d:0x29f,_0x591405:0x159},_0x438bc2={_0x7c2ae2:0x2a7,_0x191da5:0x2d},_0x537621={_0x9149c0:0xaa,_0x5c6e5c:0x14},_0x5609c7=[...this['entries'][_0x3e8e12(0x257,0x312,_0x331d6c._0x47f7f1,0x454)]()][_0x40d315(_0x331d6c._0x46f153,0x443,_0x331d6c._0x1516a0,0x5db)](_0x2b8cca=>!_0x2b8cca[_0x3e8e12(0x1ba,0x26d,0x338,0x56)]);function _0x3e8e12(_0x7d0957,_0x24c157,_0x4f17c5,_0xe82bd1){return _0xe18bb0(_0x4f17c5,_0x7d0957-0x66,_0x4f17c5-_0x537621._0x9149c0,_0xe82bd1-_0x537621._0x5c6e5c);}if(_0x5609c7[_0x3e8e12(0x20d,_0x331d6c._0x2287ef,0x1ea,_0x331d6c._0x2d6c46)]+this[_0x3e8e12(0xf1,-0x23,-_0x331d6c._0x2c59e2,_0x331d6c._0x56a225)][_0x3e8e12(0x20f,_0x331d6c._0x5c436e,_0x331d6c._0x1a0701,0x2ee)]>=this[_0x40d315(_0x331d6c._0x30ce58,0x2f3,0x491,0x205)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this['maxConcurrent']+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this[_0x40d315(0x36d,_0x331d6c._0x580667,_0x331d6c._0x35b29d,_0x331d6c._0x248cab)]});const _0x6a9294=Object[_0x3e8e12(0x9c,-0x173,0x2c,-_0x331d6c._0x17db43)]({'id':_0x3cf3f9()});function _0x40d315(_0x342a43,_0x1ad24c,_0xa5e92a,_0x5e721b){return _0x47b891(_0xa5e92a,_0x1ad24c- -_0x438bc2._0x7c2ae2,_0xa5e92a-0x129,_0x5e721b-_0x438bc2._0x191da5);}return this[_0x40d315(_0x331d6c._0x5637a1,0x275,_0x331d6c._0x35959d,0x27a)][_0x40d315(0x2a4,_0x331d6c._0x591405,0x1fe,-0x47)](_0x6a9294['id'],_0x6a9294),_0x6a9294;}[_0xe18bb0(-0x17c,0x39,0x13,0x246)](_0x326625){const _0x550502={_0x37b707:0x16a,_0x327cb6:0x9d,_0x4f45c3:0x3f9,_0x389716:0x2ff},_0x3df9fa={_0x481e73:0xec,_0x3ac33e:0xa},_0x592f24={_0x45545f:0x5f};function _0x11a5ac(_0x4435b3,_0x436577,_0x5b7d03,_0x1da20f){return _0xe18bb0(_0x1da20f,_0x5b7d03-0x274,_0x5b7d03-_0x592f24._0x45545f,_0x1da20f-0x18e);}function _0x37e8c6(_0x265fa1,_0x2271e3,_0x3b7e2e,_0x3cb9bd){return _0xe18bb0(_0x265fa1,_0x3cb9bd-0xaf,_0x3b7e2e-_0x3df9fa._0x481e73,_0x3cb9bd-_0x3df9fa._0x3ac33e);}this['reservations'][_0x37e8c6(_0x550502._0x37b707,0xe5,_0x550502._0x327cb6,0x14b)](_0x326625['id'])===_0x326625&&this[_0x11a5ac(0x396,_0x550502._0x4f45c3,_0x550502._0x389716,0x182)]['delete'](_0x326625['id']);}['attach'](_0x45fda0,_0x1aa414){const _0x543fba={_0x202bb7:0x75b,_0x4a7232:0x79,_0x12477d:0x287,_0x1b69a4:0xbf,_0x1a1648:0x2ca,_0x137cfc:0x1a5,_0x1683fa:0xf9,_0x5e987f:0x97,_0x74617c:0x11e,_0x4da3f4:0xc8,_0xce9761:0x6c1,_0x49cc5:0x40a,_0x377a9b:0x3b,_0x41b9b1:0x5b3,_0x4fdcf5:0x492,_0x5f0165:0x45b,_0x119b16:0x55,_0x28ee0a:0xa1,_0x39835e:0x154,_0x2e2160:0xfe,_0x576f78:0x171,_0x5d9cb7:0x4d6,_0x248af7:0x44d,_0x31add6:0x27e,_0x332b58:0x65a,_0x418b6c:0x535,_0x1bf1e4:0x47e,_0x3214f8:0x885,_0x5d8a2e:0x59d,_0x108e22:0x611,_0x2ab14b:0xd0,_0x500508:0x445,_0x52b63e:0x2b9},_0x278ac5={_0x1a97da:0xc7},_0x4149d1={_0x4caeff:0xd0,_0x20001e:0x2a6,_0x5f15f2:0xb0,_0x530878:0x541,_0x3578d6:0x91b,_0x21b535:0x72e,_0xc0cae:0x8cf,_0x529f3e:0xc2,_0x47d305:0x2f9,_0x5e3036:0x43d,_0x3d3883:0x277,_0x27bf1c:0x68,_0x192df5:0x11a,_0x285c52:0xc8,_0x4ce4b2:0x4ca,_0x103bce:0x37f,_0x4a8cc4:0x173,_0x4a18ae:0x18d},_0x23ee01={_0x51403e:0x595,_0x5d7ef1:0x648},_0x26c3f9={_0x1806bd:0x18f,_0x1a4666:0x128},_0xee9124={_0x162716:0x816,_0x30ab7b:0x680},_0x57ccf7={_0x4836d4:0x12e,_0xc053c8:0x3e1,_0x1aa977:0x362,_0x468a6c:0x4c8},_0x3aef20={_0x3206a5:0x361},_0x20e92c={_0xa5ce5d:0xa8,_0x44f5d4:0x86,_0x16c171:0x37,_0x24c5cc:0x1c5,_0x29af28:0x2c1,_0x58538c:0x457},_0x1a0300={_0x3e8e85:0xa,_0x2a24dc:0x15b};if(this[_0x269e46(0x746,_0x543fba._0x202bb7,0x769,0x5e3)][_0x553a0d(-_0x543fba._0x4a7232,-0x11f,0x92,0xfd)](_0x45fda0['id'])!==_0x45fda0)throw new ToolExecutionError('Background\x20process\x20reservation\x20is\x20missing\x20or\x20already\x20consumed',{'reservationId':_0x45fda0['id']});this['reservations']['delete'](_0x45fda0['id']);function _0x553a0d(_0x113db1,_0x4c989e,_0x5dbf4f,_0x412673){return _0xe18bb0(_0x113db1,_0x5dbf4f- -_0x1a0300._0x3e8e85,_0x5dbf4f-0x10c,_0x412673-_0x1a0300._0x2a24dc);}let _0x41ae3d;const _0x2d087c=new Promise(_0x4a9e77=>{_0x41ae3d=_0x4a9e77;}),_0x41035a='bg-'+ ++this[_0x553a0d(-_0x543fba._0x12477d,-0x146,-0xd1,-0x272)]+'-'+_0x3cf3f9()['slice'](0x0,0x8),_0x5b43a8={'shellId':_0x41035a,'command':_0x1aa414[_0x553a0d(0x1e6,_0x543fba._0x1b69a4,_0x543fba._0x1a1648,_0x543fba._0x137cfc)],'cwd':_0x1aa414['cwd'],'pid':_0x1aa414[_0x553a0d(0x45,-0x2c2,-0x115,-_0x543fba._0x1683fa)][_0x553a0d(-_0x543fba._0x5e987f,_0x543fba._0x74617c,_0x543fba._0x4da3f4,-0x15)],'processGroupId':_0x1aa414[_0x269e46(0x2e9,_0x543fba._0xce9761,_0x543fba._0x49cc5,0x4d2)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x553a0d(-0x147,-0x104,0x75,_0x543fba._0x377a9b)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x1aa414['child'],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x269e46(0x58b,0x5e0,0x755,0x754)),'stderrDecoder':new StringDecoder('utf8'),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x1aa414[_0x269e46(0x838,0x65c,0x6fc,0x7e2)],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x2d087c,'resolveTerminal':_0x41ae3d,'terminationSettled':![]};this[_0x269e46(0x351,_0x543fba._0x41b9b1,0x51a,_0x543fba._0x4fdcf5)][_0x269e46(0x3e2,0x47c,_0x543fba._0x5f0165,0x4c7)](_0x41035a,_0x5b43a8);try{_0x1aa414['child']['stdout']?.['on'](_0x553a0d(0x106,0x15c,-_0x543fba._0x119b16,_0x543fba._0x28ee0a),_0x370f62=>{const _0x11822e={_0x356dec:0x198,_0x5f1847:0xfc};function _0x58f8bd(_0x20223c,_0x4b731c,_0x547b45,_0x40849d){return _0x553a0d(_0x20223c,_0x4b731c-_0x11822e._0x356dec,_0x40849d-0x204,_0x40849d-_0x11822e._0x5f1847);}function _0x2bf083(_0x43f9a0,_0x5bfd76,_0x53c61e,_0x2f4e1c){return _0x553a0d(_0x43f9a0,_0x5bfd76-0x1e4,_0x5bfd76-0x243,_0x2f4e1c-0xbb);}this[_0x58f8bd(_0x20e92c._0xa5ce5d,_0x20e92c._0x44f5d4,_0x20e92c._0x16c171,_0x20e92c._0x24c5cc)](_0x5b43a8,_0x5b43a8[_0x2bf083(_0x20e92c._0x29af28,_0x20e92c._0x58538c,0x5db,0x5d3)],_0x5b43a8['stdoutNormalizer'],_0x370f62);}),_0x1aa414['child']['stderr']?.['on'](_0x553a0d(_0x543fba._0x39835e,-_0x543fba._0x2e2160,-0x55,_0x543fba._0x576f78),_0x29cab2=>{function _0x186d58(_0x36e9f5,_0x17ee79,_0x5b628e,_0x306fe1){return _0x553a0d(_0x5b628e,_0x17ee79-0x121,_0x17ee79-0xfe,_0x306fe1-0x1f4);}function _0x3a3e4e(_0x426ab2,_0x745206,_0x3b7be3,_0x4188f4){return _0x553a0d(_0x426ab2,_0x745206-0x3b,_0x3b7be3-_0x3aef20._0x3206a5,_0x4188f4-0x94);}this[_0x3a3e4e(_0x57ccf7._0x4836d4,_0x57ccf7._0xc053c8,0x322,0x499)](_0x5b43a8,_0x5b43a8[_0x3a3e4e(0x36b,0x1ca,_0x57ccf7._0x1aa977,0x3d1)],_0x5b43a8[_0x186d58(_0x57ccf7._0x468a6c,0x3b2,0x2a2,0x410)],_0x29cab2);}),_0x1aa414[_0x269e46(0x522,0x2b9,_0x543fba._0x5d9cb7,_0x543fba._0x248af7)][_0x553a0d(0x10e,0x2a5,0x29f,_0x543fba._0x31add6)](_0x269e46(_0x543fba._0x332b58,0x745,0x579,0x773),(_0x2ed84d,_0x2764cd)=>{const _0xf85daf={_0x3500e0:0x8f,_0xa297c8:0x674,_0x5006e3:0x19d};_0x5b43a8['processExited']=!![];function _0x4e02a8(_0x13c00d,_0x50fffc,_0x3bc1cb,_0x3e2335){return _0x553a0d(_0x3e2335,_0x50fffc-_0xf85daf._0x3500e0,_0x50fffc-_0xf85daf._0xa297c8,_0x3e2335-_0xf85daf._0x5006e3);}_0x5b43a8['exitCode']=_0x2ed84d,_0x5b43a8[_0x4e02a8(0x72d,_0xee9124._0x162716,0x78d,_0xee9124._0x30ab7b)]=_0x2764cd;}),_0x1aa414['child']['once'](_0x269e46(0x37e,0x425,_0x543fba._0x418b6c,_0x543fba._0x1bf1e4),_0x390a94=>{function _0x1cc578(_0x14c173,_0x20b565,_0x51aa0c,_0x3ba8a3){return _0x553a0d(_0x51aa0c,_0x20b565-0x36,_0x20b565-0x34a,_0x3ba8a3-0x11f);}_0x5b43a8['error']=_0x390a94[_0x1cc578(0x5c1,_0x23ee01._0x51403e,0x601,0x54c)];function _0x358f0f(_0x59df1e,_0xbe59eb,_0x259da4,_0x576827){return _0x269e46(_0x576827,_0xbe59eb-0xd6,_0x259da4-_0x26c3f9._0x1806bd,_0x259da4- -_0x26c3f9._0x1a4666);}_0x5b43a8[_0x358f0f(0x5c3,0x83e,_0x23ee01._0x5d7ef1,0x5fc)]='error';}),_0x1aa414['child'][_0x269e46(0x726,_0x543fba._0x3214f8,0x934,0x801)](_0x269e46(_0x543fba._0x5d8a2e,0x494,0x81a,_0x543fba._0x108e22),(_0xdefa4f,_0x4e9210)=>{const _0x3b129b={_0x1ee11c:0x14,_0x2a1d30:0x1c8},_0x1d5059={_0x395472:0xbf,_0x33ba2b:0x65};_0x5b43a8['exitCode']=_0xdefa4f,_0x5b43a8['signal']=_0x4e9210;function _0x30b044(_0x1bae1b,_0xe234bc,_0x5032ad,_0x58da47){return _0x553a0d(_0x5032ad,_0xe234bc-_0x1d5059._0x395472,_0x58da47-_0x1d5059._0x33ba2b,_0x58da47-0x35);}_0x5b43a8[_0x30b044(-0x21b,_0x4149d1._0x4caeff,-_0x4149d1._0x20001e,-_0x4149d1._0x5f15f2)]=null;function _0x57a33c(_0x1311d3,_0x1ce74d,_0x2449ba,_0x5a03d4){return _0x269e46(_0x5a03d4,_0x1ce74d-_0x3b129b._0x1ee11c,_0x2449ba-_0x3b129b._0x2a1d30,_0x2449ba- -0x42);}_0x5b43a8[_0x57a33c(_0x4149d1._0x530878,_0x4149d1._0x3578d6,_0x4149d1._0x21b535,_0x4149d1._0xc0cae)]!=='error'&&(_0x5b43a8[_0x30b044(_0x4149d1._0x529f3e,_0x4149d1._0x47d305,_0x4149d1._0x5e3036,0x273)]=_0x5b43a8[_0x30b044(-0x65,0xf9,_0x4149d1._0x3d3883,_0x4149d1._0x27bf1c)]?_0x30b044(0xf5,_0x4149d1._0x192df5,0x163,_0x4149d1._0x285c52):_0x57a33c(0x478,0x523,0x51a,_0x4149d1._0x4ce4b2)),this[_0x30b044(-0x58,_0x4149d1._0x103bce,_0x4149d1._0x4a8cc4,_0x4149d1._0x4a18ae)](_0x5b43a8);});}catch(_0x294524){this[_0x553a0d(0x2f,0xf9,-_0x543fba._0x2ab14b,-0x28a)]['delete'](_0x41035a);throw _0x294524;}this[_0x553a0d(0x477,_0x543fba._0x500508,0x2f9,_0x543fba._0x52b63e)]();function _0x269e46(_0x3668b4,_0x25e4c1,_0x14d257,_0x2959bf){return _0x47b891(_0x3668b4,_0x2959bf-_0x278ac5._0x1a97da,_0x14d257-0xfb,_0x2959bf-0x1c3);}return _0x5b43a8;}[_0x47b891(0x34b,0x555,0x36f,0x759)](_0x4bd590){const _0x1208bd={_0x4bff28:0xbf,_0x18e0c1:0x1e1,_0x2f3ccd:0x1b2,_0x28a918:0x212,_0x357aa8:0x85},_0x21d619={_0x45c076:0x95},_0x152f29={_0xcc742b:0x445,_0x4280b5:0x18b},_0x4b3ba0=this['reserve']();function _0x4c129c(_0xd003fd,_0x3fb380,_0x53ebbd,_0x14c050){return _0x47b891(_0x14c050,_0xd003fd- -_0x152f29._0xcc742b,_0x53ebbd-0x159,_0x14c050-_0x152f29._0x4280b5);}function _0x380595(_0x444630,_0x4ab725,_0x5d0ff0,_0x3cc997){return _0x47b891(_0x444630,_0x4ab725-0x17a,_0x5d0ff0-_0x21d619._0x45c076,_0x3cc997-0x1ad);}try{return this[_0x380595(0x93f,0x832,0x85f,0x98a)](_0x4b3ba0,{..._0x4bd590,...this[_0x4c129c(0x2e4,0x47e,0x430,0x4e6)]==='win32'?{}:{'processGroupId':_0x4bd590[_0x4c129c(-_0x1208bd._0x4bff28,-_0x1208bd._0x18e0c1,-0x1c5,-_0x1208bd._0x2f3ccd)][_0x4c129c(0x11e,_0x1208bd._0x28a918,-0x95,0x1e9)]}});}catch(_0x466fc5){this[_0x4c129c(_0x1208bd._0x357aa8,0x1a,0x11c,0x11d)](_0x4b3ba0);throw _0x466fc5;}}[_0xe18bb0(0x3b1,0x257,0x435,0x1c8)](_0x3cac0e,_0x3e4e83){const _0x44a96c={_0x5a9051:0x21e,_0x66c507:0x40,_0x52f53b:0x82,_0x5bf760:0xe4,_0x176269:0x10e,_0x1d4293:0x71,_0x528259:0xdb,_0x33e040:0xd9,_0x3381b5:0x1f4,_0x505f4b:0x155,_0x2f38f2:0x6c,_0x31797c:0xdd,_0x5ce114:0x8f,_0x1e7645:0x145,_0x3c5fa7:0x19c,_0xfcbbae:0x275,_0x3a346b:0x1d1,_0x495dfb:0x37,_0x11af51:0x11b,_0xd653b6:0x34d,_0x4ff7e6:0x1f9,_0x3a7184:0x1cd,_0x3d3d2e:0xf8,_0xc3d17f:0x28,_0x4b1127:0x1de,_0x3dd8af:0xac,_0xd45683:0xe8,_0x2c2bd3:0x31,_0x1c13cd:0x11c,_0x3bfb1c:0xe5,_0x135ca7:0x1fd,_0xfae590:0x93,_0x3e709c:0x1dc,_0x3b9b92:0x10b,_0x230c3a:0xc1,_0x38c44b:0xd8,_0x556d8d:0x1fe,_0x4a6776:0x3d,_0x45c0bb:0x203,_0x56739e:0x145,_0x375e3f:0x2b},_0x3b4d5f={_0x3b4440:0x5c,_0x5a9ce5:0x9b},_0x834f2d={_0x149aa2:0x76},_0x1f8ed6=this['entries'][_0x1104a4(_0x44a96c._0x5a9051,-0x6a,0x52,_0x44a96c._0x66c507)](_0x3cac0e);if(!_0x1f8ed6)throw new ToolExecutionError(_0x1104a4(-_0x44a96c._0x52f53b,_0x44a96c._0x5bf760,-0x2e8,-_0x44a96c._0x176269)+_0x3cac0e,{'shellId':_0x3cac0e});const _0x4839a0=_0x1f8ed6['buffer']['join'](''),_0x59a204=Math[_0x1ca56b(_0x44a96c._0x1d4293,-_0x44a96c._0x528259,-_0x44a96c._0x33e040,0x119)](_0x1f8ed6[_0x1ca56b(_0x44a96c._0x3381b5,_0x44a96c._0x505f4b,0x251,_0x44a96c._0x2f38f2)],_0x1f8ed6[_0x1ca56b(-0x10a,0x7f,0x94,_0x44a96c._0x31797c)]),_0x10bf02=Math[_0x1104a4(_0x44a96c._0x5ce114,-0x23b,-0xc8,-0x16f)](0x0,_0x1f8ed6[_0x1104a4(-0xba,0x11f,_0x44a96c._0x1e7645,-0x15)]-_0x1f8ed6[_0x1ca56b(0x176,0x155,-0xf,0x1d6)]),_0x13bc3a=_0x4839a0[_0x1ca56b(0x6b,-0xb8,-_0x44a96c._0x3c5fa7,-_0x44a96c._0xfcbbae)](_0x59a204-_0x1f8ed6[_0x1104a4(0x1af,-_0x44a96c._0x3a346b,-0x54,-0x15)]);function _0x1ca56b(_0x1760b0,_0xd31250,_0x196b63,_0x26c37d){return _0xe18bb0(_0x196b63,_0xd31250-0x38,_0x196b63-_0x834f2d._0x149aa2,_0x26c37d-0x1bd);}let _0x372fcb;const _0x21e5c8=_0x3e4e83?.[_0x1ca56b(-0x124,0x9d,-0x14,0x1ef)];function _0x1104a4(_0x4fa835,_0x1a0c6f,_0x4972d4,_0x57c458){return _0xe18bb0(_0x1a0c6f,_0x57c458- -_0x3b4d5f._0x3b4440,_0x4972d4-0x1a1,_0x57c458-_0x3b4d5f._0x5a9ce5);}if(!_0x21e5c8)_0x372fcb=_0x13bc3a,_0x1f8ed6['readCursor']=_0x1f8ed6[_0x1104a4(_0x44a96c._0x495dfb,0x1cc,0x1b8,0x1ad)];else{let _0x27ddb9;try{_0x27ddb9=new RegExp(_0x21e5c8);}catch(_0x4cf33d){throw new ToolExecutionError('Invalid\x20regex:\x20'+(_0x4cf33d instanceof Error?_0x4cf33d[_0x1104a4(0x3d3,_0x44a96c._0x11af51,_0x44a96c._0xd653b6,_0x44a96c._0x4ff7e6)]:String(_0x4cf33d)),{'shellId':_0x3cac0e,'regex':_0x21e5c8});}let _0x589d87=_0x13bc3a;if(!_0x1f8ed6[_0x1104a4(0x75,0x160,_0x44a96c._0x3a7184,_0x44a96c._0x3d3d2e)]){const _0x4c8172=_0x13bc3a[_0x1104a4(-_0x44a96c._0xc3d17f,_0x44a96c._0x4b1127,0x28b,_0x44a96c._0x3dd8af)]('\x0a');_0x589d87=_0x4c8172>=0x0?_0x13bc3a[_0x1ca56b(0x2c,-0xb8,-_0x44a96c._0xd45683,-0x203)](0x0,_0x4c8172+0x1):'';}_0x372fcb=_0x589d87[_0x1ca56b(-0xf8,-_0x44a96c._0x2c2bd3,_0x44a96c._0x1c13cd,_0x44a96c._0x3bfb1c)]('\x0a')[_0x1104a4(0xcf,0x37e,0x1b3,_0x44a96c._0x135ca7)](_0x264f2c=>_0x27ddb9[_0x1104a4(0x2e3,0x342,0x167,0x1e4)](_0x264f2c))[_0x1ca56b(0x138,0x11a,_0x44a96c._0xfae590,_0x44a96c._0x3e709c)]('\x0a'),_0x1f8ed6[_0x1104a4(_0x44a96c._0x3b9b92,0x12d,0x258,_0x44a96c._0x230c3a)]=_0x59a204+_0x589d87[_0x1ca56b(_0x44a96c._0x38c44b,0x1df,0x2f0,0x21d)];}return{'output':(_0x10bf02>0x0?'[output\x20truncated:\x20'+_0x10bf02+_0x1104a4(0x12f,-0x180,_0x44a96c._0x556d8d,-0x12):'')+_0x372fcb,'status':_0x1f8ed6[_0x1104a4(_0x44a96c._0x4a6776,0x1c7,_0x44a96c._0x45c0bb,0x1bc)],'exitCode':_0x1f8ed6[_0x1104a4(_0x44a96c._0x56739e,_0x44a96c._0x375e3f,0x1f6,0x1b7)],'signal':_0x1f8ed6['signal'],'error':_0x1f8ed6['error'],'truncated':_0x10bf02>0x0};}[_0xe18bb0(-0x7e,-0x90,-0xfe,-0x1b0)](){const _0x47059a={_0x78e6ef:0x417,_0x552975:0x5e9,_0xc66a2f:0x4c0},_0x5c45ef={_0x36090d:0xd5,_0x140100:0x6c};function _0x3895f8(_0xfe8793,_0x2f20ca,_0x281471,_0xeb3a12){return _0x47b891(_0x281471,_0xfe8793-0x43,_0x281471-0x170,_0xeb3a12-0x35);}function _0x1cb664(_0xe7cf12,_0x25be5a,_0x3178c2,_0xccaffa){return _0x47b891(_0x25be5a,_0x3178c2- -0x1c2,_0x3178c2-_0x5c45ef._0x36090d,_0xccaffa-_0x5c45ef._0x140100);}return[...this[_0x1cb664(0x281,_0x47059a._0x78e6ef,0x209,0x1d4)][_0x1cb664(0x392,_0x47059a._0x552975,_0x47059a._0xc66a2f,0x5fb)]()];}[_0x47b891(0x67e,0x4b5,0x582,0x4fe)](_0x3da939){const _0x4b117a={_0x5241f6:0x59c,_0x4d79b0:0x439,_0x124cd4:0x803,_0x4c4670:0x54f,_0x596c48:0x89e,_0x46b4b4:0x55c,_0x40e560:0x6fb,_0x58dd54:0x6f5,_0x429875:0x74f,_0x24e2c3:0x438,_0x80162:0x4c6,_0x5917be:0x5e0,_0x46af9a:0x779,_0x3aeda5:0x5fb,_0x536ca7:0x7cd,_0x2c0cef:0x57d,_0x1f9d31:0x3cf,_0x33a9c1:0x4d6,_0x54fd8a:0x5ad,_0x4e6501:0xa54,_0x1f0257:0x882,_0x292ead:0x84e,_0x44e3c7:0x695,_0x531ff6:0x7ca,_0x490ec3:0x571,_0x41ee05:0x477,_0x2fdc18:0x6b6,_0xc0955d:0x695,_0x309620:0x79e,_0x56fc3e:0x498,_0x2fcbf1:0x60b,_0x472ab8:0x7e8,_0x4eb17e:0x5f0},_0xfad9c6={_0x5ce03a:0x165,_0x4daef6:0x39},_0x35e9a0={_0x65fa8b:0x43f,_0x2e8313:0x5a7,_0x40dc7b:0x522},_0x43c3d5={_0x341c0b:0x555,_0x1a9099:0x141},_0x31301c=this['entries'][_0x18f020(0x5f1,_0x4b117a._0x5241f6,_0x4b117a._0x4d79b0,0x61b)](_0x3da939);if(!_0x31301c)throw new ToolExecutionError('No\x20background\x20process\x20with\x20id\x20'+_0x3da939,{'shellId':_0x3da939});if(_0x31301c['terminationPromise']&&!_0x31301c[_0x18f020(_0x4b117a._0x124cd4,0x9f4,0x927,0x929)])return _0x31301c['terminationPromise'];if(_0x31301c[_0x18f020(0x6a9,_0x4b117a._0x4c4670,0x83c,_0x4b117a._0x596c48)]&&isTerminalStatus(_0x31301c['status']))return Promise[_0xbfb090(_0x4b117a._0x46b4b4,_0x4b117a._0x40e560,0x729,0x541)](this['result'](_0x31301c,_0x18f020(0x7a1,0x74a,0x8c1,0x924)));function _0x18f020(_0x19a691,_0x4c467a,_0x157d16,_0x5d77af){return _0xe18bb0(_0x5d77af,_0x19a691-_0x43c3d5._0x341c0b,_0x157d16-_0x43c3d5._0x1a9099,_0x5d77af-0x88);}if(_0x31301c[_0x18f020(0x76d,_0x4b117a._0x58dd54,_0x4b117a._0x429875,0x8e1)]!==_0xbfb090(0x3dc,_0x4b117a._0x24e2c3,0x604,_0x4b117a._0x80162))_0x31301c[_0x18f020(0x76d,0x691,_0x4b117a._0x5917be,0x658)]=_0x18f020(_0x4b117a._0x46af9a,_0x4b117a._0x3aeda5,_0x4b117a._0x536ca7,0x90d);_0x31301c[_0xbfb090(_0x4b117a._0x2c0cef,_0x4b117a._0x1f9d31,_0x4b117a._0x33a9c1,_0x4b117a._0x54fd8a)]=!![],_0x31301c[_0xbfb090(_0x4b117a._0x4e6501,0x8ec,_0x4b117a._0x1f0257,_0x4b117a._0x292ead)]=![],_0x31301c[_0x18f020(_0x4b117a._0x44e3c7,0x814,_0x4b117a._0x531ff6,_0x4b117a._0x490ec3)]=this[_0xbfb090(0x313,_0x4b117a._0x41ee05,_0x4b117a._0x2fdc18,0x4df)](_0x31301c),void _0x31301c[_0x18f020(_0x4b117a._0xc0955d,_0x4b117a._0x309620,0x83a,_0x4b117a._0x56fc3e)][_0xbfb090(_0x4b117a._0x2fcbf1,_0x4b117a._0x472ab8,_0x4b117a._0x4eb17e,0x77b)](()=>{_0x31301c['terminationSettled']=!![];},()=>{const _0x3f8092={_0x21f524:0xf6};function _0x118afc(_0x381ea6,_0x38a2b9,_0x371b8e,_0x16be7c){return _0x18f020(_0x381ea6- -0x3c4,_0x38a2b9-0x57,_0x371b8e-_0x3f8092._0x21f524,_0x16be7c);}_0x31301c[_0x118afc(_0x35e9a0._0x65fa8b,0x602,_0x35e9a0._0x2e8313,_0x35e9a0._0x40dc7b)]=!![];});function _0xbfb090(_0xff1262,_0x227ca7,_0x20740b,_0x2a2499){return _0x47b891(_0x20740b,_0x2a2499-0x10f,_0x20740b-_0xfad9c6._0x5ce03a,_0x2a2499-_0xfad9c6._0x4daef6);}return _0x31301c[_0xbfb090(0x89d,0x511,0x8a5,0x6e0)];}[_0x47b891(0x544,0x417,0x43a,0x5af)](){const _0x409d31={_0x28ffe6:0x1b1,_0x4b2f83:0x187,_0x1fcd14:0x1ce,_0x1bd37d:0x205,_0x1c3def:0x30a,_0x4fb94a:0x455,_0x1c3e9b:0x401,_0x400ea0:0x434},_0x5c3f7d={_0x3fadbd:0x23,_0x5394fa:0xc0},_0x1f90c3={_0x22744c:0x1cd,_0x5cac95:0x19a,_0xc919bd:0xda};function _0xd6d522(_0x29430b,_0x4d36b8,_0x330675,_0x5cb2ef){return _0x47b891(_0x29430b,_0x5cb2ef- -_0x1f90c3._0x22744c,_0x330675-_0x1f90c3._0x5cac95,_0x5cb2ef-_0x1f90c3._0xc919bd);}function _0x34ed2b(_0x2d2419,_0x439f2a,_0x57c3d4,_0x258a20){return _0xe18bb0(_0x439f2a,_0x2d2419- -_0x5c3f7d._0x3fadbd,_0x57c3d4-0xd,_0x258a20-_0x5c3f7d._0x5394fa);}return Promise[_0x34ed2b(_0x409d31._0x28ffe6,0x1dc,0xcd,_0x409d31._0x4b2f83)]([...this['entries'][_0x34ed2b(_0x409d31._0x1fcd14,_0x409d31._0x1bd37d,_0x409d31._0x1c3def,0x38d)]()][_0xd6d522(0x340,_0x409d31._0x4fb94a,_0x409d31._0x1c3e9b,_0x409d31._0x400ea0)](_0x1b76ee=>this['kill'](_0x1b76ee['shellId'])));}async[_0xe18bb0(-0xee,-0xec,0x10,-0x221)](){const _0xa3e9c={_0x42701c:0x1d6,_0xe8a1:0x6d,_0x40546f:0x169,_0x51770f:0x3c0,_0x621343:0x2d4,_0x5855d2:0x11a,_0x3deb2a:0xe8,_0x4ee690:0x1c4,_0x3183cc:0x29,_0x5444b8:0xbb,_0x4044c0:0x22d,_0x4ca2b3:0x67},_0x3337e4={_0x5aef00:0xe7,_0x459247:0xc},_0x5b5303={_0x2b2e9d:0x1a2,_0x49571c:0xc0,_0x5588e8:0x1c},_0x52e7a3=await this[_0x2ec8f5(0x114,_0xa3e9c._0x42701c,_0xa3e9c._0xe8a1,-_0xa3e9c._0x40546f)]();function _0x3df590(_0x50c890,_0x31a0fb,_0x2c5d38,_0xf4fb6d){return _0xe18bb0(_0x50c890,_0x31a0fb-_0x5b5303._0x2b2e9d,_0x2c5d38-_0x5b5303._0x49571c,_0xf4fb6d-_0x5b5303._0x5588e8);}if(_0x52e7a3[_0x2ec8f5(_0xa3e9c._0x51770f,0x3e7,_0xa3e9c._0x621343,0x47d)](_0x369c74=>_0x369c74[_0x2ec8f5(0x9c,0x197,0x201,0x3d3)]===_0x3df590(0x3eb,0x3fa,0x587,0x49a)))throw new BackgroundProcessCleanupError(_0x52e7a3);this[_0x3df590(0x2c3,0xdc,-_0xa3e9c._0x5855d2,_0xa3e9c._0x3deb2a)][_0x3df590(_0xa3e9c._0x4ee690,0x122,0x181,_0xa3e9c._0x3183cc)](),this[_0x3df590(_0xa3e9c._0x5444b8,_0xa3e9c._0x4044c0,0x246,0xd6)][_0x2ec8f5(0x3c,-0x179,_0xa3e9c._0x4ca2b3,0x137)]();function _0x2ec8f5(_0x2e83f9,_0x185d8c,_0x4f8f6a,_0x13f15e){return _0xe18bb0(_0x185d8c,_0x4f8f6a-_0x3337e4._0x5aef00,_0x4f8f6a-0x39,_0x13f15e-_0x3337e4._0x459247);}return _0x52e7a3;}async[_0xe18bb0(0xc,-0xc1,0xfd,-0x1b7)](_0xbef1ab){const _0x46037f={_0x5d2b5c:0x429,_0x4d218e:0x4f2,_0x3beafe:0x32a,_0x582ab5:0x4b2,_0x3efce2:0x51b,_0x5b8fb6:0x2f6,_0x2296d5:0xf3,_0x45bbea:0x1f1,_0x3cdf66:0x1eb,_0xb7b2c:0x1c,_0x5282cd:0x222,_0x2941d1:0x9b,_0x4fb8b5:0x1d8,_0x16253d:0x234,_0x1af24:0xa3,_0x12ae4d:0x65,_0x11fe3e:0x119,_0x2b3bfd:0xdd,_0x352cd8:0x1ec,_0x421b2d:0x45,_0x417097:0xae,_0x2e55f6:0x163,_0x1cb454:0xaf,_0x2a461f:0x184,_0x425c4c:0x259,_0x40e967:0x13c,_0x30259a:0x70,_0x3fd6aa:0x301,_0x447872:0x148,_0x46f31f:0x1b9,_0x198754:0x3d8,_0x2e67a3:0x239,_0x4f0839:0x467,_0xae49de:0x271,_0x576b35:0x65,_0x4c824a:0x14f,_0x3ca759:0x15a,_0x2bda34:0x2ff,_0x37744a:0x181,_0x28bae0:0x6},_0x3292e0={_0x3817fa:0x1b0};_0xbef1ab[_0x3a3399(0x44d,_0x46037f._0x5d2b5c,0x390,_0x46037f._0x4d218e)]=!![];const _0x3f735a=await this[_0x3a3399(0x345,_0x46037f._0x3beafe,_0x46037f._0x582ab5,0x45e)][_0x3a3399(0x369,0x6e7,_0x46037f._0x3efce2,0x5a6)]({'rootPid':_0xbef1ab[_0x3a3399(0x448,0x470,0x441,_0x46037f._0x5b8fb6)],'processGroupId':_0xbef1ab[_0x3a3399(_0x46037f._0x2296d5,0x402,0x2e9,0x417)]},_0x213b92(0x2ef,_0x46037f._0x45bbea,0x16d,_0x46037f._0x3cdf66));if(_0x3f735a[_0x213b92(0x226,0x7f,_0x46037f._0xb7b2c,_0x46037f._0x5282cd)]==='failed')return this['failed'](_0xbef1ab,_0x3f735a[_0x213b92(-_0x46037f._0x2941d1,-0x26b,-_0x46037f._0x4fb8b5,-0x2e0)]);if(await this['waitForTerminal'](_0xbef1ab,TERMINATION_WINDOW_MS))return this[_0x213b92(-_0x46037f._0x16253d,_0x46037f._0x1af24,-_0x46037f._0x12ae4d,-0x169)](_0xbef1ab);function _0x3a3399(_0x3c2949,_0x534a8b,_0x597756,_0xfb97e6){return _0x47b891(_0x534a8b,_0x597756- -0x122,_0x597756-0xf0,_0xfb97e6-0x4d);}_0xbef1ab[_0x213b92(-_0x46037f._0x11fe3e,-_0x46037f._0x2b3bfd,0xd7,-0x91)]=!![];const _0x23d379=await this[_0x213b92(-0x68,_0x46037f._0x352cd8,_0x46037f._0x421b2d,-_0x46037f._0x417097)][_0x213b92(0x1d9,-0xc4,0xae,-_0x46037f._0x2e55f6)]({'rootPid':_0xbef1ab['pid'],'processGroupId':_0xbef1ab[_0x213b92(-_0x46037f._0x1cb454,-0x31e,-_0x46037f._0x2a461f,0x2b)]},_0x213b92(-_0x46037f._0x425c4c,_0x46037f._0x40e967,-0x59,_0x46037f._0x30259a));function _0x213b92(_0x2b7bde,_0x3cdb6e,_0x4bf155,_0x21bfda){return _0x47b891(_0x2b7bde,_0x4bf155- -0x58f,_0x4bf155-0x111,_0x21bfda-_0x3292e0._0x3817fa);}if(_0x23d379[_0x213b92(-0x72,0x90,_0x46037f._0xb7b2c,0x3b)]==='failed')return this[_0x213b92(-0x46,_0x46037f._0x3fd6aa,0x15a,_0x46037f._0x447872)](_0xbef1ab,_0x23d379[_0x213b92(-_0x46037f._0x46f31f,-_0x46037f._0x198754,-_0x46037f._0x4fb8b5,-0x26c)]);if(await this[_0x3a3399(_0x46037f._0x2e67a3,0x29a,0x320,_0x46037f._0x4f0839)](_0xbef1ab,TERMINATION_WINDOW_MS))return this[_0x213b92(-0x72,-_0x46037f._0xae49de,-_0x46037f._0x576b35,0x6a)](_0xbef1ab);return this[_0x213b92(_0x46037f._0x4c824a,-0x25,_0x46037f._0x3ca759,_0x46037f._0x2bda34)](_0xbef1ab,_0x213b92(0xe,-_0x46037f._0x37744a,-0xb3,_0x46037f._0x28bae0));}['confirmed'](_0x1fcbf7){const _0x229f74={_0x37898b:0x165,_0x503fbe:0xd2,_0x781ccc:0x26,_0x3cc6c4:0xe,_0x4991e1:0x2be,_0xbcaaa9:0x256,_0x88b161:0x94,_0x1fcc1d:0x8a,_0x4f8872:0x99,_0x46aa37:0x27d,_0x2b2ede:0x14e,_0x34a4c0:0xbb,_0x41da66:0x46,_0x4f202a:0xc0},_0x286c2f={_0x297b94:0x1e9},_0x27648e={_0x566798:0xb3};function _0x210a46(_0x22d78d,_0x3abacc,_0x3545a4,_0x157960){return _0xe18bb0(_0x3abacc,_0x22d78d- -_0x27648e._0x566798,_0x3545a4-0x54,_0x157960-0x135);}function _0x4d39e9(_0x1bcd0a,_0x1b3613,_0x5c22c5,_0x30aa71){return _0xe18bb0(_0x30aa71,_0x1b3613-0x164,_0x5c22c5-0x140,_0x30aa71-_0x286c2f._0x297b94);}return _0x1fcbf7[_0x210a46(_0x229f74._0x37898b,0x2b0,_0x229f74._0x503fbe,_0x229f74._0x781ccc)]===_0x4d39e9(0xf1,0x8a,-0x56,_0x229f74._0x3cc6c4)?this[_0x4d39e9(0x4d1,0x3bc,_0x229f74._0x4991e1,_0x229f74._0xbcaaa9)](_0x1fcbf7,_0x1fcbf7[_0x4d39e9(-_0x229f74._0x88b161,_0x229f74._0x1fcc1d,-0x124,0x248)]??_0x210a46(-_0x229f74._0x4f8872,-_0x229f74._0x46aa37,-_0x229f74._0x2b2ede,0x156)):this[_0x4d39e9(0x64,_0x229f74._0x34a4c0,0x1cc,0x1e4)](_0x1fcbf7,_0x210a46(-_0x229f74._0x41da66,_0x229f74._0x4f202a,-0x67,-0xd1));}[_0x47b891(0x515,0x6e9,0x7ff,0x5d7)](_0x3002db,_0x1c8904){const _0x4b35fe={_0x476e65:0xd3,_0xb90159:0x4,_0x294ce1:0xf6},_0x1908ba={_0x3aaacc:0x14e,_0x56b294:0x1be},_0x5f3ef1={_0x1bfb73:0x2da,_0x388f72:0x8e};_0x3002db[_0x20a19a(0x2dd,0x269,0x429,_0x4b35fe._0x476e65)]=_0x1c8904;function _0x475940(_0x546834,_0x41a97d,_0x15b40a,_0xb1fa02){return _0x47b891(_0x41a97d,_0x546834- -_0x5f3ef1._0x1bfb73,_0x15b40a-_0x5f3ef1._0x388f72,_0xb1fa02-0x16c);}function _0x20a19a(_0x2316c7,_0x17a08b,_0x5661a4,_0x1455c5){return _0x47b891(_0x5661a4,_0x17a08b- -_0x1908ba._0x3aaacc,_0x5661a4-0x1e1,_0x1455c5-_0x1908ba._0x56b294);}return this[_0x475940(0x10e,_0x4b35fe._0xb90159,_0x4b35fe._0x294ce1,0x285)](_0x3002db,'failed');}['result'](_0x52d130,_0x39428c){const _0x2278c8={_0x5bb50d:0x41,_0x4e9ac8:0x871,_0x390239:0xa4f,_0x23377e:0x7c3,_0x119bc5:0x2d0,_0x21f78e:0x1b0,_0x3e00c1:0xa2,_0x5eca61:0xb8,_0x1b44fd:0x92,_0x5b2b62:0xd6,_0x179e4b:0x2a8,_0x1a8e42:0xf,_0x5b5a9a:0x25,_0x36558a:0x7bb},_0x35a9a1={_0x3af455:0x17e},_0x2dcc82={_0x3467c4:0x48d};function _0x56bbd4(_0xf3a1b,_0x16d502,_0x218da2,_0x49f72a){return _0x47b891(_0xf3a1b,_0x218da2- -_0x2dcc82._0x3467c4,_0x218da2-0x97,_0x49f72a-0x44);}function _0x29d69f(_0x3e40be,_0x17c6f7,_0x7d9a75,_0x984163){return _0x47b891(_0x984163,_0x3e40be-0x1c8,_0x7d9a75-0x151,_0x984163-_0x35a9a1._0x3af455);}return{'shellId':_0x52d130[_0x56bbd4(0x123,-0x234,-_0x2278c8._0x5bb50d,-0xf4)],'outcome':_0x39428c,'status':_0x52d130[_0x29d69f(_0x2278c8._0x4e9ac8,0xa30,_0x2278c8._0x390239,_0x2278c8._0x23377e)],'exitCode':_0x52d130['exitCode'],'signal':_0x52d130[_0x56bbd4(0xdd,_0x2278c8._0x119bc5,_0x2278c8._0x21f78e,_0x2278c8._0x3e00c1)],'error':_0x52d130[_0x56bbd4(_0x2278c8._0x5eca61,-_0x2278c8._0x1b44fd,-_0x2278c8._0x5b2b62,-_0x2278c8._0x179e4b)],'gracefulRequested':_0x52d130[_0x56bbd4(-0x93,-_0x2278c8._0x1a8e42,_0x2278c8._0x5b5a9a,-0x5f)],'forceRequested':_0x52d130[_0x29d69f(0x82e,0x99a,_0x2278c8._0x36558a,0x78b)]};}[_0x47b891(0x4e6,0x442,0x5a4,0x4ba)](_0x4db4c2,_0x5969a7){const _0x1a8848={_0xeff363:0x5f0},_0x151d90={_0x464560:0x5af,_0x21d3ac:0x4d0},_0x1208dd={_0x2ff193:0x1d1},_0x42361a={_0x2dc5a0:0x1be,_0x435acd:0x96,_0x1c5781:0x1ef};function _0x368751(_0xef4fd6,_0x192cfb,_0x2a846b,_0x33fc97){return _0x47b891(_0x192cfb,_0x2a846b-_0x42361a._0x2dc5a0,_0x2a846b-_0x42361a._0x435acd,_0x33fc97-_0x42361a._0x1c5781);}if(_0x4db4c2['terminalSettled'])return Promise[_0x368751(0x7d9,0x7db,0x5f0,_0x1a8848._0xeff363)](!![]);return new Promise(_0x154806=>{let _0xb571ea=![];const _0x174dc6=setTimeout(()=>{if(_0xb571ea)return;_0xb571ea=!![],_0x154806(![]);},_0x5969a7);function _0x206e46(_0x231e5e,_0x53ad43,_0x166c5a,_0x5b2bd0){return _0x368751(_0x231e5e-_0x1208dd._0x2ff193,_0x231e5e,_0x53ad43- -0x304,_0x5b2bd0-0x16c);}void _0x4db4c2[_0x206e46(0x369,0x551,_0x151d90._0x464560,_0x151d90._0x21d3ac)]['then'](()=>{if(_0xb571ea)return;_0xb571ea=!![],clearTimeout(_0x174dc6),_0x154806(!![]);});});}[_0x47b891(0x3a9,0x45c,0x4ed,0x344)](_0xc72eac,_0x273e1b,_0x1c43fa,_0x61be7c){const _0x1e38f9={_0x4dfef0:0x73a,_0x4c537e:0x66a,_0xd69f70:0x848,_0x33863a:0x598,_0x51181f:0x7d9,_0x4d6371:0x8a0,_0x1d8a3f:0x6d0},_0x5a4d6b={_0x43985a:0x94},_0x39ce94={_0x1d1355:0x1bf,_0x110b52:0x190},_0x2a1cfb=_0x273e1b['write'](_0x61be7c);function _0x4f7e42(_0x5c33d7,_0x12cffa,_0x55b6ad,_0x4f6dce){return _0x47b891(_0x55b6ad,_0x4f6dce-0x1b5,_0x55b6ad-_0x39ce94._0x1d1355,_0x4f6dce-_0x39ce94._0x110b52);}function _0x3473df(_0x2a4927,_0x5b4763,_0x4c3356,_0x49067c){return _0x47b891(_0x49067c,_0x5b4763-0x147,_0x4c3356-_0x5a4d6b._0x43985a,_0x49067c-0x14b);}this[_0x3473df(_0x1e38f9._0x4dfef0,_0x1e38f9._0x4c537e,_0x1e38f9._0xd69f70,_0x1e38f9._0x33863a)](_0xc72eac,_0xc72eac[_0x3473df(0x711,0x862,_0x1e38f9._0x51181f,0xa35)]?_0x1c43fa[_0x4f7e42(_0x1e38f9._0x4d6371,0x843,0x4cf,_0x1e38f9._0x1d8a3f)](_0x2a1cfb):_0x2a1cfb);}[_0x47b891(0x51e,0x5c3,0x4c5,0x546)](_0x3d4e1b){const _0x46918a={_0x1047b6:0x1b8,_0x5f1dd8:0x1ea,_0x195cea:0x2cd,_0x3fd6a5:0x1e2,_0x40d179:0x636},_0x5a73b3={_0x3ba944:0x179,_0x571b46:0xcc};this[_0x141376(0x121,_0x46918a._0x1047b6,_0x46918a._0x5f1dd8,0x98)](_0x3d4e1b);!_0x3d4e1b[_0x554ea9(0x14c,0x318,_0x46918a._0x195cea,0x49f)]&&(_0x3d4e1b[_0x554ea9(0x298,0x368,_0x46918a._0x195cea,_0x46918a._0x3fd6a5)]=!![],_0x3d4e1b['resolveTerminal']());function _0x141376(_0x1d375d,_0x190760,_0x309001,_0x464b91){return _0xe18bb0(_0x190760,_0x1d375d-0x160,_0x309001-0x178,_0x464b91-0xf2);}function _0x554ea9(_0x36450f,_0x2167e3,_0x473004,_0x14e31){return _0xe18bb0(_0x2167e3,_0x473004-_0x5a73b3._0x3ba944,_0x473004-0xc8,_0x14e31-_0x5a73b3._0x571b46);}this[_0x554ea9(0x579,0x649,0x47c,_0x46918a._0x40d179)]();}[_0xe18bb0(-0x1fa,-0x3f,0x197,-0xd2)](_0x1f3e79){const _0x22fa5b={_0x32c36a:0x63f,_0x2d8cbf:0x61a,_0x1deb36:0x468,_0x280bc2:0x764,_0x53cb6a:0x4d5,_0x368994:0x418,_0x122edf:0x281,_0xc8abe6:0x2be,_0x3511d2:0x5b3,_0x7265b4:0x6f7,_0x1e9664:0x5b3,_0x3ce801:0x2d7,_0x271f2b:0x484,_0x4ffec0:0x723,_0xf36507:0x292,_0x4d6755:0x284,_0x5d9f5e:0x47b,_0x72fe13:0x5b3,_0xec3929:0x3cc,_0x102569:0x496,_0x3198fd:0x484,_0x2f838b:0x388,_0x1b33e4:0x4b8,_0x32375f:0x615,_0x196b7d:0x5e5,_0x5627b3:0x5c2},_0x161b4e={_0x46713d:0x48,_0x54bb32:0x178},_0x19375b={_0x258d31:0x12};function _0xf11597(_0x5d17b8,_0x5431fa,_0x530ac2,_0x14399e){return _0xe18bb0(_0x530ac2,_0x5431fa-0x1fa,_0x530ac2-0xfa,_0x14399e-_0x19375b._0x258d31);}if(_0x1f3e79[_0x2c1089(_0x22fa5b._0x32c36a,_0x22fa5b._0x2d8cbf,_0x22fa5b._0x1deb36,0x526)])return;_0x1f3e79[_0x2c1089(0x5ba,0x61a,0x540,_0x22fa5b._0x280bc2)]=!![];const _0x55e179=_0x1f3e79[_0xf11597(_0x22fa5b._0x53cb6a,_0x22fa5b._0x368994,_0x22fa5b._0x122edf,_0x22fa5b._0xc8abe6)][_0x2c1089(0x76d,_0x22fa5b._0x3511d2,_0x22fa5b._0x7265b4,0x3ce)](),_0x2d724e=_0x1f3e79['stderrDecoder'][_0x2c1089(0x416,_0x22fa5b._0x1e9664,0x3bb,0x6b0)]();function _0x2c1089(_0x127d9b,_0x24bd68,_0x49411a,_0x2d69dc){return _0x47b891(_0x49411a,_0x24bd68- -0x157,_0x49411a-_0x161b4e._0x46713d,_0x2d69dc-_0x161b4e._0x54bb32);}this[_0xf11597(_0x22fa5b._0x3ce801,0x28c,0x1d0,0x272)](_0x1f3e79,_0x1f3e79[_0xf11597(0x37a,_0x22fa5b._0x271f2b,0x37c,0x534)]?_0x1f3e79[_0x2c1089(0x5e8,0x5ff,0x4a3,_0x22fa5b._0x4ffec0)][_0xf11597(_0x22fa5b._0xf36507,_0x22fa5b._0x4d6755,0xf8,_0x22fa5b._0x5d9f5e)](_0x55e179)+_0x1f3e79['stdoutNormalizer'][_0x2c1089(0x499,_0x22fa5b._0x72fe13,0x5a8,0x5e6)]():_0x55e179),this[_0x2c1089(0x38d,_0x22fa5b._0xec3929,_0x22fa5b._0x102569,0x43a)](_0x1f3e79,_0x1f3e79[_0xf11597(0x421,_0x22fa5b._0x3198fd,0x403,_0x22fa5b._0x2f838b)]?_0x1f3e79[_0xf11597(0x311,_0x22fa5b._0x1b33e4,_0x22fa5b._0x32375f,_0x22fa5b._0x196b7d)]['write'](_0x2d724e)+_0x1f3e79[_0xf11597(0x643,0x4b8,_0x22fa5b._0x5627b3,0x335)]['end']():_0x2d724e);}[_0xe18bb0(0x158,0x92,-0x76,-0xc1)](_0x48384c,_0x34c361){const _0x9660ad={_0x69f648:0x79e,_0x4e8ff3:0x64c,_0x750f29:0x4fd,_0x4e6012:0x358,_0x15e202:0x685,_0x465391:0x8ec,_0x144a77:0x709,_0x3e0de9:0x90d,_0x34b6e9:0x60a,_0x271e78:0x95a,_0x197e21:0x31d,_0x302273:0x7fa,_0x167922:0x80f,_0x16909f:0x78b,_0x49476e:0x87f,_0xbd3ccb:0x5aa,_0xba6ea1:0x709,_0x1d5f31:0x915,_0x50471f:0x76d,_0x5ea8d3:0x661,_0x1b954:0x4fd,_0x12d5f5:0x3c0,_0x31177d:0x8f9,_0x3976d6:0x8db,_0x382867:0x359,_0x3d9875:0x471,_0x47ff0b:0x2f2,_0x3eacc6:0x2f4,_0x99cba9:0x1a3,_0x26525f:0x354,_0x481a54:0x367,_0x158926:0x484,_0x510107:0x55b,_0x1e5d06:0x662,_0x46b072:0x50b,_0x46a4c8:0x65c},_0x3050f6={_0x37e5e6:0x97},_0x487efd={_0xcb317d:0x58c,_0xe92387:0x117};if(_0x34c361[_0x194c19(0x910,0x820,0x733,_0x9660ad._0x69f648)]===0x0)return;function _0x194c19(_0x40e798,_0x3e893d,_0x143839,_0x1bdb1b){return _0xe18bb0(_0x1bdb1b,_0x143839-_0x487efd._0xcb317d,_0x143839-0xcc,_0x1bdb1b-_0x487efd._0xe92387);}_0x48384c[_0x194c19(_0x9660ad._0x4e8ff3,0x6ac,_0x9660ad._0x750f29,0x60e)][_0x194c19(0x5a1,_0x9660ad._0x4e6012,0x4b7,_0x9660ad._0x15e202)](_0x34c361),_0x48384c[_0x194c19(0x5de,_0x9660ad._0x465391,_0x9660ad._0x144a77,0x864)]+=_0x34c361[_0x194c19(_0x9660ad._0x3e0de9,0x7d5,0x733,_0x9660ad._0x34b6e9)];function _0x52d551(_0x5adec0,_0x4ffb2c,_0x48cf30,_0x544191){return _0xe18bb0(_0x5adec0,_0x48cf30-0x307,_0x48cf30-0x7a,_0x544191-_0x3050f6._0x37e5e6);}_0x48384c[_0x194c19(0x893,0x819,0x795,_0x9660ad._0x271e78)]+=_0x34c361[_0x52d551(0x423,_0x9660ad._0x197e21,0x4ae,0x57a)];while(_0x48384c['bufferChars']>this[_0x194c19(_0x9660ad._0x302273,0x6e1,_0x9660ad._0x167922,_0x9660ad._0x16909f)]){const _0x451ba4=_0x48384c[_0x194c19(_0x9660ad._0x49476e,_0x9660ad._0xbd3ccb,_0x9660ad._0xba6ea1,_0x9660ad._0x1d5f31)]-this[_0x194c19(_0x9660ad._0x50471f,_0x9660ad._0x5ea8d3,0x80f,0x695)],_0x3c13ea=_0x48384c[_0x194c19(0x58c,0x5cc,_0x9660ad._0x1b954,_0x9660ad._0x12d5f5)][0x0];if(_0x3c13ea===void 0x0)break;_0x3c13ea[_0x194c19(0x910,_0x9660ad._0x31177d,0x733,_0x9660ad._0x3976d6)]<=_0x451ba4?(_0x48384c[_0x52d551(_0x9660ad._0x382867,_0x9660ad._0x3d9875,0x278,0x22f)][_0x52d551(0x4a3,_0x9660ad._0x47ff0b,_0x9660ad._0x3eacc6,_0x9660ad._0x99cba9)](),_0x48384c[_0x52d551(_0x9660ad._0x26525f,_0x9660ad._0x481a54,_0x9660ad._0x158926,_0x9660ad._0x510107)]-=_0x3c13ea['length'],_0x48384c['totalDropped']+=_0x3c13ea['length']):(_0x48384c[_0x52d551(0x148,0x46f,0x278,0x27d)][0x0]=_0x3c13ea[_0x194c19(_0x9660ad._0x1e5d06,_0x9660ad._0x46b072,0x49c,_0x9660ad._0x46a4c8)](_0x451ba4),_0x48384c['bufferChars']-=_0x451ba4,_0x48384c[_0x194c19(0x707,0x649,0x5d3,0x464)]+=_0x451ba4);}}[_0x47b891(0x693,0x794,0x89d,0x745)](){const _0xa13ab2={_0x3dc275:0x482,_0x1def8a:0x508,_0xb473dd:0x535,_0x12b375:0x25f,_0x43b1b6:0x352,_0x8c3513:0x1c2,_0x5a8295:0x335,_0x2f3b67:0x1bd,_0x6117f0:0x9a,_0x4d73e6:0x148,_0x1ce4ff:0x2f0},_0x9a3d82={_0x47dfbe:0x45};function _0x5b5292(_0x1a3ea7,_0x29da53,_0x3a9720,_0x407db4){return _0x47b891(_0x407db4,_0x29da53- -0x461,_0x3a9720-_0x9a3d82._0x47dfbe,_0x407db4-0x114);}function _0x55972d(_0x353293,_0x4f409e,_0x1d44ff,_0x2ee465){return _0xe18bb0(_0x4f409e,_0x353293-0x325,_0x1d44ff-0xc9,_0x2ee465-0x15);}while(this['entries'][_0x55972d(0x4ce,_0xa13ab2._0x3dc275,_0xa13ab2._0x1def8a,_0xa13ab2._0xb473dd)]>this['maxEntries']){const _0x412f1a=[...this[_0x55972d(_0xa13ab2._0x12b375,0xab,0x3c5,_0xa13ab2._0x43b1b6)]['values']()][_0x5b5292(_0xa13ab2._0x8c3513,0x289,0x380,_0xa13ab2._0x5a8295)](_0x208baf=>_0x208baf[_0x55972d(0x479,0x55d,0x523,0x2e9)]&&isTerminalStatus(_0x208baf[_0x5b5292(0x13e,0x248,0x138,0x253)]))[_0x5b5292(_0xa13ab2._0x2f3b67,0x177,0x24a,_0xa13ab2._0x6117f0)]((_0x35391c,_0x3d5080)=>_0x35391c[_0x5b5292(-0x9a,0x40,-0x177,-0x1c6)]-_0x3d5080[_0x5b5292(0x10b,0x40,0x64,0x128)])[0x0];if(!_0x412f1a)return;this[_0x55972d(0x25f,_0xa13ab2._0x4d73e6,0x10d,0x3a5)][_0x55972d(0x472,_0xa13ab2._0x1ce4ff,0x4ae,0x5c4)](_0x412f1a['shellId']);}}};function createBashOutputTool(_0x4f0659){const _0x521a6f={_0x1fe987:0x5e1,_0x19162b:0x66a,_0x15536e:0x67f,_0x1ee029:0x2f6,_0x19e7e1:0x3b0,_0x6a37d4:0x488,_0x415fbe:0x4e7,_0xd76bcc:0x3d0,_0x19a4c3:0x4d3,_0x1c485a:0x553},_0x13b8c3={_0x2dcfde:0x528,_0x477a5a:0x5f9,_0x12b704:0x30e,_0x2b38d4:0x1bf,_0x420b07:0x36b,_0x1aa152:0x1c9,_0x2c6024:0xf8,_0x524978:0x3c2,_0x4f3955:0x267,_0x61e353:0x95,_0x579251:0x3a,_0x4baa60:0x18b,_0x4224b9:0x60,_0x258154:0x1e4,_0x570929:0x15a,_0x2b5941:0x246,_0x3d389b:0x152,_0xfa2e67:0x6d},_0x4790aa={_0x38c961:0x314,_0x4d5790:0x1ad};function _0x474372(_0x5acc14,_0x2ce6b5,_0x18cf67,_0x1d767f){return _0xe18bb0(_0x1d767f,_0x2ce6b5-0x3ad,_0x18cf67-0x1a9,_0x1d767f-0x1a8);}const {registry:_0x428157}=_0x4f0659;function _0x50cadb(_0x44619b,_0x2c7758,_0x7317b1,_0x1fc214){return _0xe18bb0(_0x7317b1,_0x44619b-_0x4790aa._0x38c961,_0x7317b1-_0x4790aa._0x4d5790,_0x1fc214-0xb4);}return defineTool({'name':_0x474372(0x5a6,_0x521a6f._0x1fe987,0x568,0x43e),'permissionClass':_0x474372(0x857,0x65a,_0x521a6f._0x19162b,_0x521a6f._0x15536e),'description':_0x50cadb(_0x521a6f._0x1ee029,_0x521a6f._0x19e7e1,0x424,0x285),'inputSchema':{'type':_0x474372(_0x521a6f._0x6a37d4,0x5fc,0x407,_0x521a6f._0x415fbe),'properties':{'shellId':{'type':_0x474372(_0x521a6f._0xd76bcc,_0x521a6f._0x19a4c3,0x408,0x682)},'regex':{'type':_0x474372(_0x521a6f._0x1c485a,_0x521a6f._0x19a4c3,0x5e6,0x5ea)}},'required':['shellId']},async *'execute'(_0x3cd24f){const _0x42a9f4={_0x56844b:0x120,_0xf49a23:0x1a9},_0x19ef6b={_0x1ba71f:0x141,_0x1e36d5:0xfc};function _0x49ca46(_0x157d9d,_0x39b42c,_0x4ab65c,_0x1d64e3){return _0x474372(_0x157d9d-_0x19ef6b._0x1ba71f,_0x157d9d- -0x3fd,_0x4ab65c-_0x19ef6b._0x1e36d5,_0x4ab65c);}const _0x20ae7e=_0x428157[_0x12c1e1(0x62d,_0x13b8c3._0x2dcfde,0x45b,_0x13b8c3._0x477a5a)](_0x3cd24f[_0x12c1e1(0x391,_0x13b8c3._0x12b704,_0x13b8c3._0x2b38d4,_0x13b8c3._0x420b07)],_0x3cd24f[_0x49ca46(0x15,_0x13b8c3._0x1aa152,0xa7,_0x13b8c3._0x2c6024)]?{'regex':_0x3cd24f[_0x12c1e1(_0x13b8c3._0x524978,0x3d1,0x269,0x2ae)]}:void 0x0);function _0x12c1e1(_0x312649,_0x39867b,_0x568a68,_0x410fe8){return _0x474372(_0x312649-_0x42a9f4._0x56844b,_0x568a68- -_0x42a9f4._0xf49a23,_0x568a68-0x95,_0x39867b);}return createToolOutput(_0x20ae7e[_0x49ca46(0x1d2,-0x32,0x47,_0x13b8c3._0x4f3955)],{'shellId':_0x3cd24f[_0x49ca46(-_0x13b8c3._0x61e353,_0x13b8c3._0x579251,-_0x13b8c3._0x4baa60,_0x13b8c3._0x4224b9)],'status':_0x20ae7e[_0x49ca46(0x1c8,_0x13b8c3._0x258154,0x147,_0x13b8c3._0x570929)],'exitCode':_0x20ae7e['exitCode'],'signal':_0x20ae7e[_0x12c1e1(0x406,0x2f4,0x3b0,_0x13b8c3._0x2b5941)],'error':_0x20ae7e[_0x12c1e1(0x24c,_0x13b8c3._0x3d389b,0x12a,-_0x13b8c3._0xfa2e67)],'truncated':_0x20ae7e[_0x49ca46(0xc8,0x3e,0x2cb,-0x98)]});}});}import{spawn as _0x23dbf7}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x242d07 from'os';import*as _0x421d9b from'path';import{StringDecoder as _0x5da69c}from'string_decoder';import{spawn as _0x41faa0}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException2(_0x5c17d7){return _0x5c17d7 instanceof Error;}function resolveCarriageReturns(_0x356189){const _0x4ccec5={_0x8489f0:0x2ac,_0x4a6cfe:0x389,_0x2502a1:0x477,_0x22df3d:0x59c,_0x2c8d52:0x51f,_0x1fa8e6:0x3f5},_0x36c7bb={_0x4d3e86:0x1a8,_0x122a3a:0xa,_0x2e094a:0x1d5,_0x3d5ab3:0x43,_0x33160c:0x3e6,_0x4c8116:0x219,_0x2344c3:0x1ef},_0x2d72f8={_0x2bc884:0x346},_0x435456={_0x5d126e:0x9f};function _0x1ba425(_0x161757,_0x56aa96,_0x3b890d,_0x3a3cad){return _0x47b891(_0x3a3cad,_0x56aa96- -_0x435456._0x5d126e,_0x3b890d-0x155,_0x3a3cad-0x15b);}function _0x15c288(_0x390a96,_0x510793,_0x56f48b,_0x5d08e8){return _0xe18bb0(_0x56f48b,_0x510793-0x186,_0x56f48b-0x1e,_0x5d08e8-0x115);}return _0x356189[_0x1ba425(_0x4ccec5._0x8489f0,_0x4ccec5._0x4a6cfe,_0x4ccec5._0x2502a1,0x34d)]('\x0a')[_0x1ba425(0x723,0x562,0x61b,_0x4ccec5._0x22df3d)](_0x1a2ed7=>{const _0x7d9ee4={_0x360413:0x14a};if(!_0x1a2ed7['includes']('\x0d'))return _0x1a2ed7;const _0x314401=_0x1a2ed7[_0x51f942(_0x36c7bb._0x4d3e86,-_0x36c7bb._0x122a3a,_0x36c7bb._0x2e094a,_0x36c7bb._0x3d5ab3)]('\x0d');function _0x79e605(_0x46902a,_0x35ac19,_0x5a0cf2,_0x11e3df){return _0x15c288(_0x46902a-0x1a2,_0x5a0cf2-0x54,_0x35ac19,_0x11e3df-_0x7d9ee4._0x360413);}function _0x51f942(_0x3687ff,_0x5d9a0e,_0x56001d,_0xb6fe84){return _0x1ba425(_0x3687ff-0x177,_0xb6fe84- -_0x2d72f8._0x2bc884,_0x56001d-0x194,_0x5d9a0e);}return _0x314401[_0x314401[_0x51f942(_0x36c7bb._0x33160c,_0x36c7bb._0x4c8116,_0x36c7bb._0x2344c3,0x253)]-0x1]??'';})[_0x1ba425(0x303,0x4d4,_0x4ccec5._0x2c8d52,_0x4ccec5._0x1fa8e6)]('\x0a');}function resolveBackspaces(_0xaf625a){const _0x56d757={_0xd1632d:0x5a0,_0x21c22d:0x3a6,_0x2cd449:0x92,_0x5aad38:0xca,_0x4e1fdb:0x102},_0x4ed1a4={_0x1d9a49:0x1e,_0x373c7e:0x25},_0x21ce90={_0x4de1f4:0x198,_0x446259:0x101};function _0x1f5551(_0x934934,_0x2e541f,_0x28ba5a,_0x1d667f){return _0xe18bb0(_0x2e541f,_0x934934-_0x21ce90._0x4de1f4,_0x28ba5a-_0x21ce90._0x446259,_0x1d667f-0x8);}function _0x332379(_0x11f185,_0x1a77e9,_0x51a392,_0x714624){return _0x47b891(_0x1a77e9,_0x11f185-_0x4ed1a4._0x1d9a49,_0x51a392-_0x4ed1a4._0x373c7e,_0x714624-0x184);}const _0x397788=[];for(const _0x3ae47f of Array[_0x332379(0x3f8,_0x56d757._0xd1632d,_0x56d757._0x21c22d,0x3d4)](_0xaf625a)){_0x3ae47f==='\x08'?_0x397788[_0x1f5551(0x1ba,_0x56d757._0x2cd449,0x12,0x8a)]():_0x397788[_0x1f5551(0xc3,-0x1b,-_0x56d757._0x5aad38,-_0x56d757._0x4e1fdb)](_0x3ae47f);}return _0x397788['join']('');}function stripAnsiAndControls(_0x1dbcb9){const _0x1c912c={_0x4a3dce:0x720,_0x35fada:0x691,_0x1da240:0x527,_0x27e77c:0x4ab,_0x3eb742:0x7be,_0x2eb7c5:0x3c0,_0x3f0749:0x48a,_0x49a376:0x80a,_0x5cbcb5:0x774,_0x8fe5fc:0x4be,_0x2b716f:0x496,_0x2054e5:0x710,_0x59ad7c:0x834,_0x2dc743:0x68d,_0x4eddaa:0x684,_0x59bf8b:0x5aa},_0x1c32a1={_0x583762:0xc3,_0x5e6652:0x170},_0xe0ea21={_0x57cdf3:0x1aa,_0x50da0f:0x13f};_0x1dbcb9=resolveCarriageReturns(_0x1dbcb9),_0x1dbcb9=resolveBackspaces(_0x1dbcb9),_0x1dbcb9=stripVTControlCharacters(_0x1dbcb9);const _0x35ff67='\x1b',_0x5cbb4e='\x07';_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x4a3dce,_0x1c912c._0x35fada,0x5b5,_0x1c912c._0x1da240)](new RegExp(_0x5f2317(_0x1c912c._0x27e77c,0x5a1,0x5ec,0x413)+_0x5cbb4e+'\x5cn]*?'+_0x5cbb4e,'g'),''),_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x3eb742,0x691,0x867,0x705)](new RegExp(_0x5f2317(0x5d1,_0x1c912c._0x2eb7c5,_0x1c912c._0x3f0749,0x23f)+_0x35ff67+'\x5c\x5c','g'),''),_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x49a376,0x691,0x7f0,0x74d)](new RegExp(_0x5cbb4e,'g'),''),_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x5cbcb5,_0x1c912c._0x35fada,_0x1c912c._0x8fe5fc,0x7b5)](new RegExp(_0x35ff67+_0x17c9a6(_0x1c912c._0x2b716f,0x6b1,0x535,0x51c)+_0x35ff67+'\x5c\x5c','g'),'');function _0x17c9a6(_0x161d07,_0x232ee9,_0x6a34ca,_0x42cfd0){return _0x47b891(_0x42cfd0,_0x6a34ca- -_0xe0ea21._0x57cdf3,_0x6a34ca-0x181,_0x42cfd0-_0xe0ea21._0x50da0f);}_0x1dbcb9=_0x1dbcb9[_0x5f2317(_0x1c912c._0x2054e5,_0x1c912c._0x35fada,_0x1c912c._0x59ad7c,_0x1c912c._0x2dc743)](new RegExp(_0x35ff67+'[=>7-8()]','g'),''),_0x1dbcb9=_0x1dbcb9[_0x17c9a6(_0x1c912c._0x4eddaa,0x54e,_0x1c912c._0x59bf8b,0x553)](/[\u0080-\u009F]/g,''),_0x1dbcb9=_0x1dbcb9['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x1dbcb9=_0x1dbcb9['replace'](/[\u23CE\u2424]/g,'');function _0x5f2317(_0x425cc8,_0x288a0a,_0xd1220f,_0x3af4cd){return _0x47b891(_0x3af4cd,_0x288a0a- -_0x1c32a1._0x583762,_0xd1220f-0xe1,_0x3af4cd-_0x1c32a1._0x5e6652);}return _0x1dbcb9;}function killProcessGroup(_0x282edc,_0x31d278,_0x45a857=_0x47b891(0x536,0x56b,0x6bc,0x6c2)){const _0x25d741={_0xb820fc:0x5ba,_0x5916fd:0x4b5,_0x1acc73:0x5ce,_0x2976e4:0x4d1,_0x88f738:0x5f5,_0x4764dd:0x688,_0x1522bb:0x8a6,_0xeca62:0x666,_0x290265:0x660,_0x503379:0x5ea,_0x44bf54:0x4c9,_0x21c11b:0x42e,_0x49ed1f:0x5da,_0x3c6712:0x6c7},_0x78e6e9={_0x4f9344:0x6f},_0xfbc87c={_0x4e07bb:0x178,_0x1a0e45:0x17d};function _0x43ad98(_0x2aeeb8,_0x5469d5,_0x5ec815,_0x2c4fa4){return _0xe18bb0(_0x5469d5,_0x5ec815-0x5b6,_0x5ec815-_0xfbc87c._0x4e07bb,_0x2c4fa4-_0xfbc87c._0x1a0e45);}if(!_0x282edc[_0x50364a(_0x25d741._0xb820fc,0x6bf,0x6b2,0x71f)])return;function _0x50364a(_0x4b1e02,_0x728120,_0x201268,_0x278569){return _0x47b891(_0x728120,_0x278569-0x1bc,_0x201268-_0x78e6e9._0x4f9344,_0x278569-0x190);}if(_0x31d278)try{_0x41faa0(_0x50364a(0x574,0x5af,_0x25d741._0x5916fd,0x699),[_0x50364a(0x3c2,_0x25d741._0x1acc73,_0x25d741._0x2976e4,0x582),_0x282edc[_0x43ad98(0x86a,_0x25d741._0x88f738,_0x25d741._0x4764dd,0x7c3)][_0x43ad98(_0x25d741._0x1522bb,0x8ab,0x8ae,0x9c6)](),'/T','/F'],{'stdio':_0x43ad98(0x539,_0x25d741._0xeca62,_0x25d741._0x290265,_0x25d741._0x503379)});return;}catch{_0x282edc['kill'](_0x45a857);return;}try{process[_0x50364a(0x6d2,0x845,0x5d3,0x671)](-_0x282edc[_0x43ad98(_0x25d741._0x44bf54,0x699,0x688,0x4ee)],_0x45a857);}catch{_0x282edc[_0x43ad98(_0x25d741._0x21c11b,0x5d9,_0x25d741._0x49ed1f,_0x25d741._0x3c6712)](_0x45a857);}}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x47b891(0x8b4,0x758,0x7d1,0x5a2)+DEFAULT_TIMEOUT_MS+'ms.';function buildChildEnv(_0x1b340f,_0x2f3756,_0x9343f8){const _0x5959b9={_0x48c1bf:0x6b9,_0x1aae34:0x6a1,_0x507c9e:0x3ff,_0x217f01:0x632,_0x4e36e9:0x7f4,_0x27fe99:0x887,_0x38637e:0x235,_0x398108:0x252,_0x5a0fd2:0x444,_0x121853:0x527,_0x559692:0x3b3,_0x519e21:0x30e},_0x50948d={_0x289ef0:0xb3},_0x111c26={_0x2139dd:0x40,_0x3c60c3:0x10d},_0x4a1277={...process[_0x4913b1(_0x5959b9._0x48c1bf,0x6d3,0x4c9,_0x5959b9._0x1aae34)],..._0x1b340f??{}};function _0x4939d4(_0x1d4af4,_0x5f280f,_0x214899,_0x4690a0){return _0x47b891(_0x4690a0,_0x1d4af4- -0x2cb,_0x214899-_0x111c26._0x2139dd,_0x4690a0-_0x111c26._0x3c60c3);}function _0x4913b1(_0x185eb1,_0x56826d,_0xa1e27a,_0x551c80){return _0xe18bb0(_0x185eb1,_0x551c80-0x539,_0xa1e27a-0x12a,_0x551c80-_0x50948d._0x289ef0);}if(_0x242d07[_0x4939d4(0x45e,_0x5959b9._0x507c9e,0x464,0x3fd)]()===_0x4913b1(0x4f8,_0x5959b9._0x217f01,_0x5959b9._0x4e36e9,0x628)){const _0x3de79d=new Set(_0x2f3756[_0x4913b1(_0x5959b9._0x27fe99,0x4b0,0x756,0x6a9)](_0xe2c0bb=>_0xe2c0bb[_0x4939d4(0x3b4,0x488,0x3b6,0x442)]()));for(const _0x3e3b11 of Object[_0x4913b1(0x371,0x3ab,0x49e,0x527)](_0x4a1277)){if(_0x3de79d[_0x4913b1(0x8c1,0x7d6,0x8fa,0x7a6)](_0x3e3b11[_0x4939d4(0x3b4,_0x5959b9._0x38637e,0x45b,_0x5959b9._0x398108)]()))delete _0x4a1277[_0x3e3b11];}}else{for(const _0x38f65e of _0x2f3756)delete _0x4a1277[_0x38f65e];if(_0x9343f8['length']>0x0)for(const _0x22889d of Object[_0x4913b1(0x719,0x4cc,_0x5959b9._0x5a0fd2,_0x5959b9._0x121853)](_0x4a1277)){_0x9343f8[_0x4939d4(_0x5959b9._0x559692,0x4a8,0x4f8,_0x5959b9._0x519e21)](_0x251129=>_0x22889d[_0x4939d4(0x3ad,0x386,0x3c5,0x36a)](_0x251129))&&delete _0x4a1277[_0x22889d];}}return _0x4a1277;}function mapSpawnError(_0x535489,_0x4812a7){const _0x1c2a21={_0x226906:0x263,_0x3e11a2:0x36e,_0x596783:0x246,_0x4c4990:0x39c,_0x32433f:0x571,_0x495fd2:0x543,_0x1fb2e6:0x504,_0x5aa603:0x22f,_0xac1c74:0x23e},_0x468136={_0x584855:0x1f3,_0x5084aa:0x7d},_0x436901={_0x34e8a4:0x284,_0x3fe152:0x164,_0x24632b:0x144};function _0x1d0d48(_0x4898c6,_0x411541,_0x352daf,_0x3fd5bd){return _0xe18bb0(_0x4898c6,_0x411541-_0x436901._0x34e8a4,_0x352daf-_0x436901._0x3fe152,_0x3fd5bd-_0x436901._0x24632b);}function _0x22285a(_0x665b,_0x4fb03a,_0x4a8de6,_0x23beb9){return _0xe18bb0(_0x23beb9,_0x4a8de6-0x2a,_0x4a8de6-_0x468136._0x584855,_0x23beb9-_0x468136._0x5084aa);}if(isErrnoException2(_0x535489)&&_0x535489[_0x22285a(0x298,_0x1c2a21._0x226906,0xbe,0x254)]===_0x1d0d48(_0x1c2a21._0x3e11a2,_0x1c2a21._0x596783,_0x1c2a21._0x4c4990,0x295))return new ToolExecutionError('Shell\x20not\x20found:\x20'+_0x4812a7[_0x1d0d48(_0x1c2a21._0x32433f,_0x1c2a21._0x495fd2,0x535,_0x1c2a21._0x1fb2e6)],_0x4812a7);return new ToolExecutionError(_0x535489 instanceof Error?_0x535489[_0x22285a(_0x1c2a21._0x5aa603,_0x1c2a21._0xac1c74,0x27f,0x490)]:String(_0x535489),_0x4812a7);}function shellExists(_0x5ea12b){const _0x2db9bb={_0x2a4aa8:0xf,_0x45f98e:0x42},_0x46c322={_0x3c0805:0x115,_0xf8f0d2:0x1b0};function _0x1294db(_0x3890a9,_0x4b6194,_0x317333,_0x1c1818){return _0x47b891(_0x317333,_0x3890a9- -0x3d5,_0x317333-_0x46c322._0x3c0805,_0x1c1818-_0x46c322._0xf8f0d2);}try{const _0x307b6b=statSync(_0x5ea12b);return _0x307b6b['isFile']()&&(_0x307b6b[_0x1294db(0x19c,0x25a,-_0x2db9bb._0x2a4aa8,-_0x2db9bb._0x45f98e)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x2f2302){const _0x558d41={_0x515332:0x2e8,_0x3a2eb7:0x325,_0x526b06:0x210,_0x116ef4:0x2ec,_0x51e938:0x67,_0x105962:0xf9,_0x5ccfc9:0x17a,_0x284e0e:0x31c,_0x1e7a1f:0x444,_0xb3882b:0x27d,_0x233078:0x1e,_0x45cf27:0x2d4,_0x35f26b:0x168,_0x48dd68:0x1bc,_0x35706c:0x98,_0x37ba57:0x39d,_0x41bf3c:0x442,_0x251aca:0x37d,_0xeb5831:0x483,_0x135d5c:0xde,_0x112a54:0xf5},_0x19a1c2={_0x3109c7:0x88,_0x2a4c79:0x1c7,_0x278c4d:0xbf},_0x522526={_0x3a26a7:0x31,_0x303727:0x96};if(_0x2f2302)return _0x2f2302;function _0x736c8c(_0x44ce5d,_0x393d91,_0x41e5f7,_0x2c09f6){return _0xe18bb0(_0x393d91,_0x41e5f7-0x1b4,_0x41e5f7-_0x522526._0x3a26a7,_0x2c09f6-_0x522526._0x303727);}if(_0x242d07[_0x3d8616(_0x558d41._0x515332,_0x558d41._0x3a2eb7,_0x558d41._0x526b06,_0x558d41._0x116ef4)]()===_0x3d8616(0xf6,0x1d8,_0x558d41._0x51e938,-_0x558d41._0x105962))return process[_0x736c8c(0x315,_0x558d41._0x5ccfc9,_0x558d41._0x284e0e,0x37b)][_0x3d8616(_0x558d41._0x1e7a1f,0x448,_0x558d41._0xb3882b,0x110)]||_0x3d8616(-_0x558d41._0x233078,_0x558d41._0x45cf27,0x105,0x1d9);const _0x4bfb91=[_0x3d8616(-_0x558d41._0x35f26b,-_0x558d41._0x48dd68,-_0x558d41._0x35706c,0x164),_0x3d8616(-0xe,0x63,-0x147,-0x55),_0x3d8616(_0x558d41._0x37ba57,0x323,0x276,_0x558d41._0x41bf3c),_0x736c8c(_0x558d41._0x251aca,0x4ba,_0x558d41._0xeb5831,0x56d)];for(const _0x17a058 of _0x4bfb91){if(shellExists(_0x17a058))return _0x17a058;}function _0x3d8616(_0x38c581,_0x3c96e9,_0x559a2d,_0x3bcba8){return _0xe18bb0(_0x3bcba8,_0x559a2d- -_0x19a1c2._0x3109c7,_0x559a2d-_0x19a1c2._0x2a4c79,_0x3bcba8-_0x19a1c2._0x278c4d);}const _0x4193ca=process['env'][_0x3d8616(_0x558d41._0x135d5c,0x248,0x136,-0xa1)];if(_0x4193ca&&shellExists(_0x4193ca))return _0x4193ca;return _0x3d8616(-0x68,-_0x558d41._0x112a54,-0x98,-0x1d6);}function buildShellArgs(_0x472702,_0x466654){const _0x145e96={_0x10c0f3:0x77f,_0x166b57:0x8f5,_0x5c6154:0x8f6,_0xf7e874:0x318,_0x175ce6:0x2ea,_0x4202e9:0x4ca,_0x2d7985:0x443,_0x2a874d:0x8c7,_0xbaa94b:0x69e,_0x728950:0x89e,_0x37eb81:0x389,_0x2678dd:0x435,_0x38b847:0x4f6,_0x1e17da:0x188,_0x53afab:0x5cc},_0x32806b={_0x1a60dd:0x268};function _0x3a26ce(_0x5133e0,_0x793249,_0x4b4c51,_0x465aa6){return _0x47b891(_0x4b4c51,_0x5133e0- -_0x32806b._0x1a60dd,_0x4b4c51-0xed,_0x465aa6-0x176);}function _0x25df13(_0x5dc324,_0x2a6a07,_0x502304,_0x2016d1){return _0xe18bb0(_0x2016d1,_0x502304-0x65e,_0x502304-0xff,_0x2016d1-0xc4);}if(_0x242d07[_0x25df13(_0x145e96._0x10c0f3,_0x145e96._0x166b57,_0x145e96._0x5c6154,0xa44)]()===_0x3a26ce(_0x145e96._0xf7e874,_0x145e96._0x175ce6,_0x145e96._0x4202e9,_0x145e96._0x2d7985)){const _0x3953b8=/cmd(\.exe)?$/i[_0x25df13(_0x145e96._0x2a874d,_0x145e96._0xbaa94b,_0x145e96._0x728950,0x8a2)](_0x466654);return _0x3953b8?['/d','/s','/c',_0x472702]:[_0x3a26ce(_0x145e96._0x37eb81,0x22c,_0x145e96._0x2678dd,_0x145e96._0x38b847),_0x3a26ce(0x132,0x152,_0x145e96._0x1e17da,0xae),_0x3a26ce(0x3ed,0x54a,0x527,_0x145e96._0x53afab),_0x472702];}return['-c',_0x472702];}function resolveWorkingDirectory(_0x142e76,_0x2ecbc9,_0x5b4ff2){const _0x193cf6={_0x1b4802:0x25a,_0xf88b6e:0x431,_0x1b62f0:0x137,_0x412268:0x403,_0x3040a3:0x2fe,_0x55bf7a:0x4be,_0x35f14b:0x4bd,_0x34114a:0x550},_0x570134={_0x1ab3da:0xcc,_0x2560e3:0x31,_0x1a1d62:0x10c,_0x550396:0x4c,_0x571bab:0x16d},_0x2665e1={_0x5c2d5a:0x3d9,_0xe237b8:0x15e},_0xc476c8={_0x396998:0xf9,_0x5e3a4c:0x160},_0x16c061={_0x2aefa1:0x101},_0x108150=resolveAllowedPath(_0x2ecbc9,_0x5b4ff2,_0x142e76??'.');function _0x48347a(_0x47bb1c,_0x45ddbb,_0x583b9e,_0x1cb695){return _0xe18bb0(_0x45ddbb,_0x47bb1c-0x34d,_0x583b9e-_0x16c061._0x2aefa1,_0x1cb695-0x99);}function _0x216793(_0x5ce862,_0x128b4a,_0x2a0278,_0x1260fa){return _0x47b891(_0x128b4a,_0x5ce862- -_0xc476c8._0x396998,_0x2a0278-0x198,_0x1260fa-_0xc476c8._0x5e3a4c);}try{const _0x280988=statSync(_0x108150);if(!_0x280988[_0x48347a(_0x193cf6._0x1b4802,_0x193cf6._0xf88b6e,_0x193cf6._0x1b62f0,0x1fe)]())throw new ToolExecutionError(_0x48347a(_0x193cf6._0x412268,_0x193cf6._0x3040a3,_0x193cf6._0x55bf7a,0x60d)+_0x108150,{'cwd':_0x108150});const _0x2a6e34=realpathSync(_0x108150),_0x39ee0b=realpathSync(_0x2ecbc9),_0x5921ea=_0x5b4ff2[_0x48347a(_0x193cf6._0x35f14b,0x5a8,_0x193cf6._0x34114a,0x4c4)](_0x18b800=>{const _0x4f6cd2={_0x47d6b0:0x276,_0x16aeb2:0xc5};function _0x438492(_0x1ee770,_0x533ccc,_0x406807,_0x523336){return _0x216793(_0x406807- -_0x4f6cd2._0x47d6b0,_0x533ccc,_0x406807-0x17f,_0x523336-_0x4f6cd2._0x16aeb2);}function _0x21b961(_0x380548,_0x1efc55,_0x332811,_0x49b085){return _0x48347a(_0x49b085- -_0x2665e1._0x5c2d5a,_0x1efc55,_0x332811-_0x2665e1._0xe237b8,_0x49b085-0xc9);}try{return realpathSync(_0x421d9b[_0x438492(0xbe,-_0x570134._0x1ab3da,0xc3,_0x570134._0x2560e3)](_0x18b800));}catch{return _0x421d9b[_0x21b961(-_0x570134._0x1a1d62,_0x570134._0x550396,-_0x570134._0x571bab,-0xeb)](_0x18b800);}});return resolveAllowedPath(_0x39ee0b,_0x5921ea,_0x2a6e34);}catch(_0x4194ea){if(_0x4194ea instanceof ToolExecutionError)throw _0x4194ea;throw new ToolExecutionError('Working\x20directory\x20not\x20found:\x20'+_0x108150,{'cwd':_0x108150});}}function resolveBashExecutionTarget(_0x417343,_0x1e0b0b={}){const _0x4afcf1={_0x46ec29:0x6c5,_0x3da681:0x53e,_0x424eee:0x6e1,_0x2715b5:0x729,_0x3d0e4f:0x495,_0x10c053:0x65f,_0x1a8800:0x8ca,_0x4ae101:0x52f,_0x52adb3:0x374,_0xf08105:0x52c,_0xd7474d:0x6d1,_0x31a6a5:0x425},_0x2450df={_0x4e6687:0x52,_0x9b7100:0x48},_0x57561f=_0x421d9b[_0x4cd012(_0x4afcf1._0x46ec29,0x3be,_0x4afcf1._0x3da681,0x35e)](_0x1e0b0b[_0x4cd012(_0x4afcf1._0x424eee,_0x4afcf1._0x2715b5,0x571,0x39b)]??process[_0x4cd012(0x3d2,_0x4afcf1._0x3d0e4f,0x513,_0x4afcf1._0x10c053)]()),_0x1e7194=resolveDefaultShell(_0x1e0b0b[_0x4cd012(0x784,0x910,0x85c,_0x4afcf1._0x1a8800)]);function _0x4f2931(_0x2a281d,_0xdc141e,_0x1b2c3a,_0x5679a6){return _0x47b891(_0x2a281d,_0x5679a6- -0x20a,_0x1b2c3a-_0x2450df._0x4e6687,_0x5679a6-_0x2450df._0x9b7100);}function _0x4cd012(_0x34c28e,_0xeb80b9,_0x1a9b57,_0x2154bc){return _0xe18bb0(_0x2154bc,_0x1a9b57-0x59d,_0x1a9b57-0x1e3,_0x2154bc-0xf0);}return{'command':_0x417343[_0x4f2931(_0x4afcf1._0x4ae101,_0x4afcf1._0x52adb3,0x4d6,0x55b)],'cwd':resolveWorkingDirectory(_0x417343['cwd'],_0x57561f,_0x1e0b0b[_0x4cd012(0x443,_0x4afcf1._0xf08105,0x63e,_0x4afcf1._0xd7474d)]??[]),'shellPath':_0x1e7194,'dialect':resolveShellDialect(_0x1e7194),'background':_0x417343[_0x4cd012(0x44c,_0x4afcf1._0x31a6a5,0x565,0x470)]??![]};}function resolveShellDialect(_0x17d4b4){const _0x25a516={_0x40a6bf:0x646,_0x5a7229:0x468,_0xb5821c:0x44b,_0x114be0:0x234,_0x39fb4f:0x462,_0x3dc9d4:0x21d,_0x24b7b2:0x2d,_0x3824a3:0x102,_0x407aa3:0x1de,_0x1b37af:0xcb,_0x18dcb5:0xa7,_0x312132:0x3bf,_0x5eb6db:0x528,_0x1ec548:0x513,_0x439325:0x31d,_0x179206:0x567,_0x41a505:0x3e9,_0x2d5b29:0x3d3,_0x2fc8c8:0x195,_0x54365a:0xff,_0x2458a4:0x1a5,_0xd130dd:0x3ce,_0x4c45ed:0x122,_0x1d240c:0xd9},_0x252f55={_0x3a56df:0x176},_0x43cd40={_0x5b2212:0x1b3,_0x117e2f:0xb1};if(_0x242d07[_0x2f250d(0x337,_0x25a516._0x40a6bf,_0x25a516._0x5a7229,_0x25a516._0xb5821c)]()===_0x2f250d(_0x25a516._0x114be0,_0x25a516._0x39fb4f,0x2a5,0x2a2))return _0x2f250d(_0x25a516._0x3dc9d4,0x46,_0x25a516._0x24b7b2,0xfe);const _0x332e44=_0x421d9b[_0x2f250d(-_0x25a516._0x3824a3,_0x25a516._0x407aa3,_0x25a516._0x1b37af,_0x25a516._0x18dcb5)](_0x17d4b4)['toLowerCase']();function _0x2f250d(_0x4dfe12,_0xb8aff3,_0x1bd1c7,_0x302720){return _0xe18bb0(_0xb8aff3,_0x302720-_0x43cd40._0x5b2212,_0x1bd1c7-_0x43cd40._0x117e2f,_0x302720-0x121);}function _0x292c11(_0x1c36f5,_0x27f564,_0x417078,_0x39661e){return _0x47b891(_0x27f564,_0x1c36f5- -0x2f2,_0x417078-_0x252f55._0x3a56df,_0x39661e-0x174);}if(_0x332e44===_0x292c11(_0x25a516._0x312132,_0x25a516._0x5eb6db,_0x25a516._0x1ec548,_0x25a516._0x439325))return _0x2f250d(_0x25a516._0x179206,0x3d5,_0x25a516._0x41a505,_0x25a516._0x2d5b29);if(_0x332e44==='sh'||_0x332e44===_0x292c11(_0x25a516._0x2fc8c8,0x7f,_0x25a516._0x54365a,_0x25a516._0x2458a4))return _0x292c11(0x2b2,_0x25a516._0xd130dd,_0x25a516._0x4c45ed,_0x25a516._0x1d240c);return'unknown';}function emitChunk(_0x12400d,_0x1a3779,_0x3a9c4d,_0x25e98c){const _0x538c5e={_0x5e8ffe:0x5f2},_0x5c3f51={_0x411846:0x190,_0x704184:0x1d9};_0x12400d[_0x351480(0x478,_0x538c5e._0x5e8ffe,0x54c,0x449)](_0x3a9c4d);function _0x351480(_0x9e9834,_0x4b154c,_0x45bf27,_0x54ba2e){return _0x47b891(_0x54ba2e,_0x45bf27-_0x5c3f51._0x411846,_0x45bf27-0xf8,_0x54ba2e-_0x5c3f51._0x704184);}_0x1a3779['push'](_0x3a9c4d),_0x25e98c();}function appendChunk(_0x251fa7,_0x3e51e0,_0x320bb0,_0x132d0a,_0x390d9a,_0x54fbed){const _0x205f4c={_0x2eecaf:0x13a,_0x661f27:0x15,_0x994304:0x2b9,_0x5d08af:0x1ea,_0x4c5176:0x15b,_0x1e2d77:0x17d,_0x33c2ac:0x208,_0x470007:0x1c4,_0x24ed9d:0x1fd,_0x5adf0a:0x1bf,_0x43a8ae:0x1e8,_0x41f2b8:0x51,_0x159207:0x163,_0x4be4ac:0x355,_0x4f9ec2:0x167,_0x2790e7:0xe9,_0xd5eca8:0x231,_0x589051:0x7c,_0x59061f:0x96,_0x35534d:0x101,_0x13ffdc:0x115},_0x22375a={_0x441b83:0x194,_0x14a2f9:0x89},_0x4aee36={_0x582b84:0xe7},_0x195dd6=_0x132d0a?stripAnsiAndControls(_0x320bb0):_0x320bb0;if(_0x195dd6['length']===0x0)return;function _0x597d5c(_0x2391f0,_0x59bb2c,_0x22b760,_0x12b65d){return _0x47b891(_0x22b760,_0x12b65d- -0x4d1,_0x22b760-_0x4aee36._0x582b84,_0x12b65d-0x11d);}if(!_0x54fbed){emitChunk(_0x251fa7,_0x3e51e0,_0x195dd6,_0x390d9a);return;}let _0x303d58=0x0,_0x2bd067=_0x195dd6[_0x7e5f78(0x3fe,0x467,0x42d,0x5bf)]('\x0a');function _0x7e5f78(_0x4dd471,_0x104c39,_0xee92d4,_0x5f1bf1){return _0xe18bb0(_0x104c39,_0x5f1bf1-0x2be,_0xee92d4-_0x22375a._0x441b83,_0x5f1bf1-_0x22375a._0x14a2f9);}while(_0x2bd067>=0x0){_0x54fbed[_0x597d5c(-0x6f,-0x244,-0xc7,-_0x205f4c._0x2eecaf)][_0x7e5f78(_0x205f4c._0x661f27,_0x205f4c._0x994304,_0x205f4c._0x5d08af,0x1e9)](_0x195dd6[_0x597d5c(-_0x205f4c._0x4c5176,-_0x205f4c._0x1e2d77,-_0x205f4c._0x33c2ac,-0x130)](_0x303d58,_0x2bd067));const _0xe7eb55=_0x54fbed[_0x7e5f78(0xf4,-0x10,0x75,_0x205f4c._0x470007)]['join']('');_0x54fbed['trailingChunks']['length']=0x0,_0x54fbed[_0x597d5c(_0x205f4c._0x24ed9d,0x1f8,-_0x205f4c._0x5adf0a,0x25)][_0x597d5c(_0x205f4c._0x43a8ae,0x243,_0x205f4c._0x41f2b8,0x200)](_0xe7eb55)&&emitChunk(_0x251fa7,_0x3e51e0,_0xe7eb55+'\x0a',_0x390d9a),_0x303d58=_0x2bd067+0x1,_0x2bd067=_0x195dd6['indexOf']('\x0a',_0x303d58);}_0x303d58<_0x195dd6[_0x597d5c(_0x205f4c._0x159207,0x305,_0x205f4c._0x4be4ac,_0x205f4c._0x4f9ec2)]&&_0x54fbed[_0x7e5f78(0x373,_0x205f4c._0x2790e7,_0x205f4c._0xd5eca8,_0x205f4c._0x470007)][_0x597d5c(-_0x205f4c._0x589051,_0x205f4c._0x59061f,-_0x205f4c._0x35534d,-_0x205f4c._0x13ffdc)](_0x195dd6['slice'](_0x303d58));}function flushOutputRegex(_0x3a2d22,_0x39953b,_0x30e9a5,_0x2e1ef2){const _0x3871c8={_0x1d30aa:0x2c5,_0x3156f5:0x296,_0x477f96:0x5b,_0x3a0782:0x68e,_0x344ac7:0x51,_0x1d6264:0x0,_0x4f26bc:0x1d2,_0x37e9af:0x4c6,_0x5148ec:0x1eb,_0x17227a:0x384,_0x304db8:0x6e3},_0x5de4c0={_0x59078e:0x172,_0x45af91:0x124},_0x45a63e={_0x23bd07:0x397,_0x356a25:0x60};function _0x2c2a86(_0x47417b,_0x407d08,_0x37fbd1,_0x5e0cf9){return _0x47b891(_0x47417b,_0x5e0cf9- -_0x45a63e._0x23bd07,_0x37fbd1-0x15c,_0x5e0cf9-_0x45a63e._0x356a25);}function _0x103864(_0x19ac53,_0x4258c3,_0x4396b5,_0x23ffec){return _0x47b891(_0x4396b5,_0x4258c3- -_0x5de4c0._0x59078e,_0x4396b5-0x1cd,_0x23ffec-_0x5de4c0._0x45af91);}if(!_0x30e9a5||_0x30e9a5[_0x103864(_0x3871c8._0x1d30aa,0x225,_0x3871c8._0x3156f5,_0x3871c8._0x477f96)][_0x103864(0x384,0x4c6,_0x3871c8._0x3a0782,0x352)]===0x0)return;const _0x42dd55=_0x30e9a5[_0x2c2a86(_0x3871c8._0x344ac7,-0x62,-0x1ae,_0x3871c8._0x1d6264)][_0x2c2a86(_0x3871c8._0x4f26bc,0x82,0xcd,0x1dc)]('');_0x30e9a5['trailingChunks'][_0x103864(0x39b,_0x3871c8._0x37e9af,0x316,0x622)]=0x0,_0x30e9a5[_0x103864(_0x3871c8._0x5148ec,_0x3871c8._0x17227a,0x224,0x25a)][_0x103864(0x5de,0x55f,0x3b0,_0x3871c8._0x304db8)](_0x42dd55)&&emitChunk(_0x3a2d22,_0x39953b,_0x42dd55,_0x2e1ef2);}function createBashTool(_0xf4a085={}){const _0x1d5bfa={_0x3a3b87:0x408,_0x29c113:0x4c3,_0x249814:0x673,_0x2bc1a3:0x465,_0x149532:0x4db,_0x2cb711:0x88e,_0x4556c9:0x997,_0x345d22:0x900,_0x4c9796:0x306,_0x5f36f7:0x366,_0x39d6c1:0x3f9,_0x29f14d:0x51e,_0x164140:0x370,_0x4d7b56:0x79d,_0x3ff1dc:0x837,_0x5432cf:0x70f,_0xbe9830:0x2ba,_0x1750c7:0x3ed,_0x15f7a4:0x544,_0x2ab06c:0x4ee,_0x203188:0x615,_0x5572b6:0x44f,_0x31bd3d:0x5cc,_0x4bcb54:0x6e8,_0x3bf1f4:0x530,_0x4dcbb5:0x204,_0x36c58b:0x78d,_0x74faec:0x882,_0x361ba2:0x5a7,_0x3e977c:0x7a2,_0x29ea40:0x7d7,_0x13d8c6:0x907,_0x34b84c:0x736},_0x53e2b4={_0x487465:0x1f1,_0x579c13:0x67,_0x5aa326:0x36,_0x5ab45e:0x1c1,_0x4675c2:0x951,_0x168fba:0x8ad,_0x2c8b03:0xa85,_0x4cccaf:0x26,_0x4be65c:0xf,_0x355f6b:0x109,_0x365300:0x83e,_0x1914e4:0x760,_0x3c9826:0x53e,_0x17250c:0x811,_0x17fb69:0x1c8,_0x2526e1:0x34d,_0xcd0d3e:0x185,_0x154303:0x6da,_0x4aabb0:0x8c0,_0x477784:0x6a8,_0x19dacb:0x4b6,_0x21c8a3:0x645,_0x196375:0xd2,_0x2b8162:0xe7,_0x384a6a:0x1b3,_0x1df1a1:0x535,_0x54796e:0x988,_0x5c5af3:0x966,_0x2cd635:0x91a,_0xe49e8a:0x8a9,_0x7e5724:0x764,_0x3dc7ee:0x78c,_0x599d6f:0x65d,_0x603045:0x7ee,_0x57e05b:0x1b8,_0x1f8aa2:0x2da,_0x4427e9:0xfb,_0x3823c2:0xf9,_0x247576:0x261,_0x1f58bd:0x93b,_0x548ca4:0xa56,_0x4b8d61:0xb1,_0x5c1da4:0x22d,_0x4d7991:0xb,_0x4366a4:0x307,_0x3fb9d2:0xf9,_0x1d7606:0x208,_0x3a52ac:0x69e,_0x3d4de9:0x4a9,_0x445196:0x657,_0x3cf360:0x649,_0x511c2e:0x4c7,_0xf2c29b:0x458,_0x586a95:0x499,_0x4e7f23:0xbf,_0x571309:0x2c9,_0x47433d:0xfb,_0x284b5a:0x100,_0x325572:0x64d,_0x2efa2c:0x43c,_0x5d81d9:0x18b,_0x2b99ef:0x54d,_0x2df43f:0x39b,_0x3db74d:0x5eb,_0x375dfb:0x787,_0x3337bd:0x740,_0x329486:0x18f,_0x3be7dd:0x2ca,_0x5bc6a9:0x245,_0xff87be:0x65e,_0x38c79f:0x67d,_0x500147:0x69b,_0x394208:0x7c9,_0x278e41:0x7cd,_0x78cc36:0x8e8,_0x1e6e39:0x73c,_0x10d279:0x71a,_0x509854:0x81c,_0x38fc81:0x9e6,_0xc730dc:0x869,_0x19df1f:0x61b,_0x415e55:0x21,_0x2ede8c:0x308,_0x38c0df:0x79e,_0x15c519:0x65e,_0x565fec:0xa9,_0x2e21c7:0x22,_0x3d5c9b:0x268,_0x18d322:0x292,_0x362ca0:0x1d5,_0x57abd6:0x1a0,_0x1c8edb:0x839,_0x2e1c1e:0x8ac,_0x1f4ebb:0x7ef,_0x35698e:0x4af,_0x3f3f81:0x858,_0x447762:0x86c,_0x2a0482:0x831,_0x1c72cb:0x680,_0x1d414f:0xd9,_0x39ac8c:0x9b,_0x35a952:0x825,_0x3a4179:0x8fa,_0x2b4c6e:0xa3c,_0x83adef:0x795,_0x384957:0x119,_0xf155bc:0x71e,_0x988c21:0x618,_0x3eb105:0x911,_0x4565b0:0x31,_0x5bd1b3:0x242,_0x365d61:0xc,_0xf0202b:0x900,_0x504708:0xa39,_0xab1f19:0x18c,_0xc4f152:0x5d,_0x1d49c1:0x136,_0xeb4f44:0x144,_0x4d7d63:0xc8,_0x118524:0xf3,_0x33f208:0x83c,_0x26c6fd:0x79c,_0x460ab9:0x11e,_0x141281:0x180,_0x49fa42:0x12f,_0x5c90b5:0x223,_0x1fd1c7:0x5e,_0x2aa747:0xba,_0x3ccbf6:0x96,_0x2e5e75:0x4e},_0x3655eb={_0x10942a:0xad4,_0x180bff:0x908,_0x3d7d5e:0x7b4,_0xf82aa8:0x8c2,_0x1655ef:0x232,_0x51f7bf:0x34b},_0x276690={_0x92408f:0x4e6,_0x1f30b3:0x52f},_0x25ed3d={_0x18f932:0x78,_0x10f3d5:0xa1,_0x25fd59:0x16e},_0x317605={_0x58b0ab:0x1c8},_0x696844={_0x1b044f:0x5e},_0x387e54={_0x296796:0xc6};function _0x57dd2c(_0x3426ec,_0x3f3809,_0xfe25c5,_0x9bc17e){return _0x47b891(_0x3426ec,_0x9bc17e- -0x2f,_0xfe25c5-_0x387e54._0x296796,_0x9bc17e-0x22);}function _0x319dfa(_0x562498,_0x862d99,_0x4cb147,_0x1801c3){return _0x47b891(_0x562498,_0x1801c3-_0x696844._0x1b044f,_0x4cb147-0x155,_0x1801c3-0x148);}const _0x2bd249=_0x421d9b['resolve'](_0xf4a085[_0x319dfa(0x301,_0x1d5bfa._0x3a3b87,0x3b9,_0x1d5bfa._0x29c113)]??process[_0x319dfa(0x546,_0x1d5bfa._0x249814,0x370,_0x1d5bfa._0x2bc1a3)]()),_0x530b64=_0xf4a085[_0x57dd2c(_0x1d5bfa._0x149532,0x6d6,0x681,0x503)]??[],_0x5b9ff9=_0xf4a085[_0x319dfa(_0x1d5bfa._0x2cb711,_0x1d5bfa._0x4556c9,0x765,0x7f5)]??DEFAULT_TIMEOUT_MS,_0x512d24=_0xf4a085[_0x319dfa(0x624,_0x1d5bfa._0x345d22,0x648,0x779)]??!![],_0x541e49=_0xf4a085['name']??'Bash',_0x4b709c=_0xf4a085[_0x57dd2c(0x1ae,0x328,_0x1d5bfa._0x4c9796,_0x1d5bfa._0x5f36f7)]??[],_0x5234fc=_0xf4a085[_0x319dfa(0x5e4,0x308,0x3a4,_0x1d5bfa._0x39d6c1)]??[],_0x5efd2a=_0xf4a085[_0x57dd2c(0x2e7,_0x1d5bfa._0x29f14d,0x4a6,_0x1d5bfa._0x164140)];return defineTool({'name':_0x541e49,'permissionClass':_0x57dd2c(_0x1d5bfa._0x4d7b56,0x908,_0x1d5bfa._0x3ff1dc,_0x1d5bfa._0x5432cf),'description':_0xf4a085[_0x319dfa(0x33d,_0x1d5bfa._0xbe9830,0x57a,_0x1d5bfa._0x1750c7)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x57dd2c(_0x1d5bfa._0x15f7a4,_0x1d5bfa._0x2ab06c,0x682,0x6b1),'properties':{'command':{'type':'string'},'description':{'type':_0x319dfa(0x754,0x53e,0x5f8,_0x1d5bfa._0x203188),'description':_0x319dfa(_0x1d5bfa._0x5572b6,_0x1d5bfa._0x31bd3d,_0x1d5bfa._0x4bcb54,_0x1d5bfa._0x3bf1f4)},'cwd':{'type':'string'},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':'boolean'},'outputRegex':{'type':_0x319dfa(0x4d8,0x6f0,0x7bf,0x615),'description':_0x57dd2c(0x2c1,_0x1d5bfa._0x4dcbb5,0x3bc,0x35f)},'runInBackground':{'type':_0x319dfa(_0x1d5bfa._0x36c58b,_0x1d5bfa._0x74faec,_0x1d5bfa._0x361ba2,_0x1d5bfa._0x3e977c)}},'required':[_0x57dd2c(0x8bf,_0x1d5bfa._0x29ea40,_0x1d5bfa._0x13d8c6,_0x1d5bfa._0x34b84c),'description']},async *'execute'(_0x1910e4,_0x47ffcc){const _0x5cd41b={_0x5f3ff7:0x1cb,_0x4c2d63:0x310,_0x5e6a20:0xe6,_0x4b6eaf:0x156,_0xf454e5:0x22f,_0x1709cb:0x914,_0x27eaa6:0x765},_0x3f2131={_0x37b604:0x128,_0x63cfbf:0x1eb},_0x83683e={_0x18f009:0x871,_0x237bfe:0x90d},_0x5201cc={_0x5dfe39:0x636,_0x3392af:0x4f},_0x1e797d={_0x250f69:0x41b,_0x5bc2f6:0xaaa,_0x259b19:0x8bd},_0x54c51c={_0x34db6b:0x68,_0x2d1c38:0x15},_0x17e950={_0x4dec9a:0x8ba},_0x4928cd={_0x25866f:0x1eb,_0x11d0fc:0x230},_0x5ee794=_0x1910e4['timeoutMs']??_0x5b9ff9;if(!Number[_0x4d7ccf(0x10b,0x22e,_0x53e2b4._0x487465,0x3f6)](_0x5ee794)||_0x5ee794<0x1)throw new ToolExecutionError(_0x4d7ccf(_0x53e2b4._0x579c13,-_0x53e2b4._0x5aa326,0x7,-_0x53e2b4._0x5ab45e),{'command':_0x1910e4['command']});throwIfAborted(_0x47ffcc[_0x4ac829(0x83e,0x681,0x697,0xa47)]);const _0x35b1d5=_0x1910e4['ignoreOutput']??![],_0x2bfc3a=resolveBashExecutionTarget(_0x1910e4,{'defaultCwd':_0x2bd249,'allowedDirs':_0x530b64,'shellPath':_0xf4a085[_0x4ac829(_0x53e2b4._0x4675c2,_0x53e2b4._0x168fba,0x8c9,0x8ed)]}),{cwd:_0x53d89b,shellPath:_0x793c66}=_0x2bfc3a,_0x2f44f6=buildShellArgs(_0x1910e4[_0x4ac829(0x966,0xb75,_0x53e2b4._0x2c8b03,0x79c)],_0x793c66),_0x5bc38a=_0x242d07['platform']()==='win32',_0x3a3be5=buildChildEnv(_0xf4a085['env'],_0x4b709c,_0x5234fc);if(_0x1910e4[_0x4d7ccf(-_0x53e2b4._0x4cccaf,-0x16a,-_0x53e2b4._0x4be65c,-_0x53e2b4._0x355f6b)]){if(!_0x5efd2a)throw new ToolExecutionError('Background\x20execution\x20is\x20not\x20available\x20in\x20this\x20context.',{'command':_0x1910e4[_0x4ac829(0x966,0xb69,0xa90,0xb58)]});throwIfAborted(_0x47ffcc[_0x4ac829(_0x53e2b4._0x365300,0x85a,0x93f,_0x53e2b4._0x1914e4)]),await _0xf4a085[_0x4ac829(0x66b,0x50d,_0x53e2b4._0x3c9826,_0x53e2b4._0x17250c)]?.(_0x2bfc3a,_0x47ffcc[_0x4d7ccf(_0x53e2b4._0x17fb69,_0x53e2b4._0x2526e1,_0x53e2b4._0xcd0d3e,0x305)],_0x47ffcc),throwIfAborted(_0x47ffcc[_0x4ac829(0x83e,_0x53e2b4._0x154303,0x904,_0x53e2b4._0x4aabb0)]);const _0x50ce36=_0x5efd2a[_0x4ac829(_0x53e2b4._0x477784,_0x53e2b4._0x19dacb,0x6ca,_0x53e2b4._0x21c8a3)]();let _0x4301dc;try{_0x4301dc=_0x23dbf7(_0x793c66,_0x2f44f6,{'cwd':_0x53d89b,'env':_0x3a3be5,'stdio':[_0x4d7ccf(_0x53e2b4._0x196375,0x71,0xd3,0x253),'pipe',_0x4d7ccf(0x1c9,_0x53e2b4._0x2b8162,_0x53e2b4._0x384a6a,0xd1)],'shell':![],'windowsHide':!![],'detached':!_0x5bc38a});}catch(_0x2438cb){_0x5efd2a[_0x4ac829(0x6cb,0x69b,_0x53e2b4._0x1df1a1,0x516)](_0x50ce36);throw mapSpawnError(_0x2438cb,{'command':_0x1910e4[_0x4ac829(0x966,0x7ae,0x820,_0x53e2b4._0x54796e)],'cwd':_0x53d89b,'shellPath':_0x793c66});}let _0x456e05;try{_0x456e05=_0x5efd2a['attach'](_0x50ce36,{'child':_0x4301dc,'command':_0x1910e4[_0x4ac829(_0x53e2b4._0x5c5af3,0x9ef,_0x53e2b4._0x2cd635,_0x53e2b4._0xe49e8a)],'cwd':_0x53d89b,'stripAnsi':_0x512d24,...!_0x5bc38a&&_0x4301dc[_0x4ac829(_0x53e2b4._0x7e5724,_0x53e2b4._0x3dc7ee,_0x53e2b4._0x599d6f,_0x53e2b4._0x603045)]!==void 0x0?{'processGroupId':_0x4301dc[_0x4d7ccf(_0x53e2b4._0x57e05b,_0x53e2b4._0x1f8aa2,_0x53e2b4._0x4427e9,-_0x53e2b4._0x3823c2)]}:{}});}catch(_0xf61c77){_0x5efd2a[_0x4d7ccf(_0x53e2b4._0x247576,-0xac,0x62,-0x1a1)](_0x50ce36),_0x4301dc[_0x4ac829(_0x53e2b4._0x1f58bd,0x9b8,0x8f6,_0x53e2b4._0x548ca4)](_0x4d7ccf(0x6f,_0x53e2b4._0x2b8162,-_0x53e2b4._0x4b8d61,-_0x53e2b4._0x5c1da4),()=>{});try{killProcessGroup(_0x4301dc,_0x5bc38a);}catch{}throw _0xf61c77;}return createToolOutput(_0x4d7ccf(_0x53e2b4._0x4d7991,_0x53e2b4._0x4366a4,_0x53e2b4._0x3fb9d2,_0x53e2b4._0x1d7606)+_0x456e05[_0x4ac829(0x64d,_0x53e2b4._0x3a52ac,_0x53e2b4._0x3d4de9,_0x53e2b4._0x445196)]+_0x4ac829(_0x53e2b4._0x3cf360,_0x53e2b4._0x511c2e,_0x53e2b4._0xf2c29b,_0x53e2b4._0x586a95)+(_0x456e05[_0x4d7ccf(_0x53e2b4._0x4e7f23,_0x53e2b4._0x571309,_0x53e2b4._0x47433d,0xb2)]??'?')+_0x4d7ccf(0xcb,0x47,0x10a,-_0x53e2b4._0x284b5a),{'shellId':_0x456e05[_0x4ac829(_0x53e2b4._0x325572,0x4cd,0x43e,_0x53e2b4._0x2efa2c)],'status':_0x456e05[_0x4d7ccf(0x33b,0x329,0x241,_0x53e2b4._0x5d81d9)],'command':_0x456e05['command'],'description':_0x1910e4[_0x4ac829(0x590,0x5ac,_0x53e2b4._0x2b99ef,_0x53e2b4._0x2df43f)],'cwd':_0x456e05[_0x4ac829(0x608,_0x53e2b4._0x3db74d,0x7fe,0x666)],'pid':_0x456e05[_0x4ac829(_0x53e2b4._0x7e5724,_0x53e2b4._0x375dfb,0x6cc,_0x53e2b4._0x3337bd)]??null});}let _0x57f545,_0x295276;if(_0x1910e4[_0x4d7ccf(_0x53e2b4._0x329486,_0x53e2b4._0x3be7dd,_0x53e2b4._0x5bc6a9,0xa9)]!==void 0x0)try{const _0x2f32d0=new RegExp(_0x1910e4[_0x4d7ccf(0x26b,0x2f3,0x245,0x30f)]);_0x57f545={'regex':_0x2f32d0,'trailingChunks':[]},_0x295276={'regex':_0x2f32d0,'trailingChunks':[]};}catch(_0x5e90b7){throw new ToolExecutionError(_0x4ac829(_0x53e2b4._0xff87be,_0x53e2b4._0x38c79f,0x652,_0x53e2b4._0x500147)+(_0x5e90b7 instanceof Error?_0x5e90b7['message']:String(_0x5e90b7)),{'command':_0x1910e4[_0x4ac829(0x966,0xa08,_0x53e2b4._0x394208,0xa67)],'outputRegex':_0x1910e4[_0x4ac829(0x8ae,0x6fa,_0x53e2b4._0x278e41,0x9bf)]});}await _0xf4a085['verifyExecution']?.(_0x2bfc3a,_0x47ffcc['executionAuthorization'],_0x47ffcc);function _0x4ac829(_0x934610,_0x223659,_0x4f9f04,_0x35c9e5){return _0x57dd2c(_0x35c9e5,_0x223659-_0x4928cd._0x25866f,_0x4f9f04-0x148,_0x934610-_0x4928cd._0x11d0fc);}throwIfAborted(_0x47ffcc['signal']);let _0x479777;try{_0x479777=_0x23dbf7(_0x793c66,_0x2f44f6,{'cwd':_0x53d89b,'env':_0x3a3be5,'stdio':_0x35b1d5?['ignore',_0x4ac829(0x73c,_0x53e2b4._0x78cc36,0x6e1,0x5f5),'ignore']:[_0x4ac829(_0x53e2b4._0x1e6e39,_0x53e2b4._0x10d279,0x8bb,0x703),_0x4ac829(_0x53e2b4._0x509854,0x7a3,0xa22,_0x53e2b4._0x38fc81),_0x4ac829(0x81c,0x769,_0x53e2b4._0xc730dc,_0x53e2b4._0x19df1f)],'shell':![],'windowsHide':!![],'detached':!_0x5bc38a});}catch(_0x245a8a){throw mapSpawnError(_0x245a8a,{'command':_0x1910e4['command'],'cwd':_0x53d89b,'shellPath':_0x793c66});}const _0x336fdf=[],_0x26fabc=[],_0x45c3bf=new _0x5da69c(_0x4d7ccf(_0x53e2b4._0x415e55,_0x53e2b4._0x2ede8c,0x225,0x32)),_0x2dde9d=new _0x5da69c('utf8');let _0x5b05f5,_0x3e2b68=![],_0x2bfad5;const _0x5ddaf0=()=>{if(!_0x5b05f5)return;const _0x3c1e9d=_0x5b05f5;_0x5b05f5=void 0x0,_0x3c1e9d();};function _0x4d7ccf(_0x36991c,_0x1da648,_0x19da36,_0x529008){return _0x57dd2c(_0x1da648,_0x1da648-0x109,_0x19da36-_0x317605._0x58b0ab,_0x19da36- -0x439);}const _0x23e667=async()=>{const _0x347776={_0x2e0a2a:0x9b,_0x5024e5:0x65,_0x434481:0x13d};function _0x5e5fe1(_0x4430ac,_0x3f5386,_0x6572d0,_0x3de2ee){return _0x4ac829(_0x6572d0- -_0x347776._0x2e0a2a,_0x3f5386-_0x347776._0x5024e5,_0x6572d0-_0x347776._0x434481,_0x3f5386);}if(_0x26fabc[_0x5e5fe1(0x76f,_0x17e950._0x4dec9a,0x79e,0x944)]>0x0||_0x3e2b68)return;await new Promise(_0x2f5ac6=>{_0x5b05f5=_0x2f5ac6;});},_0x5543f7=_0x5066f3=>{const _0x32e77e={_0x540834:0x6a4,_0x17d5a0:0xd2,_0xda6cca:0x16};function _0x4794d5(_0x1bf3dd,_0xf3a0b,_0x581149,_0x20594d){return _0x4ac829(_0x1bf3dd- -_0x32e77e._0x540834,_0xf3a0b-_0x32e77e._0x17d5a0,_0x581149-_0x32e77e._0xda6cca,_0x20594d);}appendChunk(_0x336fdf,_0x26fabc,_0x45c3bf[_0x4794d5(_0x25ed3d._0x18f932,_0x25ed3d._0x10f3d5,-_0x25ed3d._0x25fd59,0xfd)](_0x5066f3),_0x512d24,_0x5ddaf0,_0x57f545);},_0x2a78c0=_0x3956f7=>{const _0x3aa059={_0x2345ef:0x6,_0x272a6:0x5a1,_0x3e3e5d:0x48};function _0x4a01b3(_0x2378bc,_0x26aa65,_0x481074,_0x13967b){return _0x4d7ccf(_0x2378bc-_0x3aa059._0x2345ef,_0x2378bc,_0x26aa65-_0x3aa059._0x272a6,_0x13967b-_0x3aa059._0x3e3e5d);}appendChunk(_0x336fdf,_0x26fabc,_0x2dde9d[_0x4a01b3(0x772,0x654,_0x276690._0x92408f,_0x276690._0x1f30b3)](_0x3956f7),_0x512d24,_0x5ddaf0,_0x295276);};_0x479777[_0x4ac829(0x79f,_0x53e2b4._0x38c0df,_0x53e2b4._0x15c519,0x8cd)]?.['on'](_0x4d7ccf(_0x53e2b4._0x565fec,-0xc6,-_0x53e2b4._0x2e21c7,0x1c9),_0x5543f7),_0x479777['stderr']?.['on']('data',_0x2a78c0);let _0x21b480=![],_0x1a2202;const _0x2f8f57=addAbortListener(_0x47ffcc[_0x4d7ccf(_0x53e2b4._0x3d5c9b,_0x53e2b4._0x18d322,_0x53e2b4._0x362ca0,_0x53e2b4._0x57abd6)],()=>{const _0x2147db={_0x3a03e7:0x2f};function _0x33ee5a(_0x7bc60a,_0x47e68b,_0x57e307,_0x3c7620){return _0x4ac829(_0x57e307- -0x423,_0x47e68b-_0x54c51c._0x34db6b,_0x57e307-_0x54c51c._0x2d1c38,_0x3c7620);}_0x2bfad5=toAbortError(_0x47ffcc[_0x33ee5a(0x37c,0x5fc,_0x1e797d._0x250f69,0x341)][_0x15675d(0x96b,_0x1e797d._0x5bc2f6,_0x1e797d._0x259b19,0x825)]),_0x3e2b68=!![],_0x5ddaf0();function _0x15675d(_0x5751c6,_0x2b456d,_0x2bff05,_0x54b771){return _0x4ac829(_0x5751c6- -_0x2147db._0x3a03e7,_0x2b456d-0xc2,_0x2bff05-0xa6,_0x2b456d);}try{killProcessGroup(_0x479777,_0x5bc38a);}catch{}});try{const _0x372c42=new Promise((_0x1f22c2,_0x20e2b6)=>{const _0x4c036f={_0x746ebd:0x5b8,_0x470a16:0x204,_0xf6015c:0x507,_0x33e868:0x4dd,_0x2f93ec:0x46d,_0x5bd242:0x521,_0x50a725:0x526,_0x1144f9:0x4c8},_0x1e6a32={_0x16ef66:0x1bc};function _0x4c050d(_0x16ddf1,_0x385eda,_0x66e79f,_0x38c0b9){return _0x4d7ccf(_0x16ddf1-0x1cd,_0x38c0b9,_0x385eda-_0x5201cc._0x5dfe39,_0x38c0b9-_0x5201cc._0x3392af);}const _0x1520a4=()=>{function _0x314379(_0x3af47f,_0x386982,_0x16964e,_0x30d6c8){return _0x678a(_0x16964e-_0x1e6a32._0x16ef66,_0x3af47f);}function _0xfa12b(_0x3eb801,_0x5238a5,_0x2caa73,_0x25d418){return _0x678a(_0x5238a5-0x1b8,_0x3eb801);}_0x1a2202&&(clearTimeout(_0x1a2202),_0x1a2202=void 0x0),_0x479777[_0xfa12b(_0x4c036f._0x746ebd,0x507,0x5ba,0x53b)](_0x314379(_0x4c036f._0x470a16,0x1f3,0x392,0x390),_0x15a88b),_0x479777[_0xfa12b(0x672,_0x4c036f._0xf6015c,_0x4c036f._0x33e868,0x6f3)](_0xfa12b(_0x4c036f._0x2f93ec,_0x4c036f._0x5bd242,_0x4c036f._0x50a725,_0x4c036f._0x1144f9),_0x1a3ae6);},_0x15a88b=_0x4e59a5=>{_0x3e2b68=!![],_0x5ddaf0(),_0x1520a4(),_0x20e2b6(_0x2bfad5??_0x4e59a5);},_0x1a3ae6=(_0xed132d,_0x59d5d9)=>{_0x21b480=!![],appendChunk(_0x336fdf,_0x26fabc,_0x45c3bf[_0x65c773(0x899,_0x83683e._0x18f009,_0x83683e._0x237bfe,0x7c2)](),_0x512d24,_0x5ddaf0,_0x57f545),appendChunk(_0x336fdf,_0x26fabc,_0x2dde9d['end'](),_0x512d24,_0x5ddaf0,_0x295276),flushOutputRegex(_0x336fdf,_0x26fabc,_0x57f545,_0x5ddaf0),flushOutputRegex(_0x336fdf,_0x26fabc,_0x295276,_0x5ddaf0),_0x3e2b68=!![];function _0x65c773(_0x1e66fb,_0x4febfb,_0x151d61,_0x1575c3){return _0x678a(_0x1e66fb-0x370,_0x4febfb);}_0x5ddaf0(),_0x1520a4();if(_0x2bfad5){_0x20e2b6(_0x2bfad5);return;}_0x1f22c2({'code':_0xed132d,'signal':_0x59d5d9});};function _0x36b322(_0x3f0e06,_0x53b5e0,_0x59d1e7,_0xed9189){return _0x4d7ccf(_0x3f0e06-_0x3f2131._0x37b604,_0x3f0e06,_0x53b5e0-0x79,_0xed9189-_0x3f2131._0x63cfbf);}_0x1a2202=setTimeout(()=>{const _0x5d6759={_0x47fcf8:0x3cb},_0x3390d5={_0x4c21a3:0x1e1};_0x3e2b68=!![],_0x5ddaf0(),_0x1520a4();function _0xc56d88(_0x572938,_0x3d7d6c,_0x237fd9,_0x5901cc){return _0x678a(_0x5901cc-_0x3390d5._0x4c21a3,_0x237fd9);}try{killProcessGroup(_0x479777,_0x5bc38a);}catch{}function _0x4f8215(_0x542786,_0x22a7f2,_0x3f4329,_0x491a62){return _0x678a(_0x3f4329- -_0x5d6759._0x47fcf8,_0x491a62);}_0x20e2b6(new ToolExecutionError(_0x4f8215(_0x5cd41b._0x5f3ff7,0x23a,_0x5cd41b._0x5f3ff7,_0x5cd41b._0x4c2d63)+_0x5ee794+_0x4f8215(_0x5cd41b._0x5e6a20,-_0x5cd41b._0x4b6eaf,-0x83,-_0x5cd41b._0xf454e5),{'command':_0x1910e4[_0xc56d88(0x7bb,0x869,_0x5cd41b._0x1709cb,_0x5cd41b._0x27eaa6)],'cwd':_0x53d89b,'shellPath':_0x793c66,'timeoutMs':_0x5ee794,'timedOut':!![]}));},_0x5ee794),_0x479777[_0x4c050d(_0x3655eb._0x10942a,_0x3655eb._0x180bff,_0x3655eb._0x3d7d5e,_0x3655eb._0xf82aa8)](_0x36b322(0x1ce,-0x38,-0xef,-_0x3655eb._0x1655ef),_0x15a88b),_0x479777[_0x36b322(0x3be,_0x3655eb._0x51f7bf,0x53e,0x4a0)]('close',_0x1a3ae6);});while(_0x26fabc['length']>0x0||!_0x3e2b68){if(_0x26fabc[_0x4ac829(_0x53e2b4._0x1c8edb,_0x53e2b4._0x2e1c1e,0x7bf,_0x53e2b4._0x1f4ebb)]===0x0){await _0x23e667();continue;}const _0x1da854=_0x26fabc[_0x4ac829(0x67f,_0x53e2b4._0x35698e,0x6a3,0x5f6)]();_0x1da854!==void 0x0&&(yield _0x1da854);}const _0x3797fc=await _0x372c42,_0x1acf5c=_0x35b1d5?_0x4ac829(_0x53e2b4._0x3f3f81,_0x53e2b4._0x447762,0x7eb,0x8d6)+(_0x3797fc['code']??0x0):_0x336fdf[_0x4ac829(0x774,_0x53e2b4._0x2a0482,0x778,_0x53e2b4._0x1c72cb)](''),_0x32fa95={'command':_0x1910e4['command'],'description':_0x1910e4[_0x4d7ccf(-0x12d,0x7f,-_0x53e2b4._0x1d414f,_0x53e2b4._0x39ac8c)],'cwd':_0x53d89b,'exitCode':_0x3797fc[_0x4ac829(0x726,_0x53e2b4._0x35a952,0x873,_0x53e2b4._0x3a4179)]??0x0,'signal':_0x3797fc[_0x4ac829(0x83e,_0x53e2b4._0x2b4c6e,0x73f,_0x53e2b4._0x83adef)],'ignoreOutput':_0x35b1d5,'outputRegex':_0x1910e4[_0x4d7ccf(0x3c3,_0x53e2b4._0x384957,0x245,0x3e2)]??null,'shellPath':_0x793c66,'timeoutMs':_0x5ee794};if(_0x3797fc[_0x4ac829(0x726,_0x53e2b4._0xf155bc,_0x53e2b4._0x988c21,0x88f)]!==0x0)throw new ToolExecutionError(_0x1acf5c||_0x4d7ccf(0x1ea,0x1e3,0x2b7,0x19c)+(_0x3797fc[_0x4ac829(0x726,_0x53e2b4._0x3eb105,0x5a7,0x656)]??0x0),_0x32fa95);return createToolOutput(_0x1acf5c,_0x32fa95);}catch(_0x88dd8c){while(_0x26fabc[_0x4d7ccf(_0x53e2b4._0x4565b0,_0x53e2b4._0x5bd1b3,0x1d0,_0x53e2b4._0x365d61)]>0x0){const _0x136e83=_0x26fabc[_0x4d7ccf(0x78,-0x116,0x16,0x4a)]();_0x136e83!==void 0x0&&(yield _0x136e83);}if(_0x88dd8c instanceof ToolExecutionError)throw _0x88dd8c;if(_0x2bfad5)throw _0x2bfad5;throw mapSpawnError(_0x88dd8c,{'command':_0x1910e4[_0x4ac829(0x966,_0x53e2b4._0xf0202b,0x77a,_0x53e2b4._0x504708)],'cwd':_0x53d89b,'shellPath':_0x793c66});}finally{_0x1a2202&&clearTimeout(_0x1a2202);_0x2f8f57(),_0x479777[_0x4d7ccf(_0x53e2b4._0xab1f19,-_0x53e2b4._0xc4f152,_0x53e2b4._0x1d49c1,0x21e)]?.[_0x4d7ccf(_0x53e2b4._0xeb4f44,0x7c,_0x53e2b4._0x4d7d63,-_0x53e2b4._0x118524)](_0x4ac829(0x647,_0x53e2b4._0x33f208,0x5f3,_0x53e2b4._0x26c6fd),_0x5543f7),_0x479777[_0x4d7ccf(_0x53e2b4._0x460ab9,0x11b,0xdb,_0x53e2b4._0x141281)]?.['off'](_0x4d7ccf(0x13c,-_0x53e2b4._0x49fa42,-0x22,-_0x53e2b4._0x5c90b5),_0x2a78c0);if(!_0x21b480&&_0x479777[_0x4ac829(0x764,0x7b4,0x918,0x89b)]&&!_0x479777[_0x4d7ccf(-_0x53e2b4._0x1fd1c7,_0x53e2b4._0x2aa747,_0x53e2b4._0x3ccbf6,-_0x53e2b4._0x2e5e75)])try{killProcessGroup(_0x479777,_0x5bc38a);}catch{}}}});}function createShellExecTool(_0x3608de={}){return createBashTool(_0x3608de);}import{readdir as _0x2be568,readFile as _0x571adf}from'fs/promises';import{extname as _0x251054,join as _0x23e9fe}from'path';import{open}from'fs/promises';import{dirname as _0x5b9440,isAbsolute as _0x341692,join as _0x4a8c44,relative as _0x11f7d5,resolve as _0x519f8f}from'path';import{readdir as _0x260cb1,readFile as _0x23c218}from'fs/promises';import{join as _0x45e854,relative as _0x333c8b,sep}from'path';import{delimiter}from'path';import{mkdir as _0x31c2b9,rm as _0x5e8e2b,stat as _0x131c75,writeFile as _0x3f5ee0}from'fs/promises';import{hostname}from'os';import{dirname as _0x36687a}from'path';import{unwatchFile,watchFile}from'fs';import{chmod as _0x5ea4b1,readFile as _0x42c557,rename as _0x1ed690,rm as _0x155242,stat as _0x41faf5,writeFile as _0x709151}from'fs/promises';import{homedir as _0x30cc59}from'os';import{dirname as _0x415492,isAbsolute as _0x5c9d64,join as _0x486403,resolve as _0x5d36fe}from'path';import{parse as _0x38ecce,stringify as _0x241155}from'yaml';import{randomUUID as _0x5d736c}from'crypto';import{cp,lstat,mkdir as _0x33f4f7,readdir as _0x2826f6,readFile as _0x18d3a1,rename as _0x925148,rm as _0x4e1b9a,writeFile as _0x27a8b0}from'fs/promises';import{homedir}from'os';import{join as _0x9f2b5e}from'path';import{parse as _0x73d642,stringify as _0x56b69a}from'yaml';import{z}from'zod';import{readdir as _0x2dab7a,readFile as _0xb1e00a}from'fs/promises';import{join as _0x3d1fbf}from'path';import{randomUUID as _0x5d2937}from'crypto';import{mkdir as _0x3ef508,readdir as _0x43c2b7,readFile as _0x104ff5,rename as _0x251d40,rm as _0x234216,writeFile as _0xea7191}from'fs/promises';import{homedir as _0x3eabd8}from'os';import{basename as _0x397843,isAbsolute as _0x2e9417,join as _0x184a11,relative as _0x56f0b5,resolve as _0x5a1b47}from'path';import{parse as _0x4536b4,stringify as _0x43b3ee}from'yaml';import{delimiter as _0x179273,resolve as _0x58ca4a}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x4a81a5){const _0x5eb658={_0x366f18:0x5d4,_0x55b2cf:0x790,_0x50d8b7:0x754,_0x3cc938:0x72f,_0x56bd2b:0x4c0,_0x4de343:0x5d5,_0x3486c5:0x517,_0x1d72fb:0x4d8},_0x3876c1={_0x43357f:0x42e,_0x3b8606:0xce},_0x336209={_0x1e0192:0xdf,_0x2b29fb:0x59};function _0x46d1c4(_0x1a3e8b,_0x4feac1,_0x585bce,_0x2a8669){return _0x47b891(_0x1a3e8b,_0x585bce-0x11c,_0x585bce-_0x336209._0x1e0192,_0x2a8669-_0x336209._0x2b29fb);}function _0x273695(_0x515cf0,_0x705613,_0x56deb2,_0x4e4a0a){return _0xe18bb0(_0x4e4a0a,_0x56deb2-_0x3876c1._0x43357f,_0x56deb2-0x1a9,_0x4e4a0a-_0x3876c1._0x3b8606);}const _0x530862=[];let _0x15a44e='',_0x174d09=0x0;while(_0x174d09<_0x4a81a5[_0x46d1c4(_0x5eb658._0x366f18,_0x5eb658._0x55b2cf,_0x5eb658._0x50d8b7,0x839)]){const _0x29359f=_0x4a81a5[_0x174d09];if(_0x29359f==='\x5c'&&_0x174d09+0x1<_0x4a81a5[_0x273695(_0x5eb658._0x3cc938,_0x5eb658._0x56bd2b,_0x5eb658._0x4de343,0x484)])_0x15a44e+=_0x4a81a5[_0x174d09+0x1],_0x174d09+=0x2;else{if(_0x29359f==='\x22'||_0x29359f==='\x27'){const _0x3647d8=_0x29359f;_0x174d09++;while(_0x174d09<_0x4a81a5['length']&&_0x4a81a5[_0x174d09]!==_0x3647d8){_0x4a81a5[_0x174d09]==='\x5c'&&_0x174d09+0x1<_0x4a81a5['length']?(_0x15a44e+=_0x4a81a5[_0x174d09+0x1],_0x174d09+=0x2):(_0x15a44e+=_0x4a81a5[_0x174d09],_0x174d09++);}_0x174d09++;}else _0x29359f!==void 0x0&&/\s/['test'](_0x29359f)?(_0x15a44e&&(_0x530862[_0x46d1c4(0x621,_0x5eb658._0x3486c5,_0x5eb658._0x1d72fb,0x337)](_0x15a44e),_0x15a44e=''),_0x174d09++):(_0x15a44e+=_0x29359f,_0x174d09++);}}if(_0x15a44e)_0x530862['push'](_0x15a44e);return _0x530862;}function renderCommandInstructions(_0x23b44f){const _0x26ddff={_0x42907d:0x665,_0x23af85:0x5d0,_0x3d08da:0x527,_0x401853:0x85a,_0x123568:0x133,_0x341bee:0x360,_0x182d74:0x339,_0x9cc45e:0x1f6,_0x15188a:0xfa,_0xbd876e:0x42,_0x44d6dc:0xf,_0x3d6442:0x172,_0x5c14f0:0x994,_0x164022:0x220,_0x1d1f45:0xf6,_0x162ba9:0x8e2,_0x10b944:0x9f6,_0x58d0bc:0x8db,_0x149806:0x8b4,_0x40ff74:0x1a0,_0x58ff04:0x62,_0x257a43:0x2b},_0x1ceb8e={_0x106a9b:0x156},_0x32fa61={_0x5834c1:0xad},_0x293412={_0x580f1c:0x6e6,_0x50567d:0x719,_0x599fb8:0x6b8,_0x5bad8d:0x732};let _0x5ef824=_0x23b44f[_0x4a81ea(_0x26ddff._0x42907d,0x68f,_0x26ddff._0x23af85,_0x26ddff._0x3d08da)],_0x14acf8=![];const _0x39d981=tokenizeCommandArguments(_0x23b44f['argumentsText']);_0x5ef824=_0x5ef824[_0x4a81ea(0x6c8,_0x26ddff._0x401853,0x8aa,0x82c)](/\$ARGUMENTS\[(\d+)\]/g,(_0x5b00f4,_0x18a952)=>{return _0x14acf8=!![],_0x39d981[Number(_0x18a952)]??'';}),_0x5ef824=_0x5ef824[_0x5cc118(_0x26ddff._0x123568,0x216,_0x26ddff._0x341bee,_0x26ddff._0x182d74)](/\$ARGUMENTS\b/g,()=>{function _0x17af80(_0x476376,_0x5c5a91,_0x6a168d,_0x4e10a8){return _0x4a81ea(_0x476376-0x11b,_0x6a168d,_0x4e10a8- -0x102,_0x4e10a8-0x8b);}return _0x14acf8=!![],_0x23b44f[_0x17af80(_0x293412._0x580f1c,_0x293412._0x50567d,_0x293412._0x599fb8,_0x293412._0x5bad8d)];});function _0x5cc118(_0x1bcf10,_0x1eaa6d,_0x38f60a,_0x6a2d07){return _0xe18bb0(_0x6a2d07,_0x1eaa6d- -_0x32fa61._0x5834c1,_0x38f60a-0x1e4,_0x6a2d07-0x17d);}if(_0x23b44f[_0x5cc118(0x14c,0x172,_0x26ddff._0x9cc45e,0xcc)]&&_0x23b44f['argumentNames'][_0x5cc118(0x11d,_0x26ddff._0x15188a,-0x76,-_0x26ddff._0xbd876e)]>0x0)for(let _0x1f5ba2=0x0;_0x1f5ba2<_0x23b44f[_0x5cc118(_0x26ddff._0x44d6dc,_0x26ddff._0x3d6442,0x6,0x175)]['length'];_0x1f5ba2++){const _0x23c010=_0x23b44f[_0x4a81ea(0x9d0,_0x26ddff._0x5c14f0,0x806,0x802)][_0x1f5ba2];if(_0x23c010){const _0x4051e7=new RegExp('\x5c$'+_0x23c010+'\x5cb','g');_0x5ef824=_0x5ef824[_0x5cc118(0x18c,0x216,_0x26ddff._0x164022,_0x26ddff._0x1d1f45)](_0x4051e7,()=>{return _0x14acf8=!![],_0x39d981[_0x1f5ba2]??'';});}}function _0x4a81ea(_0x422a63,_0x2c2b32,_0x61f02e,_0x193e50){return _0x47b891(_0x2c2b32,_0x61f02e-_0x1ceb8e._0x106a9b,_0x61f02e-0x117,_0x193e50-0x139);}return _0x5ef824=_0x5ef824['replace'](/\$(\d+)\b/g,(_0x498693,_0xebe075)=>{return _0x14acf8=!![],_0x39d981[Number(_0xebe075)]??'';}),!_0x14acf8&&_0x23b44f[_0x4a81ea(_0x26ddff._0x162ba9,0x7d3,0x834,0x8b1)][_0x4a81ea(0xa12,_0x26ddff._0x10b944,_0x26ddff._0x58d0bc,_0x26ddff._0x149806)]()&&(_0x5ef824=_0x5ef824+'\x0a\x0aARGUMENTS:\x20'+_0x23b44f[_0x5cc118(0x8d,_0x26ddff._0x40ff74,_0x26ddff._0x58ff04,-_0x26ddff._0x257a43)]),_0x5ef824;}var PROVIDER_API_KEY_ENVS=[{'env':_0xe18bb0(-0x3e,0xdb,0xc4,-0xcb),'provider':_0x47b891(0x739,0x793,0x92f,0x698)},{'env':'ANTHROPIC_API_KEY','provider':_0xe18bb0(-0x49,-0x81,-0x27a,-0x218)},{'env':_0x47b891(0x505,0x700,0x6f0,0x69a),'provider':_0x47b891(0x571,0x520,0x5be,0x65b)},{'env':'GITHUB_TOKEN','provider':_0xe18bb0(-0xf,0x8f,0x273,0x1a3)},{'env':'XAI_API_KEY','provider':_0x47b891(0x4c2,0x5f5,0x680,0x4fa)},{'env':'DEEPINFRA_API_KEY','provider':_0xe18bb0(0x28,0x55,0x13f,0x231)},{'env':_0xe18bb0(0x90,-0xc3,0x58,-0x20b),'provider':_0x47b891(0x40e,0x60c,0x57a,0x435)},{'env':'MOONSHOT_API_KEY','provider':_0xe18bb0(0x54,0x193,0x31f,0x266)},{'env':_0x47b891(0x453,0x4f3,0x46a,0x63a),'provider':'minimax'},{'env':_0x47b891(0x8de,0x71c,0x777,0x8de),'provider':_0x47b891(0x6b4,0x534,0x6d4,0x511)},{'env':'OPENAI_API_KEY','provider':'openai'},{'env':_0x47b891(0x835,0x64c,0x7ab,0x511),'provider':'deepseek'},{'env':_0x47b891(0x5cb,0x69f,0x4a3,0x5bd),'provider':_0x47b891(0x6d0,0x519,0x6c4,0x4fe)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0xe18bb0(0x88,0x170,0x2da,0x83)](_0x35d57b=>_0x35d57b[_0x47b891(0x5ce,0x5f9,0x5d4,0x5aa)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY',_0x47b891(0x4a3,0x56f,0x49b,0x669),_0xe18bb0(0x141,-0xbb,-0x128,-0x247)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x47b891(0x863,0x675,0x524,0x479),_0xe18bb0(0x279,0x25d,0xc1,0x2e4),_0x47b891(0x8a2,0x70d,0x899,0x535),_0x47b891(0x780,0x702,0x5b5,0x90c),_0xe18bb0(-0x29,0xe4,0x23c,0x27d),'GLOBIGNORE'],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object['prototype']),'prototype']),PRODUCTION_FILE_EDIT_MODES=[_0xe18bb0(0x9b,-0x23,-0x20f,0x8b),'anchored-json','hashline'];function prototypeSafeRecord(_0x5e0fb3){const _0x1eccb3={_0x902368:0x856,_0x18983b:0x8e6,_0x4a578e:0x97b,_0x48a32d:0x820,_0x4facf3:0x7ca,_0x5349d3:0x116,_0x246582:0x1b5,_0x5e1e45:0xd,_0x16c5ad:0x84},_0x510fbc={_0x39568e:0x33b,_0x2d4847:0x25f,_0x2ca559:0x504,_0x239a12:0x38e,_0x2da513:0xd6,_0x34558d:0x4e},_0x54401f={_0x1e3e9c:0x29};function _0x3ecc7e(_0x5d107e,_0x3460a5,_0x5ce9be,_0x2dc6a5){return _0x47b891(_0x2dc6a5,_0x5ce9be- -0x560,_0x5ce9be-0xef,_0x2dc6a5-0x62);}function _0x575706(_0x404689,_0x2784d3,_0x305ee8,_0x10133c){return _0x47b891(_0x2784d3,_0x10133c-0x206,_0x305ee8-0x1c6,_0x10133c-_0x54401f._0x1e3e9c);}return z['preprocess'](_0x4a2d04=>{if(_0x4a2d04===null||typeof _0x4a2d04!==_0x50c3e7(0x1b2,0x23f,_0x510fbc._0x39568e,_0x510fbc._0x2d4847)||Array['isArray'](_0x4a2d04))return null;const _0x14c888=Object['getPrototypeOf'](_0x4a2d04);function _0x4567da(_0x2141cc,_0x333056,_0x20c262,_0x18bea9){return _0x678a(_0x18bea9-0xbe,_0x2141cc);}function _0x50c3e7(_0x46f411,_0x2a5aa0,_0x24c1ef,_0x44c730){return _0x678a(_0x2a5aa0- -0x2c0,_0x24c1ef);}if(_0x14c888!==Object[_0x4567da(0x274,_0x510fbc._0x2ca559,0x1c4,_0x510fbc._0x239a12)]&&_0x14c888!==null)return null;return{'entries':Object[_0x50c3e7(-0xe0,-_0x510fbc._0x2da513,_0x510fbc._0x34558d,-0xb4)](_0x4a2d04)};},z[_0x575706(0x99c,0x846,_0x1eccb3._0x902368,_0x1eccb3._0x18983b)]({'entries':z[_0x575706(_0x1eccb3._0x4a578e,_0x1eccb3._0x48a32d,0x8ce,_0x1eccb3._0x4facf3)](z[_0x3ecc7e(_0x1eccb3._0x5349d3,-_0x1eccb3._0x246582,-0x5a,-_0x1eccb3._0x5e1e45)]([z[_0x3ecc7e(0xcb,0x104,0x57,-_0x1eccb3._0x16c5ad)](),_0x5e0fb3]))}))['transform'](({entries:_0x3101d0})=>Object[_0x575706(0x8af,0x900,0x748,0x874)](_0x3101d0));}var chatModelAuthSchemeSchema=z[_0xe18bb0(-0x90,0x82,0x101,0x23b)](['bearer',_0xe18bb0(0x2e6,0x127,-0x85,0xc0)]),apiKeyAuthSchema=z[_0x47b891(0x8af,0x6e0,0x687,0x810)]({'type':z[_0x47b891(0x570,0x628,0x488,0x6a1)](_0x47b891(0x741,0x5c8,0x676,0x74a)),'apiKey':z[_0x47b891(0x48a,0x5b7,0x640,0x585)](),'authScheme':chatModelAuthSchemeSchema[_0x47b891(0x445,0x4bd,0x589,0x411)]()})[_0x47b891(0x1e1,0x37c,0x3c4,0x18c)](),oauthAuthSchema=z[_0x47b891(0x859,0x6e0,0x8ac,0x869)]({'type':z[_0x47b891(0x6e2,0x628,0x577,0x5e9)]('oauth'),'access':z['string'](),'refresh':z[_0x47b891(0x64a,0x5b7,0x6f9,0x47b)](),'expires':z['number']()[_0x47b891(0x2ff,0x4bd,0x58e,0x2af)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x47b891(0x23c,0x37c,0x392,0x18a)](),finiteNonNegative=z[_0x47b891(0x410,0x3d7,0x399,0x4b1)]()['finite']()[_0x47b891(0x39d,0x413,0x389,0x320)](),chatGptAuthSchema=z[_0xe18bb0(0xb5,0x24f,0x2e5,0x362)]({'type':z[_0xe18bb0(-0x6b,0x197,0x1dd,0x2c8)](_0xe18bb0(0x144,0xf,0x44,-0x69)),'access':z['string']()[_0xe18bb0(0x2ba,0x13a,-0xd3,0x14d)](0x1),'refresh':z[_0xe18bb0(0x317,0x126,0xdb,-0x9e)]()[_0xe18bb0(-0xa4,0x13a,0x2ef,-0x7b)](0x1),'idToken':z[_0xe18bb0(-0x39,0x126,0x74,0x19a)]()[_0x47b891(0x6e9,0x5cb,0x4ed,0x661)](0x1),'accountId':z[_0x47b891(0x54c,0x5b7,0x4c0,0x3b8)]()[_0x47b891(0x51d,0x5cb,0x411,0x40c)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x47b891(0x5e0,0x4bd,0x58b,0x58f)]()})[_0x47b891(0x27e,0x37c,0x293,0x367)](),authMethodSchema=z[_0x47b891(0x6c1,0x77e,0x636,0x93c)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z[_0x47b891(0x715,0x513,0x60b,0x44d)]([_0x47b891(0x641,0x4d6,0x5f8,0x315),'low','medium',_0xe18bb0(-0x2a9,-0xa4,-0x1c5,-0x229),'xhigh',_0xe18bb0(-0x129,-0x113,0xe6,-0x41)]),reasoningOptionSchema=z[_0xe18bb0(0x82,0x24f,0x13c,0xbd)]({'id':z['string']()[_0xe18bb0(0x2cb,0x2f4,0x229,0x13e)]()['min'](0x1),'description':z[_0xe18bb0(-0x70,0x126,0x1c8,0x147)]()[_0x47b891(0x43c,0x4bd,0x66c,0x39e)](),'mode':z['enum']([_0x47b891(0x48b,0x589,0x5a3,0x58f),_0xe18bb0(0x1b8,0x28,-0xa8,0x115)])[_0x47b891(0x3b7,0x4bd,0x567,0x624)](),'effort':reasoningEffortSchema[_0x47b891(0x2dd,0x4bd,0x62b,0x68d)](),'budgetTokens':z['number']()[_0xe18bb0(0x87,0x1c2,0x2d9,0x2da)]()[_0xe18bb0(-0x2b,0x13a,0x183,-0x5b)](0x400)[_0x47b891(0x2dd,0x4bd,0x349,0x672)]()})[_0xe18bb0(-0x22e,-0x110,0xb4,-0x1bd)]((_0x5c0d4f,_0x31aee3)=>{const _0x96fa42={_0x1c3d94:0x9ca,_0x2af30a:0x7ef,_0x130ced:0x18d,_0xf5d011:0x6e,_0x24fe76:0xf,_0x490db0:0x5f0,_0x184d97:0x66a,_0xfcadcf:0x5f5,_0x17a3df:0x36c,_0x49b0f8:0x685,_0x112ca3:0x630,_0x41d455:0x6a9,_0x407bce:0x22e,_0x384975:0x104,_0x96c72a:0x35a,_0xe52a64:0x6,_0x5efed3:0x9b7,_0x4c787d:0x85c,_0xade643:0x8ce,_0x5ed538:0x4fa,_0x24d9fa:0xa29,_0x23d805:0x94,_0x5c9a8f:0x1bd,_0x4725c4:0x191,_0x777ecb:0x8af,_0xf4dfac:0x91a,_0x11ade7:0x886,_0x12dc5a:0x7f7,_0x4a8a23:0x1f3,_0x5065c8:0x30b,_0xcb824e:0x4bd,_0x5ed56c:0x586,_0xe05b02:0x683,_0x5f159e:0x780,_0x5ec9e0:0x82e,_0x4ab2f2:0x768,_0xe0dcd7:0x6c3,_0x146422:0x234,_0x5e9c41:0x40a,_0x542efa:0x108,_0x5f39a6:0x10e,_0xac99b2:0x7e,_0x258df4:0x2d0,_0x49131d:0x1bd,_0x30a1cb:0x249,_0x3903cf:0x2a3,_0xafc48d:0x4d9,_0x1e2912:0x6da},_0x4852d5={_0x2c5d2f:0x3e,_0x55240d:0x6},_0x4b3933={_0x185854:0x170,_0x5c789c:0x1b},_0x22a5c6=_0x5c0d4f['id'][_0x194f2d(_0x96fa42._0x1c3d94,0x7d6,0x72c,_0x96fa42._0x2af30a)]();function _0x194f2d(_0x55fd83,_0x38ed3d,_0x319d15,_0x7a9994){return _0x47b891(_0x319d15,_0x7a9994-_0x4b3933._0x185854,_0x319d15-0xf4,_0x7a9994-_0x4b3933._0x5c789c);}(_0x22a5c6==='off'||_0x22a5c6===_0x3b1227(-_0x96fa42._0x130ced,_0x96fa42._0xf5d011,0xf1,-_0x96fa42._0x24fe76)||_0x22a5c6===_0x194f2d(_0x96fa42._0x490db0,0x723,_0x96fa42._0x184d97,_0x96fa42._0xfcadcf))&&_0x31aee3[_0x194f2d(0x5e9,0x560,_0x96fa42._0x17a3df,0x545)]({'code':_0x194f2d(_0x96fa42._0x49b0f8,_0x96fa42._0x112ca3,_0x96fa42._0x41d455,0x780),'path':['id'],'message':_0x3b1227(_0x96fa42._0x407bce,0x25b,_0x96fa42._0x384975,_0x96fa42._0x96c72a)+_0x22a5c6+'\x22\x20is\x20reserved'});function _0x3b1227(_0x25b4cc,_0x3f7d24,_0x1c6580,_0x466cb1){return _0xe18bb0(_0x466cb1,_0x3f7d24-_0x4852d5._0x2c5d2f,_0x1c6580-_0x4852d5._0x55240d,_0x466cb1-0x16);}if(_0x5c0d4f['mode']===_0x3b1227(-_0x96fa42._0xe52a64,0x66,-0xb0,0x1f6)){_0x5c0d4f[_0x194f2d(_0x96fa42._0x5efed3,_0x96fa42._0x4c787d,0x79f,_0x96fa42._0xade643)]===void 0x0&&_0x31aee3[_0x194f2d(0x3b8,0x3d0,_0x96fa42._0x5ed538,0x545)]({'code':'custom','path':['budgetTokens'],'message':_0x194f2d(_0x96fa42._0x24d9fa,0x78a,0x750,0x8fe)});_0x5c0d4f['effort']!==void 0x0&&_0x31aee3['addIssue']({'code':_0x3b1227(_0x96fa42._0x23d805,_0x96fa42._0x5c9a8f,0x141,_0x96fa42._0x4725c4),'path':[_0x194f2d(_0x96fa42._0x777ecb,_0x96fa42._0xf4dfac,_0x96fa42._0x11ade7,_0x96fa42._0x12dc5a)],'message':_0x3b1227(0x7,0x17a,_0x96fa42._0x4a8a23,-0x2)});return;}_0x5c0d4f[_0x3b1227(0x103,_0x96fa42._0x5065c8,_0x96fa42._0xcb824e,0x263)]!==void 0x0&&_0x31aee3[_0x194f2d(0x5d7,_0x96fa42._0x5ed56c,0x6c5,0x545)]({'code':_0x194f2d(0x932,0x853,_0x96fa42._0xe05b02,_0x96fa42._0x5f159e),'path':['budgetTokens'],'message':_0x194f2d(0x71c,_0x96fa42._0x5ec9e0,0x8be,_0x96fa42._0x4ab2f2)}),_0x5c0d4f[_0x194f2d(0x665,0x7fc,_0x96fa42._0xe0dcd7,0x6e1)]===void 0x0&&_0x5c0d4f[_0x3b1227(0x125,_0x96fa42._0x146422,_0x96fa42._0x5e9c41,_0x96fa42._0x542efa)]===void 0x0&&_0x31aee3[_0x3b1227(_0x96fa42._0x5f39a6,-_0x96fa42._0xac99b2,-0xa2,0xe6)]({'code':_0x3b1227(_0x96fa42._0x258df4,_0x96fa42._0x49131d,_0x96fa42._0x30a1cb,_0x96fa42._0x3903cf),'path':['effort'],'message':_0x194f2d(0x76c,0x786,_0x96fa42._0xafc48d,_0x96fa42._0x1e2912)});});function validateReasoningOptionIds(_0x3d266f,_0x40a48a){const _0x3ecfe0={_0x741132:0x3c9,_0x426da5:0x31d,_0x264b43:0x11b,_0x522b17:0x40d,_0x4cbea6:0x456,_0x409fe4:0x73,_0x335cc4:0x15f,_0x31d778:0x30c,_0x5b2d54:0x5ac,_0x2b5075:0x500,_0x32d3eb:0x601},_0x526140={_0x50eb4a:0x12f,_0x21f495:0x1e6},_0x730ac7={_0x7fc225:0x11d,_0x38eaff:0x15e};function _0x5c13eb(_0xf03c9b,_0x112922,_0x4de606,_0x4a2900){return _0x47b891(_0x4de606,_0x112922- -_0x730ac7._0x7fc225,_0x4de606-_0x730ac7._0x38eaff,_0x4a2900-0x1aa);}const _0x1c0575=new Set();function _0x205394(_0xa74e8a,_0x508739,_0x3583ef,_0x427c24){return _0xe18bb0(_0x508739,_0xa74e8a-_0x526140._0x50eb4a,_0x3583ef-_0x526140._0x21f495,_0x427c24-0x1e1);}for(let _0x3e5dd7=0x0;_0x3e5dd7<_0x3d266f[_0x5c13eb(_0x3ecfe0._0x741132,0x51b,0x676,0x35e)];_0x3e5dd7+=0x1){const _0x3f5654=_0x3d266f[_0x3e5dd7]?.['id'][_0x205394(_0x3ecfe0._0x426da5,_0x3ecfe0._0x264b43,0x343,0x34b)]();if(!_0x3f5654)continue;if(_0x1c0575[_0x205394(0x39c,_0x3ecfe0._0x522b17,0x44f,_0x3ecfe0._0x4cbea6)](_0x3f5654)){_0x40a48a[_0x205394(_0x3ecfe0._0x409fe4,_0x3ecfe0._0x335cc4,0x3,-0x129)]({'code':_0x5c13eb(_0x3ecfe0._0x31d778,0x4f3,_0x3ecfe0._0x5b2d54,_0x3ecfe0._0x2b5075),'path':['options',_0x3e5dd7,'id'],'message':'Duplicate\x20reasoning\x20option\x20\x22'+_0x3f5654+'\x22'});continue;}_0x1c0575[_0x5c13eb(0x6da,_0x3ecfe0._0x32d3eb,0x5df,0x3f9)](_0x3f5654);}}var providerReasoningConfigSchema=z[_0xe18bb0(0x243,0x24f,0x2ad,0x3b1)]({'options':z[_0x47b891(0x726,0x5c4,0x61f,0x58e)](reasoningOptionSchema)})['superRefine']((_0x2e2698,_0x330cf8)=>{const _0x33d2e3={_0x2016c1:0x49c,_0x207eed:0x3cb},_0x49f14d={_0x27fae0:0x118,_0x101d1d:0x6b};function _0x132929(_0x29e965,_0x3a9b82,_0x1facdb,_0x1185f1){return _0x47b891(_0x1185f1,_0x1facdb- -_0x49f14d._0x27fae0,_0x1facdb-_0x49f14d._0x101d1d,_0x1185f1-0x119);}validateReasoningOptionIds(_0x2e2698[_0x132929(0x4d0,_0x33d2e3._0x2016c1,_0x33d2e3._0x207eed,0x362)],_0x330cf8);}),modelReasoningConfigSchema=z[_0xe18bb0(0x3e9,0x24f,0x450,0x1f7)]({'defaultOption':z['string']()['trim']()['min'](0x1)[_0x47b891(0x518,0x4bd,0x605,0x356)](),'canDisable':z[_0x47b891(0x8d1,0x744,0x807,0x6b8)]()[_0x47b891(0x6b4,0x4bd,0x4da,0x462)](),'options':z['array'](reasoningOptionSchema)})[_0x47b891(0x24c,0x381,0x17d,0x52e)]((_0x97ba43,_0x25beb4)=>{const _0x2734ee={_0x2851a3:0x456,_0xe3f6e0:0x4bf,_0x5e9bc2:0x667,_0x211bb5:0x92c,_0x435f03:0x906,_0x562b2f:0x5ce,_0x4d4afb:0x7d7,_0x1e2cdf:0x2e2,_0x38a748:0x410,_0x1a7add:0x370,_0x2b9816:0x559,_0x475e3c:0x563,_0x5309e3:0x17a,_0x4bd7d8:0x373,_0x169caf:0x357,_0x23b8ff:0x1c6,_0x4e4b7e:0x8fa,_0x4f19f2:0x612,_0x56d5b7:0x681,_0x19785c:0x802,_0x451100:0x615,_0x3c9e78:0x5dc,_0x12e90:0x870,_0x36e91e:0x42,_0x370b75:0x3c,_0x3bf331:0x11b,_0x1e7a76:0x20d,_0x4517ac:0x264,_0x570dba:0x106,_0xd2610a:0x77},_0x5bb5df={_0x163676:0x184,_0x4f2ac4:0xf2};validateReasoningOptionIds(_0x97ba43[_0x4e1133(_0x2734ee._0x2851a3,0x6b2,_0x2734ee._0xe3f6e0,_0x2734ee._0x5e9bc2)],_0x25beb4);const _0x332d1f=_0x97ba43['defaultOption']?.[_0x4e1133(_0x2734ee._0x211bb5,_0x2734ee._0x435f03,0x5f3,0x803)]();if(_0x332d1f===void 0x0)return;if(_0x332d1f===_0x4e1133(_0x2734ee._0x562b2f,0x781,_0x2734ee._0x4d4afb,0x6b4)){_0x97ba43[_0x31c6db(0x21d,0x494,0x4ad,_0x2734ee._0x1e2cdf)]!==!![]&&_0x25beb4[_0x4e1133(_0x2734ee._0x38a748,_0x2734ee._0x1a7add,0x6a2,_0x2734ee._0x2b9816)]({'code':'custom','path':[_0x4e1133(0x518,0x438,_0x2734ee._0x475e3c,0x5bc)],'message':_0x31c6db(_0x2734ee._0x5309e3,0x27e,0x575,_0x2734ee._0x4bd7d8)});return;}function _0x31c6db(_0x2ce247,_0xf3db60,_0x1e254e,_0x3e267d){return _0xe18bb0(_0xf3db60,_0x3e267d-0x174,_0x1e254e-0x1c3,_0x3e267d-0x1be);}function _0x4e1133(_0x317f4d,_0x23e6aa,_0x57db37,_0x1bdf79){return _0x47b891(_0x317f4d,_0x1bdf79-_0x5bb5df._0x163676,_0x57db37-0x1bc,_0x1bdf79-_0x5bb5df._0x4f2ac4);}!_0x97ba43[_0x31c6db(-0x4a,0x11f,_0x2734ee._0x169caf,_0x2734ee._0x23b8ff)][_0x4e1133(_0x2734ee._0x4e4b7e,_0x2734ee._0x4f19f2,_0x2734ee._0x56d5b7,_0x2734ee._0x19785c)](_0x52f7b3=>_0x52f7b3['id'][_0x4e1133(0x641,0x8e0,0x80d,0x803)]()===_0x332d1f)&&_0x25beb4[_0x4e1133(0x6be,0x61d,0x68d,0x559)]({'code':_0x4e1133(_0x2734ee._0x451100,_0x2734ee._0x3c9e78,_0x2734ee._0x12e90,0x794),'path':[_0x31c6db(0x141,_0x2734ee._0x36e91e,_0x2734ee._0x370b75,_0x2734ee._0x3bf331)],'message':_0x31c6db(_0x2734ee._0x1e7a76,0x194,0x3bd,_0x2734ee._0x4517ac)+_0x97ba43[_0x31c6db(-0xd,_0x2734ee._0x570dba,_0x2734ee._0xd2610a,_0x2734ee._0x3bf331)]+'\x22\x20is\x20not\x20a\x20declared\x20option'});}),modelDefinitionSchema=z[_0x47b891(0x8ac,0x6e0,0x50e,0x573)]({'id':z[_0x47b891(0x5b8,0x5b7,0x5be,0x3f1)](),'name':z[_0xe18bb0(0x2de,0x126,0xe4,0x320)]()['optional'](),'reasoning':modelReasoningConfigSchema[_0xe18bb0(-0xf8,0x2c,-0x128,0x23d)]()})['passthrough'](),modelConfigSchema=z[_0xe18bb0(0x1c4,0x2ed,0x3ff,0x236)]([z[_0xe18bb0(0x1ae,0x197,0xc8,0xb9)](![]),z['literal'](!![]),z[_0x47b891(0x748,0x5b7,0x619,0x5cb)](),z[_0xe18bb0(0x57,0x133,-0x8c,0x313)](z[_0xe18bb0(-0xdf,0x126,0x276,0x278)]()),z[_0xe18bb0(0x2cd,0x133,0xc9,0x41)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x47b891(0x688,0x513,0x41e,0x440)]([_0xe18bb0(-0x1ed,-0xe8,0xd,0x124),_0x47b891(0x3e7,0x53a,0x3f5,0x57f),_0x47b891(0x6a3,0x6cc,0x558,0x4d8),_0xe18bb0(0x1d4,0x58,-0x19d,-0x18c)]),providerConfigSchema=z[_0x47b891(0x53e,0x6e0,0x80c,0x53f)]({'apiKey':z[_0xe18bb0(0x151,0x126,0x10d,0x2b0)]()[_0x47b891(0x4d7,0x4bd,0x2c8,0x382)](),'token':z['string']()[_0xe18bb0(-0x170,0x2c,-0x16b,-0x47)](),'defaultModel':z[_0x47b891(0x737,0x5b7,0x77f,0x74a)]()[_0xe18bb0(0x5f,0x2c,0x1d9,-0x1ad)](),'smallModel':z[_0x47b891(0x3b4,0x5b7,0x6e5,0x74f)]()[_0x47b891(0x68e,0x4bd,0x6a2,0x316)](),'currentAuth':z[_0xe18bb0(0x191,0x126,0xa9,0x1e6)]()['optional'](),'auth':z[_0xe18bb0(0x8,0x133,0x1ce,0x154)](authMethodSchema)[_0xe18bb0(0x1a3,0x2c,0x173,0x7f)](),'surface':chatModelSurfaceSchema[_0xe18bb0(0xb0,0x2c,-0xdc,0x178)](),'baseUrl':z[_0x47b891(0x784,0x5b7,0x4ce,0x5d7)]()[_0xe18bb0(0x152,0x2c,0x8b,-0xe3)](),'models':modelConfigSchema[_0xe18bb0(0x193,0x2c,0x23,-0xe6)](),'customHeaders':z[_0x47b891(0x630,0x5b3,0x710,0x621)](z['string'](),z[_0x47b891(0x5aa,0x5b7,0x620,0x3eb)]())[_0xe18bb0(0x6a,0x2c,-0x1dc,0x20)](),'reasoning':providerReasoningConfigSchema[_0x47b891(0x3e6,0x4bd,0x623,0x3d1)]()})[_0xe18bb0(-0x2b1,-0x115,-0x115,0xe2)](),mcpServerConfigSchema=z[_0xe18bb0(0xcb,0x24f,0xcf,0x2f9)]({'command':z[_0xe18bb0(0x179,0x126,0x24,0x28d)]()['optional'](),'args':z['array'](z['string']())[_0x47b891(0x455,0x4bd,0x6a8,0x66d)](),'env':z[_0xe18bb0(0x52,0x122,0x1cc,0xcd)](z[_0x47b891(0x51b,0x5b7,0x766,0x450)](),z[_0x47b891(0x61f,0x5b7,0x3db,0x712)]())['optional'](),'transport':z[_0xe18bb0(-0x13c,0x82,-0x144,-0x138)]([_0x47b891(0x80b,0x671,0x7f2,0x7ca),_0xe18bb0(0x102,0x120,0x2db,0x5)])[_0x47b891(0x5f5,0x4bd,0x67f,0x3dd)](),'url':z[_0xe18bb0(0xeb,0x126,0x1e1,0x30c)]()[_0xe18bb0(0x1fe,0x2c,0xf1,0x1f1)](),'headers':z[_0xe18bb0(0x185,0x122,0xdd,0x137)](z['string'](),z[_0xe18bb0(0x82,0x126,-0x3d,0xa3)]())[_0x47b891(0x5c8,0x4bd,0x590,0x39f)](),'prefix':z[_0x47b891(0x759,0x5b7,0x4b3,0x45c)]()[_0x47b891(0x571,0x4bd,0x2eb,0x45f)](),'timeoutMs':z[_0xe18bb0(0x4d,-0xba,-0x198,-0x276)]()['optional'](),'enabled':z['boolean']()['optional'](),'auth':z[_0x47b891(0x79d,0x6e0,0x565,0x4d1)]({'type':z[_0xe18bb0(-0x132,0x82,-0x11c,-0x92)]([_0xe18bb0(0x32d,0x287,0x224,0xae),_0xe18bb0(-0x13a,-0x15,0xc,0x1d5),_0xe18bb0(-0x33,0x188,0x7e,0x3e)]),'token':z['string']()[_0x47b891(0x53a,0x4bd,0x4d6,0x45a)](),'oauth':z[_0xe18bb0(0x439,0x24f,0xd4,0x37d)]({'clientId':z['string']()[_0x47b891(0x426,0x4bd,0x392,0x470)](),'clientMetadataUrl':z[_0x47b891(0x44a,0x5b7,0x6ee,0x5aa)]()[_0x47b891(0x577,0x4bd,0x38f,0x522)](),'authorizationServer':z[_0xe18bb0(0x285,0x126,0x1a7,-0x56)]()['optional'](),'scopes':z[_0x47b891(0x6c2,0x5c4,0x432,0x5f4)](z['string']())[_0x47b891(0x69a,0x4bd,0x476,0x3cd)](),'tokenStorageKey':z['string']()[_0xe18bb0(0xc7,0x2c,0x1ed,-0x1bb)]()})['passthrough']()['optional']()})['passthrough']()[_0xe18bb0(0x192,0x2c,-0x9b,0x125)]()})[_0xe18bb0(0xef,-0x115,-0x1dd,-0x88)](),mcpToolPermissionClassSchema=z['enum']([_0xe18bb0(0x1af,0x257,0x3ff,0xa7),_0xe18bb0(0x129,0x8a,-0xea,0x231),_0x47b891(0x5f1,0x73e,0x608,0x8a0)]),mcpSettingsSchema=z['object']({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0xe18bb0(-0x17a,0x2c,0x10f,0x166)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0xe18bb0(0x2ef,0x2b3,0x41f,0x2da)]()))['optional'](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x47b891(0x35a,0x4bd,0x4d4,0x5a0)](),'defaultTimeoutMs':z['number']()[_0x47b891(0x5ea,0x4bd,0x2f9,0x60f)]()})['passthrough'](),skillsSettingsSchema=z[_0x47b891(0x69b,0x6e0,0x6a0,0x545)]({'enabled':z[_0xe18bb0(0x251,0x2b3,0x1b0,0x234)]()[_0xe18bb0(-0x1d8,0x2c,0x3a,0x9f)](),'includeDefaults':z[_0x47b891(0x6e8,0x744,0x6ab,0x603)]()[_0x47b891(0x31b,0x4bd,0x2e0,0x683)](),'directories':z[_0x47b891(0x605,0x5c4,0x5ae,0x659)](z[_0xe18bb0(0x2ff,0x126,0x264,0x1b)]())[_0x47b891(0x4a8,0x4bd,0x52f,0x405)](),'exclude':z[_0xe18bb0(0x27c,0x133,0x211,0x150)](z[_0xe18bb0(-0x3e,0x126,0x256,0xcd)]())[_0x47b891(0x4ad,0x4bd,0x3e5,0x4ef)]()})['passthrough'](),commandsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x47b891(0x411,0x4bd,0x609,0x65e)](),'directories':z[_0xe18bb0(0xbf,0x133,0x19,0xb0)](z[_0x47b891(0x46b,0x5b7,0x5ec,0x49d)]())[_0xe18bb0(0x11d,0x2c,0x164,0x162)]()})['passthrough'](),agentsSettingsSchema=z['object']({'enabled':z[_0x47b891(0x6a7,0x744,0x863,0x866)]()[_0xe18bb0(0xd7,0x2c,0xc7,-0x162)](),'includeDefaults':z[_0x47b891(0x610,0x744,0x7be,0x539)]()[_0xe18bb0(0x111,0x2c,-0x109,0xfe)](),'directories':z['array'](z['string']())[_0x47b891(0x61c,0x4bd,0x373,0x363)](),'maxConcurrency':z[_0xe18bb0(-0x186,-0xba,-0x24d,-0x13f)]()[_0xe18bb0(0x1b9,-0x2a,0x165,0x124)]()[_0xe18bb0(0x1e6,0x1c2,0x16b,0x156)]()['positive']()[_0x47b891(0x345,0x4bd,0x342,0x443)]()})[_0x47b891(0x41d,0x37c,0x34d,0x25c)](),uiThemeSettingsSchema=z[_0xe18bb0(0x304,0x24f,0xc8,0x359)]({'mode':z['enum']([_0xe18bb0(-0x16f,-0xdc,-0x162,0xe9),_0x47b891(0x425,0x496,0x4b4,0x422),_0x47b891(0x3be,0x3fd,0x323,0x340)])[_0xe18bb0(0x28,0x2c,-0x3c,-0x160)](),'colorLevel':z[_0xe18bb0(-0x6a,0x82,0x1d7,0x1d2)]([_0x47b891(0x2e8,0x3b5,0x4ab,0x386),_0x47b891(0x833,0x718,0x782,0x62a),_0x47b891(0x36c,0x398,0x4b1,0x3f0),'ansi256','truecolor'])[_0xe18bb0(-0x2f,0x2c,-0x104,0x205)](),'backgrounds':z[_0x47b891(0x456,0x513,0x58e,0x560)]([_0xe18bb0(-0x1af,-0xdc,0xa3,0xff),'on','off'])[_0xe18bb0(0x21a,0x2c,0x7c,-0x78)](),'messageStyle':z[_0x47b891(0x521,0x513,0x392,0x567)]([_0xe18bb0(0x438,0x2dd,0xf0,0x4a6),_0xe18bb0(0x2f1,0x1ba,0xf9,0x25)])['optional']()})[_0xe18bb0(-0x2de,-0x115,0x26,-0x31e)](),statuslineSegmentSchema=z[_0x47b891(0x43f,0x513,0x6e0,0x6db)]([_0xe18bb0(0x169,-0xa7,-0x2ac,-0x209),'session',_0xe18bb0(0x27,0x40,0x19f,0x208),_0x47b891(0x6c5,0x4e1,0x6a0,0x6a7),_0xe18bb0(-0xaf,0x80,0x163,0x1cf),_0x47b891(0x5ee,0x6f5,0x5b6,0x546),_0x47b891(0x577,0x560,0x57c,0x622),_0xe18bb0(0x167,0x152,-0xa3,0x97),_0x47b891(0x624,0x79c,0x8c9,0x74d),_0x47b891(0x2ed,0x3d9,0x4b7,0x379),_0xe18bb0(0xcc,-0x2e,-0xcb,-0x146),_0x47b891(0x5fc,0x45a,0x3c2,0x4aa),_0xe18bb0(0x44a,0x2c4,0x19e,0x3cd),_0xe18bb0(0x2ac,0x200,0x34e,0x9e),_0xe18bb0(0x57,0x1a2,0x1e4,0x79)]),statuslineItemSchema=z[_0xe18bb0(0x227,0x2ed,0x1e1,0x4ea)]([statuslineSegmentSchema,z[_0xe18bb0(0x149,0x197,0x289,0x30d)]('|')]),statuslineRowSchema=z[_0x47b891(0x594,0x5c4,0x79c,0x43d)](statuslineItemSchema),statuslineConfigSchema=z['object']({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x47b891(0x5a2,0x4bd,0x3f1,0x668)]()})[_0xe18bb0(-0x250,-0x115,0x41,0xcf)](),memoryExtractionSettingsSchema=z[_0xe18bb0(0x322,0x24f,0xf6,0x2c8)]({'enabled':z[_0x47b891(0x739,0x744,0x682,0x677)]()[_0x47b891(0x5fc,0x4bd,0x440,0x670)](),'provider':z['string']()[_0xe18bb0(0x26a,0x13a,0x305,0x24)](0x1)['optional'](),'model':z[_0xe18bb0(-0x8a,0x126,-0x4f,0x328)]()[_0x47b891(0x7b3,0x5cb,0x63f,0x6a9)](0x1)[_0x47b891(0x452,0x4bd,0x52c,0x2e3)](),'minUserMessages':z['number']()[_0xe18bb0(0x325,0x1c2,-0x2b,0x224)]()[_0x47b891(0x5aa,0x5cb,0x797,0x715)](0x1)[_0xe18bb0(0x152,0x2c,0xd9,-0x1e1)](),'structuredOutput':z[_0x47b891(0x8d2,0x744,0x6c0,0x84b)]()['optional'](),'maxSeedTokens':z[_0xe18bb0(0x8a,-0xba,-0x255,-0x1ee)]()['int']()[_0x47b891(0x508,0x5cb,0x40f,0x735)](0x1)[_0xe18bb0(-0xd8,0x2c,0xb3,0x23c)](),'trimToolOutputs':z['boolean']()[_0xe18bb0(-0x6d,0x2c,-0x1bd,0x123)]()})[_0x47b891(0x52a,0x708,0x559,0x807)](),memoryInjectionSettingsSchema=z['object']({'tokenBudget':z[_0x47b891(0x4eb,0x3d7,0x2f5,0x41f)]()[_0xe18bb0(0xe2,0x1c2,0x3b5,0x60)]()[_0x47b891(0x5b7,0x5cb,0x758,0x7d4)](0x80)['max'](0x2000)[_0xe18bb0(-0x110,0x2c,0x9e,0xf4)](),'rankByUsage':z[_0xe18bb0(0x1d4,0x2b3,0x2b6,0x415)]()[_0xe18bb0(-0x6d,0x2c,0xc6,-0xdb)]()})[_0xe18bb0(0x44f,0x277,0x365,0x338)](),memoryConsolidateSettingsSchema=z[_0xe18bb0(0xe3,0x24f,0x2d7,0x14b)]({'enabled':z[_0x47b891(0x8cc,0x744,0x59b,0x688)]()[_0xe18bb0(-0x15f,0x2c,0xf4,-0x1d7)](),'provider':z[_0x47b891(0x77f,0x5b7,0x3f0,0x4f2)]()[_0x47b891(0x432,0x5cb,0x56e,0x3eb)](0x1)[_0x47b891(0x2c0,0x4bd,0x38c,0x657)](),'model':z[_0x47b891(0x5e2,0x5b7,0x5b9,0x578)]()['min'](0x1)[_0xe18bb0(0x227,0x2c,0x48,0x1c9)](),'maxExtractsPerRun':z[_0x47b891(0x3ba,0x3d7,0x3fa,0x1f4)]()['int']()['min'](0x1)['optional'](),'maxUnusedDays':z[_0x47b891(0x5c9,0x3d7,0x572,0x3c4)]()['int']()[_0xe18bb0(-0xad,0x13a,0x1d7,0x33e)](0x1)[_0x47b891(0x424,0x4bd,0x666,0x2c5)](),'requireReview':z[_0xe18bb0(0x458,0x2b3,0x415,0x411)]()[_0xe18bb0(0x8d,0x2c,-0x184,0x8e)](),'writeSkills':z[_0xe18bb0(0x409,0x2b3,0x31c,0x478)]()[_0x47b891(0x35e,0x4bd,0x44c,0x602)](),'readSourceTranscripts':z[_0xe18bb0(0x465,0x2b3,0x1a9,0x290)]()[_0x47b891(0x2b1,0x4bd,0x4b7,0x4c5)](),'maxTranscriptReadsPerRun':z['number']()['int']()[_0x47b891(0x7c0,0x5cb,0x745,0x595)](0x0)[_0xe18bb0(-0x180,0x2c,0x1ca,0x1e0)]()})[_0xe18bb0(0x11d,0x277,0xe9,0x1ce)](),memorySettingsSchema=z[_0x47b891(0x75c,0x6e0,0x69f,0x639)]({'enabled':z[_0xe18bb0(0x3cd,0x2b3,0x24c,0x469)]()[_0xe18bb0(0x14f,0x2c,0xcf,-0x17)](),'extraction':memoryExtractionSettingsSchema[_0x47b891(0x597,0x4bd,0x321,0x3df)](),'consolidate':memoryConsolidateSettingsSchema[_0xe18bb0(-0xd9,0x2c,-0x60,-0x60)](),'injection':memoryInjectionSettingsSchema[_0x47b891(0x35d,0x4bd,0x48a,0x481)]()})['strict'](),recentModelSchema=z['object']({'provider':z[_0x47b891(0x570,0x5b7,0x6e4,0x4a7)](),'model':z[_0x47b891(0x4fe,0x5b7,0x5e5,0x524)](),'usedAt':z[_0xe18bb0(0x34,-0xba,-0x1ab,-0x9b)]()})[_0x47b891(0x2d6,0x37c,0x586,0x4be)](),lspServerEntrySchema=z[_0x47b891(0x807,0x6e0,0x68b,0x7e2)]({'disabled':z[_0xe18bb0(0x2c8,0x2b3,0x2c7,0x3ef)]()[_0x47b891(0x35c,0x4bd,0x4c6,0x42e)](),'command':z[_0x47b891(0x530,0x5b7,0x6c2,0x6a9)]()[_0xe18bb0(-0xca,0x2c,-0x3c,0x12e)](),'args':z['array'](z[_0xe18bb0(0x17d,0x126,0x1e7,0xf8)]())['optional'](),'rootMarkers':z[_0x47b891(0x688,0x5c4,0x64d,0x51b)](z[_0x47b891(0x570,0x5b7,0x67c,0x7b2)]())['optional']()})[_0xe18bb0(-0x72,-0x115,-0x2de,-0xe5)](),lspConfigSchema=z[_0xe18bb0(0x35f,0x24f,0xd0,0x2e1)]({'enabled':z['boolean']()['optional'](),'servers':z['record'](z['string'](),lspServerEntrySchema)[_0xe18bb0(0x12e,0x2c,-0xd1,-0x5c)]()})[_0x47b891(0x2e9,0x37c,0x1d9,0x571)](),serverEndpointSchema=z[_0xe18bb0(0xa3,0x24f,0x135,0x320)]({'url':z[_0x47b891(0x6db,0x5b7,0x4d8,0x79b)](),'token':z[_0xe18bb0(0x4d,0x126,-0x97,0xef)]()[_0x47b891(0x324,0x4bd,0x660,0x625)]()})[_0xe18bb0(-0x1f2,-0x115,0xb4,-0x286)](),commandHookConfigSchema=z[_0xe18bb0(0x2db,0x24f,0x4c,0xca)]({'type':z[_0x47b891(0x7a7,0x628,0x751,0x61e)](_0xe18bb0(0x273,0x2d4,0x2ab,0x1b7)),'command':z[_0xe18bb0(-0xd6,0x126,0x2c,0xf6)](),'timeout':z[_0x47b891(0x57c,0x3d7,0x3ce,0x515)]()[_0xe18bb0(-0x1c0,0x2c,0x26,-0xc9)]()}),hookMatcherGroupSchema=z[_0xe18bb0(0x44c,0x24f,0x373,0x201)]({'matcher':z[_0x47b891(0x65c,0x5b7,0x52a,0x693)]()[_0xe18bb0(0xa1,0x2c,-0x19a,0x17a)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0xe18bb0(0x453,0x24f,0x3ab,0x228)]({'PreToolUse':z[_0x47b891(0x675,0x5c4,0x5b2,0x539)](hookMatcherGroupSchema)[_0xe18bb0(-0xad,0x2c,-0xc5,-0xba)](),'PostToolUse':z[_0xe18bb0(0x28e,0x133,0x2f0,-0x16)](hookMatcherGroupSchema)[_0x47b891(0x2f3,0x4bd,0x3ca,0x41b)](),'UserPromptSubmit':z[_0xe18bb0(-0xb9,0x133,0x1d,0x2f0)](hookMatcherGroupSchema)[_0x47b891(0x320,0x4bd,0x5f9,0x616)](),'Stop':z[_0x47b891(0x543,0x5c4,0x4b4,0x608)](hookMatcherGroupSchema)['optional'](),'Notification':z[_0xe18bb0(0x17,0x133,0x2e9,0x2d3)](hookMatcherGroupSchema)[_0x47b891(0x2b5,0x4bd,0x447,0x696)](),'ToolApprovalRequest':z['array'](hookMatcherGroupSchema)['optional'](),'SessionStart':z['array'](hookMatcherGroupSchema)[_0x47b891(0x615,0x4bd,0x587,0x316)](),'SessionEnd':z[_0xe18bb0(0x29f,0x133,-0xa9,-0xd3)](hookMatcherGroupSchema)[_0xe18bb0(0x1c0,0x2c,0x156,0x142)]()}),providerNameSchema=z[_0xe18bb0(0x19a,0x126,0x307,0xa4)]()['min'](0x1,_0x47b891(0x7aa,0x65a,0x5c4,0x71f))[_0x47b891(0x7a7,0x5ec,0x540,0x590)](_0xa8369e=>!_0xa8369e[_0xe18bb0(-0xbd,0xfc,-0x99,0x2b8)](':'),_0xe18bb0(0x22d,0x2c8,0x135,0x499)),bashPolicyRuleSchema=z[_0xe18bb0(0x26b,0x24f,0x17c,0x415)]({'id':z[_0x47b891(0x68f,0x5b7,0x651,0x5bc)]()['trim']()[_0x47b891(0x5da,0x5cb,0x45d,0x6c9)](0x1)[_0x47b891(0x3ea,0x37e,0x309,0x409)](0x80),'action':z['enum'](['allow',_0xe18bb0(-0x17b,-0xd8,-0x12b,-0x26b)]),'cwd':z['enum']([_0x47b891(0x4b6,0x5f3,0x53e,0x64c),_0xe18bb0(0x18d,-0x51,-0x123,0x47)])[_0x47b891(0x6bc,0x4bd,0x476,0x42a)](),'commands':z[_0x47b891(0x419,0x5c4,0x539,0x69a)](z[_0xe18bb0(-0xbc,0x126,0x20a,0x12a)]()['min'](0x1))[_0xe18bb0(0x280,0x13a,-0xad,0x1a7)](0x1)})[_0xe18bb0(0x2b9,0x277,0x26d,0x2c4)](),bashPolicyConfigSchema=z['object']({'default':z[_0xe18bb0(0x2ef,0x197,0x106,0x8d)](_0xe18bb0(-0x7a,0x4d,0xfa,0x138))[_0xe18bb0(-0x127,0x2c,0xdb,-0x15b)](),'rules':z[_0x47b891(0x558,0x5c4,0x760,0x457)](bashPolicyRuleSchema)['max'](0x3e8)})[_0x47b891(0x72a,0x708,0x8bf,0x63d)](),fileEditSettingsSchema=z[_0xe18bb0(0x38d,0x24f,0x323,0xa7)]({'mode':z[_0x47b891(0x55b,0x513,0x6e1,0x5ed)](PRODUCTION_FILE_EDIT_MODES)[_0xe18bb0(0x170,0x2c,0x69,-0x149)]()})[_0x47b891(0x814,0x708,0x63a,0x758)](),toolsSettingsSchema=z[_0xe18bb0(0x38b,0x24f,0x1f2,0x19c)]({'fileEdit':fileEditSettingsSchema[_0x47b891(0x6a4,0x4bd,0x531,0x488)]()})[_0xe18bb0(0x53,-0x115,-0x2db,-0x15d)](),cliConfigSchema=z[_0xe18bb0(0x59,0x24f,0xf4,0x10a)]({'activeProvider':providerNameSchema['optional'](),'activeModel':z[_0xe18bb0(0x7f,0x126,0x6c,-0xc8)]()[_0xe18bb0(-0x16f,0x2c,0x1d1,0x7b)](),'apiKey':z[_0x47b891(0x578,0x5b7,0x4f0,0x457)]()['optional'](),'providers':z[_0x47b891(0x486,0x5b3,0x51c,0x4a5)](providerNameSchema,providerConfigSchema)['optional'](),'mcp':mcpSettingsSchema[_0xe18bb0(0x0,0x2c,0x63,-0x42)](),'skills':skillsSettingsSchema[_0x47b891(0x43c,0x4bd,0x370,0x313)](),'agents':agentsSettingsSchema[_0xe18bb0(0x7f,0x2c,0x5c,-0x131)](),'commands':commandsSettingsSchema[_0xe18bb0(-0x14a,0x2c,0x1f5,-0x192)](),'skillsEnabled':z[_0x47b891(0x473,0x5b3,0x619,0x702)](z[_0xe18bb0(-0x3f,0x126,0xb,0x21b)](),z[_0x47b891(0x8c7,0x744,0x69c,0x622)]())['optional'](),'allowedDirs':z[_0x47b891(0x596,0x5c4,0x554,0x477)](z[_0xe18bb0(0x4c,0x126,0x112,0x26d)]())['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x47b891(0x62c,0x744,0x54a,0x5de)]())['optional'](),'commandsEnabled':z[_0x47b891(0x478,0x5b3,0x49d,0x6be)](z['string'](),z[_0xe18bb0(0xbc,0x2b3,0x173,0x3ad)]())['optional'](),'memory':memorySettingsSchema['optional'](),'session':z[_0x47b891(0x841,0x6e0,0x63e,0x719)]({'memPersist':z[_0xe18bb0(0xf7,0x2b3,0x145,0x2c5)]()[_0x47b891(0x34d,0x4bd,0x40c,0x594)](),'persistEventLog':z[_0xe18bb0(0x2c8,0x2b3,0x36a,0x27c)]()[_0x47b891(0x35c,0x4bd,0x560,0x6c6)](),'persistHttpLog':z[_0x47b891(0x7e9,0x744,0x703,0x58e)]()['optional']()})[_0xe18bb0(0x5a,-0x115,-0x163,-0x86)]()[_0x47b891(0x2c5,0x4bd,0x6af,0x475)](),'requireToolApproval':z[_0x47b891(0x79a,0x744,0x613,0x5b2)]()['optional'](),'thinking':z[_0xe18bb0(0x26a,0x24f,0x288,0x312)]({'selections':z[_0xe18bb0(0x50,0x122,0xe4,0x161)](z[_0x47b891(0x3ae,0x5b7,0x739,0x44e)](),z[_0x47b891(0x51a,0x5b7,0x65c,0x42c)]())[_0x47b891(0x5db,0x4bd,0x437,0x6a2)]()})['optional'](),'streamingChunks':z[_0xe18bb0(0xcf,0x2b3,0x315,0x253)]()['optional'](),'agentsEnabled':z[_0x47b891(0x6a6,0x5b3,0x3a9,0x40d)](z['string'](),z['boolean']())['optional'](),'recentModels':z[_0x47b891(0x3cf,0x5c4,0x5c8,0x710)](recentModelSchema)[_0xe18bb0(0x30,0x2c,0x1b9,0x2c)](),'lsp':lspConfigSchema[_0xe18bb0(0xb8,0x2c,0x100,0x8f)](),'servers':z[_0x47b891(0x41a,0x5b3,0x540,0x57d)](z[_0xe18bb0(0x2c0,0x126,-0xd7,0x132)](),serverEndpointSchema)[_0x47b891(0x381,0x4bd,0x41c,0x618)](),'ui':z[_0xe18bb0(0x1d6,0x24f,0x2cc,0x273)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0xe18bb0(-0x12e,0x2c,-0x1aa,0x6d)]()})[_0xe18bb0(0x76,-0x115,-0x290,-0x7d)]()[_0xe18bb0(0xeb,0x2c,0x1d6,-0x49)](),'tools':toolsSettingsSchema[_0x47b891(0x464,0x4bd,0x34c,0x5cc)](),'hooks':hooksConfigSchema['optional'](),'bashPolicy':z[_0x47b891(0x5e0,0x602,0x6e7,0x7f7)]()[_0x47b891(0x440,0x4bd,0x3b7,0x513)]()})[_0x47b891(0x356,0x37c,0x4bc,0x23d)](),workspaceOverlaySchema=z[_0x47b891(0x789,0x6e0,0x742,0x7fd)]({'root':z[_0x47b891(0x3bc,0x5b7,0x3d8,0x706)]()[_0x47b891(0x345,0x4bd,0x414,0x6b8)](),'allowedDirs':z[_0x47b891(0x757,0x5c4,0x4a6,0x6df)](z[_0x47b891(0x6fe,0x5b7,0x47d,0x471)]())[_0xe18bb0(-0x2a,0x2c,0x146,0x1f9)](),'activeProvider':providerNameSchema[_0xe18bb0(0x76,0x2c,-0x7c,-0x47)](),'activeModel':z[_0x47b891(0x67a,0x5b7,0x58b,0x700)]()['optional'](),'mcp':mcpSettingsSchema[_0xe18bb0(-0x177,0x2c,-0x154,-0x142)](),'skills':skillsSettingsSchema[_0x47b891(0x5ef,0x4bd,0x39d,0x560)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema[_0xe18bb0(0xb7,0x2c,-0x18a,0x57)](),'hooks':hooksConfigSchema[_0x47b891(0x5cd,0x4bd,0x2e8,0x328)](),'memory':memorySettingsSchema[_0x47b891(0x454,0x4bd,0x354,0x476)](),'mcpEnabled':prototypeSafeRecord(z[_0x47b891(0x8ba,0x744,0x6bd,0x60f)]())['optional'](),'skillsEnabled':z['record'](z[_0x47b891(0x5a7,0x5b7,0x41f,0x6e7)](),z['boolean']())[_0x47b891(0x2d8,0x4bd,0x2f1,0x3d7)](),'agentsEnabled':z[_0xe18bb0(0x16f,0x122,0x29b,0x141)](z['string'](),z[_0xe18bb0(0x132,0x2b3,0x169,0x126)]())[_0xe18bb0(-0x80,0x2c,0x1,-0x1bd)](),'commandsEnabled':z[_0xe18bb0(0x307,0x122,0x222,0x2a2)](z[_0x47b891(0x68b,0x5b7,0x421,0x61a)](),z[_0xe18bb0(0x2f0,0x2b3,0x3a4,0xf6)]())[_0xe18bb0(0x224,0x2c,-0xe1,0x23a)](),'bashPolicy':z[_0x47b891(0x539,0x602,0x6ad,0x559)]()[_0x47b891(0x544,0x4bd,0x382,0x68e)](),'tools':toolsSettingsSchema[_0xe18bb0(0x1a0,0x2c,0x6f,0x2)]()})[_0x47b891(0x460,0x37c,0x363,0x3fb)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0xe18bb0(0x16e,0x22f,0x119,0x1e8)](Object[_0x47b891(0x480,0x4b1,0x660,0x55a)]),'prototype']);function buildDescription2(_0x173fce){const _0x26053c={_0x54f128:0x67b,_0x17db48:0x473,_0x1b627a:0x3e8,_0x3beb97:0x42b,_0x1ac75d:0x526,_0x22b210:0x326,_0x6ba812:0x50d,_0x30af3e:0x698,_0x2d3f96:0x700,_0x242679:0x829,_0x3e50df:0x792,_0x22beda:0x4ec},_0x90e86f={_0x1f9e23:0x322,_0x5bf06f:0x68,_0x32ee4f:0x104},_0x194329={_0x20c076:0x4d,_0x498b4a:0x1a9};function _0x5ce74a(_0x451148,_0x2c0a4d,_0x1f1b2e,_0x3bba7f){return _0x47b891(_0x1f1b2e,_0x451148- -_0x194329._0x20c076,_0x1f1b2e-0x182,_0x3bba7f-_0x194329._0x498b4a);}function _0x2e8ad2(_0x53fe1e,_0x426f52,_0x24a4cf,_0x5d6509){return _0xe18bb0(_0x53fe1e,_0x426f52-_0x90e86f._0x1f9e23,_0x24a4cf-_0x90e86f._0x5bf06f,_0x5d6509-_0x90e86f._0x32ee4f);}if(_0x173fce[_0x2e8ad2(_0x26053c._0x54f128,0x4c9,0x5f5,_0x26053c._0x17db48)]===0x0)return['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.','Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x5ce74a(_0x26053c._0x1b627a,0x4a1,0x5a7,_0x26053c._0x3beb97)][_0x5ce74a(_0x26053c._0x1ac75d,_0x26053c._0x22b210,_0x26053c._0x6ba812,_0x26053c._0x30af3e)]('\x0a');const _0x4d6cdb=[_0x5ce74a(_0x26053c._0x2d3f96,0x604,_0x26053c._0x242679,0x6c7),_0x5ce74a(0x641,0x5c8,_0x26053c._0x3e50df,0x538),'Available\x20commands:',..._0x173fce['map'](_0x582de0=>_0x582de0['argumentHint']?'-\x20'+_0x582de0[_0x5ce74a(0x39a,0x3ce,0x4db,0x1fd)]+'\x20'+_0x582de0[_0x5ce74a(0x362,0x52c,0x1c9,0x37d)]+':\x20'+_0x582de0[_0x2e8ad2(0x6e,0x220,0x35a,0x10d)]:'-\x20'+_0x582de0[_0x2e8ad2(0x1e6,0x278,0x25e,0x22d)]+':\x20'+_0x582de0[_0x5ce74a(0x342,0x1bc,0x22d,0x3dd)])];return _0x4d6cdb[_0x2e8ad2(0x359,0x404,_0x26053c._0x22beda,0x461)]('\x0a');}function createInvokeCommandTool(_0x11c369){const _0x32a3f6={_0x5705aa:0x4d6,_0x46d959:0x1a6,_0x7ddb33:0x2e4,_0x4298f7:0x2c5,_0x9e0d43:0x233,_0x36067a:0x3cd,_0x47b5bc:0x1b1,_0x5c5498:0x99,_0x3d92dd:0x247},_0x1f4ccb={_0x578027:0x5b1,_0x3b8c3d:0x779,_0x535285:0x7ad,_0x155acf:0x445,_0x49bea8:0x3e1,_0x357e6d:0x5dd,_0xd891a:0x1d6,_0x3288e8:0x20a,_0x4811bd:0x3c5,_0x4cb2d5:0x587,_0xae5670:0x4a1,_0x4a31fe:0x90a,_0x456e9d:0x429,_0x1bc02d:0x371,_0x77111f:0x4a5,_0x218eb4:0x1ee,_0x334c3d:0x62c,_0x138a56:0x809,_0xe2e712:0x488,_0x1e42ca:0x65d,_0x12ce11:0x791},_0x3df120={_0x3db177:0x1d5,_0x38aed6:0x26d,_0x7b1b8a:0x142},_0x495f6c={_0x407575:0x1b7,_0x24fc51:0x40},_0x41bd63=new Map(_0x11c369[_0x445e98(_0x32a3f6._0x5705aa,0x319,0x136,0x24b)]['map'](_0x2094ad=>[_0x2094ad['id'],_0x2094ad])),_0x30e9c1=buildDescription2(_0x11c369['commands']);function _0x16e6a7(_0x386a85,_0x751f43,_0x2e90c0,_0x56f30e){return _0x47b891(_0x56f30e,_0x386a85- -0x598,_0x2e90c0-_0x495f6c._0x407575,_0x56f30e-_0x495f6c._0x24fc51);}function _0x445e98(_0x3048b2,_0x31e85d,_0x5ba109,_0x36ae8d){return _0xe18bb0(_0x36ae8d,_0x31e85d-0x1ae,_0x5ba109-0xae,_0x36ae8d-0x7c);}return defineTool({'name':'InvokeCommand','permissionClass':_0x16e6a7(_0x32a3f6._0x46d959,_0x32a3f6._0x7ddb33,_0x32a3f6._0x4298f7,0x122),'description':_0x30e9c1,'inputSchema':{'type':'object','properties':{'name':{'type':_0x16e6a7(0x1f,-0x10,0x123,0x1f6)},'args':{'type':_0x445e98(0x203,0x2d4,_0x32a3f6._0x9e0d43,_0x32a3f6._0x36067a)}},'required':[_0x16e6a7(-_0x32a3f6._0x47b5bc,-_0x32a3f6._0x5c5498,-_0x32a3f6._0x3d92dd,-0x246)]},async *'execute'(_0x335e01){const _0x4a24c5={_0x4eeefc:0x1a6},_0xeec61a=_0x41bd63[_0x44f470(_0x1f4ccb._0x578027,_0x1f4ccb._0x3b8c3d,0x756,_0x1f4ccb._0x535285)](_0x335e01[_0x338a2d(0x371,_0x1f4ccb._0x155acf,0x4b3,_0x1f4ccb._0x49bea8)]);if(!_0xeec61a){const _0x34268c=Array['from'](_0x41bd63[_0x338a2d(0x409,_0x1f4ccb._0x357e6d,0x4a7,0x2ee)]())['join'](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x335e01[_0x338a2d(0x371,_0x1f4ccb._0xd891a,_0x1f4ccb._0x3288e8,_0x1f4ccb._0x4811bd)]+_0x44f470(0x6fd,0x861,_0x1f4ccb._0x4cb2d5,0x628)+_0x34268c,{'name':_0x335e01['name']});}function _0x44f470(_0x53cf03,_0x31f718,_0x4251d2,_0x266eb9){return _0x445e98(_0x53cf03-_0x4a24c5._0x4eeefc,_0x53cf03-0x367,_0x4251d2-0x51,_0x4251d2);}function _0x338a2d(_0x573d94,_0x300f52,_0x5f4684,_0x54faf5){return _0x445e98(_0x573d94-_0x3df120._0x3db177,_0x573d94-_0x3df120._0x38aed6,_0x5f4684-_0x3df120._0x7b1b8a,_0x300f52);}const _0x2b841c=await _0x11c369[_0x338a2d(0x5a2,0x515,_0x1f4ccb._0xae5670,0x4ad)](_0xeec61a),_0xead733=_0x335e01[_0x44f470(0x7b6,0x97d,0x8b6,_0x1f4ccb._0x4a31fe)]??'',_0x3eda29=renderCommandInstructions({'instructions':_0x2b841c['instructions'],'argumentsText':_0xead733,'argumentNames':_0x2b841c[_0x338a2d(0x3c1,0x330,_0x1f4ccb._0x456e9d,0x365)]});return yield createToolOutput(_0x3eda29,{'id':_0x2b841c['id'],'name':_0x2b841c[_0x338a2d(_0x1f4ccb._0x1bc02d,_0x1f4ccb._0x77111f,_0x1f4ccb._0x218eb4,0x3b5)],'path':_0xeec61a[_0x338a2d(_0x1f4ccb._0x334c3d,0x533,0x71d,_0x1f4ccb._0x138a56)][_0x44f470(0x68c,_0x1f4ccb._0xe2e712,_0x1f4ccb._0x1e42ca,_0x1f4ccb._0x12ce11)]}),void 0x0;}});}function createKillShellTool(_0x77b2d3){const _0x391fdc={_0x26d385:0x1e8,_0x4f2eed:0x124,_0x176cc6:0x26b,_0x59e6ed:0x3cf,_0x2e3ba5:0x79d,_0x3abf6d:0x906,_0x123e2c:0x8e7,_0x3d5d85:0x72b,_0x50c0f0:0x64c,_0x1d5212:0x182,_0x573ac8:0x1de,_0xf0dc61:0x46},_0x77398f={_0x58a679:0x316,_0x9b6bb7:0x12b,_0x322a39:0x326,_0x38305a:0xc2,_0x318de7:0x14d,_0x1a14bf:0x132,_0x4a5b53:0x699,_0x285a70:0x7ad,_0x1df371:0x84b,_0x5ecc98:0x24f,_0xa04ddf:0x34f,_0x56f64f:0x291,_0x1deb40:0xb,_0xc29c63:0x54,_0x1b7d88:0x153,_0x3d1c76:0x128,_0x333ddb:0x108,_0x4a1c23:0xbe,_0x14d7d5:0x6e2,_0x519d8a:0x6d4,_0x2ab2b0:0x867,_0x40a3d0:0x64f,_0x1f8617:0x5ee,_0x47661c:0x2d,_0x14fd88:0x137,_0x3758c3:0x7b7,_0x360772:0x8ab,_0xfdb9e6:0x317,_0x5c33ca:0x221,_0x41afdc:0x353,_0x41bd35:0x297,_0x216c23:0x7,_0x5dde75:0x784,_0x3de181:0x8e4,_0x2fe64e:0x448,_0x5808ec:0x5ee},_0x3276a1={_0x4d4e34:0xb1,_0x2a9c3f:0x3b3},_0x1b6e64={_0x2dfe63:0x4ba,_0x4ee1a1:0x94},_0x597f29={_0x25c7c0:0x435,_0x1ae365:0x15d};function _0x54c972(_0x3ec69a,_0x1f4c5d,_0x5c7802,_0x1213a5){return _0x47b891(_0x1213a5,_0x5c7802- -_0x597f29._0x25c7c0,_0x5c7802-_0x597f29._0x1ae365,_0x1213a5-0x1eb);}const {registry:_0x5efedc}=_0x77b2d3;function _0x3ea1b7(_0x2608bf,_0x32aa3c,_0x1bb08d,_0x4c00b3){return _0xe18bb0(_0x32aa3c,_0x1bb08d-_0x1b6e64._0x2dfe63,_0x1bb08d-0xed,_0x4c00b3-_0x1b6e64._0x4ee1a1);}return defineTool({'name':_0x54c972(_0x391fdc._0x26d385,_0x391fdc._0x4f2eed,_0x391fdc._0x176cc6,_0x391fdc._0x59e6ed),'permissionClass':_0x3ea1b7(_0x391fdc._0x2e3ba5,_0x391fdc._0x3abf6d,0x767,_0x391fdc._0x123e2c),'description':_0x3ea1b7(0x684,_0x391fdc._0x3d5d85,_0x391fdc._0x50c0f0,0x5a8),'inputSchema':{'type':'object','properties':{'shellId':{'type':_0x54c972(0x214,0x78,_0x391fdc._0x1d5212,0x21e)}},'required':[_0x54c972(-0x10b,_0x391fdc._0x573ac8,0x17,_0x391fdc._0xf0dc61)]},async *'execute'(_0x2424a3){const _0x59ec96=await _0x5efedc[_0x346b7c(_0x77398f._0x58a679,_0x77398f._0x9b6bb7,_0x77398f._0x322a39,0x303)](_0x2424a3['shellId']),_0x3e0c99={'shellId':_0x59ec96[_0x346b7c(-0x99,_0x77398f._0x38305a,-_0x77398f._0x318de7,_0x77398f._0x1a14bf)],'outcome':_0x59ec96['outcome'],'status':_0x59ec96[_0x15f5fa(0x839,_0x77398f._0x4a5b53,_0x77398f._0x285a70,_0x77398f._0x1df371)],'exitCode':_0x59ec96[_0x346b7c(0x137,0x31a,_0x77398f._0x5ecc98,_0x77398f._0xa04ddf)],'signal':_0x59ec96[_0x346b7c(0x4a5,0x2b3,_0x77398f._0x56f64f,0x1c1)],'error':_0x59ec96[_0x346b7c(0x189,0x2d,-_0x77398f._0x1deb40,-_0x77398f._0xc29c63)],'gracefulRequested':_0x59ec96[_0x346b7c(_0x77398f._0x1b7d88,_0x77398f._0x3d1c76,_0x77398f._0x333ddb,-_0x77398f._0x4a1c23)],'forceRequested':_0x59ec96[_0x15f5fa(0x946,_0x77398f._0x14d7d5,_0x77398f._0x519d8a,0x808)]};if(_0x59ec96['outcome']===_0x15f5fa(0xa6d,_0x77398f._0x2ab2b0,0x76d,0x88b))throw new ToolExecutionError('Failed\x20to\x20terminate\x20'+_0x2424a3[_0x15f5fa(0x693,_0x77398f._0x40a3d0,0x684,_0x77398f._0x1f8617)]+':\x20'+(_0x59ec96[_0x346b7c(0x46,_0x77398f._0x47661c,0x10,-_0x77398f._0x14fd88)]??_0x15f5fa(0x78b,_0x77398f._0x3758c3,0x9a0,_0x77398f._0x360772)),_0x3e0c99);function _0x15f5fa(_0x418daf,_0x3e8417,_0x33ec92,_0x58ad39){return _0x54c972(_0x418daf-0x1e1,_0x3e8417-0x8d,_0x58ad39-0x5d7,_0x33ec92);}const _0x1aec38=_0x59ec96[_0x346b7c(_0x77398f._0xfdb9e6,_0x77398f._0x5c33ca,0x412,0x223)]===_0x346b7c(0x433,_0x77398f._0x41afdc,0x3c0,_0x77398f._0x41bd35)?_0x346b7c(_0x77398f._0x216c23,0xf6,-0x105,0x11b)+_0x2424a3['shellId']+'\x20was\x20already\x20'+_0x59ec96[_0x15f5fa(0x6ca,_0x77398f._0x5dde75,_0x77398f._0x3de181,0x84b)]+'.':_0x346b7c(0x2b2,0x2ea,0x186,0x16e)+_0x2424a3[_0x15f5fa(0x45c,_0x77398f._0x2fe64e,0x602,_0x77398f._0x5808ec)]+'.';function _0x346b7c(_0x3ed9c6,_0x543bb4,_0x2b3a07,_0x545df3){return _0x3ea1b7(_0x3ed9c6-_0x3276a1._0x4d4e34,_0x3ed9c6,_0x543bb4- -_0x3276a1._0x2a9c3f,_0x545df3-0x5e);}return createToolOutput(_0x1aec38,_0x3e0c99);}});}import _0x8bf7ba from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x2e3de2=>{const _0x54f46f={_0x326f9f:0x39a,_0x2b4b74:0x1e1,_0x2be25f:0x423},{lookup:_0x3a4681}=await import(_0x2dfb4f(_0x54f46f._0x326f9f,0x4c1,_0x54f46f._0x2b4b74,_0x54f46f._0x2be25f));function _0x2dfb4f(_0x416027,_0x3a9156,_0x474ec0,_0x5a0513){return _0xe18bb0(_0x474ec0,_0x416027-0x499,_0x474ec0-0x9c,_0x5a0513-0x195);}return _0x3a4681(_0x2e3de2,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x5ad06b){const _0x272bf6={_0x35baba:0x5ee,_0x7c7f4:0x70d,_0x2a544a:0x850,_0x1de325:0x7d9},_0x8fc1e4={_0x3628ed:0x509,_0x5e4b43:0x1d};function _0x44c3d3(_0x20df83,_0x1f5648,_0x1a1757,_0x125af0){return _0x47b891(_0x125af0,_0x1f5648- -_0x8fc1e4._0x3628ed,_0x1a1757-_0x8fc1e4._0x5e4b43,_0x125af0-0x37);}const _0x33f3f7=_0x5ad06b['split']('.');function _0x404ffa(_0x2ec3e7,_0x3a9383,_0x422a06,_0x3f2b96){return _0x47b891(_0x3f2b96,_0x422a06-0x17f,_0x422a06-0x176,_0x3f2b96-0x53);}if(_0x33f3f7[_0x404ffa(0x8d9,0x931,0x7b7,_0x272bf6._0x35baba)]!==0x4)return null;let _0x5bf5a3=0x0;for(const _0x4240ac of _0x33f3f7){if(!/^\d{1,3}$/[_0x404ffa(0x72c,_0x272bf6._0x7c7f4,_0x272bf6._0x2a544a,_0x272bf6._0x1de325)](_0x4240ac))return null;const _0x490080=Number(_0x4240ac);if(_0x490080>0xff)return null;_0x5bf5a3=_0x5bf5a3*0x100+_0x490080;}return _0x5bf5a3>>>0x0;}function isBlockedIpv4(_0x1460f2){const _0x131c05={_0x2d9c74:0x3fd,_0x39d339:0x419,_0x4c0a24:0x5f8,_0x4a0ea7:0x3c9,_0x287188:0x3d7,_0x307b8e:0x532,_0x26579c:0x59e,_0x446345:0x7a7,_0x32b93c:0x5df,_0x3ee71f:0x762,_0x528da0:0x741,_0x1a50ee:0x4b6,_0x156534:0x5df,_0x4133b8:0x3ec,_0x2a87b1:0xa66,_0x50adf5:0x75c,_0x3e291a:0x618},_0x1b631d={_0x239ef3:0x1dd},_0x29adf3={_0x5ba6fd:0xb};function _0x2fbfd5(_0x2865d9,_0x258208,_0x35edb0,_0x256158){return _0xe18bb0(_0x35edb0,_0x256158-0x645,_0x35edb0-0xa5,_0x256158-_0x29adf3._0x5ba6fd);}const _0x48b216=ipv4ToInt(_0x1460f2);function _0x1956e2(_0x4ae403,_0x215f24,_0x22641e,_0xb3ef19){return _0x47b891(_0x22641e,_0x4ae403- -0x32,_0x22641e-_0x1b631d._0x239ef3,_0xb3ef19-0x4);}if(_0x48b216===null)return!![];const _0x4356c3=(_0x458fe0,_0x501f7a)=>{const _0x56d50b=ipv4ToInt(_0x458fe0);if(_0x56d50b===null)return![];const _0x1a0b98=_0x501f7a===0x0?0x0:0xffffffff<<0x20-_0x501f7a>>>0x0;return(_0x48b216&_0x1a0b98)===(_0x56d50b&_0x1a0b98);};return _0x4356c3('0.0.0.0',0x8)||_0x4356c3(_0x1956e2(_0x131c05._0x2d9c74,_0x131c05._0x39d339,_0x131c05._0x4c0a24,0x4b5),0x8)||_0x4356c3(_0x1956e2(_0x131c05._0x4a0ea7,_0x131c05._0x287188,_0x131c05._0x307b8e,_0x131c05._0x26579c),0xa)||_0x4356c3('127.0.0.0',0x8)||_0x4356c3(_0x1956e2(0x605,0x770,_0x131c05._0x446345,0x440),0x10)||_0x4356c3(_0x1956e2(_0x131c05._0x32b93c,_0x131c05._0x3ee71f,_0x131c05._0x528da0,_0x131c05._0x1a50ee),0xc)||_0x4356c3(_0x1956e2(0x5ef,0x501,_0x131c05._0x156534,_0x131c05._0x4133b8),0x18)||_0x4356c3(_0x1956e2(0x65a,0x4bc,0x861,0x6ca),0x10)||_0x4356c3('198.18.0.0',0xf)||_0x4356c3(_0x2fbfd5(_0x131c05._0x2a87b1,0xabc,0x880,0x8b9),0x4)||_0x4356c3(_0x1956e2(0x756,_0x131c05._0x50adf5,_0x131c05._0x3e291a,0x949),0x4);}function expandIpv6(_0x47307b){const _0x32d4cc={_0x10418e:0x3fe,_0x52e2fc:0xa8,_0x14422f:0x1a8,_0x516ddb:0xe5,_0x132a57:0x20a,_0x1d8cd9:0x4e4,_0x38c2f3:0x3ea,_0x505c44:0x230,_0x33bbe8:0x202,_0x3bcd05:0x3bf,_0x3e0f7b:0x255,_0x33bd19:0x48,_0x5a5dfa:0x123,_0xdbeb81:0x5d6,_0x1ad471:0x3dc,_0x2fb847:0x54d},_0x1ad5b5={_0x508d15:0x1c1,_0x877ec9:0x5f},_0x3b3075={_0x424354:0x121};let _0x1b1c32=_0x47307b;function _0x1dfad5(_0x36b256,_0x1c764a,_0x3a77ac,_0x729802){return _0xe18bb0(_0x36b256,_0x1c764a-0x305,_0x3a77ac-0x12e,_0x729802-_0x3b3075._0x424354);}let _0x4e867a;const _0x21c5b8=_0x1b1c32['lastIndexOf'](':');_0x1b1c32[_0x1dfad5(0x19b,0x215,0x222,_0x32d4cc._0x10418e)](_0x21c5b8+0x1)['includes']('.')&&(_0x4e867a=_0x1b1c32['slice'](_0x21c5b8+0x1),_0x1b1c32=_0x1b1c32['slice'](0x0,_0x21c5b8+0x1));const _0x3954e5=_0x1b1c32[_0x9decc7(0x4,-_0x32d4cc._0x52e2fc,-0xed,-0x2bb)]('::');if(_0x3954e5[_0x9decc7(_0x32d4cc._0x14422f,_0x32d4cc._0x516ddb,0x123,_0x32d4cc._0x132a57)]>0x2)return null;const _0x464e57=_0x4f80e9=>_0x4f80e9['split'](':')[_0x1dfad5(0x500,0x55e,0x691,0x460)](_0x55860f=>_0x55860f['length']>0x0)[_0x1dfad5(0x536,0x475,0x41d,0x27a)](_0x2f0159=>Number[_0x9decc7(-0x2da,0xd,-0xf1,-0x256)](_0x2f0159,0x10)),_0x3ff591=_0x3954e5[0x0]?_0x464e57(_0x3954e5[0x0]):[],_0x25f621=_0x3954e5[_0x1dfad5(_0x32d4cc._0x1d8cd9,0x4ac,0x4f3,0x5cc)]===0x2&&_0x3954e5[0x1]?_0x464e57(_0x3954e5[0x1]):[];function _0x9decc7(_0x25f7da,_0x2af853,_0x4b4be8,_0x4efe66){return _0x47b891(_0x2af853,_0x4b4be8- -0x515,_0x4b4be8-_0x1ad5b5._0x508d15,_0x4efe66-_0x1ad5b5._0x877ec9);}const _0x52d660=[];if(_0x4e867a){const _0x1734ec=ipv4ToInt(_0x4e867a);if(_0x1734ec===null)return null;_0x52d660[_0x1dfad5(_0x32d4cc._0x38c2f3,_0x32d4cc._0x505c44,_0x32d4cc._0x33bbe8,_0x32d4cc._0x3bcd05)](_0x1734ec>>>0x10&0xffff,_0x1734ec&0xffff);}const _0x14bfab=[..._0x25f621,..._0x52d660],_0x4898c2=0x8-_0x3ff591['length']-_0x14bfab['length'];if(_0x3954e5[_0x9decc7(0x11e,_0x32d4cc._0x3e0f7b,0x123,-0xb4)]===0x1)return _0x3ff591[_0x9decc7(0xe4,0x301,0x123,-0xd0)]+_0x14bfab[_0x9decc7(-0x48,-_0x32d4cc._0x33bd19,_0x32d4cc._0x5a5dfa,0xb)]===0x8?[..._0x3ff591,..._0x14bfab]:null;if(_0x4898c2<0x0)return null;return[..._0x3ff591,...new Array(_0x4898c2)[_0x1dfad5(_0x32d4cc._0xdbeb81,_0x32d4cc._0x1ad471,_0x32d4cc._0x2fb847,0x5d6)](0x0),..._0x14bfab];}function isBlockedIpv6(_0x2344b7){const _0x10debe={_0x903df2:0xcf,_0x547c80:0x5f3,_0x17076b:0x96,_0x11c3c9:0x2a1},_0x11eb47={_0x10572b:0x1b5,_0x401d0a:0xb1},_0x20e8a2={_0x12b813:0x1a6},_0x4e8590=expandIpv6(_0x2344b7);if(!_0x4e8590||_0x4e8590[_0x18a38e(0x6c8,0x4c9,0x686,0x2bb)](_0x3250da=>Number[_0x18a38e(0x1f8,0x1ee,0x38d,0x207)](_0x3250da)))return!![];const _0x1226b5=_0x4e8590['slice'](0x0,0x7)['every'](_0x2dfe45=>_0x2dfe45===0x0);if(_0x1226b5&&(_0x4e8590[0x7]===0x0||_0x4e8590[0x7]===0x1))return!![];if(_0x4e8590[_0x325263(-0x114,-0x88,_0x10debe._0x903df2,0x1f3)](0x0,0x5)[_0x18a38e(0x72b,0x5ca,0x69d,_0x10debe._0x547c80)](_0x41cb28=>_0x41cb28===0x0)&&(_0x4e8590[0x5]===0xffff||_0x4e8590[0x5]===0x0)){const _0x4bf6c9=(_0x4e8590[0x6]<<0x10|_0x4e8590[0x7])>>>0x0,_0x1b3f3e=[_0x4bf6c9>>>0x18&0xff,_0x4bf6c9>>>0x10&0xff,_0x4bf6c9>>>0x8&0xff,_0x4bf6c9&0xff][_0x325263(_0x10debe._0x17076b,0x4a1,_0x10debe._0x11c3c9,0xe7)]('.');return isBlockedIpv4(_0x1b3f3e);}const _0x10a04c=_0x4e8590[0x0];if((_0x10a04c&0xff00)===0xfc00||(_0x10a04c&0xfe00)===0xfc00)return!![];if((_0x10a04c&0xffc0)===0xfe80)return!![];function _0x325263(_0x228b44,_0x3396b0,_0x5e037f,_0x4aeb28){return _0x47b891(_0x3396b0,_0x5e037f- -0x2d2,_0x5e037f-0x59,_0x4aeb28-_0x20e8a2._0x12b813);}function _0x18a38e(_0xbbfea4,_0x2a4397,_0x519c7c,_0x54548b){return _0x47b891(_0x54548b,_0x2a4397- -_0x11eb47._0x10572b,_0x519c7c-0x116,_0x54548b-_0x11eb47._0x401d0a);}if((_0x10a04c&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x1f12ba){const _0x2888de=isIP(_0x1f12ba);if(_0x2888de===0x4)return isBlockedIpv4(_0x1f12ba);if(_0x2888de===0x6)return isBlockedIpv6(_0x1f12ba);return!![];}async function assertPublicUrl(_0x24c0b1,_0x447764={}){const _0x5604dd={_0x3af50a:0x60e,_0x28bc88:0x6af,_0x3a887a:0x7f5,_0x53b93e:0x562,_0x3acce8:0x501,_0x1ff81a:0x5ab,_0x4e3f37:0x5b5,_0x3dafed:0x4c9,_0x1f7316:0x5fc,_0x5f4b84:0x2fd,_0x4d6f4c:0x8b,_0x371608:0x2d2,_0x2de194:0x2a1,_0x20f228:0x13f,_0x46e194:0x326,_0x34d232:0x196,_0x504d3c:0x87,_0x35cc52:0x332,_0x31657f:0x1ce,_0x3364df:0x133,_0x3061c6:0x12b,_0x3ef55b:0x396,_0x5ad767:0x1c9,_0xbdec24:0x3d8,_0x1c1e27:0x4d7,_0x351e8c:0x11b,_0x4e6383:0x63,_0x2ec2cc:0x85,_0x55ea32:0x7,_0x514beb:0x163,_0x2f0f1e:0x174,_0x69ed37:0x20a,_0x588624:0xb5,_0x5be566:0x117,_0x248d31:0x665,_0x2f462e:0x700},_0x1b2287={_0x551eae:0x521,_0x19d269:0x176},_0x2d7fe1={_0x7e84d7:0x78};let _0x5c90f2;try{_0x5c90f2=new URL(_0x24c0b1);}catch{throw new ToolExecutionError(_0x51d6e2(0x551,0x66a,_0x5604dd._0x3af50a,_0x5604dd._0x28bc88),{'url':_0x24c0b1});}if(_0x5c90f2['protocol']!==_0x51d6e2(0x5e9,0x6d6,0x891,_0x5604dd._0x3a887a)&&_0x5c90f2['protocol']!==_0x51d6e2(_0x5604dd._0x53b93e,_0x5604dd._0x3acce8,_0x5604dd._0x1ff81a,_0x5604dd._0x4e3f37))throw new ToolExecutionError(_0x51d6e2(_0x5604dd._0x3dafed,0x683,0x733,_0x5604dd._0x1f7316),{'url':_0x24c0b1});if(_0x5c90f2[_0x51d6e2(0x2bf,0x42d,0x540,_0x5604dd._0x5f4b84)]||_0x5c90f2['password'])throw new ToolExecutionError(_0x438e76(-_0x5604dd._0x4d6f4c,-_0x5604dd._0x371608,-0x103,-_0x5604dd._0x2de194),{'url':_0x5c90f2[_0x438e76(-_0x5604dd._0x20f228,-_0x5604dd._0x46e194,-_0x5604dd._0x34d232,0x5a)]+'//'+_0x5c90f2[_0x438e76(-0x1b8,-_0x5604dd._0x504d3c,-0xd1,-0x26b)]+_0x5c90f2[_0x438e76(_0x5604dd._0x35cc52,-0x1a,_0x5604dd._0x31657f,0x109)]});const _0xc8beb9=_0x5c90f2['hostname'][_0x438e76(_0x5604dd._0x3364df,_0x5604dd._0x3061c6,0x233,_0x5604dd._0x3ef55b)](/^\[|\]$/g,''),_0x4ede19=_0x5c90f2[_0x51d6e2(0x498,0x313,0x3e6,0x2e1)]+'//'+_0x5c90f2[_0x51d6e2(_0x5604dd._0x5ad767,_0x5604dd._0xbdec24,0x434,_0x5604dd._0x1c1e27)]+_0x5c90f2[_0x51d6e2(0x47f,0x677,0x797,0x5f5)];function _0x51d6e2(_0x4fcba8,_0x5eed4a,_0x557a48,_0x494721){return _0x47b891(_0x4fcba8,_0x5eed4a- -_0x2d7fe1._0x7e84d7,_0x557a48-0x135,_0x494721-0x149);}if(isIP(_0xc8beb9)){if(isBlockedAddress(_0xc8beb9))throw new ToolExecutionError(_0x438e76(_0x5604dd._0x351e8c,_0x5604dd._0x4e6383,_0x5604dd._0x2ec2cc,-_0x5604dd._0x55ea32),{'url':_0x4ede19});return _0x5c90f2;}const _0xdc3875=_0x447764[_0x438e76(_0x5604dd._0x514beb,-_0x5604dd._0x2f0f1e,0x14,_0x5604dd._0x69ed37)]??defaultLookup;let _0x3bacf2;try{_0x3bacf2=await _0xdc3875(_0xc8beb9);}catch{throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x4ede19});}function _0x438e76(_0x22a374,_0x272031,_0xd5132,_0x2bdd04){return _0x47b891(_0x2bdd04,_0xd5132- -_0x1b2287._0x551eae,_0xd5132-0xfa,_0x2bdd04-_0x1b2287._0x19d269);}if(_0x3bacf2[_0x438e76(_0x5604dd._0x588624,0x6f,_0x5604dd._0x5be566,0x297)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x4ede19});for(const {address:_0x4cf1ee}of _0x3bacf2){if(isBlockedAddress(_0x4cf1ee))throw new ToolExecutionError(_0x51d6e2(_0x5604dd._0x248d31,0x503,0x502,_0x5604dd._0x2f462e),{'url':_0x4ede19});}return _0x5c90f2;}async function safeFetch(_0x4f06b7,_0x4e575e={},_0x383055={}){const _0x408470={_0x2c5f86:0x798,_0x53cb8f:0xa45,_0x4712bb:0x5e4,_0x35982f:0x6f1,_0x1cbbdb:0x68e,_0xa7f571:0xa27,_0x52d519:0x9fd,_0x3b980b:0x883,_0xeba0b0:0x7be,_0x5710f7:0x819,_0x2fd8ae:0x447,_0x1ea02d:0x43b,_0x27d5c6:0x7a7,_0x3d6f47:0x769,_0x591b39:0x88a,_0x8ff000:0x7af},_0x226406={_0x120251:0x592,_0x4313db:0x53},_0x5d1ec2={_0x52ea47:0x616,_0xdb82cb:0x53};function _0x14a421(_0x3cc36a,_0x20d3a9,_0x47e757,_0xad13f3){return _0xe18bb0(_0x20d3a9,_0xad13f3-_0x5d1ec2._0x52ea47,_0x47e757-_0x5d1ec2._0xdb82cb,_0xad13f3-0xd);}function _0x455658(_0x25eac1,_0x4fb609,_0x488d40,_0x5b5cf2){return _0xe18bb0(_0x488d40,_0x4fb609-_0x226406._0x120251,_0x488d40-_0x226406._0x4313db,_0x5b5cf2-0xe9);}const _0x2d2645=_0x383055[_0x14a421(0x8ca,0x60b,0x8f5,_0x408470._0x2c5f86)]??fetch,_0x2bd8ef=_0x383055['maxRedirects']??DEFAULT_MAX_REDIRECTS;let _0x5447a8=_0x4f06b7;for(let _0x2a7744=0x0;;_0x2a7744+=0x1){const _0x2734a0=await assertPublicUrl(_0x5447a8,_0x383055),_0x2b446f=await _0x2d2645(_0x2734a0[_0x14a421(0x996,0xa9f,_0x408470._0x53cb8f,0x90e)](),{..._0x4e575e,'redirect':_0x455658(0x67d,0x5ba,0x55c,_0x408470._0x4712bb)}),_0xd506c8=_0x2b446f[_0x455658(0x688,0x7b7,_0x408470._0x35982f,_0x408470._0x1cbbdb)]['get'](_0x455658(_0x408470._0x1cbbdb,0x710,0x639,0x90a));if(!REDIRECT_STATUSES[_0x14a421(0x9a5,_0x408470._0xa7f571,_0x408470._0x52d519,_0x408470._0x3b980b)](_0x2b446f[_0x455658(_0x408470._0xeba0b0,0x7aa,_0x408470._0x5710f7,0x90b)])||!_0xd506c8)return _0x2b446f;if(_0x2a7744>=_0x2bd8ef)throw new ToolExecutionError(_0x455658(_0x408470._0x2fd8ae,0x576,_0x408470._0x1ea02d,0x6cf),{'url':_0x2734a0[_0x455658(_0x408470._0x27d5c6,0x88a,0x760,_0x408470._0x3d6f47)]()});_0x5447a8=new URL(_0xd506c8,_0x2734a0)[_0x455658(0x8de,_0x408470._0x591b39,0x7cf,_0x408470._0x8ff000)]();}}var USER_AGENT=_0x47b891(0x4a3,0x53d,0x58d,0x475),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x313e62,_0x300f47){const _0x425af7={_0x4cbd7b:0x404,_0x1d243e:0x2da,_0x4729bc:0x253,_0x4deead:0x361,_0x5cbd9a:0x264,_0x4f5748:0x2c8,_0x37c9ac:0x273},_0x1b16a8={_0x1051c2:0x24d,_0xe783ab:0x1f7},_0x4c9ec4={_0x10f224:0x84},_0x1515ef={_0x4b7186:0x8c},_0x38818e=new AbortController();function _0x25bc41(_0x483685,_0x2a9604,_0x469066,_0x5c96a2){return _0x47b891(_0x483685,_0x469066-0xb0,_0x469066-0x128,_0x5c96a2-_0x1515ef._0x4b7186);}const _0x40448e=setTimeout(()=>_0x38818e[_0x25bc41(0x7e3,0x6a1,0x786,0x95f)](new Error(_0x2c3f40(0x76,0x6b,0x7c,0x90))),_0x300f47);function _0x2c3f40(_0x2f236f,_0x584fb5,_0x192a83,_0xeef481){return _0x47b891(_0x2f236f,_0x192a83- -0x375,_0x192a83-0x112,_0xeef481-_0x4c9ec4._0x10f224);}const _0x3d99ad=()=>_0x38818e[_0x2c3f40(0x44a,0x3e9,0x361,0x48a)](_0x313e62[_0x2c3f40(0x586,0x236,0x424,0x4eb)]);return _0x313e62[_0x2c3f40(0x40e,0x276,_0x425af7._0x4cbd7b,0x24a)]?_0x38818e[_0x2c3f40(_0x425af7._0x1d243e,_0x425af7._0x4729bc,_0x425af7._0x4deead,0x4df)](_0x313e62['reason']):_0x313e62['addEventListener']('abort',_0x3d99ad,{'once':!![]}),{'signal':_0x38818e[_0x2c3f40(0x28e,_0x425af7._0x5cbd9a,_0x425af7._0x4f5748,_0x425af7._0x37c9ac)],'cleanup':()=>{const _0x3eb385={_0x3f7c19:0x539,_0x4e53a4:0x17};clearTimeout(_0x40448e);function _0x778261(_0x2eb2cc,_0x416231,_0x227545,_0x376804){return _0x25bc41(_0x227545,_0x416231-0x5e,_0x416231- -_0x3eb385._0x3f7c19,_0x376804-_0x3eb385._0x4e53a4);}_0x313e62['removeEventListener'](_0x778261(0x35a,_0x1b16a8._0x1051c2,0x42,_0x1b16a8._0xe783ab),_0x3d99ad);}};}function createWebFetchTool(_0x2e60a0={}){const _0x4939a2={_0x17e3ce:0x56d,_0x2f69ba:0x382,_0x5e1f71:0x351,_0x97a06:0x495,_0x5cf004:0x102,_0xcbcc90:0x198,_0x58f859:0xbc,_0x18a1a1:0x55e,_0x10e386:0x4bf,_0x284b29:0x235,_0x917235:0x8b,_0x45d704:0xa5,_0x4aa308:0xfa,_0x34b700:0x379,_0x24e66b:0x1cc,_0x31d20f:0x18b,_0xf22ec3:0x10a,_0x52f0d2:0x136,_0x4dd494:0x1,_0x382390:0x8d,_0x292042:0x2a5,_0x463565:0x256,_0x399ecf:0x81,_0x25b983:0xb5,_0x6ec3f9:0x279,_0x299461:0x1a5,_0x508c80:0x286,_0x1baa73:0x265,_0x38f2b8:0x191,_0x56611e:0x162,_0x3b0e63:0x3d1,_0x351f1c:0x407,_0x1ba4a9:0x5f7},_0x37d865={_0x5607f1:0x4f5,_0x371a1c:0x49e,_0xf0f4fb:0x2d8,_0x1c8d87:0x5ee,_0x3a8cd7:0x502,_0x38de3c:0x5e4,_0x1474f6:0x57e,_0x11b3b9:0x422,_0x33c549:0x4cf,_0x239965:0x533,_0xf4fa94:0x4da,_0x569d64:0x650,_0x2ee8a5:0x439,_0x507502:0x3b7,_0x46a63b:0x75b,_0x26f9ce:0x370,_0x43d467:0x41c,_0x1540b5:0x551,_0x5758ae:0x760,_0xbaa9f4:0x6d7,_0x5e4a08:0x555,_0x1b90f2:0x48f,_0x9fb86d:0x60f,_0x209236:0x680,_0x4cddf7:0x4b9,_0x5adaed:0x699,_0x3e6408:0x4cc,_0xb9e0f9:0x5c4,_0x4ea7ef:0x59d,_0x535a5b:0x5db,_0x1fa00e:0x33b,_0x307018:0x4c2},_0x110cc7={_0x4fa1da:0x60},_0x3370d5={_0xcf6973:0x17,_0x151d49:0xbb,_0x5e97b2:0xd5},_0x16332a=_0x2e60a0['name']??_0x4c40de(_0x4939a2._0x17e3ce,_0x4939a2._0x2f69ba,_0x4939a2._0x5e1f71,0x3c3),_0x2102d5=_0x2e60a0[_0x4c40de(_0x4939a2._0x97a06,0x2f4,_0x4939a2._0x5cf004,0x4c6)]??DEFAULT_TIMEOUT_MS2,_0x36cbb8=_0x2e60a0[_0x4c40de(_0x4939a2._0xcbcc90,0x291,_0x4939a2._0x58f859,0xa8)],_0x414165=new _0x8bf7ba({'headingStyle':_0x4c40de(_0x4939a2._0x18a1a1,0x3b2,0x2f2,_0x4939a2._0x10e386),'codeBlockStyle':'fenced','bulletListMarker':'-'});function _0x58a905(_0x2655b5,_0x42803a,_0x408c67,_0x58a4eb){return _0xe18bb0(_0x42803a,_0x408c67-_0x3370d5._0xcf6973,_0x408c67-_0x3370d5._0x151d49,_0x58a4eb-_0x3370d5._0x5e97b2);}_0x414165['remove']([_0x4c40de(_0x4939a2._0x284b29,0x225,_0x4939a2._0x917235,_0x4939a2._0x45d704),'style',_0x58a905(_0x4939a2._0x4aa308,_0x4939a2._0x34b700,_0x4939a2._0x24e66b,_0x4939a2._0x31d20f),_0x58a905(_0x4939a2._0xf22ec3,-_0x4939a2._0x52f0d2,_0x4939a2._0x4dd494,-_0x4939a2._0x382390),'nav','footer',_0x4c40de(_0x4939a2._0x292042,0x338,_0x4939a2._0x463565,0x1c3),_0x58a905(0x1a9,0x142,_0x4939a2._0x399ecf,0x223)]);function _0x4c40de(_0x32bab7,_0xb80b96,_0x40c0fb,_0x88b0f3){return _0x47b891(_0x32bab7,_0xb80b96- -0x2a4,_0x40c0fb-_0x110cc7._0x4fa1da,_0x88b0f3-0x160);}return defineTool({'name':_0x16332a,'permissionClass':_0x58a905(0x9e,_0x4939a2._0x25b983,0x26e,_0x4939a2._0x6ec3f9),'description':_0x4c40de(0x218,_0x4939a2._0x299461,_0x4939a2._0x508c80,_0x4939a2._0x1baa73),'inputSchema':{'type':'object','properties':{'description':{'type':_0x4c40de(0x43d,0x313,0x21d,0x308)},'url':{'type':_0x4c40de(0x1f0,0x313,_0x4939a2._0x38f2b8,_0x4939a2._0x56611e)}},'required':[_0x4c40de(_0x4939a2._0x3b0e63,_0x4939a2._0x351f1c,_0x4939a2._0x1ba4a9,0x59c)]},async *'execute'(_0x209f48,_0x34a309){const _0x372330={_0x5d69f1:0x15a},_0x2f3256={_0x65eea:0x123,_0x385444:0x304,_0x478b95:0xbe},_0x1ffae5=(await assertPublicUrl(_0x209f48['url'],{'lookup':_0x36cbb8}))[_0x3a31c5(_0x37d865._0x5607f1,_0x37d865._0x371a1c,0x7d9,0x613)]();function _0x3a31c5(_0x5dc075,_0x519903,_0x451585,_0x25ab93){return _0x58a905(_0x5dc075-_0x2f3256._0x65eea,_0x5dc075,_0x25ab93-_0x2f3256._0x385444,_0x25ab93-_0x2f3256._0x478b95);}if(_0x34a309[_0x3a31c5(0x2e2,_0x37d865._0xf0f4fb,_0x37d865._0x1c8d87,0x4c7)]['aborted'])throw new ToolExecutionError('Fetch\x20aborted\x20by\x20user',{'url':_0x1ffae5});const _0x23a6e7=createTimeoutSignal(_0x34a309[_0x451e96(_0x37d865._0x3a8cd7,_0x37d865._0x38de3c,0x5d1,_0x37d865._0x1474f6)],_0x2102d5);function _0x451e96(_0x578803,_0x4814a2,_0x1cd950,_0x5f3c51){return _0x4c40de(_0x1cd950,_0x4814a2-0x24b,_0x1cd950-0x33,_0x5f3c51-_0x372330._0x5d69f1);}let _0x28d71b='',_0x3d024a=0x0,_0x21db32;try{const _0x4c6ce3=await safeFetch(_0x1ffae5,{'headers':{'User-Agent':USER_AGENT},'signal':_0x23a6e7[_0x451e96(0x4a3,0x5e4,_0x37d865._0x11b3b9,0x3e6)]},{'lookup':_0x36cbb8});if(!_0x4c6ce3['ok'])throw new ToolExecutionError(_0x3a31c5(0x551,_0x37d865._0x33c549,0x771,0x5bd)+_0x4c6ce3[_0x3a31c5(0x453,0x4fa,0x694,_0x37d865._0x239965)]+'\x20'+_0x4c6ce3[_0x3a31c5(_0x37d865._0xf4fa94,0x4d5,0x3d1,0x2fe)],{'url':_0x1ffae5,'statusCode':_0x4c6ce3[_0x451e96(0x71c,_0x37d865._0x569d64,0x6de,0x61e)]});_0x28d71b=_0x4c6ce3[_0x451e96(0x842,0x65d,0x5c9,0x6a4)][_0x3a31c5(_0x37d865._0x2ee8a5,0x2dd,0x245,_0x37d865._0x507502)]('content-type')??'',_0x3d024a=_0x4c6ce3['status'],_0x21db32=await _0x4c6ce3['text']();}catch(_0x5ecf5f){if(_0x5ecf5f instanceof ToolExecutionError)throw _0x5ecf5f;const _0x55a648=_0x5ecf5f instanceof Error?_0x5ecf5f[_0x3a31c5(_0x37d865._0x46a63b,_0x37d865._0x26f9ce,_0x37d865._0x43d467,0x570)]:String(_0x5ecf5f);throw new ToolExecutionError(_0x55a648,{'url':_0x1ffae5});}finally{_0x23a6e7['cleanup']();}const _0x2262d3=new Date()['toISOString']();let _0x43242d,_0xdaef60;if(_0x28d71b['includes'](_0x3a31c5(0x41d,_0x37d865._0x1540b5,0x403,0x5cb)))_0x43242d=_0x451e96(_0x37d865._0x5758ae,_0x37d865._0xbaa9f4,0x567,0x615)+_0x21db32+_0x3a31c5(_0x37d865._0x5e4a08,0x597,_0x37d865._0x1b90f2,0x3a1),_0xdaef60=_0x451e96(_0x37d865._0x9fb86d,_0x37d865._0x209236,_0x37d865._0x4cddf7,_0x37d865._0x5adaed);else _0x28d71b[_0x451e96(_0x37d865._0x3e6408,0x534,_0x37d865._0xb9e0f9,_0x37d865._0x4ea7ef)]('text/html')?(_0x43242d=_0x414165[_0x451e96(_0x37d865._0x535a5b,0x3d0,_0x37d865._0x1fa00e,0x3bc)](_0x21db32),_0xdaef60='markdown'):(_0x43242d=_0x21db32,_0xdaef60=_0x451e96(0x6b6,0x5f8,0x771,0x576));return yield createToolOutput(_0x43242d,{'url':_0x1ffae5,'contentType':_0x28d71b,'statusCode':_0x3d024a,'format':_0xdaef60,'size':_0x21db32[_0x3a31c5(0x2f4,0x3f0,0x527,_0x37d865._0x307018)],'fetchedAt':_0x2262d3}),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(_0x526fb5){const _0x369661={_0x27bc40:0xb,_0x12083e:0x60,_0x22f3af:0xcd,_0x1bed4a:0xbc,_0x1afdfd:0x25c,_0x3425bb:0x21b,_0x3f9fb6:0x151,_0x393a67:0x1f0,_0x5d07be:0x205,_0x82e074:0x23a,_0x47e53f:0xbb,_0x2a36d4:0x74,_0x4499ea:0x26a,_0x401878:0x439,_0x1e5882:0x2fd,_0x3b27d0:0x726,_0x4bbdd4:0x663,_0x4d1267:0x6a1},_0x42f7e8={_0x4deb03:0x36b},_0x47305b={_0x25852b:0x4f,_0xb42c48:0x49,_0x385dc7:0x1b6};function _0x2105cc(_0x235632,_0x48a5dd,_0x2f350a,_0x4deeb6){return _0xe18bb0(_0x4deeb6,_0x2f350a-_0x47305b._0x25852b,_0x2f350a-_0x47305b._0xb42c48,_0x4deeb6-_0x47305b._0x385dc7);}function _0x48daaa(_0x4df6ce,_0x7ca479,_0x51b453,_0x1103ac){return _0xe18bb0(_0x51b453,_0x7ca479-_0x42f7e8._0x4deb03,_0x51b453-0xb,_0x1103ac-0x197);}try{const _0x280e00=new URL(_0x526fb5);for(const _0x5d306b of[_0x2105cc(0xaa,_0x369661._0x27bc40,0xe4,0x17c),_0x2105cc(_0x369661._0x12083e,0x1,_0x369661._0x22f3af,-0x87),_0x2105cc(_0x369661._0x1bed4a,0x134,_0x369661._0x1afdfd,0x279),'utm_term',_0x2105cc(_0x369661._0x3425bb,_0x369661._0x3f9fb6,_0x369661._0x393a67,_0x369661._0x5d07be),'gclid','fbclid',_0x2105cc(_0x369661._0x82e074,_0x369661._0x47e53f,_0x369661._0x2a36d4,0x39),'mc_eid']){_0x280e00[_0x48daaa(_0x369661._0x4499ea,_0x369661._0x401878,0x259,_0x369661._0x1e5882)]['delete'](_0x5d306b);}return _0x280e00[_0x48daaa(_0x369661._0x3b27d0,_0x369661._0x4bbdd4,0x7a9,_0x369661._0x4d1267)]();}catch{return _0x526fb5;}}function cseDateRestrict(_0x2d252a){const _0x3566e7={_0x41486b:0x478},_0x4a1697={_0x382658:0x15c,_0x27e352:0x1a3};if(_0x2d252a<=0x0)return void 0x0;function _0x295ae3(_0x4a6d83,_0x533802,_0x389967,_0x53518b){return _0xe18bb0(_0x533802,_0x4a6d83-0x3b5,_0x389967-_0x4a1697._0x382658,_0x53518b-_0x4a1697._0x27e352);}if(_0x2d252a<=0x1e)return'd'+Math['max'](0x1,Math[_0x295ae3(_0x3566e7._0x41486b,0x5bb,0x5c9,0x62f)](_0x2d252a));if(_0x2d252a<=0x16d)return'm'+Math['ceil'](_0x2d252a/0x1e);return'y'+Math['ceil'](_0x2d252a/0x16d);}function addSiteFilters(_0xad70fd,_0x404ef0){const _0x1a97d8={_0x4ec259:0x38e,_0x1846cd:0x6f5,_0x121149:0x49d,_0x247176:0x3d1,_0x209157:0x35a,_0x1bd909:0x370,_0x280cbb:0x2fd,_0x32775a:0x468,_0x49c1ed:0x28e,_0x215f2d:0x63b,_0x572ab7:0x69d,_0x3b2dae:0x508,_0x123c2f:0x38b,_0x4b91b7:0x50f,_0x1a89fa:0x3f1,_0x196ac7:0x617},_0x2d0a9c={_0x18cacb:0x12b},_0x3f3dab={_0x22af1b:0x441,_0x475018:0x1b5};function _0xf6c3f1(_0xf0da1c,_0x5dfe98,_0x30a1c5,_0x5cdbb5){return _0xe18bb0(_0x30a1c5,_0x5cdbb5-_0x3f3dab._0x22af1b,_0x30a1c5-0x1e2,_0x5cdbb5-_0x3f3dab._0x475018);}if(_0x404ef0['length']===0x0)return _0xad70fd[_0x437dbd(_0x1a97d8._0x4ec259,0x50f,_0x1a97d8._0x1846cd,_0x1a97d8._0x121149)]();function _0x437dbd(_0x5a3190,_0x2a1252,_0x564a43,_0x197558){return _0xe18bb0(_0x564a43,_0x2a1252-0x21b,_0x564a43-_0x2d0a9c._0x18cacb,_0x197558-0x191);}return(_0xad70fd+'\x20('+_0x404ef0[_0x437dbd(_0x1a97d8._0x247176,0x38b,_0x1a97d8._0x209157,0x3ce)](_0xa12c3b=>'site:'+_0xa12c3b)[_0x437dbd(_0x1a97d8._0x1bd909,_0x1a97d8._0x280cbb,_0x1a97d8._0x32775a,_0x1a97d8._0x49c1ed)](_0xf6c3f1(0x570,_0x1a97d8._0x215f2d,_0x1a97d8._0x572ab7,_0x1a97d8._0x3b2dae))+')')[_0x437dbd(_0x1a97d8._0x123c2f,_0x1a97d8._0x4b91b7,_0x1a97d8._0x1a89fa,_0x1a97d8._0x196ac7)]();}function normalizeType(_0x191479){const _0x47c387={_0x2b0c3b:0x2b7,_0x10bc8a:0xd8,_0x4ca947:0x5e4,_0x3f0d7e:0x7d9,_0x2ac32f:0x448},_0x24eb8b={_0xa1fdd9:0xdc,_0x557fe0:0x167,_0x53a0d5:0x10a},_0x5344a5={_0x44dd45:0x68a};function _0x46cecf(_0x7d4c54,_0x3d4867,_0x3f28ee,_0x453b86){return _0xe18bb0(_0x453b86,_0x3d4867-_0x5344a5._0x44dd45,_0x3f28ee-0x73,_0x453b86-0x19a);}function _0xd9dd8f(_0x13633a,_0x642697,_0x25587a,_0x4d1fe2){return _0xe18bb0(_0x4d1fe2,_0x25587a-_0x24eb8b._0xa1fdd9,_0x25587a-_0x24eb8b._0x557fe0,_0x4d1fe2-_0x24eb8b._0x53a0d5);}return _0x191479===_0xd9dd8f(_0x47c387._0x2b0c3b,0x188,0x22b,_0x47c387._0x10bc8a)?_0x46cecf(_0x47c387._0x4ca947,_0x47c387._0x3f0d7e,0x908,0x639):_0xd9dd8f(0x1f3,0x1f2,0x394,_0x47c387._0x2ac32f);}async function fetchJson(_0x59ed20,_0x3bb289,_0x1bd739){const _0x421b32={_0x465df6:0x9bb,_0x81e89e:0x96b,_0x3ef853:0x678,_0x407b94:0x7bd,_0x57219b:0x731,_0x5b342b:0x944,_0x392c53:0xa2b,_0x5bccbb:0x7c1,_0x7948be:0x6c3,_0x32f0a8:0x687,_0x101115:0x7c0,_0x9e53ea:0x7ac,_0x172fd4:0x802,_0x4a940f:0x64c,_0x353db0:0x3cb,_0x362733:0x3df,_0x7d134b:0x764,_0x3b1593:0x7c6,_0x48ab1e:0x494,_0x33917f:0x390,_0x42bf39:0x540,_0x3d0a86:0x6f3,_0xa771ef:0x700,_0x3bb47f:0x869,_0x4a462c:0x824,_0x14cb59:0x7c6,_0x47ef98:0x4ab,_0x5d321f:0x682,_0x9e1889:0x991,_0x56aa8e:0x6ee,_0x5e89ec:0x813,_0x428d52:0x609,_0x36adcf:0x44d,_0x29130e:0x4f1,_0x25cb7e:0x682,_0x4e2a9a:0x5c8,_0x8e22ca:0x6b2},_0x3aa4a5={_0x257679:0xe0,_0x8419e0:0xb1},_0x3ed6a2={_0x451cc0:0xe7},_0x5cd205=await fetch(_0x59ed20,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x4c77c7(0x8a5,_0x421b32._0x465df6,0x821,_0x421b32._0x81e89e),..._0x1bd739?.[_0x4c77c7(0x710,0x648,0x796,_0x421b32._0x3ef853)]},'signal':_0x3bb289,..._0x1bd739});function _0x309135(_0x2894c4,_0x2e936e,_0x28a195,_0x1e3f29){return _0xe18bb0(_0x2e936e,_0x1e3f29-0x46a,_0x28a195-0x5c,_0x1e3f29-_0x3ed6a2._0x451cc0);}function _0x4c77c7(_0x5d2809,_0x5a6165,_0x1bacc4,_0x2dee0e){return _0x47b891(_0x5a6165,_0x1bacc4-_0x3aa4a5._0x257679,_0x1bacc4-_0x3aa4a5._0x8419e0,_0x2dee0e-0x123);}if(!_0x5cd205['ok']){let _0x231b1d,_0x529996;try{_0x231b1d=await _0x5cd205[_0x4c77c7(_0x421b32._0x407b94,0x584,_0x421b32._0x57219b,0x674)]();const _0x271756=JSON[_0x4c77c7(0x7c7,_0x421b32._0x5b342b,0x81c,_0x421b32._0x392c53)](_0x231b1d),_0x4fdb15=typeof _0x271756[_0x309135(_0x421b32._0x5bccbb,0x566,0x616,0x6eb)]===_0x4c77c7(_0x421b32._0x7948be,_0x421b32._0x32f0a8,_0x421b32._0x101115,_0x421b32._0x9e53ea)?_0x271756[_0x309135(_0x421b32._0x172fd4,0x7dd,_0x421b32._0x4a940f,0x6eb)]['error']:void 0x0;_0x529996=_0x271756[_0x4c77c7(_0x421b32._0x353db0,0x3cc,0x497,_0x421b32._0x362733)]?.[_0x4c77c7(0x8b0,_0x421b32._0x7d134b,_0x421b32._0x3b1593,0x68d)]??_0x271756[_0x309135(0x25e,_0x421b32._0x48ab1e,0x2d5,_0x421b32._0x33917f)]?.[_0x309135(_0x421b32._0x42bf39,_0x421b32._0x3d0a86,0x652,_0x421b32._0xa771ef)]?.[0x0]?.[_0x4c77c7(_0x421b32._0x3bb47f,_0x421b32._0x4a462c,_0x421b32._0x14cb59,0x88d)]??_0x4fdb15;}catch{}const _0x2f8daf=_0x529996?'HTTP\x20'+_0x5cd205[_0x309135(0x5cb,0x49f,_0x421b32._0x47ef98,_0x421b32._0x5d321f)]+':\x20'+_0x529996:_0x4c77c7(_0x421b32._0x9e1889,_0x421b32._0x56aa8e,_0x421b32._0x5e89ec,_0x421b32._0x428d52)+_0x5cd205['status']+'\x20'+_0x5cd205[_0x309135(0x478,0x59e,0x365,_0x421b32._0x36adcf)];throw new ToolExecutionError(_0x2f8daf,{'statusCode':_0x5cd205[_0x309135(0x81e,_0x421b32._0x29130e,0x76b,_0x421b32._0x25cb7e)],..._0x231b1d?{'body':_0x231b1d}:{}});}return await _0x5cd205[_0x309135(0x729,_0x421b32._0x4e2a9a,0x4d2,_0x421b32._0x8e22ca)]();}async function hydrateResults(_0x2fd7a7,_0x6ac2ab,_0x14102d,_0x3bb81b){const _0xd3ba4d={_0x290d43:0x3cc,_0x4e9047:0x2d8,_0x1db487:0x376,_0x481f0c:0x566,_0x515c58:0x38b,_0x194c5e:0x245,_0x41accd:0x274},_0x3679b2={_0x2f821e:0x58a,_0x3a7951:0x503,_0x2f1611:0x87b,_0x21cded:0x6cb,_0x3cd410:0x64e,_0x562246:0x4a9,_0x2d7cc4:0x53c,_0x2fdb6d:0x48d,_0x44b42d:0x5ee,_0x30a937:0x287,_0xc7aa8f:0x1cc,_0xf657d:0x118,_0x502653:0x6f5,_0x73ff89:0x59b,_0x1efb4d:0x3cc,_0x21a625:0x371,_0x43acb4:0x5c1,_0x42fd80:0x675,_0x2c5ddf:0x4c7,_0x424716:0x3ca,_0x547fa0:0x6f3,_0x53e778:0x639,_0x1a238b:0x7de,_0x445fb2:0x369,_0x43ace2:0x892,_0x3b5114:0x78b,_0x40808b:0x6c9,_0x2d8952:0x458,_0x127873:0x656,_0x3be328:0x7bf,_0x22a231:0x5b7,_0x536d6b:0x50f,_0x512235:0x5b1,_0xe7b742:0x5ca,_0x499c41:0x3e0,_0x31f98c:0x5e8,_0x3b7fd1:0x8a8,_0x1860a8:0x78e,_0x35b9a9:0xb2d,_0x2162a8:0x82a,_0x598444:0x986,_0x47e5be:0x7d6,_0x203e34:0x41b},_0x3fb8c5={_0x1f19a3:0x18b},_0x39cd61={_0x2bdf57:0x96,_0x443ca3:0x21},_0x1c53d7={_0x46b280:0x38d,_0x44d5e7:0x13c,_0x23ed1e:0xec},_0x36aa97={_0x523d35:0x73};function _0x6f0f80(_0x4a3b56,_0x4c0d51,_0x45bbb1,_0x13cfb3){return _0xe18bb0(_0x45bbb1,_0x4c0d51-0x237,_0x45bbb1-_0x36aa97._0x523d35,_0x13cfb3-0x13a);}function _0xa0d6dc(_0x5bf4ce,_0x57669f,_0x20fd01,_0x2472d4){return _0x47b891(_0x20fd01,_0x57669f- -_0x1c53d7._0x46b280,_0x20fd01-_0x1c53d7._0x44d5e7,_0x2472d4-_0x1c53d7._0x23ed1e);}const _0x5c7b71=await Promise[_0xa0d6dc(_0xd3ba4d._0x290d43,_0xd3ba4d._0x4e9047,0x1d3,0x11d)](_0x2fd7a7['slice'](0x0,0xa)[_0x6f0f80(_0xd3ba4d._0x1db487,0x3a7,_0xd3ba4d._0x481f0c,_0xd3ba4d._0x515c58)](async _0x1d5016=>{function _0xc94ae7(_0x22c7ec,_0x46e698,_0x4e0cd7,_0x2228f6){return _0x6f0f80(_0x22c7ec-0xf5,_0x4e0cd7-_0x39cd61._0x2bdf57,_0x22c7ec,_0x2228f6-_0x39cd61._0x443ca3);}function _0x260047(_0x1121c0,_0x5aa253,_0x452134,_0x4f1325){return _0xa0d6dc(_0x1121c0-_0x3fb8c5._0x1f19a3,_0x452134-0x58a,_0x1121c0,_0x4f1325-0xa);}try{const _0x5af231=await safeFetch(_0x1d5016[_0xc94ae7(0x30f,_0x3679b2._0x2f821e,0x4e7,_0x3679b2._0x3a7951)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x6ac2ab,'Accept':_0x260047(0x639,_0x3679b2._0x2f1611,_0x3679b2._0x21cded,_0x3679b2._0x3cd410)},'signal':_0x14102d},{'lookup':_0x3bb81b});if(!_0x5af231['ok'])return _0x1d5016;const _0x245f1a=await _0x5af231[_0xc94ae7(_0x3679b2._0x562246,_0x3679b2._0x2d7cc4,_0x3679b2._0x2fdb6d,_0x3679b2._0x44b42d)](),_0x5a5398=load(_0x245f1a),_0x4663e0=_0x5a5398(_0xc94ae7(0x438,_0x3679b2._0x30a937,0x234,0x21d))[_0xc94ae7(0x47,0x292,_0x3679b2._0xc7aa8f,_0x3679b2._0xf657d)]('content')||_0x5a5398(_0x260047(_0x3679b2._0x502653,0x71a,0x658,_0x3679b2._0x73ff89))['first']()[_0xc94ae7(0x285,_0x3679b2._0x1efb4d,0x48d,_0x3679b2._0x21a625)]()[_0xc94ae7(0x4e0,0x41f,_0x3679b2._0x43acb4,_0x3679b2._0x42fd80)](),_0x37b6e3=_0x5a5398(_0xc94ae7(0x353,0x3b9,_0x3679b2._0x2c5ddf,0x5da))[_0x260047(0x68a,0x545,0x58d,0x793)](_0xc94ae7(0x467,0x268,_0x3679b2._0x424716,0x562))||_0x5a5398(_0x260047(0x682,_0x3679b2._0x547fa0,_0x3679b2._0x53e778,_0x3679b2._0x1a238b))[_0xc94ae7(0x88,0x91,0x1cc,_0x3679b2._0x445fb2)](_0x260047(0x781,_0x3679b2._0x43ace2,_0x3679b2._0x3b5114,0x616))||_0x1d5016[_0x260047(0x460,0x53b,0x580,_0x3679b2._0x40808b)],_0x2b4f6a=_0x5a5398(_0x260047(_0x3679b2._0x2d8952,_0x3679b2._0x127873,0x5d8,_0x3679b2._0x3be328))['attr'](_0xc94ae7(_0x3679b2._0x22a231,0x332,_0x3679b2._0x424716,_0x3679b2._0x536d6b))||_0x5a5398(_0x260047(0x5a3,_0x3679b2._0x512235,0x681,_0x3679b2._0xe7b742))['attr'](_0xc94ae7(_0x3679b2._0x499c41,0x4b,0x23a,0x25f))||_0x1d5016['publishedAt'],_0x504048=_0x5a5398('link[rel=\x27canonical\x27]')['attr']('href');return{..._0x1d5016,'title':_0x4663e0||_0x1d5016[_0x260047(0x562,0x70d,0x658,_0x3679b2._0x31f98c)],'snippet':_0x37b6e3,'url':_0x504048?normalizeUrl(new URL(_0x504048,_0x1d5016[_0x260047(0x765,0x84c,_0x3679b2._0x3b7fd1,_0x3679b2._0x1860a8)])[_0x260047(_0x3679b2._0x35b9a9,_0x3679b2._0x2162a8,_0x3679b2._0x598444,_0x3679b2._0x47e5be)]()):_0x1d5016[_0xc94ae7(_0x3679b2._0x203e34,0x507,0x4e7,0x378)],'publishedAt':_0x2b4f6a};}catch{return _0x1d5016;}})),_0xff378d=new Map(_0x2fd7a7['slice'](0x0,0xa)[_0xa0d6dc(_0xd3ba4d._0x194c5e,_0xd3ba4d._0x41accd,0x2a6,0x126)]((_0x13b443,_0x56b93d)=>[_0x13b443[_0x6f0f80(0x37e,0x451,0x549,0x552)],_0x5c7b71[_0x56b93d]]));return _0x2fd7a7['map'](_0x1d57f3=>_0xff378d[_0x6f0f80(0x117,0x2d3,0x2c1,0x45c)](_0x1d57f3[_0x6f0f80(0x33c,0x451,0x4b8,0x5e7)])??_0x1d57f3);}function formatResults(_0x3a131d){const _0x1d4490={_0xb82bb2:0x896,_0x454b99:0x5e8,_0x3393ba:0x5a8,_0x1e0155:0x3b5,_0x3997f4:0x70c},_0x5761eb={_0x912781:0x650,_0x99a08a:0x670,_0x4810de:0x434,_0xc66c23:0x429,_0x116328:0x4b3,_0x1afc1d:0x5a3,_0x2ab26f:0x38a,_0x37652f:0x351,_0x465100:0x1f1,_0x2e3ec6:0x4a8,_0x30a04d:0x374,_0x3bdf1f:0xcf,_0x4f5bf6:0x169,_0x4e0faf:0x27b,_0x5e9fb2:0x473,_0x351a62:0x2b4,_0x1310f1:0x5c4,_0x4d0e9d:0x63d,_0x55bae9:0x475,_0x349c70:0x16d,_0x1a53a3:0x45a},_0x27d22b={_0x3ef9e2:0x161},_0x464f9a={_0xbd180b:0x10b,_0x32cb17:0x1b0};function _0x4da549(_0x401186,_0x21bcb9,_0x39a27c,_0xf51979){return _0x47b891(_0x21bcb9,_0x39a27c-_0x464f9a._0xbd180b,_0x39a27c-_0x464f9a._0x32cb17,_0xf51979-0x12b);}if(_0x3a131d[_0x4da549(_0x1d4490._0xb82bb2,0x6d0,0x743,_0x1d4490._0x454b99)]===0x0)return _0x9fe1da(_0x1d4490._0x3393ba,_0x1d4490._0x1e0155,0x4f4,0x327);function _0x9fe1da(_0xb642b,_0x2c96dd,_0x2c1d25,_0x4c1237){return _0x47b891(_0xb642b,_0x2c96dd- -0x345,_0x2c1d25-0x5d,_0x4c1237-_0x27d22b._0x3ef9e2);}return _0x3a131d[_0x4da549(0x56e,0x838,_0x1d4490._0x3997f4,0x65a)](_0x3a1347=>{const _0x6aa538={_0x1babcb:0x184,_0x57b14e:0x108},_0x2120dd=[_0x3a1347[_0x3f38f3(0x846,0x597,_0x5761eb._0x912781,_0x5761eb._0x99a08a)]['rank']+'.\x20'+_0x3a1347[_0x3f38f3(0x567,0x3ba,_0x5761eb._0x4810de,_0x5761eb._0xc66c23)],_0x3a1347[_0x53ccca(0x5ed,0x4d9,_0x5761eb._0x116328,_0x5761eb._0x1afc1d)]];function _0x3f38f3(_0x2c3540,_0x1deab7,_0x1c2f37,_0x2f2169){return _0x4da549(_0x2c3540-_0x6aa538._0x1babcb,_0x1deab7,_0x2f2169- -0x13d,_0x2f2169-_0x6aa538._0x57b14e);}if(_0x3a1347[_0x3f38f3(_0x5761eb._0x2ab26f,0x234,0x35e,_0x5761eb._0x37652f)])_0x2120dd[_0x3f38f3(_0x5761eb._0x465100,_0x5761eb._0x2e3ec6,0x3a9,_0x5761eb._0x2ab26f)](_0x3a1347[_0x53ccca(_0x5761eb._0x30a04d,_0x5761eb._0x3bdf1f,_0x5761eb._0x4f5bf6,_0x5761eb._0x4e0faf)]);if(_0x3a1347['publishedAt'])_0x2120dd[_0x53ccca(0x443,_0x5761eb._0x5e9fb2,0x107,_0x5761eb._0x351a62)](_0x53ccca(_0x5761eb._0x1310f1,_0x5761eb._0x4d0e9d,0x4f8,0x4cd)+_0x3a1347[_0x53ccca(0x3b7,_0x5761eb._0x55bae9,_0x5761eb._0x349c70,0x36f)]);function _0x53ccca(_0x169137,_0x1081ee,_0x2ba6b1,_0x251ed2){return _0x9fe1da(_0x2ba6b1,_0x251ed2-0x23d,_0x2ba6b1-0x12b,_0x251ed2-0x17);}return _0x2120dd[_0x3f38f3(0x3fd,_0x5761eb._0x1a53a3,0x3ea,0x541)]('\x0a');})[_0x4da549(0x5d6,0x80c,0x67e,0x575)]('\x0a\x0a');}async function searchOllama(_0x17f6fd,_0x3b398a,_0x660d30){const _0x48ce29={_0xb74a3b:0x2c3,_0x1a884c:0x27e,_0x526556:0x6ce,_0xb4f7b0:0x3dd,_0x41d581:0x230,_0x597fb8:0x63d,_0x589a61:0x36e,_0x4eeafd:0x7a7,_0x5d5edd:0x68f,_0x70bfe5:0x379,_0x525eb7:0x6e7,_0x15b5d1:0x4f2,_0x43f3e7:0x572,_0x5c1dfa:0x656,_0x502518:0x713,_0x42b6a1:0x841,_0x9520b4:0x26e,_0x437df3:0x3a1,_0x2b4692:0x2e6,_0x413581:0x57e,_0x4d932b:0x1e7},_0x241f6f={_0x587671:0x189},_0x13d755={_0x52e0dc:0x549,_0x57dc61:0x2aa,_0x44a901:0x194,_0x4207c3:0x1e9,_0x59263b:0x2b1,_0x6b001d:0x134,_0x54eb56:0x32d,_0x20b6f6:0x17,_0xb646cf:0xcf},_0x375ae7={_0x2fd5f8:0x170,_0x4960d5:0x16a},_0x3a2857={_0x2759e9:0xd5},_0x4cfd8c=Math[_0x34626f(0x41d,0x3f7,_0x48ce29._0xb74a3b,_0x48ce29._0x1a884c)](0x1,Math[_0x536d8b(0x5e0,0x620,_0x48ce29._0x526556,0x64c)](0xa,_0x3b398a[_0x34626f(0x4a4,0x44c,_0x48ce29._0xb4f7b0,_0x48ce29._0x41d581)])),_0x27e4f3=addSiteFilters(_0x3b398a[_0x34626f(0x81c,0x5a2,_0x48ce29._0x597fb8,0x597)],_0x3b398a[_0x536d8b(0x81a,0x66b,0x85d,0x498)]);function _0x536d8b(_0x56adaa,_0x11b63a,_0x399b0c,_0x4f7033){return _0xe18bb0(_0x399b0c,_0x11b63a-0x4e6,_0x399b0c-0x150,_0x4f7033-_0x3a2857._0x2759e9);}const _0x3209b5=await fetchJson(_0x34626f(0x4fc,0x532,0x427,_0x48ce29._0x589a61),_0x660d30,{'method':'POST','headers':{'Authorization':_0x536d8b(_0x48ce29._0x4eeafd,0x765,0x860,_0x48ce29._0x5d5edd)+_0x17f6fd['apiKey']},'body':JSON[_0x34626f(_0x48ce29._0x70bfe5,_0x48ce29._0x525eb7,_0x48ce29._0x15b5d1,0x65b)]({'query':_0x27e4f3,'max_results':_0x4cfd8c})}),_0x4fa8b1=_0x3209b5['results']??[],_0x3cd772=_0x4fa8b1[_0x536d8b(_0x48ce29._0x43f3e7,_0x48ce29._0x5c1dfa,_0x48ce29._0x502518,_0x48ce29._0x42b6a1)]((_0x3903b1,_0x18bdaa)=>{const _0x4dcc3e={_0x52230d:0x57,_0x1c3419:0x108},_0xeb4b89=_0x3903b1[_0x19f4ed(0x644,0x439,0x27f,_0x13d755._0x52e0dc)]||'';function _0xbc58da(_0x4ffb0b,_0x45ea7f,_0x1e6faa,_0x3a0196){return _0x536d8b(_0x4ffb0b-_0x375ae7._0x2fd5f8,_0x4ffb0b-0x43,_0x45ea7f,_0x3a0196-_0x375ae7._0x4960d5);}function _0x19f4ed(_0x5650ca,_0x4c14cb,_0x1a6340,_0x4d5cf9){return _0x34626f(_0x5650ca-_0x4dcc3e._0x52230d,_0x4c14cb-_0x4dcc3e._0x1c3419,_0x4c14cb- -0x1b7,_0x1a6340);}let _0x36fa07;try{_0x36fa07=new URL(_0xeb4b89)[_0x19f4ed(_0x13d755._0x57dc61,0x1de,-0x30,0x14d)];}catch{_0x36fa07=null;}return{'title':_0x3903b1[_0x19f4ed(_0x13d755._0x44a901,_0x13d755._0x4207c3,_0x13d755._0x59263b,_0x13d755._0x6b001d)]||_0x19f4ed(0x385,_0x13d755._0x54eb56,0x3bc,0x2f8),'url':normalizeUrl(_0xeb4b89),'snippet':_0x3903b1['content']??null,'displayUrl':_0x36fa07,'favicon':null,'publishedAt':null,'source':{'engine':_0x19f4ed(-_0x13d755._0x20b6f6,0x1cc,0x1a3,_0x13d755._0xb646cf),'rank':_0x18bdaa+0x1}};});function _0x34626f(_0x528c04,_0x3441ca,_0x29d20f,_0x45c969){return _0x47b891(_0x45c969,_0x29d20f- -0xbb,_0x29d20f-0xa5,_0x45c969-_0x241f6f._0x587671);}return{'items':_0x3cd772[_0x34626f(_0x48ce29._0x9520b4,_0x48ce29._0x437df3,_0x48ce29._0x2b4692,0x33b)](0x0,_0x4cfd8c),'engine':_0x34626f(_0x48ce29._0x413581,0x4c8,0x383,_0x48ce29._0x4d932b)};}async function searchTavily(_0x3e340c,_0x3bc4e2,_0x15c129){const _0x4eac76={_0x16ab5b:0x31c,_0x5267a8:0x3e9,_0x2edaf5:0x3ce,_0x2786ab:0x409,_0x7b6015:0x436,_0x1e5644:0x306,_0x4dc0e9:0x42e,_0x5baff3:0x4b7,_0x2960e9:0x531,_0x3ea180:0x400,_0x2df98b:0x201,_0x341b5f:0x24a,_0x4fda13:0x3e9,_0x7dc610:0x326,_0x26fa46:0x419,_0x8f4e60:0x314,_0x129f59:0x5d6,_0x249560:0x644,_0x4e7a16:0x5ea,_0x308129:0x495,_0x3ea513:0x6bb,_0x486a8a:0x4e6,_0x4101c6:0x6e6,_0x391218:0x44b,_0x11bc4b:0x262,_0x40cc24:0x37b,_0x3c4fda:0x6df,_0x26afc4:0x8a1,_0x23bacd:0x54b,_0x37c142:0x59b,_0x2d9aaf:0x76f,_0x2a7e6e:0x3b3,_0x4eba48:0x404,_0x4c0f4b:0x267},_0x4df9df={_0x1cd52f:0x940,_0x4a869a:0x8f0,_0x842f6f:0x762,_0xb38e10:0x76e,_0x9933c2:0x96,_0x37c801:0x204,_0x5840ed:0x1ea,_0x44d76b:0x139,_0x1aca65:0x337,_0x572eb3:0x384,_0x17f56a:0x485,_0x10224e:0x4ac},_0x598168={_0x5b73e4:0x125,_0xd1a240:0x167},_0x2b1213={_0x480b79:0x5a},_0x133f21={_0x481335:0x294,_0x258145:0x109,_0x349dd5:0xe3},_0x2aa447={_0x232825:0xc0};function _0x31f1ec(_0x229a3f,_0x190183,_0x5e717a,_0x152fc1){return _0x47b891(_0x5e717a,_0x229a3f- -0x62,_0x5e717a-0x42,_0x152fc1-_0x2aa447._0x232825);}function _0x31aebe(_0x752940,_0x1e85b3,_0x3cb609,_0x2eebe8){return _0xe18bb0(_0x1e85b3,_0x752940-_0x133f21._0x481335,_0x3cb609-_0x133f21._0x258145,_0x2eebe8-_0x133f21._0x349dd5);}const _0xb99189=Math[_0x31f1ec(_0x4eac76._0x16ab5b,0x34e,0x490,_0x4eac76._0x5267a8)](0x1,Math[_0x31aebe(_0x4eac76._0x2edaf5,0x54a,0x53f,_0x4eac76._0x2786ab)](0x14,_0x3bc4e2[_0x31f1ec(_0x4eac76._0x7b6015,_0x4eac76._0x1e5644,0x3c1,_0x4eac76._0x4dc0e9)])),_0x5e49c2={'query':_0x3bc4e2[_0x31f1ec(0x696,0x879,_0x4eac76._0x5baff3,0x4a1)],'max_results':_0xb99189,'search_depth':_0x3e340c[_0x31aebe(_0x4eac76._0x2960e9,0x3c6,_0x4eac76._0x3ea180,0x652)]??_0x31f1ec(0x34b,0x13d,_0x4eac76._0x2df98b,_0x4eac76._0x341b5f),'topic':_0x3e340c[_0x31aebe(_0x4eac76._0x4fda13,0x28e,0x581,_0x4eac76._0x7dc610)]??'general'};if(_0x3bc4e2[_0x31aebe(_0x4eac76._0x26fa46,_0x4eac76._0x8f4e60,0x41d,0x2ed)][_0x31f1ec(_0x4eac76._0x129f59,0x505,_0x4eac76._0x249560,_0x4eac76._0x4e7a16)]>0x0)_0x5e49c2['include_domains']=_0x3bc4e2[_0x31aebe(0x419,_0x4eac76._0x308129,0x269,0x3b3)];const _0x2e8837=await fetchJson(_0x31f1ec(_0x4eac76._0x3ea513,0x531,0x525,_0x4eac76._0x486a8a),_0x15c129,{'method':_0x31f1ec(0x4da,_0x4eac76._0x4101c6,0x3b9,0x575),'headers':{'Authorization':'Bearer\x20'+_0x3e340c[_0x31aebe(_0x4eac76._0x391218,_0x4eac76._0x11bc4b,0x284,_0x4eac76._0x40cc24)],'Content-Type':_0x31f1ec(_0x4eac76._0x3c4fda,_0x4eac76._0x26afc4,0x625,0x8bb)},'body':JSON[_0x31f1ec(_0x4eac76._0x23bacd,0x716,0x48a,0x40c)](_0x5e49c2)}),_0x480846=_0x2e8837[_0x31aebe(_0x4eac76._0x37c142,0x3ce,_0x4eac76._0x2d9aaf,_0x4eac76._0x2a7e6e)]??[],_0x58f699=_0x480846[_0x31aebe(_0x4eac76._0x4eba48,0x611,0x2cd,_0x4eac76._0x4c0f4b)]((_0x3991de,_0x4845dd)=>{const _0x43f8e5=_0x3991de[_0x5aea8f(_0x4df9df._0x1cd52f,_0x4df9df._0x4a869a,_0x4df9df._0x842f6f,_0x4df9df._0xb38e10)]||'';let _0x19f2a7;function _0x43b225(_0x5ad27f,_0x31a9b0,_0x35ee9f,_0x1da4b2){return _0x31aebe(_0x31a9b0- -_0x2b1213._0x480b79,_0x35ee9f,_0x35ee9f-0x1a0,_0x1da4b2-0x184);}try{_0x19f2a7=new URL(_0x43f8e5)[_0x43b225(0x1de,0x1f9,0xa7,_0x4df9df._0x9933c2)];}catch{_0x19f2a7=null;}function _0x5aea8f(_0x2c4194,_0x2bdbc9,_0x1fc830,_0x3f5131){return _0x31f1ec(_0x3f5131-_0x598168._0x5b73e4,_0x2bdbc9-0x60,_0x2bdbc9,_0x3f5131-_0x598168._0xd1a240);}return{'title':_0x3991de[_0x43b225(0x389,_0x4df9df._0x37c801,_0x4df9df._0x5840ed,0xbe)]||'Untitled','url':normalizeUrl(_0x43f8e5),'snippet':_0x3991de[_0x43b225(_0x4df9df._0x44d76b,_0x4df9df._0x1aca65,_0x4df9df._0x572eb3,_0x4df9df._0x17f56a)]??null,'displayUrl':_0x19f2a7,'favicon':null,'publishedAt':null,'source':{'engine':_0x5aea8f(0x45a,0x4a2,_0x4df9df._0x10224e,0x62a),'rank':_0x4845dd+0x1}};});return{'items':_0x58f699['slice'](0x0,_0xb99189),'engine':'tavily'};}async function searchGoogleCse(_0x4abd7e,_0xe6ab91,_0x1ec5f0){const _0x11a947={_0x256203:0x26,_0x3ceddc:0x229,_0x5ba1da:0x202,_0x17620d:0x25e,_0x698df3:0x11,_0x2c1c5a:0x2e1,_0x33d0b5:0x1af,_0xaa1f00:0x3c0,_0xb69310:0x2eb,_0x5d0350:0x158,_0x269cc8:0x194,_0x171bba:0x24e,_0x57630b:0x297,_0x3ec7ea:0x47d,_0x5a6bcf:0x1ed,_0x54f4eb:0x37e,_0x28dbae:0x54e,_0x393e8d:0x2d,_0x56cdd7:0x1de,_0x3345e4:0x1ba,_0x2b38ba:0x26b,_0x2cd24d:0x27f,_0x3929e0:0x44b,_0x3699bc:0xb3,_0x550c8:0x48e,_0x4a0083:0x2b1,_0x4418ba:0x2ec,_0x1a2941:0x32e,_0x5da0a3:0x303,_0x1ddaa6:0x120,_0x31c299:0x6,_0x1398e3:0x2bf,_0x3a0c48:0x193,_0x3a208d:0x242,_0x12d737:0xfb,_0x193dda:0x90,_0x4e253c:0x138,_0x438aa0:0x89,_0x315ad7:0x3bc,_0x51050f:0x496,_0x4a2e59:0x55e,_0x40f90d:0x320,_0x4c62ed:0x207,_0x37186e:0x230,_0x2e178c:0x30f,_0x4086a6:0x27f,_0x4f18cd:0x47c,_0x51d550:0x120,_0xd2fd61:0x293,_0x32907b:0x2fa,_0x4da7cc:0x2d7,_0x16aa6f:0x109,_0x37e7a6:0xa7,_0x4fe480:0x1b0,_0x1004f6:0x29a,_0x3aebe9:0x1e9,_0x3c0b76:0x87,_0x61af45:0x21d,_0x5a5024:0x21f,_0x7c4231:0x121,_0x5d26a6:0x15b,_0x39bdc8:0x1ac,_0x4940dc:0x34,_0x393857:0x267,_0x41624e:0x146,_0x4f06f3:0xb8,_0x3cbc69:0x209,_0x2a7a44:0x1fc,_0x54ce7d:0x100,_0x48a951:0x46e,_0x24b48d:0x2c1,_0x286223:0x449,_0x5d595e:0x402,_0x50f0df:0x485,_0x44f3ca:0x1e9,_0x23f9cc:0xf7,_0x3c54e1:0x2cf,_0x2581e5:0x1b3,_0xbbbda6:0x73,_0x2b7dfe:0x2f1,_0x3be083:0x4a4,_0x5a474b:0x69f,_0x3403d8:0x1fb,_0xcfcb52:0x273,_0x501d70:0x31b,_0x3a04e8:0x358,_0xe500b9:0x192,_0x16e462:0x497,_0x31fbf3:0x358,_0x23cc00:0x1ab,_0x1b60ef:0x2ca,_0xcca884:0x256,_0x29144f:0x17b,_0x1934e1:0x42,_0xd6200a:0x21a,_0x425826:0x3fa,_0x553f97:0x296,_0x795eda:0x6c,_0x433006:0xbb,_0x32a38e:0x278,_0x11379c:0x8b,_0x4c4a63:0x48c,_0x113670:0x255,_0x4b4d65:0x280,_0x4ecb80:0x49e,_0x16d3c2:0xa4,_0x3aacd4:0xa,_0x41643d:0x188,_0x5e0098:0x18d,_0x5981d6:0x2b8,_0x2c6976:0x275,_0x24e980:0x3bb,_0x347c61:0x3e8,_0x1627c5:0x400,_0x37c888:0x29a,_0x26a73e:0x358,_0x36a4de:0x27,_0x1ba370:0xc1,_0x2919de:0x114},_0x1efa43={_0x2db13d:0x2e0},_0x55af71={_0x23d480:0x1d8},_0x196443=Math[_0x5c96d7(0xb6,_0x11a947._0x256203,0x2c2,_0x11a947._0x3ceddc)](0x1,Math['min'](0x32,_0xe6ab91[_0x5c96d7(0x1d0,_0x11a947._0x5ba1da,_0x11a947._0x17620d,-_0x11a947._0x698df3)]));if(_0xe6ab91[_0x5735f0(-0x7b,0x196,-0x3f,-0x6b)]+_0x196443>0x64)throw new ToolExecutionError('Google\x20CSE\x20supports\x20at\x20most\x20the\x20first\x20100\x20results',{'offset':_0xe6ab91[_0x5c96d7(0x1ae,0x64,_0x11a947._0x2c1c5a,_0x11a947._0x33d0b5)],'count':_0x196443,'maxResults':0x64});const _0x4566ee=cseDateRestrict(_0xe6ab91['recencyDays']),_0x3c75ab=addSiteFilters(_0xe6ab91['query'],_0xe6ab91[_0x5735f0(_0x11a947._0xaa1f00,0x336,0x4f3,0x382)]);let _0x5accd0=0x0;function _0x5c96d7(_0x5c4ef3,_0x2540f9,_0x12ccdc,_0x5ae1f7){return _0xe18bb0(_0x5ae1f7,_0x5c4ef3-0x1c9,_0x12ccdc-0x180,_0x5ae1f7-_0x55af71._0x23d480);}let _0x885a45=_0xe6ab91['offset']+0x1;const _0x52733e=[];function _0x5735f0(_0x11bebd,_0xec31a0,_0x16ce29,_0x147070){return _0x47b891(_0x11bebd,_0xec31a0- -_0x1efa43._0x2db13d,_0x16ce29-0xc7,_0x147070-0xe);}while(_0x5accd0<_0x196443){const _0x450788=Math[_0x5735f0(0x12c,_0x11a947._0xb69310,0x378,0x3fa)](0xa,_0x196443-_0x5accd0),_0x1f442b=new URL(_0x5735f0(_0x11a947._0x5d0350,0x2ab,_0x11a947._0x269cc8,_0x11a947._0x171bba));_0x1f442b[_0x5c96d7(_0x11a947._0x57630b,_0x11a947._0x3ec7ea,0x235,0x417)][_0x5c96d7(0x138,0x2b,0xe8,_0x11a947._0x5a6bcf)](_0x5c96d7(0x473,0x2bc,_0x11a947._0x54f4eb,_0x11a947._0x28dbae),_0x4abd7e[_0x5735f0(_0x11a947._0x393e8d,_0x11a947._0x56cdd7,_0x11a947._0x3345e4,0x11)]),_0x1f442b[_0x5735f0(_0x11a947._0x2b38ba,_0x11a947._0x2cd24d,_0x11a947._0x3929e0,0x179)][_0x5735f0(_0x11a947._0x3699bc,0x120,0x9c,0x24)]('cx',_0x4abd7e[_0x5735f0(-0x96,0xe1,-0xdd,0x1ed)]),_0x1f442b[_0x5c96d7(_0x11a947._0x57630b,_0x11a947._0x550c8,_0x11a947._0x4a0083,_0x11a947._0x4418ba)][_0x5735f0(_0x11a947._0x1a2941,0x120,0x3f,_0x11a947._0x5da0a3)]('q',_0x3c75ab),_0x1f442b[_0x5735f0(0xe7,0x27f,0x36e,0x427)][_0x5735f0(0x17a,_0x11a947._0x1ddaa6,0xa4,_0x11a947._0x31c299)]('num',String(_0x450788)),_0x1f442b['searchParams'][_0x5735f0(_0x11a947._0x1398e3,0x120,_0x11a947._0x3a0c48,_0x11a947._0x3a208d)](_0x5c96d7(_0x11a947._0x12d737,0x267,0x216,_0x11a947._0x193dda),String(_0x885a45)),_0x1f442b['searchParams'][_0x5c96d7(_0x11a947._0x4e253c,0x2cf,-_0x11a947._0x438aa0,0x5f)](_0x5c96d7(_0x11a947._0x315ad7,0x235,_0x11a947._0x51050f,_0x11a947._0x4a2e59),_0xe6ab91[_0x5735f0(0x2ae,0x3a4,0x319,0x292)]?_0x5735f0(_0x11a947._0x40f90d,0x1e2,_0x11a947._0x4c62ed,_0x11a947._0x37186e):'off');_0xe6ab91[_0x5735f0(_0x11a947._0x2e178c,0x109,-0x61,-0x3f)]&&(_0x1f442b[_0x5735f0(0x3a8,_0x11a947._0x4086a6,0x1e8,_0x11a947._0x4f18cd)][_0x5735f0(0x63,_0x11a947._0x51d550,_0x11a947._0xd2fd61,_0x11a947._0x32907b)]('hl',_0xe6ab91[_0x5735f0(_0x11a947._0x4da7cc,_0x11a947._0x16aa6f,-_0x11a947._0x37e7a6,_0x11a947._0x4fe480)]),_0x1f442b[_0x5735f0(0xba,_0x11a947._0x4086a6,0x1e6,_0x11a947._0x1004f6)][_0x5c96d7(_0x11a947._0x4e253c,_0x11a947._0x3aebe9,0x323,_0x11a947._0x3c0b76)]('lr',_0x5735f0(_0x11a947._0x61af45,0x22d,_0x11a947._0x5a5024,0xf8)+_0xe6ab91[_0x5c96d7(_0x11a947._0x7c4231,-0x10,_0x11a947._0x5d26a6,_0x11a947._0x39bdc8)]));if(_0xe6ab91[_0x5735f0(-0xc7,0xa0,-_0x11a947._0x4940dc,-0x14e)])_0x1f442b[_0x5c96d7(_0x11a947._0x57630b,_0x11a947._0x393857,0x26c,_0x11a947._0x41624e)]['set']('gl',_0xe6ab91[_0x5c96d7(_0x11a947._0x4f06f3,-0x8c,0x60,_0x11a947._0x3cbc69)][_0x5c96d7(0x187,_0x11a947._0x2a7a44,_0x11a947._0x54ce7d,0x2bc)]());if(_0xe6ab91[_0x5c96d7(_0x11a947._0x48a951,_0x11a947._0x24b48d,_0x11a947._0x286223,_0x11a947._0x5d595e)]==='images')_0x1f442b[_0x5735f0(_0x11a947._0x50f0df,0x27f,_0x11a947._0x44f3ca,_0x11a947._0x23f9cc)][_0x5c96d7(_0x11a947._0x4e253c,-0xaa,0x1e5,0x169)]('searchType','image');if(_0x4566ee)_0x1f442b[_0x5c96d7(0x297,_0x11a947._0x3c54e1,0x4a8,_0x11a947._0x2581e5)][_0x5735f0(0x22f,0x120,_0x11a947._0xbbbda6,0x4a)](_0x5735f0(_0x11a947._0x2b7dfe,_0x11a947._0x3be083,_0x11a947._0x5a474b,0x3f4),_0x4566ee);const _0x32ddb7=await fetchJson(_0x1f442b[_0x5c96d7(0x4c1,0x694,0x4aa,0x3e8)](),_0x1ec5f0),_0x5306db=_0x32ddb7[_0x5c96d7(_0x11a947._0x3403d8,0x2ec,_0x11a947._0xcfcb52,_0x11a947._0x501d70)]??[];if(_0x5306db[_0x5735f0(0x2ba,_0x11a947._0x3a04e8,_0x11a947._0xe500b9,0x40a)]===0x0)break;const _0x22549e=_0x5accd0;for(let _0x2a6fc3=0x0;_0x2a6fc3<_0x5306db[_0x5735f0(_0x11a947._0x16e462,_0x11a947._0x31fbf3,_0x11a947._0x23cc00,_0x11a947._0x1b60ef)];_0x2a6fc3++){const _0x3b583d=_0x5306db[_0x2a6fc3];if(!_0x3b583d)continue;const _0x1ea064=_0x3b583d['link']||_0x3b583d['image']?.[_0x5c96d7(_0x11a947._0xcca884,_0x11a947._0x44f3ca,0x84,0x427)]||'',_0x599a0e=_0x3b583d[_0x5735f0(0x318,_0x11a947._0x29144f,_0x11a947._0x1934e1,0x313)]||_0x3b583d[_0x5735f0(0x4c,_0x11a947._0xd6200a,0xfd,_0x11a947._0x425826)]?.[_0x5c96d7(0x193,_0x11a947._0x553f97,0x2e8,-_0x11a947._0x795eda)]||'Untitled',_0x40fbc1=_0x3b583d[_0x5c96d7(_0x11a947._0x433006,_0x11a947._0x32a38e,-0x42,_0x11a947._0x11379c)]||_0x3b583d['htmlSnippet']?.[_0x5c96d7(_0x11a947._0x4c4a63,0x583,0x482,0x526)](/<[^>]+>/g,''),_0x372412=_0x3b583d[_0x5735f0(_0x11a947._0x113670,0x2f9,_0x11a947._0x4b4d65,_0x11a947._0x4ecb80)]?.[_0x5735f0(0x41,_0x11a947._0x16d3c2,-_0x11a947._0x3aacd4,-_0x11a947._0x54ce7d)]?.[0x0]??{};let _0x2b3a77;try{_0x2b3a77=new URL(_0x1ea064)[_0x5c96d7(_0x11a947._0x41643d,_0x11a947._0x5e0098,0x36c,_0x11a947._0x5981d6)];}catch{_0x2b3a77=null;}_0x52733e[_0x5735f0(0xd6,0xdc,-0xc1,0x19)]({'title':_0x599a0e,'url':normalizeUrl(_0x1ea064),'snippet':_0x40fbc1??null,'displayUrl':_0x2b3a77,'favicon':null,'publishedAt':_0x372412[_0x5735f0(_0x11a947._0x2c6976,0x2c8,_0x11a947._0x24e980,0x167)]||_0x372412[_0x5735f0(_0x11a947._0x347c61,0x47f,0x657,_0x11a947._0x1627c5)]||null,'source':{'engine':_0x5735f0(0x3e9,0x307,0x40d,0x2af),'rank':_0x22549e+_0x2a6fc3+0x1}});}_0x5accd0+=_0x5306db[_0x5735f0(0x300,0x358,0x40f,0x264)],_0x885a45+=_0x5306db[_0x5735f0(_0x11a947._0x37c888,_0x11a947._0x26a73e,0x269,0x27a)];if(_0x5306db['length']<_0x450788)break;}return _0x52733e[_0x5735f0(_0x11a947._0x36a4de,_0x11a947._0x1ba370,0x250,_0x11a947._0x2919de)](0x0,_0x196443);}function isGoogleCseEngine(_0x2977b5){return'googleCseKey'in _0x2977b5;}function isOllamaEngine(_0x131ab5){const _0x5cfd5a={_0x2f0a3e:0x226,_0x23f15a:0x1c},_0x3256dc={_0x37bcc2:0xa5,_0x2dcbe9:0x105};function _0x4d02ff(_0x58e3fa,_0x182643,_0x205ea7,_0x4125ba){return _0xe18bb0(_0x4125ba,_0x205ea7-_0x3256dc._0x37bcc2,_0x205ea7-0x187,_0x4125ba-_0x3256dc._0x2dcbe9);}return _0x4d02ff(_0x5cfd5a._0x2f0a3e,0x2f9,0x1dc,-_0x5cfd5a._0x23f15a)in _0x131ab5;}function isTavilyEngine(_0x5311a5){const _0x55091d={_0x47be88:0x42c,_0x30b3b5:0x48};function _0x8411e8(_0x14d73f,_0x7cc924,_0x17db5c,_0x18cbfe){return _0xe18bb0(_0x14d73f,_0x18cbfe-_0x55091d._0x47be88,_0x17db5c-0xe0,_0x18cbfe-_0x55091d._0x30b3b5);}return _0x8411e8(0x766,0x56e,0x7d0,0x5e3)in _0x5311a5;}function createWebSearchTool(_0x29d2c4){const _0x312fef={_0x1b26aa:0x349,_0x2ce8cd:0x281,_0x143a8b:0x7d,_0x5426ad:0x30f,_0x38e022:0x281,_0x5f4bba:0x1fa,_0x281132:0x30c,_0x44c124:0x2f6,_0x4ae9da:0x174,_0x1f92d2:0x3f9,_0x44cc2b:0x225,_0xc29efd:0xf4,_0x5ea96d:0x221,_0xd6b38c:0x4ff,_0x1eb36d:0x56e,_0x13bac7:0x376,_0x44ad2a:0x3e8,_0x2ceb9f:0x30e,_0x14d739:0x105,_0x22b98c:0x130,_0x3ba5bc:0x6a,_0x184d56:0xf8,_0x4362fb:0x1c4,_0x52faba:0x60d,_0x119c73:0x57e,_0x14c9ac:0x768,_0x39b662:0x46b,_0x426797:0x5bd,_0x58cebf:0x73d,_0x55d4a4:0x4fc,_0x598a63:0x6c0,_0x2b1817:0x3f3},_0xb21eaf={_0x187d87:0x2f5,_0x4d10e9:0x205,_0x5d76f9:0x202,_0x32c183:0x98,_0x15ab43:0x70,_0x3cfa91:0x1c8,_0x4711cb:0x6e,_0x3a56d3:0x81,_0x3422d7:0x2e,_0x5d3820:0x19f,_0x291393:0x29,_0x42509a:0x16,_0x55358b:0x2f0,_0x3c9c56:0x38c,_0x264f4f:0x2e2,_0x360a8c:0x9c,_0xaf0a00:0x1c1,_0x47329d:0x293,_0x5936a5:0x122,_0x32e254:0x83,_0x59586c:0x4b,_0x3ad06d:0x281,_0x4e2cbe:0x26e,_0xe6efc5:0x5f,_0x560867:0x169,_0x4d6249:0x1c0,_0x3d24ce:0x1c5,_0xf170cf:0x23a,_0x39e36a:0xa1,_0x1a8c11:0x1d,_0x29394e:0x8e,_0x155304:0x143,_0x159853:0x54,_0x5dd0f9:0x75,_0x3f9c6f:0x5e,_0x2a54eb:0xc6,_0x1e21b4:0xd4,_0x3ae9e5:0x11a,_0x481fcd:0x3d1,_0x4ea043:0x235,_0x40f118:0x1c0,_0x36a36a:0x150,_0x5eb1a4:0xa7,_0x4833b4:0x32c,_0x402043:0x210,_0x37176c:0x88,_0x443dc3:0x24d,_0x1c87c9:0x295,_0x497301:0x24b,_0xd7676b:0xb8,_0x166d00:0x2f7,_0x714331:0xa1,_0x16dc4b:0xb0,_0x29f59e:0xdf,_0x55c65:0x17a,_0x687bb7:0x15d,_0x1c7790:0x137,_0x15430b:0xed,_0x9b2f91:0x1eb,_0x14032e:0x1d4,_0xdf14a5:0x213,_0x3b3ab5:0x118,_0x3a7230:0x27b,_0xd03287:0x2bd,_0x73545:0x174,_0x2fe7aa:0xeb,_0x1b1482:0x197,_0xb1ef40:0xf7,_0x3b3834:0xc,_0x3a07db:0x1a,_0x4352b4:0x113,_0x44616e:0x1,_0x45d7a7:0x200,_0x430c97:0x1a7,_0x1045d1:0x3eb,_0x1932a0:0x35f,_0x2a2c64:0xba,_0x4dd8b7:0x132,_0x2e5209:0x178,_0x5ef9aa:0x1f2,_0x3d9d0a:0x3,_0x54279c:0x151,_0x18f1d2:0xb8,_0x133125:0x136,_0x4d94de:0x1d7,_0x3a95ec:0x19,_0xe7b6f8:0x18f},_0x2fe349={_0xe000a9:0xad},_0x54a1e5={_0x41574a:0x2cc,_0x22f83e:0x1a7,_0x5a2194:0x13e},_0x2f815d={_0x2f451c:0x186},_0x422da1={_0x58a8fc:0x13d};if(!_0x29d2c4[_0x1e2596(_0x312fef._0x1b26aa,0xaf,_0x312fef._0x2ce8cd,0x430)]||_0x29d2c4[_0x1e2596(_0x312fef._0x143a8b,_0x312fef._0x5426ad,_0x312fef._0x38e022,0x287)][_0x1e2596(0x299,-0x67,0x179,_0x312fef._0x5f4bba)]===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');function _0x1e2596(_0x1b08a6,_0x4eae12,_0x38ce88,_0x3aef92){return _0xe18bb0(_0x3aef92,_0x38ce88- -0x2e,_0x38ce88-_0x422da1._0x58a8fc,_0x3aef92-0x5e);}const _0xb41193=_0x29d2c4['name']??_0x3e771c(_0x312fef._0x281132,0x193,_0x312fef._0x44c124,0x377),_0x5ad20c=_0x29d2c4[_0x1e2596(0x12,_0x312fef._0x4ae9da,0x76,-0x164)];function _0x3e771c(_0x10489f,_0x3e4d2b,_0x1a5d9f,_0x534f55){return _0x47b891(_0x3e4d2b,_0x10489f- -0x137,_0x1a5d9f-_0x2f815d._0x2f451c,_0x534f55-0x16);}return defineTool({'name':_0xb41193,'permissionClass':'read','description':_0x1e2596(0x1b7,_0x312fef._0x1f92d2,_0x312fef._0x44cc2b,_0x312fef._0xc29efd),'inputSchema':{'type':_0x1e2596(0x13b,0x41b,_0x312fef._0x5ea96d,0x1fd),'properties':{'description':{'type':_0x3e771c(0x480,_0x312fef._0xd6b38c,_0x312fef._0x1eb36d,_0x312fef._0x13bac7)},'query':{'type':'string'},'count':{'type':_0x3e771c(0x2a0,_0x312fef._0x44ad2a,_0x312fef._0x2ceb9f,0x355)},'offset':{'type':'number'},'domains':{'type':_0x1e2596(0x20b,0x1c2,_0x312fef._0x14d739,0x20f),'items':{'type':'string'}},'recencyDays':{'type':'number'},'lang':{'type':_0x1e2596(_0x312fef._0x22b98c,_0x312fef._0x3ba5bc,_0x312fef._0x184d56,_0x312fef._0x4362fb)},'region':{'type':'string'},'safe':{'type':_0x3e771c(_0x312fef._0x52faba,_0x312fef._0x119c73,_0x312fef._0x14c9ac,_0x312fef._0x39b662)},'type':{'type':'string'},'hydrateMeta':{'type':_0x3e771c(0x60d,_0x312fef._0x426797,0x76c,_0x312fef._0x58cebf)}},'required':[_0x3e771c(0x5c1,_0x312fef._0x55d4a4,_0x312fef._0x598a63,_0x312fef._0x2b1817)]},async *'execute'(_0x3869ce,_0x3e69f6){const _0x22bc76={_0x324662:0x516,_0x1acb41:0x631,_0x5820a2:0x82f,_0x34aeac:0x632,_0x9fed2c:0x605,_0x6c2ed3:0x6ba,_0x27d902:0x71d},_0x175efc={_0xfd94de:0x582,_0x46e43c:0x23};function _0x1ce2df(_0x3b6b66,_0x443e44,_0x3a5447,_0x3944b9){return _0x3e771c(_0x443e44- -_0x54a1e5._0x41574a,_0x3a5447,_0x3a5447-_0x54a1e5._0x22f83e,_0x3944b9-_0x54a1e5._0x5a2194);}const _0x265fec=_0x3869ce[_0x1ce2df(0x26c,_0xb21eaf._0x187d87,0x443,0x391)][_0x5a488a(_0xb21eaf._0x4d10e9,0x75,0x2dd,0x19b)]();function _0x5a488a(_0x42783f,_0x448b7c,_0x2266c3,_0x1cf419){return _0x1e2596(_0x42783f-_0x2fe349._0xe000a9,_0x448b7c-0x1a,_0x42783f- -0xc1,_0x448b7c);}if(!_0x265fec)throw new ToolExecutionError(_0x1ce2df(0xb0,0x280,0x2d0,0x1d3));const _0x5373ab={'query':_0x265fec,'count':Math[_0x5a488a(-_0xb21eaf._0x5d76f9,-_0xb21eaf._0x32c183,-_0xb21eaf._0x15ab43,-0x29c)](0x1,Math[_0x1ce2df(0xa1,_0xb21eaf._0x3cfa91,_0xb21eaf._0x4711cb,_0xb21eaf._0x3a56d3)](0x32,Math['trunc'](_0x3869ce[_0x1ce2df(_0xb21eaf._0x3422d7,0x95,0x1bd,0x241)]??0xa))),'offset':Math['max'](0x0,Math[_0x5a488a(-_0xb21eaf._0x5d3820,_0xb21eaf._0x291393,0x23,-0x1f3)](_0x3869ce[_0x5a488a(-0x10a,-0x20c,-_0xb21eaf._0x42509a,-_0xb21eaf._0x55358b)]??0x0)),'domains':_0x3869ce['domains']??[],'recencyDays':Math['max'](0x0,Math[_0x5a488a(-_0xb21eaf._0x5d3820,-_0xb21eaf._0x3c9c56,-_0xb21eaf._0x264f4f,-0x38b)](_0x3869ce['recencyDays']??0x0)),'lang':_0x3869ce[_0x5a488a(-0x197,-_0xb21eaf._0x360a8c,-_0xb21eaf._0xaf0a00,-_0xb21eaf._0x47329d)]??'en','region':_0x3869ce[_0x1ce2df(-_0xb21eaf._0x5936a5,-_0xb21eaf._0x32e254,-_0xb21eaf._0x59586c,-0x28f)]??'','safe':_0x3869ce[_0x1ce2df(0x459,_0xb21eaf._0x3ad06d,0x1d4,_0xb21eaf._0x4e2cbe)]??!![],'type':normalizeType(_0x3869ce['type']),'hydrateMeta':_0x3869ce[_0x1ce2df(-0x1f6,0x19,_0xb21eaf._0xe6efc5,-_0xb21eaf._0x560867)]??![]};let _0x567e1e=[],_0x451273='unknown';for(const _0x1d0f8b of _0x29d2c4[_0x5a488a(_0xb21eaf._0x4d6249,0xaa,0x3af,0x237)]){try{if(isGoogleCseEngine(_0x1d0f8b))_0x567e1e=await searchGoogleCse(_0x1d0f8b,_0x5373ab,_0x3e69f6[_0x1ce2df(_0xb21eaf._0x3d24ce,_0xb21eaf._0xf170cf,0x224,0x76)]),_0x451273=_0x5a488a(0x67,-_0xb21eaf._0x39e36a,-0x100,_0xb21eaf._0x1a8c11);else{if(isOllamaEngine(_0x1d0f8b)){const _0x389c71=await searchOllama(_0x1d0f8b,_0x5373ab,_0x3e69f6[_0x5a488a(0xbd,0x11c,_0xb21eaf._0x42509a,0x26e)]);_0x567e1e=_0x389c71[_0x5a488a(-0xbd,-0x223,-_0xb21eaf._0x29394e,0x138)],_0x451273=_0x389c71[_0x1ce2df(-_0xb21eaf._0x155304,_0xb21eaf._0x159853,-0x8c,-0x172)];}else{if(isTavilyEngine(_0x1d0f8b)){const _0x3a1a9f=await searchTavily(_0x1d0f8b,_0x5373ab,_0x3e69f6[_0x5a488a(0xbd,_0xb21eaf._0x5dd0f9,_0xb21eaf._0x3f9c6f,-0x44)]);_0x567e1e=_0x3a1a9f[_0x5a488a(-0xbd,-_0xb21eaf._0x2a54eb,-0x166,-_0xb21eaf._0x1e21b4)],_0x451273=_0x3a1a9f[_0x1ce2df(-0x1b6,0x54,_0xb21eaf._0x3ae9e5,0x1)];}}}if(_0x567e1e[_0x1ce2df(_0xb21eaf._0x481fcd,_0xb21eaf._0x4ea043,0x206,0xfd)]>0x0)break;}catch(_0x274e02){if(_0x1d0f8b===_0x29d2c4[_0x5a488a(_0xb21eaf._0x40f118,_0xb21eaf._0x36a36a,-0x2f,_0xb21eaf._0x5eb1a4)][_0x29d2c4[_0x5a488a(0x1c0,0x31f,_0xb21eaf._0x4833b4,0x135)][_0x5a488a(0xb8,0x81,_0xb21eaf._0x402043,_0xb21eaf._0x37176c)]-0x1])throw _0x274e02;}}_0x5373ab[_0x5a488a(-0x164,-_0xb21eaf._0x443dc3,-_0xb21eaf._0x1c87c9,-_0xb21eaf._0x497301)]&&_0x567e1e[_0x5a488a(_0xb21eaf._0xd7676b,0x285,0x24b,-0xa7)]>0x0&&(_0x567e1e=await hydrateResults(_0x567e1e,_0x5373ab[_0x5a488a(-0x197,-_0xb21eaf._0x166d00,-_0xb21eaf._0x714331,-_0xb21eaf._0x16dc4b)],_0x3e69f6[_0x5a488a(0xbd,0x219,_0xb21eaf._0x29f59e,_0xb21eaf._0x55c65)],_0x5ad20c));const _0x3b08d4=new Set();_0x567e1e=_0x567e1e['filter'](_0x5b2dec=>{const _0x589e7a={_0x405df2:0x15b,_0x2625c0:0x389};function _0x4d3697(_0x5c9f94,_0x1ce86d,_0x53576b,_0x56cba3){return _0x1ce2df(_0x5c9f94-0x15a,_0x53576b-_0x175efc._0xfd94de,_0x5c9f94,_0x56cba3-_0x175efc._0x46e43c);}function _0x3c782b(_0x175a0c,_0x39ee61,_0x3b9b59,_0x1dea71){return _0x1ce2df(_0x175a0c-_0x589e7a._0x405df2,_0x39ee61-_0x589e7a._0x2625c0,_0x175a0c,_0x1dea71-0xca);}const _0x4dabef=_0x5b2dec[_0x3c782b(_0x22bc76._0x324662,_0x22bc76._0x1acb41,_0x22bc76._0x5820a2,_0x22bc76._0x34aeac)][_0x3c782b(0x43c,_0x22bc76._0x9fed2c,0x559,0x687)]();if(!_0x4dabef||_0x3b08d4[_0x4d3697(_0x22bc76._0x6c2ed3,0x770,0x87d,0xa59)](_0x4dabef))return![];return _0x3b08d4[_0x3c782b(_0x22bc76._0x27d902,0x6a4,0x4df,0x72e)](_0x4dabef),!![];}),_0x567e1e=_0x567e1e[_0x5a488a(0x81,-_0xb21eaf._0x687bb7,0x1b3,0x1a2)]((_0x237653,_0x4510ee)=>({..._0x237653,'source':{..._0x237653[_0x5a488a(0x122,0x160,0x99,0x13c)],'rank':_0x4510ee+0x1}}));const _0x4e5c39={};if(_0x5373ab['domains'][_0x5a488a(_0xb21eaf._0xd7676b,-0x47,0x3f,-_0xb21eaf._0x1c7790)]>0x0)_0x4e5c39[_0x5a488a(0x96,-_0xb21eaf._0x15430b,_0xb21eaf._0x9b2f91,0x22d)]=_0x5373ab[_0x1ce2df(_0xb21eaf._0x14032e,_0xb21eaf._0xdf14a5,_0xb21eaf._0x3b3ab5,0x47)];if(_0x5373ab[_0x1ce2df(0x28e,0x174,0x31f,_0xb21eaf._0x3a7230)]>0x0)_0x4e5c39[_0x1ce2df(_0xb21eaf._0xd03287,_0xb21eaf._0x73545,0x2f,_0xb21eaf._0x2fe7aa)]=_0x5373ab['recencyDays'];if(_0x5373ab[_0x1ce2df(0x140,-0x1a,0x186,0x139)]!=='en')_0x4e5c39[_0x5a488a(-_0xb21eaf._0x1b1482,-_0xb21eaf._0xb1ef40,0x5c,_0xb21eaf._0x3b3834)]=_0x5373ab[_0x1ce2df(-0xba,-_0xb21eaf._0x3a07db,_0xb21eaf._0x4352b4,0x7d)];if(_0x5373ab[_0x1ce2df(-0x101,-_0xb21eaf._0x32e254,-_0xb21eaf._0x44616e,0x82)])_0x4e5c39[_0x5a488a(-_0xb21eaf._0x45d7a7,-_0xb21eaf._0x430c97,-_0xb21eaf._0x1045d1,-_0xb21eaf._0x1932a0)]=_0x5373ab['region'];return yield createToolOutput(formatResults(_0x567e1e),{'engine':_0x451273,'count':_0x567e1e[_0x1ce2df(_0xb21eaf._0x2a2c64,0x235,_0xb21eaf._0x4dd8b7,0x266)],'items':_0x567e1e,'query':_0x5373ab[_0x5a488a(_0xb21eaf._0x2e5209,_0xb21eaf._0x5ef9aa,-_0xb21eaf._0x3d9d0a,_0xb21eaf._0x54279c)],...Object['keys'](_0x4e5c39)[_0x5a488a(_0xb21eaf._0x18f1d2,-0xf7,_0xb21eaf._0x133125,0x24b)]>0x0?{'appliedFilters':_0x4e5c39}:{},'offset':_0x5373ab['offset'],'totalRequested':_0x5373ab['count'],'hydrated':_0x5373ab[_0x1ce2df(-_0xb21eaf._0x4d94de,_0xb21eaf._0x3a95ec,0x110,-_0xb21eaf._0xe7b6f8)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,FILE_OBSERVATION_LIMITS,FileMutationCoordinator,FileObservationStore,GREP_DEFAULT_LIMIT,GREP_MAX_PATTERN_LENGTH,GREP_MAX_SNIPPET_LENGTH,MAX_ANCHORED_CONTENT_BYTES,MAX_ANCHORED_OPERATIONS,MAX_ANCHORED_PREVIEW_BYTES,ToolExecutionError,ToolRegistry,assertWorkspaceFile,boundedGrepSnippet,buildMcpHttpHeaders,connectMcpServer,createAnchoredFileError,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createNormalizedFileSnapshot,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,executeAnchoredFileEdit,extractOwnedMcpSafeError,filepath,files,formatAnchoredFileRead,hashlineFileEditInputSchema,isProbablyBinary,isTerminalStatus,isWithinDisplayColumns,normalizeToolOutputValue,prepareAnchoredFileEditApproval,prepareCanonicalFileEdit,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveCanonicalAllowedFile,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,serializeNormalizedFile,sha256Bytes,structuredFileEditInputSchema,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};
1
+ (function(_0x32aacd,_0x38d998){const _0x1bb2ca={_0x485b73:0x87,_0xae83a0:0xc1,_0x36a23d:0x62,_0x13cf7e:0xaa,_0x5cb8e4:0x85,_0x81573c:0x1b6,_0x594dcc:0x183,_0x5d4100:0x147,_0x2fcda4:0x5d,_0x375018:0x202,_0x346e85:0xfc,_0x4f0dfa:0x160,_0x44f7b3:0x5c,_0x51810b:0x167,_0x983274:0x2ad,_0x45f6a4:0x3ca,_0x41f497:0x189,_0x595e12:0x354,_0x2c0fa1:0x1cd,_0xf314c2:0x2f1,_0x5ec2c8:0x22e,_0x4d3e9e:0x206,_0x4cb825:0x3eb,_0x2df16e:0x4ab,_0x55771c:0x44b,_0x1395cf:0x50d};function _0x4e3e06(_0x35b905,_0x97667f,_0x1a7c5e,_0x54075b){return _0x3233(_0x97667f-0x36,_0x1a7c5e);}function _0x17d1f4(_0x556b35,_0x337178,_0x13ed6d,_0x1b5268){return _0x3233(_0x556b35- -0x324,_0x1b5268);}const _0x4d9058=_0x32aacd();while(!![]){try{const _0x22d196=-parseInt(_0x17d1f4(_0x1bb2ca._0x485b73,-0x82,_0x1bb2ca._0xae83a0,-_0x1bb2ca._0x36a23d))/0x1+-parseInt(_0x17d1f4(-_0x1bb2ca._0x13cf7e,0x35,-0x1fb,-_0x1bb2ca._0x5cb8e4))/0x2+-parseInt(_0x17d1f4(0x33,_0x1bb2ca._0x81573c,-_0x1bb2ca._0x594dcc,-_0x1bb2ca._0x5d4100))/0x3+-parseInt(_0x17d1f4(-_0x1bb2ca._0x2fcda4,-_0x1bb2ca._0x375018,0x18,_0x1bb2ca._0x346e85))/0x4+-parseInt(_0x17d1f4(_0x1bb2ca._0x4f0dfa,_0x1bb2ca._0x44f7b3,_0x1bb2ca._0x51810b,_0x1bb2ca._0x983274))/0x5+-parseInt(_0x4e3e06(0x503,0x58f,_0x1bb2ca._0x45f6a4,0x649))/0x6*(parseInt(_0x17d1f4(_0x1bb2ca._0x41f497,_0x1bb2ca._0x595e12,_0x1bb2ca._0x2c0fa1,_0x1bb2ca._0xf314c2))/0x7)+-parseInt(_0x4e3e06(0xb0,_0x1bb2ca._0x5ec2c8,_0x1bb2ca._0x4d3e9e,0x1c8))/0x8*(-parseInt(_0x4e3e06(_0x1bb2ca._0x4cb825,_0x1bb2ca._0x2df16e,_0x1bb2ca._0x55771c,_0x1bb2ca._0x1395cf))/0x9);if(_0x22d196===_0x38d998)break;else _0x4d9058['push'](_0x4d9058['shift']());}catch(_0xb7957d){_0x4d9058['push'](_0x4d9058['shift']());}}}(_0x26f6,0x3cf29));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-KIIEBXJF.js';import'../chunk-GAZGO6N7.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 _0x467c4b from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x4a0aa5(0x488,0x4a7,0x524,0x3cf),'.tsx':_0x38b1c5(0x707,0x681,0x7da,0x6be),'.js':_0x4a0aa5(0x6f6,0x66d,0x786,0x4aa),'.jsx':_0x38b1c5(0x98d,0x72c,0x7d8,0x699),'.mjs':_0x4a0aa5(0x807,0x66d,0x6a3,0x589),'.cjs':_0x4a0aa5(0x4b3,0x66d,0x471,0x4a0),'.mts':_0x4a0aa5(0x587,0x4a7,0x4c0,0x4ff),'.cts':'typescript','.json':_0x4a0aa5(0x50c,0x5ad,0x550,0x4c8),'.jsonc':_0x4a0aa5(0x561,0x4ee,0x660,0x2f7)};function getLanguageId(_0x3ac91b){const _0x17a898={_0x5aa33b:0x347,_0x484a4e:0x45f},_0x339db8={_0x1f6362:0x1d8,_0x3bb86d:0x0},_0x9bf93c={_0x33ca58:0x18,_0x53e61d:0x100};function _0xfcad15(_0x395bbb,_0x355778,_0x11c231,_0x1b856d){return _0x4a0aa5(_0x355778,_0x395bbb- -_0x9bf93c._0x33ca58,_0x11c231-0xfe,_0x1b856d-_0x9bf93c._0x53e61d);}function _0x1d2c81(_0x38aaff,_0xf98a85,_0x2f43b4,_0x3b0ff6){return _0x38b1c5(_0x38aaff-_0x339db8._0x1f6362,_0xf98a85-_0x339db8._0x3bb86d,_0x3b0ff6-0xc6,_0xf98a85);}return EXTENSION_TO_LANGUAGE[_0x467c4b[_0xfcad15(0x527,_0x17a898._0x5aa33b,_0x17a898._0x484a4e,0x70b)](_0x3ac91b)[_0x1d2c81(0x651,0x9c1,0x625,0x803)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x3d9a2c){const _0x10c4b7={_0x5677e9:0x2d2,_0xf3a484:0x34a},_0x3d4805={_0x52b758:0x275};function _0x15b089(_0x3d1fd9,_0x5243ad,_0x32b25e,_0x47ad2e){return _0x4a0aa5(_0x32b25e,_0x47ad2e- -_0x3d4805._0x52b758,_0x32b25e-0x1b2,_0x47ad2e-0x158);}return pathToFileURL(_0x3d9a2c)[_0x15b089(0x3f8,_0x10c4b7._0x5677e9,_0x10c4b7._0xf3a484,0x21a)]();}function textDocumentPosition(_0x44166c){const _0x46402d={_0x4c8f76:0x201,_0x25b3fe:0x38f,_0xcbc282:0x780,_0x2aa186:0x5f1,_0x147650:0x7b5,_0x53373e:0x575,_0xadc569:0x5e7},_0x4fd2dd={_0x89ac12:0x5d,_0x449173:0x101},_0x423b14={_0x4b6d0c:0x1ae,_0x16e3da:0x61,_0x1077de:0xd3};function _0x47843c(_0x360edf,_0x7136d1,_0x8cac6c,_0x2558d2){return _0x38b1c5(_0x360edf-_0x423b14._0x4b6d0c,_0x7136d1-_0x423b14._0x16e3da,_0x360edf-_0x423b14._0x1077de,_0x2558d2);}function _0x19d257(_0x5d877c,_0xd48a4,_0x1011aa,_0xe0a9c0){return _0x4a0aa5(_0x5d877c,_0xd48a4- -_0x4fd2dd._0x89ac12,_0x1011aa-_0x4fd2dd._0x449173,_0xe0a9c0-0x45);}return{'textDocument':{'uri':uriForPath(_0x44166c[_0x19d257(_0x46402d._0x4c8f76,_0x46402d._0x25b3fe,0x3ec,0x46e)])},'position':{'line':_0x44166c[_0x47843c(_0x46402d._0xcbc282,_0x46402d._0x2aa186,_0x46402d._0x147650,_0x46402d._0x53373e)],'character':_0x44166c[_0x19d257(0x4a0,_0x46402d._0xadc569,0x6b8,0x54f)]}};}function normalizeLocations(_0x4ea6a9){const _0x1ce016={_0xe7d7e1:0x1b5,_0x3d338d:0x179,_0x2e49b1:0x13b},_0x172da3={_0x4912a1:0x30a};if(!_0x4ea6a9)return[];function _0x11f3c3(_0xf627d6,_0x53617b,_0x22728c,_0x504f6c){return _0x4a0aa5(_0x504f6c,_0xf627d6- -_0x172da3._0x4912a1,_0x22728c-0xd,_0x504f6c-0x155);}return Array[_0x11f3c3(0x1fe,_0x1ce016._0xe7d7e1,_0x1ce016._0x3d338d,_0x1ce016._0x2e49b1)](_0x4ea6a9)?_0x4ea6a9:[_0x4ea6a9];}async function withLspTimeout(_0x314063,_0x3c0ef1,_0x2af9b7){const _0x11f9c1={_0x374e20:0x41c,_0x5031b0:0x2d7,_0x35757e:0x49c},_0x12e4f1={_0x124dd6:0x2c1,_0x10f7f1:0x287,_0x4c3cc3:0x1be},_0x387a68={_0x368395:0x11b},_0x30f490={_0x367201:0x293,_0x58a856:0xca};function _0x99bd43(_0x2f287e,_0x4cf092,_0x8a4f35,_0x3a2826){return _0x4a0aa5(_0x3a2826,_0x4cf092- -_0x30f490._0x367201,_0x8a4f35-_0x30f490._0x58a856,_0x3a2826-0x18c);}if(!Number[_0x184aa3(0x601,_0x11f9c1._0x374e20,_0x11f9c1._0x5031b0,_0x11f9c1._0x35757e)](_0x3c0ef1)||_0x3c0ef1<0x1)throw new Error('Invalid\x20LSP\x20timeout\x20for\x20'+_0x2af9b7+_0x184aa3(0x2e7,0x5c7,0x49e,0x4a1));let _0x14cf2a;function _0x184aa3(_0x1d4f05,_0xc31332,_0x132c8b,_0x4bde58){return _0x38b1c5(_0x1d4f05-_0x387a68._0x368395,_0xc31332-0x7f,_0x4bde58-0x72,_0xc31332);}try{return await Promise['race']([_0x314063,new Promise((_0xe5e547,_0xf40367)=>{_0x14cf2a=setTimeout(()=>{function _0x57df88(_0x328c87,_0x2d7678,_0xaf0880,_0x390286){return _0x3233(_0xaf0880- -0x3db,_0x2d7678);}function _0x2d7cad(_0x35cdb4,_0x2e6de4,_0x39b5db,_0x284298){return _0x3233(_0x35cdb4- -0x1d5,_0x284298);}_0xf40367(new Error('LSP\x20'+_0x2af9b7+_0x2d7cad(_0x12e4f1._0x124dd6,0x3da,_0x12e4f1._0x10f7f1,0x2b5)+_0x3c0ef1+_0x2d7cad(-0xa,0x1cd,0x1ff,-_0x12e4f1._0x4c3cc3)));},_0x3c0ef1);})]);}finally{if(_0x14cf2a!==void 0x0)clearTimeout(_0x14cf2a);}}async function createLspClient(_0x103082){const _0xf39e46={_0x56be9c:0x2cb,_0x4fc873:0xbe,_0xa6359:0x3bd,_0x5eb270:0x3f6,_0x2a6e2b:0x201,_0x254034:0x834,_0x16c6c8:0x72e,_0x19befb:0x1a3,_0x57ae41:0x1a8,_0x79731b:0x31,_0x5d92f4:0x338,_0xa042e4:0xac,_0x5552f0:0x4af,_0x1c372d:0x40c,_0x4a9449:0x39a,_0x6baaf8:0x5fe,_0x18e654:0x41a,_0x5b52ae:0x62e,_0x51f735:0xcc,_0x2e4ddd:0x9f3,_0x10bf46:0x6ed,_0x2230a8:0xf2,_0x30df8c:0x118,_0x5514bc:0xfa,_0x234dc9:0x6c5,_0x4dfa83:0x771,_0x1366ac:0x2c2,_0x8763bd:0x3c,_0x48794c:0x87,_0x45d894:0x1d,_0x293a7a:0x92,_0x367fb8:0x6ee,_0x30eee4:0x6a7,_0x5b1c23:0x8a9,_0xd72b63:0x4b4,_0x80967:0x5a2,_0x3089ae:0x478,_0x4cc8de:0x713,_0x553414:0x636,_0x29ebb2:0x848,_0x72320f:0x239,_0x95cd77:0x23b,_0x524954:0x384},_0x391d7e={_0x55dbde:0x75b,_0x1cd1bd:0x4eb,_0x9dbe15:0x4a8,_0x581dbf:0x582,_0x5119aa:0x75f,_0x30a524:0x659,_0x47dd05:0x371,_0x5ec6d6:0x3c9,_0x13a26b:0x314,_0x33ffce:0x525,_0x39eae3:0x57a,_0x406c01:0x634,_0x555651:0x641},_0x3a36cd={_0x32f1f1:0x31d,_0x1cc99b:0x97},_0x355196={_0x47ac08:0x4c3,_0x59d49a:0x687,_0x396fe3:0x77a,_0x3acb2c:0x886,_0x2d91a0:0x60a},_0x287015={_0x432116:0x113,_0xa24afe:0x128},_0x20058c={_0x412821:0x339,_0x2dc0b3:0x4dc,_0x3f1cfe:0x17c},_0x1e87de={_0x5b7296:0x1d7},_0x319905={_0x1b7b37:0x62e,_0x18c5d4:0x591,_0x32a033:0x584},_0xe839e2={_0xbb1d99:0x346},_0x191f96={_0x568174:0x584,_0x2d861c:0x709,_0x2f8aed:0x6ca},_0x2856a8={_0x55ee24:0x532,_0x312541:0x46b},_0x532f5e={_0x53555c:0x289},_0x3390c8={_0x3711ed:0x729,_0x3135df:0x5f4,_0x436a1a:0x564},_0x4e9d1f={_0x2e4187:0x516,_0x52a3b3:0x3bf,_0x560c65:0x396,_0x391cf0:0x592},_0x318b1f={_0x3db683:0x32c,_0x2f2cc4:0x190},_0x137894={_0x4753f9:0x2dd,_0x101a42:0xde,_0x9b499f:0x393},_0x256ef9={_0x3bece0:0x48f,_0xd318e0:0x373,_0x47ea1f:0x2d8,_0x25b7f2:0x3c1,_0x28dc96:0x463},_0x38ccab={_0x2dbd21:0x188},_0x2f0301={_0x59d247:0xff,_0x803958:0x19e,_0x17b3d8:0x115,_0x45795c:0xdd,_0x37d3e3:0x30b,_0xdf334d:0x47,_0x3014be:0x49},_0x4c68e4={_0x26df39:0x2f},_0x8f1a3b={_0x444235:0x4a9,_0x58e7b3:0x3d7,_0x4c0ab7:0x373,_0x51d8aa:0x5a7,_0x54fe5b:0x2f9,_0x5629e9:0x325,_0x2e7d27:0x117,_0x3e7445:0x79f,_0x3b25c9:0x842,_0x816c71:0x309,_0x30ca27:0x17c,_0x1c28c7:0x4d0,_0x1776f7:0x4bb,_0x16f585:0x915,_0x1413a4:0x73a},_0x36230e={_0xb2f55c:0x1e6},_0x13d60c={_0x2e461c:0x6f,_0x28d9c0:0x44},_0x27ffe2={_0x50f6a2:0x1b7,_0x4d4a32:0x2a1},_0x563107={_0x1b1eb2:0x30d},_0x5a8a37={_0x40402a:0x13c},_0x5894aa=_0x103082[_0x299f6b(0x16d,_0xf39e46._0x56be9c,_0xf39e46._0x4fc873,_0xf39e46._0xa6359)]['process'][_0x299f6b(0x605,_0xf39e46._0x5eb270,_0xf39e46._0x2a6e2b,0x2df)],_0x476482=_0x103082['handle'][_0x5f109b(_0xf39e46._0x254034,0x907,_0xf39e46._0x16c6c8,0x7dd)][_0x299f6b(0xbb,0x1d6,0x3c6,0x15b)];function _0x5f109b(_0x5e7df6,_0x59fb58,_0x28b541,_0x2daac8){return _0x4a0aa5(_0x59fb58,_0x5e7df6-0x116,_0x28b541-_0x5a8a37._0x40402a,_0x2daac8-0x197);}function _0x299f6b(_0x4e0232,_0x18b793,_0x113c9b,_0x2d5395){return _0x4a0aa5(_0x4e0232,_0x18b793- -_0x563107._0x1b1eb2,_0x113c9b-0x149,_0x2d5395-0x16);}if(!_0x5894aa||!_0x476482)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');const _0x2f575=_0x103082[_0x299f6b(0x89,_0xf39e46._0x19befb,_0xf39e46._0x57ae41,0x177)]??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x23afb2=createMessageConnection(new StreamMessageReader(_0x5894aa),new StreamMessageWriter(_0x476482)),_0x469414=new Map(),_0x5bfb8b=new Map();let _0x269968=![];const _0x2598e7=async(_0x7fa7fb,_0x54e621)=>{const _0x10045d={_0x5a6e45:0x3b9,_0x420ee6:0x8f};function _0x264a3c(_0x10c70c,_0x1abd34,_0x142cc2,_0x332b1c){return _0x5f109b(_0x142cc2- -_0x10045d._0x5a6e45,_0x332b1c,_0x142cc2-_0x10045d._0x420ee6,_0x332b1c-0x98);}return withLspTimeout(_0x23afb2[_0x264a3c(_0x27ffe2._0x50f6a2,0x119,_0x27ffe2._0x4d4a32,0x341)](_0x7fa7fb,_0x54e621),_0x2f575,_0x7fa7fb);};_0x23afb2[_0x299f6b(0x325,0x245,_0xf39e46._0x79731b,_0xf39e46._0x5d92f4)](_0x299f6b(_0xf39e46._0xa042e4,0x141,0x1a1,0x259),_0x272b3c=>{function _0x1772cf(_0xf797de,_0x18d279,_0x5c40f1,_0x2f5246){return _0x5f109b(_0xf797de-0xd6,_0x2f5246,_0x5c40f1-_0x13d60c._0x2e461c,_0x2f5246-_0x13d60c._0x28d9c0);}_0x469414[_0x59198b(_0x8f1a3b._0x444235,_0x8f1a3b._0x58e7b3,_0x8f1a3b._0x4c0ab7,_0x8f1a3b._0x51d8aa)](_0x272b3c[_0x59198b(0x48c,0x30d,0x3c0,0x64a)],_0x272b3c[_0x59198b(0x30d,_0x8f1a3b._0x54fe5b,_0x8f1a3b._0x5629e9,0x400)]);const _0x51fe4f=_0x5bfb8b[_0x59198b(0x2f4,0x294,_0x8f1a3b._0x2e7d27,0x11a)](_0x272b3c[_0x1772cf(_0x8f1a3b._0x3e7445,_0x8f1a3b._0x3b25c9,0x8c7,0x964)]);if(!_0x51fe4f)return;_0x5bfb8b[_0x59198b(_0x8f1a3b._0x816c71,_0x8f1a3b._0x30ca27,_0x8f1a3b._0x1c28c7,_0x8f1a3b._0x1776f7)](_0x272b3c[_0x1772cf(0x79f,_0x8f1a3b._0x16f585,0x5b8,_0x8f1a3b._0x1413a4)]);function _0x59198b(_0x13b993,_0x1379b8,_0x58ec65,_0x2e25da){return _0x299f6b(_0x1379b8,_0x13b993-_0x36230e._0xb2f55c,_0x58ec65-0xc0,_0x2e25da-0x35);}for(const _0x5d3a75 of _0x51fe4f)_0x5d3a75();}),_0x23afb2[_0x299f6b(_0xf39e46._0x5552f0,_0xf39e46._0x1c372d,0x5b4,_0xf39e46._0x4a9449)]();let _0x310b47;try{_0x310b47=await _0x2598e7(_0x5f109b(_0xf39e46._0x6baaf8,_0xf39e46._0x18e654,_0xf39e46._0x5b52ae,0x713),{'processId':process[_0x299f6b(_0xf39e46._0x51f735,0x18d,0xb6,0x169)],'rootUri':uriForPath(_0x103082[_0x5f109b(0x841,0x9a5,_0xf39e46._0x2e4ddd,_0xf39e46._0x10bf46)]),'workspaceFolders':[{'uri':uriForPath(_0x103082['root']),'name':_0x103082[_0x299f6b(-_0xf39e46._0x2230a8,_0xf39e46._0x30df8c,0x325,_0xf39e46._0x5514bc)]['id']}],'initializationOptions':_0x103082['handle'][_0x5f109b(_0xf39e46._0x234dc9,0x686,0x5d2,0x727)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x5f109b(0x867,0x691,_0xf39e46._0x4dfa83,0x7bc),_0x299f6b(_0xf39e46._0x1366ac,0x154,_0xf39e46._0x8763bd,_0xf39e46._0x48794c)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x2c4771){_0x23afb2[_0x299f6b(0x4,_0xf39e46._0x45d894,-_0xf39e46._0x293a7a,-0x130)](),_0x103082[_0x5f109b(_0xf39e46._0x367fb8,_0xf39e46._0x30eee4,_0xf39e46._0x5b1c23,0x749)][_0x299f6b(_0xf39e46._0xd72b63,0x411,_0xf39e46._0x80967,_0xf39e46._0x3089ae)]['kill']();throw _0x2c4771;}_0x23afb2[_0x5f109b(_0xf39e46._0x4cc8de,_0xf39e46._0x553414,_0xf39e46._0x29ebb2,0x5b8)](_0x299f6b(0x2bc,0x1d3,0x39d,_0xf39e46._0x72320f),{});const _0x59e9ed={'serverId':_0x103082[_0x299f6b(0x93,0x118,_0xf39e46._0x95cd77,0x2f3)]['id'],'root':_0x103082['root'],'connection':_0x23afb2,'diagnostics':_0x469414,'capabilities':_0x310b47[_0x299f6b(0x332,_0xf39e46._0x524954,0x1db,0x190)]??{},'notify':{async 'open'({path:_0x517b49}){const _0xcc88cf={_0x42b99c:0x5fe};function _0x2d2f84(_0x9c7796,_0x2ba77a,_0x3aa039,_0xd68dcb){return _0x5f109b(_0x9c7796- -0x5be,_0x2ba77a,_0x3aa039-_0x4c68e4._0x26df39,_0xd68dcb-0xba);}function _0x358193(_0x4a4318,_0x23d983,_0x1ec50f,_0x7fdfb2){return _0x5f109b(_0x4a4318- -_0xcc88cf._0x42b99c,_0x1ec50f,_0x1ec50f-0x109,_0x7fdfb2-0x0);}const _0x3cb950=await readFile(_0x517b49,_0x358193(-0x3b,_0x2f0301._0x59d247,0xa1,-_0x2f0301._0x803958));_0x23afb2[_0x358193(_0x2f0301._0x17b3d8,-_0x2f0301._0x45795c,_0x2f0301._0x37d3e3,0x36)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x517b49),'languageId':getLanguageId(_0x517b49)??_0x2d2f84(-_0x2f0301._0xdf334d,-_0x2f0301._0x3014be,-0x18b,-0x23d),'version':0x1,'text':_0x3cb950}});},async 'change'({path:_0x1a3ce2,version:_0x54177a}){const _0xf2e3c0={_0x5b809c:0x27d,_0x318f99:0xc0,_0x135a00:0xda};function _0x24afbc(_0x30f1d3,_0x4f9f58,_0x331e2e,_0x1ff845){return _0x299f6b(_0x331e2e,_0x4f9f58-_0xf2e3c0._0x5b809c,_0x331e2e-_0xf2e3c0._0x318f99,_0x1ff845-_0xf2e3c0._0x135a00);}const _0x6791a1=await readFile(_0x1a3ce2,'utf8');function _0x266820(_0x5edb66,_0x237f98,_0x29854a,_0x438953){return _0x299f6b(_0x5edb66,_0x237f98- -0x179,_0x29854a-0xb1,_0x438953-_0x38ccab._0x2dbd21);}_0x23afb2[_0x24afbc(0x70e,0x56d,_0x256ef9._0x3bece0,_0x256ef9._0xd318e0)](_0x24afbc(_0x256ef9._0x47ea1f,_0x256ef9._0x25b7f2,0x32f,_0x256ef9._0x28dc96),{'textDocument':{'uri':uriForPath(_0x1a3ce2),'version':_0x54177a},'contentChanges':[{'text':_0x6791a1}]});},async 'close'({path:_0x47f555}){const _0x3a1bc7={_0x146942:0x13,_0x22f00d:0x7b};function _0x2255c2(_0x38d66b,_0x1f2b68,_0x25998f,_0x9010f0){return _0x299f6b(_0x9010f0,_0x38d66b- -_0x3a1bc7._0x146942,_0x25998f-0x99,_0x9010f0-_0x3a1bc7._0x22f00d);}_0x23afb2[_0x2255c2(_0x137894._0x4753f9,_0x137894._0x101a42,_0x137894._0x9b499f,0x3a5)]('textDocument/didClose',{'textDocument':{'uri':uriForPath(_0x47f555)}});}},'request':{async 'definition'(_0x41bc38){function _0x268e98(_0x444bbe,_0x39604b,_0x4b7e06,_0x4cddf7){return _0x299f6b(_0x444bbe,_0x39604b-_0x318b1f._0x3db683,_0x4b7e06-0xdb,_0x4cddf7-_0x318b1f._0x2f2cc4);}return normalizeLocations(await _0x2598e7(_0x268e98(_0x4e9d1f._0x2e4187,_0x4e9d1f._0x52a3b3,_0x4e9d1f._0x560c65,_0x4e9d1f._0x391cf0),textDocumentPosition(_0x41bc38)));},async 'references'(_0x10c8ea){const _0x329aeb={_0x2bf21d:0x18d,_0x51b11e:0xac};function _0x549006(_0x199956,_0x35c2c8,_0x20d6d8,_0x213351){return _0x299f6b(_0x199956,_0x213351-0x3d9,_0x20d6d8-_0x329aeb._0x2bf21d,_0x213351-_0x329aeb._0x51b11e);}return normalizeLocations(await _0x2598e7(_0x549006(_0x3390c8._0x3711ed,_0x3390c8._0x3135df,0x4fc,_0x3390c8._0x436a1a),{...textDocumentPosition(_0x10c8ea),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0xdd915d){function _0x62b16c(_0x2d1a32,_0x47a4bd,_0x2d7561,_0x1bc8a2){return _0x299f6b(_0x2d7561,_0x47a4bd-_0x532f5e._0x53555c,_0x2d7561-0x1b5,_0x1bc8a2-0x1a5);}return await _0x2598e7(_0x62b16c(_0x2856a8._0x55ee24,0x607,0x7aa,_0x2856a8._0x312541),textDocumentPosition(_0xdd915d))??null;},async 'documentSymbol'(_0x456458){return await _0x2598e7('textDocument/documentSymbol',{'textDocument':{'uri':uriForPath(_0x456458)}})??[];},async 'workspaceSymbol'(_0x527f50){const _0x650373={_0x3ca061:0x3b5};function _0x1e4cbe(_0x2eb01a,_0x2c668a,_0x1187f7,_0x2076a7){return _0x299f6b(_0x2eb01a,_0x1187f7-_0x650373._0x3ca061,_0x1187f7-0x1e0,_0x2076a7-0x56);}return await _0x2598e7(_0x1e4cbe(_0x191f96._0x568174,0x55a,_0x191f96._0x2d861c,_0x191f96._0x2f8aed),{'query':_0x527f50})??[];},async 'implementation'(_0x441142){function _0x1e1008(_0x44207c,_0x17583a,_0x143e68,_0x3654df){return _0x299f6b(_0x143e68,_0x17583a-_0xe839e2._0xbb1d99,_0x143e68-0xa2,_0x3654df-0x79);}return normalizeLocations(await _0x2598e7(_0x1e1008(_0x319905._0x1b7b37,0x47b,_0x319905._0x18c5d4,_0x319905._0x32a033),textDocumentPosition(_0x441142)));},async 'prepareCallHierarchy'(_0x5870da){function _0x154db9(_0x1fbf4f,_0x36b591,_0x1b70b5,_0x2860e9){return _0x299f6b(_0x2860e9,_0x1fbf4f- -0x4f,_0x1b70b5-0x3c,_0x2860e9-_0x1e87de._0x5b7296);}return await _0x2598e7(_0x154db9(_0x20058c._0x412821,0x22d,_0x20058c._0x2dc0b3,_0x20058c._0x3f1cfe),textDocumentPosition(_0x5870da))??[];},async 'incomingCalls'(_0x131033){return await _0x2598e7('callHierarchy/incomingCalls',{'item':_0x131033})??[];},async 'outgoingCalls'(_0x3a830b){const _0x47e374={_0x76c1b6:0xa3,_0x1ad259:0x91,_0x434658:0x195};function _0x44d95f(_0x42a6ba,_0x303224,_0x445119,_0x302c09){return _0x299f6b(_0x303224,_0x42a6ba- -_0x47e374._0x76c1b6,_0x445119-_0x47e374._0x1ad259,_0x302c09-_0x47e374._0x434658);}return await _0x2598e7(_0x44d95f(0xbb,0x136,_0x287015._0x432116,_0x287015._0xa24afe),{'item':_0x3a830b})??[];}},'waitForDiagnostics'({path:_0x544a5f,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x58b9d2={_0x2ff0f5:0x155,_0x28f349:0x1d5},_0x573194={_0x1ef6e3:0xce},_0x38f108=uriForPath(_0x544a5f);if(_0x469414[_0xafa310(0x2eb,0x4dc,0x4ac,_0x3a36cd._0x32f1f1)](_0x38f108))return Promise[_0x37cef2(0x77,0x235,_0x3a36cd._0x1cc99b,0x378)]();function _0x37cef2(_0x9d4e91,_0x54081c,_0xddabf6,_0x147836){return _0x299f6b(_0x9d4e91,_0x54081c-0xa2,_0xddabf6-_0x573194._0x1ef6e3,_0x147836-0xdf);}function _0xafa310(_0x2fe27c,_0x523aea,_0x159771,_0x26e3c6){return _0x5f109b(_0x523aea- -0x34a,_0x26e3c6,_0x159771-_0x58b9d2._0x2ff0f5,_0x26e3c6-_0x58b9d2._0x28f349);}return new Promise(_0x32769d=>{const _0x188bb7={_0x8699cf:0x3,_0x124127:0xff},_0x36a3ed={_0x38d281:0x122},_0x245012=setTimeout(()=>{const _0xde706a=_0x5bfb8b['get'](_0x38f108);_0xde706a?.['delete'](_0x12e90d);if(_0xde706a?.['size']===0x0)_0x5bfb8b['delete'](_0x38f108);_0x32769d();},timeoutMs);function _0x20054b(_0x308968,_0x573318,_0x50732e,_0x49a0f1){return _0x37cef2(_0x50732e,_0x49a0f1- -0x26b,_0x50732e-_0x36a3ed._0x38d281,_0x49a0f1-0x1b6);}const _0x12e90d=()=>{clearTimeout(_0x245012),_0x32769d();},_0x53d4ab=_0x5bfb8b[_0x1e7816(_0x355196._0x47ac08,0x5c5,0x6ef,0x6bf)](_0x38f108)??new Set();_0x53d4ab[_0x1e7816(0x491,0x689,0x7f9,_0x355196._0x59d49a)](_0x12e90d);function _0x1e7816(_0x4e8c29,_0x166b3b,_0x496115,_0x209f19){return _0x37cef2(_0x209f19,_0x166b3b-0x415,_0x496115-_0x188bb7._0x8699cf,_0x209f19-_0x188bb7._0x124127);}_0x5bfb8b[_0x1e7816(0x572,_0x355196._0x396fe3,_0x355196._0x3acb2c,_0x355196._0x2d91a0)](_0x38f108,_0x53d4ab);});},async 'shutdown'(){const _0xb5814f={_0x898123:0x1a8},_0x296ab7={_0x46fa46:0x1ea};if(_0x269968)return;function _0x55250f(_0x4f4ef8,_0x205ece,_0x9400b9,_0x5be5cb){return _0x5f109b(_0x5be5cb- -0xba,_0x205ece,_0x9400b9-0x19c,_0x5be5cb-_0x296ab7._0x46fa46);}function _0x5c4f82(_0x401ddc,_0x59109c,_0x32232c,_0x5640d4){return _0x299f6b(_0x59109c,_0x401ddc-_0xb5814f._0x898123,_0x32232c-0x13f,_0x5640d4-0xbf);}_0x269968=!![];try{await _0x2598e7(_0x55250f(_0x391d7e._0x55dbde,_0x391d7e._0x1cd1bd,_0x391d7e._0x9dbe15,0x5e8),null),_0x23afb2[_0x55250f(_0x391d7e._0x581dbf,0x520,_0x391d7e._0x5119aa,_0x391d7e._0x30a524)](_0x5c4f82(_0x391d7e._0x47dd05,0x179,_0x391d7e._0x5ec6d6,0x4c6));}catch{}finally{_0x23afb2[_0x55250f(_0x391d7e._0x13a26b,0x4bd,_0x391d7e._0x33ffce,0x386)](),_0x103082[_0x55250f(0x644,_0x391d7e._0x39eae3,0x736,_0x391d7e._0x406c01)][_0x5c4f82(0x5b9,0x4ab,0x52f,_0x391d7e._0x555651)]['kill']();}}};return _0x59e9ed;}import{spawn as _0x569f7b}from'child_process';import{access as _0x49562f}from'fs/promises';import _0x19950e from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x3190db from'os';import _0x1eeed8 from'path';import _0x453236 from'which';var installPromises=new Map();function sanitizePackageName(_0x2a6f9a){const _0x57cdb0={_0x5822f3:0x2cf,_0x401e50:0xc5},_0x390637={_0x27f4bd:0x3};function _0x33c74a(_0xca5cd,_0x1b2abb,_0x11d236,_0x3c4952){return _0x38b1c5(_0xca5cd-0x14,_0x1b2abb-_0x390637._0x27f4bd,_0x11d236- -0x5be,_0xca5cd);}function _0x3440e0(_0xbe19b1,_0x254d7c,_0x55c92c,_0x155ead){return _0x38b1c5(_0xbe19b1-0x100,_0x254d7c-0xe3,_0xbe19b1- -0x255,_0x254d7c);}return _0x2a6f9a[_0x33c74a(-0x171,-0x23c,-0x1bc,-_0x57cdb0._0x5822f3)](/^@/,'')[_0x33c74a(-0x3c1,-_0x57cdb0._0x401e50,-0x1bc,-0x1cd)](/[/]/g,'__');}function binaryNameForPlatform(_0x1214b8){const _0x52de87={_0x2b09d0:0x270,_0x5cb18c:0x4a3,_0x42092e:0x36f,_0x485d86:0x250,_0x145436:0x345},_0x1e76f6={_0x1a82e7:0x3e3};function _0x56a248(_0x1034d2,_0x36b5c2,_0xdd9947,_0xb59752){return _0x38b1c5(_0x1034d2-0x8e,_0x36b5c2-0x114,_0xdd9947- -_0x1e76f6._0x1a82e7,_0x36b5c2);}function _0x2c40e1(_0x1ca3d7,_0x55f9ae,_0x10c852,_0x4e8fbd){return _0x38b1c5(_0x1ca3d7-0x139,_0x55f9ae-0x184,_0x4e8fbd- -0x386,_0x10c852);}return process[_0x56a248(0x247,_0x52de87._0x2b09d0,0x429,_0x52de87._0x5cb18c)]===_0x2c40e1(0x273,0x403,_0x52de87._0x42092e,0x1f6)?_0x1214b8+_0x2c40e1(_0x52de87._0x485d86,0x43a,0x2d3,_0x52de87._0x145436):_0x1214b8;}async function exists(_0x95e280){try{return await access(_0x95e280),!![];}catch{return![];}}function runNpmInstall(_0x41aba1,_0x33bc98,_0x31dc43){const _0x1420c8={_0x298569:0x3b5,_0x3bc513:0x343,_0x48de3a:0x15f,_0x43799e:0x87,_0x58ff43:0x3e2,_0x5e08a3:0x5e3,_0xe59a1c:0x2c7,_0x4f9ce5:0xb4,_0x5b656a:0x133};return new Promise(_0x224670=>{const _0x346989={_0x399197:0x2cf},_0x5b3c42=spawn(_0x10e2a5(_0x1420c8._0x298569,0x316,_0x1420c8._0x3bc513,_0x1420c8._0x48de3a),[_0x10e2a5(0x3f,0xe3,0xcf,_0x1420c8._0x43799e),_0x10e2a5(0x47a,_0x1420c8._0x58ff43,_0x1420c8._0x5e08a3,_0x1420c8._0xe59a1c),_0x41aba1,_0x33bc98],{'env':_0x31dc43,'stdio':_0x287ead(-0x9f,_0x1420c8._0x4f9ce5,-0x9,_0x1420c8._0x5b656a)});_0x5b3c42['on'](_0x10e2a5(0x1be,0x293,0x3b0,0x419),()=>_0x224670(![]));function _0x287ead(_0x4987e7,_0x321ec6,_0x3110bf,_0x3e9ebe){return _0x3233(_0x321ec6- -_0x346989._0x399197,_0x4987e7);}function _0x10e2a5(_0x2eba5a,_0x19fdf7,_0x221431,_0x2d7cc2){return _0x3233(_0x19fdf7- -0x103,_0x221431);}_0x5b3c42['on'](_0x10e2a5(0x20e,0x22e,0x389,0x1e4),_0x14f3c5=>_0x224670(_0x14f3c5===0x0));});}function shouldDisableLspDownload(_0x12be48=process[_0x38b1c5(0x5e2,0x4f3,0x431,0x2c8)]){const _0x13ca74={_0x3ad9b2:0x178,_0x155213:0x1ce,_0x4c1e32:0x1b2,_0x284f75:0xcb,_0x384b89:0x21d,_0x4a864e:0xed,_0x409e4:0x1fb,_0x3bd603:0x17f},_0x403589={_0x842e49:0x11c,_0x204be5:0x63},_0xc92d20={_0x53dfbc:0x54e,_0x1b9840:0x18f,_0x1525f5:0x5a},_0x588958=_0x12be48[_0x2c2309(_0x13ca74._0x3ad9b2,0x2f7,_0x13ca74._0x155213,_0x13ca74._0x4c1e32)]?.[_0x2c2309(0x22a,0x241,0x246,_0x13ca74._0x284f75)]();function _0x371b2e(_0x33dfaa,_0x4076ac,_0x401fc1,_0x5ed28a){return _0x4a0aa5(_0x401fc1,_0x5ed28a- -_0xc92d20._0x53dfbc,_0x401fc1-_0xc92d20._0x1b9840,_0x5ed28a-_0xc92d20._0x1525f5);}function _0x2c2309(_0x12089e,_0x51872b,_0x3aa39d,_0x295f8e){return _0x38b1c5(_0x12089e-_0x403589._0x842e49,_0x51872b-_0x403589._0x204be5,_0x3aa39d- -0x4f7,_0x51872b);}return _0x588958===_0x371b2e(0xee,_0x13ca74._0x384b89,-_0x13ca74._0x4a864e,0x59)||_0x588958==='1'||_0x588958===_0x2c2309(_0x13ca74._0x409e4,0xf,_0x13ca74._0x3bd603,0xa4)||_0x588958==='on';}function getLspPackageDir(_0x82bccc){const _0x5deae1={_0x179c19:0x843,_0x32ca68:0x6c9,_0x49dacd:0x606,_0xbabe5e:0x75a,_0x588140:0x698,_0x4d80b2:0x550},_0x1985be={_0x27332e:0x6c,_0x3130de:0xc7},_0x1a14f4={_0xa4106c:0x54};function _0x6654e3(_0x5b894c,_0x57b894,_0x286036,_0x5d33d9){return _0x4a0aa5(_0x57b894,_0x5b894c-0x1ca,_0x286036-0xd6,_0x5d33d9-_0x1a14f4._0xa4106c);}function _0x3a2224(_0x36781a,_0x31d777,_0x50a5e3,_0x326093){return _0x38b1c5(_0x36781a-_0x1985be._0x27332e,_0x31d777-_0x1985be._0x3130de,_0x326093-0xed,_0x31d777);}return _0x1eeed8[_0x6654e3(0x6f7,0x868,_0x5deae1._0x179c19,_0x5deae1._0x32ca68)](_0x3190db[_0x3a2224(_0x5deae1._0x49dacd,_0x5deae1._0xbabe5e,0x684,_0x5deae1._0x588140)](),_0x3a2224(_0x5deae1._0x4d80b2,0x725,0x48b,0x5e5),'lsp','packages',sanitizePackageName(_0x82bccc));}function getLspBinDir(_0x537777){const _0x3257f3={_0x983fd5:0x39c,_0x440fb2:0x2ad,_0xb00a31:0x3c0},_0x4572cf={_0x50f393:0x33e},_0x9c2148={_0x4839a2:0x3d,_0x486b11:0x144};function _0x1b76e9(_0x37c430,_0x491360,_0x536bcf,_0x2b6990){return _0x38b1c5(_0x37c430-_0x9c2148._0x4839a2,_0x491360-_0x9c2148._0x486b11,_0x491360- -0x293,_0x536bcf);}function _0x14c99c(_0x43a75d,_0x291347,_0x1a89e8,_0x49b01d){return _0x38b1c5(_0x43a75d-0x108,_0x291347-0x1f4,_0x49b01d- -_0x4572cf._0x50f393,_0x43a75d);}return _0x1eeed8[_0x14c99c(0xa9,_0x3257f3._0x983fd5,0x2dd,_0x3257f3._0x440fb2)](getLspPackageDir(_0x537777),'node_modules',_0x1b76e9(0x2cb,0x3d9,_0x3257f3._0xb00a31,0x4ee));}async function findPackageBinary(_0x5eec81,_0x2bbd69){const _0x5c04d3={_0x486417:0x1d9,_0x1a8b0b:0x270,_0x2d90c8:0x3b1,_0x4d2b19:0xe2,_0xfc905:0x5a},_0x2f9fde={_0x280e9c:0x1d7,_0x3036b2:0x151},_0x193224={_0x663a78:0x157,_0x184801:0xe8};let _0x1c339a=_0x1eeed8[_0x153af7(0x304,0x579,0x476,0x4f7)](_0x2bbd69);function _0x153af7(_0x51efb5,_0x39325f,_0x17081a,_0x418865){return _0x38b1c5(_0x51efb5-_0x193224._0x663a78,_0x39325f-0x9b,_0x17081a- -_0x193224._0x184801,_0x39325f);}const _0x25a14c=binaryNameForPlatform(_0x5eec81);function _0x4b2e67(_0x5897a9,_0x437a0d,_0x3ad23a,_0x20d725){return _0x38b1c5(_0x5897a9-_0x2f9fde._0x280e9c,_0x437a0d-_0x2f9fde._0x3036b2,_0x437a0d- -0x37b,_0x20d725);}while(!![]){const _0x3c284f=_0x1eeed8[_0x4b2e67(_0x5c04d3._0x486417,_0x5c04d3._0x1a8b0b,0x314,0x2c7)](_0x1c339a,'node_modules',_0x153af7(0x3e4,0x3c2,0x584,_0x5c04d3._0x2d90c8),_0x25a14c);if(await exists(_0x3c284f))return _0x3c284f;const _0x523c14=_0x1eeed8[_0x4b2e67(0x2d0,_0x5c04d3._0x4d2b19,_0x5c04d3._0xfc905,-0x21)](_0x1c339a);if(_0x523c14===_0x1c339a)return void 0x0;_0x1c339a=_0x523c14;}}async function findPathBinary(_0x55e324,_0x5acdad){const _0x3b4cf2={_0x305a71:0xba,_0x26ed99:0x1c7,_0x40e419:0x47d,_0x2402c6:0x2a3,_0x9d7a8:0x55,_0x5358ab:0x1a6,_0x5d950e:0x2cd,_0x43f44e:0x301},_0x33113b={_0x543049:0x196,_0x2ec7f4:0x255},_0x59dcf5={_0x129393:0x2d,_0x12a2e7:0xeb};function _0x3865ad(_0x2868ad,_0x55bc4f,_0x1a93b9,_0x54dca0){return _0x4a0aa5(_0x55bc4f,_0x2868ad- -0xb4,_0x1a93b9-_0x59dcf5._0x129393,_0x54dca0-_0x59dcf5._0x12a2e7);}const _0x9d9aa5=getLspBinDir(_0x5acdad);function _0x866622(_0x1b88f5,_0x98a522,_0x48d1e1,_0x42a5a7){return _0x38b1c5(_0x1b88f5-_0x33113b._0x543049,_0x98a522-0x172,_0x48d1e1- -_0x33113b._0x2ec7f4,_0x98a522);}const _0x2d3785=[_0x9d9aa5,process[_0x3865ad(0x2bf,0x29e,_0x3b4cf2._0x305a71,_0x3b4cf2._0x26ed99)][_0x3865ad(_0x3b4cf2._0x40e419,0x666,_0x3b4cf2._0x2402c6,0x354)]][_0x866622(0xf,_0x3b4cf2._0x9d7a8,_0x3b4cf2._0x5358ab,0x30c)](Boolean)[_0x3865ad(0x479,_0x3b4cf2._0x5d950e,_0x3b4cf2._0x43f44e,0x35a)](_0x1eeed8['delimiter']);try{return await _0x453236(_0x55e324,{'path':_0x2d3785});}catch{return void 0x0;}}async function resolvePackageBinary(_0x5e854e){const _0x3d224c={_0x24a9e6:0x8a,_0xd893e9:0x55c,_0x588c37:0xed,_0x469251:0x1bf,_0x1d24d9:0x54,_0x13f9d0:0xb9,_0x27140c:0xfa,_0x3b102d:0x80,_0x5d21e1:0x248,_0x1a8c59:0x459,_0xbfa270:0x41a,_0x15bb34:0xc9,_0x123fb5:0x7c,_0x1d0fa5:0x54b,_0x1da9b7:0x2e0,_0x377439:0x453,_0x224a58:0x5e7,_0x474a63:0x1bc},_0x2eb6cd={_0x5fc25f:0x3de,_0x36ead9:0x375,_0x39b083:0x417,_0x41ee69:0x566,_0x44a1d1:0x2cf,_0x21e100:0x27,_0x55a6a6:0x31c,_0x2fb013:0x2c5},_0x21d729={_0x4b07aa:0x10d,_0x25a6f:0x1d2,_0x51b210:0x179},_0x505eda={_0x569172:0x31f,_0x44c8bb:0xa6},_0x31fd89=_0x5e854e[_0x18844f(-0xd0,0x137,-0x86,_0x3d224c._0x24a9e6)]??_0x5e854e[_0x18844f(0x357,0x3b6,0x518,_0x3d224c._0xd893e9)],_0x43e902=await findPackageBinary(_0x31fd89,_0x5e854e[_0x18844f(0x1dd,_0x3d224c._0x588c37,0x1a4,0x30)]);if(_0x43e902)return _0x43e902;const _0xa492f=await findPathBinary(_0x31fd89,_0x5e854e['packageName']);if(_0xa492f)return _0xa492f;function _0x1046af(_0x42d508,_0x5d95c9,_0x3d028b,_0x30425b){return _0x4a0aa5(_0x5d95c9,_0x3d028b- -0x17d,_0x3d028b-0x1dd,_0x30425b-0x1dc);}const _0x4f9bb5=_0x5e854e[_0x18844f(_0x3d224c._0x469251,_0x3d224c._0x1d24d9,_0x3d224c._0x13f9d0,0x31)]??process[_0x18844f(-_0x3d224c._0x27140c,_0x3d224c._0x1d24d9,_0x3d224c._0x3b102d,0x11b)];if(shouldDisableLspDownload(_0x4f9bb5))return void 0x0;function _0x18844f(_0x1d100d,_0x2da43b,_0x23571d,_0x5cd7d3){return _0x4a0aa5(_0x5cd7d3,_0x2da43b- -_0x505eda._0x569172,_0x23571d-_0x505eda._0x44c8bb,_0x5cd7d3-0x1a7);}const _0x22b8f7=getLspPackageDir(_0x5e854e[_0x18844f(0x45d,0x3b6,0x446,_0x3d224c._0x5d21e1)]),_0x3e809a=_0x5e854e[_0x1046af(_0x3d224c._0x1a8c59,0x73e,0x558,_0x3d224c._0xbfa270)]+':'+_0x31fd89;let _0x4bf55a=installPromises[_0x18844f(0x251,0xfc,_0x3d224c._0x15bb34,-_0x3d224c._0x123fb5)](_0x3e809a);!_0x4bf55a&&(_0x4bf55a=((async()=>{const _0x10814c={_0x44e8a1:0x1e4,_0x287ab7:0x3d5};await mkdir(_0x22b8f7,{'recursive':!![]});const _0x5ec7dd=await runNpmInstall(_0x22b8f7,_0x5e854e[_0x5b08df(_0x2eb6cd._0x5fc25f,0x588,_0x2eb6cd._0x36ead9,_0x2eb6cd._0x39b083)],_0x4f9bb5);if(!_0x5ec7dd)return void 0x0;const _0x5c3e67=_0x1eeed8[_0x5b08df(0x36c,0x3e0,_0x2eb6cd._0x41ee69,_0x2eb6cd._0x44a1d1)](getLspBinDir(_0x5e854e[_0x4ddb0f(_0x2eb6cd._0x21e100,0x183,_0x2eb6cd._0x55a6a6,_0x2eb6cd._0x2fb013)]),binaryNameForPlatform(_0x31fd89));function _0x4ddb0f(_0xc2b9ea,_0x4f30f3,_0x17e7eb,_0x1dc577){return _0x1046af(_0xc2b9ea-_0x10814c._0x44e8a1,_0x1dc577,_0x4f30f3- -_0x10814c._0x287ab7,_0x1dc577-0xef);}function _0x5b08df(_0x4c8c9c,_0x44219e,_0xfe3578,_0x5957ee){return _0x18844f(_0x4c8c9c-_0x21d729._0x4b07aa,_0x44219e-_0x21d729._0x25a6f,_0xfe3578-_0x21d729._0x51b210,_0x5957ee);}return await exists(_0x5c3e67)?_0x5c3e67:void 0x0;})()),installPromises[_0x1046af(_0x3d224c._0x1d0fa5,_0x3d224c._0x1da9b7,_0x3d224c._0x377439,_0x3d224c._0x224a58)](_0x3e809a,_0x4bf55a));try{return await _0x4bf55a;}catch{return void 0x0;}finally{installPromises[_0x1046af(0x3fc,0x376,0x2b3,_0x3d224c._0x474a63)](_0x3e809a);}}var TYPESCRIPT_EXTENSIONS=['.ts',_0x4a0aa5(0x4b0,0x62c,0x508,0x677),_0x38b1c5(0x640,0x563,0x663,0x7c0),'.jsx',_0x38b1c5(0x57e,0x622,0x4ec,0x377),'.cjs',_0x4a0aa5(0x7e2,0x645,0x754,0x75b),_0x4a0aa5(0x2dc,0x3ad,0x36c,0x306)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x38b1c5(0x770,0x7d0,0x801,0x626),_0x38b1c5(0x914,0x73e,0x7c8,0x7d5)],TYPESCRIPT_ROOT_MARKERS=[_0x4a0aa5(0x54b,0x3c8,0x5a0,0x47e),_0x4a0aa5(0x275,0x382,0x244,0x1ff),_0x38b1c5(0x5df,0x3cc,0x4ba,0x6c4),_0x38b1c5(0x5a4,0x524,0x5bc,0x6af),_0x38b1c5(0x659,0x6f3,0x7e5,0x954),'tsconfig.json',_0x4a0aa5(0x775,0x66b,0x653,0x65e),_0x4a0aa5(0x344,0x4c9,0x5ba,0x67e)],BIOME_ROOT_MARKERS=[_0x4a0aa5(0x24f,0x41c,0x284,0x5f4),_0x4a0aa5(0x550,0x659,0x657,0x852),_0x38b1c5(0x448,0x2b8,0x486,0x616),_0x38b1c5(0x28d,0x2f0,0x440,0x55e),'bun.lock',_0x38b1c5(0x599,0x657,0x5bc,0x6fc),_0x38b1c5(0x7db,0x90d,0x7e5,0x740),'package.json'];async function exists2(_0x33d6a6){try{return await _0x49562f(_0x33d6a6),!![];}catch{return![];}}async function findUp(_0x25e85d,_0x2c996d){const _0x14c3c2={_0x5ba211:0xd,_0x194c0a:0x401,_0x368abe:0x6b8,_0x571b78:0x4e5,_0x40eab7:0x689,_0x3f00af:0x21},_0x5d54a2={_0x30b654:0x37e,_0x441df7:0x15e,_0x205279:0x1c7},_0x3faa44={_0x164e23:0xfb,_0x4fe9bb:0x5c};function _0x4347e8(_0x5477cf,_0x26a45b,_0x26af84,_0x32af7f){return _0x38b1c5(_0x5477cf-0x195,_0x26a45b-_0x3faa44._0x164e23,_0x5477cf- -_0x3faa44._0x4fe9bb,_0x26a45b);}function _0x54315b(_0x56e9b1,_0x407837,_0x1df38b,_0x468c5b){return _0x4a0aa5(_0x1df38b,_0x407837- -_0x5d54a2._0x30b654,_0x1df38b-_0x5d54a2._0x441df7,_0x468c5b-_0x5d54a2._0x205279);}let _0x3a8617=_0x19950e['resolve'](_0x25e85d);const _0x3757a9=_0x19950e[_0x54315b(0x296,0x1c1,0x25a,_0x14c3c2._0x5ba211)](_0x3a8617);if(_0x3757a9)_0x3a8617=_0x19950e[_0x4347e8(_0x14c3c2._0x194c0a,0x3aa,0x28d,0x257)](_0x3a8617);while(!![]){for(const _0x1442e7 of _0x2c996d){if(await exists2(_0x19950e[_0x4347e8(0x58f,_0x14c3c2._0x368abe,_0x14c3c2._0x571b78,_0x14c3c2._0x40eab7)](_0x3a8617,_0x1442e7)))return _0x3a8617;}const _0x5e529b=_0x19950e[_0x54315b(-0xfb,_0x14c3c2._0x3f00af,-0x5f,0x14d)](_0x3a8617);if(_0x5e529b===_0x3a8617)return void 0x0;_0x3a8617=_0x5e529b;}}async function hasDenoRoot(_0xc987f9){const _0x22c670={_0x42ac22:0x79e,_0x37c9f3:0x4b5,_0x5e102a:0x551,_0x410b9b:0x69c,_0x17ee42:0x2cd,_0x256690:0x226,_0x5ca458:0x102,_0x1a47be:0x9f},_0x3bda2d={_0x3ebf94:0x6b,_0xa5128b:0xb1},_0x15c1bf={_0x411d94:0x43c,_0x161b01:0x7b};function _0x364746(_0x3c623a,_0x42dab7,_0x23dbb5,_0x46fdd6){return _0x4a0aa5(_0x23dbb5,_0x46fdd6- -_0x15c1bf._0x411d94,_0x23dbb5-0x192,_0x46fdd6-_0x15c1bf._0x161b01);}function _0x1c65f2(_0x2afaeb,_0x132bfc,_0x20cecd,_0x1c7cf8){return _0x38b1c5(_0x2afaeb-_0x3bda2d._0x3ebf94,_0x132bfc-0x98,_0x1c7cf8-_0x3bda2d._0xa5128b,_0x20cecd);}return await exists2(_0x19950e[_0x1c65f2(_0x22c670._0x42ac22,_0x22c670._0x37c9f3,_0x22c670._0x5e102a,_0x22c670._0x410b9b)](_0xc987f9,_0x364746(_0x22c670._0x17ee42,_0x22c670._0x256690,0x10e,_0x22c670._0x5ca458)))||await exists2(_0x19950e[_0x364746(0x125,0xbc,-_0x22c670._0x1a47be,0xf1)](_0xc987f9,'deno.jsonc'));}async function resolveTsserverPath(_0x180e6c){const _0x21da37={_0x2be0f6:0x3eb,_0x1c4889:0x235,_0x31f1bb:0x570,_0xb61782:0x403,_0x16b161:0x1a7,_0x13e606:0x262,_0x306a87:0x16f,_0x1402e6:0x16d,_0x4a6101:0x5d,_0x829e3e:0x43f,_0x2b0069:0x3f1,_0x553c51:0x65,_0x4c0653:0x5c,_0x448934:0x32d,_0x4e8f2a:0x25,_0x430984:0x34,_0xe25adc:0x494,_0x46766a:0x458,_0x113926:0x5c3},_0x14d167={_0x432b32:0x1a2},_0xf2aef={_0x34d436:0xba,_0x3324a8:0x77,_0x3059a1:0x5ca};let _0x3849d3=_0x19950e['resolve'](_0x180e6c);while(!![]){const _0x200586=_0x19950e[_0x59fc22(0x445,0x449,0x2d4,_0x21da37._0x2be0f6)](_0x3849d3,'node_modules',_0x59fc22(_0x21da37._0x1c4889,0x3c3,0x4f8,_0x21da37._0x31f1bb),_0x59fc22(0x58d,_0x21da37._0xb61782,0x51e,0x60d),_0x3156a0(0x6c,_0x21da37._0x16b161,_0x21da37._0x13e606,-_0x21da37._0x306a87));if(await exists2(_0x200586))return _0x200586;const _0x5f3c45=_0x19950e[_0x3156a0(-_0x21da37._0x1402e6,-_0x21da37._0x4a6101,-0x142,-0xb4)](_0x3849d3);if(_0x5f3c45===_0x3849d3)break;_0x3849d3=_0x5f3c45;}function _0x3156a0(_0x2db478,_0x5ab226,_0x1faaa1,_0x22cba8){return _0x38b1c5(_0x2db478-_0xf2aef._0x34d436,_0x5ab226-_0xf2aef._0x3324a8,_0x2db478- -_0xf2aef._0x3059a1,_0x5ab226);}const _0x2572a6=getLspPackageDir(_0x59fc22(_0x21da37._0x829e3e,0x3c3,0x3f0,_0x21da37._0x2b0069)),_0x1de078=await resolvePackageBinary({'packageName':_0x3156a0(-_0x21da37._0x553c51,-_0x21da37._0x4c0653,-0x1b5,-0xb5),'binaryName':'tsc','startDir':_0x180e6c});function _0x59fc22(_0x559ff4,_0x119960,_0x297879,_0x2f3c3f){return _0x38b1c5(_0x559ff4-0x140,_0x119960-0x1b1,_0x119960- -_0x14d167._0x432b32,_0x559ff4);}if(!_0x1de078)return void 0x0;const _0x2945e6=_0x19950e['join'](_0x2572a6,_0x3156a0(-0xe1,-0x2bb,-0x59,0xeb),_0x59fc22(0x49f,0x3c3,_0x21da37._0x448934,0x55d),_0x3156a0(-_0x21da37._0x4e8f2a,0x170,-0x1cc,-_0x21da37._0x430984),_0x59fc22(0x36c,_0x21da37._0xe25adc,_0x21da37._0x46766a,_0x21da37._0x113926));return await exists2(_0x2945e6)?_0x2945e6:void 0x0;}var TypeScriptServer={'id':_0x4a0aa5(0x42f,0x4a7,0x555,0x5a3),'name':_0x38b1c5(0x6e8,0x4f7,0x516,0x309),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x45edef){const _0x352e9f=await findUp(_0x45edef,TYPESCRIPT_ROOT_MARKERS);if(!_0x352e9f)return void 0x0;return await hasDenoRoot(_0x352e9f)?void 0x0:_0x352e9f;},async 'spawn'(_0x49e11e){const _0x4d0aeb={_0x214be6:0x112,_0xe73d1b:0xf,_0x3ecc34:0x9,_0x2bdd7d:0x1ea,_0x252197:0x1d5,_0x3c3e16:0xb8,_0x4b8f3a:0x66,_0x3d1293:0x6e},_0x11fc8a=await resolveTsserverPath(_0x49e11e);if(!_0x11fc8a)return void 0x0;const _0x1dc0e3=await resolvePackageBinary({'packageName':_0x59514d(-0x2b3,-0x193,-_0x4d0aeb._0x214be6,0x5e),'binaryName':_0x1ebe29(_0x4d0aeb._0xe73d1b,_0x4d0aeb._0x3ecc34,-_0x4d0aeb._0x2bdd7d,-_0x4d0aeb._0x252197),'startDir':_0x49e11e});function _0x1ebe29(_0x4ecb94,_0x46e36b,_0x124729,_0x3d0a33){return _0x4a0aa5(_0x4ecb94,_0x46e36b- -0x3e4,_0x124729-0x1ea,_0x3d0a33-0x71);}function _0x59514d(_0x129d6c,_0x30953c,_0x2c1eab,_0x46b9cb){return _0x4a0aa5(_0x30953c,_0x2c1eab- -0x4ff,_0x2c1eab-0x19,_0x46b9cb-0xf1);}if(!_0x1dc0e3)return void 0x0;return{'process':_0x569f7b(_0x1dc0e3,[_0x59514d(0x4c,_0x4d0aeb._0x3c3e16,-0x57,_0x4d0aeb._0x4b8f3a)],{'cwd':_0x49e11e,'stdio':_0x1ebe29(-0x114,-_0x4d0aeb._0x3d1293,0x165,0x13d)}),'initialization':{'tsserver':{'path':_0x11fc8a}}};}},BiomeServer={'id':_0x38b1c5(0x83d,0x685,0x64c,0x60c),'name':_0x38b1c5(0x4f3,0x575,0x4c4,0x3eb),'extensions':BIOME_EXTENSIONS,async 'root'(_0x53081c){return findUp(_0x53081c,BIOME_ROOT_MARKERS);},async 'spawn'(_0x2f14ae){const _0x5038b4={_0x23308e:0x6d9,_0xcffa86:0x668,_0x361533:0x6f5,_0x1d922e:0x3bf,_0x79235:0x562,_0xee67b8:0x556,_0x311e96:0x8fc,_0x4de794:0x823,_0x214667:0x775,_0x414fa2:0x46e,_0x386e8d:0x65d,_0x2cc91f:0x60f,_0x4ea711:0x1ab,_0x32ad23:0x2a,_0xfa818d:0x43},_0x3f07e7={_0xa14b2d:0x51,_0x3575f0:0x289},_0x1ae555={_0x10917a:0x167,_0x30d8e8:0x6d},_0x28a601=await findPackageBinary(_0x46a3b7(_0x5038b4._0x23308e,_0x5038b4._0xcffa86,0x589,_0x5038b4._0x361533),_0x2f14ae)??await resolvePackageBinary({'packageName':_0x18060c(_0x5038b4._0x1d922e,0x4fd,_0x5038b4._0x79235,_0x5038b4._0xee67b8),'binaryName':_0x46a3b7(_0x5038b4._0x311e96,0x5b9,_0x5038b4._0x4de794,0x6f5),'startDir':_0x2f14ae});function _0x46a3b7(_0x596ec4,_0x1f8f01,_0x3d4782,_0x47d64e){return _0x4a0aa5(_0x1f8f01,_0x47d64e-_0x1ae555._0x10917a,_0x3d4782-_0x1ae555._0x30d8e8,_0x47d64e-0x1b0);}function _0x18060c(_0x468060,_0x543fc2,_0x1534e6,_0x23b4a6){return _0x38b1c5(_0x468060-_0x3f07e7._0xa14b2d,_0x543fc2-0x1d8,_0x468060- -_0x3f07e7._0x3575f0,_0x543fc2);}if(!_0x28a601)return void 0x0;return{'process':_0x569f7b(_0x28a601,['lsp-proxy',_0x46a3b7(_0x5038b4._0x214667,_0x5038b4._0x414fa2,_0x5038b4._0x386e8d,_0x5038b4._0x2cc91f)],{'cwd':_0x2f14ae,'stdio':_0x18060c(_0x5038b4._0x4ea711,-_0x5038b4._0x32ad23,0xf7,-_0x5038b4._0xfa818d)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x5974bb){const _0x4b79e1={_0x151eca:0x3b3,_0x4fd0ad:0x335,_0x3dc662:0x4f6,_0x42517b:0x1fd,_0x219964:0x137,_0x3836ea:0x25},_0x1f7cb0={_0x5b5c6e:0x1c8},_0x5e3463={_0x5d5a27:0x1f,_0x1a4d67:0x167},_0x115f9f=_0x19950e[_0x5e10b9(0x496,0x5a1,_0x4b79e1._0x151eca,_0x4b79e1._0x4fd0ad)](_0x5974bb)[_0x5e10b9(0x5d6,_0x4b79e1._0x3dc662,0x7a7,0x7e9)]();function _0x5e10b9(_0x567819,_0x34b42e,_0x24c18f,_0x23e92a){return _0x38b1c5(_0x567819-0x63,_0x34b42e-_0x5e3463._0x5d5a27,_0x567819- -_0x5e3463._0x1a4d67,_0x24c18f);}function _0x22d415(_0x3849cf,_0x47516d,_0x296760,_0x11d3ed){return _0x4a0aa5(_0x296760,_0x3849cf- -0x140,_0x296760-_0x1f7cb0._0x5b5c6e,_0x11d3ed-0x172);}return BUILTIN_LSP_SERVERS[_0x22d415(_0x4b79e1._0x42517b,_0x4b79e1._0x219964,0x2a3,_0x4b79e1._0x3836ea)](_0x1260b4=>_0x1260b4[_0x5e10b9(0x5be,0x5e2,0x3f9,0x52f)]['includes'](_0x115f9f));}function stateKey(_0x40041f,_0x2a9012){return _0x2a9012+':'+_0x40041f['id'];}function diagnosticsKeyToPath(_0x3d20e4){const _0x330f83={_0x35246b:0x3c3,_0x2ca026:0x3aa,_0x57ec9b:0x252,_0x1f36b4:0xbe,_0x258af9:0x1a4},_0x2b1e2e={_0x260a8a:0x37},_0x3aa8d4={_0xb19d00:0x32e};function _0x2557b5(_0x553c93,_0x1edb86,_0x393a7e,_0x3d0d60){return _0x4a0aa5(_0x3d0d60,_0x393a7e- -_0x3aa8d4._0xb19d00,_0x393a7e-0x65,_0x3d0d60-0x7a);}function _0x23a9fd(_0x17771b,_0x88a886,_0x1793d0,_0x3f6601){return _0x38b1c5(_0x17771b-0x1aa,_0x88a886-_0x2b1e2e._0x260a8a,_0x88a886- -0x56b,_0x3f6601);}if(!_0x3d20e4[_0x2557b5(_0x330f83._0x35246b,0x197,_0x330f83._0x2ca026,_0x330f83._0x57ec9b)](_0x2557b5(-0xb3,-_0x330f83._0x1f36b4,0x57,_0x330f83._0x258af9)))return _0x3d20e4;return fileURLToPath(_0x3d20e4);}function nextFileVersion(_0x1fcf95,_0x511b9f){const _0x3e6b7e={_0x19b706:0x29b,_0xdf3738:0x622,_0x49db1b:0x477,_0x123c0a:0x409,_0x1eba30:0x50e,_0x26851f:0x405},_0xb745b0={_0x1b1de3:0x2f1,_0x2d90de:0x73},_0x11498b=(_0x1fcf95['fileVersions'][_0xa5b514(_0x3e6b7e._0x19b706,0x511,_0x3e6b7e._0xdf3738,_0x3e6b7e._0x49db1b)](_0x511b9f)??0x1)+0x1;function _0xa5b514(_0x2efec9,_0x365fff,_0x2bec98,_0x4466c0){return _0x4a0aa5(_0x2efec9,_0x4466c0-0x5c,_0x2bec98-0x144,_0x4466c0-0x1b7);}_0x1fcf95[_0x220103(0x5f7,_0x3e6b7e._0x123c0a,_0x3e6b7e._0x1eba30,_0x3e6b7e._0x26851f)]['set'](_0x511b9f,_0x11498b);function _0x220103(_0x595204,_0x509a22,_0x337700,_0x3c2d66){return _0x4a0aa5(_0x595204,_0x509a22- -_0xb745b0._0x1b1de3,_0x337700-_0xb745b0._0x2d90de,_0x3c2d66-0x2f);}return _0x11498b;}async function collectClientResults(_0x27f863){const _0x50e98a={_0x32e125:0x1bc,_0x4179eb:0x1a3,_0x37ac72:0xa},_0x1c253a={_0x1d726b:0x107},_0x5ef4b4={_0x5eb396:0x1e6};function _0x354038(_0x1ab63d,_0x493dd8,_0x353e83,_0x2ce4cf){return _0x38b1c5(_0x1ab63d-_0x5ef4b4._0x5eb396,_0x493dd8-0x13b,_0x493dd8- -0x4b7,_0x2ce4cf);}const _0x5f5dbc=await Promise['allSettled'](_0x27f863);function _0x4c26f3(_0xb6cf02,_0x490278,_0x11597e,_0xa9606a){return _0x38b1c5(_0xb6cf02-0x19f,_0x490278-_0x1c253a._0x1d726b,_0xb6cf02- -0x3b5,_0x11597e);}return _0x5f5dbc[_0x4c26f3(_0x50e98a._0x32e125,_0x50e98a._0x4179eb,-_0x50e98a._0x37ac72,0x16)](_0x48dc64=>_0x48dc64['status']===_0x354038(-0x6e,0x5,0x15d,-0x180)?_0x48dc64[_0x354038(0x5e,0x1ab,0x227,0x275)]:[]);}function createLspService(_0x37d16={}){const _0x1c0a7c={_0x2fdc92:0x7c6,_0x4e49de:0x708,_0x1e63d9:0x7ba,_0x5f3af7:0x806,_0x390b6b:0x7e0,_0x4c7a2b:0x82c,_0x2faf09:0x97b,_0x43dc80:0x5d8,_0x4e8ce5:0x7dc,_0x3b7073:0x58e,_0x3bce75:0x486,_0x1fdbc5:0x6b3,_0x2d9057:0x608,_0x4b852b:0x5c2,_0x2946db:0x6d8,_0x51b8da:0x246,_0x1ffc27:0x4f4,_0x336ae0:0x3bb,_0x3ef6a6:0x29b},_0xbcdacb={_0x3e9803:0xc8},_0x2b0124={_0x1760e2:0x10a,_0x4eb24:0x85,_0x13eb44:0x613},_0x3728c2={_0x5e6cc4:0x183,_0x4de572:0x2e,_0x3ccdaa:0x16f},_0x582a71={_0x50b19d:0x4f},_0x2157a5={_0x3b7be6:0x6ab},_0xbed5b4={_0x451620:0x183,_0x4bd15a:0x26d},_0x5b0836={_0x103797:0x13},_0x74882c={_0x2115fc:0x34e,_0x902e91:0x500},_0x3b47e9={_0x2b1b88:0x6d},_0x44a340={_0xf43adc:0x828,_0x2a348d:0x6f5,_0xe51e3f:0x6ed,_0x129bbb:0x594},_0x343297={_0x5cf4fb:0x437},_0x36ef94={_0x3e723f:0x170,_0x2b8bba:0x98},_0x4b70c6={_0x6742d9:0x252},_0x385455={_0x2fb3d7:0x4b5,_0x1d62f1:0x422,_0x1512bc:0x7,_0x35d661:0x2c,_0x1fd835:0x1b7,_0x3ff801:0x19b},_0x5e44ef={_0x4586d1:0xcc,_0x3791c5:0x153,_0x2a50d4:0x26f},_0x292c31={_0x594edf:0x3ac,_0x5bddbe:0x1b9,_0x937ed6:0x2bc},_0x28b8f0={_0x3dc4ba:0x340,_0x1b8e6a:0x29},_0x1f430f={_0x1dcc79:0xd5,_0x239c2f:0x9e},_0x4ceffc={_0x398158:0x14d,_0x131c02:0x1a5,_0xb58902:0x1d0,_0x2b179a:0x9c},_0x3e8e7a={_0x3a4e76:0x1e4,_0x40d1c0:0x164,_0x1c933c:0x6a5},_0x56604f={_0x3a1d56:0xba},_0x25f55f={_0x4f9561:0x755,_0x54f6d4:0x6c1,_0x277897:0x8da,_0x21a2f4:0x6b4,_0x4d1ca1:0x77b,_0x31ae04:0x7c0},_0x21282d={_0x181468:0x93},_0x423fdc={_0xbcc0ca:0xf8,_0x169250:0x14c,_0x12aa82:0x390,_0x4613a1:0x1cf,_0x325fef:0x55,_0x5ca2d4:0x42,_0x4385e6:0x1f6,_0xe96d63:0x158,_0x3c948c:0x254},_0x457a41={_0x154955:0xee,_0x1b5e0e:0x18a,_0x5798b1:0x5aa},_0x53673b={_0x50d3f8:0x7fe,_0x3aa24b:0x922,_0x158531:0x56d,_0x1f6f48:0x719,_0x2923f2:0x1cc,_0x5ab722:0x216,_0x23b6b5:0x87,_0x2a8b46:0x78a,_0x44fb30:0x73e,_0xcebb9d:0x1a4,_0x3fddde:0xd5,_0x6b1427:0x277},_0x211346={_0x27989b:0x224,_0x2d0701:0x20a,_0x4de3ce:0x169,_0x32bdd1:0x2cb,_0x4730d8:0x39b,_0x235b37:0x319,_0x274c8a:0x36d,_0xcab47:0x112,_0x3ed552:0x3a6,_0x1891f6:0x4bb,_0x8ac82a:0x4b9,_0x55559a:0x21b,_0xa0d8e:0x11d,_0x190083:0x2cb,_0x1fb051:0x2cf},_0x124764={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x3cec3c=()=>_0x37d16[_0x5525ae(0x3c3,0x300,0x1a9,0x23a)]!==![];async function _0x107c83(_0xc1b6d6,_0x32d2c0){const _0x4a1e5a={_0x55be6d:0x5d,_0x4b8bea:0x4f},_0x420d8d={_0x4825e5:0xf3},_0x158471={_0x5be30d:0x106,_0x5defcc:0x566},_0x1975e8=stateKey(_0xc1b6d6,_0x32d2c0),_0x6f4844=_0x124764[_0x26afa5(_0x53673b._0x50d3f8,_0x53673b._0x3aa24b,_0x53673b._0x158531,_0x53673b._0x1f6f48)][_0x5c7f6f(-0x34e,-_0x53673b._0x2923f2,-_0x53673b._0x5ab722,-0xa2)](_0x26513d=>_0x26513d[_0x5c7f6f(-0x19,0x1d4,-0x27,0x116)]===_0xc1b6d6['id']&&_0x26513d['root']===_0x32d2c0);if(_0x6f4844)return _0x6f4844;if(_0x124764[_0x5c7f6f(_0x53673b._0x23b6b5,-0x8a,-0x3,-0x111)][_0x26afa5(0x74e,0x63f,0x8c5,_0x53673b._0x2a8b46)](_0x1975e8))return void 0x0;const _0x495776=_0x124764[_0x26afa5(0x72a,0x81b,_0x53673b._0x44fb30,0x759)]['get'](_0x1975e8);if(_0x495776)return _0x495776;function _0x26afa5(_0x5bf6f8,_0xfab1da,_0xed1101,_0x6cc966){return _0x5525ae(_0x5bf6f8,_0xfab1da-_0x158471._0x5be30d,_0xed1101-0xb3,_0x6cc966-_0x158471._0x5defcc);}const _0x13ca48=((async()=>{const _0x431132={_0x5798f7:0xa7,_0x35587c:0x39,_0x10776e:0x260};function _0x3d5f87(_0x4f80eb,_0x15105c,_0x2dadbe,_0x4af321){return _0x26afa5(_0x15105c,_0x15105c-0x62,_0x2dadbe-_0x420d8d._0x4825e5,_0x2dadbe- -0x1ef);}function _0x35195b(_0x16f550,_0x128192,_0x449a0a,_0x8dfae9){return _0x26afa5(_0x16f550,_0x128192-_0x431132._0x5798f7,_0x449a0a-_0x431132._0x35587c,_0x449a0a- -_0x431132._0x10776e);}try{const _0x4e3fbc=await _0xc1b6d6[_0x35195b(0x20c,_0x211346._0x27989b,_0x211346._0x2d0701,0x108)](_0x32d2c0);if(!_0x4e3fbc)return _0x124764[_0x35195b(0x16a,_0x211346._0x4de3ce,_0x211346._0x32bdd1,_0x211346._0x4730d8)][_0x3d5f87(0x2ce,0x520,0x36a,_0x211346._0x235b37)](_0x1975e8),void 0x0;const _0x4c68be=await createLspClient({'server':_0xc1b6d6,'root':_0x32d2c0,'handle':_0x4e3fbc}),_0x30032b=_0x124764['clients'][_0x35195b(_0x211346._0x274c8a,_0x211346._0xcab47,0x189,0x206)](_0x516440=>_0x516440['serverId']===_0xc1b6d6['id']&&_0x516440[_0x3d5f87(0x4ea,0x42e,0x5b6,0x4bb)]===_0x32d2c0);if(_0x30032b)return await _0x4c68be[_0x35195b(0x504,0x1c8,_0x211346._0x3ed552,0x45a)](),_0x30032b;return _0x124764[_0x35195b(0x371,_0x211346._0x1891f6,_0x211346._0x8ac82a,0x44e)]['push'](_0x4c68be),_0x4c68be;}catch{return _0x124764[_0x35195b(_0x211346._0x55559a,_0x211346._0xa0d8e,_0x211346._0x190083,0x323)][_0x35195b(_0x211346._0x1fb051,0x438,0x2f9,0x1b1)](_0x1975e8),void 0x0;}finally{_0x124764['spawning']['delete'](_0x1975e8);}})());function _0x5c7f6f(_0x2344bf,_0x5de85b,_0x225177,_0x350084){return _0x5525ae(_0x350084,_0x5de85b-_0x4a1e5a._0x55be6d,_0x225177-0xff,_0x5de85b- -_0x4a1e5a._0x4b8bea);}return _0x124764[_0x5c7f6f(-0x4b,_0x53673b._0xcebb9d,_0x53673b._0x3fddde,0x20d)][_0x5c7f6f(0x296,0x95,-0x154,_0x53673b._0x6b1427)](_0x1975e8,_0x13ca48),_0x13ca48;}function _0x5525ae(_0x51ddea,_0x1a322c,_0x17e70f,_0x12675f){return _0x38b1c5(_0x51ddea-_0x457a41._0x154955,_0x1a322c-_0x457a41._0x1b5e0e,_0x12675f- -_0x457a41._0x5798b1,_0x51ddea);}async function _0x2e013e(_0x4cb1ff,_0x3de017){const _0x2cf013={_0x4e0b28:0xb8};function _0x1d0e90(_0x31ccf0,_0x41a729,_0x40fb39,_0x33f614){return _0x5525ae(_0x40fb39,_0x41a729-0x150,_0x40fb39-0x124,_0x41a729- -0x11);}if(!_0x3cec3c())return[];const _0xec74d6=[];function _0x45d8bf(_0x46a839,_0x51b345,_0xde106b,_0x402c95){return _0x5525ae(_0xde106b,_0x51b345-_0x2cf013._0x4e0b28,_0xde106b-0xf1,_0x46a839-0x209);}for(const _0x23fb70 of getServersForFile(_0x4cb1ff)){const _0x4d5fe7=await _0x23fb70['root'](_0x4cb1ff);if(!_0x4d5fe7)continue;const _0x44b1cd=stateKey(_0x23fb70,_0x4d5fe7);if(_0x124764[_0x1d0e90(-_0x423fdc._0xbcc0ca,-0x4c,_0x423fdc._0x169250,0x153)][_0x1d0e90(_0x423fdc._0x12aa82,0x213,0x2dc,_0x423fdc._0x4613a1)](_0x44b1cd))continue;const _0x1e51cc=_0x124764[_0x1d0e90(-_0x423fdc._0x325fef,0x1a2,_0x423fdc._0x5ca2d4,_0x423fdc._0x4385e6)]['find'](_0x1f0433=>_0x1f0433['serverId']===_0x23fb70['id']&&_0x1f0433['root']===_0x4d5fe7);if(_0x1e51cc){_0xec74d6[_0x1d0e90(-_0x423fdc._0xe96d63,-0x13f,-_0x423fdc._0x3c948c,-0x92)](_0x1e51cc);continue;}if(!_0x3de017)continue;const _0x1892a5=await _0x107c83(_0x23fb70,_0x4d5fe7);if(_0x1892a5)_0xec74d6['push'](_0x1892a5);}return _0xec74d6;}async function _0x47ee3c(_0x3e01dc,_0x160097=![]){const _0x1d423c={_0x3af904:0x56c,_0x2858df:0x1c4,_0x5bff52:0x1f9,_0x9dc936:0x180,_0x33020d:0x1a,_0x3c7169:0x641,_0x5c9fea:0x776,_0x5d09cd:0x1d,_0x421c63:0x2d,_0x4b7fc1:0x13,_0x980703:0x20e,_0x30e37d:0x99,_0x2bb1f5:0xa0,_0x5bbcc7:0x317},_0x8a8876={_0x2a4e69:0x160},_0x403174={_0x5cf04a:0x157,_0x14182f:0x686};function _0xa6ef3a(_0x4e0279,_0x376fe0,_0x148b8f,_0x45ecbb){return _0x5525ae(_0x148b8f,_0x376fe0-0xe2,_0x148b8f-_0x21282d._0x181468,_0x4e0279-0x317);}function _0x37a147(_0x128670,_0x89855d,_0x54d539,_0x53d832){return _0x5525ae(_0x89855d,_0x89855d-0xd,_0x54d539-_0x403174._0x5cf04a,_0x54d539-_0x403174._0x14182f);}const _0x1c5161=await _0x2e013e(_0x3e01dc,!![]);await Promise[_0x37a147(_0x25f55f._0x4f9561,0x69c,_0x25f55f._0x54f6d4,0x780)](_0x1c5161[_0x37a147(_0x25f55f._0x277897,_0x25f55f._0x21a2f4,_0x25f55f._0x4d1ca1,_0x25f55f._0x31ae04)](async _0xab1640=>{const _0x5bc335={_0x5150f0:0x72f};!_0x124764['openFiles']['has'](_0xab1640[_0x8d9bb0(0x51b,0x682,0x5b1,_0x1d423c._0x3af904)]+':'+_0xab1640['root']+':'+_0x3e01dc)&&(await _0xab1640[_0x5386e4(-_0x1d423c._0x2858df,-0x2d,-_0x1d423c._0x5bff52,-0x34)][_0x5386e4(-0x383,-_0x1d423c._0x9dc936,-_0x1d423c._0x33020d,-0x73)]({'path':_0x3e01dc}),_0x124764['openFiles']['add'](_0xab1640[_0x8d9bb0(0x86d,0x682,_0x1d423c._0x3c7169,_0x1d423c._0x5c9fea)]+':'+_0xab1640['root']+':'+_0x3e01dc));function _0x5386e4(_0x9fbdfe,_0x192110,_0x5aa46e,_0x24f5bf){return _0x37a147(_0x9fbdfe-0xb2,_0x9fbdfe,_0x192110- -_0x5bc335._0x5150f0,_0x24f5bf-0x158);}function _0x8d9bb0(_0x42d37c,_0x395a71,_0x51ec30,_0x37a599){return _0xa6ef3a(_0x395a71-0x148,_0x395a71-_0x8a8876._0x2a4e69,_0x42d37c,_0x37a599-0x177);}await _0xab1640[_0x5386e4(-_0x1d423c._0x5d09cd,-_0x1d423c._0x421c63,0x4c,-_0x1d423c._0x4b7fc1)][_0x5386e4(_0x1d423c._0x980703,_0x1d423c._0x30e37d,-0x135,_0x1d423c._0x2bb1f5)]({'path':_0x3e01dc,'version':nextFileVersion(_0x124764,_0x3e01dc)});if(_0x160097)await _0xab1640[_0x8d9bb0(0x4c7,_0x1d423c._0x5bbcc7,0x506,0x123)]({'path':_0x3e01dc});}));}async function _0x510619(_0x423dea){await _0x47ee3c(_0x423dea[_0x2befaf(-_0x4ceffc._0x398158,-_0x4ceffc._0x131c02,-0x150,-_0x4ceffc._0xb58902)],![]);function _0x2befaf(_0x1c25d2,_0x457cf0,_0x53d67e,_0x422edb){return _0x5525ae(_0x422edb,_0x457cf0-0x68,_0x53d67e-_0x56604f._0x3a1d56,_0x53d67e- -0x50);}function _0x4c411e(_0x33eacc,_0x21c07d,_0x5b35ee,_0x14347a){return _0x5525ae(_0x21c07d,_0x21c07d-_0x3e8e7a._0x3a4e76,_0x5b35ee-_0x3e8e7a._0x40d1c0,_0x33eacc-_0x3e8e7a._0x1c933c);}return _0x2e013e(_0x423dea[_0x2befaf(0x9e,-0x73,-0x150,_0x4ceffc._0x2b179a)],![]);}async function _0x33a779(_0x4b0cb4){const _0x25c045=await _0x510619(_0x4b0cb4);function _0x5bd9d5(_0x28c8fd,_0x21fa2c,_0x3822d8,_0x4cfe25){return _0x5525ae(_0x28c8fd,_0x21fa2c-_0x1f430f._0x1dcc79,_0x3822d8-0x1b1,_0x4cfe25-_0x1f430f._0x239c2f);}function _0x532bca(_0x185a6c,_0x256243,_0x54b9d6,_0x21a8ed){return _0x5525ae(_0x21a8ed,_0x256243-0x131,_0x54b9d6-0x19b,_0x185a6c-0x59e);}return collectClientResults(_0x25c045[_0x5bd9d5(0xef,_0x28b8f0._0x3dc4ba,-_0x28b8f0._0x1b8e6a,0x193)](_0x20ff1d=>_0x20ff1d[_0x5bd9d5(-0x1ab,-0x123,0xb8,0x2a)]['prepareCallHierarchy'](_0x4b0cb4)));}return{'isEnabled':_0x3cec3c,async 'hasClients'(_0x16c854){const _0x3d113a={_0x363f0c:0x157},_0x4f4d88={_0x32aec5:0x7c,_0x5115e9:0x2f};function _0x3a158b(_0x3549e9,_0x5ccbf2,_0x212d72,_0x309e79){return _0x5525ae(_0x3549e9,_0x5ccbf2-_0x4f4d88._0x32aec5,_0x212d72-_0x4f4d88._0x5115e9,_0x309e79- -0x4);}function _0x1d4ded(_0x96c24,_0x38c703,_0x24ab44,_0x13e583){return _0x5525ae(_0x13e583,_0x38c703-0xf8,_0x24ab44-_0x3d113a._0x363f0c,_0x38c703-0x23b);}return(await _0x2e013e(_0x16c854,![]))[_0x3a158b(0x156,0xe0,_0x292c31._0x594edf,_0x292c31._0x5bddbe)]>0x0||getServersForFile(_0x16c854)[_0x3a158b(_0x292c31._0x937ed6,0x10,0x28d,0x1b9)]>0x0;},'touchFile':_0x47ee3c,async 'diagnostics'(){const _0x476895={_0x46f86e:0x3d,_0x3b35c1:0x3e,_0x5e8de8:0x2ca};function _0x3dae7f(_0x1e06d5,_0x5aa929,_0x26172d,_0x1b5eaa){return _0x5525ae(_0x1b5eaa,_0x5aa929-_0x476895._0x46f86e,_0x26172d-_0x476895._0x3b35c1,_0x5aa929-_0x476895._0x5e8de8);}const _0x2258a1={};function _0x24d207(_0x4cffc2,_0x550951,_0x2634f9,_0x199813){return _0x5525ae(_0x199813,_0x550951-_0x5e44ef._0x4586d1,_0x2634f9-_0x5e44ef._0x3791c5,_0x2634f9-_0x5e44ef._0x2a50d4);}for(const _0x54c842 of _0x124764[_0x24d207(0x4b7,_0x385455._0x2fb3d7,_0x385455._0x1d62f1,0x4e7)]){for(const [_0x33c2e7,_0x349e51]of _0x54c842[_0x24d207(_0x385455._0x1512bc,_0x385455._0x35d661,_0x385455._0x1fd835,_0x385455._0x3ff801)]){_0x2258a1[diagnosticsKeyToPath(_0x33c2e7)]=_0x349e51;}}return _0x2258a1;},async 'diagnosticsForFile'(_0x30eaa6){const _0xc2603={_0x5d43d5:0x14,_0x755edd:0x16},_0x5478b4={_0x44328a:0x14};function _0x390ab9(_0x4d3c01,_0x20548f,_0x2c7f01,_0x39ce17){return _0x5525ae(_0x2c7f01,_0x20548f-0xfc,_0x2c7f01-_0x5478b4._0x44328a,_0x39ce17-0x5b1);}await _0x47ee3c(_0x30eaa6,!![]);const _0x5f2cbf=[];function _0x43e022(_0x47f8fe,_0xdfc735,_0x5e24f0,_0x49bf71){return _0x5525ae(_0x49bf71,_0xdfc735-0x103,_0x5e24f0-_0xc2603._0x5d43d5,_0xdfc735- -_0xc2603._0x755edd);}for(const _0x178c01 of await _0x2e013e(_0x30eaa6,![])){for(const [_0x13e76e,_0x570f3f]of _0x178c01[_0x43e022(-0xcc,-0xce,-0x19a,-_0x4b70c6._0x6742d9)]){if(diagnosticsKeyToPath(_0x13e76e)===_0x30eaa6)_0x5f2cbf[_0x390ab9(0x3a6,0x511,0x308,0x483)](..._0x570f3f);}}return _0x5f2cbf;},async 'definition'(_0x3d374d){const _0x60b1c={_0x475ef4:0xa2};function _0x2a9754(_0x1ba4af,_0x49646f,_0x113001,_0xe11c3e){return _0x5525ae(_0x113001,_0x49646f-0x16b,_0x113001-_0x60b1c._0x475ef4,_0x49646f-0x7b);}return collectClientResults((await _0x510619(_0x3d374d))[_0x2a9754(-0xa3,_0x36ef94._0x3e723f,-_0x36ef94._0x2b8bba,0x87)](_0x558c68=>_0x558c68['request']['definition'](_0x3d374d)));},async 'references'(_0x64a237){const _0x252b3f={_0xf13dc3:0x25,_0x2f45ae:0x1d4,_0x1023d9:0x445};function _0x1e15a6(_0x564c67,_0x2c1a57,_0x1eb865,_0x23a43f){return _0x5525ae(_0x23a43f,_0x2c1a57-0x106,_0x1eb865-0xcc,_0x564c67-_0x343297._0x5cf4fb);}function _0x373f29(_0x1135eb,_0xf3e534,_0x43ee43,_0x2bbc08){return _0x5525ae(_0x1135eb,_0xf3e534-_0x252b3f._0xf13dc3,_0x43ee43-_0x252b3f._0x2f45ae,_0x2bbc08-_0x252b3f._0x1023d9);}return collectClientResults((await _0x510619(_0x64a237))['map'](_0x562c00=>_0x562c00[_0x1e15a6(0x3c3,0x261,0x3d6,0x441)][_0x1e15a6(0x528,0x445,0x5dd,0x45f)](_0x64a237)));},async 'hover'(_0x3851b7){const _0x4578f6={_0x39ee5b:0xdc,_0x3f067b:0x5cd},_0x186580={_0x45d7e1:0x9b,_0x3a379a:0xac};function _0x408eac(_0x165b76,_0x5e1e75,_0xc822b3,_0x57510c){return _0x5525ae(_0x165b76,_0x5e1e75-_0x186580._0x45d7e1,_0xc822b3-0x7e,_0x5e1e75- -_0x186580._0x3a379a);}const _0x33a282=await Promise[_0x21b8b9(_0x44a340._0xf43adc,0x7dd,_0x44a340._0x2a348d,_0x44a340._0xe51e3f)]((await _0x510619(_0x3851b7))[_0x408eac(0x202,0x49,0x7e,-0x133)](_0x195bc8=>_0x195bc8[_0x21b8b9(0x6e8,0x62c,0x549,0x559)][_0x21b8b9(0x79d,0x5a9,0x76a,0x749)](_0x3851b7)));function _0x21b8b9(_0x13fcac,_0x3eac61,_0x5a1ac4,_0x131143){return _0x5525ae(_0x3eac61,_0x3eac61-0x7b,_0x5a1ac4-_0x4578f6._0x39ee5b,_0x131143-_0x4578f6._0x3f067b);}return _0x33a282[_0x21b8b9(0x709,0x695,0x4fc,_0x44a340._0x129bbb)](_0x3425dd=>_0x3425dd['status']===_0x408eac(-0x29f,-0x19a,0x10,-0x199)&&_0x3425dd['value']?[_0x3425dd['value']]:[]);},async 'documentSymbol'(_0xe6ac76){const _0x3719fe={_0x4d9d4b:0x259};function _0x574f2e(_0x5be358,_0xe61b2d,_0x4a4689,_0x5a801d){return _0x5525ae(_0x4a4689,_0xe61b2d-0x174,_0x4a4689-_0x3b47e9._0x2b1b88,_0xe61b2d-0x322);}function _0x2883fc(_0x3c6af4,_0x22b1b1,_0x2c1178,_0x5e1c05){return _0x5525ae(_0x5e1c05,_0x22b1b1-0x1af,_0x2c1178-0xcf,_0x3c6af4-_0x3719fe._0x4d9d4b);}return await _0x47ee3c(_0xe6ac76,![]),collectClientResults((await _0x2e013e(_0xe6ac76,![]))[_0x2883fc(_0x74882c._0x2115fc,_0x74882c._0x902e91,0x370,0x523)](_0x34d268=>_0x34d268[_0x2883fc(0x1e5,0x373,0x3d,0xd8)][_0x574f2e(0x37f,0x22d,0x1f7,0x3bc)](_0xe6ac76)));},async 'workspaceSymbol'(_0x33c741){function _0x2d9a34(_0x2e8737,_0x3af042,_0x1623ab,_0x5c7f80){return _0x5525ae(_0x1623ab,_0x3af042-0x1c9,_0x1623ab-_0x5b0836._0x103797,_0x3af042-0x12c);}return collectClientResults(_0x124764['clients'][_0x2d9a34(0x198,0x221,_0xbed5b4._0x451620,_0xbed5b4._0x4bd15a)](_0x28a707=>_0x28a707['request']['workspaceSymbol'](_0x33c741)));},async 'implementation'(_0x336709){const _0x9b265a={_0x4d89ae:0x1b6,_0x39d5bd:0x16,_0x11f470:0x5bd};function _0xd19d4(_0x4a16fa,_0x137e71,_0x56e911,_0x5a37a4){return _0x5525ae(_0x4a16fa,_0x137e71-0x5b,_0x56e911-0xa7,_0x56e911-_0x2157a5._0x3b7be6);}function _0x1cb55a(_0x147ec6,_0x1b7945,_0x142794,_0x5d4913){return _0x5525ae(_0x5d4913,_0x1b7945-_0x9b265a._0x4d89ae,_0x142794-_0x9b265a._0x39d5bd,_0x142794-_0x9b265a._0x11f470);}return collectClientResults((await _0x510619(_0x336709))[_0x1cb55a(0x878,0x4b6,0x6b2,0x611)](_0x150f7d=>_0x150f7d['request'][_0x1cb55a(0x766,0x8a2,0x6e0,0x62e)](_0x336709)));},async 'prepareCallHierarchy'(_0x323598){return _0x33a779(_0x323598);},async 'incomingCalls'(_0x21485a){const _0x3daf1a={_0x8d9aee:0x94,_0x1fdc6e:0x15c},_0x206a59=await _0x33a779(_0x21485a),_0x58e33f=await _0x510619(_0x21485a);function _0x1cb7f6(_0xd49534,_0x95b17d,_0x136810,_0x25dedb){return _0x5525ae(_0x95b17d,_0x95b17d-_0x3daf1a._0x8d9aee,_0x136810-_0x3daf1a._0x1fdc6e,_0xd49534- -0x1d);}function _0xebf4bd(_0x5acae4,_0x169b21,_0xfd0ba7,_0x1f427d){return _0x5525ae(_0x1f427d,_0x169b21-0x154,_0xfd0ba7-0xde,_0xfd0ba7- -_0x582a71._0x50b19d);}return collectClientResults(_0x58e33f['flatMap'](_0x385a6d=>_0x206a59[_0x1cb7f6(0xd8,0x166,-0xab,-0xd2)](_0x2b5a96=>_0x385a6d['request'][_0xebf4bd(0x151,-0x91,0x2e,0xe8)](_0x2b5a96))));},async 'outgoingCalls'(_0x27f943){const _0x1777e0=await _0x33a779(_0x27f943),_0x528d98=await _0x510619(_0x27f943);function _0x4d41e8(_0x1c84b5,_0x4fd3c5,_0x434af9,_0x53a5da){return _0x5525ae(_0x1c84b5,_0x4fd3c5-_0x3728c2._0x5e6cc4,_0x434af9-_0x3728c2._0x4de572,_0x434af9-_0x3728c2._0x3ccdaa);}function _0x55b8cd(_0x51056e,_0xe5ea8e,_0x39de5d,_0x5681c2){return _0x5525ae(_0x51056e,_0xe5ea8e-0xe9,_0x39de5d-0x30,_0x5681c2-0x46b);}return collectClientResults(_0x528d98['flatMap'](_0x4ed1cb=>_0x1777e0[_0x55b8cd(0x70a,0x685,0x4a0,0x560)](_0x4a98e2=>_0x4ed1cb[_0x4d41e8(0xa1,0x1b4,0xfb,0x175)]['outgoingCalls'](_0x4a98e2))));},async 'shutdown'(){if(_0x124764['shutdownStarted'])return;function _0x2dac29(_0x553026,_0x57de62,_0x54a449,_0x3cc45b){return _0x5525ae(_0x3cc45b,_0x57de62-_0x2b0124._0x1760e2,_0x54a449-_0x2b0124._0x4eb24,_0x553026-_0x2b0124._0x13eb44);}_0x124764['shutdownStarted']=!![],await Promise[_0x9b55be(0x1f3,0x386,0x320,0x487)](_0x124764[_0x2dac29(_0x1c0a7c._0x2fdc92,0x92d,0x92e,0x692)][_0x2dac29(_0x1c0a7c._0x4e49de,0x61b,0x6ee,_0x1c0a7c._0x1e63d9)](_0x2bc3ae=>_0x2bc3ae['shutdown']()));function _0x9b55be(_0x17e601,_0x39f35e,_0x58dabc,_0xb68b59){return _0x5525ae(_0x39f35e,_0x39f35e-0xf6,_0x58dabc-_0xbcdacb._0x3e9803,_0x58dabc-0x200);}_0x124764[_0x9b55be(0x307,0x31f,0x3b3,0x47d)]=[],_0x124764[_0x2dac29(_0x1c0a7c._0x5f3af7,_0x1c0a7c._0x390b6b,_0x1c0a7c._0x4c7a2b,_0x1c0a7c._0x2faf09)]['clear'](),_0x124764[_0x2dac29(_0x1c0a7c._0x43dc80,_0x1c0a7c._0x4e8ce5,_0x1c0a7c._0x3b7073,_0x1c0a7c._0x3bce75)][_0x2dac29(0x7ce,_0x1c0a7c._0x1fdbc5,_0x1c0a7c._0x2d9057,_0x1c0a7c._0x4b852b)](),_0x124764[_0x2dac29(0x821,_0x1c0a7c._0x2946db,0x84e,0x7d9)][_0x9b55be(_0x1c0a7c._0x51b8da,_0x1c0a7c._0x1ffc27,_0x1c0a7c._0x336ae0,0x480)](),_0x124764[_0x9b55be(0x15b,_0x1c0a7c._0x3ef6a6,0x2b4,0x1c0)]['clear']();},'status'(){const _0x524fd7={_0x30f2f9:0xc3};function _0x22c3b3(_0x1ce4f5,_0x46b49f,_0x3786f3,_0x4ab54b){return _0x5525ae(_0x1ce4f5,_0x46b49f-0x17,_0x3786f3-_0x524fd7._0x30f2f9,_0x4ab54b-0x6bb);}return{'connectedClients':_0x124764[_0x22c3b3(0x905,0x74f,0x973,0x86e)]['length']};}};}function getCommand(_0x26a81d){const _0x51862a={_0x5b5d3c:0x311,_0x1278de:0x470,_0x3636ee:0x504,_0x3282b6:0x3d6,_0x19c366:0x3bf},_0x5ac014={_0x7a658e:0x18},_0xf42a10={_0x1d5000:0x1be,_0x327855:0x1a3,_0x5c217d:0x242};function _0x44c2f0(_0x101e62,_0x4be32e,_0x39fbee,_0x31ad7f){return _0x38b1c5(_0x101e62-_0xf42a10._0x1d5000,_0x4be32e-_0xf42a10._0x327855,_0x31ad7f- -_0xf42a10._0x5c217d,_0x39fbee);}if(_0x26a81d&&typeof _0x26a81d===_0x4ca33b(0x363,0x259,0x45c,_0x51862a._0x5b5d3c)&&!Array[_0x4ca33b(0x33b,_0x51862a._0x1278de,_0x51862a._0x3636ee,_0x51862a._0x3282b6)](_0x26a81d)&&typeof _0x26a81d['command']==='string')return _0x26a81d['command'];function _0x4ca33b(_0x2be5c3,_0x5f54e6,_0x980cf8,_0x59229b){return _0x38b1c5(_0x2be5c3-0x143,_0x5f54e6-_0x5ac014._0x7a658e,_0x2be5c3- -0x28b,_0x59229b);}return _0x44c2f0(0x53a,0x47c,0x352,_0x51862a._0x19c366);}var MOCK_WORKSPACE_LISTING=[_0x4a0aa5(0x3f3,0x52b,0x3eb,0x54b),'docs/plans/2026-04-16-mock-agent-loop-implementation.md','docs/plans/2026-04-16-public-tools-api-implementation.md',_0x38b1c5(0x58a,0x57d,0x587,0x6b8),_0x4a0aa5(0x5a1,0x4fd,0x3c6,0x570),_0x4a0aa5(0x39f,0x435,0x585,0x39c),'src/examples/demo.ts',_0x4a0aa5(0x4c1,0x422,0x306,0x309),'src/models/mock-model.ts',_0x4a0aa5(0x5f5,0x63e,0x442,0x5e8),'src/formats/provider-adapters.ts',_0x4a0aa5(0x2d6,0x3e6,0x348,0x413),_0x4a0aa5(0x606,0x6a5,0x7d3,0x7d9),_0x4a0aa5(0x4a1,0x5d9,0x5bc,0x3da),_0x4a0aa5(0x7b6,0x665,0x505,0x63f),_0x4a0aa5(0x4ad,0x6af,0x544,0x6a3),_0x38b1c5(0x6b1,0x5fb,0x5d3,0x4ec)][_0x4a0aa5(0x45f,0x52d,0x4cb,0x492)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x4a0aa5(0x1f0,0x32d,0x2ce,0x2e8),'description':_0x38b1c5(0x3f1,0x2d5,0x446,0x4cd),'input_schema':{'type':_0x4a0aa5(0x5d9,0x530,0x54f,0x35e),'properties':{'command':{'type':'string'}},'required':['command']}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x1fa526){return{'output':_0x1fa526,'structured':{'value':_0x1fa526}};}function createUnknownToolResult(_0x345318){const _0x39ea5d={_0x29dffe:0xb9,_0x29a99d:0x460,_0x4834fe:0x24f,_0x3a73ab:0x23a,_0x553150:0x781,_0x149a49:0x6d1,_0xadde2:0x61c,_0x4d61c0:0x599,_0x30ca1a:0x5ae,_0x2a9286:0x4a5,_0x62ec6d:0x3ce},_0x395823={_0x2d6da6:0x1c,_0x24b50e:0x1dd,_0xaff2a2:0x3f3},_0x4cd4a9={_0x2b26f3:0x18,_0x5ef684:0x5};function _0x39b786(_0x48f651,_0x2bb287,_0x53eca9,_0x1908a4){return _0x4a0aa5(_0x48f651,_0x1908a4-_0x4cd4a9._0x2b26f3,_0x53eca9-_0x4cd4a9._0x5ef684,_0x1908a4-0x110);}function _0x500788(_0x3ba1e8,_0x423d64,_0x4d9200,_0x127ed5){return _0x38b1c5(_0x3ba1e8-_0x395823._0x2d6da6,_0x423d64-_0x395823._0x24b50e,_0x4d9200- -_0x395823._0xaff2a2,_0x3ba1e8);}return{'callId':_0x345318['id'],'toolName':_0x345318[_0x500788(_0x39ea5d._0x29dffe,_0x39ea5d._0x29a99d,_0x39ea5d._0x4834fe,_0x39ea5d._0x3a73ab)],'status':_0x39b786(_0x39ea5d._0x553150,_0x39ea5d._0x149a49,_0x39ea5d._0xadde2,_0x39ea5d._0x4d61c0),'output':_0x39b786(_0x39ea5d._0x30ca1a,0x693,0x5a3,_0x39ea5d._0x2a9286)+_0x345318[_0x39b786(0x5e5,_0x39ea5d._0x62ec6d,0x429,0x59c)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x8db5f1,_0xc2c1fa){const _0x34e423={_0x1a6aee:0x3d1,_0x2d8062:0x70d,_0x26e254:0x72c,_0x4e0a56:0x798},_0x47dafe={_0x3c901b:0x27c},_0x248053={_0x206d4f:0x126,_0x31d447:0xe2};function _0x49f933(_0x3c7fb5,_0x749204,_0x36abb4,_0x1d915c){return _0x38b1c5(_0x3c7fb5-0x163,_0x749204-_0x248053._0x206d4f,_0x1d915c- -_0x248053._0x31d447,_0x36abb4);}function _0x4b6c25(_0x1026b4,_0xaebfae,_0x4035c7,_0x4e8d89){return _0x38b1c5(_0x1026b4-0x84,_0xaebfae-0x18,_0xaebfae- -_0x47dafe._0x3c901b,_0x1026b4);}return{'callId':_0x8db5f1['id'],'toolName':_0x8db5f1[_0x49f933(_0x34e423._0x1a6aee,0x452,_0x34e423._0x2d8062,0x560)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x8db5f1[_0x49f933(_0x34e423._0x26e254,_0x34e423._0x4e0a56,0x51b,0x6de)]),'exitCode':0x0},'chunks':[_0xc2c1fa],'meta':createMeta()};}function createMockToolRuntime(){const _0x3eaf5e={_0x5713ca:0x6ab,_0x129a9b:0x74c},_0x49ac6d={_0x26c1a9:0x5c5,_0x56f843:0x1aa,_0xaf1046:0x154},_0x12d759=async(_0x2641fd,_0x1c638c)=>{if(_0x2641fd[_0x8d49(0x480,0x3b8,0x3df,_0x49ac6d._0x26c1a9)]!==_0x8d49(0x229,_0x49ac6d._0x56f843,0x23d,_0x49ac6d._0xaf1046))return createUnknownToolResult(_0x2641fd);function _0x5e1c5e(_0xa9ac61,_0x4e58d4,_0x1eae7b,_0x344d58){return _0x3233(_0x344d58-0xfb,_0x4e58d4);}const _0x42d76c=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0x8d49(_0x4fef04,_0x56dba2,_0x2f7dd8,_0x2808dc){return _0x3233(_0x4fef04-0xe7,_0x56dba2);}return createSuccessToolResult(_0x2641fd,_0x42d76c);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x4eb990,_0x1669ae){function _0xf38c31(_0x1384c9,_0xabf08,_0x6bf0b5,_0x393d3a){return _0x3233(_0xabf08-0x14c,_0x393d3a);}return await Promise['all'](_0x4eb990[_0xf38c31(_0x3eaf5e._0x5713ca,0x542,_0x3eaf5e._0x129a9b,0x580)](async _0x572759=>{return await _0x12d759(_0x572759,_0x1669ae);}));},async 'execute'(_0x20b3bc,_0x4806be){return await _0x12d759(_0x20b3bc,_0x4806be);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x30a1ad={_0x2ac70d:0x2c7,_0x39580a:0x315,_0x509b3d:0x25d},_0x13e9ee={_0x5c4d4c:0x34b,_0x5ad994:0xc7};function _0x1359c2(_0x17f9eb,_0x28c164,_0x40bdaa,_0x440595){return _0x4a0aa5(_0x17f9eb,_0x440595- -_0x13e9ee._0x5c4d4c,_0x40bdaa-0x19c,_0x440595-_0x13e9ee._0x5ad994);}return delegatedRunCounter+=0x1,_0x1359c2(0x20a,_0x30a1ad._0x2ac70d,_0x30a1ad._0x39580a,_0x30a1ad._0x509b3d)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x2b78ad,_0x1ac40a){const _0x3dbbd7={_0x58be55:0x2f4,_0x45d4a3:0x1cb},_0x4f56b9={_0x9de4b4:0x2ec};function _0x2999b4(_0x57391b,_0x1c8a31,_0x59712c,_0x1bb982){return _0x38b1c5(_0x57391b-0x24,_0x1c8a31-0x34,_0x59712c- -_0x4f56b9._0x9de4b4,_0x57391b);}return typeof _0x2b78ad===_0x2999b4(0x380,_0x3dbbd7._0x58be55,0x39a,_0x3dbbd7._0x45d4a3)?await _0x2b78ad(_0x1ac40a):_0x2b78ad;}function awaitWithAbort(_0x217f14,_0x489f43){const _0x410c01={_0x23b8a2:0x275,_0x23f6d8:0x168,_0x22a19a:0x1ea},_0x2c5242={_0x2ca986:0xa4};return throwIfAborted(_0x489f43),new Promise((_0x4ae9a3,_0x44cda3)=>{function _0x562746(_0xaab454,_0x4eed0a,_0x83c7b4,_0x4006c8){return _0x3233(_0x4006c8-_0x2c5242._0x2ca986,_0x4eed0a);}let _0x4ad742=![];const _0x2ae84a=addAbortListener(_0x489f43,()=>{if(_0x4ad742)return;_0x4ad742=!![],_0x44cda3(toAbortError(_0x489f43['reason']));});_0x217f14[_0x562746(_0x410c01._0x23b8a2,0x134,_0x410c01._0x23f6d8,_0x410c01._0x22a19a)](_0x162cac=>{if(_0x4ad742)return;_0x4ad742=!![],_0x2ae84a(),_0x4ae9a3(_0x162cac);},_0x11246a=>{if(_0x4ad742)return;_0x4ad742=!![],_0x2ae84a(),_0x44cda3(_0x11246a);});});}function getDelegatedAgentDefinition(_0x3fd882,_0x2eb982){const _0x2b478e={_0x259c88:0x7fb,_0x1bf4d6:0x80f},_0x3150d6={_0x4691f6:0x173};function _0x14d6a8(_0x4fffda,_0x396b6d,_0x1d8919,_0x3e94c6){return _0x38b1c5(_0x4fffda-_0x3150d6._0x4691f6,_0x396b6d-0x54,_0x1d8919-0xfa,_0x396b6d);}return _0x3fd882[_0x14d6a8(0x91b,0x811,_0x2b478e._0x259c88,_0x2b478e._0x1bf4d6)]?.[_0x2eb982];}function createRunSummary(_0x2bf33a){const _0x471c5b={_0x26242a:0x6a,_0x4019e0:0xf,_0x3ad343:0x15a,_0x3a2167:0xa1,_0x1a56d0:0x83,_0x3136fd:0xfd,_0x1960bb:0x25a,_0x375862:0x354,_0x2f8963:0x1fb,_0x4c1464:0x1d5,_0x3178c1:0x164,_0x3d1503:0x140,_0x20d7a1:0xb6,_0x38efc9:0x84,_0x2d953f:0x377,_0x46b752:0x120},_0x360709={_0x28f2e6:0x17a},_0x19c53c={_0x91ceb2:0x11a,_0x4decb1:0x513};function _0x24cdef(_0x1e517e,_0x5bec0a,_0x1057d7,_0x2125d5){return _0x38b1c5(_0x1e517e-_0x19c53c._0x91ceb2,_0x5bec0a-0x151,_0x5bec0a- -_0x19c53c._0x4decb1,_0x1e517e);}function _0x4450af(_0x2c47ee,_0x3929ec,_0x1a6a1e,_0x30eeb9){return _0x4a0aa5(_0x2c47ee,_0x1a6a1e- -0x3f6,_0x1a6a1e-0x106,_0x30eeb9-_0x360709._0x28f2e6);}return{'runId':_0x2bf33a[_0x24cdef(_0x471c5b._0x26242a,-_0x471c5b._0x4019e0,-_0x471c5b._0x3ad343,0x1bb)],'agentId':_0x2bf33a[_0x4450af(0x444,0x3c9,0x2f7,0xee)],..._0x2bf33a[_0x4450af(0x9,0x187,0x1d6,0x24a)]!==void 0x0?{'sessionId':_0x2bf33a['sessionId']}:{},'status':_0x2bf33a[_0x24cdef(0x6a,-_0x471c5b._0x3a2167,-_0x471c5b._0x1a56d0,_0x471c5b._0x3136fd)],'parentSessionId':_0x2bf33a['parentSessionId'],..._0x2bf33a[_0x4450af(0x346,0x96,_0x471c5b._0x1960bb,0x28f)]!==void 0x0?{'originToolCallId':_0x2bf33a[_0x24cdef(_0x471c5b._0x375862,_0x471c5b._0x2f8963,_0x471c5b._0x4c1464,_0x471c5b._0x3178c1)]}:{},..._0x2bf33a['errorMessage']!==void 0x0?{'errorMessage':_0x2bf33a['errorMessage']}:{},..._0x2bf33a[_0x24cdef(_0x471c5b._0x3d1503,0x2d9,0x48a,0x4be)]?.[_0x4450af(-_0x471c5b._0x20d7a1,-_0x471c5b._0x38efc9,-0x50,-0x20d)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x2bf33a[_0x24cdef(_0x471c5b._0x2d953f,0x2d9,0x2f7,_0x471c5b._0x46b752)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x32efc6,_0x35f834){const _0x5cdf89={_0x482304:0xce,_0x5d8e83:0x1d5,_0x276989:0x1e3},_0x4474fa={_0x3b4053:0x1ac},_0x59d392={_0x22f751:0x377};function _0x4dc616(_0x18a460,_0x3807f2,_0x2fe563,_0x28e8e5){return _0x38b1c5(_0x18a460-0x29,_0x3807f2-0x1b4,_0x2fe563- -_0x59d392._0x22f751,_0x28e8e5);}function _0x1625e8(_0x418368,_0xb7e8fa,_0x3e095e,_0x2e72d0){return _0x4a0aa5(_0x3e095e,_0x2e72d0- -0x4bb,_0x3e095e-0xe3,_0x2e72d0-_0x4474fa._0x3b4053);}const _0x405e0b=createRunSummary(_0x32efc6),_0x5a4657=_0x405e0b['finalMessageText'];return createToolOutput(typeof _0x5a4657===_0x1625e8(0x18f,_0x5cdf89._0x482304,_0x5cdf89._0x5d8e83,_0x5cdf89._0x276989)&&_0x5a4657[_0x4dc616(0x52f,0x529,0x3f0,0x54b)]>0x0?_0x5a4657:_0x35f834,_0x405e0b);}function getRunTerminalErrorMessage(_0x151ff9){const _0x28067d={_0x12984:0x44d,_0x44ecba:0x585,_0x365f3c:0x46f,_0x4bc1ae:0x482,_0x6b0deb:0x537,_0x54b2a6:0xdf,_0xe2fb7d:0x159,_0x5bc7cc:0x328,_0x3779d5:0x201,_0x15373e:0x216},_0x27fe3e={_0x5eaa88:0x1d6},_0x29aacd={_0x88f426:0x16,_0x18cbe3:0x113};function _0x37eb1e(_0x3dad5c,_0x644a5a,_0x12e6fe,_0x2da693){return _0x38b1c5(_0x3dad5c-_0x29aacd._0x88f426,_0x644a5a-_0x29aacd._0x18cbe3,_0x2da693- -0x551,_0x12e6fe);}const _0x39dac0=_0x151ff9?.[_0x239bce(_0x28067d._0x12984,_0x28067d._0x44ecba,_0x28067d._0x365f3c,0x267)][_0x239bce(0x50c,_0x28067d._0x4bc1ae,_0x28067d._0x6b0deb,0x412)]['at'](-0x1);function _0x239bce(_0x873fc4,_0x121222,_0x27bcc6,_0x4ce6ef){return _0x38b1c5(_0x873fc4-_0x27fe3e._0x5eaa88,_0x121222-0xb1,_0x27bcc6-0x5,_0x121222);}if(_0x39dac0?.[_0x37eb1e(-0xf5,-0x26e,-0x259,-_0x28067d._0x54b2a6)]==='error'&&_0x39dac0[_0x37eb1e(_0x28067d._0xe2fb7d,0x324,_0x28067d._0x5bc7cc,0x18f)][_0x239bce(0x639,0x952,0x810,0x7ca)]()[_0x37eb1e(_0x28067d._0x3779d5,0x137,0x128,_0x28067d._0x15373e)]>0x0)return _0x39dac0[_0x239bce(0x8c7,0x70f,0x6e5,0x762)];return void 0x0;}function formatAbortedRunMessage(_0x454713,_0x1277da){const _0x49e908={_0x389ece:0x18c,_0x5d04f8:0x47,_0x251b01:0x5d,_0xd68791:0x410,_0x236b69:0x350,_0x4cadd5:0x4c7,_0x4a9a33:0x333,_0x2c97ac:0x8bd,_0x119344:0x814,_0x2a49d6:0x69e,_0x4242b5:0x6ab,_0x44ffe8:0x517,_0x499a15:0x59f},_0x50a6d3={_0x8afcdf:0xbc},_0x57f3d0={_0x114344:0x119},_0x2298ea=_0x75a4f8(-0x8d,-0x16,-_0x49e908._0x389ece,-_0x49e908._0x5d04f8)+_0x454713+_0x75a4f8(_0x49e908._0x251b01,-0x83,-0x16,-0xce);function _0x75a4f8(_0x4e88e6,_0x4f51df,_0x3f6b99,_0x3de17e){return _0x4a0aa5(_0x4e88e6,_0x3de17e- -0x41a,_0x3f6b99-_0x57f3d0._0x114344,_0x3de17e-0xa0);}if(!_0x1277da||_0x1277da[_0x75a4f8(_0x49e908._0xd68791,_0x49e908._0x236b69,_0x49e908._0x4cadd5,_0x49e908._0x4a9a33)]()[_0x68a35e(_0x49e908._0x2c97ac,_0x49e908._0x119344,_0x49e908._0x2a49d6,_0x49e908._0x4242b5)]===0x0||_0x1277da===_0x2298ea)return _0x2298ea;function _0x68a35e(_0x404b75,_0x4b27b4,_0x58adce,_0x293f75){return _0x38b1c5(_0x404b75-0xe,_0x4b27b4-0x11c,_0x293f75- -_0x50a6d3._0x8afcdf,_0x404b75);}return _0x2298ea+_0x68a35e(0x577,_0x49e908._0x44ffe8,0x439,_0x49e908._0x499a15)+_0x1277da;}function createAssignTaskTool(_0x327d01){const _0x3100ea={_0x2cb1b0:0x813,_0x2f9bce:0x7ad,_0x964ca1:0x4ad,_0xf599ac:0x5cc,_0x369f4e:0x5b7,_0x1547c0:0x5b3,_0x30730a:0x6cd,_0x3ed9bb:0x2c4,_0x52568c:0x113,_0x4aec6d:0x24b,_0x5ec618:0x516,_0x34d243:0x346,_0x1dd96b:0x295,_0x587162:0x721,_0x3ed72c:0x71e,_0x3b1692:0x7ab,_0x6cb997:0x1a0,_0x282607:0xc3,_0x9fe7fd:0x721,_0x45b5b5:0x934,_0x5f33a9:0x273,_0x3d8462:0xee,_0x3547fa:0x85,_0x515c3f:0x46e,_0x286274:0x203,_0x35462f:0x29a,_0x5a5752:0x8d,_0x2be897:0x6cb,_0x21655c:0x61f},_0x1d4ea8={_0x3c3701:0x78d,_0x3ccfe8:0x587,_0x4a5770:0x595,_0x5ae7d0:0x993,_0x5c0211:0x6ab,_0x38d131:0x55c,_0x3952c3:0x53a,_0x8d7aa6:0x697,_0x4466b6:0x8a6,_0x1cb58d:0x875,_0x236b2a:0x8a0,_0x61e93a:0x58a,_0x69ae4:0x54c,_0x3cd348:0x79e,_0x17171d:0x396,_0x527a2a:0x8c1,_0x1266b0:0x8da,_0x1cc71b:0xa32,_0x4acb9f:0x8ae,_0x8f94d2:0x6ba,_0x269d29:0x91d,_0xba74f:0x6b2,_0x40ecd3:0x8f4,_0x5108ec:0x8f2,_0x4ac029:0x6f3,_0x1ec4ec:0x7b9,_0x1cac48:0x705,_0x935423:0x8ed,_0x54f3db:0x9cf,_0x25278e:0x431,_0x194b53:0x3bc,_0x82209c:0x737,_0x34840a:0x57f,_0x49b543:0x750,_0x3aa887:0x88e,_0xd1284c:0x50e,_0x30ae87:0x50e,_0x1b5d5b:0x500,_0xbc1d3c:0x53a,_0x4d4e53:0x920,_0x16f720:0x812,_0x435586:0x698,_0x3d69e7:0xa16,_0x4dd31a:0x6d3,_0x353aec:0x50e,_0xe8b461:0x99a,_0x5aa4c3:0x7a7,_0x1f5c94:0x8c9,_0x4f0149:0x9bc,_0x266d75:0x41a,_0x9fc61e:0x75e,_0x5a3a10:0x772,_0x1dbdeb:0x915,_0x426906:0x7dd,_0x5cacb0:0x6e0,_0x415efb:0x575,_0x32211f:0x56a,_0x504da2:0x618,_0x3a3871:0x5a1,_0x54453a:0x633,_0x2b48a3:0x407,_0x3259d3:0x607,_0xc5832a:0x40e,_0xf5b56:0x6e7,_0x22e864:0x678,_0x4591a8:0x4e0,_0x530d9e:0x679,_0x4d4c64:0x53a,_0x571d58:0x607,_0x49bcf9:0x6e0,_0x5d0cea:0x774,_0x281263:0x735,_0x534f1c:0x854,_0x481f1e:0x6f6,_0x44a679:0x5e3,_0x240a96:0x594,_0x24e46f:0x6ce,_0x383258:0x4b4,_0x573960:0x67c,_0x28c1dd:0x73a,_0x155c57:0x933,_0x17400b:0x928,_0x101876:0x84f,_0x5d5a25:0x787,_0x43eb40:0x6da,_0x19d022:0x624},_0x119262={_0x33f8ac:0x966,_0x12336e:0x6f1,_0x25517d:0x40a,_0x7a8f0e:0x32a,_0x2d84e5:0x78b,_0xf28026:0x9ba},_0x4648b1={_0x2e8482:0x110},_0x32996d={_0x3824ec:0x1c9},_0x5cf159={_0x531704:0x1f3};function _0x367481(_0xedcf59,_0x364681,_0x3e5ec8,_0x6213e2){return _0x4a0aa5(_0xedcf59,_0x3e5ec8- -0x453,_0x3e5ec8-0x166,_0x6213e2-_0x5cf159._0x531704);}function _0x427c85(_0x1f62fb,_0x3366e7,_0x471c01,_0x27c31e){return _0x4a0aa5(_0x27c31e,_0x1f62fb-0x83,_0x471c01-0xea,_0x27c31e-_0x32996d._0x3824ec);}return defineTool({'name':_0x427c85(0x649,_0x3100ea._0x2cb1b0,_0x3100ea._0x2f9bce,_0x3100ea._0x964ca1),'permissionClass':_0x427c85(_0x3100ea._0xf599ac,_0x3100ea._0x369f4e,0x7d0,0x589),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20and\x20waits\x20for\x20completion.\x20`description`\x20is\x20a\x20short\x20UI\x20label;\x20`task`\x20is\x20the\x20complete\x20instruction\x20sent\x20to\x20the\x20agent.','inputSchema':{'type':_0x427c85(_0x3100ea._0x1547c0,0x3d4,_0x3100ea._0x30730a,0x3c3),'properties':{'agentId':{'type':_0x367481(_0x3100ea._0x3ed9bb,_0x3100ea._0x52568c,_0x3100ea._0x4aec6d,0x221),'description':_0x427c85(_0x3100ea._0x5ec618,0x4ef,0x3cc,0x6dd)},'description':{'type':_0x367481(_0x3100ea._0x34d243,_0x3100ea._0x1dd96b,0x24b,0x3b1),'description':'Short\x20user-facing\x20summary\x20of\x20the\x20delegated\x20work.\x20Used\x20only\x20for\x20display\x20and\x20not\x20sent\x20to\x20the\x20agent.'},'nickname':{'type':_0x427c85(_0x3100ea._0x587162,_0x3100ea._0x3ed72c,_0x3100ea._0x3b1692,0x78a),'description':_0x367481(0x249,_0x3100ea._0x6cb997,0x144,_0x3100ea._0x282607)},'task':{'type':_0x427c85(_0x3100ea._0x9fe7fd,0x917,_0x3100ea._0x45b5b5,0x921),'description':_0x367481(0x1f0,_0x3100ea._0x5f33a9,_0x3100ea._0x3d8462,_0x3100ea._0x3547fa)}},'required':[_0x367481(_0x3100ea._0x515c3f,_0x3100ea._0x286274,_0x3100ea._0x35462f,_0x3100ea._0x5a5752),'description',_0x427c85(0x629,_0x3100ea._0x2be897,_0x3100ea._0x21655c,0x48f)]},async *'execute'(_0x90381,_0x41b743){const _0x9ecd9c={_0x40a45e:0x16a},_0x312fe5={_0x2d71d2:0x41},_0x27e9e4=createDelegatedRunId(),_0x304686=new AbortController(),_0x26ddd5={'agentId':_0x90381['agentId'],'parentSessionId':_0x41b743[_0x267589(_0x1d4ea8._0x3c3701,_0x1d4ea8._0x3ccfe8,_0x1d4ea8._0x4a5770,_0x1d4ea8._0x5ae7d0)],'runId':_0x27e9e4,'signal':_0x304686[_0x393aae(_0x1d4ea8._0x5c0211,_0x1d4ea8._0x38d131,_0x1d4ea8._0x3952c3,_0x1d4ea8._0x8d7aa6)],..._0x41b743[_0x393aae(_0x1d4ea8._0x4466b6,_0x1d4ea8._0x1cb58d,0x8ed,0x7c2)]!==void 0x0?{'toolCallId':_0x41b743['toolCallId']}:{}},_0x58cdd5=getDelegatedAgentDefinition(_0x327d01,_0x90381[_0x393aae(_0x1d4ea8._0x236b2a,0x9f4,0x8da,0xa59)]);function _0x267589(_0x831a8b,_0x957c03,_0x419a30,_0x481e84){return _0x427c85(_0x831a8b-0x13e,_0x957c03-_0x4648b1._0x2e8482,_0x419a30-0x157,_0x419a30);}if(!_0x58cdd5)throw new ToolExecutionError(_0x267589(_0x1d4ea8._0x61e93a,_0x1d4ea8._0x69ae4,_0x1d4ea8._0x3cd348,_0x1d4ea8._0x17171d)+_0x90381[_0x393aae(0x9f8,_0x1d4ea8._0x527a2a,_0x1d4ea8._0x1266b0,_0x1d4ea8._0x1cc71b)],{'agentId':_0x90381[_0x267589(_0x1d4ea8._0x4acb9f,_0x1d4ea8._0x8f94d2,_0x1d4ea8._0x269d29,_0x1d4ea8._0xba74f)]});let _0x48b63d={'runId':_0x27e9e4,'agentId':_0x90381[_0x393aae(_0x1d4ea8._0x40ecd3,0x809,0x8da,_0x1d4ea8._0x5108ec)],'status':_0x393aae(0x40d,0x400,0x520,0x443),'parentSessionId':_0x41b743[_0x393aae(0x7be,_0x1d4ea8._0x4ac029,_0x1d4ea8._0x1ec4ec,0x99b)],..._0x41b743[_0x393aae(0x99a,_0x1d4ea8._0x1cac48,_0x1d4ea8._0x935423,_0x1d4ea8._0x54f3db)]!==void 0x0?{'originToolCallId':_0x41b743['toolCallId']}:{}};const _0x39f0e6=addAbortListener(_0x41b743[_0x393aae(_0x1d4ea8._0x25278e,_0x1d4ea8._0x194b53,0x53a,0x62d)],()=>{const _0x4b31b9={_0x514dc7:0x6c7,_0x250375:0x176};function _0x38713c(_0x1047be,_0x4a7aa4,_0x284ce2,_0x25cfe2){return _0x267589(_0x1047be- -_0x4b31b9._0x514dc7,_0x4a7aa4-0x110,_0x4a7aa4,_0x25cfe2-_0x4b31b9._0x250375);}function _0x5552cf(_0x76fd09,_0x2a56ca,_0xfcea7c,_0x39c0b0){return _0x393aae(_0xfcea7c,_0x2a56ca-0x17b,_0x2a56ca- -0xb3,_0x39c0b0-_0x312fe5._0x2d71d2);}_0x304686[_0x5552cf(_0x119262._0x33f8ac,0x7fa,0x6a4,_0x119262._0x12336e)](_0x41b743[_0x5552cf(_0x119262._0x25517d,0x487,0x325,_0x119262._0x7a8f0e)][_0x5552cf(0x60c,0x7c3,_0x119262._0x2d84e5,_0x119262._0xf28026)]);});let _0x837096;function _0x393aae(_0x4b6109,_0x3637af,_0x5a7a8f,_0x46dfc4){return _0x427c85(_0x5a7a8f-_0x9ecd9c._0x40a45e,_0x3637af-0x4,_0x5a7a8f-0xab,_0x4b6109);}let _0x257c5b,_0x6bb44f,_0xcfdb2e;try{_0x327d01[_0x267589(0x737,0x6c2,0x5c5,0x946)]!==void 0x0&&(_0x837096=await _0x327d01[_0x267589(_0x1d4ea8._0x82209c,0x5b9,0x86f,0x764)][_0x393aae(0x6aa,_0x1d4ea8._0x34840a,_0x1d4ea8._0x49b543,_0x1d4ea8._0x3aa887)](_0x304686['signal']));throwIfAborted(_0x304686[_0x267589(_0x1d4ea8._0xd1284c,0x393,0x4cc,0x4c2)]);const _0x56d781=await awaitWithAbort(resolveDelegatedAgentOptions(_0x58cdd5,_0x26ddd5),_0x304686[_0x267589(_0x1d4ea8._0x30ae87,0x49e,0x44f,0x44e)]);throwIfAborted(_0x304686[_0x393aae(0x61c,_0x1d4ea8._0x1b5d5b,_0x1d4ea8._0xbc1d3c,0x6f1)]);const _0x41e890=_0x327d01[_0x267589(0x83a,0x8a5,0x744,_0x1d4ea8._0x4d4e53)]!==void 0x0&&_0x56d781[_0x393aae(0x860,0x78f,_0x1d4ea8._0x16f720,_0x1d4ea8._0x435586)]!==void 0x0?{..._0x56d781,'systemPrompt':_0x327d01['renderSystemPrompt'](_0x56d781[_0x393aae(_0x1d4ea8._0x3d69e7,0x963,_0x1d4ea8._0x16f720,_0x1d4ea8._0x4dd31a)])}:_0x56d781;throwIfAborted(_0x304686[_0x267589(_0x1d4ea8._0x353aec,0x6e3,0x6c7,0x534)]);const _0x59fc47=new Agent(_0x41e890);_0x48b63d={..._0x48b63d,'sessionId':_0x59fc47[_0x393aae(0x6df,0x942,_0x1d4ea8._0x1ec4ec,_0x1d4ea8._0xe8b461)]},_0x257c5b=_0x327d01['registerActiveAgent']?.(_0x59fc47,_0x26ddd5);const _0x3930ae=new Promise(_0x556504=>{_0xcfdb2e=_0x556504;});_0x6bb44f=_0x327d01['registerActiveRun']?.({'runId':_0x27e9e4,'abortController':_0x304686,'completion':_0x3930ae}),yield createToolOutput(_0x267589(0x6bc,_0x1d4ea8._0x5aa4c3,0x7ab,0x818)+_0x48b63d['runId']+'.',{'runId':_0x48b63d['runId'],'agentId':_0x48b63d[_0x393aae(0x9db,_0x1d4ea8._0x1f5c94,_0x1d4ea8._0x1266b0,_0x1d4ea8._0x4f0149)],'sessionId':_0x59fc47['sessionId'],'status':_0x48b63d[_0x267589(0x575,0x524,_0x1d4ea8._0x266d75,_0x1d4ea8._0x9fc61e)]}),throwIfAborted(_0x304686['signal']);const _0x4ec57e=await _0x59fc47['send'](_0x90381[_0x267589(0x767,_0x1d4ea8._0x5a3a10,_0x1d4ea8._0x1dbdeb,_0x1d4ea8._0x426906)],{'streaming':!![],'signal':_0x304686[_0x393aae(_0x1d4ea8._0x5cacb0,0x642,_0x1d4ea8._0xbc1d3c,0x59a)]});_0x48b63d={..._0x48b63d,'status':_0x4ec57e[_0x267589(_0x1d4ea8._0x415efb,0x670,0x588,_0x1d4ea8._0x32211f)],'result':_0x4ec57e};if(_0x4ec57e[_0x393aae(0x5df,_0x1d4ea8._0x504da2,_0x1d4ea8._0x3a3871,0x60a)]!=='completed'){const _0x4536dc=getRunTerminalErrorMessage(_0x4ec57e),_0x521ffc=formatAbortedRunMessage(_0x48b63d[_0x393aae(0x460,0x753,_0x1d4ea8._0x54453a,0x688)],_0x4536dc);throw new ToolExecutionError(_0x521ffc,{...createRunSummary(_0x48b63d),'aborted':!![],'errorMessage':_0x521ffc});}return createRunSummaryOutput(_0x48b63d,_0x393aae(0x7c0,_0x1d4ea8._0x2b48a3,0x5c0,0x5bb)+_0x48b63d[_0x267589(_0x1d4ea8._0x3259d3,_0x1d4ea8._0xc5832a,0x6e4,0x632)]+_0x267589(0x5d0,0x420,0x6c5,_0x1d4ea8._0xf5b56));}catch(_0x418bc3){if(_0x418bc3 instanceof ToolExecutionError)throw _0x418bc3;if(isAbortError(_0x418bc3)||_0x304686[_0x393aae(_0x1d4ea8._0x22e864,_0x1d4ea8._0x4591a8,_0x1d4ea8._0xbc1d3c,0x745)][_0x267589(0x6bd,0x510,0x685,0x5bc)]||_0x41b743[_0x393aae(0x33c,_0x1d4ea8._0x530d9e,_0x1d4ea8._0x4d4c64,0x46e)]['aborted']){const _0xdbe586=getRunTerminalErrorMessage(_0x48b63d['result'])??(_0x418bc3 instanceof Error?_0x418bc3['message']:String(_0x418bc3)),_0x861d92=formatAbortedRunMessage(_0x48b63d[_0x267589(_0x1d4ea8._0x571d58,_0x1d4ea8._0x49bcf9,0x4b0,_0x1d4ea8._0x5d0cea)],_0xdbe586);_0x48b63d={..._0x48b63d,'status':_0x267589(0x6bd,_0x1d4ea8._0x281263,0x67e,_0x1d4ea8._0x534f1c),'errorMessage':_0x861d92};throw new ToolExecutionError(_0x861d92,{...createRunSummary(_0x48b63d),'aborted':!![],'errorMessage':_0x861d92});}const _0x4efb0a=getRunTerminalErrorMessage(_0x48b63d['result'])??(_0x418bc3 instanceof Error?_0x418bc3[_0x267589(_0x1d4ea8._0x481f1e,0x878,_0x1d4ea8._0x44a679,0x7b8)]:String(_0x418bc3))??_0x267589(_0x1d4ea8._0x240a96,0x416,0x56e,_0x1d4ea8._0x24e46f)+_0x48b63d[_0x393aae(0x49e,_0x1d4ea8._0x383258,_0x1d4ea8._0x54453a,_0x1d4ea8._0x573960)]+_0x267589(0x85b,_0x1d4ea8._0x28c1dd,_0x1d4ea8._0x155c57,0x9f0);_0x48b63d={..._0x48b63d,'status':_0x393aae(_0x1d4ea8._0x17400b,_0x1d4ea8._0x101876,_0x1d4ea8._0x5d5a25,0x791),'errorMessage':_0x4efb0a};throw new ToolExecutionError(_0x4efb0a,{...createRunSummary(_0x48b63d),'errorMessage':_0x4efb0a});}finally{_0x327d01[_0x393aae(_0x1d4ea8._0x43eb40,_0x1d4ea8._0x19d022,0x73c,0x5d5)]?.(_0x26ddd5),_0xcfdb2e?.(),_0x6bb44f?.(),_0x257c5b?.(),_0x837096?.(),_0x39f0e6();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x497016){return[createAssignTaskTool(_0x497016)];}import{mkdir as _0xc76b49,writeFile}from'fs/promises';import*as _0x10b990 from'path';function sanitizeFileName(_0x43b642){const _0x58335e={_0x15c2c0:0x2ad},_0x1ce3d3={_0x4d8002:0x182};function _0x5671fd(_0x5e0d8a,_0x433764,_0x26e2e5,_0x2d37be){return _0x4a0aa5(_0x2d37be,_0x26e2e5- -0x1cf,_0x26e2e5-_0x1ce3d3._0x4d8002,_0x2d37be-0x125);}return _0x43b642[_0x5671fd(_0x58335e._0x15c2c0,0x111,0x175,0x5)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x58ced9,_0x1a1437){const _0x5a6f4f={_0x845041:0x8d0,_0x5d4ce7:0x764,_0x2bdce7:0x6e9,_0x2f50eb:0x78e,_0x2e8a84:0x76d,_0x797cfc:0x7a1,_0x32f7cf:0x90b,_0x46eb14:0x80d,_0x41430c:0x480,_0x1550c5:0x656,_0x2ab8ae:0x9a1,_0xf0e83f:0x815,_0xb7e727:0x634,_0x507b29:0x75e,_0x47ec1c:0x694,_0x49ab18:0x5f0,_0x34203a:0x6e4,_0x23cf4e:0x591,_0x4ca60d:0x6b3,_0x122a31:0x4fe,_0x61e089:0x48a,_0x51c527:0x7b4,_0x42229f:0x557,_0x2fe387:0x77c,_0x3143f4:0x62c,_0x5943db:0x9b0,_0x34134f:0x701,_0x661c7b:0x749,_0x45e1ac:0x5b6,_0x80acdb:0x5af,_0x1fc682:0x693,_0x24fb61:0xa35,_0x26b067:0x5f2,_0x30ac90:0x7be,_0x181e82:0x337,_0x4fc5df:0x552,_0x440ecf:0x732,_0x1a51d9:0x540,_0xccaa2:0x68a,_0x2f2a96:0x370,_0x1daba5:0x483,_0x50a80b:0x82d,_0x4f7339:0x5e2,_0x215808:0x6b0},_0x24b8f4={_0x2e034a:0x68,_0xfb361c:0x5a},_0x589b18={_0x5aa126:0xcf,_0x5086a3:0xc5,_0x59100f:0x84},{maxBytes:_0x5f0b12,sessionDir:_0x1e4c00}=_0x1a1437;if(!_0x58ced9[_0x10449a(0x6aa,0x67d,_0x5a6f4f._0x845041,_0x5a6f4f._0x5d4ce7)]||Buffer['byteLength'](_0x58ced9['output'],_0x10449a(_0x5a6f4f._0x2bdce7,0x40b,0x76a,0x5ef))<=_0x5f0b12)return _0x58ced9;const _0xea206f=Buffer[_0x10449a(_0x5a6f4f._0x2f50eb,0x949,0x972,0x862)](_0x58ced9[_0x49d1ea(_0x5a6f4f._0x2e8a84,0x939,0x852,_0x5a6f4f._0x797cfc)],'utf8');if(!_0x1e4c00){const _0x493acc=_0x58ced9[_0x49d1ea(_0x5a6f4f._0x32f7cf,_0x5a6f4f._0x46eb14,0x674,0x7a1)][_0x10449a(_0x5a6f4f._0x41430c,0x7b4,0x706,_0x5a6f4f._0x1550c5)](0x0,_0x5f0b12);return{..._0x58ced9,'output':_0x493acc+('\x0a\x0a<system-reminder>\x0aTool\x20output\x20was\x20truncated\x20at\x20'+_0x5f0b12+_0x10449a(_0x5a6f4f._0x2ab8ae,_0x5a6f4f._0xf0e83f,0x9a4,0x873)+_0xea206f+_0x10449a(_0x5a6f4f._0xb7e727,_0x5a6f4f._0x507b29,_0x5a6f4f._0x47ec1c,_0x5a6f4f._0x49ab18)),'meta':{..._0x58ced9['meta'],'truncated':!![],'originalBytes':_0xea206f,'transforms':[..._0x58ced9[_0x10449a(0x6ad,0x713,0x758,0x7f0)]['transforms'],_0x49d1ea(_0x5a6f4f._0x34203a,_0x5a6f4f._0x23cf4e,_0x5a6f4f._0x4ca60d,_0x5a6f4f._0x122a31)]}};}const _0x1ebbcc=_0x58ced9['toolName']+'_'+sanitizeFileName(_0x58ced9[_0x49d1ea(0x79c,0x665,0x831,0x7f0)])+'.log',_0x103f1e=_0x10b990[_0x10449a(0x626,_0x5a6f4f._0x61e089,_0x5a6f4f._0x51c527,0x66f)](_0x1e4c00,_0x1ebbcc);await _0xc76b49(_0x1e4c00,{'recursive':!![]}),await writeFile(_0x103f1e,_0x58ced9['output'],_0x49d1ea(0x638,_0x5a6f4f._0x42229f,_0x5a6f4f._0x2fe387,_0x5a6f4f._0x3143f4));let _0x50e8cf=_0x58ced9[_0x49d1ea(_0x5a6f4f._0x5943db,_0x5a6f4f._0x34134f,_0x5a6f4f._0x661c7b,0x7a1)][_0x49d1ea(0x5c0,_0x5a6f4f._0x45e1ac,_0x5a6f4f._0x80acdb,_0x5a6f4f._0x1fc682)](0x0,_0x5f0b12);const _0x26dd81=_0x50e8cf[_0x49d1ea(0x682,0x776,_0x5a6f4f._0x24fb61,0x835)]('\x0a');function _0x10449a(_0x3e9175,_0x5acc53,_0x276214,_0x3a8d4a){return _0x38b1c5(_0x3e9175-_0x589b18._0x5aa126,_0x5acc53-_0x589b18._0x5086a3,_0x3a8d4a-_0x589b18._0x59100f,_0x3e9175);}function _0x49d1ea(_0x4a9a28,_0x3589fd,_0x1ef5fe,_0x26a8df){return _0x38b1c5(_0x4a9a28-_0x24b8f4._0x2e034a,_0x3589fd-_0x24b8f4._0xfb361c,_0x26a8df-0xc1,_0x1ef5fe);}_0x26dd81>_0x5f0b12*0.5&&(_0x50e8cf=_0x50e8cf[_0x49d1ea(0x5e1,_0x5a6f4f._0x26b067,_0x5a6f4f._0x30ac90,0x693)](0x0,_0x26dd81));const _0x52e0a0=['',_0x49d1ea(_0x5a6f4f._0x181e82,_0x5a6f4f._0x4fc5df,_0x5a6f4f._0x440ecf,_0x5a6f4f._0x1a51d9),_0x10449a(0x597,_0x5a6f4f._0xccaa2,0x73e,0x607)+_0x5f0b12+'\x20bytes\x20(total:\x20'+_0xea206f+_0x10449a(0x641,0x7aa,0x81e,0x7e2),_0x10449a(0x598,0x590,_0x5a6f4f._0x2f2a96,_0x5a6f4f._0x1daba5)+_0x103f1e,_0x49d1ea(0x65a,0x711,0x6a7,0x801),_0x10449a(0x419,0x5e7,0x582,0x49f)][_0x49d1ea(0x6e9,0x664,0x58f,0x6ac)]('\x0a');return{..._0x58ced9,'output':_0x50e8cf+_0x52e0a0,'meta':{..._0x58ced9[_0x49d1ea(0x91d,0x9b5,0x6da,_0x5a6f4f._0x50a80b)],'truncated':!![],'originalBytes':_0xea206f,'transforms':[..._0x58ced9[_0x10449a(0x7c1,_0x5a6f4f._0x4f7339,_0x5a6f4f._0x215808,0x7f0)]['transforms'],'tool-output-offload']}};}import{readFile as _0x59f544,stat as _0xe88ecb}from'fs/promises';function createAnchoredFileError(_0x2d2382,_0x3a9700,_0x5b4fc6){return new ToolExecutionError(_0x3a9700,{'error':_0x2d2382,..._0x5b4fc6});}import{createHash}from'crypto';function sha256Bytes(_0x13b10b){const _0x219a1c={_0x1884f3:0xf8,_0x4471a2:0x23a,_0x18e1d0:0x59a,_0xc72f90:0x7a1,_0x16803b:0x1d,_0x34cc68:0x1c8,_0x43e6ce:0x15,_0xd01c6b:0x13f,_0x3d2459:0x250},_0x4e75c1={_0x2d9c8c:0x16},_0x53bbc4={_0x538c25:0x2a,_0x5a6226:0x4af};function _0x40d4cb(_0x12d753,_0x2c0b57,_0x5ebc75,_0x454276){return _0x38b1c5(_0x12d753-_0x53bbc4._0x538c25,_0x2c0b57-0x17b,_0x2c0b57- -_0x53bbc4._0x5a6226,_0x454276);}function _0x4aaa9d(_0x4fdb61,_0x579110,_0x5b6199,_0x18a70){return _0x38b1c5(_0x4fdb61-0x166,_0x579110-0x2,_0x4fdb61-_0x4e75c1._0x2d9c8c,_0x579110);}return createHash(_0x40d4cb(0x2f,_0x219a1c._0x1884f3,0x131,_0x219a1c._0x4471a2))[_0x4aaa9d(_0x219a1c._0x18e1d0,_0x219a1c._0xc72f90,0x79b,0x4ef)](_0x13b10b)[_0x40d4cb(-_0x219a1c._0x16803b,_0x219a1c._0x34cc68,-0xc,-_0x219a1c._0x43e6ce)](_0x40d4cb(_0x219a1c._0xd01c6b,0x114,_0x219a1c._0x3d2459,-0x85));}function countLines(_0x28924f){const _0x256b00={_0xa291c:0x757,_0x4ce547:0x876,_0x2286ef:0x637,_0x483e94:0x5ec,_0x3e53f9:0x791,_0xd644c1:0x8c2,_0x1ac471:0x76c},_0x546960={_0x23caa4:0x171,_0x38a7e9:0x1a9},_0x2733ea={_0x3c58f9:0x1e5,_0x90cc14:0x1df};function _0x19719f(_0x18c0d9,_0x726cfb,_0x2dee18,_0x5ac155){return _0x4a0aa5(_0x5ac155,_0x726cfb-_0x2733ea._0x3c58f9,_0x2dee18-_0x2733ea._0x90cc14,_0x5ac155-0xea);}function _0x5a4664(_0x503da0,_0x51dd5e,_0x50a8a9,_0x1d3f9c){return _0x38b1c5(_0x503da0-_0x546960._0x23caa4,_0x51dd5e-_0x546960._0x38a7e9,_0x1d3f9c-0xe1,_0x50a8a9);}const _0x4e930f=_0x28924f['replace'](/\n$/,'');return _0x4e930f[_0x19719f(0x7b3,0x88e,_0x256b00._0xa291c,_0x256b00._0x4ce547)]===0x0?0x0:_0x4e930f[_0x5a4664(0x427,0x720,_0x256b00._0x2286ef,_0x256b00._0x483e94)]('\x0a')[_0x19719f(_0x256b00._0x3e53f9,0x88e,_0x256b00._0xd644c1,_0x256b00._0x1ac471)];}function replaceFirstExact(_0x3f7aa4,_0x4263c7,_0x43d900){const _0x8c89ed={_0x10b141:0x34c,_0x5cf651:0x4b4,_0x32bc3d:0x650,_0x4e8572:0x56b,_0x357265:0x710,_0x3051e8:0x839,_0x957f53:0x5bb,_0x3fd444:0x4e1,_0x4cfd62:0x467,_0x576766:0x66d,_0x1dcb73:0x443,_0x4a849f:0x522,_0x24b066:0x2fc},_0x11e43d={_0x4d7e5e:0x23a},_0x20aeae={_0x413e8b:0x1a5,_0xbce3bf:0x4a},_0x1d293f=_0x3f7aa4['indexOf'](_0x4263c7);function _0x24bc9d(_0x162ed2,_0xc930c,_0x1537c4,_0x308b0b){return _0x38b1c5(_0x162ed2-_0x20aeae._0x413e8b,_0xc930c-_0x20aeae._0xbce3bf,_0xc930c- -0x57,_0x308b0b);}function _0x12a56d(_0x550720,_0x46f0e7,_0x5aa016,_0x4d60a8){return _0x4a0aa5(_0x550720,_0x4d60a8- -_0x11e43d._0x4d7e5e,_0x5aa016-0x1d8,_0x4d60a8-0x61);}if(_0x1d293f===-0x1)return void 0x0;const _0x21e384=_0x3f7aa4['slice'](0x0,_0x1d293f)[_0x24bc9d(_0x8c89ed._0x10b141,_0x8c89ed._0x5cf651,_0x8c89ed._0x32bc3d,0x352)]('\x0a')[_0x24bc9d(_0x8c89ed._0x4e8572,_0x8c89ed._0x357265,_0x8c89ed._0x3051e8,0x744)],_0x2a1b1a=countLines(_0x4263c7),_0x1ea719=countLines(_0x43d900);return{'before':_0x3f7aa4,'after':_0x3f7aa4[_0x24bc9d(_0x8c89ed._0x957f53,0x57b,_0x8c89ed._0x3fd444,_0x8c89ed._0x4cfd62)](0x0,_0x1d293f)+_0x43d900+_0x3f7aa4[_0x24bc9d(_0x8c89ed._0x576766,0x57b,0x490,_0x8c89ed._0x1dcb73)](_0x1d293f+_0x4263c7[_0x12a56d(0x39a,_0x8c89ed._0x4a849f,_0x8c89ed._0x24b066,0x46f)]),'lineNumbers':{'oldStartLine':_0x21e384,'oldEndLine':_0x21e384+_0x2a1b1a-0x1,'newStartLine':_0x21e384,'newEndLine':_0x21e384+_0x1ea719-0x1,'oldLineCount':_0x2a1b1a,'newLineCount':_0x1ea719}};}var MAX_OPERATIONS=0x64;function requireValidAnchorLine(_0x174d0d){const _0x187b35={_0x52332e:0x817,_0x1c33cd:0x852,_0x25855b:0x7f8},_0x1f9191={_0x3a2af2:0x14d},_0x290c4d={_0x44b78d:0x51e,_0x41788d:0x1c1};function _0x23555a(_0x497de6,_0x4ffd7f,_0x639aaa,_0x1a4ebb){return _0x4a0aa5(_0x4ffd7f,_0x1a4ebb- -_0x290c4d._0x44b78d,_0x639aaa-0x1db,_0x1a4ebb-_0x290c4d._0x41788d);}function _0xc441ea(_0x3fa52e,_0x4e17fa,_0x54f159,_0x4e0ed7){return _0x4a0aa5(_0x4e0ed7,_0x3fa52e-_0x1f9191._0x3a2af2,_0x54f159-0x63,_0x4e0ed7-0x21);}if(!Number[_0xc441ea(0x61b,0x50f,0x4e4,0x5e4)](_0x174d0d)||_0x174d0d<0x1)throw createAnchoredFileError(_0xc441ea(0x688,0x57c,_0x187b35._0x52332e,0x5b6),_0xc441ea(_0x187b35._0x1c33cd,_0x187b35._0x25855b,0x71e,0x76d)+String(_0x174d0d)+'.');}function rangeLines(_0x57ae4d,_0x2936b4){const _0x4ebc93=[];for(let _0x2ba9c0=_0x57ae4d;_0x2ba9c0<=_0x2936b4;_0x2ba9c0+=0x1){_0x4ebc93['push'](_0x2ba9c0);}return _0x4ebc93;}function normalizeContent(_0x236915){const _0x4964dc={_0x45092b:0x82},_0x5ea207={_0x3b5a95:0x3b0,_0x34d28f:0xaa};function _0x439d19(_0x15fa33,_0x5d4ab5,_0x514075,_0x568839){return _0x4a0aa5(_0x15fa33,_0x514075- -_0x5ea207._0x3b5a95,_0x514075-_0x5ea207._0x34d28f,_0x568839-0x1de);}return _0x236915[_0x439d19(0x119,0x185,-0x6c,-_0x4964dc._0x45092b)](/\r\n/g,'\x0a')['split']('\x0a');}function planOperations(_0xd3f235,_0x4ee9b9){const _0x5dfdb1={_0x2df332:0x24b,_0x239a32:0x3ce,_0x367923:0x282,_0x2674ba:0x205,_0x230b35:0x463,_0x4c0768:0x342,_0x356a15:0x437,_0x20e9f2:0x59d,_0x45f0ab:0x625,_0x547de5:0x388,_0x1231a3:0x4d2,_0x5d2f9d:0x630,_0x4af108:0x50e,_0x189abb:0x49a,_0x3ce9ba:0x3f0,_0x2a5f88:0x3cc,_0x26ee3d:0x344,_0x40323c:0x447},_0x2e457d={_0x1d6462:0x32,_0x27bda5:0x172,_0x338112:0x139,_0x239604:0x20d,_0x29c709:0x149,_0x180901:0x2e0,_0x52049f:0x1e9,_0x5ec59c:0x11d,_0x5815c2:0x1d8,_0xe2077e:0x244,_0x17e239:0x189,_0x595c94:0x33c,_0x22b8b6:0x7e,_0x49701d:0xc4,_0x2ae3bf:0x220,_0x571a6e:0x92,_0x30baa2:0x1c3,_0x3f45d5:0x3c0,_0x3e6b61:0x263,_0x33ecb0:0x105,_0x36aad5:0x1d5,_0x1489c0:0x149,_0x144403:0xe0,_0x2f12ee:0x342,_0x489e0b:0x54a,_0x4a342d:0x494,_0x15b79e:0x1bb,_0x3d4efd:0x151,_0xcfcd41:0x278,_0x2e0d56:0x2e9,_0x3508de:0x3a5,_0x4d17de:0x2b9,_0x186912:0xe9,_0x5572ed:0xc1,_0x25af88:0x118,_0x4d1cf9:0x21b,_0x571061:0x169,_0x53b7dd:0x9,_0x198106:0x109,_0x3058be:0x4c3,_0x1ea050:0x1f4,_0x5656c3:0x323,_0x208cbc:0x165,_0x5b0490:0x229,_0x58317e:0x198,_0x39cac6:0x73,_0x103a70:0x299,_0x10bf70:0x2d9,_0x62139c:0x149,_0x25b480:0x6d,_0x182c33:0x2be,_0x5e796d:0x12c,_0x5424eb:0x5e,_0x481c8a:0x290,_0xc72d99:0xa4,_0x4459d0:0x220,_0x4b2457:0xb1,_0x2fc621:0xaa,_0x4ffb08:0xfa,_0xe25a4d:0x18c,_0x2bd7d8:0x2b6,_0x5d1aa5:0x2b,_0x279ec7:0x2e8,_0x1c6bfd:0x385,_0x2b55ba:0x4b2,_0x266e6d:0x2fa,_0x4db41a:0x4b9,_0x4727aa:0x27f,_0x4a3dd0:0x277,_0x1c31fb:0x31b,_0x461a37:0x5a,_0x440488:0x103,_0x482a22:0x3ed,_0x28cf9c:0x3b3,_0x566476:0x2d3,_0x318cf7:0x81,_0x5b3071:0x124,_0x72946a:0x17f,_0x2ea703:0x21d,_0x247d1a:0x1a5,_0x139f84:0x82,_0x5a17b1:0x22,_0x5730ec:0x242,_0x5d2a63:0x149,_0xdd8806:0x1a6,_0x5489ed:0x84,_0x4b6905:0x1f1,_0x51085d:0x2b8,_0x8c0fa2:0x153,_0x2e36f9:0x31c,_0x9c909f:0xf,_0x168782:0x86,_0x3c7a6c:0x107,_0xfd1a38:0x240,_0x5eaf22:0x3c4,_0x5b6ff5:0x228,_0x4063e1:0x62,_0x2aea9c:0xb2,_0x5d5e3e:0x306,_0x2b3131:0x141,_0x342735:0xf8,_0x36861f:0x18c,_0x4b6acd:0xbb,_0x325d88:0x319,_0x2c0c54:0x186,_0x1c3822:0x126,_0x46c000:0x249,_0x3ae125:0x23f,_0x54c04a:0x423,_0x29b907:0x5ca,_0x41374c:0x447,_0x568e77:0x4b0,_0xa0aacd:0x499,_0x369ba2:0x8b,_0x218d5e:0x385,_0x56072c:0x28b,_0x3a8f03:0x588,_0x4f9e21:0x2fa,_0xaa0c34:0x448,_0x33bcce:0xfb,_0x2aaec3:0x481,_0x6973b5:0x323,_0x4928f7:0x23f,_0x4b7d3f:0x3fd,_0x1a054c:0x338,_0xabe38c:0xa,_0x5322bb:0x35d,_0x12f6cf:0xf5,_0x5df5b2:0x5c,_0x382dee:0x22a,_0x5ece39:0x59b,_0x5befe2:0x573,_0x2dfded:0x4e7,_0x50ed5e:0x2eb,_0x5d1352:0x32b,_0xe86b89:0x240,_0x2bcf27:0xa6,_0x37620b:0x43,_0x1f2e33:0xd6,_0x206cca:0x17,_0x53dead:0x16f},_0x3d9b90={_0x403879:0x200},_0xb1b2d2={_0x326e00:0xb9,_0x2f3a73:0x1c2},_0x37bc60={_0xbd07a8:0x5e};if(_0x4ee9b9[_0x164a99(0x5d2,0x3f0,0x4f0,_0x5dfdb1._0x2df332)]===0x0)throw createAnchoredFileError(_0x164a99(_0x5dfdb1._0x239a32,_0x5dfdb1._0x367923,_0x5dfdb1._0x2674ba,0x3f6),_0x164a99(0x5e5,0x490,_0x5dfdb1._0x230b35,0x471));function _0x164a99(_0x3e4596,_0x46edd7,_0x19db7c,_0x5c61df){return _0x4a0aa5(_0x5c61df,_0x46edd7- -0x2b9,_0x19db7c-0x84,_0x5c61df-_0x37bc60._0xbd07a8);}if(_0x4ee9b9['length']>MAX_OPERATIONS)throw createAnchoredFileError(_0x11c809(_0x5dfdb1._0x4c0768,_0x5dfdb1._0x356a15,_0x5dfdb1._0x20e9f2,_0x5dfdb1._0x45f0ab),'At\x20most\x20'+MAX_OPERATIONS+_0x164a99(0x2cb,0x3ef,_0x5dfdb1._0x547de5,_0x5dfdb1._0x1231a3));function _0x11c809(_0xe32208,_0x45d46c,_0x5b551c,_0x2edb5a){return _0x38b1c5(_0xe32208-0x16d,_0x45d46c-_0xb1b2d2._0x326e00,_0x45d46c- -_0xb1b2d2._0x2f3a73,_0x2edb5a);}if(_0xd3f235[_0x11c809(0x693,_0x5dfdb1._0x5d2f9d,_0x5dfdb1._0x4af108,_0x5dfdb1._0x189abb)][_0x164a99(0x2ee,_0x5dfdb1._0x3ce9ba,0x378,0x34c)]===0x0)throw createAnchoredFileError(_0x11c809(_0x5dfdb1._0x2a5f88,0x437,_0x5dfdb1._0x26ee3d,_0x5dfdb1._0x40323c),'Empty\x20files\x20have\x20no\x20observable\x20line\x20anchors;\x20anchored\x20edits\x20require\x20at\x20least\x20one\x20line.');return _0x4ee9b9['map'](_0x283f35=>{function _0x5b72ca(_0x30441b,_0x412e5e,_0x346145,_0xc815b2){return _0x164a99(_0x30441b-0x11e,_0x30441b- -0xf6,_0x346145-0xa,_0xc815b2);}function _0x27ba2c(_0x5c13e6,_0x637358,_0x219460,_0x3572b4){return _0x11c809(_0x5c13e6-0x199,_0x5c13e6- -_0x3d9b90._0x403879,_0x219460-0xe8,_0x3572b4);}switch(_0x283f35[_0x27ba2c(0x76,-_0x2e457d._0x1d6462,-0x33,_0x2e457d._0x27bda5)]){case _0x27ba2c(0x40,-0x86,-_0x2e457d._0x338112,0x128):{requireValidAnchorLine(_0x283f35[_0x5b72ca(_0x2e457d._0x239604,_0x2e457d._0x29c709,_0x2e457d._0x180901,_0x2e457d._0x52049f)]),requireValidAnchorLine(_0x283f35[_0x5b72ca(_0x2e457d._0x29c709,_0x2e457d._0x5ec59c,_0x2e457d._0x5815c2,_0x2e457d._0xe2077e)]);if(_0x283f35[_0x5b72ca(_0x2e457d._0x239604,0x225,_0x2e457d._0x17e239,0x39)]>_0x283f35[_0x5b72ca(_0x2e457d._0x29c709,_0x2e457d._0x595c94,_0x2e457d._0x22b8b6,-_0x2e457d._0x49701d)])throw createAnchoredFileError('invalid_range',_0x5b72ca(0xce,_0x2e457d._0x2ae3bf,_0x2e457d._0x571a6e,0x2e2));if(typeof _0x283f35[_0x27ba2c(_0x2e457d._0x30baa2,_0x2e457d._0x3f45d5,0x25e,_0x2e457d._0x3e6b61)]!==_0x5b72ca(0x2ef,0x3f7,0x4d6,0x3c3))throw createAnchoredFileError('invalid_range',_0x27ba2c(0x134,0x1bc,_0x2e457d._0x33ecb0,_0x2e457d._0x36aad5));if(_0x283f35[_0x5b72ca(_0x2e457d._0x1489c0,0x290,_0x2e457d._0x144403,_0x2e457d._0x2f12ee)]>_0xd3f235[_0x5b72ca(0x385,0x599,_0x2e457d._0x489e0b,0x4a8)]['length'])throw createAnchoredFileError('invalid_range',_0x5b72ca(0x345,0x24b,_0x2e457d._0x4a342d,0x402)+_0x283f35[_0x27ba2c(0x2b8,_0x2e457d._0x15b79e,_0x2e457d._0x3d4efd,0x301)]+',\x20'+_0x283f35[_0x5b72ca(0x149,0x177,0x21a,_0x2e457d._0xcfcd41)]+_0x27ba2c(0x1e8,-0x22,_0x2e457d._0x2e0d56,0x19a)+_0xd3f235['lines'][_0x27ba2c(_0x2e457d._0x3508de,_0x2e457d._0x4d17de,0x1c4,0x269)]+_0x27ba2c(0x124,0xb9,-_0x2e457d._0x186912,_0x2e457d._0x5572ed));const _0x199f90=normalizeContent(_0x283f35[_0x5b72ca(_0x2e457d._0x25af88,0x3,_0x2e457d._0x4d1cf9,0x2dc)]);return{'kind':_0x5b72ca(-0x6b,-0x1b0,-_0x2e457d._0x571061,-_0x2e457d._0x53b7dd),'canonical':{'operation':_0x27ba2c(0x40,-0x13,_0x2e457d._0x1489c0,_0x2e457d._0x198106),'startLine':_0x283f35[_0x27ba2c(0x2b8,0x296,_0x2e457d._0x3058be,0x1ed)],'endLine':_0x283f35[_0x27ba2c(_0x2e457d._0x1ea050,_0x2e457d._0x5656c3,_0x2e457d._0x208cbc,0x3e)],'content':_0x199f90[_0x27ba2c(_0x2e457d._0x5b0490,0x408,0x394,0x33a)]('\x0a')},'spliceIndex':_0x283f35[_0x27ba2c(0x2b8,0x182,0x293,_0x2e457d._0x58317e)]-0x1,'deleteCount':_0x283f35[_0x5b72ca(0x149,-_0x2e457d._0x39cac6,_0x2e457d._0x103a70,_0x2e457d._0x10bf70)]-_0x283f35['startLine']+0x1,'rows':_0x199f90,'sourceStart':_0x283f35['startLine'],'sourceEnd':_0x283f35[_0x5b72ca(_0x2e457d._0x62139c,-_0x2e457d._0x25b480,0x21a,0x5c)],'requiredLines':rangeLines(_0x283f35[_0x27ba2c(0x2b8,_0x2e457d._0x182c33,0x460,0xfe)],_0x283f35['endLine'])};}case _0x27ba2c(_0x2e457d._0x5e796d,-_0x2e457d._0x5424eb,_0x2e457d._0x481c8a,_0x2e457d._0xc72d99):{requireValidAnchorLine(_0x283f35['startLine']),requireValidAnchorLine(_0x283f35[_0x27ba2c(0x1f4,_0x2e457d._0x4459d0,_0x2e457d._0x4b2457,0x401)]);if(_0x283f35[_0x5b72ca(0x20d,_0x2e457d._0x2fc621,0x2f0,0x28f)]>_0x283f35[_0x27ba2c(0x1f4,_0x2e457d._0x4ffb08,0x7a,0xa6)])throw createAnchoredFileError(_0x5b72ca(_0x2e457d._0xe25a4d,_0x2e457d._0x2bd7d8,-_0x2e457d._0x5d1aa5,_0x2e457d._0x279ec7),'delete\x20startLine\x20must\x20not\x20exceed\x20endLine.');if(_0x283f35['endLine']>_0xd3f235[_0x5b72ca(_0x2e457d._0x1c6bfd,0x19e,_0x2e457d._0x2b55ba,0x257)][_0x5b72ca(_0x2e457d._0x266e6d,_0x2e457d._0x4db41a,0x44b,_0x2e457d._0x4727aa)])throw createAnchoredFileError(_0x5b72ca(_0x2e457d._0xe25a4d,_0x2e457d._0x4a3dd0,_0x2e457d._0x1c31fb,-_0x2e457d._0x461a37),_0x27ba2c(0x73,-0x74,_0x2e457d._0x440488,0x10b)+_0x283f35[_0x5b72ca(0x20d,_0x2e457d._0x482a22,0x19c,_0x2e457d._0x28cf9c)]+',\x20'+_0x283f35[_0x5b72ca(0x149,_0x2e457d._0x566476,-_0x2e457d._0x318cf7,0x16d)]+']\x20is\x20past\x20the\x20end\x20of\x20the\x20'+_0xd3f235[_0x5b72ca(0x385,0x406,0x215,0x4aa)]['length']+_0x27ba2c(_0x2e457d._0x5b3071,_0x2e457d._0x72946a,_0x2e457d._0x2ea703,0x31b));return{'kind':_0x27ba2c(0x12c,0x1a5,0x21d,_0x2e457d._0x247d1a),'canonical':{'operation':_0x5b72ca(0x81,0x186,-_0x2e457d._0x139f84,0x153),'startLine':_0x283f35[_0x5b72ca(_0x2e457d._0x239604,_0x2e457d._0x5a17b1,0x3b8,0x1e2)],'endLine':_0x283f35[_0x27ba2c(_0x2e457d._0x1ea050,0x17b,0x1cd,_0x2e457d._0x5730ec)]},'spliceIndex':_0x283f35['startLine']-0x1,'deleteCount':_0x283f35[_0x5b72ca(_0x2e457d._0x5d2a63,_0x2e457d._0xdd8806,0x2f,0x28e)]-_0x283f35['startLine']+0x1,'rows':[],'sourceStart':_0x283f35[_0x27ba2c(0x2b8,0xe8,0x20f,0x17e)],'sourceEnd':_0x283f35[_0x27ba2c(0x1f4,0x222,_0x2e457d._0x5489ed,_0x2e457d._0x4b6905)],'requiredLines':rangeLines(_0x283f35[_0x27ba2c(_0x2e457d._0x51085d,0x25d,_0x2e457d._0x8c0fa2,_0x2e457d._0x2e36f9)],_0x283f35['endLine'])};}case _0x27ba2c(0x107,_0x2e457d._0x9c909f,-_0x2e457d._0x168782,_0x2e457d._0x3c7a6c):{requireValidAnchorLine(_0x283f35[_0x5b72ca(_0x2e457d._0xfd1a38,0xe1,_0x2e457d._0x5eaf22,0x1a6)]);if(_0x283f35[_0x5b72ca(0x30b,0x380,0x4e1,_0x2e457d._0x5b6ff5)]!==_0x5b72ca(0x32,_0x2e457d._0x4063e1,_0x2e457d._0x2aea9c,-0x151)&&_0x283f35['position']!==_0x5b72ca(_0x2e457d._0x5d5e3e,_0x2e457d._0x2b3131,0x422,_0x2e457d._0x342735))throw createAnchoredFileError(_0x5b72ca(_0x2e457d._0x36861f,0x340,0x13b,0xb0),_0x27ba2c(_0x2e457d._0x4b6acd,0x2,0x0,-0xba));if(typeof _0x283f35[_0x27ba2c(0x1c3,_0x2e457d._0x325d88,0x19f,0x2ef)]!==_0x5b72ca(0x2ef,_0x2e457d._0x2c0c54,_0x2e457d._0x1c3822,_0x2e457d._0x46c000))throw createAnchoredFileError('invalid_range',_0x27ba2c(0x425,_0x2e457d._0x3ae125,_0x2e457d._0x54c04a,_0x2e457d._0x29b907));if(_0x283f35['line']>_0xd3f235[_0x27ba2c(0x430,_0x2e457d._0x41374c,_0x2e457d._0x568e77,0x530)][_0x27ba2c(0x3a5,0x3f3,0x36c,0x355)])throw createAnchoredFileError('invalid_range',_0x27ba2c(0x2e4,0x37f,_0x2e457d._0xa0aacd,0x389)+_0x283f35[_0x27ba2c(0x2eb,0x2e9,0x4dc,0x4ef)]+_0x27ba2c(0x3a,-0x15,_0x2e457d._0x369ba2,-0x100)+_0xd3f235[_0x5b72ca(_0x2e457d._0x218d5e,_0x2e457d._0x56072c,0x3c8,_0x2e457d._0x3a8f03)][_0x5b72ca(_0x2e457d._0x4f9e21,_0x2e457d._0xaa0c34,_0x2e457d._0x33bcce,_0x2e457d._0x2aaec3)]+_0x27ba2c(0x124,0xab,0xb5,_0x2e457d._0x6973b5));const _0x2953ca=normalizeContent(_0x283f35[_0x27ba2c(0x1c3,_0x2e457d._0x4928f7,0x271,0x3ab)]),_0x2b2413=_0x283f35[_0x5b72ca(0x30b,_0x2e457d._0x4b7d3f,0x41c,_0x2e457d._0x1a054c)]===_0x5b72ca(_0x2e457d._0x1d6462,_0x2e457d._0xabe38c,0x3a,-0xbb)?_0x283f35[_0x5b72ca(0x240,_0x2e457d._0x5322bb,0x38f,_0x2e457d._0x12f6cf)]-0x1:_0x283f35['line'];return{'kind':_0x5b72ca(0x5c,0x237,0x1a9,0x21e),'canonical':{'operation':_0x5b72ca(_0x2e457d._0x5df5b2,_0x2e457d._0x3ae125,_0x2e457d._0x382dee,0xe),'position':_0x283f35[_0x27ba2c(0x3b6,_0x2e457d._0x5ece39,_0x2e457d._0x5befe2,_0x2e457d._0x2dfded)],'line':_0x283f35[_0x27ba2c(_0x2e457d._0x50ed5e,0x1ec,0x2bd,_0x2e457d._0x5d1352)],'content':_0x2953ca['join']('\x0a')},'spliceIndex':_0x2b2413,'deleteCount':0x0,'rows':_0x2953ca,'gap':_0x2b2413,'requiredLines':[_0x283f35[_0x5b72ca(_0x2e457d._0xe86b89,0x3d3,_0x2e457d._0x2bcf27,_0x2e457d._0x37620b)]]};}default:{const _0x502608=_0x283f35;throw createAnchoredFileError('invalid_range',_0x5b72ca(_0x2e457d._0x1f2e33,0x49,-_0x2e457d._0x206cca,_0x2e457d._0x53dead)+String(_0x502608['operation'])+'\x27.');}}});}function assertNoOverlaps(_0x30f6c2){const _0x4f9651={_0x55d595:0xe9,_0x5f393a:0x140,_0x119b08:0x2e8,_0x8a653c:0x5f9,_0x260249:0x654,_0x542218:0x26d,_0x519f67:0x459,_0x521b94:0x3e1,_0x3b0cff:0x328,_0x3d2f07:0xed,_0x3ba378:0x11,_0x41f521:0x1be,_0x161ed5:0x361,_0x3b1d04:0x2cb,_0x51c0ce:0x134,_0x2d86c6:0x105,_0x3c8054:0x17a,_0x458a8a:0x7dd,_0x5ef1a4:0x68b,_0x115e2e:0x607,_0x258796:0x38f,_0x45c541:0x488,_0x4ac34c:0x283,_0x438ca6:0x30e,_0x5b1688:0x370,_0x396ccf:0x305,_0x2f1632:0xa5,_0x303b99:0x13b,_0x4d8bd6:0x375,_0x105c48:0x31c,_0x2de869:0x39c,_0x5dda90:0x526,_0x1ee535:0x5dc,_0x37f81c:0x69c,_0x2c62ab:0x3ca,_0x138a23:0x131,_0x5d03d2:0x414},_0xe7b4f5={_0x48e055:0x55,_0x248ae9:0x15d},_0x57fb4e={_0x1da454:0x118,_0x29f448:0xb6};function _0x2657f0(_0x5ed2e3,_0x51d770,_0x3b0e44,_0x1a13bc){return _0x38b1c5(_0x5ed2e3-_0x57fb4e._0x1da454,_0x51d770-_0x57fb4e._0x29f448,_0x3b0e44- -0x4e4,_0x51d770);}const _0x132584=_0x30f6c2[_0x2657f0(0x33,-0x41,-_0x4f9651._0x55d595,-_0x4f9651._0x5f393a)](_0x11d76e=>_0x11d76e[_0x1a5f80(0x2ed,0x450,0x3b4,0x4ca)]===_0x2657f0(0x10,-0x197,-0xe2,0x53)||_0x11d76e['kind']===_0x2657f0(0x107,0x1c7,0xa,0x34)),_0x2039ec=_0x30f6c2[_0x1a5f80(0x40f,0x33f,0x4ed,_0x4f9651._0x119b08)](_0x9f5dba=>_0x9f5dba[_0x1a5f80(0x59c,0x458,0x4aa,0x4ca)]===_0x1a5f80(0x3e7,0x549,0x2d8,0x3b6));function _0x1a5f80(_0x3db8ae,_0x48d8b6,_0x104eb4,_0x59a9b9){return _0x4a0aa5(_0x3db8ae,_0x59a9b9- -_0xe7b4f5._0x48e055,_0x104eb4-_0xe7b4f5._0x248ae9,_0x59a9b9-0x146);}for(let _0x56a10a=0x0;_0x56a10a<_0x132584[_0x1a5f80(0x5c0,_0x4f9651._0x8a653c,0x6a5,_0x4f9651._0x260249)];_0x56a10a+=0x1){for(let _0x2c176a=_0x56a10a+0x1;_0x2c176a<_0x132584['length'];_0x2c176a+=0x1){const _0x174e23=_0x132584[_0x56a10a],_0xc1973e=_0x132584[_0x2c176a];if(Math[_0x2657f0(_0x4f9651._0x542218,0x207,0x299,0x282)](_0x174e23['sourceStart'],_0xc1973e[_0x1a5f80(0x4dd,_0x4f9651._0x519f67,_0x4f9651._0x521b94,_0x4f9651._0x3b0cff)])<=Math[_0x2657f0(_0x4f9651._0x3d2f07,-_0x4f9651._0x3ba378,_0x4f9651._0x41f521,0xb5)](_0x174e23[_0x2657f0(0x1fe,_0x4f9651._0x161ed5,_0x4f9651._0x3b1d04,_0x4f9651._0x51c0ce)],_0xc1973e[_0x2657f0(_0x4f9651._0x2d86c6,_0x4f9651._0x3c8054,0x2cb,0x250)]))throw createAnchoredFileError('overlapping_operations',_0x1a5f80(_0x4f9651._0x458a8a,_0x4f9651._0x5ef1a4,0x66f,_0x4f9651._0x115e2e));}}for(let _0x561501=0x0;_0x561501<_0x2039ec[_0x2657f0(0x439,0x72,0x283,0x2e6)];_0x561501+=0x1){for(let _0xeccb51=_0x561501+0x1;_0xeccb51<_0x2039ec[_0x2657f0(_0x4f9651._0x258796,_0x4f9651._0x45c541,_0x4f9651._0x4ac34c,_0x4f9651._0x438ca6)];_0xeccb51+=0x1){if(_0x2039ec[_0x561501]['gap']===_0x2039ec[_0xeccb51][_0x1a5f80(_0x4f9651._0x5b1688,0x2bd,_0x4f9651._0x396ccf,0x47a)])throw createAnchoredFileError('overlapping_operations',_0x2657f0(0x2fd,_0x4f9651._0x2f1632,_0x4f9651._0x303b99,0x1c1));}}for(const _0x3a3e02 of _0x2039ec){for(const _0x39ba7c of _0x132584){if(_0x3a3e02['gap']>=_0x39ba7c[_0x1a5f80(_0x4f9651._0x4d8bd6,0x308,0x4d5,_0x4f9651._0x3b0cff)]&&_0x3a3e02[_0x1a5f80(_0x4f9651._0x105c48,_0x4f9651._0x2de869,0x406,0x47a)]<=_0x39ba7c[_0x1a5f80(0x509,_0x4f9651._0x5dda90,_0x4f9651._0x1ee535,_0x4f9651._0x37f81c)]-0x1)throw createAnchoredFileError('overlapping_operations',_0x2657f0(_0x4f9651._0x2c62ab,_0x4f9651._0x138a23,0x2fe,_0x4f9651._0x5d03d2));}}}function assertLinesObserved(_0x3d29ef,_0x3bc42f){const _0x41d9b2={_0x4ea4f8:0x37d,_0x54ed69:0x88,_0x50d53c:0x2b3,_0x1b0ebb:0x11d,_0x3427d2:0x336,_0x384430:0x581,_0x2bc1cc:0x4d5,_0x5b1a87:0x384,_0x4d896e:0x21b,_0x402eac:0x5c2,_0x5bef29:0x3de,_0x5e17fe:0xc7,_0x545832:0x13b,_0x39c795:0x5a,_0x31720a:0x8b,_0x5be0db:0x7c,_0x35d59b:0x27,_0x5af343:0x124},_0x556bc0={_0x4ae7de:0x1dd,_0x28437b:0xe1},_0x2f6c5b={_0x40a64a:0x65,_0x24e0e8:0x17e,_0x24109b:0x483},_0x5a343a=new Set();function _0x34d6d1(_0x3149bb,_0x32eab7,_0x506c45,_0x20edee){return _0x38b1c5(_0x3149bb-_0x2f6c5b._0x40a64a,_0x32eab7-_0x2f6c5b._0x24e0e8,_0x32eab7- -_0x2f6c5b._0x24109b,_0x506c45);}for(const _0xcc55e6 of _0x3d29ef){for(const _0x710702 of _0xcc55e6[_0x2624e0(_0x41d9b2._0x4ea4f8,0x3f8,0x40,0x251)]){_0x5a343a[_0x34d6d1(-_0x41d9b2._0x54ed69,0x11a,_0x41d9b2._0x50d53c,_0x41d9b2._0x1b0ebb)](_0x710702);}}const _0x186192=[..._0x5a343a][_0x2624e0(_0x41d9b2._0x3427d2,_0x41d9b2._0x384430,_0x41d9b2._0x2bc1cc,0x41e)]((_0x13fdc2,_0x4938cc)=>_0x13fdc2-_0x4938cc);for(const _0x1fe8c6 of _0x186192){if(!_0x3bc42f[_0x2624e0(_0x41d9b2._0x5b1a87,_0x41d9b2._0x4d896e,_0x41d9b2._0x402eac,_0x41d9b2._0x5bef29)](_0x1fe8c6))throw createAnchoredFileError(_0x2624e0(-_0x41d9b2._0x5e17fe,_0x41d9b2._0x545832,_0x41d9b2._0x39c795,_0x41d9b2._0x31720a),_0x34d6d1(-0x8f,_0x41d9b2._0x5be0db,0x17b,-_0x41d9b2._0x35d59b)+_0x1fe8c6+_0x2624e0(_0x41d9b2._0x5af343,-0x37,-0x10,_0x41d9b2._0x5e17fe),{'requiredLines':_0x186192});}function _0x2624e0(_0x461e7c,_0x342fc5,_0x3c281f,_0x32985e){return _0x4a0aa5(_0x3c281f,_0x32985e- -0x332,_0x3c281f-_0x556bc0._0x4ae7de,_0x32985e-_0x556bc0._0x28437b);}return _0x186192;}function applyOperations(_0x2ebb92,_0x2ec387){const _0x4cbce3={_0x4cf722:0x414,_0x3675c3:0x4e6,_0x56c2bd:0x111,_0x2d6ddb:0x266,_0x5105d1:0x3be,_0x1a7a82:0x30c},_0x28c3e3={_0x599ac3:0x3c6},_0x9faaab={_0x162570:0x1b3,_0x350edc:0x4ec},_0x1e19e={_0x1ceb1a:0x465,_0x2a49e1:0x41b,_0x2f943e:0x16f,_0x1bdd62:0x62,_0x4a0b0d:0x128,_0x1d5cb9:0x599,_0x342c5a:0x2ae},_0x15f386=[..._0x2ebb92[_0x141a6e(0x5db,0x278,0x42c,0x301)]],_0xc6050d=[..._0x2ec387]['sort']((_0x4ea475,_0x1f8017)=>{const _0xb5acab={_0x57b2a1:0x1ac,_0x11aa1e:0x299},_0x318b86={_0x6c654a:0x1a1};if(_0x4ea475['spliceIndex']!==_0x1f8017[_0x2bab49(_0x1e19e._0x1ceb1a,_0x1e19e._0x2a49e1,0x597,0x34d)])return _0x1f8017[_0x2bab49(0x523,0x41b,0x354,0x585)]-_0x4ea475[_0x218306(-0x379,-_0x1e19e._0x2f943e,_0x1e19e._0x1bdd62,-0x28c)];const _0x49c4a4=_0x4ea475[_0x218306(-0x80,-0x82,-_0x1e19e._0x4a0b0d,-0x88)]===_0x2bab49(_0x1e19e._0x1d5cb9,0x3f4,0x2a8,0x484);function _0x2bab49(_0x40ed68,_0x2c27b6,_0x1f6287,_0x4209a5){return _0x141a6e(_0x40ed68-0x181,_0x2c27b6-_0x318b86._0x6c654a,_0x2c27b6-0x2f1,_0x1f6287);}function _0x218306(_0x5dcc79,_0x350d0a,_0x1e1234,_0xad2f3b){return _0x141a6e(_0x5dcc79-0x162,_0x350d0a-_0xb5acab._0x57b2a1,_0x350d0a- -_0xb5acab._0x11aa1e,_0xad2f3b);}const _0x1c5a1f=_0x1f8017['kind']===_0x2bab49(0x29c,0x3f4,_0x1e19e._0x342c5a,0x56c);if(_0x49c4a4!==_0x1c5a1f)return _0x49c4a4?0x1:-0x1;return 0x0;});for(const _0x3c8d2b of _0xc6050d){_0x15f386['splice'](_0x3c8d2b[_0x141a6e(0xd9,0xb8,0x12a,0x18)],_0x3c8d2b[_0xd8296b(0xeb,-0xec,0x11b,0x124)],..._0x3c8d2b['rows']);}if(_0x15f386[_0x141a6e(0x2bb,_0x4cbce3._0x4cf722,0x3a1,_0x4cbce3._0x3675c3)]===0x0)return'';function _0xd8296b(_0x241640,_0x31d51a,_0x3a3e2e,_0x4c4a33){return _0x38b1c5(_0x241640-0xa5,_0x31d51a-_0x9faaab._0x162570,_0x241640- -_0x9faaab._0x350edc,_0x3a3e2e);}function _0x141a6e(_0x4b7d21,_0x473ac7,_0x454ada,_0x2c829d){return _0x38b1c5(_0x4b7d21-0x58,_0x473ac7-0xfa,_0x454ada- -_0x28c3e3._0x599ac3,_0x2c829d);}const _0x3286a7=_0x15f386[_0xd8296b(0xff,0x1d7,_0x4cbce3._0x56c2bd,_0x4cbce3._0x2d6ddb)]('\x0a');return _0x2ebb92[_0xd8296b(0x29d,_0x4cbce3._0x5105d1,_0x4cbce3._0x1a7a82,0x1d8)]?_0x3286a7+'\x0a':_0x3286a7;}function operationRowDelta(_0x243eea){const _0x408eaf={_0x50aaba:0x664,_0x56d7ff:0x56b,_0x3f7534:0x5d7,_0x38a84b:0x485,_0x214aa1:0x481,_0x451078:0x1f1},_0x2f63d1={_0x54464c:0xd2},_0x19f63e={_0x63d225:0x9a};function _0x3adb99(_0x47202b,_0x2011df,_0x53c1f7,_0x5ec129){return _0x4a0aa5(_0x47202b,_0x5ec129- -0x328,_0x53c1f7-0x5b,_0x5ec129-_0x19f63e._0x63d225);}function _0x58e533(_0x343649,_0x1891ba,_0x16e40f,_0x20e0f0){return _0x4a0aa5(_0x16e40f,_0x343649- -_0x2f63d1._0x54464c,_0x16e40f-0x196,_0x20e0f0-0x17a);}return _0x243eea[_0x58e533(_0x408eaf._0x50aaba,0x6d0,0x704,_0x408eaf._0x56d7ff)][_0x58e533(_0x408eaf._0x3f7534,_0x408eaf._0x38a84b,0x67f,_0x408eaf._0x214aa1)]-_0x243eea[_0x3adb99(0x3f5,-0x1f,0x12b,_0x408eaf._0x451078)];}function finalFileOrder(_0x81110d){const _0x15bba0={_0x5843b8:0x1df,_0xfd4974:0x278,_0x3a7a50:0x3b8},_0x12af80={_0x4ca000:0xf9,_0xcce3f6:0x107,_0x555409:0x3c,_0x53ab44:0x1e,_0xa20b95:0xa3,_0x4f74a0:0xdd,_0xa7faa3:0x2d4},_0xc2076d={_0x197245:0xb8,_0x4adf0e:0x4b},_0x524210={_0x1a51fc:0xe2,_0xc53dc0:0x4d},_0x4c71a7={_0x3e6a4b:0x23,_0x1777a7:0x1bb};function _0x1d113a(_0xe143d2,_0x256874,_0x4d2aaa,_0x1dc6f6){return _0x38b1c5(_0xe143d2-_0x4c71a7._0x3e6a4b,_0x256874-_0x4c71a7._0x1777a7,_0x4d2aaa- -0x596,_0xe143d2);}return[..._0x81110d][_0x1d113a(0x298,_0x15bba0._0x5843b8,_0x15bba0._0xfd4974,_0x15bba0._0x3a7a50)]((_0x38a016,_0x49fa84)=>{function _0x2234cc(_0x465111,_0x43ca5b,_0x42d804,_0x27c366){return _0x1d113a(_0x27c366,_0x43ca5b-0x113,_0x465111-_0x524210._0x1a51fc,_0x27c366-_0x524210._0xc53dc0);}if(_0x38a016['spliceIndex']!==_0x49fa84[_0xe3fb44(0x12,-_0x12af80._0x4ca000,0xdf,-_0x12af80._0xcce3f6)])return _0x38a016[_0x2234cc(_0x12af80._0x555409,0x23e,_0x12af80._0x53ab44,-0x101)]-_0x49fa84['spliceIndex'];const _0x3a0b2a=_0x38a016['kind']===_0x2234cc(0x15,_0x12af80._0xa20b95,-0x1b3,0x1a2),_0x5646f1=_0x49fa84[_0x2234cc(0x129,-_0x12af80._0x4f74a0,0x2cd,_0x12af80._0xa7faa3)]==='insert';function _0xe3fb44(_0x4c301c,_0x77822,_0x20be72,_0x3ae463){return _0x1d113a(_0x3ae463,_0x77822-0x18b,_0x4c301c-_0xc2076d._0x197245,_0x3ae463-_0xc2076d._0x4adf0e);}if(_0x3a0b2a!==_0x5646f1)return _0x3a0b2a?-0x1:0x1;return 0x0;});}function computeFinalFileNewSideLines(_0x4f7e62){const _0x29fa53={_0x267097:0x7da,_0x6e725a:0x6db,_0x1f7b8d:0x121,_0x4e99bb:0x142,_0xb8e74c:0x2b5,_0x3e373f:0x336,_0x55494f:0x413,_0x31e002:0x56f,_0x5c7fd8:0xe7,_0x4683c8:0x1e0,_0x1827e2:0x98,_0x1634bb:0x3e9,_0x474579:0x390,_0xa20e59:0x3af,_0x2501d2:0x2ae,_0x25e00e:0x162,_0x2bcfb5:0x45,_0x10f7fc:0xd1,_0x1586f5:0x3d0,_0x4da8cf:0x437},_0x57654f={_0x4e193e:0x8c},_0x216517={_0xab4915:0x114,_0x5cf8ac:0x615},_0x5eb251=new Array(_0x4f7e62[_0x1a3d7e(0x6df,0x5fb,_0x29fa53._0x267097,_0x29fa53._0x6e725a)]);function _0xf8c86e(_0x1c2886,_0x403a9e,_0x116add,_0x45fca4){return _0x38b1c5(_0x1c2886-_0x216517._0xab4915,_0x403a9e-0xf8,_0x45fca4- -_0x216517._0x5cf8ac,_0x1c2886);}let _0x2f568a=0x0;for(const _0x4d991e of finalFileOrder(_0x4f7e62)){const _0x26d029=_0x4d991e['kind']===_0x1a3d7e(0x4c5,0x4a5,0x2c5,0x43d)?_0x4d991e[_0xf8c86e(-_0x29fa53._0x1f7b8d,-0x192,0x4d,-0x1a)][_0xf8c86e(_0x29fa53._0x4e99bb,_0x29fa53._0xb8e74c,0x15e,0x163)]===_0x1a3d7e(0x48a,0x3e6,_0x29fa53._0x3e373f,_0x29fa53._0x55494f)?_0x4d991e[_0x1a3d7e(0x653,0x692,0x5a9,_0x29fa53._0x31e002)]['line']:_0x4d991e['canonical'][_0xf8c86e(0x2a0,_0x29fa53._0x5c7fd8,_0x29fa53._0x4683c8,_0x29fa53._0x1827e2)]+0x1:_0x4d991e[_0x1a3d7e(0x26e,_0x29fa53._0x1634bb,_0x29fa53._0x474579,_0x29fa53._0xa20e59)],_0x16cebe=_0x26d029+_0x2f568a,_0x3fef3d=_0x4d991e['kind']===_0xf8c86e(-_0x29fa53._0x2501d2,-_0x29fa53._0x25e00e,_0x29fa53._0x2bcfb5,-0x127)?0x0:_0x4d991e['rows'][_0xf8c86e(0x7d,0x244,_0x29fa53._0x10f7fc,0x152)];_0x5eb251[_0x4f7e62[_0x1a3d7e(_0x29fa53._0x1586f5,0x279,0x57f,_0x29fa53._0x4da8cf)](_0x4d991e)]={'newStartLine':_0x16cebe,'newEndLine':_0x16cebe+_0x3fef3d-0x1},_0x2f568a+=operationRowDelta(_0x4d991e);}function _0x1a3d7e(_0x1cfcd8,_0x3b4b33,_0x436544,_0x2b706){return _0x38b1c5(_0x1cfcd8-0xbd,_0x3b4b33-0x18b,_0x2b706- -_0x57654f._0x4e193e,_0x3b4b33);}return _0x5eb251;}function buildBlock(_0x31eb29,_0x3bad81,_0x42cafd,_0x37a391){const _0x4030f3={_0x2d941f:0x286,_0x2815db:0x8d,_0x1b956e:0x63d,_0x36b0cc:0x3e5,_0x3a78e6:0x16,_0xaa2524:0x266,_0x5cb7af:0x759,_0x96c38a:0x501,_0x15bbae:0x5b2,_0x5e95fb:0x20,_0x4d9a99:0xcb,_0x457e06:0x18a,_0x7f457e:0x58c,_0x3e2774:0x6fe,_0x1519a8:0x7bd,_0x35e074:0x7d8,_0x507a78:0x98b,_0x4a47e5:0x188,_0x46d358:0x1d9,_0x3bc98c:0x112,_0x1b4878:0x194,_0x3dd099:0x121,_0x14b9e1:0xfc,_0x2bbf48:0x992,_0x3a5912:0x8c2,_0x4043e5:0x23f,_0x925423:0x26a,_0xde7a:0x674,_0x5b2c03:0x18c,_0xf05c58:0x145,_0x5dbdb6:0x70c},_0x2c812c={_0x3c6c4d:0x34,_0x201b8d:0x66a},_0x4302e6={_0x1a11e2:0x1d1,_0xd9a180:0x104,_0x53b8d1:0x51};if(_0x3bad81[_0x2cef2b(-0x1c4,-0x1a7,-_0x4030f3._0x2d941f,-_0x4030f3._0x2815db)]===_0x4a8be1(_0x4030f3._0x1b956e,_0x4030f3._0x36b0cc,0x558,0x5dc)){const {line:_0x18d124,position:_0x3e5430}=_0x3bad81[_0x2cef2b(-0x65,-_0x4030f3._0x3a78e6,-_0x4030f3._0xaa2524,-0x6f)],_0x11e19f=_0x3e5430===_0x4a8be1(_0x4030f3._0x5cb7af,_0x4030f3._0x96c38a,0x3bc,_0x4030f3._0x15bbae)?_0x18d124:_0x18d124+0x1;return{'oldText':'','newText':_0x3bad81[_0x2cef2b(-_0x4030f3._0x5e95fb,0x2f5,_0x4030f3._0x4d9a99,_0x4030f3._0x457e06)][_0x4a8be1(_0x4030f3._0x7f457e,0x786,0x88c,_0x4030f3._0x3e2774)]('\x0a'),'lineNumbers':{'oldStartLine':_0x11e19f,'oldEndLine':_0x11e19f-0x1,'newStartLine':_0x42cafd,'newEndLine':_0x37a391,'oldLineCount':0x0,'newLineCount':_0x3bad81[_0x4a8be1(0xa32,_0x4030f3._0x1519a8,0x849,0x907)][_0x4a8be1(_0x4030f3._0x35e074,0x713,_0x4030f3._0x507a78,0x87a)]}};}function _0x4a8be1(_0x38df46,_0x1a0418,_0x599796,_0xaa5a26){return _0x4a0aa5(_0x38df46,_0xaa5a26-_0x4302e6._0x1a11e2,_0x599796-_0x4302e6._0xd9a180,_0xaa5a26-_0x4302e6._0x53b8d1);}const _0x17995f=_0x31eb29[_0x2cef2b(0x38e,0x370,0x276,_0x4030f3._0x4a47e5)][_0x2cef2b(-_0x4030f3._0x46d358,_0x4030f3._0x3bc98c,-_0x4030f3._0x1b4878,-0x98)](_0x3bad81[_0x2cef2b(-0x36e,-_0x4030f3._0x3dd099,-_0x4030f3._0x14b9e1,-0x22f)]-0x1,_0x3bad81[_0x4a8be1(0x6dd,0x832,_0x4030f3._0x2bbf48,_0x4030f3._0x3a5912)])[_0x2cef2b(-_0x4030f3._0x4043e5,-0x1c6,-_0x4030f3._0x925423,-0x7f)]('\x0a');function _0x2cef2b(_0x2a812f,_0x4ef29b,_0x5ad942,_0x292480){return _0x38b1c5(_0x2a812f-_0x2c812c._0x3c6c4d,_0x4ef29b-0xb5,_0x292480- -_0x2c812c._0x201b8d,_0x4ef29b);}const _0x5396bf=_0x3bad81[_0x2cef2b(0x28d,0x185,-0x9,0x145)]-_0x3bad81['sourceStart']+0x1;if(_0x3bad81[_0x4a8be1(_0x4030f3._0xde7a,0x4ef,0x54f,0x6f0)]===_0x2cef2b(-0x255,-0x19b,-_0x4030f3._0x5b2c03,-0x17c))return{'oldText':_0x17995f,'newText':'','lineNumbers':{'oldStartLine':_0x3bad81['sourceStart'],'oldEndLine':_0x3bad81[_0x2cef2b(0x246,0x63,0x1a1,_0x4030f3._0xf05c58)],'newStartLine':_0x42cafd,'newEndLine':_0x42cafd-0x1,'oldLineCount':_0x5396bf,'newLineCount':0x0}};return{'oldText':_0x17995f,'newText':_0x3bad81[_0x4a8be1(_0x4030f3._0x5dbdb6,0x8be,0x743,0x907)]['join']('\x0a'),'lineNumbers':{'oldStartLine':_0x3bad81['sourceStart'],'oldEndLine':_0x3bad81['sourceEnd'],'newStartLine':_0x42cafd,'newEndLine':_0x37a391,'oldLineCount':_0x5396bf,'newLineCount':_0x3bad81['rows']['length']}};}function stableStringify(_0x5455b1){const _0x5b17a5={_0x252e98:0x34,_0x188ee3:0x233,_0x1d34e2:0x260,_0x47db23:0x522,_0x5c6191:0x3bb,_0x155fa9:0x49b},_0x3c5472={_0x218cd8:0x92,_0x262ada:0x1d2},_0xd29c24={_0x200b3a:0x2d0};function _0x258a3f(_0x4686ee,_0x4b9d07,_0x3f6f8b,_0x26d53b){return _0x4a0aa5(_0x4b9d07,_0x26d53b- -_0xd29c24._0x200b3a,_0x3f6f8b-0x85,_0x26d53b-0x1d4);}if(Array[_0x258a3f(0x22d,0x210,_0x5b17a5._0x252e98,0x238)](_0x5455b1))return'['+_0x5455b1[_0x258a3f(0x26a,_0x5b17a5._0x188ee3,0x493,0x311)](stableStringify)[_0x258a3f(0x7d,0x3a0,_0x5b17a5._0x1d34e2,0x25d)](',')+']';function _0x113343(_0x37bf05,_0x16867b,_0x4c355d,_0x31a30d){return _0x4a0aa5(_0x37bf05,_0x31a30d- -_0x3c5472._0x218cd8,_0x4c355d-0x108,_0x31a30d-_0x3c5472._0x262ada);}if(_0x5455b1!==null&&typeof _0x5455b1==='object'){const _0x3c4b9d=_0x5455b1;return'{'+Object[_0x258a3f(_0x5b17a5._0x47db23,0x4b7,0x2a8,0x369)](_0x3c4b9d)['sort']()['map'](_0x584b02=>JSON['stringify'](_0x584b02)+':'+stableStringify(_0x3c4b9d[_0x584b02]))[_0x113343(0x39a,0x422,_0x5b17a5._0x5c6191,_0x5b17a5._0x155fa9)](',')+'}';}return JSON['stringify'](_0x5455b1);}function prepareCanonicalFileEdit(_0x389cad,_0x721eec,_0x159f6c){const _0x34cb35={_0x21ac50:0x63f,_0x1c90ca:0x4e3,_0x1821a8:0x567,_0x246574:0x47c,_0xeb5a2:0x347,_0x51ac71:0x41a},_0x5aa3c7={_0x3069bb:0x363},_0x1b340c={_0x4c5d18:0x1c8},_0x436d76=planOperations(_0x389cad,_0x159f6c);function _0x25f21f(_0x4fa8c2,_0xda64a5,_0x360e75,_0x45e95c){return _0x4a0aa5(_0xda64a5,_0x360e75- -_0x1b340c._0x4c5d18,_0x360e75-0x11b,_0x45e95c-0x1a2);}assertNoOverlaps(_0x436d76);const _0x3c327c=assertLinesObserved(_0x436d76,_0x721eec),_0x150946=applyOperations(_0x389cad,_0x436d76);function _0x11e28b(_0x4be94a,_0xfdf3cc,_0x52136f,_0x523eed){return _0x4a0aa5(_0x52136f,_0xfdf3cc- -_0x5aa3c7._0x3069bb,_0x52136f-0x94,_0x523eed-0xd);}if(_0x150946===_0x389cad[_0x25f21f(_0x34cb35._0x21ac50,0x3ac,0x481,_0x34cb35._0x1c90ca)])throw createAnchoredFileError(_0x25f21f(0x6c0,0x4b5,_0x34cb35._0x1821a8,0x64e),'The\x20anchored\x20operations\x20would\x20leave\x20the\x20file\x20byte-identical.');const _0x550245=_0x436d76[_0x25f21f(0x342,0x2c7,0x419,_0x34cb35._0x246574)](_0x15d124=>_0x15d124[_0x11e28b(0x240,0x1da,0x248,0xe0)]),_0x561bee=computeFinalFileNewSideLines(_0x436d76);return{'afterText':_0x150946,'operations':_0x550245,'blocks':_0x436d76[_0x25f21f(_0x34cb35._0xeb5a2,0x3e4,0x419,_0x34cb35._0x51ac71)]((_0x1dd250,_0x47c0ce)=>{const {newStartLine:_0x16dd78,newEndLine:_0x36c4bb}=_0x561bee[_0x47c0ce];return buildBlock(_0x389cad,_0x1dd250,_0x16dd78,_0x36c4bb);}),'requiredLines':_0x3c327c,'payloadDigest':sha256Bytes(stableStringify(_0x550245))};}import _0x4e4476 from'string-width';var EMPTY_FILE_MESSAGE=_0x4a0aa5(0x65a,0x520,0x468,0x6f0);function clampLine(_0x419c29,_0x5a3d4d){const _0x53959a={_0x47329a:0xf0,_0x20f19a:0x29c,_0x502417:0x75,_0x4e3427:0x368,_0x21ea3e:0x383},_0x4b35f9={_0x5dd278:0x68,_0x1d3233:0x1cb},_0x5bb958={_0x128242:0xd7};function _0x4ae0a1(_0x4075e5,_0x3f5d78,_0x267c64,_0x3bdf18){return _0x38b1c5(_0x4075e5-_0x5bb958._0x128242,_0x3f5d78-0x7a,_0x4075e5- -0x33a,_0x3f5d78);}if(!Number[_0x4ae0a1(_0x53959a._0x47329a,-0x31,_0x53959a._0x20f19a,-_0x53959a._0x502417)](_0x419c29))return 0x1;function _0x1d6af6(_0x33dc89,_0x5d1a6d,_0x446e11,_0x207c26){return _0x38b1c5(_0x33dc89-_0x4b35f9._0x5dd278,_0x5d1a6d-_0x4b35f9._0x1d3233,_0x33dc89- -0x345,_0x207c26);}return Math['max'](0x1,Math[_0x4ae0a1(_0x53959a._0x4e3427,0x336,0x55b,0x40b)](Math[_0x4ae0a1(_0x53959a._0x21ea3e,0x1f6,0x486,0x31a)](_0x419c29),_0x5a3d4d));}function formatAnchoredFileRead(_0x414023){const _0x53d827={_0x32f0a0:0x8f5,_0x26377b:0x5fc,_0x415ec2:0x5b9,_0x338e4b:0x885,_0x2e6836:0x738,_0x3c0eb8:0x8d4,_0x176827:0x920,_0x18421e:0x834,_0x3b72cd:0x874,_0x355761:0x6d7,_0x438e7e:0x619,_0x327cc5:0x674,_0x3e1e8c:0x840,_0xbb1d75:0x42c,_0x51eb36:0x5c6,_0x1ac62d:0x73f,_0x21a81b:0x67a,_0x54c2f5:0x733,_0xa30d2c:0x63a,_0x440c26:0x616,_0x5aa7d1:0x691,_0x2529ec:0x6c1,_0x1f1275:0x644,_0x10242d:0x26f,_0x384dc8:0x3d6,_0x5c4c2d:0x5d3,_0x3a1e9e:0x39b,_0x243b65:0x3eb,_0x299a9d:0x4ca,_0x3333d0:0x62f},_0x5a5958={_0x24d7a7:0x177,_0x19a4db:0x27,_0x1f20a6:0xa6},_0x3a3713={_0x14a481:0x10c,_0x315111:0x94},{displayPath:_0x1c987f,snapshot:_0x3f163a,maxBytes:_0x10568b}=_0x414023,_0x87366e=_0x3f163a['lines'][_0x11db37(0x6f2,_0x53d827._0x32f0a0,_0x53d827._0x26377b,0x7b5)],_0x41b180='['+_0x1c987f+'#'+_0x3f163a[_0x11db37(_0x53d827._0x415ec2,0x559,_0x53d827._0x338e4b,0x676)]+']\x0a',_0x37a329=Buffer[_0x3dbf1e(0x7b9,_0x53d827._0x2e6836,0x79c,_0x53d827._0x3c0eb8)](_0x41b180,'utf8');function _0x11db37(_0x2537ee,_0x22f047,_0x159daf,_0x48dc87){return _0x4a0aa5(_0x22f047,_0x48dc87-_0x3a3713._0x14a481,_0x159daf-_0x3a3713._0x315111,_0x48dc87-0x34);}if(_0x87366e===0x0){const _0x4e57bb=''+_0x41b180+EMPTY_FILE_MESSAGE+'\x0a';return{'output':_0x4e57bb,'displayedLines':[],'truncated':![]};}const _0x3f6ce7=clampLine(_0x414023[_0x11db37(0x805,0x96a,_0x53d827._0x176827,_0x53d827._0x18421e)]??0x1,_0x87366e),_0x3a985a=clampLine(_0x414023['lineEnd']??_0x87366e,_0x87366e),_0x3dc180=Math['min'](_0x3f6ce7,_0x3a985a),_0x466c68=Math[_0x3dbf1e(_0x53d827._0x3b72cd,_0x53d827._0x355761,_0x53d827._0x438e7e,0x586)](_0x3f6ce7,_0x3a985a),_0x5c2b10=[],_0x3e4035=[];let _0x33c834=_0x37a329;for(let _0x4296fe=_0x3dc180;_0x4296fe<=_0x466c68;_0x4296fe+=0x1){const _0x97748e=_0x4296fe+':'+_0x3f163a[_0x11db37(0x80e,0x8f8,_0x53d827._0x327cc5,_0x53d827._0x3e1e8c)][_0x4296fe-0x1]+'\x0a',_0x5cc8b6=Buffer['byteLength'](_0x97748e,_0x11db37(_0x53d827._0xbb1d75,_0x53d827._0x51eb36,_0x53d827._0x1ac62d,_0x53d827._0x415ec2)),_0x527c31=_0x4296fe+0x1,_0x1108d0=Buffer[_0x3dbf1e(_0x53d827._0x21a81b,0x738,0x764,_0x53d827._0x54c2f5)](_0x3dbf1e(_0x53d827._0xa30d2c,0x428,0x57f,0x25c)+_0x527c31+'.\x0a',_0x3dbf1e(0x543,0x4c5,0x4ac,_0x53d827._0x440c26));if(_0x33c834+_0x5cc8b6+_0x1108d0>_0x10568b){const _0x1715d8='Read\x20the\x20next\x20range\x20with\x20lineStart:\x20'+_0x4296fe+'.\x0a';return{'output':''+_0x41b180+_0x5c2b10[_0x3dbf1e(0x5f9,0x545,_0x53d827._0x5aa7d1,0x44b)]('')+_0x1715d8,'displayedLines':_0x3e4035,'lineStart':_0x3dc180,'lineEnd':_0x3e4035[_0x3e4035[_0x3dbf1e(0x8cd,_0x53d827._0x2529ec,_0x53d827._0x1f1275,0x87a)]-0x1],'truncated':!![],'nextLineStart':_0x4296fe};}_0x5c2b10[_0x3dbf1e(_0x53d827._0x10242d,_0x53d827._0x384dc8,0x391,_0x53d827._0x5c4c2d)](_0x97748e),_0x3e4035[_0x11db37(0x459,_0x53d827._0x3a1e9e,_0x53d827._0x243b65,_0x53d827._0x299a9d)](_0x4296fe),_0x33c834+=_0x5cc8b6;}function _0x3dbf1e(_0x533691,_0xde53fa,_0x2432f3,_0x3723b7){return _0x38b1c5(_0x533691-_0x5a5958._0x24d7a7,_0xde53fa-_0x5a5958._0x19a4db,_0xde53fa- -_0x5a5958._0x1f20a6,_0x533691);}return{'output':''+_0x41b180+_0x5c2b10[_0x11db37(0x7f8,0x52d,_0x53d827._0x3333d0,0x639)](''),'displayedLines':_0x3e4035,'lineStart':_0x3dc180,'lineEnd':_0x466c68,'truncated':![]};}function isWithinDisplayColumns(_0x1d888b,_0x35923e){return _0x4e4476(_0x1d888b)<=_0x35923e;}import{randomUUID}from'crypto';import{chmod,rename,rm,writeFile as _0x5027c6}from'fs/promises';import*as _0x85b784 from'path';function _0x26f6(){const _0x380bba=['Aw5JBhvKzq','lNrZEa','Aw52ywXPzf90B3bPyW','y2HHBMDL','B3rOzxi','AxnbyNnVBhv0zq','Bwf4u25HChnOB3rcExrLCW','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','zMv0y2HjBxbS','mtKYlJe2oc4WlJa','Dg9VBfbLCM1PC3nPB25Z','B2jZzxj2zwrmAw5LCW','wKfjx0fqsv9lrvK','DxrTx2nVBNrLBNq','A2v5CW','zxnJyxbL','C29Tzq','w1bFxL1BxhnCu10QpW','Bxv0yxrPB25Z','C3jJl3rVB2XZl2nVCMuVBw9JAY10B29Slxj1BNrPBwuUDhm','DhvWBgu','revfufnfruTFqvbjx0Tfwq','zgvSzxrLihn0yxj0tgLUzsbTDxn0ig5VDcbLEgnLzwqGzw5KtgLUzs4','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','ywDLBNrZ','y2HHCMfJDgvY','lM10CW','A2LSBfjLCxvLC3rLza','r0XpqKLhtK9srq','yxv0Ag9YAxPHDgLVBL9JB2rL','Dgv4Da','D3jPDgvFzMfPBgvKoIbgywLSzwqGDg8GD3jPDguG','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','ls1OAwrKzw4','ChjLCgfYzunHBgXiAwvYyxjJAhK','CgXHAw4','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','B3jPz2LUvg9VBenHBgXjza','igj5DgvZoYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','mty5lJi1nc4WlJa','CMvJB3jKtM9dAgfUz2u','rMv0y2GGDgLTzwqGB3v0','l3vZCI9IAw4VC2G','zgLHz25VC3rPy3ngB3jgAwXL','B2XKrw5KtgLUzq','ig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqG','yMLVBwuUANnVBMm','yMfZzty0','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','qw5JAg9YzwqGCMvWBgfJzs9KzwXLDguGC291CMnLihjHBMDLCYbVDMvYBgfWlG','DxrTx21LzgL1Bq','ChjPB3jPDhK','sw52ywXPzcbZDhj1y3r1CMvKiezPBgvfzgL0igLUChv0oIa','ndC5ndaZquPctKz6','D29YA3nWywnLl3n5BwjVBa','Ahr0Ca','wefjx0fqsv9lrvK','y2HPBgq','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','igLZigfTyMLNDw91CYbMB3iG','zxH0zw5ZAw9UCW','Ag92zxi','lu5VuhjVzMLSzq','CMvNAw9U','ANnJB25MAwCUANnVBG','C3rYAwn0','AMf2yxnJCMLWDa','ignOyxjZigrYB3bWzwrDcG','mJqXotm0mhH3ue9eEq','Bg9JyxrPB24','y2fSBeLK','yxjYyxK','tM8GCMvZDwX0CYbMB3vUzc4','y29KzvzLCMLMAwvY','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','B3v0Chv0uMvNzxG','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','CMvUzgvYu3LZDgvTuhjVBxb0','D3jPDgvFzMfPBgvK','B3b0Aw9UCW','C2L0ztO','zxHPDenVzgu','tM8GC3vJAcbMAwXLoIaN','Dg9mB3DLCKnHC2u','AxngAwXL','ihrPBwvKig91DcbHzNrLCIa','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','C2HPzNq','zgvSzxrLihn0yxj0tgLUzq','zw50CMLLCW','CMvHzezPBgu','ignSB3nLihrPBwvKig91Da','CMvHC29U','y29TBwfUza','Dgv4DerVy3vTzw50l2HVDMvY','yMLUza','z2v0t3DUuhjVCgvYDhLoyw1LCW','zgLZy292zxj5u3rHDgu','yMLYDgH0Aw1L','BgLMzwn5y2XL','y2fWywjPBgL0AwvZ','yw5ZAti1nG','yNvMzMvY','z2XVyG','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','CMvZzxroB0nOyw5Nzq','n1rwDgX4Da','BwnWlwf1DgGTCMvXDwLYzwq','igzHAwXLzc4','BwLUAw1HBa','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','rMLSzvjLywq','C3rYAw5N','y2XPzw50CW','igj5DgvZks4','yxbWzw5KrgvJB2rLza','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','C2fMzq','C3jJl3nOyxjLzc90ExbLCY50CW','Dw5RBM93BL9ZBMfWC2HVDa','y2XLyxi','igfUy2HVCMvKig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYigvKAxqU','BgvUz3rO','CMvHza','y291BNq','q0rqqvri','Bg93','Bwv0yq','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','BgfIzwW','B25Jzq','Bwf0y2G','C2v0vg9KB3m','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','ywz0zxi','BgfZDeLUzgv4t2y','DMvYAwz5rxHLy3v0Aw9U','CMvJB3jK','tNv2Aw4','Cg9ZAxrPB24','y29Uy2f0','CMvJzw5JEq','y29UzMLN','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','Bwf4','ywjVCNq','Aw50','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','zMLUywXSEq','lNDLyNa','qxbWBgLLzca','Bwf0y2HdB3vUDa','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','ls1MAwXLCW','ig9WzxjHDgLVBNmU','CNnZ','zMLUywXozxDSAw5L','zgfZAa','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','C2HLBgXqyxrO','BMf2','ls1WCMvMAxG','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','z29Vz2XLlwnZzq','C2TPBgXZ','CgfJA2fNzu5HBwu','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','DMvYC2LVBNncEvbHDgG','C3rHCNrZv2L0Aa','y29UDgvUDhm','ChjLChjVy2vZCW','ig1PEgvZieXgigfUzcbduKXgigXPBMuGzw5KAw5NCY4','ugf0AcbUB3qGzM91BMq6ia','l29WDc9OB21LyNjLDY9IAw4VCMC','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','C3bHD25PBMC','z29uB0rLzMLUAxrPB24','CxvLC3rPB25Z','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','zgf0yq','Cgf0DgvYBIbPCYbYzxf1AxjLza','B2zM','EgHPz2G','CMvMCMvZAf90B2TLBG','Dw5ZzwvUx2XPBMvZoIb0AguGCMvXDwLYzwqGBgLUzxmGBxvZDcbIzsbVyNnLCNzLzcbIEsbgAwXLuMvHzcbIzwzVCMuGDgHLEsbJyw4GyMuGDxnLzcbHCYbLzgL0igfUy2HVCNmU','ihDOAwXLihrOzsbLzgL0ihDHCYbWzw5KAw5NicG','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','yxr0CG','DgvYBwLUywXtzxr0BgvK','ywDLBNrjza','mtaUmc4WlJa','DxrTx3nVDxjJzq','yxr4','C291CMnLrw5K','Bwv0yxrHz3m','DhvYBMrVD24','CMvWBgfJzsbYyw5NzsbB','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','u0Lhs0Lmta','y29ZDa','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','y3jSzG','zMLSzvzLCNnPB25Z','B3v0z29PBMDdywXSCW','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','yxv0Aa','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','Dg9VBenHBgXjza','BgLZDa','Aw5WDxq','C3rKB3v0','yMfZzw5HBwu','tgLUzsbUDw1IzxjZig11C3qGyMuGCg9ZAxrPDMuGC2fMzsbPBNrLz2vYCZSGz290ia','C3rVCMfNzurPCG','ktSGDxnLigv4ywn0ihjLCgXHy2vTzw50icHgAwXLrwrPDcb3AxrOig9SzfrLEhqVBMv3vgv4DcKGAw5ZDgvHzc4','BgLUAW','uhjVy2vZCYa','lMPZB25J','uMvXDwvZDfrPBwvVDxq','z2vUzxjHBa','ls0T','zgf0zxrPBwu','C2vYDMvYswq','AgfZ','sw52ywXPzcbvuKWGCgfYyw1LDgvY','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','DgvYBwLUyxrPB25qCM9TAxnL','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','zxzPy3rmzwfZDfjLy2vUDgX5vxnLzfbHDgG','AxnfBMfIBgvK','Cg9ZAxG','igLZihvUA25VD24GzM9Yia','BgLZDgvU','AMf2yxnJCMLWDhjLywn0','Bg9JywXLq29TCgfYzq','DhLWzxnJCMLWDhjLywn0','oYbJB25ZDhj1y3qGD2L0AcbVyNnLCNzHDgLVBNmSig11Dgf0Aw9UCYWGyw5Kig91Dhb1Dej1zgDLDej5DgvZlG','ChjVy2vZCW','y29UzMLYBwvK','yNL0zuXLBMD0Aa','v2vIu2vHCMnO','C3rHDa','y2fSBgjHy2TvCMW','qw4GAw5Zzxj0Aw9UihrHCMDLDhmGysbNyxaGC3rYAwn0BhKGAw5ZAwrLigeGCMvWBgfJzwqGB3iGzgvSzxrLzcbYyw5Nzs4','Cgf0Aa','zw5HyMXLza','EwfYBI5SB2nR','BgLUzvn0yxj0','Aw5Zzxj0ignVBNrLBNqGBxvZDcbIzsbHihn0CMLUzY4','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','CM9VDa','BwfUDwfS','Bwf4uMvKAxjLy3rZ','CMvZDwX0','BM9Fy2HHBMDL','zgvMyxvSDfrPBwvVDxrnCW','igj5DgvZicHVCMLNAw5HBdOG','CMvQzwn0','BwnFzwLK','BgLUzxm','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','CM93CW','Cg9ZDf93CML0zv9KCMLMDdOG','r2XVyG','BM93','ktSGBM8GCM9SBgjHy2SGD2fZihbLCMzVCM1Lzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','C3rYDwn0DxjLza','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','yxjNDw1LBNrZ','zgvMyxvSDen3za','CxvLC3rPB24','yNvMzMvYq2HHCNm','Aw1Hz2u','zgvZy3jPChrPB24','lMPZB24','mJK3nJu1ogzWEKH3DG','CMvHze9UBhLiAw50','ChjVDg9JB2W','tM8GAg92zxiGAw5MB3jTyxrPB24','Dg9VBhmVy2fSBa','qxqGBgvHC3qGB25LigfUy2HVCMvKig9WzxjHDgLVBIbPCYbYzxf1AxjLzc4','D29YA3nWywnL','zMLSzvbHDgG','yxjNDw1LBNrZvgv4Da','DhjPBq','CgXHDgzVCM0','Dg90ywW','C29YDa','BwfYA2rVD24','zgLZCg9Zzq','DMvYAwzPzxi','y2fJAgvK','qMfZAa','vg9Vig1HBNKGCMvKAxjLy3rZ','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','Dg9Rzw4','DgHLBG','qMvHCMvYia','CNvUBMLUzW','C2v0DgXLvgvYBwLUywW','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','B3nJ','igv4y2vLzhmGDgHLihnHzMuTAw50zwDLCIbYyw5Nzs4','tM8GC3LTyM9SCYbMB3vUza','qMfZAe91Dhb1Da','y2f0y2G','DhjHBNnMB3jT','BgLUzu51BwjLCNm','zMLSDgvY','igLZihbHC3qGDgHLigvUzcbVzIb0AguG','Dg90ywXcExrLCW','u25HChnOB3qGzM9Yia','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','BwnWlwnSB3nLlwzHAwXLza','l2jPBI9ZAa','CMvWBgfJzq','CMvSzwfZzq','y291BNrLCG','Aw52ywXPzf90B2rVCW','ywrKsxnZDwu','iIbPCYbYzxnLCNzLza','ywXYzwfKEs10zxjTAw5HBa','C2vHCMnOvhLWzq','ihDHCYbHyM9YDgvKlG','C2LNBMfS','Bw9Kzq','y29UDgv4Da','Axnoyu4','yxbWzw5K','ChvIBgLZAgvKqxq','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','qxqGBw9ZDca','CMvKDwnL','vxbKyxrLvg9WAwm','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','CMvXDwvZDhm','Dgf2AwX5','Ag9ZDg5HBwu','pc9ZExn0zw0TCMvTAw5Kzxi+','tg9HzgvKigzYB206ia','CxvLC3rPB24T','zw51Bq','Aw52ywXPzf90B2rVx2L0zw0','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','C291CMnL','w291Dhb1Dcb0CNvUy2f0zwq6ia','BxvSDgLtzwXLy3q','Dg91y2HqyxrO','yxrVBwLJv3jPDgu','DgfNrM9YrgLNzxn0','y29UBMvJDgLVBG','zgvZy3jPChrVCNm','Aw1Hz2uVz2LM','AxngAw5PDgu','C3rKB3v0rgvJB2rLCG','zxzLCNK','zMLUza','zMLSBa','oIbLEhbLy3rLzcbHihbVC2L0AxzLig51BwjLCG','AgvHzgvY','zw52','BxmU','igj5DgvZlG','CgLWzq','zgvSzxrLihjHBMDLifS','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','ywnXDwLYzuj5DgvZ','B3bLCMf0Aw9U','Aw52ywXPzf90B2rVx2LK','Aw5WDxrty2HLBwe','C291CMnLu3rHCNq','BM90lwzVDw5K','Dg9VBc1VDxrWDxqTB2zMBg9Hza','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','CMLWz3jLCa','yNvUlMXVy2TI','yMCT','CMvZzxj2zq','zMLSztOVlW','igj5DgvZlcbLEgnLzwrPBMCGDgHLig9IC2vYDMf0Aw9Ulxn0B3jLigjVDw5Kig9Mia','sw52ywXPzcbYzwDLEdOG','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','AwDUB3jLt3v0Chv0','C3rHBgvFC25HChnOB3q6iezPBguG','u2L6ztOG','igLZig5VigXVBMDLCIbHDMfPBgfIBguGka','BMv3vgv4Da','D2HPy2GGCMC','q29Tu3bLyW','yxbPs2v5','ls1MB2XSB3C','y2HHDgDWDa','yMfJA2DYB3vUzfjLz2LZDhj5','Bwf4ugf0Ahm','vw5HyMXLihrVihrLCM1PBMf0zsbIywnRz3jVDw5KihbYB2nLC3nLCZSGC2vZC2LVBIbVD25LCNnOAxaGD2fZihbYzxnLCNzLzc4','u0HfteXpufrt','ywz0zxjuzxH0','BgLTAxrZ','yNL0zxm','qxv0Ag9YAxPHDgLVBG','D2fPDezVCLrLCM1PBMfS','C2vHCMnOugfYyw1Z','Dw5PB24','y2fUB25Py2fSugf0Aa','zgLYBMfTzq','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','Bwf0y2HLCW','zgvMyxvSDa','r0LgodDH','D2fPDezVCKrPywDUB3n0AwnZ','zgv0ywLS','zMLUywXnzxnZywDL','B3bLBNjVDxrLCG','l3bPza','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0igjLigf0ig1VC3qG','C3vIyxjYyxK','C2L6zq','C3rHDgu','lMn0CW','BgfUzW','ignOyxjHy3rLCNm','B3bLBMnVzguTz28','y3vZDg9T','CMvHzen1CNnVCG','Cgf0DgvYBG','C3rHDhvZ','A2LSBa','ig1Z','vw5HyMXLihrVihjLywqG','AhrTBfnUAxbWzxq','DgLTzvTKyxrLDgLTzv0','BgLUzvrLEhq','qxzHAwXHyMXLignVBw1HBMrZoG','Dg9ju09tDhjPBMC','Dw5ZzwvUx2XPBMvZ','ChvZAa','Aw5Zzxj0ihbVC2L0Aw9Uig11C3qGyMuGj2jLzM9YzsCGB3iGj2fMDgvYjY4','ls1QC29U','phn5C3rLBs1Yzw1PBMrLCJ4','BgfUz3vHz2u','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','C2HLBgXjza','zMLSzunVDw50','mc4WlJa','CMvUyw1L','CgfJA2fNzs1SB2nRlMPZB24','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','C3rKzxjYrgvJB2rLCG','uxvLC3rPB24G','yxjNDw1LBNriAw50','yNL0zxncEurPz2vZDa','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','CMvWBgfJzs5ZDgfYDeXPBMu','Aw5ZDgfSBa','zgvSAxzLCMvK','qwDLBNqGCNvUia','B2XKvgv4Da','C2vYDMvYtMfTzq','Aw1Hz2vZ','vMLLD0zPBgu','yxbWBgLJyxrPB24VANnVBG','BwLUAw1HEa','yM9VBgvHBG','tunqihnLCNzLCIa','Bwf4vMvYC2LVBNnqzxjqyxrO','Aw5JBhvKzxm','tuLosu1bwf9bueLFs0vz','CMvZzxj2yxrPB25Z','CgfZC3rOCM91z2G','yMvMB3jL','z3jHy2vMDwW','ndi0tuLdzvvb','y2XVC2vbBgW','ls1NBg9IpseUz2L0lYO','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','y3jLyxrLzef0','BwnWlwnVBM5Ly3qTzMfPBgvK','ChjLzML4','ywn0AxzL','Aw52ywXPzf9WyxrJAa','zMLSzq','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','C3rYAxbbBNnP','D2vI','C3bHD24','Aw1Hz2uVANbLzW','CxvLCNK','B3v0Chv0qNvKz2v0qNL0zxm','Aw5FChjVz3jLC3m','zMX1C2HtDhjLyw1Z','Bw9KzwW','zg9JDw1LBNrtEw1IB2W','CgfYC2u','ig11C3qGyMuGB2jZzxj2zwqGyNKGrMLSzvjLywqGyMvMB3jLigL0ignHBIbIzsb1C2vKigfZigfUigvKAxqGyw5JAg9YlG','CMvZzxq','C3bSAwnL','yNvUlMXVy2S','B3bLBMfPlxjLC3bVBNnLCW','zNvSzMLSBgvK','BgLZDfrVB2XZ','igzHAwXLzcb0BYbJB25Uzwn0','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','zMLYC3q','Aw52ywXPzf90B2rVx3n0yxr1CW','zgf0zvjLC3rYAwn0','Aw5KzxHpzG','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','zMvUy2vK','xqPgAwXLihDYAxr0zw4GyxqG','Aw5JBhvKzv9KB21HAw5Z','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','Aw5Zzxj0','C3rHCNreAxi','tunqihrVB2WG','ygbGANnVBGO','ignVBxbSzxrLzc4','uMvHzcb0AguGBMv4DcbYyw5Nzsb3AxrOigXPBMvtDgfYDdOG','y29KzvbVAw50qxq','igrPzcbUB3qGBwf0y2GGDgHLigLUDgvUzgvKignVBNrLBNqGywz0zxiGD3jPDgLUzY4','Bwf4rw50CMLLCW','Aw52ywXPzf9XDwvZDgLVBNm','B3bLBG','q29TBwfUzcaN','y29UBMvJDa','Dg9vChbLCKnHC2u','DgHPBMTPBMC','BwnWlwrPC2nVDMvYEs1MywLSzwq','z2v0','yMLVBwuUANnVBG','D3jPDgu','BM9Zy3jPChq','iYmGu2TPBgW6ia','Dg90ywXeCM9WCgvK','CMvZB2X2zvrLCM1PBMfS','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','AhLKCMf0zu1LDge','uMvHC29UAw5Nig9WDgLVBIaI','C2vYDMvY','AhjLzG','tM8GzgLHz25VC3rPy3m','lwXPBMuGC25HChnOB3qU','uhjVz3jHBuzPBgvZkhG4nIK','zM9Yy2u','BM9Kzv9TB2r1BgvZ','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','C25PChbLDa','lM1QCW','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','zgvSzxrL','Dhj1BMnHDgvK','C3bSAwnLsw5KzxG','zxHPDcbJB2rLia','zgLHz25VC3rPy3m','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','Dg9VBenHBgW','CMvWBgfJzsbJB250zw50ig11C3qGyMuGysbZDhjPBMCU','s2LSBfnOzwXS','lM51DMLUlwnVzgu','r0Lusfvcx0fdq0vtu19ut0TftG','lMPWzwC','AgLNAa','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','DgvYBwLUyxrPB25tzxr0BgvK','CMvSyxrPDMu','tgLUzsa','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','zxHLyW','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','CNvUswq','C3rYAw5NAwz5','DgL0Bgu','lMPWzW','C3rYzwfTC0zSDxnOzwq','ywXSB3DLzfrVB2XZ','rMLSzsb3CML0DgvUigf0ia','C3bSAxq','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','mtK4lJe4lJaUma','twLJCM9ZB2z0','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','yw5ZD2vYCW','ru5pru5u','revfueLorLjbx0fqsv9lrvK','y29UDgv4DeXPBMS','yMLUyxj5tMfTzq','yNvKz2v0vg9Rzw5Z','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','sw52B2TLq29TBwfUza','Dhj1zwnVBg9Y','Dg91y2HgAwXL','CNvUrxHJBhvZAxzL','yxnJAwK','ignOyw5NzwqGB24GzgLZAZSGCMuTCMvHzcb3AxrOiezPBgvszwfKigfUzcbYzxrYEsb3AxrOihrOzsbMCMvZAcb0ywCU','qwXSia','zw9S','CgXHAw50zxH0','vgHLihDYAxrLigXHBMrLzcWGyNv0ihrOzsbYzwfKlwjHy2SGzgLKig5VDcbTyxrJAcb0AguGAw50zw5KzwqGyNL0zxmGB3iGCgvYBwLZC2LVBNmUie5VihjVBgXIywnRihDHCYbWzxjMB3jTzwq7ihjLlxjLywqGD2L0AcbgAwXLuMvHzcb0BYbJB25MAxjTihrOzsbJDxjYzw50ihn0yxrLlG','y2fWq2HHCNm','ChjVDg90ExbL','nZa3otm0qLfAC3np','CNvUsw5cywnRz3jVDw5K','zNjVBq','yMfZAwm','ywjZ','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','Cgf0Ag5HBwu','C2nVCgvZ','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','Dw1HC2S','zw5NAw5L','ugf0y2GGy29UDgfPBNmGBM8GB3bLCMf0Aw9UCY4','Dg9KB3m','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','Dg9VBfjLC3vSDhm','vgHLigzPBguGywXYzwfKEsbTyxrJAgvZihrOzsbPBNrLBMrLzcbYzxn1Bhq7ig5VihDYAxrLihDHCYbTywrLlIbszs1YzwfKihDPDgGGrMLSzvjLywqGyMvMB3jLihjLDhj5Aw5NlG','zxf1ywXZ','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','CMvXDwvZDa','u0Lhvevstq','Aw52ywXPzf90B2rVx3bYAw9YAxr5','cGOTls0kcG','C3rHDhvZvgv4Da','CMvWBgfJzsbZDgfYDeXPBMuGBxvZDcbUB3qGzxHJzwvKigvUzeXPBMuU','zgLYzwn0B3j5','D2HLCMuGCMC','ywrHChrPDMu','C3rHBgvFC25HChnOB3q','zwrPDa','rMfPBgvKihrVihrLCM1PBMf0zsa','ufvuihjLCxvPCMvZigf0igXLyxn0ig9UzsbWyxLSB2fKihjVDY4','vw5RBM93BIbHBMnOB3jLzcbVCgvYyxrPB24GjW','ugf0AcbPCYbUB3qGysbMAwXLoIa','igzYB20G','mtaWlJy0lJaUma','yMXVy2TZ','yxjNDw1LBNroyw1LCW','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','cGPbuKDvtuvovfm6ia','vw5RBM93BIb0B29SoIa','z29Vz2XLq3nLs2v5','Dg9tDhjPBMC','BwnWlxjLCxvLC3qTDgLTzw91Da','C3rHBgvFC25HChnOB3q6ihrOzsbMAwXLignOyw5NzwqGC2LUy2uGC25HChnOB3qG','t1bftLjpvvrfuL9bueLFs0vz','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','u2TPBgWGjW','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','CMvWBgfJzsbLBMrmAw5L','zMXVB3i','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','zxHPDgvK','CgLK','qvbjx0Tfwq','zM9Yy2vszxf1zxn0zwq','AgfZAgXPBMu','B3bLBMfP','ls1NBg9Ipq','CMvZB2X2zq','Aw5ZDhj1y3rPB25Z','C3rKB3v0tM9YBwfSAxPLCG','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','Aw5Zzxj0igXPBMu','z2v0u3rHDhm','mc4WlJaUma','DhLWzxnJCMLWDa','ls1ZDgrPBW','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','yxv0BW','oYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGzMLYC3qU','DxrMoa','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','zgLZy292zxi','CMvXDwvZDfrPBwvVDxrnCW','yNjVA2vU','mtC4ndm4mfDVrgvdwa','zMXHDe1HCa','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','zg9TywLUCW','Bg9VA3vW','v2fYBMLUzW','BMv4DeXPBMvtDgfYDa','igzVCIbHBIbHBMnOB3jLzcbZBMfWC2HVDcaO','igj5DgvZ','lunVBw1HBMq','lcbpChrPB24G','B25LCNjVCG','D2LUmZi','sfruuca','u0HfteW','D2fYBG','BgLTAxq','igfMDgvYihDYAxrPBMCGka','Ag9ZDa','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','DxbKyxrL','y29UDgvUDa','rMLSzsa','CgfJA2fNzs5QC29U','DhLWzq','AxndB250zxH0','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','AxntywzLsw50zwDLCG','z2fW','DhjPBuvUza','qKftse9qvfm','cMbGya','r0LgodLH','C3rHBgvFC25HChnOB3q6ifvUywjSzsb0BYbYzwfKia','Aw1Hz2uVCg5N','zxHPDa','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','AxntEw1IB2XPy0XPBMS','rxjYB3i','yxr0ywnO','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','yM94zwq','zNjVBuvUDhjPzxm','BgLUzu51Bq','ywrK','Aw5PDgLHBgL6zwq','qxnRvxnLCLrVB2W','zNjLzxPL','C3rKAw4','r0Lusfvcx1rps0vo','BM9dAgfUz2vdB3vUDgvYCW','oIbPBNzHBgLKihbYAw9YAxr5','BgLI','Aw5PDgLHBgL6zq','C2HHmJu2','lNbUzW','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','xsbPCYbWyxn0ihrOzsbLBMqGB2yGDgHLia','Ag9TzwrPCG','ANnVBMm','yw1IAwD1B3vZx3nUyxbZAg90x3rHzW','yxnZAwDU','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','vw50AxrSzwq','ihDHCYbHBhjLywr5ia','CM91BMq','B2f1DgG','yMLUzfnLC3nPB24','yxjNCW','zw5KtgLUzq','AgvHzgvYCW','Dg9Rzw5Z','u3rHCNrLzcbHz2vUDcbYDw4G','ywjVCNrLza','C3jJl2fNzw50l2fNzw50lNrZ','Cg5WBs1SB2nRlNLHBwW','y2HHCKnVzgvbDa','Ahr0Chm6','Dw5RBM93BG','Bg9HzfnRAwXS','B25uzxjTAw5HBevYCM9Y','DgvYBwLUyxrL','Agv4','zxzPy3rjzK5LzwrLza','t1bftKnprevFqvbjx0Tfwq','AxnbCNjHEq','zgvUEq','C2v0vg9WAwm','Aw1Hz2uVD2vICa','CMvTB3zLrxzLBNrmAxn0zw5LCG','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','ue9tva','vg90ywWGyxv0Ag9YzwqGCMvWBgfJzw1LBNqGy29UDgvUDcbTDxn0igjLigf0ig1VC3qG','C2nYDwjfBNzlzxLZ','BwnWxW','z29uB0LTCgXLBwvUDgf0Aw9U','CMvZDwX0CW','C2XPy2u','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','Dg9VBhm','BNvTyMvY','zgvSzxrLq291BNq','B3bLCMf0Aw9UCW','BM9Fy2HHBMDLoIb0AguGCMvXDwvZDgvKigvKAxqGD291BgqGBgvHDMuG','y2XVC2u','vg9WAwmGC2v0ihrVici','Ec1HCgKTA2v5','A2LUza','rMLSzsbPCYbLBxb0EtSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHBIbVyNnLCNzLzcbSAw5LlG','AxneAxjLy3rVCNK','u3rVCdOGmYbJB25Zzwn1DgL2zsbPzgvUDgLJywWGBM8TB3aGzwrPDhmGzM9YihrOAxmGCgf0AcbHBMqGCgf5Bg9Hzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigjLzM9YzsbYzxrYEwLUzY4','C3rHCNrLzef0','ihrVB2WGy2fSBcbMywLSzwq','Cg9ZDf93CML0zv9KCMLMDdOGrMfPBgvKihrVihzLCMLMEsa','uMuTCMvHzcb0AguGCMvXDwLYzwqGBgLUzxmGD2L0AcbgAwXLuMvHzcbHBMqGCMv0CNKGD2L0Acb0AguGzNjLC2GGDgfNlG','ywXS','ugf0y2GGBxvZDcbIzwDPBIb3AxrOigeGw1bbveGJvefhxsbOzwfKzxiU','DgLTzw91De1Z','y2XPzw50','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','DgLTzw91DfnVDxjJzq','AM9PBG','Cg9ZAxrPDMu','ihrVB2WGzgLZy292zxj5igzHAwXLza','B2jQzwn0','uefusa','yMvHCMvY','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','DgvYBwLUyxrPBMC','BwvZC2fNzq','BhnW','BMv3tgLUzunVDw50','BgL0zxjHBa','C2v2zxjPDhK','C25HChnOB3q','Aw52ywXPzf9Yyw5Nzq','CgvYBwLZC2LVBKnSyxnZ','y2fUB25Py2fS','zgvUBY5QC29U','zxH0BMfTzq','l2jPBI9YzW','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','mti5odmYnw9cwvjuCG','BhmGlwXH','C2vUzfjLCxvLC3q','ignVBM5Ly3rPB24GDgLTzwqGB3v0','DhjHAwXPBMDdAhvUA3m','u25HChnOB3qGDgfNia','AxrLBxm','ywX3yxLZlwnVBMzPCM0','zw5NAw5LCW','B2XSyw1H','yw5JAg9YzwqTANnVBG','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','BgLUzuvUza','CMvSzwfZzufNzw50uMvZB3vYy2vZ','zMjJBgLK','z2L0AhvI','B25oB3rPzMLJyxrPB24','tuLnrtOG','v2LUr2v0','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','ls1YzwDLEha','C2nYAxb0','C3rHCNq','AxnjBNrLz2vY','z2v0vg9KB3m','C3rKzxjYtM9YBwfSAxPLCG','CMvJzw5JEurHExm','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzc4Grg8GBM90ignHBgWGvg9KB1DYAxrLigfNywLUlIbjzIb0AguGChjVDMLUzYb0zxn0ig9Yigj1AwXKigfSCMvHzhKGCgfZC2vKlcbZDg9WlGPdB21WBgv0zwqGBgLZDdOk','y29Kzq','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','txvSDgLWBguGAw5Zzxj0Aw9UCYb0yxjNzxqGDgHLihnHBwuGBgLUzsbNyxaU','v2vIrMv0y2G','ywnXDwLYzq','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','CMfUAW','zgvLChnLzwS','rMLSzuvKAxq','BM90Awz5','Aw5JB21PBMDdywXSCW','DgfN','BMv3u3rHCNrmAw5L','r09pr0Xfx0ntrv9dwa','DxjS','AwDUB3jL','igLZig5VDcb2ywXPzcbvveyToc4','BM9UBMvNyxrPDMu','BwvTB3j5','y29TCgXLDgvK','y2XLyw51Ca','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','C2vTyxbOB3jL','uhvIBgLZAgvKoIa','DhnZzxj2zxiUANm','B2XKu3rHCNrmAw5L','z3jHy2vMDwXszxf1zxn0zwq','vMLLD2vKigLTywDLigzPBgu6ia','ksbB','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','Cg9ZDf93CML0zv9KCMLMDa','A2v5yMLUzgLUz3m','vMfSAwrHDgvKia','zxjYB3i','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','CMvXDwLYzwrmAw5LCW','BMfTzq','C2LNBMfSqwrHChrLCG','zw5K','AwzYyw1L','DwX0CMe','vg9KB1DYAxrL','qgjPB21LANmVyMLVBwu','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','C2H1DgrVD24','mtCYlJe2lJaUma','yMLVBwu','B2C6DxbKyxrLzf90Aw1L','xg5DkJ8','ChjVCgvYDgLLCW','rMLSzu5LDW','y29UDgv4DeXPBMvZ','CM9VDfbPza','BgfUz18','mZyWnZeYDfDPEfLr','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','DxrMoej5DgvZ','zwzMB3j0','zMfPBgvK','lwj5DguGyM91BMq7ig5HCNjVDYb0AguGzwrPDcbYyw5NzsbHBMqGCMv0CNKU','zxHHy3q','ienHDxnLoIa','l2jPBI9IyxnO','l3vZCI9SB2nHBc9IAw4VCMC','B3bLBKzPBgvZ','DMfSDwvZ','zMLSzxm','CMvWBgfJzsbZDgfYDeXPBMu','DMfSDwu','lMPZ','DgfZAW','Dhj1zq','zgvSzwDHDgvKlxj1BI0','rgLHz25VC3rPyW','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','ywXSB3DLzerPCNm','o1TE','ANnVBG','lMjPBG','Aw5PDgLHBgL6yxrPB24','A2LSBgvK','C3vWzxjszwzPBMu','zgvMyxvSDe9WDgLVBG','DxjP','zgLZCgXHEwvKtgLUzxm','B25JBg9Zzq','DgfZA2TPBgW','zM9VDgvY','EwvZ','zgLNzxn0','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','CMfUz2u','C3rHCNrmAw5L','Dgv4Dc9ODg1S','Bgv4AwnHBfbHDgG','CgfNzw1HCa','tu9ptLnit1rFqvbjx0Tfwq','B2zMC2v0','rM91BMqG','Aw50zxjUywXmAwzLy3LJBgu','DgvZDa','mJi0lJaUmc4W','qxnZAwDUvgfZAW','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','zNvUy3rPB24','yw5UB3rHDgLVBNm','Dg9WAwm','C3rKzxjY','C2vZC2LVBKLK','s0Lnsv9bueLFs0vz','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','Ahr0CdO','C2v0','B25szwrPCMvJDa','zgvSzxrLlMvUzeXPBMu','y2XPzw50twv0ywrHDgfvCMW','y2XPzw50sw5MB3jTyxrPB24','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','lMDPzG','C3rKAw8','AgfUzgXL','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','B2jZzxj2yxrPB25Z','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','Aw52ywXPzf90B2rVx2nVBNrLBNq','CMvMzxjLBMnLCW','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','ChjVy2vZC0DYB3vWswq','y3nP','BwfW','B3v0y29Tzq','CMv0AxjL','BwLU','lI4U','ugfJA2fNzxm','CMvNzxG','Aw5Zzxj0igXPBMuG','zw5KC1DPDgG','y2fSBfrVB2W','sw52ywXPzcbVDxrWDxrszwDLEdOG','z2L0qNjHBMnO','qMfZzsbKAxjLy3rVCNK6ia','Dg9VBa','BgLUzq','z29Vz2XLq3nLq3G','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','Cg9W','BNv2Aw4','y2vPBa','BxrPBwu','BxrPBwvnCW','sgLUDa','Dg9KB3ncEvnLC3nPB24','Dgf2AwX5qxbPs2v5','B3b0Aw9UywW','y3DK','Bwf4q29Uy3vYCMvUDa','C2vUze5VDgLMAwnHDgLVBG','CMvSzwfZzuj5DgvZ','Dhj1BMm','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0ig5VDcbJB250ywLUignHCNjPywDLihjLDhvYBNmU','zgLZy292zxj5','zgnZ','ywrKrxzLBNrmAxn0zw5LCG','BNbT','B3bLBMfPlxjLC3bVBNnLCY13CW','Dw5RBM93BL9ZBMfWC2HVDdOGvw5HyMXLihrVihjLywqG','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','zgvSzxrLlNn0yxj0tgLUzq','C2vHCMnOrgvWDgG','DhjHBNnWB3j0','tM8GBg9JyxrPB25ZigzVDw5K','ywXSu2v0DgXLza','lMnTza','Aw52ywXPzf9Yyw5NztOGDgHLigvKAxqNCYbZB3vYy2uTzgvYAxzLzcbWCMv2Awv3ihrLEhqGAxmG','Aw1WBgvTzw50yxrPB24','DgfNig11C3qGyMuGzxHHy3rSEsaXmIb1ChbLCMnHC2uGAgv4ignOyxjHy3rLCNm7igDVDcaN','DgfPBhm','y29TBwfUzhm','CgvUzgLUzW','zhj5uNvU','BwnFy2LK','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbHihnUyxbZAg90lwfUy2HVCMvKieHHC2HSAw5LihbHDgnOlIbdywXSiezPBgvszwfKigzPCNn0ihrVig9IDgfPBIb0AguGy3vYCMvUDcbBCgf0AcnuquDDigHLywrLCIbHBMqGtJOGBgLUzsbUDw1IzxjZoYbLDMvYEsbLzgL0ihjLCxvPCMvZihrOyxqGDgfNlcbHBMqGywXSigXPBMuGBNvTyMvYCYbIzwXVDYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4GuMv1C2uGDgHLigzYzxnOicnuquCGCMv0DxjUzwqGyNKGysbZDwnJzxnZzNvSigvKAxqGzM9YihrOzsbUzxH0igvKAxqGB24GDgHLihnHBwuGzMLSztSGCMuTCMvHzcbVBMX5ihDOzw4GEw91ig5LzwqGDw5ZzwvUigXPBMuGBNvTyMvYCYbVCIbHihrHzYbPCYbYzwPLy3rLzc4kvgHLihbHDgnOihn0CMLUzYbPCYbVBMuGw3bHDgGJvefhxsbOzwfKzxiGCM93igzVBgXVD2vKigj5ig9UzsbVCIbTB3jLignVBw1HBMrZlcbLywnOigfWCgXPzwqGywDHAw5ZDcb0AguGB3jPz2LUywWGC25HChnOB3q6cI0GufvuifnuqvjulJ1ftKq6ihjLCgXHy2vZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPihDPDgGGDgHLihbHEwXVywqGCM93CYb0Agf0igzVBgXVDZSGzwfJAcbWyxLSB2fKihjVDYbZDgfYDhmGD2L0AcaRicHHigjHCMuGkYbPCYbHigjSyw5RigXPBMuPlGOTifbvvca8tJOGAw5Zzxj0CYb0AguGCgf5Bg9HzcbYB3DZigjLzM9YzsbSAw5Lie4Uifbvvca+tJOGAw5Zzxj0CYb0AgvTigfMDgvYigXPBMuGtI4klsbdvvqGu1rbuLqUpuvorcbKzwXLDgvZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPlGPfEgfTCgXLicHYzxbSywnLigXPBMuGmIWGDgHLBIbPBNnLCNqGywz0zxiGBgLUzsa5ktOkw3nYyY9HChaUDhmJn0yYmue5m0m1rdeWxqPqvvqGmI49mJOkk2nVBNn0ihjLC3vSDca9ignHBgn1Bgf0zsHPBNb1DcK7cLbvvca+otOkk3jLDhvYBIbYzxn1Bhq7cLvZzsbmrIbSAw5LigvUzgLUz3mGB25SEsaOBM8Gy2fYCMLHz2uGCMv0DxjUCYKUief0ig1VC3qGmtaWig9WzxjHDgLVBNmGyw5Kidi1nIblAuiGB2yGCgf0y2GGDgv4DcbWzxiGy2fSBc4','vg9KBYa','mJqWlJaUmc4W','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','z2v0uhjVDg90ExbLt2y','D3jPDgvgAwXL','uKLgrG','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','oIbPBNzHBgLKihn0yxr1CW','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','ktSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','A2LTAq','B3v0Chv0','yw50AhjVCgLJlw1LC3nHz2vZ','BM9Uzq','C3LZDgvTuhjVBxb0','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','yMfZAa','u2HLBgWGBM90igzVDw5KoIa','yxnRvxnLCG','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU'];_0x26f6=function(){return _0x380bba;};return _0x26f6();}var defaultFileSystem={'writeFile':_0x5027c6,'chmod':chmod,'rename':rename,'rm':rm};async function atomicReplaceFile(_0x5a3a72,_0x1da007,_0x315071,_0x1b8def){const _0x275fd1={_0x3e8ef6:0x266,_0x5a4905:0x2e2,_0x8ec7bb:0x402,_0x312634:0x273,_0x3f2e22:0x6a,_0x4364ac:0x45,_0x19600c:0x1b5,_0x7978a8:0x140},_0x5a83a9={_0x4aac5c:0x1e9},_0x48817f=_0x1b8def??defaultFileSystem;function _0x292cce(_0xb28a9e,_0x46ef42,_0xfbe549,_0x189937){return _0x38b1c5(_0xb28a9e-_0x5a83a9._0x4aac5c,_0x46ef42-0x1bd,_0x189937-0x13a,_0xfbe549);}const _0x3b3983=_0x85b784[_0x404399(-_0x275fd1._0x3e8ef6,0x100,-0xd5,-_0x275fd1._0x5a4905)](_0x5a3a72);function _0x404399(_0x343269,_0x5bc1b5,_0x543e11,_0x41a150){return _0x4a0aa5(_0x5bc1b5,_0x543e11- -0x474,_0x543e11-0x1e5,_0x41a150-0x168);}const _0x575a20=_0x85b784['join'](_0x3b3983,'.tmp.'+_0x85b784[_0x404399(_0x275fd1._0x8ec7bb,0x258,0x290,_0x275fd1._0x312634)](_0x5a3a72)+'.'+randomUUID()),_0x23687c=_0x315071&0xfff;try{await _0x48817f[_0x404399(_0x275fd1._0x3f2e22,-_0x275fd1._0x4364ac,0x1a7,_0x275fd1._0x19600c)](_0x575a20,_0x1da007,{'mode':_0x23687c}),await _0x48817f['chmod'](_0x575a20,_0x23687c),await _0x48817f[_0x404399(_0x275fd1._0x7978a8,-0x99,-0xad,-0x58)](_0x575a20,_0x5a3a72);}finally{await _0x48817f['rm'](_0x575a20,{'force':!![]});}}var utf8Decoder=new TextDecoder('utf-8',{'fatal':!![],'ignoreBOM':!![]});function exactReplacementGuidance(_0x1faae8,_0x4669ba){const _0x46bb41={_0x15eeb5:0x867,_0x188a03:0x6ed,_0x18aa81:0x9cd},_0x5e7170={_0x3fa4b1:0x103};function _0x30595e(_0x13dd11,_0x4330c1,_0xaf39f9,_0x526c3d){return _0x38b1c5(_0x13dd11-_0x5e7170._0x3fa4b1,_0x4330c1-0x149,_0x4330c1-_0x5e7170._0x3fa4b1,_0xaf39f9);}throw createAnchoredFileError(_0x30595e(0x6d6,_0x46bb41._0x15eeb5,_0x46bb41._0x188a03,_0x46bb41._0x18aa81),_0x4669ba+'\x20'+_0x1faae8+';\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x1faae8});}function createNormalizedFileSnapshot(_0xb81267,_0x3e97b2,_0x14e2cd){const _0x567125={_0x384d0b:0x72a,_0x47b315:0x1df,_0x29e23a:0x6ea,_0x26c1c5:0x613,_0x4d4012:0x5c5,_0x5e9b46:0x2e1,_0x2ef212:0x435,_0x5a1718:0x10f,_0x1962ec:0x338,_0x39c24c:0x24f,_0x5aa764:0x286,_0x5461be:0x6e4,_0x2a2784:0x528,_0x2c27d5:0x635,_0x51992f:0x5e1,_0x2c9f67:0x7af,_0x2c7e97:0x763,_0x166357:0xa33,_0xbb6d78:0x826,_0x47dbc4:0x8c3,_0x2424f1:0x6d7,_0x3925cc:0x35b,_0x57079e:0x480,_0x47454c:0x5a4,_0x10e55f:0x59c,_0x287de6:0x6d7,_0x4853e6:0x9ef,_0x2ec074:0x7db,_0x17ad24:0x21f,_0x48ee27:0x384,_0x5cb304:0x2f0,_0x3708e4:0x411},_0xc2b9bc={_0x1de930:0x28e,_0x50efa0:0xc3,_0x5e52da:0xad},_0x5a52da={_0x55fd71:0x14b,_0x19946a:0x6f};Buffer[_0x558995(0x76d,0x5b2,_0x567125._0x384d0b,0x421)](_0x3e97b2)[_0x5489c(0x14f,0xe7,_0x567125._0x47b315,0x1c4)](0x0)&&exactReplacementGuidance(_0xb81267,'File\x20'+_0xb81267+'\x20contains\x20NUL\x20bytes.');let _0x42929c;try{_0x42929c=utf8Decoder['decode'](_0x3e97b2);}catch{exactReplacementGuidance(_0xb81267,_0x558995(_0x567125._0x29e23a,_0x567125._0x26c1c5,_0x567125._0x4d4012,0x61b)+_0xb81267+_0x5489c(_0x567125._0x5e9b46,_0x567125._0x2ef212,_0x567125._0x5a1718,0x181));}const _0x12a817=_0x42929c[_0x5489c(0x271,_0x567125._0x1962ec,_0x567125._0x39c24c,0x306)](0x0)===0xfeff;if(_0x12a817)_0x42929c=_0x42929c[_0x5489c(_0x567125._0x5aa764,0x27b,0x128,0x3fa)](0x1);const _0x7af023=_0x42929c[_0x558995(_0x567125._0x5461be,_0x567125._0x2a2784,0x64a,_0x567125._0x2c27d5)]('\x0d\x0a'),_0x2b3af9=/(?<!\r)\n/[_0x558995(_0x567125._0x51992f,0x70f,_0x567125._0x2c9f67,_0x567125._0x2c7e97)](_0x42929c);_0x7af023&&_0x2b3af9&&exactReplacementGuidance(_0xb81267,'File\x20'+_0xb81267+_0x558995(_0x567125._0x166357,_0x567125._0xbb6d78,0x8ad,_0x567125._0x47dbc4));const _0x5e2abb=_0x7af023?_0x558995(0x9da,0x844,0x631,_0x567125._0x2424f1):'lf',_0x4d85c7=_0x7af023?_0x42929c['replace'](/\r\n/g,'\x0a'):_0x42929c;function _0x558995(_0x3470e3,_0x27379f,_0x5d0bd,_0x47b62c){return _0x4a0aa5(_0x5d0bd,_0x27379f-_0x5a52da._0x55fd71,_0x5d0bd-_0x5a52da._0x19946a,_0x47b62c-0x18a);}const _0x4ff2f9=_0x4d85c7[_0x5489c(_0x567125._0x3925cc,0x4a0,_0x567125._0x57079e,0x204)]('\x0a'),_0x4b0e98=_0x4d85c7===''?[]:_0x4d85c7[_0x558995(_0x567125._0x47454c,0x598,0x42c,0x44b)]('\x0a')['slice'](0x0,_0x4ff2f9?-0x1:void 0x0),_0x40c3c9=sha256Bytes(_0x4d85c7);function _0x5489c(_0x249e28,_0x320040,_0x232c20,_0x21a97f){return _0x4a0aa5(_0x21a97f,_0x249e28- -_0xc2b9bc._0x1de930,_0x232c20-_0xc2b9bc._0x50efa0,_0x21a97f-_0xc2b9bc._0x5e52da);}const _0x474ac5=_0x40c3c9[_0x558995(0x82a,0x65f,_0x567125._0x10e55f,0x80c)](0x0,0xc)[_0x5489c(0x18a,0x259,0xc6,0x21a)]();return{'canonicalPath':_0xb81267,'text':_0x4d85c7,'lines':_0x4b0e98,'finalNewline':_0x4ff2f9,'bom':_0x12a817,'eol':_0x5e2abb,'digest':_0x40c3c9,'tag':_0x474ac5,'utf8Bytes':Buffer[_0x558995(_0x567125._0x287de6,0x86b,_0x567125._0x4853e6,_0x567125._0x2ec074)](_0x4d85c7,_0x5489c(_0x567125._0x17ad24,_0x567125._0x48ee27,_0x567125._0x5cb304,0x3a3)),'recordedAt':_0x14e2cd??Date[_0x5489c(0x4ab,_0x567125._0x3708e4,0x4b4,0x41c)]()};}function serializeNormalizedFile(_0x2ff034,_0x29dbbb){const _0x356fbc={_0x579ce7:0x318,_0x2f811c:0x11d,_0xe70f9b:0x3dc,_0x5ce354:0x678,_0x3ebfa7:0x5eb,_0x5ac89e:0x611,_0x1e70e7:0x2dc,_0xf23d18:0x52c},_0x5b9f4e={_0x47117f:0xa6},_0x58cf62=_0x29dbbb[_0xb1f8c1(_0x356fbc._0x579ce7,_0x356fbc._0x2f811c,0x4cf,_0x356fbc._0xe70f9b)]===_0x1ea81d(_0x356fbc._0x5ce354,_0x356fbc._0x3ebfa7,_0x356fbc._0x5ac89e,0x617)?_0x2ff034['replace'](/\n/g,'\x0d\x0a'):_0x2ff034;function _0x1ea81d(_0x34e37a,_0x206db1,_0x2022ec,_0x1a4e95){return _0x4a0aa5(_0x206db1,_0x1a4e95- -0xe2,_0x2022ec-0x31,_0x1a4e95-0x166);}const _0x4658e9=Buffer['from'](_0x58cf62,'utf8');function _0xb1f8c1(_0xccb6be,_0x314ef2,_0x5e32b1,_0x4d618c){return _0x38b1c5(_0xccb6be-0x166,_0x314ef2-_0x5b9f4e._0x47117f,_0xccb6be- -0x206,_0x5e32b1);}return _0x29dbbb['bom']?Buffer['concat']([Buffer[_0x1ea81d(_0x356fbc._0x1e70e7,0x30b,_0x356fbc._0xf23d18,0x385)]([0xef,0xbb,0xbf]),_0x4658e9]):_0x4658e9;}var MAX_ANCHORED_OPERATIONS=0x64,MAX_ANCHORED_CONTENT_BYTES=0x100*0x400,textEncoder=new TextEncoder();function utf8Bytes(_0x4da6c2){const _0x5c15f7={_0x80ad8c:0x4ea,_0x48dd24:0x616};function _0xc51d14(_0xa9560a,_0x12d0ec,_0x12f94e,_0x6defa5){return _0x4a0aa5(_0x12f94e,_0x12d0ec- -0x23d,_0x12f94e-0x1c3,_0x6defa5-0x81);}return textEncoder['encode'](_0x4da6c2)[_0xc51d14(_0x5c15f7._0x80ad8c,0x46c,_0x5c15f7._0x48dd24,0x2d5)];}var TAG_PATTERN=/^[0-9A-F]{12}$/,replaceOperationSchema={'type':_0x38b1c5(0x479,0x590,0x5ee,0x5ca),'properties':{'operation':{'type':'string','enum':[_0x38b1c5(0x475,0x4f3,0x402,0x1f7)]},'startLine':{'type':'number'},'endLine':{'type':_0x38b1c5(0x632,0x5b6,0x5d6,0x555)},'content':{'type':_0x4a0aa5(0x699,0x69e,0x8b2,0x5e3)}},'required':[_0x4a0aa5(0x1ff,0x37a,0x31c,0x1df),_0x4a0aa5(0x576,0x5bc,0x6ff,0x71b),'endLine',_0x4a0aa5(0x425,0x4c7,0x66a,0x46a)],'additionalProperties':![]},deleteOperationSchema={'type':_0x4a0aa5(0x68e,0x530,0x36b,0x609),'properties':{'operation':{'type':'string','enum':[_0x4a0aa5(0x4ce,0x430,0x600,0x292)]},'startLine':{'type':_0x38b1c5(0x5a6,0x515,0x5d6,0x5b9)},'endLine':{'type':_0x38b1c5(0x3e1,0x501,0x5d6,0x497)}},'required':[_0x4a0aa5(0x47e,0x37a,0x2c1,0x217),_0x4a0aa5(0x54c,0x5bc,0x5ea,0x690),_0x4a0aa5(0x60e,0x4f8,0x5ea,0x581)],'additionalProperties':![]},insertOperationSchema={'type':'object','properties':{'operation':{'type':_0x4a0aa5(0x53f,0x69e,0x65f,0x513),'enum':[_0x38b1c5(0x2ce,0x3ae,0x4c9,0x539)]},'position':{'type':'string','enum':[_0x4a0aa5(0x3b9,0x3e1,0x59c,0x24d),_0x38b1c5(0x94f,0x6bb,0x773,0x708)]},'line':{'type':_0x4a0aa5(0x4c8,0x518,0x4e8,0x337)},'content':{'type':'string'}},'required':[_0x4a0aa5(0x50b,0x37a,0x4d2,0x1dd),_0x4a0aa5(0x798,0x6ba,0x6ee,0x663),_0x4a0aa5(0x60e,0x5ef,0x4a7,0x58c),_0x4a0aa5(0x490,0x4c7,0x2e4,0x640)],'additionalProperties':![]},structuredFileEditInputSchema={'type':_0x38b1c5(0x3ea,0x461,0x5ee,0x7fc),'properties':{'filePath':{'type':'string'},'tag':{'type':'string'},'description':{'type':'string'},'operations':{'type':_0x38b1c5(0x67e,0x890,0x730,0x679),'items':{'anyOf':[replaceOperationSchema,deleteOperationSchema,insertOperationSchema]}},'dryRun':{'type':'boolean'}},'required':['filePath',_0x4a0aa5(0x5f0,0x56a,0x3f8,0x4e3),_0x38b1c5(0x66b,0x4f4,0x5d8,0x537)],'additionalProperties':![]};function requireValidLineNumber(_0x1c8cdb,_0x38fa4e){const _0x33269b={_0x3d53eb:0x190,_0xe60811:0x17f,_0x33ce75:0x273,_0x4eb635:0x7},_0x61bacd={_0x442604:0x15b},_0x483047={_0x576381:0xac};function _0x3943c4(_0x576301,_0x40d780,_0x47af8f,_0x4ccd1d){return _0x38b1c5(_0x576301-0x38,_0x40d780-_0x483047._0x576381,_0x4ccd1d- -0x261,_0x576301);}function _0x51020c(_0x42e7e5,_0x18528a,_0x5a1ae1,_0x41d2e3){return _0x4a0aa5(_0x41d2e3,_0x42e7e5- -0x29b,_0x5a1ae1-_0x61bacd._0x442604,_0x41d2e3-0xd6);}if(!Number[_0x51020c(0x233,0x24b,0x26f,_0x33269b._0x3d53eb)](_0x1c8cdb)||_0x1c8cdb<0x1)throw createAnchoredFileError(_0x51020c(0x150,_0x33269b._0xe60811,_0x33269b._0x33ce75,_0x33269b._0x4eb635),_0x38fa4e+'\x20must\x20be\x20a\x20positive\x20safe\x20integer;\x20got\x20'+String(_0x1c8cdb)+'.');}function parseStructuredFileEditInput(_0x49a055){const _0x4ed47e={_0x45cb4a:0x781,_0x5830b6:0x57f,_0x2b215a:0x4e9,_0x5a4b42:0x37b,_0x1979aa:0x663,_0x538869:0x4a0,_0x29dfd9:0x581,_0x5c2c7c:0x4b2,_0x51ab63:0x596,_0x47f5ae:0x4b2,_0x38ab17:0x5d6,_0x26e6ec:0x461,_0x129eaa:0x485,_0x15237f:0x67a,_0x1b4e9c:0x584,_0x319890:0x55c,_0x2b7c89:0x66b,_0x1fded0:0x544,_0x35163d:0x5d8,_0x4bee51:0x668,_0x292736:0x3b7,_0x4f9313:0x502,_0x2636cb:0x569,_0x5d2f7f:0x855,_0x1e7b6b:0x641,_0x3d14ce:0x53c,_0x2d3468:0x26b,_0xe9357f:0x7bd,_0x204201:0x749,_0x256171:0x6e1,_0x1e2825:0x575,_0x3888dd:0x2d0,_0x372841:0x533,_0x5f2394:0x399,_0x42323e:0x3a3,_0x18b6d4:0x4e7,_0x181a16:0x640,_0x482cfb:0x59a,_0xc45410:0x350,_0x21948d:0x3c9,_0x17e4a3:0x2ac,_0x2af268:0x393,_0x2eb280:0x739,_0x1af22d:0x554,_0xdbc046:0x38f,_0x19ce88:0x41f,_0xe8516b:0x45c,_0x53f9e4:0x547,_0x376b1a:0x3e1,_0x2cd332:0x5ce,_0x24bd23:0x510,_0x1303b3:0x547,_0x301a60:0x4ec,_0x104e44:0x607,_0x1184a3:0x43a,_0x47fb9c:0x60b,_0xc7e7f:0x572,_0x1374c7:0x57c,_0x440780:0x5b0,_0x244aaf:0x65e,_0x4d6c49:0x60e,_0x36c79f:0x37a,_0x2157c1:0x490,_0xcde1e8:0x71f,_0xe83b69:0x47f,_0x5d9237:0x59c,_0x25d383:0x27a,_0x2a7d7d:0x553,_0x2ac2d8:0x4a7,_0x565a9f:0x738,_0x2c58a3:0x63e,_0x49f8d5:0x65a,_0x11b458:0x3a1,_0x1f7971:0x434,_0x81b800:0x554,_0x827553:0x6e7,_0x4f0c33:0x794,_0x3ed94d:0x6d3,_0x46c390:0x345,_0x600198:0x516,_0x1ce0ee:0x36c,_0x537184:0x356,_0xeeada3:0x370,_0x245d4d:0x341,_0x5d260f:0x642,_0x17218c:0x47f,_0x16c40b:0x51b,_0x487445:0x4af,_0x32b603:0x6fc,_0x4381c7:0x381,_0x4c59d5:0x52c,_0x2274a1:0x202,_0x4394d7:0x43c,_0xe1ab94:0x692,_0x381695:0x2f7,_0x1aae8d:0x35a,_0x1b8911:0x45f,_0x13512d:0x383,_0x9f0e0a:0x317,_0x5b3a11:0x4a8,_0x1487de:0x67e,_0x3c830c:0x4a7,_0x4a0b5e:0x15e,_0x5d72cd:0x242,_0x35cb81:0x30d,_0x403079:0x339,_0x30bdd2:0x544,_0x32a39b:0x516,_0x46d19d:0x474,_0x11e5f1:0x5b9,_0x782f95:0x59b,_0x49512f:0x538,_0x38254e:0x830,_0x1cfbf2:0x85a},_0xf32027={_0x2ecd3f:0x68,_0x32cea6:0xa0},_0x4b97de={_0x3d68cc:0xfd,_0x3a86d9:0xfb},_0x5c50d3=_0x49a055;if(_0x5c50d3!==null&&typeof _0x5c50d3===_0x3644b9(0x59b,0x662,_0x4ed47e._0x45cb4a,_0x4ed47e._0x5830b6)&&!Array[_0x3644b9(0x590,0x547,_0x4ed47e._0x2b215a,0x557)](_0x5c50d3)&&Array[_0xb37695(_0x4ed47e._0x5a4b42,_0x4ed47e._0x1979aa,0x571,_0x4ed47e._0x538869)](_0x5c50d3[_0xb37695(0x55e,_0x4ed47e._0x29dfd9,0x654,_0x4ed47e._0x5c2c7c)])&&_0x5c50d3[_0xb37695(_0x4ed47e._0x51ab63,0x657,0x69a,_0x4ed47e._0x47f5ae)][_0x3644b9(_0x4ed47e._0x38ab17,0x7f5,0x886,0x6f8)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError('invalid_patch','At\x20most\x20'+MAX_ANCHORED_OPERATIONS+_0xb37695(0x7ce,0x6a3,_0x4ed47e._0x26e6ec,0x640));let _0x5149df;try{_0x5149df=validateToolInput(_0x49a055,structuredFileEditInputSchema);}catch(_0x34142d){const _0xc6a4cb=_0x34142d instanceof Error?_0x34142d[_0x3644b9(_0x4ed47e._0x129eaa,_0x4ed47e._0x15237f,0x587,_0x4ed47e._0x1b4e9c)]:String(_0x34142d);throw createAnchoredFileError('invalid_patch',_0xb37695(0x5d3,0x5d4,0x402,0x5f7)+_0xc6a4cb);}if(!TAG_PATTERN[_0xb37695(0x738,0x43e,0x5f9,_0x4ed47e._0x319890)](_0x5149df['tag']))throw createAnchoredFileError(_0x3644b9(0x245,0x381,0x4eb,0x43a),_0x3644b9(0x60e,_0x4ed47e._0x2b7c89,_0x4ed47e._0x1fded0,0x65f)+_0x5149df[_0xb37695(_0x4ed47e._0x35163d,_0x4ed47e._0x4bee51,_0x4ed47e._0x292736,0x502)]+'\x27.');if(_0x5149df[_0x3644b9(0x768,0x3bf,_0x4ed47e._0x4f9313,_0x4ed47e._0x2636cb)][_0xb37695(_0x4ed47e._0x5d2f7f,0x83d,0x760,_0x4ed47e._0x1e7b6b)]===0x0)throw createAnchoredFileError(_0x3644b9(_0x4ed47e._0x3d14ce,0x596,_0x4ed47e._0x2d3468,0x43a),_0xb37695(0x70e,_0x4ed47e._0xe9357f,_0x4ed47e._0x204201,_0x4ed47e._0x256171));if(_0x5149df[_0x3644b9(0x6d0,_0x4ed47e._0x1e2825,0x5db,0x569)]['length']>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0xb37695(_0x4ed47e._0x3888dd,0x414,_0x4ed47e._0x372841,0x383),_0x3644b9(0x4d3,0x1f1,_0x4ed47e._0x5f2394,_0x4ed47e._0x42323e)+MAX_ANCHORED_OPERATIONS+_0xb37695(0x6a0,_0x4ed47e._0x18b6d4,0x60a,_0x4ed47e._0x181a16));function _0x3644b9(_0x3b86a5,_0x4319c8,_0x30e3de,_0x2145a4){return _0x38b1c5(_0x3b86a5-_0x4b97de._0x3d68cc,_0x4319c8-_0x4b97de._0x3a86d9,_0x2145a4- -0x6f,_0x30e3de);}function _0xb37695(_0x5129b0,_0xdadf0a,_0x6b331e,_0x5012ea){return _0x4a0aa5(_0x5129b0,_0x5012ea- -_0xf32027._0x2ecd3f,_0x6b331e-0x10d,_0x5012ea-_0xf32027._0x32cea6);}let _0x36a83e=0x0;const _0x178422=[];for(const _0x529f2f of _0x5149df['operations']){switch(_0x529f2f[_0x3644b9(_0x4ed47e._0x482cfb,_0x4ed47e._0xc45410,0x47a,_0x4ed47e._0x21948d)]){case _0x3644b9(0x45c,0x493,_0x4ed47e._0x17e4a3,_0x4ed47e._0x2af268):{requireValidLineNumber(_0x529f2f[_0xb37695(0x475,_0x4ed47e._0x2eb280,0x45c,_0x4ed47e._0x1af22d)],_0x3644b9(0x602,0x234,_0x4ed47e._0xdbc046,_0x4ed47e._0x19ce88)),requireValidLineNumber(_0x529f2f[_0x3644b9(0x5a4,0x6ed,_0x4ed47e._0xe8516b,_0x4ed47e._0x53f9e4)],'replace.endLine');if(_0x529f2f[_0xb37695(0x381,_0x4ed47e._0x376b1a,_0x4ed47e._0x2cd332,0x554)]>_0x529f2f[_0x3644b9(0x662,0x61b,_0x4ed47e._0x24bd23,_0x4ed47e._0x1303b3)])throw createAnchoredFileError(_0x3644b9(_0x4ed47e._0x301a60,0x5b7,_0x4ed47e._0x104e44,_0x4ed47e._0x1184a3),'replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x36a83e+=utf8Bytes(_0x529f2f[_0xb37695(0x672,0x4bc,0x260,0x45f)]);if(_0x36a83e>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x3644b9(_0x4ed47e._0x47fb9c,_0x4ed47e._0xc7e7f,_0x4ed47e._0x1374c7,0x43a),_0xb37695(_0x4ed47e._0x440780,_0x4ed47e._0x244aaf,0x2e2,0x4a7)+MAX_ANCHORED_CONTENT_BYTES+'\x20bytes.');_0x178422['push']({'operation':'replace','startLine':_0x529f2f[_0xb37695(0x563,0x391,0x4fb,_0x4ed47e._0x1af22d)],'endLine':_0x529f2f[_0xb37695(0x2be,_0x4ed47e._0x4d6c49,_0x4ed47e._0x36c79f,_0x4ed47e._0x2157c1)],'content':_0x529f2f[_0x3644b9(_0x4ed47e._0xcde1e8,_0x4ed47e._0xe83b69,_0x4ed47e._0x5d9237,0x516)]});break;}case _0xb37695(0x313,_0x4ed47e._0x25d383,_0x4ed47e._0x2a7d7d,0x3c8):{requireValidLineNumber(_0x529f2f[_0xb37695(0x5ac,0x368,0x71b,0x554)],_0x3644b9(_0x4ed47e._0x2ac2d8,_0x4ed47e._0x565a9f,0x744,0x657)),requireValidLineNumber(_0x529f2f['endLine'],_0x3644b9(_0x4ed47e._0x2c58a3,0x743,_0x4ed47e._0x49f8d5,0x621));if(_0x529f2f[_0xb37695(_0x4ed47e._0x11b458,_0x4ed47e._0x1f7971,_0x4ed47e._0x244aaf,_0x4ed47e._0x81b800)]>_0x529f2f[_0x3644b9(0x399,_0x4ed47e._0x827553,0x512,0x547)])throw createAnchoredFileError(_0xb37695(0x341,0x2a1,0x355,0x383),_0x3644b9(_0x4ed47e._0x4f0c33,_0x4ed47e._0x3ed94d,0x54f,0x690));_0x178422[_0xb37695(_0x4ed47e._0x46c390,_0x4ed47e._0x600198,_0x4ed47e._0x1ce0ee,_0x4ed47e._0x537184)]({'operation':_0x3644b9(_0x4ed47e._0xeeada3,_0x4ed47e._0x245d4d,_0x4ed47e._0x5d260f,_0x4ed47e._0x17218c),'startLine':_0x529f2f[_0x3644b9(_0x4ed47e._0x16c40b,0x40b,_0x4ed47e._0x487445,0x60b)],'endLine':_0x529f2f[_0x3644b9(_0x4ed47e._0x32b603,0x729,_0x4ed47e._0x4381c7,_0x4ed47e._0x53f9e4)]});break;}case _0xb37695(_0x4ed47e._0x4c59d5,_0x4ed47e._0x2274a1,0x43b,0x3a3):{requireValidLineNumber(_0x529f2f[_0xb37695(0x3ae,_0x4ed47e._0x4394d7,_0x4ed47e._0xe1ab94,0x587)],'insert.line'),_0x36a83e+=utf8Bytes(_0x529f2f[_0xb37695(0x326,_0x4ed47e._0x381695,_0x4ed47e._0x1aae8d,_0x4ed47e._0x1b8911)]);if(_0x36a83e>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0xb37695(0x3f6,0x54f,0x325,_0x4ed47e._0x13512d),_0xb37695(_0x4ed47e._0x9f0e0a,_0x4ed47e._0x5b3a11,_0x4ed47e._0x1487de,_0x4ed47e._0x3c830c)+MAX_ANCHORED_CONTENT_BYTES+_0xb37695(0x509,_0x4ed47e._0x4a0b5e,_0x4ed47e._0x5d72cd,_0x4ed47e._0x35cb81));_0x178422[_0xb37695(0x38b,0x24f,0x189,_0x4ed47e._0x537184)]({'operation':_0xb37695(0x3c8,0x22a,0x483,0x3a3),'position':_0x529f2f[_0xb37695(0x61f,0x77c,0x7c1,0x652)],'line':_0x529f2f['line'],'content':_0x529f2f[_0x3644b9(_0x4ed47e._0x403079,0x604,_0x4ed47e._0x30bdd2,_0x4ed47e._0x32a39b)]});break;}}}return{'filePath':_0x5149df[_0x3644b9(0x982,0x5ed,0x79d,0x79a)],'tag':_0x5149df[_0x3644b9(0x3fc,_0x4ed47e._0x46d19d,0x75c,_0x4ed47e._0x11e5f1)],'operations':_0x178422,'dryRun':_0x5149df[_0x3644b9(0x7fe,_0x4ed47e._0x782f95,_0x4ed47e._0x49512f,0x663)]??![],..._0x5149df['description']!==void 0x0?{'description':_0x5149df[_0x3644b9(_0x4ed47e._0x38254e,_0x4ed47e._0x1cfbf2,0x7b7,0x791)]}:{}};}var HEADER=/^\[([^#\r\n]+)#([0-9A-F]{12})\]$/,REPLACE=/^PUT ([1-9]\d*)\.=([1-9]\d*):$/,INSERT=/^PUT ([<>])([1-9]\d*):$/,DELETE=/^CUT ([1-9]\d*)\.=([1-9]\d*)$/,textEncoder2=new TextEncoder();function utf8Bytes2(_0x16d0a0){const _0xd0f459={_0x3a5b68:0x659};function _0x4ebdb6(_0x184074,_0x16fcbf,_0x20840c,_0x2d11a2){return _0x38b1c5(_0x184074-0x141,_0x16fcbf-0x3,_0x184074- -0x10e,_0x16fcbf);}return textEncoder2['encode'](_0x16d0a0)[_0x4ebdb6(_0xd0f459._0x3a5b68,0x458,0x80b,0x6a8)];}function preview(_0x356988){const _0x29807a={_0x16984e:0x588,_0x9e2167:0x6e9,_0x1b4534:0x474,_0x4bd42b:0x29c,_0x45a070:0x2e8,_0x39dec3:0x3de},_0x273638={_0x4feff4:0x19},_0x31c530={_0x46eef1:0x2fd,_0x541b80:0x5b};function _0x4ad6fe(_0x386adc,_0x548799,_0x4a20d7,_0x177f70){return _0x4a0aa5(_0x386adc,_0x548799- -_0x31c530._0x46eef1,_0x4a20d7-0x1ec,_0x177f70-_0x31c530._0x541b80);}function _0x5ee716(_0x46dda1,_0x3f2ea6,_0x40aaa0,_0x1515b4){return _0x38b1c5(_0x46dda1-_0x273638._0x4feff4,_0x3f2ea6-0x12f,_0x46dda1- -0x1df,_0x40aaa0);}return _0x356988[_0x5ee716(_0x29807a._0x16984e,0x452,_0x29807a._0x9e2167,_0x29807a._0x1b4534)]>0x3c?_0x356988[_0x5ee716(0x3f3,0x31a,_0x29807a._0x4bd42b,0x314)](0x0,0x3c)+_0x4ad6fe(0x38f,_0x29807a._0x45a070,0x156,_0x29807a._0x39dec3):_0x356988;}var hashlineFileEditInputSchema={'type':'object','properties':{'patch':{'type':_0x38b1c5(0x783,0x5aa,0x75c,0x7a1)},'description':{'type':_0x38b1c5(0x936,0x7b6,0x75c,0x6ac)},'dryRun':{'type':_0x4a0aa5(0x328,0x3da,0x3aa,0x341)}},'required':['patch'],'additionalProperties':![]};function requireLineNumber(_0x400422,_0x46d2c4){const _0x26bc39={_0x43238a:0x715,_0x7057b4:0x307,_0x564034:0x235,_0x28d86d:0x22c},_0x347d9e={_0x2739d3:0x8a},_0x72eb57={_0x47a27a:0x179};function _0x5679fb(_0x124622,_0x4a9734,_0x3d8fb8,_0x4390fb){return _0x38b1c5(_0x124622-_0x72eb57._0x47a27a,_0x4a9734-0x178,_0x3d8fb8- -0x1db,_0x124622);}if(_0x400422[_0x26f8a9(_0x26bc39._0x43238a,0x588,0x8b6,0x55a)]>0x10)throw createAnchoredFileError('invalid_patch',_0x46d2c4+_0x26f8a9(0x3a3,_0x26bc39._0x7057b4,0x422,_0x26bc39._0x564034));const _0x169eeb=Number(_0x400422);function _0x26f8a9(_0x4ec2af,_0x28a596,_0x1b9d1a,_0x4d057b){return _0x4a0aa5(_0x1b9d1a,_0x4ec2af-0x6c,_0x1b9d1a-0x1a5,_0x4d057b-_0x347d9e._0x2739d3);}if(!Number['isSafeInteger'](_0x169eeb)||_0x169eeb<0x1)throw createAnchoredFileError(_0x5679fb(0x3a7,0x3c6,0x2ce,_0x26bc39._0x28d86d),_0x46d2c4+'\x20must\x20be\x20a\x20positive\x20safe\x20integer;\x20got\x20'+_0x400422+'.');return _0x169eeb;}function parseHashlineFileEditInput(_0x4e2ce5){const _0x36b7b4={_0x354c86:0x6b6,_0x4697f1:0x58d,_0x4db334:0x712,_0x37a2d2:0x56c,_0x4c52e2:0x526,_0x289dc5:0x56c,_0x43e130:0x74f,_0x527e0c:0x181,_0x3f78ea:0x46b,_0x16aa1e:0x220,_0x1c4466:0x2e7,_0x39c367:0x459,_0xf74f40:0x5d0,_0x57a8a4:0x4cb,_0x5d770c:0x7b9,_0x4f64d8:0x5ce,_0x41c2cc:0x3f7,_0x143e91:0x769,_0x11829f:0x5b3,_0x119e21:0x544,_0x7355f0:0x3ef,_0x2ec635:0x680,_0x35248c:0x695,_0x1df577:0x7e7,_0x47c87a:0x516,_0x427727:0x34d,_0x201eec:0x52e,_0x39c297:0x473,_0x719426:0x52b,_0x4285d4:0x432,_0x5b3415:0x5d8,_0xbff54c:0x50b,_0x585fb6:0x4ad,_0x56e579:0x243,_0x42b4fe:0x289,_0x1a5b5a:0x38c,_0x386748:0x390,_0xed169a:0x306,_0x4e8e72:0x3ae,_0x5221b5:0xf6,_0x5d99c8:0x339,_0x513950:0x7ba,_0x1398a0:0x5bf,_0x576cfd:0x5c4,_0xd445f7:0x48f,_0x2c3700:0x907,_0x2805b9:0x7c2,_0x65ad6:0x5da,_0x2977fb:0x5c7,_0x12b1d7:0x625,_0x4afc98:0x3aa,_0x424a4b:0x593,_0x10c4c3:0x244,_0x7431e2:0x65d,_0x10e836:0x654,_0x48113b:0x445,_0x40a684:0x323,_0x1dc090:0x4bf,_0x5db3d5:0x51e,_0x150f1a:0x7b2,_0x26eb8b:0x6b9},_0x240d27={_0x371ffc:0x416,_0x5bceb3:0x248,_0x4446fb:0x294,_0x2ed93f:0x9d,_0x1896f2:0xcf,_0x4094e7:0x174,_0x11308d:0xc7,_0x435d68:0x1af,_0x3bd091:0x42d,_0x40918b:0x342,_0x260094:0x4ad,_0x1d8241:0x79,_0x38db55:0x5a,_0x64d500:0x1c6,_0x225389:0xdf},_0xc54495={_0x19fcd9:0x181,_0x4090a8:0x74,_0x2b56e6:0x141},_0x45fde3={_0x4e9cb0:0x73d,_0x185f58:0x86a,_0x5f25a3:0x47f,_0x2d93de:0x3c7,_0x36dd81:0x564,_0xcf4117:0x418,_0x228c89:0x4d0,_0xe092db:0x523},_0x59f124={_0x17b7ae:0xed},_0x508391={_0x3b8010:0x36,_0x3fdf2b:0x180};let _0x4e561b;try{_0x4e561b=validateToolInput(_0x4e2ce5,hashlineFileEditInputSchema);}catch(_0x53983c){const _0x9ce5b6=_0x53983c instanceof Error?_0x53983c[_0x34f54d(0x7bc,_0x36b7b4._0x354c86,_0x36b7b4._0x4697f1,0x8bd)]:String(_0x53983c);throw createAnchoredFileError(_0x34f54d(_0x36b7b4._0x4db334,_0x36b7b4._0x37a2d2,0x6f7,_0x36b7b4._0x4c52e2),'Invalid\x20Hashline\x20FileEdit\x20input:\x20'+_0x9ce5b6);}const {patch:_0x33648d}=_0x4e561b;if(utf8Bytes2(_0x33648d)>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x34f54d(0x63c,_0x36b7b4._0x289dc5,_0x36b7b4._0x43e130,0x4cf),_0x48e382(0x193,0x495,0x2b3,_0x36b7b4._0x527e0c)+MAX_ANCHORED_CONTENT_BYTES+'\x20bytes.');if(_0x33648d[_0x48e382(_0x36b7b4._0x3f78ea,_0x36b7b4._0x16aa1e,_0x36b7b4._0x1c4466,0x4ca)]('\x0d'))throw createAnchoredFileError(_0x48e382(0x37f,0x419,0x2f5,_0x36b7b4._0x39c367),_0x48e382(0x3a9,_0x36b7b4._0xf74f40,0x50a,_0x36b7b4._0x57a8a4));const _0x2f001f=_0x33648d[_0x34f54d(_0x36b7b4._0x5d770c,_0x36b7b4._0x4f64d8,0x56b,_0x36b7b4._0x41c2cc)]('\x0a'),_0x5deec9=[];function _0x48e382(_0x163d4d,_0x2f8bc1,_0x2452af,_0x377c1b){return _0x4a0aa5(_0x163d4d,_0x2452af- -0xf6,_0x2452af-_0x508391._0x3b8010,_0x377c1b-_0x508391._0x3fdf2b);}const _0x1f3212=_0x2a3f7b=>{if(_0x5deec9[_0x29851e(0x7f4,_0x45fde3._0x4e9cb0,0x79f,_0x45fde3._0x185f58)]>=MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x29851e(0x4c6,_0x45fde3._0x5f25a3,_0x45fde3._0x2d93de,_0x45fde3._0x36dd81),_0x29851e(_0x45fde3._0xcf4117,0x3e8,_0x45fde3._0x228c89,_0x45fde3._0xe092db)+MAX_ANCHORED_OPERATIONS+'\x20operations\x20are\x20allowed\x20per\x20patch.');function _0x3490f2(_0x4b81a4,_0x4c59d3,_0x45246b,_0x415f0a){return _0x34f54d(_0x4b81a4-0x6c,_0x4c59d3- -0x117,_0x45246b,_0x415f0a-0xe7);}function _0x29851e(_0x3b61a6,_0x3051bb,_0x83902b,_0xdfbde2){return _0x34f54d(_0x3b61a6-0x8e,_0x3051bb- -_0x59f124._0x17b7ae,_0xdfbde2,_0xdfbde2-0x62);}_0x5deec9['push'](_0x2a3f7b);};let _0x4b9dca;function _0x34f54d(_0x6b8f4,_0x5e67be,_0x175c78,_0x37c6be){return _0x4a0aa5(_0x175c78,_0x5e67be-_0xc54495._0x19fcd9,_0x175c78-_0xc54495._0x4090a8,_0x37c6be-_0xc54495._0x2b56e6);}let _0x43b9a2,_0x227b3f=![],_0x1ecf14=![],_0xe6a96e,_0x11c4d6,_0x4f7792=0x0,_0x4d5d1c=0x0,_0x30d636=[];const _0x1f6964=()=>{const _0x25f79e={_0x6d70e9:0x1a1},_0x3474aa={_0x49a12e:0x14f,_0x8273f6:0xb8};if(!_0x1ecf14)return;if(_0x30d636[_0x9d526c(0x3f4,_0x240d27._0x371ffc,_0x240d27._0x5bceb3,_0x240d27._0x4446fb)]===0x0)throw createAnchoredFileError(_0x1f44fa(0x2e,-_0x240d27._0x2ed93f,_0x240d27._0x1896f2,-_0x240d27._0x4094e7),_0x1f44fa(_0x240d27._0x11308d,0x28e,_0x240d27._0x435d68,-0x2a));function _0x9d526c(_0x231557,_0x2ea459,_0x1f62ff,_0x516fc5){return _0x34f54d(_0x231557-_0x3474aa._0x49a12e,_0x2ea459- -0x414,_0x231557,_0x516fc5-_0x3474aa._0x8273f6);}const _0x231610=_0x30d636[_0x9d526c(_0x240d27._0x3bd091,0x29a,_0x240d27._0x40918b,_0x240d27._0x260094)]('\x0a');_0xe6a96e===_0x1f44fa(-_0x240d27._0x1d8241,-_0x240d27._0x38db55,-_0x240d27._0x64d500,_0x240d27._0x225389)?_0x1f3212({'operation':'replace','startLine':_0x4f7792,'endLine':_0x4d5d1c,'content':_0x231610}):_0x1f3212({'operation':'insert','position':_0x11c4d6,'line':_0x4f7792,'content':_0x231610});_0x1ecf14=![];function _0x1f44fa(_0x4fcacb,_0x2d0aaa,_0x575236,_0x1a9193){return _0x48e382(_0x2d0aaa,_0x2d0aaa-0x1ae,_0x4fcacb- -0x2c7,_0x1a9193-_0x25f79e._0x6d70e9);}_0x30d636=[];};for(const _0xabf87d of _0x2f001f){if(_0xabf87d[_0x48e382(0x536,_0x36b7b4._0x143e91,_0x36b7b4._0x11829f,_0x36b7b4._0x119e21)]===0x0)continue;if(_0x1ecf14&&_0xabf87d['startsWith']('+')){_0x30d636[_0x34f54d(0x68c,0x53f,0x5e2,_0x36b7b4._0x7355f0)](_0xabf87d[_0x34f54d(_0x36b7b4._0x2ec635,_0x36b7b4._0x35248c,_0x36b7b4._0x1df577,_0x36b7b4._0x47c87a)](0x1));continue;}_0x1f6964();if(!_0x227b3f){const _0x53164b=HEADER[_0x48e382(0x4c7,0x4e0,_0x36b7b4._0x427727,_0x36b7b4._0x201eec)](_0xabf87d);if(_0x53164b===null)throw createAnchoredFileError(_0x34f54d(0x618,0x56c,_0x36b7b4._0x39c297,0x575),_0x48e382(_0x36b7b4._0x719426,0x279,_0x36b7b4._0x4285d4,_0x36b7b4._0x5b3415));_0x4b9dca=_0x53164b[0x1],_0x43b9a2=_0x53164b[0x2],_0x227b3f=!![];continue;}const _0x5b67cb=REPLACE[_0x48e382(0x45f,0x14e,_0x36b7b4._0x427727,0x230)](_0xabf87d);if(_0x5b67cb!==null){const _0x254b6d=requireLineNumber(_0x5b67cb[0x1],_0x48e382(0x2e7,_0x36b7b4._0xbff54c,_0x36b7b4._0x585fb6,0x31d)),_0x205319=requireLineNumber(_0x5b67cb[0x2],_0x48e382(_0x36b7b4._0x56e579,_0x36b7b4._0x42b4fe,0x3a0,0x22b));if(_0x254b6d>_0x205319)throw createAnchoredFileError(_0x34f54d(0x6b7,_0x36b7b4._0x289dc5,_0x36b7b4._0x1a5b5a,0x419),'replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x1ecf14=!![],_0xe6a96e=_0x48e382(0x21c,0x53,0x24e,_0x36b7b4._0x386748),_0x4f7792=_0x254b6d,_0x4d5d1c=_0x205319,_0x30d636=[];continue;}const _0x374b08=INSERT[_0x48e382(0x34a,0x4c3,0x34d,0x44f)](_0xabf87d);if(_0x374b08!==null){const _0x128d26=requireLineNumber(_0x374b08[0x2],_0x48e382(_0x36b7b4._0xed169a,0x2b1,_0x36b7b4._0x4e8e72,0x2c1));_0x1ecf14=!![],_0xe6a96e='insert',_0x11c4d6=_0x374b08[0x1]==='<'?_0x48e382(_0x36b7b4._0x5221b5,0x475,0x2eb,_0x36b7b4._0x5d99c8):_0x48e382(_0x36b7b4._0x513950,0x615,_0x36b7b4._0x1398a0,0x617),_0x4f7792=_0x128d26,_0x30d636=[];continue;}const _0x429149=DELETE[_0x34f54d(0x5e0,_0x36b7b4._0x576cfd,_0x36b7b4._0xd445f7,0x633)](_0xabf87d);if(_0x429149!==null){const _0x49bf4b=requireLineNumber(_0x429149[0x1],_0x34f54d(0x877,0x806,_0x36b7b4._0x2c3700,0x7f8)),_0xccf6b=requireLineNumber(_0x429149[0x2],'delete\x20endLine');if(_0x49bf4b>_0xccf6b)throw createAnchoredFileError('invalid_patch',_0x34f54d(0x8cb,_0x36b7b4._0x2805b9,_0x36b7b4._0x65ad6,_0x36b7b4._0x2977fb));_0x1f3212({'operation':'delete','startLine':_0x49bf4b,'endLine':_0xccf6b});continue;}throw createAnchoredFileError(_0x34f54d(_0x36b7b4._0x12b1d7,0x56c,_0x36b7b4._0x4afc98,_0x36b7b4._0x424a4b),'Unsupported\x20Hashline\x20row:\x20'+preview(_0xabf87d));}_0x1f6964();if(!_0x227b3f)throw createAnchoredFileError('invalid_patch',_0x48e382(_0x36b7b4._0x10c4c3,0x254,0x432,0x452));if(_0x5deec9[_0x34f54d(0x72e,0x82a,_0x36b7b4._0x7431e2,0x744)]===0x0)throw createAnchoredFileError(_0x34f54d(0x5d8,_0x36b7b4._0x37a2d2,_0x36b7b4._0x10e836,0x5f1),_0x48e382(0x2b9,_0x36b7b4._0x48113b,0x37b,_0x36b7b4._0x40a684));return{'filePath':_0x4b9dca,'tag':_0x43b9a2,'operations':_0x5deec9,'dryRun':_0x4e561b[_0x48e382(_0x36b7b4._0x1dc090,0x65e,_0x36b7b4._0x5db3d5,0x536)]??![],..._0x4e561b[_0x48e382(0x4fc,0x75d,0x64c,0x4c0)]!==void 0x0?{'description':_0x4e561b[_0x34f54d(_0x36b7b4._0x150f1a,0x8c3,_0x36b7b4._0x26eb8b,0x9c1)]}:{}};}import{realpath,stat}from'fs/promises';import*as _0xda822b from'path';function isPathInside(_0x2c6b52,_0x5cdb82){const _0x47520b={_0x2bb251:0x2bf,_0x2aa14b:0x671,_0x5ecb35:0x3c9,_0x4e892b:0x577,_0x18c02c:0x4cf,_0xce1439:0x485},_0x511f92={_0x1238f9:0x173,_0x31b479:0x10a,_0x510d60:0x157},_0x39b3f1={_0x3929ef:0x1ce,_0x2340b3:0x1c2};function _0x3982d7(_0x21cdff,_0x157be3,_0x33e890,_0x3e9359){return _0x38b1c5(_0x21cdff-_0x39b3f1._0x3929ef,_0x157be3-_0x39b3f1._0x2340b3,_0x33e890- -0x21f,_0x3e9359);}const _0x549e34=_0xda822b['resolve'](_0x2c6b52),_0x434f73=_0xda822b[_0x3d427e(_0x47520b._0x2bb251,0x2cd,0x123,0x3c2)](_0x549e34,_0x5cdb82);function _0x3d427e(_0x347768,_0x36cb24,_0x154336,_0x118ebb){return _0x4a0aa5(_0x154336,_0x36cb24- -_0x511f92._0x1238f9,_0x154336-_0x511f92._0x31b479,_0x118ebb-_0x511f92._0x510d60);}return _0x434f73===''||!_0x434f73[_0x3982d7(_0x47520b._0x2aa14b,_0x47520b._0x5ecb35,_0x47520b._0x4e892b,0x727)]('..')&&!_0xda822b[_0x3982d7(0x2e6,0x39c,_0x47520b._0x18c02c,_0x47520b._0xce1439)](_0x434f73);}function resolveWorkspacePath(_0x3f10b7,_0x2a5590){return resolveAllowedPath(_0x3f10b7,[],_0x2a5590);}function resolveAllowedPath(_0x4d379f,_0x3e405a,_0x52d370){const _0x2bdc46={_0xed0bb8:0x26a,_0x581c52:0x307,_0x45c83a:0x220,_0x5dbe37:0x310,_0x5331b3:0x3b7,_0x1502bc:0x2db,_0xfe9ae4:0x6ad,_0x4dd49f:0x353,_0xf106fe:0x4ab},_0x2260e2={_0x36d108:0x1a3,_0x431121:0x114},_0x17d783={_0x5ae553:0x199},_0x152d39=_0xda822b[_0x5643cb(_0x2bdc46._0xed0bb8,0x115,_0x2bdc46._0x581c52,0x2a9)](_0x4d379f);function _0x5643cb(_0xe73a3,_0x1b2d43,_0x324bb6,_0x1b53ff){return _0x4a0aa5(_0xe73a3,_0x324bb6- -_0x17d783._0x5ae553,_0x324bb6-0x94,_0x1b53ff-0x1ee);}const _0xf5f5fc=_0xda822b[_0x3d2ad8(0x47f,_0x2bdc46._0x45c83a,0x41e,_0x2bdc46._0x5dbe37)](_0x152d39,_0x52d370),_0x13ec6b=[_0x152d39,..._0x3e405a[_0x3d2ad8(0x331,0x2e1,_0x2bdc46._0x5331b3,0x451)](_0xba0b4b=>_0xda822b[_0x5643cb(0x4a1,0x2dd,0x307,0x421)](_0xba0b4b))];function _0x3d2ad8(_0x1f7c8b,_0x167d60,_0x4fabed,_0x2f316f){return _0x38b1c5(_0x1f7c8b-_0x2260e2._0x36d108,_0x167d60-_0x2260e2._0x431121,_0x2f316f- -0x24e,_0x167d60);}if(_0x13ec6b[_0x3d2ad8(_0x2bdc46._0x1502bc,_0x2bdc46._0xfe9ae4,_0x2bdc46._0x4dd49f,_0x2bdc46._0xf106fe)](_0x908ea3=>isPathInside(_0x908ea3,_0xf5f5fc)))return _0xf5f5fc;throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x52d370,{'path':_0x52d370,'rootDir':_0x152d39,'allowedDirs':_0x13ec6b});}async function resolveCanonicalAllowedFile(_0x35c5e2,_0x54634c,_0x45891e){const _0x5b4094={_0x2837e4:0x17e,_0x1192ad:0x418,_0x3cf4ce:0x3ec,_0x37deb4:0x3a0,_0x38509f:0x45e,_0x448bae:0x31d,_0xa9be95:0x1a6},_0x2aa115={_0x364c62:0x193,_0x332229:0x5da},_0x172f21={_0x28e315:0x39e},_0x39429b=resolveAllowedPath(_0x35c5e2,_0x54634c,_0x45891e),_0x89e14d=await realpath(_0x39429b);function _0x5d8fa0(_0x35d0d3,_0x227f6a,_0x3b5bc9,_0x535182){return _0x38b1c5(_0x35d0d3-0x73,_0x227f6a-0x15d,_0x35d0d3- -_0x172f21._0x28e315,_0x535182);}const _0x2ec4cb=[];for(const _0x5d2eb9 of[_0x35c5e2,..._0x54634c]){try{_0x2ec4cb['push'](await realpath(_0x5d2eb9));}catch{}}if(!_0x2ec4cb[_0xce905a(0x11f,-0x1e,-0x31,_0x5b4094._0x2837e4)](_0x2b9ebb=>isPathInside(_0x2b9ebb,_0x89e14d)))throw new ToolExecutionError(_0x5d8fa0(_0x5b4094._0x1192ad,_0x5b4094._0x3cf4ce,_0x5b4094._0x1192ad,0x367)+_0x45891e,{'path':_0x45891e,'lexicalPath':_0x39429b,'canonicalPath':_0x89e14d,'allowedDirs':_0x2ec4cb});function _0xce905a(_0x4dcd94,_0x2c01f0,_0x28dbcd,_0x3fd6eb){return _0x38b1c5(_0x4dcd94-0xcf,_0x2c01f0-_0x2aa115._0x364c62,_0x4dcd94- -_0x2aa115._0x332229,_0x2c01f0);}const _0x2778e8=await stat(_0x89e14d);if(!_0x2778e8[_0x5d8fa0(_0x5b4094._0x37deb4,_0x5b4094._0x38509f,0x23b,_0x5b4094._0x448bae)]())throw new ToolExecutionError(_0x5d8fa0(_0x5b4094._0xa9be95,0x266,0x1ad,0x1cc)+_0x45891e,{'path':_0x45891e,'lexicalPath':_0x39429b,'canonicalPath':_0x89e14d});return{'authoredPath':_0x45891e,'lexicalPath':_0x39429b,'canonicalPath':_0x89e14d};}function _0x4a0aa5(_0x409b69,_0x4e16c7,_0x177aca,_0x3d46a6){return _0x3233(_0x4e16c7-0x1eb,_0x409b69);}async function assertWorkspaceFile(_0x2a4fbd){const _0x2dc87c={_0x511d30:0x4bf,_0x503eaa:0x62b,_0x10444d:0x522},_0x4f497a={_0x4c2ad2:0x1a5};function _0x42a575(_0x37ff83,_0x15b493,_0x245e88,_0x51406d){return _0x4a0aa5(_0x245e88,_0x15b493-_0x4f497a._0x4c2ad2,_0x245e88-0xf,_0x51406d-0x164);}const _0x4c1c0d=await stat(_0x2a4fbd);if(!_0x4c1c0d['isFile']())throw new ToolExecutionError(_0x42a575(_0x2dc87c._0x511d30,_0x2dc87c._0x503eaa,0x6a4,_0x2dc87c._0x10444d)+_0x2a4fbd,{'path':_0x2a4fbd});}function isProbablyBinary(_0x44516e){const _0x12d110={_0x168d39:0xa3,_0x226bc5:0x84},_0x11ebfc={_0x27f587:0xa,_0x3d96da:0x53e};function _0xe1123b(_0x3ecb60,_0x185630,_0x463dd8,_0x429bc3){return _0x38b1c5(_0x3ecb60-0xb7,_0x185630-_0x11ebfc._0x27f587,_0x185630- -_0x11ebfc._0x3d96da,_0x429bc3);}return _0x44516e[_0xe1123b(-0x80,-_0x12d110._0x168d39,-_0x12d110._0x226bc5,-0x2d)](0x0);}var MAX_ANCHORED_PREVIEW_BYTES=0x100*0x400,defaultFileSystem2={'readFile':_0x757a9e=>_0x59f544(_0x757a9e),'stat':_0x22c8ef=>_0xe88ecb(_0x22c8ef),'atomicWrite':(_0x57c44a,_0x3fd33e,_0x32c847)=>atomicReplaceFile(_0x57c44a,_0x3fd33e,_0x32c847)};function parseAnchoredInput(_0x4cb1c8,_0x53d678){const _0x2aecb0={_0x36c93f:0x17c},_0x34d17b={_0x12107e:0xac};function _0x20d9bc(_0x53a0b8,_0x5173ab,_0x52765e,_0xfa7e55){return _0x4a0aa5(_0x5173ab,_0x53a0b8- -0x4bd,_0x52765e-_0x34d17b._0x12107e,_0xfa7e55-0x13c);}if(_0x4cb1c8===_0x20d9bc(-0x20,0x10f,-0x140,-_0x2aecb0._0x36c93f))return parseHashlineFileEditInput(_0x53d678);return parseStructuredFileEditInput(_0x53d678);}function _0x3233(_0x31e67f,_0x46a75b){_0x31e67f=_0x31e67f-0x13f;const _0x26f692=_0x26f6();let _0x323361=_0x26f692[_0x31e67f];if(_0x3233['mZObfw']===undefined){var _0x50f1a4=function(_0x43daa3){const _0x44ffa8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x467c4b='',_0x569f7b='';for(let _0x49562f=0x0,_0x19950e,_0x3190db,_0x1eeed8=0x0;_0x3190db=_0x43daa3['charAt'](_0x1eeed8++);~_0x3190db&&(_0x19950e=_0x49562f%0x4?_0x19950e*0x40+_0x3190db:_0x3190db,_0x49562f++%0x4)?_0x467c4b+=String['fromCharCode'](0xff&_0x19950e>>(-0x2*_0x49562f&0x6)):0x0){_0x3190db=_0x44ffa8['indexOf'](_0x3190db);}for(let _0x453236=0x0,_0xc76b49=_0x467c4b['length'];_0x453236<_0xc76b49;_0x453236++){_0x569f7b+='%'+('00'+_0x467c4b['charCodeAt'](_0x453236)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x569f7b);};_0x3233['ifLRIh']=_0x50f1a4,_0x3233['tsfuLb']={},_0x3233['mZObfw']=!![];}const _0x48a05e=_0x26f692[0x0],_0xb4097f=_0x31e67f+_0x48a05e,_0x2285aa=_0x3233['tsfuLb'][_0xb4097f];return!_0x2285aa?(_0x323361=_0x3233['ifLRIh'](_0x323361),_0x3233['tsfuLb'][_0xb4097f]=_0x323361):_0x323361=_0x2285aa,_0x323361;}function stableStringify2(_0x5b621e){const _0x228902={_0x4e45b1:0x308,_0xb0d1e5:0x3c3,_0x1f5f22:0x2c,_0xb43673:0xd2,_0x59dca0:0x3f,_0x33520b:0x8f1,_0x19b869:0x9ea,_0x54e89e:0x870,_0x4edb91:0x1d,_0x3bdb7a:0x5ae,_0x48dffb:0x6e0,_0x49ca21:0x6ef,_0x47c6c3:0x1a7,_0x4cbd98:0x174,_0x1592c6:0x40,_0x169bbf:0x183},_0x6ae6bc={_0x568686:0x5a},_0x313494={_0x4d9ebc:0x11};function _0x292b0a(_0xe007d9,_0x1ca113,_0x2fda43,_0x3fe46e){return _0x38b1c5(_0xe007d9-0x177,_0x1ca113-_0x313494._0x4d9ebc,_0x1ca113-0xf5,_0x3fe46e);}if(Array[_0x454b65(0xe2,0x2c0,0x101,_0x228902._0x4e45b1)](_0x5b621e))return'['+_0x5b621e[_0x454b65(0x22e,_0x228902._0xb0d1e5,0x1da,-_0x228902._0x1f5f22)](stableStringify2)[_0x454b65(0x259,0x136,0x126,0x265)](',')+']';function _0x454b65(_0x23dba7,_0xf96534,_0x4b724d,_0x5cee65){return _0x38b1c5(_0x23dba7-_0x6ae6bc._0x568686,_0xf96534-0x103,_0x4b724d- -0x4c5,_0x5cee65);}if(_0x5b621e!==null&&typeof _0x5b621e===_0x454b65(0x1fd,-_0x228902._0xb43673,0x129,-_0x228902._0x59dca0)){const _0x296157=_0x5b621e;return'{'+Object[_0x454b65(0x196,0x247,0x232,0x200)](_0x296157)[_0x292b0a(_0x228902._0x33520b,0x903,_0x228902._0x19b869,_0x228902._0x54e89e)]()[_0x454b65(-_0x228902._0x4edb91,0x2ae,0x1da,0xff)](_0x260abf=>JSON['stringify'](_0x260abf)+':'+stableStringify2(_0x296157[_0x260abf]))[_0x292b0a(_0x228902._0x3bdb7a,_0x228902._0x48dffb,_0x228902._0x49ca21,0x670)](',')+'}';}return JSON[_0x454b65(_0x228902._0x47c6c3,_0x228902._0x4cbd98,_0x228902._0x1592c6,-_0x228902._0x169bbf)](_0x5b621e);}function normalizeOperationContent(_0x5d6ed5){const _0x2bec37={_0x2d6c80:0x33b,_0x954848:0x2ca,_0x2e63ea:0x3b1,_0x403003:0x23d,_0x3e0687:0x22f,_0x76bc27:0x3cb,_0x54e912:0x1be,_0x2fba07:0x67,_0xdaa0b0:0xf7,_0x1ec76d:0x5a2,_0x25655a:0x436,_0x4b8dd6:0x31c},_0x3bacf2={_0x5bf7a8:0xae};if(_0x5d6ed5[_0x393f5d(_0x2bec37._0x2d6c80,0x455,_0x2bec37._0x954848,_0x2bec37._0x2e63ea)]===_0x33ed38(-_0x2bec37._0x403003,-_0x2bec37._0x3e0687,-_0x2bec37._0x76bc27,-_0x2bec37._0x54e912)||_0x5d6ed5['operation']===_0x33ed38(-0x2c2,-_0x2bec37._0x2fba07,-0x13c,-_0x2bec37._0xdaa0b0))return{..._0x5d6ed5,'content':_0x5d6ed5[_0x393f5d(0x494,_0x2bec37._0x1ec76d,0x7a9,_0x2bec37._0x25655a)][_0x33ed38(-_0x2bec37._0x4b8dd6,-0x97,-0x29d,-0x1be)](/\r\n/g,'\x0a')};function _0x393f5d(_0x3208eb,_0x396f3c,_0x202549,_0x2c7770){return _0x4a0aa5(_0x2c7770,_0x396f3c-0xdb,_0x202549-_0x3bacf2._0x5bf7a8,_0x2c7770-0xbc);}function _0x33ed38(_0x4c3122,_0x46b93d,_0x135512,_0x246bee){return _0x4a0aa5(_0x4c3122,_0x246bee- -0x502,_0x135512-0xa8,_0x246bee-0x126);}return _0x5d6ed5;}function computePayloadDigest(_0x21ce0b){const _0x5e3cd0={_0x452ecd:0x6eb,_0x5dd8ce:0x571,_0x43a5ac:0x828,_0x1571da:0x7b6},_0x450fce={_0x1750dd:0xfd,_0x36083d:0x8b};function _0x4f48de(_0x5a7738,_0x421672,_0x35bef3,_0x3d9d4d){return _0x38b1c5(_0x5a7738-_0x450fce._0x1750dd,_0x421672-_0x450fce._0x36083d,_0x5a7738-0x4c,_0x35bef3);}return sha256Bytes(stableStringify2(_0x21ce0b[_0x4f48de(_0x5e3cd0._0x452ecd,_0x5e3cd0._0x5dd8ce,_0x5e3cd0._0x43a5ac,_0x5e3cd0._0x1571da)](normalizeOperationContent)));}function collectRequiredLines(_0x159902){const _0x5593e9={_0x4474dd:0x12c,_0x58444c:0x134,_0x8d935a:0x363,_0x3e5ae7:0x53d,_0x42389a:0x32f,_0x26e5f8:0x2ce,_0x5f3dd8:0x5e3,_0x5e78ad:0x2c6,_0x5b26ba:0x37c,_0x53fea5:0x417,_0x32b1a2:0x5ff,_0x21f6df:0x5d4},_0x2e3d75={_0x256387:0xb},_0x52885d={_0x5bde75:0xa0,_0x1dcc84:0x19f};function _0x2b28d4(_0xa160c4,_0x20a3f3,_0x10d082,_0x3a327c){return _0x38b1c5(_0xa160c4-_0x52885d._0x5bde75,_0x20a3f3-_0x52885d._0x1dcc84,_0x10d082- -0x31c,_0x3a327c);}const _0x22dcc1=new Set();function _0x75ded3(_0x1f921d,_0x3f941d,_0x4c2145,_0x3da331){return _0x4a0aa5(_0x4c2145,_0x3da331- -0x17c,_0x4c2145-0x1c5,_0x3da331-_0x2e3d75._0x256387);}for(const _0x4bb36a of _0x159902){if(_0x4bb36a[_0x2b28d4(_0x5593e9._0x4474dd,0x2c,0x11c,_0x5593e9._0x58444c)]===_0x75ded3(0x92,0x27d,0xaf,0x28f))_0x22dcc1[_0x75ded3(0x47f,0x4f2,0x427,_0x5593e9._0x8d935a)](_0x4bb36a[_0x2b28d4(0x3c4,_0x5593e9._0x3e5ae7,0x391,_0x5593e9._0x42389a)]);else for(let _0x5a0d49=_0x4bb36a[_0x75ded3(0x294,_0x5593e9._0x26e5f8,_0x5593e9._0x5f3dd8,0x440)];_0x5a0d49<=_0x4bb36a[_0x75ded3(0x53b,0x1b5,_0x5593e9._0x5e78ad,_0x5593e9._0x5b26ba)];_0x5a0d49+=0x1){_0x22dcc1['add'](_0x5a0d49);}}return[..._0x22dcc1][_0x75ded3(_0x5593e9._0x53fea5,_0x5593e9._0x32b1a2,0x664,_0x5593e9._0x21f6df)]((_0x16ee49,_0x3cae52)=>_0x16ee49-_0x3cae52);}async function resolveEditTarget(_0x5f24f4,_0x21ab10,_0x31d1ff){const _0x3ea468={_0x2669c9:0x7ba,_0x32fd0c:0x5d2,_0x3644bc:0x6d8,_0x23e8c5:0x618,_0x13fc4c:0x710,_0x3cf5eb:0x6a3,_0x1d3a44:0x619,_0x2db638:0x5fd,_0x586cde:0x766,_0x48fec4:0x639},_0x50b984={_0x44c3ce:0x9d,_0x58c391:0xc5,_0x2de093:0xe2},_0x349097={_0x544d2a:0x16a,_0x733e63:0x5f};function _0x5d8e94(_0x4869df,_0x50f921,_0x2e8e22,_0x5565c2){return _0x38b1c5(_0x4869df-_0x349097._0x544d2a,_0x50f921-0x66,_0x50f921- -_0x349097._0x733e63,_0x4869df);}function _0x1b159b(_0x223f01,_0xac785b,_0xf1c206,_0x34f30e){return _0x4a0aa5(_0x34f30e,_0xac785b-_0x50b984._0x44c3ce,_0xf1c206-_0x50b984._0x58c391,_0x34f30e-_0x50b984._0x2de093);}try{return await resolveCanonicalAllowedFile(_0x5f24f4,_0x21ab10,_0x31d1ff);}catch(_0x1a2b42){if(_0x1a2b42 instanceof ToolExecutionError)throw _0x1a2b42;const _0x3c8684=_0x1a2b42 instanceof Error?_0x1a2b42[_0x1b159b(_0x3ea468._0x2669c9,_0x3ea468._0x32fd0c,0x54a,_0x3ea468._0x3644bc)]:String(_0x1a2b42);throw createAnchoredFileError(_0x1b159b(_0x3ea468._0x23e8c5,0x743,0x89e,_0x3ea468._0x13fc4c),_0x1b159b(0x507,_0x3ea468._0x3cf5eb,0x597,_0x3ea468._0x1d3a44)+_0x31d1ff+'\x20for\x20an\x20anchored\x20edit\x20('+_0x3c8684+_0x5d8e94(_0x3ea468._0x2db638,_0x3ea468._0x586cde,_0x3ea468._0x48fec4,0x8ac),{'path':_0x31d1ff});}}async function readLiveSnapshot(_0x39d404,_0x1381d6){const _0xb05577={_0x2a6348:0x3,_0x49c4cb:0x4a4,_0x201210:0x79},_0x4485b3={_0x1a278d:0x1e6};let _0x46581c;function _0x1a0a7f(_0x4e7c76,_0x1fa481,_0xc23b6,_0x539457){return _0x38b1c5(_0x4e7c76-0x7a,_0x1fa481-0x108,_0x539457- -0x5f0,_0xc23b6);}try{_0x46581c=await _0x59f544(_0x39d404);}catch(_0x1b48a5){const _0x45da4b=_0x1b48a5 instanceof Error?_0x1b48a5[_0x1a0a7f(-0xd9,0x169,-0x16a,_0xb05577._0x2a6348)]:String(_0x1b48a5);throw createAnchoredFileError(_0x3ff2aa(_0xb05577._0x49c4cb,0x7dc,0x4e4,0x60e),_0x1a0a7f(-0x5b,0x1cf,-0x76,0xd4)+_0x1381d6+_0x1a0a7f(0x77,-0x173,-0x26b,-_0xb05577._0x201210)+_0x45da4b+');\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x1381d6});}function _0x3ff2aa(_0x5b23cd,_0x46cfbd,_0x49fe7e,_0x14c132){return _0x38b1c5(_0x5b23cd-_0x4485b3._0x1a278d,_0x46cfbd-0xcf,_0x14c132- -0x156,_0x5b23cd);}return createNormalizedFileSnapshot(_0x39d404,_0x46581c);}function staleSnapshotMessageText(_0x1155b8,_0x5c3c00){const _0x1598ba={_0xe369f9:0x1b5,_0x454d3c:0x32b,_0x317594:0x226,_0x58321b:0x3e9,_0x12c8d2:0x182,_0x390440:0x370,_0x4bbe6b:0x13f,_0xe4665:0x24b},_0x3a859c={_0x41dc3c:0x79,_0x40075d:0x101};function _0x489544(_0x2bd0a0,_0x485af6,_0x22964c,_0x3aa79e){return _0x4a0aa5(_0x485af6,_0x2bd0a0- -0x2dc,_0x22964c-0x199,_0x3aa79e-0x118);}function _0x338f74(_0x47a291,_0x38a4a2,_0x2e1f94,_0x45813c){return _0x38b1c5(_0x47a291-_0x3a859c._0x41dc3c,_0x38a4a2-_0x3a859c._0x40075d,_0x45813c- -0x633,_0x38a4a2);}return{'reasonLine':_0x489544(_0x1598ba._0xe369f9,_0x1598ba._0x454d3c,0x74,_0x1598ba._0x317594)+_0x5c3c00+'\x20was\x20read.','guidance':_0x489544(0x1ec,_0x1598ba._0x58321b,0x31c,0x1ca)+_0x1155b8+_0x489544(_0x1598ba._0x12c8d2,_0x1598ba._0x390440,_0x1598ba._0x4bbe6b,_0x1598ba._0xe4665)};}function unseenLinesMessageText(){const _0x1983db={_0x11d8fc:0x736,_0x421860:0x2e3,_0x9318b8:0x3f7},_0x2ea132={_0x5d628a:0x41,_0x3655c4:0x3e,_0x97a438:0x15c},_0x13aad4={_0xc8e585:0x1bc};function _0x20c7ab(_0x49a6de,_0xb4ebd,_0x1d05dc,_0x16ce70){return _0x4a0aa5(_0x49a6de,_0xb4ebd- -0x539,_0x1d05dc-0x169,_0x16ce70-_0x13aad4._0xc8e585);}function _0xbcec86(_0x409fe1,_0x17b402,_0x3d01d4,_0xdd095c){return _0x38b1c5(_0x409fe1-_0x2ea132._0x5d628a,_0x17b402-_0x2ea132._0x3655c4,_0xdd095c- -_0x2ea132._0x97a438,_0x17b402);}return{'reasonLine':_0xbcec86(0x7db,0x49a,_0x1983db._0x11d8fc,0x64a),'guidance':_0xbcec86(_0x1983db._0x421860,0x685,_0x1983db._0x9318b8,0x488)};}function noChangeMessageText(_0xae23ab,_0x27e441){const _0x5bb033={_0x268430:0x612,_0x4721a0:0x567,_0x44ed5a:0x67a,_0x477cf4:0x566,_0x23f56c:0x571,_0x37d530:0x3e2,_0x272dca:0x6d2},_0x4ff45a={_0x264b7f:0x7a,_0x51a99b:0x100};function _0x3e2a33(_0x283866,_0x5d31c9,_0x7a1b99,_0x501655){return _0x4a0aa5(_0x501655,_0x5d31c9-_0x4ff45a._0x264b7f,_0x7a1b99-0x1e8,_0x501655-_0x4ff45a._0x51a99b);}function _0x4b6059(_0x128743,_0x2ad91a,_0x2d4a5,_0x58e62b){return _0x38b1c5(_0x128743-0x69,_0x2ad91a-0x8f,_0x2d4a5- -0x7a,_0x128743);}const _0x40990a=_0x27e441>=0x3;return{'reasonLine':_0x4b6059(_0x5bb033._0x268430,0x54b,0x55f,0x3a5)+_0xae23ab+'\x20byte-identical.','guidance':_0x40990a?_0x4b6059(_0x5bb033._0x4721a0,_0x5bb033._0x44ed5a,_0x5bb033._0x477cf4,_0x5bb033._0x23f56c):_0x3e2a33(_0x5bb033._0x37d530,0x4ef,_0x5bb033._0x272dca,0x4d3)};}function buildRecoveryContext(_0x5708ed,_0x49dc9,_0x423a3a,_0x49de5c,_0x3907e7,_0x3168e7){const _0x4c1e2d={_0x1c283e:0x118,_0x22d67a:0xbf,_0x7f9977:0xa7,_0x105aef:0x6b9,_0x5b1fdd:0x84f,_0x5bf84f:0x8a4,_0x4ed232:0xa12,_0x4f90f9:0xf8,_0x17e7c7:0x302,_0x537513:0xec,_0x10a546:0x9de,_0x1b5ca2:0x7af,_0xd5715:0x891,_0x4abe04:0x79,_0x2b7f87:0x1a9,_0x2b494c:0x7c0,_0x1edb8d:0x72b,_0x46875c:0x23b,_0x39e0a8:0x3cf,_0x38c9cd:0x1e6,_0x4ffcc2:0x200,_0x221660:0x640,_0x334c76:0x7e6,_0x4571e2:0x7f8,_0x13d795:0x998,_0x14f146:0x6be,_0x460476:0x47c,_0x338e50:0x39b,_0x36e963:0x2a,_0xc2a2f1:0x1de,_0x48a025:0x16,_0x45d838:0x1c8,_0x561dc1:0x68c,_0x232ac0:0x719,_0x562af6:0x704},_0x3be4e1={_0x2b6413:0x2e,_0x3dab18:0x1c9},_0x584edb={_0xc30a74:0x34},_0x2a3613='['+_0x5708ed+'#'+_0x49dc9[_0x5e9a3e(-_0x4c1e2d._0x1c283e,0x15,_0x4c1e2d._0x22d67a,_0x4c1e2d._0x7f9977)]+']',_0x1a3eaf={'tag':_0x49dc9[_0x3c8da3(0x7e3,_0x4c1e2d._0x105aef,0x867,0x4be)],'digest':_0x49dc9[_0x3c8da3(0x55f,0x708,0x72b,_0x4c1e2d._0x5b1fdd)],'contextLines':[],'output':_0x3907e7+'\x0a'+_0x2a3613+'\x0a'+_0x3168e7},_0xee7fd0=_0x49dc9[_0x3c8da3(0x9de,0x883,_0x4c1e2d._0x5bf84f,_0x4c1e2d._0x4ed232)]['length'],_0x584011=[...new Set(_0x423a3a[_0x5e9a3e(-_0x4c1e2d._0x4f90f9,-_0x4c1e2d._0x17e7c7,-_0x4c1e2d._0x537513,-0x186)](_0x11af3e=>Number[_0x5e9a3e(-0x7b,0x3c,-0x99,0xb)](_0x11af3e)&&_0x11af3e>=0x1&&_0x11af3e<=_0xee7fd0))]['sort']((_0x31227f,_0x146727)=>_0x31227f-_0x146727);if(_0x584011[_0x3c8da3(_0x4c1e2d._0x10a546,0x7f8,_0x4c1e2d._0x1b5ca2,_0x4c1e2d._0xd5715)]===0x0)return _0x1a3eaf;const _0x2298f4=_0x584011[_0x584011[_0x5e9a3e(_0x4c1e2d._0x4abe04,0x395,_0x4c1e2d._0x2b7f87,0x1e6)]-0x1]-_0x584011[0x0]+0x1;function _0x5e9a3e(_0x577102,_0x58fafe,_0x3496da,_0x35ebeb){return _0x38b1c5(_0x577102-_0x584edb._0xc30a74,_0x58fafe-0xfa,_0x35ebeb- -0x581,_0x3496da);}if(_0x2298f4>0x14)return _0x1a3eaf;for(const _0x305b7a of _0x584011){if(!isWithinDisplayColumns(_0x49dc9[_0x3c8da3(_0x4c1e2d._0x2b494c,0x883,_0x4c1e2d._0x1edb8d,0x9b4)][_0x305b7a-0x1],0x200))return _0x1a3eaf;}const _0x12de50=formatAnchoredFileRead({'displayPath':_0x5708ed,'snapshot':_0x49dc9,'lineStart':_0x584011[0x0],'lineEnd':_0x584011[_0x584011[_0x5e9a3e(0x5e,_0x4c1e2d._0x46875c,_0x4c1e2d._0x39e0a8,_0x4c1e2d._0x38c9cd)]-0x1],'maxBytes':_0x49de5c});if(_0x12de50[_0x5e9a3e(0x9b,-_0x4c1e2d._0x4ffcc2,0x43,-0x92)]||_0x12de50[_0x3c8da3(0x546,0x703,_0x4c1e2d._0x221660,0x52a)][_0x3c8da3(_0x4c1e2d._0x334c76,_0x4c1e2d._0x4571e2,_0x4c1e2d._0x13d795,0x83f)]===0x0)return _0x1a3eaf;const _0x13a977=_0x3907e7+'\x0a'+_0x12de50['output'][_0x3c8da3(_0x4c1e2d._0x14f146,0x61f,0x811,_0x4c1e2d._0x460476)]()+'\x0a'+_0x3168e7;function _0x3c8da3(_0x1d9fa8,_0x4dab03,_0x39d805,_0x1c6c0c){return _0x4a0aa5(_0x1c6c0c,_0x4dab03-0x14f,_0x39d805-_0x3be4e1._0x2b6413,_0x1c6c0c-_0x3be4e1._0x3dab18);}if(Buffer[_0x5e9a3e(0xde,0xf8,_0x4c1e2d._0x338e50,0x25d)](_0x13a977,_0x5e9a3e(-_0x4c1e2d._0x36e963,-0x20a,_0x4c1e2d._0xc2a2f1,-_0x4c1e2d._0x48a025))>_0x49de5c)return _0x1a3eaf;return{'tag':_0x49dc9[_0x5e9a3e(_0x4c1e2d._0x45d838,0xb0,0x238,0xa7)],'digest':_0x49dc9[_0x3c8da3(_0x4c1e2d._0x561dc1,0x708,_0x4c1e2d._0x232ac0,_0x4c1e2d._0x562af6)],'contextLines':[..._0x12de50['displayedLines']],'output':_0x13a977};}function assertPreviewWithinBounds(_0x1b30bd,_0x348d05,_0x469e81){const _0x3e6cdd={_0xf35dfe:0x282,_0x4b4f67:0x13e,_0x35e494:0x296,_0x4f7268:0xa7,_0x227f98:0xd9},_0x386012={_0x4dcc42:0x4d9},_0x233adb=_0x1b30bd[_0x4cccfe(-0x16,-0x1b6,-0xa8,-_0x3e6cdd._0xf35dfe)]((_0x15b797,_0x16523f)=>_0x15b797+Buffer[_0x4cccfe(0x33c,0x421,0x323,0x1b8)](_0x16523f[_0x84d6a7(0x115,-0x47,-0x1da,-0x1b3)],'utf8')+Buffer[_0x84d6a7(0x25e,0x305,0x1ef,0x308)](_0x16523f['newText'],'utf8'),0x0);function _0x4cccfe(_0x296f69,_0x5ea172,_0x578898,_0x31e12a){return _0x38b1c5(_0x296f69-0xdc,_0x5ea172-0x5a,_0x578898- -0x4bb,_0x31e12a);}function _0x84d6a7(_0x4269d5,_0x4b7539,_0x2161e8,_0x5561ca){return _0x38b1c5(_0x4269d5-0x187,_0x4b7539-0x1a1,_0x4b7539- -_0x386012._0x4dcc42,_0x2161e8);}if(_0x233adb>MAX_ANCHORED_PREVIEW_BYTES)throw createAnchoredFileError(_0x4cccfe(0x134,0xe,_0x3e6cdd._0x4b4f67,_0x3e6cdd._0x35e494),_0x4cccfe(_0x3e6cdd._0x4f7268,0x273,0x211,_0x3e6cdd._0x227f98)+_0x233adb+'\x20bytes,\x20exceeding\x20the\x20'+MAX_ANCHORED_PREVIEW_BYTES+_0x84d6a7(0x15c,0x180,0x289,0x12f),{'path':_0x469e81,'canonicalPath':_0x348d05,'previewBytes':_0x233adb});}function buildPreview(_0x54a1a0,_0x3d88f1,_0x572a69,_0x169589,_0x41c7e5){const _0x16f32a={_0x3bcd12:0x3be,_0x2fc890:0x3c8,_0x516bca:0x397,_0x5b3707:0x717,_0x55a3d8:0x46a,_0x2915a3:0x75b,_0x10de00:0x35c,_0x3c086b:0x22c,_0x31dc7f:0x60c,_0x13c10d:0x555,_0xaa5881:0x6fb,_0x2bf896:0xfc,_0xf3cad3:0x29b},_0x51920c={_0x4014c9:0x100,_0x2e144c:0x1ab};function _0xb1b614(_0x172ba7,_0x1b7adf,_0x5a53b8,_0x2bbf2c){return _0x4a0aa5(_0x5a53b8,_0x1b7adf-_0x51920c._0x4014c9,_0x5a53b8-0x16a,_0x2bbf2c-_0x51920c._0x2e144c);}function _0xf001e5(_0x37e0cf,_0x176cc2,_0x4bc1b0,_0x6eddd3){return _0x38b1c5(_0x37e0cf-0x67,_0x176cc2-0x56,_0x176cc2- -0x44b,_0x37e0cf);}return{'mode':_0x54a1a0,'filePath':_0x3d88f1[_0xf001e5(0x2d3,_0x16f32a._0x3bcd12,_0x16f32a._0x2fc890,_0x16f32a._0x516bca)],'canonicalPath':_0x572a69['canonicalPath'],'tag':_0x3d88f1['tag'],'digest':_0x169589[_0xb1b614(_0x16f32a._0x5b3707,0x63a,_0x16f32a._0x55a3d8,_0x16f32a._0x2915a3)][_0xf001e5(_0x16f32a._0x10de00,_0x16f32a._0x3c086b,0x34,0x2fb)],'operationCount':_0x41c7e5['operations']['length'],'operations':_0x41c7e5[_0xb1b614(_0x16f32a._0x31dc7f,0x61a,_0x16f32a._0x13c10d,_0x16f32a._0xaa5881)],'blocks':_0x41c7e5[_0xf001e5(0xd9,_0x16f32a._0x2bf896,_0x16f32a._0xf3cad3,0x1b0)]};}function buildResultText(_0xce0ff9,_0x3cb9a1,_0x8e350a,_0x3f769c,_0x243e3c){const _0xd79bec={_0xf3e949:0x3c5,_0x260808:0x345,_0x569c11:0x51b,_0x28232e:0x741,_0x39cdea:0x558,_0x428b65:0x3b2,_0x3033b7:0x6cf,_0x16cb49:0x76a,_0x18a20b:0x5d9,_0x19f335:0x219,_0x1c402b:0x2ef,_0x43eb1a:0x1f6},_0x2f65b1={_0x30b5c9:0x1a5},_0x11e233={_0x141c09:0x11f,_0xf313f0:0x14d},_0x17e013='['+_0xce0ff9+'#'+_0x3cb9a1[_0x312d2d(_0xd79bec._0xf3e949,_0xd79bec._0x260808,0x40f,0x27a)]+']\x0a'+_0x243e3c+'\x0a';let _0x45d677=Buffer[_0xb8d6fa(_0xd79bec._0x569c11,0x599,_0xd79bec._0x28232e,_0xd79bec._0x39cdea)](_0x17e013,_0xb8d6fa(0xfb,_0xd79bec._0x428b65,0x1fe,0x2e5));function _0xb8d6fa(_0x381d99,_0x24c19f,_0x8854f3,_0x36c58a){return _0x4a0aa5(_0x381d99,_0x36c58a- -0x1c8,_0x8854f3-_0x11e233._0x141c09,_0x36c58a-_0x11e233._0xf313f0);}const _0x324d1c=[],_0x2ac6b=[];function _0x312d2d(_0x373371,_0x8e1d,_0x2b7925,_0x311385){return _0x4a0aa5(_0x311385,_0x373371- -_0x2f65b1._0x30b5c9,_0x2b7925-0x70,_0x311385-0x18e);}for(const _0x430aa5 of _0x8e350a){const _0x1f6334=_0x430aa5+':'+(_0x3cb9a1['lines'][_0x430aa5-0x1]??'')+'\x0a',_0x19a582=Buffer[_0x312d2d(0x57b,_0xd79bec._0x3033b7,_0xd79bec._0x16cb49,_0xd79bec._0x18a20b)](_0x1f6334,'utf8');if(_0x45d677+_0x19a582>_0x3f769c)break;_0x324d1c[_0x312d2d(_0xd79bec._0x19f335,0x184,0x1ee,0x390)](_0x1f6334),_0x2ac6b[_0xb8d6fa(_0xd79bec._0x1c402b,0x207,0x1c1,_0xd79bec._0x43eb1a)](_0x430aa5),_0x45d677+=_0x19a582;}return{'output':''+_0x17e013+_0x324d1c['join'](''),'observedLines':_0x2ac6b};}function selectChangedContextLines(_0x1a511f,_0x3f302f,_0x597fe4){const _0x285689={_0xaaac77:0x443,_0x326195:0x3c1,_0x1b626a:0x2a9,_0x49a25e:0x6c2,_0x1ab455:0x638,_0x261fd6:0x853,_0x35676e:0x200,_0x16ea76:0x672,_0x31df2c:0x609,_0x4ccd0a:0x7b0,_0x3b47a8:0x781,_0x4c8af5:0x6a6,_0x2133cb:0x952,_0x2ea08e:0x112,_0x44865a:0x1cc,_0x1739ec:0x234,_0x2fc059:0x49f,_0xdeb095:0x850,_0x510f5a:0x3fd,_0x121817:0x441,_0x245c8b:0x2ff,_0x3a5107:0x161,_0x826fa1:0x2eb,_0x47dd09:0xa3,_0x528640:0xd8,_0x1189b3:0x242,_0x26436b:0x4bd,_0x2509e6:0x2cb,_0x3163f9:0x83b,_0x23c816:0x6f9,_0x53083a:0x9f8,_0x2741ea:0x3af,_0x778a59:0x3ae,_0x379892:0x1a8,_0x52f034:0x791,_0x392102:0x5ee,_0x58170b:0x8e0,_0x541a98:0x733,_0x4828ae:0x24c,_0x272217:0x642,_0x2d3e20:0x727,_0x348b86:0x61b,_0x4bc984:0x627,_0xe2f569:0x80a,_0x34694e:0x4e4},_0x529780={_0x4c3dbe:0x107,_0x34b5f9:0x10d,_0x1504b5:0x182},_0x5c57fe={_0xa4329a:0xcf},_0x26b5dc=new Set();function _0x5121a5(_0xd71b08,_0x39064b,_0x3a414a,_0x4333a2){return _0x4a0aa5(_0x3a414a,_0x4333a2- -0x337,_0x3a414a-0x16f,_0x4333a2-_0x5c57fe._0xa4329a);}function _0x2cba80(_0x5655ee,_0x2646a0,_0x3b23f6,_0x42d8c4){return _0x4a0aa5(_0x2646a0,_0x5655ee-_0x529780._0x4c3dbe,_0x3b23f6-_0x529780._0x34b5f9,_0x42d8c4-_0x529780._0x1504b5);}for(const _0xf779f2 of _0x1a511f){const _0x15c652=_0xf779f2[_0x2cba80(_0x285689._0xaaac77,0x56a,_0x285689._0x326195,_0x285689._0x1b626a)];if(_0x597fe4===_0x2cba80(0x7bc,_0x285689._0x49a25e,_0x285689._0x1ab455,_0x285689._0x261fd6)){if(_0x15c652[_0x5121a5(0x377,0x23b,0x16f,_0x285689._0x35676e)]>0x0)for(let _0x13d19f=_0x15c652[_0x2cba80(_0x285689._0x16ea76,0x786,0x6cc,_0x285689._0x31df2c)];_0x13d19f<=_0x15c652['newEndLine']&&_0x13d19f<=_0x3f302f['lines'][_0x2cba80(_0x285689._0x4ccd0a,_0x285689._0x3b47a8,_0x285689._0x4c8af5,_0x285689._0x2133cb)];_0x13d19f+=0x1){_0x26b5dc['add'](_0x13d19f);}else _0x15c652[_0x5121a5(_0x285689._0x2ea08e,_0x285689._0x44865a,0xb6,_0x285689._0x1739ec)]>=0x1&&_0x15c652[_0x2cba80(0x672,_0x285689._0x2fc059,0x48d,_0x285689._0xdeb095)]<=_0x3f302f[_0x5121a5(0x3a4,0x5e3,0x273,_0x285689._0x510f5a)][_0x5121a5(0x1b5,_0x285689._0x121817,_0x285689._0x245c8b,0x372)]&&_0x26b5dc['add'](_0x15c652[_0x5121a5(0x299,_0x285689._0x3a5107,_0x285689._0x826fa1,0x234)]);}else{if(_0x15c652['oldLineCount']>0x0)for(let _0x5076d8=_0x15c652[_0x5121a5(0xd5,_0x285689._0x47dd09,_0x285689._0x528640,_0x285689._0x1189b3)];_0x5076d8<=_0x15c652[_0x5121a5(0x3b0,_0x285689._0x26436b,_0x285689._0x2509e6,0x320)]&&_0x5076d8<=_0x3f302f[_0x2cba80(_0x285689._0x3163f9,_0x285689._0x23c816,0x938,_0x285689._0x53083a)]['length'];_0x5076d8+=0x1){_0x26b5dc[_0x5121a5(_0x285689._0x2741ea,_0x285689._0x778a59,0xd5,_0x285689._0x379892)](_0x5076d8);}else _0x15c652[_0x2cba80(0x680,_0x285689._0x52f034,_0x285689._0x392102,_0x285689._0x52f034)]>=0x1&&_0x15c652['oldStartLine']<=_0x3f302f[_0x2cba80(_0x285689._0x3163f9,_0x285689._0x58170b,0x686,_0x285689._0x541a98)][_0x5121a5(_0x285689._0x4828ae,0x506,0x53e,0x372)]&&_0x26b5dc[_0x2cba80(0x5e6,0x6d2,0x656,_0x285689._0x272217)](_0x15c652[_0x2cba80(0x680,0x6d7,0x873,0x66e)]);}}return[..._0x26b5dc][_0x2cba80(0x857,_0x285689._0x2d3e20,0x70a,0xa60)]((_0x31943c,_0x4b72b5)=>_0x31943c-_0x4b72b5)[_0x2cba80(_0x285689._0x348b86,_0x285689._0x4bc984,_0x285689._0xe2f569,_0x285689._0x34694e)](0x0,0x14);}function throwStaleSnapshot(_0x20a30c,_0x3fc077,_0x58a1b7,_0x589e06){const _0x417f44={_0x390ee0:0x391,_0x45a934:0x17d,_0x21a147:0xe1,_0x454924:0x7c,_0x45f676:0x20,_0x23983a:0x71,_0x5ba391:0x1ab,_0x58da17:0xbb,_0x374375:0x860,_0x4438f7:0x92c,_0x3bac5b:0x82b},_0x1499c5={_0x340e2a:0xd8};function _0x59d654(_0x1d3dbb,_0x2953b9,_0x495057,_0x7d8ded){return _0x38b1c5(_0x1d3dbb-0xa7,_0x2953b9-0x119,_0x495057- -0x4a6,_0x1d3dbb);}function _0x5534d6(_0x1ea61e,_0xd13df3,_0x2af6e3,_0x55f9ed){return _0x38b1c5(_0x1ea61e-_0x1499c5._0x340e2a,_0xd13df3-0x4e,_0x55f9ed-0xc4,_0x2af6e3);}throw createAnchoredFileError('stale_snapshot',_0x589e06[_0x59d654(_0x417f44._0x390ee0,_0x417f44._0x45a934,0x23a,_0x417f44._0x21a147)],{'path':_0x20a30c,'canonicalPath':_0x3fc077,'tag':_0x58a1b7[_0x59d654(0x167,_0x417f44._0x454924,0x182,-_0x417f44._0x45f676)],'digest':_0x58a1b7[_0x59d654(0xc9,_0x417f44._0x23983a,0x1d1,0x1ad)],..._0x589e06[_0x59d654(-0x5d,0x2e,_0x417f44._0x5ba391,_0x417f44._0x58da17)][_0x5534d6(0x99c,_0x417f44._0x374375,_0x417f44._0x4438f7,_0x417f44._0x3bac5b)]>0x0?{'contextLines':[..._0x589e06[_0x5534d6(0x727,0x710,0x81f,0x715)]]}:{}});}function throwUnseenLines(_0x57ed28,_0x5d242e,_0x478452,_0x7cc538,_0x2e0c92){const _0x290b47={_0xd8e795:0x61,_0x44b5db:0x1b7,_0x134de0:0xdd,_0x2d50b1:0x2c0,_0x17bc0d:0x85,_0x12eba1:0xd0,_0x30c9eb:0x60f,_0x48b9a9:0x5e3,_0x3e7747:0x94c,_0x57ac87:0x80b,_0x270146:0x98b,_0x21242a:0x628,_0x433ece:0x8ca},_0x265166={_0x912311:0x32},_0x9d9428={_0x3eec50:0x558};function _0x2b5315(_0x417258,_0x5f3530,_0x3b3ef7,_0x50e015){return _0x38b1c5(_0x417258-0x1c1,_0x5f3530-0x9e,_0x50e015- -_0x9d9428._0x3eec50,_0x5f3530);}function _0x498941(_0x3f80a6,_0x20baea,_0x2d6c66,_0xaf581f){return _0x4a0aa5(_0x3f80a6,_0x2d6c66-0x162,_0x2d6c66-_0x265166._0x912311,_0xaf581f-0x35);}throw createAnchoredFileError(_0x2b5315(-_0x290b47._0xd8e795,-0xbb,-_0x290b47._0x44b5db,-_0x290b47._0x134de0),_0x2e0c92['output'],{'path':_0x57ed28,'canonicalPath':_0x5d242e,'tag':_0x478452[_0x2b5315(-0x138,_0x290b47._0x2d50b1,_0x290b47._0x17bc0d,_0x290b47._0x12eba1)],'digest':_0x478452[_0x498941(_0x290b47._0x30c9eb,_0x290b47._0x48b9a9,0x71b,0x842)],'requiredLines':[..._0x7cc538],..._0x2e0c92['contextLines'][_0x498941(_0x290b47._0x3e7747,0x98f,_0x290b47._0x57ac87,_0x290b47._0x270146)]>0x0?{'contextLines':[..._0x2e0c92[_0x498941(_0x290b47._0x21242a,0x6b5,0x6f5,_0x290b47._0x433ece)]]}:{}});}function throwNoChange(_0x3a329f,_0x404043,_0x3ec88d,_0x5c564f,_0x3d16c1){const _0x33df8b={_0xc9db9b:0x74b,_0x4b185f:0x7c0,_0x194b2d:0x642,_0x5208f6:0x497,_0x2e65f2:0x55d,_0x16f384:0x52f,_0x4e908f:0x2ea,_0x228fef:0x4a5,_0x2aebe1:0x5c2,_0x4f8edb:0x4f4,_0x255e19:0x4f8,_0x5b389d:0x33a,_0x1bd35a:0x512,_0x4596fb:0x606,_0x7fb505:0x2ba},_0x4d91f4={_0x41c51f:0xb4,_0x2fd680:0x183},_0x4d2096={_0x43cc8f:0xac,_0x177f68:0x1a8};function _0x1d14e2(_0x359ae8,_0x5bbfae,_0x5bf55d,_0x4b1bce){return _0x38b1c5(_0x359ae8-_0x4d2096._0x43cc8f,_0x5bbfae-_0x4d2096._0x177f68,_0x4b1bce- -0x1ab,_0x359ae8);}function _0x3c9676(_0x15f4b7,_0x3cf39f,_0x5cd13c,_0x199af8){return _0x38b1c5(_0x15f4b7-_0x4d91f4._0x41c51f,_0x3cf39f-0x176,_0x3cf39f- -_0x4d91f4._0x2fd680,_0x15f4b7);}throw createAnchoredFileError(_0x1d14e2(_0x33df8b._0xc9db9b,_0x33df8b._0x4b185f,0x83d,_0x33df8b._0x194b2d),_0x5c564f[_0x3c9676(_0x33df8b._0x5208f6,_0x33df8b._0x2e65f2,_0x33df8b._0x16f384,0x359)],{'path':_0x3a329f,'canonicalPath':_0x404043,'tag':_0x3ec88d[_0x3c9676(_0x33df8b._0x4e908f,_0x33df8b._0x228fef,0x581,_0x33df8b._0x2aebe1)],'digest':_0x3ec88d[_0x3c9676(0x440,_0x33df8b._0x4f8edb,0x6de,0x300)],'attemptCount':_0x3d16c1,..._0x5c564f[_0x3c9676(_0x33df8b._0x255e19,0x4ce,_0x33df8b._0x5b389d,0x2e3)][_0x3c9676(_0x33df8b._0x1bd35a,0x5e4,0x44f,0x47f)]>0x0?{'contextLines':[..._0x5c564f[_0x1d14e2(0x637,_0x33df8b._0x4596fb,_0x33df8b._0x7fb505,0x4a6)]]}:{}});}async function prepareAnchoredFileEditApproval(_0x2cc04b,_0x44ca3d,_0x2d811a,_0x2e29d8){const _0x134051={_0x29474e:0x35c,_0x47e644:0x454,_0x3f66b5:0x44,_0x47e1f6:0x6,_0x4fe950:0x118,_0x4dd7c3:0x41,_0x4ce531:0x1cd,_0x451ea5:0x134,_0x5689f7:0x168,_0x14a815:0x311,_0x3f482d:0x60,_0x31b861:0x1a6,_0x4a695f:0x32f,_0x468796:0x2f,_0x346df9:0x56,_0x1bb4bf:0x19,_0xebe8ed:0x191,_0x596179:0x14,_0x38cd2e:0x3b,_0xae40ac:0x6b,_0x246172:0x142,_0x442f67:0x1bd,_0x55ec12:0x215,_0x3e1002:0x1d7,_0x413cea:0x84,_0xa73e25:0x431,_0x59b1d9:0x369,_0x2ce6ed:0x2ae,_0x244381:0xa2,_0x1f7a7e:0x8b,_0xb11b2:0x337,_0x40c5bb:0x18d,_0x236215:0x12,_0x3264e7:0x369,_0x1716db:0x1bf,_0x27f60f:0x254,_0x4323a2:0x65,_0x1cfbe8:0x127,_0x39672e:0x2b,_0x46abee:0x1da,_0x5a66e8:0x2bb,_0x5b0104:0x3a2,_0x60151e:0x8e,_0x4cafe1:0x71,_0x423df5:0x122,_0xdf7ee1:0x34,_0x1d3b75:0x23e,_0x47507f:0x44,_0x59ece6:0x22f,_0x3b494a:0x394,_0x7ab81d:0x359,_0x160f04:0x38e,_0xdc27c4:0xd5,_0x30dfff:0x207,_0x4adb5d:0x26a,_0xff8db6:0x358,_0x8257f:0x2d6,_0x485658:0x121,_0x1ca9d7:0x12,_0x541af6:0x62,_0x594aee:0xa7,_0x223db4:0x28f,_0x591da5:0x279},_0x4e4176={_0x5b033a:0xd4,_0x45a109:0x17f,_0x3f9bd0:0x663},_0x4726ad={_0x22085f:0xfd},_0x1fb07c=parseAnchoredInput(_0x2cc04b,_0x44ca3d),_0x439190=await resolveEditTarget(_0x2e29d8[_0x144480(0x4f6,0x494,_0x134051._0x29474e,_0x134051._0x47e644)],_0x2e29d8[_0x35ccd9(_0x134051._0x3f66b5,_0x134051._0x47e1f6,0xd9,_0x134051._0x4fe950)],_0x1fb07c[_0x35ccd9(0x18e,0x1a6,_0x134051._0x4dd7c3,_0x134051._0x4ce531)]),{observations:_0x42eb66}=_0x2e29d8;_0x42eb66['bindSession'](_0x2d811a);const _0x32a240=_0x42eb66[_0x144480(_0x134051._0x451ea5,_0x134051._0x5689f7,0xbe,-0xd1)](_0x439190['canonicalPath'],_0x1fb07c[_0x144480(0x12a,0x26,0x188,_0x134051._0x14a815)]),_0x4585a5=await readLiveSnapshot(_0x439190['canonicalPath'],_0x1fb07c[_0x35ccd9(-_0x134051._0x3f482d,_0x134051._0x31b861,_0x134051._0x4a695f,0x377)]),_0x3186ea=computePayloadDigest(_0x1fb07c[_0x144480(-_0x134051._0x468796,_0x134051._0x346df9,0x138,-_0x134051._0x1bb4bf)]);function _0x144480(_0x10bd4e,_0x46321b,_0x242d87,_0x320baa){return _0x4a0aa5(_0x320baa,_0x242d87- -0x3e2,_0x242d87-_0x4726ad._0x22085f,_0x320baa-0xd5);}if(_0x4585a5[_0x35ccd9(_0x134051._0xebe8ed,_0x134051._0x596179,-0x5f,-_0x134051._0x38cd2e)]!==_0x32a240[_0x35ccd9(-0xea,-_0x134051._0xae40ac,-_0x134051._0x246172,_0x134051._0x3f66b5)][_0x144480(_0x134051._0x442f67,_0x134051._0x55ec12,_0x134051._0x3e1002,_0x134051._0x413cea)]){const {reasonLine:_0x3d008b,guidance:_0x5caafa}=staleSnapshotMessageText(_0x1fb07c[_0x144480(_0x134051._0xa73e25,0x157,_0x134051._0x59b1d9,0x519)],_0x1fb07c['tag']),_0x3d2b68=buildRecoveryContext(_0x1fb07c[_0x144480(_0x134051._0x2ce6ed,0x4cc,_0x134051._0x59b1d9,0x1ca)],_0x4585a5,collectRequiredLines(_0x1fb07c[_0x35ccd9(-_0x134051._0x244381,-_0x134051._0x1f7a7e,-0xad,0xf6)]),_0x2e29d8['outputBudgetBytes'],_0x3d008b,_0x5caafa);_0x42eb66[_0x144480(_0x134051._0xb11b2,0x2e4,0x2d6,0x3a9)](_0x4585a5,_0x3d2b68[_0x35ccd9(_0x134051._0x40c5bb,-_0x134051._0x236215,-0x1fe,0xb2)]),throwStaleSnapshot(_0x1fb07c[_0x144480(0x1fa,0x3d3,_0x134051._0x3264e7,0x2c4)],_0x439190[_0x144480(0x10f,0x163,-_0x134051._0x3f66b5,-0x230)],_0x4585a5,_0x3d2b68);}let _0x4dcd75;function _0x35ccd9(_0x2e9d4d,_0x206905,_0x437447,_0x555d25){return _0x38b1c5(_0x2e9d4d-_0x4e4176._0x5b033a,_0x206905-_0x4e4176._0x45a109,_0x206905- -_0x4e4176._0x3f9bd0,_0x2e9d4d);}try{_0x4dcd75=prepareCanonicalFileEdit(_0x32a240[_0x144480(0xfb,0x2d,0x158,0x265)],_0x32a240[_0x144480(_0x134051._0x1716db,0x3f0,_0x134051._0x27f60f,0x400)],_0x1fb07c['operations']);}catch(_0x3407ac){if(_0x3407ac instanceof ToolExecutionError&&_0x3407ac[_0x35ccd9(_0x134051._0x4323a2,0x196,0x4,0x21b)][_0x35ccd9(0x36,-0x24,0x1d,_0x134051._0x1cfbe8)]==='unseen_lines'){const _0x19a1d7=_0x3407ac['structured'][_0x144480(-0x67,_0x134051._0x39672e,0x1a1,0xb0)]??collectRequiredLines(_0x1fb07c[_0x144480(_0x134051._0x46abee,0x37,0x138,0x2eb)]),{reasonLine:_0x468e5d,guidance:_0x15d9da}=unseenLinesMessageText(),_0x228fbe=buildRecoveryContext(_0x1fb07c[_0x144480(_0x134051._0x5a66e8,_0x134051._0x5b0104,0x369,0x211)],_0x4585a5,_0x19a1d7,_0x2e29d8['outputBudgetBytes'],_0x468e5d,_0x15d9da);_0x42eb66[_0x35ccd9(-_0x134051._0x60151e,0x113,_0x134051._0x4cafe1,0x138)](_0x4585a5,_0x228fbe[_0x35ccd9(-_0x134051._0x423df5,-0x12,_0x134051._0xdf7ee1,0x153)]),throwUnseenLines(_0x1fb07c[_0x144480(0x19a,_0x134051._0x1d3b75,0x369,0x55b)],_0x439190[_0x144480(-0x99,-0x24a,-_0x134051._0x47507f,-0xdb)],_0x4585a5,_0x19a1d7,_0x228fbe);}if(_0x3407ac instanceof ToolExecutionError&&_0x3407ac[_0x144480(_0x134051._0x59ece6,_0x134051._0x3b494a,_0x134051._0x7ab81d,0x2ff)]['error']===_0x35ccd9(_0x134051._0x160f04,0x18a,-0x6e,-0xc)){const _0x402214=_0x42eb66[_0x35ccd9(0x1ed,0xae,-0x122,_0x134051._0xdc27c4)](_0x439190[_0x35ccd9(-0x12c,-_0x134051._0x30dfff,-0x82,-0x35c)],_0x3186ea),{reasonLine:_0x47717f,guidance:_0x3721a1}=noChangeMessageText(_0x1fb07c[_0x35ccd9(0x33,0x1a6,0x37e,0x11a)],_0x402214),_0x1b5c5c=buildRecoveryContext(_0x1fb07c[_0x35ccd9(_0x134051._0x4adb5d,0x1a6,0x84,-0x1e)],_0x4585a5,collectRequiredLines(_0x1fb07c['operations']),_0x2e29d8['outputBudgetBytes'],_0x47717f,_0x3721a1);_0x42eb66[_0x144480(_0x134051._0xff8db6,0x459,_0x134051._0x8257f,0x366)](_0x4585a5,_0x1b5c5c[_0x35ccd9(-_0x134051._0x485658,-_0x134051._0x1ca9d7,0x3f,-0xcd)]),throwNoChange(_0x1fb07c['filePath'],_0x439190['canonicalPath'],_0x4585a5,_0x1b5c5c,_0x402214);}throw _0x3407ac;}return assertPreviewWithinBounds(_0x4dcd75[_0x144480(0x17e,_0x134051._0x541af6,_0x134051._0x594aee,_0x134051._0x223db4)],_0x439190['canonicalPath'],_0x1fb07c[_0x144480(0x4f6,_0x134051._0x591da5,_0x134051._0x59b1d9,0x500)]),buildPreview(_0x2cc04b,_0x1fb07c,_0x439190,_0x32a240,_0x4dcd75);}async function reResolveUnderLock(_0x1f17b8,_0x35ba08,_0x437164,_0x31dd2d){const _0x4b2238={_0x2c02d2:0x176,_0x286e6e:0x3b,_0x55c95a:0x38d,_0x65ed58:0x2c,_0x31a70f:0x2e,_0x55dba8:0x173,_0x444f1e:0x17,_0xd288c1:0x456,_0xc77968:0x2d5,_0x442013:0x112,_0x405adf:0x7e,_0x2e0c5a:0x24b,_0x3f866d:0xeb,_0x3f67d1:0x36a,_0x2b4c1a:0x37a,_0x588903:0xb6,_0x6eb5c4:0x90},_0x5b9ac0={_0x5c8b4f:0x1aa};function _0x5e6f60(_0x23bf4a,_0x1036e,_0x25fba9,_0x4ecb21){return _0x4a0aa5(_0x4ecb21,_0x25fba9- -0x30e,_0x25fba9-0xc4,_0x4ecb21-_0x5b9ac0._0x5c8b4f);}function _0x9c5318(_0x2e4a8a,_0x1b09dd,_0x46d123,_0x3c2765){return _0x38b1c5(_0x2e4a8a-0x16c,_0x1b09dd-0xbb,_0x3c2765- -0x44d,_0x46d123);}let _0x54d8fd;try{_0x54d8fd=await resolveCanonicalAllowedFile(_0x1f17b8,_0x35ba08,_0x437164['filePath']);}catch(_0x1e9a5d){if(_0x1e9a5d instanceof ToolExecutionError)throw _0x1e9a5d;const _0x4017cf=_0x1e9a5d instanceof Error?_0x1e9a5d[_0x5e6f60(_0x4b2238._0x2c02d2,_0x4b2238._0x286e6e,0x227,_0x4b2238._0x55c95a)]:String(_0x1e9a5d);throw createAnchoredFileError(_0x5e6f60(_0x4b2238._0x65ed58,_0x4b2238._0x31a70f,_0x4b2238._0x55dba8,_0x4b2238._0x444f1e),'stale_snapshot:\x20File\x20'+_0x437164[_0x9c5318(_0x4b2238._0xd288c1,_0x4b2238._0xc77968,0x569,0x3bc)]+_0x5e6f60(0xb5,_0x4b2238._0x442013,_0x4b2238._0x405adf,-0x9)+_0x4017cf+');\x20re-read\x20with\x20FileRead\x20first.',{'path':_0x437164['filePath']});}if(_0x54d8fd['canonicalPath']!==_0x31dd2d)throw createAnchoredFileError('stale_snapshot',_0x5e6f60(-0x10e,_0x4b2238._0x2e0c5a,0x7c,_0x4b2238._0x3f866d)+_0x437164['filePath']+'\x20now\x20resolves\x20to\x20a\x20different\x20target\x20than\x20the\x20approved\x20edit;\x20re-read\x20with\x20FileRead\x20first.',{'path':_0x437164[_0x9c5318(_0x4b2238._0x3f67d1,_0x4b2238._0x2b4c1a,0x1d2,0x3bc)],'canonicalPath':_0x54d8fd[_0x5e6f60(_0x4b2238._0x588903,0x27e,_0x4b2238._0x6eb5c4,-0x5f)]});return _0x54d8fd;}async function executeAnchoredFileEdit(_0x294c38,_0xbf5b1e,_0x4cea0e,_0x34abcf,_0x57475f=defaultFileSystem2){const _0x189907={_0x4090e1:0x2ec,_0x1574d5:0x434,_0x565993:0x3e0,_0x282a27:0x4f7,_0x3d1ac9:0xb7,_0x16d84e:0x1f9,_0x409491:0x4,_0x1a5732:0x22,_0x3a8b70:0x1d8},_0x5daf13={_0xa03f19:0x3ff,_0x4e0347:0x396,_0xf072dd:0x438,_0x33bf6c:0x1a8,_0x4a6261:0xff,_0x156ca1:0x55a,_0x15321b:0x3b7,_0x159206:0x263,_0x522814:0x77,_0x1a7ca7:0x33e,_0x29a6c2:0x1ac,_0x34c993:0x48f,_0x4feb57:0x477,_0x1e6440:0x32,_0x5acd85:0xdb,_0x2d5255:0x2bf,_0x272079:0x31e,_0x39822a:0x3e4,_0x2ae65c:0x71e,_0x2ee19d:0x536,_0x55d154:0x6bb,_0x53e5ca:0x4d4,_0xc977e0:0x5f5,_0x21d205:0x3c8,_0x3099e1:0xe7,_0x55ff56:0x27a,_0x29c83b:0x22c,_0xc521c6:0x24d,_0x56ac2c:0x10f,_0x152dfd:0x623,_0x462c7f:0x1fe,_0x9c848f:0x3fc,_0xad0006:0x4e9,_0x16a326:0x536,_0x2b2637:0x1ae,_0x11e437:0x1de,_0x5a4b08:0x24,_0x58e122:0x681,_0x439e38:0x3db,_0x4a51b5:0x499,_0x17471b:0x189,_0x4bb0d4:0x257,_0x589ab0:0x443,_0x238a30:0x390,_0x1cb8b3:0x128,_0x1d4abb:0x526,_0x548c9c:0x4b2,_0x2ad832:0x40b,_0x11825f:0x215,_0x4671ce:0x135,_0x255e43:0x5e,_0x4726b7:0x14,_0x5916f2:0x526,_0xe79541:0x2b7,_0x4e51ca:0x36e,_0x16a7fb:0x2e8,_0x44349d:0x19f,_0x1c31c7:0x55f,_0x432c8e:0x37e,_0x382a28:0x2cb,_0x94b533:0x2dc,_0x5a30e4:0x3df,_0x5e42c8:0x5d5,_0x3be550:0x48a,_0x1cdeb5:0x36c,_0x257aec:0x289,_0x58fc7c:0x5b8,_0x3f0751:0x3e7,_0x2a05b4:0x316,_0x2f36e4:0x4d9,_0x4d2e16:0x6a5,_0x56a83d:0x5e0,_0x98ae9d:0x28a,_0xfeaacc:0x305,_0x2c429e:0x436,_0x2d46f0:0x219,_0x192de2:0x1bc,_0x4def6a:0x4ae,_0x552bec:0x1e0,_0x1ac8c9:0x243,_0x54fc91:0x373,_0x3c8830:0x536,_0xd912c6:0x723,_0x243a81:0x11d,_0x228be1:0x31d,_0x3eb353:0x33d,_0x3dda1f:0x52a,_0x2350ce:0x1c1,_0x21b745:0x301,_0x222af0:0x6a4,_0x5ed3c4:0x1d2,_0x260bbb:0x87,_0x42296b:0x180,_0x2a0768:0x214,_0x5c3819:0x2b0,_0x16fc3d:0x3f3,_0x1241c7:0x695,_0x23b178:0x3d4,_0x5dfe53:0x2ca,_0x3e1541:0x1e6,_0x364df3:0x156,_0x517046:0x280,_0x15ae99:0x3a4,_0x2e0b1f:0x175,_0x3dc79a:0x2f,_0x3ece79:0x1d1,_0x314c87:0x116,_0x1b4faa:0x11c,_0x10cb6e:0x102,_0x5da735:0x2ad,_0xecb230:0x371,_0x3b8327:0xaf,_0x2be569:0x152,_0x9ac438:0x1,_0xf4798c:0x48,_0x5f2df5:0x632,_0x35db95:0x3f7,_0x156563:0x2de,_0x56662e:0x62b,_0x2892ac:0x536,_0x31634c:0x325,_0x85a263:0x61,_0xdb0916:0x189,_0x573d21:0xd3,_0xfac98c:0x388,_0x15875b:0x1bb,_0x2abddc:0xbd,_0x4f5bc8:0x2ad,_0x3e3eaf:0x5cf,_0x1a4dad:0x1ce,_0x5ee41f:0x1cb,_0x19d5d1:0x83,_0x2c26dc:0x1c9,_0x1cf3a1:0x39a,_0x3ca0ff:0x319,_0x329d4f:0x1b9,_0x319958:0x23c,_0x59dcc9:0x3a6,_0x10b841:0x2ae,_0x2017c8:0xe0,_0x462508:0x279,_0x2626dc:0x32,_0x562e11:0x2e,_0x237a7e:0x158,_0x57cbc7:0x39,_0x2aec50:0x522,_0x1fe71b:0x474,_0x1d42d9:0x6da,_0x2d8261:0x2f6,_0x105a4a:0x3e5,_0x3dc1f9:0x30c,_0x4cbbb3:0xf8,_0x9e9f19:0x5c,_0x4624d5:0x4a0,_0x15e847:0x3b9,_0x5963a1:0x6b2,_0x3e636c:0x4a3,_0x1e8d83:0x338,_0x480822:0x228,_0x59aa2c:0x64a,_0x21c6a4:0x6cc,_0x688aec:0x463,_0x51eec:0x30b,_0x5007f0:0x13c,_0x13b5e1:0x221,_0x4663fb:0x3ee,_0x2157d5:0x274,_0x2357fd:0x34b,_0x436889:0x1de,_0x321192:0x34a,_0x1cbe47:0x433,_0x5d9f96:0x4b0,_0x346ec9:0x2e0,_0x3bb1ba:0x319,_0x53d913:0x4b4,_0x553aca:0x6a2,_0x107d0b:0x537,_0x5ad1fc:0x34c,_0x124bff:0x35d,_0x3c96df:0x2ca,_0x2b5fb4:0xbb,_0x2bd73d:0x36e,_0x4b5618:0x62e,_0x34d79f:0x314,_0x279b39:0x3a4,_0x2ff6b5:0x3c5,_0x4bb05f:0x355,_0x51c695:0x534,_0x239066:0x345,_0x279881:0x2b6,_0x282da4:0xcd,_0x53501b:0x2cd},_0x444d1a={_0x5e293a:0x189},_0x8d2da7=parseAnchoredInput(_0x294c38,_0xbf5b1e);function _0x26096a(_0x473473,_0x6b54d7,_0x54d7e7,_0x4634f2){return _0x38b1c5(_0x473473-0x19b,_0x6b54d7-0x6d,_0x473473- -0x407,_0x6b54d7);}function _0x5af1f9(_0x2740df,_0x496362,_0x59d193,_0x2ac220){return _0x4a0aa5(_0x2ac220,_0x2740df-0x19,_0x59d193-0x5d,_0x2ac220-0xa9);}const _0x1cdbfa=await resolveEditTarget(_0x34abcf[_0x5af1f9(0x757,0x821,0x67d,0x6e0)],_0x34abcf[_0x26096a(0x262,_0x189907._0x4090e1,_0x189907._0x1574d5,0x36d)],_0x8d2da7[_0x26096a(0x402,_0x189907._0x565993,0x30c,_0x189907._0x282a27)]);return _0x34abcf['mutations']['runExclusive'](_0x1cdbfa[_0x26096a(0x55,_0x189907._0x3d1ac9,_0x189907._0x16d84e,0x17f)],_0x4cea0e[_0x26096a(_0x189907._0x409491,-0x11f,-_0x189907._0x1a5732,_0x189907._0x3a8b70)],async()=>{function _0x1b0afd(_0x1b0299,_0x45ce8f,_0x110cbb,_0xcfac7d){return _0x5af1f9(_0x45ce8f- -0x385,_0x45ce8f-0xf2,_0x110cbb-_0x444d1a._0x5e293a,_0x1b0299);}const _0xb2c793=await reResolveUnderLock(_0x34abcf[_0x1b0afd(0x3bd,0x3d2,_0x5daf13._0xa03f19,0x442)],_0x34abcf[_0x3d53d4(0x3e2,_0x5daf13._0x4e0347,0x1ed,_0x5daf13._0xf072dd)],_0x8d2da7,_0x1cdbfa[_0x1b0afd(-0x6b,0x32,_0x5daf13._0x33bf6c,_0x5daf13._0x4a6261)]),{observations:_0x1e3ae8}=_0x34abcf;_0x1e3ae8['bindSession'](_0x4cea0e[_0x3d53d4(_0x5daf13._0x156ca1,_0x5daf13._0x15321b,0x3af,0x59c)]);const _0x5b44b7=_0x1e3ae8[_0x1b0afd(_0x5daf13._0x159206,0x134,-_0x5daf13._0x522814,0x273)](_0xb2c793[_0x3d53d4(0x196,0x189,_0x5daf13._0x1a7ca7,0xd8)],_0x8d2da7[_0x3d53d4(_0x5daf13._0x29a6c2,0x355,0x544,_0x5daf13._0x34c993)]);let _0x14a906,_0x440dbf;try{[_0x14a906,_0x440dbf]=await Promise[_0x1b0afd(0x1fb,0x1bb,0x35e,0x3a0)]([_0x57475f[_0x1b0afd(_0x5daf13._0x4feb57,0x31b,0x205,0x51a)](_0xb2c793['canonicalPath']),_0x57475f['stat'](_0xb2c793[_0x1b0afd(0x4a,_0x5daf13._0x1e6440,_0x5daf13._0x5acd85,-0xdd)])]);}catch(_0x3dfffc){const _0x3dc484=_0x3dfffc instanceof Error?_0x3dfffc['message']:String(_0x3dfffc);throw createAnchoredFileError('stale_snapshot',_0x3d53d4(0x458,_0x5daf13._0x2d5255,_0x5daf13._0x272079,_0x5daf13._0x39822a)+_0x8d2da7[_0x3d53d4(_0x5daf13._0x2ae65c,_0x5daf13._0x2ee19d,_0x5daf13._0x55d154,0x55c)]+_0x3d53d4(0x6af,_0x5daf13._0x53e5ca,0x33c,_0x5daf13._0xc977e0)+_0x3dc484+_0x3d53d4(0x3fa,0x40b,_0x5daf13._0x21d205,0x2fa),{'path':_0x8d2da7['filePath']});}const _0x29c9a1=createNormalizedFileSnapshot(_0xb2c793[_0x1b0afd(0x1c8,_0x5daf13._0x1e6440,-_0x5daf13._0x3099e1,0x136)],_0x14a906);if(_0x29c9a1[_0x3d53d4(_0x5daf13._0x55ff56,0x3a4,0x544,_0x5daf13._0x29c83b)]!==_0x5b44b7['snapshot'][_0x1b0afd(0xaa,_0x5daf13._0xc521c6,0x59,_0x5daf13._0x56ac2c)]){const {reasonLine:_0x1a70d2,guidance:_0x21c3bd}=staleSnapshotMessageText(_0x8d2da7[_0x3d53d4(_0x5daf13._0x152dfd,_0x5daf13._0x2ee19d,0x355,0x727)],_0x8d2da7[_0x1b0afd(0xec,_0x5daf13._0x462c7f,0x29b,_0x5daf13._0x9c848f)]),_0x473f57=buildRecoveryContext(_0x8d2da7[_0x3d53d4(_0x5daf13._0xad0006,_0x5daf13._0x16a326,0x6e3,0x38a)],_0x29c9a1,collectRequiredLines(_0x8d2da7[_0x1b0afd(-0x3d,_0x5daf13._0x2b2637,0x99,0x198)]),_0x34abcf[_0x3d53d4(0x9b,_0x5daf13._0x11e437,_0x5daf13._0x5a4b08,_0x5daf13._0x462c7f)],_0x1a70d2,_0x21c3bd);_0x1e3ae8[_0x3d53d4(_0x5daf13._0x58e122,0x4a3,_0x5daf13._0x439e38,_0x5daf13._0x4a51b5)](_0x29c9a1,_0x473f57['contextLines']),throwStaleSnapshot(_0x8d2da7['filePath'],_0xb2c793[_0x3d53d4(0x18b,_0x5daf13._0x17471b,_0x5daf13._0x4bb0d4,0x2e7)],_0x29c9a1,_0x473f57);}let _0x4c230f;try{_0x4c230f=prepareCanonicalFileEdit(_0x5b44b7['snapshot'],_0x5b44b7[_0x1b0afd(_0x5daf13._0x589ab0,0x2ca,0x3e5,_0x5daf13._0x238a30)],_0x8d2da7[_0x3d53d4(0x20c,0x305,_0x5daf13._0x1cb8b3,0x264)]);}catch(_0x192105){if(_0x192105 instanceof ToolExecutionError&&_0x192105[_0x3d53d4(0x385,_0x5daf13._0x1d4abb,_0x5daf13._0x548c9c,_0x5daf13._0x2ad832)][_0x1b0afd(0x2e1,_0x5daf13._0x11825f,_0x5daf13._0x4671ce,0x33d)]===_0x1b0afd(_0x5daf13._0x255e43,0x51,0x108,-_0x5daf13._0x4726b7)){const _0x3e9853=_0x192105[_0x3d53d4(0x4f8,_0x5daf13._0x5916f2,0x4be,0x428)][_0x3d53d4(_0x5daf13._0xe79541,_0x5daf13._0x4e51ca,0x200,_0x5daf13._0x16a7fb)]??collectRequiredLines(_0x8d2da7['operations']),{reasonLine:_0x3eac02,guidance:_0x913b10}=unseenLinesMessageText(),_0x5d9734=buildRecoveryContext(_0x8d2da7['filePath'],_0x29c9a1,_0x3e9853,_0x34abcf[_0x1b0afd(_0x5daf13._0x44349d,0x87,0x1d7,-0x15a)],_0x3eac02,_0x913b10);_0x1e3ae8[_0x1b0afd(0x54d,0x34c,0x227,_0x5daf13._0x1c31c7)](_0x29c9a1,_0x5d9734[_0x3d53d4(0x430,_0x5daf13._0x432c8e,_0x5daf13._0x382a28,0x39d)]),throwUnseenLines(_0x8d2da7[_0x1b0afd(_0x5daf13._0x94b533,_0x5daf13._0x5a30e4,_0x5daf13._0x5e42c8,0x2d8)],_0xb2c793['canonicalPath'],_0x29c9a1,_0x3e9853,_0x5d9734);}if(_0x192105 instanceof ToolExecutionError&&_0x192105[_0x1b0afd(0x5b2,0x3cf,0x4cb,_0x5daf13._0x3be550)][_0x3d53d4(0x2ed,_0x5daf13._0x1cdeb5,_0x5daf13._0x257aec,0x280)]===_0x1b0afd(_0x5daf13._0x58fc7c,0x3c3,0x594,_0x5daf13._0x3f0751)){const {reasonLine:_0x37416d,guidance:_0x16daed}=noChangeMessageText(_0x8d2da7[_0x1b0afd(0x2af,0x3df,_0x5daf13._0x2a05b4,0x310)],0x1),_0x502d55=buildRecoveryContext(_0x8d2da7[_0x3d53d4(_0x5daf13._0x2f36e4,0x536,_0x5daf13._0x4d2e16,_0x5daf13._0x56a83d)],_0x29c9a1,collectRequiredLines(_0x8d2da7[_0x3d53d4(_0x5daf13._0x98ae9d,_0x5daf13._0xfeaacc,_0x5daf13._0x2c429e,0x28c)]),_0x34abcf['outputBudgetBytes'],_0x37416d,_0x16daed);_0x1e3ae8['record'](_0x29c9a1,_0x502d55[_0x1b0afd(0x289,0x227,_0x5daf13._0x2d46f0,_0x5daf13._0x192de2)]),throwNoChange(_0x8d2da7[_0x1b0afd(0x3f8,0x3df,_0x5daf13._0x4def6a,_0x5daf13._0x552bec)],_0xb2c793[_0x1b0afd(-0x138,0x32,0xab,_0x5daf13._0x1ac8c9)],_0x29c9a1,_0x502d55,0x1);}throw _0x192105;}assertPreviewWithinBounds(_0x4c230f['blocks'],_0xb2c793['canonicalPath'],_0x8d2da7[_0x3d53d4(_0x5daf13._0x54fc91,_0x5daf13._0x3c8830,0x698,_0x5daf13._0xd912c6)]);const _0x4e9c82=_0x4c230f[_0x3d53d4(_0x5daf13._0x243a81,0x305,0x361,_0x5daf13._0x228be1)][_0x1b0afd(0x466,_0x5daf13._0x3eb353,0x242,_0x5daf13._0x3dda1f)];function _0x3d53d4(_0x3490db,_0x2be2bd,_0x4548d6,_0x27dcc9){return _0x5af1f9(_0x2be2bd- -0x22e,_0x2be2bd-0x79,_0x4548d6-0xdf,_0x4548d6);}const _0x564e68=serializeNormalizedFile(_0x4c230f[_0x1b0afd(0x15f,0x2b,_0x5daf13._0x2350ce,-0x195)],{'bom':_0x29c9a1['bom'],'eol':_0x29c9a1['eol']}),_0x6b66b2=_0x440dbf[_0x3d53d4(_0x5daf13._0x21b745,0x139,-0xa,0xf4)];if(_0x8d2da7[_0x1b0afd(0xc3,0x2a8,0x345,0x139)]){const _0x5a60c7=buildResultText(_0x8d2da7[_0x3d53d4(_0x5daf13._0x222af0,0x536,0x6fe,0x3da)],_0x29c9a1,selectChangedContextLines(_0x4c230f[_0x1b0afd(0x177,_0x5daf13._0x243a81,0x2ac,0x219)],_0x29c9a1,'before'),_0x34abcf[_0x1b0afd(_0x5daf13._0x5ed3c4,_0x5daf13._0x260bbb,-_0x5daf13._0x42296b,0x227)],_0x1b0afd(0xf3,_0x5daf13._0x2a0768,0x3dd,_0x5daf13._0x5c3819)+_0x4e9c82+'\x20operations\x20(dry\x20run;\x20no\x20write).');_0x1e3ae8[_0x3d53d4(_0x5daf13._0x16fc3d,0x4a3,_0x5daf13._0x1241c7,_0x5daf13._0x23b178)](_0x29c9a1,_0x5a60c7[_0x1b0afd(0x266,_0x5daf13._0x5dfe53,_0x5daf13._0x3e1541,_0x5daf13._0x364df3)]);const _0x12706d={'preview':buildPreview(_0x294c38,_0x8d2da7,_0xb2c793,_0x5b44b7,_0x4c230f),'beforeDigest':_0x5b44b7[_0x3d53d4(0x2e8,0x325,0x43d,0x1bf)][_0x3d53d4(_0x5daf13._0x517046,_0x5daf13._0x15ae99,0x1bf,0x509)],'afterDigest':_0x29c9a1[_0x1b0afd(0x13f,0x24d,_0x5daf13._0x2e0b1f,0x35a)],'beforeTag':_0x8d2da7[_0x1b0afd(0x195,_0x5daf13._0x462c7f,0x309,_0x5daf13._0xc521c6)],'afterTag':_0x29c9a1[_0x1b0afd(0x284,0x1fe,_0x5daf13._0x3dc79a,_0x5daf13._0x3ece79)],'bytesWritten':0x0,'dryRun':!![],'operationCount':_0x4e9c82,'tokenClassification':_0x1b0afd(0x31e,_0x5daf13._0x314c87,_0x5daf13._0x1b4faa,_0x5daf13._0x10cb6e)};return createToolOutput(_0x5a60c7[_0x3d53d4(0x2fa,0x40d,_0x5daf13._0x5da735,_0x5daf13._0xecb230)],_0x12706d);}try{await _0x57475f[_0x3d53d4(_0x5daf13._0x3b8327,_0x5daf13._0x2be569,_0x5daf13._0x9ac438,0xe9)](_0xb2c793[_0x1b0afd(-_0x5daf13._0xf4798c,0x32,-0xf,0x1b6)],_0x564e68,_0x6b66b2);}catch(_0x4fd414){const _0x576448=_0x4fd414 instanceof Error?_0x4fd414['message']:String(_0x4fd414);throw createAnchoredFileError(_0x3d53d4(0x2ec,0x465,_0x5daf13._0x5f2df5,_0x5daf13._0x35db95),_0x1b0afd(0x153,_0x5daf13._0x156563,0x332,0x4eb)+_0x8d2da7[_0x3d53d4(_0x5daf13._0x56662e,_0x5daf13._0x2892ac,_0x5daf13._0x31634c,0x595)]+':\x20'+_0x576448+'.\x20The\x20write\x20did\x20not\x20land;\x20re-read\x20the\x20file\x20with\x20FileRead\x20and\x20retry.',{'path':_0x8d2da7['filePath'],'canonicalPath':_0xb2c793[_0x3d53d4(-_0x5daf13._0x85a263,_0x5daf13._0xdb0916,_0x5daf13._0x573d21,_0x5daf13._0xfac98c)]});}let _0x540e2b,_0x45930b;try{[_0x540e2b,_0x45930b]=await Promise[_0x1b0afd(0xe1,_0x5daf13._0x15875b,_0x5daf13._0x2abddc,_0x5daf13._0x4f5bc8)]([_0x57475f[_0x3d53d4(0x29c,0x472,0x5f8,_0x5daf13._0x3e3eaf)](_0xb2c793['canonicalPath']),_0x57475f[_0x1b0afd(0x29c,0x3b6,0x5ae,_0x5daf13._0x1a4dad)](_0xb2c793[_0x3d53d4(_0x5daf13._0x5ee41f,0x189,_0x5daf13._0x19d5d1,_0x5daf13._0x10cb6e)])]);}catch(_0x152266){const _0x13edd7=_0x152266 instanceof Error?_0x152266[_0x1b0afd(0x307,_0x5daf13._0x2c26dc,_0x5daf13._0x1cf3a1,_0x5daf13._0x3ca0ff)]:String(_0x152266);throw createAnchoredFileError('post_write_drift',_0x1b0afd(0x37c,_0x5daf13._0x329d4f,0x399,_0x5daf13._0x319958)+_0x8d2da7[_0x3d53d4(_0x5daf13._0x59dcc9,0x536,0x468,0x504)]+_0x3d53d4(0x176,_0x5daf13._0x10b841,_0x5daf13._0x432c8e,_0x5daf13._0x2017c8)+_0x13edd7+_0x1b0afd(_0x5daf13._0x462508,0x3ce,0x444,0x213),{'path':_0x8d2da7[_0x1b0afd(0x202,0x3df,0x206,0x43e)],'canonicalPath':_0xb2c793[_0x1b0afd(0x200,_0x5daf13._0x2626dc,_0x5daf13._0x562e11,-0x149)]});}if(!_0x540e2b[_0x1b0afd(_0x5daf13._0x237a7e,0x10a,0x212,0xb8)](_0x564e68)||(_0x45930b[_0x3d53d4(-0xa6,0x139,_0x5daf13._0x57cbc7,0xd8)]&0x1ff)!==(_0x6b66b2&0x1ff)){const _0x2fa191=_0x3d53d4(0x4e8,_0x5daf13._0x2aec50,_0x5daf13._0x1fe71b,_0x5daf13._0x1d42d9)+_0x8d2da7['filePath']+_0x3d53d4(0xd,0x1fd,0x253,_0x5daf13._0x2d8261),_0x463db9=_0x3d53d4(_0x5daf13._0x105a4a,_0x5daf13._0xc521c6,_0x5daf13._0x3dc1f9,_0x5daf13._0x4cbbb3);let _0x19e6cf;try{_0x19e6cf=createNormalizedFileSnapshot(_0xb2c793['canonicalPath'],_0x540e2b);}catch{_0x19e6cf=void 0x0;}let _0x4ae282;_0x19e6cf!==void 0x0?(_0x4ae282=buildRecoveryContext(_0x8d2da7[_0x1b0afd(0x31e,_0x5daf13._0x5a30e4,0x3ce,0x43d)],_0x19e6cf,selectChangedContextLines(_0x4c230f[_0x1b0afd(-0xbe,_0x5daf13._0x243a81,-_0x5daf13._0x9e9f19,0x13b)],_0x19e6cf,_0x3d53d4(0x4c7,_0x5daf13._0x4624d5,0x64b,_0x5daf13._0x15e847)),_0x34abcf[_0x3d53d4(0x29e,0x1de,0x81,0x2f)],_0x2fa191,_0x463db9),_0x1e3ae8[_0x3d53d4(_0x5daf13._0x5963a1,_0x5daf13._0x3e636c,_0x5daf13._0x1e8d83,0x5c3)](_0x19e6cf,_0x4ae282[_0x1b0afd(0x255,0x227,_0x5daf13._0x480822,0x22e)])):_0x4ae282={'tag':'','digest':'','contextLines':[],'output':_0x2fa191+'\x0a'+_0x463db9};throw createAnchoredFileError(_0x3d53d4(0x3da,0x369,0x2be,0x246),_0x4ae282['output'],{'path':_0x8d2da7[_0x3d53d4(_0x5daf13._0x59aa2c,0x536,_0x5daf13._0x21c6a4,_0x5daf13._0x688aec)],'canonicalPath':_0xb2c793['canonicalPath'],..._0x19e6cf!==void 0x0?{'tag':_0x19e6cf['tag'],'digest':_0x19e6cf['digest']}:{},..._0x4ae282['contextLines']['length']>0x0?{'contextLines':[..._0x4ae282[_0x1b0afd(_0x5daf13._0x51eec,0x227,_0x5daf13._0x5007f0,0x245)]]}:{}});}const _0x30576c=createNormalizedFileSnapshot(_0xb2c793[_0x3d53d4(0x178,_0x5daf13._0x17471b,_0x5daf13._0x13b5e1,0x2d1)],_0x540e2b),_0x539844=buildResultText(_0x8d2da7[_0x3d53d4(0x6f4,0x536,0x6e5,0x718)],_0x30576c,selectChangedContextLines(_0x4c230f[_0x3d53d4(_0x5daf13._0x4663fb,_0x5daf13._0x2157d5,0x23b,_0x5daf13._0x2357fd)],_0x30576c,'after'),_0x34abcf[_0x3d53d4(0xd7,_0x5daf13._0x436889,0x2a5,_0x5daf13._0x321192)],_0x3d53d4(_0x5daf13._0x1cbe47,_0x5daf13._0x5d9f96,_0x5daf13._0x346ec9,0x478)+_0x4e9c82+_0x3d53d4(_0x5daf13._0x3bb1ba,_0x5daf13._0x53d913,_0x5daf13._0x553aca,0x2a7));_0x1e3ae8[_0x1b0afd(_0x5daf13._0x107d0b,_0x5daf13._0x5ad1fc,0x273,0x26b)](_0x30576c,_0x539844[_0x1b0afd(_0x5daf13._0x124bff,_0x5daf13._0x3c96df,_0x5daf13._0x2b5fb4,0x3e5)]),_0x1e3ae8[_0x3d53d4(_0x5daf13._0x2bd73d,0x482,0x356,_0x5daf13._0x4b5618)](_0xb2c793['canonicalPath']);const _0x33b9de={'preview':buildPreview(_0x294c38,_0x8d2da7,_0xb2c793,_0x5b44b7,_0x4c230f),'beforeDigest':_0x5b44b7[_0x1b0afd(0x202,_0x5daf13._0x1a4dad,0x301,_0x5daf13._0x34d79f)]['digest'],'afterDigest':_0x30576c[_0x3d53d4(0x37e,_0x5daf13._0x279b39,0x4fd,_0x5daf13._0x2ff6b5)],'beforeTag':_0x8d2da7[_0x3d53d4(0x14e,_0x5daf13._0x4bb05f,_0x5daf13._0x51c695,0x3c5)],'afterTag':_0x30576c['tag'],'bytesWritten':_0x564e68[_0x1b0afd(_0x5daf13._0x239066,0x33d,0x140,0x24b)],'dryRun':![],'operationCount':_0x4e9c82,'tokenClassification':'edit'};return createToolOutput(_0x539844[_0x1b0afd(0x46a,_0x5daf13._0x279881,_0x5daf13._0x282da4,_0x5daf13._0x53501b)],_0x33b9de);});}import{readFile as _0xb7dadf,stat as _0x1a73cd}from'fs/promises';import*as _0x19626b from'path';function detectEol(_0x1d2c3d){const _0x1f489d={_0x102917:0x6e,_0x377227:0xe6,_0x575ec7:0x6c,_0x59bb9a:0x30},_0xdd6d5a={_0x465f0e:0xa8,_0x17a17c:0xbe};function _0x323790(_0x453a1d,_0x2fd8d7,_0x184f85,_0x3a586f){return _0x4a0aa5(_0x184f85,_0x453a1d- -0x1c7,_0x184f85-_0xdd6d5a._0x465f0e,_0x3a586f-_0xdd6d5a._0x17a17c);}function _0x4f3099(_0x3762a8,_0x46deaa,_0x3ee5b7,_0x3764cb){return _0x38b1c5(_0x3762a8-0xf8,_0x46deaa-0x16b,_0x3764cb- -0x59b,_0x46deaa);}return/\r\n/[_0x4f3099(_0x1f489d._0x102917,-0x1c,0x136,0xe7)](_0x1d2c3d[_0x323790(0x2c8,0x26d,0x35f,0x279)](_0x4f3099(-0x52,_0x1f489d._0x377227,_0x1f489d._0x575ec7,-_0x1f489d._0x59bb9a)))?'crlf':'lf';}function normalizeToLf(_0x4058a5){const _0x1a84af={_0x410193:0x10d},_0x342a93={_0x18fe57:0x3b};function _0x1fc93a(_0x3da21,_0x590d89,_0x2cd21a,_0x4862ed){return _0x38b1c5(_0x3da21-0x22,_0x590d89-_0x342a93._0x18fe57,_0x590d89- -0x363,_0x3da21);}return _0x4058a5[_0x1fc93a(0x3b,0x9f,-_0x1a84af._0x410193,-0x3c)](/\r\n/g,'\x0a');}function convertEol(_0xe42419,_0x125561){const _0x410ee7={_0x54dd38:0x6f},_0x1eac49={_0x32ea47:0xdf,_0x31f532:0x139};function _0x499649(_0xde97f8,_0x13e3b7,_0x1f4df9,_0x5af1ee){return _0x38b1c5(_0xde97f8-_0x1eac49._0x32ea47,_0x13e3b7-_0x1eac49._0x31f532,_0x5af1ee- -0x393,_0x13e3b7);}return _0x125561==='crlf'?_0xe42419[_0x499649(-0x25,-0xd6,0x43,_0x410ee7._0x54dd38)](/\n/g,'\x0d\x0a'):_0xe42419;}function resolveAnchoredEditTarget(_0x570eea,_0x421c02,_0x3c96f6,_0x269f86){const _0x123ec2={_0x4dd248:0x2d5,_0x1f8d25:0x16a,_0x44df4d:0x44d,_0xcd34f1:0x5bc,_0x8feac6:0x3d2,_0x5a0bb7:0x650,_0x229811:0xe1,_0xfffd87:0xdb,_0x30f6cb:0x16e,_0x166f8d:0x2a4,_0x24c6bf:0x2c1,_0x1739ce:0x322,_0x5e259d:0x4d8,_0x456478:0x189,_0xfc09a4:0x13,_0x33265c:0x2c1,_0x155d81:0x357,_0x15ba85:0x257},_0x4780c5={_0x3f89ee:0x4cf},_0xde7413={_0x1bce6e:0x20d},_0x31f301=_0x570eea[_0x4798a8(0x1ff,_0x123ec2._0x4dd248,_0x123ec2._0x1f8d25,0x1b)]??_0x4798a8(_0x123ec2._0x44df4d,_0x123ec2._0xcd34f1,_0x123ec2._0x8feac6,_0x123ec2._0x5a0bb7);if(_0x31f301===_0x3a7ce4(0xcd,_0x123ec2._0x229811,_0x123ec2._0xfffd87,-0xa4))return void 0x0;const _0x172188=_0x570eea['observations'],_0x3ea137=_0x570eea[_0x3a7ce4(_0x123ec2._0x30f6cb,0x350,0x30e,0x265)],_0x1f0858=_0x570eea[_0x4798a8(_0x123ec2._0x166f8d,_0x123ec2._0x24c6bf,0xa4,0x233)];if(_0x172188===void 0x0||_0x3ea137===void 0x0||_0x1f0858===void 0x0){const _0x33ae6f=[_0x172188===void 0x0?_0x4798a8(0x48b,_0x123ec2._0x1739ce,_0x123ec2._0x5e259d,0x28e):void 0x0,_0x3ea137===void 0x0?'mutations':void 0x0,_0x1f0858===void 0x0?'outputBudgetBytes':void 0x0]['filter'](_0x9225e1=>_0x9225e1!==void 0x0)['join'](',\x20');throw new Error(_0x421c02+'\x20'+_0x31f301+_0x3a7ce4(_0x123ec2._0x456478,0x107,-_0x123ec2._0xfc09a4,_0x123ec2._0x33265c)+_0x33ae6f+_0x3a7ce4(0x24e,0x3ea,_0x123ec2._0x155d81,_0x123ec2._0x15ba85));}function _0x4798a8(_0x2126b5,_0x456baf,_0x18abca,_0x3090db){return _0x38b1c5(_0x2126b5-0x119,_0x456baf-0x18c,_0x2126b5- -_0xde7413._0x1bce6e,_0x456baf);}function _0x3a7ce4(_0x1f8ecb,_0x335930,_0x1b3cba,_0x253d18){return _0x4a0aa5(_0x1b3cba,_0x1f8ecb- -_0x4780c5._0x3f89ee,_0x1b3cba-0x104,_0x253d18-0x1d);}return{'mode':_0x31f301,'environment':{'defaultCwd':_0x3c96f6,'allowedDirs':_0x269f86,'observations':_0x172188,'mutations':_0x3ea137,'outputBudgetBytes':_0x1f0858}};}function createFileEditTool(_0x17065f={}){const _0x3bffb1={_0xf8d88f:0x3d7,_0x3bd635:0x24d,_0x142ded:0x165,_0x1a1df7:0xe7,_0x56bda9:0x13e,_0x30da20:0xf9,_0x50dd49:0xd1,_0x2cb386:0x42,_0x5526a7:0x1ad,_0x5a2a3e:0x29,_0x530562:0x217,_0x43360e:0x25c,_0x5a9abc:0x1d0,_0x1ae793:0x7,_0x9c980f:0x3a,_0x65662a:0x116,_0x4c961e:0xb9,_0x231370:0x1d6,_0x449dc3:0x258,_0x1720d5:0x1ca,_0x104ec2:0xca,_0x200e93:0x74,_0x35aec2:0x12a,_0x57baf8:0x3e7,_0x4d3163:0x376,_0x2f0b4d:0x208,_0x380638:0xf5,_0x41a137:0x7f,_0x2b9be7:0x39b,_0x5194a8:0xc2,_0x24b2b1:0x120,_0x51e071:0x210,_0x3b6114:0x1ba},_0x33da32={_0x4db683:0x8a4,_0x414ff1:0x9ee,_0x5668da:0x8bd,_0x3cd089:0x89c,_0x4b5b55:0x510,_0x288fff:0x601,_0x4916fd:0x54a,_0x238c47:0x1a5,_0x2bf1c6:0x3d,_0x2d1861:0xae,_0xaea9a5:0x1a,_0x16fa1f:0x132,_0x3d817a:0x5c3,_0x44f5a2:0x442,_0x10db38:0xed,_0x9c62a4:0x6c,_0x3a14b9:0x121,_0x2be192:0x3f4,_0x3d5958:0x5d,_0x5deda8:0x133,_0x3bf4b0:0x4dd,_0x11f841:0x61f,_0x1c9598:0x700,_0x498b60:0x693,_0xfb07e5:0x6e9,_0x39df3b:0x6d1,_0x88ea49:0x75c,_0x140d03:0x25,_0x20df0d:0xa2,_0x5d3fbd:0x97b,_0x57e81c:0x709,_0x403a3f:0x801,_0x191373:0x7ec,_0xb132c2:0x1a0,_0x24378d:0x9f,_0x9da539:0x6f,_0x2b4348:0xa0,_0x1e21d0:0x15b,_0x2988db:0x8f7,_0x3bf9e6:0x48,_0x2ff821:0x13},_0x1416fb={_0x881821:0x70},_0x2b3aad={_0x1f4f24:0x496,_0x43899b:0x13d},_0x3b7135={_0x53735b:0x446,_0x4e9731:0xf3},_0xfd00c1=_0x19626b['resolve'](_0x17065f[_0x4e7662(_0x3bffb1._0xf8d88f,0x169,0x2f8,0x1a0)]??process['cwd']()),_0x2028cc=_0x17065f[_0x4e7662(0x11d,_0x3bffb1._0x3bd635,_0x3bffb1._0x142ded,_0x3bffb1._0x1a1df7)]??[];function _0x4e7662(_0x3a9d40,_0x489dc1,_0x4a4018,_0x529ae3){return _0x4a0aa5(_0x3a9d40,_0x4a4018- -_0x3b7135._0x53735b,_0x4a4018-0x32,_0x529ae3-_0x3b7135._0x4e9731);}const _0xaef2e5=_0x17065f[_0x4e7662(0x1f4,-0xb9,_0x3bffb1._0x56bda9,0x22a)]??_0x3e3212(_0x3bffb1._0x30da20,_0x3bffb1._0x50dd49,0x137,_0x3bffb1._0x2cb386);function _0x3e3212(_0x1d15c7,_0x52153f,_0x220e63,_0x463d77){return _0x4a0aa5(_0x1d15c7,_0x52153f- -_0x2b3aad._0x1f4f24,_0x220e63-_0x2b3aad._0x43899b,_0x463d77-0x3d);}const _0x2314d6=resolveAnchoredEditTarget(_0x17065f,_0xaef2e5,_0xfd00c1,_0x2028cc);if(_0x2314d6!==void 0x0){const {mode:_0x3f3003,environment:_0x5c2d64}=_0x2314d6;return defineTool({'name':_0xaef2e5,'permissionClass':_0x4e7662(-0x12b,-_0x3bffb1._0x5526a7,-_0x3bffb1._0x5a2a3e,-_0x3bffb1._0x530562),'description':_0x3f3003===_0x3e3212(-0x203,0x7,0x1c2,-0xb5)?_0x4e7662(0x5e,_0x3bffb1._0x43360e,_0x3bffb1._0x5a9abc,0x97):'Edit\x20a\x20UTF-8\x20text\x20file\x20using\x20snapshot-anchored\x20line\x20operations.\x20Call\x20FileRead\x20first\x20to\x20obtain\x20the\x20current\x20[path#TAG]\x20header\x20and\x20N:\x20line\x20numbers;\x20every\x20edit\x20requires\x20that\x20tag.\x20Reuse\x20the\x20fresh\x20#TAG\x20returned\x20by\x20a\x20successful\x20edit\x20for\x20the\x20next\x20edit\x20on\x20the\x20same\x20file,\x20and\x20re-read\x20only\x20when\x20you\x20need\x20unseen\x20line\x20numbers\x20or\x20a\x20tag\x20is\x20rejected.\x20Line\x20numbers\x20in\x20operations\x20refer\x20to\x20the\x20N:\x20rows\x20from\x20your\x20most\x20recent\x20read.','inputSchema':_0x3f3003===_0x3e3212(0xdb,_0x3bffb1._0x1ae793,0xb1,0x13a)?hashlineFileEditInputSchema:structuredFileEditInputSchema,async *'execute'(_0x177586,_0x4da704){return yield await executeAnchoredFileEdit(_0x3f3003,_0x177586,_0x4da704,_0x5c2d64),void 0x0;}});}return defineTool({'name':_0xaef2e5,'permissionClass':'write','description':_0x3e3212(-_0x3bffb1._0x9c980f,-_0x3bffb1._0x65662a,-_0x3bffb1._0x4c961e,-0x2fa),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x4e7662(0x33a,0x413,0x258,_0x3bffb1._0x231370)},'description':{'type':_0x4e7662(0x15b,0x30c,_0x3bffb1._0x449dc3,0x3f2),'description':_0x3e3212(_0x3bffb1._0x1720d5,_0x3bffb1._0x104ec2,_0x3bffb1._0x200e93,_0x3bffb1._0x35aec2)},'oldText':{'type':_0x3e3212(0x268,0x208,_0x3bffb1._0x57baf8,_0x3bffb1._0x4d3163)},'newText':{'type':_0x3e3212(0x182,_0x3bffb1._0x2f0b4d,0x39d,0x2b3)},'dryRun':{'type':_0x3e3212(_0x3bffb1._0x380638,-0xbc,0x7,_0x3bffb1._0x41a137)}},'required':[_0x4e7662(_0x3bffb1._0x2b9be7,0x469,0x305,0x3a4),_0x3e3212(0x118,-_0x3bffb1._0x5194a8,-0x15,-_0x3bffb1._0x24b2b1),_0x4e7662(-_0x3bffb1._0x51e071,0xc7,-_0x3bffb1._0x4c961e,-_0x3bffb1._0x3b6114)]},async *'execute'(_0xf6dd5b){const _0x4a2870={_0x2807a8:0xe8,_0x533781:0x5b8},_0x420b2b=resolveAllowedPath(_0xfd00c1,_0x2028cc,_0xf6dd5b[_0x47e760(_0x33da32._0x4db683,_0x33da32._0x414ff1,_0x33da32._0x5668da,_0x33da32._0x3cd089)]);await assertWorkspaceFile(_0x420b2b);const _0x5210b0=await _0x1a73cd(_0x420b2b),_0x24650e=await _0xb7dadf(_0x420b2b);function _0x47e760(_0x4d9189,_0x5114e7,_0x6175a9,_0x5c8aca){return _0x4e7662(_0x5c8aca,_0x5114e7-_0x4a2870._0x2807a8,_0x6175a9-_0x4a2870._0x533781,_0x5c8aca-0x140);}const _0x113888=detectEol(_0x24650e),_0x5e0212=normalizeToLf(_0x24650e[_0x47e760(_0x33da32._0x4b5b55,0x637,_0x33da32._0x288fff,_0x33da32._0x4916fd)](_0x36d286(-0x1fe,_0x33da32._0x238c47,-_0x33da32._0x2bf1c6,-0x59))),_0x3bc974=normalizeToLf(_0xf6dd5b[_0x36d286(_0x33da32._0x2d1861,-_0x33da32._0xaea9a5,-0x27f,-_0x33da32._0x16fa1f)]),_0xcd3f81=normalizeToLf(_0xf6dd5b[_0x47e760(_0x33da32._0x3d817a,_0x33da32._0x44f5a2,0x4ff,0x57e)]),_0x459f6a=replaceFirstExact(_0x5e0212,_0x3bc974,_0xcd3f81);if(_0x459f6a===void 0x0){const _0x7cea2d=_0x3bc974[_0x36d286(-0xb2,_0x33da32._0x10db38,-0x69,0xe)](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError('oldText\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x20Searching\x20for:\x20\x22'+_0x7cea2d+(_0x3bc974[_0x36d286(-_0x33da32._0x9c62a4,0xf0,0x1a9,0x1a3)]>0x64?_0x47e760(0x6c3,0x5e7,0x757,0x87b):'')+'\x22',{'filePath':_0xf6dd5b[_0x36d286(0x3b8,_0x33da32._0x3a14b9,_0x33da32._0x2be192,0x245)]});}const _0x56c720=convertEol(_0x459f6a[_0x36d286(-_0x33da32._0x3d5958,0x8e,0x1ad,0x1af)],_0x113888),_0x20f040=Buffer[_0x36d286(0x8b,-0x1cb,-_0x33da32._0x5deda8,-0x9f)](_0x56c720,_0x47e760(0x51c,_0x33da32._0x3bf4b0,_0x33da32._0x11f841,_0x33da32._0x1c9598)),_0xbc804d=sha256Bytes(_0x24650e),_0x8cd38f=sha256Bytes(_0x20f040),_0x55e676=_0xbc804d===_0x8cd38f;function _0x36d286(_0x27ad4d,_0x285c10,_0x3fc172,_0x34cdbb){return _0x3e3212(_0x27ad4d,_0x34cdbb- -_0x1416fb._0x881821,_0x3fc172-0x17c,_0x34cdbb-0x1db);}const _0x5399c6=_0xf6dd5b['dryRun']??![];return!_0x5399c6&&!_0x55e676&&await atomicReplaceFile(_0x420b2b,_0x20f040,_0x5210b0[_0x47e760(0x608,0x545,0x4c0,_0x33da32._0x4916fd)]),yield createToolOutput(_0x55e676?_0x47e760(_0x33da32._0x498b60,_0x33da32._0xfb07e5,_0x33da32._0x39df3b,_0x33da32._0x88ea49):_0x5399c6?_0x36d286(_0x33da32._0x140d03,0x1cf,-_0x33da32._0x20df0d,0xc1):_0x47e760(0x8dc,_0x33da32._0x5d3fbd,0x884,0x849),{'filePath':_0xf6dd5b['filePath'],'resolvedPath':_0x420b2b,'created':_0x5210b0[_0x47e760(0x933,_0x33da32._0x57e81c,_0x33da32._0x403a3f,0x8ca)][_0x47e760(0x53b,0x409,0x52e,0x41e)](),'modified':_0x5210b0[_0x47e760(0x7f0,0x89b,0x767,_0x33da32._0x191373)][_0x36d286(-_0x33da32._0xb132c2,_0x33da32._0x24378d,-0x2ae,-0x14a)](),'size':_0x5210b0[_0x36d286(-_0x33da32._0x9da539,-_0x33da32._0x2b4348,-0x1d4,-_0x33da32._0x1e21d0)],'eol':_0x113888,'oldTextLength':_0x3bc974['length'],'newTextLength':_0xcd3f81[_0x47e760(0x6fc,_0x33da32._0x2988db,0x81b,0x7cd)],'bytesWritten':_0x55e676||_0x5399c6?0x0:_0x20f040[_0x36d286(_0x33da32._0x3bf9e6,_0x33da32._0x2ff821,0x304,0x1a3)],'beforeSha':_0xbc804d,'afterSha':_0x8cd38f,'dryRun':_0x5399c6,'noChange':_0x55e676,'lineNumbers':_0x459f6a['lineNumbers']}),void 0x0;}});}var FileMutationCoordinator=class{[_0x4a0aa5(0x710,0x611,0x7eb,0x4d8)]=new Map();async[_0x38b1c5(0x558,0x36a,0x51a,0x553)](_0x46de1a,_0x567a42,_0xb908c6){const _0x348807={_0xaa98e4:0x518,_0x3d99ea:0x6ab,_0x353c4d:0x528,_0x2f9cc8:0x63d,_0x3fcde9:0x28f,_0x433dee:0x215,_0x34fbfa:0x296,_0x4a60d4:0x172,_0xa6a38a:0x6cb,_0x944688:0x603},_0x3af030={_0x622221:0x36},_0x52c121={_0xcbec50:0x4fa,_0x3e55fe:0x322,_0x5a7fb8:0x2cc,_0x4cfaa6:0x485,_0x4b80f1:0x30f,_0x38f651:0x1f5,_0x565109:0x187},_0x1cd304={_0x527cb3:0x95,_0x1cf43a:0x604};throwIfAborted(_0x567a42);const _0x17dfb9=this[_0x473990(_0x348807._0xaa98e4,0x699,_0x348807._0x3d99ea,0x76e)]['get'](_0x46de1a)??Promise[_0x473990(0x6b1,_0x348807._0x353c4d,0x69f,_0x348807._0x2f9cc8)](),_0x1db533=_0x17dfb9[_0x27e8ac(-0x3c0,-_0x348807._0x3fcde9,-0xc3,-_0x348807._0x433dee)](async()=>{return throwIfAborted(_0x567a42),_0xb908c6();});function _0x27e8ac(_0x385154,_0x1cf4d5,_0x4ffcc7,_0x2b9681){return _0x38b1c5(_0x385154-_0x1cd304._0x527cb3,_0x1cf4d5-0xcc,_0x2b9681- -_0x1cd304._0x1cf43a,_0x4ffcc7);}const _0x58d884=_0x1db533[_0x27e8ac(-_0x348807._0x34fbfa,-0x283,-_0x348807._0x4a60d4,-0x215)](()=>void 0x0,()=>void 0x0);this[_0x473990(_0x348807._0xa6a38a,0x699,0x66b,_0x348807._0x944688)]['set'](_0x46de1a,_0x58d884),void _0x58d884[_0x473990(0x74e,0x74b,0x77c,0x60c)](()=>{const _0x546e18={_0x408ab0:0x183,_0x3c73ba:0x1b4,_0x274b4c:0x128},_0x1ba7e5={_0x3ba61e:0xe3};function _0xfd58fb(_0x9d6988,_0x541e85,_0x4f34b3,_0x2570cf){return _0x27e8ac(_0x9d6988-_0x1ba7e5._0x3ba61e,_0x541e85-0xae,_0x2570cf,_0x4f34b3-0x3ba);}function _0x545233(_0x540767,_0x4cc125,_0x47f0cb,_0x1fb62a){return _0x473990(_0x540767-_0x546e18._0x408ab0,_0x540767- -_0x546e18._0x3c73ba,_0x47f0cb-_0x546e18._0x274b4c,_0x4cc125);}this[_0x545233(0x4e5,_0x52c121._0xcbec50,0x374,0x3cc)]['get'](_0x46de1a)===_0x58d884&&this[_0xfd58fb(_0x52c121._0x3e55fe,_0x52c121._0x5a7fb8,_0x52c121._0x4cfaa6,0x39c)][_0xfd58fb(_0x52c121._0x4b80f1,_0x52c121._0x38f651,0x2a4,_0x52c121._0x565109)](_0x46de1a);});function _0x473990(_0x4775f5,_0x13839f,_0x107ddd,_0x1874ea){return _0x38b1c5(_0x4775f5-0xa3,_0x13839f-0x2a,_0x13839f- -_0x3af030._0x622221,_0x1874ea);}return _0x1db533;}};import{mkdir as _0x2a1141,stat as _0x1e5802}from'fs/promises';import*as _0x12408d from'path';function createFileNewTool(_0x41e536={}){const _0xe097d4={_0x2214ad:0x4fa,_0x48415b:0x917,_0xa80041:0x81a,_0x5b9546:0x5a2,_0x18e564:0x75f,_0x302a56:0x5ab,_0x4c59cb:0x71b,_0x149bbe:0x5e7,_0x3a61b0:0x52f,_0x3451fa:0x5b4,_0x1971c3:0x4b1,_0x168b7a:0x7ce,_0x5a37ec:0x8f5,_0x24d416:0x764,_0x1873d5:0x6c7,_0x28192f:0x7ba,_0x3f1134:0x5d2,_0x18993b:0x8cc,_0x661082:0x9bc,_0x4c7c73:0x9e8,_0x29bf07:0x8e2,_0x3adffe:0x94d},_0x2a95f5={_0x3e0ee1:0x744,_0x457997:0x557,_0x5db696:0x4d2,_0x29ba0e:0xaa,_0x128997:0x220,_0x413de9:0x34b,_0x32dbc4:0x151,_0x3395e1:0x5c4,_0xf00cad:0x4a6,_0x3e6ff4:0x397,_0x1d0a8f:0x463,_0x4e8f6d:0x334,_0x1aa8c6:0x32c,_0x38514e:0x376,_0x28f342:0x1ab,_0x12500d:0x344,_0x2721db:0x4b4,_0x25df04:0x557,_0x40c6a3:0x24b,_0x2441e4:0x3d5,_0x4d8cd7:0x342,_0x16f564:0x263,_0x36a4a3:0x1c4,_0x41327b:0x58b,_0x37c4ed:0x5af,_0x3f45c7:0x856,_0x4d8b8f:0x5b9,_0x1f1f8a:0x65b,_0x4f618c:0x832,_0x276c4c:0x6d5,_0x319cd3:0x62a,_0x3668e0:0x483,_0x274768:0x477,_0xb7449e:0x782,_0x44259d:0x8d5,_0x41c255:0x89e,_0xf5905a:0x8a1,_0x4e3327:0x68c,_0x18f6e6:0x74e,_0x3d0c2c:0xb0,_0x330f48:0x214,_0xb788cf:0x782,_0x2c2aa5:0x6a2,_0x289e4f:0x398,_0x2b646f:0x6e0,_0x5ac95f:0x7e0,_0x314c6b:0x644,_0x55d1ad:0x382,_0x3ecae1:0x229},_0x48aced={_0x462ff3:0x16f,_0x193462:0x160},_0x40a2d1={_0x454784:0x158,_0x23dac6:0x111,_0x567ace:0x5e},_0x1e60a9={_0x404f27:0x19d},_0x11d519=_0x12408d[_0x4ae761(0x5bc,0x747,_0xe097d4._0x2214ad,0x73c)](_0x41e536[_0x33f7ef(0x7ac,0x8cf,0x8d5,_0xe097d4._0x48415b)]??process[_0x33f7ef(_0xe097d4._0xa80041,0x65c,0x792,_0xe097d4._0x5b9546)]()),_0x1f5ca1=_0x41e536[_0x4ae761(0x6c7,0x878,_0xe097d4._0x18e564,_0xe097d4._0x302a56)]??[];function _0x33f7ef(_0x1d6609,_0x35cf04,_0x48ddca,_0x21e626){return _0x4a0aa5(_0x21e626,_0x48ddca-0x197,_0x48ddca-0x2d,_0x21e626-_0x1e60a9._0x404f27);}const _0x53a3bb=_0x41e536[_0x33f7ef(0x571,0x799,_0xe097d4._0x4c59cb,_0xe097d4._0x149bbe)]??_0x4ae761(0x6ae,_0xe097d4._0x3a61b0,0x788,0x81c);function _0x4ae761(_0xe28589,_0x108820,_0x4dba27,_0x27b929){return _0x38b1c5(_0xe28589-_0x40a2d1._0x454784,_0x108820-_0x40a2d1._0x23dac6,_0xe28589-_0x40a2d1._0x567ace,_0x4dba27);}const {observations:_0x1a392e,anchored:anchored=![]}=_0x41e536;return defineTool({'name':_0x53a3bb,'permissionClass':_0x33f7ef(0x5e2,0x7ad,_0xe097d4._0x3451fa,_0xe097d4._0x1971c3),'description':_0x33f7ef(_0xe097d4._0x168b7a,0x67f,0x893,_0xe097d4._0x5a37ec),'inputSchema':{'type':_0x33f7ef(0x797,_0xe097d4._0x24d416,_0xe097d4._0x1873d5,0x8cf),'properties':{'filePath':{'type':'string'},'content':{'type':_0x4ae761(_0xe097d4._0x28192f,0x7ae,_0xe097d4._0x3f1134,_0xe097d4._0x18993b)}},'required':[_0x33f7ef(_0xe097d4._0x661082,_0xe097d4._0x4c7c73,_0xe097d4._0x29bf07,_0xe097d4._0x3adffe),'content']},async *'execute'(_0x2f596f,_0x4e2b4f){const _0x6d3429={_0x3dd177:0x310,_0x161089:0x1a6};function _0x2adccc(_0x53ed8a,_0x26db57,_0x1618e9,_0x4ed1c7){return _0x4ae761(_0x1618e9- -_0x6d3429._0x3dd177,_0x26db57-_0x6d3429._0x161089,_0x26db57,_0x4ed1c7-0x18b);}const _0x3e7bd2=resolveAllowedPath(_0x11d519,_0x1f5ca1,_0x2f596f[_0x2adccc(_0x2a95f5._0x3e0ee1,0x392,_0x2a95f5._0x457997,_0x2a95f5._0x5db696)]),_0x5a7951=await _0x1e5802(_0x3e7bd2)[_0x2adccc(_0x2a95f5._0x29ba0e,0x32a,0x146,_0x2a95f5._0x128997)](()=>void 0x0),_0x34da50=_0x5a7951!==void 0x0,_0x3a7fea=Buffer['from'](_0x2f596f['content'],_0x2adccc(_0x2a95f5._0x413de9,0x1b3,0x2b9,_0x2a95f5._0x32dbc4)),_0x2781be=_0x5a7951!==void 0x0?_0x5a7951[_0x2adccc(0x2f7,0x20a,0x15a,-0xa7)]&0xfff:0x1b6&~process[_0x469443(_0x2a95f5._0x3395e1,_0x2a95f5._0xf00cad,_0x2a95f5._0x3e6ff4,_0x2a95f5._0x1d0a8f)]();let _0xa87648;function _0x469443(_0x7208ef,_0x44ea7d,_0xb95d23,_0x5a7bbb){return _0x33f7ef(_0x7208ef-_0x48aced._0x462ff3,_0x44ea7d-0xe8,_0x44ea7d- -_0x48aced._0x193462,_0x7208ef);}anchored&&_0x1a392e!==void 0x0&&(_0xa87648=createNormalizedFileSnapshot(_0x3e7bd2,_0x3a7fea)[_0x2adccc(_0x2a95f5._0x4e8f6d,_0x2a95f5._0x1aa8c6,_0x2a95f5._0x38514e,0x488)]);await _0x2a1141(_0x12408d[_0x2adccc(0x32f,0x31c,_0x2a95f5._0x28f342,_0x2a95f5._0x12500d)](_0x3e7bd2),{'recursive':!![]}),await atomicReplaceFile(_0x3e7bd2,_0x3a7fea,_0x2781be);if(_0xa87648!==void 0x0&&_0x1a392e!==void 0x0){const _0x459b41=await resolveCanonicalAllowedFile(_0x11d519,_0x1f5ca1,_0x2f596f[_0x2adccc(_0x2a95f5._0x2721db,0x614,_0x2a95f5._0x25df04,0x6f4)]),_0xe19258=createNormalizedFileSnapshot(_0x459b41[_0x469443(_0x2a95f5._0x40c6a3,_0x2a95f5._0x2441e4,_0x2a95f5._0x4d8cd7,_0x2a95f5._0x16f564)],_0x3a7fea);_0x1a392e[_0x2adccc(_0x2a95f5._0x36a4a3,0x335,0x302,0x134)](_0x4e2b4f[_0x469443(0x4e3,0x603,_0x2a95f5._0x41327b,_0x2a95f5._0x37c4ed)]),_0x1a392e[_0x469443(_0x2a95f5._0x3f45c7,0x6ef,0x8c0,0x845)](_0xe19258,_0xe19258[_0x469443(_0x2a95f5._0x4d8b8f,0x76b,_0x2a95f5._0x1f1f8a,_0x2a95f5._0x4f618c)][_0x469443(_0x2a95f5._0x276c4c,0x618,0x6b1,0x4f8)]((_0x5ed341,_0x5f36fe)=>_0x5f36fe+0x1));}return yield createToolOutput(_0xa87648===void 0x0?_0x469443(_0x2a95f5._0x319cd3,_0x2a95f5._0x3668e0,_0x2a95f5._0x274768,0x4eb)+_0x2f596f[_0x469443(0x645,_0x2a95f5._0xb7449e,_0x2a95f5._0x44259d,_0x2a95f5._0x41c255)]+'.':'['+_0x2f596f[_0x469443(_0x2a95f5._0xf5905a,0x782,_0x2a95f5._0x4e3327,_0x2a95f5._0x18f6e6)]+'#'+_0xa87648+_0x2adccc(0xa8,_0x2a95f5._0x3d0c2c,_0x2a95f5._0x330f48,0x27)+_0x2f596f[_0x469443(0x803,_0x2a95f5._0xb788cf,0x94f,0x73d)]+'.',{'filePath':_0x2f596f[_0x2adccc(_0x2a95f5._0x2c2aa5,_0x2a95f5._0x289e4f,0x557,0x461)],'resolvedPath':_0x3e7bd2,'bytes':_0x3a7fea[_0x469443(0x78d,_0x2a95f5._0x2b646f,_0x2a95f5._0x5ac95f,0x5a2)],'lines':_0x2f596f['content'][_0x469443(0x409,0x484,0x581,0x521)](/\r?\n/)[_0x2adccc(_0x2a95f5._0x314c6b,0x445,0x4b5,_0x2a95f5._0x55d1ad)],'created':new Date()[_0x2adccc(0x349,_0x2a95f5._0x38514e,0x1c8,_0x2a95f5._0x3ecae1)](),'overwritten':_0x34da50,..._0xa87648===void 0x0?{}:{'tag':_0xa87648}}),void 0x0;}});}function _0x38b1c5(_0xb83732,_0x274759,_0x5a1464,_0xc6e3ec){const _0x1bba62={_0x37ce56:0x2a9};return _0x3233(_0x5a1464-_0x1bba62._0x37ce56,_0xc6e3ec);}var FILE_OBSERVATION_LIMITS={'maxPaths':0x1e,'maxVersionsPerPath':0x4,'maxSnapshotBytes':0x40*0x400*0x400},FileObservationStore=class{[_0x4a0aa5(0x2ce,0x398,0x54a,0x38b)];[_0x4a0aa5(0x501,0x368,0x347,0x25e)];[_0x38b1c5(0x800,0x719,0x68a,0x5da)];[_0x38b1c5(0x853,0x91a,0x795,0x7f2)]=new Map();[_0x38b1c5(0x962,0x679,0x77a,0x62b)]=[];[_0x4a0aa5(0x1b4,0x33f,0x424,0x396)]=0x0;[_0x4a0aa5(0x267,0x3ce,0x349,0x22d)]=new Map();[_0x38b1c5(0x6b7,0x3fd,0x5a3,0x628)]=new Map();constructor(_0x39c1f7={}){const _0x1fa02e={_0x52bdf9:0xec,_0x3da723:0x107,_0x58a7dc:0x54,_0x4e35c5:0x5a7,_0x390bc4:0x53c,_0x4deb66:0x292,_0x2f93bd:0x141},_0x100e35={_0x139893:0x484,_0x38cf06:0x6e},_0x1bb52f={_0x2b40f8:0x175,_0x5e7a2f:0x116};function _0x41d084(_0x5c9c5f,_0x2e186f,_0x4f4cb9,_0x2b21cb){return _0x38b1c5(_0x5c9c5f-_0x1bb52f._0x2b40f8,_0x2e186f-0x6d,_0x2b21cb-_0x1bb52f._0x5e7a2f,_0x5c9c5f);}function _0x361b28(_0x293d87,_0x244e36,_0x48e422,_0x381065){return _0x4a0aa5(_0x381065,_0x293d87- -_0x100e35._0x139893,_0x48e422-_0x100e35._0x38cf06,_0x381065-0x1bb);}this['limits']={...FILE_OBSERVATION_LIMITS,..._0x39c1f7[_0x361b28(-_0x1fa02e._0x52bdf9,-_0x1fa02e._0x3da723,-0xaf,-_0x1fa02e._0x58a7dc)]},this[_0x41d084(0x48d,0x54c,_0x1fa02e._0x4e35c5,_0x1fa02e._0x390bc4)]=_0x39c1f7[_0x361b28(-0x11c,-_0x1fa02e._0x4deb66,-_0x1fa02e._0x2f93bd,-0x126)];}[_0x38b1c5(0x51a,0x3b6,0x5b4,0x5c5)](_0x37b914){const _0x5aa266={_0x2a6ddd:0x677,_0x17ca43:0x533,_0x3ef1cb:0x4a6},_0x5317f8={_0x28c7c3:0x32,_0xd63af:0x135,_0x5e633c:0xf9},_0x324c97={_0xc418a1:0x13d};if(this[_0x3af2ab(_0x5aa266._0x2a6ddd,0x617,0x856,0x75a)]===_0x37b914)return;this[_0x21d614(_0x5aa266._0x17ca43,0x66c,0x778,_0x5aa266._0x3ef1cb)]();function _0x3af2ab(_0x58cf5d,_0x55af84,_0x57cb13,_0x1e1710){return _0x4a0aa5(_0x57cb13,_0x1e1710-0x18e,_0x57cb13-0x1d7,_0x1e1710-_0x324c97._0xc418a1);}function _0x21d614(_0x460c07,_0x15bd81,_0x4e765a,_0x350bb9){return _0x38b1c5(_0x460c07-_0x5317f8._0x28c7c3,_0x15bd81-_0x5317f8._0xd63af,_0x15bd81- -_0x5317f8._0x5e633c,_0x460c07);}this['sessionId']=_0x37b914;}[_0x38b1c5(0x5c3,0x94c,0x776,0x854)](_0x4f3c8c,_0x1f5846){const _0x4f2771={_0x58de02:0xd6,_0x26cac0:0x74,_0x2a083c:0x18,_0x3106fe:0x78,_0x539ef0:0x48e,_0x3d2d08:0xc7,_0x3efa12:0x212,_0x44e8af:0x77f,_0x59ffc0:0x781,_0x97e8ad:0x6be,_0x5c2c44:0x79f,_0x1fdbda:0x900,_0x455346:0x7e1,_0x4ea857:0x4ec,_0x304d69:0x3e5,_0x4aec95:0x6fc,_0x4a4bd2:0x19,_0x56f9ef:0xb,_0x387f40:0x26,_0x2e9591:0x373,_0x16a573:0x5d6,_0x2d2878:0x1e1,_0x14dc42:0x10c,_0x43f088:0xfc,_0x297bb4:0x212,_0xa24d2e:0x73,_0x1b9e56:0x103,_0x21ded0:0x25c,_0x46b9d0:0x86,_0x1008f2:0x62d,_0x1a5ac2:0x836,_0x171e75:0x5c0,_0x2e3bb5:0x127,_0x1098a6:0xe0,_0x590e9a:0x1e4,_0x4df87d:0x1c9,_0xa34ee6:0x212,_0x4a686e:0x69b,_0x302fac:0x3d1,_0x20ffc6:0x914,_0x30ec06:0x8b4,_0x303add:0x1a0,_0x3a6f0b:0xc5,_0x4d0787:0xea,_0x3777f5:0x19f,_0x229be2:0x84,_0x51ead6:0x159,_0x543c6d:0x1b5,_0x304d57:0x3e,_0x156b09:0x24f,_0x294d72:0x212,_0x6a21f8:0x825,_0x3db601:0x86c,_0x25014c:0x991,_0x3cf7f4:0x697,_0x570026:0x2bc,_0x1cf405:0x218,_0x46e15e:0x4e2,_0x1dcf59:0x4de,_0x5f5114:0x4e6,_0x1bfdf3:0x5b1,_0x35d327:0x2e9,_0xbcc9e3:0x1b0,_0x4225cd:0xb4,_0x124b3a:0x117,_0x8cab16:0x83f,_0x3d82f7:0x846,_0x500488:0xaf,_0x2f06ff:0xa9},_0x2d63ae={_0x234590:0x14e,_0x339016:0x14};if(_0x4f3c8c[_0x1315bd(_0x4f2771._0x58de02,_0x4f2771._0x26cac0,-_0x4f2771._0x2a083c,_0x4f2771._0x3106fe)]>this['limits']['maxSnapshotBytes'])throw createAnchoredFileError(_0x251e2c(0x7f4,0x85b,0x9ea,0x7bd),_0x251e2c(_0x4f2771._0x539ef0,0x693,0x31a,0x577)+_0x4f3c8c[_0x1315bd(-_0x4f2771._0x3d2d08,-0x36c,-_0x4f2771._0x3efa12,-0x39)]+'\x20is\x20'+_0x4f3c8c['utf8Bytes']+_0x1315bd(-0xdd,-0x3c7,-0x22a,-0x361)+this['limits'][_0x251e2c(_0x4f2771._0x44e8af,_0x4f2771._0x59ffc0,0x6b6,_0x4f2771._0x97e8ad)]+_0x251e2c(_0x4f2771._0x5c2c44,0x97f,_0x4f2771._0x1fdbda,_0x4f2771._0x455346),{'path':_0x4f3c8c[_0x251e2c(_0x4f2771._0x4ea857,0x3f5,_0x4f2771._0x304d69,_0x4f2771._0x4aec95)],'size':_0x4f3c8c[_0x1315bd(_0x4f2771._0x4a4bd2,_0x4f2771._0x56f9ef,-_0x4f2771._0x2a083c,_0x4f2771._0x387f40)]});const _0x659938=this['tagForDigest']?this[_0x251e2c(0x4b6,_0x4f2771._0x2e9591,0x4dc,_0x4f2771._0x16a573)](_0x4f3c8c[_0x1315bd(_0x4f2771._0x2d2878,-0x3e,0x9,0x9d)]):_0x4f3c8c['tag'],_0x4cad66=this['versionsByPath'][_0x1315bd(-0x238,-0x2d,-0x195,-0xaf)](_0x4f3c8c[_0x1315bd(-_0x4f2771._0x14dc42,-_0x4f2771._0x43f088,-_0x4f2771._0x297bb4,-_0x4f2771._0xa24d2e)]),_0x3d81a8=_0x4cad66?.[_0x1315bd(-0x157,-0x20d,-0x241,-_0x4f2771._0x1b9e56)](_0x5cedac=>_0x5cedac[_0x251e2c(0x688,0x644,0x6aa,0x6ac)]['digest']===_0x4f3c8c[_0x1315bd(-0x30,-0x189,0x9,0xcf)]);let _0x3d1ef3;function _0x251e2c(_0xb32d9d,_0x5e7ee5,_0x4cdd4d,_0x5db10b){return _0x4a0aa5(_0x4cdd4d,_0xb32d9d-_0x2d63ae._0x234590,_0x4cdd4d-0x156,_0x5db10b-_0x2d63ae._0x339016);}if(_0x3d81a8){for(const _0x4507cb of _0x1f5846)_0x3d81a8[_0x1315bd(-0xa5,_0x4f2771._0x21ded0,_0x4f2771._0x46b9d0,0x39)][_0x251e2c(_0x4f2771._0x1008f2,_0x4f2771._0x1a5ac2,_0x4f2771._0x171e75,0x6f6)](_0x4507cb);_0x3d1ef3=_0x3d81a8;}else{_0x3d1ef3={'snapshot':_0x4f3c8c,'tag':_0x659938,'observedLines':new Set(_0x1f5846)};if(!_0x4cad66)this[_0x1315bd(0x166,0x204,_0x4f2771._0x2e3bb5,_0x4f2771._0x1098a6)]['set'](_0x4f3c8c[_0x1315bd(-_0x4f2771._0x590e9a,-_0x4f2771._0x4df87d,-_0x4f2771._0xa34ee6,-0x425)],[_0x3d1ef3]);else{if(_0x4cad66['length']>=this[_0x1315bd(-0x2d9,-0xee,-0x218,-0x249)][_0x251e2c(0x52a,_0x4f2771._0x4a686e,0x5c3,_0x4f2771._0x302fac)]){const _0x29aa8c=_0x4cad66[_0x251e2c(0x7d2,_0x4f2771._0x20ffc6,_0x4f2771._0x30ec06,0x684)]();if(_0x29aa8c)this[_0x1315bd(_0x4f2771._0x303add,-_0x4f2771._0x3a6f0b,0x4e,-_0x4f2771._0x4d0787)](_0x29aa8c[_0x251e2c(0x688,0x547,0x51b,0x6a9)][_0x251e2c(0x707,0x63e,0x5e8,0x6fb)]);}_0x4cad66['push'](_0x3d1ef3);}this[_0x1315bd(-_0x4f2771._0x3777f5,-0x22a,-0x237,-_0x4f2771._0x229be2)](_0x4f3c8c['digest'],_0x4f3c8c[_0x1315bd(-0x107,-_0x4f2771._0x51ead6,-0x18,0x3)]);}this[_0x1315bd(-0x17d,-_0x4f2771._0x543c6d,-0x24a,-_0x4f2771._0x304d57)](_0x4f3c8c[_0x1315bd(-0x344,-_0x4f2771._0x156b09,-_0x4f2771._0x294d72,-0x401)]);function _0x1315bd(_0x5cdc30,_0x4cfadf,_0x1948fe,_0x38c253){return _0x38b1c5(_0x5cdc30-0x19f,_0x4cfadf-0x46,_0x1948fe- -0x66e,_0x5cdc30);}while(this[_0x251e2c(_0x4f2771._0x6a21f8,_0x4f2771._0x3db601,0x79c,_0x4f2771._0x25014c)][_0x251e2c(0x4f9,_0x4f2771._0x3cf7f4,0x49e,0x320)]>this[_0x1315bd(-0x1e,-_0x4f2771._0x570026,-_0x4f2771._0x1cf405,-0x369)][_0x251e2c(_0x4f2771._0x46e15e,0x506,0x5e3,_0x4f2771._0x1dcf59)]){this['evictLeastRecentlyUsedPath']();}while(this['totalBytes']>this[_0x251e2c(_0x4f2771._0x5f5114,0x331,_0x4f2771._0x1bfdf3,_0x4f2771._0x35d327)][_0x1315bd(_0x4f2771._0xbcc9e3,_0x4f2771._0x4225cd,0x81,_0x4f2771._0x124b3a)]&&this[_0x251e2c(0x80a,0x92b,0x7fa,0x7ad)]['length']>0x1){this[_0x251e2c(0x863,_0x4f2771._0x8cab16,0x86f,_0x4f2771._0x3d82f7)]();}return{'snapshot':_0x3d1ef3['snapshot'],'observedLines':new Set(_0x3d1ef3[_0x1315bd(_0x4f2771._0x500488,_0x4f2771._0x2f06ff,0x86,-0x14f)])};}[_0x38b1c5(0x5f2,0x4ea,0x55e,0x3dd)](_0x92e812,_0x3a5c22){const _0x3415d5={_0x3ef58b:0x1f4,_0x242808:0x429,_0x852b1:0x68c,_0x24ddbf:0x3e3,_0x39dd9c:0x3d6,_0x4cf4ee:0x48a,_0x5f3560:0x64c,_0x176719:0x696,_0x13899c:0x614,_0x34b097:0x445,_0x480e81:0x1e5,_0x490d22:0x322,_0x4e90d7:0x3f5,_0x3dccf2:0x6c,_0x162a58:0x23c,_0x63c0df:0x189,_0x498e53:0x1cf,_0x3cbc10:0x28b,_0x1c2889:0x573,_0x17d2eb:0x74c,_0x556376:0x763,_0x1a44f9:0x5f4,_0x305837:0x189,_0x819acb:0x733,_0x17f39a:0x737},_0x4e9dab={_0x48dcb9:0x3f},_0x268136={_0xe6c273:0x101,_0x59a024:0x16a,_0xad3dfe:0x3e1},_0x4555e1=this['versionsByPath'][_0x97e9f2(_0x3415d5._0x3ef58b,-0x78,-0xba,0xf8)](_0x92e812);if(!_0x4555e1)throw createAnchoredFileError(_0x97e9f2(0x470,_0x3415d5._0x242808,0x4b7,0x383),_0x38a925(0x7c0,0x563,0x644,_0x3415d5._0x852b1)+_0x3a5c22+_0x97e9f2(_0x3415d5._0x24ddbf,0x498,_0x3415d5._0x39dd9c,0x3f5)+_0x92e812+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x92e812,'tag':_0x3a5c22});function _0x97e9f2(_0x498778,_0x11d282,_0x3aa298,_0x1bf55f){return _0x38b1c5(_0x498778-_0x268136._0xe6c273,_0x11d282-_0x268136._0x59a024,_0x1bf55f- -_0x268136._0xad3dfe,_0x3aa298);}const _0x158777=_0x4555e1[_0x38a925(_0x3415d5._0x4cf4ee,0x30b,0x43a,0x360)](_0x5ca88f=>_0x5ca88f[_0x97e9f2(0x234,0x2ec,0x226,0x247)]===_0x3a5c22);if(_0x158777[_0x38a925(_0x3415d5._0x5f3560,_0x3415d5._0x176719,0x7a6,_0x3415d5._0x13899c)]===0x0)throw createAnchoredFileError('unknown_snapshot','Snapshot\x20tag\x20'+_0x3a5c22+_0x97e9f2(_0x3415d5._0x34b097,_0x3415d5._0x480e81,_0x3415d5._0x490d22,_0x3415d5._0x4e90d7)+_0x92e812+_0x97e9f2(-_0x3415d5._0x3dccf2,_0x3415d5._0x162a58,0x179,_0x3415d5._0x63c0df),{'path':_0x92e812,'tag':_0x3a5c22});if(_0x158777[_0x38a925(0x86d,0x741,0x7a6,0x8a4)]>0x1)throw createAnchoredFileError(_0x97e9f2(0xb1,_0x3415d5._0x498e53,_0x3415d5._0x3cbc10,0x1cc),'Snapshot\x20tag\x20'+_0x3a5c22+_0x38a925(_0x3415d5._0x1c2889,_0x3415d5._0x17d2eb,_0x3415d5._0x556376,_0x3415d5._0x1a44f9)+_0x92e812+_0x97e9f2(0x15c,0x22,0x1c3,_0x3415d5._0x305837),{'path':_0x92e812,'tag':_0x3a5c22});this['touchPath'](_0x92e812);function _0x38a925(_0x5c3428,_0x4abe6c,_0x335936,_0x1f72db){return _0x38b1c5(_0x5c3428-0x7,_0x4abe6c-0x1a5,_0x335936-_0x4e9dab._0x48dcb9,_0x1f72db);}return{'snapshot':_0x158777[0x0]['snapshot'],'observedLines':new Set(_0x158777[0x0][_0x38a925(0x7fa,0x6fb,_0x3415d5._0x819acb,_0x3415d5._0x17f39a)])};}['recordNoChange'](_0x111436,_0x341727){const _0x20a74b={_0x23bf5e:0x2fa,_0x34aea7:0x10f,_0x1b6e95:0xdc,_0x313066:0x110,_0x5daa91:0x1de,_0x5199ab:0x49,_0x2ba2c8:0x2f2,_0x16129e:0x4a0,_0x2c2b23:0x232},_0x370d75={_0x521dfd:0x3d5},_0x2d6f71={_0x30f7ed:0x4a,_0x4bc817:0x2b1},_0x57e3be=_0x111436+'\x00'+_0x341727;function _0xc8c7bd(_0x46b6b6,_0xa3f20b,_0x481ff5,_0x53f0d2){return _0x38b1c5(_0x46b6b6-_0x2d6f71._0x30f7ed,_0xa3f20b-0x5d,_0x481ff5- -_0x2d6f71._0x4bc817,_0xa3f20b);}const _0x45f414=(this[_0x175666(_0x20a74b._0x23bf5e,_0x20a74b._0x34aea7,_0x20a74b._0x1b6e95,_0x20a74b._0x313066)][_0x175666(_0x20a74b._0x5daa91,-_0x20a74b._0x5199ab,0x20d,0x46)](_0x57e3be)??0x0)+0x1;this[_0xc8c7bd(0x301,0x185,_0x20a74b._0x2ba2c8,_0x20a74b._0x16129e)][_0xc8c7bd(0x220,0x52b,0x3dd,_0x20a74b._0x2c2b23)](_0x57e3be,_0x45f414);function _0x175666(_0x2d2886,_0x9f9c65,_0x1c0575,_0x51f579){return _0x4a0aa5(_0x2d2886,_0x51f579- -_0x370d75._0x521dfd,_0x1c0575-0x158,_0x51f579-0x1c3);}return _0x45f414;}['resetNoChange'](_0xd2d599){const _0x295dbf={_0x2579f5:0x2c0,_0x40e57d:0x1b7,_0x8db20e:0x2bb,_0xed7b45:0x5be,_0x15c9c3:0x518,_0xe422b:0x3fa,_0x48507f:0x581,_0x3745ea:0x63,_0xe2c2e2:0x342,_0x3a7083:0x47,_0x3251d9:0x1a3},_0x394141={_0x25a5ba:0x1c0,_0x427500:0xe1,_0x4b629b:0x1a1},_0x13b21d={_0x4fd522:0x108};function _0x3a834a(_0x2543bc,_0x38db80,_0x35985a,_0x2315f6){return _0x38b1c5(_0x2543bc-_0x13b21d._0x4fd522,_0x38db80-0x1e1,_0x2543bc- -0x437,_0x2315f6);}const _0x1f03f2=_0xd2d599+'\x00';function _0x3cba4e(_0x185f4e,_0x208ed7,_0x5ea2e9,_0x2df3c9){return _0x4a0aa5(_0x2df3c9,_0x208ed7- -_0x394141._0x25a5ba,_0x5ea2e9-_0x394141._0x427500,_0x2df3c9-_0x394141._0x4b629b);}for(const _0x11f87a of[...this['noChangeCounters'][_0x3a834a(_0x295dbf._0x2579f5,_0x295dbf._0x40e57d,0x1a2,_0x295dbf._0x8db20e)]()]){if(_0x11f87a[_0x3cba4e(_0x295dbf._0xed7b45,_0x295dbf._0x15c9c3,_0x295dbf._0xe422b,_0x295dbf._0x48507f)](_0x1f03f2))this[_0x3a834a(0x16c,0x285,_0x295dbf._0x3745ea,_0x295dbf._0xe2c2e2)][_0x3a834a(0xb7,0x113,_0x295dbf._0x3a7083,_0x295dbf._0x3251d9)](_0x11f87a);}}[_0x38b1c5(0x7da,0x61b,0x765,0x67b)](){const _0xe618c6={_0x30bbff:0x5dd,_0x3d2147:0x7d4,_0x185a4d:0x51a,_0x332e9b:0x5f2,_0x2a41cd:0x44a,_0x3576e0:0x275,_0x4e5fc7:0x330,_0x2de0a2:0x40b,_0x4a238a:0x25a,_0x43b42e:0x608,_0x39d08d:0x6e4,_0x56a991:0x643,_0x3fa7eb:0x7df},_0x2f0220={_0x7de17b:0xd,_0x39b767:0xbc};this['versionsByPath'][_0x101500(_0xe618c6._0x30bbff,0x7eb,_0xe618c6._0x3d2147,_0xe618c6._0x185a4d)](),this[_0x101500(_0xe618c6._0x332e9b,0x600,_0xe618c6._0x2a41cd,0x580)]=[];function _0x101500(_0x29ebbd,_0x9ef30e,_0x13e26c,_0x1c9060){return _0x4a0aa5(_0x13e26c,_0x29ebbd- -0xca,_0x13e26c-_0x2f0220._0x7de17b,_0x1c9060-_0x2f0220._0x39b767);}this[_0x101500(_0xe618c6._0x3576e0,0x374,0x137,_0xe618c6._0x4e5fc7)]=0x0;function _0x119624(_0x1e6a3e,_0x5f329e,_0x5c7504,_0x4d54f3){return _0x38b1c5(_0x1e6a3e-0x185,_0x5f329e-0x1a6,_0x1e6a3e- -0x81,_0x5c7504);}this[_0x119624(_0xe618c6._0x2de0a2,0x487,0x428,_0xe618c6._0x4a238a)]['clear'](),this[_0x101500(0x41b,0x4c2,_0xe618c6._0x43b42e,0x4d5)][_0x119624(_0xe618c6._0x39d08d,_0xe618c6._0x56a991,_0xe618c6._0x3fa7eb,0x651)]();}['touchPath'](_0x1d8ec2){const _0x2a0db0={_0x9e5187:0x2dc,_0x43983e:0x100,_0x282072:0xa3,_0x203578:0x19,_0x41dcfc:0x149},_0x419e34={_0x32761b:0x416},_0x2e97c6={_0x33b4cc:0x3e0};function _0x728662(_0x220aec,_0x315c1b,_0x1fd6a3,_0x3d6135){return _0x4a0aa5(_0x220aec,_0x1fd6a3- -_0x2e97c6._0x33b4cc,_0x1fd6a3-0x132,_0x3d6135-0xe7);}function _0x55b904(_0x468cb5,_0x417564,_0xe19b27,_0xf55fb4){return _0x38b1c5(_0x468cb5-0x1cc,_0x417564-0x19c,_0x417564- -_0x419e34._0x32761b,_0x468cb5);}const _0xf936e4=this[_0x728662(0x2d9,0x277,_0x2a0db0._0x9e5187,_0x2a0db0._0x43983e)]['indexOf'](_0x1d8ec2);if(_0xf936e4!==-0x1)this['recency'][_0x55b904(0x1f2,_0x2a0db0._0x282072,0x112,-0x1e)](_0xf936e4,0x1);this['recency'][_0x728662(-_0x2a0db0._0x203578,0x14f,-0x22,-_0x2a0db0._0x41dcfc)](_0x1d8ec2);}[_0x4a0aa5(0x5c9,0x715,0x6ed,0x720)](){const _0x9b0d79={_0x1ca15f:0xa19,_0x51876a:0x654,_0xe50513:0x52b,_0x26fff9:0x4e0,_0x40d29d:0x5a4,_0x217325:0x702,_0x130030:0x6ba,_0x13f61a:0x778,_0x102945:0x7f1,_0x37875f:0x3bd},_0x5abbb4={_0x28df10:0xfa,_0x12e082:0x135},_0x49735e={_0x12ffdd:0xb4,_0x316bb0:0x1b2},_0xf3111a=this[_0x1ac99f(_0x9b0d79._0x1ca15f,0x80e,0xa84,0x8af)][_0x50ba9e(0x395,_0x9b0d79._0x51876a,0x551,0x75c)]();if(_0xf3111a===void 0x0)return;const _0x59fb1e=this[_0x50ba9e(_0x9b0d79._0xe50513,_0x9b0d79._0x26fff9,_0x9b0d79._0x40d29d,0x5ea)]['get'](_0xf3111a);function _0x50ba9e(_0x602e07,_0x163cc5,_0x297a22,_0x4e8d60){return _0x4a0aa5(_0x4e8d60,_0x297a22- -0x133,_0x297a22-_0x49735e._0x12ffdd,_0x4e8d60-_0x49735e._0x316bb0);}this[_0x50ba9e(0x3cb,_0x9b0d79._0x217325,0x5a4,_0x9b0d79._0x130030)]['delete'](_0xf3111a);function _0x1ac99f(_0x24ad20,_0x5d592c,_0x2751d8,_0x608ca6){return _0x38b1c5(_0x24ad20-0x181,_0x5d592c-_0x5abbb4._0x28df10,_0x608ca6-_0x5abbb4._0x12e082,_0x5d592c);}if(_0x59fb1e){for(const _0x3211b2 of _0x59fb1e)this[_0x1ac99f(0x643,0x806,_0x9b0d79._0x13f61a,_0x9b0d79._0x102945)](_0x3211b2['snapshot'][_0x50ba9e(0x529,_0x9b0d79._0x37875f,0x486,0x3e4)]);}}[_0x38b1c5(0x63f,0x2c8,0x437,0x2dd)](_0x10e4ec,_0x5728db){const _0x121aa7={_0x429e01:0xe5,_0x34c864:0xd5,_0xfaab4:0x17b,_0x2f3011:0x76,_0xee0ef6:0x1e0,_0x179a7d:0x14c,_0x2abb1a:0x21b},_0x171cfa={_0x1adfe4:0x45b};function _0x5421da(_0x4eba46,_0x3b505c,_0x28b2cb,_0x5d38c9){return _0x4a0aa5(_0x4eba46,_0x28b2cb- -_0x171cfa._0x1adfe4,_0x28b2cb-0x1d8,_0x5d38c9-0x6d);}function _0x36524f(_0x4ecd94,_0x2b2824,_0x1ac2b4,_0x35368e){return _0x38b1c5(_0x4ecd94-0x12f,_0x2b2824-0x25,_0x1ac2b4- -0x618,_0x35368e);}!this['bytesByDigest']['has'](_0x10e4ec)&&(this[_0x5421da(-_0x121aa7._0x429e01,0x89,-0x8d,_0x121aa7._0x34c864)][_0x36524f(0x161,_0x121aa7._0xfaab4,_0x121aa7._0x2f3011,_0x121aa7._0xee0ef6)](_0x10e4ec,_0x5728db),this[_0x36524f(-0x2a7,-_0x121aa7._0x179a7d,-_0x121aa7._0x2abb1a,-0x20d)]+=_0x5728db);}[_0x38b1c5(0x7ed,0x63b,0x6bc,0x8b6)](_0x4adae6){const _0x331b64={_0x45079b:0x4d0,_0x43189b:0x3bd,_0x2f113b:0x59e,_0x37e5c5:0x4cd,_0xbab67e:0x8e0,_0xf8dfd4:0x6f3,_0x5c633d:0x71e,_0x104b39:0x82d,_0x2c2f53:0xe6,_0x20c2a5:0x3c,_0x483611:0x231,_0x3e602d:0x7d,_0x4d9468:0x56b},_0x1cf94f={_0x25c76c:0xa6,_0x1c731e:0x1ae},_0x387790={_0x54822d:0x351};function _0x413531(_0x4405b9,_0x4a1fc8,_0x5a97f2,_0x781d35){return _0x4a0aa5(_0x4405b9,_0x781d35- -_0x387790._0x54822d,_0x5a97f2-0x19b,_0x781d35-0x3d);}function _0x27985e(_0x2ef0e3,_0x3dedac,_0x495e7f,_0x5d314f){return _0x38b1c5(_0x2ef0e3-_0x1cf94f._0x25c76c,_0x3dedac-_0x1cf94f._0x1c731e,_0x495e7f-0x112,_0x5d314f);}if(!this[_0x27985e(_0x331b64._0x45079b,_0x331b64._0x43189b,_0x331b64._0x2f113b,_0x331b64._0x37e5c5)][_0x27985e(0x7a8,0x719,_0x331b64._0xbab67e,_0x331b64._0xf8dfd4)](_0x4adae6))return;const _0x218451=[...this[_0x27985e(_0x331b64._0x5c633d,_0x331b64._0x104b39,0x8a7,0x776)]['values']()]['some'](_0x2ef5b5=>_0x2ef5b5['some'](_0x5587c7=>_0x5587c7[_0x27985e(0x62c,0x819,0x70a,0x506)][_0x27985e(0x96c,0x921,0x789,0x89e)]===_0x4adae6));!_0x218451&&(this['totalBytes']-=this[_0x413531(0x1fe,0x12,0x1b,0x7d)][_0x413531(-_0x331b64._0x2c2f53,-0x117,0xa1,0xca)](_0x4adae6)??0x0,this[_0x413531(_0x331b64._0x20c2a5,_0x331b64._0x483611,-0xf7,_0x331b64._0x3e602d)][_0x27985e(0x49b,0x443,0x600,_0x331b64._0x4d9468)](_0x4adae6));}};import{readFile as _0x515c17,stat as _0x25608c}from'fs/promises';import*as _0x31c790 from'path';function stripUtfBom(_0x22b16c){const _0x595217={_0x1cf157:0x47f,_0x1ef8f5:0x42a,_0x37f7d0:0xdb,_0x5c7b11:0x6f},_0x1c3d5f={_0x58b789:0xf,_0x106fa0:0x1c7,_0xdfc950:0x13e},_0x4ecfc3={_0x56f357:0x15a};function _0xab6dd3(_0x2597ea,_0x4d8b1f,_0x7cd30,_0x2d884e){return _0x38b1c5(_0x2597ea-0x20,_0x4d8b1f-_0x4ecfc3._0x56f357,_0x7cd30- -0x565,_0x2d884e);}function _0x3d6984(_0x5cd826,_0x87721f,_0x51d517,_0x138eec){return _0x38b1c5(_0x5cd826-_0x1c3d5f._0x58b789,_0x87721f-_0x1c3d5f._0x106fa0,_0x5cd826- -_0x1c3d5f._0xdfc950,_0x87721f);}return _0x22b16c[_0x3d6984(_0x595217._0x1cf157,_0x595217._0x1ef8f5,0x279,0x31f)](0x0)===0xfeff?_0x22b16c[_0xab6dd3(_0x595217._0x37f7d0,0x20b,0x6d,-_0x595217._0x5c7b11)](0x1):_0x22b16c;}function clampLine2(_0x37b996,_0x3d0f1d){const _0x227530={_0x4859ac:0xb1,_0x19f7c3:0x404,_0x25c9b7:0x208,_0x23d9ff:0x23,_0x2a47c:0x18d},_0x218a5d={_0x5dd5aa:0xd,_0x40c5c6:0x617};if(!Number[_0x5b8f59(0x1cd,_0x227530._0x4859ac,0x190,-0x8a)](_0x37b996))return 0x1;function _0xe6c305(_0x19d35b,_0x482d8d,_0x3aa5de,_0x19ac8f){return _0x38b1c5(_0x19d35b-0xfa,_0x482d8d-_0x218a5d._0x5dd5aa,_0x482d8d- -_0x218a5d._0x40c5c6,_0x19ac8f);}function _0x5b8f59(_0x82d948,_0x158cd7,_0x52d543,_0x48e4c3){return _0x38b1c5(_0x82d948-0x75,_0x158cd7-0x1a9,_0x158cd7- -0x379,_0x82d948);}return Math[_0x5b8f59(0x252,_0x227530._0x19f7c3,0x232,_0x227530._0x25c9b7)](0x1,Math['min'](Math[_0xe6c305(-_0x227530._0x23d9ff,0xa6,_0x227530._0x2a47c,0x98)](_0x37b996),_0x3d0f1d));}function resolveAnchoredTarget(_0x1a09d5){const _0x38d150={_0x2aafab:0x33f,_0x12e106:0x398,_0x4a8bd4:0x1a5,_0x1ffdf1:0x767,_0x1d18b2:0x62e,_0x240640:0x4c0,_0x777195:0x66c,_0x134d78:0x6dd,_0x536f65:0x616,_0x2a583f:0x56c,_0x2cb2ce:0x72f,_0xd82929:0x43d,_0x38a651:0x5ff,_0x4b45df:0x38b,_0x742668:0x56d,_0x319fd0:0x51a},_0x1e1925={_0x1f316b:0x4a,_0x33f6bc:0xcd},_0x369d70={_0x1ef96b:0x92},_0x2a2433=_0x1a09d5[_0x5a74d4(_0x38d150._0x2aafab,_0x38d150._0x12e106,_0x38d150._0x4a8bd4,0x588)]??'exact';function _0x22df41(_0x179d61,_0x580a9c,_0x390590,_0x5ba747){return _0x4a0aa5(_0x5ba747,_0x390590-_0x369d70._0x1ef96b,_0x390590-0x1b8,_0x5ba747-0x1e2);}function _0x5a74d4(_0x35b74d,_0x3ea138,_0x2dfc3d,_0x27dbc2){return _0x4a0aa5(_0x35b74d,_0x3ea138-_0x1e1925._0x1f316b,_0x2dfc3d-_0x1e1925._0x33f6bc,_0x27dbc2-0x0);}if(_0x2a2433===_0x22df41(_0x38d150._0x1ffdf1,0x6cb,_0x38d150._0x1d18b2,0x7d0))return void 0x0;if(_0x1a09d5[_0x22df41(0x611,_0x38d150._0x240640,_0x38d150._0x777195,0x4e9)]===void 0x0)throw new Error((_0x1a09d5[_0x22df41(_0x38d150._0x134d78,0x55a,_0x38d150._0x536f65,0x654)]??_0x22df41(_0x38d150._0x2a583f,0x6fa,_0x38d150._0x2cb2ce,0x6ae))+'\x20anchored\x20mode\x20requires\x20injected\x20observations.');if(_0x1a09d5[_0x5a74d4(0x648,_0x38d150._0xd82929,_0x38d150._0x38a651,_0x38d150._0x4b45df)]===void 0x0)throw new Error((_0x1a09d5['name']??'FileRead')+'\x20anchored\x20mode\x20requires\x20injected\x20outputBudgetBytes.');return{'mode':_0x2a2433,'observations':_0x1a09d5[_0x5a74d4(_0x38d150._0x742668,0x624,0x53c,_0x38d150._0x319fd0)],'outputBudgetBytes':_0x1a09d5['outputBudgetBytes']};}function isErrnoException(_0x556282){const _0x15e9a3={_0x1bff6e:0x265,_0x9fde9e:0x3da,_0x3d5b4e:0x6ce},_0x2a2af2={_0x4dd415:0x205};function _0x4d5592(_0x535875,_0x39b3b0,_0x215068,_0x18a5fd){return _0x38b1c5(_0x535875-0x19a,_0x39b3b0-0x18f,_0x18a5fd- -_0x2a2af2._0x4dd415,_0x535875);}function _0x1c32a8(_0xdb8f0b,_0x1ee8db,_0x1b2c1e,_0xee4790){return _0x4a0aa5(_0x1ee8db,_0xdb8f0b- -0x2f9,_0x1b2c1e-0x10d,_0xee4790-0x159);}return _0x556282 instanceof Error&&_0x1c32a8(0x265,0x17c,0x194,0xfa)in _0x556282&&typeof _0x556282[_0x1c32a8(_0x15e9a3._0x1bff6e,0x2b7,_0x15e9a3._0x9fde9e,0x411)]===_0x4d5592(_0x15e9a3._0x3d5b4e,0x55d,0x742,0x557);}function wrapAnchoredFsError(_0x4bdcd9,_0xfe4139){const _0xf22390={_0x4b6504:0x2cf,_0x20e658:0x20,_0x1f6024:0x98,_0x21cdab:0x74,_0x47f1d2:0x1d,_0x11a54c:0x9c,_0x20df7b:0x136,_0x2122e5:0x1b8,_0xff518d:0x228,_0x12f9b7:0x30d},_0x25b8ba={_0x59ca4b:0x49},_0x3395f6={_0x2c508b:0x3d7,_0x563a41:0x18b};if(_0x4bdcd9 instanceof ToolExecutionError)throw _0x4bdcd9;function _0x3efde9(_0x41b113,_0x3ad5b6,_0x1c4959,_0x369694){return _0x4a0aa5(_0x369694,_0x3ad5b6- -_0x3395f6._0x2c508b,_0x1c4959-_0x3395f6._0x563a41,_0x369694-0x16b);}if(!isErrnoException(_0x4bdcd9))throw _0x4bdcd9;function _0x8689bc(_0x13666a,_0x2ce52c,_0x8359d2,_0x48c00e){return _0x4a0aa5(_0x48c00e,_0x13666a- -0x5d1,_0x8359d2-0x8b,_0x48c00e-_0x25b8ba._0x59ca4b);}throw createAnchoredFileError(_0x3efde9(0xd9,_0xf22390._0x4b6504,0x23a,0x476),_0x3efde9(0x5,-_0xf22390._0x20e658,-_0xf22390._0x1f6024,-_0xf22390._0x21cdab)+_0xfe4139+_0x8689bc(-0x118,-0x24a,-0x224,_0xf22390._0x47f1d2)+_0x4bdcd9[_0x8689bc(-_0xf22390._0x11a54c,-0x126,0x65,-0x1d5)]+_0x8689bc(_0xf22390._0x20df7b,_0xf22390._0x2122e5,_0xf22390._0xff518d,_0xf22390._0x12f9b7),{'path':_0xfe4139});}async function executeAnchoredRead(_0xd006cc,_0x3952e2,_0x95c4e3,_0x333e5d,_0x1491c0,_0x391f12,_0x34b942){const _0x3b2c23={_0x1a62e2:0x391,_0x30cadf:0x1c7,_0x3a68ae:0x476,_0x229687:0x1f4,_0x7463ea:0x1e9,_0x168759:0x136,_0x8fb9af:0xb9,_0x28cb28:0x275,_0x1046ac:0x23f,_0x55585b:0x111,_0x111e61:0xe2,_0x1cdcd3:0x1fa,_0x27fca9:0x151,_0x3eb359:0x5b1,_0x183f2f:0x71a,_0x14179a:0x6f7,_0x2e432f:0x10,_0x5f26bb:0xe7,_0x25fc05:0x5a7,_0x3fd179:0x4e7,_0x3dea68:0x48d,_0xe8a728:0xa1,_0x50e4a7:0x4ab,_0x3595f3:0x447},_0x52490e={_0x1db931:0x4d2,_0xbba4ba:0x53};let _0x5759a2;try{_0x5759a2=await resolveCanonicalAllowedFile(_0x3952e2,_0x95c4e3,_0x333e5d);}catch(_0x1c66e9){wrapAnchoredFsError(_0x1c66e9,_0x333e5d);}let _0x488460;try{_0x488460=await _0x515c17(_0x5759a2['canonicalPath']);}catch(_0x464df1){wrapAnchoredFsError(_0x464df1,_0x333e5d);}const _0x3f4b15=createNormalizedFileSnapshot(_0x5759a2[_0x168c2c(_0x3b2c23._0x1a62e2,_0x3b2c23._0x30cadf,0x364,_0x3b2c23._0x3a68ae)],_0x488460);_0xd006cc[_0x1fe34d(_0x3b2c23._0x229687,0x319,_0x3b2c23._0x7463ea,0x108)][_0x1fe34d(-_0x3b2c23._0x168759,0x1f3,_0x3b2c23._0x8fb9af,0x24)](_0x34b942);const _0x222ccf=formatAnchoredFileRead({'displayPath':_0x333e5d,'snapshot':_0x3f4b15,'lineStart':_0x1491c0,'lineEnd':_0x391f12,'maxBytes':_0xd006cc[_0x168c2c(0x3e6,_0x3b2c23._0x28cb28,0x1f2,0x5b9)]});_0xd006cc[_0x1fe34d(_0x3b2c23._0x1046ac,_0x3b2c23._0x55585b,0x2a4,0x108)]['record'](_0x3f4b15,_0x222ccf[_0x1fe34d(0x67,0x166,-0xcb,_0x3b2c23._0x111e61)]);function _0x168c2c(_0x17be7d,_0x3ba2e1,_0x29a11c,_0x1de551){return _0x4a0aa5(_0x1de551,_0x17be7d- -0xd,_0x29a11c-0x1ed,_0x1de551-0x1d1);}function _0x1fe34d(_0x20324e,_0x2b8067,_0x8195ae,_0x7dacb0){return _0x4a0aa5(_0x2b8067,_0x7dacb0- -_0x52490e._0x1db931,_0x8195ae-_0x52490e._0xbba4ba,_0x7dacb0-0x82);}return createToolOutput(_0x222ccf[_0x1fe34d(0x348,0x32,0x1a5,0x150)],{'mode':_0xd006cc[_0x168c2c(0x341,0x2d7,_0x3b2c23._0x1cdcd3,_0x3b2c23._0x27fca9)],'path':_0x333e5d,'resolvedPath':_0x5759a2[_0x168c2c(_0x3b2c23._0x3eb359,_0x3b2c23._0x183f2f,0x677,_0x3b2c23._0x14179a)],'canonicalPath':_0x5759a2['canonicalPath'],'tag':_0x3f4b15['tag'],'digest':_0x3f4b15[_0x1fe34d(0x25,0x1a3,-_0x3b2c23._0x2e432f,_0x3b2c23._0x5f26bb)],'displayedLines':[..._0x222ccf[_0x168c2c(_0x3b2c23._0x25fc05,_0x3b2c23._0x3fd179,_0x3b2c23._0x3dea68,0x644)]],'truncated':_0x222ccf[_0x1fe34d(-0x23e,0xee,0x118,-_0x3b2c23._0xe8a728)],..._0x222ccf['nextLineStart']!==void 0x0?{'nextLineStart':_0x222ccf[_0x168c2c(_0x3b2c23._0x50e4a7,0x3f9,_0x3b2c23._0x3595f3,0x64a)]}:{}});}function createFileReadTool(_0x4b4c0c={}){const _0x2994dc={_0x19f4a2:0x316,_0x239a4e:0x3e,_0x12ebb9:0x2ce,_0x10e729:0x898,_0x37162d:0x6fb,_0x45cf1e:0x807,_0x3d9234:0x6e3,_0x16f587:0x241,_0x102d2d:0x5c2,_0x1d70c6:0x79d,_0x38e5c2:0x1ca,_0xb8d47:0x367,_0xb18322:0x2ae,_0x257537:0x1d5,_0x1f32f6:0x6f7,_0x21c300:0x79b,_0x50c414:0x60e,_0x210264:0x3e0,_0x15bcb2:0x1d5,_0x634f76:0x445,_0x2f0f58:0x5f1,_0x2c65a0:0x4ed,_0x3648fb:0x76b,_0x430e41:0x2d2,_0x5d19e6:0x598,_0x37a7b2:0x3d1},_0x36cc54={_0x55ded6:0x48b,_0x200476:0x22a,_0x2a1b83:0x5d0,_0x4ff69b:0x509,_0x3ceb67:0x636,_0x2efc49:0x2c0,_0x5363b1:0x25c,_0x32a8a1:0x26,_0x53a188:0x1ec,_0xacdb22:0x4d,_0x39e5aa:0x1e1,_0x343884:0x36,_0x478c37:0x11d,_0x18ab26:0x231,_0x319aca:0x249,_0x3f7829:0x163,_0x8bbf55:0x6d,_0x428f2f:0x33d,_0x5a1800:0x3d9,_0x5d6921:0x584,_0x54c0b8:0x11e,_0x55499c:0x37b,_0x1aa8c9:0x423,_0xfba712:0x291,_0x2f2b03:0x454,_0x134952:0x564,_0x1b8554:0x12d,_0x57898a:0x218,_0x4ca3cf:0x85,_0x15722d:0x3ef,_0x31c8dc:0x394,_0x2211a0:0x12e,_0xbbba54:0x311,_0x401f1a:0x23f,_0x179faf:0x1e0,_0x4e8265:0x378,_0xc60cdf:0x3c0,_0x464738:0x1de,_0x42d4e8:0x53,_0x349eaf:0x1f6,_0x206b58:0x42,_0x27408a:0x215,_0x5640d9:0x131,_0x3b4d49:0x267,_0x4aa5cf:0xed,_0x38914d:0x32c,_0x19b72d:0x1de,_0x1be7ab:0x30e,_0xc9dd6c:0x4a1},_0x3f4d47={_0x47592e:0x186},_0x119ea3={_0x456b35:0x343,_0x918cfa:0x52},_0x365bf3={_0x3bbdae:0x46,_0x445aad:0x42},_0x47ebfd=_0x31c790[_0x38117c(_0x2994dc._0x19f4a2,_0x2994dc._0x239a4e,_0x2994dc._0x12ebb9,0x15d)](_0x4b4c0c['defaultCwd']??process[_0x2d7b16(_0x2994dc._0x10e729,_0x2994dc._0x37162d,0x71e,0x77c)]());function _0x2d7b16(_0xb2ab0f,_0x30f4ea,_0x440738,_0x21e288){return _0x38b1c5(_0xb2ab0f-_0x365bf3._0x3bbdae,_0x30f4ea-0x1e5,_0x30f4ea-_0x365bf3._0x445aad,_0xb2ab0f);}const _0x102e11=_0x4b4c0c[_0x2d7b16(0x7fe,0x6ab,_0x2994dc._0x45cf1e,_0x2994dc._0x3d9234)]??[];function _0x38117c(_0x3d8253,_0x5d18b7,_0x1852a0,_0x52de47){return _0x4a0aa5(_0x1852a0,_0x52de47- -_0x119ea3._0x456b35,_0x1852a0-0x5d,_0x52de47-_0x119ea3._0x918cfa);}const _0x57c131=_0x4b4c0c[_0x38117c(0x2eb,0x34c,0x43b,_0x2994dc._0x16f587)]??_0x2d7b16(_0x2994dc._0x102d2d,_0x2994dc._0x1d70c6,0x861,0x67f),_0x4b88a7=resolveAnchoredTarget(_0x4b4c0c);return defineTool({'name':_0x57c131,'permissionClass':_0x38117c(_0x2994dc._0x38e5c2,0x398,0x3da,_0x2994dc._0xb8d47),'description':_0x4b88a7===void 0x0?'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).':'Read\x20a\x20UTF-8\x20text\x20file\x20as\x20a\x20snapshot-anchored\x20[path#tag]\x20header\x20plus\x20N:text\x20rows.\x20The\x20tag\x20identifies\x20the\x20whole\x20file,\x20so\x20read\x20only\x20the\x20lines\x20you\x20need\x20with\x20lineStart/lineEnd\x20—\x20the\x20tag\x20stays\x20valid\x20for\x20a\x20range\x20read.\x20Empty\x20files\x20have\x20no\x20editable\x20line.\x20Mixed\x20LF/CRLF,\x20NUL,\x20and\x20invalid\x20UTF-8\x20are\x20rejected;\x20use\x20exact\x20FileEdit\x20instead.','inputSchema':{'type':'object','properties':{'path':{'type':'string'},'lineStart':{'type':_0x38117c(_0x2994dc._0xb18322,-0x12,0x2a7,_0x2994dc._0x257537),'description':_0x2d7b16(_0x2994dc._0x1f32f6,0x74f,_0x2994dc._0x21c300,_0x2994dc._0x50c414)},'lineEnd':{'type':_0x38117c(_0x2994dc._0x210264,0x2a8,0x325,_0x2994dc._0x15bcb2),'description':_0x2d7b16(_0x2994dc._0x634f76,_0x2994dc._0x2f0f58,_0x2994dc._0x2c65a0,_0x2994dc._0x3648fb)}},'required':[_0x38117c(_0x2994dc._0x430e41,_0x2994dc._0x5d19e6,_0x2994dc._0x37a7b2,0x3e2)]},async *'execute'(_0x162ffe,_0x9e8ab0){const _0x1953b3={_0x35f0a0:0x1,_0xed1cbc:0x127};function _0x3a2c18(_0xc19ac7,_0x4cc586,_0x5ccd70,_0xa358f3){return _0x38117c(_0xc19ac7-0x1af,_0x4cc586-_0x1953b3._0x35f0a0,_0xa358f3,_0x5ccd70-_0x1953b3._0xed1cbc);}function _0x40e139(_0x1c5c32,_0x132f83,_0x245332,_0x16ba3f){return _0x38117c(_0x1c5c32-0x117,_0x132f83-0x105,_0x1c5c32,_0x16ba3f- -_0x3f4d47._0x47592e);}const _0x4a1949=resolveAllowedPath(_0x47ebfd,_0x102e11,_0x162ffe[_0x3a2c18(0x65d,0x633,0x509,_0x36cc54._0x55ded6)]);if(_0x4b88a7===void 0x0){await assertWorkspaceFile(_0x4a1949);const _0x49e348=await _0x25608c(_0x4a1949),_0x14b721=await _0x515c17(_0x4a1949);if(isProbablyBinary(_0x14b721))throw new ToolExecutionError(_0x40e139(_0x36cc54._0x200476,0x39e,0x2f6,0x1fe)+_0x162ffe[_0x3a2c18(_0x36cc54._0x2a1b83,0x33f,_0x36cc54._0x4ff69b,_0x36cc54._0x3ceb67)],{'path':_0x162ffe[_0x40e139(0x3c4,_0x36cc54._0x2efc49,0x3d5,_0x36cc54._0x5363b1)]});let _0x42aae1=_0x14b721['toString'](_0x40e139(-_0x36cc54._0x32a8a1,0x1ee,_0x36cc54._0x53a188,-0x1c));const _0x537ea5=_0x42aae1[_0x40e139(_0x36cc54._0xacdb22,0x54,_0x36cc54._0x39e5aa,_0x36cc54._0x343884)](0x0)===0xfeff;_0x42aae1=stripUtfBom(_0x42aae1);const _0x47227c=_0x42aae1[_0x3a2c18(_0x36cc54._0x478c37,0x3e3,_0x36cc54._0x18ab26,0x324)](/\r?\n/),_0x22d499={'path':_0x162ffe[_0x40e139(_0x36cc54._0x319aca,0x3ad,_0x36cc54._0x3f7829,_0x36cc54._0x5363b1)],'resolvedPath':_0x4a1949,'created':_0x49e348[_0x40e139(_0x36cc54._0x8bbf55,_0x36cc54._0x428f2f,0x29b,0x1c6)][_0x40e139(-0x2f,-0x71,0xf2,-0x10d)](),'modified':_0x49e348[_0x3a2c18(0x404,0x1c8,_0x36cc54._0x5a1800,_0x36cc54._0x5d6921)]['toISOString'](),'size':_0x49e348[_0x40e139(-0x1f7,-0x32e,-0xcb,-_0x36cc54._0x54c0b8)],'encoding':_0x3a2c18(_0x36cc54._0x55499c,_0x36cc54._0x1aa8c9,_0x36cc54._0xfba712,_0x36cc54._0x2f2b03),'bomStripped':_0x537ea5,'truncated':![],'totalLines':_0x47227c['length']};if(_0x162ffe[_0x3a2c18(_0x36cc54._0x134952,0x362,0x50c,0x621)]!==void 0x0||_0x162ffe[_0x40e139(_0x36cc54._0x1b8554,_0x36cc54._0x57898a,0xb5,_0x36cc54._0x4ca3cf)]!==void 0x0){const _0x2e89f4=clampLine2(_0x162ffe[_0x40e139(0x3a1,0x2e7,0x80,0x25f)]??0x1,_0x47227c[_0x3a2c18(_0x36cc54._0x15722d,0x5a3,0x48d,0x31c)]),_0x3893ca=clampLine2(_0x162ffe[_0x3a2c18(_0x36cc54._0x31c8dc,_0x36cc54._0x2211a0,0x332,_0x36cc54._0xbbba54)]??_0x47227c[_0x40e139(0x1b8,_0x36cc54._0x401f1a,0x162,_0x36cc54._0x179faf)],_0x47227c[_0x3a2c18(_0x36cc54._0x4e8265,0x626,0x48d,0x2ab)]),_0xf3f7ce=Math[_0x3a2c18(_0x36cc54._0xc60cdf,0x4b9,0x3c8,0x2e2)](_0x2e89f4,_0x3893ca),_0x5bcede=Math[_0x40e139(_0x36cc54._0x464738,_0x36cc54._0x42d4e8,-0x19,_0x36cc54._0x349eaf)](_0x2e89f4,_0x3893ca),_0x5eb0bd=_0x47227c[_0x40e139(0xcb,-_0x36cc54._0x206b58,-0x169,0x4b)](_0xf3f7ce-0x1,_0x5bcede)[_0x40e139(0x2df,_0x36cc54._0x27408a,0x2ff,0x118)]((_0x56708a,_0x54d222)=>_0xf3f7ce+_0x54d222+'|'+_0x56708a)[_0x40e139(-_0x36cc54._0x5640d9,_0x36cc54._0x3b4d49,-_0x36cc54._0x4aa5cf,0x64)]('\x0a');return yield createToolOutput(_0x5eb0bd,{..._0x22d499,'lineRange':{'lineStart':_0xf3f7ce,'lineEnd':_0x5bcede,'linesTotal':_0x47227c[_0x40e139(0x191,_0x36cc54._0x38914d,_0x36cc54._0x19b72d,_0x36cc54._0x179faf)]}}),void 0x0;}return yield createToolOutput(_0x42aae1,_0x22d499),void 0x0;}return yield await executeAnchoredRead(_0x4b88a7,_0x47ebfd,_0x102e11,_0x162ffe[_0x3a2c18(0x523,_0x36cc54._0x1be7ab,0x509,0x657)],_0x162ffe[_0x3a2c18(_0x36cc54._0xc9dd6c,0x4b3,0x50c,0x6ce)],_0x162ffe[_0x3a2c18(0x430,0x191,0x332,0x2a1)],_0x9e8ab0['sessionId']),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 _0x5645b0}from'crypto';import{mkdir as _0x4d0620,readFile as _0x4f2189,writeFile as _0x245829}from'fs/promises';import{join as _0x37cd38}from'path';function sanitizeStorageKey(_0x5b2826){const _0x130bae={_0x2e6fe2:0x602},_0x326d27={_0x58ea34:0x1dd,_0xdfd577:0x1af};function _0x25b5eb(_0x4c0c84,_0x1a3ed9,_0x35a7fe,_0x4e835f){return _0x4a0aa5(_0x1a3ed9,_0x35a7fe-_0x326d27._0x58ea34,_0x35a7fe-0x18f,_0x4e835f-_0x326d27._0xdfd577);}return _0x5b2826['replace'](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0x25b5eb(0x5f8,0x6a7,_0x130bae._0x2e6fe2,0x7e2);}function storagePath(_0x536f22){const _0x1bc1e2={_0x1b7778:0x626,_0x22708a:0x66b,_0x85247c:0x5b8,_0x42d2ce:0x926,_0x569eae:0x78b},_0x4fb310={_0x5dfa49:0xe2,_0x352fd9:0xee};function _0x4fc38d(_0x246431,_0x43e124,_0x1cd6f1,_0x26d167){return _0x38b1c5(_0x246431-0x195,_0x43e124-0x11c,_0x246431- -0x155,_0x43e124);}function _0x32d5dc(_0x582be2,_0x3ed601,_0x9a53fd,_0xda1663){return _0x38b1c5(_0x582be2-_0x4fb310._0x5dfa49,_0x3ed601-_0x4fb310._0x352fd9,_0x582be2-0x125,_0x9a53fd);}const _0xb71333=sanitizeStorageKey(_0x536f22[_0x4fc38d(_0x1bc1e2._0x1b7778,0x7ab,_0x1bc1e2._0x22708a,0x692)]['oauth']?.['tokenStorageKey']??_0x536f22[_0x32d5dc(_0x1bc1e2._0x85247c,0x767,0x3f1,0x692)]);return _0x37cd38(_0x536f22['storageDir'],_0xb71333+_0x32d5dc(_0x1bc1e2._0x42d2ce,_0x1bc1e2._0x569eae,0x792,0x989));}async function readStore(_0xbe573b){const _0x1b550a={_0x5f1e2d:0xe9,_0x4d75a9:0x30,_0x528475:0x329,_0x311bb1:0x23a,_0x4cf26e:0x4ae,_0x411276:0x120,_0x2bee19:0xdc,_0x5bbe7a:0x96,_0x479924:0x9f,_0x256f18:0xce},_0x34dd1d={_0xb788fa:0x1a6,_0x419bcd:0x263},_0x73b46d={_0xbd3aea:0xad};function _0x3b50da(_0x3244ee,_0x5001e4,_0x36c2cf,_0x4e08b9){return _0x38b1c5(_0x3244ee-_0x73b46d._0xbd3aea,_0x5001e4-0x19b,_0x4e08b9- -0x57d,_0x5001e4);}function _0x557323(_0x3eb28e,_0x342f2e,_0x49a9ac,_0x4fafaf){return _0x38b1c5(_0x3eb28e-_0x34dd1d._0xb788fa,_0x342f2e-0x18b,_0x49a9ac- -_0x34dd1d._0x419bcd,_0x4fafaf);}try{return JSON[_0x3b50da(-_0x1b550a._0x5f1e2d,-0x228,_0x1b550a._0x4d75a9,-0xc7)](await _0x4f2189(_0xbe573b,_0x557323(_0x1b550a._0x528475,_0x1b550a._0x311bb1,0x308,_0x1b550a._0x4cf26e)));}catch(_0x218bd6){if(_0x218bd6 instanceof Error&&_0x3b50da(-_0x1b550a._0x411276,_0x1b550a._0x2bee19,_0x1b550a._0x5bbe7a,_0x1b550a._0x479924)in _0x218bd6&&_0x218bd6['code']===_0x557323(_0x1b550a._0x256f18,0x2a7,0x2ae,0x2a8))return{};throw _0x218bd6;}}async function writeStore(_0x5350e6,_0x4218da){const _0x2eca44={_0x15d974:0x1f8,_0x23fee4:0x7a},_0x126824={_0x17fd8d:0x1a9,_0x3868cc:0xfb};await _0x4d0620(_0x37cd38(_0x5350e6,'..'),{'recursive':!![]});function _0x1f9cc5(_0x52e4c1,_0x145b4d,_0x51e999,_0x4f0038){return _0x38b1c5(_0x52e4c1-0x146,_0x145b4d-0x7a,_0x145b4d- -0x576,_0x51e999);}function _0x1a9268(_0x497145,_0x2fbafd,_0x37c731,_0x1ad1b3){return _0x4a0aa5(_0x497145,_0x1ad1b3- -0x377,_0x37c731-_0x126824._0x17fd8d,_0x1ad1b3-_0x126824._0x3868cc);}await _0x245829(_0x5350e6,JSON[_0x1a9268(0x10c,-0x7,0x25,0xd0)](_0x4218da,null,0x2),_0x1f9cc5(0x14a,-0xb,-_0x2eca44._0x15d974,_0x2eca44._0x23fee4));}async function updateStore(_0x51e5c2,_0x601fe0){const _0x31cbc4=await readStore(_0x51e5c2);_0x601fe0(_0x31cbc4),await writeStore(_0x51e5c2,_0x31cbc4);}function createMcpOAuthProvider(_0x3b0fe9){const _0x2fd8c6={_0x50db1a:0x70e,_0x2d67f1:0x1f2,_0x443b61:0x64,_0x25903e:0x28c,_0x84c919:0x1a1,_0x114d2a:0x2a4,_0x446d45:0x166,_0x23c597:0x598,_0x1c573b:0x530,_0x2c52fe:0x6c3,_0x10c023:0x635,_0x5a7d83:0x6b1,_0x4ef88c:0x70c,_0x249857:0x56a,_0x587fbf:0x114,_0x2dbddf:0x16f,_0x30d158:0xea,_0x2d5310:0x110,_0x5482d9:0xaa,_0x2be90c:0xa},_0x2e18ef={_0x2e5ca1:0x1ee},_0x2d088b={_0x487783:0x82,_0x266b61:0x184,_0x1a90f8:0x133},_0x503d2b={_0x4e0209:0x15a,_0x264da7:0x2dc,_0x27b378:0x202,_0x51e4e0:0x14,_0x30b848:0x3ce,_0x2e0d1c:0x88,_0xd9a57e:0x48,_0x405dbe:0x207,_0x250233:0x33,_0x279349:0x17a,_0x3ef7d0:0x153,_0x575d28:0xb4,_0x2df2f3:0x180,_0x404cfa:0xe3,_0x3d7532:0x58,_0x3f1e91:0x8e,_0x1e90cf:0x18f,_0x466612:0x3c2,_0x308a47:0x256},_0x208f57={_0x2cad95:0x560,_0x19bb39:0x79a},_0x5d4d13={_0x315408:0x17d,_0x5a912f:0x8},_0x51053a={_0x8ad519:0x31a,_0x1ff875:0x45e},_0x202998={_0xe6fbbd:0x1c3},_0x444a93={_0x4c5dbd:0x175,_0x2a1882:0x6e},_0x3a2ab8={_0x3c3378:0x6f6,_0xa56f77:0x4ef,_0x10052:0x8c4},_0x317d7b={_0x1de13e:0x385},_0xa13e4b={_0x3040d0:0x1f6,_0x1a0eab:0x2d2,_0x6f3133:0x150},_0x57a782={_0x4f0248:0x51d,_0x981cf2:0x484,_0x17e562:0x41c,_0x4d6fba:0x484,_0x2bb5b3:0x43d},_0xbb8bd2={_0x1a83d5:0x2c,_0x26b397:0xc},_0x296ba5={_0x2866e2:0x261,_0x52e9b2:0x10f},_0x385db7={_0x49b6c0:0x185},_0x235609={_0x501581:0x144,_0x1daed3:0x691},_0x4d5e50={_0x2921da:0x189,_0x722c16:0x10e};function _0xbe4992(_0x5a6290,_0x3d11b,_0x433595,_0x5ae7f7){return _0x4a0aa5(_0x3d11b,_0x433595- -_0x4d5e50._0x2921da,_0x433595-_0x4d5e50._0x722c16,_0x5ae7f7-0x51);}const _0x5dfc20=storagePath(_0x3b0fe9);function _0x1818ad(_0x5dfaba,_0x5cbf37,_0x220558,_0x39bbab){return _0x38b1c5(_0x5dfaba-0xab,_0x5cbf37-_0x235609._0x501581,_0x39bbab- -_0x235609._0x1daed3,_0x5cbf37);}const _0x38277a=_0x3b0fe9[_0xbe4992(0x715,_0x2fd8c6._0x50db1a,0x534,0x61e)][_0x1818ad(0x12c,-_0x2fd8c6._0x2d67f1,-_0x2fd8c6._0x443b61,-0xde)]?.[_0x1818ad(-_0x2fd8c6._0x25903e,-_0x2fd8c6._0x84c919,-_0x2fd8c6._0x114d2a,-_0x2fd8c6._0x446d45)]?.['join']('\x20'),_0x1f7f3f={'client_name':_0xbe4992(0x381,_0x2fd8c6._0x23c597,_0x2fd8c6._0x1c573b,_0x2fd8c6._0x2c52fe),'redirect_uris':[_0x3b0fe9['callbackUrl']],'grant_types':[_0xbe4992(_0x2fd8c6._0x10c023,0x690,0x4bf,_0x2fd8c6._0x5a7d83),_0xbe4992(0x72b,_0x2fd8c6._0x4ef88c,0x55e,_0x2fd8c6._0x249857)],'response_types':['code'],'token_endpoint_auth_method':'client_secret_post',..._0x38277a?{'scope':_0x38277a}:{}};return{'clientMetadataUrl':_0x3b0fe9[_0x1818ad(-_0x2fd8c6._0x587fbf,_0x2fd8c6._0x2dbddf,-0x13,_0x2fd8c6._0x30d158)]['oauth']?.[_0x1818ad(-_0x2fd8c6._0x2d5310,-_0x2fd8c6._0x5482d9,_0x2fd8c6._0x2be90c,0x0)],get 'redirectUrl'(){const _0x351445={_0x28ca4e:0x30};function _0x578301(_0x25a6e1,_0x209c02,_0xcf3d0f,_0xbcf17){return _0x1818ad(_0x25a6e1-_0x351445._0x28ca4e,_0xcf3d0f,_0xcf3d0f-0xac,_0x209c02-0x107);}return _0x3b0fe9[_0x578301(_0x385db7._0x49b6c0,0x257,0x30a,0x1dc)];},get 'clientMetadata'(){return _0x1f7f3f;},async 'state'(){const _0x24695e={_0x439d91:0xe};function _0x4fa126(_0x3bb192,_0x1742ae,_0x2d336a,_0x44f55){return _0xbe4992(_0x3bb192-0xba,_0x3bb192,_0x2d336a-_0x296ba5._0x2866e2,_0x44f55-_0x296ba5._0x52e9b2);}const _0x2c8186=await readStore(_0x5dfc20);if(_0x2c8186[_0x4fa126(_0x57a782._0x4f0248,0x4f2,_0x57a782._0x981cf2,0x665)])return _0x2c8186[_0x4fa126(_0x57a782._0x17e562,0x3b3,_0x57a782._0x4d6fba,_0x57a782._0x2bb5b3)];function _0x1ad658(_0x36e18a,_0x5ceaf1,_0x4b0187,_0x2e1139){return _0xbe4992(_0x36e18a-0xbe,_0x5ceaf1,_0x2e1139-_0xbb8bd2._0x1a83d5,_0x2e1139-_0xbb8bd2._0x26b397);}const _0x542c27=_0x5645b0();return await updateStore(_0x5dfc20,_0x483bca=>{const _0xbc256b={_0x4583ac:0x163,_0x4d95df:0x18a};function _0x55361a(_0x50e865,_0x37e9e9,_0x2e69f5,_0x4f9e50){return _0x4fa126(_0x37e9e9,_0x37e9e9-_0xbc256b._0x4583ac,_0x2e69f5- -0x3f3,_0x4f9e50-_0xbc256b._0x4d95df);}_0x483bca[_0x55361a(-_0x24695e._0x439d91,0x251,0x91,-0x146)]=_0x542c27;}),_0x542c27;},async 'clientInformation'(){function _0x2946c3(_0x302d87,_0x66118d,_0x3fcd96,_0x257e6c){return _0xbe4992(_0x302d87-0xfe,_0x66118d,_0x302d87- -0x206,_0x257e6c-0x1c1);}return(await readStore(_0x5dfc20))[_0x2946c3(0x245,_0xa13e4b._0x3040d0,_0xa13e4b._0x1a0eab,_0xa13e4b._0x6f3133)];},async 'saveClientInformation'(_0x52a0ae){const _0x4955db={_0x56ba98:0x4f6};await updateStore(_0x5dfc20,_0x3395c0=>{function _0x4044b0(_0x55c37f,_0x375a86,_0x292f9a,_0x4cbea2){return _0x3233(_0x292f9a-0x155,_0x4cbea2);}_0x3395c0[_0x4044b0(0x4fb,0x749,0x53e,_0x4955db._0x56ba98)]=_0x52a0ae;});},async 'tokens'(){function _0x1949c9(_0x5b6aac,_0x2ffc34,_0xd6ef29,_0x1d8bb2){return _0xbe4992(_0x5b6aac-0x1c7,_0x5b6aac,_0x2ffc34-_0x317d7b._0x1de13e,_0x1d8bb2-0x1c0);}return(await readStore(_0x5dfc20))[_0x1949c9(0x720,_0x3a2ab8._0x3c3378,_0x3a2ab8._0xa56f77,_0x3a2ab8._0x10052)];},async 'saveTokens'(_0x43d879){await updateStore(_0x5dfc20,_0x52b53d=>{function _0x42b017(_0x326f9d,_0x51b943,_0x4d85ab,_0x2d94ff){return _0x3233(_0x326f9d- -0x372,_0x4d85ab);}_0x52b53d[_0x42b017(-0x63,_0x444a93._0x4c5dbd,-_0x444a93._0x2a1882,0x109)]=_0x43d879;});},async 'redirectToAuthorization'(_0x39829f){function _0x527fa1(_0x2f09fd,_0x136e88,_0x51f5cb,_0x5100c5){return _0xbe4992(_0x2f09fd-_0x202998._0xe6fbbd,_0x136e88,_0x2f09fd- -0x12e,_0x5100c5-0x17c);}await _0x3b0fe9[_0x527fa1(_0x51053a._0x8ad519,_0x51053a._0x1ff875,0x128,0x3b4)](_0x39829f);},async 'saveCodeVerifier'(_0x2fedf3){const _0xb10dab={_0x3c4207:0x77c,_0x26d671:0x7c2,_0x3cf28c:0x98b};await updateStore(_0x5dfc20,_0x289553=>{function _0x13998b(_0x387156,_0x500e97,_0x3bfa02,_0x5982eb){return _0x3233(_0x500e97-0x2f3,_0x387156);}_0x289553[_0x13998b(0x66e,_0xb10dab._0x3c4207,_0xb10dab._0x26d671,_0xb10dab._0x3cf28c)]=_0x2fedf3;});},async 'codeVerifier'(){const _0x36101b={_0x2c88b5:0xce};function _0x442f22(_0xdb3090,_0x5e1ffc,_0x219b85,_0x1a9987){return _0xbe4992(_0xdb3090-_0x5d4d13._0x315408,_0xdb3090,_0x5e1ffc- -0x2c3,_0x1a9987-_0x5d4d13._0x5a912f);}const _0x57da08=(await readStore(_0x5dfc20))[_0x15b50b(0x4de,0x6a3,0x613,_0x208f57._0x2cad95)];function _0x15b50b(_0x4cde85,_0x4bca7e,_0x1a0a10,_0xacc2c8){return _0x1818ad(_0x4cde85-_0x36101b._0x2c88b5,_0x1a0a10,_0x1a0a10-0xa,_0x4bca7e-0x602);}if(!_0x57da08)throw new Error(_0x15b50b(0x8cd,0x6c5,0x537,_0x208f57._0x19bb39));return _0x57da08;},async 'invalidateCredentials'(_0x2c33e6){await updateStore(_0x5dfc20,_0x484ff3=>{(_0x2c33e6===_0x5db294(0x2af,0x72,_0x503d2b._0x4e0209,0xb5)||_0x2c33e6==='client')&&(_0x484ff3[_0x3eb813(_0x503d2b._0x264da7,0x4ad,0x462,0x311)]=void 0x0);function _0x3eb813(_0x1651cc,_0x49d8e3,_0x535330,_0x1550b8){return _0x3233(_0x1651cc- -0x10d,_0x1550b8);}function _0x5db294(_0x117570,_0x1a53be,_0x226337,_0x497b2b){return _0x3233(_0x497b2b- -0x287,_0x226337);}(_0x2c33e6==='all'||_0x2c33e6===_0x3eb813(_0x503d2b._0x27b378,_0x503d2b._0x51e4e0,0x70,_0x503d2b._0x30b848))&&(_0x484ff3[_0x5db294(0x221,0x1ba,0xce,_0x503d2b._0x2e0d1c)]=void 0x0),(_0x2c33e6===_0x5db294(0x170,_0x503d2b._0xd9a57e,_0x503d2b._0x405dbe,0xb5)||_0x2c33e6===_0x3eb813(_0x503d2b._0x250233,-0x3e,_0x503d2b._0x279349,_0x503d2b._0x3ef7d0))&&(_0x484ff3['codeVerifier']=void 0x0,_0x484ff3[_0x3eb813(_0x503d2b._0x575d28,_0x503d2b._0x2df2f3,0x13c,-0xbf)]=void 0x0),(_0x2c33e6===_0x5db294(-_0x503d2b._0x404cfa,_0x503d2b._0x3d7532,_0x503d2b._0x3f1e91,0xb5)||_0x2c33e6===_0x5db294(0x137,0x191,0x396,_0x503d2b._0x1e90cf))&&(_0x484ff3[_0x3eb813(0x396,0x4f5,_0x503d2b._0x466612,_0x503d2b._0x308a47)]=void 0x0);});},async 'saveDiscoveryState'(_0x1da918){const _0x4a2852={_0x35dafb:0x317,_0x513772:0x21f,_0xdf29d0:0x2cf};await updateStore(_0x5dfc20,_0x4ee628=>{const _0x1459c2={_0x262d69:0x1d4};function _0x196fa1(_0x165abc,_0x5596ec,_0x54cdc5,_0x45222b){return _0x3233(_0x45222b- -_0x1459c2._0x262d69,_0x54cdc5);}_0x4ee628[_0x196fa1(_0x4a2852._0x35dafb,_0x4a2852._0x513772,0x360,_0x4a2852._0xdf29d0)]=_0x1da918;});},async 'discoveryState'(){function _0x2e3fb4(_0x3518ec,_0x157968,_0x5ab7bf,_0x385b78){return _0x1818ad(_0x3518ec-_0x2d088b._0x487783,_0x5ab7bf,_0x5ab7bf-_0x2d088b._0x266b61,_0x3518ec-_0x2d088b._0x1a90f8);}return(await readStore(_0x5dfc20))[_0x2e3fb4(_0x2e18ef._0x2e5ca1,0x214,0x2d4,0x1d7)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x4a0aa5(0x277,0x342,0x165,0x25e),'message':_0x306dcf=>_0x38b1c5(0x3f9,0x4cf,0x499,0x4cc)+_0x306dcf+'\x20failed\x20to\x20close'},'connect':{'code':_0x4a0aa5(0x20f,0x3e8,0x497,0x4f1),'message':_0x1f0dcf=>_0x4a0aa5(0x361,0x3db,0x2d9,0x4b1)+_0x1f0dcf+_0x4a0aa5(0x569,0x400,0x3d4,0x4b0)},'discover':{'code':_0x38b1c5(0x6a7,0x2e1,0x4d8,0x519),'message':_0xdf6e7f=>_0x38b1c5(0x614,0x49a,0x499,0x617)+_0xdf6e7f+_0x4a0aa5(0x34b,0x52f,0x580,0x56a)},'toolCall':{'code':'mcp-tool-call-failed','message':_0x67ec8=>_0x38b1c5(0x394,0x564,0x499,0x5fe)+_0x67ec8+_0x4a0aa5(0x610,0x524,0x6a3,0x6d8)}},timeoutMessageByOperation={'close':_0x48426d=>'MCP\x20server\x20'+_0x48426d+_0x38b1c5(0x8e9,0x8d0,0x746,0x7fd),'connect':_0x3f9a53=>_0x4a0aa5(0x4e6,0x3db,0x26e,0x460)+_0x3f9a53+_0x4a0aa5(0x67c,0x545,0x577,0x628),'discover':_0x45d933=>'MCP\x20server\x20'+_0x45d933+'\x20tool\x20discovery\x20timed\x20out','toolCall':_0x54cfc5=>_0x4a0aa5(0x2b1,0x3db,0x358,0x593)+_0x54cfc5+'\x20tool\x20call\x20timed\x20out'};function toMcpSafeError(_0x517e3f){const _0x21aec3={_0x591d38:0x5b7,_0x17289e:0x576,_0x1bb70c:0x6f7,_0x3e2309:0x31a,_0x4c5908:0x50b,_0x4eefe2:0x8a6,_0x53f4b2:0x726,_0x5a2b94:0x650,_0x1c005f:0x389,_0x4688e1:0x4a1,_0x19e659:0x647,_0x5059c3:0x60e,_0x40baa0:0x6e1,_0x30f356:0x624,_0x5f34c1:0x656,_0x45b5c2:0x887,_0x14c0d4:0x33c,_0x58b36c:0x50b,_0x12d3fc:0x54f,_0x14ad52:0x2f8,_0x436bb6:0x46f,_0x144cff:0x3a3,_0xb246f2:0x60c,_0x516d9:0x49b,_0xf08495:0x463,_0x1ea64f:0x2c0,_0x195e76:0x5ed,_0x379d00:0x440,_0x46c434:0x50b,_0x548ba2:0x507,_0xad4760:0x587,_0x47b9be:0x77d,_0x903034:0x769,_0x23e198:0x5fb,_0xfcf7a5:0x41e,_0x3b0649:0x480,_0x2e6224:0x471,_0x198a5f:0x414,_0x2ecfda:0x3fe},_0x16df1d={_0x471ee4:0x8},_0x511b09={_0x4a0b74:0x8a,_0x243961:0x1a0};if(_0x517e3f[_0x408140(_0x21aec3._0x591d38,0x726,_0x21aec3._0x17289e,0x5aa)]instanceof UnauthorizedError)return Object[_0x408140(_0x21aec3._0x1bb70c,_0x21aec3._0x3e2309,0x381,_0x21aec3._0x4c5908)]({'code':_0x5c27c9(_0x21aec3._0x4eefe2,_0x21aec3._0x53f4b2,0x75f,0x784),'message':_0x5c27c9(_0x21aec3._0x5a2b94,_0x21aec3._0x1c005f,_0x21aec3._0x4688e1,0x2a5)+_0x517e3f['serverName']+'\x20requires\x20authentication'});if(_0x517e3f[_0x5c27c9(0x605,0x850,_0x21aec3._0x19e659,0x6cc)]instanceof McpError&&_0x517e3f[_0x408140(_0x21aec3._0x5059c3,0x57a,_0x21aec3._0x40baa0,0x5aa)][_0x5c27c9(0x5c7,0x4b4,_0x21aec3._0x30f356,_0x21aec3._0x5f34c1)]===ErrorCode[_0x408140(0x873,0x812,_0x21aec3._0x45b5c2,0x734)])return Object[_0x408140(0x3a1,0x63b,_0x21aec3._0x14c0d4,_0x21aec3._0x58b36c)]({'code':_0x408140(0x579,0x63f,0x2ba,0x4b9),'message':timeoutMessageByOperation[_0x517e3f[_0x408140(_0x21aec3._0x12d3fc,_0x21aec3._0x14ad52,_0x21aec3._0x436bb6,_0x21aec3._0x144cff)]](_0x517e3f[_0x5c27c9(0x561,_0x21aec3._0xb246f2,_0x21aec3._0x516d9,_0x21aec3._0xf08495)])});function _0x408140(_0x5d81f6,_0x374f51,_0x1e8db8,_0x5665b6){return _0x38b1c5(_0x5d81f6-_0x511b09._0x4a0b74,_0x374f51-_0x511b09._0x243961,_0x5665b6- -0x95,_0x5d81f6);}const _0x4256af=failureByOperation[_0x517e3f[_0x5c27c9(_0x21aec3._0x1ea64f,_0x21aec3._0x195e76,_0x21aec3._0x379d00,0x318)]];function _0x5c27c9(_0x46cecc,_0x1a87b0,_0x1a7e85,_0x79022f){return _0x38b1c5(_0x46cecc-0x44,_0x1a87b0-0x15d,_0x1a7e85-_0x16df1d._0x471ee4,_0x46cecc);}return Object[_0x408140(0x695,0x515,0x38d,_0x21aec3._0x46c434)]({'code':_0x4256af[_0x408140(0x482,_0x21aec3._0x548ba2,0x524,_0x21aec3._0xad4760)],'message':_0x4256af[_0x5c27c9(_0x21aec3._0x47b9be,_0x21aec3._0x903034,_0x21aec3._0x23e198,_0x21aec3._0xfcf7a5)](_0x517e3f[_0x408140(_0x21aec3._0x3b0649,_0x21aec3._0x2e6224,_0x21aec3._0x198a5f,_0x21aec3._0x2ecfda)])});}function redactMcpDiagnostic(_0x4d0daa,_0x15e753){const _0x2715dd={_0x202b70:0x32c,_0x30db54:0x380,_0x362b8f:0x42c,_0x432cd1:0x8cb,_0x4c0f0c:0x790,_0x58b1d6:0x83f,_0x308e4a:0x6da,_0x526a9d:0x77f,_0x43bf02:0x524,_0x39d33b:0x7c7,_0xbba887:0x3a0,_0xb95e00:0x4c1,_0x22fa59:0x4ca},_0x2fd4de={_0x2d4b38:0x186,_0x27813d:0x1d6},_0x17ea71={_0x30282b:0x31},_0x3037c9=[...new Set(_0x15e753[_0x1e93c8(_0x2715dd._0x202b70,_0x2715dd._0x30db54,0x59e,_0x2715dd._0x362b8f)](_0x4f4447=>_0x4f4447['length']>0x0))][_0x1e93c8(_0x2715dd._0x432cd1,_0x2715dd._0x4c0f0c,0x9e4,_0x2715dd._0x58b1d6)]((_0x4688bc,_0x4a0a8c)=>_0x4a0a8c[_0x5a33dc(0x6ce,0x6da,0x66b,0x72d)]-_0x4688bc[_0x5a33dc(0x524,0x6da,0x72f,0x8c3)]);function _0x1e93c8(_0x127a4c,_0x4a35d1,_0x26cd64,_0x50a09c){return _0x38b1c5(_0x127a4c-0x101,_0x4a35d1-0x12c,_0x50a09c-_0x17ea71._0x30282b,_0x4a35d1);}if(_0x4d0daa[_0x5a33dc(0x709,_0x2715dd._0x308e4a,_0x2715dd._0x526a9d,0x884)]===0x0||_0x3037c9[_0x1e93c8(0x8f7,0x7f2,0x875,0x798)]===0x0)return _0x4d0daa;let _0xcf3f00='',_0x299669=0x0;function _0x5a33dc(_0x353e13,_0x34e0dc,_0x59b850,_0x3fac59){return _0x4a0aa5(_0x353e13,_0x34e0dc-0x31,_0x59b850-_0x2fd4de._0x2d4b38,_0x3fac59-_0x2fd4de._0x27813d);}while(_0x299669<_0x4d0daa[_0x5a33dc(_0x2715dd._0x43bf02,0x6da,0x845,_0x2715dd._0x39d33b)]){const _0x5031cf=_0x3037c9[_0x5a33dc(0x202,_0x2715dd._0xbba887,_0x2715dd._0xb95e00,_0x2715dd._0x22fa59)](_0x5920d8=>_0x4d0daa[_0x1e93c8(0x987,0x6e3,0x667,0x7c7)](_0x5920d8,_0x299669));_0x5031cf?(_0xcf3f00+='[REDACTED]',_0x299669+=_0x5031cf['length']):(_0xcf3f00+=_0x4d0daa[_0x299669],_0x299669+=0x1);}return _0xcf3f00;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x5a688d){const _0x5e61bc={_0x190519:0x206},_0x2afe12={_0x4134b6:0x17d,_0x578965:0x480};function _0x34691e(_0x1b55a5,_0x2ab10f,_0x1449fe,_0x36d4db){return _0x38b1c5(_0x1b55a5-0xaf,_0x2ab10f-_0x2afe12._0x4134b6,_0x2ab10f- -_0x2afe12._0x578965,_0x1449fe);}return typeof _0x5a688d==='object'&&_0x5a688d!==null||typeof _0x5a688d===_0x34691e(0x2f,_0x5e61bc._0x190519,0x2c8,0x1de);}function createOwnedMcpSafeError(_0x49621d){const _0x7f1a7={_0x53d6f4:0x56,_0x57a707:0x428,_0x20c0fa:0x7c7},_0xe06e02={_0x5bff74:0xbd},_0x3cf61e={_0x4b0867:0x48c,_0x89d7ec:0x15d,_0x5da60c:0x1be},_0x5d15d9=toMcpSafeError(_0x49621d),_0x252f0c=Object[_0x53dd5f(-0x155,0x264,0x228,_0x7f1a7._0x53d6f4)]({'code':_0x5d15d9[_0x49caa5(0x55f,0x559,0x3ab,_0x7f1a7._0x57a707)],'message':_0x5d15d9['message']});function _0x53dd5f(_0x4532a8,_0x3ae962,_0x35ba0c,_0x3bf310){return _0x4a0aa5(_0x3ae962,_0x3bf310- -_0x3cf61e._0x4b0867,_0x35ba0c-_0x3cf61e._0x89d7ec,_0x3bf310-_0x3cf61e._0x5da60c);}function _0x49caa5(_0x3157ab,_0x4978a2,_0x4d6d11,_0x393d11){return _0x38b1c5(_0x3157ab-0x1d2,_0x4978a2-0x1be,_0x3157ab- -_0xe06e02._0x5bff74,_0x393d11);}return ownedMcpSafeErrors[_0x49caa5(0x5d1,0x4a4,0x43b,_0x7f1a7._0x20c0fa)](_0x5d15d9,_0x252f0c),_0x5d15d9;}function extractOwnedMcpSafeError(_0x40ab12){const _0x5a45d0={_0x2be9a1:0x366,_0x57936a:0x16a,_0x14682d:0x28d},_0x5054e0={_0x3eef74:0x1af},_0x25b665={_0xfc3f2c:0xe1};if(!isWeakMapKey(_0x40ab12))return void 0x0;const _0x5b99dc=ownedMcpSafeErrors[_0xb8c707(0x46a,0x181,0x2aa,0x320)](_0x40ab12);function _0xb8c707(_0x1309ae,_0x810608,_0x1d2b6e,_0x3392ea){return _0x38b1c5(_0x1309ae-_0x25b665._0xfc3f2c,_0x810608-0x14,_0x1d2b6e- -0x22f,_0x3392ea);}if(!_0x5b99dc)return void 0x0;function _0x3821a7(_0x308810,_0x1dd085,_0x50fdc6,_0x47b0ff){return _0x4a0aa5(_0x50fdc6,_0x308810- -0x66,_0x50fdc6-_0x5054e0._0x3eef74,_0x47b0ff-0x6f);}const _0x4c0330=Object[_0xb8c707(_0x5a45d0._0x2be9a1,0x325,0x371,_0x5a45d0._0x57936a)]({'code':_0x5b99dc['code'],'message':_0x5b99dc[_0xb8c707(0x271,0x3d8,0x3c4,_0x5a45d0._0x14682d)]});return ownedMcpSafeErrors['set'](_0x4c0330,_0x5b99dc),_0x4c0330;}function ownValue(_0x19018a,_0x1bf1e2){return _0x19018a&&Object['hasOwn'](_0x19018a,_0x1bf1e2)?_0x19018a[_0x1bf1e2]:void 0x0;}function isToolPermissionClass(_0x26609b){const _0x1c407a={_0x31b4b8:0x290,_0x2034fd:0x1ab,_0x476307:0x8d,_0x529fc3:0x7f},_0x9b5cec={_0x6a6f83:0x2b},_0x10c266={_0x30c905:0x5c8};function _0x2f7e2b(_0x47eedc,_0x1ad57c,_0x51879e,_0xf96a28){return _0x4a0aa5(_0x47eedc,_0xf96a28- -_0x10c266._0x30c905,_0x51879e-0x66,_0xf96a28-0x190);}function _0x3d6a48(_0x76682c,_0x461851,_0x1bbba5,_0x1db84b){return _0x4a0aa5(_0x1bbba5,_0x1db84b- -_0x9b5cec._0x6a6f83,_0x1bbba5-0xd3,_0x1db84b-0xf0);}return _0x26609b==='read'||_0x26609b===_0x2f7e2b(-0x2c0,0x1f,-_0x1c407a._0x31b4b8,-_0x1c407a._0x2034fd)||_0x26609b===_0x2f7e2b(0x59,0x9b,-_0x1c407a._0x476307,-_0x1c407a._0x529fc3);}function suggestedPermissionClass(_0x2bf6e4){const _0x235b20={_0x3964af:0x60b,_0x25e0fc:0x883,_0x1912ce:0x63c,_0x5a871a:0x6ec,_0x49fab5:0x70a,_0x448161:0x8f2,_0x16e014:0x54c},_0x8fe5fc={_0x46bffc:0x7c},_0xbbca10={_0x5edad4:0x1d7,_0x5535fe:0x6a,_0x2655f1:0x634},_0x33d1fb=_0x2bf6e4[_0x52732e(_0x235b20._0x3964af,0x777,0x7af,0x612)]?.[_0x52732e(0x787,_0x235b20._0x25e0fc,0x842,_0x235b20._0x1912ce)];function _0x395077(_0x38e3e0,_0x2057b9,_0x3b9278,_0xcea76b){return _0x38b1c5(_0x38e3e0-_0xbbca10._0x5edad4,_0x2057b9-_0xbbca10._0x5535fe,_0x3b9278- -_0xbbca10._0x2655f1,_0x2057b9);}if(_0x33d1fb===!![])return _0x52732e(_0x235b20._0x5a871a,_0x235b20._0x49fab5,_0x235b20._0x448161,_0x235b20._0x16e014);function _0x52732e(_0x9f8480,_0x1f1246,_0x3bcad6,_0x2a3494){return _0x38b1c5(_0x9f8480-0xde,_0x1f1246-0x128,_0x9f8480- -_0x8fe5fc._0x46bffc,_0x3bcad6);}if(_0x33d1fb===![])return'write';return void 0x0;}function isJsonValue(_0x22c6c7){const _0x5171d1={_0x3ad197:0x63a,_0x4d1fe4:0x7d9,_0x39f116:0x5ea,_0x4a9d7f:0x1c6,_0x153977:0x326,_0x114eae:0x427},_0x425736={_0x19f500:0x13d},_0x2290c7={_0x262800:0x5e};if(_0x22c6c7===null||typeof _0x22c6c7===_0xff749d(_0x5171d1._0x3ad197,0x62e,_0x5171d1._0x4d1fe4,_0x5171d1._0x39f116)||typeof _0x22c6c7==='number'||typeof _0x22c6c7===_0xff749d(_0x5171d1._0x4a9d7f,0x1cc,0x3c1,_0x5171d1._0x153977))return!![];function _0xff749d(_0x565264,_0x7ad06e,_0x4fe7f2,_0x3b1d0a){return _0x4a0aa5(_0x565264,_0x3b1d0a- -0xb4,_0x4fe7f2-_0x2290c7._0x262800,_0x3b1d0a-0x6c);}if(Array[_0xff749d(0x3ab,0x4cf,_0x5171d1._0x114eae,0x454)](_0x22c6c7))return _0x22c6c7[_0xff749d(0x17b,0x476,0x380,0x2ba)](isJsonValue);function _0x3f9ae7(_0x3b3182,_0x3456bd,_0x27f533,_0x1810ce){return _0x4a0aa5(_0x3b3182,_0x1810ce-_0x425736._0x19f500,_0x27f533-0x145,_0x1810ce-0xee);}if(!isObject(_0x22c6c7))return![];return Object['values'](_0x22c6c7)['every'](isJsonValue);}function projectMcpTools(_0xe0bfde){const _0x3d8c9a={_0x18c459:0x22a,_0xe84739:0xa1,_0x4dddfc:0x1ca,_0x1de852:0xfb,_0xe08a30:0x3e5,_0x442f1c:0x42c,_0x4ed2ea:0x218,_0x223769:0x3a,_0x419445:0x1dd,_0x1a6212:0x2f5,_0x30959c:0x2ac,_0x30de28:0x15f,_0x1e78cf:0x31,_0xc6e77d:0x240,_0x14f839:0x2bd},_0x3b0540={_0x5027ab:0xc8,_0x2227a6:0x157},_0x5e2d80={_0x3fa6f1:0xf3,_0x18af21:0x12d,_0x5b7515:0x25d},_0x3f791b=[],_0x511303=[];for(const _0x30eec8 of _0xe0bfde[_0xf8c7c3(-_0x3d8c9a._0x18c459,-0x259,-0x181,-0x1a6)]){const _0x582d4d=ownValue(_0xe0bfde[_0xf8c7c3(_0x3d8c9a._0xe84739,0xb0,_0x3d8c9a._0x4dddfc,-_0x3d8c9a._0x1de852)],_0x30eec8[_0x39eabc(0x269,_0x3d8c9a._0xe08a30,_0x3d8c9a._0x442f1c,0x569)]),_0x44f06c=isToolPermissionClass(_0x582d4d)?_0x582d4d:void 0x0,_0x5a1f83=_0x44f06c??'always-confirm',_0xb344eb=suggestedPermissionClass(_0x30eec8);_0x511303['push']({'name':_0x30eec8[_0xf8c7c3(-0x10,-0x1da,-0x19f,0x139)],..._0x30eec8['description']!==void 0x0?{'description':_0x30eec8['description']}:{},...isJsonValue(_0x30eec8[_0xf8c7c3(-_0x3d8c9a._0x4ed2ea,-0x153,-0xf5,-0x19d)])?{'inputSchema':_0x30eec8[_0x39eabc(_0x3d8c9a._0x223769,_0x3d8c9a._0x419445,0x328,0x1a4)]}:{},'permissionClass':_0x5a1f83,'permissionConfigured':_0x44f06c!==void 0x0,..._0xb344eb!==void 0x0?{'suggestedPermissionClass':_0xb344eb}:{}});if(ownValue(_0xe0bfde[_0x39eabc(_0x3d8c9a._0x1a6212,_0x3d8c9a._0x30959c,0x285,0x20b)],_0x30eec8[_0xf8c7c3(-0x10,0xfa,-_0x3d8c9a._0x30de28,-_0x3d8c9a._0x1e78cf)])===![])continue;_0x3f791b['push'](createMcpTool({'serverName':_0xe0bfde[_0x39eabc(_0x3d8c9a._0xc6e77d,0x24a,0x366,0x1ac)]??_0xe0bfde[_0x39eabc(0x16e,0x236,0x41c,0x27b)],'tool':_0x30eec8,'client':_0xe0bfde['client'],'permissionClass':_0x5a1f83,'internalLifecycle':_0xe0bfde[_0xf8c7c3(0xfc,0x1cd,_0x3d8c9a._0x14f839,0xcf)]}));}function _0x39eabc(_0x1c7125,_0x2db1c6,_0xaa7fe1,_0x436d1c){return _0x38b1c5(_0x1c7125-_0x5e2d80._0x3fa6f1,_0x2db1c6-_0x5e2d80._0x18af21,_0x2db1c6- -_0x5e2d80._0x5b7515,_0xaa7fe1);}function _0xf8c7c3(_0x321f38,_0x26db32,_0x2de050,_0x5e9a82){return _0x4a0aa5(_0x26db32,_0x321f38- -0x594,_0x2de050-_0x3b0540._0x5027ab,_0x5e9a82-_0x3b0540._0x2227a6);}return{'tools':_0x3f791b,'descriptors':_0x511303};}function createMcpToolName(_0x5aff96,_0x59813b){const _0x524dab={_0x59874a:0x4f,_0x313dbd:0x21},_0x56d21d={_0x51e6c3:0x30a,_0x5e82c0:0x3f},_0x5da6d6=_0x4e874d=>_0x4e874d[_0x4f3b38(-0x19b,0x3a,-0x3c,0x104)](/[^a-zA-Z0-9_]+/g,'_')[_0x49a449(-0x181,-0x2fe,-0x21c,-0x338)](/^_+|_+$/g,'');function _0x49a449(_0xaa9a45,_0xb3b8d4,_0x3545e0,_0x45e392){return _0x4a0aa5(_0x45e392,_0x3545e0- -0x560,_0x3545e0-0xad,_0x45e392-0x1a0);}function _0x4f3b38(_0x5abe76,_0x55df38,_0x19afb3,_0x5b2392){return _0x4a0aa5(_0x19afb3,_0x55df38- -_0x56d21d._0x51e6c3,_0x19afb3-0x93,_0x5b2392-_0x56d21d._0x5e82c0);}return _0x49a449(-0x147,0x42,-_0x524dab._0x59874a,_0x524dab._0x313dbd)+_0x5da6d6(_0x5aff96)+'_'+_0x5da6d6(_0x59813b);}function isObject(_0x1f329d){const _0x6d4a1c={_0x509390:0x406,_0x5783a3:0x1cd,_0x476d81:0x27f,_0x2facc4:0xcb,_0x8bb5fa:0x163},_0x3cd47f={_0x5e06e7:0x2b1,_0x33fb14:0x161},_0xfd2fde={_0x33ea23:0x16c,_0xfbb537:0x185};function _0xe8d6a5(_0x3105bf,_0x32b5a2,_0x181b2e,_0x10b24b){return _0x4a0aa5(_0x10b24b,_0x3105bf- -0x299,_0x181b2e-_0xfd2fde._0x33ea23,_0x10b24b-_0xfd2fde._0xfbb537);}function _0xe0d122(_0xcdbb35,_0x1fe4cf,_0x1c348e,_0x1d0dfd){return _0x4a0aa5(_0xcdbb35,_0x1d0dfd- -_0x3cd47f._0x5e06e7,_0x1c348e-_0x3cd47f._0x33fb14,_0x1d0dfd-0xc7);}return typeof _0x1f329d===_0xe0d122(0x2d5,_0x6d4a1c._0x509390,_0x6d4a1c._0x5783a3,_0x6d4a1c._0x476d81)&&_0x1f329d!==null&&!Array[_0xe0d122(0x291,_0x6d4a1c._0x2facc4,_0x6d4a1c._0x8bb5fa,0x257)](_0x1f329d);}function toSupportedSchema(_0x39bc81){const _0x1a0709={_0x392312:0x9db,_0x54b55b:0xa42,_0x143e4d:0x875,_0x1159c:0x6d2,_0x2a7b33:0x7ea,_0x2e58a8:0x73b,_0x401133:0x647,_0x45774a:0x88e,_0x175804:0x6ef,_0xf18aba:0x832,_0x28d401:0x627,_0x35c7cf:0x781,_0x5e32e5:0x6e7,_0xc44ff9:0x92d,_0x61bb75:0x647,_0x19754c:0x891,_0xd85a5a:0x678,_0xb83c3e:0xa2d,_0x444085:0x948,_0x530415:0x681,_0x58d649:0x511,_0x28512f:0x5c0},_0x2db15b={_0x5f065a:0x132},_0x2c1cf6={_0xda2689:0xf6,_0x5bb8c6:0x108};if(!isObject(_0x39bc81))return void 0x0;if(_0x39bc81['type']===_0x2e6d9c(0x6a7,0x815,_0x1a0709._0x392312,0x673))return{'type':_0x1b1770(_0x1a0709._0x54b55b,_0x1a0709._0x143e4d,_0x1a0709._0x1159c,_0x1a0709._0x2a7b33)};function _0x2e6d9c(_0x180197,_0x36e00d,_0x38224d,_0x58dd37){return _0x4a0aa5(_0x180197,_0x36e00d-0x177,_0x38224d-_0x2c1cf6._0xda2689,_0x58dd37-_0x2c1cf6._0x5bb8c6);}if(_0x39bc81[_0x1b1770(0x672,0x6a1,0x84f,_0x1a0709._0x2e58a8)]===_0x2e6d9c(_0x1a0709._0x401133,0x68f,0x7ce,0x650)||_0x39bc81['type']==='integer')return{'type':_0x1b1770(_0x1a0709._0x45774a,_0x1a0709._0x175804,0x74a,_0x1a0709._0xf18aba)};if(_0x39bc81['type']===_0x1b1770(_0x1a0709._0x28d401,0x5b1,0x48b,_0x1a0709._0x35c7cf))return{'type':'boolean'};if(_0x39bc81[_0x1b1770(0x8ac,0x6a1,0x83e,_0x1a0709._0x5e32e5)]===_0x1b1770(0x988,0x849,0x7e4,_0x1a0709._0xc44ff9))return{'type':_0x1b1770(_0x1a0709._0x61bb75,0x849,0x6d2,0x7c2),'items':toSupportedSchema(_0x39bc81[_0x2e6d9c(_0x1a0709._0x19754c,0x6bf,_0x1a0709._0xd85a5a,0x778)])??{'type':_0x1b1770(_0x1a0709._0xb83c3e,_0x1a0709._0x143e4d,_0x1a0709._0x444085,0x72a)}};if(_0x39bc81[_0x1b1770(_0x1a0709._0x530415,0x6a1,0x49f,0x5d7)]===_0x1b1770(_0x1a0709._0x58d649,0x707,0x875,_0x1a0709._0x28512f))return toNuvinToolSchema(_0x39bc81);function _0x1b1770(_0x2d5e77,_0x388d8b,_0x40fa76,_0x1cf2ca){return _0x4a0aa5(_0x2d5e77,_0x388d8b-0x1d7,_0x40fa76-_0x2db15b._0x5f065a,_0x1cf2ca-0x188);}return void 0x0;}function toNuvinToolSchema(_0x34771d){const _0x4f1588={_0x7e4930:0x4a2,_0x161784:0x6a5,_0x4c4d9c:0x16e,_0x35ef03:0x85,_0xbd1188:0x231,_0x151beb:0x136,_0x4df3dc:0x31,_0x15daf8:0x5c,_0x207d28:0xe6,_0x3c3464:0x729,_0x174017:0x97c,_0x207377:0x6de,_0x1dac5f:0x845,_0x418663:0x797,_0x3d133:0x668,_0x5dab79:0x5d8,_0x3676cb:0x184,_0x11f528:0x28e,_0x18bf69:0x85},_0x36ef7a={_0xa81c52:0x29,_0x1001ef:0x134,_0x53559d:0x569};if(!isObject(_0x34771d)||_0x34771d[_0x40efbc(_0x4f1588._0x7e4930,0x852,_0x4f1588._0x161784,0x689)]!=='object')return{'type':_0x505f53(-_0x4f1588._0x4c4d9c,_0x4f1588._0x35ef03,-0x3f,_0x4f1588._0xbd1188),'properties':{}};const _0x5b6194={};function _0x505f53(_0x1d74ad,_0x3a4551,_0x926d30,_0x520784){return _0x38b1c5(_0x1d74ad-_0x36ef7a._0xa81c52,_0x3a4551-_0x36ef7a._0x1001ef,_0x3a4551- -_0x36ef7a._0x53559d,_0x1d74ad);}const _0x3caf5a=isObject(_0x34771d[_0x505f53(_0x4f1588._0x151beb,0xe6,_0x4f1588._0x4df3dc,0x1b2)])?_0x34771d[_0x505f53(-_0x4f1588._0x15daf8,_0x4f1588._0x207d28,0x214,0x22b)]:{};for(const [_0x542d43,_0x17480a]of Object[_0x40efbc(_0x4f1588._0x3c3464,_0x4f1588._0x174017,_0x4f1588._0x207377,_0x4f1588._0x1dac5f)](_0x3caf5a)){const _0x40a926=toSupportedSchema(_0x17480a);if(_0x40a926)_0x5b6194[_0x542d43]=_0x40a926;}function _0x40efbc(_0xf412fa,_0x380fb4,_0x41339b,_0x48d682){return _0x4a0aa5(_0x380fb4,_0x48d682-0x1bf,_0x41339b-0x140,_0x48d682-0x8a);}const _0x5dfab1=Array[_0x40efbc(_0x4f1588._0x418663,_0x4f1588._0x3d133,_0x4f1588._0x5dab79,0x6c7)](_0x34771d['required'])?_0x34771d['required'][_0x505f53(-_0x4f1588._0x3676cb,-0x16e,-0xd6,-_0x4f1588._0x11f528)](_0x16587e=>typeof _0x16587e==='string'):void 0x0;return _0x5dfab1?.[_0x505f53(0x2d5,0x1fe,0x294,0x3a8)]?{'type':'object','properties':_0x5b6194,'required':_0x5dfab1}:{'type':_0x505f53(0x200,_0x4f1588._0x18bf69,0x1b7,-0x14a),'properties':_0x5b6194};}function isJsonObject(_0x9083df){const _0x1fb671={_0x1c2642:0x428,_0xfda331:0x2f2,_0x5a9cac:0x5b2},_0x10e58f={_0x2e479b:0xc0,_0x54b384:0x119};function _0xa1950e(_0x416ee3,_0x54185d,_0x3d4f2f,_0x57bb13){return _0x38b1c5(_0x416ee3-0x12d,_0x54185d-_0x10e58f._0x2e479b,_0x57bb13- -_0x10e58f._0x54b384,_0x416ee3);}return typeof _0x9083df==='object'&&_0x9083df!==null&&!Array[_0xa1950e(_0x1fb671._0x1c2642,_0x1fb671._0xfda331,_0x1fb671._0x5a9cac,0x4ad)](_0x9083df);}function formatMcpContent(_0x27abc8){const _0x28895e={_0x95df1:0x7cb,_0x49c836:0x588,_0x3de832:0x5df,_0x58c784:0x643,_0x22a742:0x659,_0x19c8a3:0x45d,_0x30c105:0x5a2,_0x17542f:0x6a2,_0x35aa4f:0x6ff,_0x30addc:0x720,_0x5ee8c8:0x248,_0x22ce9b:0x409,_0x4cf79d:0x3d8,_0x4b94b2:0x46a,_0x5c3596:0x46c},_0x42f7f4={_0x17f449:0x41,_0x36c06b:0xed},_0x1e0fda={_0x61bd47:0x3},_0x324ae5={_0x1ffbe7:0x93,_0x20d886:0x2bc,_0x518b35:0xe9,_0x1cda58:0x239,_0xee4560:0x4bc,_0x277c7a:0x2fd,_0x4c074e:0x34a,_0x441437:0x2bd,_0x163840:0x4c4,_0x2a616c:0x115,_0x1d0244:0x28a,_0x24bde2:0x341},_0x3c2f16={_0x2487c2:0x1a4},_0x26b6f9=Array[_0x4224f7(0x5c9,0x70c,_0x28895e._0x95df1,0x3f2)](_0x27abc8[_0x4224f7(_0x28895e._0x49c836,_0x28895e._0x3de832,_0x28895e._0x58c784,_0x28895e._0x22a742)])?_0x27abc8[_0x4224f7(0x588,0x469,_0x28895e._0x19c8a3,_0x28895e._0x30c105)]:[],_0xc821d8=_0x26b6f9[_0x4224f7(_0x28895e._0x17542f,_0x28895e._0x35aa4f,0x541,_0x28895e._0x30addc)](_0x1f649e=>{if(!isObject(_0x1f649e))return'';function _0x8ed09e(_0x5cfac8,_0x24a499,_0x39c485,_0x4c1fc8){return _0x524469(_0x5cfac8-0x188,_0x4c1fc8,_0x39c485-0xab,_0x5cfac8-0xb0);}if(_0x1f649e[_0xcae8a0(_0x324ae5._0x1ffbe7,_0x324ae5._0x20d886,_0x324ae5._0x518b35,_0x324ae5._0x1cda58)]===_0x8ed09e(_0x324ae5._0xee4560,0x391,_0x324ae5._0x277c7a,0x50e)&&typeof _0x1f649e[_0xcae8a0(0x19c,0x2e2,0x268,0x34f)]===_0xcae8a0(0x401,_0x324ae5._0x4c074e,_0x324ae5._0x441437,_0x324ae5._0x163840))return _0x1f649e[_0xcae8a0(_0x324ae5._0x2a616c,0x9a,0x268,_0x324ae5._0x1d0244)];function _0xcae8a0(_0x30cdd4,_0x1aa128,_0x3cbbe9,_0x4c2ab4){return _0x524469(_0x30cdd4-0xbe,_0x1aa128,_0x3cbbe9-0x1a8,_0x3cbbe9- -_0x3c2f16._0x2487c2);}return JSON[_0x8ed09e(0x2ba,_0x324ae5._0x24bde2,0x265,0x238)](_0x1f649e);})[_0x4224f7(0x3fe,_0x28895e._0x5ee8c8,0x24d,0x5f2)](_0x2c76f7=>_0x2c76f7['length']>0x0)[_0x4224f7(0x5ee,0x5d4,0x63b,0x752)]('\x0a');if(_0xc821d8[_0x524469(_0x28895e._0x22ce9b,_0x28895e._0x4cf79d,_0x28895e._0x4b94b2,_0x28895e._0x5c3596)]>0x0)return _0xc821d8;function _0x4224f7(_0x1a1244,_0x1001cf,_0x4b1757,_0xd001f0){return _0x38b1c5(_0x1a1244-0x5f,_0x1001cf-0x83,_0x1a1244-_0x1e0fda._0x61bd47,_0x4b1757);}function _0x524469(_0x4bbad3,_0x596864,_0x4a5154,_0x522e6d){return _0x4a0aa5(_0x596864,_0x522e6d- -0x23d,_0x4a5154-_0x42f7f4._0x17f449,_0x522e6d-_0x42f7f4._0x36c06b);}return JSON['stringify'](_0x27abc8,null,0x2);}function createMcpTool(_0x1c3ce9){const _0x491679={_0x54bf88:0x362,_0x102092:0x3bc,_0x42b30e:0x5af,_0x312c83:0x29d,_0x415cc7:0x3a9,_0x149a7a:0x361,_0xd315f5:0x604,_0x41e902:0x595,_0x1e80d8:0x460,_0x21cd59:0x413,_0x344cf6:0x104,_0x2a38f2:0x33b,_0x3c7e84:0x398,_0x2bf092:0x5ae,_0x24b744:0x521,_0x12b2be:0x456,_0x191e68:0x3a9,_0x34d6e9:0x284,_0x16e525:0x1dc,_0x4c14cd:0x2d0,_0x1af3a5:0x3a4,_0x4613ed:0x5aa,_0x3c8a65:0x147},_0x1ed5ba={_0x3b2e46:0x615,_0x4716ae:0x3e5,_0x4afbdc:0x425,_0x5cbccf:0x4f1,_0x3b67cd:0x4e5,_0x7e2685:0x616,_0xc9969:0x33e,_0x14f970:0x3f2,_0x3e0a18:0x2bb,_0x212e56:0x5f6,_0x4bb911:0x569,_0x441dc8:0x3c1,_0x11063c:0x4d2,_0x459116:0x5c9,_0x5b37db:0x423,_0x2d18ce:0x457,_0x200965:0x489,_0x32e9bd:0x378},_0x41a556={_0x47d766:0x11a,_0x455ee6:0x2d,_0x2986f1:0x6c},_0x9488a0={_0x484d7f:0x15e,_0x32a88b:0x22f},_0x13f2fc={_0x4b6c5c:0x1c4,_0x5ee969:0x299},_0x188eba=createMcpToolName(_0x1c3ce9['serverName'],_0x1c3ce9[_0x36a2c8(_0x491679._0x54bf88,_0x491679._0x102092,_0x491679._0x42b30e,0x47d)][_0x9096e(0x399,_0x491679._0x312c83,0x41a,_0x491679._0x415cc7)]);function _0x9096e(_0xb41ea8,_0x46f234,_0x26536e,_0x899902){return _0x38b1c5(_0xb41ea8-_0x13f2fc._0x4b6c5c,_0x46f234-0x6b,_0x899902- -_0x13f2fc._0x5ee969,_0xb41ea8);}function _0x36a2c8(_0xbaab9d,_0x451b26,_0x2b7408,_0x2247fd){return _0x38b1c5(_0xbaab9d-_0x9488a0._0x484d7f,_0x451b26-0x4d,_0x2247fd- -_0x9488a0._0x32a88b,_0x2b7408);}return defineTool({'name':_0x188eba,'permissionClass':_0x1c3ce9[_0x9096e(0x3fe,0x1c6,0x225,_0x491679._0x149a7a)],..._0x1c3ce9[_0x36a2c8(0x46b,_0x491679._0xd315f5,_0x491679._0x41e902,0x452)]!==void 0x0?{'internalLifecycle':_0x1c3ce9['internalLifecycle']}:{},'description':_0x1c3ce9[_0x9096e(_0x491679._0x1e80d8,0x4aa,0x625,_0x491679._0x21cd59)]['description']??_0x36a2c8(_0x491679._0x344cf6,_0x491679._0x2a38f2,0x273,0x29c)+_0x1c3ce9[_0x9096e(_0x491679._0x3c7e84,_0x491679._0x2bf092,0x2c1,_0x491679._0x21cd59)][_0x9096e(_0x491679._0x24b744,0x5b6,_0x491679._0x12b2be,_0x491679._0x191e68)]+_0x9096e(_0x491679._0x34d6e9,0x2aa,_0x491679._0x16e525,0x2ac)+_0x1c3ce9[_0x9096e(0xf9,0x288,_0x491679._0x4c14cd,0x1fa)],'inputSchema':toNuvinToolSchema(_0x1c3ce9[_0x9096e(_0x491679._0x1af3a5,0x4b0,_0x491679._0x4613ed,_0x491679._0x21cd59)][_0x9096e(0x63,_0x491679._0x3c8a65,0x2e,0x1a1)]),async *'execute'(_0x2863bd){let _0x2cc884;try{_0x2cc884=await _0x1c3ce9[_0x2f61ed(_0x1ed5ba._0x3b2e46,0x5c6,_0x1ed5ba._0x4716ae,_0x1ed5ba._0x4afbdc)][_0x2f61ed(0x2f2,_0x1ed5ba._0x5cbccf,0x595,_0x1ed5ba._0x3b67cd)]({'name':_0x1c3ce9[_0x2f61ed(_0x1ed5ba._0x7e2685,_0x1ed5ba._0xc9969,0x3b4,0x4e9)][_0x2f61ed(_0x1ed5ba._0x14f970,_0x1ed5ba._0x3e0a18,_0x1ed5ba._0x212e56,0x47f)],'arguments':isJsonObject(_0x2863bd)?_0x2863bd:{}});if(_0x2cc884['isError'])throw toMcpSafeError({'serverName':_0x1c3ce9[_0x4571b9(0x548,_0x1ed5ba._0x4bb911,0x33f,_0x1ed5ba._0x441dc8)],'operation':_0x4571b9(_0x1ed5ba._0x11063c,0x38b,_0x1ed5ba._0x459116,_0x1ed5ba._0x5b37db),'error':_0x2cc884});}catch(_0x3a9dfe){throw extractOwnedMcpSafeError(_0x3a9dfe)??toMcpSafeError({'serverName':_0x1c3ce9[_0x2f61ed(_0x1ed5ba._0x2d18ce,0x1b9,0xe4,0x2d0)],'operation':_0x2f61ed(_0x1ed5ba._0x200965,0x32c,0x178,0x332),'error':_0x3a9dfe});}yield createToolOutput(formatMcpContent(_0x2cc884),{'serverName':_0x1c3ce9['serverName'],'toolName':_0x1c3ce9[_0x2f61ed(_0x1ed5ba._0x32e9bd,0x5b5,0x615,0x4e9)]['name'],'result':_0x2cc884});function _0x2f61ed(_0x137b0e,_0x5eacaa,_0x790f82,_0x5830f0){return _0x36a2c8(_0x137b0e-_0x41a556._0x47d766,_0x5eacaa-_0x41a556._0x455ee6,_0x790f82,_0x5830f0-_0x41a556._0x2986f1);}function _0x4571b9(_0x2f8dde,_0x229590,_0x4d298f,_0x5725e3){return _0x9096e(_0x2f8dde,_0x229590-0x11b,_0x4d298f-0x11e,_0x5725e3-0x1c7);}return void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x83bb2f){let _0x5675a5=_0x83bb2f;return{'get'(){return _0x5675a5;},'set'(_0x1d4ba0){_0x5675a5=_0x1d4ba0;}};}function resolveMcpTimeoutMs(_0x18dbd9,_0x21b8d0){const _0x82c0ba={_0x3514ad:0x34,_0x4195b4:0x1bf};function _0x5ae714(_0x451410,_0x5d7bfa,_0x24b4e3,_0x5d9902){return _0x38b1c5(_0x451410-0x11b,_0x5d7bfa-0x61,_0x24b4e3- -0x428,_0x5d7bfa);}return _0x18dbd9[_0x5ae714(-_0x82c0ba._0x3514ad,0x383,_0x82c0ba._0x4195b4,0x25)]??_0x21b8d0??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x4db8ad,_0x603cf7){return(_0x603cf7?extractOwnedMcpSafeError(_0x4db8ad['error']):void 0x0)??createOwnedMcpSafeError(_0x4db8ad);}function createMcpGenerationLifecycle(_0x4e36d4){const _0x39eebb={_0x1d1985:0x4d2,_0x4604b9:0x44e,_0x179fe9:0x3e4};let _0x2cbebe=0x0,_0x27ebf3=![],_0x6dc9aa=![],_0x5dee28,_0x119603,_0x327560;const _0x1a8345=()=>{if(!_0x27ebf3||_0x2cbebe!==0x0||_0x6dc9aa)return;function _0x16f280(_0x221fad,_0x80ce30,_0x2f5d05,_0xbdc781){return _0x3233(_0x221fad-0x21d,_0xbdc781);}_0x6dc9aa=!![],void Promise[_0x16f280(_0x39eebb._0x1d1985,_0x39eebb._0x4604b9,0x4e1,_0x39eebb._0x179fe9)]()['then'](_0x4e36d4)['then'](_0x119603,_0x327560);};return{'acquire'(){if(_0x27ebf3)throw new Error('Cannot\x20acquire\x20a\x20retired\x20MCP\x20connection\x20generation');_0x2cbebe+=0x1;let _0x2fd318=![];return()=>{if(_0x2fd318)return;_0x2fd318=!![],_0x2cbebe-=0x1,_0x1a8345();};},'retire'(){return!_0x5dee28&&(_0x5dee28=new Promise((_0x8785df,_0x4a7c43)=>{_0x119603=_0x8785df,_0x327560=_0x4a7c43;})),_0x27ebf3=!![],_0x1a8345(),_0x5dee28;}};}function buildMcpHttpHeaders(_0x5f2810){const _0x4a50bb={_0x4021e1:0x3ba,_0x60db6c:0x291,_0x507070:0x1e4,_0x6bae42:0x13c,_0x35ba5d:0x2dd,_0x14791b:0x723,_0x2230bf:0x42d,_0x382229:0x58,_0x57b9d6:0x13a,_0x2148bf:0x8b,_0x10f323:0x178,_0xd89acd:0x8e,_0x44aac7:0x64,_0x17875d:0x800,_0x12c43d:0x789,_0x4a97ea:0x7c1},_0x3d2285={_0x942281:0x1dc,_0x4ced95:0x1ec},_0x4e8c87={..._0x5f2810['headers']??{}};function _0x3ec77f(_0x24c0ed,_0x5499b6,_0x5afb7b,_0x29ef53){return _0x4a0aa5(_0x24c0ed,_0x5afb7b-_0x3d2285._0x942281,_0x5afb7b-0x69,_0x29ef53-_0x3d2285._0x4ced95);}function _0x368d00(_0x5173c5,_0x206272,_0x360593,_0x5f41d3){return _0x38b1c5(_0x5173c5-0x49,_0x206272-0x1c4,_0x360593- -0x52a,_0x206272);}return _0x5f2810[_0x368d00(0x1b1,_0x4a50bb._0x4021e1,_0x4a50bb._0x60db6c,_0x4a50bb._0x507070)]?.['type']==='bearer'&&_0x5f2810['auth'][_0x368d00(-0xee,0xa8,-_0x4a50bb._0x6bae42,-_0x4a50bb._0x35ba5d)]&&_0x4e8c87[_0x3ec77f(0x720,_0x4a50bb._0x14791b,0x576,_0x4a50bb._0x2230bf)]===void 0x0&&(_0x4e8c87['Authorization']=_0x368d00(-0x2ef,-_0x4a50bb._0x382229,-_0x4a50bb._0x57b9d6,_0x4a50bb._0x2148bf)+_0x5f2810[_0x368d00(0x221,_0x4a50bb._0x10f323,0x291,0x457)][_0x368d00(_0x4a50bb._0xd89acd,-0x71,-0x13c,-_0x4a50bb._0x44aac7)]),Object[_0x3ec77f(_0x4a50bb._0x17875d,0x603,0x815,_0x4a50bb._0x12c43d)](_0x4e8c87)[_0x3ec77f(_0x4a50bb._0x4a97ea,0xa86,0x885,0xa38)]>0x0?_0x4e8c87:void 0x0;}async function connectMcpServer(_0x506b7b,_0x4b5e59,_0xabff7){const _0x17e9b9={_0x506369:0x1e8,_0x1e7dca:0x9c,_0x35796a:0x81,_0x17236a:0x25f,_0x4ce415:0xa3,_0x32f7f8:0x1c1,_0x591a1a:0x9a,_0x26550d:0x5e,_0x54a28d:0x87,_0x1d095c:0x97,_0x33045c:0xb3,_0x288198:0x1a9,_0x3d1a81:0x231,_0x2b997c:0x33f,_0x21bcb1:0x45c,_0x494ff0:0x16,_0x7e12e0:0x18f,_0x4b4c1f:0x3a7,_0x15afa4:0xb7,_0x5c3844:0x48,_0x390848:0x10c,_0x5a0c7d:0x3f,_0x466105:0xbb,_0x39e604:0x142,_0x400c05:0x1a6,_0x1bb37d:0x318,_0x5f554e:0x1d6,_0x497a4d:0x3b,_0x5f2705:0x196,_0x27896e:0x3e0,_0x2cce4c:0x1f1,_0x172dca:0x17c,_0x2b9c60:0x260,_0x2671a4:0x303,_0x34b248:0x167,_0x28a9f:0x37b,_0x4d7b43:0x4c,_0x5e92a3:0x8d,_0x291015:0x157,_0x1ea63a:0x3,_0x173b16:0x62,_0x1b7fbb:0x31,_0x306fb0:0x15c,_0x2f76ae:0x1d2,_0x433fa5:0x1fd,_0x504599:0x132,_0x5aba4a:0x60,_0x4965bc:0x47,_0xb9ed0d:0x1cc,_0x47b6bc:0x109,_0x8f6754:0x81,_0x4e6fb8:0x62,_0x5066c2:0x45,_0x19fe0a:0x1af,_0x5307de:0x5f,_0x40bec9:0x2a5,_0x372b35:0x7a,_0x397ea5:0x9d,_0x2f3717:0x2a,_0x449d0f:0x118,_0xa1505d:0xbf,_0x180344:0x31c,_0x435ec2:0x20a,_0x1c343d:0x328,_0x14d29d:0xe5,_0x496e26:0x133,_0xae036f:0xaf,_0x23374d:0xb8,_0x1fcd83:0x21c,_0x5bd081:0x6b,_0x1b1fde:0x19e,_0x2e1e34:0x261,_0x32941e:0x4fa,_0x3a8e33:0x494,_0x28cae5:0x1e4,_0x1235f4:0x193,_0x27a38e:0xbf,_0x123b0d:0x20a,_0x1dec9c:0x416,_0x35b0f1:0xf4,_0x4c0142:0x2d,_0x2c7917:0x159},_0x40584c={_0x35df3a:0x6d0,_0x56e33a:0x5b4,_0x1c0056:0x632,_0x7443ad:0x72d,_0x209f5b:0x441},_0x41326d={_0x1584a1:0x77,_0x1cfce7:0x1c2,_0x4263ca:0xb0,_0x55fa0a:0xc3,_0x30bef0:0x4c7,_0x158f5d:0x2d3,_0x5820a4:0xf0,_0x3a702a:0x1dd,_0x62abfe:0x11b,_0x10fe5b:0x61,_0x3a5f9e:0x3e},_0x3d8591={_0x2685c7:0x1a2,_0x375877:0x125},_0x14f1d8={_0x53434f:0x31e,_0x5959a1:0x388,_0x50269:0x295,_0x14a868:0x150},_0x171358={_0x53ecdd:0x154,_0x468b9f:0x63,_0x203faa:0x20b,_0x21f043:0x23b,_0x4452f9:0xc5,_0x576a11:0x1ca,_0x26d30b:0xff,_0x8a2b54:0x31d,_0x53674:0xb4,_0x2ab1e9:0x1ab,_0x21e8c6:0x11c},_0xf3fd2a={_0x28e29e:0xee,_0x5d38d6:0xa4},_0x4fa1f4={_0x5fa8c4:0x318,_0x3aca29:0x99,_0x227212:0x4e8,_0x3bec06:0x312,_0x2f715f:0x399},_0x576117={_0x47879c:0x16},_0x3a5b81={_0x101ce7:0x5d6},_0x5bd8dc={_0x349aad:0xb1},_0x4491ac=new Client({'name':_0x4fa740(_0x17e9b9._0x506369,_0x17e9b9._0x1e7dca,_0x17e9b9._0x35796a,_0x17e9b9._0x17236a),'version':_0x460f68(-0xea,_0x17e9b9._0x4ce415,-0x3b,0x141)}),_0x2b3730=_0xabff7?.[_0x460f68(0x2a,0x209,0x3bd,_0x17e9b9._0x32f7f8)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS);function _0x4fa740(_0x4c674f,_0x404088,_0x226b9a,_0x3451fb){return _0x38b1c5(_0x4c674f-_0x5bd8dc._0x349aad,_0x404088-0x47,_0x404088- -0x615,_0x3451fb);}const _0x4c8eff=new Set();let _0x34987c,_0x425da1=![];const _0x191ee8=()=>{const _0x15b86e={_0x3c236b:0xa4};if(_0x425da1||_0x34987c)return;function _0x8f872c(_0x45ba48,_0x2319a3,_0x4233ad,_0x3fe192){return _0x460f68(_0x45ba48-_0x15b86e._0x3c236b,_0x45ba48-0x390,_0x4233ad-0x3b,_0x3fe192);}_0x34987c={'code':'mcp-transport-error','cause':new Error(_0x8f872c(0x516,0x616,0x438,_0x3a5b81._0x101ce7))};for(const _0x56a792 of _0x4c8eff){try{_0x56a792(_0x34987c);}catch{}}};_0x4491ac[_0x4fa740(0x16f,-_0x17e9b9._0x591a1a,0x34,-0x23b)]=()=>{function _0x396318(_0x58d236,_0x294b03,_0x27462d,_0x119c2f){return _0x460f68(_0x58d236-0x11a,_0x294b03-_0x576117._0x47879c,_0x27462d-0x180,_0x27462d);}function _0x193825(_0x320a20,_0x4995f4,_0x46678d,_0x184494){return _0x460f68(_0x320a20-0x1ef,_0x320a20-0x106,_0x46678d-0x173,_0x4995f4);}console[_0x193825(0x2a4,0x421,_0x4fa1f4._0x5fa8c4,_0x4fa1f4._0x3aca29)](_0x396318(_0x4fa1f4._0x227212,_0x4fa1f4._0x3bec06,_0x4fa1f4._0x2f715f,0x12a),{'server':_0x506b7b,'code':'mcp-sdk-client-error'});};function _0x460f68(_0x4b8a49,_0x151f5d,_0x4869fc,_0x4e61be){return _0x4a0aa5(_0x4e61be,_0x151f5d- -0x323,_0x4869fc-_0xf3fd2a._0x28e29e,_0x4e61be-_0xf3fd2a._0x5d38d6);}_0x4491ac[_0x4fa740(-0xac,_0x17e9b9._0x26550d,0x2b,-_0x17e9b9._0x54a28d)]=_0x191ee8;try{if(_0x4b5e59[_0x4fa740(_0x17e9b9._0x1d095c,_0x17e9b9._0x33045c,-0x41,_0x17e9b9._0x288198)]===_0x460f68(_0x17e9b9._0x3d1a81,_0x17e9b9._0x2b997c,0x52d,_0x17e9b9._0x21bcb1)||_0x4b5e59[_0x4fa740(0x13c,_0x17e9b9._0x494ff0,0xc0,-_0x17e9b9._0x7e12e0)]){if(!_0x4b5e59[_0x460f68(_0x17e9b9._0x4b4c1f,0x24a,0x41b,0x14d)])throw new Error(_0x460f68(-0x12f,0xb8,_0x17e9b9._0x15afa4,_0x17e9b9._0x5c3844)+_0x506b7b+_0x460f68(_0x17e9b9._0x390848,_0x17e9b9._0x5a0c7d,-_0x17e9b9._0x466105,-_0x17e9b9._0x39e604));if(_0x4b5e59[_0x4fa740(0x376,_0x17e9b9._0x400c05,_0x17e9b9._0x1bb37d,_0x17e9b9._0x5f554e)]?.[_0x4fa740(0x4d,-0x8d,_0x17e9b9._0x497a4d,-_0x17e9b9._0x5f2705)]==='oauth'&&!_0xabff7?.[_0x460f68(_0x17e9b9._0x27896e,0x1d2,0x289,0x2cb)])throw new Error(_0x4fa740(-_0x17e9b9._0x2cce4c,-_0x17e9b9._0x172dca,-0x1ce,-0xa0)+_0x506b7b+_0x460f68(0x462,0x360,_0x17e9b9._0x2b9c60,_0x17e9b9._0x2671a4));const _0x54c2cf=buildMcpHttpHeaders(_0x4b5e59),_0x427712=_0x4b5e59[_0x4fa740(_0x17e9b9._0x34b248,_0x17e9b9._0x400c05,_0x17e9b9._0x28a9f,-_0x17e9b9._0x4d7b43)]?.[_0x4fa740(0xf7,-_0x17e9b9._0x5e92a3,_0x17e9b9._0x291015,-_0x17e9b9._0x1ea63a)]===_0x4fa740(0x19a,-_0x17e9b9._0x173b16,_0x17e9b9._0x1b7fbb,-_0x17e9b9._0x306fb0)&&_0xabff7?.[_0x460f68(0x219,_0x17e9b9._0x2f76ae,_0x17e9b9._0x433fa5,_0x17e9b9._0x504599)]?createMcpOAuthProvider({'serverName':_0x506b7b,'callbackUrl':_0xabff7[_0x4fa740(-0x2c,-_0x17e9b9._0x173b16,-_0x17e9b9._0x5aba4a,-0x74)][_0x4fa740(_0x17e9b9._0x4965bc,_0x17e9b9._0xb9ed0d,_0x17e9b9._0x47b6bc,_0x17e9b9._0x8f6754)],'storageDir':_0xabff7[_0x4fa740(0xfc,-_0x17e9b9._0x4e6fb8,0xa9,_0x17e9b9._0x5066c2)][_0x4fa740(0x31e,_0x17e9b9._0x19fe0a,_0x17e9b9._0x5307de,0x2ba)],'config':_0x4b5e59['auth'],'onRedirect':_0x150545=>_0xabff7[_0x460f68(0x39e,0x1d2,0x2e2,0x222)]?.[_0x4fa740(-0x10,0x7a,0x131,0x264)](_0x506b7b,_0x150545)}):void 0x0,_0x5bb3a9=new StreamableHTTPClientTransport(new URL(_0x4b5e59[_0x460f68(_0x17e9b9._0x40bec9,0x24a,_0x17e9b9._0x372b35,0x284)]),{'authProvider':_0x427712,'requestInit':_0x54c2cf?{'headers':_0x54c2cf}:void 0x0});await _0x4491ac['connect'](_0x5bb3a9,{'timeout':_0x2b3730['get'](),..._0xabff7?.[_0x460f68(-_0x17e9b9._0x397ea5,_0x17e9b9._0x2f3717,-_0x17e9b9._0x449d0f,_0x17e9b9._0xa1505d)]!==void 0x0?{'signal':_0xabff7[_0x4fa740(-_0x17e9b9._0x180344,-_0x17e9b9._0x435ec2,-0x22f,-_0x17e9b9._0x1c343d)]}:{}});}else{if(!_0x4b5e59[_0x4fa740(_0x17e9b9._0x14d29d,_0x17e9b9._0x496e26,-0xbc,0x181)])throw new Error(_0x460f68(_0x17e9b9._0xae036f,_0x17e9b9._0x23374d,0x269,_0x17e9b9._0x1fcd83)+_0x506b7b+_0x4fa740(-_0x17e9b9._0x5bd081,_0x17e9b9._0x1b1fde,_0x17e9b9._0x2e1e34,0x1e9));const _0x4a1c78=new StdioClientTransport({'command':_0x4b5e59[_0x460f68(0x2ec,0x367,_0x17e9b9._0x32941e,_0x17e9b9._0x3a8e33)],'args':_0x4b5e59[_0x4fa740(0xe1,-0x60,-0x266,-0x1a7)]??[],'env':_0x4b5e59[_0x4fa740(-0x1f6,-_0x17e9b9._0x28cae5,-0x253,-0x2be)],'stderr':'pipe'});await _0x4491ac['connect'](_0x4a1c78,{'timeout':_0x2b3730['get'](),..._0xabff7?.[_0x4fa740(-0x322,-0x20a,-0x3a5,-_0x17e9b9._0x1235f4)]!==void 0x0?{'signal':_0xabff7[_0x4fa740(-_0x17e9b9._0x27a38e,-_0x17e9b9._0x123b0d,-_0x17e9b9._0x1dec9c,-0x15b)]}:{}});}}catch(_0x206528){throw createOwnedMcpSafeError({'serverName':_0x506b7b,'operation':_0x460f68(0xef,_0x17e9b9._0x35b0f1,-_0x17e9b9._0x4c0142,_0x17e9b9._0x2c7917),'error':_0x206528});}return{async 'listTools'(_0x23e139){const _0x31752a={_0x330eb0:0x1dd},_0x5edb79=_0x23e139?.[_0x445569(0xf7,_0x171358._0x53ecdd,_0x171358._0x468b9f,_0x171358._0x203faa)]??_0xabff7?.[_0x445569(-0xa9,_0x171358._0x21f043,0x63,_0x171358._0x4452f9)];function _0x445569(_0x2bc682,_0x3f7e67,_0xdeed1c,_0x1c86e2){return _0x460f68(_0x2bc682-0x1d6,_0xdeed1c-0x39,_0xdeed1c-_0x31752a._0x330eb0,_0x1c86e2);}function _0x56b418(_0xec2088,_0x3de346,_0x2ebaee,_0x269fb5){return _0x4fa740(_0xec2088-0x6d,_0x3de346-0x253,_0x2ebaee-0x4,_0x269fb5);}try{return await _0x4491ac[_0x56b418(_0x171358._0x576a11,0xfb,-_0x171358._0x26d30b,0x46)](void 0x0,{'timeout':_0x2b3730[_0x445569(0xd4,_0x171358._0x8a2b54,0x131,-_0x171358._0x53674)](),..._0x5edb79!==void 0x0?{'signal':_0x5edb79}:{}});}catch(_0x5ac1a9){throw createOwnedMcpSafeError({'serverName':_0x506b7b,'operation':_0x56b418(0x386,_0x171358._0x2ab1e9,_0x171358._0x21e8c6,0x318),'error':_0x5ac1a9});}},'onTerminalError'(_0x37e72c){const _0x51c6d7={_0x4b6d18:0x5d9,_0x39218d:0x7b4},_0x371ad0={_0x32e3a1:0x1d8},_0x5a6a75={_0x9a6e52:0x1aa,_0x4c6700:0x162};function _0x208d03(_0x1ebc7a,_0x24a483,_0x52c1ca,_0x5aa5f2){return _0x460f68(_0x1ebc7a-_0x5a6a75._0x9a6e52,_0x1ebc7a-_0x5a6a75._0x4c6700,_0x52c1ca-0x1f0,_0x24a483);}function _0x17bb2b(_0x573895,_0x4bcf3a,_0x201952,_0xdefccd){return _0x460f68(_0x573895-_0x371ad0._0x32e3a1,_0xdefccd-0x205,_0x201952-0x15b,_0x4bcf3a);}_0x4c8eff[_0x208d03(_0x14f1d8._0x53434f,_0x14f1d8._0x5959a1,_0x14f1d8._0x50269,_0x14f1d8._0x14a868)](_0x37e72c);const _0x447072=_0x34987c;return _0x447072&&queueMicrotask(()=>{const _0x1efb0d={_0x2553ee:0x1e1};function _0x4eb464(_0x153c23,_0x1196bf,_0x2484e2,_0x48c938){return _0x208d03(_0x48c938-0x265,_0x153c23,_0x2484e2-0x5c,_0x48c938-_0x1efb0d._0x2553ee);}if(_0x4c8eff[_0x4eb464(0x691,0x88c,_0x51c6d7._0x4b6d18,_0x51c6d7._0x39218d)](_0x37e72c))_0x37e72c(_0x447072);}),()=>_0x4c8eff[_0x208d03(0x26f,0x332,0x152,0x35a)](_0x37e72c);},async 'callTool'(_0x53a840){const _0x3f9544={_0x12fee6:0x43,_0xa58d42:0xe2};function _0x53fb4f(_0x4e4436,_0x3b1096,_0x5849ec,_0x531794){return _0x4fa740(_0x4e4436-0xcc,_0x531794-_0x3d8591._0x2685c7,_0x5849ec-_0x3d8591._0x375877,_0x3b1096);}function _0x395112(_0x398c09,_0x5f1a03,_0x37378e,_0xb48cb7){return _0x4fa740(_0x398c09-_0x3f9544._0x12fee6,_0x37378e-_0x3f9544._0xa58d42,_0x37378e-0x19b,_0x5f1a03);}try{return await _0x4491ac[_0x53fb4f(_0x41326d._0x1584a1,_0x41326d._0x1cfce7,-_0x41326d._0x4263ca,_0x41326d._0x55fa0a)]({'method':_0x395112(0x428,_0x41326d._0x30bef0,_0x41326d._0x158f5d,_0x41326d._0x5820a4),'params':_0x53a840},CallToolResultSchema,{'timeout':_0x2b3730[_0x53fb4f(0x14e,_0x41326d._0x3a702a,_0x41326d._0x62abfe,0x66)]()});}catch(_0x44b2d7){throw createOwnedMcpSafeError({'serverName':_0x506b7b,'operation':_0x395112(-_0x41326d._0x10fe5b,0x18e,-_0x41326d._0x3a5f9e,-0x122),'error':_0x44b2d7});}},async 'close'(){const _0x506ae9={_0x4f8b7c:0x533,_0x34a297:0x1ee},_0x51e434={_0x3479c6:0x62};function _0x325c93(_0x37f484,_0x6b7c2c,_0x57d029,_0x12b0e0){return _0x460f68(_0x37f484-_0x51e434._0x3479c6,_0x6b7c2c-0x41a,_0x57d029-0x12b,_0x57d029);}_0x425da1=!![],_0x4491ac[_0x325c93(_0x40584c._0x35df3a,_0x40584c._0x56e33a,_0x40584c._0x1c0056,_0x40584c._0x7443ad)]=void 0x0,_0x4491ac['onclose']=void 0x0,_0x4c8eff['clear']();function _0x2476a4(_0x487739,_0xa1d512,_0x526e91,_0x164f8c){return _0x4fa740(_0x487739-0x10,_0xa1d512-_0x506ae9._0x4f8b7c,_0x526e91-_0x506ae9._0x34a297,_0x164f8c);}try{await _0x4491ac[_0x325c93(0x796,0x613,_0x40584c._0x209f5b,0x757)]();}catch(_0x794e80){throw createOwnedMcpSafeError({'serverName':_0x506b7b,'operation':_0x2476a4(0x6e1,0x4f8,0x350,0x433),'error':_0x794e80});}}};}async function createMcpConnectionGeneration(_0x3bcbc3){const _0x32b486={_0x462adf:0x2d4,_0xc06c68:0x42c,_0x388441:0x5e,_0x58e923:0x1a9,_0x17cec8:0xce,_0x2e09cc:0x2b8,_0x41a77b:0x838,_0x5ed8a2:0x7d1,_0x281ef5:0x18e,_0x578460:0x18e,_0x366ce2:0x100,_0x2efdb0:0x1c7,_0x13d84e:0x337,_0x5d1716:0x9c,_0x4241d7:0x482,_0x1380d3:0x649},_0x5f139d={_0x2cbf87:0x249},_0x9ac419={_0x1b22aa:0x76},_0x40a142={_0xe6fe65:0x165},_0x17a219={_0x156aea:0x1a0,_0x34e1c6:0x461,_0x27763b:0x25f,_0x155d10:0x269},_0x2c35fe={_0x5c979e:0x4a4,_0x2cc5a8:0x3d3,_0x4b7099:0x21e,_0x2532bc:0x34f,_0x6a28a4:0x275,_0x34ee45:0x513,_0x425edd:0x3e2},_0x48c9a8={_0x5abad7:0x4b,_0xe3dfec:0x193},_0x20ae13={_0x3e4791:0x118,_0x4cc89f:0x11d},_0x5eff15={_0x315ea3:0x15,_0x123166:0x58c},_0x1cd8f5=_0x3bcbc3[_0x4f8375(0x480,0x45b,0x382,0x42f)]??connectMcpServer,_0x458bcd=_0x3bcbc3['connect']===void 0x0,_0x1352b7={..._0x3bcbc3[_0x4f8375(0xca,0x1e3,_0x32b486._0x462adf,_0x32b486._0xc06c68)],'timeoutSource':_0x3bcbc3[_0xeab158(_0x32b486._0x388441,-_0x32b486._0x58e923,-0x178,_0x32b486._0x17cec8)],..._0x3bcbc3[_0x4f8375(0x2d2,0x19b,0x2b8,0x407)]!==void 0x0?{'signal':_0x3bcbc3[_0x4f8375(0x391,0x3d8,_0x32b486._0x2e09cc,0x337)]}:{}};let _0x1badc4;try{_0x1badc4=await _0x1cd8f5(_0x3bcbc3[_0x4f8375(0x4d3,0x3a4,0x340,0x4b4)],_0x3bcbc3[_0x4f8375(_0x32b486._0x41a77b,_0x32b486._0x5ed8a2,0x628,0x61c)],_0x1352b7);}catch(_0x1b7916){throw mapOwnedMcpBoundaryError({'serverName':_0x3bcbc3['serverName'],'operation':_0xeab158(-0xb7,0x3a,-_0x32b486._0x281ef5,-_0x32b486._0x578460),'error':_0x1b7916},_0x458bcd);}const _0x29cd70=new Set();let _0x5b705c;function _0xeab158(_0x3dea1f,_0x3e400e,_0x56faa1,_0x13b1c1){return _0x38b1c5(_0x3dea1f-_0x5eff15._0x315ea3,_0x3e400e-0x147,_0x3dea1f- -_0x5eff15._0x123166,_0x13b1c1);}function _0x4f8375(_0x204d0b,_0x5756a9,_0xa01e07,_0x34e841){return _0x38b1c5(_0x204d0b-_0x20ae13._0x3e4791,_0x5756a9-_0x20ae13._0x4cc89f,_0xa01e07- -0x153,_0x34e841);}const _0x34cc84=_0x1badc4[_0xeab158(0x35,0x164,-_0x32b486._0x366ce2,-_0x32b486._0x2efdb0)]?.(_0x147338=>{if(_0x5b705c)return;_0x5b705c=_0x147338;for(const _0x268e7e of _0x29cd70)_0x268e7e(_0x147338);});let _0x4345cf=![];const _0x3b7903=()=>{if(_0x4345cf)return;_0x4345cf=!![],_0x29cd70['clear'](),_0x34cc84?.();};let _0x570388;try{_0x570388=await _0x1badc4[_0x4f8375(0x3a5,0x210,0x36a,_0x32b486._0x13d84e)](_0x3bcbc3['signal']!==void 0x0?{'signal':_0x3bcbc3[_0xeab158(-0x181,-0x4e,-0x1,-0x138)]}:void 0x0);}catch(_0x3c0384){const _0x4af655=mapOwnedMcpBoundaryError({'serverName':_0x3bcbc3['serverName'],'operation':_0xeab158(-0x1f,-0x48,-0x131,_0x32b486._0x5d1716),'error':_0x3c0384},_0x458bcd);_0x3b7903();try{await _0x1badc4['close']();}catch{}throw _0x4af655;}const _0x33a22e=[..._0x570388[_0x4f8375(0x2d6,0x46c,_0x32b486._0x4241d7,_0x32b486._0x1380d3)]],_0x541650={async 'callTool'(_0x5b6a68){function _0x2b4a08(_0x153a02,_0x44a205,_0x4ad03e,_0x3b3196){return _0x4f8375(_0x153a02-_0x48c9a8._0x5abad7,_0x44a205-_0x48c9a8._0xe3dfec,_0x153a02- -0x53,_0x3b3196);}function _0x5bcfb4(_0x43f3c8,_0x143afd,_0x182651,_0x257103){return _0xeab158(_0x143afd-0x2d7,_0x143afd-0x86,_0x182651-0x107,_0x257103);}try{return await _0x1badc4[_0x2b4a08(0x502,0x5ce,_0x2c35fe._0x5c979e,_0x2c35fe._0x2cc5a8)](_0x5b6a68);}catch(_0x167cd0){throw mapOwnedMcpBoundaryError({'serverName':_0x3bcbc3[_0x5bcfb4(0x2bf,0x1de,0x26,_0x2c35fe._0x4b7099)],'operation':_0x2b4a08(_0x2c35fe._0x2532bc,_0x2c35fe._0x6a28a4,_0x2c35fe._0x34ee45,_0x2c35fe._0x425edd),'error':_0x167cd0},_0x458bcd);}}},_0x283ded=createMcpGenerationLifecycle(async()=>{const _0x2c7967={_0x5c2adc:0x21e},_0x28905d={_0x5f5a8e:0x209,_0x51f1a9:0x162};function _0xf4b2fd(_0x2e22c6,_0x2f6522,_0x5a884b,_0x4da259){return _0xeab158(_0x2e22c6-_0x28905d._0x5f5a8e,_0x2f6522-0x168,_0x5a884b-_0x28905d._0x51f1a9,_0x2f6522);}function _0x5e0002(_0x134485,_0x14bd65,_0x4602be,_0x59d17e){return _0x4f8375(_0x134485-0x1b6,_0x14bd65-0x82,_0x4602be- -_0x2c7967._0x5c2adc,_0x14bd65);}_0x3b7903();try{await _0x1badc4[_0xf4b2fd(0x257,0x39f,_0x17a219._0x156aea,0x25e)]();}catch(_0x2102a7){throw mapOwnedMcpBoundaryError({'serverName':_0x3bcbc3['serverName'],'operation':_0x5e0002(_0x17a219._0x34e1c6,_0x17a219._0x27763b,_0x17a219._0x155d10,0x27f),'error':_0x2102a7},_0x458bcd);}});return{'client':_0x1badc4,'descriptors':_0x33a22e,'lifecycle':_0x283ded,'projectTools'(_0xfe2dc8){return projectMcpTools({..._0xfe2dc8,'descriptors':_0x33a22e,'client':_0x541650,'lifecycle':_0x283ded});},'onTerminalError'(_0x55393a){const _0x475462={_0x3ac405:0x44b,_0x6c5d2d:0x50};if(_0x4345cf)return()=>{};_0x29cd70[_0x157f9a(0x6b,-0x2b,0x209,-0x18f)](_0x55393a);function _0x132d11(_0x1cedb4,_0x416b6a,_0x5757f4,_0x3281cb){return _0xeab158(_0x416b6a-_0x475462._0x3ac405,_0x416b6a-0x18f,_0x5757f4-_0x475462._0x6c5d2d,_0x3281cb);}function _0x157f9a(_0x4f5886,_0x4250ac,_0x5df147,_0x33d455){return _0x4f8375(_0x4f5886-0x6e,_0x4250ac-_0x40a142._0xe6fe65,_0x4f5886- -0x3df,_0x33d455);}const _0x580720=_0x5b705c;return _0x580720&&queueMicrotask(()=>{if(_0x29cd70['has'](_0x55393a))_0x55393a(_0x580720);}),()=>_0x29cd70[_0x157f9a(-0x44,0x141,0x14f,-0x256)](_0x55393a);},'retire'(){_0x3b7903();function _0x27d73b(_0x18b925,_0x4f1823,_0x5bf142,_0x5724f6){return _0xeab158(_0x5724f6-0x14d,_0x4f1823-_0x9ac419._0x1b22aa,_0x5bf142-0xc3,_0x4f1823);}return _0x283ded[_0x27d73b(_0x5f139d._0x2cbf87,0x3d8,0x58,0x262)]();}};}import{stat as _0x32f167}from'fs/promises';import*as _0x5612b6 from'path';import{execSync,spawn as _0x86641a}from'child_process';import{existsSync}from'fs';import{stat as _0x50bb72}from'fs/promises';import*as _0x51e49e from'os';import*as _0x1732d8 from'path';import{rgPath as _0x519c4e}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x3c2287={_0x5449bc:0x64d,_0x3ed03c:0x759,_0x55ccb6:0x3e3,_0x308e8b:0x401,_0x440677:0x186,_0x6b6a8d:0x367,_0x55edbb:0x47,_0x449a8f:0x2a6,_0x36e9e5:0x40a,_0x5b1df2:0x4c5,_0x243822:0x43c,_0x5f3521:0x61d,_0x381fc0:0x5e5,_0x2f34f4:0x4e5,_0x39b959:0x40f,_0xc1bfe:0x5aa,_0x25c171:0x42c,_0x456bf2:0x599,_0x8c1f59:0x3ef,_0x56091b:0x76,_0x257beb:0x280,_0x1328e6:0x48c,_0x217ace:0x388,_0x277e7c:0x293,_0x5ea179:0x42c,_0x5c62c3:0x317,_0x132d8b:0x1d4,_0xb9b69b:0x209,_0x270f7c:0x3ca,_0x14f882:0x448,_0x12d1d8:0xa5,_0x1cfc8f:0x693,_0x12ce49:0x66b,_0x30daa0:0x6a2,_0x5cea61:0x57f,_0x462ba7:0x50c,_0xf07781:0x43f,_0x493d86:0x51e,_0x91ca59:0x3a1,_0xd95dc8:0x244,_0x19a935:0x37b,_0x307251:0x54f,_0x38ddfb:0x1d,_0x4b9e4e:0x386,_0x218284:0x46d,_0x5037ff:0x67b,_0x3c0edf:0x2cd,_0x597c24:0x513},_0x7d7657={_0x4fa1b3:0x15c},_0x3b1bbe={_0x4d8561:0xb6};function _0x329e7b(_0x2302f9,_0x153fc3,_0x381ca2,_0x2bafef){return _0x38b1c5(_0x2302f9-_0x3b1bbe._0x4d8561,_0x153fc3-0x197,_0x2302f9- -0x208,_0x153fc3);}function _0x279aea(_0x12ecf7,_0x1b64b3,_0x11fd6a,_0x384078){return _0x38b1c5(_0x12ecf7-0x52,_0x1b64b3-_0x7d7657._0x4fa1b3,_0x11fd6a- -0x1bf,_0x12ecf7);}const _0x3786af=_0x51e49e[_0x279aea(0x709,0x79f,_0x3c2287._0x5449bc,_0x3c2287._0x3ed03c)]()==='win32',_0x23179e=_0x3786af?[_0x1732d8[_0x329e7b(_0x3c2287._0x55ccb6,0x345,0x3e2,_0x3c2287._0x308e8b)](process[_0x329e7b(0x229,_0x3c2287._0x440677,_0x3c2287._0x6b6a8d,_0x3c2287._0x55edbb)]['LOCALAPPDATA']||'',_0x329e7b(0x306,0x3b1,_0x3c2287._0x449a8f,0x4bc),_0x329e7b(_0x3c2287._0x36e9e5,0x3b4,_0x3c2287._0x5b1df2,_0x3c2287._0x243822),_0x279aea(_0x3c2287._0x5f3521,_0x3c2287._0x381fc0,_0x3c2287._0x2f34f4,_0x3c2287._0x39b959)),_0x1732d8[_0x279aea(0x2ce,_0x3c2287._0xc1bfe,_0x3c2287._0x25c171,_0x3c2287._0x456bf2)](process['env']['ProgramFiles']||'',_0x279aea(_0x3c2287._0x8c1f59,_0x3c2287._0x56091b,_0x3c2287._0x257beb,_0x3c2287._0x1328e6),'rg.exe'),_0x1732d8[_0x279aea(_0x3c2287._0x217ace,_0x3c2287._0x277e7c,_0x3c2287._0x5ea179,_0x3c2287._0x5c62c3)](process[_0x329e7b(0x229,0x301,_0x3c2287._0x132d8b,0x2f1)][_0x279aea(_0x3c2287._0xb9b69b,_0x3c2287._0x270f7c,0x328,0x3ed)]||'',_0x279aea(0x47f,_0x3c2287._0x14f882,_0x3c2287._0x257beb,_0x3c2287._0x12d1d8),'rg.exe')]:[_0x279aea(_0x3c2287._0x1cfc8f,0x538,0x5dc,0x60f),_0x279aea(_0x3c2287._0x12ce49,_0x3c2287._0x30daa0,0x49e,0x60a),'/usr/bin/rg',_0x279aea(_0x3c2287._0x5cea61,_0x3c2287._0x462ba7,_0x3c2287._0xf07781,0x5f8)];for(const _0x2ad7a7 of _0x23179e){if(existsSync(_0x2ad7a7))return _0x2ad7a7;}try{const _0x4984dc=_0x3786af?_0x329e7b(0x335,_0x3c2287._0x493d86,0x2a8,_0x3c2287._0x91ca59):_0x329e7b(_0x3c2287._0xd95dc8,0x290,0x260,0x313),_0x256866=execSync(_0x4984dc,{'encoding':_0x329e7b(0x363,_0x3c2287._0x19a935,0x2d3,_0x3c2287._0x307251),'stdio':[_0x329e7b(0x22c,_0x3c2287._0x38ddfb,0x1cc,_0x3c2287._0x4b9e4e),'pipe',_0x279aea(0x312,0x40b,_0x3c2287._0x218284,_0x3c2287._0x5037ff)]})[_0x329e7b(0x603,0x404,0x4d1,0x4ba)]()[_0x329e7b(0x303,0x13a,_0x3c2287._0x3c0edf,_0x3c2287._0x597c24)](/\r?\n/)[0x0];if(_0x256866&&existsSync(_0x256866))return _0x256866;}catch{return null;}return null;}async function filepath(){const _0x5987ad={_0x10804c:0x726,_0x1000d2:0x5fc},_0x50a057={_0x40d490:0x10,_0x4155e6:0x160};if(cachedRgPath)return cachedRgPath;function _0x28fba1(_0x14a0f6,_0x1f0d1f,_0x213a01,_0x57e33d){return _0x4a0aa5(_0x1f0d1f,_0x213a01- -0x79,_0x213a01-_0x50a057._0x40d490,_0x57e33d-_0x50a057._0x4155e6);}if(_0x519c4e&&existsSync(_0x519c4e))return cachedRgPath=_0x519c4e,_0x519c4e;const _0x3237c3=findSystemRipgrep();if(!_0x3237c3)throw new Error(_0x28fba1(_0x5987ad._0x10804c,0x63a,_0x5987ad._0x1000d2,0x775));return cachedRgPath=_0x3237c3,_0x3237c3;}async function*files(_0x4a0614){const _0x34b129={_0x417ce5:0x725,_0xe87bd6:0xca,_0x4f5018:0x10b,_0x5216b1:0x684,_0x4efbb8:0x871,_0x427645:0x78f,_0x1eae60:0x17d,_0x375af9:0xc5,_0x279a69:0x132,_0x4405bd:0x5b6,_0x79650f:0x657,_0x24edf5:0x5d,_0x2c5ee6:0x2cd,_0x279982:0x211,_0x3c7e90:0x6dd,_0x30e288:0x197,_0x22a7a3:0x221,_0x5d5ebf:0x139,_0xfa2b1f:0x682,_0x4cb7ce:0x7e0,_0x33cb2f:0x602,_0x47049c:0xaf,_0x4669d7:0x14e,_0x39a252:0x2c6,_0x1dc689:0x120,_0xc72a4d:0x126,_0x46d8f9:0x5b0,_0x33332a:0x544,_0x446274:0x3d,_0x1c06a1:0xf6,_0x397a10:0xa6,_0x2cd57a:0x4f,_0x739c39:0xf4,_0x514779:0x8b0,_0x4b7b40:0x825,_0x6b5309:0x766,_0x17c3b1:0x80c,_0x826ff5:0x388,_0x319b5e:0x198},_0x978203={_0x2bee38:0x4f},_0x3385c3={_0x839d1a:0x5b5,_0x226bc4:0x15e},_0x4ed2e1=await filepath();function _0x4823a0(_0x360878,_0x4c8613,_0x541c4c,_0x44531f){return _0x4a0aa5(_0x360878,_0x44531f- -_0x3385c3._0x839d1a,_0x541c4c-_0x3385c3._0x226bc4,_0x44531f-0xd);}const _0x3b8914=await _0x50bb72(_0x4a0614[_0x331acf(0x75e,_0x34b129._0x417ce5,0x708,0x843)])[_0x4823a0(-_0x34b129._0xe87bd6,-0x33f,-_0x34b129._0x4f5018,-0x27b)](()=>null);if(!_0x3b8914?.[_0x331acf(_0x34b129._0x5216b1,_0x34b129._0x4efbb8,0x60f,_0x34b129._0x427645)]())throw Object[_0x4823a0(-_0x34b129._0x1eae60,0x128,-0x34,-_0x34b129._0x375af9)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x4a0614[_0x4823a0(-0x2a,0xba,_0x34b129._0x279a69,0x46)]+'\x27'),{'code':_0x331acf(_0x34b129._0x4405bd,0x6e5,0x450,_0x34b129._0x79650f)});const _0x5552d9=[_0x4823a0(-_0x34b129._0x24edf5,_0x34b129._0x2c5ee6,_0x34b129._0x279982,0x113),_0x331acf(0x4f4,0x5f6,0x4ca,_0x34b129._0x3c7e90),_0x4823a0(_0x34b129._0x30e288,_0x34b129._0x22a7a3,_0x34b129._0x5d5ebf,0x97),_0x331acf(0x548,_0x34b129._0xfa2b1f,0x436,0x46b)];for(const _0x4d2856 of _0x4a0614[_0x331acf(0x7f7,_0x34b129._0x4cb7ce,0x85d,0x7e0)]??[]){_0x5552d9['push'](_0x331acf(_0x34b129._0x33cb2f,0x508,0x68e,0x594)+_0x4d2856);}const _0x3b945e=_0x86641a(_0x4ed2e1,_0x5552d9,{'cwd':_0x4a0614['cwd'],'stdio':[_0x331acf(0x6d1,0x862,0x808,0x5d9),'pipe','pipe']});function _0x331acf(_0x660125,_0x577eec,_0x50709e,_0x15b443){return _0x4a0aa5(_0x15b443,_0x660125-0x163,_0x50709e-_0x978203._0x2bee38,_0x15b443-0x45);}let _0x1af778='';for await(const _0x3ad762 of _0x3b945e[_0x4823a0(-0xba,0x2a7,-_0x34b129._0x47049c,_0x34b129._0x4669d7)]??[]){_0x1af778+=_0x3ad762[_0x4823a0(-_0x34b129._0x39a252,-0x111,-_0x34b129._0x1dc689,-_0x34b129._0xc72a4d)]();const _0xea5f06=_0x1af778[_0x331acf(_0x34b129._0x46d8f9,_0x34b129._0x33332a,0x749,0x6b7)](/\r?\n/);_0x1af778=_0xea5f06[_0x4823a0(0x46,0xfa,0x8d,_0x34b129._0x446274)]()??'';for(const _0x28ec54 of _0xea5f06){if(_0x28ec54[_0x4823a0(-_0x34b129._0x1c06a1,-_0x34b129._0x397a10,-_0x34b129._0x2cd57a,_0x34b129._0x739c39)]>0x0)yield _0x28ec54;}}_0x1af778[_0x331acf(_0x34b129._0x514779,_0x34b129._0x4b7b40,_0x34b129._0x6b5309,0x981)]()[_0x331acf(_0x34b129._0x17c3b1,0x6a7,0x902,0x886)]>0x0&&(yield _0x1af778[_0x4823a0(0x33e,_0x34b129._0x826ff5,0x101,_0x34b129._0x319b5e)]());}function objectValue(_0x279653){return typeof _0x279653==='object'&&_0x279653!==null?_0x279653:void 0x0;}function decodeRipgrepText(_0x881322){const _0x1a541e={_0x2f6526:0x591,_0x4b7334:0x69e,_0x3839fe:0x3ff,_0x350a79:0x609,_0x27fc8a:0x35a,_0x1418f2:0x409,_0x10e083:0x2c3,_0x2bdd9c:0x28c,_0x48db8f:0x46f,_0x24f598:0x739,_0x363ea5:0x38e},_0x1521c6={_0x28351a:0x10d},_0x5440ce={_0x2591a9:0x2d},_0x1b7186=objectValue(_0x881322);if(typeof _0x1b7186?.['text']===_0x417efa(_0x1a541e._0x2f6526,0x4c6,_0x1a541e._0x4b7334,_0x1a541e._0x3839fe))return _0x1b7186[_0x45f0da(0x5da,0x594,_0x1a541e._0x350a79,0x5be)];function _0x45f0da(_0x1e1df4,_0x17ed89,_0x46053b,_0x85de6d){return _0x38b1c5(_0x1e1df4-_0x5440ce._0x2591a9,_0x17ed89-0x1b4,_0x17ed89- -0x173,_0x1e1df4);}function _0x417efa(_0x1ae813,_0x1a7e0c,_0x38cf30,_0x496650){return _0x4a0aa5(_0x1a7e0c,_0x1ae813- -_0x1521c6._0x28351a,_0x38cf30-0x110,_0x496650-0x7d);}if(typeof _0x1b7186?.[_0x417efa(0x28c,0x261,0x35c,0xd2)]===_0x417efa(0x591,0x63f,0x6ca,0x4a8))return Buffer[_0x417efa(_0x1a541e._0x27fc8a,_0x1a541e._0x1418f2,0x1e3,_0x1a541e._0x10e083)](_0x1b7186[_0x417efa(_0x1a541e._0x2bdd9c,0x23e,0x3c4,0x3f2)],_0x45f0da(0x586,0x5a5,_0x1a541e._0x48db8f,_0x1a541e._0x24f598))[_0x45f0da(0x240,0x3da,0x41e,0x281)](_0x417efa(0x3a0,_0x1a541e._0x363ea5,0x3b3,0x3f8));return void 0x0;}function parseMatchLine(_0x315b95,_0x5bdb66){const _0x3b0280={_0x11d76f:0x191,_0x24bcd0:0x53,_0x48572a:0x4a9,_0x49fced:0x505,_0x155455:0x2f1,_0x427eca:0x81b,_0x33f41b:0x8d8,_0x10b330:0x338,_0x5e1da0:0x3ec,_0x3990f2:0x4be,_0x32a4de:0x4bd,_0x225dbc:0x2ae,_0x526999:0x5be,_0x564eaa:0x4cd,_0x5967ff:0x515,_0x33a7c1:0x644,_0x49871e:0x3c4,_0xa4ba9d:0x5dc,_0x291854:0x553,_0x41d893:0x745,_0x151cc2:0x2b6,_0x5a88fb:0x4a2,_0x131779:0x802,_0x5c09c9:0x480,_0x1506ee:0x6ca,_0x2e0c2a:0x179,_0x4095ea:0x22a,_0x3f2982:0x505,_0x894e55:0x1b2,_0x1e6e39:0x38a,_0x5a52ae:0x388},_0x20e4f9={_0x48a1f3:0x120,_0x6cfd48:0xbd,_0x154db6:0x83},_0xf981e6={_0x5030f5:0x144,_0x3c9f2a:0x325};if(_0x315b95['length']===0x0)return null;const _0x37ae2e=objectValue(JSON[_0x37eb46(_0x3b0280._0x11d76f,0x2c6,-0x79,-_0x3b0280._0x24bcd0)](_0x315b95));if(_0x37ae2e?.[_0x5bd7b4(0x319,_0x3b0280._0x48572a,_0x3b0280._0x49fced,_0x3b0280._0x155455)]!==_0x5bd7b4(_0x3b0280._0x427eca,0x776,0x6ed,_0x3b0280._0x33f41b)&&_0x37ae2e?.['type']!=='context')return null;const _0xed431b=objectValue(_0x37ae2e[_0x37eb46(0x47c,0x679,_0x3b0280._0x10b330,_0x3b0280._0x5e1da0)]);function _0x37eb46(_0xd7b891,_0x48b822,_0x5cc10e,_0x24b247){return _0x38b1c5(_0xd7b891-0x14e,_0x48b822-_0xf981e6._0x5030f5,_0xd7b891- -_0xf981e6._0x3c9f2a,_0x5cc10e);}const _0x229b0f=decodeRipgrepText(_0xed431b?.[_0x37eb46(_0x3b0280._0x3990f2,_0x3b0280._0x32a4de,_0x3b0280._0x225dbc,_0x3b0280._0x526999)]);function _0x5bd7b4(_0x307c3a,_0x42c7f1,_0x5e172f,_0x144081){return _0x38b1c5(_0x307c3a-_0x20e4f9._0x48a1f3,_0x42c7f1-_0x20e4f9._0x6cfd48,_0x5e172f- -_0x20e4f9._0x154db6,_0x144081);}const _0x35fae9=decodeRipgrepText(_0xed431b?.[_0x37eb46(_0x3b0280._0x564eaa,_0x3b0280._0x5967ff,_0x3b0280._0x33a7c1,_0x3b0280._0x48572a)]),_0x5e04bf=_0xed431b?.['line_number'];if(_0x229b0f===void 0x0||_0x35fae9===void 0x0||typeof _0x5e04bf!==_0x5bd7b4(_0x3b0280._0x49871e,_0x3b0280._0xa4ba9d,_0x3b0280._0x291854,_0x3b0280._0x41d893))throw new Error(_0x37eb46(0x2a6,_0x3b0280._0x225dbc,_0x3b0280._0x151cc2,_0x3b0280._0x5a88fb));return{'filePath':_0x1732d8[_0x5bd7b4(_0x3b0280._0x131779,_0x3b0280._0x5c09c9,0x66b,_0x3b0280._0x1506ee)](_0x229b0f)?_0x229b0f:_0x1732d8['resolve'](_0x5bdb66,_0x229b0f),'lineNum':_0x5e04bf,'lineText':_0x35fae9[_0x5bd7b4(0x4ba,_0x3b0280._0x2e0c2a,0x37f,_0x3b0280._0x4095ea)](/\r?\n$/,''),..._0x37ae2e[_0x5bd7b4(0x4a3,0x4dc,_0x3b0280._0x3f2982,0x706)]===_0x5bd7b4(_0x3b0280._0x894e55,0x208,_0x3b0280._0x1e6e39,_0x3b0280._0x5a52ae)?{'isContext':!![]}:{}};}async function search(_0x2c0204){const _0x4abd1d={_0x45063a:0x2ac,_0x35c596:0x200,_0x4c18e0:0x3b6,_0x11756a:0x560,_0xe0a5ce:0x306,_0x5b1ded:0x5b0,_0x39346e:0x3f0,_0x4b6f07:0x41c,_0x3639d8:0x775,_0x42e62f:0x60b,_0x30067b:0x79,_0x24d33:0x267,_0x1f31d6:0x20f,_0x1b9a3:0x4e9,_0xe50fc3:0x568,_0x525c77:0x697,_0x550445:0x239,_0x34c000:0x405,_0x4705b1:0x38c,_0x5a865b:0x421,_0x4fac91:0x29f,_0x18acd2:0x304,_0x4bfbb6:0x1b0,_0x3e136a:0x784,_0x1381dd:0x741,_0x413304:0x773,_0x2bfecd:0x828,_0x3de291:0x14e,_0x364c55:0xdd,_0x23c731:0x25b,_0x1666dd:0x528,_0x430bcb:0x5b6,_0x215025:0x183,_0x9ea4d4:0x331,_0x4f38ba:0x41f,_0x56c4b6:0x5f4,_0x5f4aa0:0x52a,_0x36605a:0x29d,_0x569e09:0x28e,_0x305fbe:0x64a,_0x2b99d7:0x79e,_0x2b694b:0x1d4,_0x456e7f:0x4b7,_0x4d11c9:0x474,_0x43be98:0x5b4,_0x262ae6:0x551,_0x330677:0x76,_0x2f6220:0x163,_0x54b6ad:0xbf,_0x10c5be:0x52a,_0x550213:0x41d,_0x236ccc:0x593,_0x19f04f:0x312,_0x5187b2:0x444,_0x1916c1:0x241,_0x4792dc:0xbf,_0x551eb2:0x163,_0x41416f:0x77,_0x787ae9:0x1c7,_0x6b3d89:0x2ce,_0x1cf4d9:0x4a8,_0x1d8da4:0x4a6,_0x592374:0x444,_0x453c8c:0x277,_0x47a5cf:0x3f4,_0x262b17:0x499,_0x2c0007:0x3a5,_0x1bc237:0x57a,_0x3fc7b2:0x277,_0x545158:0x31a,_0x131ebc:0x89,_0x399132:0x1d2,_0x42aa1a:0x420,_0x484139:0x40f,_0x89283d:0x482},_0x399fd7={_0x5251aa:0x128,_0xfbf7a0:0xf2,_0x15e283:0x1ec,_0x5d1539:0x75,_0x5192a4:0x1e9,_0x14d592:0x1be,_0x27e6f7:0x2b,_0x3718e3:0x12d,_0x124c51:0x284,_0x4648ad:0x8f,_0x206491:0x439},_0x433fef={_0x39cffe:0x1d,_0x19eb12:0x3f2,_0x523c2c:0x1d5},_0x41fd80={_0x1b0520:0x49e,_0x1665b3:0x4c2},_0x32b119={_0x10a9c4:0x537,_0x302039:0x4fe,_0x43026b:0x53a},_0x1d65a9={_0x29a2fb:0x19a},_0x406af9={_0x17929a:0x12a,_0x1c86ee:0xe2,_0x4df31b:0x2aa};if(_0x2c0204[_0x17c7de(_0x4abd1d._0x45063a,_0x4abd1d._0x35c596,0x370,0x273)]!==void 0x0&&_0x2c0204[_0x17c7de(0x2f8,_0x4abd1d._0x4c18e0,_0x4abd1d._0x11756a,_0x4abd1d._0xe0a5ce)]!==void 0x0)throw new Error(_0x3c6caa(0x62e,_0x4abd1d._0x5b1ded,0x7b7,0x61f));if(_0x2c0204[_0x3c6caa(0x4e9,0x427,0x4e1,0x6d9)]){const _0x41a270=await _0x50bb72(_0x2c0204[_0x17c7de(0xb4,_0x4abd1d._0x35c596,0xc6,_0x4abd1d._0x39346e)])[_0x3c6caa(_0x4abd1d._0x4b6f07,0x261,0x42f,0x577)](()=>null);if(!_0x41a270?.[_0x3c6caa(0x8cc,0x955,_0x4abd1d._0x3639d8,_0x4abd1d._0x42e62f)]())throw Object['assign'](new Error('No\x20such\x20file:\x20\x27'+_0x2c0204['file']+'\x27'),{'code':_0x17c7de(_0x4abd1d._0x30067b,_0x4abd1d._0x24d33,0x3ff,_0x4abd1d._0x1f31d6)});}else{if(_0x2c0204[_0x3c6caa(_0x4abd1d._0x1b9a3,_0x4abd1d._0xe50fc3,_0x4abd1d._0x525c77,0x52c)]!==void 0x0)for(const _0x50e499 of _0x2c0204[_0x3c6caa(0x852,0x85d,0x697,0x5bf)]){if(!_0x1732d8[_0x17c7de(0x3c0,0x444,0x41b,_0x4abd1d._0x550445)](_0x50e499))throw new Error(_0x17c7de(0x4b6,_0x4abd1d._0x34c000,_0x4abd1d._0x4705b1,_0x4abd1d._0x5a865b)+_0x50e499+'\x27');const _0x32e24a=await _0x50bb72(_0x50e499)[_0x3c6caa(0x38d,_0x4abd1d._0x4fac91,0x42f,0x5d3)](()=>null);if(!_0x32e24a?.[_0x17c7de(0x620,0x494,0x69f,0x343)]())throw Object[_0x17c7de(0x3d2,_0x4abd1d._0x18acd2,_0x4abd1d._0x4bfbb6,0x433)](new Error(_0x3c6caa(_0x4abd1d._0x3e136a,_0x4abd1d._0x1381dd,_0x4abd1d._0x413304,0x6f4)+_0x50e499+'\x27'),{'code':'ENOENT'});}else{const _0x1ea428=await _0x50bb72(_0x2c0204[_0x3c6caa(0x681,0x5b5,0x6f0,_0x4abd1d._0x2bfecd)])[_0x17c7de(0xc,_0x4abd1d._0x3de291,_0x4abd1d._0x364c55,_0x4abd1d._0x23c731)](()=>null);if(!_0x1ea428?.[_0x3c6caa(_0x4abd1d._0x1666dd,0x45c,0x616,_0x4abd1d._0x430bcb)]())throw Object[_0x17c7de(0x297,_0x4abd1d._0x18acd2,_0x4abd1d._0x215025,_0x4abd1d._0x9ea4d4)](new Error(_0x17c7de(0x63e,0x513,_0x4abd1d._0x4f38ba,_0x4abd1d._0x56c4b6)+_0x2c0204[_0x3c6caa(0x794,_0x4abd1d._0x5f4aa0,0x6f0,0x904)]+'\x27'),{'code':'ENOENT'});}}if(_0x2c0204[_0x17c7de(0x2fe,0x3b6,_0x4abd1d._0x36605a,_0x4abd1d._0x569e09)]?.[_0x3c6caa(_0x4abd1d._0x305fbe,0x94c,_0x4abd1d._0x2b99d7,0x896)]===0x0)return[];const _0x14f1b7=await filepath();function _0x17c7de(_0x5a2349,_0x3ab813,_0x38579c,_0x52133b){return _0x38b1c5(_0x5a2349-_0x406af9._0x17929a,_0x3ab813-_0x406af9._0x1c86ee,_0x3ab813- -_0x406af9._0x4df31b,_0x5a2349);}function _0x3c6caa(_0x3d3006,_0x1e5b2d,_0x386f52,_0x1d317a){return _0x38b1c5(_0x3d3006-_0x1d65a9._0x29a2fb,_0x1e5b2d-0x5f,_0x386f52-0x37,_0x1e5b2d);}const _0x3d62a0=[_0x17c7de(0x32f,_0x4abd1d._0x2b694b,0x2da,0xaa),_0x3c6caa(0x4d4,_0x4abd1d._0x456e7f,0x64b,0x665),_0x2c0204[_0x3c6caa(_0x4abd1d._0x4d11c9,_0x4abd1d._0x43be98,0x4a8,_0x4abd1d._0x262ae6)]],_0x172927=typeof _0x2c0204[_0x17c7de(-_0x4abd1d._0x330677,_0x4abd1d._0x2f6220,0x13e,_0x4abd1d._0x54b6ad)]===_0x3c6caa(_0x4abd1d._0x10c5be,_0x4abd1d._0x550213,0x60d,_0x4abd1d._0x236ccc)&&_0x2c0204[_0x3c6caa(0x47d,_0x4abd1d._0x19f04f,_0x4abd1d._0x5187b2,_0x4abd1d._0x1916c1)]>0x0;return _0x172927&&_0x3d62a0['push']('-C',String(_0x2c0204[_0x17c7de(_0x4abd1d._0x4792dc,_0x4abd1d._0x551eb2,_0x4abd1d._0x41416f,_0x4abd1d._0x787ae9)])),_0x2c0204[_0x17c7de(_0x4abd1d._0x6b3d89,_0x4abd1d._0x1cf4d9,_0x4abd1d._0x1d8da4,0x34a)]&&!_0x2c0204['file']&&_0x2c0204[_0x17c7de(0x1a7,0x3b6,_0x4abd1d._0x592374,_0x4abd1d._0x453c8c)]===void 0x0&&_0x3d62a0[_0x3c6caa(0x601,_0x4abd1d._0x47a5cf,0x4b3,0x398)]('--glob',_0x2c0204[_0x17c7de(0x392,_0x4abd1d._0x1cf4d9,0x380,_0x4abd1d._0x262b17)]),_0x2c0204[_0x17c7de(_0x4abd1d._0x2c0007,0x3b6,_0x4abd1d._0x1bc237,0x564)]!==void 0x0?_0x3d62a0[_0x17c7de(_0x4abd1d._0x3fc7b2,0x1d2,_0x4abd1d._0x545158,0x229)](..._0x2c0204['files']):_0x3d62a0[_0x17c7de(_0x4abd1d._0x131ebc,_0x4abd1d._0x399132,_0x4abd1d._0x3fc7b2,0x1dd)](_0x2c0204[_0x3c6caa(0x5f7,_0x4abd1d._0x42aa1a,0x4e1,0x5f5)]??_0x2c0204[_0x17c7de(0x3f6,_0x4abd1d._0x484139,0x51a,_0x4abd1d._0x89283d)]),await new Promise((_0x2aefe5,_0xe0b70e)=>{const _0x48bd35={_0x4c793c:0x5f,_0x48a429:0xb7,_0x1303f5:0x12,_0x3f8db6:0x1e1,_0x78932f:0xb3,_0x153e2d:0x174,_0x56f136:0xa1,_0x3b560b:0xe4,_0xd3cc20:0x2b,_0x12b30d:0xcf,_0x25d57d:0x30,_0x285a84:0x25e,_0xc51c3e:0x380,_0x2c945e:0x260,_0xbe5bba:0x268,_0x25a83b:0x59,_0x8ef517:0x1aa,_0x4fe01c:0x181,_0x30b6f4:0x2d2,_0x34fc2c:0x2ea,_0x42804d:0x24a,_0x5e3339:0x3c1,_0x42812a:0x328,_0x1b3a7e:0x35b,_0x195aa3:0x268,_0x1c8ec0:0x24e,_0x3139a3:0x13b,_0x16f8ed:0x48,_0x3880e5:0x75,_0x51a007:0xdc},_0x379d6a={_0x5c8f3a:0x778},_0x37d91d={_0x238c6e:0x216,_0x7445d4:0x186,_0x3506d1:0x167},_0x1da297={_0x2ff653:0x3a5,_0x17c51e:0xd4},_0x5459ac={_0x2f3880:0x593},_0x55add2=_0x86641a(_0x14f1b7,_0x3d62a0,{'cwd':_0x2c0204['cwd'],'stdio':['ignore',_0x23cc38(-0x1c6,-0x2a9,-0x21d,-_0x399fd7._0x5251aa),_0x3ec489(0x79,_0x399fd7._0xfbf7a0,_0x399fd7._0x15e283,-_0x399fd7._0x5d1539)]});function _0x23cc38(_0x3e399b,_0x5e0e12,_0x4a0942,_0x54cbe7){return _0x3c6caa(_0x3e399b-0xaf,_0x3e399b,_0x54cbe7- -_0x5459ac._0x2f3880,_0x54cbe7-0x194);}let _0xf2dd93='',_0x26b4e3='';_0x55add2[_0x3ec489(0x406,0x2e2,0x4e7,0x220)]?.['on'](_0x3ec489(0x3e6,0x531,0x3f2,_0x399fd7._0x5192a4),_0x5ca729=>{function _0x1012dc(_0x487073,_0x1685b9,_0x13c20e,_0x2ae682){return _0x3ec489(_0x487073-_0x1da297._0x2ff653,_0x1685b9-0x3,_0x13c20e-_0x1da297._0x17c51e,_0x13c20e);}_0xf2dd93+=_0x5ca729[_0x1012dc(_0x32b119._0x10a9c4,_0x32b119._0x302039,_0x32b119._0x43026b,0x44c)]();}),_0x55add2[_0x23cc38(0x22e,_0x399fd7._0x14d592,_0x399fd7._0x27e6f7,_0x399fd7._0x3718e3)]?.['on']('data',_0x54b0a1=>{function _0x3b484b(_0x436f03,_0x762d8a,_0x46dd78,_0x3642b8){return _0x3ec489(_0x762d8a-_0x37d91d._0x238c6e,_0x762d8a-_0x37d91d._0x7445d4,_0x46dd78-_0x37d91d._0x3506d1,_0x3642b8);}_0x26b4e3+=_0x54b0a1[_0x3b484b(_0x41fd80._0x1b0520,0x3a8,0x444,_0x41fd80._0x1665b3)]();}),_0x55add2['on']('close',_0x1d94f0=>{const _0x3020ab={_0x2cd336:0x110},_0x5194d1={_0x99a4d7:0x108},_0x2e62a3={_0x389f8a:0x10d,_0x3bec5a:0x128};if(_0x1d94f0===0x1&&_0xf2dd93===''){_0x2aefe5([]);return;}if(_0x1d94f0!==0x0&&_0x1d94f0!==0x1){_0xe0b70e(new Error('ripgrep\x20failed:\x20'+_0x26b4e3));return;}const _0x5b708e=[];try{for(const _0x4d009e of _0xf2dd93[_0x3cc7cf(_0x48bd35._0x4c793c,_0x48bd35._0x48a429,-_0x48bd35._0x1303f5,-_0x48bd35._0x3f8db6)](/\r?\n/)){const _0x935665=parseMatchLine(_0x4d009e,_0x2c0204[_0x18b7f0(0x264,0x1f9,0x3f2,_0x48bd35._0x78932f)]);if(_0x935665)_0x5b708e[_0x3cc7cf(-_0x48bd35._0x153e2d,-0x287,-_0x48bd35._0x56f136,-_0x48bd35._0x3b560b)](_0x935665);}}catch(_0x582483){_0xe0b70e(_0x582483);return;}const _0x5f2b96=_0x2c0204['limit']??0x64,_0x2839ec=Number[_0x18b7f0(-_0x48bd35._0xd3cc20,-_0x48bd35._0x12b30d,-_0x48bd35._0x25d57d,-0xfc)](_0x5f2b96)?Math[_0x3cc7cf(_0x48bd35._0x285a84,_0x48bd35._0xc51c3e,_0x48bd35._0x2c945e,0x2f0)](0x0,Math[_0x18b7f0(_0x48bd35._0xbe5bba,_0x48bd35._0x25a83b,_0x48bd35._0x8ef517,0x2a0)](_0x5f2b96)):0x64,_0x4b1e7f=_0x5b708e[_0x3cc7cf(-0xcd,-0x2a,-0x122,-_0x48bd35._0x4fe01c)](_0xa84ddf=>!_0xa84ddf[_0x18b7f0(0x134,0x182,-0x2b,-0x4d)]);if(_0x4b1e7f[_0x3cc7cf(_0x48bd35._0x30b6f4,_0x48bd35._0x34fc2c,_0x48bd35._0x42804d,_0x48bd35._0x5e3339)]<=_0x2839ec){_0x2aefe5(_0x5b708e);return;}function _0x18b7f0(_0x5b5d9c,_0x4ff57e,_0x66509d,_0x442637){return _0x23cc38(_0x4ff57e,_0x4ff57e-_0x2e62a3._0x389f8a,_0x66509d-_0x2e62a3._0x3bec5a,_0x5b5d9c-0x107);}const _0x5923df=_0x4b1e7f[_0x3cc7cf(0x2c8,_0x48bd35._0x25a83b,0xb5,0x182)](0x0,_0x2839ec);function _0x3cc7cf(_0x5bc6b2,_0x19e016,_0x10c729,_0x245777){return _0x23cc38(_0x245777,_0x19e016-_0x5194d1._0x99a4d7,_0x10c729-0xa6,_0x10c729-0x3f);}const _0xc72ea5=new Set(_0x5923df),_0x1d4921=_0x172927?Math[_0x18b7f0(_0x48bd35._0x42812a,_0x48bd35._0x1b3a7e,0x431,0x2e2)](0x0,Math[_0x18b7f0(_0x48bd35._0x195aa3,_0x48bd35._0x1c8ec0,0x177,_0x48bd35._0x3139a3)](_0x2c0204[_0x18b7f0(-_0x48bd35._0x16f8ed,-0x1e9,-_0x48bd35._0x3880e5,-_0x48bd35._0x51a007)]??0x0)):0x0;_0x2aefe5(_0x5b708e[_0x18b7f0(-0x5a,-0x189,-0x1d1,-0x8f)](_0x21fe13=>{const _0x399c07={_0xcbd23a:0x25d,_0x301b39:0x164};function _0x50baa2(_0x5ecfbb,_0x140f06,_0x4c8b88,_0x48e424){return _0x18b7f0(_0x48e424-0x4a2,_0x4c8b88,_0x4c8b88-_0x3020ab._0x2cd336,_0x48e424-0x9f);}function _0x42b423(_0x382a66,_0x4a2c7f,_0x5ca6b1,_0x23ea58){return _0x18b7f0(_0x382a66-_0x399c07._0xcbd23a,_0x4a2c7f,_0x5ca6b1-0x45,_0x23ea58-_0x399c07._0x301b39);}if(!_0x21fe13[_0x50baa2(_0x379d6a._0x5c8f3a,0x605,0x455,0x5d6)])return _0xc72ea5['has'](_0x21fe13);return _0x5923df[_0x42b423(0x501,0x395,0x4eb,0x436)](_0x6f786a=>_0x6f786a[_0x50baa2(0xa38,0x94c,0x8fa,0x856)]===_0x21fe13[_0x42b423(0x611,0x54f,0x53f,0x47d)]&&Math[_0x50baa2(0x371,0x6e0,0x3bb,0x574)](_0x6f786a[_0x50baa2(0x5b7,0x557,0x617,0x5e9)]-_0x21fe13[_0x50baa2(0x571,0x3d7,0x6ea,0x5e9)])<=_0x1d4921);}));});function _0x3ec489(_0x23486c,_0x42825d,_0x186d4b,_0xd2149e){return _0x3c6caa(_0x23486c-_0x433fef._0x39cffe,_0xd2149e,_0x23486c- -_0x433fef._0x19eb12,_0xd2149e-_0x433fef._0x523c2c);}_0x55add2['on'](_0x3ec489(_0x399fd7._0x124c51,_0x399fd7._0x4648ad,_0x399fd7._0x206491,0x11c),_0xe0b70e);});}function createGlobTool(_0xe723c5={}){const _0x444b3c={_0x366aec:0x887,_0x40c3a9:0x940,_0xfe2368:0xaa0,_0x299d17:0x882,_0x2866e5:0x629,_0x195a4d:0x63c,_0x56f19a:0x966,_0x351d04:0x6b7,_0x3dd2f1:0x6a6,_0x38af6a:0x498,_0x604bdf:0x5f8,_0x22b322:0x669,_0x30812d:0x613,_0x417e5f:0x643,_0x260073:0x6e8,_0x419643:0x785,_0x10fa9e:0x813,_0x1923ab:0x6b8,_0x400e72:0x6fb,_0xee8e1f:0x623},_0x58d027={_0x32f85b:0x2b,_0x45cb66:0x1f7,_0x4a8be7:0x384,_0x5c1b0a:0x32f,_0x54ea80:0x253,_0x39bdea:0x15e,_0x1e564c:0x32b,_0x122e50:0x3ff,_0x441e6c:0x565,_0x36b77d:0x4d8,_0x1cb34a:0x220,_0x2ce19f:0xe6,_0x51d225:0x46,_0x2be656:0x4ff,_0x247e6c:0x512,_0x525c45:0x9a,_0x1eb63:0x121,_0x6a19a7:0x36d,_0x26aceb:0x294,_0x58a612:0x1fe,_0x3a5a05:0x339,_0x5a436c:0x56b,_0x4a927f:0x421,_0x53bcba:0x1a1,_0x2f78f3:0x51,_0x413880:0xbf,_0x16c456:0x527,_0x2403e3:0x40b,_0x14a675:0x31a,_0x510d55:0x183,_0x438125:0x1d7,_0x8ea026:0x1a1,_0x11ecc4:0x2b5},_0x3e5a8a={_0x2c3cf8:0x378,_0x1285b8:0x10a,_0x4030e5:0xe2},_0x55e080={_0x33b219:0x1b8,_0x2618bb:0x138},_0x3290c4=_0x5612b6['resolve'](_0xe723c5[_0x1c6115(0x8f6,_0x444b3c._0x366aec,_0x444b3c._0x40c3a9,_0x444b3c._0xfe2368)]??process[_0x1c6115(0x7b3,_0x444b3c._0x299d17,_0x444b3c._0x2866e5,_0x444b3c._0x195a4d)]());function _0x1c6115(_0x387e3,_0x5448fc,_0x13d9d8,_0x19ea3f){return _0x4a0aa5(_0x13d9d8,_0x387e3-_0x55e080._0x33b219,_0x13d9d8-0x136,_0x19ea3f-_0x55e080._0x2618bb);}const _0x1b7e15=_0xe723c5[_0xb54847(0x78f,_0x444b3c._0x56f19a,0x78b,_0x444b3c._0x351d04)]??[],_0x5b5fd0=_0xe723c5[_0xb54847(_0x444b3c._0x3dd2f1,0x58e,0x828,_0x444b3c._0x38af6a)]??0x64,_0x50fa76=_0xe723c5[_0x1c6115(0x73c,_0x444b3c._0x604bdf,_0x444b3c._0x22b322,0x841)]??_0x1c6115(0x8f0,0x848,0xa9d,0x92f);function _0xb54847(_0x1b3eb8,_0x43e98a,_0x214f3b,_0x558c60){return _0x4a0aa5(_0x214f3b,_0x1b3eb8-0x1e4,_0x214f3b-0x59,_0x558c60-0x1b8);}return defineTool({'name':_0x50fa76,'permissionClass':'read','description':_0xb54847(_0x444b3c._0x30812d,_0x444b3c._0x417e5f,0x462,0x6e7),'inputSchema':{'type':_0x1c6115(_0x444b3c._0x260073,0x792,0x4fb,0x5b2),'properties':{'pattern':{'type':_0x1c6115(0x856,_0x444b3c._0x419643,0x6d7,_0x444b3c._0x10fa9e)},'path':{'type':_0xb54847(_0x444b3c._0x299d17,0x6e8,_0x444b3c._0x1923ab,0x966)},'limit':{'type':_0xb54847(0x6fc,_0x444b3c._0x400e72,_0x444b3c._0xee8e1f,0x6d5)}},'required':['pattern']},async *'execute'(_0x9df2e8){if(_0x9df2e8[_0xa5e2dd(0x1f3,0x30f,0x2e5,_0x58d027._0x32f85b)][_0x3d8c9d(_0x58d027._0x45cb66,0x1e5,0x245,0x31e)]()[_0xa5e2dd(0x4e9,0x3a6,0x32b,_0x58d027._0x4a8be7)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});function _0x3d8c9d(_0x1d7622,_0xe38561,_0x7dff04,_0x533f19){return _0xb54847(_0x7dff04- -0x6ec,_0xe38561-0x1cd,_0xe38561,_0x533f19-0x9c);}const _0x406c26=resolveAllowedPath(_0x3290c4,_0x1b7e15,_0x9df2e8[_0x3d8c9d(_0x58d027._0x5c1b0a,_0x58d027._0x54ea80,0x21d,_0x58d027._0x39bdea)]??'.'),_0x579cd8=await _0x32f167(_0x406c26)['catch'](()=>null);if(!_0x579cd8?.['isDirectory']())throw new ToolExecutionError(_0xa5e2dd(0x511,0x4bb,_0x58d027._0x1e564c,_0x58d027._0x122e50)+(_0x9df2e8['path']??'.'),{'path':_0x9df2e8[_0xa5e2dd(_0x58d027._0x441e6c,0x37f,0x3bd,_0x58d027._0x36b77d)]??'.'});const _0x3f342c=_0x9df2e8[_0x3d8c9d(-_0x58d027._0x1cb34a,_0x58d027._0x2ce19f,-_0x58d027._0x51d225,0x76)]??_0x5b5fd0;function _0xa5e2dd(_0x2e4a17,_0x34aaf3,_0x566d62,_0x1ca6a1){return _0x1c6115(_0x2e4a17- -_0x3e5a8a._0x2c3cf8,_0x34aaf3-_0x3e5a8a._0x1285b8,_0x34aaf3,_0x1ca6a1-_0x3e5a8a._0x4030e5);}const _0x3e3606=Math[_0xa5e2dd(_0x58d027._0x2be656,0x6b2,0x6c7,_0x58d027._0x247e6c)](0x1,Math['trunc'](_0x3f342c)),_0xcea6da=[];let _0x201b1d=![];for await(const _0x56d83b of files({'cwd':_0x406c26,'glob':[_0x9df2e8['pattern']]})){if(_0xcea6da[_0x3d8c9d(_0x58d027._0x525c45,_0x58d027._0x1eb63,0x1a1,0x13a)]>=_0x3e3606){_0x201b1d=!![];break;}const _0x1a1841=await _0x32f167(_0x5612b6[_0xa5e2dd(_0x58d027._0x6a19a7,_0x58d027._0x26aceb,0x25d,0x460)](_0x406c26,_0x56d83b))[_0x3d8c9d(-0x112,-0x2b5,-0x1ce,-0x119)](()=>null);_0xcea6da[_0xa5e2dd(_0x58d027._0x58a612,0x3b3,0x9a,_0x58d027._0x3a5a05)]({'path':_0x56d83b,'mtime':_0x1a1841?.[_0xa5e2dd(0x436,0x540,_0x58d027._0x5a436c,0x4d7)]??0x0});}_0xcea6da['sort']((_0x522094,_0x4716d1)=>_0x4716d1[_0x3d8c9d(0x2c4,0x2dc,0xed,-0x10d)]-_0x522094['mtime']);const _0x1429f4=_0xcea6da[_0xa5e2dd(_0x58d027._0x4a927f,0x429,0x3fc,0x4e7)](_0x2c20cd=>_0x2c20cd[_0x3d8c9d(0x9c,0x252,0x21d,0x152)]),_0xccbc7b=_0x1429f4[_0x3d8c9d(0x1e7,0x309,_0x58d027._0x53bcba,-_0x58d027._0x2f78f3)]===0x0?_0x3d8c9d(_0x58d027._0x413880,-_0x58d027._0x2f78f3,-0xc4,-0x42)+_0x9df2e8['pattern']:''+_0x1429f4[_0xa5e2dd(_0x58d027._0x6a19a7,_0x58d027._0x16c456,0x557,0x2d8)]('\x0a')+(_0x201b1d?_0xa5e2dd(0x512,_0x58d027._0x2403e3,0x533,_0x58d027._0x14a675):'');return yield createToolOutput(_0xccbc7b,{'pattern':_0x9df2e8[_0x3d8c9d(-0x5e,-_0x58d027._0x510d55,-0x155,0x69)],'searchPath':_0x5612b6[_0x3d8c9d(-_0x58d027._0x438125,-0x15d,-0xc8,-0xe2)](_0x3290c4,_0x406c26)||'.','matches':_0x1429f4,'count':_0x1429f4[_0x3d8c9d(-0x6d,-0x5f,_0x58d027._0x8ea026,_0x58d027._0x11ecc4)],'truncated':_0x201b1d}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0xbdad83){const _0x120406={_0x18d4a1:0x8e9,_0x38cd01:0x9f1,_0x25bd77:0x851,_0x2bdc6a:0x6a7,_0x5400a1:0x295,_0x17f75c:0x1ae,_0x3e9b15:0x16c,_0x5abab6:0x2d7,_0x28f569:0x105,_0x4ac567:0x5c1,_0x25dce7:0x2f8,_0x293bd9:0x32a,_0x388ecd:0x4b3},_0x38f6e4={_0x5aa6af:0xe8},_0x455b48={_0x217014:0xc9,_0x417fb4:0x46};function _0x48fe5e(_0x3f35f6,_0x44de58,_0x32ffc2,_0x379f60){return _0x38b1c5(_0x3f35f6-0x1f0,_0x44de58-_0x455b48._0x217014,_0x32ffc2-_0x455b48._0x417fb4,_0x379f60);}if(_0xbdad83[_0x48fe5e(_0x120406._0x18d4a1,_0x120406._0x38cd01,_0x120406._0x25bd77,_0x120406._0x2bdc6a)]()[_0x2c69f9(0x131,_0x120406._0x5400a1,0x2d1,_0x120406._0x17f75c)]===0x0)throw new Error(_0x2c69f9(_0x120406._0x3e9b15,_0x120406._0x5abab6,_0x120406._0x28f569,0x208));function _0x2c69f9(_0x114d27,_0x5c8551,_0x267eb4,_0x5d7b82){return _0x38b1c5(_0x114d27-_0x38f6e4._0x5aa6af,_0x5c8551-0xa3,_0x114d27- -0x636,_0x267eb4);}if(_0xbdad83['length']>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x48fe5e(0x76a,0x7a6,0x686,_0x120406._0x4ac567)+GREP_MAX_PATTERN_LENGTH+_0x48fe5e(_0x120406._0x25dce7,_0x120406._0x293bd9,_0x120406._0x388ecd,0x5ef));}function boundedGrepSnippet(_0x5217f7){const _0xec647c={_0x23a90c:0x314,_0x112205:0x23c},_0x4db9b3={_0x28b298:0x2ed,_0x30a910:0xfd};function _0xf89c54(_0x1adf55,_0x294379,_0x58d1e7,_0x14fda5){return _0x4a0aa5(_0x294379,_0x14fda5- -_0x4db9b3._0x28b298,_0x58d1e7-_0x4db9b3._0x30a910,_0x14fda5-0xc7);}return _0x5217f7['length']>GREP_MAX_SNIPPET_LENGTH?_0x5217f7[_0xf89c54(_0xec647c._0x23a90c,0x270,_0xec647c._0x112205,0x227)](0x0,GREP_MAX_SNIPPET_LENGTH)+'...':_0x5217f7;}async function searchRegex(_0x243cdf){const _0x5c126a={_0x2c95c8:0x489,_0x4d0425:0x374,_0x4bc6b9:0x421,_0x32c342:0x47a,_0x4628a6:0x56a,_0x5b2680:0x443,_0x39545e:0x4a9,_0x4c921f:0x316,_0x30ab11:0x767,_0x22edb7:0x6a7,_0x4e1822:0x5b8,_0x5228ad:0x610,_0xf0675f:0x733,_0x2cda5d:0x7ee,_0x1336ff:0x8a0,_0x4cb372:0x6e4,_0x44fb2e:0x6bb,_0x2e2d4f:0x64a,_0x4aa014:0x6f5,_0x410dc8:0x86d,_0x1571ef:0x702,_0x32604c:0x7b7,_0x99ca18:0x3f7,_0x264b24:0x33e,_0x451f1c:0x2f8,_0x2633bb:0x425,_0x27535f:0x3bd,_0x16e9a9:0x293,_0xb307a0:0x6ca,_0x2cb17f:0x474,_0x30178d:0x7a6,_0x37fbc6:0x72d,_0x154761:0x79b,_0x1d371d:0x547,_0x56b3f2:0x604,_0x3bd9d1:0x5cf,_0xe908b5:0x453,_0x52bde2:0x43b},_0x2fa32c={_0x28aec3:0x108},_0xfbfcf7={_0x7ad238:0x72d,_0x21ca7f:0x9c4,_0xd6de3f:0x36d},_0x40c907={_0x248aa4:0x33c};validateGrepPattern(_0x243cdf[_0x283c4e(_0x5c126a._0x2c95c8,_0x5c126a._0x4d0425,_0x5c126a._0x4bc6b9,_0x5c126a._0x32c342)]);const _0x313468=_0x243cdf[_0x33d4b8(_0x5c126a._0x4628a6,0x438,_0x5c126a._0x5b2680,0x5b3)]??GREP_DEFAULT_LIMIT,_0x19a967=Number[_0x33d4b8(0x414,_0x5c126a._0x39545e,_0x5c126a._0x4c921f,0x44e)](_0x313468)?Math[_0x33d4b8(_0x5c126a._0x30ab11,0x74c,0x559,0x73d)](0x1,Math[_0x33d4b8(_0x5c126a._0x22edb7,0x7ab,_0x5c126a._0x4e1822,0x82e)](_0x313468)):GREP_DEFAULT_LIMIT;if(_0x243cdf[_0x283c4e(0x6d1,0x492,_0x5c126a._0x5228ad,_0x5c126a._0xf0675f)]?.[_0x33d4b8(0x751,_0x5c126a._0x2cda5d,_0x5c126a._0x1336ff,0x5be)]===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0x350532=await search({'cwd':_0x243cdf[_0x33d4b8(0x6a3,0x81f,0x8ab,0x83c)],'pattern':_0x243cdf['pattern'],..._0x243cdf[_0x33d4b8(0x64a,_0x5c126a._0x4cb372,0x6f3,_0x5c126a._0x44fb2e)]===void 0x0?{}:{'files':_0x243cdf[_0x33d4b8(_0x5c126a._0x2e2d4f,_0x5c126a._0x4aa014,0x718,0x46e)]},..._0x243cdf[_0x283c4e(0x6ce,_0x5c126a._0x410dc8,0x702,0x7ff)]===void 0x0?{}:{'glob':_0x243cdf[_0x283c4e(0x7b5,0x637,_0x5c126a._0x1571ef,_0x5c126a._0x32604c)]},..._0x243cdf[_0x33d4b8(_0x5c126a._0x99ca18,0x5f7,0x564,_0x5c126a._0x264b24)]===void 0x0?{}:{'context':_0x243cdf[_0x283c4e(_0x5c126a._0x451f1c,_0x5c126a._0x2633bb,_0x5c126a._0x27535f,_0x5c126a._0x16e9a9)]},'limit':_0x19a967+0x1}),_0x4b72a5=_0x350532['filter'](_0x578336=>!_0x578336[_0x33d4b8(0x573,0x710,0x658,0x5c8)]),_0x58f092=_0x4b72a5['length']>_0x19a967,_0x85595f=_0x4b72a5[_0x283c4e(_0x5c126a._0xb307a0,_0x5c126a._0x2cb17f,0x582,0x6bc)](0x0,_0x19a967),_0x56cc0b=new Set(_0x85595f),_0x55cb10=Math[_0x283c4e(0x65a,_0x5c126a._0x30178d,_0x5c126a._0x37fbc6,_0x5c126a._0x154761)](0x0,Math[_0x283c4e(_0x5c126a._0x1d371d,0x69e,0x66d,0x499)](_0x243cdf[_0x33d4b8(0x3f7,0x1f9,0x4b5,_0x5c126a._0x56b3f2)]??0x0));function _0x283c4e(_0x57d79c,_0xeb27ec,_0x51fbd4,_0x7b928d){return _0x38b1c5(_0x57d79c-0x92,_0xeb27ec-0x1b9,_0x51fbd4- -0x50,_0xeb27ec);}const _0x3cb15f=_0x58f092?_0x350532['filter'](_0x5761ef=>{function _0x29d5c3(_0x4cb9c9,_0x2f6b08,_0x5afc97,_0xbb6ebf){return _0x33d4b8(_0x4cb9c9-0x17,_0x2f6b08,_0x5afc97-0xd8,_0xbb6ebf-0x15f);}function _0x1675d3(_0x21035d,_0x29c216,_0x293995,_0x32bf08){return _0x283c4e(_0x21035d-0xc,_0x32bf08,_0x21035d- -_0x40c907._0x248aa4,_0x32bf08-0x10c);}if(!_0x5761ef['isContext'])return _0x56cc0b[_0x29d5c3(0x7cf,_0xfbfcf7._0x7ad238,_0xfbfcf7._0x21ca7f,0x874)](_0x5761ef);return _0x85595f[_0x1675d3(_0xfbfcf7._0xd6de3f,0x29d,0x1d0,0x2be)](_0x19d96d=>_0x19d96d['filePath']===_0x5761ef[_0x29d5c3(0x80a,0x7b5,0x8af,0x650)]&&Math[_0x29d5c3(0x528,0x5e2,0x610,0x35b)](_0x19d96d[_0x29d5c3(0x59d,0x466,0x3b4,0x42f)]-_0x5761ef[_0x1675d3(0x210,0x277,0x4e,0xdb)])<=_0x55cb10);}):_0x350532;function _0x33d4b8(_0x1db1fa,_0x21ff51,_0x3e2c3f,_0x57ddba){return _0x38b1c5(_0x1db1fa-0x7a,_0x21ff51-_0x2fa32c._0x28aec3,_0x1db1fa- -0x16,_0x21ff51);}return{'matches':_0x3cb15f,'matchCount':_0x85595f[_0x283c4e(0x862,_0x5c126a._0x3bd9d1,0x717,0x85c)],'fileCount':new Set(_0x3cb15f['map'](_0x21c2bd=>_0x21c2bd[_0x33d4b8(0x7f3,0x658,0x6e2,0x8ce)]))[_0x33d4b8(_0x5c126a._0xe908b5,_0x5c126a._0x52bde2,0x46f,0x641)],'truncated':_0x58f092};}import{stat as _0x2d7abe}from'fs/promises';import*as _0x4507e1 from'path';function createGrepTool(_0x31af8f={}){const _0x23286a={_0x4f9b32:0x577,_0x322e7c:0x534,_0x404752:0x5fd,_0x50364a:0xa,_0x4cc2c4:0x194,_0x44d099:0x106,_0x4be109:0x267,_0x21965d:0x23d,_0x5d57fa:0x1d3,_0x43589a:0x13c,_0x575a67:0x26,_0x371c9a:0x202,_0xd9559b:0x13b,_0x2b0ebf:0x42f,_0x3ab829:0x43f,_0x5d4fae:0x4af,_0x47ccb9:0x235,_0x17adf2:0xe9,_0x172a9a:0x158,_0x542736:0x84,_0x316e6c:0x26b,_0x15cec7:0xab,_0x170a31:0x17e,_0x9f3928:0x11c,_0x37a847:0xba,_0x523ad7:0x40,_0x587237:0x201},_0x5b2f0a={_0x299386:0x2cf,_0xa424cd:0xa4,_0xabbbdb:0x24c,_0x2681fd:0x2a2,_0x18e0ea:0x7c,_0x161924:0x39,_0x176478:0x5ee,_0x5cd9c8:0x3dd,_0x5cdd7b:0x572,_0xa9a042:0x69a,_0x580b84:0x7ac,_0x5273fd:0x106,_0x5f5810:0x1e8,_0x4d5cf5:0x108,_0x5a49cc:0x408,_0x40e07c:0x10b,_0x409655:0x186,_0x180bb5:0x41,_0x5cb06e:0x266,_0x36f404:0x4e9,_0x448507:0x156,_0x489b84:0x114,_0x456ca2:0x4b,_0x459c80:0x622,_0x32d163:0x5e6,_0x914e69:0x513,_0x13d751:0x1d2,_0x1b8a17:0x35c,_0x30cdaa:0x101,_0x843f73:0x16b,_0x1594ab:0x5e,_0x197f06:0x65d,_0x959486:0x1df,_0x5c2a1f:0x212,_0x4cb8f1:0x1ec,_0x188fc1:0x662,_0x25b74e:0x7a2,_0x1df986:0x105,_0x2e4b32:0x398,_0x312f5f:0x3c2,_0x24352d:0x58a,_0x1864e2:0x4a8,_0x32b9a6:0x670,_0x105fd5:0x2c5,_0x5460dd:0x561,_0x3b6eeb:0x5d8,_0x48c930:0x477,_0x410060:0x5d8,_0x4b1eb9:0x668,_0x8677d3:0x25f,_0x52859f:0x45f,_0x34b417:0x57,_0x555deb:0x3a6,_0x667cfb:0x2cc,_0x8b8ca4:0x236,_0x292388:0x246,_0x24a258:0x5b4,_0x5ea476:0x3f0,_0x24c029:0x325,_0xe3771e:0x74,_0x1fd005:0x1db,_0x3911a3:0x197,_0x1491b5:0x70f,_0x25e388:0x5e4,_0x48d3ad:0x690,_0xbf7f61:0x159,_0x2a0a54:0xf2,_0x132e49:0x195,_0x2d200e:0xe,_0x5b9130:0x221,_0x5104b9:0x2d7,_0x519354:0x229,_0x1a0f5b:0x1e6,_0x38eab2:0x186,_0x1511ef:0x23c,_0x29980a:0x2b1,_0x44a44d:0xf0,_0x130fa6:0x6a1,_0x26e493:0x4df,_0x376160:0xc1,_0x3c9700:0x6f,_0x4311e9:0x72f,_0x4f0bd7:0x65f,_0x1875e7:0x7e5},_0x287fd3={_0x3207c7:0x32e},_0x5cf97e={_0x4c749c:0x175,_0x4e36c2:0x9d,_0x530421:0x52b},_0x2e93c3=_0x4507e1['resolve'](_0x31af8f[_0x4e445b(_0x23286a._0x4f9b32,0x410,_0x23286a._0x322e7c,_0x23286a._0x404752)]??process['cwd']());function _0x150c99(_0x194175,_0x5b68d2,_0x2bd3dd,_0x204457){return _0x38b1c5(_0x194175-_0x5cf97e._0x4c749c,_0x5b68d2-_0x5cf97e._0x4e36c2,_0x5b68d2- -_0x5cf97e._0x530421,_0x204457);}const _0x52fefc=_0x31af8f['allowedDirs']??[],_0x533241=_0x31af8f[_0x4e445b(_0x23286a._0x50364a,_0x23286a._0x4cc2c4,0x93,0x214)]??GREP_DEFAULT_LIMIT,_0x574af3=_0x31af8f[_0x150c99(_0x23286a._0x44d099,0x117,0x1a0,_0x23286a._0x4be109)]??'Grep';function _0x4e445b(_0x2cf68c,_0x30c226,_0x40609d,_0x274534){return _0x4a0aa5(_0x2cf68c,_0x30c226- -_0x287fd3._0x3207c7,_0x40609d-0x14f,_0x274534-0x11d);}return defineTool({'name':_0x574af3,'permissionClass':_0x150c99(0x1cf,_0x23286a._0x21965d,_0x23286a._0x5d57fa,0x2ae),'description':_0x150c99(-_0x23286a._0x43589a,-0x11a,-_0x23286a._0x575a67,-0x1ac),'inputSchema':{'type':_0x4e445b(0x2c0,_0x23286a._0x371c9a,_0x23286a._0xd9559b,0x1e4),'properties':{'pattern':{'type':_0x4e445b(0x366,0x370,0x1fd,_0x23286a._0x2b0ebf)},'path':{'type':_0x4e445b(_0x23286a._0x3ab829,0x370,_0x23286a._0x5d4fae,_0x23286a._0x47ccb9)},'include':{'type':'string'},'limit':{'type':_0x150c99(_0x23286a._0x17adf2,0xab,-_0x23286a._0x172a9a,-_0x23286a._0x542736)},'context':{'type':_0x150c99(_0x23286a._0x316e6c,_0x23286a._0x15cec7,0x108,_0x23286a._0x170a31)}},'required':[_0x150c99(_0x23286a._0x9f3928,-_0x23286a._0x37a847,_0x23286a._0x523ad7,-_0x23286a._0x587237)]},async *'execute'(_0x2930b2){const _0x316c1a={_0x29f3e8:0x14e},_0x20d3a6={_0x82425:0x177};try{validateGrepPattern(_0x2930b2[_0x1afbc6(-0xf2,-0x259,-0x2b9,-_0x5b2f0a._0x299386)]);}catch(_0x3ca9ab){throw new ToolExecutionError(_0x3ca9ab['message'],{});}const _0x31d252=resolveAllowedPath(_0x2e93c3,_0x52fefc,_0x2930b2['path']??'.'),_0x17ca54=await _0x2d7abe(_0x31d252)[_0x3f85ad(_0x5b2f0a._0xa424cd,_0x5b2f0a._0xabbbdb,_0x5b2f0a._0x2681fd,0x3e)](()=>null),_0x1cc611=_0x17ca54?.['isFile']()??![],_0x266782=_0x17ca54?.[_0x1afbc6(_0x5b2f0a._0x18e0ea,_0x5b2f0a._0x161924,0x255,-0x95)]()??![];if(!_0x1cc611&&!_0x266782)throw new ToolExecutionError(_0x3f85ad(0x654,_0x5b2f0a._0x176478,_0x5b2f0a._0x5cd9c8,0x4a8)+(_0x2930b2[_0x3f85ad(_0x5b2f0a._0x5cdd7b,0x637,_0x5b2f0a._0xa9a042,_0x5b2f0a._0x580b84)]??'.'),{'path':_0x2930b2['path']??'.'});const _0x5e0bff=await searchRegex({'cwd':_0x266782?_0x31d252:_0x4507e1[_0x1afbc6(-_0x5b2f0a._0x5273fd,-0x8e,-_0x5b2f0a._0x5f5810,-_0x5b2f0a._0x4d5cf5)](_0x31d252),'pattern':_0x2930b2[_0x3f85ad(0x1c7,0x2c5,_0x5b2f0a._0x5a49cc,_0x5b2f0a._0x40e07c)],'glob':_0x266782?_0x2930b2[_0x1afbc6(_0x5b2f0a._0x409655,0xd5,-_0x5b2f0a._0x180bb5,-0x2c)]:void 0x0,'limit':_0x2930b2[_0x3f85ad(0x566,0x3d4,_0x5b2f0a._0x5cb06e,_0x5b2f0a._0x36f404)]??_0x533241,'files':_0x1cc611?[_0x31d252]:void 0x0,'context':_0x2930b2[_0x1afbc6(-_0x5b2f0a._0x448507,-_0x5b2f0a._0x489b84,_0x5b2f0a._0x456ca2,0x3)]}),{matches:_0x47975e}=_0x5e0bff,_0x1a8d1a=new Map();for(const _0x1a9309 of _0x47975e){if(!_0x1a8d1a[_0x3f85ad(0x45c,_0x5b2f0a._0x459c80,_0x5b2f0a._0x32d163,_0x5b2f0a._0x914e69)](_0x1a9309['filePath'])){const _0x2b9be2=await _0x2d7abe(_0x1a9309[_0x1afbc6(0x2a6,_0x5b2f0a._0x13d751,_0x5b2f0a._0x1b8a17,_0x5b2f0a._0x30cdaa)])[_0x1afbc6(-_0x5b2f0a._0x843f73,-0x21c,0x9,-_0x5b2f0a._0x1594ab)](()=>null);_0x1a8d1a['set'](_0x1a9309[_0x3f85ad(0x79e,_0x5b2f0a._0x197f06,0x83f,0x5bc)],{'matches':[],'mtime':_0x2b9be2?.['mtimeMs']??0x0});}_0x1a8d1a[_0x1afbc6(-0x8a,-0x1d6,-0x192,-_0x5b2f0a._0x959486)](_0x1a9309['filePath'])?.[_0x3f85ad(0x4ae,0x2b3,0x1ef,0xd2)]['push'](_0x1a9309);}const _0x3b6160=[..._0x1a8d1a[_0x1afbc6(0x1e1,0x2cd,_0x5b2f0a._0x5c2a1f,_0x5b2f0a._0x4cb8f1)]()][_0x3f85ad(0x56d,_0x5b2f0a._0x188fc1,_0x5b2f0a._0x25b74e,0x58f)]((_0x42359a,_0x3ac5af)=>_0x3ac5af[0x1][_0x1afbc6(0x150,-0x2f,0xc,-0xa1)]-_0x42359a[0x1][_0x1afbc6(0x150,0x338,0xfe,0x114)]);function _0x1afbc6(_0xd2b7f6,_0x489dd0,_0x238113,_0x11d524){return _0x4e445b(_0x11d524,_0xd2b7f6- -_0x20d3a6._0x82425,_0x238113-0x83,_0x11d524-0xdb);}const _0x4cfa50=_0x1cc611?_0x4507e1[_0x3f85ad(0x29f,0x2b1,_0x5b2f0a._0x1df986,_0x5b2f0a._0x2e4b32)](_0x31d252):_0x31d252;let _0xf8ebf2='';if(_0x47975e[_0x1afbc6(0x204,0x66,0x2de,0xe3)]===0x0)_0xf8ebf2=_0x3f85ad(_0x5b2f0a._0x312f5f,_0x5b2f0a._0x24352d,_0x5b2f0a._0x1864e2,_0x5b2f0a._0x32b9a6)+_0x2930b2[_0x3f85ad(0x280,_0x5b2f0a._0x105fd5,0x41a,0x11e)];else{_0xf8ebf2=_0x3f85ad(0x684,0x4d4,0x5a7,0x415)+_0x5e0bff[_0x3f85ad(_0x5b2f0a._0x5460dd,_0x5b2f0a._0x3b6eeb,0x3e6,0x51e)]+'\x20match'+(_0x5e0bff[_0x3f85ad(_0x5b2f0a._0x48c930,_0x5b2f0a._0x410060,0x4e3,_0x5b2f0a._0x4b1eb9)]===0x1?'':'es')+'\x0a';for(const [_0x2cdc14,_0x14e2d0]of _0x3b6160){const _0x15d504=_0x1cc611?_0x4507e1[_0x1afbc6(_0x5b2f0a._0x8677d3,0x169,_0x5b2f0a._0x52859f,_0x5b2f0a._0x34b417)](_0x2cdc14):_0x4507e1['relative'](_0x4cfa50,_0x2cdc14);_0xf8ebf2+='\x0a'+_0x15d504+':\x0a';for(const _0x2d8e6e of _0x14e2d0[_0x3f85ad(0x284,0x2b3,0x471,0x40f)]){const _0x2e8b99=boundedGrepSnippet(_0x2d8e6e[_0x3f85ad(_0x5b2f0a._0x555deb,_0x5b2f0a._0x667cfb,0x293,_0x5b2f0a._0x8b8ca4)]),_0x510f55=_0x2d8e6e['isContext']?'\x20\x20':'>\x20';_0xf8ebf2+=_0x510f55+_0x1afbc6(-0x64,0xfc,-0xd3,-_0x5b2f0a._0x292388)+_0x2d8e6e[_0x3f85ad(_0x5b2f0a._0x24a258,_0x5b2f0a._0x5ea476,0x533,_0x5b2f0a._0x24c029)]+':\x20'+_0x2e8b99+'\x0a';}}_0x5e0bff[_0x1afbc6(-_0x5b2f0a._0xe3771e,0x15d,-_0x5b2f0a._0x1fd005,-_0x5b2f0a._0x3911a3)]&&(_0xf8ebf2+=_0x3f85ad(_0x5b2f0a._0x1491b5,_0x5b2f0a._0x25e388,0x503,_0x5b2f0a._0x48d3ad));}const _0xb7c0bc={'searchPath':_0x4507e1[_0x1afbc6(-0x65,-0x76,-_0x5b2f0a._0xbf7f61,0x154)](_0x2e93c3,_0x31d252)||'.','pattern':_0x2930b2[_0x1afbc6(-_0x5b2f0a._0x2a0a54,-0x17,-_0x5b2f0a._0x132e49,-_0x5b2f0a._0x2d200e)],'matchCount':_0x5e0bff[_0x1afbc6(_0x5b2f0a._0x5b9130,0x375,0x278,0x35a)],'fileCount':_0x5e0bff[_0x3f85ad(0x1ee,_0x5b2f0a._0x5104b9,0x126,_0x5b2f0a._0x519354)],'truncated':_0x5e0bff[_0x3f85ad(_0x5b2f0a._0x1a0f5b,0x343,0x351,0x4dc)]};_0x266782&&_0x2930b2[_0x1afbc6(_0x5b2f0a._0x38eab2,_0x5b2f0a._0x1511ef,_0x5b2f0a._0x29980a,_0x5b2f0a._0x44a44d)]!==void 0x0&&(_0xb7c0bc[_0x3f85ad(_0x5b2f0a._0x130fa6,0x53d,_0x5b2f0a._0x26e493,0x746)]=_0x2930b2[_0x1afbc6(0x186,_0x5b2f0a._0x376160,_0x5b2f0a._0x3c9700,0x262)]);yield createToolOutput(_0xf8ebf2[_0x3f85ad(_0x5b2f0a._0x4311e9,_0x5b2f0a._0x4f0bd7,_0x5b2f0a._0x1875e7,0x672)](),_0xb7c0bc);function _0x3f85ad(_0x4265eb,_0x64f0b2,_0x28d433,_0x547890){return _0x150c99(_0x4265eb-_0x316c1a._0x29f3e8,_0x64f0b2-0x37f,_0x28d433-0x11e,_0x547890);}return void 0x0;}});}import{readdir,readFile as _0x1bf1ef,stat as _0x30f21d}from'fs/promises';import*as _0x191f61 from'path';import*as _0x4b4c26 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x5e917a,_0x181c9d){const _0x12f9ab={_0x2e3f70:0x2fb,_0x110ee8:0x102,_0x4a5605:0x30c,_0x31106f:0x70,_0x1c9a98:0xe,_0x4958f6:0x49a};function _0x2c6196(_0x5dde13,_0x4d30c9,_0x1eb1fc,_0xa737df){return _0x4a0aa5(_0x5dde13,_0x4d30c9- -0x3f,_0x1eb1fc-0x15f,_0xa737df-0x99);}if(_0x181c9d>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x28e6fa=await _0x1bf1ef(_0x5e917a)[_0x2c6196(0x43e,_0x12f9ab._0x2e3f70,_0x12f9ab._0x110ee8,_0x12f9ab._0x4a5605)](()=>null);if(!_0x28e6fa||isProbablyBinary(_0x28e6fa))return void 0x0;function _0x964e88(_0x427480,_0x2d1c2c,_0x22d812,_0xb9c82f){return _0x38b1c5(_0x427480-0x2f,_0x2d1c2c-0x82,_0x22d812- -0x42c,_0x427480);}return _0x28e6fa['toString'](_0x964e88(0xab,0x16f,0x13f,0xa3))[_0x964e88(0x2c6,-_0x12f9ab._0x31106f,0xdf,_0x12f9ab._0x1c9a98)](/\r?\n/)[_0x964e88(_0x12f9ab._0x4958f6,0x370,0x33b,0x17c)];}function createLsTool(_0x5b89bb={}){const _0x58dc0c={_0x102b22:0x4d5,_0x38b410:0x524,_0x4151bf:0x61b,_0x516481:0x6b0,_0x2284b5:0x4d8,_0x112c06:0x112,_0x92f45a:0xe6,_0x7baaf0:0xeb,_0x3321fa:0x21a,_0x512928:0x3b8,_0x4b7ca0:0x34c,_0x2b604b:0x1b2,_0x2b54c6:0x1e2,_0x4c31b4:0x7f,_0xbf703a:0x97,_0x17c6d3:0x53c},_0x3da901={_0x4bc7b6:0x4f0,_0x1d5a62:0x22d,_0x246bf7:0x4e9,_0x3c0d1a:0x3e9,_0x9af5a5:0x6f1,_0x1338bc:0x5d0,_0x8ced9c:0x330,_0x1d5617:0x3df,_0x49f1e7:0x538,_0x278167:0x6c0,_0x449248:0x571,_0x389997:0x243,_0xb76ac7:0x1c8,_0x18e187:0x783,_0x40860b:0x630,_0x22a1ca:0x606,_0x4a5b88:0x6ae,_0x421237:0x18c,_0x311957:0x62,_0x20e59f:0x20f,_0x19bcb9:0x67,_0x587fd4:0x7c,_0x555dd2:0x648,_0x5ba17a:0x68f,_0x5e7617:0x43a,_0x32d8d4:0x515,_0x401440:0x137,_0x4c93a8:0xa,_0x44d2f2:0x1d4,_0x50a89a:0x768,_0x372ab1:0x693,_0x4575d8:0x54,_0x35db67:0x205,_0x18894d:0x103,_0x350c5d:0x2cf,_0x5f2428:0x281,_0x15e983:0x24d,_0x1aa332:0x45a,_0x3111f2:0x69a,_0x3c895a:0x3af,_0x173d6b:0x21f,_0x2143ea:0x64c,_0x4e1e70:0x6df,_0x321885:0x758,_0x2d7f07:0x5e3,_0x302fdf:0x12f,_0x3aa36f:0x35,_0x1b97b5:0x122,_0x220c15:0x378},_0x557925={_0xb27dbe:0x1a7},_0x3247c8={_0x2c7208:0xfe,_0x10ec5a:0x27e},_0x49e061={_0x46779e:0x123,_0x32e9ef:0x3b},_0x9f69d8={_0xf30bd2:0x557};function _0x2c2777(_0xacac81,_0x1127a1,_0x1e3d81,_0x4bb4d8){return _0x38b1c5(_0xacac81-0x18a,_0x1127a1-0xd,_0x4bb4d8- -_0x9f69d8._0xf30bd2,_0x1e3d81);}function _0xb201e6(_0x512b7e,_0x5cb8e7,_0x386a7b,_0x23507f){return _0x4a0aa5(_0x512b7e,_0x23507f- -_0x49e061._0x46779e,_0x386a7b-_0x49e061._0x32e9ef,_0x23507f-0x21);}const _0x26f20b=_0x191f61['resolve'](_0x5b89bb[_0xb201e6(_0x58dc0c._0x102b22,_0x58dc0c._0x38b410,0x430,_0x58dc0c._0x4151bf)]??process[_0xb201e6(0x375,0x632,_0x58dc0c._0x516481,_0x58dc0c._0x2284b5)]()),_0x4afb72=_0x5b89bb[_0x2c2777(0x143,0xf4,0x2a4,_0x58dc0c._0x112c06)]??[],_0x413aca=_0x5b89bb[_0x2c2777(-_0x58dc0c._0x92f45a,0x1e0,0x99,_0x58dc0c._0x7baaf0)]??'Ls';return defineTool({'name':_0x413aca,'permissionClass':'read','description':_0x2c2777(_0x58dc0c._0x3321fa,_0x58dc0c._0x512928,_0x58dc0c._0x4b7ca0,_0x58dc0c._0x2b604b),'inputSchema':{'type':_0x2c2777(-0xcb,_0x58dc0c._0x2b54c6,-_0x58dc0c._0x4c31b4,_0x58dc0c._0xbf703a),'properties':{'path':{'type':'string'},'limit':{'type':_0xb201e6(0x49d,_0x58dc0c._0x17c6d3,0x245,0x3f5)}}},async *'execute'(_0x549c9c){const _0x9b9e03=_0x549c9c[_0x1d0bb7(0x384,0x1be,_0x3da901._0x4bc7b6,_0x3da901._0x1d5a62)]??'.',_0x12c7e7=resolveAllowedPath(_0x26f20b,_0x4afb72,_0x9b9e03),_0x4f306e=await _0x30f21d(_0x12c7e7)[_0x3ba109(_0x3da901._0x246bf7,0x3ce,0x31d,_0x3da901._0x3c0d1a)](()=>null);if(!_0x4f306e?.[_0x3ba109(0x664,_0x3da901._0x9af5a5,0x69c,_0x3da901._0x1338bc)]())throw new ToolExecutionError(_0x1d0bb7(_0x3da901._0x8ced9c,0x148,_0x3da901._0x1d5617,_0x3da901._0x49f1e7)+_0x9b9e03,{'path':_0x9b9e03});function _0x1d0bb7(_0x1f6a78,_0x402a09,_0x5b25d4,_0x4efa04){return _0xb201e6(_0x4efa04,_0x402a09-_0x3247c8._0x2c7208,_0x5b25d4-0x1ca,_0x1f6a78- -_0x3247c8._0x10ec5a);}function _0x3ba109(_0x480967,_0x29b012,_0x40cbda,_0x4cd3a8){return _0xb201e6(_0x29b012,_0x29b012-_0x557925._0xb27dbe,_0x40cbda-0x1b,_0x4cd3a8-0x1d2);}const _0x1894e2=_0x549c9c[_0x3ba109(0x5ee,_0x3da901._0x278167,0x567,_0x3da901._0x449248)]??0x3e8,_0x3ce5da=Math[_0x1d0bb7(_0x3da901._0x389997,_0x3da901._0xb76ac7,0x2ef,0xaf)](Math['max'](Math[_0x3ba109(_0x3da901._0x18e187,_0x3da901._0x40860b,_0x3da901._0x22a1ca,_0x3da901._0x4a5b88)](_0x1894e2),0x1),0x2710),_0x2eb966=await readdir(_0x12c7e7),_0x140173=[];for(const _0x3e9541 of _0x2eb966['slice'](0x0,_0x3ce5da)){const _0x4ccfc9=_0x191f61[_0x1d0bb7(_0x3da901._0x421237,-_0x3da901._0x311957,0x1ac,_0x3da901._0x20e59f)](_0x12c7e7,_0x3e9541),_0x2a70e1=await _0x30f21d(_0x4ccfc9)[_0x1d0bb7(-_0x3da901._0x19bcb9,0x2,-_0x3da901._0x587fd4,-0x109)](()=>null);if(!_0x2a70e1)continue;let _0x29e4b9=_0x3ba109(_0x3da901._0x555dd2,0x892,_0x3da901._0x5ba17a,0x6de);if(_0x2a70e1['isFile']())_0x29e4b9='file';else{if(_0x2a70e1[_0x3ba109(_0x3da901._0x5e7617,0x44a,_0x3da901._0x32d8d4,0x5d0)]())_0x29e4b9='directory';else{if(_0x2a70e1[_0x1d0bb7(_0x3da901._0x401440,0x2f,0x191,-0x1c)]())_0x29e4b9='symlink';}}const _0x576365={'name':_0x3e9541,'type':_0x29e4b9,'size':_0x2a70e1[_0x1d0bb7(_0x3da901._0x4c93a8,0x4d,_0x3da901._0x44d2f2,-0x13c)],'mtime':_0x2a70e1[_0x3ba109(_0x3da901._0x50a89a,0x7bd,_0x3da901._0x372ab1,0x6a5)],'mode':_0x2a70e1['mode']},_0x20322c=_0x29e4b9===_0x1d0bb7(0x4b,-_0x3da901._0x4575d8,_0x3da901._0x35db67,-_0x3da901._0x18894d)?await countTextLines(_0x4ccfc9,_0x2a70e1[_0x3ba109(_0x3da901._0x350c5d,_0x3da901._0x5f2428,_0x3da901._0x15e983,_0x3da901._0x1aa332)]):void 0x0;if(_0x20322c!==void 0x0)_0x576365[_0x3ba109(0x6dc,_0x3da901._0x3111f2,0x6bb,0x7e3)]=_0x20322c;_0x140173['push'](_0x576365);}_0x140173[_0x1d0bb7(_0x3da901._0x3c895a,0x240,0x27d,_0x3da901._0x173d6b)]((_0x31cf2a,_0x221763)=>_0x31cf2a[_0x1d0bb7(0x1e3,0x29f,0x2d9,0x2d6)][_0x3ba109(0x9c4,0x97a,0x9c1,0x7ca)](_0x221763['name']));const _0x2830ba={'path':_0x9b9e03,'total':_0x140173[_0x3ba109(0x6a1,_0x3da901._0x2143ea,_0x3da901._0x4e1e70,_0x3da901._0x321885)],'truncated':_0x2eb966['length']>_0x3ce5da,'entries':_0x140173};return yield createToolOutput(_0x4b4c26[_0x3ba109(_0x3da901._0x2d7f07,0x5f0,0x326,0x4f6)](_0x2830ba,{'indent':0x2,'lineWidth':0x0})[_0x1d0bb7(_0x3da901._0x302fdf,0x1e3,-_0x3da901._0x3aa36f,0x22a)](),{'path':_0x9b9e03,'total':_0x140173['length'],'truncated':_0x2eb966[_0x1d0bb7(0x308,0x3d5,_0x3da901._0x1b97b5,_0x3da901._0x220c15)]>_0x3ce5da,'limit':_0x3ce5da,'entries':_0x140173}),void 0x0;}});}import{readFile as _0x35fd72,stat as _0x2ad4f1}from'fs/promises';import*as _0x16d8fb from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x38b1c5(0x3d1,0x502,0x569,0x65f),'high',_0x4a0aa5(0x601,0x6ad,0x89a,0x8a2),'original']),PNG_SIGNATURE=Buffer[_0x4a0aa5(0x286,0x467,0x27d,0x5d3)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x4dd7bd,_0x3ea2ce){const _0x5e79f0={_0x5919c5:0x177,_0x4fc167:0x2c8,_0x18c9ba:0x160,_0xca443:0x2ab,_0x44a3fe:0xbe,_0x2d17c4:0x83,_0x43cff3:0x36,_0x2dbafa:0x1e2,_0x346a9d:0x1f7,_0x5cdf2e:0xaf,_0x454f2c:0x264,_0x52e641:0xe8,_0x1d4d5a:0x6a,_0x56a1e1:0x98,_0x58362f:0x12e,_0x1543a4:0x34,_0x268792:0x95,_0x1f71a8:0x2a9,_0x590d29:0xf3,_0x583cce:0x10b,_0x16b454:0x20,_0x4d3b56:0x1ef,_0x5985aa:0x93,_0x837f6d:0x31,_0x26b149:0x23c,_0x330d67:0x35,_0x150171:0x5c,_0x5d4a96:0x1a9,_0x51a87a:0x2c9,_0x3c3053:0x73,_0x339faa:0xe8,_0x19e69e:0x56,_0x52faa2:0xc0,_0x2c1ebc:0x153,_0x51e12f:0x15f,_0x3b386a:0x2d2,_0x1451ef:0xa6,_0x3fef44:0x29f,_0x442ce8:0x14,_0x424269:0x148,_0x8c3f23:0x69,_0x207419:0x34,_0x5a1cac:0x5c,_0x2223ec:0x1ff,_0x5d2aac:0x2a3,_0x192b70:0x3ba,_0x1a1fda:0x19b,_0x328333:0xfc,_0x4ab322:0x2e4,_0x196c19:0x44b,_0x4cb00b:0x196},_0x3dffe9={_0x294e91:0xc0,_0x1af765:0x433},_0x3a34d8={_0x43f913:0x49e};if(_0x4dd7bd[_0x5a36e9(0x35,-0x182,-_0x5e79f0._0x5919c5,0x148)](0x0,0x8)[_0x5a36e9(0x101,0x2a8,_0x5e79f0._0x4fc167,0x2c)](PNG_SIGNATURE))return _0x5a36e9(_0x5e79f0._0x18c9ba,_0x5e79f0._0xca443,0x353,_0x5e79f0._0x44a3fe);if(_0x4dd7bd[0x0]===0xff&&_0x4dd7bd[0x1]===0xd8&&_0x4dd7bd[0x2]===0xff)return'image/jpeg';const _0x24b90b=_0x4dd7bd[_0x2297cd(_0x5e79f0._0x2d17c4,0x105,-_0x5e79f0._0x43cff3,-_0x5e79f0._0x2dbafa)](0x0,0x6)[_0x2297cd(-0x118,_0x5e79f0._0x346a9d,_0x5e79f0._0x5cdf2e,_0x5e79f0._0x454f2c)](_0x5a36e9(_0x5e79f0._0x52e641,_0x5e79f0._0x1d4d5a,-_0x5e79f0._0x56a1e1,0x195));function _0x2297cd(_0x1d0756,_0x500022,_0x257c32,_0x461658){return _0x38b1c5(_0x1d0756-0x71,_0x500022-0x26,_0x257c32- -_0x3a34d8._0x43f913,_0x500022);}if(_0x24b90b===_0x5a36e9(0x2e,-_0x5e79f0._0x58362f,_0x5e79f0._0x1543a4,-_0x5e79f0._0x268792)||_0x24b90b===_0x2297cd(0x139,_0x5e79f0._0x1f71a8,_0x5e79f0._0x590d29,0x21))return _0x2297cd(_0x5e79f0._0x583cce,-0x9,-0x75,_0x5e79f0._0x16b454);if(_0x4dd7bd['subarray'](0x0,0x4)[_0x2297cd(_0x5e79f0._0x4d3b56,_0x5e79f0._0x5985aa,0xaf,-0x39)](_0x5a36e9(0xe8,0x21e,0x168,-0x4e))===_0x2297cd(_0x5e79f0._0x837f6d,0xc7,_0x5e79f0._0x26b149,0x164)&&_0x4dd7bd[_0x5a36e9(_0x5e79f0._0x330d67,-0x103,-_0x5e79f0._0x150171,-_0x5e79f0._0x5d4a96)](0x8,0xc)[_0x5a36e9(0x11a,-0x4d,_0x5e79f0._0x51a87a,-_0x5e79f0._0x3c3053)](_0x5a36e9(_0x5e79f0._0x339faa,_0x5e79f0._0x19e69e,0x2,_0x5e79f0._0x52faa2))==='WEBP')return'image/webp';const _0x43a329=_0x16d8fb[_0x2297cd(_0x5e79f0._0x2c1ebc,0x70,_0x5e79f0._0x51e12f,_0x5e79f0._0x3b386a)](_0x3ea2ce)[_0x2297cd(_0x5e79f0._0x1451ef,0xc2,_0x5e79f0._0x3fef44,0x2f9)]();if(_0x43a329===_0x5a36e9(0x175,-0x83,0xab,-_0x5e79f0._0x442ce8))return'image/png';if(_0x43a329===_0x2297cd(0xa8,_0x5e79f0._0x424269,_0x5e79f0._0x8c3f23,0x236)||_0x43a329===_0x2297cd(0xbc,-_0x5e79f0._0x207419,_0x5e79f0._0x5a1cac,0x254))return _0x2297cd(-0x27,0x1a9,0x11,-0x10d);if(_0x43a329===_0x5a36e9(0x261,_0x5e79f0._0x2223ec,_0x5e79f0._0x5d2aac,_0x5e79f0._0x192b70))return _0x5a36e9(-0xa,-_0x5e79f0._0x1a1fda,-0x9f,-0x1ed);if(_0x43a329===_0x2297cd(0x293,_0x5e79f0._0x328333,_0x5e79f0._0x4ab322,_0x5e79f0._0x196c19))return _0x5a36e9(_0x5e79f0._0x4cb00b,0x54,0x14b,0x1f);function _0x5a36e9(_0x3d62a5,_0x4c390e,_0x411453,_0xaceac7){return _0x38b1c5(_0x3d62a5-0x65,_0x4c390e-_0x3dffe9._0x294e91,_0x3d62a5- -_0x3dffe9._0x1af765,_0x4c390e);}return void 0x0;}function normalizeDetail(_0x59c07e){const _0x3798d6={_0x39fdae:0xa04,_0x1cfd66:0x883,_0xa63b07:0x97b,_0xa413d9:0x8e7},_0x2327bb={_0x5e400f:0xa2},_0x4a7498={_0x3f759c:0x1dc,_0x8b013a:0x78};if(_0x59c07e===void 0x0)return void 0x0;const _0x32c6ad=_0x59c07e[_0x403d47(0x67d,0x9d7,_0x3798d6._0x39fdae,_0x3798d6._0x1cfd66)]()[_0x403d47(_0x3798d6._0xa63b07,0x9b6,_0x3798d6._0xa413d9,0x7b5)]();function _0x403d47(_0x5aaf79,_0x7f119e,_0x425e98,_0x3b9f16){return _0x38b1c5(_0x5aaf79-0x1c6,_0x7f119e-_0x4a7498._0x3f759c,_0x3b9f16-_0x4a7498._0x8b013a,_0x7f119e);}if(!SUPPORTED_DETAILS['has'](_0x32c6ad))throw new ToolExecutionError('Unsupported\x20image\x20detail\x20level:\x20'+_0x59c07e,{'detail':_0x59c07e});function _0x569e79(_0x221462,_0x30ee9c,_0x5cf063,_0x4e8fd0){return _0x4a0aa5(_0x30ee9c,_0x221462-0x188,_0x5cf063-0x2d,_0x4e8fd0-_0x2327bb._0x5e400f);}return _0x32c6ad;}function createViewFileTool(_0x8ae71e={}){const _0x492c4f={_0x5710c5:0x1ac,_0x13e5ce:0x60,_0x2f7008:0x25,_0x13eb05:0x3bb,_0x400b5f:0x17e,_0x500b15:0x1df,_0x426333:0x3c,_0x4ac3d5:0x87,_0x134eb2:0x137,_0x10731f:0xa8,_0x37886d:0x22b,_0xa11b28:0x223,_0x5d3fde:0x2ae,_0x995346:0xd2,_0x577c40:0x13,_0x3e0943:0x3eb,_0x3fe3ce:0x37e},_0x1e0bee={_0x2a24c0:0x465,_0x225b42:0x1e5,_0x82b7fe:0x137,_0x5e75e7:0x18f,_0x499c1e:0xa2,_0x10282b:0x145,_0x15f6f2:0xae,_0x277bab:0x4a7,_0x285e78:0x1a,_0x482b7d:0xc,_0x586d03:0x1f0,_0x50e211:0xf6,_0x3813a9:0x386,_0x22a1a5:0x51e,_0xa2a05f:0x491,_0x3c2e05:0x9d,_0x3175a8:0x224,_0x1b9abe:0x216,_0x59232a:0xc8,_0xa1c317:0x3b,_0x2b3048:0x446,_0x5af111:0x24a,_0x25d9b2:0x94,_0x2c0386:0x127,_0x234c43:0xcc,_0x2bc27d:0x200,_0x18b3b7:0x506,_0x559b0a:0x49f,_0x717985:0x3e3,_0x57a4bf:0x9b,_0xa6cde2:0x1b4,_0x1a985b:0x1ab,_0x2e0721:0x2e9,_0x119c01:0x10d,_0x2afbba:0xc,_0x1b44ec:0x11f,_0x361414:0x31c,_0x2fb8be:0x219,_0x1db757:0x187,_0x5f4030:0x31e,_0x5cdf12:0xf0,_0xfdeac6:0x2e,_0x2b1658:0x1e2,_0x103434:0x4a3,_0x89db48:0x51f,_0xc68419:0x4cc,_0x1f9748:0x2bb,_0x4b1df1:0x3e9},_0x4da1f8=_0x16d8fb[_0x7204c2(-_0x492c4f._0x5710c5,_0x492c4f._0x13e5ce,0x15f,_0x492c4f._0x2f7008)](_0x8ae71e[_0x7204c2(_0x492c4f._0x13eb05,0x455,0x26c,0x2c3)]??process[_0x7204c2(0x320,-0xe,_0x492c4f._0x400b5f,0x180)]()),_0x49981d=_0x8ae71e[_0x7204c2(_0x492c4f._0x500b15,_0x492c4f._0x426333,0x31b,0x130)]??[],_0x45b0d3=_0x8ae71e['maxBytes']??DEFAULT_MAX_BYTES;function _0x7204c2(_0x40d73b,_0x57fe9e,_0xe8066b,_0x137e73){return _0x4a0aa5(_0xe8066b,_0x137e73- -0x47b,_0xe8066b-0x180,_0x137e73-0x1de);}function _0x5a948c(_0x1a99ae,_0x325624,_0x4ee854,_0xe77647){return _0x4a0aa5(_0x325624,_0x1a99ae- -0x47f,_0x4ee854-0x10e,_0xe77647-0x1c7);}const _0x1bd466=_0x8ae71e[_0x7204c2(-_0x492c4f._0x4ac3d5,0x2da,_0x492c4f._0x134eb2,0x109)]??_0x5a948c(-_0x492c4f._0x10731f,-0x86,-0x24b,-0x1d8);return defineTool({'name':_0x1bd466,'permissionClass':_0x5a948c(_0x492c4f._0x37886d,0x4f,0x28b,_0x492c4f._0xa11b28),'description':_0x5a948c(-0x126,-_0x492c4f._0x5d3fde,-0x220,-_0x492c4f._0x995346),'inputSchema':{'type':_0x5a948c(0xb1,_0x492c4f._0x577c40,0x109,0xa2),'properties':{'path':{'type':_0x7204c2(0x431,_0x492c4f._0x3e0943,_0x492c4f._0x3fe3ce,0x223)},'detail':{'type':'string'}},'required':['path']},async *'execute'(_0x558667){const _0x4613dd={_0xea01fa:0xa0},_0x1fc431=resolveAllowedPath(_0x4da1f8,_0x49981d,_0x558667[_0x4a4e8b(_0x1e0bee._0x2a24c0,0x4a7,0x337,0x446)]);await assertWorkspaceFile(_0x1fc431);const _0x583e29=await _0x2ad4f1(_0x1fc431);if(_0x583e29[_0x2c4f0e(_0x1e0bee._0x225b42,0xc,-_0x1e0bee._0x82b7fe,-_0x1e0bee._0x5e75e7)]>_0x45b0d3)throw new ToolExecutionError(_0x4a4e8b(-_0x1e0bee._0x499c1e,0xda,_0x1e0bee._0x10282b,_0x1e0bee._0x15f6f2)+_0x558667[_0x4a4e8b(0x5ef,_0x1e0bee._0x277bab,0x2fb,0x68c)],{'path':_0x558667[_0x2c4f0e(0x413,0x386,0x496,0x536)],'maxBytes':_0x45b0d3,'size':_0x583e29[_0x2c4f0e(_0x1e0bee._0x285e78,_0x1e0bee._0x482b7d,_0x1e0bee._0x586d03,-0x63)]});const _0xdab5bb=await _0x35fd72(_0x1fc431);function _0x4a4e8b(_0x21a307,_0x8401c,_0x5043a3,_0x1f262f){return _0x7204c2(_0x21a307-_0x4613dd._0xea01fa,_0x8401c-0xcd,_0x5043a3,_0x8401c-0x1fd);}const _0x3f9172=detectImageMediaType(_0xdab5bb,_0x1fc431);function _0x2c4f0e(_0xc76157,_0xe2d63,_0x1e63cd,_0x4740f5){return _0x5a948c(_0xe2d63-0xe0,_0x1e63cd,_0x1e63cd-0x1d3,_0x4740f5-0x18b);}if(!_0x3f9172)throw new ToolExecutionError(_0x2c4f0e(0x219,_0x1e0bee._0x50e211,-0xa5,0x1e9)+_0x558667[_0x2c4f0e(0x3f2,_0x1e0bee._0x3813a9,0x3aa,0x597)],{'path':_0x558667['path'],'supported':[_0x4a4e8b(_0x1e0bee._0x22a1a5,0x358,0x42c,_0x1e0bee._0xa2a05f),_0x2c4f0e(0x161,_0x1e0bee._0x3c2e05,0x70,_0x1e0bee._0x3175a8),_0x2c4f0e(_0x1e0bee._0x1b9abe,0xaa,-_0x1e0bee._0x59232a,-_0x1e0bee._0xa1c317),'.png',_0x4a4e8b(0x56c,_0x1e0bee._0x2b3048,_0x1e0bee._0x5af111,0x5b2)]});const _0x3b6a2d=normalizeDetail(_0x558667[_0x4a4e8b(-_0x1e0bee._0x25d9b2,_0x1e0bee._0x2c0386,0x30b,-_0x1e0bee._0x234c43)]),_0x75ab10=[_0x4a4e8b(0x4ed,0x2fd,_0x1e0bee._0x2bc27d,_0x1e0bee._0x18b3b7)+_0x558667[_0x4a4e8b(_0x1e0bee._0x559b0a,0x4a7,_0x1e0bee._0x717985,0x5e0)],_0x2c4f0e(_0x1e0bee._0x57a4bf,_0x1e0bee._0xa6cde2,_0x1e0bee._0x1a985b,_0x1e0bee._0x2e0721)+_0x3f9172,_0x4a4e8b(0x230,_0x1e0bee._0x119c01,0x1b1,0xaf)+_0x583e29[_0x2c4f0e(0x15e,_0x1e0bee._0x2afbba,_0x1e0bee._0x1b44ec,-0x1ce)]+_0x4a4e8b(0x175,0x23c,0x205,0xf2)][_0x2c4f0e(0x41d,_0x1e0bee._0x361414,_0x1e0bee._0x2fb8be,0x2b2)](_0x3b6a2d?['Detail:\x20'+_0x3b6a2d]:[])[_0x2c4f0e(_0x1e0bee._0x1db757,0x18e,0x1b5,_0x1e0bee._0x5f4030)]('\x0a'),_0x207ef0=[{'type':'image','source':{'type':'base64','media_type':_0x3f9172,'data':_0xdab5bb[_0x2c4f0e(0x72,_0x1e0bee._0x5cdf12,_0x1e0bee._0xfdeac6,_0x1e0bee._0x2b1658)](_0x2c4f0e(0x1b8,0x2bb,_0x1e0bee._0x103434,0x112))}},{'type':'text','text':_0x75ab10}];return yield createToolOutput(_0x75ab10,{'path':_0x558667[_0x4a4e8b(0x396,0x4a7,_0x1e0bee._0x89db48,_0x1e0bee._0xc68419)],'resolvedPath':_0x1fc431,'created':_0x583e29['birthtime']['toISOString'](),'modified':_0x583e29['mtime']['toISOString'](),'size':_0x583e29['size'],'mimeType':_0x3f9172,'encoding':_0x2c4f0e(0x2be,_0x1e0bee._0x1f9748,_0x1e0bee._0x4b1df1,0x3c8),..._0x3b6a2d?{'detail':_0x3b6a2d}:{}},_0x207ef0),void 0x0;}});}function createQuestionId(){const _0x12c10e={_0x1279d6:0x35a,_0x483db0:0x3d5,_0x9f4737:0x4c5,_0xb36f20:0x7af,_0x11c11a:0x6fd},_0x39cc85={_0xef6423:0x5,_0x179d63:0x166,_0x1782e5:0x48},_0x159d1d={_0x3dcf9c:0x52,_0x499c19:0x12f};function _0x4baaeb(_0x48d132,_0x31004b,_0x247f66,_0x29c453){return _0x38b1c5(_0x48d132-_0x159d1d._0x3dcf9c,_0x31004b-_0x159d1d._0x499c19,_0x247f66- -0x454,_0x29c453);}function _0x168e09(_0x5d15f0,_0x361be1,_0x11e8d4,_0x1c2a84){return _0x38b1c5(_0x5d15f0-_0x39cc85._0xef6423,_0x361be1-_0x39cc85._0x179d63,_0x11e8d4- -_0x39cc85._0x1782e5,_0x1c2a84);}return _0x168e09(_0x12c10e._0x1279d6,0x22b,_0x12c10e._0x483db0,_0x12c10e._0x9f4737)+Date[_0x168e09(0x7a7,0x90b,_0x12c10e._0xb36f20,_0x12c10e._0x11c11a)]()+'-'+Math['random']()['toString'](0x24)[_0x168e09(0x3e7,0x5cb,0x58a,0x45b)](0x2,0x9);}function validateInput(_0x4c190d){const _0x5206c6={_0x4e61bf:0xae,_0x48be4e:0x12,_0x402b61:0x2bc,_0x12d588:0x287,_0x4f796a:0x1b8,_0x392763:0x24f,_0x571c4f:0x416,_0x4b64ef:0x3ec,_0x4f96d2:0x1bc,_0x5b98ab:0x2fa,_0x544078:0x349,_0x446ff8:0x389,_0x52ed26:0xdd,_0x1b5df3:0x696,_0x560277:0x670,_0x52f820:0x625,_0x4840cc:0x4b4,_0x19c97c:0x804,_0x431e5d:0x2b2,_0x594965:0x31e,_0x5f2a0d:0xb6,_0x4054ec:0x20e,_0x3e0cd3:0x5fa,_0x501bca:0x633,_0x1ec9c8:0x649,_0x3cf5e0:0x37e,_0x410288:0x56c,_0x54444d:0x47a,_0xbf4523:0x4c1,_0x50cb80:0x2e8,_0x4c8521:0x4ca,_0xf8840b:0x654,_0x263b58:0x100,_0x2ac808:0x27a,_0x3db6b2:0x58f,_0x4e0f26:0x7e,_0x209bbd:0x2b5,_0x3bb875:0x374,_0x4ce447:0x503,_0x39b460:0x533,_0x5c0060:0x65f,_0x43a7aa:0x3be,_0x4a8f4f:0x627,_0x48a949:0x64a,_0x4b43d1:0x59c,_0x59b094:0x8e,_0x182778:0x16f,_0x5485fc:0x206,_0x3bbc79:0x58f,_0x1773a6:0x464,_0x1600c2:0x72b,_0x2c5a5d:0x435,_0x3aa7c0:0xb8,_0x510ff0:0x674,_0x2682bd:0x161,_0x477ad7:0x8e,_0x3b7311:0x133,_0x320703:0x1a4,_0x517261:0x301,_0x53146d:0x44,_0x16fada:0x10c,_0xbba12a:0x33,_0x25f785:0x190},_0x38cfd3={_0x151777:0x1cf,_0x28424e:0x83,_0x512402:0x518},_0x4c374e={_0x772900:0xe4};function _0x4d2099(_0x41fa1b,_0x2c2346,_0x14caf6,_0x449031){return _0x38b1c5(_0x41fa1b-_0x4c374e._0x772900,_0x2c2346-0x17,_0x41fa1b- -0x1d8,_0x2c2346);}function _0x4a74d2(_0x25835a,_0x5010bc,_0x2ad916,_0x4b91fe){return _0x38b1c5(_0x25835a-_0x38cfd3._0x151777,_0x5010bc-_0x38cfd3._0x28424e,_0x25835a- -_0x38cfd3._0x512402,_0x2ad916);}if(!Array[_0x4a74d2(_0x5206c6._0x4e61bf,-_0x5206c6._0x48be4e,_0x5206c6._0x402b61,0x229)](_0x4c190d[_0x4a74d2(_0x5206c6._0x12d588,0x44e,_0x5206c6._0x4f796a,0x149)])||_0x4c190d['questions'][_0x4a74d2(_0x5206c6._0x392763,_0x5206c6._0x571c4f,0x9b,_0x5206c6._0x4b64ef)]<0x1||_0x4c190d['questions']['length']>0xa)throw new ToolExecutionError(_0x4a74d2(0x73,-0x2e,_0x5206c6._0x4f96d2,0x23a),{'error':_0x4d2099(_0x5206c6._0x5b98ab,0x315,_0x5206c6._0x544078,_0x5206c6._0x446ff8)});for(let _0xc02bf1=0x0;_0xc02bf1<_0x4c190d[_0x4a74d2(_0x5206c6._0x12d588,0x366,0x388,_0x5206c6._0x52ed26)]['length'];_0xc02bf1+=0x1){const _0x4d6d44=_0x4c190d[_0x4d2099(0x5c7,_0x5206c6._0x1b5df3,_0x5206c6._0x560277,0x724)][_0xc02bf1];if(!_0x4d6d44[_0x4d2099(_0x5206c6._0x52f820,0x7ba,_0x5206c6._0x4840cc,_0x5206c6._0x19c97c)]||typeof _0x4d6d44['question']!=='string')throw new ToolExecutionError(_0x4d2099(_0x5206c6._0x431e5d,_0x5206c6._0x594965,_0x5206c6._0x5f2a0d,_0x5206c6._0x4054ec)+(_0xc02bf1+0x1)+_0x4d2099(_0x5206c6._0x3e0cd3,0x727,0x6d8,0x62a));if(!_0x4d6d44[_0x4d2099(0x4b0,_0x5206c6._0x501bca,0x4b7,_0x5206c6._0x1ec9c8)]||typeof _0x4d6d44[_0x4d2099(0x4b0,0x324,0x5d4,_0x5206c6._0x3cf5e0)]!==_0x4d2099(0x584,0x498,0x59f,_0x5206c6._0x410288))throw new ToolExecutionError(_0x4d2099(0x2b2,0xfd,_0x5206c6._0x54444d,0x2f0)+(_0xc02bf1+0x1)+_0x4d2099(_0x5206c6._0xbf4523,_0x5206c6._0x50cb80,_0x5206c6._0x4c8521,_0x5206c6._0xf8840b));if(_0x4d6d44['topic'][_0x4a74d2(0x24f,0x246,0x3be,_0x5206c6._0x263b58)]>0x1e)throw new ToolExecutionError('Question\x20'+(_0xc02bf1+0x1)+':\x20\x22topic\x22\x20must\x20be\x20max\x2030\x20characters,\x20got\x20'+_0x4d6d44[_0x4a74d2(0x170,0x367,_0x5206c6._0x2ac808,-0x81)][_0x4d2099(_0x5206c6._0x3db6b2,0x62c,0x67e,0x451)]);if(!Array[_0x4a74d2(0xae,_0x5206c6._0x4e0f26,_0x5206c6._0x209bbd,-0x14c)](_0x4d6d44[_0x4d2099(0x561,_0x5206c6._0x3bb875,_0x5206c6._0x4ce447,0x408)])||_0x4d6d44['options'][_0x4d2099(_0x5206c6._0x3db6b2,_0x5206c6._0x39b460,_0x5206c6._0x5c0060,_0x5206c6._0x43a7aa)]<0x2||_0x4d6d44[_0x4d2099(0x561,_0x5206c6._0x4a8f4f,_0x5206c6._0x48a949,_0x5206c6._0x4b43d1)]['length']>0x4)throw new ToolExecutionError(_0x4a74d2(-_0x5206c6._0x59b094,-0x22a,0x15a,_0x5206c6._0x182778)+(_0xc02bf1+0x1)+_0x4a74d2(0x1e8,0x216,0x62,0x17d));for(let _0x14b32d=0x0;_0x14b32d<_0x4d6d44[_0x4a74d2(0x221,_0x5206c6._0x5485fc,0x1e0,_0x5206c6._0x209bbd)][_0x4d2099(_0x5206c6._0x3bbc79,_0x5206c6._0x1773a6,0x49c,_0x5206c6._0x1600c2)];_0x14b32d+=0x1){const _0xb3a186=_0x4d6d44[_0x4a74d2(0x221,0x258,_0x5206c6._0x2c5a5d,_0x5206c6._0x3aa7c0)][_0x14b32d];if(!_0xb3a186[_0x4d2099(0x596,_0x5206c6._0x510ff0,0x4e2,0x790)]||!_0xb3a186[_0x4a74d2(0x2e8,0x168,0x43e,_0x5206c6._0x2682bd)])throw new ToolExecutionError(_0x4a74d2(-_0x5206c6._0x477ad7,0x6d,_0x5206c6._0x3b7311,-_0x5206c6._0x320703)+(_0xc02bf1+0x1)+_0x4d2099(0x3a2,0x2b7,0x32a,_0x5206c6._0x517261)+(_0x14b32d+0x1)+':\x20both\x20\x22label\x22\x20and\x20\x22description\x22\x20are\x20required');}if(typeof _0x4d6d44[_0x4a74d2(-0xf5,_0x5206c6._0x53146d,-_0x5206c6._0x16fada,0xa6)]!==_0x4a74d2(-0x80,-0x8a,_0x5206c6._0xbba12a,0x50))throw new ToolExecutionError(_0x4d2099(0x2b2,0xf5,0x3a2,_0x5206c6._0x25f785)+(_0xc02bf1+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0x1f1a91){const _0x53ff89={_0x583c60:0x245,_0x1bf46e:0x145,_0x3bcf86:0x12a,_0x2ce0ef:0xb3},_0xb54041={_0x449960:0x1ed,_0x228a9d:0x22};function _0x20a521(_0x287cba,_0x4c6873,_0x4f15c5,_0x3265e7){return _0x38b1c5(_0x287cba-_0xb54041._0x449960,_0x4c6873-0x30,_0x4f15c5-_0xb54041._0x228a9d,_0x4c6873);}function _0x625a00(_0x5703af,_0x3b6347,_0x7cfd05,_0x54e386){return _0x4a0aa5(_0x54e386,_0x3b6347- -0x49c,_0x7cfd05-0x190,_0x54e386-0x2b);}return _0x1f1a91[_0x625a00(0x165,_0x53ff89._0x583c60,0xf4,0x181)][_0x625a00(0x3a,_0x53ff89._0x1bf46e,_0x53ff89._0x3bcf86,_0x53ff89._0x2ce0ef)]((_0x331987,_0x4e8f3e)=>({'id':'q'+_0x4e8f3e,'question':_0x331987[_0x625a00(0x331,0x2a3,0x195,0xa8)],'topic':_0x331987[_0x20a521(0x61a,0x64e,0x6aa,0x883)],'options':_0x331987[_0x20a521(0x6a5,0x84e,0x75b,0x700)],'multiSelect':_0x331987[_0x625a00(-0x333,-0x137,-0xf9,-0x1b8)]}));}function createResult(_0x50f0d5,_0x3941f3,_0x554e1f){const _0x173e95={_0x16c384:0x128,_0xa3f1a:0x1e,_0x153b2c:0x38,_0x38d38e:0x639},_0x2f5619={_0x5c1507:0x168},_0x5998f9={_0x506bb9:0x1b3},_0x37dd37={'questionId':_0x50f0d5,'questionCount':_0x3941f3,'answers':_0x554e1f};function _0x4c30df(_0x15c74a,_0x2c33e5,_0x19acec,_0x33286f){return _0x4a0aa5(_0x15c74a,_0x2c33e5- -0x44c,_0x19acec-0x4f,_0x33286f-_0x5998f9._0x506bb9);}function _0x3257d6(_0x16ce86,_0x5391f9,_0x2f3f13,_0x15730b){return _0x4a0aa5(_0x16ce86,_0x15730b-_0x2f5619._0x5c1507,_0x2f3f13-0xa0,_0x15730b-0x14c);}return createToolOutput(_0x4c30df(-_0x173e95._0x16c384,_0x173e95._0xa3f1a,0xde,-_0x173e95._0x153b2c)+JSON[_0x3257d6(0x422,_0x173e95._0x38d38e,0x3a7,0x5af)](_0x554e1f,null,0x2),_0x37dd37);}function createAskUserTool(){const _0x523721={_0x2bd4e7:0x464,_0x1cca7d:0x3e9,_0x3de765:0x4d4,_0x5d17b1:0x2c9,_0x286bb5:0x5c4,_0x361d35:0x25e,_0x5d6e08:0x36f,_0x12520c:0x2b6,_0x233754:0x26d,_0x2eaa17:0x314,_0x771a4f:0x464,_0x5e4cfb:0x2ae,_0x3aa420:0xf2,_0x336ef4:0x323,_0x2e2fd7:0x48,_0x4bbdc4:0x2da,_0x944ed5:0x17d,_0x582e20:0x408,_0x133cba:0x164,_0x4e1b76:0x2b1,_0x1f5373:0x293,_0x4141cc:0x203,_0x169a22:0x2da,_0x6089de:0x3ed,_0x47fe58:0x14a,_0x3e03db:0x4da,_0x58e5d9:0x445,_0x3278d1:0xa4,_0x59149b:0x16,_0x1562e2:0x37b,_0x3e2ed8:0x206,_0x14aa63:0x3a,_0x3ece24:0x21c,_0x1f8039:0x2b7,_0x1bcc8d:0xed,_0x49336e:0x149,_0x2ab8e8:0x289,_0x1dba1a:0x318,_0x5e965f:0x590},_0x41533c={_0x57e9bf:0x565,_0x17ae05:0x47d,_0x146631:0x1de,_0x5a961d:0x396,_0x227073:0x266,_0x298fb0:0x111,_0x5672f0:0x14b,_0x37fea5:0x47,_0x59f8a9:0x5d,_0x2cbd65:0x3b,_0x4be0f4:0x2db,_0xcf9a69:0x232,_0x12be06:0x5a5,_0x1aca42:0x134,_0x14ca2a:0x1f4,_0x1b89f7:0x8d,_0x3d070e:0x7},_0x11ddd1={_0x3abc69:0x9b};function _0x14c9ab(_0x2d3c4e,_0x37b42f,_0x3d13ea,_0x37be99){return _0x38b1c5(_0x2d3c4e-0x11e,_0x37b42f-0xc7,_0x37b42f- -0x482,_0x3d13ea);}function _0x471fdd(_0x4d24f2,_0xa8f2a,_0x4f51da,_0x6b4972){return _0x38b1c5(_0x4d24f2-0xc8,_0xa8f2a-0x95,_0x4d24f2- -0x294,_0x4f51da);}return defineTool({'name':_0x471fdd(0x30b,_0x523721._0x2bd4e7,_0x523721._0x1cca7d,0x4f3),'permissionClass':_0x471fdd(_0x523721._0x3de765,_0x523721._0x5d17b1,_0x523721._0x286bb5,0x68d),'description':_0x14c9ab(_0x523721._0x361d35,0x1a0,_0x523721._0x5d6e08,_0x523721._0x12520c),'inputSchema':{'type':_0x14c9ab(_0x523721._0x233754,0x16c,_0x523721._0x2eaa17,0x247),'properties':{'questions':{'type':_0x14c9ab(_0x523721._0x771a4f,_0x523721._0x5e4cfb,_0x523721._0x3aa420,0x29e),'items':{'type':_0x14c9ab(_0x523721._0x336ef4,0x16c,-_0x523721._0x2e2fd7,0x331),'properties':{'question':{'type':_0x14c9ab(0x142,_0x523721._0x4bbdc4,_0x523721._0x944ed5,0x3bd)},'topic':{'type':'string'},'options':{'type':_0x14c9ab(_0x523721._0x582e20,0x2ae,0x2ee,_0x523721._0x133cba),'items':{'type':_0x14c9ab(_0x523721._0x4e1b76,0x16c,-0x54,_0x523721._0x1f5373),'properties':{'label':{'type':_0x14c9ab(_0x523721._0x4141cc,_0x523721._0x169a22,_0x523721._0x6089de,_0x523721._0x47fe58)},'description':{'type':'string'}},'required':[_0x471fdd(_0x523721._0x3e03db,_0x523721._0x58e5d9,0x5b2,0x4cf),'description']}},'multiSelect':{'type':_0x14c9ab(-_0x523721._0x3278d1,_0x523721._0x59149b,0x6c,-0xe9)}},'required':[_0x14c9ab(0x577,_0x523721._0x1562e2,0x25e,0x2fb),_0x14c9ab(0x15c,_0x523721._0x3e2ed8,0x1da,_0x523721._0x14aa63),_0x14c9ab(_0x523721._0x3ece24,_0x523721._0x1f8039,_0x523721._0x1bcc8d,_0x523721._0x49336e),_0x471fdd(0x18f,0x168,0xfc,_0x523721._0x2ab8e8)]}},'answers':{'type':'object','properties':{}}},'required':[_0x471fdd(0x50b,_0x523721._0x1dba1a,_0x523721._0x5e965f,0x493)]},async *'execute'(_0x5766d5,_0x5d59a5){const _0x4efb0c={_0x3aed1b:0x2d9,_0x4e321e:0xb5,_0x405301:0x10},_0x477216=_0x5766d5;validateInput(_0x477216);const _0x5c20dd=_0x5d59a5[_0x7e2bd5(0x37e,0x705,_0x41533c._0x57e9bf,0x587)]??createQuestionId();if(_0x477216[_0x7e2bd5(0xf1,_0x41533c._0x17ae05,_0x41533c._0x146631,0x2d9)]&&Object[_0x28bfd7(0x366,_0x41533c._0x5a961d,_0x41533c._0x227073,0x18a)](_0x477216[_0x28bfd7(_0x41533c._0x298fb0,-_0x41533c._0x5672f0,_0x41533c._0x37fea5,-_0x41533c._0x59f8a9)])['length']>0x0)return createResult(_0x5c20dd,_0x477216[_0x28bfd7(_0x41533c._0x2cbd65,0x392,_0x41533c._0x4be0f4,_0x41533c._0xcf9a69)][_0x7e2bd5(_0x41533c._0x12be06,0x69e,0x451,0x530)],_0x477216['answers']);if(!_0x5d59a5[_0x28bfd7(_0x41533c._0x1aca42,_0x41533c._0x14ca2a,_0x41533c._0x1b89f7,0x17a)])throw new ToolExecutionError(_0x28bfd7(-0x189,-0x2b9,-_0x41533c._0x3d070e,-0x137));const _0xd9f5cc=buildQuestions(_0x477216),_0x35319e=await _0x5d59a5['askUser']({'questionId':_0x5c20dd,'questions':_0xd9f5cc});function _0x28bfd7(_0x401a51,_0xcdc61,_0x4fc9b3,_0x13ca3c){return _0x471fdd(_0x13ca3c- -_0x4efb0c._0x3aed1b,_0xcdc61-_0x4efb0c._0x4e321e,_0x401a51,_0x13ca3c-_0x4efb0c._0x405301);}function _0x7e2bd5(_0x4ac504,_0x197fc5,_0x441efc,_0x2a679a){return _0x14c9ab(_0x4ac504-_0x11ddd1._0x3abc69,_0x2a679a-0x24b,_0x4ac504,_0x2a679a-0xa);}yield createResult(_0x5c20dd,_0x477216['questions']['length'],_0x35319e);}});}import{stat as _0xf21483}from'fs/promises';import _0x1bf231 from'path';import{fileURLToPath as _0x47bdec}from'url';function awaitWithAbort2(_0x5b138b,_0x3e9220){const _0x4bb1a7={_0x37fb9f:0x52e,_0x341a8b:0x626,_0xe1ba65:0x5a4,_0x4e2704:0x5d5,_0x5c93db:0x88a,_0x13b922:0x6ed,_0x547728:0x74e},_0xde3d99={_0xa8a315:0xa6,_0x528641:0x17c,_0x444db8:0x67a,_0x262889:0x74a,_0x1edc86:0x717,_0x222934:0x7b,_0x432a32:0x25},_0x272b7b={_0x58021b:0x169,_0x33b8b4:0x21b};function _0x18e7df(_0x2d00dc,_0x59c53e,_0x46bde4,_0x293f25){return _0x38b1c5(_0x2d00dc-_0x272b7b._0x58021b,_0x59c53e-0x1ae,_0x293f25- -_0x272b7b._0x33b8b4,_0x2d00dc);}if(!_0x3e9220)return _0x5b138b;if(_0x3e9220[_0x18760e(_0x4bb1a7._0x37fb9f,_0x4bb1a7._0x341a8b,_0x4bb1a7._0xe1ba65,0x792)])return Promise[_0x18e7df(0x3f8,0x73c,0x6aa,_0x4bb1a7._0x4e2704)](toAbortError(_0x3e9220[_0x18760e(_0x4bb1a7._0x5c93db,_0x4bb1a7._0x13b922,0x731,_0x4bb1a7._0x547728)]));function _0x18760e(_0x3c5855,_0x3eded2,_0x46f58b,_0x5f1033){return _0x4a0aa5(_0x3c5855,_0x46f58b-0xa8,_0x46f58b-0x35,_0x5f1033-0x121);}return new Promise((_0x30802b,_0x5ab837)=>{const _0x440f59={_0x26ced5:0x52f,_0x296721:0x19c},_0xeb738b={_0x43c3ff:0x2c0,_0x5c4193:0x36a},_0x57d866=()=>{_0x15fbee();function _0x41c572(_0x24e7c9,_0xf4e8ca,_0x746f5f,_0x5ec2ae){return _0x3233(_0x24e7c9- -0x88,_0x746f5f);}_0x5ab837(toAbortError(_0x3e9220[_0x41c572(0x416,_0xeb738b._0x43c3ff,_0xeb738b._0x5c4193,0x4af)]));},_0x15fbee=()=>_0x3e9220['removeEventListener'](_0x36cd7b(0x5f6,0x609,0x7f4,0x717),_0x57d866);function _0x5cf31b(_0x3eec93,_0x2a8dbf,_0x5e28d0,_0x12eb4b){return _0x18760e(_0x3eec93,_0x2a8dbf-0x137,_0x5e28d0- -_0x440f59._0x26ced5,_0x12eb4b-_0x440f59._0x296721);}_0x3e9220[_0x5cf31b(-0x71,_0xde3d99._0xa8a315,_0xde3d99._0x528641,0x2ef)](_0x36cd7b(_0xde3d99._0x444db8,0x5c9,_0xde3d99._0x262889,_0xde3d99._0x1edc86),_0x57d866,{'once':!![]});function _0x36cd7b(_0x50ab8e,_0x5cb82a,_0x17016b,_0x53c1aa){return _0x18760e(_0x50ab8e,_0x5cb82a-0xe8,_0x53c1aa- -0x51,_0x53c1aa-0xe0);}_0x5b138b[_0x5cf31b(_0xde3d99._0x222934,-0x10,-0x156,_0xde3d99._0x432a32)](_0x3f2b41=>{_0x15fbee(),_0x30802b(_0x3f2b41);},_0x17617b=>{_0x15fbee(),_0x5ab837(_0x17617b);});});}function severityName(_0x62fd55){const _0x1835cb={_0x15852a:0x18f,_0xa9714d:0x18b,_0x39d1b8:0x3a3,_0x49be20:0x4e4,_0x16304a:0x446,_0x2b61c8:0x431},_0x1e79e9={_0x1f0ace:0x16f,_0x786795:0x221},_0x632f37={_0x5dd02b:0x5a3,_0x321e32:0x13};function _0x13cda1(_0x5bfe52,_0x176e60,_0x27ccf2,_0x3c6c23){return _0x4a0aa5(_0x3c6c23,_0x5bfe52- -_0x632f37._0x5dd02b,_0x27ccf2-_0x632f37._0x321e32,_0x3c6c23-0x1a0);}function _0x32530b(_0x54a4d,_0xa06212,_0x356a1e,_0x23c079){return _0x38b1c5(_0x54a4d-0x4a,_0xa06212-_0x1e79e9._0x1f0ace,_0x356a1e- -_0x1e79e9._0x786795,_0x23c079);}switch(_0x62fd55){case 0x1:return _0x32530b(0x39d,0x556,0x376,0x57b);case 0x2:return _0x13cda1(-0xec,-0x29e,-_0x1835cb._0x15852a,-_0x1835cb._0xa9714d);case 0x3:return'Information';case 0x4:return _0x32530b(0x5a9,0x55b,0x494,0x678);default:return _0x32530b(_0x1835cb._0x39d1b8,_0x1835cb._0x49be20,_0x1835cb._0x16304a,_0x1835cb._0x2b61c8);}}function formatSingleHover(_0x1fb28a){const _0x18f4a3={_0x2a9efd:0x265,_0x2a3833:0x38f,_0x2c645e:0x2a6,_0xc71907:0x3f0,_0x54d968:0x43,_0x58bd57:0x177,_0x2c9a36:0xee,_0x1d76e4:0x86,_0x4098c2:0x36,_0x586505:0x63,_0x34835b:0x3b,_0x223419:0x305},_0x4309a9={_0x59248c:0x3f8,_0x5cea58:0x17c,_0x306efa:0x19b},_0x4b7d41={_0x2b2a0d:0x42d,_0xa3f11d:0xd3},_0x3eb2eb=_0x1fb28a[_0xd4c8e0(0x2e1,_0x18f4a3._0x2a9efd,_0x18f4a3._0x2a3833,0x19a)];function _0x37ca6b(_0x12e80c,_0x47f4ff,_0x4493e4,_0x17d023){return _0x4a0aa5(_0x4493e4,_0x47f4ff- -_0x4b7d41._0x2b2a0d,_0x4493e4-_0x4b7d41._0xa3f11d,_0x17d023-0x13d);}if(typeof _0x3eb2eb===_0xd4c8e0(_0x18f4a3._0x2c645e,0x1ba,0x1e5,_0x18f4a3._0xc71907))return _0x3eb2eb;if(Array[_0xd4c8e0(0x110,0x54,0x10e,-0xaa)](_0x3eb2eb))return _0x3eb2eb['map'](_0x97fb89=>typeof _0x97fb89==='string'?_0x97fb89:_0x97fb89[_0x37ca6b(0x2b0,0x177,0x204,0x12e)])[_0x37ca6b(-_0x18f4a3._0x54d968,-0xf0,-0x151,0x4a)](Boolean)['join']('\x0a\x0a');function _0xd4c8e0(_0xd29b02,_0xc1e274,_0x38b1ee,_0x3a3a47){return _0x4a0aa5(_0xc1e274,_0xd29b02- -_0x4309a9._0x59248c,_0x38b1ee-_0x4309a9._0x5cea58,_0x3a3a47-_0x4309a9._0x306efa);}if('kind'in _0x3eb2eb)return _0x3eb2eb[_0x37ca6b(0x96,_0x18f4a3._0x58bd57,_0x18f4a3._0x2c9a36,_0x18f4a3._0x1d76e4)];return _0x3eb2eb['language']?'```'+_0x3eb2eb[_0xd4c8e0(-_0x18f4a3._0x4098c2,0x104,0x185,-0xac)]+'\x0a'+_0x3eb2eb[_0x37ca6b(-_0x18f4a3._0x586505,0x177,_0x18f4a3._0x34835b,0x29f)]+'\x0a```':_0x3eb2eb[_0x37ca6b(_0x18f4a3._0x223419,_0x18f4a3._0x58bd57,0x13f,0x317)];}function formatHover(_0x32326a){const _0xb04d94={_0x1ddeb7:0x3eb,_0x90f02c:0x448,_0x27f5ed:0x3ae,_0x251c76:0x712,_0x26b42a:0x39d,_0x137114:0x6ad,_0x275fab:0x561,_0x2f6bd3:0x3fe,_0x1a8ff9:0x347,_0xaf998e:0x22e,_0x1ad31c:0x423},_0x30f6e4={_0x5484a9:0x1e6};function _0x3c96a8(_0x56e1d7,_0x5b1529,_0x21f8e3,_0x5ce180){return _0x4a0aa5(_0x5b1529,_0x5ce180- -_0x30f6e4._0x5484a9,_0x21f8e3-0x1aa,_0x5ce180-0x1c3);}function _0x529221(_0x3a8016,_0x4f8813,_0x4c667b,_0x3657c3){return _0x4a0aa5(_0x3657c3,_0x4f8813- -0x261,_0x4c667b-0x13c,_0x3657c3-0x167);}if(_0x32326a[_0x529221(_0xb04d94._0x1ddeb7,_0xb04d94._0x90f02c,0x3d7,_0xb04d94._0x27f5ed)]===0x0)return _0x3c96a8(_0xb04d94._0x251c76,_0xb04d94._0x26b42a,_0xb04d94._0x137114,_0xb04d94._0x275fab);return _0x32326a['map'](formatSingleHover)[_0x3c96a8(0x290,0x4bc,_0xb04d94._0x2f6bd3,_0xb04d94._0x1a8ff9)](_0x529221(0x17b,0x21a,_0xb04d94._0xaf998e,_0xb04d94._0x1ad31c));}function locationPath(_0xf926ad){const _0x3b3b32={_0x28b78b:0x5df,_0x42c37b:0x4cf,_0x367f68:0x472,_0xfcfd37:0x86},_0xd99770={_0x1c76e7:0x2ff,_0x5114e6:0x141};function _0x224508(_0x4eb0c2,_0x50c4bc,_0x5c8543,_0x2b5e96){return _0x4a0aa5(_0x50c4bc,_0x2b5e96-0x1,_0x5c8543-0x8f,_0x2b5e96-0xca);}function _0x2726ec(_0x1a913c,_0x402e1e,_0xec4707,_0x24d7c5){return _0x4a0aa5(_0x402e1e,_0x1a913c- -_0xd99770._0x1c76e7,_0xec4707-_0xd99770._0x5114e6,_0x24d7c5-0x1af);}if(!_0xf926ad[_0x2726ec(0x3d9,_0x3b3b32._0x28b78b,_0x3b3b32._0x42c37b,_0x3b3b32._0x367f68)](_0x2726ec(_0x3b3b32._0xfcfd37,-0x48,0x264,0x16)))return _0xf926ad;return _0x47bdec(_0xf926ad);}function formatLocations(_0x965e75){const _0x9d9671={_0x12d4e2:0x4e8,_0x175000:0x2d7,_0x291182:0x41b,_0x5ac817:0x902,_0x3a1eca:0x654,_0x14c1ac:0xcd},_0x4c2ab5={_0x40fa78:0xe3,_0x41b85a:0x115,_0x11a791:0x6d,_0x9755a0:0x42,_0x154145:0x13b,_0x5a3d4f:0x113,_0x1b0bfe:0xa1,_0x56e996:0x47,_0x3b7029:0xb7},_0x2b5f79={_0x355437:0x6fb},_0x45c184={_0x3dfbf5:0x13c,_0xe7bc9b:0x70e},_0x30f108={_0x44c4c8:0x1e1},_0x4807f1={_0x1cc7e8:0x1c0,_0x37b581:0x152};function _0x26714d(_0x419a70,_0x364d0d,_0xb97b26,_0x3002e4){return _0x4a0aa5(_0xb97b26,_0x3002e4-_0x4807f1._0x1cc7e8,_0xb97b26-_0x4807f1._0x37b581,_0x3002e4-0x2d);}function _0x17d564(_0x5ce99d,_0x547a0d,_0x4b3d1a,_0x5b37a5){return _0x4a0aa5(_0x4b3d1a,_0x5b37a5- -0x28e,_0x4b3d1a-_0x30f108._0x44c4c8,_0x5b37a5-0x166);}if(_0x965e75[_0x17d564(_0x9d9671._0x12d4e2,_0x9d9671._0x175000,0x41c,_0x9d9671._0x291182)]===0x0)return _0x26714d(_0x9d9671._0x5ac817,_0x9d9671._0x3a1eca,0x694,0x7cb);return _0x965e75['map'](_0x3a156c=>{function _0x37aa5d(_0x5df5ac,_0x1f2976,_0x3924a8,_0xb3a6b5){return _0x26714d(_0x5df5ac-_0x45c184._0x3dfbf5,_0x1f2976-0x9,_0x1f2976,_0xb3a6b5- -_0x45c184._0xe7bc9b);}const _0x5f1830=_0x3a156c[_0x37aa5d(0x212,-_0x4c2ab5._0x40fa78,-_0x4c2ab5._0x41b85a,_0x4c2ab5._0x11a791)][_0x37aa5d(-_0x4c2ab5._0x9755a0,-0x116,_0x4c2ab5._0x154145,0xa)];function _0x43c539(_0x5da457,_0x4a1291,_0x26adcf,_0x4076bf){return _0x26714d(_0x5da457-0x2f,_0x4a1291-0x18f,_0x26adcf,_0x4a1291- -_0x2b5f79._0x355437);}return locationPath(_0x3a156c[_0x43c539(-_0x4c2ab5._0x5a3d4f,0x78,-0x144,-0x126)])+':'+(_0x5f1830[_0x37aa5d(0x27b,-0x46,0x178,_0x4c2ab5._0x1b0bfe)]+0x1)+':'+(_0x5f1830[_0x43c539(-_0x4c2ab5._0x56e996,0x109,-_0x4c2ab5._0x3b7029,-0xaf)]+0x1);})[_0x17d564(0x9c,_0x9d9671._0x14c1ac,0x124,0x29f)]('\x0a');}function isDocumentSymbol(_0x1780a3){const _0xea8510={_0x6a5a69:0x58d,_0x5c767e:0x5bc},_0x2b01c7={_0x468513:0x1ca};function _0xd803b1(_0x4e3264,_0x5ee1fc,_0x27a7e8,_0x3b0f60){return _0x4a0aa5(_0x5ee1fc,_0x4e3264- -0x2e,_0x27a7e8-0x15c,_0x3b0f60-_0x2b01c7._0x468513);}return _0xd803b1(_0xea8510._0x6a5a69,0x582,0x626,_0xea8510._0x5c767e)in _0x1780a3&&'selectionRange'in _0x1780a3;}function formatSymbols(_0x3bdfe2){const _0x5b4b52={_0x2e0e49:0x686,_0x460b6a:0x6ab,_0x48fadc:0x39f,_0x4c5a78:0x161,_0x476abe:0x0,_0x4d6553:0x40a,_0x512ddf:0x491,_0x556faa:0x8a,_0x33134f:0x14a,_0x581a94:0x2b,_0x590bdc:0x80},_0x575ed6={_0xbf5f1a:0x392,_0x51b875:0x66c,_0x5f3eaa:0x583,_0x7a56c3:0x64b,_0x15975e:0x529,_0x527bc0:0x54e,_0x80e4a6:0x642,_0x1a9718:0x353,_0x328904:0x44c,_0x294860:0x4f0,_0xef316b:0x55d,_0x4b53ed:0x3c2,_0x49412b:0x31b,_0x5a85fc:0x316,_0x51caf9:0x43a,_0x5c4164:0x467,_0x7400bf:0x450,_0x1ed6c4:0x53d,_0x4516aa:0x5aa,_0x4483c3:0x6f7,_0x59693d:0x314,_0x1f8d07:0x55a,_0x3216d9:0x4f5,_0x13c0cb:0x34f,_0x4d8fe1:0x514,_0x4fc1f8:0x6ff,_0x1836b7:0x467,_0x4d2f0c:0x4d6,_0x30cb70:0x231,_0xbfa155:0x524,_0x159ce5:0x34f,_0x8090de:0x45b,_0x5eb84f:0x44a},_0x509fed={_0xd93ee2:0x147,_0x44fcdb:0x13e},_0x4a66cf={_0x1063e0:0x2a,_0xfc7b26:0x4a1};if(_0x3bdfe2[_0x5ec3bc(_0x5b4b52._0x2e0e49,0x4d2,_0x5b4b52._0x460b6a,_0x5b4b52._0x48fadc)]===0x0)return _0x5ec3bc(0xf2,_0x5b4b52._0x4c5a78,0xd6,_0x5b4b52._0x476abe);function _0x86d250(_0x487a9b,_0x1115cf,_0x2c09b5,_0x552f22){return _0x38b1c5(_0x487a9b-0x25,_0x1115cf-_0x4a66cf._0x1063e0,_0x1115cf- -_0x4a66cf._0xfc7b26,_0x552f22);}function _0x5ec3bc(_0x53ccbc,_0x19fcad,_0x39acd0,_0x213b05){return _0x38b1c5(_0x53ccbc-_0x509fed._0xd93ee2,_0x19fcad-_0x509fed._0x44fcdb,_0x19fcad- -0x295,_0x213b05);}return _0x3bdfe2[_0x5ec3bc(0x47a,_0x5b4b52._0x4d6553,0x30f,_0x5b4b52._0x512ddf)](_0x44436b=>{function _0x5c81b1(_0x4441ec,_0x25c58b,_0xe436,_0x519e36){return _0x5ec3bc(_0x4441ec-0x1cf,_0xe436-0x111,_0xe436-0x63,_0x4441ec);}if(isDocumentSymbol(_0x44436b))return _0x44436b[_0x4653fb(0x176,0x1b7,0x37b,0x50b)]+'\x20('+_0x44436b['kind']+_0x4653fb(0x1e8,0x287,0x373,_0x575ed6._0xbf5f1a)+(_0x44436b['range'][_0x5c81b1(0x36c,_0x575ed6._0x51b875,0x492,_0x575ed6._0x5f3eaa)][_0x5c81b1(0x4eb,_0x575ed6._0x7a56c3,_0x575ed6._0x15975e,0x4d5)]+0x1)+':'+(_0x44436b[_0x5c81b1(0x556,_0x575ed6._0x527bc0,0x4f5,_0x575ed6._0x80e4a6)][_0x4653fb(0x3c3,0x47a,0x34f,_0x575ed6._0x1a9718)][_0x5c81b1(0x667,_0x575ed6._0x328904,0x57e,_0x575ed6._0x294860)]+0x1)+']';function _0x4653fb(_0x57bb44,_0x4bb4dd,_0x408ba6,_0x3b283d){return _0x86d250(_0x57bb44-0xec,_0x408ba6-0x1da,_0x408ba6-0xf2,_0x4bb4dd);}return _0x44436b[_0x4653fb(_0x575ed6._0xef316b,_0x575ed6._0x4b53ed,0x37b,0x1de)]+'\x20('+_0x44436b[_0x4653fb(0x29e,_0x575ed6._0x49412b,_0x575ed6._0x5a85fc,_0x575ed6._0x51caf9)]+')\x20'+locationPath(_0x44436b[_0x4653fb(0x433,0x4d5,_0x575ed6._0x5c4164,_0x575ed6._0x7400bf)]['uri'])+':'+(_0x44436b[_0x5c81b1(_0x575ed6._0x1ed6c4,0x624,_0x575ed6._0x4516aa,_0x575ed6._0x4483c3)][_0x5c81b1(_0x575ed6._0x59693d,_0x575ed6._0x1f8d07,_0x575ed6._0x3216d9,0x6a6)][_0x4653fb(0x3f1,0x2b9,_0x575ed6._0x13c0cb,_0x575ed6._0x4d8fe1)][_0x5c81b1(0x5ec,0x3d2,0x529,_0x575ed6._0x4fc1f8)]+0x1)+':'+(_0x44436b[_0x4653fb(0x4f0,0x4bb,_0x575ed6._0x1836b7,0x57b)][_0x4653fb(_0x575ed6._0x4d2f0c,0x3b5,0x3b2,_0x575ed6._0x30cb70)][_0x4653fb(0x13d,_0x575ed6._0xbfa155,_0x575ed6._0x159ce5,_0x575ed6._0x8090de)][_0x4653fb(_0x575ed6._0x5eb84f,0x421,0x43b,0x3b6)]+0x1);})[_0x86d250(-_0x5b4b52._0x556faa,_0x5b4b52._0x33134f,_0x5b4b52._0x581a94,-_0x5b4b52._0x590bdc)]('\x0a');}function formatDiagnostics(_0x1d8fa7){const _0x160931={_0x46782e:0x84a},_0x39b539={_0x5a6bcf:0x258,_0x387cbe:0x440,_0x33927c:0x3fd,_0x8574c2:0x2c,_0x57152e:0x435,_0x35fd28:0x239,_0x729796:0x27},_0x3f4d56={_0x20723c:0xa1,_0x1262c8:0x17c,_0x2a58f9:0xa9},_0x2209de={_0x4308ad:0xbd},_0x4806bb={_0x107414:0xc6,_0xa4a2aa:0xe};if(_0x1d8fa7['length']===0x0)return _0x3e8211(0x558,0x39a,0x428,0x234);function _0x53065a(_0x52117e,_0x484af3,_0x3d87bb,_0x3141a7){return _0x38b1c5(_0x52117e-_0x4806bb._0x107414,_0x484af3-_0x4806bb._0xa4a2aa,_0x3d87bb-0x5f,_0x484af3);}function _0x3e8211(_0x225dd2,_0x43b890,_0x221ab4,_0x3e84d8){return _0x38b1c5(_0x225dd2-0x1c1,_0x43b890-0x1e9,_0x221ab4- -_0x2209de._0x4308ad,_0x225dd2);}return _0x1d8fa7['map'](_0x3fb124=>{const _0x204466={_0xe35599:0x1a};function _0x4b0b5b(_0x51d347,_0x240ddc,_0x5ae442,_0x3fe300){return _0x3e8211(_0x5ae442,_0x240ddc-_0x204466._0xe35599,_0x3fe300- -0x320,_0x3fe300-0x1ec);}const _0x206089=_0x3fb124[_0x56ddd2(0x4d6,_0x39b539._0x5a6bcf,_0x39b539._0x387cbe,_0x39b539._0x33927c)][_0x4b0b5b(_0x39b539._0x8574c2,_0x39b539._0x57152e,0x2e4,_0x39b539._0x35fd28)];function _0x56ddd2(_0x137207,_0x522200,_0x53aaff,_0x13e8e9){return _0x3e8211(_0x137207,_0x522200-_0x3f4d56._0x20723c,_0x53aaff- -_0x3f4d56._0x1262c8,_0x13e8e9-_0x3f4d56._0x2a58f9);}return severityName(_0x3fb124[_0x56ddd2(0x3fc,0x3b3,0x3be,0x5cb)])+'\x20['+(_0x206089['line']+0x1)+':'+(_0x206089['character']+0x1)+']\x20'+_0x3fb124[_0x4b0b5b(0x12b,_0x39b539._0x729796,0x13,0x216)];})[_0x53065a(0x664,_0x160931._0x46782e,0x64a,0x586)]('\x0a');}function formatIncomingCalls(_0x52e178){const _0xf8fb15={_0x2fedcc:0x22c,_0x1d6b40:0x1df,_0x43b152:0x112,_0x36907e:0xdf,_0x398c56:0x96,_0x3616d7:0x29},_0x279992={_0xc84604:0x73},_0xfda2ef={_0x49d639:0x3f};function _0x1c7df7(_0x5a7095,_0x5ab071,_0x1088d1,_0x38400d){return _0x38b1c5(_0x5a7095-_0xfda2ef._0x49d639,_0x5ab071-0x73,_0x38400d- -0x614,_0x1088d1);}if(_0x52e178[_0x1c7df7(_0xf8fb15._0x2fedcc,_0xf8fb15._0x1d6b40,0x109,0x153)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x2de1dc(_0x9326bb,_0x53589d,_0x4ba71d,_0x52609c){return _0x38b1c5(_0x9326bb-0xa8,_0x53589d-_0x279992._0xc84604,_0x4ba71d-0x58,_0x9326bb);}return _0x52e178['map'](_0x3ed907=>_0x3ed907[_0x1c7df7(0x1f,-0x218,-0x219,-0xef)][_0x2de1dc(0x6d2,0x52b,0x69a,0x770)])[_0x1c7df7(_0xf8fb15._0x43b152,_0xf8fb15._0x36907e,-_0xf8fb15._0x398c56,-_0xf8fb15._0x3616d7)]('\x0a');}function formatOutgoingCalls(_0x45dc90){const _0x4788bb={_0x1fa030:0x54b,_0x4094cf:0x4d8,_0x1baa55:0x10c,_0x57f735:0x2b9,_0x8449ba:0x1be,_0x45acbc:0x16d,_0x5a8191:0x22c,_0x2935f6:0x336,_0x89e8dd:0xb9,_0x58aa5e:0x14b},_0x52842b={_0x4b26ae:0x66,_0x4cd450:0x20,_0x5c5a27:0x532},_0x9a9796={_0x21f17f:0x116};function _0x2d34ef(_0x1b0d31,_0x58f5d5,_0x45283f,_0x4d1a8b){return _0x4a0aa5(_0x1b0d31,_0x58f5d5- -0x229,_0x45283f-_0x9a9796._0x21f17f,_0x4d1a8b-0x5c);}function _0x3e7bc9(_0x580231,_0x19fcf1,_0x53f3c2,_0x388265){return _0x38b1c5(_0x580231-_0x52842b._0x4b26ae,_0x19fcf1-_0x52842b._0x4cd450,_0x580231- -_0x52842b._0x5c5a27,_0x388265);}if(_0x45dc90[_0x2d34ef(_0x4788bb._0x1fa030,0x480,_0x4788bb._0x4094cf,0x5f8)]===0x0)return _0x2d34ef(0x2c7,_0x4788bb._0x1baa55,_0x4788bb._0x57f735,_0x4788bb._0x8449ba);return _0x45dc90[_0x3e7bc9(_0x4788bb._0x45acbc,_0x4788bb._0x5a8191,0x33d,_0x4788bb._0x2935f6)](_0x167dff=>_0x167dff['to'][_0x2d34ef(0x4e1,0x35b,0x36a,0x4e3)])[_0x3e7bc9(_0x4788bb._0x89e8dd,0x2c8,-_0x4788bb._0x58aa5e,0x108)]('\x0a');}function toStructured(_0x2af1ee){const _0x30f0fb={_0x490399:0x244},_0x5686b3={_0x2b6383:0x21e},_0x2d8d00={_0x3a4041:0x134,_0x2cd399:0xcd};function _0x22d09c(_0x40c143,_0x4604cd,_0x275986,_0xd129ec){return _0x4a0aa5(_0x40c143,_0xd129ec- -0x2fb,_0x275986-_0x2d8d00._0x3a4041,_0xd129ec-_0x2d8d00._0x2cd399);}function _0x116035(_0x24576e,_0x2634c4,_0x1f907f,_0x5c5119){return _0x4a0aa5(_0x24576e,_0x2634c4- -_0x5686b3._0x2b6383,_0x1f907f-0x67,_0x5c5119-0x1d4);}return JSON[_0x116035(0x3e,0x1da,0x363,_0x30f0fb._0x490399)](JSON[_0x116035(0x2e3,0x229,0x65,0x1c5)](_0x2af1ee));}async function assertFile(_0x9593f7){const _0x4afe68={_0x2a6cb1:0x183},_0x4e5581=await _0xf21483(_0x9593f7);function _0x4b5e2d(_0x315c8a,_0x5b9805,_0x591c5a,_0x591fef){return _0x38b1c5(_0x315c8a-0x109,_0x5b9805-0xfe,_0x315c8a- -0x425,_0x5b9805);}if(!_0x4e5581[_0x4b5e2d(0x319,0x2ac,_0x4afe68._0x2a6cb1,0x12c)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x9593f7,{'path':_0x9593f7});}function validatePosition(_0x31220a,_0x246549){const _0x7498e6={_0x49aca1:0x272,_0xa049d7:0x23b,_0x385b4f:0x13,_0x3e08b7:0x298,_0x573e66:0x443,_0x1f69a1:0x324},_0x200517={_0x452bba:0x176,_0x523be7:0x153},_0x7167a5={_0x277925:0x2e7};function _0x36e651(_0x2458c6,_0x3a4fe6,_0x519c33,_0x412dbe){return _0x4a0aa5(_0x412dbe,_0x3a4fe6- -_0x7167a5._0x277925,_0x519c33-0xef,_0x412dbe-0x1db);}if(!Number[_0x36e651(0x2ae,_0x7498e6._0x49aca1,0xb2,_0x7498e6._0xa049d7)](_0x31220a)||_0x31220a<0x1)throw new ToolExecutionError(_0x36e651(-0xbb,0x48,-_0x7498e6._0x385b4f,0xd1),{'line':_0x31220a});function _0x4ee090(_0x3fb2db,_0x2d84ec,_0x18d3b5,_0x4a28fa){return _0x38b1c5(_0x3fb2db-_0x200517._0x452bba,_0x2d84ec-_0x200517._0x523be7,_0x18d3b5- -0x1c2,_0x3fb2db);}if(!Number['isInteger'](_0x246549)||_0x246549<0x1)throw new ToolExecutionError(_0x36e651(_0x7498e6._0x3e08b7,_0x7498e6._0x573e66,_0x7498e6._0x1f69a1,0x25c),{'character':_0x246549});}function createLspTool(_0x4c4e5f={}){const _0x5cb945={_0x1fad5e:0x210,_0x55860e:0x3ab,_0x13a187:0x3e5,_0x10f9eb:0x553,_0x2e12d3:0x395,_0x3c9cec:0x49b,_0xdac0:0x48d,_0x541a05:0x439,_0x86924:0x2b8,_0x5e4576:0x2bf,_0x4a1c37:0xf5,_0xa2899d:0x37c,_0x16afe7:0x34e,_0x248f3b:0x46f,_0x3e79cd:0x452,_0x5c9ca7:0x457,_0x5a5e5d:0x1b3,_0x313bbd:0xb9,_0x109eae:0xd,_0x3b17be:0x40b,_0x3a3880:0x381,_0x4567e0:0x271,_0x678bb2:0x3dd,_0xa8a388:0x353,_0x153f20:0x3a3,_0x5e685c:0x49e,_0x3b6179:0x58d,_0x5b6fa2:0x4bb,_0x27e8d4:0x3bd,_0xcb5398:0x10d,_0x20d571:0x535,_0x92807:0x2ce,_0x34f0ba:0x4aa,_0x17aa00:0x33b,_0x17eff7:0x361},_0x4cb0bc={_0x2abc4f:0x1c7,_0x5d981a:0x396,_0x47cee3:0x390,_0x18cf2e:0x43c,_0x5b170c:0x2ac,_0x24379d:0x34a,_0x401eef:0x4fa,_0x3b0e11:0x453,_0xa6b2c7:0x21d,_0x20eeb2:0x22f,_0x4ae35c:0x3f3,_0x551689:0x59a,_0xb3bd13:0x708,_0x1c8e35:0x2e,_0x3dba67:0x124,_0x506f53:0x4a,_0x2ac00c:0x5ef,_0x4f2459:0x292,_0x53b09e:0x451,_0x1bcdd9:0x1e9,_0x1b8c5a:0x305,_0x7fb601:0x161,_0x5eaaa8:0x1bc,_0x8888c9:0x19a,_0x51105f:0xda,_0x55823b:0x51c,_0x1710a9:0x420,_0x131e31:0x508,_0x55b3b4:0x491,_0x1d82e9:0x400,_0x46c3c6:0x47c,_0x29c31e:0x1e7,_0x4e0a55:0x1b,_0x5cf158:0x655,_0x378b93:0x29b,_0x4fb5fc:0x342,_0x9fb6dc:0x263,_0x21d6e2:0x53,_0x16e3f5:0x3b9,_0x304211:0x3e6,_0x1b61a6:0xf9,_0x334210:0x13,_0x39321e:0x4a,_0xba482c:0x53,_0x52c033:0x1d0,_0x59f163:0x19a,_0x1b8634:0x1fa,_0x591b21:0x38,_0x387a8c:0x266,_0x47c07d:0x2f4,_0x2e0ffd:0x21,_0x5691b1:0xe3,_0x396fec:0xfd,_0x1c06af:0xa9,_0xbab2f2:0x111,_0x594513:0x7e,_0x24f500:0xfd,_0x5d24e4:0x353,_0x1c8000:0x142,_0x477537:0x26f,_0x8c87f4:0x371,_0x3895dd:0x27a,_0x59c66d:0x17d,_0x1d4b10:0x4d},_0x53de89={_0x3cef7d:0x63,_0x2fe7f0:0x72,_0x120a1f:0x93},_0x4baf2f={_0x168858:0xe4},_0xdba234={_0x572b3e:0x12};function _0xa05629(_0x21b0e7,_0x9e7ddc,_0x431bab,_0x568358){return _0x38b1c5(_0x21b0e7-_0xdba234._0x572b3e,_0x9e7ddc-0x1c6,_0x21b0e7- -0x2d4,_0x431bab);}const _0x2d3dbe=_0x1bf231[_0x1ab789(0x22f,0x171,0x2f4,_0x5cb945._0x1fad5e)](_0x4c4e5f[_0x1ab789(0x4cd,0x68c,0x404,_0x5cb945._0x55860e)]??process[_0xa05629(_0x5cb945._0x13a187,0x304,_0x5cb945._0x10f9eb,0x58f)]()),_0x569bbc=_0x4c4e5f[_0xa05629(_0x5cb945._0x2e12d3,_0x5cb945._0x3c9cec,0x287,0x1f9)]??[];function _0x1ab789(_0x21e2d6,_0x24b132,_0xf55148,_0x4d0d09){return _0x4a0aa5(_0x4d0d09,_0x21e2d6- -0x271,_0xf55148-0x88,_0x4d0d09-0xba);}const _0x5e7874=_0x4c4e5f[_0x1ab789(0x313,_0x5cb945._0xdac0,0x487,0x4d9)]??'Lsp';return defineTool({'name':_0x5e7874,'permissionClass':_0x1ab789(_0x5cb945._0x541a05,0x315,0x3f3,_0x5cb945._0x86924),'description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':_0x1ab789(_0x5cb945._0x5e4576,_0x5cb945._0x4a1c37,0x1f0,_0x5cb945._0xa2899d),'properties':{'operation':{'type':_0x1ab789(0x42d,_0x5cb945._0x16afe7,0x4ac,0x625),'enum':[_0x1ab789(_0x5cb945._0x248f3b,0x286,0x550,0x5fb),'findReferences',_0xa05629(_0x5cb945._0x3e79cd,0x568,_0x5cb945._0x5c9ca7,0x2ae),_0xa05629(0x1e1,_0x5cb945._0x5a5e5d,_0x5cb945._0x313bbd,_0x5cb945._0x109eae),'workspaceSymbol',_0xa05629(0x2fc,_0x5cb945._0x3b17be,0x3b0,_0x5cb945._0x3a3880),_0x1ab789(0x3dc,_0x5cb945._0x4567e0,_0x5cb945._0x678bb2,0x591),_0xa05629(_0x5cb945._0xa8a388,0x188,_0x5cb945._0x153f20,0x20a),_0x1ab789(0x48a,_0x5cb945._0x5e685c,0x529,0x5b3),'diagnostics']},'filePath':{'type':_0x1ab789(0x42d,_0x5cb945._0x3b6179,0x2f1,0x5b7)},'line':{'type':'number'},'character':{'type':_0xa05629(0x302,_0x5cb945._0x5b6fa2,0x388,_0x5cb945._0x27e8d4)},'query':{'type':'string'}},'required':[_0xa05629(0x164,0x273,0x1e9,_0x5cb945._0xcb5398),_0xa05629(_0x5cb945._0x20d571,0x41b,0x63e,0x324),_0xa05629(0x3d9,0x29e,0x29b,_0x5cb945._0x92807),_0xa05629(0x42e,_0x5cb945._0x34f0ba,_0x5cb945._0x17aa00,_0x5cb945._0x17eff7)]},async *'execute'(_0x24335b,_0x15f031){const _0xa96eb0=_0x4c4e5f['lspService'];if(!_0xa96eb0)throw new ToolExecutionError('LSP\x20service\x20is\x20not\x20available');if(!_0xa96eb0[_0x39b91e(0x334,0x5a0,0x4cc,0x41c)]())throw new ToolExecutionError(_0x39b91e(0xa8,0x1ca,0x292,0x191));const _0x5dce5c=_0x24335b[_0x35f054(0x173,_0x4cb0bc._0x2abc4f,_0x4cb0bc._0x5d981a,0x3a8)];function _0x39b91e(_0x1a9ba8,_0x20ffa0,_0x2c3f1f,_0x501f23){return _0xa05629(_0x501f23- -_0x4baf2f._0x168858,_0x20ffa0-0x197,_0x20ffa0,_0x501f23-0x6b);}validatePosition(_0x24335b[_0x35f054(_0x4cb0bc._0x47cee3,_0x4cb0bc._0x18cf2e,0x4e2,0x45d)],_0x24335b[_0x39b91e(0x268,_0x4cb0bc._0x5b170c,0x3a7,_0x4cb0bc._0x24379d)]);if(_0x5dce5c==='workspaceSymbol'){if(!_0x24335b['query']?.[_0x39b91e(0x4df,0x30e,_0x4cb0bc._0x401eef,_0x4cb0bc._0x3b0e11)]())throw new ToolExecutionError('workspaceSymbol\x20requires\x20a\x20non-empty\x20query');const _0x35d311=await awaitWithAbort2(_0xa96eb0['workspaceSymbol'](_0x24335b[_0x39b91e(_0x4cb0bc._0xa6b2c7,0x2d8,_0x4cb0bc._0x20eeb2,0xf8)][_0x35f054(_0x4cb0bc._0x4ae35c,_0x4cb0bc._0x551689,0x7ae,_0x4cb0bc._0xb3bd13)]()),_0x15f031[_0x39b91e(0x101,-_0x4cb0bc._0x1c8e35,-_0x4cb0bc._0x3dba67,0x53)]);return yield createToolOutput(formatSymbols(_0x35d311),{'operation':_0x5dce5c,'query':_0x24335b[_0x35f054(0x3e0,0x23f,_0x4cb0bc._0x506f53,0x2c7)],'symbols':_0x35d311}),void 0x0;}const _0x34fd53=resolveAllowedPath(_0x2d3dbe,_0x569bbc,_0x24335b['filePath']);await assertFile(_0x34fd53);if(!await awaitWithAbort2(_0xa96eb0['hasClients'](_0x34fd53),_0x15f031['signal']))throw new ToolExecutionError('No\x20LSP\x20server\x20available\x20for\x20file:\x20'+_0x24335b[_0x39b91e(_0x4cb0bc._0x2ac00c,_0x4cb0bc._0x4f2459,0x62b,_0x4cb0bc._0x53b09e)],{'filePath':_0x24335b['filePath']});function _0x35f054(_0x3347f3,_0x5b6100,_0x4260df,_0x1aa249){return _0xa05629(_0x5b6100-_0x53de89._0x3cef7d,_0x5b6100-_0x53de89._0x2fe7f0,_0x1aa249,_0x1aa249-_0x53de89._0x120a1f);}await awaitWithAbort2(_0xa96eb0[_0x39b91e(0x255,_0x4cb0bc._0x1bcdd9,_0x4cb0bc._0x1b8c5a,_0x4cb0bc._0x7fb601)](_0x34fd53,!![]),_0x15f031[_0x35f054(_0x4cb0bc._0x5eaaa8,_0x4cb0bc._0x8888c9,_0x4cb0bc._0x51105f,0x21)]);const _0x27b8bf={'file':_0x34fd53,'line':_0x24335b[_0x35f054(_0x4cb0bc._0x55823b,0x43c,_0x4cb0bc._0x1710a9,_0x4cb0bc._0x131e31)]-0x1,'character':_0x24335b[_0x35f054(0x388,_0x4cb0bc._0x55b3b4,0x2dd,_0x4cb0bc._0x1d82e9)]-0x1};switch(_0x5dce5c){case _0x39b91e(_0x4cb0bc._0x46c3c6,_0x4cb0bc._0x29c31e,0x398,0x36e):{const _0x76c3f8=await awaitWithAbort2(_0xa96eb0['hover'](_0x27b8bf),_0x15f031[_0x35f054(0x30,0x19a,0x15d,-_0x4cb0bc._0x4e0a55)]);return yield createToolOutput(formatHover(_0x76c3f8),{'operation':_0x5dce5c,'filePath':_0x34fd53,'hover':_0x76c3f8}),void 0x0;}case'diagnostics':{const _0x395f21=await awaitWithAbort2(_0xa96eb0[_0x35f054(_0x4cb0bc._0x5cf158,0x4a3,_0x4cb0bc._0x378b93,_0x4cb0bc._0x4fb5fc)](_0x34fd53),_0x15f031[_0x39b91e(0x260,-0x172,_0x4cb0bc._0x9fb6dc,_0x4cb0bc._0x21d6e2)]);return yield createToolOutput(formatDiagnostics(_0x395f21),{'operation':_0x5dce5c,'filePath':_0x34fd53,'diagnostics':_0x395f21}),void 0x0;}case _0x39b91e(0x269,_0x4cb0bc._0x16e3f5,0x2df,_0x4cb0bc._0x304211):{const _0x5adf27=await awaitWithAbort2(_0xa96eb0['definition'](_0x27b8bf),_0x15f031[_0x39b91e(-_0x4cb0bc._0x1b61a6,-_0x4cb0bc._0x334210,_0x4cb0bc._0x39321e,_0x4cb0bc._0xba482c)]);return yield createToolOutput(formatLocations(_0x5adf27),{'operation':_0x5dce5c,'filePath':_0x34fd53,'locations':_0x5adf27}),void 0x0;}case'findReferences':{const _0xef37fb=await awaitWithAbort2(_0xa96eb0[_0x39b91e(0x33c,0x2c7,0x30b,0x2e3)](_0x27b8bf),_0x15f031[_0x35f054(_0x4cb0bc._0x52c033,_0x4cb0bc._0x59f163,_0x4cb0bc._0x1b8634,_0x4cb0bc._0x591b21)]);return yield createToolOutput(formatLocations(_0xef37fb),{'operation':_0x5dce5c,'filePath':_0x34fd53,'locations':_0xef37fb}),void 0x0;}case _0x39b91e(_0x4cb0bc._0x387a8c,0x2e,_0x4cb0bc._0x47c07d,0x218):{const _0x6638d8=await awaitWithAbort2(_0xa96eb0[_0x39b91e(0x477,0x3b5,0x3e2,0x315)](_0x27b8bf),_0x15f031[_0x39b91e(-_0x4cb0bc._0x2e0ffd,-0x4b,-_0x4cb0bc._0x5691b1,0x53)]);return yield createToolOutput(formatLocations(_0x6638d8),{'operation':_0x5dce5c,'filePath':_0x34fd53,'locations':_0x6638d8}),void 0x0;}case _0x39b91e(-0x17,0x307,0x132,_0x4cb0bc._0x396fec):{const _0x17054f=await awaitWithAbort2(_0xa96eb0[_0x39b91e(-_0x4cb0bc._0x1c06af,_0x4cb0bc._0xbab2f2,-_0x4cb0bc._0x594513,_0x4cb0bc._0x24f500)](_0x34fd53),_0x15f031['signal']);return yield createToolOutput(formatSymbols(_0x17054f),{'operation':_0x5dce5c,'filePath':_0x34fd53,'symbols':_0x17054f}),void 0x0;}case _0x39b91e(0x23c,0x353,0x159,_0x4cb0bc._0x5d24e4):{const _0x2bf972=await awaitWithAbort2(_0xa96eb0['prepareCallHierarchy'](_0x27b8bf),_0x15f031['signal']);return yield createToolOutput(formatSymbols(_0x2bf972),{'operation':_0x5dce5c,'filePath':_0x34fd53,'symbols':toStructured(_0x2bf972)}),void 0x0;}case'incomingCalls':{const _0x216c6d=await awaitWithAbort2(_0xa96eb0[_0x39b91e(0x2ce,0x16b,_0x4cb0bc._0x1c8000,_0x4cb0bc._0x477537)](_0x27b8bf),_0x15f031['signal']);return yield createToolOutput(formatIncomingCalls(_0x216c6d),{'operation':_0x5dce5c,'filePath':_0x34fd53,'calls':toStructured(_0x216c6d)}),void 0x0;}case _0x39b91e(_0x4cb0bc._0x8c87f4,0x239,_0x4cb0bc._0x3895dd,0x401):{const _0x365d2=await awaitWithAbort2(_0xa96eb0[_0x39b91e(0x2cc,0x5d0,0x3e6,0x401)](_0x27b8bf),_0x15f031[_0x35f054(_0x4cb0bc._0x59c66d,_0x4cb0bc._0x8888c9,-_0x4cb0bc._0x1d4b10,0x388)]);return yield createToolOutput(formatOutgoingCalls(_0x365d2),{'operation':_0x5dce5c,'filePath':_0x34fd53,'calls':toStructured(_0x365d2)}),void 0x0;}}}});}import*as _0x815cb2 from'path';function buildDescription(_0x415801){const _0x364ec9={_0x5b9ba7:0x4be,_0x29df2d:0x632,_0x3d15a6:0x48d,_0x66411e:0x40f,_0x3dcb82:0x267,_0xa58abb:0x31e,_0x5ccfa9:0x43f,_0x9e398e:0x55e,_0x3d3869:0x7df,_0x4eedc5:0x74b,_0x5355ca:0x514,_0x160a39:0x366},_0x17e77f={_0x47bf72:0x135},_0x116bd4={_0x320f78:0xcc,_0xb30e7b:0x184};function _0x265275(_0x45e73b,_0x4444d4,_0x2e6cbf,_0x2c404b){return _0x4a0aa5(_0x2c404b,_0x4444d4- -_0x116bd4._0x320f78,_0x2e6cbf-_0x116bd4._0xb30e7b,_0x2c404b-0x198);}if(_0x415801[_0x2a666a(_0x364ec9._0x5b9ba7,_0x364ec9._0x29df2d,0x826,_0x364ec9._0x3d15a6)]===0x0)return'Load\x20a\x20skill\x20by\x20name\x20to\x20get\x20detailed\x20task\x20instructions.\x20No\x20skills\x20are\x20currently\x20available.';function _0x2a666a(_0x5aa583,_0x53746d,_0x38e482,_0x419577){return _0x38b1c5(_0x5aa583-0x15c,_0x53746d-0x1ad,_0x53746d- -_0x17e77f._0x47bf72,_0x38e482);}const _0x453d20=[_0x265275(0x3a2,_0x364ec9._0x66411e,_0x364ec9._0x3dcb82,_0x364ec9._0xa58abb),_0x265275(_0x364ec9._0x5ccfa9,_0x364ec9._0x9e398e,0x762,0x5e0),_0x2a666a(_0x364ec9._0x3d3869,0x66b,0x49b,_0x364ec9._0x4eedc5),_0x2a666a(0x6e9,_0x364ec9._0x5355ca,0x718,_0x364ec9._0x160a39),..._0x415801[_0x2a666a(0x72d,0x56a,0x3d9,0x56f)](_0x4c0818=>'-\x20'+_0x4c0818[_0x265275(0x6cc,0x4b8,0x4b3,0x656)]+':\x20'+_0x4c0818['description'])];return _0x453d20['join']('\x0a');}function createLoadSkillTool(_0x48591b){const _0x263891={_0x23a6ef:0x287,_0x40b8c2:0x3f,_0x1bc687:0x5a,_0x7ef494:0x16c,_0x4a910c:0x88c,_0x39d80f:0x66f,_0x4a6f20:0x6e8,_0x582f64:0x835,_0x19a782:0x7cd,_0x15e2ff:0x6dc,_0x452181:0x6dd,_0x172458:0x51f},_0xc9b0d5={_0xb22098:0x421,_0x1080ac:0x199,_0x11fad9:0x389,_0x3c083f:0x281,_0x1b415b:0x15c,_0x339611:0x1d0,_0x448d86:0x80,_0x3ef7d5:0x1eb,_0x4cdefc:0x3c8,_0x4e9549:0x37c,_0x204861:0x91,_0x4ed8b6:0x89,_0x1b0541:0x1f,_0x2debca:0xda,_0x26d425:0x1c1,_0x2300c9:0x16a,_0x3d8a73:0x119,_0x430ffd:0xae,_0x11e1d4:0x35e,_0xe2fcbe:0x163,_0x102b6b:0x6c,_0x4477d0:0x64,_0x2b9fdd:0x146,_0x554b86:0x19f,_0x2095af:0x5f,_0x5eb3f8:0xc5,_0x5b4529:0x138,_0xf2f73e:0x5,_0x30a3a1:0x41c,_0x52772b:0x3d7,_0x4680b1:0x440,_0x6d8f15:0x59e,_0x57a852:0x70,_0x203769:0xa3,_0x4bf838:0x375,_0x985abd:0x163,_0x475fe0:0x5bf,_0xbc6131:0x4f5,_0x282923:0x1e3,_0x146eb5:0x1b6,_0x6dec02:0x235,_0x4ed0e0:0x2fa,_0xcbcb31:0x31b,_0x12d4c2:0x525},_0x527e85={_0x155109:0x1ba},_0x85c689={_0x388a51:0x11c},_0x2c3534={_0x5cf035:0x140,_0x28dfae:0x89},_0x30e793=new Map(_0x48591b[_0x3d1f49(0x2c5,0x14d,_0x263891._0x23a6ef,0xc0)][_0x3d1f49(_0x263891._0x40b8c2,_0x263891._0x1bc687,_0x263891._0x7ef494,-0x39)](_0x2c3c53=>[_0x2c3c53[_0x3d1f49(-0x144,-0x3,0x106,-0x50)],_0x2c3c53])),_0x590c38=buildDescription(_0x48591b['skills']);function _0x3d1f49(_0x477ca3,_0x3540d2,_0x3c1e20,_0x423e5c){return _0x4a0aa5(_0x423e5c,_0x3540d2- -0x587,_0x3c1e20-_0x2c3534._0x5cf035,_0x423e5c-_0x2c3534._0x28dfae);}function _0x5f08cb(_0x31f362,_0x815855,_0x154235,_0x2772c8){return _0x4a0aa5(_0x815855,_0x154235-0x3e,_0x154235-_0x85c689._0x388a51,_0x2772c8-0x19);}return defineTool({'name':'LoadSkill','permissionClass':_0x5f08cb(_0x263891._0x4a910c,_0x263891._0x39d80f,_0x263891._0x4a6f20,_0x263891._0x582f64),'description':_0x590c38,'inputSchema':{'type':'object','properties':{'name':{'type':_0x5f08cb(0x7a1,_0x263891._0x19a782,_0x263891._0x15e2ff,0x5cd)}},'required':[_0x5f08cb(_0x263891._0x452181,_0x263891._0x4a6f20,0x5c2,_0x263891._0x172458)]},async *'execute'(_0x99720d){const _0x38c849={_0x2b9580:0xce},_0x36adae=_0x30e793[_0x43bbd7(_0xc9b0d5._0xb22098,0x38b,0x21b,_0xc9b0d5._0x1080ac)](_0x99720d[_0x43bbd7(0x264,0x28f,0x384,_0xc9b0d5._0x11fad9)]);if(!_0x36adae){const _0x54fa74=Array['from'](_0x30e793[_0x1962e4(_0xc9b0d5._0x3c083f,0x1c4,0x21f,0x249)]())[_0x43bbd7(_0xc9b0d5._0x1b415b,0x332,0x32d,_0xc9b0d5._0x339611)](',\x20');throw new ToolExecutionError(_0x43bbd7(_0xc9b0d5._0x448d86,0x28a,0x294,0x3ac)+_0x99720d[_0x43bbd7(_0xc9b0d5._0x3ef7d5,_0xc9b0d5._0x4cdefc,0x384,_0xc9b0d5._0x4e9549)]+_0x1962e4(-0x61,_0xc9b0d5._0x204861,_0xc9b0d5._0x4ed8b6,-_0xc9b0d5._0x1b0541)+_0x54fa74,{'name':_0x99720d[_0x1962e4(_0xc9b0d5._0x2debca,_0xc9b0d5._0x26d425,_0xc9b0d5._0x2300c9,0x2a4)]});}const _0x5b9381=await _0x48591b[_0x1962e4(_0xc9b0d5._0x3d8a73,_0xc9b0d5._0x430ffd,0xe8,0xc1)](_0x36adae),_0x18ff54=_0x36adae[_0x43bbd7(_0xc9b0d5._0x11e1d4,0x39,_0xc9b0d5._0xe2fcbe,_0xc9b0d5._0x102b6b)][_0x1962e4(-0x15e,-0x9d,_0xc9b0d5._0x4477d0,0xeb)]??_0x815cb2[_0x43bbd7(0x1b5,_0xc9b0d5._0x2b9fdd,_0xc9b0d5._0x554b86,0x9f)](_0x36adae[_0x43bbd7(_0xc9b0d5._0x2095af,0x252,0x163,0x50)]['path']);function _0x43bbd7(_0x3ee975,_0x2c389f,_0x2fd89c,_0x54ee1f){return _0x5f08cb(_0x3ee975-_0x38c849._0x2b9580,_0x54ee1f,_0x2fd89c- -0x23e,_0x54ee1f-0xce);}function _0x1962e4(_0x34744d,_0x2f79f4,_0x2f6873,_0x20c280){return _0x5f08cb(_0x34744d-_0x527e85._0x155109,_0x34744d,_0x2f6873- -0x458,_0x20c280-0xb4);}const _0x26d5a9=[_0x1962e4(-_0xc9b0d5._0x5eb3f8,_0xc9b0d5._0x5b4529,_0xc9b0d5._0xf2f73e,0xf5)+_0x5b9381[_0x43bbd7(0x33f,_0xc9b0d5._0x30a3a1,0x384,0x323)],'',_0x5b9381[_0x43bbd7(_0xc9b0d5._0x52772b,0x4b5,0x2a1,_0xc9b0d5._0x4680b1)],'',_0x43bbd7(0x357,_0xc9b0d5._0x6d8f15,0x50d,0x3f7),_0x1962e4(_0xc9b0d5._0x57a852,-_0xc9b0d5._0x203769,-0xbc,-0x19b)+_0x36adae[_0x43bbd7(0x95,_0xc9b0d5._0x4bf838,_0xc9b0d5._0x985abd,0x32b)][_0x43bbd7(0x4e7,_0xc9b0d5._0x475fe0,0x525,_0xc9b0d5._0xbc6131)],_0x43bbd7(0x553,_0xc9b0d5._0x282923,0x3ed,0x50a)+_0x18ff54][_0x43bbd7(_0xc9b0d5._0x146eb5,_0xc9b0d5._0x6dec02,0x32d,_0xc9b0d5._0x4ed0e0)]('\x0a');return yield createToolOutput(_0x26d5a9,{'id':_0x5b9381['id'],'name':_0x5b9381['name'],'path':_0x36adae['source'][_0x43bbd7(_0xc9b0d5._0xcbcb31,0x3fb,_0xc9b0d5._0x12d4c2,0x472)],'baseDirectory':_0x18ff54}),void 0x0;}});}var TODO_STATUSES=new Set([_0x4a0aa5(0x436,0x613,0x6b7,0x815),_0x4a0aa5(0x602,0x3f4,0x1e4,0x2af),_0x4a0aa5(0x572,0x572,0x610,0x37b)]),TODO_PRIORITIES=new Set([_0x4a0aa5(0x5d4,0x43d,0x4fa,0x576),'medium','low']);function isTodoStatus(_0x5d8cce){const _0x9766ed={_0x4e1fff:0x47f},_0x2ad2ff={_0x411219:0x21f};function _0x217ce8(_0x2f8280,_0x3d3e02,_0x22e58a,_0x224983){return _0x4a0aa5(_0x224983,_0x2f8280- -_0x2ad2ff._0x411219,_0x22e58a-0x1c5,_0x224983-0x1c1);}return typeof _0x5d8cce===_0x217ce8(_0x9766ed._0x4e1fff,0x5cc,0x620,0x675)&&TODO_STATUSES['has'](_0x5d8cce);}function isTodoPriority(_0x236672){const _0x4b4eaa={_0x638ce1:0x8c3,_0x3fda1c:0x76c,_0x5c958d:0x942,_0xd350c1:0x856,_0x3d9e22:0x880,_0x434e48:0x710},_0x415685={_0x2ca714:0xb2},_0x58e1f9={_0x438dcd:0xd7};function _0x4c4f66(_0x56f6cf,_0x253b3f,_0xf64b71,_0x5a321f){return _0x38b1c5(_0x56f6cf-_0x58e1f9._0x438dcd,_0x253b3f-0x195,_0xf64b71-0x10,_0x253b3f);}function _0x584246(_0x2b8468,_0x1d48e8,_0x4af699,_0x394c4c){return _0x38b1c5(_0x2b8468-0x8e,_0x1d48e8-0xde,_0x1d48e8-_0x415685._0x2ca714,_0x4af699);}return typeof _0x236672===_0x4c4f66(0x6f3,_0x4b4eaa._0x638ce1,_0x4b4eaa._0x3fda1c,_0x4b4eaa._0x5c958d)&&TODO_PRIORITIES[_0x584246(_0x4b4eaa._0xd350c1,_0x4b4eaa._0x3d9e22,_0x4b4eaa._0x434e48,0x816)](_0x236672);}var TodoStore=class{[_0x38b1c5(0x62a,0x4e2,0x6b6,0x7cb)]=new Map();[_0x4a0aa5(0x37a,0x55a,0x4a6,0x34e)](_0x1bca36){return this['todosBySession']['get'](_0x1bca36)??[];}['setTodos'](_0x3847d3,_0x34c94c){const _0x4e39cc={_0x105dcb:0x3f8,_0x2a8ebb:0x6d4,_0x434f4d:0x6d6,_0x370cb7:0x794},_0x530724={_0x1cf688:0x126,_0x18b518:0x1dc},_0x4fc60f={_0x5b8ca5:0xd6};function _0x1aeaf6(_0x1ec74e,_0x3d3293,_0x2b0efc,_0xa57da3){return _0x38b1c5(_0x1ec74e-_0x4fc60f._0x5b8ca5,_0x3d3293-0x12f,_0x1ec74e- -0x2be,_0xa57da3);}function _0x4b60e0(_0x106030,_0x41a92d,_0x358408,_0x2808dd){return _0x38b1c5(_0x106030-_0x530724._0x1cf688,_0x41a92d-_0x530724._0x18b518,_0x41a92d-0x46,_0x358408);}this[_0x1aeaf6(_0x4e39cc._0x105dcb,0x438,0x262,0x49b)][_0x4b60e0(0x837,_0x4e39cc._0x2a8ebb,_0x4e39cc._0x434f4d,_0x4e39cc._0x370cb7)](_0x3847d3,_0x34c94c);}[_0x4a0aa5(0x5a7,0x4a5,0x364,0x2c8)](_0x3f175c){const _0x825af9={_0x304ab6:0x5a8,_0x35fd58:0x66d,_0x250d74:0x5ad,_0x2d1d23:0x895,_0x563df1:0x4cc,_0x2a7091:0x612,_0x30bfca:0x5c5,_0x581618:0x59e,_0x40c1c2:0x79e,_0x5a80d2:0x62a,_0x2b002f:0x4a1,_0x55e961:0x2be},_0x378386={_0x2687b5:0x93,_0x2b31b8:0xcd},_0x30aaae={_0xccb690:0xf9,_0x13ed09:0x70},_0x131bab=this[_0x4110c3(_0x825af9._0x304ab6,0x6e5,_0x825af9._0x35fd58,_0x825af9._0x250d74)](_0x3f175c);function _0x240da1(_0x172b63,_0x4e05c6,_0x4be90f,_0x1d77de){return _0x38b1c5(_0x172b63-_0x30aaae._0xccb690,_0x4e05c6-_0x30aaae._0x13ed09,_0x4be90f-0x2f,_0x1d77de);}const _0x5795d1={'total':_0x131bab[_0x4110c3(_0x825af9._0x2d1d23,0x834,0x97f,0x870)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x4110c3(_0x4787db,_0x1a9a14,_0x5db91c,_0x1b2118){return _0x38b1c5(_0x4787db-_0x378386._0x2687b5,_0x1a9a14-0x7d,_0x1a9a14-_0x378386._0x2b31b8,_0x5db91c);}for(const _0x4a76c7 of _0x131bab){if(_0x4a76c7[_0x4110c3(_0x825af9._0x563df1,0x53f,_0x825af9._0x2a7091,_0x825af9._0x30bfca)]==='pending')_0x5795d1[_0x4110c3(_0x825af9._0x581618,_0x825af9._0x40c1c2,0x680,0x89c)]+=0x1;else{if(_0x4a76c7[_0x240da1(0x4cc,_0x825af9._0x5a80d2,_0x825af9._0x2b002f,_0x825af9._0x55e961)]==='in_progress')_0x5795d1['inProgress']+=0x1;else _0x5795d1['completed']+=0x1;}}return _0x5795d1;}};function validateTodos(_0x40b930){const _0x3d5720={_0x1b8b92:0x22,_0x15d44a:0x188,_0x18f618:0x12d,_0x41c0f2:0x1bd,_0x2412b9:0x37,_0x8a0b64:0x1b0,_0x1f66e1:0xa9,_0x1a937a:0x8b,_0x43918b:0x97,_0x2854d3:0x23d,_0x4fc345:0x56c,_0x2c262a:0x3ed,_0x1ac13a:0x17b,_0x52b031:0x4d,_0x3106c2:0x1c,_0x1abd61:0x200,_0x1d1d41:0x14d,_0x1eb68d:0x155,_0x19d6d8:0x4ba,_0x39521b:0x172,_0x1615a2:0x46,_0x541454:0x378,_0x5dd3de:0x3e2,_0x5e708d:0x544,_0x37bd01:0x618,_0x3a340b:0x3fb,_0x5ec26d:0x354,_0x1ea930:0x122,_0xeba1df:0x1ca,_0xedebbb:0x187,_0x5b97a3:0x41,_0x1e3774:0xec,_0x2a9f35:0x3c3,_0x1cc6a9:0x4bb,_0x3b370d:0x4c5,_0x476bde:0x239,_0x4a8326:0x460,_0x16377e:0x46a,_0x300d06:0x35b,_0x379a55:0x110,_0xf6764a:0x554,_0xfa2e1b:0x4dd,_0x2feac0:0x35b,_0x2d1601:0x357,_0x250929:0x539,_0x3c48a1:0x362,_0x39e3ca:0x95,_0xacb597:0x202,_0x33465f:0x356,_0x3ca01c:0x206,_0x54185c:0x3a2,_0x57ff93:0x219,_0x6e8bb8:0x10b,_0x1293fe:0x2a9,_0x24cc06:0xb5,_0x403e0f:0x1be,_0x414ded:0x1bf,_0x45aea6:0x47f,_0x3db9e8:0x38b,_0x122cb3:0x80,_0x58e515:0x9c},_0x3e6495={_0x467ce6:0x2bc,_0x1d887e:0x110,_0x407ef5:0x1cc},_0x34c2c7={_0x88305:0x3db,_0x533767:0x1f0,_0x204c93:0x22};function _0x219272(_0x213f12,_0x2b2e76,_0x4ebbd8,_0x2ed39b){return _0x4a0aa5(_0x4ebbd8,_0x2ed39b- -_0x34c2c7._0x88305,_0x4ebbd8-_0x34c2c7._0x533767,_0x2ed39b-_0x34c2c7._0x204c93);}function _0x25b198(_0x434b08,_0x220be5,_0x1d50cd,_0x72e7c8){return _0x4a0aa5(_0x220be5,_0x72e7c8- -_0x3e6495._0x467ce6,_0x1d50cd-_0x3e6495._0x1d887e,_0x72e7c8-_0x3e6495._0x407ef5);}if(!Array[_0x219272(-_0x3d5720._0x1b8b92,_0x3d5720._0x15d44a,0x215,_0x3d5720._0x18f618)](_0x40b930[_0x219272(_0x3d5720._0x41c0f2,0x27f,-_0x3d5720._0x2412b9,0x97)])||_0x40b930['todos']['length']===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':_0x25b198(0xd7,_0x3d5720._0x8a0b64,-_0x3d5720._0x1f66e1,_0x3d5720._0x1a937a)});for(let _0x5e86cf=0x0;_0x5e86cf<_0x40b930[_0x219272(0x27e,-0x140,-0x13b,_0x3d5720._0x43918b)][_0x25b198(_0x3d5720._0x2854d3,0x4ed,_0x3d5720._0x4fc345,_0x3d5720._0x2c262a)];_0x5e86cf+=0x1){const _0x351b8e=_0x40b930[_0x219272(_0x3d5720._0x1ac13a,0x163,-_0x3d5720._0x52b031,0x97)][_0x5e86cf];if(!_0x351b8e||typeof _0x351b8e!==_0x219272(_0x3d5720._0x3106c2,_0x3d5720._0x1abd61,_0x3d5720._0x1d1d41,_0x3d5720._0x1eb68d))throw new ToolExecutionError('Todo\x20'+(_0x5e86cf+0x1)+_0x25b198(_0x3d5720._0x19d6d8,0x1ee,_0x3d5720._0x39521b,0x361),{'error':_0x25b198(-0x53,_0x3d5720._0x1615a2,0x1a8,0xa5)});if(typeof _0x351b8e['id']!==_0x25b198(0x2ba,_0x3d5720._0x541454,0x577,_0x3d5720._0x5dd3de)||_0x351b8e['id'][_0x25b198(0x5d7,_0x3d5720._0x5e708d,_0x3d5720._0x37bd01,0x491)]()[_0x219272(_0x3d5720._0x3a340b,_0x3d5720._0x5ec26d,_0x3d5720._0x1ea930,0x2ce)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x5e86cf+0x1)+':\x20id\x20required',{'error':_0x219272(-0x177,-_0x3d5720._0xeba1df,-0x24b,-0x60)});if(typeof _0x351b8e[_0x219272(0x1eb,_0x3d5720._0xedebbb,_0x3d5720._0x5b97a3,_0x3d5720._0x1e3774)]!==_0x25b198(_0x3d5720._0x2a9f35,_0x3d5720._0x1cc6a9,0x478,_0x3d5720._0x5dd3de)||_0x351b8e['content']['trim']()[_0x219272(_0x3d5720._0x3b370d,_0x3d5720._0x476bde,0x1e3,0x2ce)]===0x0)throw new ToolExecutionError(_0x25b198(0x2fc,_0x3d5720._0x4a8326,_0x3d5720._0x16377e,_0x3d5720._0x300d06)+(_0x5e86cf+0x1)+':\x20content\x20required',{'error':_0x25b198(0x1a3,_0x3d5720._0x379a55,0x270,0x320)});if(!isTodoStatus(_0x351b8e['status']))throw new ToolExecutionError(_0x25b198(_0x3d5720._0xf6764a,0x190,_0x3d5720._0xfa2e1b,_0x3d5720._0x2feac0)+(_0x5e86cf+0x1)+_0x25b198(0x54d,_0x3d5720._0x2d1601,_0x3d5720._0x250929,_0x3d5720._0x3c48a1),{'error':_0x219272(0x22d,-_0x3d5720._0x39e3ca,_0x3d5720._0xacb597,0x28)});if(!isTodoPriority(_0x351b8e[_0x25b198(_0x3d5720._0x33465f,0x268,_0x3d5720._0x3ca01c,_0x3d5720._0x54185c)]))throw new ToolExecutionError(_0x25b198(0x2c1,0x53f,_0x3d5720._0x57ff93,_0x3d5720._0x300d06)+(_0x5e86cf+0x1)+_0x219272(0x236,-0x3a,-0x62,_0x3d5720._0x6e8bb8),{'error':_0x25b198(_0x3d5720._0x1293fe,_0x3d5720._0x24cc06,-0x34,_0x3d5720._0x403e0f)});}const _0x3efa7b=_0x40b930['todos'][_0x25b198(_0x3d5720._0x414ded,_0x3d5720._0x45aea6,_0x3d5720._0x3db9e8,0x325)](_0x1693ad=>_0x1693ad['id']);if(new Set(_0x3efa7b)['size']!==_0x3efa7b['length'])throw new ToolExecutionError(_0x219272(0x135,-_0x3d5720._0x122cb3,0xbf,_0x3d5720._0x58e515),{'error':'duplicate_todo_ids'});}function createStatsProgress(_0x36388e){const _0x36ff9b={_0xe2cd43:0x8a1,_0x9430da:0x856,_0x232434:0x6e5,_0x124574:0x5e8,_0x66665b:0x5d9,_0x413b34:0x940,_0xa9b39c:0xadf},_0x3afe11={_0x5d31d1:0x1f1,_0x4446b7:0x7d,_0x385f28:0x15b},_0x4ed494={_0x2490d3:0x128,_0x27962c:0x1d6};function _0x5564d6(_0x3ad167,_0x22c057,_0x5b7cc0,_0x3ab64b){return _0x38b1c5(_0x3ad167-_0x4ed494._0x2490d3,_0x22c057-_0x4ed494._0x27962c,_0x22c057- -0x62a,_0x5b7cc0);}function _0x30b8d9(_0x41c85f,_0x2c75ec,_0x1a20b9,_0x45561){return _0x4a0aa5(_0x41c85f,_0x2c75ec-_0x3afe11._0x5d31d1,_0x1a20b9-_0x3afe11._0x4446b7,_0x45561-_0x3afe11._0x385f28);}return _0x36388e[_0x30b8d9(0x97f,0x940,_0x36ff9b._0xe2cd43,0xa7f)]>0x0?Math[_0x30b8d9(_0x36ff9b._0x9430da,_0x36ff9b._0x232434,0x75a,_0x36ff9b._0x124574)](_0x36388e[_0x30b8d9(0x705,0x763,0x54f,_0x36ff9b._0x66665b)]/_0x36388e[_0x30b8d9(0x79b,_0x36ff9b._0x413b34,0x9a9,_0x36ff9b._0xa9b39c)]*0x64)+'%':'0%';}function createReminderItems(_0x22ba29){const _0x397ea0={_0x4e79b9:0x1ec,_0x479e75:0x1d8},_0x3e96aa={_0x41e9bb:0xc5};function _0x160905(_0xa50ea2,_0x59b329,_0x50592f,_0x47f428){return _0x4a0aa5(_0x50592f,_0x47f428-0x1fd,_0x50592f-0x195,_0x47f428-_0x3e96aa._0x41e9bb);}function _0x3845ca(_0x5f2630,_0x584d22,_0x404614,_0x4519b9){return _0x4a0aa5(_0x4519b9,_0x404614-_0x397ea0._0x4e79b9,_0x404614-0x5b,_0x4519b9-_0x397ea0._0x479e75);}return _0x22ba29['map'](_0x347a46=>({'content':_0x347a46[_0x160905(0x6c9,0x4c6,0x682,0x6c4)],'status':_0x347a46[_0x160905(0x488,0x3f7,0x4a8,0x5b1)],'id':_0x347a46['id']}));}function createStructuredResult(_0x575530,_0x4c1d7c,_0x242cf0,_0x120020){const _0x529d44={_0x47d325:0x9f3,_0x8990bb:0x988},_0x457a05={_0x457e38:0x1b5,_0x29cd38:0x1ba},_0x47b32e={_0x1f0c5e:0x1d5};function _0x3909b0(_0x4998c4,_0x1228c9,_0x134e6e,_0x54f342){return _0x38b1c5(_0x4998c4-_0x47b32e._0x1f0c5e,_0x1228c9-0x12a,_0x1228c9- -0x654,_0x4998c4);}function _0x1145b4(_0x4fd224,_0x4f05eb,_0x842855,_0x397908){return _0x4a0aa5(_0x4fd224,_0x397908-_0x457a05._0x457e38,_0x842855-_0x457a05._0x29cd38,_0x397908-0x198);}return{'allCompleted':_0x120020,'items':_0x4c1d7c['map'](_0x305aae=>({'id':_0x305aae['id'],'content':_0x305aae['content'],'status':_0x305aae['status'],'priority':_0x305aae[_0x3909b0(0x83,0xc8,0x133,0x19)],'createdAt':_0x305aae['createdAt']})),'progress':createStatsProgress(_0x242cf0),'recentChanges':!![],'sessionId':_0x575530,'stats':_0x242cf0,'todosWritten':_0x4c1d7c[_0x1145b4(_0x529d44._0x47d325,0x8e7,_0x529d44._0x8990bb,0x85e)]};}function createOutputText(_0x431510,_0x39a7b6){const _0x5a5171={_0x13b815:0x30,_0x1f3085:0x92,_0x9b2a0a:0x30,_0x1260e9:0x2a6,_0x2124fc:0x2c5,_0x38eb2d:0xf3,_0x1f48e9:0x58b,_0x3015c3:0x30e,_0x2445c8:0x410,_0x1452f0:0x5ac,_0x197adf:0x3bb,_0x3a0ce6:0x410,_0x583826:0x436},_0x38faa0={_0x48e11e:0xcb},_0x251a6f={_0x56d031:0xe9};function _0x21a541(_0x133f6e,_0x22c8b0,_0x44cce1,_0x3715b4){return _0x38b1c5(_0x133f6e-0x154,_0x22c8b0-_0x251a6f._0x56d031,_0x44cce1- -0x362,_0x3715b4);}const _0x5e40f1=JSON[_0x21a541(_0x5a5171._0x13b815,_0x5a5171._0x1f3085,0x1a3,-_0x5a5171._0x9b2a0a)](createReminderItems(_0x431510));function _0x54f552(_0x2ee50e,_0x5d6c07,_0x59639e,_0x1d5f9a){return _0x38b1c5(_0x2ee50e-_0x38faa0._0x48e11e,_0x5d6c07-0xc1,_0x1d5f9a-0xdf,_0x59639e);}if(_0x39a7b6)return _0x21a541(0x131,_0x5a5171._0x1260e9,0x1bb,_0x5a5171._0x2124fc)+_0x431510['length']+_0x21a541(0x466,_0x5a5171._0x38eb2d,0x2b9,0x372)+_0x5e40f1+_0x21a541(_0x5a5171._0x1f48e9,_0x5a5171._0x3015c3,_0x5a5171._0x2445c8,_0x5a5171._0x1452f0);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'+_0x5e40f1+_0x21a541(_0x5a5171._0x197adf,0x270,_0x5a5171._0x3a0ce6,_0x5a5171._0x583826);}function createTodoWriteTool(_0x175f53=new TodoStore()){const _0x5e3556={_0x23474a:0x329,_0x5842b4:0x2d9,_0x204757:0x318,_0x2aa2a0:0x1a4,_0x385dec:0x67b,_0xa703d1:0x616,_0x488829:0x5c8,_0x5d42b2:0x367,_0xb075c2:0x240,_0x1e9ecc:0x3ee,_0x43ec87:0x359,_0x476cd0:0x247,_0x2bcad8:0x528,_0x15083b:0x693,_0x6cb2b1:0x7b0,_0x22bfac:0x60a,_0xaf9bb9:0x217,_0x223a30:0x1c4,_0x59fcac:0x292,_0x1e4257:0x15f},_0x42e1cd={_0x241224:0x63a,_0x3d06be:0x4da,_0x163d25:0x3f4,_0x359e19:0x2fc,_0x39a0f7:0x32e,_0x1513f5:0x3cb,_0x33b800:0x614,_0x5ef806:0x823,_0x4cf543:0x6e6,_0x46ef84:0x6e9,_0x270c47:0x17f,_0x3f2cf8:0x4c1,_0x658b6a:0x43c,_0x59370e:0x5fb,_0x2bc344:0x534,_0x56363d:0x615,_0x12291a:0x1f8,_0x571bf4:0x1a6,_0x43bbb1:0x13f},_0x3d6b38={_0x3879e6:0x12d},_0x2b3641={_0x598635:0x1c6,_0x3de64d:0x36e},_0x1c8d1e={_0x352b00:0x94,_0x45c433:0x72};function _0x1e930f(_0x42c42d,_0x8cc87d,_0x26f68f,_0x4b4abb){return _0x4a0aa5(_0x8cc87d,_0x26f68f- -_0x1c8d1e._0x352b00,_0x26f68f-_0x1c8d1e._0x45c433,_0x4b4abb-0xb0);}function _0x3e6665(_0x4dee95,_0x1d2ec6,_0x4871ad,_0x361971){return _0x38b1c5(_0x4dee95-_0x2b3641._0x598635,_0x1d2ec6-0x5d,_0x1d2ec6- -_0x2b3641._0x3de64d,_0x4dee95);}return defineTool({'name':_0x3e6665(_0x5e3556._0x23474a,_0x5e3556._0x5842b4,_0x5e3556._0x204757,_0x5e3556._0x2aa2a0),'permissionClass':_0x1e930f(0x534,_0x5e3556._0x385dec,_0x5e3556._0xa703d1,_0x5e3556._0x488829),'description':'Maintain\x20a\x20concise\x20task\x20list\x20when\x20visible\x20progress\x20tracking\x20adds\x20coordination\x20value.\x0a\x0aUse\x20TodoWrite\x20only\x20in\x20the\x20same\x20response\x20as\x20real\x20work\x20(read,\x20grep,\x20edit,\x20bash,\x20fetch).\x20Never\x20send\x20a\x20response\x20whose\x20only\x20tool\x20call\x20is\x20TodoWrite.\x20Do\x20not\x20open\x20a\x20turn\x20with\x20it.\x20Do\x20not\x20add\x20a\x20wrap-up\x20call\x20after\x20the\x20proving\x20test\x20or\x20build\x20is\x20green.\x0a\x0aSkip\x20it\x20for\x20conversational\x20questions,\x20a\x20single\x20straightforward\x20task,\x20or\x20a\x20short\x20flat\x20sequence.\x20List\x20meaningful\x20outcomes\x20rather\x20than\x20individual\x20tool\x20calls.\x0a\x0aUse\x20statuses\x20pending,\x20in_progress,\x20and\x20completed,\x20with\x20at\x20most\x20one\x20item\x20in_progress.\x20Update\x20only\x20at\x20meaningful\x20milestones,\x20in\x20the\x20same\x20response\x20as\x20the\x20work\x20that\x20changed\x20those\x20statuses:\x0a-\x20Batch\x20status\x20changes\x20in\x20one\x20call:\x20mark\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.\x0a-\x20Keep\x20the\x20current\x20item\x20in_progress\x20when\x20blocked\x20or\x20verification\x20fails.\x20Revise\x20items\x20only\x20when\x20the\x20plan\x20materially\x20changes.\x0a-\x20Preserve\x20item\x20IDs\x20and\x20include\x20the\x20full\x20current\x20list\x20in\x20every\x20update.','inputSchema':{'type':'object','properties':{'todos':{'type':'array','items':{'type':_0x3e6665(_0x5e3556._0x5d42b2,0x280,_0x5e3556._0xb075c2,0x14c),'properties':{'content':{'type':'string'},'status':{'type':_0x3e6665(0x55c,_0x5e3556._0x1e9ecc,_0x5e3556._0x43ec87,_0x5e3556._0x476cd0)},'priority':{'type':_0x1e930f(_0x5e3556._0x2bcad8,_0x5e3556._0x15083b,0x60a,_0x5e3556._0x6cb2b1)},'id':{'type':_0x1e930f(0x41d,0x663,_0x5e3556._0x22bfac,0x7b8)},'createdAt':{'type':'string'}},'required':[_0x3e6665(0x1ba,_0x5e3556._0xaf9bb9,_0x5e3556._0x223a30,_0x5e3556._0x59fcac),_0x1e930f(0x113,_0x5e3556._0x1e4257,0x320,0x529),'priority','id']}}},'required':['todos']},async *'execute'(_0x3c66d5,_0x5968c8){const _0x462817={_0x300f97:0x25},_0x512716=_0x3c66d5;validateTodos(_0x512716);const _0x470e0e=_0x5968c8[_0x5749bf(0x456,_0x42e1cd._0x241224,0x2be,0x272)]||'default',_0x18f1c5=new Date()[_0x599a19(_0x42e1cd._0x3d06be,0x419,0x3ef,_0x42e1cd._0x163d25)](),_0x37c5c9=_0x512716[_0x5749bf(_0x42e1cd._0x359e19,_0x42e1cd._0x39a0f7,0x325,_0x42e1cd._0x1513f5)][_0x599a19(0x6c4,0x7d4,_0x42e1cd._0x33b800,0x70f)](_0x3ceb60=>({'id':_0x3ceb60['id'],'content':_0x3ceb60[_0x5749bf(0x351,0x1f3,0x153,0x2ee)],'status':_0x3ceb60[_0x5749bf(0x23e,0x1e9,0x31f,0x3d9)],'priority':_0x3ceb60[_0x599a19(0x619,0x523,0x691,0x526)],'sessionId':_0x470e0e,'createdAt':_0x3ceb60[_0x599a19(0x5b3,0x3db,0x41a,0x629)]||_0x18f1c5,'updatedAt':_0x18f1c5}));_0x175f53[_0x599a19(0x740,_0x42e1cd._0x5ef806,_0x42e1cd._0x4cf543,_0x42e1cd._0x46ef84)](_0x470e0e,_0x37c5c9);const _0x3f501d=_0x175f53[_0x5749bf(0x32f,_0x42e1cd._0x270c47,_0x42e1cd._0x3f2cf8,_0x42e1cd._0x658b6a)](_0x470e0e);function _0x599a19(_0x253965,_0x1bfd66,_0x42c748,_0x37429d){return _0x1e930f(_0x253965-0x41,_0x1bfd66,_0x42c748-0xc7,_0x37429d-_0x462817._0x300f97);}function _0x5749bf(_0x214aba,_0x1a2601,_0x433ef0,_0x2fe098){return _0x3e6665(_0x433ef0,_0x214aba-0x13a,_0x433ef0-0x174,_0x2fe098-_0x3d6b38._0x3879e6);}const _0x164ad6=_0x37c5c9[_0x599a19(_0x42e1cd._0x59370e,_0x42e1cd._0x2bc344,0x6dc,_0x42e1cd._0x56363d)]>0x0&&_0x37c5c9[_0x5749bf(_0x42e1cd._0x12291a,_0x42e1cd._0x571bf4,0x196,_0x42e1cd._0x43bbb1)](_0x1db134=>_0x1db134[_0x599a19(0x4a9,0x31d,0x3e7,0x40d)]===_0x5749bf(0x3fc,0x5d7,0x483,0x597));return createToolOutput(createOutputText(_0x37c5c9,_0x164ad6),createStructuredResult(_0x470e0e,_0x37c5c9,_0x3f501d,_0x164ad6));}});}function createUpdateTopicTool(){const _0x3bc97b={_0x4cbc82:0x125,_0x2b7c0a:0x37d,_0x2c4865:0x756,_0x2b2828:0x6f4,_0x184d48:0x57c,_0x2ff8b2:0x3f2,_0x1114d4:0x227,_0xb8acfe:0x312,_0x4d9f32:0x32d,_0x5b3f9a:0x231},_0x4a0e62={_0x15d7a2:0x432,_0x3ea1e0:0x3b3,_0x101f25:0x393,_0x57a7f1:0x4ac,_0x32a94a:0x75e,_0x49b5d8:0x724,_0x55a161:0x5df,_0x369ee7:0x17b},_0x587db8={_0xd109b6:0x162,_0x45803a:0x1a0},_0x5ae641={_0x13b366:0x13e,_0x4f2c67:0x82,_0x4edeb9:0x5b},_0x4a5539={_0xc4847c:0x29d,_0x450b67:0x1f2};function _0x46a13d(_0x41dd81,_0x49d16a,_0x36ce2f,_0x10409b){return _0x4a0aa5(_0x36ce2f,_0x49d16a- -_0x4a5539._0xc4847c,_0x36ce2f-_0x4a5539._0x450b67,_0x10409b-0xc3);}function _0x51ae2d(_0x39db49,_0x53b2e7,_0xb77ea6,_0x3cb1b3){return _0x4a0aa5(_0x39db49,_0x53b2e7- -_0x5ae641._0x13b366,_0xb77ea6-_0x5ae641._0x4f2c67,_0x3cb1b3-_0x5ae641._0x4edeb9);}return defineTool({'name':_0x46a13d(0x19c,0xb9,0x210,-_0x3bc97b._0x4cbc82),'permissionClass':_0x51ae2d(_0x3bc97b._0x2b7c0a,0x56c,_0x3bc97b._0x2c4865,_0x3bc97b._0x2b2828),'description':_0x46a13d(0x623,0x441,_0x3bc97b._0x184d48,0x42b),'inputSchema':{'type':_0x51ae2d(0x5ac,_0x3bc97b._0x2ff8b2,0x36f,_0x3bc97b._0x1114d4),'properties':{'topic':{'type':'string'}},'required':[_0x46a13d(_0x3bc97b._0xb8acfe,_0x3bc97b._0x4d9f32,0x198,_0x3bc97b._0x5b3f9a)]},async *'execute'(_0x4666d0,_0x1dd176){const {topic:_0x534280}=_0x4666d0;if(typeof _0x534280!==_0x2da08a(0x1bd,0x4fd,0x2fc,0x296)||_0x534280['trim']()[_0x55512b(_0x4a0e62._0x15d7a2,0x642,0x540,0x5c8)]===0x0)throw new ToolExecutionError(_0x2da08a(_0x4a0e62._0x3ea1e0,0x50c,_0x4a0e62._0x101f25,_0x4a0e62._0x57a7f1),{'error':_0x55512b(_0x4a0e62._0x32a94a,0x5c6,0x4ae,_0x4a0e62._0x49b5d8)});const _0xaf5e1d=_0x534280['trim']();_0x1dd176[_0x55512b(0x363,0x4a3,0x395,_0x4a0e62._0x55a161)]?.(_0xaf5e1d);function _0x55512b(_0xc5a6d8,_0x11ab43,_0x33c051,_0x3abc85){return _0x51ae2d(_0x33c051,_0x11ab43-0xd7,_0x33c051-0x142,_0x3abc85-0x1c9);}yield createToolOutput(_0x2da08a(0x13f,0x149,_0x4a0e62._0x369ee7,0x39)+_0xaf5e1d+'\x22',{'topic':_0xaf5e1d});function _0x2da08a(_0x265939,_0xa65340,_0x2000fe,_0x590863){return _0x51ae2d(_0x265939,_0x2000fe- -0x264,_0x2000fe-_0x587db8._0xd109b6,_0x590863-_0x587db8._0x45803a);}return void 0x0;}});}import{randomUUID as _0x2d199d}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x27bff8}from'child_process';function errorMessage(_0x345eaa){const _0x5403fb={_0x2152ee:0x17b},_0x26e71f={_0x4b52b3:0xda,_0x4daf66:0x61f};function _0x568c4f(_0x2bba69,_0x353ecc,_0x126873,_0x54275f){return _0x38b1c5(_0x2bba69-0x1b9,_0x353ecc-_0x26e71f._0x4b52b3,_0x2bba69- -_0x26e71f._0x4daf66,_0x353ecc);}return _0x345eaa instanceof Error?_0x345eaa[_0x568c4f(-0x2c,-_0x5403fb._0x2152ee,-0xa1,-0xa8)]:String(_0x345eaa);}function isNotFound(_0x2f68bf){const _0x4832b1={_0x32b800:0xaf,_0x3b4f3d:0x1d5,_0x5e5305:0x166,_0x53a551:0x1c,_0x36af3c:0x1b0},_0x137174={_0x22bbe9:0x1e};function _0x510bfe(_0xa26829,_0x14e51c,_0x208035,_0x293478){return _0x4a0aa5(_0x14e51c,_0x208035- -0x481,_0x208035-0x16f,_0x293478-0x184);}function _0x436512(_0x3e20e1,_0x2a2326,_0x366fc7,_0x71fbe6){return _0x4a0aa5(_0x2a2326,_0x71fbe6- -0x3ae,_0x366fc7-0x34,_0x71fbe6-_0x137174._0x22bbe9);}return typeof _0x2f68bf===_0x510bfe(0x17b,-0x12c,_0x4832b1._0x32b800,_0x4832b1._0x3b4f3d)&&_0x2f68bf!==null&&'code'in _0x2f68bf&&_0x2f68bf[_0x436512(0x38e,_0x4832b1._0x5e5305,-_0x4832b1._0x53a551,_0x4832b1._0x36af3c)]==='ESRCH';}function isSafeProcessId(_0x338224){const _0x5846f2={_0x28d4f4:0x436},_0xee2e6b={_0x2571be:0x178};function _0x5c3091(_0x8eb5a,_0x41a55e,_0x4f56f1,_0x2fbabf){return _0x38b1c5(_0x8eb5a-0x52,_0x41a55e-_0xee2e6b._0x2571be,_0x8eb5a- -0x2d7,_0x2fbabf);}return _0x338224!==void 0x0&&Number[_0x5c3091(0x2b5,_0x5846f2._0x28d4f4,0x457,0x214)](_0x338224)&&_0x338224>0x1;}function createProcessTreeSignalAdapter(_0x8c7325={}){const _0x160461={_0x50f62d:0x74c,_0x4c9fa7:0x793,_0x196333:0x2e6,_0x4d4616:0x172,_0x2640e4:0x29e,_0x262ac7:0x48e,_0x15f43c:0x373,_0x45702c:0x851,_0x4d2c6e:0x648,_0x5d284d:0x4e3,_0x411952:0x4ee,_0x18eed7:0x19e},_0x38dc44={_0x4a3f57:0x7e,_0x96b412:0x215,_0x16cdc8:0x1b7,_0x26e201:0xa3,_0x398aa9:0xae,_0x46d5d5:0x260,_0x3a7617:0x259,_0x32de48:0x166,_0x24ba5d:0x2d5,_0x50a9a1:0x15a,_0x1e4c29:0x6e,_0x48c3dc:0xe,_0x1650c2:0x138,_0x1b62b4:0x12a,_0x32aa12:0x1ba,_0x4e7b3d:0xcb,_0x33f80d:0x160,_0x1dbef6:0x9d,_0x234dc2:0x3d,_0x2e1f37:0x5e,_0x46641c:0x253,_0x108907:0x150,_0x9a1913:0xbc},_0xcc1a8d={_0xc8f752:0x295,_0x202de8:0x481,_0x22310f:0x328,_0x26105a:0x405,_0x255f0f:0x497,_0x3842f0:0x555,_0x1398d8:0x303,_0x506e6d:0x4c3,_0xf339e1:0x3ed,_0x4058d5:0x682,_0x2e72a1:0x5da,_0xe2b6c0:0x67e,_0x48fa6a:0x5af},_0x4b63b7={_0x553e8c:0x14,_0x339832:0x14b},_0x41c4bf={_0x5aa167:0x56},_0x53da30=_0x8c7325[_0xd80bca(0x85e,_0x160461._0x50f62d,0x70a,_0x160461._0x4c9fa7)]??process['platform'],_0x5253a4=_0x8c7325[_0xd80bca(_0x160461._0x196333,_0x160461._0x4d4616,0x371,_0x160461._0x2640e4)]??process[_0x37c522(_0x160461._0x262ac7,0x63b,0x484,_0x160461._0x15f43c)][_0xd80bca(0x64c,_0x160461._0x45702c,_0x160461._0x4d2c6e,_0x160461._0x5d284d)](process);function _0x37c522(_0x5ce27c,_0x57c19c,_0x5cf7cc,_0x1c96a1){return _0x4a0aa5(_0x57c19c,_0x5ce27c-0xd9,_0x5cf7cc-_0x41c4bf._0x5aa167,_0x1c96a1-0x36);}function _0xd80bca(_0xabb42c,_0x4c8a15,_0x38c009,_0x2db764){return _0x4a0aa5(_0xabb42c,_0x38c009- -0x44,_0x38c009-_0x4b63b7._0x553e8c,_0x2db764-_0x4b63b7._0x339832);}const _0x4a951c=_0x8c7325[_0xd80bca(_0x160461._0x411952,_0x160461._0x18eed7,0x3ac,0x3a2)]??_0x27bff8;return{async 'signal'(_0x4a8f45,_0x2957ad){const _0x463dce={_0x506876:0x178,_0xdc240f:0xeb,_0x4dc9e2:0x107,_0x323f5c:0x64a,_0x3c5707:0x5a3},_0x1f8f08={_0x18e76c:0x13f},_0x9f907f={_0x22c54d:0x64,_0x330c45:0x1e8};if(_0x53da30!==_0x30ed0b(-0x119,-_0x38dc44._0x4a3f57,0x53,-_0x38dc44._0x96b412)){if(!isSafeProcessId(_0x4a8f45[_0x30ed0b(_0x38dc44._0x16cdc8,_0x38dc44._0x26e201,_0x38dc44._0x398aa9,_0x38dc44._0x46d5d5)]))return{'outcome':_0xc8c0da(0x202,_0x38dc44._0x3a7617,0x3fa,0x20a),'error':_0x30ed0b(0x28b,_0x38dc44._0x32de48,0xdd,-0xad)};try{return _0x5253a4(-_0x4a8f45['processGroupId'],_0x2957ad===_0x30ed0b(-_0x38dc44._0x24ba5d,-_0x38dc44._0x50a9a1,-_0x38dc44._0x1e4c29,-_0x38dc44._0x48c3dc)?_0xc8c0da(0x28,_0x38dc44._0x1650c2,0x80,-_0x38dc44._0x48c3dc):_0x30ed0b(_0x38dc44._0x1b62b4,_0x38dc44._0x32aa12,0x342,0x314)),{'outcome':_0xc8c0da(_0x38dc44._0x4e7b3d,0x91,_0x38dc44._0x33f80d,-_0x38dc44._0x1dbef6)};}catch(_0x3c92bd){return isNotFound(_0x3c92bd)?{'outcome':_0xc8c0da(0x1c,_0x38dc44._0x234dc2,-0x1bc,-0x118),'error':errorMessage(_0x3c92bd)}:{'outcome':_0x30ed0b(-0xd4,_0x38dc44._0x2e1f37,-0x39,-0x42),'error':errorMessage(_0x3c92bd)};}}function _0xc8c0da(_0x2bf5ed,_0x5775c5,_0x90ac6a,_0x53faaa){return _0x37c522(_0x5775c5- -0x41a,_0x53faaa,_0x90ac6a-_0x9f907f._0x22c54d,_0x53faaa-_0x9f907f._0x330c45);}if(!isSafeProcessId(_0x4a8f45[_0xc8c0da(0x1f9,_0x38dc44._0x46641c,_0x38dc44._0x108907,_0x38dc44._0x9a1913)]))return{'outcome':'failed','error':'Unsafe\x20or\x20missing\x20Windows\x20root\x20pid'};function _0x30ed0b(_0x31ecdc,_0x52a80c,_0x400611,_0x234c24){return _0x37c522(_0x52a80c- -0x615,_0x234c24,_0x400611-0x36,_0x234c24-_0x1f8f08._0x18e76c);}return new Promise(_0x2d0b8a=>{const _0x4fd435={_0x1bb629:0xee},_0x2fae2e={_0x12a01b:0x409,_0x16d52b:0x34f},_0x93410f={_0x155e80:0xd3},_0x2afa5b={_0x8eb866:0x6f,_0xa54e76:0x16c},_0x4c2a36={_0x15cf66:0x64};let _0x4e9bbc=![];const _0x5565e9=_0x234c94=>{if(_0x4e9bbc)return;_0x4e9bbc=!![],_0x2d0b8a(_0x234c94);};let _0x3d2e4d;function _0x5128af(_0x33f645,_0x529128,_0x101fd3,_0xf2afc0){return _0xc8c0da(_0x33f645-0x176,_0x101fd3-0x23f,_0x101fd3-_0x4c2a36._0x15cf66,_0xf2afc0);}try{const _0x7b97f=['/PID',String(_0x4a8f45['rootPid']),'/T'];if(_0x2957ad===_0x5128af(_0xcc1a8d._0xc8f752,_0xcc1a8d._0x202de8,_0xcc1a8d._0x22310f,_0xcc1a8d._0x26105a))_0x7b97f['push']('/F');_0x3d2e4d=_0x4a951c('taskkill',_0x7b97f,{'stdio':_0x4af948(0x365,0x3e6,0x506,_0xcc1a8d._0x255f0f),'windowsHide':!![]});}catch(_0xe803f5){_0x5565e9({'outcome':_0x4af948(0x424,_0xcc1a8d._0x3842f0,_0xcc1a8d._0x1398d8,_0xcc1a8d._0x506e6d),'error':errorMessage(_0xe803f5)});return;}function _0x4af948(_0x4b93c6,_0x8b1d4b,_0x57774c,_0x15bf61){return _0x30ed0b(_0x4b93c6-_0x2afa5b._0x8eb866,_0x15bf61-0x465,_0x57774c-_0x2afa5b._0xa54e76,_0x57774c);}_0x3d2e4d[_0x4af948(0x63f,_0xcc1a8d._0xf339e1,_0xcc1a8d._0x4058d5,_0xcc1a8d._0x2e72a1)](_0x4af948(0x4f3,0x498,0x3ef,0x4aa),_0x255c82=>{function _0x246f11(_0x4458db,_0x3d0b0e,_0x13e0eb,_0x381459){return _0x5128af(_0x4458db-0x1d4,_0x3d0b0e-0x11d,_0x13e0eb-_0x93410f._0x155e80,_0x381459);}_0x5565e9(isNotFound(_0x255c82)?{'outcome':_0x246f11(0x384,_0x2fae2e._0x12a01b,_0x2fae2e._0x16d52b,0x320),'error':errorMessage(_0x255c82)}:{'outcome':'failed','error':errorMessage(_0x255c82)});}),_0x3d2e4d[_0x5128af(_0xcc1a8d._0xe2b6c0,0x488,_0xcc1a8d._0x48fa6a,0x536)](_0x5128af(0x4c9,0x58f,0x41a,0x480),_0x444202=>{const _0xbb9488={_0xa3f1f1:0xb};function _0x4549df(_0x791a46,_0x248b3f,_0xbfb3cc,_0xaca498){return _0x4af948(_0x791a46-_0xbb9488._0xa3f1f1,_0x248b3f-0xa9,_0xaca498,_0x791a46- -0x473);}function _0xc68194(_0x46b2e7,_0x586273,_0x26c226,_0x52a756){return _0x4af948(_0x46b2e7-_0x4fd435._0x1bb629,_0x586273-0x68,_0x586273,_0x26c226-0x151);}_0x5565e9(_0x444202===0x0?{'outcome':_0x4549df(-_0x463dce._0x506876,-0x135,-_0x463dce._0xdc240f,-_0x463dce._0x4dc9e2)}:{'outcome':'failed','error':_0xc68194(0x8c1,_0x463dce._0x323f5c,0x738,_0x463dce._0x3c5707)+String(_0x444202)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x5d42a9){const _0x2087f7={_0x113cfd:0x97,_0x6eea9a:0x211,_0x541ebb:0xb1},_0x3e6f39={_0x509e29:0x14,_0xf3e764:0xc0},_0x3e45b1=_0x5d42a9[_0x147412(_0x2087f7._0x113cfd,-0x5a,_0x2087f7._0x6eea9a,_0x2087f7._0x541ebb)](0x0)??0x0;function _0x147412(_0x2b1b07,_0x200903,_0x4bf4f2,_0x1672d8){return _0x4a0aa5(_0x200903,_0x1672d8- -0x360,_0x4bf4f2-_0x3e6f39._0x509e29,_0x1672d8-_0x3e6f39._0xf3e764);}return _0x3e45b1<0x20&&_0x5d42a9!=='\x09'||_0x3e45b1>=0x7f&&_0x3e45b1<=0x9f||_0x3e45b1===0xa0||_0x3e45b1>=0x200b&&_0x3e45b1<=0x200f||_0x3e45b1>=0x2060&&_0x3e45b1<=0x2069||_0x3e45b1===0x23ce||_0x3e45b1===0x2424;}function createTerminalOutputNormalizer(){const _0xe9e3d={_0x1af17c:0x81f},_0x427271={_0x20c0ad:0x37d},_0x4b7593={_0x3813aa:0xd8},_0x3e10db={_0x1405f9:0x52a,_0x2ac91c:0x38b,_0x2571f6:0x3d2,_0x4bbaad:0x20b,_0x19f149:0x396,_0x243b0d:0x531,_0xafff65:0x21a,_0x2117d4:0x3dd,_0x359578:0x1e7,_0x257d99:0x5c9,_0x1b4ae9:0x6d6,_0x6d803d:0x5c7,_0x554987:0x75c,_0x4d529b:0x74b,_0x5cc1a7:0x271,_0x5853e9:0xca,_0x113bf4:0x539,_0x516355:0x642,_0x3122e2:0x69e,_0x5d58ba:0x58c,_0x55aa01:0x3ce,_0x505606:0x2fa,_0x1fc546:0x3c9,_0x415a0a:0x2c6,_0x59388d:0x329,_0x28d6e9:0x5ca},_0x367f18={_0x26084e:0x96,_0x4be561:0x128},_0x318607={_0x25c90d:0x1ba},_0x257842={_0x2efc18:0xa5},_0x5d88e4={_0x4bc02e:0x387,_0x38571b:0x3bc,_0x143c0b:0x310,_0x4fbcd7:0x748,_0x270e02:0x676,_0x20424c:0x6f3},_0xfe79b8={_0x2f9d7c:0x9a},_0x51ca56={_0x54c4df:0x92,_0x515bea:0x1da};let _0x343dae=_0x4763b8(0x6db,0x61d,_0xe9e3d._0x1af17c,0x5da),_0x27e66f=![],_0x5130ea=![],_0x1614fe=[],_0x2eede9=0x0;function _0x4763b8(_0x1465ff,_0x4ea0be,_0x2885e8,_0x43bcc0){return _0x4a0aa5(_0x43bcc0,_0x1465ff-_0x51ca56._0x54c4df,_0x2885e8-0x12e,_0x43bcc0-_0x51ca56._0x515bea);}let _0xfb661=![];const _0x462f7f=()=>{_0x1614fe=[],_0x2eede9=0x0;},_0x30fb3d=_0x3c8e82=>{const _0x4d5c07={_0x3f203b:0x1bc};_0x1614fe[_0x34add8(0x50d,_0x5d88e4._0x4bc02e,0x597,0x536)](_0x3c8e82);function _0x34add8(_0x134d06,_0x1f3aae,_0x2a6bfc,_0x337738){return _0x4763b8(_0x2a6bfc-0x147,_0x1f3aae-_0x4d5c07._0x3f203b,_0x2a6bfc-0x8,_0x134d06);}_0x2eede9+=_0x3c8e82[_0x19ea16(_0x5d88e4._0x38571b,0x32f,_0x5d88e4._0x143c0b,0x1c1)];function _0x19ea16(_0x4f5b41,_0x358a63,_0x16ab5b,_0x243f61){return _0x4763b8(_0x358a63- -0x40c,_0x358a63-_0xfe79b8._0x2f9d7c,_0x16ab5b-0xd4,_0x16ab5b);}while(_0x2eede9>MAX_PROGRESS_LINE_CHARS){const _0x43e416=_0x1614fe['shift']();if(_0x43e416===void 0x0)break;_0x2eede9-=_0x43e416[_0x34add8(_0x5d88e4._0x4fbcd7,_0x5d88e4._0x270e02,0x882,_0x5d88e4._0x20424c)];}},_0x5dc0df=_0x54bae1=>{const _0x20aab1={_0x48bb69:0x664},_0x498119=_0x1614fe[_0x575029(-0x51,-_0x257842._0x2efc18,-0x221,-0x192)]('')+(_0x54bae1?'\x0a':'');_0x462f7f();function _0x575029(_0x12a912,_0x3549a8,_0x53ff50,_0x35a74f){return _0x4763b8(_0x3549a8- -_0x20aab1._0x48bb69,_0x3549a8-0x2b,_0x53ff50-0xc6,_0x53ff50);}return _0x498119;},_0x369109=_0x456dbf=>{if(_0xfb661)throw new Error('Terminal\x20output\x20normalizer\x20has\x20ended');let _0x52cde7='';for(const _0x2e6f01 of _0x456dbf){if(_0x343dae===_0x3de010(0x5a5,_0x3e10db._0x1405f9,0x67c,0x555)){const _0x50708d=_0x2e6f01['codePointAt'](0x0)??0x0;if(_0x50708d>=0x40&&_0x50708d<=0x7e)_0x343dae='text';continue;}if(_0x343dae===_0x3de010(0x1f9,_0x3e10db._0x2ac91c,_0x3e10db._0x2571f6,_0x3e10db._0x4bbaad)||_0x343dae===_0x4d7c7b(0x25c,_0x3e10db._0x19f149,_0x3e10db._0x243b0d,_0x3e10db._0xafff65)){if(_0x27e66f){_0x2e6f01==='\x5c'?(_0x343dae='text',_0x27e66f=![]):_0x27e66f=_0x2e6f01===ESC;continue;}if(_0x2e6f01===ESC)_0x27e66f=!![];else _0x343dae==='osc'&&_0x2e6f01===BEL&&(_0x343dae=_0x4d7c7b(0x230,_0x3e10db._0x2117d4,0x2f3,_0x3e10db._0x359578));continue;}if(_0x343dae===_0x3de010(0x77b,_0x3e10db._0x257d99,_0x3e10db._0x1b4ae9,0x595)){if(_0x2e6f01==='[')_0x343dae=_0x3de010(_0x3e10db._0x6d803d,_0x3e10db._0x554987,0x67c,_0x3e10db._0x4d529b);else{if(_0x2e6f01===']')_0x343dae=_0x4d7c7b(_0x3e10db._0x5cc1a7,_0x3e10db._0x5853e9,0x202,0x223),_0x27e66f=![];else _0x2e6f01==='P'||_0x2e6f01==='_'||_0x2e6f01==='^'?(_0x343dae=_0x3de010(_0x3e10db._0x113bf4,_0x3e10db._0x516355,_0x3e10db._0x3122e2,0x4e5),_0x27e66f=![]):_0x343dae=_0x4d7c7b(_0x3e10db._0x5d58ba,0x3dd,0x1d7,0x4ee);}continue;}if(_0x5130ea){_0x5130ea=![];if(_0x2e6f01==='\x0a'){_0x52cde7+=_0x5dc0df(!![]);continue;}_0x462f7f();}if(_0x2e6f01===ESC)_0x343dae=_0x4d7c7b(0x291,_0x3e10db._0x55aa01,0x374,_0x3e10db._0x505606);else{if(_0x2e6f01==='\x0d')_0x5130ea=!![];else{if(_0x2e6f01==='\x0a')_0x52cde7+=_0x5dc0df(!![]);else{if(_0x2e6f01==='\x08'){const _0x4abb8c=_0x1614fe[_0x4d7c7b(0x538,0x386,_0x3e10db._0x1fc546,_0x3e10db._0x415a0a)]();if(_0x4abb8c!==void 0x0)_0x2eede9-=_0x4abb8c[_0x4d7c7b(_0x3e10db._0x59388d,0x43d,_0x3e10db._0x28d6e9,0x243)];}else!isDiscardedTextControl(_0x2e6f01)&&_0x30fb3d(_0x2e6f01);}}}}function _0x4d7c7b(_0x41a1fc,_0x2d790a,_0x151485,_0x1d86d9){return _0x4763b8(_0x2d790a- -0x2fe,_0x2d790a-0x2d,_0x151485-_0x318607._0x25c90d,_0x41a1fc);}function _0x3de010(_0x1358df,_0x374057,_0x4445a2,_0x15e64f){return _0x4763b8(_0x4445a2-0xa,_0x374057-_0x367f18._0x26084e,_0x4445a2-_0x367f18._0x4be561,_0x1358df);}return _0x52cde7;};return{'write':_0x369109,'end'(){if(_0xfb661)return'';_0xfb661=!![];function _0x57b33b(_0x1a9b7a,_0x2e4926,_0x504618,_0x5cd9bf){return _0x4763b8(_0x5cd9bf- -0x35e,_0x2e4926-_0x4b7593._0x3813aa,_0x504618-0xb4,_0x2e4926);}return _0x5130ea=![],_0x343dae=_0x57b33b(0x2d2,0x1f6,0x482,_0x427271._0x20c0ad),_0x27e66f=![],_0x5dc0df(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0x399f40){const _0x4e0e50={_0x439429:0x2c},_0x2ba280={_0x4a8085:0x558,_0x119bdc:0x1f3,_0x248b1d:0x2a},_0x52f4dc={_0x40406c:0x67};super(_0x136606(-0x1c3,-0x2cf,-0x41,-0x125));function _0x2c194a(_0x3ee904,_0x2f6cc1,_0x40fff8,_0x570bd0){return _0x38b1c5(_0x3ee904-0xa4,_0x2f6cc1-_0x52f4dc._0x40406c,_0x2f6cc1- -0x349,_0x3ee904);}this['results']=_0x399f40;function _0x136606(_0x5731f9,_0xc72515,_0x177fd3,_0x4d2abc){return _0x4a0aa5(_0x177fd3,_0x5731f9- -_0x2ba280._0x4a8085,_0x177fd3-_0x2ba280._0x119bdc,_0x4d2abc-_0x2ba280._0x248b1d);}this[_0x136606(_0x4e0e50._0x439429,0x219,-0x169,0x103)]='BackgroundProcessCleanupError';}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x85238){const _0x33f82b={_0xa48577:0x2fe,_0x1151f9:0xf0,_0x193e5c:0x4a0,_0x4a50f7:0x3e6,_0x893827:0x5b9},_0x5370a4={_0x4f364a:0xff,_0x26425e:0xf3,_0x5ed996:0x259},_0x109518={_0x4d58af:0x1c9};function _0x31e6e9(_0x519465,_0x4f8cd5,_0x3a0588,_0x5aefd9){return _0x4a0aa5(_0x3a0588,_0x519465- -0x504,_0x3a0588-0x1a,_0x5aefd9-_0x109518._0x4d58af);}function _0x567439(_0x208d85,_0x4cb170,_0x3c464a,_0x465462){return _0x38b1c5(_0x208d85-_0x5370a4._0x4f364a,_0x4cb170-_0x5370a4._0x26425e,_0x4cb170- -_0x5370a4._0x5ed996,_0x3c464a);}return _0x85238===_0x567439(0x1a8,_0x33f82b._0xa48577,_0x33f82b._0x1151f9,0x284)||_0x85238===_0x567439(0x590,0x415,_0x33f82b._0x193e5c,0x59c)||_0x85238===_0x567439(0x528,_0x33f82b._0x4a50f7,_0x33f82b._0x893827,0x416);}var BackgroundProcessRegistry=class{[_0x4a0aa5(0x528,0x686,0x799,0x59d)]=new Map();[_0x4a0aa5(0x5aa,0x3df,0x3d9,0x30c)]=new Map();[_0x4a0aa5(0x5ed,0x5fc,0x69c,0x682)];[_0x38b1c5(0x6ba,0x667,0x4d1,0x2e0)];[_0x4a0aa5(0x2e9,0x463,0x51d,0x51c)];[_0x4a0aa5(0x8c2,0x74e,0x957,0x807)];[_0x4a0aa5(0x506,0x585,0x4a7,0x791)];[_0x38b1c5(0x4e3,0x320,0x404,0x452)]=0x0;constructor(_0x49a1d3={}){const _0x5de729={_0x21ad15:0x1b8,_0x483fa9:0x39f,_0x4f9598:0x21c,_0x53b3fd:0x34d,_0x56335c:0x206,_0x23f906:0x4f1,_0xf50210:0x34e,_0x47f2ae:0x50a,_0x1c8a75:0x38e,_0x6c6624:0x37f,_0x41bde0:0x328,_0x3f04cf:0x23c,_0x5c367c:0x328,_0x1b1db8:0x4e9,_0x172f8e:0x375},_0x3e0d52={_0x1a76f2:0x186,_0x31b33b:0x31b},_0x411e90={_0x855224:0xda,_0x3c626d:0x31b};function _0x24a78b(_0x1d1ec1,_0x263397,_0x474aaa,_0x311f7f){return _0x38b1c5(_0x1d1ec1-_0x411e90._0x855224,_0x263397-0x181,_0x474aaa- -_0x411e90._0x3c626d,_0x311f7f);}this['maxConcurrent']=_0x49a1d3[_0x517ec2(_0x5de729._0x21ad15,_0x5de729._0x483fa9,0x1f2,_0x5de729._0x4f9598)]??0xa;function _0x517ec2(_0x1266d4,_0x1e9b9b,_0x25a7ff,_0x33c623){return _0x38b1c5(_0x1266d4-_0x3e0d52._0x1a76f2,_0x1e9b9b-0xcc,_0x1e9b9b- -_0x3e0d52._0x31b33b,_0x25a7ff);}this[_0x517ec2(0x147,0x1b6,0xb7,_0x5de729._0x53b3fd)]=_0x49a1d3[_0x24a78b(0x272,0x352,0x1b6,0x25f)]??0x40,this['capChars']=_0x49a1d3[_0x24a78b(-0xb,0xb3,_0x5de729._0x56335c,0x6b)]??0x100000,this[_0x517ec2(0x5e7,_0x5de729._0x23f906,_0x5de729._0xf50210,_0x5de729._0x47f2ae)]=_0x49a1d3['platform']??process['platform'],this[_0x24a78b(_0x5de729._0x1c8a75,_0x5de729._0x6c6624,_0x5de729._0x41bde0,0x313)]=_0x49a1d3[_0x517ec2(_0x5de729._0x3f04cf,_0x5de729._0x5c367c,_0x5de729._0x1b1db8,0x3c2)]??createProcessTreeSignalAdapter({'platform':this[_0x24a78b(0x472,0x649,0x4f1,_0x5de729._0x172f8e)]});}[_0x4a0aa5(0x42d,0x384,0x444,0x25f)](){const _0x43d81b={_0x2fbf03:0x615,_0x32e8d8:0x628,_0x47f128:0x4f2,_0x196055:0x35e,_0x289887:0x51b,_0x18e2d6:0x1c0,_0x12de27:0x549,_0x24e701:0x6b7,_0x523903:0x3fe,_0x43bc86:0x4d2,_0x5cf652:0x4ce,_0x71a3fd:0x838,_0x4083b8:0x561,_0x1b0d9a:0x5a7,_0x20771b:0x61d,_0x55ef5e:0x44f,_0x4489a7:0x726,_0x1f690b:0x629,_0x228647:0x4fa,_0x825676:0x799,_0x37b28d:0x464,_0x2c4096:0x5f1,_0x5260a5:0x6b5},_0x1f4917={_0x22181e:0x131},_0x1dbff6=[...this['entries'][_0x574f8c(0x5c0,_0x43d81b._0x2fbf03,0x694,_0x43d81b._0x32e8d8)]()][_0x4ece0c(_0x43d81b._0x47f128,_0x43d81b._0x196055,_0x43d81b._0x289887,_0x43d81b._0x18e2d6)](_0x14a144=>!_0x14a144[_0x574f8c(0x699,0x9bf,0x7df,0x8f7)]);if(_0x1dbff6[_0x4ece0c(_0x43d81b._0x12de27,0x6ca,_0x43d81b._0x24e701,0x671)]+this[_0x574f8c(_0x43d81b._0x523903,0x58d,_0x43d81b._0x43bc86,_0x43d81b._0x5cf652)]['size']>=this['maxConcurrent'])throw new ToolExecutionError(_0x574f8c(0x7df,_0x43d81b._0x71a3fd,0x6ad,_0x43d81b._0x4083b8)+this[_0x4ece0c(_0x43d81b._0x1b0d9a,_0x43d81b._0x20771b,_0x43d81b._0x55ef5e,0x780)]+_0x4ece0c(_0x43d81b._0x4489a7,0x537,0x45b,_0x43d81b._0x1f690b),{'running':this[_0x4ece0c(0x713,_0x43d81b._0x20771b,_0x43d81b._0x228647,_0x43d81b._0x825676)]});function _0x4ece0c(_0x71f016,_0x4a1a84,_0x4587b9,_0x123f6c){return _0x38b1c5(_0x71f016-_0x1f4917._0x22181e,_0x4a1a84-0x187,_0x4a1a84- -0x9d,_0x123f6c);}const _0x46961d=Object[_0x574f8c(_0x43d81b._0x37b28d,0x48b,0x5d5,0x72f)]({'id':_0x2d199d()});function _0x574f8c(_0x31ad86,_0x30723d,_0x49f548,_0x5aa049){return _0x4a0aa5(_0x5aa049,_0x49f548-0xf3,_0x49f548-0x114,_0x5aa049-0x7c);}return this['reservations'][_0x4ece0c(0x602,_0x43d81b._0x2c4096,_0x43d81b._0x5260a5,0x792)](_0x46961d['id'],_0x46961d),_0x46961d;}[_0x4a0aa5(0x469,0x345,0x4c4,0x25c)](_0x214161){const _0x211722={_0x2e6fd8:0x222,_0x4d7adb:0x5b6,_0x2dbfdb:0x6bb,_0x35901a:0x4c3,_0x2bb65d:0x546,_0x49fd09:0xe0,_0x44e1ef:0x213},_0x5afce9={_0x4a6384:0x14a,_0x38ac69:0x121,_0x541517:0x26},_0x44280c={_0x1b9f67:0x16d};function _0x4a2e88(_0x9b1610,_0x20c1cc,_0x2da1e9,_0x2e28a3){return _0x38b1c5(_0x9b1610-_0x44280c._0x1b9f67,_0x20c1cc-0x15e,_0x2da1e9- -0x27b,_0x2e28a3);}function _0x5856e4(_0x53a8f9,_0x3428d6,_0x172591,_0x419f35){return _0x38b1c5(_0x53a8f9-_0x5afce9._0x4a6384,_0x3428d6-_0x5afce9._0x38ac69,_0x53a8f9-_0x5afce9._0x541517,_0x172591);}this[_0x4a2e88(0x21d,0x135,_0x211722._0x2e6fd8,0xaa)][_0x5856e4(0x4ff,0x6bf,_0x211722._0x4d7adb,_0x211722._0x2dbfdb)](_0x214161['id'])===_0x214161&&this[_0x5856e4(_0x211722._0x35901a,0x3c5,_0x211722._0x2bb65d,0x432)][_0x4a2e88(_0x211722._0x49fd09,0x323,0x273,_0x211722._0x44e1ef)](_0x214161['id']);}['attach'](_0x222bd3,_0x33da73){const _0x4f3de3={_0x3529b4:0x341,_0x370a9b:0x3ee,_0x7b270e:0x2ee,_0x57675e:0x5a,_0x525eee:0x2c0,_0x1ed139:0x3fa,_0x5f5757:0x3b0,_0x172f5c:0x479,_0xff765c:0x52f,_0x565c24:0x438,_0x117f03:0x501,_0xb24de0:0x407,_0xba00bf:0x38d,_0x217044:0x289,_0x587cc3:0x2b6,_0x58b2dc:0x23f,_0x4fa53c:0x2f2,_0x57e816:0x416,_0xc649db:0x57f,_0x3aad2f:0x61f,_0x5d991b:0x36f,_0x5cea97:0x34c,_0x475acf:0x194,_0x540d1d:0x271,_0xd235ef:0x280,_0x2e9ac2:0x314,_0x5c4eb6:0x67f,_0x3deef1:0x4ec,_0x42b9af:0x1b8,_0x34f713:0x4da,_0x8cece4:0x2de,_0x466dfd:0x3c9,_0x421547:0x33f,_0x19de94:0x4d8,_0x37c643:0x164,_0x4d496f:0x35e,_0x4cb6ed:0x537,_0x286040:0x4f0,_0x96cbb6:0x20f,_0x196756:0x157,_0x499666:0x67f,_0x4ea192:0x5a4,_0x36b7a7:0x41d,_0xed2569:0x24a,_0x4de342:0x46c,_0xb0aafb:0x521,_0xfca26:0x455,_0x448c77:0x3a5},_0x4c8b7d={_0x5a5c0b:0x2db,_0x377528:0x12c,_0x523091:0x13f,_0x41cf5d:0x28c,_0x2655d8:0xf5,_0x98b04e:0x1eb,_0x10835f:0x458,_0x2c2360:0x3c2,_0x3eadb9:0x134,_0x595ef7:0x2b1,_0x20fef2:0xc5,_0x259530:0x22c,_0x3f06c4:0x267,_0xba53ca:0x264,_0x19a48d:0xbf,_0x471274:0x145},_0x5af2a4={_0x2bb66c:0x4a0,_0x20818d:0x31d,_0x48f738:0x64},_0x42b6cd={_0x55a646:0x8},_0x594214={_0x35c92e:0x9d,_0x330b6a:0xb8,_0x3a9bd6:0x25},_0x2b048c={_0x4292dc:0x1},_0x199653={_0x51a107:0x40f,_0x5bb4d5:0x723,_0x262725:0x638},_0x45e50c={_0x4703ee:0x20d},_0x1be5bf={_0x3bd8f9:0xa3},_0x5f19c0={_0x196266:0x372,_0x6eb79b:0x126};if(this[_0x2da588(_0x4f3de3._0x3529b4,0x3fa,_0x4f3de3._0x370a9b,_0x4f3de3._0x7b270e)][_0x13287e(0xa9,-_0x4f3de3._0x57675e,-0xcd,0x1b6)](_0x222bd3['id'])!==_0x222bd3)throw new ToolExecutionError('Background\x20process\x20reservation\x20is\x20missing\x20or\x20already\x20consumed',{'reservationId':_0x222bd3['id']});function _0x13287e(_0x555406,_0x31e971,_0x559dbc,_0x1bb57c){return _0x4a0aa5(_0x31e971,_0x555406- -_0x5f19c0._0x196266,_0x559dbc-_0x5f19c0._0x6eb79b,_0x1bb57c-0x12);}this[_0x2da588(_0x4f3de3._0x525eee,_0x4f3de3._0x1ed139,0x2f2,0x5e4)][_0x2da588(0x320,0x44b,0x61d,0x4e2)](_0x222bd3['id']);let _0x2aa26e;const _0xd77029=new Promise(_0x448daf=>{_0x2aa26e=_0x448daf;}),_0x23bb16=_0x2da588(_0x4f3de3._0x370a9b,0x39e,0x2aa,_0x4f3de3._0x5f5757)+ ++this['counter']+'-'+_0x2d199d()[_0x2da588(_0x4f3de3._0x172f5c,_0x4f3de3._0xff765c,0x528,_0x4f3de3._0x565c24)](0x0,0x8),_0x58ebc2={'shellId':_0x23bb16,'command':_0x33da73[_0x13287e(0x318,_0x4f3de3._0x117f03,_0x4f3de3._0xb24de0,_0x4f3de3._0xba00bf)],'cwd':_0x33da73[_0x13287e(_0x4f3de3._0x217044,_0x4f3de3._0x587cc3,0x260,_0x4f3de3._0x58b2dc)],'pid':_0x33da73[_0x13287e(_0x4f3de3._0x4fa53c,0x202,0x2eb,0x2eb)][_0x2da588(_0x4f3de3._0x57e816,0x4b5,_0x4f3de3._0xc649db,_0x4f3de3._0x3aad2f)],'processGroupId':_0x33da73[_0x13287e(0x26d,_0x4f3de3._0x5d991b,0x24a,_0x4f3de3._0x5cea97)],'status':'running','exitCode':null,'signal':null,'startedAt':Date['now'](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x33da73[_0x13287e(_0x4f3de3._0x4fa53c,_0x4f3de3._0x475acf,_0x4f3de3._0x540d1d,_0x4f3de3._0xd235ef)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder('utf8'),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x33da73['stripAnsi'],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0xd77029,'resolveTerminal':_0x2aa26e,'terminationSettled':![]};this[_0x13287e(_0x4f3de3._0x2e9ac2,0x429,0x218,0x283)]['set'](_0x23bb16,_0x58ebc2);function _0x2da588(_0x3585ce,_0xe96306,_0x25405f,_0x22f898){return _0x38b1c5(_0x3585ce-0x87,_0xe96306-0xd0,_0xe96306- -_0x1be5bf._0x3bd8f9,_0x22f898);}try{_0x33da73[_0x2da588(0x76c,_0x4f3de3._0x5c4eb6,_0x4f3de3._0x3deef1,0x55e)][_0x13287e(0x391,_0x4f3de3._0x42b9af,_0x4f3de3._0x34f713,0x430)]?.['on']('data',_0x31a2c8=>{const _0x4db2c1={_0x3498e7:0x1de};function _0x4349cb(_0x45a541,_0x4a9a53,_0x134ca4,_0x51c105){return _0x2da588(_0x45a541-0x1e2,_0x51c105- -0x2b0,_0x134ca4-_0x4db2c1._0x3498e7,_0x4a9a53);}this['appendDecoded'](_0x58ebc2,_0x58ebc2['stdoutDecoder'],_0x58ebc2[_0x4349cb(0x217,0x2a5,0x3f0,_0x45e50c._0x4703ee)],_0x31a2c8);}),_0x33da73['child']['stderr']?.['on']('data',_0x3aa385=>{const _0x572f63={_0x16bdf3:0x1e3,_0x3abc81:0x28},_0x54b36c={_0x2a3a02:0x172};function _0x294b3c(_0x3ae5b8,_0x26d81d,_0x3e79b,_0x5152aa){return _0x13287e(_0x5152aa-0x44f,_0x26d81d,_0x3e79b-_0x54b36c._0x2a3a02,_0x5152aa-0x16e);}function _0x3fe208(_0x3361a3,_0x463bde,_0xbcbd8c,_0x17a99a){return _0x2da588(_0x3361a3-_0x572f63._0x16bdf3,_0xbcbd8c- -0x204,_0xbcbd8c-_0x572f63._0x3abc81,_0x463bde);}this[_0x3fe208(0x2d1,_0x199653._0x51a107,0x4b8,0x492)](_0x58ebc2,_0x58ebc2['stderrDecoder'],_0x58ebc2[_0x294b3c(_0x199653._0x5bb4d5,0x79e,0x78e,_0x199653._0x262725)],_0x3aa385);}),_0x33da73[_0x13287e(_0x4f3de3._0x4fa53c,_0x4f3de3._0x8cece4,0x3f9,_0x4f3de3._0x466dfd)][_0x13287e(_0x4f3de3._0x421547,0x4b5,_0x4f3de3._0x19de94,0x2bc)](_0x13287e(_0x4f3de3._0x37c643,_0x4f3de3._0x4d496f,0x51,0x68),(_0x427a51,_0x447ea4)=>{_0x58ebc2['processExited']=!![],_0x58ebc2['exitCode']=_0x427a51;function _0x502883(_0x221ca2,_0x3ee96f,_0x4aa61b,_0x2f534b){return _0x2da588(_0x221ca2-0x1e4,_0x3ee96f- -0x405,_0x4aa61b-_0x2b048c._0x4292dc,_0x2f534b);}_0x58ebc2[_0x502883(-0x226,-_0x594214._0x35c92e,_0x594214._0x330b6a,_0x594214._0x3a9bd6)]=_0x447ea4;}),_0x33da73['child'][_0x2da588(_0x4f3de3._0x4cb6ed,0x6cc,_0x4f3de3._0x286040,0x86d)](_0x13287e(_0x4f3de3._0x96cbb6,_0x4f3de3._0x196756,0x263,0x2a8),_0x5124c4=>{const _0xebf2d2={_0x508576:0x3,_0x5c6e1c:0x3b0,_0x22b1a8:0x199};_0x58ebc2[_0x1f0086(_0x5af2a4._0x2bb66c,_0x5af2a4._0x20818d,0x47c,0x461)]=_0x5124c4['message'];function _0x5427a2(_0x455e7a,_0x5e650f,_0x3d2a02,_0x5766e6){return _0x2da588(_0x455e7a-_0xebf2d2._0x508576,_0x5e650f- -_0xebf2d2._0x5c6e1c,_0x3d2a02-_0xebf2d2._0x22b1a8,_0x5766e6);}function _0x1f0086(_0x56270c,_0x842c37,_0x546c25,_0x50b2ed){return _0x2da588(_0x56270c-0x3e,_0x50b2ed- -0x13b,_0x546c25-_0x42b6cd._0x55a646,_0x842c37);}_0x58ebc2['status']=_0x5427a2(0x2d6,0x1ec,_0x5af2a4._0x48f738,0x1fd);}),_0x33da73[_0x2da588(0x7b4,_0x4f3de3._0x499666,0x5b9,_0x4f3de3._0x4ea192)][_0x13287e(_0x4f3de3._0x421547,0x2ce,0x4ba,_0x4f3de3._0x36b7a7)]('close',(_0x5c8222,_0x5937f0)=>{const _0x186afa={_0x5c276b:0x11c,_0x558c22:0x27},_0x33a5f7={_0x277fad:0x14b,_0x507a1c:0xef};function _0x2950ab(_0x3a08f7,_0x4b010e,_0xb73bef,_0x42ba63){return _0x13287e(_0x3a08f7-_0x33a5f7._0x277fad,_0xb73bef,_0xb73bef-_0x33a5f7._0x507a1c,_0x42ba63-0x41);}_0x58ebc2[_0x5aae47(0x1ee,_0x4c8b7d._0x5a5c0b,0x204,0x271)]=_0x5c8222,_0x58ebc2[_0x5aae47(-0x1e3,-0x44,-_0x4c8b7d._0x377528,-_0x4c8b7d._0x523091)]=_0x5937f0,_0x58ebc2[_0x5aae47(_0x4c8b7d._0x41cf5d,_0x4c8b7d._0x2655d8,_0x4c8b7d._0x98b04e,0xf)]=null;function _0x5aae47(_0x52a179,_0x4a865e,_0xc71666,_0x4c6ef4){return _0x13287e(_0xc71666- -0x107,_0x4c6ef4,_0xc71666-_0x186afa._0x5c276b,_0x4c6ef4-_0x186afa._0x558c22);}_0x58ebc2[_0x5aae47(-0x216,-0xc5,-0xc5,-0x1b2)]!==_0x2950ab(0x35a,0x30f,_0x4c8b7d._0x10835f,_0x4c8b7d._0x2c2360)&&(_0x58ebc2[_0x5aae47(_0x4c8b7d._0x3eadb9,-_0x4c8b7d._0x595ef7,-_0x4c8b7d._0x20fef2,-_0x4c8b7d._0x259530)]=_0x58ebc2[_0x5aae47(0x145,_0x4c8b7d._0x3f06c4,0x1cd,_0x4c8b7d._0xba53ca)]?'killed':_0x2950ab(0x272,0xa0,_0x4c8b7d._0x19a48d,0x2e1)),this[_0x5aae47(-0x30f,0x65,-_0x4c8b7d._0x471274,-0x197)](_0x58ebc2);});}catch(_0x3787ba){this['entries'][_0x13287e(0xbe,0x260,0x107,_0x4f3de3._0xed2569)](_0x23bb16);throw _0x3787ba;}return this[_0x2da588(_0x4f3de3._0x4de342,_0x4f3de3._0xb0aafb,_0x4f3de3._0xfca26,_0x4f3de3._0x448c77)](),_0x58ebc2;}[_0x38b1c5(0x356,0x60c,0x4ae,0x61e)](_0x495aa8){const _0x5d13ce={_0x3a14a1:0x7f,_0x466cef:0x26e,_0x20c667:0x2,_0x4ee70b:0x104,_0x2520a5:0x549,_0x2011da:0x568,_0x3a2c1f:0x4ce,_0x4a6725:0x210,_0x5ce483:0x23e,_0xe0015d:0x619,_0x445afd:0x74c,_0x4fedeb:0x6c2},_0x1041bd={_0x346cef:0x81,_0xa3b38:0x13},_0x3a8b20={_0x5de03f:0x6f,_0x4e8fc4:0x85},_0x3d80a1=this[_0xedc2a5(-_0x5d13ce._0x3a14a1,_0x5d13ce._0x466cef,-_0x5d13ce._0x20c667,_0x5d13ce._0x4ee70b)]();function _0xd9f0f5(_0x1ab348,_0x49eef7,_0x4a7c55,_0x4569dd){return _0x4a0aa5(_0x4a7c55,_0x1ab348-_0x3a8b20._0x5de03f,_0x4a7c55-0x165,_0x4569dd-_0x3a8b20._0x4e8fc4);}function _0xedc2a5(_0x441094,_0x1b570a,_0x38bb12,_0x43b135){return _0x38b1c5(_0x441094-_0x1041bd._0x346cef,_0x1b570a-_0x1041bd._0xa3b38,_0x43b135- -0x33e,_0x441094);}try{return this[_0xd9f0f5(_0x5d13ce._0x2520a5,0x625,_0x5d13ce._0x2011da,0x667)](_0x3d80a1,{..._0x495aa8,...this[_0xedc2a5(0x42f,0x3d4,0x32f,_0x5d13ce._0x3a2c1f)]===_0xedc2a5(_0x5d13ce._0x4a6725,0x60,0x2df,_0x5d13ce._0x5ce483)?{}:{'processGroupId':_0x495aa8[_0xd9f0f5(0x6d3,_0x5d13ce._0xe0015d,_0x5d13ce._0x445afd,_0x5d13ce._0x4fedeb)][_0xedc2a5(0x3d,0x147,0x2f8,0x21a)]}});}catch(_0x130a32){this[_0xd9f0f5(0x3b4,0x1b6,0x30a,0x2cd)](_0x3d80a1);throw _0x130a32;}}[_0x4a0aa5(0x7cf,0x6aa,0x807,0x5ec)](_0x392db4,_0x5e2c91){const _0x478261={_0x526899:0xa2,_0x516e29:0x26,_0x2bb1fd:0x239,_0x2602f3:0x70,_0x7638fc:0x2c8,_0x19639c:0x53d,_0x7845c9:0x476,_0x10f68d:0x4d2,_0x2c878c:0x537,_0x188e9a:0x486,_0x4116db:0x4e4,_0x21d4a5:0x287,_0x417db2:0x202,_0x45b095:0x2dc,_0x42c438:0x11c,_0x453b78:0x13e,_0x1008ed:0x9d,_0x444b08:0x42b,_0x24454e:0x592,_0x5206a2:0x59d,_0x5b4b94:0x699,_0x30fa99:0x60d,_0x19442c:0x5d8,_0x207d98:0x185,_0x42e9b1:0xc9,_0x3df656:0x136,_0x4bd5fa:0x10b,_0x139a8f:0x5b,_0x1f10d9:0x5d3,_0x1bb482:0x22f,_0x245d9f:0x2b3,_0x54edfc:0x57e,_0x4d9be8:0x525,_0x51de94:0x583,_0x28935d:0x6a2,_0x3aa207:0x511,_0x2345d6:0x2d,_0x3f06d4:0x180,_0x4ddbb9:0x31f,_0x201bf6:0x65,_0x2be902:0x75,_0x41e15b:0x10b,_0x321132:0x2f2,_0x9c1dc1:0x175,_0x10442f:0xf9,_0x279c53:0x41d,_0x185ce9:0x32b,_0x4d60af:0x97,_0x2f5b67:0x64,_0xf13f26:0x8dc,_0x130153:0x571},_0x2b38dc={_0x2a5de4:0x6},_0x15aaf2={_0xbdb72b:0x4bd},_0x49a5a6=this['entries'][_0x2daf36(-0x2b3,0x98,-_0x478261._0x526899,_0x478261._0x516e29)](_0x392db4);if(!_0x49a5a6)throw new ToolExecutionError(_0x4f14de(0x7ed,0x994,0x6d4,0x800)+_0x392db4,{'shellId':_0x392db4});const _0x2edd27=_0x49a5a6['buffer'][_0x2daf36(0x18,_0x478261._0x2bb1fd,_0x478261._0x2602f3,-0xa3)](''),_0x24d346=Math['max'](_0x49a5a6[_0x4f14de(0x3b9,_0x478261._0x7638fc,_0x478261._0x19639c,_0x478261._0x7845c9)],_0x49a5a6[_0x4f14de(_0x478261._0x10f68d,_0x478261._0x2c878c,_0x478261._0x188e9a,_0x478261._0x4116db)]);function _0x2daf36(_0x48e6dc,_0x1d9012,_0x104a1c,_0x2a9a4a){return _0x4a0aa5(_0x1d9012,_0x104a1c- -_0x15aaf2._0xbdb72b,_0x104a1c-0x1af,_0x2a9a4a-0x174);}const _0x4e333f=Math[_0x2daf36(_0x478261._0x21d4a5,0x3f4,_0x478261._0x417db2,_0x478261._0x45b095)](0x0,_0x49a5a6[_0x2daf36(-_0x478261._0x42c438,-_0x478261._0x453b78,-_0x478261._0x1008ed,-0xd6)]-_0x49a5a6[_0x4f14de(_0x478261._0x444b08,_0x478261._0x24454e,_0x478261._0x5206a2,_0x478261._0x7845c9)]);function _0x4f14de(_0x24c30b,_0x29b6bc,_0x3a1fbd,_0x39e3e8){return _0x38b1c5(_0x24c30b-0x41,_0x29b6bc-0x11e,_0x39e3e8-_0x2b38dc._0x2a5de4,_0x3a1fbd);}const _0x198697=_0x2edd27[_0x4f14de(_0x478261._0x5b4b94,_0x478261._0x30fa99,0x4d7,_0x478261._0x19442c)](_0x24d346-_0x49a5a6[_0x2daf36(-_0x478261._0x207d98,_0x478261._0x42e9b1,-_0x478261._0x1008ed,-0xc6)]);let _0x995960;const _0x2e7a15=_0x5e2c91?.[_0x4f14de(0x569,0x571,0x523,0x6ab)];if(!_0x2e7a15)_0x995960=_0x198697,_0x49a5a6[_0x2daf36(-0x5d,-_0x478261._0x3df656,-_0x478261._0x4bd5fa,_0x478261._0x139a8f)]=_0x49a5a6['totalProduced'];else{let _0x2cb3fd;try{_0x2cb3fd=new RegExp(_0x2e7a15);}catch(_0x4e44bb){throw new ToolExecutionError(_0x4f14de(0x311,_0x478261._0x1f10d9,0x4ae,0x44b)+(_0x4e44bb instanceof Error?_0x4e44bb['message']:String(_0x4e44bb)),{'shellId':_0x392db4,'regex':_0x2e7a15});}let _0x4316f5=_0x198697;if(!_0x49a5a6[_0x2daf36(0x3b8,0x113,_0x478261._0x1bb482,_0x478261._0x245d9f)]){const _0x50a78f=_0x198697['lastIndexOf']('\x0a');_0x4316f5=_0x50a78f>=0x0?_0x198697[_0x4f14de(_0x478261._0x54edfc,_0x478261._0x4d9be8,0x4b9,_0x478261._0x19442c)](0x0,_0x50a78f+0x1):'';}_0x995960=_0x4316f5[_0x4f14de(0x626,_0x478261._0x51de94,_0x478261._0x28935d,_0x478261._0x3aa207)]('\x0a')[_0x2daf36(-0x38d,-_0x478261._0x2345d6,-_0x478261._0x3f06d4,-_0x478261._0x4ddbb9)](_0x32039e=>_0x2cb3fd[_0x2daf36(0x43,0x67,0x107,-0xf8)](_0x32039e))['join']('\x0a'),_0x49a5a6[_0x2daf36(-_0x478261._0x201bf6,-_0x478261._0x2be902,-_0x478261._0x41e15b,-_0x478261._0x321132)]=_0x24d346+_0x4316f5[_0x2daf36(0x38b,_0x478261._0x9c1dc1,0x1ec,_0x478261._0x10442f)];}return{'output':(_0x4e333f>0x0?_0x4f14de(0x28b,_0x478261._0x279c53,0x531,0x428)+_0x4e333f+_0x2daf36(0x24a,_0x478261._0x185ce9,0x1b1,0x57):'')+_0x995960,'status':_0x49a5a6[_0x2daf36(-_0x478261._0x4d60af,-0xec,-0x109,_0x478261._0x2f5b67)],'exitCode':_0x49a5a6[_0x4f14de(_0x478261._0xf13f26,0x757,_0x478261._0x130153,0x741)],'signal':_0x49a5a6['signal'],'error':_0x49a5a6[_0x2daf36(0x107,0x26b,0xc4,-0x7f)],'truncated':_0x4e333f>0x0};}[_0x4a0aa5(0x90d,0x701,0x6e4,0x69d)](){const _0x531374={_0x93f1b1:0x4c8,_0x22669b:0x1ed,_0x7d58f9:0x371,_0x160b8c:0x374,_0x37814a:0x1d1,_0x1c759a:0x434},_0x2b8954={_0x33ea92:0xd6,_0x21a402:0x3d3};function _0x70c83(_0x562b72,_0x1efaf2,_0x2e10b5,_0x91a516){return _0x38b1c5(_0x562b72-0xbd,_0x1efaf2-_0x2b8954._0x33ea92,_0x2e10b5- -_0x2b8954._0x21a402,_0x1efaf2);}function _0x4b1825(_0x452488,_0x2ebef2,_0x2bbab8,_0x38b2fd){return _0x38b1c5(_0x452488-0x1b4,_0x2ebef2-0x7a,_0x2bbab8- -0x48f,_0x2ebef2);}return[...this[_0x70c83(_0x531374._0x93f1b1,_0x531374._0x22669b,_0x531374._0x7d58f9,_0x531374._0x160b8c)][_0x70c83(0xc2,_0x531374._0x37814a,0x28c,_0x531374._0x1c759a)]()];}['kill'](_0x435327){const _0x531065={_0x3127f7:0x15f,_0x3da97e:0x42d,_0x1d1a0c:0x280,_0x5b6355:0xf5,_0x3976b2:0x80,_0x43cd9a:0x15,_0x56cb1f:0x78d,_0x7423fb:0x6f8,_0xfcf17:0x223,_0x28e289:0x4a2,_0x3dc610:0x30d,_0x23ad83:0x2c2,_0x229f43:0x29f,_0x52a769:0x30d,_0x56cff8:0x11d,_0x3356fd:0x3e3,_0x2d0db7:0x2e6,_0x428d7c:0x157,_0x3e6215:0x52,_0x59d69d:0x4f1,_0x664f55:0x324,_0x439fe6:0x31a,_0x1abfdd:0x328,_0x38f51e:0x494,_0x25f42a:0x5d2,_0x4f8c57:0x11c,_0xc4ef1a:0x15c,_0x3ee5fd:0x236,_0x2e5624:0x56,_0x11080b:0x38,_0x4118e7:0x240,_0x5e430b:0x39a,_0x481990:0x490,_0x317137:0x38b,_0x82a0e4:0x7b0,_0x5e6a2f:0x6dd,_0x5d8398:0x1d8,_0x59de5b:0xd5,_0x1267f6:0x714},_0x1a17ea={_0x39f5f5:0x1ee},_0x16e6ac={_0x12261d:0x1e1,_0x296c4b:0x364,_0xe85a1a:0x3e8},_0x29c20e={_0x3d9f09:0x1a4},_0x40a9d3={_0x293e7d:0x4b0},_0x7f1eb0={_0x31b880:0x9e,_0x582b99:0x533},_0x44ec04={_0x36909e:0x51,_0x435a44:0xf4,_0xf0aa72:0x159},_0x55c1de=this[_0x393d6c(_0x531065._0x3127f7,0x32d,_0x531065._0x3da97e,_0x531065._0x1d1a0c)][_0x393d6c(-_0x531065._0x5b6355,_0x531065._0x3976b2,-0x4e,_0x531065._0x43cd9a)](_0x435327);if(!_0x55c1de)throw new ToolExecutionError(_0x2095b0(0x5cc,_0x531065._0x56cb1f,_0x531065._0x7423fb,0x5db)+_0x435327,{'shellId':_0x435327});if(_0x55c1de[_0x393d6c(_0x531065._0xfcf17,_0x531065._0x28e289,0x48c,_0x531065._0x3dc610)]&&!_0x55c1de[_0x2095b0(0x423,0x490,0x522,0x588)])return _0x55c1de[_0x393d6c(_0x531065._0x23ad83,0x464,_0x531065._0x229f43,_0x531065._0x52a769)];if(_0x55c1de[_0x393d6c(_0x531065._0x56cff8,0x1ff,_0x531065._0x3356fd,_0x531065._0x2d0db7)]&&isTerminalStatus(_0x55c1de[_0x393d6c(-_0x531065._0x428d7c,-0x17f,-_0x531065._0x3e6215,-_0x531065._0x3e6215)]))return Promise[_0x2095b0(0x556,_0x531065._0x59d69d,0x4b3,_0x531065._0x664f55)](this[_0x393d6c(0x441,_0x531065._0x439fe6,0x219,_0x531065._0x1abfdd)](_0x55c1de,_0x2095b0(0x445,0x39b,_0x531065._0x38f51e,0x264)));if(_0x55c1de['status']!==_0x2095b0(0x589,_0x531065._0x25f42a,0x3d9,0x623))_0x55c1de[_0x393d6c(-0x12c,0x163,-_0x531065._0x4f8c57,-_0x531065._0x3e6215)]=_0x393d6c(0x1ae,-0x55,_0x531065._0xc4ef1a,0x12e);_0x55c1de[_0x393d6c(_0x531065._0x3ee5fd,_0x531065._0x2e5624,_0x531065._0x11080b,_0x531065._0x4118e7)]=!![];function _0x2095b0(_0x4eacf8,_0x44c76b,_0x36cda2,_0x254c0e){return _0x4a0aa5(_0x4eacf8,_0x44c76b-_0x44ec04._0x36909e,_0x36cda2-_0x44ec04._0x435a44,_0x254c0e-_0x44ec04._0xf0aa72);}_0x55c1de[_0x2095b0(_0x531065._0x5e430b,_0x531065._0x481990,_0x531065._0x317137,0x299)]=![],_0x55c1de[_0x393d6c(0x41e,0x14e,0x369,0x30d)]=this['terminate'](_0x55c1de),void _0x55c1de[_0x2095b0(_0x531065._0x82a0e4,0x764,_0x531065._0x5e6a2f,0x841)][_0x393d6c(-0x136,-_0x531065._0x5d8398,-0xd5,-_0x531065._0x59de5b)](()=>{function _0x46e46a(_0x23be3d,_0x518c13,_0xe3822a,_0x291b2a){return _0x393d6c(_0x23be3d-_0x7f1eb0._0x31b880,_0x23be3d,_0xe3822a-0x61,_0x291b2a-_0x7f1eb0._0x582b99);}_0x55c1de[_0x46e46a(0x569,_0x40a9d3._0x293e7d,0x4a3,0x56c)]=!![];},()=>{function _0x1d0395(_0x2ebc4e,_0x11326e,_0x57a6a8,_0x54db53){return _0x2095b0(_0x11326e,_0x2ebc4e- -_0x29c20e._0x3d9f09,_0x57a6a8-0x46,_0x54db53-0x31);}_0x55c1de[_0x1d0395(0x2ec,_0x16e6ac._0x12261d,_0x16e6ac._0x296c4b,_0x16e6ac._0xe85a1a)]=!![];});function _0x393d6c(_0x5b4555,_0x942d1a,_0x2b6395,_0x48b393){return _0x4a0aa5(_0x942d1a,_0x48b393- -0x406,_0x2b6395-0x148,_0x48b393-_0x1a17ea._0x39f5f5);}return _0x55c1de[_0x2095b0(0x555,0x764,0x774,_0x531065._0x1267f6)];}[_0x38b1c5(0x36b,0x585,0x4a2,0x667)](){const _0x4b2b30={_0x4b2c44:0x65b,_0x16388e:0x612,_0x3eca1d:0x6b5,_0x213477:0x6b7,_0x5bccdd:0x341,_0x466fb7:0x599,_0x5369cc:0x46b},_0x536541={_0x19638b:0xe6,_0x150a87:0x19c,_0x11dae8:0x8d},_0x2fc208={_0x56aa44:0x5b,_0x247e44:0x14d};function _0x27b3e7(_0x375989,_0x3ec288,_0x8fa4f,_0x499425){return _0x38b1c5(_0x375989-_0x2fc208._0x56aa44,_0x3ec288-_0x2fc208._0x247e44,_0x499425- -0x22a,_0x8fa4f);}function _0x19ce61(_0x305957,_0x54b08c,_0x20f4d1,_0x55ca27){return _0x38b1c5(_0x305957-_0x536541._0x19638b,_0x54b08c-_0x536541._0x150a87,_0x55ca27- -_0x536541._0x11dae8,_0x20f4d1);}return Promise[_0x19ce61(_0x4b2b30._0x4b2c44,_0x4b2b30._0x16388e,_0x4b2b30._0x3eca1d,0x558)]([...this[_0x27b3e7(_0x4b2b30._0x213477,_0x4b2b30._0x5bccdd,_0x4b2b30._0x466fb7,0x51a)][_0x27b3e7(_0x4b2b30._0x5369cc,0x4f1,0x4aa,0x435)]()]['map'](_0x51e699=>this[_0x19ce61(0x210,0x3a4,0x2c0,0x3e6)](_0x51e699[_0x19ce61(0x4f0,0x2d3,0x43a,0x3f5)])));}async[_0x38b1c5(0x460,0x35a,0x4b8,0x526)](){const _0x3923dc={_0x4f918a:0x115,_0x27ba26:0x3b7,_0x29eb79:0x611,_0x14ba07:0x4af,_0xec5ed9:0x5de},_0x2404f6={_0x4578a8:0xa0},_0x4c6a82={_0x5b3b25:0x48,_0x3974f4:0x166};function _0x53c378(_0x1531e7,_0x35f2e0,_0x2307fb,_0x5ac3d5){return _0x4a0aa5(_0x2307fb,_0x1531e7- -0x2cf,_0x2307fb-_0x4c6a82._0x5b3b25,_0x5ac3d5-_0x4c6a82._0x3974f4);}const _0x370f96=await this[_0x53c378(_0x3923dc._0x4f918a,0x1de,0x272,0x236)]();if(_0x370f96['some'](_0x3bf86a=>_0x3bf86a[_0x3d3ffd(0x73a,0x67f,0x6ff,0x5a6)]===_0x53c378(0x2cb,0x30f,0x114,0x4d3)))throw new BackgroundProcessCleanupError(_0x370f96);this[_0x53c378(_0x3923dc._0x27ba26,0x217,0x457,0x535)][_0x3d3ffd(_0x3923dc._0x29eb79,0x5e4,0x644,0x66b)]();function _0x3d3ffd(_0x14dc3f,_0x55645d,_0x527c4d,_0x412fbe){return _0x4a0aa5(_0x55645d,_0x412fbe- -0x3c,_0x527c4d-_0x2404f6._0x4578a8,_0x412fbe-0x1c9);}return this[_0x3d3ffd(0x502,0x197,0x233,0x3a3)][_0x3d3ffd(_0x3923dc._0x14ba07,0x488,_0x3923dc._0xec5ed9,0x66b)](),_0x370f96;}async[_0x4a0aa5(0x39b,0x504,0x378,0x618)](_0x5af461){const _0x1db6de={_0x10e5f8:0x3d1,_0xb16784:0x216,_0x5c40b0:0x420,_0x23f100:0xaf,_0x144cf7:0xcd,_0x3de5d7:0x6dc,_0x5abcfd:0x523,_0x3e7284:0x6b8,_0x2bef6c:0x587,_0xf8b606:0x657,_0x33952d:0x17a,_0x9eced0:0x65b,_0xe75de7:0x727,_0x20b95e:0x653,_0x43e895:0x106,_0x537b5a:0x21f,_0x3e89f5:0x507,_0x109311:0x670,_0x533393:0x582,_0x4ebacf:0x5fe,_0x625271:0x471,_0x3f3c1f:0x72a,_0xc96220:0x31f,_0x45abd3:0x31a,_0x30a6f9:0x592},_0x3359e8={_0x4c75fb:0x76,_0x1ec433:0x5c,_0x377894:0x18};_0x5af461['gracefulRequested']=!![];const _0x4f7ef4=await this[_0x57ee78(_0x1db6de._0x10e5f8,_0x1db6de._0xb16784,_0x1db6de._0x5c40b0,0x305)][_0x57ee78(-_0x1db6de._0x23f100,0x94,0x275,_0x1db6de._0x144cf7)]({'rootPid':_0x5af461[_0x29e48d(0x473,0x570,0x722,0x5ae)],'processGroupId':_0x5af461[_0x29e48d(_0x1db6de._0x3de5d7,0x6b5,0x67e,0x7f5)]},'graceful');function _0x57ee78(_0x2644de,_0x1f530a,_0x3fe586,_0x4034a0){return _0x38b1c5(_0x2644de-0x30,_0x1f530a-0x1d3,_0x4034a0- -0x33e,_0x3fe586);}if(_0x4f7ef4[_0x29e48d(_0x1db6de._0x5abcfd,_0x1db6de._0x3e7284,0x77d,0x624)]==='failed')return this['failed'](_0x5af461,_0x4f7ef4[_0x29e48d(_0x1db6de._0x2bef6c,_0x1db6de._0xf8b606,0x516,0x61d)]);function _0x29e48d(_0x2882b4,_0x219015,_0x5cf454,_0x3c9526){return _0x38b1c5(_0x2882b4-_0x3359e8._0x4c75fb,_0x219015-_0x3359e8._0x1ec433,_0x219015-_0x3359e8._0x377894,_0x3c9526);}if(await this[_0x57ee78(_0x1db6de._0x33952d,0x45,-0x3,0x11b)](_0x5af461,TERMINATION_WINDOW_MS))return this['confirmed'](_0x5af461);_0x5af461['forceRequested']=!![];const _0x38b3b1=await this[_0x29e48d(0x4ad,_0x1db6de._0x9eced0,_0x1db6de._0xe75de7,_0x1db6de._0x20b95e)][_0x29e48d(0x5bb,0x423,0x400,0x390)]({'rootPid':_0x5af461[_0x57ee78(_0x1db6de._0x43e895,0x13e,0x3bd,0x21a)],'processGroupId':_0x5af461['processGroupId']},_0x57ee78(0x355,0x147,_0x1db6de._0x537b5a,0x1aa));if(_0x38b3b1[_0x57ee78(0x4d5,_0x1db6de._0x3e89f5,0x298,0x362)]===_0x29e48d(0x598,_0x1db6de._0x109311,0x47f,_0x1db6de._0x533393))return this[_0x29e48d(0x577,0x670,0x61b,_0x1db6de._0x4ebacf)](_0x5af461,_0x38b3b1['error']);if(await this[_0x29e48d(0x352,_0x1db6de._0x625271,0x5a5,0x2eb)](_0x5af461,TERMINATION_WINDOW_MS))return this[_0x29e48d(0x8f9,0x7f5,0x745,_0x1db6de._0x3f3c1f)](_0x5af461);return this[_0x57ee78(0x1b5,_0x1db6de._0xc96220,0x19d,_0x1db6de._0x45abd3)](_0x5af461,_0x29e48d(0x4e8,0x580,_0x1db6de._0x30a6f9,0x781));}['confirmed'](_0x51a8f4){const _0x2d94ef={_0x536c96:0x759,_0x28aab9:0x645,_0x590e28:0x509,_0x3bb82a:0x5b9,_0x2b7b10:0x550,_0x5cc362:0x730,_0x3b5053:0x969,_0x1978a1:0x90a,_0xc1ef17:0x759,_0x2916e1:0x918,_0x26f24b:0x8ee,_0x4aba55:0x740,_0x30aa6b:0x6ca,_0xa86cd8:0x7df,_0x22d577:0x912,_0x3f3642:0x8ed,_0x441ed4:0x532,_0x398522:0x538,_0x26f29d:0x6af},_0x5614ef={_0xbd22eb:0x12d};function _0x3eddf7(_0x45e834,_0x5c71ff,_0x27b6c4,_0x4172b4){return _0x4a0aa5(_0x27b6c4,_0x5c71ff- -0x78,_0x27b6c4-_0x5614ef._0xbd22eb,_0x4172b4-0x70);}function _0x493b6c(_0x392765,_0x5c15f3,_0x1069a3,_0x2e216e){return _0x4a0aa5(_0x1069a3,_0x2e216e-0x1bf,_0x1069a3-0x180,_0x2e216e-0xf4);}return _0x51a8f4[_0x493b6c(_0x2d94ef._0x536c96,0x67b,0x5fe,0x573)]===_0x3eddf7(_0x2d94ef._0x28aab9,_0x2d94ef._0x590e28,_0x2d94ef._0x3bb82a,_0x2d94ef._0x2b7b10)?this[_0x493b6c(_0x2d94ef._0x5cc362,_0x2d94ef._0x3b5053,_0x2d94ef._0x1978a1,_0x2d94ef._0xc1ef17)](_0x51a8f4,_0x51a8f4[_0x493b6c(_0x2d94ef._0x2916e1,0x849,_0x2d94ef._0x26f24b,_0x2d94ef._0x4aba55)]??_0x3eddf7(_0x2d94ef._0x30aa6b,0x4bb,0x39e,0x2b1)):this[_0x493b6c(_0x2d94ef._0xa86cd8,_0x2d94ef._0x22d577,0x969,_0x2d94ef._0x3f3642)](_0x51a8f4,_0x3eddf7(_0x2d94ef._0x441ed4,_0x2d94ef._0x398522,_0x2d94ef._0x26f29d,0x55b));}[_0x38b1c5(0x7bf,0x4ca,0x658,0x76a)](_0x4bf480,_0x9be190){const _0x22713c={_0xa225f1:0x4e9,_0x8bfb81:0x4c6,_0x455e18:0x3d7,_0x18b5a7:0x129,_0x4bf6f0:0x4a5,_0xe587bd:0x332},_0x1fefc8={_0x2b7d72:0x1f,_0x4717b1:0xf8},_0x30a7cd={_0x549dfe:0x192,_0x30466c:0x42};_0x4bf480['error']=_0x9be190;function _0x34f5f8(_0x41d33f,_0x13291c,_0x549d08,_0x200ffc){return _0x4a0aa5(_0x41d33f,_0x200ffc- -0x268,_0x549d08-_0x30a7cd._0x549dfe,_0x200ffc-_0x30a7cd._0x30466c);}function _0x51bb37(_0x35a747,_0x4c3233,_0x19f732,_0x20b5e6){return _0x38b1c5(_0x35a747-_0x1fefc8._0x2b7d72,_0x4c3233-_0x1fefc8._0x4717b1,_0x19f732- -0x5ec,_0x4c3233);}return this[_0x34f5f8(_0x22713c._0xa225f1,0x5c5,0x2c3,_0x22713c._0x8bfb81)](_0x4bf480,_0x34f5f8(_0x22713c._0x455e18,_0x22713c._0x18b5a7,_0x22713c._0x4bf6f0,_0x22713c._0xe587bd));}[_0x38b1c5(0x844,0x89e,0x7ec,0x834)](_0x50567b,_0x1f1439){const _0x254412={_0x3836b2:0x6a2,_0x5d1bf2:0x67e,_0x504de0:0x59b,_0x29a3dc:0x415,_0x17ba24:0x533,_0x321b01:0x567,_0x26b8e1:0x93d,_0x45f2f5:0x8bc,_0x2b1f39:0x768,_0x52f4ec:0x86b,_0x1c4905:0x761,_0x4cbafe:0x483},_0x5be21e={_0x176510:0x1a4,_0x2b7c8d:0x1d2},_0x49a50f={_0x28a2b3:0x1e7,_0x20fbfb:0x90};function _0x127eb8(_0x1b2b32,_0x213388,_0x28948b,_0x177a64){return _0x4a0aa5(_0x28948b,_0x177a64-_0x49a50f._0x28a2b3,_0x28948b-0x9f,_0x177a64-_0x49a50f._0x20fbfb);}function _0x1c6529(_0x39d7e9,_0x550d98,_0x467e4a,_0xe1918f){return _0x38b1c5(_0x39d7e9-_0x5be21e._0x176510,_0x550d98-_0x5be21e._0x2b7c8d,_0xe1918f- -0x34,_0x550d98);}return{'shellId':_0x50567b[_0x127eb8(0x4de,_0x254412._0x3836b2,0x449,0x5ab)],'outcome':_0x1f1439,'status':_0x50567b[_0x127eb8(_0x254412._0x5d1bf2,0x453,0x5ee,_0x254412._0x504de0)],'exitCode':_0x50567b['exitCode'],'signal':_0x50567b[_0x1c6529(_0x254412._0x29a3dc,_0x254412._0x17ba24,0x51f,0x3d7)],'error':_0x50567b[_0x127eb8(_0x254412._0x321b01,_0x254412._0x26b8e1,_0x254412._0x45f2f5,_0x254412._0x2b1f39)],'gracefulRequested':_0x50567b[_0x127eb8(0x560,0x969,_0x254412._0x52f4ec,_0x254412._0x1c4905)],'forceRequested':_0x50567b[_0x1c6529(_0x254412._0x4cbafe,0x325,0x5df,0x526)]};}['waitForTerminal'](_0x247bd2,_0x11c315){const _0x3db009={_0x256605:0x473,_0x163ff5:0x10f},_0x2df815={_0x524910:0xac,_0x1aa7e7:0x59,_0x5a678d:0xf9,_0x3e86fc:0x7a},_0x5b066f={_0x4ab6ad:0x1a3};if(_0x247bd2[_0x3f917b(0x291,0x15d,0x409,_0x3db009._0x256605)])return Promise[_0x5ef837(0x2da,_0x3db009._0x163ff5,-0x74,0xcc)](!![]);function _0x3f917b(_0x1e2135,_0x407e42,_0x109e4a,_0x10042f){return _0x4a0aa5(_0x407e42,_0x1e2135- -0x45b,_0x109e4a-_0x5b066f._0x4ab6ad,_0x10042f-0x161);}function _0x5ef837(_0x5e4b7c,_0x8a8bb5,_0x509673,_0x3f26ab){return _0x4a0aa5(_0x5e4b7c,_0x8a8bb5- -0x391,_0x509673-0x1e2,_0x3f26ab-0x182);}return new Promise(_0x46e56a=>{let _0x8d0639=![];function _0x98f20f(_0x2affea,_0x3137a1,_0x5654a1,_0x3c3e54){return _0x3f917b(_0x3137a1-0xd1,_0x2affea,_0x5654a1-0x41,_0x3c3e54-0x0);}const _0x3708d9=setTimeout(()=>{if(_0x8d0639)return;_0x8d0639=!![],_0x46e56a(![]);},_0x11c315);void _0x247bd2['terminalPromise'][_0x98f20f(-_0x2df815._0x524910,-_0x2df815._0x1aa7e7,_0x2df815._0x5a678d,-_0x2df815._0x3e86fc)](()=>{if(_0x8d0639)return;_0x8d0639=!![],clearTimeout(_0x3708d9),_0x46e56a(!![]);});});}['appendDecoded'](_0x59ddd1,_0x80f842,_0x1733ef,_0xcd2c0b){const _0x13cbb0={_0x35fdac:0x4ed,_0x52137f:0x3e3,_0xe0f246:0x4b9,_0x1ff9c7:0x5cd,_0x55892f:0x4a6,_0x321387:0x585},_0x3124f2={_0x4f4cd3:0xaa},_0x170078={_0x110278:0x3bb},_0x1fdf50=_0x80f842[_0x1250d5(0x470,_0x13cbb0._0x35fdac,_0x13cbb0._0x52137f,0x585)](_0xcd2c0b);function _0x56e753(_0x40f2c5,_0x27d9be,_0x363d92,_0x21695f){return _0x4a0aa5(_0x21695f,_0x27d9be- -_0x170078._0x110278,_0x363d92-0x43,_0x21695f-0x1e0);}function _0x1250d5(_0x1bb3cc,_0x383ae0,_0x5a7c70,_0x2583d4){return _0x38b1c5(_0x1bb3cc-0x1a9,_0x383ae0-0xd3,_0x2583d4-_0x3124f2._0x4f4cd3,_0x5a7c70);}this[_0x1250d5(0x337,0x6ad,0x69c,_0x13cbb0._0xe0f246)](_0x59ddd1,_0x59ddd1['stripAnsi']?_0x1733ef[_0x1250d5(0x67d,_0x13cbb0._0x1ff9c7,_0x13cbb0._0x55892f,_0x13cbb0._0x321387)](_0x1fdf50):_0x1fdf50);}['settleTerminal'](_0x5d629e){const _0x94c9fc={_0x1d1ce5:0x8b,_0x4aba95:0xba,_0x1f51ef:0xfb,_0x31e795:0x401,_0x2aad46:0x39f},_0x1b6c49={_0x4b2e9f:0x45e,_0x2ff9be:0x1db},_0x371661={_0x815194:0x1c2};function _0x4e0be8(_0x454c52,_0x69418,_0x58dfe9,_0x48066a){return _0x4a0aa5(_0x58dfe9,_0x454c52- -0x20,_0x58dfe9-0x5a,_0x48066a-_0x371661._0x815194);}this[_0xdf2ff(_0x94c9fc._0x1d1ce5,-0x69,-_0x94c9fc._0x4aba95,-_0x94c9fc._0x1f51ef)](_0x5d629e);function _0xdf2ff(_0x516e57,_0x44c82d,_0x1b0732,_0x14834f){return _0x4a0aa5(_0x14834f,_0x44c82d- -_0x1b6c49._0x4b2e9f,_0x1b0732-0xa3,_0x14834f-_0x1b6c49._0x2ff9be);}!_0x5d629e['terminalSettled']&&(_0x5d629e[_0xdf2ff(0x282,0x28e,0x280,0x340)]=!![],_0x5d629e[_0x4e0be8(_0x94c9fc._0x31e795,0x5e5,0x1f5,_0x94c9fc._0x2aad46)]()),this['evictIfNeeded']();}['flushStreams'](_0x1fc53d){const _0x1d87ab={_0x5e0c03:0x484,_0x3a05aa:0x634,_0x36f93c:0x605,_0x3b259b:0x5bf,_0x1aa01d:0x557,_0x21789f:0x3cc,_0x3794fc:0x8f,_0x27dbfe:0x231,_0x3579b4:0x73,_0x103db9:0x685,_0x151267:0x770,_0x1f0157:0x848,_0x17d522:0x4c8,_0x5ca064:0x53b,_0x38681e:0x3a4,_0x44c8c1:0x801,_0x8c96bc:0x68c,_0x447d51:0x6ae,_0x12bfc8:0x60,_0x89b3e4:0x72d,_0xbae3a3:0x62b,_0xac0883:0x5dd,_0x3c7814:0x4f9,_0x55fc83:0x203,_0x46455f:0x327,_0x4a9409:0x13a,_0x529292:0x6c0,_0x15f2bb:0x816},_0x252441={_0x32e4c4:0x416};function _0x2d103f(_0x178ec8,_0xbe6df9,_0x23f19a,_0x2abf07){return _0x38b1c5(_0x178ec8-0x175,_0xbe6df9-0xc2,_0x23f19a- -_0x252441._0x32e4c4,_0xbe6df9);}if(_0x1fc53d['streamsFlushed'])return;_0x1fc53d[_0x34a2dd(_0x1d87ab._0x5e0c03,_0x1d87ab._0x3a05aa,0x591,_0x1d87ab._0x36f93c)]=!![];function _0x34a2dd(_0x2dff18,_0x4d4c28,_0xead72,_0x459b00){return _0x4a0aa5(_0xead72,_0x4d4c28-0x1ea,_0xead72-0x13e,_0x459b00-0x106);}const _0x5ded9c=_0x1fc53d[_0x34a2dd(_0x1d87ab._0x3b259b,_0x1d87ab._0x1aa01d,_0x1d87ab._0x21789f,0x4b8)][_0x2d103f(_0x1d87ab._0x3794fc,0x272,0x22e,_0x1d87ab._0x27dbfe)](),_0x5762b4=_0x1fc53d[_0x2d103f(0x16d,-0x188,_0x1d87ab._0x3579b4,-0x17a)][_0x34a2dd(_0x1d87ab._0x103db9,_0x1d87ab._0x151267,0x856,_0x1d87ab._0x1f0157)]();this[_0x34a2dd(_0x1d87ab._0x17d522,_0x1d87ab._0x5ca064,_0x1d87ab._0x3b259b,_0x1d87ab._0x38681e)](_0x1fc53d,_0x1fc53d['stripAnsi']?_0x1fc53d[_0x34a2dd(_0x1d87ab._0x44c8c1,_0x1d87ab._0x8c96bc,0x5ef,_0x1d87ab._0x447d51)][_0x2d103f(0x29e,-_0x1d87ab._0x12bfc8,0xc5,0x21d)](_0x5ded9c)+_0x1fc53d[_0x34a2dd(_0x1d87ab._0x89b3e4,0x68c,_0x1d87ab._0xbae3a3,0x731)]['end']():_0x5ded9c),this[_0x34a2dd(0x54f,0x53b,0x5fe,_0x1d87ab._0xac0883)](_0x1fc53d,_0x1fc53d[_0x34a2dd(0x455,0x5d8,_0x1d87ab._0x3c7814,0x761)]?_0x1fc53d[_0x2d103f(0x39a,0xbb,_0x1d87ab._0x55fc83,_0x1d87ab._0x46455f)][_0x2d103f(-_0x1d87ab._0x4a9409,-0x5f,0xc5,0x201)](_0x5762b4)+_0x1fc53d['stderrNormalizer'][_0x34a2dd(0x832,0x770,_0x1d87ab._0x529292,_0x1d87ab._0x15f2bb)]():_0x5762b4);}[_0x4a0aa5(0x3d1,0x351,0x53d,0x178)](_0x400ed8,_0x2d605f){const _0x5a51df={_0x17c6e8:0x6f6,_0x15b47b:0x6c6,_0x593a5a:0x4f5,_0x215b9d:0x532,_0x5ed6e4:0x58c,_0x429006:0x526,_0x1c513f:0x4e3,_0x57b1d:0x6bc,_0x5110f1:0x6f1,_0x4ce79e:0x21f,_0x5f516c:0x414,_0x3dc39e:0x165,_0x13f862:0x4a4,_0x2e7744:0x413,_0x3c101f:0x576,_0x41b055:0x4df,_0x27f4f5:0x70b,_0x12d8be:0x644,_0x3564a1:0x5d8,_0x282cf3:0x635,_0x3e4bdb:0x4ce,_0x287c40:0x388,_0x258117:0x26c,_0x93415c:0x79f,_0x4de4c1:0x5d9,_0x5ba701:0x65a,_0x4f2333:0x490,_0x321cd6:0x50e,_0x40d334:0x826,_0x5c2948:0x445,_0x415cf9:0x360,_0x15fa39:0x54f,_0x24162b:0x463},_0x2ddac0={_0x15774f:0x95},_0x1239e9={_0x362da0:0x4b,_0x1080a4:0x272};function _0x100d4c(_0x55af90,_0x5e8224,_0x13e66c,_0x15281e){return _0x38b1c5(_0x55af90-_0x1239e9._0x362da0,_0x5e8224-0x175,_0x15281e- -_0x1239e9._0x1080a4,_0x5e8224);}if(_0x2d605f[_0x100d4c(_0x5a51df._0x17c6e8,0x6fa,_0x5a51df._0x15b47b,_0x5a51df._0x593a5a)]===0x0)return;_0x400ed8[_0x100d4c(0x523,0x2f6,0x43e,0x4df)]['push'](_0x2d605f),_0x400ed8[_0x100d4c(0x47c,0x798,_0x5a51df._0x215b9d,_0x5a51df._0x5ed6e4)]+=_0x2d605f[_0x2bf5df(_0x5a51df._0x429006,_0x5a51df._0x1c513f,_0x5a51df._0x57b1d,0x65a)],_0x400ed8['totalProduced']+=_0x2d605f['length'];function _0x2bf5df(_0x4c5ea6,_0x143fd7,_0x3550f0,_0x34ac3c){return _0x38b1c5(_0x4c5ea6-_0x2ddac0._0x15774f,_0x143fd7-0x89,_0x34ac3c- -0x10d,_0x4c5ea6);}while(_0x400ed8[_0x2bf5df(0x8e2,0x54f,0x5c2,_0x5a51df._0x5110f1)]>this[_0x2bf5df(0x560,_0x5a51df._0x4ce79e,0x23f,_0x5a51df._0x5f516c)]){const _0x2513cc=_0x400ed8['bufferChars']-this[_0x100d4c(_0x5a51df._0x3dc39e,_0x5a51df._0x13f862,_0x5a51df._0x2e7744,0x2af)],_0x1021fc=_0x400ed8[_0x100d4c(_0x5a51df._0x3c101f,0x645,0x65c,_0x5a51df._0x41b055)][0x0];if(_0x1021fc===void 0x0)break;_0x1021fc['length']<=_0x2513cc?(_0x400ed8[_0x2bf5df(0x56f,0x4c8,_0x5a51df._0x27f4f5,_0x5a51df._0x12d8be)][_0x2bf5df(0x60d,_0x5a51df._0x3564a1,0x6b9,_0x5a51df._0x282cf3)](),_0x400ed8[_0x100d4c(0x785,_0x5a51df._0x3e4bdb,0x739,0x58c)]-=_0x1021fc['length'],_0x400ed8[_0x100d4c(0x1b1,_0x5a51df._0x287c40,0x332,_0x5a51df._0x258117)]+=_0x1021fc[_0x2bf5df(_0x5a51df._0x93415c,_0x5a51df._0x4de4c1,0x4af,_0x5a51df._0x5ba701)]):(_0x400ed8[_0x2bf5df(_0x5a51df._0x4f2333,_0x5a51df._0x321cd6,_0x5a51df._0x40d334,_0x5a51df._0x12d8be)][0x0]=_0x1021fc[_0x100d4c(0x2b8,_0x5a51df._0x5c2948,0x1ee,_0x5a51df._0x415cf9)](_0x2513cc),_0x400ed8['bufferChars']-=_0x2513cc,_0x400ed8[_0x2bf5df(_0x5a51df._0x15fa39,_0x5a51df._0x24162b,0x51c,0x3d1)]+=_0x2513cc);}}[_0x4a0aa5(0x634,0x506,0x31e,0x6b0)](){const _0x42d053={_0x1a6e55:0x659,_0x5c78f1:0x59b,_0x426694:0x825,_0x5d90b3:0x958,_0x3e9e57:0x595,_0x25df6f:0x42a,_0x1f50da:0x2e2},_0x217b6d={_0x7b743c:0x172,_0x5def59:0x152},_0x42f61f={_0x1dc46d:0xc4};function _0x5d208d(_0x459c5c,_0x5307ea,_0x232c18,_0x38dffd){return _0x38b1c5(_0x459c5c-0x39,_0x5307ea-0x101,_0x38dffd- -_0x42f61f._0x1dc46d,_0x459c5c);}function _0x3cf552(_0x44cd7b,_0x1c1a19,_0x971b7e,_0x11813d){return _0x38b1c5(_0x44cd7b-0x3,_0x1c1a19-_0x217b6d._0x7b743c,_0x1c1a19- -_0x217b6d._0x5def59,_0x971b7e);}while(this['entries']['size']>this['maxEntries']){const _0x1dbd6f=[...this['entries'][_0x5d208d(0x5fb,_0x42d053._0x1a6e55,0x4f4,_0x42d053._0x5c78f1)]()]['filter'](_0x7a4c4a=>_0x7a4c4a['terminalSettled']&&isTerminalStatus(_0x7a4c4a[_0x3cf552(0x116,0x320,0x3fb,0x294)]))[_0x5d208d(_0x42d053._0x426694,0x71f,_0x42d053._0x5d90b3,0x74a)]((_0x5163c6,_0xe4cbef)=>_0x5163c6[_0x3cf552(0x2c8,0x48f,0x4ab,0x452)]-_0xe4cbef[_0x5d208d(0x41f,0x4bc,0x4b6,0x51d)])[0x0];if(!_0x1dbd6f)return;this['entries'][_0x5d208d(0x52d,0x304,_0x42d053._0x3e9e57,_0x42d053._0x25df6f)](_0x1dbd6f[_0x5d208d(0x29b,_0x42d053._0x1f50da,0x262,0x3be)]);}}};function createBashOutputTool(_0x380fd8){const _0x56da19={_0x29efef:0x684,_0xaf113b:0x883,_0x381f69:0x16b,_0x28c037:0x42c,_0x517cda:0x54d,_0x2231ee:0x74,_0x429440:0x1d6},_0x164fd8={_0xab9f4c:0x8bb,_0x22dea0:0x42f,_0x143d09:0x22b,_0x23c3b8:0x47c,_0x285550:0x58d,_0x3ad513:0x5ac,_0x278522:0x6cc,_0x167705:0x774,_0x32a3d7:0x6b7,_0x4a1bbe:0x637,_0x569754:0x532,_0x2e4577:0x30c,_0x589179:0x5ff,_0x7405dd:0x3c5,_0x611efa:0x2f9,_0x2153cc:0x4f4,_0x540ede:0x652,_0x484cdf:0x476,_0x1fdcc8:0x502,_0x5b8269:0x353,_0x32ff45:0x461},_0x6d2e9f={_0xadac16:0x421},_0x1b5d51={_0x1bda32:0x40e},_0x36c7c9={_0x791083:0x48};function _0x460cc1(_0x35c0f9,_0x4897f2,_0x4ac2d7,_0x454739){return _0x4a0aa5(_0x4897f2,_0x454739-0x1e5,_0x4ac2d7-0x1,_0x454739-_0x36c7c9._0x791083);}const {registry:_0x524275}=_0x380fd8;function _0x244d11(_0x553ad9,_0x191652,_0x2b33d7,_0x4ff53b){return _0x38b1c5(_0x553ad9-0x148,_0x191652-0xeb,_0x553ad9- -_0x1b5d51._0x1bda32,_0x2b33d7);}return defineTool({'name':_0x244d11(-0x17,-0x8,-0x217,0x10),'permissionClass':'always-confirm','description':_0x460cc1(0x77a,0x70a,0x60b,0x611),'inputSchema':{'type':_0x460cc1(0x5d4,0x743,0x67e,0x715),'properties':{'shellId':{'type':_0x460cc1(0x725,0x943,_0x56da19._0x29efef,_0x56da19._0xaf113b)},'regex':{'type':_0x244d11(0x34e,_0x56da19._0x381f69,_0x56da19._0x28c037,_0x56da19._0x517cda)}},'required':[_0x244d11(_0x56da19._0x2231ee,0x69,-0x1e,_0x56da19._0x429440)]},async *'execute'(_0x471de2){const _0x2b8e06={_0x2d3b42:0x37,_0x3640b1:0x106},_0x55da3d=_0x524275[_0x235523(0x5fe,0x77b,0x960,_0x164fd8._0xab9f4c)](_0x471de2[_0x5b9f6c(_0x164fd8._0x22dea0,0x36a,_0x164fd8._0x143d09,0x1ba)],_0x471de2[_0x5b9f6c(_0x164fd8._0x23c3b8,_0x164fd8._0x285550,0x5e3,0x646)]?{'regex':_0x471de2[_0x235523(_0x164fd8._0x3ad513,0x6b8,_0x164fd8._0x278522,_0x164fd8._0x167705)]}:void 0x0);function _0x5b9f6c(_0x1f0c0a,_0x1b8825,_0x2cdd82,_0x54d3d6){return _0x460cc1(_0x1f0c0a-_0x2b8e06._0x2d3b42,_0x1f0c0a,_0x2cdd82-_0x2b8e06._0x3640b1,_0x1b8825- -0x23f);}function _0x235523(_0x310e49,_0x13d802,_0x17254d,_0x2ea34f){return _0x244d11(_0x13d802-_0x6d2e9f._0xadac16,_0x13d802-0xf2,_0x2ea34f,_0x2ea34f-0xe5);}return createToolOutput(_0x55da3d[_0x5b9f6c(_0x164fd8._0x32a3d7,0x5c8,_0x164fd8._0x4a1bbe,_0x164fd8._0x569754)],{'shellId':_0x471de2[_0x5b9f6c(0x241,0x36a,0x3c1,0x392)],'status':_0x55da3d[_0x235523(_0x164fd8._0x2e4577,0x485,_0x164fd8._0x23c3b8,_0x164fd8._0x589179)],'exitCode':_0x55da3d['exitCode'],'signal':_0x55da3d[_0x235523(_0x164fd8._0x7405dd,0x41e,_0x164fd8._0x611efa,_0x164fd8._0x2153cc)],'error':_0x55da3d[_0x235523(_0x164fd8._0x285550,_0x164fd8._0x540ede,_0x164fd8._0x484cdf,0x59c)],'truncated':_0x55da3d[_0x235523(0x3e1,_0x164fd8._0x1fdcc8,_0x164fd8._0x5b8269,_0x164fd8._0x32ff45)]});}});}import{spawn as _0x35a061}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x562dd0 from'os';import*as _0x4b0783 from'path';import{StringDecoder as _0x80fa98}from'string_decoder';import{spawn as _0x12bed6}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException2(_0x57956b){return _0x57956b instanceof Error;}function resolveCarriageReturns(_0x3aad48){const _0x1f7d52={_0x7702d6:0x1d,_0x5362ab:0x4a,_0x437af2:0x137,_0x211224:0x8c,_0x964735:0x303,_0x405a69:0x220,_0x2817ee:0x179,_0x3c1f73:0x16c},_0xe68da={_0xbc60af:0x513,_0x179b51:0x30c,_0x51d78a:0x27d},_0x923759={_0x5ece97:0x89},_0x5b3385={_0x3599fd:0x14f};function _0x11b336(_0x403f4e,_0x43b558,_0x757589,_0x3e12c7){return _0x4a0aa5(_0x757589,_0x3e12c7- -0x3c1,_0x757589-_0x5b3385._0x3599fd,_0x3e12c7-0x17b);}function _0x56a4d2(_0x122f92,_0x16b4fa,_0xa62432,_0xc252a2){return _0x4a0aa5(_0x16b4fa,_0xa62432- -0x57,_0xa62432-0x1f1,_0xc252a2-_0x923759._0x5ece97);}return _0x3aad48[_0x11b336(-_0x1f7d52._0x7702d6,_0x1f7d52._0x5362ab,-_0x1f7d52._0x437af2,_0x1f7d52._0x211224)]('\x0a')[_0x11b336(_0x1f7d52._0x964735,_0x1f7d52._0x437af2,0xe5,_0x1f7d52._0x405a69)](_0x2e5e2f=>{const _0x57752f={_0x179c23:0x1c1,_0x39847d:0x118,_0x41b251:0x24};function _0x113d2f(_0x3bfa7a,_0x142eff,_0x2babb4,_0x59fcf4){return _0x11b336(_0x3bfa7a-_0x57752f._0x179c23,_0x142eff-_0x57752f._0x39847d,_0x59fcf4,_0x142eff-_0x57752f._0x41b251);}if(!_0x2e5e2f['includes']('\x0d'))return _0x2e5e2f;const _0x5d5edd=_0x2e5e2f['split']('\x0d');return _0x5d5edd[_0x5d5edd[_0x113d2f(_0xe68da._0xbc60af,_0xe68da._0x179b51,_0xe68da._0x51d78a,0x4e4)]-0x1]??'';})[_0x11b336(0x1d8,_0x1f7d52._0x2817ee,-0x1f,_0x1f7d52._0x3c1f73)]('\x0a');}function resolveBackspaces(_0x3e84e6){const _0x513f4d={_0x2bb404:0x111,_0x494616:0x2cb,_0x3a6b70:0x2b9,_0x39c5b5:0x147,_0x338dfa:0x37},_0x1fc2e0={_0x247c47:0x22},_0x3388b7={_0x87601e:0x356,_0x49ceb7:0x100,_0x44495b:0x86};function _0x247711(_0x5b685d,_0x125abf,_0x60f0ff,_0x591b13){return _0x4a0aa5(_0x591b13,_0x5b685d- -_0x3388b7._0x87601e,_0x60f0ff-_0x3388b7._0x49ceb7,_0x591b13-_0x3388b7._0x44495b);}const _0x3bc8ab=[];for(const _0x54c08c of Array[_0x247711(_0x513f4d._0x2bb404,_0x513f4d._0x494616,0x1f3,_0x513f4d._0x3a6b70)](_0x3e84e6)){_0x54c08c==='\x08'?_0x3bc8ab['pop']():_0x3bc8ab[_0x3a537c(-0xf6,-0x312,-0x165,-0x56)](_0x54c08c);}function _0x3a537c(_0x48412c,_0x4dd69a,_0x31e745,_0x51a0cb){return _0x4a0aa5(_0x51a0cb,_0x31e745- -0x523,_0x31e745-_0x1fc2e0._0x247c47,_0x51a0cb-0xdd);}return _0x3bc8ab[_0x3a537c(0x1e3,_0x513f4d._0x39c5b5,0xa,-_0x513f4d._0x338dfa)]('');}function stripAnsiAndControls(_0x31c058){const _0x4e59a8={_0x24604a:0x422,_0x142461:0x31f,_0x25e9ac:0x2e9,_0x394c70:0x538,_0x853f12:0x6c5,_0x412005:0x732,_0x49cd88:0x60e,_0x255fb0:0x833,_0x12d92a:0x755,_0x256863:0x532,_0x2f61b0:0x49b,_0x394fd2:0x62f,_0x5f019e:0x56e,_0x36601c:0x2d8},_0x141aa2={_0x41dd4b:0x145},_0x59f805={_0x17455f:0x157,_0x51ab01:0xce};_0x31c058=resolveCarriageReturns(_0x31c058),_0x31c058=resolveBackspaces(_0x31c058),_0x31c058=stripVTControlCharacters(_0x31c058);const _0x86ff43='\x1b',_0x4c8fd7='\x07';_0x31c058=_0x31c058[_0x1dcfe1(_0x4e59a8._0x24604a,_0x4e59a8._0x142461,0x49b,_0x4e59a8._0x25e9ac)](new RegExp(_0x1cfb08(_0x4e59a8._0x394c70,_0x4e59a8._0x853f12,0x6e2,0x6c8)+_0x4c8fd7+_0x1cfb08(0x7c8,0x6a9,0x4c1,_0x4e59a8._0x412005)+_0x4c8fd7,'g'),'');function _0x1dcfe1(_0x4166d4,_0x47f3bb,_0x52e85d,_0x45b34e){return _0x4a0aa5(_0x45b34e,_0x52e85d-_0x59f805._0x17455f,_0x52e85d-0x1cf,_0x45b34e-_0x59f805._0x51ab01);}_0x31c058=_0x31c058['replace'](new RegExp(';[^\x5cn]*?'+_0x86ff43+'\x5c\x5c','g'),''),_0x31c058=_0x31c058['replace'](new RegExp(_0x4c8fd7,'g'),''),_0x31c058=_0x31c058[_0x1dcfe1(0x52a,_0x4e59a8._0x49cd88,0x49b,0x3bc)](new RegExp(_0x86ff43+_0x1cfb08(_0x4e59a8._0x255fb0,_0x4e59a8._0x12d92a,0x8e0,0x5b3)+_0x86ff43+'\x5c\x5c','g'),'');function _0x1cfb08(_0x380f7e,_0x3107cd,_0x14e376,_0x5983db){return _0x4a0aa5(_0x380f7e,_0x3107cd-0x119,_0x14e376-0x4f,_0x5983db-_0x141aa2._0x41dd4b);}return _0x31c058=_0x31c058[_0x1dcfe1(0x2f8,_0x4e59a8._0x256863,_0x4e59a8._0x2f61b0,0x50f)](new RegExp(_0x86ff43+'[=>7-8()]','g'),''),_0x31c058=_0x31c058['replace'](/[\u0080-\u009F]/g,''),_0x31c058=_0x31c058['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x31c058=_0x31c058[_0x1dcfe1(_0x4e59a8._0x394fd2,_0x4e59a8._0x5f019e,0x49b,_0x4e59a8._0x36601c)](/[\u23CE\u2424]/g,''),_0x31c058;}function killProcessGroup(_0x52cb41,_0x5ade95,_0x496e72=_0x38b1c5(0x7ec,0x831,0x7b4,0x8ee)){const _0x2f564c={_0x379b3f:0x1bf,_0x3c2508:0x14e,_0x476360:0x7,_0x1f7566:0x16,_0x54060c:0xcd,_0x141bdc:0x1cf,_0x4fb36e:0x182,_0x5c1a2b:0xfa,_0x2e59db:0x1b4,_0x5b531d:0x198,_0x1055f7:0x76,_0x2c7e24:0xda,_0x50b753:0x129,_0x2b80f4:0x1c5,_0x4e3f7d:0x36,_0x3bc554:0x17c,_0x221d02:0xcc,_0x6cc85d:0x28f,_0x575bbc:0xb2},_0x351f0d={_0x255bb5:0xc,_0x5b0b00:0x1d2};function _0x52443b(_0x2a5948,_0x30afde,_0x32181a,_0xf7babf){return _0x4a0aa5(_0x32181a,_0x2a5948- -0x2db,_0x32181a-_0x351f0d._0x255bb5,_0xf7babf-_0x351f0d._0x5b0b00);}if(!_0x52cb41[_0x52443b(_0x2f564c._0x379b3f,0x39f,_0x2f564c._0x3c2508,_0x2f564c._0x476360)])return;function _0x177842(_0x5e5420,_0x4b4e82,_0xcdc282,_0x3d71b7){return _0x4a0aa5(_0xcdc282,_0x5e5420- -0x3d6,_0xcdc282-0x187,_0x3d71b7-0x18d);}if(_0x5ade95)try{_0x12bed6(_0x177842(0x1e0,-0x10,_0x2f564c._0x1f7566,0x39f),[_0x52443b(_0x2f564c._0x54060c,0x1f7,_0x2f564c._0x141bdc,_0x2f564c._0x4fb36e),_0x52cb41[_0x52443b(0x1bf,_0x2f564c._0x5c1a2b,0xf6,0x15e)][_0x52443b(_0x2f564c._0x2e59db,0x23,0x29a,0x3c5)](),'/T','/F'],{'stdio':_0x177842(_0x2f564c._0x5b531d,0x35e,-0x6d,-_0x2f564c._0x1055f7)});return;}catch{_0x52cb41[_0x52443b(_0x2f564c._0x2c7e24,-_0x2f564c._0x50b753,_0x2f564c._0x2b80f4,-_0x2f564c._0x4e3f7d)](_0x496e72);return;}try{process[_0x52443b(0xda,0x1d9,0xc2,_0x2f564c._0x3bc554)](-_0x52cb41['pid'],_0x496e72);}catch{_0x52cb41[_0x52443b(0xda,-_0x2f564c._0x221d02,_0x2f564c._0x6cc85d,-_0x2f564c._0x575bbc)](_0x496e72);}}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION='Run\x20a\x20non-interactive\x20shell\x20command\x20with\x20timeout\x20protection\x20and\x20capture\x20stdout/stderr.\x20Use\x20FileRead\x20for\x20file\x20contents.\x20Use\x20outputRegex\x20for\x20focused\x20foreground\x20output,\x20ignoreOutput\x20when\x20only\x20the\x20exit\x20status\x20matters,\x20and\x20runInBackground\x20for\x20servers\x20or\x20watchers;\x20follow\x20background\x20runs\x20with\x20BashOutput\x20or\x20KillShell.\x20Provide\x20a\x20concise\x20user-facing\x20purpose\x20in\x20description.\x20Default\x20timeout:\x20'+DEFAULT_TIMEOUT_MS+_0x38b1c5(0x3c5,0x2a6,0x432,0x3af);function buildChildEnv(_0x136165,_0x27e4b9,_0x59b210){const _0x1c69bd={_0xc8df30:0x5a1,_0x43b464:0x240,_0x1bd534:0x7f5,_0x4254ff:0x785,_0x20012e:0x934,_0x470be8:0x777,_0x1462fd:0x6a4,_0x1e7e17:0x877,_0xa2e967:0x795,_0x21f1a0:0x4d2,_0x1f0c6b:0x69c,_0x222f36:0x591,_0x5e4f73:0x8ea,_0x394ff7:0x88d,_0x190a3d:0x773,_0x3758fe:0x5d2,_0x487828:0x88e,_0x4c372d:0x88f,_0x4b35d9:0x69e},_0x344794={_0x17165:0x128},_0x522cf6={_0x48cfec:0x23,_0x43196a:0x16},_0x2d465a={...process[_0x2630cb(_0x1c69bd._0xc8df30,0x2d2,_0x1c69bd._0x43b464,0x3d6)],..._0x136165??{}};if(_0x562dd0[_0x5a526a(_0x1c69bd._0x1bd534,_0x1c69bd._0x4254ff,_0x1c69bd._0x20012e,0xa48)]()===_0x5a526a(0x761,_0x1c69bd._0x470be8,_0x1c69bd._0x1462fd,_0x1c69bd._0x1e7e17)){const _0x50c144=new Set(_0x27e4b9['map'](_0x4c293e=>_0x4c293e['toLowerCase']()));for(const _0xf3bc87 of Object[_0x2630cb(0x6b9,_0x1c69bd._0xa2e967,_0x1c69bd._0x21f1a0,_0x1c69bd._0x1f0c6b)](_0x2d465a)){if(_0x50c144[_0x2630cb(_0x1c69bd._0x222f36,_0x1c69bd._0x5e4f73,_0x1c69bd._0x394ff7,_0x1c69bd._0x190a3d)](_0xf3bc87[_0x2630cb(0x5ea,_0x1c69bd._0x3758fe,0x7b6,0x6e2)]()))delete _0x2d465a[_0xf3bc87];}}else{for(const _0x3a161b of _0x27e4b9)delete _0x2d465a[_0x3a161b];if(_0x59b210[_0x5a526a(0xa7a,_0x1c69bd._0x487828,_0x1c69bd._0x4c372d,0x67c)]>0x0)for(const _0x36ab6e of Object[_0x5a526a(0x6b7,0x69d,0x81f,0x654)](_0x2d465a)){_0x59b210[_0x2630cb(0x62a,0x6e8,0x803,_0x1c69bd._0x4b35d9)](_0x173d64=>_0x36ab6e[_0x5a526a(0xa18,0xa55,0x8be,0x9b6)](_0x173d64))&&delete _0x2d465a[_0x36ab6e];}}function _0x2630cb(_0x201f2e,_0x315d5d,_0x5242e5,_0x5bca67){return _0x4a0aa5(_0x201f2e,_0x5bca67-0x63,_0x5242e5-_0x522cf6._0x48cfec,_0x5bca67-_0x522cf6._0x43196a);}function _0x5a526a(_0x43d6c8,_0x15d26f,_0x142f82,_0x73dc9f){return _0x38b1c5(_0x43d6c8-0xa4,_0x15d26f-0x39,_0x142f82-_0x344794._0x17165,_0x73dc9f);}return _0x2d465a;}function mapSpawnError(_0x165019,_0x43e837){const _0x4baf01={_0x2d6d11:0x5d0,_0x3d5bf4:0x505,_0x1ebf7f:0xbe,_0x65cf9e:0xdb,_0x1d6dc1:0x35,_0x5c6d87:0x164,_0x48a174:0x8,_0x1ed557:0x49c};function _0x564634(_0x315c96,_0x3a80b5,_0x543e62,_0x4cb6e1){return _0x38b1c5(_0x315c96-0x14c,_0x3a80b5-0x1df,_0x315c96- -0x628,_0x3a80b5);}if(isErrnoException2(_0x165019)&&_0x165019['code']===_0x254a6a(0x6d7,0x338,_0x4baf01._0x2d6d11,_0x4baf01._0x3d5bf4))return new ToolExecutionError(_0x564634(_0x4baf01._0x1ebf7f,-_0x4baf01._0x65cf9e,-_0x4baf01._0x1d6dc1,0x2d2)+_0x43e837[_0x564634(_0x4baf01._0x5c6d87,0x51,_0x4baf01._0x48a174,0x112)],_0x43e837);function _0x254a6a(_0x1c8b45,_0x1b3501,_0x569a21,_0x286ed1){return _0x38b1c5(_0x1c8b45-0x14a,_0x1b3501-0x189,_0x286ed1- -0xc,_0x1b3501);}return new ToolExecutionError(_0x165019 instanceof Error?_0x165019[_0x254a6a(_0x4baf01._0x1ed557,0x4ec,0x7f6,0x5e7)]:String(_0x165019),_0x43e837);}function shellExists(_0x2ff987){const _0x32f19f={_0x5354b8:0x471,_0x31da53:0x5f5,_0x454f7a:0x13f,_0x581271:0x17f},_0x564640={_0x4bad08:0x158},_0x4d6e2b={_0x382138:0x20f};function _0x3c720f(_0x369fe9,_0x29ac0a,_0x72e40c,_0x10dcef){return _0x4a0aa5(_0x72e40c,_0x369fe9- -_0x4d6e2b._0x382138,_0x72e40c-0xb4,_0x10dcef-0x1c6);}function _0x41602c(_0x918cd8,_0x19687a,_0x27aa3e,_0x3c3aee){return _0x38b1c5(_0x918cd8-0x14f,_0x19687a-_0x564640._0x4bad08,_0x3c3aee- -0x4da,_0x27aa3e);}try{const _0x40865d=statSync(_0x2ff987);return _0x40865d[_0x3c720f(_0x32f19f._0x5354b8,0x65e,_0x32f19f._0x31da53,0x64c)]()&&(_0x40865d[_0x3c720f(_0x32f19f._0x454f7a,_0x32f19f._0x581271,0xb7,0x2b9)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x3a625e){const _0x22d4be={_0x19a433:0x8f9,_0x24e589:0x604,_0x40cf68:0x908,_0x45fde2:0x17e,_0x1bc4fe:0x30a,_0x335252:0x275,_0x26d2d8:0x3f2,_0x18568b:0x499,_0x16df01:0x397,_0x7db822:0x1dc,_0x361643:0x407,_0x26fe2f:0x32a,_0x2e310e:0x404,_0x2291f1:0x1c6,_0x317e9b:0x24a,_0x12b9f5:0x459,_0x295a61:0x468,_0x4eb063:0x3a6},_0x223a83={_0x1b3776:0x1a0,_0x3c9178:0x17a};if(_0x3a625e)return _0x3a625e;if(_0x562dd0[_0x244186(_0x22d4be._0x19a433,0x756,_0x22d4be._0x24e589,_0x22d4be._0x40cf68)]()===_0x1c6b4d(0x29a,_0x22d4be._0x45fde2,_0x22d4be._0x1bc4fe,_0x22d4be._0x335252))return process[_0x244186(_0x22d4be._0x26d2d8,0x37b,_0x22d4be._0x18568b,0x343)][_0x244186(0x252,_0x22d4be._0x16df01,_0x22d4be._0x7db822,0x58b)]||'cmd.exe';const _0x4d991f=[_0x1c6b4d(_0x22d4be._0x361643,0x25e,0x259,0x51),_0x244186(_0x22d4be._0x26fe2f,0x34b,0x1d0,_0x22d4be._0x2e310e),'/usr/bin/bash',_0x1c6b4d(0x258,0x315,0x43d,_0x22d4be._0x2291f1)];function _0x1c6b4d(_0x408962,_0x2bde83,_0x39089e,_0x40dbb9){return _0x38b1c5(_0x408962-_0x223a83._0x1b3776,_0x2bde83-_0x223a83._0x3c9178,_0x2bde83- -0x3fe,_0x408962);}for(const _0xfcc311 of _0x4d991f){if(shellExists(_0xfcc311))return _0xfcc311;}const _0x4513cc=process[_0x244186(0x22f,0x37b,_0x22d4be._0x317e9b,_0x22d4be._0x12b9f5)][_0x244186(0x439,0x4c8,_0x22d4be._0x295a61,_0x22d4be._0x4eb063)];if(_0x4513cc&&shellExists(_0x4513cc))return _0x4513cc;function _0x244186(_0x1ce267,_0x1925fa,_0x1da427,_0x4d9b82){return _0x4a0aa5(_0x1ce267,_0x1925fa-0x8,_0x1da427-0x183,_0x4d9b82-0x149);}return'/bin/bash';}function buildShellArgs(_0x5b5c9c,_0xbb034f){const _0x18e4ff={_0x1dc2f8:0x4cf,_0x2fc54d:0x697,_0x53359a:0xbb,_0x23f6c8:0x330,_0x4cab1d:0x254,_0x171bbc:0x376,_0x261610:0x404,_0x1dc86c:0x499},_0x49c2ee={_0x5b2a8b:0x1ea,_0x31f4e3:0x175},_0x51e0b9={_0x51fb25:0x2,_0x574710:0x92};if(_0x562dd0[_0x1481c2(_0x18e4ff._0x1dc2f8,0x7c7,_0x18e4ff._0x2fc54d,0x673)]()==='win32'){const _0x2d7c66=/cmd(\.exe)?$/i[_0xe4875a(_0x18e4ff._0x53359a,_0x18e4ff._0x23f6c8,0x32,0x1a5)](_0xbb034f);return _0x2d7c66?['/d','/s','/c',_0x5b5c9c]:['-NoLogo',_0xe4875a(0x457,0x451,_0x18e4ff._0x4cab1d,0x24a),_0x1481c2(0x2c7,_0x18e4ff._0x171bbc,_0x18e4ff._0x261610,_0x18e4ff._0x1dc86c),_0x5b5c9c];}function _0xe4875a(_0x34b996,_0x153b71,_0x4f51be,_0x38e3dd){return _0x4a0aa5(_0x153b71,_0x38e3dd- -0x41f,_0x4f51be-_0x51e0b9._0x51fb25,_0x38e3dd-_0x51e0b9._0x574710);}function _0x1481c2(_0x4de40a,_0x1c0602,_0x466779,_0x20bc84){return _0x38b1c5(_0x4de40a-_0x49c2ee._0x5b2a8b,_0x1c0602-0x9a,_0x466779- -_0x49c2ee._0x31f4e3,_0x20bc84);}return['-c',_0x5b5c9c];}function resolveWorkingDirectory(_0x4f0693,_0x46ee8a,_0x2bd689){const _0x456415={_0x5f4f65:0x783,_0x128bcc:0x572,_0x2bee45:0x3fb,_0x3de9b4:0x294,_0x831540:0x3e2,_0x408ec0:0x547,_0x69b846:0x28e,_0x361f55:0x35c,_0x36466d:0x4fb},_0x295697={_0x90438d:0x8b},_0xbec121={_0x1062fa:0x19d},_0x5ac7ce=resolveAllowedPath(_0x46ee8a,_0x2bd689,_0x4f0693??'.');function _0x2d7632(_0x393031,_0x155e87,_0x61e2d8,_0x399816){return _0x4a0aa5(_0x393031,_0x399816- -0x565,_0x61e2d8-0x1f1,_0x399816-_0xbec121._0x1062fa);}function _0x5e1d74(_0x34a09b,_0x2e73fd,_0x3e35b7,_0x486b2e){return _0x4a0aa5(_0x486b2e,_0x3e35b7-_0x295697._0x90438d,_0x3e35b7-0xf0,_0x486b2e-0xe);}try{const _0x1c962b=statSync(_0x5ac7ce);if(!_0x1c962b[_0x5e1d74(_0x456415._0x5f4f65,_0x456415._0x128bcc,0x5ac,_0x456415._0x2bee45)]())throw new ToolExecutionError(_0x5e1d74(_0x456415._0x3de9b4,0x4e4,_0x456415._0x831540,_0x456415._0x408ec0)+_0x5ac7ce,{'cwd':_0x5ac7ce});const _0x42ab95=realpathSync(_0x5ac7ce),_0x4c7549=realpathSync(_0x46ee8a),_0x30a34e=_0x2bd689['map'](_0x2ab1c8=>{try{return realpathSync(_0x4b0783['resolve'](_0x2ab1c8));}catch{return _0x4b0783['resolve'](_0x2ab1c8);}});return resolveAllowedPath(_0x4c7549,_0x30a34e,_0x42ab95);}catch(_0xfcb6ca){if(_0xfcb6ca instanceof ToolExecutionError)throw _0xfcb6ca;throw new ToolExecutionError(_0x5e1d74(_0x456415._0x69b846,_0x456415._0x361f55,0x44e,_0x456415._0x36466d)+_0x5ac7ce,{'cwd':_0x5ac7ce});}}function resolveBashExecutionTarget(_0x216842,_0x54cf47={}){const _0x471ee9={_0x318bbc:0x6c1,_0x58c257:0x700,_0x1b28e5:0x687,_0x1d297b:0x860,_0x5571bc:0x791,_0x38028b:0x598,_0x40afa2:0x630,_0x2a2314:0x721,_0x176a32:0x67a,_0x1c1015:0x64e,_0x42038e:0x474,_0x1372c6:0x5fe,_0x3f4ae9:0x720,_0x24ec37:0x414,_0x218ed5:0x4b9,_0x591e18:0x610},_0x2df7d8={_0x58f528:0x28},_0x24199d={_0x3ddacb:0x192,_0x2d5eba:0x1cd,_0x148964:0x43};function _0x2ade33(_0x2dfc26,_0x2aa318,_0x3689ea,_0xd47a9b){return _0x4a0aa5(_0xd47a9b,_0x2dfc26- -_0x24199d._0x3ddacb,_0x3689ea-_0x24199d._0x2d5eba,_0xd47a9b-_0x24199d._0x148964);}const _0x9545a8=_0x4b0783[_0x14992d(_0x471ee9._0x318bbc,0x4f3,_0x471ee9._0x58c257,_0x471ee9._0x1b28e5)](_0x54cf47[_0x14992d(_0x471ee9._0x1d297b,_0x471ee9._0x5571bc,_0x471ee9._0x38028b,_0x471ee9._0x40afa2)]??process['cwd']()),_0x534fd7=resolveDefaultShell(_0x54cf47[_0x14992d(_0x471ee9._0x2a2314,_0x471ee9._0x2a2314,0x92b,0x7c9)]);function _0x14992d(_0x5a4b0a,_0x1604b3,_0x401397,_0x113cff){return _0x4a0aa5(_0x113cff,_0x1604b3-0x53,_0x401397-_0x2df7d8._0x58f528,_0x113cff-0x153);}return{'command':_0x216842['command'],'cwd':resolveWorkingDirectory(_0x216842[_0x14992d(_0x471ee9._0x176a32,_0x471ee9._0x1c1015,0x5a8,_0x471ee9._0x42038e)],_0x9545a8,_0x54cf47[_0x14992d(0x692,_0x471ee9._0x1372c6,_0x471ee9._0x3f4ae9,0x607)]??[]),'shellPath':_0x534fd7,'dialect':resolveShellDialect(_0x534fd7),'background':_0x216842[_0x14992d(_0x471ee9._0x24ec37,_0x471ee9._0x218ed5,_0x471ee9._0x591e18,0x664)]??![]};}function resolveShellDialect(_0x7db312){const _0x209067={_0x28c959:0x602,_0x1089f9:0x810,_0x1299da:0x4cc,_0x1046cb:0x4e3,_0x13b0a5:0x420,_0x51932c:0x4e8,_0x2bd62e:0x343,_0x5360e7:0x1e0,_0x5575be:0x4d1,_0x38b659:0x79d,_0x3c6fad:0x53e,_0x38b1e0:0x3e8,_0x496b0d:0x4ec,_0x335f1e:0x433,_0x12bc52:0x269},_0x15157f={_0x42226f:0x25,_0x3de7ac:0x4},_0x4f005d={_0x32d7a2:0x3a2};if(_0x562dd0[_0x35ddf0(0x64e,0x773,_0x209067._0x28c959,_0x209067._0x1089f9)]()===_0x35ddf0(_0x209067._0x1299da,_0x209067._0x1046cb,0x3d8,0x4ba))return'windows';function _0x1dd8ec(_0x3d6670,_0x5be114,_0x1a620b,_0x4ea265){return _0x38b1c5(_0x3d6670-0x82,_0x5be114-0xe2,_0x3d6670- -_0x4f005d._0x32d7a2,_0x4ea265);}function _0x35ddf0(_0x6d1b60,_0xd3161d,_0x441e19,_0x20b692){return _0x4a0aa5(_0x20b692,_0xd3161d-_0x15157f._0x42226f,_0x441e19-_0x15157f._0x3de7ac,_0x20b692-0x1e7);}const _0x19266b=_0x4b0783[_0x1dd8ec(_0x209067._0x13b0a5,0x4bc,_0x209067._0x51932c,0x346)](_0x7db312)['toLowerCase']();if(_0x19266b===_0x1dd8ec(_0x209067._0x2bd62e,_0x209067._0x5360e7,_0x209067._0x5575be,0x412))return _0x35ddf0(_0x209067._0x38b659,0x64c,0x517,_0x209067._0x3c6fad);if(_0x19266b==='sh'||_0x19266b===_0x1dd8ec(_0x209067._0x38b1e0,_0x209067._0x496b0d,0x1dc,0x5ae))return _0x1dd8ec(_0x209067._0x335f1e,0x405,_0x209067._0x12bc52,0x412);return'unknown';}function emitChunk(_0x3ee09c,_0x3c44fc,_0x2c923e,_0x1750be){const _0x4272c0={_0x5496e0:0x3fd,_0xdc7d2f:0x34f,_0x56bed7:0x52b},_0x2b1772={_0x203c46:0x92,_0x215a5b:0x4d,_0xcd65f3:0xaf},_0x248fe5={_0x1ab1dd:0xf0,_0xfd6737:0x243};function _0x27b055(_0x5795f1,_0x1badd3,_0x2d5c4e,_0x19024c){return _0x38b1c5(_0x5795f1-0xef,_0x1badd3-_0x248fe5._0x1ab1dd,_0x2d5c4e- -_0x248fe5._0xfd6737,_0x19024c);}function _0x123638(_0x56a7e7,_0x36ce6e,_0x2cf807,_0x4c6ac8){return _0x38b1c5(_0x56a7e7-_0x2b1772._0x203c46,_0x36ce6e-_0x2b1772._0x215a5b,_0x36ce6e-_0x2b1772._0xcd65f3,_0x56a7e7);}_0x3ee09c[_0x123638(0x72f,0x52b,0x554,_0x4272c0._0x5496e0)](_0x2c923e),_0x3c44fc[_0x123638(_0x4272c0._0xdc7d2f,_0x4272c0._0x56bed7,0x6ac,0x508)](_0x2c923e),_0x1750be();}function appendChunk(_0x35d31e,_0xb60114,_0xd77581,_0x465998,_0x373d8d,_0x482024){const _0x27e262={_0x4e757a:0x33f,_0x3e1a79:0x2bd,_0x426d7e:0x357,_0x41ecd9:0x466,_0x5ac72a:0x3fe,_0x4283c9:0x416,_0x202683:0x276,_0x539bd4:0xd5,_0x24110c:0x323,_0x1287a7:0x445,_0x2bd98e:0xed,_0x41e6ae:0x188,_0xc667f0:0x2b,_0x2b7c84:0x17b,_0x413dff:0x15d,_0x506536:0x20f,_0x3a2d9f:0x280,_0x14f1cf:0x47c,_0x2958e1:0x1b7,_0x4e8e6a:0x21,_0xf48251:0x13b,_0x320e8b:0xed,_0x16fb23:0x277,_0x15bc1d:0x76,_0x21c268:0xa3,_0x5514fb:0x4d,_0x8ecb0b:0xa8,_0x3fab90:0x1a9},_0x36b142={_0x22edf1:0x77,_0x399f0f:0x1ef,_0x59aef9:0x67a},_0x17c4f2={_0x2eb01f:0x206},_0x145b11=_0x465998?stripAnsiAndControls(_0xd77581):_0xd77581;function _0x35e0ec(_0xe46335,_0x3ce5af,_0x3b7401,_0x2ea6b4){return _0x38b1c5(_0xe46335-0x2a,_0x3ce5af-0x6d,_0x3ce5af- -_0x17c4f2._0x2eb01f,_0x2ea6b4);}if(_0x145b11[_0x35e0ec(0x593,0x561,0x5f4,0x446)]===0x0)return;if(!_0x482024){emitChunk(_0x35d31e,_0xb60114,_0x145b11,_0x373d8d);return;}let _0x4e5ad6=0x0,_0x4c288f=_0x145b11[_0x35e0ec(_0x27e262._0x4e757a,_0x27e262._0x3e1a79,0x26d,_0x27e262._0x426d7e)]('\x0a');while(_0x4c288f>=0x0){_0x482024[_0x35e0ec(_0x27e262._0x41ecd9,_0x27e262._0x5ac72a,_0x27e262._0x4283c9,0x468)][_0x35e0ec(0x382,_0x27e262._0x202683,_0x27e262._0x539bd4,_0x27e262._0x24110c)](_0x145b11['slice'](_0x4e5ad6,_0x4c288f));const _0x4d874f=_0x482024[_0x35e0ec(0x2f4,0x3fe,_0x27e262._0x1287a7,0x26a)]['join']('');_0x482024['trailingChunks'][_0x49a44f(_0x27e262._0x2bd98e,-0xc9,0x1f5,_0x27e262._0x41e6ae)]=0x0,_0x482024[_0x49a44f(_0x27e262._0xc667f0,_0x27e262._0x2b7c84,-_0x27e262._0x413dff,_0x27e262._0x506536)][_0x35e0ec(_0x27e262._0x3a2d9f,_0x27e262._0x14f1cf,0x3d8,0x4c7)](_0x4d874f)&&emitChunk(_0x35d31e,_0xb60114,_0x4d874f+'\x0a',_0x373d8d),_0x4e5ad6=_0x4c288f+0x1,_0x4c288f=_0x145b11[_0x49a44f(-_0x27e262._0x2958e1,-_0x27e262._0x4e8e6a,-0x39,-_0x27e262._0xf48251)]('\x0a',_0x4e5ad6);}function _0x49a44f(_0x339a29,_0x1f5976,_0x599334,_0xeb6685){return _0x38b1c5(_0x339a29-_0x36b142._0x22edf1,_0x1f5976-_0x36b142._0x399f0f,_0x339a29- -_0x36b142._0x59aef9,_0x1f5976);}_0x4e5ad6<_0x145b11[_0x49a44f(_0x27e262._0x320e8b,0x1e8,_0x27e262._0x16fb23,0x117)]&&_0x482024[_0x49a44f(-_0x27e262._0x15bc1d,_0x27e262._0x21c268,-_0x27e262._0x5514fb,0x13)][_0x49a44f(-0x1fe,-0x1a1,-0x2e5,-0x47)](_0x145b11[_0x49a44f(-_0x27e262._0x8ecb0b,-_0x27e262._0x3fab90,0xaa,-0x265)](_0x4e5ad6));}function flushOutputRegex(_0x81494e,_0x3cd3d3,_0x35441a,_0x5b1244){const _0x19bec5={_0x2dc837:0x38,_0x464d0e:0x46f,_0x336cb1:0x557,_0x100451:0x49a,_0xaa47b0:0x4bb,_0x4584c0:0x55,_0x3cfc24:0x1cd,_0x4325b4:0x143,_0x15518b:0xf3,_0x2298dd:0x6af,_0x2b47d8:0x580,_0x1f76f0:0x6a7,_0x24ce99:0x539},_0x510424={_0x438c34:0xfd,_0x336f36:0x1d1,_0x4af769:0x596},_0xf038a0={_0x3fdc34:0x9a,_0x804931:0x149};if(!_0x35441a||_0x35441a[_0x2623c5(0x6e,-_0x19bec5._0x2dc837,0xc,0x21c)][_0xa9aec0(0x6bc,_0x19bec5._0x464d0e,_0x19bec5._0x336cb1,0x61e)]===0x0)return;const _0x20e3ba=_0x35441a[_0xa9aec0(_0x19bec5._0x100451,0x4ca,0x69e,_0x19bec5._0xaa47b0)][_0x2623c5(_0x19bec5._0x4584c0,_0x19bec5._0x3cfc24,_0x19bec5._0x4325b4,-_0x19bec5._0x15518b)]('');function _0xa9aec0(_0x8954f8,_0x53acf3,_0x278e6d,_0x2c6a91){return _0x38b1c5(_0x8954f8-_0xf038a0._0x3fdc34,_0x53acf3-0x199,_0x2c6a91- -_0xf038a0._0x804931,_0x53acf3);}_0x35441a[_0xa9aec0(_0x19bec5._0x2298dd,_0x19bec5._0x2b47d8,0x451,0x4bb)]['length']=0x0;function _0x2623c5(_0x778313,_0x2c06b1,_0x34b224,_0x295ad1){return _0x38b1c5(_0x778313-_0x510424._0x438c34,_0x2c06b1-_0x510424._0x336f36,_0x778313- -_0x510424._0x4af769,_0x2c06b1);}_0x35441a['regex'][_0xa9aec0(0x6d9,_0x19bec5._0x1f76f0,0x379,_0x19bec5._0x24ce99)](_0x20e3ba)&&emitChunk(_0x81494e,_0x3cd3d3,_0x20e3ba,_0x5b1244);}function createBashTool(_0x266722={}){const _0x366845={_0x11e5f5:0x2cb,_0x4994f1:0x5e7,_0x167ba0:0x723,_0x4da99b:0xef,_0x4cb49d:0x3e5,_0x1d4ca7:0x264,_0x36e7a4:0x3af,_0x2a7fcb:0x230,_0x2dd1c8:0x386,_0x520bcf:0x2df,_0x17949d:0x4c6,_0x3f5e58:0x232,_0x2d5b01:0x92a,_0x2372f9:0x35b,_0x5b221d:0x3be,_0x2d6523:0x691,_0x55dd9d:0x569,_0x1df40c:0x4f6,_0x117c60:0x4c9,_0x59b31a:0x547,_0x583b9a:0x68f,_0x4b3f6f:0x618,_0x456bc4:0x73b,_0x3cb5f9:0x730,_0x57c8e2:0x5cd,_0x33cc51:0x343,_0x4099f9:0x271,_0x130e91:0xd,_0x3f31ef:0x517,_0x197925:0x4c9,_0x1dd41c:0x504,_0x470ee4:0x568,_0x25a626:0x378,_0x478553:0x432,_0x4dc12c:0x67d,_0x3155ed:0x4b4,_0x46487f:0x7a2,_0x312f9d:0x4be},_0x30afe8={_0x36e08e:0x430,_0x22a9c1:0x36b,_0x31ea6f:0xf0,_0xc7d8bb:0x433,_0x376c18:0x25b,_0x15ce2a:0x18f,_0x234604:0x36c,_0x4e80e2:0x315,_0x4ed2ad:0x1cb,_0x25b626:0x94,_0x4aa4fc:0x6f3,_0x326f76:0x510,_0x49b450:0x35e,_0x55c5e7:0x4cc,_0x386870:0x381,_0x43520e:0x64f,_0x58b216:0x590,_0x14ba63:0x5e2,_0x32dda1:0x4f0,_0x57be05:0x3f3,_0x28d4d5:0x386,_0x4fd9fa:0x1b5,_0x3f2c66:0x32c,_0x4c0bef:0x327,_0x39384d:0x4e2,_0xa5c6e7:0x654,_0x688ccb:0x70d,_0x58c8c0:0x54d,_0x56f6e7:0x833,_0x1cd2cb:0x6f8,_0x32d3ad:0x4e2,_0x3a53ee:0x4f9,_0x4e710a:0x4c4,_0x5d4f4c:0x497,_0x4342d2:0x3b0,_0x3d3aa6:0x3a9,_0xb55871:0x1b8,_0x38336c:0x2d7,_0x3f85b8:0x1b8,_0x1d0614:0xb3,_0x75b08b:0xee,_0x421b57:0x4a,_0x475493:0x4ae,_0x2cfa97:0x4c8,_0x26335d:0x34b,_0x5d4bc4:0x5ef,_0x31e345:0x629,_0x4337cb:0x382,_0x3d0dcb:0x4f3,_0x11d8be:0x545,_0x55a164:0x5d1,_0x1212b0:0x3c3,_0x5a003b:0x54a,_0x377841:0x7c3,_0xe0661d:0x4c3,_0x2d47ec:0x2a5,_0x38f128:0x440,_0x524f78:0x45c,_0x237a23:0x516,_0xd6c126:0x575,_0xcd03b7:0x397,_0x3214fa:0x1d4,_0x57afaa:0x337,_0x387348:0x206,_0x5e180a:0x10,_0x3b156d:0x1e5,_0x3ce98a:0x230,_0x8f96f1:0x3e8,_0x3a46cf:0x689,_0x23c6c5:0x7be,_0x59b467:0x722,_0x530fb3:0x86e,_0x20d4c7:0x677,_0x230ec3:0x52c,_0x30cbb6:0x5ed,_0x72f068:0x6f3,_0x21ac02:0x3e7,_0x3dcfc6:0x4b9,_0x38bf7b:0x42d,_0x18a7c5:0x4b9,_0x15a92d:0x3f4,_0x20fa48:0x71f,_0x1b082e:0x7a,_0x75166f:0x42,_0x5ba6e0:0x3b0,_0x16728a:0x20b,_0xb862ac:0x48a,_0x3e2bc7:0x5ea,_0xeb3a65:0x675,_0x15b6dc:0x3b0,_0x3ffdb7:0x35d,_0x37e024:0x1a0,_0x26b0bf:0x718,_0x387222:0x77f,_0x42cf20:0x63d,_0x5131f5:0x67a,_0x446bae:0x444,_0x20e59b:0x525,_0x4887f1:0x5e3,_0x2fced4:0x37e,_0x5c916e:0x537,_0x499d51:0x848,_0x4c6aea:0x8ca,_0x504d82:0x45d,_0x41a817:0x8cf,_0x53e508:0x8f1,_0x4af815:0x700,_0x481178:0x63f,_0x2dc3f8:0x6c2,_0x3819f2:0x3a0,_0x38fc33:0x518,_0x42f54a:0x451,_0x1c9ca3:0x36f,_0xe48ab2:0x23c,_0x596099:0x545,_0x1aaacf:0x612,_0x276d33:0x2e6,_0x17634a:0x47a,_0x438e15:0x29b,_0x57c514:0x3c2,_0x59c5ab:0x23e,_0x1eaf03:0x413,_0x1e1e50:0x4d2,_0x10a56e:0x2ba,_0x36d2ce:0x4c6,_0x31824b:0x629,_0x62adbc:0x706,_0x1e7368:0x60c,_0x1ebd32:0x56e,_0x27022d:0x89a,_0x295d74:0x6c2,_0x2c5a4e:0x6e3,_0xc2528c:0x75f,_0x431959:0x636,_0x516d6e:0x113,_0x40fa36:0x2dc,_0x6b8387:0x1a1,_0x1886f4:0x274,_0x30b300:0x35d},_0xea0564={_0x1f1add:0x79b,_0x4ff2cd:0x706,_0x356f5d:0x66b,_0x152c24:0x72b,_0x4bf855:0x79b,_0x1935d2:0x933},_0x2862ec={_0x1e8b00:0x8,_0x1640e3:0x1ca},_0x4443fe={_0x2193b0:0xba,_0x18d8cf:0x51},_0x55adae={_0xa47785:0x1f3},_0x5d2043={_0xf7b295:0x293},_0x50afa8=_0x4b0783[_0x428a0b(0x464,_0x366845._0x11e5f5,0x370,0x1c4)](_0x266722[_0x428a0b(_0x366845._0x4994f1,0x569,0x5f6,0x606)]??process['cwd']()),_0xb3719b=_0x266722['allowedDirs']??[],_0x8c256e=_0x266722[_0x18d264(_0x366845._0x167ba0,0x7f0,0x7ec,0x8ce)]??DEFAULT_TIMEOUT_MS,_0x44cafa=_0x266722[_0x428a0b(0x3c3,0x219,_0x366845._0x4da99b,_0x366845._0x4cb49d)]??!![];function _0x428a0b(_0x4d9937,_0x4c11e1,_0x447c5c,_0x390267){return _0x38b1c5(_0x4d9937-0x1c2,_0x4c11e1-0x1c0,_0x4c11e1- -_0x5d2043._0xf7b295,_0x4d9937);}const _0x552f43=_0x266722[_0x428a0b(_0x366845._0x1d4ca7,_0x366845._0x36e7a4,0x4a7,0x4db)]??'Bash',_0x2b8eff=_0x266722[_0x428a0b(0x37d,0x33b,0x3a3,_0x366845._0x2a7fcb)]??[],_0x3dd57b=_0x266722['scrubEnvPrefixes']??[],_0xe6c3cd=_0x266722[_0x18d264(_0x366845._0x2dd1c8,_0x366845._0x520bcf,_0x366845._0x17949d,_0x366845._0x3f5e58)];function _0x18d264(_0x57875d,_0x1c01fd,_0x46cb6c,_0x209b11){return _0x38b1c5(_0x57875d-0xe5,_0x1c01fd-_0x55adae._0xa47785,_0x57875d- -0xcb,_0x1c01fd);}return defineTool({'name':_0x552f43,'permissionClass':'always-confirm','description':_0x266722[_0x18d264(0x735,0x8d4,_0x366845._0x2d5b01,0x5bb)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x428a0b(0x2bc,_0x366845._0x2372f9,0x149,_0x366845._0x5b221d),'properties':{'command':{'type':_0x18d264(_0x366845._0x2d6523,_0x366845._0x55dd9d,0x840,_0x366845._0x1df40c)},'description':{'type':_0x428a0b(0x3bb,_0x366845._0x117c60,0x42a,_0x366845._0x59b31a),'description':_0x18d264(_0x366845._0x583b9a,_0x366845._0x4b3f6f,_0x366845._0x456bc4,0x755)},'cwd':{'type':_0x18d264(0x691,_0x366845._0x3cb5f9,_0x366845._0x57c8e2,0x838)},'timeoutMs':{'type':_0x428a0b(0x4d3,_0x366845._0x33cc51,0x18c,_0x366845._0x4099f9)},'ignoreOutput':{'type':_0x428a0b(0x5d,0x205,-_0x366845._0x130e91,0xad)},'outputRegex':{'type':_0x428a0b(_0x366845._0x3f31ef,_0x366845._0x197925,_0x366845._0x1dd41c,0x4c1),'description':_0x428a0b(_0x366845._0x470ee4,_0x366845._0x25a626,0x507,_0x366845._0x478553)},'runInBackground':{'type':'boolean'}},'required':[_0x18d264(_0x366845._0x4dc12c,_0x366845._0x3155ed,_0x366845._0x46487f,_0x366845._0x312f9d),'description']},async *'execute'(_0x3962ec,_0x5f59af){const _0x1b8dff={_0x43bddb:0x102,_0x1c417e:0x115,_0x282507:0x103,_0x18b10a:0x19c,_0xce0c49:0x241,_0x6de791:0x2ae,_0xc7427a:0x214},_0x5ebbc4={_0xc4d357:0x5ed,_0xf5e448:0x39d,_0x94743:0x3ec,_0x588d84:0x3c5},_0x5c2727={_0x4c4d7f:0x9,_0x2da2f7:0xa9,_0x350e98:0x2,_0x4e8e79:0x19b},_0x1f1df6={_0x1ded6d:0x29f,_0x167a0e:0x2e0,_0x578e08:0x213,_0x4de98e:0x1ec},_0x8e1aba={_0x54044c:0x20b,_0x5d6c02:0x193},_0x1422e4={_0x2a42bc:0x251,_0x1b8a71:0xe2,_0x4f915c:0x2f},_0x264531=_0x3962ec[_0x5c7755(_0x30afe8._0x36e08e,_0x30afe8._0x22a9c1,0x201,0x293)]??_0x8c256e;if(!Number[_0x5c7755(0x138,0x1ae,_0x30afe8._0x31ea6f,0x305)](_0x264531)||_0x264531<0x1)throw new ToolExecutionError(_0x5c7755(0x189,0x2b5,0x333,_0x30afe8._0xc7d8bb),{'command':_0x3962ec['command']});throwIfAborted(_0x5f59af[_0x5c7755(_0x30afe8._0x376c18,_0x30afe8._0x15ce2a,0x9c,_0x30afe8._0x234604)]);const _0x266fd1=_0x3962ec[_0x5c7755(_0x30afe8._0x4e80e2,_0x30afe8._0x4ed2ad,_0x30afe8._0x25b626,-0x44)]??![],_0xb40b38=resolveBashExecutionTarget(_0x3962ec,{'defaultCwd':_0x50afa8,'allowedDirs':_0xb3719b,'shellPath':_0x266722[_0x5c7755(_0x30afe8._0x4aa4fc,_0x30afe8._0x326f76,0x6fa,_0x30afe8._0x49b450)]});function _0x5c7755(_0xe42eb4,_0x43fcd7,_0x1809be,_0x441f90){return _0x428a0b(_0x441f90,_0x43fcd7-0x17,_0x1809be-0x19a,_0x441f90-0xf9);}const {cwd:_0xcd893c,shellPath:_0x10a26d}=_0xb40b38,_0x143d29=buildShellArgs(_0x3962ec[_0x5c7755(0x521,_0x30afe8._0x55c5e7,_0x30afe8._0x386870,0x6dc)],_0x10a26d),_0x336441=_0x562dd0[_0x5c7755(_0x30afe8._0x43520e,_0x30afe8._0x58b216,0x72a,_0x30afe8._0x14ba63)]()===_0x707dcf(0x4a4,_0x30afe8._0x32dda1,0x53a,_0x30afe8._0x57be05),_0x4763bb=buildChildEnv(_0x266722[_0x5c7755(_0x30afe8._0x28d4d5,_0x30afe8._0x4fd9fa,0xba,_0x30afe8._0x3f2c66)],_0x2b8eff,_0x3dd57b);if(_0x3962ec[_0x707dcf(_0x30afe8._0x4c0bef,0x427,_0x30afe8._0x39384d,0x4f9)]){if(!_0xe6c3cd)throw new ToolExecutionError(_0x707dcf(_0x30afe8._0xa5c6e7,_0x30afe8._0x688ccb,0x6d7,_0x30afe8._0x58c8c0),{'command':_0x3962ec[_0x707dcf(_0x30afe8._0x56f6e7,_0x30afe8._0x1cd2cb,0x706,0x769)]});throwIfAborted(_0x5f59af[_0x707dcf(0x50e,0x1fa,0x3c9,_0x30afe8._0x32d3ad)]),await _0x266722[_0x5c7755(0x5fc,_0x30afe8._0x3a53ee,0x588,_0x30afe8._0x4e710a)]?.(_0xb40b38,_0x5f59af['executionAuthorization'],_0x5f59af),throwIfAborted(_0x5f59af['signal']);const _0x425b94=_0xe6c3cd['reserve']();let _0x3b3f14;try{_0x3b3f14=_0x35a061(_0x10a26d,_0x143d29,{'cwd':_0xcd893c,'env':_0x4763bb,'stdio':[_0x5c7755(_0x30afe8._0x5d4f4c,_0x30afe8._0x4342d2,_0x30afe8._0x3d3aa6,0x427),_0x5c7755(0x1d9,_0x30afe8._0xb55871,0xec,0x1bf),_0x5c7755(_0x30afe8._0x38336c,_0x30afe8._0x3f85b8,-0x36,_0x30afe8._0x1d0614)],'shell':![],'windowsHide':!![],'detached':!_0x336441});}catch(_0x53db45){_0xe6c3cd[_0x5c7755(_0x30afe8._0x75b08b,0x187,0x1ab,_0x30afe8._0x421b57)](_0x425b94);throw mapSpawnError(_0x53db45,{'command':_0x3962ec['command'],'cwd':_0xcd893c,'shellPath':_0x10a26d});}let _0x5741bb;try{_0x5741bb=_0xe6c3cd['attach'](_0x425b94,{'child':_0x3b3f14,'command':_0x3962ec[_0x5c7755(0x610,0x4cc,0x2e6,_0x30afe8._0x475493)],'cwd':_0xcd893c,'stripAnsi':_0x44cafa,...!_0x336441&&_0x3b3f14[_0x707dcf(_0x30afe8._0x2cfa97,0x6d1,0x516,_0x30afe8._0x26335d)]!==void 0x0?{'processGroupId':_0x3b3f14[_0x707dcf(_0x30afe8._0x5d4bc4,_0x30afe8._0x31e345,0x516,_0x30afe8._0x4337cb)]}:{}});}catch(_0x348307){_0xe6c3cd['release'](_0x425b94),_0x3b3f14[_0x5c7755(0x450,_0x30afe8._0x3d0dcb,0x4b7,_0x30afe8._0x11d8be)](_0x5c7755(_0x30afe8._0x55a164,_0x30afe8._0x1212b0,_0x30afe8._0x5a003b,_0x30afe8._0x234604),()=>{});try{killProcessGroup(_0x3b3f14,_0x336441);}catch{}throw _0x348307;}return createToolOutput(_0x707dcf(0x8c9,0x5a3,0x77a,_0x30afe8._0x377841)+_0x5741bb[_0x707dcf(_0x30afe8._0xe0661d,_0x30afe8._0x2d47ec,_0x30afe8._0x38f128,_0x30afe8._0x524f78)]+'\x20(pid\x20'+(_0x5741bb[_0x707dcf(0x631,0x390,_0x30afe8._0x237a23,_0x30afe8._0xd6c126)]??'?')+_0x5c7755(0x3ab,_0x30afe8._0xcd03b7,0x488,_0x30afe8._0x3214fa),{'shellId':_0x5741bb[_0x5c7755(_0x30afe8._0x57afaa,_0x30afe8._0x387348,_0x30afe8._0x5e180a,_0x30afe8._0x3b156d)],'status':_0x5741bb[_0x5c7755(_0x30afe8._0x3ce98a,0x1f6,_0x30afe8._0x8f96f1,0x14f)],'command':_0x5741bb['command'],'description':_0x3962ec[_0x707dcf(0x9a5,_0x30afe8._0x3a46cf,_0x30afe8._0x23c6c5,_0x30afe8._0x59b467)],'cwd':_0x5741bb[_0x707dcf(0x854,_0x30afe8._0x530fb3,_0x30afe8._0x20d4c7,_0x30afe8._0x230ec3)],'pid':_0x5741bb[_0x707dcf(_0x30afe8._0x30cbb6,0x70b,_0x30afe8._0x237a23,0x6ea)]??null});}let _0x3408c4,_0x44f749;if(_0x3962ec[_0x707dcf(0x8cd,0x581,_0x30afe8._0x72f068,0x8fa)]!==void 0x0)try{const _0x2ac713=new RegExp(_0x3962ec[_0x5c7755(_0x30afe8._0x21ac02,_0x30afe8._0x3dcfc6,0x45b,0x3ef)]);_0x3408c4={'regex':_0x2ac713,'trailingChunks':[]},_0x44f749={'regex':_0x2ac713,'trailingChunks':[]};}catch(_0x33d139){throw new ToolExecutionError(_0x5c7755(0x33b,_0x30afe8._0x38bf7b,0x45c,0x583)+(_0x33d139 instanceof Error?_0x33d139['message']:String(_0x33d139)),{'command':_0x3962ec['command'],'outputRegex':_0x3962ec[_0x5c7755(0x639,_0x30afe8._0x18a7c5,_0x30afe8._0x15a92d,0x6a7)]});}await _0x266722['verifyExecution']?.(_0xb40b38,_0x5f59af[_0x707dcf(0x5c8,0x5e2,_0x30afe8._0x20fa48,0x615)],_0x5f59af),throwIfAborted(_0x5f59af[_0x5c7755(_0x30afe8._0x1b082e,0x18f,0x2c6,-_0x30afe8._0x75166f)]);let _0x26a29b;try{_0x26a29b=_0x35a061(_0x10a26d,_0x143d29,{'cwd':_0xcd893c,'env':_0x4763bb,'stdio':_0x266fd1?[_0x5c7755(0x515,_0x30afe8._0x5ba6e0,_0x30afe8._0x16728a,0x36d),_0x707dcf(0x748,_0x30afe8._0xb862ac,_0x30afe8._0x3e2bc7,_0x30afe8._0xeb3a65),_0x5c7755(0x332,_0x30afe8._0x15b6dc,0x543,_0x30afe8._0x3ffdb7)]:[_0x5c7755(0x549,0x3b0,0x282,0x30d),_0x707dcf(0x24b,0x441,0x3f2,0x3fd),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x336441});}catch(_0x36a37f){throw mapSpawnError(_0x36a37f,{'command':_0x3962ec['command'],'cwd':_0xcd893c,'shellPath':_0x10a26d});}const _0x351474=[],_0x4ccb54=[];function _0x707dcf(_0x2f5d58,_0x54383d,_0x5cf775,_0x4c8733){return _0x428a0b(_0x2f5d58,_0x5cf775-_0x1422e4._0x2a42bc,_0x5cf775-_0x1422e4._0x1b8a71,_0x4c8733-_0x1422e4._0x4f915c);}const _0x28f297=new _0x80fa98('utf8'),_0x36fc50=new _0x80fa98(_0x5c7755(0x4a3,0x2ef,_0x30afe8._0x37e024,0x2ba));let _0x1f3f4b,_0x47007f=![],_0x295769;const _0x34b60e=()=>{if(!_0x1f3f4b)return;const _0x2f9ace=_0x1f3f4b;_0x1f3f4b=void 0x0,_0x2f9ace();},_0x5d3163=async()=>{if(_0x4ccb54[_0x25386d(_0x1f1df6._0x1ded6d,_0x1f1df6._0x167a0e,_0x1f1df6._0x578e08,_0x1f1df6._0x4de98e)]>0x0||_0x47007f)return;function _0x25386d(_0x635518,_0x655073,_0x3299ae,_0x993bc0){return _0x5c7755(_0x635518-0x195,_0x655073- -_0x8e1aba._0x54044c,_0x3299ae-_0x8e1aba._0x5d6c02,_0x635518);}await new Promise(_0x9a524f=>{_0x1f3f4b=_0x9a524f;});},_0x25aba2=_0x1a3d9d=>{const _0x3b6c60={_0x37d557:0x1c1,_0x4419be:0x39d};function _0x2a87e2(_0x2574d6,_0x3faf77,_0x3476ff,_0x514749){return _0x707dcf(_0x3476ff,_0x3faf77-_0x3b6c60._0x37d557,_0x514749- -_0x3b6c60._0x4419be,_0x514749-0xfb);}appendChunk(_0x351474,_0x4ccb54,_0x28f297[_0x2a87e2(_0x4443fe._0x2193b0,0x2f8,_0x4443fe._0x18d8cf,0xfc)](_0x1a3d9d),_0x44cafa,_0x34b60e,_0x3408c4);},_0x44c042=_0x14c1f4=>{const _0x24fedf={_0x38b58f:0x18b,_0x5939c1:0xe5};function _0x1b969f(_0x51a399,_0x6394fd,_0x30f2b2,_0x42a65f){return _0x5c7755(_0x51a399-_0x24fedf._0x38b58f,_0x42a65f- -0x95,_0x30f2b2-_0x24fedf._0x5939c1,_0x30f2b2);}appendChunk(_0x351474,_0x4ccb54,_0x36fc50[_0x1b969f(0x390,0x120,_0x2862ec._0x1e8b00,_0x2862ec._0x1640e3)](_0x14c1f4),_0x44cafa,_0x34b60e,_0x44f749);};_0x26a29b[_0x707dcf(0x897,_0x30afe8._0x26b0bf,_0x30afe8._0x387222,_0x30afe8._0x42cf20)]?.['on'](_0x707dcf(0x779,0x626,0x75f,0x6c3),_0x25aba2),_0x26a29b[_0x707dcf(0x47d,0x5aa,0x647,_0x30afe8._0x5131f5)]?.['on'](_0x5c7755(_0x30afe8._0x446bae,_0x30afe8._0x20e59b,_0x30afe8._0x4887f1,_0x30afe8._0x2fced4),_0x44c042);let _0x31e8eb=![],_0x8d0c49;const _0x401d52=addAbortListener(_0x5f59af[_0x5c7755(0x36d,_0x30afe8._0x15ce2a,-0x46,-0x2e)],()=>{const _0x1fc53b={_0x127790:0x136,_0x38a7cd:0x3fd,_0x20f4bd:0xe6};_0x295769=toAbortError(_0x5f59af[_0x334085(_0x5c2727._0x4c4d7f,-_0x5c2727._0x2da2f7,_0x5c2727._0x350e98,0x1ef)][_0x164d88(0x175,0x308,_0x5c2727._0x4e8e79,0x33c)]),_0x47007f=!![];function _0x164d88(_0x166fe5,_0x26f7bb,_0x312bef,_0x279976){return _0x707dcf(_0x312bef,_0x26f7bb-_0x1fc53b._0x127790,_0x26f7bb- -_0x1fc53b._0x38a7cd,_0x279976-_0x1fc53b._0x20f4bd);}_0x34b60e();function _0x334085(_0x40e4be,_0x42cb92,_0x30bddf,_0x9dec89){return _0x5c7755(_0x40e4be-0x1d1,_0x30bddf- -0x18d,_0x30bddf-0x139,_0x9dec89);}try{killProcessGroup(_0x26a29b,_0x336441);}catch{}});try{const _0x1afd0d=new Promise((_0x512612,_0x405dad)=>{const _0x41b607={_0xc0b0f1:0x72,_0x2678b0:0x1ad},_0x4e3a19={_0x4aa728:0x90,_0x5a227d:0x1d4},_0xc0b3f2={_0x11b78b:0x58d,_0x2f6c92:0x6a5},_0x195fc9={_0x42bb99:0x1bf},_0x456b3d={_0x57cc20:0x184},_0x19bbbf=()=>{function _0x43647e(_0x387194,_0x299db0,_0x5cd7cc,_0x1483f2){return _0x3233(_0x1483f2- -_0x456b3d._0x57cc20,_0x5cd7cc);}_0x8d0c49&&(clearTimeout(_0x8d0c49),_0x8d0c49=void 0x0);function _0x45c835(_0x217938,_0x140e9d,_0x1e17c5,_0x4540da){return _0x3233(_0x1e17c5-0xbb,_0x4540da);}_0x26a29b['off'](_0x43647e(0x341,0xa2,0x2e5,0x212),_0xf0e6db),_0x26a29b['off'](_0x45c835(_0x5ebbc4._0xc4d357,_0x5ebbc4._0xf5e448,_0x5ebbc4._0x94743,_0x5ebbc4._0x588d84),_0x260e20);},_0xf0e6db=_0x112fe2=>{_0x47007f=!![],_0x34b60e(),_0x19bbbf(),_0x405dad(_0x295769??_0x112fe2);},_0x260e20=(_0x1f1f54,_0x1de7a8)=>{_0x31e8eb=!![],appendChunk(_0x351474,_0x4ccb54,_0x28f297['end'](),_0x44cafa,_0x34b60e,_0x3408c4),appendChunk(_0x351474,_0x4ccb54,_0x36fc50[_0x2c2255(0x470,_0xc0b3f2._0x11b78b,_0xc0b3f2._0x2f6c92,0x55a)](),_0x44cafa,_0x34b60e,_0x44f749),flushOutputRegex(_0x351474,_0x4ccb54,_0x3408c4,_0x34b60e),flushOutputRegex(_0x351474,_0x4ccb54,_0x44f749,_0x34b60e),_0x47007f=!![];function _0x2c2255(_0x281711,_0x1ac12f,_0x5486f7,_0x1d29cb){return _0x3233(_0x1d29cb-_0x195fc9._0x42bb99,_0x281711);}_0x34b60e(),_0x19bbbf();if(_0x295769){_0x405dad(_0x295769);return;}_0x512612({'code':_0x1f1f54,'signal':_0x1de7a8});};_0x8d0c49=setTimeout(()=>{function _0x195ccb(_0x1813f2,_0x308473,_0x138442,_0x4bd109){return _0x3233(_0x4bd109-0x335,_0x138442);}_0x47007f=!![],_0x34b60e(),_0x19bbbf();try{killProcessGroup(_0x26a29b,_0x336441);}catch{}function _0x5243e2(_0x5e5bd1,_0x52725d,_0x314aba,_0x176574){return _0x3233(_0x176574- -0x3df,_0x5e5bd1);}_0x405dad(new ToolExecutionError(_0x5243e2(-_0x1b8dff._0x43bddb,0xf9,_0x1b8dff._0x1c417e,_0x1b8dff._0x282507)+_0x264531+_0x5243e2(-_0x1b8dff._0x18b10a,-_0x1b8dff._0xce0c49,-_0x1b8dff._0x6de791,-_0x1b8dff._0xc7427a),{'command':_0x3962ec[_0x5243e2(-0x13c,-0x3d,0x11c,0xc0)],'cwd':_0xcd893c,'shellPath':_0x10a26d,'timeoutMs':_0x264531,'timedOut':!![]}));},_0x264531),_0x26a29b[_0x3062b3(0x989,0x76e,_0xea0564._0x1f1add,0x70b)](_0x3062b3(0x48b,_0xea0564._0x4ff2cd,_0xea0564._0x356f5d,0x82a),_0xf0e6db);function _0x3062b3(_0xddf2c3,_0x2bb637,_0x296a51,_0x3fcb06){return _0x5c7755(_0xddf2c3-_0x4e3a19._0x4aa728,_0x296a51-0x2a8,_0x296a51-_0x4e3a19._0x5a227d,_0x3fcb06);}function _0x1c33d0(_0x19b723,_0x41e381,_0x3f7187,_0x30bade){return _0x5c7755(_0x19b723-_0x41b607._0xc0b0f1,_0x19b723-0x39f,_0x3f7187-_0x41b607._0x2678b0,_0x41e381);}_0x26a29b[_0x3062b3(_0xea0564._0x152c24,0x8d9,_0xea0564._0x4bf855,_0xea0564._0x1935d2)](_0x3062b3(0x564,0x4cb,0x606,0x74d),_0x260e20);});while(_0x4ccb54[_0x707dcf(_0x30afe8._0x5c916e,_0x30afe8._0x499d51,0x725,_0x30afe8._0x4c6aea)]>0x0||!_0x47007f){if(_0x4ccb54[_0x5c7755(0x5eb,0x4eb,_0x30afe8._0x504d82,0x39e)]===0x0){await _0x5d3163();continue;}const _0x2cd479=_0x4ccb54[_0x707dcf(_0x30afe8._0x41a817,_0x30afe8._0x53e508,_0x30afe8._0x4af815,_0x30afe8._0x481178)]();_0x2cd479!==void 0x0&&(yield _0x2cd479);}const _0x3219ab=await _0x1afd0d,_0x37fff1=_0x266fd1?_0x707dcf(0x429,0x519,0x4af,_0x30afe8._0x2dc3f8)+(_0x3219ab[_0x5c7755(0x1b6,_0x30afe8._0x3819f2,_0x30afe8._0x38fc33,_0x30afe8._0x42f54a)]??0x0):_0x351474[_0x5c7755(0x4da,_0x30afe8._0x1c9ca3,_0x30afe8._0xe48ab2,_0x30afe8._0x596099)](''),_0x20fcd8={'command':_0x3962ec[_0x707dcf(_0x30afe8._0x1aaacf,0x8dc,0x706,0x56b)],'description':_0x3962ec['description'],'cwd':_0xcd893c,'exitCode':_0x3219ab[_0x5c7755(_0x30afe8._0x276d33,0x3a0,_0x30afe8._0x17634a,_0x30afe8._0x438e15)]??0x0,'signal':_0x3219ab[_0x707dcf(_0x30afe8._0x57c514,0x466,0x3c9,0x50a)],'ignoreOutput':_0x266fd1,'outputRegex':_0x3962ec['outputRegex']??null,'shellPath':_0x10a26d,'timeoutMs':_0x264531};if(_0x3219ab[_0x5c7755(_0x30afe8._0x59c5ab,_0x30afe8._0x3819f2,0x479,_0x30afe8._0x1eaf03)]!==0x0)throw new ToolExecutionError(_0x37fff1||'Command\x20exited\x20with\x20code\x20'+(_0x3219ab[_0x707dcf(0x427,_0x30afe8._0x1e1e50,0x5da,0x705)]??0x0),_0x20fcd8);return createToolOutput(_0x37fff1,_0x20fcd8);}catch(_0xaa8cff){while(_0x4ccb54['length']>0x0){const _0x21a395=_0x4ccb54[_0x5c7755(_0x30afe8._0x10a56e,_0x30afe8._0x36d2ce,0x5f2,_0x30afe8._0x31824b)]();_0x21a395!==void 0x0&&(yield _0x21a395);}if(_0xaa8cff instanceof ToolExecutionError)throw _0xaa8cff;if(_0x295769)throw _0x295769;throw mapSpawnError(_0xaa8cff,{'command':_0x3962ec[_0x707dcf(0x8a5,0x6d9,_0x30afe8._0x62adbc,_0x30afe8._0x1e7368)],'cwd':_0xcd893c,'shellPath':_0x10a26d});}finally{_0x8d0c49&&clearTimeout(_0x8d0c49);_0x401d52(),_0x26a29b[_0x707dcf(0x915,_0x30afe8._0x1ebd32,_0x30afe8._0x387222,_0x30afe8._0x27022d)]?.[_0x5c7755(_0x30afe8._0x295d74,0x527,0x3e3,0x6f3)]('data',_0x25aba2),_0x26a29b['stderr']?.[_0x5c7755(0x347,0x527,0x338,_0x30afe8._0x2c5a4e)](_0x707dcf(0x6e0,0x7f4,_0x30afe8._0xc2528c,_0x30afe8._0x431959),_0x44c042);if(!_0x31e8eb&&_0x26a29b[_0x5c7755(_0x30afe8._0x516d6e,_0x30afe8._0x40fa36,0x40b,_0x30afe8._0x6b8387)]&&!_0x26a29b[_0x5c7755(0x3cb,0x3f2,_0x30afe8._0x1886f4,_0x30afe8._0x30b300)])try{killProcessGroup(_0x26a29b,_0x336441);}catch{}}}});}function createShellExecTool(_0x248120={}){return createBashTool(_0x248120);}import{readdir as _0x147f88,readFile as _0x2ef1eb}from'fs/promises';import{extname as _0x4c2ea2,join as _0x1f7763}from'path';import{open}from'fs/promises';import{dirname as _0x463148,isAbsolute as _0x371240,join as _0x57aba7,relative as _0x353423,resolve as _0x2bf58e}from'path';import{readdir as _0x206f58,readFile as _0x1540b1}from'fs/promises';import{join as _0x439c55,relative as _0x23d521,sep}from'path';import{delimiter}from'path';import{mkdir as _0x956b9e,rm as _0x2d8458,stat as _0x21d3cf,writeFile as _0x10e044}from'fs/promises';import{hostname}from'os';import{dirname as _0x573261}from'path';import{unwatchFile,watchFile}from'fs';import{chmod as _0x12e665,readFile as _0x249219,rename as _0x37d813,rm as _0x3bf1d8,stat as _0x11ffea,writeFile as _0x4be63b}from'fs/promises';import{homedir as _0x291cc2}from'os';import{dirname as _0x10457f,isAbsolute as _0x5d5ab8,join as _0x493e9a,resolve as _0x2d24f8}from'path';import{parse as _0xca59de,stringify as _0x513477}from'yaml';import{randomUUID as _0x4c92cc}from'crypto';import{cp,lstat,mkdir as _0x1fc932,readdir as _0x598fff,readFile as _0x24aa3e,rename as _0x2789a6,rm as _0x50b4bd,writeFile as _0x40ea68}from'fs/promises';import{homedir}from'os';import{join as _0x3034e8}from'path';import{parse as _0x11a73b,stringify as _0x5e6bf6}from'yaml';import{z}from'zod';import{readdir as _0x59a0ee,readFile as _0x346c1e}from'fs/promises';import{join as _0x309b20}from'path';import{randomUUID as _0x3fd15d}from'crypto';import{mkdir as _0x3a2cc5,readdir as _0x592e7c,readFile as _0x293f30,rename as _0x3bdc5d,rm as _0x49beb0,writeFile as _0x2b3ff2}from'fs/promises';import{homedir as _0x5581d8}from'os';import{basename as _0x1c860a,isAbsolute as _0x190afa,join as _0x52b7f6,relative as _0xae0504,resolve as _0x4782b1}from'path';import{parse as _0x3df5f2,stringify as _0x184ec3}from'yaml';import{delimiter as _0x22e095,resolve as _0xe318fa}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x824eb7){const _0x2e1ab6={_0x32071f:0x34b,_0x468156:0x39e,_0x4094eb:0x1a4,_0x4cc48f:0x198,_0x3d15ae:0x424,_0x1b3364:0x25e,_0x222f43:0xf1,_0x5a1fdc:0x24c,_0x2875d7:0x18,_0x7a5bdf:0x58},_0x2397b7={_0x353f7c:0x2b,_0x51581c:0x1e},_0x48a644={_0x368666:0x1ca,_0x50c319:0xe7};function _0x201502(_0x3cc7c5,_0x429870,_0x38e12d,_0x31b06c){return _0x38b1c5(_0x3cc7c5-_0x48a644._0x368666,_0x429870-_0x48a644._0x50c319,_0x429870- -0x494,_0x3cc7c5);}function _0x475972(_0x83856a,_0x3685cb,_0x1587e0,_0x5e7b55){return _0x38b1c5(_0x83856a-_0x2397b7._0x353f7c,_0x3685cb-_0x2397b7._0x51581c,_0x5e7b55- -0x436,_0x1587e0);}const _0x437772=[];let _0x5f266a='',_0x4c959e=0x0;while(_0x4c959e<_0x824eb7['length']){const _0x4a23b=_0x824eb7[_0x4c959e];if(_0x4a23b==='\x5c'&&_0x4c959e+0x1<_0x824eb7[_0x201502(0x409,0x2d3,_0x2e1ab6._0x32071f,_0x2e1ab6._0x468156)])_0x5f266a+=_0x824eb7[_0x4c959e+0x1],_0x4c959e+=0x2;else{if(_0x4a23b==='\x22'||_0x4a23b==='\x27'){const _0x477aad=_0x4a23b;_0x4c959e++;while(_0x4c959e<_0x824eb7[_0x201502(_0x2e1ab6._0x4094eb,0x2d3,_0x2e1ab6._0x4cc48f,_0x2e1ab6._0x3d15ae)]&&_0x824eb7[_0x4c959e]!==_0x477aad){_0x824eb7[_0x4c959e]==='\x5c'&&_0x4c959e+0x1<_0x824eb7[_0x201502(0xd2,0x2d3,0x246,_0x2e1ab6._0x1b3364)]?(_0x5f266a+=_0x824eb7[_0x4c959e+0x1],_0x4c959e+=0x2):(_0x5f266a+=_0x824eb7[_0x4c959e],_0x4c959e++);}_0x4c959e++;}else _0x4a23b!==void 0x0&&/\s/[_0x475972(0x3f3,0x3eb,_0x2e1ab6._0x222f43,_0x2e1ab6._0x5a1fdc)](_0x4a23b)?(_0x5f266a&&(_0x437772[_0x201502(-0x156,-_0x2e1ab6._0x2875d7,-_0x2e1ab6._0x7a5bdf,-0x1dc)](_0x5f266a),_0x5f266a=''),_0x4c959e++):(_0x5f266a+=_0x4a23b,_0x4c959e++);}}if(_0x5f266a)_0x437772['push'](_0x5f266a);return _0x437772;}function renderCommandInstructions(_0x18ac20){const _0x363f91={_0x4386cf:0x3af,_0x3f5b14:0x58b,_0x53eb7d:0x283,_0x3dee03:0x2d5,_0xd59a4:0x43d,_0x241515:0x634,_0x504b29:0x7a5,_0x3314fb:0x7a3,_0x98d666:0x7a7,_0x42fc8d:0x72b,_0x317eef:0x5b7,_0x57a835:0x5d4,_0x3de38d:0x712,_0x442544:0x406,_0x389792:0x252,_0x26a5c5:0x65a,_0x5d89fb:0x67d,_0x5cbaa8:0x640,_0x357988:0x1f5},_0x392c83={_0x5d29c0:0x156,_0x21fcfa:0x1bf,_0x5a5877:0xeb},_0x2375fd={_0xb223de:0x8b},_0xe3ac4a={_0x393b7b:0xf2,_0x2d731c:0x110,_0x470e43:0x3b};let _0xa464d4=_0x18ac20[_0x49f79b(0x26f,_0x363f91._0x4386cf,_0x363f91._0x3f5b14,0x255)];function _0x49f79b(_0xe7a228,_0x59a667,_0x303e5d,_0x48b5eb){return _0x4a0aa5(_0x48b5eb,_0x59a667- -_0xe3ac4a._0x393b7b,_0x303e5d-_0xe3ac4a._0x2d731c,_0x48b5eb-_0xe3ac4a._0x470e43);}let _0x1e44ee=![];const _0x49e3f7=tokenizeCommandArguments(_0x18ac20['argumentsText']);_0xa464d4=_0xa464d4[_0x49f79b(0x36c,0x252,0x1bf,0xb8)](/\$ARGUMENTS\[(\d+)\]/g,(_0x5ca804,_0x9f159e)=>{return _0x1e44ee=!![],_0x49e3f7[Number(_0x9f159e)]??'';}),_0xa464d4=_0xa464d4[_0x49f79b(_0x363f91._0x53eb7d,0x252,_0x363f91._0x3dee03,_0x363f91._0xd59a4)](/\$ARGUMENTS\b/g,()=>{function _0x2e0065(_0xb5bb97,_0x346bb1,_0x5b77e3,_0x4c588b){return _0x49f79b(_0xb5bb97-_0x2375fd._0xb223de,_0x4c588b- -0x78,_0x5b77e3-0x191,_0xb5bb97);}return _0x1e44ee=!![],_0x18ac20[_0x2e0065(0x4f4,0x60d,0x75b,0x5e2)];});if(_0x18ac20[_0xb8cf9e(0x4ed,_0x363f91._0x241515,0x4e0,0x633)]&&_0x18ac20[_0xb8cf9e(_0x363f91._0x504b29,_0x363f91._0x3314fb,_0x363f91._0x98d666,0x633)]['length']>0x0)for(let _0xb1a748=0x0;_0xb1a748<_0x18ac20['argumentNames'][_0x49f79b(_0x363f91._0x42fc8d,_0x363f91._0x317eef,_0x363f91._0x57a835,_0x363f91._0x3de38d)];_0xb1a748++){const _0x44ddf0=_0x18ac20['argumentNames'][_0xb1a748];if(_0x44ddf0){const _0x23101e=new RegExp('\x5c$'+_0x44ddf0+'\x5cb','g');_0xa464d4=_0xa464d4[_0x49f79b(0x19e,0x252,0x3f0,0x44b)](_0x23101e,()=>{return _0x1e44ee=!![],_0x49e3f7[_0xb1a748]??'';});}}function _0xb8cf9e(_0x1ca59e,_0x1f1529,_0x293d43,_0x23bdd3){return _0x38b1c5(_0x1ca59e-_0x392c83._0x5d29c0,_0x1f1529-_0x392c83._0x21fcfa,_0x23bdd3-_0x392c83._0x5a5877,_0x1ca59e);}return _0xa464d4=_0xa464d4[_0x49f79b(_0x363f91._0x442544,_0x363f91._0x389792,0x3c5,0x31d)](/\$(\d+)\b/g,(_0x5938ba,_0x36591d)=>{return _0x1e44ee=!![],_0x49e3f7[Number(_0x36591d)]??'';}),!_0x1e44ee&&_0x18ac20[_0x49f79b(0x652,_0x363f91._0x26a5c5,_0x363f91._0x5d89fb,0x54b)][_0x49f79b(_0x363f91._0x5cbaa8,0x65b,0x6e6,0x4f8)]()&&(_0xa464d4=_0xa464d4+_0x49f79b(0x260,0x39a,_0x363f91._0x357988,0x195)+_0x18ac20['argumentsText']),_0xa464d4;}var PROVIDER_API_KEY_ENVS=[{'env':_0x38b1c5(0x741,0x4ad,0x550,0x3a3),'provider':_0x38b1c5(0x490,0x57c,0x465,0x45a)},{'env':'ANTHROPIC_API_KEY','provider':'anthropic'},{'env':_0x4a0aa5(0x5b3,0x43b,0x439,0x514),'provider':_0x4a0aa5(0x364,0x551,0x639,0x3dd)},{'env':_0x4a0aa5(0x5e2,0x4e4,0x49f,0x49d),'provider':_0x38b1c5(0x648,0x4f5,0x60f,0x561)},{'env':_0x38b1c5(0x7b5,0x779,0x721,0x6d8),'provider':'grok'},{'env':_0x38b1c5(0x48f,0x68f,0x512,0x55e),'provider':'deepinfra'},{'env':_0x4a0aa5(0x5f3,0x637,0x6f7,0x466),'provider':'zai'},{'env':_0x38b1c5(0x649,0x85e,0x67e,0x714),'provider':'moonshot'},{'env':_0x38b1c5(0x2af,0x634,0x49c,0x404),'provider':_0x4a0aa5(0x59a,0x3d9,0x545,0x4f1)},{'env':_0x4a0aa5(0x597,0x5cd,0x5e8,0x581),'provider':_0x4a0aa5(0x711,0x621,0x7f3,0x594)},{'env':'OPENAI_API_KEY','provider':_0x4a0aa5(0x674,0x49e,0x298,0x3f3)},{'env':_0x38b1c5(0x7ae,0x6a1,0x6fe,0x4fb),'provider':_0x4a0aa5(0x5a3,0x566,0x3ad,0x5f1)},{'env':_0x38b1c5(0x6e4,0x783,0x5c5,0x5c0),'provider':_0x4a0aa5(0x1ab,0x3b0,0x291,0x344)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x4a0aa5(0x60a,0x5e1,0x4a4,0x774)](_0x6b2184=>_0x6b2184[_0x38b1c5(0x410,0x625,0x431,0x345)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x38b1c5(0x652,0x34d,0x559,0x51c),'GOOGLE_CSE_KEY',_0x4a0aa5(0x3fa,0x56c,0x74d,0x457)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,'BASH_ENV','ENV',_0x4a0aa5(0x4f2,0x396,0x53f,0x2b3),_0x4a0aa5(0x454,0x4d1,0x4d0,0x38f),_0x4a0aa5(0x7a0,0x6ac,0x62c,0x569),_0x4a0aa5(0x6b0,0x647,0x5c3,0x433)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x4a0aa5(0x4aa,0x68d,0x667,0x577)](Object['prototype']),_0x38b1c5(0x4d9,0x350,0x522,0x310)]),PRODUCTION_FILE_EDIT_MODES=['exact',_0x4a0aa5(0x6a5,0x54c,0x595,0x482),'hashline'];function prototypeSafeRecord(_0x353d8c){const _0x1050fd={_0x262e3d:0x3f7,_0x119a6a:0x3e0,_0x2353ad:0x27e,_0x421b96:0xad,_0x38be3d:0x290,_0x2d25cf:0x2e8,_0x7af856:0x496,_0x18399c:0x3c5,_0x4399af:0x368,_0x29b939:0x27b},_0x2ef572={_0x37a32f:0x175,_0x2c2b2e:0x1fb,_0x280dff:0x62,_0x3d826f:0x2e6,_0x5877e6:0x4a9,_0x113dea:0x1b5,_0x50e27a:0x111,_0x4fc030:0x3af},_0x5258a5={_0x511076:0x154},_0x1e58ae={_0x22f51d:0x45c,_0x5acfc8:0x64},_0x145249={_0x1878af:0x3e2,_0x8c0a16:0x1c4,_0x451fb5:0x7e};function _0x2a42b5(_0x12f66f,_0x479a49,_0x7294d,_0x4be586){return _0x4a0aa5(_0x7294d,_0x479a49- -_0x145249._0x1878af,_0x7294d-_0x145249._0x8c0a16,_0x4be586-_0x145249._0x451fb5);}function _0x5ba973(_0x402723,_0x305d12,_0x3cbbd0,_0x339b6e){return _0x4a0aa5(_0x3cbbd0,_0x339b6e- -_0x1e58ae._0x22f51d,_0x3cbbd0-0xe,_0x339b6e-_0x1e58ae._0x5acfc8);}return z[_0x5ba973(_0x1050fd._0x262e3d,0x77,_0x1050fd._0x119a6a,_0x1050fd._0x2353ad)](_0x4d3155=>{const _0x109dc2={_0x1d617b:0x70,_0x616a:0x2bd};if(_0x4d3155===null||typeof _0x4d3155!==_0x285c4d(_0x2ef572._0x37a32f,_0x2ef572._0x2c2b2e,_0x2ef572._0x280dff,0x155)||Array[_0x1005b2(0x369,_0x2ef572._0x3d826f,0x1fa,_0x2ef572._0x5877e6)](_0x4d3155))return null;function _0x285c4d(_0x2696e6,_0x1c277d,_0x283e1f,_0x5047b7){return _0x5ba973(_0x2696e6-0x0,_0x1c277d-_0x5258a5._0x511076,_0x283e1f,_0x1c277d-0x127);}const _0x603013=Object[_0x1005b2(0x47b,0x437,0x3c0,0x2c8)](_0x4d3155);if(_0x603013!==Object[_0x1005b2(0x2c5,_0x2ef572._0x113dea,0x4d9,_0x2ef572._0x50e27a)]&&_0x603013!==null)return null;function _0x1005b2(_0x2b3a26,_0x53908b,_0x1c22fb,_0x3638fe){return _0x5ba973(_0x2b3a26-_0x109dc2._0x1d617b,_0x53908b-0xdf,_0x53908b,_0x2b3a26-_0x109dc2._0x616a);}return{'entries':Object[_0x285c4d(0x46d,0x351,0x156,_0x2ef572._0x4fc030)](_0x4d3155)};},z[_0x5ba973(0x9e,-0x73,0x144,0xd4)]({'entries':z[_0x2a42b5(_0x1050fd._0x421b96,_0x1050fd._0x38be3d,_0x1050fd._0x2d25cf,_0x1050fd._0x7af856)](z[_0x5ba973(0x38e,0xfb,_0x1050fd._0x18399c,0x1e3)]([z[_0x5ba973(0x146,0x54,_0x1050fd._0x4399af,0x242)](),_0x353d8c]))}))[_0x5ba973(-_0x1050fd._0x29b939,-0xfa,-0x82,-0x121)](({entries:_0x438519})=>Object[_0x2a42b5(0x2dc,0xfb,-0xb3,0x17d)](_0x438519));}var chatModelAuthSchemeSchema=z[_0x4a0aa5(0x4f0,0x360,0x27e,0x447)](['bearer',_0x4a0aa5(0x6d0,0x51e,0x3eb,0x52e)]),apiKeyAuthSchema=z[_0x4a0aa5(0x66b,0x530,0x61a,0x6b6)]({'type':z[_0x38b1c5(0x6c5,0x46d,0x5f6,0x605)]('apiKey'),'apiKey':z[_0x4a0aa5(0x66f,0x69e,0x7d1,0x810)](),'authScheme':chatModelAuthSchemeSchema[_0x4a0aa5(0x502,0x5fa,0x496,0x73b)]()})[_0x38b1c5(0x2df,0x486,0x49e,0x679)](),oauthAuthSchema=z['object']({'type':z['literal'](_0x38b1c5(0x4d8,0x683,0x5b3,0x4b4)),'access':z['string'](),'refresh':z[_0x38b1c5(0x753,0x821,0x75c,0x7d7)](),'expires':z[_0x38b1c5(0x70f,0x400,0x5d6,0x77e)]()[_0x4a0aa5(0x4e8,0x5fa,0x417,0x451)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x38b1c5(0x633,0x299,0x49e,0x369)](),finiteNonNegative=z[_0x38b1c5(0x6fd,0x49f,0x5d6,0x435)]()['finite']()[_0x4a0aa5(0x407,0x570,0x775,0x3d7)](),chatGptAuthSchema=z['object']({'type':z[_0x4a0aa5(0x359,0x538,0x328,0x5df)](_0x4a0aa5(0x506,0x392,0x281,0x532)),'access':z[_0x38b1c5(0x8bf,0x7ee,0x75c,0x5b2)]()[_0x4a0aa5(0x6d9,0x5e4,0x625,0x511)](0x1),'refresh':z[_0x4a0aa5(0x63e,0x69e,0x882,0x715)]()[_0x4a0aa5(0x7f5,0x5e4,0x602,0x4a3)](0x1),'idToken':z[_0x38b1c5(0x6de,0x696,0x75c,0x798)]()['min'](0x1),'accountId':z[_0x38b1c5(0x8c2,0x59c,0x75c,0x6d3)]()[_0x38b1c5(0x4d8,0x829,0x6a2,0x68b)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative['optional']()})[_0x4a0aa5(0x54d,0x3e0,0x440,0x3ce)](),authMethodSchema=z[_0x38b1c5(0x2d6,0x5d5,0x45b,0x385)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z[_0x38b1c5(0x3e6,0x351,0x41e,0x53e)]([_0x4a0aa5(0x59f,0x69b,0x5dc,0x51f),_0x4a0aa5(0x58e,0x6ad,0x71b,0x750),'medium','high',_0x38b1c5(0x98b,0x691,0x7a4,0x606),_0x38b1c5(0x98e,0x7ac,0x77d,0x89c)]),reasoningOptionSchema=z[_0x38b1c5(0x700,0x6e1,0x5ee,0x5de)]({'id':z[_0x4a0aa5(0x4a9,0x69e,0x554,0x7d2)]()['trim']()['min'](0x1),'description':z[_0x4a0aa5(0x5c0,0x69e,0x7f4,0x882)]()[_0x4a0aa5(0x792,0x5fa,0x762,0x807)](),'mode':z[_0x38b1c5(0x20c,0x31d,0x41e,0x4f0)]([_0x4a0aa5(0x3c7,0x480,0x456,0x49c),_0x4a0aa5(0x5ea,0x72c,0x6d2,0x70c)])[_0x38b1c5(0x566,0x6b1,0x6b8,0x7c7)](),'effort':reasoningEffortSchema['optional'](),'budgetTokens':z['number']()['int']()[_0x4a0aa5(0x737,0x5e4,0x668,0x5ba)](0x400)[_0x38b1c5(0x4c4,0x7e9,0x6b8,0x5c5)]()})[_0x4a0aa5(0x633,0x5b1,0x708,0x71c)]((_0x1fb3c1,_0x238654)=>{const _0x513013={_0x227b6d:0xca,_0xca5886:0x71,_0x325471:0x247,_0xb7208c:0x3a,_0x119c08:0x173,_0x1f2ed3:0x18f,_0x5acffb:0x1e9,_0x4abecb:0x271,_0x56e1a8:0xd,_0x2c456c:0xdf,_0x111f29:0x1c3,_0x357e97:0x1e9,_0x4bdec3:0x48,_0x195c25:0x21,_0x5e25fe:0x68,_0x58bc8e:0xd4,_0x290e46:0x1eb,_0x1388d6:0x56,_0x32a720:0x2dc,_0x1c53f8:0xed,_0x2d767d:0x3c,_0x4e0322:0xa1,_0x2bc103:0xf2,_0x4e49ba:0x16,_0x357773:0xc1,_0x226334:0x5e,_0x5dc8ba:0x5,_0x1aa2e7:0x210,_0x30708c:0x339,_0x2a933b:0x156,_0x3ed09a:0x1fd,_0x11b0e4:0x117,_0x43511a:0x5a,_0x177f58:0x5f,_0x87c227:0x343,_0x13fada:0xb0,_0x339c30:0x17b,_0x2c9c6e:0x112},_0x5044cc={_0x1dc5a8:0xff},_0x380455={_0x10e3d5:0x109,_0x547ffb:0x55c},_0x137897=_0x1fb3c1['id']['toLowerCase']();(_0x137897===_0x4bb1d7(_0x513013._0x227b6d,0x355,_0x513013._0xca5886,_0x513013._0x325471)||_0x137897===_0x1461fa(-0x57,-0x269,-_0x513013._0xb7208c,_0x513013._0x119c08)||_0x137897===_0x1461fa(_0x513013._0x1f2ed3,0xb5,_0x513013._0x5acffb,0x262))&&_0x238654[_0x4bb1d7(-_0x513013._0x4abecb,_0x513013._0x56e1a8,-0x153,-0x156)]({'code':'custom','path':['id'],'message':_0x4bb1d7(_0x513013._0x2c456c,-0x1b6,-_0x513013._0x111f29,-0x7a)+_0x137897+_0x4bb1d7(-0x256,-0x34b,0xb6,-0x155)});if(_0x1fb3c1[_0x1461fa(-0xab,-_0x513013._0x357e97,-0xe8,-0x1ba)]==='manual'){_0x1fb3c1['budgetTokens']===void 0x0&&_0x238654['addIssue']({'code':_0x1461fa(-_0x513013._0x4bdec3,0x158,-_0x513013._0x195c25,_0x513013._0x5e25fe),'path':[_0x1461fa(0x5e,_0x513013._0x58bc8e,_0x513013._0x290e46,_0x513013._0x1388d6)],'message':_0x4bb1d7(-0x81,-0x204,0xc1,-0x94)});_0x1fb3c1['effort']!==void 0x0&&_0x238654['addIssue']({'code':_0x4bb1d7(-0x2eb,-0x8f,-_0x513013._0x32a720,-_0x513013._0x1c53f8),'path':[_0x4bb1d7(0x2f9,_0x513013._0x2d767d,_0x513013._0x4e0322,0xfb)],'message':_0x1461fa(_0x513013._0x2bc103,0x2fe,_0x513013._0x4e49ba,-_0x513013._0x357773)});return;}function _0x4bb1d7(_0x11f4c5,_0x389c04,_0x553bb7,_0x59ebb0){return _0x38b1c5(_0x11f4c5-0x28,_0x389c04-_0x380455._0x10e3d5,_0x59ebb0- -_0x380455._0x547ffb,_0x553bb7);}_0x1fb3c1[_0x1461fa(_0x513013._0x226334,-0x14d,-_0x513013._0x56e1a8,_0x513013._0x5dc8ba)]!==void 0x0&&_0x238654[_0x4bb1d7(-_0x513013._0x1aa2e7,-_0x513013._0x30708c,-0x22d,-_0x513013._0x2a933b)]({'code':'custom','path':['budgetTokens'],'message':'budgetTokens\x20requires\x20manual\x20mode'});function _0x1461fa(_0x42b378,_0x5735ff,_0xf6bc07,_0x4a84c8){return _0x4a0aa5(_0x5735ff,_0x42b378- -0x3f9,_0xf6bc07-_0x5044cc._0x1dc5a8,_0x4a84c8-0x52);}_0x1fb3c1[_0x4bb1d7(-_0x513013._0x3ed09a,-0x2a6,-0x113,-0x150)]===void 0x0&&_0x1fb3c1[_0x4bb1d7(0x240,-_0x513013._0x11b0e4,-_0x513013._0x43511a,0xfb)]===void 0x0&&_0x238654[_0x4bb1d7(0x9f,-_0x513013._0x177f58,-_0x513013._0x87c227,-0x156)]({'code':_0x4bb1d7(0xe8,_0x513013._0x13fada,-0x122,-0xed),'path':['effort'],'message':_0x1461fa(_0x513013._0x339c30,_0x513013._0x2c9c6e,0x279,0x5f)});});function validateReasoningOptionIds(_0x51cd14,_0x4a1ebe){const _0x12a72f={_0x451605:0x8ae,_0x2dfccd:0x947,_0x3c0117:0x864,_0x4d9a9b:0x10,_0x1d4811:0x69,_0x4472dc:0xcc,_0x2425df:0xa7,_0x1b4d45:0x970},_0x397a71={_0x41b035:0x192},_0x4a30a9={_0x5014cc:0x1bb,_0x3c3a06:0x1c2},_0x29b222=new Set();function _0x53b888(_0x1e336d,_0x5c66a6,_0x49be16,_0x5f056a){return _0x4a0aa5(_0x5f056a,_0x49be16-_0x4a30a9._0x5014cc,_0x49be16-0x67,_0x5f056a-_0x4a30a9._0x3c3a06);}function _0x591ff8(_0x501d82,_0x502625,_0x7e1a67,_0x33c489){return _0x38b1c5(_0x501d82-0x78,_0x502625-_0x397a71._0x41b035,_0x502625- -0x621,_0x501d82);}for(let _0x214603=0x0;_0x214603<_0x51cd14[_0x53b888(_0x12a72f._0x451605,_0x12a72f._0x2dfccd,_0x12a72f._0x3c0117,0x8a6)];_0x214603+=0x1){const _0x299b0c=_0x51cd14[_0x214603]?.['id'][_0x591ff8(_0x12a72f._0x4d9a9b,0x11c,-0xf3,-_0x12a72f._0x1d4811)]();if(!_0x299b0c)continue;if(_0x29b222[_0x591ff8(_0x12a72f._0x4472dc,0x1ad,-0x30,_0x12a72f._0x2425df)](_0x299b0c)){_0x4a1ebe['addIssue']({'code':'custom','path':[_0x53b888(0x864,0x79c,0x836,0x7a2),_0x214603,'id'],'message':_0x53b888(_0x12a72f._0x1b4d45,0x693,0x8a5,0x6f0)+_0x299b0c+'\x22'});continue;}_0x29b222['add'](_0x299b0c);}}var providerReasoningConfigSchema=z['object']({'options':z['array'](reasoningOptionSchema)})[_0x38b1c5(0x640,0x5aa,0x66f,0x4b1)]((_0x35fe81,_0x68cb42)=>{const _0x420e9f={_0x18eed2:0x6b6},_0x107f31={_0xd5776b:0x26};function _0x22e67a(_0x40c4ca,_0x1b5243,_0x43efb4,_0x328c90){return _0x38b1c5(_0x40c4ca-0x60,_0x1b5243-0xdf,_0x43efb4- -_0x107f31._0xd5776b,_0x328c90);}validateReasoningOptionIds(_0x35fe81[_0x22e67a(0x834,_0x420e9f._0x18eed2,0x713,0x752)],_0x68cb42);}),modelReasoningConfigSchema=z['object']({'defaultOption':z[_0x38b1c5(0x959,0x70c,0x75c,0x683)]()['trim']()[_0x4a0aa5(0x697,0x5e4,0x74c,0x500)](0x1)[_0x4a0aa5(0x5a9,0x5fa,0x7db,0x740)](),'canDisable':z[_0x38b1c5(0x59c,0x641,0x498,0x2d0)]()['optional'](),'options':z[_0x38b1c5(0x620,0x539,0x730,0x63c)](reasoningOptionSchema)})[_0x38b1c5(0x6d2,0x4e4,0x66f,0x6c0)]((_0x3e3764,_0x3842de)=>{const _0x3065c3={_0x311f3a:0x2b9,_0x380dbf:0x4be,_0x1d12c5:0xb,_0x570945:0x2bd,_0x2bc2b5:0x32e,_0x9d6e00:0x20c,_0x59c72f:0x137,_0x4e7931:0x8a,_0x4ea16c:0x2f,_0x51a7dd:0x279,_0x15f5c2:0x210,_0x420726:0x471,_0x3d8f67:0x1e6,_0x7d55cf:0xfe,_0x476a1e:0x1f0,_0x22a2d0:0x289,_0x32b60e:0xb},_0xceb7d2={_0x25c1cf:0x18c,_0x1d2d97:0xe7},_0x55a94d={_0x4d6271:0x5};validateReasoningOptionIds(_0x3e3764[_0x3fe901(_0x3065c3._0x311f3a,0x18a,0x473,_0x3065c3._0x380dbf)],_0x3842de);const _0x3f2377=_0x3e3764[_0x3d2dae(-_0x3065c3._0x1d12c5,-0x13d,0xe4,-0x1df)]?.[_0x3fe901(_0x3065c3._0x570945,_0x3065c3._0x2bc2b5,0x1d9,0x3c1)]();if(_0x3f2377===void 0x0)return;if(_0x3f2377==='off'){_0x3e3764['canDisable']!==!![]&&_0x3842de['addIssue']({'code':_0x3d2dae(-_0x3065c3._0x9d6e00,-0x290,-_0x3065c3._0x59c72f,-0x324),'path':[_0x3d2dae(-0xb,-_0x3065c3._0x4e7931,_0x3065c3._0x4ea16c,-0x99)],'message':_0x3d2dae(-0x48,0x66,-0x7d,-0x23b)});return;}function _0x3fe901(_0x5808bd,_0x196d2a,_0x4562aa,_0x2eb8d3){return _0x38b1c5(_0x5808bd-_0x55a94d._0x4d6271,_0x196d2a-0xd8,_0x5808bd- -0x480,_0x2eb8d3);}function _0x3d2dae(_0x1fb8b3,_0x2bcc85,_0x326bb2,_0x1a9ae0){return _0x4a0aa5(_0x326bb2,_0x1fb8b3- -0x5bd,_0x326bb2-_0xceb7d2._0x25c1cf,_0x1a9ae0-_0xceb7d2._0x1d2d97);}!_0x3e3764['options'][_0x3fe901(_0x3065c3._0x51a7dd,0xc1,_0x3065c3._0x15f5c2,_0x3065c3._0x420726)](_0x2ee8c5=>_0x2ee8c5['id'][_0x3fe901(0x2bd,0x1ce,0x20d,0x170)]()===_0x3f2377)&&_0x3842de[_0x3fe901(-0x7a,-_0x3065c3._0x3d8f67,-_0x3065c3._0x7d55cf,0x2e)]({'code':'custom','path':[_0x3fe901(_0x3065c3._0x476a1e,0x287,_0x3065c3._0x22a2d0,0x300)],'message':'Reasoning\x20default\x20\x22'+_0x3e3764[_0x3d2dae(-_0x3065c3._0x32b60e,0x181,0xc2,-0x112)]+'\x22\x20is\x20not\x20a\x20declared\x20option'});}),modelDefinitionSchema=z[_0x4a0aa5(0x70c,0x530,0x3ff,0x631)]({'id':z[_0x4a0aa5(0x7d7,0x69e,0x846,0x77e)](),'name':z[_0x38b1c5(0x8d5,0x5d4,0x75c,0x6d5)]()[_0x4a0aa5(0x542,0x5fa,0x656,0x5db)](),'reasoning':modelReasoningConfigSchema[_0x4a0aa5(0x784,0x5fa,0x5ee,0x5c0)]()})[_0x38b1c5(0x43c,0x53d,0x49e,0x5ef)](),modelConfigSchema=z[_0x38b1c5(0x33d,0x2c0,0x45b,0x5ee)]([z[_0x38b1c5(0x7c6,0x53c,0x5f6,0x57d)](![]),z[_0x4a0aa5(0x5c0,0x538,0x63d,0x605)](!![]),z[_0x38b1c5(0x86d,0x925,0x75c,0x7ef)](),z['array'](z['string']()),z[_0x38b1c5(0x8c9,0x6b9,0x730,0x681)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x4a0aa5(0x24e,0x360,0x253,0x390)]([_0x38b1c5(0x8e5,0x4ee,0x6e1,0x520),'openai-chat-completions',_0x38b1c5(0x4b8,0x5f5,0x4bb,0x38a),_0x4a0aa5(0x491,0x605,0x64b,0x773)]),providerConfigSchema=z['object']({'apiKey':z[_0x4a0aa5(0x831,0x69e,0x5e9,0x4a5)]()['optional'](),'token':z[_0x38b1c5(0x941,0x732,0x75c,0x96d)]()[_0x38b1c5(0x77f,0x6ab,0x6b8,0x84b)](),'defaultModel':z[_0x4a0aa5(0x675,0x69e,0x605,0x6b8)]()['optional'](),'smallModel':z['string']()[_0x38b1c5(0x825,0x6a6,0x6b8,0x66d)](),'currentAuth':z[_0x38b1c5(0x63e,0x849,0x75c,0x7b2)]()['optional'](),'auth':z['array'](authMethodSchema)[_0x4a0aa5(0x67a,0x5fa,0x4ed,0x528)](),'surface':chatModelSurfaceSchema['optional'](),'baseUrl':z[_0x38b1c5(0x938,0x839,0x75c,0x649)]()['optional'](),'models':modelConfigSchema[_0x38b1c5(0x73b,0x603,0x6b8,0x73f)](),'customHeaders':z['record'](z[_0x4a0aa5(0x708,0x69e,0x570,0x7cd)](),z[_0x38b1c5(0x966,0x829,0x75c,0x5bb)]())[_0x38b1c5(0x5bc,0x52f,0x6b8,0x4d9)](),'reasoning':providerReasoningConfigSchema['optional']()})[_0x4a0aa5(0x26b,0x3e0,0x276,0x556)](),mcpServerConfigSchema=z[_0x38b1c5(0x7b1,0x667,0x5ee,0x721)]({'command':z[_0x4a0aa5(0x6eb,0x69e,0x852,0x786)]()[_0x38b1c5(0x522,0x7d5,0x6b8,0x663)](),'args':z[_0x4a0aa5(0x868,0x672,0x5dd,0x4a0)](z['string']())[_0x38b1c5(0x7e8,0x883,0x6b8,0x784)](),'env':z['record'](z[_0x38b1c5(0x940,0x6f4,0x75c,0x81c)](),z[_0x4a0aa5(0x7b1,0x69e,0x62a,0x7c1)]())[_0x38b1c5(0x787,0x680,0x6b8,0x555)](),'transport':z[_0x4a0aa5(0x16f,0x360,0x47f,0x501)]([_0x38b1c5(0x7e3,0x71e,0x695,0x60c),_0x4a0aa5(0x808,0x662,0x674,0x720)])['optional'](),'url':z[_0x38b1c5(0x905,0x87a,0x75c,0x8c6)]()[_0x4a0aa5(0x4a3,0x5fa,0x69b,0x4a7)](),'headers':z[_0x38b1c5(0x939,0x7a3,0x776,0x7f8)](z[_0x38b1c5(0x5bf,0x81d,0x75c,0x8c2)](),z['string']())[_0x4a0aa5(0x6fe,0x5fa,0x3fe,0x5d0)](),'prefix':z[_0x38b1c5(0x715,0x7d6,0x75c,0x831)]()[_0x4a0aa5(0x7cd,0x5fa,0x63f,0x3ed)](),'timeoutMs':z[_0x4a0aa5(0x53a,0x518,0x54d,0x720)]()[_0x4a0aa5(0x576,0x5fa,0x46e,0x6c5)](),'enabled':z[_0x38b1c5(0x465,0x681,0x498,0x3f2)]()['optional'](),'auth':z[_0x38b1c5(0x58f,0x41a,0x5ee,0x51a)]({'type':z[_0x38b1c5(0x60b,0x39b,0x41e,0x3d5)]([_0x38b1c5(0x6be,0x50f,0x6e2,0x58c),_0x4a0aa5(0x73b,0x532,0x5cb,0x5ab),_0x4a0aa5(0x6c1,0x4f5,0x337,0x708)]),'token':z[_0x4a0aa5(0x5e4,0x69e,0x687,0x7d1)]()[_0x4a0aa5(0x729,0x5fa,0x66c,0x537)](),'oauth':z['object']({'clientId':z[_0x38b1c5(0x66d,0x91f,0x75c,0x855)]()[_0x38b1c5(0x74f,0x624,0x6b8,0x643)](),'clientMetadataUrl':z[_0x4a0aa5(0x625,0x69e,0x833,0x50d)]()[_0x38b1c5(0x848,0x5cd,0x6b8,0x7d7)](),'authorizationServer':z[_0x38b1c5(0x78e,0x959,0x75c,0x708)]()[_0x38b1c5(0x5df,0x771,0x6b8,0x6ef)](),'scopes':z[_0x4a0aa5(0x7ed,0x672,0x71a,0x7b5)](z['string']())['optional'](),'tokenStorageKey':z[_0x38b1c5(0x71b,0x88d,0x75c,0x7cc)]()[_0x38b1c5(0x7d7,0x4ef,0x6b8,0x62c)]()})[_0x38b1c5(0x3b4,0x3bb,0x49e,0x58a)]()['optional']()})[_0x4a0aa5(0x2e4,0x3e0,0x543,0x1e2)]()[_0x4a0aa5(0x4da,0x5fa,0x7a4,0x5e1)]()})['passthrough'](),mcpToolPermissionClassSchema=z[_0x4a0aa5(0x51c,0x360,0x16b,0x179)](['read',_0x4a0aa5(0x485,0x41d,0x377,0x250),_0x38b1c5(0x636,0x7a3,0x607,0x67c)]),mcpSettingsSchema=z[_0x38b1c5(0x49f,0x60c,0x5ee,0x7d8)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x4a0aa5(0x4e4,0x5fa,0x7f2,0x480)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x38b1c5(0x664,0x33c,0x498,0x4bd)]()))['optional'](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x38b1c5(0x5e9,0x825,0x6b8,0x68c)](),'defaultTimeoutMs':z[_0x38b1c5(0x78f,0x653,0x5d6,0x3e5)]()['optional']()})[_0x4a0aa5(0x268,0x3e0,0x4c3,0x29c)](),skillsSettingsSchema=z[_0x4a0aa5(0x477,0x530,0x4c4,0x4c4)]({'enabled':z[_0x38b1c5(0x3e5,0x48e,0x498,0x394)]()['optional'](),'includeDefaults':z[_0x4a0aa5(0x312,0x3da,0x22a,0x37a)]()[_0x4a0aa5(0x6d1,0x5fa,0x777,0x53c)](),'directories':z[_0x4a0aa5(0x616,0x672,0x7b4,0x85b)](z['string']())[_0x38b1c5(0x88a,0x775,0x6b8,0x6a2)](),'exclude':z[_0x4a0aa5(0x632,0x672,0x6eb,0x810)](z[_0x4a0aa5(0x729,0x69e,0x5ef,0x768)]())[_0x38b1c5(0x72c,0x72c,0x6b8,0x705)]()})[_0x4a0aa5(0x46d,0x3e0,0x57a,0x2bb)](),commandsSettingsSchema=z[_0x4a0aa5(0x4be,0x530,0x64d,0x6f1)]({'enabled':z[_0x38b1c5(0x377,0x349,0x498,0x349)]()[_0x4a0aa5(0x7d3,0x5fa,0x5cc,0x51e)](),'directories':z['array'](z['string']())[_0x4a0aa5(0x693,0x5fa,0x74d,0x55a)]()})[_0x4a0aa5(0x223,0x3e0,0x30e,0x20c)](),agentsSettingsSchema=z['object']({'enabled':z[_0x38b1c5(0x5df,0x42a,0x498,0x4eb)]()[_0x38b1c5(0x88d,0x622,0x6b8,0x4f8)](),'includeDefaults':z[_0x4a0aa5(0x4bb,0x3da,0x4bc,0x2f9)]()[_0x38b1c5(0x5f0,0x7f2,0x6b8,0x5af)](),'directories':z[_0x4a0aa5(0x5f8,0x672,0x6b4,0x75e)](z['string']())[_0x38b1c5(0x5df,0x580,0x6b8,0x84c)](),'maxConcurrency':z[_0x4a0aa5(0x4d2,0x518,0x5e0,0x42f)]()['finite']()[_0x38b1c5(0x82d,0x5da,0x77f,0x81c)]()[_0x4a0aa5(0x688,0x52e,0x545,0x456)]()[_0x4a0aa5(0x5da,0x5fa,0x58e,0x4c7)]()})[_0x4a0aa5(0x4ef,0x3e0,0x357,0x1d6)](),uiThemeSettingsSchema=z[_0x4a0aa5(0x5bf,0x530,0x6ce,0x6c2)]({'mode':z[_0x38b1c5(0x384,0x2a5,0x41e,0x36c)](['auto','dark','light'])[_0x38b1c5(0x4a5,0x658,0x6b8,0x627)](),'colorLevel':z[_0x38b1c5(0x476,0x50e,0x41e,0x42c)]([_0x4a0aa5(0x66d,0x4ab,0x4bf,0x60f),_0x38b1c5(0x63c,0x5b0,0x6e2,0x8a5),'ansi16',_0x4a0aa5(0x5e7,0x692,0x5e5,0x89b),_0x38b1c5(0x6cf,0x350,0x518,0x341)])[_0x38b1c5(0x5f1,0x78a,0x6b8,0x587)](),'backgrounds':z['enum']([_0x38b1c5(0x4f1,0x74e,0x569,0x6c7),'on','off'])[_0x38b1c5(0x71f,0x54c,0x6b8,0x748)](),'messageStyle':z[_0x4a0aa5(0x4ca,0x360,0x302,0x493)]([_0x4a0aa5(0x641,0x64e,0x772,0x6d9),_0x38b1c5(0x3ef,0x651,0x59a,0x720)])['optional']()})[_0x38b1c5(0x29c,0x58f,0x49e,0x5b3)](),statuslineSegmentSchema=z[_0x38b1c5(0x5c9,0x418,0x41e,0x604)]([_0x4a0aa5(0x474,0x3f6,0x492,0x4a2),'session',_0x4a0aa5(0x525,0x419,0x296,0x267),'sudo',_0x38b1c5(0x4d4,0x553,0x5b8,0x56c),_0x4a0aa5(0x2f4,0x34f,0x3c2,0x372),_0x4a0aa5(0x1dd,0x32c,0x2d7,0x13a),_0x4a0aa5(0x237,0x35a,0x329,0x491),_0x38b1c5(0x672,0x6dc,0x5d5,0x7ab),_0x4a0aa5(0x505,0x6f7,0x56c,0x771),_0x38b1c5(0x48c,0x6f0,0x5f4,0x726),_0x4a0aa5(0x5b3,0x5ec,0x625,0x6e2),_0x4a0aa5(0x58b,0x57f,0x5fe,0x41c),_0x4a0aa5(0x473,0x571,0x531,0x707),_0x38b1c5(0x59f,0x69a,0x788,0x7dc)]),statuslineItemSchema=z[_0x38b1c5(0x2f1,0x505,0x45b,0x63a)]([statuslineSegmentSchema,z[_0x38b1c5(0x746,0x5be,0x5f6,0x55a)]('|')]),statuslineRowSchema=z[_0x38b1c5(0x5ec,0x5b9,0x730,0x847)](statuslineItemSchema),statuslineConfigSchema=z[_0x38b1c5(0x449,0x6f3,0x5ee,0x56b)]({'rows':z[_0x4a0aa5(0x7ed,0x63f,0x762,0x4e3)]([statuslineRowSchema,statuslineRowSchema])['optional']()})[_0x38b1c5(0x6b2,0x397,0x49e,0x37a)](),memoryExtractionSettingsSchema=z[_0x4a0aa5(0x433,0x530,0x4d1,0x718)]({'enabled':z[_0x38b1c5(0x340,0x423,0x498,0x349)]()[_0x38b1c5(0x54a,0x728,0x6b8,0x84f)](),'provider':z[_0x4a0aa5(0x802,0x69e,0x4ae,0x766)]()['min'](0x1)[_0x4a0aa5(0x496,0x5fa,0x6f8,0x522)](),'model':z[_0x38b1c5(0x677,0x934,0x75c,0x7ee)]()[_0x4a0aa5(0x60e,0x5e4,0x497,0x49f)](0x1)[_0x4a0aa5(0x56d,0x5fa,0x4ae,0x6b2)](),'minUserMessages':z[_0x38b1c5(0x7b2,0x714,0x5d6,0x3c2)]()[_0x38b1c5(0x5d3,0x862,0x77f,0x5e9)]()[_0x38b1c5(0x858,0x602,0x6a2,0x751)](0x1)[_0x4a0aa5(0x4be,0x5fa,0x67d,0x5ce)](),'structuredOutput':z[_0x38b1c5(0x535,0x327,0x498,0x5a3)]()[_0x38b1c5(0x5a9,0x55e,0x6b8,0x6b5)](),'maxSeedTokens':z[_0x4a0aa5(0x600,0x518,0x315,0x38f)]()[_0x38b1c5(0x902,0x6b7,0x77f,0x86d)]()['min'](0x1)[_0x4a0aa5(0x7f4,0x5fa,0x4aa,0x57b)](),'trimToolOutputs':z[_0x38b1c5(0x2d9,0x67f,0x498,0x361)]()[_0x4a0aa5(0x6ec,0x5fa,0x7f8,0x74d)]()})[_0x4a0aa5(0x4f4,0x66c,0x83e,0x7fa)](),memoryInjectionSettingsSchema=z[_0x4a0aa5(0x386,0x530,0x5e8,0x58f)]({'tokenBudget':z['number']()[_0x4a0aa5(0x664,0x6c1,0x638,0x7a5)]()[_0x38b1c5(0x8ad,0x6ee,0x6a2,0x5d5)](0x80)[_0x38b1c5(0x608,0x6b2,0x77d,0x78b)](0x2000)[_0x38b1c5(0x559,0x662,0x6b8,0x6b1)](),'rankByUsage':z[_0x4a0aa5(0x49b,0x3da,0x27c,0x22e)]()['optional']()})[_0x4a0aa5(0x6c9,0x66c,0x49a,0x6ad)](),memoryConsolidateSettingsSchema=z[_0x38b1c5(0x716,0x5be,0x5ee,0x5ad)]({'enabled':z[_0x38b1c5(0x669,0x49a,0x498,0x635)]()[_0x38b1c5(0x7da,0x803,0x6b8,0x59a)](),'provider':z[_0x4a0aa5(0x82f,0x69e,0x7a6,0x71c)]()[_0x38b1c5(0x572,0x527,0x6a2,0x629)](0x1)[_0x4a0aa5(0x4ab,0x5fa,0x73a,0x424)](),'model':z['string']()[_0x38b1c5(0x515,0x7d3,0x6a2,0x703)](0x1)[_0x38b1c5(0x65d,0x567,0x6b8,0x729)](),'maxExtractsPerRun':z[_0x38b1c5(0x6e1,0x649,0x5d6,0x3f9)]()[_0x38b1c5(0x75b,0x86c,0x77f,0x7c4)]()['min'](0x1)[_0x38b1c5(0x798,0x8a8,0x6b8,0x4a8)](),'maxUnusedDays':z[_0x4a0aa5(0x30f,0x518,0x6b7,0x48a)]()[_0x38b1c5(0x5be,0x6e8,0x77f,0x8f4)]()['min'](0x1)[_0x38b1c5(0x87a,0x7d7,0x6b8,0x82a)](),'requireReview':z[_0x38b1c5(0x450,0x564,0x498,0x512)]()[_0x38b1c5(0x8b2,0x7ce,0x6b8,0x7c0)](),'writeSkills':z['boolean']()[_0x38b1c5(0x849,0x762,0x6b8,0x56f)](),'readSourceTranscripts':z[_0x38b1c5(0x2c0,0x320,0x498,0x32a)]()[_0x38b1c5(0x5a0,0x6d3,0x6b8,0x579)](),'maxTranscriptReadsPerRun':z[_0x38b1c5(0x622,0x571,0x5d6,0x7af)]()[_0x4a0aa5(0x514,0x6c1,0x785,0x857)]()[_0x4a0aa5(0x548,0x5e4,0x7bb,0x47b)](0x0)[_0x38b1c5(0x7e2,0x7ce,0x6b8,0x4ae)]()})[_0x4a0aa5(0x86e,0x66c,0x66f,0x4da)](),memorySettingsSchema=z[_0x4a0aa5(0x5ad,0x530,0x4ce,0x40a)]({'enabled':z['boolean']()[_0x38b1c5(0x874,0x4b9,0x6b8,0x729)](),'extraction':memoryExtractionSettingsSchema['optional'](),'consolidate':memoryConsolidateSettingsSchema[_0x4a0aa5(0x688,0x5fa,0x757,0x6eb)](),'injection':memoryInjectionSettingsSchema[_0x4a0aa5(0x687,0x5fa,0x7af,0x74e)]()})['strict'](),recentModelSchema=z['object']({'provider':z[_0x38b1c5(0x782,0x75e,0x75c,0x876)](),'model':z['string'](),'usedAt':z['number']()})[_0x38b1c5(0x421,0x4e8,0x49e,0x5d6)](),lspServerEntrySchema=z[_0x4a0aa5(0x724,0x530,0x689,0x349)]({'disabled':z[_0x4a0aa5(0x2d5,0x3da,0x496,0x237)]()[_0x38b1c5(0x629,0x59c,0x6b8,0x795)](),'command':z[_0x4a0aa5(0x86e,0x69e,0x514,0x691)]()[_0x38b1c5(0x68f,0x7ed,0x6b8,0x601)](),'args':z[_0x4a0aa5(0x6d3,0x672,0x759,0x6ee)](z[_0x38b1c5(0x7e8,0x722,0x75c,0x60c)]())[_0x38b1c5(0x7c8,0x77f,0x6b8,0x684)](),'rootMarkers':z['array'](z[_0x38b1c5(0x88f,0x7b7,0x75c,0x87e)]())[_0x4a0aa5(0x55e,0x5fa,0x6bc,0x7b3)]()})[_0x4a0aa5(0x52e,0x3e0,0x52f,0x42b)](),lspConfigSchema=z[_0x4a0aa5(0x360,0x530,0x5ea,0x435)]({'enabled':z[_0x4a0aa5(0x58f,0x3da,0x57d,0x31d)]()[_0x4a0aa5(0x460,0x5fa,0x7e5,0x763)](),'servers':z[_0x4a0aa5(0x6cd,0x6b8,0x649,0x67e)](z[_0x4a0aa5(0x5b3,0x69e,0x88a,0x4f4)](),lspServerEntrySchema)['optional']()})[_0x4a0aa5(0x3be,0x3e0,0x252,0x3bd)](),serverEndpointSchema=z[_0x4a0aa5(0x523,0x530,0x5a1,0x6a7)]({'url':z['string'](),'token':z[_0x38b1c5(0x5fb,0x835,0x75c,0x583)]()[_0x4a0aa5(0x6b5,0x5fa,0x699,0x63f)]()})['passthrough'](),commandHookConfigSchema=z[_0x38b1c5(0x560,0x53d,0x5ee,0x53f)]({'type':z[_0x38b1c5(0x59e,0x70a,0x5f6,0x7b5)](_0x4a0aa5(0x7cc,0x68a,0x53b,0x5bc)),'command':z[_0x4a0aa5(0x755,0x69e,0x7dc,0x4e6)](),'timeout':z[_0x38b1c5(0x7b3,0x68e,0x5d6,0x662)]()[_0x4a0aa5(0x7f1,0x5fa,0x45a,0x7b6)]()}),hookMatcherGroupSchema=z['object']({'matcher':z[_0x4a0aa5(0x6cd,0x69e,0x758,0x6f5)]()[_0x4a0aa5(0x6e7,0x5fa,0x5dc,0x7a8)](),'hooks':z[_0x38b1c5(0x88d,0x8f9,0x730,0x76f)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x4a0aa5(0x406,0x530,0x321,0x55f)]({'PreToolUse':z[_0x38b1c5(0x757,0x544,0x730,0x856)](hookMatcherGroupSchema)[_0x38b1c5(0x817,0x65d,0x6b8,0x626)](),'PostToolUse':z[_0x4a0aa5(0x765,0x672,0x5f6,0x548)](hookMatcherGroupSchema)[_0x38b1c5(0x590,0x782,0x6b8,0x5cb)](),'UserPromptSubmit':z[_0x4a0aa5(0x634,0x672,0x540,0x5ea)](hookMatcherGroupSchema)[_0x38b1c5(0x677,0x6c3,0x6b8,0x774)](),'Stop':z['array'](hookMatcherGroupSchema)['optional'](),'Notification':z[_0x38b1c5(0x83d,0x7dd,0x730,0x661)](hookMatcherGroupSchema)[_0x38b1c5(0x501,0x7ef,0x6b8,0x547)](),'ToolApprovalRequest':z['array'](hookMatcherGroupSchema)[_0x38b1c5(0x718,0x5e6,0x6b8,0x4a6)](),'SessionStart':z[_0x38b1c5(0x6d3,0x84b,0x730,0x8f8)](hookMatcherGroupSchema)[_0x4a0aa5(0x3f0,0x5fa,0x4bd,0x5f6)](),'SessionEnd':z[_0x38b1c5(0x8a9,0x933,0x730,0x585)](hookMatcherGroupSchema)['optional']()}),providerNameSchema=z['string']()['min'](0x1,_0x4a0aa5(0x299,0x436,0x410,0x590))['refine'](_0x1d7e2f=>!_0x1d7e2f[_0x4a0aa5(0x4e6,0x3dd,0x221,0x5da)](':'),_0x4a0aa5(0x59c,0x46e,0x459,0x31c)),bashPolicyRuleSchema=z[_0x38b1c5(0x5e6,0x5eb,0x5ee,0x7f8)]({'id':z[_0x4a0aa5(0x7e8,0x69e,0x7df,0x7f2)]()['trim']()[_0x38b1c5(0x713,0x5f4,0x6a2,0x4fd)](0x1)[_0x38b1c5(0x612,0x727,0x77d,0x89f)](0x80),'action':z[_0x4a0aa5(0x40d,0x360,0x396,0x44a)](['allow',_0x4a0aa5(0x325,0x509,0x5e7,0x6ff)]),'cwd':z[_0x38b1c5(0x370,0x2e5,0x41e,0x538)]([_0x4a0aa5(0x6f0,0x74a,0x8d0,0x5c8),'any-allowed'])[_0x4a0aa5(0x420,0x5fa,0x570,0x409)](),'commands':z[_0x4a0aa5(0x5de,0x672,0x756,0x6ff)](z[_0x4a0aa5(0x58b,0x69e,0x5e1,0x5e7)]()[_0x4a0aa5(0x512,0x5e4,0x4fe,0x691)](0x1))[_0x38b1c5(0x723,0x777,0x6a2,0x5a7)](0x1)})['strict'](),bashPolicyConfigSchema=z[_0x38b1c5(0x53f,0x59e,0x5ee,0x7a6)]({'default':z[_0x38b1c5(0x708,0x5c3,0x5f6,0x6f8)]('ask')[_0x38b1c5(0x768,0x8b0,0x6b8,0x4b9)](),'rules':z[_0x38b1c5(0x60a,0x562,0x730,0x6a3)](bashPolicyRuleSchema)['max'](0x3e8)})['strict'](),fileEditSettingsSchema=z['object']({'mode':z['enum'](PRODUCTION_FILE_EDIT_MODES)[_0x38b1c5(0x535,0x57f,0x6b8,0x4dc)]()})[_0x38b1c5(0x657,0x7b2,0x72a,0x7a8)](),toolsSettingsSchema=z[_0x38b1c5(0x699,0x6c3,0x5ee,0x448)]({'fileEdit':fileEditSettingsSchema[_0x38b1c5(0x4c9,0x6ab,0x6b8,0x6c7)]()})[_0x38b1c5(0x6b2,0x501,0x49e,0x290)](),cliConfigSchema=z['object']({'activeProvider':providerNameSchema[_0x4a0aa5(0x713,0x5fa,0x644,0x5b8)](),'activeModel':z[_0x38b1c5(0x776,0x85b,0x75c,0x56f)]()['optional'](),'apiKey':z[_0x38b1c5(0x596,0x586,0x75c,0x896)]()[_0x38b1c5(0x7a7,0x7a5,0x6b8,0x57e)](),'providers':z[_0x4a0aa5(0x510,0x6b8,0x7cb,0x725)](providerNameSchema,providerConfigSchema)[_0x4a0aa5(0x732,0x5fa,0x793,0x5a8)](),'mcp':mcpSettingsSchema[_0x4a0aa5(0x517,0x5fa,0x690,0x423)](),'skills':skillsSettingsSchema[_0x38b1c5(0x59c,0x89b,0x6b8,0x7a3)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z[_0x4a0aa5(0x709,0x6b8,0x6b9,0x80e)](z[_0x4a0aa5(0x79e,0x69e,0x574,0x763)](),z[_0x4a0aa5(0x4db,0x3da,0x3b4,0x4e3)]())[_0x4a0aa5(0x6f7,0x5fa,0x6b8,0x6cf)](),'allowedDirs':z['array'](z['string']())[_0x4a0aa5(0x5dd,0x5fa,0x4c3,0x7ac)](),'mcpEnabled':prototypeSafeRecord(z['boolean']())[_0x4a0aa5(0x6a0,0x5fa,0x706,0x6cf)](),'commandsEnabled':z['record'](z[_0x38b1c5(0x5ea,0x7b4,0x75c,0x69a)](),z[_0x38b1c5(0x397,0x5ea,0x498,0x2db)]())[_0x4a0aa5(0x520,0x5fa,0x71c,0x47f)](),'memory':memorySettingsSchema[_0x4a0aa5(0x463,0x5fa,0x497,0x4ca)](),'session':z[_0x4a0aa5(0x682,0x530,0x4ba,0x6ed)]({'memPersist':z[_0x38b1c5(0x5f5,0x2a2,0x498,0x639)]()[_0x38b1c5(0x77c,0x7d6,0x6b8,0x4b0)](),'persistEventLog':z['boolean']()[_0x38b1c5(0x4e8,0x809,0x6b8,0x5c8)](),'persistHttpLog':z[_0x38b1c5(0x459,0x2ae,0x498,0x53e)]()[_0x38b1c5(0x724,0x827,0x6b8,0x7a9)]()})['passthrough']()[_0x38b1c5(0x50e,0x709,0x6b8,0x833)](),'requireToolApproval':z['boolean']()[_0x4a0aa5(0x4bc,0x5fa,0x60f,0x6c0)](),'thinking':z['object']({'selections':z['record'](z[_0x4a0aa5(0x896,0x69e,0x87e,0x5f0)](),z[_0x38b1c5(0x59e,0x57a,0x75c,0x7ed)]())[_0x38b1c5(0x5d3,0x861,0x6b8,0x628)]()})[_0x4a0aa5(0x45e,0x5fa,0x7f5,0x7ee)](),'streamingChunks':z[_0x4a0aa5(0x216,0x3da,0x346,0x2e3)]()[_0x38b1c5(0x6da,0x55e,0x6b8,0x7d9)](),'agentsEnabled':z[_0x38b1c5(0x6f5,0x7a9,0x776,0x8f2)](z[_0x4a0aa5(0x7de,0x69e,0x636,0x84c)](),z['boolean']())[_0x38b1c5(0x73c,0x7bb,0x6b8,0x71b)](),'recentModels':z[_0x38b1c5(0x890,0x654,0x730,0x8de)](recentModelSchema)[_0x4a0aa5(0x6a0,0x5fa,0x77e,0x4a4)](),'lsp':lspConfigSchema[_0x38b1c5(0x6ca,0x632,0x6b8,0x54a)](),'servers':z[_0x38b1c5(0x689,0x7ea,0x776,0x7e3)](z['string'](),serverEndpointSchema)[_0x4a0aa5(0x7ba,0x5fa,0x3ef,0x6f9)](),'ui':z[_0x38b1c5(0x6b4,0x6bb,0x5ee,0x677)]({'theme':uiThemeSettingsSchema[_0x38b1c5(0x79f,0x55f,0x6b8,0x823)](),'statusline':statuslineConfigSchema['optional']()})[_0x4a0aa5(0x256,0x3e0,0x51e,0x50d)]()[_0x38b1c5(0x83c,0x8cb,0x6b8,0x6df)](),'tools':toolsSettingsSchema['optional'](),'hooks':hooksConfigSchema[_0x38b1c5(0x5c5,0x8bb,0x6b8,0x6fe)](),'bashPolicy':z[_0x4a0aa5(0x4f9,0x501,0x38b,0x35d)]()['optional']()})[_0x4a0aa5(0x3f6,0x3e0,0x3fb,0x53d)](),workspaceOverlaySchema=z[_0x4a0aa5(0x363,0x530,0x5bc,0x3ac)]({'root':z[_0x4a0aa5(0x658,0x69e,0x778,0x628)]()[_0x4a0aa5(0x723,0x5fa,0x5da,0x538)](),'allowedDirs':z[_0x4a0aa5(0x5de,0x672,0x555,0x6e0)](z['string']())[_0x38b1c5(0x512,0x8b9,0x6b8,0x4f0)](),'activeProvider':providerNameSchema[_0x38b1c5(0x8ac,0x56c,0x6b8,0x8b1)](),'activeModel':z[_0x38b1c5(0x75c,0x937,0x75c,0x576)]()['optional'](),'mcp':mcpSettingsSchema[_0x38b1c5(0x82e,0x64b,0x6b8,0x89c)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema['optional'](),'hooks':hooksConfigSchema[_0x38b1c5(0x80f,0x4b6,0x6b8,0x543)](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x38b1c5(0x635,0x353,0x498,0x646)]())['optional'](),'skillsEnabled':z[_0x38b1c5(0x5e8,0x855,0x776,0x694)](z[_0x4a0aa5(0x8ab,0x69e,0x77c,0x655)](),z[_0x4a0aa5(0x53e,0x3da,0x2f5,0x2c6)]())[_0x4a0aa5(0x4f1,0x5fa,0x66d,0x5e2)](),'agentsEnabled':z[_0x4a0aa5(0x6ae,0x6b8,0x746,0x505)](z[_0x38b1c5(0x6fe,0x85e,0x75c,0x70a)](),z[_0x38b1c5(0x5c0,0x530,0x498,0x629)]())[_0x4a0aa5(0x53a,0x5fa,0x517,0x6cb)](),'commandsEnabled':z['record'](z['string'](),z[_0x38b1c5(0x334,0x3fa,0x498,0x61b)]())['optional'](),'bashPolicy':z[_0x38b1c5(0x6ed,0x3ec,0x5bf,0x75f)]()['optional'](),'tools':toolsSettingsSchema[_0x38b1c5(0x6a8,0x66a,0x6b8,0x6bf)]()})[_0x4a0aa5(0x3ed,0x3e0,0x54f,0x353)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x4a0aa5(0x5a8,0x68d,0x544,0x673)](Object[_0x38b1c5(0x6f4,0x6b0,0x522,0x512)]),_0x38b1c5(0x431,0x650,0x522,0x572)]);function buildDescription2(_0x312522){const _0x9d104d={_0x33f612:0x39a,_0x50617e:0x29e,_0x17773b:0x21c,_0x47961d:0x12b,_0x49a5fd:0x27e,_0x396179:0x298,_0x359951:0x697,_0x291c23:0x457,_0xa960a9:0x283},_0x47b284={_0x59b9c2:0x13d,_0x4de140:0x1,_0x2793a7:0x5a};function _0x1d7365(_0x42c4b4,_0x40daf4,_0x213200,_0x577248){return _0x4a0aa5(_0x42c4b4,_0x213200- -_0x47b284._0x59b9c2,_0x213200-_0x47b284._0x4de140,_0x577248-_0x47b284._0x2793a7);}if(_0x312522['length']===0x0)return[_0x1d7365(0x435,0x345,_0x9d104d._0x33f612,_0x9d104d._0x50617e),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x1d7365(0x4fb,0xf7,0x301,_0x9d104d._0x17773b)]['join']('\x0a');function _0x2eec13(_0x3834db,_0x862357,_0xbdc79f,_0x18b0a4){return _0x38b1c5(_0x3834db-0xae,_0x862357-0x131,_0x3834db- -0x562,_0x862357);}const _0x234a86=['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.',_0x2eec13(-0xa3,-0xe0,_0x9d104d._0x47961d,0x4e),_0x1d7365(0x3a4,0xc1,_0x9d104d._0x49a5fd,_0x9d104d._0x396179),..._0x312522[_0x1d7365(0x33d,_0x9d104d._0x359951,0x4a4,0x471)](_0x1d1430=>_0x1d1430[_0x2eec13(-0xd7,-0x28b,-0x26e,-0x164)]?'-\x20'+_0x1d1430['name']+'\x20'+_0x1d1430['argumentHint']+':\x20'+_0x1d1430[_0x1d7365(0x664,0x738,0x605,0x619)]:'-\x20'+_0x1d1430['name']+':\x20'+_0x1d1430['description'])];return _0x234a86[_0x1d7365(0x5cf,_0x9d104d._0x291c23,0x3f0,_0x9d104d._0xa960a9)]('\x0a');}function createInvokeCommandTool(_0x477e55){const _0x2703e9={_0x1b285a:0x48a,_0x166c13:0x332,_0x32cbcd:0x514,_0x42aec8:0x2b2,_0x44258b:0x318,_0x224870:0x188,_0x182903:0x2e7,_0x5ced4c:0x28b,_0xe17bc9:0x250,_0x3bc8ec:0x139,_0x13ca0c:0x221,_0x3da8ed:0x3be,_0x3b09d8:0x2c3,_0x5d37d9:0x233,_0x5a9fce:0x5d,_0x1844dc:0x89},_0x509edc={_0x2b532d:0x20,_0x938a6e:0x3b,_0x11a8ee:0x516,_0x121ab2:0x6a5,_0x6aa514:0x5b1,_0xff8e2d:0x46d,_0x1d6e9f:0x632,_0x5c5eb6:0x565,_0xda8ce5:0x4bf,_0x355eab:0x68e,_0x527544:0x5ae,_0x55079a:0x10c,_0x1392a3:0xb0,_0x4ec3f3:0x40,_0x3eec2f:0xd4,_0x430235:0x290,_0x3b7c18:0x608,_0x224119:0x42f,_0x206158:0x55f,_0x4f41f8:0x4a1,_0x4d8b3a:0x115,_0x11e755:0x96},_0x5a291c={_0x4659b8:0x72,_0x42c474:0x1e2};function _0x4d3c6e(_0x7b6e12,_0x5466b7,_0x2863a6,_0x1ba7ed){return _0x38b1c5(_0x7b6e12-0x1d2,_0x5466b7-0x37,_0x1ba7ed- -0x5b9,_0x2863a6);}const _0x12c6d5=new Map(_0x477e55[_0x213b31(_0x2703e9._0x1b285a,_0x2703e9._0x166c13,0x248,_0x2703e9._0x32cbcd)][_0x213b31(_0x2703e9._0x42aec8,0x301,0x485,_0x2703e9._0x44258b)](_0x3f156f=>[_0x3f156f['id'],_0x3f156f])),_0x369f60=buildDescription2(_0x477e55[_0x213b31(0x4aa,_0x2703e9._0x166c13,_0x2703e9._0x224870,_0x2703e9._0x182903)]);function _0x213b31(_0x353f79,_0x1d4b8e,_0x45d043,_0x2eacb5){return _0x38b1c5(_0x353f79-_0x5a291c._0x4659b8,_0x1d4b8e-_0x5a291c._0x42c474,_0x1d4b8e- -0x39e,_0x353f79);}return defineTool({'name':_0x4d3c6e(-0xe4,-0x14e,-0x1dc,-0xa2),'permissionClass':'always-confirm','description':_0x369f60,'inputSchema':{'type':_0x213b31(_0x2703e9._0x5ced4c,_0x2703e9._0xe17bc9,_0x2703e9._0x3bc8ec,_0x2703e9._0x13ca0c),'properties':{'name':{'type':'string'},'args':{'type':_0x213b31(0x1cb,_0x2703e9._0x3da8ed,0x3fa,_0x2703e9._0x3b09d8)}},'required':[_0x4d3c6e(_0x2703e9._0x5d37d9,-_0x2703e9._0x5a9fce,0x244,_0x2703e9._0x1844dc)]},async *'execute'(_0x22d98c){const _0x241c71={_0x11e317:0x1cc},_0x18ea19={_0xe4a57d:0x1e3,_0x2ceef6:0x48d},_0x12cd0b=_0x12c6d5[_0x3d5929(-0x83,_0x509edc._0x2b532d,-_0x509edc._0x938a6e,0x13)](_0x22d98c[_0x1b070(_0x509edc._0x11a8ee,_0x509edc._0x121ab2,_0x509edc._0x6aa514,_0x509edc._0xff8e2d)]);function _0x1b070(_0x3bdaa3,_0x7776e5,_0xca2943,_0x7b1dfa){return _0x4d3c6e(_0x3bdaa3-0x121,_0x7776e5-_0x18ea19._0xe4a57d,_0xca2943,_0x3bdaa3-_0x18ea19._0x2ceef6);}if(!_0x12cd0b){const _0x313eb7=Array['from'](_0x12c6d5[_0x1b070(0x5cb,_0x509edc._0x1d6e9f,0x64f,_0x509edc._0x5c5eb6)]())[_0x1b070(_0x509edc._0xda8ce5,_0x509edc._0x355eab,0x2b0,_0x509edc._0x527544)](',\x20');throw new ToolExecutionError(_0x3d5929(_0x509edc._0x55079a,_0x509edc._0x1392a3,-_0x509edc._0x4ec3f3,_0x509edc._0x3eec2f)+_0x22d98c[_0x3d5929(0x11f,0x141,0x12e,_0x509edc._0x430235)]+'\x27\x20not\x20found.\x20Available\x20commands:\x20'+_0x313eb7,{'name':_0x22d98c[_0x1b070(0x516,_0x509edc._0x3b7c18,0x5e2,_0x509edc._0x224119)]});}const _0x52e8ad=await _0x477e55['loadCommand'](_0x12cd0b);function _0x3d5929(_0x20ed26,_0xb1803c,_0x42f1e0,_0xca8a8){return _0x213b31(_0x20ed26,_0x42f1e0- -0x176,_0x42f1e0-0x1a,_0xca8a8-_0x241c71._0x11e317);}const _0x11353d=_0x22d98c[_0x1b070(0x489,0x40e,_0x509edc._0x206158,0x66e)]??'',_0x257436=renderCommandInstructions({'instructions':_0x52e8ad[_0x1b070(0x433,0x5e5,0x4cc,0x476)],'argumentsText':_0x11353d,'argumentNames':_0x52e8ad[_0x3d5929(_0x509edc._0x4f41f8,0x4d7,0x2e7,0x196)]});return yield createToolOutput(_0x257436,{'id':_0x52e8ad['id'],'name':_0x52e8ad['name'],'path':_0x12cd0b[_0x3d5929(-0x208,-_0x509edc._0x4d8b3a,-0xf3,_0x509edc._0x11e755)]['path']}),void 0x0;}});}function createKillShellTool(_0x501901){const _0x1f51a1={_0x37d10c:0x1c8,_0x564aa8:0x4df,_0x14123a:0x3b1,_0x1465fb:0x2d8,_0x182f11:0x209,_0xbe3684:0x1d3,_0x6f771:0x376,_0x37ea43:0x4bd,_0x597ef4:0x312,_0xc7c1bb:0x1f0,_0x539eac:0x1c0},_0x288289={_0x125af5:0x1fe,_0x539463:0x2e6,_0x3d81f0:0x436,_0x9ddecc:0x55c,_0x334d7f:0x7ee,_0x4c0e72:0x6ff,_0x2f6fd9:0x248,_0x20a727:0x3cf,_0x2ccac8:0x19d,_0x5cfa1b:0x132,_0x43eccd:0x42,_0x443461:0xf,_0x11da4d:0x361,_0x591fdd:0x482,_0x331004:0x2a5,_0x449eb6:0xd,_0x2f329f:0x599,_0x216044:0x38c,_0x234915:0x390,_0x3d852c:0x20,_0x1cd216:0x575,_0x37ad03:0x4bb,_0x645ff:0x57b,_0x27163b:0x1ba},_0x3378ad={_0x20da5d:0xa7,_0x3010be:0x2f3},_0x289af0={_0x2608d4:0x121,_0x1ac5a0:0x32f},_0x326034={_0x283b91:0xe};function _0x1c9030(_0x1834bd,_0x43f8a1,_0x373389,_0x2d71a4){return _0x4a0aa5(_0x1834bd,_0x373389- -0x204,_0x373389-0xbc,_0x2d71a4-_0x326034._0x283b91);}function _0x466413(_0x385472,_0x352f05,_0x598af6,_0x59131e){return _0x38b1c5(_0x385472-_0x289af0._0x2608d4,_0x352f05-0xda,_0x59131e- -_0x289af0._0x1ac5a0,_0x598af6);}const {registry:_0x63507d}=_0x501901;return defineTool({'name':_0x466413(0x26b,0x13a,0x63,_0x1f51a1._0x37d10c),'permissionClass':_0x466413(0x2f3,_0x1f51a1._0x564aa8,_0x1f51a1._0x14123a,_0x1f51a1._0x1465fb),'description':_0x1c9030(-0x31,_0x1f51a1._0x182f11,0x1c6,_0x1f51a1._0xbe3684),'inputSchema':{'type':_0x466413(_0x1f51a1._0x6f771,0x2ae,_0x1f51a1._0x37ea43,0x2bf),'properties':{'shellId':{'type':'string'}},'required':[_0x1c9030(_0x1f51a1._0x597ef4,_0x1f51a1._0xc7c1bb,_0x1f51a1._0x539eac,0x2fe)]},async *'execute'(_0x38ae1b){function _0x3603e4(_0x5cdea7,_0x477a8f,_0x51f3aa,_0x3d3521){return _0x466413(_0x5cdea7-_0x3378ad._0x20da5d,_0x477a8f-0x19b,_0x477a8f,_0x51f3aa-_0x3378ad._0x3010be);}const _0x5c4d2b=await _0x63507d['kill'](_0x38ae1b['shellId']),_0x40198a={'shellId':_0x5c4d2b['shellId'],'outcome':_0x5c4d2b[_0x4434d1(0x263,_0x288289._0x125af5,0x359,0x228)],'status':_0x5c4d2b[_0x3603e4(0x417,_0x288289._0x539463,_0x288289._0x3d81f0,_0x288289._0x9ddecc)],'exitCode':_0x5c4d2b[_0x3603e4(0x68a,_0x288289._0x334d7f,_0x288289._0x4c0e72,0x829)],'signal':_0x5c4d2b[_0x3603e4(_0x288289._0x2f6fd9,0x3c8,_0x288289._0x20a727,0x347)],'error':_0x5c4d2b[_0x4434d1(0x399,_0x288289._0x2ccac8,0x2c,_0x288289._0x5cfa1b)],'gracefulRequested':_0x5c4d2b['gracefulRequested'],'forceRequested':_0x5c4d2b[_0x3603e4(0x359,0x6f0,0x51e,0x43c)]};function _0x4434d1(_0x3ebefb,_0x2c06c5,_0x30cbc0,_0x179711){return _0x1c9030(_0x179711,_0x2c06c5-0x17c,_0x2c06c5- -0x1e0,_0x179711-0x15d);}if(_0x5c4d2b['outcome']===_0x4434d1(_0x288289._0x43eccd,0x1b6,_0x288289._0x443461,0x20b))throw new ToolExecutionError(_0x3603e4(0x3ad,0x551,0x505,0x6e7)+_0x38ae1b[_0x3603e4(_0x288289._0x11da4d,_0x288289._0x591fdd,0x446,0x2b1)]+':\x20'+(_0x5c4d2b[_0x4434d1(0x315,0x19d,0x105,0x28b)]??'unknown\x20termination\x20error'),_0x40198a);const _0x3d24b2=_0x5c4d2b[_0x4434d1(_0x288289._0x331004,_0x288289._0x125af5,0x5c,-_0x288289._0x449eb6)]===_0x3603e4(_0x288289._0x2f329f,0x42f,0x3cc,0x321)?_0x4434d1(_0x288289._0x216044,0x325,_0x288289._0x234915,0x3f3)+_0x38ae1b[_0x4434d1(-0x2f,-_0x288289._0x3d852c,0x2a,-0x1e5)]+_0x3603e4(0x466,0x3c0,_0x288289._0x1cd216,0x630)+_0x5c4d2b[_0x3603e4(_0x288289._0x37ad03,0x2e0,0x436,_0x288289._0x645ff)]+'.':'Killed\x20'+_0x38ae1b[_0x4434d1(-_0x288289._0x27163b,-0x20,0x87,-0x12)]+'.';return createToolOutput(_0x3d24b2,_0x40198a);}});}import _0x192595 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x492256=>{const {lookup:_0x42512d}=await import('dns/promises');return _0x42512d(_0x492256,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x2b9532){const _0x5f4422={_0x351d67:0xb3,_0x2180c6:0x81,_0x39c871:0x223,_0x580858:0x281,_0x15b179:0x19a},_0x35eae9={_0x1a82c5:0x417},_0x1539f4={_0x1e93b4:0x198,_0x2d7423:0x159};function _0x37f411(_0x2b806a,_0x62f0f4,_0x5f126b,_0x21e467){return _0x4a0aa5(_0x2b806a,_0x5f126b- -0x42e,_0x5f126b-_0x1539f4._0x1e93b4,_0x21e467-_0x1539f4._0x2d7423);}const _0x39e556=_0x2b9532[_0x37f411(0x1c9,_0x5f4422._0x351d67,0x1f,-_0x5f4422._0x2180c6)]('.');if(_0x39e556[_0x2a7ab9(_0x5f4422._0x39c871,_0x5f4422._0x580858,_0x5f4422._0x15b179,0x350)]!==0x4)return null;let _0x37891d=0x0;function _0x2a7ab9(_0xe73e8e,_0x40c7e0,_0x1f197b,_0x58b841){return _0x38b1c5(_0xe73e8e-0xa1,_0x40c7e0-0x22,_0x58b841- -_0x35eae9._0x1a82c5,_0x1f197b);}for(const _0x2525e7 of _0x39e556){if(!/^\d{1,3}$/[_0x37f411(-0x6a,0x2b2,0x196,-0x4c)](_0x2525e7))return null;const _0xb05d53=Number(_0x2525e7);if(_0xb05d53>0xff)return null;_0x37891d=_0x37891d*0x100+_0xb05d53;}return _0x37891d>>>0x0;}function isBlockedIpv4(_0x1abf1f){const _0x310c3d={_0x5c6e0f:0x239,_0x51e238:0x86,_0x20c161:0x337,_0x2edfce:0xc,_0x4b8946:0x27a,_0xd512f1:0x104,_0x2f0f9e:0xec,_0x172b5e:0x4f,_0x4b7cdb:0x72,_0x33a5bb:0x24f,_0x31cdce:0x16d,_0x21596e:0x38c,_0x2fb63e:0x214,_0x21370f:0x111,_0xc8a392:0x2f,_0x2d9394:0x77,_0x4f7a19:0xa8,_0x42bef8:0xca,_0x2199e8:0x2b4},_0x433671={_0x490206:0x54e,_0xe2555b:0x1da,_0x308375:0x22},_0x5991bc={_0x497a31:0x8e,_0xd1ba48:0x4de};function _0x41891e(_0x26e2ad,_0xcbf24,_0x1ff473,_0x5492ec){return _0x38b1c5(_0x26e2ad-0xba,_0xcbf24-_0x5991bc._0x497a31,_0x5492ec- -_0x5991bc._0xd1ba48,_0x26e2ad);}const _0x2e18d4=ipv4ToInt(_0x1abf1f);if(_0x2e18d4===null)return!![];function _0x38e06b(_0x57e48d,_0x58bad3,_0xe35752,_0x13912f){return _0x4a0aa5(_0x58bad3,_0x57e48d- -_0x433671._0x490206,_0xe35752-_0x433671._0xe2555b,_0x13912f-_0x433671._0x308375);}const _0x52bd20=(_0x4f095c,_0x3b6fa9)=>{const _0x311254=ipv4ToInt(_0x4f095c);if(_0x311254===null)return![];const _0x3974a2=_0x3b6fa9===0x0?0x0:0xffffffff<<0x20-_0x3b6fa9>>>0x0;return(_0x2e18d4&_0x3974a2)===(_0x311254&_0x3974a2);};return _0x52bd20(_0x41891e(-0x104,-0x87,_0x310c3d._0x5c6e0f,_0x310c3d._0x51e238),0x8)||_0x52bd20(_0x38e06b(0x1a0,0x362,_0x310c3d._0x20c161,0x126),0x8)||_0x52bd20(_0x38e06b(-0xc6,-_0x310c3d._0x2edfce,-_0x310c3d._0x4b8946,-0x142),0xa)||_0x52bd20('127.0.0.0',0x8)||_0x52bd20(_0x38e06b(_0x310c3d._0xd512f1,_0x310c3d._0x2f0f9e,_0x310c3d._0x172b5e,-_0x310c3d._0x4b7cdb),0x10)||_0x52bd20(_0x41891e(0x363,0x311,_0x310c3d._0x33a5bb,_0x310c3d._0x31cdce),0xc)||_0x52bd20('192.0.0.0',0x18)||_0x52bd20(_0x41891e(0x2ac,0x151,_0x310c3d._0x21596e,_0x310c3d._0x2fb63e),0x10)||_0x52bd20(_0x41891e(-0x19d,-_0x310c3d._0x21370f,0xef,_0x310c3d._0xc8a392),0xf)||_0x52bd20(_0x38e06b(0x77,-0x85,-_0x310c3d._0x2d9394,_0x310c3d._0x4f7a19),0x4)||_0x52bd20(_0x38e06b(_0x310c3d._0x42bef8,_0x310c3d._0x2199e8,0x182,0x13f),0x4);}function expandIpv6(_0x1e440d){const _0x5defae={_0x3e5ca8:0x30,_0x4d7b77:0x26,_0x1a5085:0x1e9,_0x3f1d1a:0x12a,_0x38cbe0:0x3,_0x400a85:0x145,_0x4a54f1:0x10,_0x343a4c:0x1c8,_0xc6f415:0x9e,_0xf42c72:0x1b4,_0x2fcb34:0x14a,_0x25d265:0x171,_0x531368:0x1d8,_0x365639:0x1eb,_0x2b4405:0x3a7,_0x37fcc6:0x310,_0x2ee1b9:0x368,_0x102f56:0x1a5,_0xf9aa7c:0xac,_0x2b457a:0x114,_0x29ce67:0x1a5,_0xf36870:0xc7,_0x4b18d5:0xb9},_0x5416c7={_0x463a30:0x5c2},_0x2f7770={_0x2e6c65:0x474};let _0x13d73e=_0x1e440d,_0x278ed5;const _0x24fd00=_0x13d73e[_0x4c1cd3(-0x3e,0x1b2,_0x5defae._0x3e5ca8,_0x5defae._0x4d7b77)](':');_0x13d73e['slice'](_0x24fd00+0x1)[_0x3654f2(-_0x5defae._0x1a5085,-_0x5defae._0x3f1d1a,-_0x5defae._0x38cbe0,-0x97)]('.')&&(_0x278ed5=_0x13d73e['slice'](_0x24fd00+0x1),_0x13d73e=_0x13d73e[_0x4c1cd3(_0x5defae._0x400a85,_0x5defae._0x4a54f1,-0x1b0,-0x101)](0x0,_0x24fd00+0x1));const _0x5f47d6=_0x13d73e[_0x3654f2(_0x5defae._0x343a4c,-_0x5defae._0xc6f415,_0x5defae._0xf42c72,-0x27)]('::');if(_0x5f47d6['length']>0x2)return null;function _0x3654f2(_0x1ed089,_0x3c16b2,_0x30ef1b,_0x2c8913){return _0x4a0aa5(_0x1ed089,_0x2c8913- -_0x2f7770._0x2e6c65,_0x30ef1b-0x169,_0x2c8913-0xe1);}const _0x22ab50=_0x59d16d=>_0x59d16d[_0x3654f2(-0x34,-0x4d,-0xc9,-0x27)](':')['filter'](_0x5df1ea=>_0x5df1ea[_0x4c1cd3(0x68,0x1a5,0x157,0x1fc)]>0x0)[_0x3654f2(-0x2f,0xf9,0x20e,0x16d)](_0x422851=>Number['parseInt'](_0x422851,0x10)),_0x33f9be=_0x5f47d6[0x0]?_0x22ab50(_0x5f47d6[0x0]):[];function _0x4c1cd3(_0x219315,_0x189689,_0x3d0406,_0x50520c){return _0x38b1c5(_0x219315-0x3f,_0x189689-0x75,_0x189689- -_0x5416c7._0x463a30,_0x3d0406);}const _0x47827d=_0x5f47d6[_0x4c1cd3(_0x5defae._0x2fcb34,0x1a5,0x314,-0x3a)]===0x2&&_0x5f47d6[0x1]?_0x22ab50(_0x5f47d6[0x1]):[],_0x4090dc=[];if(_0x278ed5){const _0x3bbca8=ipv4ToInt(_0x278ed5);if(_0x3bbca8===null)return null;_0x4090dc[_0x3654f2(-_0x5defae._0x25d265,0xc0,-_0x5defae._0x531368,-0xb6)](_0x3bbca8>>>0x10&0xffff,_0x3bbca8&0xffff);}const _0x50d2c3=[..._0x47827d,..._0x4090dc],_0xc6d807=0x8-_0x33f9be[_0x4c1cd3(_0x5defae._0x365639,0x1a5,0x6f,0x29f)]-_0x50d2c3[_0x4c1cd3(_0x5defae._0x2b4405,0x1a5,_0x5defae._0x37fcc6,0x294)];if(_0x5f47d6[_0x4c1cd3(_0x5defae._0x2ee1b9,_0x5defae._0x102f56,_0x5defae._0xf9aa7c,0x205)]===0x1)return _0x33f9be['length']+_0x50d2c3[_0x4c1cd3(_0x5defae._0x2b457a,_0x5defae._0x29ce67,_0x5defae._0x4d7b77,0x11d)]===0x8?[..._0x33f9be,..._0x50d2c3]:null;if(_0xc6d807<0x0)return null;return[..._0x33f9be,...new Array(_0xc6d807)[_0x3654f2(0x3a,_0x5defae._0xf36870,-_0x5defae._0x4b18d5,-0x104)](0x0),..._0x50d2c3];}function isBlockedIpv6(_0x2cd38a){const _0x29a8b1={_0x1b16ef:0x678,_0x51d2a8:0x823,_0x5e211d:0x7ba,_0x48deaa:0x6e5,_0x410d8c:0x551,_0x58ca61:0x6fa,_0x123740:0x730,_0x1987d5:0x3ab,_0x282cd6:0x458},_0x5ec1c8={_0xa78928:0x18a},_0x597f2f={_0x314dfb:0x156},_0x9b952e=expandIpv6(_0x2cd38a);if(!_0x9b952e||_0x9b952e[_0x26dc13(_0x29a8b1._0x1b16ef,_0x29a8b1._0x51d2a8,_0x29a8b1._0x5e211d,_0x29a8b1._0x48deaa)](_0x40e046=>Number[_0x26dc13(0x38d,0x4d6,0x36a,0x524)](_0x40e046)))return!![];const _0x4968f5=_0x9b952e['slice'](0x0,0x7)['every'](_0x5d72fc=>_0x5d72fc===0x0);if(_0x4968f5&&(_0x9b952e[0x7]===0x0||_0x9b952e[0x7]===0x1))return!![];function _0x26dc13(_0x4d2fa1,_0x4fec9b,_0x2b08cc,_0xac11ee){return _0x38b1c5(_0x4d2fa1-0x58,_0x4fec9b-_0x597f2f._0x314dfb,_0x4d2fa1- -0x81,_0x2b08cc);}if(_0x9b952e[_0x26dc13(_0x29a8b1._0x410d8c,_0x29a8b1._0x58ca61,0x701,_0x29a8b1._0x123740)](0x0,0x5)[_0x26dc13(_0x29a8b1._0x1987d5,0x57a,0x1a7,_0x29a8b1._0x282cd6)](_0x3cdaae=>_0x3cdaae===0x0)&&(_0x9b952e[0x5]===0xffff||_0x9b952e[0x5]===0x0)){const _0x510b56=(_0x9b952e[0x6]<<0x10|_0x9b952e[0x7])>>>0x0,_0x33e0ca=[_0x510b56>>>0x18&0xff,_0x510b56>>>0x10&0xff,_0x510b56>>>0x8&0xff,_0x510b56&0xff]['join']('.');return isBlockedIpv4(_0x33e0ca);}const _0x42718e=_0x9b952e[0x0];if((_0x42718e&0xff00)===0xfc00||(_0x42718e&0xfe00)===0xfc00)return!![];if((_0x42718e&0xffc0)===0xfe80)return!![];if((_0x42718e&0xff00)===0xff00)return!![];function _0x3bde57(_0x42431a,_0x5be748,_0x2f31e9,_0xc6e775){return _0x4a0aa5(_0x5be748,_0x2f31e9- -0x3d8,_0x2f31e9-_0x5ec1c8._0xa78928,_0xc6e775-0x77);}return![];}function isBlockedAddress(_0x1291ad){const _0x12f3ae=isIP(_0x1291ad);if(_0x12f3ae===0x4)return isBlockedIpv4(_0x1291ad);if(_0x12f3ae===0x6)return isBlockedIpv6(_0x1291ad);return!![];}async function assertPublicUrl(_0x1533fa,_0x4ee3d8={}){const _0x16a4f7={_0x8275cc:0x7bd,_0x9cf2d4:0x4fd,_0x323da2:0x677,_0x95f878:0x61a,_0x48b104:0x62a,_0xf4dda3:0x590,_0x2eae39:0x673,_0x46f278:0x5c2,_0x506aa0:0x4b0,_0xa6130e:0x54b,_0x3e4181:0x3bb,_0x235521:0x361,_0x280fca:0x791,_0x2bbb62:0x4b6,_0x37d036:0x643,_0x4f9f97:0x6a3,_0x3639d5:0x62a,_0x2e01db:0xe,_0x19820c:0x14,_0x48e714:0x1a6,_0x32c6f8:0x22,_0x212fb7:0x101,_0x492849:0x970,_0x454f3b:0x351,_0x14063e:0x30e,_0x47dd2b:0x5c1,_0x17e928:0x3fd,_0x40b7ec:0x454,_0x49d2d3:0x32c,_0x4ae3f8:0x490,_0x53a2de:0x3ed,_0x543a8f:0x348,_0x3400f6:0x300,_0x349476:0x3cc,_0xf876cf:0x54a,_0x105dcd:0x3bc,_0x436b4c:0x4f3,_0x6a376f:0x4f7},_0x23385c={_0x15352f:0x1b6,_0x36de8c:0x109},_0x314298={_0x445d6c:0x73};let _0x5e0384;try{_0x5e0384=new URL(_0x1533fa);}catch{throw new ToolExecutionError(_0x3655f3(_0x16a4f7._0x8275cc,0x91e,0x75c,0x702),{'url':_0x1533fa});}if(_0x5e0384[_0x34446b(0x697,0x5fd,0x590,_0x16a4f7._0x9cf2d4)]!==_0x3655f3(_0x16a4f7._0x323da2,0x7da,_0x16a4f7._0x95f878,0x4f4)&&_0x5e0384[_0x34446b(0x56e,_0x16a4f7._0x48b104,_0x16a4f7._0xf4dda3,_0x16a4f7._0x2eae39)]!==_0x3655f3(_0x16a4f7._0x46f278,_0x16a4f7._0x506aa0,_0x16a4f7._0xa6130e,_0x16a4f7._0x3e4181))throw new ToolExecutionError(_0x34446b(_0x16a4f7._0x235521,0x47b,0x520,0x69f),{'url':_0x1533fa});if(_0x5e0384['username']||_0x5e0384['password'])throw new ToolExecutionError(_0x3655f3(_0x16a4f7._0x280fca,0x5dd,0x67d,_0x16a4f7._0x2bbb62),{'url':_0x5e0384[_0x3655f3(_0x16a4f7._0x37d036,_0x16a4f7._0x4f9f97,0x791,_0x16a4f7._0x3639d5)]+'//'+_0x5e0384['host']+_0x5e0384['pathname']});function _0x3655f3(_0x52f021,_0x169267,_0x1f7a8a,_0x38b779){return _0x38b1c5(_0x52f021-0x192,_0x169267-0x7,_0x1f7a8a- -_0x314298._0x445d6c,_0x38b779);}const _0x3f088e=_0x5e0384[_0x34446b(-_0x16a4f7._0x2e01db,_0x16a4f7._0x19820c,_0x16a4f7._0x48e714,0x173)][_0x34446b(-0x1a,_0x16a4f7._0x32c6f8,0x18e,_0x16a4f7._0x212fb7)](/^\[|\]$/g,''),_0x18d8ac=_0x5e0384[_0x3655f3(_0x16a4f7._0x492849,0x988,_0x16a4f7._0x280fca,0x704)]+'//'+_0x5e0384[_0x34446b(_0x16a4f7._0x454f3b,0x4ae,_0x16a4f7._0x14063e,0x424)]+_0x5e0384[_0x3655f3(_0x16a4f7._0x47dd2b,_0x16a4f7._0x17e928,0x4b7,_0x16a4f7._0x40b7ec)];if(isIP(_0x3f088e)){if(isBlockedAddress(_0x3f088e))throw new ToolExecutionError(_0x3655f3(_0x16a4f7._0x49d2d3,0x291,_0x16a4f7._0x4ae3f8,_0x16a4f7._0x53a2de),{'url':_0x18d8ac});return _0x5e0384;}const _0x4aa026=_0x4ee3d8[_0x34446b(0x274,_0x16a4f7._0x543a8f,_0x16a4f7._0x3400f6,_0x16a4f7._0x349476)]??defaultLookup;let _0x3b8d83;try{_0x3b8d83=await _0x4aa026(_0x3f088e);}catch{throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x18d8ac});}if(_0x3b8d83[_0x34446b(_0x16a4f7._0xf876cf,_0x16a4f7._0x105dcd,_0x16a4f7._0x436b4c,_0x16a4f7._0x6a376f)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x18d8ac});for(const {address:_0x1ee848}of _0x3b8d83){if(isBlockedAddress(_0x1ee848))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20host\x20that\x20resolves\x20to\x20a\x20non-public\x20address',{'url':_0x18d8ac});}function _0x34446b(_0x1cd14c,_0x2b1846,_0x3bcd71,_0x46e987){return _0x4a0aa5(_0x2b1846,_0x3bcd71- -_0x23385c._0x15352f,_0x3bcd71-_0x23385c._0x36de8c,_0x46e987-0x19d);}return _0x5e0384;}async function safeFetch(_0x3054a5,_0x26ce08={},_0x15811e={}){const _0x30c5c3={_0x31c1a2:0xff,_0x302259:0xc8,_0x3e612c:0x46,_0x195def:0x14e,_0x4c2521:0x632,_0x3182d8:0x4bd,_0x241a9e:0x806,_0x569dcc:0x587,_0x52f5d9:0x40c,_0x161ada:0x3d2,_0x1f4f2c:0x12f,_0x40a8bb:0x72,_0x534a7a:0x6d2,_0x2d3ea4:0x30c,_0x225933:0x47f,_0x1dada6:0x2f7,_0x2b9063:0x32b,_0x42d8e2:0x322,_0x50589a:0x271,_0x1a4409:0x35,_0x2bddfb:0x1be,_0x807329:0x208,_0x5de3f8:0x311},_0x412ece={_0x5b56b1:0xdf,_0xea2549:0x34,_0x38ce6e:0x629},_0x2e98a5={_0x5d565a:0x11f},_0x59827c=_0x15811e[_0x205b38(_0x30c5c3._0x31c1a2,_0x30c5c3._0x302259,_0x30c5c3._0x3e612c,_0x30c5c3._0x195def)]??fetch;function _0x5cd43f(_0x5d424f,_0x4f1736,_0x23be65,_0xa06b1d){return _0x4a0aa5(_0x23be65,_0xa06b1d- -0xbd,_0x23be65-_0x2e98a5._0x5d565a,_0xa06b1d-0x1d);}const _0x2649a4=_0x15811e[_0x5cd43f(_0x30c5c3._0x4c2521,_0x30c5c3._0x3182d8,_0x30c5c3._0x241a9e,0x670)]??DEFAULT_MAX_REDIRECTS;function _0x205b38(_0x541633,_0x5a5cbf,_0x1f38bd,_0x4380a4){return _0x38b1c5(_0x541633-_0x412ece._0x5b56b1,_0x5a5cbf-_0x412ece._0xea2549,_0x5a5cbf- -_0x412ece._0x38ce6e,_0x541633);}let _0x4c1f75=_0x3054a5;for(let _0x273b7a=0x0;;_0x273b7a+=0x1){const _0x31f03f=await assertPublicUrl(_0x4c1f75,_0x15811e),_0x1d492d=await _0x59827c(_0x31f03f[_0x5cd43f(_0x30c5c3._0x569dcc,_0x30c5c3._0x52f5d9,0x2ab,_0x30c5c3._0x161ada)](),{..._0x26ce08,'redirect':'manual'}),_0x173069=_0x1d492d[_0x205b38(_0x30c5c3._0x1f4f2c,-_0x30c5c3._0x40a8bb,0x38,0x42)][_0x5cd43f(0x53e,0x44c,0x29f,0x35e)](_0x5cd43f(_0x30c5c3._0x534a7a,0x51d,0x4d9,0x5b3));if(!REDIRECT_STATUSES['has'](_0x1d492d[_0x5cd43f(_0x30c5c3._0x2d3ea4,_0x30c5c3._0x225933,0x4c8,_0x30c5c3._0x1dada6)])||!_0x173069)return _0x1d492d;if(_0x273b7a>=_0x2649a4)throw new ToolExecutionError(_0x5cd43f(_0x30c5c3._0x2b9063,_0x30c5c3._0x42d8e2,0x3bf,_0x30c5c3._0x50589a),{'url':_0x31f03f[_0x205b38(_0x30c5c3._0x1a4409,-0xdc,-_0x30c5c3._0x2bddfb,-_0x30c5c3._0x807329)]()});_0x4c1f75=new URL(_0x173069,_0x31f03f)[_0x5cd43f(0x574,_0x30c5c3._0x5de3f8,0x4be,_0x30c5c3._0x161ada)]();}}var USER_AGENT=_0x38b1c5(0x520,0x401,0x572,0x735),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x5bb482,_0x3c7a92){const _0x26c990={_0x1b0032:0x541,_0xe024d1:0x33d,_0x5b53e9:0x597,_0x41f092:0x3e8,_0x394253:0x35c,_0x9de79a:0x680,_0x1c17ac:0x631,_0x773d9:0x54a,_0x41fc15:0x1c9,_0x239ca9:0x19c,_0x727133:0x50},_0x4faf21={_0x3600d8:0x61f,_0x3bbeee:0x7d3,_0x4d8f5c:0x683},_0x282e75={_0x28628e:0x176,_0x50177a:0x8c,_0xadf9e8:0xfe},_0x3d1337={_0x21c6d3:0x2d8,_0x5c6b75:0xd6,_0x598037:0x1c9};function _0x168bf7(_0x549b14,_0x5d9365,_0x32a077,_0x3882d6){return _0x4a0aa5(_0x3882d6,_0x5d9365- -_0x3d1337._0x21c6d3,_0x32a077-_0x3d1337._0x5c6b75,_0x3882d6-_0x3d1337._0x598037);}const _0x430dda=new AbortController(),_0x12dffb=setTimeout(()=>_0x430dda[_0x168bf7(0x5ed,0x3e8,0x3b3,0x4de)](new Error(_0x168bf7(0x57c,0x37c,0x43d,0x3fb))),_0x3c7a92),_0x3325f1=()=>_0x430dda['abort'](_0x5bb482[_0x50ede2(0x695,0x5d8,0x513,0x53a)]);function _0x50ede2(_0x1ca7d3,_0x9d4be7,_0x9507f9,_0x4145c2){return _0x4a0aa5(_0x4145c2,_0x9507f9- -_0x282e75._0x28628e,_0x9507f9-_0x282e75._0x50177a,_0x4145c2-_0x282e75._0xadf9e8);}return _0x5bb482[_0x50ede2(_0x26c990._0x1b0032,_0x26c990._0xe024d1,0x386,0x21c)]?_0x430dda[_0x168bf7(_0x26c990._0x5b53e9,_0x26c990._0x41f092,0x2b4,_0x26c990._0x394253)](_0x5bb482['reason']):_0x5bb482['addEventListener'](_0x50ede2(_0x26c990._0x9de79a,_0x26c990._0x1c17ac,_0x26c990._0x773d9,0x39f),_0x3325f1,{'once':!![]}),{'signal':_0x430dda[_0x50ede2(_0x26c990._0x41fc15,_0x26c990._0x239ca9,0x1d7,_0x26c990._0x727133)],'cleanup':()=>{const _0x1ce8e4={_0x41962b:0x99,_0x48da2c:0x19e};clearTimeout(_0x12dffb);function _0x45a872(_0x392de8,_0x58b1b7,_0x3070c4,_0x1c6dd4){return _0x50ede2(_0x392de8-_0x1ce8e4._0x41962b,_0x58b1b7-_0x1ce8e4._0x48da2c,_0x1c6dd4-0x322,_0x3070c4);}function _0x5b1f84(_0x492e3a,_0x1c2260,_0x3c46a7,_0x597a65){return _0x168bf7(_0x492e3a-0xbd,_0x492e3a-0x3eb,_0x3c46a7-0xcb,_0x1c2260);}_0x5bb482[_0x5b1f84(_0x4faf21._0x3600d8,0x48b,0x784,0x523)](_0x5b1f84(_0x4faf21._0x3bbeee,0x789,_0x4faf21._0x4d8f5c,0x71f),_0x3325f1);}};}function createWebFetchTool(_0x4ec0e2={}){const _0x121497={_0xaa3b3e:0x61e,_0x2e159c:0x59c,_0x3b8231:0x6c1,_0xfb0a78:0x4b2,_0x5512db:0xf3,_0x71d580:0x1d2,_0x37a024:0x8,_0x27ed97:0x5c9,_0x2413ee:0x406,_0x40dc7c:0x63e,_0x258145:0x61d,_0x2af0bf:0x47c,_0xeb9d0c:0x2e1,_0x5a67d9:0x27d,_0x40e1b6:0x357,_0x26bd2c:0x13d,_0x5585f6:0x121,_0x2529c7:0xdc,_0x4acadd:0x15a,_0x3cf6b1:0x168,_0x41fc14:0x181,_0x393fb1:0x62,_0x25b2a2:0x56,_0x2ef6da:0x137,_0x2adc18:0xaa,_0x402eb9:0x22b,_0x10c0e6:0x196,_0x566ba0:0x51e,_0x22e794:0x510,_0x3eb984:0x5ee,_0x43422c:0x72e,_0x13f137:0x7db,_0x1366f3:0x512,_0x2616e:0x4bd},_0x1b56d8={_0x45ab8e:0x57,_0x3a48d3:0x1f4,_0x2d8951:0x10d,_0x306d81:0x114,_0x2be4c0:0x21c,_0x147c90:0x1c9,_0x1fc43c:0x78,_0x4bd58e:0x149,_0x1df69f:0x24e,_0xbb22cb:0x10d,_0x1853e0:0x136,_0x23575e:0x66,_0x251756:0x26f,_0x35d42b:0x2db,_0x5a877e:0x10c,_0x5810d8:0xed,_0x58d145:0x295,_0x279ef5:0x1d8,_0x425648:0x9a,_0x1273c1:0x156,_0x5b7ea8:0x54,_0x14d50f:0x1b2,_0x522366:0x1,_0x35a2c2:0x110,_0x13126b:0xc7,_0x8c7799:0x63,_0x7c0b4b:0x130,_0x2f7a66:0x183,_0x2e47fa:0x1,_0x9c4304:0x72,_0xbfcf79:0x296,_0x3c1d72:0x182,_0x55ca50:0x8a,_0x357778:0x47,_0x4b750b:0xc9,_0xeef053:0x211,_0x58baf1:0x154,_0xc2a776:0x317,_0x38f322:0x13e,_0x2cdb7d:0x5b,_0x3b95cb:0x16a,_0x4abc5d:0x6f,_0x140347:0xe7,_0x1a4af1:0x281,_0x111bc2:0x97,_0xbd65c3:0x14b,_0x18db9d:0x154,_0x412743:0x61,_0x1dd68b:0xa3,_0x1d2732:0x1ed,_0x154c36:0x28b,_0xcc0224:0x2a5,_0x1a4bd5:0x583,_0x5dca73:0x39e,_0x2c176e:0x2f6,_0x2c1558:0x1dc},_0x2b016c={_0x5b1930:0x74,_0x22839a:0x4f4},_0x5a8b4d={_0x156eec:0xb0,_0x1c1b01:0x11f};function _0x292841(_0x480fb2,_0x5dcc0b,_0x460f21,_0x504db0){return _0x4a0aa5(_0x5dcc0b,_0x504db0- -_0x5a8b4d._0x156eec,_0x460f21-0xce,_0x504db0-_0x5a8b4d._0x1c1b01);}function _0x7c611(_0x265c58,_0xb6d3a7,_0x3b37f0,_0x52f558){return _0x38b1c5(_0x265c58-0x18e,_0xb6d3a7-_0x2b016c._0x5b1930,_0xb6d3a7- -_0x2b016c._0x22839a,_0x265c58);}const _0x34647b=_0x4ec0e2[_0x292841(0x30e,_0x121497._0xaa3b3e,0x5aa,0x4d4)]??_0x292841(_0x121497._0x2e159c,_0x121497._0x3b8231,0x6b7,_0x121497._0xfb0a78),_0x1bcb07=_0x4ec0e2[_0x7c611(0x19,_0x121497._0x5512db,_0x121497._0x71d580,_0x121497._0x37a024)]??DEFAULT_TIMEOUT_MS2,_0x33a3b8=_0x4ec0e2[_0x292841(_0x121497._0x27ed97,0x43d,0x20b,_0x121497._0x2413ee)],_0x151126=new _0x192595({'headingStyle':_0x292841(_0x121497._0x40dc7c,_0x121497._0x258145,0x58b,0x640),'codeBlockStyle':_0x292841(_0x121497._0x2af0bf,_0x121497._0xeb9d0c,_0x121497._0x5a67d9,_0x121497._0x40e1b6),'bulletListMarker':'-'});return _0x151126['remove']([_0x7c611(_0x121497._0x26bd2c,_0x121497._0x5585f6,0x242,_0x121497._0x2529c7),'style',_0x7c611(-0x226,-0x18,-0x67,0x12e),_0x7c611(0x2f7,0x151,0x29c,0x118),_0x7c611(_0x121497._0x4acadd,0x299,0x1f0,_0x121497._0x3cf6b1),_0x7c611(0x333,_0x121497._0x41fc14,_0x121497._0x393fb1,_0x121497._0x25b2a2),_0x7c611(-_0x121497._0x2ef6da,-0xc4,-0x142,-_0x121497._0x2adc18),'aside']),defineTool({'name':_0x34647b,'permissionClass':_0x7c611(0x2bc,0x274,_0x121497._0x402eb9,_0x121497._0x10c0e6),'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':'object','properties':{'description':{'type':_0x292841(0x551,_0x121497._0x566ba0,_0x121497._0x22e794,_0x121497._0x3eb984)},'url':{'type':_0x292841(0x530,_0x121497._0x43422c,_0x121497._0x13f137,0x5ee)}},'required':[_0x292841(_0x121497._0x1366f3,0x36b,0x4e9,_0x121497._0x2616e)]},async *'execute'(_0x42a23e,_0x49040){const _0x481f9a={_0x3f76c1:0x25},_0xadddaf=(await assertPublicUrl(_0x42a23e[_0x5257c4(_0x1b56d8._0x45ab8e,_0x1b56d8._0x3a48d3,-_0x1b56d8._0x2d8951,-0xf1)],{'lookup':_0x33a3b8}))[_0x415be7(_0x1b56d8._0x306d81,0x147,0xdc,_0x1b56d8._0x2be4c0)]();if(_0x49040[_0x5257c4(-_0x1b56d8._0x147c90,-0x4b,-0x385,-_0x1b56d8._0x1fc43c)][_0x415be7(0x262,-0x21,_0x1b56d8._0x4bd58e,_0x1b56d8._0x1df69f)])throw new ToolExecutionError('Fetch\x20aborted\x20by\x20user',{'url':_0xadddaf});const _0x3a8e4d=createTimeoutSignal(_0x49040[_0x5257c4(-0x1c9,-_0x1b56d8._0xbb22cb,-0x2af,-0x167)],_0x1bcb07);let _0x4bbefd='',_0x14b48f=0x0,_0x556d13;try{const _0x63c697=await safeFetch(_0xadddaf,{'headers':{'User-Agent':USER_AGENT},'signal':_0x3a8e4d[_0x415be7(-_0x1b56d8._0x1853e0,0xa0,-_0x1b56d8._0x23575e,-_0x1b56d8._0x251756)]},{'lookup':_0x33a3b8});if(!_0x63c697['ok'])throw new ToolExecutionError(_0x415be7(_0x1b56d8._0x35d42b,0xf2,_0x1b56d8._0x5a877e,-_0x1b56d8._0x5810d8)+_0x63c697[_0x5257c4(-0x162,-_0x1b56d8._0x58d145,-_0x1b56d8._0x279ef5,-0x43)]+'\x20'+_0x63c697[_0x5257c4(-_0x1b56d8._0x425648,-0x1a7,0x16e,-_0x1b56d8._0x1273c1)],{'url':_0xadddaf,'statusCode':_0x63c697[_0x415be7(-_0x1b56d8._0x5b7ea8,_0x1b56d8._0x14d50f,_0x1b56d8._0x522366,_0x1b56d8._0x35a2c2)]});_0x4bbefd=_0x63c697[_0x415be7(_0x1b56d8._0x13126b,0xa8,0x146,0x20b)][_0x5257c4(-0xfb,_0x1b56d8._0x13126b,_0x1b56d8._0x8c7799,-0x13f)]('content-type')??'',_0x14b48f=_0x63c697[_0x415be7(-_0x1b56d8._0x7c0b4b,_0x1b56d8._0x2f7a66,_0x1b56d8._0x2e47fa,_0x1b56d8._0x9c4304)],_0x556d13=await _0x63c697[_0x415be7(0x335,0x34d,_0x1b56d8._0xbfcf79,0x1fe)]();}catch(_0x5150f7){if(_0x5150f7 instanceof ToolExecutionError)throw _0x5150f7;const _0x2eeb70=_0x5150f7 instanceof Error?_0x5150f7[_0x415be7(0x120,0x5d,_0x1b56d8._0x3c1d72,0xfd)]:String(_0x5150f7);throw new ToolExecutionError(_0x2eeb70,{'url':_0xadddaf});}finally{_0x3a8e4d[_0x5257c4(0x5d,0x22,0x93,_0x1b56d8._0x55ca50)]();}function _0x415be7(_0x45ed7c,_0x145174,_0x1c75dc,_0x82ca2f){return _0x292841(_0x45ed7c-0xc4,_0x45ed7c,_0x1c75dc-0x19b,_0x1c75dc- -0x303);}const _0x3ca09f=new Date()[_0x415be7(-0x206,_0x1b56d8._0x357778,0x9,-_0x1b56d8._0x4b750b)]();function _0x5257c4(_0x1c5b15,_0x350fae,_0x55db24,_0x523289){return _0x292841(_0x1c5b15-_0x481f9a._0x3f76c1,_0x350fae,_0x55db24-0x18d,_0x1c5b15- -0x466);}let _0x5109ca,_0x1d1994;if(_0x4bbefd[_0x5257c4(-0x139,-_0x1b56d8._0xeef053,-_0x1b56d8._0x58baf1,-_0x1b56d8._0xc2a776)](_0x5257c4(-_0x1b56d8._0x38f322,0x74,-0x1e1,-0x2c1)))_0x5109ca=_0x415be7(-0xfc,-0x2d,_0x1b56d8._0x2cdb7d,_0x1b56d8._0x3b95cb)+_0x556d13+_0x415be7(_0x1b56d8._0x4abc5d,_0x1b56d8._0x140347,0x11f,_0x1b56d8._0x1a4af1),_0x1d1994=_0x5257c4(_0x1b56d8._0x111bc2,_0x1b56d8._0xbd65c3,-_0x1b56d8._0x18db9d,-_0x1b56d8._0x412743);else _0x4bbefd[_0x415be7(-_0x1b56d8._0x1dd68b,_0x1b56d8._0x1d2732,0x2a,0x22b)]('text/html')?(_0x5109ca=_0x151126[_0x5257c4(0x1dd,_0x1b56d8._0x154c36,_0x1b56d8._0xcc0224,0x0)](_0x556d13),_0x1d1994=_0x415be7(0x4b4,_0x1b56d8._0x1a4bd5,_0x1b56d8._0x5dca73,0x1a0)):(_0x5109ca=_0x556d13,_0x1d1994='text');return yield createToolOutput(_0x5109ca,{'url':_0xadddaf,'contentType':_0x4bbefd,'statusCode':_0x14b48f,'format':_0x1d1994,'size':_0x556d13[_0x415be7(0x38e,0x27c,_0x1b56d8._0x2c176e,_0x1b56d8._0x2c1558)],'fetchedAt':_0x3ca09f}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x38b1c5(0x866,0x5bf,0x693,0x4e7);function normalizeUrl(_0x262590){const _0x48e8bc={_0x40175f:0x1ce,_0x5e4c25:0xf2,_0x56e07b:0x13c,_0x1ae416:0xb8,_0x33ccb3:0x688,_0x120427:0x661,_0x551cee:0x5b6,_0x19be13:0x5d8,_0x300997:0x1d0,_0xd19013:0xe4,_0xdec64b:0xcb,_0x1aedda:0x2df,_0x302eb5:0x92,_0xbb6f25:0x226,_0x4cf9d1:0xd4,_0x40177a:0x153},_0x14c6fa={_0x3125a6:0x66,_0x475a36:0x174,_0x5f3b77:0x168};function _0x1e2f2b(_0x300a65,_0x211d69,_0x4d794e,_0x32a77f){return _0x4a0aa5(_0x211d69,_0x300a65-_0x14c6fa._0x3125a6,_0x4d794e-_0x14c6fa._0x475a36,_0x32a77f-_0x14c6fa._0x5f3b77);}function _0x382626(_0x47e70f,_0x687e3d,_0x615d08,_0x2b6f4a){return _0x4a0aa5(_0x615d08,_0x47e70f- -0x521,_0x615d08-0x17f,_0x2b6f4a-0x27);}try{const _0x2eda62=new URL(_0x262590);for(const _0xebbe9d of[_0x382626(_0x48e8bc._0x40175f,0x2a3,_0x48e8bc._0x5e4c25,0x38b),_0x382626(_0x48e8bc._0x56e07b,0x207,_0x48e8bc._0x1ae416,-0x4f),'utm_campaign','utm_term',_0x1e2f2b(0x69e,_0x48e8bc._0x33ccb3,_0x48e8bc._0x120427,0x620),'gclid',_0x1e2f2b(_0x48e8bc._0x551cee,0x45e,0x56e,_0x48e8bc._0x19be13),_0x382626(0xf4,_0x48e8bc._0x300997,0xd3,_0x48e8bc._0xd19013),_0x382626(0x212,0x22a,_0x48e8bc._0xdec64b,_0x48e8bc._0x1aedda)]){_0x2eda62[_0x1e2f2b(0x402,0x4a8,0x323,0x24b)]['delete'](_0xebbe9d);}return _0x2eda62[_0x382626(-_0x48e8bc._0x302eb5,-_0x48e8bc._0xbb6f25,-_0x48e8bc._0x4cf9d1,_0x48e8bc._0x40177a)]();}catch{return _0x262590;}}function cseDateRestrict(_0x39def4){const _0x534e1c={_0x256a8e:0x1a2,_0x223bfc:0x4d3,_0x42d4a9:0x2f2,_0x35099d:0x4cd,_0x1a94c8:0x6bc,_0x322558:0x3c6,_0x514e47:0x30e},_0x3c4e35={_0x957097:0x4f7,_0x3d2498:0x6c,_0x4809a0:0xfc},_0x33968d={_0x2ad2e6:0xa8};if(_0x39def4<=0x0)return void 0x0;function _0x2dda36(_0x1815eb,_0x373bfa,_0x289111,_0x2f8848){return _0x38b1c5(_0x1815eb-0xab,_0x373bfa-_0x33968d._0x2ad2e6,_0x373bfa- -0x1e5,_0x289111);}if(_0x39def4<=0x1e)return'd'+Math['max'](0x1,Math[_0x2dda36(_0x534e1c._0x256a8e,0x370,0x1bf,_0x534e1c._0x223bfc)](_0x39def4));function _0x49ff0d(_0x3ebfbd,_0x5a482e,_0x5cc11b,_0x500e9c){return _0x4a0aa5(_0x5cc11b,_0x5a482e- -_0x3c4e35._0x957097,_0x5cc11b-_0x3c4e35._0x3d2498,_0x500e9c-_0x3c4e35._0x4809a0);}if(_0x39def4<=0x16d)return'm'+Math[_0x2dda36(_0x534e1c._0x42d4a9,_0x534e1c._0x35099d,_0x534e1c._0x1a94c8,0x3b0)](_0x39def4/0x1e);return'y'+Math[_0x2dda36(0x534,0x4cd,_0x534e1c._0x322558,_0x534e1c._0x514e47)](_0x39def4/0x16d);}function addSiteFilters(_0x2a32ab,_0x465a08){const _0x5f5545={_0x2aa8f9:0x7a9,_0x1a9029:0x7c4,_0x2bf13f:0x2f3,_0x231176:0x398,_0x5e55a1:0x5a8,_0x45bbd3:0x78b,_0x25181f:0x223,_0x5a4e96:0x7e6,_0xef4d44:0x5ee},_0x18f5b0={_0x335b70:0x37b,_0x507b36:0xd5,_0x429768:0xed};function _0x28ff06(_0x36f4b5,_0x52f512,_0x23e524,_0x3a21f0){return _0x4a0aa5(_0x36f4b5,_0x52f512- -_0x18f5b0._0x335b70,_0x23e524-_0x18f5b0._0x507b36,_0x3a21f0-_0x18f5b0._0x429768);}function _0x3442d2(_0x3c2f0e,_0x4e566c,_0x3cce12,_0x1c12aa){return _0x38b1c5(_0x3c2f0e-0xa9,_0x4e566c-0x1c3,_0x3c2f0e- -0x25,_0x3cce12);}if(_0x465a08[_0x3442d2(0x742,0x8ef,_0x5f5545._0x2aa8f9,_0x5f5545._0x1a9029)]===0x0)return _0x2a32ab[_0x28ff06(_0x5f5545._0x2bf13f,0x3d2,_0x5f5545._0x231176,0x4b7)]();return(_0x2a32ab+'\x20('+_0x465a08[_0x3442d2(0x67a,_0x5f5545._0x5e55a1,_0x5f5545._0x45bbd3,0x712)](_0x42164c=>_0x28ff06(0x416,0x301,0x25f,0x42a)+_0x42164c)[_0x28ff06(_0x5f5545._0x25181f,0x1b2,0x3ae,0x35)]('\x20OR\x20')+')')[_0x3442d2(_0x5f5545._0x5a4e96,0x6ce,0x6f0,_0x5f5545._0xef4d44)]();}function normalizeType(_0x5c42b5){const _0x7dcf54={_0x16d013:0x1ca,_0x30deba:0x33,_0x2b5c39:0x33,_0x364bed:0x439,_0x359f24:0x55c,_0x3543df:0x34b,_0x3a4ecd:0x6fd},_0x4bb47e={_0x39fe80:0x3a3,_0x416f73:0x1bf},_0x2a8063={_0xd6a973:0x156,_0x7ca0d6:0xaf};function _0x178e63(_0x4e18aa,_0x26b73a,_0x559451,_0xfc1e69){return _0x38b1c5(_0x4e18aa-_0x2a8063._0xd6a973,_0x26b73a-0x15f,_0x26b73a-_0x2a8063._0x7ca0d6,_0xfc1e69);}function _0x218866(_0x516063,_0x2a3aaa,_0x9db2c,_0x4a7955){return _0x4a0aa5(_0x2a3aaa,_0x4a7955- -_0x4bb47e._0x39fe80,_0x9db2c-0x6f,_0x4a7955-_0x4bb47e._0x416f73);}return _0x5c42b5===_0x218866(-_0x7dcf54._0x16d013,-0x84,0x243,_0x7dcf54._0x30deba)?_0x218866(-0x112,-0x162,0x1cd,_0x7dcf54._0x2b5c39):_0x178e63(_0x7dcf54._0x364bed,_0x7dcf54._0x359f24,_0x7dcf54._0x3543df,_0x7dcf54._0x3a4ecd);}async function fetchJson(_0xd9212,_0x284a53,_0x1c55ed){const _0x18fa3f={_0xc5ed80:0x22c,_0x4f923e:0x26b,_0xd0efd0:0x1a9,_0x254d12:0x1b,_0x54de2e:0x26e,_0x1ba40d:0xe4,_0x4d06a4:0x71,_0xedc0e2:0x28,_0x448904:0x241,_0x21903d:0x205,_0x3a92c7:0x444,_0x1500f1:0x196,_0x6d310c:0x2c0,_0x3f157f:0x20,_0x5543ed:0xee,_0x335235:0x1a3,_0x54b088:0xdb,_0x182e02:0x98,_0x358f05:0x2d2,_0x3abf28:0x1fe,_0x36b815:0x1ed,_0x338af2:0x141,_0x1d8d03:0x295,_0x5d36d1:0x1bb,_0x348087:0x41,_0x34f0ab:0xf3},_0x73b6df={_0x5e738f:0x1b1},_0xb4bc22={_0x4c1a7b:0xca},_0x5c913c=await fetch(_0xd9212,{'headers':{'User-Agent':USER_AGENT2,'Accept':'application/json',..._0x1c55ed?.[_0x3a5ae9(-0xa8,-_0x18fa3f._0xc5ed80,-_0x18fa3f._0x4f923e,-0xc5)]},'signal':_0x284a53,..._0x1c55ed});function _0x2a5a82(_0xd9d6f8,_0x3da9e6,_0x5f8bec,_0x463e79){return _0x38b1c5(_0xd9d6f8-0x1a9,_0x3da9e6-_0xb4bc22._0x4c1a7b,_0x463e79- -0x37f,_0x5f8bec);}if(!_0x5c913c['ok']){let _0x3e7e5d,_0x20d061;try{_0x3e7e5d=await _0x5c913c['text']();const _0x53469c=JSON[_0x3a5ae9(-_0x18fa3f._0xd0efd0,-0x55,0x69,-0x202)](_0x3e7e5d),_0x299ade=typeof _0x53469c[_0x2a5a82(_0x18fa3f._0x254d12,0xf3,_0x18fa3f._0x54de2e,_0x18fa3f._0x1ba40d)]===_0x3a5ae9(-_0x18fa3f._0x4d06a4,-0x234,-_0x18fa3f._0xedc0e2,-_0x18fa3f._0x448904)?_0x53469c[_0x2a5a82(_0x18fa3f._0x21903d,0x114,0x207,0xe4)][_0x2a5a82(_0x18fa3f._0x3a92c7,_0x18fa3f._0x1500f1,0x3e2,_0x18fa3f._0x6d310c)]:void 0x0;_0x20d061=_0x53469c[_0x3a5ae9(-_0x18fa3f._0x3f157f,_0x18fa3f._0x5543ed,_0x18fa3f._0x335235,-0x166)]?.[_0x3a5ae9(-0x6c,_0x18fa3f._0x54b088,-0xe9,_0x18fa3f._0x182e02)]??_0x53469c[_0x2a5a82(_0x18fa3f._0x358f05,0x22a,0x35d,0x2c0)]?.['errors']?.[0x0]?.['message']??_0x299ade;}catch{}const _0x13b4cd=_0x20d061?_0x2a5a82(0xcc,0x352,0x1a6,_0x18fa3f._0x3abf28)+_0x5c913c['status']+':\x20'+_0x20d061:'HTTP\x20'+_0x5c913c[_0x3a5ae9(-_0x18fa3f._0x36b815,-_0x18fa3f._0x338af2,-_0x18fa3f._0x1d8d03,0x10)]+'\x20'+_0x5c913c[_0x2a5a82(0x193,0x263,0x175,_0x18fa3f._0x5d36d1)];throw new ToolExecutionError(_0x13b4cd,{'statusCode':_0x5c913c[_0x3a5ae9(-_0x18fa3f._0x36b815,-_0x18fa3f._0x348087,-0x141,-_0x18fa3f._0x34f0ab)],..._0x3e7e5d?{'body':_0x3e7e5d}:{}});}function _0x3a5ae9(_0x7e8d2e,_0x48c577,_0x4c46c5,_0x33afc4){return _0x4a0aa5(_0x48c577,_0x7e8d2e- -0x5a1,_0x4c46c5-_0x73b6df._0x5e738f,_0x33afc4-0xf8);}return await _0x5c913c[_0x3a5ae9(0xc,-0x64,-0xf4,0x115)]();}async function hydrateResults(_0x5594ea,_0x6dafec,_0x80bed2,_0x4b9388){const _0x36703f={_0x53f004:0xe8,_0x1b0e94:0xdc,_0x25c38b:0x50,_0x2ba243:0xd5,_0x45074a:0x671,_0x1820bc:0x526,_0x424a85:0x874,_0x2c5bce:0x7ae,_0x1fe6c5:0x1a2},_0x44f69f={_0x2bf540:0x30b,_0x34da31:0x219,_0x401f02:0x2a0,_0x1e91d5:0x111,_0xb3d565:0x113,_0xb5516d:0x2f0,_0x2466a9:0x7f2,_0x3809bc:0x7d1,_0x49d81f:0x41e,_0x6ab4a8:0x24d,_0x1e8d4d:0x27b,_0xae64a9:0x2fd,_0x4b897a:0x3c9,_0x536f47:0x5a3,_0x48a80b:0x523,_0x4f09bb:0x6b7,_0x9a024e:0x85,_0xe0733f:0x18,_0x421fb0:0x32a,_0x1c951:0x3e2,_0xb58d4a:0x40b,_0xead1b6:0x8ad,_0x21f1f2:0x8b9,_0x15f01f:0x7a4,_0x4b20b5:0x1cb,_0x265d11:0x3eb,_0x58ddb1:0x5ab,_0x5b5773:0x360,_0x27dc0e:0x3c5,_0x1701f0:0x3b9,_0xa9d9a2:0x311,_0x2213e6:0x3b0,_0x1c861e:0x37f,_0x25244b:0x4a7,_0x563b84:0x40b,_0x1d8bea:0x40c,_0x364e0a:0x359,_0x4e1edb:0x740,_0x425e8c:0x91d,_0xbd9d5f:0x263,_0x1a853c:0x319,_0x3867e0:0x420,_0x56fa5b:0x581,_0x3037e2:0x6be,_0x352b66:0x684,_0x2b8988:0x2a0,_0x3ee51f:0x476,_0xca3dd6:0x2d5,_0x5f2f56:0x1c2},_0x35dcfa={_0x371786:0x4fd};function _0x3680ba(_0x36baed,_0x96db4b,_0xd9724d,_0x27bc88){return _0x38b1c5(_0x36baed-0xd1,_0x96db4b-0x16f,_0xd9724d- -_0x35dcfa._0x371786,_0x27bc88);}const _0x44472c=await Promise[_0x3680ba(0x18d,0xd2,_0x36703f._0x53f004,_0x36703f._0x1b0e94)](_0x5594ea[_0x3680ba(-_0x36703f._0x25c38b,-0x96,_0x36703f._0x2ba243,-0x4d)](0x0,0xa)[_0x537a68(_0x36703f._0x45074a,_0x36703f._0x1820bc,0x6b0,_0x36703f._0x424a85)](async _0x238344=>{const _0x475cb5={_0x5e70fa:0x130},_0x262d2e={_0x2ce320:0x1f};function _0x15cb13(_0x3f1ed9,_0x534fca,_0x5db549,_0x5abf94){return _0x537a68(_0x534fca-0xcb,_0x5abf94,_0x5db549-_0x262d2e._0x2ce320,_0x5abf94-0x1a6);}function _0x580ea1(_0x27b133,_0x4e9d24,_0x11cd3b,_0x59da95){return _0x3680ba(_0x27b133-_0x475cb5._0x5e70fa,_0x4e9d24-0x190,_0x11cd3b-0x172,_0x27b133);}try{const _0x5276c0=await safeFetch(_0x238344[_0x580ea1(_0x44f69f._0x2bf540,_0x44f69f._0x34da31,_0x44f69f._0x401f02,_0x44f69f._0x1e91d5)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x6dafec,'Accept':_0x580ea1(0x161,_0x44f69f._0xb3d565,_0x44f69f._0xb5516d,0x18f)},'signal':_0x80bed2},{'lookup':_0x4b9388});if(!_0x5276c0['ok'])return _0x238344;const _0x413106=await _0x5276c0['text'](),_0x42d0ee=load(_0x413106),_0x3f5e75=_0x42d0ee(_0x15cb13(_0x44f69f._0x2466a9,_0x44f69f._0x3809bc,0x933,0x976))[_0x580ea1(0x4f8,0x5f4,_0x44f69f._0x49d81f,_0x44f69f._0x6ab4a8)](_0x580ea1(_0x44f69f._0x1e8d4d,_0x44f69f._0xae64a9,0x1fa,_0x44f69f._0x4b897a))||_0x42d0ee(_0x15cb13(0x76a,_0x44f69f._0x536f47,_0x44f69f._0x48a80b,_0x44f69f._0x4f09bb))[_0x580ea1(0x246,_0x44f69f._0x9a024e,0x135,-_0x44f69f._0xe0733f)]()[_0x580ea1(0x426,_0x44f69f._0x421fb0,0x37c,_0x44f69f._0x1c951)]()[_0x580ea1(0x2db,0x26e,0x480,_0x44f69f._0xb58d4a)](),_0x30d189=_0x42d0ee(_0x15cb13(_0x44f69f._0xead1b6,0x781,0x7d2,_0x44f69f._0x21f1f2))[_0x580ea1(0x26b,0x2fd,_0x44f69f._0x49d81f,0x44f)](_0x15cb13(0x81b,0x622,_0x44f69f._0x15f01f,0x5f4))||_0x42d0ee(_0x580ea1(_0x44f69f._0x4b20b5,_0x44f69f._0x265d11,0x311,0x47b))[_0x580ea1(_0x44f69f._0x58ddb1,0x54d,0x41e,0x340)](_0x580ea1(0x3fc,_0x44f69f._0x5b5773,0x1fa,_0x44f69f._0x27dc0e))||_0x238344['snippet'],_0x1eba6c=_0x42d0ee(_0x580ea1(0x39a,0x3ca,0x1ff,_0x44f69f._0x1701f0))[_0x580ea1(0x444,_0x44f69f._0xa9d9a2,0x41e,_0x44f69f._0x2213e6)](_0x580ea1(_0x44f69f._0x1c861e,0x1c,0x1fa,0x3c8))||_0x42d0ee(_0x15cb13(_0x44f69f._0x25244b,0x514,_0x44f69f._0x563b84,0x316))[_0x580ea1(_0x44f69f._0x1d8bea,0x2ba,0x41e,_0x44f69f._0x364e0a)](_0x15cb13(0x7c4,0x869,0x76a,_0x44f69f._0x4e1edb))||_0x238344['publishedAt'],_0x1961d2=_0x42d0ee(_0x15cb13(0x82c,0x729,_0x44f69f._0x425e8c,0x6be))[_0x580ea1(_0x44f69f._0xbd9d5f,0x62c,0x41e,_0x44f69f._0x1a853c)](_0x15cb13(_0x44f69f._0x3867e0,_0x44f69f._0x56fa5b,0x473,0x78c));return{..._0x238344,'title':_0x3f5e75||_0x238344[_0x15cb13(0x6e7,_0x44f69f._0x536f47,_0x44f69f._0x3037e2,_0x44f69f._0x352b66)],'snippet':_0x30d189,'url':_0x1961d2?normalizeUrl(new URL(_0x1961d2,_0x238344[_0x580ea1(0x43f,0x4ad,_0x44f69f._0x2b8988,_0x44f69f._0x3ee51f)])[_0x580ea1(_0x44f69f._0xca3dd6,0x1b3,_0x44f69f._0x5f2f56,0x2d5)]()):_0x238344['url'],'publishedAt':_0x1eba6c};}catch{return _0x238344;}})),_0x212bca=new Map(_0x5594ea[_0x537a68(0x5a4,0x462,0x43c,_0x36703f._0x2c5bce)](0x0,0xa)['map']((_0x1e3400,_0x38c771)=>[_0x1e3400['url'],_0x44472c[_0x38c771]]));function _0x537a68(_0x4224d3,_0x3702c0,_0x53ffb9,_0x9ec7e0){return _0x38b1c5(_0x4224d3-0x1d5,_0x3702c0-0x173,_0x4224d3- -0x2e,_0x3702c0);}return _0x5594ea[_0x3680ba(0x1b2,0xf8,_0x36703f._0x1fe6c5,0x257)](_0x219134=>_0x212bca[_0x537a68(0x4ab,0x609,0x399,0x413)](_0x219134['url'])??_0x219134);}function formatResults(_0x22699d){const _0x56e6c9={_0x1c36cd:0x514,_0x415c60:0x31b,_0x4dc504:0x4c0},_0x372ea6={_0x316c35:0x22d,_0x3b8b04:0x3ab,_0x58bab2:0x35b,_0x1c0992:0x3a5,_0xaf201e:0x647,_0x39bc1d:0x116,_0x44d2cd:0x38d,_0x4cc6ec:0x254,_0x2b2a8f:0x1ff,_0x3a8e74:0x137,_0x47e9e2:0x2bd,_0x109e95:0x2ce,_0x25076c:0x4b5,_0x10119c:0x346,_0x538078:0x542,_0x4be066:0x4ff,_0x3145e7:0x137,_0x569658:0x147,_0x383edc:0x27e},_0x57fd9f={_0x2d92c4:0xe9,_0x1ec977:0xbc},_0x2350f2={_0xd7e3:0x12},_0x46d01b={_0x55e64c:0x1b4};if(_0x22699d['length']===0x0)return _0x1290b6(0x388,0x5c3,0x709,_0x56e6c9._0x1c36cd);function _0xc9cb6b(_0x5b0f1f,_0x56ba34,_0x6fe9a2,_0x3f8c87){return _0x38b1c5(_0x5b0f1f-0x1e5,_0x56ba34-_0x46d01b._0x55e64c,_0x56ba34- -0x342,_0x6fe9a2);}function _0x1290b6(_0x42d269,_0x1d24ec,_0x121f1a,_0x1b4861){return _0x4a0aa5(_0x1d24ec,_0x1b4861- -0x15f,_0x121f1a-0x131,_0x1b4861-_0x2350f2._0xd7e3);}return _0x22699d[_0x1290b6(_0x56e6c9._0x415c60,0x480,_0x56e6c9._0x4dc504,0x482)](_0xba9489=>{const _0x5ce38a={_0x37de7c:0x20c,_0x220139:0x9b},_0x165ea9=[_0xba9489['source'][_0x4f6082(0x361,0x2fe,0x55f,0x4ed)]+'.\x20'+_0xba9489[_0x1911f1(_0x372ea6._0x316c35,0x118,0x1bb,_0x372ea6._0x3b8b04)],_0xba9489[_0x4f6082(_0x372ea6._0x58bab2,_0x372ea6._0x1c0992,_0x372ea6._0xaf201e,0x4f5)]];if(_0xba9489['snippet'])_0x165ea9[_0x1911f1(0x1a3,_0x372ea6._0x39bc1d,0x152,_0x372ea6._0x44d2cd)](_0xba9489[_0x4f6082(0x3f1,_0x372ea6._0x4cc6ec,_0x372ea6._0x2b2a8f,0x3b5)]);function _0x1911f1(_0xa65ca6,_0x174e63,_0x3a3a46,_0x46dad9){return _0x1290b6(_0xa65ca6-0x1c,_0x3a3a46,_0x3a3a46-_0x57fd9f._0x2d92c4,_0xa65ca6- -_0x57fd9f._0x1ec977);}if(_0xba9489[_0x1911f1(_0x372ea6._0x3a8e74,0x1c5,-0xa,0xed)])_0x165ea9[_0x4f6082(_0x372ea6._0x47e9e2,_0x372ea6._0x109e95,_0x372ea6._0x25076c,_0x372ea6._0x10119c)](_0x4f6082(0x387,_0x372ea6._0x538078,0x351,_0x372ea6._0x4be066)+_0xba9489[_0x1911f1(_0x372ea6._0x3145e7,0xa0,0x129,-0x3)]);function _0x4f6082(_0x4953a0,_0x4926d6,_0x31cd5c,_0x5dfacd){return _0xc9cb6b(_0x4953a0-0x143,_0x5dfacd-_0x5ce38a._0x37de7c,_0x31cd5c,_0x5dfacd-_0x5ce38a._0x220139);}return _0x165ea9[_0x1911f1(0x312,0x428,_0x372ea6._0x569658,_0x372ea6._0x383edc)]('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x5e703b,_0x426eab,_0x1c9aec){const _0x54af1a={_0x92902a:0x4d9,_0x3d5fbc:0x4f2,_0x5a9182:0x6ce,_0x288e49:0x687,_0x486282:0x5d4,_0x2d4555:0x715,_0x42d972:0x664,_0x2a5dad:0x348,_0x4220d6:0x392,_0xe7e6e1:0x4b0,_0x19a213:0x683,_0x15f4da:0x342,_0x1bec39:0x3fe,_0x35354c:0x262,_0x24e45b:0x484,_0x2fc85f:0x360},_0x5d8430={_0x2af5aa:0x240,_0x9e3605:0x52,_0x7408a1:0x1b6,_0x434b29:0x118,_0x53907a:0x17,_0x4f3682:0x19d,_0x514fa2:0x14,_0x7319e8:0x2b9,_0x2d75c2:0xe3},_0x504122=Math['max'](0x1,Math['min'](0xa,_0x426eab[_0x2f6bb9(_0x54af1a._0x92902a,_0x54af1a._0x3d5fbc,0x2ea,0x498)]));function _0x2f6bb9(_0x4288a5,_0x5a8d8b,_0x20fb5d,_0xc77eb0){return _0x4a0aa5(_0x5a8d8b,_0x4288a5- -0x1d2,_0x20fb5d-0xd2,_0xc77eb0-0x24);}const _0x9d5c62=addSiteFilters(_0x426eab['query'],_0x426eab[_0x64bf1c(0x4af,0x4c2,_0x54af1a._0x5a9182,0x421)]),_0x14889c=await fetchJson('https://ollama.com/api/web_search',_0x1c9aec,{'method':_0x64bf1c(_0x54af1a._0x288e49,0x51b,_0x54af1a._0x486282,_0x54af1a._0x2d4555),'headers':{'Authorization':_0x64bf1c(0x524,0x33f,0x14c,0x201)+_0x5e703b['apiKey']},'body':JSON[_0x64bf1c(0x499,0x454,0x320,_0x54af1a._0x42d972)]({'query':_0x9d5c62,'max_results':_0x504122})}),_0x57fecc=_0x14889c[_0x64bf1c(_0x54af1a._0x2a5dad,0x520,_0x54af1a._0x4220d6,0x4b6)]??[],_0x366854=_0x57fecc[_0x64bf1c(_0x54af1a._0xe7e6e1,0x5ee,_0x54af1a._0x19a213,0x5eb)]((_0x7ed639,_0x1325b0)=>{const _0xd857b5={_0x54a76d:0x4e8,_0x5a52ff:0x86},_0x3e6283={_0x17f08d:0x42},_0x5d8264=_0x7ed639['url']||'';let _0x543e53;function _0x19a662(_0x15bc7e,_0x29b92c,_0x59577a,_0x280b34){return _0x64bf1c(_0x15bc7e,_0x59577a- -0x29f,_0x59577a-0x16a,_0x280b34-_0x3e6283._0x17f08d);}try{_0x543e53=new URL(_0x5d8264)['host'];}catch{_0x543e53=null;}function _0x1aa387(_0x3f747c,_0x182bc4,_0x5e7c70,_0x5463b1){return _0x64bf1c(_0x3f747c,_0x182bc4- -_0xd857b5._0x54a76d,_0x5e7c70-_0xd857b5._0x5a52ff,_0x5463b1-0x77);}return{'title':_0x7ed639[_0x19a662(_0x5d8430._0x2af5aa,_0x5d8430._0x9e3605,_0x5d8430._0x7408a1,_0x5d8430._0x434b29)]||_0x1aa387(0x55,_0x5d8430._0x53907a,_0x5d8430._0x4f3682,-0x6e),'url':normalizeUrl(_0x5d8264),'snippet':_0x7ed639[_0x1aa387(-_0x5d8430._0x7408a1,-_0x5d8430._0x514fa2,0xe8,-0xae)]??null,'displayUrl':_0x543e53,'favicon':null,'publishedAt':null,'source':{'engine':_0x19a662(0x2fa,0x36e,_0x5d8430._0x7319e8,_0x5d8430._0x2d75c2),'rank':_0x1325b0+0x1}};});function _0x64bf1c(_0x2aab31,_0x515993,_0x38fc4b,_0x38652a){return _0x4a0aa5(_0x2aab31,_0x515993-0xd,_0x38fc4b-0x1e5,_0x38652a-0x175);}return{'items':_0x366854[_0x2f6bb9(_0x54af1a._0x15f4da,_0x54af1a._0x1bec39,_0x54af1a._0x35354c,_0x54af1a._0x24e45b)](0x0,_0x504122),'engine':_0x2f6bb9(0x379,_0x54af1a._0x2fc85f,0x47e,0x21f)};}async function searchTavily(_0x2c14aa,_0x4e4e05,_0x4d7176){const _0x45d9fb={_0x54cee8:0x75f,_0x3ae6e9:0x6d5,_0x2f26a2:0x7c1,_0x1c5baf:0x846,_0x1e796d:0x50b,_0x283cbd:0x6e6,_0x12de1e:0x301,_0x46ff28:0x336,_0x2b8e24:0x3c2,_0x413285:0x3b0,_0x17039f:0x6ae,_0x43508f:0x4ce,_0x4a97bb:0x6cc,_0x20e6c0:0x7d8,_0x262537:0x904,_0x40b599:0x80e,_0x45c29d:0x8d2,_0x3c76fa:0x3f8,_0x2a4464:0x35d,_0x467b90:0x2bd,_0x5f4bd3:0x2bf,_0x4e571d:0x419,_0x4bac11:0x2bd,_0x6adfcc:0x434,_0x245da0:0x3bc,_0x3ab05a:0x449,_0x130a28:0x52e,_0x45b549:0x4c4,_0x4698e7:0x145,_0x47dd34:0x76,_0x2da8f6:0x8ef,_0x4eccef:0x88b,_0x54858a:0x29c,_0x29c993:0x2cf,_0x1757bd:0x53,_0x5d4f96:0x19},_0x1b2faf={_0x56755e:0x102},_0x62e4e8={_0x230335:0x6b9,_0x330a08:0x53d,_0x2c79cb:0x494,_0x215071:0x5b6,_0x538ef0:0x6c4,_0x23328e:0x83d,_0x28341e:0x611,_0x4709c3:0x4f6,_0x4d8dd0:0x3c7},_0x2acc25={_0x1a8189:0x9b},_0x4dad81=Math[_0x118b4e(_0x45d9fb._0x54cee8,0x64b,_0x45d9fb._0x3ae6e9,_0x45d9fb._0x2f26a2)](0x1,Math[_0x118b4e(0x4dc,_0x45d9fb._0x1c5baf,_0x45d9fb._0x1e796d,_0x45d9fb._0x283cbd)](0x14,_0x4e4e05['count'])),_0x4c9237={'query':_0x4e4e05['query'],'max_results':_0x4dad81,'search_depth':_0x2c14aa[_0x17a490(_0x45d9fb._0x12de1e,_0x45d9fb._0x46ff28,0x36a,_0x45d9fb._0x2b8e24)]??_0x118b4e(_0x45d9fb._0x413285,0x710,0x36a,0x56a),'topic':_0x2c14aa[_0x118b4e(0x782,_0x45d9fb._0x17039f,_0x45d9fb._0x43508f,_0x45d9fb._0x4a97bb)]??_0x118b4e(_0x45d9fb._0x20e6c0,0x9bd,_0x45d9fb._0x262537,_0x45d9fb._0x40b599)};if(_0x4e4e05['domains'][_0x118b4e(0x995,_0x45d9fb._0x45c29d,0x89e,0x7ab)]>0x0)_0x4c9237[_0x118b4e(0x65b,0x504,_0x45d9fb._0x3c76fa,_0x45d9fb._0x1e796d)]=_0x4e4e05[_0x17a490(0x1ad,0xb9,_0x45d9fb._0x2a4464,_0x45d9fb._0x467b90)];const _0x442ae3=await fetchJson(_0x17a490(0x311,_0x45d9fb._0x5f4bd3,_0x45d9fb._0x4e571d,0x15c),_0x4d7176,{'method':_0x118b4e(0x5f7,0x59e,0x6ad,0x610),'headers':{'Authorization':_0x118b4e(0x2b8,0x380,_0x45d9fb._0x4bac11,_0x45d9fb._0x6adfcc)+_0x2c14aa[_0x17a490(0x2f1,0x484,_0x45d9fb._0x245da0,_0x45d9fb._0x3ab05a)],'Content-Type':_0x118b4e(_0x45d9fb._0x130a28,_0x45d9fb._0x45b549,0x50a,0x4da)},'body':JSON[_0x17a490(0x13f,_0x45d9fb._0x4698e7,-0xd0,_0x45d9fb._0x47dd34)](_0x4c9237)}),_0xb57caf=_0x442ae3['results']??[];function _0x17a490(_0x2003d8,_0x4d78fa,_0x4f7337,_0x266595){return _0x4a0aa5(_0x4f7337,_0x2003d8- -0x308,_0x4f7337-_0x2acc25._0x1a8189,_0x266595-0xbc);}const _0x2770bd=_0xb57caf[_0x118b4e(0x81c,_0x45d9fb._0x2da8f6,_0x45d9fb._0x4eccef,0x6e3)]((_0x1008d7,_0x33dc94)=>{const _0x4098b1={_0x595e17:0x192},_0x488e8d={_0x1aec72:0x94},_0x4c1652=_0x1008d7[_0x2cecb9(0x365,_0x62e4e8._0x230335,_0x62e4e8._0x330a08,0x5b7)]||'';function _0x2cecb9(_0x1c3fea,_0x43615c,_0x343003,_0x4b442d){return _0x17a490(_0x343003-0x2d8,_0x43615c-0x6f,_0x1c3fea,_0x4b442d-_0x488e8d._0x1aec72);}function _0x2e1fa6(_0x4fcffd,_0x2d627f,_0x914d13,_0x13a4c8){return _0x17a490(_0x2d627f-0x4ff,_0x2d627f-_0x4098b1._0x595e17,_0x914d13,_0x13a4c8-0x2d);}let _0x9793cf;try{_0x9793cf=new URL(_0x4c1652)[_0x2cecb9(0x449,0x4c9,_0x62e4e8._0x2c79cb,_0x62e4e8._0x215071)];}catch{_0x9793cf=null;}return{'title':_0x1008d7[_0x2e1fa6(0x70b,0x63f,0x760,_0x62e4e8._0x538ef0)]||_0x2e1fa6(0x668,0x6e9,0x4e5,_0x62e4e8._0x23328e),'url':normalizeUrl(_0x4c1652),'snippet':_0x1008d7[_0x2cecb9(_0x62e4e8._0x28341e,_0x62e4e8._0x4709c3,0x497,_0x62e4e8._0x4d8dd0)]??null,'displayUrl':_0x9793cf,'favicon':null,'publishedAt':null,'source':{'engine':'tavily','rank':_0x33dc94+0x1}};});function _0x118b4e(_0x561330,_0x2a0f74,_0x1bc376,_0x2d6eb9){return _0x4a0aa5(_0x2a0f74,_0x2d6eb9-_0x1b2faf._0x56755e,_0x1bc376-0x1ad,_0x2d6eb9-0xe2);}return{'items':_0x2770bd[_0x17a490(0x20c,0x17d,_0x45d9fb._0x54858a,_0x45d9fb._0x29c993)](0x0,_0x4dad81),'engine':_0x17a490(_0x45d9fb._0x1757bd,-_0x45d9fb._0x5d4f96,0x2,-0x1b7)};}async function searchGoogleCse(_0x280f0d,_0x1a428d,_0x5743bd){const _0x4e47a4={_0x16db37:0x48c,_0x196925:0x445,_0x161828:0x364,_0x390f51:0x3b2,_0x41900f:0x3c4,_0x469700:0x2d0,_0x4492ea:0xf1,_0x403211:0x14d,_0x2c854e:0x2c4,_0x2fee60:0x108,_0x175668:0xb8,_0x1f042c:0x3fe,_0x2100f2:0x229,_0x40c52a:0x50f,_0x3048d8:0x358,_0x1f8b37:0x195,_0x38a58b:0x34d,_0x463993:0x231,_0x41a798:0x247,_0x202e03:0x303,_0x28ca65:0x129,_0x470883:0x30f,_0x1d6bbf:0x39f,_0x3559ad:0x1b6,_0x29e5ea:0x266,_0x638046:0xd0,_0x2747ed:0x4b8,_0x395ed8:0x165,_0x32ee0b:0x19d,_0x3c1787:0x167,_0x5c1257:0x110,_0x2fa275:0x74,_0x5d486e:0x13f,_0xbb9cca:0xd9,_0x2eafc6:0x1ff,_0x4f4dae:0x5f6,_0x70b6e0:0x344,_0x38390f:0x447,_0x184efc:0x4f4,_0x393918:0x18d,_0x2d6856:0x22,_0x200fd:0x28d,_0x458587:0x3e,_0x48cdb7:0x2d0,_0x10018f:0x39e,_0x11444d:0x3ce,_0x440b86:0x1b0,_0x1656e8:0x193,_0x4fab6e:0x450,_0x4eb9b8:0x455,_0x433829:0x309,_0xffc9dc:0x8,_0x493c51:0x151,_0x3d3f75:0x183,_0x5bde05:0x467,_0x4b2242:0x5a1,_0x16c050:0x4ab,_0x2d7fc0:0x373,_0x30c611:0x52c,_0x311162:0x3a4,_0x1dfb4b:0x1bb,_0x10ce2e:0x2e7,_0xf96861:0x1f5,_0x501c06:0x7d,_0x96c5c1:0x3f4,_0x326efb:0x344,_0xf31c0:0x103,_0x52b55d:0xee,_0x2eab94:0xb9,_0x9e31c8:0x19c,_0x1f8eea:0x197,_0x5bf1cb:0x178,_0x49ae76:0x1e7,_0x9a0718:0x14f,_0x42d459:0x240,_0x21387a:0x2f0,_0xd650c7:0x602,_0x1dea0c:0x394,_0x2bb320:0xb9,_0x4b72dd:0x329,_0x5f045f:0x26e,_0x3bbe69:0x1d9,_0xd60b87:0x2f1,_0x3ec118:0x224,_0x211678:0xed,_0x1b53bd:0x266,_0x1f5503:0x15,_0x56533c:0x1a1,_0x231824:0x2e1,_0x3c17c3:0x324,_0x42c9d3:0x12c,_0x2f8823:0x269,_0x59f975:0xef,_0x481f79:0xb8,_0x447b61:0x27f,_0x3f90e4:0x362,_0x5d0f4a:0x4f1,_0x1fbecf:0x2a1,_0x11dd58:0x11b,_0x24c0f1:0x267,_0x520d5f:0x279,_0x4c05ae:0x30c,_0x26401a:0x161,_0x1fe5ae:0x26a,_0x205a38:0x3dc,_0x1d5b95:0x49d,_0x36fa1c:0x534,_0x22f2b2:0x41d,_0x2d5a47:0x55f,_0x41ad4c:0x3c3,_0x5d6c04:0x44c,_0x14ee02:0x27f},_0x28001f={_0x5dcac7:0x5f},_0x1b1ad0={_0x394666:0x34a},_0x15d81d=Math[_0x1eb8d0(0x337,0x409,_0x4e47a4._0x16db37,0x433)](0x1,Math[_0x379c75(_0x4e47a4._0x196925,0x387,0x465,0x1cb)](0x32,_0x1a428d['count']));function _0x1eb8d0(_0x52bd03,_0x47d430,_0x29b07e,_0x2430d6){return _0x38b1c5(_0x52bd03-0x39,_0x47d430-0x10d,_0x2430d6- -_0x1b1ad0._0x394666,_0x29b07e);}if(_0x1a428d[_0x379c75(0x488,_0x4e47a4._0x161828,0x31d,_0x4e47a4._0x390f51)]+_0x15d81d>0x64)throw new ToolExecutionError(_0x379c75(_0x4e47a4._0x41900f,0x320,0x1fa,0x18b),{'offset':_0x1a428d['offset'],'count':_0x15d81d,'maxResults':0x64});const _0x54a054=cseDateRestrict(_0x1a428d[_0x1eb8d0(0x3af,0x223,0x230,_0x4e47a4._0x469700)]),_0x43ce28=addSiteFilters(_0x1a428d[_0x379c75(_0x4e47a4._0x4492ea,0x195,_0x4e47a4._0x403211,_0x4e47a4._0x2c854e)],_0x1a428d[_0x1eb8d0(_0x4e47a4._0x2fee60,_0x4e47a4._0x175668,_0x4e47a4._0x1f042c,_0x4e47a4._0x2100f2)]);let _0x2e782e=0x0,_0x5f4952=_0x1a428d['offset']+0x1;function _0x379c75(_0x5cd9a7,_0x29663d,_0x10d08e,_0x249aee){return _0x38b1c5(_0x5cd9a7-0x12,_0x29663d-_0x28001f._0x5dcac7,_0x29663d- -0x31b,_0x10d08e);}const _0x19bdaa=[];while(_0x2e782e<_0x15d81d){const _0x2bbb03=Math[_0x1eb8d0(_0x4e47a4._0x40c52a,0x33f,0x38b,_0x4e47a4._0x3048d8)](0xa,_0x15d81d-_0x2e782e),_0x549883=new URL(_0x379c75(_0x4e47a4._0x1f8b37,_0x4e47a4._0x38a58b,_0x4e47a4._0x463993,0x2d4));_0x549883[_0x379c75(_0x4e47a4._0x41a798,0x13f,_0x4e47a4._0x202e03,_0x4e47a4._0x28ca65)]['set']('key',_0x280f0d[_0x1eb8d0(_0x4e47a4._0x470883,0x3d2,_0x4e47a4._0x1d6bbf,0x202)]),_0x549883[_0x1eb8d0(_0x4e47a4._0x3559ad,_0x4e47a4._0x29e5ea,-_0x4e47a4._0x638046,0x110)]['set']('cx',_0x280f0d[_0x379c75(0x46b,0x393,0x4f1,_0x4e47a4._0x2747ed)]),_0x549883['searchParams'][_0x1eb8d0(0x22f,0x18b,_0x4e47a4._0x395ed8,0x344)]('q',_0x43ce28),_0x549883['searchParams']['set']('num',String(_0x2bbb03)),_0x549883[_0x1eb8d0(-0xa8,_0x4e47a4._0x32ee0b,_0x4e47a4._0x3c1787,_0x4e47a4._0x5c1257)][_0x379c75(0x182,0x373,0x530,0x398)](_0x379c75(0x50a,0x2fb,0x4fb,0x26e),String(_0x5f4952)),_0x549883[_0x379c75(_0x4e47a4._0x2fa275,_0x4e47a4._0x5d486e,_0x4e47a4._0xbb9cca,_0x4e47a4._0x2eafc6)][_0x1eb8d0(0x38c,0x427,0x3f7,0x344)](_0x1eb8d0(_0x4e47a4._0x4f4dae,0x4d7,_0x4e47a4._0x70b6e0,0x418),_0x1a428d[_0x379c75(0x4dc,_0x4e47a4._0x38390f,_0x4e47a4._0x184efc,0x40b)]?_0x379c75(0x2fb,_0x4e47a4._0x393918,_0x4e47a4._0x2d6856,_0x4e47a4._0x200fd):'off');_0x1a428d['lang']&&(_0x549883[_0x1eb8d0(_0x4e47a4._0x458587,-0x11,_0x4e47a4._0x48cdb7,_0x4e47a4._0x5c1257)][_0x1eb8d0(_0x4e47a4._0x10018f,0x2dd,0x473,0x344)]('hl',_0x1a428d['lang']),_0x549883[_0x379c75(0x6b,0x13f,0x21f,0x2cc)][_0x379c75(_0x4e47a4._0x11444d,0x373,_0x4e47a4._0x440b86,_0x4e47a4._0x1656e8)]('lr',_0x1eb8d0(_0x4e47a4._0x4fab6e,_0x4e47a4._0x4eb9b8,0x4c1,_0x4e47a4._0x433829)+_0x1a428d[_0x379c75(-_0x4e47a4._0xffc9dc,_0x4e47a4._0x493c51,_0x4e47a4._0x3d3f75,-0xb6)]));if(_0x1a428d[_0x379c75(_0x4e47a4._0x5bde05,0x40d,_0x4e47a4._0x4b2242,_0x4e47a4._0x16c050)])_0x549883['searchParams'][_0x379c75(0x405,_0x4e47a4._0x2d7fc0,_0x4e47a4._0x30c611,_0x4e47a4._0x311162)]('gl',_0x1a428d['region'][_0x379c75(-0x2d,_0x4e47a4._0x1dfb4b,0x54,0x28f)]());if(_0x1a428d[_0x379c75(_0x4e47a4._0x10ce2e,0x26d,_0x4e47a4._0xf96861,_0x4e47a4._0x501c06)]==='images')_0x549883['searchParams'][_0x1eb8d0(0x199,0x40e,_0x4e47a4._0x96c5c1,_0x4e47a4._0x326efb)](_0x379c75(-_0x4e47a4._0xf31c0,_0x4e47a4._0x52b55d,0x29,0xf6),'image');if(_0x54a054)_0x549883[_0x379c75(-_0x4e47a4._0x2eab94,0x13f,0x10a,_0x4e47a4._0x9e31c8)][_0x1eb8d0(0x4c8,0x152,_0x4e47a4._0x1f8eea,0x344)](_0x1eb8d0(0x26d,0x120,-0x4d,_0x4e47a4._0x5bf1cb),_0x54a054);const _0x111637=await fetchJson(_0x549883[_0x379c75(_0x4e47a4._0x49ae76,0x232,_0x4e47a4._0x9a0718,_0x4e47a4._0x42d459)](),_0x5743bd),_0x441c98=_0x111637[_0x379c75(0x235,0x2eb,0x492,0x40c)]??[];if(_0x441c98['length']===0x0)break;const _0x1f6260=_0x2e782e;for(let _0x35b85=0x0;_0x35b85<_0x441c98['length'];_0x35b85++){const _0x1c43f8=_0x441c98[_0x35b85];if(!_0x1c43f8)continue;const _0x144cbe=_0x1c43f8[_0x379c75(0x48d,0x4ab,_0x4e47a4._0x21387a,0x2de)]||_0x1c43f8[_0x1eb8d0(0x4ce,_0x4e47a4._0xd650c7,_0x4e47a4._0x1dea0c,0x4b5)]?.[_0x379c75(0x101,0x1f8,_0x4e47a4._0x2bb320,_0x4e47a4._0x4b72dd)]||'',_0x5011ca=_0x1c43f8[_0x1eb8d0(_0x4e47a4._0x5f045f,_0x4e47a4._0x3bbe69,0x4e,0x1bc)]||_0x1c43f8['image']?.[_0x379c75(0x225,0x1eb,_0x4e47a4._0xd60b87,_0x4e47a4._0x3ec118)]||_0x1eb8d0(0x340,_0x4e47a4._0x211678,0x36c,_0x4e47a4._0x1b53bd),_0x5cf094=_0x1c43f8[_0x1eb8d0(0x119,-0xb,-_0x4e47a4._0x1f5503,_0x4e47a4._0x56533c)]||_0x1c43f8[_0x1eb8d0(_0x4e47a4._0x231824,0x279,_0x4e47a4._0x3c17c3,_0x4e47a4._0x42c9d3)]?.[_0x1eb8d0(_0x4e47a4._0x2f8823,0x142,_0x4e47a4._0x59f975,_0x4e47a4._0x481f79)](/<[^>]+>/g,''),_0x5be49f=_0x1c43f8[_0x379c75(_0x4e47a4._0x447b61,_0x4e47a4._0x3f90e4,0x446,0x489)]?.[_0x379c75(_0x4e47a4._0x5d0f4a,0x495,0x365,_0x4e47a4._0x1fbecf)]?.[0x0]??{};let _0x1884a6;try{_0x1884a6=new URL(_0x144cbe)[_0x379c75(_0x4e47a4._0x11dd58,_0x4e47a4._0x24c0f1,_0x4e47a4._0x520d5f,_0x4e47a4._0x4c05ae)];}catch{_0x1884a6=null;}_0x19bdaa[_0x379c75(0x215,_0x4e47a4._0x26401a,0x271,0x1b6)]({'title':_0x5011ca,'url':normalizeUrl(_0x144cbe),'snippet':_0x5cf094??null,'displayUrl':_0x1884a6,'favicon':null,'publishedAt':_0x5be49f['article:published_time']||_0x5be49f[_0x1eb8d0(0x4e2,_0x4e47a4._0x1fe5ae,0x4ba,0x303)]||null,'source':{'engine':_0x1eb8d0(0x30e,_0x4e47a4._0x205a38,_0x4e47a4._0x1d5b95,0x447),'rank':_0x1f6260+_0x35b85+0x1}});}_0x2e782e+=_0x441c98[_0x1eb8d0(0x4d2,_0x4e47a4._0x36fa1c,0x481,_0x4e47a4._0x22f2b2)],_0x5f4952+=_0x441c98[_0x1eb8d0(0x3a2,_0x4e47a4._0x2d5a47,_0x4e47a4._0x41ad4c,_0x4e47a4._0x22f2b2)];if(_0x441c98[_0x379c75(0x3bb,_0x4e47a4._0x5d6c04,_0x4e47a4._0x14ee02,0x2f5)]<_0x2bbb03)break;}return _0x19bdaa['slice'](0x0,_0x15d81d);}function isGoogleCseEngine(_0x3fd460){return'googleCseKey'in _0x3fd460;}function isOllamaEngine(_0x83f683){const _0x5ce5be={_0x4d56f4:0x320},_0x2f56b9={_0x326eea:0xb3,_0x8bc63f:0xd6};function _0x536b6c(_0x3ef388,_0xf8bdd8,_0x22fd99,_0x2f28d4){return _0x38b1c5(_0x3ef388-_0x2f56b9._0x326eea,_0xf8bdd8-_0x2f56b9._0x8bc63f,_0x3ef388- -0x145,_0x2f28d4);}return _0x536b6c(0x309,0x363,0x23a,_0x5ce5be._0x4d56f4)in _0x83f683;}function isTavilyEngine(_0x59a798){const _0x596073={_0xb81e14:0x3cd,_0x25a4c8:0x2a9},_0x2eeb60={_0x4b95b7:0xc2};function _0x310156(_0x4becd4,_0x46452c,_0x565cf1,_0x214afc){return _0x38b1c5(_0x4becd4-0x0,_0x46452c-_0x2eeb60._0x4b95b7,_0x46452c- -0x2ea,_0x565cf1);}return _0x310156(0x43b,_0x596073._0xb81e14,_0x596073._0x25a4c8,0x1e9)in _0x59a798;}function createWebSearchTool(_0x5a5cd9){const _0x418877={_0x18c025:0x227,_0x4e6f07:0x288,_0xdca30b:0x1b6,_0xf70219:0x445,_0x1760d9:0x373,_0x266a9c:0x4b2,_0xa62a0d:0x2f1,_0x5bd803:0x86,_0x22ac09:0x34,_0x3d9e86:0x341,_0x45f8cd:0x4b9,_0x4fb5ab:0x73,_0x4e0c8e:0x129,_0x5ac779:0x186,_0x2c8ddc:0x2f4,_0x2c73a9:0x430,_0x2fc147:0x2f4,_0x5badc4:0x392,_0x33c62d:0x469,_0x4f644a:0x18a,_0x4b2869:0x2e0,_0x3b1d44:0x24f,_0x44d136:0x2c8,_0x568e91:0x154,_0xbd3f60:0x2ed,_0x14f6bd:0x2f4,_0x13f7b8:0x220,_0x44d4ed:0x16e,_0x5c35e2:0x494,_0x57e1df:0x377,_0x5e993d:0x4c5,_0x47aa8c:0x2c,_0xa87abe:0x20,_0x389c6f:0x1e1,_0x105970:0x38f,_0x5a3301:0x49d,_0x3b3e4c:0x16d,_0x28dd1b:0x17a,_0xf6c6a3:0x30,_0x4c9759:0x128,_0x15a879:0x44,_0x16cfb4:0x15,_0x2097e0:0x13},_0x4eabfa={_0x448358:0x12e,_0x16a75d:0x59b,_0x2e3d7b:0x491,_0x49f731:0x13c,_0x37073b:0x1d1,_0x4be669:0x27,_0x3f14f8:0x2f9,_0x58a123:0xa1,_0x40b2f9:0x12a,_0x1fde2d:0x198,_0x117d53:0x28a,_0x57b969:0x1d1,_0x472092:0x29b,_0x477f4c:0x385,_0x876877:0x111,_0x14c6e6:0x13a,_0x35a5f7:0x1f0,_0x4a20c8:0x5a,_0x49c73c:0x2fc,_0x59a4b8:0x189,_0x165cf5:0x319,_0x1a3b65:0x1ca,_0x2854be:0x27b,_0x4f8216:0x5e,_0x395d81:0x213,_0x377498:0x2a8,_0x307c1e:0x225,_0x5664ee:0x1e5,_0x2e5d9b:0x241,_0x64e292:0x60,_0x353edc:0x25f,_0x8dc62f:0x25b,_0x52f781:0x3aa,_0xc144c9:0x89,_0x1a3b63:0x18b,_0x103fca:0x16,_0x236603:0x78,_0x574a7a:0x5a,_0x5beb90:0x1fb,_0x4ca88b:0x261,_0x2af3a2:0x274,_0x5dde7a:0xb2,_0x9cab5e:0x15f,_0x5175de:0x5c,_0x20138a:0xe3,_0x1918fc:0x13f,_0x394460:0x29a,_0x4b9fe1:0xcb,_0x12b516:0x1a8,_0x4524be:0xf2,_0x2920fd:0xa7,_0x4e72c5:0x11c,_0x4c363d:0x235,_0x15c2f7:0xf3,_0x1bd03e:0x66,_0x4c816f:0xfb,_0x550f99:0xe7,_0x1ceab0:0x2b8,_0x2dde80:0x225,_0x10a8f6:0xb4,_0x16ac42:0x6e,_0x576e85:0x4f,_0x41d778:0x6f,_0x3db399:0x6e,_0x29f687:0x13a,_0x127a73:0x140,_0x2b8fb7:0x39,_0xc3ded8:0x17c,_0x12ce46:0x479,_0x20102d:0x68,_0x9abd20:0x40,_0x3773d6:0xbb,_0x14d19b:0x258,_0x56cfd1:0x374,_0x4dac6a:0xa9,_0x355a2f:0x166},_0x5a519f={_0x4c19fc:0x3dc,_0x49e191:0x2e8,_0x24e6c8:0x230},_0x4882ba={_0x2e57c4:0x19c},_0x2f8599={_0x130cbd:0x10f},_0x3ce4ea={_0x5be920:0x1b0},_0x486868={_0x179416:0x10c,_0x287b02:0x72};if(!_0x5a5cd9[_0x6670a9(0x34c,0x19c,_0x418877._0x18c025,_0x418877._0x4e6f07)]||_0x5a5cd9['engines'][_0x6670a9(0x235,0x2fb,0x4a6,0x39e)]===0x0)throw new Error(_0x6670a9(-_0x418877._0xdca30b,0x21,0xbf,0x232));function _0x40f4f7(_0x2e9c57,_0x1745cd,_0x198705,_0x3ac344){return _0x4a0aa5(_0x198705,_0x3ac344- -0x3aa,_0x198705-_0x486868._0x179416,_0x3ac344-_0x486868._0x287b02);}const _0x53a33d=_0x5a5cd9['name']??_0x6670a9(_0x418877._0xf70219,_0x418877._0x1760d9,_0x418877._0x266a9c,0x285),_0x525ffe=_0x5a5cd9[_0x6670a9(_0x418877._0xa62a0d,0x108,_0x418877._0x5bd803,-_0x418877._0x22ac09)];function _0x6670a9(_0x51df8d,_0xee7664,_0x243047,_0x59ed48){return _0x38b1c5(_0x51df8d-_0x3ce4ea._0x5be920,_0xee7664-0x8c,_0xee7664- -0x46c,_0x243047);}return defineTool({'name':_0x53a33d,'permissionClass':_0x40f4f7(_0x418877._0x3d9e86,_0x418877._0x45f8cd,0x137,0x300),'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':_0x40f4f7(-_0x418877._0x4fb5ab,_0x418877._0x4e0c8e,0x392,_0x418877._0x5ac779),'properties':{'description':{'type':_0x40f4f7(_0x418877._0x2c8ddc,_0x418877._0x2c73a9,0x499,_0x418877._0x2fc147)},'query':{'type':_0x6670a9(_0x418877._0x5badc4,0x2f0,_0x418877._0x33c62d,0x261)},'count':{'type':'number'},'offset':{'type':_0x40f4f7(_0x418877._0x4f644a,0x109,0x318,0x16e)},'domains':{'type':_0x40f4f7(_0x418877._0x4b2869,_0x418877._0x3b1d44,0x2e2,_0x418877._0x44d136),'items':{'type':_0x40f4f7(_0x418877._0x568e91,_0x418877._0xbd3f60,0x478,_0x418877._0x14f6bd)}},'recencyDays':{'type':_0x40f4f7(_0x418877._0x13f7b8,0x14f,-0x6e,_0x418877._0x44d4ed)},'lang':{'type':_0x6670a9(_0x418877._0x5c35e2,0x2f0,0x38f,0x2e6)},'region':{'type':_0x40f4f7(_0x418877._0x57e1df,0x25a,_0x418877._0x5e993d,_0x418877._0x2fc147)},'safe':{'type':_0x6670a9(0x4b,_0x418877._0x47aa8c,-_0x418877._0xa87abe,-_0x418877._0x389c6f)},'type':{'type':_0x6670a9(_0x418877._0x105970,0x2f0,_0x418877._0x5a3301,0x26f)},'hydrateMeta':{'type':_0x40f4f7(-_0x418877._0x3b3e4c,-_0x418877._0x28dd1b,0x16b,_0x418877._0xf6c6a3)}},'required':[_0x6670a9(-_0x418877._0x4c9759,_0x418877._0x15a879,_0x418877._0x16cfb4,_0x418877._0x2097e0)]},async *'execute'(_0x41835f,_0x2871f6){const _0x2a621a={_0xae2007:0x32,_0x42032b:0x3ce},_0x2d62e7={_0x245be7:0x54,_0xfabfdf:0x151},_0x415c47=_0x41835f[_0x5dfb86(0xb3,_0x4eabfa._0x448358,0xbb,-0x13b)][_0x5dfb86(0x3f1,_0x4eabfa._0x16a75d,0x416,_0x4eabfa._0x2e3d7b)]();function _0x1d250d(_0x28a1d7,_0x4f2bcb,_0xf916b9,_0x31bd86){return _0x40f4f7(_0x28a1d7-_0x2f8599._0x130cbd,_0x4f2bcb-0x4,_0xf916b9,_0x4f2bcb- -0x144);}if(!_0x415c47)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x21b562={'query':_0x415c47,'count':Math['max'](0x1,Math['min'](0x32,Math[_0x1d250d(0x1b1,0x111,0x33,_0x4eabfa._0x49f731)](_0x41835f['count']??0xa))),'offset':Math[_0x1d250d(0x13c,_0x4eabfa._0x37073b,-_0x4eabfa._0x4be669,0x134)](0x0,Math[_0x1d250d(-0x41,0x111,_0x4eabfa._0x3f14f8,-_0x4eabfa._0x58a123)](_0x41835f[_0x5dfb86(_0x4eabfa._0x40b2f9,_0x4eabfa._0x1fde2d,_0x4eabfa._0x117d53,0x133)]??0x0)),'domains':_0x41835f['domains']??[],'recencyDays':Math[_0x1d250d(0x1e5,_0x4eabfa._0x57b969,_0x4eabfa._0x472092,_0x4eabfa._0x477f4c)](0x0,Math[_0x1d250d(0x1d0,_0x4eabfa._0x876877,_0x4eabfa._0x14c6e6,0x19f)](_0x41835f[_0x1d250d(_0x4eabfa._0x35a5f7,0x6e,-0x83,_0x4eabfa._0x4a20c8)]??0x0)),'lang':_0x41835f['lang']??'en','region':_0x41835f[_0x1d250d(_0x4eabfa._0x49c73c,0x17c,_0x4eabfa._0x59a4b8,0x1ce)]??'','safe':_0x41835f[_0x5dfb86(0x4ff,0x4cf,0x36d,0x205)]??!![],'type':normalizeType(_0x41835f['type']),'hydrateMeta':_0x41835f['hydrateMeta']??![]};function _0x5dfb86(_0x57fc83,_0x20b3c0,_0x3ae413,_0x20cfff){return _0x40f4f7(_0x57fc83-_0x4882ba._0x2e57c4,_0x20b3c0-0x15a,_0x57fc83,_0x3ae413-0x73);}let _0x168d10=[],_0x3732e2=_0x5dfb86(_0x4eabfa._0x165cf5,0x3a5,_0x4eabfa._0x1a3b65,0xb7);for(const _0x121416 of _0x5a5cd9[_0x5dfb86(_0x4eabfa._0x2854be,_0x4eabfa._0x4f8216,_0x4eabfa._0x395d81,0x2cc)]){try{if(isGoogleCseEngine(_0x121416))_0x168d10=await searchGoogleCse(_0x121416,_0x21b562,_0x2871f6[_0x1d250d(-_0x4eabfa._0x377498,-0x1a1,-_0x4eabfa._0x307c1e,-0x1e9)]),_0x3732e2=_0x1d250d(0x278,_0x4eabfa._0x5664ee,_0x4eabfa._0x2e5d9b,_0x4eabfa._0x64e292);else{if(isOllamaEngine(_0x121416)){const _0x3aa5c2=await searchOllama(_0x121416,_0x21b562,_0x2871f6[_0x1d250d(-_0x4eabfa._0x353edc,-0x1a1,-_0x4eabfa._0x8dc62f,-_0x4eabfa._0x52f781)]);_0x168d10=_0x3aa5c2[_0x5dfb86(0x212,0x161,0x211,0x2d6)],_0x3732e2=_0x3aa5c2[_0x5dfb86(_0x4eabfa._0xc144c9,0x34d,0x139,0x241)];}else{if(isTavilyEngine(_0x121416)){const _0xb7a1d7=await searchTavily(_0x121416,_0x21b562,_0x2871f6[_0x5dfb86(0x6a,_0x4eabfa._0x1a3b63,_0x4eabfa._0x103fca,-_0x4eabfa._0x236603)]);_0x168d10=_0xb7a1d7[_0x1d250d(0x237,_0x4eabfa._0x574a7a,0x260,-0x86)],_0x3732e2=_0xb7a1d7[_0x1d250d(-0x188,-0x7e,-_0x4eabfa._0x5beb90,-0x290)];}}}if(_0x168d10[_0x5dfb86(_0x4eabfa._0x4ca88b,_0x4eabfa._0x2af3a2,0x372,0x1c3)]>0x0)break;}catch(_0xc8de28){if(_0x121416===_0x5a5cd9[_0x1d250d(_0x4eabfa._0x5dde7a,0x5c,0x7,-0x148)][_0x5a5cd9[_0x1d250d(_0x4eabfa._0x9cab5e,_0x4eabfa._0x5175de,0x200,-0x9b)][_0x1d250d(_0x4eabfa._0x20138a,0x1bb,_0x4eabfa._0x1918fc,0xf2)]-0x1])throw _0xc8de28;}}_0x21b562[_0x1d250d(-_0x4eabfa._0x394460,-_0x4eabfa._0x4b9fe1,-_0x4eabfa._0x12b516,0x91)]&&_0x168d10[_0x5dfb86(0x37b,0x164,0x372,0x35a)]>0x0&&(_0x168d10=await hydrateResults(_0x168d10,_0x21b562[_0x5dfb86(_0x4eabfa._0x4524be,0x146,0x77,-_0x4eabfa._0x2920fd)],_0x2871f6[_0x5dfb86(0x55,0x21c,0x16,-_0x4eabfa._0x4e72c5)],_0x525ffe));const _0xd85c51=new Set();_0x168d10=_0x168d10['filter'](_0x43e930=>{const _0x3ef494=_0x43e930['url'][_0x1823d9(0x19e,0x1e5,0x311,0x14f)]();if(!_0x3ef494||_0xd85c51[_0x1823d9(0x375,0x276,0x3e7,0xe5)](_0x3ef494))return![];function _0x1823d9(_0xeb4ab5,_0x224432,_0x47fb80,_0x235561){return _0x1d250d(_0xeb4ab5-0x161,_0x224432-_0x2d62e7._0x245be7,_0x235561,_0x235561-_0x2d62e7._0xfabfdf);}_0xd85c51[_0x663362(_0x5a519f._0x4c19fc,0x3bf,_0x5a519f._0x49e191,_0x5a519f._0x24e6c8)](_0x3ef494);function _0x663362(_0x3b945f,_0x574ee0,_0x1e3f7b,_0x53014a){return _0x1d250d(_0x3b945f-_0x2a621a._0xae2007,_0x574ee0-_0x2a621a._0x42032b,_0x53014a,_0x53014a-0x179);}return!![];}),_0x168d10=_0x168d10[_0x1d250d(_0x4eabfa._0x4c363d,_0x4eabfa._0x15c2f7,0x49,_0x4eabfa._0x1bd03e)]((_0x37b276,_0x39bbb5)=>({..._0x37b276,'source':{..._0x37b276[_0x1d250d(-0xa2,-0x18b,-0x49,-0x129)],'rank':_0x39bbb5+0x1}}));const _0x30a030={};if(_0x21b562[_0x5dfb86(0x32,0x370,0x17e,_0x4eabfa._0x4c816f)]['length']>0x0)_0x30a030[_0x1d250d(-0x190,-0x39,_0x4eabfa._0x550f99,-0x1e4)]=_0x21b562['domains'];if(_0x21b562[_0x5dfb86(0x12f,_0x4eabfa._0x1ceab0,_0x4eabfa._0x2dde80,_0x4eabfa._0x10a8f6)]>0x0)_0x30a030[_0x1d250d(-0x12a,_0x4eabfa._0x16ac42,-0xda,_0x4eabfa._0x576e85)]=_0x21b562[_0x1d250d(_0x4eabfa._0x41d778,_0x4eabfa._0x3db399,-0x44,0x6f)];if(_0x21b562['lang']!=='en')_0x30a030[_0x1d250d(-_0x4eabfa._0x29f687,-_0x4eabfa._0x127a73,-0x1e3,-0x187)]=_0x21b562['lang'];if(_0x21b562[_0x1d250d(_0x4eabfa._0x2b8fb7,_0x4eabfa._0xc3ded8,0x17b,0xea)])_0x30a030['region']=_0x21b562['region'];return yield createToolOutput(formatResults(_0x168d10),{'engine':_0x3732e2,'count':_0x168d10[_0x5dfb86(0x552,_0x4eabfa._0x12ce46,0x372,0x353)],'items':_0x168d10,'query':_0x21b562[_0x5dfb86(_0x4eabfa._0x20102d,_0x4eabfa._0x9abd20,_0x4eabfa._0x3773d6,0xa8)],...Object['keys'](_0x30a030)['length']>0x0?{'appliedFilters':_0x30a030}:{},'offset':_0x21b562[_0x1d250d(-0x38,0xd3,_0x4eabfa._0x14d19b,0x101)],'totalRequested':_0x21b562[_0x5dfb86(0x32b,0x3ed,_0x4eabfa._0x56cfd1,0x37a)],'hydrated':_0x21b562[_0x5dfb86(-_0x4eabfa._0x4dac6a,0x133,0xec,_0x4eabfa._0x355a2f)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,FILE_OBSERVATION_LIMITS,FileMutationCoordinator,FileObservationStore,GREP_DEFAULT_LIMIT,GREP_MAX_PATTERN_LENGTH,GREP_MAX_SNIPPET_LENGTH,MAX_ANCHORED_CONTENT_BYTES,MAX_ANCHORED_OPERATIONS,MAX_ANCHORED_PREVIEW_BYTES,ToolExecutionError,ToolRegistry,assertWorkspaceFile,boundedGrepSnippet,buildMcpHttpHeaders,connectMcpServer,createAnchoredFileError,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createNormalizedFileSnapshot,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,executeAnchoredFileEdit,extractOwnedMcpSafeError,filepath,files,formatAnchoredFileRead,hashlineFileEditInputSchema,isProbablyBinary,isTerminalStatus,isWithinDisplayColumns,normalizeToolOutputValue,prepareAnchoredFileEditApproval,prepareCanonicalFileEdit,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveCanonicalAllowedFile,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,serializeNormalizedFile,sha256Bytes,structuredFileEditInputSchema,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};