@nuvin/agent-core 0.2.1-rc.0 → 0.2.1-rc.1
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.
- package/dist/VERSION +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/chunk-D5IVWJHX.js +1 -1
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-GAZGO6N7.js +1 -1
- package/dist/chunk-IUZALP6K.js +1 -1
- package/dist/chunk-KIIEBXJF.js +1 -1
- package/dist/chunk-LIE76IJA.js +1 -1
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YNOIG4FD.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/models/index.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/tools/index.js +1 -1
- package/package.json +1 -1
package/dist/tools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x36a970,_0x588f27){const _0x3a0b3b={_0x35a734:0x52,_0x3aa897:0x502,_0x1155b9:0x56a,_0x514135:0x117,_0x9b451c:0x319,_0x358694:0x129,_0x3a5572:0x14c,_0x254373:0x91,_0x4a2543:0xa0,_0x3c8e36:0x671,_0x309874:0x678,_0x558d9d:0x395,_0x4576cd:0x257,_0x5e0ccc:0x40c,_0x27513e:0x188,_0x2bd6ec:0x374,_0x4d685b:0x52d},_0x2acc79={_0x206ee0:0x180},_0x4eb331={_0x3a7420:0xff};function _0xe7cc5f(_0x4f6bdd,_0x45c583,_0x3164e2,_0xa919cd){return _0xa933(_0x4f6bdd-_0x4eb331._0x3a7420,_0xa919cd);}const _0x2cff49=_0x36a970();function _0x42dc36(_0xa1bf65,_0x1a6b71,_0x55f01f,_0x572f5a){return _0xa933(_0x572f5a- -_0x2acc79._0x206ee0,_0x55f01f);}while(!![]){try{const _0x37dedf=-parseInt(_0x42dc36(0x1e0,0x171,_0x3a0b3b._0x35a734,0xd2))/0x1+-parseInt(_0xe7cc5f(0x432,0x39a,_0x3a0b3b._0x3aa897,_0x3a0b3b._0x1155b9))/0x2*(-parseInt(_0x42dc36(0x30f,_0x3a0b3b._0x514135,_0x3a0b3b._0x9b451c,0x17c))/0x3)+-parseInt(_0x42dc36(_0x3a0b3b._0x358694,_0x3a0b3b._0x3a5572,0xaf,_0x3a0b3b._0x254373))/0x4+-parseInt(_0x42dc36(0x1c3,0x127,-0xeb,_0x3a0b3b._0x4a2543))/0x5+parseInt(_0xe7cc5f(0x620,_0x3a0b3b._0x3c8e36,0x463,0x75a))/0x6*(parseInt(_0xe7cc5f(_0x3a0b3b._0x309874,0x52f,0x6e1,0x6cf))/0x7)+-parseInt(_0xe7cc5f(_0x3a0b3b._0x558d9d,0x250,_0x3a0b3b._0x4576cd,_0x3a0b3b._0x5e0ccc))/0x8+parseInt(_0x42dc36(_0x3a0b3b._0x27513e,_0x3a0b3b._0x2bd6ec,_0x3a0b3b._0x4d685b,0x347))/0x9;if(_0x37dedf===_0x588f27)break;else _0x2cff49['push'](_0x2cff49['shift']());}catch(_0xcd7fb){_0x2cff49['push'](_0x2cff49['shift']());}}}(_0x5a62,0x6b215));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 _0x4bb817 from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':'typescriptreact','.js':'javascript','.jsx':_0x16ac01(0x158,0xce,0x29d,0x1e8),'.mjs':_0x5885dd(0x1ea,0x369,-0x46,0x1b9),'.cjs':_0x16ac01(0x136,-0xd6,0x6,0x26),'.mts':_0x16ac01(-0xe4,0x64,0x18d,0x21e),'.cts':_0x16ac01(-0xb2,0x64,-0x188,0xf0),'.json':_0x5885dd(0x2e7,0x39a,0x138,0x31c),'.jsonc':_0x5885dd(0x176,0x7b,0x2d2,0x1bb)};function getLanguageId(_0x55299b){return EXTENSION_TO_LANGUAGE[_0x4bb817['extname'](_0x55299b)['toLowerCase']()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x42d2b1){return pathToFileURL(_0x42d2b1)['toString']();}function textDocumentPosition(_0x20966a){const _0x45c732={_0x5610a1:0x4f5,_0x21462b:0x2df},_0x1effd0={_0xec3f25:0xb0};function _0x21a9f0(_0x2335d6,_0x166c1e,_0x31e38e,_0x37c72f){return _0x16ac01(_0x2335d6-0x1b8,_0x31e38e-0x27a,_0x31e38e-_0x1effd0._0xec3f25,_0x2335d6);}return{'textDocument':{'uri':uriForPath(_0x20966a['file'])},'position':{'line':_0x20966a[_0x21a9f0(0x33c,_0x45c732._0x5610a1,_0x45c732._0x21462b,0x31d)],'character':_0x20966a['character']}};}function normalizeLocations(_0x297ae2){const _0x2d715a={_0x4ac12d:0xb5,_0x52fbec:0x114,_0x1f6456:0x188},_0x2c0df7={_0x12e408:0xe1,_0xfcdae8:0xfb};if(!_0x297ae2)return[];function _0x2b05e1(_0x1937b0,_0x29f9bc,_0x197468,_0x10498b){return _0x16ac01(_0x1937b0-0x1f4,_0x10498b-_0x2c0df7._0x12e408,_0x197468-_0x2c0df7._0xfcdae8,_0x197468);}return Array[_0x2b05e1(-_0x2d715a._0x4ac12d,_0x2d715a._0x52fbec,-_0x2d715a._0x1f6456,0x78)](_0x297ae2)?_0x297ae2:[_0x297ae2];}async function withLspTimeout(_0x3b2da2,_0x70e08d,_0x288131){const _0x619b11={_0xdf5c8f:0x8b4,_0x37cc42:0x9a4,_0x18d4cd:0x86a,_0x108619:0x76b,_0x34d47b:0x4f1,_0x3e7b23:0x53b},_0x45278c={_0x3cfffe:0x3b},_0x6a2dae={_0x5af5f5:0x698,_0x360214:0x18f};if(!Number[_0x27c8ce(0x668,0xa04,0x84c,0x74f)](_0x70e08d)||_0x70e08d<0x1)throw new Error(_0x27c8ce(_0x619b11._0xdf5c8f,_0x619b11._0x37cc42,_0x619b11._0x18d4cd,_0x619b11._0x108619)+_0x288131+':\x20expected\x20a\x20positive\x20number');let _0x329daa;function _0x27c8ce(_0x276993,_0x131ea1,_0x21199b,_0x46b1b6){return _0x16ac01(_0x276993-0x15e,_0x21199b-_0x6a2dae._0x5af5f5,_0x21199b-_0x6a2dae._0x360214,_0x276993);}function _0xa4caea(_0x178d76,_0x26821c,_0x543255,_0x57886a){return _0x16ac01(_0x178d76-0x12d,_0x543255-0x4e5,_0x543255-_0x45278c._0x3cfffe,_0x57886a);}try{return await Promise[_0xa4caea(_0x619b11._0x34d47b,0x670,_0x619b11._0x3e7b23,0x727)]([_0x3b2da2,new Promise((_0x4a6eb8,_0x329afb)=>{const _0xc5441c={_0x5c62cd:0x14,_0x2b9753:0x32d,_0x4397a6:0x15f,_0x4a6919:0x452,_0x1f1712:0x45d,_0x16c989:0x2d3,_0x3683ee:0x2fb};_0x329daa=setTimeout(()=>{function _0x53c8bc(_0x31a465,_0x53fbd,_0x2a52c5,_0x36e714){return _0xa933(_0x36e714- -0x1ce,_0x31a465);}function _0x5ae370(_0x45918c,_0x4fd852,_0x13aa67,_0x4d4d82){return _0xa933(_0x13aa67-0x140,_0x4d4d82);}_0x329afb(new Error(_0x53c8bc(_0xc5441c._0x5c62cd,0x34f,_0xc5441c._0x2b9753,_0xc5441c._0x4397a6)+_0x288131+_0x5ae370(_0xc5441c._0x4a6919,_0xc5441c._0x1f1712,_0xc5441c._0x16c989,_0xc5441c._0x3683ee)+_0x70e08d+'\x20ms'));},_0x70e08d);})]);}finally{if(_0x329daa!==void 0x0)clearTimeout(_0x329daa);}}async function createLspClient(_0x28dec5){const _0x35d616={_0x356422:0x608,_0x564dba:0x8f5,_0x3f0e0d:0x77b,_0x281ed5:0x7fe,_0x18f085:0x605,_0x22fa98:0x59e,_0x272833:0x8b7,_0x5b3962:0x980,_0x1718df:0x797,_0x126793:0x8fc,_0x2c3d70:0x51e,_0x519d7e:0x633,_0x1044f3:0x4ae,_0x56358c:0x5f8,_0x20cdf0:0x503,_0x183d37:0x4c1,_0x52cce6:0x493,_0x25c787:0x58b,_0x4bd91f:0x4fc,_0x263492:0x38d,_0xe94cba:0x7e0,_0x3dcb51:0x579,_0x4e24f0:0x50f,_0xd9d426:0x4c1,_0xa58a3d:0x5ff,_0x240321:0x796,_0x59c202:0x5cc,_0x27e3e5:0x648,_0x471be8:0x663,_0x4875e7:0x6ea,_0x1626a2:0x81c,_0x1f1b89:0x9ed,_0x11c503:0x91d,_0x5f4294:0x569,_0x4fd788:0x2ba,_0x5cca70:0x3c3,_0x52a334:0x51e,_0x1db022:0x768},_0xbbc822={_0xca86ea:0x872,_0x5e08a1:0x97f,_0x3a9cd2:0x82d,_0x5b7f28:0x737,_0x1c27d8:0x7e1,_0x5ace91:0x5cf,_0x344039:0x673,_0x226174:0x74d,_0xcac454:0x757,_0x4018b3:0x72e,_0x2b48f2:0x63a},_0x2a3c84={_0x55975a:0x24,_0x3bfa1a:0x1c2},_0x51d4f0={_0x2df2e7:0x12e},_0x119772={_0x24621c:0x46d},_0x3897df={_0x33ce55:0x122,_0x3d728a:0x252},_0x5bbb8a={_0x257da2:0x3d9,_0x5b14eb:0x5e0},_0x5a1dc1={_0x25a008:0x4a3},_0x9ffe99={_0x4aaccf:0x15e,_0x33eec3:0x386},_0xa081d0={_0x4d781d:0x99,_0x537c75:0x8c},_0x141278={_0x78e7d6:0x8f},_0x4340e3={_0x898b12:0x126},_0x1dd53b={_0x33e6db:0x52f,_0x7dc8b1:0x429,_0x344c8f:0x4dd},_0x184c6e={_0x324fdb:0x16d,_0x55b20c:0xc5,_0x885c43:0x2ed},_0x37ff8b={_0x1be4a4:0x7e7,_0x18a534:0x552,_0x12191b:0x6c6},_0xa2262={_0x4791f3:0x95,_0x5e9fa5:0x145,_0x50a1f6:0x8d},_0x1555d1={_0x38682f:0x4a5,_0x33c59c:0x63f,_0x4446fb:0x670,_0x40624b:0x33c,_0x37f3c2:0x815,_0x5683ec:0x588,_0x24f05f:0x787},_0x1cd1a7={_0x2b5c31:0x17e},_0x21d3ba={_0x3b9c63:0x9d},_0x5ecc73={_0x44b25f:0x734,_0xc781e3:0x45b,_0x2a3666:0x503,_0x3222de:0x829,_0x23621b:0x69d,_0x46997f:0xa25,_0x43bbd5:0x5f1,_0x1d5528:0x5e7,_0x22e61e:0x501,_0xc54f31:0x55c,_0x5d8e2f:0x57b,_0xcd4fc0:0x5ed},_0x7330d1={_0x25fe22:0x30},_0x44fe06={_0x164266:0x360,_0x51004f:0x239,_0xbee8f3:0x34},_0x4086aa={_0x31291d:0x1d7},_0x88e0b2={_0x1459f8:0x1a,_0x215ee9:0x303},_0x388a62=_0x28dec5['handle'][_0x5ae650(_0x35d616._0x356422,0x80c,0x74e,0x920)]['stdout'],_0x5d98bc=_0x28dec5['handle']['process']['stdin'];if(!_0x388a62||!_0x5d98bc)throw new Error(_0x1c61ac(0x77f,_0x35d616._0x564dba,_0x35d616._0x3f0e0d,0x6ba));const _0x307aef=_0x28dec5[_0x1c61ac(0x895,0x68d,0x862,0x9aa)]??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x57f816=createMessageConnection(new StreamMessageReader(_0x388a62),new StreamMessageWriter(_0x5d98bc));function _0x1c61ac(_0x4df673,_0x5d635b,_0xfc77fa,_0x122c40){return _0x5885dd(_0x4df673-_0x88e0b2._0x1459f8,_0x4df673,_0xfc77fa-0x12e,_0xfc77fa-_0x88e0b2._0x215ee9);}const _0x115c3c=new Map(),_0x1098b3=new Map();let _0x250144=![];const _0x389503=async(_0x5392d2,_0x3d8616)=>{function _0x2e0154(_0x1642f9,_0x99822f,_0x5a7e0b,_0x2a37b9){return _0x5ae650(_0x1642f9-_0x4086aa._0x31291d,_0x99822f-0x6f,_0x2a37b9- -0x5b8,_0x99822f);}return withLspTimeout(_0x57f816[_0x2e0154(_0x44fe06._0x164266,_0x44fe06._0x51004f,-_0x44fe06._0xbee8f3,0x16c)](_0x5392d2,_0x3d8616),_0x307aef,_0x5392d2);};_0x57f816['onNotification'](_0x5ae650(_0x35d616._0x281ed5,0x419,_0x35d616._0x18f085,_0x35d616._0x22fa98),_0x5367e6=>{_0x115c3c['set'](_0x5367e6[_0x1eec4f(0x645,_0x5ecc73._0x44b25f,_0x5ecc73._0xc781e3,_0x5ecc73._0x2a3666)],_0x5367e6['diagnostics']);function _0x1a6f22(_0xdbc75e,_0x5880aa,_0x449cad,_0x4572f7){return _0x5ae650(_0xdbc75e-0x24,_0x5880aa-0x46,_0x5880aa- -_0x7330d1._0x25fe22,_0xdbc75e);}const _0x4af2e6=_0x1098b3[_0x1eec4f(_0x5ecc73._0x3222de,_0x5ecc73._0x23621b,_0x5ecc73._0x46997f,0x733)](_0x5367e6[_0x1a6f22(_0x5ecc73._0x43bbd5,0x64f,0x720,0x701)]);if(!_0x4af2e6)return;_0x1098b3[_0x1a6f22(_0x5ecc73._0x1d5528,_0x5ecc73._0x22e61e,0x3e7,0x4d4)](_0x5367e6[_0x1eec4f(0x645,_0x5ecc73._0xc54f31,_0x5ecc73._0x5d8e2f,_0x5ecc73._0xcd4fc0)]);function _0x1eec4f(_0x47245f,_0x12667c,_0x50f28c,_0x3f4b76){return _0x5ae650(_0x47245f-0x14c,_0x12667c-0xd1,_0x47245f- -0x3a,_0x12667c);}for(const _0x53c34f of _0x4af2e6)_0x53c34f();}),_0x57f816[_0x1c61ac(_0x35d616._0x272833,_0x35d616._0x5b3962,_0x35d616._0x1718df,_0x35d616._0x126793)]();let _0x5876a5;try{_0x5876a5=await _0x389503(_0x1c61ac(_0x35d616._0x2c3d70,_0x35d616._0x519d7e,0x54c,0x738),{'processId':process[_0x5ae650(_0x35d616._0x1044f3,_0x35d616._0x56358c,0x5e5,0x500)],'rootUri':uriForPath(_0x28dec5[_0x1c61ac(_0x35d616._0x20cdf0,0x67c,_0x35d616._0x183d37,_0x35d616._0x52cce6)]),'workspaceFolders':[{'uri':uriForPath(_0x28dec5[_0x1c61ac(_0x35d616._0x25c787,_0x35d616._0x4bd91f,0x4c1,_0x35d616._0x263492)]),'name':_0x28dec5[_0x5ae650(_0x35d616._0xe94cba,0x6a9,0x70b,_0x35d616._0x3dcb51)]['id']}],'initializationOptions':_0x28dec5['handle'][_0x5ae650(0x637,0x3a2,0x45e,_0x35d616._0x4e24f0)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x1c61ac(_0x35d616._0xd9d426,0x657,0x50a,0x457),_0x5ae650(0x84e,_0x35d616._0xa58a3d,0x68c,_0x35d616._0x240321)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x3cfefd){_0x57f816[_0x5ae650(0x507,0x78d,_0x35d616._0x59c202,_0x35d616._0x27e3e5)](),_0x28dec5['handle']['process'][_0x1c61ac(0x9e4,0x947,0x7ed,_0x35d616._0x471be8)]();throw _0x3cfefd;}function _0x5ae650(_0x268110,_0x3ee807,_0xd2a6c9,_0x54977d){return _0x5885dd(_0x268110-_0x21d3ba._0x3b9c63,_0x54977d,_0xd2a6c9-0x9a,_0xd2a6c9-0x2ff);}_0x57f816[_0x5ae650(_0x35d616._0x4875e7,0x910,_0x35d616._0x1626a2,_0x35d616._0x1f1b89)](_0x5ae650(_0x35d616._0x11c503,0x662,0x796,0x661),{});const _0xd659f0={'serverId':_0x28dec5['server']['id'],'root':_0x28dec5[_0x1c61ac(_0x35d616._0x5f4294,_0x35d616._0x4fd788,0x4c1,_0x35d616._0x5cca70)],'connection':_0x57f816,'diagnostics':_0x115c3c,'capabilities':_0x5876a5[_0x5ae650(0x86e,_0x35d616._0x52a334,0x696,_0x35d616._0x1db022)]??{},'notify':{async 'open'({path:_0x445896}){const _0x2933ed={_0x4c9871:0x11f,_0x21b632:0x128,_0x32d9c6:0x13e},_0x4483e3=await readFile(_0x445896,_0x49e693(_0x1555d1._0x38682f,_0x1555d1._0x33c59c,_0x1555d1._0x4446fb,_0x1555d1._0x40624b));function _0x49e693(_0x126d5d,_0x4b3fa6,_0x1006f8,_0x311c9a){return _0x1c61ac(_0x1006f8,_0x4b3fa6-_0x2933ed._0x4c9871,_0x126d5d- -_0x2933ed._0x21b632,_0x311c9a-_0x2933ed._0x32d9c6);}function _0x994785(_0xf7803d,_0x2767cb,_0x4ea55f,_0x6c4555){return _0x1c61ac(_0x2767cb,_0x2767cb-0x14e,_0x4ea55f- -0x19b,_0x6c4555-_0x1cd1a7._0x2b5c31);}_0x57f816[_0x49e693(0x6f8,_0x1555d1._0x37f3c2,_0x1555d1._0x5683ec,_0x1555d1._0x24f05f)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x445896),'languageId':getLanguageId(_0x445896)??'plaintext','version':0x1,'text':_0x4483e3}});},async 'change'({path:_0x2dc4cb,version:_0x12b40d}){const _0x20e53c=await readFile(_0x2dc4cb,'utf8');function _0x4c6c4f(_0x34780b,_0x5dd62a,_0x19141f,_0x43edba){return _0x1c61ac(_0x5dd62a,_0x5dd62a-0x4a,_0x34780b-0xec,_0x43edba-0x1a2);}function _0x223744(_0x5a8499,_0x2ca2d0,_0x24cb7a,_0x286a1f){return _0x1c61ac(_0x24cb7a,_0x2ca2d0-_0xa2262._0x4791f3,_0x286a1f- -_0xa2262._0x5e9fa5,_0x286a1f-_0xa2262._0x50a1f6);}_0x57f816[_0x223744(_0x37ff8b._0x1be4a4,0x5db,_0x37ff8b._0x18a534,0x6db)](_0x223744(0x512,0x4aa,_0x37ff8b._0x12191b,0x596),{'textDocument':{'uri':uriForPath(_0x2dc4cb),'version':_0x12b40d},'contentChanges':[{'text':_0x20e53c}]});},async 'close'({path:_0x5dba1d}){const _0x3f92e8={_0x50c5be:0x155,_0x436f25:0xf7};function _0x3c491d(_0x5b759f,_0x3411d9,_0x156348,_0x1eb8f2){return _0x5ae650(_0x5b759f-_0x184c6e._0x324fdb,_0x3411d9-_0x184c6e._0x55b20c,_0x5b759f- -_0x184c6e._0x885c43,_0x1eb8f2);}function _0x402e6a(_0x3a419b,_0x1bd5db,_0x41eec5,_0x208f35){return _0x1c61ac(_0x208f35,_0x1bd5db-_0x3f92e8._0x50c5be,_0x3a419b- -_0x3f92e8._0x436f25,_0x208f35-0x9f);}_0x57f816[_0x3c491d(_0x1dd53b._0x33e6db,0x390,0x486,0x6c9)](_0x3c491d(0x4b3,_0x1dd53b._0x7dc8b1,0x3b3,_0x1dd53b._0x344c8f),{'textDocument':{'uri':uriForPath(_0x5dba1d)}});}},'request':{async 'definition'(_0x27ba91){function _0x59d2ff(_0x407fc3,_0x25d2d2,_0x489154,_0x4e5b4a){return _0x1c61ac(_0x407fc3,_0x25d2d2-0x132,_0x489154- -0x523,_0x4e5b4a-0x1a6);}return normalizeLocations(await _0x389503(_0x59d2ff(0x5c,0x328,0x1d0,0x267),textDocumentPosition(_0x27ba91)));},async 'references'(_0x35ac0c){return normalizeLocations(await _0x389503('textDocument/references',{...textDocumentPosition(_0x35ac0c),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x3d0143){function _0x14b444(_0x58dee2,_0x2c3da6,_0x23ec39,_0x4c2067){return _0x1c61ac(_0x23ec39,_0x2c3da6-0x4c,_0x2c3da6- -0x6b7,_0x4c2067-0xb7);}return await _0x389503(_0x14b444(-0xdb,-_0x4340e3._0x898b12,0x3e,-0x18d),textDocumentPosition(_0x3d0143))??null;},async 'documentSymbol'(_0x8b3a82){function _0x251b7a(_0x5de275,_0x141e72,_0x17daf0,_0x2228f5){return _0x5ae650(_0x5de275-0x11e,_0x141e72-_0x141278._0x78e7d6,_0x2228f5- -0x415,_0x5de275);}return await _0x389503(_0x251b7a(-_0xa081d0._0x4d781d,-_0xa081d0._0x537c75,0x1de,0x144),{'textDocument':{'uri':uriForPath(_0x8b3a82)}})??[];},async 'workspaceSymbol'(_0x4463a6){return await _0x389503('workspace/symbol',{'query':_0x4463a6})??[];},async 'implementation'(_0x176dc0){return normalizeLocations(await _0x389503('textDocument/implementation',textDocumentPosition(_0x176dc0)));},async 'prepareCallHierarchy'(_0x4f1481){function _0x3368b4(_0x4b8b56,_0x4dbd26,_0xdd1d99,_0xcfc7d0){return _0x5ae650(_0x4b8b56-0x10f,_0x4dbd26-_0x9ffe99._0x4aaccf,_0xdd1d99- -_0x9ffe99._0x33eec3,_0x4dbd26);}return await _0x389503(_0x3368b4(0x292,_0x5a1dc1._0x25a008,0x2dd,0x27f),textDocumentPosition(_0x4f1481))??[];},async 'incomingCalls'(_0x14b54f){const _0x51a6cd={_0x57af92:0x10d,_0x523936:0xc0};function _0x330351(_0x34cbb0,_0x216e96,_0x59845f,_0x123cbe){return _0x5ae650(_0x34cbb0-_0x51a6cd._0x57af92,_0x216e96-0xe1,_0x123cbe- -_0x51a6cd._0x523936,_0x59845f);}return await _0x389503(_0x330351(_0x5bbb8a._0x257da2,0x73b,0x411,_0x5bbb8a._0x5b14eb),{'item':_0x14b54f})??[];},async 'outgoingCalls'(_0x3b1ebc){function _0x2c57af(_0x49a47f,_0x4193d2,_0x4472cf,_0xf00ed5){return _0x5ae650(_0x49a47f-0xba,_0x4193d2-_0x3897df._0x33ce55,_0x4472cf- -_0x3897df._0x3d728a,_0xf00ed5);}return await _0x389503(_0x2c57af(0x52a,_0x119772._0x24621c,0x400,0x442),{'item':_0x3b1ebc})??[];}},'waitForDiagnostics'({path:_0x4a3314,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x26ed44={_0x23d552:0x511,_0xbad869:0x2f0,_0x130903:0x154,_0x2ce9b3:0x32a},_0x3be588={_0x228893:0x4ef,_0x4cb3fc:0x342,_0x48266f:0x340,_0x539290:0x48f,_0x428002:0x596,_0x1fec61:0x692,_0x811382:0x10,_0x29b40b:0x1bd},_0x4634f3={_0x26fafc:0x12a,_0x498a70:0x185},_0x235b2b=uriForPath(_0x4a3314);function _0x50fb45(_0x32a3d6,_0x3f4066,_0x5c45eb,_0x3d290f){return _0x5ae650(_0x32a3d6-_0x4634f3._0x26fafc,_0x3f4066-_0x4634f3._0x498a70,_0x5c45eb- -0x493,_0x32a3d6);}if(_0x115c3c[_0x50fb45(_0x51d4f0._0x2df2e7,0x2a5,0x12c,0x74)](_0x235b2b))return Promise['resolve']();return new Promise(_0x598580=>{const _0x51033f={_0x390a94:0x1cb,_0x5bea9f:0x185},_0x5db2c1=setTimeout(()=>{const _0x3559c1={_0x50b2b4:0xea},_0x258900=_0x1098b3[_0x270a6e(0x544,_0x3be588._0x228893,0x555,_0x3be588._0x4cb3fc)](_0x235b2b);function _0x270a6e(_0x4ca14c,_0x45e5ab,_0x446a6a,_0x3cb718){return _0xa933(_0x45e5ab- -0x99,_0x3cb718);}_0x258900?.[_0x404018(0x503,_0x3be588._0x48266f,_0x3be588._0x539290,0x2a6)](_0x583478);function _0x404018(_0x5a0752,_0x50d24b,_0x45b3ef,_0x3c4024){return _0xa933(_0x50d24b-_0x3559c1._0x50b2b4,_0x5a0752);}if(_0x258900?.[_0x404018(_0x3be588._0x428002,0x528,0x47b,_0x3be588._0x1fec61)]===0x0)_0x1098b3[_0x270a6e(_0x3be588._0x811382,_0x3be588._0x29b40b,-0x29,0x33e)](_0x235b2b);_0x598580();},timeoutMs),_0x583478=()=>{clearTimeout(_0x5db2c1),_0x598580();},_0x1a3ca4=_0x1098b3['get'](_0x235b2b)??new Set();_0x1a3ca4[_0x5f082a(0x49c,_0x26ed44._0x23d552,_0x26ed44._0xbad869,0x5c1)](_0x583478);function _0x1575f0(_0x49e41d,_0x220ab8,_0x243608,_0x4fb20e){return _0x50fb45(_0x243608,_0x220ab8-0x155,_0x220ab8-0x269,_0x4fb20e-0x137);}function _0x5f082a(_0x163294,_0x49fdfa,_0x37a7ac,_0x46b6fb){return _0x50fb45(_0x37a7ac,_0x49fdfa-_0x51033f._0x390a94,_0x163294-0x479,_0x46b6fb-_0x51033f._0x5bea9f);}_0x1098b3[_0x1575f0(_0x26ed44._0x130903,0x31b,0x21f,_0x26ed44._0x2ce9b3)](_0x235b2b,_0x1a3ca4);});},async 'shutdown'(){const _0x204d85={_0x5aeb76:0x81};if(_0x250144)return;_0x250144=!![];function _0x15a747(_0x36b8fa,_0x30cb50,_0x50ea50,_0x3e7e8d){return _0x1c61ac(_0x36b8fa,_0x30cb50-0xf2,_0x30cb50- -_0x2a3c84._0x55975a,_0x3e7e8d-_0x2a3c84._0x3bfa1a);}function _0x22fe99(_0x36bd4b,_0x52e659,_0x1eec5b,_0x507414){return _0x1c61ac(_0x52e659,_0x52e659-0xe3,_0x1eec5b-0xa3,_0x507414-_0x204d85._0x5aeb76);}try{await _0x389503(_0x22fe99(0x7f7,0x9e2,0x83c,_0xbbc822._0xca86ea),null),_0x57f816[_0x22fe99(0x7b0,_0xbbc822._0x5e08a1,0x8c3,0x8d7)](_0x22fe99(_0xbbc822._0x3a9cd2,_0xbbc822._0x5b7f28,_0xbbc822._0x1c27d8,0x5db));}catch{}finally{_0x57f816[_0x22fe99(_0xbbc822._0x5ace91,0x860,_0xbbc822._0x344039,_0xbbc822._0x226174)](),_0x28dec5[_0x15a747(_0xbbc822._0xcac454,0x6d8,0x561,0x795)][_0x15a747(0x882,_0xbbc822._0x4018b3,0x614,_0xbbc822._0x2b48f2)]['kill']();}}};return _0xd659f0;}import{spawn as _0x4203a1}from'child_process';import{access as _0x15bf01}from'fs/promises';import _0x10da83 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x33177b from'os';import _0x348930 from'path';import _0x3d7b35 from'which';var installPromises=new Map();function sanitizePackageName(_0x16a705){return _0x16a705['replace'](/^@/,'')['replace'](/[/]/g,'__');}function binaryNameForPlatform(_0xb6a623){const _0xfba52f={_0x4d4143:0x184,_0x3ab807:0xf0,_0x24d825:0x1ba,_0x1f2ce8:0x62,_0x3fcd6d:0xe5,_0x2e4580:0x660,_0x1fd36f:0x749,_0x11a376:0x766,_0x41de5f:0x525},_0x151750={_0x21dc80:0x1e0,_0x4ad827:0x68},_0x164356={_0x444e6c:0x16b};function _0x37921c(_0x4b799a,_0x201ed8,_0x453eb5,_0x35f666){return _0x5885dd(_0x4b799a-_0x164356._0x444e6c,_0x35f666,_0x453eb5-0x1af,_0x4b799a-0x240);}function _0x188a05(_0x56c9c5,_0x157cdc,_0x4de459,_0x501f6f){return _0x5885dd(_0x56c9c5-_0x151750._0x21dc80,_0x56c9c5,_0x4de459-_0x151750._0x4ad827,_0x4de459- -0x257);}return process[_0x188a05(0x1d3,_0xfba52f._0x4d4143,_0xfba52f._0x3ab807,_0xfba52f._0x24d825)]===_0x188a05(-_0xfba52f._0x1f2ce8,-_0xfba52f._0x3fcd6d,-0x26,0xea)?_0xb6a623+_0x37921c(_0xfba52f._0x2e4580,_0xfba52f._0x1fd36f,_0xfba52f._0x11a376,_0xfba52f._0x41de5f):_0xb6a623;}function _0x5a62(){const _0x2c2a5d=['DxnLCM5HBwu','zxjYB3i','igj5DgvZks4','AxngAw5PDgu','u0HfteW','zNjLzxPL','A2LSBfjLCxvLC3rLza','BgLUzv9UDw1Izxi','Bwf4q29Uy3vYCMvUDa','B2zM','igLZig5VigXVBMDLCIbHDMfPBgfIBguGka','C2HHmJu2','C3rHCNrmAw5L','Ahr0Chm6','r3jLCa','ChjVy2vZCW','Dg9KB3m','u25HChnOB3qGDgfNia','Aw52ywXPzf9Yyw5Nzq','Dw5PB24','BwnWlxjLCxvLC3qTDgLTzw91Da','A2v5CW','rvnsq0G','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','y29TBwfUza','C3bSAwnL','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','l3vZCI9SB2nHBc9IAw4VCMC','ChjVCgvYDgLLCW','B2jZzxj2yxrPB25Z','z2L0qNjHBMnO','tuLnrtOG','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','C3bHD24','q29TBwfUzcaN','BhnWlxbYB3H5','Aw52ywXPzf90B2rVx3n0yxr1CW','yMLVBwu','qxv0Ag9YAxPHDgLVBG','DgfN','lNDLyNa','C3vJy2vZCW','lMDPzG','Dw5ZzwvUx2XPBMvZ','Aw1Hz2uVCg5N','lMPWzW','zgLZy292zxj5','r09pr0Xfx0ntrv9dwa','C2v2zxjPDhK','igzHAwXLzc4','mtK4lJe4lJaUma','yNL0zxm','u25HChnOB3qGzM9Yia','Cgf0DgvYBIbPCYbYzxf1AxjLza','qw4GAw5Zzxj0Aw9UihrHCMDLDhmGysbNyxaGC3rYAwn0BhKGAw5ZAwrLigeGCMvWBgfJzwqGB3iGzgvSzxrLzcbYyw5Nzs4','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','zMLSzvzLCNnPB25Z','CNnZ','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','AxnbyNnVBhv0zq','qxqGBgvHC3qGB25LigfUy2HVCMvKig9WzxjHDgLVBIbPCYbYzxf1AxjLzc4','tgLUzsbUDw1IzxjZig11C3qGyMuGCg9ZAxrPDMuGC2fMzsbPBNrLz2vYCZSGz290ia','B2XKvgv4Da','Bw9KzwXuAwvY','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','xqPgAwXLihDYAxr0zw4GyxqG','A2LUza','AxnfBMfIBgvK','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','DgfNrM9YrgLNzxn0','ywXSu2v0DgXLza','tM8GCMvZDwX0CYbMB3vUzc4','Aw1Hz2vZ','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','Cgf0Aa','ig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYihbHDgnOlG','CMvMAw5L','yNvUlMXVy2TI','zMLUzfjLzMvYzw5Jzxm','Aw5ZDgfSBa','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','AwzYyw1L','DxrTx3nVDxjJzq','BgLZDgvU','AM9PBG','C2H1DgrVD24','Aw5PDgLHBgL6zwq','uMuTCMvHzcb0AguGCMvXDwLYzwqGBgLUzxmGD2L0AcbgAwXLuMvHzcbHBMqGCMv0CNKGD2L0Acb0AguGzNjLC2GGDgfNlG','B3rOzxi','C2vUza','Ag9ZDa','iYmGu2TPBgW6ia','igj5DgvZ','BMv3u3rHCNrmAw5L','cMbGya','w1jfrefdvevexq','Dgv4DerVy3vTzw50l2rPzenSB3nL','ygbG','mtGYnZeYotzZy3nVvg0','zxH0zw5ZAw9UCW','BM90lwzVDw5K','BMfTzq','CgfYC2vjBNq','y2fSBfrVB2W','zxHPDenVzgu','zwzMB3j0','l3vZCI9IAw4VCMC','CMvXDwvZDgvKtw9KzwXuAwvY','yM94zwq','z2v0u3rHDhm','CMLWz3jLCa','BNbT','y2XPzw50CW','D2HLCMuGCMC','CMvZzxq','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','C3rHCNrLzef0','DhjHBNnMB3jTCW','yMLVBwuUANnVBG','BgLTAxq','C2HPzNq','BxrPBwvnCW','Ahr0Ca','B25uzxjTAw5HBevYCM9Y','C2vSzwn0B3i','B3bLBKzPBgvZ','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','Bwf4rw50CMLLCW','yMLVBwuUANnVBMm','lMnQCW','igj5DguTAwrLBNrPy2fSlG','zw9S','DgvYBwLUyxrPBMC','vg90ywWGyxv0Ag9YzwqGCMvWBgfJzw1LBNqGy29UDgvUDcbTDxn0igjLigf0ig1VC3qG','BgLUzxm','vg9KBYa','Cg93zxjMDwW','uxvLC3rPB24G','zMLSzvbHDgG','Bg9HzfnRAwXS','Aw52ywXPzf90B2rVx2L0zw0','ywDLBNrZ','v2vIrMv0y2G','zw5KtgLUzq','BM93','zgvMyxvSDfrPBwvVDxrnCW','CxvLC3rPB24T','DgLTzw91De1Z','zw5NAw5L','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','phn5C3rLBs1Yzw1PBMrLCJ4','zMfZDa','zM9Yy2vszxf1zxn0zwq','l2jPBI9IyxnO','C3rHBgvFC25HChnOB3q','yMfZzw5HBwu','zxjYB3jZ','zNvSzMLSBgvK','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','CMvZzxroB0nOyw5Nzq','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','Aw5JBhvKzxm','rxjYB3i','C3rYAw5N','sw52ywXPzcbVDxrWDxrszwDLEdOG','ue9tva','zgLZy292zxi','A2LSBa','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','lu5VuhjVzMLSzq','qvbjx0Tfwq','Aw1Hz2uVz2LM','zxHPDcbJB2rLia','C2v0DgXLvgvYBwLUywW','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','B3bLBMnVzguTz28','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','lMPWzwC','u0HfteXpufrt','B3bLCMf0Aw9U','yw5ZAti1nG','BgfUzW','DgfPBhm','CMvZB2X2zq','y29UDgv4DeXPBMS','zMfPBgvK','ndqWnZu0C1LAuhL2','yxnJAwK','ChjLChjVy2vZCW','C3rYAwn0','yxjNCW','AhjLzG','zgvLChnLzwS','yMvHCMvY','BMv3rw5KtgLUzq','ls1MB2XSB3C','y2fSBeLK','yxr0CG','z29uB0rLzMLUAxrPB24','C2vZC2LVBG','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','CgXHAw4','Aw5WDxq','y2vPBa','ig1HDgnO','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','CMvXDwLYzwrmAw5LCW','sw5MB3jTyxrPB24','y2HHCKnVzgvbDa','vg9WAwmGC2v0ihrVici','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','yMLUzfnLC3nPB24','qMfZzsbKAxjLy3rVCNK6ia','CMvWBgfJzsbYyw5NzsbB','Aw5WDxrty2HLBwe','zgvMyxvSDe9WDgLVBG','C3bSAxq','C2vUze5VDgLMAwnHDgLVBG','DgvYBwLUywXqCM9TAxnL','zw52','yMLUza','zw5JB2rL','yw5ZD2vYCW','Bw9KzwW','Aw52ywXPzf9WyxrJAa','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','uMvXDwvZDfrPBwvVDxq','AxntEw1IB2XPy0XPBMS','CMvSzwfZzuj5DgvZ','z29Vz2XLq3nLq3G','BM9Uzq','B2jQzwn0','z3jHy2vMDwW','yMLYDgH0Aw1L','DhnZzxj2zxiUANm','AgvHzgvY','C3rYAxbbBNnP','Dg9Rzw4','ugf0y2GGBxvZDcbIzwDPBIb3AxrOigeGw1bbveGJvefhxsbOzwfKzxiU','DgHLBG','yxv0Ag9YAxPHDgLVBL9JB2rL','DxrTx3rLCM0','CMCUzxHL','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0ig5VDcbJB250ywLUignHCNjPywDLihjLDhvYBNmU','BgLI','B3bLBG','yxr0ywnO','BgLUzu51Bq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','Aw5Zzxj0ignVBNrLBNqGBxvZDcbIzsbHihn0CMLUzY4','sw52ywXPzcbZDhj1y3r1CMvKiezPBgvfzgL0igLUChv0oIa','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','Bw9Kzq','zxzLCNK','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','Aw5JBhvKzq','B3v0Chv0','igzHAwXLzcb0BYbJBg9Zzq','lu5Vtg9NBW','Dw5RBM93BL9ZBMfWC2HVDdOGvw5HyMXLihrVihjLywqG','yMvMB3jL','ru5pru5u','igfUy2HVCMvKig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYigvKAxqU','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','zgvSzxrLigvUzeXPBMu','CMvKDwnL','Dg91y2HgAwXL','Aw52ywXPzf90B3bPyW','CMvNAxn0zxjby3rPDMvbz2vUDa','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','C2HLBgXqyxrO','ignVBxbSzxrLzc4','icHWAwqG','mtrQzhn1CfK','ls0T','BwnFy2LK','C3rHBgvFC25HChnOB3q6iezPBguG','ig11C3qGyMuGysbWB3nPDgL2zsbZywzLigLUDgvNzxi7igDVDca','y29UDgv4Da','BhnWu2vYDMLJzq','DxrTx2nVBNrLBNq','CMvWBgfJzs5LBMrmAw5L','zg9JDw1LBNrtEw1IB2W','CMvXDwvZDfrPBwvVDxrnCW','AhLKCMf0zu1LDge','vMfSAwrHDgvKia','lMPZB24','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','z2v0','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB2jZzxj2yxrPB25ZlG','qMvHCMvYia','Dw5RBM93BG','zxHLyW','CMvWBgfJzq','C2fMzq','CMvZDwX0CW','zgvMyxvSDa','z2v0vg9KB3m','C3jJl3nOyxjLzc90ExbLCY50CW','zgLHz25VC3rPy3m','ig1PEgvZieXgigfUzcbduKXgigXPBMuGzw5KAw5NCY4','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','C2vSzwn0Aw9UuMfUz2u','ywz0zxi','DhjHAwXPBMDdAhvUA3m','D2fYBG','B3v0z29PBMDdywXSCW','s2LSBfnOzwXS','AxndB250zxH0','ugfJA2fNzxm','A2v5yMLUzgLUz3m','BwfW','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbZBMfWC2HVDc1HBMnOB3jLzcbSAw5Lig9WzxjHDgLVBNmUienHBgWGrMLSzvjLywqGzMLYC3qGDg8GB2j0ywLUihrOzsbJDxjYzw50ifTWyxrOi1rbr10GAgvHzgvYigfUzcbooIbSAw5Lig51BwjLCNm7igv2zxj5igvKAxqGCMvXDwLYzxmGDgHHDcb0ywCUifjLDxnLihrOzsbMCMvZAcaJvefhihjLDhvYBMvKigj5igeGC3vJy2vZC2z1BcbLzgL0igzVCIb0AguGBMv4DcbLzgL0ig9UihrOzsbZyw1LigzPBguSigfUzcbYzs1YzwfKig9UBhKGD2HLBIb5B3uGBMvLzcb1BNnLzw4GBgLUzsbUDw1IzxjZig9YigeGDgfNigLZihjLAMvJDgvKlIbmAw5Lig51BwjLCNmGAw4GB3bLCMf0Aw9UCYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4','igrPzcbUB3qGBwf0y2GGDgHLigLUDgvUzgvKignVBNrLBNqGywz0zxiGD3jPDgLUzY4','BM9dAgfUz2vdB3vUDgvYCW','y2XPzw50','CMvHC29U','v0vcua','Dw5ZzwvUx2XPBMvZoIb0AguGCMvXDwLYzwqGBgLUzxmGBxvZDcbIzsbVyNnLCNzLzcbIEsbgAwXLuMvHzcbIzwzVCMuGDgHLEsbJyw4GyMuGDxnLzcbHCYbLzgL0igfUy2HVCNmU','CgfZC3DVCMq','y2XPzw50x3nLy3jLDf9WB3n0','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','B2f1DgG','CgfNzw1HCa','r2XVyG','CNvUswq','CMfUzg9T','zgvUEq','Aw5PDgLHBgL6yxrPB24','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','y2HHCMfJDgvY','CgfZC3rOCM91z2G','yxjNDw1LBNroyw1LCW','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','sw52ywXPzcbvuKWGCgfYyw1LDgvY','y291BNq','zw5NAw5LCW','Aw50zxjUywXmAwzLy3LJBgu','Dg9KB3ncEvnLC3nPB24','igj5DgvZicH0B3rHBdOG','lM10CW','Dg9Rzw5Z','qxbWBgLLzca','mc4WlJa','ihrPBwvKig91DcbHzNrLCIa','zhvWBgLJyxrLx3rVzg9FAwrZ','y29KzvzLCMLMAwvY','y3jSzG','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','BM9Kzv9TB2r1BgvZ','B3jPz2LUywW','zMv0y2HjBxbS','B2C6DxbKyxrLzf90Aw1L','yxnZAwDU','B25szwrPCMvJDa','zxnJyxbL','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','B2XSyw1H','y2XVC2vbBgW','BgLTAxrZ','zgnZ','oIbPBNzHBgLKihn0yxr1CW','rM91BMqG','yMXVy2TZ','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','C2H1DgrVD25tDgfYDgvK','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','C29YDa','Dg90ywXqCM9KDwnLza','C3rKB3v0rgvJB2rLCG','CNvUrxHJBhvZAxzL','B2XKrw5KtgLUzq','lunVBw1HBMq','AwDUB3jL','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','uMvHzcb0AguGBMv4DcbYyw5Nzsb3AxrOigXPBMvtDgfYDdOG','revfufnfruTFqvbjx0Tfwq','vw5HyMXLihrVihjLywqG','C2XPy2u','Aw52ywXPzf90B2rVx2nVBNrLBNq','CMvXDwLYzwq','y3DK','zhj5uNvU','rMLSzsb3CML0DgvUigf0ia','CMvSzwfZzufNzw50uMvZB3vYy2vZ','AxnfCNjVCG','ls1NBg9Ipq','B3zLCMXHChbPBMDFB3bLCMf0Aw9UCW','yM9T','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','yw5UB3rHDgLVBNm','sw52ywXPzcbHz2vUDcbTB2rLBcbZzxqGBMfTzq','zw5HyMXLza','r0Lusfvcx1rps0vo','sw52ywXPzcbiyxnOBgLUzsbgAwXLrwrPDcbPBNb1DdOG','C2vZC2LVBKLK','B2jZzxj2zwrmAw5LCW','D2HPy2GGCMC','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','tNv2Aw4','C3rYzwfTC0zSDxnOzwq','B3jPz2LUvg9VBenHBgXjza','DgLTzvTKyxrLDgLTzv0','lNbUzW','DgfZA2TPBgW','Bw9KzwXjzgvUDgL0Eq','Bwf4u25HChnOB3rcExrLCW','C3vWzxjszwzPBMu','wKfjx0fqsv9lrvK','Ag9TzwrPCG','Dhj1zq','DgvYBwLUywXtzxr0BgvK','q29Tu3bLyW','uMvHC29UAw5NigrLzMf1BhqGiG','mJqWlJaUmc4W','Dg9VBhm','ywrK','AhrTBfnUAxbWzxq','AMf2yxnJCMLWDa','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','ANnVBMm','mty5lJi1nc4WlJa','BgLZDfrVB2XZ','CM9VDa','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','ktSGDxnLigv4ywn0ihjLCgXHy2vTzw50icHgAwXLrwrPDcb3AxrOig9SzfrLEhqVBMv3vgv4DcKGAw5ZDgvHzc4','tM8GAg92zxiGAw5MB3jTyxrPB24','Dg9mB3DLCKnHC2u','Axnoyu4','BwLU','yw1IAwD1B3vZx3nUyxbZAg90x3rHzW','lMPZB25J','BgLUzvn0yxj0','C3rHCNrZv2L0Aa','ywDLBNrnB2rLBfnLDa','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','Aw5Zzxj0ihbVC2L0Aw9Uig11C3qGyMuGj2jLzM9YzsCGB3iGj2fMDgvYjY4','ktSGBM8GCM9SBgjHy2SGD2fZihbLCMzVCM1Lzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','D3jPDgvFzMfPBgvK','CMvSzwfZzq','Aw5qCM9NCMvZCW','y29ZDa','BwnWxW','zgvSzxrLq291BNq','C3LTBgLUAW','lM51DMLUlwnVzgu','Dgf2AwX5qxbPs2v5','zMLSDgvY','DgvYBwLUyxrL','CM93CW','ktSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','Cg9ZDf93CML0zv9KCMLMDdOGrMfPBgvKihrVihzLCMLMEsa','C2vHCMnOrgvWDgG','yxv0Aa','C3rHDgu','CMvWBgfJzsbLBMrmAw5L','xsbPCYbWyxn0ihrOzsbLBMqGB2yGDgHLia','sfruuca','igLZia','zMvUy2vK','C3rHDhvZ','CMvJB3jKtM9dAgfUz2u','zgvSAxzLCMvK','BgL0zxjHBa','ChjVDg90ExbL','C2vYDMvYtMfTzq','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','zM9VDgvY','zgfZAa','mZqWnZm2neHJy1zyAW','Cgf0Ag5HBwu','l29WDc9OB21LyNjLDY9IAw4VCMC','CgfJA2fNzs1SB2nRlMPZB24','Dhj1BMnHDgvK','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','C3jJl2fNzw50l2fNzw50lNrZ','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','vg9KB1DYAxrL','Aw5KzxHpzG','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','zg9TywLUCW','v2vIu2vHCMnO','DgvYBwLUyxrPB25qCM9TAxnL','yw5ZAte2','mZqYoti0mg5hvMX3ua','C2nVCgvZ','BgfUz3vHz2u','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','C291CMnLrw5K','D3jPDgu','Aw1WBgvTzw50yxrPB24','zMLSztOVlW','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','Aw5Zzxj0igXPBMu','ChvZAa','BwfYA2rVD24','zg5Zl3bYB21PC2vZ','igv4y2vLzhmGDgHLihnHzMuTAw50zwDLCIbYyw5Nzs4','ie9sia','DMfSDwvZ','lI4U','Bwf4uMvKAxjLy3rZ','qw5JAg9YzwqGCMvWBgfJzs9KzwXLDguGC291CMnLihjHBMDLCYbVDMvYBgfWlG','y29UDgvUDhm','AxntywzLsw50zwDLCG','yxnR','yMLUyxj5tMfTzq','zgvSzxrLihjHBMDLifS','zgf0zvjLC3rYAwn0','DgfZAW','igLZigfTyMLNDw91CYbMB3iG','igzYB20G','Bwf4ugf0Ahm','BxmU','C291CMnLu3rHCNq','C3vIyxjYyxK','ls1MAwXLCW','Bwf4','t1bftKnprevFqvbjx0Tfwq','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','B2zMC2v0','u3rVCdOGmYbJB25Zzwn1DgL2zsbPzgvUDgLJywWGBM8TB3aGzwrPDhmGzM9YihrOAxmGCgf0AcbHBMqGCgf5Bg9Hzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigjLzM9YzsbYzxrYEwLUzY4','CxvLC3rPB25Z','Bwf4vMvYC2LVBNnqzxjqyxrO','ig11C3qGyMuGB2jZzxj2zwqGyNKGrMLSzvjLywqGyMvMB3jLigL0ignHBIbIzsb1C2vKigfZigfUigvKAxqGyw5JAg9YlG','C2vYDMvYswq','AxnbCNjHEq','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','BwvKAxvT','y2HPBgq','y3jLyxrLzef0','Bg9HzenVBw1HBMq','tM8GzgLHz25VC3rPy3m','y3nP','mtu2nJK3rhnPyw16','zNvUy3rPB24','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','D2LUmZi','zgvSzxrL','zw5K','BNv2Aw4','BhnW','ls1ZDgrPBW','C2TPBgXZ','l2jPBI9ZAa','zxHPDgvK','mtaWlJy0lJaUma','CMvZDwX0','rMv0y2GGywjVCNrLzcbIEsb1C2vY','zgLZCgXHEwvKtgLUzxm','z2nSAwq','zgvUBY5QC29UyW','qxnRvxnLCLrVB2W','Dg9tDhjPBMC','Bwf4qNL0zxm','tM8GBg9JyxrPB25ZigzVDw5K','oIbPBNzHBgLKihbYAw9YAxr5','y29UBMvJDa','C2v0','y2XPzw50twv0ywrHDgfvCMW','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','Aw5PDgLHBgL6zq','u0Lhs0Lmta','yxbWzw5KrgvJB2rLza','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','Dg90ywW','DhjPBuvUza','y29UDgvUDc10ExbL','y2fWq2HHCNm','Bg9VA3vW','lNrZEa','u3rHCNrLzcbHz2vUDcbYDw4G','CxvLCNK','y2fJAgvK','lIbuAguGD3jPDguGzgLKig5VDcbSyw5KoYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGyw5KihjLDhj5lG','Aw5FChjVz3jLC3m','z2fW','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','Dg90ywXeCM9WCgvK','z29Vz2XLq3nLs2v5','BhmGlwXH','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','uhjVz3jHBuzPBgvZ','zgvSzxrLihn0yxj0tgLUzsbTDxn0ig5VDcbLEgnLzwqGzw5KtgLUzs4','z2L0AhvI','CMvTB3zLrxzLBNrmAxn0zw5LCG','CMvXDwvZDhm','u0Lhvevstq','zM9Yy2u','igj5DgvZoYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','mc4WlJaUma','Aw50','C3rKzxjYtM9YBwfSAxPLCG','ChjVy2vZC0DYB3vWswq','ywXS','igzVCIbHBIbHBMnOB3jLzcbZBMfWC2HVDcaO','C2LNBMfS','CMvUzgvYu3LZDgvTuhjVBxb0','vw5RBM93BIb0B29SoIa','Bxv0yxrPB25Z','nJu2nZy4oevnr3jKtG','zxHHy3q','CMvWBgfJzs5ZDgfYDeXPBMu','C2fMzvbHCNnL','oYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGzMLYC3qU','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','z29Vz2XLlwnZzq','C3rVCMfNzurPCG','B25JBg9Zzq','ywnXDwLYzuj5DgvZ','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','ChjVDg9JB2W','y29TCgXLDgvK','A2v5','BNvT','rMLSzuvKAxq','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','zgLYzwn0B3j5','w291Dhb1Dcb0CNvUy2f0zwq6ia','DhLWzq','lNrTCc4','B25LCNjVCG','z2XVyG','ugf0AcbPCYbUB3qGysbMAwXLoIa','yNvMzMvY','t1bftKfjx0fqsv9lrvK','Dg9VBe5HBwu','Dgv4DerVy3vTzw50l2HVDMvY','B2XKu3rHCNrmAw5L','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','zgvSzxrLlMvUzeXPBMu','r09pr0Xfx0ntrv9lrvK','Ec1HCgKTA2v5','Aw1Hz2uVD2vICa','ANnJB25MAwCUANnVBG','zxH0BMfTzq','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','ihDHCYbHBhjLywr5ia','CMvXDwvZDa','zNjVBuvUDhjPzxm','v2fYBMLUzW','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','Dg90ywXcExrLCW','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','BwLUAw1HBa','ywrKsxnZDwu','thnW','ihrVB2WGy2fSBcbMywLSzwq','C2v0vg9WAwm','B3v0Chv0uMvNzxG','y291BNrLCG','zMLYC3q','Dg9VBa','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','ywX3yxLZlwnVBMzPCM0','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLig9UBhKGAw4GDgHLihnHBwuGCMvZCg9UC2uGyxmGCMvHBcb3B3jRicHYzwfKlcbNCMvWlcbLzgL0lcbIyxnOlcbMzxrJAcKUie5LDMvYihnLBMqGysbYzxnWB25Zzsb3Ag9ZzsbVBMX5ihrVB2WGy2fSBcbPCYbuB2rVv3jPDguUierVig5VDcbVCgvUigeGDhvYBIb3AxrOigL0lIbeBYbUB3qGywrKigeGD3jHCc11CcbJywXSigfMDgvYihrOzsbWCM92Aw5NihrLC3qGB3iGyNvPBgqGAxmGz3jLzw4UcGPtA2LWigL0igzVCIbJB252zxjZyxrPB25HBcbXDwvZDgLVBNmSigeGC2LUz2XLihn0CMfPz2H0zM9YD2fYzcb0yxnRlcbVCIbHihnOB3j0igzSyxqGC2vXDwvUy2uUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4GvxbKyxrLig9UBhKGyxqGBwvHBMLUz2z1BcbTAwXLC3rVBMvZlcbPBIb0AguGC2fTzsbYzxnWB25ZzsbHCYb0AguGD29YAYb0Agf0ignOyw5NzwqGDgHVC2uGC3rHDhvZzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGzMLUAxnOzwqGAxrLBxmGy29TCgXLDgvKigfUzcbZzxqGDgHLig5LEhqGBwLSzxn0B25LigLUx3bYB2DYzxnZihrVz2v0AgvYlGOTierVig5VDcbJywXSifrVzg9xCML0zsbHzNrLCIbLDMvYEsb0B29SignHBgWSig1PBM9Yihn1yNn0zxaSig9YihbYB2DYzxnZig1LC3nHz2uUcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcbVCIb2zxjPzMLJyxrPB24GzMfPBhmUifjLDMLZzsbPDgvTCYbVBMX5ihDOzw4GDgHLihbSyw4GBwf0zxjPywXSEsbJAgfUz2vZlGOTifbYzxnLCNzLigL0zw0GsurZigfUzcbPBMnSDwrLihrOzsbMDwXSign1CNjLBNqGBgLZDcbPBIbLDMvYEsb1CgrHDguU','Cg9ZDf93CML0zv9KCMLMDa','ChjLzML4','y2fUB25Py2fS','uMvHC29UAw5Nig9WDgLVBIaI','z29uB0LTCgXLBwvUDgf0Aw9U','CMvZB2X2zvrLCM1PBMfS','D2fPDezVCKrPywDUB3n0AwnZ','zgvUBY5QC29U','BgLMzwn5y2XL','BwnWlxrYyw5ZCg9YDc1LCNjVCG','B3bLCMf0Aw9UCW','vgHLigzPBguGywXYzwfKEsbTyxrJAgvZihrOzsbPBNrLBMrLzcbYzxn1Bhq7ig5VihDYAxrLihDHCYbTywrLlIbszs1YzwfKihDPDgGGrMLSzvjLywqGyMvMB3jLihjLDhj5Aw5NlG','BxvSDgLtzwXLy3q','Dg91y2HqyxrO','DxrMoej5DgvZ','EwfYBI5SB2nR','DgvYBwLUyxrPB25tzxr0BgvK','ls1QC29U','yNL0zuXLBMD0Aa','zMLSzxm','AgfZ','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','r0LgodLH','CMvZzxj2yxrPB25Z','oYbJB25ZDhj1y3qGD2L0AcbVyNnLCNzHDgLVBNmSig11Dgf0Aw9UCYWGyw5Kig91Dhb1Dej1zgDLDej5DgvZlG','y29TBwfUzhm','zxzPy3rjzK5LzwrLza','Dgv4Da','zxjYB3jnzxnZywDL','DxrMoa','BwLUAw1HEa','Bg9JyxrPB24','zgLZCg9Zzq','CgfJA2fNzs5QC29U','zgf0yq','D2vI','Aw5Zzxj0igXPBMuG','CgfYC2u','DMvYC2LVBNncEvbHDgG','DgL0Bgu','tgLUzsa','ywjVCNq','zgvZy3jPChrPB24','otbKvLbqtfK','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','ywXYzwfKEs10zxjTAw5HBa','ywXSB3C','ignOyxjHy3rLCNm','yxjYyxK','qMfZAa','Dg9VBenHBgXjza','y3vZDg9T','DMvYAwzPzxi','yxv0BW','BMv4DeXPBMvtDgfYDa','y2fUB25Py2fSugf0Aa','CMfJzq','CgLK','yNL0zxncEurPz2vZDa','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','AgLNAa','uKLgrG','Bwf0y2G','zgvSzwDHDgvKlxj1BI0','C25PChbLDa','y2XLyxi','zgLYBMfTzq','CMvZB2X2zwrnB2rLBeLKzw50Axr5','AgfZAgXPBMu','D2fPDezVCLrLCM1PBMfS','DhLWzxnJCMLWDa','BgLUzq','zgLZy292zxj5u3rHDgu','rw1WDhKGzMLSzxmGAgf2zsbUBYbVyNnLCNzHyMXLigXPBMuGyw5JAg9YCZSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHDcbSzwfZDcbVBMuGBgLUzs4','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','l3vZCI9IAw4VC2G','BwnWlwnSB3nLlwzHAwXLza','BM90Awz5','ywXSB3DLzerPCNm','rMfPBgvKihrVihrLCM1PBMf0zsa','zgLNzxn0','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','zgvLCgLUzNjH','BNvTyMvY','ChjLCgfYzunHBgXiAwvYyxjJAhK','Dg9VBenHBgW','yxbWzw5K','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','Aw52ywXPzf90B2rVCW','Dg9VBfjLC3vSDhm','tfnqia','AxneAxjLy3rVCNK','BxrPBwu','z2v0uhjVDg90ExbLt2y','yxnRvxnLCG','Dg9WAwm','nte4mdzpuxjPuwi','lMn0CW','zMLSzunVDw50','y29UDgvUDa','zMXHDe1HCa','BgLUzuvUza','C3bHD25PBMC','CxvLC3rPB24','C2LNBMfSqwrHChrLCG','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','BgfZDeLUzgv4t2y','ig9WzxjHDgLVBNmU','AgfZt3DU','ANnVBG','BwvZC2fNzq','B3nJ','CMvWBgfJzsbZDgfYDeXPBMuGBxvZDcbUB3qGzxHJzwvKigvUzeXPBMuU','Dg9VBc1VDxrWDxqTB2zMBg9Hza','C3rKB3v0','l1bjra','igzHAwXLzcb0BYbJB25Uzwn0','Dhj1BMm','t3b0Aw9UywWGBw9KzwWGy2fWywjPBgL0EsbVDMvYCMLKzs4Gq2HVB3nLihrOzsbSzwfZDcbJyxbHyMXLihrPzxiGywrLCxvHDguGzM9YihrOzsb0yxnRoIbGzMfZDgaG4OcuigjVDw5KzwqGBg9VA3vWlcbZzwfYy2GSihn1Bw1HCML6yxrPB24Sig9YihnPBxbSzsbSB3CTCMLZAYb3B3jRoYbGyMfSyw5JzwrGiokaLcbUB3jTywWGAw1WBgvTzw50yxrPB24SihjLDMLLDYWGzgvIDwDNAw5NlcbVCIbTDwX0As1ZDgvWihDVCMS7igbWB3DLCMz1BgaG4OcuigfTyMLNDw91CYWGAgLNAc1YAxnRlcbJCM9ZCY1JDxr0Aw5NlcbVCIb1BNvZDwfSBhKGzgLMzMLJDwX0ihjLyxnVBMLUzY4GvgLLCIbZzwXLy3rPB24GzxHWCMvZC2vZihrHC2SGCMvXDwLYzw1LBNrZig9UBhKSig5VDcbWCM92AwrLCIWGChjPy2uSig9Yigf2ywLSywjPBgL0Es4Gt21PDcbGBw9KzwXuAwvYycb3AgvUig5VigrLBgLIzxjHDguGB3zLCNjPzguGAxmGBMvLzgvKlG','Bwf0y2HLCW','D2LUzg93CW','Dgv4Dc9ODg1S','rgLHz25VC3rPyW','vw5RBM93BIbHBMnOB3jLzcbVCgvYyxrPB24GjW','yMfSyw5Jzwq','yxjNDw1LBNrZvgv4Da','yxr4','tg9HzgvKigzYB206ia','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','Dg9vChbLCKnHC2u','CMvJzw5JEurHExm','zgv0ywLS','BgfIzwW','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','Dg9ju09tDhjPBMC','CgLWzq','mtaUmc4WlJa','q0rqqvri','uhjVz3jHBuzPBgvZkhG4nIK','sgLUDa','oIbJB250zw50ihjLCxvPCMvK','Aw5JB21PBMDdywXSCW','yxbWBgLJyxrPB24VANnVBG','C2nYDwjfBNzlzxLZ','ywrKrxzLBNrmAxn0zw5LCG','CMfUz2u','yw55lwfSBg93zwq','u2HLBgWGBM90igzVDw5KoIa','DhvWBgu','Aw5JBhvKzv9KB21HAw5Z','BgLZDa','CgXHDgzVCM0','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','y2fSBgjHy2TvCMW','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','rxHWzwn0zwqGysbJyw5VBMLJywWGChjVDMLKzxiTCxvHBgLMAwvKig1VzgvSihnLBgvJDg9Y','zMLUywXnzxnZywDL','CMvNzxG','yxjNDw1LBNriAw50','BwnWlxrVB2WTy2fSBc1MywLSzwq','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','CMvWBgfJzsbJB250zw50ig11C3qGyMuGysbZDhjPBMCU','z3jHy2vMDwXszxf1zxn0zwq','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','C3rKAw8','BwfUDwfS','ls1OAwrKzw4','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','BwnFzwLK','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','B25Jzq','CNvUBMLUzW','AMf2yxnJCMLWDhjLywn0','wefjx0fqsv9lrvK','CMvHza','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','C3rKzxjYrgvJB2rLCG','CMvMCMvZAf90B2TLBG','zxf1ywXZ','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','q291BgqGBM90ihjLC29SDMuGAg9ZDa','ig9WzxjHDgLVBNmGkgrYEsbYDw47ig5VihDYAxrLks4','igfMDgvYihDYAxrPBMCGka','Bwf0y2HdB3vUDa','mtCYlJe2lJaUma','C3rYDwn0DxjLza','qwDLBNqGCNvUia','zgvMyxvSDen3za','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','yNvKz2v0vg9Rzw5Z','C291CMnL','zgvMAw5PDgLVBG','BMf2','yNjVA2vU','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','qwDLBNqGBw9KzwWGC2v0ig11C3qGBM90igjLigvTChr5','C3rHCNq','y2XPzw50sw5MB3jTyxrPB24','zgf0zxrPBwu','Agv4','C3rHBgvFC25HChnOB3q6ifvUywjSzsb0BYbYzwfKia','zMLUza','ls1NBg9IpseUz2L0lYO','DxjS','wZ0+nY04kcLD','ChvIBgLZAgvKqxq','zgLHz25VC3rPy3ngB3jgAwXL','DxjP','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','B3v0y29Tzq','qMfJA2DYB3vUzfbYB2nLC3ndBgvHBNvWrxjYB3i','mtKYlJe2oc4WlJa','v2LUr2v0','y2HHDe1VzgvS','mti3lJaUmc4W','Aw50zwDLCG','DgLTzw91DfnVDxjJzq','Dw5RBM93BL9ZBMfWC2HVDa','BgvUz3rO','C3rKB3v0tM9YBwfSAxPLCG','CgXHAw50zxH0','zw5KC1DPDgG','y29Uy2f0','tuLosu1bwf9bueLFs0vz','y29KzvbVAw50qxq','AwDUB3jLt3v0Chv0','qKftsf9ftLy','cGPbuKDvtuvovfm6ia','AxngAwXL','ywjZ','y2fWywjPBgL0AwvZ','DhvYBMrVD24','C3rHDhvZvgv4Da','yNvUlMXVy2S','Dw1HC2S','uhjVy2vZCYa','D29YA3nWywnL','Dg9Rzw5tDg9YywDLs2v5','y2XVC2u','y29UDgv4DeXPBMvZ','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','twLJCM9ZB2z0','CgvYBwLZC2LVBKnSyxnZ','tu9ptLnit1rFqvbjx0Tfwq','zMjJBgLK','zNjVBq','yMfZzty0','Bg93','ywDLBNrjza','oIbPzcbYzxf1AxjLza','y2f0y2G','CgvUzgLUzW','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','CMvZzxj2zq','C3rKzxjY','zgvZy3jPChrVCNm','ihDHCYbHyM9YDgvKlG','DhjHBNnWB3j0','Bwv0yxrHz3m','y2HTB2q','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','rgv0ywLSoIa','ls1NBg9I','tM8GC3vJAcbMAwXLoIaN','BgLUzu51BwjLCNm','Aw5ZDhj1y3rPB25Z','ygbGANnVBGO','sw52B2TLq29TBwfUza','z2v0t3DUuhjVCgvYDhLoyw1LCW','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','B3bLBMfP','lMjPBG','mtKYlJaUmc4W','yMfZAa','Bgv4AwnHBfbHDgG','DhjPBq','CgfJA2fNzu5HBwu','Aw1Hz2u','rgvSzwDHDgvKuMvZB2X1DgLVBKvYCM9Y','CMvJzw5JEq','y29Kzq','AxrLBxm','r0Lusfvcx0fdq0vtu19ut0TftG','DhjHBNnMB3jT','rMLSzvjLywq','B3v0Chv0qNvKz2v0qNL0zxm','ywjVCNrLza','tM8GC3LTyM9SCYbMB3vUza','vw5ZDxbWB3j0zwqGsgfZAgXPBMuGCM93oIa','rMLSzu5LDW','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','vw50AxrSzwq','D3jPDgvFzMfPBgvKoIbgywLSzwqGDg8GD3jPDguG','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','Cgf0DgvYBG','tunqihnLCNzLCIa','vg9Vig1HBNKGCMvKAxjLy3rZ','y29UzMLYBwvK','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','zgvSzxrLlNn0yxj0tgLUzq','zMLUAxnO','B3bLBNjVDxrLCG','C29Tzq','zw50CMLLCW','iIbPCYbYzxnLCNzLza','sw52ywXPzcbYzwDLEdOG','DhnJB25MAwCUANnVBG','Aw1Hz2uVANbLzW','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0igjLigf0ig1VC3qG','CMvSyxrPDMu','C3rHDa','BMv3tgLUzunVDw50','zMX1C2HtDhjLyw1Z','zxzPy3rmzwfZDfjLy2vUDgX5vxnLzfbHDgG','zgvWCW','rMLSzsa','CMvJB3jK','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','igj5DgvZlG','Bg9JywXLq29TCgfYzq','C2HLBgXjza','CM91DgLUzW','zgvJB2rL','Aw5Zzxj0','AgvHzgvYCW','A2LSBgvK','AgfUzgXL','zMLUAxrL','y2HHBMDL','qxqGBw9ZDca','ywXSB3DLzfrVB2XZ','B3b0Aw9UywW','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','D29YA3nWywnLu3LTyM9S','BMv3vgv4Da','ChjPB3jPDhK','CMvHzen1CNnVCG','BwnWlxnKAY1JBgLLBNqTzxjYB3i','BwnWlwnVBM5Ly3qTzMfPBgvK','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','BgLNAhq','C2v0vg9KB3m','BM9Fy2HHBMDL','s2LSBgvKia','yMCT','C2vYDMvY','CM9VDfbPza','igj5DgvZlcbLEgnLzwrPBMCGDgHLig9IC2vYDMf0Aw9Ulxn0B3jLigjVDw5Kig9Mia','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','zwrPDa','BM9Zy3jPChq','lwj5DguGyM91BMq7ig5HCNjVDYb0AguGzwrPDcbYyw5NzsbHBMqGCMv0CNKU','C25HChnOB3q','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzc4Grg8GBM90ignHBgWGvg9KB1DYAxrLigfNywLUlIbjzIb0AguGChjVDMLUzYb0zxn0ig9Yigj1AwXKigfSCMvHzhKGCgfZC2vKlcbZDg9WlGPdB21WBgv0zwqGBgLZDdOk','CMvNAw9U','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','igLZihbHC3qGDgHLigvUzcbVzIb0AguG','EgHPz2G','ihrVB2WGzgLZy292zxj5igzHAwXLza','C2L6zq','yxbPs2v5','DwX0CMe','DxrTx2nHBxbHAwDU','Dhj1zwnVBg9Y','Ag92zxi','lMnTza','Cg9ZAxrPB24','C3rYAw5NAwz5','C2vHCMnOugfYyw1Z','B3bLBMfPlxjLC3bVBNnLCW','C2vUzfjLCxvLC3q','qwXSia','qgjPB21LANmVyMLVBwu','zMLSzq','yM9VBgvHBG','zw51Bq','lNrZ','y21KlMv4zq','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','y29UzMLN','B3b0Aw9UCW','Aw52ywXPzf90B2rVx2LK','Cg5WBs1SB2nRlNLHBwW','lwXPBMuGC25HChnOB3qU','C3bSAwnLsw5KzxG','yw5JAg9YzwqTANnVBG','D3jPDgvgAwXL','DgvZDa','Dg9VBhmVy2fSBa','yw50AhjVCgLJ','igj5DgvZlcbLEgnLzwrPBMCGDgHLia','zxHPDa','DMfSDwu','yNvMzMvYq2HHCNm','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','Bwv0yq'];_0x5a62=function(){return _0x2c2a5d;};return _0x5a62();}async function exists(_0x4a5f9c){try{return await access(_0x4a5f9c),!![];}catch{return![];}}function runNpmInstall(_0x281d47,_0x731ec7,_0xd90ed8){const _0x54636d={_0xc4976:0x35f,_0x4732b5:0x53c,_0x5536e4:0x3c1,_0x33b036:0x46e,_0x43f3cb:0x370,_0x2280ba:0x5a4,_0x3376e0:0x4ed,_0x41d067:0x5d4,_0x12a22c:0x4f1};return new Promise(_0x1a5d23=>{function _0x2665d1(_0x143223,_0x1c0f63,_0xaf56f1,_0x2b0409){return _0xa933(_0x2b0409-0x88,_0xaf56f1);}const _0x2b4b9f=spawn(_0x2665d1(0x6ec,0x5a4,0x531,0x55c),[_0x2665d1(0x32b,0x41f,_0x54636d._0xc4976,_0x54636d._0x4732b5),'--prefix',_0x281d47,_0x731ec7],{'env':_0xd90ed8,'stdio':_0x3415f3(_0x54636d._0x5536e4,_0x54636d._0x33b036,_0x54636d._0x43f3cb,_0x54636d._0x2280ba)});function _0x3415f3(_0x47a94d,_0x5cf7dc,_0x182a1c,_0x10feb9){return _0xa933(_0x47a94d-0x211,_0x182a1c);}_0x2b4b9f['on'](_0x2665d1(0x60d,0x65d,0x37c,_0x54636d._0x3376e0),()=>_0x1a5d23(![])),_0x2b4b9f['on'](_0x3415f3(_0x54636d._0x41d067,_0x54636d._0x12a22c,0x662,0x691),_0x13a2a4=>_0x1a5d23(_0x13a2a4===0x0));});}function shouldDisableLspDownload(_0x363d7e=process[_0x5885dd(0x478,0x51f,0x3db,0x51f)]){const _0x35e938={_0x4aae55:0x4e9,_0x5a397c:0x337,_0x5041cf:0x281,_0x26ecec:0xe1,_0x3ab005:0x25},_0xc8f81b={_0x1bd1dd:0xff,_0x4fe44a:0x94},_0x19fafa={_0x5b7e67:0x66},_0x5a7fc5=_0x363d7e[_0x2054ad(_0x35e938._0x4aae55,0x525,_0x35e938._0x5a397c,0x38f)]?.[_0x2054ad(0xcc,0x282,_0x35e938._0x5041cf,_0x35e938._0x26ecec)]();function _0x2054ad(_0x448969,_0x4516b1,_0x1f451d,_0x57c270){return _0x5885dd(_0x448969-0x1b2,_0x448969,_0x1f451d-_0x19fafa._0x5b7e67,_0x1f451d-0xbf);}function _0x4abb7a(_0x7b2866,_0x1f997e,_0x225795,_0x5655f4){return _0x5885dd(_0x7b2866-_0xc8f81b._0x1bd1dd,_0x225795,_0x225795-_0xc8f81b._0x4fe44a,_0x7b2866- -0x296);}return _0x5a7fc5===_0x4abb7a(-0xe5,-0x1c0,-_0x35e938._0x3ab005,-0x286)||_0x5a7fc5==='1'||_0x5a7fc5==='yes'||_0x5a7fc5==='on';}function getLspPackageDir(_0x36aace){const _0x513c12={_0x4b8726:0x3c8,_0x2ef4a7:0x61,_0x5afd92:0x1be,_0x186739:0x4f,_0x1b8b36:0x186,_0x61b9a9:0x3ee,_0x41b757:0x4b9},_0x239344={_0x50a038:0x8},_0x4dc831={_0x56bb8c:0x1a5,_0xdf4dd3:0x6c};function _0xb13e43(_0x336e75,_0x34d7ec,_0x241ff6,_0x481f8b){return _0x16ac01(_0x336e75-_0x4dc831._0x56bb8c,_0x481f8b-_0x4dc831._0xdf4dd3,_0x241ff6-0x154,_0x34d7ec);}function _0x339159(_0x2d07f1,_0x1bd4d3,_0x473b84,_0x5d3003){return _0x5885dd(_0x2d07f1-_0x239344._0x50a038,_0x5d3003,_0x473b84-0x7c,_0x473b84-0x8d);}return _0x348930['join'](_0x33177b[_0x339159(_0x513c12._0x4b8726,0x3a8,0x23d,_0x513c12._0x2ef4a7)](),_0xb13e43(-_0x513c12._0x5afd92,-0x130,0xa7,-_0x513c12._0x186739),_0x339159(_0x513c12._0x1b8b36,_0x513c12._0x61b9a9,0x2c2,_0x513c12._0x41b757),'packages',sanitizePackageName(_0x36aace));}function getLspBinDir(_0xa1cd9e){const _0x2857b3={_0x42ae21:0x7eb,_0xea7e7:0x562,_0x25570c:0x72d,_0x59f35a:0x16c,_0x2df5bd:0xed,_0x1f077d:0x329,_0x42b219:0x4b2};function _0x41ac49(_0x236deb,_0x48e802,_0x11fec0,_0x572864){return _0x16ac01(_0x236deb-0x1b0,_0x11fec0-0x527,_0x11fec0-0x8d,_0x572864);}function _0x5bdbf5(_0x1e8cc7,_0x11a4c7,_0x32c14b,_0x57b110){return _0x16ac01(_0x1e8cc7-0xcd,_0x11a4c7-0x1f7,_0x32c14b-0x195,_0x57b110);}return _0x348930[_0x41ac49(_0x2857b3._0x42ae21,_0x2857b3._0xea7e7,_0x2857b3._0x25570c,0x5fb)](getLspPackageDir(_0xa1cd9e),_0x5bdbf5(_0x2857b3._0x59f35a,0xdc,0x13a,_0x2857b3._0x2df5bd),_0x5bdbf5(0x2ac,_0x2857b3._0x1f077d,0x278,_0x2857b3._0x42b219));}async function findPackageBinary(_0x5ee795,_0x4108f5){const _0x5ac857={_0x487628:0x347,_0x105a75:0x3ac,_0x3a885a:0x201,_0x5b4146:0x174,_0x2b69a0:0x793,_0x160ab1:0x52c,_0x274a36:0x6b4,_0x4c6e02:0x67f,_0xe1af0d:0x56b},_0x476e1e={_0x92b29b:0x1a6,_0x57fd96:0x17d},_0x471666={_0x53a1a2:0x27c};let _0x3f5ed1=_0x348930['resolve'](_0x4108f5);const _0x170091=binaryNameForPlatform(_0x5ee795);function _0x5db6ad(_0x366a96,_0x8cc489,_0x56b8b6,_0x322ecd){return _0x5885dd(_0x366a96-0xa5,_0x8cc489,_0x56b8b6-0x153,_0x322ecd-_0x471666._0x53a1a2);}function _0x5e2b6b(_0x3ef8c7,_0x40887f,_0x364ea6,_0x2f8a7c){return _0x16ac01(_0x3ef8c7-0xa5,_0x364ea6-_0x476e1e._0x92b29b,_0x364ea6-_0x476e1e._0x57fd96,_0x40887f);}while(!![]){const _0x5a41aa=_0x348930[_0x5e2b6b(_0x5ac857._0x487628,0x32f,_0x5ac857._0x105a75,0x228)](_0x3f5ed1,_0x5e2b6b(-0x160,_0x5ac857._0x3a885a,0x8b,-_0x5ac857._0x5b4146),_0x5db6ad(_0x5ac857._0x2b69a0,_0x5ac857._0x160ab1,_0x5ac857._0x274a36,0x63d),_0x170091);if(await exists(_0x5a41aa))return _0x5a41aa;const _0x153dfb=_0x348930[_0x5db6ad(0x4d9,0x445,_0x5ac857._0x4c6e02,_0x5ac857._0xe1af0d)](_0x3f5ed1);if(_0x153dfb===_0x3f5ed1)return void 0x0;_0x3f5ed1=_0x153dfb;}}async function findPathBinary(_0xa14388,_0x20ef5a){const _0x4fa309={_0xfbcacb:0x4a6},_0x2aa6f7={_0x3062a1:0x19a,_0x30ce47:0xe,_0x27d38a:0x165},_0x56adb7={_0x220cc7:0x8a},_0x6f4d0c=getLspBinDir(_0x20ef5a),_0xb2d8b8=[_0x6f4d0c,process[_0x52bd02(0x45b,_0x4fa309._0xfbcacb,0x18b,0x31a)]['PATH']][_0x5d4cf8(0x32c,0x212,0x33b,0x268)](Boolean)['join'](_0x348930['delimiter']);function _0x52bd02(_0x266d41,_0x2ddd5,_0x28a008,_0x586424){return _0x16ac01(_0x266d41-0x14f,_0x586424-_0x56adb7._0x220cc7,_0x28a008-0xfa,_0x266d41);}function _0x5d4cf8(_0x74f30,_0x1a3e70,_0x464eeb,_0x35457c){return _0x5885dd(_0x74f30-_0x2aa6f7._0x3062a1,_0x74f30,_0x464eeb-_0x2aa6f7._0x30ce47,_0x464eeb-_0x2aa6f7._0x27d38a);}try{return await _0x3d7b35(_0xa14388,{'path':_0xb2d8b8});}catch{return void 0x0;}}async function resolvePackageBinary(_0x414aac){const _0x15999a={_0x2edb8a:0x1be,_0x251214:0x3d0,_0x377907:0x3d6,_0x11370c:0x66e,_0x274e5e:0x45b,_0x27c417:0x2b5,_0xe412ed:0xb8,_0x2fc2d0:0xed,_0x50e500:0x399,_0x388c0f:0x14d,_0x575756:0x12b},_0x289b2d={_0x7085ec:0x82b,_0xe268fb:0x5de},_0x1e6735={_0x5641d6:0x291,_0x37cca4:0x158},_0x2c0f2a={_0x2d4b9a:0x324},_0x18a803={_0x5b856c:0x7a,_0x4212a0:0x83},_0x27bd7b=_0x414aac[_0x142ef9(-_0x15999a._0x2edb8a,0x48,-0x10f,-0xfc)]??_0x414aac[_0x1881b0(0x45b,_0x15999a._0x251214,_0x15999a._0x377907,_0x15999a._0x11370c)],_0x5f1161=await findPackageBinary(_0x27bd7b,_0x414aac['startDir']);if(_0x5f1161)return _0x5f1161;const _0x5b9447=await findPathBinary(_0x27bd7b,_0x414aac[_0x1881b0(_0x15999a._0x274e5e,0x2b4,0x573,0x3fd)]);if(_0x5b9447)return _0x5b9447;const _0x5aad4b=_0x414aac['env']??process['env'];function _0x142ef9(_0xf9e86d,_0x24f97c,_0x105911,_0x3ac356){return _0x16ac01(_0xf9e86d-_0x18a803._0x5b856c,_0x3ac356- -0x7f,_0x105911-_0x18a803._0x4212a0,_0xf9e86d);}if(shouldDisableLspDownload(_0x5aad4b))return void 0x0;const _0x3a939c=getLspPackageDir(_0x414aac[_0x1881b0(_0x15999a._0x274e5e,0x5dd,0x438,_0x15999a._0x27c417)]),_0x443465=_0x414aac[_0x142ef9(0xee,0xdb,-0x50,_0x15999a._0xe412ed)]+':'+_0x27bd7b;function _0x1881b0(_0xb2cd5e,_0x13ff04,_0x45f970,_0x32d901){return _0x16ac01(_0xb2cd5e-0xed,_0xb2cd5e-_0x2c0f2a._0x2d4b9a,_0x45f970-0x109,_0x32d901);}let _0x1facd4=installPromises[_0x142ef9(_0x15999a._0x2fc2d0,0x391,_0x15999a._0x50e500,0x256)](_0x443465);!_0x1facd4&&(_0x1facd4=((async()=>{const _0xfa2328={_0x53f9b4:0x428};await mkdir(_0x3a939c,{'recursive':!![]});function _0x53affd(_0xcdc4d8,_0x12008d,_0x1a2586,_0x270552){return _0x1881b0(_0x270552-_0x1e6735._0x5641d6,_0x12008d-_0x1e6735._0x37cca4,_0x1a2586-0x1c2,_0x1a2586);}const _0x305d73=await runNpmInstall(_0x3a939c,_0x414aac[_0x53affd(0x7d4,0x698,0x66a,0x6ec)],_0x5aad4b);if(!_0x305d73)return void 0x0;const _0x459163=_0x348930['join'](getLspBinDir(_0x414aac[_0x53affd(_0x289b2d._0x7085ec,0x5dd,_0x289b2d._0xe268fb,0x6ec)]),binaryNameForPlatform(_0x27bd7b));function _0x1436c2(_0x57bc96,_0x507e09,_0x4e6045,_0x1712dd){return _0x1881b0(_0x1712dd- -_0xfa2328._0x53f9b4,_0x507e09-0x1de,_0x4e6045-0x1b4,_0x507e09);}return await exists(_0x459163)?_0x459163:void 0x0;})()),installPromises[_0x142ef9(-_0x15999a._0x388c0f,-0x6e,_0x15999a._0x575756,-0xc8)](_0x443465,_0x1facd4));try{return await _0x1facd4;}catch{return void 0x0;}finally{installPromises['delete'](_0x443465);}}var TYPESCRIPT_EXTENSIONS=[_0x5885dd(0x556,0x352,0x279,0x42b),_0x16ac01(0xa3,-0x3d,-0x10,-0xdf),'.js','.jsx','.mjs',_0x16ac01(0x272,0x234,0xba,0x286),_0x5885dd(-0x57,0xda,0x1b8,0x16b),_0x5885dd(0x3e5,0x1e8,0x4fe,0x310)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x16ac01(0x211,0x2d3,0x18f,0x148),_0x16ac01(-0x27b,-0xc9,-0x261,-0x6e)],TYPESCRIPT_ROOT_MARKERS=[_0x5885dd(0x268,0x37b,0x114,0x1f0),_0x16ac01(0x216,0x1ff,0x31e,0x414),_0x5885dd(0x4fc,0x2e2,0x2d2,0x39a),_0x16ac01(0x35,0x1a3,-0x37,0x322),_0x16ac01(0x11c,0x2c,-0x67,0xf9),_0x5885dd(0x569,0x513,0x213,0x3e5),_0x5885dd(0xa0,0x1e2,0x253,0x295),_0x5885dd(0x437,0x108,0x45a,0x2ce)],BIOME_ROOT_MARKERS=[_0x5885dd(0x35f,0x2aa,0x357,0x4b7),_0x5885dd(0x35a,0x3b8,0x51f,0x4c2),_0x5885dd(-0x12,-0x2,0x57,0x1f0),_0x5885dd(0x2c7,0x336,0x52d,0x48e),_0x5885dd(0x543,0x4c4,0x292,0x39a),'pnpm-lock.yaml','yarn.lock','package.json'];async function exists2(_0x41bd1e){try{return await _0x15bf01(_0x41bd1e),!![];}catch{return![];}}async function findUp(_0x7aac10,_0x216394){const _0x39e216={_0x5d9efc:0x209,_0x2251be:0x234,_0x16f29a:0x28a,_0x1982c6:0x127,_0x3ffe17:0x195,_0x1d771d:0x33,_0x3c8ebc:0xce,_0x160c12:0x279,_0x4f333f:0x10e,_0x30cde4:0xca,_0x5860c9:0xf9,_0x4baa7c:0x462},_0x492d45={_0x2f2d96:0x58},_0xe876e2={_0x57638c:0x2b8};let _0x144ee4=_0x10da83[_0x49b767(0x13d,_0x39e216._0x5d9efc,_0x39e216._0x2251be,_0x39e216._0x16f29a)](_0x7aac10);const _0x1c2d6f=_0x10da83[_0x49b767(-_0x39e216._0x1982c6,-_0x39e216._0x3ffe17,0x79,-_0x39e216._0x1d771d)](_0x144ee4);function _0x56a46e(_0x179723,_0x4a11c5,_0x309ed0,_0x70fa6e){return _0x16ac01(_0x179723-0xcc,_0x309ed0-_0xe876e2._0x57638c,_0x309ed0-0xa4,_0x4a11c5);}function _0x49b767(_0x21bfa9,_0x577150,_0x3c94ef,_0x509a62){return _0x5885dd(_0x21bfa9-0x167,_0x509a62,_0x3c94ef-_0x492d45._0x2f2d96,_0x21bfa9- -0x3bd);}if(_0x1c2d6f)_0x144ee4=_0x10da83[_0x49b767(-_0x39e216._0x3c8ebc,0x69,-_0x39e216._0x160c12,_0x39e216._0x4f333f)](_0x144ee4);while(!![]){for(const _0x5896ff of _0x216394){if(await exists2(_0x10da83[_0x49b767(0xd8,0xb3,_0x39e216._0x30cde4,-_0x39e216._0x5860c9)](_0x144ee4,_0x5896ff)))return _0x144ee4;}const _0xde10c8=_0x10da83[_0x56a46e(_0x39e216._0x4baa7c,0x2e1,0x318,0x502)](_0x144ee4);if(_0xde10c8===_0x144ee4)return void 0x0;_0x144ee4=_0xde10c8;}}async function hasDenoRoot(_0x184f59){const _0x3594b8={_0xf20370:0x813,_0x5bc12c:0xa17,_0x113a9d:0x631,_0x3b2806:0x511,_0x253260:0x7fb,_0x19897e:0x4bc,_0x2792e4:0x5ad,_0x267b66:0x5a5},_0x78fb8e={_0x1de4b7:0x7c,_0x16e380:0x37e},_0x3d78b4={_0x36b64a:0x126,_0x5c0e73:0x10e};function _0x3ce6a3(_0x5e932d,_0x15bd5d,_0x13281d,_0x4bd0f5){return _0x16ac01(_0x5e932d-_0x3d78b4._0x36b64a,_0x13281d-0x5f5,_0x13281d-_0x3d78b4._0x5c0e73,_0x15bd5d);}function _0x3a8895(_0x138e35,_0x3726e1,_0x88a08e,_0x129d9a){return _0x5885dd(_0x138e35-0xf7,_0x138e35,_0x88a08e-_0x78fb8e._0x1de4b7,_0x3726e1-_0x78fb8e._0x16e380);}return await exists2(_0x10da83[_0x3a8895(0x991,_0x3594b8._0xf20370,_0x3594b8._0x5bc12c,0x6ed)](_0x184f59,_0x3a8895(0x6e5,_0x3594b8._0x113a9d,_0x3594b8._0x3b2806,0x754)))||await exists2(_0x10da83[_0x3ce6a3(0x660,0x612,_0x3594b8._0x253260,0x84f)](_0x184f59,_0x3ce6a3(_0x3594b8._0x19897e,_0x3594b8._0x2792e4,_0x3594b8._0x267b66,0x479)));}async function resolveTsserverPath(_0x4c27e8){const _0x25560f={_0x50de31:0x34a,_0x22d255:0x55d,_0x46040c:0x367,_0xf2bca7:0x3f5,_0xacd57:0x6fd,_0x2443a3:0x426,_0x5b0e77:0x18e,_0x1c5971:0x44f,_0x4b7908:0x59b,_0x28faa6:0xa93,_0x54f922:0x8b0,_0x1e421d:0xaaa,_0x4ccda1:0x7a0,_0x169536:0x671,_0x5a5e78:0x5b6,_0x1e4660:0x5b5,_0x192079:0x5d1,_0xe1a6c4:0x509,_0x436ae9:0x63c,_0x186c0c:0x633,_0x3bcdb2:0x4d4,_0x387cf0:0x494,_0x1806fd:0x61a,_0x2d918f:0x3a8,_0x3a82e5:0x591},_0x82534={_0x5dc21f:0x5e,_0x42923f:0x63},_0x5be3a8={_0x492acd:0x78,_0x346523:0x611,_0x3daeeb:0x30};let _0x560a36=_0x10da83[_0x37eff4(0x3b1,_0x25560f._0x50de31,_0x25560f._0x22d255,_0x25560f._0x46040c)](_0x4c27e8);function _0x4cd530(_0x56dea2,_0x16e03b,_0x10baec,_0x4f406a){return _0x16ac01(_0x56dea2-_0x5be3a8._0x492acd,_0x16e03b-_0x5be3a8._0x346523,_0x10baec-_0x5be3a8._0x3daeeb,_0x56dea2);}while(!![]){const _0x4ec93c=_0x10da83[_0x37eff4(_0x25560f._0xf2bca7,_0x25560f._0xacd57,0x4f8,_0x25560f._0x2443a3)](_0x560a36,_0x37eff4(0x26f,0x37a,0x1d7,0x2f3),_0x37eff4(0x1ac,_0x25560f._0x5b0e77,0x356,0x26a),_0x37eff4(_0x25560f._0x1c5971,0x4ae,_0x25560f._0x4b7908,0x5bd),_0x4cd530(_0x25560f._0x28faa6,_0x25560f._0x54f922,0x7a7,_0x25560f._0x1e421d));if(await exists2(_0x4ec93c))return _0x4ec93c;const _0x6c1823=_0x10da83[_0x4cd530(_0x25560f._0x4ccda1,_0x25560f._0x169536,0x730,0x7d1)](_0x560a36);if(_0x6c1823===_0x560a36)break;_0x560a36=_0x6c1823;}const _0x40c4c8=getLspPackageDir(_0x4cd530(_0x25560f._0x5a5e78,0x675,_0x25560f._0x1e4660,_0x25560f._0x192079));function _0x37eff4(_0x4db9e2,_0x1340b1,_0x48ef0e,_0x1fb8b0){return _0x5885dd(_0x4db9e2-0x6f,_0x4db9e2,_0x48ef0e-_0x82534._0x5dc21f,_0x48ef0e-_0x82534._0x42923f);}const _0x49cf4e=await resolvePackageBinary({'packageName':_0x4cd530(0x65a,0x675,_0x25560f._0xe1a6c4,0x870),'binaryName':'tsc','startDir':_0x4c27e8});if(!_0x49cf4e)return void 0x0;const _0x5db491=_0x10da83['join'](_0x40c4c8,_0x4cd530(_0x25560f._0x436ae9,0x4f6,0x48c,_0x25560f._0x186c0c),_0x37eff4(_0x25560f._0x3bcdb2,0x30e,0x356,_0x25560f._0x387cf0),_0x37eff4(_0x25560f._0x1806fd,0x642,0x59b,0x67e),_0x37eff4(_0x25560f._0x2d918f,0x5ac,_0x25560f._0x3a82e5,0x568));return await exists2(_0x5db491)?_0x5db491:void 0x0;}var TypeScriptServer={'id':'typescript','name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x22b1e1){const _0x2f6bbd=await findUp(_0x22b1e1,TYPESCRIPT_ROOT_MARKERS);if(!_0x2f6bbd)return void 0x0;return await hasDenoRoot(_0x2f6bbd)?void 0x0:_0x2f6bbd;},async 'spawn'(_0x3fb3c1){const _0x11380d={_0x32843f:0x584,_0x126046:0x6c8,_0x2e1283:0x730,_0x50f70e:0x84c,_0x7db50a:0x44e},_0x319ac2={_0xa7d42d:0x2e6},_0x454dbd={_0x25b6cf:0x1e5,_0x15b978:0x63f};function _0x143d49(_0x531837,_0x14a70f,_0x497f94,_0x38d8d8){return _0x16ac01(_0x531837-_0x454dbd._0x25b6cf,_0x14a70f-_0x454dbd._0x15b978,_0x497f94-0x44,_0x531837);}const _0x2f1fdf=await resolveTsserverPath(_0x3fb3c1);if(!_0x2f1fdf)return void 0x0;function _0x34d3a5(_0x529079,_0x520d03,_0x433455,_0x4b575f){return _0x5885dd(_0x529079-0x171,_0x433455,_0x433455-0x121,_0x520d03-_0x319ac2._0xa7d42d);}const _0x165c39=await resolvePackageBinary({'packageName':_0x34d3a5(0x672,_0x11380d._0x32843f,_0x11380d._0x126046,_0x11380d._0x2e1283),'binaryName':_0x143d49(_0x11380d._0x50f70e,0x64e,0x5b4,0x55d),'startDir':_0x3fb3c1});if(!_0x165c39)return void 0x0;return{'process':_0x4203a1(_0x165c39,[_0x143d49(_0x11380d._0x7db50a,0x5e6,0x461,0x627)],{'cwd':_0x3fb3c1,'stdio':'pipe'}),'initialization':{'tsserver':{'path':_0x2f1fdf}}};}},BiomeServer={'id':_0x16ac01(0x2e6,0x1d7,0x1d7,0x116),'name':_0x5885dd(0x456,0x235,0x4aa,0x373),'extensions':BIOME_EXTENSIONS,async 'root'(_0x1dcc46){return findUp(_0x1dcc46,BIOME_ROOT_MARKERS);},async 'spawn'(_0x2cb33d){const _0x56fe1a={_0xaa1636:0x351,_0xabea2d:0x22a,_0x1479c2:0x42d,_0x37df74:0x652,_0x65c72c:0x460,_0xb8292d:0x52e,_0x517ae2:0x424,_0x3e8f2c:0x574,_0x4643ce:0x4ed,_0x35a298:0x59d},_0x2f4ae7={_0x155570:0x1e1,_0xff6f8f:0x19d,_0x56e28a:0xd6},_0x217530={_0x5949c0:0x19};function _0x413208(_0xb805cb,_0x10b541,_0x2bb368,_0x243409){return _0x5885dd(_0xb805cb-0x2,_0x10b541,_0x2bb368-_0x217530._0x5949c0,_0x243409-0x1ee);}const _0x1ffe3b=await findPackageBinary('biome',_0x2cb33d)??await resolvePackageBinary({'packageName':_0x22d04e(0x324,_0x56fe1a._0xaa1636,_0x56fe1a._0xabea2d,0x293),'binaryName':_0x22d04e(0x1ac,0x390,0x3c6,_0x56fe1a._0x1479c2),'startDir':_0x2cb33d});if(!_0x1ffe3b)return void 0x0;function _0x22d04e(_0x59c83b,_0x233ef9,_0x640472,_0x8aa108){return _0x5885dd(_0x59c83b-_0x2f4ae7._0x155570,_0x640472,_0x640472-_0x2f4ae7._0xff6f8f,_0x233ef9- -_0x2f4ae7._0x56e28a);}return{'process':_0x4203a1(_0x1ffe3b,[_0x413208(0x4b7,0x730,0x76d,_0x56fe1a._0x37df74),_0x413208(0x300,_0x56fe1a._0x65c72c,_0x56fe1a._0xb8292d,_0x56fe1a._0x517ae2)],{'cwd':_0x2cb33d,'stdio':_0x413208(_0x56fe1a._0x3e8f2c,_0x56fe1a._0x4643ce,_0x56fe1a._0x35a298,0x525)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x26f0ca){const _0x5aa8da={_0x5857e:0x454,_0x3ed4fa:0x4a1,_0x36ecd1:0x49a,_0x454430:0x2b5,_0x286be3:0x4d5,_0x2ca3d7:0x3da},_0x5b3a42={_0x2795be:0x14e,_0x587790:0x660,_0x592534:0x1cb};function _0x55f555(_0x3a585a,_0x30b674,_0x3899f0,_0x3bb35c){return _0x16ac01(_0x3a585a-_0x5b3a42._0x2795be,_0x3a585a-_0x5b3a42._0x587790,_0x3899f0-_0x5b3a42._0x592534,_0x30b674);}function _0x485022(_0x52fe78,_0x53e7f8,_0x203610,_0x2f1a4d){return _0x5885dd(_0x52fe78-0x3c,_0x53e7f8,_0x203610-0x16,_0x2f1a4d-0x204);}const _0xb1a11f=_0x10da83[_0x485022(_0x5aa8da._0x5857e,_0x5aa8da._0x3ed4fa,0x40d,_0x5aa8da._0x36ecd1)](_0x26f0ca)['toLowerCase']();return BUILTIN_LSP_SERVERS[_0x485022(0x234,_0x5aa8da._0x454430,_0x5aa8da._0x286be3,_0x5aa8da._0x2ca3d7)](_0x48f7e5=>_0x48f7e5[_0x55f555(0x875,0x712,0xa24,0x7ed)][_0x485022(0x656,0x4dd,0x5b3,0x6e8)](_0xb1a11f));}function stateKey(_0x2991b5,_0x5f521f){return _0x5f521f+':'+_0x2991b5['id'];}function diagnosticsKeyToPath(_0x20c611){const _0x39e957={_0x12d20f:0xe9,_0x2fc58d:0x2b1},_0x52287e={_0x15c8f4:0x8f,_0x34a878:0x6,_0x522306:0x2dc};if(!_0x20c611['startsWith'](_0x53b135(-_0x39e957._0x12d20f,-0x133,-0xd9,-_0x39e957._0x2fc58d)))return _0x20c611;function _0x53b135(_0x90ccd4,_0xae8a2c,_0x33989c,_0x4d9c28){return _0x5885dd(_0x90ccd4-_0x52287e._0x15c8f4,_0xae8a2c,_0x33989c-_0x52287e._0x34a878,_0x33989c- -_0x52287e._0x522306);}return fileURLToPath(_0x20c611);}function nextFileVersion(_0x2bcc94,_0x5e7136){const _0x39d018={_0x21d4d3:0x89e,_0xb9a298:0x80b,_0x335148:0x6d8,_0x54abd2:0x609,_0x1893b2:0x720,_0x65090d:0x7e6,_0x29b700:0x5e2,_0x4dcc3b:0x8bb,_0x440f2f:0x4fb},_0x146777={_0x484eaa:0xf5,_0x1d98b4:0x2b5};function _0x2be45b(_0x2ecb07,_0x153158,_0x1981c1,_0x429642){return _0x5885dd(_0x2ecb07-0x171,_0x153158,_0x1981c1-0x195,_0x2ecb07-0x2a7);}const _0x6e0d70=(_0x2bcc94[_0x4bd45d(0x72e,0x755,0x89b,_0x39d018._0x21d4d3)][_0x2be45b(_0x39d018._0xb9a298,0x74c,_0x39d018._0x335148,_0x39d018._0x54abd2)](_0x5e7136)??0x1)+0x1;_0x2bcc94[_0x2be45b(_0x39d018._0x1893b2,_0x39d018._0x65090d,_0x39d018._0x29b700,_0x39d018._0x4dcc3b)][_0x4bd45d(_0x39d018._0x440f2f,0x38d,0x406,0x4b6)](_0x5e7136,_0x6e0d70);function _0x4bd45d(_0x39789b,_0x84be8a,_0x514a2e,_0x4c410e){return _0x5885dd(_0x39789b-_0x146777._0x484eaa,_0x514a2e,_0x514a2e-0x1cd,_0x39789b-_0x146777._0x1d98b4);}return _0x6e0d70;}async function collectClientResults(_0x1e42b5){const _0xd39ad5={_0x330668:0x4e3,_0x8323d0:0x61e,_0x5cf6fd:0x7aa,_0x692c55:0x6f6},_0xc0aaa2={_0x58aecc:0x26f};function _0xd4bba4(_0x1588fc,_0x2e5156,_0xd81ea2,_0x3d5bfb){return _0x16ac01(_0x1588fc-0x1ab,_0x1588fc-0x30e,_0xd81ea2-0x1c5,_0x2e5156);}function _0x4155af(_0xf9e792,_0x48db81,_0x360c54,_0x57ad68){return _0x5885dd(_0xf9e792-0x180,_0x360c54,_0x360c54-0x4d,_0x57ad68-_0xc0aaa2._0x58aecc);}const _0x283e2a=await Promise[_0x4155af(_0xd39ad5._0x330668,_0xd39ad5._0x8323d0,_0xd39ad5._0x5cf6fd,_0xd39ad5._0x692c55)](_0x1e42b5);return _0x283e2a['flatMap'](_0x5203d6=>_0x5203d6[_0xd4bba4(0x263,0x11f,0xa1,0xe4)]===_0xd4bba4(0x55e,0x486,0x3c1,0x75f)?_0x5203d6['value']:[]);}function createLspService(_0x3f664b={}){const _0x48ae77={_0x42acca:0x7a4,_0x1fcb66:0x909,_0x278222:0x7a3},_0x4ae558={_0x2a5b53:0x1cc,_0x5d2f96:0x163},_0x260634={_0x49e573:0x4b,_0x3228bf:0x2b0,_0x51a24b:0x732,_0x53204f:0x910,_0x137261:0x70e,_0x531220:0x796,_0x2df6ea:0x596,_0x514465:0x5d9,_0x3b732e:0x14c,_0x46f248:0x44,_0x37ae48:0x12a,_0x2a3c51:0xa4,_0x6697b9:0x68,_0x170223:0x196,_0x377551:0x69,_0x3f98e9:0x1a1,_0x5a6d94:0x141,_0xa33823:0x56f},_0x1c352d={_0x11305c:0xb3,_0x2619df:0x13},_0x5b7402={_0xd2d53e:0x80b,_0x1d18e8:0x63d},_0x441976={_0x532677:0x272,_0x25509a:0x163},_0x595cc8={_0xe0704f:0xc8,_0xd8015a:0xdf},_0x5d7736={_0x4d8b61:0x68c,_0x2693dd:0x53d,_0x1e5973:0x33c},_0x5f39e6={_0x49aa91:0xdf,_0x38fa16:0x192},_0x242b42={_0x16d487:0x6e,_0x41836d:0x1ab,_0x3b84c5:0x18f},_0x528076={_0x563292:0x5ca,_0x4bb554:0x4d4,_0x2b8154:0x495,_0x1eea9f:0x337},_0x5ce4cf={_0x419c8c:0x42,_0x513eee:0x9,_0x2ee259:0x1d7},_0x427c88={_0x36df51:0x3ae},_0x41d539={_0x5d93a5:0x434},_0x28663c={_0x4673e9:0x29,_0x32d16a:0x184,_0x4b8a15:0x206},_0x30fade={_0x227bee:0x342,_0x1a1a26:0x4a7},_0x16db2c={_0x3aa787:0x30c,_0x2ee114:0x15b,_0x1ed2a9:0xa56,_0x3a8cbb:0x706,_0x59161c:0x8d6},_0x29104d={_0x39bc42:0x8a,_0x3ee1fc:0x79},_0x5e6c1c={_0x12da70:0x6be,_0x5817b0:0x604,_0x1fdec1:0x803,_0x527a03:0x51a},_0xb4813d={_0x2e1610:0x113},_0x419ac5={_0x26b7ab:0x17c,_0x5a01dc:0x5ff},_0x589ca8={_0x468b91:0x292,_0x51172d:0x3ee,_0x2752d5:0x2c4},_0x19342a={_0x4b9d67:0x69,_0x395b84:0x0},_0x1b0886={_0x1350c1:0x13d},_0x2167ef={_0x58743f:0x28e,_0x12d835:0x376,_0x83a936:0x2d0,_0x3a89fe:0x172,_0xa2a8e7:0x1b5,_0x578cf4:0x1b2},_0x5cf788={_0x51cd4b:0x374,_0x33613d:0x348,_0x63d0af:0x528,_0x3ce200:0x160,_0x51c8b5:0x104,_0x14b64b:0x233,_0x5b2309:0x29b,_0x53539c:0x279,_0x5c5c02:0x39,_0x427ba5:0x142,_0x49df44:0x2ef,_0x1c359e:0x418,_0x20426d:0x52c,_0x1146f8:0x36d,_0x14ffbd:0x91,_0x2de2bf:0x14,_0x15a1c6:0x1a9,_0x3d08fe:0x48,_0x4fee66:0x32c,_0x5734b2:0x344,_0x481867:0x4e7,_0x25aa11:0x167,_0x370824:0x44f},_0x2fcc11={_0x4d38ad:0x184,_0x4f6caf:0x5b},_0x52da40={_0x118157:0x308,_0x35f174:0x3db,_0x5a91d3:0x697,_0x4a156c:0x76b,_0x2b5f5e:0x80b,_0x4d99c8:0x25a,_0x26c574:0x262},_0x538e23={_0x18e6b8:0x738,_0x23a5c8:0x78c,_0x2da2f8:0x838,_0x117b3e:0x7c2,_0x214f7d:0x64d,_0x2a3dd4:0x59b,_0x453691:0x7a7,_0x33f63b:0x872,_0x42c0f8:0x697,_0x13a453:0x61a,_0x45cecb:0x6d5},_0x3fbd8a={_0x20c6ae:0x5a7},_0x2a6023={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x127dbb=()=>_0x3f664b[_0x6ec7fe(-0x175,-0x17a,-0x12d,-0x197)]!==![];async function _0x103629(_0x390b7a,_0x40e9e7){const _0x350220={_0x3bf101:0x15b,_0x58c1ff:0x312,_0x5bf1d1:0x42a,_0x423237:0x209,_0x5e815d:0x399,_0x594566:0x2d5,_0x1b3436:0x3b4,_0x593e8c:0x378,_0x426670:0x322,_0xbfdf03:0x275,_0x240bc:0x464,_0x614cea:0x204,_0x20b2f2:0x23a,_0x571406:0x28d,_0x4552e5:0x3a4,_0x3bae9d:0x43b},_0x163b02={_0x5b1886:0x22,_0x3dc0f1:0x12a,_0x30ab85:0x169},_0x172f7f={_0x5d44a4:0x12a},_0x59dfb7=stateKey(_0x390b7a,_0x40e9e7),_0x311a52=_0x2a6023[_0x256e9d(_0x538e23._0x18e6b8,0x8bb,0x99e,_0x538e23._0x23a5c8)]['find'](_0x2d5a80=>_0x2d5a80['serverId']===_0x390b7a['id']&&_0x2d5a80['root']===_0x40e9e7);function _0x256e9d(_0x411972,_0x120142,_0x4608d7,_0x3df7bb){return _0x6ec7fe(_0x411972-0xe1,_0x120142,_0x3df7bb-_0x3fbd8a._0x20c6ae,_0x3df7bb-0x5d);}if(_0x311a52)return _0x311a52;function _0x6b7f01(_0x1889f0,_0x28a77d,_0x1cfe03,_0x5b510a){return _0x6ec7fe(_0x1889f0-_0x172f7f._0x5d44a4,_0x28a77d,_0x1cfe03-0x5da,_0x5b510a-0xae);}if(_0x2a6023[_0x256e9d(_0x538e23._0x2da2f8,0x522,_0x538e23._0x117b3e,_0x538e23._0x214f7d)][_0x256e9d(0x6c8,0x3ba,0x4a9,_0x538e23._0x2a3dd4)](_0x59dfb7))return void 0x0;const _0x317fe1=_0x2a6023[_0x6b7f01(0x6e8,0x6c9,0x623,0x7b2)][_0x6b7f01(0x829,_0x538e23._0x453691,_0x538e23._0x33f63b,_0x538e23._0x42c0f8)](_0x59dfb7);if(_0x317fe1)return _0x317fe1;const _0x5a7f24=((async()=>{const _0x375ebd={_0x5637af:0xed};function _0x2576ea(_0x3ca18a,_0x4d404b,_0x5a72a6,_0x106aed){return _0x256e9d(_0x3ca18a-_0x163b02._0x5b1886,_0x4d404b,_0x5a72a6-_0x163b02._0x3dc0f1,_0x3ca18a- -_0x163b02._0x30ab85);}function _0x37d4cd(_0x5b36b6,_0x3c82ed,_0x12ec25,_0x4dff7e){return _0x6b7f01(_0x5b36b6-0x105,_0x3c82ed,_0x5b36b6- -0x40b,_0x4dff7e-_0x375ebd._0x5637af);}try{const _0x253a4b=await _0x390b7a[_0x37d4cd(0x365,0x559,_0x350220._0x3bf101,_0x350220._0x58c1ff)](_0x40e9e7);if(!_0x253a4b)return _0x2a6023['broken']['add'](_0x59dfb7),void 0x0;const _0x3b9c54=await createLspClient({'server':_0x390b7a,'root':_0x40e9e7,'handle':_0x253a4b}),_0x10bc3c=_0x2a6023['clients'][_0x37d4cd(0x27d,_0x350220._0x5bf1d1,_0x350220._0x423237,0x2cd)](_0x557553=>_0x557553[_0x37d4cd(0x128,0x6e,-0xc0,-0xef)]===_0x390b7a['id']&&_0x557553[_0x2576ea(0x330,0x36e,0x2b6,0x1ad)]===_0x40e9e7);if(_0x10bc3c)return await _0x3b9c54[_0x37d4cd(_0x350220._0x5e815d,_0x350220._0x594566,0x3a7,0x1b1)](),_0x10bc3c;return _0x2a6023[_0x37d4cd(_0x350220._0x1b3436,0x4d6,0x3ba,0x47c)][_0x2576ea(_0x350220._0x593e8c,0x4e1,_0x350220._0x426670,0x328)](_0x3b9c54),_0x3b9c54;}catch{return _0x2a6023[_0x37d4cd(_0x350220._0xbfdf03,_0x350220._0x240bc,_0x350220._0x614cea,0x395)][_0x37d4cd(0xba,_0x350220._0x20b2f2,_0x350220._0x571406,0x113)](_0x59dfb7),void 0x0;}finally{_0x2a6023['spawning'][_0x2576ea(_0x350220._0x4552e5,0x3ca,_0x350220._0x3bae9d,0x519)](_0x59dfb7);}})());return _0x2a6023[_0x6b7f01(0x5c2,0x4c1,0x623,_0x538e23._0x13a453)][_0x6b7f01(0x515,0x5b3,0x554,_0x538e23._0x45cecb)](_0x59dfb7,_0x5a7f24),_0x5a7f24;}async function _0x9c6b3c(_0x347069,_0x1b9704){const _0x4285bb={_0x47f7c4:0x62,_0x3dc512:0x50d},_0x412676={_0x4b6d81:0x146,_0x2dcc19:0x1ed};if(!_0x127dbb())return[];const _0x13ee72=[];function _0x2cc1d5(_0x39b4ed,_0x1a623f,_0x24e9ab,_0x2cc131){return _0x6ec7fe(_0x39b4ed-_0x412676._0x4b6d81,_0x2cc131,_0x1a623f-0x320,_0x2cc131-_0x412676._0x2dcc19);}function _0x38f9f5(_0x2d95b0,_0x3ef9b7,_0x3daa36,_0x4e7a0f){return _0x6ec7fe(_0x2d95b0-_0x4285bb._0x47f7c4,_0x2d95b0,_0x4e7a0f-_0x4285bb._0x3dc512,_0x4e7a0f-0x17e);}for(const _0x155750 of getServersForFile(_0x347069)){const _0x2a9c9f=await _0x155750[_0x2cc1d5(_0x52da40._0x118157,0x212,0x2d,0x2a9)](_0x347069);if(!_0x2a9c9f)continue;const _0x5462c2=stateKey(_0x155750,_0x2a9c9f);if(_0x2a6023[_0x38f9f5(_0x52da40._0x35f174,0x4db,_0x52da40._0x5a91d3,0x5b3)]['has'](_0x5462c2))continue;const _0x264a6b=_0x2a6023[_0x38f9f5(_0x52da40._0x4a156c,0x8c7,_0x52da40._0x2b5f5e,0x6f2)]['find'](_0x5056fb=>_0x5056fb[_0x2cc1d5(0x443,0x279,0x7c,0x1d4)]===_0x155750['id']&&_0x5056fb[_0x2cc1d5(0xe4,0x212,0x74,0x297)]===_0x2a9c9f);if(_0x264a6b){_0x13ee72['push'](_0x264a6b);continue;}if(!_0x1b9704)continue;const _0x1d3dbc=await _0x103629(_0x155750,_0x2a9c9f);if(_0x1d3dbc)_0x13ee72[_0x2cc1d5(0xef,_0x52da40._0x4d99c8,0x44d,_0x52da40._0x26c574)](_0x1d3dbc);}return _0x13ee72;}async function _0xa9c130(_0x25ce4b,_0x7df255=![]){const _0x1e0f8b={_0xe89460:0x15c},_0x2c1059={_0x42b1fe:0x112};function _0x1671d3(_0x40ca97,_0x510c95,_0x1416bd,_0x153c95){return _0x6ec7fe(_0x40ca97-0x135,_0x510c95,_0x1416bd- -0xe5,_0x153c95-_0x2c1059._0x42b1fe);}const _0x23a081=await _0x9c6b3c(_0x25ce4b,!![]);function _0x5e7ffd(_0x494bfd,_0x2e7c89,_0x42368d,_0x26bc7e){return _0x6ec7fe(_0x494bfd-_0x2fcc11._0x4d38ad,_0x2e7c89,_0x26bc7e-0x330,_0x26bc7e-_0x2fcc11._0x4f6caf);}await Promise[_0x5e7ffd(_0x2167ef._0x58743f,0x3b9,_0x2167ef._0x12d835,_0x2167ef._0x83a936)](_0x23a081[_0x5e7ffd(_0x2167ef._0x3a89fe,_0x2167ef._0xa2a8e7,0x223,_0x2167ef._0x578cf4)](async _0x3fc8af=>{const _0x4fb5da={_0x18a8f9:0x56};!_0x2a6023[_0x14a0f6(_0x5cf788._0x51cd4b,_0x5cf788._0x33613d,0x4cc,_0x5cf788._0x63d0af)]['has'](_0x3fc8af[_0x14a0f6(_0x5cf788._0x3ce200,_0x5cf788._0x51c8b5,_0x5cf788._0x14b64b,0x15f)]+':'+_0x3fc8af[_0x392e9d(_0x5cf788._0x5b2309,_0x5cf788._0x53539c,-_0x5cf788._0x5c5c02,_0x5cf788._0x427ba5)]+':'+_0x25ce4b)&&(await _0x3fc8af[_0x392e9d(_0x5cf788._0x49df44,0xdf,_0x5cf788._0x1c359e,0x27e)][_0x392e9d(0x44b,0x690,_0x5cf788._0x20426d,0x4bd)]({'path':_0x25ce4b}),_0x2a6023[_0x392e9d(_0x5cf788._0x1146f8,0x4ab,0x472,0x442)][_0x14a0f6(0x149,0x130,0x1c5,0x7b)](_0x3fc8af[_0x392e9d(_0x5cf788._0x14ffbd,0x27b,_0x5cf788._0x2de2bf,_0x5cf788._0x15a1c6)]+':'+_0x3fc8af[_0x14a0f6(_0x5cf788._0x3ce200,-_0x5cf788._0x3d08fe,0x1cc,0x2df)]+':'+_0x25ce4b));function _0x392e9d(_0x49e4fd,_0x3ef462,_0xf59016,_0x1805e3){return _0x1671d3(_0x49e4fd-_0x1e0f8b._0xe89460,_0x3ef462,_0x1805e3-0x335,_0x1805e3-0xc7);}await _0x3fc8af[_0x14a0f6(0x4ad,_0x5cf788._0x4fee66,0x308,_0x5cf788._0x5734b2)][_0x392e9d(_0x5cf788._0x481867,0x562,0x298,0x37f)]({'path':_0x25ce4b,'version':nextFileVersion(_0x2a6023,_0x25ce4b)});function _0x14a0f6(_0x56498c,_0x3b3652,_0x45af77,_0x21cdab){return _0x5e7ffd(_0x56498c-0xb9,_0x21cdab,_0x45af77-0xe8,_0x45af77- -_0x4fb5da._0x18a8f9);}if(_0x7df255)await _0x3fc8af[_0x14a0f6(_0x5cf788._0x25aa11,0x19c,0x2c0,_0x5cf788._0x370824)]({'path':_0x25ce4b});}));}function _0x6ec7fe(_0x4dfc8a,_0x3b07fa,_0x1cf7e0,_0x11c80a){return _0x16ac01(_0x4dfc8a-0xbb,_0x1cf7e0- -0x3d,_0x1cf7e0-0x196,_0x3b07fa);}async function _0x3bdc36(_0x4362d4){return await _0xa9c130(_0x4362d4['file'],![]),_0x9c6b3c(_0x4362d4['file'],![]);}async function _0xa1d6d5(_0x36aed8){function _0x428db2(_0xff2cfc,_0x11c8c8,_0x53a8a8,_0x1cfee2){return _0x6ec7fe(_0xff2cfc-_0x1b0886._0x1350c1,_0x1cfee2,_0xff2cfc-0x52d,_0x1cfee2-0xfc);}const _0x4e2665=await _0x3bdc36(_0x36aed8);function _0xa0ddd3(_0x5a4f78,_0x3f660f,_0x3254de,_0x273b0b){return _0x6ec7fe(_0x5a4f78-0x6b,_0x5a4f78,_0x273b0b- -_0x19342a._0x4b9d67,_0x273b0b-_0x19342a._0x395b84);}return collectClientResults(_0x4e2665[_0xa0ddd3(-_0x589ca8._0x468b91,-_0x589ca8._0x51172d,-_0x589ca8._0x2752d5,-0x1e7)](_0x242f82=>_0x242f82[_0x428db2(0x4fa,0x4f1,0x4e0,0x454)][_0x428db2(0x562,0x6cd,0x498,0x75f)](_0x36aed8)));}return{'isEnabled':_0x127dbb,async 'hasClients'(_0x22d529){function _0xeb3407(_0xaa7c05,_0x4781ca,_0x694dc2,_0x1fbbba){return _0x6ec7fe(_0xaa7c05-_0x419ac5._0x26b7ab,_0x694dc2,_0xaa7c05-_0x419ac5._0x5a01dc,_0x1fbbba-0x1f2);}function _0x4b87f2(_0x1ffb6,_0x3bc551,_0x58609a,_0x2fafdb){return _0x6ec7fe(_0x1ffb6-_0xb4813d._0x2e1610,_0x3bc551,_0x1ffb6-0x511,_0x2fafdb-0x26);}return(await _0x9c6b3c(_0x22d529,![]))[_0xeb3407(_0x5e6c1c._0x12da70,0x7af,0x5c0,_0x5e6c1c._0x5817b0)]>0x0||getServersForFile(_0x22d529)[_0xeb3407(0x6be,0x776,_0x5e6c1c._0x1fdec1,_0x5e6c1c._0x527a03)]>0x0;},'touchFile':_0xa9c130,async 'diagnostics'(){const _0x2fd28f={_0x41c9fc:0x633};function _0x2a406d(_0x479cf0,_0x27bf5b,_0x32f646,_0x5b72c4){return _0x6ec7fe(_0x479cf0-0x1e2,_0x5b72c4,_0x32f646- -_0x29104d._0x39bc42,_0x5b72c4-_0x29104d._0x3ee1fc);}function _0x1f1b8f(_0x3464e9,_0xd26b06,_0x2ccd87,_0x51f313){return _0x6ec7fe(_0x3464e9-0x1c1,_0x2ccd87,_0x51f313-_0x2fd28f._0x41c9fc,_0x51f313-0x1d9);}const _0x39d639={};for(const _0x347013 of _0x2a6023[_0x2a406d(_0x16db2c._0x3aa787,0x1f1,_0x16db2c._0x2ee114,0x23f)]){for(const [_0xc8910f,_0x478620]of _0x347013[_0x1f1b8f(_0x16db2c._0x1ed2a9,_0x16db2c._0x3a8cbb,0x727,_0x16db2c._0x59161c)]){_0x39d639[diagnosticsKeyToPath(_0xc8910f)]=_0x478620;}}return _0x39d639;},async 'diagnosticsForFile'(_0x440780){function _0x12d79b(_0x38f285,_0x187368,_0x5d3f03,_0x5a8b3c){return _0x6ec7fe(_0x38f285-0x1ba,_0x187368,_0x38f285-0xcb,_0x5a8b3c-0x89);}await _0xa9c130(_0x440780,!![]);const _0x3ac5da=[];for(const _0x5838f4 of await _0x9c6b3c(_0x440780,![])){for(const [_0x32043a,_0x7639f8]of _0x5838f4[_0x12d79b(0x36e,0x327,_0x30fade._0x227bee,_0x30fade._0x1a1a26)]){if(diagnosticsKeyToPath(_0x32043a)===_0x440780)_0x3ac5da['push'](..._0x7639f8);}}return _0x3ac5da;},async 'definition'(_0x1d82eb){const _0x46aaf5={_0x3e7530:0x488};function _0x26a2be(_0x2a1625,_0x1ac33e,_0x119b75,_0xc8f79d){return _0x6ec7fe(_0x2a1625-0x44,_0x1ac33e,_0x2a1625-_0x46aaf5._0x3e7530,_0xc8f79d-0x54);}function _0x18f2ab(_0x57296a,_0x5eb76c,_0x39be82,_0x5bfe74){return _0x6ec7fe(_0x57296a-0x116,_0x39be82,_0x57296a-0x1a7,_0x5bfe74-0x169);}return collectClientResults((await _0x3bdc36(_0x1d82eb))[_0x18f2ab(_0x28663c._0x4673e9,-_0x28663c._0x32d16a,0xed,_0x28663c._0x4b8a15)](_0x100575=>_0x100575[_0x18f2ab(0x174,0xde,0xa9,0x34b)]['definition'](_0x1d82eb)));},async 'references'(_0x4424ec){function _0x36a5df(_0x1fd57d,_0x51484e,_0x1b8cf6,_0x4340aa){return _0x6ec7fe(_0x1fd57d-0x1f1,_0x1b8cf6,_0x51484e-_0x41d539._0x5d93a5,_0x4340aa-0x82);}return collectClientResults((await _0x3bdc36(_0x4424ec))[_0x36a5df(0x3c7,0x2b6,_0x427c88._0x36df51,0x349)](_0x2ab35d=>_0x2ab35d['request']['references'](_0x4424ec)));},async 'hover'(_0x53be64){const _0x3c7280={_0xbc884f:0xdc},_0x2177ff={_0x24eb94:0x1aa,_0x4b65ef:0x176},_0x26c501=await Promise['allSettled']((await _0x3bdc36(_0x53be64))['map'](_0x1f1368=>_0x1f1368[_0x24f6bc(-0xfb,0x174,0xf3,0xa9)][_0x4e173e(0x168,0x15d,0x120,-0x47)](_0x53be64)));function _0x4e173e(_0x5195ed,_0x3c756a,_0x43a157,_0x1f66f9){return _0x6ec7fe(_0x5195ed-_0x2177ff._0x24eb94,_0x5195ed,_0x43a157- -0x33,_0x1f66f9-_0x2177ff._0x4b65ef);}function _0x24f6bc(_0x38dd30,_0x2f8c4c,_0x43ae12,_0x24e5c3){return _0x6ec7fe(_0x38dd30-0x179,_0x2f8c4c,_0x24e5c3-_0x3c7280._0xbc884f,_0x24e5c3-0x147);}return _0x26c501[_0x24f6bc(_0x5ce4cf._0x419c8c,-_0x5ce4cf._0x513eee,_0x5ce4cf._0x2ee259,0x123)](_0x2b641b=>_0x2b641b[_0x4e173e(-0xc4,-0x244,-0x11b,0xbe)]===_0x4e173e(0x212,0x288,0x1e0,0x35f)&&_0x2b641b['value']?[_0x2b641b[_0x4e173e(0x2f7,0x23c,0x13d,0x6d)]]:[]);},async 'documentSymbol'(_0x3099f1){const _0x573479={_0x573b68:0x113},_0x1a906d={_0x4096a7:0xc4};function _0x4716da(_0x32d280,_0x581056,_0x590ff8,_0x5e9ee8){return _0x6ec7fe(_0x32d280-_0x1a906d._0x4096a7,_0x590ff8,_0x581056-0x40e,_0x5e9ee8-0x52);}function _0x2366a0(_0x58157e,_0x2d71b8,_0x141d5a,_0x33a4d1){return _0x6ec7fe(_0x58157e-0x2c,_0x33a4d1,_0x2d71b8-0x66,_0x33a4d1-_0x573479._0x573b68);}return await _0xa9c130(_0x3099f1,![]),collectClientResults((await _0x9c6b3c(_0x3099f1,![]))['map'](_0x26cfab=>_0x26cfab[_0x4716da(0x1dc,0x3db,0x40e,0x285)][_0x4716da(0x551,0x6a0,0x8b4,0x48f)](_0x3099f1)));},async 'workspaceSymbol'(_0x3ac3eb){const _0x56f4c2={_0x560d74:0x12,_0x5a13a9:0x502,_0x483661:0x36},_0x22b8ef={_0x50c290:0x3e5,_0x3801f7:0x9a};function _0x45862e(_0x381180,_0xaf206d,_0x43b836,_0x276249){return _0x6ec7fe(_0x381180-0x36,_0x43b836,_0x381180-_0x22b8ef._0x50c290,_0x276249-_0x22b8ef._0x3801f7);}function _0x1bf0f0(_0x5b83b6,_0x52865c,_0xf69aa7,_0x30b0d9){return _0x6ec7fe(_0x5b83b6-_0x56f4c2._0x560d74,_0x52865c,_0xf69aa7-_0x56f4c2._0x5a13a9,_0x30b0d9-_0x56f4c2._0x483661);}return collectClientResults(_0x2a6023[_0x45862e(_0x528076._0x563292,0x77b,0x714,0x5b2)][_0x1bf0f0(_0x528076._0x4bb554,_0x528076._0x2b8154,0x384,_0x528076._0x1eea9f)](_0x32bb9c=>_0x32bb9c['request'][_0x1bf0f0(0x4e9,0x649,0x636,0x65d)](_0x3ac3eb)));},async 'implementation'(_0x478a40){function _0x57b1c1(_0x429631,_0x2307ad,_0x5836fc,_0x5430a8){return _0x6ec7fe(_0x429631-_0x242b42._0x16d487,_0x5430a8,_0x5836fc-_0x242b42._0x41836d,_0x5430a8-_0x242b42._0x3b84c5);}function _0xb0561c(_0x293a7c,_0x46e34c,_0x2bce5a,_0x594db4){return _0x6ec7fe(_0x293a7c-_0x5f39e6._0x49aa91,_0x594db4,_0x2bce5a-0x6bb,_0x594db4-_0x5f39e6._0x38fa16);}return collectClientResults((await _0x3bdc36(_0x478a40))[_0xb0561c(0x598,_0x5d7736._0x4d8b61,_0x5d7736._0x2693dd,_0x5d7736._0x1e5973)](_0x3777f3=>_0x3777f3[_0xb0561c(0x47a,0x641,0x688,0x7f5)][_0xb0561c(0x765,0x4b9,0x5f1,0x6dd)](_0x478a40)));},async 'prepareCallHierarchy'(_0x1296bf){return _0xa1d6d5(_0x1296bf);},async 'incomingCalls'(_0x308d81){const _0x308964={_0x435664:0x19f,_0x3ed2d3:0x9f},_0x3bdefc=await _0xa1d6d5(_0x308d81);function _0x35217a(_0x1475c5,_0x1042f7,_0x3b1a8c,_0xf22b48){return _0x6ec7fe(_0x1475c5-_0x595cc8._0xe0704f,_0x1475c5,_0x3b1a8c-0x415,_0xf22b48-_0x595cc8._0xd8015a);}const _0x5aa718=await _0x3bdc36(_0x308d81);function _0x2b418f(_0x583c08,_0xe5c26a,_0x39eef9,_0x287571){return _0x6ec7fe(_0x583c08-_0x308964._0x435664,_0xe5c26a,_0x39eef9-0x255,_0x287571-_0x308964._0x3ed2d3);}return collectClientResults(_0x5aa718[_0x2b418f(_0x441976._0x532677,_0x441976._0x25509a,0x29c,0x1b8)](_0xc2f37b=>_0x3bdefc[_0x35217a(0x2fc,0x2f2,0x297,0x349)](_0x31ac8a=>_0xc2f37b[_0x2b418f(0x2f4,0x2c,0x222,0x145)][_0x2b418f(0x307,0x344,0x2c6,0x14a)](_0x31ac8a))));},async 'outgoingCalls'(_0x5a4ad2){const _0x16bb5e={_0x117bd8:0x1c0},_0x51c6f3={_0x584e8b:0xf0,_0xe628d9:0xcb};function _0x58346f(_0x257a73,_0x4e4e05,_0x45164a,_0x5cc0dc){return _0x6ec7fe(_0x257a73-_0x51c6f3._0x584e8b,_0x257a73,_0x45164a-0x1d7,_0x5cc0dc-_0x51c6f3._0xe628d9);}const _0x22f030=await _0xa1d6d5(_0x5a4ad2),_0x1e980c=await _0x3bdc36(_0x5a4ad2);function _0x4fd81c(_0x342cc5,_0x11887d,_0x50405c,_0x3ebed8){return _0x6ec7fe(_0x342cc5-0xbb,_0x11887d,_0x3ebed8-0x5f6,_0x3ebed8-_0x16bb5e._0x117bd8);}return collectClientResults(_0x1e980c[_0x4fd81c(_0x5b7402._0xd2d53e,0x718,0x666,_0x5b7402._0x1d18e8)](_0x48ff15=>_0x22f030[_0x58346f(-0x7f,0x1e5,0x59,0x1f0)](_0xd9f5e6=>_0x48ff15[_0x58346f(0x88,0xb9,0x1a4,0x6e)][_0x4fd81c(0x5ee,0x658,0x60d,0x473)](_0xd9f5e6))));},async 'shutdown'(){if(_0x2a6023[_0x15b893(-0x298,-0x126,_0x260634._0x49e573,-0x2bf)])return;function _0x15b893(_0x46d65c,_0x2b9351,_0x32aba4,_0x2bd766){return _0x6ec7fe(_0x46d65c-_0x1c352d._0x11305c,_0x2bd766,_0x2b9351-0x22,_0x2bd766-_0x1c352d._0x2619df);}_0x2a6023['shutdownStarted']=!![],await Promise['allSettled'](_0x2a6023['clients'][_0xf1dd51(0x3cf,0x3ec,0x2e4,_0x260634._0x3228bf)](_0x504ab2=>_0x504ab2['shutdown']())),_0x2a6023[_0xf1dd51(_0x260634._0x51a24b,_0x260634._0x53204f,_0x260634._0x137261,_0x260634._0x531220)]=[],_0x2a6023[_0xf1dd51(_0x260634._0x2df6ea,0x381,0x75b,_0x260634._0x514465)][_0x15b893(-_0x260634._0x3b732e,_0x260634._0x46f248,_0x260634._0x37ae48,0xee)](),_0x2a6023[_0x15b893(-_0x260634._0x2a3c51,0xc8,-_0x260634._0x6697b9,0x39)][_0x15b893(_0x260634._0x170223,_0x260634._0x46f248,_0x260634._0x377551,-0x1a0)](),_0x2a6023['fileVersions'][_0x15b893(-0xb,0x44,-_0x260634._0x3f98e9,-_0x260634._0x5a6d94)]();function _0xf1dd51(_0x4018b5,_0x1b0bb3,_0x3c90e2,_0xd8074d){return _0x6ec7fe(_0x4018b5-0x144,_0xd8074d,_0x4018b5-0x54d,_0xd8074d-0x1e9);}_0x2a6023['openFiles'][_0xf1dd51(_0x260634._0xa33823,0x3bb,0x3b4,0x363)]();},'status'(){const _0x2041f7={_0x302e1b:0x183,_0x334d3b:0x185};function _0x2c9fd3(_0x2fd6c9,_0x37709e,_0x223aad,_0xd15bb4){return _0x6ec7fe(_0x2fd6c9-_0x4ae558._0x2a5b53,_0x223aad,_0xd15bb4-_0x4ae558._0x5d2f96,_0xd15bb4-0xfd);}function _0x2f835b(_0x2c98ac,_0x5aded4,_0x411b40,_0x1e370c){return _0x6ec7fe(_0x2c98ac-_0x2041f7._0x302e1b,_0x5aded4,_0x2c98ac-0x5bf,_0x1e370c-_0x2041f7._0x334d3b);}return{'connectedClients':_0x2a6023[_0x2f835b(_0x48ae77._0x42acca,_0x48ae77._0x1fcb66,0x6ef,0x6ab)][_0x2f835b(0x67e,0x5f8,_0x48ae77._0x278222,0x85d)]};}};}function getCommand(_0x365637){const _0x237c3b={_0x593cfa:0x500,_0x35b2cb:0x5a6,_0x438867:0x743,_0x2bbdf4:0x61b,_0x3136f6:0x487,_0x2b01e7:0x631,_0x574f3e:0x5ce,_0x3b4f7b:0x3a6,_0x3e3b1a:0x547},_0x1b6923={_0x5ab0b7:0xeb},_0x2c38c1={_0xc69cba:0x9};if(_0x365637&&typeof _0x365637===_0x58c1b7(_0x237c3b._0x593cfa,0x703,0x905,_0x237c3b._0x35b2cb)&&!Array[_0x5b2b55(0x37f,0x6c4,0x54c,0x510)](_0x365637)&&typeof _0x365637[_0x5b2b55(0x94f,_0x237c3b._0x438867,_0x237c3b._0x2bbdf4,0x743)]==='string')return _0x365637[_0x58c1b7(_0x237c3b._0x3136f6,_0x237c3b._0x2b01e7,0x619,0x490)];function _0x5b2b55(_0x23653a,_0x4c4c74,_0x3f0721,_0x28f2c2){return _0x16ac01(_0x23653a-_0x2c38c1._0xc69cba,_0x28f2c2-0x579,_0x3f0721-0x1ad,_0x4c4c74);}function _0x58c1b7(_0x188a95,_0x13737,_0x2fc6f7,_0x1cec9b){return _0x16ac01(_0x188a95-0x83,_0x13737-0x467,_0x2fc6f7-_0x1b6923._0x5ab0b7,_0x2fc6f7);}return _0x5b2b55(_0x237c3b._0x574f3e,0x49f,_0x237c3b._0x3b4f7b,_0x237c3b._0x3e3b1a);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md','docs/plans/2026-04-16-mock-agent-loop-implementation.md',_0x5885dd(0x4ec,0x30d,0x4f5,0x381),_0x16ac01(-0xcb,0x3f,-0xd5,0x2e),_0x5885dd(0x26e,0x40,0x184,0x1f3),_0x16ac01(-0x1e2,0x1,0x1b8,0x131),'src/examples/demo.ts',_0x16ac01(-0x64,0x68,0x21b,0x222),_0x5885dd(0x30c,0x643,0x2d2,0x48a),'src/tools/core/mock-tool-runtime.ts',_0x5885dd(0x323,0x386,0x2c1,0x348),'src/agent/turn-engine.ts',_0x16ac01(0x397,0x2df,0x3cb,0x372),'src/agent/agent.test.ts','src/models/anthropic-model.ts',_0x5885dd(0x2ef,0x2,0x4,0x1f7),_0x5885dd(0x24f,0x46a,0x413,0x3bf)]['join']('\x0a'),SHELL_EXEC_TOOL={'name':_0x5885dd(0x286,0x133,0x246,0x2de),'description':_0x5885dd(0x24e,0x50,0x131,0x1ff),'input_schema':{'type':_0x5885dd(0x382,0x4f3,0x4ac,0x52b),'properties':{'command':{'type':_0x16ac01(0x21e,0x257,0x2bd,0x285)}},'required':[_0x5885dd(0x26b,0x5db,0x417,0x459)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x557f70){return{'output':_0x557f70,'structured':{'value':_0x557f70}};}function createUnknownToolResult(_0x5d9726){const _0xb204b={_0x5b4167:0x960,_0x5dce6d:0x81c,_0x11d5a7:0x6,_0x3c7f9c:0x1a,_0x406a2b:0x72d,_0x2cce6b:0x98c},_0x4bdcaa={_0x2094ab:0x21,_0x5daf9f:0x7};function _0x5c915b(_0x56252e,_0x230b12,_0x19750a,_0x31f38f){return _0x16ac01(_0x56252e-_0x4bdcaa._0x2094ab,_0x230b12-0x25,_0x19750a-_0x4bdcaa._0x5daf9f,_0x31f38f);}function _0x23f29a(_0x4a4d67,_0x17dd88,_0x50c02e,_0x337fed){return _0x5885dd(_0x4a4d67-0xe7,_0x17dd88,_0x50c02e-0x1cb,_0x337fed-0x3db);}return{'callId':_0x5d9726['id'],'toolName':_0x5d9726[_0x5c915b(0x2c3,0x23c,0x1da,0x3fe)],'status':_0x23f29a(_0xb204b._0x5b4167,0x6d6,0x79e,_0xb204b._0x5dce6d),'output':_0x5c915b(-0x80,_0xb204b._0x11d5a7,-0x15,-_0xb204b._0x3c7f9c)+_0x5d9726[_0x23f29a(0x87b,_0xb204b._0x406a2b,_0xb204b._0x2cce6b,0x881)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x5ab93e,_0x3f5aaf){const _0x232b31={_0x34e6db:0x6f9,_0x3f9a68:0x7a7},_0x3f3a62={_0x38f325:0x1a5};function _0xfedb94(_0x5d081c,_0x537ad6,_0x16287f,_0x129027){return _0x5885dd(_0x5d081c-0x1e3,_0x16287f,_0x16287f-0x145,_0x537ad6-0x253);}function _0x483882(_0x1db9aa,_0x52c990,_0x172ff1,_0x4543ba){return _0x5885dd(_0x1db9aa-0x79,_0x172ff1,_0x172ff1-_0x3f3a62._0x38f325,_0x4543ba- -0x3c4);}return{'callId':_0x5ab93e['id'],'toolName':_0x5ab93e[_0xfedb94(0x729,_0x232b31._0x34e6db,_0x232b31._0x3f9a68,0x70d)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x5ab93e[_0xfedb94(0x5dc,0x760,0x820,0x93b)]),'exitCode':0x0},'chunks':[_0x3f5aaf],'meta':createMeta()};}function createMockToolRuntime(){const _0x58f128={_0xc627c8:0xde,_0x332b08:0x26d,_0x4c1b7e:0x252,_0x1de86e:0x447},_0x31001e={_0x17e339:0x131,_0x4f80ff:0xcb},_0x289978={_0x429f8e:0x237},_0x32dd03=async(_0x32ded7,_0x2ae544)=>{if(_0x32ded7['name']!==_0x402d9a(-0x99,0x21a,-_0x31001e._0x17e339,_0x31001e._0x4f80ff))return createUnknownToolResult(_0x32ded7);const _0xe0b90=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0x402d9a(_0x543eb2,_0x1acf2c,_0x3dae73,_0x19fab1){return _0xa933(_0x19fab1- -_0x289978._0x429f8e,_0x3dae73);}return createSuccessToolResult(_0x32ded7,_0xe0b90);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x27705b,_0x2db693){const _0x2cf467={_0x52272a:0x2cf};function _0x4e1b5a(_0x2b3a85,_0x35f5f4,_0x1a6cc9,_0x358f8d){return _0xa933(_0x2b3a85-0xfb,_0x358f8d);}function _0x1602cc(_0x3a2190,_0xe28510,_0x39fb99,_0x4e1ecd){return _0xa933(_0xe28510- -_0x2cf467._0x52272a,_0x3a2190);}return await Promise[_0x1602cc(-0x17f,-0x3f,0x169,_0x58f128._0xc627c8)](_0x27705b[_0x4e1b5a(_0x58f128._0x332b08,_0x58f128._0x4c1b7e,_0x58f128._0x1de86e,0x56)](async _0x577739=>{return await _0x32dd03(_0x577739,_0x2db693);}));},async 'execute'(_0x390b72,_0x5b49e3){return await _0x32dd03(_0x390b72,_0x5b49e3);}};}import{randomUUID}from'crypto';var MODEL_TIERS=[_0x5885dd(0x354,0x395,0x5fc,0x4d9),_0x5885dd(0x194,0x4be,0x495,0x32b),_0x5885dd(0x5fa,0x47a,0x5c1,0x4ca)],DelegatedResolutionError=class extends Error{[_0x5885dd(0x33b,0x61d,0x699,0x4ac)];[_0x16ac01(0xc6,-0xc6,-0x2a4,-0x2a9)];[_0x16ac01(0x105,0x22e,0x360,0x417)];constructor(_0x3f6749,_0x59f1a3,_0x4e37aa){const _0x335591={_0x322951:0x725,_0x5644e4:0x759,_0x43dcbc:0x732,_0x403a25:0x1ec,_0x2f4b5c:0x1c0,_0x202357:0x41,_0x3aba92:0x6f,_0x56db6b:0x252,_0x373d48:0x136,_0x76bca6:0x125},_0x12c9a5={_0x5d062e:0x24},_0x48315d={_0x1bc2bd:0x1e7,_0x3e2dd3:0x5f9};function _0x39ba15(_0x4056c5,_0x1c4f67,_0x39054c,_0x96c3a){return _0x16ac01(_0x4056c5-_0x48315d._0x1bc2bd,_0x96c3a-_0x48315d._0x3e2dd3,_0x39054c-0x21,_0x1c4f67);}super(_0x3f6749,_0x4e37aa);function _0x1dfec4(_0x3d7213,_0x2820c1,_0x480c37,_0x177079){return _0x16ac01(_0x3d7213-0xfb,_0x2820c1-_0x12c9a5._0x5d062e,_0x480c37-0xfa,_0x3d7213);}this[_0x39ba15(0x99f,_0x335591._0x322951,_0x335591._0x5644e4,0x810)]=_0x39ba15(0x8b7,0x7e7,0x535,_0x335591._0x43dcbc),this['requestedModelTier']=_0x59f1a3['requestedModelTier'],this[_0x1dfec4(-_0x335591._0x403a25,-0xa2,-_0x335591._0x2f4b5c,-0x17)]=_0x59f1a3[_0x1dfec4(0x128,-0xa2,-_0x335591._0x202357,-_0x335591._0x3aba92)],this['selector']=_0x59f1a3[_0x1dfec4(0xff,_0x335591._0x56db6b,_0x335591._0x373d48,_0x335591._0x76bca6)];}};function createDelegatedRunId(){const _0x321c39={_0x1fa329:0x333,_0x5d204e:0x36d,_0x47c836:0x1db},_0xcd50fe={_0x5374d8:0x74,_0x35e416:0x81};function _0x152608(_0x2da837,_0x5db741,_0x31fede,_0x51685b){return _0x5885dd(_0x2da837-_0xcd50fe._0x5374d8,_0x31fede,_0x31fede-0x1a4,_0x5db741-_0xcd50fe._0x35e416);}return _0x152608(_0x321c39._0x1fa329,_0x321c39._0x5d204e,0x360,_0x321c39._0x47c836)+randomUUID();}function rethrowDelegatedError(_0x2f1278){throw _0x2f1278;}async function resolveDelegatedAgentOptions(_0x416868,_0x3eb25a){const _0x3ecb3d={_0x45fbbe:0x13e,_0x31a55f:0xb5,_0x5b727b:0x13a,_0x3a8a8a:0x2c2,_0x3d43be:0x265,_0x358f00:0x2ee,_0x5b31a5:0xb2,_0xcc008f:0x45},_0x16ed3c={_0x35ef55:0x7,_0x2f632b:0x26,_0x52b8ef:0x6c},_0x2cc7fa={_0x59033c:0x5b};function _0x1ca3e4(_0xc8d0d0,_0x453aa7,_0x4a856f,_0x4a5939){return _0x5885dd(_0xc8d0d0-_0x2cc7fa._0x59033c,_0xc8d0d0,_0x4a856f-0x8d,_0x4a5939-0x313);}function _0x22356a(_0x211517,_0x2a0ef1,_0x29e99d,_0x1f2989){return _0x16ac01(_0x211517-_0x16ed3c._0x35ef55,_0x211517-_0x16ed3c._0x2f632b,_0x29e99d-_0x16ed3c._0x52b8ef,_0x29e99d);}const _0x121221=typeof _0x416868===_0x22356a(-0x3a,-_0x3ecb3d._0x45fbbe,_0x3ecb3d._0x31a55f,-_0x3ecb3d._0x5b727b)?await _0x416868(_0x3eb25a):_0x416868;return typeof _0x121221===_0x22356a(_0x3ecb3d._0x3a8a8a,_0x3ecb3d._0x3d43be,_0x3ecb3d._0x358f00,0x274)&&_0x121221!==null&&Object[_0x22356a(_0x3ecb3d._0x5b31a5,-0x93,0x86,_0x3ecb3d._0xcc008f)](_0x121221,_0x22356a(0x1c7,0x357,0x204,0xad))?_0x121221:{'options':_0x121221};}function awaitWithAbort(_0x55a6c1,_0x98aa81){return throwIfAborted(_0x98aa81),new Promise((_0x3689cb,_0x1edbd1)=>{const _0x18588a={_0x235c86:0x431,_0x130a46:0x163};let _0x5244f7=![];const _0x2ca0fd=addAbortListener(_0x98aa81,()=>{const _0x4e34a2={_0x5a2f0e:0x1d0};if(_0x5244f7)return;function _0x580cbf(_0x3fd467,_0x65b996,_0x419c0c,_0x426449){return _0xa933(_0x419c0c-_0x4e34a2._0x5a2f0e,_0x426449);}_0x5244f7=!![],_0x1edbd1(toAbortError(_0x98aa81[_0x580cbf(_0x18588a._0x235c86,_0x18588a._0x130a46,0x347,0x44f)]));});_0x55a6c1['then'](_0x1aaba7=>{if(_0x5244f7)return;_0x5244f7=!![],_0x2ca0fd(),_0x3689cb(_0x1aaba7);},_0x278650=>{if(_0x5244f7)return;_0x5244f7=!![],_0x2ca0fd(),_0x1edbd1(_0x278650);});});}function getDelegatedAgentDefinition(_0x2b4230,_0x9f146a){const _0x30fba5={_0x6d321c:0x81c,_0x14fed8:0x65b};function _0x2076ec(_0x11f779,_0x1d82d5,_0x30c90a,_0xb1686c){return _0x5885dd(_0x11f779-0x1f0,_0xb1686c,_0x30c90a-0x12a,_0x11f779-0x28b);}return _0x2b4230[_0x2076ec(0x75a,_0x30fba5._0x6d321c,0x945,_0x30fba5._0x14fed8)]?.[_0x9f146a];}function createRoutingSummary(_0x5542fb){const _0x442ea9={_0x1ec813:0x17b,_0x45a063:0x30,_0x49e095:0x1b1,_0x1f1e9f:0x50d,_0x56b8ce:0x432,_0x54797b:0x522,_0x34635a:0x2f,_0x1e8274:0x266,_0x25cbfe:0xca,_0x4cd5eb:0x5d7,_0x4c5226:0x5e6,_0x418f64:0x7b,_0x3f3b8d:0xc2,_0x5a08ce:0x135},_0x28faef={_0xf9b973:0xb},_0x38aa34={_0x46e7e1:0x6c};if(_0x5542fb[_0x3566dd(_0x442ea9._0x1ec813,-_0x442ea9._0x45a063,0x1ef,_0x442ea9._0x49e095)]===void 0x0)return{};function _0x3566dd(_0x5a2976,_0x25eb83,_0x325a27,_0x4853f2){return _0x16ac01(_0x5a2976-0xb5,_0x4853f2- -_0x38aa34._0x46e7e1,_0x325a27-0x4a,_0x25eb83);}function _0xfb4a66(_0x57a06e,_0x3029ec,_0x112b62,_0x233c0f){return _0x5885dd(_0x57a06e-_0x28faef._0xf9b973,_0x233c0f,_0x112b62-0x198,_0x3029ec-0x192);}const _0xa03ccf=_0x5542fb[_0xfb4a66(_0x442ea9._0x1f1e9f,0x586,_0x442ea9._0x56b8ce,_0x442ea9._0x54797b)]?.[_0x3566dd(-0x12a,-0x237,-0x27,-0x132)]??_0x5542fb[_0x3566dd(-_0x442ea9._0x34635a,-_0x442ea9._0x1e8274,_0x442ea9._0x25cbfe,-0x132)];return{'requestedModelTier':_0x5542fb[_0xfb4a66(_0x442ea9._0x4cd5eb,0x63e,0x6a3,_0x442ea9._0x4c5226)],..._0xa03ccf===void 0x0?{}:{'agentModelSet':_0xa03ccf},..._0x5542fb[_0x3566dd(-_0x442ea9._0x418f64,0x86,0x124,0xf9)]?.['resolvedModelIdentity']===void 0x0?{}:{'resolvedModelIdentity':_0x5542fb[_0x3566dd(0x1dd,_0x442ea9._0x3f3b8d,_0x442ea9._0x5a08ce,0xf9)]['resolvedModelIdentity']}};}function createStructuredWithRoutingSummary(_0x4781e6,_0x5cb452){const _0x1d3b1e={_0x2900cd:0x428,_0x56ae68:0x538,_0xc52a08:0x520,_0x3ec3cc:0x405,_0x2bd9ff:0x437,_0xb9b2a0:0x25d,_0xd5af87:0x4b7},_0xeb23f8={_0x4e5cc3:0x9},_0x575c7a={_0x53a45e:0x1e1},_0x8d543={..._0x4781e6};delete _0x8d543[_0x3d5587(_0x1d3b1e._0x2900cd,_0x1d3b1e._0x56ae68,_0x1d3b1e._0xc52a08,0x31e)];function _0x3d5587(_0x4893e6,_0x1484cf,_0x5227f1,_0x237039){return _0x5885dd(_0x4893e6-_0x575c7a._0x53a45e,_0x237039,_0x5227f1-0x1ab,_0x5227f1-0x74);}delete _0x8d543[_0x37bef2(0x454,_0x1d3b1e._0x3ec3cc,0x2ca,0x262)],delete _0x8d543[_0x3d5587(_0x1d3b1e._0x2bd9ff,_0x1d3b1e._0xb9b2a0,0x364,_0x1d3b1e._0xd5af87)];function _0x37bef2(_0x476638,_0xabb44c,_0x28b644,_0x3c04ac){return _0x16ac01(_0x476638-_0xeb23f8._0x4e5cc3,_0xabb44c-0x4cb,_0x28b644-0x1cf,_0x3c04ac);}return{..._0x8d543,...createRoutingSummary(_0x5cb452)};}function createRunSummary(_0x379f50){const _0x304e34={_0x4b5e9b:0x141,_0x2c36d2:0xd0,_0x4c3ef0:0x123,_0x2110a6:0x31,_0x323251:0x2,_0x5aa428:0x5c,_0x4d48bb:0x399,_0x13fd57:0x3c9,_0x808de8:0x328,_0x17a534:0x1e9,_0x27e37f:0x155,_0x46c0ff:0x8d,_0x38bb50:0x1db,_0x15d3a2:0x2cb,_0x41e82c:0x34,_0x5e025e:0x8a},_0x7262c2={_0x5d823d:0x11e},_0x3a7771={_0x5091cc:0x59};function _0x361347(_0x359882,_0x3fc234,_0x22e6ea,_0x427ddf){return _0x5885dd(_0x359882-0x124,_0x22e6ea,_0x22e6ea-_0x3a7771._0x5091cc,_0x427ddf- -0xe6);}function _0x3909eb(_0x16b3dd,_0x21dee4,_0x363ce7,_0x4fa3ce){return _0x16ac01(_0x16b3dd-0x2a,_0x4fa3ce-_0x7262c2._0x5d823d,_0x363ce7-0x149,_0x21dee4);}return{'runId':_0x379f50['runId'],'agentId':_0x379f50['agentId'],..._0x379f50[_0x3909eb(-0x3a,-0x16c,-_0x304e34._0x4b5e9b,0x31)]!==void 0x0?{'sessionId':_0x379f50[_0x3909eb(-_0x304e34._0x2c36d2,-_0x304e34._0x4c3ef0,-0x6f,_0x304e34._0x2110a6)]}:{},'status':_0x379f50['status'],'parentSessionId':_0x379f50['parentSessionId'],..._0x379f50[_0x361347(_0x304e34._0x323251,-0x108,0x227,0xc2)]!==void 0x0?{'originToolCallId':_0x379f50['originToolCallId']}:{},...createRoutingSummary(_0x379f50),..._0x379f50[_0x3909eb(-_0x304e34._0x5aa428,0x31b,0x341,0x158)]!==void 0x0?{'errorMessage':_0x379f50[_0x361347(0x2c9,_0x304e34._0x4d48bb,_0x304e34._0x13fd57,0x1e3)]}:{},..._0x379f50[_0x361347(_0x304e34._0x808de8,_0x304e34._0x17a534,-0x95,_0x304e34._0x27e37f)]?.[_0x3909eb(_0x304e34._0x46c0ff,0xfc,0x3ad,_0x304e34._0x38bb50)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x379f50[_0x3909eb(_0x304e34._0x15d3a2,-_0x304e34._0x41e82c,_0x304e34._0x5e025e,0xca)]['finalMessage'])}:{}};}function createRunSummaryOutput(_0x1ee538,_0x2f13b8){const _0x112949={_0x46e8dd:0x38b};function _0x57546d(_0x4de925,_0x2d05ba,_0x50b271,_0x315a94){return _0x5885dd(_0x4de925-0xd2,_0x315a94,_0x50b271-0x155,_0x50b271-0x331);}function _0x326f74(_0x3e8c2d,_0x113421,_0x5efd18,_0x4ea292){return _0x16ac01(_0x3e8c2d-0x7f,_0x113421-_0x112949._0x46e8dd,_0x5efd18-0x13e,_0x5efd18);}const _0x4095e1=createRunSummary(_0x1ee538),_0x4e4316=_0x4095e1['finalMessageText'];return createToolOutput(typeof _0x4e4316===_0x326f74(0x7b6,0x5e2,0x5ce,0x4ab)&&_0x4e4316[_0x326f74(0x5aa,0x487,0x594,0x29f)]>0x0?_0x4e4316:_0x2f13b8,_0x4095e1);}function getRunTerminalErrorMessage(_0x5505d5){const _0x255539={_0x271483:0x2d,_0x1ad89a:0xc5,_0x2d5737:0x38a,_0x2fe23e:0x1a7,_0x51e757:0x1cd,_0x55140b:0x326,_0x3f91df:0x21f,_0x5ca3f9:0x483,_0x5d60b4:0x619,_0x2fe710:0x25b,_0x18644c:0x66,_0x323951:0x1ce,_0x5a821e:0xb3},_0x5d4b9a={_0x3f7a5e:0x16a},_0x213e2f={_0x2017b2:0x8f};function _0x5536ba(_0x307dcc,_0x2cff3d,_0x5d2fc4,_0xd3a4a8){return _0x5885dd(_0x307dcc-_0x213e2f._0x2017b2,_0x5d2fc4,_0x5d2fc4-0xe2,_0x2cff3d- -0xc1);}const _0x3ada61=_0x5505d5?.[_0x4d262c(-0x93,0x74,-_0x255539._0x271483,-0x15e)][_0x5536ba(0x15e,0x247,_0x255539._0x1ad89a,_0x255539._0x2d5737)]['at'](-0x1);if(_0x3ada61?.[_0x5536ba(-0xae,0x123,_0x255539._0x2fe23e,_0x255539._0x51e757)]===_0x5536ba(_0x255539._0x55140b,0x380,0x3fc,_0x255539._0x3f91df)&&_0x3ada61[_0x5536ba(0x475,_0x255539._0x5ca3f9,_0x255539._0x5d60b4,0x2c7)][_0x4d262c(0x1e2,_0x255539._0x2fe710,0x194,_0x255539._0x18644c)]()[_0x5536ba(_0x255539._0x323951,0x2ca,0x4d5,_0x255539._0x5a821e)]>0x0)return _0x3ada61['output'];function _0x4d262c(_0x2f28c9,_0x35e57f,_0x3b89f2,_0x12c0e6){return _0x5885dd(_0x2f28c9-0x96,_0x3b89f2,_0x3b89f2-0x40,_0x35e57f- -_0x5d4b9a._0x3f7a5e);}return void 0x0;}function _0xa933(_0x469f26,_0x13e715){_0x469f26=_0x469f26-0x168;const _0x5a626f=_0x5a62();let _0xa933c4=_0x5a626f[_0x469f26];if(_0xa933['oNSbby']===undefined){var _0x496927=function(_0x4ff3f7){const _0x5812ca='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4bb817='',_0x4203a1='';for(let _0x15bf01=0x0,_0x10da83,_0x33177b,_0x348930=0x0;_0x33177b=_0x4ff3f7['charAt'](_0x348930++);~_0x33177b&&(_0x10da83=_0x15bf01%0x4?_0x10da83*0x40+_0x33177b:_0x33177b,_0x15bf01++%0x4)?_0x4bb817+=String['fromCharCode'](0xff&_0x10da83>>(-0x2*_0x15bf01&0x6)):0x0){_0x33177b=_0x5812ca['indexOf'](_0x33177b);}for(let _0x3d7b35=0x0,_0x2a9ef1=_0x4bb817['length'];_0x3d7b35<_0x2a9ef1;_0x3d7b35++){_0x4203a1+='%'+('00'+_0x4bb817['charCodeAt'](_0x3d7b35)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4203a1);};_0xa933['RqihlE']=_0x496927,_0xa933['YCOBco']={},_0xa933['oNSbby']=!![];}const _0x8d6af0=_0x5a626f[0x0],_0x377d2c=_0x469f26+_0x8d6af0,_0x178f46=_0xa933['YCOBco'][_0x377d2c];return!_0x178f46?(_0xa933c4=_0xa933['RqihlE'](_0xa933c4),_0xa933['YCOBco'][_0x377d2c]=_0xa933c4):_0xa933c4=_0x178f46,_0xa933c4;}function formatAbortedRunMessage(_0x3d25d4,_0x3dc7e5){const _0x2d5c12={_0x4f67ab:0x54d,_0x972cbd:0x67d},_0x33f3ec={_0x1c7470:0x1c4,_0x14c05f:0x25f},_0x4d8a6f={_0x5cab9a:0xe1},_0x146e74=_0xab9f36(0x354,0x3e7,_0x2d5c12._0x4f67ab,0x4ad)+_0x3d25d4+_0x7abc51(0x610,_0x2d5c12._0x972cbd,0x7a6,0x3ff);if(!_0x3dc7e5||_0x3dc7e5['trim']()['length']===0x0||_0x3dc7e5===_0x146e74)return _0x146e74;function _0xab9f36(_0x1d85da,_0x52e063,_0x38bea2,_0x5a9454){return _0x16ac01(_0x1d85da-0x1eb,_0x5a9454-0x3d1,_0x38bea2-_0x4d8a6f._0x5cab9a,_0x38bea2);}function _0x7abc51(_0x5515b6,_0x1ff3c4,_0x163ee0,_0x136113){return _0x5885dd(_0x5515b6-0x7a,_0x163ee0,_0x163ee0-_0x33f3ec._0x1c7470,_0x5515b6-_0x33f3ec._0x14c05f);}return _0x146e74+'\x20Cause:\x20'+_0x3dc7e5;}function createAssignTaskTool(_0x38287a){const _0x4903d8={_0x117766:0x4d2,_0x5df068:0x3b7,_0x2e6dbd:0x32d,_0x40e13f:0x408,_0x30a6ba:0x391,_0x3ea521:0x540,_0x5ae763:0x4d9,_0x264099:0x83,_0x5ec565:0x1b6,_0x4ed5c4:0x588,_0x5cdf53:0x508,_0x46232e:0x5f0,_0x49a053:0x512,_0x277370:0x28a,_0x42b26f:0x148,_0x258cae:0x34c,_0x80831:0x2f8,_0x21abfc:0x460,_0x579a45:0x3cc,_0x3bf7f4:0x48c,_0x2e2975:0x347,_0x526a80:0x446,_0x83fefc:0x382,_0xdcfbbd:0x13d,_0x533367:0x13f,_0x2d176b:0x7b,_0x54c728:0x11b},_0x3deb8c={_0x5bc944:0x7c,_0x28565b:0x454,_0x279081:0x1a3,_0x4488fc:0x2df,_0x33161d:0xd7,_0x45923:0x125,_0x5b61c2:0x1a8,_0x26e7e9:0x1f,_0x22241f:0xd9,_0x30a280:0x74,_0x19717e:0x4c,_0x3b7057:0x207,_0x36cd6a:0x358,_0x47d0f3:0x27c,_0x4d1d1a:0x13e,_0x71d52a:0x2c5,_0x497c2c:0x64,_0x2ada16:0x1a7,_0x1bcf08:0xd9,_0x556d37:0x1b5,_0x1ab301:0xd9,_0x139951:0x29e,_0x4372a8:0x68,_0x33a0fb:0x42,_0x315041:0x114,_0x2201e0:0x20f,_0x588db4:0x227,_0x2eeb7d:0x0,_0x23b1f8:0x261,_0x2b24b3:0x30f,_0x1345c0:0x162,_0x1fead3:0x36,_0x5eceb8:0x1eb,_0x14e5a6:0x3c0,_0x2c1926:0xed,_0xe74a45:0x16c,_0x46e0e4:0xf7,_0x3bc82d:0x109,_0xc1f47e:0x69,_0x551951:0x12d,_0x4b846f:0x284,_0x46e2f1:0xdb,_0x570171:0xf,_0x4ffce3:0x155,_0x4d5fd4:0xf4,_0x1c024b:0x100,_0x37d75b:0x91,_0x5d9386:0x1c7,_0x3d46fe:0xc8,_0x58942e:0x19,_0x911ba0:0x34a,_0x1c0ae1:0x3da,_0xe5b9b4:0x189,_0x2bc05d:0x16f,_0x75842b:0x5f,_0x2fd7e1:0x199,_0x585186:0x1a1,_0x50ec03:0x1e1,_0x146ba3:0x254,_0x4d7ef9:0x217,_0xbb6907:0x2b5,_0xf81769:0x249,_0x294b0a:0x22,_0x35835f:0xc3,_0x17daac:0x25,_0x48b59f:0x161,_0x190cd9:0x196,_0x58ccb3:0x1ba,_0x67e6f1:0x179,_0x2690bd:0x196,_0x58990a:0x7d,_0x34043f:0x24,_0xa46f3d:0x269,_0x68f883:0x129,_0x253a03:0x394,_0x5c32fa:0x1ca,_0x109050:0xf9,_0x32fe6a:0x28,_0x47e6a4:0x524,_0xa128e4:0x369,_0x1bea02:0x159,_0x33daaf:0x243,_0x5b1cf7:0x54,_0x214edf:0x18a,_0x51cc5d:0x1a,_0x55626a:0x2cf,_0x56a365:0x10e,_0x47e52f:0x1de,_0xa54758:0x1ee,_0x782c8e:0x124,_0x57addf:0x1cc,_0x5bf540:0x16c,_0x36b00f:0x32b,_0x397934:0x280,_0x588eb6:0x1a9,_0x4189eb:0xd8,_0x8283bb:0x40,_0x45cd36:0x219,_0x5e7c19:0x18,_0x4b98c9:0x32,_0xf4eea7:0x2b7,_0x24405f:0x2f1,_0x463004:0x3ee,_0x36e14d:0x466,_0x4ffb79:0x32a,_0x5ecd76:0x478,_0x25ac1e:0x2f2,_0x6019d1:0x92,_0x4a159f:0x1c9,_0x391b07:0xdb,_0x42a962:0x67,_0x1aa554:0x391,_0x324e30:0x195,_0x41a115:0x117,_0xd36f2f:0x226,_0xb9446c:0x231,_0x1dfc9d:0x1c2,_0x2b24a4:0x1b4,_0x8a035b:0x26c,_0x19702b:0xf0,_0x256cb6:0x2ce,_0x24ab3c:0x2fd,_0x4edc7a:0x3e3,_0x999261:0x1ca,_0x3ab136:0x3c8,_0x46160d:0x369},_0x533aea={_0x4ca9e1:0x228,_0xdc0748:0x1de},_0x1dd47b={_0x58921e:0x1a8,_0x206642:0xf5,_0x32a898:0x2c};function _0x1efae2(_0x5c2fd8,_0x47cbe6,_0x7b3a2e,_0xbe06d6){return _0x5885dd(_0x5c2fd8-0x188,_0x47cbe6,_0x7b3a2e-0x154,_0x7b3a2e-0x22);}function _0x532aec(_0x5c7029,_0x1433cf,_0x53fb5d,_0x51d8dc){return _0x16ac01(_0x5c7029-_0x1dd47b._0x58921e,_0x1433cf-_0x1dd47b._0x206642,_0x53fb5d-_0x1dd47b._0x32a898,_0x5c7029);}return defineTool({'name':'AssignTask','permissionClass':'always-confirm','description':_0x532aec(_0x4903d8._0x117766,_0x4903d8._0x5df068,_0x4903d8._0x2e6dbd,_0x4903d8._0x40e13f),'inputSchema':{'type':_0x532aec(0x398,_0x4903d8._0x30a6ba,_0x4903d8._0x3ea521,_0x4903d8._0x5ae763),'properties':{'agentId':{'type':'string','description':_0x532aec(_0x4903d8._0x264099,_0x4903d8._0x5ec565,0x159,0xc3)},'description':{'type':'string','description':_0x1efae2(0x5a6,0x386,0x3f7,0x51a)},'nickname':{'type':_0x1efae2(_0x4903d8._0x4ed5c4,0x6b9,_0x4903d8._0x5cdf53,_0x4903d8._0x46232e),'description':_0x1efae2(0x357,_0x4903d8._0x49a053,0x3ff,_0x4903d8._0x277370)},'task':{'type':_0x532aec(_0x4903d8._0x42b26f,_0x4903d8._0x258cae,0x2a6,_0x4903d8._0x80831),'description':'Complete,\x20self-contained\x20instructions\x20sent\x20verbatim\x20to\x20the\x20delegated\x20agent.\x20Include\x20relevant\x20context,\x20scope,\x20constraints,\x20and\x20expected\x20output.'},'modelTier':{'type':_0x1efae2(0x6f5,_0x4903d8._0x21abfc,0x508,_0x4903d8._0x579a45),'enum':[...MODEL_TIERS],'description':_0x1efae2(_0x4903d8._0x3bf7f4,0x4f9,_0x4903d8._0x2e2975,_0x4903d8._0x526a80)}},'required':[_0x1efae2(0x2f2,_0x4903d8._0x83fefc,0x3cb,0x314),_0x532aec(0x1e9,_0x4903d8._0xdcfbbd,_0x4903d8._0x533367,-0xae),_0x532aec(0xb3,_0x4903d8._0x2d176b,0xf7,-_0x4903d8._0x54c728)]},async *'execute'(_0x5a5d31,_0x290dc6){const _0x97911c={_0xec11d9:0xff},_0x353636={_0x436852:0x52f,_0x16f453:0x4c9,_0x3225ea:0x4c7,_0x157441:0x3ac},_0x185d8e={_0x2b65fb:0x11c,_0x3c5a57:0xf9},_0x451c13=createDelegatedRunId(),_0x3226ca=new AbortController(),_0x32dd22=_0x5a5d31[_0x92c92e(0x27a,0x12f,_0x3deb8c._0x5bc944,_0x3deb8c._0x28565b)],_0x48efe3={'agentId':_0x5a5d31[_0x92c92e(_0x3deb8c._0x279081,_0x3deb8c._0x4488fc,_0x3deb8c._0x33161d,0x29a)],'parentSessionId':_0x290dc6[_0x8e6423(_0x3deb8c._0x45923,0xf,_0x3deb8c._0x5b61c2,-_0x3deb8c._0x26e7e9)],'runId':_0x451c13,'signal':_0x3226ca['signal'],..._0x290dc6[_0x92c92e(_0x3deb8c._0x22241f,_0x3deb8c._0x30a280,0x2bb,0xe)]!==void 0x0?{'toolCallId':_0x290dc6[_0x92c92e(0xd9,-0xac,_0x3deb8c._0x19717e,0x155)]}:{},..._0x32dd22===void 0x0?{}:{'modelTier':_0x32dd22}},_0x579efa=getDelegatedAgentDefinition(_0x38287a,_0x5a5d31[_0x92c92e(0x1a3,0xd8,0x132,-0x71)]);if(!_0x579efa)throw new ToolExecutionError(_0x8e6423(_0x3deb8c._0x3b7057,_0x3deb8c._0x36cd6a,0x39a,_0x3deb8c._0x47d0f3)+_0x5a5d31['agentId'],{'agentId':_0x5a5d31['agentId'],..._0x32dd22===void 0x0?{}:{'requestedModelTier':_0x32dd22}});function _0x92c92e(_0x45d2e7,_0x20ff51,_0x2b32a4,_0x465bed){return _0x1efae2(_0x45d2e7-0x3f,_0x2b32a4,_0x45d2e7- -_0x533aea._0x4ca9e1,_0x465bed-_0x533aea._0xdc0748);}let _0xe0aec2={'runId':_0x451c13,'agentId':_0x5a5d31[_0x8e6423(_0x3deb8c._0x4d1d1a,0x216,0x2d9,0x303)],'status':_0x8e6423(_0x3deb8c._0x71d52a,0x1c9,0x89,0x126),'parentSessionId':_0x290dc6[_0x92c92e(-_0x3deb8c._0x497c2c,0x164,-0xdf,-_0x3deb8c._0x2ada16)],..._0x290dc6[_0x92c92e(_0x3deb8c._0x1bcf08,_0x3deb8c._0x71d52a,_0x3deb8c._0x556d37,-0x62)]!==void 0x0?{'originToolCallId':_0x290dc6[_0x92c92e(_0x3deb8c._0x1ab301,_0x3deb8c._0x139951,-0x10c,0xa9)]}:{},..._0x32dd22===void 0x0?{}:{'requestedModelTier':_0x32dd22}};const _0x514da5=addAbortListener(_0x290dc6[_0x92c92e(_0x3deb8c._0x4372a8,0xb2,0x221,-0x141)],()=>{const _0x3e3a0d={_0x4c38ac:0x64};function _0x391332(_0x201c97,_0x518d0d,_0x46cbf9,_0x26b310){return _0x92c92e(_0x201c97-_0x185d8e._0x2b65fb,_0x518d0d-_0x185d8e._0x3c5a57,_0x518d0d,_0x26b310-0x10);}function _0x31e8f4(_0x1564c9,_0x407877,_0xf9cfe6,_0x334cdd){return _0x8e6423(_0x334cdd,_0x407877-0x3ec,_0xf9cfe6-0x55,_0x334cdd-_0x3e3a0d._0x4c38ac);}_0x3226ca[_0x31e8f4(0x421,_0x353636._0x436852,0x4b6,_0x353636._0x16f453)](_0x290dc6[_0x31e8f4(0x3f9,_0x353636._0x3225ea,0x6ba,0x564)][_0x31e8f4(0x2d7,_0x353636._0x157441,0x5a6,0x50b)]);});let _0x4102f2,_0x6daa6c;function _0x8e6423(_0x1a4960,_0x132a4a,_0x4f6100,_0x3a660f){return _0x1efae2(_0x1a4960-0x14,_0x1a4960,_0x132a4a- -0x1b5,_0x3a660f-_0x97911c._0xec11d9);}let _0x126db2,_0x498195,_0x5cc83a=![],_0x415232,_0x2491e3,_0x111773=![];const _0x3a1314=_0x38287a[_0x92c92e(0xae,-_0x3deb8c._0x33a0fb,-0x75,0x3)];try{_0x38287a['semaphore']!==void 0x0&&(_0x4102f2=await _0x38287a['semaphore']['acquire'](_0x3226ca[_0x92c92e(0x68,-0xe5,_0x3deb8c._0x315041,-0x15e)]));throwIfAborted(_0x3226ca[_0x8e6423(_0x3deb8c._0x2201e0,0xdb,_0x3deb8c._0x588db4,_0x3deb8c._0x2eeb7d)]);const _0x46eb4c=await awaitWithAbort(resolveDelegatedAgentOptions(_0x579efa,_0x48efe3),_0x3226ca['signal']);_0xe0aec2={..._0xe0aec2,..._0x32dd22===void 0x0||_0x46eb4c[_0x8e6423(0x1da,_0x3deb8c._0x23b1f8,_0x3deb8c._0x2b24b3,0xdc)]?.['agentModelSet']===void 0x0?{}:{'agentModelSet':_0x46eb4c['routing'][_0x8e6423(-_0x3deb8c._0x1345c0,_0x3deb8c._0x1fead3,-0x160,-0x170)]}};const _0x55797d=_0x46eb4c[_0x92c92e(0x22a,_0x3deb8c._0x5eceb8,_0x3deb8c._0x14e5a6,_0x3deb8c._0x2c1926)];throwIfAborted(_0x3226ca['signal']);const _0x2a455b=_0x38287a[_0x92c92e(0x69,-_0x3deb8c._0xe74a45,_0x3deb8c._0x46e0e4,_0x3deb8c._0x3bc82d)]!==void 0x0&&_0x55797d['systemPrompt']!==void 0x0?{..._0x55797d,'systemPrompt':_0x38287a[_0x92c92e(_0x3deb8c._0xc1f47e,0x132,0x176,-_0x3deb8c._0x551951)](_0x55797d['systemPrompt'])}:_0x55797d;throwIfAborted(_0x3226ca[_0x8e6423(_0x3deb8c._0x4b846f,_0x3deb8c._0x46e2f1,-0x69,0x12)]);const _0x1ecfc2=new Agent(_0x2a455b);_0xe0aec2={..._0xe0aec2,'sessionId':_0x1ecfc2[_0x8e6423(-0x77,_0x3deb8c._0x570171,0xd,0x1bf)],..._0x32dd22===void 0x0?{}:{'routing':{'requestedModelTier':_0x32dd22,..._0xe0aec2[_0x8e6423(0x1ed,0x36,-_0x3deb8c._0x4ffce3,-0x3e)]===void 0x0?{}:{'agentModelSet':_0xe0aec2[_0x8e6423(_0x3deb8c._0x4d5fd4,_0x3deb8c._0x1fead3,-0xa0,_0x3deb8c._0x1c024b)]},'resolvedModelIdentity':_0x1ecfc2[_0x8e6423(_0x3deb8c._0x37d75b,0x25a,0x2b1,_0x3deb8c._0x5d9386)][_0x8e6423(_0x3deb8c._0x3d46fe,0x1f3,0x30c,0x17)][_0x8e6423(-0x28,_0x3deb8c._0x58942e,0x134,0xdb)]}}},_0x6daa6c=_0x38287a[_0x92c92e(_0x3deb8c._0x911ba0,_0x3deb8c._0x1c0ae1,0x45e,_0x3deb8c._0xe5b9b4)]?.(_0x1ecfc2,_0x48efe3);const _0x583173=new Promise(_0xf3fae2=>{_0x498195=_0xf3fae2;});_0x126db2=_0x38287a['registerActiveRun']?.({'runId':_0x451c13,'abortController':_0x3226ca,'completion':_0x583173});_0x3a1314!==void 0x0&&(await _0x3a1314[_0x92c92e(_0x3deb8c._0x2bc05d,-_0x3deb8c._0x75842b,-0x85,_0x3deb8c._0x2fd7e1)](_0x1ecfc2,_0x48efe3),_0x5cc83a=!![]);yield createToolOutput(_0x8e6423(_0x3deb8c._0x585186,0xc0,0x222,_0x3deb8c._0x50ec03)+_0xe0aec2['runId']+'.',createRunSummary(_0xe0aec2)),throwIfAborted(_0x3226ca[_0x92c92e(0x68,0x53,_0x3deb8c._0x146ba3,_0x3deb8c._0x4d7ef9)]);const _0x296bf6=await _0x1ecfc2[_0x8e6423(0x491,0x307,_0x3deb8c._0xbb6907,_0x3deb8c._0xf81769)](_0x5a5d31['task'],{'streaming':!![],'signal':_0x3226ca[_0x92c92e(0x68,0x4f,0x1ef,-0xce)]});_0xe0aec2={..._0xe0aec2,'status':_0x296bf6[_0x92c92e(-_0x3deb8c._0x294b0a,-0x225,-_0x3deb8c._0x35835f,_0x3deb8c._0x17daac)],'result':_0x296bf6};if(_0x296bf6[_0x8e6423(-_0x3deb8c._0x48b59f,0x51,-_0x3deb8c._0x190cd9,0xaa)]!==_0x8e6423(_0x3deb8c._0x58ccb3,0xec,_0x3deb8c._0x67e6f1,-0xfb)){const _0x21b883=getRunTerminalErrorMessage(_0x296bf6),_0x544806=formatAbortedRunMessage(_0xe0aec2[_0x92c92e(-0xaa,-0x15,-_0x3deb8c._0x2690bd,-_0x3deb8c._0x58990a)],_0x21b883);_0xe0aec2={..._0xe0aec2,'status':'aborted','errorMessage':_0x544806},_0x415232={'status':_0x92c92e(0x1ca,_0x3deb8c._0x34043f,0x8c,0x2f),'errorMessage':_0x544806};throw new ToolExecutionError(_0x544806,{...createRunSummary(_0xe0aec2),'aborted':!![],'errorMessage':_0x544806});}return _0x415232={'status':_0x8e6423(0x2c4,0xec,-0xa,0x1b2)},createRunSummaryOutput(_0xe0aec2,'Agent\x20run\x20'+_0xe0aec2[_0x92c92e(-0xaa,-_0x3deb8c._0xa46f3d,_0x3deb8c._0x68f883,-0x66)]+_0x8e6423(0x25d,_0x3deb8c._0x14e5a6,0x44f,_0x3deb8c._0x253a03));}catch(_0x228b6d){_0x2491e3=_0x228b6d,_0x111773=!![];if(_0x228b6d instanceof ToolExecutionError){if(_0x415232===void 0x0){if(isAbortError(_0x228b6d)||_0x3226ca['signal']['aborted']||_0x290dc6[_0x8e6423(-0xa2,_0x3deb8c._0x46e2f1,-0xcc,-0x87)][_0x92c92e(_0x3deb8c._0x5c32fa,0x185,_0x3deb8c._0x109050,_0x3deb8c._0x32fe6a)])_0x415232={'status':_0x92c92e(0x1ca,0x380,0x155,0x2bc)};else{const _0xf1a254=_0x228b6d['message'];_0xe0aec2={..._0xe0aec2,'status':_0x8e6423(_0x3deb8c._0x47e6a4,_0x3deb8c._0xa128e4,_0x3deb8c._0x1bea02,_0x3deb8c._0x33daaf),'errorMessage':_0xf1a254},_0x415232={'status':_0x8e6423(0x37b,0x369,0x451,0x348),'errorMessage':_0xf1a254};}}if(_0x32dd22===void 0x0)throw _0x228b6d;throw new ToolExecutionError(_0x228b6d[_0x8e6423(_0x3deb8c._0x5b1cf7,_0x3deb8c._0x214edf,_0x3deb8c._0x51cc5d,_0x3deb8c._0x55626a)],createStructuredWithRoutingSummary(_0x228b6d[_0x92c92e(0x164,_0x3deb8c._0x56a365,_0x3deb8c._0x47e52f,0x81)],_0xe0aec2));}if(_0x228b6d instanceof DelegatedResolutionError){const _0x7bc0da={..._0xe0aec2};delete _0x7bc0da[_0x92c92e(_0x3deb8c._0xa54758,0x12f,0x1b5,_0x3deb8c._0x782c8e)],delete _0x7bc0da[_0x92c92e(-0x3d,_0x3deb8c._0x57addf,-_0x3deb8c._0x5bf540,-0x134)],_0xe0aec2={..._0x7bc0da,'status':'failed','errorMessage':_0x228b6d[_0x8e6423(_0x3deb8c._0x36b00f,0x18a,0x23f,_0x3deb8c._0x397934)],..._0x32dd22===void 0x0||_0x228b6d[_0x8e6423(_0x3deb8c._0x588eb6,0x36,_0x3deb8c._0x4189eb,-_0x3deb8c._0x8283bb)]===void 0x0?{}:{'agentModelSet':_0x228b6d[_0x92c92e(-0x3d,-_0x3deb8c._0x45cd36,-_0x3deb8c._0x5e7c19,_0x3deb8c._0x4b98c9)]}};throw new ToolExecutionError(_0x228b6d['message'],{...createRunSummary(_0xe0aec2),..._0x32dd22===void 0x0||_0x228b6d[_0x92c92e(_0x3deb8c._0xf4eea7,_0x3deb8c._0x24405f,_0x3deb8c._0x463004,0x385)]===void 0x0?{}:{'selector':_0x228b6d[_0x8e6423(_0x3deb8c._0x36e14d,_0x3deb8c._0x4ffb79,0x2ff,_0x3deb8c._0x5ecd76)]},'errorMessage':_0x228b6d[_0x8e6423(0x53,0x18a,0x23c,_0x3deb8c._0x25ac1e)]});}if(isAbortError(_0x228b6d)||_0x3226ca[_0x92c92e(0x68,-_0x3deb8c._0x6019d1,_0x3deb8c._0x4a159f,-0x59)]['aborted']||_0x290dc6[_0x8e6423(-0xf8,_0x3deb8c._0x391b07,-_0x3deb8c._0x42a962,-0x5d)]['aborted']){const _0x29fa4d=getRunTerminalErrorMessage(_0xe0aec2['result'])??(_0x228b6d instanceof Error?_0x228b6d[_0x8e6423(_0x3deb8c._0x1aa554,0x18a,0xb7,0x251)]:String(_0x228b6d)),_0x22fce0=formatAbortedRunMessage(_0xe0aec2[_0x8e6423(-0x50,-0x37,_0x3deb8c._0x324e30,-0x111)],_0x29fa4d);_0xe0aec2={..._0xe0aec2,'status':_0x92c92e(_0x3deb8c._0x5c32fa,0x142,0x3ac,0x1f6),'errorMessage':_0x22fce0},_0x415232={'status':'aborted','errorMessage':_0x22fce0};throw new ToolExecutionError(_0x22fce0,{...createRunSummary(_0xe0aec2),'aborted':!![],'errorMessage':_0x22fce0});}const _0x28c2d5=getRunTerminalErrorMessage(_0xe0aec2['result'])??(_0x228b6d instanceof Error?_0x228b6d[_0x92c92e(_0x3deb8c._0x41a115,_0x3deb8c._0xd36f2f,_0x3deb8c._0xb9446c,_0x3deb8c._0x1dfc9d)]:String(_0x228b6d))??_0x8e6423(0x3ea,0x1d8,0x6,_0x3deb8c._0x2b24a4)+_0xe0aec2['runId']+_0x92c92e(_0x3deb8c._0x8a035b,_0x3deb8c._0x19702b,0xaa,_0x3deb8c._0x256cb6);_0xe0aec2={..._0xe0aec2,'status':_0x92c92e(0x2f6,_0x3deb8c._0x24ab3c,0x207,0x1b0),'errorMessage':_0x28c2d5},_0x415232={'status':_0x8e6423(_0x3deb8c._0x4edc7a,_0x3deb8c._0xa128e4,0x26b,0x555),'errorMessage':_0x28c2d5};throw new ToolExecutionError(_0x28c2d5,{...createRunSummary(_0xe0aec2),'errorMessage':_0x28c2d5});}finally{let _0x23cb68,_0x92f9d0;const _0x5918d9=_0x4533cc=>{if(_0x4533cc===void 0x0)return;try{_0x4533cc();}catch(_0x6b269){_0x92f9d0??=_0x6b269 instanceof Error?_0x6b269:new Error(String(_0x6b269));}};if(_0x5cc83a&&_0x3a1314!==void 0x0){const _0x3a3064=_0x415232??{'status':_0x92c92e(_0x3deb8c._0x999261,0x18,0x110,0x34e)};try{await _0x3a1314[_0x92c92e(0x1d9,_0x3deb8c._0x3ab136,0x183,_0x3deb8c._0x46160d)](_0x48efe3,_0x3a3064);}catch(_0x435904){_0x23cb68=_0x435904 instanceof Error?_0x435904:new Error(String(_0x435904));}}_0x5918d9(_0x38287a[_0x8e6423(0x1cd,0x4,-0x26,0x197)]===void 0x0?void 0x0:()=>_0x38287a['releaseAgentResources']?.(_0x48efe3)),_0x5918d9(_0x498195),_0x5918d9(_0x126db2),_0x5918d9(_0x6daa6c),_0x5918d9(_0x4102f2),_0x5918d9(_0x514da5),_0x23cb68!==void 0x0&&(_0x111773&&(_0x23cb68['cause']=_0x2491e3),rethrowDelegatedError(_0x23cb68)),_0x92f9d0!==void 0x0&&rethrowDelegatedError(_0x92f9d0);}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x4127ad){return[createAssignTaskTool(_0x4127ad)];}import{mkdir as _0x2a9ef1,writeFile}from'fs/promises';import*as _0x427220 from'path';function sanitizeFileName(_0x30c25c){const _0x30fdf7={_0x2f817b:0x8f1,_0x1c197f:0x9c9},_0x4fa161={_0x220121:0x65,_0x30959f:0x66a};function _0x19b65f(_0x2ea127,_0x515ce6,_0x129b64,_0x24df70){return _0x16ac01(_0x2ea127-_0x4fa161._0x220121,_0x24df70-_0x4fa161._0x30959f,_0x129b64-0x23,_0x2ea127);}return _0x30c25c[_0x19b65f(_0x30fdf7._0x2f817b,_0x30fdf7._0x1c197f,0xa73,0x944)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x42223d,_0x491f0d){const _0x1acaaf={_0x3ee212:0x542,_0x47eca6:0x3d2,_0x1e38a1:0x37e,_0x57b031:0x542,_0x4cb19a:0x343,_0x244414:0x358,_0x136919:0x3d1,_0x5f30f4:0x1f6,_0x261097:0x10d,_0x124023:0x6f7,_0xa0e756:0xd3,_0xc06500:0x119,_0x3b4070:0x5c0,_0xc15640:0x555,_0x4907a2:0x37e,_0x2c53e5:0x2f2,_0x3d988a:0x154,_0x3823b4:0x2a,_0x47aac6:0xb,_0x184731:0x56e,_0x565871:0x98,_0x4628b0:0x17e,_0x534372:0x6ca,_0x3e7e59:0x316,_0x4595cc:0x18f,_0xdff60f:0x317,_0x5b9da9:0x466,_0xd70da5:0x2e8,_0x2e32c3:0x64,_0x48d6d9:0x2a3,_0x343128:0x506,_0x417308:0x464,_0x3cd7d1:0x611,_0x4294d0:0xfd,_0x17bb7c:0x214,_0x297e9d:0x273,_0x33adb1:0x8b,_0x2c9319:0x168,_0x176ab1:0x20,_0x3fdf2f:0x246,_0x4eb993:0x440,_0xabb309:0x304,_0x22ede3:0x1d9,_0x201587:0x20d,_0x320a8e:0x47,_0x3411e0:0x368,_0x115ef0:0x57f,_0x5288ca:0x2c1,_0x4607b6:0x140,_0x579ec3:0x1f1},_0x4c4d3c={_0x4161ac:0x9a,_0xc56a48:0x1c5,_0x2df277:0x232},_0x45d982={_0x2508a5:0x7b,_0x6f9ecb:0x28d,_0x5e7495:0x1b},{maxBytes:_0x4f47fb,sessionDir:_0x3f0095}=_0x491f0d;function _0x328466(_0x3eba7a,_0x2e9027,_0xa9c02b,_0x2bc2fe){return _0x16ac01(_0x3eba7a-_0x45d982._0x2508a5,_0x2e9027-_0x45d982._0x6f9ecb,_0xa9c02b-_0x45d982._0x5e7495,_0x2bc2fe);}if(!_0x42223d[_0x328466(0x652,_0x1acaaf._0x3ee212,0x508,_0x1acaaf._0x47eca6)]||Buffer['byteLength'](_0x42223d[_0x328466(_0x1acaaf._0x1e38a1,_0x1acaaf._0x57b031,0x633,_0x1acaaf._0x4cb19a)],_0x328466(0x480,0x2c8,_0x1acaaf._0x244414,0x32c))<=_0x4f47fb)return _0x42223d;const _0x44fab9=Buffer['byteLength'](_0x42223d['output'],_0x328466(_0x1acaaf._0x136919,0x2c8,_0x1acaaf._0x5f30f4,_0x1acaaf._0x261097));if(!_0x3f0095){const _0x11a8de=_0x42223d[_0x328466(_0x1acaaf._0x124023,0x542,0x73c,0x546)][_0x328466(_0x1acaaf._0xa0e756,0x18f,_0x1acaaf._0xc06500,0x2cd)](0x0,_0x4f47fb);return{..._0x42223d,'output':_0x11a8de+('\x0a\x0a<system-reminder>\x0aTool\x20output\x20was\x20truncated\x20at\x20'+_0x4f47fb+'\x20bytes\x20(original:\x20'+_0x44fab9+'\x20bytes).\x20No\x20session\x20directory\x20available\x20for\x20file\x20offload.\x0a</system-reminder>'),'meta':{..._0x42223d[_0x328466(_0x1acaaf._0x3b4070,0x43d,_0x1acaaf._0xc15640,0x37f)],'truncated':!![],'originalBytes':_0x44fab9,'transforms':[..._0x42223d['meta'][_0x2f2add(0x284,_0x1acaaf._0x4907a2,_0x1acaaf._0x2c53e5,0x48d)],_0x2f2add(0xee,_0x1acaaf._0x3d988a,-_0x1acaaf._0x3823b4,0x28d)]}};}const _0x3d8f6d=_0x42223d[_0x2f2add(0x5b,-_0x1acaaf._0x47aac6,0x251,-0x114)]+'_'+sanitizeFileName(_0x42223d[_0x328466(_0x1acaaf._0x184731,0x505,0x713,0x671)])+'.log';function _0x2f2add(_0x402a89,_0x33b72b,_0x5d8202,_0x4709a4){return _0x5885dd(_0x402a89-_0x4c4d3c._0x4161ac,_0x5d8202,_0x5d8202-_0x4c4d3c._0xc56a48,_0x402a89- -_0x4c4d3c._0x2df277);}const _0x26cf64=_0x427220['join'](_0x3f0095,_0x3d8f6d);await _0x2a9ef1(_0x3f0095,{'recursive':!![]}),await writeFile(_0x26cf64,_0x42223d['output'],_0x2f2add(_0x1acaaf._0x565871,0x103,_0x1acaaf._0x4628b0,-0x129));let _0x33f9a2=_0x42223d[_0x328466(_0x1acaaf._0x534372,_0x1acaaf._0x3ee212,0x70d,0x64a)][_0x328466(_0x1acaaf._0x3e7e59,_0x1acaaf._0x4595cc,0x1a3,-0x6d)](0x0,_0x4f47fb);const _0x4806fc=_0x33f9a2[_0x328466(0x149,_0x1acaaf._0xdff60f,_0x1acaaf._0x5b9da9,_0x1acaaf._0xd70da5)]('\x0a');_0x4806fc>_0x4f47fb*0.5&&(_0x33f9a2=_0x33f9a2[_0x2f2add(-0xa1,_0x1acaaf._0x2e32c3,-_0x1acaaf._0x48d6d9,0x64)](0x0,_0x4806fc));const _0x1aa0c0=['',_0x328466(_0x1acaaf._0x343128,0x4d6,_0x1acaaf._0x417308,_0x1acaaf._0x3cd7d1),_0x2f2add(_0x1acaaf._0x4294d0,_0x1acaaf._0x17bb7c,0x16a,_0x1acaaf._0x297e9d)+_0x4f47fb+_0x328466(_0x1acaaf._0x33adb1,_0x1acaaf._0x2c9319,_0x1acaaf._0x176ab1,0x137)+_0x44fab9+_0x328466(_0x1acaaf._0x3fdf2f,_0x1acaaf._0x4eb993,0x61c,0x31a),'Full\x20output\x20saved\x20to:\x20'+_0x26cf64,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.','</system-reminder>'][_0x2f2add(0x263,_0x1acaaf._0xabb309,0xce,_0x1acaaf._0x22ede3)]('\x0a');return{..._0x42223d,'output':_0x33f9a2+_0x1aa0c0,'meta':{..._0x42223d[_0x2f2add(_0x1acaaf._0x201587,_0x1acaaf._0x320a8e,_0x1acaaf._0x3411e0,0x1a1)],'truncated':!![],'originalBytes':_0x44fab9,'transforms':[..._0x42223d[_0x328466(0x404,0x43d,0x582,_0x1acaaf._0x115ef0)][_0x2f2add(0x284,0x31e,_0x1acaaf._0x5288ca,0x202)],_0x328466(0x122,0x31e,_0x1acaaf._0x4607b6,_0x1acaaf._0x579ec3)]}};}import{readFile as _0x2f0223,stat as _0x817f6a}from'fs/promises';function createAnchoredFileError(_0x587699,_0x5b5bc9,_0x488a15){return new ToolExecutionError(_0x5b5bc9,{'error':_0x587699,..._0x488a15});}import{createHash}from'crypto';function sha256Bytes(_0x317eca){const _0x1c8324={_0x198aa2:0x566,_0x2900df:0x500,_0x33e4eb:0x523,_0x240122:0x5b4,_0x4a37b8:0x752,_0x32df9d:0x5c1,_0x1f3890:0x453},_0x6b1c1e={_0x59309f:0x4d8,_0x4ac4cb:0xd8},_0x39155a={_0x560309:0x15c};function _0x589db8(_0x40e8b4,_0x3b8c44,_0x3a0e0d,_0x3cb5ce){return _0x5885dd(_0x40e8b4-_0x39155a._0x560309,_0x40e8b4,_0x3a0e0d-0x8f,_0x3cb5ce-0x2b7);}function _0x349af6(_0xa8bc1b,_0x3531e4,_0x9a28f9,_0x3703c4){return _0x16ac01(_0xa8bc1b-0x135,_0x3531e4-_0x6b1c1e._0x59309f,_0x9a28f9-_0x6b1c1e._0x4ac4cb,_0x9a28f9);}return createHash(_0x349af6(_0x1c8324._0x198aa2,0x694,0x84d,_0x1c8324._0x2900df))['update'](_0x317eca)[_0x589db8(_0x1c8324._0x33e4eb,0x3bc,0x742,_0x1c8324._0x240122)](_0x349af6(_0x1c8324._0x4a37b8,_0x1c8324._0x32df9d,_0x1c8324._0x1f3890,0x614));}function countLines(_0x36d5c9){const _0x5cb9a5={_0x12400e:0x37a,_0x1905a6:0x3a0,_0x587177:0x4a0,_0x48d5b2:0x31d,_0x58451e:0x441,_0x3173f5:0x496,_0x2a0c56:0x177,_0x1bbda2:0x1e5},_0xcf30a5={_0x215350:0x43,_0x34b338:0x1a6},_0x3559ca={_0x4cd324:0x3b,_0x249c90:0xdb};function _0x2d8cb8(_0xb7840a,_0xbc977d,_0x3b12a5,_0x47f182){return _0x5885dd(_0xb7840a-0x87,_0xbc977d,_0x3b12a5-_0x3559ca._0x4cd324,_0xb7840a- -_0x3559ca._0x249c90);}function _0x1fce5a(_0x1c7ad1,_0x263220,_0x432739,_0x33a4a6){return _0x16ac01(_0x1c7ad1-0x16f,_0x33a4a6-_0xcf30a5._0x215350,_0x432739-_0xcf30a5._0x34b338,_0x432739);}const _0x354626=_0x36d5c9[_0x1fce5a(_0x5cb9a5._0x12400e,_0x5cb9a5._0x1905a6,_0x5cb9a5._0x587177,_0x5cb9a5._0x48d5b2)](/\n$/,'');return _0x354626['length']===0x0?0x0:_0x354626[_0x2d8cb8(_0x5cb9a5._0x58451e,0x40f,_0x5cb9a5._0x3173f5,0x4cd)]('\x0a')[_0x2d8cb8(0x2b0,_0x5cb9a5._0x2a0c56,0x33e,_0x5cb9a5._0x1bbda2)];}function replaceFirstExact(_0x36af3d,_0x3fa070,_0x52391b){const _0x1bc0aa={_0xec2f74:0x4ae,_0x48bcd5:0x579,_0x27b1b4:0x33,_0x1ad1d7:0x12f,_0x400755:0x2cf,_0x2ca74b:0x2a0,_0xd0c066:0x33e,_0x15f857:0x384,_0x386726:0x235,_0x219ed7:0xd3},_0x173e96={_0x3a2e90:0x182,_0x21f716:0x21},_0x31ef3a=_0x36af3d[_0x436dee(0x596,_0x1bc0aa._0xec2f74,_0x1bc0aa._0x48bcd5,0x3c0)](_0x3fa070);if(_0x31ef3a===-0x1)return void 0x0;function _0x353a85(_0x30237f,_0x14ee6e,_0x2151bf,_0x31f8a0){return _0x16ac01(_0x30237f-_0x173e96._0x3a2e90,_0x14ee6e- -0x12f,_0x2151bf-_0x173e96._0x21f716,_0x31f8a0);}function _0x436dee(_0x599aa5,_0xce3b2a,_0x3bbc80,_0x4b6e4a){return _0x5885dd(_0x599aa5-0x5d,_0x3bbc80,_0x3bbc80-0xe4,_0x4b6e4a-0x1ca);}const _0x35a789=_0x36af3d['slice'](0x0,_0x31ef3a)['split']('\x0a')[_0x353a85(0x8c,-_0x1bc0aa._0x27b1b4,-0x55,-_0x1bc0aa._0x1ad1d7)],_0x189577=countLines(_0x3fa070),_0x406c77=countLines(_0x52391b);return{'before':_0x36af3d,'after':_0x36af3d[_0x436dee(_0x1bc0aa._0x400755,0x476,_0x1bc0aa._0x2ca74b,0x35b)](0x0,_0x31ef3a)+_0x52391b+_0x36af3d[_0x436dee(_0x1bc0aa._0xd0c066,0x2a8,_0x1bc0aa._0x15f857,0x35b)](_0x31ef3a+_0x3fa070[_0x353a85(0x56,-0x33,-_0x1bc0aa._0x386726,_0x1bc0aa._0x219ed7)]),'lineNumbers':{'oldStartLine':_0x35a789,'oldEndLine':_0x35a789+_0x189577-0x1,'newStartLine':_0x35a789,'newEndLine':_0x35a789+_0x406c77-0x1,'oldLineCount':_0x189577,'newLineCount':_0x406c77}};}var MAX_OPERATIONS=0x64;function requireValidAnchorLine(_0x45edef){const _0x103573={_0x9de1aa:0x187,_0x2c5dfb:0x282,_0xb36df2:0x551,_0x4aadc6:0x5eb,_0x1504a1:0x47a,_0x3e6a37:0x2fc},_0xf41af2={_0x5b333b:0x428,_0x2330fa:0x176},_0x3d3d3e={_0x59e924:0x226};function _0x4202a4(_0x4284af,_0x28a6c8,_0x39f00f,_0xfceffc){return _0x16ac01(_0x4284af-0x35,_0x28a6c8-_0x3d3d3e._0x59e924,_0x39f00f-0x12c,_0x4284af);}function _0x223264(_0x40e08d,_0x9f5c84,_0x58efef,_0x41d988){return _0x16ac01(_0x40e08d-0x1e,_0x9f5c84-_0xf41af2._0x5b333b,_0x58efef-_0xf41af2._0x2330fa,_0x40e08d);}if(!Number[_0x4202a4(_0x103573._0x9de1aa,0x1a7,_0x103573._0x2c5dfb,0x378)](_0x45edef)||_0x45edef<0x1)throw createAnchoredFileError(_0x223264(_0x103573._0xb36df2,_0x103573._0x4aadc6,_0x103573._0x1504a1,0x775),_0x4202a4(_0x103573._0x3e6a37,0x415,0x217,0x349)+String(_0x45edef)+'.');}function rangeLines(_0x1bc6b7,_0x2ce5c6){const _0x5a7f02={_0x2fdbbe:0x399,_0xaf718d:0x49f,_0x465dab:0x579};function _0x8a4ace(_0x60e678,_0x3e6f7b,_0x5eee3a,_0x493edf){return _0x5885dd(_0x60e678-0xcc,_0x5eee3a,_0x5eee3a-0x1a4,_0x3e6f7b-0x299);}const _0x184d12=[];for(let _0x141de0=_0x1bc6b7;_0x141de0<=_0x2ce5c6;_0x141de0+=0x1){_0x184d12[_0x8a4ace(_0x5a7f02._0x2fdbbe,_0x5a7f02._0xaf718d,0x307,_0x5a7f02._0x465dab)](_0x141de0);}return _0x184d12;}function normalizeContent(_0xc7f6ea){const _0x528169={_0x4561a9:0x9d4,_0x369633:0x861,_0x568b73:0x6b2,_0x1cf92b:0x814},_0x21f2c8={_0x254ae0:0x182},_0x4e9d03={_0x508f21:0x17b};function _0xe35dee(_0x55e366,_0x598b20,_0x418c03,_0x9b7012){return _0x16ac01(_0x55e366-_0x4e9d03._0x508f21,_0x55e366-0x3b1,_0x418c03-0x1d7,_0x9b7012);}function _0x5b9041(_0x3cb4a4,_0x507fe3,_0x1062ac,_0x102eb6){return _0x5885dd(_0x3cb4a4-0x154,_0x1062ac,_0x1062ac-_0x21f2c8._0x254ae0,_0x102eb6-0x2f8);}return _0xc7f6ea[_0x5b9041(0x7b1,0x828,_0x528169._0x4561a9,_0x528169._0x369633)](/\r\n/g,'\x0a')[_0x5b9041(0x723,0x8f1,_0x528169._0x568b73,_0x528169._0x1cf92b)]('\x0a');}function planOperations(_0x40c8f5,_0x38ddfc){const _0x287a48={_0x5a8dad:0x272,_0x2d7ea1:0x426,_0x22aa4a:0x301,_0xd4ccec:0x714,_0x3f7dd4:0x532,_0x568707:0x272,_0x5bfc11:0x2de,_0xccdd0e:0x45b,_0x3f3b53:0x309,_0x33628b:0x507,_0x1a69cb:0x2d1,_0x2eaee5:0x35c,_0x38c3e5:0x431,_0x55d8bc:0x396,_0x471ec1:0x47f,_0x59926f:0x18a,_0x1f9af2:0x35b,_0x1d3960:0x25a,_0x4e7c2b:0x1fa,_0x290bf0:0x1d1,_0x42482a:0x1d4,_0x1c0573:0x448,_0x56f661:0x3ab,_0x47c4e6:0x294,_0x576d83:0x35,_0xa799a3:0x65,_0x25b795:0x1b7},_0x2188da={_0x50df0e:0x408,_0x543b3e:0x417,_0x97055a:0x84d,_0x3f9d8c:0x730,_0x5bac28:0x717,_0x4a18fe:0x42b,_0x65ac3c:0x4d4,_0x30613d:0x8ac,_0x5091bd:0x802,_0x11806b:0x1b0,_0x2ec43c:0x554,_0x65cccc:0x43f,_0x40a5cc:0x373,_0x47e20d:0x185,_0x5375b0:0x6d4,_0x490165:0x3e7,_0x5e2339:0x255,_0x3fc8ac:0x407,_0x4992df:0x3f9,_0x4e7780:0x44b,_0x43c9fb:0x1c6,_0x5b04d4:0x272,_0x1964fc:0x260,_0x5802e8:0x322,_0x39e1ff:0x30f,_0x44374e:0x4fd,_0x285038:0x73d,_0x121f25:0x507,_0x10be1a:0x736,_0x5eadb8:0x585,_0x610d18:0x2d8,_0x49c724:0x43a,_0x364ad9:0x61d,_0xda8546:0x747,_0x472efa:0x81,_0x3622d4:0x2eb,_0x1a9e04:0x7ac,_0x3262b5:0x6d6,_0x32e08f:0x689,_0x3e49b2:0xfd,_0x617876:0xff,_0x2422dd:0x71e,_0x2eb7dd:0x5ef,_0x2de939:0x231,_0x16cbde:0x233,_0x13e468:0x4ec,_0x3d65c2:0x300,_0x3e6077:0x392,_0x7bc2c0:0x48a,_0x207283:0x84d,_0x4288e7:0x945,_0x2a090e:0x47b,_0x16e6ee:0x36d,_0x34f93b:0x376,_0x2efc57:0x45c,_0x3476ef:0x3a3,_0x2b4560:0x602,_0x189e65:0x3c4,_0x5f3078:0x692,_0x5f3019:0x931,_0x4e309e:0x5fa,_0x3db880:0x7b5,_0x3c6ecc:0x5a5,_0x5402c9:0x99d,_0x2b9904:0x822,_0x112c42:0x86f,_0x306190:0x5e3,_0x33f48d:0x3e6,_0x52e543:0x473,_0x509886:0x66f,_0x446423:0x7c6,_0x586c8d:0x525,_0x508e01:0x636,_0x20f3f9:0x82e,_0x419ebd:0x65b,_0x47b53e:0x4f7,_0x1bf392:0x38b,_0x26eb7:0x396,_0x54004f:0x4b5,_0x1b8760:0x36d,_0x5ed462:0x878,_0xf86e2a:0x17,_0x5deb69:0x1a,_0x12241e:0x5c4,_0x318b01:0x19d,_0x1714a0:0x338,_0x469b18:0x2d4,_0x16259a:0x72b,_0x500721:0x88a,_0x31e553:0x8d3,_0x2b9e01:0x7e7,_0x4b4b1f:0x542,_0x1d0a81:0x9b2,_0x2f33a3:0x7a0,_0x1bd7c2:0x602,_0x3c0340:0x203,_0xf4b352:0x34f,_0xe9cadc:0x522,_0x4cc35c:0x317,_0x3561f4:0x63e,_0x3f213e:0x482,_0x490889:0x2b1,_0xa3def0:0x342,_0x25b153:0x469,_0x1fefed:0x497,_0x2f4536:0x4cd,_0x3c16a4:0x342,_0x348ccc:0x74e,_0xfdf4bf:0x60d,_0x12a69f:0x7ae,_0x58ab91:0x12,_0x128803:0xe4,_0xd9d1:0xec,_0x2fd016:0x2f6,_0x1391cd:0x4e9,_0x17c7b7:0x5f4,_0x3ced22:0x2ad,_0x3d3fea:0x397,_0x3c4a4d:0x1c0,_0x353b85:0x492,_0x12c2a8:0x373,_0x381d40:0x654,_0x3e6199:0x616,_0x443f68:0x70,_0x31464c:0x215,_0x40f3dc:0x6fb,_0x5ea3ab:0x59a,_0x16081a:0x8e2,_0x5c7453:0x5b3,_0x3f2171:0x5b1,_0x525094:0x750,_0x5c3fe0:0x21e,_0x4b30e0:0x406,_0x5e4bfe:0x354,_0x28766c:0x17d,_0x4b38b2:0x38a,_0x35864a:0x566,_0x138a25:0x610,_0x2c558a:0x17e,_0x51967b:0xc9,_0x169fc8:0x1d0,_0x5b8274:0x215,_0x3e7b6e:0x5d8,_0x5cec62:0x4ed,_0x197ed6:0x4be,_0x53e2cf:0x356,_0x15f49a:0x270,_0xab8657:0x4d8,_0x1293cf:0x3b0,_0x3f9b57:0x3b1,_0xb93c43:0x100,_0x2268f2:0x4e2,_0xd2b6e0:0x545,_0x5260e9:0x3b6,_0x57d14d:0x1f9,_0x7b8280:0x215,_0x221a96:0x736,_0x2525b7:0x694,_0x1ac0f2:0x7c7,_0x19eb45:0x7fb},_0x377ede={_0x124c93:0x3a,_0x2fd8e9:0x40},_0x2f20d9={_0x2a4066:0x176,_0x58a566:0x1c3},_0x157d76={_0x6096bc:0x29,_0x1c0f54:0xb5};if(_0x38ddfc[_0x561e09(_0x287a48._0x5a8dad,_0x287a48._0x2d7ea1,_0x287a48._0x22aa4a,0x39c)]===0x0)throw createAnchoredFileError('invalid_range',_0x5abe88(_0x287a48._0xd4ccec,0x561,_0x287a48._0x3f7dd4,0x4cf));if(_0x38ddfc[_0x561e09(_0x287a48._0x568707,_0x287a48._0x5bfc11,_0x287a48._0xccdd0e,0x46f)]>MAX_OPERATIONS)throw createAnchoredFileError(_0x5abe88(0x4ef,_0x287a48._0x3f3b53,_0x287a48._0x33628b,0x6ff),_0x5abe88(_0x287a48._0x1a69cb,0x30a,0x4b1,_0x287a48._0x2eaee5)+MAX_OPERATIONS+_0x561e09(_0x287a48._0x38c3e5,0x473,_0x287a48._0x55d8bc,_0x287a48._0x471ec1));function _0x5abe88(_0xb47dd0,_0x2d556e,_0x146c6b,_0xd0263){return _0x5885dd(_0xb47dd0-0x15d,_0xd0263,_0x146c6b-_0x157d76._0x6096bc,_0x146c6b-_0x157d76._0x1c0f54);}function _0x561e09(_0x326446,_0x55ef1d,_0x4a2d35,_0x4f82ea){return _0x16ac01(_0x326446-0xc6,_0x326446-_0x2f20d9._0x2a4066,_0x4a2d35-_0x2f20d9._0x58a566,_0x55ef1d);}if(_0x40c8f5['lines'][_0x561e09(0x272,0x351,_0x287a48._0x59926f,_0x287a48._0x1f9af2)]===0x0)throw createAnchoredFileError(_0x561e09(0x339,_0x287a48._0x1d3960,_0x287a48._0x4e7c2b,_0x287a48._0x290bf0),_0x5abe88(_0x287a48._0x42482a,_0x287a48._0x1c0573,_0x287a48._0x56f661,_0x287a48._0x47c4e6));return _0x38ddfc[_0x561e09(_0x287a48._0x576d83,-0x156,-_0x287a48._0xa799a3,_0x287a48._0x25b795)](_0x4590bd=>{function _0x2c3c63(_0x509b3a,_0x2d534f,_0x1229a8,_0x5378f2){return _0x5abe88(_0x509b3a-0x118,_0x2d534f-0x1a3,_0x509b3a-0x22f,_0x5378f2);}function _0x217fb8(_0x5a1a4f,_0x1da36c,_0xeaf182,_0x396d50){return _0x561e09(_0x396d50-_0x377ede._0x124c93,_0x1da36c,_0xeaf182-0x15,_0x396d50-_0x377ede._0x2fd8e9);}switch(_0x4590bd[_0x217fb8(0x44e,0x477,_0x2188da._0x50df0e,_0x2188da._0x543b3e)]){case _0x2c3c63(_0x2188da._0x97055a,0x707,0x96b,0x879):{requireValidAnchorLine(_0x4590bd[_0x2c3c63(_0x2188da._0x3f9d8c,0x646,_0x2188da._0x5bac28,0x633)]),requireValidAnchorLine(_0x4590bd['endLine']);if(_0x4590bd[_0x217fb8(_0x2188da._0x4a18fe,0x46f,_0x2188da._0x65ac3c,0x36d)]>_0x4590bd[_0x2c3c63(0x7b5,_0x2188da._0x30613d,0x6ab,_0x2188da._0x5091bd)])throw createAnchoredFileError(_0x217fb8(_0x2188da._0x11806b,_0x2188da._0x2ec43c,_0x2188da._0x65cccc,_0x2188da._0x40a5cc),_0x217fb8(0xb1,_0x2188da._0x47e20d,0x370,0x240));if(typeof _0x4590bd[_0x2c3c63(0x5f6,0x5a7,0x3e8,_0x2188da._0x5375b0)]!==_0x217fb8(_0x2188da._0x490165,0x552,_0x2188da._0x5e2339,_0x2188da._0x3fc8ac))throw createAnchoredFileError(_0x217fb8(0x3b5,_0x2188da._0x4992df,_0x2188da._0x4e7780,_0x2188da._0x40a5cc),_0x217fb8(0x30b,0x282,_0x2188da._0x43c9fb,_0x2188da._0x5b04d4));if(_0x4590bd[_0x217fb8(0x2b0,_0x2188da._0x1964fc,_0x2188da._0x5802e8,0x3f2)]>_0x40c8f5[_0x217fb8(_0x2188da._0x39e1ff,0x58b,0x3f6,0x3e9)][_0x2c3c63(0x66f,_0x2188da._0x44374e,_0x2188da._0x285038,_0x2188da._0x121f25)])throw createAnchoredFileError(_0x2c3c63(_0x2188da._0x10be1a,0x880,0x82e,0x85e),_0x217fb8(0x493,_0x2188da._0x5eadb8,_0x2188da._0x610d18,_0x2188da._0x49c724)+_0x4590bd['startLine']+',\x20'+_0x4590bd[_0x2c3c63(0x7b5,0x650,_0x2188da._0x364ad9,_0x2188da._0xda8546)]+_0x217fb8(_0x2188da._0x472efa,_0x2188da._0x3622d4,0x11c,0x101)+_0x40c8f5[_0x2c3c63(_0x2188da._0x1a9e04,_0x2188da._0x3262b5,_0x2188da._0x32e08f,0x919)][_0x217fb8(_0x2188da._0x3e49b2,0x45d,_0x2188da._0x617876,0x2ac)]+_0x2c3c63(0x717,0x8af,_0x2188da._0x2422dd,_0x2188da._0x2eb7dd));const _0x2a3463=normalizeContent(_0x4590bd[_0x217fb8(_0x2188da._0x2de939,0x152,_0x2188da._0x43c9fb,_0x2188da._0x16cbde)]);return{'kind':_0x217fb8(_0x2188da._0x13e468,_0x2188da._0x3d65c2,_0x2188da._0x3e6077,_0x2188da._0x7bc2c0),'canonical':{'operation':_0x2c3c63(_0x2188da._0x207283,0x6c3,0xa18,0x95f),'startLine':_0x4590bd['startLine'],'endLine':_0x4590bd[_0x2c3c63(0x7b5,0x602,0x5b2,_0x2188da._0x4288e7)],'content':_0x2a3463['join']('\x0a')},'spliceIndex':_0x4590bd[_0x217fb8(_0x2188da._0x2a090e,0x4f8,0x19e,_0x2188da._0x16e6ee)]-0x1,'deleteCount':_0x4590bd['endLine']-_0x4590bd[_0x217fb8(_0x2188da._0x34f93b,0x553,_0x2188da._0x2efc57,_0x2188da._0x16e6ee)]+0x1,'rows':_0x2a3463,'sourceStart':_0x4590bd[_0x217fb8(0x4f8,0x448,0x25e,0x36d)],'sourceEnd':_0x4590bd[_0x217fb8(0x328,_0x2188da._0x3476ef,_0x2188da._0x2b4560,0x3f2)],'requiredLines':rangeLines(_0x4590bd[_0x217fb8(_0x2188da._0x189e65,0x32e,0x30f,0x36d)],_0x4590bd[_0x2c3c63(0x7b5,_0x2188da._0x5f3078,_0x2188da._0x5f3019,_0x2188da._0x4e309e)])};}case'delete':{requireValidAnchorLine(_0x4590bd['startLine']),requireValidAnchorLine(_0x4590bd[_0x2c3c63(_0x2188da._0x3db880,_0x2188da._0x3c6ecc,_0x2188da._0x5402c9,0x8bd)]);if(_0x4590bd[_0x2c3c63(0x730,0x91d,0x60b,_0x2188da._0x2b9904)]>_0x4590bd[_0x2c3c63(0x7b5,0x902,0x8dd,_0x2188da._0x112c42)])throw createAnchoredFileError(_0x2c3c63(_0x2188da._0x10be1a,0x6bf,0x75c,_0x2188da._0x306190),_0x2c3c63(0x544,0x75b,0x4e0,0x3fd));if(_0x4590bd[_0x2c3c63(_0x2188da._0x3db880,0x970,0x7b1,0x7ea)]>_0x40c8f5[_0x217fb8(_0x2188da._0x33f48d,0x418,_0x2188da._0x52e543,0x3e9)][_0x2c3c63(_0x2188da._0x509886,_0x2188da._0x446423,_0x2188da._0x586c8d,_0x2188da._0x508e01)])throw createAnchoredFileError(_0x2c3c63(_0x2188da._0x10be1a,_0x2188da._0x20f3f9,_0x2188da._0x419ebd,0x6b7),_0x2c3c63(_0x2188da._0x47b53e,0x54b,0x5f3,_0x2188da._0x1bf392)+_0x4590bd[_0x217fb8(_0x2188da._0x26eb7,_0x2188da._0x54004f,0x4ea,_0x2188da._0x1b8760)]+',\x20'+_0x4590bd[_0x2c3c63(_0x2188da._0x3db880,0x81a,_0x2188da._0x5ed462,0x9a4)]+']\x20is\x20past\x20the\x20end\x20of\x20the\x20'+_0x40c8f5['lines']['length']+'-line\x20snapshot.');return{'kind':_0x217fb8(-_0x2188da._0xf86e2a,_0x2188da._0x5deb69,0x158,0x153),'canonical':{'operation':_0x2c3c63(0x516,0x380,_0x2188da._0x12241e,0x6de),'startLine':_0x4590bd[_0x217fb8(0x2d3,_0x2188da._0x318b01,0x4b7,0x36d)],'endLine':_0x4590bd[_0x217fb8(0x289,_0x2188da._0x1714a0,_0x2188da._0x469b18,0x3f2)]},'spliceIndex':_0x4590bd[_0x2c3c63(_0x2188da._0x3f9d8c,_0x2188da._0x16259a,0x6ba,_0x2188da._0x500721)]-0x1,'deleteCount':_0x4590bd['endLine']-_0x4590bd[_0x2c3c63(0x730,_0x2188da._0x31e553,_0x2188da._0x2b9e01,0x8c6)]+0x1,'rows':[],'sourceStart':_0x4590bd[_0x2c3c63(0x730,_0x2188da._0x4b4b1f,0x609,0x884)],'sourceEnd':_0x4590bd[_0x2c3c63(0x7b5,0x979,_0x2188da._0x1d0a81,0x850)],'requiredLines':rangeLines(_0x4590bd[_0x2c3c63(0x730,0x659,_0x2188da._0x2f33a3,_0x2188da._0x1bd7c2)],_0x4590bd[_0x217fb8(0x246,0x597,_0x2188da._0x3c0340,0x3f2)])};}case _0x217fb8(_0x2188da._0xf4b352,0x4af,_0x2188da._0xe9cadc,_0x2188da._0x4cc35c):{requireValidAnchorLine(_0x4590bd[_0x2c3c63(0x5d8,0x3df,0x7a1,_0x2188da._0x3561f4)]);if(_0x4590bd[_0x217fb8(0x252,_0x2188da._0x3f213e,_0x2188da._0x490889,_0x2188da._0xa3def0)]!==_0x217fb8(0x4dd,0x5e5,0x3fb,_0x2188da._0x25b153)&&_0x4590bd[_0x217fb8(_0x2188da._0x1fefed,0x423,_0x2188da._0x2f4536,_0x2188da._0x3c16a4)]!=='after')throw createAnchoredFileError(_0x2c3c63(0x736,_0x2188da._0x348ccc,_0x2188da._0xfdf4bf,_0x2188da._0x12a69f),_0x217fb8(-_0x2188da._0x58ab91,0x2b6,-_0x2188da._0x128803,_0x2188da._0xd9d1));if(typeof _0x4590bd['content']!=='string')throw createAnchoredFileError(_0x217fb8(0x3aa,_0x2188da._0x2fd016,0x315,_0x2188da._0x40a5cc),_0x217fb8(0x5b3,_0x2188da._0x1391cd,_0x2188da._0x17c7b7,0x45e));if(_0x4590bd['line']>_0x40c8f5[_0x217fb8(0x39e,0x46a,0x44e,0x3e9)][_0x217fb8(_0x2188da._0x3ced22,_0x2188da._0x3d3fea,_0x2188da._0x3c4a4d,0x2ac)])throw createAnchoredFileError(_0x217fb8(0x1af,_0x2188da._0x353b85,0x34d,_0x2188da._0x12c2a8),_0x2c3c63(0x5b5,_0x2188da._0x381d40,_0x2188da._0x3e6199,0x773)+_0x4590bd[_0x217fb8(0xf3,_0x2188da._0x443f68,0x35e,_0x2188da._0x31464c)]+_0x2c3c63(_0x2188da._0x40f3dc,_0x2188da._0x5ea3ab,_0x2188da._0x16081a,_0x2188da._0x5c7453)+_0x40c8f5[_0x2c3c63(0x7ac,_0x2188da._0x3f2171,_0x2188da._0x525094,0x6a9)][_0x217fb8(_0x2188da._0x5c3fe0,0x3ab,0x447,0x2ac)]+_0x217fb8(_0x2188da._0x4b30e0,0x51e,0x470,_0x2188da._0x5e4bfe));const _0x50a583=normalizeContent(_0x4590bd[_0x217fb8(_0x2188da._0x28766c,0x157,_0x2188da._0x4b38b2,0x233)]),_0x5940c3=_0x4590bd['position']===_0x217fb8(_0x2188da._0x35864a,_0x2188da._0x138a25,0x386,0x469)?_0x4590bd[_0x217fb8(_0x2188da._0x2c558a,_0x2188da._0x51967b,_0x2188da._0x169fc8,_0x2188da._0x5b8274)]-0x1:_0x4590bd[_0x2c3c63(_0x2188da._0x3e7b6e,_0x2188da._0x5cec62,0x4ca,_0x2188da._0x197ed6)];return{'kind':_0x217fb8(_0x2188da._0x53e2cf,0x17e,_0x2188da._0x15f49a,0x317),'canonical':{'operation':_0x217fb8(0x4de,0x185,_0x2188da._0xab8657,_0x2188da._0x4cc35c),'position':_0x4590bd[_0x217fb8(_0x2188da._0x1293cf,0x2a2,_0x2188da._0x3f9b57,0x342)],'line':_0x4590bd[_0x217fb8(_0x2188da._0xb93c43,0x2f0,0x3c2,_0x2188da._0x31464c)],'content':_0x50a583[_0x217fb8(_0x2188da._0x2268f2,_0x2188da._0xd2b6e0,0x597,_0x2188da._0x5260e9)]('\x0a')},'spliceIndex':_0x5940c3,'deleteCount':0x0,'rows':_0x50a583,'gap':_0x5940c3,'requiredLines':[_0x4590bd[_0x217fb8(0x2d7,_0x2188da._0x57d14d,_0x2188da._0x3e49b2,_0x2188da._0x7b8280)]]};}default:{const _0x142f73=_0x4590bd;throw createAnchoredFileError(_0x2c3c63(_0x2188da._0x221a96,0x562,_0x2188da._0x2525b7,_0x2188da._0x1ac0f2),_0x2c3c63(0x60e,_0x2188da._0x543b3e,_0x2188da._0x19eb45,0x450)+String(_0x142f73[_0x217fb8(0x540,0x3e9,0x3df,0x417)])+'\x27.');}}});}function assertNoOverlaps(_0x4430cb){const _0x2521a4={_0x534231:0x230,_0x56045f:0x48,_0x150611:0xe2,_0x384ca3:0x338,_0x1982e2:0x142,_0x48ad4a:0x2ca,_0xfa006b:0x1b8,_0x6ec496:0xdb,_0x3b62ee:0x1d1,_0x14610c:0x4a,_0x2497a0:0x126,_0x42f3d0:0xd0,_0x53aac3:0x233,_0x19f279:0xa1,_0x3fbf35:0xc3,_0x252e63:0x47,_0x350a9f:0xdd,_0xdeb49b:0x15,_0x12afe6:0x14a,_0xa055e:0xa8,_0x235503:0x82,_0x33c63e:0x2d,_0x2cac6e:0x51,_0x2f2b6a:0x15,_0x9b7337:0x1ae,_0x5dfc7b:0x7b,_0x479f45:0x327,_0x555876:0x1dc,_0x2d2149:0x1ea,_0x6d86e0:0x188,_0x1654e8:0x369,_0x1d03fb:0x22,_0x1e35c5:0x249,_0x2f91c5:0xa9,_0x3a6724:0x28f,_0x300466:0x1c2,_0x3626d9:0xa9,_0x1ddd1c:0x262,_0x517c05:0xe,_0x56cb45:0x20,_0xf4483b:0x17b,_0x4b947f:0x191,_0x4a1678:0x85,_0x181b39:0x2a5},_0x4c6203={_0x34192f:0x52,_0x3a6705:0xa4,_0x1754dd:0x1d3},_0x4fbed3={_0x329735:0x1af},_0x520fd1=_0x4430cb[_0x1939dd(_0x2521a4._0x534231,_0x2521a4._0x56045f,0x27,0x23b)](_0x5342d8=>_0x5342d8[_0x19588f(0x3bb,0x386,0x23d,0x2b0)]===_0x1939dd(0x1c1,0x371,0x3ba,0x415)||_0x5342d8[_0x19588f(0x172,0x41e,0x3b3,0x2b0)]==='delete'),_0x1e2936=_0x4430cb[_0x19588f(-_0x2521a4._0x150611,-0x172,-0x9e,0x3)](_0x2e9cb3=>_0x2e9cb3[_0x1939dd(0x16e,0xdb,0x2d4,0xc6)]===_0x19588f(0x39b,0x90,0x5f,0x223));for(let _0x363006=0x0;_0x363006<_0x520fd1[_0x1939dd(0x100,_0x2521a4._0x384ca3,0x1dc,_0x2521a4._0x1982e2)];_0x363006+=0x1){for(let _0x4d4eb4=_0x363006+0x1;_0x4d4eb4<_0x520fd1[_0x19588f(_0x2521a4._0x48ad4a,0x34d,0x28d,_0x2521a4._0xfa006b)];_0x4d4eb4+=0x1){const _0x496221=_0x520fd1[_0x363006],_0x18c73c=_0x520fd1[_0x4d4eb4];if(Math[_0x19588f(0x43,-_0x2521a4._0x6ec496,_0x2521a4._0x3b62ee,_0x2521a4._0x14610c)](_0x496221[_0x19588f(0x1c4,-_0x2521a4._0x2497a0,-_0x2521a4._0x42f3d0,0x47)],_0x18c73c[_0x19588f(_0x2521a4._0x53aac3,_0x2521a4._0x19f279,_0x2521a4._0x3fbf35,_0x2521a4._0x252e63)])<=Math[_0x1939dd(_0x2521a4._0x350a9f,-0x1c9,_0x2521a4._0xdeb49b,-0x1aa)](_0x496221[_0x19588f(-_0x2521a4._0x12afe6,_0x2521a4._0xa055e,-_0x2521a4._0x235503,_0x2521a4._0x33c63e)],_0x18c73c[_0x1939dd(0xd2,-0x12a,_0x2521a4._0x2cac6e,0x2f)]))throw createAnchoredFileError(_0x1939dd(-0xd6,0x28,-_0x2521a4._0x2f2b6a,-0x201),_0x1939dd(0x1d4,-0x34,0x5f,-_0x2521a4._0x9b7337));}}function _0x1939dd(_0x2d9ec6,_0x4b62ef,_0x16c0f2,_0x58cb7c){return _0x5885dd(_0x2d9ec6-0x15e,_0x58cb7c,_0x16c0f2-0x1ab,_0x16c0f2- -_0x4fbed3._0x329735);}for(let _0x191140=0x0;_0x191140<_0x1e2936[_0x1939dd(_0x2521a4._0x5dfc7b,_0x2521a4._0x479f45,_0x2521a4._0x555876,_0x2521a4._0x2d2149)];_0x191140+=0x1){for(let _0x16f74c=_0x191140+0x1;_0x16f74c<_0x1e2936[_0x1939dd(0x25d,_0x2521a4._0x6d86e0,0x1dc,_0x2521a4._0x1654e8)];_0x16f74c+=0x1){if(_0x1e2936[_0x191140][_0x1939dd(-_0x2521a4._0x1d03fb,_0x2521a4._0x1e35c5,_0x2521a4._0x2f91c5,_0x2521a4._0x3a6724)]===_0x1e2936[_0x16f74c][_0x1939dd(0x16f,_0x2521a4._0x300466,_0x2521a4._0x3626d9,_0x2521a4._0x1ddd1c)])throw createAnchoredFileError(_0x19588f(0x57,0xf6,-0x13a,-0x39),'Multiple\x20insertions\x20target\x20the\x20same\x20line\x20gap.');}}function _0x19588f(_0x5d9dcd,_0x58512a,_0x4e5c8d,_0x426057){return _0x5885dd(_0x5d9dcd-_0x4c6203._0x34192f,_0x4e5c8d,_0x4e5c8d-_0x4c6203._0x3a6705,_0x426057- -_0x4c6203._0x1754dd);}for(const _0x34e92e of _0x1e2936){for(const _0x14727b of _0x520fd1){if(_0x34e92e[_0x19588f(-_0x2521a4._0x517c05,0x13b,_0x2521a4._0x56cb45,0x85)]>=_0x14727b['sourceStart']&&_0x34e92e[_0x19588f(_0x2521a4._0xf4483b,-0xa5,-_0x2521a4._0x4b947f,_0x2521a4._0x4a1678)]<=_0x14727b['sourceEnd']-0x1)throw createAnchoredFileError('overlapping_operations',_0x19588f(0xe0,0xd7,_0x2521a4._0x181b39,0x2a4));}}}function assertLinesObserved(_0x5a13ef,_0x5c166c){const _0x476205={_0x2d9f6b:0x62c,_0x396696:0x7d,_0x1eaa2b:0x188,_0x23fe77:0x2e,_0x56a240:0x77,_0x3a7aed:0x322,_0x5c9884:0x107,_0x357a1f:0x1de},_0x1e4473={_0x4d68d1:0xa0,_0x44a7a8:0x20e,_0x359e13:0xf5},_0x575863={_0x180be0:0x7f},_0x5e7a87=new Set();for(const _0x24c02d of _0x5a13ef){for(const _0x5dd621 of _0x24c02d[_0x390056(0x55f,0x609,_0x476205._0x2d9f6b,0x490)]){_0x5e7a87[_0x2fb748(-0x157,-_0x476205._0x396696,-0x2b0,-0x253)](_0x5dd621);}}function _0x2fb748(_0x4aabde,_0x2d12b1,_0x49a894,_0x5583d0){return _0x16ac01(_0x4aabde-0x16f,_0x4aabde- -_0x575863._0x180be0,_0x49a894-0x135,_0x49a894);}function _0x390056(_0x9b8443,_0x1d5de7,_0x57b852,_0x163905){return _0x16ac01(_0x9b8443-_0x1e4473._0x4d68d1,_0x163905-_0x1e4473._0x44a7a8,_0x57b852-_0x1e4473._0x359e13,_0x9b8443);}const _0x20e1b4=[..._0x5e7a87][_0x2fb748(-_0x476205._0x1eaa2b,-0xd5,_0x476205._0x23fe77,-_0x476205._0x56a240)]((_0x585159,_0x37634c)=>_0x585159-_0x37634c);for(const _0x150431 of _0x20e1b4){if(!_0x5c166c[_0x390056(_0x476205._0x3a7aed,0x20d,0x38f,0x23f)](_0x150431))throw createAnchoredFileError('unseen_lines',_0x390056(_0x476205._0x5c9884,0x23e,0x33f,0x254)+_0x150431+_0x390056(0x1be,_0x476205._0x357a1f,0x30c,0x1a3),{'requiredLines':_0x20e1b4});}return _0x20e1b4;}function applyOperations(_0x65027f,_0x473326){const _0x2d5e7f={_0x53166c:0x996,_0x177684:0x683,_0xb0c288:0x59c,_0x1b62cf:0x790,_0x31154e:0x8f3,_0x32e6b8:0x6c3,_0x1fd826:0x334,_0x15a454:0x508,_0x437837:0x603,_0x234550:0x722,_0x4d6dd9:0x4f8,_0x22b8f2:0xa0f,_0x112892:0x76f,_0x35ed05:0x853,_0x587da0:0x683},_0x463473={_0x528784:0x64d},_0x425d10={_0xcabeb8:0x206,_0x2d4a4a:0xc5,_0x1c65ab:0xa5,_0x59d6cf:0x1e4,_0x400bc6:0x10a,_0x89ea21:0x39a,_0x1d21ca:0x6af,_0x51edf1:0x179,_0x2e4fea:0x87,_0x2dceb4:0x9c,_0x38e4f3:0xd};function _0x569e16(_0x11f201,_0x464dff,_0x19bc41,_0x1aae48){return _0x5885dd(_0x11f201-0x1d4,_0x11f201,_0x19bc41-0x102,_0x19bc41-0x336);}const _0x909878=[..._0x65027f[_0x569e16(_0x2d5e7f._0x53166c,_0x2d5e7f._0x177684,0x7fe,0x833)]],_0x39c94a=[..._0x473326]['sort']((_0x341b7f,_0x26bd44)=>{const _0x1c632d={_0x2946dc:0x16c},_0x31e95b={_0x42aaf8:0x6a5,_0xfd9764:0x16b};function _0x4198f5(_0x248bf9,_0x4c465d,_0x26e700,_0x2bcee6){return _0x569e16(_0x2bcee6,_0x4c465d-0x7e,_0x4c465d- -_0x31e95b._0x42aaf8,_0x2bcee6-_0x31e95b._0xfd9764);}if(_0x341b7f[_0xa6f2c0(0x46d,0x61a,0x6dd,0x4e7)]!==_0x26bd44['spliceIndex'])return _0x26bd44[_0x4198f5(_0x425d10._0xcabeb8,_0x425d10._0x2d4a4a,-0x13e,-_0x425d10._0x1c65ab)]-_0x341b7f[_0x4198f5(0x80,_0x425d10._0x2d4a4a,_0x425d10._0x59d6cf,_0x425d10._0x400bc6)];const _0x38c050=_0x341b7f[_0xa6f2c0(0x654,0x3c5,0x71d,0x536)]===_0xa6f2c0(0x482,0x613,0x3e4,0x4a9),_0x2a051c=_0x26bd44[_0xa6f2c0(_0x425d10._0x89ea21,_0x425d10._0x1d21ca,0x64a,0x536)]===_0x4198f5(_0x425d10._0x51edf1,_0x425d10._0x2e4fea,_0x425d10._0x2dceb4,_0x425d10._0x38e4f3);if(_0x38c050!==_0x2a051c)return _0x38c050?0x1:-0x1;function _0xa6f2c0(_0x412d73,_0x49b64e,_0x5c89da,_0x404551){return _0x569e16(_0x49b64e,_0x49b64e-_0x1c632d._0x2946dc,_0x404551- -0x283,_0x404551-0x1bc);}return 0x0;});for(const _0x277e18 of _0x39c94a){_0x909878[_0x569e16(0x789,_0x2d5e7f._0xb0c288,_0x2d5e7f._0x1b62cf,0x889)](_0x277e18[_0x3d1655(_0x2d5e7f._0x31154e,_0x2d5e7f._0x32e6b8,0x7f2,0x7bc)],_0x277e18[_0x569e16(0x3b8,_0x2d5e7f._0x1fd826,_0x2d5e7f._0x15a454,_0x2d5e7f._0x437837)],..._0x277e18[_0x3d1655(_0x2d5e7f._0x234550,_0x2d5e7f._0x4d6dd9,0x596,0x38d)]);}function _0x3d1655(_0x542da9,_0x136444,_0x1d275a,_0x1a2a4d){return _0x16ac01(_0x542da9-0x1c2,_0x1d275a-_0x463473._0x528784,_0x1d275a-0x1af,_0x136444);}if(_0x909878['length']===0x0)return'';const _0x445090=_0x909878[_0x3d1655(_0x2d5e7f._0x22b8f2,_0x2d5e7f._0x112892,_0x2d5e7f._0x35ed05,_0x2d5e7f._0x587da0)]('\x0a');return _0x65027f['finalNewline']?_0x445090+'\x0a':_0x445090;}function operationRowDelta(_0x98d601){const _0x301315={_0x7e143a:0x36,_0x4f7090:0x71},_0x32072e={_0x10d358:0x1c7},_0x18abed={_0x4fe088:0x1e7};function _0x18f7b0(_0x1a4231,_0x3a5311,_0x3f2114,_0x4c0f14){return _0x16ac01(_0x1a4231-0x1e8,_0x4c0f14-_0x18abed._0x4fe088,_0x3f2114-0x7,_0x1a4231);}function _0xd4934d(_0x375ae9,_0x27901d,_0x19ccf9,_0x1152ff){return _0x5885dd(_0x375ae9-_0x32072e._0x10d358,_0x19ccf9,_0x19ccf9-0x179,_0x1152ff- -0x30e);}return _0x98d601[_0xd4934d(-_0x301315._0x7e143a,-0x28d,-0x2f3,-0x136)][_0xd4934d(-_0x301315._0x4f7090,0xfa,-0x166,0x7d)]-_0x98d601['deleteCount'];}function finalFileOrder(_0x21ee1f){const _0x2d145a={_0x56cefb:0x329,_0x50c307:0x16f,_0x59867f:0x25c,_0x2479a4:0x27f,_0x328361:0x2c7,_0x272b71:0x300,_0x32b93a:0x6e,_0x2d2bce:0x1e0,_0x1d77f4:0x25,_0x48e1d2:0x3b,_0x33549c:0x131,_0x51e54d:0x6a},_0x5acf64={_0x5679c1:0x2e9};return[..._0x21ee1f]['sort']((_0x3c7c5b,_0x356412)=>{function _0x295bf2(_0x82fa47,_0x1997b3,_0x5ef113,_0x5aef87){return _0xa933(_0x5aef87- -0x230,_0x1997b3);}function _0x19e559(_0x683655,_0x35712a,_0x7bafd7,_0x262ee0){return _0xa933(_0x7bafd7- -_0x5acf64._0x5679c1,_0x35712a);}if(_0x3c7c5b[_0x19e559(_0x2d145a._0x56cefb,0x1b7,0x16f,0x5)]!==_0x356412[_0x19e559(0x1b1,0xb,_0x2d145a._0x50c307,_0x2d145a._0x59867f)])return _0x3c7c5b['spliceIndex']-_0x356412[_0x19e559(_0x2d145a._0x2479a4,_0x2d145a._0x328361,_0x2d145a._0x50c307,0x365)];const _0x1ec4d3=_0x3c7c5b[_0x19e559(0x3c1,0xc7,0x1be,_0x2d145a._0x272b71)]===_0x295bf2(_0x2d145a._0x32b93a,_0x2d145a._0x2d2bce,-_0x2d145a._0x1d77f4,0x1ea),_0x47140=_0x356412['kind']===_0x19e559(0x315,_0x2d145a._0x48e1d2,_0x2d145a._0x33549c,-_0x2d145a._0x51e54d);if(_0x1ec4d3!==_0x47140)return _0x1ec4d3?-0x1:0x1;return 0x0;});}function computeFinalFileNewSideLines(_0x13164e){const _0x3d9f30={_0x340b31:0x161,_0x1a6896:0x10f,_0x4808fa:0x1aa,_0x33f890:0x16f,_0x2aa484:0x125,_0xcdb32b:0xf6,_0x64a19b:0x175,_0x262ca8:0x150,_0x46e8eb:0x14e,_0x2a8eb6:0x428,_0x3a36aa:0x529,_0x13e95c:0x3e3,_0x5c9f6b:0xe4,_0x52e8de:0x5c,_0x511624:0x23,_0x5cd199:0x1d3,_0x287d71:0x175,_0xc8a925:0x1ac,_0x33d20a:0x141,_0xf9648c:0x38,_0x3a799b:0x28a,_0x4fe8a9:0x2c2,_0x1518f6:0x24d,_0x1d21e2:0x1b2,_0x948f07:0x2a0,_0x44abc3:0x112,_0x3924a6:0x94,_0xc74eb8:0x26b,_0x1e6939:0x2ae,_0x4de622:0x7f,_0x48e2d6:0xfd},_0x4ef039={_0x32464a:0x127,_0x15d54a:0x120},_0x2f6db1={_0x597bc9:0x1a8,_0x1a4593:0x13c},_0x3df734=new Array(_0x13164e[_0x6745bd(0x26b,_0x3d9f30._0x340b31,0x254,_0x3d9f30._0x1a6896)]);let _0x40113c=0x0;function _0x4b8f65(_0x354cc6,_0x2f9651,_0x1324b3,_0x188462){return _0x16ac01(_0x354cc6-_0x2f6db1._0x597bc9,_0x1324b3- -0x42,_0x1324b3-_0x2f6db1._0x1a4593,_0x354cc6);}for(const _0x4b120c of finalFileOrder(_0x13164e)){const _0xf7e27=_0x4b120c[_0x4b8f65(0x32b,0x199,0x1b2,_0x3d9f30._0x4808fa)]===_0x4b8f65(_0x3d9f30._0x33f890,-0x4d,_0x3d9f30._0x2aa484,0x10f)?_0x4b120c['canonical'][_0x4b8f65(_0x3d9f30._0xcdb32b,_0x3d9f30._0x64a19b,_0x3d9f30._0x262ca8,_0x3d9f30._0x46e8eb)]===_0x6745bd(_0x3d9f30._0x2a8eb6,_0x3d9f30._0x3a36aa,0x4cc,_0x3d9f30._0x13e95c)?_0x4b120c[_0x4b8f65(_0x3d9f30._0x5c9f6b,-_0x3d9f30._0x52e8de,-_0x3d9f30._0x511624,-_0x3d9f30._0x5cd199)][_0x4b8f65(_0x3d9f30._0x287d71,-_0x3d9f30._0xc8a925,_0x3d9f30._0x511624,0x20e)]:_0x4b120c[_0x4b8f65(-_0x3d9f30._0x33d20a,0x10f,-0x23,0x83)][_0x6745bd(0x1d4,-_0x3d9f30._0xf9648c,_0x3d9f30._0x3a799b,_0x3d9f30._0x4fe8a9)]+0x1:_0x4b120c['sourceStart'],_0x29e66d=_0xf7e27+_0x40113c,_0x418ead=_0x4b120c[_0x4b8f65(_0x3d9f30._0x1518f6,0xb3,_0x3d9f30._0x1d21e2,_0x3d9f30._0x948f07)]===_0x6745bd(_0x3d9f30._0x44abc3,0x309,-0xf3,_0x3d9f30._0x3924a6)?0x0:_0x4b120c['rows'][_0x6745bd(_0x3d9f30._0xc74eb8,_0x3d9f30._0x1e6939,0x8b,_0x3d9f30._0x4de622)];_0x3df734[_0x13164e[_0x4b8f65(0x24,0x20,-0xdb,_0x3d9f30._0x48e2d6)](_0x4b120c)]={'newStartLine':_0x29e66d,'newEndLine':_0x29e66d+_0x418ead-0x1},_0x40113c+=operationRowDelta(_0x4b120c);}function _0x6745bd(_0x528d8e,_0x1322af,_0x532e61,_0x299d6e){return _0x5885dd(_0x528d8e-0x7,_0x532e61,_0x532e61-_0x4ef039._0x32464a,_0x528d8e- -_0x4ef039._0x15d54a);}return _0x3df734;}function buildBlock(_0x327a21,_0x1ea425,_0x1b695f,_0x1af942){const _0x5b6fd7={_0x1877ff:0x8bd,_0x574333:0x6e7,_0x6ce88b:0x771,_0x82dab7:0x6dd,_0xaabbdb:0x583,_0x1b5d90:0x3f0,_0xbc38cb:0x47b,_0xfbb2d9:0x73e,_0x35a30b:0x42f,_0x4a4478:0x32a,_0x347e29:0x566,_0x569468:0x61a,_0x420459:0x5c4,_0x35f861:0x3e8,_0x30d333:0x482,_0x55644f:0x285,_0x1ca8dc:0x263,_0x2b9464:0x471,_0x28c115:0x457,_0x188424:0x2c2,_0x3f4bb6:0x647,_0x481151:0x6ec,_0x928317:0x6f8,_0x53581f:0x4f1,_0x29e624:0x4dd,_0x24b6a7:0x30f,_0x5721ff:0x6da,_0x1570b3:0x50f,_0x1d377e:0x837,_0x397e3c:0x725,_0x39495b:0x523,_0x13cf0c:0x3fb,_0x40dd9b:0x47b,_0x32f040:0x4e5,_0x2d2477:0x301,_0x388c02:0x744,_0x54bab4:0x517,_0x185122:0x4c9,_0x5918dc:0x644,_0x1d58d6:0x644,_0x2a92e2:0x707,_0x16a521:0x67c,_0xf57f47:0x6a5},_0x4b7759={_0x3d1721:0x131,_0x1ae8b4:0x7d},_0x2ad6fd={_0xf0ff6b:0x31,_0x19e1d7:0x166,_0x11ac7a:0x2f1};function _0x424a04(_0x150270,_0x6bc884,_0x5f22ac,_0x29ac2f){return _0x5885dd(_0x150270-_0x2ad6fd._0xf0ff6b,_0x29ac2f,_0x5f22ac-_0x2ad6fd._0x19e1d7,_0x6bc884-_0x2ad6fd._0x11ac7a);}if(_0x1ea425['kind']===_0x424a04(_0x5b6fd7._0x1877ff,_0x5b6fd7._0x574333,0x64e,_0x5b6fd7._0x6ce88b)){const {line:_0x5e5b77,position:_0x293081}=_0x1ea425[_0x5c1ce1(0x505,0x646,0x6f6,_0x5b6fd7._0x82dab7)],_0x2e50a6=_0x293081==='before'?_0x5e5b77:_0x5e5b77+0x1;return{'oldText':'','newText':_0x1ea425[_0x5c1ce1(0x42f,_0x5b6fd7._0xaabbdb,_0x5b6fd7._0x1b5d90,_0x5b6fd7._0xbc38cb)][_0x5c1ce1(0x6ec,0x7de,0x625,_0x5b6fd7._0xfbb2d9)]('\x0a'),'lineNumbers':{'oldStartLine':_0x2e50a6,'oldEndLine':_0x2e50a6-0x1,'newStartLine':_0x1b695f,'newEndLine':_0x1af942,'oldLineCount':0x0,'newLineCount':_0x1ea425[_0x5c1ce1(_0x5b6fd7._0x35a30b,0x49e,0x502,_0x5b6fd7._0x4a4478)][_0x5c1ce1(0x5e2,_0x5b6fd7._0x347e29,_0x5b6fd7._0x569468,0x5cb)]}};}const _0x4c6810=_0x327a21[_0x424a04(0x68a,0x7b9,0x735,_0x5b6fd7._0x420459)][_0x5c1ce1(_0x5b6fd7._0x35f861,_0x5b6fd7._0x30d333,_0x5b6fd7._0x55644f,_0x5b6fd7._0x1ca8dc)](_0x1ea425[_0x5c1ce1(_0x5b6fd7._0x2b9464,0x5db,0x28c,0x522)]-0x1,_0x1ea425[_0x5c1ce1(_0x5b6fd7._0x28c115,_0x5b6fd7._0x188424,_0x5b6fd7._0x3f4bb6,0x27b)])[_0x5c1ce1(_0x5b6fd7._0x481151,0x7f2,0x631,0x621)]('\x0a');function _0x5c1ce1(_0x2e19f4,_0x117f66,_0xea3b7f,_0x1b0ac4){return _0x5885dd(_0x2e19f4-_0x4b7759._0x3d1721,_0x117f66,_0xea3b7f-_0x4b7759._0x1ae8b4,_0x2e19f4-0x257);}const _0x3b72ba=_0x1ea425[_0x424a04(_0x5b6fd7._0x928317,_0x5b6fd7._0x53581f,_0x5b6fd7._0x29e624,_0x5b6fd7._0x24b6a7)]-_0x1ea425['sourceStart']+0x1;if(_0x1ea425[_0x5c1ce1(_0x5b6fd7._0x5721ff,_0x5b6fd7._0x1570b3,0x773,_0x5b6fd7._0x1d377e)]===_0x424a04(_0x5b6fd7._0x397e3c,_0x5b6fd7._0x39495b,_0x5b6fd7._0x13cf0c,_0x5b6fd7._0x40dd9b))return{'oldText':_0x4c6810,'newText':'','lineNumbers':{'oldStartLine':_0x1ea425['sourceStart'],'oldEndLine':_0x1ea425[_0x424a04(_0x5b6fd7._0x420459,0x4f1,_0x5b6fd7._0x32f040,0x4f7)],'newStartLine':_0x1b695f,'newEndLine':_0x1b695f-0x1,'oldLineCount':_0x3b72ba,'newLineCount':0x0}};return{'oldText':_0x4c6810,'newText':_0x1ea425[_0x424a04(_0x5b6fd7._0x2d2477,0x4c9,0x608,0x533)][_0x424a04(_0x5b6fd7._0x388c02,0x786,0x636,0x670)]('\x0a'),'lineNumbers':{'oldStartLine':_0x1ea425['sourceStart'],'oldEndLine':_0x1ea425[_0x424a04(0x387,0x4f1,0x62e,_0x5b6fd7._0x54bab4)],'newStartLine':_0x1b695f,'newEndLine':_0x1af942,'oldLineCount':_0x3b72ba,'newLineCount':_0x1ea425[_0x424a04(0x447,_0x5b6fd7._0x185122,_0x5b6fd7._0x5918dc,_0x5b6fd7._0x1d58d6)][_0x424a04(_0x5b6fd7._0x2a92e2,_0x5b6fd7._0x16a521,_0x5b6fd7._0xf57f47,0x87a)]}};}function stableStringify(_0x2b4cc3){const _0x3dcd25={_0x10c9f6:0xa2,_0x538c4f:0x1fd,_0x579900:0x359,_0x1c925c:0x5ec,_0x48a8a0:0x4dd,_0x287509:0x55b,_0x531db6:0x657,_0x1d7e71:0x7a3,_0x4d1bc3:0xa5c,_0x3d418c:0x6da,_0x1e1b83:0x9bf},_0x4686ff={_0x1494d7:0x138,_0x39c22e:0x664},_0x527e80={_0x55bdac:0xdf,_0x439973:0x2ce};function _0x2212d1(_0x107ab8,_0x29a447,_0x356368,_0x3ca2a2){return _0x5885dd(_0x107ab8-0xbd,_0x356368,_0x356368-_0x527e80._0x55bdac,_0x107ab8- -_0x527e80._0x439973);}function _0x13e67d(_0x595b39,_0x59dcfc,_0x32a42a,_0x81c874){return _0x16ac01(_0x595b39-_0x4686ff._0x1494d7,_0x59dcfc-_0x4686ff._0x39c22e,_0x32a42a-0xc4,_0x595b39);}if(Array[_0x2212d1(-0xa8,-_0x3dcd25._0x10c9f6,-0x242,-_0x3dcd25._0x538c4f)](_0x2b4cc3))return'['+_0x2b4cc3[_0x13e67d(_0x3dcd25._0x579900,0x523,_0x3dcd25._0x1c925c,0x371)](stableStringify)['join'](',')+']';if(_0x2b4cc3!==null&&typeof _0x2b4cc3==='object'){const _0x4b832c=_0x2b4cc3;return'{'+Object['keys'](_0x4b832c)[_0x13e67d(_0x3dcd25._0x48a8a0,_0x3dcd25._0x287509,0x666,0x471)]()['map'](_0x2d84fd=>JSON[_0x13e67d(0x851,0x7f7,0x892,0x76c)](_0x2d84fd)+':'+stableStringify(_0x4b832c[_0x2d84fd]))[_0x13e67d(_0x3dcd25._0x531db6,0x86a,_0x3dcd25._0x1d7e71,_0x3dcd25._0x4d1bc3)](',')+'}';}return JSON[_0x13e67d(_0x3dcd25._0x3d418c,0x7f7,0x67a,_0x3dcd25._0x1e1b83)](_0x2b4cc3);}function prepareCanonicalFileEdit(_0x1a96dc,_0x605068,_0x43094c){const _0x21180a={_0x315736:0x259,_0x291dbe:0x100,_0x3ffd63:0x284,_0x56552f:0x64},_0x5e677e={_0x5e2b5e:0x1e2,_0x4f4596:0x21e},_0x48d825={_0x5a9618:0x97,_0x25dd00:0x1b1},_0x4bf503=planOperations(_0x1a96dc,_0x43094c);assertNoOverlaps(_0x4bf503);const _0x16c3c6=assertLinesObserved(_0x4bf503,_0x605068),_0xbbbe9b=applyOperations(_0x1a96dc,_0x4bf503);function _0x5b5075(_0x37ef35,_0x35927a,_0x47877f,_0x49e70c){return _0x16ac01(_0x37ef35-_0x48d825._0x5a9618,_0x47877f-0x1e4,_0x47877f-_0x48d825._0x25dd00,_0x35927a);}function _0x150ae2(_0x3291a6,_0x302c67,_0x688317,_0x4ae314){return _0x5885dd(_0x3291a6-_0x5e677e._0x5e2b5e,_0x302c67,_0x688317-0xfa,_0x688317-_0x5e677e._0x4f4596);}if(_0xbbbe9b===_0x1a96dc['text'])throw createAnchoredFileError(_0x5b5075(_0x21180a._0x315736,0x159,0x35e,0x2f7),'The\x20anchored\x20operations\x20would\x20leave\x20the\x20file\x20byte-identical.');const _0x5caf14=_0x4bf503[_0x5b5075(-_0x21180a._0x291dbe,0x1cd,0xa3,-0xa7)](_0x2cc4fc=>_0x2cc4fc[_0x150ae2(0x44e,0x440,0x4cc,0x3f0)]),_0x2dcd26=computeFinalFileNewSideLines(_0x4bf503);return{'afterText':_0xbbbe9b,'operations':_0x5caf14,'blocks':_0x4bf503[_0x5b5075(_0x21180a._0x3ffd63,0x268,0xa3,-_0x21180a._0x56552f)]((_0x5c2cb2,_0xca42c5)=>{const {newStartLine:_0x56a64f,newEndLine:_0x427953}=_0x2dcd26[_0xca42c5];return buildBlock(_0x1a96dc,_0x5c2cb2,_0x56a64f,_0x427953);}),'requiredLines':_0x16c3c6,'payloadDigest':sha256Bytes(stableStringify(_0x5caf14))};}import _0x302d85 from'string-width';var EMPTY_FILE_MESSAGE='File\x20is\x20empty;\x20anchored\x20edits\x20require\x20an\x20observed\x20line.';function clampLine(_0x190914,_0x29018c){const _0x176e1b={_0x48e34c:0x5fa,_0x5aff1d:0x61a,_0x100dd3:0x538,_0x3ee734:0x3a4,_0x3e4bb2:0x58d,_0x269670:0x66d},_0x339356={_0x385ae0:0x269};function _0x6ad20e(_0x15ea42,_0x1d62cf,_0x86de77,_0xb43e00){return _0x5885dd(_0x15ea42-0x141,_0x86de77,_0x86de77-0x198,_0x15ea42-0x3dd);}function _0x59fc20(_0x7fc555,_0x3fecaf,_0x578d01,_0x5384f1){return _0x5885dd(_0x7fc555-0x1d1,_0x3fecaf,_0x578d01-0x11d,_0x578d01-_0x339356._0x385ae0);}if(!Number['isFinite'](_0x190914))return 0x1;return Math[_0x6ad20e(_0x176e1b._0x48e34c,_0x176e1b._0x5aff1d,0x5e2,_0x176e1b._0x100dd3)](0x1,Math['min'](Math[_0x59fc20(_0x176e1b._0x3ee734,0x5f8,_0x176e1b._0x3e4bb2,_0x176e1b._0x269670)](_0x190914),_0x29018c));}function formatAnchoredFileRead(_0x2645b3){const _0x53b688={_0x34bf5c:0x4ea,_0x519f68:0x1fe,_0xd90f9c:0x447,_0x2553f5:0x181,_0x5d50f8:0x5a6,_0x45ac13:0x197,_0x299e46:0x16,_0xa3ab7e:0x43f,_0x2ff0eb:0x431,_0x39b3bd:0x32b,_0x6be69d:0x246,_0x870476:0x189,_0x4ba55e:0x206,_0x3a49cd:0xb5,_0x48c130:0xb6,_0x34298e:0x111,_0x156b13:0x22,_0x51860f:0x23b,_0x11ae39:0x462,_0x401cc0:0x63d,_0x4acd26:0x6d6,_0xfb875a:0x49a,_0x3d36bb:0x59a,_0x40ab1a:0x80,_0xc30cbe:0xbb,_0x3c307d:0x242,_0xbb6398:0x14a,_0x397708:0x21c,_0x130816:0xf8,_0x5529dd:0x168,_0x338b81:0x11d,_0x377e8c:0x625},_0x8e339b={_0x3d8652:0x1bb,_0x4215da:0xb7},_0x8dc771={_0x3b2487:0x10e},{displayPath:_0x3df668,snapshot:_0x3bf3cd,maxBytes:_0x512412}=_0x2645b3,_0x18b9bb=_0x3bf3cd[_0x309429(0x3ba,_0x53b688._0x34bf5c,_0x53b688._0x519f68,_0x53b688._0xd90f9c)][_0x309429(0x27d,_0x53b688._0x2553f5,0x1c1,0x422)],_0x1bddb7='['+_0x3df668+'#'+_0x3bf3cd[_0x20a118(0x5dd,_0x53b688._0x5d50f8,0x6de,0x63e)]+']\x0a',_0x2b5388=Buffer[_0x309429(0x1b0,_0x53b688._0x45ac13,-_0x53b688._0x299e46,0x170)](_0x1bddb7,_0x20a118(_0x53b688._0xa3ab7e,0x2c5,0x4c4,_0x53b688._0x2ff0eb));if(_0x18b9bb===0x0){const _0x46b160=''+_0x1bddb7+EMPTY_FILE_MESSAGE+'\x0a';return{'output':_0x46b160,'displayedLines':[],'truncated':![]};}const _0x2535bc=clampLine(_0x2645b3[_0x20a118(0x33c,_0x53b688._0x39b3bd,_0x53b688._0x6be69d,_0x53b688._0x870476)]??0x1,_0x18b9bb);function _0x309429(_0xad9868,_0x1c1573,_0x1c435b,_0x255b9a){return _0x5885dd(_0xad9868-0x96,_0x1c1573,_0x1c435b-0x7e,_0xad9868- -_0x8dc771._0x3b2487);}const _0x56e5fc=clampLine(_0x2645b3[_0x309429(_0x53b688._0x4ba55e,0x74,_0x53b688._0x3a49cd,0x1c9)]??_0x18b9bb,_0x18b9bb),_0x4aefba=Math[_0x309429(_0x53b688._0x48c130,-_0x53b688._0x34298e,-_0x53b688._0x156b13,_0x53b688._0x51860f)](_0x2535bc,_0x56e5fc),_0x346b62=Math[_0x20a118(0x392,0x4ab,_0x53b688._0x11ae39,0x2f1)](_0x2535bc,_0x56e5fc),_0x445e18=[],_0x5a1a32=[];let _0x1b9121=_0x2b5388;for(let _0x4e43de=_0x4aefba;_0x4e43de<=_0x346b62;_0x4e43de+=0x1){const _0x315226=_0x4e43de+':'+_0x3bf3cd[_0x20a118(_0x53b688._0x401cc0,0x72d,_0x53b688._0x11ae39,_0x53b688._0x4acd26)][_0x4e43de-0x1]+'\x0a',_0x4fdf6f=Buffer['byteLength'](_0x315226,_0x20a118(_0x53b688._0xa3ab7e,0x639,_0x53b688._0xfb875a,_0x53b688._0x3d36bb)),_0x8f9aec=_0x4e43de+0x1,_0x297352=Buffer['byteLength'](_0x309429(_0x53b688._0x40ab1a,-0xb5,0x11a,-_0x53b688._0xc30cbe)+_0x8f9aec+'.\x0a',_0x309429(0x1bc,_0x53b688._0x3c307d,0x38d,0x2cf));if(_0x1b9121+_0x4fdf6f+_0x297352>_0x512412){const _0x1a4f83='Read\x20the\x20next\x20range\x20with\x20lineStart:\x20'+_0x4e43de+'.\x0a';return{'output':''+_0x1bddb7+_0x445e18['join']('')+_0x1a4f83,'displayedLines':_0x5a1a32,'lineStart':_0x4aefba,'lineEnd':_0x5a1a32[_0x5a1a32[_0x309429(0x27d,0x2d7,_0x53b688._0xbb6398,_0x53b688._0x397708)]-0x1],'truncated':!![],'nextLineStart':_0x4e43de};}_0x445e18[_0x309429(_0x53b688._0x130816,0x230,_0x53b688._0x5529dd,-_0x53b688._0x338b81)](_0x315226),_0x5a1a32[_0x20a118(0x37b,0x532,0x251,0x591)](_0x4e43de),_0x1b9121+=_0x4fdf6f;}function _0x20a118(_0x1640bb,_0xfd71ca,_0x545cca,_0x218fef){return _0x16ac01(_0x1640bb-_0x8e339b._0x3d8652,_0x1640bb-0x404,_0x545cca-_0x8e339b._0x4215da,_0x218fef);}return{'output':''+_0x1bddb7+_0x445e18[_0x20a118(0x60a,0x469,_0x53b688._0x377e8c,0x467)](''),'displayedLines':_0x5a1a32,'lineStart':_0x4aefba,'lineEnd':_0x346b62,'truncated':![]};}function isWithinDisplayColumns(_0x588c88,_0x45c482){return _0x302d85(_0x588c88)<=_0x45c482;}import{randomUUID as _0x5a3d2b}from'crypto';function _0x5885dd(_0x312e67,_0x3fa7af,_0x35845c,_0x3c2bc4){return _0xa933(_0x3c2bc4- -0x24,_0x3fa7af);}import{chmod,rename,rm,writeFile as _0x4bdbee}from'fs/promises';import*as _0x55049d from'path';var defaultFileSystem={'writeFile':_0x4bdbee,'chmod':chmod,'rename':rename,'rm':rm};async function atomicReplaceFile(_0xd77b66,_0x3a97eb,_0x3a78d1,_0x49ac08){const _0x40ec96={_0x51564d:0x56e,_0x5700e8:0x496,_0x1ce6c9:0x5a2,_0x29a4ba:0x40a,_0xfea34f:0x53a,_0x12e768:0x910,_0x4f40a5:0x61f,_0x1f882a:0x91e,_0x5d558c:0x790,_0x2d2caf:0x3f5,_0x46632f:0x581,_0x925016:0x7d8},_0x2a07f3={_0x2fc46a:0x8f,_0x22a992:0x2b3},_0x253156=_0x49ac08??defaultFileSystem,_0x5493f6=_0x55049d[_0x559601(_0x40ec96._0x51564d,0x4e9,_0x40ec96._0x5700e8,_0x40ec96._0x1ce6c9)](_0xd77b66);function _0x559601(_0x3f511e,_0x56c19b,_0x39d76b,_0x11b0e1){return _0x5885dd(_0x3f511e-_0x2a07f3._0x2fc46a,_0x56c19b,_0x39d76b-0x193,_0x11b0e1-_0x2a07f3._0x22a992);}const _0x18bc82=_0x55049d['join'](_0x5493f6,_0x559601(0x323,0x70e,_0x40ec96._0x29a4ba,_0x40ec96._0xfea34f)+_0x55049d[_0x559601(_0x40ec96._0x12e768,_0x40ec96._0x4f40a5,_0x40ec96._0x1f882a,_0x40ec96._0x5d558c)](_0xd77b66)+'.'+_0x5a3d2b());function _0x3c8875(_0x32f66e,_0x5f0a1b,_0x43b485,_0x459bb0){return _0x16ac01(_0x32f66e-0x10b,_0x459bb0-0x24e,_0x43b485-0x10d,_0x5f0a1b);}const _0x1878f4=_0x3a78d1&0xfff;try{await _0x253156[_0x3c8875(0x3d5,0x235,0x4ae,_0x40ec96._0x2d2caf)](_0x18bc82,_0x3a97eb,{'mode':_0x1878f4}),await _0x253156[_0x559601(_0x40ec96._0x46632f,_0x40ec96._0x925016,0x4f1,0x667)](_0x18bc82,_0x1878f4),await _0x253156['rename'](_0x18bc82,_0xd77b66);}finally{await _0x253156['rm'](_0x18bc82,{'force':!![]});}}var utf8Decoder=new TextDecoder('utf-8',{'fatal':!![],'ignoreBOM':!![]});function exactReplacementGuidance(_0x546652,_0x408df2){const _0x3818df={_0x34d598:0x9f,_0x2194ad:0x1e2},_0x459127={_0x5b00ee:0x1b9,_0x471aed:0x12a,_0x29e6c8:0x1a8};function _0x2b553e(_0x3eca89,_0x3860c5,_0x1c972e,_0x34a67b){return _0x5885dd(_0x3eca89-_0x459127._0x5b00ee,_0x3eca89,_0x1c972e-_0x459127._0x471aed,_0x34a67b- -_0x459127._0x29e6c8);}throw createAnchoredFileError(_0x2b553e(0x1f9,0x37b,_0x3818df._0x34d598,_0x3818df._0x2194ad),_0x408df2+'\x20'+_0x546652+';\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x546652});}function createNormalizedFileSnapshot(_0x379de8,_0x605e40,_0x2b9b45){const _0x26a577={_0x8a99e2:0x553,_0x30f635:0x35a,_0x68d5fe:0xcc,_0x905c04:0x4a0,_0x6fca10:0x4ea,_0x428880:0x5d2,_0x2b0b09:0x123,_0x6c3da6:0xf7,_0x45398d:0x31f,_0x17749d:0x308,_0x28a054:0x30f,_0x36f5ce:0x211,_0x1c59e4:0x13a,_0x4fc67c:0x283,_0x26c8d9:0x13a,_0x426cf2:0x59d,_0x30c136:0x41d,_0x490721:0x5,_0x525e92:0x281,_0x2f81b2:0x2a5,_0x13c31c:0xb3,_0x4eef38:0x13,_0x3ebaa5:0x75b,_0x3ef246:0xc3,_0x54c5aa:0x8b,_0x1ebcb1:0x1f0,_0xff40bd:0x177,_0x23d3da:0x245,_0x43d2fe:0x6e,_0x2628b3:0x66,_0x11286f:0x1dc,_0x12604c:0x69,_0x4b6a5b:0x272,_0x11012c:0x2b0,_0x472d54:0x2e1},_0x24fd32={_0x313389:0x18c,_0x21317d:0x1a},_0x2b08bd={_0x1250fe:0x1da};Buffer[_0x5153ad(_0x26a577._0x8a99e2,0x568,0x38c,_0x26a577._0x30f635)](_0x605e40)[_0x31c519(0x219,_0x26a577._0x68d5fe,0x405,0x1ab)](0x0)&&exactReplacementGuidance(_0x379de8,_0x5153ad(0x1c1,0x29e,0x3d4,_0x26a577._0x905c04)+_0x379de8+'\x20contains\x20NUL\x20bytes.');let _0x42ac80;function _0x31c519(_0x1c7ab6,_0x3a259d,_0x411033,_0x14a05f){return _0x5885dd(_0x1c7ab6-0x166,_0x411033,_0x411033-_0x2b08bd._0x1250fe,_0x1c7ab6- -0x2cb);}try{_0x42ac80=utf8Decoder[_0x5153ad(0x57a,_0x26a577._0x6fca10,0x3db,_0x26a577._0x428880)](_0x605e40);}catch{exactReplacementGuidance(_0x379de8,_0x31c519(_0x26a577._0x2b0b09,_0x26a577._0x6c3da6,_0x26a577._0x45398d,_0x26a577._0x17749d)+_0x379de8+'\x20is\x20not\x20valid\x20UTF-8.');}const _0x46845b=_0x42ac80[_0x31c519(0x248,0x24e,_0x26a577._0x28a054,_0x26a577._0x36f5ce)](0x0)===0xfeff;if(_0x46845b)_0x42ac80=_0x42ac80[_0x31c519(-_0x26a577._0x1c59e4,-_0x26a577._0x4fc67c,-0x349,-_0x26a577._0x26c8d9)](0x1);const _0x2f89a3=_0x42ac80['includes']('\x0d\x0a'),_0x3b4740=/(?<!\r)\n/[_0x5153ad(0x62e,_0x26a577._0x426cf2,_0x26a577._0x30c136,0x428)](_0x42ac80);_0x2f89a3&&_0x3b4740&&exactReplacementGuidance(_0x379de8,_0x31c519(_0x26a577._0x2b0b09,0xd0,-_0x26a577._0x490721,_0x26a577._0x525e92)+_0x379de8+_0x31c519(_0x26a577._0x2f81b2,0x33d,_0x26a577._0x13c31c,0x21e));const _0x157568=_0x2f89a3?_0x31c519(-0x159,0x9b,-0x109,_0x26a577._0x4eef38):'lf',_0xc67be=_0x2f89a3?_0x42ac80[_0x5153ad(0x4be,0x5bf,0x54f,_0x26a577._0x3ebaa5)](/\r\n/g,'\x0a'):_0x42ac80,_0x322919=_0xc67be[_0x31c519(_0x26a577._0x3ef246,0xcc,-_0x26a577._0x54c5aa,_0x26a577._0x1ebcb1)]('\x0a'),_0x90e086=_0xc67be===''?[]:_0xc67be['split']('\x0a')[_0x5153ad(0x297,0x94,_0x26a577._0xff40bd,_0x26a577._0x23d3da)](0x0,_0x322919?-0x1:void 0x0);function _0x5153ad(_0x43b010,_0x3fb879,_0x4f803a,_0x1691e8){return _0x5885dd(_0x43b010-_0x24fd32._0x313389,_0x1691e8,_0x4f803a-0x103,_0x4f803a- -_0x24fd32._0x21317d);}const _0x489753=sha256Bytes(_0xc67be),_0x565c3a=_0x489753[_0x5153ad(0x1ab,_0x26a577._0x26c8d9,0x177,_0x26a577._0x43d2fe)](0x0,0xc)[_0x31c519(_0x26a577._0x2628b3,_0x26a577._0x11286f,_0x26a577._0x12604c,0x219)]();return{'canonicalPath':_0x379de8,'text':_0xc67be,'lines':_0x90e086,'finalNewline':_0x322919,'bom':_0x46845b,'eol':_0x157568,'digest':_0x489753,'tag':_0x565c3a,'utf8Bytes':Buffer[_0x5153ad(0x353,0x2f5,0x2a4,_0x26a577._0x4b6a5b)](_0xc67be,_0x5153ad(0x42c,0x489,_0x26a577._0x11012c,0x3a2)),'recordedAt':_0x2b9b45??Date[_0x5153ad(_0x26a577._0x472d54,0x3a3,0x4b8,0x490)]()};}function serializeNormalizedFile(_0x2e10de,_0x56437a){const _0x1a12bd={_0x2d9746:0xcc,_0x57f1a7:0x17,_0x502d71:0x1f0,_0x4af197:0x6e4,_0x3ae5f2:0x4df,_0x45c842:0x5c1,_0x2176df:0x22,_0x2dbb49:0x14a},_0xba0eb2={_0x122954:0x10d},_0xc5d559={_0x382a39:0x205};function _0x30390e(_0x2d2abe,_0x37195e,_0xb7c07b,_0x19efd8){return _0x16ac01(_0x2d2abe-0x17,_0xb7c07b-_0xc5d559._0x382a39,_0xb7c07b-0x1bc,_0x37195e);}const _0x33887c=_0x56437a[_0xa4963b(0x34b,0x3f5,0x753,0x543)]===_0xa4963b(0x1be,_0x1a12bd._0x2d9746,-_0x1a12bd._0x57f1a7,_0x1a12bd._0x502d71)?_0x2e10de[_0x30390e(0x456,_0x1a12bd._0x4af197,_0x1a12bd._0x3ae5f2,_0x1a12bd._0x45c842)](/\n/g,'\x0d\x0a'):_0x2e10de,_0x2815dd=Buffer['from'](_0x33887c,'utf8');function _0xa4963b(_0x277848,_0x149b29,_0x5b18b8,_0x25248d){return _0x16ac01(_0x277848-0x7a,_0x25248d-0x30d,_0x5b18b8-_0xba0eb2._0x122954,_0x277848);}return _0x56437a[_0x30390e(0x166,-_0x1a12bd._0x2176df,0x111,_0x1a12bd._0x2dbb49)]?Buffer['concat']([Buffer['from']([0xef,0xbb,0xbf]),_0x2815dd]):_0x2815dd;}var MAX_ANCHORED_OPERATIONS=0x64,MAX_ANCHORED_CONTENT_BYTES=0x100*0x400,textEncoder=new TextEncoder();function utf8Bytes(_0x41a299){const _0x392c70={_0xbe1c8e:0x2c9},_0x2f3feb={_0x28c7a3:0x7};function _0x12596f(_0x283e7b,_0x9df6bb,_0x90d956,_0x1a3da6){return _0x16ac01(_0x283e7b-_0x2f3feb._0x28c7a3,_0x283e7b-0x11b,_0x90d956-0x1b9,_0x90d956);}return textEncoder[_0x12596f(0x3ad,0x575,0x5b4,_0x392c70._0xbe1c8e)](_0x41a299)['length'];}var TAG_PATTERN=/^[0-9A-F]{12}$/,replaceOperationSchema={'type':_0x5885dd(0x69f,0x571,0x4f8,0x52b),'properties':{'operation':{'type':_0x16ac01(0x315,0x257,0x146,0x1d4),'enum':['replace']},'startLine':{'type':'number'},'endLine':{'type':'number'},'content':{'type':'string'}},'required':[_0x5885dd(0x318,0x459,0x570,0x4f6),_0x16ac01(0x36d,0x1bd,0x386,0x1a6),_0x16ac01(0x32c,0x242,0x449,0x3dc),_0x16ac01(-0x51,0x83,-0x8,0x1a1)],'additionalProperties':![]},deleteOperationSchema={'type':'object','properties':{'operation':{'type':'string','enum':[_0x16ac01(-0xff,-0x5d,0xc0,-0x14f)]},'startLine':{'type':_0x16ac01(0x221,0x71,-0xbf,-0x38)},'endLine':{'type':_0x5885dd(0x32e,0x2e8,0x12c,0x300)}},'required':[_0x5885dd(0x2f1,0x411,0x662,0x4f6),_0x5885dd(0x62c,0x39e,0x416,0x44c),_0x5885dd(0x316,0x312,0x389,0x4d1)],'additionalProperties':![]},insertOperationSchema={'type':_0x16ac01(0x308,0x29c,0x2d5,0x1d5),'properties':{'operation':{'type':_0x16ac01(0x296,0x257,0x392,0x46b),'enum':['insert']},'position':{'type':_0x5885dd(0x47e,0x63c,0x629,0x4e6),'enum':['before','after']},'line':{'type':_0x5885dd(0x396,0x495,0x4a2,0x300)},'content':{'type':_0x5885dd(0x62f,0x68a,0x673,0x4e6)}},'required':[_0x5885dd(0x306,0x672,0x532,0x4f6),'position',_0x16ac01(-0x176,0x65,0xd9,0x122),_0x16ac01(-0x111,0x83,-0x17a,0x220)],'additionalProperties':![]},structuredFileEditInputSchema={'type':_0x16ac01(0x2a2,0x29c,0x258,0xb0),'properties':{'filePath':{'type':_0x16ac01(0x339,0x257,0x278,0x299)},'tag':{'type':_0x16ac01(0xfe,0x257,0x1e3,0x183)},'description':{'type':'string'},'operations':{'type':_0x16ac01(0x168,0x4e,0x25d,-0x6),'items':{'anyOf':[replaceOperationSchema,deleteOperationSchema,insertOperationSchema]}},'dryRun':{'type':_0x5885dd(0x627,0x45b,0x564,0x429)}},'required':['filePath','tag','operations'],'additionalProperties':![]};function requireValidLineNumber(_0x49e884,_0x14d435){const _0xa257d2={_0x31e674:0x506},_0x50e4f2={_0x3119ca:0x8e,_0x25a0a7:0x1da,_0x3c773f:0x2a2};function _0xbb599f(_0x276084,_0x1a2131,_0xf25cbc,_0x2b8db1){return _0x5885dd(_0x276084-_0x50e4f2._0x3119ca,_0x276084,_0xf25cbc-_0x50e4f2._0x25a0a7,_0xf25cbc-_0x50e4f2._0x3c773f);}if(!Number[_0xbb599f(0x31d,_0xa257d2._0x31e674,0x4b2,0x3ab)](_0x49e884)||_0x49e884<0x1)throw createAnchoredFileError('invalid_patch',_0x14d435+'\x20must\x20be\x20a\x20positive\x20safe\x20integer;\x20got\x20'+String(_0x49e884)+'.');}function parseStructuredFileEditInput(_0x3ee4fe){const _0xf10242={_0x30a426:0x73,_0x32ea2b:0x295,_0x3eec3a:0x436,_0x2683e7:0x5a1,_0x3987e3:0xf4,_0x396e91:0x148,_0x2045c:0x64,_0x40e745:0xc1,_0x391cc3:0x4a,_0x49aafe:0x13a,_0xe7a4a8:0x1fd,_0x39d38c:0x57c,_0x34fcc2:0x591,_0x37b88a:0x624,_0x36c1d0:0x242,_0x25a564:0x49d,_0x328927:0x367,_0x6815ac:0xaf,_0x3c0bbc:0x1b2,_0x379a54:0x4d1,_0x52257f:0x5ac,_0x517d7f:0x29a,_0x18db48:0x7,_0x4617d5:0x8f,_0x4921bf:0x4f2,_0x26d3bf:0x3e4,_0x10ce2e:0x54c,_0x24990f:0x869,_0x27ab10:0x4f5,_0x246292:0x5e8,_0xcb12c9:0x482,_0x156644:0x46e,_0x5c415b:0x303,_0x3861ac:0x34b,_0x204ece:0x6a4,_0x2c7c4d:0x7b6,_0x216769:0x5fa,_0x4259b6:0x5fd,_0x1a00c6:0x74a,_0x4e3547:0x787,_0x23dd21:0x4d8,_0x2c7268:0x557,_0x550344:0xc,_0x37bf67:0x37a,_0x4d8bee:0x1fd,_0x17a72f:0x436,_0x327c5f:0x3e0,_0x230546:0x65f,_0x37149f:0x3ba,_0x4cb47f:0x443,_0x4e8b6:0x329,_0x204ff6:0x3f4,_0x53f93d:0x300,_0x4adcda:0x339,_0x55a654:0x1aa,_0x53275b:0x6dd,_0x43ed64:0x67d,_0x1f0750:0x651,_0xd96a8:0x7ee,_0x425dc0:0x6f6,_0x7836d2:0x5b0,_0x1037ec:0x79a,_0x45dedb:0x18b,_0x2ccc79:0x23,_0x55265e:0x8,_0x1bc3b4:0x146,_0x1605bc:0x88,_0x1ef43c:0x167,_0x3beda4:0x15,_0x41eaba:0x86b,_0x149967:0x2a5,_0x12f759:0xe0,_0x302962:0x314,_0x5a2aae:0x430,_0x155bef:0x227,_0x3b3287:0x125,_0x1d6e7d:0x651,_0x5c6424:0x709,_0x2157d6:0x492,_0xfac9cc:0x484,_0x569354:0x34,_0x517679:0xf5,_0x4c09ec:0xb7,_0x15b463:0x1c0,_0x1d3a5c:0x28,_0x499ba2:0x96,_0x533b74:0x125,_0x35dc95:0x2f,_0x4ff45a:0x1fd,_0x1dd9a9:0x1c1,_0x2cda52:0x44,_0x1b5d03:0x8d,_0x550ee2:0x39e,_0x5e506e:0x9b,_0x61a6c6:0x1f6,_0x21f497:0x474,_0x1b7a3c:0x2d2,_0x5286fa:0x21c,_0x4ba5a3:0x8a,_0x563857:0x15,_0x8f8071:0x718,_0x2bb8e9:0x6c2,_0x5e2e30:0x1c4,_0x51116c:0x62,_0xc5b671:0xbd,_0x512ae7:0x16e,_0x11434a:0x121,_0x23f6f5:0x576,_0x470c9d:0x523,_0x17f72b:0x6ac,_0x56f57d:0xfa,_0x2e501e:0x474,_0x4e64c1:0xfa,_0x34cbc7:0x2bd,_0xdfbf01:0x26,_0x22b20a:0x457,_0x968a97:0x457,_0xc6acae:0x5e9},_0x56cb6f={_0x509082:0x98,_0x5088a2:0x3e},_0x1d5b7e={_0x47aee7:0x40f},_0x45b780=_0x3ee4fe;if(_0x45b780!==null&&typeof _0x45b780==='object'&&!Array[_0x515586(_0xf10242._0x30a426,0x9,-_0xf10242._0x32ea2b,-0x101)](_0x45b780)&&Array['isArray'](_0x45b780[_0x556d30(_0xf10242._0x3eec3a,0x60e,_0xf10242._0x2683e7,0x310)])&&_0x45b780['operations'][_0x515586(_0xf10242._0x3987e3,-0xfa,_0xf10242._0x396e91,_0xf10242._0x2045c)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x515586(_0xf10242._0x40e745,_0xf10242._0x391cc3,_0xf10242._0x49aafe,_0xf10242._0xe7a4a8),_0x556d30(_0xf10242._0x39d38c,0x6fd,_0xf10242._0x34fcc2,_0xf10242._0x37b88a)+MAX_ANCHORED_OPERATIONS+_0x515586(0x16e,_0xf10242._0x36c1d0,0x209,0x223));let _0x20f4f9;try{_0x20f4f9=validateToolInput(_0x3ee4fe,structuredFileEditInputSchema);}catch(_0x3e550c){const _0x4eeab8=_0x3e550c instanceof Error?_0x3e550c[_0x556d30(_0xf10242._0x25a564,_0xf10242._0x328927,0x392,0x451)]:String(_0x3e550c);throw createAnchoredFileError(_0x515586(0xf7,_0xf10242._0x6815ac,_0xf10242._0x3c0bbc,_0xf10242._0xe7a4a8),_0x556d30(0x6be,_0xf10242._0x379a54,0x4ef,_0xf10242._0x52257f)+_0x4eeab8);}if(!TAG_PATTERN[_0x515586(_0xf10242._0x517d7f,-_0xf10242._0x18db48,-_0xf10242._0x4617d5,0x110)](_0x20f4f9[_0x556d30(0x5e8,_0xf10242._0x4921bf,_0xf10242._0x26d3bf,_0xf10242._0x10ce2e)]))throw createAnchoredFileError(_0x556d30(0x6a4,0x67c,_0xf10242._0x24990f,_0xf10242._0x27ab10),'tag\x20must\x20be\x20exactly\x2012\x20uppercase\x20hex\x20characters;\x20got\x20\x27'+_0x20f4f9[_0x556d30(_0xf10242._0x246292,_0xf10242._0xcb12c9,0x54d,0x45f)]+'\x27.');if(_0x20f4f9[_0x556d30(_0xf10242._0x3eec3a,_0xf10242._0x156644,_0xf10242._0x5c415b,_0xf10242._0x3861ac)]['length']===0x0)throw createAnchoredFileError(_0x556d30(_0xf10242._0x204ece,_0xf10242._0x2c7c4d,0x880,_0xf10242._0x216769),_0x556d30(_0xf10242._0x4259b6,_0xf10242._0x1a00c6,_0xf10242._0x4e3547,0x57e));if(_0x20f4f9[_0x556d30(0x436,_0xf10242._0x23dd21,0x3df,_0xf10242._0x2c7268)]['length']>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x515586(_0xf10242._0x550344,_0xf10242._0x37bf67,0x3b3,_0xf10242._0x4d8bee),'At\x20most\x20'+MAX_ANCHORED_OPERATIONS+'\x20anchored\x20operations\x20are\x20allowed\x20per\x20edit.');let _0x639a1e=0x0;function _0x556d30(_0x4e3f2d,_0x51c768,_0x26c81c,_0xfa617a){return _0x16ac01(_0x4e3f2d-0x125,_0x4e3f2d-_0x1d5b7e._0x47aee7,_0x26c81c-0x5f,_0x51c768);}const _0x5c0ce8=[];for(const _0x20a9d4 of _0x20f4f9[_0x556d30(_0xf10242._0x17a72f,_0xf10242._0x327c5f,0x39b,0x561)]){switch(_0x20a9d4[_0x556d30(0x676,_0xf10242._0x230546,0x650,0x530)]){case _0x515586(_0xf10242._0x37149f,_0xf10242._0x4cb47f,_0xf10242._0x4e8b6,0x242):{requireValidLineNumber(_0x20a9d4['startLine'],_0x556d30(_0xf10242._0x204ff6,0x3f9,_0xf10242._0x53f93d,0x435)),requireValidLineNumber(_0x20a9d4[_0x515586(0x2b2,_0xf10242._0x4adcda,0x131,_0xf10242._0x55a654)],_0x556d30(_0xf10242._0x53275b,0x601,_0xf10242._0x43ed64,0x783));if(_0x20a9d4['startLine']>_0x20a9d4[_0x556d30(_0xf10242._0x1f0750,0x847,_0xf10242._0xd96a8,_0xf10242._0x425dc0)])throw createAnchoredFileError(_0x556d30(0x6a4,_0xf10242._0x7836d2,_0xf10242._0x1037ec,0x4bd),_0x515586(_0xf10242._0x45dedb,_0xf10242._0x2ccc79,-0x41,-_0xf10242._0x55265e));_0x639a1e+=utf8Bytes(_0x20a9d4[_0x515586(_0xf10242._0x1bc3b4,-_0xf10242._0x1605bc,_0xf10242._0x1ef43c,-_0xf10242._0x3beda4)]);if(_0x639a1e>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x556d30(0x6a4,_0xf10242._0x41eaba,0x581,0x7e2),'Total\x20authored\x20replacement\x20content\x20must\x20be\x20at\x20most\x20'+MAX_ANCHORED_CONTENT_BYTES+_0x515586(0xe7,_0xf10242._0x149967,-0x149,0xca));_0x5c0ce8[_0x515586(-_0xf10242._0x12f759,0xde,0x5e,-0x121)]({'operation':_0x515586(_0xf10242._0x302962,_0xf10242._0x5a2aae,_0xf10242._0x155bef,_0xf10242._0x36c1d0),'startLine':_0x20a9d4[_0x515586(0x1b1,0xa,0x23a,_0xf10242._0x3b3287)],'endLine':_0x20a9d4[_0x556d30(_0xf10242._0x1d6e7d,_0xf10242._0x5c6424,0x582,0x658)],'content':_0x20a9d4[_0x556d30(_0xf10242._0x2157d6,0x48c,_0xf10242._0xfac9cc,0x48b)]});break;}case _0x515586(-0xca,-_0xf10242._0x569354,0xdd,-_0xf10242._0x517679):{requireValidLineNumber(_0x20a9d4[_0x515586(0x1ab,_0xf10242._0x6815ac,0x2,0x125)],_0x515586(0x1d6,0x111,-0x2f,_0xf10242._0x4c09ec)),requireValidLineNumber(_0x20a9d4['endLine'],_0x515586(-0x1f0,-_0xf10242._0x15b463,_0xf10242._0x1d3a5c,-_0xf10242._0x499ba2));if(_0x20a9d4[_0x515586(0x1e0,0x63,0xc4,_0xf10242._0x533b74)]>_0x20a9d4['endLine'])throw createAnchoredFileError(_0x515586(0x4c,0x334,_0xf10242._0x35dc95,_0xf10242._0x4ff45a),'delete\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x5c0ce8['push']({'operation':_0x515586(-_0xf10242._0x1dd9a9,-0x1d4,_0xf10242._0x2cda52,-0xf5),'startLine':_0x20a9d4[_0x515586(-0xa5,-_0xf10242._0x1b5d03,0x129,_0xf10242._0x533b74)],'endLine':_0x20a9d4[_0x515586(_0xf10242._0x550ee2,_0xf10242._0x5e506e,_0xf10242._0x61a6c6,0x1aa)]});break;}case'insert':{requireValidLineNumber(_0x20a9d4[_0x556d30(_0xf10242._0x21f497,0x26a,0x444,_0xf10242._0x1b7a3c)],'insert.line'),_0x639a1e+=utf8Bytes(_0x20a9d4[_0x515586(0x1da,-_0xf10242._0x5286fa,-_0xf10242._0x4ba5a3,-_0xf10242._0x563857)]);if(_0x639a1e>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError('invalid_patch',_0x556d30(0x647,_0xf10242._0x8f8071,_0xf10242._0x2bb8e9,0x511)+MAX_ANCHORED_CONTENT_BYTES+_0x515586(_0xf10242._0x5e2e30,_0xf10242._0x51116c,_0xf10242._0xc5b671,0xca));_0x5c0ce8[_0x515586(-0x9c,-_0xf10242._0x512ae7,-0x144,-_0xf10242._0x11434a)]({'operation':_0x556d30(_0xf10242._0x23f6f5,_0xf10242._0x470c9d,_0xf10242._0x17f72b,0x518),'position':_0x20a9d4[_0x515586(0x1a6,-0x92,-0xbe,_0xf10242._0x56f57d)],'line':_0x20a9d4[_0x556d30(_0xf10242._0x2e501e,0x385,0x5f0,0x65d)],'content':_0x20a9d4[_0x515586(-0x119,-0x19e,0x118,-0x15)]});break;}}}function _0x515586(_0x2c002a,_0x488305,_0x8cbe70,_0x313ab1){return _0x16ac01(_0x2c002a-0x6,_0x313ab1- -_0x56cb6f._0x509082,_0x8cbe70-_0x56cb6f._0x5088a2,_0x8cbe70);}return{'filePath':_0x20f4f9['filePath'],'tag':_0x20f4f9['tag'],'operations':_0x5c0ce8,'dryRun':_0x20f4f9[_0x515586(-_0xf10242._0x4e64c1,-_0xf10242._0x34cbc7,_0xf10242._0xdfbf01,-0x192)]??![],..._0x20f4f9[_0x556d30(_0xf10242._0x22b20a,0x2e0,0x510,0x426)]!==void 0x0?{'description':_0x20f4f9[_0x556d30(_0xf10242._0x968a97,0x558,0x272,_0xf10242._0xc6acae)]}:{}};}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(_0x148044){const _0x4ab810={_0xada634:0x7c5,_0x57e0d8:0x4cd,_0x2af2f2:0x61d,_0x3553c7:0x53a},_0x464031={_0x42ed7b:0x335,_0x2d4831:0x16c},_0x5eb093={_0x367b20:0x7b,_0x524141:0x16};function _0x243346(_0x2d112a,_0x47a417,_0x3abf91,_0xb51ab2){return _0x16ac01(_0x2d112a-_0x5eb093._0x367b20,_0x47a417-0x533,_0x3abf91-_0x5eb093._0x524141,_0x3abf91);}function _0x2bdffe(_0x35d6be,_0x23e489,_0x3a9073,_0x135175){return _0x16ac01(_0x35d6be-0x65,_0x35d6be-_0x464031._0x42ed7b,_0x3a9073-_0x464031._0x2d4831,_0x23e489);}return textEncoder2[_0x243346(0x968,_0x4ab810._0xada634,0x90a,0x9d0)](_0x148044)[_0x243346(_0x4ab810._0x57e0d8,0x62f,_0x4ab810._0x2af2f2,_0x4ab810._0x3553c7)];}function preview(_0x34434e){const _0x36d48e={_0x94f8ff:0x664,_0x4495e5:0x6cc,_0xdfbc94:0x62d,_0xe40662:0x188,_0x56d528:0x309,_0x2c1be:0x24c},_0x1ec0ff={_0x27ed5b:0x2d},_0x3b8c8c={_0x1b4050:0x82,_0x1111a8:0x127,_0x57e103:0x40};function _0x5a3782(_0x54413d,_0x59d795,_0x4bc869,_0xc97c1d){return _0x5885dd(_0x54413d-_0x3b8c8c._0x1b4050,_0xc97c1d,_0x4bc869-_0x3b8c8c._0x1111a8,_0x4bc869-_0x3b8c8c._0x57e103);}function _0x563ecb(_0x473ede,_0x2f154d,_0xaf6f95,_0x1319c1){return _0x16ac01(_0x473ede-0x1c5,_0x1319c1-0x5d0,_0xaf6f95-_0x1ec0ff._0x27ed5b,_0x473ede);}return _0x34434e[_0x563ecb(_0x36d48e._0x94f8ff,0x861,0x4e4,_0x36d48e._0x4495e5)]>0x3c?_0x34434e[_0x563ecb(0x420,_0x36d48e._0xdfbc94,0x677,0x4d2)](0x0,0x3c)+_0x5a3782(_0x36d48e._0xe40662,_0x36d48e._0x56d528,_0x36d48e._0x2c1be,0x129):_0x34434e;}var hashlineFileEditInputSchema={'type':_0x5885dd(0x5c9,0x56a,0x6b4,0x52b),'properties':{'patch':{'type':_0x16ac01(0x97,0x257,0x76,0x449)},'description':{'type':_0x16ac01(0x406,0x257,0x360,0x450)},'dryRun':{'type':_0x16ac01(0x352,0x19a,-0x68,-0x43)}},'required':['patch'],'additionalProperties':![]};function requireLineNumber(_0xe5b3bd,_0x1014b4){const _0x26ce2f={_0x2bf21a:0x1ff,_0x38be2b:0x335,_0x59e375:0x381,_0x8c6e1f:0x416,_0x127631:0x256,_0x17facd:0x1ad,_0x7b7c73:0xbb,_0x4b99b4:0x19e,_0x39cdd8:0x13d,_0x417379:0x1ab},_0x8f0dd6={_0x270dd7:0x179,_0x5e64d0:0x6a};function _0xe6e569(_0x2896cb,_0x3da457,_0xba9280,_0x55c41e){return _0x16ac01(_0x2896cb-_0x8f0dd6._0x270dd7,_0x55c41e- -0x11f,_0xba9280-_0x8f0dd6._0x5e64d0,_0xba9280);}function _0x39601e(_0x3393b0,_0x3c9630,_0x10e3b5,_0x22c10c){return _0x16ac01(_0x3393b0-0x101,_0x3c9630-0x2dc,_0x10e3b5-0x123,_0x10e3b5);}if(_0xe5b3bd[_0x39601e(_0x26ce2f._0x2bf21a,0x3d8,_0x26ce2f._0x38be2b,0x58b)]>0x10)throw createAnchoredFileError(_0x39601e(0x527,0x571,0x372,_0x26ce2f._0x59e375),_0x1014b4+_0x39601e(_0x26ce2f._0x8c6e1f,_0x26ce2f._0x127631,_0x26ce2f._0x17facd,0x1a5));const _0x597a92=Number(_0xe5b3bd);if(!Number[_0xe6e569(-0x15b,-_0x26ce2f._0x7b7c73,-0x210,-_0x26ce2f._0x4b99b4)](_0x597a92)||_0x597a92<0x1)throw createAnchoredFileError('invalid_patch',_0x1014b4+_0xe6e569(0x1ef,0x93,_0x26ce2f._0x39cdd8,_0x26ce2f._0x417379)+_0xe5b3bd+'.');return _0x597a92;}function parseHashlineFileEditInput(_0x272890){const _0xaf576d={_0xa5412a:0x478,_0x33c5db:0x422,_0x4e8604:0x3d0,_0x329780:0x22d,_0xbd4117:0x337,_0x1d6156:0x242,_0x7f01d9:0x138,_0xd3ea7c:0x36b,_0x5c4529:0x2c,_0x30a736:0x7e,_0x525274:0x105,_0x137f1a:0x140,_0x6d6c65:0x1fc,_0x5da393:0x74,_0x21e0da:0x242,_0x26ada9:0x42a,_0x532649:0x5ea,_0x4d5634:0x695,_0x80d577:0x43e,_0x3fa9cf:0x39b,_0x589856:0xfb,_0x2bc5c7:0x498,_0x11b21b:0xcf,_0x41d5e2:0x286,_0x295650:0x5e5,_0xcaa8cb:0x7de,_0x422151:0x61b,_0x3ce46b:0x4c8,_0x564121:0x30,_0x9dc91f:0x103,_0x14dbe2:0x155,_0x12bc6f:0x19f,_0x1b4ebf:0x3d,_0x3e59a9:0x2b8,_0x565246:0x499,_0x5ada9e:0x4a9,_0x5081bd:0x6ea,_0x2fe4d4:0x7e7,_0x47d9b7:0x72b,_0x5050a9:0x462,_0xa70901:0x444,_0x4d23d6:0x1e3,_0x10aed8:0x82,_0x3aa5b1:0x11,_0x2f6a82:0x22,_0x139410:0x41,_0xf68697:0xf0,_0xcc10c6:0xaa,_0x4750e4:0xa9,_0x17ae8c:0x347,_0x486211:0x111,_0x3931ff:0xb},_0xefa8a8={_0x458aae:0x407,_0x2216a4:0x3cf,_0x26c88c:0x2bd,_0x3cfbbc:0x25c,_0x581477:0x414,_0x3a4611:0x162,_0x135997:0x351},_0x205df4={_0x56d2ef:0x4e7,_0x500570:0x631,_0x3b1a3b:0x4d6,_0x563948:0x181,_0x1fb730:0x2d6,_0x5d6068:0x2ee,_0x5ec171:0x4,_0x344969:0xe0},_0x8e84c0={_0x40989c:0x1f3},_0x567d7a={_0x126205:0x35},_0x2156f4={_0x5b59dd:0x1dc,_0x481d0e:0x165,_0x33d3ff:0x2e2};let _0x39f7fa;try{_0x39f7fa=validateToolInput(_0x272890,hashlineFileEditInputSchema);}catch(_0x21c62b){const _0x57d3e5=_0x21c62b instanceof Error?_0x21c62b[_0x48a24c(_0xaf576d._0xa5412a,_0xaf576d._0x33c5db,_0xaf576d._0x4e8604,0x300)]:String(_0x21c62b);throw createAnchoredFileError(_0x39953e(0x36d,_0xaf576d._0x329780,0x17a,0x242),_0x48a24c(_0xaf576d._0xbd4117,_0xaf576d._0x1d6156,0x254,_0xaf576d._0x7f01d9)+_0x57d3e5);}const {patch:_0x1f334a}=_0x39f7fa;function _0x39953e(_0x1696ea,_0x2903f5,_0x163fc9,_0x27293a){return _0x5885dd(_0x1696ea-_0x2156f4._0x5b59dd,_0x2903f5,_0x163fc9-_0x2156f4._0x481d0e,_0x27293a- -_0x2156f4._0x33d3ff);}function _0x48a24c(_0x99f855,_0x4f0204,_0x65148e,_0x2dc723){return _0x16ac01(_0x99f855-_0x567d7a._0x126205,_0x65148e-0x342,_0x65148e-0x75,_0x99f855);}if(utf8Bytes2(_0x1f334a)>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x39953e(0x248,0x31f,_0xaf576d._0xd3ea7c,0x242),_0x39953e(-_0xaf576d._0x5c4529,_0xaf576d._0x30a736,0x71,_0xaf576d._0x525274)+MAX_ANCHORED_CONTENT_BYTES+_0x39953e(-0x13,_0xaf576d._0x137f1a,_0xaf576d._0x6d6c65,0x10f));if(_0x1f334a['includes']('\x0d'))throw createAnchoredFileError(_0x39953e(0x66,0xee,_0xaf576d._0x5da393,_0xaf576d._0x21e0da),_0x48a24c(0x602,_0xaf576d._0x26ada9,_0xaf576d._0x532649,_0xaf576d._0x4d5634));const _0x23e2dc=_0x1f334a['split']('\x0a'),_0xd2fb29=[],_0xb55d5c=_0xccd0f4=>{function _0x39e070(_0x5e7fb0,_0x343288,_0x52e560,_0x233425){return _0x48a24c(_0x343288,_0x343288-0x1dc,_0x233425-_0x8e84c0._0x40989c,_0x233425-0x176);}function _0x3dbb5c(_0xa73193,_0x5820a4,_0xea0052,_0x5d64d8){return _0x48a24c(_0xa73193,_0x5820a4-0x1d2,_0xea0052- -0x1d9,_0x5d64d8-0x2c);}if(_0xd2fb29[_0x39e070(0x80c,0x66e,_0x205df4._0x56d2ef,_0x205df4._0x500570)]>=MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError('invalid_patch',_0x3dbb5c(_0x205df4._0x3b1a3b,_0x205df4._0x563948,_0x205df4._0x1fb730,_0x205df4._0x5d6068)+MAX_ANCHORED_OPERATIONS+_0x39e070(0x89b,0x655,0x5e3,0x732));_0xd2fb29[_0x3dbb5c(0x1e1,_0x205df4._0x5ec171,_0x205df4._0x344969,0x1fd)](_0xccd0f4);};let _0x204939,_0x36ad0a,_0x3b3071=![],_0x2c3a17=![],_0x33e5e1,_0x41bc06,_0x43b806=0x0,_0x41ee7=0x0,_0x883d3a=[];const _0x391921=()=>{const _0x4efae1={_0x4632a4:0xa,_0x575711:0x18d},_0x3b65d4={_0xb207c0:0x304};if(!_0x2c3a17)return;if(_0x883d3a['length']===0x0)throw createAnchoredFileError(_0x8b29e7(0x1f8,_0xefa8a8._0x458aae,0x5e3,_0xefa8a8._0x2216a4),'PUT\x20requires\x20at\x20least\x20one\x20payload\x20row.');const _0x22d1b7=_0x883d3a['join']('\x0a');_0x33e5e1===_0x8b29e7(_0xefa8a8._0x26c88c,0x44c,_0xefa8a8._0x3cfbbc,_0xefa8a8._0x581477)?_0xb55d5c({'operation':'replace','startLine':_0x43b806,'endLine':_0x41ee7,'content':_0x22d1b7}):_0xb55d5c({'operation':_0x8b29e7(0x1e0,_0xefa8a8._0x3a4611,_0xefa8a8._0x135997,0x2a1),'position':_0x41bc06,'line':_0x43b806,'content':_0x22d1b7});function _0x17c6a5(_0xf0a3a1,_0x558b6c,_0x32fd95,_0x40b688){return _0x39953e(_0xf0a3a1-0x19e,_0x558b6c,_0x32fd95-0x1e5,_0xf0a3a1-_0x3b65d4._0xb207c0);}_0x2c3a17=![];function _0x8b29e7(_0x165f5e,_0x128d17,_0x295760,_0x3ca9d4){return _0x39953e(_0x165f5e-_0x4efae1._0x4632a4,_0x128d17,_0x295760-0x1a2,_0x3ca9d4-_0x4efae1._0x575711);}_0x883d3a=[];};for(const _0x225d89 of _0x23e2dc){if(_0x225d89[_0x48a24c(0x5f9,0x37d,_0xaf576d._0x80d577,_0xaf576d._0x3fa9cf)]===0x0)continue;if(_0x2c3a17&&_0x225d89['startsWith']('+')){_0x883d3a[_0x48a24c(_0xaf576d._0x589856,0xa8,0x2b9,_0xaf576d._0x2bc5c7)](_0x225d89['slice'](0x1));continue;}_0x391921();if(!_0x3b3071){const _0x318676=HEADER[_0x39953e(_0xaf576d._0x11b21b,0x31d,0x20b,_0xaf576d._0x41d5e2)](_0x225d89);if(_0x318676===null)throw createAnchoredFileError('invalid_patch',_0x48a24c(0x45f,0x7db,_0xaf576d._0x295650,0x6db));_0x204939=_0x318676[0x1],_0x36ad0a=_0x318676[0x2],_0x3b3071=!![];continue;}const _0xdb5af1=REPLACE[_0x48a24c(0x43f,_0xaf576d._0xcaa8cb,_0xaf576d._0x422151,_0xaf576d._0x3ce46b)](_0x225d89);if(_0xdb5af1!==null){const _0xeea326=requireLineNumber(_0xdb5af1[0x1],'replace\x20startLine'),_0x176856=requireLineNumber(_0xdb5af1[0x2],_0x39953e(0xbf,-_0xaf576d._0x564121,-0x2c8,-_0xaf576d._0x9dc91f));if(_0xeea326>_0x176856)throw createAnchoredFileError(_0x39953e(_0xaf576d._0x14dbe2,0x437,0x14d,0x242),_0x39953e(0x33,0x33,_0xaf576d._0x12bc6f,_0xaf576d._0x1b4ebf));_0x2c3a17=!![],_0x33e5e1=_0x39953e(0x3ae,0x284,0x92,0x287),_0x43b806=_0xeea326,_0x41ee7=_0x176856,_0x883d3a=[];continue;}const _0x393eb6=INSERT['exec'](_0x225d89);if(_0x393eb6!==null){const _0x83ec77=requireLineNumber(_0x393eb6[0x2],_0x48a24c(0x138,0x4c8,_0xaf576d._0x3e59a9,0x1ea));_0x2c3a17=!![],_0x33e5e1=_0x48a24c(_0xaf576d._0x565246,0x462,_0xaf576d._0x5ada9e,0x512),_0x41bc06=_0x393eb6[0x1]==='<'?_0x48a24c(_0xaf576d._0x5081bd,0x5bd,0x5fb,_0xaf576d._0x2fe4d4):'after',_0x43b806=_0x83ec77,_0x883d3a=[];continue;}const _0x5660a3=DELETE[_0x48a24c(_0xaf576d._0x47d9b7,0x6a3,_0xaf576d._0x422151,0x4fd)](_0x225d89);if(_0x5660a3!==null){const _0x48c9bd=requireLineNumber(_0x5660a3[0x1],'delete\x20startLine'),_0x56480e=requireLineNumber(_0x5660a3[0x2],_0x48a24c(_0xaf576d._0x5050a9,0x574,0x5ff,0x480));if(_0x48c9bd>_0x56480e)throw createAnchoredFileError(_0x39953e(0xed,0x3db,_0xaf576d._0xa70901,_0xaf576d._0x21e0da),_0x39953e(-_0xaf576d._0x4d23d6,-0x119,0x191,-_0xaf576d._0x10aed8));_0xb55d5c({'operation':_0x39953e(-_0xaf576d._0x3aa5b1,-0xb6,-0x26,-0xb0),'startLine':_0x48c9bd,'endLine':_0x56480e});continue;}throw createAnchoredFileError('invalid_patch',_0x39953e(-_0xaf576d._0x2f6a82,0x1d,_0xaf576d._0x139410,_0xaf576d._0xf68697)+preview(_0x225d89));}_0x391921();if(!_0x3b3071)throw createAnchoredFileError('invalid_patch','Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');if(_0xd2fb29[_0x39953e(0x297,-_0xaf576d._0xcc10c6,0x222,_0xaf576d._0x4750e4)]===0x0)throw createAnchoredFileError('invalid_patch','Patch\x20contains\x20no\x20operations.');return{'filePath':_0x204939,'tag':_0x36ad0a,'operations':_0xd2fb29,'dryRun':_0x39f7fa[_0x48a24c(0x3be,0xc3,0x248,_0xaf576d._0x17ae8c)]??![],..._0x39f7fa[_0x39953e(-0x46,-0x208,-_0xaf576d._0x486211,-_0xaf576d._0x3931ff)]!==void 0x0?{'description':_0x39f7fa['description']}:{}};}import{realpath,stat}from'fs/promises';import*as _0x40b17e from'path';function isPathInside(_0x30d155,_0x1c23df){const _0x43a51f={_0x375df4:0x29c,_0x585e73:0xc8},_0x1e476c={_0x31a903:0x1d,_0x219c4e:0x100},_0x4efec1={_0x294f47:0x1d5,_0x3c0144:0x4f4,_0x3893c5:0x132};function _0x361ce9(_0x46ade8,_0x18e823,_0x305d17,_0x56b5ad){return _0x16ac01(_0x46ade8-_0x4efec1._0x294f47,_0x46ade8-_0x4efec1._0x3c0144,_0x305d17-_0x4efec1._0x3893c5,_0x305d17);}function _0x4f6d48(_0x22abb3,_0xe10c33,_0x1d8164,_0x3fe101){return _0x5885dd(_0x22abb3-0x12c,_0x22abb3,_0x1d8164-_0x1e476c._0x31a903,_0x1d8164- -_0x1e476c._0x219c4e);}const _0x3542b0=_0x40b17e[_0x4f6d48(0x530,0x560,0x3fa,_0x43a51f._0x375df4)](_0x30d155),_0x226b39=_0x40b17e['relative'](_0x3542b0,_0x1c23df);return _0x226b39===''||!_0x226b39[_0x4f6d48(0x279,0x9,_0x43a51f._0x585e73,-0x60)]('..')&&!_0x40b17e[_0x361ce9(0x6e1,0x75b,0x84e,0x682)](_0x226b39);}function resolveWorkspacePath(_0x428117,_0x20868f){return resolveAllowedPath(_0x428117,[],_0x20868f);}function resolveAllowedPath(_0x3c458d,_0x240c5f,_0x20c0dc){const _0x356569={_0x52200d:0x434,_0x458cc5:0x3a2,_0x4634a7:0x4e0,_0x8f7fb8:0x4ee,_0x30d046:0x6c6,_0x2d79e0:0x1b1,_0x327bdf:0x82,_0x2f644c:0x1a3,_0x2f9239:0x134,_0x51a77c:0x4b5,_0x5f188f:0x301,_0x5ce5a1:0x3c7,_0x47f0e4:0x1eb},_0x15d7e7={_0x540a85:0xd5,_0x276fb4:0x86},_0x2f2c68={_0x47007c:0x1a2,_0x17d89b:0x2ec},_0x92d072=_0x40b17e[_0x516415(_0x356569._0x52200d,0x5e7,_0x356569._0x458cc5,_0x356569._0x4634a7)](_0x3c458d),_0x433fc7=_0x40b17e[_0x516415(_0x356569._0x8f7fb8,0x2dc,_0x356569._0x30d046,_0x356569._0x4634a7)](_0x92d072,_0x20c0dc),_0x56defc=[_0x92d072,..._0x240c5f[_0x516415(_0x356569._0x2d79e0,_0x356569._0x327bdf,_0x356569._0x2f644c,_0x356569._0x2f9239)](_0x12ae62=>_0x40b17e[_0x31df59(0x2a8,0x1ce,0x33b,0x20e)](_0x12ae62))];function _0x31df59(_0x2b54f1,_0x6b7797,_0x1c9612,_0x523d53){return _0x5885dd(_0x2b54f1-_0x2f2c68._0x47007c,_0x6b7797,_0x1c9612-0x165,_0x523d53- -_0x2f2c68._0x17d89b);}if(_0x56defc[_0x516415(_0x356569._0x51a77c,_0x356569._0x5f188f,0x208,_0x356569._0x5ce5a1)](_0x5ac465=>isPathInside(_0x5ac465,_0x433fc7)))return _0x433fc7;function _0x516415(_0x35a386,_0x4fc6c2,_0x39ec1a,_0x2c5464){return _0x16ac01(_0x35a386-_0x15d7e7._0x540a85,_0x2c5464-0x275,_0x39ec1a-_0x15d7e7._0x276fb4,_0x4fc6c2);}throw new ToolExecutionError(_0x516415(0x3ef,0x85,_0x356569._0x47f0e4,0x282)+_0x20c0dc,{'path':_0x20c0dc,'rootDir':_0x92d072,'allowedDirs':_0x56defc});}async function resolveCanonicalAllowedFile(_0x246a96,_0x8b9992,_0x4f895a){const _0x1dbc46={_0x48f1df:0x24c,_0x1be268:0x443,_0x56f54f:0x324,_0x2bf28d:0x62e,_0x56a9b7:0x3e5,_0x5116b1:0x385,_0x5ee923:0x395,_0x3e03ae:0x3eb,_0x635667:0x51e,_0x52263a:0x383,_0x296bfb:0x270,_0x51e519:0x268},_0x37cb94={_0x1d1e05:0x182,_0x50db7a:0x388},_0x233d80=resolveAllowedPath(_0x246a96,_0x8b9992,_0x4f895a),_0x25c946=await realpath(_0x233d80),_0x30fab8=[];for(const _0x391a20 of[_0x246a96,..._0x8b9992]){try{_0x30fab8[_0x34b16d(_0x1dbc46._0x48f1df,0x4cc,_0x1dbc46._0x1be268,_0x1dbc46._0x56f54f)](await realpath(_0x391a20));}catch{}}if(!_0x30fab8[_0x573385(0x4da,_0x1dbc46._0x2bf28d,_0x1dbc46._0x56a9b7,_0x1dbc46._0x5116b1)](_0x3b0257=>isPathInside(_0x3b0257,_0x25c946)))throw new ToolExecutionError(_0x573385(_0x1dbc46._0x5ee923,0x36c,_0x1dbc46._0x3e03ae,_0x1dbc46._0x635667)+_0x4f895a,{'path':_0x4f895a,'lexicalPath':_0x233d80,'canonicalPath':_0x25c946,'allowedDirs':_0x30fab8});const _0x2d63cf=await stat(_0x25c946);function _0x34b16d(_0x300032,_0x78efc5,_0x5907d,_0x50f834){return _0x5885dd(_0x300032-0x9b,_0x78efc5,_0x5907d-0xec,_0x50f834-0x11e);}function _0x573385(_0x3c3aa0,_0x232dbf,_0x6683bd,_0x5644ae){return _0x16ac01(_0x3c3aa0-_0x37cb94._0x1d1e05,_0x3c3aa0-_0x37cb94._0x50db7a,_0x6683bd-0x18a,_0x6683bd);}if(!_0x2d63cf[_0x573385(0x48e,0x29e,0x3a5,0x603)]())throw new ToolExecutionError(_0x573385(_0x1dbc46._0x52263a,_0x1dbc46._0x296bfb,0x33d,_0x1dbc46._0x51e519)+_0x4f895a,{'path':_0x4f895a,'lexicalPath':_0x233d80,'canonicalPath':_0x25c946});return{'authoredPath':_0x4f895a,'lexicalPath':_0x233d80,'canonicalPath':_0x25c946};}async function assertWorkspaceFile(_0xaa9337){const _0x5d5384={_0x3c12e9:0x3b3};function _0x345e5f(_0x4d9b59,_0x42a246,_0x295306,_0x3282e0){return _0x16ac01(_0x4d9b59-0x181,_0x3282e0-0x1db,_0x295306-0x7e,_0x295306);}const _0x4a1309=await stat(_0xaa9337);if(!_0x4a1309['isFile']())throw new ToolExecutionError(_0x345e5f(0x62,_0x5d5384._0x3c12e9,0x2ce,0x1d6)+_0xaa9337,{'path':_0xaa9337});}function isProbablyBinary(_0x467aea){const _0x4ba90c={_0x362b4d:0x43c},_0x558059={_0x4a464d:0x29b};function _0x33a125(_0x8582be,_0x13c4ae,_0x8d422,_0x42b385){return _0x16ac01(_0x8582be-0x12c,_0x8d422-_0x558059._0x4a464d,_0x8d422-0xa,_0x13c4ae);}return _0x467aea[_0x33a125(_0x4ba90c._0x362b4d,0x566,0x4f0,0x454)](0x0);}var MAX_ANCHORED_PREVIEW_BYTES=0x100*0x400,defaultFileSystem2={'readFile':_0x49182c=>_0x2f0223(_0x49182c),'stat':_0x11e75e=>_0x817f6a(_0x11e75e),'atomicWrite':(_0x3a8bae,_0x44190b,_0x26b456)=>atomicReplaceFile(_0x3a8bae,_0x44190b,_0x26b456)};function parseAnchoredInput(_0x507e1b,_0x5239bf){const _0xddfe9b={_0x1f5e3c:0x2e0,_0x428680:0x44a,_0x366c1f:0x5ee},_0x2101ac={_0x24f279:0x5d,_0x2112a9:0x9c};function _0xb62329(_0x20e0d9,_0xcf7b53,_0x4425aa,_0x40a2e6){return _0x5885dd(_0x20e0d9-_0x2101ac._0x24f279,_0x40a2e6,_0x4425aa-_0x2101ac._0x2112a9,_0x4425aa-0x159);}if(_0x507e1b===_0xb62329(_0xddfe9b._0x1f5e3c,0x394,_0xddfe9b._0x428680,_0xddfe9b._0x366c1f))return parseHashlineFileEditInput(_0x5239bf);return parseStructuredFileEditInput(_0x5239bf);}function stableStringify2(_0x3dcf9a){const _0x5194a4={_0x12a631:0x6f,_0x5765f7:0xf3,_0x59c765:0x2c7,_0x290fdc:0x3a,_0x4ea98c:0x1c9,_0x16ee6e:0xd6,_0x3e650c:0x2cd,_0x27c56f:0x41,_0x11274c:0x185,_0x446366:0x2e4,_0x73a243:0x3fe,_0x4837f2:0x18a,_0x5ed1f8:0xd2,_0x3a2644:0x39,_0x2505ca:0x12f},_0x3c6938={_0x542a93:0xb5},_0x65e6d1={_0xd9406a:0x1d5,_0x1b9ac4:0x30b};if(Array[_0x1afedf(-0x13c,-0x2d4,_0x5194a4._0x12a631,-_0x5194a4._0x5765f7)](_0x3dcf9a))return'['+_0x3dcf9a[_0x1afedf(-0x214,-_0x5194a4._0x59c765,-0xae,-_0x5194a4._0x290fdc)](stableStringify2)['join'](',')+']';function _0x4bed62(_0x436aac,_0x38df2e,_0x38d769,_0x4ad68f){return _0x5885dd(_0x436aac-_0x65e6d1._0xd9406a,_0x436aac,_0x38d769-0x7f,_0x38df2e- -_0x65e6d1._0x1b9ac4);}function _0x1afedf(_0x262b64,_0x4be2f8,_0x4d6291,_0x46136f){return _0x5885dd(_0x262b64-0x1a5,_0x4be2f8,_0x4d6291-_0x3c6938._0x542a93,_0x262b64- -0x362);}if(_0x3dcf9a!==null&&typeof _0x3dcf9a===_0x1afedf(_0x5194a4._0x4ea98c,0x12d,_0x5194a4._0x16ee6e,_0x5194a4._0x3e650c)){const _0x570a34=_0x3dcf9a;return'{'+Object[_0x1afedf(0xf3,0x7f,_0x5194a4._0x27c56f,0xd)](_0x570a34)[_0x4bed62(-0x24d,-_0x5194a4._0x11274c,-_0x5194a4._0x446366,0x68)]()[_0x1afedf(-0x214,-0x27,-0x36e,-_0x5194a4._0x73a243)](_0x3ed47a=>JSON[_0x4bed62(0x22b,0x117,0xfc,-0x8d)](_0x3ed47a)+':'+stableStringify2(_0x570a34[_0x3ed47a]))[_0x4bed62(-0x8d,_0x5194a4._0x4837f2,0x20f,_0x5194a4._0x5ed1f8)](',')+'}';}return JSON[_0x1afedf(0xc0,-_0x5194a4._0x3a2644,-_0x5194a4._0x2505ca,0x264)](_0x3dcf9a);}function normalizeOperationContent(_0xf3c64b){const _0x240436={_0x830f25:0x206,_0x50055a:0x224,_0x4fda87:0x6b8,_0x3160cf:0x13c,_0x28ee3f:0x28d,_0x22ff29:0x3b5,_0x36ace6:0x335,_0x365508:0x2a0,_0x4cd8f6:0x259,_0x45ad4b:0x15c,_0x460c8c:0x17c},_0x143488={_0x2c01ac:0x1b6},_0x4d705f={_0xd3ca93:0x46,_0x594767:0x16f,_0x53120f:0x14f};if(_0xf3c64b[_0x3d1434(_0x240436._0x830f25,0x340,_0x240436._0x50055a,0x550)]===_0x1f3dee(0x57f,0x6a1,_0x240436._0x4fda87,0x5b6)||_0xf3c64b[_0x3d1434(_0x240436._0x3160cf,0x340,_0x240436._0x28ee3f,_0x240436._0x22ff29)]===_0x3d1434(0x309,0x240,_0x240436._0x36ace6,_0x240436._0x365508))return{..._0xf3c64b,'content':_0xf3c64b[_0x3d1434(_0x240436._0x4cd8f6,_0x240436._0x45ad4b,_0x240436._0x460c8c,0x34e)][_0x3d1434(0x50d,0x3b3,0x55f,0x2b9)](/\r\n/g,'\x0a')};function _0x1f3dee(_0x522f5c,_0x4a051a,_0x3b8d48,_0x111139){return _0x5885dd(_0x522f5c-_0x4d705f._0xd3ca93,_0x4a051a,_0x3b8d48-_0x4d705f._0x594767,_0x3b8d48-_0x4d705f._0x53120f);}function _0x3d1434(_0x3fa156,_0x4fc99b,_0x4d057c,_0x416b8a){return _0x5885dd(_0x3fa156-0x18e,_0x416b8a,_0x4d057c-0x71,_0x4fc99b- -_0x143488._0x2c01ac);}return _0xf3c64b;}function computePayloadDigest(_0x24f29f){const _0x95978d={_0x1344eb:0x235,_0x5d27db:0x34d,_0x451b56:0x23},_0x184ca3={_0x2d2f20:0x2b0};function _0x1b53bd(_0x449282,_0x35ea01,_0x3394a6,_0x4ec5d2){return _0x5885dd(_0x449282-0x7c,_0x3394a6,_0x3394a6-0x14f,_0x449282- -_0x184ca3._0x2d2f20);}return sha256Bytes(stableStringify2(_0x24f29f[_0x1b53bd(-0x162,-_0x95978d._0x1344eb,-_0x95978d._0x5d27db,-_0x95978d._0x451b56)](normalizeOperationContent)));}function collectRequiredLines(_0x52a994){const _0x1e7041={_0x1e5a22:0x773,_0x470649:0x848,_0xad5bf2:0x78b,_0x5bec59:0x835,_0x426446:0x5d3,_0x1fec57:0xc0,_0x43bf55:0x10f,_0x5c2cfb:0x836,_0x4e88f:0x751,_0x1c56f8:0x145,_0x5ff9ba:0xab,_0x607a87:0x70,_0x5121d1:0x16c,_0x50151c:0x68a,_0x527cc9:0x42d,_0x123b3f:0x509,_0x213062:0x41f,_0x32c760:0x2fa},_0x2809bf={_0x519b17:0x26},_0x3527ec={_0x40e812:0x14c,_0x3d3bb0:0xfd,_0x5f5a43:0xd0};function _0x4fc3fb(_0x5c6a28,_0x1ba3c7,_0x3125ca,_0x830a48){return _0x16ac01(_0x5c6a28-_0x3527ec._0x40e812,_0x5c6a28- -_0x3527ec._0x3d3bb0,_0x3125ca-_0x3527ec._0x5f5a43,_0x1ba3c7);}function _0x349536(_0x22a1c7,_0x2a80e,_0xf1e43f,_0x5b7599){return _0x5885dd(_0x22a1c7-0x12a,_0x22a1c7,_0xf1e43f-_0x2809bf._0x519b17,_0xf1e43f-0x352);}const _0x5d208e=new Set();for(const _0x25898c of _0x52a994){if(_0x25898c[_0x349536(0x8a1,_0x1e7041._0x1e5a22,_0x1e7041._0x470649,_0x1e7041._0xad5bf2)]===_0x349536(_0x1e7041._0x5bec59,_0x1e7041._0x426446,0x748,0x953))_0x5d208e['add'](_0x25898c[_0x4fc3fb(-0x98,_0x1e7041._0x1fec57,-0xab,_0x1e7041._0x43bf55)]);else for(let _0x2b423d=_0x25898c[_0x349536(_0x1e7041._0x5c2cfb,0x7df,0x79e,_0x1e7041._0x4e88f)];_0x2b423d<=_0x25898c[_0x4fc3fb(_0x1e7041._0x1c56f8,_0x1e7041._0x5ff9ba,_0x1e7041._0x607a87,_0x1e7041._0x5121d1)];_0x2b423d+=0x1){_0x5d208e[_0x349536(_0x1e7041._0x50151c,_0x1e7041._0x527cc9,_0x1e7041._0x123b3f,0x6a3)](_0x2b423d);}}return[..._0x5d208e][_0x349536(0x494,_0x1e7041._0x213062,0x4d8,_0x1e7041._0x32c760)]((_0x163ea7,_0x2f8e64)=>_0x163ea7-_0x2f8e64);}async function resolveEditTarget(_0x4a62ca,_0x362b33,_0x25ed22){const _0x1d6abf={_0x420785:0x45a,_0x285ed4:0x46d,_0x184051:0x190,_0x159c72:0x6d9,_0x4a50f4:0x297,_0x20b963:0x16a,_0x5751e0:0x95},_0x5f4d87={_0x43bddd:0xd2,_0x124149:0x1d8,_0x44df60:0x56},_0x2b7512={_0x87f726:0x34d};function _0x14de16(_0x1eabbe,_0x13ebb2,_0x84945,_0x2a141d){return _0x16ac01(_0x1eabbe-0x47,_0x2a141d-_0x2b7512._0x87f726,_0x84945-0x15f,_0x1eabbe);}function _0x244be9(_0x2a01f2,_0x5ef9a8,_0x3d2a68,_0x3e63c4){return _0x5885dd(_0x2a01f2-_0x5f4d87._0x43bddd,_0x5ef9a8,_0x3d2a68-_0x5f4d87._0x124149,_0x3d2a68- -_0x5f4d87._0x44df60);}try{return await resolveCanonicalAllowedFile(_0x4a62ca,_0x362b33,_0x25ed22);}catch(_0x2c8dca){if(_0x2c8dca instanceof ToolExecutionError)throw _0x2c8dca;const _0x4adf31=_0x2c8dca instanceof Error?_0x2c8dca[_0x244be9(0x27d,0x3fb,0x2c7,_0x1d6abf._0x420785)]:String(_0x2c8dca);throw createAnchoredFileError(_0x244be9(_0x1d6abf._0x285ed4,0x36b,0x334,_0x1d6abf._0x184051),_0x244be9(0x683,0x5cf,0x4f1,_0x1d6abf._0x159c72)+_0x25ed22+'\x20for\x20an\x20anchored\x20edit\x20('+_0x4adf31+_0x244be9(_0x1d6abf._0x4a50f4,0x2ed,_0x1d6abf._0x20b963,_0x1d6abf._0x5751e0),{'path':_0x25ed22});}}async function readLiveSnapshot(_0x2ec73e,_0x485eba){const _0x57cafe={_0x5d9b23:0x7f2,_0x3a69dc:0x54a,_0x43225c:0x7be,_0x5bc39f:0x821,_0x42fbfa:0x890,_0x3514bb:0x8ec,_0x10a218:0x288,_0x2f105a:0x49a,_0x4536a8:0x3ee,_0x2fd437:0x5c1,_0x9528bf:0x3bd},_0x4fc56d={_0x5a6e85:0x117,_0x180d96:0x29e};let _0x594179;function _0x4288dc(_0xfdec23,_0x50786c,_0x5081d1,_0x3c0a74){return _0x16ac01(_0xfdec23-0x2a,_0xfdec23-0x569,_0x5081d1-0x1b3,_0x3c0a74);}function _0x1e1a92(_0x4b22e2,_0x3a92a0,_0x3b7e43,_0xfd1176){return _0x16ac01(_0x4b22e2-_0x4fc56d._0x5a6e85,_0xfd1176-_0x4fc56d._0x180d96,_0x3b7e43-0xb8,_0x3b7e43);}try{_0x594179=await _0x2f0223(_0x2ec73e);}catch(_0x2ac409){const _0x3dca63=_0x2ac409 instanceof Error?_0x2ac409[_0x4288dc(0x5f7,_0x57cafe._0x5d9b23,_0x57cafe._0x3a69dc,_0x57cafe._0x43225c)]:String(_0x2ac409);throw createAnchoredFileError('unknown_snapshot',_0x4288dc(_0x57cafe._0x5bc39f,_0x57cafe._0x42fbfa,_0x57cafe._0x3514bb,0x798)+_0x485eba+_0x1e1a92(_0x57cafe._0x10a218,0x153,0x331,0x27c)+_0x3dca63+_0x4288dc(_0x57cafe._0x2f105a,_0x57cafe._0x4536a8,_0x57cafe._0x2fd437,_0x57cafe._0x9528bf),{'path':_0x485eba});}return createNormalizedFileSnapshot(_0x2ec73e,_0x594179);}function staleSnapshotMessageText(_0x8d1576,_0x197ee0){const _0x54470d={_0x52978e:0x460,_0x351249:0x576},_0x11fd0e={_0x209775:0xd1};function _0x590360(_0x55b135,_0x2795d9,_0x34344e,_0x428576){return _0x16ac01(_0x55b135-0x186,_0x55b135-0x3b9,_0x34344e-_0x11fd0e._0x209775,_0x2795d9);}return{'reasonLine':'stale_snapshot:\x20the\x20file\x20changed\x20since\x20snapshot\x20'+_0x197ee0+'\x20was\x20read.','guidance':_0x590360(0x518,_0x54470d._0x52978e,_0x54470d._0x351249,0x607)+_0x8d1576+'\x20changed\x20on\x20disk;\x20re-read\x20with\x20FileRead\x20and\x20retry\x20with\x20the\x20fresh\x20tag.'};}function unseenLinesMessageText(){const _0x343b05={_0x3789a3:0x254,_0x194383:0x26d,_0x276864:0x5a8,_0x4e704a:0x72e},_0x1bf580={_0x47273a:0x310},_0xfb6d29={_0x3ac54f:0x39f,_0x730c9b:0x189};function _0x3d4ed3(_0x19f68e,_0xa1a2c0,_0x1be9cf,_0x10ebcf){return _0x16ac01(_0x19f68e-0x118,_0xa1a2c0-_0xfb6d29._0x3ac54f,_0x1be9cf-_0xfb6d29._0x730c9b,_0x19f68e);}function _0x218219(_0x1b141a,_0xa7cc95,_0x3887b2,_0x3e1a7e){return _0x5885dd(_0x1b141a-0x1ca,_0x3887b2,_0x3887b2-0x153,_0x3e1a7e- -_0x1bf580._0x47273a);}return{'reasonLine':_0x3d4ed3(_0x343b05._0x3789a3,0x265,0x128,_0x343b05._0x194383),'guidance':_0x3d4ed3(0x6b2,_0x343b05._0x276864,0x6dd,_0x343b05._0x4e704a)};}function noChangeMessageText(_0xeae1e6,_0x151040){const _0x3429fc={_0x5ed3f4:0x33c,_0x176747:0x399,_0x47d6e0:0x160,_0x4f3053:0x32b,_0x30307c:0x8a,_0x33982c:0x8b},_0x6e5105={_0x3c8776:0x44,_0x291a46:0xf9,_0x3d0e15:0x109},_0x2d65b9={_0x295815:0xbc},_0x3697a2=_0x151040>=0x3;function _0x111c5a(_0x65d797,_0x1231e7,_0x3db3bc,_0x43762c){return _0x16ac01(_0x65d797-_0x2d65b9._0x295815,_0x1231e7-0x107,_0x3db3bc-0xe4,_0x65d797);}function _0x23465b(_0x4f07e6,_0x4bd556,_0x4102ef,_0x9c9ae3){return _0x5885dd(_0x4f07e6-_0x6e5105._0x3c8776,_0x4102ef,_0x4102ef-_0x6e5105._0x291a46,_0x9c9ae3- -_0x6e5105._0x3d0e15);}return{'reasonLine':'no_change:\x20the\x20requested\x20edit\x20would\x20leave\x20'+_0xeae1e6+_0x111c5a(0x1ec,_0x3429fc._0x5ed3f4,0x28c,_0x3429fc._0x176747),'guidance':_0x3697a2?_0x23465b(0x26,_0x3429fc._0x47d6e0,_0x3429fc._0x4f3053,0x118):_0x111c5a(0x1c0,0x12f,-_0x3429fc._0x30307c,-_0x3429fc._0x33982c)};}function buildRecoveryContext(_0x3894d8,_0x3fb5b2,_0x173de5,_0x21b1bd,_0x2f6a1c,_0x2bb12f){const _0x2bd075={_0x349dc7:0x21a,_0x31a390:0x13c,_0x26ace5:0x57,_0x1add40:0x108,_0x2f60f9:0x12a,_0x2d43d4:0xc8,_0x6fc853:0x1d8,_0x307a7:0x1b3,_0x8544f9:0x233,_0x2b4bae:0xd4,_0x5d2e0a:0x1a5,_0xdfb7f8:0x2d4,_0x53d82d:0x5e,_0x16962f:0x16d,_0x35963e:0x187,_0x2203c0:0x1a4,_0x3659b5:0x121,_0x8c2dc8:0x151,_0x59b3e5:0x111,_0x31bf6a:0xe2,_0x31201b:0xa6,_0x16c417:0x167,_0x2dabac:0x107,_0x192a9f:0x67,_0x2d9617:0x262,_0x4481ce:0x298},_0x287563={_0x5f263a:0x19f},_0x20ec04='['+_0x3894d8+'#'+_0x3fb5b2[_0x1e64be(_0x2bd075._0x349dc7,_0x2bd075._0x31a390,_0x2bd075._0x26ace5,0x1a6)]+']',_0x14fd09={'tag':_0x3fb5b2[_0x4a52ca(0x102,0x321,0x10a,-_0x2bd075._0x1add40)],'digest':_0x3fb5b2['digest'],'contextLines':[],'output':_0x2f6a1c+'\x0a'+_0x20ec04+'\x0a'+_0x2bb12f},_0x2fb2c6=_0x3fb5b2['lines'][_0x1e64be(0x62,0x5f,_0x2bd075._0x2f60f9,-0x94)];function _0x4a52ca(_0x4dea49,_0x5a2d5e,_0x398765,_0x8a94b3){return _0x5885dd(_0x4dea49-0x5a,_0x5a2d5e,_0x398765-0x4b,_0x398765- -0x35e);}const _0x20dccc=[...new Set(_0x173de5[_0x1e64be(-0x16e,-0x156,-0x1c6,0x46)](_0x5863fa=>Number['isSafeInteger'](_0x5863fa)&&_0x5863fa>=0x1&&_0x5863fa<=_0x2fb2c6))][_0x4a52ca(-0x239,-_0x2bd075._0x2d43d4,-_0x2bd075._0x6fc853,-_0x2bd075._0x307a7)]((_0x3532aa,_0x4d2dfd)=>_0x3532aa-_0x4d2dfd);if(_0x20dccc['length']===0x0)return _0x14fd09;const _0x418503=_0x20dccc[_0x20dccc[_0x1e64be(_0x2bd075._0x8544f9,0x5f,-_0x2bd075._0x2b4bae,0x9c)]-0x1]-_0x20dccc[0x0]+0x1;if(_0x418503>0x14)return _0x14fd09;function _0x1e64be(_0xf8545b,_0x484ea7,_0x126040,_0x333156){return _0x16ac01(_0xf8545b-0x65,_0x484ea7- -0x9d,_0x126040-_0x287563._0x5f263a,_0x333156);}for(const _0x4ba81c of _0x20dccc){if(!isWithinDisplayColumns(_0x3fb5b2[_0x1e64be(-0x3c,0x19c,0x3b1,0x21f)][_0x4ba81c-0x1],0x200))return _0x14fd09;}const _0x53e32d=formatAnchoredFileRead({'displayPath':_0x3894d8,'snapshot':_0x3fb5b2,'lineStart':_0x20dccc[0x0],'lineEnd':_0x20dccc[_0x20dccc[_0x1e64be(0x58,0x5f,-0x102,_0x2bd075._0x5d2e0a)]-0x1],'maxBytes':_0x21b1bd});if(_0x53e32d[_0x4a52ca(-_0x2bd075._0xdfb7f8,_0x2bd075._0x53d82d,-_0x2bd075._0x16962f,-0x2cb)]||_0x53e32d[_0x4a52ca(-_0x2bd075._0x35963e,-_0x2bd075._0x2203c0,-_0x2bd075._0x3659b5,-0x1f5)][_0x1e64be(-0x44,0x5f,_0x2bd075._0x8c2dc8,-0xaf)]===0x0)return _0x14fd09;const _0x3f2b8a=_0x2f6a1c+'\x0a'+_0x53e32d['output']['trimEnd']()+'\x0a'+_0x2bb12f;if(Buffer[_0x4a52ca(_0x2bd075._0x59b3e5,_0x2bd075._0x31bf6a,-0xa0,_0x2bd075._0x31201b)](_0x3f2b8a,_0x1e64be(_0x2bd075._0x16c417,-0x62,_0x2bd075._0x2dabac,-_0x2bd075._0x192a9f))>_0x21b1bd)return _0x14fd09;return{'tag':_0x3fb5b2['tag'],'digest':_0x3fb5b2['digest'],'contextLines':[..._0x53e32d[_0x4a52ca(-0x270,-_0x2bd075._0x2d9617,-0x121,-_0x2bd075._0x4481ce)]],'output':_0x3f2b8a};}function assertPreviewWithinBounds(_0x5832a8,_0x165631,_0x2f1c96){const _0x1b8a66={_0x49b572:0x187,_0x586ac2:0x368,_0x257736:0x2b1},_0x3f71bb={_0x5d9fd5:0xaa},_0x2694cf={_0x1d821d:0xb4};function _0x484816(_0x20a798,_0x44c52a,_0x70039e,_0x5dc34f){return _0x5885dd(_0x20a798-0x18,_0x20a798,_0x70039e-_0x2694cf._0x1d821d,_0x44c52a-0x197);}const _0x2801f5=_0x5832a8[_0x1a3ebf(_0x1b8a66._0x49b572,0x568,_0x1b8a66._0x586ac2,0x196)]((_0x2f1b0a,_0x5db200)=>_0x2f1b0a+Buffer['byteLength'](_0x5db200[_0x484816(0x51f,0x616,0x731,0x54c)],_0x1a3ebf(0x2da,0x2a,0xe5,-0x4e))+Buffer['byteLength'](_0x5db200[_0x1a3ebf(0x323,0x1c1,0x21c,0x17a)],'utf8'),0x0);function _0x1a3ebf(_0x1f919a,_0x18875d,_0x3d5338,_0x2386f5){return _0x16ac01(_0x1f919a-0xc9,_0x3d5338-_0x3f71bb._0x5d9fd5,_0x3d5338-0x1a3,_0x2386f5);}if(_0x2801f5>MAX_ANCHORED_PREVIEW_BYTES)throw createAnchoredFileError(_0x484816(0x714,0x5e9,0x5ac,0x6e1),'invalid_range:\x20the\x20edit\x27s\x20source-derived\x20preview\x20text\x20is\x20'+_0x2801f5+_0x1a3ebf(0x129,_0x1b8a66._0x257736,0x255,0x85)+MAX_ANCHORED_PREVIEW_BYTES+_0x484816(0x406,0x5a9,0x489,0x5dd),{'path':_0x2f1c96,'canonicalPath':_0x165631,'previewBytes':_0x2801f5});}function buildPreview(_0x239989,_0x301d2e,_0x5486fb,_0x5cf389,_0x5944f6){const _0x205a48={_0xd46cec:0x1d7,_0x11cbfd:0x362,_0x351b79:0x244,_0x2ed3d6:0x373,_0x2b9b2b:0x3e4,_0xf3b45c:0x8f,_0x5c7a4f:0x1f8,_0x4329ce:0x13d,_0x5f33a8:0x2e9,_0xd435ec:0x58,_0x4b9cb1:0xb6,_0x1b7de7:0x1cd,_0x243495:0x27},_0x3ccc55={_0x9adff5:0x91,_0x529f8b:0xa0},_0x1eaa89={_0x29c36c:0x83};function _0x2a7e21(_0xa69b6b,_0x25a79d,_0x4efa7e,_0x58ae42){return _0x16ac01(_0xa69b6b-0xf4,_0x4efa7e-_0x1eaa89._0x29c36c,_0x4efa7e-0x1ac,_0xa69b6b);}function _0x5e970c(_0xcfbc4a,_0x56ed0c,_0x4ac2a3,_0x2d851c){return _0x5885dd(_0xcfbc4a-0x16,_0x2d851c,_0x4ac2a3-_0x3ccc55._0x9adff5,_0xcfbc4a- -_0x3ccc55._0x529f8b);}return{'mode':_0x239989,'filePath':_0x301d2e[_0x2a7e21(_0x205a48._0xd46cec,_0x205a48._0x11cbfd,0x2c0,0x428)],'canonicalPath':_0x5486fb[_0x5e970c(_0x205a48._0x351b79,0x21a,0x37,0x40a)],'tag':_0x301d2e['tag'],'digest':_0x5cf389[_0x5e970c(_0x205a48._0x2ed3d6,0x44b,0x346,_0x205a48._0x2b9b2b)]['digest'],'operationCount':_0x5944f6[_0x2a7e21(_0x205a48._0xf3b45c,_0x205a48._0x5c7a4f,0xaa,_0x205a48._0x4329ce)][_0x2a7e21(_0x205a48._0x5f33a8,-_0x205a48._0xd435ec,0x17f,0x367)],'operations':_0x5944f6[_0x2a7e21(_0x205a48._0x4b9cb1,_0x205a48._0x1b7de7,0xaa,0x230)],'blocks':_0x5944f6[_0x5e970c(0xe2,0xc0,_0x205a48._0x243495,-0x7)]};}function buildResultText(_0x198b4e,_0x497de4,_0x3f1ad0,_0x5da366,_0x11ef77){const _0x558ee3={_0x98ff30:0x53,_0x586afb:0x694,_0x5800e9:0x90,_0x2ec4e2:0x6a,_0x396ef6:0x7c,_0x5d9f25:0x2a3,_0x1fe707:0x16e,_0x576eba:0x100,_0x54ce9f:0x190,_0x476913:0x5e},_0x2df32b={_0x37e606:0xcb},_0xd21e97={_0x1280b7:0x64a},_0x2e97e4='['+_0x198b4e+'#'+_0x497de4[_0x546169(0x5,0x10e,0xd7,_0x558ee3._0x98ff30)]+']\x0a'+_0x11ef77+'\x0a';let _0x59a17d=Buffer[_0x329b8a(0x573,0x679,_0x558ee3._0x586afb,0x4f9)](_0x2e97e4,_0x546169(-0x24a,-_0x558ee3._0x5800e9,_0x558ee3._0x2ec4e2,-_0x558ee3._0x396ef6));const _0x1b48d7=[],_0x36a222=[];for(const _0x37e8a9 of _0x3f1ad0){const _0x16065c=_0x37e8a9+':'+(_0x497de4[_0x546169(_0x558ee3._0x5d9f25,_0x558ee3._0x1fe707,0x1c7,_0x558ee3._0x576eba)][_0x37e8a9-0x1]??'')+'\x0a',_0x3001eb=Buffer[_0x546169(-0x1c,-0x9c,-_0x558ee3._0x54ce9f,_0x558ee3._0x476913)](_0x16065c,_0x546169(-0x25,-_0x558ee3._0x5800e9,-0xc4,-0x5c));if(_0x59a17d+_0x3001eb>_0x5da366)break;_0x1b48d7['push'](_0x16065c),_0x36a222['push'](_0x37e8a9),_0x59a17d+=_0x3001eb;}function _0x329b8a(_0x3c8d2e,_0x1dfa77,_0x22af83,_0x158914){return _0x16ac01(_0x3c8d2e-0x15d,_0x1dfa77-_0xd21e97._0x1280b7,_0x22af83-0x8d,_0x3c8d2e);}function _0x546169(_0x512364,_0x47ba7d,_0x399f03,_0xd5fec1){return _0x16ac01(_0x512364-0x4,_0x47ba7d- -_0x2df32b._0x37e606,_0x399f03-0x106,_0x399f03);}return{'output':''+_0x2e97e4+_0x1b48d7['join'](''),'observedLines':_0x36a222};}function selectChangedContextLines(_0x5f4120,_0x55aac2,_0xc003a6){const _0x44311f={_0x330ce1:0x4ef,_0x4bc3bc:0x5ac,_0x35a394:0x37a,_0x16719f:0x451,_0x39d507:0x11e,_0x96ce50:0x15f,_0x334751:0x51f,_0x1b4697:0x68d,_0x6d802:0x50c,_0x5b7225:0x5d3,_0x3b4f67:0x5d1,_0x56814a:0x41a,_0x54d2a5:0x63a,_0x521df7:0x5c0,_0x433ec6:0x839,_0x382e01:0x491,_0xbef473:0x651,_0x5caa46:0x6e7,_0x50cf54:0x2ec,_0x457ae2:0x502,_0x1b47ab:0x40d,_0xd781fe:0x4e3,_0x9fe6c8:0x4d4,_0x53a909:0x359,_0x43bc9f:0x355,_0x270942:0x500,_0x39c0f1:0x278,_0x15c370:0x3d6,_0x4e401d:0x6f4,_0x1e23bf:0x421,_0x2ba73c:0x1d3,_0x4b609b:0x3a9,_0x1280db:0x606,_0x2691e6:0x8ca,_0x350b7d:0x76e,_0x241d91:0x77f,_0x1940e7:0x603,_0x11f51f:0x2ec,_0x39b973:0x5ac,_0x49b5dc:0x5fd,_0x8dd221:0x2e9,_0x40f5e1:0x433,_0x40d6d7:0x3ba,_0xc72cc8:0x543,_0x5e2f50:0x539,_0x260cbb:0x21d},_0x2c023c={_0x15aaa1:0x189},_0x5b68f1={_0x45cbcc:0x90},_0x5b8fd4=new Set();for(const _0x36f4b6 of _0x5f4120){const _0x22bea7=_0x36f4b6[_0x451e54(_0x44311f._0x330ce1,_0x44311f._0x4bc3bc,_0x44311f._0x35a394,_0x44311f._0x16719f)];if(_0xc003a6===_0x451e54(0x27b,_0x44311f._0x39d507,_0x44311f._0x96ce50,0x1e9)){if(_0x22bea7[_0x451e54(_0x44311f._0x334751,_0x44311f._0x1b4697,_0x44311f._0x6d802,0x5f3)]>0x0)for(let _0x263bb2=_0x22bea7[_0x451e54(_0x44311f._0x5b7225,_0x44311f._0x3b4f67,0x5e8,_0x44311f._0x56814a)];_0x263bb2<=_0x22bea7[_0x451e54(_0x44311f._0x54d2a5,_0x44311f._0x521df7,_0x44311f._0x433ec6,_0x44311f._0x382e01)]&&_0x263bb2<=_0x55aac2[_0x3a2a7e(0x6ff,0x6d7,_0x44311f._0xbef473,_0x44311f._0x5caa46)]['length'];_0x263bb2+=0x1){_0x5b8fd4[_0x451e54(_0x44311f._0x50cf54,0x180,_0x44311f._0x457ae2,_0x44311f._0x1b47ab)](_0x263bb2);}else _0x22bea7['newStartLine']>=0x1&&_0x22bea7[_0x3a2a7e(_0x44311f._0xd781fe,0x8cf,_0x44311f._0x9fe6c8,0x6bd)]<=_0x55aac2[_0x451e54(0x5fd,0x5f4,0x483,0x6f3)][_0x451e54(0x4c0,_0x44311f._0x53a909,_0x44311f._0x43bc9f,0x338)]&&_0x5b8fd4[_0x3a2a7e(_0x44311f._0x270942,0x57f,_0x44311f._0x39c0f1,_0x44311f._0x15c370)](_0x22bea7[_0x451e54(_0x44311f._0x5b7225,_0x44311f._0x4e401d,0x4ce,_0x44311f._0x1e23bf)]);}else{if(_0x22bea7['oldLineCount']>0x0)for(let _0x458435=_0x22bea7['oldStartLine'];_0x458435<=_0x22bea7[_0x3a2a7e(_0x44311f._0x2ba73c,0x1ed,0x3c7,_0x44311f._0x4b609b)]&&_0x458435<=_0x55aac2[_0x3a2a7e(_0x44311f._0x1280db,_0x44311f._0x2691e6,0x82a,_0x44311f._0x5caa46)][_0x3a2a7e(_0x44311f._0x350b7d,_0x44311f._0x241d91,_0x44311f._0x1940e7,0x5aa)];_0x458435+=0x1){_0x5b8fd4[_0x451e54(_0x44311f._0x11f51f,0x264,0x234,0x220)](_0x458435);}else _0x22bea7['oldStartLine']>=0x1&&_0x22bea7[_0x3a2a7e(_0x44311f._0x39b973,0x35a,0x602,0x4ae)]<=_0x55aac2[_0x451e54(_0x44311f._0x49b5dc,0x7c7,0x685,0x666)]['length']&&_0x5b8fd4['add'](_0x22bea7['oldStartLine']);}}function _0x3a2a7e(_0x2d8e77,_0x43aa04,_0x1ae112,_0x124d1a){return _0x16ac01(_0x2d8e77-_0x5b68f1._0x45cbcc,_0x124d1a-0x4ae,_0x1ae112-0x13b,_0x1ae112);}function _0x451e54(_0x21f167,_0x5b12bd,_0x48af96,_0x4fac06){return _0x16ac01(_0x21f167-0x175,_0x21f167-0x3c4,_0x48af96-_0x2c023c._0x15aaa1,_0x4fac06);}return[..._0x5b8fd4][_0x451e54(0x2bb,_0x44311f._0x8dd221,_0x44311f._0x40f5e1,_0x44311f._0x40d6d7)]((_0x4112f5,_0x4f2eea)=>_0x4112f5-_0x4f2eea)[_0x3a2a7e(_0x44311f._0xc72cc8,_0x44311f._0x5e2f50,_0x44311f._0x260cbb,0x3b0)](0x0,0x14);}function throwStaleSnapshot(_0x3d6aed,_0x26d43e,_0x156466,_0x3342cf){const _0x46a5ba={_0x22614f:0x23b,_0x332430:0x8f,_0x532010:0x47d,_0x5478a9:0x17a,_0x13d528:0x2f3,_0x4f24b4:0x3eb,_0x43caf6:0x1af,_0x30c2d4:0x52c},_0x130ca4={_0x5ce4f5:0xca};function _0x1c4b19(_0x5c1931,_0x5189f0,_0x4eeb1b,_0x1c5974){return _0x5885dd(_0x5c1931-0x2b,_0x5c1931,_0x4eeb1b-0x1df,_0x4eeb1b- -0x251);}function _0xb0b58(_0x1b31d6,_0xce0186,_0x4cb4c8,_0x3a1d1d){return _0x16ac01(_0x1b31d6-_0x130ca4._0x5ce4f5,_0x3a1d1d-0x611,_0x4cb4c8-0x178,_0xce0186);}throw createAnchoredFileError(_0x1c4b19(0x379,_0x46a5ba._0x22614f,0x28b,_0x46a5ba._0x332430),_0x3342cf[_0x1c4b19(_0x46a5ba._0x532010,_0x46a5ba._0x5478a9,_0x46a5ba._0x13d528,0x2a2)],{'path':_0x3d6aed,'canonicalPath':_0x26d43e,'tag':_0x156466[_0x1c4b19(_0x46a5ba._0x4f24b4,0x390,0x217,0x17d)],'digest':_0x156466['digest'],..._0x3342cf['contextLines'][_0x1c4b19(0x264,0x24c,0x13a,_0x46a5ba._0x43caf6)]>0x0?{'contextLines':[..._0x3342cf[_0xb0b58(0x5aa,0x7be,_0x46a5ba._0x30c2d4,0x722)]]}:{}});}function throwUnseenLines(_0x68bc9,_0x27f115,_0x3d84fd,_0x5f06e5,_0x2b63c0){const _0x456935={_0x2fa166:0xc2,_0x199b1f:0x107,_0x111d67:0x128,_0x111769:0x36e,_0x213785:0x126,_0x5ac212:0xcb,_0x1a1905:0x26,_0x5fe325:0x254},_0x4a845e={_0x3abd86:0x115,_0xfd070d:0xe2},_0xf6a7de={_0x29be9a:0x13a};function _0xcd3556(_0x3b224e,_0x396c74,_0x56b784,_0x2e4d20){return _0x16ac01(_0x3b224e-_0xf6a7de._0x29be9a,_0x3b224e- -0x1,_0x56b784-0xa,_0x2e4d20);}function _0x4c73bf(_0x35610d,_0x40b911,_0x2b7f70,_0x2f03e3){return _0x5885dd(_0x35610d-_0x4a845e._0x3abd86,_0x2f03e3,_0x2b7f70-_0x4a845e._0xfd070d,_0x2b7f70- -0x2d3);}throw createAnchoredFileError('unseen_lines',_0x2b63c0[_0xcd3556(0x2b4,0x424,0x2b9,_0x456935._0x2fa166)],{'path':_0x68bc9,'canonicalPath':_0x27f115,'tag':_0x3d84fd[_0x4c73bf(_0x456935._0x199b1f,_0x456935._0x111d67,0x195,_0x456935._0x111769)],'digest':_0x3d84fd[_0x4c73bf(-0xb8,-_0x456935._0x213785,0x2a,-_0x456935._0x5ac212)],'requiredLines':[..._0x5f06e5],..._0x2b63c0['contextLines'][_0xcd3556(0xfb,-_0x456935._0x1a1905,0x211,_0x456935._0x5fe325)]>0x0?{'contextLines':[..._0x2b63c0['contextLines']]}:{}});}function throwNoChange(_0x21fe1e,_0x459842,_0x3e8c16,_0x400b3f,_0x2fb3ae){const _0x3e2994={_0x2893b2:0x63f,_0x15047f:0x501,_0x52939c:0x465,_0x2d6ad4:0x198,_0x37094c:0x32c,_0x3f182f:0x22c,_0x2a6fce:0x1b0,_0x1878f7:0x359,_0xed4fbe:0x145,_0xf30689:0x57,_0x596a27:0x130,_0x5f9fd6:0x4c,_0x568e65:0xdd,_0x49c6aa:0x56c,_0xa9e7c9:0x322,_0x77e44a:0x3fc},_0xd77f44={_0x486c18:0x82},_0xdcd322={_0x550e3b:0xc6,_0x55eee1:0xe0,_0x561d3f:0x5c};function _0x172eb6(_0x413ef9,_0x449af3,_0x3960b3,_0x129004){return _0x5885dd(_0x413ef9-_0xdcd322._0x550e3b,_0x413ef9,_0x3960b3-_0xdcd322._0x55eee1,_0x129004-_0xdcd322._0x561d3f);}function _0x1188eb(_0x30a6f7,_0x33b88f,_0x4ff6f6,_0x50d9fa){return _0x16ac01(_0x30a6f7-0x16f,_0x33b88f-0x34,_0x4ff6f6-_0xd77f44._0x486c18,_0x50d9fa);}throw createAnchoredFileError(_0x172eb6(_0x3e2994._0x2893b2,_0x3e2994._0x15047f,0x3af,_0x3e2994._0x52939c),_0x400b3f[_0x1188eb(0xff,0x2e9,_0x3e2994._0x2d6ad4,_0x3e2994._0x37094c)],{'path':_0x21fe1e,'canonicalPath':_0x459842,'tag':_0x3e8c16['tag'],'digest':_0x3e8c16[_0x172eb6(_0x3e2994._0x3f182f,_0x3e2994._0x2a6fce,0x1f5,_0x3e2994._0x1878f7)],'attemptCount':_0x2fb3ae,..._0x400b3f[_0x1188eb(0x1b8,_0x3e2994._0xed4fbe,_0x3e2994._0xf30689,-0x46)][_0x1188eb(0x37,_0x3e2994._0x596a27,_0x3e2994._0x5f9fd6,_0x3e2994._0x568e65)]>0x0?{'contextLines':[..._0x400b3f[_0x172eb6(_0x3e2994._0x49c6aa,0x313,_0x3e2994._0xa9e7c9,_0x3e2994._0x77e44a)]]}:{}});}async function prepareAnchoredFileEditApproval(_0x40ae7d,_0x373635,_0x5986ab,_0x3e2a17){const _0x4eed31={_0x2c0784:0x3a6,_0x2f148e:0x2cf,_0x8a022c:0x1c5,_0x257394:0x93,_0x265784:0x9e,_0x56ed3d:0x363,_0x572604:0x683,_0x4fbd41:0x5e4,_0xffe625:0x452,_0x46b11a:0x706,_0x518b57:0x55d,_0xebf1e0:0x580,_0x3a837f:0x56c,_0x24fae2:0x2b7,_0xea55c6:0x4bf,_0x1bf6bf:0x409,_0x1c98e3:0x74f,_0x3e0205:0x610,_0x223a54:0x59f,_0x42f24e:0x3af,_0x750598:0x52b,_0x266c60:0x3c0,_0x5cb611:0x258,_0x215b2b:0x50b,_0x223822:0x4c0,_0x524b50:0x45e,_0x3034cd:0x580,_0x59d54c:0x3cd,_0x5bca03:0x43a,_0x4df1b6:0x3ce,_0x59281e:0x59f,_0xfec0f4:0x2bf,_0x1525df:0x3e6,_0x28bd66:0x2a3,_0x588569:0x228,_0x1c3e1f:0x387,_0x4b810f:0x190,_0x55b579:0x165,_0x53cec3:0x260,_0x5d2a09:0x6,_0x2dd2fd:0x471,_0x501729:0x6cd,_0x3f1335:0x46a,_0x5bafc7:0x1ed,_0x302e60:0x271,_0x22cc07:0x35d,_0xa9c97b:0x444,_0x5c712d:0x64a,_0x2b3391:0x559,_0x59996d:0x269,_0x49ed97:0x258,_0x56bf31:0x2c5,_0x4b8b35:0x81e,_0x1d614f:0x501,_0x2d6766:0x10f,_0x341a20:0x663,_0x3eea4b:0x6ca,_0x104ee2:0xc2,_0x47f2b5:0x224,_0x19b2b6:0x3f9,_0x174562:0x248,_0x5ba1f5:0x398,_0x331362:0x28e,_0x53db07:0x362,_0x330aac:0x3df,_0x1cd312:0x1dc,_0x15f688:0x9e,_0x394005:0x4d,_0x507642:0x13d,_0x36ae38:0x6d1,_0x44ae4b:0x521,_0xa0ab8a:0x35f,_0x126d07:0x1a5,_0x20943e:0xa4,_0x368495:0x39c,_0x3fa384:0x72a,_0x47a24e:0x472,_0x490434:0x2d5,_0x59dfa2:0x2fa,_0x28aca7:0x319,_0x286e15:0x3fa,_0x3461e6:0x79e,_0x307075:0x7c3,_0x3e9709:0x3fc,_0x15f14c:0x608,_0x46bf79:0x16b,_0x13f06d:0xf1,_0x37c735:0x206,_0x22412d:0x31a,_0x5bc6b8:0x3f5},_0x4275fe={_0x5a74b9:0x162,_0x2afaa2:0x116,_0x10869a:0x118},_0x5d71ad={_0x2a7d6d:0xe6},_0xfaffc3=parseAnchoredInput(_0x40ae7d,_0x373635),_0x18f7df=await resolveEditTarget(_0x3e2a17[_0x3d6185(0x1fa,_0x4eed31._0x2c0784,_0x4eed31._0x2f148e,_0x4eed31._0x8a022c)],_0x3e2a17[_0x3d6185(-_0x4eed31._0x257394,-_0x4eed31._0x265784,_0x4eed31._0x56ed3d,0x154)],_0xfaffc3[_0x3a9743(0x5ff,_0x4eed31._0x572604,_0x4eed31._0x4fbd41,_0x4eed31._0xffe625)]);function _0x3d6185(_0x1232e6,_0x107c17,_0x161cd4,_0x2fe6d8){return _0x16ac01(_0x1232e6-0xd5,_0x2fe6d8-0xe8,_0x161cd4-_0x5d71ad._0x2a7d6d,_0x107c17);}function _0x3a9743(_0x1274fd,_0x1c1e11,_0x264261,_0x327815){return _0x5885dd(_0x1274fd-_0x4275fe._0x5a74b9,_0x327815,_0x264261-_0x4275fe._0x2afaa2,_0x264261-_0x4275fe._0x10869a);}const {observations:_0x1391bd}=_0x3e2a17;_0x1391bd[_0x3a9743(0x80e,0x826,0x62f,_0x4eed31._0x46b11a)](_0x5986ab);const _0x4f86c2=_0x1391bd['resolve'](_0x18f7df['canonicalPath'],_0xfaffc3[_0x3a9743(0x409,_0x4eed31._0x518b57,_0x4eed31._0xebf1e0,_0x4eed31._0x3a837f)]),_0x1183c7=await readLiveSnapshot(_0x18f7df[_0x3a9743(_0x4eed31._0x24fae2,_0x4eed31._0xea55c6,0x3fc,_0x4eed31._0x1bf6bf)],_0xfaffc3[_0x3a9743(_0x4eed31._0x1c98e3,_0x4eed31._0x3e0205,0x5e4,_0x4eed31._0x223a54)]),_0x2c99b3=computePayloadDigest(_0xfaffc3['operations']);if(_0x1183c7['digest']!==_0x4f86c2[_0x3a9743(0x4c2,_0x4eed31._0x42f24e,_0x4eed31._0x750598,_0x4eed31._0x266c60)][_0x3a9743(0x577,0x622,0x415,0x564)]){const {reasonLine:_0x30b07d,guidance:_0x3bc02e}=staleSnapshotMessageText(_0xfaffc3[_0x3d6185(_0x4eed31._0x5cb611,_0x4eed31._0x215b2b,0x4fe,0x325)],_0xfaffc3[_0x3a9743(_0x4eed31._0x223822,_0x4eed31._0x524b50,_0x4eed31._0x3034cd,_0x4eed31._0x59d54c)]),_0x56a6d9=buildRecoveryContext(_0xfaffc3[_0x3d6185(0x3c0,0x2f1,_0x4eed31._0x5bca03,0x325)],_0x1183c7,collectRequiredLines(_0xfaffc3[_0x3a9743(0x388,0x3df,_0x4eed31._0x4df1b6,_0x4eed31._0x59281e)]),_0x3e2a17[_0x3d6185(_0x4eed31._0xfec0f4,_0x4eed31._0x1525df,_0x4eed31._0x28bd66,_0x4eed31._0x588569)],_0x30b07d,_0x3bc02e);_0x1391bd[_0x3d6185(_0x4eed31._0x1c3e1f,0x185,_0x4eed31._0x4b810f,0x248)](_0x1183c7,_0x56a6d9[_0x3d6185(_0x4eed31._0x55b579,_0x4eed31._0x53cec3,-_0x4eed31._0x5d2a09,0x1f9)]),throwStaleSnapshot(_0xfaffc3[_0x3a9743(0x450,_0x4eed31._0x2dd2fd,_0x4eed31._0x4fbd41,0x598)],_0x18f7df[_0x3a9743(0x308,0x388,0x3fc,0x33c)],_0x1183c7,_0x56a6d9);}let _0x18fe70;try{_0x18fe70=prepareCanonicalFileEdit(_0x4f86c2[_0x3a9743(_0x4eed31._0x501729,_0x4eed31._0x3f1335,0x52b,0x31c)],_0x4f86c2[_0x3d6185(0x33,-_0x4eed31._0x5bafc7,-0x4e,-0x4)],_0xfaffc3['operations']);}catch(_0x134720){if(_0x134720 instanceof ToolExecutionError&&_0x134720[_0x3a9743(_0x4eed31._0x302e60,_0x4eed31._0x22cc07,0x482,0x676)][_0x3a9743(_0x4eed31._0xa9c97b,_0x4eed31._0x5c712d,_0x4eed31._0x2b3391,0x3d0)]===_0x3d6185(_0x4eed31._0x59996d,_0x4eed31._0x49ed97,0x3f1,_0x4eed31._0x56bf31)){const _0x4ef31d=_0x134720['structured'][_0x3a9743(_0x4eed31._0x4b8b35,0x419,0x629,_0x4eed31._0x1d614f)]??collectRequiredLines(_0xfaffc3[_0x3d6185(-0x57,-0xd0,0x3e,_0x4eed31._0x2d6766)]),{reasonLine:_0x5912a0,guidance:_0x58bc3}=unseenLinesMessageText(),_0x368bc2=buildRecoveryContext(_0xfaffc3[_0x3a9743(0x68b,_0x4eed31._0x341a20,0x5e4,_0x4eed31._0x3eea4b)],_0x1183c7,_0x4ef31d,_0x3e2a17[_0x3d6185(_0x4eed31._0x104ee2,_0x4eed31._0x47f2b5,0x36e,_0x4eed31._0x588569)],_0x5912a0,_0x58bc3);_0x1391bd[_0x3d6185(0x226,0x1d9,_0x4eed31._0x19b2b6,_0x4eed31._0x174562)](_0x1183c7,_0x368bc2[_0x3d6185(_0x4eed31._0x5ba1f5,_0x4eed31._0x331362,_0x4eed31._0x53db07,0x1f9)]),throwUnseenLines(_0xfaffc3[_0x3d6185(0x32b,0x47d,_0x4eed31._0x330aac,0x325)],_0x18f7df[_0x3d6185(_0x4eed31._0x1cd312,_0x4eed31._0x15f688,_0x4eed31._0x394005,_0x4eed31._0x507642)],_0x1183c7,_0x4ef31d,_0x368bc2);}if(_0x134720 instanceof ToolExecutionError&&_0x134720[_0x3a9743(0x444,0x2cf,0x482,0x2ba)][_0x3a9743(0x5c7,0x56b,0x559,_0x4eed31._0x36ae38)]===_0x3a9743(0x6ed,0x682,_0x4eed31._0x44ae4b,_0x4eed31._0xa0ab8a)){const _0x561e99=_0x1391bd[_0x3d6185(0x141,_0x4eed31._0x126d07,-_0x4eed31._0x20943e,0x3e)](_0x18f7df[_0x3a9743(0x2f6,0x5ec,0x3fc,_0x4eed31._0x368495)],_0x2c99b3),{reasonLine:_0x217c24,guidance:_0x575253}=noChangeMessageText(_0xfaffc3['filePath'],_0x561e99),_0x51ccc9=buildRecoveryContext(_0xfaffc3[_0x3a9743(0x7d6,_0x4eed31._0x3fa384,0x5e4,0x53c)],_0x1183c7,collectRequiredLines(_0xfaffc3[_0x3a9743(_0x4eed31._0x47a24e,_0x4eed31._0x490434,_0x4eed31._0x4df1b6,_0x4eed31._0x59dfa2)]),_0x3e2a17[_0x3a9743(0x582,0x58d,0x4e7,_0x4eed31._0x28aca7)],_0x217c24,_0x575253);_0x1391bd['record'](_0x1183c7,_0x51ccc9['contextLines']),throwNoChange(_0xfaffc3[_0x3a9743(_0x4eed31._0x286e15,_0x4eed31._0x3461e6,0x5e4,_0x4eed31._0x307075)],_0x18f7df[_0x3a9743(0x472,0x258,_0x4eed31._0x3e9709,_0x4eed31._0x15f14c)],_0x1183c7,_0x51ccc9,_0x561e99);}throw _0x134720;}return assertPreviewWithinBounds(_0x18fe70['blocks'],_0x18f7df[_0x3d6185(_0x4eed31._0x46bf79,_0x4eed31._0x13f06d,_0x4eed31._0x37c735,_0x4eed31._0x507642)],_0xfaffc3[_0x3d6185(_0x4eed31._0x1525df,_0x4eed31._0x22412d,_0x4eed31._0x5bc6b8,0x325)]),buildPreview(_0x40ae7d,_0xfaffc3,_0x18f7df,_0x4f86c2,_0x18fe70);}async function reResolveUnderLock(_0x446aeb,_0x5a86f7,_0x57baad,_0x267673){const _0x1981a3={_0xa7662b:0x658,_0x253123:0x377,_0x3a8fee:0x41a,_0x28f17a:0x668,_0x470788:0x65f,_0x362fb8:0x3ec,_0x186578:0x356,_0x1ca978:0x388,_0x4331f:0x228,_0x5e6dfe:0x3e2,_0x48e64d:0x117,_0x6339b8:0x72,_0x341af3:0x39a,_0x525d63:0x4e6,_0x106ea5:0x4be,_0x5de691:0x2c5,_0x3cd92c:0x53a,_0x4caa07:0x5f9,_0x2050d9:0x422,_0x4f442c:0x52e,_0x227ba3:0x222,_0x262e36:0x272,_0x417ec1:0x218},_0x1ae314={_0x1b5b3a:0x1cd},_0x37ce0a={_0x781f94:0x1b9};function _0x4b8805(_0x311b85,_0x2b42df,_0x10a09b,_0x216603){return _0x5885dd(_0x311b85-_0x37ce0a._0x781f94,_0x311b85,_0x10a09b-0x5,_0x2b42df- -0x1e);}let _0x4f6353;function _0x1937dc(_0x1d6e71,_0xa5bb8c,_0x1b9163,_0x3aef78){return _0x16ac01(_0x1d6e71-0x3e,_0x1d6e71-_0x1ae314._0x1b5b3a,_0x1b9163-0x179,_0xa5bb8c);}try{_0x4f6353=await resolveCanonicalAllowedFile(_0x446aeb,_0x5a86f7,_0x57baad[_0x4b8805(0x5c2,0x4ae,_0x1981a3._0xa7662b,_0x1981a3._0x253123)]);}catch(_0x5ce708){if(_0x5ce708 instanceof ToolExecutionError)throw _0x5ce708;const _0xd3e7ea=_0x5ce708 instanceof Error?_0x5ce708['message']:String(_0x5ce708);throw createAnchoredFileError(_0x1937dc(_0x1981a3._0x3a8fee,0x321,0x3bd,0x2dc),_0x4b8805(0x4ef,0x53a,_0x1981a3._0x28f17a,_0x1981a3._0x470788)+_0x57baad[_0x1937dc(0x40a,0x4e2,_0x1981a3._0x362fb8,_0x1981a3._0x186578)]+_0x1937dc(_0x1981a3._0x1ca978,_0x1981a3._0x4331f,_0x1981a3._0x5e6dfe,0x193)+_0xd3e7ea+_0x1937dc(_0x1981a3._0x48e64d,0x15a,-_0x1981a3._0x6339b8,0x49),{'path':_0x57baad[_0x4b8805(_0x1981a3._0x341af3,0x4ae,0x52f,_0x1981a3._0x525d63)]});}if(_0x4f6353[_0x4b8805(0x2de,0x2c6,0xcd,0x284)]!==_0x267673)throw createAnchoredFileError(_0x4b8805(0x583,_0x1981a3._0x106ea5,0x5c3,_0x1981a3._0x5de691),_0x4b8805(0x40d,_0x1981a3._0x3cd92c,0x43b,0x4d0)+_0x57baad[_0x4b8805(_0x1981a3._0x4caa07,0x4ae,0x297,_0x1981a3._0x2050d9)]+'\x20now\x20resolves\x20to\x20a\x20different\x20target\x20than\x20the\x20approved\x20edit;\x20re-read\x20with\x20FileRead\x20first.',{'path':_0x57baad[_0x4b8805(0x37d,0x4ae,0x311,_0x1981a3._0x4f442c)],'canonicalPath':_0x4f6353[_0x1937dc(_0x1981a3._0x227ba3,_0x1981a3._0x262e36,_0x1981a3._0x417ec1,0x272)]});return _0x4f6353;}async function executeAnchoredFileEdit(_0x3a7853,_0x435f31,_0x37c120,_0xac3a72,_0x381a37=defaultFileSystem2){const _0x2fd09f={_0x448c4d:0x19a,_0x51032f:0x3ba,_0x3602aa:0x323,_0x13ca9c:0x121,_0x44abec:0x89,_0x2cb50d:0xeb,_0x4c3ba1:0x681,_0x43911f:0x55e},_0x3aeea2={_0x4e913b:0x447,_0x4949ed:0x501,_0x18fe75:0x7ac,_0x3e755c:0x811,_0x23084f:0x639,_0x512adc:0x853,_0x1b7f01:0x6df,_0xc90a99:0x54c,_0x26ea83:0x84,_0x3c57ca:0x1fe,_0x41aac7:0x120,_0x32a6e5:0x274,_0x444a4a:0x451,_0xc84b4d:0x586,_0x237c8a:0x2b,_0x17ff6e:0x97,_0x1e1d41:0x751,_0x29f28f:0x140,_0x4ab4f9:0x1b5,_0x12b6f8:0x4fd,_0x3ca938:0x788,_0x930cb4:0x502,_0x54ed06:0x2fd,_0x44616e:0x40c,_0x2dee15:0x4c9,_0x232070:0x58b,_0x436982:0xcd,_0x2c687f:0x478,_0x2729e6:0x4ed,_0x77f609:0x4e2,_0x413b63:0x4fa,_0x4490ec:0x577,_0xf63c99:0x3a8,_0x500523:0x1aa,_0x84adde:0x2a4,_0x44effa:0x32e,_0x57b809:0x2e8,_0x44cc78:0x408,_0x371e8b:0x17f,_0x4adf28:0x2b,_0x2a4d59:0x22b,_0x547e59:0x54,_0x2f4a74:0x120,_0x16eb7e:0x2c7,_0x4d03db:0x24f,_0x58eadc:0x1da,_0x4ff344:0x11a,_0x2681bf:0x29d,_0x231399:0x320,_0x5d65a3:0x16d,_0x598c92:0x1a6,_0xb88489:0x550,_0x4a6bc8:0x626,_0x17645f:0x7b3,_0x3634fc:0x67f,_0x1a1dc8:0x5e8,_0x472080:0x54f,_0x16ce2c:0x5c3,_0x4ab4d4:0x52c,_0x217be1:0x1e4,_0x261399:0x308,_0x43ab14:0x202,_0x1b68f0:0x2a6,_0x45302f:0x3fc,_0x1abe8c:0x5d4,_0x10e3fb:0x494,_0x44f2fe:0x4a8,_0x1498a1:0x6b1,_0x39d872:0x5f1,_0x4a7300:0x56b,_0x501122:0x766,_0x242074:0x27d,_0xe434e5:0x288,_0x5d0e7f:0x2fb,_0x1972ca:0x245,_0x3c7482:0x2e5,_0x15e170:0x62d,_0x34b0b4:0x49b,_0x4d0cea:0x467,_0x1be1d1:0x585,_0xc4c8e8:0x47a,_0x598184:0x48e,_0x41409c:0x308,_0x185214:0x1b2,_0x3d2513:0x14a,_0x4e9eff:0x22,_0x14317c:0x122,_0x5ba920:0x210,_0x24f1cf:0x2ab,_0x5b3a55:0x776,_0x41cfc4:0x433,_0x2baf8d:0x2cb,_0x526288:0x49b,_0x52d039:0x3af,_0x2c4d4d:0x214,_0x17745b:0x1c7,_0x5f27b5:0x161,_0x3fe43c:0x725,_0xfa7f92:0x174,_0x5835f5:0x1a9,_0x4b7c92:0x2f,_0x33baa3:0x193,_0x45b40d:0x3fa,_0x128dfb:0x336,_0x33309c:0x423,_0x22a899:0x40d,_0x4798d5:0x39d,_0x5e1565:0x4,_0x519e50:0xdc,_0x2e7d16:0x1c,_0x97c8ee:0x1a2,_0x2df847:0x60a,_0x10ef5d:0x545,_0xf3e463:0x55a,_0x24fd6b:0x426,_0x3012c1:0x40b,_0x5ce5db:0x5f8,_0x134d4b:0x401,_0x351c57:0x2a,_0x107a13:0x20,_0x2bb7a7:0xd1,_0x30ed44:0x475,_0x3548e0:0x64d,_0x35ad6b:0x30d,_0x1555e2:0x25a,_0x39cf40:0x3c1,_0x445d13:0x729,_0x861f47:0x3b2,_0x2e9293:0xb1,_0x2b4467:0x3f,_0x567430:0x118,_0x3a2d32:0x96,_0x5b21c1:0x2bc,_0x3f7354:0x3c5,_0xd4b724:0x4c9,_0x1df3a3:0x313,_0x2cea9f:0x290,_0x20ae71:0x23e,_0x574407:0x159,_0x387ba1:0x138,_0x3e9cf5:0x6d,_0x197fe1:0x87,_0x5eb487:0x4d8,_0x118207:0x308,_0x40c151:0x62,_0x4ec6d7:0x28,_0x1aeb24:0x1a3,_0x1864c1:0x477,_0x26708e:0x50f,_0x253b3c:0x142,_0x5774ef:0x308,_0x2f4bf6:0x1af,_0xe8a83d:0x2d7,_0x218301:0x48d,_0x619ebf:0x596,_0x56f951:0x232,_0x225abc:0x3d4,_0xbf154b:0x584,_0x720af2:0x3d0,_0x230d34:0x7a1,_0x226095:0x69,_0x38fd7e:0x1dc,_0x1b1c94:0x66,_0x4b6499:0x127,_0x1cec22:0x77a,_0x5c1969:0x62d,_0x221aca:0x4c2,_0x10ff00:0x814,_0x518d5f:0x6b1,_0x5e4826:0x655,_0x50fea0:0x10c,_0x369481:0x42,_0x5779c5:0x16,_0x7c12ce:0x7e,_0x1dcc3e:0x4bc,_0x79f83a:0x54a,_0x5ab63a:0x432,_0xb5b4eb:0x61,_0x116d5e:0x211,_0x24e0ce:0x4b8,_0x276be:0x79d,_0x504e4c:0x70a,_0x2e1207:0x6c7,_0x44ccfa:0xa2,_0x536bb0:0xc6,_0x128774:0x139,_0x133dfe:0x409,_0x1968e0:0x713,_0x55b459:0x622,_0x21d3a1:0x4ec,_0x1d9c2f:0x581,_0x4641a5:0x7fc,_0x5106fa:0x710,_0x3d6b76:0x458,_0x4bb3db:0x2c2,_0x52a1ec:0x25d,_0x16d5e1:0x24c,_0x2cd425:0x53b,_0x58500d:0x6f8},_0x5f0cec={_0x3a8e75:0xfd,_0x242005:0x97},_0x3d1f17={_0x544225:0x112},_0x1b19f2={_0x372bf4:0xab};function _0x2d5437(_0x459500,_0x2d2c51,_0x3d04bd,_0x53ba19){return _0x5885dd(_0x459500-0x65,_0x53ba19,_0x3d04bd-_0x1b19f2._0x372bf4,_0x3d04bd- -0x25b);}const _0x4a25f2=parseAnchoredInput(_0x3a7853,_0x435f31);function _0x25089c(_0x14dca2,_0x2275df,_0x112dab,_0x35d61d){return _0x16ac01(_0x14dca2-_0x3d1f17._0x544225,_0x35d61d-0x57f,_0x112dab-0x140,_0x2275df);}const _0x1041e4=await resolveEditTarget(_0xac3a72['defaultCwd'],_0xac3a72[_0x25089c(0x54e,0x7c9,0x7b7,0x5eb)],_0x4a25f2[_0x2d5437(_0x2fd09f._0x448c4d,_0x2fd09f._0x51032f,0x271,_0x2fd09f._0x3602aa)]);return _0xac3a72['mutations'][_0x2d5437(_0x2fd09f._0x13ca9c,-0x18a,-0xd2,-0xaf)](_0x1041e4[_0x2d5437(0x1dc,0x41,_0x2fd09f._0x44abec,_0x2fd09f._0x2cb50d)],_0x37c120[_0x25089c(_0x2fd09f._0x4c3ba1,0x700,0x36e,_0x2fd09f._0x43911f)],async()=>{const _0x2b64e9={_0x4ee9a6:0x1d,_0x1882c8:0x440},_0x9d9a61=await reResolveUnderLock(_0xac3a72['defaultCwd'],_0xac3a72['allowedDirs'],_0x4a25f2,_0x1041e4[_0xcaeea4(_0x3aeea2._0x4e913b,0x521,0x4c9,_0x3aeea2._0x4949ed)]);function _0xf93cec(_0x24631c,_0x52b8dc,_0x20343f,_0x477624){return _0x2d5437(_0x24631c-_0x5f0cec._0x3a8e75,_0x52b8dc-0xff,_0x477624-_0x5f0cec._0x242005,_0x20343f);}const {observations:_0xd35195}=_0xac3a72;_0xd35195[_0xcaeea4(_0x3aeea2._0x18fe75,_0x3aeea2._0x3e755c,0x6fc,_0x3aeea2._0x4949ed)](_0x37c120['sessionId']);const _0x4a3de9=_0xd35195[_0xcaeea4(_0x3aeea2._0x23084f,_0x3aeea2._0x512adc,_0x3aeea2._0x1b7f01,_0x3aeea2._0xc90a99)](_0x9d9a61[_0xf93cec(-_0x3aeea2._0x26ea83,0x26,_0x3aeea2._0x3c57ca,_0x3aeea2._0x41aac7)],_0x4a25f2['tag']);let _0x2d4382,_0x11feef;try{[_0x2d4382,_0x11feef]=await Promise[_0xcaeea4(0x30f,_0x3aeea2._0x32a6e5,_0x3aeea2._0x444a4a,_0x3aeea2._0xc84b4d)]([_0x381a37['readFile'](_0x9d9a61['canonicalPath']),_0x381a37[_0xf93cec(0x8f,0x289,0x297,0x225)](_0x9d9a61[_0xf93cec(-_0x3aeea2._0x237c8a,_0x3aeea2._0x17ff6e,0xc1,0x120)])]);}catch(_0x300ba4){const _0x17a143=_0x300ba4 instanceof Error?_0x300ba4['message']:String(_0x300ba4);throw createAnchoredFileError(_0xcaeea4(_0x3aeea2._0x1e1d41,0x655,0x6c1,0x884),_0xf93cec(0x182,_0x3aeea2._0x29f28f,0x174,_0x3aeea2._0x4ab4f9)+_0x4a25f2[_0xcaeea4(_0x3aeea2._0x12b6f8,_0x3aeea2._0x3ca938,0x6b1,0x5a2)]+'\x20while\x20the\x20edit\x20was\x20pending\x20('+_0x17a143+_0xcaeea4(0x4b6,0x34a,0x3be,_0x3aeea2._0x930cb4),{'path':_0x4a25f2['filePath']});}const _0xadd26d=createNormalizedFileSnapshot(_0x9d9a61[_0xcaeea4(_0x3aeea2._0x54ed06,_0x3aeea2._0x44616e,_0x3aeea2._0x2dee15,_0x3aeea2._0x232070)],_0x2d4382);if(_0xadd26d[_0xf93cec(-_0x3aeea2._0x436982,0x267,0x2a6,0x139)]!==_0x4a3de9[_0xcaeea4(0x7fb,0x3e3,0x5f8,_0x3aeea2._0x2c687f)][_0xcaeea4(_0x3aeea2._0x2729e6,0x334,_0x3aeea2._0x77f609,_0x3aeea2._0x413b63)]){const {reasonLine:_0x42166e,guidance:_0x2a7c38}=staleSnapshotMessageText(_0x4a25f2[_0xcaeea4(0x7c2,0x4aa,0x6b1,_0x3aeea2._0x4490ec)],_0x4a25f2[_0xf93cec(_0x3aeea2._0xf63c99,_0x3aeea2._0x500523,0x4a1,_0x3aeea2._0x84adde)]),_0x183c54=buildRecoveryContext(_0x4a25f2[_0xf93cec(_0x3aeea2._0x44effa,_0x3aeea2._0x57b809,0x1f2,0x308)],_0xadd26d,collectRequiredLines(_0x4a25f2[_0xf93cec(-0x6c,0x26c,0x145,0xf2)]),_0xac3a72[_0xf93cec(_0x3aeea2._0x44cc78,0x207,0x170,0x20b)],_0x42166e,_0x2a7c38);_0xd35195[_0xf93cec(_0x3aeea2._0x371e8b,0x36d,_0x3aeea2._0x4adf28,_0x3aeea2._0x2a4d59)](_0xadd26d,_0x183c54['contextLines']),throwStaleSnapshot(_0x4a25f2['filePath'],_0x9d9a61[_0xf93cec(0xe3,_0x3aeea2._0x547e59,0x1f5,_0x3aeea2._0x2f4a74)],_0xadd26d,_0x183c54);}let _0x1988c6;try{_0x1988c6=prepareCanonicalFileEdit(_0x4a3de9[_0xf93cec(_0x3aeea2._0x16eb7e,0x1aa,0x326,_0x3aeea2._0x4d03db)],_0x4a3de9[_0xcaeea4(0x4d3,0x34b,0x388,_0x3aeea2._0x58eadc)],_0x4a25f2[_0xf93cec(0x179,0x2f3,_0x3aeea2._0x4ff344,0xf2)]);}catch(_0x3d8176){if(_0x3d8176 instanceof ToolExecutionError&&_0x3d8176[_0xf93cec(_0x3aeea2._0x2681bf,_0x3aeea2._0x231399,_0x3aeea2._0x5d65a3,_0x3aeea2._0x598c92)][_0xcaeea4(0x5d7,_0x3aeea2._0xb88489,_0x3aeea2._0x4a6bc8,_0x3aeea2._0x17645f)]==='unseen_lines'){const _0x1f56a5=_0x3d8176[_0xcaeea4(_0x3aeea2._0x3634fc,_0x3aeea2._0x1a1dc8,_0x3aeea2._0x472080,_0x3aeea2._0x16ce2c)][_0xcaeea4(0x6c3,_0x3aeea2._0x4ab4d4,0x6f6,0x69f)]??collectRequiredLines(_0x4a25f2[_0xf93cec(0x223,-0x116,_0x3aeea2._0x217be1,0xf2)]),{reasonLine:_0x53dbc3,guidance:_0x5e04e7}=unseenLinesMessageText(),_0x4381e0=buildRecoveryContext(_0x4a25f2[_0xf93cec(0x104,0x3fc,0x480,_0x3aeea2._0x261399)],_0xadd26d,_0x1f56a5,_0xac3a72[_0xf93cec(_0x3aeea2._0x43ab14,_0x3aeea2._0x1b68f0,0x1b0,0x20b)],_0x53dbc3,_0x5e04e7);_0xd35195[_0xcaeea4(0x5a0,_0x3aeea2._0x45302f,_0x3aeea2._0x1abe8c,0x57d)](_0xadd26d,_0x4381e0[_0xcaeea4(_0x3aeea2._0x10e3fb,0x6c8,0x585,0x743)]),throwUnseenLines(_0x4a25f2[_0xcaeea4(_0x3aeea2._0x44f2fe,0x581,_0x3aeea2._0x1498a1,_0x3aeea2._0x39d872)],_0x9d9a61['canonicalPath'],_0xadd26d,_0x1f56a5,_0x4381e0);}if(_0x3d8176 instanceof ToolExecutionError&&_0x3d8176[_0xcaeea4(_0x3aeea2._0x4a7300,_0x3aeea2._0x501122,0x54f,0x5c6)][_0xf93cec(0x218,0x416,0x300,_0x3aeea2._0x242074)]===_0xf93cec(0x7d,_0x3aeea2._0xe434e5,_0x3aeea2._0x5d0e7f,_0x3aeea2._0x1972ca)){const {reasonLine:_0x7e46ca,guidance:_0x5c91d0}=noChangeMessageText(_0x4a25f2[_0xcaeea4(0x8a1,0x8a3,0x6b1,0x782)],0x1),_0x22ecec=buildRecoveryContext(_0x4a25f2['filePath'],_0xadd26d,collectRequiredLines(_0x4a25f2[_0xcaeea4(_0x3aeea2._0x3c7482,_0x3aeea2._0x15e170,_0x3aeea2._0x34b0b4,0x666)]),_0xac3a72['outputBudgetBytes'],_0x7e46ca,_0x5c91d0);_0xd35195[_0xf93cec(0x37c,0x361,0x23b,_0x3aeea2._0x2a4d59)](_0xadd26d,_0x22ecec[_0xcaeea4(_0x3aeea2._0x4d0cea,0x652,_0x3aeea2._0x1be1d1,_0x3aeea2._0xc4c8e8)]),throwNoChange(_0x4a25f2[_0xf93cec(_0x3aeea2._0x598184,0x3da,0x31e,_0x3aeea2._0x41409c)],_0x9d9a61['canonicalPath'],_0xadd26d,_0x22ecec,0x1);}throw _0x3d8176;}assertPreviewWithinBounds(_0x1988c6[_0xf93cec(-_0x3aeea2._0x185214,-_0x3aeea2._0x3d2513,-_0x3aeea2._0x4e9eff,-0x42)],_0x9d9a61[_0xf93cec(_0x3aeea2._0x14317c,_0x3aeea2._0x5ba920,_0x3aeea2._0x24f1cf,0x120)],_0x4a25f2[_0xcaeea4(0x751,_0x3aeea2._0x5b3a55,_0x3aeea2._0x1498a1,0x7e1)]);function _0xcaeea4(_0x3eecc2,_0xa638a6,_0x36013d,_0x503e02){return _0x2d5437(_0x3eecc2-0xf0,_0xa638a6-_0x2b64e9._0x4ee9a6,_0x36013d-_0x2b64e9._0x1882c8,_0xa638a6);}const _0x1c62cf=_0x1988c6[_0xcaeea4(_0x3aeea2._0x41cfc4,_0x3aeea2._0x2baf8d,_0x3aeea2._0x526288,_0x3aeea2._0x52d039)][_0xf93cec(0x57,0x10e,_0x3aeea2._0x2c4d4d,_0x3aeea2._0x17745b)],_0xfb01a9=serializeNormalizedFile(_0x1988c6['afterText'],{'bom':_0xadd26d[_0xf93cec(0x8d,-_0x3aeea2._0x5f27b5,0x15c,-0x29)],'eol':_0xadd26d['eol']}),_0x316dc4=_0x11feef[_0xcaeea4(0x520,0x8cb,_0x3aeea2._0x3fe43c,0x51b)];if(_0x4a25f2[_0xf93cec(-_0x3aeea2._0xfa7f92,_0x3aeea2._0x5835f5,-0x1d9,-_0x3aeea2._0x4b7c92)]){const _0x3d39e1=buildResultText(_0x4a25f2['filePath'],_0xadd26d,selectChangedContextLines(_0x1988c6[_0xf93cec(-0x250,-_0x3aeea2._0x33baa3,0x142,-0x42)],_0xadd26d,_0xf93cec(_0x3aeea2._0x45b40d,_0x3aeea2._0x128dfb,_0x3aeea2._0x33309c,0x384)),_0xac3a72[_0xcaeea4(_0x3aeea2._0x22a899,0x4c4,0x5b4,0x5d2)],_0xf93cec(0x194,0x43d,0x3d3,_0x3aeea2._0x4798d5)+_0x1c62cf+_0xf93cec(_0x3aeea2._0x5e1565,_0x3aeea2._0x519e50,-_0x3aeea2._0x2e7d16,_0x3aeea2._0x97c8ee));_0xd35195[_0xcaeea4(_0x3aeea2._0x2df847,_0x3aeea2._0x10ef5d,0x5d4,0x4ec)](_0xadd26d,_0x3d39e1[_0xcaeea4(0x1ac,0x1b2,0x388,_0x3aeea2._0xf3e463)]);const _0x320cff={'preview':buildPreview(_0x3a7853,_0x4a25f2,_0x9d9a61,_0x4a3de9,_0x1988c6),'beforeDigest':_0x4a3de9[_0xcaeea4(_0x3aeea2._0x24fd6b,_0x3aeea2._0x3012c1,_0x3aeea2._0x5ce5db,0x535)][_0xcaeea4(0x47b,0x4cc,0x4e2,_0x3aeea2._0x134d4b)],'afterDigest':_0xadd26d[_0xf93cec(_0x3aeea2._0x351c57,-_0x3aeea2._0x107a13,-_0x3aeea2._0x2bb7a7,0x139)],'beforeTag':_0x4a25f2['tag'],'afterTag':_0xadd26d[_0xcaeea4(0x7c8,_0x3aeea2._0x30ed44,_0x3aeea2._0x3548e0,0x48d)],'bytesWritten':0x0,'dryRun':!![],'operationCount':_0x1c62cf,'tokenClassification':_0xf93cec(_0x3aeea2._0x35ad6b,_0x3aeea2._0x1555e2,_0x3aeea2._0x39cf40,0x24c)};return createToolOutput(_0x3d39e1[_0xcaeea4(0x61f,0x7ee,_0x3aeea2._0x445d13,0x89c)],_0x320cff);}try{await _0x381a37['atomicWrite'](_0x9d9a61['canonicalPath'],_0xfb01a9,_0x316dc4);}catch(_0x43ac4e){const _0x3bdb0f=_0x43ac4e instanceof Error?_0x43ac4e['message']:String(_0x43ac4e);throw createAnchoredFileError(_0xcaeea4(0x45c,0x534,_0x3aeea2._0x861f47,0x343),_0xf93cec(0x185,_0x3aeea2._0x2e9293,0x1fe,0x213)+_0x4a25f2['filePath']+':\x20'+_0x3bdb0f+_0xf93cec(_0x3aeea2._0x2b4467,-0xda,-_0x3aeea2._0x567430,0x92),{'path':_0x4a25f2['filePath'],'canonicalPath':_0x9d9a61[_0xf93cec(0x2c2,_0x3aeea2._0x3a2d32,-_0x3aeea2._0x3a2d32,0x120)]});}let _0x28a147,_0x5257e7;try{[_0x28a147,_0x5257e7]=await Promise[_0xf93cec(0xd8,-0x113,_0x3aeea2._0x5b21c1,0xa8)]([_0x381a37['readFile'](_0x9d9a61[_0xcaeea4(0x5bd,_0x3aeea2._0x3f7354,_0x3aeea2._0xd4b724,0x66f)]),_0x381a37[_0xf93cec(0x18d,0x236,_0x3aeea2._0x1df3a3,0x225)](_0x9d9a61['canonicalPath'])]);}catch(_0x4c7fa3){const _0xa974f=_0x4c7fa3 instanceof Error?_0x4c7fa3[_0xf93cec(_0x3aeea2._0x2cea9f,0x164,_0x3aeea2._0x20ae71,_0x3aeea2._0x574407)]:String(_0x4c7fa3);throw createAnchoredFileError(_0xf93cec(-0x3f,_0x3aeea2._0x387ba1,0x12a,0xe8),_0xf93cec(0xa4,-_0x3aeea2._0x3e9cf5,_0x3aeea2._0x197fe1,0x17)+_0x4a25f2[_0xf93cec(0x120,_0x3aeea2._0x5eb487,0x32a,_0x3aeea2._0x118207)]+_0xf93cec(_0x3aeea2._0x40c151,-0x35,_0x3aeea2._0x4ec6d7,_0x3aeea2._0x1aeb24)+_0xa974f+_0xcaeea4(0x275,_0x3aeea2._0x1864c1,0x3b1,_0x3aeea2._0x861f47),{'path':_0x4a25f2[_0xf93cec(0x3fb,0x1ec,_0x3aeea2._0x26708e,0x308)],'canonicalPath':_0x9d9a61['canonicalPath']});}if(!_0x28a147['equals'](_0xfb01a9)||(_0x5257e7['mode']&0x1ff)!==(_0x316dc4&0x1ff)){const _0x13cd65='post_write_drift:\x20'+_0x4a25f2[_0xf93cec(0x472,0x306,_0x3aeea2._0x253b3c,_0x3aeea2._0x5774ef)]+_0xcaeea4(0x395,0x447,0x335,_0x3aeea2._0x2f4bf6),_0x43afed='The\x20write\x20landed,\x20but\x20the\x20read-back\x20did\x20not\x20match\x20the\x20intended\x20bytes\x20or\x20permissions.\x20No\x20rollback\x20was\x20performed;\x20re-read\x20with\x20FileRead\x20to\x20confirm\x20the\x20current\x20state.';let _0x9d4fef;try{_0x9d4fef=createNormalizedFileSnapshot(_0x9d9a61[_0xcaeea4(_0x3aeea2._0xe8a83d,_0x3aeea2._0x218301,0x4c9,0x57f)],_0x28a147);}catch{_0x9d4fef=void 0x0;}let _0x2651d0;_0x9d4fef!==void 0x0?(_0x2651d0=buildRecoveryContext(_0x4a25f2[_0xcaeea4(_0x3aeea2._0x619ebf,0x4ad,0x6b1,0x65d)],_0x9d4fef,selectChangedContextLines(_0x1988c6[_0xcaeea4(_0x3aeea2._0x56f951,_0x3aeea2._0x225abc,0x367,0x299)],_0x9d4fef,'after'),_0xac3a72[_0xcaeea4(0x745,_0x3aeea2._0xbf154b,0x5b4,0x54e)],_0x13cd65,_0x43afed),_0xd35195[_0xcaeea4(_0x3aeea2._0x720af2,0x57f,_0x3aeea2._0x1abe8c,_0x3aeea2._0x230d34)](_0x9d4fef,_0x2651d0[_0xf93cec(0x24f,_0x3aeea2._0x226095,0x314,_0x3aeea2._0x38fd7e)])):_0x2651d0={'tag':'','digest':'','contextLines':[],'output':_0x13cd65+'\x0a'+_0x43afed};throw createAnchoredFileError(_0xf93cec(0x163,_0x3aeea2._0x41aac7,0x14f,0xe8),_0x2651d0[_0xcaeea4(0x7cb,0x544,0x729,0x6a2)],{'path':_0x4a25f2['filePath'],'canonicalPath':_0x9d9a61['canonicalPath'],..._0x9d4fef!==void 0x0?{'tag':_0x9d4fef['tag'],'digest':_0x9d4fef['digest']}:{},..._0x2651d0[_0xf93cec(0xf1,_0x3aeea2._0x1b1c94,_0x3aeea2._0x4b6499,_0x3aeea2._0x38fd7e)][_0xcaeea4(0x369,0x52d,0x570,_0x3aeea2._0x1cec22)]>0x0?{'contextLines':[..._0x2651d0[_0xcaeea4(_0x3aeea2._0x598184,_0x3aeea2._0x5c1969,0x585,_0x3aeea2._0x221aca)]]}:{}});}const _0x2142fa=createNormalizedFileSnapshot(_0x9d9a61[_0xcaeea4(0x523,0x652,0x4c9,0x630)],_0x28a147),_0x57712c=buildResultText(_0x4a25f2[_0xcaeea4(_0x3aeea2._0x10ff00,0x7d7,_0x3aeea2._0x518d5f,_0x3aeea2._0x5e4826)],_0x2142fa,selectChangedContextLines(_0x1988c6[_0xf93cec(-0x226,-_0x3aeea2._0x3e9cf5,-_0x3aeea2._0x50fea0,-_0x3aeea2._0x369481)],_0x2142fa,_0xf93cec(_0x3aeea2._0x5779c5,0x1d,-0x128,-_0x3aeea2._0x7c12ce)),_0xac3a72[_0xf93cec(0x178,0x1b6,0x3c7,0x20b)],_0xcaeea4(0x49a,0x1fb,0x352,_0x3aeea2._0x1dcc3e)+_0x1c62cf+_0xcaeea4(0x56b,_0x3aeea2._0x79f83a,0x4ff,_0x3aeea2._0x5ab63a));_0xd35195[_0xf93cec(0x41e,_0x3aeea2._0xb5b4eb,0x66,_0x3aeea2._0x2a4d59)](_0x2142fa,_0x57712c[_0xcaeea4(_0x3aeea2._0x116d5e,0x341,0x388,_0x3aeea2._0x24e0ce)]),_0xd35195[_0xcaeea4(_0x3aeea2._0x276be,_0x3aeea2._0x504e4c,_0x3aeea2._0x2e1207,0x734)](_0x9d9a61['canonicalPath']);const _0x1272df={'preview':buildPreview(_0x3a7853,_0x4a25f2,_0x9d9a61,_0x4a3de9,_0x1988c6),'beforeDigest':_0x4a3de9['snapshot'][_0xf93cec(0x10c,_0x3aeea2._0x44ccfa,_0x3aeea2._0x536bb0,_0x3aeea2._0x128774)],'afterDigest':_0x2142fa[_0xcaeea4(0x375,0x5f0,0x4e2,_0x3aeea2._0x133dfe)],'beforeTag':_0x4a25f2[_0xcaeea4(_0x3aeea2._0x1968e0,_0x3aeea2._0x55b459,_0x3aeea2._0x3548e0,_0x3aeea2._0x21d3a1)],'afterTag':_0x2142fa[_0xcaeea4(0x58a,_0x3aeea2._0x1d9c2f,0x64d,_0x3aeea2._0x4641a5)],'bytesWritten':_0xfb01a9[_0xcaeea4(_0x3aeea2._0x5106fa,0x70c,0x570,0x515)],'dryRun':![],'operationCount':_0x1c62cf,'tokenClassification':_0xf93cec(_0x3aeea2._0x3d6b76,_0x3aeea2._0x4bb3db,_0x3aeea2._0x52a1ec,_0x3aeea2._0x16d5e1)};return createToolOutput(_0x57712c[_0xcaeea4(_0x3aeea2._0x2cd425,_0x3aeea2._0x58500d,0x729,0x8b9)],_0x1272df);});}import{readFile as _0x4b1750,stat as _0x3e33ae}from'fs/promises';import*as _0x212bcd from'path';function detectEol(_0x189d32){const _0x2d4a1d={_0x3520b1:0x251,_0x372cd9:0x32b,_0x244b1f:0x223,_0x20dc76:0x137},_0x2ef7f4={_0x1cce24:0x4d5,_0x2fc167:0x6},_0x5412bc={_0x102ae2:0x77};function _0x37aaa3(_0x122880,_0x2f1356,_0x3463b9,_0x3a50fe){return _0x5885dd(_0x122880-0x9d,_0x122880,_0x3463b9-_0x5412bc._0x102ae2,_0x3a50fe- -0x133);}function _0x370aa9(_0x410eac,_0x102f35,_0x420f50,_0x481cc1){return _0x16ac01(_0x410eac-0x3a,_0x410eac-_0x2ef7f4._0x1cce24,_0x420f50-_0x2ef7f4._0x2fc167,_0x102f35);}return/\r\n/[_0x37aaa3(_0x2d4a1d._0x3520b1,_0x2d4a1d._0x372cd9,0x265,0x304)](_0x189d32[_0x370aa9(0x487,0x480,0x2a0,0x567)]('utf8'))?_0x37aaa3(0x125,_0x2d4a1d._0x244b1f,-_0x2d4a1d._0x20dc76,0x3f):'lf';}function normalizeToLf(_0x34e552){return _0x34e552['replace'](/\r\n/g,'\x0a');}function convertEol(_0x50a6a9,_0x410711){const _0x54afd3={_0x16942e:0x8f,_0x413ac0:0x124},_0x2e2c22={_0x2c90ef:0x20f};function _0x376ace(_0x8f0949,_0x22592e,_0x36e14a,_0x390e20){return _0x5885dd(_0x8f0949-0x66,_0x36e14a,_0x36e14a-0xe6,_0x8f0949- -_0x2e2c22._0x2c90ef);}return _0x410711===_0x376ace(-0x9d,-0x239,-_0x54afd3._0x16942e,_0x54afd3._0x413ac0)?_0x50a6a9['replace'](/\n/g,'\x0d\x0a'):_0x50a6a9;}function resolveAnchoredEditTarget(_0x4a5600,_0x122494,_0x2b11b1,_0x352ab9){const _0x573217={_0x303950:0x254,_0x26a455:0x2b3,_0x5ae73f:0x2e3,_0x4c5174:0x546,_0x5d60a1:0x3d6,_0x571548:0x2b,_0x332e72:0x26a,_0x402c92:0x1e9,_0x1fa40b:0x408,_0x2c8ea7:0x21e,_0xd7fddd:0x347,_0x28cdcd:0x47,_0x227b25:0x235,_0x53ef0d:0xcb,_0xbd6699:0x2fc},_0x344cc8={_0x4cc3d3:0xf1},_0x2e0581={_0x21a83c:0x34},_0x3c987b=_0x4a5600[_0x2d1d92(0x366,_0x573217._0x303950,0x23c,_0x573217._0x26a455)]??'exact';if(_0x3c987b==='exact')return void 0x0;const _0x2d0d13=_0x4a5600[_0x253f21(_0x573217._0x5ae73f,0x3f5,_0x573217._0x4c5174,_0x573217._0x5d60a1)],_0x5e0bce=_0x4a5600[_0x253f21(-_0x573217._0x571548,0x1e9,_0x573217._0x332e72,_0x573217._0x402c92)],_0x39a307=_0x4a5600[_0x253f21(0x4f3,_0x573217._0x1fa40b,_0x573217._0x2c8ea7,_0x573217._0xd7fddd)];function _0x253f21(_0x41357c,_0x25b77c,_0x3e5c79,_0x124200){return _0x5885dd(_0x41357c-_0x2e0581._0x21a83c,_0x3e5c79,_0x3e5c79-0x14,_0x124200- -0x88);}function _0x2d1d92(_0x36abad,_0x3c922a,_0x5cd3ec,_0x55cdf3){return _0x5885dd(_0x36abad-_0x344cc8._0x4cc3d3,_0x36abad,_0x5cd3ec-0x1c9,_0x5cd3ec- -0x304);}if(_0x2d0d13===void 0x0||_0x5e0bce===void 0x0||_0x39a307===void 0x0){const _0x2ff1bc=[_0x2d0d13===void 0x0?'observations':void 0x0,_0x5e0bce===void 0x0?_0x2d1d92(_0x573217._0x28cdcd,-0x182,-0x93,-_0x573217._0x227b25):void 0x0,_0x39a307===void 0x0?_0x2d1d92(-0x12f,0x9b,_0x573217._0x53ef0d,0x34):void 0x0]['filter'](_0x35e401=>_0x35e401!==void 0x0)['join'](',\x20');throw new Error(_0x122494+'\x20'+_0x3c987b+'\x20mode\x20requires\x20injected\x20'+_0x2ff1bc+_0x253f21(0x104,0x77,_0x573217._0xbd6699,0x23d));}return{'mode':_0x3c987b,'environment':{'defaultCwd':_0x2b11b1,'allowedDirs':_0x352ab9,'observations':_0x2d0d13,'mutations':_0x5e0bce,'outputBudgetBytes':_0x39a307}};}function createFileEditTool(_0x28f75f={}){const _0x55b0ce={_0x340de3:0x670,_0x2fb1ea:0x225,_0x47ac3f:0x287,_0x449f8a:0x19e,_0x288bed:0xeb,_0x4c5815:0x334,_0x3d015d:0x276,_0x122556:0xe3,_0x3ef7ec:0x14b,_0x2c55e0:0x6,_0x5f2355:0xe1,_0x20647c:0xc1,_0x4d5a22:0xf7,_0x7d4f14:0x144,_0x261981:0xc,_0x2d6a1b:0x31b,_0x3c3b00:0x3b7,_0x2189f0:0x602,_0x4e36ae:0x320,_0x421098:0x1ae,_0x3f5604:0x4da,_0x14ddd1:0x39a,_0x4ab4ac:0x5ba,_0x3e0d94:0x204,_0x3e4daf:0x647},_0x5bc412={_0x2e947c:0x417,_0x171be9:0x483,_0x2c6055:0x18c,_0x2d195d:0x2ee,_0x33308b:0xf1,_0x2f15a5:0x4d,_0x116113:0xb8,_0x197b05:0x20a,_0x5e008c:0x9,_0x35f5a6:0x121,_0x3a6844:0x81,_0x41c34e:0x401,_0x49bfb4:0x2d6,_0x52ae67:0x3d1,_0x45348a:0x414,_0x2ca4ce:0x91,_0x1afbd2:0x126,_0x6951e:0x125,_0x2d4247:0x2f1,_0x5f4bdc:0x438,_0x45ed2d:0xe0,_0x27f9e6:0x58,_0xcf608c:0x1c,_0x476b84:0x48b,_0x46a590:0x18d,_0x317723:0x417,_0x1e7bc7:0x450,_0x46d03c:0x17d,_0x5ea86d:0x281,_0x3d4425:0x21c,_0x3e080d:0xf9,_0x2bc59d:0x73,_0x3d587a:0x124,_0x3ccd30:0x26b,_0x2d7569:0x154,_0x26eb1a:0xcd,_0xee04:0x2d6,_0x4db410:0x1e1,_0x574628:0x387,_0xd7c2a7:0x305,_0x234707:0x22c,_0x234de3:0x1de},_0x53ec90={_0x4d6d5c:0x7f,_0x3a7a58:0x167},_0x5a1d19={_0x5a4e80:0x102,_0x326763:0x1c2},_0x55b3ec=_0x212bcd[_0x51e19a(0x4ee,0x4bd,_0x55b0ce._0x340de3,0x360)](_0x28f75f[_0x51e19a(0x360,0x1da,0x4d9,0x507)]??process[_0x51e19a(0x188,_0x55b0ce._0x2fb1ea,-0x8a,0x1ab)]()),_0x3bd8e4=_0x28f75f[_0x5b162b(_0x55b0ce._0x47ac3f,0xfb,_0x55b0ce._0x449f8a,_0x55b0ce._0x288bed)]??[],_0x27f589=_0x28f75f[_0x51e19a(0x49a,0x3b9,0x5a1,_0x55b0ce._0x4c5815)]??_0x51e19a(_0x55b0ce._0x3d015d,0x1f0,_0x55b0ce._0x122556,0x30a),_0x263b86=resolveAnchoredEditTarget(_0x28f75f,_0x27f589,_0x55b3ec,_0x3bd8e4);function _0x51e19a(_0x5c4291,_0x139f77,_0x69e92c,_0x4bb9eb){return _0x16ac01(_0x5c4291-_0x5a1d19._0x5a4e80,_0x5c4291-0x283,_0x69e92c-_0x5a1d19._0x326763,_0x139f77);}function _0x5b162b(_0x5bcf4b,_0x1a695a,_0x10f20a,_0x4f37be){return _0x16ac01(_0x5bcf4b-0x8f,_0x4f37be-_0x53ec90._0x4d6d5c,_0x10f20a-_0x53ec90._0x3a7a58,_0x5bcf4b);}if(_0x263b86!==void 0x0){const {mode:_0x451d7e,environment:_0x49b377}=_0x263b86;return defineTool({'name':_0x27f589,'permissionClass':_0x5b162b(-0x39,-0x167,-_0x55b0ce._0x3ef7ec,-0xf),'description':_0x451d7e===_0x5b162b(-0x43,0x11d,_0x55b0ce._0x2c55e0,_0x55b0ce._0x5f2355)?'Edit\x20a\x20UTF-8\x20text\x20file\x20using\x20a\x20snapshot-anchored\x20Hashline\x20patch.\x20Call\x20FileRead\x20first\x20to\x20obtain\x20the\x20current\x20[path#TAG]\x20header\x20and\x20N:\x20line\x20numbers;\x20every\x20edit\x20requires\x20that\x20tag,\x20and\x20all\x20line\x20numbers\x20below\x20refer\x20to\x20the\x20N:\x20rows\x20from\x20your\x20most\x20recent\x20read.\x20Reuse\x20the\x20fresh\x20#TAG\x20returned\x20by\x20a\x20successful\x20edit\x20for\x20the\x20next\x20edit\x20on\x20the\x20same\x20file;\x20re-read\x20only\x20when\x20you\x20need\x20unseen\x20line\x20numbers\x20or\x20a\x20tag\x20is\x20rejected.\x0aThe\x20patch\x20string\x20is\x20one\x20[path#TAG]\x20header\x20row\x20followed\x20by\x20one\x20or\x20more\x20commands,\x20each\x20applied\x20against\x20the\x20original\x20snapshot:\x0a-\x20PUT\x20START.=END:\x20replaces\x20lines\x20START\x20through\x20END\x20(inclusive)\x20with\x20the\x20payload\x20rows\x20that\x20follow;\x20each\x20payload\x20row\x20starts\x20with\x20+\x20(a\x20bare\x20+\x20is\x20a\x20blank\x20line).\x0a-\x20PUT\x20<N:\x20inserts\x20the\x20payload\x20rows\x20before\x20line\x20N.\x20PUT\x20>N:\x20inserts\x20them\x20after\x20line\x20N.\x0a-\x20CUT\x20START.=END\x20deletes\x20lines\x20START\x20through\x20END\x20(inclusive).\x0aExample\x20(replace\x20line\x202,\x20then\x20insert\x20after\x20line\x209):\x0a[src/app.ts#7F21A93C5D10]\x0aPUT\x202.=2:\x0a+const\x20result\x20=\x20calculate(input);\x0aPUT\x20>9:\x0a+return\x20result;\x0aUse\x20LF\x20line\x20endings\x20only\x20(no\x20carriage\x20returns).\x20At\x20most\x20100\x20operations\x20and\x20256\x20KiB\x20of\x20patch\x20text\x20per\x20call.':_0x5b162b(0x1b,-0x12f,-0x136,-_0x55b0ce._0x20647c),'inputSchema':_0x451d7e===_0x51e19a(0x2e5,0x4da,_0x55b0ce._0x4d5a22,0xd7)?hashlineFileEditInputSchema:structuredFileEditInputSchema,async *'execute'(_0x147251,_0x3fb911){return yield await executeAnchoredFileEdit(_0x451d7e,_0x147251,_0x3fb911,_0x49b377),void 0x0;}});}return defineTool({'name':_0x27f589,'permissionClass':_0x51e19a(0x1f5,_0x55b0ce._0x7d4f14,0x39b,_0x55b0ce._0x261981),'description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':_0x5b162b(0x2ac,0x4d0,0x32f,_0x55b0ce._0x2d6a1b),'properties':{'filePath':{'type':'string'},'description':{'type':_0x51e19a(0x4da,0x6a9,_0x55b0ce._0x3c3b00,_0x55b0ce._0x2189f0),'description':_0x51e19a(0x277,0x23f,_0x55b0ce._0x4e36ae,_0x55b0ce._0x421098)},'oldText':{'type':_0x5b162b(0x110,0x315,0x330,0x2d6)},'newText':{'type':_0x51e19a(_0x55b0ce._0x3f5604,_0x55b0ce._0x14ddd1,_0x55b0ce._0x4ab4ac,0x536)},'dryRun':{'type':_0x5b162b(0x3a9,_0x55b0ce._0x3e0d94,0x10,0x219)}},'required':['filePath',_0x51e19a(0x473,0x2b1,0x286,_0x55b0ce._0x3e4daf),'newText']},async *'execute'(_0xa56d66){const _0x1a8544={_0x5d7f26:0xa9,_0x3f6d18:0x104},_0x4c60f4={_0x386b00:0x206,_0x105a68:0x17b},_0x4a1f7f=resolveAllowedPath(_0x55b3ec,_0x3bd8e4,_0xa56d66[_0x2a5983(_0x5bc412._0x2e947c,0x496,0x5c2,_0x5bc412._0x171be9)]);await assertWorkspaceFile(_0x4a1f7f);function _0x557e1e(_0x2cff86,_0x3c3fac,_0x12c7b6,_0x2699f8){return _0x51e19a(_0x2699f8- -_0x4c60f4._0x386b00,_0x3c3fac,_0x12c7b6-_0x4c60f4._0x105a68,_0x2699f8-0x1ce);}const _0x2c6ad0=await _0x3e33ae(_0x4a1f7f),_0xce71ad=await _0x4b1750(_0x4a1f7f),_0x2bc0b4=detectEol(_0xce71ad),_0x2c5efc=normalizeToLf(_0xce71ad[_0x2a5983(_0x5bc412._0x2c6055,_0x5bc412._0x2d195d,0x211,_0x5bc412._0x33308b)](_0x557e1e(0x131,-_0x5bc412._0x2f15a5,0x1,_0x5bc412._0x116113))),_0x21fa7c=normalizeToLf(_0xa56d66['oldText']),_0x1a9bc1=normalizeToLf(_0xa56d66[_0x557e1e(_0x5bc412._0x197b05,-_0x5bc412._0x5e008c,_0x5bc412._0x35f5a6,0x1ef)]),_0x1b4291=replaceFirstExact(_0x2c5efc,_0x21fa7c,_0x1a9bc1);if(_0x1b4291===void 0x0){const _0x3f37c9=_0x21fa7c[_0x557e1e(0x80,0x7,-0xe5,-_0x5bc412._0x3a6844)](0x0,0x64)[_0x557e1e(0x1f7,0x16c,_0x5bc412._0x41c34e,0x357)](/\n/g,'\x5cn');throw new ToolExecutionError('oldText\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x20Searching\x20for:\x20\x22'+_0x3f37c9+(_0x21fa7c[_0x2a5983(_0x5bc412._0x49bfb4,_0x5bc412._0x52ae67,0x2ca,0x2da)]>0x64?'...':'')+'\x22',{'filePath':_0xa56d66[_0x2a5983(0x417,0x292,_0x5bc412._0x45348a,0x255)]});}const _0x3ec05d=convertEol(_0x1b4291[_0x2a5983(_0x5bc412._0x2ca4ce,0x25d,-_0x5bc412._0x1afbd2,_0x5bc412._0x6951e)],_0x2bc0b4),_0xca26d=Buffer[_0x2a5983(_0x5bc412._0x2d4247,0x407,0x282,_0x5bc412._0x5f4bdc)](_0x3ec05d,'utf8'),_0x2db63c=sha256Bytes(_0xce71ad),_0x298193=sha256Bytes(_0xca26d);function _0x2a5983(_0x48fe71,_0x542d95,_0xd44379,_0x48f7db){return _0x51e19a(_0x48fe71- -_0x1a8544._0x5d7f26,_0x48f7db,_0xd44379-_0x1a8544._0x3f6d18,_0x48f7db-0x48);}const _0x48a25f=_0x2db63c===_0x298193,_0x37f56c=_0xa56d66[_0x2a5983(_0x5bc412._0x45ed2d,0x22e,-_0x5bc412._0x27f9e6,-_0x5bc412._0xcf608c)]??![];return!_0x37f56c&&!_0x48a25f&&await atomicReplaceFile(_0x4a1f7f,_0xca26d,_0x2c6ad0[_0x2a5983(_0x5bc412._0x476b84,0x593,0x613,0x4fb)]),yield createToolOutput(_0x48a25f?'No\x20changes\x20(content\x20identical).':_0x37f56c?_0x557e1e(_0x5bc412._0x46a590,0x4cd,0xc3,0x2c5):'Edit\x20applied\x20successfully.',{'filePath':_0xa56d66[_0x2a5983(0x417,0x520,0x431,_0x5bc412._0x317723)],'resolvedPath':_0x4a1f7f,'created':_0x2c6ad0[_0x557e1e(_0x5bc412._0x1e7bc7,0x35a,_0x5bc412._0x46d03c,0x31b)][_0x2a5983(_0x5bc412._0x5ea86d,0x16e,0x2be,0x27f)](),'modified':_0x2c6ad0[_0x557e1e(0x72,0x30c,_0x5bc412._0x3d4425,_0x5bc412._0x3e080d)][_0x557e1e(0x145,_0x5bc412._0x2bc59d,0x94,_0x5bc412._0x3d587a)](),'size':_0x2c6ad0['size'],'eol':_0x2bc0b4,'oldTextLength':_0x21fa7c[_0x2a5983(_0x5bc412._0x49bfb4,_0x5bc412._0x3ccd30,_0x5bc412._0x2d7569,_0x5bc412._0x26eb1a)],'newTextLength':_0x1a9bc1['length'],'bytesWritten':_0x48a25f||_0x37f56c?0x0:_0xca26d[_0x2a5983(_0x5bc412._0xee04,_0x5bc412._0x4db410,_0x5bc412._0x574628,0x2e1)],'beforeSha':_0x2db63c,'afterSha':_0x298193,'dryRun':_0x37f56c,'noChange':_0x48a25f,'lineNumbers':_0x1b4291[_0x2a5983(_0x5bc412._0xd7c2a7,_0x5bc412._0x234707,0x4c2,_0x5bc412._0x234de3)]}),void 0x0;}});}var FileMutationCoordinator=class{[_0x16ac01(0x3d7,0x26a,0x1b4,0x1f2)]=new Map();async['runExclusive'](_0xfaf40,_0x19e050,_0xa81ecc){const _0x217dd2={_0x3e4433:0x4eb,_0x32d690:0x380,_0x36bd65:0x376,_0x5f0ea5:0x1ea,_0x40e233:0x4c9,_0x115639:0x4fc,_0x4e5a44:0x2ef,_0x335e85:0x536},_0x55ebd5={_0x13eeb2:0x1e5,_0x49dcb5:0x40b,_0x23e8c0:0x368,_0x5366e7:0x230},_0x15a7ab={_0x35ea07:0xc1},_0x3c9667={_0x338295:0xd6,_0x96c328:0x4f1},_0xb209e2={_0x4aa30a:0x19f,_0x47d062:0x1f};throwIfAborted(_0x19e050);const _0x523202=this[_0x2f5ca0(_0x217dd2._0x3e4433,0x393,_0x217dd2._0x32d690,_0x217dd2._0x36bd65)][_0x2f5ca0(0x224,_0x217dd2._0x5f0ea5,0x2fe,0x3e1)](_0xfaf40)??Promise[_0x2f5ca0(0x323,_0x217dd2._0x40e233,0x2b7,0x377)]();function _0x2f5ca0(_0x168ad0,_0x522eb1,_0x5e1062,_0x2368b6){return _0x16ac01(_0x168ad0-_0xb209e2._0x4aa30a,_0x2368b6-0x10c,_0x5e1062-_0xb209e2._0x47d062,_0x168ad0);}const _0x19a4bb=_0x523202['then'](async()=>{return throwIfAborted(_0x19e050),_0xa81ecc();}),_0x9e2c83=_0x19a4bb[_0x2f5ca0(0x1cd,_0x217dd2._0x115639,0x473,0x3b0)](()=>void 0x0,()=>void 0x0);this[_0x2f5ca0(_0x217dd2._0x4e5a44,0x2e8,_0x217dd2._0x335e85,0x376)]['set'](_0xfaf40,_0x9e2c83);function _0x17ed1a(_0x3994d4,_0x2bd319,_0x490394,_0x25298a){return _0x16ac01(_0x3994d4-_0x3c9667._0x338295,_0x3994d4-_0x3c9667._0x96c328,_0x490394-0x18f,_0x25298a);}return void _0x9e2c83['finally'](()=>{const _0x41084f={_0x2c8f35:0x1f8,_0x34a67c:0x139,_0x55e2aa:0x68};function _0x5d1b72(_0x392a51,_0x112084,_0xf1b3d6,_0x382724){return _0x17ed1a(_0xf1b3d6- -0x3be,_0x112084-_0x15a7ab._0x35ea07,_0xf1b3d6-0x6c,_0x112084);}function _0x583992(_0xba85ce,_0x2805b1,_0x224211,_0x24433d){return _0x17ed1a(_0x224211- -_0x41084f._0x2c8f35,_0x2805b1-_0x41084f._0x34a67c,_0x224211-_0x41084f._0x55e2aa,_0x2805b1);}this[_0x5d1b72(0x513,_0x55ebd5._0x13eeb2,0x39d,_0x55ebd5._0x49dcb5)]['get'](_0xfaf40)===_0x9e2c83&&this[_0x5d1b72(_0x55ebd5._0x23e8c0,_0x55ebd5._0x5366e7,0x39d,0x1f3)]['delete'](_0xfaf40);}),_0x19a4bb;}};import{mkdir as _0x51b279,stat as _0x1d39d0}from'fs/promises';import*as _0x2031df from'path';function createFileNewTool(_0x3fddd5={}){const _0x24a39d={_0x127c54:0x23d,_0x2a8d64:0x7e,_0x5891e8:0x65,_0x1ddbcf:0x320,_0x265b09:0x1cc,_0x3ba2bb:0x7ef,_0x30cd48:0x20b,_0x12810f:0x1bd,_0xc3a902:0x7ac,_0xbf4594:0x86f,_0x4ebbc5:0x85d,_0x501bc8:0x65b,_0x4818e9:0x41d,_0x547d87:0x3fc,_0xbc1792:0x1c5,_0x55d084:0x35f,_0x4b30c9:0x39d},_0x48073a={_0x4e9814:0x2d8,_0x51ec5f:0x34d,_0x276c89:0x29f,_0x3eebf7:0x590,_0x321cf7:0x86,_0x3fe369:0x12d,_0x196a08:0x162,_0x4f466e:0x2be,_0x2d3635:0x3c1,_0x30b48a:0xe2,_0x56e08a:0x6a,_0x542e56:0x38a,_0x39bb78:0x518,_0x4c222e:0x16c,_0x4d571a:0x56,_0x4db8d8:0x360,_0x4b4d8a:0x532,_0x4d9b53:0x335,_0x401687:0x3e8,_0x1321dd:0xe,_0x579fd9:0x18,_0x46282f:0x2e,_0x2cebd8:0x3a2,_0x1c6328:0x364,_0x46a57c:0x43e,_0x568939:0x51d,_0x42df06:0x567,_0x2cb586:0x633,_0xec1b04:0x6f4,_0x3a2d0d:0x315,_0x43850c:0x52b},_0x154b0e={_0x53b6ed:0x295},_0x2e5045={_0x171a55:0x1ce,_0xa3a060:0x80},_0xd14311={_0x426d3f:0x163,_0x598147:0xc4};function _0x23c8c4(_0x39b444,_0x57e41b,_0x4520a2,_0x389d2d){return _0x16ac01(_0x39b444-_0xd14311._0x426d3f,_0x389d2d-0x160,_0x4520a2-_0xd14311._0x598147,_0x39b444);}const _0x1ce882=_0x2031df['resolve'](_0x3fddd5[_0x23c8c4(0x6e,0x21d,0x107,_0x24a39d._0x127c54)]??process[_0x23c8c4(0x5c,_0x24a39d._0x2a8d64,-0x22,_0x24a39d._0x5891e8)]());function _0x43b437(_0x358f60,_0x2eeec3,_0x5a1f0b,_0x5babad){return _0x16ac01(_0x358f60-0x82,_0x2eeec3-0x5bf,_0x5a1f0b-0x6a,_0x358f60);}const _0x1065ef=_0x3fddd5[_0x23c8c4(0x308,_0x24a39d._0x1ddbcf,0x259,_0x24a39d._0x265b09)]??[],_0x3193a1=_0x3fddd5['name']??_0x43b437(0x548,0x703,0x58a,_0x24a39d._0x3ba2bb),{observations:_0x5c7ccf,anchored:anchored=![]}=_0x3fddd5;return defineTool({'name':_0x3193a1,'permissionClass':_0x23c8c4(0x1c2,_0x24a39d._0x30cd48,_0x24a39d._0x12810f,0xd2),'description':_0x43b437(_0x24a39d._0xc3a902,_0x24a39d._0xbf4594,_0x24a39d._0x4ebbc5,_0x24a39d._0x501bc8),'inputSchema':{'type':_0x23c8c4(_0x24a39d._0x4818e9,0x283,0x210,_0x24a39d._0x547d87),'properties':{'filePath':{'type':'string'},'content':{'type':'string'}},'required':[_0x23c8c4(_0x24a39d._0xbc1792,0x273,_0x24a39d._0x55d084,_0x24a39d._0x4b30c9),'content']},async *'execute'(_0x5a8610,_0x42d088){const _0x420172=resolveAllowedPath(_0x1ce882,_0x1065ef,_0x5a8610[_0x31b8a6(0x4ea,0x522,0x364,0x487)]);function _0x31b8a6(_0x54b567,_0x348a90,_0x5c257e,_0x2079f1){return _0x43b437(_0x348a90,_0x5c257e- -0x498,_0x5c257e-_0x2e5045._0x171a55,_0x2079f1-_0x2e5045._0xa3a060);}function _0x430ad8(_0x13d0c0,_0x56e723,_0x48a0c3,_0x4b7562){return _0x43b437(_0x4b7562,_0x13d0c0- -_0x154b0e._0x53b6ed,_0x48a0c3-0x8f,_0x4b7562-0x17d);}const _0x564cdd=await _0x1d39d0(_0x420172)[_0x31b8a6(0x1c1,_0x48073a._0x4e9814,0x243,_0x48073a._0x51ec5f)](()=>void 0x0),_0x5676d3=_0x564cdd!==void 0x0,_0x39f565=Buffer[_0x430ad8(0x441,_0x48073a._0x276c89,_0x48073a._0x3eebf7,0x30b)](_0x5a8610[_0x31b8a6(_0x48073a._0x321cf7,0x358,0x1aa,0x200)],_0x31b8a6(_0x48073a._0x3fe369,0x287,_0x48073a._0x196a08,_0x48073a._0x4f466e)),_0x1212a8=_0x564cdd!==void 0x0?_0x564cdd[_0x31b8a6(_0x48073a._0x2d3635,0x28f,0x3d8,0x1d4)]&0xfff:0x1b6&~process[_0x31b8a6(_0x48073a._0x30b48a,0x258,0x233,_0x48073a._0x56e08a)]();let _0x562972;anchored&&_0x5c7ccf!==void 0x0&&(_0x562972=createNormalizedFileSnapshot(_0x420172,_0x39f565)[_0x430ad8(0x503,0x317,0x400,0x59b)]);await _0x51b279(_0x2031df[_0x430ad8(_0x48073a._0x542e56,0x490,_0x48073a._0x542e56,0x440)](_0x420172),{'recursive':!![]}),await atomicReplaceFile(_0x420172,_0x39f565,_0x1212a8);if(_0x562972!==void 0x0&&_0x5c7ccf!==void 0x0){const _0x55ba11=await resolveCanonicalAllowedFile(_0x1ce882,_0x1065ef,_0x5a8610['filePath']),_0x3505a7=createNormalizedFileSnapshot(_0x55ba11['canonicalPath'],_0x39f565);_0x5c7ccf[_0x430ad8(0x5b2,_0x48073a._0x39bb78,0x4d7,0x5ff)](_0x42d088[_0x31b8a6(-0x5b,-_0x48073a._0x4c222e,0x3a,_0x48073a._0x4d571a)]),_0x5c7ccf['record'](_0x3505a7,_0x3505a7[_0x31b8a6(0x3ff,0x507,_0x48073a._0x4db8d8,_0x48073a._0x4b4d8a)][_0x430ad8(0x1e9,_0x48073a._0x4d9b53,0x3df,_0x48073a._0x401687)]((_0x3cfb13,_0x3dd4f0)=>_0x3dd4f0+0x1));}return yield createToolOutput(_0x562972===void 0x0?_0x31b8a6(_0x48073a._0x1321dd,-_0x48073a._0x579fd9,_0x48073a._0x46282f,0x1b2)+_0x5a8610['filePath']+'.':'['+_0x5a8610[_0x31b8a6(_0x48073a._0x2cebd8,0x3b4,_0x48073a._0x1c6328,_0x48073a._0x46a57c)]+'#'+_0x562972+_0x430ad8(_0x48073a._0x568939,0x3b1,0x670,0x714)+_0x5a8610[_0x430ad8(_0x48073a._0x42df06,0x497,_0x48073a._0x2cb586,_0x48073a._0xec1b04)]+'.',{'filePath':_0x5a8610['filePath'],'resolvedPath':_0x420172,'bytes':_0x39f565[_0x31b8a6(0x389,0x289,0x223,_0x48073a._0x3a2d0d)],'lines':_0x5a8610['content']['split'](/\r?\n/)[_0x430ad8(0x426,_0x48073a._0x43850c,0x2f4,0x3e7)],'created':new Date()['toISOString'](),'overwritten':_0x5676d3,..._0x562972===void 0x0?{}:{'tag':_0x562972}}),void 0x0;}});}var FILE_OBSERVATION_LIMITS={'maxPaths':0x1e,'maxVersionsPerPath':0x4,'maxSnapshotBytes':0x40*0x400*0x400},FileObservationStore=class{['limits'];[_0x5885dd(0x3d9,0x3c8,0x4f2,0x486)];['sessionId'];['versionsByPath']=new Map();[_0x16ac01(-0xda,0x13a,0x15,0x6d)]=[];[_0x5885dd(0x1c7,0x261,0x47e,0x29d)]=0x0;[_0x16ac01(0x6f,0x58,0x74,-0x63)]=new Map();[_0x16ac01(0x47,-0x13e,-0x1aa,-0x34b)]=new Map();constructor(_0x286e49={}){const _0x545dab={_0x4b8933:0x337,_0x3adf96:0x18e,_0x3d34f1:0x4e2},_0x5b6bcd={_0x5bf7eb:0x19f,_0x3a27d1:0x7d,_0x42ce2d:0x134};function _0x98e0cd(_0x24a3d4,_0x171501,_0x5af2cf,_0xb42482){return _0x16ac01(_0x24a3d4-_0x5b6bcd._0x5bf7eb,_0xb42482- -_0x5b6bcd._0x3a27d1,_0x5af2cf-_0x5b6bcd._0x42ce2d,_0x5af2cf);}function _0x777f05(_0x31e1af,_0x45103d,_0x8b41b2,_0x54f82e){return _0x5885dd(_0x31e1af-0x130,_0x54f82e,_0x8b41b2-0x61,_0x8b41b2-0x248);}this['limits']={...FILE_OBSERVATION_LIMITS,..._0x286e49[_0x98e0cd(-0x1cb,-0x177,-_0x545dab._0x4b8933,-_0x545dab._0x3adf96)]},this[_0x98e0cd(0x17,0xde,0x17e,0x17a)]=_0x286e49[_0x777f05(_0x545dab._0x3d34f1,0x857,0x6ce,0x635)];}['bindSession'](_0x3c8a74){const _0x2d10de={_0x460805:0x4db,_0x37c2d2:0x69a};function _0x32c87f(_0x2a68de,_0x4ca12e,_0x2228e9,_0x41d33d){return _0x5885dd(_0x2a68de-0xe1,_0x2a68de,_0x2228e9-0xde,_0x2228e9-0x377);}if(this['sessionId']===_0x3c8a74)return;this['clear'](),this[_0x32c87f(_0x2d10de._0x460805,0x31d,0x519,_0x2d10de._0x37c2d2)]=_0x3c8a74;}[_0x5885dd(0x232,0x51f,0x54a,0x3ef)](_0x4b381c,_0x2360bb){const _0x27d732={_0x1b6913:0x1d,_0x188add:0x3e,_0x289ffb:0x83,_0x10d3c4:0x1fe,_0x45f147:0x137,_0x5c8358:0x57,_0x110d9a:0xbf,_0x24b199:0x1ad,_0x656357:0x29c,_0x291c82:0x17b,_0x22f073:0x387,_0x10eb1d:0xc0,_0x41a0cf:0x11f,_0x11869d:0xf4,_0x3b71a0:0x2f1,_0x27859f:0x13c,_0xde65a0:0x1cc,_0x581d9f:0x4f1,_0x41b605:0x2da,_0x37a1ea:0xc2,_0x5527b3:0x11e,_0x2cbcfd:0x33e,_0x3aad29:0x178,_0x2f801d:0x11,_0x59a328:0x16e,_0x39666f:0x129,_0x9adf97:0x49,_0x12c747:0x1a,_0x33caa9:0x398,_0x55996a:0x402,_0x114d9d:0x20f,_0xd19872:0x25e,_0xa5cd01:0x476,_0x303c69:0x30f,_0x55524e:0x1af,_0x3dbdc4:0x1f6,_0x5a1d14:0x2d7,_0x5e1d4b:0x20c,_0x2d824f:0x154,_0x369b88:0x17,_0x37b72f:0x1b3,_0xb247ec:0x2a6,_0x467bc3:0xc9,_0x64d275:0x8f,_0x1565ea:0x1a0,_0x5950d9:0x73,_0xde3ad2:0xe6,_0x1f10ed:0x1a3,_0x334996:0x15a,_0x679340:0x90,_0x51c9ff:0x75,_0x590ae3:0x348,_0x3663a3:0x135,_0x305f0d:0x355,_0x158a3d:0x210,_0x264e59:0x3c8,_0x4c789d:0x230,_0x2d6921:0x10,_0x995065:0x1c3,_0xba88a7:0xba,_0x2e5901:0x290,_0x58a5a3:0x1b,_0x5c3d98:0x319,_0x1e32a3:0x377,_0x40bbe0:0x1cb,_0x3668a4:0x1f6,_0x50a794:0x2fa,_0x3d7771:0x32c,_0x1fd854:0x1d0,_0x3f2681:0x62,_0x1a791a:0x208,_0xe2457:0x46,_0xcb6abb:0x9a,_0x30e172:0x328,_0x494cee:0x1af,_0x1a76c8:0x18a,_0x923ac6:0x21d,_0x8c4917:0xb1,_0x36cb07:0x146,_0xcf0201:0x77,_0x2f200a:0x202,_0x7caa:0x2fc,_0x3e96bb:0xfb,_0x5accaa:0x58,_0x54f1b0:0xc6,_0x312766:0x175},_0x556edb={_0x271c8a:0x1a1},_0x44d5c4={_0xc2e23:0xd1,_0x32dcba:0x318};if(_0x4b381c[_0x358d5b(0x29b,-0x39,_0x27d732._0x1b6913,0x1cc)]>this[_0x358d5b(0xc0,-_0x27d732._0x188add,-_0x27d732._0x289ffb,0x90)][_0x358d5b(_0x27d732._0x10d3c4,_0x27d732._0x45f147,-_0x27d732._0x5c8358,_0x27d732._0x110d9a)])throw createAnchoredFileError(_0x358d5b(0x10a,0x426,_0x27d732._0x24b199,_0x27d732._0x656357),_0x358d5b(_0x27d732._0x291c82,0x320,0x41e,_0x27d732._0x22f073)+_0x4b381c[_0x358d5b(0x241,_0x27d732._0x10eb1d,0x4b,0x1f6)]+_0x358d5b(0x154,0xa9,-_0x27d732._0x41a0cf,_0x27d732._0x11869d)+_0x4b381c[_0x358d5b(0x2c5,_0x27d732._0x3b71a0,_0x27d732._0x27859f,_0x27d732._0xde65a0)]+_0x358d5b(0x16f,_0x27d732._0x581d9f,_0x27d732._0x41b605,0x320)+this[_0x358d5b(-_0x27d732._0x37a1ea,0x1e9,_0x27d732._0x5527b3,0x90)][_0x358d5b(-0xb0,0x192,0x18f,0xbf)]+_0x358d5b(0x150,_0x27d732._0x2cbcfd,0x2d5,_0x27d732._0x3aad29),{'path':_0x4b381c[_0x358d5b(_0x27d732._0x2f801d,0x4e,0x41,0x1f6)],'size':_0x4b381c['utf8Bytes']});const _0x4010a1=this[_0x590af6(_0x27d732._0x59a328,_0x27d732._0x39666f,-_0x27d732._0x9adf97,_0x27d732._0x12c747)]?this[_0x358d5b(0x56e,0x3f8,0x348,_0x27d732._0x33caa9)](_0x4b381c[_0x358d5b(0x329,_0x27d732._0x55996a,0x8d,_0x27d732._0x114d9d)]):_0x4b381c['tag'],_0x2ae86f=this[_0x358d5b(0x2a7,0x1eb,_0x27d732._0xd19872,0x1e5)][_0x358d5b(0x4c7,0x4b2,0x3c2,_0x27d732._0xa5cd01)](_0x4b381c[_0x358d5b(_0x27d732._0x303c69,_0x27d732._0x55524e,0x2da,_0x27d732._0x3dbdc4)]),_0xe68328=_0x2ae86f?.[_0x358d5b(_0x27d732._0x5a1d14,_0x27d732._0x5e1d4b,_0x27d732._0x2d824f,0x28c)](_0x4bb8bf=>_0x4bb8bf[_0x358d5b(0x345,0x294,0x290,0x325)][_0x590af6(-0x1b,-0x206,-0x205,0x1b3)]===_0x4b381c[_0x590af6(-0x1b,-0x193,0xd3,0x29)]);let _0x337c90;if(_0xe68328){for(const _0x3a1c27 of _0x2360bb)_0xe68328[_0x590af6(-0x175,-_0x27d732._0x369b88,0x7f,-_0x27d732._0x37b72f)][_0x358d5b(0x20d,0x131,_0x27d732._0xb247ec,_0x27d732._0x467bc3)](_0x3a1c27);_0x337c90=_0xe68328;}else{_0x337c90={'snapshot':_0x4b381c,'tag':_0x4010a1,'observedLines':new Set(_0x2360bb)};if(!_0x2ae86f)this[_0x590af6(-0x45,0x19d,-0x86,0xfa)][_0x358d5b(0x2c1,_0x27d732._0x64d275,_0x27d732._0x1565ea,0x158)](_0x4b381c[_0x590af6(-0x34,-0x16b,0x159,0xf7)],[_0x337c90]);else{if(_0x2ae86f[_0x590af6(_0x27d732._0x5950d9,-_0x27d732._0xde3ad2,_0x27d732._0x1f10ed,-0x15b)]>=this[_0x358d5b(-0x7d,-_0x27d732._0x334996,-0x79,_0x27d732._0x679340)][_0x358d5b(-_0x27d732._0x51c9ff,_0x27d732._0x590ae3,0x89,_0x27d732._0x3663a3)]){const _0x44aac8=_0x2ae86f[_0x590af6(0x1a1,_0x27d732._0x305f0d,0x316,0x253)]();if(_0x44aac8)this[_0x590af6(_0x27d732._0x158a3d,0x12c,0x2bf,_0x27d732._0x264e59)](_0x44aac8[_0x358d5b(0x1ce,0x1e1,_0x27d732._0x4c789d,0x325)][_0x358d5b(0x5b,_0x27d732._0x2d6921,0xb1,_0x27d732._0x114d9d)]);}_0x2ae86f[_0x590af6(-0x112,-0x238,0xa9,-_0x27d732._0x995065)](_0x337c90);}this[_0x590af6(-0x9c,-_0x27d732._0xba88a7,0x3f,-_0x27d732._0x2e5901)](_0x4b381c[_0x590af6(-_0x27d732._0x58a5a3,0x42,-0x24,-_0x27d732._0x45f147)],_0x4b381c[_0x358d5b(0x18,0x347,0x95,0x1cc)]);}function _0x590af6(_0x32968b,_0x57e0bd,_0x418e9e,_0x468a3d){return _0x5885dd(_0x32968b-0x16f,_0x468a3d,_0x418e9e-_0x44d5c4._0xc2e23,_0x32968b- -_0x44d5c4._0x32dcba);}this[_0x358d5b(_0x27d732._0x5c3d98,_0x27d732._0x1e32a3,0x28f,_0x27d732._0x40bbe0)](_0x4b381c[_0x358d5b(0x9b,0x2ff,0x4e,_0x27d732._0x3668a4)]);function _0x358d5b(_0x211273,_0x40c8da,_0x39ffa4,_0x31201c){return _0x16ac01(_0x211273-0x174,_0x31201c-_0x556edb._0x271c8a,_0x39ffa4-0x97,_0x211273);}while(this[_0x358d5b(0x36,0x2a4,_0x27d732._0x50a794,0x1e5)][_0x358d5b(0x41b,0x2c2,0x34b,_0x27d732._0x3d7771)]>this[_0x590af6(-0x19a,-0x1bb,-_0x27d732._0x1fd854,_0x27d732._0x3f2681)][_0x358d5b(_0x27d732._0x1a791a,0x2fa,_0x27d732._0xe2457,0x12a)]){this['evictLeastRecentlyUsedPath']();}while(this[_0x358d5b(_0x27d732._0xcb6abb,_0x27d732._0x30e172,0x2d6,_0x27d732._0x494cee)]>this[_0x590af6(-0x19a,-_0x27d732._0x1a76c8,-0x26c,-_0x27d732._0x923ac6)][_0x358d5b(0xd8,0x2ca,-0x7a,_0x27d732._0x110d9a)]&&this[_0x590af6(_0x27d732._0x8c4917,0x3b,0x12f,-_0x27d732._0x36cb07)][_0x590af6(0x73,-_0x27d732._0xcf0201,0x253,0x16d)]>0x1){this[_0x358d5b(0x4f2,_0x27d732._0x2f200a,_0x27d732._0x7caa,0x2fe)]();}return{'snapshot':_0x337c90[_0x590af6(_0x27d732._0x3e96bb,-_0x27d732._0x5accaa,-0x10c,_0x27d732._0x54f1b0)],'observedLines':new Set(_0x337c90[_0x590af6(-_0x27d732._0x312766,-0x15,-0xaa,-0x162)])};}[_0x5885dd(0x5e2,0x481,0x4f6,0x4fa)](_0x3291bf,_0x254b1e){const _0x57fc7d={_0x4bd6b5:0x206,_0x496024:0x160,_0x10d017:0x34e,_0x266c7c:0x44b,_0x1c966d:0x7e1,_0x402c2c:0x5df,_0x59f586:0x4e5,_0x1b631d:0x4f9,_0x4dd1e2:0x578,_0x2ac40a:0x26e,_0x429d57:0x31e,_0x14622f:0x323,_0x207ccd:0x46f,_0x5db402:0x27e,_0x41393a:0x35d,_0x58ca89:0x433,_0x1bcbd4:0x282,_0x53f08f:0x3b9,_0x3dbdb0:0x432,_0xa4c72d:0x574,_0x80a4b8:0x370,_0x454a7b:0x5e7,_0x105859:0x19b,_0x42ed2d:0x545,_0x864866:0x406,_0x5198b9:0x60,_0x5c6d9e:0xc5,_0x560fa2:0x375,_0xe3b95c:0x2be,_0x369937:0x484,_0x2724c2:0x361,_0x1e5ded:0x5bd,_0xb3b554:0x4bb,_0x49d6b9:0x575,_0x2fdec2:0x146},_0x4d9106={_0x4172d7:0x15d,_0x2f5354:0x7b};function _0x19cfae(_0x1d3112,_0x4cadea,_0x11a75d,_0x1975c4){return _0x16ac01(_0x1d3112-0x1e,_0x11a75d-0x337,_0x11a75d-0x7f,_0x1d3112);}const _0x34bb75=this[_0x1328e7(0x4a7,_0x57fc7d._0x4bd6b5,_0x57fc7d._0x496024,_0x57fc7d._0x10d017)][_0x1328e7(_0x57fc7d._0x266c7c,0x751,_0x57fc7d._0x1c966d,_0x57fc7d._0x402c2c)](_0x3291bf);if(!_0x34bb75)throw createAnchoredFileError(_0x1328e7(0x2a9,0x3a6,0x4ad,0x405),_0x19cfae(0x32c,_0x57fc7d._0x59f586,_0x57fc7d._0x1b631d,_0x57fc7d._0x4dd1e2)+_0x254b1e+'\x20is\x20unknown\x20for\x20'+_0x3291bf+_0x19cfae(0x335,_0x57fc7d._0x2ac40a,_0x57fc7d._0x429d57,_0x57fc7d._0x14622f),{'path':_0x3291bf,'tag':_0x254b1e});function _0x1328e7(_0xf7fcf,_0x47919d,_0x590118,_0x3a0c0a){return _0x5885dd(_0xf7fcf-_0x4d9106._0x4172d7,_0x47919d,_0x590118-0x1ae,_0x3a0c0a-_0x4d9106._0x2f5354);}const _0x398372=_0x34bb75[_0x19cfae(0x7b,_0x57fc7d._0x207ccd,_0x57fc7d._0x5db402,_0x57fc7d._0x41393a)](_0x36eeb4=>_0x36eeb4[_0x1328e7(0x69c,0x3ac,0x609,0x4e3)]===_0x254b1e);if(_0x398372[_0x19cfae(0x30e,0x365,_0x57fc7d._0x58ca89,_0x57fc7d._0x1bcbd4)]===0x0)throw createAnchoredFileError(_0x19cfae(0x3c4,_0x57fc7d._0x53f08f,_0x57fc7d._0x3dbdb0,_0x57fc7d._0xa4c72d),_0x19cfae(_0x57fc7d._0x80a4b8,_0x57fc7d._0x454a7b,0x4f9,0x351)+_0x254b1e+'\x20is\x20unknown\x20for\x20'+_0x3291bf+_0x1328e7(_0x57fc7d._0x105859,0x3c4,0x283,0x2f1),{'path':_0x3291bf,'tag':_0x254b1e});if(_0x398372[_0x1328e7(0x5ea,_0x57fc7d._0x42ed2d,0x527,_0x57fc7d._0x864866)]>0x1)throw createAnchoredFileError(_0x1328e7(_0x57fc7d._0x5198b9,0x3e1,_0x57fc7d._0x5c6d9e,0x240),'Snapshot\x20tag\x20'+_0x254b1e+_0x19cfae(_0x57fc7d._0x560fa2,0x267,_0x57fc7d._0xe3b95c,0x233)+_0x3291bf+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x3291bf,'tag':_0x254b1e});return this[_0x19cfae(0x4e0,_0x57fc7d._0x369937,_0x57fc7d._0x2724c2,0x237)](_0x3291bf),{'snapshot':_0x398372[0x0][_0x19cfae(0x63f,_0x57fc7d._0x1e5ded,_0x57fc7d._0xb3b554,_0x57fc7d._0x49d6b9)],'observedLines':new Set(_0x398372[0x0][_0x19cfae(0x190,_0x57fc7d._0x2fdec2,0x24b,0x177)])};}[_0x16ac01(-0x262,-0xaa,-0x28c,0xa5)](_0x2f2910,_0x382154){const _0x5dbbb={_0x4b1037:0x192,_0x93a09c:0x37f},_0x122ec6={_0x834d41:0x17d,_0x31796c:0x249},_0x1b00a8={_0x88ba68:0xb8,_0x50a374:0x128},_0x4e80e4=_0x2f2910+'\x00'+_0x382154,_0x23fd2d=(this[_0x205ecf(-0x1f6,-0x66,-_0x5dbbb._0x4b1037,-0x37f)]['get'](_0x4e80e4)??0x0)+0x1;function _0x205ecf(_0x2b8d5,_0xf58c3e,_0x3850bd,_0x3ea7f5){return _0x16ac01(_0x2b8d5-0x191,_0x2b8d5- -_0x1b00a8._0x88ba68,_0x3850bd-_0x1b00a8._0x50a374,_0x3850bd);}function _0x38650f(_0x26cec7,_0x3c8bd9,_0x56e130,_0x3f40b9){return _0x5885dd(_0x26cec7-_0x122ec6._0x834d41,_0x26cec7,_0x56e130-0x1bb,_0x56e130- -_0x122ec6._0x31796c);}return this[_0x205ecf(-0x1f6,-0x2a7,-_0x5dbbb._0x93a09c,-0x69)]['set'](_0x4e80e4,_0x23fd2d),_0x23fd2d;}[_0x5885dd(0x3fa,0x369,0x674,0x4e2)](_0x404a90){const _0x6a5c3b={_0x20ff6d:0xa3,_0x4af901:0x29f,_0x56c7ff:0x32b,_0x54ee76:0x3da,_0x13a953:0x496,_0x476dfe:0x583,_0x27f258:0x383,_0x138713:0x60,_0x44b003:0xf6,_0x24b077:0x311,_0x4e33a0:0x1c7},_0x4a2e5d={_0x3753a0:0xd2},_0x4aa231={_0x18be3a:0x1ce,_0x41bad5:0x14e},_0x5ec281=_0x404a90+'\x00';function _0x4d1bd5(_0x4d738c,_0x487799,_0x36d720,_0x5a7670){return _0x5885dd(_0x4d738c-_0x4aa231._0x18be3a,_0x4d738c,_0x36d720-0xbb,_0x487799-_0x4aa231._0x41bad5);}function _0x22dd5e(_0x4fff81,_0x1039c7,_0x3aa2d3,_0x1fbdb0){return _0x5885dd(_0x4fff81-0xe3,_0x3aa2d3,_0x3aa2d3-0x16c,_0x1fbdb0- -_0x4a2e5d._0x3753a0);}for(const _0x526814 of[...this[_0x4d1bd5(_0x6a5c3b._0x20ff6d,_0x6a5c3b._0x4af901,_0x6a5c3b._0x56c7ff,_0x6a5c3b._0x54ee76)][_0x22dd5e(0x388,_0x6a5c3b._0x13a953,_0x6a5c3b._0x476dfe,_0x6a5c3b._0x27f258)]()]){if(_0x526814[_0x22dd5e(0x2b7,_0x6a5c3b._0x138713,0x256,_0x6a5c3b._0x44b003)](_0x5ec281))this['noChangeCounters'][_0x22dd5e(0x23f,_0x6a5c3b._0x24b077,_0x6a5c3b._0x4e33a0,0x160)](_0x526814);}}[_0x5885dd(0x2c1,0x460,0x319,0x2ee)](){const _0x2d2847={_0x1db28a:0x2ab,_0x1631c4:0x241,_0x4a7d7d:0x138,_0x521a5e:0x20f,_0x32dc4c:0x7e,_0x553cd0:0x134,_0x338e88:0xdb},_0x57cceb={_0x104a69:0x1c2},_0x550fbc={_0x153c2e:0x6c};this['versionsByPath'][_0x5119e6(_0x2d2847._0x1db28a,-0xdd,0x10b,0xdb)](),this[_0x589764(0x3bb,_0x2d2847._0x1631c4,0x38f,0x53f)]=[],this['totalBytes']=0x0;function _0x5119e6(_0x9f2162,_0x56f099,_0x103b88,_0x32a82e){return _0x16ac01(_0x9f2162-_0x550fbc._0x153c2e,_0x32a82e-0x7c,_0x103b88-0x145,_0x9f2162);}function _0x589764(_0x48c973,_0xd638b8,_0x312b35,_0x1c5515){return _0x16ac01(_0x48c973-0xbb,_0x312b35-0x255,_0x312b35-_0x57cceb._0x104a69,_0x1c5515);}this[_0x5119e6(_0x2d2847._0x4a7d7d,_0x2d2847._0x521a5e,0x2a6,0xd4)][_0x5119e6(0x124,-_0x2d2847._0x32dc4c,_0x2d2847._0x553cd0,_0x2d2847._0x338e88)](),this[_0x589764(0x16f,0x31a,0x117,-0x88)]['clear']();}[_0x16ac01(0x17,0x2a,-0x131,-0xa2)](_0x4d0bf3){const _0x1eb06d={_0x55aa84:0x3c5,_0xb33065:0x1ab,_0x3f1dca:0x3c0,_0x3b8b03:0x286,_0x7a02e3:0x53,_0x2bf13b:0x1c5,_0x5327c4:0x194,_0x3fa210:0x215},_0x5ef24a={_0x27add5:0x109,_0x20a2f4:0x8b},_0x3cd44a={_0x673ad5:0x183};function _0x33c691(_0xa7624b,_0x1e0723,_0x4ac1d6,_0x34ef80){return _0x16ac01(_0xa7624b-_0x3cd44a._0x673ad5,_0x34ef80-0x42f,_0x4ac1d6-0x5,_0x1e0723);}const _0x1d436e=this['recency']['indexOf'](_0x4d0bf3);function _0x4242aa(_0x2bef7d,_0x37a6e5,_0x245ced,_0x2ecb0a){return _0x16ac01(_0x2bef7d-_0x5ef24a._0x27add5,_0x245ced-_0x5ef24a._0x20a2f4,_0x245ced-0x106,_0x37a6e5);}if(_0x1d436e!==-0x1)this[_0x4242aa(_0x1eb06d._0x55aa84,_0x1eb06d._0xb33065,0x1c5,_0x1eb06d._0x3f1dca)][_0x4242aa(0x55,_0x1eb06d._0x3b8b03,0x256,0x34a)](_0x1d436e,0x1);this[_0x4242aa(_0x1eb06d._0x7a02e3,0x2d8,_0x1eb06d._0x2bf13b,_0x1eb06d._0x5327c4)][_0x4242aa(-0x2d,0x17e,0x2,-_0x1eb06d._0x3fa210)](_0x4d0bf3);}[_0x16ac01(0x336,0x15d,0x330,0x13e)](){const _0x518fba={_0x5a127c:0x61,_0x1e0c25:0x83,_0x46535e:0xf3,_0x4b03ff:0x459,_0x1c14ff:0x30a,_0x57b86f:0x129,_0x38ff49:0x1b,_0x300dde:0xa9,_0x487c71:0x170,_0x1d0caa:0x132,_0x372c96:0x77,_0x10f557:0x261,_0x3a0333:0x66,_0x4c8d3e:0x1f2,_0x2843a5:0x1e2,_0x644df2:0x15b,_0xb4b67b:0x100,_0x4a2671:0x307,_0x5cb3d8:0x85,_0x3d6203:0x45},_0xfe62cb={_0x57e9be:0x91},_0x5867d7={_0x43f834:0x346},_0x2422c9=this[_0x20de61(-0x18e,-_0x518fba._0x5a127c,-0x9a,_0x518fba._0x1e0c25)][_0x20de61(0x16f,0x2b0,_0x518fba._0x46535e,0x173)]();function _0x20de61(_0x17455c,_0x262d2f,_0x632f45,_0x13e628){return _0x5885dd(_0x17455c-0x11c,_0x17455c,_0x632f45-0x78,_0x13e628- -_0x5867d7._0x43f834);}if(_0x2422c9===void 0x0)return;const _0x4e5bf8=this['versionsByPath'][_0x11724f(_0x518fba._0x4b03ff,0x2ac,_0x518fba._0x1c14ff,0x4be)](_0x2422c9);function _0x11724f(_0x5db4b8,_0x3e0f3f,_0x4928d2,_0x35eefd){return _0x5885dd(_0x5db4b8-_0xfe62cb._0x57e9be,_0x4928d2,_0x4928d2-0x2,_0x3e0f3f- -0x2b8);}this[_0x11724f(-_0x518fba._0x57b86f,_0x518fba._0x38ff49,_0x518fba._0x300dde,-_0x518fba._0x487c71)][_0x11724f(_0x518fba._0x1d0caa,-0x86,-0x245,-_0x518fba._0x372c96)](_0x2422c9);if(_0x4e5bf8){for(const _0xabf49 of _0x4e5bf8)this[_0x20de61(_0x518fba._0x10f557,_0x518fba._0x3a0333,_0x518fba._0x4c8d3e,_0x518fba._0x2843a5)](_0xabf49[_0x11724f(-0x33,_0x518fba._0x644df2,_0x518fba._0xb4b67b,_0x518fba._0x4a2671)][_0x11724f(_0x518fba._0x5cb3d8,_0x518fba._0x3d6203,-0x87,0x256)]);}}[_0x16ac01(-0x10a,-0x13,0x157,0x151)](_0x332ff9,_0x464159){const _0x455189={_0x18ac47:0x2cc,_0x249d2c:0x289},_0x4fa1f2={_0x4251f2:0x29b};function _0x40cfb6(_0x87f425,_0x4b4f17,_0x5619b0,_0x5b3dbc){return _0x16ac01(_0x87f425-0x30,_0x87f425-_0x4fa1f2._0x4251f2,_0x5619b0-0x137,_0x5b3dbc);}!this['bytesByDigest'][_0x40cfb6(_0x455189._0x18ac47,_0x455189._0x249d2c,0x3df,0x4b7)](_0x332ff9)&&(this['bytesByDigest']['set'](_0x332ff9,_0x464159),this['totalBytes']+=_0x464159);}[_0x5885dd(0x547,0x60f,0x5cf,0x528)](_0x9c990e){const _0x204346={_0x39de5b:0x5b6,_0xe24d0e:0x4ec,_0x5442da:0x502,_0x156a2f:0x5d5,_0x3ca7f3:0x564,_0xa0c1b4:0x44e,_0x237042:0x40f,_0x4415c5:0x445,_0x5e1678:0x58a,_0x3cbf34:0x8a0,_0x524aca:0x915,_0x44ccb6:0x3e4,_0x2d7e99:0x62d,_0x286190:0x4ec,_0xcd285d:0x35a,_0x49228b:0x4a6},_0x45b211={_0x1ee0cd:0x138,_0x2a4a50:0x205},_0xf8f241={_0x56001a:0x15,_0xeaad5e:0x128};if(!this[_0x31f060(_0x204346._0x39de5b,0x2dd,_0x204346._0xe24d0e,_0x204346._0x5442da)]['has'](_0x9c990e))return;function _0x34ea27(_0x13426f,_0xb17198,_0x2386d8,_0x4655b6){return _0x5885dd(_0x13426f-0x157,_0x2386d8,_0x2386d8-_0xf8f241._0x56001a,_0x13426f-_0xf8f241._0xeaad5e);}function _0x31f060(_0x300f41,_0x26fb42,_0x3bb6dd,_0x5d1966){return _0x5885dd(_0x300f41-0x191,_0x300f41,_0x3bb6dd-_0x45b211._0x1ee0cd,_0x3bb6dd-_0x45b211._0x2a4a50);}const _0x171694=[...this[_0x31f060(0x5d9,0x420,0x4d8,0x6c0)][_0x31f060(_0x204346._0x156a2f,0x35f,0x410,0x41c)]()]['some'](_0x4a4974=>_0x4a4974[_0x34ea27(0x509,0x2f7,0x31a,0x409)](_0x8eb532=>_0x8eb532[_0x31f060(0x63a,0x788,0x618,0x5ee)][_0x34ea27(0x425,0x393,0x3e8,0x3c6)]===_0x9c990e));!_0x171694&&(this[_0x34ea27(0x3c5,0x483,_0x204346._0x3ca7f3,_0x204346._0xa0c1b4)]-=this[_0x34ea27(_0x204346._0x237042,_0x204346._0x4415c5,_0x204346._0x5e1678,0x403)][_0x31f060(_0x204346._0x3cbf34,_0x204346._0x524aca,0x769,0x5fa)](_0x9c990e)??0x0,this[_0x31f060(_0x204346._0x44ccb6,_0x204346._0x2d7e99,_0x204346._0x286190,0x6fd)][_0x34ea27(_0x204346._0xcd285d,0x17c,_0x204346._0x49228b,0x2ec)](_0x9c990e));}};import{readFile as _0x552d9b,stat as _0x5557ff}from'fs/promises';import*as _0xb20315 from'path';function stripUtfBom(_0x3ee54f){const _0x575dd8={_0x36959b:0x2fd,_0x21e904:0x1a1},_0x224d66={_0x2c2aba:0xf6,_0x317882:0x114},_0x4d5851={_0x4f2e30:0x23,_0x4c2d34:0x17};function _0x366584(_0x979d7c,_0x807011,_0x1d594a,_0x114112){return _0x16ac01(_0x979d7c-_0x4d5851._0x4f2e30,_0x114112-0x236,_0x1d594a-_0x4d5851._0x4c2d34,_0x807011);}function _0x2b784d(_0xaf451e,_0x191bd6,_0x9ae3ec,_0xb92230){return _0x16ac01(_0xaf451e-0x1da,_0x191bd6-_0x224d66._0x2c2aba,_0x9ae3ec-_0x224d66._0x317882,_0xaf451e);}return _0x3ee54f[_0x2b784d(_0x575dd8._0x36959b,0x37a,0x50e,0x533)](0x0)===0xfeff?_0x3ee54f[_0x366584(_0x575dd8._0x21e904,0x5c,0x112,0x138)](0x1):_0x3ee54f;}function clampLine2(_0x4b95ad,_0x126e89){const _0x461d24={_0xca2144:0x616,_0x17edba:0x6c2,_0x183d0b:0x731,_0x549b0c:0x774,_0x19a07d:0x363,_0xe971e1:0x482,_0x5ee29f:0x3f9},_0x14358f={_0x1ba2e2:0x57,_0x58ab17:0x390},_0x5ed9cc={_0x36bccf:0x41,_0x98bfc8:0xd5};function _0x5f226b(_0x16d310,_0x2d6dfe,_0x3b234c,_0x35e9e1){return _0x5885dd(_0x16d310-_0x5ed9cc._0x36bccf,_0x3b234c,_0x3b234c-0x172,_0x35e9e1-_0x5ed9cc._0x98bfc8);}if(!Number[_0x5f226b(_0x461d24._0xca2144,0x4ec,_0x461d24._0x17edba,0x518)](_0x4b95ad))return 0x1;function _0x4a6083(_0x17c23a,_0x42adf3,_0x437ad4,_0x28621c){return _0x5885dd(_0x17c23a-_0x14358f._0x1ba2e2,_0x17c23a,_0x437ad4-0x1c6,_0x28621c-_0x14358f._0x58ab17);}return Math[_0x4a6083(_0x461d24._0x183d0b,_0x461d24._0x549b0c,0x5d6,0x5ad)](0x1,Math[_0x5f226b(0x474,0x3aa,_0x461d24._0x19a07d,0x299)](Math[_0x5f226b(0x589,0x320,_0x461d24._0xe971e1,_0x461d24._0x5ee29f)](_0x4b95ad),_0x126e89));}function resolveAnchoredTarget(_0x4626d7){const _0x47f72a={_0x5c4933:0x3b8,_0x3ab952:0x158,_0x51c626:0x47,_0x2e57eb:0x1b3,_0x58d121:0x1ec,_0x4093aa:0xe6,_0x58b108:0x3b1,_0x35299d:0x51,_0x57ece9:0x114,_0xe33150:0xee,_0xedce3a:0xe8,_0x58b256:0x2a1,_0x370b6b:0x229,_0x18470a:0x265,_0x3200e0:0x21f,_0x26cb68:0x115,_0x2a6b0c:0x10c,_0x529d73:0x94,_0xa8ed3f:0x251,_0x389c80:0x128,_0x2aa56d:0x174,_0x3649d6:0x3b2,_0x3570d8:0x74,_0x4e423c:0x1f9},_0x4a9e64={_0x4d90aa:0x174,_0x49c1e2:0x92},_0x77e2ba={_0x1a5578:0x89},_0x64b2b7=_0x4626d7[_0x592793(0x473,0x286,0x185,_0x47f72a._0x5c4933)]??_0x592793(_0x47f72a._0x3ab952,-_0x47f72a._0x51c626,-0x24c,_0x47f72a._0x2e57eb);if(_0x64b2b7==='exact')return void 0x0;function _0x592793(_0x4f893f,_0x4fe1db,_0x58fd16,_0x2f360){return _0x5885dd(_0x4f893f-0x82,_0x58fd16,_0x58fd16-_0x77e2ba._0x1a5578,_0x4fe1db- -0x2ba);}if(_0x4626d7['observations']===void 0x0)throw new Error((_0x4626d7[_0x592793(0x1b3,_0x47f72a._0x58d121,_0x47f72a._0x4093aa,_0x47f72a._0x58b108)]??_0x592793(_0x47f72a._0x35299d,_0x47f72a._0x57ece9,-_0x47f72a._0xe33150,_0x47f72a._0xedce3a))+_0x592793(_0x47f72a._0x58b256,0x2ab,_0x47f72a._0x370b6b,_0x47f72a._0x18470a));if(_0x4626d7[_0x592793(_0x47f72a._0x3200e0,_0x47f72a._0x26cb68,0x268,_0x47f72a._0x2a6b0c)]===void 0x0)throw new Error((_0x4626d7[_0x592793(0x98,_0x47f72a._0x58d121,0x1f0,_0x47f72a._0x529d73)]??_0x592793(_0x47f72a._0xa8ed3f,0x114,0x214,-0xc3))+'\x20anchored\x20mode\x20requires\x20injected\x20outputBudgetBytes.');function _0x1f5a8d(_0x4e0413,_0x286594,_0x4dca81,_0x1d8d8e){return _0x16ac01(_0x4e0413-_0x4a9e64._0x4d90aa,_0x286594- -0xe4,_0x4dca81-_0x4a9e64._0x49c1e2,_0x4dca81);}return{'mode':_0x64b2b7,'observations':_0x4626d7[_0x592793(_0x47f72a._0x389c80,0x1a4,_0x47f72a._0x2aa56d,_0x47f72a._0x3649d6)],'outputBudgetBytes':_0x4626d7[_0x592793(-_0x47f72a._0x3570d8,0x115,0x176,_0x47f72a._0x4e423c)]};}function isErrnoException(_0x2c7037){const _0x209afc={_0x136b5f:0x297,_0xa730a7:0x300,_0x42f53c:0x1ee,_0x313916:0x366},_0x53912c={_0x190a6a:0x185,_0x5d1a1e:0xf},_0x27cf12={_0x9a9ac0:0x1b0,_0x2b3e49:0x10a};function _0x58fd1e(_0x541048,_0x301ee6,_0x319079,_0x201d6f){return _0x5885dd(_0x541048-_0x27cf12._0x9a9ac0,_0x319079,_0x319079-_0x27cf12._0x2b3e49,_0x201d6f- -0x180);}function _0x3985bb(_0x4de4d1,_0x5ab456,_0x59e1bb,_0x3a76f5){return _0x16ac01(_0x4de4d1-_0x53912c._0x190a6a,_0x5ab456- -0x117,_0x59e1bb-_0x53912c._0x5d1a1e,_0x59e1bb);}return _0x2c7037 instanceof Error&&'code'in _0x2c7037&&typeof _0x2c7037[_0x58fd1e(_0x209afc._0x136b5f,0x3e3,0x2eb,0x24a)]===_0x58fd1e(_0x209afc._0xa730a7,_0x209afc._0x42f53c,0x168,_0x209afc._0x313916);}function wrapAnchoredFsError(_0x1d5f4f,_0x4d19cb){const _0x2efc12={_0xa63186:0x1a6,_0x2a2a6e:0x1c2,_0x322aa1:0xbd,_0x606ece:0x1f,_0x20e2de:0x38,_0x31f2c9:0x1b1,_0x5da04a:0x4f,_0x2c222d:0x24,_0x50f19d:0x1f9,_0x1f2479:0x5,_0x3f1f07:0x20b},_0xaa292d={_0x3e1cf9:0x113},_0x447a0c={_0x563dca:0x1ba,_0xb6140b:0x1c8};function _0x2e959f(_0x4d0531,_0x14d8dd,_0x55640e,_0x48bee8){return _0x5885dd(_0x4d0531-_0x447a0c._0x563dca,_0x4d0531,_0x55640e-0x187,_0x55640e- -_0x447a0c._0xb6140b);}if(_0x1d5f4f instanceof ToolExecutionError)throw _0x1d5f4f;if(!isErrnoException(_0x1d5f4f))throw _0x1d5f4f;function _0x12f022(_0x26d1f8,_0x185172,_0xf67cd,_0x14b2fe){return _0x5885dd(_0x26d1f8-0x92,_0x185172,_0xf67cd-_0xaa292d._0x3e1cf9,_0xf67cd- -0x1bb);}throw createAnchoredFileError(_0x2e959f(0x108,_0x2efc12._0xa63186,_0x2efc12._0x2a2a6e,_0x2efc12._0x322aa1),_0x2e959f(_0x2efc12._0x606ece,-0xb6,-_0x2efc12._0x20e2de,_0x2efc12._0x31f2c9)+_0x4d19cb+_0x2e959f(-_0x2efc12._0x5da04a,_0x2efc12._0x2c222d,0xa5,0x9d)+_0x1d5f4f['message']+_0x12f022(-0xd7,-_0x2efc12._0x50f19d,_0x2efc12._0x1f2479,_0x2efc12._0x3f1f07),{'path':_0x4d19cb});}async function executeAnchoredRead(_0x5737b2,_0x361612,_0xaf35e5,_0x1a9a48,_0x1ed764,_0x2c18a5,_0x2df359){const _0x52de87={_0x485d7e:0x47b,_0x4d18b3:0x755,_0x598dc3:0xd,_0x3dc5a1:0x500,_0x53f952:0x855,_0x5999a6:0x668,_0x434899:0x586,_0x3dabe1:0x447,_0x118ceb:0x1e,_0x395353:0x1cc,_0x781a69:0x4c0,_0x364712:0x5ce,_0x4c3f10:0x42d,_0x3e2783:0x6b9,_0xc01bd1:0x4ee,_0x1dc4af:0x504,_0x151825:0x115,_0x5e5e91:0x50b,_0x309ceb:0x646,_0x290f2d:0x290,_0x20dbe4:0x56f,_0x10ffea:0x4ed,_0x196536:0x37d},_0x1861a6={_0x5c151d:0xe9,_0x49cd0c:0x57};let _0x23a5d8;function _0x10aa8f(_0x521126,_0x443eb6,_0x32e50e,_0x491214){return _0x16ac01(_0x521126-0xcd,_0x491214- -_0x1861a6._0x5c151d,_0x32e50e-_0x1861a6._0x49cd0c,_0x32e50e);}try{_0x23a5d8=await resolveCanonicalAllowedFile(_0x361612,_0xaf35e5,_0x1a9a48);}catch(_0x4a0696){wrapAnchoredFsError(_0x4a0696,_0x1a9a48);}let _0x27c1d2;try{_0x27c1d2=await _0x552d9b(_0x23a5d8[_0x56183a(0x5dd,0x4ee,_0x52de87._0x485d7e,0x6cc)]);}catch(_0x3fd676){wrapAnchoredFsError(_0x3fd676,_0x1a9a48);}const _0x42622f=createNormalizedFileSnapshot(_0x23a5d8['canonicalPath'],_0x27c1d2);function _0x56183a(_0x2238c5,_0x831e52,_0x1ab758,_0x51bc10){return _0x16ac01(_0x2238c5-0x1ac,_0x831e52-0x499,_0x1ab758-0x176,_0x2238c5);}_0x5737b2[_0x56183a(0x6f4,0x668,_0x52de87._0x4d18b3,0x514)][_0x10aa8f(-0x75,0x38f,_0x52de87._0x598dc3,0x19f)](_0x2df359);const _0x20fcce=formatAnchoredFileRead({'displayPath':_0x1a9a48,'snapshot':_0x42622f,'lineStart':_0x1ed764,'lineEnd':_0x2c18a5,'maxBytes':_0x5737b2[_0x56183a(0x574,0x5d9,_0x52de87._0x3dc5a1,0x516)]});return _0x5737b2[_0x56183a(_0x52de87._0x53f952,_0x52de87._0x5999a6,0x661,_0x52de87._0x434899)]['record'](_0x42622f,_0x20fcce[_0x56183a(0x460,_0x52de87._0x3dabe1,0x4f5,0x41f)]),createToolOutput(_0x20fcce[_0x10aa8f(0x380,-0x25,_0x52de87._0x118ceb,_0x52de87._0x395353)],{'mode':_0x5737b2['mode'],'path':_0x1a9a48,'resolvedPath':_0x23a5d8[_0x56183a(_0x52de87._0x781a69,_0x52de87._0x364712,_0x52de87._0x4c3f10,_0x52de87._0x3e2783)],'canonicalPath':_0x23a5d8[_0x56183a(0x322,_0x52de87._0xc01bd1,_0x52de87._0x1dc4af,0x5e5)],'tag':_0x42622f['tag'],'digest':_0x42622f[_0x10aa8f(-0x19c,-0x99,-_0x52de87._0x151825,-0x7b)],'displayedLines':[..._0x20fcce[_0x56183a(0x506,0x447,_0x52de87._0x5e5e91,_0x52de87._0x309ceb)]],'truncated':_0x20fcce[_0x10aa8f(-_0x52de87._0x290f2d,0x41,-0x13f,-0x187)],..._0x20fcce[_0x56183a(_0x52de87._0x20dbe4,0x4ed,0x63f,0x642)]!==void 0x0?{'nextLineStart':_0x20fcce[_0x56183a(0x365,_0x52de87._0x10ffea,0x2e4,_0x52de87._0x196536)]}:{}});}function createFileReadTool(_0x205e83={}){const _0x599eac={_0x3699e6:0x47d,_0x51bbdd:0x813,_0x3eaad6:0x7b3,_0xaec4bd:0x582,_0x108696:0x6db,_0x4645d4:0x578,_0x5d0d40:0x5dc,_0x4636a5:0x610,_0x24df66:0x4ce,_0x32526f:0x52d,_0x2c85ac:0x360,_0x5cd5ea:0x7b2,_0x14b173:0x838,_0x561fdf:0x68c,_0x2f4f90:0x591,_0x506a7b:0x4f5,_0x2efe82:0x6af,_0x14f686:0x55d,_0x4903db:0x68d,_0x21e0cc:0x5e4,_0x34324b:0x6eb,_0x4e9cc4:0x750,_0x5d74f1:0x4d4,_0x34d1af:0x39b,_0x23914c:0x7e2},_0x17fc75={_0x53391a:0x3ad,_0x56f589:0x1f2,_0x1c6e89:0x53b,_0x139707:0x244,_0x1164ad:0x16a,_0x271934:0x2d1,_0x1a78be:0x163,_0x363e70:0x2ca,_0x475b02:0xa8,_0x295583:0x2b4,_0x9e707c:0x111,_0xce518a:0x2ba,_0xdf980f:0x18c,_0x23ea37:0x195,_0x34af21:0x104,_0x45fe68:0x28d,_0x2cadb5:0x104,_0x2f4711:0x1a6,_0x4f815a:0x1a5,_0x452e3e:0x22d,_0x43c842:0x9e,_0x15a11b:0x1ef,_0x44e69a:0x202,_0x36727a:0x51,_0x3263d9:0x187,_0x4ce953:0x12c,_0x27a036:0x93,_0x16cb37:0x56,_0x4f02f9:0x4,_0x31b5f4:0x30,_0x2c6c8d:0x1c0,_0x61d41f:0x52,_0x30a67a:0x3,_0x58e2a3:0x85,_0x159c99:0xbb,_0x47a9b9:0x2f,_0x1a4c11:0xce,_0x39bad4:0xc,_0xeff908:0xc7,_0x539cdb:0x137,_0x489a0b:0xd6,_0x358557:0x33a,_0x1b35fd:0x4,_0x5ce704:0x17d,_0x9db827:0x55,_0x38d3b8:0x200,_0x44b092:0x1f6,_0xe2f37f:0x288,_0x4252b3:0x198,_0x8548d6:0x123,_0x3713dc:0x22a,_0x574bf2:0x481,_0x267e29:0x13b,_0x580367:0xd1,_0x289ad4:0x220,_0x4079c5:0x4f,_0x47410b:0x3ac},_0x1f3417={_0x4b0f48:0x2a,_0x31f002:0x1dd},_0xbf0025={_0x1072aa:0x3eb,_0x141361:0x47},_0x32f406={_0x4ec914:0x1b1,_0x31f916:0x435},_0x8bb85a={_0x328333:0x7,_0x14da0b:0x49},_0x3818e4=_0xb20315[_0x3560b0(0x659,0x95a,0x807,0x758)](_0x205e83[_0x3560b0(0x56e,0x484,0x679,_0x599eac._0x3699e6)]??process['cwd']()),_0x2b9208=_0x205e83['allowedDirs']??[];function _0x3560b0(_0x2e46a0,_0x4dc7b9,_0x5a2d61,_0x353aeb){return _0x16ac01(_0x2e46a0-_0x8bb85a._0x328333,_0x5a2d61-0x59c,_0x5a2d61-_0x8bb85a._0x14da0b,_0x4dc7b9);}const _0x448337=_0x205e83[_0x3560b0(_0x599eac._0x51bbdd,0x683,_0x599eac._0x3eaad6,0x62f)]??_0x3560b0(0x7db,_0x599eac._0xaec4bd,_0x599eac._0x108696,_0x599eac._0x4645d4);function _0x28193a(_0x3cfbec,_0x2ed82a,_0x38a476,_0x167afe){return _0x16ac01(_0x3cfbec-_0x32f406._0x4ec914,_0x3cfbec-_0x32f406._0x31f916,_0x38a476-0x1d3,_0x167afe);}const _0x46abf4=resolveAnchoredTarget(_0x205e83);return defineTool({'name':_0x448337,'permissionClass':_0x28193a(0x505,_0x599eac._0x5d0d40,_0x599eac._0x4636a5,_0x599eac._0x24df66),'description':_0x46abf4===void 0x0?_0x3560b0(0x435,_0x599eac._0x32526f,0x52c,_0x599eac._0x2c85ac):'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':_0x3560b0(0x88f,_0x599eac._0x5cd5ea,_0x599eac._0x14b173,0x95f),'properties':{'path':{'type':_0x28193a(_0x599eac._0x561fdf,_0x599eac._0x2f4f90,_0x599eac._0x506a7b,_0x599eac._0x2efe82)},'lineStart':{'type':_0x28193a(0x4a6,0x5c3,_0x599eac._0x14f686,_0x599eac._0x4903db),'description':_0x28193a(0x6b6,_0x599eac._0x21e0cc,_0x599eac._0x34324b,_0x599eac._0x4e9cc4)},'lineEnd':{'type':'number','description':_0x28193a(0x553,_0x599eac._0x5d74f1,_0x599eac._0x34d1af,0x6c4)}},'required':[_0x3560b0(_0x599eac._0x23914c,0x83b,0x798,0x6a2)]},async *'execute'(_0x38684a,_0x2f8589){const _0x2e3bbf=resolveAllowedPath(_0x3818e4,_0x2b9208,_0x38684a[_0x2c9e14(_0x17fc75._0x53391a,_0x17fc75._0x56f589,_0x17fc75._0x1c6e89,0x3b1)]);function _0x2c9e14(_0x464bbe,_0x5d08cc,_0x10f2bf,_0x587990){return _0x3560b0(_0x464bbe-0x2e,_0x587990,_0x464bbe- -_0xbf0025._0x1072aa,_0x587990-_0xbf0025._0x141361);}if(_0x46abf4===void 0x0){await assertWorkspaceFile(_0x2e3bbf);const _0x2d39e6=await _0x5557ff(_0x2e3bbf),_0x3aa0b8=await _0x552d9b(_0x2e3bbf);if(isProbablyBinary(_0x3aa0b8))throw new ToolExecutionError(_0x383c3b(-0x9c,_0x17fc75._0x139707,_0x17fc75._0x1164ad,0x3)+_0x38684a['path'],{'path':_0x38684a[_0x383c3b(_0x17fc75._0x271934,0x41,0x104,0x56)]});let _0x28ad6f=_0x3aa0b8[_0x2c9e14(_0x17fc75._0x1a78be,_0x17fc75._0x363e70,_0x17fc75._0x475b02,_0x17fc75._0x295583)](_0x2c9e14(0x1ec,0x208,_0x17fc75._0x9e707c,0x1f8));const _0x8dc12c=_0x28ad6f[_0x383c3b(_0x17fc75._0xce518a,-0x6b,_0x17fc75._0xdf980f,-0x34)](0x0)===0xfeff;_0x28ad6f=stripUtfBom(_0x28ad6f);const _0x148374=_0x28ad6f[_0x383c3b(0xee,0x4c,_0x17fc75._0x23ea37,0xee)](/\r?\n/),_0x4c284a={'path':_0x38684a[_0x383c3b(_0x17fc75._0x34af21,_0x17fc75._0x45fe68,_0x17fc75._0x2cadb5,0x1bf)],'resolvedPath':_0x2e3bbf,'created':_0x2d39e6[_0x383c3b(0x353,0x331,_0x17fc75._0x2f4711,_0x17fc75._0x4f815a)]['toISOString'](),'modified':_0x2d39e6[_0x2c9e14(_0x17fc75._0x452e3e,0x33c,0x32f,_0x17fc75._0x43c842)][_0x383c3b(-_0x17fc75._0x15a11b,-_0x17fc75._0x44e69a,-_0x17fc75._0x36727a,-_0x17fc75._0x3263d9)](),'size':_0x2d39e6[_0x383c3b(-_0x17fc75._0x4ce953,-0x94,_0x17fc75._0x27a036,-_0x17fc75._0x16cb37)],'encoding':_0x2c9e14(0x1ec,0x3d9,0x25f,0x1a3),'bomStripped':_0x8dc12c,'truncated':![],'totalLines':_0x148374[_0x383c3b(-0x4d,-0xc5,_0x17fc75._0x4f02f9,_0x17fc75._0x31b5f4)]};if(_0x38684a[_0x383c3b(-0x2f,0x26,-_0x17fc75._0x2c6c8d,-0x38f)]!==void 0x0||_0x38684a[_0x383c3b(-_0x17fc75._0x61d41f,-_0x17fc75._0x30a67a,-0x73,-_0x17fc75._0x58e2a3)]!==void 0x0){const _0x5b2a26=clampLine2(_0x38684a[_0x383c3b(-_0x17fc75._0x159c99,-0xb1,-_0x17fc75._0x2c6c8d,_0x17fc75._0x47a9b9)]??0x1,_0x148374[_0x383c3b(_0x17fc75._0x1a4c11,0x1aa,0x4,_0x17fc75._0x39bad4)]),_0x55c1ac=clampLine2(_0x38684a[_0x383c3b(-_0x17fc75._0xeff908,_0x17fc75._0x539cdb,-0x73,_0x17fc75._0x489a0b)]??_0x148374[_0x2c9e14(0x2ad,0x9b,0x9f,_0x17fc75._0x358557)],_0x148374[_0x383c3b(-0xe7,0x13d,_0x17fc75._0x1b35fd,-_0x17fc75._0x5ce704)]),_0x53fdad=Math['min'](_0x5b2a26,_0x55c1ac),_0x26a028=Math[_0x383c3b(-_0x17fc75._0x9db827,-0x28e,-0x16a,-_0x17fc75._0x38d3b8)](_0x5b2a26,_0x55c1ac),_0x7715ff=_0x148374[_0x383c3b(-0xa6,-0x195,-_0x17fc75._0x44b092,-_0x17fc75._0xe2f37f)](_0x53fdad-0x1,_0x26a028)[_0x2c9e14(0x70,-_0x17fc75._0x4252b3,0x234,-_0x17fc75._0x8548d6)]((_0x5b956f,_0x5e3442)=>_0x53fdad+_0x5e3442+'|'+_0x5b956f)[_0x2c9e14(0x3b7,_0x17fc75._0x3713dc,_0x17fc75._0x574bf2,0x4b8)]('\x0a');return yield createToolOutput(_0x7715ff,{..._0x4c284a,'lineRange':{'lineStart':_0x53fdad,'lineEnd':_0x26a028,'linesTotal':_0x148374[_0x383c3b(-_0x17fc75._0x267e29,_0x17fc75._0x2f4711,0x4,_0x17fc75._0x580367)]}}),void 0x0;}return yield createToolOutput(_0x28ad6f,_0x4c284a),void 0x0;}yield await executeAnchoredRead(_0x46abf4,_0x3818e4,_0x2b9208,_0x38684a['path'],_0x38684a[_0x383c3b(-0x12,-0x29c,-0x1c0,-_0x17fc75._0x289ad4)],_0x38684a['lineEnd'],_0x2f8589[_0x383c3b(-_0x17fc75._0x4079c5,-_0x17fc75._0xce518a,-0x1e5,-_0x17fc75._0x47410b)]);function _0x383c3b(_0x2284d0,_0xa1e794,_0x2ed0f6,_0x1d8bb7){return _0x3560b0(_0x2284d0-_0x1f3417._0x4b0f48,_0x1d8bb7,_0x2ed0f6- -0x694,_0x1d8bb7-_0x1f3417._0x31f002);}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 _0x40d802}from'crypto';import{mkdir as _0x1dc7af,readFile as _0x550ff3,writeFile as _0x3bf961}from'fs/promises';import{join as _0x3bc2d8}from'path';function sanitizeStorageKey(_0x2a5155){const _0x525ee8={_0x3e8a7a:0x672,_0x54aa18:0x914,_0x10fb1f:0x5c4};function _0x3b0e79(_0xa9187d,_0x24f80f,_0x1df09c,_0x28f0bb){return _0x5885dd(_0xa9187d-0x1cd,_0x24f80f,_0x1df09c-0x64,_0x1df09c-0x1b8);}function _0x128c5b(_0x38ea2a,_0x546f0d,_0x5e0f30,_0x3d9782){return _0x5885dd(_0x38ea2a-0x13b,_0x546f0d,_0x5e0f30-0x104,_0x5e0f30- -0x27);}return _0x2a5155['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x3b0e79(_0x525ee8._0x3e8a7a,_0x525ee8._0x54aa18,0x721,0x61f)](/^_+|_+$/g,'')||_0x3b0e79(0x49e,0x55f,_0x525ee8._0x10fb1f,0x5b0);}function storagePath(_0xc4ae3d){const _0x15ce3c={_0x502fc5:0x593,_0x387c22:0x3a1,_0x306188:0x261,_0xb9d2fe:0x5f5,_0x1254e8:0x61e,_0x261b39:0x3a7,_0x39568a:0x675},_0x1e6a5d={_0x4cee19:0x657,_0x324411:0x80},_0x47d413={_0x185d08:0xbe};function _0x3983bd(_0x19affd,_0x364c9c,_0x118305,_0x237376){return _0x5885dd(_0x19affd-0x72,_0x237376,_0x118305-_0x47d413._0x185d08,_0x19affd- -0x44);}function _0x5d25bf(_0x2ac0f6,_0x5f37b2,_0x4bc292,_0x43e8da){return _0x16ac01(_0x2ac0f6-0x60,_0x2ac0f6-_0x1e6a5d._0x4cee19,_0x4bc292-_0x1e6a5d._0x324411,_0x43e8da);}const _0x5687e6=sanitizeStorageKey(_0xc4ae3d[_0x3983bd(0x3eb,_0x15ce3c._0x502fc5,0x31e,_0x15ce3c._0x387c22)]['oauth']?.[_0x3983bd(0x35a,_0x15ce3c._0x306188,0x160,0x3f4)]??_0xc4ae3d['serverName']);return _0x3bc2d8(_0xc4ae3d[_0x5d25bf(0x642,_0x15ce3c._0xb9d2fe,_0x15ce3c._0x1254e8,0x4dd)],_0x5687e6+_0x3983bd(0x51e,_0x15ce3c._0x261b39,_0x15ce3c._0x39568a,0x617));}async function readStore(_0x38c51c){const _0x5d3720={_0x39cc92:0x59c,_0x276583:0x41f,_0x4825ec:0x52e,_0x57d84a:0x588,_0x3fe6de:0x585,_0x3d12f0:0x844,_0x35b8d8:0x62e,_0x333f2e:0x53f},_0x12f9d6={_0x3bdda9:0x9d,_0x1c50d7:0x111,_0x450178:0x264},_0x5eed29={_0x5bee40:0x15c,_0x2e59ca:0x47a};function _0x3adce8(_0x589ab5,_0xe84394,_0x595dbf,_0x540478){return _0x16ac01(_0x589ab5-_0x5eed29._0x5bee40,_0x595dbf-_0x5eed29._0x2e59ca,_0x595dbf-0x88,_0x540478);}function _0x454663(_0x528840,_0x1d74fc,_0x118cf3,_0x187e44){return _0x5885dd(_0x528840-_0x12f9d6._0x3bdda9,_0x118cf3,_0x118cf3-_0x12f9d6._0x1c50d7,_0x1d74fc-_0x12f9d6._0x450178);}try{return JSON[_0x454663(_0x5d3720._0x39cc92,0x536,_0x5d3720._0x276583,0x36a)](await _0x550ff3(_0x38c51c,_0x454663(0x641,_0x5d3720._0x4825ec,_0x5d3720._0x57d84a,0x4d3)));}catch(_0x3db699){if(_0x3db699 instanceof Error&&_0x454663(_0x5d3720._0x3fe6de,0x62e,0x5d7,_0x5d3720._0x3d12f0)in _0x3db699&&_0x3db699[_0x454663(0x5ee,_0x5d3720._0x35b8d8,_0x5d3720._0x333f2e,0x762)]==='ENOENT')return{};throw _0x3db699;}}async function writeStore(_0x17eb7d,_0x218420){const _0x5b5601={_0x4d0b9f:0x1c9,_0x497298:0x65};function _0x2b3a0c(_0x710225,_0x412536,_0x34cc3d,_0x6d5f73){return _0x16ac01(_0x710225-_0x5b5601._0x4d0b9f,_0x412536- -0xbd,_0x34cc3d-_0x5b5601._0x497298,_0x6d5f73);}await _0x1dc7af(_0x3bc2d8(_0x17eb7d,'..'),{'recursive':!![]}),await _0x3bf961(_0x17eb7d,JSON['stringify'](_0x218420,null,0x2),_0x2b3a0c(0xc3,-0x82,0x16f,-0xb7));}async function updateStore(_0x40a67e,_0x418499){const _0x647019=await readStore(_0x40a67e);_0x418499(_0x647019),await writeStore(_0x40a67e,_0x647019);}function createMcpOAuthProvider(_0x1392f9){const _0x5184eb={_0x585f42:0x2df,_0x47de4c:0x37e,_0x45b10d:0x20a,_0x11a6ef:0x622,_0x3ba7a4:0x2c8,_0x6895bd:0x414,_0x46cb65:0x1,_0x2c7627:0x58b,_0x459ee0:0x3b4,_0x246011:0x199,_0x404be8:0x45a,_0x1cc528:0x442,_0x5f2f5d:0x5e1,_0x2d2321:0x7b,_0x4b50e4:0x2b8,_0x1fe958:0x2e,_0x32dd72:0x118,_0x5186b3:0x14,_0x51dbe8:0x2dd},_0x5e1a7c={_0x254a18:0x132,_0x1a7818:0xb8},_0xd286c5={_0x2c6fc3:0x13e},_0x574769={_0x28fde2:0x3a9,_0x357cb6:0x3d0},_0x13cdc1={_0x25de4a:0x1d5,_0x13b6f6:0x2f4},_0x2ebb65={_0x1bf19a:0x114,_0x342c97:0x2ef,_0x24ee8b:0x222,_0x2f49b9:0x278},_0x34b3f6={_0x9532a1:0xc2,_0x286a6d:0x159},_0x36fe71={_0x4d4bde:0x3c7,_0x479e26:0x57c},_0x395597={_0x16d044:0x18c},_0x25ff65={_0x31c634:0x160,_0x456d8d:0x11b},_0x583669={_0x200648:0x72,_0x5f21b8:0x4a6,_0xc25448:0x3d},_0x168ada=storagePath(_0x1392f9),_0x1abc61=_0x1392f9[_0x14f8c9(0x152,0x300,0x254,0x3e3)][_0x190e1f(_0x5184eb._0x585f42,_0x5184eb._0x47de4c,_0x5184eb._0x45b10d,0x370)]?.[_0x190e1f(0x5bf,_0x5184eb._0x11a6ef,_0x5184eb._0x3ba7a4,_0x5184eb._0x6895bd)]?.['join']('\x20');function _0x190e1f(_0x55d97b,_0x3bbdb4,_0x4fed1f,_0x5cdab4){return _0x16ac01(_0x55d97b-_0x583669._0x200648,_0x5cdab4-_0x583669._0x5f21b8,_0x4fed1f-_0x583669._0xc25448,_0x3bbdb4);}const _0x1210bc={'client_name':_0x14f8c9(0x45,0x77,_0x5184eb._0x46cb65,0x176),'redirect_uris':[_0x1392f9['callbackUrl']],'grant_types':[_0x14f8c9(_0x5184eb._0x2c7627,0x405,0x301,_0x5184eb._0x459ee0),_0x14f8c9(0x3d5,0x233,0x126,_0x5184eb._0x246011)],'response_types':[_0x190e1f(_0x5184eb._0x404be8,0x4f3,_0x5184eb._0x1cc528,_0x5184eb._0x5f2f5d)],'token_endpoint_auth_method':_0x14f8c9(-_0x5184eb._0x2d2321,0x28,0x102,0x34),..._0x1abc61?{'scope':_0x1abc61}:{}};function _0x14f8c9(_0x4fa394,_0xbb27c4,_0x3665fc,_0x19b836){return _0x16ac01(_0x4fa394-0x142,_0xbb27c4-_0x25ff65._0x31c634,_0x3665fc-_0x25ff65._0x456d8d,_0x4fa394);}return{'clientMetadataUrl':_0x1392f9['config'][_0x190e1f(0x275,_0x5184eb._0x4b50e4,0x459,0x370)]?.[_0x14f8c9(_0x5184eb._0x1fe958,_0x5184eb._0x32dd72,-_0x5184eb._0x5186b3,_0x5184eb._0x51dbe8)],get 'redirectUrl'(){return _0x1392f9['callbackUrl'];},get 'clientMetadata'(){return _0x1210bc;},async 'state'(){const _0x2ac81e={_0x3b22e9:0x62,_0x5b507a:0xc},_0x53670a=await readStore(_0x168ada);if(_0x53670a[_0x5baa75(-0x224,-_0x2ebb65._0x1bf19a,-0x1a5,-0x303)])return _0x53670a[_0x5baa75(-_0x2ebb65._0x342c97,-_0x2ebb65._0x24ee8b,-0x1a5,-_0x2ebb65._0x2f49b9)];function _0x2eeb3b(_0x5093e6,_0x53a4b9,_0x25f13e,_0x536120){return _0x190e1f(_0x5093e6-0x1f2,_0x25f13e,_0x25f13e-_0x395597._0x16d044,_0x5093e6- -0x461);}const _0x344173=_0x40d802();await updateStore(_0x168ada,_0x152b5c=>{function _0x2f445c(_0x88a80f,_0x423263,_0x33fa1e,_0xf04554){return _0x5baa75(_0x88a80f-_0x2ac81e._0x3b22e9,_0x423263-_0x2ac81e._0x5b507a,_0x33fa1e-0x56c,_0x88a80f);}_0x152b5c[_0x2f445c(0x4de,0x25c,_0x36fe71._0x4d4bde,_0x36fe71._0x479e26)]=_0x344173;});function _0x5baa75(_0xf2bb5b,_0x26b6ed,_0x4a35be,_0x20bddc){return _0x14f8c9(_0x20bddc,_0x4a35be- -0x254,_0x4a35be-_0x34b3f6._0x9532a1,_0x20bddc-_0x34b3f6._0x286a6d);}return _0x344173;},async 'clientInformation'(){return(await readStore(_0x168ada))['clientInformation'];},async 'saveClientInformation'(_0x4ea72d){const _0x5ae67b={_0x531b0d:0xba,_0x639b05:0xde};await updateStore(_0x168ada,_0x3ffc5d=>{function _0x46a5a0(_0x30089b,_0x1bcf84,_0x26d55e,_0x36997b){return _0xa933(_0x30089b- -0x2e0,_0x36997b);}_0x3ffc5d[_0x46a5a0(_0x5ae67b._0x531b0d,_0x5ae67b._0x639b05,0xf3,0x1e2)]=_0x4ea72d;});},async 'tokens'(){const _0x20bdaf={_0x3c5e7f:0x198,_0x3b6354:0x104};function _0x53ab03(_0x2e4ca1,_0x500eb2,_0x5abfd9,_0x514bce){return _0x14f8c9(_0x5abfd9,_0x2e4ca1-_0x20bdaf._0x3c5e7f,_0x5abfd9-0x14c,_0x514bce-_0x20bdaf._0x3b6354);}return(await readStore(_0x168ada))[_0x53ab03(_0x13cdc1._0x25de4a,0x217,_0x13cdc1._0x13b6f6,0x2f8)];},async 'saveTokens'(_0x3798df){const _0x494037={_0x23e15c:0x106},_0xbc216b={_0x44ebe2:0xa3};await updateStore(_0x168ada,_0x4e003d=>{function _0x310a6d(_0x31a473,_0xbc1aac,_0x26cfa1,_0x553a2c){return _0xa933(_0x26cfa1-_0xbc216b._0x44ebe2,_0x553a2c);}_0x4e003d[_0x310a6d(0x369,0x3f,0x233,_0x494037._0x23e15c)]=_0x3798df;});},async 'redirectToAuthorization'(_0xceb470){await _0x1392f9['onRedirect'](_0xceb470);},async 'saveCodeVerifier'(_0x555c38){await updateStore(_0x168ada,_0x3276d8=>{const _0xe69fb0={_0x8abf3e:0x3c4};function _0x15eb5e(_0x431e6e,_0x12f391,_0x595e7f,_0x4d1084){return _0xa933(_0x4d1084- -_0xe69fb0._0x8abf3e,_0x12f391);}_0x3276d8[_0x15eb5e(-_0x574769._0x28fde2,-_0x574769._0x357cb6,-0x1f8,-0x22f)]=_0x555c38;});},async 'codeVerifier'(){const _0x22d8fd={_0x511302:0x75},_0x5ba72a=(await readStore(_0x168ada))[_0x1f89d3(_0xd286c5._0x2c6fc3,0x272,0xd9,0xdf)];if(!_0x5ba72a)throw new Error('No\x20MCP\x20OAuth\x20code\x20verifier\x20saved');function _0x1f89d3(_0x500d4f,_0x106e6e,_0x135dba,_0x48b932){return _0x14f8c9(_0x135dba,_0x500d4f-0xfc,_0x135dba-_0x22d8fd._0x511302,_0x48b932-0x1e9);}return _0x5ba72a;},async 'invalidateCredentials'(_0x31e06d){const _0x2a9671={_0xc69967:0x160,_0x387b1a:0x49a,_0x28c2ba:0xad,_0x3ea3e0:0x390,_0x35514c:0x5e9,_0x41e79b:0xa5,_0x426b68:0x34,_0x387160:0x5e6,_0x33e1c3:0x4a3,_0x1e9794:0xf,_0x28267f:0x7f,_0x461177:0xda,_0x4b8ebd:0x85,_0x3f1fbf:0x105,_0x132622:0x1cb,_0x3ac1eb:0x101,_0x45f869:0x108,_0x4f6c75:0x3e,_0x52fb79:0x16a,_0x3f146e:0xa1};await updateStore(_0x168ada,_0x10f604=>{const _0x4288c1={_0x9c374e:0x396};function _0x5dd11c(_0x28b0be,_0x3def12,_0x132bd5,_0x551a87){return _0xa933(_0x28b0be- -0x211,_0x132bd5);}(_0x31e06d===_0x5dd11c(0x7f,0x4b,_0x2a9671._0xc69967,0x6e)||_0x31e06d===_0x2a2652(0x37f,0x50c,0x631,_0x2a9671._0x387b1a))&&(_0x10f604[_0x5dd11c(0x189,_0x2a9671._0x28c2ba,_0x2a9671._0x3ea3e0,0x33f)]=void 0x0);function _0x2a2652(_0x5696b2,_0x16f550,_0x3d4361,_0x1541ce){return _0xa933(_0x16f550-_0x4288c1._0x9c374e,_0x3d4361);}(_0x31e06d===_0x2a2652(_0x2a9671._0x35514c,0x626,0x584,0x56d)||_0x31e06d==='tokens')&&(_0x10f604[_0x5dd11c(-0x81,0x11a,-0x1a9,0x172)]=void 0x0),(_0x31e06d===_0x5dd11c(0x7f,-0x18d,_0x2a9671._0x41e79b,_0x2a9671._0x426b68)||_0x31e06d===_0x2a2652(0x767,0x69b,_0x2a9671._0x387160,_0x2a9671._0x33e1c3))&&(_0x10f604['codeVerifier']=void 0x0,_0x10f604[_0x5dd11c(-_0x2a9671._0x1e9794,0xcb,-0xce,-0xd9)]=void 0x0),(_0x31e06d===_0x5dd11c(_0x2a9671._0x28267f,0xa9,_0x2a9671._0x461177,-_0x2a9671._0x4b8ebd)||_0x31e06d===_0x5dd11c(0x282,_0x2a9671._0x3f1fbf,_0x2a9671._0x132622,_0x2a9671._0x3ac1eb))&&(_0x10f604[_0x5dd11c(_0x2a9671._0x45f869,-_0x2a9671._0x4f6c75,_0x2a9671._0x52fb79,_0x2a9671._0x3f146e)]=void 0x0);});},async 'saveDiscoveryState'(_0x726c1e){const _0x156722={_0x4420a3:0x1e7};await updateStore(_0x168ada,_0x358b7a=>{function _0x375ad5(_0x3c1922,_0x3d1c01,_0x251b94,_0x507cd2){return _0xa933(_0x3d1c01- -_0x156722._0x4420a3,_0x507cd2);}_0x358b7a[_0x375ad5(-0xa7,_0x5e1a7c._0x254a18,-_0x5e1a7c._0x1a7818,0x13d)]=_0x726c1e;});},async 'discoveryState'(){return(await readStore(_0x168ada))['discoveryState'];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x16ac01(0x4,0x6a,-0xd6,0x20c),'message':_0x159538=>'MCP\x20server\x20'+_0x159538+_0x5885dd(0x660,0x595,0x34f,0x545)},'connect':{'code':_0x5885dd(0x1ee,0x490,0x3cb,0x405),'message':_0x5709ea=>_0x16ac01(0x225,0x14b,0x1ae,0x1b)+_0x5709ea+_0x5885dd(0x20a,0x33a,0x1de,0x323)},'discover':{'code':'mcp-discovery-failed','message':_0x2d9df4=>'MCP\x20server\x20'+_0x2d9df4+_0x5885dd(0x437,0x209,0x280,0x419)},'toolCall':{'code':_0x16ac01(0xe3,0xc0,0x22,0x17c),'message':_0x38abb9=>_0x5885dd(0x4c1,0x3b3,0x1e1,0x3da)+_0x38abb9+_0x16ac01(0x188,0x14,0x8f,0x203)}},timeoutMessageByOperation={'close':_0x27491d=>_0x5885dd(0x53f,0x416,0x449,0x3da)+_0x27491d+'\x20close\x20timed\x20out','connect':_0x2b4696=>_0x5885dd(0x244,0x58f,0x39a,0x3da)+_0x2b4696+'\x20connection\x20timed\x20out','discover':_0x45940a=>_0x16ac01(0x8b,0x14b,0xb0,-0xbf)+_0x45940a+_0x16ac01(0x1d9,0x1ec,0x83,0x14b),'toolCall':_0x29cd13=>_0x5885dd(0x3b3,0x4bf,0x1eb,0x3da)+_0x29cd13+'\x20tool\x20call\x20timed\x20out'};function toMcpSafeError(_0x19490a){const _0x4aa3e9={_0x1ddf14:0x62a,_0x29615a:0x445,_0x5e7b9f:0x46d,_0x799bdc:0x54e,_0x38e03a:0x642,_0x37124b:0x641,_0x52bddc:0x6ad,_0x112839:0x595,_0x477d63:0x289,_0x208d9d:0x697,_0x1832d1:0x2db,_0x68d485:0x476,_0x3a10ca:0x2c3,_0x2eecf2:0x315,_0x26bad6:0x3d7,_0x44f4f0:0x26c,_0x246616:0x173,_0x1a0e95:0xbf,_0xb65bb9:0x10,_0x2178c2:0x13c,_0x5bfdf7:0x439,_0x3ab95a:0x5c2,_0x470db2:0x24f},_0x2fd60b={_0xb6e8d5:0x61},_0x113171={_0x1d8c30:0x4df,_0x31025e:0x19c};function _0x325962(_0x2c51d8,_0x3ef3e3,_0xce4758,_0x5744b8){return _0x16ac01(_0x2c51d8-0x104,_0x2c51d8-_0x113171._0x1d8c30,_0xce4758-_0x113171._0x31025e,_0x3ef3e3);}if(_0x19490a['error']instanceof UnauthorizedError)return Object[_0x50f86f(0x126,0x224,0x2d0,0x264)]({'code':'mcp-auth-required','message':_0x325962(_0x4aa3e9._0x1ddf14,0x7d8,0x509,0x43a)+_0x19490a[_0x325962(0x439,0x2c9,_0x4aa3e9._0x29615a,_0x4aa3e9._0x5e7b9f)]+_0x325962(_0x4aa3e9._0x799bdc,_0x4aa3e9._0x38e03a,0x552,0x4e4)});function _0x50f86f(_0x288f48,_0x1e2667,_0x5778d6,_0x7f3642){return _0x5885dd(_0x288f48-0xb2,_0x1e2667,_0x5778d6-_0x2fd60b._0xb6e8d5,_0x7f3642- -0x1e1);}if(_0x19490a[_0x325962(0x691,0x52d,_0x4aa3e9._0x37124b,_0x4aa3e9._0x52bddc)]instanceof McpError&&_0x19490a['error'][_0x325962(0x61a,_0x4aa3e9._0x112839,0x784,0x776)]===ErrorCode[_0x50f86f(0x4d9,_0x4aa3e9._0x477d63,0x340,0x345)])return Object['freeze']({'code':_0x325962(0x6a4,0x507,_0x4aa3e9._0x208d9d,_0x4aa3e9._0x1ddf14),'message':timeoutMessageByOperation[_0x19490a[_0x50f86f(_0x4aa3e9._0x1832d1,_0x4aa3e9._0x68d485,_0x4aa3e9._0x3a10ca,_0x4aa3e9._0x2eecf2)]](_0x19490a[_0x50f86f(0x120,0x1c6,0x12d,0x8)])});const _0x2d5884=failureByOperation[_0x19490a[_0x50f86f(0x374,0x1b7,_0x4aa3e9._0x26bad6,0x315)]];return Object['freeze']({'code':_0x2d5884[_0x50f86f(0x339,_0x4aa3e9._0x44f4f0,_0x4aa3e9._0x246616,0x1e9)],'message':_0x2d5884[_0x50f86f(_0x4aa3e9._0x1a0e95,_0x4aa3e9._0xb65bb9,-0xa,_0x4aa3e9._0x2178c2)](_0x19490a[_0x325962(_0x4aa3e9._0x5bfdf7,_0x4aa3e9._0x3ab95a,_0x4aa3e9._0x470db2,0x259)])});}function redactMcpDiagnostic(_0x252d7c,_0x24a893){const _0x28efd8={_0xdc4a61:0x493,_0x395f71:0x34f,_0x372935:0x5e8,_0x43729b:0x401,_0x19e03d:0x4f8,_0x3a7d98:0x3bf,_0x59fa14:0x38f,_0x59d374:0x295,_0x35f5c3:0x25d,_0x4bd69f:0x39e,_0xdf3b08:0x5c1,_0x342990:0x3bf,_0x259985:0x258},_0x41f1a6={_0x43212c:0x179,_0x2e194c:0x1b9,_0x43d0c0:0x16d},_0x449660={_0x512162:0x1b9,_0x489f4b:0x34},_0x5b52de=[...new Set(_0x24a893['filter'](_0x23c42c=>_0x23c42c[_0x510708(0x3bf,0x2c2,0x5c1,0x3f6)]>0x0))][_0x510708(0x1ba,0x17d,0x2b1,0x253)]((_0x7b5fb,_0x4b7a4d)=>_0x4b7a4d['length']-_0x7b5fb[_0x3584cc(0x49f,0x380,0x6d2,0x4f8)]);if(_0x252d7c[_0x510708(0x3bf,_0x28efd8._0xdc4a61,_0x28efd8._0x395f71,0x590)]===0x0||_0x5b52de[_0x3584cc(_0x28efd8._0x372935,0x609,_0x28efd8._0x43729b,_0x28efd8._0x19e03d)]===0x0)return _0x252d7c;function _0x510708(_0x3dd103,_0x5de4e4,_0x58f9bf,_0x5559f4){return _0x5885dd(_0x3dd103-_0x449660._0x512162,_0x5559f4,_0x58f9bf-0x69,_0x3dd103-_0x449660._0x489f4b);}let _0x24b752='';function _0x3584cc(_0x1afbe1,_0x2983e0,_0x47f7ca,_0x398473){return _0x5885dd(_0x1afbe1-_0x41f1a6._0x43212c,_0x2983e0,_0x47f7ca-_0x41f1a6._0x2e194c,_0x398473-_0x41f1a6._0x43d0c0);}let _0x1dd5d9=0x0;while(_0x1dd5d9<_0x252d7c[_0x510708(_0x28efd8._0x3a7d98,_0x28efd8._0x59fa14,_0x28efd8._0x59d374,_0x28efd8._0x35f5c3)]){const _0xb47e52=_0x5b52de['find'](_0x130d13=>_0x252d7c['startsWith'](_0x130d13,_0x1dd5d9));_0xb47e52?(_0x24b752+=_0x510708(0x4d4,0x65b,_0x28efd8._0x4bd69f,_0x28efd8._0xdf3b08),_0x1dd5d9+=_0xb47e52[_0x510708(_0x28efd8._0x342990,0x540,_0x28efd8._0x259985,0x32c)]):(_0x24b752+=_0x252d7c[_0x1dd5d9],_0x1dd5d9+=0x1);}return _0x24b752;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x41387a){const _0xa13e77={_0x402c61:0x811,_0x48b7f2:0x61e,_0x231366:0x559},_0x2d0c41={_0x1f689e:0x4e6,_0x502d99:0x1c6},_0x17a27c={_0x277c35:0x11e,_0x2a231e:0x3ef};function _0x46f036(_0x5a0723,_0x494324,_0x4bd601,_0x15963c){return _0x5885dd(_0x5a0723-_0x17a27c._0x277c35,_0x494324,_0x4bd601-0x118,_0x5a0723-_0x17a27c._0x2a231e);}function _0x3f107f(_0x153128,_0x4984d4,_0x1a1d0e,_0x5c0f57){return _0x16ac01(_0x153128-0xa4,_0x153128-_0x2d0c41._0x1f689e,_0x1a1d0e-_0x2d0c41._0x502d99,_0x4984d4);}return typeof _0x41387a===_0x46f036(0x91a,0x7da,_0xa13e77._0x402c61,0x92f)&&_0x41387a!==null||typeof _0x41387a===_0x46f036(_0xa13e77._0x48b7f2,_0xa13e77._0x231366,0x7be,0x607);}function createOwnedMcpSafeError(_0x39c688){const _0x550928={_0x3879ee:0x157,_0x10e634:0x427,_0x3460c1:0x275,_0x43c3ed:0xd5,_0x24d20e:0x272,_0x179889:0x1c8},_0x288b8a={_0x12470a:0x184,_0x3909ee:0x210},_0x5f12db={_0x56c597:0xcc,_0xb3db7:0x176};function _0x1b50c(_0x4d15b5,_0x20d1e0,_0x3cf39a,_0x4eee46){return _0x5885dd(_0x4d15b5-_0x5f12db._0x56c597,_0x4d15b5,_0x3cf39a-_0x5f12db._0xb3db7,_0x4eee46- -0x155);}function _0x24e87d(_0x24c48b,_0x1b2789,_0x794580,_0x3e77c0){return _0x5885dd(_0x24c48b-_0x288b8a._0x12470a,_0x1b2789,_0x794580-0x17,_0x794580- -_0x288b8a._0x3909ee);}const _0x2337ee=toMcpSafeError(_0x39c688),_0x1c4f76=Object[_0x1b50c(0x26e,0x2f4,_0x550928._0x3879ee,0x2f0)]({'code':_0x2337ee[_0x1b50c(_0x550928._0x10e634,0x434,0x158,_0x550928._0x3460c1)],'message':_0x2337ee[_0x1b50c(0x378,_0x550928._0x43c3ed,_0x550928._0x24d20e,_0x550928._0x179889)]});return ownedMcpSafeErrors['set'](_0x2337ee,_0x1c4f76),_0x2337ee;}function extractOwnedMcpSafeError(_0x48d50c){const _0x44256a={_0x211793:0x752,_0x554ba4:0xa5,_0x3f7fae:0xcb,_0x3becd5:0xef,_0xbbfd94:0x2a,_0x124ac7:0x1ec,_0x2ed09f:0x178},_0x2edc71={_0x20f074:0x145},_0x31acd5={_0x41b46f:0x290};if(!isWeakMapKey(_0x48d50c))return void 0x0;const _0x3c1fc4=ownedMcpSafeErrors[_0x172ef2(0x70f,_0x44256a._0x211793,0x7f4,0x883)](_0x48d50c);if(!_0x3c1fc4)return void 0x0;const _0x113e29=Object[_0x3d7dc4(_0x44256a._0x554ba4,_0x44256a._0x3f7fae,_0x44256a._0x3becd5,0x21e)]({'code':_0x3c1fc4[_0x3d7dc4(_0x44256a._0xbbfd94,_0x44256a._0x124ac7,-_0x44256a._0x2ed09f,-0x1d4)],'message':_0x3c1fc4['message']});function _0x172ef2(_0x3b7b31,_0x475c44,_0x548056,_0x44d1ad){return _0x5885dd(_0x3b7b31-0x7b,_0x3b7b31,_0x548056-0x30,_0x548056-_0x31acd5._0x41b46f);}function _0x3d7dc4(_0x3a5779,_0x3357b5,_0x3750cb,_0x2c22cb){return _0x5885dd(_0x3a5779-0xdc,_0x3357b5,_0x3750cb-_0x2edc71._0x20f074,_0x3a5779- -0x3a0);}return ownedMcpSafeErrors['set'](_0x113e29,_0x3c1fc4),_0x113e29;}function ownValue(_0x4786c2,_0x3cfbca){const _0x571565={_0x1e88f3:0x15a,_0x5586fc:0x1cf};function _0x3ea523(_0x738ce7,_0x76a775,_0x36a13a,_0x16ccdb){return _0x5885dd(_0x738ce7-_0x571565._0x1e88f3,_0x76a775,_0x36a13a-_0x571565._0x5586fc,_0x36a13a- -0x1a5);}return _0x4786c2&&Object[_0x3ea523(-0x81,0x2c5,0x176,0x256)](_0x4786c2,_0x3cfbca)?_0x4786c2[_0x3cfbca]:void 0x0;}function isToolPermissionClass(_0x1f4f6d){const _0x35a851={_0x50b1a1:0x39d,_0x6e9e75:0x4de,_0x311236:0x5ad,_0x21100a:0x595},_0x371a38={_0x3c9a6f:0xb5},_0x1c0038={_0x59e9fe:0x1a3,_0x29e48e:0x224};function _0x164975(_0x104940,_0x5e3b3e,_0x14a518,_0x264bf5){return _0x5885dd(_0x104940-_0x1c0038._0x59e9fe,_0x14a518,_0x14a518-0x13a,_0x5e3b3e- -_0x1c0038._0x29e48e);}function _0x5d58dc(_0x5452a7,_0x58c4f0,_0x34b5d3,_0x2cf8f8){return _0x16ac01(_0x5452a7-0x130,_0x5452a7-0x4c3,_0x34b5d3-_0x371a38._0x3c9a6f,_0x58c4f0);}return _0x1f4f6d==='read'||_0x1f4f6d===_0x5d58dc(0x435,_0x35a851._0x50b1a1,0x3fb,0x5ce)||_0x1f4f6d===_0x5d58dc(_0x35a851._0x6e9e75,0x44a,_0x35a851._0x311236,_0x35a851._0x21100a);}function suggestedPermissionClass(_0x30c525){const _0x24cbf0={_0x107535:0x26d,_0x1050b2:0x28,_0x2e0fd2:0x119,_0x540029:0x228,_0x33a9c0:0x2ae,_0x417515:0x30b},_0x41fcd4={_0x14d4a0:0x1ea,_0x46a6c4:0x399},_0x455216={_0x3ce71f:0x8b,_0x1a2d4d:0x2b6},_0x43ca35=_0x30c525[_0xbb4ac6(-_0x24cbf0._0x107535,-_0x24cbf0._0x1050b2,-0x227,-_0x24cbf0._0x2e0fd2)]?.['readOnlyHint'];function _0xbb4ac6(_0x31b1d5,_0x4bb55f,_0x2168ec,_0x35f51a){return _0x5885dd(_0x31b1d5-0xa4,_0x31b1d5,_0x2168ec-_0x455216._0x3ce71f,_0x35f51a- -_0x455216._0x1a2d4d);}if(_0x43ca35===!![])return'read';if(_0x43ca35===![])return _0x31f91d(_0x24cbf0._0x540029,_0x24cbf0._0x33a9c0,_0x24cbf0._0x417515,0x23a);function _0x31f91d(_0x573fbf,_0x1f979c,_0x55b41d,_0x48c816){return _0x16ac01(_0x573fbf-_0x41fcd4._0x14d4a0,_0x55b41d-_0x41fcd4._0x46a6c4,_0x55b41d-0x79,_0x48c816);}return void 0x0;}function isJsonValue(_0x2c2997){const _0xeaf81c={_0x1abe65:0x5a9,_0x4bcc89:0x6b0,_0x2ee024:0x776,_0x17c498:0x724,_0x3f29e3:0x8a6,_0x3e94bb:0x3c9,_0x4ccbdc:0x814},_0x543609={_0x3e7316:0x8f},_0x3e286e={_0x283521:0x94,_0x5af60a:0x15d,_0x593ef4:0x1e3};if(_0x2c2997===null||typeof _0x2c2997==='string'||typeof _0x2c2997===_0x3f6680(0x4e3,0x494,_0xeaf81c._0x1abe65,0x465)||typeof _0x2c2997===_0x20b972(0x614,0x874,_0xeaf81c._0x4bcc89,_0xeaf81c._0x2ee024))return!![];function _0x3f6680(_0x2d097b,_0x36cb81,_0x150f03,_0x357aa1){return _0x5885dd(_0x2d097b-_0x3e286e._0x283521,_0x150f03,_0x150f03-_0x3e286e._0x5af60a,_0x2d097b-_0x3e286e._0x593ef4);}function _0x20b972(_0x53da4a,_0x433880,_0x43c964,_0x5d85f0){return _0x16ac01(_0x53da4a-0x9,_0x5d85f0-0x5dc,_0x43c964-_0x543609._0x3e7316,_0x433880);}if(Array['isArray'](_0x2c2997))return _0x2c2997[_0x3f6680(_0xeaf81c._0x17c498,0x556,0x679,_0xeaf81c._0x3f29e3)](isJsonValue);if(!isObject(_0x2c2997))return![];return Object[_0x3f6680(0x3ee,0x4e3,_0xeaf81c._0x3e94bb,0x593)](_0x2c2997)[_0x20b972(0x6b4,0x776,_0xeaf81c._0x4ccbdc,0x88e)](isJsonValue);}function projectMcpTools(_0x441170){const _0x8039eb={_0x4a737f:0x314,_0xa710f4:0x415,_0x17d37a:0x41c,_0x16a286:0x3c1,_0xc3675a:0x31b,_0x3361be:0x653,_0x24ab6d:0x5c0,_0x14c15d:0x4a6,_0x7e77fe:0x3c5,_0x3a247a:0x4a6,_0x1df964:0x611,_0x47e58e:0x389,_0x5932d0:0x1b6,_0x119cea:0x1f6,_0x3a56cb:0x378,_0x54f801:0x76e,_0x576182:0x192,_0x3bc4b2:0x54e,_0x342f75:0x4f1,_0x20d2e1:0x377,_0x45b68d:0x3fb,_0xa6b28a:0x42d,_0x1e6f7c:0x3bc,_0x3575dc:0x369,_0x2b1e74:0x318,_0xd5d81c:0x288,_0x12a60a:0x4f8,_0x5beb29:0x44e,_0x5438e8:0x6ba},_0xe3b0af={_0x511d0e:0x8d,_0x10bd38:0x74},_0x5127f0={_0x51da4e:0xc0},_0x1eda7f=[],_0x2ce4bd=[];function _0x5a019c(_0x212190,_0x1bcd71,_0x12f6cd,_0x22242c){return _0x16ac01(_0x212190-0x33,_0x1bcd71-0x4d3,_0x12f6cd-_0x5127f0._0x51da4e,_0x22242c);}function _0x23b0c5(_0x3d2869,_0x52d4b3,_0x55b440,_0x2e74db){return _0x5885dd(_0x3d2869-0x1eb,_0x2e74db,_0x55b440-_0xe3b0af._0x511d0e,_0x3d2869- -_0xe3b0af._0x10bd38);}for(const _0x51f9a6 of _0x441170[_0x23b0c5(0x33c,_0x8039eb._0x4a737f,0x33b,_0x8039eb._0xa710f4)]){const _0x45a16e=ownValue(_0x441170['toolPermissions'],_0x51f9a6['name']),_0x215394=isToolPermissionClass(_0x45a16e)?_0x45a16e:void 0x0,_0x2708cf=_0x215394??_0x23b0c5(0x236,_0x8039eb._0x17d37a,0x1cb,0x3a0),_0x4a7220=suggestedPermissionClass(_0x51f9a6);_0x2ce4bd['push']({'name':_0x51f9a6[_0x23b0c5(0x432,0x53b,_0x8039eb._0x16a286,_0x8039eb._0xc3675a)],..._0x51f9a6[_0x5a019c(_0x8039eb._0x3361be,0x51b,_0x8039eb._0x24ab6d,0x6cb)]!==void 0x0?{'description':_0x51f9a6['description']}:{},...isJsonValue(_0x51f9a6[_0x23b0c5(_0x8039eb._0x14c15d,0x340,_0x8039eb._0x7e77fe,0x3d8)])?{'inputSchema':_0x51f9a6[_0x23b0c5(_0x8039eb._0x3a247a,0x301,_0x8039eb._0x1df964,0x4f2)]}:{},'permissionClass':_0x2708cf,'permissionConfigured':_0x215394!==void 0x0,..._0x4a7220!==void 0x0?{'suggestedPermissionClass':_0x4a7220}:{}});if(ownValue(_0x441170[_0x23b0c5(_0x8039eb._0x47e58e,_0x8039eb._0x5932d0,_0x8039eb._0x119cea,_0x8039eb._0x3a56cb)],_0x51f9a6[_0x5a019c(0x502,0x6ea,0x7ee,_0x8039eb._0x54f801)])===![])continue;_0x1eda7f[_0x23b0c5(_0x8039eb._0x576182,0x33f,0x8a,0x26b)](createMcpTool({'serverName':_0x441170[_0x5a019c(_0x8039eb._0x3bc4b2,_0x8039eb._0x342f75,_0x8039eb._0x20d2e1,_0x8039eb._0x45b68d)]??_0x441170[_0x5a019c(0x32e,_0x8039eb._0xa6b28a,_0x8039eb._0x1e6f7c,_0x8039eb._0x3575dc)],'tool':_0x51f9a6,'client':_0x441170[_0x5a019c(_0x8039eb._0x2b1e74,0x396,0x18a,_0x8039eb._0xd5d81c)],'permissionClass':_0x2708cf,'internalLifecycle':_0x441170[_0x5a019c(0x4eb,_0x8039eb._0x12a60a,_0x8039eb._0x5beb29,_0x8039eb._0x5438e8)]}));}return{'tools':_0x1eda7f,'descriptors':_0x2ce4bd};}function createMcpToolName(_0x5a9aa1,_0x144a03){const _0x5b48ba={_0x5c9b88:0x9b,_0x33220c:0x62},_0x4e0b5f={_0x55a844:0x150},_0x10e746={_0x1c9f8c:0x183},_0x4fd680=_0x167357=>_0x167357['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x23137d(0x555,0x4fe,0x377,0x3f9)](/^_+|_+$/g,'');function _0x334e7e(_0x46ce10,_0x326d1b,_0x4d3f4d,_0x3aa332){return _0x16ac01(_0x46ce10-_0x10e746._0x1c9f8c,_0x3aa332-0x5c,_0x4d3f4d-0x4a,_0x326d1b);}function _0x23137d(_0x4d34da,_0x3dd736,_0x218131,_0x765067){return _0x5885dd(_0x4d34da-_0x4e0b5f._0x55a844,_0x218131,_0x218131-0x15a,_0x3dd736- -0x6b);}return _0x334e7e(-0x13e,_0x5b48ba._0x5c9b88,-0x204,-_0x5b48ba._0x33220c)+_0x4fd680(_0x5a9aa1)+'_'+_0x4fd680(_0x144a03);}function isObject(_0x313810){const _0x3a2d8a={_0x53ca50:0x445,_0x3fc18c:0x509,_0x3211f0:0x508,_0x310191:0x5ec},_0x2caace={_0x41eb48:0x235},_0x4d204e={_0x4d317e:0x2bd,_0x4c76ec:0xce};function _0x2db82c(_0x49856f,_0x43c5ce,_0x1ab392,_0x4d9c8a){return _0x16ac01(_0x49856f-0xec,_0x4d9c8a-_0x4d204e._0x4d317e,_0x1ab392-_0x4d204e._0x4c76ec,_0x1ab392);}function _0x33c7d8(_0x11db39,_0x2aa50e,_0xb958bc,_0x46e816){return _0x5885dd(_0x11db39-0x4f,_0xb958bc,_0xb958bc-0x1a0,_0x46e816-_0x2caace._0x41eb48);}return typeof _0x313810===_0x2db82c(_0x3a2d8a._0x53ca50,0x5c9,_0x3a2d8a._0x3fc18c,0x559)&&_0x313810!==null&&!Array[_0x33c7d8(0x2cf,_0x3a2d8a._0x3211f0,_0x3a2d8a._0x310191,0x45b)](_0x313810);}function toSupportedSchema(_0x106b07){const _0x70d0e1={_0x5d61d9:0x481,_0x489cd1:0x5c4,_0x5129aa:0x245,_0x262af6:0x364,_0x2fbe00:0x3e0,_0x36590f:0x77e,_0x400a07:0x871,_0x50a270:0x4d8,_0x15e461:0x873,_0x2b15c1:0x5f4,_0x1c1940:0x6c6,_0x39f96e:0x5f,_0x3eb499:0x22,_0x53faaf:0x188,_0x160e93:0x97,_0xb604f9:0x3c,_0x30e320:0x798,_0x84f2e1:0x8d5,_0x383213:0x5fb,_0x10d433:0x767,_0x54e5fe:0x7fd,_0x2393dd:0x653,_0x3d374a:0x4f9,_0x2032e2:0x5b7,_0x1aaa92:0x709,_0x512be2:0x611,_0x167276:0x7d6,_0x5b48e1:0x556},_0x218509={_0x19511b:0x135},_0x16678d={_0x17380:0xcb};function _0x34741a(_0xc0b983,_0x3e718c,_0x3b93da,_0x42b95a){return _0x5885dd(_0xc0b983-0xd0,_0x3b93da,_0x3b93da-_0x16678d._0x17380,_0xc0b983- -0x2a1);}if(!isObject(_0x106b07))return void 0x0;if(_0x106b07[_0x49aa3b(0x657,0x688,_0x70d0e1._0x5d61d9,_0x70d0e1._0x489cd1)]===_0x34741a(_0x70d0e1._0x5129aa,0x20e,_0x70d0e1._0x262af6,_0x70d0e1._0x2fbe00))return{'type':_0x49aa3b(_0x70d0e1._0x36590f,_0x70d0e1._0x400a07,0x912,0x824)};function _0x49aa3b(_0xb79b3,_0x3f90a7,_0x5f51aa,_0x501d15){return _0x5885dd(_0xb79b3-_0x218509._0x19511b,_0x5f51aa,_0x5f51aa-0x14e,_0x501d15-0x33e);}if(_0x106b07['type']===_0x34741a(0x5f,0x15d,0xbc,0xdd)||_0x106b07[_0x49aa3b(0x68a,0x3af,0x6f7,0x5c4)]===_0x49aa3b(_0x70d0e1._0x50a270,_0x70d0e1._0x15e461,_0x70d0e1._0x2b15c1,_0x70d0e1._0x1c1940))return{'type':_0x34741a(_0x70d0e1._0x39f96e,0x1d4,-_0x70d0e1._0x3eb499,0x1b6)};if(_0x106b07[_0x34741a(-0x1b,0x164,-0x136,-0x43)]===_0x34741a(_0x70d0e1._0x53faaf,_0x70d0e1._0x160e93,-_0x70d0e1._0xb604f9,0x48))return{'type':_0x49aa3b(_0x70d0e1._0x30e320,_0x70d0e1._0x84f2e1,_0x70d0e1._0x383213,_0x70d0e1._0x10d433)};if(_0x106b07['type']==='array')return{'type':_0x49aa3b(_0x70d0e1._0x54e5fe,_0x70d0e1._0x2393dd,_0x70d0e1._0x3d374a,0x61b),'items':toSupportedSchema(_0x106b07[_0x49aa3b(0x633,_0x70d0e1._0x2032e2,0x90f,_0x70d0e1._0x1aaa92)])??{'type':_0x49aa3b(0x757,_0x70d0e1._0x512be2,_0x70d0e1._0x167276,0x824)}};if(_0x106b07[_0x49aa3b(0x50f,_0x70d0e1._0x5b48e1,0x5bb,0x5c4)]==='object')return toNuvinToolSchema(_0x106b07);return void 0x0;}function toNuvinToolSchema(_0x1bc4f6){const _0x3333af={_0x452d90:0x497,_0x5931c1:0x3a2,_0x1a7377:0x528,_0x351ecd:0x4fc,_0xa47bc6:0x438,_0x33da2f:0x3fe,_0x438eec:0x36a,_0x3a0210:0x36e,_0x326a1c:0x4af,_0x4afc57:0x590,_0x120fce:0x25a,_0x3279a4:0x1a4,_0x2684f4:0x133,_0x548ec2:0x344,_0x438832:0x4b8,_0x5afeba:0x1d2,_0x547847:0xcc,_0x5b135b:0xca,_0x368c4d:0xe3,_0x21575f:0x2ec,_0x42e57f:0x674,_0x412771:0x3a4,_0x45b57a:0x4be,_0x4cff2c:0x3ee,_0x459859:0x444,_0x50dc21:0x438,_0x523c2f:0x604},_0x308bcf={_0x1e68a2:0x1bd};function _0x42020c(_0x21fe9a,_0x59c5ce,_0x487d06,_0x3f6fcc){return _0x16ac01(_0x21fe9a-0xa,_0x3f6fcc-0x3c2,_0x487d06-0x15a,_0x487d06);}if(!isObject(_0x1bc4f6)||_0x1bc4f6[_0x42020c(_0x3333af._0x452d90,_0x3333af._0x5931c1,_0x3333af._0x1a7377,0x3b9)]!=='object')return{'type':_0x2f7592(_0x3333af._0x351ecd,0x4b6,_0x3333af._0xa47bc6,0x586),'properties':{}};const _0x2930f2={},_0x5cafa8=isObject(_0x1bc4f6[_0x2f7592(0x1da,_0x3333af._0x33da2f,_0x3333af._0x438eec,_0x3333af._0x3a0210)])?_0x1bc4f6[_0x42020c(_0x3333af._0x326a1c,0x3bd,0x4a9,_0x3333af._0x4afc57)]:{};for(const [_0x2bb040,_0x285507]of Object['entries'](_0x5cafa8)){const _0x2376a2=toSupportedSchema(_0x285507);if(_0x2376a2)_0x2930f2[_0x2bb040]=_0x2376a2;}const _0x4866da=Array[_0x2f7592(_0x3333af._0x120fce,_0x3333af._0x3279a4,_0x3333af._0x2684f4,_0x3333af._0x548ec2)](_0x1bc4f6[_0x42020c(_0x3333af._0x438832,_0x3333af._0x5afeba,0x4dd,0x2c6)])?_0x1bc4f6['required'][_0x2f7592(-_0x3333af._0x547847,-_0x3333af._0x5b135b,_0x3333af._0x368c4d,_0x3333af._0x21575f)](_0x334376=>typeof _0x334376===_0x2f7592(0x522,0x319,0x3f3,0x5d2)):void 0x0;function _0x2f7592(_0x23875f,_0x3c9a15,_0x5ae0c7,_0x346be0){return _0x5885dd(_0x23875f-0x1b1,_0x23875f,_0x5ae0c7-_0x308bcf._0x1e68a2,_0x5ae0c7- -0xf3);}return _0x4866da?.[_0x42020c(_0x3333af._0x42e57f,_0x3333af._0x412771,0x61b,_0x3333af._0x45b57a)]?{'type':'object','properties':_0x2930f2,'required':_0x4866da}:{'type':_0x2f7592(_0x3333af._0x4cff2c,_0x3333af._0x459859,_0x3333af._0x50dc21,_0x3333af._0x523c2f),'properties':_0x2930f2};}function isJsonObject(_0x33ec8e){const _0x21967b={_0x4eea37:0x913,_0x310810:0x5d2,_0x79e321:0x4b1,_0x33a2bb:0x615,_0x35c24c:0x4a8},_0x10c0e8={_0x2fc018:0x9c,_0xcdd73c:0x282},_0x368e26={_0x4f33ba:0x5e7,_0x3fedd2:0x10f};function _0x326859(_0x4a63d9,_0x394c77,_0x167110,_0x4f40fc){return _0x16ac01(_0x4a63d9-0x170,_0x394c77-_0x368e26._0x4f33ba,_0x167110-_0x368e26._0x3fedd2,_0x167110);}function _0x1789a9(_0x2f73d4,_0x25945c,_0x289986,_0x2e88e8){return _0x5885dd(_0x2f73d4-0xc4,_0x2f73d4,_0x289986-_0x10c0e8._0x2fc018,_0x289986-_0x10c0e8._0xcdd73c);}return typeof _0x33ec8e===_0x1789a9(_0x21967b._0x4eea37,_0x21967b._0x310810,0x7ad,0x8ca)&&_0x33ec8e!==null&&!Array[_0x1789a9(_0x21967b._0x79e321,_0x21967b._0x33a2bb,_0x21967b._0x35c24c,0x31a)](_0x33ec8e);}function formatMcpContent(_0x35fcbf){const _0xf30bcf={_0x3246b7:0x291,_0x46ae1f:0x2ae,_0x858158:0x48d,_0x50eacc:0x34a,_0x29c593:0x41c,_0x37a6ee:0x4a9,_0x3f3e89:0x2,_0xdaeed6:0x11f,_0x4f9896:0x68,_0x54c43a:0x33f,_0x185212:0x3f5,_0x3fe7a5:0x206,_0x51a3a4:0x634,_0x47bc81:0x526},_0x3d64b6={_0x4481d5:0x1f3,_0xdf9b71:0x6a},_0x31e2d7={_0x59c493:0x36,_0x19fbc3:0x6b},_0x493c97={_0x3fd8db:0x2,_0x15f393:0xa6,_0x143868:0x1c5,_0x10d010:0x31,_0x10056e:0xfc,_0x166105:0x40,_0x16d024:0x194,_0x43aab0:0x4e,_0x29e48c:0xbc,_0xd95d42:0xe1,_0x53ad3a:0x45},_0x1b977f={_0x3ab700:0x1da,_0x2d4c17:0x1f0},_0x2aeaa2=Array[_0x49ca06(_0xf30bcf._0x3246b7,0xd2,_0xf30bcf._0x46ae1f,_0xf30bcf._0x858158)](_0x35fcbf['content'])?_0x35fcbf[_0x4d3feb(_0xf30bcf._0x50eacc,0x37c,_0xf30bcf._0x29c593,_0xf30bcf._0x37a6ee)]:[],_0x2f630c=_0x2aeaa2[_0x49ca06(0x1b9,0x2e8,0x368,_0xf30bcf._0x3f3e89)](_0x22b197=>{const _0x462aa={_0x1f901b:0x3ac};function _0x1ede46(_0x2aa9c4,_0x136599,_0x573d15,_0x4f5f31){return _0x49ca06(_0x2aa9c4- -_0x462aa._0x1f901b,_0x136599-0x1e2,_0x573d15-0x1f3,_0x136599);}function _0x46315b(_0x191a14,_0x1b04d6,_0x5e0fbc,_0x58fe5b){return _0x49ca06(_0x191a14- -0x2f3,_0x1b04d6-_0x1b977f._0x3ab700,_0x5e0fbc-_0x1b977f._0x2d4c17,_0x58fe5b);}if(!isObject(_0x22b197))return'';if(_0x22b197[_0x46315b(-_0x493c97._0x3fd8db,_0x493c97._0x15f393,-0x10e,_0x493c97._0x143868)]===_0x1ede46(-0x79,_0x493c97._0x10d010,-_0x493c97._0x10056e,-0x1dd)&&typeof _0x22b197[_0x46315b(_0x493c97._0x166105,_0x493c97._0x16d024,-_0x493c97._0x43aab0,0x1f)]==='string')return _0x22b197[_0x46315b(0x40,0x1e9,0x252,_0x493c97._0x29e48c)];return JSON[_0x1ede46(_0x493c97._0xd95d42,0x3c,_0x493c97._0x53ad3a,0x154)](_0x22b197);})[_0x4d3feb(_0xf30bcf._0xdaeed6,0x240,0x20c,_0xf30bcf._0x4f9896)](_0x25ad3f=>_0x25ad3f[_0x4d3feb(0x2c5,0x3f5,0x419,0x290)]>0x0)['join']('\x0a');if(_0x2f630c[_0x4d3feb(_0xf30bcf._0x54c43a,_0xf30bcf._0x185212,0x4a3,_0xf30bcf._0x3fe7a5)]>0x0)return _0x2f630c;function _0x49ca06(_0xedaf02,_0x32e094,_0x1554fa,_0x52424d){return _0x5885dd(_0xedaf02-_0x31e2d7._0x59c493,_0x52424d,_0x1554fa-0x14f,_0xedaf02-_0x31e2d7._0x19fbc3);}function _0x4d3feb(_0x557ed1,_0x58302b,_0x484cbb,_0x48634a){return _0x5885dd(_0x557ed1-_0x3d64b6._0x4481d5,_0x484cbb,_0x484cbb-0xcf,_0x58302b-_0x3d64b6._0xdf9b71);}return JSON[_0x49ca06(_0xf30bcf._0x858158,_0xf30bcf._0x51a3a4,_0xf30bcf._0x47bc81,0x60a)](_0x35fcbf,null,0x2);}function createMcpTool(_0x2b1cba){const _0x4b101a={_0x159ad6:0x629,_0x488cbd:0x464,_0x507300:0x384,_0xb54da0:0x592,_0x333177:0x580,_0x4edfae:0x4ed,_0x37b235:0x674,_0x939574:0x526,_0x5194af:0x6a7,_0x482d40:0x712,_0x256846:0x7f6,_0x1ea28f:0x666,_0x3ab93e:0x4e1,_0x5cc4c5:0x828,_0x11549d:0x519,_0x37f50c:0x4dc,_0x322a48:0x413,_0x1e7a38:0xa36,_0x4057e5:0x96d,_0x4fb546:0x838},_0x4c728d={_0x57190f:0x3e8,_0x19befd:0x549,_0x332f4d:0x417,_0x3a823d:0x1e8,_0x142064:0x244,_0x2469a0:0x25e,_0x1c9aa0:0x395,_0x2a1864:0x6a,_0x325e2d:0x18d,_0x2cae53:0x180,_0x424a9e:0x97,_0x42a0b9:0xdd,_0x4ac940:0x1a8,_0x2acfa6:0x69,_0x2385a2:0x3d,_0x41be75:0x14e,_0x252437:0x204,_0x576286:0x3e6},_0x2c87b6={_0x6a8c88:0x17a,_0x4894f9:0x3be},_0x20cfb1={_0xdb4176:0x17a,_0x1e8b88:0x88};function _0x665667(_0x179fd9,_0x335bdd,_0x52394f,_0x8a9b17){return _0x5885dd(_0x179fd9-_0x20cfb1._0xdb4176,_0x8a9b17,_0x52394f-_0x20cfb1._0x1e8b88,_0x52394f-0xdc);}function _0x5912a4(_0x1269ff,_0x2cd9fd,_0x214f93,_0x4c27db){return _0x5885dd(_0x1269ff-0x124,_0x214f93,_0x214f93-_0x2c87b6._0x6a8c88,_0x4c27db-_0x2c87b6._0x4894f9);}const _0x214a06=createMcpToolName(_0x2b1cba[_0x5912a4(0x50a,0x78b,_0x4b101a._0x159ad6,0x5a7)],_0x2b1cba[_0x665667(_0x4b101a._0x488cbd,0x3c0,_0x4b101a._0x507300,_0x4b101a._0xb54da0)][_0x5912a4(0x9bc,0x682,0x79f,0x864)]);return defineTool({'name':_0x214a06,'permissionClass':_0x2b1cba[_0x5912a4(_0x4b101a._0x333177,0x618,0x893,0x761)],..._0x2b1cba['internalLifecycle']!==void 0x0?{'internalLifecycle':_0x2b1cba[_0x5912a4(_0x4b101a._0x4edfae,_0x4b101a._0x37b235,0x4bc,_0x4b101a._0x939574)]}:{},'description':_0x2b1cba[_0x5912a4(_0x4b101a._0x5194af,_0x4b101a._0x482d40,_0x4b101a._0x256846,_0x4b101a._0x1ea28f)][_0x5912a4(_0x4b101a._0x3ab93e,_0x4b101a._0x5cc4c5,0x8a7,0x695)]??'MCP\x20tool\x20'+_0x2b1cba[_0x665667(_0x4b101a._0x11549d,0x2b2,0x384,_0x4b101a._0x37f50c)]['name']+_0x5912a4(_0x4b101a._0x322a48,0x407,0x698,0x5d5)+_0x2b1cba['serverName'],'inputSchema':toNuvinToolSchema(_0x2b1cba['tool'][_0x5912a4(_0x4b101a._0x1e7a38,_0x4b101a._0x4057e5,_0x4b101a._0x4fb546,0x8d8)]),async *'execute'(_0x15498e){const _0x42cca6={_0x4f4e50:0x10b,_0x15baa2:0x1a7};function _0x22c6ae(_0x5d0f5d,_0x314a79,_0x54041f,_0x49c000){return _0x665667(_0x5d0f5d-0x8b,_0x314a79-0x11c,_0x5d0f5d- -0x19c,_0x314a79);}let _0x490b8d;try{_0x490b8d=await _0x2b1cba['client'][_0x22c6ae(_0x4c728d._0x57190f,_0x4c728d._0x19befd,_0x4c728d._0x332f4d,0x224)]({'name':_0x2b1cba[_0x22c6ae(_0x4c728d._0x3a823d,_0x4c728d._0x142064,0x1c6,_0x4c728d._0x2469a0)][_0x31f16e(0x23b,0x2de,0x295,_0x4c728d._0x1c9aa0)],'arguments':isJsonObject(_0x15498e)?_0x15498e:{}});if(_0x490b8d[_0x31f16e(-0xd3,_0x4c728d._0x2a1864,-0x1cb,-0x2d2)])throw toMcpSafeError({'serverName':_0x2b1cba[_0x22c6ae(0x129,_0x4c728d._0x325e2d,0x15b,0x3a)],'operation':_0x31f16e(0x97,_0x4c728d._0x2cae53,-0x158,-0x8f),'error':_0x490b8d});}catch(_0x424f65){throw extractOwnedMcpSafeError(_0x424f65)??toMcpSafeError({'serverName':_0x2b1cba['serverName'],'operation':_0x31f16e(_0x4c728d._0x424a9e,-0xbf,0x1a6,-_0x4c728d._0x42a0b9),'error':_0x424f65});}yield createToolOutput(formatMcpContent(_0x490b8d),{'serverName':_0x2b1cba[_0x22c6ae(0x129,_0x4c728d._0x4ac940,-_0x4c728d._0x2acfa6,0x1dc)],'toolName':_0x2b1cba[_0x31f16e(_0x4c728d._0x2385a2,_0x4c728d._0x41be75,_0x4c728d._0x252437,0x2d)][_0x22c6ae(_0x4c728d._0x576286,0x2c5,0x42f,0x317)],'result':_0x490b8d});function _0x31f16e(_0x346c65,_0x4dcf1d,_0x41d754,_0x9d0d42){return _0x5912a4(_0x346c65-_0x42cca6._0x4f4e50,_0x4dcf1d-_0x42cca6._0x15baa2,_0x4dcf1d,_0x346c65- -0x629);}return void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x3ae565){let _0x1c63fd=_0x3ae565;return{'get'(){return _0x1c63fd;},'set'(_0x547d1b){_0x1c63fd=_0x547d1b;}};}function resolveMcpTimeoutMs(_0x520074,_0x50ac59){const _0x510f09={_0x506939:0x4bb,_0x4ce9e2:0x6bb},_0x2054f4={_0x3d9f9d:0x1d8};function _0xd58efd(_0x5deef0,_0x374d15,_0x29c4c7,_0xabf157){return _0x16ac01(_0x5deef0-_0x2054f4._0x3d9f9d,_0x29c4c7-0x467,_0x29c4c7-0x15b,_0x374d15);}return _0x520074[_0xd58efd(0x807,_0x510f09._0x506939,0x6ad,_0x510f09._0x4ce9e2)]??_0x50ac59??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x27be56,_0x401e58){return(_0x401e58?extractOwnedMcpSafeError(_0x27be56['error']):void 0x0)??createOwnedMcpSafeError(_0x27be56);}function createMcpGenerationLifecycle(_0x3b8195){const _0x1d8ba4={_0x3e3cb8:0x222,_0x12fe67:0x3fc,_0x263524:0x3da,_0xcf1dc9:0x390},_0x431565={_0x2e1fc1:0x3fd,_0x207d07:0x378,_0x432266:0x50a},_0x16d737={_0x1a78f7:0x48},_0x43f1c0={_0x2444d3:0x1df};let _0x554ebb=0x0,_0x245440=![],_0x4f24f5=![],_0x1959f6,_0x7460aa,_0x3f6667;const _0xa3f3ee=()=>{function _0x287901(_0x613558,_0x4beedc,_0xac1d47,_0x5e1932){return _0xa933(_0xac1d47- -_0x43f1c0._0x2444d3,_0x613558);}if(!_0x245440||_0x554ebb!==0x0||_0x4f24f5)return;function _0x4e3416(_0x5d41ce,_0x51b518,_0x1670c7,_0x26f3c0){return _0xa933(_0x1670c7-_0x16d737._0x1a78f7,_0x26f3c0);}_0x4f24f5=!![],void Promise[_0x4e3416(0x5fd,0x6a0,0x566,0x6ba)]()[_0x287901(_0x431565._0x2e1fc1,0x1f2,_0x431565._0x207d07,0x374)](_0x3b8195)[_0x4e3416(0x4de,_0x431565._0x432266,0x59f,0x757)](_0x7460aa,_0x3f6667);};return{'acquire'(){if(_0x245440)throw new Error(_0x4ec709(_0x1d8ba4._0x3e3cb8,_0x1d8ba4._0x12fe67,_0x1d8ba4._0x263524,_0x1d8ba4._0xcf1dc9));function _0x4ec709(_0x360bc9,_0x4d8ee6,_0xffe49e,_0x54ccb3){return _0xa933(_0x360bc9-0x44,_0xffe49e);}_0x554ebb+=0x1;let _0x2fa7fb=![];return()=>{if(_0x2fa7fb)return;_0x2fa7fb=!![],_0x554ebb-=0x1,_0xa3f3ee();};},'retire'(){return!_0x1959f6&&(_0x1959f6=new Promise((_0xee4b20,_0x450591)=>{_0x7460aa=_0xee4b20,_0x3f6667=_0x450591;})),_0x245440=!![],_0xa3f3ee(),_0x1959f6;}};}function buildMcpHttpHeaders(_0x4f0be8){const _0x33f0c8={_0xa31fb0:0x1f7,_0xbd2a41:0x1de,_0xd78846:0x95,_0x282513:0x1ac,_0x4f7442:0x111,_0x3c7f17:0x141,_0x3d5b9d:0x1a8,_0x5ee7b8:0x49,_0x5f0a0a:0x160,_0x1f7909:0x15a,_0x4403c1:0xde,_0x2e369d:0x291,_0x411d2d:0xdf,_0x15fa96:0x403,_0x58eff2:0x272,_0x6fa757:0x255,_0x336890:0x426,_0x47ab84:0x18b,_0x1b9fdf:0x3c},_0x48b4ec={_0x51e3d0:0x1a8},_0x5283b8={..._0x4f0be8[_0x38480c(0x18e,_0x33f0c8._0xa31fb0,0x15e,_0x33f0c8._0xbd2a41)]??{}};_0x4f0be8[_0x24eee7(-0x3b3,-_0x33f0c8._0xd78846,-_0x33f0c8._0x282513,-_0x33f0c8._0x4f7442)]?.['type']==='bearer'&&_0x4f0be8['auth'][_0x24eee7(_0x33f0c8._0x3c7f17,0x28a,_0x33f0c8._0x3d5b9d,_0x33f0c8._0x5ee7b8)]&&_0x5283b8['Authorization']===void 0x0&&(_0x5283b8[_0x24eee7(_0x33f0c8._0x5f0a0a,_0x33f0c8._0x1f7909,_0x33f0c8._0x4403c1,_0x33f0c8._0x2e369d)]='Bearer\x20'+_0x4f0be8[_0x38480c(-_0x33f0c8._0x411d2d,-0x23,-0xaf,-0x6)][_0x38480c(_0x33f0c8._0x15fa96,0x331,0x520,0x1bc)]);function _0x24eee7(_0x880888,_0x24cf11,_0x84cb9a,_0xf684e){return _0x16ac01(_0x880888-_0x48b4ec._0x51e3d0,_0x84cb9a- -0xfa,_0x84cb9a-0x1aa,_0x24cf11);}function _0x38480c(_0x937346,_0x573496,_0x4f84e1,_0x1ac07a){return _0x16ac01(_0x937346-0x1e5,_0x573496-0x8f,_0x4f84e1-0x1c5,_0x937346);}return Object[_0x38480c(_0x33f0c8._0x58eff2,_0x33f0c8._0x6fa757,_0x33f0c8._0x336890,0x3e1)](_0x5283b8)[_0x38480c(0x25e,_0x33f0c8._0x47ab84,_0x33f0c8._0x1b9fdf,0x127)]>0x0?_0x5283b8:void 0x0;}async function connectMcpServer(_0x5e75ff,_0x370b81,_0x28d3cc){const _0xae2987={_0x275696:0x35,_0x2b7efb:0x4c,_0x369c62:0x13d,_0x37b4a7:0xb,_0x42673c:0x199,_0x7ece3c:0x180,_0x2ed7ab:0x2e2,_0x5d4be4:0x1aa,_0x1daad1:0x4d6,_0x350e1a:0x342,_0xd09bea:0x516,_0x2e0726:0x4a0,_0xedebdb:0x441,_0x518470:0x513,_0x527fe9:0x2ee,_0x3b1227:0x3bf,_0x1288ab:0x64e,_0x39d120:0x605,_0xe30260:0x715,_0x460728:0x3cb,_0x4598c1:0x26a,_0x56e467:0x27d,_0x2179f5:0xff,_0x4a5a73:0x38e,_0x4493e6:0x424,_0x36eca2:0x4fe,_0x2e5507:0x378,_0x3914b5:0x125,_0x1499e2:0x130,_0x3ca3a5:0x1fb,_0x4bc90a:0x88,_0x35992a:0x35b,_0xe929b5:0x569,_0x3a421e:0x46d,_0x3f5c4c:0x2a5,_0x411a3e:0x1dc,_0x4786:0x4d5,_0x2cfb92:0x10b,_0x14862d:0x1d0,_0x246392:0x175,_0x5a6431:0x369,_0x5b5b1c:0x1c3,_0x44fa16:0x779,_0x4530d5:0x6f7,_0x2f6e28:0xe6,_0x312b70:0x2da,_0x1d3497:0x392,_0x38461f:0x627,_0x25330b:0x57d,_0x45cadd:0x4fe,_0x396d2e:0x6b5,_0x16733c:0x4c3,_0x5cd63a:0x57f,_0x472275:0x478,_0xe01de8:0x54b,_0x4d9f5b:0x5af,_0x5db459:0x556,_0x27fcdc:0x1c7,_0x196968:0x1be,_0x30f66c:0x1d,_0x211f65:0x50,_0x4dfa91:0xbc,_0xd92024:0x1ac,_0x13aab4:0x9d,_0x3c92d9:0x210,_0x5e8d94:0x3cd,_0x1e2db4:0x408,_0x1a3eb4:0x419,_0x2ce15c:0x518,_0x464afd:0x281,_0x317d91:0x422,_0x100b5b:0xe6,_0x17cf4b:0x10c,_0xdabd5b:0x2d9,_0x1ff095:0x201},_0x2f568f={_0x16504f:0x7f,_0x59f5f4:0x112,_0x24e111:0x79,_0x8018f6:0xf6,_0x131a07:0x12c,_0x2f2b22:0x51,_0x24bcac:0x215,_0x47f0d5:0xff},_0xaea68f={_0x8c2b51:0x3c1,_0x5e27d6:0x500,_0x366b4d:0x4ed},_0x584cdf={_0x4fdbca:0x163,_0x58f3a6:0x231,_0x2605e4:0x537,_0x3d8bea:0x4dc,_0x52e55:0x392,_0xa695cc:0x722,_0x662ba4:0x676,_0x1c13b2:0x796,_0x56da6b:0x682,_0x7e29d3:0x665},_0x29fc26={_0x273ca8:0x437,_0x294e0b:0x187,_0xb3869b:0x6b},_0x213328={_0x583d3e:0x1d9,_0x991ca8:0xc7},_0x326311={_0x3d6b8c:0x62a,_0x3595f6:0x376,_0x1999e4:0x496,_0xec8ada:0x9a9,_0x5812ee:0x9af},_0x5d2043={_0x44da88:0x68a,_0x5d08ca:0xe3},_0x1c3300={_0x2a7dd7:0x3cc,_0x5cfafa:0x62d},_0x4eec22={_0x3a6b58:0xbe,_0x4f7947:0xc5,_0xfad69d:0xea};function _0x511825(_0x252377,_0x267b28,_0xbd5c66,_0x18fe2e){return _0x16ac01(_0x252377-_0x4eec22._0x3a6b58,_0x252377- -_0x4eec22._0x4f7947,_0xbd5c66-_0x4eec22._0xfad69d,_0x267b28);}const _0x4a617f=new Client({'name':_0x511825(-0x120,_0xae2987._0x275696,-_0xae2987._0x2b7efb,-_0xae2987._0x369c62),'version':_0x511825(-0x1e6,_0xae2987._0x37b4a7,-0x3c5,-0x26e)}),_0x511b39=_0x28d3cc?.[_0x511825(_0xae2987._0x275696,-0x20,-_0xae2987._0x42673c,-_0xae2987._0x7ece3c)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x53ac2a=new Set();let _0x3223b6,_0x21516a=![];const _0x59f51a=()=>{const _0x38700d={_0x424d9f:0x19c,_0x59873e:0x1e};if(_0x21516a||_0x3223b6)return;_0x3223b6={'code':_0x4c7131(0x588,_0x1c3300._0x2a7dd7,0x54c,_0x1c3300._0x5cfafa),'cause':new Error('MCP\x20transport\x20closed\x20unexpectedly')};function _0x4c7131(_0x285bfa,_0x2c5c03,_0x3e41f9,_0x48d0cd){return _0x2f60a6(_0x285bfa-_0x38700d._0x424d9f,_0x285bfa,_0x3e41f9-0x173,_0x48d0cd-_0x38700d._0x59873e);}for(const _0x5913ee of _0x53ac2a){try{_0x5913ee(_0x3223b6);}catch{}}};_0x4a617f['onerror']=()=>{function _0x210828(_0x407204,_0x2ecd95,_0x5f5740,_0x5d3114){return _0x511825(_0x407204-0x708,_0x2ecd95,_0x5f5740-0xb0,_0x5d3114-0x164);}function _0x2f223d(_0x2a0944,_0x2288ac,_0xd62134,_0x5d8bd6){return _0x511825(_0xd62134-_0x5d2043._0x44da88,_0x2288ac,_0xd62134-_0x5d2043._0x5d08ca,_0x5d8bd6-0x22);}console[_0x2f223d(_0x326311._0x3d6b8c,_0x326311._0x3595f6,0x47e,0x5ee)](_0x2f223d(0x584,0x2b0,_0x326311._0x1999e4,0x5c1),{'server':_0x5e75ff,'code':_0x210828(0x7b8,0x976,_0x326311._0xec8ada,_0x326311._0x5812ee)});},_0x4a617f[_0x511825(-0xd9,-0x77,-_0xae2987._0x2ed7ab,-_0xae2987._0x5d4be4)]=_0x59f51a;try{if(_0x370b81[_0x2f60a6(0x313,0x664,_0xae2987._0x1daad1,0x36f)]==='http'||_0x370b81[_0x2f60a6(_0xae2987._0x350e1a,_0xae2987._0xd09bea,_0xae2987._0x2e0726,_0xae2987._0xedebdb)]){if(!_0x370b81[_0x2f60a6(_0xae2987._0x518470,_0xae2987._0x527fe9,0x4a0,_0xae2987._0x3b1227)])throw new Error('MCP\x20server\x20'+_0x5e75ff+_0x2f60a6(_0xae2987._0x1288ab,0x43a,_0xae2987._0x39d120,_0xae2987._0xe30260));if(_0x370b81['auth']?.[_0x2f60a6(0x23a,0x28a,0x3aa,0x337)]===_0x2f60a6(_0xae2987._0x460728,_0xae2987._0x4598c1,_0xae2987._0x56e467,0x44e)&&!_0x28d3cc?.[_0x2f60a6(0x152,0x41a,_0xae2987._0x56e467,_0xae2987._0x2179f5)])throw new Error(_0x2f60a6(_0xae2987._0x4a5a73,_0xae2987._0x4493e6,_0xae2987._0x36eca2,_0xae2987._0x2e5507)+_0x5e75ff+_0x511825(-0x1cf,-_0xae2987._0x3914b5,-0x347,0x3a));const _0x2d59f3=buildMcpHttpHeaders(_0x370b81),_0x3786be=_0x370b81[_0x511825(-0x177,-_0xae2987._0x1499e2,0x88,-0x7f)]?.['type']==='oauth'&&_0x28d3cc?.[_0x2f60a6(0x467,0x470,_0xae2987._0x56e467,0x459)]?createMcpOAuthProvider({'serverName':_0x5e75ff,'callbackUrl':_0x28d3cc[_0x511825(-_0xae2987._0x3ca3a5,0xb,-_0xae2987._0x4bc90a,-_0xae2987._0x35992a)][_0x2f60a6(_0xae2987._0xe929b5,0x3db,_0xae2987._0x3a421e,_0xae2987._0x3f5c4c)],'storageDir':_0x28d3cc[_0x2f60a6(0x492,0xc4,0x27d,_0xae2987._0x411a3e)][_0x2f60a6(0x1cd,_0xae2987._0x4786,0x39e,0x536)],'config':_0x370b81['auth'],'onRedirect':_0x1a81d6=>_0x28d3cc[_0x2f60a6(0x6a,0x1cd,0x27d,0x358)]?.[_0x2f60a6(0x1a9,0x2e2,0x29d,0x480)](_0x5e75ff,_0x1a81d6)}):void 0x0,_0x418409=new StreamableHTTPClientTransport(new URL(_0x370b81[_0x511825(0x28,-0x1e1,-_0xae2987._0x2cfb92,_0xae2987._0x14862d)]),{'authProvider':_0x3786be,'requestInit':_0x2d59f3?{'headers':_0x2d59f3}:void 0x0});await _0x4a617f[_0x2f60a6(0x4b2,_0xae2987._0x246392,_0xae2987._0x5a6431,_0xae2987._0x5b5b1c)](_0x418409,{'timeout':_0x511b39[_0x2f60a6(_0xae2987._0x44fa16,_0xae2987._0x4530d5,0x688,0x5d5)](),..._0x28d3cc?.[_0x511825(-_0xae2987._0x2f6e28,0x7d,-0x139,-_0xae2987._0x312b70)]!==void 0x0?{'signal':_0x28d3cc['signal']}:{}});}else{if(!_0x370b81[_0x2f60a6(_0xae2987._0x1d3497,_0xae2987._0x38461f,_0xae2987._0x25330b,0x6d1)])throw new Error(_0x2f60a6(0x6fe,0x424,_0xae2987._0x45cadd,_0xae2987._0x396d2e)+_0x5e75ff+_0x2f60a6(_0xae2987._0x16733c,_0xae2987._0x5cd63a,_0xae2987._0x472275,_0xae2987._0xe01de8));const _0x2a01f3=new StdioClientTransport({'command':_0x370b81[_0x2f60a6(0x5e5,_0xae2987._0x4d9f5b,0x57d,_0xae2987._0x5db459)],'args':_0x370b81['args']??[],'env':_0x370b81[_0x511825(0x1cb,_0xae2987._0x27fcdc,0x275,_0xae2987._0x196968)],'stderr':_0x511825(-_0xae2987._0x30f66c,-_0xae2987._0x211f65,_0xae2987._0x4dfa91,-0x11)});await _0x4a617f[_0x511825(-0x10f,-0x13b,-_0xae2987._0xd92024,-_0xae2987._0x13aab4)](_0x2a01f3,{'timeout':_0x511b39[_0x511825(_0xae2987._0x3c92d9,_0xae2987._0x5e8d94,_0xae2987._0x1e2db4,_0xae2987._0x1a3eb4)](),..._0x28d3cc?.[_0x2f60a6(_0xae2987._0x2ce15c,_0xae2987._0x464afd,_0xae2987._0x1d3497,_0xae2987._0x317d91)]!==void 0x0?{'signal':_0x28d3cc[_0x511825(-_0xae2987._0x100b5b,_0xae2987._0x17cf4b,-_0xae2987._0xdabd5b,-_0xae2987._0x1ff095)]}:{}});}}catch(_0x4db2ce){throw createOwnedMcpSafeError({'serverName':_0x5e75ff,'operation':'connect','error':_0x4db2ce});}function _0x2f60a6(_0x188a7d,_0x45070d,_0x3f059a,_0x17e2cd){return _0x5885dd(_0x188a7d-_0x213328._0x583d3e,_0x45070d,_0x3f059a-_0x213328._0x991ca8,_0x3f059a-0x124);}return{async 'listTools'(_0x2a7f93){const _0xf5c79f={_0x580a48:0x13f};function _0x2e9a5b(_0x2fd78c,_0x48fd1b,_0x2ff660,_0x334bb0){return _0x511825(_0x2fd78c-0x673,_0x48fd1b,_0x2ff660-_0xf5c79f._0x580a48,_0x334bb0-0xb1);}const _0x4b36a7=_0x2a7f93?.['signal']??_0x28d3cc?.[_0x535efb(_0x584cdf._0x4fdbca,0x351,_0x584cdf._0x58f3a6,_0x584cdf._0x2605e4)];function _0x535efb(_0x1e7530,_0x182e12,_0x2379c5,_0x110155){return _0x511825(_0x182e12-_0x29fc26._0x273ca8,_0x1e7530,_0x2379c5-_0x29fc26._0x294e0b,_0x110155-_0x29fc26._0xb3869b);}try{return await _0x4a617f[_0x2e9a5b(_0x584cdf._0x3d8bea,0x62d,0x392,_0x584cdf._0x52e55)](void 0x0,{'timeout':_0x511b39[_0x2e9a5b(0x883,_0x584cdf._0xa695cc,_0x584cdf._0x662ba4,_0x584cdf._0x1c13b2)](),..._0x4b36a7!==void 0x0?{'signal':_0x4b36a7}:{}});}catch(_0x4d618e){throw createOwnedMcpSafeError({'serverName':_0x5e75ff,'operation':_0x2e9a5b(0x808,0x638,_0x584cdf._0x56da6b,_0x584cdf._0x7e29d3),'error':_0x4d618e});}},'onTerminalError'(_0x1a04bb){_0x53ac2a['add'](_0x1a04bb);const _0x558d59=_0x3223b6;return _0x558d59&&queueMicrotask(()=>{if(_0x53ac2a['has'](_0x1a04bb))_0x1a04bb(_0x558d59);}),()=>_0x53ac2a['delete'](_0x1a04bb);},async 'callTool'(_0x51c526){const _0x18c745={_0x5d0632:0x34e,_0x2b4152:0x1e9};function _0x1d5992(_0x101101,_0x21d9e8,_0x42ea42,_0xa4efed){return _0x511825(_0x21d9e8-_0x18c745._0x5d0632,_0x101101,_0x42ea42-_0x18c745._0x2b4152,_0xa4efed-0x182);}function _0x143591(_0x4316d0,_0x543189,_0x3431e6,_0x3b4ce8){return _0x2f60a6(_0x4316d0-0x19,_0x3b4ce8,_0x4316d0- -0x19b,_0x3b4ce8-0x68);}try{return await _0x4a617f['request']({'method':_0x143591(_0xaea68f._0x8c2b51,0x3df,0x532,_0xaea68f._0x5e27d6),'params':_0x51c526},CallToolResultSchema,{'timeout':_0x511b39[_0x143591(_0xaea68f._0x366b4d,0x47f,0x5c5,0x3ef)]()});}catch(_0x3af4eb){throw createOwnedMcpSafeError({'serverName':_0x5e75ff,'operation':'toolCall','error':_0x3af4eb});}},async 'close'(){const _0x38d58b={_0x1dae0b:0x6,_0x492103:0x187},_0x579d00={_0x53fda7:0x187};function _0x6b1800(_0x40abd4,_0x5c972a,_0x10a821,_0x335f1f){return _0x2f60a6(_0x40abd4-0xde,_0x40abd4,_0x5c972a- -0x32d,_0x335f1f-_0x579d00._0x53fda7);}_0x21516a=!![];function _0x1ca25a(_0x414d9a,_0x3a85be,_0x27c465,_0x2b2918){return _0x511825(_0x3a85be-_0x38d58b._0x1dae0b,_0x27c465,_0x27c465-0x158,_0x2b2918-_0x38d58b._0x492103);}_0x4a617f[_0x6b1800(0x10a,_0x2f568f._0x16504f,-_0x2f568f._0x59f5f4,0x158)]=void 0x0,_0x4a617f['onclose']=void 0x0,_0x53ac2a[_0x6b1800(-_0x2f568f._0x24e111,0xe5,_0x2f568f._0x8018f6,-0x67)]();try{await _0x4a617f[_0x1ca25a(-_0x2f568f._0x131a07,_0x2f568f._0x2f2b22,_0x2f568f._0x24bcac,_0x2f568f._0x47f0d5)]();}catch(_0x26bcf5){throw createOwnedMcpSafeError({'serverName':_0x5e75ff,'operation':'close','error':_0x26bcf5});}}};}async function createMcpConnectionGeneration(_0x229c32){const _0x5c9a36={_0x5dd6fd:0xd1,_0x3cb2f7:0x3a,_0x2a9c83:0x2f,_0x4f650a:0x60,_0xd706ae:0x2a,_0x2dfc23:0x211,_0x3091ae:0x239,_0x72f7fc:0x53,_0x291468:0x2b8,_0x11ebd8:0x372,_0x3bf005:0xec,_0x257c3b:0x5b,_0x18efb6:0x6e3,_0x3f6db2:0x789,_0xfa0add:0x91,_0x224daf:0x6f,_0xd2d6e4:0x10b,_0x398f26:0x2ce,_0xbb2846:0x1c5,_0x3259ea:0x184,_0x2fd878:0x285,_0x40f483:0x47d},_0x4cfd9f={_0x1c272b:0x143,_0x2e69ee:0x13},_0x61976f={_0x37aff5:0xaa},_0x2df252={_0x52fa8c:0x1f,_0x1df0c9:0x268,_0x73f18a:0x434},_0x5aba1a={_0x5b7655:0x1da,_0x52b0ef:0x11e},_0x1931ca={_0x330f9d:0x5ac,_0x6e6dae:0x64},_0x3e1452={_0x273f75:0x300,_0x57034c:0x390,_0x397bbf:0x2c3},_0x443f4d={_0x56a951:0x222,_0x8ecaea:0x303},_0x5703f4={_0x1005a3:0xf1},_0xb7d4f2=_0x229c32[_0x4b10fb(-_0x5c9a36._0x5dd6fd,0x2a,-_0x5c9a36._0x3cb2f7,-_0x5c9a36._0x2a9c83)]??connectMcpServer,_0xdbf1a=_0x229c32[_0x4b10fb(-_0x5c9a36._0x4f650a,_0x5c9a36._0xd706ae,_0x5c9a36._0x2dfc23,0x87)]===void 0x0,_0x1ee0ea={..._0x229c32['connection'],'timeoutSource':_0x229c32['timeoutSource'],..._0x229c32['signal']!==void 0x0?{'signal':_0x229c32[_0x4b10fb(_0x5c9a36._0x3091ae,_0x5c9a36._0x72f7fc,0xf0,-0x1a)]}:{}};let _0x1265ff;try{_0x1265ff=await _0xb7d4f2(_0x229c32[_0x51c54c(_0x5c9a36._0x291468,_0x5c9a36._0x11ebd8,0x371,0x2b7)],_0x229c32['config'],_0x1ee0ea);}catch(_0x260b61){throw mapOwnedMcpBoundaryError({'serverName':_0x229c32[_0x4b10fb(-0x158,-0x32,-_0x5c9a36._0x3bf005,_0x5c9a36._0x257c3b)],'operation':'connect','error':_0x260b61},_0xdbf1a);}function _0x4b10fb(_0x10ceb0,_0x271f18,_0x3b4aca,_0x283854){return _0x16ac01(_0x10ceb0-0x4,_0x271f18-0x74,_0x3b4aca-_0x5703f4._0x1005a3,_0x10ceb0);}const _0x5f724=new Set();let _0x328eed;const _0x10e984=_0x1265ff[_0x51c54c(0x58b,_0x5c9a36._0x18efb6,0x505,_0x5c9a36._0x3f6db2)]?.(_0x90d343=>{if(_0x328eed)return;_0x328eed=_0x90d343;for(const _0x57524e of _0x5f724)_0x57524e(_0x90d343);});let _0x1a3b88=![];const _0x5488ac=()=>{if(_0x1a3b88)return;_0x1a3b88=!![];function _0x5933b7(_0x525246,_0x278c59,_0x5b78c2,_0x3ab08e){return _0x51c54c(_0x525246- -0x19b,_0x278c59-0xe5,_0x5b78c2-0xb7,_0x278c59);}_0x5f724[_0x5933b7(_0x443f4d._0x56a951,_0x443f4d._0x8ecaea,0x3b7,0x1a8)](),_0x10e984?.();};let _0x26744b;try{_0x26744b=await _0x1265ff[_0x51c54c(0x28c,0x3ce,0x28e,0x375)](_0x229c32['signal']!==void 0x0?{'signal':_0x229c32[_0x51c54c(0x33d,0x1f8,0x3f2,0x4b9)]}:void 0x0);}catch(_0x293000){const _0x3ea14d=mapOwnedMcpBoundaryError({'serverName':_0x229c32[_0x4b10fb(-_0x5c9a36._0xfa0add,-0x32,_0x5c9a36._0x224daf,_0x5c9a36._0xd2d6e4)],'operation':_0x4b10fb(0x3df,_0x5c9a36._0x398f26,0x2e2,_0x5c9a36._0xbb2846),'error':_0x293000},_0xdbf1a);_0x5488ac();try{await _0x1265ff[_0x4b10fb(0x64,_0x5c9a36._0x3259ea,0x88,0x42)]();}catch{}throw _0x3ea14d;}const _0x974b2d=[..._0x26744b[_0x51c54c(_0x5c9a36._0x2fd878,0x1b9,0x447,_0x5c9a36._0x40f483)]],_0x19b845={async 'callTool'(_0x2f288e){const _0x4864d7={_0x571ddd:0x465},_0x1ffb4f={_0x9d3f77:0x10e,_0x43c225:0xa1,_0x3103dd:0x16};function _0x118d15(_0x1de033,_0x136925,_0x75b315,_0x4c8ecf){return _0x51c54c(_0x4c8ecf- -_0x1ffb4f._0x9d3f77,_0x136925-_0x1ffb4f._0x43c225,_0x75b315-_0x1ffb4f._0x3103dd,_0x136925);}function _0x5c39d8(_0x26c7fa,_0x4d4b28,_0x50a330,_0x57b240){return _0x51c54c(_0x57b240- -_0x4864d7._0x571ddd,_0x4d4b28-0x185,_0x50a330-0xf,_0x4d4b28);}try{return await _0x1265ff['callTool'](_0x2f288e);}catch(_0x48bb1e){throw mapOwnedMcpBoundaryError({'serverName':_0x229c32[_0x5c39d8(-0x326,-_0x3e1452._0x273f75,-0xba,-0x1ad)],'operation':_0x118d15(0x24d,0x404,_0x3e1452._0x57034c,_0x3e1452._0x397bbf),'error':_0x48bb1e},_0xdbf1a);}}},_0x22a820=createMcpGenerationLifecycle(async()=>{_0x5488ac();function _0x26e284(_0x221e26,_0x2d830b,_0x4ccae5,_0xaa19f0){return _0x4b10fb(_0x221e26,_0x4ccae5-_0x1931ca._0x330f9d,_0x4ccae5-0x2c,_0xaa19f0-_0x1931ca._0x6e6dae);}function _0x283bde(_0x234801,_0x835bd0,_0x3a37c1,_0x353e20){return _0x51c54c(_0x234801- -0xc2,_0x835bd0-_0x5aba1a._0x5b7655,_0x3a37c1-_0x5aba1a._0x52b0ef,_0x835bd0);}try{await _0x1265ff['close']();}catch(_0x38e059){throw mapOwnedMcpBoundaryError({'serverName':_0x229c32[_0x283bde(0x1f6,0x2db,0x37d,_0x2df252._0x52fa8c)],'operation':_0x283bde(0x3ac,_0x2df252._0x1df0c9,_0x2df252._0x73f18a,0x340),'error':_0x38e059},_0xdbf1a);}});function _0x51c54c(_0x39a25a,_0x33adac,_0xf65b99,_0x4e4e61){return _0x5885dd(_0x39a25a-_0x61976f._0x37aff5,_0x4e4e61,_0xf65b99-0x1f0,_0x39a25a-0xcf);}return{'client':_0x1265ff,'descriptors':_0x974b2d,'lifecycle':_0x22a820,'projectTools'(_0x4b4baf){return projectMcpTools({..._0x4b4baf,'descriptors':_0x974b2d,'client':_0x19b845,'lifecycle':_0x22a820});},'onTerminalError'(_0x151e92){const _0xaba28b={_0x504d21:0xe1,_0x2b15b0:0x14};if(_0x1a3b88)return()=>{};_0x5f724['add'](_0x151e92);const _0x148576=_0x328eed;function _0x204a3b(_0x58982d,_0x1d042c,_0x141cd2,_0xb96650){return _0x4b10fb(_0x141cd2,_0x1d042c-0x3ed,_0x141cd2-_0x4cfd9f._0x1c272b,_0xb96650-_0x4cfd9f._0x2e69ee);}return _0x148576&&queueMicrotask(()=>{function _0x4cfed8(_0x2aa619,_0x21ea0e,_0x4050c4,_0x1da93e){return _0xa933(_0x21ea0e- -0x203,_0x1da93e);}if(_0x5f724[_0x4cfed8(-0x43,_0xaba28b._0x504d21,0x74,_0xaba28b._0x2b15b0)](_0x151e92))_0x151e92(_0x148576);}),()=>_0x5f724[_0x204a3b(0x2aa,0x404,0x578,0x25b)](_0x151e92);},'retire'(){return _0x5488ac(),_0x22a820['retire']();}};}import{stat as _0x51ba39}from'fs/promises';import*as _0x23eeb8 from'path';import{execSync,spawn as _0x551dda}from'child_process';import{existsSync}from'fs';import{stat as _0x31539d}from'fs/promises';import*as _0x3efd46 from'os';import*as _0x1c8eb3 from'path';import{rgPath as _0x4870b8}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x2d8b2b={_0x2ee01f:0xb,_0x4129c1:0x1d,_0x5c514d:0x14b,_0x255552:0x2e0,_0x20b92d:0x268,_0x11adb5:0x120,_0x366e46:0x1bc,_0x3bb228:0x358,_0x224a44:0x137,_0xe6e6f2:0x6b,_0x5923e3:0x33f,_0x2466b2:0x3c2,_0x4ec6d2:0x40b,_0x391698:0x1f2,_0x5179dc:0x1fd,_0xdf30c3:0x11,_0x221232:0x29,_0x4fa646:0x21d,_0x3242a9:0x351,_0x3f2312:0x261,_0x70bee6:0x23c,_0x2d79f8:0x1c3,_0x440e6f:0x1f4,_0x3cb290:0x2a3,_0x395601:0xec,_0x33ceb8:0x5d6,_0x3de3f5:0x415,_0x224b6a:0x1f8,_0x406b2f:0x668,_0x4188d1:0x501,_0x38dd51:0x3e9,_0x2e9e2f:0x705,_0x1b01f2:0x436,_0x4237f6:0x4c8,_0x2aafcb:0x2aa,_0x549dc6:0x6,_0xd28af0:0x7e,_0x27efe7:0x27b,_0x21c977:0xe9,_0x490057:0x10a,_0x585ff2:0x678,_0x3a06ed:0x44f,_0x1aad38:0x145,_0xd83264:0x2ce},_0x2033bf={_0x43533b:0x334},_0x1b5763={_0x261543:0x41},_0x3494ae=_0x3efd46['platform']()===_0x5f549e(-_0x2d8b2b._0x2ee01f,0x8f,-_0x2d8b2b._0x4129c1,-_0x2d8b2b._0x5c514d);function _0x5f549e(_0x55de59,_0x5573ee,_0x16151a,_0x25aed4){return _0x16ac01(_0x55de59-0x65,_0x16151a-_0x1b5763._0x261543,_0x16151a-0xcb,_0x5573ee);}const _0x12d171=_0x3494ae?[_0x1c8eb3[_0x5f549e(0x195,_0x2d8b2b._0x255552,0x247,0x1d7)](process[_0x5f549e(_0x2d8b2b._0x20b92d,_0x2d8b2b._0x11adb5,0x2d1,_0x2d8b2b._0x366e46)]['LOCALAPPDATA']||'',_0x360e74(0x423,0x447,0x245,_0x2d8b2b._0x3bb228),_0x5f549e(0x26a,0xc2,_0x2d8b2b._0x224a44,_0x2d8b2b._0xe6e6f2),_0x360e74(0x11d,0x1f1,_0x2d8b2b._0x5923e3,_0x2d8b2b._0x2466b2)),_0x1c8eb3[_0x5f549e(0x1bc,0x4c,0x247,_0x2d8b2b._0x4ec6d2)](process['env'][_0x5f549e(_0x2d8b2b._0x391698,_0x2d8b2b._0x5179dc,_0x2d8b2b._0xdf30c3,-_0x2d8b2b._0x221232)]||'',_0x5f549e(_0x2d8b2b._0x4fa646,_0x2d8b2b._0x3242a9,_0x2d8b2b._0x3f2312,0x428),_0x360e74(0x654,0x5db,0x548,0x709)),_0x1c8eb3[_0x5f549e(0x35b,0xa7,0x247,_0x2d8b2b._0x70bee6)](process[_0x5f549e(0x32b,_0x2d8b2b._0x2d79f8,0x2d1,_0x2d8b2b._0x440e6f)][_0x5f549e(_0x2d8b2b._0x3cb290,-0x117,_0x2d8b2b._0x395601,-0x99)]||'',_0x360e74(_0x2d8b2b._0x33ceb8,0x554,0x4e2,_0x2d8b2b._0x3de3f5),_0x5f549e(_0x2d8b2b._0x224b6a,0x1f1,0x2e8,0x39a))]:[_0x5f549e(-0x1f1,0x1f,-0x5f,-0x1fc),_0x360e74(_0x2d8b2b._0x406b2f,_0x2d8b2b._0x4188d1,0x41e,_0x2d8b2b._0x38dd51),_0x360e74(_0x2d8b2b._0x2e9e2f,0x550,_0x2d8b2b._0x1b01f2,_0x2d8b2b._0x4237f6),'/bin/rg'];for(const _0x18b4eb of _0x12d171){if(existsSync(_0x18b4eb))return _0x18b4eb;}function _0x360e74(_0x34a452,_0x2041b3,_0x53d60d,_0x44aad2){return _0x16ac01(_0x34a452-0x5b,_0x2041b3-_0x2033bf._0x43533b,_0x53d60d-0x181,_0x44aad2);}try{const _0x50fe7d=_0x3494ae?_0x5f549e(_0x2d8b2b._0x2aafcb,0x29c,0x264,0x254):_0x360e74(0x251,0x249,0x2c6,0x3d5),_0x36b479=execSync(_0x50fe7d,{'encoding':_0x5f549e(0x245,-_0x2d8b2b._0x549dc6,0x7c,-_0x2d8b2b._0xd28af0),'stdio':['pipe',_0x5f549e(-0xe4,_0x2d8b2b._0x27efe7,_0x2d8b2b._0x21c977,_0x2d8b2b._0x490057),'ignore']})[_0x360e74(_0x2d8b2b._0x585ff2,0x46a,0x486,0x65e)]()[_0x5f549e(_0x2d8b2b._0x3a06ed,_0x2d8b2b._0x1aad38,_0x2d8b2b._0xd83264,0x295)](/\r?\n/)[0x0];if(_0x36b479&&existsSync(_0x36b479))return _0x36b479;}catch{return null;}return null;}async function filepath(){if(cachedRgPath)return cachedRgPath;if(_0x4870b8&&existsSync(_0x4870b8))return cachedRgPath=_0x4870b8,_0x4870b8;const _0x1611ac=findSystemRipgrep();if(!_0x1611ac)throw new Error('ripgrep\x20executable\x20not\x20found.\x20Install\x20rg\x20to\x20use\x20Glob\x20and\x20Grep\x20tools.');return cachedRgPath=_0x1611ac,_0x1611ac;}async function*files(_0x200d53){const _0x20dbbf={_0x53344c:0xa5,_0x3e6f02:0x229,_0x31aa45:0xf8,_0x10078c:0x355,_0x162929:0xbc,_0x2c3959:0x153,_0x2bb743:0x61,_0x4f915c:0xd,_0x5e0749:0xc9,_0x1b688a:0xf1,_0x149821:0x82,_0x302cdd:0x3a6,_0x539be5:0x127,_0x3a306b:0x189,_0x2972c0:0x55,_0x21141a:0x310,_0x5560e5:0x145,_0x108c41:0x1c4,_0x2c5af8:0x14e,_0xcc241d:0x62,_0x1f24cd:0xd,_0x487b6c:0xd2,_0x3cfb0a:0x29b,_0x502ff4:0x1a6,_0xfd8cfc:0x238,_0x206998:0x41a,_0x438bd7:0x213,_0x3c7925:0x29,_0x4b1af5:0x23,_0x542a24:0x5f,_0x630604:0x220,_0x58d832:0x27,_0x5016ab:0xfa,_0x159f29:0xe7,_0x2a9898:0x8b,_0x2da7ff:0x27f,_0x3f81a0:0x8a,_0x384a7c:0x3ce,_0x1e6c02:0x114,_0x3e7c14:0x10f,_0x4c1c1f:0x7f,_0x4df33d:0x84,_0x19b112:0x21,_0x515a44:0x118,_0x55563c:0xd4,_0x447641:0x1c4},_0x240178={_0x25f543:0x11d,_0x2136a6:0x1c4},_0x53d88a={_0x2e494f:0x1bb},_0x52b081=await filepath(),_0x14f3bb=await _0x31539d(_0x200d53[_0x491ee8(-0x16b,-_0x20dbbf._0x53344c,-_0x20dbbf._0x3e6f02,-0x23)])[_0x491ee8(0xb5,0x187,_0x20dbbf._0x31aa45,0x1f4)](()=>null);if(!_0x14f3bb?.[_0x491ee8(_0x20dbbf._0x10078c,-_0x20dbbf._0x162929,0x21e,_0x20dbbf._0x2c3959)]())throw Object[_0x491ee8(-0x4a,_0x20dbbf._0x2bb743,-_0x20dbbf._0x4f915c,-0x3f)](new Error(_0x491ee8(0x31d,0x3ac,_0x20dbbf._0x5e0749,0x25f)+_0x200d53[_0x491ee8(-_0x20dbbf._0x1b688a,_0x20dbbf._0x149821,0x58,-0x23)]+'\x27'),{'code':'ENOENT'});function _0x491ee8(_0x23db64,_0x5c9570,_0x345526,_0x48e8d1){return _0x5885dd(_0x23db64-_0x53d88a._0x2e494f,_0x345526,_0x345526-0x157,_0x48e8d1- -0x1b7);}function _0xa07228(_0x2e056a,_0x2f873b,_0x15a57c,_0x49dd29){return _0x16ac01(_0x2e056a-0x13d,_0x49dd29- -_0x240178._0x25f543,_0x15a57c-_0x240178._0x2136a6,_0x2e056a);}const _0x330592=[_0xa07228(-0x1bf,-_0x20dbbf._0x302cdd,0x24,-0x190),_0xa07228(0x4e,0xf1,0x8e,0x15a),_0xa07228(-_0x20dbbf._0x539be5,_0x20dbbf._0x3a306b,-0x11b,-_0x20dbbf._0x2972c0),_0x491ee8(_0x20dbbf._0x21141a,0xcb,_0x20dbbf._0x5560e5,_0x20dbbf._0x108c41)];for(const _0x5b99e4 of _0x200d53[_0x491ee8(_0x20dbbf._0x2c5af8,-_0x20dbbf._0xcc241d,_0x20dbbf._0x1f24cd,_0x20dbbf._0x487b6c)]??[]){_0x330592[_0xa07228(-0xa6,-0x22c,-_0x20dbbf._0x3cfb0a,-_0x20dbbf._0x502ff4)](_0xa07228(-_0x20dbbf._0xfd8cfc,-0x12a,-_0x20dbbf._0x206998,-_0x20dbbf._0x438bd7)+_0x5b99e4);}const _0x4a3a34=_0x551dda(_0x52b081,_0x330592,{'cwd':_0x200d53[_0x491ee8(0x25,_0x20dbbf._0x3c7925,-0x19c,-_0x20dbbf._0x4b1af5)],'stdio':[_0xa07228(-0x10e,-0x21e,-_0x20dbbf._0x542a24,-_0x20dbbf._0x630604),_0x491ee8(_0x20dbbf._0x58d832,_0x20dbbf._0x5016ab,-0x74,0x180),'pipe']});let _0xf7dfc8='';for await(const _0x5981ca of _0x4a3a34[_0xa07228(-0x27b,-0x1dc,-_0x20dbbf._0x159f29,-_0x20dbbf._0x2a9898)]??[]){_0xf7dfc8+=_0x5981ca[_0x491ee8(-0x2d,_0x20dbbf._0x2da7ff,-0x84,_0x20dbbf._0x3f81a0)]();const _0x4e7925=_0xf7dfc8['split'](/\r?\n/);_0xf7dfc8=_0x4e7925['pop']()??'';for(const _0x35bef6 of _0x4e7925){if(_0x35bef6[_0xa07228(0x15b,-0x6c,-0xb6,-0x21)]>0x0)yield _0x35bef6;}}_0xf7dfc8[_0x491ee8(_0x20dbbf._0x384a7c,0xc4,_0x20dbbf._0x1e6c02,0x20e)]()[_0xa07228(-_0x20dbbf._0x3e7c14,_0x20dbbf._0x4c1c1f,_0x20dbbf._0x4df33d,-_0x20dbbf._0x19b112)]>0x0&&(yield _0xf7dfc8[_0xa07228(-_0x20dbbf._0x515a44,_0x20dbbf._0x55563c,-_0x20dbbf._0x447641,0x19)]());}function objectValue(_0x2f3802){return typeof _0x2f3802==='object'&&_0x2f3802!==null?_0x2f3802:void 0x0;}function decodeRipgrepText(_0x35fd2d){const _0x35e439={_0x1d6167:0x15c,_0x54689b:0x14c,_0x4efb39:0x17b,_0x2cbb5a:0x364,_0x34767e:0x197,_0x1f57d2:0x378,_0x2c8d8c:0x343,_0x5f4741:0x153,_0x5541b4:0x45a,_0x18b40c:0x50b,_0x856574:0x35d,_0x7ace3b:0xb0,_0x423a06:0x2ea,_0x4eb499:0xf4},_0x13d391={_0x1f7b50:0x131},_0x4b410f={_0x23c973:0x142};function _0x37dac5(_0x5e09cc,_0x1d02f7,_0x4bd945,_0x370e8f){return _0x16ac01(_0x5e09cc-0xd1,_0x4bd945-_0x4b410f._0x23c973,_0x4bd945-0x143,_0x5e09cc);}function _0x21fd93(_0x203089,_0x150f93,_0x119928,_0x9cd2b5){return _0x5885dd(_0x203089-0xb4,_0x203089,_0x119928-0x42,_0x150f93- -_0x13d391._0x1f7b50);}const _0x3ff7c7=objectValue(_0x35fd2d);if(typeof _0x3ff7c7?.[_0x37dac5(_0x35e439._0x1d6167,_0x35e439._0x54689b,_0x35e439._0x4efb39,0x177)]==='string')return _0x3ff7c7[_0x21fd93(_0x35e439._0x2cbb5a,_0x35e439._0x34767e,0x38b,_0x35e439._0x1f57d2)];if(typeof _0x3ff7c7?.[_0x21fd93(0x1b6,_0x35e439._0x2c8d8c,0x232,_0x35e439._0x5f4741)]===_0x37dac5(0x534,_0x35e439._0x5541b4,0x399,_0x35e439._0x18b40c))return Buffer[_0x37dac5(_0x35e439._0x856574,0x315,0x259,_0x35e439._0x7ace3b)](_0x3ff7c7['bytes'],_0x37dac5(0x42a,0xe3,0x25a,0x11b))[_0x37dac5(_0x35e439._0x423a06,-0x6f,_0x35e439._0x4eb499,0x2f4)]('utf8');return void 0x0;}function parseMatchLine(_0x10cbc2,_0x928a41){const _0x27e203={_0x2bf60d:0x564,_0x4834e6:0x416,_0x203d9d:0x358,_0x558a32:0x410,_0x5c3890:0x252,_0x81d08:0x3ea,_0x3e28f3:0x49a,_0x1bde21:0x4d7,_0x503ed3:0x503,_0x1bc3b3:0x6be,_0x32db98:0x5c5,_0x26cad1:0x35a,_0x342739:0x1ef,_0x26bd12:0x516,_0x302043:0x725,_0x47afb4:0x62c,_0x504bcc:0x4af,_0xf85217:0x52a,_0x5e6543:0x38b,_0x6a4990:0x739,_0x5355fb:0x47b,_0x528eec:0x5e0,_0x128aa7:0x7b1,_0x32a860:0x5d9,_0x1aeba9:0x6fb,_0x290884:0x58f,_0x2a4a7b:0x523,_0x32d5ed:0x23a,_0x1a9993:0x2c5,_0x12821a:0x5f8},_0x50307d={_0x3440ca:0x105},_0x25c6bc={_0xff9d99:0x144};function _0x39668c(_0x465697,_0x9e82b7,_0xc63033,_0x52b7b5){return _0x5885dd(_0x465697-_0x25c6bc._0xff9d99,_0x52b7b5,_0xc63033-0xc3,_0x9e82b7-0x164);}if(_0x10cbc2[_0xe4b795(_0x27e203._0x2bf60d,_0x27e203._0x4834e6,0x429,0x280)]===0x0)return null;const _0x181d8e=objectValue(JSON[_0x39668c(_0x27e203._0x203d9d,0x436,0x28d,_0x27e203._0x558a32)](_0x10cbc2));if(_0x181d8e?.[_0x39668c(_0x27e203._0x5c3890,_0x27e203._0x81d08,0x202,0x209)]!==_0xe4b795(_0x27e203._0x3e28f3,0x376,_0x27e203._0x1bde21,0x273)&&_0x181d8e?.['type']!==_0x39668c(_0x27e203._0x503ed3,_0x27e203._0x1bc3b3,0x77e,_0x27e203._0x32db98))return null;const _0x3a6223=objectValue(_0x181d8e[_0xe4b795(0x277,_0x27e203._0x26cad1,0x30b,_0x27e203._0x342739)]);function _0xe4b795(_0x55120f,_0x776a4b,_0x118281,_0xb7b6bb){return _0x16ac01(_0x55120f-0x1ef,_0x776a4b-0x31a,_0x118281-_0x50307d._0x3440ca,_0x118281);}const _0x39ee9d=decodeRipgrepText(_0x3a6223?.[_0xe4b795(0x58a,_0x27e203._0x26bd12,0x41b,0x490)]),_0xf4c859=decodeRipgrepText(_0x3a6223?.[_0x39668c(_0x27e203._0x302043,_0x27e203._0x47afb4,_0x27e203._0x504bcc,_0x27e203._0xf85217)]),_0x4f3833=_0x3a6223?.[_0xe4b795(0x50a,0x4d2,0x4da,0x57a)];if(_0x39ee9d===void 0x0||_0xf4c859===void 0x0||typeof _0x4f3833!==_0xe4b795(0x298,_0x27e203._0x5e6543,0x432,0x545))throw new Error(_0xe4b795(_0x27e203._0x6a4990,0x5cd,_0x27e203._0x5355fb,0x5a5));return{'filePath':_0x1c8eb3[_0x39668c(0x44e,_0x27e203._0x528eec,_0x27e203._0x128aa7,_0x27e203._0x32a860)](_0x39ee9d)?_0x39ee9d:_0x1c8eb3[_0x39668c(0x7c9,0x65e,0x6eb,_0x27e203._0x1aeba9)](_0x928a41,_0x39ee9d),'lineNum':_0x4f3833,'lineText':_0xf4c859[_0x39668c(0x5cb,0x6cd,_0x27e203._0x290884,_0x27e203._0x2a4a7b)](/\r?\n$/,''),..._0x181d8e[_0xe4b795(_0x27e203._0x32d5ed,0x311,0x39e,_0x27e203._0x1a9993)]===_0x39668c(_0x27e203._0x12821a,_0x27e203._0x1bc3b3,0x5dc,0x54c)?{'isContext':!![]}:{}};}async function search(_0x352c15){const _0x4ff39c={_0xa45d6e:0x3d9,_0x21ea2e:0x286,_0x11b83e:0x84b,_0x194c96:0x266,_0x127f8a:0x154,_0x4cfc2e:0x383,_0x32de68:0x31a,_0x5087a2:0x90,_0xf25457:0x76,_0x18b81d:0x5a7,_0x1fa996:0x55d,_0x7342c2:0x10a,_0x43c024:0x166,_0x45e4ec:0x6a1,_0x10f9a9:0x7e4,_0x31092d:0xa3,_0x1d94fa:0xcc,_0xa65c86:0x46,_0x11392b:0x17c,_0xbd669a:0x7a,_0x53bfe1:0x71f,_0x3e0027:0x7a9,_0x2819d9:0x789,_0x1ae4c6:0x54,_0x3415e0:0x249,_0x513eaf:0x47c,_0x4f3dc5:0x3de,_0x94f368:0x966,_0x1a1f0f:0x9ea,_0x10708c:0x6f5,_0x50c1d3:0x15c,_0x581e0e:0x16d,_0x32f21f:0x539,_0x3e946a:0x5a5,_0x3d0360:0x842,_0x1e2f41:0x7ad,_0x42dfb1:0x5e8,_0x473a16:0x81d,_0x3ee94e:0x6d5,_0x497951:0x64c,_0x17ef92:0x688,_0x3da5c8:0x963,_0x5c933e:0x842,_0xbbf07f:0x868,_0x178915:0x7eb,_0x352359:0x5a7,_0x1fbf97:0x3ab,_0x26f4be:0x177,_0xc35ba8:0x332,_0x17e29f:0x189,_0x3e9c03:0x337,_0x473f0d:0x67c,_0x54ecc0:0x571,_0x3c7746:0x90,_0x43af8f:0xa5,_0x3dfc6a:0x600,_0x41d2e1:0x4ee,_0x343fe0:0x5b4,_0x4a3e3c:0x471,_0x474f80:0x65,_0x1da72f:0x0,_0x2cdb99:0x60c,_0x191399:0x4ee,_0x4582ff:0x2eb,_0x467a0f:0x458,_0x271014:0x191,_0x50a66b:0x1f9,_0x3c9dc5:0x33e,_0xdb74b4:0x16,_0x2f66ae:0x85},_0x1c4ec4={_0x11ef2a:0x307,_0x58240d:0xe5,_0x38639b:0x3f8,_0x4e9565:0x4aa,_0x4ee7d2:0x1c2,_0x473e1f:0x3b4,_0x4586fc:0x3c4,_0xccd0f8:0x165},_0x2db24b={_0x20bcc5:0x526,_0x1233de:0x3aa,_0x511cbf:0x432},_0x521bcb={_0x2bd3db:0xd0,_0xaf14b3:0x60,_0x3906df:0x1d2},_0x2dd18c={_0x148853:0x1e5};function _0x3834df(_0x56e5b4,_0x29c218,_0x562239,_0x36ce39){return _0x16ac01(_0x56e5b4-0xe2,_0x29c218-0x577,_0x562239-_0x2dd18c._0x148853,_0x36ce39);}if(_0x352c15[_0x5afc8b(_0x4ff39c._0xa45d6e,0x217,0x1f9,_0x4ff39c._0x21ea2e)]!==void 0x0&&_0x352c15[_0x3834df(0x451,0x5a7,0x637,0x44a)]!==void 0x0)throw new Error('Ripgrep.search\x20accepts\x20either\x20file\x20or\x20files,\x20not\x20both');if(_0x352c15[_0x3834df(0x509,0x710,_0x4ff39c._0x11b83e,0x547)]){const _0x38c485=await _0x31539d(_0x352c15['file'])['catch'](()=>null);if(!_0x38c485?.[_0x5afc8b(_0x4ff39c._0x194c96,_0x4ff39c._0x127f8a,0x166,0x26e)]())throw Object['assign'](new Error('No\x20such\x20file:\x20\x27'+_0x352c15['file']+'\x27'),{'code':_0x5afc8b(_0x4ff39c._0x4cfc2e,0x15e,_0x4ff39c._0x32de68,0x3c6)});}else{if(_0x352c15[_0x5afc8b(0x4c,0x14a,_0x4ff39c._0x5087a2,-_0x4ff39c._0xf25457)]!==void 0x0)for(const _0x2d7abe of _0x352c15[_0x3834df(0x477,_0x4ff39c._0x18b81d,0x569,_0x4ff39c._0x1fa996)]){if(!_0x1c8eb3['isAbsolute'](_0x2d7abe))throw new Error('Ripgrep.search\x20explicit\x20files\x20must\x20be\x20absolute:\x20\x27'+_0x2d7abe+'\x27');const _0x188b61=await _0x31539d(_0x2d7abe)['catch'](()=>null);if(!_0x188b61?.[_0x5afc8b(0xf4,_0x4ff39c._0x7342c2,_0x4ff39c._0x43c024,0x316)]())throw Object['assign'](new Error(_0x3834df(0x7e6,_0x4ff39c._0x45e4ec,0x629,_0x4ff39c._0x10f9a9)+_0x2d7abe+'\x27'),{'code':'ENOENT'});}else{const _0x5909fb=await _0x31539d(_0x352c15[_0x5afc8b(_0x4ff39c._0x31092d,-0x294,-0x9b,-_0x4ff39c._0x1d94fa)])[_0x5afc8b(-_0x4ff39c._0xa65c86,0x382,_0x4ff39c._0x11392b,_0x4ff39c._0xbd669a)](()=>null);if(!_0x5909fb?.[_0x3834df(_0x4ff39c._0x53bfe1,0x5f2,_0x4ff39c._0x3e0027,_0x4ff39c._0x2819d9)]())throw Object['assign'](new Error(_0x5afc8b(0x90,_0x4ff39c._0x1ae4c6,0x1e7,_0x4ff39c._0x3415e0)+_0x352c15[_0x3834df(0x45b,_0x4ff39c._0x513eaf,0x564,_0x4ff39c._0x4f3dc5)]+'\x27'),{'code':_0x3834df(_0x4ff39c._0x94f368,0x831,_0x4ff39c._0x1a1f0f,_0x4ff39c._0x10708c)});}}if(_0x352c15[_0x5afc8b(-0x5,0x1db,0x90,0x7d)]?.[_0x5afc8b(0x223,0x324,_0x4ff39c._0x50c1d3,_0x4ff39c._0x581e0e)]===0x0)return[];const _0x8fb637=await filepath(),_0x576e24=[_0x3834df(_0x4ff39c._0x32f21f,_0x4ff39c._0x3e946a,0x67c,0x73a),'--regexp',_0x352c15[_0x5afc8b(0x36d,0x35,0x1aa,0x1de)]],_0x2d563c=typeof _0x352c15[_0x3834df(0x6d6,_0x4ff39c._0x3d0360,_0x4ff39c._0x1e2f41,0x8f7)]===_0x3834df(0x7c8,_0x4ff39c._0x42dfb1,0x42d,0x497)&&_0x352c15[_0x3834df(_0x4ff39c._0x473a16,0x842,_0x4ff39c._0x3ee94e,_0x4ff39c._0x497951)]>0x0;_0x2d563c&&_0x576e24[_0x3834df(_0x4ff39c._0x17ef92,0x4ee,0x31d,0x2fc)]('-C',String(_0x352c15[_0x3834df(_0x4ff39c._0x3da5c8,_0x4ff39c._0x5c933e,_0x4ff39c._0xbbf07f,_0x4ff39c._0x178915)]));function _0x5afc8b(_0x4a65a6,_0xce7feb,_0xc9b4a4,_0x59d852){return _0x16ac01(_0x4a65a6-_0x521bcb._0x2bd3db,_0xc9b4a4-_0x521bcb._0xaf14b3,_0xc9b4a4-_0x521bcb._0x3906df,_0x4a65a6);}return _0x352c15['glob']&&!_0x352c15[_0x5afc8b(0x293,0x34e,0x1f9,0x2b8)]&&_0x352c15[_0x3834df(0x4d8,_0x4ff39c._0x352359,_0x4ff39c._0x1fbf97,0x3cf)]===void 0x0&&_0x576e24[_0x5afc8b(-0x158,_0x4ff39c._0x26f4be,-0x29,0x41)](_0x5afc8b(_0x4ff39c._0xc35ba8,0x2ff,_0x4ff39c._0x17e29f,_0x4ff39c._0x3e9c03),_0x352c15[_0x3834df(_0x4ff39c._0x473f0d,_0x4ff39c._0x54ecc0,0x599,0x54c)]),_0x352c15[_0x5afc8b(0x103,-0x160,_0x4ff39c._0x3c7746,_0x4ff39c._0x43af8f)]!==void 0x0?_0x576e24[_0x3834df(_0x4ff39c._0x3dfc6a,_0x4ff39c._0x41d2e1,_0x4ff39c._0x343fe0,_0x4ff39c._0x4a3e3c)](..._0x352c15[_0x5afc8b(-_0x4ff39c._0x474f80,0x224,_0x4ff39c._0x5087a2,_0x4ff39c._0x1da72f)]):_0x576e24[_0x3834df(_0x4ff39c._0x2cdb99,_0x4ff39c._0x191399,_0x4ff39c._0x4582ff,_0x4ff39c._0x467a0f)](_0x352c15[_0x5afc8b(_0x4ff39c._0x271014,0x36a,_0x4ff39c._0x50a66b,_0x4ff39c._0x3c9dc5)]??_0x352c15[_0x5afc8b(0x13a,-_0x4ff39c._0xdb74b4,-0x9b,-_0x4ff39c._0x2f66ae)]),await new Promise((_0x1fc4d7,_0x5566ea)=>{const _0x5e1334={_0x32478c:0x434,_0x432755:0x4dc,_0x16b3f8:0x627,_0x3d7fb0:0x638,_0x56a82:0x76d,_0x2a0070:0x97f,_0x233dc5:0x65d,_0x4d323c:0x47a,_0x35976c:0x64e,_0x6ccda6:0x51e,_0x4d0b41:0x6fa,_0x2ec1b1:0x7f0,_0x5c1534:0x595,_0x3497a4:0x8e5,_0x191a25:0x467,_0x438d3d:0x4de,_0x56e304:0x565,_0x50738:0x4d2,_0x197f5f:0x64b,_0x546cb6:0x6d1,_0x3dbf4a:0x8ed,_0x4af075:0x8f5,_0x1422b3:0x6cd,_0x582a42:0x6aa,_0x614dea:0x500,_0x1e4c6c:0x65f},_0x3ebfcf={_0xb758bd:0x2d,_0x1afda5:0x263},_0x2f4c95={_0x147730:0x1dc,_0x228f13:0x13c,_0x315155:0x245},_0x57933d={_0x191bce:0xf4},_0x5e384b={_0x90d70b:0x4a9},_0x10a102={_0x1e8494:0xd6,_0x4068f0:0x13e},_0x68a3f1={_0x103669:0x4,_0xe7cda3:0x1d6},_0x38917c=_0x551dda(_0x8fb637,_0x576e24,{'cwd':_0x352c15['cwd'],'stdio':['ignore','pipe',_0x1d2562(_0x1c4ec4._0x11ef2a,0x296,0x2d,0x104)]});let _0x2a4194='',_0x804e22='';function _0x1d2562(_0x468e2a,_0x18a574,_0x15f2b6,_0x4f18bf){return _0x5afc8b(_0x468e2a,_0x18a574-0x5e,_0x4f18bf- -_0x68a3f1._0x103669,_0x4f18bf-_0x68a3f1._0xe7cda3);}_0x38917c[_0x1d2562(0x2e4,0x108,-_0x1c4ec4._0x58240d,0xee)]?.['on'](_0x699f2d(0x468,_0x1c4ec4._0x38639b,0x3b4,_0x1c4ec4._0x4e9565),_0x3ea3b0=>{function _0x543a88(_0x2bee50,_0x10c31e,_0x5dda79,_0x1ee96c){return _0x1d2562(_0x2bee50,_0x10c31e-_0x10a102._0x1e8494,_0x5dda79-_0x10a102._0x4068f0,_0x5dda79-0x3c0);}_0x2a4194+=_0x3ea3b0[_0x543a88(0x3e6,_0x5e384b._0x90d70b,0x3ce,0x525)]();});function _0x699f2d(_0x230c8a,_0x2d41e5,_0x32a158,_0x3cf7c9){return _0x5afc8b(_0x3cf7c9,_0x2d41e5-_0x57933d._0x191bce,_0x32a158-0x314,_0x3cf7c9-0x2a);}_0x38917c[_0x699f2d(0x3b1,0x352,0x494,0x49e)]?.['on'](_0x699f2d(_0x1c4ec4._0x4ee7d2,0x23b,_0x1c4ec4._0x473e1f,_0x1c4ec4._0x4586fc),_0x32441e=>{const _0x2181a0={_0x1a5aac:0xe0,_0x489118:0x145,_0x5200ab:0x518};function _0x5c796b(_0x10bcbc,_0x1398e5,_0x411102,_0x1724b5){return _0x1d2562(_0x10bcbc,_0x1398e5-_0x2181a0._0x1a5aac,_0x411102-_0x2181a0._0x489118,_0x1398e5-_0x2181a0._0x5200ab);}_0x804e22+=_0x32441e[_0x5c796b(0x637,_0x2db24b._0x20bcc5,_0x2db24b._0x1233de,_0x2db24b._0x511cbf)]();}),_0x38917c['on'](_0x1d2562(_0x1c4ec4._0xccd0f8,0xb8,0x37b,0x16c),_0xab32ab=>{const _0x3322e0={_0x117587:0xf8,_0x521ac5:0xaf,_0x475d77:0x2e,_0x2d54c:0x116},_0x42dcc0={_0x3e4582:0x12,_0x9caa20:0x10};if(_0xab32ab===0x1&&_0x2a4194===''){_0x1fc4d7([]);return;}if(_0xab32ab!==0x0&&_0xab32ab!==0x1){_0x5566ea(new Error('ripgrep\x20failed:\x20'+_0x804e22));return;}function _0x37429a(_0x510e62,_0x1f5127,_0x2c187f,_0x32dc2c){return _0x699f2d(_0x510e62-_0x2f4c95._0x147730,_0x1f5127-_0x2f4c95._0x228f13,_0x2c187f-_0x2f4c95._0x315155,_0x32dc2c);}const _0x57e3c9=[];try{for(const _0x51c81e of _0x2a4194['split'](/\r?\n/)){const _0x5e0edc=parseMatchLine(_0x51c81e,_0x352c15[_0x406fff(_0x5e1334._0x32478c,0x5ba,_0x5e1334._0x432755,0x607)]);if(_0x5e0edc)_0x57e3c9['push'](_0x5e0edc);}}catch(_0x5180f0){_0x5566ea(_0x5180f0);return;}const _0x5a4de0=_0x352c15[_0x37429a(0x8cd,_0x5e1334._0x16b3f8,0x7e2,0x631)]??0x64,_0xcc4d85=Number[_0x37429a(_0x5e1334._0x3d7fb0,0x601,_0x5e1334._0x56a82,_0x5e1334._0x2a0070)](_0x5a4de0)?Math['max'](0x0,Math[_0x37429a(_0x5e1334._0x233dc5,_0x5e1334._0x4d323c,_0x5e1334._0x35976c,0x572)](_0x5a4de0)):0x64,_0x55194f=_0x57e3c9[_0x406fff(0x5ef,0x591,_0x5e1334._0x6ccda6,_0x5e1334._0x4d0b41)](_0x1eb715=>!_0x1eb715['isContext']);if(_0x55194f[_0x406fff(_0x5e1334._0x2ec1b1,_0x5e1334._0x5c1534,0x6d3,_0x5e1334._0x3497a4)]<=_0xcc4d85){_0x1fc4d7(_0x57e3c9);return;}const _0x48b1de=_0x55194f[_0x37429a(0x5c9,_0x5e1334._0x191a25,0x4bb,_0x5e1334._0x438d3d)](0x0,_0xcc4d85);function _0x406fff(_0x4314c5,_0x485873,_0xb1fa08,_0x53d2b4){return _0x699f2d(_0x4314c5-0x72,_0x485873-_0x3ebfcf._0xb758bd,_0xb1fa08-_0x3ebfcf._0x1afda5,_0x485873);}const _0x5200c7=new Set(_0x48b1de),_0x225b85=_0x2d563c?Math[_0x406fff(0x448,0x6c8,_0x5e1334._0x56e304,0x3fa)](0x0,Math[_0x37429a(_0x5e1334._0x50738,_0x5e1334._0x197f5f,0x64e,0x73a)](_0x352c15[_0x37429a(_0x5e1334._0x546cb6,_0x5e1334._0x3dbf4a,0x884,_0x5e1334._0x4af075)]??0x0)):0x0;_0x1fc4d7(_0x57e3c9[_0x37429a(_0x5e1334._0x1422b3,_0x5e1334._0x582a42,_0x5e1334._0x614dea,_0x5e1334._0x1e4c6c)](_0x4783a4=>{const _0x46b81f={_0x5b60eb:0x5f5};function _0x23b82d(_0x386c72,_0x26e3d3,_0x3c7d71,_0xb2dade){return _0x37429a(_0x386c72-0x24,_0x26e3d3-0x78,_0x3c7d71- -_0x46b81f._0x5b60eb,_0x26e3d3);}if(!_0x4783a4['isContext'])return _0x5200c7[_0x23b82d(_0x3322e0._0x117587,-0x57,-0xb,-_0x3322e0._0x521ac5)](_0x4783a4);function _0x4e6a2a(_0x4bd9bd,_0x1c7a2a,_0x49eadd,_0x4af17c){return _0x406fff(_0x4bd9bd-_0x42dcc0._0x3e4582,_0x49eadd,_0x4af17c- -0x10a,_0x4af17c-_0x42dcc0._0x9caa20);}return _0x48b1de[_0x23b82d(_0x3322e0._0x475d77,-0xab,_0x3322e0._0x2d54c,0x3f)](_0x48305d=>_0x48305d[_0x4e6a2a(0x5b4,0x653,0x646,0x70a)]===_0x4783a4['filePath']&&Math[_0x23b82d(0x11f,0x98,0xcb,0x111)](_0x48305d[_0x23b82d(0x37a,0x1ae,0x270,0x8a)]-_0x4783a4[_0x23b82d(0x30e,0x38f,0x270,0x30b)])<=_0x225b85);}));}),_0x38917c['on']('error',_0x5566ea);});}function createGlobTool(_0x1deda9={}){const _0x3dc2f1={_0x5e6e8a:0x36a,_0x4a1237:0x43,_0x37cd2c:0x19f,_0x3d1fbd:0x3c8,_0x16d975:0x20c,_0x472672:0x19d,_0x37a0c6:0x328,_0x31cd91:0x34a,_0x6a1e41:0x45,_0x438044:0xba,_0x3ed457:0x137,_0x5d36e8:0x192,_0x590053:0x21f,_0x4afd07:0x386,_0x2da43f:0x526,_0x19599a:0x3cf,_0x1b98dd:0x3ee,_0x4fd35b:0x38a,_0x524a87:0x1a4,_0x22386b:0x249,_0x498802:0x27d},_0x13c0f6={_0x1e3d80:0x267,_0x3e6d07:0x1b6,_0x23881a:0x8c,_0xe5bf7f:0x28c,_0x485b7c:0x20,_0x7f399f:0x168,_0x2bdc75:0x35,_0x4aa235:0x539,_0x588701:0x77e,_0x144b7f:0x5d1,_0x1155c7:0x1ac,_0x1d1a31:0x3f5,_0xc5cfce:0x141,_0x28e54a:0x137,_0x56f26e:0x268,_0x2001b9:0x6b3,_0x4d761f:0x748,_0x54c5c4:0x83,_0x3fb644:0x6f5,_0x58e4cf:0x46a,_0x2bfb80:0x61b,_0x19d545:0x327,_0x2ee19e:0x89,_0x52ce93:0x1b5,_0x56ad18:0x1d,_0x514138:0xa9,_0x5a50ae:0x52,_0x33b440:0x84e,_0x1a5965:0x800,_0x6e5fb4:0x74a,_0x201263:0xda,_0x587494:0x9d,_0x95e83b:0xd5,_0x1369a6:0x83,_0x10016a:0xcc,_0x21cd18:0x57f,_0x4521a2:0x61b,_0x5b03e1:0x7e7,_0x161274:0x669,_0x1d82b5:0x2c4,_0x48a36c:0x1b1,_0x555e9b:0x69d,_0x316118:0x551,_0x1e4744:0x16a,_0x5277ce:0x1c5,_0x4326ce:0x1c7,_0x595b50:0x16},_0xd9eeb7={_0xfca665:0xff},_0x4a2268={_0x431a6e:0x15c};function _0xefdf9b(_0xaa4842,_0x52f2db,_0x3932f6,_0x1a32b5){return _0x5885dd(_0xaa4842-0xe7,_0xaa4842,_0x3932f6-0x190,_0x1a32b5- -_0x4a2268._0x431a6e);}const _0x166345=_0x23eeb8[_0x5d7c9a(0x24e,0x41a,0x1e6,_0x3dc2f1._0x5e6e8a)](_0x1deda9[_0xefdf9b(0x9d,0x2a2,0x19c,0x210)]??process['cwd']()),_0x54a004=_0x1deda9[_0xefdf9b(0x350,-_0x3dc2f1._0x4a1237,0x60,_0x3dc2f1._0x37cd2c)]??[],_0x41e0cb=_0x1deda9[_0x5d7c9a(_0x3dc2f1._0x3d1fbd,_0x3dc2f1._0x16d975,_0x3dc2f1._0x472672,_0x3dc2f1._0x37a0c6)]??0x64,_0x35a3fe=_0x1deda9[_0xefdf9b(0x4dc,0x3b4,0x281,_0x3dc2f1._0x31cd91)]??_0x5d7c9a(-0x165,_0x3dc2f1._0x6a1e41,_0x3dc2f1._0x438044,-0x35);function _0x5d7c9a(_0x4bcbd3,_0x322f0a,_0x18918e,_0x32496a){return _0x16ac01(_0x4bcbd3-0xe9,_0x32496a-_0xd9eeb7._0xfca665,_0x18918e-0xbb,_0x322f0a);}return defineTool({'name':_0x35a3fe,'permissionClass':_0x5d7c9a(_0x3dc2f1._0x3ed457,0x2cd,_0x3dc2f1._0x5d36e8,0x1cf),'description':_0x5d7c9a(0x29d,_0x3dc2f1._0x590053,0x577,_0x3dc2f1._0x4afd07),'inputSchema':{'type':_0xefdf9b(0x457,0x5c0,_0x3dc2f1._0x2da43f,_0x3dc2f1._0x19599a),'properties':{'pattern':{'type':'string'},'path':{'type':_0xefdf9b(0x531,0x407,_0x3dc2f1._0x1b98dd,_0x3dc2f1._0x4fd35b)},'limit':{'type':_0xefdf9b(0xfd,0xe9,0x395,_0x3dc2f1._0x524a87)}},'required':[_0xefdf9b(_0x3dc2f1._0x22386b,0x2e9,0x2ed,_0x3dc2f1._0x498802)]},async *'execute'(_0x312f26){const _0x160a7b={_0x1895c4:0x16},_0x540686={_0x1d301c:0x5e,_0x5b3834:0x0,_0x32ca4c:0x3ec};if(_0x312f26[_0x559aa9(_0x13c0f6._0x1e3d80,_0x13c0f6._0x3e6d07,_0x13c0f6._0x23881a,_0x13c0f6._0xe5bf7f)]['trim']()[_0x559aa9(-_0x13c0f6._0x485b7c,_0x13c0f6._0x7f399f,0xc5,_0x13c0f6._0x2bdc75)]===0x0)throw new ToolExecutionError(_0x4d790c(_0x13c0f6._0x4aa235,_0x13c0f6._0x588701,_0x13c0f6._0x144b7f,0x706),{});const _0x2d8862=resolveAllowedPath(_0x166345,_0x54a004,_0x312f26[_0x559aa9(0xf6,0x268,_0x13c0f6._0x1155c7,_0x13c0f6._0x1d1a31)]??'.'),_0xa4ee59=await _0x51ba39(_0x2d8862)[_0x559aa9(0x179,0x188,0x1e,_0x13c0f6._0xc5cfce)](()=>null);if(!_0xa4ee59?.[_0x559aa9(0x256,0xe7,_0x13c0f6._0x28e54a,0x64)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x312f26['path']??'.'),{'path':_0x312f26[_0x559aa9(0x15c,_0x13c0f6._0x56f26e,0x8f,0x270)]??'.'});function _0x4d790c(_0x5e94a2,_0x6b2b17,_0x56b54b,_0x23896c){return _0xefdf9b(_0x6b2b17,_0x6b2b17-_0x540686._0x1d301c,_0x56b54b-_0x540686._0x5b3834,_0x23896c-_0x540686._0x32ca4c);}const _0x13adaf=_0x312f26[_0x4d790c(0x78c,_0x13c0f6._0x2001b9,0x80f,_0x13c0f6._0x4d761f)]??_0x41e0cb,_0x43825e=Math['max'](0x1,Math[_0x559aa9(_0x13c0f6._0x54c5c4,0x101,0x162,0x1bd)](_0x13adaf));function _0x559aa9(_0x223f49,_0xd9d33,_0x3b940a,_0x447bcc){return _0xefdf9b(_0x3b940a,_0xd9d33-_0x160a7b._0x1895c4,_0x3b940a-0x193,_0xd9d33- -0xc7);}const _0x403d62=[];let _0x432546=![];for await(const _0x1c3441 of files({'cwd':_0x2d8862,'glob':[_0x312f26['pattern']]})){if(_0x403d62[_0x4d790c(_0x13c0f6._0x3fb644,_0x13c0f6._0x58e4cf,0x630,_0x13c0f6._0x2bfb80)]>=_0x43825e){_0x432546=!![];break;}const _0x18f6b5=await _0x51ba39(_0x23eeb8['join'](_0x2d8862,_0x1c3441))[_0x559aa9(_0x13c0f6._0x19d545,0x188,-_0x13c0f6._0x2ee19e,0x37c)](()=>null);_0x403d62[_0x559aa9(_0x13c0f6._0x52ce93,-_0x13c0f6._0x56ad18,-_0x13c0f6._0x514138,_0x13c0f6._0x5a50ae)]({'path':_0x1c3441,'mtime':_0x18f6b5?.[_0x4d790c(0x907,_0x13c0f6._0x33b440,_0x13c0f6._0x1a5965,_0x13c0f6._0x6e5fb4)]??0x0});}_0x403d62[_0x559aa9(-_0x13c0f6._0x201263,-_0x13c0f6._0x587494,-0x145,0x13a)]((_0x5cbe29,_0x1ef50e)=>_0x1ef50e[_0x559aa9(-0xd1,0xe8,0x245,0x1d4)]-_0x5cbe29['mtime']);const _0x2e05fc=_0x403d62[_0x559aa9(-0x2df,-_0x13c0f6._0x95e83b,-_0x13c0f6._0x1369a6,-_0x13c0f6._0x10016a)](_0x10bd8f=>_0x10bd8f['path']),_0x3a61ec=_0x2e05fc[_0x4d790c(0x5cc,_0x13c0f6._0x21cd18,0x608,_0x13c0f6._0x4521a2)]===0x0?'No\x20files\x20found\x20matching\x20pattern:\x20'+_0x312f26[_0x4d790c(_0x13c0f6._0x5b03e1,0x779,0x51f,_0x13c0f6._0x161274)]:''+_0x2e05fc[_0x559aa9(_0x13c0f6._0x1d82b5,0x272,0x1a1,_0x13c0f6._0x48a36c)]('\x0a')+(_0x432546?_0x4d790c(_0x13c0f6._0x555e9b,0x39c,0x4e1,_0x13c0f6._0x316118):'');return yield createToolOutput(_0x3a61ec,{'pattern':_0x312f26['pattern'],'searchPath':_0x23eeb8[_0x559aa9(_0x13c0f6._0x1e4744,_0x13c0f6._0x5277ce,_0x13c0f6._0x4326ce,_0x13c0f6._0x595b50)](_0x166345,_0x2d8862)||'.','matches':_0x2e05fc,'count':_0x2e05fc['length'],'truncated':_0x432546}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x19d83d){const _0x150fc5={_0x1c5620:0x104,_0x37518b:0x138,_0x526862:0xd,_0x37e7a5:0x1b6},_0x29a9a1={_0xe7afb9:0x32b},_0x17c287={_0x3f28cb:0x4b};if(_0x19d83d['trim']()[_0x53dc7b(0x60,_0x150fc5._0x1c5620,0x1df,-_0x150fc5._0x37518b)]===0x0)throw new Error('pattern\x20is\x20required');function _0x291f6a(_0x2db62a,_0xf5ca13,_0x10faef,_0xfd2fe1){return _0x5885dd(_0x2db62a-_0x17c287._0x3f28cb,_0x2db62a,_0x10faef-0x36,_0xf5ca13-0x7a);}function _0x53dc7b(_0x2b7335,_0x4a9598,_0x1e5f31,_0x1f9767){return _0x5885dd(_0x2b7335-0x49,_0x1e5f31,_0x1e5f31-0x102,_0x2b7335- -_0x29a9a1._0xe7afb9);}if(_0x19d83d['length']>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x53dc7b(-0x18f,-0x4a,0x30,_0x150fc5._0x526862)+GREP_MAX_PATTERN_LENGTH+_0x291f6a(_0x150fc5._0x37e7a5,0x356,0x434,0x1b2));}function boundedGrepSnippet(_0x52fa30){const _0x43316f={_0x25c81d:0x5c5,_0x3156b7:0x356,_0x37f8c2:0x474,_0x3b4b44:0x485,_0xc9fbe3:0x54d},_0x3fadd7={_0x34c7a8:0x9,_0x54a319:0x1bd};function _0x58c344(_0x377d58,_0x441def,_0x33fae8,_0x5d3bcf){return _0x16ac01(_0x377d58-0x3e,_0x33fae8-0x495,_0x33fae8-0x176,_0x441def);}function _0x26150e(_0x54e965,_0x1a2837,_0x39dd11,_0x5a264d){return _0x16ac01(_0x54e965-_0x3fadd7._0x34c7a8,_0x5a264d-0x572,_0x39dd11-_0x3fadd7._0x54a319,_0x1a2837);}return _0x52fa30['length']>GREP_MAX_SNIPPET_LENGTH?_0x52fa30[_0x26150e(0x44f,_0x43316f._0x25c81d,_0x43316f._0x3156b7,_0x43316f._0x37f8c2)](0x0,GREP_MAX_SNIPPET_LENGTH)+_0x58c344(_0x43316f._0x3b4b44,_0x43316f._0xc9fbe3,0x412,0x4cc):_0x52fa30;}async function searchRegex(_0x5667b4){const _0x2de51a={_0x2d9061:0x8a0,_0x1232e2:0x624,_0x23baaf:0x7e5,_0x288f77:0x705,_0xe58398:0x6b9,_0x3ccb79:0x489,_0xf7b4a4:0x549,_0x5264bc:0x6fd,_0x56e0be:0x675,_0x5ba099:0x5c9,_0x1e77a7:0x6b7,_0x25a144:0x102,_0x29f036:0x365,_0x1a8c93:0x5eb,_0x23a43b:0x67d,_0x354db7:0x4a2,_0x5879c0:0x5eb,_0x3a66f9:0x545,_0x39e1e2:0x37e,_0x1ea790:0x7b6,_0x34378e:0x67a,_0x1e85dd:0x395,_0x5327a5:0x27d,_0x50765a:0x494,_0x464489:0x419,_0x60f00c:0x6d8,_0xeb3395:0x4c3,_0x3b4106:0x502,_0x3af5d3:0x516,_0x450b0a:0x480,_0x2ad7c0:0x3a5,_0x35fcd5:0x24b,_0x5b40c0:0x243,_0x3365f5:0x8fe},_0x4e5570={_0x2f4acf:0x5bb},_0x3043bf={_0x106b10:0x28f,_0x47e473:0x300,_0x49c992:0x4a1,_0x39de31:0x41e,_0x322a8c:0x3a8,_0x3b964d:0x5f6},_0x3e22bc={_0x3f6967:0xf5};validateGrepPattern(_0x5667b4[_0x8c2d67(_0x2de51a._0x2d9061,_0x2de51a._0x1232e2,_0x2de51a._0x23baaf,_0x2de51a._0x288f77)]);const _0x34959d=_0x5667b4[_0x8c2d67(_0x2de51a._0xe58398,0x691,0x87f,0x7e4)]??GREP_DEFAULT_LIMIT,_0x1c4108=Number['isFinite'](_0x34959d)?Math[_0x8c2d67(0x450,0x541,_0x2de51a._0x3ccb79,_0x2de51a._0xf7b4a4)](0x1,Math['trunc'](_0x34959d)):GREP_DEFAULT_LIMIT;if(_0x5667b4[_0x8c2d67(_0x2de51a._0x5264bc,0x549,0x537,0x5eb)]?.[_0x8c2d67(_0x2de51a._0x56e0be,0x8bb,_0x2de51a._0x5ba099,_0x2de51a._0x1e77a7)]===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0x560c45=await search({'cwd':_0x5667b4[_0xda0cc5(0x8c,0x289,_0x2de51a._0x25a144,_0x2de51a._0x29f036)],'pattern':_0x5667b4['pattern'],..._0x5667b4[_0x8c2d67(0x40b,0x3d8,0x78e,_0x2de51a._0x1a8c93)]===void 0x0?{}:{'files':_0x5667b4[_0x8c2d67(_0x2de51a._0x23a43b,_0x2de51a._0x354db7,0x478,_0x2de51a._0x5879c0)]},..._0x5667b4[_0xda0cc5(0x339,0x37e,_0x2de51a._0x3a66f9,0x40e)]===void 0x0?{}:{'glob':_0x5667b4[_0xda0cc5(0x41a,_0x2de51a._0x39e1e2,0x402,0x226)]},..._0x5667b4['context']===void 0x0?{}:{'context':_0x5667b4[_0xda0cc5(0x499,0x64f,_0x2de51a._0x1ea790,0x5a0)]},'limit':_0x1c4108+0x1}),_0x4569a7=_0x560c45['filter'](_0x4706b5=>!_0x4706b5[_0xda0cc5(0x16f,0x240,0x5e,0x64)]),_0x1b2471=_0x4569a7[_0xda0cc5(_0x2de51a._0x34378e,0x480,0x61d,0x358)]>_0x1c4108,_0x62a0a4=_0x4569a7[_0xda0cc5(_0x2de51a._0x1e85dd,0x286,_0x2de51a._0x5327a5,_0x2de51a._0x50765a)](0x0,_0x1c4108),_0xadd2bb=new Set(_0x62a0a4);function _0xda0cc5(_0x4cc6d4,_0x23e63f,_0x57810f,_0x5a7202){return _0x5885dd(_0x4cc6d4-0x11f,_0x5a7202,_0x57810f-0x169,_0x23e63f-_0x3e22bc._0x3f6967);}const _0x234241=Math['max'](0x0,Math[_0xda0cc5(0x555,_0x2de51a._0x464489,0x5ed,0x492)](_0x5667b4['context']??0x0)),_0xce32bf=_0x1b2471?_0x560c45[_0x8c2d67(_0x2de51a._0x60f00c,0x517,_0x2de51a._0xeb3395,_0x2de51a._0x3b4106)](_0x3878f7=>{const _0x479d34={_0x4c60a9:0xdb,_0x2324ab:0x2d1};function _0x547993(_0x6b3865,_0x333db1,_0x2bcc77,_0x865f96){return _0x8c2d67(_0x865f96,_0x333db1-_0x479d34._0x4c60a9,_0x2bcc77-0x131,_0x333db1- -_0x479d34._0x2324ab);}if(!_0x3878f7[_0x208624(_0x3043bf._0x106b10,_0x3043bf._0x47e473,_0x3043bf._0x49c992,_0x3043bf._0x39de31)])return _0xadd2bb['has'](_0x3878f7);function _0x208624(_0x1ad9af,_0x4a0a7c,_0x537e7a,_0x135e39){return _0xda0cc5(_0x1ad9af-0x73,_0x537e7a-0x261,_0x537e7a-0x2b,_0x1ad9af);}return _0x62a0a4[_0x547993(_0x3043bf._0x322a8c,0x43c,0x31f,_0x3043bf._0x3b964d)](_0x10d094=>_0x10d094[_0x547993(0x6e6,0x527,0x35c,0x63e)]===_0x3878f7['filePath']&&Math['abs'](_0x10d094['lineNum']-_0x3878f7[_0x547993(0x50d,0x596,0x7ab,0x471)])<=_0x234241);}):_0x560c45;function _0x8c2d67(_0x546545,_0x592208,_0x132354,_0x25988a){return _0x16ac01(_0x546545-0x15f,_0x25988a-_0x4e5570._0x2f4acf,_0x132354-0x189,_0x546545);}return{'matches':_0xce32bf,'matchCount':_0x62a0a4[_0xda0cc5(_0x2de51a._0x3af5d3,_0x2de51a._0x450b0a,0x3c6,_0x2de51a._0x2ad7c0)],'fileCount':new Set(_0xce32bf[_0xda0cc5(_0x2de51a._0x35fcd5,_0x2de51a._0x5b40c0,0xf1,0x319)](_0x45dc6f=>_0x45dc6f[_0x8c2d67(0x725,0x770,0x98a,0x7f8)]))[_0x8c2d67(0x85f,0x63a,_0x2de51a._0x3365f5,0x746)],'truncated':_0x1b2471};}import{stat as _0x392777}from'fs/promises';import*as _0x45e992 from'path';function createGrepTool(_0x347a17={}){const _0x358b2d={_0x45b0a7:0x322,_0x105f0a:0x22c,_0x77387d:0x25f,_0x1d0239:0x12d,_0x3479ef:0x33,_0x49c95e:0x57,_0x1d8c6a:0x2fc,_0x19ca7a:0x15a,_0x179a4a:0x2f,_0x475ab6:0xed,_0x2311e9:0xf6,_0x170d8f:0x138,_0x1fca14:0x225,_0x29ca99:0xf3,_0x472eaf:0x273,_0x1dde36:0x309,_0x349067:0x2ab,_0xb0e771:0xd5,_0x49bdfe:0xed,_0x12f992:0xde,_0x3d1cf2:0x5e,_0x330022:0x252,_0x4a1e47:0x3f},_0x237def={_0x536351:0x804,_0x1e5d4a:0x4d8,_0x58fa81:0x53f,_0xfd1c97:0x89e,_0x44504a:0x51b,_0x6670e:0x42a,_0x2d4272:0x50f,_0x2beb1d:0x52f,_0x1eb3af:0x61d,_0x14eee7:0x8d2,_0x30e532:0x777,_0x1072f4:0x549,_0x4ca9c1:0x6b3,_0x5677a1:0x840,_0x433118:0x521,_0x366fc4:0x4cc,_0x5df188:0x423,_0x42b986:0x481,_0x21f15e:0x6cc,_0x22ba60:0x6dc,_0x1d55bc:0x4e6,_0x3af58d:0x692,_0x2fe5bb:0x532,_0x41ea02:0x7a6,_0x4eef78:0x9fb,_0x2558b4:0x892,_0x2dc3b6:0x63c,_0x30f3f0:0x516,_0x4e609a:0x5ab,_0x3f3d28:0x6bb,_0x5d208f:0x612,_0x1b3998:0x376,_0x2c7b1f:0x46d,_0x2fc22c:0x63f,_0x3e4399:0x64e,_0x61c6a6:0x519,_0x1b2d1a:0x3f8,_0x2fe612:0x4e7,_0x7257fb:0x769,_0x41fc50:0x871,_0x3e92cc:0x44f,_0x3e6935:0x6a5,_0x3acba1:0x563,_0x35c25e:0x46f,_0x12aafa:0x94a,_0x3a1794:0x87f,_0x2ae763:0x4b9,_0x55c644:0x604,_0x5a757d:0x646,_0x452213:0x6d4,_0x483110:0x496,_0x2c3af9:0x584,_0x1dc1c2:0x4a8,_0x55e8e5:0x49c,_0x1a85ee:0x6f2,_0x177eaa:0x5c1,_0x18fa1f:0xa2b,_0xb3b16b:0x7d6,_0x1ac8ef:0x361,_0x133621:0x4e6,_0x531b17:0x45d,_0x322b11:0x6cb,_0x1b4441:0x607,_0x13d3e3:0x461,_0x514323:0x370,_0x17612d:0x380,_0x126396:0x361,_0x5eb612:0x44d,_0x4d7d78:0x171,_0x3ba25a:0x3ef,_0x33b2f5:0x861,_0x69dc9c:0x717,_0x28c97a:0x61f,_0x29978f:0x6b3,_0x1ff3f6:0x8a1,_0x47a11c:0x676,_0x298863:0x66f,_0x193242:0x6f4,_0x41034b:0x82f,_0x365c7b:0x75a,_0x5c5681:0x7ab},_0x1a7d40={_0x37ff15:0x1c3,_0xc5d1b:0x64a},_0x1ae83e={_0x1590b1:0x109,_0x5ce4a8:0xd0},_0x21f54b={_0xa4d20b:0x192},_0x449d76=_0x45e992[_0x1e9a52(_0x358b2d._0x45b0a7,_0x358b2d._0x105f0a,_0x358b2d._0x77387d,0x19c)](_0x347a17[_0x1b2e56(0xe,0xab,0x2b9,-0x14e)]??process[_0x1b2e56(-0x2da,-_0x358b2d._0x1d0239,_0x358b2d._0x3479ef,-_0x358b2d._0x49c95e)]());function _0x1b2e56(_0x5879a4,_0x2181f6,_0x3f856d,_0x3cdc80){return _0x5885dd(_0x5879a4-0xea,_0x3f856d,_0x3f856d-_0x21f54b._0xa4d20b,_0x2181f6- -0x2c1);}const _0x3069c0=_0x347a17['allowedDirs']??[],_0x5d624d=_0x347a17[_0x1e9a52(_0x358b2d._0x1d8c6a,0x19b,0x238,_0x358b2d._0x19ca7a)]??GREP_DEFAULT_LIMIT,_0x472295=_0x347a17['name']??_0x1e9a52(_0x358b2d._0x179a4a,-_0x358b2d._0x475ab6,0xf,0xf0);function _0x1e9a52(_0x52b730,_0x4c24aa,_0x35f3a3,_0x281ee3){return _0x5885dd(_0x52b730-_0x1ae83e._0x1590b1,_0x52b730,_0x35f3a3-_0x1ae83e._0x5ce4a8,_0x281ee3- -0x35e);}return defineTool({'name':_0x472295,'permissionClass':_0x1b2e56(0x1b4,0x9e,-_0x358b2d._0x2311e9,_0x358b2d._0x170d8f),'description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':'object','properties':{'pattern':{'type':_0x1b2e56(0x3d5,_0x358b2d._0x1fca14,_0x358b2d._0x29ca99,_0x358b2d._0x472eaf)},'path':{'type':_0x1e9a52(_0x358b2d._0x1dde36,0xbb,_0x358b2d._0x349067,0x188)},'include':{'type':_0x1e9a52(0x62,0x200,0xda,0x188)},'limit':{'type':_0x1e9a52(-_0x358b2d._0xb0e771,-_0x358b2d._0x49bdfe,_0x358b2d._0x12f992,-_0x358b2d._0x3d1cf2)},'context':{'type':_0x1b2e56(_0x358b2d._0x330022,_0x358b2d._0x4a1e47,0x1a5,0x4b)}},'required':['pattern']},async *'execute'(_0xd4d4c){const _0x2709d3={_0x2bb973:0x1b9,_0x5735c8:0x4ce};try{validateGrepPattern(_0xd4d4c[_0x298b6e(_0x237def._0x536351,0x549,_0x237def._0x1e5d4a,0x6c5)]);}catch(_0x30ca33){throw new ToolExecutionError(_0x30ca33[_0x124ed3(0x48d,0x513,_0x237def._0x58fa81,0x69b)],{});}const _0x4259e5=resolveAllowedPath(_0x449d76,_0x3069c0,_0xd4d4c[_0x298b6e(0x650,0x65b,_0x237def._0xfd1c97,0x777)]??'.'),_0x1c1df1=await _0x392777(_0x4259e5)[_0x124ed3(_0x237def._0x44504a,0x72d,_0x237def._0x6670e,0x429)](()=>null),_0x1eebb2=_0x1c1df1?.[_0x298b6e(0x7c8,_0x237def._0x2d4272,_0x237def._0x2beb1d,0x681)]()??![],_0x1e60e7=_0x1c1df1?.[_0x298b6e(_0x237def._0x1eb3af,0x3e2,0x479,0x5f6)]()??![];if(!_0x1eebb2&&!_0x1e60e7)throw new ToolExecutionError('Path\x20not\x20found:\x20'+(_0xd4d4c[_0x298b6e(_0x237def._0x14eee7,0x786,0x878,_0x237def._0x30e532)]??'.'),{'path':_0xd4d4c[_0x298b6e(0x95f,0x889,0x85c,_0x237def._0x30e532)]??'.'});const _0x1b3ce8=await searchRegex({'cwd':_0x1e60e7?_0x4259e5:_0x45e992['dirname'](_0x4259e5),'pattern':_0xd4d4c[_0x124ed3(_0x237def._0x1072f4,0x72c,0x6e3,0x698)],'glob':_0x1e60e7?_0xd4d4c[_0x124ed3(_0x237def._0x4ca9c1,0x76c,_0x237def._0x5677a1,_0x237def._0x433118)]:void 0x0,'limit':_0xd4d4c[_0x124ed3(0x628,_0x237def._0x366fc4,_0x237def._0x5df188,_0x237def._0x42b986)]??_0x5d624d,'files':_0x1eebb2?[_0x4259e5]:void 0x0,'context':_0xd4d4c[_0x124ed3(0x6ca,0x87d,0x7bc,_0x237def._0x21f15e)]}),{matches:_0x41577d}=_0x1b3ce8,_0xb052d0=new Map();for(const _0x32eea6 of _0x41577d){if(!_0xb052d0[_0x298b6e(0x5d9,0x44e,_0x237def._0x22ba60,0x5ac)](_0x32eea6['filePath'])){const _0x2ccdc6=await _0x392777(_0x32eea6['filePath'])[_0x124ed3(0x51b,_0x237def._0x1d55bc,0x670,_0x237def._0x3af58d)](()=>null);_0xb052d0[_0x298b6e(0x5bd,0x43b,_0x237def._0x42b986,_0x237def._0x2fe5bb)](_0x32eea6[_0x298b6e(0x5da,0x694,0x8b5,0x7b8)],{'matches':[],'mtime':_0x2ccdc6?.[_0x298b6e(0x7ad,0x88b,0x6d1,_0x237def._0x41ea02)]??0x0});}_0xb052d0[_0x298b6e(_0x237def._0x4eef78,_0x237def._0x2558b4,0x7c9,0x850)](_0x32eea6[_0x124ed3(_0x237def._0x2dc3b6,0x57e,0x650,_0x237def._0x30f3f0)])?.[_0x298b6e(_0x237def._0x4e609a,0x6f4,_0x237def._0x3f3d28,_0x237def._0x5d208f)][_0x124ed3(_0x237def._0x1b3998,0x311,0x500,_0x237def._0x2c7b1f)](_0x32eea6);}const _0x1ec86b=[..._0xb052d0[_0x298b6e(_0x237def._0x2fc22c,_0x237def._0x3e4399,0x894,0x6ce)]()][_0x298b6e(_0x237def._0x61c6a6,0x4e5,_0x237def._0x1b2d1a,0x472)]((_0x4a0997,_0x58b6e6)=>_0x58b6e6[0x1][_0x124ed3(0x47b,0x5eb,0x50a,0x690)]-_0x4a0997[0x1][_0x124ed3(0x47b,0x49d,0x26a,0x32f)]),_0x26d6e5=_0x1eebb2?_0x45e992['dirname'](_0x4259e5):_0x4259e5;function _0x124ed3(_0x12bd73,_0x24d7e8,_0x4f4cda,_0x1ac075){return _0x1e9a52(_0x4f4cda,_0x24d7e8-_0x2709d3._0x2bb973,_0x4f4cda-0x2d,_0x12bd73-_0x2709d3._0x5735c8);}let _0x5d6aa4='';if(_0x41577d[_0x298b6e(_0x237def._0x2fe612,_0x237def._0x7257fb,_0x237def._0x41fc50,0x677)]===0x0)_0x5d6aa4=_0x298b6e(0x75b,_0x237def._0x3e92cc,_0x237def._0x3e6935,_0x237def._0x3acba1)+_0xd4d4c['pattern'];else{_0x5d6aa4=_0x298b6e(0x662,_0x237def._0x35c25e,0x58c,_0x237def._0x2c7b1f)+_0x1b3ce8[_0x124ed3(_0x237def._0x1e5d4a,0x4b8,0x62c,0x372)]+_0x298b6e(0x7e3,_0x237def._0x12aafa,_0x237def._0x3a1794,0x7fb)+(_0x1b3ce8['matchCount']===0x1?'':'es')+'\x0a';for(const [_0x3c8535,_0x17731b]of _0x1ec86b){const _0x1524cd=_0x1eebb2?_0x45e992[_0x124ed3(0x64d,0x539,0x4e6,_0x237def._0x2ae763)](_0x3c8535):_0x45e992[_0x298b6e(_0x237def._0x55c644,0x669,_0x237def._0x5a757d,_0x237def._0x452213)](_0x26d6e5,_0x3c8535);_0x5d6aa4+='\x0a'+_0x1524cd+':\x0a';for(const _0x562cae of _0x17731b[_0x124ed3(_0x237def._0x483110,_0x237def._0x2c3af9,_0x237def._0x1dc1c2,_0x237def._0x55e8e5)]){const _0x12780d=boundedGrepSnippet(_0x562cae['lineText']),_0x3c9516=_0x562cae['isContext']?'\x20\x20':'>\x20';_0x5d6aa4+=_0x3c9516+_0x298b6e(0x465,_0x237def._0x1a85ee,0x717,_0x237def._0x177eaa)+_0x562cae[_0x298b6e(0x6e5,_0x237def._0x18fa1f,_0x237def._0xb3b16b,0x827)]+':\x20'+_0x12780d+'\x0a';}}_0x1b3ce8[_0x124ed3(_0x237def._0x1ac8ef,_0x237def._0x133621,_0x237def._0x531b17,0x1dc)]&&(_0x5d6aa4+=_0x124ed3(0x431,0x3d1,0x3c3,0x3a8));}const _0x2dd9c2={'searchPath':_0x45e992['relative'](_0x449d76,_0x4259e5)||'.','pattern':_0xd4d4c[_0x298b6e(0x510,_0x237def._0x322b11,0x88c,0x6c5)],'matchCount':_0x1b3ce8[_0x124ed3(_0x237def._0x1e5d4a,_0x237def._0x1b4441,_0x237def._0x13d3e3,0x4ad)],'fileCount':_0x1b3ce8[_0x124ed3(0x481,0x2da,_0x237def._0x514323,_0x237def._0x17612d)],'truncated':_0x1b3ce8[_0x124ed3(_0x237def._0x126396,_0x237def._0x5eb612,_0x237def._0x4d7d78,_0x237def._0x3ba25a)]};_0x1e60e7&&_0xd4d4c[_0x298b6e(_0x237def._0x33b2f5,_0x237def._0x69dc9c,_0x237def._0x28c97a,0x82f)]!==void 0x0&&(_0x2dd9c2[_0x124ed3(_0x237def._0x29978f,_0x237def._0x1ff3f6,_0x237def._0x47a11c,0x582)]=_0xd4d4c[_0x298b6e(_0x237def._0x298863,0x91a,_0x237def._0x193242,_0x237def._0x41034b)]);function _0x298b6e(_0x98f913,_0x36cac9,_0x16fcf4,_0x41c90c){return _0x1e9a52(_0x98f913,_0x36cac9-0x158,_0x16fcf4-_0x1a7d40._0x37ff15,_0x41c90c-_0x1a7d40._0xc5d1b);}return yield createToolOutput(_0x5d6aa4[_0x298b6e(_0x237def._0x365c7b,_0x237def._0x5c5681,0x5c2,0x6b1)](),_0x2dd9c2),void 0x0;}});}import{readdir,readFile as _0x4cb5e1,stat as _0x3a9a0f}from'fs/promises';import*as _0x1785be from'path';import*as _0x13480f from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x183819,_0x5b8508){const _0x55b011={_0x78f5fc:0x605,_0x2fcd12:0x4e6,_0x4494ff:0x47d,_0xd1823a:0x4a5,_0x585c8c:0x325,_0x45cd03:0x265,_0xdbbee4:0x476,_0x275178:0x1b3,_0x2ac19b:0x6b2,_0x3b7de7:0x631,_0x51c18a:0x5ee,_0x7aa7a3:0x62f,_0x10c7b3:0x614,_0x1103dd:0x45d},_0x139893={_0x361b5f:0x176},_0x3a5677={_0x58f7cc:0x19b,_0xe52680:0xd2};if(_0x5b8508>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0x14a9f2(_0x5404ef,_0x1939e0,_0x201495,_0xce5321){return _0x5885dd(_0x5404ef-_0x3a5677._0x58f7cc,_0x1939e0,_0x201495-_0x3a5677._0xe52680,_0x5404ef- -0x2ad);}const _0x4e07c1=await _0x4cb5e1(_0x183819)[_0x324148(_0x55b011._0x78f5fc,_0x55b011._0x2fcd12,0x2cc,_0x55b011._0x4494ff)](()=>null);if(!_0x4e07c1||isProbablyBinary(_0x4e07c1))return void 0x0;function _0x324148(_0x16aaf4,_0x447451,_0x5f6f99,_0x11b22f){return _0x5885dd(_0x16aaf4-0x7f,_0x447451,_0x5f6f99-_0x139893._0x361b5f,_0x11b22f-0xd2);}return _0x4e07c1[_0x324148(0x1da,_0x55b011._0xd1823a,_0x55b011._0x585c8c,0x313)](_0x324148(_0x55b011._0x45cd03,_0x55b011._0xdbbee4,_0x55b011._0x275178,0x39c))[_0x324148(_0x55b011._0x2ac19b,_0x55b011._0x3b7de7,0x6f5,_0x55b011._0x51c18a)](/\r?\n/)[_0x324148(0x494,_0x55b011._0x7aa7a3,_0x55b011._0x10c7b3,_0x55b011._0x1103dd)];}function createLsTool(_0x49ab8a={}){const _0x131673={_0x46e6d6:0x6b2,_0xbb47fa:0x736,_0x5cd523:0x65,_0x4c6a57:0x15,_0x27bfef:0x544,_0x162aa8:0x33f,_0x530a77:0x42f,_0x19ca62:0x520,_0x3f81b2:0x52f,_0x3f7d3d:0x5fb},_0x54af39={_0x4eb6c8:0x808,_0x33881f:0x6cb,_0xdf93aa:0x878,_0x55c4f6:0x82e,_0x3b3360:0x481,_0x18bcc3:0x3b5,_0x7c3980:0x73f,_0x3dff38:0x50e,_0x47a6dc:0x6fd,_0x5f3c09:0x9df,_0x31b364:0x85b,_0x1e6c7d:0x5fb,_0x15a897:0x3c8,_0x45f25a:0x567,_0xc06819:0x3ce,_0x5bf258:0x30b,_0x3cb1ce:0x19b,_0xadf03d:0x39c,_0x917e6e:0x1ea,_0x3f83dd:0x49f,_0x974120:0x4bf,_0x16fac8:0x666,_0xb0809d:0x699,_0x4d370a:0x66d,_0x33c1a9:0x3a7,_0x57130a:0x4a3,_0x4e7d6a:0x5a7,_0x4a5529:0x738,_0x16cc0c:0x848,_0x59bfab:0x83a,_0x3a6155:0x8b6,_0x6d18f7:0x79d,_0x2143c0:0x630,_0x3f2d0c:0x5dd,_0x2ed374:0x627,_0x13c5b0:0x689,_0xb695a1:0x59b,_0x363c0e:0x4da,_0x1f7f8e:0x972,_0x27259c:0x845,_0x3acec2:0x91c,_0x20c93c:0x7ab,_0x11abc2:0x6d6,_0x3a8ed8:0xa53,_0x5c342c:0x8e3,_0x28780b:0x766,_0x226e2d:0x44b,_0x91d13a:0x715,_0x6bb096:0x729,_0x9dd8ff:0x529,_0xbd8cd7:0x1d3,_0x305d16:0x395,_0x4c5069:0x2d4},_0x3e3bd2={_0x2e3dd4:0xe9},_0x2fe51f={_0x57ae09:0x114},_0x1a6a04=_0x1785be[_0x19d7a4(0x5f1,_0x131673._0x46e6d6,_0x131673._0xbb47fa,0x5ca)](_0x49ab8a[_0x19d7a4(0x4b9,0x39b,0x27a,0x43c)]??process[_0x231474(0x4b,0xa7,_0x131673._0x5cd523,_0x131673._0x4c6a57)]()),_0x331643=_0x49ab8a['allowedDirs']??[];function _0x19d7a4(_0x5cd720,_0x41e088,_0x399f8f,_0xe4e0c7){return _0x5885dd(_0x5cd720-_0x2fe51f._0x57ae09,_0x41e088,_0x399f8f-0x41,_0xe4e0c7-0xd0);}function _0x231474(_0x38ffb1,_0x58f662,_0x56ba67,_0x180fe5){return _0x16ac01(_0x38ffb1-0x152,_0x56ba67-0x160,_0x56ba67-0x137,_0x180fe5);}const _0x4a2ac2=_0x49ab8a['name']??'Ls';return defineTool({'name':_0x4a2ac2,'permissionClass':_0x19d7a4(_0x131673._0x27bfef,0x347,_0x131673._0x162aa8,_0x131673._0x530a77),'description':'List\x20files\x20and\x20directories\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x19d7a4(_0x131673._0x19ca62,0x7b8,_0x131673._0x3f81b2,_0x131673._0x3f7d3d),'properties':{'path':{'type':'string'},'limit':{'type':'number'}}},async *'execute'(_0x52c583){const _0x3817e8=_0x52c583[_0x4d0838(_0x54af39._0x4eb6c8,_0x54af39._0x33881f,_0x54af39._0xdf93aa,_0x54af39._0x55c4f6)]??'.',_0xefe6f5=resolveAllowedPath(_0x1a6a04,_0x331643,_0x3817e8),_0x1a9e29=await _0x3a9a0f(_0xefe6f5)[_0x4387b8(_0x54af39._0x3b3360,_0x54af39._0x18bcc3,0x2f1,0x206)](()=>null);if(!_0x1a9e29?.[_0x4387b8(0x48c,0x314,0x295,0x39b)]())throw new ToolExecutionError(_0x4d0838(_0x54af39._0x7c3980,_0x54af39._0x3dff38,0x7ea,_0x54af39._0x47a6dc)+_0x3817e8,{'path':_0x3817e8});function _0x4387b8(_0x2bebd2,_0x4443e3,_0x4f7ba1,_0x347f86){return _0x231474(_0x2bebd2-0x163,_0x4443e3-_0x3e3bd2._0x2e3dd4,_0x4443e3-0x139,_0x4f7ba1);}const _0xbc10fa=_0x52c583[_0x4d0838(0x7a2,0xa05,_0x54af39._0x5f3c09,_0x54af39._0x31b364)]??0x3e8,_0x497a48=Math[_0x4d0838(0x5ff,_0x54af39._0x1e6c7d,_0x54af39._0x15a897,_0x54af39._0x45f25a)](Math[_0x4387b8(0x429,0x227,0x241,_0x54af39._0xc06819)](Math['trunc'](_0xbc10fa),0x1),0x2710),_0x1103ad=await readdir(_0xefe6f5),_0x28678d=[];function _0x4d0838(_0xe20f03,_0x3eab4c,_0x10f3dd,_0x976cca){return _0x19d7a4(_0xe20f03-0x86,_0xe20f03,_0x10f3dd-0x1c5,_0x976cca-0x2d3);}for(const _0x272cce of _0x1103ad[_0x4387b8(_0x54af39._0x5bf258,_0x54af39._0x3cb1ce,_0x54af39._0xadf03d,_0x54af39._0x917e6e)](0x0,_0x497a48)){const _0x2f28ae=_0x1785be[_0x4387b8(0x3aa,_0x54af39._0x3f83dd,_0x54af39._0x974120,_0x54af39._0x16fac8)](_0xefe6f5,_0x272cce),_0x40cde9=await _0x3a9a0f(_0x2f28ae)[_0x4d0838(0x8a6,_0x54af39._0xb0809d,_0x54af39._0x4d370a,0x74e)](()=>null);if(!_0x40cde9)continue;let _0x5f017d=_0x4387b8(_0x54af39._0x33c1a9,_0x54af39._0x57130a,0x382,0x3ec);if(_0x40cde9[_0x4d0838(0x93a,0x78c,_0x54af39._0x4e7d6a,_0x54af39._0x4a5529)]())_0x5f017d=_0x4d0838(_0x54af39._0x16cc0c,0x868,_0x54af39._0x59bfab,0x7cb);else{if(_0x40cde9[_0x4d0838(0x510,_0x54af39._0x3a6155,_0x54af39._0x6d18f7,0x6ad)]())_0x5f017d=_0x4d0838(_0x54af39._0x2143c0,0x53d,_0x54af39._0x3f2d0c,_0x54af39._0x2ed374);else{if(_0x40cde9[_0x4387b8(_0x54af39._0x13c5b0,0x531,_0x54af39._0xb695a1,_0x54af39._0x363c0e)]())_0x5f017d=_0x4387b8(0x1bd,0x1dd,0x1db,0x124);}}const _0x2c014e={'name':_0x272cce,'type':_0x5f017d,'size':_0x40cde9[_0x4d0838(_0x54af39._0x1f7f8e,_0x54af39._0x27259c,_0x54af39._0x3acec2,0x7bd)],'mtime':_0x40cde9[_0x4d0838(0x943,_0x54af39._0x20c93c,_0x54af39._0x11abc2,0x85d)],'mode':_0x40cde9[_0x4d0838(0xa83,0x919,_0x54af39._0x3a8ed8,_0x54af39._0x5c342c)]},_0x2b6b57=_0x5f017d===_0x4d0838(0x837,_0x54af39._0x28780b,0x857,0x7cb)?await countTextLines(_0x2f28ae,_0x40cde9[_0x4387b8(_0x54af39._0x226e2d,0x424,0x449,0x236)]):void 0x0;if(_0x2b6b57!==void 0x0)_0x2c014e['lines']=_0x2b6b57;_0x28678d[_0x4d0838(_0x54af39._0x91d13a,0x7a5,0x7bf,0x5a9)](_0x2c014e);}_0x28678d[_0x4d0838(0x636,0x398,_0x54af39._0x6bb096,_0x54af39._0x9dd8ff)]((_0x5c6b6f,_0x208cd3)=>_0x5c6b6f[_0x4d0838(0x894,0x80a,0x9f3,0x849)][_0x4d0838(0x5cc,0x83a,0x8dd,0x795)](_0x208cd3[_0x4d0838(0x6e8,0x9f0,0x702,0x849)]));const _0x4ef4f0={'path':_0x3817e8,'total':_0x28678d['length'],'truncated':_0x1103ad['length']>_0x497a48,'entries':_0x28678d};return yield createToolOutput(_0x13480f['stringify'](_0x4ef4f0,{'indent':0x2,'lineWidth':0x0})[_0x4387b8(0x78,0x258,0x2bd,0x161)](),{'path':_0x3817e8,'total':_0x28678d[_0x4387b8(_0x54af39._0xbd8cd7,_0x54af39._0x305d16,0x1ca,0x596)],'truncated':_0x1103ad[_0x4387b8(0x326,0x395,_0x54af39._0x4c5069,0x2c3)]>_0x497a48,'limit':_0x497a48,'entries':_0x28678d}),void 0x0;}});}import{readFile as _0x2261be,stat as _0x1ffa8a}from'fs/promises';import*as _0x2de289 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x5885dd(0x438,0x49f,0x3ff,0x2e2),_0x16ac01(-0x14a,0x5a,0x4c,0x87),_0x5885dd(0x392,0x293,0x4f9,0x3a8),_0x16ac01(-0x2d6,-0x11a,-0x187,-0x10f)]),PNG_SIGNATURE=Buffer[_0x5885dd(0x5ab,0x4b8,0x33d,0x3a6)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x1d6998,_0x4cdf11){const _0x353e9a={_0x1f7342:0x11,_0x525f49:0x30c,_0x382af9:0x397,_0x54ab97:0x38c,_0x4bce9c:0x3a5,_0x564fb5:0x1ba,_0x14a02c:0x15,_0x16bba5:0x17f,_0x3092ae:0xd3,_0x172ba9:0x288,_0x10d0d5:0xf2,_0x1f1a3b:0x3b,_0x2adc76:0x15e,_0x307deb:0x3f4,_0x2c2c12:0x2f8,_0x2436da:0x448,_0x14b5dd:0xb2,_0x4dd280:0xbe,_0x1aabe3:0x1bc,_0x5153f1:0x213,_0xafe567:0x23,_0x5b326c:0x8e,_0x3c072e:0xa9,_0x283462:0x1a,_0xecfcc2:0x6a,_0x54427d:0x176,_0x557250:0x94,_0x28f0d8:0x1d9,_0x1d1490:0x2ee,_0x4d9cd4:0x2b1,_0x33a86a:0x2d7,_0x1c3808:0x31d,_0x14022d:0x1ba,_0x59788f:0x21e,_0x5b443c:0x2c2,_0x295e20:0x2dc,_0x2a19ae:0x203,_0x26974f:0x26d},_0x224725={_0x56a701:0xb4,_0x1558b9:0x89,_0x4cfbf8:0xa8};if(_0x1d6998[_0x485c0f(0x1ae,0x1b1,-0x84,-_0x353e9a._0x1f7342)](0x0,0x8)[_0x485c0f(0x2ee,_0x353e9a._0x525f49,0x2a,0x137)](PNG_SIGNATURE))return _0x485c0f(0x11e,_0x353e9a._0x382af9,_0x353e9a._0x54ab97,0x241);if(_0x1d6998[0x0]===0xff&&_0x1d6998[0x1]===0xd8&&_0x1d6998[0x2]===0xff)return _0x485c0f(-0x11,0x34c,_0x353e9a._0x4bce9c,_0x353e9a._0x564fb5);const _0x4ee5c9=_0x1d6998[_0x19c43a(0xb9,_0x353e9a._0x14a02c,0x15c,-0x1c9)](0x0,0x6)[_0x485c0f(0x1a4,_0x353e9a._0x16bba5,_0x353e9a._0x3092ae,_0x353e9a._0x14a02c)](_0x485c0f(_0x353e9a._0x172ba9,0x39a,0x306,0x2d2));if(_0x4ee5c9==='GIF87a'||_0x4ee5c9===_0x485c0f(0x16a,-0xc0,_0x353e9a._0x10d0d5,0x97))return'image/gif';function _0x19c43a(_0x3862ad,_0x544912,_0x1cbaee,_0x73595c){return _0x16ac01(_0x3862ad-_0x224725._0x56a701,_0x544912-_0x224725._0x1558b9,_0x1cbaee-_0x224725._0x4cfbf8,_0x73595c);}if(_0x1d6998['subarray'](0x0,0x4)[_0x19c43a(0xb7,_0x353e9a._0x1f1a3b,-_0x353e9a._0x2adc76,-0xb9)](_0x19c43a(_0x353e9a._0x307deb,_0x353e9a._0x2c2c12,_0x353e9a._0x2436da,0x474))===_0x485c0f(0x195,_0x353e9a._0x14b5dd,0x1c9,_0x353e9a._0x4dd280)&&_0x1d6998[_0x485c0f(-0xae,0x37,-_0x353e9a._0x1aabe3,-0x11)](0x8,0xc)['toString']('ascii')===_0x19c43a(0x6f,-0xb2,-_0x353e9a._0x5153f1,-0x1cc))return _0x19c43a(_0x353e9a._0xafe567,_0x353e9a._0x5b326c,-_0x353e9a._0x3c072e,0x16f);const _0x25929b=_0x2de289[_0x485c0f(-_0x353e9a._0x283462,0xd3,-0xec,_0x353e9a._0xecfcc2)](_0x4cdf11)[_0x485c0f(_0x353e9a._0x54427d,0x32,0x139,-_0x353e9a._0xecfcc2)]();if(_0x25929b===_0x485c0f(_0x353e9a._0x557250,0xe1,0x45,-0x82))return _0x19c43a(0x459,0x267,0x449,0x138);if(_0x25929b===_0x485c0f(0x76,_0x353e9a._0x28f0d8,0x2fd,0x242)||_0x25929b===_0x19c43a(0x428,_0x353e9a._0x1d1490,_0x353e9a._0x4d9cd4,_0x353e9a._0x33a86a))return _0x485c0f(_0x353e9a._0x1c3808,0x308,0x26d,_0x353e9a._0x14022d);if(_0x25929b==='.gif')return _0x485c0f(0x168,0x446,_0x353e9a._0x59788f,_0x353e9a._0x5b443c);if(_0x25929b===_0x485c0f(0x1f7,_0x353e9a._0x295e20,_0x353e9a._0x2a19ae,0x23d))return _0x485c0f(0xb7,_0x353e9a._0x26974f,_0x353e9a._0xecfcc2,0x68);function _0x485c0f(_0x479cfc,_0x440467,_0x52c44f,_0x55f728){return _0x5885dd(_0x479cfc-0x7e,_0x479cfc,_0x52c44f-0x1e2,_0x55f728- -0x22c);}return void 0x0;}function normalizeDetail(_0x5e7045){const _0x3ebd85={_0x5a802a:0x85c,_0x327116:0x634,_0x3e1188:0x7ca,_0x35887f:0x560,_0x31b3b0:0x441,_0x1be0a4:0x354,_0x1f20aa:0x61b,_0x514095:0x720,_0x1bea7b:0x576,_0x28b346:0x63d,_0x29c269:0x68c,_0x31aecb:0x647},_0x21e608={_0x2d038e:0x7e,_0x2fa1ec:0x160};if(_0x5e7045===void 0x0)return void 0x0;const _0x55e87c=_0x5e7045[_0x5a5f59(_0x3ebd85._0x5a802a,_0x3ebd85._0x327116,_0x3ebd85._0x3e1188,0x77f)]()[_0x14471a(0x47f,_0x3ebd85._0x35887f,_0x3ebd85._0x31b3b0,_0x3ebd85._0x1be0a4)]();if(!SUPPORTED_DETAILS[_0x14471a(_0x3ebd85._0x1f20aa,0x65e,_0x3ebd85._0x514095,_0x3ebd85._0x1bea7b)](_0x55e87c))throw new ToolExecutionError(_0x14471a(0x55f,_0x3ebd85._0x28b346,_0x3ebd85._0x29c269,_0x3ebd85._0x31aecb)+_0x5e7045,{'detail':_0x5e7045});function _0x5a5f59(_0x1da186,_0x930fbc,_0x1ddc63,_0x5bfdff){return _0x5885dd(_0x1da186-_0x21e608._0x2d038e,_0x1ddc63,_0x1ddc63-_0x21e608._0x2fa1ec,_0x5bfdff-0x3ba);}function _0x14471a(_0x4deb46,_0x134616,_0xc26015,_0x5256e9){return _0x5885dd(_0x4deb46-0xb3,_0x5256e9,_0xc26015-0x113,_0x134616-0x39e);}return _0x55e87c;}function createViewFileTool(_0x310aac={}){const _0x289ebb={_0x3a8f1a:0x654,_0x441259:0x615,_0x415154:0x62b,_0x390d5d:0x57c,_0x442f71:0x4ef,_0x29c669:0x3e1,_0x21b919:0x760,_0x4b85e3:0x850,_0x350428:0x422,_0x2183dc:0x33e,_0x4fca51:0x175,_0x1b09e8:0x407,_0x185d04:0x333,_0x40acd5:0x6ee,_0x3f93fe:0x6cc,_0x1d41cf:0x7a5,_0x1b1b1c:0x7b5,_0x1c2e67:0x99f,_0x469996:0x585},_0x5ec6ec={_0x2be489:0x8b0,_0x34bc07:0x6f7,_0x5301cd:0x45,_0x31e40e:0x3,_0x4f2bb5:0x88e,_0x203a15:0x8f7,_0x8304c3:0x762,_0x47f05c:0x28a,_0x4c4789:0x155,_0x17d40c:0xa7,_0x36a104:0xc4,_0x246bf3:0x9c,_0x17efcc:0x16e,_0x21e4a9:0x1c6,_0x21e315:0x93,_0x1fbb1e:0x5c4,_0x4575c2:0x5a5,_0x5cd064:0x6bb,_0x14f1af:0x7cb,_0xe3f526:0x5cb,_0x1f4d5c:0x8fc,_0x5d9198:0x538,_0x16cc32:0x506,_0x28b11c:0x10a,_0x4cd701:0x7d8,_0x462890:0x60a,_0x3ab0f0:0x61a,_0x52f618:0x143,_0x1340e4:0x36c,_0x5b9bec:0x887,_0x3de2aa:0x953,_0x2ea640:0x795,_0x27c2b6:0x68d,_0x32718e:0x250,_0x7e7eef:0xf2,_0x2fd032:0x281,_0x758c72:0x200,_0x6806a0:0xe2,_0x2d82b0:0x20,_0xc91578:0x124,_0x2a3a86:0x289,_0x572777:0x73d,_0x381441:0x700,_0x523335:0x264,_0x4a27b5:0x891,_0x49d29e:0x7bf,_0x14aa6a:0x60d,_0x2976f3:0x43e,_0x3f4b3d:0x717,_0x1653f4:0x5e2,_0x486e44:0x190,_0x3dc6d7:0x126,_0x3f8173:0x6f1,_0x5d1c36:0x61d},_0x3df0a9={_0x14282a:0x2f,_0x135321:0x2a4},_0x3fe2b7={_0x33ed9d:0x128,_0x56a8bc:0x2f8,_0x1813fa:0x119},_0x3af05d={_0xa508da:0x15e},_0x21c4fa={_0x1d59fa:0x54e},_0x217e73=_0x2de289[_0x2c79bf(0x7b9,0x6a2,_0x289ebb._0x3a8f1a,_0x289ebb._0x441259)](_0x310aac[_0x2c79bf(_0x289ebb._0x415154,0x5a1,_0x289ebb._0x390d5d,0x4e0)]??process['cwd']());function _0x2c79bf(_0x443144,_0x13c585,_0x2a6bcb,_0x35ae03){return _0x16ac01(_0x443144-0x1a4,_0x443144-_0x21c4fa._0x1d59fa,_0x2a6bcb-0xa2,_0x2a6bcb);}const _0x232ed7=_0x310aac['allowedDirs']??[],_0x1846f9=_0x310aac[_0x2c79bf(0x501,_0x289ebb._0x442f71,_0x289ebb._0x29c669,0x5e1)]??DEFAULT_MAX_BYTES;function _0x51e734(_0x31def8,_0xe2f3ff,_0x11c71c,_0x37c201){return _0x16ac01(_0x31def8-_0x3af05d._0xa508da,_0xe2f3ff-0x26e,_0x11c71c-0x17e,_0x11c71c);}const _0x5d9dd5=_0x310aac[_0x2c79bf(0x765,_0x289ebb._0x21b919,0x7f0,_0x289ebb._0x4b85e3)]??'ViewFile';return defineTool({'name':_0x5d9dd5,'permissionClass':_0x51e734(_0x289ebb._0x350428,_0x289ebb._0x2183dc,_0x289ebb._0x4fca51,_0x289ebb._0x1b09e8),'description':_0x2c79bf(0x50b,0x5fb,_0x289ebb._0x185d04,_0x289ebb._0x40acd5),'inputSchema':{'type':_0x2c79bf(0x7ea,0x692,0x80d,_0x289ebb._0x3f93fe),'properties':{'path':{'type':'string'},'detail':{'type':_0x2c79bf(_0x289ebb._0x1d41cf,_0x289ebb._0x1b1b1c,0x6f8,_0x289ebb._0x1c2e67)}},'required':[_0x2c79bf(0x74a,_0x289ebb._0x469996,0x5e7,0x919)]},async *'execute'(_0x5ad726){function _0x3fea27(_0x4f3004,_0x327b86,_0x44b555,_0x3e3749){return _0x51e734(_0x4f3004-_0x3fe2b7._0x33ed9d,_0x327b86-_0x3fe2b7._0x56a8bc,_0x44b555,_0x3e3749-_0x3fe2b7._0x1813fa);}const _0xb73fcb=resolveAllowedPath(_0x217e73,_0x232ed7,_0x5ad726[_0x3fea27(_0x5ec6ec._0x2be489,0x762,_0x5ec6ec._0x34bc07,0x67c)]);await assertWorkspaceFile(_0xb73fcb);const _0x55db95=await _0x1ffa8a(_0xb73fcb);if(_0x55db95[_0x3fea27(0x623,0x6f1,0x8ed,0x6af)]>_0x1846f9)throw new ToolExecutionError(_0xac8e47(_0x5ec6ec._0x5301cd,-0x1c4,-_0x5ec6ec._0x31e40e,-0xb7)+_0x5ad726[_0x3fea27(_0x5ec6ec._0x4f2bb5,0x762,_0x5ec6ec._0x203a15,0x5c7)],{'path':_0x5ad726[_0x3fea27(0x70a,_0x5ec6ec._0x8304c3,0x80e,0x580)],'maxBytes':_0x1846f9,'size':_0x55db95[_0xac8e47(_0x5ec6ec._0x47f05c,0x34,_0x5ec6ec._0x4c4789,_0x5ec6ec._0x17d40c)]});const _0x4ae326=await _0x2261be(_0xb73fcb),_0x256645=detectImageMediaType(_0x4ae326,_0xb73fcb);if(!_0x256645)throw new ToolExecutionError(_0xac8e47(_0x5ec6ec._0x36a104,-_0x5ec6ec._0x246bf3,0x14,0x1f7)+_0x5ad726['path'],{'path':_0x5ad726[_0xac8e47(0x19b,_0x5ec6ec._0x17efcc,_0x5ec6ec._0x21e4a9,_0x5ec6ec._0x21e315)],'supported':[_0x3fea27(_0x5ec6ec._0x1fbb1e,0x742,0x65c,_0x5ec6ec._0x4575c2),_0x3fea27(_0x5ec6ec._0x5cd064,_0x5ec6ec._0x14f1af,_0x5ec6ec._0xe3f526,_0x5ec6ec._0x1f4d5c),'.jpg',_0x3fea27(0x66d,0x481,_0x5ec6ec._0x5d9198,_0x5ec6ec._0x16cc32),_0xac8e47(_0x5ec6ec._0x28b11c,0x1d9,0x1a4,0xfd)]});const _0x94cb7f=normalizeDetail(_0x5ad726[_0x3fea27(_0x5ec6ec._0x4cd701,_0x5ec6ec._0x462890,_0x5ec6ec._0x3ab0f0,0x61a)]);function _0xac8e47(_0x6f5f53,_0x982328,_0x2cf885,_0x1d4fff){return _0x51e734(_0x6f5f53-_0x3df0a9._0x14282a,_0x2cf885- -_0x3df0a9._0x135321,_0x1d4fff,_0x1d4fff-0x8e);}const _0x140362=['Viewed\x20image\x20file:\x20'+_0x5ad726[_0xac8e47(_0x5ec6ec._0x52f618,0x37c,_0x5ec6ec._0x21e4a9,_0x5ec6ec._0x1340e4)],_0x3fea27(0x779,0x737,0x5b0,_0x5ec6ec._0x5b9bec)+_0x256645,'Size:\x20'+_0x55db95['size']+_0x3fea27(_0x5ec6ec._0x3de2aa,0x774,0x58a,_0x5ec6ec._0x2ea640)][_0x3fea27(_0x5ec6ec._0x27c2b6,0x666,0x696,0x81e)](_0x94cb7f?[_0xac8e47(0x94,_0x5ec6ec._0x32718e,_0x5ec6ec._0x7e7eef,0xcf)+_0x94cb7f]:[])['join']('\x0a'),_0x3605aa=[{'type':'image','source':{'type':_0xac8e47(_0x5ec6ec._0x2fd032,_0x5ec6ec._0x758c72,_0x5ec6ec._0x6806a0,_0x5ec6ec._0x2d82b0),'media_type':_0x256645,'data':_0x4ae326['toString'](_0xac8e47(0x253,_0x5ec6ec._0xc91578,0xe2,_0x5ec6ec._0x2a3a86))}},{'type':_0x3fea27(_0x5ec6ec._0x572777,0x59f,_0x5ec6ec._0x381441,0x6f4),'text':_0x140362}];return yield createToolOutput(_0x140362,{'path':_0x5ad726[_0xac8e47(_0x5ec6ec._0x523335,0x33,_0x5ec6ec._0x21e4a9,0x1eb)],'resolvedPath':_0xb73fcb,'created':_0x55db95[_0x3fea27(0x647,0x804,0x9e8,_0x5ec6ec._0x4a27b5)][_0x3fea27(_0x5ec6ec._0x49d29e,_0x5ec6ec._0x14aa6a,0x5ec,_0x5ec6ec._0x2976f3)](),'modified':_0x55db95[_0x3fea27(_0x5ec6ec._0x3f4b3d,_0x5ec6ec._0x1653f4,0x6a1,0x53d)][_0xac8e47(_0x5ec6ec._0x486e44,-0x18d,0x71,_0x5ec6ec._0x3dc6d7)](),'size':_0x55db95[_0x3fea27(0x7a1,_0x5ec6ec._0x3f8173,0x661,_0x5ec6ec._0x5d1c36)],'mimeType':_0x256645,'encoding':_0xac8e47(0x26b,0xb7,0xe2,0x28a),..._0x94cb7f?{'detail':_0x94cb7f}:{}},_0x3605aa),void 0x0;}});}function createQuestionId(){const _0x9c9e81={_0x2693e5:0x661,_0x59edb4:0x69b,_0x178f0d:0x674,_0xf6769d:0x659,_0x48ea60:0x56b,_0x38fb84:0x3ec,_0x39c5ac:0x3e1},_0x246b59={_0x1c1b3b:0x95},_0x2f00eb={_0xec9d9e:0x104};function _0x2b9952(_0x370b32,_0x3ec440,_0x2c613f,_0x4a7371){return _0x5885dd(_0x370b32-0x1d2,_0x2c613f,_0x2c613f-_0x2f00eb._0xec9d9e,_0x370b32-0x24f);}function _0xe30af8(_0x2c1b9f,_0x4b8de2,_0x212b0d,_0x128152){return _0x16ac01(_0x2c1b9f-_0x246b59._0x1c1b3b,_0x128152-0x42f,_0x212b0d-0x1b7,_0x2c1b9f);}return _0xe30af8(_0x9c9e81._0x2693e5,_0x9c9e81._0x59edb4,0x4fa,_0x9c9e81._0x178f0d)+Date[_0xe30af8(_0x9c9e81._0xf6769d,_0x9c9e81._0x48ea60,0x61e,0x672)]()+'-'+Math[_0xe30af8(0x206,0x1cc,0x40a,0x2fd)]()[_0xe30af8(0x524,_0x9c9e81._0x38fb84,0x201,_0x9c9e81._0x39c5ac)](0x24)[_0x2b9952(0x3e0,0x5bb,0x2cd,0x1df)](0x2,0x9);}function validateInput(_0x341bf0){const _0x361853={_0x109613:0x789,_0x41319b:0x611,_0xdddd59:0x426,_0x2a418b:0x26e,_0xde2f87:0x63c,_0x22bc5c:0x2c3,_0x231f7b:0x585,_0xd184e7:0x290,_0x514fb4:0x798,_0x1e6802:0x776,_0x244ab1:0x776,_0x36e24f:0x571,_0x5e895c:0x56e,_0x3b5d43:0x60c,_0x337dff:0x699,_0x212bfb:0x5f8,_0x66eb1f:0x583,_0x5c69d0:0x677,_0x9fd754:0x421,_0x571dc3:0x2a2,_0x22bf84:0x556,_0x40e8e8:0xa15,_0x28e09a:0x6f9,_0x2dbbbe:0x4f1,_0x4c1cbd:0xad4,_0x3758f2:0x8d1,_0x29166b:0x959,_0x1e7b4f:0x88f,_0x5514d6:0x76c,_0x130b18:0x58c,_0x4f4939:0x8a0,_0x22c689:0x8b2,_0x46f99f:0x92d,_0x367600:0x8b6,_0x36321a:0x75b,_0x22e1c0:0x35c,_0x3e8dfa:0x152,_0x54611c:0x3f0,_0x132c80:0x956,_0x5463a5:0x856,_0x462d3c:0x42a,_0x497530:0x593,_0x5137ac:0x41f,_0x81424e:0x82f,_0x2749c0:0x78c,_0x5340c2:0x996,_0x5bcd01:0x58f,_0x1d842c:0x3ad,_0x265c2a:0x776,_0x10cec1:0x56c,_0x154ab8:0x507,_0x442e70:0x740,_0x3caed7:0x993,_0x40cc06:0x538,_0x100acb:0x4f5,_0x15d922:0x72e,_0x52a3d3:0xa07,_0x2664a0:0x8e5,_0xe55fbd:0x7fa,_0x4116a6:0x98d,_0x32a394:0x78d,_0x49f59b:0x6ae,_0x53a6e6:0x7d6,_0x32da8c:0x6c5,_0x1d20f9:0x75b},_0x1a4431={_0x1f1273:0xa0};function _0x318122(_0x5440ea,_0x1bed57,_0x1f28c5,_0x4aefa8){return _0x5885dd(_0x5440ea-0x182,_0x1f28c5,_0x1f28c5-_0x1a4431._0x1f1273,_0x1bed57-0x3eb);}if(!Array[_0x318122(_0x361853._0x109613,_0x361853._0x41319b,0x43d,0x642)](_0x341bf0[_0x9a8642(_0x361853._0xdddd59,_0x361853._0x2a418b,_0x361853._0xde2f87,_0x361853._0x22bc5c)])||_0x341bf0[_0x9a8642(0x426,0x355,_0x361853._0x231f7b,_0x361853._0xd184e7)][_0x318122(_0x361853._0x514fb4,_0x361853._0x1e6802,0x8f4,0x6ae)]<0x1||_0x341bf0['questions'][_0x318122(0x69c,_0x361853._0x244ab1,_0x361853._0x36e24f,0x7fb)]>0xa)throw new ToolExecutionError(_0x318122(0x41e,_0x361853._0x5e895c,0x627,_0x361853._0x3b5d43),{'error':'invalid_questions'});function _0x9a8642(_0x525eb0,_0x395369,_0x45f937,_0x1b2ef4){return _0x5885dd(_0x525eb0-0x87,_0x395369,_0x45f937-0x3c,_0x525eb0-0x204);}for(let _0x3a03c5=0x0;_0x3a03c5<_0x341bf0[_0x318122(_0x361853._0x337dff,0x60d,_0x361853._0x212bfb,_0x361853._0x66eb1f)][_0x318122(0x960,_0x361853._0x1e6802,0x778,_0x361853._0x5c69d0)];_0x3a03c5+=0x1){const _0x3a3d35=_0x341bf0[_0x9a8642(_0x361853._0xdddd59,_0x361853._0x9fd754,_0x361853._0x571dc3,0x5c1)][_0x3a03c5];if(!_0x3a3d35['question']||typeof _0x3a3d35['question']!==_0x9a8642(0x6ea,0x6db,_0x361853._0x22bf84,0x683))throw new ToolExecutionError('Question\x20'+(_0x3a03c5+0x1)+_0x318122(_0x361853._0x40e8e8,0x936,0xa05,0x9a8));if(!_0x3a3d35[_0x318122(0x612,_0x361853._0x28e09a,0x6d2,0x888)]||typeof _0x3a3d35[_0x318122(_0x361853._0x2dbbbe,0x6f9,0x7e9,0x89b)]!==_0x318122(_0x361853._0x4c1cbd,_0x361853._0x3758f2,0x7f5,_0x361853._0x29166b))throw new ToolExecutionError('Question\x20'+(_0x3a03c5+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x3a3d35[_0x318122(_0x361853._0x1e7b4f,0x6f9,_0x361853._0x5514d6,_0x361853._0x130b18)][_0x318122(0x5ba,_0x361853._0x1e6802,_0x361853._0x4f4939,_0x361853._0x22c689)]>0x1e)throw new ToolExecutionError(_0x318122(_0x361853._0x46f99f,_0x361853._0x367600,0x902,_0x361853._0x36321a)+(_0x3a03c5+0x1)+_0x9a8642(_0x361853._0x22e1c0,0x14e,_0x361853._0x3e8dfa,0x485)+_0x3a3d35[_0x9a8642(0x512,0x709,0x6ab,_0x361853._0x54611c)][_0x318122(_0x361853._0x132c80,0x776,_0x361853._0x5463a5,0x92e)]);if(!Array[_0x9a8642(_0x361853._0x462d3c,0x438,_0x361853._0x497530,_0x361853._0x5137ac)](_0x3a3d35[_0x318122(_0x361853._0x81424e,0x81b,0x892,_0x361853._0x2749c0)])||_0x3a3d35[_0x318122(_0x361853._0x5340c2,0x81b,0x81d,0x621)][_0x9a8642(_0x361853._0x5bcd01,_0x361853._0x1d842c,0x4dc,0x780)]<0x2||_0x3a3d35['options'][_0x318122(0x70b,_0x361853._0x265c2a,0x682,_0x361853._0x10cec1)]>0x4)throw new ToolExecutionError(_0x9a8642(0x6cf,0x6bf,_0x361853._0x154ab8,0x61f)+(_0x3a03c5+0x1)+_0x9a8642(_0x361853._0x442e70,0x6ad,0x630,0x811));for(let _0x3273bf=0x0;_0x3273bf<_0x3a3d35['options']['length'];_0x3273bf+=0x1){const _0x1393f0=_0x3a3d35[_0x318122(_0x361853._0x3caed7,0x81b,0x89b,0x6db)][_0x3273bf];if(!_0x1393f0[_0x9a8642(_0x361853._0x40cc06,0x3a1,_0x361853._0x100acb,_0x361853._0x15d922)]||!_0x1393f0[_0x318122(0x68c,0x6c2,0x6ca,0x566)])throw new ToolExecutionError(_0x318122(0xa8a,0x8b6,_0x361853._0x52a3d3,0xa30)+(_0x3a03c5+0x1)+',\x20Option\x20'+(_0x3273bf+0x1)+_0x318122(_0x361853._0x2664a0,_0x361853._0xe55fbd,_0x361853._0x4116a6,_0x361853._0x32a394));}if(typeof _0x3a3d35['multiSelect']!==_0x318122(_0x361853._0x49f59b,0x814,_0x361853._0x53a6e6,_0x361853._0x32da8c))throw new ToolExecutionError('Question\x20'+(_0x3a03c5+0x1)+_0x9a8642(0x5ba,0x3a9,_0x361853._0x1d20f9,0x70d));}}function buildQuestions(_0x449b86){const _0x334dc2={_0xc04c5e:0x195,_0x21945d:0x2b6,_0x2aca31:0xe6,_0x31fd8f:0xc2},_0x4c5c4c={_0x36f3ce:0x4f,_0x26cd01:0x7f,_0x2d68df:0x1ee};function _0x287660(_0x5552e3,_0x390f0c,_0x58f5fe,_0x57ef67){return _0x16ac01(_0x5552e3-_0x4c5c4c._0x36f3ce,_0x58f5fe-_0x4c5c4c._0x26cd01,_0x58f5fe-_0x4c5c4c._0x2d68df,_0x57ef67);}function _0x3f1a29(_0x52bd44,_0x3b6257,_0x3899b4,_0x398af5){return _0x16ac01(_0x52bd44-0x18,_0x3b6257- -0x128,_0x3899b4-0x3a,_0x52bd44);}return _0x449b86[_0x3f1a29(-0x349,-_0x334dc2._0xc04c5e,-0x22,-_0x334dc2._0x21945d)][_0x287660(-0x221,_0x334dc2._0x2aca31,-_0x334dc2._0x31fd8f,0x102)]((_0x4e0068,_0x56f005)=>({'id':'q'+_0x56f005,'question':_0x4e0068[_0x3f1a29(-0x23b,-0xa1,-0x164,0x8d)],'topic':_0x4e0068[_0x287660(0x1e8,-0x54,0xfe,-0x54)],'options':_0x4e0068[_0x3f1a29(0xbe,0x79,0xf9,0xe0)],'multiSelect':_0x4e0068['multiSelect']}));}function createResult(_0x229c00,_0x833ad0,_0x380a1f){const _0x104ec8={_0x5a6537:0x129,_0x5bbb2c:0x27d},_0x5b496b={_0x39b3e9:0x166,_0x186b4c:0x1a5},_0x44ba12={'questionId':_0x229c00,'questionCount':_0x833ad0,'answers':_0x380a1f};function _0x238cac(_0x5c3a03,_0x465076,_0x21f380,_0x5d3cbf){return _0x5885dd(_0x5c3a03-0x1a0,_0x5c3a03,_0x21f380-_0x5b496b._0x39b3e9,_0x21f380- -_0x5b496b._0x186b4c);}return createToolOutput('User\x20responses\x20received:\x20'+JSON[_0x238cac(0x296,_0x104ec8._0x5a6537,_0x104ec8._0x5bbb2c,0x28a)](_0x380a1f,null,0x2),_0x44ba12);}function createAskUserTool(){const _0x43bf32={_0x8d1c36:0x64,_0x254e19:0x1a0,_0x5b976f:0x268,_0x25269f:0x3af,_0x91358e:0x54e,_0x447b02:0x388,_0x58cba0:0x446,_0x1ff626:0x560,_0x44b650:0x4a8,_0x589cb9:0x14d,_0xfb03bf:0x2fb,_0x3dd363:0x1fa,_0x44dac6:0x48b,_0x14e524:0x455,_0x44223a:0x352,_0x322d99:0x657,_0x297e51:0x4fa,_0x53a1d9:0x4fa,_0x2432a9:0x226,_0xed763c:0x114,_0xd1aa17:0x202,_0x518066:0x23d,_0x29094e:0x447,_0x12b732:0x5a4,_0x4a83fe:0x5f2,_0x2261ab:0x39a,_0x19352e:0x415,_0x496cb0:0x3a9,_0x2373e1:0x218,_0x291cc8:0x156},_0x359e8a={_0x21f38a:0xe9,_0x14d3f5:0x186,_0x27b418:0x108,_0x4824bb:0x4fc,_0x300ee4:0x4f2,_0x1b1a9b:0x5cb,_0xa05033:0x1b0,_0xbf0568:0x330,_0x4adafa:0x4e7,_0x2ab2d5:0x491,_0x10db14:0x55c,_0x28e0a5:0x568,_0x4a2aa6:0x1f2,_0x5f15e:0x2a1,_0x461bdb:0x31c,_0xdf0a42:0x492,_0xfe4520:0x5bc,_0x23563a:0x50e,_0x3e4f08:0x43e,_0x5287da:0x251,_0x4b05f1:0x3ac,_0x136d92:0x4b1,_0x2d7f23:0x2dd,_0x4bde31:0xfc,_0x32764e:0x1d8,_0x51fc08:0x28e},_0xbb30f5={_0x1bbb5c:0x103},_0x5ce47a={_0xad0a4b:0x16c,_0xbb3413:0x2ad};function _0x3fa178(_0x3263c3,_0x296017,_0x393aa0,_0x3da699){return _0x16ac01(_0x3263c3-_0x5ce47a._0xad0a4b,_0x296017-_0x5ce47a._0xbb3413,_0x393aa0-0x154,_0x3da699);}function _0x29775c(_0x57a2d5,_0x38da45,_0x3d5773,_0x4fdaad){return _0x16ac01(_0x57a2d5-0x10,_0x38da45-0x1ef,_0x3d5773-_0xbb30f5._0x1bbb5c,_0x3d5773);}return defineTool({'name':_0x29775c(_0x43bf32._0x8d1c36,_0x43bf32._0x254e19,_0x43bf32._0x5b976f,0x387),'permissionClass':'read','description':_0x29775c(_0x43bf32._0x25269f,0x440,0x602,0x3e0),'inputSchema':{'type':_0x3fa178(_0x43bf32._0x91358e,0x549,0x369,_0x43bf32._0x447b02),'properties':{'questions':{'type':'array','items':{'type':_0x29775c(0x42f,0x48b,0x456,0x50c),'properties':{'question':{'type':_0x29775c(0x48a,_0x43bf32._0x58cba0,_0x43bf32._0x1ff626,_0x43bf32._0x44b650)},'topic':{'type':_0x3fa178(0x5e2,0x504,0x45e,0x548)},'options':{'type':_0x3fa178(_0x43bf32._0x589cb9,_0x43bf32._0xfb03bf,0x458,_0x43bf32._0x3dd363),'items':{'type':_0x29775c(0x385,_0x43bf32._0x44dac6,0x4fd,_0x43bf32._0x14e524),'properties':{'label':{'type':_0x3fa178(_0x43bf32._0x44223a,0x504,_0x43bf32._0x322d99,_0x43bf32._0x297e51)},'description':{'type':'string'}},'required':[_0x3fa178(_0x43bf32._0x53a1d9,0x352,0x532,_0x43bf32._0x2432a9),_0x29775c(_0x43bf32._0xed763c,0x237,0x3e6,_0x43bf32._0xd1aa17)]}},'multiSelect':{'type':_0x3fa178(_0x43bf32._0x518066,_0x43bf32._0x29094e,_0x43bf32._0x12b732,_0x43bf32._0x4a83fe)}},'required':['question',_0x29775c(_0x43bf32._0x2261ab,0x26e,_0x43bf32._0x19352e,_0x43bf32._0x496cb0),_0x3fa178(0x379,0x44e,0x39a,0x597),_0x29775c(0x1c7,_0x43bf32._0x2373e1,0x109,0x98)]}},'answers':{'type':_0x29775c(0x29c,0x48b,0x4b6,0x4b2),'properties':{}}},'required':[_0x3fa178(0x2de,0x240,0x3db,_0x43bf32._0x291cc8)]},async *'execute'(_0x36dd3e,_0x3c05e6){const _0x30f181={_0x2eb3d5:0x140,_0x52c870:0x165},_0x2dc141=_0x36dd3e;validateInput(_0x2dc141);const _0x24f439=_0x3c05e6[_0x54ad52(_0x359e8a._0x21f38a,_0x359e8a._0x14d3f5,0x2af,_0x359e8a._0x27b418)]??createQuestionId();if(_0x2dc141[_0x54ad52(_0x359e8a._0x4824bb,0x60f,_0x359e8a._0x300ee4,_0x359e8a._0x1b1a9b)]&&Object[_0xeec6d9(_0x359e8a._0xa05033,0x32f,_0x359e8a._0xbf0568,_0x359e8a._0x4adafa)](_0x2dc141[_0x54ad52(_0x359e8a._0x2ab2d5,_0x359e8a._0x10db14,0x4f2,_0x359e8a._0x28e0a5)])['length']>0x0)return createResult(_0x24f439,_0x2dc141[_0x54ad52(0x3a3,0x8c,_0x359e8a._0x4a2aa6,_0x359e8a._0x5f15e)][_0x54ad52(_0x359e8a._0x461bdb,_0x359e8a._0xdf0a42,0x35b,0x458)],_0x2dc141[_0xeec6d9(0x5a3,0x3fc,_0x359e8a._0xfe4520,_0x359e8a._0x23563a)]);if(!_0x3c05e6[_0x54ad52(0x2e0,_0x359e8a._0x3e4f08,0x2dd,_0x359e8a._0x5287da)])throw new ToolExecutionError(_0xeec6d9(_0x359e8a._0x4b05f1,0x36b,0x167,0x28c));const _0x5414a6=buildQuestions(_0x2dc141);function _0x54ad52(_0x7f24fa,_0x2b6736,_0x50c912,_0x568ca0){return _0x3fa178(_0x7f24fa-0x1f2,_0x50c912- -0x4e,_0x50c912-0x11c,_0x7f24fa);}const _0x43c35d=await _0x3c05e6[_0x54ad52(_0x359e8a._0x5287da,_0x359e8a._0x136d92,_0x359e8a._0x2d7f23,0x48e)]({'questionId':_0x24f439,'questions':_0x5414a6});function _0xeec6d9(_0x35ecd7,_0x17ce2a,_0x4e8356,_0x4de988){return _0x3fa178(_0x35ecd7-_0x30f181._0x2eb3d5,_0x17ce2a- -0x144,_0x4e8356-_0x30f181._0x52c870,_0x4de988);}yield createResult(_0x24f439,_0x2dc141[_0xeec6d9(0x25f,_0x359e8a._0x4bde31,_0x359e8a._0x32764e,0x16)][_0xeec6d9(_0x359e8a._0x51fc08,0x265,0x38a,_0x359e8a._0x4bde31)],_0x43c35d);}});}import{stat as _0x476bf3}from'fs/promises';import _0x4a4c80 from'path';import{fileURLToPath as _0x5550b4}from'url';function awaitWithAbort2(_0xf3394e,_0x3db261){const _0x4eb5db={_0x2dcfc5:0x5f4,_0x4701f0:0x4b7,_0xa30517:0x3f5},_0x33d724={_0x48ccf6:0x13d,_0x1ae76e:0x26},_0x71d76e={_0x11db64:0x31c,_0xee64df:0x177},_0x5188b1={_0x494a96:0x55f};if(!_0x3db261)return _0xf3394e;function _0x4b6d72(_0x54dae2,_0x5572e1,_0x3aab2e,_0x18164){return _0x5885dd(_0x54dae2-0xb7,_0x5572e1,_0x3aab2e-0x19e,_0x3aab2e-0x355);}function _0x2ea4e5(_0x3107bf,_0x2f6848,_0x4f7b3b,_0x588646){return _0x16ac01(_0x3107bf-0x17c,_0x2f6848-_0x5188b1._0x494a96,_0x4f7b3b-0x19a,_0x4f7b3b);}if(_0x3db261[_0x2ea4e5(0x817,0x6a0,_0x4eb5db._0x2dcfc5,0x85a)])return Promise['reject'](toAbortError(_0x3db261[_0x2ea4e5(0x28d,0x423,_0x4eb5db._0x4701f0,_0x4eb5db._0xa30517)]));return new Promise((_0x5ecb60,_0x29a38c)=>{const _0x5a5621=()=>{_0x2b21ee(),_0x29a38c(toAbortError(_0x3db261['reason']));},_0x2b21ee=()=>_0x3db261[_0x33821e(0x29b,0xce,0xcc,0xf4)](_0x29baaa(0x18f,0x135,0x52,0x1c),_0x5a5621);_0x3db261['addEventListener']('abort',_0x5a5621,{'once':!![]});function _0x33821e(_0x1fd3a3,_0x5e28c9,_0x55c87f,_0x518405){return _0x4b6d72(_0x1fd3a3-0xe0,_0x5e28c9,_0x1fd3a3- -_0x71d76e._0x11db64,_0x518405-_0x71d76e._0xee64df);}function _0x29baaa(_0x222790,_0x2104e5,_0x1527e9,_0x5cac8e){return _0x4b6d72(_0x222790-_0x33d724._0x48ccf6,_0x1527e9,_0x2104e5- -0x4f6,_0x5cac8e-_0x33d724._0x1ae76e);}_0xf3394e['then'](_0x1ab537=>{_0x2b21ee(),_0x5ecb60(_0x1ab537);},_0x369a87=>{_0x2b21ee(),_0x29a38c(_0x369a87);});});}function severityName(_0x529370){const _0x350855={_0x377a22:0x59d,_0x44207c:0x76e,_0x413a29:0x318,_0x32aae6:0x1bf,_0x91bcac:0x59d,_0x3e2ce4:0x141,_0x274080:0x319,_0x32ac1b:0x31e},_0xa3cecd={_0x26f75a:0x68},_0x5717b4={_0x18e3d9:0x11d};function _0x242845(_0x4d6ee5,_0x3e57e7,_0x3480d6,_0x31d40a){return _0x5885dd(_0x4d6ee5-_0x5717b4._0x18e3d9,_0x3e57e7,_0x3480d6-0x1d7,_0x4d6ee5-0x7d);}function _0x28eff6(_0x51c770,_0x48355f,_0x4a2eb7,_0x5bde56){return _0x5885dd(_0x51c770-0x57,_0x51c770,_0x4a2eb7-_0xa3cecd._0x26f75a,_0x48355f- -0x22);}switch(_0x529370){case 0x1:return _0x242845(0x562,_0x350855._0x377a22,_0x350855._0x44207c,0x5d3);case 0x2:return _0x242845(_0x350855._0x413a29,0x2e8,0x316,_0x350855._0x32aae6);case 0x3:return _0x242845(0x58f,0x652,_0x350855._0x91bcac,0x569);case 0x4:return _0x28eff6(_0x350855._0x3e2ce4,_0x350855._0x274080,0x3ac,0x465);default:return _0x28eff6(0x344,0x307,_0x350855._0x32ac1b,0x130);}}function formatSingleHover(_0x9cc56e){const _0x560739={_0x18084e:0x5f2,_0x50594d:0x671,_0x4c0684:0x4a1,_0x4dba43:0x5b9,_0x1af947:0x3a8,_0x1f83dc:0x473,_0x5a0af4:0x69d,_0x5cb40a:0x670,_0x2a66a0:0x63a,_0x55e202:0x5ce,_0x1cbaf3:0x452,_0x8cf9d:0x702,_0x30e582:0x7cb,_0x563e41:0x5e1,_0x32d3b1:0x450,_0x3977f8:0x885,_0x37fb23:0x954,_0x16e4fd:0x81f,_0x1ee9c8:0x5a0},_0x38c07a={_0x2706d6:0xda,_0x298163:0x672},_0x3d1dc3={_0xcd4772:0x191};function _0x735579(_0x4d9ae8,_0x7a7d7f,_0x4f1e87,_0x34624b){return _0x16ac01(_0x4d9ae8-_0x3d1dc3._0xcd4772,_0x34624b-0x434,_0x4f1e87-0x37,_0x4f1e87);}const _0x3c0958=_0x9cc56e[_0x3f7fb4(_0x560739._0x18084e,_0x560739._0x50594d,_0x560739._0x4c0684,0x631)];if(typeof _0x3c0958==='string')return _0x3c0958;function _0x3f7fb4(_0x40693b,_0x1155ae,_0x5b8dfc,_0x48db0a){return _0x16ac01(_0x40693b-_0x38c07a._0x2706d6,_0x40693b-_0x38c07a._0x298163,_0x5b8dfc-0x53,_0x5b8dfc);}if(Array['isArray'](_0x3c0958))return _0x3c0958['map'](_0x2150cd=>typeof _0x2150cd===_0x3f7fb4(0x8c9,0xac8,0xabd,0xa27)?_0x2150cd:_0x2150cd['value'])[_0x3f7fb4(_0x560739._0x4dba43,_0x560739._0x1af947,_0x560739._0x1f83dc,_0x560739._0x5a0af4)](Boolean)[_0x735579(0x6c6,_0x560739._0x5cb40a,0x462,_0x560739._0x2a66a0)]('\x0a\x0a');if(_0x735579(0x6ae,_0x560739._0x55e202,_0x560739._0x1cbaf3,0x628)in _0x3c0958)return _0x3c0958[_0x735579(_0x560739._0x8cf9d,_0x560739._0x30e582,0x5f1,0x5e1)];return _0x3c0958[_0x3f7fb4(_0x560739._0x563e41,_0x560739._0x32d3b1,0x45f,0x666)]?_0x3f7fb4(_0x560739._0x3977f8,_0x560739._0x37fb23,0xa42,0x8e9)+_0x3c0958['language']+'\x0a'+_0x3c0958[_0x3f7fb4(_0x560739._0x16e4fd,0x973,0x9e8,0x7a4)]+'\x0a```':_0x3c0958[_0x735579(0x6d6,_0x560739._0x1ee9c8,0x4dc,_0x560739._0x563e41)];}function formatHover(_0xcbef0d){const _0x398047={_0x5b3a17:0x141,_0x3a6b43:0x2bd,_0x5151da:0x1b4},_0x2d8424={_0x3cbb4f:0x1a3};function _0x1ce642(_0x53591c,_0x542a89,_0x33260d,_0xb67240){return _0x16ac01(_0x53591c-0xf1,_0x53591c-0x3c9,_0x33260d-_0x2d8424._0x3cbb4f,_0xb67240);}if(_0xcbef0d['length']===0x0)return _0x31931d(0x6e,-_0x398047._0x5b3a17,-0x5,-_0x398047._0x3a6b43);function _0x31931d(_0x5a8bf7,_0x3fb600,_0x490dfa,_0x132fa0){return _0x16ac01(_0x5a8bf7-0x16d,_0x3fb600- -0x73,_0x490dfa-0x149,_0x5a8bf7);}return _0xcbef0d[_0x31931d(-0x90,-_0x398047._0x5151da,-0x1d4,-0x29a)](formatSingleHover)['join']('\x0a\x0a---\x0a\x0a');}function locationPath(_0x1481f9){const _0x126cf5={_0x61c9fb:0x628,_0x2805c9:0x2d5,_0x48a86a:0x4fe,_0x2b1fff:0x528,_0x444e6e:0x4f7},_0x4a4fde={_0x4c5d21:0x2fb},_0xb7015d={_0x2a7f94:0xb5,_0xf2f943:0x279};if(!_0x1481f9[_0x197878(0x4c3,0x34d,_0x126cf5._0x61c9fb,_0x126cf5._0x2805c9)](_0x197878(_0x126cf5._0x48a86a,_0x126cf5._0x2b1fff,_0x126cf5._0x444e6e,0x3fb)))return _0x1481f9;function _0x36dd5b(_0x213626,_0x3c2546,_0x18ee23,_0x102fe1){return _0x5885dd(_0x213626-0xfc,_0x3c2546,_0x18ee23-_0xb7015d._0x2a7f94,_0x18ee23-_0xb7015d._0xf2f943);}function _0x197878(_0x4c60f7,_0x55b838,_0xf2d365,_0x21f975){return _0x5885dd(_0x4c60f7-0xa6,_0x55b838,_0xf2d365-0x25,_0x4c60f7-_0x4a4fde._0x4c5d21);}return _0x5550b4(_0x1481f9);}function formatLocations(_0x32f8d5){const _0x78663e={_0x886abf:0x173,_0x264726:0x1d,_0x392b8e:0x3e,_0x130bfd:0x36,_0x384833:0x29f,_0xd097d3:0x86c,_0x6431e2:0x47d,_0x3ba035:0x512},_0x51b646={_0x236401:0xe2,_0x4f437b:0x14c,_0x5ba585:0x5b,_0x3cd6af:0x5a8,_0x446185:0x4da,_0x1ef905:0x109,_0x9cbea9:0x348,_0x137a2b:0x1ef,_0x4e58d4:0x2c6},_0x43a2ad={_0x3e7284:0xad,_0x1aee18:0x16c},_0x4c3846={_0x165e87:0x0,_0x17409d:0x9d},_0x32dcb3={_0x4da51e:0x1a0,_0x4efc54:0x1c9},_0x11a2b5={_0x1a6528:0x1c5};function _0x7a9028(_0x4b9457,_0x52ac66,_0x54c143,_0x3fbed3){return _0x16ac01(_0x4b9457-0x184,_0x52ac66-0x8c,_0x54c143-_0x11a2b5._0x1a6528,_0x3fbed3);}function _0xafd27d(_0x5bdfc2,_0xa66ecf,_0x21f3ee,_0x7c91a3){return _0x5885dd(_0x5bdfc2-_0x32dcb3._0x4da51e,_0x5bdfc2,_0x21f3ee-0x1d5,_0x7c91a3-_0x32dcb3._0x4efc54);}if(_0x32f8d5[_0x7a9028(0x15,0x188,0xfb,_0x78663e._0x886abf)]===0x0)return _0x7a9028(-_0x78663e._0x264726,0x40,-0x55,0xc7);return _0x32f8d5[_0x7a9028(_0x78663e._0x392b8e,-0xb5,-_0x78663e._0x130bfd,-_0x78663e._0x384833)](_0x3b73bd=>{function _0x5e4e47(_0x45759f,_0x4f518f,_0x346a6d,_0x234ab3){return _0x7a9028(_0x45759f-_0x4c3846._0x165e87,_0x234ab3- -0x199,_0x346a6d-_0x4c3846._0x17409d,_0x45759f);}function _0x5b3eab(_0x582b42,_0x5cdf4d,_0x11d24f,_0x510fc5){return _0x7a9028(_0x582b42-_0x43a2ad._0x3e7284,_0x11d24f-0x368,_0x11d24f-_0x43a2ad._0x1aee18,_0x582b42);}const _0x4f116f=_0x3b73bd[_0x5e4e47(-_0x51b646._0x236401,-0x226,_0x51b646._0x4f437b,-_0x51b646._0x5ba585)][_0x5b3eab(_0x51b646._0x3cd6af,0x347,_0x51b646._0x446185,0x56b)];return locationPath(_0x3b73bd['uri'])+':'+(_0x4f116f[_0x5e4e47(_0x51b646._0x1ef905,-0x6,-0x1a8,-0xa8)]+0x1)+':'+(_0x4f116f[_0x5b3eab(_0x51b646._0x9cbea9,_0x51b646._0x137a2b,_0x51b646._0x4e58d4,0x2bc)]+0x1);})[_0xafd27d(_0x78663e._0xd097d3,_0x78663e._0x6431e2,_0x78663e._0x3ba035,0x65e)]('\x0a');}function isDocumentSymbol(_0x271451){const _0x58261c={_0x53de89:0x478,_0x4b3232:0x47a,_0x1d0d31:0x591,_0x4a0e3c:0x459},_0x1f0f09={_0xdaa6be:0x1ad,_0x4405e6:0x81,_0x1ad0f2:0x12c},_0x2f98b5={_0x4246d9:0x3d,_0x4ff1f7:0x55a};function _0x287f8a(_0x1dfef4,_0x249c87,_0x2b3fcd,_0x411f72){return _0x16ac01(_0x1dfef4-_0x2f98b5._0x4246d9,_0x249c87-_0x2f98b5._0x4ff1f7,_0x2b3fcd-0x75,_0x2b3fcd);}function _0x11e832(_0x4afa84,_0x46e55c,_0x1756d4,_0x45905b){return _0x5885dd(_0x4afa84-_0x1f0f09._0xdaa6be,_0x45905b,_0x1756d4-_0x1f0f09._0x4405e6,_0x46e55c-_0x1f0f09._0x1ad0f2);}return _0x11e832(_0x58261c._0x53de89,0x46d,_0x58261c._0x4b3232,_0x58261c._0x1d0d31)in _0x271451&&_0x287f8a(0x5dc,0x410,0x303,_0x58261c._0x4a0e3c)in _0x271451;}function formatSymbols(_0x4c9d53){const _0x4432de={_0x13aedf:0x17,_0x2205a3:0x10,_0xee0093:0xfa,_0x48e68a:0x199,_0x1731fc:0x1fe,_0x4da810:0x36,_0x3d66b4:0x20b,_0x5c220e:0x29e,_0x36b32a:0x247,_0x418c7b:0x24d},_0x274d0b={_0x4e0e4f:0x597,_0x190460:0x395,_0x16417b:0x59c,_0x144e2b:0x5e5,_0x3c3c7d:0x717,_0x597c24:0x57e,_0x41c3eb:0x97d,_0x1daa57:0x87c,_0x3f1c02:0x813,_0x1e9b99:0x4dd,_0x530adc:0x494,_0x20be3c:0x676,_0x338137:0x6a7,_0x16214f:0x730,_0x235acb:0x5c8,_0x1c140f:0x517},_0x50de34={_0x59045d:0xa9};function _0x2b7e3b(_0x447387,_0x1ed5a1,_0x29d00b,_0x35236c){return _0x16ac01(_0x447387-0x4,_0x29d00b- -0x10c,_0x29d00b-_0x50de34._0x59045d,_0x447387);}function _0x5c5c7a(_0x334597,_0x1956f1,_0x1bf574,_0x1a1b5b){return _0x5885dd(_0x334597-0x56,_0x334597,_0x1bf574-0x3e,_0x1a1b5b- -0x1f4);}if(_0x4c9d53[_0x2b7e3b(_0x4432de._0x13aedf,-0x92,-_0x4432de._0x2205a3,-_0x4432de._0xee0093)]===0x0)return _0x2b7e3b(-_0x4432de._0x48e68a,_0x4432de._0x1731fc,_0x4432de._0x4da810,_0x4432de._0x3d66b4);return _0x4c9d53[_0x2b7e3b(-_0x4432de._0x5c220e,-_0x4432de._0x36b32a,-_0x4432de._0x418c7b,-0x3a8)](_0x5af4f4=>{const _0x4ca719={_0xb1f953:0x14a};function _0x302877(_0x35c636,_0x3fbbeb,_0x1b4c48,_0x3b6c14){return _0x5c5c7a(_0x35c636,_0x3fbbeb-0x127,_0x1b4c48-0x1c4,_0x1b4c48-0x5ca);}function _0x4e5fd8(_0x4c38d5,_0x203372,_0x392f63,_0x1c6f4f){return _0x2b7e3b(_0x1c6f4f,_0x203372-0x91,_0x203372-0x4af,_0x1c6f4f-_0x4ca719._0xb1f953);}if(isDocumentSymbol(_0x5af4f4))return _0x5af4f4[_0x302877(0x8d1,0x8a9,0x87c,0x973)]+'\x20('+_0x5af4f4[_0x4e5fd8(0x52a,_0x274d0b._0x4e0e4f,_0x274d0b._0x190460,_0x274d0b._0x16417b)]+')\x20['+(_0x5af4f4[_0x302877(0x8b7,_0x274d0b._0x144e2b,_0x274d0b._0x3c3c7d,_0x274d0b._0x597c24)]['start']['line']+0x1)+':'+(_0x5af4f4['range']['start']['character']+0x1)+']';return _0x5af4f4[_0x302877(0x67d,_0x274d0b._0x41c3eb,_0x274d0b._0x1daa57,0x8cb)]+'\x20('+_0x5af4f4[_0x302877(0x8f4,0x878,0x859,0x9fd)]+')\x20'+locationPath(_0x5af4f4[_0x302877(_0x274d0b._0x3f1c02,_0x274d0b._0x1e9b99,0x6a2,0x7f8)][_0x4e5fd8(0x4ab,_0x274d0b._0x530adc,_0x274d0b._0x20be3c,0x4ba)])+':'+(_0x5af4f4[_0x302877(_0x274d0b._0x338137,0x75d,0x6a2,0x52f)][_0x302877(_0x274d0b._0x16214f,_0x274d0b._0x235acb,0x717,0x6b2)]['start']['line']+0x1)+':'+(_0x5af4f4[_0x4e5fd8(0x3d5,0x3e0,0x288,0x40b)][_0x4e5fd8(_0x274d0b._0x1c140f,0x455,0x579,0x3fd)][_0x4e5fd8(0x68d,0x489,0x367,0x2b3)]['character']+0x1);})['join']('\x0a');}function formatDiagnostics(_0x226354){const _0x3b7ab2={_0x36c327:0x1a2,_0x23f5fb:0x4a,_0x3d7984:0x7c,_0x483452:0xc2,_0x3d749f:0x3d,_0x6496f9:0x409},_0xe8f8ee={_0x1ba993:0x389,_0x52743e:0x4b1,_0x2486fb:0x34b,_0x279cac:0x656,_0x4f5977:0x4b9,_0x560059:0x675,_0x40409a:0x34c,_0x3b5ac3:0x12f,_0x27e8af:0xd},_0x4e9541={_0x5a5530:0x204,_0x188d7f:0xc4},_0x188cdd={_0x297865:0xa6};function _0x6c29e7(_0x54f3e6,_0x39318e,_0xc7b88b,_0x477f4f){return _0x16ac01(_0x54f3e6-0x15d,_0x54f3e6-0x203,_0xc7b88b-0x81,_0x477f4f);}if(_0x226354[_0x38d43b(_0x3b7ab2._0x36c327,0x354,_0x3b7ab2._0x23f5fb,-0x7)]===0x0)return _0x38d43b(0x43,-0x7f,-_0x3b7ab2._0x3d7984,-0x155);function _0x38d43b(_0x610cb6,_0x4dbecb,_0x1ece57,_0x9573d7){return _0x16ac01(_0x610cb6-0xc,_0x610cb6-_0x188cdd._0x297865,_0x1ece57-0x74,_0x9573d7);}return _0x226354[_0x6c29e7(_0x3b7ab2._0x483452,_0x3b7ab2._0x3d749f,0x255,-0x76)](_0x15d3f4=>{const _0x370a8e={_0x5a41a3:0x9e},_0x245585=_0x15d3f4[_0xa0f817(0x586,0x527,_0xe8f8ee._0x1ba993,_0xe8f8ee._0x52743e)][_0xa0f817(0x31d,0x5d4,0x3bd,_0xe8f8ee._0x2486fb)];function _0x1a7782(_0x5187eb,_0x5d1e2f,_0x47a2c4,_0x6626a0){return _0x6c29e7(_0x5187eb- -_0x4e9541._0x5a5530,_0x5d1e2f-0xef,_0x47a2c4-_0x4e9541._0x188d7f,_0x6626a0);}function _0xa0f817(_0x4de6a6,_0x14e1d9,_0x1dd284,_0xb2d91e){return _0x6c29e7(_0x1dd284-0xd4,_0x14e1d9-_0x370a8e._0x5a41a3,_0x1dd284-0x31,_0x4de6a6);}return severityName(_0x15d3f4[_0xa0f817(_0xe8f8ee._0x279cac,0x4ff,_0xe8f8ee._0x4f5977,_0xe8f8ee._0x560059)])+'\x20['+(_0x245585[_0xa0f817(0x4c8,_0xe8f8ee._0x40409a,0x33c,0x1d4)]+0x1)+':'+(_0x245585[_0x1a7782(-_0xe8f8ee._0x3b5ac3,-0x27,_0xe8f8ee._0x27e8af,-0xe6)]+0x1)+']\x20'+_0x15d3f4[_0x1a7782(0x8d,-0xf8,-0x155,0x5c)];})[_0x6c29e7(_0x3b7ab2._0x6496f9,0x3e1,0x599,0x3d2)]('\x0a');}function formatIncomingCalls(_0x218a80){const _0x4871e9={_0x554607:0x493,_0x163bbd:0x4e0,_0x51cd6d:0x2f1,_0x2ffcba:0x629,_0x12c91e:0x5d6,_0x4a7611:0x451},_0x46c7e4={_0xfd87a0:0x1e8,_0x2a5239:0x44},_0x182608={_0x57af23:0xaa,_0x3c9a99:0x3,_0x573afb:0x345};function _0x1fb5b4(_0x50aef2,_0x17c0fc,_0x14a117,_0x3784dc){return _0x5885dd(_0x50aef2-_0x182608._0x57af23,_0x3784dc,_0x14a117-_0x182608._0x3c9a99,_0x50aef2-_0x182608._0x573afb);}function _0x3e7dab(_0x1cf005,_0x4b6757,_0x2300d7,_0x4da584){return _0x5885dd(_0x1cf005-_0x46c7e4._0xfd87a0,_0x4b6757,_0x2300d7-0x138,_0x2300d7- -_0x46c7e4._0x2a5239);}if(_0x218a80['length']===0x0)return'No\x20call\x20hierarchy\x20results';return _0x218a80[_0x1fb5b4(_0x4871e9._0x554607,_0x4871e9._0x163bbd,_0x4871e9._0x51cd6d,0x47e)](_0x333c3e=>_0x333c3e[_0x1fb5b4(0x6eb,0x790,0x7ed,0x529)][_0x1fb5b4(0x7eb,0x804,0x5ee,0x94e)])[_0x3e7dab(_0x4871e9._0x2ffcba,_0x4871e9._0x12c91e,_0x4871e9._0x4a7611,0x486)]('\x0a');}function formatOutgoingCalls(_0x39ffe1){const _0xa9ee57={_0x542d74:0x733,_0x6e44d8:0x56c,_0xd59805:0x779,_0x487897:0xea,_0x276999:0x14d,_0x412003:0xa9,_0x241523:0x1c7,_0x48bdee:0x161},_0x2ff35a={_0x5ec70d:0x65};function _0x39c1fc(_0x5d50f0,_0x55497c,_0x193534,_0x3afff3){return _0x16ac01(_0x5d50f0-0x2b,_0x193534-0x67d,_0x193534-0xab,_0x5d50f0);}function _0x5ef15a(_0x471369,_0x36f647,_0x5696ea,_0x11be39){return _0x5885dd(_0x471369-_0x2ff35a._0x5ec70d,_0x5696ea,_0x5696ea-0x152,_0x36f647- -0x29b);}if(_0x39ffe1[_0x39c1fc(_0xa9ee57._0x542d74,_0xa9ee57._0x6e44d8,_0xa9ee57._0xd59805,0x8b4)]===0x0)return _0x5ef15a(_0xa9ee57._0x487897,-0x42,0xc7,0x55);return _0x39ffe1[_0x5ef15a(0x2a,-_0xa9ee57._0x276999,-_0xa9ee57._0x412003,-0x26f)](_0x2e8104=>_0x2e8104['to']['name'])[_0x5ef15a(_0xa9ee57._0x241523,0x1fa,_0xa9ee57._0x48bdee,0x1ec)]('\x0a');}function toStructured(_0x1fcc38){const _0x219de0={_0x40ec08:0x177};function _0x54ec1d(_0x76b66c,_0x54075c,_0x22f294,_0x2bd94b){return _0x5885dd(_0x76b66c-0xd1,_0x22f294,_0x22f294-_0x219de0._0x40ec08,_0x2bd94b-0xf7);}return JSON[_0x54ec1d(0x2a2,0x548,0x2bb,0x3c9)](JSON['stringify'](_0x1fcc38));}async function assertFile(_0xa0b8cb){const _0x52f0ed={_0x120d53:0x1c4,_0x56e9aa:0x380},_0x509da8={_0x4c61d4:0x23};function _0x1b8b23(_0x14987c,_0x3e4401,_0x37ac45,_0x5b4583){return _0x5885dd(_0x14987c-0x29,_0x14987c,_0x37ac45-0x19e,_0x3e4401- -_0x509da8._0x4c61d4);}const _0x14ed2d=await _0x476bf3(_0xa0b8cb);if(!_0x14ed2d['isFile']())throw new ToolExecutionError(_0x1b8b23(_0x52f0ed._0x120d53,0x267,0x2b2,_0x52f0ed._0x56e9aa)+_0xa0b8cb,{'path':_0xa0b8cb});}function validatePosition(_0x46cf75,_0x8e8617){const _0x1fc311={_0x271987:0x195,_0x29ff3f:0x23b,_0x14ca27:0x77d,_0x3260f5:0x660,_0x452d27:0x6a6,_0x2b4628:0x81c},_0x9cc4f9={_0x41eb06:0xa4};if(!Number['isInteger'](_0x46cf75)||_0x46cf75<0x1)throw new ToolExecutionError(_0x420f8a(_0x1fc311._0x271987,0x47,0x1b0,_0x1fc311._0x29ff3f),{'line':_0x46cf75});function _0x420f8a(_0x159d71,_0x192a02,_0x519eac,_0x290b19){return _0x16ac01(_0x159d71-_0x9cc4f9._0x41eb06,_0x290b19-0xb,_0x519eac-0x1a1,_0x519eac);}function _0x4dcaa3(_0x656094,_0x5539e0,_0x994f21,_0x456302){return _0x5885dd(_0x656094-0xa5,_0x5539e0,_0x994f21-0x1f,_0x456302-0x339);}if(!Number['isInteger'](_0x8e8617)||_0x8e8617<0x1)throw new ToolExecutionError(_0x4dcaa3(_0x1fc311._0x14ca27,_0x1fc311._0x3260f5,_0x1fc311._0x452d27,_0x1fc311._0x2b4628),{'character':_0x8e8617});}function createLspTool(_0x48ba56={}){const _0xacef41={_0x119ce3:0x43,_0x46a68b:0x2f,_0x58ec7a:0x1d7,_0x1dd653:0x209,_0x5301e8:0x9a,_0x50f6b4:0xa0,_0x2b0354:0x57,_0x2403a0:0x10c,_0x240ce8:0x22d,_0x23562f:0x97,_0x2b3ec8:0x1b2,_0x37a930:0x18d,_0x7f8140:0xad,_0x5e66b8:0x425,_0x4bd2e8:0x4ac,_0x103912:0x318,_0x2ab366:0x467,_0x1a40b6:0x533,_0x2581c4:0x60e,_0x3d7511:0xe0,_0x1c7bcc:0x4b,_0x2b9e99:0x8a,_0x292fb3:0x1b6,_0xc2cabc:0x147,_0xdcb6a1:0x3cc,_0x1c6389:0x231,_0x82cd69:0x374,_0x37c18b:0x1b7,_0x4255eb:0xbe,_0x50ddb1:0xca,_0x1b35d6:0x6b7,_0x498e6a:0x6a4,_0x579b64:0x27d,_0x53089b:0xe2,_0x1e0f2b:0x44e,_0x141ced:0x2c2,_0x5f3c35:0x44d,_0x1c0e9a:0x1bc,_0x46b961:0x25f},_0x25a801={_0x35b341:0x264,_0x5ae8e7:0x1f5,_0x43eeae:0x320,_0x2c98a9:0x36c,_0x342bb7:0x373,_0x5f26f2:0x3f5,_0x25bf2d:0x3fc,_0xaf7c00:0x540,_0x231a09:0x549,_0x5df3e4:0x65e,_0xaa5b95:0x637,_0x373e86:0x426,_0x3dbb22:0x435,_0x38a719:0x472,_0x5948d1:0x9,_0xb240d5:0xda,_0x95ec0c:0x2ff,_0x2dbdfe:0x391,_0x26035:0x10e,_0x4a3442:0x18a,_0x266d4c:0x1dd,_0x23e5ba:0x26c,_0x3ef9fd:0x21c,_0x14827a:0x4b9,_0x27b7aa:0x618,_0x5b36b7:0x18f,_0xc53ee3:0x1c,_0x571092:0x20,_0x1b220e:0x8c,_0x25b399:0x18a,_0x60bbc:0x302,_0x580dfb:0x3b8,_0x128e52:0x4fb,_0x400200:0x44b,_0x4e8183:0x3af,_0x811f15:0x1c0,_0x593761:0x1da,_0x377b52:0x11e,_0x37d58f:0x14,_0x5275a7:0x56e,_0x6bdea7:0x389,_0x3997c7:0x90,_0x207313:0x291,_0xd5f11b:0x18e,_0x20be3e:0x313,_0x330c86:0x215,_0x1580bd:0xe7,_0x3cc57c:0x74,_0x56817a:0x35,_0x5b79ba:0xb9,_0x5e0829:0x2a2,_0x442a6d:0x315,_0x37dacf:0x1e4,_0x10fe83:0x1dc,_0x2ed006:0x55b,_0x7342b0:0x6b0,_0x322524:0x697,_0x1eaf08:0x2c2,_0x34bf3b:0x5fd,_0x12f363:0x4c0,_0x2a7258:0x13e,_0x524927:0x3d,_0x28076f:0x33,_0x107d66:0x1b3,_0x21254f:0x4ae,_0x26cd98:0x1e3,_0x5b5224:0x2ce,_0x488bf3:0x527,_0x50527a:0x4b1,_0x5ca343:0x69b,_0x87cbb5:0x443,_0x5d5b2c:0x10c,_0xa104cc:0x254,_0x21f16c:0x1b1,_0x2f094b:0x108,_0x55e14b:0x1f6,_0x14d3ec:0x15b,_0x3695c7:0x1a7,_0x3beddd:0x4d9,_0x179d3d:0x323,_0x2bfdef:0x4d3,_0x2c6891:0x442,_0x21b6a4:0x1b3,_0x4264be:0x3a5,_0x2988d6:0x2f7,_0x126c68:0x51b,_0xc5cc91:0x134,_0x2ee753:0x4bc,_0x16a06a:0x477},_0x4fd9c2={_0x4f2c8d:0x4f0,_0x3e72b5:0xa6,_0x5b4709:0x44},_0x44a11f={_0x38377f:0x120},_0x111864={_0x155c9b:0x34},_0x1c528d=_0x4a4c80['resolve'](_0x48ba56[_0x9acdba(-_0xacef41._0x119ce3,-0x185,-_0xacef41._0x46a68b,-0xe4)]??process[_0x9acdba(-0x21b,-0x1fe,-_0xacef41._0x58ec7a,-_0xacef41._0x1dd653)]());function _0x2713c5(_0x4131aa,_0x21bad8,_0x4a257e,_0x2b2c8f){return _0x5885dd(_0x4131aa-_0x111864._0x155c9b,_0x4a257e,_0x4a257e-0xc7,_0x21bad8- -0x7f);}const _0x122077=_0x48ba56[_0x9acdba(-0xb4,-_0xacef41._0x5301e8,0x3c,_0xacef41._0x50f6b4)]??[],_0x47e46c=_0x48ba56['name']??_0x2713c5(_0xacef41._0x2b0354,0x223,_0xacef41._0x2403a0,_0xacef41._0x240ce8);function _0x9acdba(_0x46bd65,_0x18504f,_0x5f4000,_0x4b0a6e){return _0x16ac01(_0x46bd65-0xd3,_0x46bd65- -_0x44a11f._0x38377f,_0x5f4000-0x1a4,_0x18504f);}return defineTool({'name':_0x47e46c,'permissionClass':'read','description':_0x9acdba(-_0xacef41._0x23562f,-_0xacef41._0x2b3ec8,-_0xacef41._0x37a930,_0xacef41._0x7f8140),'inputSchema':{'type':_0x2713c5(_0xacef41._0x5e66b8,_0xacef41._0x4bd2e8,_0xacef41._0x103912,0x641),'properties':{'operation':{'type':_0x2713c5(0x647,_0xacef41._0x2ab366,_0xacef41._0x1a40b6,0x4e7),'enum':[_0x2713c5(0x4d7,0x48a,_0xacef41._0x2581c4,0x5f4),_0x9acdba(_0xacef41._0x3d7511,0x232,0x175,_0xacef41._0x1c7bcc),'hover','documentSymbol',_0x9acdba(0x51,-_0xacef41._0x2b9e99,_0xacef41._0x292fb3,_0xacef41._0xc2cabc),_0x2713c5(_0xacef41._0xdcb6a1,_0xacef41._0x1c6389,0x5c,_0xacef41._0x82cd69),_0x9acdba(-0xae,-_0xacef41._0x37c18b,-_0xacef41._0x4255eb,-0x155),_0x9acdba(-0x72,0x11,-0x40,-0x151),_0x2713c5(0x2b,_0xacef41._0x50ddb1,0x38,0x21e),_0x2713c5(0x4c0,0x4f0,_0xacef41._0x1b35d6,_0xacef41._0x498e6a)]},'filePath':{'type':_0x9acdba(0x137,0x11b,0x2ca,_0xacef41._0x579b64)},'line':{'type':_0x9acdba(-0xaf,-0x1ad,_0xacef41._0x53089b,0x1b)},'character':{'type':'number'},'query':{'type':_0x2713c5(_0xacef41._0x1e0f2b,0x467,_0xacef41._0x141ced,0x26e)}},'required':['operation',_0x2713c5(0x427,_0xacef41._0x5f3c35,0x650,0x452),'line',_0x2713c5(_0xacef41._0x1c0e9a,0xe2,-0x11b,_0xacef41._0x46b961)]},async *'execute'(_0xed7f11,_0x2a8701){const _0x232f77=_0x48ba56[_0x274c10(0x20d,_0x25a801._0x35b341,_0x25a801._0x5ae8e7,_0x25a801._0x43eeae)];if(!_0x232f77)throw new ToolExecutionError(_0x560a2e(0x630,0x3ba,0x57f,_0x25a801._0x2c98a9));if(!_0x232f77[_0x274c10(_0x25a801._0x342bb7,0x28e,_0x25a801._0x5f26f2,0x249)]())throw new ToolExecutionError(_0x560a2e(0x5c1,_0x25a801._0x25bf2d,_0x25a801._0xaf7c00,_0x25a801._0x231a09));const _0x1bdedf=_0xed7f11[_0x560a2e(0x789,_0x25a801._0x5df3e4,_0x25a801._0xaa5b95,_0x25a801._0x373e86)];validatePosition(_0xed7f11[_0x560a2e(0x5a2,0x4dc,_0x25a801._0x3dbb22,_0x25a801._0x38a719)],_0xed7f11[_0x274c10(-0x266,_0x25a801._0x5948d1,-0x2bb,-_0x25a801._0xb240d5)]);function _0x274c10(_0x49d772,_0x3c5b23,_0x4b37f7,_0x33e743){return _0x2713c5(_0x49d772-0xa8,_0x33e743- -0x1bc,_0x4b37f7,_0x33e743-0x1eb);}if(_0x1bdedf===_0x274c10(_0x25a801._0x95ec0c,_0x25a801._0x2dbdfe,-0x41,0x1c5)){if(!_0xed7f11['query']?.[_0x274c10(0x22c,0x1cb,_0x25a801._0x26035,_0x25a801._0x4a3442)]())throw new ToolExecutionError(_0x274c10(0x1cc,_0x25a801._0x266d4c,_0x25a801._0x23e5ba,_0x25a801._0x3ef9fd));const _0x306c58=await awaitWithAbort2(_0x232f77[_0x560a2e(_0x25a801._0x14827a,0x3dc,0x541,_0x25a801._0x27b7aa)](_0xed7f11[_0x274c10(_0x25a801._0x5b36b7,-_0x25a801._0xc53ee3,0x204,0x19)][_0x274c10(-0x40,-_0x25a801._0x571092,-_0x25a801._0x1b220e,_0x25a801._0x25b399)]()),_0x2a8701[_0x560a2e(_0x25a801._0x60bbc,_0x25a801._0x580dfb,0x3af,_0x25a801._0x128e52)]);return yield createToolOutput(formatSymbols(_0x306c58),{'operation':_0x1bdedf,'query':_0xed7f11[_0x274c10(0xcd,0xae,0x10a,0x19)],'symbols':_0x306c58}),void 0x0;}function _0x560a2e(_0xf18217,_0x3bee40,_0x3c8aa6,_0x43429d){return _0x9acdba(_0x3c8aa6-_0x4fd9c2._0x4f2c8d,_0x43429d,_0x3c8aa6-_0x4fd9c2._0x3e72b5,_0x43429d-_0x4fd9c2._0x5b4709);}const _0x51a9a1=resolveAllowedPath(_0x1c528d,_0x122077,_0xed7f11['filePath']);await assertFile(_0x51a9a1);if(!await awaitWithAbort2(_0x232f77['hasClients'](_0x51a9a1),_0x2a8701[_0x560a2e(_0x25a801._0x400200,0x414,_0x25a801._0x4e8183,_0x25a801._0x811f15)]))throw new ToolExecutionError(_0x274c10(_0x25a801._0x593761,-0x16b,-_0x25a801._0x377b52,-_0x25a801._0x37d58f)+_0xed7f11[_0x560a2e(_0x25a801._0x5275a7,0x6b7,0x60d,0x4a4)],{'filePath':_0xed7f11[_0x274c10(0x3af,_0x25a801._0x6bdea7,_0x25a801._0x3997c7,_0x25a801._0x207313)]});await awaitWithAbort2(_0x232f77[_0x274c10(_0x25a801._0xd5f11b,0x326,0x105,_0x25a801._0x20be3e)](_0x51a9a1,!![]),_0x2a8701[_0x274c10(_0x25a801._0x330c86,0x157,0x1c2,0x33)]);const _0x4658d7={'file':_0x51a9a1,'line':_0xed7f11[_0x274c10(_0x25a801._0x1580bd,-_0x25a801._0x3cc57c,-_0x25a801._0x56817a,_0x25a801._0x5b79ba)]-0x1,'character':_0xed7f11[_0x560a2e(0x4b0,0x40d,_0x25a801._0x5e0829,_0x25a801._0x442a6d)]-0x1};switch(_0x1bdedf){case _0x274c10(0x220,0x2b0,0x25f,_0x25a801._0x37dacf):{const _0x4ce221=await awaitWithAbort2(_0x232f77['hover'](_0x4658d7),_0x2a8701[_0x274c10(0x20f,-0x11e,_0x25a801._0x10fe83,0x33)]);return yield createToolOutput(formatHover(_0x4ce221),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'hover':_0x4ce221}),void 0x0;}case _0x560a2e(_0x25a801._0x2ed006,0x7f3,_0x25a801._0x7342b0,_0x25a801._0x322524):{const _0x24d893=await awaitWithAbort2(_0x232f77[_0x560a2e(_0x25a801._0x1eaf08,_0x25a801._0x34bf3b,_0x25a801._0x12f363,0x2d6)](_0x51a9a1),_0x2a8701[_0x274c10(-_0x25a801._0x2a7258,-_0x25a801._0x524927,-0x15b,_0x25a801._0x28076f)]);return yield createToolOutput(formatDiagnostics(_0x24d893),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'diagnostics':_0x24d893}),void 0x0;}case _0x274c10(_0x25a801._0x107d66,_0x25a801._0x21254f,_0x25a801._0x26cd98,_0x25a801._0x5b5224):{const _0x39799b=await awaitWithAbort2(_0x232f77[_0x560a2e(0x515,_0x25a801._0x488bf3,_0x25a801._0x50527a,_0x25a801._0x5ca343)](_0x4658d7),_0x2a8701['signal']);return yield createToolOutput(formatLocations(_0x39799b),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'locations':_0x39799b}),void 0x0;}case _0x274c10(_0x25a801._0x87cbb5,0x2ad,_0x25a801._0x5d5b2c,_0x25a801._0xa104cc):{const _0x38d7f4=await awaitWithAbort2(_0x232f77['references'](_0x4658d7),_0x2a8701[_0x274c10(_0x25a801._0x21f16c,-_0x25a801._0x2f094b,_0x25a801._0x55e14b,0x33)]);return yield createToolOutput(formatLocations(_0x38d7f4),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'locations':_0x38d7f4}),void 0x0;}case'goToImplementation':{const _0x3be786=await awaitWithAbort2(_0x232f77[_0x274c10(_0x25a801._0x14d3ec,0x1da,-_0x25a801._0x3695c7,-0x39)](_0x4658d7),_0x2a8701['signal']);return yield createToolOutput(formatLocations(_0x3be786),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'locations':_0x3be786}),void 0x0;}case _0x274c10(0x195,_0x25a801._0x3beddd,0x412,_0x25a801._0x179d3d):{const _0x4941b8=await awaitWithAbort2(_0x232f77[_0x560a2e(0x866,_0x25a801._0x2bfdef,0x69f,0x85b)](_0x51a9a1),_0x2a8701['signal']);return yield createToolOutput(formatSymbols(_0x4941b8),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'symbols':_0x4941b8}),void 0x0;}case _0x560a2e(0x4a4,0x2f1,_0x25a801._0x2c6891,0x298):{const _0x478885=await awaitWithAbort2(_0x232f77['prepareCallHierarchy'](_0x4658d7),_0x2a8701[_0x560a2e(0x46b,_0x25a801._0x21b6a4,0x3af,_0x25a801._0x4264be)]);return yield createToolOutput(formatSymbols(_0x478885),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'symbols':toStructured(_0x478885)}),void 0x0;}case _0x560a2e(0x482,_0x25a801._0x2988d6,0x47e,_0x25a801._0x126c68):{const _0xf6347=await awaitWithAbort2(_0x232f77['incomingCalls'](_0x4658d7),_0x2a8701[_0x274c10(-0x15b,-0xd5,-0x142,0x33)]);return yield createToolOutput(formatIncomingCalls(_0xf6347),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'calls':toStructured(_0xf6347)}),void 0x0;}case _0x274c10(-_0x25a801._0xc5cc91,-0x45,-0x69,-0xf2):{const _0x16aa4d=await awaitWithAbort2(_0x232f77['outgoingCalls'](_0x4658d7),_0x2a8701[_0x560a2e(0x372,_0x25a801._0x2ee753,0x3af,_0x25a801._0x16a06a)]);return yield createToolOutput(formatOutgoingCalls(_0x16aa4d),{'operation':_0x1bdedf,'filePath':_0x51a9a1,'calls':toStructured(_0x16aa4d)}),void 0x0;}}}});}import*as _0x175c15 from'path';function buildDescription(_0x1e4193){const _0x445dcf={_0x14cf4b:0x6ea,_0x524a81:0x76f,_0x25ae08:0x71d,_0x417154:0x4e9,_0x18886a:0x494,_0x24eefa:0x12f,_0x201a02:0x42,_0x66dcb5:0x168,_0x4a0df4:0x5f0,_0x2002b7:0x49e,_0x3bc427:0x70d,_0x238758:0x600,_0x15d3e8:0x7e5},_0x1b3336={_0x5a91f9:0x5df,_0x158254:0x93};function _0x5c09dc(_0x50f76a,_0x27ef82,_0xd9f755,_0x51e9a1){return _0x16ac01(_0x50f76a-0xe0,_0x51e9a1-_0x1b3336._0x5a91f9,_0xd9f755-_0x1b3336._0x158254,_0xd9f755);}if(_0x1e4193[_0x5c09dc(_0x445dcf._0x14cf4b,_0x445dcf._0x524a81,_0x445dcf._0x25ae08,0x6db)]===0x0)return _0x5c09dc(0x3bb,_0x445dcf._0x417154,0x3ba,_0x445dcf._0x18886a);function _0x1c3d61(_0x7cddb3,_0x507a61,_0x360585,_0x277092){return _0x5885dd(_0x7cddb3-0x8d,_0x277092,_0x360585-0xab,_0x360585- -0x396);}const _0x3c92c3=[_0x1c3d61(-_0x445dcf._0x24eefa,-0x168,-0x14e,-_0x445dcf._0x201a02),'Skills\x20provide\x20specialized\x20knowledge\x20and\x20step-by-step\x20guidance.',_0x5c09dc(0x6e1,0x671,0x9ca,0x7d1),_0x1c3d61(-0x204,0xac,-0xed,-_0x445dcf._0x66dcb5),..._0x1e4193[_0x5c09dc(_0x445dcf._0x4a0df4,0x2d5,0x519,_0x445dcf._0x2002b7)](_0x40570d=>'-\x20'+_0x40570d[_0x5c09dc(0x741,0x8d0,0x89e,0x7f6)]+':\x20'+_0x40570d['description'])];return _0x3c92c3[_0x5c09dc(_0x445dcf._0x3bc427,_0x445dcf._0x238758,0x8c7,_0x445dcf._0x15d3e8)]('\x0a');}function createLoadSkillTool(_0x192c55){const _0x40ac97={_0x570d81:0xab,_0x3a3eef:0x1ed,_0xecf7d5:0x116,_0x244c3e:0xee,_0x3e3744:0xb0,_0x507e54:0x2f9,_0x528152:0x142,_0x325255:0x78,_0x2fdb92:0x375,_0x243255:0x161,_0x2b4de6:0x4e8,_0x4fcfd0:0x5b2,_0x1a3574:0x430,_0x4a37e9:0x16d,_0x1b6ba5:0x1b8,_0x4ecdb0:0x3b5},_0x1c578c={_0x35c8c2:0x438,_0x150011:0x386,_0x122335:0x502,_0x2c94cd:0x421,_0x4a2340:0x4f1,_0x4763b1:0x388,_0xf2c75f:0x5be,_0x143144:0x43c,_0x3ccaad:0x3a2,_0x48880f:0x553,_0x27ba45:0x601,_0x21284a:0x210,_0x4efcde:0xa7,_0x5bd6fd:0x298,_0x2be99a:0x444,_0x4f6f72:0x44d,_0xa40056:0x2d7,_0x13d781:0x4b9,_0x521c92:0x427,_0x3a6de3:0x3d3,_0xc1dfd1:0x432,_0x2279fb:0x4e2,_0x5129f1:0x5a1,_0x72e0ac:0x591,_0x3cb14f:0x6d6,_0x4764c2:0x464,_0x52559b:0x401,_0x49db55:0x5fb,_0x305eff:0x41c,_0x2234ca:0x727,_0x46da9f:0x337,_0x28cc02:0x538,_0x5a6650:0x610,_0x43e7f6:0x5c5,_0x1235d9:0x431,_0x5a93fd:0x4e1,_0x4c5767:0x542,_0x3c3d6c:0x765,_0x537369:0x639,_0x6145e5:0x479,_0x4bdfc4:0x2da,_0x21928b:0x3bb,_0x11b9f4:0x70b,_0x2defc6:0x53b},_0x4e86ca={_0x37b2c9:0xae};function _0x30b181(_0x2c74c0,_0x551461,_0x3cc4be,_0x458b52){return _0x5885dd(_0x2c74c0-0x135,_0x458b52,_0x3cc4be-0x64,_0x551461- -0x43);}const _0x41c3ca=new Map(_0x192c55[_0x1bd5bb(_0x40ac97._0x570d81,-0xf3,_0x40ac97._0x3a3eef,0x39)][_0x1bd5bb(-0x21c,-_0x40ac97._0xecf7d5,-_0x40ac97._0x244c3e,-_0x40ac97._0x3e3744)](_0x2cdfe4=>[_0x2cdfe4[_0x1bd5bb(0x37d,0x2ce,0x271,0x2a8)],_0x2cdfe4]));function _0x1bd5bb(_0x495606,_0x59e53e,_0x4c6789,_0x21bbf7){return _0x5885dd(_0x495606-0x174,_0x495606,_0x4c6789-0x198,_0x21bbf7- -0x1fe);}const _0x4a4a8f=buildDescription(_0x192c55[_0x30b181(_0x40ac97._0x507e54,0x1f4,-0x22,_0x40ac97._0x528152)]);return defineTool({'name':'LoadSkill','permissionClass':_0x1bd5bb(_0x40ac97._0x325255,_0x40ac97._0x2fdb92,0xb4,_0x40ac97._0x243255),'description':_0x4a4a8f,'inputSchema':{'type':_0x30b181(0x2e1,_0x40ac97._0x2b4de6,_0x40ac97._0x4fcfd0,_0x40ac97._0x1a3574),'properties':{'name':{'type':_0x1bd5bb(_0x40ac97._0x4a37e9,_0x40ac97._0x1b6ba5,_0x40ac97._0x4ecdb0,0x2e8)}},'required':['name']},async *'execute'(_0x166976){const _0x4bb6bc={_0x25190b:0x2ab},_0x15a50a=_0x41c3ca['get'](_0x166976[_0x15aa3c(0x4a3,0x3c9,_0x1c578c._0x35c8c2,0x553)]);if(!_0x15a50a){const _0x2bdf8d=Array['from'](_0x41c3ca[_0x15aa3c(0x481,_0x1c578c._0x150011,0x384,_0x1c578c._0x122335)]())[_0x28ec0a(_0x1c578c._0x2c94cd,0x34f,_0x1c578c._0x4a2340,_0x1c578c._0x4763b1)](',\x20');throw new ToolExecutionError('Skill\x20\x27'+_0x166976[_0x15aa3c(_0x1c578c._0xf2c75f,0x768,0x4d8,0x553)]+_0x15aa3c(_0x1c578c._0x143144,0x5df,0x35f,0x56d)+_0x2bdf8d,{'name':_0x166976[_0x15aa3c(_0x1c578c._0x3ccaad,0x500,0x68b,_0x1c578c._0x48880f)]});}const _0x3478b0=await _0x192c55[_0x15aa3c(0x4c5,0x6d4,_0x1c578c._0x27ba45,0x57a)](_0x15a50a),_0x31d191=_0x15a50a['source'][_0x28ec0a(_0x1c578c._0x21284a,_0x1c578c._0x4efcde,0x11d,_0x1c578c._0x5bd6fd)]??_0x175c15['dirname'](_0x15a50a[_0x15aa3c(0x36c,_0x1c578c._0x2be99a,0x4ae,0x41c)][_0x28ec0a(0x417,_0x1c578c._0x4f6f72,_0x1c578c._0xa40056,_0x1c578c._0x13d781)]),_0x764a9b=[_0x15aa3c(0x60f,_0x1c578c._0x521c92,_0x1c578c._0x3a6de3,0x549)+_0x3478b0[_0x28ec0a(_0x1c578c._0xc1dfd1,0x5b3,0x25b,0x5ef)],'',_0x3478b0['instructions'],'',_0x28ec0a(_0x1c578c._0x2279fb,_0x1c578c._0x5129f1,_0x1c578c._0x72e0ac,_0x1c578c._0x3cb14f),_0x28ec0a(0x2ba,_0x1c578c._0x4764c2,0x448,_0x1c578c._0x52559b)+_0x15a50a[_0x15aa3c(_0x1c578c._0x49db55,0x4f2,0x247,_0x1c578c._0x305eff)][_0x15aa3c(_0x1c578c._0x2234ca,_0x1c578c._0x46da9f,0x414,_0x1c578c._0x28cc02)],_0x15aa3c(_0x1c578c._0x5a6650,0x48a,0x551,_0x1c578c._0x43e7f6)+_0x31d191][_0x15aa3c(_0x1c578c._0x1235d9,0x6d4,_0x1c578c._0x5a93fd,_0x1c578c._0x4c5767)]('\x0a');yield createToolOutput(_0x764a9b,{'id':_0x3478b0['id'],'name':_0x3478b0[_0x15aa3c(_0x1c578c._0x3c3d6c,_0x1c578c._0x537369,_0x1c578c._0x6145e5,0x553)],'path':_0x15a50a[_0x15aa3c(_0x1c578c._0x4bdfc4,0x5d1,_0x1c578c._0x21928b,0x41c)][_0x15aa3c(_0x1c578c._0x11b9f4,0x6db,_0x1c578c._0x2defc6,0x538)],'baseDirectory':_0x31d191});function _0x15aa3c(_0x4bdcf4,_0x201282,_0x15402e,_0x9bc77f){return _0x1bd5bb(_0x15402e,_0x201282-0x1,_0x15402e-0x13a,_0x9bc77f-_0x4bb6bc._0x25190b);}function _0x28ec0a(_0x4db86b,_0x5a04fc,_0x31d669,_0x488f97){return _0x1bd5bb(_0x5a04fc,_0x5a04fc-_0x4e86ca._0x37b2c9,_0x31d669-0x15d,_0x4db86b-0x18a);}return void 0x0;}});}var TODO_STATUSES=new Set([_0x5885dd(0x59d,0x244,0x425,0x3ac),_0x16ac01(0x2d,-0x38,-0xdf,-0x108),'completed']),TODO_PRIORITIES=new Set(['high',_0x16ac01(-0x10a,-0x67,0x107,-0x259),_0x5885dd(0x205,0x1a4,0x45c,0x3a8)]);function isTodoStatus(_0x4d26f6){return typeof _0x4d26f6==='string'&&TODO_STATUSES['has'](_0x4d26f6);}function isTodoPriority(_0x150d7f){const _0x2ebf30={_0x3d05b2:0x58a,_0x4e516d:0x79d,_0x238527:0x364,_0x500057:0x2ac,_0x8a7575:0x361},_0x177915={_0x318932:0xa4},_0x4d6086={_0x45b3a7:0x2c};function _0x36b262(_0x8cf564,_0x5b49c7,_0x184df0,_0x2c905f){return _0x16ac01(_0x8cf564-0x10f,_0x5b49c7-0x192,_0x184df0-_0x4d6086._0x45b3a7,_0x8cf564);}function _0x8af6da(_0x346aad,_0x4299b7,_0x41a034,_0x2522ec){return _0x5885dd(_0x346aad-0x137,_0x2522ec,_0x41a034-0x1d6,_0x346aad-_0x177915._0x318932);}return typeof _0x150d7f===_0x8af6da(_0x2ebf30._0x3d05b2,0x69c,_0x2ebf30._0x4e516d,0x684)&&TODO_PRIORITIES[_0x8af6da(_0x2ebf30._0x238527,0x45e,_0x2ebf30._0x500057,_0x2ebf30._0x8a7575)](_0x150d7f);}var TodoStore=class{['todosBySession']=new Map();[_0x5885dd(0x450,0x611,0x3e2,0x56d)](_0x1db2ab){const _0x31bd11={_0x6c1ce:0x519},_0x1ab022={_0xfd7378:0x9c};function _0x57b45d(_0x395bb7,_0x2efa9c,_0x5e1822,_0xe09aaa){return _0x16ac01(_0x395bb7-_0x1ab022._0xfd7378,_0x5e1822-0x4ec,_0x5e1822-0x1d8,_0x2efa9c);}return this[_0x57b45d(0x485,_0x31bd11._0x6c1ce,0x3c6,0x508)]['get'](_0x1db2ab)??[];}[_0x5885dd(0x227,0x405,0x399,0x408)](_0x4f32b9,_0x5dac84){this['todosBySession']['set'](_0x4f32b9,_0x5dac84);}[_0x16ac01(0x419,0x21f,0x1eb,0xc1)](_0x5711ce){const _0x24d63c={_0x2cbf3e:0x49a,_0x3a9898:0x32,_0x40b3e1:0x19f,_0x24cf2a:0x327,_0x3eafe1:0x286,_0x4d18ab:0x427,_0x65ba97:0x142,_0x1a2208:0x2fd,_0x50c73b:0x2d9,_0x5c5f23:0x1e0,_0x1e8e3e:0x175,_0x51ff4f:0xf4,_0x170a85:0x1c,_0x274db6:0x193,_0x167397:0x104,_0x57c87a:0x143,_0x2006b2:0x133,_0x3ad775:0x96,_0x306af1:0x1ac},_0x44f15d={_0x35d8b5:0x18f},_0xd003f9={_0x8477a:0x79},_0x5bf582=this[_0x3c9f70(0x577,0x5a0,0x39e,_0x24d63c._0x2cbf3e)](_0x5711ce);function _0x3c9f70(_0x177905,_0x5022f7,_0x206c28,_0x44a0d0){return _0x5885dd(_0x177905-_0xd003f9._0x8477a,_0x206c28,_0x206c28-0x8d,_0x44a0d0- -0xd3);}const _0x3e6546={'total':_0x5bf582[_0x3acaa9(_0x24d63c._0x3a9898,_0x24d63c._0x40b3e1,0x183,-0x149)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x33cf47 of _0x5bf582){if(_0x33cf47[_0x3c9f70(_0x24d63c._0x24cf2a,-0x60,_0x24d63c._0x3eafe1,0x111)]===_0x3c9f70(_0x24d63c._0x4d18ab,_0x24d63c._0x65ba97,_0x24d63c._0x1a2208,_0x24d63c._0x50c73b))_0x3e6546[_0x3c9f70(0x48c,_0x24d63c._0x5c5f23,0x2bb,0x2d9)]+=0x1;else{if(_0x33cf47[_0x3acaa9(-_0x24d63c._0x1e8e3e,-_0x24d63c._0x51ff4f,-_0x24d63c._0x170a85,-_0x24d63c._0x274db6)]===_0x3c9f70(_0x24d63c._0x167397,0xc0,0x2f7,0x184))_0x3e6546[_0x3acaa9(-0x18a,-_0x24d63c._0x57c87a,-0x15e,-_0x24d63c._0x2006b2)]+=0x1;else _0x3e6546[_0x3c9f70(_0x24d63c._0x3ad775,0x1fb,0x18c,_0x24d63c._0x306af1)]+=0x1;}}function _0x3acaa9(_0x4c457f,_0x20cf77,_0x291d1d,_0x462c87){return _0x16ac01(_0x4c457f-_0x44f15d._0x35d8b5,_0x4c457f- -0xca,_0x291d1d-0x23,_0x462c87);}return _0x3e6546;}};function validateTodos(_0x4bc4fc){const _0x60679f={_0xe5db3c:0x47c,_0xeade2c:0x529,_0x21976e:0x413,_0x44ac65:0x3f5,_0xe83e10:0x106,_0x249cd1:0x138,_0x1a2569:0x1ca,_0x1a18eb:0x14d,_0x36c414:0x6a6,_0x5a952b:0x567,_0x457c40:0x5ab,_0x426bd6:0x504,_0x1d9acb:0xd1,_0x4018b9:0x126,_0x539879:0xd,_0x3e5a5a:0x57c,_0x147702:0x6e3,_0x53d37a:0x713,_0x4a730c:0x671,_0x5d002d:0x387,_0x54847d:0x44a,_0x3bf8f8:0x4ea,_0x5b107e:0x234,_0x3393ef:0x2e9,_0x25c458:0x1b6,_0x3c3cb5:0x2ab,_0x3c984f:0x70,_0x653d46:0x1ce,_0x2c2f0d:0x254,_0x273bc6:0x73,_0x17edcf:0x17f,_0x29f074:0x18d,_0x77245d:0x1b1,_0x161d91:0x356,_0x59593d:0x3a7,_0x42d72d:0x92,_0xa148d4:0x11d,_0x319c74:0x2,_0x572897:0xab,_0x5c1a87:0x6ff,_0x2d41ca:0x3ac,_0x40f004:0x5af,_0x2bd858:0x850,_0x4e0015:0x40e,_0x1fb21b:0x61b,_0x593a77:0x73,_0x4b02c7:0x1ac,_0x235904:0x1b1,_0x15ec11:0xbf,_0x1d9c01:0x249,_0x46c807:0x6c1,_0x4f6cd2:0x149,_0x2888b7:0x36,_0xd77ef5:0x1dd,_0x38849e:0x134,_0x4b4b7f:0x33,_0xa0de71:0x7d1,_0xfab2b0:0x40f,_0x365f42:0x6bb,_0x2a0f60:0x567,_0xf5ad9c:0x80e,_0xb1e9ee:0x20,_0x84001d:0x274,_0x3e8ea1:0x326,_0xfe1719:0x1b1,_0x51df4d:0x2e7,_0x34a18f:0x6a6,_0x341402:0x6d1,_0x384386:0x225,_0x38acf0:0x4c,_0x55e2c2:0x102,_0x174de7:0x2fb,_0x5ee6dd:0xd2,_0x43a8a2:0x2c1,_0x502ff6:0xfb,_0x592ee8:0x388},_0x28555e={_0x4a554f:0x89,_0x863e6b:0x15f},_0x3f27a5={_0x2c42db:0x9f};if(!Array[_0x13dd44(_0x60679f._0xe5db3c,_0x60679f._0xeade2c,_0x60679f._0x21976e,_0x60679f._0x44ac65)](_0x4bc4fc[_0x4defc9(_0x60679f._0xe83e10,_0x60679f._0x249cd1,_0x60679f._0x1a2569,_0x60679f._0x1a18eb)])||_0x4bc4fc[_0x13dd44(_0x60679f._0x36c414,_0x60679f._0x5a952b,_0x60679f._0x457c40,_0x60679f._0x426bd6)]['length']===0x0)throw new ToolExecutionError(_0x4defc9(-_0x60679f._0x1d9acb,-_0x60679f._0x4018b9,-_0x60679f._0x539879,-0x95),{'error':_0x13dd44(0x55d,0x62f,_0x60679f._0x3e5a5a,0x712)});for(let _0x485337=0x0;_0x485337<_0x4bc4fc[_0x13dd44(0x6a6,_0x60679f._0x147702,0x5e1,0x850)][_0x13dd44(0x5e1,0x70e,_0x60679f._0x53d37a,0x781)];_0x485337+=0x1){const _0x5d857c=_0x4bc4fc[_0x13dd44(0x6a6,_0x60679f._0x4a730c,0x6f8,0x4d3)][_0x485337];if(!_0x5d857c||typeof _0x5d857c!==_0x4defc9(0x35c,0x213,_0x60679f._0x5d002d,0x2ec))throw new ToolExecutionError('Todo\x20'+(_0x485337+0x1)+_0x13dd44(_0x60679f._0x54847d,_0x60679f._0x3bf8f8,_0x60679f._0x5b107e,0x3fd),{'error':_0x4defc9(_0x60679f._0x3393ef,_0x60679f._0x25c458,_0x60679f._0x3c3cb5,0x3bb)});if(typeof _0x5d857c['id']!==_0x4defc9(_0x60679f._0x3c984f,_0x60679f._0x653d46,_0x60679f._0x2c2f0d,0x6f)||_0x5d857c['id']['trim']()[_0x4defc9(-0x92,_0x60679f._0x273bc6,-_0x60679f._0x17edcf,-_0x60679f._0x29f074)]===0x0)throw new ToolExecutionError(_0x4defc9(-0x4,_0x60679f._0x77245d,_0x60679f._0x161d91,_0x60679f._0x59593d)+(_0x485337+0x1)+_0x4defc9(0x1df,_0x60679f._0x42d72d,0x0,-_0x60679f._0xa148d4),{'error':_0x4defc9(_0x60679f._0x319c74,0x119,0x314,-_0x60679f._0x572897)});if(typeof _0x5d857c[_0x13dd44(0x568,0x416,_0x60679f._0x5c1a87,_0x60679f._0x2d41ca)]!==_0x13dd44(0x73c,_0x60679f._0x40f004,0x857,_0x60679f._0x2bd858)||_0x5d857c[_0x13dd44(0x568,0x777,_0x60679f._0x4e0015,0x423)][_0x13dd44(_0x60679f._0x1fb21b,0x5ca,0x75f,0x4ec)]()[_0x4defc9(-0x100,_0x60679f._0x593a77,0x7a,_0x60679f._0x4b02c7)]===0x0)throw new ToolExecutionError(_0x4defc9(0xe7,_0x60679f._0x235904,_0x60679f._0x15ec11,_0x60679f._0x1d9c01)+(_0x485337+0x1)+_0x13dd44(0x592,0x475,0x405,_0x60679f._0x46c807),{'error':_0x4defc9(-_0x60679f._0x4f6cd2,-0x186,_0x60679f._0x2888b7,-_0x60679f._0xd77ef5)});if(!isTodoStatus(_0x5d857c[_0x4defc9(-0x5a,-_0x60679f._0x38849e,_0x60679f._0x4b4b7f,0xcf)]))throw new ToolExecutionError(_0x13dd44(0x71f,_0x60679f._0xa0de71,0x5ed,0x52a)+(_0x485337+0x1)+_0x13dd44(0x3d6,0x361,_0x60679f._0xfab2b0,0x3e5),{'error':_0x13dd44(_0x60679f._0x365f42,_0x60679f._0x2a0f60,_0x60679f._0xf5ad9c,0x6cf)});if(!isTodoPriority(_0x5d857c[_0x4defc9(-_0x60679f._0xb1e9ee,0xea,-0x63,_0x60679f._0x84001d)]))throw new ToolExecutionError(_0x4defc9(_0x60679f._0x3e8ea1,_0x60679f._0xfe1719,0x303,_0x60679f._0x51df4d)+(_0x485337+0x1)+_0x13dd44(0x49a,0x2e3,0x49b,0x3a6),{'error':'invalid_todo_priority'});}const _0x18d654=_0x4bc4fc[_0x13dd44(_0x60679f._0x34a18f,_0x60679f._0x341402,0x7f4,0x510)][_0x4defc9(-_0x60679f._0x384386,-_0x60679f._0x1a2569,-0x3b3,-0x14)](_0x24821e=>_0x24821e['id']);function _0x13dd44(_0x3078a7,_0x554b89,_0x4583f8,_0x17e79d){return _0x16ac01(_0x3078a7-_0x3f27a5._0x2c42db,_0x3078a7-0x4e5,_0x4583f8-0x1cb,_0x4583f8);}function _0x4defc9(_0x12c707,_0x453c24,_0x4a001a,_0x401a34){return _0x16ac01(_0x12c707-0x157,_0x453c24- -_0x28555e._0x4a554f,_0x4a001a-_0x28555e._0x863e6b,_0x4a001a);}if(new Set(_0x18d654)[_0x4defc9(-_0x60679f._0x38acf0,_0x60679f._0x55e2c2,_0x60679f._0x174de7,-0xe)]!==_0x18d654[_0x4defc9(0x130,0x73,0x21a,_0x60679f._0x5ee6dd)])throw new ToolExecutionError(_0x4defc9(0x19d,0xbc,_0x60679f._0x43a8a2,_0x60679f._0x502ff6),{'error':_0x4defc9(-0x10f,-0x1a8,-_0x60679f._0x592ee8,-0x229)});}function createStatsProgress(_0x4ecf07){const _0x45e4a1={_0x533530:0x228,_0x31634e:0x25a},_0x6d841a={_0x36180f:0x178,_0x1303e8:0xd};function _0x322329(_0x22bb40,_0x2678cb,_0x1038a2,_0x34c3d5){return _0x5885dd(_0x22bb40-0xa0,_0x22bb40,_0x1038a2-_0x6d841a._0x36180f,_0x34c3d5-_0x6d841a._0x1303e8);}return _0x4ecf07[_0x322329(0x27e,0x3ca,_0x45e4a1._0x533530,_0x45e4a1._0x31634e)]>0x0?Math['round'](_0x4ecf07['completed']/_0x4ecf07['total']*0x64)+'%':'0%';}function createReminderItems(_0x1521c0){const _0x522255={_0x32dda9:0x11d,_0x3e7c86:0x36,_0x4b5660:0x8e},_0x104819={_0x477673:0x1d7},_0x428fc7={_0x566e82:0xf9,_0x56fca8:0x7d};function _0x3a776d(_0x1133fb,_0x1913ec,_0x587322,_0x4f33f3){return _0x16ac01(_0x1133fb-_0x428fc7._0x566e82,_0x1133fb-0x25e,_0x587322-_0x428fc7._0x56fca8,_0x587322);}function _0x3ab477(_0x1762a8,_0x531e50,_0x5ae3a5,_0x14fdc1){return _0x16ac01(_0x1762a8-0x1b3,_0x5ae3a5-_0x104819._0x477673,_0x5ae3a5-0x111,_0x14fdc1);}return _0x1521c0[_0x3a776d(_0x522255._0x32dda9,0x26,-_0x522255._0x3e7c86,_0x522255._0x4b5660)](_0xba0bcf=>({'content':_0xba0bcf[_0x3a776d(0x2e1,0x4d3,0x2ef,0x3e7)],'status':_0xba0bcf[_0x3a776d(0x1b3,0x97,-0x5a,0x1f7)],'id':_0xba0bcf['id']}));}function createStructuredResult(_0x5c0a67,_0x2fc7d6,_0x3d0d8b,_0x37960a){const _0x5d3af3={_0xe3bb16:0x4a,_0x1a891a:0x1d7,_0x1d7e7e:0x341,_0x447457:0x39a},_0x10f40d={_0x2a6c24:0x193};function _0x329fcd(_0x1b11c1,_0x564610,_0x12846b,_0x8783da){return _0x16ac01(_0x1b11c1-0x1f0,_0x12846b-0x394,_0x12846b-_0x10f40d._0x2a6c24,_0x8783da);}function _0x2944cd(_0x3d4a5e,_0x5cf390,_0x5381d7,_0x755806){return _0x16ac01(_0x3d4a5e-0x112,_0x755806-0x29e,_0x5381d7-0x198,_0x5cf390);}return{'allCompleted':_0x37960a,'items':_0x2fc7d6[_0x329fcd(0x275,_0x5d3af3._0xe3bb16,0x253,0x342)](_0x6d6e10=>({'id':_0x6d6e10['id'],'content':_0x6d6e10[_0x2944cd(0x1b4,0x16a,0x284,0x321)],'status':_0x6d6e10[_0x2944cd(0x1fe,0x3e,0x68,0x1f3)],'priority':_0x6d6e10[_0x2944cd(0x593,0x481,0x424,0x411)],'createdAt':_0x6d6e10[_0x2944cd(0x227,0x164,0x284,0x239)]})),'progress':createStatsProgress(_0x3d0d8b),'recentChanges':!![],'sessionId':_0x5c0a67,'stats':_0x3d0d8b,'todosWritten':_0x2fc7d6[_0x2944cd(_0x5d3af3._0x1a891a,0x4aa,_0x5d3af3._0x1d7e7e,_0x5d3af3._0x447457)]};}function createOutputText(_0x5dc6d4,_0x1038ab){const _0x2856f0={_0x32a59f:0x44d,_0x128111:0x35f,_0x230ab1:0x362,_0x1de1f6:0x15d,_0x568f47:0x157,_0x213fb8:0x1b4,_0x33a856:0x15b,_0x4f5c6d:0x119,_0x52fd34:0x2ac,_0x560e80:0x405,_0x3037c0:0x3fd,_0x40bfe5:0x1fe,_0x194480:0xbc},_0x2acdf1={_0x4a889e:0x1d,_0x21376b:0x1f},_0x331f44={_0x1a1606:0x13c,_0x3b6f68:0x2ba},_0x56b498=JSON[_0x28bc3b(_0x2856f0._0x32a59f,_0x2856f0._0x128111,0x628,_0x2856f0._0x230ab1)](createReminderItems(_0x5dc6d4));if(_0x1038ab)return _0xb874e(_0x2856f0._0x1de1f6,_0x2856f0._0x568f47,_0x2856f0._0x213fb8,0x361)+_0x5dc6d4[_0xb874e(_0x2856f0._0x33a856,0x7f,_0x2856f0._0x4f5c6d,_0x2856f0._0x52fd34)]+_0x28bc3b(0x43f,0x4f3,_0x2856f0._0x560e80,0x2e0)+_0x56b498+'.\x0a</system-reminder>';function _0x28bc3b(_0x294798,_0x3fae19,_0x251c84,_0x55d772){return _0x16ac01(_0x294798-_0x331f44._0x1a1606,_0x294798-_0x331f44._0x3b6f68,_0x251c84-0x168,_0x55d772);}function _0xb874e(_0x5ad838,_0x183cdc,_0x2d505f,_0x2e4865){return _0x16ac01(_0x5ad838-0x194,_0x2d505f-_0x2acdf1._0x4a889e,_0x2d505f-_0x2acdf1._0x21376b,_0x2e4865);}return _0x28bc3b(0x25b,_0x2856f0._0x3037c0,0x2df,_0x2856f0._0x40bfe5)+_0x56b498+_0xb874e(_0x2856f0._0x194480,0x19c,-0xb,0x10f);}function createTodoWriteTool(_0x5454d2=new TodoStore()){const _0x3d8508={_0x3ff052:0x609,_0x3392ea:0x771,_0x3ebe82:0x66d,_0x3bdd00:0x4fa,_0x31e30b:0x631,_0x3c76d3:0x8c3,_0x1a030c:0x854,_0x59d4ec:0x52c,_0xb4655b:0x3f8,_0x82a11e:0x86b,_0x1d2b8c:0x90e,_0x301a24:0xa89,_0x50703f:0x766,_0x168d2e:0x7f2,_0x516803:0x735,_0x1961cc:0x562,_0x4af6ae:0x64f,_0x32a8ff:0x9b6,_0x29c7bf:0x6b5,_0x1489fa:0xa68,_0x2d5795:0x6f5,_0x2fb2ff:0x883,_0x1a1f2a:0x485,_0x344bb6:0x5c7,_0x3d5efe:0x5dc,_0xef033e:0x69f,_0xbceccd:0x597},_0x32d728={_0x22dbbf:0x3d4,_0x2148dd:0x2b6,_0x4778a9:0xeb,_0x4ef42b:0x6d,_0x3a94ca:0x44,_0x31459e:0xac,_0x3a1f60:0x425,_0x8851ff:0x37d,_0x1c38c3:0xba,_0x43c7bd:0xab,_0x342d18:0x13c,_0x181212:0xd7},_0x2ee223={_0x5e7980:0x49a,_0x1ce7e7:0x18c},_0x323a6e={_0xb454e5:0xad},_0x3f1fb8={_0x2af334:0x117,_0x51c971:0x91};function _0x3ff3d8(_0x4725c8,_0x268da1,_0x3ddf09,_0x592384){return _0x16ac01(_0x4725c8-_0x3f1fb8._0x2af334,_0x268da1-0x672,_0x3ddf09-_0x3f1fb8._0x51c971,_0x592384);}function _0x39a321(_0x3f19db,_0x18d525,_0x141462,_0x4abc43){return _0x16ac01(_0x3f19db-_0x323a6e._0xb454e5,_0x3f19db-0x4de,_0x141462-0x87,_0x4abc43);}return defineTool({'name':_0x3ff3d8(_0x3d8508._0x3ff052,0x5d8,0x7a6,0x51d),'permissionClass':_0x3ff3d8(0x8b9,0x742,_0x3d8508._0x3392ea,_0x3d8508._0x3ebe82),'description':_0x39a321(_0x3d8508._0x3bdd00,0x4fb,0x4a3,_0x3d8508._0x31e30b),'inputSchema':{'type':_0x39a321(0x77a,_0x3d8508._0x3c76d3,_0x3d8508._0x1a030c,0x712),'properties':{'todos':{'type':_0x39a321(_0x3d8508._0x59d4ec,_0x3d8508._0xb4655b,0x343,0x475),'items':{'type':_0x3ff3d8(_0x3d8508._0x82a11e,_0x3d8508._0x1d2b8c,_0x3d8508._0x301a24,_0x3d8508._0x50703f),'properties':{'content':{'type':'string'},'status':{'type':_0x39a321(0x735,0x796,0x60e,_0x3d8508._0x168d2e)},'priority':{'type':_0x39a321(_0x3d8508._0x516803,_0x3d8508._0x1961cc,0x8c1,_0x3d8508._0x4af6ae)},'id':{'type':_0x3ff3d8(0x9f6,0x8c9,0x874,_0x3d8508._0x32a8ff)},'createdAt':{'type':_0x3ff3d8(_0x3d8508._0x29c7bf,0x8c9,0x6c0,_0x3d8508._0x1489fa)}},'required':[_0x3ff3d8(0x79a,_0x3d8508._0x2d5795,_0x3d8508._0x2fb2ff,0x550),_0x3ff3d8(_0x3d8508._0x1a1f2a,_0x3d8508._0x344bb6,0x68e,_0x3d8508._0x3d5efe),'priority','id']}}},'required':[_0x39a321(_0x3d8508._0xef033e,0x85f,0x4fb,_0x3d8508._0xbceccd)]},async *'execute'(_0x31589c,_0x5d6b92){const _0x4ee706={_0x1e42ae:0x5fd,_0x2761ba:0x10a},_0x34fe14=_0x31589c;validateTodos(_0x34fe14);const _0x4cbff3=_0x5d6b92[_0xcd272b(-0x1eb,-0x3b9,-_0x32d728._0x22dbbf,-0x20c)]||_0x3c4247(0x1d0,0x321,_0x32d728._0x2148dd,0x306),_0x366812=new Date()[_0x3c4247(0xb9,_0x32d728._0x4778a9,0xde,-_0x32d728._0x4ef42b)](),_0x352364=_0x34fe14['todos'][_0x3c4247(-_0x32d728._0x3a94ca,-0xfd,-0x1c9,-_0x32d728._0x31459e)](_0x55051d=>({'id':_0x55051d['id'],'content':_0x55051d[_0xcd272b(-0x1a7,-0x1bf,0x8d,-0x9c)],'status':_0x55051d['status'],'priority':_0x55051d[_0xcd272b(0x5c,-0x136,0xc9,0x54)],'sessionId':_0x4cbff3,'createdAt':_0x55051d['createdAt']||_0x366812,'updatedAt':_0x366812}));_0x5454d2[_0x3c4247(0x280,0x1bd,0xb5,0x1a6)](_0x4cbff3,_0x352364);function _0xcd272b(_0x368cf8,_0x21c3cc,_0x56045e,_0xd237ac){return _0x39a321(_0xd237ac- -_0x4ee706._0x1e42ae,_0x21c3cc-0x1b7,_0x56045e-_0x4ee706._0x2761ba,_0x56045e);}function _0x3c4247(_0x5f0369,_0x177efd,_0x20a956,_0x54918f){return _0x39a321(_0x177efd- -_0x2ee223._0x5e7980,_0x177efd-0xa1,_0x20a956-_0x2ee223._0x1ce7e7,_0x20a956);}const _0x11df04=_0x5454d2[_0x3c4247(0x21f,0x263,_0x32d728._0x3a1f60,_0x32d728._0x8851ff)](_0x4cbff3),_0x17d59c=_0x352364[_0xcd272b(_0x32d728._0x1c38c3,-0x15a,_0x32d728._0x43c7bd,-0x23)]>0x0&&_0x352364[_0xcd272b(0x256,_0x32d728._0x342d18,_0x32d728._0x181212,0x193)](_0x131020=>_0x131020[_0x3c4247(-0x180,-0x67,-0x33,-0x71)]===_0x3c4247(-0x4c,0x34,0x171,0xfe));return createToolOutput(createOutputText(_0x352364,_0x17d59c),createStructuredResult(_0x4cbff3,_0x352364,_0x11df04,_0x17d59c));}});}function createUpdateTopicTool(){const _0x1b0e8c={_0x15f8e8:0x16f,_0x943c93:0x12b,_0x22f8ea:0x25f,_0x2dc564:0x33b,_0x31f8fb:0x36d,_0x46a5d:0x18d,_0x2b4fd7:0x30e,_0xd57e29:0x21e,_0x17ebba:0x2bf,_0x8bbe3e:0x1dd},_0x2d14be={_0x4d61a0:0x7d1,_0x5cdb10:0x56c,_0x4f4f6d:0x58b,_0x28b52b:0x53a,_0x1fcb7e:0x429,_0x1d73d4:0x760,_0x1c8fa6:0x325,_0x550482:0x1a0,_0x975c8e:0x312,_0x146295:0x4f6,_0x2c6fea:0x9a1},_0x1e7bef={_0x37b20a:0x91},_0x323384={_0x3e89ed:0x12,_0x17f170:0x13d},_0x1f9b32={_0x10540f:0xb7,_0x36bc62:0xf7};function _0x4fdc60(_0x3f1331,_0x1820d6,_0x7d4077,_0x29b16f){return _0x16ac01(_0x3f1331-0x8b,_0x3f1331-_0x1f9b32._0x10540f,_0x7d4077-_0x1f9b32._0x36bc62,_0x29b16f);}function _0x38b287(_0x1597a7,_0x2e8e9f,_0x53a32a,_0x2f1bfc){return _0x5885dd(_0x1597a7-_0x323384._0x3e89ed,_0x2f1bfc,_0x53a32a-_0x323384._0x17f170,_0x1597a7- -0x1f0);}return defineTool({'name':'UpdateTopic','permissionClass':_0x38b287(_0x1b0e8c._0x15f8e8,0x2,_0x1b0e8c._0x943c93,_0x1b0e8c._0x22f8ea),'description':'Set\x20a\x20concise\x203-6\x20word\x20noun-phrase\x20session\x20topic\x20when\x20the\x20main\x20subject\x20becomes\x20clear\x20or\x20materially\x20changes.\x20Skip\x20minor\x20tangents.\x20Prefer\x20\x22Debug\x20TS\x20generics\x20error\x22;\x20avoid\x20full\x20sentences\x20or\x20vague\x20labels\x20such\x20as\x20\x22coding\x22.','inputSchema':{'type':_0x38b287(_0x1b0e8c._0x2dc564,0x4d0,_0x1b0e8c._0x31f8fb,_0x1b0e8c._0x46a5d),'properties':{'topic':{'type':_0x4fdc60(_0x1b0e8c._0x2b4fd7,0x285,0x423,_0x1b0e8c._0xd57e29)}},'required':[_0x4fdc60(0x136,_0x1b0e8c._0x17ebba,0xf5,_0x1b0e8c._0x8bbe3e)]},async *'execute'(_0x35f700,_0x3eb886){const _0x192834={_0x400adf:0x599,_0xa7fe02:0xf6},{topic:_0x3f6919}=_0x35f700;if(typeof _0x3f6919!=='string'||_0x3f6919[_0x4c9e28(_0x2d14be._0x4d61a0,0x8c9,0x786,0x700)]()['length']===0x0)throw new ToolExecutionError(_0x4c9e28(_0x2d14be._0x5cdb10,0x62c,_0x2d14be._0x4f4f6d,_0x2d14be._0x28b52b),{'error':_0x343d76(_0x2d14be._0x1fcb7e,0x4f9,0x5bd,_0x2d14be._0x1d73d4)});function _0x4c9e28(_0x1a036b,_0x4cc01a,_0x3356f7,_0x18416e){return _0x4fdc60(_0x3356f7-_0x192834._0x400adf,_0x4cc01a-0x14b,_0x3356f7-_0x192834._0xa7fe02,_0x18416e);}function _0x343d76(_0x3100b9,_0x45d91c,_0x4cc5b3,_0x5d496d){return _0x4fdc60(_0x4cc5b3-0x246,_0x45d91c-_0x1e7bef._0x37b20a,_0x4cc5b3-0x41,_0x3100b9);}const _0x3df110=_0x3f6919[_0x343d76(0x356,0x3b3,0x433,_0x2d14be._0x1c8fa6)]();return _0x3eb886[_0x343d76(_0x2d14be._0x550482,0x2f4,_0x2d14be._0x975c8e,_0x2d14be._0x146295)]?.(_0x3df110),yield createToolOutput(_0x4c9e28(_0x2d14be._0x2c6fea,0x82a,0x8d5,0xae8)+_0x3df110+'\x22',{'topic':_0x3df110}),void 0x0;}});}import{randomUUID as _0x53a132}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x50cc89}from'child_process';function errorMessage(_0x939658){function _0x25d7b4(_0x4c8020,_0x476897,_0x1ba75a,_0x55c7be){return _0x5885dd(_0x4c8020-0xc0,_0x55c7be,_0x1ba75a-0x4,_0x4c8020-0x201);}return _0x939658 instanceof Error?_0x939658[_0x25d7b4(0x51e,0x32e,0x33d,0x5b4)]:String(_0x939658);}function isNotFound(_0x450d7d){const _0x3dd77c={_0x526249:0x7e0,_0x25f5fd:0x64e,_0x989ddc:0x67f,_0x23777d:0x6ef,_0xf246d6:0x130,_0x41d48a:0xa1,_0x548927:0x1bc},_0x143182={_0x23d42c:0xf6};function _0x263a5f(_0x549008,_0x1ad797,_0x1ed790,_0x32c0ba){return _0x5885dd(_0x549008-_0x143182._0x23d42c,_0x1ed790,_0x1ed790-0x73,_0x549008- -0x29a);}function _0x20f81b(_0x52007f,_0x2a49e0,_0x3e75bd,_0x285a4a){return _0x16ac01(_0x52007f-0xb6,_0x2a49e0-0x544,_0x3e75bd-0x1ca,_0x52007f);}return typeof _0x450d7d===_0x20f81b(0x80c,_0x3dd77c._0x526249,0x905,_0x3dd77c._0x25f5fd)&&_0x450d7d!==null&&_0x20f81b(0x6b6,_0x3dd77c._0x989ddc,0x761,_0x3dd77c._0x23777d)in _0x450d7d&&_0x450d7d[_0x263a5f(_0x3dd77c._0xf246d6,-0xe,0x157,_0x3dd77c._0x41d48a)]===_0x263a5f(_0x3dd77c._0x548927,0x1cd,0x62,0x20d);}function isSafeProcessId(_0x2cd357){const _0x52dfe8={_0x4feefa:0x4aa},_0x50ce6c={_0x2dc3c5:0x7b};function _0x4baba0(_0x2877e3,_0x3e2f86,_0x4ae5a4,_0x3adf45){return _0x16ac01(_0x2877e3-_0x50ce6c._0x2dc3c5,_0x3e2f86-0x529,_0x4ae5a4-0xe3,_0x3adf45);}return _0x2cd357!==void 0x0&&Number[_0x4baba0(0x313,_0x52dfe8._0x4feefa,0x676,0x3cc)](_0x2cd357)&&_0x2cd357>0x1;}function createProcessTreeSignalAdapter(_0x4925db={}){const _0x473543={_0x1370a5:0x2b9,_0x5b077e:0x487,_0x26472d:0x375,_0xd5ecd6:0x45c,_0x235166:0x623,_0x1f5bc2:0x667,_0x3ff9ea:0x426,_0x4948c9:0x492,_0x2f708d:0x2b3,_0x51b418:0x45c,_0x406c10:0x1dd,_0x25ca8a:0x276},_0x596883={_0x554ab6:0x571,_0x47d60c:0x84c,_0x56201f:0x773,_0x1e86c5:0x666,_0x461f14:0x206,_0x327ecd:0x454,_0xe7faec:0x329,_0x4dcb5a:0x4ff,_0x2771d4:0x310,_0x35a6c0:0x7c0,_0x3ed9d6:0x2ca,_0x3a3079:0x384,_0x2a7fe6:0x331,_0x313617:0x154,_0x2ffcef:0x6b1,_0x1d69c0:0x91a,_0x40272d:0x595,_0x414275:0x5e4},_0x5af267={_0x285b0e:0x1f1},_0x2d4841={_0x5668d5:0x115,_0x5af3fc:0x135,_0x1f4e45:0x8e},_0x3b34aa={_0x715ab1:0x9e},_0x445eea=_0x4925db[_0x149d01(0x198,0x138,-0x1d,0x17)]??process[_0x575ac3(0x13a,0x2d0,_0x473543._0x1370a5,_0x473543._0x5b077e)],_0x4b49f1=_0x4925db[_0x575ac3(0x66c,_0x473543._0x26472d,_0x473543._0xd5ecd6,_0x473543._0x235166)]??process[_0x575ac3(0x30e,_0x473543._0x1f5bc2,0x45c,0x56d)][_0x575ac3(0x69b,_0x473543._0x3ff9ea,_0x473543._0x4948c9,0x48b)](process);function _0x149d01(_0x3f8741,_0x47171d,_0x5c9458,_0xce831e){return _0x16ac01(_0x3f8741-_0x3b34aa._0x715ab1,_0x3f8741-0xe0,_0x5c9458-0x96,_0x5c9458);}const _0x410d5a=_0x4925db[_0x149d01(_0x473543._0x2f708d,_0x473543._0x51b418,_0x473543._0x406c10,_0x473543._0x25ca8a)]??_0x50cc89;function _0x575ac3(_0x1dc17a,_0x13957f,_0x90d4f5,_0x368691){return _0x5885dd(_0x1dc17a-_0x2d4841._0x5668d5,_0x1dc17a,_0x90d4f5-_0x2d4841._0x5af3fc,_0x90d4f5- -_0x2d4841._0x1f4e45);}return{async 'signal'(_0x51bfed,_0x6506ba){const _0x3b64cd={_0x34d93f:0x283,_0x4767a4:0x54,_0x200212:0x183,_0x4ce920:0x23,_0x512f9e:0x181,_0x328352:0xfc,_0x1e6b6c:0x218,_0x1718fe:0x36,_0xa08be6:0x140,_0x27f56c:0x91,_0x82d034:0x2a0,_0x12df0b:0x89,_0x35d3cf:0x272,_0x1a9c18:0x102,_0x28bf16:0x1b7,_0x448749:0x10e,_0x254de4:0xa7,_0x38f1ff:0x115},_0x38f138={_0x3f7e9c:0x8d6},_0x3bccfd={_0x3251f8:0x1a0};if(_0x445eea!==_0x249876(0x57d,0x1a7,_0x596883._0x554ab6,0x39b)){if(!isSafeProcessId(_0x51bfed['processGroupId']))return{'outcome':_0x249876(_0x596883._0x47d60c,_0x596883._0x56201f,0x782,_0x596883._0x1e86c5),'error':_0x249876(_0x596883._0x461f14,_0x596883._0x327ecd,0x311,_0x596883._0xe7faec)};try{return _0x4b49f1(-_0x51bfed[_0x178b71(0x3ec,_0x596883._0x4dcb5a,_0x596883._0x2771d4,0x463)],_0x6506ba===_0x178b71(0x8c7,_0x596883._0x35a6c0,0x9a5,0x8b1)?_0x249876(0x4c9,0x305,_0x596883._0x3ed9d6,0x3ce):_0x178b71(_0x596883._0x3a3079,0x4de,0x383,_0x596883._0x2a7fe6)),{'outcome':_0x249876(0x3d1,_0x596883._0x313617,0x144,0x350)};}catch(_0x48c476){return isNotFound(_0x48c476)?{'outcome':_0x178b71(_0x596883._0x2ffcef,0x739,_0x596883._0x1d69c0,_0x596883._0x40272d),'error':errorMessage(_0x48c476)}:{'outcome':'failed','error':errorMessage(_0x48c476)};}}if(!isSafeProcessId(_0x51bfed['rootPid']))return{'outcome':_0x178b71(0x5f8,0x790,_0x596883._0x414275,0x8ba),'error':'Unsafe\x20or\x20missing\x20Windows\x20root\x20pid'};function _0x249876(_0x27a6c0,_0x5c3dbb,_0x43e828,_0x5baf27){return _0x149d01(_0x5baf27-0x319,_0x5c3dbb-0x162,_0x43e828,_0x5baf27-0x14e);}function _0x178b71(_0x2e7765,_0x904b79,_0x4d27b3,_0x4a79c7){return _0x149d01(_0x904b79-0x443,_0x904b79-_0x5af267._0x285b0e,_0x4d27b3,_0x4a79c7-0x2e);}return new Promise(_0x15485f=>{const _0x24bab9={_0xdc573a:0x12b,_0x59f17e:0x30a},_0x5ca45a={_0x3db95f:0xf3,_0x3a4539:0x6f},_0xb58173={_0x49d586:0x1af,_0x29c900:0x51e};let _0x1c502d=![];const _0x52b62a=_0x30314e=>{if(_0x1c502d)return;_0x1c502d=!![],_0x15485f(_0x30314e);};function _0x12429c(_0x272e1d,_0xf47af6,_0x3af265,_0x2c5fa4){return _0x178b71(_0x272e1d-_0xb58173._0x49d586,_0xf47af6- -_0xb58173._0x29c900,_0x272e1d,_0x2c5fa4-0xd4);}let _0x119516;try{const _0x50e438=[_0xf0eda4(-0x34,_0x3b64cd._0x34d93f,-_0x3b64cd._0x4767a4,0xe6),String(_0x51bfed[_0x12429c(0x25,_0x3b64cd._0x200212,-_0x3b64cd._0x4ce920,_0x3b64cd._0x512f9e)]),'/T'];if(_0x6506ba===_0x12429c(-0x9f,-0x25,-_0x3b64cd._0x328352,-_0x3b64cd._0x1e6b6c))_0x50e438[_0xf0eda4(0xc8,-0x1c1,0x173,-_0x3b64cd._0x1718fe)]('/F');_0x119516=_0x410d5a(_0xf0eda4(-0x112,-_0x3b64cd._0xa08be6,-0x69,-_0x3b64cd._0x27f56c),_0x50e438,{'stdio':_0x12429c(-_0x3b64cd._0x82d034,-0xfe,0xcb,_0x3b64cd._0x12df0b),'windowsHide':!![]});}catch(_0x3a8a0b){_0x52b62a({'outcome':_0x12429c(0x11c,_0x3b64cd._0x35d3cf,_0x3b64cd._0x1a9c18,0x2da),'error':errorMessage(_0x3a8a0b)});return;}function _0xf0eda4(_0x2eee58,_0x3b416c,_0x2cfd44,_0x41e4fc){return _0x178b71(_0x2eee58-_0x3bccfd._0x3251f8,_0x41e4fc- -0x4d0,_0x2eee58,_0x41e4fc-0x8d);}_0x119516['once'](_0x12429c(0x35a,_0x3b64cd._0x28bf16,0x3e,0x39a),_0x3b021f=>{const _0x25e3d1={_0x43af3e:0x1c6};function _0x5b0182(_0x337e72,_0x817a8a,_0x298e09,_0x6d035b){return _0xf0eda4(_0x6d035b,_0x817a8a-_0x25e3d1._0x43af3e,_0x298e09-0x76,_0x298e09-0x616);}_0x52b62a(isNotFound(_0x3b021f)?{'outcome':'not-found','error':errorMessage(_0x3b021f)}:{'outcome':_0x5b0182(0x829,0x770,_0x38f138._0x3f7e9c,0xa48),'error':errorMessage(_0x3b021f)});}),_0x119516[_0x12429c(_0x3b64cd._0x448749,0xd1,-0x12f,0x26f)](_0x12429c(-_0x3b64cd._0x254de4,_0x3b64cd._0x38f1ff,-0x8,0x2a7),_0x87023c=>{const _0x21e123={_0x24bb50:0xe6,_0x56ac88:0x54};function _0x347a38(_0x5a05e6,_0x263ff0,_0x1cf11a,_0x3605ba){return _0xf0eda4(_0x1cf11a,_0x263ff0-_0x21e123._0x24bb50,_0x1cf11a-0x3c,_0x263ff0- -_0x21e123._0x56ac88);}function _0x2b6670(_0x4eaa5c,_0x2531f5,_0x453c7c,_0x21a211){return _0xf0eda4(_0x2531f5,_0x2531f5-_0x5ca45a._0x3db95f,_0x453c7c-_0x5ca45a._0x3a4539,_0x21a211-0x43a);}_0x52b62a(_0x87023c===0x0?{'outcome':_0x347a38(0x7f,-0xaa,-_0x24bab9._0xdc573a,0x63)}:{'outcome':'failed','error':_0x2b6670(_0x24bab9._0x59f17e,0x237,0x474,0x402)+String(_0x87023c)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x35b362){const _0x16a7de={_0x37772a:0x1cd},_0xcbfd96={_0x5ceeae:0x10d,_0x52fb5d:0x104},_0x1e450a=_0x35b362[_0x20311b(0x286,-0x30,_0x16a7de._0x37772a,0x3bb)](0x0)??0x0;function _0x20311b(_0x5028bc,_0x3c9aff,_0x273642,_0x3c19a4){return _0x5885dd(_0x5028bc-_0xcbfd96._0x5ceeae,_0x3c19a4,_0x273642-_0xcbfd96._0x52fb5d,_0x273642- -0x1c4);}return _0x1e450a<0x20&&_0x35b362!=='\x09'||_0x1e450a>=0x7f&&_0x1e450a<=0x9f||_0x1e450a===0xa0||_0x1e450a>=0x200b&&_0x1e450a<=0x200f||_0x1e450a>=0x2060&&_0x1e450a<=0x2069||_0x1e450a===0x23ce||_0x1e450a===0x2424;}function createTerminalOutputNormalizer(){const _0x676537={_0x37e036:0x3c7,_0x5e19bf:0x275,_0xedf62f:0x263,_0x54323d:0x3d4},_0x13bda7={_0x58c45e:0x34b,_0x563fad:0x378},_0x9014e8={_0x27b756:0x11c},_0x155530={_0x173ef0:0x1a9,_0x508c1e:0x2c2,_0x7fe043:0x2b5,_0x19ab05:0x470,_0x4ba832:0x38d,_0x4d646b:0x4fc,_0x450e5b:0x42d,_0xfcc252:0x92,_0x5f047f:0x320,_0x23258d:0x35c,_0x37bc55:0x350,_0x29d74e:0x2f5,_0x357565:0x243,_0x2d5fb1:0x229,_0x51f167:0x23d,_0x3a442f:0x476,_0x4cf637:0x31a,_0x2f8c38:0x444,_0x35a253:0x45a,_0x4d2c4b:0xbf,_0x344ab6:0x26d,_0x3cad1d:0x202,_0x2cbe27:0x4bc,_0x27dfd9:0x57a,_0x4e361e:0x571},_0x1124b5={_0x3497f8:0xbb},_0x1afcc9={_0x33f7f1:0x493,_0x1bcaac:0x618,_0x274cf7:0x746,_0x4d7126:0xb6,_0xa95107:0xf6},_0x243afc={_0x181a64:0x1b};let _0x46e390=_0x56488e(_0x676537._0x37e036,_0x676537._0x5e19bf,_0x676537._0xedf62f,_0x676537._0x54323d),_0x582e49=![],_0x34b9ef=![];function _0x56488e(_0x1127c3,_0x189b8a,_0x139e0a,_0x2f22e7){return _0x5885dd(_0x1127c3-0x9e,_0x139e0a,_0x139e0a-0x96,_0x189b8a- -0x53);}let _0x20a80b=[],_0x222b83=0x0,_0x36168c=![];const _0x45c486=()=>{_0x20a80b=[],_0x222b83=0x0;},_0x27097f=_0x52b4b3=>{const _0x4a4859={_0x4356f4:0x16d};_0x20a80b[_0x4a0f4b(0x63c,0x4a5,_0x1afcc9._0x33f7f1,0x467)](_0x52b4b3);function _0x4a0f4b(_0x44a748,_0x30d6a5,_0x301045,_0x35b0f6){return _0x56488e(_0x44a748-0x140,_0x301045-0x2e0,_0x30d6a5,_0x35b0f6-_0x243afc._0x181a64);}_0x222b83+=_0x52b4b3[_0x4a0f4b(0x7ce,0x6ba,_0x1afcc9._0x1bcaac,0x5ea)];function _0x30c399(_0x5945e3,_0x2839a6,_0xc6efa1,_0x52371a){return _0x56488e(_0x5945e3-_0x4a4859._0x4356f4,_0x2839a6- -0x18f,_0x5945e3,_0x52371a-0x88);}while(_0x222b83>MAX_PROGRESS_LINE_CHARS){const _0x2a5783=_0x20a80b[_0x4a0f4b(0x5eb,0x65c,_0x1afcc9._0x274cf7,0x795)]();if(_0x2a5783===void 0x0)break;_0x222b83-=_0x2a5783[_0x30c399(_0x1afcc9._0x4d7126,0x1a9,0x36,_0x1afcc9._0xa95107)];}},_0x3e63d2=_0x2251fd=>{const _0x50f900=_0x20a80b['join']('')+(_0x2251fd?'\x0a':'');return _0x45c486(),_0x50f900;},_0x5911c4=_0x2b01ec=>{const _0x1c653c={_0x5619e2:0x1b,_0x5ef8b9:0xdb};function _0x1b9ba3(_0x58988f,_0x56820d,_0x316e24,_0x438419){return _0x56488e(_0x58988f-_0x1c653c._0x5619e2,_0x438419-_0x1c653c._0x5ef8b9,_0x58988f,_0x438419-0xee);}if(_0x36168c)throw new Error('Terminal\x20output\x20normalizer\x20has\x20ended');let _0x15171b='';for(const _0x2dddde of _0x2b01ec){if(_0x46e390===_0x1b9ba3(0xc9,_0x155530._0x173ef0,_0x155530._0x508c1e,_0x155530._0x7fe043)){const _0x38ec53=_0x2dddde[_0x1c4a0f(0x3b2,_0x155530._0x19ab05,_0x155530._0x4ba832,0x19f)](0x0)??0x0;if(_0x38ec53>=0x40&&_0x38ec53<=0x7e)_0x46e390='text';continue;}if(_0x46e390===_0x1b9ba3(_0x155530._0x4d646b,0x21c,_0x155530._0x450e5b,0x3a6)||_0x46e390===_0x1b9ba3(_0x155530._0xfcc252,_0x155530._0x5f047f,_0x155530._0x23258d,0x207)){if(_0x582e49){_0x2dddde==='\x5c'?(_0x46e390=_0x1b9ba3(0x460,0x39e,0x231,_0x155530._0x37bc55),_0x582e49=![]):_0x582e49=_0x2dddde===ESC;continue;}if(_0x2dddde===ESC)_0x582e49=!![];else _0x46e390===_0x1c4a0f(0x4fd,_0x155530._0x29d74e,0x31a,0x47c)&&_0x2dddde===BEL&&(_0x46e390='text');continue;}if(_0x46e390==='escape'){if(_0x2dddde==='[')_0x46e390=_0x1c4a0f(_0x155530._0x357565,0x9d,_0x155530._0x2d5fb1,0x2be);else{if(_0x2dddde===']')_0x46e390=_0x1c4a0f(_0x155530._0x51f167,_0x155530._0x3a442f,_0x155530._0x4cf637,_0x155530._0x2f8c38),_0x582e49=![];else _0x2dddde==='P'||_0x2dddde==='_'||_0x2dddde==='^'?(_0x46e390='dcs',_0x582e49=![]):_0x46e390=_0x1c4a0f(_0x155530._0x35a253,_0x155530._0x4d2c4b,0x2c4,_0x155530._0x344ab6);}continue;}if(_0x34b9ef){_0x34b9ef=![];if(_0x2dddde==='\x0a'){_0x15171b+=_0x3e63d2(!![]);continue;}_0x45c486();}if(_0x2dddde===ESC)_0x46e390=_0x1b9ba3(0x6c,0xbc,0x161,_0x155530._0x3cad1d);else{if(_0x2dddde==='\x0d')_0x34b9ef=!![];else{if(_0x2dddde==='\x0a')_0x15171b+=_0x3e63d2(!![]);else{if(_0x2dddde==='\x08'){const _0x190521=_0x20a80b['pop']();if(_0x190521!==void 0x0)_0x222b83-=_0x190521[_0x1b9ba3(_0x155530._0x2cbe27,_0x155530._0x27dfd9,_0x155530._0x4e361e,0x413)];}else!isDiscardedTextControl(_0x2dddde)&&_0x27097f(_0x2dddde);}}}}function _0x1c4a0f(_0x1e36fc,_0x24781e,_0x3702af,_0xb1de63){return _0x56488e(_0x1e36fc-_0x1124b5._0x3497f8,_0x3702af-0x4f,_0x1e36fc,_0xb1de63-0xde);}return _0x15171b;};return{'write':_0x5911c4,'end'(){if(_0x36168c)return'';_0x36168c=!![],_0x34b9ef=![];function _0x57a680(_0x49c74e,_0x369163,_0x4923d8,_0x1ae1a5){return _0x56488e(_0x49c74e-_0x9014e8._0x27b756,_0x1ae1a5-0x1fa,_0x4923d8,_0x1ae1a5-0x51);}return _0x46e390=_0x57a680(_0x13bda7._0x58c45e,0x65b,_0x13bda7._0x563fad,0x46f),_0x582e49=![],_0x3e63d2(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0x7af1d4){const _0x1d1868={_0x4524cf:0x27b,_0x5a9774:0x1e1,_0x1b5600:0x105,_0x189bcd:0x131},_0x42c8aa={_0x29f851:0x28},_0x18c5f1={_0x463974:0x61,_0x4e391c:0x116};function _0x244aa7(_0x184d17,_0x53cc4c,_0x343666,_0x3c8bde){return _0x16ac01(_0x184d17-0xc1,_0x343666- -_0x18c5f1._0x463974,_0x343666-_0x18c5f1._0x4e391c,_0x53cc4c);}function _0x283673(_0x137715,_0x37fa4e,_0x30020f,_0x5b1ecc){return _0x5885dd(_0x137715-_0x42c8aa._0x29f851,_0x37fa4e,_0x30020f-0xa0,_0x137715-0x77);}super('Unable\x20to\x20terminate\x20background\x20processes;\x20session\x20ownership\x20was\x20preserved.'),this[_0x244aa7(0x93,0x104,_0x1d1868._0x4524cf,0x3f3)]=_0x7af1d4,this[_0x244aa7(_0x1d1868._0x5a9774,_0x1d1868._0x1b5600,0x1b6,0x7e)]=_0x244aa7(-0x53,0x2a7,0x93,_0x1d1868._0x189bcd);}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x53cbcf){const _0x460966={_0x38dd92:0x247,_0x55608c:0x218,_0x3d1bd2:0xc7,_0x328ebc:0x3e3,_0x31e286:0x224},_0x236c0d={_0x489b60:0xe},_0x90fb35={_0x21d8ca:0x15,_0x8370b9:0x170};function _0x5777a5(_0x180d7c,_0xe6e13e,_0x172a9f,_0x345bb5){return _0x16ac01(_0x180d7c-_0x90fb35._0x21d8ca,_0x172a9f-0x128,_0x172a9f-_0x90fb35._0x8370b9,_0x180d7c);}function _0x14566b(_0x5d32b2,_0x1df7cf,_0x33226b,_0x54729d){return _0x5885dd(_0x5d32b2-0xb6,_0x54729d,_0x33226b-0x187,_0x33226b-_0x236c0d._0x489b60);}return _0x53cbcf===_0x14566b(0x352,0x2a4,_0x460966._0x38dd92,0x18b)||_0x53cbcf===_0x14566b(0x529,0x23c,0x406,_0x460966._0x55608c)||_0x53cbcf===_0x5777a5(_0x460966._0x3d1bd2,_0x460966._0x328ebc,0x2da,_0x460966._0x31e286);}var BackgroundProcessRegistry=class{[_0x16ac01(0x68,0x153,0x4,0x234)]=new Map();[_0x5885dd(0x174,0x2b1,0x145,0x2c4)]=new Map();[_0x16ac01(0x1b,0x1b9,0x9e,0x249)];[_0x5885dd(0x4b8,0x3f4,0x4eb,0x4c1)];[_0x16ac01(-0x77,-0x3f,-0x163,0x1a3)];[_0x5885dd(0x414,0x2fe,0x2b7,0x347)];[_0x16ac01(0xcb,0x88,0x25b,0x114)];[_0x5885dd(0x46a,0xa7,0x404,0x2a6)]=0x0;constructor(_0x1da8c1={}){const _0x3e5939={_0x214f72:0x3da,_0x2bd782:0x3e2,_0x1f0ce4:0x47c,_0x539b71:0x28b,_0x426cf3:0x11c,_0x5499db:0x45b,_0x172ace:0x4d0,_0x64ab6:0x528,_0x2cf7eb:0x38c,_0x56b2e0:0x1ea,_0x2bc6e6:0x39c,_0x4a67d4:0x2e4,_0x356f17:0x1ce,_0x5cda21:0x1ea,_0x5e343d:0x1b0,_0x3d45f2:0x1a2,_0x1a6078:0x5e,_0x24860a:0xa8,_0x1c47a7:0xda,_0x2fc0c0:0x8c,_0x5942e3:0xb7,_0x323f3f:0x8e,_0x394fdd:0xca,_0x4fc5ea:0x55,_0x55df6d:0x1ac},_0x3100ae={_0x2e4fef:0x1c,_0x5a6e45:0x116,_0x13138f:0x1d},_0x22b1d7={_0x5cdf11:0x84};function _0x39d900(_0x1916c3,_0x3a3def,_0x53a5cd,_0x197287){return _0x5885dd(_0x1916c3-_0x22b1d7._0x5cdf11,_0x53a5cd,_0x53a5cd-0x13f,_0x3a3def- -0x66);}function _0x484372(_0x58d608,_0x4ef07b,_0x211091,_0x803e3c){return _0x16ac01(_0x58d608-_0x3100ae._0x2e4fef,_0x4ef07b- -_0x3100ae._0x5a6e45,_0x211091-_0x3100ae._0x13138f,_0x803e3c);}this[_0x39d900(_0x3e5939._0x214f72,_0x3e5939._0x2bd782,_0x3e5939._0x1f0ce4,_0x3e5939._0x539b71)]=_0x1da8c1['maxConcurrent']??0xa,this[_0x484372(0x235,_0x3e5939._0x426cf3,0x151,-0x8d)]=_0x1da8c1[_0x39d900(0x3fe,_0x3e5939._0x5499db,_0x3e5939._0x172ace,_0x3e5939._0x64ab6)]??0x40,this[_0x39d900(_0x3e5939._0x2cf7eb,_0x3e5939._0x56b2e0,_0x3e5939._0x2bc6e6,_0x3e5939._0x4a67d4)]=_0x1da8c1[_0x39d900(_0x3e5939._0x356f17,_0x3e5939._0x5cda21,0x3bc,_0x3e5939._0x5e343d)]??0x100000,this[_0x484372(-_0x3e5939._0x3d45f2,-_0x3e5939._0x1a6078,-0xf0,-0x238)]=_0x1da8c1[_0x484372(-0x47,-0x5e,0x58,-_0x3e5939._0x24860a)]??process['platform'],this[_0x39d900(0x386,0x2b1,_0x3e5939._0x1c47a7,0x2cd)]=_0x1da8c1[_0x484372(_0x3e5939._0x2fc0c0,-0x8e,-_0x3e5939._0x5942e3,-_0x3e5939._0x323f3f)]??createProcessTreeSignalAdapter({'platform':this[_0x484372(_0x3e5939._0x394fdd,-_0x3e5939._0x1a6078,-_0x3e5939._0x4fc5ea,-_0x3e5939._0x55df6d)]});}[_0x5885dd(0x54a,0x2ac,0x2ac,0x3ae)](){const _0x1f8ba6={_0x4d2136:0xd4,_0x2d2bb1:0x259,_0x23a033:0x1a7,_0x39c1f3:0x4cc,_0x29f34e:0x327,_0x555d74:0x127,_0x3e32bd:0x1e8,_0x1e5fa9:0x26c,_0xbded83:0x554,_0x5e9373:0x369,_0x5888d1:0x284,_0x4d3b2d:0x46e,_0x3256d5:0x557,_0xc227c8:0x43c,_0x16120d:0x124,_0x10bf7b:0x103,_0x2d54b4:0x5d,_0x84d00b:0x84,_0x30852b:0x1b9},_0x1523c5={_0x13eab3:0x34,_0x1c2b10:0x321},_0x3b7120={_0x3b8a35:0x161,_0x365819:0x2b5},_0x1ed06a=[...this[_0x3d4fdf(0xa,-0x9,0xc1,0x55)][_0x40e9e6(_0x1f8ba6._0x4d2136,0x231,0x1e9,0xfc)]()]['filter'](_0xb528a=>!_0xb528a[_0x3d4fdf(-0x8e,-0x8a,-0x16f,0xa6)]);function _0x40e9e6(_0x45a119,_0x3a03a1,_0x2c5334,_0x22204c){return _0x16ac01(_0x45a119-_0x3b7120._0x3b8a35,_0x3a03a1-_0x3b7120._0x365819,_0x2c5334-0x9f,_0x45a119);}function _0x3d4fdf(_0x13061f,_0x43267c,_0x4190d8,_0x66a69c){return _0x5885dd(_0x13061f-0x1c6,_0x66a69c,_0x4190d8-_0x1523c5._0x13eab3,_0x4190d8- -_0x1523c5._0x1c2b10);}if(_0x1ed06a[_0x3d4fdf(-0xb9,0xe2,0x6a,_0x1f8ba6._0x2d2bb1)]+this[_0x40e9e6(_0x1f8ba6._0x23a033,0x2ea,0x4b0,_0x1f8ba6._0x39c1f3)]['size']>=this[_0x3d4fdf(_0x1f8ba6._0x29f34e,0x3c,_0x1f8ba6._0x555d74,_0x1f8ba6._0x3e32bd)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x40e9e6(_0x1f8ba6._0x1e5fa9,0x46e,0x54a,_0x1f8ba6._0xbded83)]+_0x40e9e6(_0x1f8ba6._0x5e9373,_0x1f8ba6._0x5888d1,0xa1,0x76),{'running':this[_0x40e9e6(0x465,_0x1f8ba6._0x4d3b2d,_0x1f8ba6._0x3256d5,_0x1f8ba6._0xc227c8)]});const _0x46c8c0=Object[_0x3d4fdf(0x209,0x5e,_0x1f8ba6._0x16120d,_0x1f8ba6._0x10bf7b)]({'id':_0x53a132()});return this[_0x3d4fdf(0x50,-0x18a,-_0x1f8ba6._0x2d54b4,_0x1f8ba6._0x84d00b)][_0x40e9e6(_0x1f8ba6._0x30852b,_0x1f8ba6._0x1e5fa9,0x173,0x28d)](_0x46c8c0['id'],_0x46c8c0),_0x46c8c0;}[_0x16ac01(-0x285,-0xc1,-0x85,-0x17e)](_0x4bd56a){const _0x1d0f9d={_0x4ab492:0xb9,_0x3f9aad:0x216,_0x5a68e9:0x4e1,_0x15c0ea:0x44f,_0x4d6d5a:0x42f},_0x3cc453={_0x10825c:0x13a},_0x1e019e={_0x2172aa:0x99};function _0x13cc9b(_0x5dc70f,_0xd6726f,_0xd85ff7,_0x46712e){return _0x16ac01(_0x5dc70f-_0x1e019e._0x2172aa,_0x5dc70f- -0x36,_0xd85ff7-0x2f,_0xd6726f);}function _0x4b8a76(_0xde335c,_0x5e227e,_0x4b8dbe,_0x5d992b){return _0x16ac01(_0xde335c-_0x3cc453._0x10825c,_0xde335c-0x4ac,_0x4b8dbe-0x149,_0x5e227e);}this[_0x13cc9b(-0x1,0x1e9,-_0x1d0f9d._0x4ab492,-_0x1d0f9d._0x3f9aad)]['get'](_0x4bd56a['id'])===_0x4bd56a&&this[_0x4b8a76(_0x1d0f9d._0x5a68e9,0x464,0x363,0x457)][_0x4b8a76(_0x1d0f9d._0x15c0ea,0x3d9,0x2f0,_0x1d0f9d._0x4d6d5a)](_0x4bd56a['id']);}[_0x5885dd(0x427,0x3ef,0x56e,0x53a)](_0x307af7,_0x229998){const _0x1dc7e7={_0x5ec5ba:0x5aa,_0x119209:0x4cf,_0x3632b6:0x6b3,_0x8e579e:0x6ef,_0x387343:0x678,_0x35e958:0x556,_0x53524d:0x554,_0x1627c2:0x493,_0x48a3ea:0x4a3,_0x3ff21d:0x700,_0x717212:0x913,_0x2881df:0x74e,_0x20e87e:0x559,_0x536cd7:0x6d6,_0x805b68:0x47a,_0x3c7391:0x3f1,_0x522a4c:0x5be,_0x194f0c:0x551,_0x5312ec:0x43c,_0x2f1422:0x549,_0x22219d:0x635,_0x4ea0e4:0x4f4,_0x3900f8:0x5af,_0x5daa39:0x690,_0x26d26e:0x6d7,_0x2829f0:0x587,_0x19e31f:0x8e1,_0x25225c:0x632,_0x32483a:0x321,_0x2d015e:0x713,_0x291fc8:0x4b3,_0x456d4d:0x5e9,_0x4d6570:0x5b9,_0x2e7480:0x51e,_0xf76c77:0x54a,_0x2657b4:0x5b5,_0x4b7ddb:0x4ef,_0x19a128:0x58f,_0x8ff590:0x52d,_0x1688bb:0x730,_0x3f7557:0x6d5,_0x3e1c3c:0x7cb,_0x4d96e3:0x50f,_0x5ceb75:0x641,_0x47afc1:0x65f,_0x4f3a6b:0x66b,_0x2a40ab:0x82d,_0x44b345:0x6c6,_0x4a2205:0x6d7,_0x5935f2:0x642,_0x2f09a6:0x5ad,_0x52efce:0x5d7,_0x61d401:0x638,_0x15a410:0x6f7},_0x4fceff={_0x2a456d:0x575},_0x20f5c0={_0x5377d0:0x1a9,_0x36b3b1:0x2f5},_0x483eb5={_0x33dd6e:0x38,_0x3a1c8d:0x13d,_0x2a2f9f:0xa5,_0x565d64:0x269,_0x2021cc:0x1f0,_0x144a4c:0xec,_0x499f7f:0xbb,_0x37e4ea:0x2c9,_0x29d747:0x37c,_0x3542d7:0x13,_0x2f2351:0x7c,_0x44c129:0xb3,_0x28a395:0x481,_0x2ad0f9:0x192,_0x2c69c9:0x2c7,_0x559c05:0x65,_0x5bf3c6:0x77f},_0x455f5b={_0x3d7583:0x602,_0x488642:0x53e,_0x5654af:0x407,_0x363a38:0x4b2,_0x369960:0x4dc,_0x59c331:0x70f},_0x4ea5dc={_0x59683e:0x1ad,_0xd4c52f:0x81},_0x5ae3ec={_0x495a66:0x2e0,_0x77f13d:0x1eb,_0x10dd14:0x2f2},_0x276a35={_0xe9d77:0x369,_0x5c810f:0x97},_0x2f7444={_0x22d082:0x96,_0x25a377:0x78,_0x2e7bdd:0xdc,_0x306828:0x642,_0x3367b4:0x374,_0x45ef71:0x543,_0x42ab43:0x34c},_0x4223fe={_0x2343d5:0x1e1,_0x525d85:0x23e,_0x6364ff:0x229,_0x1cc54c:0x92},_0x2553b6={_0x5416d4:0x11f,_0x20ee70:0x144};if(this[_0x11ee25(_0x1dc7e7._0x5ec5ba,_0x1dc7e7._0x119209,_0x1dc7e7._0x3632b6,_0x1dc7e7._0x8e579e)][_0x11ee25(0x84a,0x672,_0x1dc7e7._0x387343,0x71f)](_0x307af7['id'])!==_0x307af7)throw new ToolExecutionError('Background\x20process\x20reservation\x20is\x20missing\x20or\x20already\x20consumed',{'reservationId':_0x307af7['id']});this[_0x11ee25(0x5aa,_0x1dc7e7._0x35e958,0x5fa,_0x1dc7e7._0x53524d)][_0x11ee25(0x518,_0x1dc7e7._0x1627c2,0x633,_0x1dc7e7._0x48a3ea)](_0x307af7['id']);let _0x1c493a;const _0xba27f=new Promise(_0xc2ba41=>{_0x1c493a=_0xc2ba41;}),_0x2d2133=_0x493f45(_0x1dc7e7._0x3ff21d,0x5a0,0x84c,_0x1dc7e7._0x717212)+ ++this['counter']+'-'+_0x53a132()['slice'](0x0,0x8),_0x36f884={'shellId':_0x2d2133,'command':_0x229998[_0x493f45(_0x1dc7e7._0x2881df,_0x1dc7e7._0x20e87e,_0x1dc7e7._0x536cd7,0x876)],'cwd':_0x229998[_0x11ee25(_0x1dc7e7._0x805b68,0x338,_0x1dc7e7._0x3c7391,0x3e9)],'pid':_0x229998[_0x493f45(0x51e,_0x1dc7e7._0x522a4c,0x346,0x4fb)][_0x11ee25(0x5cc,0x659,0x5c9,0x6a6)],'processGroupId':_0x229998[_0x11ee25(_0x1dc7e7._0x194f0c,_0x1dc7e7._0x5312ec,0x4cf,_0x1dc7e7._0x2f1422)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x493f45(0x7c7,0x981,0x832,_0x1dc7e7._0x22219d)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x229998[_0x493f45(0x51e,_0x1dc7e7._0x4ea0e4,0x653,_0x1dc7e7._0x3900f8)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder('utf8'),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x229998[_0x11ee25(0x816,0x67d,_0x1dc7e7._0x5daa39,0x94c)],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0xba27f,'resolveTerminal':_0x1c493a,'terminationSettled':![]};this[_0x493f45(_0x1dc7e7._0x26d26e,_0x1dc7e7._0x2829f0,0x8ba,_0x1dc7e7._0x19e31f)][_0x11ee25(0x52c,0x6b6,_0x1dc7e7._0x25225c,_0x1dc7e7._0x32483a)](_0x2d2133,_0x36f884);try{_0x229998[_0x493f45(0x51e,_0x1dc7e7._0x2d015e,_0x1dc7e7._0x2d015e,0x36f)][_0x493f45(0x616,0x7ef,_0x1dc7e7._0x291fc8,0x57b)]?.['on'](_0x493f45(0x5c4,_0x1dc7e7._0x456d4d,_0x1dc7e7._0x4d6570,0x3c8),_0x4b62ca=>{const _0x3a1feb={_0x49b85f:0x449,_0x652264:0x18e,_0x3c9b1c:0x66};function _0x9bdaa6(_0x20d067,_0x41ee11,_0x31f2cf,_0x192fcb){return _0x11ee25(_0x20d067- -_0x3a1feb._0x49b85f,_0x41ee11-_0x3a1feb._0x652264,_0x41ee11,_0x192fcb-_0x3a1feb._0x3c9b1c);}function _0x7309df(_0x57c286,_0x4a5fe7,_0x307c91,_0x3cb526){return _0x11ee25(_0x57c286- -0x64f,_0x4a5fe7-_0x2553b6._0x5416d4,_0x3cb526,_0x3cb526-_0x2553b6._0x20ee70);}this[_0x9bdaa6(0xe8,0x1c9,0x29b,0x174)](_0x36f884,_0x36f884[_0x7309df(-_0x4223fe._0x2343d5,-_0x4223fe._0x525d85,-0x227,-0x1b5)],_0x36f884[_0x9bdaa6(_0x4223fe._0x6364ff,_0x4223fe._0x1cc54c,0xd7,0xbd)],_0x4b62ca);}),_0x229998[_0x493f45(_0x1dc7e7._0x2e7480,_0x1dc7e7._0xf76c77,0x478,0x522)]['stderr']?.['on'](_0x11ee25(_0x1dc7e7._0x2657b4,0x3fa,_0x1dc7e7._0x4b7ddb,_0x1dc7e7._0x19a128),_0xc9c6ec=>{function _0x297f84(_0x5ea32,_0x19fd84,_0x1a2d28,_0x348b68){return _0x493f45(_0x19fd84- -0x1c,_0x19fd84-0x1ef,_0x348b68,_0x348b68-0x38);}function _0x768488(_0x4774f5,_0x49a361,_0xdc38e1,_0x554d90){return _0x11ee25(_0x49a361- -0x4b9,_0x49a361-0x4a,_0xdc38e1,_0x554d90-0xb3);}this[_0x768488(-_0x2f7444._0x22d082,_0x2f7444._0x25a377,0x23b,-_0x2f7444._0x2e7bdd)](_0x36f884,_0x36f884[_0x297f84(0x80b,0x63a,0x687,_0x2f7444._0x306828)],_0x36f884[_0x297f84(_0x2f7444._0x3367b4,_0x2f7444._0x45ef71,_0x2f7444._0x42ab43,0x63a)],_0xc9c6ec);}),_0x229998['child'][_0x493f45(0x650,0x73d,0x52d,_0x1dc7e7._0x8ff590)](_0x493f45(_0x1dc7e7._0x1688bb,0x7ef,_0x1dc7e7._0x3f7557,_0x1dc7e7._0x3e1c3c),(_0x288fb5,_0x6aeff2)=>{_0x36f884['processExited']=!![],_0x36f884['exitCode']=_0x288fb5;function _0x4bcae0(_0x5515c7,_0x32e2c4,_0x2e3461,_0x39cb47){return _0x11ee25(_0x32e2c4- -_0x276a35._0xe9d77,_0x32e2c4-_0x276a35._0x5c810f,_0x5515c7,_0x39cb47-0xb9);}_0x36f884[_0x4bcae0(_0x5ae3ec._0x495a66,_0x5ae3ec._0x77f13d,_0x5ae3ec._0x10dd14,0x38d)]=_0x6aeff2;}),_0x229998['child']['once']('error',_0x1f58a4=>{const _0x4c5f9c={_0x5ac783:0x131};function _0x278ce9(_0x3bede2,_0x301ca8,_0x3235e2,_0x4d5617){return _0x493f45(_0x301ca8-0x74,_0x301ca8-_0x4ea5dc._0x59683e,_0x3bede2,_0x4d5617-_0x4ea5dc._0xd4c52f);}function _0x421b42(_0x1eae57,_0x57205b,_0x72de44,_0x37dd84){return _0x493f45(_0x37dd84- -0xfb,_0x57205b-_0x4c5f9c._0x5ac783,_0x1eae57,_0x37dd84-0xf8);}_0x36f884[_0x278ce9(_0x455f5b._0x3d7583,0x7aa,0x705,0x820)]=_0x1f58a4['message'],_0x36f884[_0x421b42(_0x455f5b._0x488642,_0x455f5b._0x5654af,_0x455f5b._0x363a38,0x3de)]=_0x421b42(0x770,_0x455f5b._0x369960,_0x455f5b._0x59c331,0x63b);}),_0x229998[_0x11ee25(_0x1dc7e7._0x4d96e3,0x390,0x322,0x4f4)][_0x11ee25(_0x1dc7e7._0x5ceb75,0x6a9,_0x1dc7e7._0x47afc1,0x61f)](_0x493f45(0x694,_0x1dc7e7._0x4f3a6b,_0x1dc7e7._0x2a40ab,_0x1dc7e7._0x44b345),(_0x569755,_0xa157da)=>{_0x36f884['exitCode']=_0x569755;function _0x49e516(_0x56ca98,_0x3aff75,_0x964ce2,_0x5a9a8a){return _0x11ee25(_0x5a9a8a- -0x417,_0x3aff75-0xe3,_0x3aff75,_0x5a9a8a-0x1e0);}function _0x4a10b3(_0x48eb74,_0x49f213,_0x41dc12,_0x431327){return _0x11ee25(_0x41dc12- -0x57,_0x49f213-0x1a8,_0x48eb74,_0x431327-0x129);}_0x36f884[_0x49e516(0x19d,0x257,_0x483eb5._0x33dd6e,_0x483eb5._0x3a1c8d)]=_0xa157da,_0x36f884[_0x49e516(-_0x483eb5._0x2a2f9f,_0x483eb5._0x565d64,0xec,0xf8)]=null,_0x36f884[_0x49e516(_0x483eb5._0x2021cc,-_0x483eb5._0x144a4c,_0x483eb5._0x499f7f,0xb3)]!==_0x49e516(_0x483eb5._0x37e4ea,_0x483eb5._0x29d747,0x1b5,0x310)&&(_0x36f884[_0x49e516(-_0x483eb5._0x3542d7,-_0x483eb5._0x2f2351,-0x25,_0x483eb5._0x44c129)]=_0x36f884[_0x49e516(_0x483eb5._0x28a395,0x3a1,0x478,0x315)]?_0x49e516(0x4b0,0x157,_0x483eb5._0x2ad0f9,_0x483eb5._0x2c69c9):_0x49e516(0x84,-_0x483eb5._0x559c05,-0x7a,0x108)),this[_0x4a10b3(0x628,0x94e,_0x483eb5._0x5bf3c6,0x744)](_0x36f884);});}catch(_0x34a905){this[_0x493f45(_0x1dc7e7._0x4a2205,0x73b,0x625,_0x1dc7e7._0x5935f2)]['delete'](_0x2d2133);throw _0x34a905;}this[_0x11ee25(_0x1dc7e7._0x2f09a6,_0x1dc7e7._0x52efce,_0x1dc7e7._0x61d401,_0x1dc7e7._0x15a410)]();function _0x493f45(_0x15747b,_0x248e73,_0x3dccef,_0x360006){return _0x5885dd(_0x15747b-0x1bf,_0x3dccef,_0x3dccef-_0x20f5c0._0x5377d0,_0x15747b-_0x20f5c0._0x36b3b1);}function _0x11ee25(_0x55c805,_0x6bb070,_0x1fc2c8,_0x5329db){return _0x16ac01(_0x55c805-0x6b,_0x55c805-_0x4fceff._0x2a456d,_0x1fc2c8-0x53,_0x1fc2c8);}return _0x36f884;}[_0x5885dd(0x430,0x338,0x64b,0x462)](_0x49071e){const _0x2e2423={_0x287cce:0x4bc,_0x4e28aa:0x522,_0x5171f4:0x295,_0x15f440:0x344,_0xc627a0:0x414,_0x86f51b:0x182,_0x4549ba:0x142,_0xfbe1d8:0x47,_0x154c43:0xf0,_0x4261e0:0xaa,_0x3c0623:0x33f,_0x4cbc0e:0x523,_0x66a75c:0x456},_0x9d6ca4={_0x92186b:0x1da,_0x2ef25a:0x99,_0x11d5f9:0x167},_0x35c08e={_0x5ddb8f:0x9a,_0x1134d4:0x171};function _0x38bd70(_0x52989d,_0x4c721a,_0x2b6b76,_0x5549af){return _0x5885dd(_0x52989d-_0x35c08e._0x5ddb8f,_0x4c721a,_0x2b6b76-0x47,_0x52989d-_0x35c08e._0x1134d4);}const _0x487c3e=this[_0x38bd70(0x51f,_0x2e2423._0x287cce,0x681,_0x2e2423._0x4e28aa)]();function _0x101fc0(_0x37ba83,_0x55bbfa,_0x38a1d2,_0x47b487){return _0x16ac01(_0x37ba83-_0x9d6ca4._0x92186b,_0x55bbfa-_0x9d6ca4._0x2ef25a,_0x38a1d2-_0x9d6ca4._0x11d5f9,_0x38a1d2);}try{return this[_0x101fc0(_0x2e2423._0x5171f4,_0x2e2423._0x15f440,_0x2e2423._0xc627a0,_0x2e2423._0x86f51b)](_0x487c3e,{..._0x49071e,...this[_0x101fc0(_0x2e2423._0x4549ba,0x151,0x191,0x173)]==='win32'?{}:{'processGroupId':_0x49071e['child'][_0x101fc0(_0x2e2423._0xfbe1d8,_0x2e2423._0x154c43,-0x111,-_0x2e2423._0x4261e0)]}});}catch(_0x3d2453){this[_0x38bd70(_0x2e2423._0x3c0623,_0x2e2423._0x4cbc0e,_0x2e2423._0x66a75c,0x24e)](_0x487c3e);throw _0x3d2453;}}['read'](_0x1890a4,_0x2ebcf1){const _0x1cbce7={_0x12fe13:0x1ef,_0x2e1f4e:0x3dc,_0x575a4a:0x2b4,_0x438800:0x160,_0x11cd6b:0x53,_0x4c8d8e:0x1fd,_0x3189cb:0x515,_0x4271a0:0x3e8,_0x3e48bf:0x480,_0x191008:0x715,_0x32f346:0x76c,_0x379699:0x252,_0x13d6fc:0x3d,_0x46ccd4:0x90,_0x19535b:0x63,_0x340e78:0x2f6,_0x36f07a:0x1e8,_0x10f3f3:0x6b3,_0x54bb15:0x4dc,_0x22837b:0x30a,_0x448c55:0x1d7,_0x581eee:0x21a,_0x40d0b4:0x1c,_0x3bb1e5:0x34,_0x1a9f0c:0x458,_0x57a49c:0x11e,_0x916ca0:0x25c,_0x2b6b09:0x220,_0x258a7f:0x288,_0x10ca78:0x28c,_0x13cbf0:0x191,_0x46de3d:0x16d,_0x2502ba:0x95,_0x5b66c8:0x26a,_0x8c4b5d:0x1ad,_0x40837a:0x1a2,_0x21ae28:0x1b9,_0x113531:0x119,_0x2b42dd:0x35e,_0x417058:0x4a5,_0x27f872:0x5c,_0x4b40e4:0x179,_0x286374:0xcb,_0x4ad0aa:0x449,_0x371e62:0x2b9,_0x12c161:0x14c,_0x36e2c2:0x4c3},_0x582956={_0x185044:0x14d,_0x364ce3:0x138},_0x328d36=this[_0x36efec(0x25a,0x273,_0x1cbce7._0x12fe13,0x3ba)][_0x36efec(0x3dc,0x4de,_0x1cbce7._0x2e1f4e,_0x1cbce7._0x575a4a)](_0x1890a4);if(!_0x328d36)throw new ToolExecutionError(_0x36efec(_0x1cbce7._0x438800,-_0x1cbce7._0x11cd6b,_0x1cbce7._0x4c8d8e,0x25a)+_0x1890a4,{'shellId':_0x1890a4});const _0x1c56ba=_0x328d36[_0x1a2406(0x1c0,0x364,_0x1cbce7._0x3189cb,_0x1cbce7._0x4271a0)][_0x1a2406(_0x1cbce7._0x3e48bf,0x56e,_0x1cbce7._0x191008,_0x1cbce7._0x32f346)](''),_0x5b8665=Math[_0x36efec(0x95,0x1ba,_0x1cbce7._0x379699,-_0x1cbce7._0x13d6fc)](_0x328d36['readCursor'],_0x328d36[_0x36efec(0xd3,-_0x1cbce7._0x46ccd4,0x1b1,-_0x1cbce7._0x19535b)]),_0x184cfc=Math[_0x1a2406(0x4a3,_0x1cbce7._0x340e78,_0x1cbce7._0x36f07a,0x441)](0x0,_0x328d36['totalDropped']-_0x328d36[_0x1a2406(_0x1cbce7._0x10f3f3,_0x1cbce7._0x54bb15,0x691,_0x1cbce7._0x22837b)]),_0x577bc8=_0x1c56ba[_0x36efec(0x9,0x183,_0x1cbce7._0x448c55,_0x1cbce7._0x581eee)](_0x5b8665-_0x328d36[_0x1a2406(0x1bb,0x334,0x15c,0x4ee)]);let _0x155b85;const _0x1c91c7=_0x2ebcf1?.[_0x36efec(0x1c5,0x18f,-_0x1cbce7._0x40d0b4,-_0x1cbce7._0x3bb1e5)];if(!_0x1c91c7)_0x155b85=_0x577bc8,_0x328d36[_0x1a2406(0x2e5,0x4dc,0x55a,_0x1cbce7._0x1a9f0c)]=_0x328d36[_0x1a2406(0x3ba,0x260,0xb4,_0x1cbce7._0x57a49c)];else{let _0x2b7c61;try{_0x2b7c61=new RegExp(_0x1c91c7);}catch(_0x27f6ce){throw new ToolExecutionError(_0x36efec(_0x1cbce7._0x916ca0,0x39d,0x326,0xb8)+(_0x27f6ce instanceof Error?_0x27f6ce[_0x36efec(0x195,_0x1cbce7._0x2b6b09,0x146,0xd7)]:String(_0x27f6ce)),{'shellId':_0x1890a4,'regex':_0x1c91c7});}let _0x390146=_0x577bc8;if(!_0x328d36[_0x1a2406(_0x1cbce7._0x258a7f,0x28b,0x1e7,_0x1cbce7._0x10ca78)]){const _0xaa0222=_0x577bc8[_0x36efec(_0x1cbce7._0x13cbf0,0x175,_0x1cbce7._0x46de3d,0x289)]('\x0a');_0x390146=_0xaa0222>=0x0?_0x577bc8[_0x1a2406(_0x1cbce7._0x2502ba,_0x1cbce7._0x5b66c8,0x102,0x136)](0x0,_0xaa0222+0x1):'';}_0x155b85=_0x390146['split']('\x0a')[_0x1a2406(_0x1cbce7._0x8c4b5d,0x2af,_0x1cbce7._0x40837a,_0x1cbce7._0x21ae28)](_0x3ce75c=>_0x2b7c61[_0x1a2406(0x40d,0x510,0x379,0x6bd)](_0x3ce75c))[_0x36efec(0x30d,0x51b,_0x1cbce7._0x113531,0x2fd)]('\x0a'),_0x328d36['readCursor']=_0x5b8665+_0x390146['length'];}function _0x36efec(_0x1ca156,_0x4e3f0f,_0x23816d,_0x19c3ff){return _0x16ac01(_0x1ca156-0x1c0,_0x1ca156-0x107,_0x23816d-0x23,_0x23816d);}function _0x1a2406(_0x1c6d84,_0x5ee384,_0x1b1d85,_0x386c2b){return _0x5885dd(_0x1c6d84-_0x582956._0x185044,_0x386c2b,_0x1b1d85-_0x582956._0x364ce3,_0x5ee384-0xd9);}return{'output':(_0x184cfc>0x0?_0x1a2406(0x510,_0x1cbce7._0x2b42dd,_0x1cbce7._0x417058,0x43c)+_0x184cfc+'\x20chars\x20dropped]\x0a':'')+_0x155b85,'status':_0x328d36[_0x36efec(_0x1cbce7._0x27f872,_0x1cbce7._0x4b40e4,-0x72,-_0x1cbce7._0x286374)],'exitCode':_0x328d36[_0x1a2406(0x636,0x582,0x667,_0x1cbce7._0x4ad0aa)],'signal':_0x328d36['signal'],'error':_0x328d36[_0x36efec(_0x1cbce7._0x371e62,_0x1cbce7._0x12c161,_0x1cbce7._0x36e2c2,0x158)],'truncated':_0x184cfc>0x0};}[_0x5885dd(0x46c,0x31b,0x2ce,0x346)](){const _0xb876a7={_0x354cd2:0x8b1,_0x44fefc:0x656,_0x4f2ed9:0x567,_0x3515de:0x6f1},_0x401925={_0x4b4645:0x1cf,_0x179108:0x427,_0x5762f3:0xcd};function _0x5bb1ac(_0x10a2ec,_0x185d88,_0x178533,_0x45b00f){return _0x16ac01(_0x10a2ec-0xf4,_0x185d88-0x5eb,_0x178533-0x1a5,_0x178533);}function _0x14f10c(_0xa5b1ef,_0x5634e6,_0x288168,_0x52ba56){return _0x16ac01(_0xa5b1ef-_0x401925._0x4b4645,_0x52ba56-_0x401925._0x179108,_0x288168-_0x401925._0x5762f3,_0x288168);}return[...this[_0x5bb1ac(_0xb876a7._0x354cd2,0x73e,0x7fd,0x667)][_0x5bb1ac(_0xb876a7._0x44fefc,_0xb876a7._0x4f2ed9,_0xb876a7._0x3515de,0x3f4)]()];}[_0x5885dd(0x325,0x411,0x6fa,0x4ea)](_0x39e33c){const _0x5495d5={_0x299794:0x455,_0x3d24bd:0x26d,_0x38638b:0x81,_0xea2590:0x27a,_0x4260fd:0x489,_0x325c0c:0x285,_0x2037be:0x158,_0x578b23:0x161,_0xf7e026:0x257,_0x815e0e:0x133,_0x5dc26e:0x272,_0x4a6dd9:0x702,_0x1f60eb:0x4f6,_0x61295d:0x433,_0x24eafc:0x2bf,_0xe63a8:0x602,_0x43e3f9:0x2c3,_0x4f8bfb:0x4cc,_0x4ce07c:0x32b,_0xe5981a:0x26f,_0x3e1f1d:0x539,_0x40348f:0x326,_0x296365:0x59a,_0x216b63:0x65b,_0x1fff70:0x26d,_0x40d5f4:0x2d4,_0x4262bc:0xcb,_0x1acf6f:0x24a,_0x1b8c64:0x129,_0x929bc8:0x5be,_0x36a42c:0x120},_0x91e553={_0xa1b3a2:0x864},_0x12f94a={_0x125558:0x235},_0x5437b9={_0x8739c5:0x102,_0x2434ac:0x31a},_0x336792={_0x46d6e0:0x40,_0x58cfcf:0x73},_0x30730b=this[_0x1dafa7(_0x5495d5._0x299794,0x35a,0x4eb,0x39f)]['get'](_0x39e33c);if(!_0x30730b)throw new ToolExecutionError('No\x20background\x20process\x20with\x20id\x20'+_0x39e33c,{'shellId':_0x39e33c});if(_0x30730b[_0x1dafa7(_0x5495d5._0x3d24bd,_0x5495d5._0x38638b,_0x5495d5._0xea2590,0x24e)]&&!_0x30730b[_0x444318(_0x5495d5._0x4260fd,0x397,0x29d,0x347)])return _0x30730b[_0x444318(0x3bb,0x278,0x2e4,_0x5495d5._0x325c0c)];if(_0x30730b[_0x1dafa7(0x225,0x34b,_0x5495d5._0x2037be,_0x5495d5._0x578b23)]&&isTerminalStatus(_0x30730b[_0x1dafa7(_0x5495d5._0xf7e026,_0x5495d5._0x815e0e,0x3d7,_0x5495d5._0x5dc26e)]))return Promise[_0x1dafa7(0x56d,0x74d,0x409,_0x5495d5._0x4a6dd9)](this['result'](_0x30730b,_0x444318(0x396,_0x5495d5._0x1f60eb,0x4ae,0x365)));function _0x1dafa7(_0x288fb8,_0x38a4c3,_0x4449e,_0x405501){return _0x5885dd(_0x288fb8-0x44,_0x38a4c3,_0x4449e-_0x336792._0x46d6e0,_0x288fb8-_0x336792._0x58cfcf);}if(_0x30730b[_0x1dafa7(0x257,_0x5495d5._0x61295d,_0x5495d5._0x24eafc,0x3e1)]!==_0x444318(_0x5495d5._0xe63a8,0x4f9,_0x5495d5._0x43e3f9,_0x5495d5._0x4f8bfb))_0x30730b[_0x444318(_0x5495d5._0x4ce07c,0x28d,0x441,_0x5495d5._0xe5981a)]=_0x1dafa7(_0x5495d5._0x3e1f1d,_0x5495d5._0x40348f,0x5b8,_0x5495d5._0x296365);function _0x444318(_0x29164e,_0x27fd46,_0x4f7084,_0x514fca){return _0x16ac01(_0x29164e-_0x5437b9._0x8739c5,_0x514fca-_0x5437b9._0x2434ac,_0x4f7084-0xa7,_0x27fd46);}return _0x30730b[_0x444318(_0x5495d5._0x216b63,0x669,0x44b,0x4d1)]=!![],_0x30730b['terminationSettled']=![],_0x30730b[_0x1dafa7(_0x5495d5._0x1fff70,_0x5495d5._0x40d5f4,_0x5495d5._0x4262bc,0x366)]=this[_0x1dafa7(_0x5495d5._0x1acf6f,0x2f0,_0x5495d5._0x1b8c64,0x2aa)](_0x30730b),void _0x30730b['terminationPromise'][_0x444318(0x6d9,0x57b,0x74c,_0x5495d5._0x929bc8)](()=>{const _0x267610={_0xd6d8a5:0xf2,_0x1d555f:0xd0,_0x5c818b:0x112};function _0xa74771(_0x3df07b,_0x26e686,_0x2884c8,_0x131cdc){return _0x444318(_0x3df07b-_0x267610._0xd6d8a5,_0x3df07b,_0x2884c8-_0x267610._0x1d555f,_0x26e686- -_0x267610._0x5c818b);}_0x30730b[_0xa74771(0x88,_0x12f94a._0x125558,0x44a,0x3a)]=!![];},()=>{const _0x22e324={_0x2815d6:0x60};function _0x8cbbcc(_0x42f48a,_0x2de6a0,_0x4328db,_0x2ba6dd){return _0x1dafa7(_0x2ba6dd-0x383,_0x2de6a0,_0x4328db-_0x22e324._0x2815d6,_0x2ba6dd-0x69);}_0x30730b[_0x8cbbcc(_0x91e553._0xa1b3a2,0x7f4,0x72b,0x6b2)]=!![];}),_0x30730b[_0x1dafa7(_0x5495d5._0x3d24bd,0x3f7,_0x5495d5._0x36a42c,0x2cd)];}['closeAll'](){const _0xb5c1cb={_0x5d3b79:0x4d6,_0x3750f6:0x719,_0x44a8ca:0x8de,_0x1386e5:0x4ba,_0x45ccdd:0x524},_0x57f6ce={_0x4ff41b:0x19f,_0x4a6f24:0x665,_0x3817a0:0xda},_0x55bad3={_0x5e590e:0x2b9};function _0x1552ab(_0x32e32e,_0x449697,_0x3ddbce,_0x177d39){return _0x16ac01(_0x32e32e-0x3,_0x177d39-_0x55bad3._0x5e590e,_0x3ddbce-0x1e6,_0x449697);}function _0x5d6a58(_0x49455e,_0x40ea01,_0x2c7637,_0x215c13){return _0x16ac01(_0x49455e-_0x57f6ce._0x4ff41b,_0x215c13-_0x57f6ce._0x4a6f24,_0x2c7637-_0x57f6ce._0x3817a0,_0x40ea01);}return Promise[_0x5d6a58(_0xb5c1cb._0x5d3b79,_0xb5c1cb._0x3750f6,0x63c,0x642)]([...this[_0x5d6a58(0x5f3,_0xb5c1cb._0x44a8ca,0x64c,0x7b8)][_0x5d6a58(0x432,_0xb5c1cb._0x1386e5,_0xb5c1cb._0x45ccdd,0x5e1)]()]['map'](_0x4f7ce9=>this['kill'](_0x4f7ce9[_0x5d6a58(0x8d7,0x819,0x5e9,0x7c9)])));}async[_0x5885dd(0x3b5,0x623,0x356,0x4b3)](){const _0x50664={_0x498d34:0x31e,_0x2c021a:0x394,_0x2fff40:0x2b9,_0x2c2a36:0x42e,_0x3aeff3:0x279,_0x3292ab:0x3c3,_0x10c8e2:0x1b4,_0x16b0bf:0x2a9,_0x4c6641:0x2ce,_0x34aecf:0x14b},_0x5cf18f=await this[_0x4b079c(_0x50664._0x498d34,0x1ca,0xb9,_0x50664._0x2c021a)]();if(_0x5cf18f[_0x4b079c(_0x50664._0x2fff40,_0x50664._0x2c2a36,_0x50664._0x3aeff3,0x4da)](_0x5b59c2=>_0x5b59c2[_0x4b079c(0x3ee,0x3cf,0x5b6,0x34a)]==='failed'))throw new BackgroundProcessCleanupError(_0x5cf18f);function _0x4b079c(_0x5376a0,_0x208092,_0x4630d9,_0x2cfdde){return _0x5885dd(_0x5376a0-0x10,_0x5376a0,_0x4630d9-0x17b,_0x208092-0x4d);}this[_0x4b079c(_0x50664._0x3292ab,0x42f,0x48f,0x4f0)]['clear'](),this[_0x4b079c(_0x50664._0x10c8e2,0x311,_0x50664._0x16b0bf,0x201)][_0x4b079c(_0x50664._0x4c6641,0x33b,0x474,_0x50664._0x34aecf)]();function _0x70e5e8(_0x78872a,_0x1d2aab,_0x14f2fa,_0x44633a){return _0x5885dd(_0x78872a-0x1a9,_0x44633a,_0x14f2fa-0x1e,_0x78872a-0x20c);}return _0x5cf18f;}async[_0x5885dd(0x199,0x146,0x2a4,0x1d7)](_0x5cce2b){const _0x412db9={_0x10fb7e:0x3cc,_0x41668d:0x46e,_0x105191:0x589,_0x2f6621:0x87,_0x40e419:0x93,_0x11637d:0xf4,_0x1165ac:0x142,_0x356212:0x3ab,_0x31bbee:0x49a,_0x541d0:0x1d1,_0x19ad26:0x4ae,_0x16ece0:0x38,_0x106ba3:0x2de,_0x52f484:0x1a,_0x38794c:0x13b,_0x559f72:0x2b1,_0x4cf9e9:0x3d2,_0x318d6d:0xe0,_0x3007c3:0xa7,_0x46422f:0xf4,_0x1706e5:0x6a6,_0x4e907e:0x19f,_0x5d7e08:0x2cc,_0x29aa6e:0x459,_0x257a66:0x495,_0x414b3f:0x35c,_0x5b0533:0x49c,_0x1b3def:0x23c,_0x2491c7:0x190,_0x5f4a7f:0x1c7,_0x17276d:0x3d5,_0x41bebe:0x1e9,_0x20d4ec:0x197,_0x5b2006:0x354,_0x893b3f:0x5be,_0x415769:0x733},_0x4b9974={_0x44b16e:0x20,_0x883ba7:0x4c6},_0x1a0244={_0x57f849:0x24b};function _0x5673c8(_0x3b8993,_0x3a7052,_0x5a5d12,_0x48467d){return _0x5885dd(_0x3b8993-0xcb,_0x48467d,_0x5a5d12-0x1c9,_0x3a7052- -_0x1a0244._0x57f849);}_0x5cce2b[_0xd14a31(_0x412db9._0x10fb7e,0x38e,_0x412db9._0x41668d,_0x412db9._0x105191)]=!![];const _0x522827=await this[_0xd14a31(0x54f,0x52a,0x4ff,0x54e)][_0x5673c8(-0x1ef,0x23,_0x412db9._0x2f6621,0x1b0)]({'rootPid':_0x5cce2b[_0x5673c8(-_0x412db9._0x40e419,0x9b,_0x412db9._0x11637d,_0x412db9._0x1165ac)],'processGroupId':_0x5cce2b[_0xd14a31(_0x412db9._0x356212,_0x412db9._0x31bbee,0x69a,0x4a2)]},_0x5673c8(_0x412db9._0x541d0,0x2e1,0x3d7,_0x412db9._0x19ad26));if(_0x522827[_0x5673c8(-_0x412db9._0x16ece0,0x137,_0x412db9._0x106ba3,-_0x412db9._0x52f484)]===_0x5673c8(_0x412db9._0x38794c,_0x412db9._0x559f72,_0x412db9._0x4cf9e9,0x1b5))return this['failed'](_0x5cce2b,_0x522827['error']);if(await this[_0x5673c8(-_0x412db9._0x318d6d,_0x412db9._0x3007c3,_0x412db9._0x46422f,0x23a)](_0x5cce2b,TERMINATION_WINDOW_MS))return this[_0xd14a31(_0x412db9._0x1706e5,0x812,0x521,0x613)](_0x5cce2b);_0x5cce2b[_0x5673c8(0x349,0x28f,_0x412db9._0x4e907e,_0x412db9._0x5d7e08)]=!![];const _0x3ba80d=await this['signalAdapter']['signal']({'rootPid':_0x5cce2b[_0xd14a31(0x413,_0x412db9._0x29aa6e,_0x412db9._0x257a66,0x51d)],'processGroupId':_0x5cce2b['processGroupId']},_0xd14a31(_0x412db9._0x414b3f,0x5ef,0x533,_0x412db9._0x5b0533));function _0xd14a31(_0x152cd0,_0x12b5df,_0x3563ff,_0x590ea4){return _0x16ac01(_0x152cd0-_0x4b9974._0x44b16e,_0x590ea4-_0x4b9974._0x883ba7,_0x3563ff-0x159,_0x152cd0);}if(_0x3ba80d[_0x5673c8(-0x58,0x137,_0x412db9._0x1b3def,0x126)]===_0x5673c8(_0x412db9._0x2491c7,_0x412db9._0x559f72,_0x412db9._0x5f4a7f,_0x412db9._0x17276d))return this[_0x5673c8(0x14a,0x2b1,_0x412db9._0x41bebe,0x279)](_0x5cce2b,_0x3ba80d[_0x5673c8(0x303,0x1f6,_0x412db9._0x20d4ec,_0x412db9._0x5b2006)]);if(await this['waitForTerminal'](_0x5cce2b,TERMINATION_WINDOW_MS))return this['confirmed'](_0x5cce2b);return this[_0xd14a31(_0x412db9._0x893b3f,0x82e,0x877,_0x412db9._0x415769)](_0x5cce2b,'Background\x20process\x20termination\x20timed\x20out\x20after\x204000ms');}[_0x16ac01(0x6,0x14d,-0x24,0x15c)](_0x213b8f){const _0x5914e0={_0x3469b0:0x546,_0x333a76:0x4be,_0x2fe4a8:0xa33,_0x381ea7:0x813,_0x2d5085:0x91f,_0x2c1dc0:0x5c2,_0x40fffc:0x3f8,_0xe8be75:0x71c},_0x4ab5bb={_0x15f0e7:0x89,_0x62660c:0x569,_0x4aa629:0x181};function _0x3f72e7(_0x39cfc8,_0x3ada4f,_0x3428ee,_0x560a0e){return _0x16ac01(_0x39cfc8-_0x4ab5bb._0x15f0e7,_0x3428ee-_0x4ab5bb._0x62660c,_0x3428ee-_0x4ab5bb._0x4aa629,_0x560a0e);}function _0x526189(_0x1f28a5,_0x278cee,_0x2c0b46,_0x13b08f){return _0x5885dd(_0x1f28a5-0x143,_0x278cee,_0x2c0b46-0x136,_0x2c0b46-0x324);}return _0x213b8f[_0x3f72e7(_0x5914e0._0x3469b0,0x684,_0x5914e0._0x333a76,0x335)]==='error'?this[_0x526189(0x901,0x662,0x820,_0x5914e0._0x2fe4a8)](_0x213b8f,_0x213b8f[_0x526189(0x73f,0x70a,0x765,_0x5914e0._0x381ea7)]??_0x3f72e7(_0x5914e0._0x2d5085,0x8f1,0x7cd,_0x5914e0._0x2c1dc0)):this[_0x526189(0x5a5,0x4d2,0x55f,_0x5914e0._0x40fffc)](_0x213b8f,_0x526189(0x636,0x801,_0x5914e0._0xe8be75,0x7c4));}[_0x16ac01(0xdd,0x26d,0x2ef,0x127)](_0x3e2b58,_0x3b5b1d){const _0x131ff3={_0x5c0c7e:0xee,_0x54bdef:0x12,_0xdbb281:0x1d3,_0x394be0:0x95,_0x36c1fe:0x1f},_0x1e4a24={_0x39fa43:0x163},_0x457961={_0x5c3469:0x199,_0x464203:0x3b};_0x3e2b58['error']=_0x3b5b1d;function _0x30fa30(_0x5b9808,_0x21a1c5,_0xa3f0e0,_0x4db29c){return _0x16ac01(_0x5b9808-_0x457961._0x5c3469,_0x5b9808-0x3dc,_0xa3f0e0-_0x457961._0x464203,_0x21a1c5);}function _0x5a3204(_0xb485c8,_0x4e84c7,_0x5ac03e,_0xb3499c){return _0x16ac01(_0xb485c8-0x103,_0x4e84c7- -0x9a,_0x5ac03e-_0x1e4a24._0x39fa43,_0xb3499c);}return this[_0x5a3204(0x64,-_0x131ff3._0x5c0c7e,0x5,_0x131ff3._0x54bdef)](_0x3e2b58,_0x5a3204(0x256,_0x131ff3._0xdbb281,_0x131ff3._0x394be0,-_0x131ff3._0x36c1fe));}[_0x16ac01(0xd4,-0x54,-0x110,0x10)](_0x582bba,_0x26cef1){const _0x5da2a9={_0x4ebaa3:0x7ff,_0x281c90:0x757,_0x4ec632:0x830,_0x230e80:0xa88,_0x153781:0x584,_0xe2a125:0x6b4,_0x196796:0x47d,_0x17c64e:0x84d,_0x4a124:0xa52,_0x3aab63:0x876,_0x25d769:0x4c7,_0x21aed4:0x632,_0x331c33:0x66f};function _0x384dc7(_0x5f4d90,_0x3de31c,_0x46fa17,_0x4a1314){return _0x16ac01(_0x5f4d90-0x112,_0x3de31c-0x5a5,_0x46fa17-0x4e,_0x4a1314);}function _0x2b60cb(_0x1b810e,_0x4aceb6,_0x2d1c00,_0x3e2b6d){return _0x16ac01(_0x1b810e-0xaa,_0x1b810e-0x69b,_0x2d1c00-0xe3,_0x2d1c00);}return{'shellId':_0x582bba[_0x2b60cb(_0x5da2a9._0x4ebaa3,0x9f7,_0x5da2a9._0x281c90,_0x5da2a9._0x4ec632)],'outcome':_0x26cef1,'status':_0x582bba[_0x384dc7(0x456,0x4fa,0x694,0x5dc)],'exitCode':_0x582bba[_0x2b60cb(0x8b5,_0x5da2a9._0x230e80,0xa24,0x961)],'signal':_0x582bba[_0x384dc7(0x652,_0x5da2a9._0x153781,_0x5da2a9._0xe2a125,_0x5da2a9._0x196796)],'error':_0x582bba[_0x2b60cb(_0x5da2a9._0x17c64e,0xa64,_0x5da2a9._0x4a124,_0x5da2a9._0x3aab63)],'gracefulRequested':_0x582bba[_0x384dc7(_0x5da2a9._0x25d769,0x668,_0x5da2a9._0x21aed4,0x6c8)],'forceRequested':_0x582bba[_0x384dc7(0x7f5,0x7f0,0x834,_0x5da2a9._0x331c33)]};}[_0x5885dd(0x14e,0x11c,0x34d,0x2f2)](_0x432203,_0x4d0e62){const _0x3f4b39={_0x1057e8:0x156,_0x407884:0x335,_0x5aec64:0x4f9},_0xed5aba={_0x5f5d27:0x176,_0x2bf4ac:0x2a0,_0xe42c2f:0x5c8,_0x2610b3:0x4b1},_0x4f3079={_0x530b30:0x1eb,_0x3810ff:0xee},_0x156cbd={_0xb6df73:0x412,_0x4ebc6b:0x1cd};function _0x461b52(_0x2f3edb,_0x46ac70,_0x2b0dc6,_0x3b832b){return _0x16ac01(_0x2f3edb-0x129,_0x46ac70-_0x156cbd._0xb6df73,_0x2b0dc6-_0x156cbd._0x4ebc6b,_0x2b0dc6);}if(_0x432203[_0x461b52(_0x3f4b39._0x1057e8,_0x3f4b39._0x407884,_0x3f4b39._0x5aec64,0x313)])return Promise['resolve'](!![]);return new Promise(_0x164994=>{const _0x56db27={_0x2145b1:0x8f};let _0x12b55c=![];function _0x30c1cd(_0x410963,_0x206a91,_0x23436f,_0x17cdb3){return _0x461b52(_0x410963-_0x56db27._0x2145b1,_0x206a91- -0x52b,_0x410963,_0x17cdb3-0xc1);}const _0x440c3d=setTimeout(()=>{if(_0x12b55c)return;_0x12b55c=!![],_0x164994(![]);},_0x4d0e62);function _0x3805cf(_0xf8278d,_0x1c671b,_0x42d2a6,_0x55f4ef){return _0x461b52(_0xf8278d-_0x4f3079._0x530b30,_0x1c671b- -_0x4f3079._0x3810ff,_0x55f4ef,_0x55f4ef-0x138);}void _0x432203[_0x30c1cd(0xb5,_0xed5aba._0x5f5d27,_0xed5aba._0x2bf4ac,0xde)][_0x3805cf(0x4c2,_0xed5aba._0xe42c2f,_0xed5aba._0x2610b3,0x503)](()=>{if(_0x12b55c)return;_0x12b55c=!![],clearTimeout(_0x440c3d),_0x164994(!![]);});});}['appendDecoded'](_0xd1e2cc,_0x3bcb4e,_0x4ddc69,_0xaf67a4){const _0x406c88={_0x585e10:0xdb,_0x170d78:0x701,_0x1b3a5e:0x583,_0x5d18c4:0x92e,_0x359119:0xaa2,_0x55878a:0x9ac,_0x33f6ab:0x35,_0x539e73:0x99,_0x41c2b6:0xc6,_0x4e38d4:0xdb},_0x4816e7={_0x21b6f7:0x1a6},_0xfb505b={_0xed0da6:0x126,_0x21dffd:0x4d,_0x5d07a3:0xcb};function _0x21f401(_0x4aa901,_0x447dc1,_0x39f225,_0x48c0c5){return _0x16ac01(_0x4aa901-_0xfb505b._0xed0da6,_0x48c0c5- -_0xfb505b._0x21dffd,_0x39f225-_0xfb505b._0x5d07a3,_0x4aa901);}function _0x4bc1cd(_0x1b1d19,_0x4ced16,_0xf3deb9,_0x29b12c){return _0x5885dd(_0x1b1d19-_0x4816e7._0x21b6f7,_0x29b12c,_0xf3deb9-0x11a,_0x4ced16-0x3fe);}const _0xb1d673=_0x3bcb4e[_0x21f401(0xe4,-0x249,-0x32,-_0x406c88._0x585e10)](_0xaf67a4);this[_0x4bc1cd(0x716,_0x406c88._0x170d78,_0x406c88._0x1b3a5e,0x8de)](_0xd1e2cc,_0xd1e2cc[_0x4bc1cd(0x850,_0x406c88._0x5d18c4,_0x406c88._0x359119,_0x406c88._0x55878a)]?_0x4ddc69[_0x21f401(_0x406c88._0x33f6ab,-_0x406c88._0x539e73,-_0x406c88._0x41c2b6,-_0x406c88._0x4e38d4)](_0xb1d673):_0xb1d673);}[_0x16ac01(0x1d1,0x261,0x245,0x221)](_0xe1df95){const _0x4a16d4={_0x2e5fff:0x66f,_0x530ec8:0x7b9,_0x39a7f9:0x591,_0x313ab2:0x4e9,_0x1de3ac:0x2bd,_0x31d50e:0x42a,_0xf3f41d:0x690,_0x1331f5:0x669,_0x58360f:0x7c2,_0x1aeab6:0x4e6},_0x20c168={_0x485faf:0x32e},_0x261bf9={_0x408292:0x11a,_0x2eebd0:0x66e};function _0x4deb5a(_0x2aa980,_0x79900b,_0x518373,_0x4157e5){return _0x16ac01(_0x2aa980-_0x261bf9._0x408292,_0x2aa980-_0x261bf9._0x2eebd0,_0x518373-0x116,_0x4157e5);}this[_0x4deb5a(0x7ca,_0x4a16d4._0x2e5fff,_0x4a16d4._0x530ec8,0x9bc)](_0xe1df95);function _0x560feb(_0x441b69,_0x12d2b1,_0xaee572,_0x52abf2){return _0x16ac01(_0x441b69-0xdc,_0xaee572-_0x20c168._0x485faf,_0xaee572-0x62,_0x441b69);}!_0xe1df95[_0x4deb5a(_0x4a16d4._0x39a7f9,_0x4a16d4._0x313ab2,0x65d,0x527)]&&(_0xe1df95[_0x560feb(_0x4a16d4._0x1de3ac,_0x4a16d4._0x31d50e,0x251,0xb3)]=!![],_0xe1df95[_0x4deb5a(_0x4a16d4._0xf3f41d,_0x4a16d4._0x1331f5,0x669,0x70a)]()),this[_0x4deb5a(0x6a6,_0x4a16d4._0x58360f,_0x4a16d4._0x1aeab6,0x639)]();}[_0x5885dd(0x1ea,0x2d9,0x50b,0x3eb)](_0x558d68){const _0x4854d2={_0x254377:0x1ed,_0x1d087:0x2ac,_0x5b5fc1:0x472,_0x1cad24:0x9,_0x3d5eb0:0x13,_0x5e171e:0x1be,_0x3e6f30:0x2eb,_0x29120b:0x156,_0x192658:0x3b2,_0x289b06:0x570,_0x546e8e:0x3b,_0x18109e:0x1f8,_0x1ecad1:0xb6,_0x12860f:0xc7,_0x5b8dbb:0x7,_0x4a340c:0x16a,_0x5d2edc:0x1c3,_0x4184ca:0x43b,_0x2b0b29:0x501,_0x58c5ed:0x2e,_0x188097:0x110,_0x1afa90:0x124,_0x2144da:0x22,_0x5e6e0c:0xe9},_0x1ad8b6={_0x22ae04:0x180,_0x112109:0x10b},_0x5d10c9={_0x163d12:0xb6,_0xc14186:0x147};if(_0x558d68[_0x2b1b63(0x2b2,0xe2,_0x4854d2._0x254377,0x3d2)])return;function _0x1efdac(_0x55a99b,_0x26b265,_0x35c04d,_0x25d0d7){return _0x5885dd(_0x55a99b-_0x5d10c9._0x163d12,_0x26b265,_0x35c04d-_0x5d10c9._0xc14186,_0x55a99b- -0x23c);}_0x558d68[_0x2b1b63(0x2b2,_0x4854d2._0x1d087,_0x4854d2._0x5b5fc1,0x2a3)]=!![];const _0x22a42c=_0x558d68['stdoutDecoder'][_0x1efdac(-_0x4854d2._0x1cad24,0x1ad,_0x4854d2._0x3d5eb0,0x179)](),_0x2311d6=_0x558d68['stderrDecoder'][_0x2b1b63(0x33e,_0x4854d2._0x5e171e,_0x4854d2._0x3e6f30,0x41c)]();this[_0x1efdac(0xc7,-0xf7,_0x4854d2._0x29120b,-0xe3)](_0x558d68,_0x558d68['stripAnsi']?_0x558d68[_0x2b1b63(0x497,_0x4854d2._0x192658,_0x4854d2._0x289b06,0x2f2)][_0x1efdac(-_0x4854d2._0x546e8e,-0x3e,-_0x4854d2._0x18109e,-_0x4854d2._0x1ecad1)](_0x22a42c)+_0x558d68['stdoutNormalizer']['end']():_0x22a42c);function _0x2b1b63(_0x4fccc6,_0x359ab3,_0x549b59,_0x50d360){return _0x5885dd(_0x4fccc6-_0x1ad8b6._0x22ae04,_0x50d360,_0x549b59-0x111,_0x4fccc6-_0x1ad8b6._0x112109);}this[_0x1efdac(_0x4854d2._0x12860f,_0x4854d2._0x5b8dbb,_0x4854d2._0x4a340c,_0x4854d2._0x5d2edc)](_0x558d68,_0x558d68[_0x1efdac(0x2f4,_0x4854d2._0x4184ca,_0x4854d2._0x2b0b29,0x261)]?_0x558d68[_0x1efdac(_0x4854d2._0x58c5ed,-0x1e8,-_0x4854d2._0x188097,-0x38)][_0x2b1b63(0x30c,0x4d7,0x399,0x285)](_0x2311d6)+_0x558d68[_0x1efdac(0x2e,_0x4854d2._0x1afa90,-_0x4854d2._0x2144da,_0x4854d2._0x5e6e0c)]['end']():_0x2311d6);}[_0x16ac01(0xd8,0x74,0x1e6,0x16b)](_0x1f2aad,_0x3b8117){const _0x158963={_0x14febc:0x32f,_0x884c1a:0x25e,_0x1827f6:0x15e,_0x40926c:0xd9,_0x22a834:0x2b7,_0x3f1625:0x587,_0x577422:0x41a,_0x161d21:0x448,_0x5c974c:0x11e,_0x212a5a:0x25e,_0x2650f7:0x3c0,_0x7f0358:0x225,_0x5ccb18:0x310,_0x5ead0c:0x381,_0x62c266:0x4c7,_0x1ffb99:0x22c,_0x5b7340:0x2f0,_0x544f62:0x31a,_0x29cdd1:0x41a,_0x1cdbfd:0x2cc,_0x3726c5:0x15e,_0x2a8bd7:0x548,_0x270572:0x50e,_0x84797d:0x509,_0x91484e:0x2fc,_0xb2d96d:0x479,_0x48ea9d:0x2d0,_0x44ea3d:0x2cb,_0x38fbd2:0x25e,_0x4b8a58:0x1a2,_0x45ef14:0x31a,_0x2a8d79:0x4d9,_0x4f2a34:0x177,_0x3c126f:0x137,_0x1b8fef:0x64,_0x152f6d:0x109,_0x486dc8:0xd7,_0x9422d1:0x4fd,_0x4bbede:0x165,_0x5c6f2e:0xb7,_0x5e0625:0x2ce},_0x14af46={_0x56d839:0x0};if(_0x3b8117[_0x4b2efb(_0x158963._0x14febc,_0x158963._0x884c1a,0x21c,0x211)]===0x0)return;function _0x4b2efb(_0x591a4a,_0x131a2d,_0x360c89,_0xde122e){return _0x16ac01(_0x591a4a-_0x14af46._0x56d839,_0x131a2d-0x162,_0x360c89-0x1bb,_0x591a4a);}_0x1f2aad[_0x4b2efb(0x26a,_0x158963._0x1827f6,0x232,-0x86)][_0x4b2efb(0x8c,_0x158963._0x40926c,_0x158963._0x22a834,0x1c6)](_0x3b8117);function _0x4ecaba(_0x93d63f,_0x6adedd,_0x51abd6,_0x41be99){return _0x5885dd(_0x93d63f-0x112,_0x41be99,_0x51abd6-0x114,_0x6adedd-0x8f);}_0x1f2aad['bufferChars']+=_0x3b8117[_0x4ecaba(_0x158963._0x3f1625,_0x158963._0x577422,_0x158963._0x161d21,0x414)],_0x1f2aad['totalProduced']+=_0x3b8117[_0x4b2efb(_0x158963._0x5c974c,_0x158963._0x212a5a,0x269,_0x158963._0x2650f7)];while(_0x1f2aad[_0x4b2efb(0x342,0x310,0x2ae,0x110)]>this['capChars']){const _0x3b4f20=_0x1f2aad[_0x4b2efb(_0x158963._0x7f0358,_0x158963._0x5ccb18,_0x158963._0x5ead0c,0x50b)]-this[_0x4ecaba(0x291,0x2df,_0x158963._0x62c266,_0x158963._0x1ffb99)],_0x47acf3=_0x1f2aad[_0x4ecaba(_0x158963._0x5b7340,_0x158963._0x544f62,0x1bb,0x14f)][0x0];if(_0x47acf3===void 0x0)break;_0x47acf3[_0x4ecaba(0x3e1,_0x158963._0x29cdd1,_0x158963._0x1cdbfd,0x5ee)]<=_0x3b4f20?(_0x1f2aad[_0x4b2efb(0x9d,_0x158963._0x3726c5,-0x25,0x222)][_0x4ecaba(0x42c,_0x158963._0x2a8bd7,0x441,_0x158963._0x270572)](),_0x1f2aad['bufferChars']-=_0x47acf3[_0x4ecaba(0x536,0x41a,_0x158963._0x84797d,_0x158963._0x91484e)],_0x1f2aad[_0x4ecaba(_0x158963._0xb2d96d,0x2ea,0x250,_0x158963._0x48ea9d)]+=_0x47acf3[_0x4b2efb(_0x158963._0x44ea3d,_0x158963._0x38fbd2,0x46f,_0x158963._0x4b8a58)]):(_0x1f2aad[_0x4ecaba(0x1eb,_0x158963._0x45ef14,_0x158963._0x2a8d79,_0x158963._0x4f2a34)][0x0]=_0x47acf3[_0x4b2efb(-_0x158963._0x3c126f,_0x158963._0x1b8fef,-_0x158963._0x152f6d,-_0x158963._0x486dc8)](_0x3b4f20),_0x1f2aad[_0x4b2efb(_0x158963._0x9422d1,0x310,0x1e3,_0x158963._0x4bbede)]-=_0x3b4f20,_0x1f2aad[_0x4b2efb(-_0x158963._0x5c6f2e,0x12e,0x260,_0x158963._0x5e0625)]+=_0x3b4f20);}}[_0x5885dd(0xd8,0x25b,0xcb,0x2c7)](){const _0x294ccf={_0x2693d4:0x6a7,_0x308c92:0x504,_0x6cffb4:0x48d,_0x2fe8a2:0x674,_0x4dfc70:0x46b,_0x50ab19:0x612,_0x4193e1:0x502,_0x751505:0x44e,_0x29c3aa:0x6a9,_0xf805c3:0x1a1,_0x30db29:0x354},_0x131e3f={_0x17045e:0x53},_0x4d48a4={_0x3e1866:0x8e};function _0x4cccf3(_0x3ebd95,_0x500769,_0x3052b8,_0x427bfc){return _0x16ac01(_0x3ebd95-_0x4d48a4._0x3e1866,_0x500769-0x3b1,_0x3052b8-0xfa,_0x427bfc);}function _0x36bb56(_0x234a7b,_0x1e29f6,_0x39b3f8,_0x4efb28){return _0x5885dd(_0x234a7b-0x44,_0x234a7b,_0x39b3f8-_0x131e3f._0x17045e,_0x39b3f8-0x25a);}while(this[_0x4cccf3(_0x294ccf._0x2693d4,_0x294ccf._0x308c92,0x417,0x659)][_0x36bb56(0x66a,_0x294ccf._0x6cffb4,_0x294ccf._0x2fe8a2,0x48d)]>this[_0x4cccf3(_0x294ccf._0x4dfc70,0x5e3,_0x294ccf._0x50ab19,0x61b)]){const _0x50e3ba=[...this[_0x4cccf3(_0x294ccf._0x4193e1,0x504,_0x294ccf._0x751505,_0x294ccf._0x29c3aa)]['values']()]['filter'](_0x8c8760=>_0x8c8760[_0x36bb56(0x57a,0x2a1,0x40c,0x4ca)]&&isTerminalStatus(_0x8c8760[_0x36bb56(0x426,0x396,0x43e,0x336)]))['sort']((_0x254b81,_0x59f5c2)=>_0x254b81[_0x36bb56(0x84d,0x70c,0x70f,0x7b6)]-_0x59f5c2[_0x4cccf3(0x77d,0x5d7,0x6f2,0x68e)])[0x0];if(!_0x50e3ba)return;this[_0x36bb56(0x839,0x757,0x63c,0x473)][_0x4cccf3(_0x294ccf._0xf805c3,_0x294ccf._0x30db29,0x4b8,0x2bc)](_0x50e3ba['shellId']);}}};function createBashOutputTool(_0x480ce2){const _0x3ff526={_0x4062e7:0x464,_0x4d7907:0x4cd,_0x1c9b26:0x21b,_0x172233:0x128,_0x1a5f35:0x4ac,_0x598b46:0x5c1,_0x4ce9bb:0x467,_0x36ac4b:0x658,_0x527265:0x321,_0x2fc8cd:0x5d4,_0x27cf8e:0x570,_0x101ca0:0x252},_0x3d84c0={_0x41ed0:0x3c9,_0x26502f:0x881,_0x31d4e0:0x54c,_0x5b75f2:0x67c,_0x5a352f:0x298,_0x251289:0x5b4,_0x4d2710:0x3de,_0x2423f9:0x747,_0x55f878:0x5d6,_0xe508ee:0x52b,_0x205814:0x59d,_0x3417e0:0x578,_0x1ed03b:0x3f1,_0x4b195f:0x6c0,_0xededd7:0x7b5,_0x4a21c8:0x836,_0x428e17:0x1da,_0x45ea69:0x53,_0x2d4dfd:0x513,_0x4ec7d5:0x5d7,_0x460224:0x4f7,_0x4b77f8:0x332,_0x348a50:0x1ea,_0xcdff1d:0x25b},_0x1b7bde={_0x2e1fa5:0x26};function _0x43d6b3(_0x230f9e,_0x2a27f5,_0x2114df,_0x5511be){return _0x5885dd(_0x230f9e-_0x1b7bde._0x2e1fa5,_0x230f9e,_0x2114df-0x143,_0x2a27f5- -0x7f);}function _0x1dbf86(_0x27fa4f,_0x355559,_0x226651,_0x401126){return _0x16ac01(_0x27fa4f-0x25,_0x226651-0x31d,_0x226651-0x12f,_0x355559);}const {registry:_0x4d823c}=_0x480ce2;return defineTool({'name':'BashOutput','permissionClass':_0x1dbf86(_0x3ff526._0x4062e7,0x2e0,0x338,_0x3ff526._0x4d7907),'description':_0x1dbf86(0xa,0x30e,_0x3ff526._0x1c9b26,_0x3ff526._0x172233),'inputSchema':{'type':_0x43d6b3(0x687,_0x3ff526._0x1a5f35,_0x3ff526._0x598b46,0x296),'properties':{'shellId':{'type':_0x43d6b3(0x5d2,_0x3ff526._0x4ce9bb,_0x3ff526._0x36ac4b,_0x3ff526._0x527265)},'regex':{'type':_0x43d6b3(_0x3ff526._0x2fc8cd,_0x3ff526._0x4ce9bb,_0x3ff526._0x27cf8e,_0x3ff526._0x101ca0)}},'required':['shellId']},async *'execute'(_0x32afb0){const _0x5d7fb6={_0x538025:0xd6};function _0x4066de(_0x1b8ad9,_0x3ac1e7,_0x4a14cf,_0xff547c){return _0x43d6b3(_0x4a14cf,_0xff547c-0xe9,_0x4a14cf-0x1d8,_0xff547c-_0x5d7fb6._0x538025);}const _0x88b28d=_0x4d823c[_0x4066de(0x3f3,0x32e,0x328,_0x3d84c0._0x41ed0)](_0x32afb0[_0x5f8ec(_0x3d84c0._0x26502f,_0x3d84c0._0x31d4e0,_0x3d84c0._0x5b75f2,0x4d1)],_0x32afb0[_0x4066de(_0x3d84c0._0x5a352f,_0x3d84c0._0x251289,_0x3d84c0._0x4d2710,0x3b7)]?{'regex':_0x32afb0[_0x5f8ec(0x478,_0x3d84c0._0x2423f9,_0x3d84c0._0x55f878,_0x3d84c0._0xe508ee)]}:void 0x0);function _0x5f8ec(_0x44fd87,_0x21422f,_0x4a1356,_0x376f01){return _0x1dbf86(_0x44fd87-0x191,_0x44fd87,_0x4a1356-0x1fb,_0x376f01-0x14d);}return createToolOutput(_0x88b28d[_0x4066de(_0x3d84c0._0x205814,_0x3d84c0._0x3417e0,_0x3d84c0._0x1ed03b,0x5ae)],{'shellId':_0x32afb0[_0x5f8ec(_0x3d84c0._0x4b195f,_0x3d84c0._0xededd7,0x67c,_0x3d84c0._0x4a21c8)],'status':_0x88b28d[_0x4066de(_0x3d84c0._0x428e17,0x2c0,_0x3d84c0._0x45ea69,0x24e)],'exitCode':_0x88b28d[_0x4066de(0x4af,0x3a6,0x33b,_0x3d84c0._0x2d4dfd)],'signal':_0x88b28d[_0x5f8ec(0x323,_0x3d84c0._0x4ec7d5,_0x3d84c0._0x460224,_0x3d84c0._0x4b77f8)],'error':_0x88b28d['error'],'truncated':_0x88b28d[_0x4066de(0x187,0x222,_0x3d84c0._0x348a50,_0x3d84c0._0xcdff1d)]});}});}import{spawn as _0x2fce51}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x1ebf74 from'os';import*as _0x2fba8d from'path';import{StringDecoder as _0x24ef57}from'string_decoder';import{spawn as _0x5b8787}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException2(_0x167be9){return _0x167be9 instanceof Error;}function resolveCarriageReturns(_0x4ee980){const _0x4b37c7={_0xb96150:0x58a,_0xdcd9c6:0x419,_0x4e0d88:0x3af,_0x1e396a:0x1a5,_0xfe71fe:0x41},_0x3b3074={_0xdf46a8:0x716,_0x1140e3:0x5cc,_0xbd39d4:0x563,_0x57f1ed:0x10,_0x3bff07:0x172},_0x5b4aa6={_0xf2e207:0x2a5,_0x2ece50:0x28,_0x4d1ee2:0x16f},_0x4f2a9d={_0x5a0504:0x92,_0x470144:0xfe},_0x4f3f17={_0x23e17a:0x105};function _0x528b27(_0x226219,_0x1baabd,_0x1c77e6,_0x5f4199){return _0x5885dd(_0x226219-0x14f,_0x1baabd,_0x1c77e6-0xce,_0x226219- -_0x4f3f17._0x23e17a);}function _0x28ae89(_0x18229b,_0x3b311d,_0x542165,_0x5b53ae){return _0x5885dd(_0x18229b-0x6b,_0x542165,_0x542165-0x1f,_0x5b53ae- -0x16d);}return _0x4ee980[_0x28ae89(_0x4b37c7._0xb96150,_0x4b37c7._0xdcd9c6,0x534,_0x4b37c7._0x4e0d88)]('\x0a')[_0x28ae89(-0xe5,_0x4b37c7._0x1e396a,-_0x4b37c7._0xfe71fe,-0x1f)](_0x11b5cd=>{if(!_0x11b5cd[_0x31b107(_0x3b3074._0xdf46a8,_0x3b3074._0x1140e3,0x782,_0x3b3074._0xbd39d4)]('\x0d'))return _0x11b5cd;function _0x31b107(_0x45e167,_0x2d2bee,_0x58ac0c,_0x31df9e){return _0x28ae89(_0x45e167-_0x4f2a9d._0x5a0504,_0x2d2bee-_0x4f2a9d._0x470144,_0x58ac0c,_0x45e167-0x39f);}const _0x26003b=_0x11b5cd[_0x28d9cf(_0x3b3074._0x57f1ed,0xc3,_0x3b3074._0x3bff07,0x32d)]('\x0d');function _0x28d9cf(_0x4fdedd,_0x2027c0,_0x1aac9b,_0x3c8c90){return _0x528b27(_0x1aac9b- -_0x5b4aa6._0xf2e207,_0x2027c0,_0x1aac9b-_0x5b4aa6._0x2ece50,_0x3c8c90-_0x5b4aa6._0x4d1ee2);}return _0x26003b[_0x26003b['length']-0x1]??'';})['join']('\x0a');}function _0x16ac01(_0x1440a2,_0x20956e,_0xbbfcf1,_0x23b960){return _0xa933(_0x20956e- -0x2b3,_0x23b960);}function resolveBackspaces(_0x22a95e){const _0x3458a2={_0x55e888:0x68b,_0x398bae:0x5c7,_0x5d3bde:0x651,_0x3b2cd7:0x7ec},_0x5e0e3b={_0x266e64:0x1bc,_0x4220f0:0x2e,_0x58553e:0x1b5},_0x5ac5cb={_0x418472:0x1ce,_0x2d27b7:0x209},_0x49e9db=[];function _0x2f6950(_0x44477b,_0x281c24,_0x24aae5,_0x3cdc44){return _0x5885dd(_0x44477b-0xd6,_0x3cdc44,_0x24aae5-_0x5ac5cb._0x418472,_0x24aae5- -_0x5ac5cb._0x2d27b7);}for(const _0x5f6c5 of Array[_0x5b7c54(_0x3458a2._0x55e888,_0x3458a2._0x398bae,0x55b,_0x3458a2._0x5d3bde)](_0x22a95e)){_0x5f6c5==='\x08'?_0x49e9db['pop']():_0x49e9db['push'](_0x5f6c5);}function _0x5b7c54(_0x4f7050,_0xfe97d7,_0x113390,_0x2e2ae2){return _0x5885dd(_0x4f7050-_0x5e0e3b._0x266e64,_0x2e2ae2,_0x113390-_0x5e0e3b._0x4220f0,_0x113390-_0x5e0e3b._0x58553e);}return _0x49e9db[_0x5b7c54(0x4f7,0x43a,0x64a,_0x3458a2._0x3b2cd7)]('');}function stripAnsiAndControls(_0x13f60b){const _0x2503c2={_0x598e1c:0x872,_0x27b34f:0x375,_0x5b9d22:0x315,_0x416649:0x3e1,_0x56709f:0x164,_0x5811b6:0x3ff,_0x2ec28a:0x39d,_0xef25bc:0x290,_0x25cbd4:0x189,_0x3e03a4:0x247,_0x5867fc:0x379,_0x435fa8:0x4e4,_0x47e648:0x2a9,_0x1f40bf:0x7d0,_0x4a1c10:0x6f6},_0x364528={_0x1ccd2a:0x1a4},_0x3c600d={_0x180597:0x1a,_0x55373d:0x1c3,_0xeb2f18:0x267};_0x13f60b=resolveCarriageReturns(_0x13f60b);function _0x59b306(_0x3f6d32,_0x4dd34d,_0x3d8afd,_0x552c17){return _0x5885dd(_0x3f6d32-_0x3c600d._0x180597,_0x552c17,_0x3d8afd-_0x3c600d._0x55373d,_0x3d8afd-_0x3c600d._0xeb2f18);}function _0x524b76(_0x39a9fa,_0x35ecc9,_0x5b7de4,_0x8b9abf){return _0x5885dd(_0x39a9fa-0x1ad,_0x39a9fa,_0x5b7de4-_0x364528._0x1ccd2a,_0x35ecc9- -0x1f4);}_0x13f60b=resolveBackspaces(_0x13f60b),_0x13f60b=stripVTControlCharacters(_0x13f60b);const _0x1b716f='\x1b',_0x2f4030='\x07';return _0x13f60b=_0x13f60b[_0x59b306(0x603,0x824,0x7d0,_0x2503c2._0x598e1c)](new RegExp(';[^'+_0x2f4030+'\x5cn]*?'+_0x2f4030,'g'),''),_0x13f60b=_0x13f60b[_0x524b76(0x1d4,_0x2503c2._0x27b34f,_0x2503c2._0x5b9d22,0x505)](new RegExp(';[^\x5cn]*?'+_0x1b716f+'\x5c\x5c','g'),''),_0x13f60b=_0x13f60b['replace'](new RegExp(_0x2f4030,'g'),''),_0x13f60b=_0x13f60b[_0x524b76(_0x2503c2._0x416649,0x375,0x4de,_0x2503c2._0x56709f)](new RegExp(_0x1b716f+'[P_^][\x5cs\x5cS]*?'+_0x1b716f+'\x5c\x5c','g'),''),_0x13f60b=_0x13f60b[_0x524b76(_0x2503c2._0x5811b6,0x375,_0x2503c2._0x2ec28a,0x561)](new RegExp(_0x1b716f+_0x524b76(_0x2503c2._0xef25bc,_0x2503c2._0x25cbd4,0x109,_0x2503c2._0x3e03a4),'g'),''),_0x13f60b=_0x13f60b['replace'](/[\u0080-\u009F]/g,''),_0x13f60b=_0x13f60b[_0x524b76(_0x2503c2._0x5867fc,0x375,_0x2503c2._0x435fa8,_0x2503c2._0x47e648)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x13f60b=_0x13f60b[_0x59b306(0x6bb,0x81c,_0x2503c2._0x1f40bf,_0x2503c2._0x4a1c10)](/[\u23CE\u2424]/g,''),_0x13f60b;}function killProcessGroup(_0x3251a2,_0x85654c,_0x52af60='SIGKILL'){const _0x521041={_0x179405:0x2f,_0x4c44f0:0x1ef,_0x138d77:0x1b6,_0x6afb25:0x12d,_0xa19644:0x2,_0x19df2f:0xb4,_0x1e5d7e:0x3cb,_0x17fcb9:0x2cd,_0x6ee70a:0x103,_0x4d8d51:0x304,_0x264197:0x18e,_0x50fc63:0x4e9,_0x4ef75a:0x4d1,_0x8733f0:0x559,_0x434b68:0x6a7,_0x5922d9:0x6d1,_0xda9621:0x3e8},_0x4dfb98={_0xbbc83:0x169},_0x4da8a7={_0x22aac0:0xd3,_0x57bf27:0x95,_0x5ecf3d:0x340};function _0x187120(_0x37be5f,_0x27e452,_0x316467,_0x56fe80){return _0x5885dd(_0x37be5f-_0x4da8a7._0x22aac0,_0x56fe80,_0x316467-_0x4da8a7._0x57bf27,_0x37be5f- -_0x4da8a7._0x5ecf3d);}if(!_0x3251a2[_0x187120(-0x5a,-_0x521041._0x179405,-_0x521041._0x4c44f0,_0x521041._0x138d77)])return;function _0xc7fbfc(_0x4bbd86,_0x8534e4,_0x2a9dfb,_0x5db601){return _0x5885dd(_0x4bbd86-_0x4dfb98._0xbbc83,_0x4bbd86,_0x2a9dfb-0x1e5,_0x2a9dfb- -0x19);}if(_0x85654c)try{_0x5b8787(_0xc7fbfc(_0x521041._0x6afb25,-_0x521041._0xa19644,0x192,_0x521041._0x19df2f),['/pid',_0x3251a2[_0xc7fbfc(0x2d7,_0x521041._0x1e5d7e,_0x521041._0x17fcb9,_0x521041._0x6ee70a)]['toString'](),'/T','/F'],{'stdio':_0x187120(-0x1b4,0x4c,-_0x521041._0x4d8d51,-_0x521041._0x264197)});return;}catch{_0x3251a2[_0xc7fbfc(0x6cd,_0x521041._0x50fc63,_0x521041._0x4ef75a,_0x521041._0x8733f0)](_0x52af60);return;}try{process[_0xc7fbfc(_0x521041._0x434b68,_0x521041._0x5922d9,0x4d1,_0x521041._0xda9621)](-_0x3251a2['pid'],_0x52af60);}catch{_0x3251a2[_0xc7fbfc(0x58a,0x631,0x4d1,0x2c4)](_0x52af60);}}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+_0x16ac01(-0xc,-0x76,-0x284,-0x12c);function buildChildEnv(_0x5d53ff,_0x4f8a7e,_0xf730f4){const _0x1d6b01={_0x3d460b:0x3ac,_0x25f085:0x2ae,_0x37ec8c:0x2a1,_0x4f41a7:0x534,_0x25c9a2:0xc2,_0x2a1fa1:0x487,_0x333e75:0x49c,_0x3fdef3:0x3bc,_0x10ac84:0x673,_0x127fa1:0x417},_0x420695={_0x5c5643:0x155,_0x527f59:0xe4,_0x2e7fbf:0x1b2},_0x5191d9={_0x20cf08:0x1cd,_0x34afc1:0x47};function _0x4ac9b1(_0x1ca211,_0xcce032,_0x92168,_0x1b46a4){return _0x5885dd(_0x1ca211-_0x5191d9._0x20cf08,_0x1b46a4,_0x92168-0xf6,_0xcce032-_0x5191d9._0x34afc1);}const _0x31c295={...process['env'],..._0x5d53ff??{}};function _0x39f15c(_0x311376,_0x29b12d,_0x27bfcf,_0x2361c4){return _0x5885dd(_0x311376-_0x420695._0x5c5643,_0x311376,_0x27bfcf-_0x420695._0x527f59,_0x27bfcf-_0x420695._0x2e7fbf);}if(_0x1ebf74[_0x4ac9b1(0x19e,0x38e,_0x1d6b01._0x3d460b,_0x1d6b01._0x25f085)]()===_0x39f15c(_0x1d6b01._0x37ec8c,0x5c1,0x3e3,_0x1d6b01._0x4f41a7)){const _0x4892a6=new Set(_0x4f8a7e[_0x4ac9b1(0x32d,0x195,_0x1d6b01._0x25c9a2,0x193)](_0x5b0203=>_0x5b0203[_0x39f15c(0x1fd,0x200,0x374,0x41a)]()));for(const _0x3e9457 of Object[_0x4ac9b1(_0x1d6b01._0x2a1fa1,_0x1d6b01._0x333e75,0x3e8,_0x1d6b01._0x3fdef3)](_0x31c295)){if(_0x4892a6['has'](_0x3e9457['toLowerCase']()))delete _0x31c295[_0x3e9457];}}else{for(const _0x4e6a41 of _0x4f8a7e)delete _0x31c295[_0x4e6a41];if(_0xf730f4[_0x4ac9b1(0x554,0x3d2,0x3a7,0x1e6)]>0x0)for(const _0x4d08b0 of Object[_0x4ac9b1(0x478,0x49c,_0x1d6b01._0x10ac84,0x387)](_0x31c295)){_0xf730f4[_0x4ac9b1(0x48e,0x428,_0x1d6b01._0x127fa1,0x339)](_0xb9fa14=>_0x4d08b0[_0x39f15c(0x545,0x1d1,0x37a,0x1eb)](_0xb9fa14))&&delete _0x31c295[_0x4d08b0];}}return _0x31c295;}function mapSpawnError(_0x146132,_0x59cc0a){const _0x554eff={_0x55b2e3:0x54e,_0x46717e:0x4bc,_0x162190:0x301,_0x432f08:0x3ec,_0x301936:0x41d,_0x54f6da:0x286,_0xe0d628:0x30a,_0x520774:0x1c2,_0x251c77:0x12a},_0x2a24ba={_0x27bb05:0x1e3},_0x251065={_0x4d2692:0x1d9};if(isErrnoException2(_0x146132)&&_0x146132[_0x3edb63(0x3b6,_0x554eff._0x55b2e3,_0x554eff._0x46717e,0x3d1)]===_0x2d282b(_0x554eff._0x162190,_0x554eff._0x432f08,0x2e1,0x316))return new ToolExecutionError(_0x3edb63(0x321,_0x554eff._0x301936,_0x554eff._0x54f6da,0x34a)+_0x59cc0a[_0x2d282b(_0x554eff._0xe0d628,0x2d0,_0x554eff._0x520774,0x140)],_0x59cc0a);function _0x3edb63(_0x86a6ac,_0x344877,_0x4c0e55,_0x5ba962){return _0x16ac01(_0x86a6ac-_0x251065._0x4d2692,_0x5ba962-0x296,_0x4c0e55-0x106,_0x344877);}function _0x2d282b(_0x2946d8,_0x553b38,_0x5adc8a,_0x16acdf){return _0x5885dd(_0x2946d8-0x42,_0x553b38,_0x5adc8a-_0x2a24ba._0x27bb05,_0x2946d8- -0x248);}return new ToolExecutionError(_0x146132 instanceof Error?_0x146132[_0x2d282b(0xd5,0xcc,-_0x554eff._0x251c77,0x1f7)]:String(_0x146132),_0x59cc0a);}function shellExists(_0x2b39dd){const _0x418d01={_0x274330:0x6d2,_0xb28e58:0x6f2},_0x3b3db7={_0x2e1b30:0xa4,_0x4f497a:0x82};function _0x34e835(_0xc65efd,_0xe1e312,_0x1d23db,_0x2f75c5){return _0x16ac01(_0xc65efd-_0x3b3db7._0x2e1b30,_0x2f75c5-0x577,_0x1d23db-_0x3b3db7._0x4f497a,_0xc65efd);}try{const _0x119db=statSync(_0x2b39dd);return _0x119db[_0x34e835(0x5f6,_0x418d01._0x274330,_0x418d01._0xb28e58,0x67d)]()&&(_0x119db['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x3b2a83){const _0x51fbad={_0x32a752:0x316,_0x54e258:0x4bf,_0x3493f9:0x4e6,_0x1a18bd:0x493,_0xa60183:0x502,_0x4e9599:0x3d0,_0x50345e:0x587,_0x1971aa:0x6be,_0x29031c:0x667,_0xa37a46:0x412,_0x21172e:0x127,_0x10da10:0x67a,_0x257901:0x847,_0x2b5117:0x2dc,_0x42a22b:0x497,_0x1bdcda:0x3d7,_0xfc26be:0x4bd,_0x319915:0x810,_0x588120:0x8cd,_0x5a4b76:0x75a,_0x84696:0x7f2,_0xc3ca53:0x5e3,_0x4e9fa9:0x3f4,_0x29f7b9:0x10e,_0x4f80d4:0x324},_0x2cc54e={_0x73b6d5:0x15c,_0x56f9b1:0x66},_0x4a7d47={_0x20ed54:0xd8,_0x41a84e:0xc2};if(_0x3b2a83)return _0x3b2a83;if(_0x1ebf74[_0x5aac18(_0x51fbad._0x32a752,_0x51fbad._0x54e258,_0x51fbad._0x3493f9,_0x51fbad._0x1a18bd)]()===_0x5aac18(_0x51fbad._0xa60183,0x41b,_0x51fbad._0x4e9599,0x201))return process[_0x5aac18(0x86e,_0x51fbad._0x50345e,_0x51fbad._0x1971aa,_0x51fbad._0x29031c)][_0x5aac18(0x379,0x484,0x352,_0x51fbad._0xa37a46)]||_0x3360e3(_0x51fbad._0x21172e,0x187,0x275,0x2c3);function _0x3360e3(_0x20034f,_0x468ea0,_0x25e3cd,_0x262a5e){return _0x16ac01(_0x20034f-0x173,_0x25e3cd-_0x4a7d47._0x20ed54,_0x25e3cd-_0x4a7d47._0x41a84e,_0x262a5e);}const _0x21e0e0=[_0x5aac18(0x84e,0x5e3,_0x51fbad._0x10da10,_0x51fbad._0x257901),_0x5aac18(_0x51fbad._0x2b5117,_0x51fbad._0x42a22b,_0x51fbad._0x1bdcda,0x441),'/usr/bin/bash',_0x5aac18(0x4af,_0x51fbad._0xfc26be,0x497,0x34a)];for(const _0xd36c0b of _0x21e0e0){if(shellExists(_0xd36c0b))return _0xd36c0b;}function _0x5aac18(_0x334d89,_0x34435f,_0x583433,_0x591b36){return _0x5885dd(_0x334d89-_0x2cc54e._0x73b6d5,_0x334d89,_0x583433-_0x2cc54e._0x56f9b1,_0x583433-0x19f);}const _0x4e5243=process[_0x5aac18(_0x51fbad._0x319915,_0x51fbad._0x588120,0x6be,_0x51fbad._0x5a4b76)][_0x5aac18(_0x51fbad._0x84696,0x7a1,_0x51fbad._0xc3ca53,_0x51fbad._0x4e9fa9)];if(_0x4e5243&&shellExists(_0x4e5243))return _0x4e5243;return _0x3360e3(0x497,_0x51fbad._0x29f7b9,_0x51fbad._0x4f80d4,0x3a4);}function buildShellArgs(_0x5bd596,_0x251a26){const _0x766889={_0x2951c5:0x5f7,_0x50b7f6:0x44a,_0x4b0738:0x538,_0x1783bd:0x615,_0x50bbd6:0x7ce,_0x4d7cb4:0x6e2,_0x5d878e:0x21b},_0x5356b9={_0x132f4b:0xb8},_0x1bd64f={_0x82e616:0x514,_0x37fe45:0x135};if(_0x1ebf74['platform']()==='win32'){const _0x2a113d=/cmd(\.exe)?$/i[_0x8b5ed0(_0x766889._0x2951c5,_0x766889._0x50b7f6,0x75a,_0x766889._0x4b0738)](_0x251a26);return _0x2a113d?['/d','/s','/c',_0x5bd596]:[_0x24c557(0x7cb,0x60b,_0x766889._0x1783bd,0x8eb),_0x8b5ed0(0x6ac,_0x766889._0x50bbd6,_0x766889._0x4d7cb4,0x5eb),_0x8b5ed0(0x34b,0x2f2,0x50b,_0x766889._0x5d878e),_0x5bd596];}function _0x24c557(_0xcff14,_0x1f9022,_0x2745c7,_0x3e2013){return _0x16ac01(_0xcff14-0x1a5,_0xcff14-_0x1bd64f._0x82e616,_0x2745c7-_0x1bd64f._0x37fe45,_0x1f9022);}function _0x8b5ed0(_0x5b179b,_0x5573f0,_0x8c43c1,_0x4fb7f0){return _0x16ac01(_0x5b179b-_0x5356b9._0x132f4b,_0x5b179b-0x44f,_0x8c43c1-0x17e,_0x5573f0);}return['-c',_0x5bd596];}function resolveWorkingDirectory(_0x5d4659,_0x19587e,_0x44ecd3){const _0xdc38c4={_0x178904:0x133,_0x434368:0x91,_0x4e4328:0x18e},_0x13189d={_0x5da699:0x54c,_0x5f2157:0x668,_0x4d1858:0x5db,_0x1d9c72:0x4d4,_0xff11c5:0x5d6},_0x225ab0={_0x578d25:0x14c,_0x59d9ae:0x16b,_0x37f1f:0x157},_0xcc5f5c={_0xbc7588:0x29,_0xa32625:0x158};function _0x27fed4(_0x46eed5,_0xec0a97,_0x2e32f4,_0x313859){return _0x5885dd(_0x46eed5-_0xcc5f5c._0xbc7588,_0x46eed5,_0x2e32f4-_0xcc5f5c._0xa32625,_0x313859- -0x3ab);}function _0x32b8ec(_0x33f056,_0x3ef283,_0x64694f,_0x348d9a){return _0x5885dd(_0x33f056-_0x225ab0._0x578d25,_0x64694f,_0x64694f-_0x225ab0._0x59d9ae,_0x3ef283- -_0x225ab0._0x37f1f);}const _0x2abe01=resolveAllowedPath(_0x19587e,_0x44ecd3,_0x5d4659??'.');try{const _0x1dab8c=statSync(_0x2abe01);if(!_0x1dab8c['isDirectory']())throw new ToolExecutionError(_0x27fed4(-0x1f0,-_0xdc38c4._0x178904,-0x19a,-0x206)+_0x2abe01,{'cwd':_0x2abe01});const _0x564ad3=realpathSync(_0x2abe01),_0x5ca524=realpathSync(_0x19587e),_0x2e75dd=_0x44ecd3[_0x32b8ec(-0x6f,-0x9,_0xdc38c4._0x434368,_0xdc38c4._0x4e4328)](_0x20f373=>{const _0x251dc8={_0xef1b3c:0x165};function _0x250655(_0x5c57c0,_0x43aef5,_0x5ca7f4,_0x1a12a1){return _0x32b8ec(_0x5c57c0-0x125,_0x5c57c0-0x2c5,_0x1a12a1,_0x1a12a1-0xcb);}function _0x4428f5(_0x1590f2,_0xcd63f2,_0xb86dfa,_0x1e0989){return _0x32b8ec(_0x1590f2-_0x251dc8._0xef1b3c,_0xcd63f2-0xfe,_0x1590f2,_0x1e0989-0x1ed);}try{return realpathSync(_0x2fba8d[_0x4428f5(_0x13189d._0x5da699,0x4a1,0x3cd,0x46c)](_0x20f373));}catch{return _0x2fba8d[_0x250655(_0x13189d._0x5f2157,_0x13189d._0x4d1858,_0x13189d._0x1d9c72,_0x13189d._0xff11c5)](_0x20f373);}});return resolveAllowedPath(_0x5ca524,_0x2e75dd,_0x564ad3);}catch(_0x4ebac3){if(_0x4ebac3 instanceof ToolExecutionError)throw _0x4ebac3;throw new ToolExecutionError('Working\x20directory\x20not\x20found:\x20'+_0x2abe01,{'cwd':_0x2abe01});}}function resolveBashExecutionTarget(_0x2f2989,_0x4dca03={}){const _0x401942={_0x41df53:0x5f2,_0x5cf58d:0x540,_0x8f4cef:0x4b7,_0x187bf2:0x400,_0x4a18bb:0x5b4,_0x3fa3f1:0x480,_0x3f9f3d:0x492,_0x4b219e:0x4a3,_0x4ef203:0x54b,_0x19be07:0x75f,_0x435d89:0x65e},_0x3c64cb={_0x14d572:0xd},_0x29661f={_0x1dcacb:0x2dd};function _0x4affad(_0x5b68f2,_0x2ab925,_0x128620,_0x5ba8ee){return _0x16ac01(_0x5b68f2-0xeb,_0x5b68f2-_0x29661f._0x1dcacb,_0x128620-0x194,_0x128620);}const _0x5ca622=_0x2fba8d[_0x4affad(0x548,_0x401942._0x41df53,_0x401942._0x5cf58d,0x3ae)](_0x4dca03[_0x30304a(_0x401942._0x8f4cef,_0x401942._0x187bf2,_0x401942._0x4a18bb,0x571)]??process[_0x30304a(_0x401942._0x3fa3f1,0x3da,_0x401942._0x3f9f3d,0x399)]());function _0x30304a(_0x1b6ea,_0x1106a5,_0x242d02,_0x2b5814){return _0x5885dd(_0x1b6ea-_0x3c64cb._0x14d572,_0x1106a5,_0x242d02-0x1d9,_0x2b5814-0x205);}const _0x32a710=resolveDefaultShell(_0x4dca03['shellPath']);return{'command':_0x2f2989[_0x30304a(_0x401942._0x4b219e,_0x401942._0x4ef203,_0x401942._0x19be07,_0x401942._0x435d89)],'cwd':resolveWorkingDirectory(_0x2f2989[_0x30304a(0x34c,0x22a,0x4f0,0x399)],_0x5ca622,_0x4dca03['allowedDirs']??[]),'shellPath':_0x32a710,'dialect':resolveShellDialect(_0x32a710),'background':_0x2f2989['runInBackground']??![]};}function resolveShellDialect(_0x59d5dd){const _0x39c7b4={_0x4fc440:0x6d6,_0x111c8:0x5c0,_0x2c8f25:0x758,_0x2a264e:0x5b2,_0x252f04:0x6b6,_0x56d45d:0x695,_0xaf406b:0x238,_0x19d079:0x4fb,_0x325a7c:0x5fa,_0x3c3945:0x752,_0xb429d9:0x880,_0x56f829:0x8a5,_0x195e97:0x34c,_0x315515:0x284,_0x3701a2:0x273,_0x4dad14:0xfa,_0x5babbf:0xc0,_0x119c81:0x475},_0x4e9917={_0x127548:0x1b0,_0x4fc72c:0x175};if(_0x1ebf74[_0x4771d6(0x8db,_0x39c7b4._0x4fc440,0x4d3,0x706)]()===_0x4771d6(0x7c8,_0x39c7b4._0x111c8,_0x39c7b4._0x2c8f25,0x52e))return _0x4771d6(_0x39c7b4._0x2a264e,_0x39c7b4._0x252f04,0x55f,_0x39c7b4._0x56d45d);function _0x23fc8d(_0x40c0f0,_0x34fc90,_0xf8e007,_0x389f30){return _0x5885dd(_0x40c0f0-_0x4e9917._0x127548,_0x389f30,_0xf8e007-_0x4e9917._0x4fc72c,_0xf8e007- -0xf2);}const _0x376e9f=_0x2fba8d[_0x23fc8d(_0x39c7b4._0xaf406b,_0x39c7b4._0x19d079,0x3eb,_0x39c7b4._0x325a7c)](_0x59d5dd)['toLowerCase']();function _0x4771d6(_0x1ac64f,_0xc0a63b,_0x1501d8,_0xda073e){return _0x16ac01(_0x1ac64f-0x18,_0xc0a63b-0x61e,_0x1501d8-0x26,_0xda073e);}if(_0x376e9f===_0x4771d6(0x66c,_0x39c7b4._0x3c3945,_0x39c7b4._0xb429d9,_0x39c7b4._0x56f829))return _0x23fc8d(_0x39c7b4._0x195e97,0x17f,0x2d1,_0x39c7b4._0x315515);if(_0x376e9f==='sh'||_0x376e9f===_0x23fc8d(0x214,_0x39c7b4._0x3701a2,_0x39c7b4._0x4dad14,_0x39c7b4._0x5babbf))return'posix';return _0x23fc8d(0x3f0,0x33d,_0x39c7b4._0x119c81,0x37f);}function emitChunk(_0x2c3ce5,_0x2ad01f,_0x5dc2e2,_0x43dd9e){const _0x5851c7={_0x4cdf88:0x27e,_0x3ef6cc:0x143},_0x10f0ac={_0xea2f1f:0xd4,_0x28649a:0x11a};_0x2c3ce5[_0x4fbb07(_0x5851c7._0x4cdf88,0x81,_0x5851c7._0x3ef6cc,0x2aa)](_0x5dc2e2);function _0x4fbb07(_0x47dc9a,_0x1d14b5,_0xb930a4,_0x2e6268){return _0x5885dd(_0x47dc9a-_0x10f0ac._0xea2f1f,_0x2e6268,_0xb930a4-_0x10f0ac._0x28649a,_0xb930a4- -0xc3);}_0x2ad01f['push'](_0x5dc2e2),_0x43dd9e();}function appendChunk(_0x53a8f3,_0x53216b,_0xfa9086,_0x581efd,_0x2d4b12,_0x890e7e){const _0x44490b={_0x4570d3:0x703,_0x4cf8db:0x415,_0x15ca0e:0x451,_0x593dfb:0x540,_0x182246:0x460,_0xd078a5:0x4b7,_0x19d9e3:0x245,_0x53a7fd:0x127,_0x5025ec:0x2e0,_0x43b878:0x6ff,_0x2c06f8:0x465,_0x3f3961:0x716,_0x10062f:0x446,_0x2cf072:0x473,_0x21c7a0:0x469,_0x22b7ca:0x5db,_0x4940c5:0x1a6,_0xab98fa:0x27d,_0x4fa978:0x533,_0x5e93cc:0x2a6},_0x14fbd5={_0x2a19fb:0x4df,_0x5e3d5f:0x1a3},_0x4fc165={_0x5276f6:0x1b2,_0xa0ac10:0x1c7};function _0x4fb7be(_0x21df70,_0x25cf5d,_0x528c23,_0x19a723){return _0x16ac01(_0x21df70-_0x4fc165._0x5276f6,_0x19a723-0x444,_0x528c23-_0x4fc165._0xa0ac10,_0x21df70);}const _0x5c4668=_0x581efd?stripAnsiAndControls(_0xfa9086):_0xfa9086;if(_0x5c4668[_0x4fb7be(_0x44490b._0x4570d3,_0x44490b._0x4cf8db,_0x44490b._0x15ca0e,_0x44490b._0x593dfb)]===0x0)return;if(!_0x890e7e){emitChunk(_0x53a8f3,_0x53216b,_0x5c4668,_0x2d4b12);return;}let _0x492ed0=0x0;function _0x590b1f(_0x26f6b7,_0x4c9c9a,_0x46af6d,_0x3e5858){return _0x16ac01(_0x26f6b7-0x172,_0x46af6d-_0x14fbd5._0x2a19fb,_0x46af6d-_0x14fbd5._0x5e3d5f,_0x4c9c9a);}let _0x3a97dd=_0x5c4668['indexOf']('\x0a');while(_0x3a97dd>=0x0){_0x890e7e['trailingChunks'][_0x590b1f(0x474,0x62f,0x456,_0x44490b._0x182246)](_0x5c4668[_0x4fb7be(0x350,0x4f6,_0x44490b._0xd078a5,0x346)](_0x492ed0,_0x3a97dd));const _0x332342=_0x890e7e[_0x4fb7be(_0x44490b._0x19d9e3,_0x44490b._0x53a7fd,_0x44490b._0x5025ec,0x2fc)][_0x590b1f(0x800,0x5b9,0x6e5,_0x44490b._0x43b878)]('');_0x890e7e['trailingChunks'][_0x4fb7be(_0x44490b._0x2c06f8,0x585,_0x44490b._0x3f3961,_0x44490b._0x593dfb)]=0x0,_0x890e7e['regex']['test'](_0x332342)&&emitChunk(_0x53a8f3,_0x53216b,_0x332342+'\x0a',_0x2d4b12),_0x492ed0=_0x3a97dd+0x1,_0x3a97dd=_0x5c4668[_0x590b1f(0x35e,0x447,_0x44490b._0x10062f,_0x44490b._0x2cf072)]('\x0a',_0x492ed0);}_0x492ed0<_0x5c4668[_0x590b1f(0x59d,_0x44490b._0x21c7a0,_0x44490b._0x22b7ca,0x4d1)]&&_0x890e7e[_0x4fb7be(_0x44490b._0x4940c5,_0x44490b._0xab98fa,0x409,0x2fc)][_0x4fb7be(0x21c,0x1b7,0x4ad,0x3bb)](_0x5c4668[_0x590b1f(0x35f,_0x44490b._0x4fa978,0x3e1,_0x44490b._0x5e93cc)](_0x492ed0));}function flushOutputRegex(_0x2716b5,_0x35259b,_0x429cd6,_0x2cc269){const _0x39c631={_0x5dedce:0x2b4,_0x50f966:0x38f,_0x26e18d:0x372,_0x560941:0x3a3,_0x269389:0x3e4,_0x3bacf5:0x55,_0x594935:0x179},_0x17f090={_0xd14cd2:0x12a,_0x25f314:0x128},_0x5c7235={_0x311086:0x43,_0x4ecaa2:0x4};function _0x34c978(_0x37636c,_0x2c38af,_0x2627d1,_0x22a752){return _0x5885dd(_0x37636c-0x36,_0x22a752,_0x2627d1-_0x5c7235._0x311086,_0x2c38af-_0x5c7235._0x4ecaa2);}if(!_0x429cd6||_0x429cd6['trailingChunks'][_0x34c978(_0x39c631._0x5dedce,_0x39c631._0x50f966,0x39c,0x56c)]===0x0)return;const _0x553700=_0x429cd6[_0x34c978(-0x35,0x14b,0x6c,0x173)][_0x301289(_0x39c631._0x26e18d,_0x39c631._0x560941,_0x39c631._0x269389,0x2a4)]('');function _0x301289(_0x2b4946,_0x26c98e,_0x11a295,_0x47164c){return _0x5885dd(_0x2b4946-_0x17f090._0xd14cd2,_0x11a295,_0x11a295-_0x17f090._0x25f314,_0x26c98e- -0xf2);}_0x429cd6[_0x301289(0x22,_0x39c631._0x3bacf5,-0x142,-0x6f)][_0x301289(_0x39c631._0x594935,0x299,0x351,0x386)]=0x0,_0x429cd6['regex']['test'](_0x553700)&&emitChunk(_0x2716b5,_0x35259b,_0x553700,_0x2cc269);}function createBashTool(_0x59ea4b={}){const _0x26aed4={_0x551f1e:0x3f7,_0x2713c1:0x589,_0x43a8df:0x676,_0x418c00:0x379,_0x17f62b:0x29f,_0x49245c:0x38a,_0x5b1c03:0x64b,_0xbf3378:0x332,_0x4a8321:0x575,_0x548145:0x3e4,_0x534cdb:0x6f4,_0x370fe5:0x2e1,_0x49b157:0x1d7,_0xe86809:0x13e,_0x18017a:0x339,_0x57880a:0x2bd,_0x3910a3:0x18b,_0x3f4dff:0x520,_0x5af2d5:0x61f,_0x2985fd:0x41d,_0x2eec8d:0x3f8,_0x3873b1:0x575,_0x313345:0x36b,_0x24a456:0x432,_0x209a00:0x38f,_0x3c0a97:0x378,_0x1e3de8:0x707,_0x31fe38:0x609,_0x2e9f81:0x64a,_0x2a021c:0x33b,_0x5e792a:0x2c1,_0x37ad18:0x258,_0x2923aa:0xbb,_0x4b3a6b:0x46e,_0x1d9c25:0x468,_0x5e54b0:0x4e8,_0xae9a15:0x2f8},_0x47a0e8={_0x620418:0x122,_0x5ae04a:0x172,_0x44e48c:0x1d3,_0x49afc3:0x568,_0x2c91ae:0x12,_0x2f217d:0x188,_0x40903b:0x12d,_0x3b2910:0xe,_0x14e671:0x2e,_0x4152c:0x34a,_0x4de58b:0x281,_0x323059:0x5d8,_0x3e305b:0x56d,_0x1837b8:0x501,_0x29dca7:0x584,_0x49c85f:0x387,_0x2053ed:0x583,_0x212889:0x769,_0x311925:0xd4,_0x2e4240:0x1e7,_0xb57086:0x51c,_0x214d8d:0x40c,_0x14603b:0x33d,_0x502c3a:0x195,_0x4344fb:0x3b0,_0x3e4d7c:0x254,_0x41f7e1:0x24a,_0x203387:0x115,_0x265ee2:0x1aa,_0x2bb1f2:0x3e,_0x1b1dee:0xb2,_0x58efd6:0x29d,_0x48083c:0x188,_0x57e692:0x512,_0x5d4378:0x2b3,_0x5ee60c:0x88,_0x26da54:0x3b5,_0x516e59:0x1d5,_0x28f115:0x36,_0x2d8920:0x1c4,_0x1999c4:0xcc,_0x57035c:0x52,_0x19768a:0x8a,_0x395396:0x70,_0x185078:0x12b,_0x189387:0x2ad,_0x40cfc5:0x4c2,_0x392030:0x579,_0x5d7502:0x42c,_0xc38761:0x144,_0x3aa5b2:0x2f,_0x11202b:0x6cd,_0x548577:0x560,_0x201a32:0x203,_0xb90bbb:0x85,_0x5ea2ae:0xed,_0x2ae880:0x5e,_0x29951b:0x391,_0x119684:0x249,_0x563b55:0x263,_0x3edcac:0x2c7,_0x5a5f3d:0x4dd,_0x104851:0x374,_0x3a4330:0x24b,_0x41079b:0x216,_0x21b3e8:0x1a,_0x405978:0x4c,_0x2b0e50:0x190,_0x1a435d:0x66,_0x254810:0xd8,_0x401ff0:0x3d7,_0x3a57c8:0x33d,_0x236d87:0x290,_0x1e4738:0x73,_0x6fb8ea:0x145,_0x4a2f80:0x1d2,_0x42b729:0x10d,_0x47f03d:0x39a,_0x584f85:0x406,_0x387536:0x3cd,_0x9eaffb:0x4e9,_0x3041bf:0x528,_0x458dbf:0x82,_0x496101:0x168,_0x1a4989:0xde,_0x1dfc5f:0x470,_0xb08a56:0x33d,_0xd48cfd:0x3e1,_0x326c52:0xba,_0x3b3c98:0x519,_0xf08705:0x45a,_0x24a237:0x28e,_0x5ed03c:0x531,_0x4549b8:0x21e,_0xec7e42:0x116,_0x5f59e4:0x5d3,_0x2a0777:0xa5,_0x300e39:0x182,_0x91934f:0x6,_0x5c5246:0x103,_0x29e766:0x189,_0x35f492:0x3d,_0xf0c14c:0x63,_0x5964df:0xa0,_0x3ef9bc:0x31,_0x10c7f6:0x2c,_0x56ac6e:0x1af,_0x428077:0x7f,_0x506e18:0x155,_0x229faf:0xc6,_0x374cc5:0x4d7,_0x27934d:0x8f,_0x11ac1e:0x313,_0x59c769:0x1e8,_0x2c8f4f:0x21b,_0x248fb3:0x500,_0x48f542:0x3f0,_0x1055c8:0x447,_0x3ac61f:0x5f9,_0x430ef2:0x518,_0x71639b:0x50d,_0xb5d23d:0x2,_0x219da3:0x18f,_0x4fea32:0x16d,_0xcc7b3b:0x2f0},_0x11c129={_0x31530e:0xcf,_0xbf4ce2:0x124,_0x2bf04e:0xf5,_0x431566:0x425,_0x129622:0x45b,_0x3c2b50:0x365,_0xcb1478:0x32e,_0x5c620e:0x168},_0x3a02c4={_0x2cb5f8:0x2fc,_0x5a1e85:0x1a3,_0x392ffb:0x117},_0x424d86={_0x1bcdd6:0x237,_0x40af02:0xd9},_0x3f170={_0x28df12:0x439},_0x291dcf={_0x14f5aa:0x3b},_0x5ae43e={_0x62b46b:0x195,_0x23a63e:0x11f},_0x49ef6b={_0x420493:0x48,_0x1b43ce:0x168};function _0x52a3ca(_0x1eb799,_0x50cac4,_0x4f9468,_0x461c48){return _0x5885dd(_0x1eb799-0xc6,_0x50cac4,_0x4f9468-_0x49ef6b._0x420493,_0x1eb799- -_0x49ef6b._0x1b43ce);}function _0x733099(_0x2bb1c4,_0x39c40b,_0x49b9ec,_0x2ff6d3){return _0x16ac01(_0x2bb1c4-_0x5ae43e._0x62b46b,_0x39c40b-0x31e,_0x49b9ec-_0x5ae43e._0x23a63e,_0x49b9ec);}const _0x2e316a=_0x2fba8d[_0x733099(_0x26aed4._0x551f1e,_0x26aed4._0x2713c1,0x61a,_0x26aed4._0x43a8df)](_0x59ea4b[_0x52a3ca(0x204,0x2e2,_0x26aed4._0x418c00,_0x26aed4._0x17f62b)]??process[_0x733099(0x323,0x223,0x181,0x219)]()),_0x1fa79f=_0x59ea4b[_0x733099(0x2be,_0x26aed4._0x49245c,0x43d,0x1c5)]??[],_0x21a389=_0x59ea4b[_0x733099(_0x26aed4._0x5b1c03,0x562,0x3ec,0x350)]??DEFAULT_TIMEOUT_MS,_0x3f4d02=_0x59ea4b[_0x52a3ca(0x3c8,_0x26aed4._0xbf3378,_0x26aed4._0x4a8321,0x558)]??!![],_0xe97f89=_0x59ea4b[_0x733099(0x437,0x535,_0x26aed4._0x548145,_0x26aed4._0x534cdb)]??_0x733099(0x557,0x36d,0x3ce,_0x26aed4._0x370fe5),_0x57bf71=_0x59ea4b[_0x52a3ca(_0x26aed4._0x49b157,0x176,_0x26aed4._0xe86809,0x213)]??[],_0x5c2aa2=_0x59ea4b['scrubEnvPrefixes']??[],_0x5f7271=_0x59ea4b['backgroundRegistry'];return defineTool({'name':_0xe97f89,'permissionClass':_0x733099(0x401,_0x26aed4._0x18017a,0x3d3,_0x26aed4._0x57880a),'description':_0x59ea4b[_0x733099(0x556,0x366,_0x26aed4._0x3910a3,_0x26aed4._0x3f4dff)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x733099(_0x26aed4._0x5af2d5,0x5ba,0x4f3,_0x26aed4._0x2985fd),'properties':{'command':{'type':'string'},'description':{'type':_0x733099(_0x26aed4._0x2eec8d,0x575,0x4f1,0x513),'description':'User-facing\x20purpose:\x20what\x20the\x20command\x20does\x20and\x20the\x20goal\x20it\x20advances,\x20e.g.\x20\x27Run\x20auth\x20tests\x20to\x20verify\x20the\x20refresh\x20fix\x27.'},'cwd':{'type':_0x733099(0x69d,_0x26aed4._0x3873b1,_0x26aed4._0x313345,0x69d)},'timeoutMs':{'type':_0x733099(_0x26aed4._0x24a456,_0x26aed4._0x209a00,_0x26aed4._0x3c0a97,0x4ee)},'ignoreOutput':{'type':'boolean'},'outputRegex':{'type':_0x733099(_0x26aed4._0x1e3de8,0x575,_0x26aed4._0x31fe38,_0x26aed4._0x2e9f81),'description':_0x52a3ca(0x29e,0x32a,0x167,_0x26aed4._0x2a021c)},'runInBackground':{'type':_0x52a3ca(_0x26aed4._0x5e792a,_0x26aed4._0x37ad18,_0x26aed4._0x2923aa,_0x26aed4._0x4b3a6b)}},'required':[_0x733099(_0x26aed4._0x1d9c25,_0x26aed4._0x5e54b0,0x388,_0x26aed4._0xae9a15),'description']},async *'execute'(_0x3c7970,_0x3ef91c){const _0x4c5f0a={_0x10cc30:0x9a,_0x453ae2:0x97},_0x392853={_0x3db197:0x3ea,_0x393a52:0x492,_0x3186c5:0x479},_0x4000e9={_0x4bc035:0x240,_0x59c45c:0x290,_0x57600c:0x14d,_0x47d7c2:0x16e,_0x5e804b:0x2a9,_0x1254f0:0x10c},_0x4aabbe={_0x429766:0x19d,_0xe8ad3a:0x321,_0x59a8ea:0x7e},_0x3cf6cf={_0x2cf628:0xe6,_0x279675:0x152},_0x26a493={_0x5219e5:0x29f,_0x167dbf:0xaa},_0x43700d={_0x57f8ad:0x3c2},_0xfed716=_0x3c7970['timeoutMs']??_0x21a389;function _0x420825(_0x7a123d,_0x38e342,_0x3ed4b0,_0x4cce4a){return _0x733099(_0x7a123d-_0x291dcf._0x14f5aa,_0x3ed4b0- -0x360,_0x38e342,_0x4cce4a-0x15a);}if(!Number[_0x420825(-0x71,_0x47a0e8._0x620418,_0x47a0e8._0x5ae04a,_0x47a0e8._0x44e48c)](_0xfed716)||_0xfed716<0x1)throw new ToolExecutionError(_0x5a7773(0x705,0x73e,0x5e4,_0x47a0e8._0x49afc3),{'command':_0x3c7970[_0x420825(_0x47a0e8._0x2c91ae,0x19e,_0x47a0e8._0x2f217d,0x391)]});throwIfAborted(_0x3ef91c[_0x420825(_0x47a0e8._0x40903b,0xeb,-0x63,-0x19e)]);const _0x9d311b=_0x3c7970[_0x420825(_0x47a0e8._0x3b2910,-0x9e,0xc1,_0x47a0e8._0x14e671)]??![],_0x247836=resolveBashExecutionTarget(_0x3c7970,{'defaultCwd':_0x2e316a,'allowedDirs':_0x1fa79f,'shellPath':_0x59ea4b[_0x420825(0x178,_0x47a0e8._0x4152c,_0x47a0e8._0x4de58b,0x180)]}),{cwd:_0x384d2a,shellPath:_0x997678}=_0x247836,_0x1d9386=buildShellArgs(_0x3c7970['command'],_0x997678),_0x24f2dc=_0x1ebf74['platform']()==='win32',_0x4947bb=buildChildEnv(_0x59ea4b[_0x5a7773(_0x47a0e8._0x323059,_0x47a0e8._0x3e305b,0x5ee,_0x47a0e8._0x1837b8)],_0x57bf71,_0x5c2aa2);if(_0x3c7970['runInBackground']){if(!_0x5f7271)throw new ToolExecutionError(_0x5a7773(_0x47a0e8._0x29dca7,_0x47a0e8._0x49c85f,_0x47a0e8._0x2053ed,_0x47a0e8._0x212889),{'command':_0x3c7970[_0x420825(0x288,_0x47a0e8._0x311925,0x188,_0x47a0e8._0x2e4240)]});throwIfAborted(_0x3ef91c[_0x5a7773(_0x47a0e8._0xb57086,_0x47a0e8._0x214d8d,_0x47a0e8._0x14603b,0x1de)]),await _0x59ea4b['verifyExecution']?.(_0x247836,_0x3ef91c[_0x420825(_0x47a0e8._0x502c3a,_0x47a0e8._0x4344fb,_0x47a0e8._0x3e4d7c,0x274)],_0x3ef91c),throwIfAborted(_0x3ef91c[_0x420825(-0x1b8,0x1c,-0x63,0x64)]);const _0xb5adca=_0x5f7271['reserve']();let _0x3f853c;try{_0x3f853c=_0x2fce51(_0x997678,_0x1d9386,{'cwd':_0x384d2a,'env':_0x4947bb,'stdio':[_0x420825(-_0x47a0e8._0x41f7e1,-_0x47a0e8._0x203387,-0x145,-_0x47a0e8._0x265ee2),_0x420825(_0x47a0e8._0x2bb1f2,-0xb1,0x66,0x16a),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x24f2dc});}catch(_0x1f3bae){_0x5f7271[_0x5a7773(0x268,_0x47a0e8._0x1b1dee,_0x47a0e8._0x58efd6,0x2a0)](_0xb5adca);throw mapSpawnError(_0x1f3bae,{'command':_0x3c7970[_0x420825(0x2e0,0x131,_0x47a0e8._0x48083c,0x106)],'cwd':_0x384d2a,'shellPath':_0x997678});}let _0x339146;try{_0x339146=_0x5f7271[_0x5a7773(_0x47a0e8._0x57e692,0x6b4,0x609,0x40a)](_0xb5adca,{'child':_0x3f853c,'command':_0x3c7970[_0x420825(_0x47a0e8._0x5d4378,-_0x47a0e8._0x5ee60c,0x188,0x36b)],'cwd':_0x384d2a,'stripAnsi':_0x3f4d02,...!_0x24f2dc&&_0x3f853c[_0x5a7773(0x4ca,0x3f2,_0x47a0e8._0x26da54,0x557)]!==void 0x0?{'processGroupId':_0x3f853c[_0x5a7773(0x525,0x3ba,0x3b5,_0x47a0e8._0x516e59)]}:{}});}catch(_0x15bbe6){_0x5f7271[_0x420825(-_0x47a0e8._0x28f115,-0x1ee,-0x103,-_0x47a0e8._0x2d8920)](_0xb5adca),_0x3f853c[_0x420825(-_0x47a0e8._0x1999c4,-_0x47a0e8._0x57035c,_0x47a0e8._0x19768a,-0xb2)](_0x420825(-_0x47a0e8._0x395396,_0x47a0e8._0x185078,0x170,_0x47a0e8._0x189387),()=>{});try{killProcessGroup(_0x3f853c,_0x24f2dc);}catch{}throw _0x15bbe6;}return createToolOutput('Started\x20background\x20process\x20'+_0x339146[_0x5a7773(0x657,0x467,_0x47a0e8._0x40cfc5,_0x47a0e8._0x392030)]+_0x420825(0x27a,_0x47a0e8._0x5d7502,0x283,_0x47a0e8._0xc38761)+(_0x339146[_0x420825(-0x11f,-_0x47a0e8._0x3aa5b2,0x15,-0x80)]??'?')+').\x20Use\x20BashOutput\x20to\x20read\x20its\x20output\x20and\x20KillShell\x20to\x20stop\x20it.',{'shellId':_0x339146[_0x5a7773(_0x47a0e8._0x11202b,0x62d,0x4c2,_0x47a0e8._0x548577)],'status':_0x339146[_0x420825(-_0x47a0e8._0x201a32,_0x47a0e8._0xb90bbb,-_0x47a0e8._0x5ea2ae,-0x86)],'command':_0x339146['command'],'description':_0x3c7970[_0x420825(-0x191,_0x47a0e8._0x2ae880,0x6,-0x20c)],'cwd':_0x339146[_0x5a7773(_0x47a0e8._0x29951b,_0x47a0e8._0x119684,_0x47a0e8._0x563b55,0x2cc)],'pid':_0x339146['pid']??null});}let _0x4055ce,_0x91c731;if(_0x3c7970[_0x5a7773(_0x47a0e8._0x3edcac,0x46d,0x374,0x3ec)]!==void 0x0)try{const _0x400550=new RegExp(_0x3c7970[_0x5a7773(0x53d,_0x47a0e8._0x5a5f3d,_0x47a0e8._0x104851,_0x47a0e8._0x3a4330)]);_0x4055ce={'regex':_0x400550,'trailingChunks':[]},_0x91c731={'regex':_0x400550,'trailingChunks':[]};}catch(_0x3ce3ed){throw new ToolExecutionError(_0x420825(0x1ff,0x31e,_0x47a0e8._0x41079b,0x10f)+(_0x3ce3ed instanceof Error?_0x3ce3ed[_0x420825(_0x47a0e8._0x21b3e8,0xe7,_0x47a0e8._0x405978,_0x47a0e8._0x2b0e50)]:String(_0x3ce3ed)),{'command':_0x3c7970[_0x420825(_0x47a0e8._0x1a435d,_0x47a0e8._0x254810,_0x47a0e8._0x2f217d,0x39b)],'outputRegex':_0x3c7970[_0x420825(-0x108,-0x27,-0x2c,0xb0)]});}await _0x59ea4b['verifyExecution']?.(_0x247836,_0x3ef91c['executionAuthorization'],_0x3ef91c),throwIfAborted(_0x3ef91c[_0x5a7773(_0x47a0e8._0x401ff0,0x431,_0x47a0e8._0x3a57c8,0x252)]);let _0x70ff4f;try{_0x70ff4f=_0x2fce51(_0x997678,_0x1d9386,{'cwd':_0x384d2a,'env':_0x4947bb,'stdio':_0x9d311b?[_0x420825(0x58,-_0x47a0e8._0x236d87,-0x145,-_0x47a0e8._0x1e4738),'ignore','ignore']:[_0x420825(0xab,-0x13a,-_0x47a0e8._0x6fb8ea,-_0x47a0e8._0x4a2f80),_0x420825(0xb6,-_0x47a0e8._0x42b729,0x66,-0xd),_0x5a7773(0x2ff,_0x47a0e8._0x47f03d,_0x47a0e8._0x584f85,_0x47a0e8._0x387536)],'shell':![],'windowsHide':!![],'detached':!_0x24f2dc});}catch(_0x3172cb){throw mapSpawnError(_0x3172cb,{'command':_0x3c7970[_0x5a7773(_0x47a0e8._0x9eaffb,0x513,_0x47a0e8._0x3041bf,0x5ae)],'cwd':_0x384d2a,'shellPath':_0x997678});}const _0x145533=[],_0x227f7c=[],_0x20741d=new _0x24ef57('utf8'),_0x453d4a=new _0x24ef57('utf8');let _0x5d77eb,_0x365e66=![],_0x459378;const _0x445bf3=()=>{if(!_0x5d77eb)return;const _0xe036b6=_0x5d77eb;_0x5d77eb=void 0x0,_0xe036b6();},_0x509907=async()=>{function _0x1fbd0c(_0x53acfd,_0x2e282c,_0x25c63d,_0x485863){return _0x5a7773(_0x25c63d,_0x2e282c-0x16c,_0x53acfd- -0x193,_0x485863-0x1e2);}if(_0x227f7c[_0x1fbd0c(0x2c7,0x14b,_0x43700d._0x57f8ad,0x22c)]>0x0||_0x365e66)return;await new Promise(_0x26090e=>{_0x5d77eb=_0x26090e;});},_0x135693=_0x201f30=>{function _0x55e7d1(_0x3f4ed5,_0x42fb51,_0x47b08d,_0x14c5c2){return _0x420825(_0x3f4ed5-0xe7,_0x47b08d,_0x3f4ed5-0x346,_0x14c5c2-0xf1);}appendChunk(_0x145533,_0x227f7c,_0x20741d[_0x55e7d1(0x276,_0x26a493._0x5219e5,0x335,_0x26a493._0x167dbf)](_0x201f30),_0x3f4d02,_0x445bf3,_0x4055ce);},_0x2120f9=_0x3b09d5=>{function _0x593b32(_0x5ccf00,_0x36e12b,_0x1c8c65,_0x312722){return _0x5a7773(_0x312722,_0x36e12b-_0x3cf6cf._0x2cf628,_0x1c8c65-0x1a7,_0x312722-_0x3cf6cf._0x279675);}appendChunk(_0x145533,_0x227f7c,_0x453d4a[_0x593b32(_0x3f170._0x28df12,0x3c3,0x477,0x5fd)](_0x3b09d5),_0x3f4d02,_0x445bf3,_0x91c731);};function _0x5a7773(_0x41788a,_0x502ec1,_0x5233af,_0x271c2a){return _0x52a3ca(_0x5233af-_0x424d86._0x1bcdd6,_0x41788a,_0x5233af-_0x424d86._0x40af02,_0x271c2a-0x99);}_0x70ff4f['stdout']?.['on'](_0x420825(_0x47a0e8._0x458dbf,_0x47a0e8._0x496101,-0x2,-0x12e),_0x135693),_0x70ff4f[_0x420825(0x25e,-0x109,_0x47a0e8._0x1a4989,-0xa)]?.['on']('data',_0x2120f9);let _0x5ce08e=![],_0x5b9ceb;const _0x37d56a=addAbortListener(_0x3ef91c[_0x5a7773(_0x47a0e8._0x1dfc5f,0x51a,_0x47a0e8._0xb08a56,_0x47a0e8._0xd48cfd)],()=>{_0x459378=toAbortError(_0x3ef91c['signal'][_0x273834(0x2ac,_0x3a02c4._0x2cb5f8,_0x3a02c4._0x5a1e85,_0x3a02c4._0x392ffb)]),_0x365e66=!![];function _0x273834(_0x1808ec,_0x115277,_0xe4e39e,_0x5988bc){return _0x420825(_0x1808ec-_0x4aabbe._0x429766,_0x5988bc,_0xe4e39e-_0x4aabbe._0xe8ad3a,_0x5988bc-_0x4aabbe._0x59a8ea);}_0x445bf3();try{killProcessGroup(_0x70ff4f,_0x24f2dc);}catch{}});try{const _0x47c47d=new Promise((_0x1bc344,_0x28258b)=>{const _0x12309f={_0x548da7:0x222},_0x2d954f={_0xd5df5e:0x91,_0x401066:0x31,_0x566c07:0x2b},_0x150f88={_0x6da6e4:0x255},_0x234323=()=>{function _0x44ad74(_0xd47e1c,_0xe13287,_0xa887a5,_0x1dba65){return _0xa933(_0xd47e1c- -_0x150f88._0x6da6e4,_0xa887a5);}_0x5b9ceb&&(clearTimeout(_0x5b9ceb),_0x5b9ceb=void 0x0);_0x70ff4f[_0x4e2c3c(_0x4000e9._0x4bc035,_0x4000e9._0x59c45c,0x2a5,0x348)]('error',_0x219792);function _0x4e2c3c(_0x481d2c,_0x571425,_0x3fa247,_0x1070a0){return _0xa933(_0x3fa247- -0x1c8,_0x481d2c);}_0x70ff4f[_0x44ad74(0x218,_0x4000e9._0x57600c,0x37f,0x2b6)](_0x44ad74(_0x4000e9._0x47d7c2,_0x4000e9._0x5e804b,0x1af,_0x4000e9._0x1254f0),_0x162962);};function _0x35f0f7(_0x4c8c7c,_0xdbbb59,_0x16e0dd,_0x2a35a0){return _0x5a7773(_0x2a35a0,_0xdbbb59-_0x2d954f._0xd5df5e,_0xdbbb59-_0x2d954f._0x401066,_0x2a35a0-_0x2d954f._0x566c07);}const _0x219792=_0x30e90d=>{_0x365e66=!![],_0x445bf3(),_0x234323(),_0x28258b(_0x459378??_0x30e90d);},_0x162962=(_0x2a3639,_0x5c9ddd)=>{_0x5ce08e=!![],appendChunk(_0x145533,_0x227f7c,_0x20741d[_0x3d8ded(_0x392853._0x3db197,0x68a,_0x392853._0x393a52,_0x392853._0x3186c5)](),_0x3f4d02,_0x445bf3,_0x4055ce);function _0x3d8ded(_0x207f2f,_0x5e58bd,_0x6833ec,_0xfa4d7c){return _0xa933(_0xfa4d7c-_0x12309f._0x548da7,_0x6833ec);}appendChunk(_0x145533,_0x227f7c,_0x453d4a['end'](),_0x3f4d02,_0x445bf3,_0x91c731),flushOutputRegex(_0x145533,_0x227f7c,_0x4055ce,_0x445bf3),flushOutputRegex(_0x145533,_0x227f7c,_0x91c731,_0x445bf3),_0x365e66=!![],_0x445bf3(),_0x234323();if(_0x459378){_0x28258b(_0x459378);return;}_0x1bc344({'code':_0x2a3639,'signal':_0x5c9ddd});};function _0x546800(_0x4bf145,_0x41b68f,_0xe7105,_0x13d721){return _0x420825(_0x4bf145-0xaf,_0x4bf145,_0x41b68f-_0x4c5f0a._0x10cc30,_0x13d721-_0x4c5f0a._0x453ae2);}_0x5b9ceb=setTimeout(()=>{_0x365e66=!![],_0x445bf3(),_0x234323();try{killProcessGroup(_0x70ff4f,_0x24f2dc);}catch{}_0x28258b(new ToolExecutionError('Command\x20timed\x20out\x20after\x20'+_0xfed716+'\x20ms',{'command':_0x3c7970['command'],'cwd':_0x384d2a,'shellPath':_0x997678,'timeoutMs':_0xfed716,'timedOut':!![]}));},_0xfed716),_0x70ff4f[_0x546800(-_0x11c129._0x31530e,_0x11c129._0xbf4ce2,_0x11c129._0x2bf04e,0x88)](_0x35f0f7(0x49f,0x541,0x6cc,0x400),_0x219792),_0x70ff4f[_0x35f0f7(_0x11c129._0x431566,_0x11c129._0x129622,_0x11c129._0x3c2b50,0x66c)](_0x546800(_0x11c129._0xcb1478,_0x11c129._0x5c620e,0x1fb,0x2c5),_0x162962);});while(_0x227f7c[_0x420825(-0xe9,-0x19,_0x47a0e8._0x326c52,-0x13)]>0x0||!_0x365e66){if(_0x227f7c[_0x5a7773(_0x47a0e8._0x3b3c98,0x500,_0x47a0e8._0xf08705,_0x47a0e8._0x24a237)]===0x0){await _0x509907();continue;}const _0xbbf84c=_0x227f7c[_0x5a7773(0x699,_0x47a0e8._0x5ed03c,0x588,0x5f9)]();_0xbbf84c!==void 0x0&&(yield _0xbbf84c);}const _0xf4b483=await _0x47c47d,_0x41ab0f=_0x9d311b?_0x420825(0xe3,0x345,_0x47a0e8._0x4549b8,0x3f)+(_0xf4b483[_0x420825(_0x47a0e8._0xec7e42,-0x91,0xf9,0x1f1)]??0x0):_0x145533['join'](''),_0x7d0a6a={'command':_0x3c7970[_0x5a7773(0x579,0x34a,0x528,_0x47a0e8._0x5f59e4)],'description':_0x3c7970[_0x420825(-_0x47a0e8._0x2a0777,_0x47a0e8._0x300e39,_0x47a0e8._0x91934f,0xee)],'cwd':_0x384d2a,'exitCode':_0xf4b483[_0x420825(-_0x47a0e8._0x5c5246,0x9a,0xf9,0x1ce)]??0x0,'signal':_0xf4b483[_0x420825(_0x47a0e8._0x29e766,_0x47a0e8._0x35f492,-_0x47a0e8._0xf0c14c,-_0x47a0e8._0x5964df)],'ignoreOutput':_0x9d311b,'outputRegex':_0x3c7970[_0x420825(-_0x47a0e8._0x3ef9bc,0x91,-_0x47a0e8._0x10c7f6,-_0x47a0e8._0x56ac6e)]??null,'shellPath':_0x997678,'timeoutMs':_0xfed716};if(_0xf4b483[_0x420825(-_0x47a0e8._0x428077,0x32,0xf9,_0x47a0e8._0x5964df)]!==0x0)throw new ToolExecutionError(_0x41ab0f||'Command\x20exited\x20with\x20code\x20'+(_0xf4b483[_0x420825(_0x47a0e8._0x506e18,0x2f1,0xf9,-_0x47a0e8._0x229faf)]??0x0),_0x7d0a6a);return createToolOutput(_0x41ab0f,_0x7d0a6a);}catch(_0x1f6ca3){while(_0x227f7c[_0x5a7773(0x60c,0x352,0x45a,_0x47a0e8._0x374cc5)]>0x0){const _0x1982db=_0x227f7c[_0x420825(_0x47a0e8._0x27934d,_0x47a0e8._0x11ac1e,_0x47a0e8._0x59c769,_0x47a0e8._0x2c8f4f)]();_0x1982db!==void 0x0&&(yield _0x1982db);}if(_0x1f6ca3 instanceof ToolExecutionError)throw _0x1f6ca3;if(_0x459378)throw _0x459378;throw mapSpawnError(_0x1f6ca3,{'command':_0x3c7970['command'],'cwd':_0x384d2a,'shellPath':_0x997678});}finally{_0x5b9ceb&&clearTimeout(_0x5b9ceb);_0x37d56a(),_0x70ff4f[_0x5a7773(_0x47a0e8._0x248fb3,0x3d6,_0x47a0e8._0x48f542,0x37c)]?.[_0x5a7773(_0x47a0e8._0x1055c8,_0x47a0e8._0x3ac61f,_0x47a0e8._0x430ef2,_0x47a0e8._0x71639b)](_0x420825(-0xe,-0xf0,-_0x47a0e8._0xb5d23d,_0x47a0e8._0x219da3),_0x135693),_0x70ff4f[_0x420825(0x2d1,-0x10c,0xde,0xfc)]?.[_0x420825(_0x47a0e8._0x4fea32,_0x47a0e8._0xcc7b3b,0x178,0x15a)]('data',_0x2120f9);if(!_0x5ce08e&&_0x70ff4f['pid']&&!_0x70ff4f['killed'])try{killProcessGroup(_0x70ff4f,_0x24f2dc);}catch{}}}});}function createShellExecTool(_0x181aee={}){return createBashTool(_0x181aee);}import{readdir as _0x2be0af,readFile as _0x208d64}from'fs/promises';import{extname as _0x34c898,join as _0x411532}from'path';import{open}from'fs/promises';import{dirname as _0x8f342f,isAbsolute as _0x54e3a9,join as _0x1e401a,relative as _0x387f3d,resolve as _0x1d714e}from'path';import{readdir as _0x5f4f53,readFile as _0x43457a}from'fs/promises';import{join as _0x4776ec,relative as _0xf74229,sep}from'path';import{delimiter}from'path';import{mkdir as _0x556aba,rm as _0x2c0143,stat as _0x28f165,writeFile as _0x472312}from'fs/promises';import{hostname}from'os';import{dirname as _0x595420}from'path';import{unwatchFile,watchFile}from'fs';import{chmod as _0x1b6a1a,readFile as _0x380e87,rename as _0x3dac9a,rm as _0x38f9d6,stat as _0x2280a0,writeFile as _0x2e09c2}from'fs/promises';import{homedir as _0x2fb00e}from'os';import{dirname as _0x14b45b,isAbsolute as _0xc35aaa,join as _0x1383b0,resolve as _0x43cee1}from'path';import{parse as _0x7ca203,stringify as _0x439be5}from'yaml';import{randomUUID as _0x382f4a}from'crypto';import{cp,lstat,mkdir as _0x260f62,readdir as _0x1c9947,readFile as _0x202563,rename as _0x50bda6,rm as _0x1d6b85,writeFile as _0x52cc8b}from'fs/promises';import{homedir}from'os';import{join as _0x27f9be}from'path';import{parse as _0x540c74,stringify as _0x47385f}from'yaml';import{z}from'zod';import{readdir as _0x1a1bdc,readFile as _0x3a3fce}from'fs/promises';import{join as _0x379c42}from'path';import{randomUUID as _0x1c6511}from'crypto';import{mkdir as _0x3d3ca0,readdir as _0x552206,readFile as _0x3232cb,rename as _0x59bcc8,rm as _0x4f34e7,writeFile as _0x4bdbcb}from'fs/promises';import{homedir as _0x577686}from'os';import{basename as _0x5ea6cb,isAbsolute as _0x5d5386,join as _0x509576,relative as _0x539182,resolve as _0x293609}from'path';import{parse as _0x1f9d78,stringify as _0x4898c3}from'yaml';import{delimiter as _0x505698,resolve as _0x8b6749}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400,AGENT_MODEL_SET_NAME_PATTERN=/^[A-Za-z0-9_-]+$/,PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x16ac01(0x228,0x12f,0x253,0x3e)](Object[_0x16ac01(-0x26d,-0xa7,0xcb,-0x194)]),'prototype']);function isValidAgentModelSetName(_0xed8970){const _0x236386={_0x472a73:0x483,_0x33da5f:0x3d8,_0x27569f:0x2af,_0x41283b:0x28d,_0x29ec6a:0x34c},_0x29bd00={_0x15d459:0xbe,_0x57b78c:0xd0},_0x385c5b={_0x24a94e:0x1a7};function _0x2f204f(_0x1e8e28,_0x14c0cc,_0x185159,_0x1825e7){return _0x16ac01(_0x1e8e28-0x14e,_0x1e8e28-0x2db,_0x185159-_0x385c5b._0x24a94e,_0x1825e7);}function _0x3eb4c8(_0x1d8cca,_0x2724d7,_0x285139,_0x526f49){return _0x5885dd(_0x1d8cca-_0x29bd00._0x15d459,_0x285139,_0x285139-_0x29bd00._0x57b78c,_0x526f49- -0x33);}return AGENT_MODEL_SET_NAME_PATTERN[_0x2f204f(_0x236386._0x472a73,_0x236386._0x33da5f,_0x236386._0x27569f,0x2f5)](_0xed8970)&&!PROTOTYPE_SENSITIVE_NAMES[_0x2f204f(0x30c,_0x236386._0x41283b,0x108,_0x236386._0x29ec6a)](_0xed8970);}function parseProviderQualifiedModelSelector(_0x51aa56){const _0x98821={_0x44d457:0x354,_0x13c519:0x486,_0x4737ae:0x52e,_0x36ffcb:0x7b8,_0x52127c:0x4a8,_0x568d83:0x4cf,_0x14e9b0:0x3af,_0xbf7e7:0x34f,_0x34652e:0x265,_0x314814:0x1a8},_0x348a9={_0x6c62f8:0x207},_0x353180={_0x15e2b3:0x8b,_0x54b106:0x515,_0x4b4374:0x69};function _0x8d9026(_0x545849,_0x32b9a8,_0x54947d,_0x23db39){return _0x16ac01(_0x545849-_0x353180._0x15e2b3,_0x545849-_0x353180._0x54b106,_0x54947d-_0x353180._0x4b4374,_0x32b9a8);}if(_0x51aa56!==_0x51aa56[_0x5c11f4(0x33d,_0x98821._0x44d457,0x180,0x195)]())return void 0x0;const _0xe4c309=_0x51aa56['indexOf'](':');if(_0xe4c309<=0x0||_0xe4c309===_0x51aa56[_0x8d9026(0x611,0x7a4,0x592,0x775)]-0x1)return void 0x0;const _0x258068=_0x51aa56['slice'](0x0,_0xe4c309);function _0x5c11f4(_0x59ed82,_0x1f05c1,_0x719da,_0x256791){return _0x16ac01(_0x59ed82-0x1be,_0x59ed82-_0x348a9._0x6c62f8,_0x719da-0xe8,_0x719da);}const _0x3eb554=_0x51aa56[_0x8d9026(0x417,0x3ec,_0x98821._0x13c519,_0x98821._0x4737ae)](_0xe4c309+0x1);if(!/^[A-Za-z0-9_-]+$/[_0x8d9026(0x6bd,_0x98821._0x36ffcb,0x69d,0x8b3)](_0x258068)||PROTOTYPE_SENSITIVE_NAMES[_0x8d9026(0x546,_0x98821._0x52127c,0x680,_0x98821._0x568d83)](_0x258068)||_0x3eb554!==_0x3eb554['trim']()||/[\u0000-\u001F\u007F-\u009F]/u[_0x5c11f4(_0x98821._0x14e9b0,_0x98821._0xbf7e7,_0x98821._0x34652e,_0x98821._0x314814)](_0x3eb554))return void 0x0;return{'provider':_0x258068,'model':_0x3eb554};}function tokenizeCommandArguments(_0x3a5b1b){const _0xc44214={_0x49fd12:0x405,_0x29b51b:0x4d5,_0x45a003:0x613,_0x170365:0x38c},_0xb3f208={_0x2e67da:0x37},_0x274798={_0xfa1b72:0x166,_0x5d8103:0x180},_0x21177a=[];let _0x2c295c='';function _0x33e934(_0x537f0e,_0x47dde9,_0x48fc99,_0x58fe88){return _0x5885dd(_0x537f0e-_0x274798._0xfa1b72,_0x58fe88,_0x48fc99-0x158,_0x537f0e-_0x274798._0x5d8103);}let _0xc546a6=0x0;function _0x40176b(_0x40a6b6,_0x29fc1e,_0x32a53b,_0x44b6a0){return _0x16ac01(_0x40a6b6-0x167,_0x40a6b6-0x50a,_0x32a53b-_0xb3f208._0x2e67da,_0x44b6a0);}while(_0xc546a6<_0x3a5b1b[_0x40176b(0x606,0x4ec,_0xc44214._0x49fd12,_0xc44214._0x29b51b)]){const _0x588735=_0x3a5b1b[_0xc546a6];if(_0x588735==='\x5c'&&_0xc546a6+0x1<_0x3a5b1b['length'])_0x2c295c+=_0x3a5b1b[_0xc546a6+0x1],_0xc546a6+=0x2;else{if(_0x588735==='\x22'||_0x588735==='\x27'){const _0x1b8e54=_0x588735;_0xc546a6++;while(_0xc546a6<_0x3a5b1b['length']&&_0x3a5b1b[_0xc546a6]!==_0x1b8e54){_0x3a5b1b[_0xc546a6]==='\x5c'&&_0xc546a6+0x1<_0x3a5b1b[_0x33e934(0x50b,0x378,_0xc44214._0x45a003,_0xc44214._0x170365)]?(_0x2c295c+=_0x3a5b1b[_0xc546a6+0x1],_0xc546a6+=0x2):(_0x2c295c+=_0x3a5b1b[_0xc546a6],_0xc546a6++);}_0xc546a6++;}else _0x588735!==void 0x0&&/\s/['test'](_0x588735)?(_0x2c295c&&(_0x21177a['push'](_0x2c295c),_0x2c295c=''),_0xc546a6++):(_0x2c295c+=_0x588735,_0xc546a6++);}}if(_0x2c295c)_0x21177a['push'](_0x2c295c);return _0x21177a;}function renderCommandInstructions(_0x17609f){const _0x5eca9d={_0x4b2dc6:0x259,_0x192fb2:0x437,_0x1365ff:0x9d0,_0x51c2c8:0x408,_0x58cd98:0x523,_0x2774a0:0x37b,_0x1ba4da:0xe3,_0x348f09:0x31,_0x59d400:0x3db,_0x322834:0x259,_0x56c4e8:0x80e,_0x10bb93:0x911,_0x1909a9:0x789,_0x40dd37:0x823,_0x56a62a:0x5bf,_0x599d9e:0x4bd,_0xf3919c:0x5f3,_0x46cbda:0x3f6,_0x4893f6:0x293,_0x1f1ff8:0x408,_0x1023a6:0x2b1},_0x426e1e={_0x2edfd4:0x15d,_0xbf6541:0x194},_0x254c6a={_0x2a1d60:0x84},_0x844661={_0x480d20:0x37};let _0x1d8682=_0x17609f[_0x5b1737(0x660,0x6d0,0x85f,0x744)],_0x264979=![];const _0x4487c8=tokenizeCommandArguments(_0x17609f['argumentsText']);_0x1d8682=_0x1d8682[_0x2aaff3(0x3da,_0x5eca9d._0x4b2dc6,0x402,_0x5eca9d._0x192fb2)](/\$ARGUMENTS\[(\d+)\]/g,(_0x4f7af4,_0x54f1a7)=>{return _0x264979=!![],_0x4487c8[Number(_0x54f1a7)]??'';});function _0x5b1737(_0x15684c,_0xbb195e,_0x41cedd,_0x3df304){return _0x5885dd(_0x15684c-_0x844661._0x480d20,_0xbb195e,_0x41cedd-0xab,_0x15684c-0x2a5);}_0x1d8682=_0x1d8682[_0x5b1737(0x80e,0x974,0x608,_0x5eca9d._0x1365ff)](/\$ARGUMENTS\b/g,()=>{const _0x269e82={_0xcbbb5b:0x14a};_0x264979=!![];function _0x598e18(_0x1ccf84,_0x389009,_0x6df87e,_0x1c1496){return _0x2aaff3(_0x1ccf84-_0x269e82._0xcbbb5b,_0x389009-0x1ea,_0x389009,_0x6df87e- -0x27e);}return _0x17609f[_0x598e18(-0x217,-0x225,-_0x254c6a._0x2a1d60,0x181)];});if(_0x17609f[_0x5b1737(_0x5eca9d._0x51c2c8,0x1fd,_0x5eca9d._0x58cd98,_0x5eca9d._0x2774a0)]&&_0x17609f[_0x2aaff3(-0x3,-0x1a7,_0x5eca9d._0x1ba4da,_0x5eca9d._0x348f09)]['length']>0x0)for(let _0x59ecbe=0x0;_0x59ecbe<_0x17609f['argumentNames'][_0x2aaff3(_0x5eca9d._0x59d400,0x3f1,0x347,_0x5eca9d._0x322834)];_0x59ecbe++){const _0x3f0448=_0x17609f[_0x5b1737(0x408,0x601,0x4f5,0x334)][_0x59ecbe];if(_0x3f0448){const _0xa4c744=new RegExp('\x5c$'+_0x3f0448+'\x5cb','g');_0x1d8682=_0x1d8682[_0x5b1737(_0x5eca9d._0x56c4e8,_0x5eca9d._0x10bb93,_0x5eca9d._0x1909a9,_0x5eca9d._0x40dd37)](_0xa4c744,()=>{return _0x264979=!![],_0x4487c8[_0x59ecbe]??'';});}}function _0x2aaff3(_0x2c37de,_0x525bcb,_0x2c3fd3,_0x307276){return _0x16ac01(_0x2c37de-0xcd,_0x307276-_0x426e1e._0x2edfd4,_0x2c3fd3-_0x426e1e._0xbf6541,_0x2c3fd3);}return _0x1d8682=_0x1d8682[_0x2aaff3(0x4ea,_0x5eca9d._0x56a62a,0x3a5,0x437)](/\$(\d+)\b/g,(_0x353ebb,_0xf87c38)=>{return _0x264979=!![],_0x4487c8[Number(_0xf87c38)]??'';}),!_0x264979&&_0x17609f[_0x5b1737(0x5d1,_0x5eca9d._0x599d9e,_0x5eca9d._0xf3919c,0x7c8)][_0x2aaff3(_0x5eca9d._0x46cbda,0x437,0x1c3,_0x5eca9d._0x4893f6)]()&&(_0x1d8682=_0x1d8682+_0x2aaff3(0x112,_0x5eca9d._0x1f1ff8,0x67,0x262)+_0x17609f[_0x2aaff3(0x27f,0x39f,_0x5eca9d._0x1023a6,0x1fa)]),_0x1d8682;}var PROVIDER_API_KEY_ENVS=[{'env':'OPENROUTER_API_KEY','provider':_0x16ac01(0x19a,0x151,-0x65,0x23b)},{'env':'ANTHROPIC_API_KEY','provider':_0x16ac01(0x16a,0x1aa,0x2ed,-0x5e)},{'env':_0x5885dd(0x1ff,0x463,0x3e9,0x3cc),'provider':_0x16ac01(-0xa3,-0x2e,-0x163,0x73)},{'env':_0x5885dd(0xfa,-0x57,0x278,0x1a0),'provider':_0x5885dd(0x442,0x2fd,0x1fd,0x261)},{'env':_0x16ac01(0x2a0,0xcf,-0x7c,0xdb),'provider':'grok'},{'env':'DEEPINFRA_API_KEY','provider':_0x16ac01(0x1f8,0x70,-0x11b,0x10f)},{'env':_0x16ac01(-0x239,-0xe0,-0xe,0x137),'provider':'zai'},{'env':_0x5885dd(0x3ed,0x56e,0x44b,0x3a4),'provider':'moonshot'},{'env':_0x16ac01(0x31,0x101,-0x11,0x91),'provider':_0x5885dd(0x254,0x387,0xf8,0x2cb)},{'env':'KIMI_API_KEY','provider':'kimi'},{'env':_0x16ac01(0x1ef,-0x3,0xb9,-0xc7),'provider':_0x5885dd(0x57d,0x43c,0x32c,0x3c0)},{'env':_0x5885dd(0x254,0x33f,0x91,0x18f),'provider':_0x5885dd(0x3e8,0x301,0x47d,0x503)},{'env':_0x16ac01(-0x19e,-0x71,-0x229,0x54),'provider':_0x5885dd(0x6c9,0x4a8,0x5b2,0x4f2)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x16ac01(-0x12f,-0x141,-0x1ad,0xa8)](_0xd5a6b5=>_0xd5a6b5[_0x5885dd(0x6db,0x36d,0x371,0x51f)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x5885dd(0x661,0x500,0x395,0x4ed),_0x16ac01(-0xc1,0x3,-0xe3,0x1cc),_0x16ac01(0x288,0x1e1,0x3e5,0x1b7)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x16ac01(0x13,0x104,0x115,-0x6e),'ENV',_0x5885dd(0x2ea,0x41e,0x53c,0x4f5),'BASHOPTS',_0x5885dd(0x47f,0x401,0x4c8,0x339),'GLOBIGNORE'],PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x5885dd(0x369,0x37a,0x551,0x3be)](Object['prototype']),_0x5885dd(0x77,0x332,0x28a,0x1e8)]),PRODUCTION_FILE_EDIT_MODES=[_0x16ac01(-0x23,-0x1c,0x1dd,-0xe6),_0x16ac01(0x2f6,0x1a6,0x17c,0x21b),_0x5885dd(0x14a,0x34e,0x217,0x2f1)];function prototypeSafeRecord(_0x337f5f){const _0xd94548={_0x5dc1fb:0x43a,_0x3cd0eb:0x4f6,_0x48ba88:0x919,_0x1602d1:0x935,_0x5e9fe0:0x6fe,_0x199958:0x60b,_0x11fcb0:0x732,_0xd17996:0xa8f,_0x5ea726:0x8d4,_0x31cca3:0x5f7,_0x42eaaa:0x278},_0x603de5={_0x2decdd:0x1ba,_0x2637ab:0xcf,_0x4c3a83:0x70,_0x3250f3:0x31b,_0x581857:0x209,_0xb862c5:0x1,_0x5bb72b:0xa8,_0x5957ac:0x9,_0x16c2e3:0x558},_0x99555d={_0x349c96:0x120},_0x248af4={_0x43ef10:0x110,_0x4153ab:0x3ee};function _0xef4a6b(_0x2116fd,_0x25ae7b,_0x5f2ac5,_0x265aba){return _0x16ac01(_0x2116fd-0x18a,_0x265aba-0x348,_0x5f2ac5-0xef,_0x25ae7b);}function _0x48e026(_0xde1b73,_0x356613,_0x38dcb5,_0x25743e){return _0x5885dd(_0xde1b73-_0x248af4._0x43ef10,_0xde1b73,_0x38dcb5-0x1ad,_0x38dcb5-_0x248af4._0x4153ab);}return z[_0xef4a6b(_0xd94548._0x5dc1fb,0x3e8,_0xd94548._0x3cd0eb,0x5b8)](_0x32d8b0=>{const _0x396e83={_0x5794bc:0x8f,_0x480131:0x173,_0x3b9c11:0x1bc};function _0x544b80(_0x20a17f,_0x480076,_0x1573a2,_0x3574db){return _0xef4a6b(_0x20a17f-_0x396e83._0x5794bc,_0x3574db,_0x1573a2-_0x396e83._0x480131,_0x480076- -_0x396e83._0x3b9c11);}if(_0x32d8b0===null||typeof _0x32d8b0!=='object'||Array[_0x1cbf16(_0x603de5._0x2decdd,0x1bf,_0x603de5._0x2637ab,_0x603de5._0x4c3a83)](_0x32d8b0))return null;const _0x2ae89c=Object[_0x544b80(_0x603de5._0x3250f3,_0x603de5._0x581857,0x5e,0x392)](_0x32d8b0);function _0x1cbf16(_0x6b4112,_0x63ca65,_0x14d5a8,_0x4c7d6c){return _0xef4a6b(_0x6b4112-0x1c5,_0x14d5a8,_0x14d5a8-0x4,_0x63ca65- -_0x99555d._0x349c96);}if(_0x2ae89c!==Object[_0x544b80(-_0x603de5._0xb862c5,0xe5,-_0x603de5._0x5bb72b,_0x603de5._0x5957ac)]&&_0x2ae89c!==null)return null;return{'entries':Object[_0x1cbf16(0x329,0x37b,_0x603de5._0x16c2e3,0x307)](_0x32d8b0)};},z[_0x48e026(0xa9e,0x7a6,_0xd94548._0x48ba88,_0xd94548._0x1602d1)]({'entries':z['array'](z[_0x48e026(_0xd94548._0x5e9fe0,_0xd94548._0x199958,_0xd94548._0x11fcb0,0x6bf)]([z[_0x48e026(_0xd94548._0xd17996,0x7d0,_0xd94548._0x5ea726,0x708)](),_0x337f5f]))}))[_0xef4a6b(0x2e6,_0xd94548._0x31cca3,_0xd94548._0x42eaaa,0x486)](({entries:_0x11ec0c})=>Object[_0x48e026(0x6fc,0x556,0x688,0x5eb)](_0x11ec0c));}var chatModelAuthSchemeSchema=z[_0x16ac01(-0x7,0x19b,0x16f,0x1a7)]([_0x5885dd(0x4ac,0x702,0x6a3,0x504),_0x5885dd(0x48e,0x42b,0x305,0x293)]),apiKeyAuthSchema=z[_0x16ac01(0xad,0x29c,0xa5,0x19f)]({'type':z[_0x5885dd(0x1de,0x2ef,0x2b3,0x1e7)]('apiKey'),'apiKey':z[_0x5885dd(0x52f,0x3c2,0x386,0x4e6)](),'authScheme':chatModelAuthSchemeSchema[_0x5885dd(0x2df,0x522,0x22b,0x3fe)]()})[_0x5885dd(-0x7b,0x311,0x32d,0x162)](),oauthAuthSchema=z['object']({'type':z[_0x16ac01(0x125,-0xa8,0x4f,-0x96)]('oauth'),'access':z[_0x5885dd(0x592,0x3a6,0x52f,0x4e6)](),'refresh':z[_0x16ac01(0x142,0x257,0xe8,0x138)](),'expires':z['number']()[_0x16ac01(0x1ec,0x16f,-0x9e,-0x4d)](),'authScheme':chatModelAuthSchemeSchema[_0x5885dd(0x340,0x3e2,0x3cd,0x3fe)]()})[_0x16ac01(-0x109,-0x12d,-0x1e9,-0x15)](),finiteNonNegative=z[_0x5885dd(0x514,0x380,0x2fc,0x300)]()[_0x16ac01(0x2b5,0x16b,0x201,-0x3a)]()['nonnegative'](),chatGptAuthSchema=z[_0x5885dd(0x640,0x576,0x64e,0x52b)]({'type':z['literal']('chatgpt'),'access':z[_0x16ac01(0x1aa,0x257,0x161,0xde)]()[_0x5885dd(0x133,0x1c7,0x2b0,0x1c4)](0x1),'refresh':z[_0x16ac01(0x1af,0x257,0x6f,0x12c)]()['min'](0x1),'idToken':z[_0x5885dd(0x52b,0x2df,0x4bf,0x4e6)]()['min'](0x1),'accountId':z['string']()[_0x5885dd(0xee,0x116,-0x44,0x1c4)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x5885dd(0x443,0x385,0x494,0x3fe)]()})[_0x5885dd(0xb9,0x181,0x27c,0x162)](),authMethodSchema=z[_0x16ac01(0x117,0x1c4,0x2f,0x174)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z[_0x16ac01(0x328,0x19b,0x35,0x2e5)]([_0x16ac01(0xd7,0x11,-0xb8,0x1d),_0x5885dd(0x45e,0x314,0x267,0x3a8),_0x5885dd(0x2cc,0x3bb,0x2e9,0x228),_0x16ac01(0x74,0x5a,0x1c9,-0xa9),_0x5885dd(0x26e,0x274,0x592,0x418),'max']),reasoningOptionSchema=z['object']({'id':z[_0x5885dd(0x586,0x565,0x32a,0x4e6)]()[_0x16ac01(-0x8d,0x136,-0x8b,-0xf)]()[_0x5885dd(0x3d8,0x51,0x27,0x1c4)](0x1),'description':z[_0x5885dd(0x323,0x4f4,0x4f3,0x4e6)]()[_0x5885dd(0x2c2,0x284,0x5a3,0x3fe)](),'mode':z['enum'](['adaptive',_0x16ac01(0x265,0xc7,0xed,0x11e)])['optional'](),'effort':reasoningEffortSchema['optional'](),'budgetTokens':z[_0x16ac01(0x139,0x71,0xa,-0x15b)]()[_0x16ac01(0x3b,-0x26,-0x15,0x195)]()[_0x16ac01(-0xc8,-0xcb,-0x5,-0x78)](0x400)['optional']()})['superRefine']((_0x1b1a6a,_0x4ba07d)=>{const _0x12d562={_0x55ef69:0x448,_0x8f208:0x5b8,_0x5d88a4:0x363,_0x2e0b73:0x468,_0x2b740a:0x12f,_0x4e79d6:0x1b4,_0x3337c5:0x2b7,_0x3c3df1:0x2c6,_0x31b48f:0x65f,_0x44f4d6:0x412,_0x9ba34c:0x4be,_0x11dd5f:0x400,_0x17b3d9:0x414,_0x2c86e4:0x438,_0x4e56f4:0x25e,_0x24c9b2:0x59c,_0x41daf9:0x3ba,_0x44abaf:0x391,_0x5ebb19:0x3d,_0x40e39c:0x550,_0x4ad152:0x60b,_0x22d987:0x2b5,_0x57d068:0x347,_0x401ebd:0x536,_0x2e812c:0x386,_0x41e01b:0x2a1,_0x3cf420:0x381,_0x1ff23b:0x155,_0x1d6574:0x294,_0x34abf7:0x4e2,_0x3a18b1:0x38d,_0x423688:0x414,_0x2058e5:0x5a9,_0x1a65c2:0x12c,_0x101cca:0x502,_0x453ea4:0x4ea,_0x3d8913:0x796,_0x5916ce:0x4cd,_0x12c0f5:0x4ec,_0x28af04:0xf5,_0x29ccc1:0x40a,_0x4cbd55:0x47c},_0x45b28e={_0x30cc03:0x335,_0x52f163:0x1d2},_0x338a72={_0x50443b:0xc5,_0x53d056:0x105},_0x47e967=_0x1b1a6a['id']['toLowerCase']();(_0x47e967===_0x103c62(0x562,0x680,0x495,_0x12d562._0x55ef69)||_0x47e967===_0x103c62(0x773,0x577,_0x12d562._0x8f208,0x3fd)||_0x47e967===_0x103c62(0x3f1,_0x12d562._0x5d88a4,_0x12d562._0x2e0b73,0x472))&&_0x4ba07d['addIssue']({'code':_0x103c62(_0x12d562._0x2b740a,_0x12d562._0x4e79d6,0x32c,0x314),'path':['id'],'message':_0x103c62(_0x12d562._0x3337c5,0x25c,0x2fb,_0x12d562._0x3c3df1)+_0x47e967+_0x339410(0x33d,0x489,0x678,_0x12d562._0x31b48f)});function _0x103c62(_0x4ea8ed,_0xad454d,_0x1de541,_0x436735){return _0x16ac01(_0x4ea8ed-_0x338a72._0x50443b,_0x1de541-0x2db,_0x1de541-_0x338a72._0x53d056,_0xad454d);}function _0x339410(_0xf5fed0,_0x2a6eee,_0x9bf199,_0x3d1533){return _0x16ac01(_0xf5fed0-0x156,_0x2a6eee-_0x45b28e._0x30cc03,_0x9bf199-_0x45b28e._0x52f163,_0xf5fed0);}if(_0x1b1a6a[_0x339410(_0x12d562._0x44f4d6,0x5e6,0x5d2,0x540)]===_0x103c62(0x44e,_0x12d562._0x9ba34c,0x3a2,_0x12d562._0x11dd5f)){_0x1b1a6a[_0x339410(0x251,_0x12d562._0x17b3d9,_0x12d562._0x2c86e4,_0x12d562._0x4e56f4)]===void 0x0&&_0x4ba07d['addIssue']({'code':'custom','path':[_0x103c62(0x45e,_0x12d562._0x24c9b2,_0x12d562._0x41daf9,0x1ec)],'message':_0x103c62(_0x12d562._0x44abaf,0x1ba,0x236,_0x12d562._0x5ebb19)});_0x1b1a6a[_0x339410(0x38f,_0x12d562._0x40e39c,_0x12d562._0x4ad152,0x4e3)]!==void 0x0&&_0x4ba07d[_0x339410(_0x12d562._0x22d987,_0x12d562._0x57d068,_0x12d562._0x401ebd,0x4da)]({'code':_0x339410(0x1a1,_0x12d562._0x2e812c,0x565,0x524),'path':['effort'],'message':_0x103c62(_0x12d562._0x41e01b,0x31a,_0x12d562._0x3cf420,0x426)});return;}_0x1b1a6a[_0x103c62(0x2ac,0x382,_0x12d562._0x41daf9,0x21d)]!==void 0x0&&_0x4ba07d[_0x103c62(0x125,0x459,0x2ed,_0x12d562._0x1ff23b)]({'code':_0x339410(_0x12d562._0x1d6574,0x386,_0x12d562._0x34abf7,0x43d),'path':[_0x339410(_0x12d562._0x3a18b1,_0x12d562._0x423688,0x51e,_0x12d562._0x2058e5)],'message':_0x339410(_0x12d562._0x1a65c2,0x33d,_0x12d562._0x101cca,_0x12d562._0x453ea4)}),_0x1b1a6a[_0x103c62(0x77d,0x454,0x58c,_0x12d562._0x3d8913)]===void 0x0&&_0x1b1a6a[_0x339410(0x6fb,0x550,_0x12d562._0x5916ce,0x352)]===void 0x0&&_0x4ba07d[_0x103c62(_0x12d562._0x12c0f5,0x3cc,0x2ed,_0x12d562._0x28af04)]({'code':'custom','path':[_0x339410(_0x12d562._0x29ccc1,0x550,0x612,_0x12d562._0x4cbd55)],'message':'Reasoning\x20option\x20requires\x20mode\x20or\x20effort'});});function validateReasoningOptionIds(_0xc7fbc9,_0x1ba22c){const _0x1357a8={_0x4f213f:0x52,_0x55297c:0x18b,_0x4e6263:0x29d,_0x506165:0x6e,_0x2dbec0:0x5b,_0x261832:0x90,_0x12dcd4:0x133,_0x8c41c:0x22e,_0x139498:0xbe,_0x55b4f3:0x70,_0x245fc6:0xac,_0x3cb4c2:0xce,_0x262058:0x79,_0x3c1d30:0x200,_0x492e33:0x109},_0x3dceaa={_0x7830e5:0x1b4},_0x1007cd={_0x429e44:0x230};function _0x3594d4(_0x4ddd26,_0x354053,_0x50b760,_0x114d79){return _0x5885dd(_0x4ddd26-0xdd,_0x114d79,_0x50b760-0x142,_0x4ddd26- -_0x1007cd._0x429e44);}function _0x25db31(_0x5b0806,_0x34549f,_0x45012e,_0x3df7fd){return _0x16ac01(_0x5b0806-0x173,_0x34549f- -0xbe,_0x45012e-_0x3dceaa._0x7830e5,_0x45012e);}const _0x23de05=new Set();for(let _0x3dc31b=0x0;_0x3dc31b<_0xc7fbc9[_0x3594d4(0x15b,-_0x1357a8._0x4f213f,_0x1357a8._0x55297c,_0x1357a8._0x4e6263)];_0x3dc31b+=0x1){const _0xf2aca2=_0xc7fbc9[_0x3dc31b]?.['id'][_0x3594d4(-_0x1357a8._0x506165,0xb2,-0x1a0,_0x1357a8._0x2dbec0)]();if(!_0xf2aca2)continue;if(_0x23de05[_0x3594d4(_0x1357a8._0x261832,-_0x1357a8._0x12dcd4,_0x1357a8._0x8c41c,_0x1357a8._0x139498)](_0xf2aca2)){_0x1ba22c[_0x25db31(_0x1357a8._0x55b4f3,-_0x1357a8._0x245fc6,0x1,_0x1357a8._0x3cb4c2)]({'code':'custom','path':['options',_0x3dc31b,'id'],'message':'Duplicate\x20reasoning\x20option\x20\x22'+_0xf2aca2+'\x22'});continue;}_0x23de05[_0x3594d4(-_0x1357a8._0x262058,-_0x1357a8._0x3c1d30,_0x1357a8._0x492e33,0xcf)](_0xf2aca2);}}var providerReasoningConfigSchema=z[_0x16ac01(0x168,0x29c,0x461,0x334)]({'options':z[_0x5885dd(0x33a,0x4b3,0x374,0x2dd)](reasoningOptionSchema)})[_0x16ac01(-0x235,-0xe1,-0x1e1,0x6)]((_0x3b3934,_0x295c2c)=>{const _0xfe8fdb={_0xad8376:0xf8,_0x3d0140:0x6f};function _0x22aa02(_0x2e519e,_0x32ee9f,_0x2edaac,_0x4e65c9){return _0x16ac01(_0x2e519e-_0xfe8fdb._0xad8376,_0x4e65c9-_0xfe8fdb._0x3d0140,_0x2edaac-0xd7,_0x32ee9f);}validateReasoningOptionIds(_0x3b3934[_0x22aa02(0x4f,0x1a5,0x32e,0x210)],_0x295c2c);}),modelReasoningConfigSchema=z[_0x16ac01(0x193,0x29c,0x1ab,0x324)]({'defaultOption':z[_0x16ac01(0x209,0x257,0x304,0x5e)]()[_0x16ac01(0x23b,0x136,0x0,-0x31)]()[_0x16ac01(-0x64,-0xcb,-0x109,-0xb2)](0x1)[_0x16ac01(0xce,0x16f,-0x44,0x14f)](),'canDisable':z[_0x5885dd(0x301,0x3a8,0x3d5,0x429)]()[_0x5885dd(0x45f,0x2c0,0x593,0x3fe)](),'options':z[_0x16ac01(0x21a,0x4e,-0xe5,0x42)](reasoningOptionSchema)})[_0x16ac01(-0x1b2,-0xe1,0x46,-0x208)]((_0x1a64ea,_0x36867f)=>{const _0x28bc16={_0x28f0f7:0x65f,_0x50e240:0x484,_0x359c2f:0x74a,_0x52c0c2:0x74b,_0x5ad9b8:0x573,_0x7d4a4d:0x29f,_0x46175e:0x205,_0x69fd38:0x472,_0x461cab:0x413,_0xd51aae:0x8ac,_0x283ac9:0x286,_0x41ca4e:0x2ec,_0xccd972:0x409,_0x599bfb:0x30a,_0x14512a:0x802,_0x1935e2:0x4ea,_0x1964ce:0x6dd,_0x2f64cb:0x344,_0x5f08c2:0x4da,_0x12e86c:0x4c6,_0x28107a:0x3d5,_0x3611e1:0x166,_0x47b412:0xeb,_0x9cc026:0x65c,_0x3bc09f:0x874,_0x479171:0x687,_0xecc13c:0x771},_0x44f91b={_0x34b9b3:0x85};validateReasoningOptionIds(_0x1a64ea[_0x286035(_0x28bc16._0x28f0f7,0x4dc,_0x28bc16._0x50e240,0x5dd)],_0x36867f);const _0xcd39d5=_0x1a64ea[_0x286035(_0x28bc16._0x359c2f,_0x28bc16._0x52c0c2,_0x28bc16._0x5ad9b8,0x625)]?.['toLowerCase']();if(_0xcd39d5===void 0x0)return;function _0x5018d1(_0x3c57d4,_0x3aedbc,_0xd6913d,_0x558666){return _0x16ac01(_0x3c57d4-0xaf,_0x3c57d4-0xe5,_0xd6913d-0x8f,_0x558666);}function _0x286035(_0x7937e,_0x39f3e7,_0x3ac08,_0xba1b17){return _0x5885dd(_0x7937e-0x94,_0x39f3e7,_0x3ac08-_0x44f91b._0x34b9b3,_0x7937e-0x22f);}if(_0xcd39d5===_0x5018d1(_0x28bc16._0x7d4a4d,_0x28bc16._0x46175e,_0x28bc16._0x69fd38,0x378)){_0x1a64ea['canDisable']!==!![]&&_0x36867f['addIssue']({'code':_0x286035(0x50f,0x3c7,_0x28bc16._0x461cab,0x467),'path':[_0x286035(0x74a,_0x28bc16._0xd51aae,0x7a5,0x5ad)],'message':'Reasoning\x20default\x20\x22off\x22\x20requires\x20canDisable:\x20true'});return;}!_0x1a64ea[_0x5018d1(_0x28bc16._0x283ac9,_0x28bc16._0x41ca4e,_0x28bc16._0xccd972,_0x28bc16._0x599bfb)][_0x286035(0x610,0x42b,_0x28bc16._0x14512a,0x683)](_0x4be748=>_0x4be748['id'][_0x286035(0x3f1,0x243,0x269,0x4d8)]()===_0xcd39d5)&&_0x36867f[_0x286035(0x4d0,_0x28bc16._0x1935e2,0x432,_0x28bc16._0x1964ce)]({'code':_0x286035(0x50f,_0x28bc16._0x2f64cb,_0x28bc16._0x5f08c2,_0x28bc16._0x12e86c),'path':[_0x5018d1(0x371,0x290,_0x28bc16._0x28107a,_0x28bc16._0x3611e1)],'message':_0x5018d1(0xa,-_0x28bc16._0x47b412,-0x71,0x1be)+_0x1a64ea[_0x286035(0x74a,_0x28bc16._0x9cc026,0x5f0,_0x28bc16._0x3bc09f)]+_0x286035(_0x28bc16._0x479171,_0x28bc16._0xecc13c,0x63a,0x80e)});}),modelDefinitionSchema=z['object']({'id':z[_0x16ac01(0x45e,0x257,0x18f,0x2f7)](),'name':z[_0x5885dd(0x617,0x5b2,0x6e4,0x4e6)]()[_0x16ac01(0x4f,0x16f,0x157,0x229)](),'reasoning':modelReasoningConfigSchema[_0x5885dd(0x2db,0x3a9,0x4da,0x3fe)]()})[_0x16ac01(-0x57,-0x12d,-0x2de,-0x96)](),modelConfigSchema=z[_0x5885dd(0x514,0x37f,0x491,0x453)]([z[_0x5885dd(0x3e5,0x3c0,0x345,0x1e7)](![]),z['literal'](!![]),z['string'](),z[_0x5885dd(0x441,0x473,0x11c,0x2dd)](z[_0x5885dd(0x4e2,0x6b4,0x5c5,0x4e6)]()),z[_0x5885dd(0x1bd,0x190,0x12d,0x2dd)](modelDefinitionSchema)]),chatModelSurfaceSchema=z['enum'](['anthropic-messages',_0x16ac01(0x26f,0x75,0x189,0x245),_0x16ac01(0x16c,0x195,0x6b,0x62),'openai-responses-ws']),providerNameSchema=z[_0x16ac01(0x356,0x257,0x1c0,0x1d3)]()['min'](0x1,_0x16ac01(0x169,0x27c,0x1c3,0x18e))[_0x5885dd(0x38e,0x4c6,0x35a,0x48d)](_0x24bc15=>!_0x24bc15['includes'](':'),_0x5885dd(0x43e,0x3f8,0x5b2,0x3b5)),providerConfigSchema=z['object']({'apiKey':z[_0x5885dd(0x696,0x34e,0x5a2,0x4e6)]()[_0x16ac01(0x15b,0x16f,0xe9,0x11d)](),'token':z['string']()[_0x16ac01(0x28b,0x16f,0x2c5,0x47)](),'defaultModel':z[_0x16ac01(0x256,0x257,0x3d6,0x3d4)]()[_0x5885dd(0x243,0x2a9,0x4ff,0x3fe)](),'smallModel':z[_0x16ac01(0x15a,0x257,0x129,0x419)]()[_0x5885dd(0x36c,0x401,0x4ea,0x3fe)](),'currentAuth':z[_0x5885dd(0x47b,0x3e0,0x69c,0x4e6)]()[_0x5885dd(0x467,0x375,0x59c,0x3fe)](),'auth':z['array'](authMethodSchema)['optional'](),'surface':chatModelSurfaceSchema[_0x5885dd(0x362,0x5a0,0x480,0x3fe)](),'providerId':providerNameSchema[_0x16ac01(-0xd,0x16f,0x2f6,0x1d6)](),'baseUrl':z[_0x5885dd(0x370,0x5fe,0x621,0x4e6)]()[_0x16ac01(0x180,0x16f,-0xa0,0x2a4)](),'models':modelConfigSchema[_0x16ac01(-0x5b,0x16f,0x275,0x372)](),'customHeaders':z[_0x16ac01(0x2ba,0x160,0x26d,0x349)](z[_0x16ac01(0x343,0x257,0x43,0x3f1)](),z[_0x16ac01(0x239,0x257,0x2d6,0x3a1)]())[_0x16ac01(0x146,0x16f,0x2ae,0x290)](),'reasoning':providerReasoningConfigSchema[_0x5885dd(0x348,0x5a7,0x255,0x3fe)]()})[_0x16ac01(0xe2,-0x12d,0x7,-0x179)](),mcpServerConfigSchema=z[_0x16ac01(0x45f,0x29c,0x35d,0x2f0)]({'command':z[_0x16ac01(0x432,0x257,0x2f5,0x387)]()[_0x16ac01(0x248,0x16f,0x8e,0xc3)](),'args':z[_0x5885dd(0x483,0xfe,0x421,0x2dd)](z[_0x16ac01(0x44b,0x257,0x3cc,0x441)]())[_0x16ac01(0x77,0x16f,0x1fd,0x28b)](),'env':z[_0x16ac01(-0x39,0x160,0x1f9,-0xaa)](z[_0x5885dd(0x5d4,0x521,0x511,0x4e6)](),z[_0x5885dd(0x644,0x634,0x316,0x4e6)]())['optional'](),'transport':z[_0x16ac01(0x39b,0x19b,-0x45,0x2e8)]([_0x5885dd(0x2c8,0x415,0x181,0x355),_0x5885dd(0x54f,0x429,0x540,0x4bb)])[_0x16ac01(0x282,0x16f,0x8a,-0xa4)](),'url':z[_0x16ac01(0x90,0x257,0x128,0x212)]()[_0x5885dd(0x58e,0x212,0x2ad,0x3fe)](),'headers':z['record'](z['string'](),z['string']())[_0x5885dd(0x35b,0x2fa,0x4d4,0x3fe)](),'prefix':z[_0x5885dd(0x404,0x441,0x39f,0x4e6)]()[_0x5885dd(0x590,0x605,0x3e7,0x3fe)](),'timeoutMs':z[_0x16ac01(0x69,0x71,0x221,0x39)]()[_0x5885dd(0x226,0x555,0x3cc,0x3fe)](),'enabled':z[_0x16ac01(0xa1,0x19a,0x2a6,0x11b)]()['optional'](),'auth':z[_0x16ac01(0x2a3,0x29c,0x362,0x253)]({'type':z[_0x16ac01(0x47,0x19b,0x2c7,0x3b)]([_0x16ac01(0x2f9,0x29b,0x42e,0x23c),_0x16ac01(0x2d9,0x275,0x2ff,0x2a6),_0x16ac01(-0x14c,-0x136,-0x85,-0xd)]),'token':z[_0x16ac01(0x1e9,0x257,0x1c5,0xc6)]()['optional'](),'oauth':z[_0x5885dd(0x396,0x652,0x336,0x52b)]({'clientId':z[_0x16ac01(0x42d,0x257,0x42e,0x132)]()[_0x16ac01(0x204,0x16f,0xb9,0xa3)](),'clientMetadataUrl':z[_0x16ac01(0x130,0x257,0x244,0x155)]()[_0x5885dd(0x2b9,0x412,0x48a,0x3fe)](),'authorizationServer':z[_0x5885dd(0x463,0x3e6,0x54c,0x4e6)]()[_0x5885dd(0x3a0,0x33e,0x44f,0x3fe)](),'scopes':z['array'](z[_0x16ac01(0x38a,0x257,0xc2,0x353)]())[_0x5885dd(0x397,0x300,0x376,0x3fe)](),'tokenStorageKey':z[_0x16ac01(0x3b1,0x257,0x351,0x48)]()[_0x5885dd(0x34f,0x5f4,0x21a,0x3fe)]()})[_0x16ac01(-0xc1,-0x12d,-0x171,-0xb6)]()[_0x5885dd(0x525,0x373,0x2f1,0x3fe)]()})[_0x16ac01(-0x12d,-0x12d,-0x32a,-0x94)]()['optional']()})[_0x5885dd(-0x72,0x259,0x21e,0x162)](),mcpToolPermissionClassSchema=z[_0x16ac01(0x1ca,0x19b,0x19f,0x317)]([_0x5885dd(0x175,0x2db,0x4e0,0x35f),'write',_0x16ac01(0x58,0x1b,0x4f,-0xe7)]),mcpSettingsSchema=z[_0x5885dd(0x355,0x6a3,0x565,0x52b)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z['boolean']()))[_0x5885dd(0x469,0x373,0x23d,0x3fe)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x5885dd(0x587,0x249,0x3c5,0x3fe)](),'defaultTimeoutMs':z[_0x16ac01(0x1e2,0x71,0x258,0x172)]()[_0x5885dd(0x355,0x4a4,0x341,0x3fe)]()})['passthrough'](),skillsSettingsSchema=z[_0x5885dd(0x492,0x41e,0x3d6,0x52b)]({'enabled':z[_0x5885dd(0x447,0x2e6,0x55e,0x429)]()[_0x16ac01(0x2e7,0x16f,0x4c,0x1a1)](),'includeDefaults':z[_0x16ac01(0x2ce,0x19a,0xe6,0x287)]()[_0x16ac01(0x176,0x16f,0x13b,0x29b)](),'directories':z[_0x5885dd(0x49b,0x228,0x46d,0x2dd)](z[_0x16ac01(0xe4,0x257,0x40a,0x38d)]())['optional'](),'exclude':z[_0x5885dd(0x22b,0x4f0,0x150,0x2dd)](z[_0x5885dd(0x54b,0x4c3,0x4ce,0x4e6)]())[_0x16ac01(0xab,0x16f,0x2,0xa4)]()})['passthrough'](),commandsSettingsSchema=z[_0x16ac01(0x411,0x29c,0x323,0x350)]({'enabled':z['boolean']()[_0x16ac01(0x18b,0x16f,-0x9c,0x31)](),'directories':z[_0x16ac01(-0x181,0x4e,0x7,-0x77)](z[_0x16ac01(0x3ff,0x257,0x2ea,0x3c1)]())['optional']()})[_0x16ac01(-0x22b,-0x12d,-0x37,-0x303)](),agentsSettingsSchema=z[_0x16ac01(0x1fb,0x29c,0x2ff,0xce)]({'enabled':z[_0x5885dd(0x258,0x347,0x509,0x429)]()[_0x16ac01(-0x27,0x16f,0xc0,0x11b)](),'includeDefaults':z[_0x5885dd(0x3bb,0x34e,0x412,0x429)]()[_0x5885dd(0x2b4,0x2b2,0x30f,0x3fe)](),'directories':z[_0x16ac01(-0x9,0x4e,-0x61,-0x132)](z[_0x5885dd(0x3b7,0x33d,0x4b6,0x4e6)]())[_0x16ac01(0x1f2,0x16f,0x327,0xf9)](),'maxConcurrency':z['number']()[_0x16ac01(-0x33,0x16b,0x1dc,0x18a)]()[_0x5885dd(0x2bb,0x23c,0x190,0x269)]()['positive']()[_0x5885dd(0x215,0x3ba,0x3f3,0x3fe)]()})['passthrough'](),uiThemeSettingsSchema=z[_0x5885dd(0x6a1,0x4a2,0x321,0x52b)]({'mode':z[_0x16ac01(0x154,0x19b,0x25f,0x355)]([_0x16ac01(0xb3,0x53,-0x15c,0xd0),'dark',_0x5885dd(0x468,0x36d,0x5ec,0x407)])['optional'](),'colorLevel':z['enum'](['auto',_0x16ac01(0x1ef,0x29b,0xc7,0x1db),_0x5885dd(0x1d5,0x1d7,0x244,0x1fb),_0x5885dd(0x601,0x6e8,0x538,0x4f7),_0x5885dd(0x209,0x555,0x381,0x41e)])[_0x5885dd(0x429,0x46c,0x2cf,0x3fe)](),'backgrounds':z[_0x5885dd(0x388,0x3f6,0x4a9,0x42a)]([_0x5885dd(0x2e8,0x3db,0x1e3,0x2e2),'on',_0x5885dd(0x2d1,0x37d,0x24b,0x449)])[_0x16ac01(0x313,0x16f,0x335,0xbe)](),'messageStyle':z[_0x16ac01(0x12e,0x19b,0x399,-0x26)]([_0x5885dd(0x4d7,0x335,0x3e4,0x50c),_0x5885dd(0x66e,0x52b,0x3f4,0x4ad)])[_0x5885dd(0x29a,0x288,0x2bc,0x3fe)]()})[_0x16ac01(-0x15e,-0x12d,-0x121,0x9f)](),statuslineSegmentSchema=z['enum']([_0x5885dd(0x5f0,0x50a,0x447,0x523),_0x16ac01(0xb4,0x27b,0x1ad,0x124),'thinking','sudo','tokens',_0x16ac01(0xbb,0x2cb,0x359,0x162),_0x5885dd(0x3b6,0x167,0x150,0x255),_0x16ac01(0x192,-0x2c,-0x12b,-0xef),_0x16ac01(-0xb5,-0xd9,-0x33,-0xe1),_0x16ac01(-0x157,-0xbf,-0xdc,0x10),'lsp',_0x16ac01(0x2ad,0x1d0,0xa4,-0xd),_0x16ac01(-0x9c,-0x142,-0x1f8,-0x2b8),'memory',_0x16ac01(0x2c4,0x1eb,0x355,0x14b)]),statuslineItemSchema=z[_0x16ac01(0x37f,0x1c4,0x211,0x2f4)]([statuslineSegmentSchema,z[_0x16ac01(-0x291,-0xa8,-0xab,-0x63)]('|')]),statuslineRowSchema=z[_0x16ac01(0xec,0x4e,-0x5,-0xd7)](statuslineItemSchema),statuslineConfigSchema=z[_0x5885dd(0x436,0x69b,0x3e7,0x52b)]({'rows':z[_0x16ac01(0x2a6,0xb5,0x1d,-0x9f)]([statuslineRowSchema,statuslineRowSchema])[_0x16ac01(0x94,0x16f,0x1d9,0xb8)]()})[_0x16ac01(-0x265,-0x12d,-0xe5,-0x317)](),memoryExtractionSettingsSchema=z[_0x5885dd(0x41c,0x614,0x5db,0x52b)]({'enabled':z[_0x16ac01(0x139,0x19a,0x18a,0x2a0)]()[_0x16ac01(0x237,0x16f,0x27e,0x24d)](),'provider':z[_0x5885dd(0x5ab,0x500,0x37a,0x4e6)]()['min'](0x1)[_0x16ac01(-0x93,0x16f,-0x7f,0x84)](),'model':z[_0x5885dd(0x464,0x352,0x672,0x4e6)]()[_0x16ac01(0x77,-0xcb,-0x1bf,-0x99)](0x1)['optional'](),'minUserMessages':z[_0x16ac01(0x158,0x71,0x277,0x251)]()[_0x16ac01(-0x61,-0x26,-0x4c,-0x93)]()['min'](0x1)['optional'](),'structuredOutput':z[_0x5885dd(0x29d,0x428,0x286,0x429)]()[_0x5885dd(0x29a,0x57d,0x4f0,0x3fe)](),'maxSeedTokens':z[_0x5885dd(0x2b2,0x270,0x209,0x300)]()[_0x16ac01(0xa8,-0x26,-0x71,-0x11c)]()['min'](0x1)[_0x16ac01(0x7,0x16f,0x13c,0x1d3)](),'trimToolOutputs':z[_0x5885dd(0x328,0x527,0x215,0x429)]()[_0x5885dd(0x33d,0x593,0x4bf,0x3fe)]()})[_0x16ac01(0x209,0x271,0x182,0x142)](),memoryInjectionSettingsSchema=z['object']({'tokenBudget':z[_0x5885dd(0x197,0x40f,0x382,0x300)]()[_0x16ac01(0x178,-0x26,-0xf6,0x11)]()[_0x5885dd(0x338,0x326,0x9,0x1c4)](0x80)['max'](0x2000)['optional'](),'rankByUsage':z[_0x5885dd(0x637,0x3ba,0x256,0x429)]()['optional']()})['strict'](),memoryConsolidateSettingsSchema=z[_0x16ac01(0x13d,0x29c,0x8c,0x3e8)]({'enabled':z['boolean']()[_0x16ac01(0x329,0x16f,0x86,0x25d)](),'provider':z[_0x16ac01(0x10d,0x257,0x2a9,0xe3)]()[_0x5885dd(0xcf,0x187,0x268,0x1c4)](0x1)[_0x5885dd(0x337,0x3df,0x34f,0x3fe)](),'model':z['string']()[_0x5885dd(0xa9,0x32e,0x2f5,0x1c4)](0x1)['optional'](),'maxExtractsPerRun':z[_0x5885dd(0x14a,0x192,0x1ec,0x300)]()[_0x16ac01(-0x1ab,-0x26,-0xd7,-0x33)]()[_0x16ac01(-0x2c2,-0xcb,0xba,0x26)](0x1)['optional'](),'maxUnusedDays':z[_0x5885dd(0x22d,0x3e2,0x3d4,0x300)]()[_0x5885dd(0x128,0x15f,0xf1,0x269)]()[_0x16ac01(-0x2c0,-0xcb,-0x216,-0x163)](0x1)[_0x5885dd(0x5a5,0x4b7,0x602,0x3fe)](),'requireReview':z[_0x16ac01(0x12f,0x19a,0x322,0x269)]()[_0x5885dd(0x445,0x4d8,0x554,0x3fe)](),'writeSkills':z[_0x5885dd(0x4f8,0x462,0x5e7,0x429)]()[_0x16ac01(0x212,0x16f,0x2e2,0x372)](),'readSourceTranscripts':z[_0x16ac01(0x142,0x19a,0x2b2,0x26f)]()[_0x5885dd(0x221,0x3d9,0x5bd,0x3fe)](),'maxTranscriptReadsPerRun':z[_0x5885dd(0x302,0x247,0x47f,0x300)]()[_0x5885dd(0x6f,0x106,0x242,0x269)]()[_0x16ac01(-0xde,-0xcb,-0x1af,-0x40)](0x0)[_0x16ac01(0x13d,0x16f,0x28c,-0x6d)]()})[_0x16ac01(0x44a,0x271,0x290,0x29f)](),memorySettingsSchema=z[_0x5885dd(0x569,0x530,0x6d4,0x52b)]({'enabled':z[_0x5885dd(0x479,0x519,0x262,0x429)]()[_0x5885dd(0x473,0x24f,0x41e,0x3fe)](),'extraction':memoryExtractionSettingsSchema[_0x5885dd(0x399,0x5f9,0x5ec,0x3fe)](),'consolidate':memoryConsolidateSettingsSchema[_0x5885dd(0x4c3,0x30e,0x406,0x3fe)](),'injection':memoryInjectionSettingsSchema['optional']()})[_0x16ac01(0x216,0x271,0x35f,0xc2)](),recentModelSchema=z[_0x16ac01(0x43f,0x29c,0x43d,0x386)]({'provider':z[_0x16ac01(0x287,0x257,0x39d,0x137)](),'model':z[_0x5885dd(0x48c,0x3e4,0x396,0x4e6)](),'usedAt':z[_0x16ac01(0x8c,0x71,-0x1b,-0x52)]()})[_0x16ac01(-0x14f,-0x12d,0xc7,-0x204)](),lspServerEntrySchema=z[_0x5885dd(0x591,0x498,0x486,0x52b)]({'disabled':z['boolean']()['optional'](),'command':z[_0x16ac01(0x20d,0x257,0x3e4,0x56)]()['optional'](),'args':z[_0x5885dd(0x3c4,0x2b9,0x262,0x2dd)](z[_0x16ac01(0x218,0x257,0x17a,0x210)]())[_0x5885dd(0x336,0x1eb,0x25f,0x3fe)](),'rootMarkers':z[_0x16ac01(-0x1c5,0x4e,0x13b,0x234)](z[_0x5885dd(0x569,0x38c,0x688,0x4e6)]())['optional']()})[_0x16ac01(0x9,-0x12d,-0x189,-0x2de)](),lspConfigSchema=z['object']({'enabled':z[_0x5885dd(0x38b,0x50c,0x582,0x429)]()['optional'](),'servers':z[_0x5885dd(0x2da,0x270,0x1f8,0x3ef)](z[_0x5885dd(0x65f,0x57c,0x2e4,0x4e6)](),lspServerEntrySchema)[_0x16ac01(0x25e,0x16f,-0x80,0x228)]()})[_0x16ac01(0xcf,-0x12d,0x55,-0x2fd)](),serverEndpointSchema=z[_0x16ac01(0x4ad,0x29c,0x175,0x186)]({'url':z['string'](),'token':z[_0x5885dd(0x2fc,0x64d,0x338,0x4e6)]()[_0x5885dd(0x24b,0x54c,0x433,0x3fe)]()})[_0x16ac01(-0x46,-0x12d,-0x10a,-0x1d1)](),commandHookConfigSchema=z[_0x16ac01(0x1dd,0x29c,0x24e,0x3c4)]({'type':z[_0x16ac01(-0x186,-0xa8,0x13b,-0xd6)](_0x16ac01(0x381,0x1ca,0xd1,0x27)),'command':z[_0x16ac01(0x2ef,0x257,0x3c2,0x2de)](),'timeout':z[_0x5885dd(0x22a,0x160,0x2d1,0x300)]()['optional']()}),hookMatcherGroupSchema=z['object']({'matcher':z['string']()[_0x16ac01(0xc9,0x16f,0x2fb,0x1d7)](),'hooks':z[_0x5885dd(0x4ce,0x18f,0x285,0x2dd)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x5885dd(0x73b,0x622,0x59a,0x52b)]({'PreToolUse':z[_0x16ac01(-0x158,0x4e,-0x94,-0xde)](hookMatcherGroupSchema)[_0x5885dd(0x1f4,0x29f,0x5fb,0x3fe)](),'PostToolUse':z[_0x16ac01(-0xfe,0x4e,0x4a,-0x73)](hookMatcherGroupSchema)[_0x16ac01(0x2e4,0x16f,0x2b,0x2c7)](),'UserPromptSubmit':z[_0x5885dd(0x243,0x2a6,0x470,0x2dd)](hookMatcherGroupSchema)[_0x16ac01(-0x99,0x16f,0x224,0x341)](),'Stop':z[_0x5885dd(0x1f3,0x2f3,0x239,0x2dd)](hookMatcherGroupSchema)[_0x5885dd(0x487,0x2c0,0x5b5,0x3fe)](),'Notification':z[_0x16ac01(0x187,0x4e,0x181,-0xd5)](hookMatcherGroupSchema)['optional'](),'ToolApprovalRequest':z[_0x16ac01(0x1f9,0x4e,-0xc8,0xbb)](hookMatcherGroupSchema)[_0x16ac01(-0x98,0x16f,0x19f,-0x88)](),'SessionStart':z[_0x5885dd(0x19e,0x107,0x1c5,0x2dd)](hookMatcherGroupSchema)[_0x5885dd(0x557,0x2a5,0x611,0x3fe)](),'SessionEnd':z[_0x5885dd(0x11f,0x1d6,0x2d0,0x2dd)](hookMatcherGroupSchema)[_0x5885dd(0x28b,0x4a6,0x436,0x3fe)]()}),agentModelSetNameSchema=z[_0x5885dd(0x366,0x493,0x4a4,0x4e6)]()[_0x16ac01(0x241,0x1fe,0x24d,0x42)](isValidAgentModelSetName,'Invalid\x20agent\x20model\x20set\x20name'),agentModelSelectorSchema=z[_0x5885dd(0x3a2,0x5af,0x545,0x4e6)]()[_0x16ac01(0x229,0x1fe,0x198,0x1f4)](_0x1646ff=>parseProviderQualifiedModelSelector(_0x1646ff)!==void 0x0,_0x16ac01(0x30,0xbc,0xee,0xc0)),agentModelSetSchema=z[_0x16ac01(0x137,0x29c,0x3c8,0x429)]({'fast':agentModelSelectorSchema[_0x5885dd(0x23e,0x3bd,0x32d,0x3fe)](),'balanced':agentModelSelectorSchema[_0x16ac01(0x47,0x16f,-0x56,0x223)](),'powerful':agentModelSelectorSchema[_0x5885dd(0x331,0x397,0x4f1,0x3fe)]()})['strict']()['refine'](_0x43af72=>Object[_0x5885dd(0x5e5,0x3c1,0x2f7,0x455)](_0x43af72)[_0x5885dd(0x480,0x2fc,0x40f,0x38b)]>0x0,_0x5885dd(0x40b,0x1dc,0x1b3,0x374)),agentModelSetsSchema=prototypeSafeRecord(agentModelSetSchema)['superRefine']((_0x4a59ad,_0x27e273)=>{const _0x3eceab={_0x586ee8:0x565,_0x3213f7:0x33e,_0x1fdacb:0x2b2,_0x44188e:0x468,_0x4c6776:0x49e,_0x95e8b9:0xa0,_0x9ea79c:0x288,_0x3875b1:0x47d,_0x3a1018:0x3f7,_0x11032f:0x264,_0x57a941:0x22b,_0x4c892c:0x3d4,_0x2400b0:0x2f3,_0x3dfcc7:0x155,_0x4b4551:0x55},_0x56587d={_0x4c8a19:0xa4,_0x135261:0x13},_0xbe8268={_0x1822e9:0x146};function _0x52f7eb(_0x438542,_0x2fa457,_0x36ad58,_0x12f6eb){return _0x16ac01(_0x438542-0x22,_0x2fa457-_0xbe8268._0x1822e9,_0x36ad58-0x2,_0x12f6eb);}function _0x55059a(_0x1ec133,_0x367970,_0xd222c0,_0x3f75fe){return _0x5885dd(_0x1ec133-_0x56587d._0x4c8a19,_0x1ec133,_0xd222c0-0x13a,_0x3f75fe-_0x56587d._0x135261);}for(const _0xa87d63 of Object[_0x55059a(_0x3eceab._0x586ee8,_0x3eceab._0x3213f7,_0x3eceab._0x1fdacb,_0x3eceab._0x44188e)](_0x4a59ad)){!agentModelSetNameSchema[_0x55059a(_0x3eceab._0x4c6776,_0x3eceab._0x95e8b9,0x433,_0x3eceab._0x9ea79c)](_0xa87d63)[_0x55059a(0x636,0x4de,0x578,_0x3eceab._0x3875b1)]&&_0x27e273[_0x55059a(_0x3eceab._0x3a1018,0x305,_0x3eceab._0x11032f,0x2b4)]({'code':_0x55059a(0x480,_0x3eceab._0x57a941,_0x3eceab._0x4c892c,_0x3eceab._0x2400b0),'path':[_0xa87d63],'message':_0x52f7eb(_0x3eceab._0x3dfcc7,_0x3eceab._0x4b4551,0x12e,-0x142)});}}),bashPolicyRuleSchema=z[_0x16ac01(0x25d,0x29c,0x210,0x2a7)]({'id':z[_0x5885dd(0x6d6,0x46f,0x6a3,0x4e6)]()[_0x5885dd(0x390,0x53a,0x2d9,0x3c5)]()[_0x16ac01(-0x213,-0xcb,0x26,-0xd9)](0x1)['max'](0x80),'action':z['enum']([_0x16ac01(-0x17d,0x4c,0x66,0x7a),_0x16ac01(-0x106,-0x131,0x22,-0x197)]),'cwd':z['enum']([_0x16ac01(0x309,0x10e,0x24b,-0xb1),_0x5885dd(0x2e9,0x3ae,0x510,0x342)])[_0x5885dd(0x24a,0x40f,0x38e,0x3fe)](),'commands':z[_0x5885dd(0x3f2,0x34d,0x2a3,0x2dd)](z[_0x16ac01(0x136,0x257,0x46,0x90)]()[_0x5885dd(0x320,0x3ab,0x156,0x1c4)](0x1))[_0x16ac01(-0x1fb,-0xcb,-0xa8,-0x2c8)](0x1)})[_0x16ac01(0x26e,0x271,0x6a,0x317)](),bashPolicyConfigSchema=z[_0x5885dd(0x5a9,0x489,0x6a0,0x52b)]({'default':z[_0x16ac01(-0x84,-0xa8,-0x154,-0x1a4)](_0x5885dd(0x22b,0xf4,0x40f,0x211))[_0x16ac01(0x1c7,0x16f,0x1e,0xba)](),'rules':z[_0x5885dd(0x245,0x394,0x10e,0x2dd)](bashPolicyRuleSchema)[_0x5885dd(0x32b,0x316,0x291,0x21d)](0x3e8)})[_0x16ac01(0x348,0x271,0x35b,0x405)](),fileEditSettingsSchema=z['object']({'mode':z[_0x5885dd(0x348,0x45f,0x5b3,0x42a)](PRODUCTION_FILE_EDIT_MODES)[_0x5885dd(0x25d,0x25a,0x40c,0x3fe)]()})[_0x5885dd(0x3f9,0x55f,0x526,0x500)](),toolsSettingsSchema=z['object']({'fileEdit':fileEditSettingsSchema[_0x16ac01(-0x7,0x16f,0x40,-0x3c)]()})[_0x16ac01(0x3,-0x12d,-0x3a,-0x2f0)](),cliConfigSchema=z[_0x16ac01(0xad,0x29c,0xfc,0x39f)]({'activeProvider':providerNameSchema[_0x16ac01(0x313,0x16f,0x100,0x227)](),'activeModel':z[_0x16ac01(0x166,0x257,0x340,0x186)]()[_0x5885dd(0x38c,0x2c7,0x3cf,0x3fe)](),'agentModelSets':agentModelSetsSchema[_0x5885dd(0x3d8,0x514,0x444,0x3fe)](),'activeAgentModelSet':agentModelSetNameSchema[_0x5885dd(0x57a,0x331,0x57f,0x3fe)](),'apiKey':z[_0x5885dd(0x3dc,0x582,0x376,0x4e6)]()[_0x16ac01(0x1bb,0x16f,0x184,0x1fa)](),'providers':z[_0x16ac01(0x1ef,0x160,0xd1,0x1b6)](providerNameSchema,providerConfigSchema)[_0x5885dd(0x2d8,0x5b0,0x2ff,0x3fe)](),'mcp':mcpSettingsSchema[_0x5885dd(0x508,0x434,0x233,0x3fe)](),'skills':skillsSettingsSchema[_0x16ac01(0x3c,0x16f,0x239,-0x3f)](),'agents':agentsSettingsSchema[_0x5885dd(0x45e,0x52d,0x518,0x3fe)](),'commands':commandsSettingsSchema[_0x5885dd(0x5d7,0x4a6,0x314,0x3fe)](),'skillsEnabled':z[_0x16ac01(0x84,0x160,-0x7a,0x2e6)](z[_0x16ac01(0x113,0x257,0x298,0x187)](),z[_0x5885dd(0x481,0x3fb,0x35a,0x429)]())[_0x5885dd(0x427,0x389,0x612,0x3fe)](),'allowedDirs':z[_0x16ac01(0x1e4,0x4e,0xca,0x1d2)](z[_0x5885dd(0x3e1,0x372,0x5ca,0x4e6)]())[_0x5885dd(0x5e3,0x417,0x4f6,0x3fe)](),'mcpEnabled':prototypeSafeRecord(z[_0x16ac01(-0x67,0x19a,-0x43,0x104)]())['optional'](),'commandsEnabled':z[_0x5885dd(0x347,0x28f,0x35b,0x3ef)](z[_0x5885dd(0x318,0x330,0x5fb,0x4e6)](),z[_0x5885dd(0x294,0x24b,0x54c,0x429)]())[_0x5885dd(0x462,0x578,0x3fe,0x3fe)](),'memory':memorySettingsSchema[_0x5885dd(0x5de,0x4fe,0x5f0,0x3fe)](),'session':z['object']({'memPersist':z[_0x5885dd(0x45d,0x2b4,0x580,0x429)]()[_0x5885dd(0x2b4,0x313,0x528,0x3fe)](),'persistEventLog':z[_0x5885dd(0x63e,0x3a7,0x371,0x429)]()['optional'](),'persistHttpLog':z[_0x5885dd(0x34a,0x3d9,0x5a0,0x429)]()[_0x5885dd(0x4e8,0x27a,0x53c,0x3fe)]()})[_0x16ac01(0x48,-0x12d,-0x154,-0x206)]()['optional'](),'requireToolApproval':z['boolean']()[_0x5885dd(0x365,0x52b,0x467,0x3fe)](),'thinking':z[_0x5885dd(0x658,0x483,0x61c,0x52b)]({'selections':z['record'](z['string'](),z[_0x16ac01(0x442,0x257,0x407,0x351)]())[_0x16ac01(0xa6,0x16f,0x14e,-0xa5)]()})[_0x16ac01(0x13,0x16f,0x311,0x16e)](),'streamingChunks':z[_0x5885dd(0x5e4,0x373,0x3fa,0x429)]()[_0x5885dd(0x351,0x57f,0x3fc,0x3fe)](),'agentsEnabled':z[_0x5885dd(0x36f,0x384,0x23d,0x3ef)](z['string'](),z[_0x5885dd(0x3c1,0x32d,0x480,0x429)]())['optional'](),'recentModels':z[_0x5885dd(0x213,0xf9,0x29f,0x2dd)](recentModelSchema)[_0x5885dd(0x5b4,0x20b,0x499,0x3fe)](),'lsp':lspConfigSchema[_0x16ac01(0x26c,0x16f,0x1fb,0x1ae)](),'servers':z[_0x16ac01(0x2d5,0x160,0x148,-0xa0)](z[_0x16ac01(0x446,0x257,0x413,0x119)](),serverEndpointSchema)['optional'](),'ui':z[_0x5885dd(0x717,0x44f,0x358,0x52b)]({'theme':uiThemeSettingsSchema[_0x5885dd(0x42c,0x383,0x48a,0x3fe)](),'statusline':statuslineConfigSchema[_0x5885dd(0x48a,0x319,0x4de,0x3fe)]()})[_0x5885dd(0x2f6,-0x44,0x89,0x162)]()[_0x16ac01(0x1b2,0x16f,-0x58,0x5e)](),'tools':toolsSettingsSchema['optional'](),'hooks':hooksConfigSchema[_0x5885dd(0x290,0x350,0x609,0x3fe)](),'bashPolicy':z[_0x5885dd(0x46a,0x665,0x6dc,0x567)]()['optional']()})[_0x16ac01(-0x325,-0x12d,0xca,0x58)](),workspaceOverlaySchema=z['object']({'root':z[_0x16ac01(0x276,0x257,0x38a,0xa1)]()[_0x16ac01(0x5,0x16f,0x1a6,0x90)](),'allowedDirs':z[_0x5885dd(0xfc,0x4ac,0x2a1,0x2dd)](z['string']())[_0x16ac01(0x2c1,0x16f,0x2b6,0x1d)](),'activeProvider':providerNameSchema[_0x5885dd(0x485,0x330,0x463,0x3fe)](),'activeModel':z[_0x16ac01(0x343,0x257,0x32d,0x46e)]()['optional'](),'activeAgentModelSet':agentModelSetNameSchema[_0x5885dd(0x238,0x5c3,0x26b,0x3fe)](),'mcp':mcpSettingsSchema[_0x16ac01(0x28a,0x16f,0x33e,0x173)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x5885dd(0x342,0x2a8,0x236,0x3fe)](),'commands':commandsSettingsSchema['optional'](),'hooks':hooksConfigSchema[_0x5885dd(0x30b,0x5c7,0x487,0x3fe)](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x16ac01(0x2cb,0x19a,0x2e9,0x212)]())['optional'](),'skillsEnabled':z[_0x16ac01(0x6b,0x160,-0x8f,0x1aa)](z[_0x5885dd(0x4fe,0x396,0x53d,0x4e6)](),z[_0x5885dd(0x2e5,0x24a,0x491,0x429)]())[_0x5885dd(0x2ce,0x2b6,0x2ab,0x3fe)](),'agentsEnabled':z[_0x5885dd(0x55d,0x53b,0x4dd,0x3ef)](z[_0x5885dd(0x386,0x5bc,0x405,0x4e6)](),z[_0x5885dd(0x442,0x489,0x5a7,0x429)]())[_0x5885dd(0x571,0x539,0x580,0x3fe)](),'commandsEnabled':z[_0x16ac01(-0x31,0x160,0x2f1,0x182)](z[_0x5885dd(0x4fd,0x425,0x55d,0x4e6)](),z['boolean']())['optional'](),'bashPolicy':z[_0x5885dd(0x54d,0x737,0x771,0x567)]()[_0x5885dd(0x513,0x429,0x4ec,0x3fe)](),'tools':toolsSettingsSchema[_0x5885dd(0x3bb,0x3be,0x25a,0x3fe)]()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES3=new Set([...Object['getOwnPropertyNames'](Object[_0x5885dd(0x17d,0x377,0x106,0x1e8)]),_0x5885dd(0x217,0xcd,0x39c,0x1e8)]);function buildDescription2(_0x281345){const _0x3b5d6c={_0x4a4311:0xcf,_0x54a255:0x25e,_0x3a8feb:0x4db,_0xba2959:0xb,_0x4b8ac9:0x2c6,_0x22d2c9:0x8f},_0x2ef376={_0x9b734d:0x192,_0x2264c1:0x2a,_0x4c43c5:0x6b},_0x14bb76={_0x536794:0x5b,_0x53e615:0x123};function _0x1645d4(_0x1a73e3,_0x367f22,_0xa8cf84,_0x11bd03){return _0x16ac01(_0x1a73e3-_0x14bb76._0x536794,_0x11bd03-0x293,_0xa8cf84-_0x14bb76._0x53e615,_0x1a73e3);}if(_0x281345['length']===0x0)return[_0x3c9836(-_0x3b5d6c._0x4a4311,0x254,_0x3b5d6c._0x54a255,0x91),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.','No\x20commands\x20are\x20currently\x20available.']['join']('\x0a');function _0x3c9836(_0x148232,_0x355faf,_0x2edbbc,_0x99a656){return _0x16ac01(_0x148232-_0x2ef376._0x9b734d,_0x99a656- -_0x2ef376._0x2264c1,_0x2edbbc-_0x2ef376._0x4c43c5,_0x2edbbc);}const _0x2b2928=['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.',_0x1645d4(0x27e,_0x3b5d6c._0x3a8feb,0x4c9,0x334),'Available\x20commands:',..._0x281345['map'](_0x1c5535=>_0x1c5535[_0x1645d4(0x162,0x447,0x20c,0x352)]?'-\x20'+_0x1c5535[_0x1645d4(0x33f,0x675,0x616,0x4aa)]+'\x20'+_0x1c5535['argumentHint']+':\x20'+_0x1c5535[_0x1645d4(0x3ff,0x238,0x27e,0x2db)]:'-\x20'+_0x1c5535[_0x1645d4(0x2b5,0x513,0x394,0x4aa)]+':\x20'+_0x1c5535['description'])];return _0x2b2928[_0x3c9836(_0x3b5d6c._0xba2959,_0x3b5d6c._0x4b8ac9,_0x3b5d6c._0x22d2c9,0x1dc)]('\x0a');}function createInvokeCommandTool(_0x2d5e72){const _0xa400ef={_0x59cda6:0x3e8,_0x22a11d:0x3b8,_0x4ff92b:0x1c8,_0x5ad975:0x1a5,_0x4b466c:0x116,_0x59b7da:0x2a9,_0x3e32ae:0x19f,_0x35ad8f:0x46,_0x349017:0x7b7,_0x163ba4:0x5f6,_0x128933:0x4f7,_0x189041:0xe5,_0x5307c8:0x257,_0x2910c5:0x282,_0x1e5d66:0x581},_0x35ecc2={_0xc9f35d:0x6d1,_0x25d06b:0x294,_0xcb840c:0x407,_0x33fb52:0x5e4,_0x171f62:0x4a9,_0x2b7844:0x272,_0xaa45c4:0xaa,_0x431cb7:0x2bc,_0x14e402:0x24b,_0x259fa3:0xfb,_0xd98084:0x5f,_0x39d276:0xda,_0x4b0174:0xd5,_0x26aee3:0x3ac,_0xd38146:0x446,_0x243845:0x1d7,_0x448297:0xfb,_0x4be604:0x505,_0x27a8fc:0x590,_0x44b468:0x5f5,_0x275a79:0x58e},_0x1aea9b={_0x5787f8:0x15f},_0x1a24b3={_0x30e7db:0xd3},_0x47359a={_0x5c106e:0x6f},_0x4b0de0=new Map(_0x2d5e72[_0xd8ddd8(_0xa400ef._0x59cda6,0x33b,0x391,_0xa400ef._0x22a11d)][_0xb8a0ad(-_0xa400ef._0x4ff92b,-_0xa400ef._0x5ad975,-0x43,-_0xa400ef._0x4b466c)](_0x406891=>[_0x406891['id'],_0x406891]));function _0xd8ddd8(_0x3c2f45,_0x30c0f2,_0x5bdb23,_0x39b9be){return _0x16ac01(_0x3c2f45-_0x47359a._0x5c106e,_0x5bdb23-0x35a,_0x5bdb23-0x162,_0x3c2f45);}function _0xb8a0ad(_0x511f35,_0x53a401,_0xb4e811,_0x28c98e){return _0x16ac01(_0x511f35-_0x1a24b3._0x30e7db,_0x28c98e-0x2b,_0xb4e811-0xd1,_0xb4e811);}const _0x3c587a=buildDescription2(_0x2d5e72['commands']);return defineTool({'name':_0xd8ddd8(_0xa400ef._0x59b7da,0x612,0x488,0x663),'permissionClass':_0xb8a0ad(-_0xa400ef._0x3e32ae,-0x17f,0x67,_0xa400ef._0x35ad8f),'description':_0x3c587a,'inputSchema':{'type':_0xd8ddd8(_0xa400ef._0x349017,0x452,_0xa400ef._0x163ba4,_0xa400ef._0x128933),'properties':{'name':{'type':_0xb8a0ad(_0xa400ef._0x189041,_0xa400ef._0x5307c8,0x33b,_0xa400ef._0x2910c5)},'args':{'type':_0xd8ddd8(0x522,_0xa400ef._0x1e5d66,0x5b1,_0xa400ef._0x1e5d66)}},'required':['name']},async *'execute'(_0x254f04){const _0x61b197={_0x15856f:0x19e,_0x204e72:0x367},_0x3663db=_0x4b0de0[_0x5d2504(0x576,_0x35ecc2._0xc9f35d,0x485,0x667)](_0x254f04['name']);if(!_0x3663db){const _0x11233c=Array[_0x5d2504(_0x35ecc2._0x25d06b,_0x35ecc2._0xcb840c,_0x35ecc2._0x33fb52,_0x35ecc2._0x171f62)](_0x4b0de0[_0x4f77a0(0xfc,-0x15e,_0x35ecc2._0x2b7844,_0x35ecc2._0xaa45c4)]())['join'](',\x20');throw new ToolExecutionError(_0x4f77a0(-0x118,_0x35ecc2._0x431cb7,-0x4e,0xb8)+_0x254f04[_0x4f77a0(_0x35ecc2._0x14e402,-0x116,0x262,_0x35ecc2._0x259fa3)]+_0x4f77a0(0x26b,-_0x35ecc2._0xd98084,-0x2a,_0x35ecc2._0x39d276)+_0x11233c,{'name':_0x254f04[_0x4f77a0(0x15f,-_0x35ecc2._0x4b0174,0x19a,0xfb)]});}function _0x5d2504(_0x35b1fa,_0x54f315,_0x2a7f51,_0x4e1f78){return _0xb8a0ad(_0x35b1fa-0x14f,_0x54f315-_0x61b197._0x15856f,_0x54f315,_0x4e1f78-_0x61b197._0x204e72);}const _0x3cec46=await _0x2d5e72[_0x5d2504(_0x35ecc2._0x26aee3,0x43e,_0x35ecc2._0xd38146,0x32e)](_0x3663db),_0xcb16aa=_0x254f04[_0x4f77a0(0xab,0x337,0x4f,0x156)]??'',_0x33ca2a=renderCommandInstructions({'instructions':_0x3cec46['instructions'],'argumentsText':_0xcb16aa,'argumentNames':_0x3cec46['arguments']});yield createToolOutput(_0x33ca2a,{'id':_0x3cec46['id'],'name':_0x3cec46[_0x4f77a0(0x143,_0x35ecc2._0x243845,0x13d,_0x35ecc2._0x448297)],'path':_0x3663db[_0x5d2504(_0x35ecc2._0x4be604,0x2fa,_0x35ecc2._0x27a8fc,0x472)][_0x5d2504(_0x35ecc2._0x44b468,0x613,0x65c,_0x35ecc2._0x275a79)]});function _0x4f77a0(_0x551809,_0x4bdb99,_0x2454e3,_0x70797c){return _0xd8ddd8(_0x2454e3,_0x4bdb99-_0x1aea9b._0x5787f8,_0x70797c- -0x476,_0x70797c-0x167);}return void 0x0;}});}function createKillShellTool(_0x3ce1a1){const _0x3babe5={_0x321c8e:0x2e9,_0x41db40:0x615,_0x2106d3:0x5eb,_0x4afe40:0x509,_0x4019af:0x50a,_0x3ab40d:0x78b,_0x257367:0x743,_0x55ae0d:0x5b0,_0xb68695:0x4ce,_0xd98991:0x689,_0x277a6f:0x6ee,_0x32e840:0x697},_0x15b321={_0x3d08a3:0x50f,_0x59857b:0x33a,_0x256e38:0x468,_0x2cf663:0x55b,_0x1a9ea1:0x418,_0x353a7d:0x547,_0x141293:0x2a3,_0x582589:0x34,_0x474ffd:0x280,_0x53fdcb:0x105,_0x4d4818:0x5f,_0x303f77:0x262,_0x1676c7:0x61,_0x1887c2:0x3b3,_0xc617b3:0xb1,_0x1e1b34:0x1f7,_0x36fcfe:0x273,_0x574c92:0x324,_0x3ad299:0x4f6,_0x233146:0x557,_0x1c7b7e:0xec,_0x24e1c2:0xfb,_0x34c736:0x119,_0x4e46e8:0x521,_0x5aaff4:0x19d,_0x297b62:0x21d,_0x44cc68:0x5b2,_0x3cda06:0x466,_0x1ec071:0x3c3,_0xb846f1:0x532,_0x9329a:0x2ff,_0x19496a:0x33c,_0x20e861:0x51d,_0x266bb9:0x203,_0x4dbfc6:0x2df,_0x4aff9c:0x529,_0x94bf08:0x314,_0x1a7c1d:0x1b3,_0x25c6c0:0x7d,_0x41ccef:0x40,_0x4ec347:0x1b9,_0x368c27:0xa5,_0x42cee4:0x1be,_0x6d0111:0x619,_0xa4fcf8:0x4f0,_0x6322d9:0x2f4,_0x16170e:0x320,_0x209197:0x3d1},_0x4b0597={_0x86fee8:0xfc,_0x4a5f0d:0x3da},_0x5a11b9={_0x3effc0:0x13c},_0x292bd7={_0xc0f7cd:0x58a},_0x167b11={_0x2e8da7:0x58,_0x135e7d:0x18};function _0x1e878c(_0x42e178,_0x4ec8e3,_0xe12f33,_0x4b5479){return _0x5885dd(_0x42e178-0xe4,_0xe12f33,_0xe12f33-_0x167b11._0x2e8da7,_0x4b5479- -_0x167b11._0x135e7d);}function _0x52b6a1(_0x5282cf,_0xd5da83,_0x27ee7d,_0x5b7e00){return _0x16ac01(_0x5282cf-0xa7,_0x27ee7d-_0x292bd7._0xc0f7cd,_0x27ee7d-0x1f4,_0xd5da83);}const {registry:_0x2ac1c4}=_0x3ce1a1;return defineTool({'name':_0x52b6a1(_0x3babe5._0x321c8e,_0x3babe5._0x41db40,0x445,_0x3babe5._0x2106d3),'permissionClass':_0x52b6a1(_0x3babe5._0x4afe40,0x6e9,0x5a5,_0x3babe5._0x4019af),'description':'Terminate\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true),\x20identified\x20by\x20its\x20shellId.','inputSchema':{'type':_0x52b6a1(_0x3babe5._0x3ab40d,0x84b,0x826,_0x3babe5._0x257367),'properties':{'shellId':{'type':_0x1e878c(0x39c,_0x3babe5._0x55ae0d,0x2e3,_0x3babe5._0xb68695)}},'required':[_0x52b6a1(_0x3babe5._0xd98991,0x555,_0x3babe5._0x277a6f,_0x3babe5._0x32e840)]},async *'execute'(_0x21bcf1){const _0x2c36eb=await _0x2ac1c4[_0x149396(_0x15b321._0x3d08a3,0x601,_0x15b321._0x59857b,_0x15b321._0x256e38)](_0x21bcf1[_0x149396(0x418,_0x15b321._0x2cf663,0x53e,0x48b)]);function _0x149396(_0x2e9aa8,_0x19e804,_0x2954d2,_0xfe923d){return _0x1e878c(_0x2e9aa8-_0x5a11b9._0x3effc0,_0x19e804-0x92,_0x2954d2,_0x2e9aa8-0x3d);}const _0x37535c={'shellId':_0x2c36eb[_0x149396(_0x15b321._0x1a9ea1,_0x15b321._0x353a7d,0x25e,0x3bd)],'outcome':_0x2c36eb[_0x415264(0x1fc,0x3ca,0x274,_0x15b321._0x141293)],'status':_0x2c36eb[_0x415264(0x149,-_0x15b321._0x582589,_0x15b321._0x474ffd,_0x15b321._0x53fdcb)],'exitCode':_0x2c36eb['exitCode'],'signal':_0x2c36eb[_0x415264(-_0x15b321._0x4d4818,_0x15b321._0x303f77,-_0x15b321._0x1676c7,0x18f)],'error':_0x2c36eb[_0x149396(0x466,0x288,_0x15b321._0x1887c2,0x3fc)],'gracefulRequested':_0x2c36eb[_0x415264(_0x15b321._0xc617b3,_0x15b321._0x1e1b34,0x2dc,_0x15b321._0x36fcfe)],'forceRequested':_0x2c36eb[_0x415264(_0x15b321._0x574c92,_0x15b321._0x3ad299,_0x15b321._0x233146,0x3fb)]};if(_0x2c36eb[_0x415264(_0x15b321._0x1c7b7e,_0x15b321._0x24e1c2,_0x15b321._0x34c736,0x2a3)]===_0x149396(_0x15b321._0x4e46e8,0x4fc,0x607,0x3f1))throw new ToolExecutionError(_0x415264(0x17e,0x12f,_0x15b321._0x5aaff4,_0x15b321._0x297b62)+_0x21bcf1[_0x149396(0x418,0x45d,_0x15b321._0x44cc68,0x502)]+':\x20'+(_0x2c36eb[_0x149396(_0x15b321._0x3cda06,0x423,_0x15b321._0x1ec071,_0x15b321._0xb846f1)]??'unknown\x20termination\x20error'),_0x37535c);const _0x34ffcb=_0x2c36eb['outcome']===_0x149396(_0x15b321._0x9329a,0x3dd,0x40d,_0x15b321._0x19496a)?_0x149396(0x3c1,0x1d7,_0x15b321._0x20e861,_0x15b321._0x266bb9)+_0x21bcf1[_0x415264(_0x15b321._0x4dbfc6,_0x15b321._0x4aff9c,0x25f,_0x15b321._0x94bf08)]+_0x415264(_0x15b321._0x1a7c1d,_0x15b321._0x25c6c0,_0x15b321._0x41ccef,_0x15b321._0x4ec347)+_0x2c36eb[_0x415264(-_0x15b321._0x368c27,0x15,_0x15b321._0x42cee4,0x105)]+'.':_0x149396(0x42f,_0x15b321._0x6d0111,_0x15b321._0xa4fcf8,_0x15b321._0x6322d9)+_0x21bcf1[_0x415264(_0x15b321._0x16170e,_0x15b321._0x209197,0x42c,0x314)]+'.';function _0x415264(_0x5b00d1,_0x5936df,_0x3f6a9b,_0x372bea){return _0x52b6a1(_0x5b00d1-_0x4b0597._0x86fee8,_0x5b00d1,_0x372bea- -_0x4b0597._0x4a5f0d,_0x372bea-0xe7);}return createToolOutput(_0x34ffcb,_0x37535c);}});}import _0x10effa from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x42efc0=>{const _0x25ac95={_0x58420b:0x58,_0x1a0f52:0x26d,_0x2770d4:0x11b},_0x25daa0={_0x21edf4:0xd0,_0x1e1510:0x260},{lookup:_0x1950c9}=await import(_0xd747a6(-_0x25ac95._0x58420b,-_0x25ac95._0x1a0f52,0xe3,-_0x25ac95._0x2770d4));function _0xd747a6(_0x4248de,_0x55c10f,_0x2303d7,_0x396034){return _0x5885dd(_0x4248de-_0x25daa0._0x21edf4,_0x2303d7,_0x2303d7-0x5c,_0x4248de- -_0x25daa0._0x1e1510);}return _0x1950c9(_0x42efc0,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x32f380){const _0x3635f4={_0x197972:0x49e,_0x2eddc9:0x73c,_0x5036bd:0x4dd,_0x415452:0x372,_0x1a5a3d:0x3cb,_0x3703b4:0x578},_0x3744ff={_0x492afc:0x168},_0x324153={_0x422680:0x1ed},_0x26d491=_0x32f380[_0xe0a731(_0x3635f4._0x197972,0x5ea,_0x3635f4._0x2eddc9,0x680)]('.');if(_0x26d491[_0x322f31(_0x3635f4._0x5036bd,_0x3635f4._0x415452,_0x3635f4._0x1a5a3d,_0x3635f4._0x3703b4)]!==0x4)return null;function _0x322f31(_0x492cfa,_0x21eb46,_0x87d71a,_0x138fad){return _0x5885dd(_0x492cfa-0x194,_0x87d71a,_0x87d71a-0x89,_0x138fad-_0x324153._0x422680);}let _0x3f9087=0x0;function _0xe0a731(_0x47dafb,_0x308789,_0x470657,_0x594741){return _0x5885dd(_0x47dafb-0xdf,_0x470657,_0x470657-_0x3744ff._0x492afc,_0x594741-0x164);}for(const _0x378848 of _0x26d491){if(!/^\d{1,3}$/['test'](_0x378848))return null;const _0x3d815e=Number(_0x378848);if(_0x3d815e>0xff)return null;_0x3f9087=_0x3f9087*0x100+_0x3d815e;}return _0x3f9087>>>0x0;}function isBlockedIpv4(_0x570c40){const _0xc35729={_0x50c3cf:0x698,_0x1639e5:0x2f0,_0x172c1b:0x62d,_0x3b4240:0x3f7,_0xc1a8f3:0x2f,_0x3ba4dd:0x19c,_0x512f9d:0x258,_0x197415:0x324,_0x483108:0x2ee,_0x4f174c:0x7cb,_0x503be2:0x6b1,_0x36a4ed:0x6a,_0x1acabc:0x160,_0x386d94:0x44,_0xda33b0:0x184,_0x15d90b:0x20c,_0x3be811:0x1a3},_0x16156a={_0x3f0e4f:0x29,_0x5ccfff:0x1c6,_0x8b9494:0x358};function _0x28d577(_0x354f1f,_0x10bc71,_0x960c40,_0x17c784){return _0x5885dd(_0x354f1f-0x175,_0x960c40,_0x960c40-0x99,_0x17c784-0x2bc);}const _0x4ac786=ipv4ToInt(_0x570c40);if(_0x4ac786===null)return!![];const _0x8da6b2=(_0x413139,_0x350d82)=>{const _0x77d55c=ipv4ToInt(_0x413139);if(_0x77d55c===null)return![];const _0xddac3d=_0x350d82===0x0?0x0:0xffffffff<<0x20-_0x350d82>>>0x0;return(_0x4ac786&_0xddac3d)===(_0x77d55c&_0xddac3d);};function _0x121ebe(_0x5ee469,_0x41ab00,_0x5b482b,_0x931863){return _0x5885dd(_0x5ee469-_0x16156a._0x3f0e4f,_0x41ab00,_0x5b482b-_0x16156a._0x5ccfff,_0x5ee469- -_0x16156a._0x8b9494);}return _0x8da6b2(_0x28d577(0x325,0x434,0x5c7,0x524),0x8)||_0x8da6b2(_0x28d577(0x533,0x66b,_0xc35729._0x50c3cf,0x5f4),0x8)||_0x8da6b2(_0x28d577(_0xc35729._0x1639e5,_0xc35729._0x172c1b,_0xc35729._0x3b4240,0x4f6),0xa)||_0x8da6b2(_0x121ebe(_0xc35729._0xc1a8f3,0x1b4,-0x1e3,0x164),0x8)||_0x8da6b2(_0x121ebe(-_0xc35729._0x3ba4dd,-_0xc35729._0x512f9d,-_0xc35729._0x197415,-_0xc35729._0x483108),0x10)||_0x8da6b2(_0x28d577(_0xc35729._0x4f174c,0x412,_0xc35729._0x503be2,0x625),0xc)||_0x8da6b2(_0x121ebe(_0xc35729._0x36a4ed,_0xc35729._0x1acabc,0xec,_0xc35729._0x386d94),0x18)||_0x8da6b2(_0x121ebe(0x2c,_0xc35729._0xda33b0,0x2b,_0xc35729._0x15d90b),0x10)||_0x8da6b2(_0x28d577(0x8b0,0x656,0x90b,0x72f),0xf)||_0x8da6b2('224.0.0.0',0x4)||_0x8da6b2(_0x121ebe(-_0xc35729._0x3be811,0x19,-0x114,-0x317),0x4);}function expandIpv6(_0x239152){const _0x989c3c={_0x37d48e:0x2e2,_0x5e7011:0x4d3,_0x3bd93b:0x372,_0x5d8ad7:0x30f,_0x44a522:0x4d5,_0x37c90e:0x270,_0x22417e:0xa3,_0x32f7e6:0x6a7,_0x19a616:0x524,_0x460a59:0x54e,_0x172294:0x118,_0x5bb797:0x227,_0x8080a9:0x29d,_0x18ed5a:0x3c3,_0x3802aa:0x277,_0x1c7a15:0x1e3,_0x31936f:0x3ab,_0x328f38:0x3d6,_0x46e405:0x160,_0x5ea98b:0x29d},_0x11d2f4={_0x16d3de:0x8f,_0x35d17c:0xee},_0x4994bf={_0x5b7cb1:0x1ef};let _0x14d005=_0x239152,_0x5f37cb;const _0x198e1c=_0x14d005[_0x63e0f7(0x497,_0x989c3c._0x37d48e,_0x989c3c._0x5e7011,_0x989c3c._0x3bd93b)](':');_0x14d005[_0x63e0f7(_0x989c3c._0x5d8ad7,_0x989c3c._0x44a522,0x1d5,_0x989c3c._0x37c90e)](_0x198e1c+0x1)['includes']('.')&&(_0x5f37cb=_0x14d005[_0x47b836(0x8e,0xc9,0xa3,-0xd4)](_0x198e1c+0x1),_0x14d005=_0x14d005[_0x47b836(0x202,0x161,_0x989c3c._0x22417e,-0xb9)](0x0,_0x198e1c+0x1));function _0x63e0f7(_0xed0712,_0xacdc3d,_0x2ca501,_0x3bfce1){return _0x16ac01(_0xed0712-0x1a9,_0xed0712-0x40d,_0x2ca501-_0x4994bf._0x5b7cb1,_0x2ca501);}function _0x47b836(_0x724e67,_0x440f33,_0x57500a,_0x44de8c){return _0x5885dd(_0x724e67-0x12d,_0x44de8c,_0x57500a-_0x11d2f4._0x16d3de,_0x57500a- -_0x11d2f4._0x35d17c);}const _0x54f103=_0x14d005['split']('::');if(_0x54f103[_0x63e0f7(0x509,_0x989c3c._0x32f7e6,_0x989c3c._0x19a616,_0x989c3c._0x460a59)]>0x2)return null;const _0x14968e=_0x468aaa=>_0x468aaa[_0x63e0f7(0x69a,0x60b,0x82b,0x60d)](':')['filter'](_0x2c4baf=>_0x2c4baf[_0x47b836(0x3e1,0x193,0x29d,0x48e)]>0x0)[_0x63e0f7(0x2cc,0x4c3,0x3cd,0x277)](_0x20f06c=>Number[_0x47b836(0x3cc,0x2c6,0x3b9,0x37f)](_0x20f06c,0x10)),_0x2a8023=_0x54f103[0x0]?_0x14968e(_0x54f103[0x0]):[],_0x102f44=_0x54f103[_0x63e0f7(0x509,0x42c,0x414,0x62b)]===0x2&&_0x54f103[0x1]?_0x14968e(_0x54f103[0x1]):[],_0x284a7e=[];if(_0x5f37cb){const _0x508dbd=ipv4ToInt(_0x5f37cb);if(_0x508dbd===null)return null;_0x284a7e[_0x47b836(0xbd,0x51,_0x989c3c._0x172294,0xc7)](_0x508dbd>>>0x10&0xffff,_0x508dbd&0xffff);}const _0x2ee74c=[..._0x102f44,..._0x284a7e],_0x221621=0x8-_0x2a8023[_0x47b836(0x3c9,_0x989c3c._0x5bb797,_0x989c3c._0x8080a9,0x155)]-_0x2ee74c[_0x47b836(0x259,_0x989c3c._0x18ed5a,0x29d,_0x989c3c._0x3802aa)];if(_0x54f103[_0x47b836(0x32b,0x13d,0x29d,_0x989c3c._0x1c7a15)]===0x1)return _0x2a8023[_0x47b836(_0x989c3c._0x31936f,0x2bd,0x29d,0x128)]+_0x2ee74c[_0x47b836(_0x989c3c._0x328f38,_0x989c3c._0x46e405,_0x989c3c._0x5ea98b,0x20b)]===0x8?[..._0x2a8023,..._0x2ee74c]:null;if(_0x221621<0x0)return null;return[..._0x2a8023,...new Array(_0x221621)['fill'](0x0),..._0x2ee74c];}function isBlockedIpv6(_0x15ad3c){const _0x5e5cd8={_0x150864:0xa7,_0x42d233:0x228,_0xf9c7d0:0x100,_0xca0c89:0x17,_0x5884ce:0x150,_0x1aa2a7:0x918,_0x5543aa:0x842,_0x2ce331:0x65d,_0x14bd2c:0x281,_0x4fb997:0x31b,_0x297d88:0x89f,_0x312528:0x937},_0x6db38={_0x2463fc:0x74},_0x44f7cc={_0x47ec77:0x1d5,_0x56cf01:0x590},_0x5dcede=expandIpv6(_0x15ad3c);if(!_0x5dcede||_0x5dcede[_0x131f19(-_0x5e5cd8._0x150864,_0x5e5cd8._0x42d233,_0x5e5cd8._0xf9c7d0,-0x54)](_0x53cb71=>Number[_0x131f19(-0x260,-0x177,-0x11e,0xeb)](_0x53cb71)))return!![];const _0xae8ce4=_0x5dcede[_0x131f19(-_0x5e5cd8._0xca0c89,0x5c,-_0x5e5cd8._0x5884ce,-0x320)](0x0,0x7)[_0x1f2d55(_0x5e5cd8._0x1aa2a7,0x73d,0x991,_0x5e5cd8._0x5543aa)](_0x48f9de=>_0x48f9de===0x0);function _0x1f2d55(_0x4165f8,_0x52c5c4,_0x3122a3,_0x2969cb){return _0x16ac01(_0x4165f8-_0x44f7cc._0x47ec77,_0x2969cb-_0x44f7cc._0x56cf01,_0x3122a3-0x41,_0x3122a3);}if(_0xae8ce4&&(_0x5dcede[0x7]===0x0||_0x5dcede[0x7]===0x1))return!![];if(_0x5dcede[_0x1f2d55(_0x5e5cd8._0x2ce331,_0x5e5cd8._0x14bd2c,_0x5e5cd8._0x4fb997,0x492)](0x0,0x5)['every'](_0x1f1be2=>_0x1f1be2===0x0)&&(_0x5dcede[0x5]===0xffff||_0x5dcede[0x5]===0x0)){const _0x431e2f=(_0x5dcede[0x6]<<0x10|_0x5dcede[0x7])>>>0x0,_0x1fa017=[_0x431e2f>>>0x18&0xff,_0x431e2f>>>0x10&0xff,_0x431e2f>>>0x8&0xff,_0x431e2f&0xff][_0x1f2d55(0x6f4,_0x5e5cd8._0x297d88,_0x5e5cd8._0x312528,0x796)]('.');return isBlockedIpv4(_0x1fa017);}const _0x165e66=_0x5dcede[0x0];if((_0x165e66&0xff00)===0xfc00||(_0x165e66&0xfe00)===0xfc00)return!![];function _0x131f19(_0x11028b,_0x185323,_0x30c62a,_0x34522d){return _0x5885dd(_0x11028b-_0x6db38._0x2463fc,_0x11028b,_0x30c62a-0x9f,_0x30c62a- -0x2e1);}if((_0x165e66&0xffc0)===0xfe80)return!![];if((_0x165e66&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x21e0d4){const _0x4d5ca0=isIP(_0x21e0d4);if(_0x4d5ca0===0x4)return isBlockedIpv4(_0x21e0d4);if(_0x4d5ca0===0x6)return isBlockedIpv6(_0x21e0d4);return!![];}async function assertPublicUrl(_0x2b52ff,_0x52b531={}){const _0x3febf0={_0xe1bf17:0x333,_0x5434a8:0x290,_0x5eaef1:0x480,_0x297324:0x5a4,_0x1c03b9:0x57c,_0xda0b34:0x5f,_0x186309:0x1e8,_0x5a54a4:0x86,_0x436aed:0xe5,_0x431207:0x1e,_0x4a5bbd:0x373,_0x525f4d:0x471,_0x2302f9:0x424,_0x32eb26:0x682,_0x76eacc:0x140,_0x4e7671:0x61,_0x2f02fe:0x16d,_0x29c66b:0x102,_0x19684c:0x16d,_0x2f1391:0x985,_0x3f1cf1:0x7b6,_0x475e16:0x49b,_0x240f13:0x6f6,_0x18a33f:0x107,_0xab6a9b:0x693,_0x4a102c:0x671,_0x584f01:0x573,_0xdaba1e:0x7c9,_0x388fd1:0x680,_0x364c79:0xec,_0x219d66:0x210,_0x5b1e41:0xd4,_0x39b3a5:0x5d,_0x38d401:0x781,_0x145405:0x673},_0x52c345={_0x2eaa7d:0xcc,_0x582787:0x83},_0x2f94c6={_0x2eb670:0xbb,_0x50e0dc:0x15f};let _0x5dbed3;try{_0x5dbed3=new URL(_0x2b52ff);}catch{throw new ToolExecutionError(_0x5a3273(_0x3febf0._0xe1bf17,_0x3febf0._0x5434a8,0x522,_0x3febf0._0x5eaef1),{'url':_0x2b52ff});}if(_0x5dbed3[_0x5a3273(0x5ae,_0x3febf0._0x297324,_0x3febf0._0x1c03b9,0x599)]!=='http:'&&_0x5dbed3[_0x196a8d(_0x3febf0._0xda0b34,-0xdd,-_0x3febf0._0x186309,-_0x3febf0._0x5a54a4)]!==_0x5a3273(0x8eb,0x6fb,0x911,0x768))throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x2b52ff});if(_0x5dbed3[_0x196a8d(0x8a,_0x3febf0._0x436aed,_0x3febf0._0x431207,0x7d)]||_0x5dbed3[_0x5a3273(0x3ee,0x28b,_0x3febf0._0x4a5bbd,_0x3febf0._0x525f4d)])throw new ToolExecutionError(_0x5a3273(0x433,_0x3febf0._0x2302f9,_0x3febf0._0x32eb26,0x496),{'url':_0x5dbed3['protocol']+'//'+_0x5dbed3[_0x196a8d(0x178,_0x3febf0._0x76eacc,0x5d,_0x3febf0._0x4e7671)]+_0x5dbed3[_0x196a8d(0x4c,-_0x3febf0._0x2f02fe,-0x255,-0x222)]});const _0x4581f3=_0x5dbed3['hostname'][_0x196a8d(0xdf,0x20e,0x105,0x249)](/^\[|\]$/g,''),_0x4d77ac=_0x5dbed3[_0x196a8d(-_0x3febf0._0x29c66b,-0xdd,-_0x3febf0._0x19684c,-0x252)]+'//'+_0x5dbed3[_0x5a3273(0x80e,_0x3febf0._0x2f1391,0x703,_0x3febf0._0x3f1cf1)]+_0x5dbed3[_0x5a3273(_0x3febf0._0x475e16,_0x3febf0._0x240f13,0x389,0x509)];function _0x5a3273(_0x1fae71,_0xe8c9c8,_0x3c54d1,_0x416988){return _0x5885dd(_0x1fae71-_0x2f94c6._0x2eb670,_0x1fae71,_0x3c54d1-_0x2f94c6._0x50e0dc,_0x416988-0x31b);}if(isIP(_0x4581f3)){if(isBlockedAddress(_0x4581f3))throw new ToolExecutionError(_0x196a8d(-_0x3febf0._0x18a33f,0xd3,-0x7d,-0x27),{'url':_0x4d77ac});return _0x5dbed3;}const _0x824f01=_0x52b531[_0x5a3273(_0x3febf0._0xab6a9b,0x3e6,_0x3febf0._0x4a102c,0x56c)]??defaultLookup;let _0x106823;function _0x196a8d(_0x4bacb9,_0x10ee69,_0x40a171,_0x452bdb){return _0x16ac01(_0x4bacb9-0x0,_0x10ee69- -_0x52c345._0x2eaa7d,_0x40a171-_0x52c345._0x582787,_0x40a171);}try{_0x106823=await _0x824f01(_0x4581f3);}catch{throw new ToolExecutionError(_0x5a3273(_0x3febf0._0x584f01,0x596,_0x3febf0._0xdaba1e,_0x3febf0._0x388fd1),{'url':_0x4d77ac});}if(_0x106823[_0x196a8d(-0xf1,0x30,-_0x3febf0._0x364c79,_0x3febf0._0x219d66)]===0x0)throw new ToolExecutionError(_0x196a8d(_0x3febf0._0x5b1e41,0xa,_0x3febf0._0x39b3a5,-0xf2),{'url':_0x4d77ac});for(const {address:_0x47c383}of _0x106823){if(isBlockedAddress(_0x47c383))throw new ToolExecutionError(_0x5a3273(0x86d,0x46f,_0x3febf0._0x38d401,_0x3febf0._0x145405),{'url':_0x4d77ac});}return _0x5dbed3;}async function safeFetch(_0xb09ce8,_0x555e67={},_0x32807d={}){const _0x2b84ff={_0x3c497d:0x2af,_0x1183d9:0x33,_0x531ce7:0x11a,_0x46b7d8:0x20,_0x4814f1:0x348,_0x199cbc:0x540,_0x4cf26b:0x4c7,_0x43810e:0x5f4,_0x1f2651:0x4ad,_0x1fa788:0x343,_0x24a44:0x521,_0x33afd8:0x405,_0x1b9c0f:0x681,_0x39ab65:0x515,_0x34db8d:0x4b0,_0x2b08b4:0x630,_0xd79a43:0x7ef,_0x460ae4:0x531,_0x4df82d:0x6a2,_0x4b79b6:0x496},_0x3450d2={_0xcb6dc6:0x255};function _0xd86116(_0x34b09e,_0x253435,_0x515005,_0x2fcd07){return _0x5885dd(_0x34b09e-0xb4,_0x515005,_0x515005-0x3f,_0x34b09e- -0x358);}const _0x4e521e=_0x32807d[_0xd86116(-0x1e2,-0xc,-_0x2b84ff._0x3c497d,-_0x2b84ff._0x1183d9)]??fetch,_0x24c956=_0x32807d[_0xd86116(-0x14b,-_0x2b84ff._0x531ce7,_0x2b84ff._0x46b7d8,-_0x2b84ff._0x4814f1)]??DEFAULT_MAX_REDIRECTS;function _0x48100a(_0x4aa663,_0x529a5f,_0x358f81,_0x2fa1a7){return _0x5885dd(_0x4aa663-0x132,_0x4aa663,_0x358f81-0x168,_0x529a5f-_0x3450d2._0xcb6dc6);}let _0x4848d3=_0xb09ce8;for(let _0x500448=0x0;;_0x500448+=0x1){const _0x3acfe3=await assertPublicUrl(_0x4848d3,_0x32807d),_0x50d127=await _0x4e521e(_0x3acfe3[_0x48100a(0x56f,0x496,_0x2b84ff._0x199cbc,_0x2b84ff._0x4cf26b)](),{..._0x555e67,'redirect':'manual'}),_0x22473b=_0x50d127[_0x48100a(0x6d3,0x64c,_0x2b84ff._0x43810e,_0x2b84ff._0x1f2651)]['get'](_0x48100a(_0x2b84ff._0x1fa788,_0x2b84ff._0x24a44,_0x2b84ff._0x33afd8,0x4d0));if(!REDIRECT_STATUSES[_0x48100a(_0x2b84ff._0x1b9c0f,_0x2b84ff._0x39ab65,0x63d,_0x2b84ff._0x34db8d)](_0x50d127['status'])||!_0x22473b)return _0x50d127;if(_0x500448>=_0x24c956)throw new ToolExecutionError(_0x48100a(0x61c,_0x2b84ff._0x2b08b4,_0x2b84ff._0xd79a43,_0x2b84ff._0x460ae4),{'url':_0x3acfe3[_0x48100a(_0x2b84ff._0x4df82d,_0x2b84ff._0x4b79b6,0x510,0x4f5)]()});_0x4848d3=new URL(_0x22473b,_0x3acfe3)['toString']();}}var USER_AGENT=_0x5885dd(0x653,0x38e,0x5f2,0x563),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x1ba875,_0x1ead05){const _0x475a1c={_0x2370de:0x4a5,_0x3ada4d:0x47a,_0x24032e:0x577,_0xe02764:0x28,_0x2a5e3b:0x15b,_0x88ba31:0x353,_0xbf0406:0x415,_0x4c1568:0x52c,_0x2b2d1e:0x3ab,_0x159d79:0x23e,_0x26660a:0x368,_0x3131bc:0x47e},_0x285564={_0x4f203c:0xcd,_0x47f585:0x7b},_0x109d9c={_0x325ace:0x364},_0x5b3c11={_0xca90:0x133,_0x33d156:0x2ae};function _0x505258(_0x7886e3,_0x58718d,_0x205828,_0x2e9a62){return _0x5885dd(_0x7886e3-_0x5b3c11._0xca90,_0x205828,_0x205828-0x180,_0x58718d- -_0x5b3c11._0x33d156);}const _0x4253ec=new AbortController(),_0x45f04e=setTimeout(()=>_0x4253ec[_0x505258(-0x9a,0x28,-0x77,0x17c)](new Error('Fetch\x20timed\x20out')),_0x1ead05),_0x431e6f=()=>_0x4253ec['abort'](_0x1ba875[_0x2776ab(0x228,0x22a,0x3fc,0x285)]);function _0x2776ab(_0x5f04eb,_0x1eefd3,_0x45f383,_0x57c027){return _0x16ac01(_0x5f04eb-0x80,_0x5f04eb-_0x109d9c._0x325ace,_0x45f383-0x93,_0x45f383);}return _0x1ba875[_0x2776ab(_0x475a1c._0x2370de,0x4a4,_0x475a1c._0x3ada4d,_0x475a1c._0x24032e)]?_0x4253ec[_0x505258(-0x11a,_0x475a1c._0xe02764,0x1df,-0x100)](_0x1ba875[_0x505258(-0x28d,-_0x475a1c._0x2a5e3b,-0x132,-_0x475a1c._0x88ba31)]):_0x1ba875[_0x2776ab(_0x475a1c._0xbf0406,0x2ba,_0x475a1c._0x4c1568,0x31d)](_0x2776ab(_0x475a1c._0x2b2d1e,_0x475a1c._0x159d79,0x584,_0x475a1c._0x26660a),_0x431e6f,{'once':!![]}),{'signal':_0x4253ec[_0x2776ab(0x343,0x3f9,_0x475a1c._0x3131bc,0x2dc)],'cleanup':()=>{const _0x1e2845={_0x43b10b:0x17f};clearTimeout(_0x45f04e);function _0x2ae2f8(_0x51abad,_0x59964e,_0x87dfa8,_0x10b5ab){return _0x505258(_0x51abad-0x177,_0x87dfa8- -0x7,_0x59964e,_0x10b5ab-_0x1e2845._0x43b10b);}_0x1ba875[_0x2ae2f8(-_0x285564._0x4f203c,0x1bf,-0x53,_0x285564._0x47f585)]('abort',_0x431e6f);}};}function createWebFetchTool(_0x256d65={}){const _0x3b0550={_0x114035:0x32c,_0x4b3c20:0x523,_0x4f3052:0x341,_0x159517:0x196,_0x90d68a:0x3df,_0x4801ea:0x254,_0x5eff31:0xda,_0x293d10:0x11f,_0x5c8bd7:0x219,_0x374a61:0x26d,_0x4f75ad:0x20b,_0x47aba8:0x251,_0x4cfb13:0x2a6,_0x50fc68:0x129,_0xa15b36:0x33f,_0x2f37b6:0x1e2,_0x1f9823:0x198,_0xcd091d:0x5c,_0x19a0fd:0xd4,_0x2660b1:0xf2,_0x212f28:0x1d0,_0x3956ee:0x1f0,_0x4b9424:0x3cc,_0x223f1e:0x355,_0x8b7d83:0x33f,_0x33206a:0x176,_0x1101bf:0x485,_0x456458:0x2fa,_0x1617d4:0x3c2,_0x459bce:0x279},_0x3abcd8={_0x3e8a32:0x571,_0xce86da:0x748,_0x13d05c:0x71e,_0x46a6d9:0xdb,_0x38f7f8:0x3b,_0x4735f2:0x116,_0x358cbf:0x4,_0x5bb4b9:0x166,_0x26edf8:0xde,_0x116b57:0xe1,_0x29d465:0x48c,_0x5825c1:0x6ef,_0x5e5de0:0x511,_0x4ff860:0x498,_0x5b9af4:0x586,_0x161d75:0x1bf,_0x4859de:0x49,_0x31f41d:0x52e,_0x130554:0x17,_0x1eb962:0x61,_0x16f36e:0x31,_0x320592:0x8c0,_0x2e0d60:0x6d8,_0x57b20e:0x39f,_0x5d64a0:0x204,_0x44155b:0x288,_0x3cbb11:0x868,_0x5bc6bf:0x555,_0x22ba7a:0x6d5,_0x2f07b8:0x553,_0x5eca22:0x659,_0x3521a4:0x841,_0x4de0a0:0x8f,_0xc3e721:0x20b,_0x319d2b:0x54e,_0x177cde:0x664,_0x22f8df:0x5a9,_0x24d1e0:0x6c3},_0x5c0468={_0x4b6006:0xa9},_0x1424ac={_0x2d782c:0x1f0,_0xfd12e0:0x100},_0xd2f099={_0x382f7b:0x78},_0x11a9b4=_0x256d65[_0x39c2b2(0x211,_0x3b0550._0x114035,0x2a9,0x2ba)]??_0x3d569d(_0x3b0550._0x4b3c20,0x443,_0x3b0550._0x4f3052,0x1f4);function _0x39c2b2(_0x10e12c,_0x18777e,_0x2da612,_0x5f5b87){return _0x16ac01(_0x10e12c-0x1ec,_0x5f5b87-0xa3,_0x2da612-_0xd2f099._0x382f7b,_0x2da612);}const _0x2505fc=_0x256d65[_0x39c2b2(_0x3b0550._0x159517,_0x3b0550._0x90d68a,0x29f,0x2e9)]??DEFAULT_TIMEOUT_MS2,_0xd1a087=_0x256d65['lookup'],_0x2ab325=new _0x10effa({'headingStyle':_0x3d569d(_0x3b0550._0x4801ea,_0x3b0550._0x5eff31,0x19e,-0x15),'codeBlockStyle':_0x3d569d(_0x3b0550._0x293d10,-0x104,0x54,0x116),'bulletListMarker':'-'});_0x2ab325['remove'](['script','style',_0x3d569d(0x169,_0x3b0550._0x5c8bd7,0x282,_0x3b0550._0x374a61),_0x39c2b2(_0x3b0550._0x4f75ad,0x12b,_0x3b0550._0x47aba8,_0x3b0550._0x4cfb13),_0x3d569d(_0x3b0550._0x50fc68,_0x3b0550._0xa15b36,_0x3b0550._0x2f37b6,_0x3b0550._0x1f9823),_0x3d569d(0x17e,0x126,_0x3b0550._0xcd091d,-0x121),_0x39c2b2(0x4be,0x375,0x45e,0x343),'aside']);function _0x3d569d(_0x595d95,_0x24284f,_0x191827,_0x24e08c){return _0x16ac01(_0x595d95-_0x1424ac._0x2d782c,_0x191827-_0x1424ac._0xfd12e0,_0x191827-0x179,_0x595d95);}return defineTool({'name':_0x11a9b4,'permissionClass':_0x3d569d(_0x3b0550._0x19a0fd,_0x3b0550._0x2660b1,_0x3b0550._0x212f28,_0x3b0550._0x3956ee),'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':_0x39c2b2(0x324,_0x3b0550._0x4b9424,_0x3b0550._0x223f1e,_0x3b0550._0x8b7d83),'properties':{'description':{'type':_0x39c2b2(_0x3b0550._0x33206a,0x399,_0x3b0550._0x1101bf,_0x3b0550._0x456458)},'url':{'type':'string'}},'required':[_0x3d569d(_0x3b0550._0x1617d4,0x10d,0x1ed,_0x3b0550._0x459bce)]},async *'execute'(_0x478b8f,_0x5361cd){const _0x2206c4={_0x296c46:0x58,_0x397906:0x122},_0x195a67=(await assertPublicUrl(_0x478b8f[_0x58ee0d(_0x3abcd8._0x3e8a32,0x5c9,_0x3abcd8._0xce86da,_0x3abcd8._0x13d05c)],{'lookup':_0xd1a087}))['toString']();if(_0x5361cd[_0x5d9dec(0x36,-_0x3abcd8._0x46a6d9,_0x3abcd8._0x38f7f8,_0x3abcd8._0x4735f2)]['aborted'])throw new ToolExecutionError(_0x5d9dec(_0x3abcd8._0x358cbf,_0x3abcd8._0x5bb4b9,-0x211,-0x41),{'url':_0x195a67});const _0x2552f8=createTimeoutSignal(_0x5361cd[_0x5d9dec(0x36,-_0x3abcd8._0x26edf8,0x2a,_0x3abcd8._0x116b57)],_0x2505fc);let _0x2c74cb='',_0x208428=0x0,_0x7afcf9;function _0x5d9dec(_0x4fc2ff,_0x163cf0,_0x46c7a3,_0xb867e9){return _0x3d569d(_0x163cf0,_0x163cf0-0x119,_0x4fc2ff- -_0x5c0468._0x4b6006,_0xb867e9-0x4);}try{const _0x528cfc=await safeFetch(_0x195a67,{'headers':{'User-Agent':USER_AGENT},'signal':_0x2552f8['signal']},{'lookup':_0xd1a087});if(!_0x528cfc['ok'])throw new ToolExecutionError('HTTP\x20'+_0x528cfc[_0x58ee0d(_0x3abcd8._0x29d465,_0x3abcd8._0x5825c1,0x3ff,0x586)]+'\x20'+_0x528cfc['statusText'],{'url':_0x195a67,'statusCode':_0x528cfc[_0x58ee0d(0x539,_0x3abcd8._0x5e5de0,_0x3abcd8._0x4ff860,_0x3abcd8._0x5b9af4)]});_0x2c74cb=_0x528cfc[_0x5d9dec(_0x3abcd8._0x161d75,0x269,0x3be,-_0x3abcd8._0x4859de)][_0x5d9dec(0x32c,0x1d5,0x26d,_0x3abcd8._0x31f41d)](_0x5d9dec(_0x3abcd8._0x130554,-0x15b,0xe8,0x145))??'',_0x208428=_0x528cfc[_0x5d9dec(-0x54,_0x3abcd8._0x1eb962,-0x71,-_0x3abcd8._0x16f36e)],_0x7afcf9=await _0x528cfc['text']();}catch(_0x2f7203){if(_0x2f7203 instanceof ToolExecutionError)throw _0x2f7203;const _0x1c33d3=_0x2f7203 instanceof Error?_0x2f7203['message']:String(_0x2f7203);throw new ToolExecutionError(_0x1c33d3,{'url':_0x195a67});}finally{_0x2552f8['cleanup']();}function _0x58ee0d(_0xc03d80,_0x41ce5c,_0x1932a5,_0x474467){return _0x3d569d(_0x41ce5c,_0x41ce5c-_0x2206c4._0x296c46,_0x474467-0x531,_0x474467-_0x2206c4._0x397906);}const _0x23b297=new Date()[_0x58ee0d(0x4cd,_0x3abcd8._0x320592,0x697,_0x3abcd8._0x2e0d60)]();let _0x179557,_0x36bb84;if(_0x2c74cb[_0x5d9dec(0x2ac,_0x3abcd8._0x57b20e,_0x3abcd8._0x5d64a0,_0x3abcd8._0x44155b)](_0x58ee0d(_0x3abcd8._0x3cbb11,_0x3abcd8._0x5bc6bf,_0x3abcd8._0x22ba7a,0x6e0)))_0x179557=_0x58ee0d(0x838,_0x3abcd8._0x2f07b8,_0x3abcd8._0x5eca22,0x75e)+_0x7afcf9+_0x58ee0d(0x78e,0xa3e,0x773,_0x3abcd8._0x3521a4),_0x36bb84=_0x5d9dec(0xe4,0x3a,0x2b0,0x275);else _0x2c74cb['includes'](_0x5d9dec(0xf0,-_0x3abcd8._0x4de0a0,0x15b,_0x3abcd8._0xc3e721))?(_0x179557=_0x2ab325[_0x58ee0d(_0x3abcd8._0x319d2b,0x5ca,0x87f,0x73a)](_0x7afcf9),_0x36bb84=_0x58ee0d(0x624,_0x3abcd8._0x177cde,0x636,_0x3abcd8._0x22f8df)):(_0x179557=_0x7afcf9,_0x36bb84=_0x58ee0d(0x4c9,0x68f,_0x3abcd8._0x24d1e0,0x66a));return yield createToolOutput(_0x179557,{'url':_0x195a67,'contentType':_0x2c74cb,'statusCode':_0x208428,'format':_0x36bb84,'size':_0x7afcf9['length'],'fetchedAt':_0x23b297}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x16ac01(-0x265,-0xb5,-0x234,-0x13e);function normalizeUrl(_0x499a94){const _0x266695={_0x106378:0x8c2,_0x5d3d24:0x6ef,_0x4c7ec2:0x7df,_0x31b551:0x85b,_0x474b3a:0x817,_0xcae66e:0x811,_0x4ed26b:0x8fb,_0x499091:0x87b,_0x93ffe5:0x83e,_0x4288c6:0x709,_0x25d6c9:0x78f,_0xb558a8:0x4b2,_0x561bd0:0x3a3,_0x5b1866:0x58a,_0x424e00:0x66f,_0x13e4c0:0x7dc,_0x5b9596:0x55f,_0x4b7d4c:0x8e1,_0x7ce8bc:0x6fc,_0x471279:0x839,_0x18d7dd:0x594,_0x2bae0c:0x555,_0x268f02:0x705,_0x507867:0x3a8},_0x523bf0={_0x5e8725:0xb8},_0x5a742c={_0x45e0f0:0xaf};function _0x87c6cb(_0x417184,_0x5a7fcf,_0x4b661a,_0x41d993){return _0x16ac01(_0x417184-0x1e2,_0x41d993-0x5db,_0x4b661a-_0x5a742c._0x45e0f0,_0x417184);}function _0x47235c(_0x1d1c0e,_0x5093c3,_0x404b86,_0x4414ed){return _0x16ac01(_0x1d1c0e-_0x523bf0._0x5e8725,_0x404b86-0x571,_0x404b86-0x1d7,_0x5093c3);}try{const _0x5abbed=new URL(_0x499a94);for(const _0x5c6c66 of[_0x87c6cb(_0x266695._0x106378,0x654,_0x266695._0x5d3d24,_0x266695._0x4c7ec2),'utm_medium',_0x87c6cb(0x97b,0x959,0x74c,0x769),_0x47235c(0x625,_0x266695._0x31b551,_0x266695._0x474b3a,_0x266695._0xcae66e),_0x47235c(_0x266695._0x4ed26b,_0x266695._0x499091,_0x266695._0x93ffe5,_0x266695._0x4288c6),_0x87c6cb(_0x266695._0x25d6c9,_0x266695._0xb558a8,_0x266695._0x561bd0,_0x266695._0x5b1866),_0x47235c(_0x266695._0x424e00,_0x266695._0x13e4c0,0x687,_0x266695._0x5b9596),_0x47235c(_0x266695._0x4b7d4c,_0x266695._0x7ce8bc,_0x266695._0x471279,0x894),_0x87c6cb(_0x266695._0x18d7dd,0x731,0x6b3,0x6a5)]){_0x5abbed[_0x47235c(0x583,_0x266695._0x2bae0c,_0x266695._0x268f02,0x6ed)]['delete'](_0x5c6c66);}return _0x5abbed[_0x47235c(0x371,0x3f3,0x523,_0x266695._0x507867)]();}catch{return _0x499a94;}}function cseDateRestrict(_0x1e1014){const _0x2d3022={_0x580dab:0x49a,_0x11f976:0x541,_0x324889:0x24e,_0x551a22:0x198,_0x2fb64b:0x460},_0x42728f={_0xf83b8a:0x122};if(_0x1e1014<=0x0)return void 0x0;function _0x5920d2(_0x1b74f8,_0x1502a6,_0x2cbbd6,_0x2b47b4){return _0x16ac01(_0x1b74f8-0x106,_0x1b74f8- -0x31,_0x2cbbd6-0x11d,_0x2b47b4);}if(_0x1e1014<=0x1e)return'd'+Math['max'](0x1,Math['floor'](_0x1e1014));function _0x29b53c(_0x150c33,_0x28543f,_0x479060,_0x27f392){return _0x16ac01(_0x150c33-0x16d,_0x27f392-0x2c2,_0x479060-_0x42728f._0xf83b8a,_0x28543f);}if(_0x1e1014<=0x16d)return'm'+Math[_0x29b53c(0x6ea,0x3ba,_0x2d3022._0x580dab,_0x2d3022._0x11f976)](_0x1e1014/0x1e);return'y'+Math[_0x5920d2(_0x2d3022._0x324889,_0x2d3022._0x551a22,_0x2d3022._0x2fb64b,0x2f5)](_0x1e1014/0x16d);}function addSiteFilters(_0x33bc52,_0x2d17de){const _0x4830df={_0x3831ff:0x1,_0x4e6ff3:0x1c7,_0x3c8c56:0x1d9,_0x4299a9:0x201,_0x13d3f8:0x36,_0x417e0c:0x11f,_0x1adcb4:0xc4,_0x2d6e1c:0x57,_0x15e99b:0x207,_0x5cba43:0x1b3},_0x46c8fa={_0x3cdc05:0x1da,_0x226167:0x1c4},_0x52e5d0={_0x17d506:0x17b,_0x38a109:0xa0};function _0x27b4e8(_0x5f07f8,_0x1f3a19,_0x5de86c,_0x4a5423){return _0x16ac01(_0x5f07f8-_0x52e5d0._0x17d506,_0x4a5423-0x7d,_0x5de86c-_0x52e5d0._0x38a109,_0x1f3a19);}if(_0x2d17de[_0x357612(-_0x4830df._0x3831ff,0x261,_0x4830df._0x4e6ff3,_0x4830df._0x3c8c56)]===0x0)return _0x33bc52[_0x357612(0xc5,0x15f,_0x4830df._0x4299a9,0x1d)]();function _0x357612(_0x340ec9,_0x490ea,_0x474da5,_0x228424){return _0x5885dd(_0x340ec9-_0x46c8fa._0x3cdc05,_0x340ec9,_0x474da5-0x11a,_0x474da5- -_0x46c8fa._0x226167);}return(_0x33bc52+'\x20('+_0x2d17de[_0x27b4e8(_0x4830df._0x13d3f8,-0x4d,-_0x4830df._0x417e0c,-_0x4830df._0x1adcb4)](_0xec3d56=>'site:'+_0xec3d56)['join'](_0x27b4e8(-0x1d1,_0x4830df._0x2d6e1c,-_0x4830df._0x15e99b,-0x8))+')')[_0x27b4e8(0x8d,0x33d,0x245,_0x4830df._0x5cba43)]();}function normalizeType(_0x37b629){const _0x6802c={_0x346421:0x38d,_0x493f32:0x444,_0xd6f9d7:0x54d,_0x3543e7:0x39c,_0x2f5b60:0x464,_0x3cba86:0x29c,_0x404732:0x398},_0x16932b={_0x31d50c:0x126},_0x332a2d={_0x11f011:0x5a};function _0x4a2808(_0x32665e,_0x1e6516,_0x41d385,_0x5c3fea){return _0x5885dd(_0x32665e-0x1d2,_0x5c3fea,_0x41d385-_0x332a2d._0x11f011,_0x1e6516-0x194);}function _0x2e5db4(_0x2b85b8,_0x55dde8,_0x739cf9,_0x4899a6){return _0x16ac01(_0x2b85b8-_0x16932b._0x31d50c,_0x739cf9-0x353,_0x739cf9-0x184,_0x55dde8);}return _0x37b629==='images'?_0x2e5db4(_0x6802c._0x346421,_0x6802c._0x493f32,_0x6802c._0xd6f9d7,0x4a8):_0x4a2808(_0x6802c._0x3543e7,_0x6802c._0x2f5b60,_0x6802c._0x3cba86,_0x6802c._0x404732);}async function fetchJson(_0xb24878,_0x3c9927,_0x21edf7){const _0x1c9001={_0x341279:0x367,_0x2339a0:0x1a0,_0x4a670d:0x189,_0x3d0e08:0x137,_0x5c0d98:0x2b9,_0xef105c:0x4b4,_0x3f8e32:0x38d,_0x194362:0x248,_0x4754be:0x1f4,_0x46d54e:0x1c4,_0x542a18:0x190,_0x8f69d3:0x3d0,_0x4d0af0:0x466,_0x133d7f:0x39f,_0x2bf072:0x412,_0x333b15:0x2cf,_0x25291b:0x1de,_0x41279e:0x80,_0x1e64df:0x65,_0x3170b9:0x195,_0x4df72a:0x15d,_0x1ef6ff:0x35e,_0x835ea0:0x1da,_0x3f992c:0x407,_0x4585bc:0xae,_0x523ea4:0x29f,_0x41e668:0x411,_0xcf9d3d:0x407,_0x3c9015:0x55e},_0x3d73eb={_0x5d969e:0xbb},_0x315571=await fetch(_0xb24878,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x24b385(0x1ff,_0x1c9001._0x341279,_0x1c9001._0x2339a0,0x2f),..._0x21edf7?.['headers']},'signal':_0x3c9927,..._0x21edf7});if(!_0x315571['ok']){let _0x53196b,_0x3aa000;try{_0x53196b=await _0x315571[_0x24b385(_0x1c9001._0x4a670d,_0x1c9001._0x3d0e08,0x254,_0x1c9001._0x5c0d98)]();const _0x5b0945=JSON[_0x4ad83f(_0x1c9001._0xef105c,0x1c6,_0x1c9001._0x3f8e32,_0x1c9001._0x194362)](_0x53196b),_0x2aac14=typeof _0x5b0945[_0x24b385(_0x1c9001._0x4754be,0x1a6,_0x1c9001._0x46d54e,_0x1c9001._0x542a18)]==='object'?_0x5b0945[_0x4ad83f(0x562,0x269,0x3ee,0x5f8)][_0x24b385(0x302,0x369,_0x1c9001._0x8f69d3,0x22c)]:void 0x0;_0x3aa000=_0x5b0945[_0x24b385(0x302,0x344,0x2b2,_0x1c9001._0x4d0af0)]?.['message']??_0x5b0945['error']?.[_0x24b385(_0x1c9001._0x133d7f,0x253,_0x1c9001._0x2bf072,_0x1c9001._0x333b15)]?.[0x0]?.[_0x24b385(_0x1c9001._0x25291b,_0x1c9001._0x41279e,0x27e,_0x1c9001._0x1e64df)]??_0x2aac14;}catch{}const _0x2a7e26=_0x3aa000?_0x24b385(0xa2,_0x1c9001._0x3170b9,0x90,-_0x1c9001._0x4df72a)+_0x315571['status']+':\x20'+_0x3aa000:_0x4ad83f(_0x1c9001._0x1ef6ff,_0x1c9001._0x835ea0,0x29c,_0x1c9001._0x3f992c)+_0x315571[_0x4ad83f(0xdd,_0x1c9001._0x4585bc,_0x1c9001._0x523ea4,0x235)]+'\x20'+_0x315571[_0x4ad83f(_0x1c9001._0x41e668,0x637,0x454,0x26a)];throw new ToolExecutionError(_0x2a7e26,{'statusCode':_0x315571[_0x4ad83f(0x39d,_0x1c9001._0xcf9d3d,_0x1c9001._0x523ea4,0x3a4)],..._0x53196b?{'body':_0x53196b}:{}});}function _0x4ad83f(_0x138eaf,_0x4b6cd1,_0x3ed267,_0x203614){return _0x5885dd(_0x138eaf-0x120,_0x203614,_0x3ed267-0xe4,_0x3ed267-_0x3d73eb._0x5d969e);}function _0x24b385(_0x1f96bb,_0x457dc7,_0x1d4525,_0x3168a6){return _0x16ac01(_0x1f96bb-0xef,_0x1f96bb-0x150,_0x1d4525-0x183,_0x1d4525);}return await _0x315571[_0x4ad83f(_0x1c9001._0x3c9015,0x345,0x3d7,0x1eb)]();}async function hydrateResults(_0x3516aa,_0x3807b7,_0x5ad865,_0x342103){const _0x1cff89={_0x2d5b91:0x34e,_0xc4b8bf:0x155,_0x95ba7b:0x7f,_0x3221eb:0x450,_0x2b079a:0x17c,_0x1f1b75:0x37,_0x533896:0x216,_0x1eb373:0x1d6,_0x294460:0x399,_0x5d9a6c:0x4d7,_0x3f7c0c:0x37},_0x311dd6={_0x4f38e6:0x18e},_0xbd85e9={_0x596699:0x190},_0x5551ce={_0x5cbc6c:0x6de,_0x41b083:0x4cb,_0x426416:0x952,_0x19605a:0x8be,_0xbce1db:0x56e,_0x491887:0x644,_0x40659a:0x65d,_0x6c08fe:0x7bf,_0x2a84b6:0x506,_0x5f377e:0x6aa,_0x1ad0e3:0x3c1,_0x22263f:0x386,_0x5bd836:0x515,_0x42d054:0x720,_0x322c27:0x7c4,_0x23594c:0x649,_0xa7e586:0x53a,_0xc8dfc6:0x7ed,_0x5baed2:0x747,_0x55f8fe:0x781,_0x19c896:0xa1e,_0x163956:0x6c8,_0x52a3bb:0x886,_0x2aacbe:0x3ac,_0x4dd52d:0x76c,_0x29a214:0x57a,_0x554bd1:0x3af,_0x5bf57f:0x5cb,_0x4fa51c:0x782,_0xf0ea5f:0x7fe,_0x1e001d:0x95d,_0x3f1e0d:0x794,_0x4b6624:0x68a,_0x1515c1:0x6e9,_0x2b0674:0x260,_0x3caeeb:0x444,_0x50f149:0x3e7,_0x4fc97b:0x3be,_0x2c7bd1:0x56d,_0xecbbfc:0x444},_0x3c3d04=await Promise[_0x57c80f(_0x1cff89._0x2d5b91,_0x1cff89._0xc4b8bf,_0x1cff89._0x95ba7b,-0x9b)](_0x3516aa[_0x5e840b(_0x1cff89._0x3221eb,0x433,0x3c4,0x4d9)](0x0,0xa)[_0x57c80f(-_0x1cff89._0x2b079a,_0x1cff89._0x1f1b75,_0x1cff89._0x533896,-_0x1cff89._0x1eb373)](async _0x6e3137=>{function _0x332eab(_0x4e007a,_0x48b245,_0xbbff77,_0x3f1655){return _0x57c80f(_0x3f1655,_0xbbff77-0x4cd,_0xbbff77-0x2d,_0x3f1655-0x1ca);}function _0x178f9a(_0x555988,_0x26e91b,_0x3e1ac0,_0x5c953a){return _0x5e840b(_0x555988-0x1ec,_0x26e91b-0x185,_0x555988,_0x3e1ac0- -0x145);}try{const _0x4035b0=await safeFetch(_0x6e3137['url'],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x3807b7,'Accept':_0x332eab(0x8db,0x87e,_0x5551ce._0x5cbc6c,0x6c9)},'signal':_0x5ad865},{'lookup':_0x342103});if(!_0x4035b0['ok'])return _0x6e3137;const _0xa6fc6e=await _0x4035b0[_0x178f9a(0x377,0x3c3,_0x5551ce._0x41b083,0x5e9)](),_0x303d8d=load(_0xa6fc6e),_0x4fa223=_0x303d8d('meta[property=\x27og:title\x27]')[_0x332eab(0x7d0,_0x5551ce._0x426416,_0x5551ce._0x19605a,0x6cd)]('content')||_0x303d8d(_0x178f9a(0x608,_0x5551ce._0xbce1db,0x4d7,0x6c3))[_0x332eab(_0x5551ce._0x491887,0x59d,_0x5551ce._0x40659a,_0x5551ce._0x6c08fe)]()[_0x178f9a(0x63d,_0x5551ce._0x2a84b6,_0x5551ce._0x41b083,_0x5551ce._0x5f377e)]()['trim'](),_0x16f042=_0x303d8d('meta[name=\x27description\x27]')['attr'](_0x178f9a(_0x5551ce._0x1ad0e3,_0x5551ce._0x22263f,_0x5551ce._0x5bd836,_0x5551ce._0x42d054))||_0x303d8d('meta[property=\x27og:description\x27]')[_0x332eab(0x6ff,_0x5551ce._0x322c27,0x8be,0xa4b)](_0x332eab(0x78e,0x831,0x6c8,_0x5551ce._0x23594c))||_0x6e3137[_0x332eab(_0x5551ce._0xa7e586,_0x5551ce._0xc8dfc6,0x6a3,_0x5551ce._0x5baed2)],_0x36a564=_0x303d8d(_0x332eab(_0x5551ce._0x55f8fe,0x8ff,0x811,_0x5551ce._0x19c896))['attr'](_0x332eab(0x785,0x70d,_0x5551ce._0x163956,_0x5551ce._0x52a3bb))||_0x303d8d(_0x178f9a(0x2ab,0x2f8,_0x5551ce._0x2aacbe,0x2b7))['attr'](_0x178f9a(0x45e,_0x5551ce._0x4dd52d,_0x5551ce._0x29a214,_0x5551ce._0x554bd1))||_0x6e3137[_0x332eab(0x86e,_0x5551ce._0x5bf57f,0x734,0x66c)],_0x4a309f=_0x303d8d(_0x178f9a(0x699,0x75b,0x570,_0x5551ce._0x4fa51c))['attr'](_0x332eab(0x8a8,_0x5551ce._0xf0ea5f,0x8b8,_0x5551ce._0x1e001d));return{..._0x6e3137,'title':_0x4fa223||_0x6e3137[_0x332eab(0x87f,_0x5551ce._0x3f1e0d,_0x5551ce._0x4b6624,_0x5551ce._0x1515c1)],'snippet':_0x16f042,'url':_0x4a309f?normalizeUrl(new URL(_0x4a309f,_0x6e3137['url'])[_0x178f9a(_0x5551ce._0x2b0674,0x605,_0x5551ce._0x3caeeb,_0x5551ce._0x50f149)]()):_0x6e3137[_0x178f9a(_0x5551ce._0x4fc97b,_0x5551ce._0x2c7bd1,0x57f,_0x5551ce._0xecbbfc)],'publishedAt':_0x36a564};}catch{return _0x6e3137;}}));function _0x57c80f(_0x260c99,_0x1f947e,_0x54a82f,_0x17c084){return _0x5885dd(_0x260c99-_0xbd85e9._0x596699,_0x260c99,_0x54a82f-0x48,_0x1f947e- -0x117);}function _0x5e840b(_0x4c1dd9,_0x24a0ef,_0x1fb568,_0x51b067){return _0x16ac01(_0x4c1dd9-_0x311dd6._0x4f38e6,_0x51b067-0x5d7,_0x1fb568-0xf2,_0x1fb568);}const _0x385e19=new Map(_0x3516aa[_0x5e840b(_0x1cff89._0x294460,0x377,0x5ce,0x4d9)](0x0,0xa)[_0x5e840b(0x34c,0x5c1,_0x1cff89._0x5d9a6c,0x496)]((_0x2e67a8,_0x459efb)=>[_0x2e67a8[_0x5e840b(0x8ae,0x792,0x4f5,0x6c4)],_0x3c3d04[_0x459efb]]));return _0x3516aa[_0x57c80f(-0xb3,_0x1cff89._0x3f7c0c,0xfe,-0xad)](_0x6a402a=>_0x385e19['get'](_0x6a402a[_0x57c80f(0x30b,0x265,0x60,0x41c)])??_0x6a402a);}function formatResults(_0x3b23f0){const _0x21b2a2={_0x22bc03:0x609,_0x26f040:0x54a,_0x18b0cb:0x8a0,_0x2cae66:0x409,_0x12cc53:0x379},_0x14c3ef={_0x42fc29:0x289,_0x33594c:0x40f,_0x2ba6b6:0x58a,_0x446513:0x5b4,_0x30b205:0x3d,_0x4423fa:0x62,_0x8ecf34:0x1b1,_0x4ee4aa:0x1cb,_0x5b6851:0x38b,_0x5f57e7:0x452,_0x583852:0x2a6,_0x1a096d:0x25a,_0x30275a:0x1ba,_0x3e7c11:0x2f6,_0x273031:0x3ff,_0x2e3845:0xcd,_0x3c635c:0x45,_0x2271c6:0x25c,_0x9ccfda:0x11f,_0x3ef63:0x135,_0x485e61:0x6d,_0x53ea53:0x13f,_0x1a4dbd:0xe1,_0xd45f80:0xc9,_0x209460:0x184,_0x5ece29:0x7d,_0x187e4f:0x149},_0x1b4a28={_0x4e61c0:0x7e,_0x37d7dc:0x4ba,_0x27ebe8:0xd0},_0x313138={_0x14ea52:0x3b,_0x561b36:0x84};function _0x41ed81(_0x5cd6a5,_0x5de365,_0x253aeb,_0x1d40c1){return _0x5885dd(_0x5cd6a5-_0x313138._0x14ea52,_0x5de365,_0x253aeb-_0x313138._0x561b36,_0x5cd6a5-0x337);}function _0x260f8f(_0x3748c5,_0x10bc47,_0x1fb0b0,_0x396e7f){return _0x16ac01(_0x3748c5-_0x1b4a28._0x4e61c0,_0x396e7f-_0x1b4a28._0x37d7dc,_0x1fb0b0-_0x1b4a28._0x27ebe8,_0x10bc47);}if(_0x3b23f0[_0x260f8f(0x78f,0x51b,_0x21b2a2._0x22bc03,0x5b6)]===0x0)return _0x260f8f(0x5b2,_0x21b2a2._0x26f040,_0x21b2a2._0x18b0cb,0x6b3);return _0x3b23f0[_0x260f8f(0x394,_0x21b2a2._0x2cae66,0x406,_0x21b2a2._0x12cc53)](_0x36bd09=>{const _0x283b47={_0x3cd095:0x83},_0x201019={_0x26cb40:0xdf,_0x37c0a0:0x53c},_0x5d3140=[_0x36bd09[_0x44999d(_0x14c3ef._0x42fc29,_0x14c3ef._0x33594c,_0x14c3ef._0x2ba6b6,_0x14c3ef._0x446513)]['rank']+'.\x20'+_0x36bd09[_0x36ee8a(-_0x14c3ef._0x30b205,_0x14c3ef._0x4423fa,_0x14c3ef._0x8ecf34,_0x14c3ef._0x4ee4aa)],_0x36bd09[_0x44999d(_0x14c3ef._0x5b6851,0x41c,0x232,0x443)]];function _0x36ee8a(_0xdde9fd,_0x11ff7e,_0x569f69,_0x4a0330){return _0x260f8f(_0xdde9fd-0x4a,_0x569f69,_0x569f69-_0x201019._0x26cb40,_0xdde9fd- -_0x201019._0x37c0a0);}if(_0x36bd09[_0x36ee8a(-0x24,-0x13d,-0x8b,-0x117)])_0x5d3140[_0x44999d(_0x14c3ef._0x5f57e7,_0x14c3ef._0x583852,_0x14c3ef._0x1a096d,_0x14c3ef._0x30275a)](_0x36bd09[_0x44999d(_0x14c3ef._0x3e7c11,0x38d,0x294,_0x14c3ef._0x273031)]);function _0x44999d(_0x4e8409,_0x18a8a5,_0x5d7055,_0x9c1786){return _0x260f8f(_0x4e8409-_0x283b47._0x3cd095,_0x4e8409,_0x5d7055-0x3c,_0x18a8a5- -0x18b);}if(_0x36bd09[_0x36ee8a(0x6d,_0x14c3ef._0x2e3845,-_0x14c3ef._0x3c635c,_0x14c3ef._0x2271c6)])_0x5d3140[_0x36ee8a(-0x10b,-_0x14c3ef._0x9ccfda,-0x148,-_0x14c3ef._0x3ef63)]('Published:\x20'+_0x36bd09[_0x36ee8a(_0x14c3ef._0x485e61,-_0x14c3ef._0x53ea53,-_0x14c3ef._0x1a4dbd,_0x14c3ef._0xd45f80)]);return _0x5d3140[_0x36ee8a(_0x14c3ef._0x209460,-0x9,_0x14c3ef._0x5ece29,_0x14c3ef._0x187e4f)]('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x204a5f,_0x271ff2,_0x2ce7ee){const _0x1a41dd={_0x8de3b5:0x239,_0x250195:0x1ee,_0x351b7b:0xf,_0x238ee3:0x224,_0x3d7835:0x319,_0x29c995:0x117,_0x2dd28d:0x1a1,_0x4cdf77:0xdc,_0x5cfa7b:0x283,_0x499cb0:0x13a,_0x19f477:0x1c2,_0x1ba675:0x32e,_0x4049f7:0x16e,_0x5554ce:0x2f0,_0x4bd319:0x3b5,_0x31e6ff:0x45e,_0x2ac0ac:0x4dc,_0x12c2db:0x58a,_0x2e4f9a:0x2a7,_0x3dcdd4:0x2,_0x3c30b0:0x5c,_0x456240:0x247,_0x108f9d:0x217},_0x46125d={_0x32da72:0x129,_0x20cd53:0x77,_0x57e3e0:0x14a,_0x564d20:0x4f,_0x4bd0f8:0x1a8,_0x4ec4f9:0x20f,_0x91c1c:0x180,_0x5166f8:0x1b2,_0x27f0b0:0x26e},_0x20411c={_0x4d5831:0x134,_0x1a6652:0xcc},_0x27a007=Math[_0x58aecd(_0x1a41dd._0x8de3b5,_0x1a41dd._0x250195,_0x1a41dd._0x351b7b,0x193)](0x1,Math[_0x1921e7(-_0x1a41dd._0x238ee3,-0x1ff,-_0x1a41dd._0x3d7835,-0x36c)](0xa,_0x271ff2[_0x58aecd(_0x1a41dd._0x29c995,0x1a6,_0x1a41dd._0x2dd28d,_0x1a41dd._0x4cdf77)]));function _0x58aecd(_0x36ab6b,_0x226d48,_0x34b0c6,_0x2ea150){return _0x16ac01(_0x36ab6b-0x39,_0x2ea150-0x205,_0x34b0c6-0xf3,_0x34b0c6);}function _0x1921e7(_0x53edfc,_0x426c60,_0x2a449c,_0x9194c5){return _0x16ac01(_0x53edfc-0xad,_0x426c60- -_0x20411c._0x4d5831,_0x2a449c-_0x20411c._0x1a6652,_0x9194c5);}const _0x2c54b1=addSiteFilters(_0x271ff2[_0x58aecd(_0x1a41dd._0x5cfa7b,0x2e7,_0x1a41dd._0x499cb0,0x1ca)],_0x271ff2[_0x58aecd(_0x1a41dd._0x19f477,_0x1a41dd._0x1ba675,0x1e7,_0x1a41dd._0x4049f7)]),_0x15721d=await fetchJson(_0x58aecd(_0x1a41dd._0x5554ce,0xb4,-0x49,0xda),_0x2ce7ee,{'method':_0x58aecd(_0x1a41dd._0x4bd319,0x548,_0x1a41dd._0x4bd319,_0x1a41dd._0x31e6ff),'headers':{'Authorization':_0x58aecd(0x454,0x5cd,0x56b,_0x1a41dd._0x2ac0ac)+_0x204a5f[_0x58aecd(_0x1a41dd._0x12c2db,0x395,_0x1a41dd._0x2e4f9a,0x391)]},'body':JSON['stringify']({'query':_0x2c54b1,'max_results':_0x27a007})}),_0x284f1d=_0x15721d[_0x1921e7(-_0x1a41dd._0x3dcdd4,0x1a8,_0x1a41dd._0x3c30b0,0x19c)]??[],_0x58d7b9=_0x284f1d['map']((_0x5aea84,_0x1c1737)=>{const _0x258ac7={_0x59b5a5:0x4c},_0xec2458={_0x490bcf:0x1c1};function _0x338d77(_0x51c8ca,_0xafbe68,_0x6f4986,_0x1d874d){return _0x58aecd(_0x51c8ca-_0xec2458._0x490bcf,_0xafbe68-0x1c2,_0x6f4986,_0x1d874d- -0x2bc);}const _0x39fead=_0x5aea84[_0xc6a050(_0x46125d._0x32da72,0x260,_0x46125d._0x20cd53,-0x10)]||'';let _0x3dff59;try{_0x3dff59=new URL(_0x39fead)[_0xc6a050(_0x46125d._0x57e3e0,0x272,0x196,0x2af)];}catch{_0x3dff59=null;}function _0xc6a050(_0x39b1d0,_0x321fb9,_0x304b9b,_0x5df3ba){return _0x1921e7(_0x39b1d0-_0x258ac7._0x59b5a5,_0x304b9b-0xbe,_0x304b9b-0x125,_0x39b1d0);}return{'title':_0x5aea84['title']||_0x338d77(_0x46125d._0x564d20,0x184,_0x46125d._0x4bd0f8,0x90),'url':normalizeUrl(_0x39fead),'snippet':_0x5aea84[_0x338d77(-_0x46125d._0x4ec4f9,_0x46125d._0x91c1c,0xcd,-0x34)]??null,'displayUrl':_0x3dff59,'favicon':null,'publishedAt':null,'source':{'engine':_0x338d77(-_0x46125d._0x5166f8,-_0x46125d._0x27f0b0,-0x52,-0x1ca),'rank':_0x1c1737+0x1}};});return{'items':_0x58d7b9['slice'](0x0,_0x27a007),'engine':_0x1921e7(-0x81,-_0x1a41dd._0x456240,-0x2ff,-_0x1a41dd._0x108f9d)};}async function searchTavily(_0xeddc55,_0x43c131,_0x3e3514){const _0x1be7d3={_0x3e1d9e:0x146,_0x4633f1:0x5a,_0x24a3ff:0x14,_0x10a9c0:0xe9,_0x3cfa6e:0xc,_0x390f38:0xe0,_0x2337cc:0x212,_0x52eae5:0x2f,_0x4e65e1:0xbe,_0x46f43b:0x17a,_0x4d3e2a:0x1d1,_0x20b3d3:0x2e6,_0x509353:0x32a,_0x18f836:0x458,_0x3ed9e9:0x50f,_0x1391aa:0x1d1,_0x431a1a:0x157,_0x5e57c9:0xe3,_0x4bd766:0x191,_0x34e7e3:0x1cd,_0x4aeaa8:0x1a9,_0x32d93b:0x3f2,_0x4e8350:0x4b8,_0x238d48:0x483,_0x130e5d:0x61,_0x568c3f:0xa4,_0x4c09f8:0x154,_0x376ed2:0x115,_0x36c1ea:0x1ca,_0x50e6ef:0x26d,_0x3aa9bd:0x3c,_0x16ba39:0x1ba,_0x237515:0xea,_0x2aca25:0x4a0,_0x699b7e:0xaa},_0x21e830={_0x31f6b9:0x2f4,_0xb9002:0x335,_0x4486a3:0x1c1,_0x13b9dc:0x375,_0x22f363:0x8c},_0x108198={_0x3cb758:0xac},_0x5eb249={_0x2a411e:0x33},_0x459b66={_0x4cab37:0x212},_0x216c56=Math[_0x224932(_0x1be7d3._0x3e1d9e,0x1a0,-_0x1be7d3._0x4633f1,0x293)](0x1,Math[_0xf5893a(0x50,_0x1be7d3._0x24a3ff,0x1c,0xc0)](0x14,_0x43c131[_0x224932(-0x9,_0x1be7d3._0x10a9c0,_0x1be7d3._0x3cfa6e,0x271)])),_0x223b1e={'query':_0x43c131[_0xf5893a(_0x1be7d3._0x390f38,0x6f,_0x1be7d3._0x2337cc,_0x1be7d3._0x52eae5)],'max_results':_0x216c56,'search_depth':_0xeddc55[_0x224932(_0x1be7d3._0x4e65e1,0x15f,_0x1be7d3._0x46f43b,0x127)]??'basic','topic':_0xeddc55[_0xf5893a(0x19a,_0x1be7d3._0x4d3e2a,_0x1be7d3._0x20b3d3,0x74)]??'general'};if(_0x43c131['domains'][_0x224932(_0x1be7d3._0x509353,0x30e,_0x1be7d3._0x18f836,_0x1be7d3._0x3ed9e9)]>0x0)_0x223b1e[_0xf5893a(_0x1be7d3._0x1391aa,0x346,_0x1be7d3._0x431a1a,0x307)]=_0x43c131[_0xf5893a(0x84,-_0x1be7d3._0x5e57c9,0x1c3,0x284)];function _0x224932(_0x45f9bb,_0x264a8e,_0x3a1ec8,_0x381cf7){return _0x16ac01(_0x45f9bb-0x53,_0x264a8e-_0x459b66._0x4cab37,_0x3a1ec8-0xc5,_0x3a1ec8);}const _0x4d0f93=await fetchJson(_0xf5893a(_0x1be7d3._0x4bd766,_0x1be7d3._0x34e7e3,-0x4,_0x1be7d3._0x4aeaa8),_0x3e3514,{'method':'POST','headers':{'Authorization':_0xf5893a(_0x1be7d3._0x32d93b,_0x1be7d3._0x4e8350,_0x1be7d3._0x238d48,0x526)+_0xeddc55[_0xf5893a(_0x1be7d3._0x130e5d,-_0x1be7d3._0x568c3f,_0x1be7d3._0x4c09f8,-_0x1be7d3._0x376ed2)],'Content-Type':_0xf5893a(_0x1be7d3._0x36c1ea,_0x1be7d3._0x50e6ef,_0x1be7d3._0x3aa9bd,0x4e)},'body':JSON[_0xf5893a(0x2ae,_0x1be7d3._0x16ba39,0x313,_0x1be7d3._0x237515)](_0x223b1e)});function _0xf5893a(_0x1f856f,_0x204ae1,_0x479e49,_0x227682){return _0x16ac01(_0x1f856f-0x93,_0x1f856f-0x11b,_0x479e49-_0x5eb249._0x2a411e,_0x479e49);}const _0x69b357=_0x4d0f93[_0xf5893a(0x3f7,_0x1be7d3._0x2aca25,0x4e3,0x548)]??[],_0x1e1f4=_0x69b357[_0x224932(-_0x1be7d3._0x699b7e,0xd1,0x217,0x234)]((_0x5dbd94,_0xddbc69)=>{const _0x184e55={_0x44fbd7:0x1ed,_0x14a238:0xc4};function _0x296662(_0x2ea6d7,_0x368620,_0x5e9090,_0x343867){return _0x224932(_0x2ea6d7-_0x184e55._0x44fbd7,_0x343867- -0xa9,_0x5e9090,_0x343867-_0x184e55._0x14a238);}const _0x2a4e14=_0x5dbd94[_0x2a02f2(0xf6,-0x17,0x1f2,_0x21e830._0x31f6b9)]||'';function _0x2a02f2(_0x37da2f,_0x255716,_0xf35ee6,_0x170366){return _0xf5893a(_0x37da2f- -0x112,_0x255716-_0x108198._0x3cb758,_0xf35ee6,_0x170366-0x93);}let _0x1f4969;try{_0x1f4969=new URL(_0x2a4e14)[_0x296662(_0x21e830._0xb9002,0x333,_0x21e830._0x4486a3,_0x21e830._0x13b9dc)];}catch{_0x1f4969=null;}return{'title':_0x5dbd94['title']||'Untitled','url':normalizeUrl(_0x2a4e14),'snippet':_0x5dbd94[_0x2a02f2(_0x21e830._0x22f363,-0x50,-0x26,0x115)]??null,'displayUrl':_0x1f4969,'favicon':null,'publishedAt':null,'source':{'engine':'tavily','rank':_0xddbc69+0x1}};});return{'items':_0x1e1f4['slice'](0x0,_0x216c56),'engine':'tavily'};}async function searchGoogleCse(_0x4ef440,_0x1848d8,_0x1dd84c){const _0x55f63d={_0x1b3bf1:0xc3,_0x4752dc:0x268,_0x260126:0x56f,_0x4399fc:0x552,_0x2e617c:0x45,_0x168f0a:0x17a,_0x4a81f8:0x92b,_0x1bde79:0x643,_0x573df1:0x7bb,_0x52f3b6:0x1c4,_0x5e065c:0x80,_0x12b86b:0x2b1,_0x48780e:0x603,_0x509029:0x2b4,_0x57ffa1:0x69b,_0x1277d0:0x985,_0x4691ed:0x58e,_0x4f6917:0x556,_0x2ab863:0x803,_0x494e9c:0x4e2,_0x32e1d9:0x570,_0x20329d:0x5ea,_0x10b127:0x9a,_0x2bed83:0x8b7,_0x595ad7:0x57,_0x3e1571:0x9a,_0x589c91:0x20,_0x32fc8d:0x143,_0x59dc06:0x160,_0x55f61a:0x116,_0x5976df:0x7a9,_0x29d4be:0x484,_0x5dba6c:0x5c4,_0x382a1e:0x688,_0x15d2ff:0x60f,_0x5b4aa2:0x95,_0x4ffbba:0x73,_0x10b60e:0x1cf,_0x1d2677:0x28a,_0x4b3fa4:0x3f5,_0xecbe93:0xd5,_0x3ee515:0x1bf,_0x52828d:0x2fd,_0x4bf3b3:0x3ce,_0x1a7934:0x936,_0x265d1e:0x664,_0x1aa659:0x340,_0x5239a0:0x133,_0x453edf:0x9a,_0x5d136b:0x870,_0x23be24:0x7b1,_0x1b9a09:0x886,_0x1f4955:0x8f5,_0x2d27dd:0x959,_0xcbd6d3:0x7a3,_0x32890e:0x1eb,_0x55b6ac:0x39,_0x4a0807:0x229,_0x1fc960:0x197,_0x5213ec:0x5b7,_0x4e1706:0x6f7,_0x5074dc:0x6bf,_0x5014cf:0x820,_0x23c85f:0x514,_0x5bb77c:0x614,_0x40343b:0x1bb,_0x6630d3:0x1a9,_0x587489:0x289,_0x35c262:0x89b,_0xf98579:0x764,_0x96626a:0x7b1,_0x31b69b:0xbe,_0xd7a676:0x9a,_0x2fac1c:0x1ba,_0x5a37f8:0x123,_0x4c8def:0xcc,_0x5665bb:0x118,_0x5cc231:0x7c,_0x301758:0x574,_0x4e709b:0x525,_0x39b9e7:0x28f,_0x3530ce:0x14f,_0x39013d:0x918,_0x14c963:0xe7,_0x38a18d:0x7f,_0x4253d3:0x38,_0x802df6:0x1f9,_0x2b81a4:0x15a,_0x2594b6:0xc3,_0x12260e:0x25c,_0x5ae7fe:0x759,_0x3c6a65:0x80b,_0x3dcd39:0x96,_0x243294:0x6c7,_0x2e258a:0x652,_0x3113e8:0x591,_0x1a3c19:0x546,_0x508546:0x7c5,_0x321ad5:0xa9a,_0x134209:0x108,_0x30f2a2:0x186,_0x5cd5c9:0x1ee,_0x2c7909:0x5fd,_0x1226df:0x632,_0xdfdad2:0x741,_0x975ee6:0x96,_0x541b4d:0x322,_0x28df90:0x1c5,_0x185c55:0xda,_0x88c821:0x64,_0x1b7889:0x169,_0x2a7332:0xaa,_0x5bd01c:0xab,_0x21add5:0x24,_0x4b3034:0x71,_0x2e45a3:0x54c,_0x16cf55:0x51f},_0x209111={_0x58a1c3:0x53,_0x346201:0x2e0},_0x2eb0ab={_0x40f5c0:0x157},_0x1d037d=Math[_0x4d8852(-0xc3,-_0x55f63d._0x1b3bf1,0xc4,-_0x55f63d._0x4752dc)](0x1,Math[_0x50186e(_0x55f63d._0x260126,0x3c0,0x3c0,_0x55f63d._0x4399fc)](0x32,_0x1848d8[_0x4d8852(_0x55f63d._0x2e617c,-_0x55f63d._0x168f0a,-0x30b,0x59)]));if(_0x1848d8['offset']+_0x1d037d>0x64)throw new ToolExecutionError(_0x50186e(0x5f4,_0x55f63d._0x4a81f8,_0x55f63d._0x1bde79,_0x55f63d._0x573df1),{'offset':_0x1848d8[_0x4d8852(-_0x55f63d._0x52f3b6,-0xc0,_0x55f63d._0x5e065c,-_0x55f63d._0x12b86b)],'count':_0x1d037d,'maxResults':0x64});const _0x34cf86=cseDateRestrict(_0x1848d8[_0x50186e(_0x55f63d._0x48780e,0x4e7,0x4de,0x6c0)]);function _0x50186e(_0x1d9593,_0x1d9e8c,_0x5c9741,_0x5d84c2){return _0x16ac01(_0x1d9593-0x37,_0x5d84c2-0x61d,_0x5c9741-_0x2eb0ab._0x40f5c0,_0x1d9e8c);}const _0x1afefc=addSiteFilters(_0x1848d8['query'],_0x1848d8[_0x50186e(0x5cf,0x414,0x6d2,0x586)]);let _0x6a39f4=0x0;function _0x4d8852(_0xb9e16e,_0x320c9f,_0x566ce4,_0x4ba2c1){return _0x5885dd(_0xb9e16e-0x9a,_0x4ba2c1,_0x566ce4-_0x209111._0x58a1c3,_0x320c9f- -_0x209111._0x346201);}let _0x503441=_0x1848d8[_0x4d8852(-0x69,-0xc0,-0x239,-_0x55f63d._0x509029)]+0x1;const _0x5639d3=[];while(_0x6a39f4<_0x1d037d){const _0xe80a4f=Math['min'](0xa,_0x1d037d-_0x6a39f4),_0x19f2e5=new URL('https://www.googleapis.com/customsearch/v1');_0x19f2e5[_0x50186e(_0x55f63d._0x57ffa1,0x94c,_0x55f63d._0x1277d0,0x7b1)][_0x50186e(_0x55f63d._0x4691ed,_0x55f63d._0x4f6917,0x5aa,0x5d4)](_0x50186e(0x4f2,_0x55f63d._0x2ab863,_0x55f63d._0x494e9c,0x60e),_0x4ef440[_0x50186e(_0x55f63d._0x32e1d9,0x47d,0x72d,_0x55f63d._0x20329d)]),_0x19f2e5['searchParams'][_0x4d8852(-0x1ea,-_0x55f63d._0x10b127,-0x29a,-0x3)]('cx',_0x4ef440[_0x50186e(0x7d7,0x7f8,0x8e2,_0x55f63d._0x2bed83)]),_0x19f2e5[_0x4d8852(0x3c,0x143,0xe2,-_0x55f63d._0x595ad7)][_0x4d8852(-0x2,-_0x55f63d._0x3e1571,-0xcf,_0x55f63d._0x589c91)]('q',_0x1afefc),_0x19f2e5[_0x4d8852(-0xc4,_0x55f63d._0x32fc8d,_0x55f63d._0x59dc06,_0x55f63d._0x55f61a)][_0x50186e(_0x55f63d._0x5976df,_0x55f63d._0x29d4be,0x63e,0x5d4)](_0x50186e(_0x55f63d._0x5dba6c,0x70d,_0x55f63d._0x382a1e,_0x55f63d._0x15d2ff),String(_0xe80a4f)),_0x19f2e5[_0x50186e(0x8c0,0x70b,0x64c,0x7b1)]['set'](_0x4d8852(-0x98,_0x55f63d._0x5b4aa2,0x29a,_0x55f63d._0x4ffbba),String(_0x503441)),_0x19f2e5['searchParams']['set'](_0x4d8852(_0x55f63d._0x10b60e,_0x55f63d._0x1d2677,_0x55f63d._0x4b3fa4,_0x55f63d._0xecbe93),_0x1848d8[_0x4d8852(_0x55f63d._0x3ee515,_0x55f63d._0x1d2677,_0x55f63d._0x52828d,_0x55f63d._0x4bf3b3)]?'active':_0x50186e(_0x55f63d._0x1a7934,0x6f4,_0x55f63d._0x265d1e,0x7d7));_0x1848d8[_0x4d8852(0x165,0x218,0xbd,_0x55f63d._0x1aa659)]&&(_0x19f2e5['searchParams'][_0x4d8852(-_0x55f63d._0x5239a0,-_0x55f63d._0x453edf,0xe9,-0x7)]('hl',_0x1848d8['lang']),_0x19f2e5[_0x50186e(_0x55f63d._0x5d136b,0x626,0x641,_0x55f63d._0x23be24)]['set']('lr','lang_'+_0x1848d8[_0x50186e(0x94a,0x9b0,0x7da,_0x55f63d._0x1b9a09)]));if(_0x1848d8[_0x50186e(_0x55f63d._0x1f4955,0x903,_0x55f63d._0x2d27dd,_0x55f63d._0xcbd6d3)])_0x19f2e5[_0x4d8852(_0x55f63d._0x32890e,0x143,-_0x55f63d._0x55b6ac,0x2f1)][_0x4d8852(-_0x55f63d._0x4a0807,-0x9a,-_0x55f63d._0x1fc960,-0x2a2)]('gl',_0x1848d8[_0x50186e(0x666,_0x55f63d._0x5213ec,_0x55f63d._0x4e1706,0x7a3)][_0x50186e(0x61e,0x559,0x675,_0x55f63d._0x5074dc)]());if(_0x1848d8[_0x50186e(0x426,_0x55f63d._0x5014cf,_0x55f63d._0x23c85f,_0x55f63d._0x5bb77c)]===_0x4d8852(_0x55f63d._0x40343b,_0x55f63d._0x6630d3,_0x55f63d._0x587489,0x27c))_0x19f2e5[_0x50186e(_0x55f63d._0x35c262,_0x55f63d._0xf98579,_0x55f63d._0x96626a,0x7b1)][_0x4d8852(_0x55f63d._0x31b69b,-_0x55f63d._0xd7a676,0x12d,-_0x55f63d._0x2fac1c)]('searchType','image');if(_0x34cf86)_0x19f2e5['searchParams']['set'](_0x4d8852(-_0x55f63d._0x5a37f8,-_0x55f63d._0x4c8def,-_0x55f63d._0x5665bb,-_0x55f63d._0x5cc231),_0x34cf86);const _0x18ea55=await fetchJson(_0x19f2e5[_0x50186e(_0x55f63d._0x301758,_0x55f63d._0x4e709b,0x5f0,0x5cf)](),_0x1dd84c),_0x1dee2b=_0x18ea55[_0x4d8852(_0x55f63d._0x39b9e7,0xeb,_0x55f63d._0x3530ce,_0x55f63d._0x52828d)]??[];if(_0x1dee2b[_0x50186e(_0x55f63d._0x39013d,0x8f6,0x7a7,0x719)]===0x0)break;const _0x2f0ba7=_0x6a39f4;for(let _0x213978=0x0;_0x213978<_0x1dee2b['length'];_0x213978++){const _0x30ff8a=_0x1dee2b[_0x213978];if(!_0x30ff8a)continue;const _0x1b5573=_0x30ff8a['link']||_0x30ff8a[_0x4d8852(0x230,_0x55f63d._0x14c963,_0x55f63d._0x38a18d,_0x55f63d._0x4253d3)]?.[_0x50186e(0x672,0x793,0x8c2,0x889)]||'',_0x24f3df=_0x30ff8a[_0x4d8852(-_0x55f63d._0x802df6,-0xc,-0x1e6,_0x55f63d._0x2b81a4)]||_0x30ff8a[_0x4d8852(_0x55f63d._0x2594b6,0xe7,_0x55f63d._0x12260e,-0xc9)]?.[_0x50186e(_0x55f63d._0x5ae7fe,0x541,0x55d,0x662)]||_0x50186e(_0x55f63d._0x2ab863,0x675,_0x55f63d._0x3c6a65,0x764),_0xc4b24d=_0x30ff8a[_0x4d8852(-0x22,0xd,0x1dc,-_0x55f63d._0x3dcd39)]||_0x30ff8a[_0x50186e(_0x55f63d._0x243294,_0x55f63d._0x2e258a,_0x55f63d._0x3113e8,_0x55f63d._0x1a3c19)]?.[_0x50186e(0x944,_0x55f63d._0x508546,_0x55f63d._0x321ad5,0x8f7)](/<[^>]+>/g,''),_0x16f68a=_0x30ff8a[_0x4d8852(-_0x55f63d._0x134209,-_0x55f63d._0x30f2a2,-0x1ab,-_0x55f63d._0x5cd5c9)]?.[_0x50186e(_0x55f63d._0x5014cf,_0x55f63d._0x2c7909,_0x55f63d._0x1226df,_0x55f63d._0xdfdad2)]?.[0x0]??{};let _0x2e489f;try{_0x2e489f=new URL(_0x1b5573)[_0x4d8852(_0x55f63d._0x975ee6,_0x55f63d._0x40343b,_0x55f63d._0x541b4d,_0x55f63d._0x28df90)];}catch{_0x2e489f=null;}_0x5639d3[_0x4d8852(-0x1d0,-_0x55f63d._0x185c55,-0x1fb,-0x29b)]({'title':_0x24f3df,'url':normalizeUrl(_0x1b5573),'snippet':_0xc4b24d??null,'displayUrl':_0x2e489f,'favicon':null,'publishedAt':_0x16f68a['article:published_time']||_0x16f68a[_0x4d8852(-_0x55f63d._0x88c821,-_0x55f63d._0x1b7889,-_0x55f63d._0x2a7332,-0x194)]||null,'source':{'engine':_0x50186e(0x5e8,0x461,0x48d,0x607),'rank':_0x2f0ba7+_0x213978+0x1}});}_0x6a39f4+=_0x1dee2b[_0x4d8852(0x14b,_0x55f63d._0x5bd01c,-_0x55f63d._0x21add5,_0x55f63d._0x4b3034)],_0x503441+=_0x1dee2b['length'];if(_0x1dee2b[_0x50186e(_0x55f63d._0x2e45a3,0x8e2,0x5d8,0x719)]<_0xe80a4f)break;}return _0x5639d3[_0x50186e(0x626,0x454,0x6af,_0x55f63d._0x16cf55)](0x0,_0x1d037d);}function isGoogleCseEngine(_0x296251){const _0x5d8254={_0x286540:0x1a6,_0x56f713:0x50c,_0x1d37b4:0x323},_0x3cc4c8={_0xa2e314:0xef,_0x588097:0xee};function _0x5c30b4(_0x5ad610,_0x1b69ee,_0x5124a2,_0x37b6b0){return _0x5885dd(_0x5ad610-0x98,_0x1b69ee,_0x5124a2-_0x3cc4c8._0xa2e314,_0x37b6b0-_0x3cc4c8._0x588097);}return _0x5c30b4(_0x5d8254._0x286540,_0x5d8254._0x56f713,_0x5d8254._0x1d37b4,0x34a)in _0x296251;}function isOllamaEngine(_0x21ae5e){const _0x207e31={_0x4a7bbb:0x7c2,_0x4963b7:0x70f,_0x2ec235:0x684},_0x1137a8={_0x204a1e:0x158,_0x3d63c5:0x4f8};function _0x12e36e(_0x31343f,_0x2fd716,_0x41ea33,_0x10a934){return _0x16ac01(_0x31343f-_0x1137a8._0x204a1e,_0x10a934-_0x1137a8._0x3d63c5,_0x41ea33-0x1c3,_0x41ea33);}return _0x12e36e(0x4a9,_0x207e31._0x4a7bbb,_0x207e31._0x4963b7,_0x207e31._0x2ec235)in _0x21ae5e;}function isTavilyEngine(_0x58c162){const _0x21f920={_0x4bfde8:0x36c,_0x5cdce7:0x3ca},_0x14f889={_0x42788c:0x10a};function _0x4e2ce5(_0x42e98d,_0x2f1a87,_0x29a072,_0x32fec9){return _0x16ac01(_0x42e98d-0x138,_0x42e98d-0x519,_0x29a072-_0x14f889._0x42788c,_0x29a072);}return _0x4e2ce5(0x45f,0x59b,_0x21f920._0x4bfde8,_0x21f920._0x5cdce7)in _0x58c162;}function createWebSearchTool(_0x275dd2){const _0xb31363={_0xf5d94b:0x10f,_0x1186dc:0x6,_0x2059c1:0xd7,_0x1d6f1d:0x169,_0x3ce4e0:0x132,_0x143564:0x4,_0xe74c2e:0x14d,_0x53bd93:0xc7,_0x2c5e64:0x18e,_0x37b973:0x15f,_0x1e5a35:0xdf,_0x95d721:0x581,_0x140c7b:0x67e,_0x3cae6c:0x5e8,_0x135890:0x3,_0x166a60:0x859,_0x1bc5e2:0x689,_0x46b157:0x56a,_0x4c601e:0x2a5,_0x4da958:0x28c,_0x55ab62:0xde,_0x14d8b6:0x962,_0x1a53ec:0x367,_0x2870b7:0x2c4,_0x1ec2eb:0x3c1,_0x2883eb:0x2b6,_0x4f65a6:0x260,_0x4c217e:0x5dd,_0x849e42:0x8c4,_0x28c826:0x536,_0x1aafed:0x65d,_0x52b86e:0x3aa},_0x59db8e={_0x53657f:0xda,_0x1ba275:0x11a,_0x1de4ab:0x4b1,_0x48609b:0x4c7,_0x5e9adc:0x410,_0x384a1f:0x158,_0x2ecf3:0x1f7,_0x49df19:0xc8,_0xd5559d:0x5,_0xbaee3:0x39e,_0x597cc9:0xa2,_0x1688dc:0xf5,_0x3e7cb4:0x151,_0x494a78:0x303,_0x2740a6:0x65,_0x3016a7:0x49,_0x583a83:0x572,_0x39d22c:0x5fc,_0xb5725d:0x2d,_0x4cc562:0x300,_0x5ea3e:0x49b,_0x57197c:0x1a7,_0x4f6df1:0x105,_0x51ddd4:0x238,_0x258661:0x44a,_0x160908:0x5e1,_0x235ee0:0x40f,_0x5e1314:0x364,_0x5a47c6:0x2bd,_0x168475:0x4a1,_0x2183a2:0x2e8,_0x2ec0db:0x24a,_0x13f026:0x11c,_0x4342ae:0x13d,_0x2bcc5c:0xd4,_0x150057:0x64,_0x29d8de:0x2a,_0x300337:0x5d,_0x3c1ab7:0xdd,_0x223b99:0x550,_0x102d50:0x568,_0x47b2e0:0x44,_0x48c90a:0x3e3,_0x391f3f:0x1e1,_0x5afaf3:0x2af,_0x199b3f:0x240,_0x240631:0x409,_0x11fca5:0x1f2,_0x1016aa:0x49,_0x2c5ceb:0xc1,_0x16489f:0x11,_0x829bc0:0x1d,_0x34d2aa:0x572,_0x1420bd:0x3d8,_0x2b19dc:0x250,_0x3e54ec:0x1c8,_0x37d3ac:0xc4,_0x2b4fc2:0x316,_0x513366:0x59,_0x4d3b49:0x176,_0x1a1fb8:0x376,_0x33696f:0xc9,_0x3a0b23:0x20f,_0x1ac363:0x3ac,_0x935c26:0x5a9,_0x5f2bee:0x431,_0x556f5f:0x104,_0x1ce33f:0x1d0,_0x124741:0x234,_0x55ba7f:0x193,_0x5e288f:0x76,_0x2549f7:0xe0,_0x416435:0x405,_0x1cf030:0x445,_0x20abe6:0x2ce,_0x5f8622:0x409,_0x2a66a5:0x309,_0x1f9629:0x4cf,_0x491910:0x654,_0x306884:0x1f8,_0x186027:0x14e},_0x5c3bbb={_0x28fb69:0x1d5};if(!_0x275dd2[_0x5955e6(-0xbb,-_0xb31363._0xf5d94b,-_0xb31363._0x1186dc,-_0xb31363._0x2059c1)]||_0x275dd2[_0x5955e6(-0xbb,0x12d,-0x25a,-0x24a)][_0x5955e6(_0xb31363._0x1d6f1d,_0xb31363._0x3ce4e0,0x112,-_0xb31363._0x143564)]===0x0)throw new Error(_0x5955e6(0x13e,0x69,_0xb31363._0xe74c2e,_0xb31363._0x53bd93));const _0x3184d9=_0x275dd2[_0x5955e6(0x284,_0xb31363._0x2c5e64,0x237,0x480)]??_0x5955e6(-0x29,-_0xb31363._0x37b973,-_0xb31363._0x1e5a35,-0x1d9),_0x2322b7=_0x275dd2[_0xb95d33(0x496,_0xb31363._0x95d721,0x6a3,0x4e5)];function _0xb95d33(_0x36fc6a,_0x156cca,_0x180001,_0x4bb357){return _0x5885dd(_0x36fc6a-0x97,_0x180001,_0x180001-0x5,_0x4bb357-0x294);}function _0x5955e6(_0x1dcfec,_0x52fb2a,_0x40138e,_0x2b1b2e){return _0x5885dd(_0x1dcfec-0x102,_0x2b1b2e,_0x40138e-_0x5c3bbb._0x28fb69,_0x1dcfec- -0x222);}return defineTool({'name':_0x3184d9,'permissionClass':_0xb95d33(0x532,_0xb31363._0x140c7b,_0xb31363._0x3cae6c,0x5f3),'description':_0x5955e6(-0xaf,-_0xb31363._0x135890,0x80,-0x19e),'inputSchema':{'type':'object','properties':{'description':{'type':_0xb95d33(_0xb31363._0x166a60,_0xb31363._0x1bc5e2,_0xb31363._0x46b157,0x77a)},'query':{'type':'string'},'count':{'type':_0x5955e6(0xde,_0xb31363._0x4c601e,_0xb31363._0x4da958,0x1b5)},'offset':{'type':_0x5955e6(_0xb31363._0x55ab62,-0x23,0x153,-0xaa)},'domains':{'type':'array','items':{'type':_0xb95d33(_0xb31363._0x14d8b6,0x635,0x83f,0x77a)}},'recencyDays':{'type':'number'},'lang':{'type':_0x5955e6(0x2c4,_0xb31363._0x1a53ec,0xf2,0x37a)},'region':{'type':_0x5955e6(_0xb31363._0x2870b7,0x2cd,0xee,_0xb31363._0x1ec2eb)},'safe':{'type':_0x5955e6(0x207,_0xb31363._0x2883eb,0x233,_0xb31363._0x4f65a6)},'type':{'type':_0xb95d33(_0xb31363._0x4c217e,0x880,_0xb31363._0x849e42,0x77a)},'hydrateMeta':{'type':_0xb95d33(_0xb31363._0x28c826,0x56b,0x5ad,0x6bd)}},'required':[_0xb95d33(_0xb31363._0x1aafed,0x4d7,_0xb31363._0x52b86e,0x4e8)]},async *'execute'(_0x5f0cb3,_0x1b535c){const _0xd18425={_0x32aacc:0x1f1,_0x4f0ce4:0x11e,_0x125ca1:0xae,_0x22260f:0x105,_0x2011d4:0xc4,_0x91fa9e:0xfe,_0x53196a:0x4c,_0x2fd6b0:0xb9,_0xd322d:0x28,_0xda7f5b:0x1d4},_0x57fa54={_0x5c8f79:0x154};function _0x436198(_0x3a07a4,_0x1af27c,_0x5f0589,_0x32f941){return _0x5955e6(_0x1af27c-0x29c,_0x1af27c-0x16e,_0x5f0589-0x134,_0x3a07a4);}const _0x267b15=_0x5f0cb3[_0x54465c(-0x18d,0xa3,_0x59db8e._0x53657f,-_0x59db8e._0x1ba275)][_0x436198(_0x59db8e._0x1de4ab,0x43f,0x5bf,_0x59db8e._0x48609b)]();if(!_0x267b15)throw new ToolExecutionError(_0x436198(_0x59db8e._0x5e9adc,0x2f7,_0x59db8e._0x384a1f,_0x59db8e._0x2ecf3));const _0x1e763e={'query':_0x267b15,'count':Math['max'](0x1,Math[_0x54465c(-0x222,-_0x59db8e._0x49df19,-_0x59db8e._0xd5559d,-0x1aa)](0x32,Math[_0x436198(0x3ab,_0x59db8e._0xbaee3,0x36c,0x1cd)](_0x5f0cb3['count']??0xa))),'offset':Math[_0x54465c(_0x59db8e._0x597cc9,-0x362,-_0x59db8e._0x1688dc,-_0x59db8e._0x3e7cb4)](0x0,Math[_0x436198(0x199,_0x59db8e._0xbaee3,_0x59db8e._0x494a78,0x344)](_0x5f0cb3['offset']??0x0)),'domains':_0x5f0cb3['domains']??[],'recencyDays':Math[_0x54465c(-0x16,-0x252,0x13,-0x151)](0x0,Math[_0x54465c(-0x21f,-_0x59db8e._0x2740a6,_0x59db8e._0x3016a7,-0x4a)](_0x5f0cb3['recencyDays']??0x0)),'lang':_0x5f0cb3[_0x436198(0x4a3,_0x59db8e._0x583a83,0x4bc,_0x59db8e._0x39d22c)]??'en','region':_0x5f0cb3['region']??'','safe':_0x5f0cb3[_0x54465c(0x11,_0x59db8e._0xb5725d,0x37d,0x1fc)]??!![],'type':normalizeType(_0x5f0cb3[_0x436198(0x47e,_0x59db8e._0x4cc562,_0x59db8e._0x5ea3e,_0x59db8e._0x57197c)]),'hydrateMeta':_0x5f0cb3[_0x54465c(_0x59db8e._0x4f6df1,0x3eb,_0x59db8e._0x51ddd4,0x1f2)]??![]};let _0x5af687=[],_0x5b7214=_0x436198(_0x59db8e._0x258661,_0x59db8e._0x160908,_0x59db8e._0x235ee0,0x4cf);for(const _0x3eeeb3 of _0x275dd2[_0x436198(_0x59db8e._0x5e1314,0x1e1,_0x59db8e._0x5a47c6,0x235)]){try{if(isGoogleCseEngine(_0x3eeeb3))_0x5af687=await searchGoogleCse(_0x3eeeb3,_0x1e763e,_0x1b535c[_0x436198(_0x59db8e._0x168475,_0x59db8e._0x2183a2,_0x59db8e._0x2ec0db,_0x59db8e._0x13f026)]),_0x5b7214=_0x54465c(-_0x59db8e._0x4342ae,0x8f,_0x59db8e._0x2bcc5c,-0xf5);else{if(isOllamaEngine(_0x3eeeb3)){const _0x364a44=await searchOllama(_0x3eeeb3,_0x1e763e,_0x1b535c[_0x54465c(-0x28,-0x14,-0x1dc,-0x100)]);_0x5af687=_0x364a44[_0x54465c(_0x59db8e._0x150057,0x17c,_0x59db8e._0x29d8de,_0x59db8e._0x300337)],_0x5b7214=_0x364a44['engine'];}else{if(isTavilyEngine(_0x3eeeb3)){const _0x4c044b=await searchTavily(_0x3eeeb3,_0x1e763e,_0x1b535c[_0x54465c(0xcb,-0x298,_0x59db8e._0x3c1ab7,-0x100)]);_0x5af687=_0x4c044b['items'],_0x5b7214=_0x4c044b[_0x436198(0x33c,_0x59db8e._0x223b99,0x5da,_0x59db8e._0x102d50)];}}}if(_0x5af687[_0x54465c(0x1bd,-_0x59db8e._0x47b2e0,-0x3b,0x1d)]>0x0)break;}catch(_0x41dcda){if(_0x3eeeb3===_0x275dd2['engines'][_0x275dd2[_0x436198(_0x59db8e._0x48c90a,_0x59db8e._0x391f3f,0xfa,0x30a)][_0x436198(_0x59db8e._0x5afaf3,0x405,0x33d,0x219)]-0x1])throw _0x41dcda;}}function _0x54465c(_0x8533cf,_0x5e98e2,_0x1cd8f2,_0x328dc1){return _0x5955e6(_0x328dc1- -0x14c,_0x5e98e2-0x167,_0x1cd8f2-0x1b0,_0x5e98e2);}_0x1e763e[_0x54465c(0x38e,_0x59db8e._0x199b3f,_0x59db8e._0x240631,_0x59db8e._0x11fca5)]&&_0x5af687[_0x54465c(-_0x59db8e._0x1016aa,_0x59db8e._0x2c5ceb,_0x59db8e._0x16489f,_0x59db8e._0x829bc0)]>0x0&&(_0x5af687=await hydrateResults(_0x5af687,_0x1e763e[_0x436198(0x548,_0x59db8e._0x34d2aa,0x44c,0x721)],_0x1b535c['signal'],_0x2322b7));const _0x19676a=new Set();_0x5af687=_0x5af687[_0x436198(_0x59db8e._0x1420bd,_0x59db8e._0x2b19dc,0xae,0x3aa)](_0x270e8c=>{const _0xef982e={_0x1ebcbf:0x27,_0x68ba5:0x16b},_0x406485=_0x270e8c[_0x53984d(0x10c,_0xd18425._0x32aacc,_0xd18425._0x4f0ce4,0xd7)][_0x53984d(-_0xd18425._0x125ca1,_0xd18425._0x22260f,-0x8d,-0x231)]();function _0x4fd85a(_0x32448d,_0x1e2a99,_0x5a30e4,_0x215f47){return _0x436198(_0x32448d,_0x5a30e4-0x358,_0x5a30e4-0x3b,_0x215f47-_0x57fa54._0x5c8f79);}if(!_0x406485||_0x19676a[_0x53984d(0x50,_0xd18425._0x2011d4,_0xd18425._0x91fa9e,_0xd18425._0x53196a)](_0x406485))return![];_0x19676a[_0x53984d(-_0xd18425._0x2fd6b0,_0xd18425._0xd322d,0x145,-_0xd18425._0xda7f5b)](_0x406485);function _0x53984d(_0x3c128c,_0x2a2e55,_0x506a4c,_0x9e1581){return _0x436198(_0x2a2e55,_0x3c128c- -0x2ea,_0x506a4c-_0xef982e._0x1ebcbf,_0x9e1581-_0xef982e._0x68ba5);}return!![];}),_0x5af687=_0x5af687[_0x436198(0x43,_0x59db8e._0x3e54ec,0x1cb,_0x59db8e._0x37d3ac)]((_0x16777c,_0x461aa6)=>({..._0x16777c,'source':{..._0x16777c['source'],'rank':_0x461aa6+0x1}}));const _0x23338f={};if(_0x1e763e[_0x54465c(-_0x59db8e._0x2b4fc2,0x8d,_0x59db8e._0x513366,-_0x59db8e._0x4d3b49)][_0x436198(_0x59db8e._0x1a1fb8,0x405,0x26a,0x2bb)]>0x0)_0x23338f[_0x54465c(-0x7a,-_0x59db8e._0x33696f,-_0x59db8e._0x3a0b23,-0x176)]=_0x1e763e['domains'];if(_0x1e763e[_0x436198(0x219,_0x59db8e._0x1ac363,_0x59db8e._0x935c26,_0x59db8e._0x5f2bee)]>0x0)_0x23338f[_0x54465c(0xc8,-0x1dd,-_0x59db8e._0x556f5f,-0x3c)]=_0x1e763e['recencyDays'];if(_0x1e763e[_0x436198(0x47e,0x572,0x3d9,0x38e)]!=='en')_0x23338f[_0x54465c(_0x59db8e._0x1ce33f,_0x59db8e._0x124741,_0x59db8e._0x55ba7f,0x18a)]=_0x1e763e['lang'];if(_0x1e763e[_0x54465c(0x69,0x289,0x179,0xa7)])_0x23338f['region']=_0x1e763e[_0x54465c(_0x59db8e._0x5e288f,0x1f5,_0x59db8e._0x2549f7,0xa7)];return yield createToolOutput(formatResults(_0x5af687),{'engine':_0x5b7214,'count':_0x5af687[_0x436198(0x36b,_0x59db8e._0x416435,_0x59db8e._0x1cf030,0x553)],'items':_0x5af687,'query':_0x1e763e[_0x436198(0x488,_0x59db8e._0x20abe6,_0x59db8e._0x5f8622,_0x59db8e._0x2a66a5)],...Object[_0x436198(0x63a,_0x59db8e._0x1f9629,0x4e1,_0x59db8e._0x491910)](_0x23338f)[_0x436198(0x4db,0x405,0x33e,0x423)]>0x0?{'appliedFilters':_0x23338f}:{},'offset':_0x1e763e[_0x54465c(-0x2cd,-_0x59db8e._0x306884,-0x3e,-_0x59db8e._0x186027)],'totalRequested':_0x1e763e['count'],'hydrated':_0x1e763e['hydrateMeta']}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,DelegatedResolutionError,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,MODEL_TIERS,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(_0x5205f0,_0x30b76d){const _0x188054={_0x22b496:0x4bd,_0x4e4039:0x4a0,_0xbbe741:0x25d,_0x11f41b:0x56,_0x28fc21:0xcf,_0x254283:0x3f6,_0x4bb525:0x4f0,_0x1d0f5e:0x493,_0x297cad:0x261,_0x40ad77:0x32a,_0x32fb44:0x415,_0x5bf53e:0x465,_0x1361ba:0x106,_0x24e572:0x20d,_0x3c94a9:0x17f,_0x4efde1:0x3d5,_0x340e16:0x75,_0x56cb61:0xda,_0x39f6b0:0xff,_0x17996d:0x25b},_0xfddbcb={_0x3e735c:0x176},_0x3d09e5=_0x5205f0();function _0x359fa9(_0x8beab,_0x3f4072,_0x2ceb5f,_0x8d5409){return _0x2a9a(_0x8d5409- -_0xfddbcb._0x3e735c,_0x3f4072);}function _0xb15bb4(_0x17e206,_0x184031,_0x4fba5f,_0x2477e2){return _0x2a9a(_0x2477e2- -0x92,_0x17e206);}while(!![]){try{const _0x1253a5=-parseInt(_0xb15bb4(0x4fc,_0x188054._0x22b496,_0x188054._0x4e4039,0x53a))/0x1*(parseInt(_0x359fa9(_0x188054._0xbbe741,0x16a,-_0x188054._0x11f41b,_0x188054._0x28fc21))/0x2)+parseInt(_0x359fa9(_0x188054._0x254283,0x45c,_0x188054._0x4bb525,_0x188054._0x1d0f5e))/0x3+parseInt(_0x359fa9(0x159,0x4e4,_0x188054._0x297cad,0x2f6))/0x4+-parseInt(_0xb15bb4(_0x188054._0x40ad77,0x64a,_0x188054._0x32fb44,_0x188054._0x5bf53e))/0x5*(-parseInt(_0x359fa9(0x5c,-0x97,0xa4,_0x188054._0x1361ba))/0x6)+-parseInt(_0xb15bb4(_0x188054._0x24e572,_0x188054._0x3c94a9,_0x188054._0x4efde1,0x28f))/0x7+parseInt(_0x359fa9(_0x188054._0x340e16,_0x188054._0x56cb61,_0x188054._0x39f6b0,_0x188054._0x17996d))/0x8+-parseInt(_0xb15bb4(0xf0,0x266,0x28b,0x312))/0x9;if(_0x1253a5===_0x30b76d)break;else _0x3d09e5['push'](_0x3d09e5['shift']());}catch(_0x136194){_0x3d09e5['push'](_0x3d09e5['shift']());}}}(_0x1b45,0x45bbc));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 _0x34626e from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':_0x4d75fe(0x3e9,0x5de,0x3d7,0x411),'.js':_0x4d75fe(0x421,0xee,0x2e9,0x3e0),'.jsx':'javascriptreact','.mjs':_0x4d75fe(0x2f5,0x19f,0x2e9,0x1bc),'.cjs':_0x3145c3(0x704,0x5ee,0x484,0x47b),'.mts':_0x4d75fe(0x5c2,0x44b,0x4f8,0x525),'.cts':_0x4d75fe(0x390,0x36d,0x4f8,0x51d),'.json':_0x4d75fe(0x109,0x13e,0x2e4,0x10c),'.jsonc':_0x3145c3(0x50f,0x569,0x6bc,0x779)};function getLanguageId(_0x115803){return EXTENSION_TO_LANGUAGE[_0x34626e['extname'](_0x115803)['toLowerCase']()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x53fb7d){return pathToFileURL(_0x53fb7d)['toString']();}function textDocumentPosition(_0x2a447a){const _0x2c4750={_0x4f1d7d:0x3d1,_0x12af4c:0x1f3,_0x56604b:0x10},_0x565bd2={_0x5950de:0x198,_0x5b8640:0x553},_0x3d3229={_0x508d6f:0xb6,_0x4483a0:0x2ea};function _0x2019c8(_0x449472,_0x7f8b3b,_0x3b738e,_0x292910){return _0x4d75fe(_0x449472-_0x3d3229._0x508d6f,_0x292910,_0x7f8b3b- -_0x3d3229._0x4483a0,_0x292910-0x1a5);}function _0x2fc823(_0x1326fc,_0x59f5fc,_0x21e3f8,_0x37f3ad){return _0x3145c3(_0x1326fc-_0x565bd2._0x5950de,_0x21e3f8- -_0x565bd2._0x5b8640,_0x21e3f8-0x186,_0x37f3ad);}return{'textDocument':{'uri':uriForPath(_0x2a447a[_0x2fc823(_0x2c4750._0x4f1d7d,0x28b,0x2fd,_0x2c4750._0x12af4c)])},'position':{'line':_0x2a447a[_0x2fc823(0x23a,_0x2c4750._0x56604b,0x7b,0xba)],'character':_0x2a447a['character']}};}function normalizeLocations(_0x469584){const _0x48073c={_0x166d4c:0x1a6,_0x1dd226:0x15d,_0x2fcefe:0x168};function _0x3fb95a(_0x241569,_0x242ae0,_0x296ffc,_0x15b15b){return _0x4d75fe(_0x241569-_0x48073c._0x166d4c,_0x296ffc,_0x15b15b- -_0x48073c._0x1dd226,_0x15b15b-_0x48073c._0x2fcefe);}if(!_0x469584)return[];return Array[_0x3fb95a(0xd6,0xbf,0x26a,0x2a8)](_0x469584)?_0x469584:[_0x469584];}async function withLspTimeout(_0x43d992,_0x5eb356,_0x25e699){const _0x5a652a={_0x407367:0x7f2,_0x3298e4:0x74d,_0x59183b:0x8b2,_0x2e069e:0x7cb,_0x441b4d:0x4ac,_0x148a19:0x41f},_0x285b09={_0x14be47:0x5d,_0x4a1144:0x61,_0x2d5620:0x138,_0x3e56da:0xbc,_0x1c400f:0x3a6,_0x254959:0x2a6,_0x569011:0x36d},_0x2bac4a={_0x65f33a:0x1e4},_0x58a24a={_0x3b7aee:0x16f,_0x43a92d:0x349,_0x3ad493:0x13b};if(!Number['isFinite'](_0x5eb356)||_0x5eb356<0x1)throw new Error('Invalid\x20LSP\x20timeout\x20for\x20'+_0x25e699+_0x3b9f6d(_0x5a652a._0x407367,_0x5a652a._0x3298e4,_0x5a652a._0x59183b,_0x5a652a._0x2e069e));let _0x127706;function _0x3b9f6d(_0x443dc7,_0x284f48,_0x4b6bc7,_0x38e660){return _0x4d75fe(_0x443dc7-_0x58a24a._0x3b7aee,_0x38e660,_0x4b6bc7-_0x58a24a._0x43a92d,_0x38e660-_0x58a24a._0x3ad493);}function _0x2a2b31(_0x4b1488,_0x1aeefe,_0xd6c0a0,_0x3faa6b){return _0x4d75fe(_0x4b1488-_0x2bac4a._0x65f33a,_0x3faa6b,_0x4b1488- -0x1ae,_0x3faa6b-0xb6);}try{return await Promise[_0x3b9f6d(0x5d9,_0x5a652a._0x441b4d,0x639,_0x5a652a._0x148a19)]([_0x43d992,new Promise((_0x5db6e6,_0x53fbf6)=>{_0x127706=setTimeout(()=>{function _0x2c9062(_0x19fece,_0x5b9775,_0x19ac72,_0x5ea43e){return _0x2a9a(_0x19ac72- -0x329,_0x19fece);}function _0xcec013(_0xd4d990,_0x1b777d,_0x4d49fd,_0x588e35){return _0x2a9a(_0xd4d990- -0xf0,_0x588e35);}_0x53fbf6(new Error(_0x2c9062(-0x87,_0x285b09._0x14be47,0x1c,-_0x285b09._0x4a1144)+_0x25e699+_0x2c9062(0x358,0x20f,_0x285b09._0x2d5620,_0x285b09._0x3e56da)+_0x5eb356+_0xcec013(_0x285b09._0x1c400f,_0x285b09._0x254959,_0x285b09._0x569011,0x45f)));},_0x5eb356);})]);}finally{if(_0x127706!==void 0x0)clearTimeout(_0x127706);}}async function createLspClient(_0x5b7cf8){const _0x3be40b={_0x410230:0x15f,_0x1ded2f:0x258,_0x4b829e:0x4b1,_0x36eca3:0x184,_0x39caf6:0x340,_0x3bc8fd:0x442,_0x1d38fe:0x736,_0x38cf37:0x634,_0x1d6240:0x4db,_0x438b0c:0x507,_0x59b537:0x50c,_0x5696b7:0x397,_0x58acd7:0x1cb,_0x1b094a:0x416,_0x1a98b6:0x2f7,_0x3f3274:0x1d8,_0x3f06ed:0x2d2,_0x35d838:0x396,_0x55bdf9:0x579,_0x22387c:0x133,_0x2c8cab:0x196,_0x160cca:0xce,_0x3b6a5f:0x312,_0x3c89ba:0x2d0,_0x540492:0x1b2,_0xf38f64:0x26f,_0x12feb1:0xcd,_0x268c01:0x27c,_0x48765f:0x526,_0xcd47e3:0x256,_0x5d78d3:0x2c2,_0x4de512:0x203,_0x1dc178:0x1a9,_0x18477c:0x523,_0x3bf01a:0x61f,_0x569fc3:0x432},_0x28737c={_0x4049fc:0xdf,_0x4022c4:0xfa,_0x342f20:0x281,_0xe9b2e:0x371,_0x1c5843:0x16f,_0x3c5e83:0x162,_0x3ab1c0:0x97,_0x451fe7:0xe9,_0x51a9c2:0xae,_0x37c710:0x23f,_0x1b3149:0x18d,_0x2dbf30:0x27,_0x234740:0x12e,_0x1ba6ba:0x372,_0x568702:0x1da},_0x1e3721={_0x3940fa:0x178,_0x5138ab:0x31a},_0x3b6e48={_0x47a6ed:0x2ec},_0x5b6dfa={_0x4b4b28:0x6c7},_0x4f4a7a={_0xae759:0x194},_0x41023={_0x5c1abc:0x3a9},_0x50f252={_0x435d16:0x1df},_0x357ea1={_0x1d7ecd:0x859,_0x398eef:0x85c,_0x594746:0x6f0},_0x39ce5a={_0x411165:0xd6},_0x4a3810={_0x3be334:0x519,_0x254b13:0x4c4},_0x3580d4={_0x151d98:0x173},_0x117949={_0x5cecdf:0x8},_0x2f2f9d={_0x5d3544:0x1ff},_0x1c24ea={_0x131661:0x347,_0xfa727b:0x1a8,_0x4e7731:0x3a9,_0x5f1c22:0x127,_0x5eacdf:0x47f},_0xe140d9={_0x13f101:0x0},_0x8947b9={_0xc1cc91:0x70,_0x593add:0x103,_0x501046:0xcd,_0x165778:0x372,_0x5dec25:0x1f6,_0x263524:0x41f},_0x50c69f={_0x11e229:0x152},_0x2d520e={_0x9676bb:0x675,_0x35f65a:0x251,_0x292dd2:0x2b4,_0x296e36:0x36a,_0x3eefe4:0x619,_0x11d424:0x752,_0x47cc97:0x539,_0x590f52:0x2f2,_0x23aa60:0x218},_0xad1ad={_0x68235b:0x1e7,_0x4acf54:0x2fc},_0x112c84={_0x1f10e7:0x4c},_0x538bbc={_0x486b73:0xa2},_0x29884d={_0x5c53ec:0x54b,_0x3556e1:0x6b6,_0x438ec5:0x66a,_0x269625:0x533,_0x2d57a0:0x5b3,_0x498be3:0x41a,_0x532bdd:0x69c},_0xf3795c=_0x5b7cf8[_0x3fb29f(_0x3be40b._0x410230,-0x79,_0x3be40b._0x1ded2f,0x2c7)]['process'][_0x48b0a7(0x5eb,0x76b,_0x3be40b._0x4b829e,0x646)],_0x38f08b=_0x5b7cf8[_0x3fb29f(0x15f,_0x3be40b._0x36eca3,_0x3be40b._0x39caf6,0xc4)]['process'][_0x48b0a7(0x638,0x578,0x549,0x4e7)];function _0x3fb29f(_0xfa3912,_0x2f5640,_0x12644d,_0x66cb5){return _0x4d75fe(_0xfa3912-0x9a,_0x12644d,_0xfa3912- -0x82,_0x66cb5-0x26);}if(!_0xf3795c||!_0x38f08b)throw new Error(_0x48b0a7(_0x3be40b._0x3bc8fd,0x4cf,_0x3be40b._0x1d38fe,_0x3be40b._0x38cf37));const _0xdb463a=_0x5b7cf8[_0x48b0a7(_0x3be40b._0x1d6240,0x478,_0x3be40b._0x438b0c,_0x3be40b._0x59b537)]??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x27119c=createMessageConnection(new StreamMessageReader(_0xf3795c),new StreamMessageWriter(_0x38f08b)),_0x359748=new Map(),_0x5dc507=new Map();let _0x2b5d5a=![];const _0x4a32e9=async(_0x51838e,_0x20f959)=>{return withLspTimeout(_0x27119c['sendRequest'](_0x51838e,_0x20f959),_0xdb463a,_0x51838e);};_0x27119c['onNotification'](_0x48b0a7(0x2cd,_0x3be40b._0x5696b7,_0x3be40b._0x58acd7,0x27d),_0xe4c424=>{const _0x428017={_0x47dbe4:0x16d,_0xaf56ec:0x29e},_0x1c396a={_0x26907e:0x1c7,_0x24c2c1:0x104};_0x359748['set'](_0xe4c424[_0x2c6427(_0x29884d._0x5c53ec,0x771,_0x29884d._0x3556e1,_0x29884d._0x438ec5)],_0xe4c424[_0x2c85dd(_0x29884d._0x269625,0x4b8,_0x29884d._0x2d57a0,_0x29884d._0x498be3)]);const _0x45f8bd=_0x5dc507[_0x2c6427(_0x29884d._0x532bdd,0x8c3,0x73b,0x6ad)](_0xe4c424[_0x2c85dd(0x5d7,0x433,0x781,0x547)]);function _0x2c85dd(_0x50af29,_0x24cb4c,_0x38cc2f,_0x2ea287){return _0x48b0a7(_0x24cb4c,_0x24cb4c-0x18e,_0x38cc2f-_0x1c396a._0x26907e,_0x50af29-_0x1c396a._0x24c2c1);}if(!_0x45f8bd)return;_0x5dc507['delete'](_0xe4c424['uri']);function _0x2c6427(_0x449cef,_0x8707a7,_0x58533d,_0x51e1f5){return _0x48b0a7(_0x449cef,_0x8707a7-0xeb,_0x58533d-_0x428017._0x47dbe4,_0x8707a7-_0x428017._0xaf56ec);}for(const _0x534d45 of _0x45f8bd)_0x534d45();}),_0x27119c[_0x3fb29f(0x3f4,_0x3be40b._0x1b094a,0x31e,_0x3be40b._0x1a98b6)]();let _0x1ec582;function _0x48b0a7(_0x16cb6a,_0x598a22,_0x2a4379,_0x58ac69){return _0x4d75fe(_0x16cb6a-_0x538bbc._0x486b73,_0x16cb6a,_0x58ac69-0x8e,_0x58ac69-0x170);}try{_0x1ec582=await _0x4a32e9(_0x48b0a7(0x44c,0x35c,_0x3be40b._0x3f3274,_0x3be40b._0x3f06ed),{'processId':process[_0x3fb29f(_0x3be40b._0x35d838,0x3f3,0x427,_0x3be40b._0x55bdf9)],'rootUri':uriForPath(_0x5b7cf8[_0x48b0a7(0x69,0x135,0x355,0x243)]),'workspaceFolders':[{'uri':uriForPath(_0x5b7cf8[_0x3fb29f(_0x3be40b._0x22387c,_0x3be40b._0x2c8cab,-_0x3be40b._0x160cca,0x118)]),'name':_0x5b7cf8[_0x3fb29f(0x26c,0x20e,_0x3be40b._0x3b6a5f,_0x3be40b._0x3c89ba)]['id']}],'initializationOptions':_0x5b7cf8[_0x48b0a7(0x2a0,0x494,_0x3be40b._0x540492,_0x3be40b._0xf38f64)][_0x3fb29f(0x1ed,-0x27,0x120,_0x3be40b._0x12feb1)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':['markdown',_0x3fb29f(0x3e7,_0x3be40b._0x268c01,_0x3be40b._0x48765f,0x3bf)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x1283c4){_0x27119c[_0x48b0a7(0x1d4,0xf6,_0x3be40b._0xcd47e3,0x2d3)](),_0x5b7cf8[_0x3fb29f(_0x3be40b._0x410230,0x124,0x16e,0x18d)][_0x3fb29f(_0x3be40b._0x5d78d3,0x9a,_0x3be40b._0x4de512,_0x3be40b._0x1dc178)][_0x3fb29f(_0x3be40b._0x18477c,_0x3be40b._0x3bf01a,0x689,0x4e6)]();throw _0x1283c4;}_0x27119c['sendNotification']('initialized',{});const _0x5aebe4={'serverId':_0x5b7cf8[_0x48b0a7(0x337,_0x3be40b._0x569fc3,0x342,0x37c)]['id'],'root':_0x5b7cf8['root'],'connection':_0x27119c,'diagnostics':_0x359748,'capabilities':_0x1ec582['capabilities']??{},'notify':{async 'open'({path:_0x31b428}){function _0x2a873c(_0x355911,_0x48b976,_0x524eeb,_0x41d8f9){return _0x3fb29f(_0x355911- -0xf5,_0x48b976-_0x112c84._0x1f10e7,_0x41d8f9,_0x41d8f9-0x147);}const _0x419aa7=await readFile(_0x31b428,_0x3866e7(0x736,0x467,0x539,_0x2d520e._0x9676bb));function _0x3866e7(_0x3bbc2b,_0x1d8390,_0x4b0cdd,_0x458a34){return _0x48b0a7(_0x4b0cdd,_0x1d8390-_0xad1ad._0x68235b,_0x4b0cdd-0x41,_0x458a34-_0xad1ad._0x4acf54);}_0x27119c[_0x2a873c(0xfd,0x324,_0x2d520e._0x35f65a,_0x2d520e._0x292dd2)](_0x3866e7(_0x2d520e._0x296e36,_0x2d520e._0x3eefe4,_0x2d520e._0x11d424,_0x2d520e._0x47cc97),{'textDocument':{'uri':uriForPath(_0x31b428),'languageId':getLanguageId(_0x31b428)??_0x2a873c(_0x2d520e._0x590f52,0x252,0x30a,_0x2d520e._0x23aa60),'version':0x1,'text':_0x419aa7}});},async 'change'({path:_0x490a9c,version:_0x1bad60}){const _0x3b5806={_0x5606a3:0xa9,_0xd7ba0c:0x1bb};function _0x411c43(_0x5a7e5d,_0x57e8ba,_0x36a153,_0x48e6b0){return _0x48b0a7(_0x57e8ba,_0x57e8ba-0x7f,_0x36a153-_0x3b5806._0x5606a3,_0x48e6b0-_0x3b5806._0xd7ba0c);}function _0x3bceca(_0x17168d,_0x2aa56d,_0x4bc43c,_0x13031e){return _0x3fb29f(_0x2aa56d- -_0x50c69f._0x11e229,_0x2aa56d-0x72,_0x13031e,_0x13031e-0x4b);}const _0x3fa09c=await readFile(_0x490a9c,'utf8');_0x27119c[_0x3bceca(-_0x8947b9._0xc1cc91,0xa0,-_0x8947b9._0x593add,_0x8947b9._0x501046)](_0x3bceca(_0x8947b9._0x165778,_0x8947b9._0x5dec25,_0x8947b9._0x263524,0x3ea),{'textDocument':{'uri':uriForPath(_0x490a9c),'version':_0x1bad60},'contentChanges':[{'text':_0x3fa09c}]});},async 'close'({path:_0x10032a}){const _0x3da264={_0xda2e0:0x9};function _0x17cc16(_0x131968,_0x12fdce,_0x3da290,_0x50b05d){return _0x48b0a7(_0x131968,_0x12fdce-_0xe140d9._0x13f101,_0x3da290-0x149,_0x3da290- -0x15a);}function _0x4eded3(_0x1adb38,_0x528bd2,_0x362e59,_0x3d3b15){return _0x3fb29f(_0x528bd2- -_0x3da264._0xda2e0,_0x528bd2-0xe1,_0x362e59,_0x3d3b15-0x163);}_0x27119c[_0x17cc16(0x211,_0x1c24ea._0x131661,_0x1c24ea._0xfa727b,_0x1c24ea._0x4e7731)](_0x4eded3(_0x1c24ea._0x5f1c22,0x2eb,0x159,_0x1c24ea._0x5eacdf),{'textDocument':{'uri':uriForPath(_0x10032a)}});}},'request':{async 'definition'(_0x5ac738){function _0x18c854(_0x740f05,_0x40b70f,_0x5ed169,_0x2f44ec){return _0x48b0a7(_0x2f44ec,_0x40b70f-0xf4,_0x5ed169-0x6c,_0x40b70f- -0x243);}return normalizeLocations(await _0x4a32e9(_0x18c854(0xf6,0x28c,0x178,_0x2f2f9d._0x5d3544),textDocumentPosition(_0x5ac738)));},async 'references'(_0x2dc667){return normalizeLocations(await _0x4a32e9('textDocument/references',{...textDocumentPosition(_0x2dc667),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x1359d5){const _0x47d68a={_0x41e087:0x21};function _0x471e31(_0x4646cb,_0x4c05d4,_0x450e00,_0x383fd8){return _0x3fb29f(_0x383fd8-0x55,_0x4c05d4-_0x47d68a._0x41e087,_0x450e00,_0x383fd8-0x85);}return await _0x4a32e9(_0x471e31(0x1aa,0x3,_0x117949._0x5cecdf,0x17a),textDocumentPosition(_0x1359d5))??null;},async 'documentSymbol'(_0x53d09d){return await _0x4a32e9('textDocument/documentSymbol',{'textDocument':{'uri':uriForPath(_0x53d09d)}})??[];},async 'workspaceSymbol'(_0x54f24e){function _0x42262f(_0x590416,_0x5aae32,_0x3ac463,_0x368246){return _0x3fb29f(_0x3ac463-0x34c,_0x5aae32-0x56,_0x5aae32,_0x368246-_0x3580d4._0x151d98);}return await _0x4a32e9(_0x42262f(0x310,_0x4a3810._0x3be334,_0x4a3810._0x254b13,0x5ad),{'query':_0x54f24e})??[];},async 'implementation'(_0x1ec6db){return normalizeLocations(await _0x4a32e9('textDocument/implementation',textDocumentPosition(_0x1ec6db)));},async 'prepareCallHierarchy'(_0x5d0556){return await _0x4a32e9('textDocument/prepareCallHierarchy',textDocumentPosition(_0x5d0556))??[];},async 'incomingCalls'(_0x1869e7){function _0x3f1a8a(_0x82ac6a,_0x171972,_0x3da982,_0x4208a1){return _0x3fb29f(_0x3da982-0x2f1,_0x171972-0x131,_0x82ac6a,_0x4208a1-_0x39ce5a._0x411165);}return await _0x4a32e9(_0x3f1a8a(_0x357ea1._0x1d7ecd,0xa77,_0x357ea1._0x398eef,_0x357ea1._0x594746),{'item':_0x1869e7})??[];},async 'outgoingCalls'(_0x484c32){function _0x533a94(_0x5dc9e3,_0x47d56c,_0x2defcd,_0x3d1c5f){return _0x48b0a7(_0x2defcd,_0x47d56c-_0x50f252._0x435d16,_0x2defcd-0x111,_0x5dc9e3- -0x4e);}return await _0x4a32e9(_0x533a94(0x47f,0x44a,0x4c2,_0x41023._0x5c1abc),{'item':_0x484c32})??[];}},'waitForDiagnostics'({path:_0x23bc98,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x5cc6d8={_0x275c59:0x85b,_0xa42f11:0x321,_0x4d5854:0x3fc,_0x43e009:0x23f,_0x409155:0x357,_0x3ec658:0x728},_0x25b903={_0x116781:0x792,_0x4b76e0:0x886,_0x1fe085:0x6c9,_0x4097f2:0x752,_0x3fbdb4:0x637,_0xced7f9:0x828,_0x57aae4:0x858,_0x232516:0x7ae,_0x126635:0x94e,_0x2fa9da:0x76e},_0xe44f9b=uriForPath(_0x23bc98);function _0x3f015b(_0x64e22d,_0x1d0b42,_0x3e1776,_0x246607){return _0x3fb29f(_0x3e1776-0x1c3,_0x1d0b42-_0x4f4a7a._0xae759,_0x64e22d,_0x246607-0xd8);}if(_0x359748[_0x3f015b(0x3fe,0x63a,0x53c,_0x5b6dfa._0x4b4b28)](_0xe44f9b))return Promise['resolve']();return new Promise(_0x563835=>{const _0x1d4086={_0x46d746:0x63,_0x530736:0x57},_0x23f2f1={_0x21535f:0x183,_0x4a23d7:0x12d},_0x304b76={_0x207590:0x2a0},_0x50ba21=setTimeout(()=>{const _0x2ad506=_0x5dc507[_0x28f077(_0x25b903._0x116781,_0x25b903._0x4b76e0,0x7f4,_0x25b903._0x1fe085)](_0xe44f9b);_0x2ad506?.[_0x4bf775(0x6ea,0x819,0x87a,_0x25b903._0x4097f2)](_0x50bd06);function _0x28f077(_0x5d189a,_0x1f0cd7,_0xde7043,_0x2353b9){return _0x2a9a(_0x1f0cd7-_0x304b76._0x207590,_0x2353b9);}if(_0x2ad506?.[_0x28f077(0x4a7,_0x25b903._0x3fbdb4,_0x25b903._0xced7f9,_0x25b903._0x57aae4)]===0x0)_0x5dc507[_0x4bf775(_0x25b903._0x232516,_0x25b903._0x126635,_0x25b903._0x2fa9da,0x752)](_0xe44f9b);function _0x4bf775(_0x487824,_0x53969f,_0x1420a7,_0x75ff1c){return _0x2a9a(_0x75ff1c-0x3a1,_0x1420a7);}_0x563835();},timeoutMs),_0x50bd06=()=>{clearTimeout(_0x50ba21),_0x563835();},_0x59eeb7=_0x5dc507[_0x2546be(0x692,0x93b,0x856,_0x5cc6d8._0x275c59)](_0xe44f9b)??new Set();function _0x2546be(_0x367f52,_0x2238bf,_0x2bfefd,_0x7ed10c){return _0x3f015b(_0x367f52,_0x2238bf-0x174,_0x7ed10c-_0x23f2f1._0x21535f,_0x7ed10c-_0x23f2f1._0x4a23d7);}function _0x291daf(_0xdff1be,_0x3d89d8,_0xb7d814,_0x20bb67){return _0x3f015b(_0xdff1be,_0x3d89d8-_0x1d4086._0x46d746,_0xb7d814- -0x1ad,_0x20bb67-_0x1d4086._0x530736);}_0x59eeb7[_0x291daf(_0x5cc6d8._0xa42f11,_0x5cc6d8._0x4d5854,_0x5cc6d8._0x43e009,0x29c)](_0x50bd06),_0x5dc507[_0x291daf(_0x5cc6d8._0x409155,0x754,0x572,_0x5cc6d8._0x3ec658)](_0xe44f9b,_0x59eeb7);});},async 'shutdown'(){function _0x25711c(_0x1c0bb9,_0x41efea,_0x5ec7c1,_0x3ae4e1){return _0x3fb29f(_0x5ec7c1- -_0x3b6e48._0x47a6ed,_0x41efea-0x192,_0x41efea,_0x3ae4e1-0x159);}function _0x389d2c(_0x531e56,_0x1f81de,_0x255dd2,_0x4cd01e){return _0x48b0a7(_0x255dd2,_0x1f81de-0x1dd,_0x255dd2-_0x1e3721._0x3940fa,_0x4cd01e- -_0x1e3721._0x5138ab);}if(_0x2b5d5a)return;_0x2b5d5a=!![];try{await _0x4a32e9(_0x25711c(0x7f,0x109,-0x60,0x136),null),_0x27119c[_0x25711c(-0x2d9,_0x28737c._0x4049fc,-_0x28737c._0x4022c4,-_0x28737c._0x342f20)](_0x25711c(-_0x28737c._0xe9b2e,-_0x28737c._0x1c5843,-_0x28737c._0x3c5e83,_0x28737c._0x3ab1c0));}catch{}finally{_0x27119c[_0x389d2c(-0x1b,_0x28737c._0x451fe7,_0x28737c._0x51a9c2,-0x47)](),_0x5b7cf8[_0x25711c(-_0x28737c._0x37c710,-0x8f,-_0x28737c._0x1b3149,-0x302)][_0x389d2c(_0x28737c._0x2dbf30,_0x28737c._0x234740,0x88,0xb8)][_0x389d2c(_0x28737c._0x1ba6ba,0x35d,_0x28737c._0x568702,0x319)]();}}};return _0x5aebe4;}import{spawn as _0x54b900}from'child_process';import{access as _0x1366d2}from'fs/promises';import _0x5363a8 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x4d5bf4 from'os';import _0x43ac9a from'path';import _0x36e553 from'which';var installPromises=new Map();function sanitizePackageName(_0x2b8c49){const _0x5c38f2={_0x43784b:0x236,_0x4c9cd3:0x15d,_0x451d3a:0x44e,_0x5da6f0:0x56f,_0x397ae9:0x230},_0x5b08f0={_0x3a654e:0x1bb,_0x54a64d:0x3f9},_0x53c7f9={_0x4381ca:0x134};function _0x248410(_0x4bb4d4,_0x15493f,_0x47f2b7,_0xc20a53){return _0x3145c3(_0x4bb4d4-0x9d,_0x4bb4d4- -_0x53c7f9._0x4381ca,_0x47f2b7-0x90,_0xc20a53);}function _0x5292b5(_0x212685,_0x19d5d5,_0xa25eca,_0x166909){return _0x3145c3(_0x212685-_0x5b08f0._0x3a654e,_0x166909- -_0x5b08f0._0x54a64d,_0xa25eca-0x18f,_0x212685);}return _0x2b8c49[_0x5292b5(_0x5c38f2._0x43784b,_0x5c38f2._0x4c9cd3,0xa4,0x189)](/^@/,'')[_0x248410(_0x5c38f2._0x451d3a,_0x5c38f2._0x5da6f0,0x24d,_0x5c38f2._0x397ae9)](/[/]/g,'__');}function binaryNameForPlatform(_0x3714a5){const _0x54e601={_0x508220:0x55,_0x4d4aec:0xc6,_0x17be28:0x25e,_0x124a8d:0x48c},_0x49823a={_0x7d26aa:0x1fd},_0x4c246b={_0x1493cf:0xac,_0x1ad749:0x111};function _0x59d37b(_0x380664,_0x24d3c7,_0x53a0d6,_0x1fcd97){return _0x4d75fe(_0x380664-_0x4c246b._0x1493cf,_0x24d3c7,_0x380664- -0x1d8,_0x1fcd97-_0x4c246b._0x1ad749);}function _0x2fe938(_0x32d895,_0x2cd23d,_0x42d10d,_0x591845){return _0x4d75fe(_0x32d895-0x188,_0x591845,_0x42d10d- -_0x49823a._0x7d26aa,_0x591845-0xb6);}return process['platform']===_0x2fe938(_0x54e601._0x508220,-_0x54e601._0x4d4aec,-0x4b,-_0x54e601._0x17be28)?_0x3714a5+_0x59d37b(0x34e,0x265,_0x54e601._0x124a8d,0x1b7):_0x3714a5;}async function exists(_0x33dafa){try{return await access(_0x33dafa),!![];}catch{return![];}}function runNpmInstall(_0x3a2bcd,_0x562281,_0x3793ae){const _0x1f0448={_0x1161d9:0x51,_0x49ba5b:0x163,_0x57ff7e:0x66,_0x59db49:0xea,_0x5de979:0x109};return new Promise(_0x3fcc95=>{const _0x903223={_0x3c2c9:0x3dd},_0x2f3cd7=spawn(_0x5fe6f(_0x1f0448._0x1161d9,-0xff,-_0x1f0448._0x49ba5b,_0x1f0448._0x57ff7e),['install','--prefix',_0x3a2bcd,_0x562281],{'env':_0x3793ae,'stdio':'ignore'});function _0x5fe6f(_0x5c6435,_0x2613a3,_0x5a1f3f,_0x411925){return _0x2a9a(_0x5a1f3f- -0x391,_0x2613a3);}function _0x59298d(_0x4b4721,_0x392e62,_0x4219ab,_0x445966){return _0x2a9a(_0x4219ab- -_0x903223._0x3c2c9,_0x4b4721);}_0x2f3cd7['on'](_0x5fe6f(0x2c,-_0x1f0448._0x59db49,_0x1f0448._0x5de979,-0x29),()=>_0x3fcc95(![])),_0x2f3cd7['on']('close',_0x2b4f02=>_0x3fcc95(_0x2b4f02===0x0));});}function shouldDisableLspDownload(_0x59935e=process[_0x4d75fe(0x129,0x2bc,0x2d1,0x213)]){const _0x267457={_0x3e6b47:0x1fd,_0x2afb33:0x2c7,_0x2c5054:0x20c,_0x5ddfed:0x8b,_0x683ef8:0x7a,_0x281ebf:0x4,_0x9d8467:0x375,_0x4beec6:0x4eb},_0x4e91a1={_0x1817a7:0x1c8},_0x4ba5ad={_0x29c53d:0x1d5};function _0x41e26d(_0x53772c,_0x2bba8f,_0x458e6d,_0x282579){return _0x3145c3(_0x53772c-0x10d,_0x53772c- -0x24e,_0x458e6d-_0x4ba5ad._0x29c53d,_0x458e6d);}function _0x238877(_0x51bd94,_0x49afa0,_0x4cfb68,_0x40ed37){return _0x3145c3(_0x51bd94-0x156,_0x40ed37- -0x4ed,_0x4cfb68-_0x4e91a1._0x1817a7,_0x49afa0);}const _0x191406=_0x59935e[_0x238877(0x23a,0x244,_0x267457._0x3e6b47,_0x267457._0x2afb33)]?.[_0x238877(0x107,0x356,0x3d4,_0x267457._0x2c5054)]();return _0x191406===_0x238877(-_0x267457._0x5ddfed,-_0x267457._0x683ef8,-_0x267457._0x281ebf,0x110)||_0x191406==='1'||_0x191406===_0x41e26d(_0x267457._0x9d8467,0x40b,_0x267457._0x4beec6,0x43f)||_0x191406==='on';}function getLspPackageDir(_0x3a8739){const _0x5c475e={_0x493b2d:0x4e5,_0x700be7:0x611,_0xbfec97:0xa1c,_0x30227b:0x877,_0x3f126d:0x864,_0x180064:0x8c4,_0xb7f99b:0x74a,_0x3eebc5:0x600,_0x361f41:0x41c,_0x120268:0x3f8},_0x1ef008={_0xb669e8:0xa8,_0x3c76a6:0x2d3};function _0x1fd210(_0x320c1f,_0x51bbb5,_0x6c2b13,_0x198bf2){return _0x4d75fe(_0x320c1f-_0x1ef008._0xb669e8,_0x51bbb5,_0x6c2b13-_0x1ef008._0x3c76a6,_0x198bf2-0x1ab);}function _0x216105(_0x36f133,_0x5615b3,_0x742516,_0x73171e){return _0x4d75fe(_0x36f133-0x6b,_0x742516,_0x5615b3-0x1f8,_0x73171e-0x79);}return _0x43ac9a[_0x216105(_0x5c475e._0x493b2d,0x4ed,0x5e5,_0x5c475e._0x700be7)](_0x4d5bf4[_0x1fd210(_0x5c475e._0xbfec97,0x7e7,_0x5c475e._0x30227b,_0x5c475e._0x3f126d)](),_0x1fd210(0x82e,_0x5c475e._0x180064,0x761,_0x5c475e._0xb7f99b),_0x216105(0x550,_0x5c475e._0x3eebc5,0x661,_0x5c475e._0x361f41),_0x216105(0x410,_0x5c475e._0x120268,0x367,0x4ca),sanitizePackageName(_0x3a8739));}function getLspBinDir(_0x10dff9){const _0x5a725e={_0x5f5283:0x49f,_0x1fd759:0x558,_0x414954:0x4d1,_0x799b93:0x4af,_0x5bb23b:0x51f},_0x2d722f={_0x35ef2a:0x140},_0x295000={_0x23ea59:0x176,_0xa6fa58:0x3b};function _0x58fff5(_0x5ec6d0,_0xfb302,_0x1e8cb3,_0x2f08f4){return _0x3145c3(_0x5ec6d0-_0x295000._0x23ea59,_0xfb302-_0x295000._0xa6fa58,_0x1e8cb3-0x159,_0x2f08f4);}function _0x1b576e(_0x11466c,_0x5632b5,_0x3e1baa,_0x1d5ebd){return _0x4d75fe(_0x11466c-0x84,_0x5632b5,_0x3e1baa-0x100,_0x1d5ebd-_0x2d722f._0x35ef2a);}return _0x43ac9a[_0x58fff5(0x718,0x635,0x6c0,0x46e)](getLspPackageDir(_0x10dff9),_0x58fff5(_0x5a725e._0x5f5283,0x627,_0x5a725e._0x1fd759,0x6ab),_0x1b576e(_0x5a725e._0x414954,_0x5a725e._0x799b93,0x6d3,_0x5a725e._0x5bb23b));}async function findPackageBinary(_0x2aafb7,_0x547258){const _0x1a3c53={_0x3d4b76:0x440,_0x8a405a:0x593,_0x388768:0x761,_0x523fac:0x80e},_0x24c492={_0x215546:0x29},_0x48bb4b={_0x571f01:0x10e,_0x4cae6b:0x6c};let _0x1b2aaa=_0x43ac9a[_0xe99487(0x428,_0x1a3c53._0x3d4b76,0x3f5,_0x1a3c53._0x8a405a)](_0x547258);function _0x4a06a2(_0x1db1f7,_0x24ee8e,_0x54c0ab,_0x1afc5e){return _0x3145c3(_0x1db1f7-_0x48bb4b._0x571f01,_0x1afc5e- -_0x48bb4b._0x4cae6b,_0x54c0ab-0x1dd,_0x54c0ab);}const _0x1f6317=binaryNameForPlatform(_0x2aafb7);function _0xe99487(_0xada0ce,_0x31b967,_0x21094f,_0xc10c85){return _0x3145c3(_0xada0ce-_0x24c492._0x215546,_0xada0ce- -0xcd,_0x21094f-0x106,_0x31b967);}while(!![]){const _0x129947=_0x43ac9a['join'](_0x1b2aaa,'node_modules',_0xe99487(0x80b,0x7b0,_0x1a3c53._0x388768,0x7c6),_0x1f6317);if(await exists(_0x129947))return _0x129947;const _0x47aae5=_0x43ac9a[_0xe99487(0x71f,0x73d,_0x1a3c53._0x523fac,0x5af)](_0x1b2aaa);if(_0x47aae5===_0x1b2aaa)return void 0x0;_0x1b2aaa=_0x47aae5;}}async function findPathBinary(_0x4bd224,_0x3085ff){const _0x2a7e12={_0x18bab8:0x7f4,_0x29c3be:0x899,_0x443e87:0x839},_0x376482={_0x608b01:0xb4},_0x3db3ef={_0x2829a6:0x27,_0x573a8e:0x124};function _0x386c54(_0x5e3aec,_0x18eb81,_0x21350a,_0x10a93a){return _0x4d75fe(_0x5e3aec-_0x3db3ef._0x2829a6,_0x18eb81,_0x21350a- -0x2dd,_0x10a93a-_0x3db3ef._0x573a8e);}const _0x521899=getLspBinDir(_0x3085ff);function _0x3b2c8c(_0x44ab30,_0x450bbd,_0x473476,_0xec4347){return _0x3145c3(_0x44ab30-0x46,_0xec4347- -_0x376482._0x608b01,_0x473476-0x13f,_0x473476);}const _0x1818d1=[_0x521899,process['env'][_0x3b2c8c(0x838,0x797,0x95c,_0x2a7e12._0x18bab8)]][_0x3b2c8c(0x651,_0x2a7e12._0x29c3be,0x960,_0x2a7e12._0x443e87)](Boolean)['join'](_0x43ac9a['delimiter']);try{return await _0x36e553(_0x4bd224,{'path':_0x1818d1});}catch{return void 0x0;}}async function resolvePackageBinary(_0x1bd484){const _0x4079cc={_0x5b63b2:0x8a9,_0x489d2c:0x93a,_0x2a212d:0xa9e,_0x6ed7ca:0x9d5,_0x44376c:0x939,_0x180033:0x606,_0x56a0ee:0x3df,_0x1a8360:0x7f9,_0x37c2f7:0x89c,_0x1dec58:0x6ee,_0x244d51:0x996,_0x3343b8:0x88a,_0x14a977:0x606,_0x107ee8:0x85b,_0x336029:0x9b4,_0x4ec44e:0x6cf,_0x360ec9:0x59e,_0x1217a3:0x990,_0xc2226c:0x77f,_0x2ac2bd:0x86e},_0x55fdc8={_0x3a2962:0x37c,_0x1560b3:0x5e4,_0x3b3cce:0x541,_0x47816d:0x6f6,_0x5c6681:0x6a1,_0x3b4a5e:0x4d8,_0x5670e8:0x761,_0x29a64c:0x8a0},_0xfb323={_0xe365b5:0x7f},_0x1488a2={_0x320afd:0x1e0,_0xa5d478:0x214,_0x3efbde:0x75},_0xe83ce3=_0x1bd484[_0x46ed1e(0x7e2,_0x4079cc._0x5b63b2,_0x4079cc._0x489d2c,_0x4079cc._0x2a212d)]??_0x1bd484[_0x46ed1e(0x978,0x8ad,0x932,0xb17)],_0x261e60=await findPackageBinary(_0xe83ce3,_0x1bd484[_0x46ed1e(0x867,_0x4079cc._0x6ed7ca,_0x4079cc._0x44376c,0x985)]);function _0x5e4fd7(_0xf323e2,_0x9da2ef,_0x2fb9d6,_0x3343e6){return _0x3145c3(_0xf323e2-_0x1488a2._0x320afd,_0xf323e2- -_0x1488a2._0xa5d478,_0x2fb9d6-_0x1488a2._0x3efbde,_0x3343e6);}if(_0x261e60)return _0x261e60;const _0x5c2d48=await findPathBinary(_0xe83ce3,_0x1bd484[_0x5e4fd7(_0x4079cc._0x180033,_0x4079cc._0x56a0ee,0x4a1,0x4e0)]);if(_0x5c2d48)return _0x5c2d48;const _0x5b55a4=_0x1bd484[_0x46ed1e(_0x4079cc._0x1a8360,0x861,0x6ee,0x7f1)]??process[_0x46ed1e(_0x4079cc._0x37c2f7,0x7bd,_0x4079cc._0x1dec58,0x71c)];if(shouldDisableLspDownload(_0x5b55a4))return void 0x0;function _0x46ed1e(_0x1c7eb9,_0x26bc0b,_0x227297,_0x39c54a){return _0x4d75fe(_0x1c7eb9-0x95,_0x1c7eb9,_0x227297-0x41d,_0x39c54a-_0xfb323._0xe365b5);}const _0x340f1d=getLspPackageDir(_0x1bd484[_0x46ed1e(_0x4079cc._0x244d51,0x8ff,0x932,_0x4079cc._0x3343b8)]),_0x1339e3=_0x1bd484[_0x5e4fd7(_0x4079cc._0x14a977,0x409,0x63f,0x730)]+':'+_0xe83ce3;let _0x2b859e=installPromises[_0x46ed1e(0x882,_0x4079cc._0x107ee8,_0x4079cc._0x336029,0xa6e)](_0x1339e3);!_0x2b859e&&(_0x2b859e=((async()=>{const _0x5eeed9={_0x41a285:0x172,_0x48f822:0x43d},_0x306ed5={_0x298545:0x0};await mkdir(_0x340f1d,{'recursive':!![]});function _0x5670c3(_0x489e56,_0x2f180c,_0x183ce9,_0x2d5661){return _0x5e4fd7(_0x489e56-0x15b,_0x2f180c-_0x306ed5._0x298545,_0x183ce9-0x5,_0x2f180c);}const _0x37851c=await runNpmInstall(_0x340f1d,_0x1bd484[_0x7a0e89(_0x55fdc8._0x3a2962,0x37e,0x4f5,_0x55fdc8._0x1560b3)],_0x5b55a4);if(!_0x37851c)return void 0x0;function _0x7a0e89(_0x5c434b,_0x4e31c8,_0x2361b9,_0x9aa1ac){return _0x46ed1e(_0x4e31c8,_0x4e31c8-_0x5eeed9._0x41a285,_0x2361b9- -_0x5eeed9._0x48f822,_0x9aa1ac-0xed);}const _0x16f129=_0x43ac9a[_0x5670c3(_0x55fdc8._0x3b3cce,_0x55fdc8._0x47816d,_0x55fdc8._0x5c6681,_0x55fdc8._0x3b4a5e)](getLspBinDir(_0x1bd484[_0x5670c3(_0x55fdc8._0x5670e8,0x601,0x8f9,_0x55fdc8._0x29a64c)]),binaryNameForPlatform(_0xe83ce3));return await exists(_0x16f129)?_0x16f129:void 0x0;})()),installPromises[_0x5e4fd7(_0x4079cc._0x4ec44e,_0x4079cc._0x360ec9,0x686,0x663)](_0x1339e3,_0x2b859e));try{return await _0x2b859e;}catch{return void 0x0;}finally{installPromises[_0x46ed1e(0x897,_0x4079cc._0x1217a3,_0x4079cc._0xc2226c,_0x4079cc._0x2ac2bd)](_0x1339e3);}}var TYPESCRIPT_EXTENSIONS=['.ts','.tsx',_0x4d75fe(0x48d,0x60a,0x5c7,0x7dc),'.jsx',_0x4d75fe(0x4f4,0x27c,0x448,0x3c2),'.cjs',_0x3145c3(0x89f,0x897,0x6c3,0x792),_0x4d75fe(0x525,0x2ee,0x40d,0x23f)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x3145c3(0x3ef,0x554,0x5e4,0x642),_0x3145c3(0x7a3,0x6b8,0x576,0x746)],TYPESCRIPT_ROOT_MARKERS=['package-lock.json',_0x4d75fe(0x3b9,0x12d,0x2e0,0x345),'bun.lock',_0x4d75fe(0x413,0x16b,0x213,0x256),'yarn.lock',_0x4d75fe(0x554,0x4e2,0x332,0x119),_0x3145c3(0x9bb,0x7a8,0x81a,0x68a),_0x4d75fe(0x49b,0x475,0x2c7,0x107)],BIOME_ROOT_MARKERS=[_0x4d75fe(0x376,0x694,0x553,0x610),_0x3145c3(0x7a3,0x7cd,0x737,0x7e8),_0x3145c3(0x477,0x698,0x4fc,0x6bc),_0x4d75fe(0x4e7,0x44c,0x2e0,0x47a),_0x4d75fe(0x529,0x58d,0x4f7,0x624),_0x4d75fe(0x2d5,0x28b,0x213,0x4),'yarn.lock',_0x4d75fe(0x41a,0x3e0,0x2c7,0x457)];async function exists2(_0x427045){try{return await _0x1366d2(_0x427045),!![];}catch{return![];}}async function findUp(_0x34bab1,_0x834d80){const _0x11d46a={_0x4529be:0x54f,_0x6a511e:0x783,_0x352887:0x88b,_0x5260a4:0x910,_0x59ddc6:0x90b,_0x3046af:0x85b,_0x3835ea:0x71e,_0x144c44:0x589},_0x564eed={_0x4a0ce8:0x124},_0x4eb80b={_0x3a3a53:0x15e};function _0x245546(_0xb5f48e,_0x3ddd93,_0x1c2e1b,_0x2cdaaa){return _0x3145c3(_0xb5f48e-_0x4eb80b._0x3a3a53,_0x2cdaaa- -0x3c6,_0x1c2e1b-0x1b9,_0xb5f48e);}let _0x482d66=_0x5363a8[_0x58cb38(0x793,_0x11d46a._0x4529be,0x619,0x45a)](_0x34bab1);const _0x40ccc1=_0x5363a8['extname'](_0x482d66);function _0x58cb38(_0x2338d5,_0x4861c9,_0x50ab29,_0x31c366){return _0x3145c3(_0x2338d5-0x16f,_0x50ab29-_0x564eed._0x4a0ce8,_0x50ab29-0x105,_0x4861c9);}if(_0x40ccc1)_0x482d66=_0x5363a8[_0x58cb38(_0x11d46a._0x6a511e,_0x11d46a._0x352887,_0x11d46a._0x5260a4,_0x11d46a._0x59ddc6)](_0x482d66);while(!![]){for(const _0x5ac964 of _0x834d80){if(await exists2(_0x5363a8[_0x58cb38(0x6d3,_0x11d46a._0x3046af,_0x11d46a._0x3835ea,0x6ba)](_0x482d66,_0x5ac964)))return _0x482d66;}const _0x19e039=_0x5363a8[_0x245546(0x22b,0x452,_0x11d46a._0x144c44,0x426)](_0x482d66);if(_0x19e039===_0x482d66)return void 0x0;_0x482d66=_0x19e039;}}async function hasDenoRoot(_0x456cd1){const _0x48e5a9={_0x3c458e:0x5f0,_0x5f2ce9:0xa5,_0x5b4b86:0x9b,_0x23cf41:0x289},_0x7e8e27={_0x26e2ba:0xa7},_0x1e775b={_0x393886:0x1b4};function _0x4e3f45(_0x2a74ea,_0x5237d4,_0x141e7e,_0x4b6af2){return _0x4d75fe(_0x2a74ea-_0x1e775b._0x393886,_0x141e7e,_0x2a74ea-0x115,_0x4b6af2-0x141);}function _0x59f029(_0x42a67c,_0x3fb3dc,_0x1a03a8,_0x536f97){return _0x3145c3(_0x42a67c-0x151,_0x1a03a8- -0x5d5,_0x1a03a8-_0x7e8e27._0x26e2ba,_0x42a67c);}return await exists2(_0x5363a8['join'](_0x456cd1,_0x4e3f45(0x44f,_0x48e5a9._0x3c458e,0x590,0x464)))||await exists2(_0x5363a8['join'](_0x456cd1,_0x59f029(_0x48e5a9._0x5f2ce9,0x50,_0x48e5a9._0x5b4b86,_0x48e5a9._0x23cf41)));}async function resolveTsserverPath(_0x12493e){const _0x8a9fc0={_0x312050:0x52c,_0x2db81c:0x402,_0x108847:0x654,_0x670cf:0x569,_0x422722:0x6fb,_0x4e5978:0x723,_0x5321ae:0x6a7,_0x14bdb1:0x6ec,_0x3d5a10:0x83a,_0x269403:0x5f2,_0x5d67db:0x6c8,_0x54452b:0x685,_0x43f5ae:0x73d,_0x3b7971:0x5ef,_0x3a2cd9:0x521,_0x527835:0x6fb,_0x1bfc96:0x808,_0x2ec2df:0x69d,_0x186ec7:0x5c9,_0x38424c:0x4f8,_0x285fda:0x4ea,_0x20843d:0x350,_0x42d1a6:0x891,_0x48ce6b:0x838,_0x29c907:0x6ec,_0x10349e:0x5ad},_0x1bf773={_0x4dd30f:0x143,_0x194241:0x1eb},_0x25cec6={_0x4574f8:0x66};function _0x5c988f(_0x31072e,_0x23d211,_0x4b1c7d,_0xd927f9){return _0x3145c3(_0x31072e-0x1e7,_0x31072e- -0xc0,_0x4b1c7d-_0x25cec6._0x4574f8,_0xd927f9);}let _0x4d4151=_0x5363a8['resolve'](_0x12493e);while(!![]){const _0x2811a1=_0x5363a8['join'](_0x4d4151,_0x5c988f(_0x8a9fc0._0x312050,_0x8a9fc0._0x2db81c,0x54a,_0x8a9fc0._0x108847),_0x493e19(_0x8a9fc0._0x670cf,_0x8a9fc0._0x422722,_0x8a9fc0._0x4e5978,0x690),_0x493e19(_0x8a9fc0._0x5321ae,_0x8a9fc0._0x14bdb1,_0x8a9fc0._0x3d5a10,_0x8a9fc0._0x269403),_0x5c988f(0x57a,_0x8a9fc0._0x5d67db,0x434,_0x8a9fc0._0x54452b));if(await exists2(_0x2811a1))return _0x2811a1;const _0x31e918=_0x5363a8['dirname'](_0x4d4151);if(_0x31e918===_0x4d4151)break;_0x4d4151=_0x31e918;}const _0x252c48=getLspPackageDir(_0x5c988f(_0x8a9fc0._0x43f5ae,0x5c2,_0x8a9fc0._0x3b7971,_0x8a9fc0._0x3a2cd9)),_0x57462d=await resolvePackageBinary({'packageName':_0x493e19(0x8ce,_0x8a9fc0._0x527835,_0x8a9fc0._0x1bfc96,0x62b),'binaryName':_0x5c988f(_0x8a9fc0._0x2ec2df,0x6a3,0x4fe,0x728),'startDir':_0x12493e});function _0x493e19(_0x6ca664,_0x459642,_0x487dda,_0x46a483){return _0x4d75fe(_0x6ca664-_0x1bf773._0x4dd30f,_0x46a483,_0x459642-0x203,_0x46a483-_0x1bf773._0x194241);}if(!_0x57462d)return void 0x0;const _0x487491=_0x5363a8[_0x493e19(_0x8a9fc0._0x186ec7,_0x8a9fc0._0x38424c,0x51e,0x5e1)](_0x252c48,_0x493e19(0x50e,_0x8a9fc0._0x285fda,0x610,_0x8a9fc0._0x20843d),_0x5c988f(_0x8a9fc0._0x43f5ae,_0x8a9fc0._0x42d1a6,0x769,0x74b),_0x493e19(_0x8a9fc0._0x48ce6b,_0x8a9fc0._0x29c907,0x63e,0x5d3),_0x493e19(0x4ab,0x538,0x5d5,_0x8a9fc0._0x10349e));return await exists2(_0x487491)?_0x487491:void 0x0;}var TypeScriptServer={'id':_0x3145c3(0x9f9,0x7fd,0xa12,0x7dd),'name':_0x3145c3(0x7f9,0x83d,0x9cf,0x7eb),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0xeb2bcd){const _0x438884=await findUp(_0xeb2bcd,TYPESCRIPT_ROOT_MARKERS);if(!_0x438884)return void 0x0;return await hasDenoRoot(_0x438884)?void 0x0:_0x438884;},async 'spawn'(_0x4abb4c){const _0x42ae7a={_0x3459f2:0x1a1,_0x3f0310:0x336,_0x263789:0x262,_0x179027:0x4b2,_0x3d266b:0x257},_0x3c2bd7={_0x3881c1:0x7c},_0x28ee61={_0xac1dcf:0x404},_0x18ee6c=await resolveTsserverPath(_0x4abb4c);function _0x2f1759(_0x59c81a,_0x48475b,_0x41450a,_0x91011a){return _0x4d75fe(_0x59c81a-0x178,_0x41450a,_0x59c81a-_0x28ee61._0xac1dcf,_0x91011a-0x9f);}if(!_0x18ee6c)return void 0x0;const _0x93d1ea=await resolvePackageBinary({'packageName':_0x4661d4(0x26b,0x2cc,_0x42ae7a._0x3459f2,0x151),'binaryName':'typescript-language-server','startDir':_0x4abb4c});function _0x4661d4(_0x54168a,_0x4ea4cd,_0x2f3db6,_0x4bdd75){return _0x3145c3(_0x54168a-0xdf,_0x4bdd75- -0x49a,_0x2f3db6-_0x3c2bd7._0x3881c1,_0x2f3db6);}if(!_0x93d1ea)return void 0x0;return{'process':_0x54b900(_0x93d1ea,[_0x4661d4(0x424,_0x42ae7a._0x3f0310,0x2fe,_0x42ae7a._0x263789)],{'cwd':_0x4abb4c,'stdio':_0x4661d4(_0x42ae7a._0x179027,_0x42ae7a._0x3d266b,0x42b,0x2c8)}),'initialization':{'tsserver':{'path':_0x18ee6c}}};}},BiomeServer={'id':_0x4d75fe(0x3e6,0x344,0x228,0x1cb),'name':_0x4d75fe(0x18e,0x24f,0x220,0x344),'extensions':BIOME_EXTENSIONS,async 'root'(_0x29b99a){return findUp(_0x29b99a,BIOME_ROOT_MARKERS);},async 'spawn'(_0x52300f){const _0x48d929={_0x2e6b60:0x161,_0x5b8192:0x38a,_0x56295b:0x261,_0x767425:0x45f,_0x2dcb31:0x316,_0x4fc2d7:0x16,_0x1e736f:0x1f8,_0x4b6869:0x1a3,_0x33e94:0x3ab,_0x118c91:0x1e9,_0x141dae:0x3db,_0x184d9c:0x361},_0x1784b0={_0x45ddb3:0x11d,_0x1ffab0:0x8c,_0x21474a:0x172},_0x5192a8={_0x23996c:0xc7},_0x19a323=await findPackageBinary(_0x17a535(0x1cd,_0x48d929._0x2e6b60,0x347,_0x48d929._0x5b8192),_0x52300f)??await resolvePackageBinary({'packageName':_0x56f259(0x3ae,_0x48d929._0x56295b,_0x48d929._0x767425,_0x48d929._0x2dcb31),'binaryName':_0x17a535(-0xac,0x161,-_0x48d929._0x4fc2d7,0x1a2),'startDir':_0x52300f});function _0x17a535(_0x393850,_0xbed850,_0x234a40,_0x129279){return _0x4d75fe(_0x393850-0xbd,_0x234a40,_0xbed850- -_0x5192a8._0x23996c,_0x129279-0x43);}if(!_0x19a323)return void 0x0;function _0x56f259(_0x2aa6b6,_0x3f8a05,_0x2140f5,_0x3f749b){return _0x4d75fe(_0x2aa6b6-_0x1784b0._0x45ddb3,_0x3f749b,_0x2aa6b6- -_0x1784b0._0x1ffab0,_0x3f749b-_0x1784b0._0x21474a);}return{'process':_0x54b900(_0x19a323,[_0x17a535(_0x48d929._0x1e736f,_0x48d929._0x4b6869,_0x48d929._0x33e94,_0x48d929._0x118c91),'--stdio'],{'cwd':_0x52300f,'stdio':_0x17a535(0x1ea,0x396,_0x48d929._0x141dae,_0x48d929._0x184d9c)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0xec7729){const _0x5628fa={_0x32d173:0x3fd,_0x3441ad:0x2e4,_0x25393b:0x64a,_0x1006b1:0x629,_0x6356de:0x61f},_0x4afd3f={_0x170b68:0x1e},_0x83eb9c={_0x2d6c7e:0x1de};function _0xe3662e(_0x595856,_0x7bfe69,_0x3c372f,_0x1709d0){return _0x3145c3(_0x595856-_0x83eb9c._0x2d6c7e,_0x595856- -0x1e4,_0x3c372f-0x15c,_0x1709d0);}const _0xb18a19=_0x5363a8[_0xe3662e(0x3fa,_0x5628fa._0x32d173,0x563,_0x5628fa._0x3441ad)](_0xec7729)['toLowerCase']();function _0xf5161e(_0x29610c,_0x4028e6,_0x10d437,_0x3cab39){return _0x4d75fe(_0x29610c-_0x4afd3f._0x170b68,_0x4028e6,_0x10d437- -0xb3,_0x3cab39-0xfb);}return BUILTIN_LSP_SERVERS[_0xf5161e(_0x5628fa._0x25393b,_0x5628fa._0x1006b1,0x535,_0x5628fa._0x6356de)](_0x406c06=>_0x406c06[_0xe3662e(0x54a,0x6ad,0x5e9,0x4ed)][_0xe3662e(0x4ac,0x6d5,0x499,0x29d)](_0xb18a19));}function stateKey(_0x3d586a,_0x175cc2){return _0x175cc2+':'+_0x3d586a['id'];}function diagnosticsKeyToPath(_0x4ba6f7){const _0x2844ec={_0x4f4fff:0x790,_0x5b3383:0x693},_0x3fba74={_0x48896b:0x149,_0x19e85a:0x166};if(!_0x4ba6f7['startsWith'](_0x2c7025(0x587,_0x2844ec._0x4f4fff,0x967,_0x2844ec._0x5b3383)))return _0x4ba6f7;function _0x2c7025(_0x3775ad,_0x1d9ad2,_0x529cca,_0x2f93b0){return _0x3145c3(_0x3775ad-_0x3fba74._0x48896b,_0x1d9ad2- -_0x3fba74._0x19e85a,_0x529cca-0x21,_0x529cca);}return fileURLToPath(_0x4ba6f7);}function nextFileVersion(_0xc480c5,_0x360c37){const _0x40f68a={_0xbb30d0:0x59a,_0x1b9db7:0x613,_0x4292f2:0x91b,_0x16ee50:0x85f,_0x3f4068:0x8bd,_0x193e12:0x92f,_0x3ffca1:0x92d},_0x1e83d2={_0xedfe2a:0x1bf},_0x22ac83=(_0xc480c5[_0x1b1a86(0x6ed,0x70b,_0x40f68a._0xbb30d0,_0x40f68a._0x1b9db7)][_0x28ecf0(_0x40f68a._0x4292f2,_0x40f68a._0x16ee50,0x8a4,_0x40f68a._0x3f4068)](_0x360c37)??0x1)+0x1;_0xc480c5[_0x1b1a86(_0x40f68a._0x193e12,0x70b,0x82e,0x5bb)][_0x1b1a86(0x999,0x940,0x879,_0x40f68a._0x3ffca1)](_0x360c37,_0x22ac83);function _0x28ecf0(_0x286e1e,_0xd5c4e,_0x6ded8f,_0x1e87d6){return _0x3145c3(_0x286e1e-_0x1e83d2._0xedfe2a,_0x286e1e-0x7f,_0x6ded8f-0x121,_0xd5c4e);}function _0x1b1a86(_0xb06a94,_0x514325,_0x58429a,_0x5537b3){return _0x4d75fe(_0xb06a94-0xc6,_0x5537b3,_0x514325-0x362,_0x5537b3-0x1a3);}return _0x22ac83;}async function collectClientResults(_0x539982){const _0x4a32a7={_0x384079:0x233,_0x45e366:0x18a,_0x20a9cd:0x7b},_0x23e647={_0x1ee44e:0x10f,_0x2582f9:0x357},_0x302168=await Promise[_0x234219(_0x4a32a7._0x384079,_0x4a32a7._0x45e366,_0x4a32a7._0x20a9cd,-0x61)](_0x539982);function _0x5f47b6(_0x1e9a0a,_0xd02a9e,_0x4df350,_0x2f692a){return _0x4d75fe(_0x1e9a0a-_0x23e647._0x1ee44e,_0x1e9a0a,_0x4df350- -_0x23e647._0x2582f9,_0x2f692a-0xec);}function _0x234219(_0x1fe4f8,_0x2c64fb,_0x3fb4ca,_0x1331d0){return _0x4d75fe(_0x1fe4f8-0x11c,_0x1331d0,_0x3fb4ca- -0x322,_0x1331d0-0xa2);}return _0x302168['flatMap'](_0x13965b=>_0x13965b[_0x234219(0x1ed,0x2ac,0x132,0x2b0)]==='fulfilled'?_0x13965b[_0x234219(0x2f9,0x99,0x1fc,0x97)]:[]);}function createLspService(_0x3818e5={}){const _0x31f635={_0x4e484e:0x48b,_0x5b9bb1:0x600,_0x303b19:0x567,_0x4030ba:0x755},_0x54046b={_0x3c9f9b:0x122},_0x39cd86={_0x3c7fa2:0x84,_0x195cd4:0x44f,_0xdf494b:0x1a0,_0x4a8e90:0x41f,_0x3b47ad:0x4ab,_0x1d94eb:0x19f,_0xd352ae:0x475,_0x31730e:0x136,_0x28d863:0x290,_0x42c355:0x124,_0xc20405:0x1f6,_0x5aa709:0x83,_0x224959:0x2a9,_0x4c0cc6:0x9a},_0x1575e1={_0x18969a:0x72,_0x354c3e:0xea,_0x1f8f98:0xd9},_0x5e639a={_0x195f5c:0x33},_0x515637={_0x221c0c:0xf4,_0x142168:0x313},_0x3609cc={_0x3881a6:0x606,_0x2411bf:0x69a,_0x48a807:0x873},_0x2c29b2={_0x2657ff:0x3a8},_0x4b0e42={_0x43e3c9:0x4da,_0x3292cc:0x2cb},_0x2f568b={_0x3b49f3:0x493,_0x436430:0x660},_0x5b762c={_0x4b9446:0x19f,_0x43cceb:0x5d,_0x454651:0xb3},_0x56551e={_0x4c9f89:0x387,_0x15dd25:0x172,_0x162c9b:0x254},_0x198110={_0x2bfbc1:0x1ab,_0x5834ac:0x5e,_0x3f6364:0x403},_0x41ecc1={_0x293c3d:0x4f5,_0x483038:0x6df},_0x853f2f={_0x21f744:0x41,_0x1ca2fb:0xbc},_0x522a0c={_0x588a39:0x7aa,_0x4a65a2:0x62c},_0x48730e={_0x5165d6:0x102,_0x2aff65:0x640},_0x588ef9={_0x514c86:0x1a,_0x4afc81:0x13,_0x26e36d:0x139,_0x13959a:0x148,_0x551a4f:0x17c,_0x59fab5:0x20f},_0x49cfd5={_0x16a713:0xac,_0x3c02f9:0x1d},_0x23b694={_0x314879:0x461},_0xcfcc9e={_0x33c28d:0x726,_0x46c315:0xa24,_0x4416d4:0xa78},_0x203c0b={_0x3bfe25:0x209,_0x5e4b1c:0x649,_0x29d729:0x82e},_0x1e4be2={_0x25cb87:0x2cf},_0x4328c0={_0x23fa78:0x478,_0x1383fe:0x79a,_0x3b86b5:0x5d1,_0x1d193e:0x653,_0x3afd61:0x57e,_0x2b212d:0x267,_0x5e1dc8:0x34a,_0x4ad663:0x537,_0x49355f:0x476,_0x14662b:0x45f,_0x5c6f65:0x50d,_0x519872:0x5e5,_0x4501d7:0x5b6,_0x2aeb44:0x369,_0x210e6e:0x6fb,_0x5a60c0:0x65d,_0x13fb15:0x695,_0x114a9e:0x654,_0x343096:0x5ec,_0x3fa114:0x497,_0x2a565e:0x76c},_0x5c5ca0={_0x21ad82:0xdb,_0x47c776:0xbc},_0x1b35d9={_0x411502:0x1f3,_0x1c4dfd:0xae},_0x430dc3={_0x16d03e:0x1d8,_0x231908:0x2f9,_0x5d7886:0x109,_0x9ee955:0x1fe,_0x36a4db:0x181,_0x1f4bf2:0x273,_0x14da2e:0x1dc,_0x3588be:0x39a,_0x1ee6eb:0x280,_0xe570b:0x126,_0x31f9e2:0x126},_0x416a71={_0x5df365:0x310,_0x431a81:0x73b,_0xe3e920:0x4bb,_0x3b5d2f:0x45c,_0x3f862b:0x60d,_0x453087:0x208,_0x355dd8:0x60e,_0x584b62:0x49e,_0x20e94d:0xec,_0x3b688f:0x4e2,_0x394dd4:0x2f5,_0x4dc398:0x131,_0x233de3:0xff,_0x2ada76:0x5a6,_0x28ba9e:0x67e,_0x58354d:0x4ce,_0x295a33:0x4c3,_0x2f34be:0x822,_0x288b0e:0x772,_0x47a5f8:0x3e5,_0x2c3db3:0x2ad,_0x363df8:0x377},_0x1a4efc={_0x3e36bc:0x14b},_0x46327f={_0x5ad174:0xeb,_0x48c8d2:0xf2},_0x504d3a={_0x126e1b:0x161};function _0x2b856b(_0x35a601,_0x1db9c,_0xb1bd02,_0x271049){return _0x4d75fe(_0x35a601-_0x504d3a._0x126e1b,_0x1db9c,_0x271049- -0x23c,_0x271049-0xe4);}const _0x1416b5={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x12e9ad=()=>_0x3818e5[_0x2b856b(0x3bc,0x1c8,0x2eb,0x300)]!==![];async function _0x421a3a(_0x41602a,_0x5d3425){const _0x2174f7={_0x4f6c55:0x3d9,_0x44de28:0x87};function _0xa557a3(_0x22002f,_0x4d5838,_0x27ebb4,_0x8fe377){return _0x2b856b(_0x22002f-_0x46327f._0x5ad174,_0x8fe377,_0x27ebb4-0xc8,_0x22002f-_0x46327f._0x48c8d2);}const _0x12b81a=stateKey(_0x41602a,_0x5d3425),_0x294dc8=_0x1416b5['clients'][_0x3b5028(_0x430dc3._0x16d03e,_0x430dc3._0x231908,0x28f,_0x430dc3._0x5d7886)](_0x349be4=>_0x349be4[_0xa557a3(0xeb,0x28f,-0x30,0xed)]===_0x41602a['id']&&_0x349be4[_0xa557a3(0x6b,-0x9b,-0x32,0x28)]===_0x5d3425);if(_0x294dc8)return _0x294dc8;if(_0x1416b5[_0x3b5028(0xdf,0x1bd,_0x430dc3._0x9ee955,_0x430dc3._0x36a4db)]['has'](_0x12b81a))return void 0x0;const _0x2e7d7b=_0x1416b5[_0xa557a3(0x90,0x152,_0x430dc3._0x1f4bf2,_0x430dc3._0x14da2e)][_0x3b5028(0x521,0x492,0x2da,_0x430dc3._0x3588be)](_0x12b81a);if(_0x2e7d7b)return _0x2e7d7b;function _0x3b5028(_0x5b9316,_0x59ca2e,_0x38081b,_0x2d0b77){return _0x2b856b(_0x5b9316-_0x1a4efc._0x3e36bc,_0x38081b,_0x38081b-0x30,_0x2d0b77-0x3f);}const _0x381759=((async()=>{const _0x5f83cb={_0x2dea3d:0x139,_0x35734c:0x1b9};function _0x766e86(_0xe7145a,_0x10691f,_0x2b6af2,_0x46ac7b){return _0xa557a3(_0x46ac7b-_0x5f83cb._0x2dea3d,_0x10691f-_0x5f83cb._0x35734c,_0x2b6af2-0xe0,_0xe7145a);}function _0x42cb00(_0x5ec29d,_0x1b560e,_0x12b048,_0x2a5fb3){return _0xa557a3(_0x2a5fb3-_0x2174f7._0x4f6c55,_0x1b560e-0xdd,_0x12b048-_0x2174f7._0x44de28,_0x1b560e);}try{const _0x5e8819=await _0x41602a[_0x766e86(0x16e,0x4ac,0x21f,_0x416a71._0x5df365)](_0x5d3425);if(!_0x5e8819)return _0x1416b5[_0x42cb00(_0x416a71._0x431a81,_0x416a71._0xe3e920,_0x416a71._0x3b5d2f,_0x416a71._0x3f862b)][_0x766e86(0xa9,_0x416a71._0x453087,0x19c,0x29a)](_0x12b81a),void 0x0;const _0xe3659b=await createLspClient({'server':_0x41602a,'root':_0x5d3425,'handle':_0x5e8819}),_0x582c7e=_0x1416b5[_0x42cb00(0x509,_0x416a71._0x355dd8,_0x416a71._0x584b62,0x4ce)][_0x766e86(0x49e,_0x416a71._0x20e94d,_0x416a71._0x3b688f,_0x416a71._0x394dd4)](_0x31f65a=>_0x31f65a[_0x42cb00(0x5ce,0x373,0x411,0x4c4)]===_0x41602a['id']&&_0x31f65a['root']===_0x5d3425);if(_0x582c7e)return await _0xe3659b[_0x766e86(_0x416a71._0x4dc398,_0x416a71._0x233de3,0x291,0x2fd)](),_0x582c7e;return _0x1416b5[_0x42cb00(0x62a,_0x416a71._0x2ada76,_0x416a71._0x28ba9e,_0x416a71._0x58354d)][_0x42cb00(_0x416a71._0x295a33,0x5c2,_0x416a71._0x2f34be,0x635)](_0xe3659b),_0xe3659b;}catch{return _0x1416b5[_0x42cb00(0x635,_0x416a71._0x288b0e,_0x416a71._0x47a5f8,_0x416a71._0x3f862b)]['add'](_0x12b81a),void 0x0;}finally{_0x1416b5[_0x42cb00(_0x416a71._0x2c3db3,0x681,_0x416a71._0x363df8,0x469)]['delete'](_0x12b81a);}})());return _0x1416b5[_0xa557a3(0x90,_0x430dc3._0x1ee6eb,-_0x430dc3._0xe570b,_0x430dc3._0x31f9e2)]['set'](_0x12b81a,_0x381759),_0x381759;}async function _0x5d57a0(_0x3759a7,_0x49d66){const _0x158b9f={_0xa48f36:0x104};if(!_0x12e9ad())return[];const _0x440870=[];function _0x557880(_0x2bd49d,_0x594503,_0x53b02f,_0x5d7d28){return _0x2b856b(_0x2bd49d-0x12c,_0x2bd49d,_0x53b02f-_0x1b35d9._0x411502,_0x53b02f-_0x1b35d9._0x1c4dfd);}for(const _0x17d448 of getServersForFile(_0x3759a7)){const _0x19165e=await _0x17d448['root'](_0x3759a7);if(!_0x19165e)continue;const _0x204a98=stateKey(_0x17d448,_0x19165e);if(_0x1416b5[_0x4b192b(0x26a,0x175,_0x5c5ca0._0x21ad82,0xbd)]['has'](_0x204a98))continue;const _0x40db08=_0x1416b5['clients'][_0x4b192b(0x1f2,0x257,0x361,_0x5c5ca0._0x47c776)](_0x1d9d1b=>_0x1d9d1b[_0x4b192b(0x121,0x1c3,0x222,0x177)]===_0x17d448['id']&&_0x1d9d1b[_0x557880(0x96,-0x1d1,0x27,-0xab)]===_0x19165e);if(_0x40db08){_0x440870[_0x4b192b(0x292,0x43d,0x310,0x227)](_0x40db08);continue;}if(!_0x49d66)continue;const _0x3dab1d=await _0x421a3a(_0x17d448,_0x19165e);if(_0x3dab1d)_0x440870['push'](_0x3dab1d);}function _0x4b192b(_0x24f61c,_0x32214a,_0x2e67cd,_0x137717){return _0x2b856b(_0x24f61c-0x1d2,_0x2e67cd,_0x2e67cd-_0x158b9f._0xa48f36,_0x24f61c-0x128);}return _0x440870;}async function _0x15190d(_0x13ab54,_0x5412b6=![]){const _0x2482fe={_0x4297d7:0x3f4},_0x344797={_0x33b07c:0xd1,_0x51e331:0x23};function _0x4ed571(_0x26c99b,_0x2002ed,_0x4f4695,_0x1433af){return _0x2b856b(_0x26c99b-_0x344797._0x33b07c,_0x2002ed,_0x4f4695-0x18f,_0x26c99b- -_0x344797._0x51e331);}const _0x2eb251=await _0x5d57a0(_0x13ab54,!![]);await Promise['all'](_0x2eb251[_0x4ed571(_0x1e4be2._0x25cb87,0x435,0x2e4,0x44c)](async _0xc340e6=>{const _0x508103={_0x101d5f:0x10c,_0x381127:0x19};function _0x870a61(_0x3910d8,_0x34bc38,_0x39349c,_0x214201){return _0x4ed571(_0x34bc38-_0x2482fe._0x4297d7,_0x3910d8,_0x39349c-0x3e,_0x214201-0x47);}!_0x1416b5[_0x870a61(_0x4328c0._0x23fa78,0x369,0x50f,0x1ad)][_0x870a61(_0x4328c0._0x1383fe,0x590,_0x4328c0._0x3b86b5,_0x4328c0._0x1d193e)](_0xc340e6[_0x485b46(_0x4328c0._0x3afd61,0x75f,0x660,0x5ae)]+':'+_0xc340e6[_0x870a61(_0x4328c0._0x2b212d,_0x4328c0._0x5e1dc8,0x1a9,0x24f)]+':'+_0x13ab54)&&(await _0xc340e6[_0x870a61(0x6c5,_0x4328c0._0x4ad663,0x3ea,_0x4328c0._0x49355f)][_0x870a61(_0x4328c0._0x14662b,_0x4328c0._0x5c6f65,_0x4328c0._0x519872,_0x4328c0._0x4501d7)]({'path':_0x13ab54}),_0x1416b5[_0x870a61(0x411,_0x4328c0._0x2aeb44,0x4dc,0x50f)]['add'](_0xc340e6['serverId']+':'+_0xc340e6['root']+':'+_0x13ab54));function _0x485b46(_0x1ab6ba,_0x4123b3,_0x3e41ac,_0x1fb36e){return _0x4ed571(_0x1ab6ba-0x5a8,_0x3e41ac,_0x3e41ac-_0x508103._0x101d5f,_0x1fb36e-_0x508103._0x381127);}await _0xc340e6['notify'][_0x485b46(_0x4328c0._0x210e6e,0x8e0,_0x4328c0._0x5a60c0,_0x4328c0._0x13fb15)]({'path':_0x13ab54,'version':nextFileVersion(_0x1416b5,_0x13ab54)});if(_0x5412b6)await _0xc340e6[_0x870a61(_0x4328c0._0x114a9e,_0x4328c0._0x343096,_0x4328c0._0x3fa114,_0x4328c0._0x2a565e)]({'path':_0x13ab54});}));}async function _0x424f6e(_0x5bc792){const _0x3521f1={_0xd9541a:0x72};function _0x3b9203(_0x5223fd,_0x362d0c,_0x335c13,_0x58b3b4){return _0x2b856b(_0x5223fd-0x13c,_0x362d0c,_0x335c13-0x17f,_0x58b3b4-_0x3521f1._0xd9541a);}await _0x15190d(_0x5bc792[_0x3b9203(_0x203c0b._0x3bfe25,0x2fa,0x418,0x381)],![]);function _0x23dd23(_0x5b88b4,_0x54c148,_0x41cb7c,_0x3997dc){return _0x2b856b(_0x5b88b4-0xd7,_0x5b88b4,_0x41cb7c-0xa9,_0x54c148-0x33a);}return _0x5d57a0(_0x5bc792[_0x23dd23(0x4f6,_0x203c0b._0x5e4b1c,0x781,_0x203c0b._0x29d729)],![]);}async function _0x566d4a(_0x426c37){const _0x59648e={_0x239a54:0x149,_0x15a200:0x15a};function _0x55c62a(_0x6bfc32,_0x3ec73d,_0x535814,_0x55f1dc){return _0x2b856b(_0x6bfc32-0x156,_0x535814,_0x535814-0x195,_0x6bfc32-0x1f7);}function _0xa7e144(_0x18d80b,_0xa011ef,_0xe1a576,_0x1e2b67){return _0x2b856b(_0x18d80b-_0x59648e._0x239a54,_0xa011ef,_0xe1a576-_0x59648e._0x15a200,_0x1e2b67-0x627);}const _0x17f8c1=await _0x424f6e(_0x426c37);return collectClientResults(_0x17f8c1[_0xa7e144(_0xcfcc9e._0x33c28d,_0xcfcc9e._0x46c315,_0xcfcc9e._0x4416d4,0x919)](_0x982f7f=>_0x982f7f[_0xa7e144(0x8a7,0x69a,0x648,0x78a)][_0x55c62a(0x520,0x48f,0x4bc,0x434)](_0x426c37)));}return{'isEnabled':_0x12e9ad,async 'hasClients'(_0x11dce3){const _0x5052af={_0x43f5d3:0x132,_0x128222:0x1a9,_0x1366a8:0x3d6},_0x2bbaed={_0x2339b2:0xfe,_0x2c922f:0x5df};function _0x1a706b(_0x42dca0,_0x53aab2,_0x33d939,_0x46eb4f){return _0x2b856b(_0x42dca0-_0x2bbaed._0x2339b2,_0x33d939,_0x33d939-0x133,_0x46eb4f-_0x2bbaed._0x2c922f);}function _0x10bebc(_0x3f0e41,_0x398711,_0x50e712,_0xec5ba3){return _0x2b856b(_0x3f0e41-_0x5052af._0x43f5d3,_0x398711,_0x50e712-_0x5052af._0x128222,_0x50e712-_0x5052af._0x1366a8);}return(await _0x5d57a0(_0x11dce3,![]))[_0x1a706b(0x81b,0x884,0x8aa,0x6be)]>0x0||getServersForFile(_0x11dce3)[_0x10bebc(0x542,0x66e,0x4b5,_0x23b694._0x314879)]>0x0;},'touchFile':_0x15190d,async 'diagnostics'(){const _0xf0a7b2={_0x46be0a:0x14d,_0x5264d8:0xf5};function _0x43db2f(_0x59f08e,_0x152094,_0x646488,_0x4050ea){return _0x2b856b(_0x59f08e-_0x49cfd5._0x16a713,_0x646488,_0x646488-0x74,_0x152094- -_0x49cfd5._0x3c02f9);}const _0x1bb37b={};for(const _0x491ad5 of _0x1416b5[_0x43db2f(0x1c1,-_0x588ef9._0x514c86,_0x588ef9._0x4afc81,-_0x588ef9._0x26e36d)]){for(const [_0x32a8e0,_0x3690cb]of _0x491ad5[_0x43db2f(0xae,_0x588ef9._0x13959a,_0x588ef9._0x551a4f,_0x588ef9._0x59fab5)]){_0x1bb37b[diagnosticsKeyToPath(_0x32a8e0)]=_0x3690cb;}}function _0xd697ee(_0xaf47c1,_0x550a9d,_0x56760e,_0x5e303a){return _0x2b856b(_0xaf47c1-_0xf0a7b2._0x46be0a,_0xaf47c1,_0x56760e-0x19,_0x56760e-_0xf0a7b2._0x5264d8);}return _0x1bb37b;},async 'diagnosticsForFile'(_0x2a5e9f){function _0x4c795f(_0x13feb6,_0x190afd,_0x5c8d9d,_0x5db42a){return _0x2b856b(_0x13feb6-0x11a,_0x5db42a,_0x5c8d9d-_0x48730e._0x5165d6,_0x13feb6-_0x48730e._0x2aff65);}await _0x15190d(_0x2a5e9f,!![]);const _0x4d4374=[];for(const _0x69432d of await _0x5d57a0(_0x2a5e9f,![])){for(const [_0x149a3d,_0x117b09]of _0x69432d['diagnostics']){if(diagnosticsKeyToPath(_0x149a3d)===_0x2a5e9f)_0x4d4374[_0x4c795f(_0x522a0c._0x588a39,0x963,_0x522a0c._0x4a65a2,0x8b4)](..._0x117b09);}}return _0x4d4374;},async 'definition'(_0x27ad2b){const _0x536b5f={_0x59905c:0x20,_0x26368e:0x1e3,_0x47ce08:0xe2};function _0x9822a4(_0x19b1d2,_0x14becd,_0x5264f7,_0xdd275e){return _0x2b856b(_0x19b1d2-_0x536b5f._0x59905c,_0x19b1d2,_0x5264f7-_0x536b5f._0x26368e,_0xdd275e- -_0x536b5f._0x47ce08);}return collectClientResults((await _0x424f6e(_0x27ad2b))['map'](_0x316673=>_0x316673['request'][_0x9822a4(-0x13d,-0x211,-0xa6,0xc)](_0x27ad2b)));},async 'references'(_0x3efdc6){const _0xec3e67={_0xe9233f:0x5d,_0x47d8f7:0x43a};function _0x538547(_0x517a8c,_0x12baa3,_0x527c52,_0x50d0e3){return _0x2b856b(_0x517a8c-_0x853f2f._0x21f744,_0x517a8c,_0x527c52-_0x853f2f._0x1ca2fb,_0x527c52-0x3cb);}function _0x41881b(_0x19c17f,_0x292ee3,_0x51ae2a,_0x2fd7b3){return _0x2b856b(_0x19c17f-0x1b8,_0x51ae2a,_0x51ae2a-_0xec3e67._0xe9233f,_0x292ee3-_0xec3e67._0x47d8f7);}return collectClientResults((await _0x424f6e(_0x3efdc6))[_0x538547(_0x41ecc1._0x293c3d,_0x41ecc1._0x483038,0x6bd,0x5b9)](_0x2e0075=>_0x2e0075[_0x41881b(0x3d0,0x59d,0x77e,0x5eb)][_0x41881b(0x6c8,0x5a1,0x5cc,0x37e)](_0x3efdc6)));},async 'hover'(_0x2a72d8){const _0x3994e5={_0x566802:0x106};function _0xe8c64(_0x5b1481,_0x262bfc,_0x4c2802,_0x452ff8){return _0x2b856b(_0x5b1481-_0x198110._0x2bfbc1,_0x262bfc,_0x4c2802-_0x198110._0x5834ac,_0x5b1481-_0x198110._0x3f6364);}function _0x13a0eb(_0x1a2c3a,_0x2863f7,_0x57bb17,_0x2bb423){return _0x2b856b(_0x1a2c3a-0x90,_0x1a2c3a,_0x57bb17-0x13a,_0x2863f7-_0x3994e5._0x566802);}const _0x57e744=await Promise['allSettled']((await _0x424f6e(_0x2a72d8))['map'](_0x1e33f6=>_0x1e33f6[_0x13a0eb(0x1eb,0x269,0x491,0x447)][_0xe8c64(0x5f7,0x675,0x7e0,0x58d)](_0x2a72d8)));return _0x57e744[_0xe8c64(_0x56551e._0x4c9f89,0x437,_0x56551e._0x15dd25,_0x56551e._0x162c9b)](_0x24299a=>_0x24299a[_0xe8c64(0x61b,0x6ad,0x484,0x47b)]===_0x13a0eb(0x32d,0x17c,0x1aa,0xa6)&&_0x24299a[_0xe8c64(0x6e5,0x809,0x596,0x548)]?[_0x24299a[_0x13a0eb(0x374,0x3e8,0x530,0x435)]]:[]);},async 'documentSymbol'(_0x881181){const _0x4249c7={_0x5debc0:0x6f,_0x59b497:0x395};await _0x15190d(_0x881181,![]);function _0x41875d(_0x5602bb,_0x14e4f1,_0x37f070,_0x255a54){return _0x2b856b(_0x5602bb-_0x5b762c._0x4b9446,_0x37f070,_0x37f070-_0x5b762c._0x43cceb,_0x14e4f1-_0x5b762c._0x454651);}function _0x480f3f(_0x1c7690,_0x55bab3,_0x2a890c,_0x1087f0){return _0x2b856b(_0x1c7690-0x105,_0x55bab3,_0x2a890c-_0x4249c7._0x5debc0,_0x1087f0-_0x4249c7._0x59b497);}return collectClientResults((await _0x5d57a0(_0x881181,![]))[_0x480f3f(_0x2f568b._0x3b49f3,0x664,_0x2f568b._0x436430,0x687)](_0x1166df=>_0x1166df['request'][_0x41875d(-0x2a,0x63,-0xa4,0xfc)](_0x881181)));},async 'workspaceSymbol'(_0x97c176){function _0x27b901(_0x74073f,_0x3326c5,_0x14b7dc,_0x158e68){return _0x2b856b(_0x74073f-0x173,_0x74073f,_0x14b7dc-0x1de,_0x3326c5-0x1e8);}return collectClientResults(_0x1416b5['clients'][_0x27b901(0x348,_0x4b0e42._0x43e3c9,_0x4b0e42._0x3292cc,0x4ea)](_0x5716b2=>_0x5716b2['request']['workspaceSymbol'](_0x97c176)));},async 'implementation'(_0x5e2a51){const _0x55390a={_0x1f7990:0x26};function _0x1e438e(_0x9de11d,_0x3a75c6,_0x17f007,_0x49f2d9){return _0x2b856b(_0x9de11d-_0x55390a._0x1f7990,_0x3a75c6,_0x17f007-0x61,_0x17f007-0x49f);}function _0x43c9ea(_0x5e53bd,_0x40a565,_0x38081a,_0x4607d8){return _0x2b856b(_0x5e53bd-0x87,_0x38081a,_0x38081a-0x77,_0x40a565-_0x2c29b2._0x2657ff);}return collectClientResults((await _0x424f6e(_0x5e2a51))[_0x43c9ea(_0x3609cc._0x3881a6,_0x3609cc._0x2411bf,0x874,_0x3609cc._0x48a807)](_0x7e63a6=>_0x7e63a6[_0x43c9ea(0x657,0x50b,0x5c8,0x5ce)][_0x43c9ea(0x41b,0x485,0x391,0x415)](_0x5e2a51)));},async 'prepareCallHierarchy'(_0x262e2a){return _0x566d4a(_0x262e2a);},async 'incomingCalls'(_0x2f8fba){const _0xd1b045={_0x175a60:0x42,_0x433e72:0xd1,_0x243d57:0x78},_0x5ba054={_0x4efbbb:0x2b},_0x2a385f=await _0x566d4a(_0x2f8fba);function _0x451d12(_0x2fe18d,_0x318a02,_0x5c0b8d,_0x212f43){return _0x2b856b(_0x2fe18d-0x52,_0x318a02,_0x5c0b8d-_0x5ba054._0x4efbbb,_0x2fe18d-0x457);}function _0x58fa55(_0x32b633,_0x5637d8,_0x49e7fb,_0xfe02db){return _0x2b856b(_0x32b633-_0xd1b045._0x175a60,_0x32b633,_0x49e7fb-_0xd1b045._0x433e72,_0x5637d8- -_0xd1b045._0x243d57);}const _0x351d0f=await _0x424f6e(_0x2f8fba);return collectClientResults(_0x351d0f[_0x58fa55(-0x30,-_0x515637._0x221c0c,-0x2ff,-_0x515637._0x142168)](_0x1acf9e=>_0x2a385f[_0x58fa55(0x352,0x27a,0x37b,0x481)](_0x35465b=>_0x1acf9e[_0x58fa55(-0x84,0xeb,0x9f,0x193)][_0x451d12(0x7b8,0x916,0x86f,0x98c)](_0x35465b))));},async 'outgoingCalls'(_0x4ce43b){const _0x509747={_0x11699d:0x4b},_0x396b91=await _0x566d4a(_0x4ce43b),_0x26d001=await _0x424f6e(_0x4ce43b);function _0x491b91(_0x4c87c9,_0x52bca5,_0x24c472,_0x200882){return _0x2b856b(_0x4c87c9-0x19,_0x4c87c9,_0x24c472-_0x509747._0x11699d,_0x52bca5- -0x96);}function _0x59812a(_0x46d13e,_0x2757cf,_0x56cd55,_0xc0af12){return _0x2b856b(_0x46d13e-0x18d,_0x2757cf,_0x56cd55-_0x5e639a._0x195f5c,_0x56cd55-0x137);}return collectClientResults(_0x26d001[_0x491b91(-_0x1575e1._0x18969a,-0x112,-_0x1575e1._0x354c3e,_0x1575e1._0x1f8f98)](_0x583c95=>_0x396b91['map'](_0x2d1ce5=>_0x583c95[_0x59812a(0x73,0x299,0x29a,0x258)][_0x59812a(0x381,0x230,0x29f,0xe4)](_0x2d1ce5))));},async 'shutdown'(){const _0x3c40ec={_0x5702eb:0xdc,_0x1c65c5:0x9b},_0x1615e2={_0x4c0b40:0xad};function _0x5db756(_0x31abc1,_0x4ef518,_0x23bf55,_0x33b4ef){return _0x2b856b(_0x31abc1-_0x1615e2._0x4c0b40,_0x23bf55,_0x23bf55-0x1b3,_0x33b4ef-0x102);}function _0xee77ed(_0x37c62c,_0x147ec0,_0x2ee5e1,_0x152bff){return _0x2b856b(_0x37c62c-_0x3c40ec._0x5702eb,_0x37c62c,_0x2ee5e1-_0x3c40ec._0x1c65c5,_0x2ee5e1-0x19c);}if(_0x1416b5['shutdownStarted'])return;_0x1416b5[_0x5db756(-_0x39cd86._0x3c7fa2,0x1a1,0x25c,0x96)]=!![],await Promise[_0xee77ed(_0x39cd86._0x195cd4,0x131,0x2fd,0x1c4)](_0x1416b5[_0x5db756(_0x39cd86._0xdf494b,0x51,0x2e4,0x105)][_0x5db756(_0x39cd86._0x4a8e90,_0x39cd86._0x3b47ad,0x5f1,0x3f4)](_0x1a8d3c=>_0x1a8d3c[_0xee77ed(0x27f,0x40e,0x26e,0x99)]())),_0x1416b5[_0xee77ed(0x252,0x2b3,_0x39cd86._0x1d94eb,0x209)]=[],_0x1416b5['spawning'][_0xee77ed(_0x39cd86._0xd352ae,_0x39cd86._0x31730e,_0x39cd86._0x28d863,0x325)](),_0x1416b5['broken'][_0x5db756(0x171,0x30f,_0x39cd86._0x42c355,_0x39cd86._0xc20405)](),_0x1416b5['fileVersions']['clear'](),_0x1416b5[_0x5db756(0x218,-_0x39cd86._0x5aa709,_0x39cd86._0x224959,_0x39cd86._0x4c0cc6)]['clear']();},'status'(){const _0x3611e9={_0x3e6713:0x1e3,_0x784e5f:0x12c,_0x340b9d:0x488};function _0x13c5eb(_0x4cec73,_0x99b093,_0x5d77cb,_0x5ecac9){return _0x2b856b(_0x4cec73-_0x54046b._0x3c9f9b,_0x5d77cb,_0x5d77cb-0xaf,_0x5ecac9-0x4bd);}function _0x24ed1f(_0x1ad34c,_0xe4977e,_0x476b79,_0x640e51){return _0x2b856b(_0x1ad34c-_0x3611e9._0x3e6713,_0x476b79,_0x476b79-_0x3611e9._0x784e5f,_0xe4977e-_0x3611e9._0x340b9d);}return{'connectedClients':_0x1416b5[_0x24ed1f(0x37e,_0x31f635._0x4e484e,0x2a3,0x40d)][_0x24ed1f(_0x31f635._0x5b9bb1,_0x31f635._0x303b19,0x4a8,_0x31f635._0x4030ba)]};}};}function getCommand(_0x2ff019){const _0xcbc9e2={_0xc47987:0x34a,_0x7a941a:0x131,_0x53ce72:0x6f,_0xd462d1:0x31f,_0x1df548:0x1ec,_0x29ad73:0x1dc,_0x31beec:0x15c,_0x1aa1a0:0x2f7,_0x495663:0x372,_0x5acbf2:0x193,_0xaffa00:0x298,_0x2dd38c:0xf8},_0x5c5b09={_0x16424f:0xb3,_0x204bc2:0x2d4},_0x321537={_0x45b0d9:0xd0};if(_0x2ff019&&typeof _0x2ff019===_0x1e33dc(0x3a8,-0x1,_0xcbc9e2._0xc47987,0x18d)&&!Array[_0x3aa2bd(_0xcbc9e2._0x7a941a,_0xcbc9e2._0x53ce72,_0xcbc9e2._0xd462d1,_0xcbc9e2._0x1df548)](_0x2ff019)&&typeof _0x2ff019[_0x3aa2bd(0x1de,0x321,0xc1,0x261)]===_0x3aa2bd(_0xcbc9e2._0x29ad73,_0xcbc9e2._0x31beec,0x174,_0xcbc9e2._0x1aa1a0))return _0x2ff019[_0x1e33dc(_0xcbc9e2._0x495663,_0xcbc9e2._0x5acbf2,0x281,0x253)];function _0x1e33dc(_0x4ee840,_0x1813f3,_0x1c3ab1,_0x2f4423){return _0x4d75fe(_0x4ee840-0xc7,_0x1813f3,_0x2f4423- -0x25f,_0x2f4423-_0x321537._0x45b0d9);}function _0x3aa2bd(_0x20e53c,_0x1502fe,_0x1e7d86,_0xe5c417){return _0x4d75fe(_0x20e53c-_0x5c5b09._0x16424f,_0x1502fe,_0x20e53c- -_0x5c5b09._0x204bc2,_0xe5c417-0xce);}return _0x3aa2bd(0x99,_0xcbc9e2._0xaffa00,_0xcbc9e2._0x2dd38c,0x8d);}var MOCK_WORKSPACE_LISTING=[_0x3145c3(0x652,0x699,0x71e,0x481),_0x4d75fe(0x288,0x3a1,0x446,0x580),_0x3145c3(0x650,0x7a1,0x8c6,0x5d3),_0x4d75fe(0x115,0x452,0x2c7,0x4d5),_0x4d75fe(0x46a,0x235,0x307,0x323),_0x4d75fe(0x16a,0x217,0x272,0x456),_0x4d75fe(0x1d0,0x305,0x3bd,0x43f),_0x3145c3(0x864,0x81c,0x73d,0x848),_0x4d75fe(0x48d,0x6f8,0x5bd,0x4f7),_0x3145c3(0x78d,0x763,0x5ca,0x7a4),_0x4d75fe(0x3a0,0xf8,0x2a9,0x13d),_0x4d75fe(0x540,0x3f8,0x559,0x379),_0x3145c3(0xa75,0x8e5,0x975,0xab1),_0x3145c3(0x51b,0x664,0x51d,0x7f1),'src/models/anthropic-model.ts',_0x4d75fe(0x50e,0x37b,0x3d6,0x477),_0x4d75fe(0x634,0x588,0x45c,0x428)][_0x4d75fe(0x271,0x2df,0x2f5,0x4db)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x4d75fe(0x5eb,0x52e,0x3f0,0x24e),'description':_0x3145c3(0x35e,0x543,0x569,0x57b),'input_schema':{'type':_0x3145c3(0x732,0x6f1,0x5af,0x837),'properties':{'command':{'type':_0x3145c3(0x591,0x7b5,0x834,0x8c0)}},'required':[_0x4d75fe(0x295,0x63a,0x4b2,0x305)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x103c34){return{'output':_0x103c34,'structured':{'value':_0x103c34}};}function createUnknownToolResult(_0x17c2be){const _0x3caeba={_0x1245a6:0x114,_0x8075e2:0x899,_0xe92264:0x4ef,_0x428859:0x586,_0x46d571:0x7eb,_0x428871:0x81a};function _0x490c68(_0x4c027a,_0x4ab6d5,_0x309562,_0x20c20a){return _0x3145c3(_0x4c027a-0x12d,_0x4ab6d5- -0x48b,_0x309562-0xa7,_0x309562);}function _0x5af153(_0x5a7000,_0x41b6ff,_0x23951d,_0x116820){return _0x3145c3(_0x5a7000-0x2e,_0x116820- -0x71,_0x23951d-0x3e,_0x41b6ff);}return{'callId':_0x17c2be['id'],'toolName':_0x17c2be[_0x490c68(0x13b,0x190,_0x3caeba._0x1245a6,0x151)],'status':_0x5af153(_0x3caeba._0x8075e2,_0x3caeba._0xe92264,0x6cd,0x6df),'output':_0x5af153(_0x3caeba._0x428859,_0x3caeba._0x46d571,_0x3caeba._0x428871,0x78d)+_0x17c2be['name'],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x2eee6e,_0x315fe0){const _0x284c3a={_0x502945:0x3bb,_0x25a9d7:0x6dc,_0x5f2f26:0x47e,_0x3ebf6d:0x5ae,_0x4b5d2b:0x358},_0x1d975b={_0x38d8cf:0x1e2,_0x50b45f:0xae},_0x34eee7={_0x51e777:0x176,_0xcabf7a:0x1bb};function _0x3f5654(_0x1613dc,_0x2e0c0c,_0x5cdac7,_0x57541f){return _0x4d75fe(_0x1613dc-_0x34eee7._0x51e777,_0x2e0c0c,_0x5cdac7-_0x34eee7._0xcabf7a,_0x57541f-0x1d2);}function _0x510f78(_0x54c1f4,_0x6e74fc,_0x4d05fc,_0x5584e5){return _0x4d75fe(_0x54c1f4-0x10f,_0x6e74fc,_0x54c1f4-_0x1d975b._0x38d8cf,_0x5584e5-_0x1d975b._0x50b45f);}return{'callId':_0x2eee6e['id'],'toolName':_0x2eee6e[_0x3f5654(_0x284c3a._0x502945,0x6bf,0x4d1,_0x284c3a._0x25a9d7)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x2eee6e[_0x510f78(_0x284c3a._0x5f2f26,0x278,_0x284c3a._0x3ebf6d,_0x284c3a._0x4b5d2b)]),'exitCode':0x0},'chunks':[_0x315fe0],'meta':createMeta()};}function createMockToolRuntime(){const _0x205daf={_0x2e3667:0x5c1,_0x105a1c:0x58b,_0x158ff3:0x56b,_0x50461f:0x62d},_0x22cd05=async(_0x3e2c73,_0x2e7bcb)=>{const _0x8ac93c={_0x358ec1:0x2c8};function _0x2f5f9a(_0x1fe06b,_0x5a265d,_0x47f451,_0x1accbf){return _0x2a9a(_0x1accbf-_0x8ac93c._0x358ec1,_0x1fe06b);}function _0x442f75(_0x267c68,_0x949b28,_0x3a1f8b,_0x56c2e4){return _0x2a9a(_0x949b28- -0x1a6,_0x3a1f8b);}if(_0x3e2c73[_0x2f5f9a(_0x205daf._0x2e3667,_0x205daf._0x105a1c,_0x205daf._0x158ff3,_0x205daf._0x50461f)]!==_0x442f75(0x1f4,0x299,0x41b,0x492))return createUnknownToolResult(_0x3e2c73);const _0x2fe865=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x3e2c73,_0x2fe865);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x50c947,_0x17e5e8){return await Promise['all'](_0x50c947['map'](async _0x2c92cd=>{return await _0x22cd05(_0x2c92cd,_0x17e5e8);}));},async 'execute'(_0x16e31d,_0x5714e2){return await _0x22cd05(_0x16e31d,_0x5714e2);}};}import{randomUUID}from'crypto';var MODEL_TIERS=[_0x3145c3(0x612,0x4fd,0x655,0x59d),_0x4d75fe(0x2c3,0x448,0x301,0x224),'powerful'],DelegatedResolutionError=class extends Error{['requestedModelTier'];[_0x3145c3(0x649,0x526,0x5ac,0x573)];[_0x4d75fe(0x3d1,0x1c7,0x39b,0x1ae)];constructor(_0x43fa59,_0x3e219f,_0x5d51cf){const _0x1cd2f6={_0x7b5695:0x1d0,_0x30bc79:0x217,_0x6e34d7:0xa2,_0x223c80:0x16,_0x156995:0x263,_0xf6a224:0xb2,_0x156389:0x3a,_0x379616:0x1ec,_0x74291a:0x204,_0x3b01d5:0x150},_0x30a2d2={_0x220446:0xda,_0xb5b3d6:0x7b},_0x416291={_0x11e7ff:0x550,_0x2185b6:0x139};super(_0x43fa59,_0x5d51cf);function _0x2a6b3e(_0x15f2f5,_0x37efa4,_0x309a55,_0x241bfb){return _0x3145c3(_0x15f2f5-0x143,_0x241bfb- -_0x416291._0x11e7ff,_0x309a55-_0x416291._0x2185b6,_0x37efa4);}this[_0x2b3056(0x314,0x29b,_0x1cd2f6._0x7b5695,_0x1cd2f6._0x30bc79)]='DelegatedResolutionError',this[_0x2a6b3e(-_0x1cd2f6._0x6e34d7,_0x1cd2f6._0x223c80,_0x1cd2f6._0x156995,_0x1cd2f6._0xf6a224)]=_0x3e219f['requestedModelTier'],this[_0x2b3056(-_0x1cd2f6._0x156389,0x1a6,0x2dc,_0x1cd2f6._0x379616)]=_0x3e219f['agentModelSet'];function _0x2b3056(_0x1c04c6,_0x320322,_0x290edc,_0x438c11){return _0x4d75fe(_0x1c04c6-_0x30a2d2._0x220446,_0x1c04c6,_0x320322- -_0x30a2d2._0xb5b3d6,_0x438c11-0x146);}this['selector']=_0x3e219f[_0x2a6b3e(_0x1cd2f6._0x74291a,0x2bc,0x1c7,_0x1cd2f6._0x3b01d5)];}};function createDelegatedRunId(){return'delegated-run-'+randomUUID();}function rethrowDelegatedError(_0x5238a6){throw _0x5238a6;}async function resolveDelegatedAgentOptions(_0x25698a,_0x44b9ba){const _0x450f46={_0x3ca4ee:0x6ed,_0x4c57b3:0x5f5,_0x47fc9e:0x7bb,_0x325f4f:0x6d5,_0x44297b:0x971},_0xc77443={_0x58ebac:0x270},_0x53b95b={_0xa832a6:0x1,_0x1cf29e:0xfa},_0x3ced79=typeof _0x25698a===_0x39b0a7(0x699,_0x450f46._0x3ca4ee,0x6b2,_0x450f46._0x4c57b3)?await _0x25698a(_0x44b9ba):_0x25698a;function _0x39b0a7(_0x121157,_0x3e71f7,_0x4d5c24,_0x123fda){return _0x4d75fe(_0x121157-_0x53b95b._0xa832a6,_0x3e71f7,_0x123fda-0x21d,_0x123fda-_0x53b95b._0x1cf29e);}function _0x196776(_0x1acd7e,_0x227cf3,_0x10fdeb,_0x24f6a5){return _0x4d75fe(_0x1acd7e-0x15e,_0x227cf3,_0x24f6a5-_0xc77443._0x58ebac,_0x24f6a5-0x1af);}return typeof _0x3ced79===_0x39b0a7(0x58d,_0x450f46._0x47fc9e,0x6da,0x609)&&_0x3ced79!==null&&Object[_0x196776(_0x450f46._0x325f4f,0x625,_0x450f46._0x44297b,0x7bc)](_0x3ced79,'options')?_0x3ced79:{'options':_0x3ced79};}function awaitWithAbort(_0x5e6834,_0xcc7943){return throwIfAborted(_0xcc7943),new Promise((_0x49201a,_0x172400)=>{const _0xa27930={_0x297913:0x2af,_0x27d42a:0x4c3},_0x4f121c={_0x1f6dcd:0x265};let _0x2c2912=![];const _0x29068a=addAbortListener(_0xcc7943,()=>{if(_0x2c2912)return;function _0x5c27db(_0x58f0d6,_0x5d47cf,_0x16e225,_0x532c16){return _0x2a9a(_0x5d47cf- -_0x4f121c._0x1f6dcd,_0x58f0d6);}_0x2c2912=!![],_0x172400(toAbortError(_0xcc7943[_0x5c27db(0x4d4,_0xa27930._0x297913,_0xa27930._0x27d42a,0x165)]));});_0x5e6834['then'](_0x105520=>{if(_0x2c2912)return;_0x2c2912=!![],_0x29068a(),_0x49201a(_0x105520);},_0x426d5f=>{if(_0x2c2912)return;_0x2c2912=!![],_0x29068a(),_0x172400(_0x426d5f);});});}function getDelegatedAgentDefinition(_0x2c1cb2,_0x29fe70){const _0x2eb397={_0x280c81:0x34e,_0xc680a6:0x1b7},_0x4192d7={_0xdb28f1:0x3b,_0x1f0fe6:0xa};function _0x3ba5d3(_0x3daee4,_0x583f9a,_0x586eef,_0x580eee){return _0x3145c3(_0x3daee4-_0x4192d7._0xdb28f1,_0x583f9a- -0x399,_0x586eef-_0x4192d7._0x1f0fe6,_0x580eee);}return _0x2c1cb2[_0x3ba5d3(_0x2eb397._0x280c81,_0x2eb397._0xc680a6,0xac,0x22e)]?.[_0x29fe70];}function createRoutingSummary(_0x2b166f){const _0x11ab83={_0x560b02:0x21a,_0x4dc28f:0x357,_0x37d7c2:0x36a,_0x5a5a4d:0x67d,_0xa34ad4:0x13e,_0x36a5ed:0x30c,_0x2b33b1:0x4bc,_0x4d5bec:0x2d8,_0x29682e:0x29d,_0x1935d7:0x1db,_0x17cc31:0x28d,_0xb28cd2:0x1e9,_0x22880d:0x40a,_0xce6086:0x138,_0x3fedad:0x285},_0x43b465={_0x937621:0x5d,_0x1d4bcf:0xe3},_0x32e1d4={_0x4612aa:0x16c,_0x4e8cbb:0x32a};if(_0x2b166f[_0x25ad3(_0x11ab83._0x560b02,_0x11ab83._0x4dc28f,0x3bc,0x179)]===void 0x0)return{};function _0x13de9a(_0x35773b,_0x5382f7,_0x2e0be7,_0x3fd375){return _0x3145c3(_0x35773b-_0x32e1d4._0x4612aa,_0x3fd375- -_0x32e1d4._0x4e8cbb,_0x2e0be7-0xd9,_0x5382f7);}const _0x5cde4c=_0x2b166f[_0x13de9a(_0x11ab83._0x37d7c2,_0x11ab83._0x5a5a4d,0x556,0x464)]?.[_0x25ad3(_0x11ab83._0xa34ad4,0x1f1,-0x88,_0x11ab83._0x36a5ed)]??_0x2b166f['agentModelSet'];function _0x25ad3(_0x219e59,_0x33c975,_0x472775,_0x15f37c){return _0x4d75fe(_0x219e59-_0x43b465._0x937621,_0x33c975,_0x219e59- -_0x43b465._0x1d4bcf,_0x15f37c-0x1b0);}return{'requestedModelTier':_0x2b166f[_0x13de9a(0x27a,0x35d,_0x11ab83._0x2b33b1,_0x11ab83._0x4d5bec)],..._0x5cde4c===void 0x0?{}:{'agentModelSet':_0x5cde4c},..._0x2b166f[_0x25ad3(0x3a6,_0x11ab83._0x29682e,0x4b5,_0x11ab83._0x1935d7)]?.[_0x25ad3(0x138,_0x11ab83._0x17cc31,0x9f,0x2da)]===void 0x0?{}:{'resolvedModelIdentity':_0x2b166f[_0x25ad3(0x3a6,_0x11ab83._0xb28cd2,_0x11ab83._0x22880d,0x304)][_0x25ad3(_0x11ab83._0xce6086,0x2cf,0xe8,_0x11ab83._0x3fedad)]}};}function createStructuredWithRoutingSummary(_0x2de771,_0x729db2){const _0x4f1469={_0x3be7b2:0x5a4,_0x3ef64f:0x52d},_0x4dc9e0={_0x226f54:0x30c},_0x373b78={..._0x2de771};delete _0x373b78['requestedModelTier'],delete _0x373b78[_0x236356(0x475,_0x4f1469._0x3be7b2,_0x4f1469._0x3ef64f,0x4bb)];function _0x236356(_0x3e4251,_0x5c52dc,_0x488926,_0x23c7ab){return _0x4d75fe(_0x3e4251-0x2e,_0x5c52dc,_0x488926-_0x4dc9e0._0x226f54,_0x23c7ab-0x98);}return delete _0x373b78['resolvedModelIdentity'],{..._0x373b78,...createRoutingSummary(_0x729db2)};}function createRunSummary(_0x403013){const _0x145ccd={_0x2480dc:0x32d,_0x2835de:0x534,_0x4d4bd8:0x523,_0x853bff:0x109,_0x47c223:0x3f9,_0x451094:0x71,_0x575eeb:0x170,_0x5472ad:0xf4,_0x5e5590:0x2b6,_0x454b4f:0x23d,_0x8e3902:0x64,_0x1e5fd6:0x28e,_0x4b966d:0x3be,_0x194a90:0x1ad,_0x54421e:0x33,_0x2f0256:0x2d7,_0x1247c2:0x4f2,_0x5091b7:0xd5,_0x17ed47:0x2e5,_0x27efa3:0x4bf,_0x2ad8da:0x5f2,_0x376533:0x414,_0x34195e:0x587,_0x40c088:0x4ed,_0x39f9a7:0x4c2,_0x851df1:0x313,_0x5cc00d:0x351},_0x2b7ef1={_0x15c3ec:0x151},_0x283c7f={_0x460cb4:0x5a8};function _0x5ba71d(_0x54972c,_0x50387c,_0x34d9a4,_0x27c17){return _0x3145c3(_0x54972c-0xc5,_0x50387c- -_0x283c7f._0x460cb4,_0x34d9a4-0x108,_0x27c17);}function _0x3d9ff1(_0x1cf7a0,_0x5e474a,_0x2b955b,_0x35aad8){return _0x3145c3(_0x1cf7a0-0x62,_0x1cf7a0- -0x2ba,_0x2b955b-_0x2b7ef1._0x15c3ec,_0x5e474a);}return{'runId':_0x403013[_0x3d9ff1(_0x145ccd._0x2480dc,0x4f2,_0x145ccd._0x2835de,_0x145ccd._0x4d4bd8)],'agentId':_0x403013['agentId'],..._0x403013[_0x3d9ff1(0x244,_0x145ccd._0x853bff,0x313,0x33d)]!==void 0x0?{'sessionId':_0x403013[_0x3d9ff1(0x244,0xd9,0xdd,_0x145ccd._0x47c223)]}:{},'status':_0x403013[_0x5ba71d(_0x145ccd._0x451094,0x1b1,0x3a6,0x233)],'parentSessionId':_0x403013[_0x5ba71d(_0x145ccd._0x575eeb,_0x145ccd._0x5472ad,0x3e,_0x145ccd._0x5e5590)],..._0x403013[_0x3d9ff1(_0x145ccd._0x454b4f,_0x145ccd._0x8e3902,_0x145ccd._0x1e5fd6,_0x145ccd._0x4b966d)]!==void 0x0?{'originToolCallId':_0x403013[_0x5ba71d(-_0x145ccd._0x194a90,-0xb1,-_0x145ccd._0x54421e,-_0x145ccd._0x2f0256)]}:{},...createRoutingSummary(_0x403013),..._0x403013['errorMessage']!==void 0x0?{'errorMessage':_0x403013[_0x3d9ff1(_0x145ccd._0x1247c2,0x67e,0x6e5,0x362)]}:{},..._0x403013[_0x5ba71d(_0x145ccd._0x5091b7,_0x145ccd._0x17ed47,0x3b3,0x4c5)]?.[_0x3d9ff1(0x4c2,_0x145ccd._0x27efa3,_0x145ccd._0x2ad8da,_0x145ccd._0x376533)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x403013[_0x3d9ff1(0x5d3,0x5df,_0x145ccd._0x34195e,_0x145ccd._0x40c088)][_0x3d9ff1(_0x145ccd._0x39f9a7,_0x145ccd._0x851df1,_0x145ccd._0x5cc00d,0x4ad)])}:{}};}function createRunSummaryOutput(_0x201ba4,_0x47bf8d){const _0x4f7b41={_0x149dcb:0x581,_0x219774:0x3d5,_0x2811b5:0x1ed,_0x1cf202:0x111,_0x5637c8:0x309,_0x56f8e1:0x13},_0xd7229e={_0x181736:0x1ed},_0x3ba186={_0x35143c:0x143};function _0x2640d6(_0x425415,_0x1cb40f,_0x3976c6,_0x45f9f8){return _0x3145c3(_0x425415-0x169,_0x1cb40f- -0x50f,_0x3976c6-_0x3ba186._0x35143c,_0x425415);}const _0x441212=createRunSummary(_0x201ba4),_0x4590cf=_0x441212[_0x140a7e(0x59c,0x6b0,0x643,_0x4f7b41._0x149dcb)];function _0x140a7e(_0x4aadc8,_0x4b0620,_0xec0fa5,_0x2cec1f){return _0x4d75fe(_0x4aadc8-0xea,_0xec0fa5,_0x4b0620-_0xd7229e._0x181736,_0x2cec1f-0xe1);}return createToolOutput(typeof _0x4590cf===_0x2640d6(_0x4f7b41._0x219774,0x2a6,0x8f,0x399)&&_0x4590cf[_0x2640d6(_0x4f7b41._0x2811b5,_0x4f7b41._0x1cf202,_0x4f7b41._0x5637c8,_0x4f7b41._0x56f8e1)]>0x0?_0x4590cf:_0x47bf8d,_0x441212);}function getRunTerminalErrorMessage(_0x152eb2){const _0x34c4ce={_0xba4dd:0xa7,_0x360fbd:0x3,_0x21590:0x96,_0xbe4d0f:0x26f,_0x4a2e5c:0x136,_0x2b8021:0x1fc,_0x5bb34f:0x138,_0x5e5ba4:0x1e7,_0x506062:0x2e4,_0x3d9615:0x1e8,_0x1ff972:0x20c,_0x2d42a3:0x437},_0x1232c1={_0x49d7a5:0x1d1,_0xc49a64:0x61a,_0x362bcc:0x1a9},_0x17792f={_0x2b4e51:0xe5},_0x11687f=_0x152eb2?.[_0x9ca707(-0x4a,-_0x34c4ce._0xba4dd,-0x28c,_0x34c4ce._0x360fbd)][_0x9ca707(-0x204,-0xad,-0x257,-_0x34c4ce._0x21590)]['at'](-0x1);if(_0x11687f?.['status']===_0x9ca707(_0x34c4ce._0xbe4d0f,_0x34c4ce._0x4a2e5c,_0x34c4ce._0x2b8021,_0x34c4ce._0x5bb34f)&&_0x11687f[_0x9ca707(-_0x34c4ce._0x5e5ba4,-0xe1,-_0x34c4ce._0x506062,-_0x34c4ce._0x3d9615)][_0x9ca707(_0x34c4ce._0x1ff972,0x241,0x1f0,_0x34c4ce._0x2d42a3)]()['length']>0x0)return _0x11687f['output'];function _0x55eee6(_0x3b10a7,_0x7e1db0,_0x530a85,_0xa89fb9){return _0x4d75fe(_0x3b10a7-_0x17792f._0x2b4e51,_0x7e1db0,_0x530a85-0x22b,_0xa89fb9-0x1a2);}function _0x9ca707(_0x1e6b25,_0x31fb2e,_0x33eb9c,_0x3b20cd){return _0x3145c3(_0x1e6b25-_0x1232c1._0x49d7a5,_0x31fb2e- -_0x1232c1._0xc49a64,_0x33eb9c-_0x1232c1._0x362bcc,_0x33eb9c);}return void 0x0;}function formatAbortedRunMessage(_0x3771e4,_0x188575){const _0x5c386e={_0x419ef7:0x758,_0x2c4dcd:0x7b0,_0x3f7e27:0x84a,_0x4e0ae5:0x8d3,_0x5d467c:0x1c6,_0xc17ab4:0x2b8,_0x266abb:0x25b,_0x337891:0x314,_0x327747:0x333},_0x1e6d52={_0x5dfdff:0x368};function _0x551563(_0x13f9fd,_0x4cb057,_0x2a7627,_0x2b164a){return _0x3145c3(_0x13f9fd-0x11b,_0x2b164a- -_0x1e6d52._0x5dfdff,_0x2a7627-0x64,_0x2a7627);}const _0x50cdd0=_0x3f69f5(0x801,0x977,_0x5c386e._0x419ef7,_0x5c386e._0x2c4dcd)+_0x3771e4+'\x20was\x20aborted.';function _0x3f69f5(_0x2020b2,_0x31d15a,_0x47167f,_0x2b457d){return _0x4d75fe(_0x2020b2-0x18b,_0x47167f,_0x2b457d-0x37d,_0x2b457d-0xa4);}if(!_0x188575||_0x188575[_0x3f69f5(0x7cc,_0x5c386e._0x3f7e27,0x7a3,_0x5c386e._0x4e0ae5)]()[_0x551563(_0x5c386e._0x5d467c,0xd6,0x39e,_0x5c386e._0xc17ab4)]===0x0||_0x188575===_0x50cdd0)return _0x50cdd0;return _0x50cdd0+_0x551563(0x2ab,_0x5c386e._0x266abb,_0x5c386e._0x337891,_0x5c386e._0x327747)+_0x188575;}function createAssignTaskTool(_0x53cc77){const _0x2fb66e={_0x1c84ab:0x517,_0x30e861:0x66f,_0x214476:0x5db,_0x373207:0x4c7,_0x3f5f7c:0x3ce,_0x2eae34:0x3f5,_0x4ea164:0x3a7,_0x27ac4b:0x2c0,_0x2ccd8e:0x4d7,_0x16b816:0x517,_0x3bad35:0x43,_0x4cd7d5:0x143,_0x30e777:0x2d3,_0x320e62:0x57b,_0x4e3dca:0x78a,_0x467248:0x72c,_0x3beafb:0x512,_0x1e2fc9:0x5c3,_0x1d937d:0x29d,_0x14602c:0x18b,_0xc1a46a:0x348,_0x56cce9:0x296,_0x577cd0:0x1a2,_0x30bde0:0x309,_0x4d97e6:0x1be},_0x803f6a={_0x1772d9:0x239,_0x5e80e9:0xe5,_0x390366:0x4fb,_0x21ec3e:0x327,_0x449743:0x241,_0x3f702f:0x1bd,_0x1ffc14:0x36a,_0x32507f:0x6bf,_0x5ebdd9:0x4cf,_0xdce9be:0x535,_0x392550:0x58e,_0x31684:0x690,_0x2d1028:0x406,_0x1d5166:0x468,_0xf621bd:0x335,_0x51066f:0x503,_0x5b83e0:0x43c,_0xf06d87:0x562,_0x35fef5:0x457,_0x1db97b:0x6df,_0x1138c4:0x64a,_0x2f1e06:0x763,_0x50cfac:0x9b4,_0x5b9629:0x7bf,_0x5ed564:0x759,_0x2bf0e8:0x257,_0x505c19:0x3ac,_0x5c94b2:0x672,_0x1fcf04:0x5d7,_0x42cdad:0x706,_0x3d5a71:0x5cf,_0x2a0a15:0x40a,_0x348d23:0x5f9,_0x1a80c6:0x5d5,_0x4c3956:0x6a1,_0x7deece:0x7d4,_0x2b3921:0x7bd,_0x297140:0x63c,_0x351102:0x673,_0x31e9d3:0x618,_0x51de9d:0x697,_0x2c10c1:0x439,_0x2089bc:0x3f6,_0x4706d3:0x803,_0x100ff1:0x5f7,_0x3cb309:0x55c,_0x1551bc:0x51c,_0x5aca83:0x628,_0x1e11a:0x3ce,_0x2d5a8b:0x2fd,_0x99a6fa:0x2ca,_0x5d1cc3:0x12c,_0x176670:0x11b,_0x1f434e:0x4f6,_0x1bbfd3:0x2b8,_0x198510:0x461,_0x508703:0x30e,_0x50592d:0x23d,_0x410af6:0x8f,_0x4bef88:0x19,_0x430eba:0x1b4,_0x18304e:0x27a,_0x399c63:0x399,_0x1ae204:0x36f,_0xb3529b:0x290,_0x71ccbb:0x143,_0x1db4a7:0x4cb,_0x4f24c7:0x6da,_0x5e6e12:0x3f0,_0x30f877:0x3c7,_0x35e3d8:0x1e7,_0x3702e2:0x673,_0x1fc435:0x4e1,_0x282145:0x63d,_0x37faad:0x468,_0x33d1bf:0x695,_0x149731:0x45b,_0x27dc07:0xc4,_0x56391c:0x200,_0x2d772b:0xea,_0x42f3c7:0x30a,_0x752aca:0x188,_0x2535e5:0x382,_0x45bedd:0x61c,_0x59b792:0x3ac,_0x53db33:0x1af,_0x5a0dcb:0x300,_0x4ba85e:0x3ff,_0x300599:0x23c,_0x4e580e:0x109,_0x5c4491:0xbb,_0x335758:0x284,_0x42c3b5:0x507,_0x58ebad:0x1fd,_0x52e82c:0x518,_0x225340:0x49d,_0x2d0a93:0x606,_0xdc30cd:0x2da,_0x2f76ab:0xe3,_0x322603:0x2c4,_0x46a030:0x548,_0x581515:0x1a4,_0x1af2a0:0xe3,_0x105bc4:0x2bd,_0x31401b:0xf2,_0x42649f:0x533,_0x326bdd:0x3d2,_0xac7d9d:0x3ac,_0x3bd800:0x189,_0x39aa2a:0xeb,_0x13b0bd:0x771,_0x396107:0x662,_0x3c718d:0x98b,_0x165d78:0xe3,_0x58109f:0x63,_0x43ff9b:0x17b,_0x46710d:0x129,_0x2b27cd:0x551,_0x2e4998:0x6e7,_0x553919:0x355,_0x22e2fd:0x204,_0x50f6c6:0x2f9,_0x2688c8:0x304,_0x2d2c12:0x1d1,_0x287737:0x24b,_0x3686cb:0x4c,_0x46f129:0x13f},_0x312244={_0x4db093:0x1bd,_0x1d8095:0x64},_0x7a2bf3={_0x17b153:0x65c};function _0x3595f8(_0xed9d28,_0x2bdf9f,_0x381631,_0x4f4277){return _0x3145c3(_0xed9d28-0xc3,_0xed9d28- -_0x7a2bf3._0x17b153,_0x381631-0x33,_0x2bdf9f);}function _0x45b1fb(_0x59afd0,_0x2a855c,_0x3d971c,_0x23d52b){return _0x4d75fe(_0x59afd0-_0x312244._0x4db093,_0x59afd0,_0x23d52b-_0x312244._0x1d8095,_0x23d52b-0xdf);}return defineTool({'name':'AssignTask','permissionClass':'always-confirm','description':_0x45b1fb(_0x2fb66e._0x1c84ab,_0x2fb66e._0x30e861,_0x2fb66e._0x214476,_0x2fb66e._0x373207),'inputSchema':{'type':'object','properties':{'agentId':{'type':_0x45b1fb(0x421,_0x2fb66e._0x3f5f7c,_0x2fb66e._0x2eae34,0x514),'description':_0x45b1fb(_0x2fb66e._0x4ea164,0x588,_0x2fb66e._0x27ac4b,0x36d)},'description':{'type':'string','description':_0x45b1fb(_0x2fb66e._0x2ccd8e,0x5c4,0x336,_0x2fb66e._0x16b816)},'nickname':{'type':_0x3595f8(0x159,-0xa2,-_0x2fb66e._0x3bad35,_0x2fb66e._0x4cd7d5),'description':_0x3595f8(0x29b,0x72,_0x2fb66e._0x30e777,0x312)},'task':{'type':_0x45b1fb(0x420,0x3a4,_0x2fb66e._0x320e62,0x514),'description':_0x45b1fb(_0x2fb66e._0x4e3dca,_0x2fb66e._0x467248,_0x2fb66e._0x3beafb,_0x2fb66e._0x1e2fc9)},'modelTier':{'type':'string','enum':[...MODEL_TIERS],'description':_0x3595f8(_0x2fb66e._0x1d937d,_0x2fb66e._0x14602c,_0x2fb66e._0xc1a46a,_0x2fb66e._0x56cce9)}},'required':[_0x3595f8(-0xd8,-_0x2fb66e._0x577cd0,0x7d,-0x2a8),_0x45b1fb(0x320,0x374,0x4d1,_0x2fb66e._0x30bde0),_0x3595f8(-0x169,-0x1d6,-_0x2fb66e._0x4d97e6,0x3)]},async *'execute'(_0x4abe9b,_0x43cd73){const _0x38ec27={_0x31145c:0x172,_0xafd3f0:0xbf,_0x17e6e6:0x185},_0x2b5350={_0x30bd8b:0x156},_0x23dc46={_0x525b2f:0x80a,_0x35db9a:0x6dc,_0x252e06:0x77d,_0x48d57c:0x673,_0x1bb5ef:0x754,_0x41a3fd:0x5e9,_0x50b51f:0x6d4,_0x11b1a8:0x6f4},_0x2e0eb4={_0x1ebab3:0x2ed,_0x2be753:0x103},_0xf4a018={_0x4f5544:0x5c,_0xa3f729:0x1c},_0x34f6aa=createDelegatedRunId(),_0xa83b2e=new AbortController(),_0x109a29=_0x4abe9b[_0x2f2665(0x315,_0x803f6a._0x1772d9,0x21f,_0x803f6a._0x5e80e9)],_0x16a690={'agentId':_0x4abe9b[_0x2ce158(0x468,0x5c8,_0x803f6a._0x390366,_0x803f6a._0x21ec3e)],'parentSessionId':_0x43cd73[_0x2ce158(0x3e2,_0x803f6a._0x449743,_0x803f6a._0x3f702f,_0x803f6a._0x1ffc14)],'runId':_0x34f6aa,'signal':_0xa83b2e[_0x2ce158(0x673,_0x803f6a._0x32507f,_0x803f6a._0x5ebdd9,0x67f)],..._0x43cd73['toolCallId']!==void 0x0?{'toolCallId':_0x43cd73['toolCallId']}:{},..._0x109a29===void 0x0?{}:{'modelTier':_0x109a29}},_0x150182=getDelegatedAgentDefinition(_0x53cc77,_0x4abe9b['agentId']);if(!_0x150182)throw new ToolExecutionError(_0x2ce158(_0x803f6a._0xdce9be,_0x803f6a._0x392550,_0x803f6a._0x31684,_0x803f6a._0x2d1028)+_0x4abe9b[_0x2ce158(_0x803f6a._0x1d5166,0x430,_0x803f6a._0xf621bd,0x573)],{'agentId':_0x4abe9b['agentId'],..._0x109a29===void 0x0?{}:{'requestedModelTier':_0x109a29}});let _0x378451={'runId':_0x34f6aa,'agentId':_0x4abe9b[_0x2ce158(0x468,_0x803f6a._0x51066f,0x54d,0x2db)],'status':'running','parentSessionId':_0x43cd73[_0x2ce158(0x3e2,_0x803f6a._0x5b83e0,0x357,0x580)],..._0x43cd73[_0x2ce158(_0x803f6a._0xf06d87,0x5fb,_0x803f6a._0x2d1028,_0x803f6a._0x35fef5)]!==void 0x0?{'originToolCallId':_0x43cd73['toolCallId']}:{},..._0x109a29===void 0x0?{}:{'requestedModelTier':_0x109a29}};const _0x25861a=addAbortListener(_0x43cd73[_0x2f2665(0x46a,0x3ac,0x1c6,0x346)],()=>{function _0x2fa3e7(_0x37064c,_0x2423b7,_0x130db0,_0x3e0cc2){return _0x2ce158(_0x3e0cc2- -_0xf4a018._0x4f5544,_0x37064c,_0x130db0-0x19c,_0x3e0cc2-_0xf4a018._0xa3f729);}function _0x242e77(_0x5746c4,_0x133465,_0x2fbae0,_0x5df2fd){return _0x2f2665(_0x5746c4-0xc6,_0x133465-_0x2e0eb4._0x1ebab3,_0x2fbae0-_0x2e0eb4._0x2be753,_0x2fbae0);}_0xa83b2e[_0x242e77(_0x23dc46._0x525b2f,_0x23dc46._0x35db9a,0x5bc,_0x23dc46._0x252e06)](_0x43cd73[_0x242e77(_0x23dc46._0x48d57c,0x699,_0x23dc46._0x1bb5ef,_0x23dc46._0x41a3fd)][_0x242e77(0x542,_0x23dc46._0x50b51f,_0x23dc46._0x11b1a8,0x5c4)]);});let _0x13d335,_0xe5448b;function _0x2f2665(_0x4d2097,_0x37839c,_0x15ae5f,_0xa622a5){return _0x45b1fb(_0xa622a5,_0x37839c-0xf8,_0x15ae5f-_0x2b5350._0x30bd8b,_0x37839c- -0x142);}let _0x3a256e,_0x4684c2,_0x4c5d8c=![],_0x358093,_0x101a05,_0x591d9c=![];const _0x2c0947=_0x53cc77[_0x2f2665(0xc3,0x1a7,-0x6,0xe4)];function _0x2ce158(_0x2fb436,_0x8ef710,_0x51cc6e,_0x225a36){return _0x45b1fb(_0x8ef710,_0x8ef710-_0x38ec27._0x31145c,_0x51cc6e-_0x38ec27._0xafd3f0,_0x2fb436-_0x38ec27._0x17e6e6);}try{_0x53cc77[_0x2ce158(0x6df,0x58b,0x4c4,0x7f7)]!==void 0x0&&(_0x13d335=await _0x53cc77[_0x2ce158(_0x803f6a._0x1db97b,_0x803f6a._0x1138c4,0x781,_0x803f6a._0x2f1e06)][_0x2ce158(0x7c8,_0x803f6a._0x50cfac,0x80f,0x62d)](_0xa83b2e[_0x2ce158(0x673,0x749,_0x803f6a._0x5b9629,_0x803f6a._0x5ed564)]));throwIfAborted(_0xa83b2e['signal']);const _0x197f86=await awaitWithAbort(resolveDelegatedAgentOptions(_0x150182,_0x16a690),_0xa83b2e[_0x2f2665(_0x803f6a._0x2bf0e8,_0x803f6a._0x505c19,0x294,0x393)]);_0x378451={..._0x378451,..._0x109a29===void 0x0||_0x197f86[_0x2ce158(_0x803f6a._0x5c94b2,_0x803f6a._0x1fcf04,0x585,_0x803f6a._0x42cdad)]?.['agentModelSet']===void 0x0?{}:{'agentModelSet':_0x197f86[_0x2ce158(0x672,0x489,_0x803f6a._0x3d5a71,_0x803f6a._0x390366)][_0x2ce158(_0x803f6a._0x2a0a15,_0x803f6a._0x348d23,_0x803f6a._0x1a80c6,0x4d8)]}};const _0x11aa12=_0x197f86[_0x2ce158(_0x803f6a._0x4c3956,_0x803f6a._0x7deece,_0x803f6a._0x2b3921,_0x803f6a._0x297140)];throwIfAborted(_0xa83b2e[_0x2ce158(_0x803f6a._0x351102,_0x803f6a._0x31e9d3,0x557,_0x803f6a._0x51de9d)]);const _0x3cfa14=_0x53cc77[_0x2f2665(0x8c,0x295,_0x803f6a._0x2c10c1,_0x803f6a._0x2089bc)]!==void 0x0&&_0x11aa12[_0x2ce158(0x695,_0x803f6a._0x4706d3,_0x803f6a._0x100ff1,0x4d9)]!==void 0x0?{..._0x11aa12,'systemPrompt':_0x53cc77[_0x2ce158(_0x803f6a._0x3cb309,_0x803f6a._0x1551bc,_0x803f6a._0x5aca83,0x619)](_0x11aa12[_0x2f2665(0x46e,_0x803f6a._0x1e11a,0x237,_0x803f6a._0x2d5a8b)])}:_0x11aa12;throwIfAborted(_0xa83b2e[_0x2f2665(_0x803f6a._0x99a6fa,0x3ac,0x420,0x24e)]);const _0x1497f9=new Agent(_0x3cfa14);_0x378451={..._0x378451,'sessionId':_0x1497f9[_0x2f2665(_0x803f6a._0x5d1cc3,_0x803f6a._0x176670,0x141,0x317)],..._0x109a29===void 0x0?{}:{'routing':{'requestedModelTier':_0x109a29,..._0x378451[_0x2ce158(0x40a,0x4a2,0x2e6,_0x803f6a._0x1f434e)]===void 0x0?{}:{'agentModelSet':_0x378451[_0x2f2665(_0x803f6a._0x1bbfd3,0x143,0x34,0x1b8)]},'resolvedModelIdentity':_0x1497f9[_0x2f2665(0x57b,_0x803f6a._0x198510,_0x803f6a._0x508703,_0x803f6a._0x50592d)][_0x2f2665(-_0x803f6a._0x410af6,0x189,0x36c,0x1a2)][_0x2f2665(_0x803f6a._0x4bef88,_0x803f6a._0x430eba,0x16f,_0x803f6a._0x18304e)]}}},_0xe5448b=_0x53cc77['registerActiveAgent']?.(_0x1497f9,_0x16a690);const _0x1ffc34=new Promise(_0x22f8de=>{_0x4684c2=_0x22f8de;});_0x3a256e=_0x53cc77[_0x2ce158(_0x803f6a._0x399c63,0x351,_0x803f6a._0x1ae204,_0x803f6a._0xb3529b)]?.({'runId':_0x34f6aa,'abortController':_0xa83b2e,'completion':_0x1ffc34});_0x2c0947!==void 0x0&&(await _0x2c0947['start'](_0x1497f9,_0x16a690),_0x4c5d8c=!![]);yield createToolOutput(_0x2f2665(0x9,0x144,_0x803f6a._0x71ccbb,0x32e)+_0x378451[_0x2ce158(_0x803f6a._0x1db4a7,0x6d2,_0x803f6a._0x4f24c7,0x4d8)]+'.',createRunSummary(_0x378451)),throwIfAborted(_0xa83b2e[_0x2f2665(_0x803f6a._0x5e6e12,_0x803f6a._0x505c19,_0x803f6a._0x30f877,_0x803f6a._0x35e3d8)]);const _0x4ca3af=await _0x1497f9['send'](_0x4abe9b[_0x2f2665(0x169,0x110,0x21c,0x3)],{'streaming':!![],'signal':_0xa83b2e[_0x2ce158(_0x803f6a._0x3702e2,0x6f2,_0x803f6a._0x1fc435,0x5c3)]});_0x378451={..._0x378451,'status':_0x4ca3af[_0x2ce158(_0x803f6a._0x282145,_0x803f6a._0x37faad,0x494,0x712)],'result':_0x4ca3af};if(_0x4ca3af[_0x2ce158(0x63d,0x7ed,_0x803f6a._0x33d1bf,_0x803f6a._0x149731)]!==_0x2f2665(_0x803f6a._0x27dc07,_0x803f6a._0x56391c,_0x803f6a._0x2d772b,_0x803f6a._0x42f3c7)){const _0x58baa3=getRunTerminalErrorMessage(_0x4ca3af),_0x134616=formatAbortedRunMessage(_0x378451['runId'],_0x58baa3);_0x378451={..._0x378451,'status':_0x2f2665(0x20f,0x23c,_0x803f6a._0x752aca,0x35),'errorMessage':_0x134616},_0x358093={'status':'aborted','errorMessage':_0x134616};throw new ToolExecutionError(_0x134616,{...createRunSummary(_0x378451),'aborted':!![],'errorMessage':_0x134616});}return _0x358093={'status':_0x2f2665(_0x803f6a._0x2535e5,_0x803f6a._0x56391c,0x1a7,-0xd)},createRunSummaryOutput(_0x378451,_0x2ce158(_0x803f6a._0x45bedd,0x64e,0x570,0x6e7)+_0x378451['runId']+'\x20completed.');}catch(_0x185266){_0x101a05=_0x185266,_0x591d9c=!![];if(_0x185266 instanceof ToolExecutionError){if(_0x358093===void 0x0){if(isAbortError(_0x185266)||_0xa83b2e[_0x2f2665(0x574,_0x803f6a._0x59b792,_0x803f6a._0x53db33,0x2bc)][_0x2ce158(_0x803f6a._0x51066f,0x485,_0x803f6a._0x5a0dcb,0x445)]||_0x43cd73[_0x2ce158(_0x803f6a._0x351102,0x44a,0x4b7,0x653)]['aborted'])_0x358093={'status':_0x2f2665(_0x803f6a._0x4ba85e,_0x803f6a._0x300599,_0x803f6a._0x4e580e,0x3a4)};else{const _0x264265=_0x185266['message'];_0x378451={..._0x378451,'status':_0x2f2665(0x1a9,0x1d6,_0x803f6a._0x5c4491,_0x803f6a._0x335758),'errorMessage':_0x264265},_0x358093={'status':'failed','errorMessage':_0x264265};}}if(_0x109a29===void 0x0)throw _0x185266;throw new ToolExecutionError(_0x185266[_0x2ce158(0x3aa,_0x803f6a._0x42c3b5,_0x803f6a._0x58ebad,_0x803f6a._0x52e82c)],createStructuredWithRoutingSummary(_0x185266['structured'],_0x378451));}if(_0x185266 instanceof DelegatedResolutionError){const _0x563b4a={..._0x378451};delete _0x563b4a['routing'],delete _0x563b4a[_0x2f2665(0x97,_0x803f6a._0x71ccbb,-0x48,0xdd)],_0x378451={..._0x563b4a,'status':_0x2ce158(_0x803f6a._0x225340,_0x803f6a._0x2d0a93,0x66b,_0x803f6a._0xdc30cd),'errorMessage':_0x185266[_0x2f2665(-0x9b,_0x803f6a._0x2f76ab,_0x803f6a._0x322603,0x5e)],..._0x109a29===void 0x0||_0x185266[_0x2ce158(0x40a,0x35f,0x425,_0x803f6a._0x46a030)]===void 0x0?{}:{'agentModelSet':_0x185266['agentModelSet']}};throw new ToolExecutionError(_0x185266[_0x2f2665(_0x803f6a._0x581515,_0x803f6a._0x1af2a0,0x23b,0x5a)],{...createRunSummary(_0x378451),..._0x109a29===void 0x0||_0x185266[_0x2f2665(0x38f,_0x803f6a._0x105bc4,_0x803f6a._0x31401b,0x498)]===void 0x0?{}:{'selector':_0x185266['selector']},'errorMessage':_0x185266['message']});}if(isAbortError(_0x185266)||_0xa83b2e[_0x2ce158(0x673,_0x803f6a._0x42649f,0x4a4,0x7dd)][_0x2ce158(0x503,0x4cf,0x376,_0x803f6a._0x326bdd)]||_0x43cd73[_0x2f2665(0x50f,_0x803f6a._0xac7d9d,0x4be,0x1cb)][_0x2f2665(_0x803f6a._0x3bd800,0x23c,_0x803f6a._0x39aa2a,0x1e6)]){const _0x3d5d13=getRunTerminalErrorMessage(_0x378451[_0x2ce158(_0x803f6a._0x13b0bd,0x763,_0x803f6a._0x396107,_0x803f6a._0x3c718d)])??(_0x185266 instanceof Error?_0x185266[_0x2f2665(0x2fa,_0x803f6a._0x165d78,0x1f1,_0x803f6a._0x58109f)]:String(_0x185266)),_0x517a86=formatAbortedRunMessage(_0x378451[_0x2f2665(0x1f6,0x204,0x64,_0x803f6a._0x43ff9b)],_0x3d5d13);_0x378451={..._0x378451,'status':'aborted','errorMessage':_0x517a86},_0x358093={'status':_0x2f2665(_0x803f6a._0x46710d,0x23c,0x239,0x242),'errorMessage':_0x517a86};throw new ToolExecutionError(_0x517a86,{...createRunSummary(_0x378451),'aborted':!![],'errorMessage':_0x517a86});}const _0x3ed2c6=getRunTerminalErrorMessage(_0x378451[_0x2ce158(0x771,0x7b0,_0x803f6a._0x2b27cd,_0x803f6a._0x2e4998)])??(_0x185266 instanceof Error?_0x185266['message']:String(_0x185266))??_0x2f2665(0x24d,_0x803f6a._0x553919,0x1ba,0x438)+_0x378451[_0x2f2665(0x389,_0x803f6a._0x22e2fd,0x2f2,_0x803f6a._0x50f6c6)]+'\x20failed.';_0x378451={..._0x378451,'status':_0x2ce158(0x49d,0x5cd,0x555,_0x803f6a._0x2688c8),'errorMessage':_0x3ed2c6},_0x358093={'status':_0x2f2665(0x243,0x1d6,_0x803f6a._0x2d2c12,_0x803f6a._0x287737),'errorMessage':_0x3ed2c6};throw new ToolExecutionError(_0x3ed2c6,{...createRunSummary(_0x378451),'errorMessage':_0x3ed2c6});}finally{let _0x1c0e66,_0x4de9a7;const _0x55b748=_0x307661=>{if(_0x307661===void 0x0)return;try{_0x307661();}catch(_0x459fae){_0x4de9a7??=_0x459fae instanceof Error?_0x459fae:new Error(String(_0x459fae));}};if(_0x4c5d8c&&_0x2c0947!==void 0x0){const _0x21f38f=_0x358093??{'status':'aborted'};try{await _0x2c0947['finish'](_0x16a690,_0x21f38f);}catch(_0x22f06d){_0x1c0e66=_0x22f06d instanceof Error?_0x22f06d:new Error(String(_0x22f06d));}}_0x55b748(_0x53cc77[_0x2f2665(_0x803f6a._0x3686cb,0x20a,_0x803f6a._0x46f129,0x102)]===void 0x0?void 0x0:()=>_0x53cc77[_0x2f2665(0x8b,0x20a,0x11d,0x296)]?.(_0x16a690)),_0x55b748(_0x4684c2),_0x55b748(_0x3a256e),_0x55b748(_0xe5448b),_0x55b748(_0x13d335),_0x55b748(_0x25861a),_0x1c0e66!==void 0x0&&(_0x591d9c&&(_0x1c0e66['cause']=_0x101a05),rethrowDelegatedError(_0x1c0e66)),_0x4de9a7!==void 0x0&&rethrowDelegatedError(_0x4de9a7);}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x4cbd45){return[createAssignTaskTool(_0x4cbd45)];}import{mkdir as _0x2c3dd0,writeFile}from'fs/promises';import*as _0x38ac15 from'path';function sanitizeFileName(_0x12919e){return _0x12919e['replace'](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x235acd,_0x41f2e1){const _0x47a3c3={_0x1f84f2:0x6f2,_0x477635:0x5e8,_0x2073ad:0x6b4,_0x2a9b57:0x727,_0xc3e40d:0x448,_0x527b81:0x3e2,_0x15a62b:0x6e2,_0x23560f:0x67e,_0x490c57:0x64a,_0x4f696e:0x644,_0x22e443:0x949,_0x4a617d:0x641,_0x4729b4:0x719,_0x27eb5f:0x4a7,_0x1998e9:0x598,_0x27d611:0x48c,_0x2b523b:0x43c,_0x4623ff:0x635,_0x4efb64:0x3df,_0x1d285a:0x5d9,_0x2c7d1f:0x882,_0x2dd84d:0x632,_0x2749f7:0x683,_0x24b816:0x937,_0x4a35b6:0x946,_0x4484d8:0x7a5,_0x4f694d:0x91c,_0x54c893:0x447,_0x43869b:0x535,_0x16b5f3:0x463,_0x3c8789:0x4cd,_0x38ea23:0x633,_0x280416:0x721,_0x3e8dbe:0x664,_0x421201:0x70a,_0x1af73e:0x2ed,_0x38250b:0x62b,_0x453dac:0x76b,_0x5917f9:0x616,_0x7697f0:0xaa5,_0x5a549c:0xaff,_0x51a9c7:0xaa3,_0x162a13:0x6d6,_0x20a601:0x668,_0xbb077:0x439,_0x406a0d:0x546,_0x40ca9f:0x77e,_0xf8ee22:0x74d,_0x28b247:0x636,_0x4bfb42:0x955,_0xec9131:0x998,_0x44cdbb:0xae4,_0x58b8e4:0x85f,_0x33598f:0x778,_0x55b763:0x792,_0x5d1e82:0x717,_0x5db75b:0x774,_0x5357d5:0x42c,_0x543cc7:0x593,_0xb2ac9c:0x971,_0x43c93e:0xa45,_0x24a1f6:0xae1,_0x201532:0xbae,_0x2e2a40:0x829},_0x8a839b={_0x42162e:0xe9},_0x495209={_0x1ce0af:0x1be,_0x1f1eec:0x192};function _0x1974d0(_0x4233d3,_0x5076fb,_0x511223,_0x1e544f){return _0x3145c3(_0x4233d3-_0x495209._0x1ce0af,_0x1e544f- -0xfd,_0x511223-_0x495209._0x1f1eec,_0x4233d3);}const {maxBytes:_0x1b7efd,sessionDir:_0xd3c573}=_0x41f2e1;if(!_0x235acd[_0x4ced2b(0x62b,_0x47a3c3._0x1f84f2,0x4d2,_0x47a3c3._0x477635)]||Buffer[_0x1974d0(_0x47a3c3._0x2073ad,0x770,0x57a,_0x47a3c3._0x2a9b57)](_0x235acd[_0x1974d0(0x48f,_0x47a3c3._0xc3e40d,_0x47a3c3._0x527b81,0x43c)],_0x4ced2b(_0x47a3c3._0x15a62b,_0x47a3c3._0x23560f,0x860,_0x47a3c3._0x490c57))<=_0x1b7efd)return _0x235acd;function _0x4ced2b(_0x37e354,_0x1f2d30,_0xe0bf63,_0x240615){return _0x4d75fe(_0x37e354-_0x8a839b._0x42162e,_0xe0bf63,_0x37e354-0x3f7,_0x240615-0x48);}const _0x454141=Buffer[_0x1974d0(_0x47a3c3._0x4f696e,_0x47a3c3._0x22e443,_0x47a3c3._0x4a617d,0x727)](_0x235acd['output'],_0x4ced2b(0x6e2,0x5b6,0x4d9,_0x47a3c3._0x4729b4));if(!_0xd3c573){const _0x281755=_0x235acd[_0x1974d0(_0x47a3c3._0x27eb5f,_0x47a3c3._0x1998e9,_0x47a3c3._0x27d611,_0x47a3c3._0x2b523b)]['slice'](0x0,_0x1b7efd);return{..._0x235acd,'output':_0x281755+(_0x1974d0(0x48a,0x493,0x534,_0x47a3c3._0x4623ff)+_0x1b7efd+_0x1974d0(_0x47a3c3._0x4efb64,0x64e,0x3f0,_0x47a3c3._0x1d285a)+_0x454141+_0x4ced2b(0x6da,_0x47a3c3._0x2c7d1f,_0x47a3c3._0x2dd84d,_0x47a3c3._0x2749f7)),'meta':{..._0x235acd[_0x1974d0(0x799,0x8ed,_0x47a3c3._0x24b816,0x782)],'truncated':!![],'originalBytes':_0x454141,'transforms':[..._0x235acd[_0x4ced2b(0x971,_0x47a3c3._0x4a35b6,0x930,0xb07)][_0x4ced2b(0x9b5,0xbdf,_0x47a3c3._0x4484d8,_0x47a3c3._0x4f694d)],_0x1974d0(0x5b5,_0x47a3c3._0x54c893,_0x47a3c3._0x43869b,_0x47a3c3._0x16b5f3)]}};}const _0x32a850=_0x235acd[_0x1974d0(_0x47a3c3._0x3c8789,_0x47a3c3._0x38ea23,_0x47a3c3._0x280416,0x5e4)]+'_'+sanitizeFileName(_0x235acd['callId'])+'.log',_0x318bb2=_0x38ac15[_0x4ced2b(0x6ec,_0x47a3c3._0x3e8dbe,0x4d9,_0x47a3c3._0x421201)](_0xd3c573,_0x32a850);await _0x2c3dd0(_0xd3c573,{'recursive':!![]}),await writeFile(_0x318bb2,_0x235acd['output'],_0x1974d0(0x2d0,0x6bf,_0x47a3c3._0x1af73e,0x4f3));let _0x35aee8=_0x235acd[_0x4ced2b(_0x47a3c3._0x38250b,0x59e,_0x47a3c3._0x453dac,_0x47a3c3._0x5917f9)][_0x4ced2b(0x8e1,0x911,0xa17,_0x47a3c3._0x7697f0)](0x0,_0x1b7efd);const _0x3e54b9=_0x35aee8['lastIndexOf']('\x0a');_0x3e54b9>_0x1b7efd*0.5&&(_0x35aee8=_0x35aee8[_0x4ced2b(0x8e1,0x9f0,_0x47a3c3._0x5a549c,_0x47a3c3._0x51a9c7)](0x0,_0x3e54b9));const _0x1f725b=['',_0x4ced2b(_0x47a3c3._0x162a13,_0x47a3c3._0x20a601,0x51a,0x8c2),_0x1974d0(0x737,_0x47a3c3._0xbb077,0x6de,_0x47a3c3._0x406a0d)+_0x1b7efd+_0x4ced2b(_0x47a3c3._0x40ca9f,0x69b,_0x47a3c3._0xf8ee22,_0x47a3c3._0x28b247)+_0x454141+_0x4ced2b(_0x47a3c3._0x4bfb42,_0x47a3c3._0xec9131,_0x47a3c3._0x44cdbb,0x8fc),_0x4ced2b(_0x47a3c3._0x58b8e4,_0x47a3c3._0x33598f,0x656,0xa7e)+_0x318bb2,_0x1974d0(_0x47a3c3._0x55b763,_0x47a3c3._0x5d1e82,0x865,_0x47a3c3._0x5db75b),_0x1974d0(0x4f0,_0x47a3c3._0x5357d5,_0x47a3c3._0x543cc7,0x608)]['join']('\x0a');return{..._0x235acd,'output':_0x35aee8+_0x1f725b,'meta':{..._0x235acd[_0x4ced2b(_0x47a3c3._0xb2ac9c,_0x47a3c3._0x43c93e,_0x47a3c3._0x24a1f6,0xb00)],'truncated':!![],'originalBytes':_0x454141,'transforms':[..._0x235acd['meta'][_0x4ced2b(0x9b5,0x9de,_0x47a3c3._0x201532,_0x47a3c3._0x2e2a40)],'tool-output-offload']}};}import{readFile as _0x3bc40f,stat as _0x1c57cf}from'fs/promises';function createAnchoredFileError(_0x25d665,_0x8bae88,_0x4f649e){return new ToolExecutionError(_0x8bae88,{'error':_0x25d665,..._0x4f649e});}import{createHash}from'crypto';function sha256Bytes(_0x484cb7){const _0x2dd4fb={_0x3998a5:0x380,_0x12f62b:0x290,_0x3aa401:0x422,_0x55bb6e:0x5c8,_0x199eb8:0x60c},_0x20c181={_0x2f9c3f:0x14c},_0x17de65={_0x8c0a96:0x130,_0x53ee50:0x19c};function _0x492e16(_0x2c2363,_0x5321e9,_0x10a3be,_0x211e6d){return _0x3145c3(_0x2c2363-_0x17de65._0x8c0a96,_0x2c2363- -0x284,_0x10a3be-_0x17de65._0x53ee50,_0x10a3be);}function _0x3c777e(_0xd92d40,_0x219ade,_0x3493e1,_0x561204){return _0x4d75fe(_0xd92d40-_0x20c181._0x2f9c3f,_0xd92d40,_0x561204-0x291,_0x561204-0xc7);}return createHash(_0x492e16(_0x2dd4fb._0x3998a5,0x436,0x28c,0x4da))[_0x492e16(_0x2dd4fb._0x12f62b,0x1d7,0x466,_0x2dd4fb._0x3aa401)](_0x484cb7)['digest'](_0x3c777e(0x4b3,_0x2dd4fb._0x55bb6e,_0x2dd4fb._0x199eb8,_0x2dd4fb._0x55bb6e));}function countLines(_0x1a38c6){const _0x39cd1b={_0x4d178a:0x10d,_0x6294e8:0x47,_0x34726b:0xb3},_0x4672cf={_0x2be4e1:0x2a5},_0x23f42c={_0x5cbf2b:0x667};function _0x248343(_0x213c40,_0x2e76a8,_0x836d38,_0x2605f4){return _0x3145c3(_0x213c40-0x17f,_0x836d38- -_0x23f42c._0x5cbf2b,_0x836d38-0x13e,_0x2e76a8);}function _0x42c082(_0x272a0e,_0x212e56,_0x3aac2f,_0x3b70ae){return _0x4d75fe(_0x272a0e-0x189,_0x3aac2f,_0x3b70ae- -_0x4672cf._0x2be4e1,_0x3b70ae-0x3b);}const _0x1d3673=_0x1a38c6[_0x42c082(0x139,0x1e8,0x13d,-0x28)](/\n$/,'');return _0x1d3673['length']===0x0?0x0:_0x1d3673['split']('\x0a')[_0x248343(0x9d,_0x39cd1b._0x4d178a,-_0x39cd1b._0x6294e8,_0x39cd1b._0x34726b)];}function replaceFirstExact(_0x5ab326,_0x36f843,_0x3b4690){const _0x2eb293={_0x145f2f:0x20d,_0x4c62d7:0x284,_0x396e37:0x31c,_0x319884:0x3b0,_0x16e097:0x383,_0x2fe360:0x1ae,_0x4247b4:0x4d,_0x4b1702:0x174,_0x586b79:0xa3,_0x5574b6:0x251,_0x4fa5e4:0x2fd,_0x33c77d:0x67},_0xfc8e3a={_0x37843e:0x1ac},_0x1a7b5f={_0x3558f5:0x4d3},_0x3ea5e2=_0x5ab326[_0x57e716(0x374,_0x2eb293._0x145f2f,_0x2eb293._0x4c62d7,0x61)](_0x36f843);if(_0x3ea5e2===-0x1)return void 0x0;const _0x1537ba=_0x5ab326[_0x57e716(0x4b2,_0x2eb293._0x396e37,_0x2eb293._0x319884,_0x2eb293._0x16e097)](0x0,_0x3ea5e2)[_0x28dc50(_0x2eb293._0x2fe360,-0x51,0x38a,0x4)]('\x0a')[_0x28dc50(-_0x2eb293._0x4247b4,-_0x2eb293._0x4b1702,0xbc,-_0x2eb293._0x586b79)],_0x18e081=countLines(_0x36f843);function _0x57e716(_0x1c3a18,_0x4f4bc9,_0x225a42,_0x5523e1){return _0x3145c3(_0x1c3a18-0x172,_0x4f4bc9- -_0x1a7b5f._0x3558f5,_0x225a42-0xe5,_0x1c3a18);}const _0x2c7c48=countLines(_0x3b4690);function _0x28dc50(_0x48b41b,_0x3a4274,_0x111833,_0x27addd){return _0x3145c3(_0x48b41b-0xec,_0x48b41b- -0x66d,_0x111833-_0xfc8e3a._0x37843e,_0x27addd);}return{'before':_0x5ab326,'after':_0x5ab326[_0x57e716(0x4a2,_0x2eb293._0x396e37,_0x2eb293._0x5574b6,_0x2eb293._0x4fa5e4)](0x0,_0x3ea5e2)+_0x3b4690+_0x5ab326['slice'](_0x3ea5e2+_0x36f843[_0x28dc50(-0x4d,-0x25a,-_0x2eb293._0x33c77d,-0x20b)]),'lineNumbers':{'oldStartLine':_0x1537ba,'oldEndLine':_0x1537ba+_0x18e081-0x1,'newStartLine':_0x1537ba,'newEndLine':_0x1537ba+_0x2c7c48-0x1,'oldLineCount':_0x18e081,'newLineCount':_0x2c7c48}};}var MAX_OPERATIONS=0x64;function requireValidAnchorLine(_0x3f46cb){const _0x1d2fc8={_0x3d7479:0xce,_0x320944:0x2a6},_0x5902bc={_0x2708e8:0x411};function _0x169c2a(_0x2c6737,_0x2aad86,_0x20474a,_0x5105a9){return _0x3145c3(_0x2c6737-0xa0,_0x2aad86- -_0x5902bc._0x2708e8,_0x20474a-0x88,_0x20474a);}if(!Number['isSafeInteger'](_0x3f46cb)||_0x3f46cb<0x1)throw createAnchoredFileError(_0x169c2a(0x154,0xc7,_0x1d2fc8._0x3d7479,_0x1d2fc8._0x320944),'Line\x20numbers\x20must\x20be\x20positive\x20safe\x20integers;\x20got\x20'+String(_0x3f46cb)+'.');}function rangeLines(_0x5f561c,_0x2bd19b){const _0x2924e4={_0x371597:0x719,_0x348b03:0x6ec,_0x3cd14b:0x87b,_0x5a2669:0x717},_0x2fe07a={_0x1e8aac:0x92,_0x539bf1:0x346,_0xdecf2c:0x48};function _0x37c436(_0x4f38fe,_0x213146,_0x353fd8,_0x420760){return _0x4d75fe(_0x4f38fe-_0x2fe07a._0x1e8aac,_0x4f38fe,_0x213146-_0x2fe07a._0x539bf1,_0x420760-_0x2fe07a._0xdecf2c);}const _0xad53c2=[];for(let _0x4d9ecf=_0x5f561c;_0x4d9ecf<=_0x2bd19b;_0x4d9ecf+=0x1){_0xad53c2[_0x37c436(_0x2924e4._0x371597,_0x2924e4._0x348b03,_0x2924e4._0x3cd14b,_0x2924e4._0x5a2669)](_0x4d9ecf);}return _0xad53c2;}function normalizeContent(_0x6fc69f){const _0x37d918={_0xab5869:0x4a,_0xb85b02:0x337,_0x58f2ff:0x3f6},_0x1be2a3={_0x11241d:0x11b},_0x443fec={_0x414c14:0x1c7,_0x378091:0x16};function _0x33b08a(_0x445c69,_0x2c09da,_0x3fae47,_0x2adb17){return _0x4d75fe(_0x445c69-_0x443fec._0x414c14,_0x445c69,_0x2c09da- -0x1df,_0x2adb17-_0x443fec._0x378091);}function _0x45c718(_0x4642ae,_0x1a1fd0,_0x31f193,_0x15ebd7){return _0x3145c3(_0x4642ae-_0x1be2a3._0x11241d,_0x4642ae- -0x3fd,_0x31f193-0x16d,_0x1a1fd0);}return _0x6fc69f[_0x33b08a(0x3f,0x9e,_0x37d918._0xab5869,-0x88)](/\r\n/g,'\x0a')[_0x33b08a(0x478,_0x37d918._0xb85b02,_0x37d918._0x58f2ff,0x2c5)]('\x0a');}function planOperations(_0x5ed46a,_0xfd4c76){const _0x2bcd9f={_0xef88bd:0x323,_0x3cf260:0x2a1,_0x2f5b27:0xfa,_0x5b6ec3:0x6fa,_0x1200c1:0x2bf,_0x5d7b40:0x415,_0xf94b6:0x804,_0x1e85be:0x7f2,_0x3cabf5:0x4ec,_0x56852e:0x3e2,_0x1d2422:0x511,_0x59da07:0x263,_0x4e0a68:0x323,_0xf2e00f:0x4d,_0x59cffb:0x2d6,_0x3bacd4:0x160,_0x414909:0x360,_0x4156dc:0x50f,_0x3db7ff:0x695,_0x170793:0x676},_0x316508={_0x966433:0x940,_0x3e281b:0x90d,_0x4876aa:0x2cf,_0x1edac6:0xfb,_0x406039:0xd5,_0x54ca5d:0x329,_0x36875:0x634,_0x279093:0x77a,_0x399399:0x7ca,_0x55e1b4:0x9a4,_0x284be8:0x842,_0x3c8bb9:0x33e,_0x4d2773:0x22c,_0x429ab3:0xa63,_0x5e8e57:0x86f,_0x305d2d:0x950,_0x1de12b:0x90e,_0x3a8013:0x709,_0x32ab3e:0x77f,_0x5153ce:0x605,_0x219402:0x749,_0x2b846d:0x6da,_0x4d0aa1:0x817,_0x53bcc9:0x6d5,_0x1765b2:0x850,_0x5e78ae:0x83e,_0x5c6f4d:0x56f,_0x532b63:0x3c6,_0x266bce:0x20d,_0x2b877e:0x7ad,_0x30daac:0x8ae,_0x9b5692:0x613,_0x5e1bd3:0x1be,_0x429666:0x3de,_0x137c4c:0x621,_0x46b44f:0x56e,_0x3e2f28:0x800,_0x1e1cf0:0x56c,_0x3bd84c:0x5bf,_0x38eaa8:0x63c,_0x278fac:0x7a2,_0x192abe:0x6b7,_0x5da662:0x754,_0x24f558:0x5bc,_0x4069ec:0x41,_0x2dad65:0x1c0,_0x26dba6:0x369,_0x5633d7:0x3c6,_0x4eb315:0x5da,_0x2c7ab2:0x33a,_0x3d5b6e:0x143,_0x166771:0x3c6,_0x502496:0x4a4,_0x931565:0x7ea,_0x1a5adf:0x2c9,_0x3ea330:0xc8,_0x2f8e51:0xd,_0x4ea4f3:0x1e0,_0x1ca12e:0x2c3,_0x219773:0x7a2,_0x4a896e:0x877,_0x2d93eb:0x5d6,_0x57df0a:0x261,_0x2d2c8a:0x140,_0x252d5d:0x21c,_0x5807f7:0x7a2,_0x253a34:0xf6,_0x311d92:0xc4,_0x3e0ced:0x51,_0x241045:0x14a,_0x4b5f72:0x33f,_0x2c5964:0x48c,_0x2d1c08:0x94d,_0xfacd95:0x8a7,_0x4f2352:0x963,_0xe31f8:0x9a1,_0x1259cd:0x998,_0x9fb7df:0x7f5,_0x3d1293:0x373,_0x573127:0x199,_0x582cdf:0xed,_0x204702:0x7a6,_0x327acc:0x59c,_0x308db6:0x564,_0x36a41c:0x5bc,_0x19f743:0x721,_0x31e5f6:0x6f2,_0x3505a1:0x878,_0x1e39a1:0x495,_0x2a37df:0x583,_0x8b8c3d:0x5e3,_0x45b27d:0x907,_0x571e99:0x45b,_0x2761d4:0x464,_0x5f2c9e:0x8da,_0x3bb82f:0x8ec,_0x59a31b:0x82e,_0x2904de:0x7b8,_0x51f4f2:0x8d,_0x523968:0x44,_0x53e473:0x1eb,_0x17b0cd:0x79c,_0xa7f08b:0x76d,_0x3d9b89:0x3c0,_0x1e6193:0x384,_0xd9a595:0x3ff,_0x34811f:0x147,_0x1be944:0x568,_0x77d265:0xe3,_0xd26ed:0x11a,_0x132631:0x3,_0x213e1f:0x32e,_0x4c029d:0x21c,_0x4422cb:0xc9,_0x5c0030:0x51,_0x107beb:0x6dc,_0x1055f9:0xa20,_0x5e9ec3:0x7d7,_0x53751d:0x331,_0x3d67c0:0x1ea,_0x29f24f:0x1b4,_0x502e87:0x4d,_0x1a2c9e:0x6ae,_0x2883de:0x656,_0x10d0ce:0x592,_0x1fbd2d:0x40b,_0x45063c:0x8,_0x1a9f23:0x142,_0x218c90:0x1ae,_0x360a33:0x242,_0x51ea60:0x348,_0x3e47d8:0x25b,_0x15b925:0x384,_0x314c07:0x688,_0x233d68:0x4ff,_0x811960:0x6f9,_0x143784:0x778,_0x2b0edb:0x764,_0x54c7ea:0x47d,_0x4ca6ca:0x794,_0x5d08aa:0x617,_0x1878de:0x7c3,_0x56f632:0x637,_0x333fc9:0x79c,_0x2df21c:0x760,_0x1e099b:0x252,_0x18e118:0x71e,_0x4cb9bf:0x592,_0x5c261b:0x6ca,_0x37532e:0x101,_0x359af4:0x3d,_0x4657ec:0x810,_0x4d57a7:0x98b},_0x12a223={_0x4b994d:0x18a,_0x4098ed:0x18e},_0x542c6a={_0x16c89e:0x87,_0xeb1da3:0x102},_0x2e9a2f={_0x202844:0x157,_0x5cb525:0x1bd,_0x3c4edd:0x77};function _0x5346c3(_0x498a76,_0x3e44c1,_0x3389db,_0x1eecd7){return _0x3145c3(_0x498a76-_0x2e9a2f._0x202844,_0x3389db- -_0x2e9a2f._0x5cb525,_0x3389db-_0x2e9a2f._0x3c4edd,_0x1eecd7);}function _0x4afb9e(_0x152d31,_0x376323,_0x5099d0,_0x1711ba){return _0x3145c3(_0x152d31-_0x542c6a._0x16c89e,_0x376323- -0x2fd,_0x5099d0-_0x542c6a._0xeb1da3,_0x152d31);}if(_0xfd4c76[_0x4afb9e(0x19e,_0x2bcd9f._0xef88bd,0x427,_0x2bcd9f._0x3cf260)]===0x0)throw createAnchoredFileError(_0x5346c3(_0x2bcd9f._0x2f5b27,0x247,0x31b,0x487),_0x4afb9e(0x43e,0x5a9,_0x2bcd9f._0x5b6ec3,0x42f));if(_0xfd4c76[_0x4afb9e(_0x2bcd9f._0x1200c1,_0x2bcd9f._0xef88bd,_0x2bcd9f._0x5d7b40,0x1c7)]>MAX_OPERATIONS)throw createAnchoredFileError('invalid_range',_0x5346c3(_0x2bcd9f._0xf94b6,_0x2bcd9f._0x1e85be,0x6ae,0x713)+MAX_OPERATIONS+_0x5346c3(_0x2bcd9f._0x3cabf5,0x748,0x526,0x41d));if(_0x5ed46a[_0x4afb9e(_0x2bcd9f._0x56852e,0x3cc,0x461,_0x2bcd9f._0x1d2422)][_0x4afb9e(_0x2bcd9f._0x59da07,_0x2bcd9f._0x4e0a68,0x2c3,0x2eb)]===0x0)throw createAnchoredFileError(_0x4afb9e(0x194,0x1db,-_0x2bcd9f._0xf2e00f,_0x2bcd9f._0x59cffb),_0x5346c3(0x386,_0x2bcd9f._0x3bacd4,_0x2bcd9f._0x414909,_0x2bcd9f._0x4156dc));return _0xfd4c76[_0x5346c3(_0x2bcd9f._0x3db7ff,0x658,_0x2bcd9f._0x170793,0x60e)](_0x1566c9=>{const _0xccc468={_0x3467d5:0x3b7,_0x294416:0x1ca};function _0xc740c3(_0x222424,_0x4a37e2,_0x1e03f0,_0x3dc442){return _0x4afb9e(_0x1e03f0,_0x4a37e2-_0xccc468._0x3467d5,_0x1e03f0-0x1d5,_0x3dc442-_0xccc468._0x294416);}function _0x556ff1(_0x2eba93,_0x1c0b4f,_0x158148,_0x520920){return _0x4afb9e(_0x520920,_0x158148- -_0x12a223._0x4b994d,_0x158148-_0x12a223._0x4098ed,_0x520920-0x13e);}switch(_0x1566c9[_0xc740c3(0x6cd,0x810,_0x316508._0x966433,_0x316508._0x3e281b)]){case _0x556ff1(-0x25,_0x316508._0x4876aa,_0x316508._0x1edac6,_0x316508._0x406039):{requireValidAnchorLine(_0x1566c9[_0x556ff1(0x2bc,_0x316508._0x54ca5d,0x3c6,0x3dc)]),requireValidAnchorLine(_0x1566c9[_0xc740c3(_0x316508._0x36875,0x7a2,_0x316508._0x279093,0x8d7)]);if(_0x1566c9[_0xc740c3(0x92d,0x907,0x74f,0xa52)]>_0x1566c9[_0xc740c3(_0x316508._0x399399,0x7a2,_0x316508._0x55e1b4,_0x316508._0x284be8)])throw createAnchoredFileError(_0x556ff1(-0xf1,-0x113,0x51,0x17b),_0x556ff1(0x2e5,_0x316508._0x3c8bb9,_0x316508._0x4d2773,0x2fb));if(typeof _0x1566c9[_0x556ff1(0x244,-0x142,0x2b,-0x7c)]!==_0xc740c3(_0x316508._0x429ab3,_0x316508._0x5e8e57,0x94b,_0x316508._0x305d2d))throw createAnchoredFileError('invalid_range',_0xc740c3(0x7f1,_0x316508._0x1de12b,0x94c,_0x316508._0x3a8013));if(_0x1566c9[_0xc740c3(_0x316508._0x32ab3e,0x7a2,0x664,_0x316508._0x5153ce)]>_0x5ed46a['lines'][_0xc740c3(_0x316508._0x219402,_0x316508._0x2b846d,_0x316508._0x4d0aa1,_0x316508._0x53bcc9)])throw createAnchoredFileError('invalid_range',_0xc740c3(_0x316508._0x1765b2,_0x316508._0x5e78ae,0x6bc,0x63c)+_0x1566c9[_0x556ff1(_0x316508._0x5c6f4d,0x405,_0x316508._0x532b63,_0x316508._0x266bce)]+',\x20'+_0x1566c9[_0xc740c3(_0x316508._0x2b877e,0x7a2,0x64a,_0x316508._0x30daac)]+_0x556ff1(0x3b9,0x56f,0x457,_0x316508._0x9b5692)+_0x5ed46a[_0x556ff1(_0x316508._0x5e1bd3,0x2ae,0x242,_0x316508._0x429666)][_0xc740c3(_0x316508._0x137c4c,0x6da,_0x316508._0x46b44f,_0x316508._0x3e2f28)]+'-line\x20snapshot.');const _0x55c258=normalizeContent(_0x1566c9[_0xc740c3(0x4a1,_0x316508._0x1e1cf0,_0x316508._0x3bd84c,0x64c)]);return{'kind':_0xc740c3(0x44e,_0x316508._0x38eaa8,_0x316508._0x278fac,0x4ce),'canonical':{'operation':_0xc740c3(_0x316508._0x192abe,0x63c,0x451,0x7c8),'startLine':_0x1566c9[_0xc740c3(0xa88,0x907,0xa81,0x8ac)],'endLine':_0x1566c9[_0xc740c3(_0x316508._0x5da662,_0x316508._0x278fac,_0x316508._0x24f558,0x6e5)],'content':_0x55c258[_0x556ff1(0x152,-_0x316508._0x4069ec,0x173,_0x316508._0x2dad65)]('\x0a')},'spliceIndex':_0x1566c9[_0x556ff1(_0x316508._0x26dba6,0x27d,_0x316508._0x5633d7,_0x316508._0x4eb315)]-0x1,'deleteCount':_0x1566c9[_0x556ff1(_0x316508._0x2c7ab2,_0x316508._0x3d5b6e,0x261,0x347)]-_0x1566c9[_0xc740c3(0x822,0x907,0x99a,0xa66)]+0x1,'rows':_0x55c258,'sourceStart':_0x1566c9[_0x556ff1(0x3f9,_0x316508._0x266bce,_0x316508._0x166771,_0x316508._0x502496)],'sourceEnd':_0x1566c9[_0xc740c3(0x5d3,0x7a2,0x8a5,_0x316508._0x931565)],'requiredLines':rangeLines(_0x1566c9[_0x556ff1(0x4d6,_0x316508._0x1a5adf,_0x316508._0x166771,0x512)],_0x1566c9['endLine'])};}case _0x556ff1(_0x316508._0x3ea330,_0x316508._0x2f8e51,_0x316508._0x4ea4f3,0x31e):{requireValidAnchorLine(_0x1566c9[_0x556ff1(0x243,_0x316508._0x1ca12e,0x3c6,0x2a0)]),requireValidAnchorLine(_0x1566c9[_0xc740c3(0x6e9,_0x316508._0x219773,_0x316508._0x4a896e,_0x316508._0x2d93eb)]);if(_0x1566c9['startLine']>_0x1566c9[_0x556ff1(0x13a,0x315,_0x316508._0x57df0a,0x36d)])throw createAnchoredFileError('invalid_range',_0x556ff1(0x446,_0x316508._0x2d2c8a,_0x316508._0x252d5d,0x0));if(_0x1566c9[_0xc740c3(0x76a,_0x316508._0x5807f7,0x82f,0x6a8)]>_0x5ed46a[_0x556ff1(_0x316508._0x253a34,0x3dc,0x242,0x3fd)]['length'])throw createAnchoredFileError(_0x556ff1(0xe1,_0x316508._0x311d92,_0x316508._0x3e0ced,-0x1a2),_0x556ff1(0x4d5,_0x316508._0x241045,_0x316508._0x4b5f72,_0x316508._0x2c5964)+_0x1566c9[_0xc740c3(0x873,0x907,_0x316508._0x2d1c08,_0x316508._0xfacd95)]+',\x20'+_0x1566c9[_0xc740c3(_0x316508._0x4f2352,0x7a2,0x682,0x687)]+_0xc740c3(_0x316508._0xe31f8,_0x316508._0x1259cd,_0x316508._0x9fb7df,0xa26)+_0x5ed46a['lines'][_0x556ff1(0x2bb,_0x316508._0x3d1293,_0x316508._0x573127,_0x316508._0x582cdf)]+_0xc740c3(_0x316508._0x204702,_0x316508._0x327acc,0x3fc,0x743));return{'kind':_0xc740c3(_0x316508._0x308db6,0x721,_0x316508._0x327acc,0x5e9),'canonical':{'operation':_0xc740c3(_0x316508._0x36a41c,_0x316508._0x19f743,_0x316508._0x31e5f6,_0x316508._0x3505a1),'startLine':_0x1566c9[_0x556ff1(_0x316508._0x1e39a1,_0x316508._0x2a37df,0x3c6,_0x316508._0x8b8c3d)],'endLine':_0x1566c9['endLine']},'spliceIndex':_0x1566c9[_0xc740c3(0x7c4,_0x316508._0x45b27d,0x782,0x828)]-0x1,'deleteCount':_0x1566c9['endLine']-_0x1566c9[_0x556ff1(_0x316508._0x571e99,_0x316508._0x2761d4,0x3c6,0x34d)]+0x1,'rows':[],'sourceStart':_0x1566c9['startLine'],'sourceEnd':_0x1566c9[_0xc740c3(_0x316508._0x5f2c9e,_0x316508._0x219773,_0x316508._0x3bb82f,0x68c)],'requiredLines':rangeLines(_0x1566c9[_0xc740c3(_0x316508._0x59a31b,_0x316508._0x45b27d,0x773,0x7c3)],_0x1566c9[_0xc740c3(_0x316508._0x2904de,0x7a2,0x83f,0x660)])};}case _0x556ff1(-_0x316508._0x51f4f2,_0x316508._0x523968,0xd6,_0x316508._0x53e473):{requireValidAnchorLine(_0x1566c9['line']);if(_0x1566c9[_0xc740c3(0x5c1,_0x316508._0x17b0cd,_0x316508._0xa7f08b,0x741)]!==_0x556ff1(0x57d,_0x316508._0x3d9b89,_0x316508._0x1e6193,_0x316508._0xd9a595)&&_0x1566c9['position']!=='after')throw createAnchoredFileError(_0x556ff1(0x1df,-_0x316508._0x4069ec,0x51,_0x316508._0x34811f),_0xc740c3(_0x316508._0x1be944,0x6dc,0x705,0x82b));if(typeof _0x1566c9[_0x556ff1(_0x316508._0x77d265,-_0x316508._0xd26ed,0x2b,_0x316508._0x132631)]!==_0x556ff1(0x451,0x11a,_0x316508._0x213e1f,_0x316508._0x4c029d))throw createAnchoredFileError(_0x556ff1(_0x316508._0x4422cb,0x168,_0x316508._0x5c0030,0x128),_0xc740c3(_0x316508._0x107beb,0x7f8,_0x316508._0x1055f9,_0x316508._0x5e9ec3));if(_0x1566c9[_0x556ff1(_0x316508._0x53751d,_0x316508._0x3d67c0,_0x316508._0x34811f,_0x316508._0x29f24f)]>_0x5ed46a[_0x556ff1(_0x316508._0x502e87,0x72,0x242,0x1f)][_0xc740c3(_0x316508._0x1a2c9e,0x6da,0x64b,0x788)])throw createAnchoredFileError(_0xc740c3(_0x316508._0x2883de,_0x316508._0x10d0ce,0x52e,_0x316508._0x2b877e),_0x556ff1(0x1ac,0x3cb,0x264,_0x316508._0x1fbd2d)+_0x1566c9['line']+_0x556ff1(0x135,_0x316508._0x45063c,_0x316508._0x1a9f23,-0x4e)+_0x5ed46a[_0x556ff1(_0x316508._0x218c90,0x86,_0x316508._0x360a33,_0x316508._0x51ea60)][_0x556ff1(-0x5d,0xd5,_0x316508._0x573127,0x332)]+'-line\x20snapshot.');const _0x2e13cf=normalizeContent(_0x1566c9['content']),_0x12c47d=_0x1566c9[_0x556ff1(0x3ee,0x31d,_0x316508._0x3e47d8,0x39e)]===_0x556ff1(0x532,0x376,_0x316508._0x15b925,0x35a)?_0x1566c9[_0xc740c3(0x84f,_0x316508._0x314c07,_0x316508._0x233d68,_0x316508._0x811960)]-0x1:_0x1566c9[_0xc740c3(_0x316508._0x143784,0x688,_0x316508._0x2b0edb,_0x316508._0x54c7ea)];return{'kind':_0xc740c3(_0x316508._0x4ca6ca,_0x316508._0x5d08aa,_0x316508._0x1878de,0x62e),'canonical':{'operation':'insert','position':_0x1566c9[_0xc740c3(_0x316508._0x56f632,_0x316508._0x333fc9,0x69f,_0x316508._0x2df21c)],'line':_0x1566c9[_0xc740c3(_0x316508._0x233d68,_0x316508._0x314c07,0x880,0x485)],'content':_0x2e13cf[_0x556ff1(0x1d1,_0x316508._0x1e099b,0x173,0x33e)]('\x0a')},'spliceIndex':_0x12c47d,'deleteCount':0x0,'rows':_0x2e13cf,'gap':_0x12c47d,'requiredLines':[_0x1566c9[_0xc740c3(0x8af,0x688,0x62f,0x45e)]]};}default:{const _0x15f253=_0x1566c9;throw createAnchoredFileError(_0xc740c3(_0x316508._0x18e118,_0x316508._0x4cb9bf,_0x316508._0x5c261b,0x4f3),_0x556ff1(0x1e5,0x7b,_0x316508._0x37532e,-_0x316508._0x359af4)+String(_0x15f253[_0xc740c3(0x95b,_0x316508._0x4657ec,0x9bd,_0x316508._0x4d57a7)])+'\x27.');}}});}function assertNoOverlaps(_0x54c91c){const _0x211206={_0x846de2:0x38c,_0x28febe:0xba,_0x230aae:0x41,_0x1c6008:0x143,_0x2b9da1:0x5db,_0x5f0eed:0x6a2,_0x313425:0x62e,_0x377f4c:0x159,_0x150fcb:0x1fe,_0x9626b9:0x6ee,_0x236606:0x5b8,_0x212dfc:0x5b3,_0x270a47:0x5af,_0x4012e5:0x54e,_0x2fbb9a:0x5dd,_0x5710a2:0x6e1,_0x699edb:0x3fc,_0x74c873:0x6,_0xfcb6da:0xc0,_0x4a78d4:0x4d5,_0x4c90de:0x2d7,_0x1f5af4:0x6a2,_0x1c319d:0x111,_0x4b010f:0x10d,_0x4202b:0x7a9,_0x3669c1:0x732,_0x4da36a:0x912,_0x1a031b:0x554},_0x38735a={_0x2f69fe:0x96},_0x597786={_0x43f105:0x158};function _0x5134d3(_0x1e0d79,_0x5dada3,_0x486193,_0x195cbe){return _0x3145c3(_0x1e0d79-_0x597786._0x43f105,_0x1e0d79- -0x5df,_0x486193-0x11d,_0x5dada3);}function _0x17d11d(_0x10b242,_0x468785,_0x40949a,_0x489a4a){return _0x3145c3(_0x10b242-0xa9,_0x468785- -0xd2,_0x40949a-_0x38735a._0x2f69fe,_0x40949a);}const _0x5b4e87=_0x54c91c['filter'](_0x3b277c=>_0x3b277c[_0x17d11d(0x5b1,0x69a,0x8b2,0x60c)]===_0x17d11d(0x2f3,0x4b0,0x414,0x4f7)||_0x3b277c[_0x17d11d(0x6f0,0x69a,0x777,0x570)]==='delete'),_0x47a493=_0x54c91c[_0x5134d3(0x30e,_0x211206._0x846de2,0x279,0x3f6)](_0x398c0a=>_0x398c0a['kind']===_0x17d11d(0x33f,0x48b,0x2a9,0x619));for(let _0x3ba2e4=0x0;_0x3ba2e4<_0x5b4e87[_0x5134d3(0x41,0x178,-_0x211206._0x28febe,0x133)];_0x3ba2e4+=0x1){for(let _0x277b4e=_0x3ba2e4+0x1;_0x277b4e<_0x5b4e87[_0x5134d3(_0x211206._0x230aae,0x52,_0x211206._0x1c6008,-0x139)];_0x277b4e+=0x1){const _0x593ba0=_0x5b4e87[_0x3ba2e4],_0x5a78fe=_0x5b4e87[_0x277b4e];if(Math[_0x17d11d(0x271,0x483,0x468,_0x211206._0x2b9da1)](_0x593ba0[_0x17d11d(0x57f,_0x211206._0x5f0eed,_0x211206._0x313425,0x6a3)],_0x5a78fe[_0x5134d3(0x195,0x9a,-0x28,_0x211206._0x377f4c)])<=Math[_0x17d11d(0x2cb,0x4a4,0x58b,0x3fa)](_0x593ba0[_0x5134d3(0x225,0x190,_0x211206._0x150fcb,0x349)],_0x5a78fe['sourceEnd']))throw createAnchoredFileError('overlapping_operations',_0x17d11d(_0x211206._0x9626b9,0x70e,_0x211206._0x236606,0x5ee));}}for(let _0x27c443=0x0;_0x27c443<_0x47a493[_0x17d11d(0x32d,0x54e,_0x211206._0x212dfc,0x45a)];_0x27c443+=0x1){for(let _0x3ddbc4=_0x27c443+0x1;_0x3ddbc4<_0x47a493[_0x17d11d(_0x211206._0x270a47,_0x211206._0x4012e5,_0x211206._0x2fbb9a,_0x211206._0x5710a2)];_0x3ddbc4+=0x1){if(_0x47a493[_0x27c443][_0x17d11d(0x2c4,_0x211206._0x699edb,0x2ac,0x34e)]===_0x47a493[_0x3ddbc4]['gap'])throw createAnchoredFileError('overlapping_operations',_0x5134d3(-0xdb,-0x56,-_0x211206._0x74c873,_0x211206._0xfcb6da));}}for(const _0x43d7c2 of _0x47a493){for(const _0x35c670 of _0x5b4e87){if(_0x43d7c2[_0x17d11d(0x5cc,_0x211206._0x699edb,_0x211206._0x4a78d4,_0x211206._0x4c90de)]>=_0x35c670[_0x17d11d(0x4d7,_0x211206._0x1f5af4,0x47d,0x743)]&&_0x43d7c2[_0x5134d3(-_0x211206._0x1c319d,0xa2,_0x211206._0x4b010f,-0x12d)]<=_0x35c670[_0x17d11d(_0x211206._0x4202b,_0x211206._0x3669c1,_0x211206._0x4da36a,_0x211206._0x1a031b)]-0x1)throw createAnchoredFileError('overlapping_operations',_0x5134d3(-0x27,-0xc0,0x1f3,-0x93));}}}function assertLinesObserved(_0x39004e,_0x4aad4e){const _0x4865ba={_0x56e084:0x753,_0x438652:0x593,_0x3f7e21:0x77a,_0xed365a:0x752,_0x106c66:0xa30,_0x46ea33:0x614,_0x4f16a9:0x843,_0x3e3d60:0x54c,_0x1fb90b:0x6c6,_0x1f0d4a:0x714,_0x174b11:0x5f0,_0x39ae04:0x749,_0x3ec472:0x8bc,_0x1326c5:0x32e,_0x369355:0x35c},_0x5001d6={_0x39bb10:0xa},_0x35cba9=new Set();for(const _0x459816 of _0x39004e){for(const _0x14a8be of _0x459816[_0x1606a1(_0x4865ba._0x56e084,_0x4865ba._0x438652,0x95a,_0x4865ba._0x3f7e21)]){_0x35cba9['add'](_0x14a8be);}}const _0x53a4f4=[..._0x35cba9][_0x1606a1(0x6b7,0x5e5,0x686,_0x4865ba._0xed365a)]((_0x5447c1,_0x531459)=>_0x5447c1-_0x531459);function _0x3b2761(_0x2f09ec,_0x19c3d1,_0x38b760,_0x5c9cc9){return _0x3145c3(_0x2f09ec-0xcf,_0x19c3d1- -0x1d4,_0x38b760-_0x5001d6._0x39bb10,_0x38b760);}for(const _0xf10a94 of _0x53a4f4){if(!_0x4aad4e[_0x1606a1(0x832,_0x4865ba._0x106c66,_0x4865ba._0x46ea33,_0x4865ba._0x4f16a9)](_0xf10a94))throw createAnchoredFileError(_0x3b2761(_0x4865ba._0x3e3d60,_0x4865ba._0x1fb90b,_0x4865ba._0x1f0d4a,_0x4865ba._0x174b11),_0x1606a1(_0x4865ba._0x39ae04,0x6a7,0x5a2,_0x4865ba._0x3ec472)+_0xf10a94+_0x3b2761(_0x4865ba._0x1326c5,_0x4865ba._0x369355,0x3ec,0x51f),{'requiredLines':_0x53a4f4});}function _0x1606a1(_0x9d0fcc,_0xab39d6,_0x3c96e1,_0xe04948){return _0x3145c3(_0x9d0fcc-0x1bd,_0x9d0fcc-0x132,_0x3c96e1-0xc9,_0xab39d6);}return _0x53a4f4;}function applyOperations(_0x2d4d22,_0x4e1c01){const _0x4857b9={_0x4f725d:0xfc,_0x182210:0x2ee,_0x12687f:0x24f,_0x5a78b6:0x622,_0x35c7b1:0x3f9,_0x8478be:0x513,_0x4eab68:0x52f,_0x2f007e:0x587,_0x56b4e6:0x24d,_0x21f138:0xbb},_0x34103c={_0x55c755:0x55e},_0x233875={_0x3aeace:0x135,_0x200cb3:0x117},_0xaa7ecb={_0x36e11b:0x213,_0x2bb5e8:0x23,_0x1373e7:0x301,_0x48683c:0x207,_0x5546f8:0x458,_0x1b59ae:0x2bf,_0x389ea7:0x8b,_0xd44537:0x79,_0xd00e24:0xbd,_0x22c5e0:0x286,_0x58095c:0x107,_0x5ca6b5:0x73},_0x25ad11={_0x4cc300:0x1a0},_0x337917={_0x2ce83d:0x257},_0x508d4e=[..._0x2d4d22['lines']],_0x4450b5=[..._0x4e1c01]['sort']((_0x7b0b5b,_0xf8a97c)=>{if(_0x7b0b5b[_0x4e7378(0x301,_0xaa7ecb._0x36e11b,0x213,0x51a)]!==_0xf8a97c[_0x297c63(0x24a,0xcc,_0xaa7ecb._0x2bb5e8,0x379)])return _0xf8a97c['spliceIndex']-_0x7b0b5b[_0x4e7378(_0xaa7ecb._0x1373e7,0xfa,_0xaa7ecb._0x48683c,0x493)];const _0x902715=_0x7b0b5b[_0x297c63(0x25f,0x144,_0xaa7ecb._0x5546f8,_0xaa7ecb._0x1b59ae)]===_0x4e7378(0x107,_0xaa7ecb._0x389ea7,-_0xaa7ecb._0xd44537,-_0xaa7ecb._0xd00e24);function _0x297c63(_0x46a29d,_0x267d0d,_0x3efcd7,_0x5735d8){return _0x2a9a(_0x46a29d- -_0x337917._0x2ce83d,_0x267d0d);}function _0x4e7378(_0x14e4bb,_0x4b5114,_0x30e594,_0x48aa97){return _0x2a9a(_0x14e4bb- -_0x25ad11._0x4cc300,_0x30e594);}const _0x163385=_0xf8a97c[_0x297c63(0x25f,0x1ae,0x3b2,_0xaa7ecb._0x22c5e0)]===_0x4e7378(_0xaa7ecb._0x58095c,_0xaa7ecb._0x5ca6b5,0x17a,0x125);if(_0x902715!==_0x163385)return _0x902715?0x1:-0x1;return 0x0;});for(const _0x3b8bbd of _0x4450b5){_0x508d4e[_0x2a6162(_0x4857b9._0x4f725d,_0x4857b9._0x182210,_0x4857b9._0x12687f,0x410)](_0x3b8bbd[_0x4cdfff(0x401,0x792,_0x4857b9._0x5a78b6,0x538)],_0x3b8bbd[_0x4cdfff(_0x4857b9._0x35c7b1,0x5af,_0x4857b9._0x8478be,0x311)],..._0x3b8bbd[_0x4cdfff(0x681,_0x4857b9._0x4eab68,_0x4857b9._0x2f007e,0x4a3)]);}function _0x4cdfff(_0x471597,_0x471908,_0x5d6093,_0x5abe65){return _0x3145c3(_0x471597-0x132,_0x5d6093- -_0x233875._0x3aeace,_0x5d6093-_0x233875._0x200cb3,_0x471908);}function _0x2a6162(_0x290489,_0x279a0f,_0x13714c,_0x3d743e){return _0x3145c3(_0x290489-0x1a0,_0x279a0f- -_0x34103c._0x55c755,_0x13714c-0xc1,_0x13714c);}if(_0x508d4e[_0x2a6162(0x21c,0xc2,_0x4857b9._0x56b4e6,_0x4857b9._0x21f138)]===0x0)return'';const _0x6cd80d=_0x508d4e['join']('\x0a');return _0x2d4d22['finalNewline']?_0x6cd80d+'\x0a':_0x6cd80d;}function operationRowDelta(_0x407ed2){const _0x192782={_0x5966d3:0x43d,_0x1a2db1:0x479,_0x20d088:0x551,_0x49e1d6:0x446,_0xf9f82a:0x535,_0x21dce9:0x3c9,_0x5a023a:0x4e9},_0x3b2488={_0xd398aa:0x33,_0x3ea0d7:0x86,_0x7e9678:0x1f0},_0x497e58={_0xe5167d:0x7d,_0x499164:0x209,_0x3573f1:0x11d};function _0x5c6a51(_0x276d44,_0x2dfd22,_0x46bc11,_0x147648){return _0x4d75fe(_0x276d44-_0x497e58._0xe5167d,_0x276d44,_0x2dfd22-_0x497e58._0x499164,_0x147648-_0x497e58._0x3573f1);}function _0x5d2c0b(_0x5a03bc,_0x49ca56,_0x158df8,_0x3dbe1c){return _0x4d75fe(_0x5a03bc-_0x3b2488._0xd398aa,_0x5a03bc,_0x49ca56-_0x3b2488._0x3ea0d7,_0x3dbe1c-_0x3b2488._0x7e9678);}return _0x407ed2[_0x5d2c0b(0x277,_0x192782._0x5966d3,_0x192782._0x1a2db1,0x531)][_0x5c6a51(_0x192782._0x20d088,0x524,_0x192782._0x49e1d6,_0x192782._0xf9f82a)]-_0x407ed2[_0x5d2c0b(0x391,_0x192782._0x21dce9,_0x192782._0x5a023a,0x429)];}function finalFileOrder(_0x55987e){const _0x194210={_0x5b4617:0x33a,_0x2080cd:0x21},_0x1988b2={_0x26f248:0xd1,_0x454898:0x3e2,_0x165bcd:0x26d,_0x452c67:0x17f,_0x8a7345:0x3a7,_0xf6323a:0x54d,_0x5f250f:0x609,_0xc21e21:0x51b},_0x5f399b={_0x6ed724:0x2e},_0x2be6fc={_0x1048c6:0xa,_0x4ab712:0x41b,_0x4b3044:0x59};function _0x356aa5(_0xb1ff6b,_0x9aa62b,_0x2b705b,_0x51bc3a){return _0x3145c3(_0xb1ff6b-_0x2be6fc._0x1048c6,_0x9aa62b- -_0x2be6fc._0x4ab712,_0x2b705b-_0x2be6fc._0x4b3044,_0x51bc3a);}return[..._0x55987e][_0x356aa5(-0x9f,0x16a,_0x194210._0x5b4617,-_0x194210._0x2080cd)]((_0x11d305,_0x117153)=>{const _0x58456f={_0x59d14d:0xcc,_0x25956d:0xcf,_0x5833ba:0x78};if(_0x11d305[_0x21fab3(_0x1988b2._0x26f248,0x93,_0x1988b2._0x454898,_0x1988b2._0x165bcd)]!==_0x117153[_0x21fab3(_0x1988b2._0x452c67,_0x1988b2._0x8a7345,0x7c,0x26d)])return _0x11d305['spliceIndex']-_0x117153[_0x21fab3(0x117,0x1af,0x3e5,_0x1988b2._0x165bcd)];function _0x48586c(_0x4403e5,_0x479d57,_0x1f0ff3,_0x564be3){return _0x356aa5(_0x4403e5-_0x5f399b._0x6ed724,_0x4403e5-0x1fc,_0x1f0ff3-0x45,_0x479d57);}const _0xf095b2=_0x11d305['kind']==='insert',_0x1d1927=_0x117153[_0x48586c(_0x1988b2._0xf6323a,_0x1988b2._0x5f250f,_0x1988b2._0xc21e21,0x581)]==='insert';function _0x21fab3(_0x34de2c,_0x50a614,_0x14e2e4,_0x3b3ce2){return _0x356aa5(_0x34de2c-_0x58456f._0x59d14d,_0x3b3ce2- -_0x58456f._0x25956d,_0x14e2e4-_0x58456f._0x5833ba,_0x50a614);}if(_0xf095b2!==_0x1d1927)return _0xf095b2?-0x1:0x1;return 0x0;});}function computeFinalFileNewSideLines(_0x10c031){const _0xc538ea={_0x1e32c9:0x321,_0x148573:0x2a,_0x29fda9:0x49,_0x151aef:0x74b,_0x28f575:0x6c6,_0x139798:0x53c,_0x5e1d80:0x344,_0x4176ed:0x665,_0x584560:0x184,_0x356d42:0x6d,_0x328167:0x54e,_0x2d854d:0x377,_0x56c043:0x428,_0x138c9d:0x620,_0x3e88cb:0x255,_0x5a3e8f:0x47,_0xf000df:0x3cc,_0x191670:0x2bf,_0x2b3579:0x5c6,_0x3045da:0x7c4,_0x29f958:0x66,_0x629bb6:0x161,_0x13b9fe:0x4e6,_0x4da52d:0x47a,_0x3c9686:0x5d9,_0x466a69:0x159,_0x24408a:0x32},_0x331163={_0x1fdd14:0x18b},_0x4b796d={_0x512d3f:0x12d,_0x4855f2:0x15f,_0x3497a4:0x1dd};function _0x23fd25(_0x1c9abb,_0x37d046,_0x2ac01a,_0x3e20e9){return _0x4d75fe(_0x1c9abb-_0x4b796d._0x512d3f,_0x1c9abb,_0x2ac01a-_0x4b796d._0x4855f2,_0x3e20e9-_0x4b796d._0x3497a4);}const _0x2bb108=new Array(_0x10c031['length']);function _0x4de8e7(_0x458506,_0x54cb56,_0x4a6ea1,_0x1294bb){return _0x3145c3(_0x458506-0x1b0,_0x458506- -0x587,_0x4a6ea1-_0x331163._0x1fdd14,_0x1294bb);}let _0x9df70b=0x0;for(const _0x1c37cb of finalFileOrder(_0x10c031)){const _0xd01f58=_0x1c37cb[_0x4de8e7(0x1e5,0x88,0x2dc,_0xc538ea._0x1e32c9)]===_0x4de8e7(-_0xc538ea._0x148573,-_0xc538ea._0x29fda9,-0x165,0x39)?_0x1c37cb['canonical'][_0x23fd25(_0xc538ea._0x151aef,_0xc538ea._0x28f575,_0xc538ea._0x139798,_0xc538ea._0x5e1d80)]===_0x23fd25(0x4f4,0x78e,_0xc538ea._0x4176ed,0x6dc)?_0x1c37cb[_0x4de8e7(0x6a,-0xc0,_0xc538ea._0x584560,-_0xc538ea._0x356d42)][_0x23fd25(_0xc538ea._0x328167,_0xc538ea._0x2d854d,_0xc538ea._0x56c043,0x4a4)]:_0x1c37cb[_0x23fd25(_0xc538ea._0x138c9d,_0xc538ea._0x3e88cb,0x44b,0x2d7)][_0x4de8e7(_0xc538ea._0x5a3e8f,0x2f,-0x124,-0x4e)]+0x1:_0x1c37cb[_0x4de8e7(0x1ed,0xad,_0xc538ea._0xf000df,_0xc538ea._0x191670)],_0x298cd6=_0xd01f58+_0x9df70b,_0x50a94e=_0x1c37cb[_0x23fd25(0x700,0x7e7,_0xc538ea._0x2b3579,_0xc538ea._0x3045da)]==='delete'?0x0:_0x1c37cb[_0x4de8e7(0x135,_0xc538ea._0x29f958,_0xc538ea._0x629bb6,0x281)][_0x23fd25(_0xc538ea._0x13b9fe,0x4be,_0xc538ea._0x4da52d,_0xc538ea._0x3c9686)];_0x2bb108[_0x10c031[_0x4de8e7(_0xc538ea._0x466a69,0x6a,0x15c,-_0xc538ea._0x24408a)](_0x1c37cb)]={'newStartLine':_0x298cd6,'newEndLine':_0x298cd6+_0x50a94e-0x1},_0x9df70b+=operationRowDelta(_0x1c37cb);}return _0x2bb108;}function buildBlock(_0x38ce7b,_0x4bc4f1,_0x57e6d0,_0x501a87){const _0x1abd93={_0x1378ca:0x5cc,_0x51efe6:0x52b,_0x27c571:0x3ae,_0x243499:0x3aa,_0x4eaca6:0x1ee,_0x588913:0x487,_0x3bf4f8:0x5ff,_0x5f1574:0x679,_0x5a038e:0x357,_0x20b25b:0x3b0,_0x269275:0x4b8,_0x419ce1:0x48e,_0x545051:0x276,_0x45a0f7:0x55d,_0x1d6595:0x401,_0x200318:0x3f0,_0x35dfaf:0x567,_0x544566:0x2c6,_0x261487:0x264,_0x3677ed:0x376,_0x2f0eae:0x371,_0x29d5ab:0x277,_0xcb579c:0x2f8,_0x312e61:0x338,_0x57370f:0x2bf,_0x2b575c:0x1fa,_0x32e502:0x254,_0x8bb27a:0x1f7,_0x4df983:0x1fc,_0x24ce43:0x1d9,_0x2b6694:0x21d},_0x357a27={_0x3cf100:0x403,_0xe29de4:0x17c},_0x919917={_0x3e9817:0x1e1};function _0x1229b3(_0x283ec7,_0xc58682,_0x555ce3,_0x1dfeab){return _0x3145c3(_0x283ec7-0x1d0,_0x283ec7- -0x384,_0x555ce3-_0x919917._0x3e9817,_0x555ce3);}if(_0x4bc4f1[_0x1229b3(0x3e8,_0x1abd93._0x1378ca,_0x1abd93._0x51efe6,0x597)]===_0x1229b3(0x1d9,0x130,0x25a,0x264)){const {line:_0xc7f54,position:_0x3847d5}=_0x4bc4f1[_0x4511e0(0x3fa,_0x1abd93._0x27c571,_0x1abd93._0x243499,_0x1abd93._0x4eaca6)],_0x55772a=_0x3847d5===_0x1229b3(_0x1abd93._0x588913,_0x1abd93._0x3bf4f8,0x5dd,_0x1abd93._0x5f1574)?_0xc7f54:_0xc7f54+0x1;return{'oldText':'','newText':_0x4bc4f1[_0x1229b3(0x338,0x18c,0x511,0x25b)]['join']('\x0a'),'lineNumbers':{'oldStartLine':_0x55772a,'oldEndLine':_0x55772a-0x1,'newStartLine':_0x57e6d0,'newEndLine':_0x501a87,'oldLineCount':0x0,'newLineCount':_0x4bc4f1['rows']['length']}};}const _0x3c5a62=_0x38ce7b[_0x1229b3(0x345,0x244,0x1bf,_0x1abd93._0x5a038e)]['slice'](_0x4bc4f1[_0x4511e0(_0x1abd93._0x20b25b,_0x1abd93._0x269275,_0x1abd93._0x419ce1,0x371)]-0x1,_0x4bc4f1[_0x4511e0(0x3fb,0x524,0x532,0x401)])[_0x1229b3(_0x1abd93._0x545051,0x27f,0x271,0x309)]('\x0a');function _0x4511e0(_0x410750,_0x42ee9e,_0x62f79f,_0x519a7d){return _0x3145c3(_0x410750-0x14e,_0x519a7d- -_0x357a27._0x3cf100,_0x62f79f-_0x357a27._0xe29de4,_0x62f79f);}const _0x36c02f=_0x4bc4f1[_0x4511e0(0x3ce,_0x1abd93._0x45a0f7,0x29b,_0x1abd93._0x1d6595)]-_0x4bc4f1[_0x1229b3(_0x1abd93._0x200318,0x48c,_0x1abd93._0x35dfaf,0x569)]+0x1;if(_0x4bc4f1['kind']===_0x4511e0(0x395,0x6d,_0x1abd93._0x544566,_0x1abd93._0x261487))return{'oldText':_0x3c5a62,'newText':'','lineNumbers':{'oldStartLine':_0x4bc4f1[_0x4511e0(0x3f7,0x23d,_0x1abd93._0x3677ed,_0x1abd93._0x2f0eae)],'oldEndLine':_0x4bc4f1[_0x4511e0(_0x1abd93._0x29d5ab,_0x1abd93._0xcb579c,0x396,0x401)],'newStartLine':_0x57e6d0,'newEndLine':_0x57e6d0-0x1,'oldLineCount':_0x36c02f,'newLineCount':0x0}};return{'oldText':_0x3c5a62,'newText':_0x4bc4f1[_0x1229b3(_0x1abd93._0x312e61,_0x1abd93._0x57370f,_0x1abd93._0x2b575c,0x24b)][_0x4511e0(-0xc,0x128,_0x1abd93._0x32e502,_0x1abd93._0x8bb27a)]('\x0a'),'lineNumbers':{'oldStartLine':_0x4bc4f1[_0x4511e0(0x24c,_0x1abd93._0x4df983,0x435,0x371)],'oldEndLine':_0x4bc4f1['sourceEnd'],'newStartLine':_0x57e6d0,'newEndLine':_0x501a87,'oldLineCount':_0x36c02f,'newLineCount':_0x4bc4f1[_0x1229b3(_0x1abd93._0x312e61,0x181,0x527,0x116)][_0x4511e0(0x332,0x1c2,_0x1abd93._0x24ce43,_0x1abd93._0x2b6694)]}};}function stableStringify(_0x134b45){const _0x245f1e={_0x37aa8c:0x5e9,_0x5c5a3f:0x188,_0x8d0a0f:0x179,_0x3117a6:0x31e,_0x136f6a:0x3f9,_0x546c15:0x406,_0x11455f:0x42f,_0x352bc:0x1be,_0x4f971:0x56f,_0x360eed:0x460,_0x2f3f3a:0x4ed,_0x4c97d6:0x58e,_0x35fed9:0x2be,_0x3c0f0e:0x439},_0x13e728={_0x16a3ec:0xce,_0x1f4c27:0xac},_0x1049af={_0x4a80a0:0x695};function _0x54d214(_0x4f1974,_0x188a3c,_0x348737,_0x183232){return _0x3145c3(_0x4f1974-0x185,_0x188a3c- -_0x1049af._0x4a80a0,_0x348737-0x123,_0x4f1974);}if(Array['isArray'](_0x134b45))return'['+_0x134b45[_0x5d4ace(_0x245f1e._0x37aa8c,0x41c,0x460,0x450)](stableStringify)[_0x54d214(-0x23c,-0x9b,-0x15d,-_0x245f1e._0x5c5a3f)](',')+']';function _0x5d4ace(_0x32c97a,_0x287706,_0x31a34a,_0x155b68){return _0x4d75fe(_0x32c97a-0xe9,_0x32c97a,_0x31a34a- -_0x13e728._0x16a3ec,_0x155b68-_0x13e728._0x1f4c27);}if(_0x134b45!==null&&typeof _0x134b45===_0x5d4ace(0x543,_0x245f1e._0x8d0a0f,_0x245f1e._0x3117a6,0x515)){const _0x437cf8=_0x134b45;return'{'+Object[_0x5d4ace(_0x245f1e._0x136f6a,0x1fb,_0x245f1e._0x546c15,_0x245f1e._0x11455f)](_0x437cf8)[_0x54d214(0x97,-0x110,-_0x245f1e._0x352bc,-0x19b)]()[_0x5d4ace(0x479,_0x245f1e._0x4f971,_0x245f1e._0x360eed,_0x245f1e._0x2f3f3a)](_0xba9349=>JSON['stringify'](_0xba9349)+':'+stableStringify(_0x437cf8[_0xba9349]))['join'](',')+'}';}return JSON[_0x5d4ace(_0x245f1e._0x4c97d6,_0x245f1e._0x35fed9,0x45e,_0x245f1e._0x3c0f0e)](_0x134b45);}function prepareCanonicalFileEdit(_0x303bb2,_0x56a044,_0x468ee3){const _0x3e1047={_0x57d795:0x26d,_0x503c64:0x5f9,_0x4af898:0x6fa,_0x144661:0x14e,_0x1d1c3a:0x18,_0x31674e:0x623,_0xec9786:0x501,_0x50052b:0x5b1},_0x231178={_0x1c694f:0x628,_0x4eec24:0x9},_0x501120={_0x3079a6:0x1aa,_0x5e33e5:0x13d},_0xca7493=planOperations(_0x303bb2,_0x468ee3);assertNoOverlaps(_0xca7493);const _0x93b5b1=assertLinesObserved(_0xca7493,_0x56a044),_0x8f6b55=applyOperations(_0x303bb2,_0xca7493);if(_0x8f6b55===_0x303bb2[_0x30d10d(-0x5d,-0x52,-_0x3e1047._0x57d795,-0x160)])throw createAnchoredFileError(_0x21ad33(0x850,_0x3e1047._0x503c64,_0x3e1047._0x4af898,0x512),_0x30d10d(-_0x3e1047._0x144661,-0x214,-_0x3e1047._0x1d1c3a,-0x22c));function _0x21ad33(_0x550941,_0x16560f,_0x23b74e,_0x31a697){return _0x3145c3(_0x550941-_0x501120._0x3079a6,_0x23b74e- -_0x501120._0x5e33e5,_0x23b74e-0x1db,_0x550941);}const _0x484165=_0xca7493[_0x21ad33(_0x3e1047._0x31674e,_0x3e1047._0xec9786,0x6f6,_0x3e1047._0x50052b)](_0x248295=>_0x248295[_0x21ad33(0x346,0x3f4,0x4b4,0x412)]),_0x4d8ba2=computeFinalFileNewSideLines(_0xca7493);function _0x30d10d(_0x469400,_0x281818,_0x3b634d,_0x972e33){return _0x3145c3(_0x469400-0x4d,_0x469400- -_0x231178._0x1c694f,_0x3b634d-_0x231178._0x4eec24,_0x3b634d);}return{'afterText':_0x8f6b55,'operations':_0x484165,'blocks':_0xca7493['map']((_0x16087c,_0x56f300)=>{const {newStartLine:_0xbdcd95,newEndLine:_0x493bbb}=_0x4d8ba2[_0x56f300];return buildBlock(_0x303bb2,_0x16087c,_0xbdcd95,_0x493bbb);}),'requiredLines':_0x93b5b1,'payloadDigest':sha256Bytes(stableStringify(_0x484165))};}import _0x215ef0 from'string-width';var EMPTY_FILE_MESSAGE=_0x4d75fe(0x7db,0x4de,0x5f3,0x817);function _0x2a9a(_0x53b4f5,_0x1b835b){_0x53b4f5=_0x53b4f5-0x1f3;const _0x1b4579=_0x1b45();let _0x2a9ad7=_0x1b4579[_0x53b4f5];if(_0x2a9a['vtYhcH']===undefined){var _0x4d1fac=function(_0x1baefe){const _0x2f2270='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x34626e='',_0x54b900='';for(let _0x1366d2=0x0,_0x5363a8,_0x4d5bf4,_0x43ac9a=0x0;_0x4d5bf4=_0x1baefe['charAt'](_0x43ac9a++);~_0x4d5bf4&&(_0x5363a8=_0x1366d2%0x4?_0x5363a8*0x40+_0x4d5bf4:_0x4d5bf4,_0x1366d2++%0x4)?_0x34626e+=String['fromCharCode'](0xff&_0x5363a8>>(-0x2*_0x1366d2&0x6)):0x0){_0x4d5bf4=_0x2f2270['indexOf'](_0x4d5bf4);}for(let _0x36e553=0x0,_0x2c3dd0=_0x34626e['length'];_0x36e553<_0x2c3dd0;_0x36e553++){_0x54b900+='%'+('00'+_0x34626e['charCodeAt'](_0x36e553)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x54b900);};_0x2a9a['gkSJPP']=_0x4d1fac,_0x2a9a['XYVTuH']={},_0x2a9a['vtYhcH']=!![];}const _0x5a46a4=_0x1b4579[0x0],_0x358d1b=_0x53b4f5+_0x5a46a4,_0x21a024=_0x2a9a['XYVTuH'][_0x358d1b];return!_0x21a024?(_0x2a9ad7=_0x2a9a['gkSJPP'](_0x2a9ad7),_0x2a9a['XYVTuH'][_0x358d1b]=_0x2a9ad7):_0x2a9ad7=_0x21a024,_0x2a9ad7;}function clampLine(_0x1b938b,_0x488d35){const _0x19f612={_0x577b4e:0xf3,_0x1ddfd9:0x951,_0x3f265e:0x950,_0x394106:0x8fe,_0x3801ad:0x75b},_0x26caa3={_0x41a74e:0xac,_0x3928fb:0x4bf,_0x37c728:0x1c0},_0xf22635={_0x1a7125:0x56,_0x4be929:0x4f};function _0x2b8b3d(_0x534664,_0x3ccbfa,_0x7b31e1,_0x28fb09){return _0x4d75fe(_0x534664-_0xf22635._0x1a7125,_0x7b31e1,_0x28fb09-0x3e7,_0x28fb09-_0xf22635._0x4be929);}if(!Number['isFinite'](_0x1b938b))return 0x1;function _0x21e7c9(_0x179ffa,_0x536741,_0x20e2f4,_0x5378ef){return _0x3145c3(_0x179ffa-_0x26caa3._0x41a74e,_0x179ffa- -_0x26caa3._0x3928fb,_0x20e2f4-_0x26caa3._0x37c728,_0x20e2f4);}return Math[_0x21e7c9(0x96,0x16d,0x118,_0x19f612._0x577b4e)](0x1,Math['min'](Math[_0x2b8b3d(_0x19f612._0x1ddfd9,_0x19f612._0x3f265e,_0x19f612._0x394106,_0x19f612._0x3801ad)](_0x1b938b),_0x488d35));}function formatAnchoredFileRead(_0x5ab350){const _0x1babb6={_0x91fd9b:0x179,_0x51a568:0x139,_0x5b3f3b:0x1d3,_0x22768f:0x12c,_0x9e9b4b:0xed,_0x2792f7:0x2ee,_0x45f9ae:0x30e,_0x37b5d7:0x10c,_0x3df87a:0xc7,_0xafdcc3:0x51,_0x5ddf88:0xfd,_0x210d40:0x1f9,_0x21a003:0x122,_0x5b5d77:0x1a4,_0xe84a7e:0x111,_0x19d2c7:0x443,_0x3b6825:0x1c8,_0x3a36b7:0x189,_0x5ba902:0x1ee,_0x1e1358:0x13a,_0x4880cc:0x133,_0x209bb7:0x1ba,_0x2a5ef3:0x286,_0x2f2cc1:0x0,_0x595344:0x1bf,_0x16422f:0x10,_0x4b2840:0xa1,_0x3dde17:0xf6,_0xec9966:0x17d},_0x3eb9ff={_0x3a9e6b:0x525},{displayPath:_0x1c5899,snapshot:_0x36e21c,maxBytes:_0x28a378}=_0x5ab350,_0x12aee8=_0x36e21c[_0x1e69d6(0x11c,0x2e,-_0x1babb6._0x91fd9b,-_0x1babb6._0x51a568)]['length'],_0x57485e='['+_0x1c5899+'#'+_0x36e21c[_0x1e69d6(-_0x1babb6._0x5b3f3b,0x2b,0x23e,0xd1)]+']\x0a',_0x5f4227=Buffer['byteLength'](_0x57485e,_0x3172ee(0x40,0xcb,-_0x1babb6._0x22768f,0x1de));if(_0x12aee8===0x0){const _0x32edcf=''+_0x57485e+EMPTY_FILE_MESSAGE+'\x0a';return{'output':_0x32edcf,'displayedLines':[],'truncated':![]};}const _0x3cc110=clampLine(_0x5ab350[_0x3172ee(_0x1babb6._0x9e9b4b,_0x1babb6._0x2792f7,_0x1babb6._0x45f9ae,0x41f)]??0x1,_0x12aee8),_0x5965c0=clampLine(_0x5ab350[_0x1e69d6(0x25f,_0x1babb6._0x37b5d7,0x2bd,-_0x1babb6._0x3df87a)]??_0x12aee8,_0x12aee8),_0x55c91a=Math[_0x3172ee(-0xac,_0x1babb6._0xafdcc3,_0x1babb6._0x5ddf88,_0x1babb6._0x210d40)](_0x3cc110,_0x5965c0),_0x137be3=Math[_0x1e69d6(-_0x1babb6._0x21a003,-0x146,-0x1b0,-0x2c6)](_0x3cc110,_0x5965c0),_0x3125c4=[],_0x4ebac5=[];function _0x1e69d6(_0x47dfb,_0x4bac81,_0x53f3ff,_0x406ec1){return _0x3145c3(_0x47dfb-0x11f,_0x4bac81- -0x69b,_0x53f3ff-0x193,_0x406ec1);}function _0x3172ee(_0x4bf7e9,_0x2e4e6c,_0x5475b8,_0x2c897b){return _0x3145c3(_0x4bf7e9-0x1a9,_0x2e4e6c- -_0x3eb9ff._0x3a9e6b,_0x5475b8-0x19f,_0x5475b8);}let _0x11c28d=_0x5f4227;for(let _0xf76b1e=_0x55c91a;_0xf76b1e<=_0x137be3;_0xf76b1e+=0x1){const _0x5411b3=_0xf76b1e+':'+_0x36e21c[_0x3172ee(0x2e5,_0x1babb6._0x5b5d77,_0x1babb6._0xe84a7e,0x110)][_0xf76b1e-0x1]+'\x0a',_0x2a5bd5=Buffer[_0x3172ee(_0x1babb6._0x19d2c7,0x2ff,0x3d6,_0x1babb6._0x3b6825)](_0x5411b3,'utf8'),_0x356663=_0xf76b1e+0x1,_0x2c1c61=Buffer[_0x1e69d6(-0x7c,_0x1babb6._0x3a36b7,0x1e6,_0x1babb6._0x5ba902)](_0x1e69d6(0xcd,-0xbc,-0x107,-0x6b)+_0x356663+'.\x0a','utf8');if(_0x11c28d+_0x2a5bd5+_0x2c1c61>_0x28a378){const _0x230fe3=_0x1e69d6(-_0x1babb6._0x1e1358,-0xbc,0x6e,_0x1babb6._0x4880cc)+_0xf76b1e+'.\x0a';return{'output':''+_0x57485e+_0x3125c4[_0x1e69d6(-_0x1babb6._0x209bb7,-0xa1,0x124,-_0x1babb6._0x2a5ef3)]('')+_0x230fe3,'displayedLines':_0x4ebac5,'lineStart':_0x55c91a,'lineEnd':_0x4ebac5[_0x4ebac5[_0x3172ee(0x2cc,0xfb,_0x1babb6._0x2f2cc1,-0x89)]-0x1],'truncated':!![],'nextLineStart':_0xf76b1e};}_0x3125c4[_0x1e69d6(0xfd,0x10,0x14,-_0x1babb6._0x595344)](_0x5411b3),_0x4ebac5[_0x3172ee(-_0x1babb6._0x16422f,0x186,0x1b1,0x1b2)](_0xf76b1e),_0x11c28d+=_0x2a5bd5;}return{'output':''+_0x57485e+_0x3125c4[_0x1e69d6(-0x40,-_0x1babb6._0x4b2840,-_0x1babb6._0x3dde17,-_0x1babb6._0xec9966)](''),'displayedLines':_0x4ebac5,'lineStart':_0x55c91a,'lineEnd':_0x137be3,'truncated':![]};}function isWithinDisplayColumns(_0x2e4f54,_0x421a2f){return _0x215ef0(_0x2e4f54)<=_0x421a2f;}import{randomUUID as _0x3b6198}from'crypto';import{chmod,rename,rm,writeFile as _0x104b86}from'fs/promises';import*as _0x257c76 from'path';var defaultFileSystem={'writeFile':_0x104b86,'chmod':chmod,'rename':rename,'rm':rm};async function atomicReplaceFile(_0x4959dc,_0x3f4bc5,_0x4389f6,_0x56d692){const _0x2b9caf={_0x424f3e:0x31d,_0x35e36d:0x2f4,_0x501651:0x418,_0x1509da:0x2a,_0x180ad0:0x247},_0xca7080={_0x382ec9:0x15b,_0x4c0e08:0x1},_0x4028ab={_0x149607:0x91,_0xc6b391:0x683},_0x2a9f87=_0x56d692??defaultFileSystem,_0x5403a9=_0x257c76['dirname'](_0x4959dc),_0x22f571=_0x257c76['join'](_0x5403a9,'.tmp.'+_0x257c76[_0x2f75c6(_0x2b9caf._0x424f3e,0x1fa,_0x2b9caf._0x35e36d,0x1d5)](_0x4959dc)+'.'+_0x3b6198());function _0x3b8281(_0xe1b08d,_0x92130e,_0x57fc66,_0x4eb660){return _0x3145c3(_0xe1b08d-_0x4028ab._0x149607,_0x4eb660- -_0x4028ab._0xc6b391,_0x57fc66-0xd9,_0x57fc66);}const _0x33d73e=_0x4389f6&0xfff;function _0x2f75c6(_0x13ad6d,_0x4e5154,_0x4bc850,_0x374663){return _0x4d75fe(_0x13ad6d-_0xca7080._0x382ec9,_0x4bc850,_0x4e5154- -0xeb,_0x374663-_0xca7080._0x4c0e08);}try{await _0x2a9f87[_0x2f75c6(0x559,_0x2b9caf._0x501651,0x587,0x2a3)](_0x22f571,_0x3f4bc5,{'mode':_0x33d73e}),await _0x2a9f87[_0x3b8281(_0x2b9caf._0x1509da,-_0x2b9caf._0x180ad0,-0x1f2,-0xfc)](_0x22f571,_0x33d73e),await _0x2a9f87['rename'](_0x22f571,_0x4959dc);}finally{await _0x2a9f87['rm'](_0x22f571,{'force':!![]});}}var utf8Decoder=new TextDecoder('utf-8',{'fatal':!![],'ignoreBOM':!![]});function exactReplacementGuidance(_0x1af065,_0x2defaa){const _0x5bd989={_0x4f4bfc:0x649,_0x218937:0x58d,_0x23408e:0x5d7,_0x4af416:0x7d7},_0x481b83={_0x11d576:0x11f},_0x212d34={_0x349ad0:0x37};function _0x32468b(_0x4e9924,_0x5a2107,_0x297520,_0x4b3a62){return _0x4d75fe(_0x4e9924-_0x212d34._0x349ad0,_0x5a2107,_0x297520-0x267,_0x4b3a62-0x169);}function _0x15ecda(_0x43a539,_0x1dee3a,_0x2d7e6f,_0x364291){return _0x4d75fe(_0x43a539-0xf0,_0x2d7e6f,_0x43a539- -_0x481b83._0x11d576,_0x364291-0x181);}throw createAnchoredFileError(_0x32468b(_0x5bd989._0x4f4bfc,_0x5bd989._0x218937,0x651,_0x5bd989._0x23408e),_0x2defaa+'\x20'+_0x1af065+_0x32468b(0x91a,0x723,_0x5bd989._0x4af416,0x7d5),{'path':_0x1af065});}function createNormalizedFileSnapshot(_0x3e6d40,_0x36d584,_0xc0b6ef){const _0x2cb1fe={_0x13e437:0x5c1,_0x5c2cea:0x49a,_0x4e81db:0x741,_0x23df01:0x3e6,_0x14454e:0x768,_0x131c99:0x770,_0x28f03a:0x6ec,_0x1e3abc:0x492,_0x5350d4:0x4c1,_0x4ba985:0x6a0,_0x5a2475:0x5f9,_0x5a224e:0x747,_0x290793:0x822,_0x4a9fb9:0x2f0,_0x2ba65a:0x3df,_0x4bc6a4:0x4a5,_0x399287:0x622,_0x21ee2a:0x53c,_0x3273b7:0x531,_0xb2b863:0x7af,_0x34bb81:0x718,_0x22efb2:0x565,_0x2d4ff9:0x43c,_0x5a8fde:0x6f2,_0x192ed2:0x8f4,_0x447e4b:0x7ea,_0x1f5b63:0x75e,_0x3afdd2:0x5aa,_0x558f19:0x453,_0x9fa0ec:0x40e,_0x100973:0x586},_0x5b2c11={_0x3b611e:0x2bf};Buffer['from'](_0x36d584)[_0x47700c(0x4d9,0x3b4,_0x2cb1fe._0x13e437,_0x2cb1fe._0x5c2cea)](0x0)&&exactReplacementGuidance(_0x3e6d40,_0x32d1e9(0x721,_0x2cb1fe._0x4e81db,0x5c0,0x8e4)+_0x3e6d40+'\x20contains\x20NUL\x20bytes.');let _0x167002;try{_0x167002=utf8Decoder['decode'](_0x36d584);}catch{exactReplacementGuidance(_0x3e6d40,_0x47700c(0x383,_0x2cb1fe._0x23df01,_0x2cb1fe._0x14454e,0x591)+_0x3e6d40+_0x32d1e9(0x8e3,_0x2cb1fe._0x131c99,0x903,_0x2cb1fe._0x28f03a));}function _0x32d1e9(_0x55358e,_0x37ffef,_0xef8235,_0x1d41a3){return _0x4d75fe(_0x55358e-0x150,_0x1d41a3,_0x37ffef-_0x5b2c11._0x3b611e,_0x1d41a3-0x1bf);}const _0x3df302=_0x167002['charCodeAt'](0x0)===0xfeff;if(_0x3df302)_0x167002=_0x167002[_0x47700c(_0x2cb1fe._0x1e3abc,_0x2cb1fe._0x5350d4,_0x2cb1fe._0x4ba985,_0x2cb1fe._0x5a2475)](0x1);const _0x27eabf=_0x167002[_0x32d1e9(0x45c,0x64a,_0x2cb1fe._0x5a224e,_0x2cb1fe._0x290793)]('\x0d\x0a');function _0x47700c(_0x11fe8b,_0x532991,_0x32fc97,_0xab8f17){return _0x3145c3(_0x11fe8b-0x15d,_0xab8f17- -0x1f6,_0x32fc97-0x1da,_0x32fc97);}const _0x3ed18e=/(?<!\r)\n/[_0x47700c(0x294,0x216,_0x2cb1fe._0x4a9fb9,_0x2cb1fe._0x2ba65a)](_0x167002);_0x27eabf&&_0x3ed18e&&exactReplacementGuidance(_0x3e6d40,'File\x20'+_0x3e6d40+'\x20mixes\x20LF\x20and\x20CRLF\x20line\x20endings.');const _0x259932=_0x27eabf?_0x47700c(0x45d,_0x2cb1fe._0x4bc6a4,_0x2cb1fe._0x399287,0x4e1):'lf',_0x1923e7=_0x27eabf?_0x167002[_0x32d1e9(0x713,_0x2cb1fe._0x21ee2a,0x634,0x5c4)](/\r\n/g,'\x0a'):_0x167002,_0x38e408=_0x1923e7[_0x47700c(0x642,_0x2cb1fe._0x3273b7,_0x2cb1fe._0xb2b863,0x5bc)]('\x0a'),_0x263411=_0x1923e7===''?[]:_0x1923e7[_0x47700c(_0x2cb1fe._0x34bb81,0x5b3,_0x2cb1fe._0x22efb2,0x625)]('\x0a')[_0x47700c(_0x2cb1fe._0x2d4ff9,_0x2cb1fe._0x5a8fde,0x68f,0x5f9)](0x0,_0x38e408?-0x1:void 0x0),_0x70b21d=sha256Bytes(_0x1923e7),_0x1e4425=_0x70b21d[_0x32d1e9(_0x2cb1fe._0x192ed2,0x7a9,0x613,_0x2cb1fe._0x447e4b)](0x0,0xc)[_0x32d1e9(0x87e,0x822,0x96b,_0x2cb1fe._0x1f5b63)]();return{'canonicalPath':_0x3e6d40,'text':_0x1923e7,'lines':_0x263411,'finalNewline':_0x38e408,'bom':_0x3df302,'eol':_0x259932,'digest':_0x70b21d,'tag':_0x1e4425,'utf8Bytes':Buffer['byteLength'](_0x1923e7,_0x32d1e9(0x397,_0x2cb1fe._0x3afdd2,_0x2cb1fe._0x558f19,0x4c4)),'recordedAt':_0xc0b6ef??Date[_0x32d1e9(_0x2cb1fe._0x9fa0ec,0x556,0x59b,_0x2cb1fe._0x100973)]()};}function serializeNormalizedFile(_0x5d8131,_0x40e509){const _0x15dbef={_0x3586ee:0x43e,_0x279f11:0x3b9,_0x5ad845:0x32e,_0x5a02cb:0xfb},_0x38754a={_0x3af8b4:0x21,_0x5b0c44:0xac},_0x59f941={_0x4db42f:0x200},_0x2a8d8f=_0x40e509[_0x3843b8(0x820,0x8d0,0x5da,0x6cc)]==='crlf'?_0x5d8131[_0x3843b8(0x3be,0x47c,_0x15dbef._0x3586ee,_0x15dbef._0x279f11)](/\n/g,'\x0d\x0a'):_0x5d8131;function _0x462cb7(_0x42e61e,_0x3e100b,_0x5e9009,_0x5b0f67){return _0x4d75fe(_0x42e61e-0x1a8,_0x42e61e,_0x5e9009- -_0x59f941._0x4db42f,_0x5b0f67-0x14d);}const _0x2f45b9=Buffer[_0x462cb7(0x28f,_0x15dbef._0x5ad845,0x261,0x2cc)](_0x2a8d8f,_0x462cb7(0x272,_0x15dbef._0x5a02cb,0xeb,0x2d8));function _0x3843b8(_0x568527,_0xe94060,_0x5d5a57,_0x8ffe3a){return _0x4d75fe(_0x568527-_0x38754a._0x3af8b4,_0x568527,_0x8ffe3a-0x13c,_0x8ffe3a-_0x38754a._0x5b0c44);}return _0x40e509['bom']?Buffer['concat']([Buffer['from']([0xef,0xbb,0xbf]),_0x2f45b9]):_0x2f45b9;}var MAX_ANCHORED_OPERATIONS=0x64,MAX_ANCHORED_CONTENT_BYTES=0x100*0x400,textEncoder=new TextEncoder();function utf8Bytes(_0x7d4ef1){const _0x4bf21b={_0x41d23a:0x367,_0x420e56:0x60,_0x226734:0x2c,_0x1b9200:0x32},_0x2debc1={_0x32a416:0x63,_0x16950a:0x303,_0x54c3fa:0x7f},_0x58553a={_0x10da4c:0x158};function _0x3c1bcd(_0x3e8e7e,_0x7e76a0,_0xa664bf,_0xa3a0f2){return _0x3145c3(_0x3e8e7e-_0x58553a._0x10da4c,_0xa664bf- -0x48e,_0xa664bf-0x20,_0x3e8e7e);}function _0x27a0ce(_0x93cf5d,_0x2f0596,_0x58fcbc,_0x160877){return _0x3145c3(_0x93cf5d-_0x2debc1._0x32a416,_0x160877- -_0x2debc1._0x16950a,_0x58fcbc-_0x2debc1._0x54c3fa,_0x2f0596);}return textEncoder[_0x27a0ce(0x263,_0x4bf21b._0x41d23a,0x163,0x26b)](_0x7d4ef1)[_0x3c1bcd(_0x4bf21b._0x420e56,_0x4bf21b._0x226734,0x192,_0x4bf21b._0x1b9200)];}var TAG_PATTERN=/^[0-9A-F]{12}$/,replaceOperationSchema={'type':'object','properties':{'operation':{'type':_0x3145c3(0x77f,0x7b5,0x7df,0x8c3),'enum':[_0x3145c3(0x466,0x582,0x4c6,0x57c)]},'startLine':{'type':_0x3145c3(0x7e7,0x847,0x7d6,0x961)},'endLine':{'type':_0x3145c3(0x8e8,0x847,0x9ca,0x9da)},'content':{'type':'string'}},'required':[_0x4d75fe(0x46b,0x462,0x451,0x42c),'startLine',_0x4d75fe(0x290,0x3b9,0x3e3,0x505),'content'],'additionalProperties':![]},deleteOperationSchema={'type':_0x3145c3(0x53c,0x6f1,0x7b1,0x695),'properties':{'operation':{'type':_0x4d75fe(0x338,0x535,0x4b0,0x310),'enum':[_0x3145c3(0x583,0x667,0x440,0x74f)]},'startLine':{'type':_0x3145c3(0xa12,0x847,0x839,0xa67)},'endLine':{'type':_0x4d75fe(0x4c1,0x457,0x542,0x54a)}},'required':['operation',_0x4d75fe(0x5f0,0x37e,0x548,0x4dc),_0x4d75fe(0x404,0x259,0x3e3,0x2e0)],'additionalProperties':![]},insertOperationSchema={'type':_0x3145c3(0x884,0x6f1,0x56d,0x674),'properties':{'operation':{'type':_0x4d75fe(0x4ea,0x4b5,0x4b0,0x35f),'enum':[_0x3145c3(0x67c,0x55d,0x567,0x4ba)]},'position':{'type':_0x4d75fe(0x52d,0x37c,0x4b0,0x5cf),'enum':['before',_0x4d75fe(0x51a,0x289,0x2f3,0x25a)]},'line':{'type':'number'},'content':{'type':_0x4d75fe(0x458,0x55c,0x4b0,0x3ff)}},'required':[_0x3145c3(0x8c3,0x756,0x56c,0x5be),_0x4d75fe(0x2d9,0x57a,0x3dd,0x426),_0x4d75fe(0x346,0x29d,0x2c9,0x396),_0x4d75fe(0x1ee,-0x61,0x1ad,0x398)],'additionalProperties':![]},structuredFileEditInputSchema={'type':_0x3145c3(0x719,0x6f1,0x50c,0x516),'properties':{'filePath':{'type':_0x4d75fe(0x58f,0x39c,0x4b0,0x34c)},'tag':{'type':_0x4d75fe(0x538,0x378,0x4b0,0x53e)},'description':{'type':_0x4d75fe(0x480,0x5d3,0x4b0,0x566)},'operations':{'type':'array','items':{'anyOf':[replaceOperationSchema,deleteOperationSchema,insertOperationSchema]}},'dryRun':{'type':_0x4d75fe(0x32c,0x513,0x4b9,0x4ca)}},'required':[_0x3145c3(0x574,0x727,0x71c,0x889),_0x3145c3(0x732,0x6c6,0x7c1,0x6bf),_0x4d75fe(0x5ca,0x654,0x58b,0x3be)],'additionalProperties':![]};function requireValidLineNumber(_0x4134aa,_0xfbf846){const _0xb4ec48={_0x4039f3:0x54f,_0xf282ad:0x2df,_0x2e18b9:0x22c,_0x54bda4:0x159,_0x2ebd74:0x153,_0x1a46c4:0x31b,_0x544bc8:0x22b,_0x7ff577:0x112},_0x24c8db={_0x3f485a:0x15f,_0x28a03f:0x10c},_0x32e1d3={_0x528d6c:0x72};function _0x18cb72(_0x23d670,_0x5c7c9b,_0xa5ef7d,_0x443cdc){return _0x3145c3(_0x23d670-_0x32e1d3._0x528d6c,_0xa5ef7d- -0x3bf,_0xa5ef7d-0x12,_0x23d670);}function _0x598536(_0x2818f3,_0x1a1efc,_0x2d55be,_0x2f641e){return _0x3145c3(_0x2818f3-_0x24c8db._0x3f485a,_0x2818f3- -0x517,_0x2d55be-_0x24c8db._0x28a03f,_0x2f641e);}if(!Number[_0x598536(0x37b,_0xb4ec48._0x4039f3,_0xb4ec48._0xf282ad,0x36e)](_0x4134aa)||_0x4134aa<0x1)throw createAnchoredFileError(_0x598536(_0xb4ec48._0x2e18b9,0x39b,_0xb4ec48._0x54bda4,_0xb4ec48._0x2ebd74),_0xfbf846+_0x18cb72(_0xb4ec48._0x1a46c4,_0xb4ec48._0x544bc8,_0xb4ec48._0x7ff577,0x1db)+String(_0x4134aa)+'.');}function parseStructuredFileEditInput(_0x335b6c){const _0x46c6fc={_0x3c8758:0x45e,_0x50d462:0x383,_0x5c312c:0x2b2,_0x1763a2:0x2d7,_0x391784:0x364,_0x2fa655:0x2cb,_0x44079c:0x5fd,_0x2a8203:0x2b1,_0x3ecb94:0x36d,_0x205923:0x319,_0x15d249:0x458,_0x3017a4:0x38d,_0x2c396c:0x3e2,_0x1e1947:0x69b,_0x2427d5:0x5fc,_0x5809e7:0x53c,_0x336fc5:0x119,_0x2cc057:0x16c,_0x2c6324:0x227,_0x228fe9:0x233,_0x60af45:0x408,_0x1d2c8f:0x11e,_0x125f0e:0x2da,_0x3d4604:0x63,_0x1f3394:0x195,_0x2396b0:0x16d,_0x581562:0x141,_0x7b6167:0x48,_0x85a80a:0x14f,_0x330044:0x291,_0x40d825:0x4b0,_0x251cde:0x62c,_0x3e906a:0x2e0,_0x18b2f1:0x3ff,_0x4030c9:0xd0,_0x331d1a:0x5e,_0x50d425:0x31a,_0x318d7e:0x285,_0x3bbd3e:0x34b,_0x342356:0x36b,_0x57df05:0x4b2,_0xf90b2b:0x4e6,_0x4ec4e6:0x3f,_0x206eb6:0x1cc,_0x5b7cf7:0x4df,_0x4be7cd:0x7b9,_0x240670:0x126,_0x32c922:0x322,_0xba768c:0x100,_0x5e595b:0x105,_0x3c08d8:0x654,_0x253e58:0x579,_0x352de2:0x15f,_0x41b75c:0x1df,_0x470f04:0x341,_0x2f457b:0x37,_0x38b041:0x120,_0x22f0f8:0x5ba,_0xaa742e:0x3a3,_0x26f392:0x8f,_0x1ffc5c:0x15e,_0x15ae4b:0x455,_0x522f8a:0x33e,_0x1c1936:0x395,_0x7e92d6:0x4c4,_0x45ce3e:0x7b5,_0x170a0f:0x2e3,_0x3c89f7:0x171,_0x44a939:0x354,_0x558948:0x3f,_0x510eff:0x361,_0x332df3:0x282,_0x18fe81:0x4e,_0x1f294f:0x2c2,_0xf77afb:0x188,_0x577a1b:0xb,_0x3e5224:0x254,_0x5cbf9d:0x21f,_0x1e932a:0x89,_0x2cd95b:0x128,_0x21a42f:0x473,_0x221afc:0x8d,_0x3a9a4e:0x72,_0x10c173:0x3c,_0x2a0cf7:0x5fa,_0x4e4ba6:0x51f,_0x5b26fe:0x369,_0x53f796:0x2ef,_0x17d933:0x554,_0xc0434d:0x250,_0x476079:0x38e,_0x1570ac:0x2d6,_0x5137c3:0x352,_0x59a507:0x148,_0x4606b9:0xd,_0x3828de:0xb8,_0x1a4593:0x1a,_0x3d9c66:0x155,_0x23bbb8:0x4a5,_0x299918:0x50a,_0x40850b:0x4a1,_0x29eada:0x1a,_0x43e11c:0x213,_0x6c3076:0x44f,_0x50b406:0x47c,_0x9b79fa:0x553,_0x85051b:0x49a,_0x3eb1ed:0x21f,_0x5e5735:0x2f6,_0x352011:0x494,_0x594203:0x317,_0x520ecc:0x1e3},_0x321007={_0x28a8b0:0x72,_0x2983d3:0x145},_0x4127c9={_0xdfb594:0x577},_0x13b795=_0x335b6c;if(_0x13b795!==null&&typeof _0x13b795===_0x32dff1(_0x46c6fc._0x3c8758,0x41a,_0x46c6fc._0x50d462,0x4b0)&&!Array[_0x32dff1(0x477,_0x46c6fc._0x5c312c,_0x46c6fc._0x1763a2,_0x46c6fc._0x391784)](_0x13b795)&&Array[_0x32dff1(0x477,0x40f,_0x46c6fc._0x2fa655,0x2d3)](_0x13b795[_0x32dff1(_0x46c6fc._0x44079c,0x770,0x4b9,0x5c5)])&&_0x13b795[_0x3548ea(_0x46c6fc._0x2a8203,_0x46c6fc._0x3ecb94,_0x46c6fc._0x205923,_0x46c6fc._0x15d249)][_0x32dff1(_0x46c6fc._0x3017a4,0x1fc,_0x46c6fc._0x2c396c,0x169)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x32dff1(0x4b0,_0x46c6fc._0x1e1947,0x3bd,0x5b8),_0x32dff1(0x5d8,0x461,_0x46c6fc._0x2427d5,_0x46c6fc._0x5809e7)+MAX_ANCHORED_OPERATIONS+_0x3548ea(_0x46c6fc._0x336fc5,0x185,_0x46c6fc._0x2cc057,_0x46c6fc._0x2c6324));let _0x590c54;try{_0x590c54=validateToolInput(_0x335b6c,structuredFileEditInputSchema);}catch(_0x5b34bb){const _0x2c16fb=_0x5b34bb instanceof Error?_0x5b34bb[_0x32dff1(_0x46c6fc._0x228fe9,_0x46c6fc._0x60af45,0x2b2,_0x46c6fc._0x1d2c8f)]:String(_0x5b34bb);throw createAnchoredFileError(_0x3548ea(_0x46c6fc._0x125f0e,0x7c,0x1cc,0x110),_0x3548ea(0x23a,-0x1a5,_0x46c6fc._0x3d4604,-_0x46c6fc._0x1f3394)+_0x2c16fb);}function _0x3548ea(_0x43aae3,_0x53961e,_0x491365,_0x25f838){return _0x3145c3(_0x43aae3-0x180,_0x491365- -_0x4127c9._0xdfb594,_0x491365-0x3b,_0x43aae3);}if(!TAG_PATTERN[_0x3548ea(_0x46c6fc._0x2396b0,-0x64,0x5e,0xc4)](_0x590c54[_0x3548ea(_0x46c6fc._0x581562,-_0x46c6fc._0x7b6167,_0x46c6fc._0x85a80a,_0x46c6fc._0x330044)]))throw createAnchoredFileError(_0x32dff1(_0x46c6fc._0x40d825,_0x46c6fc._0x251cde,0x47b,_0x46c6fc._0x3e906a),_0x3548ea(_0x46c6fc._0x18b2f1,0x8c,0x255,0x166)+_0x590c54[_0x3548ea(-_0x46c6fc._0x4030c9,_0x46c6fc._0x331d1a,0x14f,_0x46c6fc._0x50d425)]+'\x27.');if(_0x590c54[_0x3548ea(_0x46c6fc._0x318d7e,_0x46c6fc._0x3bbd3e,0x319,_0x46c6fc._0x342356)][_0x32dff1(_0x46c6fc._0x3017a4,_0x46c6fc._0x57df05,_0x46c6fc._0xf90b2b,0x357)]===0x0)throw createAnchoredFileError(_0x3548ea(_0x46c6fc._0x4ec4e6,0x320,_0x46c6fc._0x206eb6,0x370),_0x32dff1(0x613,_0x46c6fc._0x5b7cf7,0x710,_0x46c6fc._0x4be7cd));if(_0x590c54[_0x3548ea(0x200,_0x46c6fc._0x240670,0x319,_0x46c6fc._0x32c922)][_0x3548ea(_0x46c6fc._0xba768c,-0x2e,0xa9,_0x46c6fc._0x5e595b)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError('invalid_patch',_0x32dff1(0x5d8,_0x46c6fc._0x3c08d8,_0x46c6fc._0x253e58,0x40d)+MAX_ANCHORED_OPERATIONS+_0x3548ea(-0x55,-0x63,_0x46c6fc._0x2cc057,_0x46c6fc._0x50d462));let _0x3fe82b=0x0;function _0x32dff1(_0x2e69a4,_0x50f7a8,_0x416e7d,_0x268cb1){return _0x4d75fe(_0x2e69a4-0x9,_0x268cb1,_0x2e69a4-_0x321007._0x28a8b0,_0x268cb1-_0x321007._0x2983d3);}const _0x1243b3=[];for(const _0x5d0927 of _0x590c54[_0x3548ea(0x229,_0x46c6fc._0x352de2,0x319,0x40e)]){switch(_0x5d0927[_0x3548ea(0x73,0x39c,_0x46c6fc._0x41b75c,_0x46c6fc._0x470f04)]){case _0x3548ea(_0x46c6fc._0x2f457b,_0x46c6fc._0x38b041,0xb,-0xa7):{requireValidLineNumber(_0x5d0927[_0x32dff1(_0x46c6fc._0x22f0f8,0x72f,0x4df,_0x46c6fc._0xaa742e)],_0x3548ea(0xe2,-0x18b,-_0x46c6fc._0x26f392,-_0x46c6fc._0x1ffc5c)),requireValidLineNumber(_0x5d0927[_0x32dff1(_0x46c6fc._0x15ae4b,0x5f7,_0x46c6fc._0x522f8a,_0x46c6fc._0x1c1936)],'replace.endLine');if(_0x5d0927[_0x32dff1(0x5ba,_0x46c6fc._0x7e92d6,_0x46c6fc._0x45ce3e,0x6bf)]>_0x5d0927[_0x3548ea(0x1d7,_0x46c6fc._0x170a0f,_0x46c6fc._0x3c89f7,_0x46c6fc._0x44a939)])throw createAnchoredFileError('invalid_patch','replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x3fe82b+=utf8Bytes(_0x5d0927[_0x32dff1(0x21f,_0x46c6fc._0x558948,_0x46c6fc._0x510eff,0x173)]);if(_0x3fe82b>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError('invalid_patch',_0x3548ea(_0x46c6fc._0x332df3,0x3e,0x1e9,0x285)+MAX_ANCHORED_CONTENT_BYTES+_0x32dff1(0x50a,0x646,0x345,0x6df));_0x1243b3[_0x3548ea(-_0x46c6fc._0x18fe81,_0x46c6fc._0x1f294f,0x134,0x45)]({'operation':_0x3548ea(0x15c,_0x46c6fc._0xf77afb,_0x46c6fc._0x577a1b,0x113),'startLine':_0x5d0927[_0x3548ea(_0x46c6fc._0x3e5224,0x2fa,0x2d6,0x3ca)],'endLine':_0x5d0927['endLine'],'content':_0x5d0927[_0x32dff1(_0x46c6fc._0x5cbf9d,_0x46c6fc._0x1e932a,0x137,_0x46c6fc._0x2cd95b)]});break;}case _0x3548ea(0x186,0x20c,0xf0,0xbf):{requireValidLineNumber(_0x5d0927[_0x32dff1(_0x46c6fc._0x22f0f8,0x5f5,0x458,_0x46c6fc._0x21a42f)],_0x3548ea(-_0x46c6fc._0x221afc,-_0x46c6fc._0x3a9a4e,_0x46c6fc._0x10c173,-0x1d9)),requireValidLineNumber(_0x5d0927['endLine'],_0x3548ea(0x328,0x327,0x344,0x20a));if(_0x5d0927['startLine']>_0x5d0927['endLine'])throw createAnchoredFileError(_0x32dff1(_0x46c6fc._0x40d825,_0x46c6fc._0x2a0cf7,_0x46c6fc._0x4e4ba6,0x35f),_0x32dff1(0x410,0x527,_0x46c6fc._0x5b26fe,0x377));_0x1243b3[_0x3548ea(_0x46c6fc._0x53f796,-_0x46c6fc._0x2f457b,0x134,0x34a)]({'operation':_0x32dff1(0x3d4,0x430,0x212,_0x46c6fc._0x17d933),'startLine':_0x5d0927[_0x3548ea(_0x46c6fc._0xc0434d,_0x46c6fc._0x476079,_0x46c6fc._0x1570ac,_0x46c6fc._0x5137c3)],'endLine':_0x5d0927[_0x3548ea(_0x46c6fc._0x59a507,0x287,_0x46c6fc._0x3c89f7,-_0x46c6fc._0x4606b9)]});break;}case _0x3548ea(-0xa5,-_0x46c6fc._0x3828de,-_0x46c6fc._0x1a4593,-_0x46c6fc._0x3d9c66):{requireValidLineNumber(_0x5d0927['line'],'insert.line'),_0x3fe82b+=utf8Bytes(_0x5d0927['content']);if(_0x3fe82b>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError('invalid_patch',_0x32dff1(0x4cd,0x6a6,_0x46c6fc._0x23bbb8,0x461)+MAX_ANCHORED_CONTENT_BYTES+_0x32dff1(_0x46c6fc._0x299918,0x34a,0x716,0x53e));_0x1243b3[_0x32dff1(0x418,0x21b,_0x46c6fc._0x40850b,0x360)]({'operation':_0x3548ea(0xd5,-0xac,-_0x46c6fc._0x29eada,-_0x46c6fc._0x43e11c),'position':_0x5d0927[_0x32dff1(_0x46c6fc._0x6c3076,_0x46c6fc._0x50b406,_0x46c6fc._0x9b79fa,0x5d9)],'line':_0x5d0927[_0x32dff1(0x33b,0x45b,0x12a,_0x46c6fc._0x85051b)],'content':_0x5d0927[_0x32dff1(_0x46c6fc._0x3eb1ed,0x3e1,_0x46c6fc._0x5e5735,0x163)]});break;}}}return{'filePath':_0x590c54[_0x32dff1(_0x46c6fc._0x352011,0x5c7,0x277,0x54c)],'tag':_0x590c54['tag'],'operations':_0x1243b3,'dryRun':_0x590c54['dryRun']??![],..._0x590c54[_0x3548ea(-0xf,-0x18d,0x33,-0x1be)]!==void 0x0?{'description':_0x590c54[_0x32dff1(_0x46c6fc._0x594203,_0x46c6fc._0x520ecc,0x4d4,0x2b9)]}:{}};}var HEADER=/^\[([^#\r\n]+)#([0-9A-F]{12})\]$/;function _0x4d75fe(_0x197a90,_0x767a5d,_0x7cc12d,_0x1ed46c){return _0x2a9a(_0x7cc12d- -0x4f,_0x767a5d);}var 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(_0x4c25e3){const _0x5e68ee={_0x41a386:0x340,_0x2c619f:0x51d,_0x1dc975:0x3f9};function _0x442442(_0x7e5caf,_0x274adc,_0x46ba78,_0x301b08){return _0x4d75fe(_0x7e5caf-0xa3,_0x301b08,_0x7e5caf-0x25,_0x301b08-0x16c);}return textEncoder2['encode'](_0x4c25e3)[_0x442442(_0x5e68ee._0x41a386,_0x5e68ee._0x2c619f,0x4aa,_0x5e68ee._0x1dc975)];}function preview(_0x402f9c){const _0x4752d9={_0x159e5d:0x200,_0x2161aa:0xe1},_0x18716d={_0x1da00b:0x1a8,_0x1315c4:0x362},_0x203808={_0x532c92:0x145,_0x20f96b:0x420};function _0xa059(_0x4c8481,_0x481abd,_0x4651f2,_0x48fff9){return _0x3145c3(_0x4c8481-_0x203808._0x532c92,_0x4c8481- -_0x203808._0x20f96b,_0x4651f2-0x1e8,_0x481abd);}function _0x3b8375(_0x2ceeaa,_0x8f4154,_0x355d9a,_0x168e25){return _0x4d75fe(_0x2ceeaa-_0x18716d._0x1da00b,_0x8f4154,_0x168e25-_0x18716d._0x1315c4,_0x168e25-0x50);}return _0x402f9c[_0xa059(_0x4752d9._0x159e5d,0x73,0x305,0xc4)]>0x3c?_0x402f9c['slice'](0x0,0x3c)+_0xa059(0xa2,0x2c7,0x17b,-_0x4752d9._0x2161aa):_0x402f9c;}var hashlineFileEditInputSchema={'type':_0x4d75fe(0x2c3,0x1e0,0x3ec,0x210),'properties':{'patch':{'type':'string'},'description':{'type':'string'},'dryRun':{'type':'boolean'}},'required':[_0x4d75fe(0x256,0x3ff,0x423,0x434)],'additionalProperties':![]};function requireLineNumber(_0x580326,_0x110cc2){const _0x397b11={_0x4b2724:0x4ab,_0x293473:0x60e,_0x26d75e:0x4e5,_0x2c0b14:0x318,_0x561d76:0x1e8,_0x58863a:0x11,_0x1a6bf2:0x1db,_0xd29867:0x1c7,_0x2ccaa2:0x487},_0x157550={_0x18ff1a:0x1ad};if(_0x580326[_0x2577f8(0x41e,0x43a,0x3c2,0x249)]>0x10)throw createAnchoredFileError(_0x2577f8(_0x397b11._0x4b2724,_0x397b11._0x293473,_0x397b11._0x26d75e,0x6fc),_0x110cc2+_0xf1a026(_0x397b11._0x2c0b14,_0x397b11._0x561d76,0x1a5,0x247));function _0x2577f8(_0x1f02d8,_0x60dcc1,_0xb40d0b,_0x4f00a1){return _0x4d75fe(_0x1f02d8-0x1b6,_0x60dcc1,_0xb40d0b-0xa7,_0x4f00a1-_0x157550._0x18ff1a);}function _0xf1a026(_0x22af72,_0x69ff7d,_0x168fe9,_0x151504){return _0x3145c3(_0x22af72-0x111,_0x151504- -0x57c,_0x168fe9-0x12f,_0x69ff7d);}const _0xce2166=Number(_0x580326);if(!Number[_0xf1a026(0x469,0x287,0x514,0x316)](_0xce2166)||_0xce2166<0x1)throw createAnchoredFileError(_0xf1a026(-_0x397b11._0x58863a,_0x397b11._0x1a6bf2,0x35b,_0x397b11._0xd29867),_0x110cc2+_0x2577f8(0x33e,_0x397b11._0x2ccaa2,0x273,0xf8)+_0x580326+'.');return _0xce2166;}function parseHashlineFileEditInput(_0x19bf3d){const _0x3fe8b5={_0x1a6998:0x34d,_0x5e7fb4:0x40a,_0x304b8b:0x693,_0x188b0a:0x56a,_0x3781e9:0x460,_0x2b5ac9:0x502,_0x1ce86d:0x7d6,_0x209ac7:0x410,_0x24d237:0x434,_0x2416dd:0x4ef,_0x33f1f2:0x4c9,_0x2b7a9d:0xb49,_0x552eea:0xaa3,_0x5e21bb:0xb3b,_0x33d985:0x5c9,_0x32e88b:0x4d5,_0x3adcb9:0x6c1,_0x19c61b:0x654,_0x1cb628:0x512,_0x3c6ef0:0x67c,_0x13ef80:0x62f,_0x287edb:0x70a,_0x330697:0x4e4,_0x41642f:0x90c,_0x2ac471:0x68e,_0x238cd5:0x788,_0x5d737d:0x3d2,_0x5bbdd4:0x3e0,_0x432427:0x57c,_0x4f9f71:0x798,_0x3b7ba8:0x808,_0x4a883f:0x5b4,_0x20b4dd:0x285,_0x120620:0x442,_0x450aca:0x685,_0x402d46:0x3bb,_0xf99634:0x786,_0x41be66:0x798,_0x1f4a8b:0x9b8,_0x32c6c7:0x3fb,_0x39c0b6:0x368,_0x51315d:0x387,_0x293995:0x5b8,_0x3fa5e6:0x670,_0x3c597b:0x85d,_0x941bb0:0x798,_0xa7f73d:0x65e,_0x42bbb6:0x919,_0x186d51:0x86b,_0x4cdaae:0x6eb,_0x5cb82c:0x72d,_0x3bb559:0x7d0,_0x35d667:0x4a0,_0x3903b8:0x378,_0x46bc0e:0x4cb,_0x3986e0:0x6cd,_0x5e2423:0x5d8,_0x50234e:0x856,_0x4b8458:0x7b7,_0x1d1810:0x70e,_0x364cc6:0x89b,_0x500400:0x7bb,_0x11b3aa:0x648,_0x23c1b1:0x601,_0x18711b:0x5d0,_0x5f59b6:0x5ac,_0x57b4cc:0x43f,_0x3983a8:0x7a6,_0x3b1a40:0x649,_0x15a60b:0x622,_0x4cf72d:0x812},_0x3b9e88={_0x54d8e5:0x37d,_0x57fa2d:0x47},_0x1f4dec={_0xfe894d:0x437,_0x29bf91:0x1d6,_0x12c03d:0x174,_0x34797d:0xc4,_0x3364a0:0xdc,_0x38354e:0x144,_0x1eda8a:0x227,_0x31f658:0x1a5,_0x175e46:0x150,_0x2fcd59:0x1cb},_0x4977de={_0xbda0dc:0x1e7,_0x1f733a:0x1a9,_0x5c1959:0x2ef},_0x158a3f={_0x56bbf6:0xc1,_0x444dde:0x193,_0x12fbe9:0x63,_0x4eb66e:0x2cf,_0x4d4845:0x5ce,_0x4931fd:0x82a,_0x531040:0x6f6,_0xc9e9f1:0x165,_0x4cf776:0x96,_0xb49b1f:0xf1,_0x43dfec:0x3c5,_0x2971d3:0x2db,_0x319d31:0x5c},_0x21deb3={_0x57f9e3:0x13e};let _0x3a4ea5;function _0x49ede3(_0x761a98,_0x1afade,_0x6e428,_0x4f1960){return _0x4d75fe(_0x761a98-0x169,_0x1afade,_0x4f1960-_0x21deb3._0x57f9e3,_0x4f1960-0xbc);}try{_0x3a4ea5=validateToolInput(_0x19bf3d,hashlineFileEditInputSchema);}catch(_0x462be9){const _0x3a5606=_0x462be9 instanceof Error?_0x462be9[_0x49ede3(_0x3fe8b5._0x1a6998,_0x3fe8b5._0x5e7fb4,0x45a,0x2ff)]:String(_0x462be9);throw createAnchoredFileError('invalid_patch',_0x49ede3(_0x3fe8b5._0x304b8b,0x525,_0x3fe8b5._0x188b0a,0x5a4)+_0x3a5606);}const {patch:_0x1ad139}=_0x3a4ea5;if(utf8Bytes2(_0x1ad139)>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x49ede3(_0x3fe8b5._0x3781e9,_0x3fe8b5._0x2b5ac9,0x450,0x57c),'Hashline\x20patch\x20text\x20must\x20be\x20at\x20most\x20'+MAX_ANCHORED_CONTENT_BYTES+_0x49ede3(_0x3fe8b5._0x1ce86d,_0x3fe8b5._0x209ac7,_0x3fe8b5._0x24d237,0x5d6));if(_0x1ad139[_0x49ede3(_0x3fe8b5._0x2416dd,0x408,0x31b,_0x3fe8b5._0x33f1f2)]('\x0d'))throw createAnchoredFileError('invalid_patch',_0x3a05e1(_0x3fe8b5._0x2b7a9d,0x932,_0x3fe8b5._0x552eea,_0x3fe8b5._0x5e21bb));const _0x460b4e=_0x1ad139[_0x49ede3(_0x3fe8b5._0x33d985,_0x3fe8b5._0x32e88b,_0x3fe8b5._0x3adcb9,_0x3fe8b5._0x19c61b)]('\x0a'),_0x544574=[],_0x2b3a46=_0x1149ab=>{const _0x5d605e={_0x19fecc:0x115},_0x2ac006={_0x1956e4:0x18f,_0x490c50:0x84,_0x20e716:0x2c6};function _0x2bb887(_0x304f07,_0x5ec6be,_0xc2e619,_0x41aa97){return _0x49ede3(_0x304f07-_0x2ac006._0x1956e4,_0x304f07,_0xc2e619-_0x2ac006._0x490c50,_0x5ec6be- -_0x2ac006._0x20e716);}function _0x14034c(_0x5b9661,_0x3dcf45,_0x34d8e9,_0x5d6a51){return _0x49ede3(_0x5b9661-0x71,_0x5b9661,_0x34d8e9-_0x5d605e._0x19fecc,_0x34d8e9-0x52);}if(_0x544574[_0x2bb887(_0x158a3f._0x56bbf6,_0x158a3f._0x444dde,-_0x158a3f._0x12fbe9,_0x158a3f._0x4eb66e)]>=MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x14034c(0x486,0x5e1,_0x158a3f._0x4d4845,0x432),_0x14034c(_0x158a3f._0x4931fd,0x578,_0x158a3f._0x531040,0x7cf)+MAX_ANCHORED_OPERATIONS+_0x2bb887(-0x7f,_0x158a3f._0xc9e9f1,-_0x158a3f._0x4cf776,_0x158a3f._0xb49b1f));_0x544574[_0x2bb887(_0x158a3f._0x43dfec,0x21e,_0x158a3f._0x2971d3,_0x158a3f._0x319d31)](_0x1149ab);};let _0x3c17c3,_0x4f162f,_0x57b864=![],_0x4a69f7=![],_0x44dfd7,_0x45f4d6,_0x2c3f9b=0x0,_0x1dd4c1=0x0,_0x345db5=[];const _0x2dbcca=()=>{if(!_0x4a69f7)return;function _0x994496(_0x4c5606,_0x25b38e,_0x64e7ad,_0x356d0b){return _0x49ede3(_0x4c5606-_0x4977de._0xbda0dc,_0x64e7ad,_0x64e7ad-_0x4977de._0x1f733a,_0x356d0b- -_0x4977de._0x5c1959);}if(_0x345db5['length']===0x0)throw createAnchoredFileError(_0x994496(_0x1f4dec._0xfe894d,0x172,_0x1f4dec._0x29bf91,0x28d),_0x994496(0x1cd,_0x1f4dec._0x12c03d,0x30f,0x194));function _0xf89b37(_0x3133eb,_0x23d545,_0x279858,_0x87c212){return _0x3a05e1(_0x3133eb-0xfc,_0x279858- -0x5d7,_0x87c212,_0x87c212-0x4);}const _0x4c2ad5=_0x345db5[_0x994496(-_0x1f4dec._0x34797d,0x1aa,-_0x1f4dec._0x3364a0,_0x1f4dec._0x38354e)]('\x0a');_0x44dfd7===_0xf89b37(_0x1f4dec._0x1eda8a,_0x1f4dec._0x31f658,0x23,0x65)?_0x2b3a46({'operation':_0x994496(_0x1f4dec._0x175e46,0x261,_0x1f4dec._0x2fcd59,0xcc),'startLine':_0x2c3f9b,'endLine':_0x1dd4c1,'content':_0x4c2ad5}):_0x2b3a46({'operation':'insert','position':_0x45f4d6,'line':_0x2c3f9b,'content':_0x4c2ad5}),_0x4a69f7=![],_0x345db5=[];};for(const _0x1a9cf5 of _0x460b4e){if(_0x1a9cf5[_0x49ede3(_0x3fe8b5._0x1cb628,_0x3fe8b5._0x3c6ef0,0x26a,0x459)]===0x0)continue;if(_0x4a69f7&&_0x1a9cf5['startsWith']('+')){_0x345db5[_0x49ede3(_0x3fe8b5._0x13ef80,_0x3fe8b5._0x287edb,0x4b5,_0x3fe8b5._0x330697)](_0x1a9cf5[_0x3a05e1(0x949,0x867,_0x3fe8b5._0x41642f,_0x3fe8b5._0x2ac471)](0x1));continue;}_0x2dbcca();if(!_0x57b864){const _0x546e53=HEADER[_0x3a05e1(_0x3fe8b5._0x238cd5,0x798,0x895,0x7a1)](_0x1a9cf5);if(_0x546e53===null)throw createAnchoredFileError(_0x49ede3(_0x3fe8b5._0x5d737d,0x799,_0x3fe8b5._0x5bbdd4,_0x3fe8b5._0x432427),'Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');_0x3c17c3=_0x546e53[0x1],_0x4f162f=_0x546e53[0x2],_0x57b864=!![];continue;}const _0x1148b6=REPLACE[_0x3a05e1(0x7e3,_0x3fe8b5._0x4f9f71,0x824,_0x3fe8b5._0x3b7ba8)](_0x1a9cf5);if(_0x1148b6!==null){const _0x4faa66=requireLineNumber(_0x1148b6[0x1],'replace\x20startLine'),_0xc28157=requireLineNumber(_0x1148b6[0x2],_0x49ede3(_0x3fe8b5._0x4a883f,0x5fb,_0x3fe8b5._0x20b4dd,_0x3fe8b5._0x120620));if(_0x4faa66>_0xc28157)throw createAnchoredFileError('invalid_patch',_0x3a05e1(0x67c,0x72b,_0x3fe8b5._0x450aca,0x566));_0x4a69f7=!![],_0x44dfd7=_0x49ede3(0x32d,0x2f9,0x37a,_0x3fe8b5._0x402d46),_0x2c3f9b=_0x4faa66,_0x1dd4c1=_0xc28157,_0x345db5=[];continue;}const _0x52b95e=INSERT[_0x3a05e1(_0x3fe8b5._0xf99634,_0x3fe8b5._0x41be66,0x6bb,_0x3fe8b5._0x1f4a8b)](_0x1a9cf5);if(_0x52b95e!==null){const _0x468458=requireLineNumber(_0x52b95e[0x2],_0x49ede3(0x3a1,0x5b2,0x4b1,_0x3fe8b5._0x32c6c7));_0x4a69f7=!![],_0x44dfd7=_0x49ede3(_0x3fe8b5._0x39c0b6,0x50b,_0x3fe8b5._0x51315d,0x396),_0x45f4d6=_0x52b95e[0x1]==='<'?_0x3a05e1(0x696,0x883,0x958,0x76b):_0x3a05e1(_0x3fe8b5._0x293995,_0x3fe8b5._0x3fa5e6,_0x3fe8b5._0x3c597b,0x4ae),_0x2c3f9b=_0x468458,_0x345db5=[];continue;}const _0x5350ef=DELETE[_0x3a05e1(0x99a,_0x3fe8b5._0x941bb0,_0x3fe8b5._0xa7f73d,0x679)](_0x1a9cf5);if(_0x5350ef!==null){const _0x2b1d55=requireLineNumber(_0x5350ef[0x1],_0x3a05e1(_0x3fe8b5._0x42bbb6,_0x3fe8b5._0x186d51,_0x3fe8b5._0x4cdaae,0xa58)),_0x27fb23=requireLineNumber(_0x5350ef[0x2],_0x3a05e1(_0x3fe8b5._0x5cb82c,0x849,_0x3fe8b5._0x3bb559,0x7d0));if(_0x2b1d55>_0x27fb23)throw createAnchoredFileError('invalid_patch','delete\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x2b3a46({'operation':_0x49ede3(_0x3fe8b5._0x32e88b,0x2fc,0x598,_0x3fe8b5._0x35d667),'startLine':_0x2b1d55,'endLine':_0x27fb23});continue;}throw createAnchoredFileError(_0x49ede3(_0x3fe8b5._0x3903b8,0x6f1,0x5d9,_0x3fe8b5._0x432427),_0x49ede3(_0x3fe8b5._0x46bc0e,0x383,_0x3fe8b5._0x3986e0,0x4be)+preview(_0x1a9cf5));}_0x2dbcca();function _0x3a05e1(_0x15b1af,_0x269b32,_0x33ff77,_0x1f756a){return _0x4d75fe(_0x15b1af-0x1ea,_0x33ff77,_0x269b32-_0x3b9e88._0x54d8e5,_0x1f756a-_0x3b9e88._0x57fa2d);}if(!_0x57b864)throw createAnchoredFileError(_0x3a05e1(0x5a5,0x7bb,_0x3fe8b5._0x5e2423,0x648),_0x3a05e1(_0x3fe8b5._0x50234e,0x896,_0x3fe8b5._0x4b8458,_0x3fe8b5._0x1d1810));if(_0x544574[_0x3a05e1(0x56a,0x698,_0x3fe8b5._0x364cc6,0x838)]===0x0)throw createAnchoredFileError(_0x3a05e1(0x81b,_0x3fe8b5._0x500400,_0x3fe8b5._0x11b3aa,0x5de),_0x3a05e1(0x6c9,_0x3fe8b5._0x23c1b1,_0x3fe8b5._0x18711b,0x5e3));return{'filePath':_0x3c17c3,'tag':_0x4f162f,'operations':_0x544574,'dryRun':_0x3a4ea5[_0x3a05e1(0x737,_0x3fe8b5._0x5f59b6,_0x3fe8b5._0x57b4cc,_0x3fe8b5._0x3983a8)]??![],..._0x3a4ea5['description']!==void 0x0?{'description':_0x3a4ea5[_0x3a05e1(_0x3fe8b5._0x3b1a40,_0x3fe8b5._0x15a60b,_0x3fe8b5._0x4cf72d,0x632)]}:{}};}import{realpath,stat}from'fs/promises';import*as _0x3a858f from'path';function isPathInside(_0x480821,_0x2a2099){const _0x51dbf2={_0x27057d:0x1f0,_0xa67d88:0x1d,_0x3086c7:0x223,_0x422952:0x3e9},_0x1febe5={_0x13ef46:0x1b0},_0xeaad0a=_0x3a858f[_0x335536(_0x51dbf2._0x27057d,_0x51dbf2._0xa67d88,0x12c,-0x89)](_0x480821),_0x7ff129=_0x3a858f[_0x335536(0x35a,0x41d,_0x51dbf2._0x3086c7,0x4cc)](_0xeaad0a,_0x2a2099);function _0x335536(_0x212439,_0x2f55ec,_0x7c93c8,_0x4fa326){return _0x3145c3(_0x212439-0x1c7,_0x2f55ec- -0x4d8,_0x7c93c8-0x1d2,_0x4fa326);}function _0x22f479(_0x658e8b,_0x26ab5d,_0x47f65b,_0x3eb24c){return _0x3145c3(_0x658e8b-0x4a,_0x3eb24c- -_0x1febe5._0x13ef46,_0x47f65b-0x38,_0x26ab5d);}return _0x7ff129===''||!_0x7ff129[_0x335536(0x256,_0x51dbf2._0x422952,0x2c8,0x3fc)]('..')&&!_0x3a858f['isAbsolute'](_0x7ff129);}function resolveWorkspacePath(_0x186032,_0x30b9a4){return resolveAllowedPath(_0x186032,[],_0x30b9a4);}function resolveAllowedPath(_0x504c37,_0x3d2287,_0x1b4bb0){const _0x399159={_0xc9c72b:0x250,_0x3c2f17:0x3d5,_0x3f6c36:0x33c,_0x3a7232:0x72b,_0x49d3d1:0x5ec,_0x492aab:0x8c9,_0x5bf4d4:0x747},_0x24ac03={_0x35713f:0xe0},_0x339211={_0x5890a6:0x2a5,_0x2d31fe:0xc4},_0x39b7c9=_0x3a858f['resolve'](_0x504c37),_0x23f64c=_0x3a858f[_0x4e0a07(_0x399159._0xc9c72b,0x38d,_0x399159._0x3c2f17,_0x399159._0x3f6c36)](_0x39b7c9,_0x1b4bb0);function _0x4e0a07(_0xca77ab,_0x3338ec,_0x1b08c5,_0xe8effc){return _0x3145c3(_0xca77ab-0x134,_0xca77ab- -_0x339211._0x5890a6,_0x1b08c5-_0x339211._0x2d31fe,_0xe8effc);}const _0x56edce=[_0x39b7c9,..._0x3d2287['map'](_0x96f8ab=>_0x3a858f['resolve'](_0x96f8ab))];if(_0x56edce[_0x2409c6(0x43f,_0x399159._0x3a7232,0x5cf,_0x399159._0x49d3d1)](_0xb8e371=>isPathInside(_0xb8e371,_0x23f64c)))return _0x23f64c;function _0x2409c6(_0x2a681d,_0x19cb44,_0x55a7ff,_0x48275b){return _0x3145c3(_0x2a681d-0x150,_0x48275b- -_0x24ac03._0x35713f,_0x55a7ff-0x56,_0x19cb44);}throw new ToolExecutionError(_0x2409c6(0x7d8,0x864,_0x399159._0x492aab,_0x399159._0x5bf4d4)+_0x1b4bb0,{'path':_0x1b4bb0,'rootDir':_0x39b7c9,'allowedDirs':_0x56edce});}async function resolveCanonicalAllowedFile(_0xa7fb01,_0xc12b71,_0x39de8c){const _0x2ee84a={_0x2dea78:0x2bb,_0x21ae01:0x529,_0x5ba051:0x49f,_0x2b9386:0x370,_0x32fa78:0x2d0,_0x565703:0x276,_0x5a7bf8:0x359,_0x4d3cf9:0x409,_0x2b3969:0x375,_0x12a4f3:0x2f7},_0x578d14={_0x12b053:0x187,_0x35241c:0x33b},_0x386a12={_0x306a87:0x1f0,_0x27322d:0x557},_0x469a62=resolveAllowedPath(_0xa7fb01,_0xc12b71,_0x39de8c),_0x45ba03=await realpath(_0x469a62),_0x282295=[];for(const _0x552d90 of[_0xa7fb01,..._0xc12b71]){try{_0x282295[_0x3e2f9b(_0x2ee84a._0x2dea78,_0x2ee84a._0x21ae01,_0x2ee84a._0x5ba051,_0x2ee84a._0x2b9386)](await realpath(_0x552d90));}catch{}}function _0x8014ed(_0x5bfc61,_0x4b0486,_0x2eda40,_0x77e2c6){return _0x3145c3(_0x5bfc61-_0x386a12._0x306a87,_0x77e2c6- -_0x386a12._0x27322d,_0x2eda40-0x14,_0x5bfc61);}if(!_0x282295['some'](_0xa0b057=>isPathInside(_0xa0b057,_0x45ba03)))throw new ToolExecutionError(_0x8014ed(0x17a,0x222,0x3a5,_0x2ee84a._0x32fa78)+_0x39de8c,{'path':_0x39de8c,'lexicalPath':_0x469a62,'canonicalPath':_0x45ba03,'allowedDirs':_0x282295});const _0x365d29=await stat(_0x45ba03);function _0x3e2f9b(_0x200b54,_0x3aeba9,_0x27cb8e,_0x2fc7f3){return _0x3145c3(_0x200b54-_0x578d14._0x12b053,_0x2fc7f3- -_0x578d14._0x35241c,_0x27cb8e-0x1b7,_0x200b54);}if(!_0x365d29[_0x3e2f9b(_0x2ee84a._0x565703,_0x2ee84a._0x5a7bf8,_0x2ee84a._0x4d3cf9,_0x2ee84a._0x2b3969)]())throw new ToolExecutionError(_0x8014ed(0x367,0x186,_0x2ee84a._0x12a4f3,0x2e2)+_0x39de8c,{'path':_0x39de8c,'lexicalPath':_0x469a62,'canonicalPath':_0x45ba03});return{'authoredPath':_0x39de8c,'lexicalPath':_0x469a62,'canonicalPath':_0x45ba03};}async function assertWorkspaceFile(_0x5a2fba){const _0x51e80e={_0x4ace89:0x5b2,_0x5316f5:0x953,_0x53a735:0xa71,_0x282f79:0x770,_0x2b1041:0x768},_0x1b908c={_0x183254:0x389},_0x37876f={_0x2f984f:0x6b,_0x31f835:0x1a8,_0x2c9c62:0x136};function _0x54c6c1(_0x205154,_0x32177d,_0x2a22d5,_0x17761c){return _0x3145c3(_0x205154-_0x37876f._0x2f984f,_0x32177d- -_0x37876f._0x31f835,_0x2a22d5-_0x37876f._0x2c9c62,_0x205154);}const _0x16c32c=await stat(_0x5a2fba);function _0x3608bb(_0x145523,_0x5b007b,_0x563310,_0x530da5){return _0x4d75fe(_0x145523-0x15b,_0x530da5,_0x563310-_0x1b908c._0x183254,_0x530da5-0x29);}if(!_0x16c32c[_0x3608bb(_0x51e80e._0x4ace89,_0x51e80e._0x5316f5,0x734,0x834)]())throw new ToolExecutionError(_0x3608bb(_0x51e80e._0x53a735,_0x51e80e._0x282f79,0x8bd,_0x51e80e._0x2b1041)+_0x5a2fba,{'path':_0x5a2fba});}function isProbablyBinary(_0x4d5e00){return _0x4d5e00['includes'](0x0);}var MAX_ANCHORED_PREVIEW_BYTES=0x100*0x400,defaultFileSystem2={'readFile':_0x10d3ad=>_0x3bc40f(_0x10d3ad),'stat':_0x39ade9=>_0x1c57cf(_0x39ade9),'atomicWrite':(_0x363cd6,_0xe81705,_0x1b7d39)=>atomicReplaceFile(_0x363cd6,_0xe81705,_0x1b7d39)};function parseAnchoredInput(_0x1e3083,_0x574169){if(_0x1e3083==='hashline')return parseHashlineFileEditInput(_0x574169);return parseStructuredFileEditInput(_0x574169);}function stableStringify2(_0x841985){const _0x5d0c9d={_0x3df637:0x383,_0xc8bf9e:0x23c,_0xf9127c:0x19a,_0x2ed5f2:0x15,_0x4575c6:0xfd,_0x81ef1a:0x1ca,_0x19fd9d:0x210,_0x1eaf25:0xa2,_0x3c6b9f:0xc,_0x1fb1e6:0xfc,_0x58016a:0xb7,_0x410c55:0x4c5,_0x49bcfc:0x22f,_0x4b184c:0x12c,_0x443827:0x72,_0x2653f6:0x4c2,_0x5e86d0:0x567},_0x101d5b={_0x3fca0c:0x1c9},_0x3606af={_0x4026d8:0x54f};if(Array[_0x1dd127(0x294,_0x5d0c9d._0x3df637,_0x5d0c9d._0xc8bf9e,_0x5d0c9d._0xf9127c)](_0x841985))return'['+_0x841985['map'](stableStringify2)[_0x2afc15(-_0x5d0c9d._0x2ed5f2,0x37,0xab,-_0x5d0c9d._0x4575c6)](',')+']';function _0x2afc15(_0x3da053,_0x50a663,_0x60bc10,_0x55559e){return _0x3145c3(_0x3da053-0x1ee,_0x60bc10- -_0x3606af._0x4026d8,_0x60bc10-0xd0,_0x55559e);}if(_0x841985!==null&&typeof _0x841985===_0x1dd127(_0x5d0c9d._0x81ef1a,_0x5d0c9d._0x19fd9d,0x223,_0x5d0c9d._0x1eaf25)){const _0x38bb9f=_0x841985;return'{'+Object['keys'](_0x38bb9f)[_0x1dd127(_0x5d0c9d._0x3c6b9f,-_0x5d0c9d._0x1fb1e6,_0x5d0c9d._0x58016a,0x183)]()[_0x2afc15(_0x5d0c9d._0x410c55,0x234,0x2e4,_0x5d0c9d._0x49bcfc)](_0x1b5877=>JSON[_0x2afc15(0x4ca,0x27b,0x2e2,0x302)](_0x1b5877)+':'+stableStringify2(_0x38bb9f[_0x1b5877]))[_0x1dd127(0x2ee,0x283,_0x5d0c9d._0x4b184c,_0x5d0c9d._0x443827)](',')+'}';}function _0x1dd127(_0x14aeba,_0x4e4df1,_0x58cd5d,_0x4e606b){return _0x4d75fe(_0x14aeba-0xd1,_0x4e606b,_0x58cd5d- -_0x101d5b._0x3fca0c,_0x4e606b-0x94);}return JSON[_0x1dd127(_0x5d0c9d._0x2653f6,_0x5d0c9d._0x5e86d0,0x363,0x21d)](_0x841985);}function normalizeOperationContent(_0x8238c6){const _0x2a4e8d={_0x59b6d6:0x6ac,_0x194270:0x85e,_0x2501fb:0x727,_0x3a7d40:0x59c,_0x1142e4:0x5b4,_0x544058:0x703},_0x3b4b42={_0x531f06:0xb6,_0x92d216:0x198},_0x17ada0={_0x539456:0x131};function _0x4e9b23(_0x4dfde9,_0x314ab8,_0x5c4159,_0x2d2fe8){return _0x4d75fe(_0x4dfde9-_0x17ada0._0x539456,_0x4dfde9,_0x314ab8-0x40d,_0x2d2fe8-0x8e);}if(_0x8238c6[_0x4e9b23(_0x2a4e8d._0x59b6d6,_0x2a4e8d._0x194270,0x8f4,0x92a)]===_0x4e9b23(_0x2a4e8d._0x2501fb,0x68a,0x801,0x772)||_0x8238c6['operation']===_0x47f84e(_0x2a4e8d._0x3a7d40,0x7a4,_0x2a4e8d._0x1142e4,_0x2a4e8d._0x544058))return{..._0x8238c6,'content':_0x8238c6[_0x47f84e(0x4f1,0x567,0x450,0x5c9)][_0x4e9b23(0x53d,0x68a,0x868,0x76e)](/\r\n/g,'\x0a')};function _0x47f84e(_0x18842e,_0x3f27d1,_0x468452,_0x546fff){return _0x4d75fe(_0x18842e-_0x3b4b42._0x531f06,_0x468452,_0x18842e-0x344,_0x546fff-_0x3b4b42._0x92d216);}return _0x8238c6;}function computePayloadDigest(_0x1e72f0){const _0x59b5d4={_0x542c24:0xb5d,_0x22d55b:0x958},_0x255865={_0x3dbaa6:0x53};function _0x52ce7f(_0x1a8957,_0x55054c,_0xf800c7,_0x1c939d){return _0x4d75fe(_0x1a8957-0x1ea,_0x55054c,_0xf800c7-0x42a,_0x1c939d-_0x255865._0x3dbaa6);}return sha256Bytes(stableStringify2(_0x1e72f0[_0x52ce7f(_0x59b5d4._0x542c24,0x7bc,_0x59b5d4._0x22d55b,0xa8c)](normalizeOperationContent)));}function collectRequiredLines(_0x4943b1){const _0x58c3bc={_0x385520:0x750,_0x51d8a1:0x880,_0x4c6724:0x9c9,_0x1d010d:0x45a,_0xdc8bf0:0x2b,_0x1dfb12:0x1ac,_0x3f0dbc:0x5bd,_0xe8815f:0x581,_0x4ae79e:0x835,_0x552b58:0x75e,_0x44df03:0x2b,_0x4b0377:0x1be,_0x1ba449:0x51,_0x131e6d:0x1bd,_0x34000e:0x173},_0x18b034={_0x236e82:0x18b,_0x3b4b6d:0x76};function _0x2be5e0(_0x3127a2,_0x887f5e,_0x2a5011,_0x1638f0){return _0x3145c3(_0x3127a2-0x11e,_0x3127a2- -0x5db,_0x2a5011-0x113,_0x887f5e);}const _0x4e8a4c=new Set();for(const _0x5862e9 of _0x4943b1){if(_0x5862e9[_0x34798f(_0x58c3bc._0x385520,_0x58c3bc._0x51d8a1,0x7cc,_0x58c3bc._0x4c6724)]===_0x34798f(_0x58c3bc._0x1d010d,0x405,0x5d3,0x736))_0x4e8a4c[_0x2be5e0(-_0x58c3bc._0xdc8bf0,0x76,-0x1c8,-_0x58c3bc._0x1dfb12)](_0x5862e9[_0x34798f(_0x58c3bc._0x3f0dbc,_0x58c3bc._0xe8815f,0x644,0x6e5)]);else for(let _0x94a40f=_0x5862e9['startLine'];_0x94a40f<=_0x5862e9[_0x34798f(0x683,_0x58c3bc._0x4ae79e,_0x58c3bc._0x552b58,0x671)];_0x94a40f+=0x1){_0x4e8a4c[_0x2be5e0(-_0x58c3bc._0x44df03,0x21,-_0x58c3bc._0x4b0377,-0x24b)](_0x94a40f);}}function _0x34798f(_0x53a8f3,_0x4545a6,_0xb32f17,_0x284956){return _0x3145c3(_0x53a8f3-_0x18b034._0x236e82,_0xb32f17-_0x18b034._0x3b4b6d,_0xb32f17-0x1bd,_0x53a8f3);}return[..._0x4e8a4c][_0x2be5e0(-0x56,_0x58c3bc._0x1ba449,_0x58c3bc._0x131e6d,_0x58c3bc._0x34000e)]((_0x4f1c5f,_0x4b88f5)=>_0x4f1c5f-_0x4b88f5);}async function resolveEditTarget(_0x568493,_0x46977b,_0x50fa3f){const _0x878c4c={_0x15a4d1:0x2ae,_0x2402a2:0x405,_0x1bf011:0x1c9,_0x179f0d:0xe1,_0x5f23a3:0x34e},_0x19bb3e={_0x15a28c:0x118},_0xca595={_0x145093:0xad};function _0x32a916(_0x4a7f70,_0x2c461b,_0x3c2965,_0x77a875){return _0x3145c3(_0x4a7f70-0x28,_0x77a875-_0xca595._0x145093,_0x3c2965-0x71,_0x3c2965);}function _0x354769(_0x1e531c,_0x2c9fac,_0x400ad5,_0xdf7bcd){return _0x3145c3(_0x1e531c-_0x19bb3e._0x15a28c,_0x1e531c- -0x41f,_0x400ad5-0x1b2,_0x400ad5);}try{return await resolveCanonicalAllowedFile(_0x568493,_0x46977b,_0x50fa3f);}catch(_0xbd3f4a){if(_0xbd3f4a instanceof ToolExecutionError)throw _0xbd3f4a;const _0x2410cd=_0xbd3f4a instanceof Error?_0xbd3f4a['message']:String(_0xbd3f4a);throw createAnchoredFileError('unknown_snapshot',_0x354769(_0x878c4c._0x15a4d1,_0x878c4c._0x2402a2,0x1aa,0x49d)+_0x50fa3f+_0x354769(0x242,0x21,0x2d0,_0x878c4c._0x1bf011)+_0x2410cd+_0x354769(0x13d,_0x878c4c._0x179f0d,0x2f6,_0x878c4c._0x5f23a3),{'path':_0x50fa3f});}}async function readLiveSnapshot(_0x1767a2,_0x299eee){const _0x2cf200={_0x46c066:0x164,_0x4ba2a1:0x61,_0x13155e:0x21,_0x40c0d2:0x3f0,_0x1dc3dd:0x28a,_0x4636c4:0x121,_0x311847:0x42a},_0x2fbe2c={_0x1e85bd:0x19b,_0x2c08ec:0x33};function _0x22006d(_0x44346a,_0x11cbc3,_0x5016b3,_0x1a3d67){return _0x4d75fe(_0x44346a-_0x2fbe2c._0x1e85bd,_0x44346a,_0x11cbc3-_0x2fbe2c._0x2c08ec,_0x1a3d67-0x160);}let _0x16bde0;try{_0x16bde0=await _0x3bc40f(_0x1767a2);}catch(_0x540a0b){const _0x4d26a1=_0x540a0b instanceof Error?_0x540a0b['message']:String(_0x540a0b);throw createAnchoredFileError(_0x23d20(_0x2cf200._0x46c066,_0x2cf200._0x4ba2a1,-_0x2cf200._0x13155e,0x144),'unknown_snapshot:\x20Unable\x20to\x20read\x20'+_0x299eee+'\x20for\x20an\x20anchored\x20snapshot\x20('+_0x4d26a1+_0x22006d(_0x2cf200._0x40c0d2,_0x2cf200._0x1dc3dd,_0x2cf200._0x4636c4,_0x2cf200._0x311847),{'path':_0x299eee});}function _0x23d20(_0x3ae260,_0x1272bb,_0x49a177,_0x23feff){return _0x3145c3(_0x3ae260-0x176,_0x3ae260- -0x58b,_0x49a177-0x9,_0x1272bb);}return createNormalizedFileSnapshot(_0x1767a2,_0x16bde0);}function staleSnapshotMessageText(_0x3d8ff7,_0x4484cc){const _0x1b1840={_0x1997f3:0x223,_0xd7a9b3:0x23a,_0x28307c:0xa6},_0x259bcc={_0x277436:0x6e},_0x1cbb15={_0x4e52ce:0x16d};function _0x4976bc(_0xe62d72,_0x2f356d,_0x3fbac8,_0x1cc0a9){return _0x3145c3(_0xe62d72-0x15,_0x1cc0a9- -0x56e,_0x3fbac8-_0x1cbb15._0x4e52ce,_0xe62d72);}function _0x455280(_0x1c0f46,_0x3f5f9e,_0x41d77d,_0x454aea){return _0x3145c3(_0x1c0f46-_0x259bcc._0x277436,_0x3f5f9e- -0x96,_0x41d77d-0x30,_0x1c0f46);}return{'reasonLine':_0x455280(0x49c,0x561,0x623,0x5b5)+_0x4484cc+_0x4976bc(0x161,-0x36,0x13a,0xf1),'guidance':'File\x20'+_0x3d8ff7+_0x4976bc(_0x1b1840._0x1997f3,_0x1b1840._0xd7a9b3,-0x33,_0x1b1840._0x28307c)};}function unseenLinesMessageText(){const _0x14f4ac={_0x64015f:0x82f,_0x2608e0:0x78d,_0x3c5123:0xa07},_0x339849={_0x4b62a9:0x11a,_0x2d6a13:0x1c9};function _0x2019fa(_0x4c64f9,_0x481bdd,_0x128aff,_0x509214){return _0x3145c3(_0x4c64f9-0x1bb,_0x128aff-0x128,_0x128aff-0x3c,_0x4c64f9);}function _0x1626b2(_0x10ea95,_0x2bf4e1,_0x1f333b,_0x4fac88){return _0x4d75fe(_0x10ea95-0x8,_0x2bf4e1,_0x1f333b- -_0x339849._0x4b62a9,_0x4fac88-_0x339849._0x2d6a13);}return{'reasonLine':_0x2019fa(0x84f,_0x14f4ac._0x64015f,0x701,_0x14f4ac._0x2608e0),'guidance':_0x2019fa(_0x14f4ac._0x3c5123,0x935,0x970,0xaf6)};}function noChangeMessageText(_0x3124fc,_0x1006ef){const _0x44ef74={_0x45c398:0x4d8,_0x293625:0x46a,_0x3f573b:0x4a6,_0x54f01a:0x30b,_0x533459:0x377,_0x4bf47b:0x365,_0x383a83:0x1d3,_0x17d747:0x53e,_0x4ff821:0x68a},_0x44a386={_0x3c1077:0xe5,_0x33f320:0x321},_0xf07d91=_0x1006ef>=0x3;function _0x24657f(_0x4d3dd5,_0x24aa41,_0x35f8c0,_0x5d95c8){return _0x3145c3(_0x4d3dd5-0x1,_0x35f8c0- -0x514,_0x35f8c0-0xb6,_0x24aa41);}function _0x37e413(_0x6a6d4b,_0x36018e,_0x3c738f,_0x46ce9e){return _0x3145c3(_0x6a6d4b-_0x44a386._0x3c1077,_0x6a6d4b- -_0x44a386._0x33f320,_0x3c738f-0x1dd,_0x46ce9e);}return{'reasonLine':_0x37e413(_0x44ef74._0x45c398,_0x44ef74._0x293625,0x370,_0x44ef74._0x3f573b)+_0x3124fc+_0x37e413(_0x44ef74._0x54f01a,0x484,_0x44ef74._0x533459,0x2cc),'guidance':_0xf07d91?_0x24657f(_0x44ef74._0x4bf47b,-0x7,_0x44ef74._0x383a83,0xbd):_0x37e413(_0x44ef74._0x17d747,0x572,_0x44ef74._0x4ff821,0x45b)};}function buildRecoveryContext(_0x3360de,_0x175f85,_0x143570,_0x12d823,_0x1077e8,_0x9e24a4){const _0x155525={_0x1cc559:0x563,_0x2afbb2:0x6fb,_0x1a578a:0x4fb,_0x224c02:0x5f7,_0x364911:0x452,_0x9f5823:0x3b7,_0x1e13cc:0x4b5,_0x2f1275:0x6ef,_0x318a4b:0x566,_0x231993:0x724,_0x261e5b:0x424,_0x2a553b:0x4bd,_0x5538b1:0x31b,_0x414cce:0x407,_0xe66bdc:0x64d,_0x2e91dc:0x56b,_0x2ad8ad:0x53a,_0x5814d3:0x69c,_0x5672cf:0x4e2,_0x538c73:0x5c6,_0x20698c:0x609,_0x13aec5:0x46d,_0x381bbb:0x5d6,_0x46d809:0x751,_0x1fa14d:0x835,_0x466323:0x510,_0x13c68f:0x422,_0x24ada0:0x529,_0x2251b9:0x513,_0x4a9290:0x6ba,_0x1efb46:0x5a5},_0x58400d={_0x873d:0x144},_0x85ffe9={_0x5701e4:0x170,_0x1b8db4:0x137,_0x46c830:0x53},_0x1440f2='['+_0x3360de+'#'+_0x175f85[_0x26d61c(0x70d,0x61d,_0x155525._0x1cc559,0x6f7)]+']',_0x51570b={'tag':_0x175f85['tag'],'digest':_0x175f85['digest'],'contextLines':[],'output':_0x1077e8+'\x0a'+_0x1440f2+'\x0a'+_0x9e24a4},_0x23253d=_0x175f85[_0x5562ce(_0x155525._0x2afbb2,0x464,_0x155525._0x1a578a,0x3b1)][_0x5562ce(_0x155525._0x224c02,0x49c,_0x155525._0x364911,0x5ae)],_0x1e3113=[...new Set(_0x143570['filter'](_0x8ced16=>Number[_0x26d61c(0x838,0x5a6,0x72f,0x86c)](_0x8ced16)&&_0x8ced16>=0x1&&_0x8ced16<=_0x23253d))][_0x5562ce(0x18e,0x3a3,_0x155525._0x9f5823,0x333)]((_0xe8f0ce,_0x43c152)=>_0xe8f0ce-_0x43c152);if(_0x1e3113['length']===0x0)return _0x51570b;const _0x585af9=_0x1e3113[_0x1e3113['length']-0x1]-_0x1e3113[0x0]+0x1;if(_0x585af9>0x14)return _0x51570b;for(const _0x596b67 of _0x1e3113){if(!isWithinDisplayColumns(_0x175f85[_0x26d61c(_0x155525._0x1e13cc,_0x155525._0x2f1275,_0x155525._0x318a4b,_0x155525._0x231993)][_0x596b67-0x1],0x200))return _0x51570b;}function _0x5562ce(_0x2e7f37,_0x3c6476,_0x18291a,_0x556400){return _0x4d75fe(_0x2e7f37-_0x85ffe9._0x5701e4,_0x3c6476,_0x18291a-_0x85ffe9._0x1b8db4,_0x556400-_0x85ffe9._0x46c830);}function _0x26d61c(_0x567b1a,_0x2b84d3,_0x390830,_0x56271b){return _0x4d75fe(_0x567b1a-0xb9,_0x2b84d3,_0x390830-0x1a2,_0x56271b-_0x58400d._0x873d);}const _0x40a77a=formatAnchoredFileRead({'displayPath':_0x3360de,'snapshot':_0x175f85,'lineStart':_0x1e3113[0x0],'lineEnd':_0x1e3113[_0x1e3113[_0x26d61c(_0x155525._0x261e5b,0x52e,_0x155525._0x2a553b,_0x155525._0x5538b1)]-0x1],'maxBytes':_0x12d823});if(_0x40a77a[_0x26d61c(0x5ca,0x26c,_0x155525._0x414cce,0x453)]||_0x40a77a[_0x5562ce(_0x155525._0xe66bdc,_0x155525._0x2e91dc,_0x155525._0x2ad8ad,_0x155525._0x5814d3)][_0x26d61c(0x5a8,_0x155525._0x5672cf,0x4bd,_0x155525._0x538c73)]===0x0)return _0x51570b;const _0x5df3b4=_0x1077e8+'\x0a'+_0x40a77a['output'][_0x26d61c(0x4b8,_0x155525._0x20698c,_0x155525._0x13aec5,_0x155525._0x381bbb)]()+'\x0a'+_0x9e24a4;if(Buffer[_0x5562ce(_0x155525._0x46d809,0x481,0x656,_0x155525._0x1fa14d)](_0x5df3b4,_0x5562ce(_0x155525._0x466323,0x5f5,_0x155525._0x13c68f,0x372))>_0x12d823)return _0x51570b;return{'tag':_0x175f85[_0x26d61c(0x67b,_0x155525._0x24ada0,_0x155525._0x1cc559,_0x155525._0x2251b9)],'digest':_0x175f85[_0x26d61c(_0x155525._0x4a9290,0x45a,0x54f,0x61c)],'contextLines':[..._0x40a77a[_0x26d61c(0x679,0x6e6,_0x155525._0x1efb46,0x638)]],'output':_0x5df3b4};}function assertPreviewWithinBounds(_0x539ce2,_0x34cdbe,_0x12763f){const _0x12ebf4={_0x4ad0b6:0x1f6,_0x4e24de:0x1f8,_0x3badbb:0x2ae,_0x4311c1:0x105,_0x11bb54:0xc9},_0x30cd02={_0x5ceb55:0x14a,_0x24308b:0xb0,_0x481252:0x1a1},_0x130a5d={_0x150b25:0xe8},_0x1a7f28=_0x539ce2[_0x307596(_0x12ebf4._0x4ad0b6,_0x12ebf4._0x4e24de,0x399,0x172)]((_0x198079,_0x560293)=>_0x198079+Buffer[_0x533e78(0x43c,0x39b,0x26b,0x242)](_0x560293[_0x533e78(0x67,-0x14f,-0x81,-0x188)],_0x307596(0x73,0xf8,0x23b,0x2fe))+Buffer[_0x307596(0x3b0,0x54f,0x46f,0x2c4)](_0x560293[_0x307596(0x1d,0x175,0x10f,0x39)],_0x533e78(0xad,0x7,0x37,0x192)),0x0);function _0x533e78(_0x511793,_0x783e0b,_0x470e99,_0x4ceeda){return _0x3145c3(_0x511793-_0x130a5d._0x150b25,_0x470e99- -0x5b9,_0x470e99-0x171,_0x511793);}function _0x307596(_0x368f26,_0x43225f,_0x569bc1,_0x47c4c4){return _0x4d75fe(_0x368f26-_0x30cd02._0x5ceb55,_0x368f26,_0x569bc1- -_0x30cd02._0x24308b,_0x47c4c4-_0x30cd02._0x481252);}if(_0x1a7f28>MAX_ANCHORED_PREVIEW_BYTES)throw createAnchoredFileError(_0x533e78(-_0x12ebf4._0x3badbb,-0x2d5,-0xe1,-_0x12ebf4._0x4311c1),_0x307596(-0xbc,-0x6d,0x160,-_0x12ebf4._0x11bb54)+_0x1a7f28+'\x20bytes,\x20exceeding\x20the\x20'+MAX_ANCHORED_PREVIEW_BYTES+_0x533e78(0x247,0x1f4,0x177,0x1f5),{'path':_0x12763f,'canonicalPath':_0x34cdbe,'previewBytes':_0x1a7f28});}function buildPreview(_0x2249b5,_0x1b8a41,_0x31c7d1,_0x27f1a0,_0x37e8a2){const _0x54452e={_0x5ae997:0x67b,_0x3934da:0x791,_0x429880:0x378,_0x15372d:0x32f,_0x426171:0x36a,_0x52042c:0x650,_0x1472fa:0x82e,_0x4d2729:0x701,_0x429809:0x44b,_0x56680a:0x5fd,_0x2d8c5e:0x1a0},_0x570611={_0x2a8d3f:0x140},_0xc76926={_0x771cd4:0x1ba};function _0x3b16be(_0xa35d16,_0x38aa11,_0x1cdf7c,_0x158a90){return _0x3145c3(_0xa35d16-0xd5,_0x158a90-0x6a,_0x1cdf7c-_0xc76926._0x771cd4,_0x1cdf7c);}function _0x32ba83(_0x133854,_0x18d3b0,_0x1b6557,_0x16d6d8){return _0x4d75fe(_0x133854-0xe4,_0x16d6d8,_0x133854- -_0x570611._0x2a8d3f,_0x16d6d8-0x139);}return{'mode':_0x2249b5,'filePath':_0x1b8a41[_0x3b16be(0x573,_0x54452e._0x5ae997,0x860,_0x54452e._0x3934da)],'canonicalPath':_0x31c7d1[_0x32ba83(0x260,_0x54452e._0x429880,_0x54452e._0x15372d,_0x54452e._0x426171)],'tag':_0x1b8a41[_0x3b16be(0x5d8,_0x54452e._0x52042c,0x597,0x730)],'digest':_0x27f1a0[_0x3b16be(0x7e2,0x5fa,0x604,0x5f0)]['digest'],'operationCount':_0x37e8a2[_0x3b16be(0x77c,0x885,0x9db,0x8fa)][_0x3b16be(0x866,_0x54452e._0x1472fa,_0x54452e._0x4d2729,0x68a)],'operations':_0x37e8a2[_0x32ba83(_0x54452e._0x429809,0x3f2,0x605,_0x54452e._0x56680a)],'blocks':_0x37e8a2[_0x32ba83(0x168,_0x54452e._0x2d8c5e,0x11c,0x19b)]};}function buildResultText(_0x2a6a05,_0x186ab8,_0x2450ce,_0xf138dc,_0x520f45){const _0x2a77b3={_0x1173b0:0x7c4,_0x4f9072:0x443,_0x3fa582:0x6d4,_0x4b385e:0x4cd,_0xd6a3aa:0x5d2,_0x582a9b:0x69c,_0x191d7e:0x38b,_0x39fc87:0x571,_0x293061:0x5d2,_0xa3b0ef:0x3ef,_0x1df9dd:0x38e,_0x2c129f:0x459,_0x42f169:0x66f,_0x294e21:0x324},_0x2584a2={_0x2500aa:0x1ef,_0x5decfe:0x11d,_0x110cc3:0x8e};function _0x3b274f(_0x5007bd,_0x423cac,_0x468968,_0x5ddb74){return _0x4d75fe(_0x5007bd-0x3f,_0x468968,_0x5ddb74-0xb3,_0x5ddb74-0x5b);}const _0x5383e9='['+_0x2a6a05+'#'+_0x186ab8[_0x25d30c(0x650,0x5a9,_0x2a77b3._0x1173b0,_0x2a77b3._0x4f9072)]+']\x0a'+_0x520f45+'\x0a';let _0x34bdb3=Buffer[_0x3b274f(_0x2a77b3._0x3fa582,0x785,_0x2a77b3._0x4b385e,_0x2a77b3._0xd6a3aa)](_0x5383e9,'utf8');const _0x3eed6f=[],_0x585b93=[];function _0x25d30c(_0x3337e9,_0x58d153,_0x5a1281,_0x9f284a){return _0x3145c3(_0x3337e9-_0x2584a2._0x2500aa,_0x58d153- -_0x2584a2._0x5decfe,_0x5a1281-_0x2584a2._0x110cc3,_0x5a1281);}for(const _0x9ef273 of _0x2450ce){const _0x37961b=_0x9ef273+':'+(_0x186ab8[_0x25d30c(_0x2a77b3._0x582a9b,0x5ac,_0x2a77b3._0x191d7e,_0x2a77b3._0x39fc87)][_0x9ef273-0x1]??'')+'\x0a',_0x5ba2f7=Buffer[_0x3b274f(0x3e8,0x4bc,0x3be,_0x2a77b3._0x293061)](_0x37961b,'utf8');if(_0x34bdb3+_0x5ba2f7>_0xf138dc)break;_0x3eed6f['push'](_0x37961b),_0x585b93[_0x3b274f(_0x2a77b3._0xa3b0ef,0x544,_0x2a77b3._0x1df9dd,_0x2a77b3._0x2c129f)](_0x9ef273),_0x34bdb3+=_0x5ba2f7;}return{'output':''+_0x5383e9+_0x3eed6f[_0x25d30c(0x428,0x4dd,_0x2a77b3._0x42f169,_0x2a77b3._0x294e21)](''),'observedLines':_0x585b93};}function selectChangedContextLines(_0x4576c7,_0x5cac2b,_0x3eaa5c){const _0x49914d={_0x4077ff:0x669,_0x5716aa:0x459,_0x249c55:0x2d2,_0x55079f:0x134,_0x198046:0x9f8,_0x19f1a7:0x90b,_0x2dd461:0x2b8,_0x174747:0x8f0,_0x2ebefc:0x8ab,_0x12ce63:0x704,_0x2ca73e:0x77a,_0x4c535f:0x8c0,_0x64bc3:0x9ea,_0x5728f1:0x8ee,_0x3a18a1:0x8c2,_0x40325e:0x26b,_0x4c7425:0x24c,_0x48e88f:0x7d,_0x5c00e0:0x6c3,_0x564481:0x34e,_0x63a781:0x405,_0x50bf29:0x3a3,_0x377e16:0x7bc,_0x17d03a:0x70f,_0x37991b:0x134,_0x6f99cf:0x28a,_0x156610:0x2db,_0x2c47ea:0x5f5,_0x56a5a0:0x128,_0x3f9944:0x2fa,_0x53784d:0x6de,_0x491a9e:0x625,_0x4c0596:0x36e,_0xa4bddc:0xdc,_0x54e829:0x111,_0x445de3:0x302,_0x3d4728:0x16b,_0x23491a:0x2fc,_0x21f1e1:0x4b9,_0x1e313b:0x4c9,_0xb4ff47:0x565},_0x5b533b={_0x1e9298:0x433,_0x369a85:0x122},_0x376197=new Set();function _0x469fcc(_0xcc28c7,_0x5b264b,_0xb90b49,_0x38dbe4){return _0x3145c3(_0xcc28c7-0xf,_0xb90b49- -0x326,_0xb90b49-0xb,_0x38dbe4);}for(const _0x595486 of _0x4576c7){const _0x1c3022=_0x595486[_0x469fcc(0x434,_0x49914d._0x4077ff,_0x49914d._0x5716aa,0x41b)];if(_0x3eaa5c===_0x469fcc(0xec,0x499,_0x49914d._0x249c55,_0x49914d._0x55079f)){if(_0x1c3022[_0x2405b2(_0x49914d._0x198046,0x839,0x6c6,_0x49914d._0x19f1a7)]>0x0)for(let _0xcc4846=_0x1c3022['newStartLine'];_0xcc4846<=_0x1c3022['newEndLine']&&_0xcc4846<=_0x5cac2b[_0x469fcc(_0x49914d._0x2dd461,0x4f4,0x3a3,0x39b)][_0x2405b2(_0x49914d._0x174747,0x74e,_0x49914d._0x2ebefc,_0x49914d._0x12ce63)];_0xcc4846+=0x1){_0x376197[_0x2405b2(0x8a8,0x6de,0x5b7,_0x49914d._0x2ca73e)](_0xcc4846);}else _0x1c3022[_0x2405b2(0x7b4,0x8ee,0x98c,0xa6f)]>=0x1&&_0x1c3022[_0x2405b2(0xab4,0x8ee,_0x49914d._0x4c535f,_0x49914d._0x64bc3)]<=_0x5cac2b['lines'][_0x469fcc(0x138,0x4cb,0x2fa,0x224)]&&_0x376197[_0x469fcc(0x25d,0xa1,0x28a,0x96)](_0x1c3022[_0x2405b2(0xa19,_0x49914d._0x5728f1,_0x49914d._0x3a18a1,0xa37)]);}else{if(_0x1c3022[_0x469fcc(_0x49914d._0x40325e,0x262,_0x49914d._0x4c7425,_0x49914d._0x48e88f)]>0x0)for(let _0xa49691=_0x1c3022[_0x2405b2(_0x49914d._0x5c00e0,0x65d,0x6d0,0x6c1)];_0xa49691<=_0x1c3022['oldEndLine']&&_0xa49691<=_0x5cac2b[_0x469fcc(_0x49914d._0x564481,_0x49914d._0x63a781,_0x49914d._0x50bf29,0x1cc)][_0x2405b2(_0x49914d._0x377e16,0x74e,0x72c,_0x49914d._0x17d03a)];_0xa49691+=0x1){_0x376197[_0x469fcc(_0x49914d._0x37991b,0x459,_0x49914d._0x6f99cf,_0x49914d._0x156610)](_0xa49691);}else _0x1c3022[_0x2405b2(_0x49914d._0x2c47ea,0x65d,0x7dc,0x696)]>=0x1&&_0x1c3022['oldStartLine']<=_0x5cac2b[_0x469fcc(0x4a2,0x30e,0x3a3,0x576)][_0x469fcc(_0x49914d._0x56a5a0,0x39f,_0x49914d._0x3f9944,0x31d)]&&_0x376197[_0x2405b2(0x5ef,_0x49914d._0x53784d,_0x49914d._0x491a9e,0x6a3)](_0x1c3022[_0x469fcc(_0x49914d._0x4c0596,_0x49914d._0xa4bddc,0x209,_0x49914d._0x54e829)]);}}function _0x2405b2(_0x47fe4b,_0x5687f5,_0x2294b8,_0x54c455){return _0x4d75fe(_0x47fe4b-0x154,_0x47fe4b,_0x5687f5-_0x5b533b._0x1e9298,_0x54c455-_0x5b533b._0x369a85);}return[..._0x376197][_0x469fcc(0x3dd,_0x49914d._0x445de3,0x25f,_0x49914d._0x3d4728)]((_0x2d7541,_0x38c503)=>_0x2d7541-_0x38c503)[_0x469fcc(_0x49914d._0x23491a,_0x49914d._0x21f1e1,_0x49914d._0x1e313b,_0x49914d._0xb4ff47)](0x0,0x14);}function throwStaleSnapshot(_0x17cc6e,_0x415a28,_0x3ded25,_0x1aa499){const _0x3400ce={_0x4f864d:0x7e0,_0x5e3bd3:0x741,_0x480498:0x645,_0x5c2502:0x462,_0x22842c:0x5ec,_0x138141:0x502,_0x1d04e7:0x660,_0x4d8b42:0x5ab,_0x73b6c1:0x4de,_0x5c4d17:0x50d,_0x491560:0x601},_0x5ce9b0={_0x12dc55:0xa1,_0x516530:0x1eb},_0x3e91e4={_0x3f5426:0x3b,_0x2fe420:0x1fe,_0xd1c02b:0x3f};function _0x49fe89(_0x68500d,_0x3fea1a,_0x53ac49,_0x67e94a){return _0x4d75fe(_0x68500d-_0x3e91e4._0x3f5426,_0x68500d,_0x53ac49-_0x3e91e4._0x2fe420,_0x67e94a-_0x3e91e4._0xd1c02b);}function _0x36c201(_0x1e3a71,_0x525771,_0x1afe6f,_0x220670){return _0x4d75fe(_0x1e3a71-0x41,_0x220670,_0x1afe6f-_0x5ce9b0._0x12dc55,_0x220670-_0x5ce9b0._0x516530);}throw createAnchoredFileError(_0x36c201(0x7a0,_0x3400ce._0x4f864d,0x5d1,_0x3400ce._0x5e3bd3),_0x1aa499[_0x49fe89(0x57e,0x36a,0x432,0x21f)],{'path':_0x17cc6e,'canonicalPath':_0x415a28,'tag':_0x3ded25[_0x36c201(_0x3400ce._0x480498,0x46b,_0x3400ce._0x5c2502,_0x3400ce._0x22842c)],'digest':_0x3ded25[_0x49fe89(_0x3400ce._0x138141,_0x3400ce._0x1d04e7,_0x3400ce._0x4d8b42,_0x3400ce._0x73b6c1)],..._0x1aa499['contextLines'][_0x36c201(0x2e7,0x33d,0x3bc,0x4a4)]>0x0?{'contextLines':[..._0x1aa499[_0x36c201(_0x3400ce._0x5c4d17,0x601,_0x3400ce._0x491560,0x5ad)]]}:{}});}function throwUnseenLines(_0x2271f8,_0x29acc6,_0x19cf0c,_0x50cf98,_0x20d715){const _0x16322e={_0x1bdd07:0x599,_0x12913c:0x47b,_0x4910c1:0x4e4,_0x591e20:0x613,_0x2db8a0:0x6ed,_0xf6a10a:0x5f9,_0x69a768:0x452,_0x280d57:0x43c},_0x4017d0={_0xc81b52:0x79},_0x3aa77c={_0x456ad3:0x1ff,_0x59c720:0xa5};function _0x367c5d(_0x43a45b,_0x38bcd5,_0x2bf560,_0x470efd){return _0x4d75fe(_0x43a45b-0x158,_0x2bf560,_0x43a45b-_0x3aa77c._0x456ad3,_0x470efd-_0x3aa77c._0x59c720);}function _0x1b0c53(_0x48de40,_0x34990b,_0x461029,_0x1634a0){return _0x3145c3(_0x48de40-_0x4017d0._0xc81b52,_0x48de40- -0x1ce,_0x461029-0x172,_0x461029);}throw createAnchoredFileError('unseen_lines',_0x20d715['output'],{'path':_0x2271f8,'canonicalPath':_0x29acc6,'tag':_0x19cf0c[_0x367c5d(0x5c0,_0x16322e._0x1bdd07,_0x16322e._0x12913c,0x7bb)],'digest':_0x19cf0c[_0x1b0c53(_0x16322e._0x4910c1,_0x16322e._0x591e20,_0x16322e._0x2db8a0,0x48f)],'requiredLines':[..._0x50cf98],..._0x20d715[_0x1b0c53(0x697,0x671,0x899,_0x16322e._0xf6a10a)][_0x1b0c53(_0x16322e._0x69a768,0x5f8,_0x16322e._0x280d57,0x3b3)]>0x0?{'contextLines':[..._0x20d715['contextLines']]}:{}});}function throwNoChange(_0x25c827,_0x51c2ad,_0x1b7b6c,_0xe1a689,_0x791617){const _0x6b9155={_0x29347a:0x630,_0x12c06b:0x81e,_0x5c2064:0x65e,_0x27d3cc:0x3c4,_0x36c135:0x196,_0x38bd22:0x360,_0x49b413:0x50d,_0x291ae2:0x69c,_0x485591:0x73d,_0x21e209:0x61b,_0x439c81:0x2e9,_0x4c6be1:0x4d9,_0x433c2e:0x489,_0x29d8d1:0x68c,_0x48be5b:0x68f,_0x43bc58:0x5f6,_0x1a0d6b:0x4ce,_0x38bcd0:0x6df},_0x457f2e={_0x23a843:0x2db,_0x3b051f:0x9b},_0x460236={_0x3c0a8e:0x2b};function _0x386b7e(_0x3bd48a,_0x5bf62d,_0x5c7323,_0x2e6f46){return _0x3145c3(_0x3bd48a-_0x460236._0x3c0a8e,_0x2e6f46- -0x1d9,_0x5c7323-0x15d,_0x5c7323);}function _0x527c17(_0x39e43c,_0x376755,_0x1745ee,_0x36f446){return _0x4d75fe(_0x39e43c-0x9a,_0x376755,_0x1745ee-_0x457f2e._0x23a843,_0x36f446-_0x457f2e._0x3b051f);}throw createAnchoredFileError(_0x386b7e(0x887,_0x6b9155._0x29347a,_0x6b9155._0x12c06b,_0x6b9155._0x5c2064),_0xe1a689[_0x386b7e(0x3e9,_0x6b9155._0x27d3cc,_0x6b9155._0x36c135,_0x6b9155._0x38bd22)],{'path':_0x25c827,'canonicalPath':_0x51c2ad,'tag':_0x1b7b6c[_0x527c17(_0x6b9155._0x49b413,0x566,_0x6b9155._0x291ae2,_0x6b9155._0x485591)],'digest':_0x1b7b6c[_0x386b7e(_0x6b9155._0x21e209,0x65c,_0x6b9155._0x439c81,_0x6b9155._0x4c6be1)],'attemptCount':_0x791617,..._0xe1a689[_0x386b7e(_0x6b9155._0x433c2e,0x74f,0x845,_0x6b9155._0x29d8d1)][_0x527c17(_0x6b9155._0x48be5b,0x410,_0x6b9155._0x43bc58,0x785)]>0x0?{'contextLines':[..._0xe1a689[_0x386b7e(_0x6b9155._0x1a0d6b,_0x6b9155._0x38bcd0,0x486,0x68c)]]}:{}});}function _0x1b45(){const _0x266915=['BM9Fy2HHBMDL','C3rHDhvZvgv4Da','ugf0AcbPCYbUB3qGysbMAwXLoIa','rMfPBgvKihrVihrLCM1PBMf0zsa','yMfZAwm','Bwf4rw50CMLLCW','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','BwnWlxrVB2WTy2fSBc1MywLSzwq','y2XPzw50sw5MB3jTyxrPB24','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','zw5HyMXLza','y291BNq','BwnWlxrYyw5ZCg9YDc1LCNjVCG','zgvWCW','Ahr0Ca','Dgv4Dc9ODg1S','BNvTyMvY','uMuTCMvHzcb0AguGCMvXDwLYzwqGBgLUzxmGD2L0AcbgAwXLuMvHzcbHBMqGCMv0CNKGD2L0Acb0AguGzNjLC2GGDgfNlG','ugf0AcbUB3qGzM91BMq6ia','ugfJA2fNzxm','Dg90ywXeCM9WCgvK','C3bSAwnL','C3rHCNrmAw5L','BwLUAw1HEa','zxHPDgvK','zMLSzq','AgfZt3DU','zgvZy3jPChrVCNm','BgLZDfrVB2XZ','CMvWBgfJzsbJB250zw50ig11C3qGyMuGysbZDhjPBMCU','l3vZCI9IAw4VCMC','y29UzMLYBwvK','ls1OAwrKzw4','yMLVBwuUANnVBG','ywn0AxzL','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','DhjPBq','Dg9Rzw5Z','BwLUAw1HBa','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','vgHLigzPBguGywXYzwfKEsbTyxrJAgvZihrOzsbPBNrLBMrLzcbYzxn1Bhq7ig5VihDYAxrLihDHCYbTywrLlIbszs1YzwfKihDPDgGGrMLSzvjLywqGyMvMB3jLihjLDhj5Aw5NlG','CMvNAw9U','Aw1Hz2uVD2vICa','rMLSzvjLywq','igj5DgvZks4','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','y29UDgv4DeXPBMvZ','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','BM9Zy3jPChq','Dg9vChbLCKnHC2u','Cg9ZDf93CML0zv9KCMLMDdOGrMfPBgvKihrVihzLCMLMEsa','ChjLCgfYzunHBgXiAwvYyxjJAhK','qxqGBw9ZDca','AxneAxjLy3rVCNK','A2v5','oIbLEhbLy3rLzcbHihbVC2L0AxzLig51BwjLCG','rgv0ywLSoIa','BgLNAhq','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','ChjPB3jPDhK','B3jPz2LUywW','CMvJB3jKtM9dAgfUz2u','oYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','B3bLBMfP','qMfZzsbKAxjLy3rVCNK6ia','Cgf0Aa','Ag9ZDa','sw52ywXPzcbVDxrWDxrszwDLEdOG','BgLZDa','B2zM','u0HfteW','Bwv0yq','Bg9JyxrPB24','Bwf4uMvKAxjLy3rZ','mJq4mdG2D3DbDgru','r09pr0Xfx0ntrv9lrvK','C3rKB3v0tM9YBwfSAxPLCG','yw5ZAti1nG','Dg9WAwm','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','zxzPy3rmzwfZDfjLy2vUDgX5vxnLzfbHDgG','lu5VuhjVzMLSzq','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbZBMfWC2HVDc1HBMnOB3jLzcbSAw5Lig9WzxjHDgLVBNmUienHBgWGrMLSzvjLywqGzMLYC3qGDg8GB2j0ywLUihrOzsbJDxjYzw50ifTWyxrOi1rbr10GAgvHzgvYigfUzcbooIbSAw5Lig51BwjLCNm7igv2zxj5igvKAxqGCMvXDwLYzxmGDgHHDcb0ywCUifjLDxnLihrOzsbMCMvZAcaJvefhihjLDhvYBMvKigj5igeGC3vJy2vZC2z1BcbLzgL0igzVCIb0AguGBMv4DcbLzgL0ig9UihrOzsbZyw1LigzPBguSigfUzcbYzs1YzwfKig9UBhKGD2HLBIb5B3uGBMvLzcb1BNnLzw4GBgLUzsbUDw1IzxjZig9YigeGDgfNigLZihjLAMvJDgvKlIbmAw5Lig51BwjLCNmGAw4GB3bLCMf0Aw9UCYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4','zMLSzunVDw50','ChjVDg9JB2W','CMvZDwX0','C2vZC2LVBG','Aw5FChjVz3jLC3m','B3bLCMf0Aw9UCW','t1bftKfjx0fqsv9lrvK','AxntywzLsw50zwDLCG','EgHPz2G','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','zw9S','Dw5PB24','lM10CW','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','mc4WlJa','Dw5ZzwvUx2XPBMvZ','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','z2v0','B2jZzxj2zwrmAw5LCW','yMfZAa','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','z29Vz2XLlwnZzq','AgLNAa','Aw5JB21PBMDdywXSCW','ywXSB3C','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','yMLUza','qxqGBgvHC3qGB25LigfUy2HVCMvKig9WzxjHDgLVBIbPCYbYzxf1AxjLzc4','AxndB250zxH0','uefusa','Ag9TzwrPCG','A2LSBa','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','uxvLC3rPB24G','icHWAwqG','ls1MB2XSB3C','Cgf0DgvYBIbPCYbYzxf1AxjLza','igj5DgvZlcbLEgnLzwrPBMCGDgHLig9IC2vYDMf0Aw9Ulxn0B3jLigjVDw5Kig9Mia','ihDHCYbHBhjLywr5ia','Cgf0Ag5HBwu','DgLTzvTKyxrLDgLTzv0','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','C2LNBMfSqwrHChrLCG','Aw5JBhvKzq','C3vWzxjszwzPBMu','B3b0Aw9UywW','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0ig5VDcbJB250ywLUignHCNjPywDLihjLDhvYBNmU','zgvSzxrLlMvUzeXPBMu','y2XLyw51Ca','C3rKB3v0','ChjLChjVy2vZCW','mtiXnde5ovvkC3f4qq','y21KlMv4zq','C3rHCNrZv2L0Aa','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','DhjHBNnMB3jTCW','y29ZDa','yxr0ywnO','zg9TywLUCW','y2XPzw50twv0ywrHDgfvCMW','BgLTAxq','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','w1jfrefdvevexq','lMPZ','y2XPzw50x3nLy3jLDf9WB3n0','CxvLC3rPB24T','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzc4Grg8GBM90ignHBgWGvg9KB1DYAxrLigfNywLUlIbjzIb0AguGChjVDMLUzYb0zxn0ig9Yigj1AwXKigfSCMvHzhKGCgfZC2vKlcbZDg9WlGPdB21WBgv0zwqGBgLZDdOk','zMjJBgLK','uMvHC29UAw5Nig9WDgLVBIaI','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','C2HLBgXjza','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','qxnRvxnLCLrVB2W','ywXSB3DLzerPCNm','lMjPBG','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','BM9UBMvNyxrPDMu','DMvYC2LVBNncEvbHDgG','ig9WzxjHDgLVBNmGkgrYEsbYDw47ig5VihDYAxrLks4','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','xsbPCYbWyxn0ihrOzsbLBMqGB2yGDgHLia','CgvYBwLZC2LVBKnSyxnZ','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB2jZzxj2yxrPB25ZlG','ywrKsxnZDwu','B3v0y29Tzq','C2v0','ywnXDwLYzq','C3jJl3nOyxjLzc90ExbLCY50CW','C2vHCMnOrgvWDgG','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','C25PChbLDa','revfufnfruTFqvbjx0Tfwq','ie9sia','D2fYBG','zMLSDgvY','yxv0Ag9YAxPHDgLVBL9JB2rL','zNjVBuvUDhjPzxm','DxrTx2nVBNrLBNq','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','BwnWlxjLCxvLC3qTDgLTzw91Da','A2v5yMLUzgLUz3m','CMvSyxrPDMu','zMLSztOVlW','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','rMLSzsbPCYbLBxb0EtSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHBIbVyNnLCNzLzcbSAw5LlG','t3b0Aw9UywWGBw9KzwWGy2fWywjPBgL0EsbVDMvYCMLKzs4Gq2HVB3nLihrOzsbSzwfZDcbJyxbHyMXLihrPzxiGywrLCxvHDguGzM9YihrOzsb0yxnRoIbGzMfZDgaG4OcuigjVDw5KzwqGBg9VA3vWlcbZzwfYy2GSihn1Bw1HCML6yxrPB24Sig9YihnPBxbSzsbSB3CTCMLZAYb3B3jRoYbGyMfSyw5JzwrGiokaLcbUB3jTywWGAw1WBgvTzw50yxrPB24SihjLDMLLDYWGzgvIDwDNAw5NlcbVCIbTDwX0As1ZDgvWihDVCMS7igbWB3DLCMz1BgaG4OcuigfTyMLNDw91CYWGAgLNAc1YAxnRlcbJCM9ZCY1JDxr0Aw5NlcbVCIb1BNvZDwfSBhKGzgLMzMLJDwX0ihjLyxnVBMLUzY4GvgLLCIbZzwXLy3rPB24GzxHWCMvZC2vZihrHC2SGCMvXDwLYzw1LBNrZig9UBhKSig5VDcbWCM92AwrLCIWGChjPy2uSig9Yigf2ywLSywjPBgL0Es4Gt21PDcbGBw9KzwXuAwvYycb3AgvUig5VigrLBgLIzxjHDguGB3zLCNjPzguGAxmGBMvLzgvKlG','B3bLBMfPlxjLC3bVBNnLCY13CW','CNvUsw5cywnRz3jVDw5K','y2XPzw50','DxnLCM5HBwu','C3rKB3v0rgvJB2rLCG','Dgv4DerVy3vTzw50l2HVDMvY','vw50AxrSzwq','lNbUzW','zgLZy292zxj5u3rHDgu','AhrTBfnUAxbWzxq','Aw5ZDhj1y3rPB25Z','y29UDgvUDa','CMLWz3jLCa','Dgv4DerVy3vTzw50l2rPze9Wzw4','CMvNAxn0zxjby3rPDMvsDw4','s2LSBgvKia','D2LUmZi','D29YA3nWywnLu3LTyM9S','ywXS','CM9VDa','BM9Uzq','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','AwDUB3jL','yxjYyxK','BwnWlwnSB3nLlwzHAwXLza','D3jPDgvFzMfPBgvK','u2HLBgWGBM90igzVDw5KoIa','lI4U','qKftse9qvfm','BMv3vgv4Da','zMXHDe1HCa','BwvZC2fNzq','CM9VDfbPza','Bg93','CMvZzxj2yxrPB25Z','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','zgvLChnLzwS','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','z2fW','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','DgHLBG','ig11C3qGyMuGysbWB3nPDgL2zsbZywzLigLUDgvNzxi7igDVDca','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','CMvHzezPBgu','zgf0zxrPBwu','C2H1DgrVD25tDgfYDgvK','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','rMLSzsb3CML0DgvUigf0ia','Aw52ywXPzf9Yyw5Nzq','B3bLBKzPBgvZ','vgHLigfUy2HVCMvKig9WzxjHDgLVBNmGD291BgqGBgvHDMuGDgHLigzPBguGyNL0zs1PzgvUDgLJywWU','z29Vz2XLq3nLs2v5','Dg90ywXcExrLCW','uhjVz3jHBuzPBgvZ','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','C3bHD25PBMC','AxngAw5PDgu','rgLHz25VC3rPyW','lwXPBMuGC25HChnOB3qU','DgL0Bgu','BNbT','Aw50','AgfUzgXL','BgLUzu51Bq','CMvWBgfJzs5ZDgfYDeXPBMu','ChjLzML4','Dgf2AwX5','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB3v0Chv0qNvKz2v0qNL0zxmU','qMvHCMvYia','yMvHCMvY','y29UDgvUDc10ExbL','z29Vz2XLq3nLq3G','zw5NAw5LCW','zg9JDw1LBNrtEw1IB2W','Bg9VA3vW','DgfZAW','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','CMvZB2X2zq','lcbpChrPB24G','B3jPz2LUvg9VBenHBgXjza','C3rYDwn0DxjLza','yxrVBwLJv3jPDgu','zw51Bq','mNHUD2vuuW','mty5lJi1nc4WlJa','zMfZDa','C2vZC2LVBKLK','D29YA3nWywnLl3n5BwjVBa','CMvTB3zL','C2v0vg9KB3m','u25HChnOB3qGzM9Yia','mtKYlJaUmc4W','txvSDgLWBguGAw5Zzxj0Aw9UCYb0yxjNzxqGDgHLihnHBwuGBgLUzsbNyxaU','CgfJA2fNzxm','ue9tva','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','BxmU','C3rHBgvFC25HChnOB3q6ifvUywjSzsb0BYbYzwfKia','Bwf4vMvYC2LVBNnqzxjqyxrO','zw5NAw5L','yxv0BW','B25LCNjVCG','C2vYDMvYtMfTzq','Bwf0y2HdB3vUDa','D2HPy2GGCMC','zxHPDa','Dg9ju09tDhjPBMC','zwzMB3j0','DxbKyxrL','Aw52ywXPzf9Yyw5NztOGDgHLigvKAxqNCYbZB3vYy2uTzgvYAxzLzcbWCMv2Awv3ihrLEhqGAxmG','r0XpqKLhtK9srq','yxjNDw1LBNrZ','Cg5WBs1SB2nRlNLHBwW','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','CMvXDwLYzwq','rw1WDhKGzMLSzxmGAgf2zsbUBYbVyNnLCNzHyMXLigXPBMuGyw5JAg9YCZSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHDcbSzwfZDcbVBMuGBgLUzs4','rxHWzwn0zwqGysbJyw5VBMLJywWGChjVDMLKzxiTCxvHBgLMAwvKig1VzgvSihnLBgvJDg9Y','Dg9KB3ncEvnLC3nPB24','CMvZB2X2zwrnB2rLBeLKzw50Axr5','ru5w','mti3lJaUmc4W','sw52ywXPzcbYzwDLEdOG','ywnXDwLYzuj5DgvZ','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','ywDLBNrnB2rLBfnLDa','u3rHCNrLzcbHz2vUDcbYDw4G','ls1NBg9I','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','y2fSBgjHy2TvCMW','yxnZAwDU','ls1NBg9IpseUz2L0lYO','yMLVBwu','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','B2XKu3rHCNrmAw5L','ig11C3qGyMuGB2jZzxj2zwqGyNKGrMLSzvjLywqGyMvMB3jLigL0ignHBIbIzsb1C2vKigfZigfUigvKAxqGyw5JAg9YlG','C3rYAwn0','mJr3v09cwKm','BgLUzvrLEhq','zhj5uNvU','y2vPBa','v0vcua','zgnZ','B2XKvgv4Da','B3v0Chv0','C2vYDMvYswq','vg9KB1DYAxrL','B3bLBMnVzguTz28','zxjYB3jZ','y29UDgv4Da','rvnsq0G','y2HHDgDWDa','CxvLCNK','ChjVy2vZC0DYB3vWswq','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','y2XPzw50CW','Bwf0y2HLCW','vMfSAwrHDgvKia','C2vHCMnOvhLWzq','yxnPzgu','Aw5PDgLHBgL6zq','zgLZCg9Zzq','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','z2v0uhjVDg90ExbLt2y','Aw1Hz2uVCg5N','DgfZA2TPBgW','C2HPzNq','ywDLBNrZ','z29uB0LTCgXLBwvUDgf0Aw9U','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','Cg9ZDf93CML0zv9KCMLMDdOG','lMPZB24','Bwf4','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','Dg9Rzw5tDg9YywDLs2v5','DgvYBwLUywXtzxr0BgvK','B3v0Chv0qNvKz2v0qNL0zxm','C3LTBgLUAW','yw1IAwD1B3vZx3nUyxbZAg90x3rHzW','ktSGDxnLigv4ywn0ihjLCgXHy2vTzw50icHgAwXLrwrPDcb3AxrOig9SzfrLEhqVBMv3vgv4DcKGAw5ZDgvHzc4','Aw5Zzxj0','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','B25uzxjTAw5HBevYCM9Y','Dg9VBc1VDxrWDxqTB2zMBg9Hza','y29UBMvJDgLVBG','zhvWBgLJyxrLx3rVzg9FAwrZ','y2HHCKnVzgvbDa','CMvTB3zLrxzLBNrmAxn0zw5LCG','C3rYAxbbBNnP','lMDPzG','Dg9VBhmVy2fSBa','uMvHC29UAw5NigrLzMf1BhqGiG','ANnVBMm','Dhj1BMnHDgvK','ig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqG','y2HHDe1VzgvS','Dg9VBfjLC3vSDhm','zw5JB2rL','BhnWlxbYB3H5','yNL0zxncEurPz2vZDa','BgLUzv9UDw1Izxi','B2XKtgLUzunVDw50','C3rHDgu','Aw5PDgLHBgL6yxrPB24','yxr0CG','BwLU','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','C2vUze5VDgLMAwnHDgLVBG','CMvZzxj2zq','BgfUz18','CgXHDgzVCM0','Ahr0CdO','yMfJA2DYB3vUzfjLz2LZDhj5','z2v0t3DUuhjVCgvYDhLoyw1LCW','BgLTAxrZ','ywjZ','CMvWBgfJzq','CMvJzw5JEq','ywDLBNrjza','C29YDa','C25HChnOB3q','y2HTB2q','vw5RBM93BIbHBMnOB3jLzcbVCgvYyxrPB24GjW','ugf0y2GGy29UDgfPBNmGBM8GB3bLCMf0Aw9UCY4','BgLMzwn5y2XL','BwnWlwnVBM5Ly3qTzMfPBgvK','lNDLyNa','z2L0qNjHBMnO','Bg9JywXLq29TCgfYzq','lMPWzW','v2vIrMv0y2G','yxbWzw5KrgvJB2rLza','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','tM8GzgLHz25VC3rPy3m','yw5ZD2vYCW','ls1NBg9Ipq','DgfPBhm','Bw9KzwXjzgvUDgL0Eq','C3vKBW','Aw50zxjUywXmAwzLy3LJBgu','CMfUAW','DhjHAwXPBMDdAhvUA3m','BM93','B2f1DgG','vxbKyxrLvg9WAwm','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','C2vSzwn0Aw9UuMfUz2u','Aw5WDxq','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','CM91BMq','zgvUEq','Dw5RBM93BIb0zxjTAw5HDgLVBIbLCNjVCG','tM8GBg9JyxrPB25ZigzVDw5K','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','u0Lhvevstq','DxrMoej5DgvZ','zgvZy3jPChrPB24','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','zMLUzfjLzMvYzw5Jzxm','yMXVy2TZ','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','ygbG','ywrK','CMvJzw5JEurHExm','zMXVB3i','zgvSzxrLlNn0yxj0tgLUzq','C2v2zxjPDhK','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','ls1YzwDLEha','zNvSzMLSBgvK','qw4GAw5Zzxj0Aw9UihrHCMDLDhmGysbNyxaGC3rYAwn0BhKGAw5ZAwrLigeGCMvWBgfJzwqGB3iGzgvSzxrLzcbYyw5Nzs4','zMfPBgvK','zgvMyxvSDen3za','tM8GCMvZDwX0CYbMB3vUzc4','yxnJAwK','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','DhjHBNnMB3jT','y3vZDg9T','CMvXDwvZDhm','Aw5Zzxj0igXPBMu','EwvZ','B2jZzxj2yxrPB25Z','ktSGBM8GCM9SBgjHy2SGD2fZihbLCMzVCM1Lzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','vMLLD2vKigLTywDLigzPBgu6ia','CMvZDwX0CW','BwnWlwf1DgGTCMvXDwLYzwq','igLZihbHC3qGDgHLigvUzcbVzIb0AguG','z2v0u3rHDhm','Dgv4Da','CgfJA2fNzs5QC29U','C3rHCNrLzef0','BgLUzq','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','DhjPBuvUza','Aw52ywXPzf90B2rVx2nVBNrLBNq','qwDLBNqGBw9KzwWGC2v0ig11C3qGBM90igjLigvTChr5','C3rHBgvFC25HChnOB3q6iezPBguG','rMv0y2GGywjVCNrLzcbIEsb1C2vY','DgvZDa','zw52','mZG0mtG1oxLHCKvsuG','y2fWq2HHCNm','Dw5ZzwvUx2XPBMvZoIb0AguGCMvXDwLYzwqGBgLUzxmGBxvZDcbIzsbVyNnLCNzLzcbIEsbgAwXLuMvHzcbIzwzVCMuGDgHLEsbJyw4GyMuGDxnLzcbHCYbLzgL0igfUy2HVCNmU','sw52ywXPzcbZDhj1y3r1CMvKiezPBgvfzgL0igLUChv0oIa','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','te9dquXbufbeqvrb','zxH0BMfTzq','uMvHzcb0AguGBMv4DcbYyw5Nzsb3AxrOigXPBMvtDgfYDdOG','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','y29KzvzLCMLMAwvY','l3vZCI9SB2nHBc9IAw4VCMC','y29TCgXLDgvK','phn5C3rLBs1Yzw1PBMrLCJ4','yNvUlMXVy2TI','mc4WlJaUma','CNvUswq','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','ANnVBG','yMfZzw5HBwu','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','BM9Kzv9TB2r1BgvZ','CMvSzwfZzufNzw50uMvZB3vYy2vZ','AMf2yxnJCMLWDa','oIbPzcbYzxf1AxjLza','DxrMoa','y2fUB25Py2fS','ig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYihbHDgnOlG','C2vYDMvY','vw5HyMXLihrVihjLywqG','CMfJzq','C291CMnL','C3rHBgvFC25HChnOB3q6ihrOzsbMAwXLignOyw5NzwqGC2LUy2uGC25HChnOB3qG','ywz0zxi','DxrTx21LzgL1Bq','AM9PBG','tfnqia','xqPgAwXLihDYAxr0zw4GyxqG','Dhj1zq','zMLSzxm','Cgf0DgvYBG','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','CxvLC3rPB24','CMvXDwvZDgvKtw9KzwXuAwvY','C2L0ztO','C2HHmJu2','zxzPy3rjzK5LzwrLza','yMfSyw5Jzwq','Cg9W','BwnWlxnKAY1JBgLLBNqTzxjYB3i','CMvWBgfJzsbLBMrmAw5L','sfruuca','zMLUza','C3jJl2fNzw50l2fNzw50lNrZ','yNvKz2v0vg9Rzw5Z','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','zgv0ywLS','zgvLCgLUzNjH','A2LTAq','tM8GAg92zxiGAw5MB3jTyxrPB24','C2H1DgrVD24','ignOyw5NzwqGB24GzgLZAZSGCMuTCMvHzcb3AxrOiezPBgvszwfKigfUzcbYzxrYEsb3AxrOihrOzsbMCMvZAcb0ywCU','Aw52ywXPzf90B3bPyW','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','tgLUzsa','CgfZC3rOCM91z2G','qxv0Ag9YAxPHDgLVBG','sw52B2TLq29TBwfUza','BMfTzq','Bw9KzwXuAwvY','ru5pru5u','Aw1WBgvTzw50yxrPB24','ywjVCNrLza','BgvUz3rO','CMvXDwLYzwrmAw5LCW','Aw5Zzxj0ihbVC2L0Aw9Uig11C3qGyMuGj2jLzM9YzsCGB3iGj2fMDgvYjY4','sgLUDa','D2fPDezVCLrLCM1PBMfS','C3rKzxjY','C3bHD24','u2TPBgWGjW','zgLZy292zxi','cGPbuKDvtuvovfm6ia','y29UBMvJDa','u25HChnOB3qGDgfNia','igj5DguTAwrLBNrPy2fSlG','CgvUzgLUzW','Bg9HzenVBw1HBMq','zgvMAw5PDgLVBG','CMvMAw5L','Bwv0yxrHz3m','CMvMCMvZAf90B2TLBG','Dg90ywXqCM9KDwnLza','C2nYDwjfBNzlzxLZ','y2XLyxi','zxHHy3q','DhnJB25MAwCUANnVBG','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','B3v0Chv0uMvNzxG','DhnZzxj2zxiUANm','iYmGu2TPBgW6ia','Agv4','C3r5Bgu','vg9Vig1HBNKGCMvKAxjLy3rZ','zgvUBY5QC29U','C2v0DgXLvgvYBwLUywW','B2zMC2v0','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','CxvLC3rPB25Z','yxbWBgLJyxrPB24VANnVBG','Aw52ywXPzf90B2rVx3n0yxr1CW','zgvSzxrLq291BNq','ChjVy2vZCW','ufvuihjLCxvPCMvZigf0igXLyxn0ig9UzsbWyxLSB2fKihjVDY4','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','vMLLD0zPBgu','C2L6zq','t1bftKnprevFqvbjx0Tfwq','zgfZAa','ywX3yxLZlwnVBMzPCM0','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','Bg9HzfnRAwXS','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbHihnUyxbZAg90lwfUy2HVCMvKieHHC2HSAw5LihbHDgnOlIbdywXSiezPBgvszwfKigzPCNn0ihrVig9IDgfPBIb0AguGy3vYCMvUDcbBCgf0AcnuquDDigHLywrLCIbHBMqGtJOGBgLUzsbUDw1IzxjZoYbLDMvYEsbLzgL0ihjLCxvPCMvZihrOyxqGDgfNlcbHBMqGywXSigXPBMuGBNvTyMvYCYbIzwXVDYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4GuMv1C2uGDgHLigzYzxnOicnuquCGCMv0DxjUzwqGyNKGysbZDwnJzxnZzNvSigvKAxqGzM9YihrOzsbUzxH0igvKAxqGB24GDgHLihnHBwuGzMLSztSGCMuTCMvHzcbVBMX5ihDOzw4GEw91ig5LzwqGDw5ZzwvUigXPBMuGBNvTyMvYCYbVCIbHihrHzYbPCYbYzwPLy3rLzc4kvgHLihbHDgnOihn0CMLUzYbPCYbVBMuGw3bHDgGJvefhxsbOzwfKzxiGCM93igzVBgXVD2vKigj5ig9UzsbVCIbTB3jLignVBw1HBMrZlcbLywnOigfWCgXPzwqGywDHAw5ZDcb0AguGB3jPz2LUywWGC25HChnOB3q6cI0GufvuifnuqvjulJ1ftKq6ihjLCgXHy2vZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPihDPDgGGDgHLihbHEwXVywqGCM93CYb0Agf0igzVBgXVDZSGzwfJAcbWyxLSB2fKihjVDYbZDgfYDhmGD2L0AcaRicHHigjHCMuGkYbPCYbHigjSyw5RigXPBMuPlGOTifbvvca8tJOGAw5Zzxj0CYb0AguGCgf5Bg9HzcbYB3DZigjLzM9YzsbSAw5Lie4Uifbvvca+tJOGAw5Zzxj0CYb0AgvTigfMDgvYigXPBMuGtI4klsbdvvqGu1rbuLqUpuvorcbKzwXLDgvZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPlGPfEgfTCgXLicHYzxbSywnLigXPBMuGmIWGDgHLBIbPBNnLCNqGywz0zxiGBgLUzsa5ktOkw3nYyY9HChaUDhmJn0yYmue5m0m1rdeWxqPqvvqGmI49mJOkk2nVBNn0ihjLC3vSDca9ignHBgn1Bgf0zsHPBNb1DcK7cLbvvca+otOkk3jLDhvYBIbYzxn1Bhq7cLvZzsbmrIbSAw5LigvUzgLUz3mGB25SEsaOBM8Gy2fYCMLHz2uGCMv0DxjUCYKUief0ig1VC3qGmtaWig9WzxjHDgLVBNmGyw5Kidi1nIblAuiGB2yGCgf0y2GGDgv4DcbWzxiGy2fSBc4','AgvHzgvYCW','CMvHzen1CNnVCG','qxzHAwXHyMXLignVBw1HBMrZoG','Bwf4qNL0zxm','r0Lusfvcx0fdq0vtu19ut0TftG','Aw1Hz2u','mJm5oda1ow5itw5Lyq','Bw9Kzq','rMLSzu5LDW','Aw1Hz2vZ','tunqihrVB2WG','ihDHCYbYzwfKlG','Aw1Hz2uVz2LM','igzVCIbHBIbHBMnOB3jLzcbLzgL0icG','z3jHy2vMDwW','Dg9Rzw4','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','cGOTls0kcG','B3bLBNjVDxrLCG','zgvSzxrL','B3nJ','lunVBw1HBMq','Dw1HC2S','yMCT','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','ChjVDg90ExbL','DgvYBwLUyxrPBMC','yw50AhjVCgLJ','zgvUBY5QC29UyW','zgvSAxzLCMvK','BhmGlwXH','iIbPCYbYzxnLCNzLza','Aw52ywXPzf90B2rVCW','C3rKzxjYtM9YBwfSAxPLCG','ignSB3nLihrPBwvKig91Da','CMv0AxjL','CMvUzgvYu3LZDgvTuhjVBxb0','Dhj1BMm','DgfNrM9YrgLNzxn0','Dgv4DerVy3vTzw50l2rPzenSB3nL','u0HfteXpufrt','B3bLBG','Dg9VBenHBgXjza','yxjNDw1LBNroyw1LCW','qMfJA2DYB3vUzfbYB2nLC3ndBgvHBNvWrxjYB3i','w1bFxL1BxhnCu10QpW','zMLSBa','yNjVA2vU','DwX0CMe','vw5ZDxbWB3j0zwqGsgfZAgXPBMuGCM93oIa','uhvIBgLZAgvKoIa','mJiXmJm2ohbfEMryBa','DMvYAwzPzxi','ChvIBgLZAgvKqxq','B2XSyw1H','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','igj5DgvZicH0B3rHBdOG','r0Lusfvcx1rps0vo','l3bPza','AxntEw1IB2XPy0XPBMS','Aw5JBhvKzxm','z29uB0rLzMLUAxrPB24','igzHAwXLzcb0BYbJB25Uzwn0','lMPWzwC','Bw9VBNnOB3q','Aw1Hz2uVANbLzW','mtaWlJy0lJaUma','yxjNDw1LBNrZvgv4Da','CgfJA2fNzs1SB2nRlMPZB24','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','ienHDxnLoIa','CgfYzw50u2vZC2LVBKLK','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','y29KzvbVAw50qxq','yxbPs2v5','C2vSzwn0B3i','Cg9ZDf93CML0zv9KCMLMDa','ywXSu2v0DgXLza','zgvSzxrLihn0yxj0tgLUzsbTDxn0ig5VDcbLEgnLzwqGzw5KtgLUzs4','CMvXDwvZDa','y2fUB25Py2fSugf0Aa','zgLHz25VC3rPy3m','BM90Awz5','CMvMzxjLBMnLCW','B3v0z29PBMDdywXSCW','l3vZCI9IAw4VyMfZAa','ChvZAa','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','ktSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','zMLSzvzLCNnPB25Z','BgfUzW','AxngAwXL','Dg91y2HgAwXL','zgLNzxn0','CMvWBgfJzsbZDgfYDeXPBMuGBxvZDcbUB3qGzxHJzwvKigvUzeXPBMuU','AwDUB3jLt3v0Chv0','y2XVC2vbBgW','yMLUzfnLC3nPB24','y2HHBMDL','lMPZB25J','r3jLCa','y29UzMLN','rMLSzuvKAxq','CM93CW','y2f0y2G','w291Dhb1Dcb0CNvUy2f0zwq6ia','y291BNrLCG','CMvSzwfZzuj5DgvZ','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','C3jJl2v4yw1WBgvZl2rLBw8UDhm','BwnFzwLK','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','v2fYBMLUzW','DgfN','u0Lhs0Lmta','Aw5JBhvKzv9KB21HAw5Z','BgLUzxm','s0Lnsv9bueLFs0vz','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','C29Tzq','Dw5RBM93BL9ZBMfWC2HVDdOGvw5HyMXLihrVihjLywqG','l2jPBI9YzW','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','ywz0zxjuzxH0','D29YA3nWywnL','zgLZy292zxj5','AgvHzgvY','DgvYBwLUyxrPB25tzxr0BgvK','Ag9ZDg5HBwu','igj5DgvZicHVCMLNAw5HBdOG','y3jSzG','BxrPBwvnCW','yNvMzMvY','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','DhLWzxnJCMLWDhjLywn0','zNvUy3rPB24','AxnfCNjVCG','Bwf4q29Uy3vYCMvUDa','Aw5KzxHpzG','Dg9VBe5HBwu','Cg9ZAxrPB24','igfUy2HVCMvKig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYigvKAxqU','B25Jzq','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLig9UBhKGAw4GDgHLihnHBwuGCMvZCg9UC2uGyxmGCMvHBcb3B3jRicHYzwfKlcbNCMvWlcbLzgL0lcbIyxnOlcbMzxrJAcKUie5LDMvYihnLBMqGysbYzxnWB25Zzsb3Ag9ZzsbVBMX5ihrVB2WGy2fSBcbPCYbuB2rVv3jPDguUierVig5VDcbVCgvUigeGDhvYBIb3AxrOigL0lIbeBYbUB3qGywrKigeGD3jHCc11CcbJywXSigfMDgvYihrOzsbWCM92Aw5NihrLC3qGB3iGyNvPBgqGAxmGz3jLzw4UcGPtA2LWigL0igzVCIbJB252zxjZyxrPB25HBcbXDwvZDgLVBNmSigeGC2LUz2XLihn0CMfPz2H0zM9YD2fYzcb0yxnRlcbVCIbHihnOB3j0igzSyxqGC2vXDwvUy2uUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4GvxbKyxrLig9UBhKGyxqGBwvHBMLUz2z1BcbTAwXLC3rVBMvZlcbPBIb0AguGC2fTzsbYzxnWB25ZzsbHCYb0AguGD29YAYb0Agf0ignOyw5NzwqGDgHVC2uGC3rHDhvZzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGzMLUAxnOzwqGAxrLBxmGy29TCgXLDgvKigfUzcbZzxqGDgHLig5LEhqGBwLSzxn0B25LigLUx3bYB2DYzxnZihrVz2v0AgvYlGOTierVig5VDcbJywXSifrVzg9xCML0zsbHzNrLCIbLDMvYEsb0B29SignHBgWSig1PBM9Yihn1yNn0zxaSig9YihbYB2DYzxnZig1LC3nHz2uUcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcbVCIb2zxjPzMLJyxrPB24GzMfPBhmUifjLDMLZzsbPDgvTCYbVBMX5ihDOzw4GDgHLihbSyw4GBwf0zxjPywXSEsbJAgfUz2vZlGOTifbYzxnLCNzLigL0zw0GsurZigfUzcbPBMnSDwrLihrOzsbMDwXSign1CNjLBNqGBgLZDcbPBIbLDMvYEsb1CgrHDguU','oYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGzMLYC3qU','u3rVCdOGmYbJB25Zzwn1DgL2zsbPzgvUDgLJywWGBM8TB3aGzwrPDhmGzM9YihrOAxmGCgf0AcbHBMqGCgf5Bg9Hzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigjLzM9YzsbYzxrYEwLUzY4','zw5KtgLUzq','C2fMzq','BwnWxW','Aw5Zzxj0igXPBMuG','CMvSzwfZzq','igj5DgvZ','y2fUrgLZywjSzq','Dw5RBM93BL9ZBMfWC2HVDa','yw55lwfSBg93zwq','B2jQzwn0','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','Aw50zwDLCG','CMfUz2u','qMfZAa','vg9KBYa','zMLUAxrL','Dg9VBfbLCM1PC3nPB25Z','Dg9mB3DLCKnHC2u','DgvYBwLUyxrL','DxrTx3nVDxjJzq','ls1ZDgrPBW','zxHPDenVzgu','BwfYA2rVD24','ywrKrxzLBNrmAxn0zw5LCG','AgfZ','B3rOzxi','CMCUzxHL','z3jVAW','vw5ZywzLig9Yig1PC3nPBMCGv2LUzg93CYbYB290ihbPza','pc9ZExn0zw0TCMvTAw5Kzxi+','yxnRvxnLCG','z2vUzxjHBa','zgLZCgXHEwvKtgLUzxm','igLZihvUA25VD24GzM9Yia','AxnbCNjHEq','BMv3tgLUzunVDw50','qu5usfjpueLdx0fqsv9lrvK','BhnW','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','D2vI','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','zNjLzxPL','lMn0CW','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','mtKYlJe2oc4WlJa','y29TBwfUzhm','ihrPBwvKig91DcbHzNrLCIa','BgL0zxjHBa','y2XVC2u','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','y2fJAgvK','sw5MB3jTyxrPB24','CgLK','DhjHBNnWB3j0','oIbJB250zw50ihjLCxvPCMvK','zxHLyW','A2LSBfjLCxvLC3rLza','mtq1mJG2mfbqDurKBa','cMbGya','C2nYAxb0','DxrTx3rLCM0','yMfZzty0','zMLSzvbHDgG','Cgf0y2G','Bw9KzwW','l2jPBI9IyxnO','u2L6ztOG','z2v0vg9KB3m','Bxv0yxrPB25Z','zxH0zw5ZAw9UCW','DhLWzq','lwj5DguGyM91BMq7ig5HCNjVDYb0AguGzwrPDcbYyw5NzsbHBMqGCMv0CNKU','igj5DgvZoYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','Bwf0y2G','t1bftLjpvvrfuL9bueLFs0vz','Ag92zxi','C3rKzxjYrgvJB2rLCG','r09pr0Xfx0ntrv9dwa','qwDLBNqGCNvUia','ignVBM5Ly3rPB24GDgLTzwqGB3v0','DMvYAwz5rxHLy3v0Aw9U','Aw52ywXPzf90B2rVx2LK','r2XVyG','AgfZAgXPBMu','Aw5Zzxj0ignVBNrLBNqGBxvZDcbIzsbHihn0CMLUzY4','qgjPB21LANmVyMLVBwu','xg5DkJ8','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','BxvSDgLtzwXLy3q','Aw52ywXPzf9WyxrJAa','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','tM8GC3vJAcbMAwXLoIaN','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','z3jHy2vMDwXszxf1zxn0zwq','C2fMzvbHCNnL','C3rVCMfNzurPCG','DxjP','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','ig1Z','lM1QCW','CMvKDwnL','zgvMyxvSDfrPBwvVDxrnCW','zxjYB3i','CNnZ','yw50AhjVCgLJlw1LC3nHz2vZ','ywXSB3DLzfrVB2XZ','DxjS','ig1HDgnO','B3bLCMf0Aw9U','C3bSAwnLsw5KzxG','yxjNCW','C3rHDhvZ','Dg9tDhjPBMC','BxrPBwu','D2fPDezVCKrPywDUB3n0AwnZ','DhnJ','C3rKAw4','CMfUzg9T','vg90ywWGyxv0Ag9YzwqGCMvWBgfJzw1LBNqGy29UDgvUDcbTDxn0igjLigf0ig1VC3qG','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','CgLWzq','C3jJl3rVB2XZl2nVCMuVBw9JAY10B29Slxj1BNrPBwuUDhm','CMvJB3jK','AwzYyw1L','zNjVBq','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','DgLTzw91DfnVDxjJzq','zw50CMLLCW','sw52ywXPzcbiyxnOBgLUzsbgAwXLrwrPDcbPBNb1DdOG','A2LUza','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','CgXHAw50zxH0','igrPzcbUB3qGBwf0y2GGDgHLigLUDgvUzgvKignVBNrLBNqGywz0zxiGD3jPDgLUzY4','ygbGANnVBGO','DgvYBwLUyxrPB25qCM9TAxnL','C3rHCNq','zgvMyxvSDa','C291CMnLu3rHCNq','AxnbyNnVBhv0zq','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','Aw52ywXPzf90B2rVx2L0zw0','yxbWzw5K','BgLZDgvU','zMLUywXnzxnZywDL','qKftsf9ftLy','C2vHCMnOugfYyw1Z','BgLUzu51BwjLCNm','zw5K','CgfNzw1HCa','BwnWlxrVB2WTzxjYB3i','CMvXDwvZDfrPBwvVDxrnCW','CMvWBgfJzsbYyw5NzsbB','DgLTzw91De1Z','BM9dAgfUz2vdB3vUDgvYCW','rMLSzsa','A2LSBgvK','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','igzVCIbHBIbHBMnOB3jLzcbZBMfWC2HVDcaO','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','Aw5WDxrty2HLBwe','v2LUr2v0','CM91DgLUzW','C2LNBMfS','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','mtK4lJe4lJaUma','C2HLBgXqyxrO','lM51DMLUlwnVzgu','vg9WAwmGC2v0ihrVici','ignOyxjZigrYB3bWzwrDcG','B25szwrPCMvJDa','CMvQzwn0','vgHLihDYAxrLigXHBMrLzcWGyNv0ihrOzsbYzwfKlwjHy2SGzgLKig5VDcbTyxrJAcb0AguGAw50zw5KzwqGyNL0zxmGB3iGCgvYBwLZC2LVBNmUie5VihjVBgXIywnRihDHCYbWzxjMB3jTzwq7ihjLlxjLywqGD2L0AcbgAwXLuMvHzcb0BYbJB25MAxjTihrOzsbJDxjYzw50ihn0yxrLlG','D3jPDgu','q291BgqGBM90ihjLC29SDMuGAg9ZDa','qwXSia','AxrLBxm','igj5DgvZlG','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','Bwf4u25HChnOB3rcExrLCW','q0rqqvri','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','ls1MAwXLCW','Dw5RBM93BG','ChjVCgvYDgLLCW','zMLYC3q','tM8GC3LTyM9SCYbMB3vUza','BgLUzuvUza','ANnJB25MAwCUANnVBG','Dg9VBa','z2nSAwq','ls1QC29U','zxjYB3jnzxnZywDL','mZGWnJm1zNn2uxHy','BwvKAxvT','BNvT','yxnR','C3LZDgvTuhjVBxb0','zw5KC1DPDgG','D3jPDgvFzMfPBgvKoIbgywLSzwqGDg8GD3jPDguG','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','C3rYAw5N','igLZig5VDcb2ywXPzcbvveyToc4','y29TBwfUza','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','Cg9ZAxG','uhjVz3jHBuzPBgvZkhG4nIK','BgfIzwW','C3vIyxjYyxK','B3b0Aw9UCW','yM9VBgvHBG','q29TBwfUzcaN','BMv3u3rHCNrmAw5L','zgLHz25VC3rPy3ngB3jgAwXL','zM9Yy2vszxf1zxn0zwq','igv4y2vLzhmGDgHLihnHzMuTAw50zwDLCIbYyw5Nzs4','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','AhjLzG','zgvSzxrLihjHBMDLifS','tunqihnLCNzLCIa','zMLUywXnzxnZywDLvgv4Da','tg9HzgvKigzYB206ia','CMvHC29U','uhjVy2vZCYa','DgfNig11C3qGyMuGzxHHy3rSEsaXmIb1ChbLCMnHC2uGAgv4ignOyxjHy3rLCNm7igDVDcaN','yMLVBwuUANnVBMm','ihrVB2WGy2fSBcbMywLSzwq','z2L0AhvI','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','zgvSzxrLigvUzeXPBMu','ywjVCNq','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','ywXYzwfKEs10zxjTAw5HBa','y29Kzq','oIbPBNzHBgLKihn0yxr1CW','A2v5CW','v2vIu2vHCMnO','CMvZzxq','BwvTB3j5','zwrPDa','ChjVy2vZC0v4AxrLza','y29UDgv4DeXPBMS','qw5JAg9YzwqGCMvWBgfJzs9KzwXLDguGC291CMnLihjHBMDLCYbVDMvYBgfWlG','yNvMzMvYq2HHCNm','Bwf4ugf0Ahm','DhvYBMrVD24','zMLUywXSEq','zgf0yq','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','y2HHCMfJDgvY','zM9Yy2u','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','Dg9VBenHBgW','CNvUBMLUzW','zgLYBMfTzq','CgfYC2vjBNq','BgLI','C2XPy2u','DMfSDwvZ','C3rYzwfTC0zSDxnOzwq','BgfZDeLUzgv4t2y','zgvSzxrLihn0yxj0tgLUzq','D2LUzg93CW','ig5VDYbYzxnVBhzLCYb0BYbHigrPzMzLCMvUDcb0yxjNzxqGDgHHBIb0AguGyxbWCM92zwqGzwrPDdSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','zgvMyxvSDe9WDgLVBG','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','BwfUDwfS','BM9Fy2HHBMDLoIb0AguGCMvXDwvZDgvKigvKAxqGD291BgqGBgvHDMuG','ihDOAwXLihrOzsbLzgL0ihDHCYbWzw5KAw5NicG','C2vTyxbOB3jL','yNvUlMXVy2S','DhLWzxnJCMLWDa','vw5RBM93BIb0B29SoIa','C3rHDa','y3nP','rMv0y2GGDgLTzwqGB3v0','sw52ywXPzcbHz2vUDcbTB2rLBcbZzxqGBMfTzq','qvbjx0Tfwq','C291CMnLrw5K','DhvWBgu','yxv0Aa','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','D3jPDgvgAwXL','BMf2','o1TExg5DkJ8','yMvMB3jL','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','CNvUrxHJBhvZAxzL','Dg91y2HqyxrO','C2v0vg9WAwm','z2XVyG','CMvZzxroB0nOyw5Nzq','AgfZq2XPzw50CW','BgLUzvn0yxj0','zM9VDgvY','CMvHza','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','Dhj1zwnVBg9Y','CMvNzxG','C3rKAw8','CgfJA2fNzu5HBwu','C3bSAxq','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','Ahr0Chm6','ugf0y2GGBxvZDcbIzwDPBIb3AxrOigeGw1bbveGJvefhxsbOzwfKzxiU','zg5Zl3bYB21PC2vZ','AhLKCMf0zu1LDge','C3rHCNreAxi','yMLUyxj5tMfTzq','DMfSDwu','yNL0zuXLBMD0Aa','CgfYC2u','y3jLyxrLzef0','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','C2TPBgXZ','B25JBg9Zzq','zxzLCNK','lMnTza','l2jPBI9ZAa','Dg9KB3m','Axnoyu4','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','y2HPBgq','C3rYAw5NAwz5','BM90lwzVDw5K','BwfW','y3DK','C3rHBgvFC25HChnOB3q','BMv4DeXPBMvtDgfYDa'];_0x1b45=function(){return _0x266915;};return _0x1b45();}async function prepareAnchoredFileEditApproval(_0x70ab7b,_0x5c8e99,_0x4d415d,_0x3251ec){const _0x150e3e={_0x244902:0x3a5,_0x505f71:0x561,_0x5aaee6:0x71e,_0x3cf72c:0x63b,_0xbfaa81:0x429,_0x107cdf:0x6d6,_0x20a9ae:0x618,_0x345e80:0x84c,_0x555755:0x68c,_0x399d98:0x63b,_0x4b0970:0x62e,_0x45e59f:0x530,_0x4e0c5c:0x2f5,_0x44edb3:0x621,_0x4a4d26:0x636,_0x5afaf3:0x668,_0x4abf33:0x912,_0x3d79e9:0x63a,_0x448e04:0x768,_0xfe4289:0x6ad,_0x150766:0x612,_0x402942:0x559,_0xba334c:0x639,_0x33b956:0x69f,_0x263f67:0x7b0,_0x318648:0x84c,_0x59f492:0x70e,_0xe9dae2:0x542,_0x3f631b:0x5e2,_0x1269b5:0x4e5,_0x2b7963:0x68e,_0x4cec8e:0x4ba,_0xa9d9b0:0x39c,_0x1460b4:0x4df,_0x3a72bd:0x70b,_0x107ef8:0x56c,_0x27a13f:0x6f7,_0x2b81ee:0x737,_0x5103d0:0x79e,_0x49d623:0xaab,_0x3162c7:0x881,_0x56c4cd:0x49d,_0x1c8816:0x61b,_0xd2d126:0x415,_0x52c5ae:0x5f7,_0x1f97a3:0x64b,_0x2a676f:0x46d,_0x34c098:0x399,_0x2f7abb:0x779,_0x5e6320:0x7c3,_0x4487b8:0x8a4,_0x24f4b6:0x8dd,_0x18ece8:0x734,_0x1f123a:0x7ec,_0xc6ddd:0x67b,_0x3c6901:0x3bf,_0x59d3ef:0x8f8,_0x3a7052:0x7da,_0x37fb4c:0x737,_0x1ce759:0x788,_0x41fb60:0x7b3,_0x161a0b:0x7d0,_0x3c3e9:0x5b9,_0x877f74:0x6c7,_0x24f2d6:0x5fc,_0x1459fd:0x79b,_0x1f4460:0x5eb,_0x49e1f4:0x7fa,_0x5e80f9:0x7c4,_0x46b999:0x74b,_0x13a570:0x5ec,_0x1fcc41:0x7c1,_0x335b4d:0x63b,_0x588b0e:0x5bf,_0x4f473c:0x473,_0x16d514:0x7a9,_0x2d1961:0x595,_0x1bcb23:0x68c,_0x234eb5:0x4d8,_0x319b4b:0x3fa,_0x3b56ed:0x626,_0xf677d6:0x68c,_0x422b46:0x688,_0x22080d:0x81a},_0x398e0f={_0x2d5369:0x144,_0x49f524:0x142},_0x56833a={_0x177adc:0x1b0,_0x191919:0xec},_0x5edd8f=parseAnchoredInput(_0x70ab7b,_0x5c8e99),_0x5df4de=await resolveEditTarget(_0x3251ec[_0x4f4abd(0x4ce,_0x150e3e._0x244902,_0x150e3e._0x505f71,0x556)],_0x3251ec[_0x4a8953(0x714,_0x150e3e._0x5aaee6,0xac4,0x8be)],_0x5edd8f[_0x4f4abd(_0x150e3e._0x3cf72c,0x744,_0x150e3e._0xbfaa81,_0x150e3e._0x107cdf)]),{observations:_0x3de949}=_0x3251ec;_0x3de949[_0x4f4abd(0x5ca,0x68b,0x6c6,0x782)](_0x4d415d);const _0x5185c4=_0x3de949['resolve'](_0x5df4de['canonicalPath'],_0x5edd8f[_0x4f4abd(0x5da,0x6bf,0x55a,_0x150e3e._0x20a9ae)]);function _0x4f4abd(_0x161709,_0x3b7fab,_0x3c7829,_0xbd5441){return _0x3145c3(_0x161709-_0x56833a._0x177adc,_0x161709- -_0x56833a._0x191919,_0x3c7829-0xd6,_0x3c7829);}function _0x4a8953(_0x575298,_0x552443,_0x3c0480,_0x3d4d40){return _0x3145c3(_0x575298-_0x398e0f._0x2d5369,_0x3d4d40- -0x19,_0x3c0480-_0x398e0f._0x49f524,_0x552443);}const _0x3e346d=await readLiveSnapshot(_0x5df4de[_0x4a8953(0x4c0,0x727,_0x150e3e._0x345e80,_0x150e3e._0x555755)],_0x5edd8f[_0x4f4abd(_0x150e3e._0x399d98,_0x150e3e._0x4b0970,_0x150e3e._0x45e59f,0x679)]),_0x11ff8f=computePayloadDigest(_0x5edd8f['operations']);if(_0x3e346d['digest']!==_0x5185c4[_0x4f4abd(0x49a,_0x150e3e._0x4e0c5c,_0x150e3e._0x44edb3,_0x150e3e._0x4a4d26)]['digest']){const {reasonLine:_0x280fee,guidance:_0x2a5015}=staleSnapshotMessageText(_0x5edd8f[_0x4a8953(_0x150e3e._0x5afaf3,_0x150e3e._0x4abf33,_0x150e3e._0x3d79e9,0x70e)],_0x5edd8f[_0x4a8953(0x5d1,0x7bc,_0x150e3e._0x448e04,_0x150e3e._0xfe4289)]),_0x11a72b=buildRecoveryContext(_0x5edd8f[_0x4f4abd(_0x150e3e._0x399d98,0x7a3,0x4ae,_0x150e3e._0x150766)],_0x3e346d,collectRequiredLines(_0x5edd8f['operations']),_0x3251ec[_0x4f4abd(0x46d,_0x150e3e._0x402942,0x552,_0x150e3e._0xba334c)],_0x280fee,_0x2a5015);_0x3de949['record'](_0x3e346d,_0x11a72b[_0x4a8953(0x77c,_0x150e3e._0x33b956,_0x150e3e._0x263f67,_0x150e3e._0x318648)]),throwStaleSnapshot(_0x5edd8f[_0x4a8953(0x8fa,0x8ed,0x7d3,_0x150e3e._0x59f492)],_0x5df4de[_0x4f4abd(0x5b9,_0x150e3e._0xe9dae2,_0x150e3e._0x3f631b,_0x150e3e._0x1269b5)],_0x3e346d,_0x11a72b);}let _0x198274;try{_0x198274=prepareCanonicalFileEdit(_0x5185c4['snapshot'],_0x5185c4[_0x4f4abd(0x7b1,0x782,0x857,_0x150e3e._0x2b7963)],_0x5edd8f['operations']);}catch(_0xe0fe8d){if(_0xe0fe8d instanceof ToolExecutionError&&_0xe0fe8d[_0x4a8953(_0x150e3e._0x4cec8e,_0x150e3e._0xa9d9b0,0x6c1,_0x150e3e._0x1460b4)][_0x4a8953(_0x150e3e._0x3a72bd,_0x150e3e._0x107ef8,_0x150e3e._0x27a13f,_0x150e3e._0x2b81ee)]===_0x4a8953(_0x150e3e._0x5103d0,0x668,_0x150e3e._0x49d623,_0x150e3e._0x3162c7)){const _0x388000=_0xe0fe8d[_0x4a8953(0x41a,0x2d1,_0x150e3e._0x56c4cd,0x4df)][_0x4a8953(0x829,_0x150e3e._0x1c8816,_0x150e3e._0xd2d126,0x608)]??collectRequiredLines(_0x5edd8f['operations']),{reasonLine:_0x39e1ac,guidance:_0x59c2bc}=unseenLinesMessageText(),_0x1fed80=buildRecoveryContext(_0x5edd8f[_0x4a8953(0x8f5,_0x150e3e._0x52c5ae,_0x150e3e._0x1f97a3,0x70e)],_0x3e346d,_0x388000,_0x3251ec[_0x4f4abd(_0x150e3e._0x2a676f,0x3bb,_0x150e3e._0x34c098,0x56f)],_0x39e1ac,_0x59c2bc);_0x3de949['record'](_0x3e346d,_0x1fed80[_0x4f4abd(_0x150e3e._0x2f7abb,0x70b,_0x150e3e._0x5e6320,_0x150e3e._0x4487b8)]),throwUnseenLines(_0x5edd8f[_0x4a8953(_0x150e3e._0x24f4b6,0x6c9,_0x150e3e._0x18ece8,0x70e)],_0x5df4de[_0x4a8953(_0x150e3e._0x1f123a,0x5d8,_0x150e3e._0xc6ddd,0x68c)],_0x3e346d,_0x388000,_0x1fed80);}if(_0xe0fe8d instanceof ToolExecutionError&&_0xe0fe8d[_0x4a8953(0x5de,0x520,_0x150e3e._0x3c6901,_0x150e3e._0x1460b4)][_0x4a8953(_0x150e3e._0x59d3ef,0x553,_0x150e3e._0x3a7052,_0x150e3e._0x37fb4c)]==='no_change'){const _0x4ab586=_0x3de949[_0x4f4abd(_0x150e3e._0x1ce759,_0x150e3e._0x41fb60,0x9a5,_0x150e3e._0x161a0b)](_0x5df4de[_0x4f4abd(_0x150e3e._0x3c3e9,_0x150e3e._0x877f74,_0x150e3e._0x24f2d6,_0x150e3e._0x1459fd)],_0x11ff8f),{reasonLine:_0x151c04,guidance:_0x5dc57b}=noChangeMessageText(_0x5edd8f['filePath'],_0x4ab586),_0x2de9fd=buildRecoveryContext(_0x5edd8f[_0x4f4abd(0x63b,0x665,0x631,_0x150e3e._0x1f4460)],_0x3e346d,collectRequiredLines(_0x5edd8f[_0x4a8953(_0x150e3e._0x49e1f4,_0x150e3e._0x5e80f9,0x6d9,0x877)]),_0x3251ec['outputBudgetBytes'],_0x151c04,_0x5dc57b);_0x3de949[_0x4a8953(0x8be,0x962,0x68b,_0x150e3e._0x46b999)](_0x3e346d,_0x2de9fd[_0x4f4abd(0x779,_0x150e3e._0x13a570,_0x150e3e._0x1fcc41,0x990)]),throwNoChange(_0x5edd8f[_0x4f4abd(_0x150e3e._0x335b4d,0x6c2,_0x150e3e._0x588b0e,_0x150e3e._0x4f473c)],_0x5df4de[_0x4a8953(_0x150e3e._0x16d514,0x822,_0x150e3e._0x2d1961,_0x150e3e._0x1bcb23)],_0x3e346d,_0x2de9fd,_0x4ab586);}throw _0xe0fe8d;}return assertPreviewWithinBounds(_0x198274[_0x4a8953(_0x150e3e._0x234eb5,0x438,_0x150e3e._0x319b4b,0x594)],_0x5df4de[_0x4a8953(_0x150e3e._0x3b56ed,0x76b,0x811,_0x150e3e._0xf677d6)],_0x5edd8f[_0x4a8953(_0x150e3e._0x422b46,_0x150e3e._0x22080d,0x54a,0x70e)]),buildPreview(_0x70ab7b,_0x5edd8f,_0x5df4de,_0x5185c4,_0x198274);}async function reResolveUnderLock(_0x25455c,_0x3c9fe8,_0x3cfaca,_0xf762cb){const _0x3b5a5d={_0x2887ac:0x3a2,_0xa4e2c1:0x45a,_0x4fcbff:0x28f,_0x20ee7d:0x39a,_0xeede:0x46c,_0x3283b8:0x519,_0x36e82f:0x4e6,_0x4d2a3e:0x667,_0x482ed3:0x3e8,_0x50231a:0x5f4,_0x2e175c:0x643,_0x5732ae:0x1a0,_0x3b007f:0x411,_0x54c984:0x630,_0x1dec00:0x70b,_0xe96870:0x39f,_0x5e3c0d:0x670},_0x33786a={_0x204813:0x32d,_0x16a489:0x8b},_0x252001={_0x1c4afb:0x32,_0x392462:0x241,_0x1d3261:0x13};let _0x187fc4;function _0x52cb1e(_0x19291e,_0x5d5478,_0x409e06,_0x18dd41){return _0x3145c3(_0x19291e-_0x252001._0x1c4afb,_0x19291e- -_0x252001._0x392462,_0x409e06-_0x252001._0x1d3261,_0x5d5478);}try{_0x187fc4=await resolveCanonicalAllowedFile(_0x25455c,_0x3c9fe8,_0x3cfaca[_0x9f307b(_0x3b5a5d._0x2887ac,0x3fa,0x32e,0x3f6)]);}catch(_0x58a041){if(_0x58a041 instanceof ToolExecutionError)throw _0x58a041;const _0x59d23c=_0x58a041 instanceof Error?_0x58a041['message']:String(_0x58a041);throw createAnchoredFileError(_0x9f307b(0x5de,0x508,0x518,0x4e2),_0x52cb1e(0x392,_0x3b5a5d._0xa4e2c1,_0x3b5a5d._0x4fcbff,_0x3b5a5d._0x20ee7d)+_0x3cfaca['filePath']+'\x20is\x20no\x20longer\x20available\x20('+_0x59d23c+_0x52cb1e(_0x3b5a5d._0xeede,_0x3b5a5d._0x3283b8,0x39c,0x66f),{'path':_0x3cfaca[_0x52cb1e(_0x3b5a5d._0x36e82f,0x311,0x68e,_0x3b5a5d._0x4d2a3e)]});}function _0x9f307b(_0x53150d,_0x52c48c,_0x69c42d,_0x5436b3){return _0x3145c3(_0x53150d-0x179,_0x52c48c- -_0x33786a._0x204813,_0x69c42d-_0x33786a._0x16a489,_0x69c42d);}if(_0x187fc4[_0x9f307b(0x513,0x378,0x277,_0x3b5a5d._0x482ed3)]!==_0xf762cb)throw createAnchoredFileError(_0x52cb1e(_0x3b5a5d._0x50231a,0x5e3,_0x3b5a5d._0x2e175c,0x454),_0x52cb1e(0x392,_0x3b5a5d._0x5732ae,0x2de,_0x3b5a5d._0x3b007f)+_0x3cfaca[_0x9f307b(0x4fb,0x3fa,0x3f1,0x2de)]+_0x52cb1e(0x5b4,0x7b2,_0x3b5a5d._0x54c984,_0x3b5a5d._0x1dec00),{'path':_0x3cfaca[_0x52cb1e(0x4e6,0x40f,_0x3b5a5d._0xe96870,_0x3b5a5d._0x5e3c0d)],'canonicalPath':_0x187fc4['canonicalPath']});return _0x187fc4;}async function executeAnchoredFileEdit(_0x9581a4,_0x18a823,_0x34dfc2,_0x3bb287,_0x463749=defaultFileSystem2){const _0x1fc810={_0x4fd19b:0x81c,_0x12dc19:0x76f,_0x1d2e4f:0x6c3,_0x1dd433:0x5bf,_0x596206:0x741,_0x4a0389:0x47c,_0x19d2d9:0x51a,_0xc3e9be:0x660},_0x592fdd={_0x39af80:0x3ed,_0x3f63b5:0x3f7,_0x3a1ee2:0x225,_0x5b6abf:0x16d,_0x31dc4c:0xd8,_0x215bf4:0x6ae,_0x1210f0:0x1bb,_0x2681d3:0x124,_0x38f4b6:0x43,_0x323408:0x273,_0x53cc3c:0xf0,_0x34ba39:0x96,_0x2babb9:0x7f,_0x19a1a6:0x15d,_0xec52ff:0x65,_0x141a26:0x15,_0x3ffe8a:0x655,_0xc474c2:0x746,_0x3dd22a:0x360,_0x1be16:0x2c7,_0x488da9:0x12e,_0x223bc0:0x487,_0x5807ac:0x789,_0x30c1f5:0x7fc,_0x579057:0x480,_0x29cd08:0x83d,_0xb920d0:0x380,_0x98851:0x2c2,_0x44aaf7:0x243,_0x5bf69a:0x10,_0x34325a:0x1ef,_0x52d7d8:0x2df,_0x14c90d:0x1,_0x58b99e:0x536,_0x500667:0x6a8,_0x23e06a:0x508,_0x2ab58f:0x662,_0x26206f:0x51c,_0x2c3c94:0x67e,_0x14fdf3:0x6d7,_0x158532:0x57d,_0x3e19f5:0x6c7,_0x2e9f0b:0x840,_0x377d19:0x8c3,_0x153706:0x682,_0x30416e:0x751,_0x2375d6:0x55e,_0x365a67:0x3e3,_0x3d6194:0x418,_0x537794:0x32d,_0x165f8b:0x13d,_0x3ca49b:0xa2,_0x119f38:0x6b,_0x3b8d98:0x616,_0x2b4091:0x363,_0x52a0c9:0x365,_0xfda795:0x3b9,_0x7bc4da:0x214,_0x15622b:0x4a3,_0x1ef599:0x547,_0x2df4b2:0x72c,_0x20fab1:0x4a8,_0x3d6df9:0x39f,_0x351019:0x2d6,_0xab46bf:0x49c,_0x2dbea9:0x282,_0x7b2c37:0x86,_0x3d827:0x815,_0x44a11a:0x926,_0x392d66:0x90d,_0x3ceea8:0x728,_0x3f3b86:0x6b1,_0x310d49:0x4a8,_0x336778:0x3f1,_0xda199a:0x22f,_0x5c829f:0x2ff,_0x348c24:0xfa,_0x18f894:0x1fc,_0x276476:0x80c,_0x58d19f:0x32d,_0x30d348:0x6d7,_0x577322:0x71b,_0x19e546:0x675,_0x243bef:0x719,_0x400a9e:0x658,_0x322a59:0x7ab,_0x5cd2e4:0x674,_0x28d88f:0x6e6,_0x43b085:0x479,_0x153b03:0x755,_0x4c4d39:0xb5,_0x495113:0x198,_0xa9b542:0x2dd,_0x3000bf:0x17d,_0x1a07d8:0x35d,_0x1bf7a9:0x444,_0x518259:0x79,_0x667081:0x123,_0x1c42e7:0xdd,_0x4f33e0:0xb7,_0x23f9d4:0x4,_0x5825dd:0x18c,_0x454517:0x7bb,_0x106f1b:0x9c6,_0x5c5707:0x7f6,_0x1550c4:0x8b,_0x2084db:0x1b8,_0x2de6fe:0xe,_0x4bc47d:0x6d,_0x539057:0x51e,_0x22f0bf:0x3a4,_0x585251:0x220,_0x293187:0x329,_0x3f9c7e:0x443,_0x19e599:0x365,_0x20f0b3:0x536,_0x5420a2:0x383,_0x3cb760:0x77d,_0x457471:0x67e,_0x538a57:0x1c7,_0x30636b:0x18e,_0x64ab1a:0x37,_0x1f5a8f:0x2c4,_0x191a31:0x35,_0x22233a:0x196,_0x3a669e:0xcc,_0x3daed1:0x1b9,_0x3a2e6d:0x1,_0x10af59:0x1ac,_0x5af3cd:0x3f,_0x477127:0x15,_0x12b603:0x219,_0x23151e:0x476,_0x2276ae:0x324,_0x2aa8d6:0x87,_0x2e955f:0x78,_0xccabf4:0x1c8,_0x3d996f:0x763,_0x44efb9:0x8d4,_0x28b541:0x784,_0x2d0380:0x281,_0x2aeef8:0x1d8,_0x3bcade:0x1ef,_0x1f03ce:0x79b,_0x4394ed:0x82d,_0x492650:0x262,_0x3e72de:0x1cc,_0x39c038:0x850,_0x4272cd:0x819,_0x4f8e7d:0x221,_0xc87693:0x8d,_0x30aec2:0xeb,_0x918328:0x16a,_0x7de92e:0x2c7,_0x2a4b47:0x18f,_0x280c54:0x2e5,_0x49401f:0x503,_0x32cfeb:0x5e1,_0x278374:0x7cd,_0x577562:0x58f,_0x221ac9:0x18b,_0x177427:0x2f4,_0x3f2c63:0x748,_0x480fc5:0x931,_0xadad9:0x63a,_0x4dde65:0x8e6,_0x50d385:0x29,_0x2259f3:0x6c,_0x232489:0x55d,_0x344de7:0x6ea,_0x37d39c:0x36a,_0x3de64a:0x402,_0x5031de:0x57c,_0x2ea20c:0x17a,_0x3465fd:0x3bb,_0x363be9:0x100,_0x317a5c:0x34d,_0x44e4dc:0x4e9,_0xc46daf:0x601,_0x1d8a3b:0x3aa,_0x1b40a7:0x37a,_0x11c42b:0x3f3,_0x139299:0x676,_0x24bbd9:0x6ad,_0x35039f:0x229,_0x1bee50:0x338,_0x418b0f:0x12,_0x4c6100:0x5d0,_0x1e5a68:0x59e,_0x49db2a:0x8ba,_0x548430:0x55d,_0x30354d:0x705,_0x3097d6:0x19f,_0x48618e:0x68,_0x208623:0x21,_0x1bed72:0x7c1,_0x5557d3:0x91d,_0x1c4b81:0x6e1,_0x508095:0x775,_0x168dd6:0x58f,_0x46b0c8:0x257,_0x295bb9:0x3b,_0x2e7bbb:0x1d6,_0x4f75ef:0x7c,_0xca78:0x580,_0x3872fa:0x8f5},_0x19d201={_0x3b95ab:0x398,_0x4f3f0f:0x111},_0x4ee959={_0x5c24ee:0x1eb};function _0x29d45b(_0x2fb6d9,_0x85e8d,_0x3539a0,_0x5b733c){return _0x4d75fe(_0x2fb6d9-0x1bc,_0x3539a0,_0x85e8d-0x19d,_0x5b733c-_0x4ee959._0x5c24ee);}const _0x3d2ee9=parseAnchoredInput(_0x9581a4,_0x18a823);function _0x4c5b04(_0xe8db5d,_0x141a60,_0x5f0e9a,_0x3b728a){return _0x3145c3(_0xe8db5d-0x0,_0x5f0e9a- -_0x19d201._0x3b95ab,_0x5f0e9a-_0x19d201._0x4f3f0f,_0xe8db5d);}const _0x166cdc=await resolveEditTarget(_0x3bb287['defaultCwd'],_0x3bb287[_0x29d45b(_0x1fc810._0x4fd19b,_0x1fc810._0x12dc19,0x993,_0x1fc810._0x1d2e4f)],_0x3d2ee9[_0x29d45b(0x70a,_0x1fc810._0x1dd433,_0x1fc810._0x596206,_0x1fc810._0x4a0389)]);return _0x3bb287[_0x29d45b(0x5b6,0x5c5,_0x1fc810._0x19d2d9,_0x1fc810._0xc3e9be)]['runExclusive'](_0x166cdc['canonicalPath'],_0x34dfc2['signal'],async()=>{const _0x2f8685={_0x403bc8:0x118,_0x520b3b:0xd},_0x5b1b54={_0x46d15c:0x10a,_0x5c281e:0xcd},_0x102b82=await reResolveUnderLock(_0x3bb287[_0x23e623(0x56a,0x444,_0x592fdd._0x39af80,_0x592fdd._0x3f63b5)],_0x3bb287[_0x53f87b(_0x592fdd._0x3a1ee2,0x2a1,0x39f,0x1b0)],_0x3d2ee9,_0x166cdc[_0x53f87b(0xfc,0x109,_0x592fdd._0x5b6abf,_0x592fdd._0x31dc4c)]),{observations:_0x7aff6f}=_0x3bb287;_0x7aff6f[_0x23e623(0x666,0x816,_0x592fdd._0x215bf4,0x54e)](_0x34dfc2['sessionId']);const _0x18e13d=_0x7aff6f[_0x53f87b(-_0x592fdd._0x1210f0,-_0x592fdd._0x2681d3,-_0x592fdd._0x38f4b6,-0x1b4)](_0x102b82[_0x53f87b(_0x592fdd._0x323408,0x209,0x16d,0x32e)],_0x3d2ee9['tag']);let _0x295ef0;function _0x53f87b(_0x301aa0,_0x2ccea9,_0x440492,_0x1057b8){return _0x29d45b(_0x301aa0-_0x5b1b54._0x46d15c,_0x440492- -0x3d0,_0x2ccea9,_0x1057b8-_0x5b1b54._0x5c281e);}let _0x1f2b78;try{[_0x295ef0,_0x1f2b78]=await Promise[_0x53f87b(_0x592fdd._0x53cc3c,_0x592fdd._0x34ba39,-_0x592fdd._0x2babb9,-0xea)]([_0x463749[_0x53f87b(-_0x592fdd._0x19a1a6,0x18a,-_0x592fdd._0xec52ff,-_0x592fdd._0x141a26)](_0x102b82[_0x23e623(_0x592fdd._0x3ffe8a,0x630,_0x592fdd._0xc474c2,0x694)]),_0x463749[_0x53f87b(0x2cf,_0x592fdd._0x3dd22a,_0x592fdd._0x1be16,_0x592fdd._0x488da9)](_0x102b82[_0x23e623(0x655,_0x592fdd._0x223bc0,_0x592fdd._0x5807ac,_0x592fdd._0x30c1f5)])]);}catch(_0x251fd4){const _0x1ce717=_0x251fd4 instanceof Error?_0x251fd4[_0x23e623(0x476,_0x592fdd._0x579057,0x64a,0x5b4)]:String(_0x251fd4);throw createAnchoredFileError(_0x23e623(0x7e5,_0x592fdd._0x29cd08,0x74b,0x628),_0x23e623(0x4b9,0x4db,0x4a9,_0x592fdd._0xb920d0)+_0x3d2ee9['filePath']+_0x53f87b(0x168,0x234,_0x592fdd._0x98851,_0x592fdd._0x44aaf7)+_0x1ce717+');\x20re-read\x20with\x20FileRead\x20first.',{'path':_0x3d2ee9[_0x53f87b(-_0x592fdd._0x5bf69a,0x21c,_0x592fdd._0x34325a,_0x592fdd._0x52d7d8)]});}const _0xa045c7=createNormalizedFileSnapshot(_0x102b82[_0x23e623(0x655,0x6be,0x545,0x4b9)],_0x295ef0);if(_0xa045c7[_0x53f87b(-_0x592fdd._0x14c90d,0xd2,0x17a,0xf4)]!==_0x18e13d[_0x23e623(_0x592fdd._0x58b99e,_0x592fdd._0x500667,0x69c,_0x592fdd._0x23e06a)][_0x23e623(_0x592fdd._0x2ab58f,_0x592fdd._0x26206f,0x57c,_0x592fdd._0x2c3c94)]){const {reasonLine:_0x4a9081,guidance:_0x529d2}=staleSnapshotMessageText(_0x3d2ee9['filePath'],_0x3d2ee9[_0x53f87b(0x365,0x35b,0x18e,0x186)]),_0x38b37d=buildRecoveryContext(_0x3d2ee9[_0x23e623(_0x592fdd._0x14fdf3,_0x592fdd._0x158532,0x747,_0x592fdd._0x3e19f5)],_0xa045c7,collectRequiredLines(_0x3d2ee9[_0x23e623(_0x592fdd._0x2e9f0b,0x9d2,_0x592fdd._0x377d19,_0x592fdd._0x153706)]),_0x3bb287['outputBudgetBytes'],_0x4a9081,_0x529d2);_0x7aff6f[_0x23e623(0x714,_0x592fdd._0x30416e,0x590,_0x592fdd._0x2375d6)](_0xa045c7,_0x38b37d[_0x53f87b(_0x592fdd._0x365a67,_0x592fdd._0x3d6194,_0x592fdd._0x537794,_0x592fdd._0x165f8b)]),throwStaleSnapshot(_0x3d2ee9[_0x53f87b(0x22f,_0x592fdd._0x3ca49b,0x1ef,_0x592fdd._0x119f38)],_0x102b82[_0x23e623(_0x592fdd._0x3ffe8a,0x72a,0x838,_0x592fdd._0x3b8d98)],_0xa045c7,_0x38b37d);}let _0x66b0fc;try{_0x66b0fc=prepareCanonicalFileEdit(_0x18e13d['snapshot'],_0x18e13d[_0x53f87b(_0x592fdd._0x2b4091,0x502,_0x592fdd._0x52a0c9,_0x592fdd._0xfda795)],_0x3d2ee9[_0x53f87b(_0x592fdd._0x7bc4da,_0x592fdd._0x15622b,0x358,0x2ad)]);}catch(_0x3ff5c5){if(_0x3ff5c5 instanceof ToolExecutionError&&_0x3ff5c5[_0x23e623(0x4a8,0x5a9,0x621,_0x592fdd._0x1ef599)]['error']===_0x23e623(0x84a,0x886,0x846,_0x592fdd._0x2df4b2)){const _0x3c71f5=_0x3ff5c5[_0x23e623(_0x592fdd._0x20fab1,0x45c,0x4b6,_0x592fdd._0x3d6df9)][_0x53f87b(0xc9,0x1b0,0xe9,0x30e)]??collectRequiredLines(_0x3d2ee9[_0x53f87b(_0x592fdd._0x351019,_0x592fdd._0xab46bf,0x358,_0x592fdd._0x2dbea9)]),{reasonLine:_0x35a87b,guidance:_0x50a0b6}=unseenLinesMessageText(),_0xf4321=buildRecoveryContext(_0x3d2ee9['filePath'],_0xa045c7,_0x3c71f5,_0x3bb287[_0x53f87b(_0x592fdd._0x7b2c37,-0x3,0x21,0xa3)],_0x35a87b,_0x50a0b6);_0x7aff6f['record'](_0xa045c7,_0xf4321[_0x23e623(_0x592fdd._0x3d827,0x8e3,_0x592fdd._0x44a11a,_0x592fdd._0x392d66)]),throwUnseenLines(_0x3d2ee9[_0x23e623(0x6d7,0x8dd,_0x592fdd._0x3ceea8,_0x592fdd._0x3f3b86)],_0x102b82['canonicalPath'],_0xa045c7,_0x3c71f5,_0xf4321);}if(_0x3ff5c5 instanceof ToolExecutionError&&_0x3ff5c5[_0x23e623(_0x592fdd._0x310d49,_0x592fdd._0x336778,0x5db,0x520)]['error']===_0x53f87b(_0x592fdd._0xda199a,0x117,_0x592fdd._0x5c829f,0x1ec)){const {reasonLine:_0x2b20ad,guidance:_0xc6d654}=noChangeMessageText(_0x3d2ee9[_0x53f87b(0x1bd,0x358,_0x592fdd._0x34325a,_0x592fdd._0x348c24)],0x1),_0x40fd5c=buildRecoveryContext(_0x3d2ee9['filePath'],_0xa045c7,collectRequiredLines(_0x3d2ee9[_0x23e623(0x840,0x779,0x9f2,0x65f)]),_0x3bb287[_0x53f87b(-0x1aa,-0x1db,0x21,-_0x592fdd._0x18f894)],_0x2b20ad,_0xc6d654);_0x7aff6f[_0x23e623(0x714,0x82c,0x63f,_0x592fdd._0x276476)](_0xa045c7,_0x40fd5c[_0x53f87b(0x304,0x255,_0x592fdd._0x58d19f,0x196)]),throwNoChange(_0x3d2ee9[_0x23e623(_0x592fdd._0x30d348,_0x592fdd._0x577322,0x721,_0x592fdd._0x19e546)],_0x102b82[_0x23e623(0x655,_0x592fdd._0x243bef,_0x592fdd._0x400a9e,_0x592fdd._0x322a59)],_0xa045c7,_0x40fd5c,0x1);}throw _0x3ff5c5;}assertPreviewWithinBounds(_0x66b0fc[_0x23e623(0x55d,_0x592fdd._0x5cd2e4,_0x592fdd._0x28d88f,_0x592fdd._0x43b085)],_0x102b82['canonicalPath'],_0x3d2ee9['filePath']);const _0x43322c=_0x66b0fc[_0x23e623(0x840,0x66c,0x69a,_0x592fdd._0x153b03)][_0x53f87b(0x42,0x291,0xe8,_0x592fdd._0x4c4d39)],_0x90d631=serializeNormalizedFile(_0x66b0fc[_0x53f87b(0x113,-0x87,_0x592fdd._0x495113,_0x592fdd._0xa9b542)],{'bom':_0xa045c7['bom'],'eol':_0xa045c7[_0x53f87b(0x38b,_0x592fdd._0x3000bf,_0x592fdd._0x1a07d8,_0x592fdd._0x1bf7a9)]}),_0x39693d=_0x1f2b78[_0x53f87b(_0x592fdd._0x518259,0x305,_0x592fdd._0x667081,-_0x592fdd._0x1c42e7)];function _0x23e623(_0x41dfff,_0x12ca26,_0x2ccd2f,_0x13277f){return _0x29d45b(_0x41dfff-0x15a,_0x41dfff-_0x2f8685._0x403bc8,_0x12ca26,_0x13277f-_0x2f8685._0x520b3b);}if(_0x3d2ee9[_0x53f87b(0xa5,_0x592fdd._0x4f33e0,-_0x592fdd._0x23f9d4,-0x13e)]){const _0x2999f2=buildResultText(_0x3d2ee9[_0x53f87b(0x138,0x34b,0x1ef,_0x592fdd._0x5825dd)],_0xa045c7,selectChangedContextLines(_0x66b0fc['blocks'],_0xa045c7,_0x23e623(_0x592fdd._0x454517,_0x592fdd._0x106f1b,_0x592fdd._0x5c5707,0x98e)),_0x3bb287['outputBudgetBytes'],_0x53f87b(-_0x592fdd._0x1550c4,-_0x592fdd._0x2084db,_0x592fdd._0x2de6fe,_0x592fdd._0x4bc47d)+_0x43322c+_0x53f87b(0x2f3,_0x592fdd._0x539057,_0x592fdd._0x22f0bf,_0x592fdd._0x585251));_0x7aff6f['record'](_0xa045c7,_0x2999f2[_0x53f87b(_0x592fdd._0x293187,_0x592fdd._0x3f9c7e,_0x592fdd._0x19e599,0x434)]);const _0x261314={'preview':buildPreview(_0x9581a4,_0x3d2ee9,_0x102b82,_0x18e13d,_0x66b0fc),'beforeDigest':_0x18e13d[_0x23e623(_0x592fdd._0x20f0b3,_0x592fdd._0x5420a2,0x5b5,0x6a3)]['digest'],'afterDigest':_0xa045c7[_0x23e623(_0x592fdd._0x2ab58f,0x655,_0x592fdd._0x3cb760,_0x592fdd._0x457471)],'beforeTag':_0x3d2ee9[_0x53f87b(_0x592fdd._0x538a57,0x248,_0x592fdd._0x30636b,-_0x592fdd._0x64ab1a)],'afterTag':_0xa045c7[_0x53f87b(_0x592fdd._0x1f5a8f,-_0x592fdd._0x191a31,0x18e,_0x592fdd._0x22233a)],'bytesWritten':0x0,'dryRun':!![],'operationCount':_0x43322c,'tokenClassification':'edit'};return createToolOutput(_0x2999f2[_0x53f87b(-_0x592fdd._0x3a669e,-_0x592fdd._0x3daed1,_0x592fdd._0x3a2e6d,-0x223)],_0x261314);}try{await _0x463749[_0x53f87b(-0xec,_0x592fdd._0x10af59,-_0x592fdd._0x5af3cd,0x1b1)](_0x102b82[_0x53f87b(_0x592fdd._0x477127,_0x592fdd._0x12b603,_0x592fdd._0x5b6abf,0x1a4)],_0x90d631,_0x39693d);}catch(_0x49d190){const _0x22687b=_0x49d190 instanceof Error?_0x49d190[_0x23e623(_0x592fdd._0x23151e,0x667,_0x592fdd._0x2276ae,0x545)]:String(_0x49d190);throw createAnchoredFileError(_0x53f87b(-_0x592fdd._0x2aa8d6,0x1a5,-_0x592fdd._0x2e955f,-_0x592fdd._0xccabf4),_0x23e623(_0x592fdd._0x3d996f,_0x592fdd._0x44efb9,0x674,_0x592fdd._0x28b541)+_0x3d2ee9[_0x53f87b(_0x592fdd._0x2d0380,_0x592fdd._0x2aeef8,_0x592fdd._0x3bcade,0x348)]+':\x20'+_0x22687b+'.\x20The\x20write\x20did\x20not\x20land;\x20re-read\x20the\x20file\x20with\x20FileRead\x20and\x20retry.',{'path':_0x3d2ee9['filePath'],'canonicalPath':_0x102b82[_0x23e623(0x655,_0x592fdd._0x1f03ce,0x541,_0x592fdd._0x4394ed)]});}let _0x3672d1,_0x324a19;try{[_0x3672d1,_0x324a19]=await Promise[_0x53f87b(-_0x592fdd._0x492650,-_0x592fdd._0x3e72de,-0x7f,-0x1bd)]([_0x463749['readFile'](_0x102b82['canonicalPath']),_0x463749[_0x23e623(0x7af,_0x592fdd._0x39c038,0x649,0x86e)](_0x102b82['canonicalPath'])]);}catch(_0x3441ea){const _0x19b19f=_0x3441ea instanceof Error?_0x3441ea['message']:String(_0x3441ea);throw createAnchoredFileError('post_write_drift',_0x23e623(_0x592fdd._0x4272cd,0x670,0x8f1,0x80e)+_0x3d2ee9['filePath']+'\x20after\x20writing\x20('+_0x19b19f+_0x53f87b(_0x592fdd._0x4f8e7d,-0x3c,_0x592fdd._0xc87693,_0x592fdd._0x30aec2),{'path':_0x3d2ee9[_0x53f87b(_0x592fdd._0x918328,_0x592fdd._0x5af3cd,0x1ef,_0x592fdd._0x7de92e)],'canonicalPath':_0x102b82[_0x53f87b(_0x592fdd._0x2a4b47,0x56,_0x592fdd._0x5b6abf,_0x592fdd._0x280c54)]});}if(!_0x3672d1['equals'](_0x90d631)||(_0x324a19['mode']&0x1ff)!==(_0x39693d&0x1ff)){const _0x41c27a=_0x23e623(_0x592fdd._0x49401f,0x6b4,_0x592fdd._0x32cfeb,0x476)+_0x3d2ee9[_0x23e623(0x6d7,_0x592fdd._0x278374,_0x592fdd._0x577562,0x86e)]+_0x53f87b(_0x592fdd._0x221ac9,_0x592fdd._0x177427,0x237,0x1ce),_0x8f4ff1=_0x23e623(_0x592fdd._0x3f2c63,_0x592fdd._0x480fc5,_0x592fdd._0xadad9,_0x592fdd._0x4dde65);let _0x2e8faf;try{_0x2e8faf=createNormalizedFileSnapshot(_0x102b82[_0x53f87b(_0x592fdd._0x50d385,0x28a,0x16d,-_0x592fdd._0x2259f3)],_0x3672d1);}catch{_0x2e8faf=void 0x0;}let _0x5e432f;_0x2e8faf!==void 0x0?(_0x5e432f=buildRecoveryContext(_0x3d2ee9[_0x23e623(0x6d7,0x79d,0x5c9,0x5aa)],_0x2e8faf,selectChangedContextLines(_0x66b0fc[_0x23e623(_0x592fdd._0x232489,_0x592fdd._0x344de7,_0x592fdd._0x37d39c,0x426)],_0x2e8faf,'after'),_0x3bb287[_0x23e623(0x509,_0x592fdd._0x3de64a,_0x592fdd._0x5031de,0x531)],_0x41c27a,_0x8f4ff1),_0x7aff6f['record'](_0x2e8faf,_0x5e432f[_0x53f87b(_0x592fdd._0x2ea20c,0x2af,_0x592fdd._0x58d19f,_0x592fdd._0x3465fd)])):_0x5e432f={'tag':'','digest':'','contextLines':[],'output':_0x41c27a+'\x0a'+_0x8f4ff1};throw createAnchoredFileError(_0x53f87b(0x366,_0x592fdd._0x363be9,0x169,_0x592fdd._0x317a5c),_0x5e432f[_0x23e623(_0x592fdd._0x44e4dc,0x3d1,_0x592fdd._0xc46daf,0x43c)],{'path':_0x3d2ee9[_0x53f87b(_0x592fdd._0x1d8a3b,_0x592fdd._0x1b40a7,0x1ef,_0x592fdd._0x11c42b)],'canonicalPath':_0x102b82['canonicalPath'],..._0x2e8faf!==void 0x0?{'tag':_0x2e8faf[_0x23e623(_0x592fdd._0x139299,0x88d,_0x592fdd._0x24bbd9,0x830)],'digest':_0x2e8faf[_0x53f87b(_0x592fdd._0x35039f,_0x592fdd._0x1bee50,0x17a,_0x592fdd._0x418b0f)]}:{},..._0x5e432f[_0x53f87b(0x4f0,0x4a3,0x32d,0x1ab)][_0x23e623(_0x592fdd._0x4c6100,_0x592fdd._0x1e5a68,0x6ae,0x69b)]>0x0?{'contextLines':[..._0x5e432f[_0x23e623(0x815,_0x592fdd._0x49db2a,0x674,0x674)]]}:{}});}const _0x204e5f=createNormalizedFileSnapshot(_0x102b82['canonicalPath'],_0x3672d1),_0x51156f=buildResultText(_0x3d2ee9['filePath'],_0x204e5f,selectChangedContextLines(_0x66b0fc[_0x23e623(_0x592fdd._0x548430,0x53d,0x5be,0x654)],_0x204e5f,_0x23e623(0x5a8,0x755,_0x592fdd._0x30354d,0x5d4)),_0x3bb287[_0x53f87b(_0x592fdd._0x3097d6,-_0x592fdd._0x48618e,_0x592fdd._0x208623,-0x80)],'Applied\x20'+_0x43322c+'\x20operations.');_0x7aff6f['record'](_0x204e5f,_0x51156f['observedLines']),_0x7aff6f[_0x23e623(_0x592fdd._0x1bed72,_0x592fdd._0x5557d3,_0x592fdd._0x1c4b81,0x5cb)](_0x102b82[_0x23e623(0x655,0x4a3,_0x592fdd._0x508095,_0x592fdd._0x168dd6)]);const _0x143603={'preview':buildPreview(_0x9581a4,_0x3d2ee9,_0x102b82,_0x18e13d,_0x66b0fc),'beforeDigest':_0x18e13d[_0x53f87b(-0x79,_0x592fdd._0x46b0c8,0x4e,_0x592fdd._0x295bb9)]['digest'],'afterDigest':_0x204e5f[_0x53f87b(_0x592fdd._0x2e7bbb,_0x592fdd._0x4f75ef,_0x592fdd._0x2ea20c,0x1ab)],'beforeTag':_0x3d2ee9['tag'],'afterTag':_0x204e5f[_0x53f87b(_0x592fdd._0x3d6df9,0x298,0x18e,0x257)],'bytesWritten':_0x90d631[_0x23e623(0x5d0,0x67a,0x7b1,_0x592fdd._0xca78)],'dryRun':![],'operationCount':_0x43322c,'tokenClassification':_0x23e623(0x78d,_0x592fdd._0x3872fa,0x694,0x6fe)};return createToolOutput(_0x51156f[_0x53f87b(-0x21a,0x115,_0x592fdd._0x3a2e6d,-0xaf)],_0x143603);});}import{readFile as _0x4e7f2a,stat as _0x51f93a}from'fs/promises';import*as _0x2f80dc from'path';function detectEol(_0x56a6bb){const _0x50c03c={_0x53771a:0x372,_0x13f82a:0x2c8,_0x4bf31d:0x5ab,_0x5cfe47:0x3f3,_0x5170d2:0x5a9,_0x54192c:0x27f,_0x1e9ec6:0x1aa,_0x1cafb7:0x2e3,_0x1a0061:0x4e1},_0x193fb8={_0x61299d:0x120,_0x40d4b6:0x161},_0x20351b={_0x43f5bb:0xcf,_0x41b2af:0x124};function _0x33a79c(_0x4ecab7,_0x47711c,_0x5eae58,_0x3dc2b0){return _0x4d75fe(_0x4ecab7-_0x20351b._0x43f5bb,_0x47711c,_0x3dc2b0- -0x8,_0x3dc2b0-_0x20351b._0x41b2af);}function _0x33fd5f(_0x3d52a2,_0x3a602f,_0x6b8dc,_0x2f132d){return _0x3145c3(_0x3d52a2-0x18e,_0x6b8dc- -_0x193fb8._0x61299d,_0x6b8dc-_0x193fb8._0x40d4b6,_0x2f132d);}return/\r\n/[_0x33a79c(_0x50c03c._0x53771a,0x29d,0x2c4,_0x50c03c._0x13f82a)](_0x56a6bb[_0x33a79c(_0x50c03c._0x4bf31d,_0x50c03c._0x5cfe47,_0x50c03c._0x5170d2,0x44d)](_0x33a79c(0x337,_0x50c03c._0x54192c,_0x50c03c._0x1e9ec6,_0x50c03c._0x1cafb7)))?_0x33fd5f(0x6f0,_0x50c03c._0x1a0061,0x5b7,0x508):'lf';}function normalizeToLf(_0x3e3109){const _0x3d30a3={_0x19d1c5:0x193,_0x325e33:0x30b},_0x7a83f7={_0x1d0def:0x1ca,_0x2ff4f7:0x28a};function _0x51dd50(_0x257598,_0x251264,_0x25a3e8,_0x3ecf94){return _0x3145c3(_0x257598-_0x7a83f7._0x1d0def,_0x251264- -_0x7a83f7._0x2ff4f7,_0x25a3e8-0x14f,_0x25a3e8);}return _0x3e3109[_0x51dd50(0x345,0x2f8,_0x3d30a3._0x19d1c5,_0x3d30a3._0x325e33)](/\r\n/g,'\x0a');}function convertEol(_0x1b8d39,_0x48a787){const _0x522824={_0x570c6f:0x32f,_0x59b261:0x12b,_0x46f982:0x1da},_0x4c644a={_0xb55577:0x3a8},_0x352ba0={_0x326ee9:0x17f,_0x128b83:0x328,_0x43ef9e:0x19e};function _0x6ea82d(_0x269d19,_0x157565,_0x53f716,_0x3c47e1){return _0x4d75fe(_0x269d19-_0x352ba0._0x326ee9,_0x3c47e1,_0x53f716- -_0x352ba0._0x128b83,_0x3c47e1-_0x352ba0._0x43ef9e);}function _0x8b9f03(_0x49ee60,_0x1b2509,_0x532179,_0x494af4){return _0x3145c3(_0x49ee60-0xb4,_0x1b2509- -_0x4c644a._0xb55577,_0x532179-0xbe,_0x532179);}return _0x48a787===_0x8b9f03(0x47b,_0x522824._0x570c6f,_0x522824._0x59b261,0x23c)?_0x1b8d39[_0x8b9f03(0x1a6,_0x522824._0x46f982,0x81,0x16d)](/\n/g,'\x0d\x0a'):_0x1b8d39;}function resolveAnchoredEditTarget(_0x5ec4e5,_0x5ebadd,_0x154783,_0x5db619){const _0x5c2b9e={_0x107977:0xbe,_0x5547ba:0x8b,_0x26dca9:0x1c2,_0x1314c2:0x1,_0x3d1d0c:0x178,_0x2f4971:0x190,_0x2f8de0:0x202,_0x528dd4:0x279,_0x44ba55:0x354,_0x2d00e7:0x454,_0xe1b0f0:0x65,_0xcd6642:0x16f,_0x51023b:0x44,_0x5b6d76:0x8e,_0x249213:0x146,_0x494432:0x2a5},_0x318891={_0x215154:0x59d,_0xcfc09a:0x1bf},_0x271c5e=_0x5ec4e5[_0x31b739(0x2dd,_0x5c2b9e._0x107977,_0x5c2b9e._0x5547ba,_0x5c2b9e._0x26dca9)]??'exact';if(_0x271c5e==='exact')return void 0x0;const _0x42251a=_0x5ec4e5[_0x31b739(_0x5c2b9e._0x1314c2,0x27,0x17a,_0x5c2b9e._0x3d1d0c)];function _0x31b739(_0x19a076,_0x2178ed,_0x5ccf4a,_0x21d728){return _0x3145c3(_0x19a076-0x18f,_0x2178ed- -_0x318891._0x215154,_0x5ccf4a-_0x318891._0xcfc09a,_0x21d728);}function _0x1716a2(_0x569b9b,_0x1c8241,_0x163f17,_0x57dc68){return _0x4d75fe(_0x569b9b-0xf,_0x1c8241,_0x569b9b- -0x1af,_0x57dc68-0x91);}const _0x591847=_0x5ec4e5[_0x31b739(-0x4e,_0x5c2b9e._0x2f4971,_0x5c2b9e._0x2f8de0,0x3d)],_0x64158c=_0x5ec4e5['outputBudgetBytes'];if(_0x42251a===void 0x0||_0x591847===void 0x0||_0x64158c===void 0x0){const _0x29154c=[_0x42251a===void 0x0?'observations':void 0x0,_0x591847===void 0x0?_0x1716a2(_0x5c2b9e._0x528dd4,_0x5c2b9e._0x44ba55,_0x5c2b9e._0x2d00e7,_0x5c2b9e._0xe1b0f0):void 0x0,_0x64158c===void 0x0?_0x31b739(_0x5c2b9e._0xcd6642,-_0x5c2b9e._0x51023b,-0xbb,-_0x5c2b9e._0x5b6d76):void 0x0]['filter'](_0xb24e1a=>_0xb24e1a!==void 0x0)[_0x1716a2(_0x5c2b9e._0x249213,0x2d2,_0x5c2b9e._0x494432,0x2c5)](',\x20');throw new Error(_0x5ebadd+'\x20'+_0x271c5e+_0x1716a2(0xb7,0x140,0x20b,0x24e)+_0x29154c+';\x20construct\x20with\x20observations,\x20mutations,\x20and\x20outputBudgetBytes.');}return{'mode':_0x271c5e,'environment':{'defaultCwd':_0x154783,'allowedDirs':_0x5db619,'observations':_0x42251a,'mutations':_0x591847,'outputBudgetBytes':_0x64158c}};}function createFileEditTool(_0x429e77={}){const _0x1236b9={_0x51c89a:0x1a1,_0x9a5762:0x3d4,_0x57363b:0x5f4,_0x5e49a0:0x98f,_0x31dec1:0x34e,_0x22f519:0x63f,_0x1fae94:0x319,_0x49cc56:0x81f,_0x2924da:0x841,_0x327dc9:0x851,_0x35e093:0x6bb,_0xcee442:0x635,_0x18b2b3:0x7f5,_0x587ea5:0x413,_0x3c131f:0x5c4,_0x2da676:0x64a,_0x1b846d:0x676,_0x2474b3:0x6c4,_0x3e511d:0x2b6,_0x5f0888:0x34d,_0x4382cd:0x5ce,_0x1bfa3f:0x7a9,_0x25a5ad:0x575,_0x21e3a3:0x3e2,_0x286d5f:0x529,_0x5f00b0:0x70e,_0x3faa37:0x74f,_0x20bf63:0x575,_0x3c05b7:0x401,_0x3fff5d:0x6b8,_0x3f54c5:0x48a,_0x3c46a2:0x93e,_0x58008f:0x7df,_0x13823a:0x758,_0x33c7f3:0x57c},_0x369b36={_0x168eb6:0x6f3,_0x395a58:0x629,_0x239486:0x48a,_0x2555b2:0x407,_0x34d251:0x210,_0x4c4aa8:0x543,_0x46822f:0x393,_0x586398:0x299,_0x5c51af:0x346,_0x1fbe7a:0x451,_0x642ebc:0x2ef,_0x515eaa:0x425,_0x1cb265:0x6f0,_0x31abd7:0x873,_0x150da3:0x37c,_0x14408f:0x5d0,_0x5eb9e3:0x5f6,_0x30c551:0x577,_0x5809e0:0x4bb,_0x3abd47:0x4ce,_0x23c606:0x6e2,_0xfd4dbc:0x65d,_0xee2db5:0x777,_0x473231:0x45b,_0x148f53:0x51b,_0x1047ff:0x30c,_0x489cef:0x50f,_0x5e4131:0x4ba,_0x580798:0x334,_0x2b36d3:0x62a,_0x163cac:0x515,_0x173b0d:0x6c9,_0x27ad34:0x514,_0x275e81:0x6a4,_0x76cc7b:0x430,_0x43addc:0x7e5,_0x14ebc5:0x4ef,_0xda2591:0x439,_0x29cc4d:0x547,_0xd7a3e0:0x5e0},_0x133fea={_0x540993:0x10f},_0x42b9ba={_0x3f3f8c:0xb8};function _0x11c685(_0x1fa5c2,_0x14ff69,_0x4cc08e,_0x2c7f9a){return _0x3145c3(_0x1fa5c2-0xf6,_0x1fa5c2- -0x240,_0x4cc08e-0x15e,_0x14ff69);}const _0x215c73=_0x2f80dc[_0x11c685(0x2b5,_0x1236b9._0x51c89a,0x239,_0x1236b9._0x9a5762)](_0x429e77['defaultCwd']??process[_0x11c685(_0x1236b9._0x57363b,0x4c4,0x7ee,0x6cd)]()),_0x55b93d=_0x429e77[_0x1efa41(0x80f,0x775,0x8af,_0x1236b9._0x5e49a0)]??[],_0xef7067=_0x429e77[_0x11c685(0x3db,0x56b,_0x1236b9._0x31dec1,0x312)]??_0x11c685(0x47b,0x562,_0x1236b9._0x22f519,_0x1236b9._0x1fae94),_0xf4fe3d=resolveAnchoredEditTarget(_0x429e77,_0xef7067,_0x215c73,_0x55b93d);function _0x1efa41(_0x3cd544,_0x25783d,_0x3f00ad,_0x1da646){return _0x3145c3(_0x3cd544-0x170,_0x1da646-_0x42b9ba._0x3f3f8c,_0x3f00ad-0xac,_0x3f00ad);}if(_0xf4fe3d!==void 0x0){const {mode:_0x21af85,environment:_0x4dcd8f}=_0xf4fe3d;return defineTool({'name':_0xef7067,'permissionClass':_0x1efa41(_0x1236b9._0x49cc56,0x87d,_0x1236b9._0x2924da,_0x1236b9._0x327dc9),'description':_0x21af85===_0x1efa41(0x73b,_0x1236b9._0x35e093,_0x1236b9._0xcee442,_0x1236b9._0x18b2b3)?_0x11c685(_0x1236b9._0x587ea5,0x582,_0x1236b9._0x3c131f,0x55a):_0x11c685(_0x1236b9._0x2da676,0x51c,_0x1236b9._0x1b846d,0x6dd),'inputSchema':_0x21af85==='hashline'?hashlineFileEditInputSchema:structuredFileEditInputSchema,async *'execute'(_0x9ae3d9,_0x5d208d){return yield await executeAnchoredFileEdit(_0x21af85,_0x9ae3d9,_0x5d208d,_0x4dcd8f),void 0x0;}});}return defineTool({'name':_0xef7067,'permissionClass':_0x11c685(0x559,_0x1236b9._0x2474b3,0x3ec,0x6dc),'description':_0x11c685(0x4b2,_0x1236b9._0x3e511d,0x2bc,_0x1236b9._0x5f0888),'inputSchema':{'type':_0x1efa41(0x98f,_0x1236b9._0x4382cd,0x664,_0x1236b9._0x1bfa3f),'properties':{'filePath':{'type':_0x11c685(_0x1236b9._0x25a5ad,0x771,_0x1236b9._0x21e3a3,0x747)},'description':{'type':_0x11c685(0x575,0x44b,0x39a,_0x1236b9._0x286d5f),'description':_0x1efa41(_0x1236b9._0x5f00b0,0x5c1,_0x1236b9._0x3faa37,0x755)},'oldText':{'type':_0x11c685(_0x1236b9._0x20bf63,0x4a7,_0x1236b9._0x3c05b7,_0x1236b9._0x3fff5d)},'newText':{'type':_0x11c685(0x575,_0x1236b9._0x3f54c5,0x47f,0x43f)},'dryRun':{'type':_0x11c685(0x57e,0x651,0x449,0x6e8)}},'required':[_0x1efa41(_0x1236b9._0x3c46a2,0x971,0x789,_0x1236b9._0x58008f),_0x11c685(0x2f8,0x49f,0x273,0x3b5),_0x1efa41(0x56d,_0x1236b9._0x13823a,0x4fe,_0x1236b9._0x33c7f3)]},async *'execute'(_0x4c907f){function _0xec772e(_0x43f7a4,_0x19fbcb,_0x4962fb,_0x5ed584){return _0x11c685(_0x19fbcb-_0x133fea._0x540993,_0x5ed584,_0x4962fb-0x124,_0x5ed584-0x118);}const _0x19f634=resolveAllowedPath(_0x215c73,_0x55b93d,_0x4c907f['filePath']);await assertWorkspaceFile(_0x19f634);const _0x119b69=await _0x51f93a(_0x19f634),_0x4cfbc1=await _0x4e7f2a(_0x19f634),_0x237bd9=detectEol(_0x4cfbc1),_0x1976d6=normalizeToLf(_0x4cfbc1[_0xec772e(_0x369b36._0x168eb6,_0x369b36._0x395a58,0x780,_0x369b36._0x239486)]('utf8')),_0xa8f3a5=normalizeToLf(_0x4c907f[_0xec772e(0x231,_0x369b36._0x2555b2,_0x369b36._0x34d251,0x60a)]),_0x5685ed=normalizeToLf(_0x4c907f[_0xec772e(_0x369b36._0x4c4aa8,_0x369b36._0x46822f,_0x369b36._0x586398,0x2fa)]),_0x2e66e3=replaceFirstExact(_0x1976d6,_0xa8f3a5,_0x5685ed);if(_0x2e66e3===void 0x0){const _0x1cd16b=_0xa8f3a5['slice'](0x0,0x64)[_0xec772e(_0x369b36._0x5c51af,_0x369b36._0x1fbe7a,_0x369b36._0x642ebc,_0x369b36._0x515eaa)](/\n/g,'\x5cn');throw new ToolExecutionError(_0xec772e(_0x369b36._0x1cb265,0x763,0x78e,_0x369b36._0x31abd7)+_0x1cd16b+(_0xa8f3a5['length']>0x64?_0x170416(0x437,0x4c4,_0x369b36._0x150da3,0x6c5):'')+'\x22',{'filePath':_0x4c907f[_0xec772e(_0x369b36._0x14408f,_0x369b36._0x5eb9e3,_0x369b36._0x30c551,0x5f9)]});}function _0x170416(_0x538140,_0x34b0ab,_0x53ba34,_0x3fc292){return _0x11c685(_0x34b0ab-0x242,_0x3fc292,_0x53ba34-0xb6,_0x3fc292-0x33);}const _0x3f00f1=convertEol(_0x2e66e3['after'],_0x237bd9),_0x4596a3=Buffer[_0xec772e(_0x369b36._0x5809e0,0x635,_0x369b36._0x3abd47,0x770)](_0x3f00f1,'utf8'),_0x551721=sha256Bytes(_0x4cfbc1),_0x1fb1d7=sha256Bytes(_0x4596a3),_0x30bd45=_0x551721===_0x1fb1d7,_0x4da2f6=_0x4c907f['dryRun']??![];return!_0x4da2f6&&!_0x30bd45&&await atomicReplaceFile(_0x19f634,_0x4596a3,_0x119b69[_0x170416(_0x369b36._0x23c606,_0x369b36._0xfd4dbc,_0x369b36._0xee2db5,0x517)]),yield createToolOutput(_0x30bd45?_0x170416(_0x369b36._0x473231,_0x369b36._0x148f53,_0x369b36._0x1047ff,0x322):_0x4da2f6?_0x170416(_0x369b36._0x489cef,0x57a,0x404,0x398):'Edit\x20applied\x20successfully.',{'filePath':_0x4c907f[_0xec772e(0x411,0x5f6,0x4dc,0x568)],'resolvedPath':_0x19f634,'created':_0x119b69['birthtime'][_0x170416(_0x369b36._0x5e4131,0x514,0x46f,_0x369b36._0x580798)](),'modified':_0x119b69[_0xec772e(0x554,_0x369b36._0x2b36d3,_0x369b36._0x163cac,_0x369b36._0x395a58)][_0x170416(_0x369b36._0x173b0d,_0x369b36._0x27ad34,0x534,_0x369b36._0x275e81)](),'size':_0x119b69['size'],'eol':_0x237bd9,'oldTextLength':_0xa8f3a5[_0x170416(_0x369b36._0x76cc7b,0x622,0x475,_0x369b36._0x43addc)],'newTextLength':_0x5685ed['length'],'bytesWritten':_0x30bd45||_0x4da2f6?0x0:_0x4596a3[_0xec772e(0x501,_0x369b36._0x14ebc5,_0x369b36._0xda2591,_0x369b36._0x29cc4d)],'beforeSha':_0x551721,'afterSha':_0x1fb1d7,'dryRun':_0x4da2f6,'noChange':_0x30bd45,'lineNumbers':_0x2e66e3[_0x170416(0x568,0x781,0x6f0,_0x369b36._0xd7a3e0)]}),void 0x0;}});}var FileMutationCoordinator=class{[_0x4d75fe(0x405,0x17a,0x291,0x3f8)]=new Map();async[_0x4d75fe(0x71a,0x6ee,0x508,0x4f7)](_0x1d6b39,_0x1ad0de,_0x294cae){const _0x5686b0={_0x3d82e2:0x33d,_0x27a758:0x2df,_0x2743b7:0x164,_0x156da4:0xf3,_0x3035e0:0x4,_0x5cf6f3:0x12f},_0x2d758a={_0x3d99ef:0x368,_0x3424f3:0x46c,_0x582b7c:0x359,_0x53cff3:0x138,_0x2dd1f9:0x118,_0x3adafb:0xc7,_0x24ea12:0x53,_0xfd02fe:0x329,_0x5d65fb:0xd2,_0x388017:0x1af},_0x2bcde4={_0x4ef373:0x16e},_0x37c2f8={_0xa01dc9:0xef,_0x5573ec:0x1f2,_0x4a7a65:0x9a},_0x1ffe1a={_0x532f13:0x1f0,_0x5d409b:0x94},_0x58fa68={_0x464c15:0x28,_0x1a28ec:0xd8};throwIfAborted(_0x1ad0de);const _0x3b0567=this[_0x1a3abc(0x36b,0x1b9,0x1,0x2cc)]['get'](_0x1d6b39)??Promise['resolve'](),_0x3f6625=_0x3b0567[_0x672360(0x25f,0x2e8,_0x5686b0._0x3d82e2,_0x5686b0._0x27a758)](async()=>{return throwIfAborted(_0x1ad0de),_0x294cae();}),_0x577086=_0x3f6625[_0x1a3abc(_0x5686b0._0x2743b7,_0x5686b0._0x156da4,_0x5686b0._0x3035e0,0x24)](()=>void 0x0,()=>void 0x0);this[_0x1a3abc(-0x57,0x1b9,0x11c,_0x5686b0._0x5cf6f3)]['set'](_0x1d6b39,_0x577086);function _0x1a3abc(_0x4cf533,_0x41b5ee,_0x8cc65c,_0x17669e){return _0x4d75fe(_0x4cf533-_0x58fa68._0x464c15,_0x4cf533,_0x41b5ee- -_0x58fa68._0x1a28ec,_0x17669e-0xb6);}function _0x672360(_0xa47f0c,_0x5535e7,_0x458a89,_0x52dbce){return _0x4d75fe(_0xa47f0c-_0x1ffe1a._0x532f13,_0x52dbce,_0xa47f0c-_0x1ffe1a._0x5d409b,_0x52dbce-0x38);}return void _0x577086[_0x1a3abc(0x28d,0x407,0x29a,0x3de)](()=>{function _0x454828(_0x23434f,_0x381ffa,_0x2e4036,_0x3b5ae2){return _0x1a3abc(_0x3b5ae2,_0x23434f- -_0x37c2f8._0xa01dc9,_0x2e4036-_0x37c2f8._0x5573ec,_0x3b5ae2-_0x37c2f8._0x4a7a65);}function _0x1455ae(_0x2fd483,_0x1180ef,_0x2ff3b8,_0x60a659){return _0x672360(_0x2ff3b8- -0x2d2,_0x1180ef-_0x2bcde4._0x4ef373,_0x2ff3b8-0xfa,_0x60a659);}this[_0x1455ae(-0x16a,-0x70,0x53,0x1a6)][_0x1455ae(_0x2d758a._0x3d99ef,_0x2d758a._0x3424f3,_0x2d758a._0x582b7c,_0x2d758a._0x53cff3)](_0x1d6b39)===_0x577086&&this[_0x1455ae(_0x2d758a._0x2dd1f9,-_0x2d758a._0x3adafb,_0x2d758a._0x24ea12,-0x23)][_0x1455ae(_0x2d758a._0xfd02fe,_0x2d758a._0x5d65fb,0x124,_0x2d758a._0x388017)](_0x1d6b39);}),_0x3f6625;}};import{mkdir as _0x299e00,stat as _0x5550e9}from'fs/promises';import*as _0x38266b from'path';function createFileNewTool(_0x4e49d3={}){const _0x2d00e3={_0x1be7d9:0x225,_0x253afa:0xd9,_0x1b69bc:0x8f,_0x9e8a81:0x8c1,_0x5e28cc:0x6da,_0x456d38:0x60d,_0x50e68a:0x8db,_0x52d8af:0x537,_0x526142:0x502,_0x574bd4:0x535,_0x3706d6:0x6a6,_0x47302f:0x37c,_0x543bc5:0x597,_0x35104c:0x3c1,_0x1bab5a:0x35f,_0x36583d:0x232,_0x50541f:0x2cb,_0xb895b4:0x1e7,_0x48f8f7:0x482,_0x3d9680:0x358},_0xda4dc5={_0x4b0553:0x1b8,_0x41f77d:0xa3,_0x4982a2:0x16a,_0x520638:0x220,_0x3d0b80:0x278,_0x3950c5:0x12b,_0x42dc55:0x2b7,_0x3aa530:0x13d,_0x43c944:0x269,_0x10c557:0xb1,_0x5bc762:0x2ed,_0x2d63d1:0x437,_0x23179b:0x2e3,_0x5ee4c5:0x1e8,_0x46e2b5:0x3a5,_0x29d01b:0x1bc,_0x1b0f30:0x33f,_0x47a37b:0x560,_0x27a7c8:0x3a0,_0x5c9630:0x356,_0x438f4e:0x1c9,_0x4955f8:0x29a,_0x46f806:0x81,_0x493aa6:0x48,_0x365c8a:0x342,_0x19ead0:0x1a7,_0x18a43c:0x5f0,_0x4641dc:0x4ac,_0x42bd75:0x4c1,_0x43c08e:0x2fb,_0x5bc201:0xd3,_0x3e0dd3:0x150,_0x46ab86:0x26d,_0x3471db:0x7b,_0x497658:0x30b,_0x41cbe3:0x1dc,_0xcd981:0x3b8,_0x1bc77c:0x4c,_0x2ed169:0x3fa,_0x450b24:0xcc,_0x3dca19:0x3a0,_0xeddf00:0x4d0,_0x36cad3:0x280,_0x55eccc:0x226,_0x241d16:0xb1,_0x39e062:0x7f},_0x49511e={_0x494987:0x7e,_0x3a2139:0xe0},_0x34648f={_0x5c85cd:0x1c9,_0x208301:0x5c},_0x263f50={_0x5a725d:0x466,_0x243b79:0xd2};function _0x489c43(_0x4e29d4,_0x2ea141,_0x27032d,_0x538527){return _0x3145c3(_0x4e29d4-0x71,_0x538527- -_0x263f50._0x5a725d,_0x27032d-_0x263f50._0x243b79,_0x4e29d4);}const _0x39e411=_0x38266b[_0x489c43(_0x2d00e3._0x1be7d9,_0x2d00e3._0x253afa,0x245,_0x2d00e3._0x1b69bc)](_0x4e49d3['defaultCwd']??process[_0x149d85(_0x2d00e3._0x9e8a81,0x6de,0x5a5,_0x2d00e3._0x5e28cc)]()),_0x3aade3=_0x4e49d3[_0x149d85(_0x2d00e3._0x456d38,0x620,_0x2d00e3._0x50e68a,0x77d)]??[],_0x4063d3=_0x4e49d3['name']??_0x149d85(0x3d9,0x3fc,_0x2d00e3._0x52d8af,_0x2d00e3._0x526142),{observations:_0x14016a,anchored:anchored=![]}=_0x4e49d3;function _0x149d85(_0x3588e8,_0x45587c,_0x58a5c5,_0x4347cc){return _0x3145c3(_0x3588e8-_0x34648f._0x5c85cd,_0x4347cc- -0x15a,_0x58a5c5-_0x34648f._0x208301,_0x45587c);}return defineTool({'name':_0x4063d3,'permissionClass':_0x149d85(_0x2d00e3._0x574bd4,0x72c,0x5be,0x63f),'description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x149d85(_0x2d00e3._0x3706d6,0x625,_0x2d00e3._0x47302f,_0x2d00e3._0x543bc5),'properties':{'filePath':{'type':_0x489c43(_0x2d00e3._0x35104c,_0x2d00e3._0x1bab5a,_0x2d00e3._0x36583d,0x34f)},'content':{'type':_0x489c43(0x576,0x317,_0x2d00e3._0x50541f,0x34f)}},'required':['filePath',_0x149d85(_0x2d00e3._0xb895b4,0x4a4,_0x2d00e3._0x48f8f7,_0x2d00e3._0x3d9680)]},async *'execute'(_0xe5867e,_0x5ba24b){const _0x5136db={_0x71efc2:0xc4},_0x4017c8=resolveAllowedPath(_0x39e411,_0x3aade3,_0xe5867e['filePath']),_0x1bc380=await _0x5550e9(_0x4017c8)[_0x3c8554(_0xda4dc5._0x4b0553,0x4cd,0x336,0x465)](()=>void 0x0),_0x290128=_0x1bc380!==void 0x0,_0x381d94=Buffer[_0x1f04c6(_0xda4dc5._0x41f77d,_0xda4dc5._0x4982a2,0x372,_0xda4dc5._0x520638)](_0xe5867e[_0x3c8554(_0xda4dc5._0x3d0b80,0x195,_0xda4dc5._0x3950c5,0xe)],_0x3c8554(_0xda4dc5._0x42dc55,_0xda4dc5._0x3aa530,_0xda4dc5._0x43c944,_0xda4dc5._0x10c557));function _0x3c8554(_0x47f0eb,_0x2467e6,_0x3ffdef,_0x16c552){return _0x149d85(_0x47f0eb-_0x5136db._0x71efc2,_0x2467e6,_0x3ffdef-0x90,_0x3ffdef- -0x22d);}const _0xc5086d=_0x1bc380!==void 0x0?_0x1bc380[_0x1f04c6(0x30e,0x14c,_0xda4dc5._0x5bc762,0x115)]&0xfff:0x1b6&~process[_0x3c8554(0x1cf,_0xda4dc5._0x2d63d1,_0xda4dc5._0x23179b,_0xda4dc5._0x5ee4c5)]();let _0x136e74;anchored&&_0x14016a!==void 0x0&&(_0x136e74=createNormalizedFileSnapshot(_0x4017c8,_0x381d94)[_0x3c8554(_0xda4dc5._0x46e2b5,_0xda4dc5._0x29d01b,_0xda4dc5._0x1b0f30,0x25c)]);await _0x299e00(_0x38266b['dirname'](_0x4017c8),{'recursive':!![]}),await atomicReplaceFile(_0x4017c8,_0x381d94,_0xc5086d);if(_0x136e74!==void 0x0&&_0x14016a!==void 0x0){const _0x246111=await resolveCanonicalAllowedFile(_0x39e411,_0x3aade3,_0xe5867e[_0x3c8554(_0xda4dc5._0x47a37b,0x301,_0xda4dc5._0x27a7c8,_0xda4dc5._0x5c9630)]),_0xc546ed=createNormalizedFileSnapshot(_0x246111['canonicalPath'],_0x381d94);_0x14016a[_0x1f04c6(_0xda4dc5._0x438f4e,0x309,_0xda4dc5._0x4955f8,0x170)](_0x5ba24b[_0x1f04c6(_0xda4dc5._0x46f806,0x123,-0x59,-_0xda4dc5._0x493aa6)]),_0x14016a['record'](_0xc546ed,_0xc546ed[_0x3c8554(0x244,0x329,_0xda4dc5._0x365c8a,_0xda4dc5._0x19ead0)][_0x3c8554(0x3a0,_0xda4dc5._0x18a43c,_0xda4dc5._0x4641dc,_0xda4dc5._0x42bd75)]((_0x58342b,_0x3fd85b)=>_0x3fd85b+0x1));}function _0x1f04c6(_0x3bb103,_0x14442a,_0x2288ab,_0x5dc651){return _0x489c43(_0x2288ab,_0x14442a-_0x49511e._0x494987,_0x2288ab-0x5c,_0x5dc651- -_0x49511e._0x3a2139);}return yield createToolOutput(_0x136e74===void 0x0?_0x3c8554(_0xda4dc5._0x43c08e,-_0xda4dc5._0x5bc201,_0xda4dc5._0x3e0dd3,0x148)+_0xe5867e[_0x1f04c6(_0xda4dc5._0x46ab86,_0xda4dc5._0x3471db,0x107,0x1e1)]+'.':'['+_0xe5867e[_0x1f04c6(_0xda4dc5._0x497658,_0xda4dc5._0x41cbe3,_0xda4dc5._0xcd981,0x1e1)]+'#'+_0x136e74+_0x1f04c6(-_0xda4dc5._0x1bc77c,-0x152,0x22b,0xb6)+_0xe5867e[_0x1f04c6(_0xda4dc5._0x2ed169,0xb1,_0xda4dc5._0x450b24,0x1e1)]+'.',{'filePath':_0xe5867e[_0x3c8554(0x503,0x355,_0xda4dc5._0x3dca19,_0xda4dc5._0xeddf00)],'resolvedPath':_0x4017c8,'bytes':_0x381d94[_0x1f04c6(_0xda4dc5._0x36cad3,_0xda4dc5._0x55eccc,0x1cc,0xda)],'lines':_0xe5867e[_0x3c8554(-0x26,0x1ee,0x12b,0x174)]['split'](/\r?\n/)['length'],'created':new Date()[_0x1f04c6(-_0xda4dc5._0x241d16,_0xda4dc5._0x39e062,0x55,-0x34)](),'overwritten':_0x290128,..._0x136e74===void 0x0?{}:{'tag':_0x136e74}}),void 0x0;}});}var FILE_OBSERVATION_LIMITS={'maxPaths':0x1e,'maxVersionsPerPath':0x4,'maxSnapshotBytes':0x40*0x400*0x400},FileObservationStore=class{['limits'];[_0x3145c3(0x5df,0x67a,0x7e3,0x70e)];[_0x4d75fe(0x2f8,0xc6,0x1f9,-0x1f)];[_0x3145c3(0x6e7,0x8db,0x871,0x818)]=new Map();[_0x3145c3(0x69e,0x583,0x4d1,0x54a)]=[];[_0x3145c3(0x6b3,0x4dc,0x4f3,0x700)]=0x0;[_0x3145c3(0x3f2,0x570,0x5d6,0x64e)]=new Map();[_0x3145c3(0x9a5,0x786,0x66e,0x657)]=new Map();constructor(_0x15414a={}){const _0x265108={_0x150e45:0x682,_0x1ccedb:0x5cf,_0x4743d1:0x157},_0x3209fa={_0x48b422:0x1eb},_0x53db0a={_0x5b544b:0xb3};function _0x3b03a0(_0x106b8c,_0x48f61d,_0x5e44ba,_0x595eb0){return _0x4d75fe(_0x106b8c-0x11a,_0x595eb0,_0x106b8c- -0xf3,_0x595eb0-_0x53db0a._0x5b544b);}this[_0x1a3e4b(_0x265108._0x150e45,0x439,0x603,_0x265108._0x1ccedb)]={...FILE_OBSERVATION_LIMITS,..._0x15414a['limits']};function _0x1a3e4b(_0x594200,_0x3f1a28,_0x229126,_0x12577c){return _0x4d75fe(_0x594200-_0x3209fa._0x48b422,_0x3f1a28,_0x229126-0x388,_0x12577c-0x107);}this[_0x3b03a0(0x282,0x1ee,0x3ac,_0x265108._0x4743d1)]=_0x15414a['tagForDigest'];}['bindSession'](_0x4079fe){const _0x1c99b5={_0x479daf:0x5da,_0x465d99:0x57d,_0x2cdaa5:0x4ed,_0x273daa:0x39a,_0x2da17a:0x4ce,_0x5a57be:0x198},_0x34bce2={_0x1f2eb1:0xe5};if(this['sessionId']===_0x4079fe)return;function _0x46a0da(_0x2a373b,_0x4f38c8,_0x2985fa,_0x2e7310){return _0x3145c3(_0x2a373b-_0x34bce2._0x1f2eb1,_0x2a373b-0x2d,_0x2985fa-0x181,_0x2985fa);}this[_0x41c372(_0x1c99b5._0x479daf,_0x1c99b5._0x465d99,_0x1c99b5._0x2cdaa5,_0x1c99b5._0x273daa)]();function _0x41c372(_0x16e192,_0x3c30cb,_0x1f29e2,_0x43b46b){return _0x3145c3(_0x16e192-0xf0,_0x1f29e2- -0x148,_0x1f29e2-0xc9,_0x16e192);}this[_0x41c372(_0x1c99b5._0x2da17a,0x3af,0x3b6,_0x1c99b5._0x5a57be)]=_0x4079fe;}[_0x4d75fe(0x63f,0x506,0x45f,0x649)](_0x3f4d39,_0x4ad02a){const _0x4f9a99={_0x339a32:0x27c,_0xcca286:0x2f9,_0x2f886f:0xc2,_0x27c51f:0x50,_0xb96b37:0x34b,_0x1e90ee:0x351,_0x1e20f3:0x5f0,_0x419a3f:0x359,_0x4934b8:0x364,_0x91aa45:0x358,_0x8ec1ab:0x3a3,_0x501eea:0x15c,_0x48883e:0x15b,_0xf93952:0xa2,_0x3365a2:0x51,_0x41c3f1:0x49f,_0x4221ae:0xeb,_0x116e18:0x4cd,_0x448199:0x4bd,_0x52bdaf:0x344,_0x33bae1:0x485,_0xa75b4e:0x2f2,_0x373f05:0x257,_0x12f6b6:0x1c3,_0x57b178:0x308,_0x551f51:0x1fc,_0x3b193e:0x223,_0x540bf3:0x3ae,_0x374c51:0x3ce,_0x41b111:0x406,_0x23632f:0x2de,_0x56cb23:0x2f6,_0x4946eb:0x34d,_0x3405dc:0x661,_0x3900a0:0x621,_0x5ca410:0x4e3,_0x2edfa0:0x73a,_0x342e29:0x736,_0x2d940b:0x4df,_0x4f274b:0x5f0,_0x2e759d:0x1bd,_0xceb207:0x1d,_0x271491:0x5f1,_0x3bb3d:0x33b,_0x3a92e9:0x241,_0x1c6a53:0x1d0,_0x1395eb:0x521,_0x5df216:0x446,_0x243788:0x4ed,_0x48e837:0x261,_0x57f58e:0x3f9,_0x147e6d:0x2f4,_0x2efd41:0x4e5,_0x4df582:0x481,_0x541f2a:0x446,_0x4f5cd4:0x2d4,_0x65f551:0x35b,_0x2277da:0x27b,_0x57c4d4:0x550,_0x29c124:0x30b,_0xd75ed2:0x4f7,_0x551f43:0x3ed,_0x5d4d26:0x29f,_0x4c0984:0x373,_0x4bd08c:0x394,_0x422022:0x3e6,_0xd369b6:0x5be,_0x2f1752:0x579,_0x593da6:0x5dc,_0x63250e:0x8e,_0x640007:0xf4,_0x419c06:0x1d2,_0x1278c6:0x52,_0x24a1af:0x1f6,_0x12fabf:0x453,_0x487286:0x3db,_0x3d64e8:0x44f,_0x35f2ea:0x5f7},_0x27ea16={_0x2e528b:0x51,_0x3d9824:0x59,_0x1a4db7:0x1ea};if(_0x3f4d39[_0x2b2097(_0x4f9a99._0x339a32,0x15b,0x115,_0x4f9a99._0xcca286)]>this[_0x2b2097(-_0x4f9a99._0x2f886f,0x132,-_0x4f9a99._0x27c51f,_0x4f9a99._0xb96b37)][_0x2b2097(0x553,_0x4f9a99._0x1e90ee,0x16b,0x29a)])throw createAnchoredFileError(_0x3791fb(0x31d,_0x4f9a99._0x1e20f3,_0x4f9a99._0x419a3f,0x443),_0x3791fb(0x191,0xb1,_0x4f9a99._0x4934b8,0x256)+_0x3f4d39[_0x3791fb(0x461,_0x4f9a99._0x91aa45,_0x4f9a99._0x8ec1ab,0x3f9)]+'\x20is\x20'+_0x3f4d39[_0x2b2097(_0x4f9a99._0x501eea,_0x4f9a99._0x48883e,_0x4f9a99._0xf93952,-_0x4f9a99._0x3365a2)]+_0x3791fb(0x55d,0x633,_0x4f9a99._0x41c3f1,0x604)+this[_0x2b2097(-_0x4f9a99._0x4221ae,0x132,0x1e0,0x148)]['maxSnapshotBytes']+_0x3791fb(_0x4f9a99._0x116e18,_0x4f9a99._0x448199,_0x4f9a99._0x52bdaf,_0x4f9a99._0x33bae1),{'path':_0x3f4d39[_0x2b2097(_0x4f9a99._0xa75b4e,_0x4f9a99._0x373f05,_0x4f9a99._0x12f6b6,_0x4f9a99._0x57b178)],'size':_0x3f4d39[_0x3791fb(0x141,0x1e6,0x10c,0x2fd)]});const _0x17705a=this[_0x3791fb(_0x4f9a99._0x551f51,_0x4f9a99._0x3b193e,_0x4f9a99._0x540bf3,_0x4f9a99._0x374c51)]?this[_0x3791fb(0x275,0x2dd,0x432,0x3ce)](_0x3f4d39[_0x3791fb(0x2c7,0x5fe,0x412,_0x4f9a99._0x41b111)]):_0x3f4d39[_0x3791fb(_0x4f9a99._0x23632f,_0x4f9a99._0x56cb23,_0x4f9a99._0x4946eb,0x41a)],_0x22588b=this[_0x3791fb(_0x4f9a99._0x3405dc,_0x4f9a99._0x3900a0,_0x4f9a99._0x5ca410,0x62f)][_0x3791fb(_0x4f9a99._0x2edfa0,_0x4f9a99._0x342e29,_0x4f9a99._0x2d940b,_0x4f9a99._0x4f274b)](_0x3f4d39[_0x2b2097(0x2ae,0x257,0x285,0x2e6)]);function _0x2b2097(_0x50a665,_0x4f2c15,_0x4146a8,_0x4ce17a){return _0x4d75fe(_0x50a665-0x1cb,_0x4146a8,_0x4f2c15- -0x149,_0x4ce17a-0x45);}const _0x45fe35=_0x22588b?.[_0x2b2097(0x19d,_0x4f9a99._0x2e759d,-_0x4f9a99._0xceb207,0x15e)](_0x35282b=>_0x35282b[_0x3791fb(0x411,0x4bf,0x1ad,0x2da)]['digest']===_0x3f4d39[_0x3791fb(0x555,0x502,0x48d,0x406)]);let _0xf6c12d;if(_0x45fe35){for(const _0x1e107b of _0x4ad02a)_0x45fe35[_0x3791fb(0x472,0x6a8,0x6eb,_0x4f9a99._0x271491)][_0x2b2097(_0x4f9a99._0x3bb3d,0x162,_0x4f9a99._0x3a92e9,_0x4f9a99._0x1c6a53)](_0x1e107b);_0xf6c12d=_0x45fe35;}else{_0xf6c12d={'snapshot':_0x3f4d39,'tag':_0x17705a,'observedLines':new Set(_0x4ad02a)};if(!_0x22588b)this[_0x2b2097(0x343,0x48d,0x62d,0x457)][_0x3791fb(_0x4f9a99._0x1395eb,_0x4f9a99._0x5df216,_0x4f9a99._0x243788,0x637)](_0x3f4d39[_0x3791fb(0x2a8,_0x4f9a99._0x48e837,0x3bc,_0x4f9a99._0x57f58e)],[_0xf6c12d]);else{if(_0x22588b[_0x3791fb(_0x4f9a99._0x147e6d,0x38e,_0x4f9a99._0x2efd41,0x374)]>=this[_0x3791fb(0x1a2,_0x4f9a99._0x4df582,_0x4f9a99._0x541f2a,_0x4f9a99._0x4f5cd4)][_0x3791fb(0x3cf,0x27e,0x43e,0x25e)]){const _0xc31111=_0x22588b['shift']();if(_0xc31111)this['releaseBytes'](_0xc31111['snapshot'][_0x2b2097(_0x4f9a99._0x65f551,0x264,0x42a,_0x4f9a99._0x2277da)]);}_0x22588b['push'](_0xf6c12d);}this[_0x2b2097(0x176,0xd6,-_0x4f9a99._0x2f886f,0x18c)](_0x3f4d39['digest'],_0x3f4d39['utf8Bytes']);}function _0x3791fb(_0x3d3a9d,_0x3135ca,_0x1daf84,_0x5299b4){return _0x4d75fe(_0x3d3a9d-_0x27ea16._0x2e528b,_0x3135ca,_0x5299b4-_0x27ea16._0x3d9824,_0x5299b4-_0x27ea16._0x1a4db7);}this['touchPath'](_0x3f4d39[_0x3791fb(_0x4f9a99._0x57c4d4,0x5b2,_0x4f9a99._0x29c124,0x3f9)]);while(this[_0x2b2097(_0x4f9a99._0xd75ed2,0x48d,_0x4f9a99._0x551f43,0x4c0)]['size']>this[_0x2b2097(0x155,0x132,_0x4f9a99._0x5d4d26,0x3e)][_0x2b2097(_0x4f9a99._0x4c0984,_0x4f9a99._0x4bd08c,0x2b9,_0x4f9a99._0x422022)]){this[_0x3791fb(0x409,_0x4f9a99._0xd369b6,_0x4f9a99._0x2f1752,_0x4f9a99._0x593da6)]();}while(this[_0x2b2097(0x58,_0x4f9a99._0x63250e,-_0x4f9a99._0x640007,-0x181)]>this['limits'][_0x2b2097(0x285,_0x4f9a99._0x1e90ee,0x2d8,0x198)]&&this['recency'][_0x2b2097(0xc1,_0x4f9a99._0x419c06,_0x4f9a99._0x1278c6,_0x4f9a99._0x24a1af)]>0x1){this['evictLeastRecentlyUsedPath']();}return{'snapshot':_0xf6c12d[_0x3791fb(_0x4f9a99._0x12fabf,0x4a9,_0x4f9a99._0x487286,0x2da)],'observedLines':new Set(_0xf6c12d[_0x2b2097(0x2c9,_0x4f9a99._0x3d64e8,0x380,_0x4f9a99._0x35f2ea)])};}['resolve'](_0x12cbcb,_0x132017){const _0x405de2={_0x5739ff:0x73c,_0x230e76:0x49d,_0x1b1806:0x7b9,_0x1c6e00:0x554,_0x3edbc6:0x250,_0x2e75f2:0x6f5,_0x51a3a7:0x887,_0x58cc9c:0x76e,_0x4dd37c:0x630,_0x4c5aee:0x81b,_0x3e094f:0x63a,_0x90ca40:0x5dd,_0x373d4f:0x24e,_0x30e134:0x201,_0x4ab6d7:0x351,_0x1b2df4:0x324,_0x49fb3f:0x56a,_0x5f8e40:0x71c,_0x483842:0x580,_0xcc787f:0x4f4,_0x15f66c:0x32f,_0x13f66a:0x41b,_0x1922c9:0x4a3,_0x4ce318:0x46a,_0x2c38bf:0x4a6,_0x5c2309:0x3c8,_0x2236e0:0x512,_0x4717cd:0x61e,_0x56f809:0x45b,_0x2e2310:0x6ac,_0x29f1ef:0x4f7},_0x3466cb={_0x3453c8:0x109,_0x5b02a3:0x314},_0x598c1c={_0x235bf1:0x9},_0x5c3869=this[_0xf9f0e1(_0x405de2._0x5739ff,0x4be,_0x405de2._0x230e76,0x5df)][_0xf9f0e1(_0x405de2._0x1b1806,0x3ab,0x537,0x5a0)](_0x12cbcb);function _0xf9f0e1(_0x470b2e,_0x4e907a,_0x439e96,_0x487e74){return _0x4d75fe(_0x470b2e-0xaf,_0x4e907a,_0x487e74-_0x598c1c._0x235bf1,_0x487e74-0x1);}if(!_0x5c3869)throw createAnchoredFileError('unknown_snapshot',_0xf9f0e1(_0x405de2._0x1c6e00,0x15a,_0x405de2._0x3edbc6,0x32f)+_0x132017+'\x20is\x20unknown\x20for\x20'+_0x12cbcb+_0x18f069(_0x405de2._0x2e75f2,_0x405de2._0x51a3a7,_0x405de2._0x58cc9c,0x565),{'path':_0x12cbcb,'tag':_0x132017});const _0x5268e4=_0x5c3869[_0xf9f0e1(0x6c4,_0x405de2._0x4dd37c,0x6b2,0x5f1)](_0x564890=>_0x564890['tag']===_0x132017);if(_0x5268e4['length']===0x0)throw createAnchoredFileError(_0x18f069(0x6fe,_0x405de2._0x4c5aee,0x7de,0x5d3),_0x18f069(_0x405de2._0x3e094f,0x6f8,0x7f3,0x468)+_0x132017+_0x18f069(0x718,_0x405de2._0x90ca40,0x6c9,0x77b)+_0x12cbcb+_0xf9f0e1(0x237,_0x405de2._0x373d4f,_0x405de2._0x30e134,0x3ea),{'path':_0x12cbcb,'tag':_0x132017});if(_0x5268e4[_0xf9f0e1(0x20d,0x27b,_0x405de2._0x4ab6d7,_0x405de2._0x1b2df4)]>0x1)throw createAnchoredFileError(_0x18f069(_0x405de2._0x49fb3f,_0x405de2._0x5f8e40,_0x405de2._0x483842,_0x405de2._0xcc787f),_0xf9f0e1(0x269,0x51c,0x3fc,_0x405de2._0x15f66c)+_0x132017+'\x20is\x20ambiguous\x20for\x20'+_0x12cbcb+_0xf9f0e1(0x259,_0x405de2._0x13f66a,_0x405de2._0x1922c9,0x3ea),{'path':_0x12cbcb,'tag':_0x132017});this[_0xf9f0e1(_0x405de2._0x4ce318,_0x405de2._0x2c38bf,_0x405de2._0x5c2309,_0x405de2._0x2236e0)](_0x12cbcb);function _0x18f069(_0x2e8e55,_0x2bef31,_0x240604,_0x1b7a6e){return _0x4d75fe(_0x2e8e55-_0x3466cb._0x3453c8,_0x2bef31,_0x2e8e55-_0x3466cb._0x5b02a3,_0x1b7a6e-0xde);}return{'snapshot':_0x5268e4[0x0][_0x18f069(0x595,0x6cd,_0x405de2._0x4717cd,_0x405de2._0x56f809)],'observedLines':new Set(_0x5268e4[0x0][_0xf9f0e1(_0x405de2._0x2e2310,0x73a,_0x405de2._0x29f1ef,0x5a1)])};}[_0x4d75fe(0x3ae,0x4cb,0x56f,0x3f5)](_0x1bde9d,_0x213ea0){const _0x1c04b1={_0x327f38:0x85e,_0x391c35:0x894,_0x41cc55:0x6c7},_0x1671fa={_0x3bdcca:0x6,_0x142d2f:0x85,_0x8b6816:0x2f},_0x55d893=_0x1bde9d+'\x00'+_0x213ea0;function _0x88ba82(_0xda3ccf,_0x4b6295,_0x55758b,_0x56f4d4){return _0x3145c3(_0xda3ccf-_0x1671fa._0x3bdcca,_0xda3ccf- -_0x1671fa._0x142d2f,_0x55758b-_0x1671fa._0x8b6816,_0x56f4d4);}const _0x3f2543=(this['noChangeCounters']['get'](_0x55d893)??0x0)+0x1;return this['noChangeCounters'][_0x88ba82(_0x1c04b1._0x327f38,_0x1c04b1._0x391c35,0x9c7,_0x1c04b1._0x41cc55)](_0x55d893,_0x3f2543),_0x3f2543;}[_0x3145c3(0x7cd,0x811,0x7f8,0x670)](_0x2ae6b6){const _0xd66946={_0x58373b:0x2b5,_0x9ec72c:0x5c6,_0x34456a:0x4b5,_0x120dca:0x220,_0x5afcee:0x15b,_0x1c3326:0x1eb,_0x5f3e29:0x13e},_0x29296c={_0x406eca:0x77,_0x1e03de:0x302,_0xd5a483:0xd4},_0x423d71={_0x2bad31:0x6f};function _0x3804cf(_0x352360,_0x505326,_0x4bf874,_0x5c2add){return _0x4d75fe(_0x352360-_0x423d71._0x2bad31,_0x505326,_0x352360- -0x326,_0x5c2add-0x2c);}function _0x22bb2d(_0x171e77,_0x21b3aa,_0x1e249e,_0x13cb76){return _0x3145c3(_0x171e77-_0x29296c._0x406eca,_0x1e249e- -_0x29296c._0x1e03de,_0x1e249e-_0x29296c._0xd5a483,_0x21b3aa);}const _0x39e7c3=_0x2ae6b6+'\x00';for(const _0x308b24 of[...this['noChangeCounters'][_0x22bb2d(0x391,_0xd66946._0x58373b,0x4d7,_0xd66946._0x9ec72c)]()]){if(_0x308b24[_0x3804cf(0x296,_0xd66946._0x34456a,0x33f,_0xd66946._0x120dca)](_0x39e7c3))this[_0x3804cf(_0xd66946._0x5afcee,0x9f,_0xd66946._0x1c3326,_0xd66946._0x5f3e29)]['delete'](_0x308b24);}}[_0x4d75fe(0x482,0x496,0x330,0x282)](){const _0x1538e0={_0x389cc1:0x287,_0x548550:0x3a7,_0x2dd896:0x3f2,_0x40a951:0x524,_0xb58566:0x4b7,_0x44341f:0x405,_0x24d622:0x4b7,_0x5e5566:0x3b3},_0x55d492={_0x106fb:0xb1,_0x3e8f44:0x17e,_0x115511:0x149},_0x33b011={_0x23301c:0x28e,_0x175727:0x1c1};this['versionsByPath'][_0x5cd6a5(_0x1538e0._0x389cc1,_0x1538e0._0x548550,0x252,0x545)]();function _0x5cd6a5(_0x4e02a3,_0x1026de,_0x555598,_0x3603c6){return _0x3145c3(_0x4e02a3-0x179,_0x1026de- -_0x33b011._0x23301c,_0x555598-_0x33b011._0x175727,_0x4e02a3);}this[_0xe72885(0x405,0x4dd,0x4df,0x434)]=[],this['totalBytes']=0x0;function _0xe72885(_0x330dda,_0x40a2bd,_0x4c1e89,_0x84b8d8){return _0x3145c3(_0x330dda-_0x55d492._0x106fb,_0x330dda- -_0x55d492._0x3e8f44,_0x4c1e89-_0x55d492._0x115511,_0x40a2bd);}this[_0xe72885(_0x1538e0._0x2dd896,_0x1538e0._0x40a951,0x49a,0x341)][_0xe72885(_0x1538e0._0xb58566,_0x1538e0._0x44341f,0x2b8,0x691)](),this['noChangeCounters'][_0xe72885(_0x1538e0._0x24d622,_0x1538e0._0x5e5566,0x3ad,0x33a)]();}[_0x4d75fe(0x417,0x66d,0x509,0x648)](_0x3e446f){const _0x3bfe9f={_0x8a615c:0xda,_0x162774:0x3d6,_0x143270:0x25e,_0x4d2935:0x4bf,_0x1630f3:0x368,_0x1636ae:0x3c8},_0x34b100={_0x350aed:0x2a3,_0x53bffc:0x1dc},_0x32ac58={_0x2697f9:0x171,_0x19229d:0xd8},_0x4fbc6f=this[_0x6fa1f2(0x10d,_0x3bfe9f._0x8a615c,-0x47,0x229)]['indexOf'](_0x3e446f);if(_0x4fbc6f!==-0x1)this['recency'][_0x6fa1f2(_0x3bfe9f._0x162774,0x235,0x428,_0x3bfe9f._0x143270)](_0x4fbc6f,0x1);function _0x6fa1f2(_0x449bf4,_0x4ade48,_0x8a0c5,_0x550398){return _0x4d75fe(_0x449bf4-0x188,_0x4ade48,_0x449bf4- -_0x32ac58._0x2697f9,_0x550398-_0x32ac58._0x19229d);}function _0x328c4d(_0x5222bf,_0x52fbbf,_0x33f8a4,_0x5a209c){return _0x3145c3(_0x5222bf-0x9a,_0x33f8a4- -_0x34b100._0x350aed,_0x33f8a4-_0x34b100._0x53bffc,_0x5a209c);}this[_0x328c4d(_0x3bfe9f._0x4d2935,_0x3bfe9f._0x1630f3,0x2e0,_0x3bfe9f._0x1636ae)]['push'](_0x3e446f);}[_0x3145c3(0xa4d,0x888,0xa61,0x934)](){const _0x42be01={_0x4e7b26:0x1d7,_0x1628a5:0x1ca,_0x2bdcbf:0x3b,_0x32a798:0x14e,_0x4e27f0:0x421,_0x433610:0x35c,_0x3f3ea3:0x460,_0x4375bc:0x5a7,_0x569668:0x59d,_0xa07fd3:0x192,_0xc452af:0xeb,_0x2c1e5c:0x2fa,_0x37109f:0x193,_0x1d1b72:0x24f,_0x3bae33:0x128,_0x44fab9:0x157,_0x4a4b89:0x1a},_0x83651e={_0x15a4c2:0x16f,_0x5c7254:0x58a},_0x442524={_0x7d24d2:0x1b1,_0x5d77ea:0x47b,_0x5c0fb9:0x1c5};function _0x48ee6e(_0xcf2d5e,_0x3bf733,_0x2bf31c,_0x59b777){return _0x3145c3(_0xcf2d5e-_0x442524._0x7d24d2,_0x3bf733- -_0x442524._0x5d77ea,_0x2bf31c-_0x442524._0x5c0fb9,_0x59b777);}function _0x4ad7db(_0xfade06,_0x2c12e4,_0x1ce447,_0x569ec8){return _0x3145c3(_0xfade06-_0x83651e._0x15a4c2,_0x2c12e4- -_0x83651e._0x5c7254,_0x1ce447-0x189,_0x1ce447);}const _0xf7e198=this[_0x4ad7db(0xfa,-0x7,_0x42be01._0x4e7b26,0x194)][_0x4ad7db(_0x42be01._0x1628a5,-_0x42be01._0x2bdcbf,_0x42be01._0x32a798,-0xbd)]();if(_0xf7e198===void 0x0)return;const _0x1c1c7a=this['versionsByPath'][_0x48ee6e(0x5b1,_0x42be01._0x4e27f0,_0x42be01._0x433610,0x4a0)](_0xf7e198);this[_0x48ee6e(0x32b,_0x42be01._0x3f3ea3,_0x42be01._0x4375bc,_0x42be01._0x569668)]['delete'](_0xf7e198);if(_0x1c1c7a){for(const _0x44a541 of _0x1c1c7a)this[_0x48ee6e(_0x42be01._0xa07fd3,0x245,_0x42be01._0xc452af,_0x42be01._0x2c1e5c)](_0x44a541[_0x4ad7db(-0xb5,-0x4,_0x42be01._0x37109f,0x186)][_0x4ad7db(_0x42be01._0x1d1b72,_0x42be01._0x3bae33,_0x42be01._0x44fab9,_0x42be01._0x4a4b89)]);}}['acquireBytes'](_0x42e7f2,_0x133b42){const _0x10b123={_0x585b8e:0x15f,_0x5efd5f:0x39,_0x552535:0x2ef,_0x8de573:0x81f,_0x34cd5a:0x938},_0x1404f9={_0x199a38:0x60,_0x15903a:0x411,_0x5375c3:0x91},_0x27b33a={_0x1e115f:0x55,_0x4e6433:0x157};function _0x7ca268(_0x173c6a,_0x19ab2a,_0x2a1bf9,_0x48bd44){return _0x3145c3(_0x173c6a-0xaf,_0x19ab2a-_0x27b33a._0x1e115f,_0x2a1bf9-_0x27b33a._0x4e6433,_0x2a1bf9);}function _0x72dbb6(_0x48e213,_0x4d69f8,_0x14730f,_0x3f24de){return _0x3145c3(_0x48e213-_0x1404f9._0x199a38,_0x14730f- -_0x1404f9._0x15903a,_0x14730f-_0x1404f9._0x5375c3,_0x4d69f8);}!this[_0x72dbb6(-0xa2,-0x17,_0x10b123._0x585b8e,-_0x10b123._0x5efd5f)][_0x72dbb6(0xfd,0x2a3,_0x10b123._0x552535,0x48c)](_0x42e7f2)&&(this['bytesByDigest'][_0x7ca268(_0x10b123._0x8de573,_0x10b123._0x34cd5a,0xb1a,0x824)](_0x42e7f2,_0x133b42),this['totalBytes']+=_0x133b42);}[_0x3145c3(0x627,0x6c0,0x57e,0x67f)](_0x36b197){const _0x525470={_0x4c0202:0x579,_0x554c95:0x543,_0x47273a:0xb03,_0x1d397c:0x85a,_0x445d0a:0x8b2,_0x2fdb18:0x48c,_0x116338:0x3f5,_0x599aae:0x9bb,_0x8fdc34:0x7e1,_0x5bdb2a:0xb25,_0x4b9c3a:0x899,_0x34a69c:0x83e,_0x5e2934:0x8ee,_0x2df1ec:0x55f,_0x6f5b96:0x5ec},_0x3d8452={_0x57b82f:0x146};if(!this[_0xe625ab(0x559,_0x525470._0x4c0202,0x563,0x751)][_0xe625ab(0x6e9,0x515,0x5ee,_0x525470._0x554c95)](_0x36b197))return;const _0x56959e=[...this[_0x11fe69(0x9fa,_0x525470._0x47273a,_0x525470._0x1d397c,_0x525470._0x445d0a)]['values']()]['some'](_0x541c60=>_0x541c60[_0xe625ab(0x6b5,0x669,0x7de,0x49e)](_0x1ea969=>_0x1ea969[_0xe625ab(0x56f,0x685,0x59d,0x39c)][_0x11fe69(0x7d1,0x9ef,0x751,0x896)]===_0x36b197));function _0xe625ab(_0xa5321d,_0x460385,_0x1df485,_0x38c34d){return _0x4d75fe(_0xa5321d-0xa6,_0x38c34d,_0xa5321d-0x2ee,_0x38c34d-0x7f);}function _0x11fe69(_0x4e8590,_0x28c305,_0x504003,_0x50f3b0){return _0x3145c3(_0x4e8590-_0x3d8452._0x57b82f,_0x4e8590-0x11f,_0x504003-0xf1,_0x504003);}!_0x56959e&&(this['totalBytes']-=this[_0xe625ab(0x559,_0x525470._0x2fdb18,0x3e6,_0x525470._0x116338)][_0x11fe69(_0x525470._0x599aae,0xa53,_0x525470._0x8fdc34,_0x525470._0x5bdb2a)](_0x36b197)??0x0,this[_0x11fe69(0x68f,_0x525470._0x4b9c3a,_0x525470._0x34a69c,0x7bd)][_0x11fe69(0x786,_0x525470._0x5e2934,_0x525470._0x2df1ec,_0x525470._0x6f5b96)](_0x36b197));}};import{readFile as _0x25ed0d,stat as _0x336626}from'fs/promises';import*as _0x3e2ce2 from'path';function stripUtfBom(_0x3fa449){const _0x10d7a8={_0x391438:0x6d3,_0x2d749b:0x86b},_0x142fad={_0x20e3b9:0x5a};function _0x276ccb(_0xc0b26e,_0x1f021f,_0x2cdb63,_0x39efd4){return _0x3145c3(_0xc0b26e-0x6a,_0x1f021f- -0x11c,_0x2cdb63-_0x142fad._0x20e3b9,_0x2cdb63);}return _0x3fa449['charCodeAt'](0x0)===0xfeff?_0x3fa449[_0x276ccb(0x4cb,_0x10d7a8._0x391438,_0x10d7a8._0x2d749b,0x721)](0x1):_0x3fa449;}function clampLine2(_0x22c611,_0x4bde19){const _0x5dcd05={_0x500ea2:0x140,_0x4f0fe9:0x11d,_0x63ac01:0xab,_0x9ceb64:0x87},_0x5dfc52={_0x4685cd:0x4a},_0x325316={_0x42e658:0x154,_0x159a62:0x286};function _0x4ef29e(_0x24720c,_0x3e1508,_0x1835c1,_0x1126ab){return _0x4d75fe(_0x24720c-_0x325316._0x42e658,_0x24720c,_0x1126ab- -_0x325316._0x159a62,_0x1126ab-0x1a);}if(!Number[_0x4ef29e(-_0x5dcd05._0x500ea2,-0x179,_0x5dcd05._0x4f0fe9,-_0x5dcd05._0x63ac01)](_0x22c611))return 0x1;function _0x5af2d7(_0x1a3345,_0x118816,_0xb2989,_0x295298){return _0x4d75fe(_0x1a3345-0x1a7,_0x1a3345,_0xb2989- -0x1f1,_0x295298-_0x5dfc52._0x4685cd);}return Math['max'](0x1,Math[_0x5af2d7(-_0x5dcd05._0x9ceb64,0x1a3,0x80,-0xad)](Math['trunc'](_0x22c611),_0x4bde19));}function resolveAnchoredTarget(_0x358180){const _0x562f33={_0x316623:0x58b,_0x52ce75:0x3a1,_0x329d34:0x688,_0x5ef13b:0x507,_0x31933f:0x585,_0x5d75b8:0x542,_0x32e62c:0x53d,_0x120837:0x44e,_0xc3f590:0x447,_0x120bb0:0x4d0,_0x283e46:0x3cd,_0x533dcb:0x54b,_0x3fcf36:0x4ad,_0x32fd18:0x810,_0x187501:0x953,_0x36da6f:0x4a2,_0x96eade:0x664,_0x1d465f:0x904,_0x5e5e35:0x971,_0x4f2172:0x5b2,_0x2fa4e3:0x3f7,_0x3c0d4c:0x34a,_0x3238c5:0x2e7,_0x3c093b:0x31c,_0x3a9b3c:0x3db,_0x188104:0x491},_0x559a0f={_0x5597f5:0x1e9,_0x132004:0x211,_0x18b314:0x10a};function _0x22c4d8(_0x5864a7,_0x556dcc,_0x41b4f5,_0x410eca){return _0x3145c3(_0x5864a7-0x184,_0x5864a7- -0xd0,_0x41b4f5-0xd,_0x41b4f5);}function _0x59f30f(_0x2f5999,_0x13b882,_0x3cdbc2,_0x1e0257){return _0x4d75fe(_0x2f5999-_0x559a0f._0x5597f5,_0x1e0257,_0x13b882-_0x559a0f._0x132004,_0x1e0257-_0x559a0f._0x18b314);}const _0x1fe8b7=_0x358180[_0x22c4d8(_0x562f33._0x316623,0x456,_0x562f33._0x52ce75,_0x562f33._0x329d34)]??_0x22c4d8(0x566,0x6c5,_0x562f33._0x5ef13b,_0x562f33._0x31933f);if(_0x1fe8b7===_0x59f30f(0x69f,_0x562f33._0x5d75b8,_0x562f33._0x32e62c,_0x562f33._0x120837))return void 0x0;if(_0x358180[_0x59f30f(_0x562f33._0xc3f590,_0x562f33._0x120bb0,_0x562f33._0x283e46,0x559)]===void 0x0)throw new Error((_0x358180[_0x22c4d8(_0x562f33._0x533dcb,_0x562f33._0x3fcf36,0x76d,_0x562f33._0x5d75b8)]??'FileRead')+_0x22c4d8(_0x562f33._0x32fd18,_0x562f33._0x187501,0x6b2,0x8c3));if(_0x358180['outputBudgetBytes']===void 0x0)throw new Error((_0x358180[_0x22c4d8(_0x562f33._0x533dcb,0x39e,_0x562f33._0x36da6f,_0x562f33._0x96eade)]??_0x22c4d8(0x792,_0x562f33._0x1d465f,_0x562f33._0x5e5e35,_0x562f33._0x4f2172))+_0x59f30f(0x595,_0x562f33._0x2fa4e3,0x599,0x3b2));return{'mode':_0x1fe8b7,'observations':_0x358180[_0x22c4d8(0x4f4,_0x562f33._0x3c0d4c,_0x562f33._0x3238c5,_0x562f33._0x3c093b)],'outputBudgetBytes':_0x358180[_0x59f30f(_0x562f33._0x3a9b3c,0x465,0x2d2,_0x562f33._0x188104)]};}function isErrnoException(_0x42c766){const _0x217b62={_0x32ae68:0x758,_0xc4e57b:0x808,_0x12dc73:0x761,_0x4d3aea:0x897,_0x26132c:0xaa1},_0x2ce5e6={_0x19e4f6:0x14d},_0x495064={_0x4a5cf1:0xdd,_0x432696:0x14f};function _0xe87df2(_0x19b952,_0x55bb91,_0x3e8eb5,_0x3d61d8){return _0x4d75fe(_0x19b952-_0x495064._0x4a5cf1,_0x3d61d8,_0x19b952-_0x495064._0x432696,_0x3d61d8-0xe);}function _0x1583b2(_0x5bbbfe,_0x4cabb7,_0x3468e5,_0x3613ba){return _0x4d75fe(_0x5bbbfe-_0x2ce5e6._0x19e4f6,_0x5bbbfe,_0x4cabb7-0x3e7,_0x3613ba-0x108);}return _0x42c766 instanceof Error&&'code'in _0x42c766&&typeof _0x42c766[_0xe87df2(0x621,0x7c1,_0x217b62._0x32ae68,_0x217b62._0xc4e57b)]===_0x1583b2(_0x217b62._0x12dc73,_0x217b62._0x4d3aea,_0x217b62._0x26132c,0xa47);}function wrapAnchoredFsError(_0x359aa3,_0x21fdac){const _0x381c9e={_0x21ebf7:0x6d8,_0x275d61:0x432,_0x3f51c4:0x371,_0x23dfd1:0x326,_0x132558:0x5c8,_0x3d92b8:0x68e,_0x510fab:0x4aa,_0x133bb0:0x529},_0x1aaafe={_0x315058:0x143},_0x1c1a50={_0x1c7e59:0x167};if(_0x359aa3 instanceof ToolExecutionError)throw _0x359aa3;if(!isErrnoException(_0x359aa3))throw _0x359aa3;function _0x5aad5c(_0x294d87,_0x1d7a0,_0x2af66c,_0x1d7ee9){return _0x3145c3(_0x294d87-0x13b,_0x2af66c- -0x17,_0x2af66c-_0x1c1a50._0x1c7e59,_0x1d7ee9);}function _0x3f8f6d(_0x25d852,_0x1cac95,_0x53330c,_0x2facfc){return _0x4d75fe(_0x25d852-0xcf,_0x2facfc,_0x25d852-_0x1aaafe._0x315058,_0x2facfc-0x41);}throw createAnchoredFileError(_0x5aad5c(0x5b6,0x804,_0x381c9e._0x21ebf7,0x57b),_0x3f8f6d(_0x381c9e._0x275d61,0x594,_0x381c9e._0x3f51c4,_0x381c9e._0x23dfd1)+_0x21fdac+_0x3f8f6d(_0x381c9e._0x132558,_0x381c9e._0x3d92b8,_0x381c9e._0x510fab,_0x381c9e._0x133bb0)+_0x359aa3['message']+');\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x21fdac});}async function executeAnchoredRead(_0x1aa782,_0x14c3c4,_0x438650,_0x5cb617,_0x5d8d55,_0x2da5b4,_0x5c582a){const _0x6a7389={_0x35b90a:0x3d0,_0x1eb835:0x31c,_0x5c06fc:0x274,_0x97889e:0x30c,_0x3190cf:0x491,_0x52c98e:0xe8,_0x3aa020:0x6a,_0x43e3a8:0x244,_0x1a52f6:0x1c2,_0x1a484c:0x15f,_0x279731:0x7e,_0x3c7f8a:0x286,_0x508f5e:0x282,_0x626c79:0x428,_0x3b9524:0x3e4,_0x4891b7:0x1e6,_0x460c59:0x25c,_0xa78326:0x10d,_0x19ecc2:0x8e,_0x2f9c53:0x6b,_0x85ec8d:0x4d,_0x248106:0x4a3,_0x2fd569:0x489,_0x333fc1:0x459,_0x11fa58:0x29f};let _0x1a48dd;try{_0x1a48dd=await resolveCanonicalAllowedFile(_0x14c3c4,_0x438650,_0x5cb617);}catch(_0x4b4e05){wrapAnchoredFsError(_0x4b4e05,_0x5cb617);}let _0x7fc1b0;try{_0x7fc1b0=await _0x25ed0d(_0x1a48dd[_0x6d72e3(0x3e6,_0x6a7389._0x35b90a,0x2f8,_0x6a7389._0x1eb835)]);}catch(_0x422b65){wrapAnchoredFsError(_0x422b65,_0x5cb617);}const _0x5e306e=createNormalizedFileSnapshot(_0x1a48dd[_0x6d72e3(_0x6a7389._0x5c06fc,_0x6a7389._0x97889e,0x2f8,_0x6a7389._0x3190cf)],_0x7fc1b0);function _0x569444(_0x28eea3,_0x40d37e,_0x30cbae,_0x49698f){return _0x4d75fe(_0x28eea3-0x65,_0x40d37e,_0x49698f- -0x2b2,_0x49698f-0x50);}_0x1aa782[_0x569444(-_0x6a7389._0x52c98e,-_0x6a7389._0x3aa020,-0x12e,0xd)]['bindSession'](_0x5c582a);const _0x5bc8ed=formatAnchoredFileRead({'displayPath':_0x5cb617,'snapshot':_0x5e306e,'lineStart':_0x5d8d55,'lineEnd':_0x2da5b4,'maxBytes':_0x1aa782['outputBudgetBytes']});_0x1aa782['observations'][_0x6d72e3(0x35e,_0x6a7389._0x43e3a8,0x3b7,_0x6a7389._0x1a52f6)](_0x5e306e,_0x5bc8ed['displayedLines']);function _0x6d72e3(_0x472aa7,_0x5a2aa8,_0x27999c,_0x8963ad){return _0x3145c3(_0x472aa7-0x101,_0x27999c- -0x3ad,_0x27999c-0x1c7,_0x472aa7);}return createToolOutput(_0x5bc8ed[_0x569444(-0xa5,-0x1f2,_0x6a7389._0x1a484c,-_0x6a7389._0x279731)],{'mode':_0x1aa782[_0x6d72e3(0x4a9,_0x6a7389._0x3c7f8a,0x2ae,0x397)],'path':_0x5cb617,'resolvedPath':_0x1a48dd['lexicalPath'],'canonicalPath':_0x1a48dd[_0x6d72e3(_0x6a7389._0x508f5e,_0x6a7389._0x626c79,0x2f8,_0x6a7389._0x3b9524)],'tag':_0x5e306e['tag'],'digest':_0x5e306e[_0x569444(_0x6a7389._0x4891b7,_0x6a7389._0x460c59,_0x6a7389._0xa78326,0xfb)],'displayedLines':[..._0x5bc8ed[_0x569444(0x2d0,0xa5,_0x6a7389._0x19ecc2,0x151)]],'truncated':_0x5bc8ed[_0x569444(-0x155,-_0x6a7389._0x2f9c53,-0x22a,-_0x6a7389._0x85ec8d)],..._0x5bc8ed[_0x6d72e3(_0x6a7389._0x248106,0x326,_0x6a7389._0x2fd569,_0x6a7389._0x333fc1)]!==void 0x0?{'nextLineStart':_0x5bc8ed[_0x569444(0x470,_0x6a7389._0x11fa58,0x2f1,0x27f)]}:{}});}function createFileReadTool(_0x1caf78={}){const _0x357bed={_0x2a5d47:0x434,_0xd7252e:0x277,_0x46a67f:0x33c,_0x1812af:0x1e9,_0x17ddee:0x558,_0x3baaba:0x74c,_0x4d1d91:0x7f5,_0x2a5538:0x706,_0x413135:0x406,_0x453e7a:0x473,_0x1aac76:0x767,_0x57e6ca:0x8ef,_0x191473:0x7af,_0x2fc501:0x7da,_0x182967:0x6b9,_0x59414a:0x4dd,_0x3225bf:0x373,_0x6b1fa4:0x799},_0x5df811={_0x4e3e2a:0x1d2,_0x1afa24:0x43a,_0x46c3f5:0xd3,_0x5d91f5:0x2ba,_0x524843:0x213,_0x221b40:0x1da,_0x34f0d0:0x3e5,_0x2e083f:0x9b,_0x2bf112:0x13f,_0x4ce094:0x35,_0x1da879:0x34,_0x55f197:0xe5,_0x344f41:0x4c,_0x407b40:0x2ec,_0xffeb10:0x283,_0x2f0e50:0xdb,_0x5b90f2:0x1ba,_0x399a59:0xaa,_0x53ea4b:0x144,_0x350704:0xe7,_0xe2a409:0x3ed,_0x39a7b2:0x1b7,_0x137d43:0x35,_0x4870a6:0x198,_0x30237e:0x2cd,_0x3e5746:0x117,_0x1a145c:0x273,_0x3e34cb:0x2a8,_0x242a0b:0x5b,_0x1548c7:0x232,_0x3d9730:0xf4,_0x5b7b61:0x6d,_0x485b6b:0x1bf,_0x515493:0x13e,_0x51d21a:0x8d,_0x30fd6d:0xf3,_0x1c0843:0x6e,_0x4d3af1:0x547,_0x240c2a:0x370,_0x2143ec:0x387,_0x515b5b:0x257,_0x399c8d:0x82,_0x250064:0x13f,_0x11b711:0x134},_0x3e1674={_0x18d4d5:0x175},_0xf096bc={_0x254118:0x27e,_0x15ca70:0x145},_0x1e03a7=_0x3e2ce2[_0x516b9b(_0x357bed._0x2a5d47,0xcd,_0x357bed._0xd7252e,0xbc)](_0x1caf78[_0x516b9b(0x536,0x297,_0x357bed._0x46a67f,_0x357bed._0x1812af)]??process['cwd']());function _0x516b9b(_0x3e2503,_0x41615f,_0x29c379,_0x32f661){return _0x3145c3(_0x3e2503-0xb9,_0x29c379- -_0xf096bc._0x254118,_0x29c379-_0xf096bc._0x15ca70,_0x32f661);}function _0x579e38(_0x2c387e,_0x34e2b0,_0xf36e27,_0x3bbdd4){return _0x3145c3(_0x2c387e-_0x3e1674._0x18d4d5,_0x34e2b0- -0xe0,_0xf36e27-0x95,_0x3bbdd4);}const _0x99800f=_0x1caf78[_0x579e38(0x784,0x7f7,0x994,0x653)]??[],_0xd3dd1c=_0x1caf78[_0x516b9b(0x51c,_0x357bed._0x17ddee,0x39d,0x560)]??_0x516b9b(_0x357bed._0x3baaba,0x729,0x5e4,0x792),_0x717ceb=resolveAnchoredTarget(_0x1caf78);return defineTool({'name':_0xd3dd1c,'permissionClass':'read','description':_0x717ceb===void 0x0?_0x579e38(_0x357bed._0x4d1d91,_0x357bed._0x2a5538,0x5dc,0x915):'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':_0x516b9b(_0x357bed._0x413135,0x260,_0x357bed._0x453e7a,0x2ee),'properties':{'path':{'type':'string'},'lineStart':{'type':_0x579e38(0x5ee,_0x357bed._0x1aac76,0x8aa,_0x357bed._0x57e6ca),'description':'Start\x20reading\x20from\x20this\x20line\x20number\x20(1-based)'},'lineEnd':{'type':_0x579e38(0x942,0x767,_0x357bed._0x191473,_0x357bed._0x2fc501),'description':_0x579e38(_0x357bed._0x182967,_0x357bed._0x59414a,_0x357bed._0x3225bf,0x4ef)}},'required':[_0x579e38(0x5c1,_0x357bed._0x6b1fa4,0x770,0x7da)]},async *'execute'(_0x19fbe3,_0x3ca04d){const _0x3b82c0={_0x104485:0x103,_0x57453b:0x4dc,_0xc0586f:0x28},_0x500d7c=resolveAllowedPath(_0x1e03a7,_0x99800f,_0x19fbe3[_0x177c55(0x1f3,0x370,0x2d1,_0x5df811._0x4e3e2a)]);function _0x177c55(_0x59cd91,_0xafa407,_0x4b10d6,_0x1507ee){return _0x516b9b(_0x59cd91-0x1a2,_0xafa407-0xa6,_0xafa407- -0x28b,_0x59cd91);}if(_0x717ceb===void 0x0){await assertWorkspaceFile(_0x500d7c);const _0x565c9b=await _0x336626(_0x500d7c),_0x46dd81=await _0x25ed0d(_0x500d7c);if(isProbablyBinary(_0x46dd81))throw new ToolExecutionError(_0xe42a47(0x2a2,_0x5df811._0x1afa24,_0x5df811._0x46c3f5,_0x5df811._0x5d91f5)+_0x19fbe3[_0x177c55(_0x5df811._0x524843,0x370,0x1b5,0x42c)],{'path':_0x19fbe3[_0xe42a47(_0x5df811._0x221b40,_0x5df811._0x34f0d0,_0x5df811._0x2e083f,0x2bd)]});let _0x94cfda=_0x46dd81['toString'](_0xe42a47(-_0x5df811._0x2bf112,-_0x5df811._0x4ce094,0x10f,_0x5df811._0x1da879));const _0x48da2d=_0x94cfda[_0xe42a47(0x1c6,-_0x5df811._0x55f197,-_0x5df811._0x344f41,-0x59)](0x0)===0xfeff;_0x94cfda=stripUtfBom(_0x94cfda);const _0x48c70b=_0x94cfda[_0x177c55(_0x5df811._0x407b40,0x312,_0x5df811._0xffeb10,0x454)](/\r?\n/),_0xa31346={'path':_0x19fbe3['path'],'resolvedPath':_0x500d7c,'created':_0x565c9b['birthtime'][_0x177c55(0x57,0x9,-_0x5df811._0x2f0e50,-0x15)](),'modified':_0x565c9b[_0xe42a47(0x146,0x162,-0x4,0x19f)][_0xe42a47(0xf8,-_0x5df811._0x5b90f2,0x5f,-_0x5df811._0x399a59)](),'size':_0x565c9b[_0x177c55(-0x3d,_0x5df811._0x53ea4b,0x1f,0x21d)],'encoding':_0x177c55(0xa1,_0x5df811._0x350704,-0xbb,-0xc9),'bomStripped':_0x48da2d,'truncated':![],'totalLines':_0x48c70b['length']};if(_0x19fbe3['lineStart']!==void 0x0||_0x19fbe3['lineEnd']!==void 0x0){const _0x4a0d0a=clampLine2(_0x19fbe3[_0x177c55(_0x5df811._0xe2a409,0x30a,0x14e,0x429)]??0x1,_0x48c70b[_0xe42a47(0x4a,-_0x5df811._0x39a7b2,_0x5df811._0x137d43,0x64)]),_0x5a261c=clampLine2(_0x19fbe3[_0xe42a47(0x390,_0x5df811._0x4870a6,_0x5df811._0x30237e,0x1eb)]??_0x48c70b[_0x177c55(0x3f,_0x5df811._0x3e5746,_0x5df811._0x1a145c,_0x5df811._0x3e34cb)],_0x48c70b[_0x177c55(-_0x5df811._0x242a0b,_0x5df811._0x3e5746,0x82,_0x5df811._0x1548c7)]),_0x15c944=Math[_0x177c55(_0x5df811._0x3d9730,_0x5df811._0x5b7b61,-_0x5df811._0x4ce094,-0x85)](_0x4a0d0a,_0x5a261c),_0x4e02c8=Math[_0x177c55(_0x5df811._0x485b6b,_0x5df811._0x344f41,0x17d,_0x5df811._0x515493)](_0x4a0d0a,_0x5a261c),_0x57e40d=_0x48c70b['slice'](_0x15c944-0x1,_0x4e02c8)['map']((_0x5b80fb,_0x29148a)=>_0x15c944+_0x29148a+'|'+_0x5b80fb)[_0x177c55(_0x5df811._0x3d9730,0xf1,-_0x5df811._0x51d21a,_0x5df811._0x30fd6d)]('\x0a');return yield createToolOutput(_0x57e40d,{..._0xa31346,'lineRange':{'lineStart':_0x15c944,'lineEnd':_0x4e02c8,'linesTotal':_0x48c70b[_0x177c55(0x30e,_0x5df811._0x3e5746,0x29f,_0x5df811._0x1c0843)]}}),void 0x0;}return yield createToolOutput(_0x94cfda,_0xa31346),void 0x0;}yield await executeAnchoredRead(_0x717ceb,_0x1e03a7,_0x99800f,_0x19fbe3[_0x177c55(_0x5df811._0x4d3af1,_0x5df811._0x240c2a,0x336,0x21b)],_0x19fbe3[_0xe42a47(0x126,0x190,_0x5df811._0x2143ec,_0x5df811._0x515b5b)],_0x19fbe3['lineEnd'],_0x3ca04d[_0x177c55(_0x5df811._0x399c8d,-0xb,-_0x5df811._0x250064,-_0x5df811._0x11b711)]);function _0xe42a47(_0x1f6fcb,_0x525f8f,_0x3ab8b1,_0x182fde){return _0x579e38(_0x1f6fcb-_0x3b82c0._0x104485,_0x182fde- -_0x3b82c0._0x57453b,_0x3ab8b1-_0x3b82c0._0xc0586f,_0x1f6fcb);}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 _0x44be44}from'crypto';import{mkdir as _0xa9cb6a,readFile as _0x36991d,writeFile as _0x5a0002}from'fs/promises';import{join as _0x102e1c}from'path';function sanitizeStorageKey(_0x35de44){const _0x45fcf0={_0x47beb1:0x545,_0x199c6b:0x673,_0x53cc3a:0x52e,_0x273b1c:0x31a},_0x3d8b96={_0x5c7d5c:0x15a};function _0x2db497(_0x173426,_0x408292,_0x1849a6,_0x1e3252){return _0x4d75fe(_0x173426-_0x3d8b96._0x5c7d5c,_0x1e3252,_0x1849a6-0x240,_0x1e3252-0xfc);}return _0x35de44['replace'](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0x2db497(_0x45fcf0._0x47beb1,_0x45fcf0._0x199c6b,_0x45fcf0._0x53cc3a,_0x45fcf0._0x273b1c);}function storagePath(_0x4b0ff3){const _0x5604bb={_0x48e011:0x3ac,_0x1591e6:0x5d4,_0x59d749:0x502,_0x25284e:0x58b,_0x3bf05f:0x3e4,_0x263eed:0x498,_0x3fd164:0x683,_0xe4f5ce:0x646},_0x547b48={_0x228813:0x2f,_0x56e9b7:0x81},_0x123096={_0x29578a:0x160};function _0x86cec5(_0x5c9d85,_0x3973c5,_0x349d3f,_0x162f02){return _0x4d75fe(_0x5c9d85-_0x123096._0x29578a,_0x5c9d85,_0x349d3f-0x382,_0x162f02-0xd9);}const _0x217747=sanitizeStorageKey(_0x4b0ff3['config']['oauth']?.[_0x86cec5(0x7de,_0x5604bb._0x48e011,_0x5604bb._0x1591e6,0x402)]??_0x4b0ff3[_0x86cec5(0x391,_0x5604bb._0x59d749,_0x5604bb._0x25284e,_0x5604bb._0x3bf05f)]);function _0x548cd1(_0x5da402,_0x52f21b,_0x2a3f59,_0x369605){return _0x4d75fe(_0x5da402-_0x547b48._0x228813,_0x369605,_0x5da402-_0x547b48._0x56e9b7,_0x369605-0xb4);}return _0x102e1c(_0x4b0ff3[_0x548cd1(0x4c5,_0x5604bb._0x263eed,0x55b,0x55d)],_0x217747+_0x86cec5(_0x5604bb._0x3fd164,0x484,0x5d1,_0x5604bb._0xe4f5ce));}async function readStore(_0x1ec2df){const _0x4c88b0={_0x16da71:0x268,_0x1618e3:0x19a,_0x49959b:0x554,_0x4ddd29:0xfe,_0x29703b:0x112},_0x3540ae={_0x1f20ab:0x5ac},_0x5ade9c={_0x4cacee:0xd9};function _0x252202(_0x25674c,_0x1e954d,_0x270047,_0x446d51){return _0x3145c3(_0x25674c-_0x5ade9c._0x4cacee,_0x446d51- -0x4df,_0x270047-0xf1,_0x25674c);}function _0x2fa629(_0x517a4e,_0x1ee45e,_0x48d195,_0x1cac80){return _0x3145c3(_0x517a4e-0xca,_0x1cac80- -_0x3540ae._0x1f20ab,_0x48d195-0xd,_0x48d195);}try{return JSON[_0x252202(_0x4c88b0._0x16da71,_0x4c88b0._0x1618e3,_0x4c88b0._0x49959b,0x346)](await _0x36991d(_0x1ec2df,'utf8'));}catch(_0x464c35){if(_0x464c35 instanceof Error&&'code'in _0x464c35&&_0x464c35[_0x252202(_0x4c88b0._0x4ddd29,_0x4c88b0._0x29703b,0x235,0x2f8)]==='ENOENT')return{};throw _0x464c35;}}async function writeStore(_0x3b4f3b,_0x243a1b){const _0x5689be={_0x1e8a30:0x5c8},_0x2af59c={_0xb44b75:0x1df},_0x41a240={_0x55ff8f:0x188};function _0xe72bf(_0x166e51,_0x1c901c,_0x22f2fb,_0x3b9989){return _0x4d75fe(_0x166e51-0x1b9,_0x22f2fb,_0x1c901c-0x15d,_0x3b9989-_0x41a240._0x55ff8f);}await _0xa9cb6a(_0x102e1c(_0x3b4f3b,'..'),{'recursive':!![]});function _0x3e3a4c(_0x545a4c,_0x1b0580,_0x37d2e4,_0x43719b){return _0x3145c3(_0x545a4c-_0x2af59c._0xb44b75,_0x545a4c- -0x5e,_0x37d2e4-0xa5,_0x1b0580);}await _0x5a0002(_0x3b4f3b,JSON[_0x3e3a4c(0x7d3,_0x5689be._0x1e8a30,0x778,0x5c9)](_0x243a1b,null,0x2),_0x3e3a4c(0x592,0x5a5,0x707,0x66d));}async function updateStore(_0x1fc314,_0x6e678e){const _0x3bebda=await readStore(_0x1fc314);_0x6e678e(_0x3bebda),await writeStore(_0x1fc314,_0x3bebda);}function createMcpOAuthProvider(_0x1cfec6){const _0x340ee5={_0x2d7d4d:0x317,_0x552e6c:0x2a9,_0x508ca1:0x2b6,_0x3da797:0x33d,_0x4ee08a:0x4d6,_0x4a78c0:0x78b,_0xb37cdf:0x5c,_0x4ea109:0x2c1,_0x54a362:0x78c,_0x243362:0xaa5,_0x5c7b92:0x306,_0x5238b1:0x3c4,_0x433978:0x292,_0x6bc2d6:0x2b6,_0xa9a806:0x77f,_0x31aedc:0x88f},_0x19c778={_0x450383:0x2df},_0x2f59f2={_0x50613f:0x30,_0x5de586:0x1ad,_0x5a627c:0x73,_0x1104d8:0x101,_0x19626b:0x19d,_0x399864:0x3fe,_0x365321:0x235,_0xea3b40:0x61a,_0x1844c8:0x550,_0x6035c:0x399,_0x3324fc:0x3e7,_0x3bf68f:0x21f,_0xfc8c53:0x59c,_0x541884:0x30,_0x136277:0x1a3},_0x296eba={_0x2a8e47:0x154,_0x3b9f20:0x155,_0x105cba:0x347,_0x46c561:0x766},_0x5c6fae={_0x3499a2:0x43,_0x23cb61:0x53d,_0xc8a53b:0x106},_0x3629ae={_0x563656:0x4f0},_0xf5cecb={_0x5b2691:0x646,_0x436d03:0x63b},_0x935f96={_0x39d0c4:0x371,_0x5a9736:0x22e,_0x1b4d17:0x50a},_0x3d29fe={_0x1eb63e:0xf,_0x2e7c25:0x51,_0x3362ff:0x460},_0x8f421b={_0x298691:0x84,_0x28020c:0xd},_0x3f4db6={_0x42f6f3:0x27b,_0x30b1d4:0x72},_0x2efa3d={_0x2d1077:0x404},_0x1d6365={_0x1cfa42:0x3b6,_0xb4d030:0xdd},_0x9e22a3=storagePath(_0x1cfec6);function _0xd125e6(_0x554fba,_0x5de7ae,_0x132ef0,_0x456553){return _0x4d75fe(_0x554fba-0x11b,_0x554fba,_0x132ef0-_0x1d6365._0x1cfa42,_0x456553-_0x1d6365._0xb4d030);}const _0xea1ca1=_0x1cfec6[_0x5bde45(_0x340ee5._0x2d7d4d,_0x340ee5._0x552e6c,_0x340ee5._0x508ca1,0x130)][_0x5bde45(0x2e6,_0x340ee5._0x3da797,0x199,0x362)]?.['scopes']?.['join']('\x20'),_0x22728f={'client_name':'Nuvin','redirect_uris':[_0x1cfec6[_0xd125e6(0x680,_0x340ee5._0x4ee08a,0x5db,0x6d1)]],'grant_types':[_0xd125e6(0xa4c,0xb7a,0x99f,_0x340ee5._0x4a78c0),_0x5bde45(0x22a,_0x340ee5._0xb37cdf,0x22e,_0x340ee5._0x4ea109)],'response_types':[_0xd125e6(0x6d8,_0x340ee5._0x54a362,0x888,_0x340ee5._0x243362)],'token_endpoint_auth_method':_0x5bde45(_0x340ee5._0x5c7b92,_0x340ee5._0x5238b1,0x4c9,0x331),..._0xea1ca1?{'scope':_0xea1ca1}:{}};function _0x5bde45(_0x27190c,_0x395872,_0x432614,_0x2f6d14){return _0x3145c3(_0x27190c-0x9b,_0x432614- -_0x2efa3d._0x2d1077,_0x432614-0x181,_0x27190c);}return{'clientMetadataUrl':_0x1cfec6[_0x5bde45(_0x340ee5._0x433978,0x1ff,_0x340ee5._0x6bc2d6,0x12b)]['oauth']?.[_0xd125e6(_0x340ee5._0xa9a806,_0x340ee5._0x31aedc,0x978,0xa94)],get 'redirectUrl'(){return _0x1cfec6['callbackUrl'];},get 'clientMetadata'(){return _0x22728f;},async 'state'(){const _0x5c9c93={_0x99e1f6:0x1a6},_0x29d49a=await readStore(_0x9e22a3);function _0x2fa9f8(_0x202239,_0x1d247f,_0x191552,_0x53b065){return _0x5bde45(_0x191552,_0x1d247f-0x23,_0x202239- -0x120,_0x53b065-0x82);}if(_0x29d49a[_0x2fa9f8(0x4f,0xfc,_0x3d29fe._0x1eb63e,_0x3d29fe._0x2e7c25)])return _0x29d49a[_0x327556(_0x3d29fe._0x3362ff,0x205,0x3d5,0x3a9)];const _0x3757ab=_0x44be44();function _0x327556(_0x2ee977,_0x21b089,_0x3d7a51,_0x3098d1){return _0xd125e6(_0x2ee977,_0x21b089-0x178,_0x3098d1- -_0x3f4db6._0x42f6f3,_0x3098d1-_0x3f4db6._0x30b1d4);}return await updateStore(_0x9e22a3,_0x22e0f9=>{function _0x42f66a(_0x3f6e1d,_0x4a0fc7,_0x19eb57,_0x1dd3db){return _0x2fa9f8(_0x1dd3db-0xac,_0x4a0fc7-_0x5c9c93._0x99e1f6,_0x3f6e1d,_0x1dd3db-0x36);}_0x22e0f9[_0x42f66a(_0x8f421b._0x298691,0x6b,-_0x8f421b._0x28020c,0xfb)]=_0x3757ab;}),_0x3757ab;},async 'clientInformation'(){return(await readStore(_0x9e22a3))['clientInformation'];},async 'saveClientInformation'(_0x4e2046){await updateStore(_0x9e22a3,_0x3e9179=>{function _0x499074(_0x5f4ae8,_0x16afc6,_0x516856,_0x206641){return _0x2a9a(_0x16afc6-0x3ca,_0x516856);}_0x3e9179[_0x499074(0xb49,0x953,0x7ea,0xb44)]=_0x4e2046;});},async 'tokens'(){const _0x5914f2={_0x200acf:0x147};function _0x5f58b0(_0x2ebaf4,_0x59204f,_0x54b75d,_0x532020){return _0xd125e6(_0x59204f,_0x59204f-_0x5914f2._0x200acf,_0x532020- -0x5bf,_0x532020-0x8f);}return(await readStore(_0x9e22a3))[_0x5f58b0(_0x935f96._0x39d0c4,_0x935f96._0x5a9736,_0x935f96._0x1b4d17,0x34e)];},async 'saveTokens'(_0x2a72f8){const _0x1a87d2={_0x2f4894:0xc7};await updateStore(_0x9e22a3,_0x24639e=>{function _0xbdabc5(_0x4ff408,_0x3f7e77,_0x96d868,_0x2eec87){return _0x2a9a(_0x4ff408-_0x1a87d2._0x2f4894,_0x96d868);}_0x24639e[_0xbdabc5(0x66d,_0xf5cecb._0x5b2691,0x7f7,_0xf5cecb._0x436d03)]=_0x2a72f8;});},async 'redirectToAuthorization'(_0x5a43f0){const _0x52832c={_0x4af7ef:0x18f};function _0x1de88b(_0x307c42,_0x4362b8,_0x47a62c,_0x14925c){return _0xd125e6(_0x14925c,_0x4362b8-_0x52832c._0x4af7ef,_0x307c42- -0x386,_0x14925c-0x93);}await _0x1cfec6[_0x1de88b(0x4c1,0x54a,_0x3629ae._0x563656,0x4a0)](_0x5a43f0);},async 'saveCodeVerifier'(_0x423b17){const _0x4d0ec5={_0x1f8723:0x190,_0x12f8f2:0x53,_0x2f01a6:0x229};await updateStore(_0x9e22a3,_0x37ff8a=>{function _0x3bd894(_0xbb31b8,_0x373a09,_0x244b3e,_0x3848da){return _0x2a9a(_0x373a09- -0x37e,_0xbb31b8);}_0x37ff8a[_0x3bd894(-_0x4d0ec5._0x1f8723,-_0x4d0ec5._0x12f8f2,-0xc9,-_0x4d0ec5._0x2f01a6)]=_0x423b17;});},async 'codeVerifier'(){const _0x337e0c={_0xe6f0eb:0xb2,_0x29be76:0x13b};function _0x263674(_0x28abb7,_0x262fcb,_0xf9c50,_0x45d959){return _0xd125e6(_0xf9c50,_0x262fcb-_0x5c6fae._0x3499a2,_0x45d959- -_0x5c6fae._0x23cb61,_0x45d959-_0x5c6fae._0xc8a53b);}const _0x427e6e=(await readStore(_0x9e22a3))[_0x263674(0x2ad,_0x296eba._0x2a8e47,0x2f4,_0x296eba._0x3b9f20)];function _0x168c3b(_0x3c2d5b,_0x310869,_0x38fd3d,_0x49de26){return _0xd125e6(_0x38fd3d,_0x310869-_0x337e0c._0xe6f0eb,_0x310869- -0xaf,_0x49de26-_0x337e0c._0x29be76);}if(!_0x427e6e)throw new Error(_0x168c3b(0x669,0x554,_0x296eba._0x105cba,_0x296eba._0x46c561));return _0x427e6e;},async 'invalidateCredentials'(_0xd79328){const _0x5476db={_0x593f06:0x56};await updateStore(_0x9e22a3,_0x43778a=>{function _0x35409e(_0x197a09,_0x56e4ef,_0x20a15e,_0xee7dcd){return _0x2a9a(_0xee7dcd- -_0x5476db._0x593f06,_0x20a15e);}(_0xd79328===_0x35409e(_0x2f59f2._0x50613f,0x4f,0x4d,_0x2f59f2._0x5de586)||_0xd79328===_0x35409e(-_0x2f59f2._0x5a627c,0x26d,_0x2f59f2._0x1104d8,_0x2f59f2._0x19626b))&&(_0x43778a[_0x35409e(0x368,_0x2f59f2._0x399864,0x4df,0x533)]=void 0x0);(_0xd79328===_0x3c6bd0(_0x2f59f2._0x365321,0x32d,0x332,0x22c)||_0xd79328===_0x35409e(0x71b,_0x2f59f2._0xea3b40,0x579,_0x2f59f2._0x1844c8))&&(_0x43778a['tokens']=void 0x0);(_0xd79328===_0x35409e(0x50,0x1d7,0x11b,_0x2f59f2._0x5de586)||_0xd79328===_0x35409e(0x383,0x56b,0x2f1,0x37c))&&(_0x43778a['codeVerifier']=void 0x0,_0x43778a[_0x3c6bd0(_0x2f59f2._0x6035c,_0x2f59f2._0x3324fc,_0x2f59f2._0x3bf68f,0x566)]=void 0x0);function _0x3c6bd0(_0x55f8e3,_0x511ff1,_0x178c66,_0x181f1d){return _0x2a9a(_0x511ff1-0x12a,_0x178c66);}(_0xd79328==='all'||_0xd79328===_0x3c6bd0(_0x2f59f2._0xfc8c53,0x546,0x636,0x53e))&&(_0x43778a[_0x35409e(0xcb,-0x37,_0x2f59f2._0x541884,_0x2f59f2._0x136277)]=void 0x0);});},async 'saveDiscoveryState'(_0x5f4c8b){const _0x4a8fe1={_0x3f4004:0x506,_0x3febfa:0x608,_0x5658f1:0x49b};await updateStore(_0x9e22a3,_0x4c1349=>{function _0xa16f9a(_0x1cf0b7,_0x1910a4,_0x4ded79,_0x34fe15){return _0x2a9a(_0x1cf0b7-0x30d,_0x34fe15);}_0x4c1349[_0xa16f9a(_0x4a8fe1._0x3f4004,_0x4a8fe1._0x3febfa,_0x4a8fe1._0x5658f1,0x70c)]=_0x5f4c8b;});},async 'discoveryState'(){const _0x2fbb4a={_0x5f27d7:0xc6};function _0x311d27(_0x54f569,_0x1bb8e2,_0x4637e8,_0x321666){return _0xd125e6(_0x54f569,_0x1bb8e2-_0x2fbb4a._0x5f27d7,_0x1bb8e2- -0x34c,_0x321666-0x1b4);}return(await readStore(_0x9e22a3))[_0x311d27(_0x19c778._0x450383,0x214,0xec,0x149)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x4d75fe(-0xa,0x2ee,0x1ba,0x2d8),'message':_0x5219d1=>_0x3145c3(0x81b,0x7c7,0x734,0x8f3)+_0x5219d1+'\x20failed\x20to\x20close'},'connect':{'code':_0x3145c3(0x68e,0x58b,0x574,0x711),'message':_0xfd7d4a=>_0x4d75fe(0x47d,0x458,0x4c2,0x541)+_0xfd7d4a+_0x4d75fe(0x5b5,0x18a,0x38d,0x3a7)},'discover':{'code':'mcp-discovery-failed','message':_0x47d30d=>_0x4d75fe(0x430,0x31d,0x4c2,0x3c7)+_0x47d30d+'\x20tool\x20discovery\x20failed'},'toolCall':{'code':_0x4d75fe(0x600,0x332,0x539,0x31d),'message':_0x1b04c5=>'MCP\x20server\x20'+_0x1b04c5+_0x3145c3(0x6c5,0x7ce,0x672,0x8b9)}},timeoutMessageByOperation={'close':_0x2cc965=>_0x4d75fe(0x37b,0x5c3,0x4c2,0x5cf)+_0x2cc965+_0x4d75fe(0x3af,0x199,0x371,0x4d0),'connect':_0x483d72=>_0x4d75fe(0x5b4,0x301,0x4c2,0x3d1)+_0x483d72+_0x4d75fe(0x53c,0x409,0x434,0x5d8),'discover':_0x2a5973=>_0x4d75fe(0x44e,0x5cc,0x4c2,0x5f6)+_0x2a5973+_0x3145c3(0xa47,0x8a4,0x71b,0x8de),'toolCall':_0x168a50=>_0x3145c3(0x916,0x7c7,0x682,0x5f5)+_0x168a50+_0x4d75fe(0x181,0xb9,0x215,0x31d)};function toMcpSafeError(_0x120951){const _0x94ff17={_0x859910:0x215,_0x4a3a9e:0x26c,_0x19bccf:0xcc,_0xa3a4fc:0xe9,_0x51eb1d:0x2cb,_0x4a79bf:0x4fb,_0x312d7d:0x675,_0x14d23b:0x57e,_0x33e331:0x91c,_0x1087ee:0x81c,_0xdf55c8:0x53b,_0x341f23:0x1fd,_0x435559:0x79c,_0x437d5b:0x4fb,_0x26c72d:0x721,_0x2e57ad:0x3fd,_0x305281:0x25a,_0x4784a5:0xe,_0x17e5d1:0x325,_0x463987:0x245,_0x595ce8:0x36,_0x61b12e:0x12,_0x10d9b2:0x125},_0x1ba2c8={_0x315765:0x1c6},_0x2f01f0={_0x3dccb6:0x140};function _0x5d897b(_0x4cef35,_0x445074,_0x555f64,_0x13468a){return _0x3145c3(_0x4cef35-0xbe,_0x4cef35- -0x13,_0x555f64-_0x2f01f0._0x3dccb6,_0x13468a);}if(_0x120951['error']instanceof UnauthorizedError)return Object[_0x5b99b4(0x13f,_0x94ff17._0x859910,_0x94ff17._0x4a3a9e,0x2e0)]({'code':_0x5b99b4(0x1a4,_0x94ff17._0x19bccf,0x206,0x24f),'message':_0x5b99b4(_0x94ff17._0xa3a4fc,_0x94ff17._0x51eb1d,0x2b3,0x2df)+_0x120951[_0x5d897b(_0x94ff17._0x4a79bf,_0x94ff17._0x312d7d,0x68f,_0x94ff17._0x14d23b)]+_0x5d897b(0x8b6,0x6f6,0x8a2,_0x94ff17._0x33e331)});if(_0x120951[_0x5d897b(0x73d,_0x94ff17._0x1087ee,_0x94ff17._0xdf55c8,0x66b)]instanceof McpError&&_0x120951[_0x5b99b4(0xeb,0x254,_0x94ff17._0x341f23,0x2be)][_0x5b99b4(0x1a5,0x2db,0x29b,0x420)]===ErrorCode['RequestTimeout'])return Object['freeze']({'code':_0x5d897b(0x8e0,0x9eb,0x7a4,_0x94ff17._0x435559),'message':timeoutMessageByOperation[_0x120951['operation']](_0x120951[_0x5d897b(_0x94ff17._0x437d5b,0x3d7,_0x94ff17._0x26c72d,0x5f4)])});function _0x5b99b4(_0x412c74,_0x3b050a,_0x2c0ac0,_0x58f823){return _0x4d75fe(_0x412c74-0xf,_0x2c0ac0,_0x3b050a- -0x1f7,_0x58f823-_0x1ba2c8._0x315765);}const _0x11cc72=failureByOperation[_0x120951[_0x5b99b4(_0x94ff17._0x2e57ad,_0x94ff17._0x305281,0x146,0x5d)]];return Object[_0x5b99b4(0x50,0x215,0x176,-_0x94ff17._0x4784a5)]({'code':_0x11cc72[_0x5b99b4(_0x94ff17._0x17e5d1,0x2db,_0x94ff17._0x463987,0x1c7)],'message':_0x11cc72[_0x5b99b4(-0xce,-_0x94ff17._0x595ce8,-0x25b,0x10b)](_0x120951[_0x5b99b4(0x1bb,_0x94ff17._0x61b12e,_0x94ff17._0x10d9b2,-0x15c)])});}function redactMcpDiagnostic(_0x12464b,_0x31b2d4){const _0x54c0cb={_0x14f7e4:0x737,_0x48c901:0x756,_0x278fd1:0x55a,_0x53a2a9:0x56e,_0x350b83:0x414,_0x3bf7c1:0x573,_0x350fe4:0x650,_0x3142fa:0x623,_0x171255:0x5f5,_0xf24a41:0x43c,_0x2ceab8:0x713,_0x7d0b0:0x7d4,_0x3eeadb:0x5af,_0x29dce0:0x7b4,_0x5f06cd:0x86f,_0x1482af:0x9a2,_0x47a5dc:0x5fe},_0x381e52={_0x2e43c5:0xc3},_0x2ca8d8={_0x2317e3:0x136,_0x3c7368:0x122},_0x484cda=[...new Set(_0x31b2d4[_0x4aa87e(0x8ea,0x68e,0x891,0x8fd)](_0x3ef51c=>_0x3ef51c['length']>0x0))][_0x497c44(_0x54c0cb._0x14f7e4,0x5c8,_0x54c0cb._0x48c901,_0x54c0cb._0x278fd1)]((_0x4937e6,_0x4559ba)=>_0x4559ba[_0x497c44(0x438,0x4f5,0x691,0x5f5)]-_0x4937e6[_0x4aa87e(0x53a,0x46c,0x5c4,0x63c)]);function _0x4aa87e(_0x517eaa,_0x37a029,_0x409a6f,_0x15fe11){return _0x4d75fe(_0x517eaa-_0x2ca8d8._0x2317e3,_0x517eaa,_0x409a6f-0x2a9,_0x15fe11-_0x2ca8d8._0x3c7368);}if(_0x12464b[_0x497c44(_0x54c0cb._0x53a2a9,_0x54c0cb._0x350b83,_0x54c0cb._0x3bf7c1,0x5f5)]===0x0||_0x484cda[_0x497c44(0x748,_0x54c0cb._0x350fe4,_0x54c0cb._0x3142fa,_0x54c0cb._0x171255)]===0x0)return _0x12464b;function _0x497c44(_0x52b082,_0x285840,_0x3ea891,_0x221130){return _0x4d75fe(_0x52b082-0x52,_0x3ea891,_0x221130-0x2da,_0x221130-_0x381e52._0x2e43c5);}let _0x442777='',_0x2181ec=0x0;while(_0x2181ec<_0x12464b[_0x4aa87e(_0x54c0cb._0xf24a41,_0x54c0cb._0x2ceab8,0x5c4,_0x54c0cb._0x7d0b0)]){const _0xe7f755=_0x484cda[_0x4aa87e(0x5a2,0x5bf,_0x54c0cb._0x3eeadb,0x748)](_0x3e559d=>_0x12464b['startsWith'](_0x3e559d,_0x2181ec));_0xe7f755?(_0x442777+=_0x4aa87e(_0x54c0cb._0x29dce0,0x89c,_0x54c0cb._0x5f06cd,_0x54c0cb._0x1482af),_0x2181ec+=_0xe7f755[_0x497c44(0x671,0x620,_0x54c0cb._0x47a5dc,_0x54c0cb._0x171255)]):(_0x442777+=_0x12464b[_0x2181ec],_0x2181ec+=0x1);}return _0x442777;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x113151){const _0x55e231={_0x4626ad:0x4f1,_0x39db7a:0x57f,_0x3a0f59:0x38d},_0x2216ee={_0x22ce08:0x43,_0x5ccece:0x350};function _0x3cf588(_0x3cc537,_0x51436d,_0x41af70,_0x1b179d){return _0x3145c3(_0x3cc537-_0x2216ee._0x22ce08,_0x41af70- -_0x2216ee._0x5ccece,_0x41af70-0x34,_0x51436d);}return typeof _0x113151==='object'&&_0x113151!==null||typeof _0x113151===_0x3cf588(_0x55e231._0x4626ad,_0x55e231._0x39db7a,_0x55e231._0x3a0f59,0x2d2);}function createOwnedMcpSafeError(_0x40f022){const _0x3d4479={_0x10d30b:0xc9,_0x16720f:0x158,_0x28c41f:0x3fd,_0x15767a:0x5e},_0x5cd0e0={_0x2bc249:0x182};function _0x44d909(_0x2cdfdf,_0xd74863,_0x87c940,_0x447c0c){return _0x4d75fe(_0x2cdfdf-0x163,_0x87c940,_0xd74863- -0x383,_0x447c0c-0xdb);}const _0x427327=toMcpSafeError(_0x40f022);function _0x38dc36(_0x597225,_0x1b217a,_0x57b86b,_0x16f1b5){return _0x4d75fe(_0x597225-0x23,_0x16f1b5,_0x597225- -0x25c,_0x16f1b5-_0x5cd0e0._0x2bc249);}const _0x5e31c1=Object[_0x44d909(-_0x3d4479._0x10d30b,0x89,0x165,_0x3d4479._0x16720f)]({'code':_0x427327['code'],'message':_0x427327['message']});return ownedMcpSafeErrors[_0x44d909(_0x3d4479._0x28c41f,0x25b,_0x3d4479._0x15767a,0xbe)](_0x427327,_0x5e31c1),_0x427327;}function extractOwnedMcpSafeError(_0x39d65f){const _0x29c39e={_0x5a0cab:0x1ba,_0x9668e0:0x23b,_0x13a135:0x388,_0x445bdc:0x5c9,_0x47b6da:0x26e,_0x58d58a:0x36c,_0x1848bd:0x55a},_0x3a0a96={_0x88b959:0x1f3},_0x36deb5={_0x5d835d:0x1de,_0x2f0455:0x84,_0x1554e8:0x120};if(!isWeakMapKey(_0x39d65f))return void 0x0;const _0x3102e1=ownedMcpSafeErrors[_0x7c6c33(0x52a,0x49a,0x513,0x389)](_0x39d65f);function _0x7c6c33(_0x527da7,_0xdd5abc,_0x4a11f4,_0x5643b4){return _0x4d75fe(_0x527da7-_0x36deb5._0x5d835d,_0x5643b4,_0x4a11f4- -_0x36deb5._0x2f0455,_0x5643b4-_0x36deb5._0x1554e8);}if(!_0x3102e1)return void 0x0;const _0x287079=Object[_0x7c6c33(_0x29c39e._0x5a0cab,_0x29c39e._0x9668e0,_0x29c39e._0x13a135,0x312)]({'code':_0x3102e1[_0x7c6c33(_0x29c39e._0x445bdc,0x397,0x44e,0x65b)],'message':_0x3102e1[_0x7c6c33(_0x29c39e._0x47b6da,0x12c,0x13d,0x283)]});ownedMcpSafeErrors[_0x7c6c33(0x330,_0x29c39e._0x58d58a,_0x29c39e._0x1848bd,0x502)](_0x287079,_0x3102e1);function _0x2315cf(_0x5593ba,_0x113297,_0x199b90,_0x4e14d4){return _0x3145c3(_0x5593ba-0x35,_0x113297- -0x32e,_0x199b90-_0x3a0a96._0x88b959,_0x5593ba);}return _0x287079;}function ownValue(_0x1a2e55,_0x2accb4){const _0x10c040={_0x11e7ac:0x158,_0x10bf9e:0x30d},_0x42e779={_0xb971a9:0x183};function _0x4e12c5(_0x35d38e,_0x3944db,_0x50db01,_0x354983){return _0x4d75fe(_0x35d38e-0x6a,_0x3944db,_0x354983- -0x2df,_0x354983-_0x42e779._0xb971a9);}return _0x1a2e55&&Object[_0x4e12c5(0x111,_0x10c040._0x11e7ac,_0x10c040._0x10bf9e,0x26d)](_0x1a2e55,_0x2accb4)?_0x1a2e55[_0x2accb4]:void 0x0;}function isToolPermissionClass(_0x9d7893){const _0x1a1be0={_0x55fce2:0x7df,_0x5ae9d4:0x69d,_0x19b349:0x799,_0x1edb46:0x409,_0x1aa46c:0x5bd},_0x4c4c31={_0x4a85e9:0xb0,_0xbe85f1:0x18d},_0x17cba4={_0x3b64f6:0x6b};function _0x30f070(_0x4f29d8,_0x15de88,_0x1d841b,_0x2f506e){return _0x3145c3(_0x4f29d8-0x7a,_0x4f29d8- -0x2c5,_0x1d841b-_0x17cba4._0x3b64f6,_0x1d841b);}function _0x41fc8e(_0x50dac6,_0x32bb9e,_0x13a8cf,_0x1b8d2b){return _0x4d75fe(_0x50dac6-_0x4c4c31._0x4a85e9,_0x1b8d2b,_0x32bb9e-_0x4c4c31._0xbe85f1,_0x1b8d2b-0xe);}return _0x9d7893===_0x41fc8e(_0x1a1be0._0x55fce2,_0x1a1be0._0x5ae9d4,0x81e,_0x1a1be0._0x19b349)||_0x9d7893===_0x30f070(0x4d4,_0x1a1be0._0x1edb46,0x6cf,_0x1a1be0._0x1aa46c)||_0x9d7893==='always-confirm';}function suggestedPermissionClass(_0x17cba8){const _0x49e342={_0x1a393e:0x2e3},_0x594312={_0x4da416:0x100};function _0x4597bb(_0x16961d,_0x3e05a6,_0x472bb7,_0x29400f){return _0x4d75fe(_0x16961d-_0x594312._0x4da416,_0x472bb7,_0x3e05a6- -0x1b1,_0x29400f-0x17f);}const _0x1b3c27=_0x17cba8['annotations']?.['readOnlyHint'];if(_0x1b3c27===!![])return'read';if(_0x1b3c27===![])return _0x4597bb(0x349,_0x49e342._0x1a393e,0x21c,0x4cd);return void 0x0;}function isJsonValue(_0x150eaf){const _0x2431e1={_0x3bb927:0x77a,_0x3fae29:0x74d,_0xe1bfd0:0x8b6,_0x5b4e36:0x921,_0x510679:0x8db,_0xba0f3d:0x961,_0xf544d8:0x7d7,_0x130e96:0xafd},_0x17e036={_0x2d2174:0xfa,_0xaf61aa:0x422};if(_0x150eaf===null||typeof _0x150eaf===_0x48723c(_0x2431e1._0x3bb927,_0x2431e1._0x3fae29,_0x2431e1._0xe1bfd0,0x882)||typeof _0x150eaf==='number'||typeof _0x150eaf===_0x1e848a(_0x2431e1._0x5b4e36,_0x2431e1._0x510679,0x920,0xa95))return!![];function _0x1e848a(_0x5a9f4,_0xa40605,_0x251498,_0x93f9d0){return _0x4d75fe(_0x5a9f4-_0x17e036._0x2d2174,_0x93f9d0,_0xa40605-_0x17e036._0xaf61aa,_0x93f9d0-0x1d2);}if(Array[_0x48723c(_0x2431e1._0xba0f3d,0x885,0x641,_0x2431e1._0xf544d8)](_0x150eaf))return _0x150eaf[_0x1e848a(0x72e,0x947,0x99e,0x7b2)](isJsonValue);if(!isObject(_0x150eaf))return![];function _0x48723c(_0x186d33,_0x115bb8,_0xcb5fe9,_0x51cba9){return _0x4d75fe(_0x186d33-0xe9,_0x186d33,_0x51cba9-0x3d2,_0x51cba9-0x33);}return Object['values'](_0x150eaf)[_0x1e848a(0x8d7,0x947,_0x2431e1._0x130e96,0x7dd)](isJsonValue);}function projectMcpTools(_0x5112c9){const _0xca644={_0x280833:0x1e0,_0x308321:0x256,_0x4f98a7:0x25a,_0x6548b7:0x1fa,_0x41dc00:0x64b,_0x2dfbaf:0x606,_0x357cd5:0x237,_0x36f3b0:0x2ee,_0x178a8b:0x30a,_0x65de1d:0x2b5,_0x241a65:0x333,_0x4706b9:0x4d8,_0x4228b7:0x250,_0x517bee:0x324,_0x3d45c3:0x280,_0x461de4:0x4e4,_0x2175f7:0x414,_0x1ce953:0xec,_0x5499ad:0x214,_0x37b190:0x1ab},_0x204098={_0x1f9dde:0x5,_0x3722ca:0xc3},_0x18957d={_0x242245:0x37,_0x254fb2:0x199,_0x5887a7:0x5e},_0x51cf8c=[];function _0x130e2d(_0xf6dfd6,_0x5a1056,_0x4af226,_0x5a961c){return _0x4d75fe(_0xf6dfd6-_0x18957d._0x242245,_0x5a1056,_0xf6dfd6- -_0x18957d._0x254fb2,_0x5a961c-_0x18957d._0x5887a7);}const _0x5a8908=[];for(const _0x3f545b of _0x5112c9[_0x130e2d(0x3b4,_0xca644._0x280833,_0xca644._0x308321,0x427)]){const _0x4332b5=ownValue(_0x5112c9[_0x130e2d(_0xca644._0x4f98a7,0x13a,0x460,_0xca644._0x6548b7)],_0x3f545b['name']),_0x443d80=isToolPermissionClass(_0x4332b5)?_0x4332b5:void 0x0,_0x2c72e0=_0x443d80??_0x31ad02(0x617,0x82b,_0xca644._0x41dc00,_0xca644._0x2dfbaf),_0x1eb8cf=suggestedPermissionClass(_0x3f545b);_0x5a8908['push']({'name':_0x3f545b['name'],..._0x3f545b[_0x130e2d(0x10c,_0xca644._0x357cd5,-0x7c,0xbc)]!==void 0x0?{'description':_0x3f545b['description']}:{},...isJsonValue(_0x3f545b[_0x130e2d(_0xca644._0x36f3b0,0x418,0x1ee,_0xca644._0x178a8b)])?{'inputSchema':_0x3f545b['inputSchema']}:{},'permissionClass':_0x2c72e0,'permissionConfigured':_0x443d80!==void 0x0,..._0x1eb8cf!==void 0x0?{'suggestedPermissionClass':_0x1eb8cf}:{}});if(ownValue(_0x5112c9[_0x130e2d(_0xca644._0x65de1d,_0xca644._0x241a65,0x298,_0xca644._0x4706b9)],_0x3f545b[_0x130e2d(0x17d,_0xca644._0x4228b7,0x102,-0x41)])===![])continue;_0x51cf8c[_0x130e2d(0x20d,_0xca644._0x517bee,0x2ab,_0xca644._0x3d45c3)](createMcpTool({'serverName':_0x5112c9[_0x31ad02(0x406,0x39c,_0xca644._0x461de4,_0xca644._0x2175f7)]??_0x5112c9['serverName'],'tool':_0x3f545b,'client':_0x5112c9['client'],'permissionClass':_0x2c72e0,'internalLifecycle':_0x5112c9[_0x130e2d(_0xca644._0x1ce953,_0xca644._0x5499ad,-0xd7,_0xca644._0x37b190)]}));}function _0x31ad02(_0x1b4d74,_0x513625,_0x4e3cf8,_0x1d78c5){return _0x3145c3(_0x1b4d74-0x13c,_0x4e3cf8- -_0x204098._0x1f9dde,_0x4e3cf8-_0x204098._0x3722ca,_0x513625);}return{'tools':_0x51cf8c,'descriptors':_0x5a8908};}function createMcpToolName(_0x129cef,_0x5a32e7){const _0xc0c40a={_0x42ca4b:0x18,_0x44d1f9:0xd4,_0x3741a2:0x45,_0x52a040:0xc1},_0x514176={_0x214766:0x50,_0x4bf97d:0xe5},_0x10e606={_0x498db1:0x138,_0x162332:0x7b};function _0x3d68ea(_0x5904d8,_0x5b2d86,_0x437ec9,_0x2d12c0){return _0x4d75fe(_0x5904d8-0x33,_0x5904d8,_0x437ec9-_0x10e606._0x498db1,_0x2d12c0-_0x10e606._0x162332);}const _0x4b564b=_0x32b486=>_0x32b486[_0x3d68ea(0x205,0x378,0x3b5,0x5cd)](/[^a-zA-Z0-9_]+/g,'_')[_0x3d68ea(0x400,0x195,0x3b5,0x26a)](/^_+|_+$/g,'');function _0x2fb596(_0x4c6a46,_0x4867a1,_0x31d15f,_0x5cfa4f){return _0x4d75fe(_0x4c6a46-_0x514176._0x214766,_0x31d15f,_0x4867a1- -0x311,_0x5cfa4f-_0x514176._0x4bf97d);}return _0x2fb596(-_0xc0c40a._0x42ca4b,_0xc0c40a._0x44d1f9,-_0xc0c40a._0x3741a2,-_0xc0c40a._0x52a040)+_0x4b564b(_0x129cef)+'_'+_0x4b564b(_0x5a32e7);}function isObject(_0x230ff6){const _0x3fa7b={_0xed3cd4:0x89,_0x572789:0xfa};function _0x5a3b79(_0xa92a6a,_0x3fb793,_0x43fc8a,_0x27ae3b){return _0x3145c3(_0xa92a6a-0x97,_0x43fc8a- -_0x3fa7b._0xed3cd4,_0x43fc8a-_0x3fa7b._0x572789,_0x27ae3b);}return typeof _0x230ff6===_0x5a3b79(0x644,0x617,0x668,0x7fc)&&_0x230ff6!==null&&!Array['isArray'](_0x230ff6);}function toSupportedSchema(_0x4eae5f){const _0xcb274a={_0x2a5257:0x410,_0xd5e513:0x2db,_0x27f453:0x6b,_0x1e787c:0x1c9,_0x558e8e:0x280,_0x460204:0x11,_0x388144:0x3b4,_0x1881e6:0x5de,_0x1fd1d8:0x38a,_0x321897:0x242,_0x35f758:0x95,_0x52248c:0x2f9,_0x49b7d6:0x2b,_0x25552a:0x37b,_0x2fad01:0x279,_0xa55e02:0x44,_0x1fb0fd:0x1f6,_0x10f446:0x258,_0x4da1fe:0x400,_0x12d898:0x42f,_0xbb0b64:0x1c9,_0x44e3f9:0x27a,_0x3f4c2d:0x57,_0x4a0b61:0x119,_0x2834fe:0x91,_0x1e0c01:0x160,_0x5d3b2f:0x283,_0x177b6f:0x300,_0x57e1a2:0x410,_0x2e9db8:0x586,_0xc7ba0b:0x33d,_0x3bd552:0x34c,_0x5b97fb:0x2f0,_0x2ead63:0x4a7},_0x5538c8={_0x61e47d:0x152,_0x8c498a:0xa0};function _0x581601(_0x3838e7,_0x55e987,_0x5c7dab,_0x3839b9){return _0x3145c3(_0x3838e7-0xb9,_0x55e987- -0x566,_0x5c7dab-0x125,_0x5c7dab);}if(!isObject(_0x4eae5f))return void 0x0;if(_0x4eae5f['type']===_0x298304(_0xcb274a._0x2a5257,0x510,_0xcb274a._0xd5e513,0x5a9))return{'type':'string'};if(_0x4eae5f[_0x581601(_0xcb274a._0x27f453,_0xcb274a._0x1e787c,_0xcb274a._0x558e8e,-_0xcb274a._0x460204)]===_0x298304(0x4a2,_0xcb274a._0x388144,_0xcb274a._0x1881e6,0x58e)||_0x4eae5f[_0x298304(_0xcb274a._0x1fd1d8,0x48c,_0xcb274a._0x321897,0x1ca)]===_0x581601(_0xcb274a._0x35f758,0x18d,_0xcb274a._0x52248c,_0xcb274a._0x49b7d6))return{'type':_0x298304(0x4a2,_0xcb274a._0x25552a,0x53a,_0xcb274a._0x2fad01)};if(_0x4eae5f[_0x581601(_0xcb274a._0xa55e02,0x1c9,0x331,_0xcb274a._0x1fb0fd)]===_0x581601(0x85,_0xcb274a._0x10f446,0x21b,_0xcb274a._0x4da1fe))return{'type':_0x581601(0x29f,0x258,0x63,_0xcb274a._0x12d898)};function _0x298304(_0x4623e0,_0x1c5398,_0x369e7d,_0x1addeb){return _0x4d75fe(_0x4623e0-_0x5538c8._0x61e47d,_0x369e7d,_0x4623e0- -_0x5538c8._0x8c498a,_0x1addeb-0x150);}if(_0x4eae5f[_0x581601(-0x1a,_0xcb274a._0xbb0b64,_0xcb274a._0x44e3f9,-_0xcb274a._0x3f4c2d)]===_0x298304(_0xcb274a._0x4a0b61,0x157,_0xcb274a._0x2834fe,_0xcb274a._0x1e0c01))return{'type':_0x581601(-0x96,-0xa8,0x134,0x13c),'items':toSupportedSchema(_0x4eae5f[_0x298304(0x3f7,_0xcb274a._0x5d3b2f,_0xcb274a._0x177b6f,0x3f6)])??{'type':_0x298304(_0xcb274a._0x57e1a2,_0xcb274a._0x2e9db8,0x5a7,_0xcb274a._0xc7ba0b)}};if(_0x4eae5f[_0x581601(0x1e0,0x1c9,0x364,0x1a0)]===_0x298304(_0xcb274a._0x3bd552,_0xcb274a._0x5b97fb,_0xcb274a._0x2ead63,0x30f))return toNuvinToolSchema(_0x4eae5f);return void 0x0;}function toNuvinToolSchema(_0x4725e4){const _0x1259f7={_0x341b25:0x797,_0x1bc844:0x61e,_0x24594b:0x844,_0x46691d:0x5e4,_0x32499f:0x589,_0x575f0c:0x495,_0x28ce3c:0x620,_0x505502:0x647,_0x782428:0x978,_0xe67df5:0x396,_0x3a2704:0x4f7,_0x5e783c:0x396,_0x57e5c2:0x290,_0xeb1c0a:0x49a,_0x4eb2fa:0x672,_0x2e4029:0x39c,_0x3c7caa:0x813,_0x858913:0x7ad,_0x30864f:0x56b,_0x205930:0x59e},_0x2edb4d={_0x3e34dc:0x169,_0x108e21:0x186,_0x18ca01:0x62},_0x3e9004={_0x26c57b:0x122,_0x6d2f1c:0x12b};if(!isObject(_0x4725e4)||_0x4725e4['type']!==_0x4c8547(0x813,0x727,0x8cd,_0x1259f7._0x341b25))return{'type':'object','properties':{}};function _0x4c8547(_0x58be66,_0x3cfdd6,_0x12efe2,_0x1af8c7){return _0x3145c3(_0x58be66-0xe1,_0x58be66-_0x3e9004._0x26c57b,_0x12efe2-_0x3e9004._0x6d2f1c,_0x12efe2);}const _0x3fec6e={},_0x1ba57b=isObject(_0x4725e4[_0x5eab05(_0x1259f7._0x1bc844,_0x1259f7._0x24594b,0x477,0x608)])?_0x4725e4['properties']:{};for(const [_0x3f7ee0,_0x1eb144]of Object[_0x5eab05(_0x1259f7._0x46691d,_0x1259f7._0x32499f,0x56c,_0x1259f7._0x575f0c)](_0x1ba57b)){const _0x345d13=toSupportedSchema(_0x1eb144);if(_0x345d13)_0x3fec6e[_0x3f7ee0]=_0x345d13;}const _0x213266=Array[_0x4c8547(0x82c,_0x1259f7._0x28ce3c,_0x1259f7._0x505502,_0x1259f7._0x782428)](_0x4725e4[_0x5eab05(_0x1259f7._0xe67df5,0x50b,0x21b,_0x1259f7._0x3a2704)])?_0x4725e4[_0x5eab05(_0x1259f7._0x5e783c,0x248,_0x1259f7._0x57e5c2,0x4dc)]['filter'](_0x49dcaa=>typeof _0x49dcaa===_0x5eab05(0x62f,0x766,0x4e2,0x439)):void 0x0;function _0x5eab05(_0x64b878,_0x157bce,_0x2bcc5e,_0x4c1ec3){return _0x3145c3(_0x64b878-_0x2edb4d._0x3e34dc,_0x64b878- -_0x2edb4d._0x108e21,_0x2bcc5e-_0x2edb4d._0x18ca01,_0x2bcc5e);}return _0x213266?.[_0x5eab05(_0x1259f7._0xeb1c0a,_0x1259f7._0x4eb2fa,0x2ac,_0x1259f7._0x2e4029)]?{'type':_0x4c8547(_0x1259f7._0x3c7caa,_0x1259f7._0x858913,0x6a8,0x9a1),'properties':_0x3fec6e,'required':_0x213266}:{'type':_0x5eab05(_0x1259f7._0x30864f,0x38d,0x3c4,_0x1259f7._0x205930),'properties':_0x3fec6e};}function isJsonObject(_0x27c693){const _0x5ddbf8={_0x4787a7:0x312,_0x1d14c7:0x359,_0x197dea:0x852,_0xe0d5af:0x718,_0x4bb285:0x63c,_0x1a6204:0x648},_0x21ef75={_0x48b257:0x124};function _0xc81bc7(_0x1a2929,_0x192316,_0x30043f,_0x254ac3){return _0x3145c3(_0x1a2929-0x1ec,_0x254ac3- -0xc2,_0x30043f-_0x21ef75._0x48b257,_0x192316);}function _0x59d5a7(_0x303fe5,_0x4009c3,_0x556130,_0x4a549c){return _0x4d75fe(_0x303fe5-0x61,_0x303fe5,_0x4009c3- -0x93,_0x4a549c-0x8);}return typeof _0x27c693===_0x59d5a7(_0x5ddbf8._0x4787a7,_0x5ddbf8._0x1d14c7,0x3d0,0x2b5)&&_0x27c693!==null&&!Array[_0xc81bc7(_0x5ddbf8._0x197dea,_0x5ddbf8._0xe0d5af,_0x5ddbf8._0x4bb285,_0x5ddbf8._0x1a6204)](_0x27c693);}function formatMcpContent(_0x4d5fb3){const _0x426749={_0x34efce:0x8ac,_0x29b1b9:0x9e1,_0x174998:0x1e0,_0xaea305:0x191,_0x46d70a:0x1a1,_0x9e137b:0x69,_0x5aa5da:0xa10,_0xba8b36:0xbde,_0x3004d7:0x9fb,_0x1f2a94:0x761,_0x51abcb:0x72e,_0x1f4cd0:0x86f,_0x32f71f:0xa23},_0x1fa083={_0x5b8635:0xad,_0x5358ed:0x692},_0x420c9b={_0x20b191:0x833,_0x290e96:0x7e7,_0x4b9236:0x6c2,_0x4f7799:0x115,_0xac269f:0x6f7,_0x4df945:0x218,_0x5d100a:0x186,_0x3696e1:0x329},_0x123860={_0x39cbe2:0xe8,_0x2489ff:0x17b},_0x4a9860=Array[_0x3ef450(_0x426749._0x34efce,_0x426749._0x29b1b9,0xa26,0x818)](_0x4d5fb3['content'])?_0x4d5fb3[_0x492c2e(-0x69,-_0x426749._0x174998,-0x17,-0x2e3)]:[],_0x35c664=_0x4a9860[_0x492c2e(_0x426749._0xaea305,_0x426749._0x46d70a,-_0x426749._0x9e137b,0x2e9)](_0x2b2a91=>{const _0x5ca67e={_0x440927:0x76,_0x2a635d:0x135,_0x38f869:0x59a};if(!isObject(_0x2b2a91))return'';function _0x5cf4d0(_0xb52041,_0x763851,_0x470d24,_0x243bff){return _0x3ef450(_0xb52041-0x1ca,_0xb52041,_0x470d24-_0x123860._0x39cbe2,_0x243bff- -_0x123860._0x2489ff);}function _0x4ceea2(_0x16d70c,_0x5b53f4,_0x28414b,_0x5e20b3){return _0x3ef450(_0x16d70c-_0x5ca67e._0x440927,_0x5b53f4,_0x28414b-_0x5ca67e._0x2a635d,_0x28414b- -_0x5ca67e._0x38f869);}if(_0x2b2a91[_0x5cf4d0(0x67a,_0x420c9b._0x20b191,_0x420c9b._0x290e96,_0x420c9b._0x4b9236)]===_0x4ceea2(-0x7c,_0x420c9b._0x4f7799,0x13f,-0xa5)&&typeof _0x2b2a91[_0x5cf4d0(_0x420c9b._0xac269f,0x359,0x351,0x55e)]===_0x4ceea2(_0x420c9b._0x4df945,_0x420c9b._0x5d100a,_0x420c9b._0x3696e1,0x2b5))return _0x2b2a91['text'];return JSON['stringify'](_0x2b2a91);})[_0x3ef450(_0x426749._0x5aa5da,_0x426749._0xba8b36,0x850,_0x426749._0x3004d7)](_0x79fb6c=>_0x79fb6c[_0x3ef450(0x77e,0x685,0x553,0x72e)]>0x0)['join']('\x0a');if(_0x35c664[_0x3ef450(0x52a,0x676,_0x426749._0x1f2a94,_0x426749._0x51abcb)]>0x0)return _0x35c664;function _0x492c2e(_0x4c0769,_0x304236,_0x4e7336,_0xe508f0){return _0x3145c3(_0x4c0769-_0x1fa083._0x5b8635,_0x304236- -_0x1fa083._0x5358ed,_0x4e7336-0x1ee,_0x4c0769);}function _0x3ef450(_0x2288f1,_0x3c2299,_0x13b7e9,_0x78f826){return _0x4d75fe(_0x2288f1-0x38,_0x3c2299,_0x78f826-0x413,_0x78f826-0x41);}return JSON[_0x3ef450(_0x426749._0x1f4cd0,0x923,_0x426749._0x32f71f,0x93f)](_0x4d5fb3,null,0x2);}function createMcpTool(_0x1f49c8){const _0x255bb3={_0x255932:0x508,_0x1781fb:0x55e,_0x5b79ca:0x519,_0x137e28:0x7bc,_0x119b49:0x68,_0x711a83:0x263,_0x8cc86f:0x5cd,_0x129c83:0x1d0,_0x2f0d32:0xfa,_0x88bbe9:0x3c6,_0x379446:0x55e,_0x205701:0x361,_0x1dd882:0x7f},_0x23268f={_0x1945d9:0x54d,_0x2675b3:0x6fc,_0x290ae4:0x5aa,_0x303de8:0x3a3,_0x1217e0:0x3bf,_0x50722d:0x261,_0xf433a2:0x1cd,_0xaaf71:0x199,_0x36f9a6:0x526,_0xfbe5c4:0x317,_0x5ed7fe:0x2b2,_0x456db9:0x4b0,_0x5705bb:0x2e8,_0x5c18b0:0x3e7,_0xbd6418:0x93,_0x2a6639:0x411,_0x3c3e2b:0xae,_0x3cd8de:0x317},_0x2809c2={_0x3b4a7d:0x154},_0x36417e={_0x5a845f:0x24b},_0x36f80b={_0x7954d2:0x155,_0x3c8b44:0xf9},_0x31c190=createMcpToolName(_0x1f49c8['serverName'],_0x1f49c8[_0x956549(0x39b,_0x255bb3._0x255932,0x45d,_0x255bb3._0x1781fb)]['name']);function _0x37ad96(_0x3c49ab,_0xb4ea0,_0x1213ef,_0xf7caf1){return _0x3145c3(_0x3c49ab-_0x36f80b._0x7954d2,_0x3c49ab- -0x653,_0x1213ef-_0x36f80b._0x3c8b44,_0xf7caf1);}function _0x956549(_0x579ae2,_0x56849e,_0x4ca0ad,_0x2f8180){return _0x3145c3(_0x579ae2-0xe0,_0x2f8180- -_0x36417e._0x5a845f,_0x4ca0ad-0x102,_0x579ae2);}return defineTool({'name':_0x31c190,'permissionClass':_0x1f49c8[_0x956549(_0x255bb3._0x5b79ca,0x6db,_0x255bb3._0x137e28,0x694)],..._0x1f49c8[_0x37ad96(-0xba,0x45,-_0x255bb3._0x119b49,0x117)]!==void 0x0?{'internalLifecycle':_0x1f49c8['internalLifecycle']}:{},'description':_0x1f49c8[_0x37ad96(0x156,0x2d9,-0x14,0x1b9)][_0x956549(0x20d,0x36d,_0x255bb3._0x711a83,0x35f)]??_0x956549(_0x255bb3._0x8cc86f,0x5cc,0x362,0x413)+_0x1f49c8[_0x37ad96(0x156,0x290,_0x255bb3._0x129c83,_0x255bb3._0x2f0d32)]['name']+'\x20from\x20'+_0x1f49c8['serverName'],'inputSchema':toNuvinToolSchema(_0x1f49c8[_0x956549(_0x255bb3._0x88bbe9,0x502,0x3da,_0x255bb3._0x379446)][_0x37ad96(0x139,_0x255bb3._0x205701,_0x255bb3._0x1dd882,0x26a)]),async *'execute'(_0x505392){const _0x35dfe9={_0x41c620:0x1f3,_0xb514d:0x11};function _0x4b0d9f(_0x32e318,_0x1c3986,_0x4567d9,_0x1124ed){return _0x956549(_0x1124ed,_0x1c3986-_0x35dfe9._0x41c620,_0x4567d9-0x194,_0x1c3986- -_0x35dfe9._0xb514d);}let _0x46901d;try{_0x46901d=await _0x1f49c8[_0x53ce1d(-0x47,0x19f,-0x101,0x67)]['callTool']({'name':_0x1f49c8[_0x4b0d9f(0x76e,_0x23268f._0x1945d9,_0x23268f._0x2675b3,_0x23268f._0x290ae4)][_0x4b0d9f(_0x23268f._0x303de8,_0x23268f._0x1217e0,0x491,_0x23268f._0x50722d)],'arguments':isJsonObject(_0x505392)?_0x505392:{}});}catch(_0x525892){throw extractOwnedMcpSafeError(_0x525892)??toMcpSafeError({'serverName':_0x1f49c8['serverName'],'operation':_0x53ce1d(0x26e,0x56d,0x361,0x3a8),'error':_0x525892});}if(_0x46901d[_0x53ce1d(_0x23268f._0xf433a2,_0x23268f._0xaaf71,0x3ed,0x29c)])throw new ToolExecutionError(formatMcpContent(_0x46901d),{'code':_0x4b0d9f(0x69f,_0x23268f._0x36f9a6,0x408,0x6bc),'serverName':_0x1f49c8[_0x4b0d9f(_0x23268f._0xfbe5c4,_0x23268f._0x5ed7fe,_0x23268f._0x456db9,0x449)],'toolName':_0x1f49c8[_0x53ce1d(_0x23268f._0x5705bb,_0x23268f._0x5c18b0,0x198,0x367)]['name']});yield createToolOutput(formatMcpContent(_0x46901d),{'serverName':_0x1f49c8[_0x4b0d9f(_0x23268f._0xbd6418,0x2b2,_0x23268f._0x2a6639,_0x23268f._0x3c3e2b)],'toolName':_0x1f49c8['tool'][_0x53ce1d(-0x49,0x220,_0x23268f._0x3cd8de,0x1d9)],'result':_0x46901d});function _0x53ce1d(_0x4d2844,_0x2537f0,_0x28d9e4,_0x2e30e2){return _0x37ad96(_0x2e30e2-0x211,_0x2537f0-0xda,_0x28d9e4-_0x2809c2._0x3b4a7d,_0x2537f0);}return void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x54c306){let _0x4c64b3=_0x54c306;return{'get'(){return _0x4c64b3;},'set'(_0x568b3a){_0x4c64b3=_0x568b3a;}};}function resolveMcpTimeoutMs(_0x1f24fd,_0x33b5e4){const _0x25c8d9={_0x425b66:0x2a4,_0x356996:0x4be},_0x22750d={_0x19a76a:0x28,_0x3bce53:0x1dc,_0x2650da:0x104};function _0x21f7c2(_0x208506,_0x5c4fa2,_0x1b7fdc,_0xdac574){return _0x4d75fe(_0x208506-_0x22750d._0x19a76a,_0x5c4fa2,_0x208506- -_0x22750d._0x3bce53,_0xdac574-_0x22750d._0x2650da);}return _0x1f24fd[_0x21f7c2(_0x25c8d9._0x425b66,0x362,_0x25c8d9._0x356996,0x2f3)]??_0x33b5e4??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x42f37e,_0x3161e9){return(_0x3161e9?extractOwnedMcpSafeError(_0x42f37e['error']):void 0x0)??createOwnedMcpSafeError(_0x42f37e);}function createMcpGenerationLifecycle(_0x3e32fd){const _0x5b313e={_0x57ffd7:0x5d4};let _0x254f85=0x0,_0x207d43=![],_0x33c2c9=![],_0xd42b94,_0x5ba786,_0x3ca91f;const _0x10150a=()=>{if(!_0x207d43||_0x254f85!==0x0||_0x33c2c9)return;_0x33c2c9=!![];function _0x3dfb31(_0x285e04,_0x27fa9e,_0x4b4389,_0x4ff5c4){return _0x2a9a(_0x4ff5c4-0x21b,_0x27fa9e);}void Promise[_0x3dfb31(0x645,0x278,_0x5b313e._0x57ffd7,0x45a)]()['then'](_0x3e32fd)['then'](_0x5ba786,_0x3ca91f);};return{'acquire'(){function _0x2373f3(_0x440e9e,_0x2d78d0,_0x2993fc,_0x29dcfc){return _0x2a9a(_0x29dcfc-0x5b,_0x2993fc);}if(_0x207d43)throw new Error(_0x2373f3(0x42b,0x34a,0x42d,0x363));_0x254f85+=0x1;let _0x4f8b8a=![];return()=>{if(_0x4f8b8a)return;_0x4f8b8a=!![],_0x254f85-=0x1,_0x10150a();};},'retire'(){return!_0xd42b94&&(_0xd42b94=new Promise((_0x2530fd,_0x5c2ec5)=>{_0x5ba786=_0x2530fd,_0x3ca91f=_0x5c2ec5;})),_0x207d43=!![],_0x10150a(),_0xd42b94;}};}function buildMcpHttpHeaders(_0x1961b8){const _0x1720b2={_0x192237:0x410,_0x4845c9:0x10f,_0x3c1de6:0x489,_0x2d6806:0x3d3,_0x536886:0x4e5,_0x4210b8:0x46a,_0x42768d:0x4b9,_0x21c2e8:0x243,_0x4e58a3:0x4ae,_0xc5b019:0x593,_0x3f303b:0x29c,_0x9adc67:0x386,_0x2cb6d3:0x596,_0x1551a7:0x76c,_0x4212a4:0x783,_0x133c4d:0x7f7,_0x15b62d:0x983,_0x295fb9:0x44b,_0x35a855:0x41f,_0x570bd2:0x756},_0x4102d4={_0x219b64:0x50},_0x2cf5cd={..._0x1961b8[_0x241e06(0x2d7,_0x1720b2._0x192237,_0x1720b2._0x4845c9,0x22f)]??{}};function _0x493f59(_0x55d3b9,_0x2f686e,_0x27efd2,_0x57e635){return _0x3145c3(_0x55d3b9-_0x4102d4._0x219b64,_0x55d3b9- -0x83,_0x27efd2-0xc2,_0x2f686e);}function _0x241e06(_0x3979f0,_0x31171c,_0x4ccb1a,_0x3eec4b){return _0x3145c3(_0x3979f0-0x1b,_0x3979f0- -0x37d,_0x4ccb1a-0x1d7,_0x31171c);}return _0x1961b8[_0x241e06(_0x1720b2._0x3c1de6,_0x1720b2._0x2d6806,0x2dc,_0x1720b2._0x536886)]?.['type']===_0x493f59(_0x1720b2._0x4210b8,_0x1720b2._0x42768d,_0x1720b2._0x21c2e8,_0x1720b2._0x4e58a3)&&_0x1961b8[_0x493f59(0x783,0x7d8,0x5e5,_0x1720b2._0xc5b019)]['token']&&_0x2cf5cd[_0x241e06(_0x1720b2._0x3f303b,0x7d,_0x1720b2._0x9adc67,0x33c)]===void 0x0&&(_0x2cf5cd[_0x493f59(_0x1720b2._0x2cb6d3,0x465,0x5f9,_0x1720b2._0x1551a7)]=_0x241e06(0x16f,0x7c,0x1d0,0x149)+_0x1961b8[_0x493f59(_0x1720b2._0x4212a4,0x891,_0x1720b2._0x133c4d,_0x1720b2._0x15b62d)][_0x241e06(0x2e6,_0x1720b2._0x295fb9,0x3ce,_0x1720b2._0x35a855)]),Object[_0x493f59(_0x1720b2._0x570bd2,0x684,0x884,0x541)](_0x2cf5cd)['length']>0x0?_0x2cf5cd:void 0x0;}async function connectMcpServer(_0x1c0fb3,_0x42bb65,_0xf5acb2){const _0x2ff5a4={_0x3f4b5e:0x129,_0x261035:0x2f8,_0x1f8c6d:0x3e5,_0x56b8ca:0x10d,_0xa040d3:0x196,_0x4af09b:0x17d,_0x20a536:0x251,_0x4128fc:0x1b1,_0x4dc5e8:0x91,_0x4a9215:0x108,_0x3514db:0x424,_0x5ea648:0x226,_0x358986:0x94,_0x34fb9a:0x3a,_0x2eb2c0:0xb7,_0x5e8acd:0x118,_0x5ce3f6:0x4,_0x694155:0xe9,_0x48c6bd:0x10a,_0x4cfb98:0xd7,_0x2c1a72:0x146,_0x2857d8:0x152,_0x564e55:0xca,_0x2822bb:0xf7,_0x43a936:0xf4,_0x54a52e:0x12c,_0x23c45d:0x18a,_0x246dae:0x4,_0x335ff7:0x8,_0x113e7f:0x7c,_0x208bea:0x145,_0x4e565a:0x61,_0x5113de:0x298,_0x4eec88:0xc0,_0x531e8e:0x192,_0x4d04d3:0x158,_0x12182f:0x309,_0x56a925:0xbc,_0x44aaa3:0xc,_0x46597e:0xfb,_0x3eadd9:0x17,_0x562c75:0x123,_0x14b88f:0xc4,_0x3a6b8f:0xac,_0x44aba6:0x123,_0x1be4ff:0x70,_0x598c91:0x15c,_0x5e3b5a:0x161,_0x1d9a55:0x1,_0x1194e9:0x13b,_0x1a544f:0x21b,_0x3dbbab:0x11e,_0x3904df:0x6a,_0x7c04ef:0x8,_0x439cc9:0xfb,_0xc6f479:0x248,_0x2a52b8:0x274,_0x1928bb:0x1ee,_0x32c7a1:0x2b7,_0x34b703:0xdb,_0x31b536:0xed,_0xdd0044:0x89,_0x583127:0x208},_0x4527b0={_0x21c3b9:0x23f,_0x288ecb:0x4fb,_0x9d89c7:0xee,_0x2804b2:0x1ba,_0x58c5ab:0x1d2,_0x5c63c5:0x28d,_0x2e597d:0x1ee,_0x3979a4:0x54},_0x31d6cf={_0x5c57c6:0x113},_0x4c06e2={_0x1a7021:0x69d,_0x54cc20:0x546,_0x56af0a:0x5f2,_0x402b64:0x6cd,_0x425a8b:0x63c,_0x779c10:0x4b5,_0x190b02:0x7eb,_0x500c42:0x802,_0x46ab5c:0x577,_0x54ff24:0x738,_0x1012ba:0x561},_0x2b1d01={_0x554257:0x25f,_0x564afd:0xb2},_0x30b409={_0x102cb0:0x167},_0x41f6f7={_0x570e33:0x2d7,_0x4e6cab:0x673,_0x20c5b2:0x4d8},_0x6057a={_0x5031b8:0x76},_0x4706b4={_0x373490:0x4aa,_0xf3dafa:0x3fb,_0x3a79e0:0x40b,_0x33c903:0x543,_0x1b9cb2:0x525,_0x1cc5e4:0x508,_0x4970c0:0x7b,_0x200136:0x127},_0x3613e1={_0x17fc7d:0xe4},_0x75bd14={_0x2e744e:0x192},_0x492b57={_0x32d8a9:0x23d,_0x3ccfc6:0xa1},_0x5f3f7d={_0x7d431:0x431,_0xd6ec19:0x3d3,_0x204c97:0x2fd},_0x17937d={_0x441a44:0x23,_0x5aa5eb:0x18f,_0xd2ff76:0x1dd},_0x9df1a1={_0x5e6964:0x5a1,_0x4708d4:0x112},_0x17d71e=new Client({'name':'nuvin','version':_0x254d21(0x2b5,_0x2ff5a4._0x3f4b5e,_0x2ff5a4._0x261035,0x47f)}),_0x467bd3=_0xf5acb2?.[_0x254d21(0x1f8,0xf1,0x1c8,_0x2ff5a4._0x1f8c6d)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x41615c=new Set();let _0x3e7f56;function _0x254d21(_0x56095a,_0x340955,_0x53a2ca,_0x4f256c){return _0x3145c3(_0x56095a-0x101,_0x53a2ca- -_0x9df1a1._0x5e6964,_0x53a2ca-_0x9df1a1._0x4708d4,_0x340955);}let _0x3d38fd=![];const _0x161a48=()=>{function _0x5839d5(_0x11ac92,_0x25917c,_0x576f89,_0x52afeb){return _0x254d21(_0x11ac92-_0x17937d._0x441a44,_0x25917c,_0x11ac92-_0x17937d._0x5aa5eb,_0x52afeb-_0x17937d._0xd2ff76);}if(_0x3d38fd||_0x3e7f56)return;_0x3e7f56={'code':_0x5839d5(_0x5f3f7d._0x7d431,_0x5f3f7d._0xd6ec19,_0x5f3f7d._0x204c97,0x3b9),'cause':new Error('MCP\x20transport\x20closed\x20unexpectedly')};for(const _0x1490c1 of _0x41615c){try{_0x1490c1(_0x3e7f56);}catch{}}};_0x17d71e[_0x254d21(0x13a,_0x2ff5a4._0x56b8ca,-0x94,0x6a)]=()=>{const _0x32db1e={_0x238e12:0x68};function _0x113ec3(_0x383387,_0x3314b0,_0x11a16d,_0x3d4435){return _0x254d21(_0x383387-_0x32db1e._0x238e12,_0x3314b0,_0x11a16d-0x2c,_0x3d4435-0x168);}function _0x27a956(_0x138dc0,_0x438344,_0x22714f,_0xf2e0e2){return _0x3cdba4(_0x22714f,_0x138dc0-0x5b1,_0x22714f-0xef,_0xf2e0e2-0x188);}console[_0x113ec3(0x391,0x28f,0x377,_0x492b57._0x32d8a9)]('MCP\x20SDK\x20client\x20reported\x20a\x20recoverable\x20error',{'server':_0x1c0fb3,'code':_0x113ec3(0x12a,0x98,0x93,_0x492b57._0x3ccfc6)});},_0x17d71e[_0x254d21(0x389,_0x2ff5a4._0xa040d3,0x288,0x391)]=_0x161a48;function _0x3cdba4(_0x3c6302,_0x31a2c0,_0x5f23cd,_0x13bdb5){return _0x3145c3(_0x3c6302-_0x75bd14._0x2e744e,_0x31a2c0- -0x694,_0x5f23cd-0x7d,_0x3c6302);}try{if(_0x42bb65[_0x254d21(0x9,0x11e,_0x2ff5a4._0x4af09b,0x21e)]===_0x3cdba4(_0x2ff5a4._0x20a536,_0x2ff5a4._0x4128fc,_0x2ff5a4._0x4dc5e8,_0x2ff5a4._0x4a9215)||_0x42bb65['url']){if(!_0x42bb65['url'])throw new Error(_0x254d21(_0x2ff5a4._0x3514db,0x303,_0x2ff5a4._0x5ea648,0x2ed)+_0x1c0fb3+_0x254d21(_0x2ff5a4._0x358986,-0x1ad,_0x2ff5a4._0x34fb9a,0x20f));if(_0x42bb65['auth']?.[_0x254d21(_0x2ff5a4._0x2eb2c0,-0x4b,0x18e,-0x8c)]===_0x3cdba4(-0x2db,-0xf7,-0x12e,_0x2ff5a4._0x5e8acd)&&!_0xf5acb2?.[_0x254d21(-0xdb,0xff,-_0x2ff5a4._0x5ce3f6,-0x40)])throw new Error('MCP\x20server\x20'+_0x1c0fb3+_0x3cdba4(-0x310,-_0x2ff5a4._0x694155,-0x7e,-_0x2ff5a4._0x48c6bd));const _0x3aabde=buildMcpHttpHeaders(_0x42bb65),_0x28d5e8=_0x42bb65['auth']?.['type']===_0x3cdba4(-_0x2ff5a4._0x4cfb98,-0xf7,-_0x2ff5a4._0x2c1a72,-_0x2ff5a4._0x2857d8)&&_0xf5acb2?.[_0x3cdba4(-_0x2ff5a4._0x564e55,-_0x2ff5a4._0x2822bb,_0x2ff5a4._0x43a936,_0x2ff5a4._0x54a52e)]?createMcpOAuthProvider({'serverName':_0x1c0fb3,'callbackUrl':_0xf5acb2[_0x254d21(-0x5d,-_0x2ff5a4._0x23c45d,-_0x2ff5a4._0x246dae,-0x139)]['callbackUrl'],'storageDir':_0xf5acb2[_0x254d21(-_0x2ff5a4._0x335ff7,_0x2ff5a4._0x113e7f,-_0x2ff5a4._0x246dae,-0x1b1)][_0x254d21(0x231,_0x2ff5a4._0x208bea,0x1a8,0x3af)],'config':_0x42bb65[_0x3cdba4(-_0x2ff5a4._0x4e565a,0x172,0x388,0x58)],'onRedirect':_0x4d66e5=>_0xf5acb2[_0x3cdba4(-0x2a5,-0xf7,0x53,-0x206)]?.[_0x3cdba4(-0x9b,0x102,0x13a,0x316)](_0x1c0fb3,_0x4d66e5)}):void 0x0,_0x1bc73e=new StreamableHTTPClientTransport(new URL(_0x42bb65[_0x3cdba4(_0x2ff5a4._0x5113de,_0x2ff5a4._0x4eec88,_0x2ff5a4._0x531e8e,_0x2ff5a4._0x4d04d3)]),{'authProvider':_0x28d5e8,'requestInit':_0x3aabde?{'headers':_0x3aabde}:void 0x0});await _0x17d71e['connect'](_0x1bc73e,{'timeout':_0x467bd3['get'](),..._0xf5acb2?.[_0x254d21(_0x2ff5a4._0x5113de,_0x2ff5a4._0x12182f,0x1ee,_0x2ff5a4._0x56a925)]!==void 0x0?{'signal':_0xf5acb2[_0x3cdba4(-_0x2ff5a4._0x44aaa3,_0x2ff5a4._0x46597e,_0x2ff5a4._0x3eadd9,0x1dc)]}:{}});}else{if(!_0x42bb65[_0x3cdba4(0x46,_0x2ff5a4._0x562c75,0x26b,0x333)])throw new Error(_0x254d21(0xe9,_0x2ff5a4._0x14b88f,0x226,0x2af)+_0x1c0fb3+'\x20requires\x20command\x20for\x20stdio\x20transport');const _0x6d35f5=new StdioClientTransport({'command':_0x42bb65[_0x3cdba4(-_0x2ff5a4._0x3a6b8f,_0x2ff5a4._0x44aba6,-0xf2,-_0x2ff5a4._0x1be4ff)],'args':_0x42bb65[_0x3cdba4(-_0x2ff5a4._0x598c91,0xc4,0x1c1,0x227)]??[],'env':_0x42bb65[_0x254d21(-_0x2ff5a4._0x5e3b5a,-_0x2ff5a4._0x1d9a55,0x35,-_0x2ff5a4._0x1194e9)],'stderr':_0x3cdba4(0x10e,0xce,0xbd,_0x2ff5a4._0x1a544f)});await _0x17d71e[_0x3cdba4(_0x2ff5a4._0x3dbbab,-_0x2ff5a4._0x3904df,_0x2ff5a4._0x7c04ef,0x17d)](_0x6d35f5,{'timeout':_0x467bd3['get'](),..._0xf5acb2?.[_0x3cdba4(0x12e,_0x2ff5a4._0x439cc9,-0xf8,_0x2ff5a4._0xc6f479)]!==void 0x0?{'signal':_0xf5acb2[_0x254d21(0xa7,_0x2ff5a4._0x2a52b8,_0x2ff5a4._0x1928bb,_0x2ff5a4._0x32c7a1)]}:{}});}}catch(_0x41cbec){throw createOwnedMcpSafeError({'serverName':_0x1c0fb3,'operation':_0x254d21(_0x2ff5a4._0x34b703,-_0x2ff5a4._0x31b536,_0x2ff5a4._0xdd0044,_0x2ff5a4._0x583127),'error':_0x41cbec});}return{async 'listTools'(_0x1143b7){const _0x53cea8={_0x40c650:0x31},_0x9aa01e=_0x1143b7?.[_0x24c1ee(0x2b0,0x32b,_0x4706b4._0x373490,_0x4706b4._0xf3dafa)]??_0xf5acb2?.[_0x24c1ee(0x258,_0x4706b4._0x3a79e0,_0x4706b4._0x33c903,_0x4706b4._0xf3dafa)];function _0x24c1ee(_0x233cf8,_0x6b2114,_0x1cc525,_0x2fbf6c){return _0x254d21(_0x233cf8-_0x3613e1._0x17fc7d,_0x233cf8,_0x2fbf6c-0x20d,_0x2fbf6c-0x54);}function _0x551c3e(_0x3b22c4,_0x243ad2,_0xeabb,_0x2a98b9){return _0x254d21(_0x3b22c4-0xee,_0x3b22c4,_0xeabb-0xa0,_0x2a98b9-_0x53cea8._0x40c650);}try{return await _0x17d71e['listTools'](void 0x0,{'timeout':_0x467bd3[_0x24c1ee(0x6ab,0x5f9,_0x4706b4._0x1b9cb2,_0x4706b4._0x1cc5e4)](),..._0x9aa01e!==void 0x0?{'signal':_0x9aa01e}:{}});}catch(_0x2deb25){throw createOwnedMcpSafeError({'serverName':_0x1c0fb3,'operation':_0x551c3e(_0x4706b4._0x4970c0,0x123,_0x4706b4._0x200136,0x1ca),'error':_0x2deb25});}},'onTerminalError'(_0x2777cb){const _0x321479={_0x1d8332:0x31,_0x399529:0x81,_0x4d565a:0x1cb};function _0x324bc7(_0x59d768,_0x5c81de,_0x245412,_0x20ff87){return _0x254d21(_0x59d768-_0x6057a._0x5031b8,_0x245412,_0x59d768-0x324,_0x20ff87-0xf2);}_0x41615c[_0x324bc7(0x333,0x198,0x14d,_0x30b409._0x102cb0)](_0x2777cb);const _0x506ad5=_0x3e7f56;return _0x506ad5&&queueMicrotask(()=>{function _0x3e38d0(_0xa5913d,_0x673980,_0x303505,_0x3b9048){return _0x324bc7(_0x303505-_0x321479._0x1d8332,_0x673980-_0x321479._0x399529,_0xa5913d,_0x3b9048-_0x321479._0x4d565a);}if(_0x41615c[_0x3e38d0(_0x41f6f7._0x570e33,_0x41f6f7._0x4e6cab,0x4b4,_0x41f6f7._0x20c5b2)](_0x2777cb))_0x2777cb(_0x506ad5);}),()=>_0x41615c['delete'](_0x2777cb);},async 'callTool'(_0x13e708){const _0x621112={_0x23fede:0x1b3,_0x3d7d15:0x1ea};function _0x31f150(_0x4af074,_0x507cf5,_0x1f4117,_0x3738d3){return _0x254d21(_0x4af074-0x146,_0x3738d3,_0x4af074-_0x2b1d01._0x554257,_0x3738d3-_0x2b1d01._0x564afd);}function _0x22b6a1(_0x1a04fd,_0x564f46,_0x5f9736,_0x52a7d6){return _0x3cdba4(_0x1a04fd,_0x5f9736-0x5e2,_0x5f9736-_0x621112._0x23fede,_0x52a7d6-_0x621112._0x3d7d15);}try{return await _0x17d71e[_0x22b6a1(_0x4c06e2._0x1a7021,_0x4c06e2._0x54cc20,_0x4c06e2._0x56af0a,_0x4c06e2._0x402b64)]({'method':_0x22b6a1(_0x4c06e2._0x425a8b,0x398,_0x4c06e2._0x779c10,0x40c),'params':_0x13e708},CallToolResultSchema,{'timeout':_0x467bd3[_0x22b6a1(0x687,0x667,0x7ea,_0x4c06e2._0x190b02)]()});}catch(_0xe3ba21){throw createOwnedMcpSafeError({'serverName':_0x1c0fb3,'operation':_0x22b6a1(_0x4c06e2._0x500c42,_0x4c06e2._0x46ab5c,_0x4c06e2._0x54ff24,_0x4c06e2._0x1012ba),'error':_0xe3ba21});}},async 'close'(){_0x3d38fd=!![],_0x17d71e[_0x8e3009(-0x3a,-_0x4527b0._0x21c3b9,0x12c,0xe0)]=void 0x0;function _0x263f74(_0x55476b,_0x1e7a2e,_0x593d6f,_0xee2cb9){return _0x3cdba4(_0x55476b,_0xee2cb9-0x711,_0x593d6f-0x10,_0xee2cb9-_0x31d6cf._0x5c57c6);}_0x17d71e[_0x8e3009(0x2e2,0x483,_0x4527b0._0x288ecb,0x3dc)]=void 0x0;function _0x8e3009(_0xee258b,_0x30e496,_0x34aafa,_0x5b614e){return _0x254d21(_0xee258b-0x12a,_0x30e496,_0xee258b-0x5a,_0x5b614e-0x110);}_0x41615c[_0x8e3009(_0x4527b0._0x9d89c7,-0x5f,_0x4527b0._0x2804b2,-0x8e)]();try{await _0x17d71e['close']();}catch(_0x475d63){throw createOwnedMcpSafeError({'serverName':_0x1c0fb3,'operation':_0x8e3009(_0x4527b0._0x58c5ab,_0x4527b0._0x5c63c5,_0x4527b0._0x2e597d,-_0x4527b0._0x3979a4),'error':_0x475d63});}}};}async function createMcpConnectionGeneration(_0x2381c4){const _0x3a2ef3={_0x355680:0x3ec,_0x3348ce:0x3e5,_0x5935e0:0x2a3,_0x4b69ad:0x3ec,_0x3f40fc:0x27f,_0x5e3cd4:0x151,_0x48da8b:0x323,_0x1fa7ec:0x52b,_0x2ecbfc:0x4b6,_0x3e0286:0x5ed,_0x16f701:0x3be,_0x5ba0a3:0x50a,_0x30d6a3:0x6c6,_0x36f462:0x5bb,_0x4b1475:0x1f7,_0x2150ab:0x3a5,_0x405aa1:0x1ae,_0x3c1a2f:0x4ff,_0xb52a27:0x1e6,_0x56c3fd:0x59f,_0x164c3d:0x753,_0x1c79b3:0x488,_0x164762:0x3ef,_0x54ac43:0x289,_0x394aca:0x122,_0x5eb670:0x319,_0x22255d:0x494,_0x42cfc5:0x559},_0x964e6a={_0x379e8f:0x520},_0x58f3fc={_0x3b2bc6:0x148,_0x8c9662:0xe7},_0x641f80={_0x358cc7:0x15e,_0x429ace:0x1cd,_0x32266b:0x32},_0x5ce485={_0x41ad31:0x26f,_0x570b10:0xef},_0x3d90e5={_0x29ce4b:0x3df,_0x299b41:0x3de,_0x28cb8e:0x2eb,_0x3279e6:0x50f},_0x48a816={_0x320ab4:0x361},_0x278b78={_0x253cde:0x3e0,_0x2bfe34:0x4e9,_0x58e0e7:0x2fc,_0x15de67:0xf},_0x2d17f0={_0x162c92:0x411,_0x176099:0x223,_0x298762:0x19b},_0x331f21={_0x123e97:0xc7,_0x410d59:0x14a},_0x312460={_0x5c745d:0xc9,_0x11dbb2:0x80,_0x22c329:0x1c2},_0x757863=_0x2381c4[_0x185ba5(0x5f7,0x2c3,_0x3a2ef3._0x355680,_0x3a2ef3._0x3348ce)]??connectMcpServer,_0x21f65c=_0x2381c4[_0x185ba5(_0x3a2ef3._0x5935e0,0x2e1,_0x3a2ef3._0x4b69ad,0x492)]===void 0x0,_0x29481e={..._0x2381c4[_0x185ba5(_0x3a2ef3._0x3f40fc,_0x3a2ef3._0x5e3cd4,_0x3a2ef3._0x48da8b,0x40f)],'timeoutSource':_0x2381c4[_0x185ba5(0x70c,0x557,_0x3a2ef3._0x1fa7ec,_0x3a2ef3._0x2ecbfc)],..._0x2381c4[_0x185ba5(0x72e,_0x3a2ef3._0x3e0286,0x551,_0x3a2ef3._0x16f701)]!==void 0x0?{'signal':_0x2381c4[_0x195855(_0x3a2ef3._0x5ba0a3,0x34a,_0x3a2ef3._0x30d6a3,_0x3a2ef3._0x36f462)]}:{}};let _0x3f5ad2;function _0x195855(_0x3f20a1,_0x4534a2,_0x549d8d,_0x4d2dc5){return _0x4d75fe(_0x3f20a1-_0x312460._0x5c745d,_0x4534a2,_0x3f20a1-_0x312460._0x11dbb2,_0x4d2dc5-_0x312460._0x22c329);}try{_0x3f5ad2=await _0x757863(_0x2381c4['serverName'],_0x2381c4['config'],_0x29481e);}catch(_0x748e){throw mapOwnedMcpBoundaryError({'serverName':_0x2381c4[_0x195855(0x289,0x2ca,_0x3a2ef3._0x4b1475,0x347)],'operation':_0x195855(_0x3a2ef3._0x2150ab,0x538,_0x3a2ef3._0x405aa1,0x379),'error':_0x748e},_0x21f65c);}const _0x185777=new Set();let _0x1844f3;function _0x185ba5(_0x232f2b,_0x9ac133,_0x2ae3e3,_0x17a319){return _0x4d75fe(_0x232f2b-0x1f,_0x232f2b,_0x2ae3e3-_0x331f21._0x123e97,_0x17a319-_0x331f21._0x410d59);}const _0x3005d6=_0x3f5ad2[_0x185ba5(_0x3a2ef3._0x3c1a2f,0x547,0x321,_0x3a2ef3._0xb52a27)]?.(_0x1fe67a=>{if(_0x1844f3)return;_0x1844f3=_0x1fe67a;for(const _0x5daa8e of _0x185777)_0x5daa8e(_0x1fe67a);});let _0x118e02=![];const _0x4270db=()=>{function _0x2c4c63(_0x197001,_0x3392e2,_0x2cbc47,_0x50f57a){return _0x185ba5(_0x197001,_0x3392e2-0x82,_0x2cbc47- -0x1d4,_0x50f57a-0xca);}if(_0x118e02)return;_0x118e02=!![],_0x185777[_0x2c4c63(0x412,_0x2d17f0._0x162c92,_0x2d17f0._0x176099,_0x2d17f0._0x298762)](),_0x3005d6?.();};let _0x1eada9;try{_0x1eada9=await _0x3f5ad2[_0x185ba5(_0x3a2ef3._0x56c3fd,0x835,0x615,_0x3a2ef3._0x164c3d)](_0x2381c4[_0x195855(0x50a,0x2f7,_0x3a2ef3._0x1c79b3,0x5c4)]!==void 0x0?{'signal':_0x2381c4[_0x195855(_0x3a2ef3._0x5ba0a3,0x6a3,_0x3a2ef3._0x164762,0x417)]}:void 0x0);}catch(_0x2de579){const _0x1e2af8=mapOwnedMcpBoundaryError({'serverName':_0x2381c4[_0x195855(_0x3a2ef3._0x54ac43,0x32d,_0x3a2ef3._0x394aca,_0x3a2ef3._0x5eb670)],'operation':'discover','error':_0x2de579},_0x21f65c);_0x4270db();try{await _0x3f5ad2[_0x195855(_0x3a2ef3._0x22255d,_0x3a2ef3._0x42cfc5,0x27f,0x49a)]();}catch{}throw _0x1e2af8;}const _0x5bc066=[..._0x1eada9['tools']],_0x23532d={async 'callTool'(_0x43ed31){const _0x413300={_0x514bef:0x72,_0x8f0f2:0x3f1,_0x37c00c:0x1cb},_0x34756a={_0x538fd9:0x157,_0x52909b:0x1c};function _0xacae06(_0x10200f,_0x5b7cd2,_0x466825,_0x157d65){return _0x195855(_0x10200f-_0x34756a._0x538fd9,_0x5b7cd2,_0x466825-_0x34756a._0x52909b,_0x157d65-0x19d);}function _0x2504d8(_0x174ef3,_0x164685,_0xb72e8d,_0x2f2c2d){return _0x185ba5(_0x164685,_0x164685-_0x413300._0x514bef,_0xb72e8d- -_0x413300._0x8f0f2,_0x2f2c2d-_0x413300._0x37c00c);}try{return await _0x3f5ad2['callTool'](_0x43ed31);}catch(_0x1abc35){throw mapOwnedMcpBoundaryError({'serverName':_0x2381c4[_0xacae06(_0x278b78._0x253cde,_0x278b78._0x2bfe34,_0x278b78._0x58e0e7,0x457)],'operation':_0x2504d8(-0x16,0xf5,0x1bb,_0x278b78._0x15de67),'error':_0x1abc35},_0x21f65c);}}},_0x54f073=createMcpGenerationLifecycle(async()=>{const _0x4593dd={_0x58e4ef:0x85};function _0x35cce0(_0x407099,_0x42089a,_0x25c446,_0x2d4d3f){return _0x185ba5(_0x407099,_0x42089a-_0x4593dd._0x58e4ef,_0x42089a- -0x1f0,_0x2d4d3f-0xa9);}function _0x41094d(_0x4214ce,_0x1c8bef,_0xeed1d7,_0x66ac6f){return _0x185ba5(_0x4214ce,_0x1c8bef-0x13b,_0x1c8bef-_0x48a816._0x320ab4,_0x66ac6f-0x4f);}_0x4270db();try{await _0x3f5ad2[_0x35cce0(0xc7,0x2eb,0x293,_0x3d90e5._0x29ce4b)]();}catch(_0x45122f){throw mapOwnedMcpBoundaryError({'serverName':_0x2381c4['serverName'],'operation':_0x35cce0(_0x3d90e5._0x299b41,_0x3d90e5._0x28cb8e,_0x3d90e5._0x3279e6,0xdf),'error':_0x45122f},_0x21f65c);}});return{'client':_0x3f5ad2,'descriptors':_0x5bc066,'lifecycle':_0x54f073,'projectTools'(_0x101404){return projectMcpTools({..._0x101404,'descriptors':_0x5bc066,'client':_0x23532d,'lifecycle':_0x54f073});},'onTerminalError'(_0x2c2114){if(_0x118e02)return()=>{};_0x185777[_0xe3f41f(-_0x641f80._0x358cc7,-0x4f,-_0x641f80._0x429ace,_0x641f80._0x32266b)](_0x2c2114);const _0x13428=_0x1844f3;function _0x492a1b(_0x2e0e3a,_0x27a3bf,_0x112cd3,_0xfeb0d8){return _0x195855(_0x27a3bf-_0x5ce485._0x41ad31,_0xfeb0d8,_0x112cd3-0x22,_0xfeb0d8-_0x5ce485._0x570b10);}function _0xe3f41f(_0x2f2a26,_0x8afcd8,_0x18d9eb,_0x271f9e){return _0x195855(_0x8afcd8- -0x37a,_0x2f2a26,_0x18d9eb-0x7f,_0x271f9e-0x8d);}return _0x13428&&queueMicrotask(()=>{if(_0x185777['has'](_0x2c2114))_0x2c2114(_0x13428);}),()=>_0x185777[_0x492a1b(0x7d4,0x651,0x718,0x630)](_0x2c2114);},'retire'(){_0x4270db();function _0x2720cf(_0x319ad4,_0x561091,_0x1aa286,_0x4f5708){return _0x185ba5(_0x561091,_0x561091-_0x58f3fc._0x3b2bc6,_0x1aa286-_0x58f3fc._0x8c9662,_0x4f5708-0x152);}return _0x54f073[_0x2720cf(0x680,0x3ab,_0x964e6a._0x379e8f,0x601)]();}};}import{stat as _0x2559a7}from'fs/promises';import*as _0x493db2 from'path';import{execSync,spawn as _0x329c48}from'child_process';import{existsSync}from'fs';import{stat as _0x5f2e91}from'fs/promises';import*as _0x10fffa from'os';import*as _0x379a10 from'path';import{rgPath as _0x1837fb}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x2ceec6={_0x96d4bd:0x27f,_0x1fed38:0x41,_0x4f5468:0xc3,_0x3d726e:0xd1,_0x2ff20d:0x4f,_0x303d4c:0x155,_0x2b6853:0x154,_0xdedae4:0x5c,_0x4ae843:0xf1,_0x26c213:0x4a,_0x219679:0x63,_0x1c0e32:0xbe,_0x4e3949:0x2bf,_0x8a34a9:0x2d0,_0x3bf052:0x409,_0x35dabc:0x438,_0x438be0:0x3b9,_0x594171:0x1df,_0x22c758:0x8b,_0x4554e9:0x91,_0x1c1668:0xc7,_0x41f813:0x34d,_0x5a1525:0x579,_0x8fc8bd:0x45c,_0x11c850:0x438,_0x2d3027:0x61c,_0x33eb6d:0x635,_0x2bdfe5:0x9c,_0xb9c804:0x163,_0x450630:0x4e0,_0x2bb283:0x6b7,_0x4287b5:0x6e5,_0x1e5a56:0x1dd,_0x351386:0x154,_0x4c544f:0x85,_0x14e982:0x21c,_0x58ad95:0x6a,_0x314552:0xef,_0x19c151:0x136,_0x1076ad:0x140,_0x33a6f8:0x2d5,_0x5e89e1:0x1e8,_0x446eb5:0x449,_0x573062:0x3e8,_0x5f0c8a:0xaf,_0x32ccf2:0x2e1,_0x3352ed:0x2c1,_0x4ad705:0x437,_0x2d4832:0x2c0,_0x4d6317:0x110,_0x9380d9:0x100},_0x116e12={_0xe944d5:0x7f,_0x542481:0x57a},_0x599b1e={_0x10e4d8:0x8d,_0x383402:0x167};function _0x588f5d(_0x1322af,_0x159e64,_0x57d6a5,_0x19dbb4){return _0x4d75fe(_0x1322af-_0x599b1e._0x10e4d8,_0x19dbb4,_0x159e64-_0x599b1e._0x383402,_0x19dbb4-0x3d);}const _0x197c7d=_0x10fffa['platform']()===_0x2c4938(0x2d,-_0x2ceec6._0x96d4bd,-_0x2ceec6._0x1fed38,-_0x2ceec6._0x4f5468),_0x8e5429=_0x197c7d?[_0x379a10[_0x2c4938(0x251,_0x2ceec6._0x3d726e,-_0x2ceec6._0x2ff20d,0x80)](process[_0x2c4938(-_0x2ceec6._0x303d4c,0x274,_0x2ceec6._0x2b6853,_0x2ceec6._0xdedae4)][_0x2c4938(-0x2,-_0x2ceec6._0x4ae843,_0x2ceec6._0x26c213,_0x2ceec6._0x219679)]||'','Microsoft',_0x2c4938(_0x2ceec6._0x1c0e32,0x103,0x30d,0x213),_0x2c4938(0x1e0,_0x2ceec6._0x4e3949,0x132,_0x2ceec6._0x8a34a9)),_0x379a10[_0x588f5d(0x42c,0x45c,0x55c,_0x2ceec6._0x3bf052)](process[_0x588f5d(0x517,_0x2ceec6._0x35dabc,_0x2ceec6._0x438be0,0x3b4)][_0x2c4938(-_0x2ceec6._0x594171,-_0x2ceec6._0x22c758,-0xfb,-0x9d)]||'',_0x2c4938(-0x1a,_0x2ceec6._0x4554e9,-0xa1,-_0x2ceec6._0x1c1668),_0x588f5d(0x6f3,0x564,0x46e,_0x2ceec6._0x41f813)),_0x379a10[_0x588f5d(_0x2ceec6._0x5a1525,_0x2ceec6._0x8fc8bd,0x3ca,0x640)](process[_0x588f5d(0x211,_0x2ceec6._0x11c850,0x598,0x403)][_0x588f5d(0x7d9,_0x2ceec6._0x2d3027,_0x2ceec6._0x33eb6d,0x40a)]||'','ripgrep','rg.exe')]:['/opt/homebrew/bin/rg',_0x2c4938(-_0x2ceec6._0x2bdfe5,_0x2ceec6._0xb9c804,0xe5,0x68),_0x588f5d(_0x2ceec6._0x450630,_0x2ceec6._0x2bb283,0x5f5,_0x2ceec6._0x4287b5),_0x2c4938(_0x2ceec6._0x1e5a56,0xc6,0xa3,_0x2ceec6._0x351386)];for(const _0x9490ac of _0x8e5429){if(existsSync(_0x9490ac))return _0x9490ac;}function _0x2c4938(_0x3acd9f,_0x20e82e,_0x2c44a2,_0x5ab6c0){return _0x3145c3(_0x3acd9f-_0x116e12._0xe944d5,_0x5ab6c0- -_0x116e12._0x542481,_0x2c44a2-0x177,_0x20e82e);}try{const _0x3f241c=_0x197c7d?'where\x20rg':_0x2c4938(_0x2ceec6._0x4c544f,0x26,-_0x2ceec6._0x14e982,-_0x2ceec6._0x58ad95),_0x200609=execSync(_0x3f241c,{'encoding':_0x2c4938(_0x2ceec6._0x314552,_0x2ceec6._0x19c151,0x93,0x76),'stdio':[_0x2c4938(_0x2ceec6._0x1076ad,0x167,_0x2ceec6._0x33a6f8,_0x2ceec6._0x5e89e1),_0x588f5d(_0x2ceec6._0x446eb5,0x5c4,_0x2ceec6._0x573062,0x753),_0x2c4938(_0x2ceec6._0x5f0c8a,-_0x2ceec6._0x32ccf2,-_0x2ceec6._0x3352ed,-0xbd)]})[_0x2c4938(0x23e,_0x2ceec6._0x4ad705,0x45b,_0x2ceec6._0x32ccf2)]()[_0x2c4938(_0x2ceec6._0x2d4832,_0x2ceec6._0x4d6317,_0x2ceec6._0x9380d9,0x2a1)](/\r?\n/)[0x0];if(_0x200609&&existsSync(_0x200609))return _0x200609;}catch{return null;}return null;}async function filepath(){const _0x286c12={_0x1567ca:0x328},_0xf99f0f={_0x19c446:0x2a8};if(cachedRgPath)return cachedRgPath;if(_0x1837fb&&existsSync(_0x1837fb))return cachedRgPath=_0x1837fb,_0x1837fb;const _0x20bd12=findSystemRipgrep();if(!_0x20bd12)throw new Error(_0x2b54a(0x1f7,0x343,_0x286c12._0x1567ca,0x538));cachedRgPath=_0x20bd12;function _0x2b54a(_0x50f4a3,_0x557413,_0x5cbc09,_0x1aeb90){return _0x4d75fe(_0x50f4a3-0x17c,_0x1aeb90,_0x5cbc09- -_0xf99f0f._0x19c446,_0x1aeb90-0x44);}return _0x20bd12;}async function*files(_0x1f6692){const _0x12c1f3={_0x2b9b01:0x2a3,_0x5ac66d:0x314,_0x16be18:0x9b4,_0x4aaad1:0x869,_0x3fa1d9:0x18f,_0x10b31f:0x21f,_0x4f0d32:0x740,_0x148bfa:0x1ee,_0x501714:0x2ec,_0x303916:0x9ef,_0x1d8c44:0xa09,_0x514ca6:0x8b3,_0x550146:0xfa,_0x12641c:0x12c,_0x3b07fc:0x687,_0x5d11bf:0x7b2,_0x2dcf6a:0x86c,_0x175799:0x41f,_0x3f4405:0x345,_0x16af04:0x280,_0x371e0b:0x70d,_0x495a05:0x7be,_0x11bcfb:0x252,_0x52b063:0x97b,_0x6ecd71:0x919,_0x1b0e3d:0x6ba,_0x8385d4:0x7b6,_0x2ebf38:0x136,_0x265630:0x121,_0x33fad5:0x1f8,_0x903e82:0x201,_0x4f8ab6:0x19b,_0x2b00d9:0x75b,_0x557c12:0x7e3,_0x242694:0x6f5,_0x1fda70:0x8b7},_0x2f1c41={_0x38b43f:0x36,_0xa634ab:0x2af},_0x17d5c2=await filepath(),_0x546184=await _0x5f2e91(_0x1f6692[_0x35f720(0xa6a,0xab1,0x9dc,0x890)])[_0x5dc008(_0x12c1f3._0x2b9b01,0xe3,_0x12c1f3._0x5ac66d,0x109)](()=>null);if(!_0x546184?.[_0x35f720(_0x12c1f3._0x16be18,0x97e,_0x12c1f3._0x4aaad1,0x8c8)]())throw Object['assign'](new Error(_0x5dc008(_0x12c1f3._0x3fa1d9,_0x12c1f3._0x10b31f,0x12e,0x220)+_0x1f6692['cwd']+'\x27'),{'code':_0x35f720(0x6df,_0x12c1f3._0x4f0d32,0x7f0,0x679)});const _0x205fdf=[_0x5dc008(0x385,0x2c0,0x143,_0x12c1f3._0x148bfa),_0x5dc008(0x29a,0x3f6,_0x12c1f3._0x501714,0x2fa),_0x35f720(0x74b,_0x12c1f3._0x303916,_0x12c1f3._0x1d8c44,_0x12c1f3._0x514ca6),_0x5dc008(_0x12c1f3._0x550146,_0x12c1f3._0x12641c,0x15f,-0x88)];for(const _0x2f0454 of _0x1f6692[_0x35f720(_0x12c1f3._0x3b07fc,0x75a,_0x12c1f3._0x5d11bf,_0x12c1f3._0x2dcf6a)]??[]){_0x205fdf['push'](_0x35f720(0x45d,0x4f4,_0x12c1f3._0x175799,0x5f1)+_0x2f0454);}function _0x35f720(_0x1c0cbd,_0x618766,_0x1b47a3,_0x197c29){return _0x4d75fe(_0x1c0cbd-0x1b4,_0x1b47a3,_0x197c29-0x361,_0x197c29-0x5c);}function _0x5dc008(_0x46b24c,_0x53f989,_0x2f8e31,_0x516d29){return _0x4d75fe(_0x46b24c-_0x2f1c41._0x38b43f,_0x46b24c,_0x516d29- -_0x2f1c41._0xa634ab,_0x516d29-0x110);}const _0x27c7a1=_0x329c48(_0x17d5c2,_0x205fdf,{'cwd':_0x1f6692[_0x5dc008(_0x12c1f3._0x3f4405,0x471,0x40f,_0x12c1f3._0x16af04)],'stdio':['ignore',_0x35f720(0x5a7,0x8c5,_0x12c1f3._0x371e0b,_0x12c1f3._0x495a05),_0x5dc008(_0x12c1f3._0x11bcfb,0x1cb,-0x23,0x1ae)]});let _0x295b5b='';for await(const _0x352d32 of _0x27c7a1[_0x35f720(0xaf4,_0x12c1f3._0x52b063,0xa34,_0x12c1f3._0x6ecd71)]??[]){_0x295b5b+=_0x352d32[_0x35f720(0x5a5,_0x12c1f3._0x1b0e3d,0x5cf,_0x12c1f3._0x8385d4)]();const _0x2466d6=_0x295b5b[_0x5dc008(_0x12c1f3._0x2ebf38,_0x12c1f3._0x265630,_0x12c1f3._0x33fad5,0x267)](/\r?\n/);_0x295b5b=_0x2466d6[_0x5dc008(0xe7,-0x1c4,_0x12c1f3._0x903e82,0x53)]()??'';for(const _0x361eaa of _0x2466d6){if(_0x361eaa[_0x5dc008(0x26d,-0xb4,_0x12c1f3._0x4f8ab6,0x6c)]>0x0)yield _0x361eaa;}}_0x295b5b['trim']()[_0x35f720(_0x12c1f3._0x2b00d9,_0x12c1f3._0x557c12,0x459,0x67c)]>0x0&&(yield _0x295b5b[_0x35f720(0x900,0x82f,_0x12c1f3._0x242694,_0x12c1f3._0x1fda70)]());}function objectValue(_0x655d81){return typeof _0x655d81==='object'&&_0x655d81!==null?_0x655d81:void 0x0;}function decodeRipgrepText(_0x2523a2){const _0x15949c={_0x56c121:0x49b,_0x452279:0x4c7,_0x2ed071:0x5eb,_0x5bbd1c:0x7c4,_0xa45243:0x5b4,_0x1a90fd:0x4f6,_0x15e654:0x3ca,_0x3a8243:0x7bf,_0x33c5e8:0x425,_0x241a0c:0x4fa,_0x161530:0x74d,_0x526879:0x596,_0x368c2d:0x476,_0x40122b:0x54a,_0x303756:0x4d0},_0x142bd6={_0x13a5ec:0x201},_0x34d705={_0x5f0687:0x1a4,_0xcbf75e:0x190},_0x33ee87=objectValue(_0x2523a2);if(typeof _0x33ee87?.[_0x27ed52(_0x15949c._0x56c121,_0x15949c._0x452279,0x226,0x43b)]===_0xddd52a(_0x15949c._0x2ed071,_0x15949c._0x5bbd1c,_0x15949c._0xa45243,_0x15949c._0x1a90fd))return _0x33ee87[_0xddd52a(0x5bc,0x4b7,_0x15949c._0x15e654,0x1cc)];function _0x27ed52(_0x17d557,_0x5e225e,_0x507bba,_0x163d05){return _0x3145c3(_0x17d557-_0x34d705._0x5f0687,_0x163d05- -_0x34d705._0xcbf75e,_0x507bba-0x1ec,_0x507bba);}if(typeof _0x33ee87?.['bytes']===_0xddd52a(_0x15949c._0x3a8243,0x421,0x5b4,0x423))return Buffer[_0x27ed52(0x455,_0x15949c._0x33c5e8,_0x15949c._0x241a0c,0x5d6)](_0x33ee87['bytes'],_0x27ed52(_0x15949c._0x161530,0x726,0x497,_0x15949c._0x526879))[_0x27ed52(0x770,_0x15949c._0x368c2d,_0x15949c._0x40122b,0x5ca)](_0xddd52a(0x566,0x234,0x3ef,_0x15949c._0x303756));function _0xddd52a(_0x195fd4,_0x3963c5,_0xc4dda2,_0x591c03){return _0x3145c3(_0x195fd4-0x2c,_0xc4dda2- -_0x142bd6._0x13a5ec,_0xc4dda2-0x10,_0x591c03);}return void 0x0;}function parseMatchLine(_0xdd5837,_0x3e7eab){const _0x5648f7={_0x4db7b7:0x362,_0x297d3c:0x693,_0x2ba14e:0x485,_0x3aafa5:0x2a1,_0x32fc2f:0x68a,_0x1087b7:0x60d,_0xb6a5d5:0x4c5,_0x22cf79:0x5f3,_0x454c70:0x25e,_0x495162:0x283,_0x519609:0x6f4,_0x1702af:0x64a,_0x5702e0:0x52e,_0x4049cd:0x5b0,_0x22ad65:0x6de,_0x27833b:0x382,_0x4b0694:0x4cd,_0x377198:0x4e7,_0x17a4ed:0x92b,_0x243c70:0x74d,_0xbd64c0:0x745,_0x373f0b:0x253,_0x15f039:0xf2,_0x229e17:0x458,_0x3c9d0f:0x31c,_0x526668:0x32c,_0x8e662f:0x31f},_0x2a7830={_0x2b9f88:0x19b};if(_0xdd5837[_0xfda4cb(_0x5648f7._0x4db7b7,_0x5648f7._0x297d3c,_0x5648f7._0x2ba14e,_0x5648f7._0x3aafa5)]===0x0)return null;function _0x67eb79(_0xf8c2ec,_0x31c155,_0x398b59,_0x36b350){return _0x4d75fe(_0xf8c2ec-0x5b,_0x36b350,_0x31c155-0x2e,_0x36b350-0x1a0);}const _0x4aae83=objectValue(JSON[_0xfda4cb(0x6ad,0x64c,_0x5648f7._0x32fc2f,_0x5648f7._0x1087b7)](_0xdd5837));if(_0x4aae83?.[_0x67eb79(0x36e,0x458,0x42c,_0x5648f7._0xb6a5d5)]!==_0x67eb79(_0x5648f7._0x22cf79,0x45c,0x2ae,_0x5648f7._0x454c70)&&_0x4aae83?.['type']!==_0x67eb79(_0x5648f7._0x495162,0x267,0x471,0x198))return null;const _0x3bc216=objectValue(_0x4aae83[_0xfda4cb(_0x5648f7._0x519609,0x73b,_0x5648f7._0x1702af,0x4cc)]),_0x2914a6=decodeRipgrepText(_0x3bc216?.[_0xfda4cb(_0x5648f7._0x5702e0,_0x5648f7._0x4049cd,_0x5648f7._0x22ad65,0x684)]),_0x5418d9=decodeRipgrepText(_0x3bc216?.[_0xfda4cb(0x724,_0x5648f7._0x27833b,_0x5648f7._0x5702e0,_0x5648f7._0x4b0694)]),_0x311386=_0x3bc216?.[_0xfda4cb(0x2e3,0x2c0,0x3d6,_0x5648f7._0x377198)];function _0xfda4cb(_0x5d1a2d,_0x146744,_0x52ff04,_0x448264){return _0x3145c3(_0x5d1a2d-0x12e,_0x52ff04- -_0x2a7830._0x2b9f88,_0x52ff04-0xc5,_0x146744);}if(_0x2914a6===void 0x0||_0x5418d9===void 0x0||typeof _0x311386!=='number')throw new Error(_0xfda4cb(0x7e8,_0x5648f7._0x17a4ed,_0x5648f7._0x243c70,_0x5648f7._0xbd64c0));return{'filePath':_0x379a10['isAbsolute'](_0x2914a6)?_0x2914a6:_0x379a10['resolve'](_0x3e7eab,_0x2914a6),'lineNum':_0x311386,'lineText':_0x5418d9[_0x67eb79(_0x5648f7._0x373f0b,0x2ab,_0x5648f7._0x15f039,0xc1)](/\r?\n$/,''),..._0x4aae83[_0x67eb79(0x607,_0x5648f7._0x229e17,_0x5648f7._0x3c9d0f,0x3ec)]===_0x67eb79(_0x5648f7._0x526668,0x267,0x364,_0x5648f7._0x8e662f)?{'isContext':!![]}:{}};}async function search(_0xddca0b){const _0x2aad64={_0x513d07:0x91c,_0x5d0884:0x6a4,_0x33102d:0x8da,_0x14e592:0x7bf,_0x3ef15e:0x80d,_0x57a874:0x9ab,_0xfebded:0x43e,_0x86e81d:0x5de,_0x50d39c:0x315,_0x369381:0x49a,_0x2ab1e1:0x32f,_0xf83e7a:0x2dd,_0x58d347:0x286,_0x498819:0x7e3,_0x2f4284:0x5d1,_0x304aaa:0x623,_0x3ff950:0x31a,_0x4416af:0x39e,_0x58d684:0x54f,_0xf26679:0x1b2,_0x19b583:0x2f4,_0x830c1a:0x767,_0x18fa00:0x640,_0x15ce06:0x2ac,_0x33931c:0x463,_0x47dca7:0x512,_0x3bbcb6:0x466,_0x19526d:0x458,_0x4c48f4:0x51c,_0x31e679:0x5ed,_0x13c4d1:0x675,_0x3d7f67:0x313,_0x5bb83e:0x154,_0x11f2c8:0x856,_0x23079c:0x56f,_0x282fa1:0x4ba,_0x4d245d:0x4eb,_0x61671:0x56d,_0x46850a:0x654,_0x1e7218:0x507,_0x1b13bb:0x52c,_0x2bea38:0x503,_0x1a3331:0x1e6,_0x36ea80:0x133,_0x2a4ad2:0x49d,_0x5d2eff:0x781,_0xfd90d:0x3d5,_0x311d17:0x74f,_0x276aca:0x7ac,_0x1715d7:0x3ae,_0x531920:0x4e1,_0x35622f:0x37f,_0x4f5802:0x56a,_0xb2d716:0x497,_0x31bbf4:0x3aa,_0x5311a6:0x694,_0xd60be:0x591,_0x1009ab:0x77f,_0x4cfa19:0x4d9,_0x457e79:0x56d,_0x16ed35:0x77a,_0x3214f9:0x424,_0x4bb590:0x254,_0x2eda0c:0x37f,_0x2e9e26:0x320,_0x24e51a:0x61a,_0x2af4ae:0x3f3,_0x2e1c57:0x7a3},_0x348572={_0x20802a:0x274,_0x58e9dd:0xc4,_0x1b8cb0:0xd2,_0x4247aa:0xa9,_0x35517:0x369,_0x460842:0x41a,_0x269542:0x4f5,_0x3533ba:0x826,_0x484e60:0x22c,_0x55de9b:0x696,_0x424bfa:0x831,_0x3c8116:0x875,_0x565c3f:0x7a7,_0x4a15b6:0x4ab,_0xf3c65:0x7e0},_0xf0593a={_0x40544f:0x7a6,_0x22e351:0x5c0,_0x34293d:0x6c7},_0x2b0f4a={_0x25c96b:0x318},_0x491153={_0x18a550:0x368,_0x1ce173:0x22,_0x4f0439:0x44},_0x1caad3={_0x513006:0x274,_0x29432f:0xe2},_0x840c20={_0x32fbb2:0x75};if(_0xddca0b[_0x2c7696(0x7bf,0x792,_0x2aad64._0x513d07,_0x2aad64._0x5d0884)]!==void 0x0&&_0xddca0b['files']!==void 0x0)throw new Error('Ripgrep.search\x20accepts\x20either\x20file\x20or\x20files,\x20not\x20both');if(_0xddca0b[_0x2c7696(0x7bf,0x74a,_0x2aad64._0x33102d,0x879)]){const _0x343331=await _0x5f2e91(_0xddca0b[_0x2c7696(_0x2aad64._0x14e592,0x624,_0x2aad64._0x3ef15e,_0x2aad64._0x57a874)])[_0x3e1b31(0x5c3,_0x2aad64._0xfebded,_0x2aad64._0x86e81d,_0x2aad64._0x50d39c)](()=>null);if(!_0x343331?.['isFile']())throw Object[_0x2c7696(_0x2aad64._0x369381,_0x2aad64._0x2ab1e1,_0x2aad64._0xf83e7a,_0x2aad64._0x58d347)](new Error(_0x2c7696(0x6b4,0x8b3,0x57d,_0x2aad64._0x498819)+_0xddca0b[_0x3e1b31(0x4e0,_0x2aad64._0x2f4284,0x5a1,_0x2aad64._0x304aaa)]+'\x27'),{'code':_0x3e1b31(_0x2aad64._0x3ff950,_0x2aad64._0x4416af,0x433,0x3d9)});}else{if(_0xddca0b[_0x2c7696(0x56d,0x782,0x36f,_0x2aad64._0x58d684)]!==void 0x0)for(const _0x4d84c4 of _0xddca0b[_0x3e1b31(_0x2aad64._0xf26679,0x37f,0x340,_0x2aad64._0x19b583)]){if(!_0x379a10[_0x2c7696(0x6e4,0x4ed,0x698,_0x2aad64._0x830c1a)](_0x4d84c4))throw new Error('Ripgrep.search\x20explicit\x20files\x20must\x20be\x20absolute:\x20\x27'+_0x4d84c4+'\x27');const _0x52b9f4=await _0x5f2e91(_0x4d84c4)['catch'](()=>null);if(!_0x52b9f4?.[_0x2c7696(0x61f,_0x2aad64._0x18fa00,0x478,0x73c)]())throw Object[_0x3e1b31(0xfd,_0x2aad64._0x15ce06,_0x2aad64._0x33931c,0x277)](new Error('No\x20such\x20file:\x20\x27'+_0x4d84c4+'\x27'),{'code':_0x3e1b31(_0x2aad64._0x47dca7,0x39e,_0x2aad64._0x3bbcb6,0x448)});}else{const _0x1a9264=await _0x5f2e91(_0xddca0b['cwd'])[_0x3e1b31(0x573,0x43e,_0x2aad64._0x19526d,_0x2aad64._0x4c48f4)](()=>null);if(!_0x1a9264?.[_0x3e1b31(0x4e8,_0x2aad64._0x31e679,0x541,_0x2aad64._0x13c4d1)]())throw Object[_0x3e1b31(0x149,0x2ac,_0x2aad64._0x3d7f67,_0x2aad64._0x5bb83e)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0xddca0b[_0x2c7696(0x7a3,_0x2aad64._0x11f2c8,0x741,0x879)]+'\x27'),{'code':_0x3e1b31(_0x2aad64._0x23079c,0x39e,_0x2aad64._0x282fa1,_0x2aad64._0x4d245d)});}}function _0x3e1b31(_0x46b6b1,_0x257662,_0x318aec,_0x47df1d){return _0x3145c3(_0x46b6b1-_0x840c20._0x32fbb2,_0x257662- -0x27f,_0x318aec-0x17d,_0x318aec);}if(_0xddca0b[_0x2c7696(_0x2aad64._0x61671,_0x2aad64._0x46850a,0x704,0x360)]?.['length']===0x0)return[];const _0x5dbf37=await filepath(),_0x524137=[_0x3e1b31(_0x2aad64._0x1e7218,_0x2aad64._0x1b13bb,0x680,0x58b),_0x2c7696(0x525,0x518,_0x2aad64._0x2bea38,0x603),_0xddca0b[_0x3e1b31(_0x2aad64._0x1a3331,0x380,0x21c,0x39c)]],_0x4664b9=typeof _0xddca0b[_0x3e1b31(0x2cf,0x2bf,_0x2aad64._0x36ea80,_0x2aad64._0x2a4ad2)]===_0x3e1b31(0x572,0x5c8,_0x2aad64._0x5d2eff,_0x2aad64._0xfd90d)&&_0xddca0b['context']>0x0;_0x4664b9&&_0x524137[_0x2c7696(0x61a,0x5fd,_0x2aad64._0x311d17,_0x2aad64._0x276aca)]('-C',String(_0xddca0b['context']));function _0x2c7696(_0x410a5d,_0x314e3c,_0x292db8,_0x431656){return _0x4d75fe(_0x410a5d-0x142,_0x314e3c,_0x410a5d-_0x1caad3._0x513006,_0x431656-_0x1caad3._0x29432f);}return _0xddca0b[_0x3e1b31(_0x2aad64._0x1715d7,0x591,0x643,0x55c)]&&!_0xddca0b['file']&&_0xddca0b[_0x3e1b31(_0x2aad64._0x531920,_0x2aad64._0x35622f,0x22e,0x56b)]===void 0x0&&_0x524137[_0x2c7696(0x61a,0x689,0x711,_0x2aad64._0x4f5802)](_0x2c7696(_0x2aad64._0xb2d716,0x47a,_0x2aad64._0x31bbf4,_0x2aad64._0x5311a6),_0xddca0b[_0x3e1b31(0x71d,_0x2aad64._0xd60be,_0x2aad64._0x1009ab,_0x2aad64._0x4cfa19)]),_0xddca0b[_0x2c7696(_0x2aad64._0x457e79,0x3a9,_0x2aad64._0x16ed35,0x714)]!==void 0x0?_0x524137[_0x3e1b31(_0x2aad64._0x3214f9,0x42c,0x648,0x27d)](..._0xddca0b[_0x3e1b31(_0x2aad64._0x4bb590,_0x2aad64._0x2eda0c,0x259,_0x2aad64._0x2e9e26)]):_0x524137[_0x2c7696(_0x2aad64._0x24e51a,0x77a,_0x2aad64._0x2af4ae,0x4f7)](_0xddca0b[_0x3e1b31(0x5db,0x5d1,0x40f,0x5ca)]??_0xddca0b[_0x2c7696(_0x2aad64._0x2e1c57,0x6f5,0x800,0x994)]),await new Promise((_0x31965d,_0x303e85)=>{const _0x518846={_0xd9029:0xc6,_0x5bc059:0x2c1,_0xb69918:0x3db,_0xcb3c6a:0xda,_0xa7a0b2:0x7a,_0x161a85:0x35,_0x54d5b9:0x5c9,_0x250ff2:0x3d9,_0x168afa:0x780,_0x3a3307:0x961,_0xa9bb28:0x90,_0x133a79:0xb7,_0x350f2f:0x4c3,_0x5a7e93:0x742,_0x186fed:0x88,_0x246d21:0xcb,_0x528d40:0x1c,_0x33d4f6:0x13b},_0x366fa2={_0xcbbcb6:0x118,_0x118abe:0x22a},_0x34f675={_0x5f5162:0x18a,_0x2f9fbc:0x16e},_0x1e1e2e=_0x329c48(_0x5dbf37,_0x524137,{'cwd':_0xddca0b[_0x54bca0(0x43b,_0x348572._0x20802a,0x3f9,0x32f)],'stdio':[_0x54bca0(_0x348572._0x58e9dd,0x1d5,-_0x348572._0x1b8cb0,_0x348572._0x4247aa),_0x54bca0(_0x348572._0x35517,0x17e,_0x348572._0x460842,_0x348572._0x269542),_0x217342(0x6ac,_0x348572._0x3533ba,0x7f2,0x71a)]});let _0x2ad531='',_0x39feab='';function _0x217342(_0x44c217,_0xfcd3d8,_0x40ff8d,_0x180cee){return _0x2c7696(_0x40ff8d-0x121,_0x180cee,_0x40ff8d-_0x34f675._0x5f5162,_0x180cee-_0x34f675._0x2f9fbc);}function _0x54bca0(_0x39af74,_0x213adf,_0x1e0037,_0x5d2092){return _0x2c7696(_0x39af74- -_0x491153._0x18a550,_0x213adf,_0x1e0037-_0x491153._0x1ce173,_0x5d2092-_0x491153._0x4f0439);}_0x1e1e2e[_0x54bca0(0x4c4,0x668,0x5f3,0x500)]?.['on']('data',_0x308e34=>{const _0x384ec3={_0x4f7930:0x197,_0x1e5ca0:0x65,_0x263bd:0x4d2};function _0x18b7cf(_0x59d635,_0x53e4fa,_0x3fb388,_0x4497e2){return _0x217342(_0x59d635-_0x384ec3._0x4f7930,_0x53e4fa-_0x384ec3._0x1e5ca0,_0x3fb388- -_0x384ec3._0x263bd,_0x53e4fa);}_0x2ad531+=_0x308e34[_0x18b7cf(0x316,0x319,_0x2b0f4a._0x25c96b,0x2b2)]();}),_0x1e1e2e[_0x54bca0(_0x348572._0x484e60,0x3b7,0x272,0x3dd)]?.['on'](_0x217342(_0x348572._0x55de9b,_0x348572._0x424bfa,_0x348572._0x3c8116,_0x348572._0x565c3f),_0x1d8d01=>{function _0x39ae55(_0x3c58e6,_0x39760d,_0x24df11,_0x397b96){return _0x217342(_0x3c58e6-_0x366fa2._0xcbbcb6,_0x39760d-0x148,_0x39760d- -_0x366fa2._0x118abe,_0x24df11);}_0x39feab+=_0x1d8d01[_0x39ae55(_0xf0593a._0x40544f,_0xf0593a._0x22e351,0x6b2,_0xf0593a._0x34293d)]();}),_0x1e1e2e['on'](_0x54bca0(0x320,0x3ef,_0x348572._0x4a15b6,0x208),_0x39ba73=>{const _0x13ec74={_0x715a89:0x3e6,_0x1192d7:0x44c,_0x6c5be:0x17},_0x45c659={_0x2e6872:0x6a4,_0x5e5593:0x31},_0x36c213={_0x5c5d63:0xf5,_0x26e96d:0x99,_0x4f0847:0xcb},_0x454191={_0x553da0:0x15},_0x10fa99={_0x58bb9d:0x1c2};if(_0x39ba73===0x1&&_0x2ad531===''){_0x31965d([]);return;}if(_0x39ba73!==0x0&&_0x39ba73!==0x1){_0x303e85(new Error('ripgrep\x20failed:\x20'+_0x39feab));return;}const _0x4fe34e=[];try{for(const _0x227e2c of _0x2ad531[_0x40e7c5(0x49b,_0x518846._0xd9029,_0x518846._0x5bc059,0x36c)](/\r?\n/)){const _0x392189=parseMatchLine(_0x227e2c,_0xddca0b[_0x40e7c5(0x49d,_0x518846._0xb69918,0x2da,0x284)]);if(_0x392189)_0x4fe34e['push'](_0x392189);}}catch(_0x38ef8b){_0x303e85(_0x38ef8b);return;}function _0x40e7c5(_0x291816,_0x286b10,_0x22c0e3,_0x506376){return _0x54bca0(_0x22c0e3- -0x161,_0x291816,_0x22c0e3-_0x10fa99._0x58bb9d,_0x506376-0x63);}const _0x4bcc5c=_0xddca0b['limit']??0x64,_0x26a821=Number[_0x40e7c5(_0x518846._0xcb3c6a,-0x1b,-_0x518846._0xa7a0b2,_0x518846._0x161a85)](_0x4bcc5c)?Math[_0x47d00d(_0x518846._0x54d5b9,0x59b,_0x518846._0x250ff2,0x7df)](0x0,Math[_0x47d00d(0x6ed,0x4fa,0x5eb,_0x518846._0x168afa)](_0x4bcc5c)):0x64;function _0x47d00d(_0x2c3426,_0xff9b38,_0x5f0c8f,_0x5367b2){return _0x54bca0(_0x2c3426-0x46d,_0x5f0c8f,_0x5f0c8f-0x18c,_0x5367b2-_0x454191._0x553da0);}const _0x3b4729=_0x4fe34e[_0x47d00d(_0x518846._0x3a3307,0x754,0x805,0x74e)](_0xc832cc=>!_0xc832cc[_0x40e7c5(0x13d,0x225,0x34d,0x15b)]);if(_0x3b4729[_0x40e7c5(-_0x518846._0xa9bb28,0xa5,0xc6,0x254)]<=_0x26a821){_0x31965d(_0x4fe34e);return;}const _0x152794=_0x3b4729[_0x40e7c5(0x2de,_0x518846._0x133a79,0x295,0x346)](0x0,_0x26a821),_0x1db05b=new Set(_0x152794),_0x5d693e=_0x4664b9?Math[_0x47d00d(0x5c9,_0x518846._0x350f2f,_0x518846._0x5a7e93,0x568)](0x0,Math['trunc'](_0xddca0b[_0x40e7c5(-_0x518846._0x186fed,_0x518846._0x246d21,-_0x518846._0x528d40,_0x518846._0x33d4f6)]??0x0)):0x0;_0x31965d(_0x4fe34e['filter'](_0x2838b6=>{if(!_0x2838b6[_0x415ac6(0x59a,_0x13ec74._0x715a89,_0x13ec74._0x1192d7,0x371)])return _0x1db05b[_0x1939eb(_0x13ec74._0x6c5be,0x7d,0xd0,0x38)](_0x2838b6);function _0x415ac6(_0x2eaca7,_0x215bb1,_0x367737,_0x33d92f){return _0x40e7c5(_0x2eaca7,_0x215bb1-_0x36c213._0x5c5d63,_0x215bb1-_0x36c213._0x26e96d,_0x33d92f-_0x36c213._0x4f0847);}function _0x1939eb(_0x1361f9,_0x250a7d,_0x381dda,_0x1a60da){return _0x47d00d(_0x381dda- -_0x45c659._0x2e6872,_0x250a7d-0xb6,_0x1361f9,_0x1a60da-_0x45c659._0x5e5593);}return _0x152794['some'](_0x3766b2=>_0x3766b2['filePath']===_0x2838b6[_0x415ac6(0x31b,0x266,0x1d0,0xcb)]&&Math[_0x415ac6(-0x6,0xc0,-0x143,0x25f)](_0x3766b2[_0x1939eb(-0xe2,0x71,-0x149,-0x2f1)]-_0x2838b6['lineNum'])<=_0x5d693e);}));}),_0x1e1e2e['on'](_0x217342(0x5d3,0x918,_0x348572._0xf3c65,0x68e),_0x303e85);});}function createGlobTool(_0x521bab={}){const _0x5b9a32={_0x56624f:0x853,_0x2133ff:0x97c,_0x413cde:0x69c,_0x276c61:0x51f,_0x150a99:0x6a4,_0x5d262d:0x7ff,_0x291f37:0x70a,_0x57db9b:0x719,_0x1b307a:0x60e,_0x2ebe0e:0x73b,_0x4ebe83:0x82b,_0x546880:0x8ed,_0x37148b:0x82c,_0x1b11dc:0x380},_0x4eda48={_0x2eb089:0x1d,_0x7c1da7:0x1ee,_0x5d6f4a:0x5ce,_0xf20686:0x44c,_0x2da8c4:0x2b2,_0x563859:0x501,_0x337408:0x59c,_0x16cb38:0x4be,_0x2b2f7d:0x33d,_0x2b530b:0x468,_0x5de555:0x2f9,_0x215c3c:0x28d,_0x1df7b1:0x61a,_0x20bce6:0x5f9,_0x274661:0x44d,_0x1a9573:0x454,_0x93fd95:0x35d,_0x101935:0x613,_0x3b846a:0x48f,_0x4a9edc:0x15f,_0x5bff39:0x29a,_0x1d23fa:0x522,_0x5c6d1f:0x52c,_0xc5e40b:0x496,_0xb20779:0x3d6,_0x5c27ab:0x57a,_0x5688c6:0x3ce},_0x51bad9={_0x4e1097:0x315,_0x341a39:0xc9},_0x513356={_0x3363a9:0x48,_0x1dc6d8:0xfc,_0x4f8d6e:0xd9},_0x2278ef=_0x493db2['resolve'](_0x521bab['defaultCwd']??process[_0x50cef7(0x65f,0x876,0x738,_0x5b9a32._0x56624f)]());function _0x36a51e(_0x200f43,_0x162ad3,_0x299a6a,_0x37e6b0){return _0x4d75fe(_0x200f43-0xf3,_0x299a6a,_0x162ad3-0x3c8,_0x37e6b0-0xec);}function _0x50cef7(_0xe397e3,_0x28b58e,_0x33fb58,_0x1f53a5){return _0x3145c3(_0xe397e3-_0x513356._0x3363a9,_0x33fb58- -_0x513356._0x1dc6d8,_0x33fb58-_0x513356._0x4f8d6e,_0xe397e3);}const _0x187234=_0x521bab[_0x36a51e(0x7b2,0x99a,0x955,_0x5b9a32._0x2133ff)]??[],_0x16d167=_0x521bab['limit']??0x64,_0x9accce=_0x521bab[_0x50cef7(_0x5b9a32._0x413cde,0x4e3,_0x5b9a32._0x276c61,_0x5b9a32._0x150a99)]??_0x36a51e(0x7a5,_0x5b9a32._0x5d262d,_0x5b9a32._0x291f37,0x84f);return defineTool({'name':_0x9accce,'permissionClass':_0x50cef7(0x632,0x607,_0x5b9a32._0x57db9b,0x689),'description':_0x36a51e(0x655,_0x5b9a32._0x1b307a,0x585,0x487),'inputSchema':{'type':_0x36a51e(0x9cd,0x7b4,0x79b,_0x5b9a32._0x2ebe0e),'properties':{'pattern':{'type':_0x50cef7(0x6fb,0x5a7,0x6b9,0x700)},'path':{'type':_0x50cef7(_0x5b9a32._0x4ebe83,0x73e,0x6b9,0x899)},'limit':{'type':_0x50cef7(0x901,_0x5b9a32._0x546880,0x74b,_0x5b9a32._0x37148b)}},'required':[_0x50cef7(0x629,_0x5b9a32._0x1b11dc,0x503,0x314)]},async *'execute'(_0x5cf8c9){const _0x764b82={_0x2a6d6a:0x112};if(_0x5cf8c9[_0xb9ee9b(0x34b,-_0x4eda48._0x2eb089,_0x4eda48._0x7c1da7,0x258)]['trim']()[_0x378b8c(_0x4eda48._0x5d6f4a,0x359,_0x4eda48._0xf20686,0x3f4)]===0x0)throw new ToolExecutionError(_0xb9ee9b(0x60c,0x30e,0x49e,0x575),{});const _0xc397d1=resolveAllowedPath(_0x2278ef,_0x187234,_0x5cf8c9['path']??'.'),_0x36459a=await _0x2559a7(_0xc397d1)[_0x378b8c(_0x4eda48._0x2da8c4,0x2fa,0x487,0x491)](()=>null);if(!_0x36459a?.[_0x378b8c(_0x4eda48._0x563859,0x85a,0x4b7,0x640)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x5cf8c9[_0xb9ee9b(_0x4eda48._0x337408,0x4fa,0x468,_0x4eda48._0x16cb38)]??'.'),{'path':_0x5cf8c9[_0xb9ee9b(0x25f,_0x4eda48._0x2b2f7d,_0x4eda48._0x2b530b,_0x4eda48._0x5de555)]??'.'});const _0x224c4e=_0x5cf8c9['limit']??_0x16d167;function _0x378b8c(_0x51c335,_0x3f9f32,_0x28e401,_0x1bd2dd){return _0x50cef7(_0x3f9f32,_0x3f9f32-_0x764b82._0x2a6d6a,_0x1bd2dd- -0x130,_0x1bd2dd-0x1be);}const _0x5a5548=Math['max'](0x1,Math[_0x378b8c(_0x4eda48._0x215c3c,_0x4eda48._0x1df7b1,_0x4eda48._0x20bce6,_0x4eda48._0x274661)](_0x224c4e)),_0x2b5bbc=[];let _0x2cbd91=![];for await(const _0x2a6d1e of files({'cwd':_0xc397d1,'glob':[_0x5cf8c9['pattern']]})){if(_0x2b5bbc[_0x378b8c(_0x4eda48._0x1a9573,_0x4eda48._0x93fd95,_0x4eda48._0x101935,0x3f4)]>=_0x5a5548){_0x2cbd91=!![];break;}const _0x3aff28=await _0x2559a7(_0x493db2['join'](_0xc397d1,_0x2a6d1e))['catch'](()=>null);_0x2b5bbc[_0xb9ee9b(_0x4eda48._0x3b846a,_0x4eda48._0x4a9edc,_0x4eda48._0x5bff39,0x458)]({'path':_0x2a6d1e,'mtime':_0x3aff28?.[_0x378b8c(_0x4eda48._0x1d23fa,0x5fa,_0x4eda48._0x5c6d1f,0x4ac)]??0x0});}function _0xb9ee9b(_0x531f32,_0x49356c,_0x252cce,_0x15488c){return _0x50cef7(_0x49356c,_0x49356c-0x16e,_0x252cce- -_0x51bad9._0x4e1097,_0x15488c-_0x51bad9._0x341a39);}_0x2b5bbc[_0x378b8c(0x361,_0x4eda48._0xc5e40b,0x152,0x359)]((_0x33d657,_0x42be56)=>_0x42be56['mtime']-_0x33d657[_0x378b8c(0x5e9,0x378,0x331,0x52f)]);const _0x486b41=_0x2b5bbc['map'](_0x9b7121=>_0x9b7121[_0xb9ee9b(0x59c,0x49d,0x468,0x3a4)]),_0x328636=_0x486b41['length']===0x0?_0xb9ee9b(0x25e,0x35c,0x378,0x51c)+_0x5cf8c9['pattern']:''+_0x486b41[_0x378b8c(0x471,_0x4eda48._0xb20779,_0x4eda48._0x5c27ab,_0x4eda48._0x5688c6)]('\x0a')+(_0x2cbd91?'\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)':'');return yield createToolOutput(_0x328636,{'pattern':_0x5cf8c9['pattern'],'searchPath':_0x493db2['relative'](_0x2278ef,_0xc397d1)||'.','matches':_0x486b41,'count':_0x486b41['length'],'truncated':_0x2cbd91}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0xf1ab4e){const _0x2f085d={_0x335c19:0x371,_0x41f420:0x292,_0x1b7c0b:0x465,_0x1dc6f4:0x496,_0x153668:0x3f6,_0x4d2d44:0x5d1,_0x277bfc:0x52d,_0x8f4557:0x566,_0xca6989:0x1d5,_0x10aead:0xa4,_0x86ce2a:0x173,_0x2dbea4:0x72,_0x3eaf30:0x272,_0x11a027:0x5c9},_0xd67b11={_0x44eab3:0x2a9,_0x3e4e65:0x15d},_0x926bd5={_0xe8410f:0x1b5,_0x32897a:0x1bb,_0x5c8b9f:0x66};if(_0xf1ab4e[_0x3f521e(_0x2f085d._0x335c19,0x347,_0x2f085d._0x41f420,0x2ad)]()[_0x62f01f(_0x2f085d._0x1b7c0b,0x47f,_0x2f085d._0x1dc6f4,_0x2f085d._0x153668)]===0x0)throw new Error(_0x62f01f(0x6f4,_0x2f085d._0x4d2d44,_0x2f085d._0x277bfc,_0x2f085d._0x8f4557));function _0x62f01f(_0x8fe7f1,_0x50a014,_0x160d04,_0x244eea){return _0x3145c3(_0x8fe7f1-_0x926bd5._0xe8410f,_0x8fe7f1- -_0x926bd5._0x32897a,_0x160d04-_0x926bd5._0x5c8b9f,_0x160d04);}function _0x3f521e(_0x21039e,_0x5fb8b3,_0x3c3b2b,_0x1cac1b){return _0x4d75fe(_0x21039e-0xd9,_0x21039e,_0x1cac1b- -_0xd67b11._0x44eab3,_0x1cac1b-_0xd67b11._0x3e4e65);}if(_0xf1ab4e[_0x3f521e(_0x2f085d._0xca6989,_0x2f085d._0x10aead,_0x2f085d._0x86ce2a,_0x2f085d._0x2dbea4)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x62f01f(0x421,0x460,_0x2f085d._0x3eaf30,_0x2f085d._0x11a027)+GREP_MAX_PATTERN_LENGTH+'\x20characters');}function boundedGrepSnippet(_0x2ec385){const _0x388bf2={_0x1933e1:0x505,_0x439126:0x589,_0x261378:0x193},_0x4fab3c={_0x2942f5:0x6},_0x191f40={_0x3f6844:0x1a6,_0x563995:0x1ea};function _0x4311b6(_0x472004,_0x13b79d,_0x30c324,_0x249f44){return _0x4d75fe(_0x472004-_0x191f40._0x3f6844,_0x30c324,_0x472004-_0x191f40._0x563995,_0x249f44-0x1b4);}function _0x5c71bd(_0x11db59,_0x4d48d8,_0x449be4,_0x5ed8c1){return _0x4d75fe(_0x11db59-_0x4fab3c._0x2942f5,_0x5ed8c1,_0x11db59- -0x1cd,_0x5ed8c1-0x128);}return _0x2ec385[_0x4311b6(_0x388bf2._0x1933e1,_0x388bf2._0x439126,0x6f3,0x391)]>GREP_MAX_SNIPPET_LENGTH?_0x2ec385[_0x5c71bd(0x31d,0x2fa,0x3e4,_0x388bf2._0x261378)](0x0,GREP_MAX_SNIPPET_LENGTH)+'...':_0x2ec385;}async function searchRegex(_0x46530c){const _0x436f3c={_0x48f964:0x5b0,_0x4b92a4:0x5d8,_0xb3fe38:0x5b2,_0x2dff5c:0x7de,_0x17a24f:0x4b9,_0x255cd5:0x6b8,_0x3372bb:0x52e,_0x486942:0x2f0,_0xd8e6e:0x481,_0x29e099:0x54a,_0x44d966:0x3c5,_0x18402d:0x446,_0xe7cb4b:0x6b0,_0x119bc0:0x3e7,_0x3a14aa:0x5d7,_0x266880:0x406,_0x17bd55:0x6bb,_0x38cf81:0x962,_0x9d7a9f:0x34f,_0x50277d:0x57f,_0x3337aa:0x428,_0x5809ff:0x494,_0x53aecc:0x6e8,_0x1f5c78:0x282,_0x36b3fa:0x4d5,_0x3606d2:0x2ee,_0x206811:0x785,_0x1f467e:0x4ad,_0x22d006:0x3ab,_0x15cb14:0x478,_0x4d839e:0x6fc,_0x45638c:0x905,_0x15f363:0x7cf},_0x2c3c43={_0x36eeff:0x55f,_0x16c82d:0x651,_0x31bab0:0x5ac,_0x1b918e:0x52b,_0x4fa929:0x36f,_0x33fb70:0x469},_0x4a0541={_0x282808:0x8a},_0x5449a9={_0x4bb180:0xc4};validateGrepPattern(_0x46530c[_0x2020bb(0x51e,_0x436f3c._0x48f964,_0x436f3c._0x4b92a4,_0x436f3c._0xb3fe38)]);function _0x599f3c(_0xb7c63,_0x1ea7a8,_0xf01fc3,_0x2f30af){return _0x3145c3(_0xb7c63-0x10b,_0x2f30af- -0x1f8,_0xf01fc3-_0x5449a9._0x4bb180,_0xf01fc3);}const _0xfb034c=_0x46530c[_0x599f3c(0x849,_0x436f3c._0x2dff5c,_0x436f3c._0x48f964,0x6d0)]??GREP_DEFAULT_LIMIT,_0xfd120f=Number[_0x2020bb(0x641,0x2ca,_0x436f3c._0x17a24f,0x324)](_0xfb034c)?Math[_0x2020bb(_0x436f3c._0x255cd5,0x3bd,_0x436f3c._0x3372bb,0x61e)](0x1,Math[_0x599f3c(_0x436f3c._0x486942,0x28e,0x4fb,_0x436f3c._0xd8e6e)](_0xfb034c)):GREP_DEFAULT_LIMIT;if(_0x46530c['files']?.[_0x599f3c(0x4c3,_0x436f3c._0x29e099,_0x436f3c._0x44d966,0x428)]===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0x5867fd=await search({'cwd':_0x46530c[_0x599f3c(0x49a,_0x436f3c._0x18402d,0x5c8,0x63c)],'pattern':_0x46530c[_0x2020bb(_0x436f3c._0xe7cb4b,0x6bc,0x5d8,0x64a)],..._0x46530c[_0x2020bb(_0x436f3c._0x119bc0,0x800,_0x436f3c._0x3a14aa,0x43a)]===void 0x0?{}:{'files':_0x46530c['files']},..._0x46530c[_0x599f3c(_0x436f3c._0x266880,0x834,0x606,0x618)]===void 0x0?{}:{'glob':_0x46530c[_0x2020bb(0x854,_0x436f3c._0x17bd55,0x7e9,_0x436f3c._0x38cf81)]},..._0x46530c['context']===void 0x0?{}:{'context':_0x46530c[_0x2020bb(0x413,0x36a,0x517,_0x436f3c._0x9d7a9f)]},'limit':_0xfd120f+0x1});function _0x2020bb(_0x4a3ded,_0xf9f420,_0x298592,_0x1a1b35){return _0x3145c3(_0x4a3ded-0x8d,_0x298592- -0x27,_0x298592-_0x4a0541._0x282808,_0xf9f420);}const _0x1a4352=_0x5867fd['filter'](_0x31f342=>!_0x31f342[_0x599f3c(0x688,0x520,0x744,0x6af)]),_0x249f05=_0x1a4352[_0x599f3c(_0x436f3c._0x50277d,0x229,0x379,_0x436f3c._0x3337aa)]>_0xfd120f,_0xeb444b=_0x1a4352[_0x599f3c(_0x436f3c._0x5809ff,0x809,_0x436f3c._0x53aecc,0x5f7)](0x0,_0xfd120f),_0x58a136=new Set(_0xeb444b),_0x2ad272=Math[_0x599f3c(_0x436f3c._0x1f5c78,_0x436f3c._0x36b3fa,_0x436f3c._0x3606d2,0x35d)](0x0,Math[_0x2020bb(0x6e7,_0x436f3c._0x206811,0x652,_0x436f3c._0x1f467e)](_0x46530c[_0x599f3c(0x14a,_0x436f3c._0x22d006,_0x436f3c._0x15cb14,0x346)]??0x0)),_0x185302=_0x249f05?_0x5867fd[_0x599f3c(_0x436f3c._0x4d839e,_0x436f3c._0x45638c,_0x436f3c._0x15f363,0x6f5)](_0x373a49=>{const _0xc95e66={_0x1e86f0:0xe7,_0x3a92d6:0x179},_0x456c4b={_0x288cc0:0xe3,_0x5b6f0b:0x158};function _0xab7916(_0x18a3d7,_0x36da47,_0x355356,_0x23f9aa){return _0x599f3c(_0x18a3d7-_0x456c4b._0x288cc0,_0x36da47-_0x456c4b._0x5b6f0b,_0x355356,_0x18a3d7-0x57);}if(!_0x373a49['isContext'])return _0x58a136[_0xab7916(_0x2c3c43._0x36eeff,0x6b9,_0x2c3c43._0x16c82d,_0x2c3c43._0x31bab0)](_0x373a49);function _0x11ee79(_0x230892,_0x235eb5,_0x412370,_0x1465a2){return _0x599f3c(_0x230892-_0xc95e66._0x1e86f0,_0x235eb5-0xe0,_0x235eb5,_0x230892-_0xc95e66._0x3a92d6);}return _0xeb444b[_0xab7916(_0x2c3c43._0x1b918e,_0x2c3c43._0x4fa929,_0x2c3c43._0x33fb70,0x321)](_0x56aa2e=>_0x56aa2e[_0x11ee79(0x6a8,0x498,0x82a,0x752)]===_0x373a49[_0x11ee79(0x6a8,0x7b1,0x61e,0x620)]&&Math[_0xab7916(0x3e0,0x41d,0x588,0x217)](_0x56aa2e['lineNum']-_0x373a49['lineNum'])<=_0x2ad272);}):_0x5867fd;return{'matches':_0x185302,'matchCount':_0xeb444b[_0x2020bb(0x65d,0x68e,0x5f9,0x681)],'fileCount':new Set(_0x185302[_0x2020bb(0x9c6,0x9ad,0x80c,0x99a)](_0x4dfc43=>_0x4dfc43[_0x2020bb(0x80e,0x7c0,0x700,0x77f)]))['size'],'truncated':_0x249f05};}import{stat as _0x5e7aa0}from'fs/promises';import*as _0x553b67 from'path';function createGrepTool(_0x360bfa={}){const _0xa6414d={_0x7b89f3:0x6be,_0x1bd900:0x6b9,_0x4173b7:0x876,_0x4cc6f8:0x6d3,_0x215511:0x6c9,_0x180496:0x919,_0x2d07d3:0x93f,_0x459087:0x90a,_0x12e7bc:0x7c4,_0x13c3d4:0x8b6,_0x267455:0x5e1,_0xfdbb39:0x863,_0x438959:0x71f,_0x3c8df6:0x806,_0x396b41:0x8a2,_0x2f5533:0x857,_0x4e3bfe:0x733,_0x5e93e9:0x90e,_0x5e510b:0x9d9,_0x11bce9:0x79a,_0x2d68ad:0x894,_0x1f3247:0x8b9,_0x3a6d0c:0x67c,_0x4bc18a:0x897,_0x1cd2be:0x79f,_0x51c425:0x667,_0x2b1d18:0x7b4,_0x44e9c8:0x7ba},_0x1a8a3e={_0x27d768:0x140,_0x525511:0x1ee,_0x776fa0:0x161,_0x4ab4b8:0x5a1,_0x2b471c:0x558,_0x167ffa:0x390,_0x5c0c5c:0x10c,_0x80ae3:0x184,_0x4a59dd:0x2e7,_0x2d575c:0x421,_0x13806b:0x19f,_0x35821c:0x2e5,_0x33b022:0x571,_0x4144e7:0x362,_0x22bf32:0x270,_0x4cf57b:0x3ca,_0x29c708:0x340,_0x1446cd:0x514,_0x258a8d:0x627,_0x3e444d:0x510,_0x3fbe81:0x69,_0x49ae69:0x52,_0x53765d:0x576,_0x1b1dfd:0x37e,_0x461bd0:0x5f0,_0x91cd06:0x748,_0x2ed989:0x348,_0x772a7a:0x428,_0x2d376f:0x1ee,_0x29f667:0x36b,_0x1e7d4a:0x44f,_0x5891a4:0x62f,_0x581195:0x344,_0x5702f2:0x19f,_0x229cfd:0x557,_0x4403ea:0x1d8,_0x529668:0x363,_0x4a5190:0x246,_0x14fc57:0x311,_0x25aecf:0x25a,_0x4aeddf:0x2d3,_0x1a0d5a:0x26d,_0x4457f1:0x131,_0xa02e21:0x480,_0x37ea70:0x3d3,_0x11c6ec:0x5fd,_0x53237b:0x41e,_0xb82e8d:0x10e,_0x31af80:0x4c,_0x3a4872:0x514,_0x2d57ad:0x2c1,_0x5c642b:0x2ba,_0x55fff2:0x123,_0x522285:0x39e,_0xfcce8e:0x47d,_0x5bdcdf:0x53b,_0x378905:0x579,_0x5dc40a:0x3a7,_0x370cab:0x210,_0x4219d9:0x117,_0x4e942d:0x5c,_0x25e065:0x183,_0x2e2237:0x162,_0x4a584a:0x6,_0x255365:0x27a,_0x53642a:0x1fb,_0x506b91:0x1f3,_0x43ba86:0x2,_0xa00676:0x2df,_0x58b24e:0x414,_0x46b13c:0x3dc,_0x4f4890:0x327,_0x374a61:0x1f5,_0x4d6574:0x237,_0x5bd410:0xb1,_0x38e0d4:0x399,_0x58cbb8:0x56f,_0x160afc:0x17,_0x31c4f7:0x1f9,_0x18e813:0x31,_0x363c5e:0x46c,_0x1953e2:0x561,_0x1baa24:0x3f9,_0x384f7f:0x7f0,_0x53d654:0x322},_0x25caaa={_0x2df71a:0xed,_0x1f459e:0x63d},_0x56bde7={_0x425b93:0x104,_0x4535c3:0x126};function _0x1bc453(_0x2d00e0,_0x5f117c,_0x116303,_0x13122f){return _0x3145c3(_0x2d00e0-0x54,_0x13122f-_0x56bde7._0x425b93,_0x116303-_0x56bde7._0x4535c3,_0x5f117c);}const _0x241a21=_0x553b67['resolve'](_0x360bfa[_0x1bc453(0x8da,0x72a,0x5a2,_0xa6414d._0x7b89f3)]??process[_0x2e41b8(_0xa6414d._0x1bd900,_0xa6414d._0x4173b7,_0xa6414d._0x4cc6f8,_0xa6414d._0x215511)]());function _0x2e41b8(_0x2db13d,_0x968ec8,_0x3ac4d5,_0x437a3d){return _0x4d75fe(_0x2db13d-0x13c,_0x2db13d,_0x968ec8-0x347,_0x437a3d-0x8c);}const _0x47234d=_0x360bfa[_0x2e41b8(0xb0b,_0xa6414d._0x180496,_0xa6414d._0x2d07d3,0x766)]??[],_0x4ef9c0=_0x360bfa[_0x2e41b8(0x792,_0xa6414d._0x459087,_0xa6414d._0x12e7bc,_0xa6414d._0x13c3d4)]??GREP_DEFAULT_LIMIT,_0x34ae91=_0x360bfa[_0x1bc453(_0xa6414d._0x267455,0x631,_0xa6414d._0xfdbb39,_0xa6414d._0x438959)]??_0x1bc453(0x975,0x972,_0xa6414d._0x3c8df6,0x7bd);return defineTool({'name':_0x34ae91,'permissionClass':_0x2e41b8(_0xa6414d._0x396b41,_0xa6414d._0x2f5533,0x72d,0x9e2),'description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':_0x2e41b8(0x88c,_0xa6414d._0x4e3bfe,_0xa6414d._0x5e93e9,0x5b5),'properties':{'pattern':{'type':_0x2e41b8(_0xa6414d._0x5e510b,0x7f7,0x9b9,0x952)},'path':{'type':_0x1bc453(_0xa6414d._0x11bce9,_0xa6414d._0x2d68ad,0x6df,_0xa6414d._0x1f3247)},'include':{'type':_0x2e41b8(_0xa6414d._0x3a6d0c,0x7f7,_0xa6414d._0x4bc18a,_0xa6414d._0x1cd2be)},'limit':{'type':'number'},'context':{'type':_0x2e41b8(_0xa6414d._0x51c425,0x889,_0xa6414d._0x2b1d18,_0xa6414d._0x44e9c8)}},'required':['pattern']},async *'execute'(_0x55f8b7){const _0x3d3e35={_0x14dd89:0x148};try{validateGrepPattern(_0x55f8b7[_0x2e6230(_0x1a8a3e._0x27d768,0x2a1,0x1c9,0xc6)]);}catch(_0x146818){throw new ToolExecutionError(_0x146818[_0x49599d(0x129,_0x1a8a3e._0x525511,_0x1a8a3e._0x776fa0,0x114)],{});}const _0xc607d5=resolveAllowedPath(_0x241a21,_0x47234d,_0x55f8b7[_0x49599d(0x454,_0x1a8a3e._0x4ab4b8,0x43b,_0x1a8a3e._0x2b471c)]??'.'),_0x1a1cb7=await _0x5e7aa0(_0xc607d5)[_0x2e6230(_0x1a8a3e._0x167ffa,_0x1a8a3e._0x5c0c5c,0x33a,_0x1a8a3e._0x80ae3)](()=>null),_0x108f26=_0x1a1cb7?.[_0x49599d(0x3c5,0x3d8,_0x1a8a3e._0x4a59dd,0x29d)]()??![],_0xa81812=_0x1a1cb7?.[_0x2e6230(_0x1a8a3e._0x2d575c,_0x1a8a3e._0x13806b,_0x1a8a3e._0x35821c,0x333)]()??![];if(!_0x108f26&&!_0xa81812)throw new ToolExecutionError(_0x49599d(0x588,_0x1a8a3e._0x33b022,0x6e7,_0x1a8a3e._0x4144e7)+(_0x55f8b7['path']??'.'),{'path':_0x55f8b7[_0x2e6230(0x55c,_0x1a8a3e._0x22bf32,_0x1a8a3e._0x4cf57b,_0x1a8a3e._0x29c708)]??'.'});const _0x38476a=await searchRegex({'cwd':_0xa81812?_0xc607d5:_0x553b67[_0x49599d(0x723,_0x1a8a3e._0x1446cd,_0x1a8a3e._0x258a8d,_0x1a8a3e._0x3e444d)](_0xc607d5),'pattern':_0x55f8b7[_0x2e6230(_0x1a8a3e._0x3fbe81,0x81,_0x1a8a3e._0x49ae69,0xc6)],'glob':_0xa81812?_0x55f8b7[_0x2e6230(_0x1a8a3e._0x53765d,0x3c2,0x4f4,_0x1a8a3e._0x1b1dfd)]:void 0x0,'limit':_0x55f8b7[_0x49599d(0x736,_0x1a8a3e._0x461bd0,0x77e,_0x1a8a3e._0x91cd06)]??_0x4ef9c0,'files':_0x108f26?[_0xc607d5]:void 0x0,'context':_0x55f8b7['context']}),{matches:_0x4c77b5}=_0x38476a,_0x2f1fc7=new Map();for(const _0x212232 of _0x4c77b5){if(!_0x2f1fc7[_0x49599d(_0x1a8a3e._0x2ed989,_0x1a8a3e._0x772a7a,0x39d,_0x1a8a3e._0x2ed989)](_0x212232['filePath'])){const _0x19d96c=await _0x5e7aa0(_0x212232[_0x2e6230(0x89,0x5d,0x291,_0x1a8a3e._0x2d376f)])['catch'](()=>null);_0x2f1fc7['set'](_0x212232[_0x49599d(_0x1a8a3e._0x29f667,_0x1a8a3e._0x1e7d4a,_0x1a8a3e._0x5891a4,0x4c5)],{'matches':[],'mtime':_0x19d96c?.[_0x2e6230(0x32f,-0x29,_0x1a8a3e._0x581195,_0x1a8a3e._0x5702f2)]??0x0});}_0x2f1fc7[_0x2e6230(_0x1a8a3e._0x229cfd,0x44c,_0x1a8a3e._0x4403ea,_0x1a8a3e._0x529668)](_0x212232[_0x49599d(_0x1a8a3e._0x4a5190,0x44f,_0x1a8a3e._0x14fc57,_0x1a8a3e._0x25aecf)])?.[_0x49599d(_0x1a8a3e._0x4aeddf,_0x1a8a3e._0x1a0d5a,0x112,_0x1a8a3e._0x4457f1)][_0x49599d(_0x1a8a3e._0xa02e21,_0x1a8a3e._0x37ea70,_0x1a8a3e._0x11c6ec,_0x1a8a3e._0x53237b)](_0x212232);}const _0x25ceb0=[..._0x2f1fc7['entries']()][_0x2e6230(0x213,_0x1a8a3e._0xb82e8d,0x159,_0x1a8a3e._0x31af80)]((_0x26c24a,_0x284983)=>_0x284983[0x1][_0x49599d(0x2c7,0x483,0x54a,0x38f)]-_0x26c24a[0x1][_0x2e6230(0x217,0x3ad,0x1ad,0x222)]),_0x5ea5bf=_0x108f26?_0x553b67[_0x49599d(0x72d,_0x1a8a3e._0x3a4872,0x57b,0x67a)](_0xc607d5):_0xc607d5;let _0x1c455d='';if(_0x4c77b5[_0x49599d(_0x1a8a3e._0x2d57ad,0x348,0x372,_0x1a8a3e._0x5c642b)]===0x0)_0x1c455d=_0x2e6230(-0x126,0xb6,_0x1a8a3e._0x55fff2,-0x6f)+_0x55f8b7['pattern'];else{_0x1c455d='Found\x20'+_0x38476a['matchCount']+_0x49599d(_0x1a8a3e._0x522285,_0x1a8a3e._0xfcce8e,_0x1a8a3e._0x5bdcdf,_0x1a8a3e._0x378905)+(_0x38476a[_0x49599d(0x58,0x237,_0x1a8a3e._0x5dc40a,0x3d5)]===0x1?'':'es')+'\x0a';for(const [_0x56884d,_0x328ebc]of _0x25ceb0){const _0x510057=_0x108f26?_0x553b67['basename'](_0x56884d):_0x553b67['relative'](_0x5ea5bf,_0x56884d);_0x1c455d+='\x0a'+_0x510057+':\x0a';for(const _0x407d1d of _0x328ebc[_0x2e6230(_0x1a8a3e._0x370cab,_0x1a8a3e._0x4219d9,-_0x1a8a3e._0x4e942d,0xc)]){const _0x56014e=boundedGrepSnippet(_0x407d1d[_0x2e6230(-_0x1a8a3e._0x25e065,-_0x1a8a3e._0x2e2237,0x32,-_0x1a8a3e._0x4a584a)]),_0x26fa42=_0x407d1d['isContext']?'\x20\x20':'>\x20';_0x1c455d+=_0x26fa42+_0x49599d(_0x1a8a3e._0x255365,0x33f,_0x1a8a3e._0x53642a,_0x1a8a3e._0x506b91)+_0x407d1d[_0x2e6230(0x92,-_0x1a8a3e._0x43ba86,-0x20c,-0x52)]+':\x20'+_0x56014e+'\x0a';}}_0x38476a[_0x49599d(_0x1a8a3e._0xa00676,0x292,0xda,_0x1a8a3e._0x58b24e)]&&(_0x1c455d+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');}const _0x34fbcd={'searchPath':_0x553b67['relative'](_0x241a21,_0xc607d5)||'.','pattern':_0x55f8b7[_0x49599d(_0x1a8a3e._0x46b13c,_0x1a8a3e._0x4f4890,0x280,0x449)],'matchCount':_0x38476a[_0x49599d(_0x1a8a3e._0x374a61,_0x1a8a3e._0x4d6574,_0x1a8a3e._0x5bd410,0x33c)],'fileCount':_0x38476a[_0x2e6230(_0x1a8a3e._0x38e0d4,_0x1a8a3e._0x58cbb8,0x55a,0x352)],'truncated':_0x38476a[_0x2e6230(-0x5b,_0x1a8a3e._0x160afc,_0x1a8a3e._0x31c4f7,_0x1a8a3e._0x18e813)]};function _0x2e6230(_0x672ff0,_0x1589b1,_0x1ff5da,_0x1183b3){return _0x1bc453(_0x672ff0-_0x25caaa._0x2df71a,_0x672ff0,_0x1ff5da-0x1d7,_0x1183b3- -_0x25caaa._0x1f459e);}_0xa81812&&_0x55f8b7[_0x2e6230(0x415,_0x1a8a3e._0x363c5e,_0x1a8a3e._0x1953e2,0x37e)]!==void 0x0&&(_0x34fbcd[_0x2e6230(_0x1a8a3e._0x1baa24,0x485,0x26b,_0x1a8a3e._0x1b1dfd)]=_0x55f8b7[_0x49599d(_0x1a8a3e._0x384f7f,0x5df,0x6a5,0x6c7)]);function _0x49599d(_0x4cec34,_0x371ee3,_0xdbd19e,_0xe8894b){return _0x1bc453(_0x4cec34-_0x3d3e35._0x14dd89,_0xdbd19e,_0xdbd19e-0x26,_0x371ee3- -0x3dc);}return yield createToolOutput(_0x1c455d[_0x2e6230(0x279,0x476,0x34a,_0x1a8a3e._0x53d654)](),_0x34fbcd),void 0x0;}});}import{readdir,readFile as _0x602cba,stat as _0x4c9f23}from'fs/promises';import*as _0x1c625a from'path';import*as _0x56d7da from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x3e22e8,_0xdfa4af){const _0x1acff3={_0x245ad7:0x244,_0x41a58c:0x8b,_0x169576:0x23,_0x53d02d:0x177,_0x426a8f:0x55,_0x42d9b0:0x2b9},_0x5270ef={_0x5376b0:0x10a,_0x44e317:0xa6,_0x389b2f:0x9};if(_0xdfa4af>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0xbd96a5(_0x37e23a,_0x21f27d,_0x138254,_0x5c8de6){return _0x3145c3(_0x37e23a-0x13c,_0x21f27d- -0x479,_0x138254-0xa5,_0x37e23a);}const _0x166033=await _0x602cba(_0x3e22e8)[_0xbd96a5(0x192,_0x1acff3._0x245ad7,_0x1acff3._0x41a58c,0x35b)](()=>null);function _0x509535(_0x575adf,_0x8830a3,_0x41443b,_0x79f3e1){return _0x4d75fe(_0x575adf-_0x5270ef._0x5376b0,_0x79f3e1,_0x41443b-_0x5270ef._0x44e317,_0x79f3e1-_0x5270ef._0x389b2f);}if(!_0x166033||isProbablyBinary(_0x166033))return void 0x0;return _0x166033['toString'](_0xbd96a5(_0x1acff3._0x169576,_0x1acff3._0x53d02d,0x338,-_0x1acff3._0x426a8f))['split'](/\r?\n/)[_0xbd96a5(_0x1acff3._0x42d9b0,0x1a7,0x1dd,0x1cf)];}function createLsTool(_0x57d5c3={}){const _0xe1fc51={_0x54fb48:0x325,_0x117ccb:0x3e0,_0x5105ae:0x8b5,_0x5566d7:0x7b6,_0x34cf46:0xa06,_0x24cba2:0x3de,_0x2051c5:0x2fd,_0x4d7387:0x317,_0x3cf08c:0x22d,_0x28a57c:0x34b,_0x55f029:0x6f,_0x41e025:0x987,_0xb95d7:0x6c9,_0x28fab1:0x657},_0xa7ad46={_0x4e30a7:0x9f9,_0x4b278d:0x8bf,_0x4f82fe:0x935,_0x1cda58:0x9bf,_0x5c01f7:0x1f8,_0x258009:0xfe,_0x2396e6:0x240,_0x398d37:0x2a,_0x186026:0x1c7,_0x3530fe:0x501,_0x44f3ab:0x44b,_0x459547:0x750,_0x1705ca:0x70c,_0x2161b5:0x5eb,_0x14e123:0x781,_0x40ec85:0x7c3,_0x420845:0x640,_0x38ec59:0x673,_0xf9ab3f:0x364,_0x2c6cf8:0x287,_0xad2747:0x284,_0x3cdb1c:0x337,_0x33398e:0x233,_0x17ddda:0x95d,_0x2971b0:0x70f,_0x2251be:0xa55,_0xc4dbc0:0xb3,_0x558052:0x24e,_0x286e66:0x212,_0x323bac:0x27e,_0x3c8032:0x128,_0x5e3a93:0xdd,_0x5e6d51:0x693,_0xaa496f:0x5b0,_0x56a634:0x4d5,_0x21d3eb:0x6a8,_0x4b9b35:0x5ea,_0x165e35:0x24c,_0x479717:0xa9,_0xbf24ca:0x108,_0x2cb34f:0x5b1,_0x2f164f:0x885,_0x4e0080:0x22c,_0x5c2307:0x2aa,_0x554545:0x3b4,_0x2af519:0x1e3,_0x51d60a:0x797,_0x5a80e7:0x666},_0x59662e={_0x3603f8:0x91},_0x11c575={_0x31d760:0x18d},_0x4d05eb={_0x116f43:0xf3,_0x2070e6:0xc1},_0x3534cd=_0x1c625a[_0x429a6f(_0xe1fc51._0x54fb48,_0xe1fc51._0x117ccb,0x544,0x477)](_0x57d5c3['defaultCwd']??process[_0x429a6f(0x8ef,0x5c7,_0xe1fc51._0x5105ae,_0xe1fc51._0x5566d7)]());function _0x4daa19(_0x11cb9a,_0x442c5c,_0x2cd299,_0x2c395c){return _0x4d75fe(_0x11cb9a-_0x4d05eb._0x116f43,_0x442c5c,_0x11cb9a- -0x2c0,_0x2c395c-_0x4d05eb._0x2070e6);}function _0x429a6f(_0xdc9ac4,_0x27c3eb,_0x3f6d60,_0x584c0a){return _0x3145c3(_0xdc9ac4-0x3f,_0x584c0a- -0x7e,_0x3f6d60-_0x11c575._0x31d760,_0x27c3eb);}const _0x185b1c=_0x57d5c3[_0x429a6f(_0xe1fc51._0x34cf46,0x9b8,0x89d,0x859)]??[],_0x22c53b=_0x57d5c3['name']??'Ls';return defineTool({'name':_0x22c53b,'permissionClass':_0x4daa19(0x250,0x84,_0xe1fc51._0x24cba2,0x3f2),'description':'List\x20files\x20and\x20directories\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x4daa19(0x12c,_0xe1fc51._0x2051c5,_0xe1fc51._0x4d7387,_0xe1fc51._0x3cf08c),'properties':{'path':{'type':_0x4daa19(0x1f0,0x3a6,_0xe1fc51._0x28a57c,_0xe1fc51._0x55f029)},'limit':{'type':_0x429a6f(_0xe1fc51._0x41e025,_0xe1fc51._0xb95d7,_0xe1fc51._0x28fab1,0x7c9)}}},async *'execute'(_0x44bd79){const _0x4e477b={_0x39a3e7:0x148,_0xf63782:0xbe},_0x268dd6=_0x44bd79[_0x5691d6(_0xa7ad46._0x4e30a7,_0xa7ad46._0x4b278d,_0xa7ad46._0x4f82fe,_0xa7ad46._0x1cda58)]??'.',_0x1eab39=resolveAllowedPath(_0x3534cd,_0x185b1c,_0x268dd6),_0x2c95e9=await _0x4c9f23(_0x1eab39)[_0x3e72f9(0x3ce,_0xa7ad46._0x5c01f7,_0xa7ad46._0x258009,_0xa7ad46._0x2396e6)](()=>null);if(!_0x2c95e9?.[_0x3e72f9(0x388,0x318,0x1d7,0x3ef)]())throw new ToolExecutionError(_0x3e72f9(0x27,-_0xa7ad46._0x398d37,0x184,_0xa7ad46._0x186026)+_0x268dd6,{'path':_0x268dd6});const _0x3f1118=_0x44bd79[_0x3e72f9(_0xa7ad46._0x3530fe,0x28a,0x382,_0xa7ad46._0x44f3ab)]??0x3e8;function _0x3e72f9(_0x46555a,_0x3c6ba6,_0x3300b7,_0x2d053c){return _0x4daa19(_0x2d053c-_0x4e477b._0x39a3e7,_0x3c6ba6,_0x3300b7-0x172,_0x2d053c-_0x4e477b._0xf63782);}const _0x17d37f=Math[_0x5691d6(_0xa7ad46._0x459547,0x5bc,0x796,_0xa7ad46._0x1705ca)](Math['max'](Math[_0x5691d6(_0xa7ad46._0x2161b5,0x6bf,0x57b,0x73c)](_0x3f1118),0x1),0x2710);function _0x5691d6(_0x206d1b,_0x5961d6,_0x14523f,_0x2b686a){return _0x4daa19(_0x5961d6-0x60b,_0x206d1b,_0x14523f-_0x59662e._0x3603f8,_0x2b686a-0x106);}const _0x5e891b=await readdir(_0x1eab39),_0xae5ca7=[];for(const _0x38542a of _0x5e891b[_0x5691d6(0x928,0x835,_0xa7ad46._0x14e123,0x8b9)](0x0,_0x17d37f)){const _0x433995=_0x1c625a[_0x5691d6(_0xa7ad46._0x40ec85,_0xa7ad46._0x420845,_0xa7ad46._0x38ec59,0x4df)](_0x1eab39,_0x38542a),_0x52af63=await _0x4c9f23(_0x433995)[_0x3e72f9(0x161,0x134,0xd6,0x240)](()=>null);if(!_0x52af63)continue;let _0x489235=_0x3e72f9(0x17b,_0xa7ad46._0xf9ab3f,_0xa7ad46._0x2c6cf8,_0xa7ad46._0xad2747);if(_0x52af63[_0x3e72f9(_0xa7ad46._0x3cdb1c,0x6c,0x2ea,_0xa7ad46._0x33398e)]())_0x489235=_0x5691d6(0x985,0x896,_0xa7ad46._0x17ddda,0x6ec);else{if(_0x52af63[_0x5691d6(_0xa7ad46._0x2971b0,0x8b2,0x6f1,_0xa7ad46._0x2251be)]())_0x489235='directory';else{if(_0x52af63[_0x3e72f9(_0xa7ad46._0xc4dbc0,0x18,_0xa7ad46._0x558052,_0xa7ad46._0x286e66)]())_0x489235=_0x3e72f9(0x2d8,_0xa7ad46._0x323bac,-_0xa7ad46._0x3c8032,_0xa7ad46._0x5e3a93);}}const _0x3afd53={'name':_0x38542a,'type':_0x489235,'size':_0x52af63[_0x5691d6(0x626,_0xa7ad46._0x5e6d51,_0xa7ad46._0xaa496f,_0xa7ad46._0x56a634)],'mtime':_0x52af63['mtimeMs'],'mode':_0x52af63['mode']},_0x15ae9a=_0x489235==='file'?await countTextLines(_0x433995,_0x52af63[_0x5691d6(_0xa7ad46._0x21d3eb,0x693,0x506,_0xa7ad46._0x4b9b35)]):void 0x0;if(_0x15ae9a!==void 0x0)_0x3afd53[_0x3e72f9(0x272,0x27d,0x16d,_0xa7ad46._0x165e35)]=_0x15ae9a;_0xae5ca7['push'](_0x3afd53);}_0xae5ca7[_0x3e72f9(-0x50,-_0xa7ad46._0x479717,-0x19,_0xa7ad46._0xbf24ca)]((_0x4a9fb3,_0x21000f)=>_0x4a9fb3['name'][_0x5691d6(0x50c,0x5d4,0x7d7,0x679)](_0x21000f[_0x5691d6(0x57e,0x661,0x885,0x71c)]));const _0xea9dc1={'path':_0x268dd6,'total':_0xae5ca7[_0x5691d6(_0xa7ad46._0x2cb34f,0x666,_0xa7ad46._0x2f164f,0x7c0)],'truncated':_0x5e891b['length']>_0x17d37f,'entries':_0xae5ca7};return yield createToolOutput(_0x56d7da[_0x3e72f9(0x4be,_0xa7ad46._0x4e0080,_0xa7ad46._0x5c2307,_0xa7ad46._0x554545)](_0xea9dc1,{'indent':0x2,'lineWidth':0x0})[_0x3e72f9(0x230,0x2a2,_0xa7ad46._0x2af519,0x153)](),{'path':_0x268dd6,'total':_0xae5ca7['length'],'truncated':_0x5e891b[_0x5691d6(_0xa7ad46._0x51d60a,_0xa7ad46._0x5a80e7,0x544,0x60d)]>_0x17d37f,'limit':_0x17d37f,'entries':_0xae5ca7}),void 0x0;}});}import{readFile as _0x289887,stat as _0x3638b6}from'fs/promises';import*as _0x348d6c from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x4d75fe(0x1d1,0x1c9,0x207,0xa5),_0x3145c3(0x704,0x8a1,0x687,0x7af),_0x4d75fe(-0x24,0x125,0x1c3,0xcb),_0x4d75fe(0x36d,0x6d1,0x56e,0x715)]),PNG_SIGNATURE=Buffer[_0x3145c3(0x78a,0x766,0x842,0x878)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x3b54e5,_0x2a7cc3){const _0x3306c3={_0x5a6d72:0x471,_0x4c5a5a:0x5dc,_0x466967:0x49b,_0x4c2fd2:0x56b,_0x589dfd:0x6de,_0x1f5cde:0x66a,_0x4ba470:0x679,_0xb8f3a8:0x75a,_0x210760:0x5e0,_0x448fa0:0x455,_0xa9645:0x4dc,_0x2405b8:0x582,_0x1cb2c7:0x51d,_0x31d1c2:0x900,_0x4ae82a:0x5df,_0x31dcea:0x4a3,_0x359c57:0x476,_0x263366:0x7e0,_0x4234af:0x922,_0x3c55c7:0x890,_0x456af3:0x4fe,_0x2ce4fb:0x408,_0x3024d4:0x458,_0x3b7261:0x585,_0x1cfd21:0x7d4,_0x37e930:0x43c,_0x61085e:0x607,_0x19b28c:0x383,_0x50bc2c:0x4fd,_0x1b5903:0x5cd,_0xf1609f:0x5b5,_0xe7b3ad:0x52b,_0x9ff2d0:0x58a,_0x38aeb2:0x631,_0x3b66d4:0x696,_0x2f37b4:0x4fa,_0x1bb5e4:0x3fe,_0x2451bf:0x927},_0x28526b={_0x1976f3:0xfe,_0x25002a:0x227},_0x513638={_0x32ea87:0x24,_0x19724b:0x101};if(_0x3b54e5['subarray'](0x0,0x8)['equals'](PNG_SIGNATURE))return _0x16262a(_0x3306c3._0x5a6d72,0x571,0x479,0x607);if(_0x3b54e5[0x0]===0xff&&_0x3b54e5[0x1]===0xd8&&_0x3b54e5[0x2]===0xff)return _0x16262a(_0x3306c3._0x4c5a5a,0x6b9,_0x3306c3._0x466967,_0x3306c3._0x4c2fd2);const _0x1febd5=_0x3b54e5[_0x1f8235(_0x3306c3._0x589dfd,0x4e4,0x701,_0x3306c3._0x1f5cde)](0x0,0x6)[_0x16262a(0x84b,0x77e,0x68b,_0x3306c3._0x4ba470)](_0x16262a(_0x3306c3._0xb8f3a8,_0x3306c3._0x210760,_0x3306c3._0x448fa0,_0x3306c3._0xa9645));function _0x16262a(_0x35e8a3,_0x27cda9,_0x310753,_0x5f4a3a){return _0x3145c3(_0x35e8a3-0x36,_0x27cda9-_0x513638._0x32ea87,_0x310753-_0x513638._0x19724b,_0x5f4a3a);}if(_0x1febd5==='GIF87a'||_0x1febd5==='GIF89a')return _0x1f8235(_0x3306c3._0x2405b8,0x494,0x4e2,0x63b);function _0x1f8235(_0x43c227,_0x477af3,_0x359353,_0x3437bf){return _0x4d75fe(_0x43c227-_0x28526b._0x1976f3,_0x3437bf,_0x43c227-_0x28526b._0x25002a,_0x3437bf-0x5b);}if(_0x3b54e5[_0x1f8235(0x6de,_0x3306c3._0x1cb2c7,0x663,_0x3306c3._0x31d1c2)](0x0,0x4)[_0x1f8235(0x67c,_0x3306c3._0x4ae82a,_0x3306c3._0x31dcea,0x74a)](_0x16262a(0x578,0x5e0,0x7c5,_0x3306c3._0x359c57))==='RIFF'&&_0x3b54e5[_0x16262a(0x9e4,_0x3306c3._0x263366,0x90e,0x8c2)](0x8,0xc)[_0x16262a(_0x3306c3._0x4234af,0x77e,0x921,_0x3306c3._0x3c55c7)](_0x1f8235(0x4de,_0x3306c3._0x456af3,_0x3306c3._0x2ce4fb,0x696))===_0x1f8235(_0x3306c3._0x3024d4,0x633,0x623,0x572))return _0x1f8235(0x783,_0x3306c3._0x3b7261,0x7e5,_0x3306c3._0x1cfd21);const _0xc02fcf=_0x348d6c['extname'](_0x2a7cc3)[_0x1f8235(0x61b,_0x3306c3._0x37e930,0x4bf,0x6be)]();if(_0xc02fcf===_0x16262a(0x388,0x4d2,_0x3306c3._0x61085e,_0x3306c3._0x19b28c))return _0x16262a(_0x3306c3._0x50bc2c,0x571,0x375,_0x3306c3._0x1b5903);if(_0xc02fcf==='.jpg'||_0xc02fcf===_0x1f8235(_0x3306c3._0xf1609f,0x4d8,_0x3306c3._0xe7b3ad,0x78b))return'image/jpeg';if(_0xc02fcf===_0x16262a(0x6d8,_0x3306c3._0x9ff2d0,_0x3306c3._0x38aeb2,0x41c))return _0x16262a(0x874,0x684,_0x3306c3._0x3b66d4,_0x3306c3._0x2f37b4);if(_0xc02fcf===_0x16262a(0x70d,0x5b0,_0x3306c3._0x1bb5e4,0x7cc))return _0x1f8235(0x783,0x906,_0x3306c3._0x2451bf,0x99d);return void 0x0;}function normalizeDetail(_0x236ef0){const _0x57d53a={_0x12b353:0x69a,_0x4ce4f4:0x6d2,_0x20cc2d:0x839,_0x55d853:0x865},_0x298a8c={_0x24ae95:0x174,_0x227655:0x2a6,_0x39ae34:0x197},_0xcf0a4f={_0x1f7177:0x17f,_0x3aee41:0x4c0,_0x5c1bbd:0x181};if(_0x236ef0===void 0x0)return void 0x0;const _0x442b0a=_0x236ef0['trim']()[_0x5445ef(_0x57d53a._0x12b353,0x85c,0x60d,_0x57d53a._0x4ce4f4)]();if(!SUPPORTED_DETAILS['has'](_0x442b0a))throw new ToolExecutionError(_0x5445ef(_0x57d53a._0x20cc2d,0x64d,0x8b6,_0x57d53a._0x55d853)+_0x236ef0,{'detail':_0x236ef0});function _0x4f03e6(_0x4443d5,_0x437d30,_0x549168,_0x108ecc){return _0x3145c3(_0x4443d5-_0xcf0a4f._0x1f7177,_0x108ecc- -_0xcf0a4f._0x3aee41,_0x549168-_0xcf0a4f._0x5c1bbd,_0x437d30);}function _0x5445ef(_0x532c0a,_0x37138b,_0x599482,_0x158276){return _0x4d75fe(_0x532c0a-_0x298a8c._0x24ae95,_0x37138b,_0x532c0a-_0x298a8c._0x227655,_0x158276-_0x298a8c._0x39ae34);}return _0x442b0a;}function createViewFileTool(_0x18e16f={}){const _0x361288={_0x237c62:0x383,_0x401dc2:0x48c,_0x598e57:0x4b8,_0x31ed33:0x5ef,_0x5a8d68:0x475,_0x839f9b:0x1f7,_0x22cea4:0x633,_0x1581ac:0x4a9,_0x3747a3:0x37e,_0x46c330:0xc2,_0x273000:0x167,_0x166c89:0x1e8,_0x4d812e:0x616,_0x3af1b7:0x690,_0x1007fb:0x70b,_0x555874:0x3e2,_0xaef0b1:0x25c,_0x4f048a:0x367,_0x3fd37f:0x367,_0x49aecd:0x51f,_0x691609:0x4a6},_0x201e03={_0x239d0c:0x9d1,_0x4f3506:0x6a8,_0x290d34:0x52,_0x317f02:0x1a8,_0x3d3a07:0x8b7,_0x20b1ac:0x120,_0x1f2853:0x253,_0x501a99:0x317,_0x6e6b28:0x296,_0x233fbb:0x813,_0x60879:0x8b7,_0x5c4a23:0x8c8,_0x477888:0x2e7,_0x3b53aa:0x4af,_0x33aacf:0x267,_0x2803eb:0x5cd,_0x322054:0x607,_0xe4ed38:0x3ac,_0x378669:0x5ca,_0x887859:0x73f,_0x25ec98:0x471,_0x4fc021:0x3e,_0x4c5e04:0xc2,_0x5940bf:0x569,_0x23aba8:0x18d,_0x2ed610:0x375,_0x3eabb0:0x7dc,_0xe45256:0x769,_0x41a893:0x82e,_0x52881b:0x363,_0x5869cd:0x2c1,_0xdbb0f6:0x1e9,_0x10250e:0x6a7,_0x56d5a8:0xa88,_0x368997:0x66,_0x590e0d:0xf6,_0x398246:0x276,_0x514986:0x40,_0x193f5d:0x144,_0x1ee3fe:0x155,_0x1b7adf:0x764,_0x456b5f:0x11a,_0xebb74:0x256,_0x157f7c:0x750,_0x1a1fdc:0x5a2,_0x485873:0x550,_0xf5c5ba:0x5fd,_0x417331:0x484,_0x1d21a0:0x799,_0x49621e:0x6bd,_0x37b5d9:0x744,_0x5eb1fd:0x655,_0x5c02e9:0x576,_0x2e0931:0x6fb},_0x1788cd={_0x3ec0b0:0x322,_0x2fd767:0x1a},_0xd95cb5={_0x1e8444:0x58,_0x1b0bf6:0x48c},_0x5b9418={_0x5106f6:0x1e2},_0x58d97b={_0x51bb26:0x7b,_0x33f48c:0xe},_0x438b52=_0x348d6c['resolve'](_0x18e16f['defaultCwd']??process[_0x3f6a3e(_0x361288._0x237c62,_0x361288._0x401dc2,0x3e6,_0x361288._0x598e57)]());function _0x3f6a3e(_0x659432,_0x428ec3,_0x16abac,_0x4bfeb8){return _0x3145c3(_0x659432-_0x58d97b._0x51bb26,_0x16abac- -0x44e,_0x16abac-_0x58d97b._0x33f48c,_0x428ec3);}const _0x150398=_0x18e16f[_0x1b73f7(0x5d0,0x6f5,0x5c2,0x8ef)]??[];function _0x1b73f7(_0x3a7e00,_0x13f892,_0x540ba7,_0x31e969){return _0x3145c3(_0x3a7e00-0x160,_0x13f892- -_0x5b9418._0x5106f6,_0x540ba7-0x173,_0x31e969);}const _0x22b12c=_0x18e16f[_0x1b73f7(_0x361288._0x31ed33,_0x361288._0x5a8d68,0x255,0x653)]??DEFAULT_MAX_BYTES,_0x59be75=_0x18e16f[_0x3f6a3e(-0x5c,0x16c,0x1cd,0x210)]??_0x3f6a3e(0x17f,0x366,0x1fe,_0x361288._0x839f9b);return defineTool({'name':_0x59be75,'permissionClass':_0x1b73f7(0x718,_0x361288._0x22cea4,_0x361288._0x1581ac,0x816),'description':_0x3f6a3e(_0x361288._0x3747a3,_0x361288._0x46c330,_0x361288._0x273000,_0x361288._0x166c89),'inputSchema':{'type':_0x1b73f7(_0x361288._0x4d812e,0x50f,_0x361288._0x3af1b7,_0x361288._0x1007fb),'properties':{'path':{'type':_0x3f6a3e(_0x361288._0x555874,_0x361288._0xaef0b1,_0x361288._0x4f048a,0x367)},'detail':{'type':_0x3f6a3e(0x459,0x43e,_0x361288._0x3fd37f,_0x361288._0x49aecd)}},'required':[_0x3f6a3e(0x4e3,0x3a4,0x42b,_0x361288._0x691609)]},async *'execute'(_0x15014e){const _0x18e292=resolveAllowedPath(_0x438b52,_0x150398,_0x15014e[_0x202c8c(0xa69,0x8b7,_0x201e03._0x239d0c,_0x201e03._0x4f3506)]);await assertWorkspaceFile(_0x18e292);const _0x58f84c=await _0x3638b6(_0x18e292);if(_0x58f84c['size']>_0x22b12c)throw new ToolExecutionError(_0x255455(0x291,0xfa,_0x201e03._0x290d34,_0x201e03._0x317f02)+_0x15014e['path'],{'path':_0x15014e[_0x202c8c(0x97c,_0x201e03._0x3d3a07,0x706,0x845)],'maxBytes':_0x22b12c,'size':_0x58f84c[_0x255455(_0x201e03._0x20b1ac,_0x201e03._0x1f2853,0x23b,0x149)]});const _0x1e643f=await _0x289887(_0x18e292);function _0x202c8c(_0x40719d,_0x5c6e59,_0x40dcfa,_0x84d413){return _0x3f6a3e(_0x40719d-_0xd95cb5._0x1e8444,_0x40719d,_0x5c6e59-_0xd95cb5._0x1b0bf6,_0x84d413-0x121);}const _0x4576ed=detectImageMediaType(_0x1e643f,_0x18e292);if(!_0x4576ed)throw new ToolExecutionError(_0x255455(_0x201e03._0x501a99,0x143,_0x201e03._0x6e6b28,0x273)+_0x15014e[_0x202c8c(_0x201e03._0x233fbb,_0x201e03._0x60879,_0x201e03._0x5c4a23,0xa1f)],{'path':_0x15014e[_0x255455(_0x201e03._0x477888,0x252,_0x201e03._0x3b53aa,0x375)],'supported':['.gif',_0x255455(0x2f5,_0x201e03._0x33aacf,0x14a,0x18f),_0x202c8c(0x59f,_0x201e03._0x2803eb,0x746,_0x201e03._0x322054),_0x202c8c(0x342,0x4ec,0x30f,0x340),_0x202c8c(_0x201e03._0xe4ed38,_0x201e03._0x378669,_0x201e03._0x887859,_0x201e03._0x25ec98)]});const _0xe95732=normalizeDetail(_0x15014e['detail']),_0x47e1b3=[_0x255455(-0xe,0x70,-_0x201e03._0x4fc021,_0x201e03._0x4c5e04)+_0x15014e[_0x255455(_0x201e03._0x5940bf,_0x201e03._0x23aba8,0x161,_0x201e03._0x2ed610)],'MIME:\x20'+_0x4576ed,_0x202c8c(_0x201e03._0x3eabb0,_0x201e03._0xe45256,_0x201e03._0x41a893,0x545)+_0x58f84c['size']+_0x255455(0x92,_0x201e03._0x52881b,_0x201e03._0x5869cd,_0x201e03._0xdbb0f6)]['concat'](_0xe95732?[_0x202c8c(_0x201e03._0x10250e,0x8ad,_0x201e03._0x56d5a8,0x806)+_0xe95732]:[])[_0x255455(0x18,-0x9c,_0x201e03._0x368997,_0x201e03._0x590e0d)]('\x0a'),_0x5c9929=[{'type':_0x255455(_0x201e03._0x398246,_0x201e03._0x514986,_0x201e03._0x193f5d,_0x201e03._0x1ee3fe),'source':{'type':_0x202c8c(0x6c3,_0x201e03._0x1b7adf,0x5fa,0x7d5),'media_type':_0x4576ed,'data':_0x1e643f[_0x255455(0x3f3,0xb9,_0x201e03._0x456b5f,_0x201e03._0xebb74)]('base64')}},{'type':_0x202c8c(_0x201e03._0x157f7c,0x609,_0x201e03._0x1a1fdc,0x58a),'text':_0x47e1b3}];function _0x255455(_0x2037c4,_0x5b7c40,_0x55d436,_0x5050c0){return _0x1b73f7(_0x2037c4-0x104,_0x5050c0- -_0x1788cd._0x3ec0b0,_0x55d436-_0x1788cd._0x2fd767,_0x55d436);}return yield createToolOutput(_0x47e1b3,{'path':_0x15014e[_0x202c8c(0x6ce,_0x201e03._0x3d3a07,0x692,0x758)],'resolvedPath':_0x18e292,'created':_0x58f84c['birthtime'][_0x202c8c(0x68a,_0x201e03._0x485873,_0x201e03._0xf5c5ba,_0x201e03._0x417331)](),'modified':_0x58f84c[_0x202c8c(_0x201e03._0x1a1fdc,_0x201e03._0x1d21a0,_0x201e03._0x49621e,0x910)]['toISOString'](),'size':_0x58f84c[_0x202c8c(_0x201e03._0x37b5d9,0x68b,0x62d,_0x201e03._0x5eb1fd)],'mimeType':_0x4576ed,'encoding':_0x202c8c(0x8f2,0x764,_0x201e03._0x5c02e9,_0x201e03._0x2e0931),..._0xe95732?{'detail':_0xe95732}:{}},_0x5c9929),void 0x0;}});}function createQuestionId(){const _0x4c6a81={_0x3540dd:0x8e5,_0x3f4512:0x682,_0xd5c3e8:0x7d1,_0x1330fe:0x65b,_0x280d01:0x79c,_0x1ec978:0x95c,_0x5eb6a0:0x819,_0x28a0d9:0xac4,_0x30f9ff:0x889},_0x189183={_0x3fd386:0xbf,_0x1f158b:0x49},_0x21ae2b={_0x32947b:0x89};function _0x2280d3(_0x1c4795,_0x2f9725,_0x2fda7f,_0x40d13){return _0x3145c3(_0x1c4795-0x18d,_0x1c4795-_0x21ae2b._0x32947b,_0x2fda7f-0x1b7,_0x2fda7f);}function _0x2f7d96(_0x463615,_0x2245fd,_0x486709,_0x4cb41c){return _0x3145c3(_0x463615-0x71,_0x486709-_0x189183._0x3fd386,_0x486709-_0x189183._0x1f158b,_0x2245fd);}return _0x2280d3(0x957,0x979,0xa71,_0x4c6a81._0x3540dd)+Date[_0x2f7d96(_0x4c6a81._0x3f4512,_0x4c6a81._0xd5c3e8,_0x4c6a81._0x1330fe,0x4aa)]()+'-'+Math[_0x2280d3(0x7e8,_0x4c6a81._0x280d01,0x96e,0x61d)]()[_0x2f7d96(_0x4c6a81._0x1ec978,0xa15,_0x4c6a81._0x5eb6a0,0x9df)](0x24)[_0x2f7d96(_0x4c6a81._0x28a0d9,_0x4c6a81._0x30f9ff,0x8ae,0x6ef)](0x2,0x9);}function validateInput(_0x1e23af){const _0x1771ce={_0x4eacdf:0x212,_0xa95440:0x1fa,_0x15bd8f:0x4ce,_0x51cc96:0x369,_0x4a2813:0x317,_0x1baa72:0x3c1,_0x531d7c:0x11e,_0x432a4:0x317,_0x472ac4:0x1b9,_0x1840da:0x2f1,_0xaf78a0:0x199,_0x4e02e7:0x129,_0x4cd416:0x3eb,_0x3e0efe:0x59c,_0x377763:0x5d6,_0x132d47:0x3ed,_0x8d9ea5:0x243,_0x373854:0x2eb,_0x48302d:0x585,_0x53fb3e:0x51e,_0x55a386:0x3b5,_0x3317b7:0x3a2,_0xa5e4f6:0x24a,_0x510592:0x28f,_0x4eac85:0x38f,_0x142573:0x4ce,_0x23121c:0x494,_0x4c3531:0x36f,_0x41a788:0xcd,_0x92a9e:0x181,_0x103c9d:0x7a3,_0xc71f9e:0x57e,_0x594d93:0x3c0,_0x5c76f6:0x5c5,_0xe5f7aa:0x176,_0x5df72b:0x2d0,_0x547c5d:0x2f2,_0x482f5c:0x187,_0x1c7c8b:0x4c2,_0x1fad58:0x394,_0x45a8bf:0x1ab,_0x191577:0x2bd,_0x3004a4:0x2c6,_0x3d3f88:0x28c,_0x596a0c:0x27c,_0x141018:0x39e,_0x2fc7ee:0x6f7,_0x96ae2a:0x606,_0x4466f7:0xbf,_0x1e5426:0x21a,_0x737584:0x3ac,_0x3ce902:0x2ac,_0x3471d6:0x2c7,_0x477075:0x57e},_0x1c0bd9={_0x54de67:0x32e},_0x196493={_0x44d097:0x1f2};if(!Array[_0x383880(_0x1771ce._0x4eacdf,0x3dc,_0x1771ce._0xa95440,0x205)](_0x1e23af[_0x383880(0x39f,0x317,_0x1771ce._0x15bd8f,_0x1771ce._0x51cc96)])||_0x1e23af[_0x383880(0x379,_0x1771ce._0x4a2813,_0x1771ce._0x1baa72,0x36d)]['length']<0x1||_0x1e23af[_0x383880(_0x1771ce._0x531d7c,_0x1771ce._0x432a4,0x153,_0x1771ce._0x472ac4)][_0x3e9386(_0x1771ce._0x1840da,0xd4,_0x1771ce._0xaf78a0,_0x1771ce._0x4e02e7)]>0xa)throw new ToolExecutionError(_0x383880(_0x1771ce._0x4cd416,0x59c,_0x1771ce._0x3e0efe,_0x1771ce._0x377763),{'error':'invalid_questions'});function _0x3e9386(_0x5b4999,_0x396709,_0x584310,_0x1e14c4){return _0x4d75fe(_0x5b4999-0x23,_0x584310,_0x1e14c4- -_0x196493._0x44d097,_0x1e14c4-0x1a2);}function _0x383880(_0x49fac6,_0x2a9f70,_0xe745c9,_0x24d7ef){return _0x3145c3(_0x49fac6-0x80,_0x2a9f70- -_0x1c0bd9._0x54de67,_0xe745c9-0x2,_0xe745c9);}for(let _0x4cf6f6=0x0;_0x4cf6f6<_0x1e23af['questions'][_0x383880(0x381,0x2f2,0x3ba,_0x1771ce._0x132d47)];_0x4cf6f6+=0x1){const _0x106959=_0x1e23af['questions'][_0x4cf6f6];if(!_0x106959['question']||typeof _0x106959[_0x3e9386(0x1a9,_0x1771ce._0x8d9ea5,_0x1771ce._0x373854,0x10a)]!=='string')throw new ToolExecutionError(_0x3e9386(_0x1771ce._0x48302d,0x4bf,_0x1771ce._0x53fb3e,_0x1771ce._0x55a386)+(_0x4cf6f6+0x1)+_0x3e9386(0x18b,0x61,_0x1771ce._0x3317b7,_0x1771ce._0xa5e4f6));if(!_0x106959['topic']||typeof _0x106959[_0x3e9386(_0x1771ce._0x510592,0x278,0x497,_0x1771ce._0x4eac85)]!==_0x3e9386(0x398,0x2f1,0x4e7,0x2be))throw new ToolExecutionError(_0x383880(0x77e,0x57e,0x565,0x715)+(_0x4cf6f6+0x1)+_0x3e9386(_0x1771ce._0x142573,0x4ff,_0x1771ce._0x23121c,_0x1771ce._0x4c3531));if(_0x106959['topic'][_0x3e9386(-_0x1771ce._0x41a788,_0x1771ce._0x92a9e,0x137,0x129)]>0x1e)throw new ToolExecutionError(_0x383880(_0x1771ce._0x103c9d,_0x1771ce._0xc71f9e,_0x1771ce._0x594d93,_0x1771ce._0x5c76f6)+(_0x4cf6f6+0x1)+':\x20\x22topic\x22\x20must\x20be\x20max\x2030\x20characters,\x20got\x20'+_0x106959[_0x3e9386(_0x1771ce._0xe5f7aa,0x513,0x332,_0x1771ce._0x4eac85)][_0x383880(_0x1771ce._0x5df72b,_0x1771ce._0x547c5d,_0x1771ce._0x482f5c,0x2f3)]);if(!Array['isArray'](_0x106959[_0x383880(0x268,0x48f,0x683,_0x1771ce._0x1c7c8b)])||_0x106959[_0x383880(0x4f9,0x48f,0x3c5,0x5fc)]['length']<0x2||_0x106959['options'][_0x383880(0x46f,0x2f2,_0x1771ce._0x1fad58,0x3d3)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x4cf6f6+0x1)+':\x20must\x20have\x202-4\x20options');for(let _0x4d7bf9=0x0;_0x4d7bf9<_0x106959[_0x3e9386(_0x1771ce._0x45a8bf,_0x1771ce._0x191577,0x272,_0x1771ce._0x3004a4)]['length'];_0x4d7bf9+=0x1){const _0x2d0090=_0x106959[_0x3e9386(0x442,_0x1771ce._0x3d3f88,0x41f,0x2c6)][_0x4d7bf9];if(!_0x2d0090['label']||!_0x2d0090[_0x383880(0x20f,_0x1771ce._0x596a0c,_0x1771ce._0x141018,0x20b)])throw new ToolExecutionError(_0x383880(_0x1771ce._0x2fc7ee,0x57e,0x619,_0x1771ce._0x96ae2a)+(_0x4cf6f6+0x1)+_0x3e9386(-_0x1771ce._0x4466f7,-0x10d,-0x209,-0x1)+(_0x4d7bf9+0x1)+_0x383880(_0x1771ce._0x1e5426,_0x1771ce._0x737584,0x3db,0x323));}if(typeof _0x106959[_0x383880(0x2ee,0x414,0x582,0x1f4)]!==_0x3e9386(0x468,0xee,_0x1771ce._0x3ce902,_0x1771ce._0x3471d6))throw new ToolExecutionError(_0x383880(0x5c9,_0x1771ce._0x477075,0x378,0x76f)+(_0x4cf6f6+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0x1283a3){const _0x4ec72d={_0x3a8377:0x789,_0x5be4cd:0x765,_0x4581e7:0x6e0,_0x533009:0x5a2},_0x48a85f={_0x4cc411:0x14e},_0x37b611={_0x215b20:0x13};function _0x44cf3c(_0x4e5c20,_0x574f61,_0x302bea,_0x531409){return _0x4d75fe(_0x4e5c20-0x7b,_0x574f61,_0x4e5c20-0xa8,_0x531409-_0x37b611._0x215b20);}function _0x3b8b62(_0x510fa8,_0x2b7f74,_0x5167b7,_0x17d39e){return _0x3145c3(_0x510fa8-0x94,_0x5167b7- -0x153,_0x5167b7-_0x48a85f._0x4cc411,_0x2b7f74);}return _0x1283a3['questions'][_0x3b8b62(_0x4ec72d._0x3a8377,_0x4ec72d._0x5be4cd,_0x4ec72d._0x4581e7,_0x4ec72d._0x533009)]((_0x5594c0,_0x3b814e)=>({'id':'q'+_0x3b814e,'question':_0x5594c0[_0x44cf3c(0x3a4,0x4b0,0x56a,0x338)],'topic':_0x5594c0[_0x44cf3c(0x629,0x545,0x7da,0x84c)],'options':_0x5594c0[_0x3b8b62(0x6cc,0x762,0x66a,0x507)],'multiSelect':_0x5594c0[_0x3b8b62(0x503,0x52f,0x5ef,0x579)]}));}function createResult(_0x566292,_0xd9f5de,_0x4c7811){const _0x59f68d={_0x50e0dc:0x831,_0x2c45ba:0x6b9},_0x2877bf={_0xecee04:0x1ca,_0x1141fc:0xde};function _0x40f3d5(_0x207226,_0x4049d6,_0xe84dba,_0x464e0f){return _0x3145c3(_0x207226-_0x2877bf._0xecee04,_0x4049d6- -0x14d,_0xe84dba-_0x2877bf._0x1141fc,_0x207226);}const _0x1d1a4b={'questionId':_0x566292,'questionCount':_0xd9f5de,'answers':_0x4c7811};return createToolOutput('User\x20responses\x20received:\x20'+JSON[_0x40f3d5(0x7ba,0x6e4,_0x59f68d._0x50e0dc,_0x59f68d._0x2c45ba)](_0x4c7811,null,0x2),_0x1d1a4b);}function createAskUserTool(){const _0x379a43={_0x45e308:0xa02,_0x544b67:0x9ab,_0x78272b:0x7ea,_0x457848:0x75f,_0x5c1f5a:0x830,_0x1ef1ae:0x63b,_0x10774f:0x5eb,_0x27f849:0x565,_0x2ac0c8:0x4c4,_0x4e7f33:0x3fb,_0x217b2e:0x7fc,_0x15761a:0x538,_0x344abe:0x6f7,_0xf16daa:0x67d,_0x427185:0x4e7,_0x169836:0x408,_0xd0f94f:0x445,_0x52057d:0x557,_0x4e113d:0x67e,_0x420d06:0x7bb,_0x28ffa7:0x667,_0x5e8c90:0x950,_0x48661d:0x82e,_0x24cb69:0x7c4,_0x59ae2e:0x616,_0x1eeada:0x791,_0x4c38a5:0x607,_0x4524b8:0x5af,_0x1a12e1:0xa81,_0x326f63:0x7c3,_0x3d5b8f:0x6d6,_0x52b6e6:0x63b,_0x2ac3f1:0x4e8,_0x28b714:0x721,_0x581da0:0x50c,_0x1f1681:0x64b,_0x128d18:0x653},_0x526d70={_0x491709:0x222,_0x245460:0x9c,_0x3ff338:0x438,_0x237c50:0x93,_0x4a3f60:0xd2,_0x5af792:0x160,_0xa8c057:0x3f8,_0x41a10e:0x398,_0x4316aa:0xef,_0xced5b5:0x2cd,_0x2e2a63:0x20f,_0x11989d:0x187,_0x19de29:0xf6,_0x12db04:0xb8,_0x3b5190:0x11f},_0x1950f2={_0x2f2013:0x2a,_0x5907f9:0x152},_0x3ba829={_0x559b7d:0x8c,_0x56c321:0x24f};function _0x3e681a(_0x14fca2,_0x444d08,_0x99dcb3,_0x4104a1){return _0x4d75fe(_0x14fca2-_0x3ba829._0x559b7d,_0x99dcb3,_0x444d08-_0x3ba829._0x56c321,_0x4104a1-0x133);}function _0x5a33a0(_0x55da0b,_0x1b1257,_0x4736b9,_0x4e65b2){return _0x3145c3(_0x55da0b-_0x1950f2._0x2f2013,_0x4736b9-0x6,_0x4736b9-_0x1950f2._0x5907f9,_0x1b1257);}return defineTool({'name':_0x5a33a0(_0x379a43._0x45e308,_0x379a43._0x544b67,0x8dc,0xacc),'permissionClass':_0x3e681a(_0x379a43._0x78272b,_0x379a43._0x457848,0x7f5,0x90a),'description':'Ask\x20one\x20or\x20more\x20multiple-choice\x20questions\x20when\x20preferences,\x20ambiguity,\x20or\x20a\x20decision\x20blocks\x20progress.\x20Every\x20question\x20supports\x20\x22Other\x22.\x20Set\x20multiSelect\x20to\x20allow\x20multiple\x20answers.\x20Put\x20the\x20recommended\x20option\x20first\x20and\x20suffix\x20its\x20label\x20with\x20\x22(Recommended)\x22.','inputSchema':{'type':_0x3e681a(_0x379a43._0x5c1f5a,_0x379a43._0x1ef1ae,0x6bb,_0x379a43._0x10774f),'properties':{'questions':{'type':_0x5a33a0(0x4c1,_0x379a43._0x27f849,_0x379a43._0x2ac0c8,_0x379a43._0x4e7f33),'items':{'type':_0x5a33a0(_0x379a43._0x217b2e,_0x379a43._0x15761a,_0x379a43._0x344abe,0x57a),'properties':{'question':{'type':_0x5a33a0(0x7d7,_0x379a43._0xf16daa,0x7bb,0x84a)},'topic':{'type':'string'},'options':{'type':_0x3e681a(_0x379a43._0x427185,_0x379a43._0x169836,_0x379a43._0xd0f94f,_0x379a43._0x52057d),'items':{'type':'object','properties':{'label':{'type':_0x5a33a0(_0x379a43._0x4e113d,0x6b7,_0x379a43._0x420d06,_0x379a43._0x28ffa7)},'description':{'type':_0x5a33a0(_0x379a43._0x5e8c90,_0x379a43._0x48661d,_0x379a43._0x420d06,0x64a)}},'required':[_0x5a33a0(0x7c1,0x61b,0x7c1,0x89b),'description']}},'multiSelect':{'type':_0x5a33a0(0x7d7,0x821,_0x379a43._0x24cb69,0x5c9)}},'required':[_0x5a33a0(_0x379a43._0x59ae2e,_0x379a43._0x1eeada,_0x379a43._0x4c38a5,_0x379a43._0x4524b8),_0x5a33a0(0x83a,0x9e9,0x88c,_0x379a43._0x1a12e1),_0x5a33a0(0x8f2,0x814,_0x379a43._0x326f63,0x99e),'multiSelect']}},'answers':{'type':_0x3e681a(_0x379a43._0x3d5b8f,_0x379a43._0x52b6e6,_0x379a43._0x2ac3f1,_0x379a43._0x28b714),'properties':{}}},'required':[_0x5a33a0(0x641,_0x379a43._0x581da0,_0x379a43._0x1f1681,_0x379a43._0x128d18)]},async *'execute'(_0x5486e1,_0x4c585c){const _0x47a832={_0xef47a0:0x5e},_0x519dc9={_0x3faefc:0xba};function _0x45d64c(_0x5b2d6c,_0x4aea0d,_0xc336a8,_0xb48033){return _0x5a33a0(_0x5b2d6c-0x15e,_0x5b2d6c,_0xb48033- -0x202,_0xb48033-_0x519dc9._0x3faefc);}const _0x3dbd02=_0x5486e1;validateInput(_0x3dbd02);const _0x1878ca=_0x4c585c[_0x1eca75(0xf1,_0x526d70._0x491709,_0x526d70._0x245460,0x155)]??createQuestionId();if(_0x3dbd02['answers']&&Object['keys'](_0x3dbd02['answers'])['length']>0x0)return createResult(_0x1878ca,_0x3dbd02[_0x45d64c(0x2df,_0x526d70._0x3ff338,0x61c,0x449)][_0x1eca75(_0x526d70._0x237c50,-_0x526d70._0x4a3f60,_0x526d70._0x5af792,0x29e)],_0x3dbd02[_0x45d64c(0x596,_0x526d70._0xa8c057,0x499,_0x526d70._0x41a10e)]);function _0x1eca75(_0x59d896,_0x43c738,_0x10fc80,_0x6cab0c){return _0x5a33a0(_0x59d896-0xc0,_0x43c738,_0x59d896- -0x593,_0x6cab0c-_0x47a832._0xef47a0);}if(!_0x4c585c[_0x1eca75(0x179,0x2a1,0x2c0,_0x526d70._0x4316aa)])throw new ToolExecutionError(_0x1eca75(_0x526d70._0xced5b5,_0x526d70._0x2e2a63,0x2ef,0x15f));const _0x398623=buildQuestions(_0x3dbd02),_0x37862a=await _0x4c585c[_0x1eca75(0x179,0x51,_0x526d70._0x11989d,_0x526d70._0x19de29)]({'questionId':_0x1878ca,'questions':_0x398623});yield createResult(_0x1878ca,_0x3dbd02[_0x1eca75(_0x526d70._0x12db04,_0x526d70._0x3b5190,0x1ab,0x7c)][_0x1eca75(0x93,-0x106,0x1cd,0x13e)],_0x37862a);}});}import{stat as _0xc9ee77}from'fs/promises';import _0x1fd18d from'path';import{fileURLToPath as _0xaa022e}from'url';function awaitWithAbort2(_0x410b30,_0xe94ca3){const _0x28c2a8={_0x415c63:0x6df,_0x224a1f:0x70f,_0x54f886:0x712,_0x195a3e:0x75c},_0x4e3851={_0x273bdf:0x4c5,_0x532133:0x600,_0x1c565e:0x4ca,_0x3bf3e9:0x212,_0x1f1c09:0x1c8,_0x2aea96:0x320},_0x51815f={_0x368c31:0x4a0,_0x471a0f:0x12c},_0x50da1f={_0x18a66f:0xd2,_0x50813b:0xab},_0x39b448={_0x47bdf5:0x5b2},_0x193a47={_0x15c63b:0x10d,_0xa4cdb2:0xb8};function _0xd9356c(_0x1e9af4,_0x437d87,_0x1e3f5e,_0x485b4b){return _0x3145c3(_0x1e9af4-_0x193a47._0x15c63b,_0x437d87- -_0x193a47._0xa4cdb2,_0x1e3f5e-0x101,_0x1e9af4);}function _0x15ec48(_0x518f5e,_0x3446ed,_0x16316a,_0x150a1a){return _0x3145c3(_0x518f5e-0x3,_0x518f5e- -_0x39b448._0x47bdf5,_0x16316a-0x2e,_0x16316a);}if(!_0xe94ca3)return _0x410b30;if(_0xe94ca3['aborted'])return Promise[_0xd9356c(0x68f,_0x28c2a8._0x415c63,0x777,0x876)](toAbortError(_0xe94ca3[_0xd9356c(_0x28c2a8._0x224a1f,_0x28c2a8._0x54f886,_0x28c2a8._0x195a3e,0x77f)]));return new Promise((_0x40ca96,_0xd02a7d)=>{const _0x1dc473=()=>{const _0x3d7b5e={_0x41019d:0xdd};function _0x804702(_0x43b65d,_0xd1edd5,_0xc9eade,_0x5dcfab){return _0x2a9a(_0x43b65d-_0x3d7b5e._0x41019d,_0xd1edd5);}_0x58d698(),_0xd02a7d(toAbortError(_0xe94ca3[_0x804702(0x5f1,0x414,0x4f5,0x5b2)]));};function _0x28d630(_0xc60e5a,_0x4c9521,_0x4ec479,_0x174595){return _0x15ec48(_0x4ec479-0x2aa,_0x4c9521-_0x50da1f._0x18a66f,_0x4c9521,_0x174595-_0x50da1f._0x50813b);}const _0x58d698=()=>_0xe94ca3[_0x28d630(0x463,0x96,0x25c,0x3bf)]('abort',_0x1dc473);function _0x49f2dc(_0x3caaa7,_0x3992bf,_0x3a4ef0,_0x190924){return _0xd9356c(_0x3a4ef0,_0x190924- -_0x51815f._0x368c31,_0x3a4ef0-0xd6,_0x190924-_0x51815f._0x471a0f);}_0xe94ca3[_0x28d630(0x2db,_0x4e3851._0x273bdf,0x3f7,0x1e5)](_0x28d630(0x4c6,_0x4e3851._0x532133,_0x4e3851._0x1c565e,0x662),_0x1dc473,{'once':!![]}),_0x410b30[_0x28d630(_0x4e3851._0x3bf3e9,0x34,_0x4e3851._0x1f1c09,_0x4e3851._0x2aea96)](_0x4f4b4a=>{_0x58d698(),_0x40ca96(_0x4f4b4a);},_0x46fd57=>{_0x58d698(),_0xd02a7d(_0x46fd57);});});}function severityName(_0x31eaed){const _0x320b9c={_0x5c4057:0x856,_0x23935a:0x744,_0x3e891:0x7d1,_0x5c53fe:0x791,_0x3e4438:0x812,_0x28799f:0x7c7,_0x16e539:0xe1,_0x4d9373:0x118,_0x1c45bf:0x2a,_0x35a395:0x21a,_0x13e37f:0xc4},_0x28ea60={_0x7b78d9:0xc8},_0x592a5e={_0x15913f:0x1a9,_0x5a5eb2:0xfa};function _0x55ff1e(_0x4adb7e,_0x13dca1,_0x35ac45,_0x5d344e){return _0x3145c3(_0x4adb7e-_0x592a5e._0x15913f,_0x13dca1-0x75,_0x35ac45-_0x592a5e._0x5a5eb2,_0x5d344e);}function _0x226778(_0x1d2601,_0x235795,_0x5b1d3e,_0xb22d4a){return _0x4d75fe(_0x1d2601-0x1c0,_0x1d2601,_0x235795- -0x206,_0xb22d4a-_0x28ea60._0x7b78d9);}switch(_0x31eaed){case 0x1:return'Error';case 0x2:return _0x55ff1e(_0x320b9c._0x5c4057,0x73a,_0x320b9c._0x23935a,_0x320b9c._0x3e891);case 0x3:return _0x55ff1e(0x8ed,_0x320b9c._0x5c53fe,_0x320b9c._0x3e4438,_0x320b9c._0x28799f);case 0x4:return _0x226778(-_0x320b9c._0x16e539,_0x320b9c._0x4d9373,0x30f,-0xbf);default:return _0x226778(-0x1df,-_0x320b9c._0x1c45bf,-_0x320b9c._0x35a395,-_0x320b9c._0x13e37f);}}function formatSingleHover(_0x24be2d){const _0x29d0a1={_0x8cc752:0x159,_0x16cf6f:0x91a,_0x3d8301:0x649,_0x88ba86:0x789,_0x1eb2de:0x5cf,_0x1b1127:0x136,_0x5ddf62:0x1c8,_0x2f6a5d:0x86,_0x4122c9:0x27f,_0x5074e7:0x1a1,_0x4567c8:0xb,_0x5cf831:0x662,_0x5eb843:0x779,_0x5026bf:0x776,_0x10ab99:0x679,_0x2ff663:0x440,_0x17b7ff:0x218},_0x508935={_0x173d85:0x0,_0x1b0622:0x25b},_0x4aff74={_0x5e0ee5:0x18e,_0x46d03b:0x5a4,_0x474d1e:0x1ce};function _0x5ef403(_0xece5b7,_0xb7f198,_0x123acb,_0x1eee65){return _0x3145c3(_0xece5b7-_0x4aff74._0x5e0ee5,_0x123acb- -_0x4aff74._0x46d03b,_0x123acb-_0x4aff74._0x474d1e,_0xece5b7);}const _0x4192c2=_0x24be2d['contents'];if(typeof _0x4192c2===_0x5ef403(_0x29d0a1._0x8cc752,0xc6,0x211,0x19e))return _0x4192c2;if(Array['isArray'](_0x4192c2))return _0x4192c2[_0x5ad285(_0x29d0a1._0x16cf6f,_0x29d0a1._0x3d8301,_0x29d0a1._0x88ba86,0x774)](_0x7458e=>typeof _0x7458e===_0x5ad285(0x92d,0x762,0x70b,0x5a4)?_0x7458e:_0x7458e[_0x5ad285(0x92f,0x568,0x779,0x5cf)])['filter'](Boolean)[_0x5ad285(0x769,0x570,0x550,_0x29d0a1._0x1eb2de)]('\x0a\x0a');if(_0x5ef403(0x64,_0x29d0a1._0x1b1127,_0x29d0a1._0x5ddf62,0x82)in _0x4192c2)return _0x4192c2[_0x5ef403(0x1d7,_0x29d0a1._0x2f6a5d,_0x29d0a1._0x4122c9,0x5c)];function _0x5ad285(_0x475256,_0x368d42,_0x1de20c,_0x495548){return _0x4d75fe(_0x475256-_0x508935._0x173d85,_0x368d42,_0x1de20c-_0x508935._0x1b0622,_0x495548-0x102);}return _0x4192c2['language']?_0x5ef403(-_0x29d0a1._0x5074e7,0x19b,_0x29d0a1._0x4567c8,-0x18c)+_0x4192c2['language']+'\x0a'+_0x4192c2[_0x5ad285(0x6b7,_0x29d0a1._0x5cf831,_0x29d0a1._0x5eb843,0x775)]+_0x5ad285(_0x29d0a1._0x5026bf,0x82c,_0x29d0a1._0x10ab99,0x566):_0x4192c2[_0x5ef403(_0x29d0a1._0x2ff663,_0x29d0a1._0x17b7ff,0x27f,0xfa)];}function formatHover(_0x4c3579){const _0x3d3409={_0x5c6537:0x5f6,_0x2de5cb:0x5d3,_0x7ab5c9:0x575,_0x5041ed:0x816,_0x4acbfd:0x63e,_0x32e90d:0x643},_0x2b25ed={_0xe9c278:0x114},_0x9c23d6={_0x3677bd:0xcf};function _0x85f168(_0x35066e,_0x3c8bd1,_0x148c60,_0x579bc6){return _0x4d75fe(_0x35066e-0x70,_0x35066e,_0x579bc6-0x85,_0x579bc6-_0x9c23d6._0x3677bd);}if(_0x4c3579['length']===0x0)return _0x3ce65a(0x5ac,0x5eb,0x421,0x5bd);function _0x3ce65a(_0x5d798a,_0x4d5443,_0x346a94,_0x460af5){return _0x4d75fe(_0x5d798a-_0x2b25ed._0xe9c278,_0x346a94,_0x4d5443-0x2de,_0x460af5-0xfb);}return _0x4c3579[_0x3ce65a(0x8f5,0x80c,_0x3d3409._0x5c6537,0x8f0)](formatSingleHover)[_0x3ce65a(0x755,_0x3d3409._0x2de5cb,_0x3d3409._0x7ab5c9,0x651)](_0x3ce65a(_0x3d3409._0x5041ed,_0x3d3409._0x4acbfd,0x5fe,_0x3d3409._0x32e90d));}function locationPath(_0x38bbf1){const _0x2d6222={_0x457767:0x6e7,_0x24c11c:0x513,_0x4980bb:0x602,_0x2427bf:0x685,_0x4f404b:0x637,_0x4acb39:0x53d},_0x4aeec6={_0x36f6a8:0x146},_0x2e106f={_0x296dde:0x114};function _0x2f8230(_0x53b0dd,_0x1da4e6,_0x487f8c,_0x878c61){return _0x3145c3(_0x53b0dd-0xb7,_0x1da4e6- -0xb7,_0x487f8c-_0x2e106f._0x296dde,_0x53b0dd);}function _0x27ea3a(_0x221cef,_0x49e539,_0x17f085,_0x5a90ee){return _0x3145c3(_0x221cef-_0x4aeec6._0x36f6a8,_0x17f085- -0x2bf,_0x17f085-0xbc,_0x5a90ee);}if(!_0x38bbf1[_0x27ea3a(_0x2d6222._0x457767,_0x2d6222._0x24c11c,_0x2d6222._0x4980bb,0x625)](_0x27ea3a(0x4c1,_0x2d6222._0x2427bf,_0x2d6222._0x4f404b,_0x2d6222._0x4acb39)))return _0x38bbf1;return _0xaa022e(_0x38bbf1);}function formatLocations(_0x524bda){const _0x4190ab={_0x34e8dc:0x176,_0x1ea74a:0x28,_0x248d0c:0x149,_0x44938c:0x14f,_0x4c9d2:0x158,_0x247414:0xa2},_0x58a35c={_0x11c4ef:0x91,_0x15c8c4:0x219,_0x365370:0x10f,_0x33a518:0x1a4,_0xcfa007:0xd6,_0xee91d7:0x41,_0x358a27:0x6a,_0x100103:0x12e,_0x1255a6:0x7a},_0x5ec7c8={_0x546267:0x775},_0x5aa0b3={_0x539a0e:0x648,_0x193f57:0xaf},_0x42319e={_0x1ec8a0:0xef,_0x44922b:0x432,_0x25d561:0xc0};function _0x10d915(_0x4891fe,_0x671f6a,_0x1fc3d4,_0x22558c){return _0x4d75fe(_0x4891fe-_0x42319e._0x1ec8a0,_0x671f6a,_0x4891fe-_0x42319e._0x44922b,_0x22558c-_0x42319e._0x25d561);}if(_0x524bda[_0x212d43(_0x4190ab._0x34e8dc,-0x9d,-_0x4190ab._0x1ea74a,-_0x4190ab._0x248d0c)]===0x0)return _0x212d43(-_0x4190ab._0x44938c,-_0x4190ab._0x4c9d2,-_0x4190ab._0x247414,-0x120);function _0x212d43(_0x2f2c69,_0x4cd772,_0x275ed4,_0x1923fd){return _0x3145c3(_0x2f2c69-0x7f,_0x275ed4- -_0x5aa0b3._0x539a0e,_0x275ed4-_0x5aa0b3._0x193f57,_0x1923fd);}return _0x524bda['map'](_0x268eba=>{const _0x55310b={_0x5473c5:0x11e,_0xcc0f4b:0xeb},_0x72e07=_0x268eba[_0x21811d(0xd8,_0x58a35c._0x11c4ef,0x9b,_0x58a35c._0x15c8c4)][_0x21811d(0x168,_0x58a35c._0x365370,-0xf5,_0x58a35c._0x33a518)];function _0x21811d(_0x19559b,_0x341b6c,_0x3d5e85,_0x5d452e){return _0x10d915(_0x341b6c- -0x790,_0x5d452e,_0x3d5e85-_0x55310b._0x5473c5,_0x5d452e-_0x55310b._0xcc0f4b);}function _0x436d26(_0x32b452,_0x548f79,_0x6dabf3,_0x71e083){return _0x10d915(_0x71e083- -_0x5ec7c8._0x546267,_0x6dabf3,_0x6dabf3-0x7e,_0x71e083-0x113);}return locationPath(_0x268eba[_0x21811d(_0x58a35c._0xcfa007,0xe7,_0x58a35c._0xee91d7,0x1c)])+':'+(_0x72e07[_0x436d26(0x137,_0x58a35c._0x358a27,-_0x58a35c._0x100103,-_0x58a35c._0x1255a6)]+0x1)+':'+(_0x72e07['character']+0x1);})['join']('\x0a');}function isDocumentSymbol(_0xcd65ba){const _0x527833={_0x5e0750:0x2e6,_0x553b59:0x4cc},_0x5934e7={_0x4fbe18:0xb5,_0x52b3e1:0x277,_0x4e69bf:0xcd},_0x4ce267={_0x396dff:0x4e9,_0x25d782:0x1};function _0x643b49(_0x41a953,_0x1428b1,_0x125f62,_0x2c06e6){return _0x3145c3(_0x41a953-0x1f1,_0x2c06e6- -_0x4ce267._0x396dff,_0x125f62-_0x4ce267._0x25d782,_0x125f62);}function _0x37aecc(_0x2c379e,_0x1d88b0,_0x4b5581,_0x2117a6){return _0x3145c3(_0x2c379e-_0x5934e7._0x4fbe18,_0x1d88b0- -_0x5934e7._0x52b3e1,_0x4b5581-_0x5934e7._0x4e69bf,_0x2c379e);}return _0x37aecc(0x38a,0x47d,0x574,_0x527833._0x5e0750)in _0xcd65ba&&_0x37aecc(0x4e7,0x329,0x4d5,_0x527833._0x553b59)in _0xcd65ba;}function formatSymbols(_0x21a793){const _0x18bd0a={_0x507544:0x24e,_0x3ff542:0x320,_0xbf8480:0x466,_0x2bdf1d:0x5f4},_0x3addb8={_0xf0731f:0x299,_0x24294f:0x323,_0x553a1e:0x1ad,_0xed5a83:0x2b,_0x3123a7:0x141,_0x19e4c2:0x272,_0x3e6b2c:0x25f,_0x36102f:0x22f,_0x175a30:0x3d,_0x344dd5:0x36c,_0x36a112:0x358,_0x38fafa:0x2e1,_0x3bed6b:0x2ae,_0x49dc0e:0x410,_0x1859da:0x2dc,_0x36d02c:0x43e,_0x132c40:0x3ca,_0x32a495:0x412,_0x25e2e3:0x21,_0x481b20:0x200,_0x341afc:0x2ac,_0xf0c489:0x2af,_0x204e43:0x255,_0xc22437:0x362,_0x2cb440:0x32e,_0x5384c7:0x93},_0x445ba1={_0x1fbe3b:0x151},_0x4f8b5b={_0x4eb051:0x13b,_0x288daf:0x1c};function _0x3c82ba(_0x365a54,_0x35d0f6,_0x3452e1,_0x1b1d1a){return _0x4d75fe(_0x365a54-_0x4f8b5b._0x4eb051,_0x35d0f6,_0x365a54-0x2ff,_0x1b1d1a-_0x4f8b5b._0x288daf);}function _0x25750a(_0x4019fd,_0xcc38bd,_0x32356c,_0x127bf9){return _0x4d75fe(_0x4019fd-_0x445ba1._0x1fbe3b,_0x4019fd,_0xcc38bd- -0x4f,_0x127bf9-0x89);}if(_0x21a793['length']===0x0)return _0x25750a(_0x18bd0a._0x507544,0x452,_0x18bd0a._0x3ff542,_0x18bd0a._0xbf8480);return _0x21a793['map'](_0x323ec0=>{if(isDocumentSymbol(_0x323ec0))return _0x323ec0[_0x343b92(_0x3addb8._0xf0731f,_0x3addb8._0x24294f,_0x3addb8._0x553a1e,-_0x3addb8._0xed5a83)]+'\x20('+_0x323ec0[_0x2ba274(0x2b8,0x239,_0x3addb8._0x3123a7,_0x3addb8._0x19e4c2)]+')\x20['+(_0x323ec0['range'][_0x343b92(0x399,_0x3addb8._0x3e6b2c,0x304,_0x3addb8._0x36102f)][_0x2ba274(-0x1a5,-0x20b,-0x5d,-_0x3addb8._0x175a30)]+0x1)+':'+(_0x323ec0['range'][_0x2ba274(_0x3addb8._0x344dd5,_0x3addb8._0x36a112,0x147,0x366)]['character']+0x1)+']';function _0x343b92(_0x83b2aa,_0xb1ef65,_0x3da006,_0x5ba044){return _0x25750a(_0xb1ef65,_0x3da006- -0x11a,_0x3da006-0x1b2,_0x5ba044-0x8e);}function _0x2ba274(_0x456ad0,_0x10bb60,_0x381d88,_0x3cc728){return _0x25750a(_0x456ad0,_0x381d88- -0x2d7,_0x381d88-0x1c4,_0x3cc728-0x19a);}return _0x323ec0['name']+'\x20('+_0x323ec0[_0x343b92(0x285,_0x3addb8._0x38fafa,0x2fe,_0x3addb8._0x3bed6b)]+')\x20'+locationPath(_0x323ec0[_0x343b92(0x59e,0x330,0x412,0x39f)][_0x343b92(_0x3addb8._0x49dc0e,0x3e8,_0x3addb8._0x1859da,_0x3addb8._0x36d02c)])+':'+(_0x323ec0[_0x343b92(_0x3addb8._0x132c40,0x57f,_0x3addb8._0x32a495,0x634)][_0x2ba274(0xab,-_0x3addb8._0x25e2e3,0xc9,_0x3addb8._0x481b20)][_0x2ba274(0x198,0x9c,0x147,0x1c4)][_0x343b92(-0x61,_0x3addb8._0x341afc,0x160,0x10d)]+0x1)+':'+(_0x323ec0[_0x2ba274(0x30f,_0x3addb8._0xf0c489,_0x3addb8._0x204e43,_0x3addb8._0xc22437)]['range'][_0x2ba274(_0x3addb8._0x2cb440,0x2d2,0x147,_0x3addb8._0x5384c7)]['character']+0x1);})[_0x3c82ba(_0x18bd0a._0x2bdf1d,0x5f1,0x554,0x59f)]('\x0a');}function formatDiagnostics(_0x560d59){const _0x3210a0={_0x2aecc8:0xa8,_0x9b8c32:0x1eb,_0x4ffb9a:0xb7,_0x5b9a52:0x402,_0x185f07:0x4cc,_0x1dce2c:0x448},_0x292428={_0x2b82dd:0x8ae,_0x5be581:0x6dc,_0x1a402c:0x724,_0x54f1e1:0x756,_0x1cd098:0x431,_0x184016:0x534,_0x45aa43:0x479,_0x4994b3:0x54e,_0x57fd18:0x669,_0x3afbfa:0x7cf,_0x45486f:0x5f0,_0x32d391:0x64c,_0x4c237a:0x2c9,_0x2c8cec:0x6be},_0x32853f={_0x27e949:0x151},_0xe224ad={_0x2c3f6c:0x1a1,_0x5c8b16:0x1b2,_0x3e7231:0x53};function _0x397236(_0x431a09,_0x1eba07,_0x21cc1d,_0x77090d){return _0x3145c3(_0x431a09-_0xe224ad._0x2c3f6c,_0x77090d- -_0xe224ad._0x5c8b16,_0x21cc1d-_0xe224ad._0x3e7231,_0x431a09);}function _0x389497(_0x1a0d8c,_0x41a3b6,_0x3d91f8,_0xaee631){return _0x3145c3(_0x1a0d8c-_0x32853f._0x27e949,_0xaee631- -0x5ba,_0x3d91f8-0x1f4,_0x3d91f8);}if(_0x560d59['length']===0x0)return _0x389497(-_0x3210a0._0x2aecc8,-0x9f,-0x1a7,-0x27);return _0x560d59[_0x389497(_0x3210a0._0x9b8c32,0x413,_0x3210a0._0x4ffb9a,0x279)](_0x55f47a=>{const _0x528f89={_0x561919:0x141,_0x4b84b1:0x5a2};function _0x23a5b5(_0x42ca10,_0xbcb5e5,_0x3c5c19,_0x4a70ef){return _0x397236(_0x4a70ef,_0xbcb5e5-0xbd,_0x3c5c19-0x134,_0x3c5c19-0x132);}const _0x3c93ff=_0x55f47a[_0x11013c(_0x292428._0x2b82dd,_0x292428._0x5be581,_0x292428._0x1a402c,0x7a3)][_0x23a5b5(0x5d9,_0x292428._0x54f1e1,0x6f2,0x740)];function _0x11013c(_0x34bd69,_0xb8b0d,_0x1a9829,_0x33257f){return _0x389497(_0x34bd69-0x10c,_0xb8b0d-_0x528f89._0x561919,_0x34bd69,_0xb8b0d-_0x528f89._0x4b84b1);}return severityName(_0x55f47a[_0x23a5b5(_0x292428._0x1cd098,0x6c8,_0x292428._0x184016,0x3dc)])+'\x20['+(_0x3c93ff[_0x23a5b5(0x5ce,_0x292428._0x45aa43,_0x292428._0x4994b3,0x53f)]+0x1)+':'+(_0x3c93ff[_0x11013c(_0x292428._0x57fd18,_0x292428._0x3afbfa,_0x292428._0x45486f,_0x292428._0x32d391)]+0x1)+']\x20'+_0x55f47a[_0x11013c(0x4c8,0x4ae,_0x292428._0x4c237a,_0x292428._0x2c8cec)];})[_0x397236(0x5db,_0x3210a0._0x5b9a52,_0x3210a0._0x185f07,_0x3210a0._0x1dce2c)]('\x0a');}function formatIncomingCalls(_0xf2dcd7){const _0x597e60={_0x3b7df0:0x92f,_0x586613:0x746,_0x4bbe1f:0x6c5,_0x18dab7:0x91a,_0x5a9052:0x911,_0x51fddf:0x8b8,_0xa3050b:0x751,_0x47d745:0x758,_0x106f9f:0x6c4},_0x52cde3={_0x26280b:0x16d},_0x51f658={_0x3891b:0x159,_0x3cd5f3:0x4e2};if(_0xf2dcd7['length']===0x0)return _0x1e38eb(_0x597e60._0x3b7df0,_0x597e60._0x586613,_0x597e60._0x4bbe1f,_0x597e60._0x18dab7);function _0x1ce76c(_0x25bfbe,_0x191193,_0x1008d3,_0x39c541){return _0x3145c3(_0x25bfbe-_0x51f658._0x3891b,_0x191193- -_0x51f658._0x3cd5f3,_0x1008d3-0x7f,_0x39c541);}function _0x1e38eb(_0x2acff9,_0x393ded,_0x34bc93,_0x31ce3d){return _0x4d75fe(_0x2acff9-_0x52cde3._0x26280b,_0x34bc93,_0x393ded-0x38a,_0x31ce3d-0x10a);}return _0xf2dcd7[_0x1e38eb(_0x597e60._0x5a9052,_0x597e60._0x51fddf,_0x597e60._0xa3050b,_0x597e60._0x47d745)](_0xcc6ecb=>_0xcc6ecb['from'][_0x1e38eb(0x4e9,0x6a0,0x638,0x8c3)])[_0x1e38eb(_0x597e60._0x106f9f,0x67f,0x576,0x7ae)]('\x0a');}function formatOutgoingCalls(_0x2c15fd){const _0x17f476={_0x28cf11:0x36a,_0x8550ec:0x4fd,_0x476768:0x42a,_0x5a42d4:0x27a},_0x151ffb={_0x3917b9:0xb2,_0x50203d:0x10},_0x3b02ff={_0x3da66c:0x191,_0x4e8ec0:0xfd};function _0x54c821(_0x58f8f0,_0x46d7a3,_0x1de473,_0x273140){return _0x3145c3(_0x58f8f0-_0x3b02ff._0x3da66c,_0x58f8f0- -0x1d0,_0x1de473-_0x3b02ff._0x4e8ec0,_0x273140);}if(_0x2c15fd[_0x1afe4f(_0x17f476._0x28cf11,_0x17f476._0x8550ec,0x359,0x45d)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x1afe4f(_0x199fff,_0x4d83a1,_0xc48dc5,_0x5f3bfa){return _0x3145c3(_0x199fff-_0x151ffb._0x3917b9,_0x4d83a1- -0x123,_0xc48dc5-_0x151ffb._0x50203d,_0x5f3bfa);}return _0x2c15fd['map'](_0x2cee39=>_0x2cee39['to'][_0x54c821(0x44b,0x369,0x565,0x33f)])[_0x54c821(_0x17f476._0x476768,_0x17f476._0x5a42d4,0x38e,0x211)]('\x0a');}function toStructured(_0x2c4660){const _0x4deb4e={_0x466a4a:0xaa1,_0x10d23a:0x8f1,_0x1b7119:0xa81,_0x465734:0x79c,_0x3883ed:0x71c},_0x10a496={_0x46ecb3:0xf1,_0x459695:0x3d1,_0x22efcf:0x187},_0x2cca8b={_0x27eb71:0x11};function _0x53e236(_0x3a4c23,_0xbb6596,_0x5aefa5,_0x30646){return _0x4d75fe(_0x3a4c23-0x1af,_0x3a4c23,_0x30646- -_0x2cca8b._0x27eb71,_0x30646-0xa6);}function _0x416135(_0x5ed4bc,_0x174627,_0x1464a7,_0x11192f){return _0x4d75fe(_0x5ed4bc-_0x10a496._0x46ecb3,_0x5ed4bc,_0x174627-_0x10a496._0x459695,_0x11192f-_0x10a496._0x22efcf);}return JSON[_0x416135(_0x4deb4e._0x466a4a,_0x4deb4e._0x10d23a,_0x4deb4e._0x1b7119,0x86b)](JSON[_0x416135(0x884,0x8fd,_0x4deb4e._0x465734,_0x4deb4e._0x3883ed)](_0x2c4660));}async function assertFile(_0x2dbae2){const _0x5dcdac={_0x40bd63:0x1fe,_0x5ce3e4:0x80e,_0x543181:0x75a},_0x58052e={_0x4c24d2:0x13a,_0x20e44a:0x70},_0x838bd1={_0x27baa6:0x1e,_0x1e0327:0x15a};function _0x40d09d(_0x494ce,_0x56f600,_0x341bd2,_0x16ab07){return _0x4d75fe(_0x494ce-_0x838bd1._0x27baa6,_0x494ce,_0x56f600- -0x57,_0x16ab07-_0x838bd1._0x1e0327);}function _0x56fb4c(_0x3f78f5,_0x15300a,_0x134f2a,_0x272522){return _0x3145c3(_0x3f78f5-_0x58052e._0x4c24d2,_0x3f78f5- -0x2b,_0x134f2a-_0x58052e._0x20e44a,_0x272522);}const _0x2b4ae0=await _0xc9ee77(_0x2dbae2);if(!_0x2b4ae0[_0x40d09d(0x56f,0x354,0x356,_0x5dcdac._0x40bd63)]())throw new ToolExecutionError(_0x56fb4c(_0x5dcdac._0x5ce3e4,_0x5dcdac._0x543181,0xa00,0x717)+_0x2dbae2,{'path':_0x2dbae2});}function validatePosition(_0x356e13,_0x3c950a){const _0x1d4f59={_0x5d030f:0x28c,_0x23df09:0x1c9,_0x2a966c:0xc0,_0x5ae9e2:0x218},_0x3b6a90={_0x32e45b:0xad},_0x499562={_0xf7e8c2:0x1fd,_0x5b23ba:0x1b3};function _0x41b039(_0x507d00,_0x55fd98,_0x17b2c3,_0x175bee){return _0x4d75fe(_0x507d00-0x1ea,_0x175bee,_0x17b2c3- -_0x499562._0xf7e8c2,_0x175bee-_0x499562._0x5b23ba);}function _0x15897f(_0x1d885f,_0x51f2ee,_0x5bb975,_0x457955){return _0x3145c3(_0x1d885f-0x6,_0x51f2ee- -0x17e,_0x5bb975-_0x3b6a90._0x32e45b,_0x1d885f);}if(!Number['isInteger'](_0x356e13)||_0x356e13<0x1)throw new ToolExecutionError(_0x41b039(0x16f,_0x1d4f59._0x5d030f,_0x1d4f59._0x23df09,_0x1d4f59._0x2a966c),{'line':_0x356e13});if(!Number['isInteger'](_0x3c950a)||_0x3c950a<0x1)throw new ToolExecutionError(_0x15897f(0x20f,0x3d8,0x457,_0x1d4f59._0x5ae9e2),{'character':_0x3c950a});}function createLspTool(_0x3a46d4={}){const _0x15dfb2={_0x214753:0x4e6,_0x4f896c:0x58c,_0x21fce8:0x4c4,_0x52e434:0x79e,_0x572cea:0x960,_0x468ad1:0xa6e,_0x27abf2:0x80e,_0xd5f40d:0x66e,_0x21698e:0x9e0,_0x49f3ce:0x81d,_0x23bd12:0x870,_0x1d0dc5:0x6d2,_0xa5a0d7:0x616,_0x1ea73f:0x7bd,_0x2c7f09:0x782,_0x588d50:0x37d,_0x2a9e4d:0x4c3,_0x52d682:0x45a,_0x34915a:0x5e4,_0x11129c:0x450,_0x173b55:0x523,_0x171ddc:0x414,_0x200964:0x47f,_0x1ba745:0x8de,_0x19f4f0:0x9ce,_0x44e654:0x96c,_0x3bbb6f:0x7d2,_0x5e8323:0x8e2,_0xaa8853:0x8e1,_0x284a3b:0x7af,_0x14d6b7:0xad5,_0x2b0b99:0x819,_0x8478bd:0x9b8,_0x140960:0x774,_0x16efe6:0x723,_0x52cfac:0x714,_0x52b56f:0x853,_0x309c6e:0x80b,_0x2ef944:0x6fa,_0x438b38:0x913,_0xe34301:0xb10},_0x4fb850={_0x1bfd7e:0x3cc,_0x48fbaa:0x280,_0x4ae840:0x1fe,_0x33b8b0:0x68d,_0x4fac9a:0x532,_0x1a9d55:0x8b2,_0x2b93f4:0x697,_0x97bea3:0x3ff,_0x3e5f40:0x486,_0x2d38ec:0x529,_0x55330e:0x452,_0x34043:0x431,_0x1283cb:0x4f4,_0x5af3d8:0x4b7,_0x9751d3:0x686,_0x26b982:0x7a1,_0xc48bf8:0x75e,_0x1edb49:0x59f,_0x1dac60:0x5fd,_0x5bc649:0x935,_0xd6ea22:0x61f,_0xa20cc0:0x8e7,_0x4e3604:0x7f5,_0x190b98:0x644,_0x429e33:0x4db,_0x4dbfc3:0x7c1,_0x3512e6:0x4f9,_0xad344f:0x4a0,_0x22d728:0x6cf,_0x2f724a:0x5d2,_0x3e3e91:0x516,_0x3a28f4:0x465,_0x66d284:0x65c,_0x3f36c1:0x5d1,_0x341a78:0x6bc,_0x4492a9:0x729,_0x4d3909:0x538,_0x296274:0x3a2,_0x2f1b25:0x4b3,_0x509e55:0x59b,_0x2cfb39:0x507,_0x520537:0x7b6,_0x5ccb33:0x6cf,_0x370b34:0x578,_0x16641b:0x662,_0x1b5d5c:0x4e9,_0x42a9fb:0x46d,_0xf3880e:0x458,_0x1bc69f:0x435,_0x46ef11:0x544,_0x3dc291:0x4fd,_0x5710d2:0x3d1,_0x2c4865:0x45a,_0x3b0de5:0x292,_0x477903:0x627,_0x28f2bf:0x575,_0x3f98ef:0x5a5,_0x4ba4c2:0x43f,_0x50521e:0x560,_0x5a7b62:0x6e7,_0x4e2221:0x78b,_0x27c411:0x600,_0x41d166:0x3e3,_0x59f0b6:0x3af,_0x180ec2:0x68f,_0x4a7d13:0x899,_0x580c31:0x5cd,_0x3f5802:0x6f6,_0x124336:0x669,_0x53b5fa:0x5f8,_0x56450d:0x418,_0x153040:0x20e,_0x353770:0x6bb,_0x266480:0x543,_0x58c956:0x5fb,_0x26ee9b:0x3bf,_0x4e6bad:0x40b,_0x3a0b3c:0x2a5,_0x20384c:0x30d,_0x27e836:0x943,_0xa93c87:0x81e,_0x3ef39c:0x804,_0x2bfddd:0x80c,_0x458456:0x675,_0x1587f8:0x61e,_0x45e6d8:0x6d7,_0x1eb639:0x97e,_0x3fe6f6:0x83c,_0x5dae6a:0x45f,_0x10c429:0x92e,_0x165ba1:0x511,_0x85496f:0x729},_0x4599d0={_0x4fcf70:0x38,_0x5e4488:0x144},_0x146881={_0x528cc9:0x189,_0x40bcb0:0x12c},_0x4deac7={_0x455703:0x69,_0x3040f2:0x2d7,_0x1e2a4f:0x141};function _0x4879c8(_0x2883b3,_0x121ed1,_0xbfeb50,_0x51a880){return _0x4d75fe(_0x2883b3-_0x4deac7._0x455703,_0xbfeb50,_0x121ed1-_0x4deac7._0x3040f2,_0x51a880-_0x4deac7._0x1e2a4f);}function _0x51bbb0(_0x11158a,_0x43ebf2,_0x4625bc,_0x5e0600){return _0x3145c3(_0x11158a-_0x146881._0x528cc9,_0x43ebf2-_0x146881._0x40bcb0,_0x4625bc-0x98,_0x11158a);}const _0x441a3b=_0x1fd18d['resolve'](_0x3a46d4[_0x4879c8(_0x15dfb2._0x214753,_0x15dfb2._0x4f896c,_0x15dfb2._0x21fce8,0x526)]??process[_0x51bbb0(_0x15dfb2._0x52e434,_0x15dfb2._0x572cea,0xb76,_0x15dfb2._0x468ad1)]()),_0x498d7a=_0x3a46d4[_0x51bbb0(0xb50,0xa03,_0x15dfb2._0x27abf2,0x9e0)]??[],_0x220595=_0x3a46d4[_0x4879c8(0x6f0,0x5ed,_0x15dfb2._0xd5f40d,0x628)]??'Lsp';return defineTool({'name':_0x220595,'permissionClass':'read','description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':_0x51bbb0(_0x15dfb2._0x21698e,_0x15dfb2._0x49f3ce,0x816,0x678),'properties':{'operation':{'type':_0x4879c8(_0x15dfb2._0x23bd12,0x787,0x8a4,_0x15dfb2._0x1d0dc5),'enum':[_0x51bbb0(_0x15dfb2._0xa5a0d7,_0x15dfb2._0x1ea73f,_0x15dfb2._0x2c7f09,0x86a),_0x51bbb0(0x4d5,0x6d8,0x69e,0x5ce),'hover',_0x4879c8(_0x15dfb2._0x588d50,_0x15dfb2._0x2a9e4d,0x33d,_0x15dfb2._0x52d682),_0x51bbb0(0x5b6,_0x15dfb2._0x34915a,0x57d,0x4e4),_0x4879c8(_0x15dfb2._0x11129c,_0x15dfb2._0x173b55,_0x15dfb2._0x171ddc,_0x15dfb2._0x200964),'prepareCallHierarchy',_0x51bbb0(_0x15dfb2._0x1ba745,_0x15dfb2._0x19f4f0,0x7e5,_0x15dfb2._0x44e654),'outgoingCalls',_0x51bbb0(0x760,_0x15dfb2._0x3bbb6f,0x723,0x761)]},'filePath':{'type':_0x51bbb0(_0x15dfb2._0x5e8323,_0x15dfb2._0xaa8853,_0x15dfb2._0x284a3b,_0x15dfb2._0x14d6b7)},'line':{'type':'number'},'character':{'type':_0x4879c8(0x64e,_0x15dfb2._0x2b0b99,0x621,_0x15dfb2._0x8478bd)},'query':{'type':_0x4879c8(_0x15dfb2._0x140960,0x787,0x949,0x73d)}},'required':[_0x4879c8(_0x15dfb2._0x16efe6,0x728,0x91c,0x77a),_0x51bbb0(_0x15dfb2._0x52cfac,_0x15dfb2._0x52b56f,0x970,_0x15dfb2._0x309c6e),_0x51bbb0(0x82b,_0x15dfb2._0x2ef944,0x63c,0x550),_0x51bbb0(0xb0b,_0x15dfb2._0x438b38,0x6f2,_0x15dfb2._0xe34301)]},async *'execute'(_0x98fee,_0x4ac04a){const _0x38c50c={_0x51768a:0x378,_0x5946f7:0x1e2};function _0xa91aa1(_0x1d8466,_0x43a48e,_0x41092f,_0x2720d2){return _0x51bbb0(_0x2720d2,_0x41092f- -_0x38c50c._0x51768a,_0x41092f-0xb9,_0x2720d2-_0x38c50c._0x5946f7);}const _0x26ea01=_0x3a46d4['lspService'];function _0x4dc011(_0x5d9fc4,_0x38d947,_0x6d3915,_0x39cc53){return _0x4879c8(_0x5d9fc4-0x15e,_0x39cc53- -_0x4599d0._0x4fcf70,_0x6d3915,_0x39cc53-_0x4599d0._0x5e4488);}if(!_0x26ea01)throw new ToolExecutionError(_0xa91aa1(0x36a,_0x4fb850._0x1bfd7e,_0x4fb850._0x48fbaa,_0x4fb850._0x4ae840));if(!_0x26ea01['isEnabled']())throw new ToolExecutionError(_0xa91aa1(0x56b,0x5cf,_0x4fb850._0x33b8b0,0x597));const _0x5e8b46=_0x98fee[_0x4dc011(0x804,0x78c,_0x4fb850._0x4fac9a,0x6f0)];validatePosition(_0x98fee['line'],_0x98fee[_0x4dc011(_0x4fb850._0x1a9d55,_0x4fb850._0x2b93f4,0x8a6,0x781)]);if(_0x5e8b46===_0x4dc011(_0x4fb850._0x97bea3,_0x4fb850._0x3e5f40,_0x4fb850._0x2d38ec,_0x4fb850._0x55330e)){if(!_0x98fee[_0x4dc011(_0x4fb850._0x34043,_0x4fb850._0x1283cb,_0x4fb850._0x5af3d8,0x4db)]?.['trim']())throw new ToolExecutionError(_0x4dc011(_0x4fb850._0x9751d3,0x84e,_0x4fb850._0x26b982,_0x4fb850._0xc48bf8));const _0x431c70=await awaitWithAbort2(_0x26ea01[_0x4dc011(_0x4fb850._0x1edb49,0x5d4,_0x4fb850._0x1dac60,_0x4fb850._0x55330e)](_0x98fee[_0xa91aa1(0x16c,0x28d,0x2f5,0x497)][_0x4dc011(_0x4fb850._0x5bc649,_0x4fb850._0xd6ea22,_0x4fb850._0xa20cc0,_0x4fb850._0x4e3604)]()),_0x4ac04a['signal']);return yield createToolOutput(formatSymbols(_0x431c70),{'operation':_0x5e8b46,'query':_0x98fee[_0x4dc011(0x3a2,_0x4fb850._0x190b98,0x691,_0x4fb850._0x429e33)],'symbols':_0x431c70}),void 0x0;}const _0x18160e=resolveAllowedPath(_0x441a3b,_0x498d7a,_0x98fee['filePath']);await assertFile(_0x18160e);if(!await awaitWithAbort2(_0x26ea01[_0x4dc011(_0x4fb850._0x4dbfc3,0x815,0x780,0x7ac)](_0x18160e),_0x4ac04a[_0xa91aa1(_0x4fb850._0x3512e6,0x6cc,0x543,0x5cb)]))throw new ToolExecutionError(_0x4dc011(0x616,_0x4fb850._0xad344f,_0x4fb850._0x22d728,_0x4fb850._0x2f724a)+_0x98fee[_0xa91aa1(_0x4fb850._0x3e3e91,0x5c9,0x4db,0x5c7)],{'filePath':_0x98fee['filePath']});await awaitWithAbort2(_0x26ea01[_0xa91aa1(0x451,0x2f6,_0x4fb850._0x3a28f4,_0x4fb850._0x66d284)](_0x18160e,!![]),_0x4ac04a[_0x4dc011(0x925,_0x4fb850._0x3f36c1,_0x4fb850._0x341a78,_0x4fb850._0x4492a9)]);const _0x325d3f={'file':_0x18160e,'line':_0x98fee[_0x4dc011(_0x4fb850._0x4d3909,_0x4fb850._0x296274,_0x4fb850._0x2f1b25,0x568)]-0x1,'character':_0x98fee[_0xa91aa1(0x78c,0x427,_0x4fb850._0x509e55,0x50e)]-0x1};switch(_0x5e8b46){case _0x4dc011(_0x4fb850._0x2cfb39,0x7cc,_0x4fb850._0x520537,_0x4fb850._0x5ccb33):{const _0x516e76=await awaitWithAbort2(_0x26ea01[_0xa91aa1(_0x4fb850._0x370b34,_0x4fb850._0x16641b,_0x4fb850._0x1b5d5c,_0x4fb850._0x42a9fb)](_0x325d3f),_0x4ac04a[_0xa91aa1(_0x4fb850._0xf3880e,_0x4fb850._0x1bc69f,0x543,_0x4fb850._0x46ef11)]);return yield createToolOutput(formatHover(_0x516e76),{'operation':_0x5e8b46,'filePath':_0x18160e,'hover':_0x516e76}),void 0x0;}case _0xa91aa1(_0x4fb850._0x3dc291,_0x4fb850._0x5710d2,_0x4fb850._0x2c4865,_0x4fb850._0x3b0de5):{const _0x369f0e=await awaitWithAbort2(_0x26ea01[_0xa91aa1(_0x4fb850._0x477903,0x393,_0x4fb850._0x28f2bf,_0x4fb850._0x3f98ef)](_0x18160e),_0x4ac04a[_0xa91aa1(_0x4fb850._0x4ba4c2,_0x4fb850._0x50521e,0x543,_0x4fb850._0x5a7b62)]);return yield createToolOutput(formatDiagnostics(_0x369f0e),{'operation':_0x5e8b46,'filePath':_0x18160e,'diagnostics':_0x369f0e}),void 0x0;}case _0x4dc011(0x7f4,0x6c5,_0x4fb850._0x4e2221,0x62b):{const _0x1a7926=await awaitWithAbort2(_0x26ea01[_0xa91aa1(0x4dc,_0x4fb850._0x27c411,_0x4fb850._0x41d166,_0x4fb850._0x59f0b6)](_0x325d3f),_0x4ac04a[_0x4dc011(_0x4fb850._0x180ec2,0x517,_0x4fb850._0x4a7d13,0x729)]);return yield createToolOutput(formatLocations(_0x1a7926),{'operation':_0x5e8b46,'filePath':_0x18160e,'locations':_0x1a7926}),void 0x0;}case _0x4dc011(0x4b7,_0x4fb850._0x580c31,_0x4fb850._0x3f5802,0x546):{const _0x54c515=await awaitWithAbort2(_0x26ea01[_0xa91aa1(0x35c,0x574,0x45c,0x5f6)](_0x325d3f),_0x4ac04a[_0x4dc011(0x623,_0x4fb850._0x124336,_0x4fb850._0x53b5fa,0x729)]);return yield createToolOutput(formatLocations(_0x54c515),{'operation':_0x5e8b46,'filePath':_0x18160e,'locations':_0x54c515}),void 0x0;}case _0xa91aa1(_0x4fb850._0x56450d,_0x4fb850._0x153040,0x305,0x3c2):{const _0x29cb75=await awaitWithAbort2(_0x26ea01['implementation'](_0x325d3f),_0x4ac04a[_0xa91aa1(0x5b4,_0x4fb850._0x353770,_0x4fb850._0x266480,0x490)]);return yield createToolOutput(formatLocations(_0x29cb75),{'operation':_0x5e8b46,'filePath':_0x18160e,'locations':_0x29cb75}),void 0x0;}case _0x4dc011(_0x4fb850._0x58c956,_0x4fb850._0x26ee9b,_0x4fb850._0x4e6bad,0x48b):{const _0x43dcea=await awaitWithAbort2(_0x26ea01[_0xa91aa1(0x120,0x1e3,_0x4fb850._0x3a0b3c,_0x4fb850._0x20384c)](_0x18160e),_0x4ac04a['signal']);return yield createToolOutput(formatSymbols(_0x43dcea),{'operation':_0x5e8b46,'filePath':_0x18160e,'symbols':_0x43dcea}),void 0x0;}case _0x4dc011(_0x4fb850._0x27e836,_0x4fb850._0xa93c87,0x9e0,_0x4fb850._0x3ef39c):{const _0x523486=await awaitWithAbort2(_0x26ea01[_0xa91aa1(_0x4fb850._0x2bfddd,_0x4fb850._0x458456,_0x4fb850._0x1587f8,0x709)](_0x325d3f),_0x4ac04a['signal']);return yield createToolOutput(formatSymbols(_0x523486),{'operation':_0x5e8b46,'filePath':_0x18160e,'symbols':toStructured(_0x523486)}),void 0x0;}case'incomingCalls':{const _0x3da73e=await awaitWithAbort2(_0x26ea01[_0x4dc011(_0x4fb850._0x45e6d8,_0x4fb850._0x1eb639,0xa36,_0x4fb850._0x3fe6f6)](_0x325d3f),_0x4ac04a['signal']);return yield createToolOutput(formatIncomingCalls(_0x3da73e),{'operation':_0x5e8b46,'filePath':_0x18160e,'calls':toStructured(_0x3da73e)}),void 0x0;}case'outgoingCalls':{const _0x56e1f8=await awaitWithAbort2(_0x26ea01[_0x4dc011(0x676,_0x4fb850._0x5dae6a,0x4fb,0x643)](_0x325d3f),_0x4ac04a[_0x4dc011(0x7f2,_0x4fb850._0x10c429,_0x4fb850._0x165ba1,_0x4fb850._0x85496f)]);return yield createToolOutput(formatOutgoingCalls(_0x56e1f8),{'operation':_0x5e8b46,'filePath':_0x18160e,'calls':toStructured(_0x56e1f8)}),void 0x0;}}}});}import*as _0xc29966 from'path';function buildDescription(_0x3f05ae){const _0x9f9a64={_0x3624e2:0x3b7,_0x19d4fc:0x649,_0x10e1bc:0x65c,_0xb6a34f:0x848,_0x5a3b94:0x763,_0x5ed762:0x325,_0x4c24f9:0x126,_0x4bae18:0x398,_0x165b72:0x299,_0x4d7245:0x1dc,_0x2f0076:0x558,_0x1c3dcb:0x76b,_0x52e4cb:0x906,_0x42c8d1:0x68a,_0x8f0f63:0x3e2,_0x4c654d:0x548,_0xbcb24d:0x4c6,_0x12ca75:0x3d9,_0x1ee834:0x688},_0x30dacf={_0x2a7ad7:0x14c};if(_0x3f05ae[_0x12b5e6(0x4ec,_0x9f9a64._0x3624e2,_0x9f9a64._0x19d4fc,0x370)]===0x0)return _0x12b5e6(_0x9f9a64._0x10e1bc,_0x9f9a64._0xb6a34f,0x4e8,_0x9f9a64._0x5a3b94);const _0x55bb4d=[_0xb700b1(_0x9f9a64._0x5ed762,_0x9f9a64._0x4c24f9,0x3af,0x3fc),_0xb700b1(_0x9f9a64._0x4bae18,_0x9f9a64._0x165b72,_0x9f9a64._0x4d7245,_0x9f9a64._0x2f0076),'Use\x20this\x20when\x20a\x20task\x20matches\x20an\x20available\x20skill\x20description.',_0x12b5e6(_0x9f9a64._0x1c3dcb,0x7a9,_0x9f9a64._0x52e4cb,_0x9f9a64._0x42c8d1),..._0x3f05ae[_0xb700b1(_0x9f9a64._0x8f0f63,0x36e,0x2cf,_0x9f9a64._0x4c654d)](_0xbe4dbc=>'-\x20'+_0xbe4dbc['name']+':\x20'+_0xbe4dbc[_0x12b5e6(0x476,0x675,0x4a6,0x357)])];function _0xb700b1(_0x18e520,_0x5ed5e7,_0x2ee1fe,_0x2fde96){return _0x4d75fe(_0x18e520-0xfe,_0x2fde96,_0x18e520- -_0x30dacf._0x2a7ad7,_0x2fde96-0x71);}function _0x12b5e6(_0x2ad108,_0x34ef9a,_0xad7447,_0x121a7a){return _0x4d75fe(_0x2ad108-0x69,_0x121a7a,_0x2ad108-0x1d1,_0x121a7a-0x1dd);}return _0x55bb4d[_0x12b5e6(_0x9f9a64._0xbcb24d,_0x9f9a64._0x12ca75,0x3ca,_0x9f9a64._0x1ee834)]('\x0a');}function createLoadSkillTool(_0x2a4df8){const _0x53b4ca={_0x537109:0x53a,_0x3b416c:0x641,_0x4b22e9:0x745,_0x345570:0x81d,_0x3da860:0x76b,_0x2c7672:0x531,_0x12a2ae:0x83e,_0x178d42:0x81e,_0x40679b:0x70b},_0x4a497f={_0x240167:0x6d2,_0x2ae7bd:0x5eb,_0x21a87e:0x7fd,_0x240c33:0x35c,_0x1ca7ab:0x52b,_0x34fb45:0x4f,_0x49877b:0x58,_0x43a15e:0x6f4,_0x11d8a6:0x676,_0x19f9cb:0x57b,_0x5c7548:0x1cb,_0x46e24e:0x75f,_0x158626:0x396,_0x3f062a:0x358,_0x56559e:0x3cc,_0x1c3f9a:0x556,_0x3339b9:0x77b,_0x4c9e0a:0x5be,_0x5b4c11:0x2e4,_0x2948a2:0x2e9,_0x4da9c1:0x123,_0x1d0f41:0x2e5,_0x1fb064:0x28b,_0x31789a:0x2d6,_0x4ec873:0x411,_0x3ac533:0x814,_0x52c35c:0x66d,_0x65519d:0x601,_0x314015:0x729,_0x33fadf:0x797,_0x4aad83:0x84d,_0x5849ad:0x626,_0x3e1dcf:0x2c6,_0x3f65ef:0x3e4,_0x387914:0x70d,_0x4acce1:0x5f1,_0x25f188:0x55a,_0x4db5cc:0x187,_0xc898d0:0x31a,_0x331f40:0x11a,_0xbaf5fc:0x7e1,_0x20b049:0x5fe,_0x4a6a58:0x7d9},_0x280018={_0x579cbe:0x183,_0x55dfcc:0x25b,_0x55c639:0x12},_0x2a1a04={_0x3190ac:0x1f2,_0x112350:0x80},_0x586c30=new Map(_0x2a4df8[_0x3a8cea(0x636,_0x53b4ca._0x537109,0x813,0x525)][_0x3a8cea(_0x53b4ca._0x3b416c,0x864,_0x53b4ca._0x4b22e9,_0x53b4ca._0x345570)](_0x39249a=>[_0x39249a[_0x3a8cea(0x429,0x3e8,0x5ec,0x535)],_0x39249a]));function _0x3a8cea(_0x3d2466,_0x4dbe63,_0xa2bf83,_0x518c42){return _0x3145c3(_0x3d2466-0xdf,_0x3d2466- -_0x2a1a04._0x3190ac,_0xa2bf83-_0x2a1a04._0x112350,_0xa2bf83);}const _0x54b490=buildDescription(_0x2a4df8[_0x3a8cea(0x636,0x732,0x588,0x636)]);function _0x609bdb(_0x58d250,_0x225130,_0x1c7d7b,_0x4e143e){return _0x4d75fe(_0x58d250-_0x280018._0x579cbe,_0x225130,_0x1c7d7b-_0x280018._0x55dfcc,_0x4e143e-_0x280018._0x55c639);}return defineTool({'name':'LoadSkill','permissionClass':_0x609bdb(0x6e0,0x7e9,_0x53b4ca._0x3da860,0x830),'description':_0x54b490,'inputSchema':{'type':_0x609bdb(_0x53b4ca._0x2c7672,0x461,0x647,_0x53b4ca._0x12a2ae),'properties':{'name':{'type':_0x609bdb(_0x53b4ca._0x178d42,0x4eb,_0x53b4ca._0x40679b,0x6cb)}},'required':['name']},async *'execute'(_0x3ab18b){const _0x36a342={_0x558e11:0x13};function _0x1d6e61(_0x3ec92d,_0x3802ac,_0x883a90,_0x5517f9){return _0x3a8cea(_0x5517f9- -0x2a2,_0x3802ac-_0x36a342._0x558e11,_0x3ec92d,_0x5517f9-0x89);}const _0x2cb6fa=_0x586c30['get'](_0x3ab18b['name']);if(!_0x2cb6fa){const _0x334a18=Array[_0x42c745(0x7a5,_0x4a497f._0x240167,_0x4a497f._0x2ae7bd,0x6c6)](_0x586c30[_0x42c745(_0x4a497f._0x21a87e,0x6fa,0x6a1,0x739)]())[_0x42c745(_0x4a497f._0x240c33,_0x4a497f._0x1ca7ab,0x66f,0x55a)](',\x20');throw new ToolExecutionError(_0x1d6e61(_0x4a497f._0x34fb45,0x35d,-_0x4a497f._0x49877b,0x193)+_0x3ab18b[_0x42c745(_0x4a497f._0x43a15e,_0x4a497f._0x11d8a6,0x62a,_0x4a497f._0x19f9cb)]+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x334a18,{'name':_0x3ab18b[_0x1d6e61(0x256,0xac,_0x4a497f._0x5c7548,0x187)]});}function _0x42c745(_0x3d2e64,_0x526a21,_0x1c55f1,_0x4586e2){return _0x609bdb(_0x3d2e64-0x8e,_0x526a21,_0x4586e2-0xa,_0x4586e2-0x58);}const _0x3d7f46=await _0x2a4df8[_0x42c745(_0x4a497f._0x46e24e,0x5b1,0x741,0x5b2)](_0x2cb6fa),_0x548c6b=_0x2cb6fa['source']['directory']??_0xc29966[_0x1d6e61(_0x4a497f._0x158626,0x14a,0x44b,_0x4a497f._0x3f062a)](_0x2cb6fa[_0x42c745(_0x4a497f._0x56559e,0x33e,0x5e2,_0x4a497f._0x1c3f9a)]['path']),_0xb91d9c=[_0x42c745(_0x4a497f._0x3339b9,0x5d7,_0x4a497f._0x4c9e0a,0x59b)+_0x3d7f46[_0x1d6e61(_0x4a497f._0x5b4c11,_0x4a497f._0x2948a2,_0x4a497f._0x4da9c1,0x187)],'',_0x3d7f46[_0x42c745(_0x4a497f._0x1d0f41,_0x4a497f._0x1fb064,_0x4a497f._0x31789a,_0x4a497f._0x4ec873)],'','---',_0x42c745(_0x4a497f._0x3ac533,_0x4a497f._0x52c35c,_0x4a497f._0x65519d,_0x4a497f._0x314015)+_0x2cb6fa[_0x1d6e61(-0x1,0x28b,0x1f9,0x162)][_0x42c745(_0x4a497f._0x33fadf,_0x4a497f._0x4aad83,_0x4a497f._0x5849ad,0x7d9)],_0x1d6e61(0x587,_0x4a497f._0x3e1dcf,0x36c,_0x4a497f._0x3f65ef)+_0x548c6b][_0x42c745(0x630,_0x4a497f._0x387914,_0x4a497f._0x4acce1,_0x4a497f._0x25f188)]('\x0a');return yield createToolOutput(_0xb91d9c,{'id':_0x3d7f46['id'],'name':_0x3d7f46[_0x1d6e61(0x33,-0x2e,-0x76,_0x4a497f._0x4db5cc)],'path':_0x2cb6fa[_0x1d6e61(0x247,_0x4a497f._0xc898d0,_0x4a497f._0x331f40,0x162)][_0x42c745(_0x4a497f._0xbaf5fc,0x84d,_0x4a497f._0x20b049,_0x4a497f._0x4a6a58)],'baseDirectory':_0x548c6b}),void 0x0;}});}var TODO_STATUSES=new Set([_0x4d75fe(0x2dc,0x4c6,0x328,0x433),'in_progress',_0x3145c3(0x7a6,0x5e3,0x48a,0x43b)]),TODO_PRIORITIES=new Set([_0x4d75fe(0x476,0x5f6,0x59c,0x51a),_0x3145c3(0x597,0x7ae,0x82b,0x828),_0x3145c3(0x33e,0x4c8,0x4a6,0x3f7)]);function isTodoStatus(_0x4317f3){const _0x5e5e75={_0x5e4ce8:0x591,_0x1bfbfd:0x684};function _0x3ecc2c(_0x34bc78,_0x25d3aa,_0x452cf0,_0x19210d){return _0x3145c3(_0x34bc78-0x174,_0x34bc78- -0x224,_0x452cf0-0x11a,_0x452cf0);}return typeof _0x4317f3===_0x3ecc2c(_0x5e5e75._0x5e4ce8,_0x5e5e75._0x1bfbfd,0x5b5,0x58f)&&TODO_STATUSES['has'](_0x4317f3);}function isTodoPriority(_0x1fa7ed){const _0x5d3250={_0x42a069:0x633},_0x55cf99={_0x14ad99:0xd3,_0x2ef128:0xec};function _0x3e43dd(_0x7ef8eb,_0x4aa02a,_0x2012c4,_0x578c45){return _0x4d75fe(_0x7ef8eb-_0x55cf99._0x14ad99,_0x7ef8eb,_0x4aa02a-0x136,_0x578c45-_0x55cf99._0x2ef128);}return typeof _0x1fa7ed==='string'&&TODO_PRIORITIES[_0x3e43dd(0x50e,0x531,0x65d,_0x5d3250._0x42a069)](_0x1fa7ed);}var TodoStore=class{[_0x4d75fe(0x36b,0x187,0x21a,0x1ca)]=new Map();['getTodos'](_0x1f2408){const _0x5d2ccc={_0x1f0d2f:0x12,_0x1237b5:0x1a,_0x120b4b:0x13c},_0xa80430={_0x1e4c7:0x143,_0x11f28a:0x3e3};function _0x49ecc7(_0xbb9774,_0x16d5df,_0xf0bb72,_0x189827){return _0x3145c3(_0xbb9774-_0xa80430._0x1e4c7,_0x189827- -_0xa80430._0x11f28a,_0xf0bb72-0x15,_0x16d5df);}return this[_0x49ecc7(-0x22,-_0x5d2ccc._0x1f0d2f,_0x5d2ccc._0x1237b5,_0x5d2ccc._0x120b4b)]['get'](_0x1f2408)??[];}[_0x4d75fe(0xee,0x1cf,0x1fc,0x317)](_0x36f808,_0xd0a76e){const _0x2575de={_0x23623f:0x4da,_0xc64e9b:0x362,_0x57b957:0x456,_0x47dffe:0x90d,_0x105cc8:0x5c1,_0x21f0f5:0x59c},_0x5176d6={_0x57d51a:0x148,_0x24c594:0x174};function _0x2dfb30(_0xed9f58,_0x31ec19,_0x476eb9,_0x4a6f55){return _0x4d75fe(_0xed9f58-0xb7,_0x4a6f55,_0x476eb9-_0x5176d6._0x57d51a,_0x4a6f55-_0x5176d6._0x24c594);}function _0x24db57(_0xe4406a,_0x260887,_0x1e9a64,_0x3e661b){return _0x3145c3(_0xe4406a-0x121,_0x260887-0xaf,_0x1e9a64-0x150,_0xe4406a);}this[_0x2dfb30(_0x2575de._0x23623f,0x320,_0x2575de._0xc64e9b,_0x2575de._0x57b957)][_0x2dfb30(_0x2575de._0x47dffe,_0x2575de._0x105cc8,0x726,_0x2575de._0x21f0f5)](_0x36f808,_0xd0a76e);}[_0x3145c3(0x6ae,0x5ca,0x40e,0x538)](_0x89d9be){const _0x81631b={_0x183316:0x884,_0x3706ed:0x7ac,_0x4128b6:0x731,_0x7a0602:0x6a0,_0x5d2442:0x4e9,_0x474f8a:0x62d,_0x2811d5:0x62,_0x150721:0x1d8,_0x14b039:0x99,_0x366411:0x98a,_0x4615f3:0x6f6,_0x579851:0x306,_0x2eadc5:0x1dc,_0x299f43:0x2fb},_0x3b8cc8={_0x12395b:0x594},_0x5414fd={_0x5b065c:0x385,_0x24bbf6:0x42};function _0x1ee5a9(_0x579704,_0x4228c4,_0x212c78,_0x52e496){return _0x4d75fe(_0x579704-0x1cb,_0x52e496,_0x4228c4-_0x5414fd._0x5b065c,_0x52e496-_0x5414fd._0x24bbf6);}function _0x2b02aa(_0x172956,_0x592d6d,_0x450438,_0x5d733c){return _0x3145c3(_0x172956-0x8c,_0x5d733c- -_0x3b8cc8._0x12395b,_0x450438-0xc5,_0x592d6d);}const _0x1e3df1=this[_0x1ee5a9(_0x81631b._0x183316,_0x81631b._0x3706ed,0x977,_0x81631b._0x4128b6)](_0x89d9be),_0x36f2ce={'total':_0x1e3df1[_0x1ee5a9(0x7a8,_0x81631b._0x7a0602,_0x81631b._0x5d2442,_0x81631b._0x474f8a)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x20426b of _0x1e3df1){if(_0x20426b['status']===_0x2b02aa(_0x81631b._0x2811d5,_0x81631b._0x150721,-0x34,_0x81631b._0x14b039))_0x36f2ce[_0x2b02aa(0x5a,-0x164,0x245,_0x81631b._0x14b039)]+=0x1;else{if(_0x20426b[_0x1ee5a9(_0x81631b._0x366411,0x7d9,0x84d,_0x81631b._0x4615f3)]===_0x2b02aa(_0x81631b._0x579851,_0x81631b._0x2eadc5,0x246,_0x81631b._0x299f43))_0x36f2ce['inProgress']+=0x1;else _0x36f2ce[_0x1ee5a9(0x4a1,0x663,0x47c,0x66f)]+=0x1;}}return _0x36f2ce;}};function validateTodos(_0x1d482a){const _0x42341c={_0x3c1baa:0x67f,_0x3e6a5f:0x65f,_0x30dd67:0x73e,_0x716e09:0x601,_0x1c68f3:0x810,_0xd70a8e:0x817,_0x4133c4:0x2e,_0x54f1da:0x127,_0x32cfaf:0x419,_0x107688:0x2e0,_0x1fa58f:0x5cb,_0x47686a:0x7dc,_0x5f3901:0x69d,_0x5b1eb5:0x82f,_0x816d9f:0x84a,_0x3787ab:0x148,_0x8f9bc7:0x55,_0x22a979:0x2a2,_0x49eb88:0x1a9,_0x116066:0x9d7,_0x46dd8f:0x833,_0x433224:0x669,_0x5650de:0x7d8,_0x36108b:0x7f4,_0x2563fc:0x876,_0x493550:0x2e1,_0xbecaf9:0x64e,_0x2498f8:0x7f0,_0xdd750e:0x5a2,_0x5dace0:0x79a,_0x4a22ed:0x723,_0x215fc3:0x5c0,_0x4b56d4:0x84f,_0x3302ba:0x18b,_0x27bd69:0x22d,_0x43b137:0x125,_0x476407:0x9b,_0x3665e8:0x8ba,_0x4dbe4f:0x9db,_0x38acf6:0x70d,_0x4eace7:0x755,_0x80c8d4:0x530,_0x162461:0x97a,_0x5930eb:0x8ee,_0x4b36d7:0x3e,_0x4b619f:0xf0,_0x4651df:0x48,_0x2d14f0:0x54,_0x1349bc:0x341,_0x4a5d97:0x1c1,_0x22f9b0:0x38d,_0x4f5fd5:0x490,_0x552dc4:0x3fc,_0x37bea4:0x28b,_0x3dfae5:0xf3,_0xc76f7d:0x309,_0x263375:0xab,_0x349cf7:0x8d1,_0x640916:0xa2b,_0x2a78b1:0x88c,_0x108556:0x7e8,_0x570ab0:0x13f},_0x48e88a={_0x169b5c:0x54d,_0x354ec4:0x68},_0x1cdc9b={_0x45901a:0x142,_0x343da4:0xc2};if(!Array['isArray'](_0x1d482a['todos'])||_0x1d482a['todos'][_0x30c0b9(_0x42341c._0x3c1baa,0x687,_0x42341c._0x3e6a5f,_0x42341c._0x30dd67)]===0x0)throw new ToolExecutionError(_0x30c0b9(_0x42341c._0x716e09,0x6d2,_0x42341c._0x1c68f3,_0x42341c._0xd70a8e),{'error':_0x45264f(-_0x42341c._0x4133c4,0x277,0x92,_0x42341c._0x54f1da)});for(let _0x18df34=0x0;_0x18df34<_0x1d482a[_0x45264f(0x3b7,_0x42341c._0x32cfaf,0x1c5,_0x42341c._0x107688)][_0x30c0b9(0x67f,_0x42341c._0x1fa58f,_0x42341c._0x47686a,_0x42341c._0x5f3901)];_0x18df34+=0x1){const _0x2a65c0=_0x1d482a[_0x30c0b9(0x88c,0x8e1,_0x42341c._0x5b1eb5,_0x42341c._0x816d9f)][_0x18df34];if(!_0x2a65c0||typeof _0x2a65c0!=='object')throw new ToolExecutionError(_0x45264f(_0x42341c._0x3787ab,-_0x42341c._0x8f9bc7,_0x42341c._0x22a979,_0x42341c._0x49eb88)+(_0x18df34+0x1)+_0x30c0b9(0x7d7,_0x42341c._0x116066,_0x42341c._0x46dd8f,_0x42341c._0x433224),{'error':_0x30c0b9(_0x42341c._0x5650de,_0x42341c._0x36108b,0x887,0x79e)});if(typeof _0x2a65c0['id']!==_0x30c0b9(0x814,0x882,0x887,0x695)||_0x2a65c0['id'][_0x45264f(0x2bd,0x32b,0x3d1,0x30e)]()[_0x30c0b9(0x67f,0x51e,_0x42341c._0x2563fc,0x7aa)]===0x0)throw new ToolExecutionError(_0x45264f(0x251,_0x42341c._0x493550,0x34a,0x1a9)+(_0x18df34+0x1)+_0x30c0b9(_0x42341c._0xbecaf9,_0x42341c._0x2498f8,_0x42341c._0xdd750e,0x46a),{'error':_0x30c0b9(_0x42341c._0x5dace0,_0x42341c._0x4a22ed,_0x42341c._0x215fc3,_0x42341c._0x4b56d4)});if(typeof _0x2a65c0[_0x45264f(-_0x42341c._0x3302ba,-_0x42341c._0x27bd69,-_0x42341c._0x43b137,-_0x42341c._0x476407)]!=='string'||_0x2a65c0[_0x30c0b9(0x511,0x54c,0x6ec,0x40c)][_0x30c0b9(_0x42341c._0x3665e8,0xa24,_0x42341c._0x4dbe4f,_0x42341c._0x38acf6)]()[_0x45264f(0x48,0x25b,0x25b,0xd3)]===0x0)throw new ToolExecutionError(_0x30c0b9(_0x42341c._0x4eace7,_0x42341c._0x80c8d4,_0x42341c._0x162461,_0x42341c._0x5930eb)+(_0x18df34+0x1)+_0x45264f(_0x42341c._0x4b36d7,0x344,_0x42341c._0x4b619f,0x1d2),{'error':_0x45264f(0x6a,-_0x42341c._0x4651df,_0x42341c._0x2d14f0,0x84)});if(!isTodoStatus(_0x2a65c0[_0x45264f(_0x42341c._0x1349bc,_0x42341c._0x4a5d97,0xef,0x20c)]))throw new ToolExecutionError(_0x45264f(0x178,0x20f,0x2f,0x1a9)+(_0x18df34+0x1)+_0x45264f(_0x42341c._0x22f9b0,_0x42341c._0x4f5fd5,_0x42341c._0x552dc4,_0x42341c._0x37bea4),{'error':_0x45264f(-_0x42341c._0x3dfae5,_0x42341c._0xc76f7d,-_0x42341c._0x263375,0xfa)});if(!isTodoPriority(_0x2a65c0[_0x30c0b9(_0x42341c._0x349cf7,0xa27,0x8f9,_0x42341c._0x640916)]))throw new ToolExecutionError('Todo\x20'+(_0x18df34+0x1)+':\x20invalid\x20priority',{'error':'invalid_todo_priority'});}const _0x128676=_0x1d482a[_0x30c0b9(_0x42341c._0x2a78b1,0x86f,0xaaf,_0x42341c._0x108556)]['map'](_0x124c40=>_0x124c40['id']);function _0x30c0b9(_0x5d0d12,_0x4c002f,_0x292ab8,_0x477695){return _0x4d75fe(_0x5d0d12-_0x1cdc9b._0x45901a,_0x477695,_0x5d0d12-0x364,_0x477695-_0x1cdc9b._0x343da4);}function _0x45264f(_0x5553a5,_0x286796,_0x5a7795,_0x5ace1a){return _0x3145c3(_0x5553a5-0xc3,_0x5ace1a- -_0x48e88a._0x169b5c,_0x5a7795-_0x48e88a._0x354ec4,_0x5553a5);}if(new Set(_0x128676)['size']!==_0x128676['length'])throw new ToolExecutionError('Todo\x20items\x20must\x20have\x20unique\x20IDs',{'error':_0x45264f(_0x42341c._0x570ab0,-0x180,-0x1ad,0x15)});}function createStatsProgress(_0x56d172){const _0x5a9991={_0xc5ab64:0x16,_0x283c43:0x166,_0x1f152e:0x5e},_0x98e4aa={_0x2e3d17:0x112,_0x4c359e:0x16c},_0x150d12={_0x1020b7:0x2dc};function _0x4f172f(_0x12fc94,_0x44cb50,_0x552e81,_0x937da4){return _0x4d75fe(_0x12fc94-0xce,_0x937da4,_0x44cb50- -_0x150d12._0x1020b7,_0x937da4-0x1d6);}function _0x15e6fa(_0x24131e,_0xd45019,_0x57999c,_0x4fa60d){return _0x4d75fe(_0x24131e-_0x98e4aa._0x2e3d17,_0x24131e,_0x57999c- -_0x98e4aa._0x4c359e,_0x4fa60d-0xc8);}return _0x56d172['total']>0x0?Math[_0x15e6fa(-_0x5a9991._0xc5ab64,0x174,0x132,-0x69)](_0x56d172[_0x4f172f(-_0x5a9991._0x283c43,0x2,-0xc4,-_0x5a9991._0x1f152e)]/_0x56d172['total']*0x64)+'%':'0%';}function createReminderItems(_0x406db6){const _0x157605={_0xdc60fb:0x6f4},_0x216b6d={_0xf3447b:0x3e,_0x3a9272:0x5cf},_0x266ca8={_0x47c457:0x19,_0x38421d:0x11a};function _0x511059(_0x4668a0,_0x920126,_0x309f75,_0x4063ff){return _0x3145c3(_0x4668a0-_0x266ca8._0x47c457,_0x4063ff- -0x1c0,_0x309f75-_0x266ca8._0x38421d,_0x920126);}function _0x3c65d8(_0x4ced53,_0xbc902a,_0x1b4c3c,_0x54c364){return _0x3145c3(_0x4ced53-_0x216b6d._0xf3447b,_0x54c364- -_0x216b6d._0x3a9272,_0x1b4c3c-0x1da,_0xbc902a);}return _0x406db6[_0x511059(0x784,_0x157605._0xdc60fb,0x6e5,0x673)](_0xedfcf5=>({'content':_0xedfcf5[_0x3c65d8(0x4d,-0x156,-0x40,-0x11d)],'status':_0xedfcf5[_0x511059(0x75f,0x516,0x615,0x599)],'id':_0xedfcf5['id']}));}function createStructuredResult(_0x231c5d,_0x52b974,_0x3b41b2,_0x1128d3){const _0x341574={_0x130347:0x6b8,_0x363739:0x513},_0x1eb2b4={_0xc4cc59:0x5,_0x395e3d:0x320},_0x559e68={_0x47c2d7:0x10a,_0x5c66c4:0x395};function _0xc72c0d(_0x190436,_0xa3543c,_0x41133b,_0x3d695c){return _0x4d75fe(_0x190436-_0x559e68._0x47c2d7,_0x3d695c,_0x190436-_0x559e68._0x5c66c4,_0x3d695c-0x112);}function _0x358cde(_0x46ab52,_0x23a7b3,_0x3f8c20,_0x319eec){return _0x3145c3(_0x46ab52-_0x1eb2b4._0xc4cc59,_0x319eec- -_0x1eb2b4._0x395e3d,_0x3f8c20-0x3b,_0x46ab52);}return{'allCompleted':_0x1128d3,'items':_0x52b974[_0x358cde(0x3fe,_0x341574._0x130347,0x6a8,_0x341574._0x363739)](_0x59aa21=>({'id':_0x59aa21['id'],'content':_0x59aa21[_0xc72c0d(0x542,0x727,0x669,0x53f)],'status':_0x59aa21['status'],'priority':_0x59aa21['priority'],'createdAt':_0x59aa21[_0xc72c0d(0x8b6,0x849,0x73d,0x7f3)]})),'progress':createStatsProgress(_0x3b41b2),'recentChanges':!![],'sessionId':_0x231c5d,'stats':_0x3b41b2,'todosWritten':_0x52b974['length']};}function createOutputText(_0x758855,_0x34d7f6){const _0x14ab4f={_0x5d599c:0x804,_0x106a3f:0x4e6,_0x15a4cc:0x488,_0x5e80d8:0x4f6,_0x5a9e2b:0x30d,_0x187a32:0x3e9,_0xb2167:0x29d,_0x34a273:0xa4c,_0x118d17:0x8e8,_0x58c60d:0x7ef,_0x5892d0:0x518,_0xa210f9:0x574,_0x5a3a97:0x728,_0xd2e7f8:0x7a3,_0x39a762:0x7fe},_0x40f12e={_0x530a57:0x18},_0x31bd46=JSON[_0x303233(_0x14ab4f._0x5d599c,0x849,0x824,0x623)](createReminderItems(_0x758855));function _0x368570(_0x234095,_0x58e312,_0x283bea,_0x170a36){return _0x4d75fe(_0x234095-0x3e,_0x234095,_0x58e312- -0xe,_0x170a36-0x7d);}function _0x303233(_0x456770,_0xc69d4,_0x158c8b,_0x1390d0){return _0x3145c3(_0x456770-0x54,_0xc69d4-_0x40f12e._0x530a57,_0x158c8b-0xb1,_0x456770);}if(_0x34d7f6)return _0x368570(_0x14ab4f._0x106a3f,_0x14ab4f._0x15a4cc,0x56c,0x5c7)+_0x758855[_0x368570(_0x14ab4f._0x5e80d8,_0x14ab4f._0x5a9e2b,_0x14ab4f._0x187a32,_0x14ab4f._0xb2167)]+_0x303233(_0x14ab4f._0x34a273,_0x14ab4f._0x118d17,_0x14ab4f._0x58c60d,0x7ad)+_0x31bd46+_0x368570(0x3eb,0x359,0x245,_0x14ab4f._0x5892d0);return _0x303233(_0x14ab4f._0xa210f9,_0x14ab4f._0x5a3a97,_0x14ab4f._0xd2e7f8,_0x14ab4f._0x39a762)+_0x31bd46+'.\x0a</system-reminder>';}function createTodoWriteTool(_0x35605b=new TodoStore()){const _0x26ba76={_0x49e81b:0x126,_0x20581d:0xcb,_0x56381b:0x1b4,_0x490ca2:0xc0,_0xe39535:0x84,_0x11ac66:0x93,_0x117957:0x9e,_0xb2305e:0x51,_0x2baa25:0x177,_0x2b1368:0x362,_0x3e7860:0x14f,_0x46a9f3:0x2b0,_0x2c06d0:0x298,_0x54d4ca:0x16a,_0x21f42f:0x3b9,_0x32ec43:0x41b,_0x485e45:0x24f,_0x7ee5bd:0x36d,_0x1157e1:0x426,_0x12e09f:0x154,_0x3c55ac:0xe2,_0x2ea232:0x154,_0x11c21f:0x239,_0x2344da:0x47,_0x39d2b6:0x123,_0x19528b:0x8b,_0x5c03b2:0x44,_0x32ce7:0x2e7,_0x181997:0x2cf,_0x44af56:0x197},_0x287f84={_0x508956:0x5ca,_0x258e72:0x5cf,_0x56876a:0x839,_0x4091e4:0x8db,_0x329090:0x3ab,_0x4f4b17:0x6c2,_0x124487:0x5e2,_0x47b8ee:0x826,_0x409350:0x866,_0x33c72e:0x53a,_0x2678cd:0x603,_0x3d45c7:0x81d,_0x296a3f:0x58d,_0x42873b:0x28f,_0x12bce0:0x658,_0x52bfee:0x3ee,_0x5e3478:0x6b6,_0x3a0a98:0x728},_0x29aae1={_0x29d109:0x3c8,_0x125a26:0x2d},_0x263536={_0xa5d916:0x197},_0x5a42d5={_0x119511:0xae,_0x4adde5:0x38f,_0x122494:0x4f};function _0x252870(_0x21bde8,_0x124777,_0x3d8bca,_0x3a7724){return _0x3145c3(_0x21bde8-_0x5a42d5._0x119511,_0x124777- -_0x5a42d5._0x4adde5,_0x3d8bca-_0x5a42d5._0x122494,_0x3a7724);}function _0x3f21ce(_0x1748a0,_0x808de7,_0x89255a,_0x373733){return _0x4d75fe(_0x1748a0-_0x263536._0xa5d916,_0x89255a,_0x1748a0- -0x35c,_0x373733-0x9c);}return defineTool({'name':_0x3f21ce(-_0x26ba76._0x49e81b,_0x26ba76._0x20581d,-0x318,-0x1d2),'permissionClass':_0x3f21ce(_0x26ba76._0x56381b,_0x26ba76._0x490ca2,0x30e,0x359),'description':_0x3f21ce(_0x26ba76._0xe39535,_0x26ba76._0x11ac66,-_0x26ba76._0x117957,_0x26ba76._0xb2305e),'inputSchema':{'type':_0x252870(_0x26ba76._0x2baa25,_0x26ba76._0x2b1368,_0x26ba76._0x3e7860,0x3c6),'properties':{'todos':{'type':_0x3f21ce(-0x1a3,-0x2fa,-_0x26ba76._0x46a9f3,-_0x26ba76._0x2c06d0),'items':{'type':_0x252870(0x2fb,_0x26ba76._0x2b1368,_0x26ba76._0x54d4ca,_0x26ba76._0x21f42f),'properties':{'content':{'type':'string'},'status':{'type':_0x252870(_0x26ba76._0x32ec43,0x426,_0x26ba76._0x485e45,_0x26ba76._0x7ee5bd)},'priority':{'type':_0x252870(0x3bf,_0x26ba76._0x1157e1,0x522,0x581)},'id':{'type':_0x3f21ce(_0x26ba76._0x12e09f,0x35,0x31d,_0x26ba76._0x3c55ac)},'createdAt':{'type':_0x3f21ce(_0x26ba76._0x2ea232,_0x26ba76._0x11c21f,-_0x26ba76._0x2344da,0x306)}},'required':[_0x252870(0x197,_0x26ba76._0x39d2b6,_0x26ba76._0x19528b,_0x26ba76._0x5c03b2),_0x252870(0x4bb,0x3ca,_0x26ba76._0x32ce7,_0x26ba76._0x181997),_0x3f21ce(0x211,0x306,0x2b7,_0x26ba76._0x44af56),'id']}}},'required':['todos']},async *'execute'(_0x3a4219,_0x55860d){const _0x4748a1={_0x3fcba0:0xc3,_0x50bfd5:0xe6};function _0x1c1acd(_0x5f3fba,_0xa43021,_0x2270ed,_0x310428){return _0x252870(_0x5f3fba-0x11,_0xa43021-_0x29aae1._0x29d109,_0x2270ed-_0x29aae1._0x125a26,_0x310428);}const _0x44a80e=_0x3a4219;validateTodos(_0x44a80e);function _0x207743(_0x65330,_0x4292b8,_0x43e8c8,_0x220c08){return _0x252870(_0x65330-_0x4748a1._0x3fcba0,_0x43e8c8-0x222,_0x43e8c8-_0x4748a1._0x50bfd5,_0x4292b8);}const _0x5ed2d1=_0x55860d[_0x1c1acd(_0x287f84._0x508956,0x537,_0x287f84._0x258e72,0x6b2)]||_0x1c1acd(_0x287f84._0x56876a,0x7ac,0x650,_0x287f84._0x4091e4),_0x5de9ad=new Date()[_0x1c1acd(_0x287f84._0x329090,0x54b,_0x287f84._0x4f4b17,_0x287f84._0x124487)](),_0x1e13fd=_0x44a80e[_0x207743(0x670,0x606,0x6c0,_0x287f84._0x47b8ee)][_0x207743(_0x287f84._0x409350,0x7da,0x6c6,0x6de)](_0x570f21=>({'id':_0x570f21['id'],'content':_0x570f21['content'],'status':_0x570f21[_0x207743(0x4da,0x7de,0x5ec,0x4e4)],'priority':_0x570f21[_0x207743(0x506,0x84d,0x705,0x82a)],'sessionId':_0x5ed2d1,'createdAt':_0x570f21[_0x1c1acd(0x8e6,0x85f,0x948,0x8b8)]||_0x5de9ad,'updatedAt':_0x5de9ad}));_0x35605b[_0x1c1acd(0x62d,_0x287f84._0x33c72e,0x55e,0x619)](_0x5ed2d1,_0x1e13fd);const _0x206237=_0x35605b[_0x1c1acd(0x75c,_0x287f84._0x2678cd,_0x287f84._0x3d45c7,_0x287f84._0x296a3f)](_0x5ed2d1),_0x118aba=_0x1e13fd[_0x207743(_0x287f84._0x42873b,_0x287f84._0x12bce0,0x4b3,_0x287f84._0x52bfee)]>0x0&&_0x1e13fd[_0x207743(_0x287f84._0x5e3478,_0x287f84._0x3a0a98,0x6bd,0x8bc)](_0x238022=>_0x238022['status']===_0x1c1acd(0x6db,0x61c,0x674,0x641));return createToolOutput(createOutputText(_0x1e13fd,_0x118aba),createStructuredResult(_0x5ed2d1,_0x1e13fd,_0x206237,_0x118aba));}});}function createUpdateTopicTool(){const _0x44f35f={_0x1a57fd:0x546,_0x58f001:0x4b5,_0x3c1272:0x6d8,_0xd94212:0x7bd,_0x5388b6:0x67b,_0x2650fa:0x95c,_0x59359b:0xd7,_0x32f4e1:0xa8,_0x36c06a:0x12,_0x524e53:0x699,_0x6aac3b:0x614,_0x3c0489:0x594,_0x236417:0x3ba,_0x1c57da:0x41b,_0x5adc2a:0x37e,_0x1872bb:0x478,_0x465f86:0x62a,_0x21b806:0x988,_0x5cc31c:0x695},_0x1a904e={_0x45596a:0x497,_0x51fda9:0x776,_0x18b1cc:0x581,_0x5c4802:0x4f4,_0x14bb67:0x55a,_0x23aff8:0x346,_0x3256bf:0x1b1,_0x1206db:0x5db,_0x54fcc0:0x5b7,_0x7dc8f6:0x54c,_0xe3480c:0x581,_0x242524:0x30f,_0x5695fa:0x535,_0x366f55:0x3d5},_0x2f06d9={_0x439b81:0x89,_0x449287:0xf3},_0x56ddf1={_0x5226e2:0x169};function _0x651d1c(_0x227af9,_0x1d66ea,_0x5b540d,_0x1d09ed){return _0x3145c3(_0x227af9-0x1d9,_0x227af9- -0x3fb,_0x5b540d-0xdd,_0x1d66ea);}function _0x4246bd(_0x2617b6,_0x3beab2,_0x20cf70,_0x360996){return _0x3145c3(_0x2617b6-0x126,_0x2617b6- -0x58,_0x20cf70-_0x56ddf1._0x5226e2,_0x3beab2);}return defineTool({'name':_0x4246bd(_0x44f35f._0x1a57fd,_0x44f35f._0x58f001,_0x44f35f._0x3c1272,0x628),'permissionClass':_0x4246bd(_0x44f35f._0xd94212,_0x44f35f._0x5388b6,_0x44f35f._0x2650fa,0x671),'description':_0x651d1c(_0x44f35f._0x59359b,-_0x44f35f._0x32f4e1,-0x54,-_0x44f35f._0x36c06a),'inputSchema':{'type':_0x4246bd(_0x44f35f._0x524e53,_0x44f35f._0x6aac3b,_0x44f35f._0x3c0489,0x691),'properties':{'topic':{'type':_0x651d1c(_0x44f35f._0x236417,_0x44f35f._0x1c57da,_0x44f35f._0x5adc2a,_0x44f35f._0x1872bb)}},'required':[_0x4246bd(0x82e,_0x44f35f._0x465f86,_0x44f35f._0x21b806,_0x44f35f._0x5cc31c)]},async *'execute'(_0x21098d,_0x57e0f6){const _0x10f0f6={_0x43bcdf:0x121},{topic:_0x2afe13}=_0x21098d;if(typeof _0x2afe13!=='string'||_0x2afe13[_0x5dd4be(_0x1a904e._0x45596a,_0x1a904e._0x51fda9,_0x1a904e._0x18b1cc,_0x1a904e._0x5c4802)]()[_0x5dd4be(0x391,_0x1a904e._0x14bb67,_0x1a904e._0x23aff8,_0x1a904e._0x3256bf)]===0x0)throw new ToolExecutionError(_0x561d07(_0x1a904e._0x5c4802,0x3e4,0x497,0x707),{'error':_0x561d07(_0x1a904e._0x1206db,0x498,_0x1a904e._0x54fcc0,_0x1a904e._0x7dc8f6)});function _0x561d07(_0x36b9fd,_0x577a04,_0x9b9c46,_0x34a840){return _0x4246bd(_0x36b9fd-0x1e,_0x34a840,_0x9b9c46-_0x2f06d9._0x439b81,_0x34a840-_0x2f06d9._0x449287);}const _0x19fc2d=_0x2afe13[_0x5dd4be(0x393,0x420,_0x1a904e._0xe3480c,0x58b)]();_0x57e0f6[_0x5dd4be(_0x1a904e._0x242524,0x3b7,_0x1a904e._0x5695fa,_0x1a904e._0x366f55)]?.(_0x19fc2d),yield createToolOutput(_0x561d07(0x75a,0x800,0x8cc,0x6a3)+_0x19fc2d+'\x22',{'topic':_0x19fc2d});function _0x5dd4be(_0x26f738,_0x2325ed,_0x2f0f54,_0x3051fe){return _0x651d1c(_0x2f0f54-_0x10f0f6._0x43bcdf,_0x2325ed,_0x2f0f54-0x133,_0x3051fe-0x5a);}return void 0x0;}});}import{randomUUID as _0x1ee3d7}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x29f7f6}from'child_process';function errorMessage(_0x84c0a0){const _0x2bead3={_0x14ab53:0xb8,_0x1c9844:0x39,_0x987b7d:0x1ba},_0x1d9d9a={_0x43f48d:0x680,_0x553eb5:0xd1};function _0x44487c(_0x4aba9b,_0x2fe05a,_0x805e0a,_0xcb4b29){return _0x3145c3(_0x4aba9b-0x1da,_0xcb4b29- -_0x1d9d9a._0x43f48d,_0x805e0a-_0x1d9d9a._0x553eb5,_0x805e0a);}return _0x84c0a0 instanceof Error?_0x84c0a0[_0x44487c(-_0x2bead3._0x14ab53,_0x2bead3._0x1c9844,-0x2f3,-_0x2bead3._0x987b7d)]:String(_0x84c0a0);}function isNotFound(_0x4a4fa6){const _0x106933={_0x2e8504:0x355,_0x37cc0d:0x428,_0x39b645:0x510,_0x1729bc:0xcf},_0x181037={_0x30efd1:0x1ab,_0xd7cde2:0x45d};function _0x2ebd21(_0x7fecf0,_0xe6dd4,_0x2d569b,_0x51ef7b){return _0x3145c3(_0x7fecf0-_0x181037._0x30efd1,_0x51ef7b- -_0x181037._0xd7cde2,_0x2d569b-0x1bb,_0x7fecf0);}function _0xa16928(_0x3be5d3,_0x1e4a8c,_0x2d3fa3,_0x43cb6b){return _0x3145c3(_0x3be5d3-0x1a1,_0x3be5d3- -0x1fd,_0x2d3fa3-0x16d,_0x2d3fa3);}return typeof _0x4a4fa6===_0xa16928(0x4f4,0x34e,0x38d,0x389)&&_0x4a4fa6!==null&&_0x2ebd21(_0x106933._0x2e8504,_0x106933._0x37cc0d,0x22c,0x37a)in _0x4a4fa6&&_0x4a4fa6[_0xa16928(0x5da,0x7e0,_0x106933._0x39b645,0x75f)]===_0x2ebd21(-0x12a,-0x3,_0x106933._0x1729bc,0xe2);}function isSafeProcessId(_0x3d7556){const _0x92a95={_0x5af5b9:0x2a7},_0x154e4c={_0x520e33:0x4b,_0x3133f5:0x5eb,_0x303c75:0xe4};function _0x54534a(_0x257034,_0x48379c,_0x2cb8d1,_0x5bdcc3){return _0x3145c3(_0x257034-_0x154e4c._0x520e33,_0x5bdcc3- -_0x154e4c._0x3133f5,_0x2cb8d1-_0x154e4c._0x303c75,_0x257034);}return _0x3d7556!==void 0x0&&Number[_0x54534a(0x31a,0x1f5,0x387,_0x92a95._0x5af5b9)](_0x3d7556)&&_0x3d7556>0x1;}function createProcessTreeSignalAdapter(_0x291103={}){const _0x4d2267={_0x13614d:0xa5e,_0x5d7d34:0xac5,_0x4cd484:0x99d,_0x1b621a:0x906,_0x2d722a:0x8b5,_0x87e312:0x71e,_0x268aa8:0x5ca},_0xa6581f={_0xe59a30:0x248,_0x3eb493:0x40b,_0x515b55:0x3c8,_0xdc636:0x214,_0x5ccded:0x385,_0x140fff:0x25e,_0x4fd787:0x343,_0x107c87:0x46b,_0x3170f1:0x722,_0x34c6b0:0x590,_0x513c94:0x336,_0xe28781:0x40f,_0x28a15c:0x6fb,_0x55c906:0x27c,_0x4b72de:0x482,_0x2f085e:0x317,_0x3a0b69:0x556,_0x749854:0x233,_0x306434:0x409},_0x2957fd={_0x475f0b:0x2f7,_0x479e64:0x4dd,_0x28e783:0x4d7,_0x2521fc:0x4c,_0x5c1b73:0x23d,_0x396a3c:0x2ba,_0x5920c7:0x1b8,_0x11b928:0x20f,_0x4c1fe8:0x436,_0x23de31:0x509,_0x5e5adf:0x295,_0x4dbd14:0x3c8,_0x390359:0x60c,_0x31db6b:0x408,_0x22b52f:0x4ce,_0x4d9d30:0x2eb},_0x3c1602={_0x1caf82:0x1e1},_0x58657c={_0x35e5cf:0x327},_0x46a146={_0x180c90:0x38};function _0x54c27a(_0x136934,_0x5e901f,_0x2f2490,_0x53598d){return _0x3145c3(_0x136934-0x1e9,_0x2f2490-0xf8,_0x2f2490-_0x46a146._0x180c90,_0x53598d);}const _0x2ddb25=_0x291103['platform']??process[_0x536ad1(0x28,-0x83,0x87,-0xb0)],_0x191c20=_0x291103[_0x54c27a(0x9e0,_0x4d2267._0x13614d,0x9a2,_0x4d2267._0x5d7d34)]??process['kill'][_0x54c27a(0xa10,0x8b0,_0x4d2267._0x4cd484,_0x4d2267._0x1b621a)](process);function _0x536ad1(_0x41d367,_0x3dbb8d,_0x311d0b,_0x41bc72){return _0x4d75fe(_0x41d367-0xb6,_0x311d0b,_0x41bc72- -_0x58657c._0x35e5cf,_0x41bc72-0xbf);}const _0x32b8b9=_0x291103[_0x54c27a(0x927,_0x4d2267._0x2d722a,_0x4d2267._0x87e312,_0x4d2267._0x268aa8)]??_0x29f7f6;return{async 'signal'(_0x2a3976,_0x51fb92){const _0x40474c={_0x2c6d9d:0x19b,_0x30ac00:0x173},_0xa496f7={_0x385e89:0x690,_0x2c84bf:0x6ed,_0x3319c4:0x2e3},_0x5d3926={_0x1957ea:0x25,_0x5b4f1a:0x8b,_0xf49344:0x47c};if(_0x2ddb25!=='win32'){if(!isSafeProcessId(_0x2a3976[_0x4623d4(_0xa6581f._0xe59a30,0x39b,0x430,_0xa6581f._0x3eb493)]))return{'outcome':'failed','error':_0x4623d4(0x474,_0xa6581f._0x515b55,_0xa6581f._0xdc636,_0xa6581f._0x5ccded)};try{return _0x191c20(-_0x2a3976[_0x5a7207(0x1f1,_0xa6581f._0x140fff,_0xa6581f._0x4fd787,0x392)],_0x51fb92===_0x5a7207(0x489,0x61a,_0xa6581f._0x107c87,0x4b2)?_0x4623d4(0x25c,0x3c8,0x60c,0x471):_0x4623d4(0x593,0x56c,_0xa6581f._0x3170f1,_0xa6581f._0x34c6b0)),{'outcome':_0x5a7207(_0xa6581f._0x513c94,0x2a1,_0xa6581f._0xe28781,0x4c1)};}catch(_0x5bfd68){return isNotFound(_0x5bfd68)?{'outcome':_0x4623d4(0x4ea,0x89b,0x698,_0xa6581f._0x28a15c),'error':errorMessage(_0x5bfd68)}:{'outcome':_0x4623d4(0x54f,0x38b,_0xa6581f._0x55c906,_0xa6581f._0x4b72de),'error':errorMessage(_0x5bfd68)};}}if(!isSafeProcessId(_0x2a3976[_0x5a7207(0x442,0x3a2,0x315,_0xa6581f._0x2f085e)]))return{'outcome':_0x5a7207(_0xa6581f._0x3a0b69,_0xa6581f._0x749854,0x2cf,_0xa6581f._0x306434),'error':_0x5a7207(0x3a7,0x751,0x3f3,0x554)};function _0x4623d4(_0x2ac4ed,_0x2681af,_0x44fd6a,_0x16855c){return _0x54c27a(_0x2ac4ed-0x18c,_0x2681af-_0x3c1602._0x1caf82,_0x16855c- -0x22f,_0x2681af);}function _0x5a7207(_0x5f07a6,_0x8b9e79,_0xaa681d,_0x281603){return _0x536ad1(_0x5f07a6-_0x5d3926._0x1957ea,_0x8b9e79-_0x5d3926._0x5b4f1a,_0x8b9e79,_0x281603-_0x5d3926._0xf49344);}return new Promise(_0x3e493b=>{const _0x34e361={_0x35ba41:0x196,_0x216675:0x1eb,_0x1c7566:0x1da},_0x59c462={_0x521ea3:0xc8},_0x4a4920={_0x300b01:0xf9,_0x32ef9e:0x177};let _0x2172e7=![];const _0x30885b=_0x1358ef=>{if(_0x2172e7)return;_0x2172e7=!![],_0x3e493b(_0x1358ef);};let _0x5bb0fb;try{const _0x5234a0=['/PID',String(_0x2a3976[_0x45f90e(0x242,0x1b6,0x10b,_0x2957fd._0x475f0b)]),'/T'];if(_0x51fb92===_0x45f90e(_0x2957fd._0x479e64,_0x2957fd._0x28e783,0x3b8,0x388))_0x5234a0['push']('/F');_0x5bb0fb=_0x32b8b9(_0x45f90e(_0x2957fd._0x2521fc,_0x2957fd._0x5c1b73,0x249,_0x2957fd._0x396a3c),_0x5234a0,{'stdio':_0x567645(_0x2957fd._0x5920c7,_0x2957fd._0x11b928,0x77,0x3f5),'windowsHide':!![]});}catch(_0x3f59a1){_0x30885b({'outcome':_0x45f90e(0x222,0x2a8,0x259,0x274),'error':errorMessage(_0x3f59a1)});return;}function _0x567645(_0x53ce8a,_0x2e2480,_0x5a96ad,_0xbda98a){return _0x4623d4(_0x53ce8a-_0x4a4920._0x300b01,_0xbda98a,_0x5a96ad-0x10,_0x2e2480- -_0x4a4920._0x32ef9e);}_0x5bb0fb[_0x567645(0x604,_0x2957fd._0x4c1fe8,0x567,0x366)](_0x567645(0x4b2,0x4a2,_0x2957fd._0x23de31,_0x2957fd._0x5e5adf),_0x2f22c1=>{function _0x16ad0a(_0x2b2e83,_0xb7ed51,_0x48972d,_0x12446e){return _0x567645(_0x2b2e83-0x1d8,_0x2b2e83-0x164,_0x48972d-0x142,_0x12446e);}function _0x399ba8(_0x5bb968,_0x5b658e,_0x2eb045,_0x3116d4){return _0x567645(_0x5bb968-_0x59c462._0x521ea3,_0x5b658e-0x26f,_0x2eb045-0x12d,_0x5bb968);}_0x30885b(isNotFound(_0x2f22c1)?{'outcome':_0x16ad0a(0x6e8,_0xa496f7._0x385e89,0x820,_0xa496f7._0x2c84bf),'error':errorMessage(_0x2f22c1)}:{'outcome':_0x16ad0a(0x46f,_0xa496f7._0x3319c4,0x65f,0x655),'error':errorMessage(_0x2f22c1)});});function _0x45f90e(_0x37b6b9,_0x5b6798,_0x107b87,_0xb8ed80){return _0x4623d4(_0x37b6b9-_0x34e361._0x35ba41,_0x37b6b9,_0x107b87-_0x34e361._0x216675,_0x5b6798- -_0x34e361._0x1c7566);}_0x5bb0fb[_0x567645(0x458,0x436,_0x2957fd._0x4dbd14,_0x2957fd._0x390359)](_0x45f90e(0x411,_0x2957fd._0x31db6b,_0x2957fd._0x22b52f,_0x2957fd._0x4d9d30),_0x1b959f=>{const _0x3196c8={_0x3f0610:0xaf};function _0x33f410(_0x4da813,_0x34c1a7,_0x5893cc,_0x2c3c5a){return _0x567645(_0x4da813-_0x3196c8._0x3f0610,_0x5893cc- -0x2d3,_0x5893cc-0x128,_0x2c3c5a);}_0x30885b(_0x1b959f===0x0?{'outcome':'delivered'}:{'outcome':_0x33f410(_0x40474c._0x2c6d9d,0x1a7,0x38,_0x40474c._0x30ac00),'error':'taskkill\x20exited\x20with\x20code\x20'+String(_0x1b959f)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0xd196d7){const _0x1145dd=_0xd196d7[_0x17889a(0x51e,0x70f,0x61d,0x5f7)](0x0)??0x0;function _0x17889a(_0xa82052,_0x4620a4,_0x203425,_0x41a7c9){return _0x4d75fe(_0xa82052-0x185,_0x4620a4,_0x203425-0x284,_0x41a7c9-0xc3);}return _0x1145dd<0x20&&_0xd196d7!=='\x09'||_0x1145dd>=0x7f&&_0x1145dd<=0x9f||_0x1145dd===0xa0||_0x1145dd>=0x200b&&_0x1145dd<=0x200f||_0x1145dd>=0x2060&&_0x1145dd<=0x2069||_0x1145dd===0x23ce||_0x1145dd===0x2424;}function createTerminalOutputNormalizer(){const _0x56a4b4={_0x49b16f:0xdf,_0x328968:0xc3,_0x5388a0:0x23e},_0x5b6889={_0x3df5d6:0x4f},_0x4d01de={_0x2b21d3:0x147,_0x3af410:0x1d7},_0x32f17a={_0x5ad199:0x79d,_0x200d52:0x9ad,_0x4fc54d:0x8d4,_0x35f438:0x5b0,_0x261eaa:0x6be,_0x888cab:0x69f,_0x5dd2be:0x497,_0x4478d3:0x330,_0x2681c4:0x297,_0x10455e:0x709,_0xe730ce:0x69f,_0x4ac3e6:0x450,_0x5b8665:0x2a5,_0x25573f:0x4b7,_0x238329:0x330,_0x419e3a:0x529,_0x2e2c00:0x630,_0x28936a:0x400,_0x3994db:0x3ab},_0x2c09a0={_0x9f12b3:0x6e},_0x2b04e9={_0x231c74:0x14f},_0x3ac241={_0x584508:0x11a,_0x46c515:0xdc},_0x1a34eb={_0x3314a3:0x7a4,_0x32692e:0x78c,_0x124ab3:0x673,_0x21a759:0x706},_0x39e696={_0x1fb784:0xff},_0xc8c7ca={_0x4890fa:0x2d1,_0x246a6d:0x579},_0x83133c={_0x250926:0xb0,_0x11fea5:0x190},_0x30a330={_0x43c9bc:0xe2,_0x8284bc:0xc6};let _0x51594a=_0x10f1c9(0x12a,-_0x56a4b4._0x49b16f,_0x56a4b4._0x328968,_0x56a4b4._0x5388a0),_0x271554=![],_0x1d3e63=![],_0x413e4a=[],_0x973a2a=0x0,_0x2869e4=![];const _0xbf4bfe=()=>{_0x413e4a=[],_0x973a2a=0x0;},_0x537d04=_0x4f7d71=>{_0x413e4a['push'](_0x4f7d71);function _0x33bdcf(_0x4015d0,_0x4cf2ea,_0x1cd446,_0x2ef96f){return _0x10f1c9(_0x4015d0,_0x4cf2ea-_0x30a330._0x43c9bc,_0x2ef96f-0x325,_0x2ef96f-_0x30a330._0x8284bc);}_0x973a2a+=_0x4f7d71[_0x3c5f6f(0xc1,_0xc8c7ca._0x4890fa,-0x49,0x2da)];function _0x3c5f6f(_0x1ed0ba,_0x3a8260,_0x4bc345,_0x4c5f29){return _0x10f1c9(_0x4c5f29,_0x3a8260-_0x83133c._0x250926,_0x1ed0ba- -0x57,_0x4c5f29-_0x83133c._0x11fea5);}while(_0x973a2a>MAX_PROGRESS_LINE_CHARS){const _0x1214cd=_0x413e4a['shift']();if(_0x1214cd===void 0x0)break;_0x973a2a-=_0x1214cd[_0x33bdcf(0x295,_0xc8c7ca._0x246a6d,0x3e8,0x43d)];}},_0x3491dc=_0x178e6b=>{function _0x12a2e1(_0x3144c0,_0x60cbad,_0x4c1613,_0x20b64d){return _0x10f1c9(_0x4c1613,_0x60cbad-_0x39e696._0x1fb784,_0x20b64d-0x614,_0x20b64d-0x6);}const _0x3d6911=_0x413e4a[_0x12a2e1(_0x1a34eb._0x3314a3,_0x1a34eb._0x32692e,_0x1a34eb._0x124ab3,_0x1a34eb._0x21a759)]('')+(_0x178e6b?'\x0a':'');return _0xbf4bfe(),_0x3d6911;};function _0x10f1c9(_0x47dd8e,_0x3bbbfb,_0x58e1e8,_0x115b6e){return _0x4d75fe(_0x47dd8e-_0x3ac241._0x584508,_0x47dd8e,_0x58e1e8- -0x203,_0x115b6e-_0x3ac241._0x46c515);}const _0x262338=_0x3c20e0=>{function _0x12f80e(_0x39d7fe,_0x544a5c,_0x2837b3,_0x9a788){return _0x10f1c9(_0x39d7fe,_0x544a5c-0xd6,_0x2837b3-0x301,_0x9a788-_0x2b04e9._0x231c74);}function _0xddcc81(_0x5392c9,_0x2627fb,_0x490ffb,_0x180776){return _0x10f1c9(_0x2627fb,_0x2627fb-_0x2c09a0._0x9f12b3,_0x180776-0x5dc,_0x180776-0xae);}if(_0x2869e4)throw new Error(_0x12f80e(0x50e,0x449,0x5cc,_0x32f17a._0x5ad199));let _0x36723a='';for(const _0x5a8163 of _0x3c20e0){if(_0x51594a===_0xddcc81(0xa95,0xa2c,_0x32f17a._0x200d52,_0x32f17a._0x4fc54d)){const _0x41a356=_0x5a8163[_0x12f80e(0x289,_0x32f17a._0x35f438,0x497,_0x32f17a._0x261eaa)](0x0)??0x0;if(_0x41a356>=0x40&&_0x41a356<=0x7e)_0x51594a=_0xddcc81(0x594,0x4d0,0x738,_0x32f17a._0x888cab);continue;}if(_0x51594a==='osc'||_0x51594a===_0x12f80e(0x43a,_0x32f17a._0x5dd2be,_0x32f17a._0x4478d3,_0x32f17a._0x2681c4)){if(_0x271554){_0x5a8163==='\x5c'?(_0x51594a=_0xddcc81(_0x32f17a._0x10455e,0x514,0x4c1,_0x32f17a._0xe730ce),_0x271554=![]):_0x271554=_0x5a8163===ESC;continue;}if(_0x5a8163===ESC)_0x271554=!![];else _0x51594a===_0x12f80e(_0x32f17a._0x4ac3e6,0x4b7,0x461,0x3fd)&&_0x5a8163===BEL&&(_0x51594a=_0x12f80e(0x3c4,0x2cb,0x3c4,_0x32f17a._0x5b8665));continue;}if(_0x51594a==='escape'){if(_0x5a8163==='[')_0x51594a='csi';else{if(_0x5a8163===']')_0x51594a='osc',_0x271554=![];else _0x5a8163==='P'||_0x5a8163==='_'||_0x5a8163==='^'?(_0x51594a=_0x12f80e(0x4b3,_0x32f17a._0x25573f,_0x32f17a._0x238329,0x23f),_0x271554=![]):_0x51594a=_0xddcc81(_0x32f17a._0x419e3a,0x583,_0x32f17a._0x2e2c00,0x69f);}continue;}if(_0x1d3e63){_0x1d3e63=![];if(_0x5a8163==='\x0a'){_0x36723a+=_0x3491dc(!![]);continue;}_0xbf4bfe();}if(_0x5a8163===ESC)_0x51594a='escape';else{if(_0x5a8163==='\x0d')_0x1d3e63=!![];else{if(_0x5a8163==='\x0a')_0x36723a+=_0x3491dc(!![]);else{if(_0x5a8163==='\x08'){const _0x46c7f9=_0x413e4a['pop']();if(_0x46c7f9!==void 0x0)_0x973a2a-=_0x46c7f9[_0x12f80e(0x3e9,_0x32f17a._0x28936a,0x419,_0x32f17a._0x3994db)];}else!isDiscardedTextControl(_0x5a8163)&&_0x537d04(_0x5a8163);}}}}return _0x36723a;};return{'write':_0x262338,'end'(){if(_0x2869e4)return'';_0x2869e4=!![];function _0x3627a8(_0x2e693b,_0x4a31e9,_0x4941f0,_0x36e5ea){return _0x10f1c9(_0x4941f0,_0x4a31e9-_0x4d01de._0x2b21d3,_0x4a31e9- -0x74,_0x36e5ea-_0x4d01de._0x3af410);}return _0x1d3e63=![],_0x51594a=_0x3627a8(0xed,_0x5b6889._0x3df5d6,0x1a3,0x231),_0x271554=![],_0x3491dc(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0x58ad60){const _0x3b3b44={_0x57eb83:0x5f0,_0xebe1c1:0x542,_0x5daf39:0x404,_0x1d16db:0x1c1,_0x59b40e:0x2e5,_0x58370d:0xfd,_0x4a7c99:0x260},_0x4980b1={_0x2c4b9b:0x1e2},_0x4d6981={_0x71738:0x96};super('Unable\x20to\x20terminate\x20background\x20processes;\x20session\x20ownership\x20was\x20preserved.');function _0x341e1f(_0x4e65b7,_0x545d95,_0x571865,_0x4985a7){return _0x4d75fe(_0x4e65b7-0x47,_0x4985a7,_0x4e65b7- -_0x4d6981._0x71738,_0x4985a7-0x11c);}this[_0x37d834(0x6c9,_0x3b3b44._0x57eb83,0x61c,_0x3b3b44._0xebe1c1)]=_0x58ad60;function _0x37d834(_0x5706e2,_0x5c66ed,_0x2b9d2c,_0x56a5af){return _0x4d75fe(_0x5706e2-_0x4980b1._0x2c4b9b,_0x2b9d2c,_0x56a5af-0x280,_0x56a5af-0x16e);}this[_0x341e1f(0x280,_0x3b3b44._0x5daf39,_0x3b3b44._0x1d16db,0x98)]=_0x341e1f(_0x3b3b44._0x59b40e,_0x3b3b44._0x58370d,0x168,_0x3b3b44._0x4a7c99);}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x3017c1){const _0x3a15ea={_0x4fd4e3:0x716,_0x462f60:0x532,_0x1ffe4d:0x800,_0x54c955:0x6e7},_0x2bb61c={_0xf1eba1:0x1d9,_0x3a87b5:0x48},_0x5b1696={_0x47729a:0xd7};function _0x4dbc86(_0x51b504,_0x2530f6,_0x5683f7,_0x49e01d){return _0x3145c3(_0x51b504-0x158,_0x5683f7- -0x161,_0x5683f7-_0x5b1696._0x47729a,_0x2530f6);}function _0x4dacfe(_0x46703c,_0x3a2070,_0x12b26b,_0x3995df){return _0x3145c3(_0x46703c-_0x2bb61c._0xf1eba1,_0x12b26b- -_0x2bb61c._0x3a87b5,_0x12b26b-0x56,_0x46703c);}return _0x3017c1===_0x4dbc86(_0x3a15ea._0x4fd4e3,_0x3a15ea._0x462f60,0x6ee,_0x3a15ea._0x1ffe4d)||_0x3017c1===_0x4dbc86(0x4e4,0x715,0x627,_0x3a15ea._0x54c955)||_0x3017c1==='error';}var BackgroundProcessRegistry=class{[_0x4d75fe(0x43a,0x24a,0x465,0x549)]=new Map();['reservations']=new Map();[_0x3145c3(0x677,0x6df,0x885,0x7e9)];['maxEntries'];[_0x4d75fe(0x1ee,0x3ef,0x2d3,0x261)];['platform'];['signalAdapter'];['counter']=0x0;constructor(_0x14855a={}){const _0x10e068={_0x5aa5bc:0x833,_0x27b9e3:0x6e5,_0xf47a97:0x8d8,_0x274152:0x351,_0x528c16:0x481,_0x316293:0x48e,_0x3b2b10:0x2f9,_0x306d37:0x425,_0x437929:0x958,_0x3333dd:0x693,_0x341740:0x75f,_0x1364f4:0x564},_0x2c2854={_0x1880bb:0x30},_0x5d69bd={_0x2b50d2:0x44,_0x5f10cb:0x157};function _0x1a247e(_0x1a40b9,_0xc49694,_0x1b9780,_0x3e274d){return _0x3145c3(_0x1a40b9-_0x5d69bd._0x2b50d2,_0x1b9780- -_0x5d69bd._0x5f10cb,_0x1b9780-0x60,_0x3e274d);}this['maxConcurrent']=_0x14855a['maxConcurrent']??0xa,this[_0x1a247e(0x6d3,_0x10e068._0x5aa5bc,0x6e5,0x592)]=_0x14855a[_0x1a247e(0x5a3,0x8c7,_0x10e068._0x27b9e3,_0x10e068._0xf47a97)]??0x40,this[_0x1a247e(0x45a,_0x10e068._0x274152,_0x10e068._0x528c16,0x536)]=_0x14855a[_0x1a247e(0x538,0x359,_0x10e068._0x528c16,0x39d)]??0x100000;function _0x41dd0e(_0x7e2440,_0x30a533,_0xf28d24,_0x13a8eb){return _0x4d75fe(_0x7e2440-0x1a0,_0x13a8eb,_0x7e2440- -0x134,_0x13a8eb-_0x2c2854._0x1880bb);}this[_0x1a247e(_0x10e068._0x316293,0x4e6,0x425,0x605)]=_0x14855a[_0x1a247e(_0x10e068._0x3b2b10,0x499,_0x10e068._0x306d37,0x521)]??process['platform'],this['signalAdapter']=_0x14855a[_0x1a247e(_0x10e068._0x437929,_0x10e068._0x3333dd,_0x10e068._0x341740,_0x10e068._0x1364f4)]??createProcessTreeSignalAdapter({'platform':this[_0x41dd0e(0x143,0x25d,-0x80,0x2c7)]});}['reserve'](){const _0x2396a1={_0x5c47cc:0x5fa,_0x43a7f9:0x47c,_0x36ff69:0x49d,_0x5f0079:0x614,_0x3f12d6:0x63f,_0x30b77f:0x24a,_0x33c574:0x13f,_0x1c0a52:0x569,_0x1404c4:0x446,_0x2b7931:0x232,_0x3e25ec:0x526,_0x7301db:0x5a4,_0xf1a30f:0x4d8,_0x59e8b:0x659,_0x28ba7a:0x65c,_0x558125:0x431,_0x41533c:0x4bd,_0x38a08d:0x315,_0xa1606a:0x680,_0x2d945a:0x635},_0x1f051a={_0xec28ed:0xf8};function _0x5daa80(_0x437b95,_0x4d5ea5,_0x2bacd8,_0x5e592b){return _0x3145c3(_0x437b95-_0x1f051a._0xec28ed,_0x4d5ea5- -0x207,_0x2bacd8-0x129,_0x2bacd8);}const _0x513e3d=[...this[_0x5daa80(_0x2396a1._0x5c47cc,0x563,_0x2396a1._0x43a7f9,_0x2396a1._0x36ff69)]['values']()][_0x407430(_0x2396a1._0x5f0079,_0x2396a1._0x3f12d6,0x6a1,0x650)](_0x3143d2=>!_0x3143d2[_0x5daa80(0x333,0x351,0x1f3,0x31c)]);if(_0x513e3d['length']+this[_0x5daa80(_0x2396a1._0x30b77f,0x2c2,0x382,_0x2396a1._0x33c574)][_0x5daa80(_0x2396a1._0x1c0a52,_0x2396a1._0x1404c4,_0x2396a1._0x2b7931,_0x2396a1._0x30b77f)]>=this['maxConcurrent'])throw new ToolExecutionError(_0x5daa80(_0x2396a1._0x3e25ec,0x60f,0x4d9,0x71c)+this[_0x5daa80(_0x2396a1._0x7301db,_0x2396a1._0xf1a30f,_0x2396a1._0x59e8b,_0x2396a1._0x28ba7a)]+_0x5daa80(_0x2396a1._0x558125,_0x2396a1._0x41533c,_0x2396a1._0x38a08d,0x2bf),{'running':this[_0x5daa80(0x342,0x4d8,0x5a8,_0x2396a1._0xa1606a)]});const _0x582bbd=Object[_0x407430(0x41c,0x463,0x2aa,0x632)]({'id':_0x1ee3d7()});function _0x407430(_0x328a07,_0x5c159a,_0x21d55e,_0x52a1e9){return _0x4d75fe(_0x328a07-0x7,_0x52a1e9,_0x5c159a-0x57,_0x52a1e9-0x4c);}return this[_0x5daa80(0x20e,0x2c2,0x4b0,0x223)][_0x407430(0x420,_0x2396a1._0x2d945a,0x41b,0x5aa)](_0x582bbd['id'],_0x582bbd),_0x582bbd;}[_0x3145c3(0x4df,0x6ec,0x791,0x883)](_0x2d3f77){const _0x4505d7={_0x17faa7:0x2fa,_0x1086a1:0x301,_0x37ab28:0x575,_0xdc332a:0x17a,_0x2d1d34:0x22a,_0x26b439:0xc8,_0x5771bc:0x250},_0x379222={_0x50da5c:0x1df,_0x120c8b:0x68},_0x56cefe={_0x567d7e:0x93,_0xaf836e:0xc2};function _0x4e337b(_0x234b56,_0x54f4f3,_0x554dca,_0x55ca7e){return _0x4d75fe(_0x234b56-0xcd,_0x55ca7e,_0x54f4f3- -_0x56cefe._0x567d7e,_0x55ca7e-_0x56cefe._0xaf836e);}function _0x21e11c(_0x5b19d1,_0x25a4f6,_0x54b715,_0x975b52){return _0x4d75fe(_0x5b19d1-_0x379222._0x50da5c,_0x54b715,_0x975b52-0x197,_0x975b52-_0x379222._0x120c8b);}this[_0x21e11c(0x3c7,_0x4505d7._0x17faa7,_0x4505d7._0x1086a1,0x35b)]['get'](_0x2d3f77['id'])===_0x2d3f77&&this[_0x21e11c(_0x4505d7._0x37ab28,0x207,_0x4505d7._0xdc332a,0x35b)][_0x4e337b(_0x4505d7._0x2d1d34,0x2cf,_0x4505d7._0x26b439,_0x4505d7._0x5771bc)](_0x2d3f77['id']);}[_0x3145c3(0x771,0x8c5,0x7aa,0x902)](_0x208d3d,_0x24c58f){const _0x51677e={_0x551521:0x3b0,_0x4cc625:0x322,_0x737032:0x4bf,_0x755258:0x553,_0x1f7ae0:0x62f,_0x5b8f22:0x634,_0x271a56:0x451,_0x277f10:0x9c,_0x324afd:0x261,_0xc07b3a:0x5f7,_0xf1b972:0x351,_0x1ab523:0x403,_0x1e593c:0x5c0,_0x4e520b:0x4b0,_0x1077c8:0x60a,_0x2314f1:0x587,_0x5b77e9:0x67e,_0x4eef1f:0x3e2,_0x3c2a39:0x54f,_0x2bacd1:0x5cc,_0x20b756:0x4ca,_0x24af6a:0x6a1,_0x39595f:0x619,_0x527961:0x12e,_0x25289f:0x5dc,_0x4261b6:0x485,_0x3ea3cb:0x303,_0x95ad4e:0x48c,_0x2e32bc:0x5c8,_0xbb0a1a:0x40d,_0x44fe18:0x3e1,_0x57fe46:0x479,_0x1f471a:0x400,_0x278e5f:0x4d7,_0x4cccf3:0x5d4,_0x451fc2:0x502,_0x454f5c:0x67b,_0xf872bd:0x45f,_0x249cbf:0x673,_0x125189:0x655,_0x180fa9:0x475,_0x3bc764:0x41b,_0x3c844a:0x40b,_0x1d0d3c:0x57d,_0x58c74b:0x4d9,_0x48da68:0x72f,_0x717a65:0x621,_0xcbf3f3:0x75b,_0x1b4581:0x5f0,_0x564283:0x583,_0x575de8:0x608,_0x4bc8e9:0x296,_0x13a562:0x47c,_0xd248c0:0x534,_0x5dad37:0x3c0,_0x1bbfa6:0x2c9,_0x4b5227:0x4e8,_0x40d524:0x59b,_0x2cdb1a:0x41e,_0x26933a:0x3ff,_0x55e0aa:0x3d3,_0x12616d:0x39d},_0xb2725f={_0x46b770:0x261,_0x316feb:0x34b,_0x274c76:0x3e6,_0x18f0ac:0x422,_0x482e45:0x5d0,_0x1d5bcc:0x3b0,_0x2aab62:0x396,_0x133af1:0x23a,_0x26f1cf:0x4dc,_0x44346f:0x39e,_0x49a81b:0x1f4,_0x267255:0x3f0,_0x45041d:0x21a,_0x1e4de1:0x1d5,_0x27f45c:0x36f,_0x59495e:0x20d,_0x469686:0x3d6,_0x13c1de:0x1a5,_0x11a453:0x28e},_0x19ca9c={_0x4f4ef2:0x667,_0x1d6508:0x629,_0x38ac98:0x2a1,_0x27be6a:0x47b,_0x31f3cf:0x3dd,_0x53ccb6:0x6a7,_0x1e9065:0x7fe,_0x1f4cc6:0x8d7},_0xc48a7c={_0x42744b:0x187},_0x4d072a={_0x1073c6:0x2b4,_0x11d8dd:0x193},_0x41a5ee={_0x418c39:0x4f0,_0x3d819d:0x46c,_0x3d308f:0x41d,_0x2287ef:0x2e4,_0x19fb13:0x61e,_0x40d043:0x49e,_0x5c7f01:0x546},_0x2d0487={_0x129bed:0x138},_0x5cd5a1={_0x57626e:0x20e,_0x400d6c:0x343,_0x1d77e6:0x8c},_0x45f01c={_0x3b58c6:0x469,_0x3641ba:0x596,_0x4adce5:0x104,_0x5c71b:0x29e,_0x18b703:0x2b6,_0xe5a306:0x2d5,_0x194d37:0x337},_0x45aa74={_0x5cf32f:0x54,_0xfde7f:0x27},_0x2785cb={_0x2fe561:0x1eb,_0x231f8c:0xe7,_0x20b4f4:0x70},_0x26c0f3={_0x7c23f9:0xa3,_0x42049d:0x1ce},_0x7351e7={_0x5edb77:0x7c};if(this[_0x34bb9d(_0x51677e._0x551521,_0x51677e._0x4cc625,0x2ba,_0x51677e._0x737032)][_0x326e85(_0x51677e._0x755258,0x4eb,_0x51677e._0x1f7ae0,_0x51677e._0x5b8f22)](_0x208d3d['id'])!==_0x208d3d)throw new ToolExecutionError('Background\x20process\x20reservation\x20is\x20missing\x20or\x20already\x20consumed',{'reservationId':_0x208d3d['id']});this[_0x326e85(_0x51677e._0x271a56,0x389,_0x51677e._0x277f10,_0x51677e._0x324afd)]['delete'](_0x208d3d['id']);let _0x4a5e2f;function _0x326e85(_0x209b8a,_0x4f3158,_0x1a6cfb,_0x5a1cae){return _0x4d75fe(_0x209b8a-_0x7351e7._0x5edb77,_0x4f3158,_0x5a1cae-0x9d,_0x5a1cae-0x193);}function _0x34bb9d(_0x19b696,_0x40b691,_0x1e2aa8,_0x4a425c){return _0x3145c3(_0x19b696-_0x26c0f3._0x7c23f9,_0x1e2aa8- -0x20f,_0x1e2aa8-_0x26c0f3._0x42049d,_0x40b691);}const _0x189154=new Promise(_0x15d1a7=>{_0x4a5e2f=_0x15d1a7;}),_0x350b02=_0x326e85(0x26a,_0x51677e._0xc07b3a,_0x51677e._0xf1b972,_0x51677e._0x1ab523)+ ++this[_0x34bb9d(_0x51677e._0x1e593c,0x3ed,_0x51677e._0x4e520b,0x2ff)]+'-'+_0x1ee3d7()[_0x326e85(0x35d,0x617,_0x51677e._0x1077c8,_0x51677e._0x2314f1)](0x0,0x8),_0x48e515={'shellId':_0x350b02,'command':_0x24c58f[_0x326e85(_0x51677e._0x5b77e9,0x65c,_0x51677e._0x4eef1f,_0x51677e._0x3c2a39)],'cwd':_0x24c58f[_0x326e85(0x5b7,0x7d6,0x78d,_0x51677e._0x2bacd1)],'pid':_0x24c58f[_0x34bb9d(_0x51677e._0x20b756,0x3fa,0x621,_0x51677e._0x24af6a)][_0x34bb9d(_0x51677e._0x39595f,0x3ec,0x50e,0x456)],'processGroupId':_0x24c58f[_0x326e85(0x413,0x15b,_0x51677e._0x527961,0x2da)],'status':_0x34bb9d(0x48b,0x690,_0x51677e._0x25289f,_0x51677e._0x4261b6),'exitCode':null,'signal':null,'startedAt':Date[_0x326e85(0x3dd,0x22b,_0x51677e._0x3ea3cb,0x334)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x24c58f[_0x326e85(_0x51677e._0x95ad4e,0x3b4,0x604,_0x51677e._0x2e32bc)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x34bb9d(0x1c8,_0x51677e._0xbb0a1a,_0x51677e._0x44fe18,0x500)),'stderrDecoder':new StringDecoder('utf8'),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x24c58f[_0x326e85(0x26e,_0x51677e._0x57fe46,_0x51677e._0x1f471a,0x2fd)],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x189154,'resolveTerminal':_0x4a5e2f,'terminationSettled':![]};this[_0x326e85(_0x51677e._0x278e5f,0x334,_0x51677e._0x4cccf3,_0x51677e._0x451fc2)]['set'](_0x350b02,_0x48e515);try{_0x24c58f[_0x326e85(_0x51677e._0x454f5c,0x3f0,_0x51677e._0xf872bd,0x5c8)][_0x326e85(0x687,0x6a5,_0x51677e._0x249cbf,_0x51677e._0x125189)]?.['on'](_0x326e85(_0x51677e._0x180fa9,_0x51677e._0x3bc764,_0x51677e._0x3c844a,_0x51677e._0x1d0d3c),_0x4db229=>{function _0x236802(_0x4347c5,_0x672df8,_0x449091,_0x461ac0){return _0x34bb9d(_0x4347c5-_0x2785cb._0x2fe561,_0x449091,_0x672df8-_0x2785cb._0x231f8c,_0x461ac0-_0x2785cb._0x20b4f4);}function _0x4585a2(_0x493f62,_0x261aa6,_0x46362d,_0xe5c2f8){return _0x326e85(_0x493f62-_0x45aa74._0x5cf32f,_0x261aa6,_0x46362d-_0x45aa74._0xfde7f,_0x46362d- -0x347);}this[_0x236802(0x56a,_0x45f01c._0x3b58c6,_0x45f01c._0x3641ba,0x61f)](_0x48e515,_0x48e515[_0x4585a2(-0x28a,-0x1dd,-_0x45f01c._0x4adce5,-0xa9)],_0x48e515[_0x4585a2(_0x45f01c._0x5c71b,_0x45f01c._0x18b703,_0x45f01c._0xe5a306,_0x45f01c._0x194d37)],_0x4db229);}),_0x24c58f[_0x34bb9d(_0x51677e._0x58c74b,_0x51677e._0x48da68,_0x51677e._0x717a65,_0x51677e._0xcbf3f3)]['stderr']?.['on']('data',_0x354654=>{const _0x4334af={_0x1d64ea:0xfd,_0x4c4ac4:0x221};function _0x8f8357(_0x47b395,_0x440208,_0x4b0e21,_0x56c413){return _0x34bb9d(_0x47b395-_0x4334af._0x1d64ea,_0x56c413,_0x4b0e21- -_0x4334af._0x4c4ac4,_0x56c413-0x164);}function _0x407536(_0x78c926,_0x442c44,_0x95de2d,_0x24ce78){return _0x326e85(_0x78c926-0xd2,_0x78c926,_0x95de2d-0x86,_0x24ce78- -0x35c);}this[_0x407536(-0xc,-0x131,-_0x5cd5a1._0x57626e,-0x33)](_0x48e515,_0x48e515[_0x407536(0x28e,0x222,_0x5cd5a1._0x400d6c,0x172)],_0x48e515[_0x407536(_0x5cd5a1._0x1d77e6,0xe4,0xc1,0xb1)],_0x354654);}),_0x24c58f['child'][_0x34bb9d(_0x51677e._0x1b4581,0x39e,0x4d5,0x696)]('exit',(_0x3cdb57,_0x166654)=>{const _0x1dbc9d={_0xebb6db:0x4b,_0x35fb89:0x1e1};_0x48e515[_0x190517(0x5aa,_0x41a5ee._0x418c39,0x49c,_0x41a5ee._0x3d819d)]=!![],_0x48e515[_0x37ae75(_0x41a5ee._0x3d308f,0x1f8,_0x41a5ee._0x2287ef,0x5f5)]=_0x3cdb57;function _0x37ae75(_0x5ea0d2,_0x53c0f2,_0x47e56b,_0x23525c){return _0x326e85(_0x5ea0d2-_0x2d0487._0x129bed,_0x53c0f2,_0x47e56b-0x142,_0x5ea0d2- -0x78);}function _0x190517(_0x13bc8d,_0x40f6b4,_0x19ca89,_0x21cecd){return _0x326e85(_0x13bc8d-_0x1dbc9d._0xebb6db,_0x19ca89,_0x19ca89-_0x1dbc9d._0x35fb89,_0x13bc8d-0x34);}_0x48e515[_0x190517(0x55b,_0x41a5ee._0x19fb13,_0x41a5ee._0x40d043,_0x41a5ee._0x5c7f01)]=_0x166654;}),_0x24c58f['child'][_0x326e85(_0x51677e._0x564283,_0x51677e._0x575de8,_0x51677e._0x4bc8e9,_0x51677e._0x13a562)](_0x326e85(_0x51677e._0xd248c0,_0x51677e._0x5dad37,_0x51677e._0x1bbfa6,_0x51677e._0x4b5227),_0x5b03ab=>{function _0x366dad(_0x1fcde9,_0x22a9bc,_0xfa0621,_0x51b7db){return _0x34bb9d(_0x1fcde9-0x14c,_0x1fcde9,_0xfa0621-_0x4d072a._0x1073c6,_0x51b7db-_0x4d072a._0x11d8dd);}function _0x3bba09(_0x4c2094,_0x15cc07,_0x4aec5f,_0x55824f){return _0x326e85(_0x4c2094-_0xc48a7c._0x42744b,_0x4c2094,_0x4aec5f-0x1de,_0x55824f-0x141);}_0x48e515[_0x3bba09(_0x19ca9c._0x4f4ef2,0x6b6,0x554,_0x19ca9c._0x1d6508)]=_0x5b03ab[_0x3bba09(_0x19ca9c._0x38ac98,_0x19ca9c._0x27be6a,_0x19ca9c._0x31f3cf,0x39f)],_0x48e515[_0x366dad(_0x19ca9c._0x53ccb6,0x85a,_0x19ca9c._0x1e9065,_0x19ca9c._0x1f4cc6)]='error';}),_0x24c58f['child']['once']('close',(_0xfca0af,_0x3fff94)=>{const _0x51788a={_0x4bd111:0xe1},_0x116dca={_0xbb0b9d:0x1e8};_0x48e515[_0x2e25d8(0x3dc,_0xb2725f._0x46b770,0x2f6,_0xb2725f._0x316feb)]=_0xfca0af;function _0x2e25d8(_0x72ae,_0x1729f3,_0x3a2e22,_0x2ca7d2){return _0x34bb9d(_0x72ae-_0x116dca._0xbb0b9d,_0x1729f3,_0x2ca7d2- -0x1a3,_0x2ca7d2-0x43);}function _0x120e0e(_0x4dce81,_0x9d35be,_0x154f15,_0x3feada){return _0x34bb9d(_0x4dce81-0xb9,_0x4dce81,_0x9d35be- -0x19a,_0x3feada-_0x51788a._0x4bd111);}_0x48e515[_0x120e0e(0x4cb,_0xb2725f._0x274c76,0x5a4,0x4d5)]=_0x3fff94,_0x48e515[_0x120e0e(_0xb2725f._0x18f0ac,0x487,_0xb2725f._0x482e45,0x3c8)]=null,_0x48e515[_0x120e0e(0x244,_0xb2725f._0x1d5bcc,_0xb2725f._0x2aab62,_0xb2725f._0x133af1)]!==_0x2e25d8(_0xb2725f._0x26f1cf,0x374,0x3fb,_0xb2725f._0x44346f)&&(_0x48e515[_0x2e25d8(0x3ab,_0xb2725f._0x49a81b,_0xb2725f._0x267255,0x3a7)]=_0x48e515[_0x2e25d8(0x29d,_0xb2725f._0x45041d,_0xb2725f._0x1e4de1,_0xb2725f._0x27f45c)]?_0x2e25d8(0x2e9,_0xb2725f._0x59495e,0x40c,_0xb2725f._0x469686):'exited'),this[_0x2e25d8(_0xb2725f._0x13c1de,0x1bc,0x256,_0xb2725f._0x11a453)](_0x48e515);});}catch(_0x3b72a8){this['entries'][_0x326e85(_0x51677e._0x40d524,0x441,_0x51677e._0x2cdb1a,_0x51677e._0x26933a)](_0x350b02);throw _0x3b72a8;}return this[_0x326e85(0x252,_0x51677e._0x55e0aa,0x211,_0x51677e._0x12616d)](),_0x48e515;}[_0x4d75fe(0x406,0x1e1,0x321,0x2db)](_0x1673b9){const _0x2acd2a={_0xa27e11:0x4d6,_0x241a71:0x568,_0x3bf332:0x688,_0x25aa77:0x61a,_0xe4f764:0x827,_0x460bef:0x7a7,_0x57b940:0x2e6,_0x505945:0x1cc,_0x21baff:0x57a,_0x26f1b7:0x586,_0x378efb:0x7eb,_0x2a0c2f:0x43c,_0xb66a38:0x456,_0x4159f2:0x3c5},_0x419e17={_0x150ab2:0x9e};function _0xde57fc(_0x1c884f,_0x122d28,_0x3c30e9,_0x27cb1a){return _0x4d75fe(_0x1c884f-0x181,_0x122d28,_0x3c30e9-0x6f,_0x27cb1a-0x2d);}function _0x42e699(_0xe91c45,_0x3bdc5c,_0x27337a,_0x55033a){return _0x3145c3(_0xe91c45-0x4f,_0x27337a- -_0x419e17._0x150ab2,_0x27337a-0xad,_0x3bdc5c);}const _0x3183a0=this[_0x42e699(_0x2acd2a._0xa27e11,0x472,0x4dc,_0x2acd2a._0x241a71)]();try{return this[_0x42e699(_0x2acd2a._0x3bf332,_0x2acd2a._0x25aa77,_0x2acd2a._0xe4f764,_0x2acd2a._0x460bef)](_0x3183a0,{..._0x1673b9,...this[_0xde57fc(0x4a2,0x3f0,_0x2acd2a._0x57b940,_0x2acd2a._0x505945)]==='win32'?{}:{'processGroupId':_0x1673b9[_0x42e699(_0x2acd2a._0x21baff,_0x2acd2a._0x26f1b7,0x792,0x664)][_0x42e699(_0x2acd2a._0x378efb,0x7aa,0x67f,0x605)]}});}catch(_0x4a124b){this[_0xde57fc(_0x2acd2a._0x2a0c2f,0x547,_0x2acd2a._0xb66a38,_0x2acd2a._0x4159f2)](_0x3183a0);throw _0x4a124b;}}['read'](_0x5e1093,_0x30c450){const _0xab3e2a={_0x5f2d7a:0x9f,_0x36864f:0xfe,_0x23ba62:0x8e,_0x51ff78:0x65,_0x26c4f9:0x90,_0x29b30d:0x2c6,_0xe6a746:0x10a,_0x45d05c:0x3f5,_0x4909d3:0x6e3,_0x28ee9f:0x5e1,_0x1eaf5e:0x2e0,_0x1533c2:0x1b1,_0x352e2f:0x3a2,_0x38f4db:0x57c,_0x199eca:0x5b3,_0x5896ab:0x5ca,_0x50444f:0x9e,_0x13ce5c:0x1bc,_0x58b4a7:0xb4,_0x2d6c4f:0x2c,_0x5b8003:0x3e,_0x138d69:0x56,_0x2bbf8b:0x634,_0x33317e:0x59a,_0x5a00a7:0x68,_0x5d1242:0x63,_0x46e177:0x3c6,_0xd468f9:0x2e6,_0x386d70:0x48f,_0x41adde:0x22d,_0x2540af:0x43d,_0x27f18f:0x476,_0x56d0d8:0x635,_0x1e5f32:0x112,_0x2193d0:0x8c,_0x36a448:0x50e,_0x11c4b4:0x40d},_0x33f192={_0x3b2d4f:0x9c,_0x313de4:0xc7},_0x3b1f49=this[_0xa9104f(0x151,-_0xab3e2a._0x5f2d7a,0x10b,_0xab3e2a._0x36864f)][_0x56e7e0(0x7cb,0x531,0x61b,0x674)](_0x5e1093);if(!_0x3b1f49)throw new ToolExecutionError('No\x20background\x20process\x20with\x20id\x20'+_0x5e1093,{'shellId':_0x5e1093});const _0x1b1826=_0x3b1f49['buffer'][_0xa9104f(_0xab3e2a._0x23ba62,0xb2,-_0xab3e2a._0x51ff78,_0xab3e2a._0x26c4f9)]('');function _0x56e7e0(_0x5bf9c6,_0x21b8ef,_0x3c9554,_0x2f9813){return _0x3145c3(_0x5bf9c6-_0x33f192._0x3b2d4f,_0x3c9554- -0x281,_0x3c9554-_0x33f192._0x313de4,_0x21b8ef);}const _0x398651=Math[_0xa9104f(0xcf,-_0xab3e2a._0x29b30d,-_0xab3e2a._0xe6a746,-0x17b)](_0x3b1f49['readCursor'],_0x3b1f49[_0x56e7e0(_0xab3e2a._0x45d05c,_0xab3e2a._0x4909d3,0x5ca,_0xab3e2a._0x28ee9f)]);function _0xa9104f(_0x376b99,_0x207f72,_0x1cc7b6,_0x1cc4b8){return _0x4d75fe(_0x376b99-0x103,_0x376b99,_0x1cc7b6- -0x35a,_0x1cc4b8-0x4b);}const _0x1b0cb5=Math[_0xa9104f(-0x247,-_0xab3e2a._0x1eaf5e,-_0xab3e2a._0xe6a746,-_0xab3e2a._0x1533c2)](0x0,_0x3b1f49[_0xa9104f(_0xab3e2a._0x352e2f,0x95,0x1ec,0x3ec)]-_0x3b1f49['readCursor']),_0x5c1a91=_0x1b1826['slice'](_0x398651-_0x3b1f49[_0x56e7e0(_0xab3e2a._0x38f4db,_0xab3e2a._0x199eca,_0xab3e2a._0x5896ab,0x553)]);let _0x4e7fad;const _0x13ae19=_0x30c450?.['regex'];if(!_0x13ae19)_0x4e7fad=_0x5c1a91,_0x3b1f49[_0xa9104f(-0x109,-_0xab3e2a._0x50444f,-0xa,_0xab3e2a._0x13ce5c)]=_0x3b1f49[_0xa9104f(-_0xab3e2a._0x58b4a7,-0xdd,-_0xab3e2a._0x2d6c4f,0xe3)];else{let _0x3c0d58;try{_0x3c0d58=new RegExp(_0x13ae19);}catch(_0x3ca7bb){throw new ToolExecutionError(_0xa9104f(-0x25e,-0xc8,-0x13c,0xa1)+(_0x3ca7bb instanceof Error?_0x3ca7bb['message']:String(_0x3ca7bb)),{'shellId':_0x5e1093,'regex':_0x13ae19});}let _0x33622e=_0x5c1a91;if(!_0x3b1f49[_0xa9104f(_0xab3e2a._0x5b8003,-0x1ef,-0x107,-_0xab3e2a._0x138d69)]){const _0x33af4b=_0x5c1a91['lastIndexOf']('\x0a');_0x33622e=_0x33af4b>=0x0?_0x5c1a91['slice'](0x0,_0x33af4b+0x1):'';}_0x4e7fad=_0x33622e[_0x56e7e0(0x496,_0xab3e2a._0x2bbf8b,_0xab3e2a._0x33317e,0x4f6)]('\x0a')['filter'](_0x24aa0b=>_0x3c0d58[_0xa9104f(-0x82,0x5b,-0x8a,-0x103)](_0x24aa0b))[_0xa9104f(_0xab3e2a._0x5a00a7,_0xab3e2a._0x5d1242,-0x65,-0xbf)]('\x0a'),_0x3b1f49[_0x56e7e0(_0xab3e2a._0x46e177,_0xab3e2a._0xd468f9,0x3d4,0x1eb)]=_0x398651+_0x33622e[_0x56e7e0(0x26b,_0xab3e2a._0x386d70,0x39f,0x536)];}return{'output':(_0x1b0cb5>0x0?_0x56e7e0(0x44d,_0xab3e2a._0x41adde,_0xab3e2a._0x2540af,0x40c)+_0x1b0cb5+_0x56e7e0(0x4d0,_0xab3e2a._0x27f18f,0x514,_0xab3e2a._0x56d0d8):'')+_0x4e7fad,'status':_0x3b1f49[_0xa9104f(-_0xab3e2a._0x1e5f32,_0xab3e2a._0x2193d0,0xfa,0x2d5)],'exitCode':_0x3b1f49['exitCode'],'signal':_0x3b1f49[_0x56e7e0(0x37d,0x522,_0xab3e2a._0x36a448,0x31b)],'error':_0x3b1f49[_0x56e7e0(0x6c0,_0xab3e2a._0x11c4b4,0x4cf,0x3a9)],'truncated':_0x1b0cb5>0x0};}[_0x4d75fe(0x3e6,0x36f,0x577,0x63c)](){const _0x36fb3a={_0x52f5c0:0x93,_0x235bbc:0x129,_0x5a64c9:0x124},_0x3d68c6={_0x32297f:0x199};function _0x44368c(_0x456db8,_0x4c33ed,_0x2f1503,_0x23e74f){return _0x4d75fe(_0x456db8-_0x3d68c6._0x32297f,_0x2f1503,_0x4c33ed- -0x33c,_0x23e74f-0x17c);}return[...this[_0x44368c(-_0x36fb3a._0x52f5c0,_0x36fb3a._0x235bbc,_0x36fb3a._0x5a64c9,0x2f)]['values']()];}[_0x3145c3(0x9fe,0x8aa,0x939,0x71a)](_0x5165d7){const _0x4a1195={_0x2322ee:0x55e,_0x6dd1ef:0x547,_0x1449c7:0x3d0,_0x1bf102:0x3ee,_0x152eb6:0x3ef,_0xbc28a6:0x445,_0x273e3c:0x65e,_0x3838f2:0x60d,_0xcde221:0x34a,_0x5b7753:0x300,_0x53f157:0x1c3,_0x28df87:0x58,_0x3e2d63:0x3a9,_0x4f585b:0x221,_0x3d1919:0x259,_0x2bc07c:0xe6,_0x3293bc:0x185,_0x540004:0x15a,_0x529ae2:0x187,_0x5cc8bc:0x16c,_0x6b0183:0x36b,_0x419eb5:0x38d,_0x4e8777:0x1e2,_0x4e59d1:0x4ca,_0x2b0906:0x250,_0x2f3e34:0x544,_0x4940dc:0x4a6,_0x422956:0x23,_0x75c223:0x35e,_0x2a4b66:0xb7,_0x3db826:0x518,_0x5d96ee:0x4e2,_0x2494e5:0x6ef,_0x40aa61:0x46b,_0x47b0e8:0x294,_0x18c4ce:0x471,_0x39e54d:0x468,_0x33ad39:0x174,_0x4e40ba:0x1c1,_0x1274eb:0x30},_0x1d44f6={_0x318570:0x107,_0x1db2ca:0x1fb},_0x4588b6={_0x327a31:0x13d,_0x4190e2:0x8c},_0xeda28a={_0x2c9902:0x5,_0x3e6e07:0x76},_0x11ef6f=this['entries']['get'](_0x5165d7);if(!_0x11ef6f)throw new ToolExecutionError(_0x920cd(_0x4a1195._0x2322ee,_0x4a1195._0x6dd1ef,0x5d3,0x3b4)+_0x5165d7,{'shellId':_0x5165d7});function _0x4bfbea(_0x19b3cf,_0x3eb14b,_0x1d9588,_0x5338bb){return _0x4d75fe(_0x19b3cf-_0xeda28a._0x2c9902,_0x19b3cf,_0x3eb14b-_0xeda28a._0x3e6e07,_0x5338bb-0x1a4);}if(_0x11ef6f[_0x920cd(0x3aa,_0x4a1195._0x1449c7,_0x4a1195._0x1bf102,0x271)]&&!_0x11ef6f[_0x4bfbea(_0x4a1195._0x152eb6,_0x4a1195._0xbc28a6,_0x4a1195._0x273e3c,_0x4a1195._0x3838f2)])return _0x11ef6f[_0x920cd(_0x4a1195._0xcde221,_0x4a1195._0x5b7753,0x3c0,0x271)];if(_0x11ef6f[_0x920cd(_0x4a1195._0x53f157,-0x151,0x25e,_0x4a1195._0x28df87)]&&isTerminalStatus(_0x11ef6f[_0x920cd(_0x4a1195._0x3e2d63,0x8e,_0x4a1195._0x4f585b,_0x4a1195._0x3d1919)]))return Promise[_0x920cd(_0x4a1195._0x2bc07c,-_0x4a1195._0x3293bc,_0x4a1195._0x540004,-0xb)](this[_0x920cd(_0x4a1195._0x529ae2,_0x4a1195._0x5cc8bc,_0x4a1195._0x6b0183,_0x4a1195._0x419eb5)](_0x11ef6f,_0x920cd(0x261,_0x4a1195._0x4e8777,0x27b,0x2d6)));if(_0x11ef6f[_0x4bfbea(0x40f,_0x4a1195._0x4e59d1,0x412,0x683)]!==_0x920cd(0x390,0x364,0x1ad,_0x4a1195._0x2b0906))_0x11ef6f[_0x4bfbea(0x53c,_0x4a1195._0x4e59d1,_0x4a1195._0x2f3e34,_0x4a1195._0x4940dc)]=_0x920cd(-_0x4a1195._0x422956,_0x4a1195._0x75c223,_0x4a1195._0x2a4b66,0x16e);_0x11ef6f['killRequested']=!![],_0x11ef6f['terminationSettled']=![],_0x11ef6f[_0x4bfbea(_0x4a1195._0x3db826,_0x4a1195._0x5d96ee,0x619,_0x4a1195._0x2494e5)]=this[_0x4bfbea(0x5b9,_0x4a1195._0x40aa61,_0x4a1195._0x47b0e8,0x2d2)](_0x11ef6f),void _0x11ef6f[_0x920cd(_0x4a1195._0x18c4ce,_0x4a1195._0x39e54d,_0x4a1195._0x33ad39,0x271)][_0x920cd(_0x4a1195._0x4e40ba,0xb6,0x23,-_0x4a1195._0x1274eb)](()=>{const _0x12c957={_0x10ad2f:0x1};function _0x1275d6(_0x284624,_0x4bc8d9,_0x1e5d64,_0x459227){return _0x4bfbea(_0x459227,_0x1e5d64- -0x313,_0x1e5d64-_0x12c957._0x10ad2f,_0x459227-0x12f);}_0x11ef6f[_0x1275d6(_0x4588b6._0x327a31,0x2a5,0x132,-_0x4588b6._0x4190e2)]=!![];},()=>{_0x11ef6f['terminationSettled']=!![];});function _0x920cd(_0x3bfd84,_0x581aff,_0x541206,_0x1be8bb){return _0x4d75fe(_0x3bfd84-_0x1d44f6._0x318570,_0x3bfd84,_0x1be8bb- -_0x1d44f6._0x1db2ca,_0x1be8bb-0xa1);}return _0x11ef6f['terminationPromise'];}['closeAll'](){const _0x10e00e={_0x333c14:0x3d8,_0x39def2:0x48d,_0x5de724:0x649,_0x3922fe:0x321,_0x4c6b0f:0x490,_0x578f1a:0x7c4,_0x287f7e:0x3ea,_0x69061c:0x370,_0xb684ac:0x3a4},_0x1d8d49={_0x19f6a6:0x12d,_0x2b7ed4:0x144},_0x54c67a={_0x4bcd52:0x164};function _0x558816(_0x18a5e7,_0x1d4540,_0x4dd173,_0x568144){return _0x4d75fe(_0x18a5e7-0xde,_0x568144,_0x1d4540-0x2d9,_0x568144-_0x54c67a._0x4bcd52);}function _0x21d0e1(_0x5b4441,_0x1f44e7,_0x1f0574,_0x175d57){return _0x4d75fe(_0x5b4441-_0x1d8d49._0x19f6a6,_0x5b4441,_0x1f44e7- -_0x1d8d49._0x2b7ed4,_0x175d57-0x113);}return Promise[_0x558816(_0x10e00e._0x333c14,_0x10e00e._0x39def2,0x5ab,_0x10e00e._0x5de724)]([...this[_0x21d0e1(0x1de,_0x10e00e._0x3922fe,0x52b,_0x10e00e._0x4c6b0f)][_0x558816(0x897,_0x10e00e._0x578f1a,0x890,0x7aa)]()][_0x21d0e1(0x381,_0x10e00e._0x287f7e,_0x10e00e._0x69061c,_0x10e00e._0xb684ac)](_0x2c2a9d=>this[_0x21d0e1(0x60f,0x461,0x2a7,0x677)](_0x2c2a9d['shellId'])));}async[_0x4d75fe(0x2ad,0x2e4,0x4d6,0x3e4)](){const _0xa5e3c={_0x3d6f1a:0x4c2,_0x45f2d4:0x61e,_0x498472:0x6b8,_0x6cfc57:0x73d,_0x4502c0:0x546,_0x489139:0x5c2,_0x4f3686:0x621,_0x4e0da5:0x692,_0x4450be:0x19a,_0x56309a:0x2a5,_0x124e3d:0x282},_0x5b4ed9={_0x45515e:0xe1,_0x5a9b75:0xd2};function _0x9dc0a1(_0x34804f,_0x6d79b2,_0x552b84,_0x1e7a9c){return _0x4d75fe(_0x34804f-0x191,_0x6d79b2,_0x34804f-0x2f1,_0x1e7a9c-0x3b);}const _0xb8e7b2=await this[_0x322430(0x5b8,_0xa5e3c._0x3d6f1a,0x491,_0xa5e3c._0x45f2d4)]();if(_0xb8e7b2[_0x9dc0a1(_0xa5e3c._0x498472,0x605,0x599,0x573)](_0x21cffc=>_0x21cffc[_0x9dc0a1(0x8ce,0x6a5,0x955,0x8c7)]===_0x322430(0x349,0x508,0x395,0x508)))throw new BackgroundProcessCleanupError(_0xb8e7b2);this[_0x322430(0x6c5,_0xa5e3c._0x6cfc57,_0xa5e3c._0x4502c0,_0xa5e3c._0x489139)][_0x9dc0a1(_0xa5e3c._0x4f3686,0x79e,_0xa5e3c._0x4e0da5,0x51a)]();function _0x322430(_0x4ca326,_0x57ef0c,_0x48a0f4,_0x2ae611){return _0x4d75fe(_0x4ca326-0x14c,_0x2ae611,_0x48a0f4-_0x5b4ed9._0x45515e,_0x2ae611-_0x5b4ed9._0x5a9b75);}return this[_0x322430(0x1a2,_0xa5e3c._0x4450be,_0xa5e3c._0x56309a,_0xa5e3c._0x124e3d)][_0x322430(0x35b,0x3fd,0x411,0x476)](),_0xb8e7b2;}async[_0x3145c3(0x7d2,0x6fa,0x6cc,0x81c)](_0x5265e6){const _0x488b61={_0x1bcde1:0x5a7,_0x3640d1:0x6e7,_0x5b193e:0x775,_0x1bea9a:0x712,_0x5a7142:0x67a,_0x4badd1:0x64e,_0x305349:0x59b,_0x6b2730:0x6ea,_0x2951c5:0x263,_0x1bdae8:0x498,_0x1c6417:0x2df,_0x582559:0x61d,_0x4f3b40:0x62a,_0x4cf00b:0x47e,_0x5d62fc:0x589,_0x271c98:0x645,_0x4edc26:0x4f3,_0x4cbf35:0x681,_0x17254c:0x740,_0x1b75b5:0x74a,_0xe0163e:0x56f,_0x53b59a:0x45f,_0x35fa78:0x3c0,_0x3e779c:0x239,_0x2fd049:0x392,_0x25b5de:0x73a,_0x4ef6af:0x51b,_0x9407e2:0x478,_0x4a57e7:0x4fa,_0x23bd18:0x5ce,_0x11ad31:0x769,_0x49a6b4:0x74f,_0x275d95:0x6cb,_0x1b0038:0x4e3,_0x1e0268:0x69e,_0x10bc78:0x7a4,_0x5d17a4:0x768,_0x33d6fe:0x5a1,_0x570b5a:0x637,_0x59140c:0x949},_0x25aa62={_0x111a8d:0x182},_0x4b2d35={_0x31d177:0x141,_0x1aa1d0:0xd9};function _0x5444ca(_0x48e8aa,_0x5f59d0,_0x15ac4f,_0x11c2d4){return _0x3145c3(_0x48e8aa-0x8a,_0x48e8aa- -_0x4b2d35._0x31d177,_0x15ac4f-_0x4b2d35._0x1aa1d0,_0x11c2d4);}_0x5265e6[_0x2dd8e9(0x5c5,_0x488b61._0x1bcde1,0x4d0,_0x488b61._0x3640d1)]=!![];const _0x5025b9=await this[_0x5444ca(_0x488b61._0x5b193e,0x893,_0x488b61._0x1bea9a,_0x488b61._0x5a7142)][_0x5444ca(_0x488b61._0x4badd1,0x7dc,0x877,0x606)]({'rootPid':_0x5265e6[_0x2dd8e9(_0x488b61._0x305349,_0x488b61._0x6b2730,0x749,0x525)],'processGroupId':_0x5265e6['processGroupId']},'graceful');if(_0x5025b9['outcome']===_0x2dd8e9(0x437,_0x488b61._0x2951c5,_0x488b61._0x1bdae8,_0x488b61._0x1c6417))return this[_0x2dd8e9(0x437,0x444,0x2dd,_0x488b61._0x582559)](_0x5265e6,_0x5025b9[_0x2dd8e9(0x5ce,0x544,_0x488b61._0x4f3b40,_0x488b61._0x4cf00b)]);if(await this[_0x2dd8e9(0x4a2,_0x488b61._0x5d62fc,_0x488b61._0x271c98,_0x488b61._0x4edc26)](_0x5265e6,TERMINATION_WINDOW_MS))return this[_0x5444ca(0x715,0x76e,0x756,0x682)](_0x5265e6);_0x5265e6[_0x5444ca(_0x488b61._0x4cbf35,_0x488b61._0x17254c,0x5f2,_0x488b61._0x1b75b5)]=!![];const _0x25ade4=await this['signalAdapter']['signal']({'rootPid':_0x5265e6[_0x2dd8e9(0x59b,0x475,_0x488b61._0xe0163e,_0x488b61._0x53b59a)],'processGroupId':_0x5265e6[_0x2dd8e9(_0x488b61._0x35fa78,0x4a3,_0x488b61._0x3e779c,_0x488b61._0x2fd049)]},_0x2dd8e9(0x666,_0x488b61._0x25b5de,_0x488b61._0x4ef6af,0x752));if(_0x25ade4[_0x2dd8e9(0x760,0x620,0x554,_0x488b61._0x3640d1)]==='failed')return this[_0x5444ca(_0x488b61._0x9407e2,_0x488b61._0x4a57e7,0x29a,0x480)](_0x5265e6,_0x25ade4[_0x2dd8e9(_0x488b61._0x23bd18,_0x488b61._0x11ad31,_0x488b61._0x49a6b4,_0x488b61._0x275d95)]);function _0x2dd8e9(_0x386828,_0x4499ba,_0x5728d8,_0x25986a){return _0x3145c3(_0x386828-0x1df,_0x386828- -_0x25aa62._0x111a8d,_0x5728d8-0xb1,_0x5728d8);}if(await this[_0x5444ca(_0x488b61._0x1b0038,0x304,_0x488b61._0x1e0268,0x329)](_0x5265e6,TERMINATION_WINDOW_MS))return this[_0x2dd8e9(0x6d4,_0x488b61._0x10bc78,_0x488b61._0x5d17a4,_0x488b61._0x33d6fe)](_0x5265e6);return this[_0x5444ca(_0x488b61._0x9407e2,_0x488b61._0x570b5a,0x50d,0x2bd)](_0x5265e6,_0x5444ca(0x792,_0x488b61._0x59140c,0x60b,0x607));}[_0x3145c3(0x85b,0x856,0x8b2,0x6f2)](_0x40044c){const _0x44220d={_0x2149a2:0x6ea,_0x459e37:0x65e,_0x3acd82:0x614,_0x18d92b:0x463,_0x5bf267:0x155,_0x4c3875:0x243,_0x16fe5b:0x647,_0x4917ee:0x655,_0x491199:0x5b8,_0x29b867:0x513,_0x4885bf:0x600,_0x3c4259:0x5a0},_0x1c6b62={_0x496035:0x7f},_0x15fe84={_0x49342f:0x20a,_0x118c77:0xd4};function _0x50622(_0x51f34d,_0x2562f4,_0x31eedb,_0x46e313){return _0x4d75fe(_0x51f34d-0x14d,_0x51f34d,_0x31eedb-_0x15fe84._0x49342f,_0x46e313-_0x15fe84._0x118c77);}function _0x3430c8(_0x575cb6,_0x7f25b4,_0x36efcb,_0x3239b2){return _0x3145c3(_0x575cb6-0xa1,_0x7f25b4- -0x28d,_0x36efcb-_0x1c6b62._0x496035,_0x36efcb);}return _0x40044c[_0x50622(0x7bb,_0x44220d._0x2149a2,_0x44220d._0x459e37,_0x44220d._0x3acd82)]==='error'?this[_0x3430c8(_0x44220d._0x18d92b,0x32c,_0x44220d._0x5bf267,_0x44220d._0x4c3875)](_0x40044c,_0x40044c[_0x50622(_0x44220d._0x16fe5b,0x4af,_0x44220d._0x4917ee,_0x44220d._0x491199)]??'Background\x20process\x20failed\x20during\x20termination'):this[_0x3430c8(_0x44220d._0x29b867,_0x44220d._0x4885bf,_0x44220d._0x3c4259,0x49d)](_0x40044c,'killed');}[_0x4d75fe(0x1b8,0xd1,0x2b4,0x45f)](_0x463723,_0x51321e){const _0x40d9ec={_0x323365:0x7da,_0xce0de6:0x74e,_0x23f89:0x958,_0x1122ba:0x2c7,_0x4dd0b7:0x128},_0x4b00bf={_0x4064e3:0xde},_0xd19be3={_0x1295e6:0x18c,_0x5ee748:0x47};function _0x362eb1(_0x3f473c,_0x5e0f48,_0x1d48b,_0x3c75cd){return _0x4d75fe(_0x3f473c-0x139,_0x3c75cd,_0x1d48b- -_0xd19be3._0x1295e6,_0x3c75cd-_0xd19be3._0x5ee748);}function _0x1b5654(_0x3db8cf,_0x125226,_0x1555e1,_0x50aaf6){return _0x4d75fe(_0x3db8cf-_0x4b00bf._0x4064e3,_0x50aaf6,_0x3db8cf-0x38f,_0x50aaf6-0x12a);}return _0x463723[_0x1b5654(_0x40d9ec._0x323365,0x8ad,0x720,0x67a)]=_0x51321e,this[_0x1b5654(0x917,_0x40d9ec._0xce0de6,0x913,_0x40d9ec._0x23f89)](_0x463723,_0x362eb1(_0x40d9ec._0x1122ba,0xcc,_0x40d9ec._0x4dd0b7,-0xcb));}[_0x3145c3(0x9bf,0x88d,0x76c,0x736)](_0x531e65,_0x5d365f){const _0x5af547={_0x312ef0:0xa4,_0x4ab23f:0x253,_0x560907:0x173,_0x517140:0x19f,_0x2d4bb3:0xba,_0x11be32:0xb5,_0x721267:0x37,_0x32ab87:0xd2,_0x345ff1:0xd8,_0x25bae7:0xcf,_0x21a46c:0x81,_0x35b6d3:0x161,_0x472644:0x29e},_0x502828={_0x3d4bd5:0x5e,_0x54bee2:0x5e6},_0x130d18={_0x4f0325:0x37c};function _0x50608f(_0x5c1614,_0x5583bd,_0x5ce51a,_0x68c19a){return _0x4d75fe(_0x5c1614-0x38,_0x5ce51a,_0x68c19a- -_0x130d18._0x4f0325,_0x68c19a-0x149);}function _0xa33d30(_0x37ce04,_0x1a800a,_0x206028,_0x512b7c){return _0x3145c3(_0x37ce04-_0x502828._0x3d4bd5,_0x206028- -_0x502828._0x54bee2,_0x206028-0x146,_0x1a800a);}return{'shellId':_0x531e65[_0x50608f(0x416,_0x5af547._0x312ef0,0x17f,_0x5af547._0x4ab23f)],'outcome':_0x5d365f,'status':_0x531e65[_0xa33d30(0x217,0x29d,_0x5af547._0x560907,-0x76)],'exitCode':_0x531e65[_0x50608f(-_0x5af547._0x517140,0x25d,_0x5af547._0x2d4bb3,0x7c)],'signal':_0x531e65[_0x50608f(_0x5af547._0x11be32,0x284,-_0x5af547._0x721267,0x10e)],'error':_0x531e65[_0x50608f(_0x5af547._0x32ab87,_0x5af547._0x345ff1,0x13c,_0x5af547._0x25bae7)],'gracefulRequested':_0x531e65[_0xa33d30(0x43,_0x5af547._0x21a46c,_0x5af547._0x35b6d3,_0x5af547._0x472644)],'forceRequested':_0x531e65['forceRequested']};}[_0x4d75fe(0x543,0x111,0x31f,0x1d4)](_0x15bc96,_0x5272d8){const _0x3cd36c={_0x4a2a2b:0x56c,_0x377d61:0x34e,_0x4d592c:0x34b,_0x2d5fb2:0x13a,_0x47934e:0x494,_0x397e52:0x2e8},_0x3dd946={_0x3f09ef:0x171,_0x4a2d26:0x318},_0x89f73a={_0x4da590:0x7d},_0x31564a={_0x4b9b1d:0x75};function _0x1ed1c2(_0x52e26d,_0xdcf8b7,_0x4e01d4,_0x38224f){return _0x4d75fe(_0x52e26d-0x61,_0xdcf8b7,_0x38224f- -0x284,_0x38224f-_0x31564a._0x4b9b1d);}if(_0x15bc96[_0x481f39(_0x3cd36c._0x4a2a2b,0x54c,_0x3cd36c._0x377d61,_0x3cd36c._0x4d592c)])return Promise[_0x481f39(0x386,_0x3cd36c._0x2d5fb2,_0x3cd36c._0x47934e,_0x3cd36c._0x397e52)](!![]);function _0x481f39(_0xa290df,_0x143d05,_0x583236,_0x5bcb46){return _0x4d75fe(_0xa290df-0x0,_0x583236,_0x5bcb46-0xf8,_0x5bcb46-0xf9);}return new Promise(_0x54e157=>{let _0x54428a=![];const _0x37a1e2=setTimeout(()=>{if(_0x54428a)return;_0x54428a=!![],_0x54e157(![]);},_0x5272d8);function _0x15144e(_0x9f5b28,_0x2b760e,_0x3efad6,_0x23fe34){return _0x1ed1c2(_0x9f5b28-_0x89f73a._0x4da590,_0x3efad6,_0x3efad6-0x67,_0x9f5b28-0x3a9);}void _0x15bc96['terminalPromise'][_0x15144e(0x2f0,0x20b,_0x3dd946._0x3f09ef,_0x3dd946._0x4a2d26)](()=>{if(_0x54428a)return;_0x54428a=!![],clearTimeout(_0x37a1e2),_0x54e157(!![]);});});}[_0x4d75fe(0x2cc,0x2e9,0x28c,0x3e6)](_0x9eed61,_0x45f5e8,_0xefd7df,_0x4d8e55){const _0x5f4495={_0x43a2c1:0x5ad,_0x1d8c16:0x64a},_0x5c64e2={_0x7a840f:0xd4,_0xc526d4:0x1b6,_0x28bedd:0xf8};function _0xf796b2(_0x183757,_0x4c6fdb,_0x48c24d,_0x5995e7){return _0x4d75fe(_0x183757-_0x5c64e2._0x7a840f,_0x48c24d,_0x5995e7-_0x5c64e2._0xc526d4,_0x5995e7-_0x5c64e2._0x28bedd);}const _0x256c6c=_0x45f5e8['write'](_0x4d8e55);this['append'](_0x9eed61,_0x9eed61['stripAnsi']?_0xefd7df[_0xf796b2(0x802,_0x5f4495._0x43a2c1,0x452,_0x5f4495._0x1d8c16)](_0x256c6c):_0x256c6c);}[_0x4d75fe(0x3d6,0x2ca,0x33b,0x254)](_0x430858){const _0x173e97={_0x89553a:0x6c9,_0x236e53:0x579,_0x52579e:0x564,_0x43ed48:0x4d1,_0x46be15:0x3d6,_0x5ff1fc:0x34a},_0x4a77da={_0x1ed9a2:0x1da,_0x228291:0x21,_0xc2685e:0x1c8},_0x2e4f55={_0x58881e:0xdb};this['flushStreams'](_0x430858);function _0x3c38ea(_0x547858,_0x15dc2c,_0x5db95f,_0x1ab3a1){return _0x3145c3(_0x547858-_0x2e4f55._0x58881e,_0x1ab3a1- -0x38f,_0x5db95f-0x181,_0x15dc2c);}!_0x430858[_0x1f483b(0x579,0x6f4,0x673,_0x173e97._0x89553a)]&&(_0x430858[_0x1f483b(_0x173e97._0x236e53,0x517,_0x173e97._0x52579e,_0x173e97._0x43ed48)]=!![],_0x430858['resolveTerminal']());function _0x1f483b(_0x20f905,_0x23990f,_0x8e5a47,_0x2691c5){return _0x3145c3(_0x20f905-_0x4a77da._0x1ed9a2,_0x20f905-_0x4a77da._0x228291,_0x8e5a47-_0x4a77da._0xc2685e,_0x8e5a47);}this[_0x3c38ea(0x450,_0x173e97._0x46be15,_0x173e97._0x5ff1fc,0x276)]();}['flushStreams'](_0x538c41){const _0x40b96e={_0x390b13:0x7c8,_0x2c8640:0x710,_0x4c6d32:0x830,_0x578176:0x889,_0x1c9a30:0x80e,_0x17475f:0x3d3,_0x4de331:0x2a5,_0x33af37:0x6f6,_0x406e8d:0x57a,_0x5d55c3:0x6fc,_0x60b32a:0x365,_0x31a3dc:0x326,_0x250fbf:0x16b,_0x2dc8f8:0x6e9,_0x3169c5:0xa3b,_0x1b7d70:0x7d5,_0x11907f:0x7b9,_0x343e97:0x489,_0x3ede46:0x35f,_0x4a6c84:0x569,_0x24400b:0x640,_0x5587a1:0x483,_0x3434a6:0x449,_0x3915a4:0x830,_0x430b69:0x6b4,_0x16b621:0x3cc},_0x19fef7={_0x399d17:0x11d,_0x165421:0x206,_0x11d889:0x1c0},_0x3975ce={_0x3b24c6:0x17c};if(_0x538c41[_0x361d84(_0x40b96e._0x390b13,0x8f1,_0x40b96e._0x2c8640,_0x40b96e._0x4c6d32)])return;_0x538c41[_0x361d84(_0x40b96e._0x578176,_0x40b96e._0x1c9a30,0x832,0x830)]=!![];const _0x6c700e=_0x538c41[_0x370649(_0x40b96e._0x17475f,_0x40b96e._0x4de331,0x4c9,0x1bb)][_0x370649(_0x40b96e._0x33af37,_0x40b96e._0x406e8d,_0x40b96e._0x5d55c3,0x78d)](),_0x18e437=_0x538c41['stderrDecoder']['end']();function _0x361d84(_0x328120,_0x1633b2,_0xdece1,_0x3bbfc4){return _0x3145c3(_0x328120-_0x3975ce._0x3b24c6,_0x3bbfc4-0x3f,_0xdece1-0x123,_0x1633b2);}function _0x370649(_0x151c1c,_0x21a1f5,_0x359970,_0x528088){return _0x3145c3(_0x151c1c-_0x19fef7._0x399d17,_0x21a1f5- -_0x19fef7._0x165421,_0x359970-_0x19fef7._0x11d889,_0x151c1c);}this['append'](_0x538c41,_0x538c41[_0x370649(_0x40b96e._0x60b32a,0x35f,_0x40b96e._0x31a3dc,_0x40b96e._0x250fbf)]?_0x538c41[_0x370649(_0x40b96e._0x2dc8f8,0x67e,0x875,0x7ff)]['write'](_0x6c700e)+_0x538c41[_0x361d84(_0x40b96e._0x3169c5,_0x40b96e._0x1b7d70,0x885,0x8c3)]['end']():_0x6c700e),this[_0x361d84(0x5e6,0x831,0x67d,_0x40b96e._0x11907f)](_0x538c41,_0x538c41[_0x370649(_0x40b96e._0x343e97,_0x40b96e._0x3ede46,_0x40b96e._0x4a6c84,0x1c8)]?_0x538c41[_0x370649(_0x40b96e._0x24400b,0x46f,_0x40b96e._0x5587a1,_0x40b96e._0x3434a6)][_0x361d84(_0x40b96e._0x3915a4,0x665,0x6f2,0x7d8)](_0x18e437)+_0x538c41[_0x361d84(0x7bb,0x676,0x818,_0x40b96e._0x430b69)][_0x370649(0x72d,0x57a,_0x40b96e._0x16b621,0x51b)]():_0x18e437);}['append'](_0x13eaa,_0x325430){const _0x2b215a={_0x11233:0xbd,_0xfe6c4c:0xda,_0x1b3115:0x19,_0x4e2a59:0x228,_0x142655:0xff,_0x34e764:0x14f,_0x4aa8e4:0x1bc,_0x18ebfa:0x190,_0x3934aa:0xdf,_0x2af7ee:0x536,_0x29ec1a:0x4d0,_0x24146c:0x668,_0xa8b6cd:0x891,_0x3225ba:0x348,_0x5ae16e:0x47,_0x4745b7:0x38,_0x26a370:0x1df,_0x76cd2:0x72,_0x476c2b:0x10a,_0x17f811:0x9b,_0x74d917:0x240,_0x5785cc:0x3d6,_0x2d574c:0x250,_0x59746a:0x675,_0xd15494:0x7df,_0x46b137:0x4a7,_0x396981:0x4fa,_0x4e5821:0x1b9,_0x2a3eaa:0x137,_0x2a0aff:0x560,_0x10e495:0x15d,_0x59cee7:0x377,_0x379cec:0x14d,_0x4f9d27:0x564,_0x374822:0x1b9,_0x36b464:0x18f,_0x23eb3a:0x28},_0xef62dd={_0x582534:0x58,_0x4f5f9b:0x179,_0x4ee830:0x13f},_0x4afc0c={_0x2be6e6:0x3e};if(_0x325430[_0x3f1532(-0x72,-_0x2b215a._0x11233,_0x2b215a._0xfe6c4c,0x31)]===0x0)return;_0x13eaa['buffer'][_0x3f1532(_0x2b215a._0x1b3115,-0xcb,_0x2b215a._0x4e2a59,-_0x2b215a._0x142655)](_0x325430);function _0x3f1532(_0x3f3cda,_0x47de28,_0x79fd63,_0x3312cd){return _0x4d75fe(_0x3f3cda-0x1c4,_0x3312cd,_0x3f3cda- -0x38d,_0x3312cd-_0x4afc0c._0x2be6e6);}_0x13eaa[_0x3f1532(_0x2b215a._0x34e764,_0x2b215a._0x4aa8e4,0x58,0x240)]+=_0x325430['length'],_0x13eaa[_0x3f1532(-0x5f,-0x268,0xdb,_0x2b215a._0x18ebfa)]+=_0x325430[_0x3f1532(-0x72,0x8c,-0x163,_0x2b215a._0x3934aa)];function _0xe1a76d(_0x49cf77,_0x295f27,_0x1e11a9,_0x59b9fd){return _0x3145c3(_0x49cf77-_0xef62dd._0x582534,_0x49cf77- -_0xef62dd._0x4f5f9b,_0x1e11a9-_0xef62dd._0x4ee830,_0x295f27);}while(_0x13eaa['bufferChars']>this[_0xe1a76d(0x45f,_0x2b215a._0x2af7ee,0x3f6,_0x2b215a._0x29ec1a)]){const _0x31e352=_0x13eaa[_0xe1a76d(_0x2b215a._0x24146c,0x561,0x71a,_0x2b215a._0xa8b6cd)]-this[_0xe1a76d(0x45f,0x270,_0x2b215a._0x3225ba,0x35e)],_0xa6dc7d=_0x13eaa[_0x3f1532(_0x2b215a._0x5ae16e,_0x2b215a._0x4745b7,_0x2b215a._0x26a370,-0x1bf)][0x0];if(_0xa6dc7d===void 0x0)break;_0xa6dc7d[_0x3f1532(-_0x2b215a._0x76cd2,-_0x2b215a._0x476c2b,0x13a,0xea)]<=_0x31e352?(_0x13eaa[_0x3f1532(_0x2b215a._0x5ae16e,-_0x2b215a._0x17f811,_0x2b215a._0x74d917,-0x123)][_0xe1a76d(_0x2b215a._0x5785cc,_0x2b215a._0x2d574c,0x4c3,0x22f)](),_0x13eaa[_0xe1a76d(0x668,_0x2b215a._0x59746a,_0x2b215a._0xd15494,0x62e)]-=_0xa6dc7d[_0xe1a76d(_0x2b215a._0x46b137,_0x2b215a._0x396981,0x508,0x57c)],_0x13eaa[_0x3f1532(_0x2b215a._0x4e5821,_0x2b215a._0x2a3eaa,0x223,0x74)]+=_0xa6dc7d[_0x3f1532(-0x72,-0x1d3,-_0x2b215a._0x142655,-0x25e)]):(_0x13eaa[_0xe1a76d(_0x2b215a._0x2a0aff,0x583,0x72c,0x53f)][0x0]=_0xa6dc7d[_0x3f1532(_0x2b215a._0x10e495,_0x2b215a._0x59cee7,_0x2b215a._0x379cec,0x2e3)](_0x31e352),_0x13eaa[_0xe1a76d(_0x2b215a._0x24146c,0x720,0x558,_0x2b215a._0x4f9d27)]-=_0x31e352,_0x13eaa[_0x3f1532(_0x2b215a._0x374822,_0x2b215a._0x36b464,0x1e8,-_0x2b215a._0x23eb3a)]+=_0x31e352);}}[_0x4d75fe(0x402,0x129,0x300,0x2a1)](){const _0x34135b={_0x402590:0x485,_0x3edc43:0x222,_0x5320ed:0x29c,_0xb27e30:0x33e,_0xfa8a6b:0x3f9,_0x50ada4:0x48b,_0x2d3453:0x5d9,_0xc54ea9:0x64b,_0x3287df:0x366,_0x4db196:0xb1,_0x556013:0x191,_0xd33628:0x1d4,_0x1fbb8c:0x2c4,_0x1cd49e:0x6c1,_0x3a5e2c:0xbf,_0x5d742e:0x44f,_0x5c0213:0x722},_0x53e5f9={_0x46024f:0x1d6};function _0x212ce8(_0x48b80e,_0x2fadc2,_0x27cd47,_0x428aa1){return _0x3145c3(_0x48b80e-_0x53e5f9._0x46024f,_0x27cd47- -0x3b1,_0x27cd47-0xac,_0x428aa1);}function _0x5248a6(_0x401215,_0x4f8cc9,_0x3860d9,_0x46c721){return _0x3145c3(_0x401215-0x1de,_0x46c721- -0x1a5,_0x3860d9-0x61,_0x4f8cc9);}while(this['entries'][_0x212ce8(_0x34135b._0x402590,_0x34135b._0x3edc43,_0x34135b._0x5320ed,_0x34135b._0xb27e30)]>this[_0x212ce8(_0x34135b._0xfa8a6b,0x39c,_0x34135b._0x50ada4,_0x34135b._0x2d3453)]){const _0x57c0c3=[...this[_0x212ce8(0x45c,0x277,0x3b9,0x26e)][_0x5248a6(0x6d7,0x5a9,0x63d,_0x34135b._0xc54ea9)]()][_0x212ce8(0x638,0x3dd,0x53c,_0x34135b._0x3287df)](_0x4dca29=>_0x4dca29['terminalSettled']&&isTerminalStatus(_0x4dca29[_0x5248a6(0x3de,0x78a,0x559,0x5b4)]))[_0x212ce8(_0x34135b._0x4db196,_0x34135b._0x556013,_0x34135b._0xd33628,_0x34135b._0x1fbb8c)]((_0x40f15c,_0x1a96e3)=>_0x40f15c[_0x212ce8(0x13f,0x2b8,0x21c,0x220)]-_0x1a96e3[_0x5248a6(0x5c0,0x543,0x450,0x428)])[0x0];if(!_0x57c0c3)return;this[_0x5248a6(0x410,0x6aa,_0x34135b._0x1cd49e,0x5c5)][_0x212ce8(_0x34135b._0x3a5e2c,_0x34135b._0x5d742e,0x2b6,0x416)](_0x57c0c3[_0x212ce8(0x42d,0x406,0x523,_0x34135b._0x5c0213)]);}}};function createBashOutputTool(_0x12f35c){const _0x12e05d={_0xaf1f5f:0x193,_0x29b4cb:0x50,_0xa5e3e1:0x124,_0x3b07c6:0x3a,_0x24cccc:0x328,_0x52f106:0x483,_0x1fd5c5:0x1e8,_0x10c4ba:0x1e},_0x16479d={_0x3438fc:0x882,_0x37ea11:0x68a,_0x2feb95:0x8a5,_0x3dee6f:0x573,_0x26eea5:0x68d,_0x4a1a14:0x699,_0x174384:0x605,_0x4b247f:0x308,_0x201cf9:0x1b1,_0x4eb4cc:0x592,_0x587463:0x4b9,_0x1a862c:0x443,_0x4e1f3e:0x44b,_0x170fc5:0x54c,_0x1e0d80:0x5f7,_0x2b5bd0:0x357},_0x603f64={_0x5c397:0x12c},_0x16d50f={_0x1da212:0x8c},_0x29624b={_0x634e4f:0x1b6},_0x12d2ed={_0x508c7f:0x1e8,_0x32fad5:0x5d7,_0xf79283:0x26};function _0x20107e(_0x4847d0,_0x5c83a8,_0x411e0f,_0x46060b){return _0x3145c3(_0x4847d0-_0x12d2ed._0x508c7f,_0x5c83a8- -_0x12d2ed._0x32fad5,_0x411e0f-_0x12d2ed._0xf79283,_0x4847d0);}const {registry:_0x1dbb70}=_0x12f35c;function _0x223a92(_0x418c72,_0x588e08,_0x4d7983,_0x53efbf){return _0x3145c3(_0x418c72-0x85,_0x588e08- -0x48d,_0x4d7983-_0x29624b._0x634e4f,_0x53efbf);}return defineTool({'name':'BashOutput','permissionClass':_0x20107e(_0x12e05d._0xaf1f5f,0x79,-0x82,_0x12e05d._0x29b4cb),'description':_0x20107e(-0x22c,-0x79,-0x222,-_0x12e05d._0xa5e3e1),'inputSchema':{'type':_0x223a92(0x139,0x264,_0x12e05d._0x3b07c6,0x2a4),'properties':{'shellId':{'type':_0x223a92(0x23a,_0x12e05d._0x24cccc,_0x12e05d._0x52f106,0x4cb)},'regex':{'type':_0x20107e(0x173,0x1de,_0x12e05d._0x1fd5c5,_0x12e05d._0x10c4ba)}},'required':['shellId']},async *'execute'(_0x13d0f3){function _0x2f2faa(_0x10c8b1,_0x2bfb33,_0x36f770,_0x58f8b8){return _0x223a92(_0x10c8b1-_0x16d50f._0x1da212,_0x58f8b8-0x302,_0x36f770-0x17f,_0x2bfb33);}function _0x42830f(_0x3e2475,_0x3b0632,_0x9a52cd,_0x5ec8d0){return _0x20107e(_0x3e2475,_0x5ec8d0-0x3c4,_0x9a52cd-0x13e,_0x5ec8d0-_0x603f64._0x5c397);}const _0x53c7bb=_0x1dbb70[_0x2f2faa(_0x16479d._0x3438fc,0x86d,0x6e8,_0x16479d._0x37ea11)](_0x13d0f3['shellId'],_0x13d0f3[_0x2f2faa(_0x16479d._0x2feb95,0x62f,_0x16479d._0x3dee6f,_0x16479d._0x26eea5)]?{'regex':_0x13d0f3[_0x42830f(0x4aa,_0x16479d._0x4a1a14,0x4cf,_0x16479d._0x174384)]}:void 0x0);return createToolOutput(_0x53c7bb[_0x42830f(0x39f,_0x16479d._0x4b247f,_0x16479d._0x201cf9,0x326)],{'shellId':_0x13d0f3['shellId'],'status':_0x53c7bb[_0x42830f(_0x16479d._0x4eb4cc,0x664,_0x16479d._0x587463,0x546)],'exitCode':_0x53c7bb['exitCode'],'signal':_0x53c7bb[_0x2f2faa(_0x16479d._0x1a862c,_0x16479d._0x4e1f3e,_0x16479d._0x170fc5,0x604)],'error':_0x53c7bb[_0x42830f(_0x16479d._0x1e0d80,0x71d,0x4a8,0x53d)],'truncated':_0x53c7bb[_0x42830f(0x2f8,0x3c4,0x563,_0x16479d._0x2b5bd0)]});}});}import{spawn as _0x5b435f}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x3aad8a from'os';import*as _0x5bfb7a from'path';import{StringDecoder as _0x5095bc}from'string_decoder';import{spawn as _0x4f5bc3}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException2(_0x1ea63f){return _0x1ea63f instanceof Error;}function resolveCarriageReturns(_0x3dbb49){const _0xec4369={_0x2fd5da:0x319,_0x5729d9:0x4e1,_0x2533b5:0x5f6,_0xc8e55b:0x496,_0x139102:0x1f6},_0xeadedf={_0x4eef55:0x746,_0x51c87f:0x6be,_0x26b636:0x200},_0x582c35={_0x14c647:0xd3},_0x4638e8={_0x3f01f9:0x137,_0x43f38:0x33a},_0x137a6e={_0x1286d7:0x197,_0x465420:0xde,_0x5a44b8:0x153};function _0x372715(_0x27de10,_0x186d01,_0x2134bf,_0x1e5d9d){return _0x4d75fe(_0x27de10-_0x137a6e._0x1286d7,_0x27de10,_0x2134bf-_0x137a6e._0x465420,_0x1e5d9d-_0x137a6e._0x5a44b8);}function _0x576ac6(_0x5bc549,_0x548c58,_0x40a252,_0x4a06c3){return _0x3145c3(_0x5bc549-_0x4638e8._0x3f01f9,_0x548c58- -_0x4638e8._0x43f38,_0x40a252-0x1c1,_0x4a06c3);}return _0x3dbb49[_0x576ac6(_0xec4369._0x2fd5da,_0xec4369._0x5729d9,_0xec4369._0x2533b5,0x4a3)]('\x0a')[_0x372715(0x6a0,_0xec4369._0xc8e55b,0x60c,0x56d)](_0x381a7f=>{const _0x6e52c7={_0x1299bf:0x17e,_0x278dc3:0x131};function _0x1f3e4c(_0x506738,_0x1b6841,_0x31862e,_0x1df764){return _0x372715(_0x506738,_0x1b6841-0x98,_0x1df764-_0x6e52c7._0x1299bf,_0x1df764-_0x6e52c7._0x278dc3);}function _0x44932b(_0x16ee92,_0x204ff0,_0x5bc675,_0x3fe91e){return _0x576ac6(_0x16ee92-_0x582c35._0x14c647,_0x5bc675- -0x32c,_0x5bc675-0x5f,_0x3fe91e);}if(!_0x381a7f['includes']('\x0d'))return _0x381a7f;const _0x39bac0=_0x381a7f[_0x1f3e4c(_0xeadedf._0x4eef55,_0xeadedf._0x51c87f,0x849,0x772)]('\x0d');return _0x39bac0[_0x39bac0[_0x44932b(0x118,0x1d8,-0x46,-_0xeadedf._0x26b636)]-0x1]??'';})[_0x372715(_0xec4369._0x139102,0x257,0x3d3,0x1e0)]('\x0a');}function resolveBackspaces(_0x490fd3){const _0x506c17={_0x39af8d:0x93,_0x5cfb64:0xbf,_0x47b204:0xa5,_0x1a5bd5:0x133},_0x55b3c6={_0x196a12:0xbd},_0x595fa2={_0x6ad647:0x169};function _0x5b084e(_0x17458e,_0x11a11d,_0x39ce21,_0x56653c){return _0x3145c3(_0x17458e-0x1a9,_0x56653c-0xd5,_0x39ce21-_0x595fa2._0x6ad647,_0x11a11d);}const _0x27e609=[];function _0x30cc01(_0x5dab76,_0x2ffbd1,_0x44be99,_0x1684b8){return _0x3145c3(_0x5dab76-_0x55b3c6._0x196a12,_0x44be99- -0x4c7,_0x44be99-0x1da,_0x5dab76);}for(const _0x3c9e34 of Array['from'](_0x490fd3)){_0x3c9e34==='\x08'?_0x27e609[_0x30cc01(0x209,-_0x506c17._0x39af8d,0x140,0x132)]():_0x27e609['push'](_0x3c9e34);}return _0x27e609[_0x30cc01(-_0x506c17._0x5cfb64,-_0x506c17._0x47b204,_0x506c17._0x1a5bd5,0x143)]('');}function stripAnsiAndControls(_0x446613){const _0x589dd2={_0x4cfec5:0x43b,_0x20141d:0x1ab,_0x2b9d76:0x41a,_0x51db49:0x3ab,_0x785759:0x4fd,_0x547d13:0xfe,_0x10de81:0x123,_0x3fc487:0x80,_0x4a4739:0x64a,_0x277f67:0x3e8,_0x42c8b7:0x604,_0xb32814:0x1b9,_0x28dbfe:0x478,_0x4391b7:0x4d9,_0x273d23:0x3d3,_0x35b61f:0x5ba},_0x486d95={_0xe3e391:0x19d},_0x45171e={_0x3857c8:0x1c1,_0x2e1123:0x2f};_0x446613=resolveCarriageReturns(_0x446613),_0x446613=resolveBackspaces(_0x446613),_0x446613=stripVTControlCharacters(_0x446613);function _0xfe834f(_0x239573,_0x13c98e,_0x49a1e4,_0x2289df){return _0x3145c3(_0x239573-_0x45171e._0x3857c8,_0x13c98e- -0x10a,_0x49a1e4-_0x45171e._0x2e1123,_0x239573);}const _0x1764ca='\x1b';function _0xaa9c15(_0x42adb1,_0x492309,_0x458639,_0x269361){return _0x4d75fe(_0x42adb1-0x13,_0x42adb1,_0x492309- -0x15a,_0x269361-_0x486d95._0xe3e391);}const _0x23a1fa='\x07';return _0x446613=_0x446613[_0xfe834f(0x499,0x478,_0x589dd2._0x4cfec5,0x44b)](new RegExp(';[^'+_0x23a1fa+_0xaa9c15(_0x589dd2._0x20141d,0x2e1,0x42f,_0x589dd2._0x2b9d76)+_0x23a1fa,'g'),''),_0x446613=_0x446613['replace'](new RegExp(_0xaa9c15(0x199,_0x589dd2._0x51db49,_0x589dd2._0x785759,0x4b5)+_0x1764ca+'\x5c\x5c','g'),''),_0x446613=_0x446613[_0xaa9c15(-_0x589dd2._0x547d13,_0x589dd2._0x10de81,-_0x589dd2._0x3fc487,-0xf3)](new RegExp(_0x23a1fa,'g'),''),_0x446613=_0x446613[_0xfe834f(0x421,0x478,_0x589dd2._0x4a4739,0x341)](new RegExp(_0x1764ca+_0xfe834f(_0x589dd2._0x277f67,0x577,0x4cc,_0x589dd2._0x42c8b7)+_0x1764ca+'\x5c\x5c','g'),''),_0x446613=_0x446613[_0xaa9c15(-0x102,0x123,0x308,_0x589dd2._0xb32814)](new RegExp(_0x1764ca+'[=>7-8()]','g'),''),_0x446613=_0x446613[_0xfe834f(0x601,_0x589dd2._0x28dbfe,_0x589dd2._0x4391b7,0x46e)](/[\u0080-\u009F]/g,''),_0x446613=_0x446613[_0xfe834f(0x69e,0x478,_0x589dd2._0x273d23,_0x589dd2._0x35b61f)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x446613=_0x446613['replace'](/[\u23CE\u2424]/g,''),_0x446613;}function killProcessGroup(_0x2f20d0,_0x29eb8a,_0x2ec0a8=_0x4d75fe(0x390,0x554,0x3c2,0x1d3)){const _0x410188={_0x59ad23:0x46c,_0x114afa:0x3ba,_0x2df0cc:0x409,_0x32c5f0:0x3d5,_0x131536:0x710,_0x2ead49:0x5d8,_0x560ca3:0x49d,_0x1e80d5:0x762,_0x52fa42:0x3ef,_0x34262e:0x8e,_0x3e2120:0x3c,_0x1120cf:0x224,_0x3766e2:0x5f4,_0x3a31be:0x765,_0x3103ad:0x266,_0x43a29f:0x700,_0x352217:0x713},_0x425093={_0x48af05:0x1b0,_0x3e1075:0x145},_0x1b3ec9={_0x3c4304:0x6c};if(!_0x2f20d0[_0x5a06d9(_0x410188._0x59ad23,0x5ba,0x484,_0x410188._0x114afa)])return;if(_0x29eb8a)try{_0x4f5bc3(_0x31deb0(0x225,0x495,_0x410188._0x2df0cc,0x312),[_0x31deb0(0x4eb,0x5c8,0x549,_0x410188._0x32c5f0),_0x2f20d0[_0x31deb0(_0x410188._0x131536,0x428,_0x410188._0x2ead49,_0x410188._0x560ca3)][_0x31deb0(_0x410188._0x1e80d5,0x670,0x615,_0x410188._0x52fa42)](),'/T','/F'],{'stdio':_0x5a06d9(_0x410188._0x34262e,_0x410188._0x3e2120,_0x410188._0x1120cf,0x74)});return;}catch{_0x2f20d0[_0x31deb0(0x592,_0x410188._0x3766e2,_0x410188._0x3a31be,0x6c0)](_0x2ec0a8);return;}function _0x5a06d9(_0x215d1e,_0xfcf3f8,_0x5697e3,_0x498a8f){return _0x4d75fe(_0x215d1e-0xbe,_0x215d1e,_0x5697e3-_0x1b3ec9._0x3c4304,_0x498a8f-0xe6);}function _0x31deb0(_0x47d383,_0x465a29,_0x55f65a,_0x470f72){return _0x3145c3(_0x47d383-_0x425093._0x48af05,_0x55f65a- -_0x425093._0x3e1075,_0x55f65a-0x14,_0x47d383);}try{process[_0x31deb0(0x93f,0x5b7,0x765,0x971)](-_0x2f20d0[_0x5a06d9(0x4b8,_0x410188._0x3103ad,0x484,0x647)],_0x2ec0a8);}catch{_0x2f20d0[_0x31deb0(0x5e0,_0x410188._0x43a29f,_0x410188._0x3a31be,_0x410188._0x352217)](_0x2ec0a8);}}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x4d75fe(0x445,0x2c7,0x4cb,0x384)+DEFAULT_TIMEOUT_MS+_0x4d75fe(0x131,0x40,0x203,0x5f);function buildChildEnv(_0x25673a,_0x9e330a,_0x31e74c){const _0x1ff9e6={_0x1faae4:0x4b3,_0x1592fe:0x7a4,_0x4c5a5e:0x5fe,_0x44b4bb:0x5ed,_0x11a570:0x4aa,_0x559110:0x71,_0x48f47c:0x165,_0x42e832:0x22,_0x531f87:0x77f,_0x4278a0:0x801,_0x2484ad:0x14a,_0x3a34b2:0x350,_0x3ca756:0x1b2,_0x5c4d54:0x19b,_0x30b329:0x220,_0x31a501:0x7f3,_0x29f779:0x648,_0x13dccc:0x695,_0x8d6780:0x2e4,_0x24a845:0x1f3},_0x55ac89={_0x54303c:0x1d4},_0x195abf={_0x24a884:0xac,_0x416ecc:0x28,_0x4e6b2a:0x1ae},_0x221c82={...process[_0x135f84(0x7ba,_0x1ff9e6._0x1faae4,_0x1ff9e6._0x1592fe,_0x1ff9e6._0x4c5a5e)],..._0x25673a??{}};if(_0x3aad8a[_0x135f84(_0x1ff9e6._0x44b4bb,0x773,_0x1ff9e6._0x11a570,0x5a4)]()===_0x2e419b(-0xa5,_0x1ff9e6._0x559110,_0x1ff9e6._0x48f47c,-_0x1ff9e6._0x42e832)){const _0x426025=new Set(_0x9e330a['map'](_0xf6c0f5=>_0xf6c0f5[_0x135f84(0x5d4,0x570,0x604,0x721)]()));for(const _0x1e3e26 of Object[_0x135f84(0x9cf,_0x1ff9e6._0x531f87,0x7ef,_0x1ff9e6._0x4278a0)](_0x221c82)){if(_0x426025[_0x2e419b(_0x1ff9e6._0x2484ad,_0x1ff9e6._0x3a34b2,_0x1ff9e6._0x3ca756,0x227)](_0x1e3e26[_0x2e419b(_0x1ff9e6._0x5c4d54,0x213,0x3cb,_0x1ff9e6._0x30b329)]()))delete _0x221c82[_0x1e3e26];}}else{for(const _0x56fde0 of _0x9e330a)delete _0x221c82[_0x56fde0];if(_0x31e74c[_0x135f84(0x43c,0x7c6,_0x1ff9e6._0x31a501,_0x1ff9e6._0x29f779)]>0x0)for(const _0x3151da of Object[_0x135f84(0x6b0,_0x1ff9e6._0x13dccc,0x620,0x801)](_0x221c82)){_0x31e74c[_0x2e419b(0x5,0x1ad,_0x1ff9e6._0x8d6780,_0x1ff9e6._0x24a845)](_0x46e7bc=>_0x3151da[_0x135f84(0x7df,0x81a,0x90f,0x8e9)](_0x46e7bc))&&delete _0x221c82[_0x3151da];}}function _0x135f84(_0x2eb919,_0x1ddb62,_0x175b24,_0x1bcc02){return _0x3145c3(_0x2eb919-_0x195abf._0x24a884,_0x1bcc02-_0x195abf._0x416ecc,_0x175b24-_0x195abf._0x4e6b2a,_0x2eb919);}function _0x2e419b(_0xdb0ff4,_0x96ef34,_0x23c112,_0x17fee5){return _0x4d75fe(_0xdb0ff4-0x194,_0x96ef34,_0x17fee5- -_0x55ac89._0x54303c,_0x17fee5-0xa8);}return _0x221c82;}function mapSpawnError(_0x452ddc,_0x3cc3f3){const _0x1e44d6={_0xb450bd:0x4d5,_0x5917f7:0x30c,_0x377d7d:0x590,_0x10b65d:0x3b0,_0x985427:0x1bf,_0x5a5cd3:0x68,_0x226d39:0x490,_0x47d18c:0x2d6,_0x21ca65:0x23b},_0x2a4b80={_0xd91f99:0x1d1};function _0x42eed2(_0x3df2fc,_0x479b69,_0x5f5d0a,_0x5ba4c4){return _0x4d75fe(_0x3df2fc-0x29,_0x5ba4c4,_0x3df2fc-0x3,_0x5ba4c4-_0x2a4b80._0xd91f99);}function _0xe5541(_0x540f9b,_0x1cb2dc,_0xbb8147,_0x572f75){return _0x3145c3(_0x540f9b-0x56,_0xbb8147- -0x92,_0xbb8147-0x35,_0x572f75);}if(isErrnoException2(_0x452ddc)&&_0x452ddc[_0x42eed2(_0x1e44d6._0xb450bd,_0x1e44d6._0x5917f7,_0x1e44d6._0x377d7d,_0x1e44d6._0x10b65d)]==='ENOENT')return new ToolExecutionError(_0x42eed2(_0x1e44d6._0x985427,_0x1e44d6._0x5a5cd3,0x21f,0x2f1)+_0x3cc3f3[_0x42eed2(_0x1e44d6._0x226d39,0x31f,_0x1e44d6._0x47d18c,0x561)],_0x3cc3f3);return new ToolExecutionError(_0x452ddc instanceof Error?_0x452ddc[_0xe5541(_0x1e44d6._0x21ca65,0x65b,0x434,0x5e7)]:String(_0x452ddc),_0x3cc3f3);}function shellExists(_0x55d3c1){const _0x26755a={_0x1ea6f9:0x522,_0x3ac5a0:0x47e,_0x4df883:0x611,_0x163de5:0x4cd,_0x551af3:0x369,_0x4f1250:0x477},_0x4a9b57={_0x568d8f:0x183};function _0x3d5505(_0x48ef78,_0x2a1a7f,_0x2a41a0,_0x59c67f){return _0x4d75fe(_0x48ef78-0x1ca,_0x2a1a7f,_0x48ef78-0x177,_0x59c67f-0xbd);}function _0x2424f4(_0x3d441b,_0x9e9a1d,_0x3a0394,_0x4b3e6c){return _0x3145c3(_0x3d441b-0x1b9,_0x9e9a1d- -0x532,_0x3a0394-_0x4a9b57._0x568d8f,_0x3d441b);}try{const _0x3e1614=statSync(_0x55d3c1);return _0x3e1614[_0x3d5505(_0x26755a._0x1ea6f9,0x3a0,_0x26755a._0x3ac5a0,_0x26755a._0x4df883)]()&&(_0x3e1614[_0x3d5505(_0x26755a._0x163de5,0x469,_0x26755a._0x551af3,_0x26755a._0x4f1250)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x55faf3){const _0x1cac46={_0x762072:0x2c4,_0x112b09:0x41e,_0x263664:0x210,_0x5c46b3:0x235,_0x3ea0c1:0xf0,_0x3c9a70:0x1e6,_0x3626b6:0x4,_0x24328c:0x3fa,_0x38c63d:0x2d0,_0x5b1143:0x585,_0x140a60:0x253,_0x12a0ae:0x610,_0x4f594d:0x2a5,_0x2fc55f:0x1fd,_0x12498f:0x38d,_0x1ac3d7:0x5d7,_0x50caa3:0x295,_0xc8cabd:0x483,_0x5bb751:0x5a5},_0x256aa6={_0x38c762:0x1af,_0xf2be02:0xeb};if(_0x55faf3)return _0x55faf3;function _0x36af6e(_0x5682ce,_0x2265c9,_0x1d17a1,_0x24dcf5){return _0x4d75fe(_0x5682ce-_0x256aa6._0x38c762,_0x5682ce,_0x1d17a1- -_0x256aa6._0xf2be02,_0x24dcf5-0x1e4);}if(_0x3aad8a[_0x36af6e(0x3d,_0x1cac46._0x762072,0x18c,0xf1)]()===_0x4aeb89(_0x1cac46._0x112b09,_0x1cac46._0x263664,_0x1cac46._0x5c46b3,_0x1cac46._0x3ea0c1))return process[_0x36af6e(0x107,0x9,_0x1cac46._0x3c9a70,-_0x1cac46._0x3626b6)]['ComSpec']||_0x36af6e(0x6ce,_0x1cac46._0x24328c,0x4d0,0x3dd);const _0x2d9093=[_0x36af6e(_0x1cac46._0x38c63d,0x3b9,0x33a,0x295),_0x4aeb89(0x772,_0x1cac46._0x5b1143,0x6d2,0x776),_0x4aeb89(_0x1cac46._0x140a60,0x403,_0x1cac46._0x12a0ae,_0x1cac46._0x4f594d),'/usr/bin/sh'];for(const _0x2e8af9 of _0x2d9093){if(shellExists(_0x2e8af9))return _0x2e8af9;}const _0x452dec=process[_0x36af6e(0x3da,_0x1cac46._0x2fc55f,0x1e6,_0x1cac46._0x12498f)][_0x4aeb89(0x6be,_0x1cac46._0x1ac3d7,0x602,0x6e8)];if(_0x452dec&&shellExists(_0x452dec))return _0x452dec;function _0x4aeb89(_0x1c3e60,_0x20ca4d,_0x410a25,_0x348fbf){return _0x4d75fe(_0x1c3e60-0x1de,_0x348fbf,_0x20ca4d-0x5e,_0x348fbf-0x46);}return _0x4aeb89(_0x1cac46._0x50caa3,_0x1cac46._0xc8cabd,0x508,_0x1cac46._0x5bb751);}function buildShellArgs(_0x1e6a3b,_0x11b7f3){const _0x158c2c={_0x4abfa2:0x46f,_0x19e97d:0x773,_0x102a87:0x183,_0x5662ae:0x29,_0xc441f:0x36,_0x2f8e38:0x87a,_0x52eb09:0x85f,_0x7b66c8:0x68f,_0x490705:0x604},_0x2edca0={_0x5374c5:0x9,_0x4c6e05:0x17c,_0x56e831:0x193},_0xc68322={_0x340d0f:0xbc};function _0x12b6c0(_0x50f74c,_0x296b85,_0xdbd90d,_0x50a420){return _0x4d75fe(_0x50f74c-_0xc68322._0x340d0f,_0x50a420,_0xdbd90d-0x32b,_0x50a420-0x1ee);}if(_0x3aad8a[_0x12b6c0(_0x158c2c._0x4abfa2,_0x158c2c._0x19e97d,0x5a2,0x5e3)]()===_0x4d08fd(_0x158c2c._0x102a87,-0x10,_0x158c2c._0x5662ae,_0x158c2c._0xc441f)){const _0x1909bf=/cmd(\.exe)?$/i['test'](_0x11b7f3);return _0x1909bf?['/d','/s','/c',_0x1e6a3b]:['-NoLogo',_0x12b6c0(_0x158c2c._0x2f8e38,0x938,0x8af,0x75c),_0x12b6c0(_0x158c2c._0x52eb09,0x4e0,_0x158c2c._0x7b66c8,_0x158c2c._0x490705),_0x1e6a3b];}function _0x4d08fd(_0x1d6bdd,_0x4ee097,_0x58cef4,_0x353912){return _0x4d75fe(_0x1d6bdd-_0x2edca0._0x5374c5,_0x4ee097,_0x353912- -_0x2edca0._0x4c6e05,_0x353912-_0x2edca0._0x56e831);}return['-c',_0x1e6a3b];}function resolveWorkingDirectory(_0x130544,_0x6a8cf8,_0x210b9d){const _0x5155e5={_0x407df6:0x42c,_0x2ac53f:0x31b,_0x172cd6:0x10c,_0x1d21f6:0x55a,_0x5b697c:0x440,_0x35e3c5:0x5db,_0x1e972b:0x458},_0x1c32d2={_0x374a2e:0x142,_0x138afb:0xd6},_0x4456ac={_0x4d4965:0x197,_0xf74dca:0x165};function _0x2d425c(_0xd42053,_0x43a13d,_0x3645fc,_0x4585e0){return _0x3145c3(_0xd42053-_0x4456ac._0x4d4965,_0x3645fc- -0x4b6,_0x3645fc-_0x4456ac._0xf74dca,_0x4585e0);}function _0xe1108e(_0x2a638b,_0x105208,_0x2fe091,_0x548135){return _0x4d75fe(_0x2a638b-_0x1c32d2._0x374a2e,_0x2a638b,_0x548135- -_0x1c32d2._0x138afb,_0x548135-0x152);}const _0x2ff676=resolveAllowedPath(_0x6a8cf8,_0x210b9d,_0x130544??'.');try{const _0xac8f39=statSync(_0x2ff676);if(!_0xac8f39[_0xe1108e(0x467,_0x5155e5._0x407df6,_0x5155e5._0x2ac53f,0x491)]())throw new ToolExecutionError(_0xe1108e(_0x5155e5._0x172cd6,0x130,0x506,0x333)+_0x2ff676,{'cwd':_0x2ff676});const _0x29e39b=realpathSync(_0x2ff676),_0x53d0d0=realpathSync(_0x6a8cf8),_0x48c989=_0x210b9d[_0xe1108e(_0x5155e5._0x1d21f6,_0x5155e5._0x5b697c,_0x5155e5._0x35e3c5,_0x5155e5._0x1e972b)](_0x5e10cb=>{try{return realpathSync(_0x5bfb7a['resolve'](_0x5e10cb));}catch{return _0x5bfb7a['resolve'](_0x5e10cb);}});return resolveAllowedPath(_0x53d0d0,_0x48c989,_0x29e39b);}catch(_0x294513){if(_0x294513 instanceof ToolExecutionError)throw _0x294513;throw new ToolExecutionError('Working\x20directory\x20not\x20found:\x20'+_0x2ff676,{'cwd':_0x2ff676});}}function resolveBashExecutionTarget(_0x361405,_0x27742d={}){const _0x16ba57={_0x12fb93:0x93,_0x3b5181:0xeb,_0x350426:0xa3b,_0x236b32:0x72f,_0x27557a:0x999,_0x641654:0x849},_0x59528b={_0x3a6b18:0x62},_0x15aeb6={_0x59bbad:0x67},_0xdf1ad0=_0x5bfb7a[_0x1206eb(0x257,_0x16ba57._0x12fb93,_0x16ba57._0x3b5181,0x20d)](_0x27742d['defaultCwd']??process[_0x49c8ec(_0x16ba57._0x350426,_0x16ba57._0x236b32,0x77f,0x896)]()),_0x5661b3=resolveDefaultShell(_0x27742d[_0x49c8ec(0x9fe,_0x16ba57._0x27557a,_0x16ba57._0x641654,0x7f4)]);function _0x1206eb(_0x321c63,_0x4b5105,_0x209766,_0x2f4f6f){return _0x4d75fe(_0x321c63-0xba,_0x209766,_0x321c63-_0x15aeb6._0x59bbad,_0x2f4f6f-0x193);}function _0x49c8ec(_0x2d5a2f,_0x327400,_0x3f01c8,_0x2a5ec6){return _0x3145c3(_0x2d5a2f-0x8,_0x2a5ec6-_0x59528b._0x3a6b18,_0x3f01c8-0x9,_0x327400);}return{'command':_0x361405['command'],'cwd':resolveWorkingDirectory(_0x361405['cwd'],_0xdf1ad0,_0x27742d['allowedDirs']??[]),'shellPath':_0x5661b3,'dialect':resolveShellDialect(_0x5661b3),'background':_0x361405['runInBackground']??![]};}function resolveShellDialect(_0x2477dd){const _0x59db25={_0x57e12d:0x52d,_0x2e130e:0x587,_0xe33b33:0x650,_0x56f4da:0x7c6,_0x1cbc22:0x36,_0x35f30c:0x3b,_0x5d1d84:0x259,_0x4bfd33:0x1b0,_0x570b90:0x68d,_0x71e6bc:0x464,_0x352e09:0x559,_0x483d57:0x38b,_0x125fdc:0x464,_0x45f21f:0x80,_0x31e096:0x215,_0x40b1c2:0x716,_0x4e7255:0x836,_0x1470b3:0x154,_0x346598:0x2cb,_0x26f25d:0x369},_0x3eafc7={_0xe8c9e9:0xde,_0x4290ee:0x2d7},_0xa1d53a={_0x5de517:0x1db};if(_0x3aad8a[_0x37ae94(_0x59db25._0x57e12d,_0x59db25._0x2e130e,0x54e,_0x59db25._0xe33b33)]()==='win32')return _0x37ae94(0x802,0x6a7,_0x59db25._0x56f4da,0x882);const _0x38d26d=_0x5bfb7a[_0x2e089e(_0x59db25._0x1cbc22,_0x59db25._0x35f30c,_0x59db25._0x5d1d84,_0x59db25._0x4bfd33)](_0x2477dd)['toLowerCase']();if(_0x38d26d===_0x2e089e(0x4ed,0x255,_0x59db25._0x570b90,_0x59db25._0x71e6bc))return _0x2e089e(_0x59db25._0x352e09,_0x59db25._0x483d57,0x2f8,_0x59db25._0x125fdc);function _0x2e089e(_0x47728a,_0x1f652b,_0x50dff4,_0xad3fd2){return _0x4d75fe(_0x47728a-0xa8,_0x50dff4,_0xad3fd2- -0x135,_0xad3fd2-_0xa1d53a._0x5de517);}if(_0x38d26d==='sh'||_0x38d26d===_0x2e089e(0x256,_0x59db25._0x45f21f,0x89,_0x59db25._0x31e096))return _0x37ae94(0x5f2,_0x59db25._0x40b1c2,0x78b,_0x59db25._0x4e7255);function _0x37ae94(_0x207675,_0x2fe896,_0x243d8a,_0x4d8ebc){return _0x4d75fe(_0x207675-_0x3eafc7._0xe8c9e9,_0x207675,_0x243d8a-_0x3eafc7._0x4290ee,_0x4d8ebc-0x169);}return _0x2e089e(_0x59db25._0x1470b3,_0x59db25._0x346598,0x519,_0x59db25._0x26f25d);}function emitChunk(_0x5dbf2e,_0x878765,_0x5562f9,_0x351c98){const _0x1f489f={_0xb337a5:0x866},_0x40264c={_0x38e3ff:0x9b};_0x5dbf2e['push'](_0x5562f9),_0x878765[_0x4b7317(0x635,0x746,_0x1f489f._0xb337a5,0x533)](_0x5562f9);function _0x4b7317(_0x4524ad,_0x51ecd6,_0x165440,_0x2d9f14){return _0x3145c3(_0x4524ad-0x73,_0x51ecd6-_0x40264c._0x38e3ff,_0x165440-0x171,_0x2d9f14);}_0x351c98();}function appendChunk(_0x312d15,_0x1f975e,_0x9e7dcc,_0x1d2f2e,_0x4980cd,_0x58cad1){const _0x207ecc={_0x1bb757:0xee,_0x53d3ba:0x256,_0x323c2a:0x531,_0x225695:0x7ef,_0x30ffb2:0x60f,_0x48f63c:0x525,_0x5807c0:0x8dc,_0x1e6e6d:0x863,_0x128521:0x6bc,_0x444249:0x96,_0xed2bf9:0x1d1,_0x58b49c:0x141,_0x525b4b:0x8b,_0x4c5c0d:0x566,_0x27a509:0x7d2,_0x4f95a7:0x694,_0x4dff85:0x673,_0x2f7d8a:0x652,_0x442042:0x5d4,_0x2bde0b:0x3d9,_0x2de85e:0x44e,_0x3e907a:0x85a,_0x373fe3:0x649,_0xc22a6e:0x4af,_0x125028:0x186,_0x22ce06:0x20a,_0x3f58bd:0x2c8,_0x1192f3:0x1d1,_0x348d20:0x81c,_0x4d340a:0x71f,_0xa95029:0x91e,_0x426edd:0x6ff,_0x3a7faa:0x6d2},_0x5c5db4={_0x16f3f9:0x379,_0x445c6f:0x119},_0x40eac5={_0x1dffdd:0x11b,_0x187761:0x1bc};function _0xbda303(_0x826a59,_0x4053ef,_0x2d96c2,_0x1e7d1a){return _0x4d75fe(_0x826a59-_0x40eac5._0x1dffdd,_0x826a59,_0x1e7d1a- -0xc5,_0x1e7d1a-_0x40eac5._0x187761);}const _0x2f8994=_0x1d2f2e?stripAnsiAndControls(_0x9e7dcc):_0x9e7dcc;if(_0x2f8994[_0xbda303(0x3bf,0x46f,_0x207ecc._0x1bb757,_0x207ecc._0x53d3ba)]===0x0)return;function _0x2b937d(_0x54c520,_0x1eabec,_0x239091,_0x159142){return _0x4d75fe(_0x54c520-0x92,_0x159142,_0x1eabec-_0x5c5db4._0x16f3f9,_0x159142-_0x5c5db4._0x445c6f);}if(!_0x58cad1){emitChunk(_0x312d15,_0x1f975e,_0x2f8994,_0x4980cd);return;}let _0x59481b=0x0,_0x3e7825=_0x2f8994[_0x2b937d(0x8b6,0x754,0x762,_0x207ecc._0x323c2a)]('\x0a');while(_0x3e7825>=0x0){_0x58cad1[_0x2b937d(_0x207ecc._0x225695,_0x207ecc._0x30ffb2,_0x207ecc._0x48f63c,0x4a3)]['push'](_0x2f8994[_0x2b937d(_0x207ecc._0x5807c0,_0x207ecc._0x1e6e6d,0x6cd,_0x207ecc._0x128521)](_0x59481b,_0x3e7825));const _0x565973=_0x58cad1[_0xbda303(0x18,_0x207ecc._0x444249,0x14,_0x207ecc._0xed2bf9)][_0xbda303(0x30,_0x207ecc._0x58b49c,_0x207ecc._0x525b4b,0x230)]('');_0x58cad1[_0x2b937d(_0x207ecc._0x4c5c0d,_0x207ecc._0x30ffb2,0x73a,0x80b)][_0x2b937d(_0x207ecc._0x27a509,_0x207ecc._0x4f95a7,_0x207ecc._0x4dff85,0x59c)]=0x0,_0x58cad1[_0xbda303(_0x207ecc._0x2f7d8a,_0x207ecc._0x442042,_0x207ecc._0x2bde0b,_0x207ecc._0x2de85e)][_0x2b937d(_0x207ecc._0x3e907a,_0x207ecc._0x373fe3,0x42f,_0x207ecc._0xc22a6e)](_0x565973)&&emitChunk(_0x312d15,_0x1f975e,_0x565973+'\x0a',_0x4980cd),_0x59481b=_0x3e7825+0x1,_0x3e7825=_0x2f8994['indexOf']('\x0a',_0x59481b);}_0x59481b<_0x2f8994[_0xbda303(0x3e6,_0x207ecc._0x125028,_0x207ecc._0x22ce06,_0x207ecc._0x53d3ba)]&&_0x58cad1[_0xbda303(_0x207ecc._0x3f58bd,-0x32,0x3bc,_0x207ecc._0x1192f3)][_0x2b937d(_0x207ecc._0x348d20,_0x207ecc._0x4d340a,0x681,0x6af)](_0x2f8994[_0x2b937d(_0x207ecc._0xa95029,0x863,_0x207ecc._0x426edd,_0x207ecc._0x3a7faa)](_0x59481b));}function flushOutputRegex(_0x39e385,_0x1825ed,_0x482740,_0x573528){const _0x2ff27e={_0x5b2cfb:0x4f4,_0x4f4b49:0x3bd,_0x2e92f7:0x7bf,_0x26ed1e:0x85c,_0x44eb0a:0x7ef,_0xaca81c:0x5be,_0x27d59f:0x4e0,_0x394d4f:0x710},_0x50f2da={_0x5d993e:0x1c9,_0x13acaa:0x1da},_0xc9ca09={_0x504456:0xd3};function _0x289bb1(_0x18efd5,_0x5c62a1,_0x350f13,_0x1e3d67){return _0x3145c3(_0x18efd5-0x131,_0x5c62a1-0x3b,_0x350f13-_0xc9ca09._0x504456,_0x1e3d67);}function _0x3d0105(_0x4be278,_0x33961d,_0x23c199,_0x7e96c){return _0x3145c3(_0x4be278-0x73,_0x33961d- -_0x50f2da._0x5d993e,_0x23c199-_0x50f2da._0x13acaa,_0x4be278);}if(!_0x482740||_0x482740['trailingChunks'][_0x3d0105(_0x2ff27e._0x5b2cfb,0x457,0x5f1,_0x2ff27e._0x4f4b49)]===0x0)return;const _0x45a082=_0x482740[_0x289bb1(_0x2ff27e._0x2e92f7,0x5d6,0x6ae,0x60d)][_0x289bb1(0x4f1,0x635,_0x2ff27e._0x26ed1e,_0x2ff27e._0x44eb0a)]('');_0x482740['trailingChunks'][_0x289bb1(0x7cd,0x65b,0x4dd,_0x2ff27e._0xaca81c)]=0x0,_0x482740[_0x3d0105(_0x2ff27e._0x27d59f,0x64f,_0x2ff27e._0x394d4f,0x5bc)][_0x3d0105(0x286,0x40c,0x584,0x25a)](_0x45a082)&&emitChunk(_0x39e385,_0x1825ed,_0x45a082,_0x573528);}function createBashTool(_0xea8157={}){const _0x56c093={_0x5eddd4:0x6fb,_0x2887e1:0x4cd,_0x3f6abf:0x5ac,_0x11543f:0x66e,_0x32ba99:0x541,_0x293bea:0x741,_0x63c99d:0x819,_0x4fa187:0xa5a,_0xc490b3:0x637,_0x650ee2:0x806,_0x195dc7:0x601,_0x390a22:0x383,_0x5b49ac:0x395,_0x3d3410:0x4c6,_0x43cf29:0x5aa,_0x2e0624:0x67c,_0x54be50:0x5df,_0x5b2b6c:0x75f,_0x26a9ac:0x5bb,_0x286ee1:0x48c,_0x21a252:0x5d7,_0x3c9829:0x52d,_0x4b0dc7:0x548,_0x4fc636:0x560,_0x36b2bb:0x661,_0x4b4adc:0x5cb,_0x2893c9:0x785,_0x641b5b:0x7a9,_0x5b7c21:0x73c,_0x2d06a4:0x6fc,_0x3353a8:0x71e,_0x31dd37:0x745,_0x3f0e43:0x55b,_0x686b5:0x60b,_0x5e4193:0x5d5,_0x4cc95c:0x561,_0x17e7f4:0x2b4,_0x56275d:0x65b,_0x23a0e2:0x84e,_0x156bdf:0x7c7},_0x45dedd={_0x3f3e88:0x5b7,_0xa97a06:0x333,_0x3f6a9a:0x47c,_0x4a499c:0x5e8,_0x2430cf:0x57f,_0x3387f0:0x932,_0x147cc7:0x70a,_0x4470dc:0x557,_0xa7c682:0x483,_0x18025e:0x14c,_0xa294c2:0x279,_0x4522ea:0x901,_0x785b7e:0x64b,_0x5db888:0x6c9,_0x5125dd:0x62c,_0x21e374:0xaf9,_0x15c8c6:0x736,_0x476da2:0x7d2,_0xf71d5f:0x9a0,_0x13880f:0x80d,_0x1703b4:0x78b,_0x181c4c:0x6e8,_0x687b57:0x7e5,_0x2aa0ff:0x90c,_0x444741:0x2f6,_0x4ce205:0x3f9,_0x15bc28:0x873,_0x1a080d:0x7e5,_0x55eacc:0xc3,_0x3ad258:0x136,_0x5bd7e8:0x3ac,_0x106ec4:0x31e,_0x5b7252:0x2d4,_0x4a91f9:0x31e,_0x2b2715:0x12b,_0x5c0417:0x3f8,_0x138d06:0x50f,_0x17949c:0x373,_0xfecfee:0x639,_0x4589b8:0x1a4,_0x469a41:0x4b8,_0x456a93:0x4d4,_0xa1cc21:0x773,_0x28c2bc:0x2c3,_0x46be86:0x2a0,_0x3e3fb7:0x640,_0x203434:0x7f2,_0x444982:0x63d,_0x3c1c5b:0x641,_0x30bb75:0x485,_0x10559a:0x45a,_0x388d8d:0x89d,_0x1359b7:0x625,_0x53fced:0xee,_0x457712:0x63f,_0x45a6c9:0x1d5,_0x3b922d:0x315,_0x341f40:0x6a0,_0x136dd3:0x600,_0x514f74:0x725,_0x2ba318:0x7f4,_0x10cdef:0x85b,_0x4ec747:0x794,_0x25a903:0x586,_0x2d92c7:0x642,_0x2b0a09:0x33b,_0x1a0116:0x3e7,_0x94ef72:0x6f0,_0x53e522:0x8b0,_0x30476f:0x531,_0x57b6e8:0x34b,_0x2330be:0x307,_0x136f0f:0x239,_0x43bf16:0x8,_0x2c3f0c:0x64d,_0x3486ee:0x513,_0x40ff4e:0x452,_0x48aa3b:0x667,_0x3738a4:0x36b,_0x39f6e4:0x79,_0x71d27a:0x24c,_0x2aa096:0x42d,_0x1cda86:0x7c0,_0x2a570b:0x9fd,_0x57e5ff:0x1ac,_0xf5cb4d:0x1c6,_0x1b3bcf:0x90,_0x124467:0xaf1,_0x556f58:0x8aa,_0x145bb4:0x571,_0x3836dd:0x393,_0x4b89ca:0x67b,_0x3ffd43:0x759,_0x511900:0x63b,_0x15b73e:0x55d,_0x481084:0x3a1,_0xda6dbf:0x807,_0xf82e4:0x676,_0x3b0a09:0x5dc,_0x37142c:0x29f,_0x33dbbf:0x65,_0x62f2a2:0x10b,_0x835034:0x9f9,_0x569395:0x82d,_0x12596f:0x830,_0x47c443:0x30c,_0x54209c:0x373,_0x1d623e:0x2e5,_0x2ccb90:0x4bc,_0x38e60b:0x3a2,_0x13ddb0:0x69b,_0x44b873:0x6a0,_0xf5780e:0x68f,_0x45a046:0x76a,_0x3670de:0x89b,_0x1926e0:0x623,_0x2c5e92:0x69e,_0x38c240:0x48b,_0x4e2161:0x33f,_0x35f059:0x10b,_0x48155c:0x22e,_0x3f3d80:0x883,_0x1bfd86:0xa31,_0x581191:0x913,_0x259ab6:0xb03,_0x31f436:0xaa4,_0x168d48:0x1eb,_0x17a228:0x55f,_0x3736ce:0x6aa,_0x508ad9:0x815,_0x56cc2f:0x83b,_0xae63f3:0x464,_0xa5e966:0x344,_0x58d113:0x35b},_0x5e8be={_0x197609:0x3d3,_0x2898e2:0x40e,_0x518afd:0x290},_0x4ffc76={_0x6f5717:0xc8,_0x22b70e:0x2de,_0x3e43da:0x145},_0x1e6106={_0x3878c7:0xd,_0x1e3d9a:0x199},_0x37067c={_0xda43a1:0x1a0,_0x55fd65:0x3bc,_0x4b2fbc:0x1d9},_0x3ad195={_0x20e7b9:0x83},_0x3c75d1=_0x5bfb7a[_0x4b0908(_0x56c093._0x5eddd4,_0x56c093._0x2887e1,_0x56c093._0x3f6abf,0x6c1)](_0xea8157[_0x341d3d(_0x56c093._0x11543f,_0x56c093._0x32ba99,0x494,_0x56c093._0x293bea)]??process[_0x4b0908(0x923,0x9d8,0x8eb,_0x56c093._0x63c99d)]());function _0x341d3d(_0x59b998,_0x1c5977,_0x30828c,_0x23acb2){return _0x3145c3(_0x59b998-_0x3ad195._0x20e7b9,_0x1c5977- -0x79,_0x30828c-0x1a5,_0x59b998);}const _0x2bd1c1=_0xea8157[_0x341d3d(0x9c6,0x85e,_0x56c093._0x4fa187,_0x56c093._0xc490b3)]??[],_0x3c8e82=_0xea8157[_0x4b0908(0x60f,0x7bd,_0x56c093._0x650ee2,_0x56c093._0x195dc7)]??DEFAULT_TIMEOUT_MS;function _0x4b0908(_0x1388da,_0x887bc6,_0x5cf010,_0x2ce02f){return _0x4d75fe(_0x1388da-_0x37067c._0xda43a1,_0x2ce02f,_0x5cf010-_0x37067c._0x55fd65,_0x2ce02f-_0x37067c._0x4b2fbc);}const _0x3e190b=_0xea8157[_0x341d3d(0x441,0x4ec,0x5c1,_0x56c093._0x390a22)]??!![],_0x4d3712=_0xea8157[_0x341d3d(_0x56c093._0x5b49ac,0x5a2,_0x56c093._0x3d3410,_0x56c093._0x43cf29)]??_0x341d3d(0x4d4,_0x56c093._0x2e0624,_0x56c093._0x54be50,0x77a),_0x1a55ff=_0xea8157[_0x341d3d(_0x56c093._0x5b2b6c,_0x56c093._0x26a9ac,0x3f4,0x61f)]??[],_0x781478=_0xea8157['scrubEnvPrefixes']??[],_0x350a94=_0xea8157[_0x4b0908(0x6f6,0x77c,0x635,_0x56c093._0x286ee1)];return defineTool({'name':_0x4d3712,'permissionClass':_0x341d3d(0x3e8,_0x56c093._0x21a252,_0x56c093._0x3c9829,_0x56c093._0x4b0dc7),'description':_0xea8157[_0x4b0908(0x88b,_0x56c093._0x4fc636,_0x56c093._0x36b2bb,_0x56c093._0x4b4adc)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x4b0908(_0x56c093._0x2893c9,0x6c9,0x7a8,_0x56c093._0x641b5b),'properties':{'command':{'type':'string'},'description':{'type':_0x341d3d(0x642,_0x56c093._0x5b7c21,_0x56c093._0x2d06a4,0x67e),'description':'User-facing\x20purpose:\x20what\x20the\x20command\x20does\x20and\x20the\x20goal\x20it\x20advances,\x20e.g.\x20\x27Run\x20auth\x20tests\x20to\x20verify\x20the\x20refresh\x20fix\x27.'},'cwd':{'type':_0x341d3d(0x8c7,_0x56c093._0x5b7c21,0x757,_0x56c093._0x3353a8)},'timeoutMs':{'type':_0x341d3d(0x5ee,0x7ce,0x690,0x5a5)},'ignoreOutput':{'type':_0x341d3d(0x7d7,_0x56c093._0x31dd37,_0x56c093._0x3f0e43,_0x56c093._0x686b5)},'outputRegex':{'type':_0x341d3d(0x666,0x73c,0x54a,0x8dd),'description':_0x341d3d(_0x56c093._0x5e4193,0x465,_0x56c093._0x4cc95c,_0x56c093._0x17e7f4)},'runInBackground':{'type':'boolean'}},'required':['command',_0x4b0908(_0x56c093._0x56275d,_0x56c093._0x23a0e2,0x661,_0x56c093._0x156bdf)]},async *'execute'(_0x24d056,_0x418555){const _0x306e9d={_0x3f36c0:0x5d1,_0x2b2229:0x7c4,_0x377859:0x63d,_0x2840e4:0x5d2,_0x2661c3:0x673,_0x35e79a:0x729,_0x582f57:0x575,_0x18be65:0x506,_0x4c03ee:0x411},_0x152a2d={_0x3f5f69:0x46d,_0x58d290:0x54f,_0x20c9b1:0x5ba,_0x142517:0x5f3,_0x9c706b:0x4d2},_0x52041b={_0x4955b7:0x7d2,_0x1114b8:0x5bc,_0x36b1f1:0x6f9,_0x2210b5:0x6af},_0x59849f=_0x24d056[_0x1df880(0x7d3,0x7db,_0x45dedd._0x3f3e88,0x741)]??_0x3c8e82;if(!Number[_0x1df880(_0x45dedd._0xa97a06,0x536,_0x45dedd._0x3f6a9a,0x6c2)](_0x59849f)||_0x59849f<0x1)throw new ToolExecutionError(_0x1df880(0x632,_0x45dedd._0x4a499c,0x76e,_0x45dedd._0x2430cf),{'command':_0x24d056[_0x415ab1(0x242,0x574,0x373,0x1b4)]});throwIfAborted(_0x418555[_0x415ab1(0x3a9,0x476,0x34b,0x2e9)]);const _0x40ef10=_0x24d056[_0x1df880(_0x45dedd._0x3387f0,_0x45dedd._0x147cc7,0x4f7,_0x45dedd._0x4470dc)]??![],_0x5d9104=resolveBashExecutionTarget(_0x24d056,{'defaultCwd':_0x3c75d1,'allowedDirs':_0x2bd1c1,'shellPath':_0xea8157[_0x415ab1(_0x45dedd._0xa7c682,_0x45dedd._0x18025e,0x34e,_0x45dedd._0xa294c2)]}),{cwd:_0x2dc310,shellPath:_0x5dbc4b}=_0x5d9104,_0x30376b=buildShellArgs(_0x24d056[_0x1df880(_0x45dedd._0x4522ea,0x80d,_0x45dedd._0x785b7e,_0x45dedd._0x5db888)],_0x5dbc4b),_0x412c6b=_0x3aad8a['platform']()==='win32',_0x515c25=buildChildEnv(_0xea8157[_0x1df880(0x578,_0x45dedd._0x5125dd,0x5eb,0x582)],_0x1a55ff,_0x781478);if(_0x24d056[_0x1df880(_0x45dedd._0x21e374,0x951,_0x45dedd._0x15c8c6,_0x45dedd._0x476da2)]){if(!_0x350a94)throw new ToolExecutionError('Background\x20execution\x20is\x20not\x20available\x20in\x20this\x20context.',{'command':_0x24d056[_0x1df880(_0x45dedd._0xf71d5f,_0x45dedd._0x13880f,_0x45dedd._0x1703b4,0x7dc)]});throwIfAborted(_0x418555[_0x1df880(_0x45dedd._0x181c4c,_0x45dedd._0x687b57,_0x45dedd._0x2aa0ff,0x871)]),await _0xea8157[_0x415ab1(0xee,0x2dd,_0x45dedd._0x444741,_0x45dedd._0x4ce205)]?.(_0x5d9104,_0x418555[_0x1df880(_0x45dedd._0x15bc28,0x6f0,0x8b1,0x86d)],_0x418555),throwIfAborted(_0x418555[_0x1df880(0x895,_0x45dedd._0x1a080d,0x774,0x825)]);const _0x4e5318=_0x350a94[_0x415ab1(-_0x45dedd._0x55eacc,0xe,_0x45dedd._0x3ad258,0x30c)]();let _0x45bde9;try{_0x45bde9=_0x5b435f(_0x5dbc4b,_0x30376b,{'cwd':_0x2dc310,'env':_0x515c25,'stdio':[_0x1df880(_0x45dedd._0x5bd7e8,0x513,0x694,0x726),_0x415ab1(0x1f2,0x342,_0x45dedd._0x106ec4,0x4c3),_0x415ab1(_0x45dedd._0x5b7252,0x250,_0x45dedd._0x4a91f9,_0x45dedd._0x2b2715)],'shell':![],'windowsHide':!![],'detached':!_0x412c6b});}catch(_0x3000a9){_0x350a94[_0x1df880(0x7ce,0x742,0x68d,0x5b3)](_0x4e5318);throw mapSpawnError(_0x3000a9,{'command':_0x24d056[_0x415ab1(_0x45dedd._0x5c0417,_0x45dedd._0x138d06,_0x45dedd._0x17949c,0x48a)],'cwd':_0x2dc310,'shellPath':_0x5dbc4b});}let _0x5552e0;try{_0x5552e0=_0x350a94['attach'](_0x4e5318,{'child':_0x45bde9,'command':_0x24d056[_0x1df880(_0x45dedd._0xfecfee,_0x45dedd._0x13880f,0x964,0x745)],'cwd':_0x2dc310,'stripAnsi':_0x3e190b,...!_0x412c6b&&_0x45bde9[_0x415ab1(_0x45dedd._0x4589b8,_0x45dedd._0x469a41,0x2d9,_0x45dedd._0x456a93)]!==void 0x0?{'processGroupId':_0x45bde9[_0x1df880(0x7b4,_0x45dedd._0xa1cc21,0x6c9,0x5d5)]}:{}});}catch(_0x9f67ec){_0x350a94['release'](_0x4e5318),_0x45bde9[_0x415ab1(0x16f,_0x45dedd._0x28c2bc,_0x45dedd._0x46be86,0x414)](_0x1df880(_0x45dedd._0x3e3fb7,0x7a6,0x895,_0x45dedd._0x203434),()=>{});try{killProcessGroup(_0x45bde9,_0x412c6b);}catch{}throw _0x9f67ec;}return createToolOutput(_0x1df880(_0x45dedd._0x444982,0x76a,0x718,0x708)+_0x5552e0[_0x415ab1(_0x45dedd._0x3c1c5b,_0x45dedd._0x30bb75,0x490,0x321)]+_0x415ab1(0x3db,_0x45dedd._0x10559a,0x469,0x2c0)+(_0x5552e0[_0x1df880(_0x45dedd._0x388d8d,0x773,_0x45dedd._0x1359b7,0x84b)]??'?')+_0x415ab1(0x19,0x33b,0x1bc,_0x45dedd._0x53fced),{'shellId':_0x5552e0[_0x415ab1(_0x45dedd._0x457712,0x278,0x490,0x4e6)],'status':_0x5552e0[_0x415ab1(0x470,_0x45dedd._0x45a6c9,_0x45dedd._0x3b922d,0x469)],'command':_0x5552e0[_0x1df880(0x7fa,0x80d,_0x45dedd._0x341f40,_0x45dedd._0x15c8c6)],'description':_0x24d056[_0x1df880(0x671,_0x45dedd._0x136dd3,_0x45dedd._0x514f74,_0x45dedd._0x2ba318)],'cwd':_0x5552e0['cwd'],'pid':_0x5552e0[_0x1df880(0x72c,0x773,_0x45dedd._0x10cdef,_0x45dedd._0x4ec747)]??null});}let _0x4cf2fb,_0x5c29ef;if(_0x24d056['outputRegex']!==void 0x0)try{const _0x50567d=new RegExp(_0x24d056[_0x1df880(0x84d,0x68f,_0x45dedd._0x25a903,0x88a)]);_0x4cf2fb={'regex':_0x50567d,'trailingChunks':[]},_0x5c29ef={'regex':_0x50567d,'trailingChunks':[]};}catch(_0x4d1016){throw new ToolExecutionError(_0x415ab1(0x4f2,_0x45dedd._0x2d92c7,0x437,0x4f6)+(_0x4d1016 instanceof Error?_0x4d1016['message']:String(_0x4d1016)),{'command':_0x24d056['command'],'outputRegex':_0x24d056['outputRegex']});}await _0xea8157[_0x415ab1(_0x45dedd._0x2b0a09,_0x45dedd._0x1a0116,0x2f6,0x2fd)]?.(_0x5d9104,_0x418555[_0x1df880(0x7d1,_0x45dedd._0x94ef72,_0x45dedd._0x53e522,_0x45dedd._0x30476f)],_0x418555),throwIfAborted(_0x418555[_0x415ab1(0x2d1,0x373,_0x45dedd._0x57b6e8,_0x45dedd._0x2330be)]);let _0x39e0cb;try{_0x39e0cb=_0x5b435f(_0x5dbc4b,_0x30376b,{'cwd':_0x2dc310,'env':_0x515c25,'stdio':_0x40ef10?[_0x415ab1(-0xae,_0x45dedd._0x136f0f,0x79,_0x45dedd._0x43bf16),_0x1df880(_0x45dedd._0x2c3f0c,_0x45dedd._0x3486ee,_0x45dedd._0x40ff4e,0x6b3),_0x1df880(_0x45dedd._0x48aa3b,_0x45dedd._0x3486ee,_0x45dedd._0x3738a4,0x355)]:[_0x415ab1(0x1e9,0x226,_0x45dedd._0x39f6e4,-0x60),_0x415ab1(0x450,_0x45dedd._0x71d27a,0x31e,_0x45dedd._0x2aa096),_0x1df880(0x5a4,0x7b8,_0x45dedd._0x1cda86,0x89e)],'shell':![],'windowsHide':!![],'detached':!_0x412c6b});}catch(_0x4b58a3){throw mapSpawnError(_0x4b58a3,{'command':_0x24d056[_0x1df880(0x946,0x80d,_0x45dedd._0x2a570b,0x980)],'cwd':_0x2dc310,'shellPath':_0x5dbc4b});}const _0x480a4e=[],_0x3344e6=[];function _0x1df880(_0x4c7f6a,_0x4b6bf8,_0x52e442,_0x2733f9){return _0x4b0908(_0x4c7f6a-0x16,_0x4b6bf8-0x3d,_0x4b6bf8- -0x61,_0x52e442);}const _0x555c0d=new _0x5095bc(_0x415ab1(0x2cc,0x243,_0x45dedd._0x57e5ff,0x380)),_0x4dd717=new _0x5095bc(_0x415ab1(_0x45dedd._0xf5cb4d,_0x45dedd._0x1b3bcf,_0x45dedd._0x57e5ff,0x3c1));let _0x67325,_0x235b0a=![],_0x551364;const _0x16f23d=()=>{if(!_0x67325)return;const _0x3e2822=_0x67325;_0x67325=void 0x0,_0x3e2822();};function _0x415ab1(_0xe2f284,_0xbf6eef,_0x8ef30a,_0x457737){return _0x4b0908(_0xe2f284-_0x1e6106._0x3878c7,_0xbf6eef-_0x1e6106._0x1e3d9a,_0x8ef30a- -0x4fb,_0xe2f284);}const _0x427209=async()=>{const _0x37186d={_0x4c032b:0x58f,_0x597e64:0x134};if(_0x3344e6[_0x2a34ec(-_0x4ffc76._0x6f5717,_0x4ffc76._0x22b70e,0xe7,_0x4ffc76._0x3e43da)]>0x0||_0x235b0a)return;function _0x2a34ec(_0x1039dd,_0x2c49ac,_0x107c8e,_0x19897d){return _0x1df880(_0x1039dd-0x1a0,_0x107c8e- -_0x37186d._0x4c032b,_0x19897d,_0x19897d-_0x37186d._0x597e64);}await new Promise(_0x4a2c57=>{_0x67325=_0x4a2c57;});},_0x35d45d=_0x19b53d=>{appendChunk(_0x480a4e,_0x3344e6,_0x555c0d['write'](_0x19b53d),_0x3e190b,_0x16f23d,_0x4cf2fb);},_0x9005ac=_0x1238d8=>{const _0x58442c={_0x3d8d05:0xf6,_0x6d4bae:0x3b};function _0x196900(_0x4dff4e,_0xb6de68,_0x3e1cd6,_0x138177){return _0x1df880(_0x4dff4e-0xb0,_0x3e1cd6- -_0x58442c._0x3d8d05,_0x4dff4e,_0x138177-_0x58442c._0x6d4bae);}appendChunk(_0x480a4e,_0x3344e6,_0x4dd717[_0x196900(_0x52041b._0x4955b7,_0x52041b._0x1114b8,_0x52041b._0x36b1f1,_0x52041b._0x2210b5)](_0x1238d8),_0x3e190b,_0x16f23d,_0x5c29ef);};_0x39e0cb[_0x1df880(_0x45dedd._0x124467,0x913,_0x45dedd._0x556f58,0x72f)]?.['on'](_0x415ab1(_0x45dedd._0x145bb4,_0x45dedd._0x3836dd,0x3a1,0x41e),_0x35d45d),_0x39e0cb[_0x1df880(0x494,_0x45dedd._0x4b89ca,_0x45dedd._0x3ffd43,_0x45dedd._0x511900)]?.['on'](_0x415ab1(_0x45dedd._0x15b73e,0x277,_0x45dedd._0x481084,0x597),_0x9005ac);let _0x165319=![],_0x23f311;const _0x5d3b04=addAbortListener(_0x418555[_0x1df880(0x724,_0x45dedd._0x687b57,0x6d6,_0x45dedd._0xda6dbf)],()=>{const _0x432bb4={_0x40c5d7:0x1e7,_0x182dde:0x2a};_0x551364=toAbortError(_0x418555[_0x18815b(_0x5e8be._0x197609,0x320,0x3a2,0x32a)][_0x18815b(_0x5e8be._0x2898e2,0x5bd,0x50d,_0x5e8be._0x518afd)]),_0x235b0a=!![];function _0x29f5ab(_0x54ccca,_0x19600,_0x3be153,_0xa4d99){return _0x1df880(_0x54ccca-_0x432bb4._0x40c5d7,_0x19600- -0x679,_0x3be153,_0xa4d99-_0x432bb4._0x182dde);}_0x16f23d();function _0x18815b(_0x100a96,_0x2dacbd,_0x47a22e,_0x773b1a){return _0x1df880(_0x100a96-0xfa,_0x100a96- -0x412,_0x2dacbd,_0x773b1a-0x37);}try{killProcessGroup(_0x39e0cb,_0x412c6b);}catch{}});try{const _0x4444fb=new Promise((_0x27441d,_0x48f316)=>{const _0x48e1d0={_0x52e2b3:0x231,_0x309e17:0x138},_0x7e12d8={_0x2e9def:0x1b5},_0x17416c={_0x521bec:0x843,_0x17b662:0x1e5,_0x301d1a:0x2c6,_0x5a2337:0x39d},_0x53b88f={_0x4a648b:0x82d,_0x27aa37:0x564,_0x24f4da:0xa15,_0x295d53:0x54a,_0x5e91ae:0x782,_0x1a37f5:0x459},_0x4dad53=()=>{const _0x3df6a1={_0x5bb72d:0x1f8};function _0x19baed(_0x4a133f,_0x1de3f9,_0x1f8d43,_0x2c295f){return _0x2a9a(_0x1de3f9-_0x3df6a1._0x5bb72d,_0x2c295f);}function _0x5bfa0a(_0x1ef62c,_0x429acb,_0x4997b9,_0x5ac9a2){return _0x2a9a(_0x1ef62c-0x266,_0x5ac9a2);}_0x23f311&&(clearTimeout(_0x23f311),_0x23f311=void 0x0),_0x39e0cb[_0x5bfa0a(_0x53b88f._0x4a648b,0x763,0xa06,0x714)](_0x5bfa0a(0x700,0x8b5,_0x53b88f._0x27aa37,0x6ff),_0x2017a1),_0x39e0cb[_0x5bfa0a(0x82d,0xa2d,0x622,_0x53b88f._0x24f4da)](_0x19baed(_0x53b88f._0x295d53,0x65b,_0x53b88f._0x5e91ae,_0x53b88f._0x1a37f5),_0x1774f1);},_0x2017a1=_0x3db837=>{_0x235b0a=!![],_0x16f23d(),_0x4dad53(),_0x48f316(_0x551364??_0x3db837);},_0x1774f1=(_0x218603,_0x128352)=>{_0x165319=!![];function _0x3a2267(_0x3c7ddd,_0x2ba9ee,_0xb83df7,_0x3973aa){return _0x2a9a(_0x3973aa-0x18f,_0xb83df7);}appendChunk(_0x480a4e,_0x3344e6,_0x555c0d[_0x3a2267(0x6da,0x4d4,_0x17416c._0x521bec,0x659)](),_0x3e190b,_0x16f23d,_0x4cf2fb);function _0xf4c2aa(_0x58b2c7,_0x53639f,_0x118280,_0x37d679){return _0x2a9a(_0x37d679- -0x12d,_0x53639f);}appendChunk(_0x480a4e,_0x3344e6,_0x4dd717[_0xf4c2aa(_0x17416c._0x17b662,_0x17416c._0x301d1a,0x4d5,_0x17416c._0x5a2337)](),_0x3e190b,_0x16f23d,_0x5c29ef),flushOutputRegex(_0x480a4e,_0x3344e6,_0x4cf2fb,_0x16f23d),flushOutputRegex(_0x480a4e,_0x3344e6,_0x5c29ef,_0x16f23d),_0x235b0a=!![],_0x16f23d(),_0x4dad53();if(_0x551364){_0x48f316(_0x551364);return;}_0x27441d({'code':_0x218603,'signal':_0x128352});};function _0x316c44(_0x278d42,_0x49daee,_0x45798d,_0x3e1b0c){return _0x415ab1(_0x3e1b0c,_0x49daee-_0x7e12d8._0x2e9def,_0x278d42-0x331,_0x3e1b0c-0xde);}function _0x2748bb(_0x5b432a,_0x46080f,_0x9ae82a,_0x123de4){return _0x415ab1(_0x5b432a,_0x46080f-0xd8,_0x9ae82a-_0x48e1d0._0x52e2b3,_0x123de4-_0x48e1d0._0x309e17);}_0x23f311=setTimeout(()=>{const _0x353f5f={_0x842835:0x41};_0x235b0a=!![],_0x16f23d();function _0x28e529(_0xbbd6bb,_0x2c0092,_0x485e18,_0x253cc6){return _0x2a9a(_0x253cc6-_0x353f5f._0x842835,_0x2c0092);}_0x4dad53();try{killProcessGroup(_0x39e0cb,_0x412c6b);}catch{}function _0x7eeaf7(_0x4c51f6,_0x4992b2,_0x44e59b,_0x15d74a){return _0x2a9a(_0x4992b2-0x23d,_0x4c51f6);}_0x48f316(new ToolExecutionError(_0x28e529(_0x152a2d._0x3f5f69,0x67a,_0x152a2d._0x58d290,_0x152a2d._0x20c9b1)+_0x59849f+_0x7eeaf7(_0x152a2d._0x142517,0x6d3,_0x152a2d._0x9c706b,0x74f),{'command':_0x24d056['command'],'cwd':_0x2dc310,'shellPath':_0x5dbc4b,'timeoutMs':_0x59849f,'timedOut':!![]}));},_0x59849f),_0x39e0cb[_0x316c44(_0x306e9d._0x3f36c0,0x40f,_0x306e9d._0x2b2229,0x4d3)](_0x316c44(_0x306e9d._0x377859,0x7ad,_0x306e9d._0x2840e4,_0x306e9d._0x2661c3),_0x2017a1),_0x39e0cb[_0x316c44(_0x306e9d._0x3f36c0,0x6d3,0x74d,0x3dc)](_0x2748bb(_0x306e9d._0x35e79a,_0x306e9d._0x582f57,_0x306e9d._0x18be65,_0x306e9d._0x4c03ee),_0x1774f1);});while(_0x3344e6[_0x1df880(0x865,_0x45dedd._0xf82e4,0x5ce,_0x45dedd._0x3b0a09)]>0x0||!_0x235b0a){if(_0x3344e6['length']===0x0){await _0x427209();continue;}const _0x5cd93e=_0x3344e6[_0x415ab1(_0x45dedd._0x37142c,-_0x45dedd._0x33dbbf,_0x45dedd._0x62f2a2,0x1a7)]();_0x5cd93e!==void 0x0&&(yield _0x5cd93e);}const _0x315c9c=await _0x4444fb,_0x586bb1=_0x40ef10?'exit\x20code\x20'+(_0x315c9c[_0x1df880(_0x45dedd._0x835034,_0x45dedd._0x569395,0xa07,_0x45dedd._0x12596f)]??0x0):_0x480a4e[_0x415ab1(0x15b,0x113,0x1b6,_0x45dedd._0x47c443)](''),_0x26d808={'command':_0x24d056[_0x415ab1(0x585,0x462,_0x45dedd._0x54209c,_0x45dedd._0x1d623e)],'description':_0x24d056[_0x415ab1(-0x4b,-0x33,0x166,0x2ab)],'cwd':_0x2dc310,'exitCode':_0x315c9c[_0x415ab1(0x47a,_0x45dedd._0x2ccb90,0x393,_0x45dedd._0x38e60b)]??0x0,'signal':_0x315c9c[_0x1df880(_0x45dedd._0x13ddb0,_0x45dedd._0x687b57,0x6f9,0x8b2)],'ignoreOutput':_0x40ef10,'outputRegex':_0x24d056[_0x1df880(_0x45dedd._0x44b873,_0x45dedd._0xf5780e,0x626,_0x45dedd._0x45a046)]??null,'shellPath':_0x5dbc4b,'timeoutMs':_0x59849f};if(_0x315c9c[_0x1df880(_0x45dedd._0x3670de,0x82d,0x7e0,_0x45dedd._0x1926e0)]!==0x0)throw new ToolExecutionError(_0x586bb1||_0x415ab1(_0x45dedd._0x2c5e92,0x2f9,_0x45dedd._0x38c240,_0x45dedd._0x4e2161)+(_0x315c9c['code']??0x0),_0x26d808);return createToolOutput(_0x586bb1,_0x26d808);}catch(_0xf3e739){while(_0x3344e6[_0x1df880(0x462,0x676,0x473,0x829)]>0x0){const _0x4918ff=_0x3344e6[_0x415ab1(0xff,0x191,_0x45dedd._0x35f059,_0x45dedd._0x48155c)]();_0x4918ff!==void 0x0&&(yield _0x4918ff);}if(_0xf3e739 instanceof ToolExecutionError)throw _0xf3e739;if(_0x551364)throw _0x551364;throw mapSpawnError(_0xf3e739,{'command':_0x24d056[_0x1df880(0x7b9,0x80d,0x673,_0x45dedd._0x3f3d80)],'cwd':_0x2dc310,'shellPath':_0x5dbc4b});}finally{_0x23f311&&clearTimeout(_0x23f311);_0x5d3b04(),_0x39e0cb[_0x1df880(_0x45dedd._0x1bfd86,_0x45dedd._0x581191,_0x45dedd._0x259ab6,_0x45dedd._0x31f436)]?.['off'](_0x415ab1(0x445,_0x45dedd._0x168d48,0x3a1,_0x45dedd._0x17a228),_0x35d45d),_0x39e0cb[_0x1df880(_0x45dedd._0x3736ce,0x67b,0x5bf,0x85b)]?.['off'](_0x1df880(_0x45dedd._0x508ad9,_0x45dedd._0x56cc2f,0x7fe,0x88c),_0x9005ac);if(!_0x165319&&_0x39e0cb['pid']&&!_0x39e0cb[_0x415ab1(0x1d3,_0x45dedd._0xae63f3,_0x45dedd._0xa5e966,_0x45dedd._0x58d113)])try{killProcessGroup(_0x39e0cb,_0x412c6b);}catch{}}}});}function createShellExecTool(_0x5e3257={}){return createBashTool(_0x5e3257);}import{readdir as _0x2455e9,readFile as _0x401d48}from'fs/promises';import{extname as _0xd7af98,join as _0x50da99}from'path';import{open}from'fs/promises';import{dirname as _0x5b731d,isAbsolute as _0xa9234f,join as _0x28d4b1,relative as _0x158af3,resolve as _0x3e311b}from'path';import{readdir as _0x5c48c2,readFile as _0x35088e}from'fs/promises';import{join as _0x3df81a,relative as _0x31abb4,sep}from'path';import{delimiter}from'path';import{mkdir as _0x427a03,rm as _0x2865dd,stat as _0x338789,writeFile as _0x3ca019}from'fs/promises';import{hostname}from'os';import{dirname as _0x4a22c1}from'path';import{unwatchFile,watchFile}from'fs';import{chmod as _0x42e0a0,readFile as _0x5a180a,rename as _0x563b30,rm as _0x2c552a,stat as _0x144b60,writeFile as _0x172e70}from'fs/promises';import{homedir as _0x50d9b7}from'os';import{dirname as _0x287e1a,isAbsolute as _0xacce05,join as _0x55b5b5,resolve as _0x393de7}from'path';import{parse as _0x527fda,stringify as _0x55d433}from'yaml';import{randomUUID as _0x25cffc}from'crypto';import{cp,lstat,mkdir as _0x100978,readdir as _0x350fdc,readFile as _0x261eab,rename as _0x4e0099,rm as _0x2ceebf,writeFile as _0x14a86f}from'fs/promises';import{homedir}from'os';import{join as _0x275598}from'path';import{parse as _0xaf9d71,stringify as _0x4ea5db}from'yaml';import{z}from'zod';import{readdir as _0x3a8d07,readFile as _0x9ca34f}from'fs/promises';import{join as _0xfe0328}from'path';import{randomUUID as _0x22b26c}from'crypto';import{mkdir as _0x470fb3,readdir as _0x39b06c,readFile as _0x128dda,rename as _0x46c2aa,rm as _0x1184e7,writeFile as _0x5f2282}from'fs/promises';import{homedir as _0x276f19}from'os';import{basename as _0x4d82a6,isAbsolute as _0x8ecb8f,join as _0x3f79e0,relative as _0x489d38,resolve as _0x514de6}from'path';import{parse as _0x3ff187,stringify as _0x351cfc}from'yaml';import{delimiter as _0xe910c2,resolve as _0x56729c}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400,AGENT_MODEL_SET_NAME_PATTERN=/^[A-Za-z0-9_-]+$/,PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object[_0x4d75fe(0x161,0x359,0x368,0x26e)]),_0x4d75fe(0x25e,0x3cf,0x368,0x26f)]);function isValidAgentModelSetName(_0x3bac18){const _0x426712={_0x4a6f6f:0x2fd,_0x370645:0x39e};function _0x1a0c0a(_0xc198b8,_0x5ae04f,_0x2460f7,_0x4a422f){return _0x3145c3(_0xc198b8-0x7f,_0xc198b8- -0x265,_0x2460f7-0x16e,_0x4a422f);}return AGENT_MODEL_SET_NAME_PATTERN[_0x1a0c0a(0x370,_0x426712._0x4a6f6f,0x20e,_0x426712._0x370645)](_0x3bac18)&&!PROTOTYPE_SENSITIVE_NAMES['has'](_0x3bac18);}function parseProviderQualifiedModelSelector(_0x394200){const _0x553483={_0x3a4067:0x1a1,_0x4031b8:0x737,_0x2af4a8:0x781,_0xb4776b:0x76d,_0x4a7276:0x690,_0x106f88:0x60d,_0x228984:0x83e,_0x49f71e:0x564,_0x35efd9:0x81a,_0x43b3a2:0x297},_0x3c2b38={_0x13ea39:0x33e};if(_0x394200!==_0x394200['trim']())return void 0x0;const _0x2652a9=_0x394200['indexOf'](':');function _0x34a896(_0x41e4e5,_0x436dbe,_0x4ab5aa,_0x412d43){return _0x3145c3(_0x41e4e5-0x2e,_0x41e4e5- -0xb8,_0x4ab5aa-0x125,_0x412d43);}if(_0x2652a9<=0x0||_0x2652a9===_0x394200[_0x32bb22(0x162,0x4d9,_0x553483._0x3a4067,0x2e2)]-0x1)return void 0x0;const _0x19f76c=_0x394200[_0x34a896(_0x553483._0x4031b8,_0x553483._0x2af4a8,_0x553483._0xb4776b,_0x553483._0x4a7276)](0x0,_0x2652a9);function _0x32bb22(_0x177a2f,_0x4f8521,_0x8d6f42,_0x507070){return _0x3145c3(_0x177a2f-0x194,_0x507070- -_0x3c2b38._0x13ea39,_0x8d6f42-0x126,_0x177a2f);}const _0x16b8bd=_0x394200[_0x34a896(0x737,_0x553483._0x106f88,_0x553483._0x228984,_0x553483._0x49f71e)](_0x2652a9+0x1);if(!/^[A-Za-z0-9_-]+$/['test'](_0x19f76c)||PROTOTYPE_SENSITIVE_NAMES[_0x34a896(0x648,0x4f9,0x7f5,_0x553483._0x35efd9)](_0x19f76c)||_0x16b8bd!==_0x16b8bd['trim']()||/[\u0000-\u001F\u007F-\u009F]/u[_0x32bb22(0x489,0x446,0x1f6,_0x553483._0x43b3a2)](_0x16b8bd))return void 0x0;return{'provider':_0x19f76c,'model':_0x16b8bd};}function tokenizeCommandArguments(_0x278810){const _0xcccb5d={_0x31e0fe:0x206,_0x45bbda:0xb3,_0x524abd:0x648,_0xaf3296:0x4c2,_0x205a9e:0x46b,_0x29a474:0x4ae,_0xbe402e:0x13b,_0x89eaca:0x70,_0x3c95f7:0x13c,_0x88c62b:0x16f,_0x5785b6:0x90},_0x42317d={_0x141a74:0x63b},_0x3e0f7a={_0x2d783f:0x18,_0x1ccfd1:0x193},_0x49e3ac=[];let _0x421cd2='';function _0x473079(_0x2de7e3,_0x15d6a9,_0x37f915,_0x211974){return _0x4d75fe(_0x2de7e3-_0x3e0f7a._0x2d783f,_0x2de7e3,_0x37f915-_0x3e0f7a._0x1ccfd1,_0x211974-0x74);}let _0x2fc3c3=0x0;while(_0x2fc3c3<_0x278810[_0x84ad20(-_0xcccb5d._0x31e0fe,-0x1b,_0xcccb5d._0x45bbda,0x13a)]){const _0x451677=_0x278810[_0x2fc3c3];if(_0x451677==='\x5c'&&_0x2fc3c3+0x1<_0x278810[_0x473079(0x56f,_0xcccb5d._0x524abd,0x4ae,_0xcccb5d._0xaf3296)])_0x421cd2+=_0x278810[_0x2fc3c3+0x1],_0x2fc3c3+=0x2;else{if(_0x451677==='\x22'||_0x451677==='\x27'){const _0x5ef317=_0x451677;_0x2fc3c3++;while(_0x2fc3c3<_0x278810['length']&&_0x278810[_0x2fc3c3]!==_0x5ef317){_0x278810[_0x2fc3c3]==='\x5c'&&_0x2fc3c3+0x1<_0x278810[_0x473079(_0xcccb5d._0x205a9e,0x573,_0xcccb5d._0x29a474,0x671)]?(_0x421cd2+=_0x278810[_0x2fc3c3+0x1],_0x2fc3c3+=0x2):(_0x421cd2+=_0x278810[_0x2fc3c3],_0x2fc3c3++);}_0x2fc3c3++;}else _0x451677!==void 0x0&&/\s/['test'](_0x451677)?(_0x421cd2&&(_0x49e3ac[_0x84ad20(_0xcccb5d._0xbe402e,_0xcccb5d._0x89eaca,0x1a6,-_0xcccb5d._0x3c95f7)](_0x421cd2),_0x421cd2=''),_0x2fc3c3++):(_0x421cd2+=_0x451677,_0x2fc3c3++);}}function _0x84ad20(_0x6d04a,_0x45676c,_0x1b3251,_0x8ec5a4){return _0x3145c3(_0x6d04a-0x75,_0x45676c- -_0x42317d._0x141a74,_0x1b3251-0xd7,_0x1b3251);}if(_0x421cd2)_0x49e3ac[_0x84ad20(-0xfb,0x70,-_0xcccb5d._0x88c62b,-_0xcccb5d._0x5785b6)](_0x421cd2);return _0x49e3ac;}function renderCommandInstructions(_0x5dd129){const _0x230111={_0x18f566:0x73,_0x867453:0x243,_0x47a725:0x53c,_0x47e23b:0x28f,_0x4334a9:0x340,_0x16b9f4:0x3fa,_0x3b4e3f:0x68c,_0x583830:0x693,_0x2ebc43:0x3f8,_0x344283:0x54c,_0x313980:0x41d},_0x1db4a8={_0x1fa450:0x6e3,_0x47bb76:0x640},_0x328245={_0x41c301:0x37,_0x23d08d:0x38b},_0x32108b={_0x47f445:0x43},_0x5e5c70={_0x4fb1ba:0x51};let _0x4dcb8e=_0x5dd129['instructions'],_0x1d995b=![];const _0x2444d7=tokenizeCommandArguments(_0x5dd129['argumentsText']);function _0x443c12(_0x4aced4,_0x42c14a,_0x133965,_0x23bd74){return _0x3145c3(_0x4aced4-_0x5e5c70._0x4fb1ba,_0x42c14a- -0xdd,_0x133965-0x15c,_0x133965);}_0x4dcb8e=_0x4dcb8e['replace'](/\$ARGUMENTS\[(\d+)\]/g,(_0x1fda8d,_0x1e7ede)=>{return _0x1d995b=!![],_0x2444d7[Number(_0x1e7ede)]??'';});function _0x523bb5(_0x531148,_0x31518c,_0x44357f,_0x422568){return _0x4d75fe(_0x531148-0xaf,_0x44357f,_0x422568- -0x3a,_0x422568-_0x32108b._0x47f445);}_0x4dcb8e=_0x4dcb8e[_0x523bb5(_0x230111._0x18f566,0x122,0x23e,_0x230111._0x867453)](/\$ARGUMENTS\b/g,()=>{function _0x1a160c(_0x28865b,_0xa517f6,_0x21b40a,_0x120a8f){return _0x523bb5(_0x28865b-_0x328245._0x41c301,_0xa517f6-0x1a2,_0x21b40a,_0x28865b-_0x328245._0x23d08d);}return _0x1d995b=!![],_0x5dd129[_0x1a160c(_0x1db4a8._0x1fa450,_0x1db4a8._0x47bb76,0x742,0x7de)];});if(_0x5dd129[_0x523bb5(0x369,_0x230111._0x47a725,0x499,0x340)]&&_0x5dd129[_0x523bb5(0x46b,0x37d,_0x230111._0x47e23b,_0x230111._0x4334a9)][_0x443c12(_0x230111._0x16b9f4,0x543,0x718,0x5d6)]>0x0)for(let _0x4620b0=0x0;_0x4620b0<_0x5dd129['argumentNames']['length'];_0x4620b0++){const _0x155765=_0x5dd129['argumentNames'][_0x4620b0];if(_0x155765){const _0x64419a=new RegExp('\x5c$'+_0x155765+'\x5cb','g');_0x4dcb8e=_0x4dcb8e[_0x443c12(0x56c,0x4a5,0x602,_0x230111._0x3b4e3f)](_0x64419a,()=>{return _0x1d995b=!![],_0x2444d7[_0x4620b0]??'';});}}return _0x4dcb8e=_0x4dcb8e['replace'](/\$(\d+)\b/g,(_0x3d970e,_0x2c590c)=>{return _0x1d995b=!![],_0x2444d7[Number(_0x2c590c)]??'';}),!_0x1d995b&&_0x5dd129[_0x443c12(0x648,0x5ba,_0x230111._0x583830,_0x230111._0x2ebc43)]['trim']()&&(_0x4dcb8e=_0x4dcb8e+_0x443c12(0x435,_0x230111._0x344283,_0x230111._0x313980,0x422)+_0x5dd129['argumentsText']),_0x4dcb8e;}var PROVIDER_API_KEY_ENVS=[{'env':_0x4d75fe(0x5b5,0x41b,0x42f,0x651),'provider':_0x4d75fe(0x1a5,0x588,0x361,0x1fc)},{'env':_0x4d75fe(0x217,0x494,0x407,0x32c),'provider':_0x3145c3(0x882,0x66f,0x761,0x5e4)},{'env':_0x4d75fe(0x172,0x390,0x353,0x4e3),'provider':_0x3145c3(0x893,0x7cf,0x7fc,0x5db)},{'env':_0x4d75fe(0x4d6,0x48a,0x388,0x584),'provider':_0x3145c3(0x9c5,0x7cf,0x937,0x828)},{'env':'XAI_API_KEY','provider':_0x4d75fe(0x1e1,0x1f0,0x3fe,0x3ea)},{'env':'DEEPINFRA_API_KEY','provider':_0x4d75fe(0x193,0x3e4,0x30b,0x2fb)},{'env':'ZAI_API_KEY','provider':'zai'},{'env':'MOONSHOT_API_KEY','provider':_0x4d75fe(0x259,0x2f3,0x38f,0x572)},{'env':'MINIMAX_API_KEY','provider':_0x4d75fe(0x6e4,0x6d9,0x549,0x52c)},{'env':_0x3145c3(0x77d,0x6ca,0x4a8,0x51a),'provider':_0x3145c3(0x60d,0x611,0x699,0x40d)},{'env':_0x3145c3(0x7fa,0x891,0x9ac,0x92c),'provider':_0x4d75fe(0x4ba,0x6e4,0x572,0x5cc)},{'env':_0x3145c3(0x913,0x8ea,0xa31,0x8f2),'provider':_0x3145c3(0x30d,0x4cb,0x6e6,0x406)},{'env':_0x4d75fe(0x1c8,0x4e3,0x349,0x526),'provider':_0x3145c3(0x549,0x53c,0x547,0x72e)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS['map'](_0x3dea59=>_0x3dea59[_0x3145c3(0x4ec,0x5d6,0x58c,0x404)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x4d75fe(0x4a1,0x4fd,0x4fe,0x479),_0x4d75fe(0x413,0x6ce,0x57e,0x756),_0x3145c3(0x5d6,0x737,0x629,0x923)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x4d75fe(0x3a7,0x3ad,0x478,0x4b6),_0x3145c3(0x431,0x521,0x42b,0x625),_0x4d75fe(0x599,0x3e2,0x377,0x567),_0x3145c3(0x656,0x4c3,0x366,0x423),_0x4d75fe(0x5d4,0x3be,0x49b,0x65d),_0x3145c3(0x41d,0x516,0x470,0x63d)],PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x4d75fe(0x473,0x40c,0x27a,0x474)](Object['prototype']),'prototype']),PRODUCTION_FILE_EDIT_MODES=[_0x3145c3(0x7e1,0x636,0x68e,0x4ab),'anchored-json',_0x4d75fe(0x578,0x4e9,0x438,0x56b)];function prototypeSafeRecord(_0x569f62){const _0x4b3c07={_0xafb616:0x4d3,_0x8f6aae:0x1d3,_0x4a9491:0x2e7,_0x326f85:0x486,_0x378a25:0x2ba,_0x42bbbd:0x50c,_0x4c037c:0x456,_0x25d25f:0x256},_0xc293a={_0x536a1b:0x6ef,_0x5cc56d:0x317,_0x45ce6c:0x62c,_0x593535:0x4b4,_0x1f27fb:0x55b,_0x3fe5c1:0x3a0},_0x12c1de={_0x477aba:0x92};function _0x1da104(_0x2aab6,_0x1bbb36,_0x3ffbe2,_0x299e15){return _0x3145c3(_0x2aab6-0x4f,_0x2aab6- -0x4c5,_0x3ffbe2-0x14f,_0x1bbb36);}function _0x4d19f4(_0x20243b,_0x37c844,_0x4e738c,_0x1de24b){return _0x3145c3(_0x20243b-0x156,_0x20243b- -0x51e,_0x4e738c-0x14b,_0x37c844);}return z[_0x4d19f4(0x3a0,0x5ad,0x294,_0x4b3c07._0xafb616)](_0x3ea264=>{const _0x4abb8e={_0x5a8842:0x2e4,_0x2cb21f:0x1};if(_0x3ea264===null||typeof _0x3ea264!=='object'||Array[_0x4ba48b(_0xc293a._0x536a1b,_0xc293a._0x5cc56d,0x4fb,_0xc293a._0x45ce6c)](_0x3ea264))return null;function _0x55fefd(_0x4714d2,_0x46c2b4,_0x1f49e0,_0x5b90e2){return _0x4d19f4(_0x1f49e0-_0x4abb8e._0x5a8842,_0x5b90e2,_0x1f49e0-0x121,_0x5b90e2-_0x4abb8e._0x2cb21f);}const _0x2929a8=Object[_0x4ba48b(_0xc293a._0x593535,0x20b,0x33d,0x174)](_0x3ea264);if(_0x2929a8!==Object[_0x4ba48b(0x654,0x3e1,0x45e,0x425)]&&_0x2929a8!==null)return null;function _0x4ba48b(_0x2d0c24,_0x492a35,_0x3851cd,_0x36e784){return _0x4d19f4(_0x3851cd-0x30f,_0x36e784,_0x3851cd-_0x12c1de._0x477aba,_0x36e784-0x3e);}return{'entries':Object[_0x4ba48b(0x3ac,0x471,_0xc293a._0x1f27fb,_0xc293a._0x3fe5c1)](_0x3ea264)};},z[_0x4d19f4(_0x4b3c07._0x8f6aae,0x1b6,0x12a,-0x48)]({'entries':z['array'](z[_0x4d19f4(_0x4b3c07._0x4a9491,0x18d,0x37c,_0x4b3c07._0x326f85)]([z[_0x1da104(0x2f0,_0x4b3c07._0x378a25,_0x4b3c07._0x42bbbd,_0x4b3c07._0x4c037c)](),_0x569f62]))}))[_0x1da104(0xfa,0x1b1,_0x4b3c07._0x25d25f,-0x80)](({entries:_0x586298})=>Object[_0x1da104(0x42a,0x5b8,0x3a4,0x428)](_0x586298));}var chatModelAuthSchemeSchema=z['enum'](['bearer','x-api-key']),apiKeyAuthSchema=z[_0x3145c3(0x79a,0x6f1,0x5aa,0x75f)]({'type':z[_0x3145c3(0x8d2,0x718,0x66b,0x73d)]('apiKey'),'apiKey':z[_0x3145c3(0x949,0x7b5,0x63a,0x5b7)](),'authScheme':chatModelAuthSchemeSchema[_0x4d75fe(0x4b2,0x5df,0x5b4,0x525)]()})[_0x4d75fe(0x2ad,0x11a,0x313,0x2b2)](),oauthAuthSchema=z[_0x3145c3(0x8a4,0x6f1,0x659,0x574)]({'type':z[_0x4d75fe(0x23d,0x614,0x413,0x3f3)]('oauth'),'access':z[_0x4d75fe(0x5e7,0x2b8,0x4b0,0x690)](),'refresh':z[_0x3145c3(0x689,0x7b5,0x922,0x99c)](),'expires':z[_0x4d75fe(0x6c2,0x352,0x542,0x3a4)]()[_0x3145c3(0x7a3,0x8b9,0x8cb,0x844)](),'authScheme':chatModelAuthSchemeSchema[_0x4d75fe(0x3ad,0x5c4,0x5b4,0x525)]()})[_0x4d75fe(0x331,0x3ea,0x313,0x3a8)](),finiteNonNegative=z['number']()[_0x3145c3(0x6dc,0x6f7,0x64d,0x880)]()[_0x3145c3(0x9ff,0x8da,0x977,0xafc)](),chatGptAuthSchema=z[_0x3145c3(0x8f4,0x6f1,0x575,0x8cf)]({'type':z['literal'](_0x3145c3(0x74d,0x540,0x60e,0x3e2)),'access':z[_0x4d75fe(0x576,0x5ff,0x4b0,0x44a)]()['min'](0x1),'refresh':z[_0x3145c3(0x5c5,0x7b5,0x8e4,0x80c)]()[_0x3145c3(0x4f2,0x576,0x658,0x54c)](0x1),'idToken':z[_0x4d75fe(0x6af,0x458,0x4b0,0x48b)]()['min'](0x1),'accountId':z['string']()['min'](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x3145c3(0x69d,0x8b9,0xa76,0x7df)]()})[_0x3145c3(0x4b2,0x618,0x83e,0x51a)](),authMethodSchema=z[_0x4d75fe(0x51e,0x505,0x591,0x572)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z['enum']([_0x4d75fe(0x68d,0x49d,0x558,0x67f),_0x4d75fe(-0x13,0x1d6,0x1c3,0x4d),_0x4d75fe(0x327,0x5cb,0x4a9,0x554),_0x4d75fe(0x7ae,0x542,0x59c,0x573),_0x4d75fe(0x626,0x78d,0x58e,0x5fe),'max']),reasoningOptionSchema=z['object']({'id':z[_0x3145c3(0x6d2,0x7b5,0x59b,0x810)]()[_0x3145c3(0xa6c,0x85b,0x930,0x98c)]()['min'](0x1),'description':z[_0x4d75fe(0x30a,0x6a2,0x4b0,0x4ae)]()[_0x4d75fe(0x73c,0x4a9,0x5b4,0x517)](),'mode':z[_0x3145c3(0x6cf,0x4fa,0x699,0x2e7)](['adaptive','manual'])[_0x4d75fe(0x3f4,0x7bf,0x5b4,0x4d1)](),'effort':reasoningEffortSchema[_0x4d75fe(0x697,0x630,0x5b4,0x3c0)](),'budgetTokens':z[_0x3145c3(0x963,0x847,0xa0e,0x745)]()[_0x3145c3(0x464,0x4e5,0x576,0x383)]()[_0x3145c3(0x6fd,0x576,0x3b5,0x70b)](0x400)['optional']()})['superRefine']((_0x446ad6,_0x45204d)=>{const _0x1e85ab={_0x4d9f63:0x553,_0x1708fa:0x350,_0x183cfc:0x4bd,_0x5dfe7c:0x6c6,_0x15758f:0x459,_0x3f5852:0x205,_0x5ed64c:0x41a,_0x33ee31:0x3ad,_0x19c362:0x4e9,_0x28e9ea:0x272,_0x19e2b8:0x3ea,_0x2d65c1:0xa5,_0x3452d4:0x56d,_0x1def77:0x4b5,_0x430fc7:0x198,_0x3e4c45:0x6b,_0xf7e74b:0x1b7,_0x303655:0x98,_0xb61b:0x5bf,_0x53fa98:0x88e,_0x3fd7a9:0x175,_0x413af2:0x4b,_0x53cdaa:0x2d3,_0xe540eb:0x4e1,_0xe232c:0x651,_0x398282:0x271,_0x4e3cfa:0x86,_0x5d894d:0x443,_0x3eee45:0x427,_0x52c46e:0x1e0,_0x4d41fd:0x3bd,_0x41ec4c:0x26e,_0xc7233f:0x499,_0x41754e:0x359,_0x437e99:0x310,_0x3ca9d2:0x326,_0x22844c:0x2e7,_0x577780:0x3a2},_0x534566={_0x4adc86:0x1e4,_0x175198:0x18c},_0x212328={_0x3e4ab5:0x35b};function _0x5de1b5(_0x8fecdf,_0x200b34,_0x37ae20,_0x545d08){return _0x4d75fe(_0x8fecdf-0xe9,_0x545d08,_0x8fecdf- -_0x212328._0x3e4ab5,_0x545d08-0xa4);}const _0x476ae1=_0x446ad6['id'][_0x1d9a73(_0x1e85ab._0x4d9f63,0x6d1,_0x1e85ab._0x1708fa,_0x1e85ab._0x183cfc)]();(_0x476ae1==='off'||_0x476ae1===_0x1d9a73(0x5cd,0x50e,_0x1e85ab._0x5dfe7c,_0x1e85ab._0x15758f)||_0x476ae1===_0x1d9a73(0x4de,0x5da,0x369,0x697))&&_0x45204d[_0x5de1b5(0x281,0x109,0xaa,_0x1e85ab._0x3f5852)]({'code':_0x1d9a73(_0x1e85ab._0x5ed64c,_0x1e85ab._0x33ee31,_0x1e85ab._0x19c362,0x306),'path':['id'],'message':_0x5de1b5(_0x1e85ab._0x28e9ea,0x46a,_0x1e85ab._0x19e2b8,_0x1e85ab._0x2d65c1)+_0x476ae1+_0x1d9a73(0x4cd,0x5b5,0x6bd,_0x1e85ab._0x3452d4)});function _0x1d9a73(_0x31a2c4,_0x2c8d59,_0x390a18,_0x58943b){return _0x4d75fe(_0x31a2c4-_0x534566._0x4adc86,_0x390a18,_0x31a2c4-0x15f,_0x58943b-_0x534566._0x175198);}if(_0x446ad6[_0x1d9a73(_0x1e85ab._0x1def77,0x329,0x2a6,0x37b)]===_0x5de1b5(_0x1e85ab._0x430fc7,0x2a7,-_0x1e85ab._0x3e4c45,-0x18)){_0x446ad6[_0x5de1b5(-0x53,-_0x1e85ab._0xf7e74b,-0x107,_0x1e85ab._0x303655)]===void 0x0&&_0x45204d[_0x1d9a73(0x73b,0x6b8,_0x1e85ab._0xb61b,_0x1e85ab._0x53fa98)]({'code':'custom','path':['budgetTokens'],'message':_0x5de1b5(_0x1e85ab._0x3fd7a9,0x1ae,-_0x1e85ab._0x413af2,0x353)});_0x446ad6['effort']!==void 0x0&&_0x45204d[_0x5de1b5(0x281,_0x1e85ab._0x53cdaa,0xee,0x111)]({'code':'custom','path':['effort'],'message':_0x1d9a73(0x4e5,0x67f,_0x1e85ab._0xe540eb,_0x1e85ab._0xe232c)});return;}_0x446ad6['budgetTokens']!==void 0x0&&_0x45204d[_0x5de1b5(0x281,_0x1e85ab._0x398282,0x478,_0x1e85ab._0x4e3cfa)]({'code':'custom','path':[_0x1d9a73(0x467,_0x1e85ab._0x5d894d,_0x1e85ab._0x3eee45,0x454)],'message':_0x5de1b5(_0x1e85ab._0x52c46e,_0x1e85ab._0x4d41fd,0x378,_0x1e85ab._0x41ec4c)}),_0x446ad6[_0x1d9a73(0x4b5,0x449,_0x1e85ab._0xc7233f,_0x1e85ab._0x41754e)]===void 0x0&&_0x446ad6[_0x5de1b5(-0x14d,-_0x1e85ab._0x437e99,-_0x1e85ab._0x3ca9d2,-0x243)]===void 0x0&&_0x45204d[_0x5de1b5(0x281,0x15c,_0x1e85ab._0x22844c,_0x1e85ab._0x577780)]({'code':'custom','path':[_0x1d9a73(0x36d,0x255,0x1c3,0x536)],'message':'Reasoning\x20option\x20requires\x20mode\x20or\x20effort'});});function validateReasoningOptionIds(_0x16ba87,_0x472ac7){const _0x18c946={_0x4a0178:0x599,_0x2946ad:0x42e,_0x5bae30:0x437,_0x4a61f1:0x202,_0x5aac33:0x336},_0x296fc5={_0x11e140:0x2,_0x44df18:0x1db},_0x2c2d58={_0x13578c:0x26,_0x222934:0x127};function _0xd57449(_0x560e36,_0x3a570e,_0x1363ad,_0x4c9731){return _0x3145c3(_0x560e36-_0x2c2d58._0x13578c,_0x560e36- -0x2cd,_0x1363ad-_0x2c2d58._0x222934,_0x1363ad);}function _0x17c6e3(_0x4b089c,_0x15d41a,_0x1e3a04,_0x273392){return _0x3145c3(_0x4b089c-_0x296fc5._0x11e140,_0x273392- -0x2ce,_0x1e3a04-_0x296fc5._0x44df18,_0x1e3a04);}const _0x29db50=new Set();for(let _0x631382=0x0;_0x631382<_0x16ba87['length'];_0x631382+=0x1){const _0x42991d=_0x16ba87[_0x631382]?.['id']['toLowerCase']();if(!_0x42991d)continue;if(_0x29db50[_0x17c6e3(_0x18c946._0x4a0178,0x3d2,_0x18c946._0x2946ad,0x432)](_0x42991d)){_0x472ac7[_0xd57449(0x614,0x694,_0x18c946._0x5bae30,0x50a)]({'code':'custom','path':['options',_0x631382,'id'],'message':_0xd57449(_0x18c946._0x4a61f1,0x3f7,_0x18c946._0x5aac33,0x241)+_0x42991d+'\x22'});continue;}_0x29db50['add'](_0x42991d);}}var providerReasoningConfigSchema=z['object']({'options':z[_0x4d75fe(0x3cc,0x33c,0x1b9,0x50)](reasoningOptionSchema)})[_0x4d75fe(0x6a8,0x6cc,0x5b3,0x536)]((_0x59ae25,_0x1012de)=>{const _0x417a0d={_0x317a35:0x52d,_0x186654:0x523,_0x481fd5:0x36b},_0x2ddeb0={_0x4564f5:0x24,_0x38feb6:0x193,_0x3c489a:0x1f4};function _0x448810(_0x504b5e,_0x39868d,_0x40defb,_0xd45d88){return _0x4d75fe(_0x504b5e-_0x2ddeb0._0x4564f5,_0x504b5e,_0x39868d- -_0x2ddeb0._0x38feb6,_0xd45d88-_0x2ddeb0._0x3c489a);}validateReasoningOptionIds(_0x59ae25[_0x448810(_0x417a0d._0x317a35,0x325,_0x417a0d._0x186654,_0x417a0d._0x481fd5)],_0x1012de);}),modelReasoningConfigSchema=z[_0x4d75fe(0x4f8,0x5fc,0x3ec,0x2bf)]({'defaultOption':z[_0x4d75fe(0x372,0x296,0x4b0,0x2ab)]()[_0x3145c3(0x837,0x85b,0x783,0x8b5)]()[_0x3145c3(0x4b9,0x576,0x65d,0x74d)](0x1)[_0x3145c3(0x9b8,0x8b9,0x99c,0x90a)](),'canDisable':z[_0x4d75fe(0x41b,0x370,0x4b9,0x38e)]()[_0x4d75fe(0x48e,0x793,0x5b4,0x4c2)](),'options':z[_0x3145c3(0x473,0x4be,0x3e2,0x2d0)](reasoningOptionSchema)})[_0x4d75fe(0x3c6,0x49a,0x5b3,0x6f7)]((_0x27ea06,_0x4b60a6)=>{const _0x3c58f2={_0x567185:0x860,_0x53c3a6:0x72f,_0x1ead09:0x784,_0x205fca:0x2b5,_0x51fd98:0x310,_0x382582:0x278,_0x3bc3c3:0x21d,_0x40c1f5:0x8ba,_0x1fc927:0x554,_0x260443:0xb63,_0x46e799:0x846,_0x46b271:0x7d2,_0x56016b:0x290,_0x171ba0:0x1f1,_0x56871c:0x1af,_0x640a66:0x5d,_0x4022d6:0xa3,_0x296f0d:0xc7,_0x2925ad:0x2ad,_0x8c5447:0x153,_0x240a8e:0x230,_0x3b62cf:0x281,_0x290024:0x8,_0x23db0b:0x683,_0x389c04:0x5da,_0x7f289d:0x8e0,_0x5f540f:0x87d,_0x2cfc78:0x7cb},_0x5e0460={_0x41a293:0x1d7,_0x5f0723:0x72,_0x10f2d2:0x1c7},_0x454345={_0x361410:0x66,_0x452fa0:0x300};validateReasoningOptionIds(_0x27ea06['options'],_0x4b60a6);const _0x34e41c=_0x27ea06['defaultOption']?.[_0x163723(_0x3c58f2._0x567185,_0x3c58f2._0x53c3a6,_0x3c58f2._0x1ead09,0x76b)]();if(_0x34e41c===void 0x0)return;function _0x5c5b30(_0x138424,_0x84872c,_0x4a6c50,_0xad0f3d){return _0x4d75fe(_0x138424-_0x454345._0x361410,_0x138424,_0x4a6c50- -_0x454345._0x452fa0,_0xad0f3d-0x1c6);}if(_0x34e41c===_0x5c5b30(_0x3c58f2._0x205fca,_0x3c58f2._0x51fd98,_0x3c58f2._0x382582,_0x3c58f2._0x3bc3c3)){_0x27ea06[_0x163723(_0x3c58f2._0x40c1f5,0x924,_0x3c58f2._0x1fc927,0x760)]!==!![]&&_0x4b60a6[_0x163723(0x8be,_0x3c58f2._0x260443,0x97b,0x953)]({'code':_0x163723(_0x3c58f2._0x46e799,0x445,_0x3c58f2._0x46b271,0x632),'path':[_0x5c5b30(0x1f8,_0x3c58f2._0x56016b,_0x3c58f2._0x171ba0,_0x3c58f2._0x56871c)],'message':'Reasoning\x20default\x20\x22off\x22\x20requires\x20canDisable:\x20true'});return;}function _0x163723(_0xf08431,_0x2e0f8b,_0x4a4368,_0x5a0dcd){return _0x3145c3(_0xf08431-_0x5e0460._0x41a293,_0x5a0dcd-_0x5e0460._0x5f0723,_0x4a4368-_0x5e0460._0x10f2d2,_0x4a4368);}!_0x27ea06['options'][_0x5c5b30(-_0x3c58f2._0x640a66,-_0x3c58f2._0x4022d6,_0x3c58f2._0x296f0d,0x1f4)](_0x136d05=>_0x136d05['id'][_0x5c5b30(-0x10b,0x29a,0xf4,-0xec)]()===_0x34e41c)&&_0x4b60a6[_0x5c5b30(0x3b7,0x1c8,0x2dc,_0x3c58f2._0x2925ad)]({'code':_0x5c5b30(-0x24d,-_0x3c58f2._0x8c5447,-0x45,-_0x3c58f2._0x240a8e),'path':[_0x5c5b30(0x2f3,_0x3c58f2._0x3b62cf,_0x3c58f2._0x171ba0,_0x3c58f2._0x290024)],'message':_0x163723(_0x3c58f2._0x23db0b,0x516,0x691,_0x3c58f2._0x389c04)+_0x27ea06[_0x163723(_0x3c58f2._0x7f289d,0xa63,_0x3c58f2._0x5f540f,0x868)]+_0x163723(0x62c,_0x3c58f2._0x2cfc78,0x75d,0x641)});}),modelDefinitionSchema=z[_0x4d75fe(0x526,0x5d2,0x3ec,0x548)]({'id':z[_0x3145c3(0x74b,0x7b5,0x74f,0x9c5)](),'name':z[_0x4d75fe(0x2c6,0x636,0x4b0,0x66a)]()[_0x3145c3(0xac5,0x8b9,0xa96,0x884)](),'reasoning':modelReasoningConfigSchema[_0x4d75fe(0x5a6,0x4c7,0x5b4,0x795)]()})[_0x4d75fe(0x327,0x32e,0x313,0x430)](),modelConfigSchema=z[_0x4d75fe(0x40c,0x66d,0x591,0x6ce)]([z['literal'](![]),z['literal'](!![]),z[_0x3145c3(0x6ba,0x7b5,0x779,0x6ee)](),z[_0x3145c3(0x3ab,0x4be,0x358,0x685)](z[_0x4d75fe(0x51d,0x67b,0x4b0,0x30c)]()),z[_0x3145c3(0x368,0x4be,0x38c,0x42b)](modelDefinitionSchema)]),chatModelSurfaceSchema=z['enum']([_0x3145c3(0x881,0x752,0x926,0x7dd),_0x3145c3(0x81f,0x71a,0x5be,0x923),'openai-responses',_0x3145c3(0x802,0x8fa,0x6d4,0x99f)]),providerNameSchema=z[_0x4d75fe(0x43d,0x37e,0x4b0,0x640)]()['min'](0x1,_0x4d75fe(0x4ec,0x170,0x2db,0x458))[_0x3145c3(0x6f7,0x630,0x448,0x854)](_0x1bdd0a=>!_0x1bdd0a['includes'](':'),_0x3145c3(0x707,0x529,0x3e4,0x56d)),providerConfigSchema=z[_0x4d75fe(0x256,0x5c6,0x3ec,0x52b)]({'apiKey':z[_0x3145c3(0x92e,0x7b5,0x68b,0x9de)]()[_0x3145c3(0xa1c,0x8b9,0x6ad,0x918)](),'token':z[_0x4d75fe(0x376,0x5b6,0x4b0,0x393)]()[_0x4d75fe(0x3a8,0x504,0x5b4,0x7bb)](),'defaultModel':z[_0x3145c3(0x9b4,0x7b5,0x82a,0x704)]()['optional'](),'smallModel':z[_0x3145c3(0x694,0x7b5,0x79e,0x979)]()[_0x4d75fe(0x487,0x659,0x5b4,0x524)](),'currentAuth':z['string']()[_0x3145c3(0x909,0x8b9,0x825,0xa38)](),'auth':z['array'](authMethodSchema)['optional'](),'surface':chatModelSurfaceSchema[_0x4d75fe(0x791,0x408,0x5b4,0x74c)](),'providerId':providerNameSchema[_0x4d75fe(0x746,0x581,0x5b4,0x76b)](),'baseUrl':z['string']()[_0x4d75fe(0x62b,0x4d0,0x5b4,0x7cb)](),'models':modelConfigSchema[_0x4d75fe(0x746,0x544,0x5b4,0x52b)](),'customHeaders':z[_0x4d75fe(0x52e,0x24c,0x45f,0x688)](z[_0x4d75fe(0x3a2,0x373,0x4b0,0x5c0)](),z[_0x4d75fe(0x623,0x5fa,0x4b0,0x30f)]())['optional'](),'reasoning':providerReasoningConfigSchema[_0x3145c3(0x7bb,0x8b9,0x9f5,0x798)]()})[_0x4d75fe(0x1e6,0x437,0x313,0x249)](),mcpServerConfigSchema=z[_0x3145c3(0x71d,0x6f1,0x85f,0x648)]({'command':z[_0x3145c3(0x697,0x7b5,0x896,0x7f1)]()[_0x4d75fe(0x454,0x733,0x5b4,0x560)](),'args':z[_0x3145c3(0x4f0,0x4be,0x568,0x458)](z[_0x4d75fe(0x6ba,0x433,0x4b0,0x4a4)]())[_0x4d75fe(0x512,0x52b,0x5b4,0x3ba)](),'env':z[_0x3145c3(0x5ec,0x764,0x674,0x754)](z['string'](),z[_0x3145c3(0x5ca,0x7b5,0x797,0x59b)]())['optional'](),'transport':z[_0x4d75fe(0x32d,0x74,0x1f5,0x38d)]([_0x4d75fe(0x382,0x3d2,0x514,0x65f),_0x4d75fe(0x437,0x471,0x540,0x53e)])[_0x3145c3(0x8a3,0x8b9,0x920,0x6d1)](),'url':z[_0x3145c3(0x7cf,0x7b5,0x724,0x809)]()[_0x3145c3(0xa74,0x8b9,0x92b,0x8f7)](),'headers':z[_0x3145c3(0x841,0x764,0x5ff,0x7e1)](z['string'](),z['string']())[_0x4d75fe(0x428,0x75d,0x5b4,0x403)](),'prefix':z['string']()[_0x3145c3(0x6ef,0x8b9,0x860,0xac0)](),'timeoutMs':z['number']()[_0x3145c3(0x7ad,0x8b9,0x8f6,0x6a1)](),'enabled':z[_0x3145c3(0x744,0x7be,0x77b,0x8f4)]()[_0x4d75fe(0x55e,0x40c,0x5b4,0x3fb)](),'auth':z[_0x3145c3(0x85c,0x6f1,0x5ad,0x705)]({'type':z[_0x3145c3(0x6ab,0x4fa,0x407,0x351)]([_0x3145c3(0x540,0x4bb,0x32e,0x2e1),_0x3145c3(0x6f4,0x4ed,0x648,0x393),'oauth']),'token':z[_0x3145c3(0x685,0x7b5,0x68a,0x666)]()['optional'](),'oauth':z[_0x4d75fe(0x339,0x3d7,0x3ec,0x328)]({'clientId':z['string']()['optional'](),'clientMetadataUrl':z[_0x4d75fe(0x582,0x511,0x4b0,0x3ca)]()[_0x3145c3(0xaab,0x8b9,0x6fb,0x728)](),'authorizationServer':z[_0x3145c3(0x9c4,0x7b5,0x7fa,0x99f)]()[_0x3145c3(0x9d9,0x8b9,0xadf,0x8be)](),'scopes':z[_0x3145c3(0x588,0x4be,0x40c,0x525)](z[_0x4d75fe(0x47b,0x40e,0x4b0,0x2c2)]())['optional'](),'tokenStorageKey':z[_0x4d75fe(0x699,0x366,0x4b0,0x6a5)]()['optional']()})[_0x4d75fe(0x121,0x3be,0x313,0x19c)]()[_0x3145c3(0x823,0x8b9,0xa98,0x80a)]()})[_0x4d75fe(0x4cb,0x49e,0x313,0x490)]()['optional']()})['passthrough'](),mcpToolPermissionClassSchema=z[_0x3145c3(0x5d1,0x4fa,0x6e5,0x712)]([_0x4d75fe(0x388,0x6d7,0x510,0x68d),_0x3145c3(0x9bd,0x799,0x8ed,0x8c6),'always-confirm']),mcpSettingsSchema=z[_0x4d75fe(0x423,0x57b,0x3ec,0x4f3)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x4d75fe(0x4a3,0x569,0x5b4,0x749)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x3145c3(0x68c,0x7be,0x931,0x6cf)]()))['optional'](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))['optional'](),'defaultTimeoutMs':z[_0x3145c3(0x8d2,0x847,0x6be,0x90f)]()['optional']()})[_0x3145c3(0x7c9,0x618,0x762,0x589)](),skillsSettingsSchema=z[_0x4d75fe(0x31d,0x3e0,0x3ec,0x371)]({'enabled':z[_0x4d75fe(0x520,0x4f4,0x4b9,0x61c)]()[_0x3145c3(0x830,0x8b9,0x9b8,0x885)](),'includeDefaults':z['boolean']()[_0x3145c3(0x6e8,0x8b9,0x929,0xa84)](),'directories':z[_0x4d75fe(-0x5,0x1b5,0x1b9,0x15)](z[_0x4d75fe(0x34d,0x67a,0x4b0,0x3c5)]())['optional'](),'exclude':z[_0x4d75fe(0x127,0x1fd,0x1b9,0x77)](z[_0x4d75fe(0x5b8,0x422,0x4b0,0x4ac)]())['optional']()})[_0x3145c3(0x63b,0x618,0x625,0x7d2)](),commandsSettingsSchema=z[_0x3145c3(0x7c6,0x6f1,0x5f9,0x90e)]({'enabled':z[_0x3145c3(0x79a,0x7be,0x733,0x87f)]()[_0x4d75fe(0x4b3,0x616,0x5b4,0x4df)](),'directories':z[_0x3145c3(0x56e,0x4be,0x3cf,0x531)](z[_0x3145c3(0x922,0x7b5,0x603,0x82e)]())[_0x4d75fe(0x4fa,0x71e,0x5b4,0x634)]()})[_0x4d75fe(0x22d,0x43b,0x313,0x2c9)](),agentsSettingsSchema=z[_0x4d75fe(0x583,0x460,0x3ec,0x5e2)]({'enabled':z[_0x4d75fe(0x5f5,0x457,0x4b9,0x613)]()[_0x3145c3(0x7ae,0x8b9,0x7c9,0x6cd)](),'includeDefaults':z[_0x4d75fe(0x49b,0x303,0x4b9,0x6c0)]()[_0x3145c3(0x762,0x8b9,0x760,0x9f3)](),'directories':z['array'](z[_0x3145c3(0x5c2,0x7b5,0x62e,0x6c6)]())['optional'](),'maxConcurrency':z[_0x3145c3(0x6d4,0x847,0x9ae,0x7e6)]()[_0x4d75fe(0x21f,0x368,0x3f2,0x1d9)]()[_0x4d75fe(0x1ee,0x14c,0x1e0,0x340)]()['positive']()['optional']()})[_0x4d75fe(0x21b,0x402,0x313,0x29c)](),uiThemeSettingsSchema=z['object']({'mode':z[_0x4d75fe(0x14c,0x11,0x1f5,0x2a0)]([_0x3145c3(0x6f7,0x50c,0x554,0x408),'dark',_0x3145c3(0x910,0x870,0x96d,0xa40)])[_0x4d75fe(0x7ba,0x49b,0x5b4,0x678)](),'colorLevel':z['enum']([_0x3145c3(0x54b,0x50c,0x32d,0x4d5),'none','ansi16',_0x3145c3(0x984,0x885,0x970,0xaab),_0x3145c3(0x618,0x817,0x8d0,0x9d5)])['optional'](),'backgrounds':z[_0x4d75fe(0x11f,0x2ac,0x1f5,0x2cd)]([_0x4d75fe(0x384,0x3c6,0x207,0x1c),'on',_0x4d75fe(0x50d,0x48c,0x578,0x42d)])[_0x3145c3(0x9d4,0x8b9,0x848,0x6f2)](),'messageStyle':z[_0x4d75fe(0x1a5,0x24f,0x1f5,0x1f1)](['plain','boxed'])[_0x3145c3(0x8c9,0x8b9,0xa64,0x891)]()})[_0x4d75fe(0x1c3,0x23b,0x313,0x141)](),statuslineSegmentSchema=z[_0x4d75fe(0x21b,0x83,0x1f5,0x330)]([_0x3145c3(0x903,0x729,0x94c,0x915),_0x3145c3(0x900,0x88e,0x68d,0x735),'thinking',_0x3145c3(0x6b8,0x598,0x6c9,0x714),_0x3145c3(0x7c9,0x85c,0xa4a,0x797),_0x4d75fe(0x241,0x289,0x239,0x1d2),_0x3145c3(0x64f,0x71b,0x7c1,0x8ec),_0x4d75fe(0x3f0,0x48a,0x2bc,0x20a),'tools',_0x4d75fe(0x4bb,0x6cb,0x5bf,0x66b),'lsp',_0x4d75fe(0x334,0x1c9,0x288,0x34f),_0x3145c3(0xac5,0x8f4,0x98a,0xa27),_0x4d75fe(0x54a,0x471,0x4d7,0x68e),_0x4d75fe(0x345,0x227,0x44c,0x618)]),statuslineItemSchema=z[_0x4d75fe(0x36e,0x4a2,0x591,0x5f6)]([statuslineSegmentSchema,z[_0x3145c3(0x78f,0x718,0x87b,0x515)]('|')]),statuslineRowSchema=z[_0x4d75fe(0x27,0x138,0x1b9,0x299)](statuslineItemSchema),statuslineConfigSchema=z[_0x3145c3(0x61a,0x6f1,0x4cd,0x5e1)]({'rows':z[_0x4d75fe(0x71a,0x697,0x500,0x435)]([statuslineRowSchema,statuslineRowSchema])[_0x4d75fe(0x6a1,0x452,0x5b4,0x3a4)]()})['passthrough'](),memoryExtractionSettingsSchema=z['object']({'enabled':z[_0x4d75fe(0x582,0x3c7,0x4b9,0x5c0)]()[_0x3145c3(0xad9,0x8b9,0xa38,0xac3)](),'provider':z[_0x4d75fe(0x61a,0x58d,0x4b0,0x442)]()[_0x3145c3(0x476,0x576,0x454,0x6d6)](0x1)['optional'](),'model':z[_0x4d75fe(0x57b,0x3f4,0x4b0,0x2ed)]()['min'](0x1)['optional'](),'minUserMessages':z[_0x3145c3(0x7e8,0x847,0x6c0,0x95f)]()['int']()[_0x4d75fe(0x31e,0x40d,0x271,0x462)](0x1)[_0x3145c3(0x9d1,0x8b9,0xa96,0x965)](),'structuredOutput':z['boolean']()[_0x4d75fe(0x560,0x406,0x5b4,0x7dc)](),'maxSeedTokens':z[_0x3145c3(0x72d,0x847,0x830,0x952)]()[_0x3145c3(0x6cb,0x4e5,0x393,0x515)]()[_0x3145c3(0x621,0x576,0x4e0,0x66b)](0x1)[_0x4d75fe(0x559,0x49d,0x5b4,0x3af)](),'trimToolOutputs':z['boolean']()[_0x3145c3(0x697,0x8b9,0x7a4,0xab3)]()})['strict'](),memoryInjectionSettingsSchema=z[_0x3145c3(0x520,0x6f1,0x90c,0x8a4)]({'tokenBudget':z[_0x3145c3(0x956,0x847,0x753,0x847)]()['int']()['min'](0x80)[_0x4d75fe(0x22b,0x153,0x250,0x438)](0x2000)[_0x3145c3(0x86d,0x8b9,0xa27,0xa9f)](),'rankByUsage':z[_0x4d75fe(0x2ba,0x3e3,0x4b9,0x3ad)]()[_0x3145c3(0xa7c,0x8b9,0x9cb,0x949)]()})[_0x3145c3(0x32c,0x531,0x6cc,0x48a)](),memoryConsolidateSettingsSchema=z[_0x3145c3(0x64e,0x6f1,0x539,0x85c)]({'enabled':z['boolean']()[_0x4d75fe(0x41d,0x6d7,0x5b4,0x59b)](),'provider':z['string']()[_0x4d75fe(0x1e3,0x12a,0x271,0x334)](0x1)[_0x4d75fe(0x55c,0x76f,0x5b4,0x517)](),'model':z[_0x3145c3(0x6c9,0x7b5,0x631,0x85f)]()[_0x3145c3(0x65c,0x576,0x5c2,0x541)](0x1)['optional'](),'maxExtractsPerRun':z[_0x3145c3(0xa18,0x847,0xa2b,0x9b7)]()[_0x4d75fe(0x228,-0x41,0x1e0,0x2e)]()[_0x3145c3(0x5d3,0x576,0x6e4,0x3fd)](0x1)[_0x4d75fe(0x572,0x7ce,0x5b4,0x63a)](),'maxUnusedDays':z[_0x4d75fe(0x464,0x41c,0x542,0x5c5)]()[_0x4d75fe(0x235,0x275,0x1e0,0xfc)]()[_0x3145c3(0x5e5,0x576,0x58a,0x532)](0x1)['optional'](),'requireReview':z['boolean']()[_0x4d75fe(0x428,0x654,0x5b4,0x4d7)](),'writeSkills':z[_0x3145c3(0x9ad,0x7be,0x7fa,0x8ae)]()[_0x4d75fe(0x3a2,0x7be,0x5b4,0x4dc)](),'readSourceTranscripts':z['boolean']()[_0x3145c3(0x6bd,0x8b9,0xad3,0xad2)](),'maxTranscriptReadsPerRun':z['number']()[_0x4d75fe(0x2ef,0x2bb,0x1e0,-0x44)]()['min'](0x0)[_0x3145c3(0xa11,0x8b9,0x871,0x751)]()})[_0x3145c3(0x70d,0x531,0x3dd,0x583)](),memorySettingsSchema=z['object']({'enabled':z['boolean']()[_0x3145c3(0x849,0x8b9,0x71b,0x981)](),'extraction':memoryExtractionSettingsSchema['optional'](),'consolidate':memoryConsolidateSettingsSchema[_0x3145c3(0x840,0x8b9,0x80b,0xa65)](),'injection':memoryInjectionSettingsSchema['optional']()})[_0x3145c3(0x3f6,0x531,0x6b6,0x3b6)](),recentModelSchema=z[_0x4d75fe(0x306,0x20b,0x3ec,0x5c4)]({'provider':z['string'](),'model':z[_0x3145c3(0x7ad,0x7b5,0x6fb,0x7c6)](),'usedAt':z[_0x4d75fe(0x4f8,0x72d,0x542,0x563)]()})[_0x4d75fe(0x523,0x12a,0x313,0x47e)](),lspServerEntrySchema=z[_0x3145c3(0x701,0x6f1,0x592,0x60f)]({'disabled':z[_0x4d75fe(0x33c,0x627,0x4b9,0x566)]()[_0x3145c3(0x75d,0x8b9,0x8e9,0x6a9)](),'command':z[_0x4d75fe(0x3ab,0x3d4,0x4b0,0x5a5)]()[_0x4d75fe(0x508,0x760,0x5b4,0x475)](),'args':z[_0x4d75fe(-0x1c,0x1a1,0x1b9,0x3ce)](z['string']())[_0x3145c3(0x791,0x8b9,0x87b,0x894)](),'rootMarkers':z['array'](z[_0x4d75fe(0x28d,0x330,0x4b0,0x2db)]())[_0x3145c3(0x89f,0x8b9,0xa88,0x6db)]()})[_0x4d75fe(0x410,0x2c1,0x313,0x49b)](),lspConfigSchema=z['object']({'enabled':z[_0x4d75fe(0x33a,0x329,0x4b9,0x684)]()[_0x4d75fe(0x3ff,0x6a1,0x5b4,0x601)](),'servers':z[_0x3145c3(0x7d9,0x764,0x6e2,0x8e9)](z[_0x4d75fe(0x4db,0x3e4,0x4b0,0x320)](),lspServerEntrySchema)['optional']()})[_0x3145c3(0x737,0x618,0x56f,0x7a6)](),serverEndpointSchema=z[_0x4d75fe(0x3dd,0x538,0x3ec,0x31f)]({'url':z[_0x3145c3(0x90a,0x7b5,0x5a1,0x6f1)](),'token':z[_0x4d75fe(0x4a3,0x519,0x4b0,0x6b9)]()[_0x4d75fe(0x56d,0x72c,0x5b4,0x5f6)]()})[_0x4d75fe(0x2a0,0x475,0x313,0x49f)](),commandHookConfigSchema=z[_0x3145c3(0x511,0x6f1,0x7d9,0x82d)]({'type':z[_0x3145c3(0x748,0x718,0x7e3,0x65a)](_0x3145c3(0x779,0x7b7,0x779,0x700)),'command':z[_0x3145c3(0x89e,0x7b5,0x8d0,0x79c)](),'timeout':z[_0x3145c3(0xa6f,0x847,0x90a,0x8e3)]()[_0x3145c3(0x8eb,0x8b9,0x844,0xaaa)]()}),hookMatcherGroupSchema=z[_0x4d75fe(0x58a,0x5a6,0x3ec,0x614)]({'matcher':z['string']()[_0x3145c3(0x954,0x8b9,0x7e4,0x9c3)](),'hooks':z[_0x4d75fe(0x38c,0x282,0x1b9,0xbc)](commandHookConfigSchema)}),hooksConfigSchema=z['object']({'PreToolUse':z[_0x4d75fe(0x370,0x129,0x1b9,0x222)](hookMatcherGroupSchema)[_0x4d75fe(0x5af,0x69d,0x5b4,0x7cc)](),'PostToolUse':z[_0x4d75fe(0x298,0x29e,0x1b9,0x193)](hookMatcherGroupSchema)[_0x3145c3(0xa3c,0x8b9,0xac3,0x8d1)](),'UserPromptSubmit':z['array'](hookMatcherGroupSchema)[_0x4d75fe(0x49b,0x4d8,0x5b4,0x522)](),'Stop':z[_0x4d75fe(0x374,0x31a,0x1b9,0x2c8)](hookMatcherGroupSchema)[_0x4d75fe(0x6ce,0x780,0x5b4,0x39b)](),'Notification':z[_0x4d75fe(0x335,-0x5c,0x1b9,0x18b)](hookMatcherGroupSchema)[_0x3145c3(0x868,0x8b9,0x969,0x82f)](),'ToolApprovalRequest':z[_0x3145c3(0x5ee,0x4be,0x6d3,0x35d)](hookMatcherGroupSchema)[_0x4d75fe(0x6ca,0x672,0x5b4,0x4f5)](),'SessionStart':z[_0x3145c3(0x44b,0x4be,0x6ac,0x5f5)](hookMatcherGroupSchema)['optional'](),'SessionEnd':z['array'](hookMatcherGroupSchema)['optional']()}),agentModelSetNameSchema=z[_0x4d75fe(0x521,0x59d,0x4b0,0x5fd)]()[_0x4d75fe(0x54f,0x3fc,0x32b,0x4cf)](isValidAgentModelSetName,_0x3145c3(0x658,0x802,0x622,0x7f5)),agentModelSelectorSchema=z['string']()[_0x4d75fe(0x1c2,0x14c,0x32b,0x40f)](_0x105a14=>parseProviderQualifiedModelSelector(_0x105a14)!==void 0x0,_0x4d75fe(0x1de,0x62,0x219,0x2d9)),agentModelSetSchema=z[_0x3145c3(0x554,0x6f1,0x73c,0x897)]({'fast':agentModelSelectorSchema[_0x4d75fe(0x4d8,0x5b4,0x5b4,0x5ef)](),'balanced':agentModelSelectorSchema[_0x4d75fe(0x7c0,0x72b,0x5b4,0x685)](),'powerful':agentModelSelectorSchema[_0x3145c3(0x9a6,0x8b9,0xa20,0x75e)]()})[_0x4d75fe(0x3ce,0x365,0x22c,0x3e5)]()['refine'](_0x1c198f=>Object[_0x4d75fe(0x479,0x4d8,0x4d4,0x658)](_0x1c198f)[_0x3145c3(0x59a,0x620,0x648,0x416)]>0x0,_0x4d75fe(0x151,0x1ac,0x2cd,0x3c7)),agentModelSetsSchema=prototypeSafeRecord(agentModelSetSchema)[_0x3145c3(0x81d,0x8b8,0xa6a,0x7bd)]((_0x1a8760,_0xa2a8d7)=>{const _0x53845e={_0x496655:0x73e,_0x1f665e:0x909,_0x2ce9ae:0x87a,_0x5449ad:0x878,_0x364eaf:0xb27,_0x31ef67:0xa11,_0x37bbf2:0x5f7,_0x4dc043:0x807},_0x21d6cd={_0x1bb13b:0x3b,_0x10c0c3:0x150},_0x37a97c={_0x18a72f:0x179,_0x1cb157:0x20b,_0x18306e:0xf0};function _0x233679(_0x37dd2b,_0x3c5698,_0x25b6ae,_0x2558b8){return _0x3145c3(_0x37dd2b-_0x37a97c._0x18a72f,_0x25b6ae- -_0x37a97c._0x1cb157,_0x25b6ae-_0x37a97c._0x18306e,_0x37dd2b);}function _0x4d7870(_0x1f59ab,_0x5d7daa,_0x4f07ec,_0x5457ff){return _0x3145c3(_0x1f59ab-_0x21d6cd._0x1bb13b,_0x5457ff-0x130,_0x4f07ec-_0x21d6cd._0x10c0c3,_0x5d7daa);}for(const _0x5c5d29 of Object[_0x4d7870(0x7df,_0x53845e._0x496655,0x8c6,_0x53845e._0x1f665e)](_0x1a8760)){!agentModelSetNameSchema[_0x4d7870(0x77d,0x7c9,_0x53845e._0x2ce9ae,_0x53845e._0x5449ad)](_0x5c5d29)['success']&&_0xa2a8d7[_0x4d7870(_0x53845e._0x364eaf,0xa14,0xadb,_0x53845e._0x31ef67)]({'code':'custom','path':[_0x5c5d29],'message':_0x233679(0x675,0x758,_0x53845e._0x37bbf2,_0x53845e._0x4dc043)});}}),bashPolicyRuleSchema=z[_0x3145c3(0x661,0x6f1,0x7b6,0x56c)]({'id':z[_0x3145c3(0x67b,0x7b5,0x98e,0x6b2)]()[_0x3145c3(0x792,0x85b,0x80e,0xa2a)]()[_0x4d75fe(0x2d7,0x3b2,0x271,0x436)](0x1)['max'](0x80),'action':z['enum']([_0x3145c3(0xaae,0x8a3,0x860,0x7fe),_0x4d75fe(0x160,0x484,0x29f,0x3d1)]),'cwd':z[_0x4d75fe(0x1d4,0x363,0x1f5,0xa6)]([_0x3145c3(0x7b4,0x6d1,0x7d0,0x72a),_0x4d75fe(0x267,0x35c,0x3eb,0x3cf)])[_0x3145c3(0x86a,0x8b9,0x89f,0xa19)](),'commands':z[_0x4d75fe(0x65,0x163,0x1b9,0x2e2)](z['string']()[_0x4d75fe(0x5e,0x31c,0x271,0x1fe)](0x1))[_0x4d75fe(0x30e,0xa9,0x271,0x12c)](0x1)})[_0x4d75fe(0xc9,0xdd,0x22c,0x214)](),bashPolicyConfigSchema=z['object']({'default':z[_0x4d75fe(0x588,0x41f,0x413,0x3b9)](_0x3145c3(0x78f,0x7b0,0x5a1,0x865))['optional'](),'rules':z[_0x4d75fe(0x252,0x52,0x1b9,0x398)](bashPolicyRuleSchema)['max'](0x3e8)})[_0x3145c3(0x59b,0x531,0x737,0x62f)](),fileEditSettingsSchema=z[_0x3145c3(0x5b7,0x6f1,0x6f4,0x661)]({'mode':z[_0x3145c3(0x6bf,0x4fa,0x360,0x68d)](PRODUCTION_FILE_EDIT_MODES)[_0x3145c3(0xadd,0x8b9,0x6c3,0xad1)]()})['strict'](),toolsSettingsSchema=z[_0x4d75fe(0x217,0x1ea,0x3ec,0x448)]({'fileEdit':fileEditSettingsSchema[_0x4d75fe(0x399,0x781,0x5b4,0x57e)]()})[_0x3145c3(0x435,0x618,0x71a,0x5ba)](),cliConfigSchema=z['object']({'activeProvider':providerNameSchema[_0x4d75fe(0x5ce,0x747,0x5b4,0x42a)](),'activeModel':z['string']()[_0x4d75fe(0x661,0x71f,0x5b4,0x7cc)](),'agentModelSets':agentModelSetsSchema['optional'](),'activeAgentModelSet':agentModelSetNameSchema['optional'](),'apiKey':z[_0x3145c3(0x67c,0x7b5,0x978,0x780)]()[_0x4d75fe(0x6ff,0x38b,0x5b4,0x6d3)](),'providers':z[_0x4d75fe(0x438,0x3f6,0x45f,0x27c)](providerNameSchema,providerConfigSchema)[_0x4d75fe(0x6bd,0x3c0,0x5b4,0x3f1)](),'mcp':mcpSettingsSchema[_0x3145c3(0x874,0x8b9,0x9e6,0x8c6)](),'skills':skillsSettingsSchema[_0x4d75fe(0x4e5,0x73b,0x5b4,0x437)](),'agents':agentsSettingsSchema[_0x4d75fe(0x7d6,0x616,0x5b4,0x604)](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z[_0x3145c3(0x8ae,0x764,0x8d5,0x5d5)](z[_0x4d75fe(0x574,0x476,0x4b0,0x65f)](),z[_0x4d75fe(0x532,0x446,0x4b9,0x448)]())[_0x3145c3(0x7fa,0x8b9,0x9be,0x9de)](),'allowedDirs':z[_0x4d75fe(0xc5,0x306,0x1b9,0x3db)](z[_0x4d75fe(0x291,0x635,0x4b0,0x5f0)]())[_0x3145c3(0xadd,0x8b9,0x6e1,0xac0)](),'mcpEnabled':prototypeSafeRecord(z[_0x3145c3(0x943,0x7be,0x63e,0x732)]())['optional'](),'commandsEnabled':z[_0x3145c3(0x729,0x764,0x5ec,0x7d5)](z[_0x3145c3(0x7f8,0x7b5,0x892,0x746)](),z[_0x3145c3(0x8d1,0x7be,0x9c5,0x7ac)]())[_0x3145c3(0x75c,0x8b9,0x773,0x863)](),'memory':memorySettingsSchema['optional'](),'session':z[_0x4d75fe(0x441,0x232,0x3ec,0x47f)]({'memPersist':z[_0x3145c3(0x628,0x7be,0x72a,0x9b2)]()['optional'](),'persistEventLog':z[_0x4d75fe(0x629,0x415,0x4b9,0x32c)]()[_0x3145c3(0x9a7,0x8b9,0x95f,0xac1)](),'persistHttpLog':z['boolean']()['optional']()})[_0x4d75fe(0x2f4,0x531,0x313,0x21a)]()[_0x3145c3(0x9fd,0x8b9,0x696,0x7fc)](),'requireToolApproval':z[_0x4d75fe(0x607,0x2c9,0x4b9,0x432)]()[_0x3145c3(0x908,0x8b9,0x82f,0x71d)](),'thinking':z[_0x3145c3(0x50c,0x6f1,0x62a,0x6a5)]({'selections':z[_0x3145c3(0x8b1,0x764,0x55d,0x5d4)](z[_0x4d75fe(0x2ec,0x3bd,0x4b0,0x49c)](),z[_0x4d75fe(0x5a8,0x466,0x4b0,0x5f4)]())[_0x3145c3(0x860,0x8b9,0x725,0xa8c)]()})[_0x4d75fe(0x49d,0x526,0x5b4,0x5d8)](),'streamingChunks':z[_0x3145c3(0x5e5,0x7be,0x99d,0x5a5)]()[_0x3145c3(0x701,0x8b9,0xa00,0x88b)](),'agentsEnabled':z[_0x3145c3(0x595,0x764,0x64c,0x6b1)](z['string'](),z[_0x4d75fe(0x2d2,0x47b,0x4b9,0x4bc)]())[_0x4d75fe(0x79f,0x590,0x5b4,0x4b9)](),'recentModels':z[_0x3145c3(0x358,0x4be,0x45a,0x2b3)](recentModelSchema)[_0x3145c3(0x89a,0x8b9,0x699,0x933)](),'lsp':lspConfigSchema[_0x3145c3(0x9a9,0x8b9,0x8cf,0x7a6)](),'servers':z[_0x3145c3(0x5e8,0x764,0x66d,0x93c)](z[_0x4d75fe(0x2ba,0x3d1,0x4b0,0x4ef)](),serverEndpointSchema)[_0x4d75fe(0x795,0x78d,0x5b4,0x3fd)](),'ui':z[_0x3145c3(0x603,0x6f1,0x6bb,0x7e0)]({'theme':uiThemeSettingsSchema[_0x4d75fe(0x3ef,0x5a7,0x5b4,0x645)](),'statusline':statuslineConfigSchema[_0x4d75fe(0x4d2,0x399,0x5b4,0x59b)]()})[_0x4d75fe(0x167,0x49e,0x313,0x278)]()[_0x4d75fe(0x747,0x5d6,0x5b4,0x7be)](),'tools':toolsSettingsSchema['optional'](),'hooks':hooksConfigSchema[_0x3145c3(0x914,0x8b9,0x84b,0xac3)](),'bashPolicy':z['unknown']()['optional']()})[_0x4d75fe(0x2e2,0x3fd,0x313,0x4c5)](),workspaceOverlaySchema=z[_0x3145c3(0x5fd,0x6f1,0x7ab,0x5ee)]({'root':z[_0x4d75fe(0x55b,0x2be,0x4b0,0x28d)]()[_0x3145c3(0x92b,0x8b9,0x961,0x743)](),'allowedDirs':z[_0x4d75fe(0x170,0x6,0x1b9,0x1ac)](z[_0x4d75fe(0x6b8,0x3ec,0x4b0,0x59d)]())[_0x3145c3(0xa43,0x8b9,0xa5d,0x93d)](),'activeProvider':providerNameSchema[_0x4d75fe(0x72b,0x411,0x5b4,0x5a9)](),'activeModel':z[_0x3145c3(0x614,0x7b5,0x927,0x696)]()[_0x3145c3(0x93a,0x8b9,0x94c,0xa30)](),'activeAgentModelSet':agentModelSetNameSchema[_0x4d75fe(0x6db,0x493,0x5b4,0x6a4)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x4d75fe(0x52f,0x6e1,0x5b4,0x726)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema['optional'](),'hooks':hooksConfigSchema[_0x4d75fe(0x4b9,0x516,0x5b4,0x6b7)](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x3145c3(0x9ae,0x7be,0x645,0x8ad)]())[_0x3145c3(0x9be,0x8b9,0x71a,0xac3)](),'skillsEnabled':z[_0x4d75fe(0x35a,0x314,0x45f,0x60c)](z['string'](),z[_0x3145c3(0x92d,0x7be,0x8bf,0x839)]())[_0x4d75fe(0x75f,0x659,0x5b4,0x7b9)](),'agentsEnabled':z['record'](z[_0x3145c3(0x8eb,0x7b5,0x75f,0x95d)](),z[_0x4d75fe(0x43e,0x6e1,0x4b9,0x53e)]())[_0x3145c3(0x989,0x8b9,0x7e1,0x7fa)](),'commandsEnabled':z['record'](z['string'](),z[_0x3145c3(0x6f1,0x7be,0x5c1,0x7b6)]())[_0x3145c3(0x8f3,0x8b9,0x709,0x944)](),'bashPolicy':z[_0x3145c3(0x659,0x7a3,0x87f,0x7cb)]()[_0x4d75fe(0x5f7,0x4ea,0x5b4,0x681)](),'tools':toolsSettingsSchema['optional']()})[_0x4d75fe(0x22f,0x152,0x313,0x474)](),PROTOTYPE_SENSITIVE_NAMES3=new Set([...Object['getOwnPropertyNames'](Object[_0x3145c3(0x59c,0x66d,0x66d,0x702)]),_0x4d75fe(0x3d5,0x3cd,0x368,0x3b1)]);function buildDescription2(_0x211058){const _0x4303db={_0x7893c1:0x1f,_0x41d08a:0x17c,_0x3f5f2c:0xf0,_0x6a4b2a:0x118,_0x2408e7:0x25f,_0x43c656:0x4a5,_0x36e809:0x2d4,_0x14ab07:0x388,_0x5d4e4e:0x262,_0x4927fd:0x469,_0x12207d:0x168,_0x2fe030:0x493,_0x319e26:0x2b3,_0x16ac68:0x2f1,_0xd295a:0x246,_0x3821ed:0x7d,_0x22a423:0x301},_0x306ee8={_0x41b33d:0x10c},_0x167213={_0x439755:0xab,_0x160b6e:0x16};function _0x42e906(_0x16c42f,_0x236225,_0x5bc4b4,_0x1e3e75){return _0x4d75fe(_0x16c42f-_0x167213._0x439755,_0x5bc4b4,_0x236225- -0x38,_0x1e3e75-_0x167213._0x160b6e);}function _0x4cb05c(_0x3a3eea,_0x2eece2,_0x1cb743,_0x387a8d){return _0x3145c3(_0x3a3eea-_0x306ee8._0x41b33d,_0x1cb743- -0x4b7,_0x1cb743-0x82,_0x3a3eea);}if(_0x211058[_0x4cb05c(0x1d6,_0x4303db._0x7893c1,0x169,0x1af)]===0x0)return[_0x4cb05c(_0x4303db._0x41d08a,-0x34,_0x4303db._0x3f5f2c,-_0x4303db._0x6a4b2a),_0x4cb05c(_0x4303db._0x2408e7,_0x4303db._0x43c656,_0x4303db._0x36e809,0x4dd),_0x42e906(_0x4303db._0x14ab07,_0x4303db._0x5d4e4e,0x402,_0x4303db._0x4927fd)][_0x42e906(0x3db,0x2bd,0x393,0x265)]('\x0a');const _0x5ae607=[_0x42e906(_0x4303db._0x12207d,0x26a,0xf7,0x1ad),_0x42e906(_0x4303db._0x2fe030,0x44e,_0x4303db._0x319e26,0x3d3),_0x4cb05c(_0x4303db._0x16ac68,_0x4303db._0xd295a,0x19f,_0x4303db._0x3821ed),..._0x211058['map'](_0xa72995=>_0xa72995['argumentHint']?'-\x20'+_0xa72995[_0x42e906(0x49c,0x2de,0x13a,0x1ea)]+'\x20'+_0xa72995['argumentHint']+':\x20'+_0xa72995[_0x42e906(0x3b4,0x26d,0x465,0x138)]:'-\x20'+_0xa72995[_0x4cb05c(0x153,0xa9,0x164,0x29a)]+':\x20'+_0xa72995[_0x4cb05c(0x285,0x2d4,0xf3,-0x2)])];return _0x5ae607[_0x4cb05c(0x1d7,0x4b,0x143,_0x4303db._0x22a423)]('\x0a');}function createInvokeCommandTool(_0x1ceb54){const _0x6400d1={_0x49cb87:0x80a,_0x295f1f:0x5f4,_0x2c09e6:0x367,_0x29c409:0x296,_0x47f0cc:0x5a8,_0x326229:0x597,_0x52e267:0x6c2,_0x494f06:0x772,_0x3b1c9a:0x305,_0xbb62e6:0x587,_0xa3268a:0x4f8,_0x32a6de:0x52e,_0x111245:0x542,_0x54eff2:0x5cf,_0x543bfd:0x579,_0x3b4025:0x693,_0x3332ab:0x32c,_0x367628:0x433,_0x5c42ee:0x1c1,_0x3609ff:0x192,_0x25830d:0x5a,_0x3a8f85:0x1fa},_0x36bc81={_0x4a8f94:0x362,_0xaf7cef:0x409,_0x1b911a:0x601,_0x5add79:0x5ac,_0x1f1d48:0x416,_0x5e182b:0x2db,_0x15faee:0x29b,_0x5513f9:0x982,_0x2f6004:0x5c6,_0x412f94:0x628,_0x1d258b:0x6d4,_0x4fdb8d:0x17d,_0x541508:0xc3,_0x4cc36b:0x294,_0x2eb246:0x7c5,_0x20933e:0x5e8,_0x5c764b:0x5e1,_0x3493af:0x73a,_0xa61b5:0x148,_0x1a1a2b:0x6b0,_0x2cf3fd:0x2cb,_0x117009:0x3c0,_0x4ccb98:0x603,_0x40583d:0x767,_0x398ffa:0x604,_0x11b79e:0x529},_0x5e8dbe={_0x378f4e:0x190,_0x564b21:0x12f},_0x154d30={_0x3cfd9a:0x33},_0xa9b8c6={_0x384a:0x1d9},_0x5da6b4={_0xa2c240:0x73,_0x28664c:0x1e3};function _0x165bd4(_0x423f12,_0x1d51ac,_0x491cfe,_0x55a885){return _0x4d75fe(_0x423f12-_0x5da6b4._0xa2c240,_0x55a885,_0x491cfe-_0x5da6b4._0x28664c,_0x55a885-0x15b);}const _0x4d9c10=new Map(_0x1ceb54[_0x165bd4(0x664,_0x6400d1._0x49cb87,_0x6400d1._0x295f1f,0x54d)][_0x8df0df(0x3aa,_0x6400d1._0x2c09e6,_0x6400d1._0x29c409,_0x6400d1._0x47f0cc)](_0x2a72f6=>[_0x2a72f6['id'],_0x2a72f6]));function _0x8df0df(_0x37e469,_0xa506ec,_0x166a7b,_0x14e349){return _0x3145c3(_0x37e469-0x142,_0x37e469- -0x489,_0x166a7b-_0xa9b8c6._0x384a,_0x14e349);}const _0x45bd43=buildDescription2(_0x1ceb54[_0x165bd4(_0x6400d1._0x326229,_0x6400d1._0x52e267,_0x6400d1._0x295f1f,_0x6400d1._0x494f06)]);return defineTool({'name':_0x165bd4(_0x6400d1._0x3b1c9a,_0x6400d1._0xbb62e6,_0x6400d1._0xa3268a,0x49b),'permissionClass':_0x165bd4(0x4d2,0x5e9,_0x6400d1._0x32a6de,0x491),'description':_0x45bd43,'inputSchema':{'type':_0x165bd4(0x4aa,_0x6400d1._0x111245,_0x6400d1._0x54eff2,_0x6400d1._0x543bfd),'properties':{'name':{'type':_0x165bd4(0x891,0x768,_0x6400d1._0x3b4025,0x689)},'args':{'type':_0x8df0df(_0x6400d1._0x3332ab,0x3ea,_0x6400d1._0x367628,_0x6400d1._0x5c42ee)}},'required':[_0x8df0df(_0x6400d1._0x3609ff,0x355,-_0x6400d1._0x25830d,_0x6400d1._0x3a8f85)]},async *'execute'(_0x4150f7){function _0x218df1(_0x585d5c,_0x17aca1,_0x2a75cc,_0x3273ee){return _0x8df0df(_0x17aca1-0x139,_0x17aca1-_0x154d30._0x3cfd9a,_0x2a75cc-0x1e7,_0x585d5c);}const _0x5c0815=_0x4d9c10[_0x218df1(0x5d2,0x54c,_0x36bc81._0x4a8f94,0x3ea)](_0x4150f7[_0x50672e(0x5f8,0x628,_0x36bc81._0xaf7cef,_0x36bc81._0x1b911a)]);if(!_0x5c0815){const _0x28afdb=Array[_0x218df1(_0x36bc81._0x5add79,_0x36bc81._0x1f1d48,_0x36bc81._0x5e182b,_0x36bc81._0x15faee)](_0x4d9c10['keys']())['join'](',\x20');throw new ToolExecutionError(_0x50672e(_0x36bc81._0x5513f9,0x7cc,_0x36bc81._0x2f6004,0x8a9)+_0x4150f7[_0x50672e(0x751,_0x36bc81._0x412f94,_0x36bc81._0x1d258b,0x4bb)]+_0x218df1(-0x48,_0x36bc81._0x4fdb8d,_0x36bc81._0x541508,_0x36bc81._0x4cc36b)+_0x28afdb,{'name':_0x4150f7['name']});}const _0x5a0926=await _0x1ceb54[_0x50672e(0x429,0x63b,_0x36bc81._0x2eb246,_0x36bc81._0x20933e)](_0x5c0815);function _0x50672e(_0x17a90b,_0x4a11d4,_0x855f6,_0x1aa8c6){return _0x165bd4(_0x17a90b-_0x5e8dbe._0x378f4e,_0x4a11d4-0x46,_0x4a11d4-_0x5e8dbe._0x564b21,_0x855f6);}const _0x1df7be=_0x4150f7[_0x50672e(0x714,0x765,_0x36bc81._0x5c764b,_0x36bc81._0x3493af)]??'',_0x1ed534=renderCommandInstructions({'instructions':_0x5a0926[_0x218df1(0x63,0x161,_0x36bc81._0xa61b5,0x180)],'argumentsText':_0x1df7be,'argumentNames':_0x5a0926[_0x50672e(_0x36bc81._0x1a1a2b,0x524,0x3d2,0x467)]});return yield createToolOutput(_0x1ed534,{'id':_0x5a0926['id'],'name':_0x5a0926[_0x218df1(0x18f,_0x36bc81._0x2cf3fd,_0x36bc81._0x117009,0x4db)],'path':_0x5c0815[_0x50672e(0x75e,_0x36bc81._0x4ccb98,_0x36bc81._0x40583d,0x461)][_0x218df1(_0x36bc81._0x398ffa,_0x36bc81._0x11b79e,0x480,0x51f)]}),void 0x0;}});}function createKillShellTool(_0x2e66d4){const _0x2f045d={_0x2155e:0x533,_0x29b182:0x269,_0x4bbd42:0xaf,_0x18082d:0x13a,_0x1baf00:0x7d,_0x244432:0x103,_0x25a3bd:0x6d0,_0xe08560:0x688,_0x4313ca:0x73e,_0x3edd07:0x8fc,_0x22c8fa:0x6d7},_0x2698d4={_0x242628:0x122,_0x286de9:0x136,_0x490a1b:0x36d,_0xefc5bb:0x279,_0x2a52d2:0x212,_0x431b0d:0x223,_0x1d4027:0x4a8,_0x467890:0x2c,_0x4205af:0x32c,_0x57596e:0x119,_0x23823f:0x1e0,_0x407b7a:0xa4,_0x248add:0x25b,_0x26ce71:0x329,_0xb2daa4:0x1b0,_0x4a8717:0x118,_0x1545a4:0x2d3,_0x42e266:0x368,_0x3c3b0c:0x2cc,_0x4bb20b:0x2e3,_0x40ddf3:0x3e,_0x4c6dce:0x246,_0x585b0c:0x2c2,_0x250afa:0x54,_0x43897d:0x3b0,_0x508152:0x34c,_0x49257d:0x490,_0x365f18:0x241,_0x4304b7:0x1f2,_0x4df4a3:0x148,_0x3218e9:0x36d,_0x5831bf:0x40c},_0x22aa01={_0x31dade:0x10d,_0x17a67b:0x66},_0x50ec12={_0x10c726:0x58f,_0x154bcc:0x15a,_0x56ab52:0xa1},_0x3a9d42={_0x18c19a:0x36f,_0x51b2e1:0x158},_0x563e3e={_0x3f04ef:0x1c3,_0x428da3:0x12f};function _0xd29fff(_0x449ec0,_0x11bb44,_0x442ba7,_0x17e22f){return _0x4d75fe(_0x449ec0-_0x563e3e._0x3f04ef,_0x449ec0,_0x11bb44-0x32d,_0x17e22f-_0x563e3e._0x428da3);}const {registry:_0x5cfb33}=_0x2e66d4;function _0x438cf7(_0x264b64,_0x11e3cc,_0x5a1a00,_0x17c83f){return _0x4d75fe(_0x264b64-0x119,_0x17c83f,_0x264b64- -_0x3a9d42._0x18c19a,_0x17c83f-_0x3a9d42._0x51b2e1);}return defineTool({'name':'KillShell','permissionClass':_0xd29fff(0x4ea,0x678,_0x2f045d._0x2155e,0x833),'description':_0x438cf7(_0x2f045d._0x29b182,0x3e5,_0x2f045d._0x4bbd42,_0x2f045d._0x18082d),'inputSchema':{'type':_0x438cf7(_0x2f045d._0x1baf00,-0xb,_0x2f045d._0x244432,0x1b4),'properties':{'shellId':{'type':_0xd29fff(0x619,0x7dd,_0x2f045d._0x25a3bd,_0x2f045d._0xe08560)}},'required':[_0xd29fff(_0x2f045d._0x4313ca,_0x2f045d._0x3edd07,_0x2f045d._0x22c8fa,0x775)]},async *'execute'(_0x2bc699){const _0x3485d3=await _0x5cfb33[_0x5c190e(_0x2698d4._0x242628,0x1a3,0x343,_0x2698d4._0x286de9)](_0x2bc699[_0x4b10b2(_0x2698d4._0x490a1b,_0x2698d4._0xefc5bb,_0x2698d4._0x2a52d2,_0x2698d4._0x431b0d)]);function _0x4b10b2(_0x8e4f00,_0x3781bc,_0x437f40,_0xd165d8){return _0xd29fff(_0x437f40,_0x8e4f00- -_0x50ec12._0x10c726,_0x437f40-_0x50ec12._0x154bcc,_0xd165d8-_0x50ec12._0x56ab52);}const _0x58d48d={'shellId':_0x3485d3[_0x4b10b2(_0x2698d4._0x490a1b,0x2a0,_0x2698d4._0x1d4027,0x4c2)],'outcome':_0x3485d3['outcome'],'status':_0x3485d3[_0x5c190e(0x29d,-_0x2698d4._0x467890,0x1f2,_0x2698d4._0x4205af)],'exitCode':_0x3485d3['exitCode'],'signal':_0x3485d3['signal'],'error':_0x3485d3[_0x5c190e(0x1d9,_0x2698d4._0x57596e,0x1e9,0x23f)],'gracefulRequested':_0x3485d3[_0x5c190e(0x264,0x1a,_0x2698d4._0x23823f,_0x2698d4._0x407b7a)],'forceRequested':_0x3485d3[_0x5c190e(0x28f,0x45e,_0x2698d4._0x248add,0x474)]};if(_0x3485d3[_0x4b10b2(0x37b,0x2c2,_0x2698d4._0x26ce71,0x300)]===_0x4b10b2(0x52,0xb6,-0x1b1,_0x2698d4._0xb2daa4))throw new ToolExecutionError(_0x5c190e(_0x2698d4._0x4a8717,0x2a0,_0x2698d4._0x1545a4,_0x2698d4._0x42e266)+_0x2bc699['shellId']+':\x20'+(_0x3485d3[_0x5c190e(0xc6,_0x2698d4._0x3c3b0c,0x1e9,_0x2698d4._0x4bb20b)]??_0x4b10b2(_0x2698d4._0x40ddf3,-0xdb,_0x2698d4._0x4c6dce,0x248)),_0x58d48d);function _0x5c190e(_0x4a2452,_0x3d4930,_0x5ed2c0,_0x2a570f){return _0x438cf7(_0x5ed2c0-_0x22aa01._0x31dade,_0x3d4930-_0x22aa01._0x17a67b,_0x5ed2c0-0x39,_0x3d4930);}const _0x15e58c=_0x3485d3['outcome']===_0x5c190e(_0x2698d4._0x585b0c,0x371,0x26f,0x263)?_0x4b10b2(0x264,_0x2698d4._0x250afa,_0x2698d4._0x43897d,0x171)+_0x2bc699[_0x4b10b2(_0x2698d4._0x490a1b,0x4f2,_0x2698d4._0x508152,0x481)]+_0x4b10b2(0x34a,0x1ad,_0x2698d4._0x49257d,_0x2698d4._0x365f18)+_0x3485d3[_0x4b10b2(_0x2698d4._0x4304b7,0x228,0x27e,0x15f)]+'.':_0x5c190e(0x39,-0xba,-0xb1,-0x199)+_0x2bc699[_0x5c190e(0x288,_0x2698d4._0x4df4a3,_0x2698d4._0x3218e9,_0x2698d4._0x5831bf)]+'.';return createToolOutput(_0x15e58c,_0x58d48d);}});}import _0xeaa4b1 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x12b6a8=>{const _0x5c804e={_0x12c5de:0x7fd,_0x738c8e:0x887},_0x3bc479={_0x4ea47a:0x1b1},{lookup:_0xc6aaef}=await import(_0x47d89e(_0x5c804e._0x12c5de,0x720,_0x5c804e._0x738c8e,0x9f8));function _0x47d89e(_0x512657,_0x18569a,_0x38171e,_0x226101){return _0x3145c3(_0x512657-0x81,_0x38171e-0x68,_0x38171e-_0x3bc479._0x4ea47a,_0x512657);}return _0xc6aaef(_0x12b6a8,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x5e8a1a){const _0x30a71d={_0x567e65:0x144,_0x3e9bfe:0x10b,_0x22c970:0x109,_0x167981:0x48,_0x181b05:0x1fc},_0x1587c5={_0x552576:0x1ad,_0x5d62b9:0x1be},_0x436de5={_0x231a4a:0x62,_0x342ff0:0xaf},_0x231d8b=_0x5e8a1a['split']('.');if(_0x231d8b[_0xf53e8(_0x30a71d._0x567e65,-0x1a,-_0x30a71d._0x3e9bfe,_0x30a71d._0x22c970)]!==0x4)return null;function _0x3f095c(_0x1a3bea,_0x1ef889,_0x4ad7be,_0x1f5b5f){return _0x4d75fe(_0x1a3bea-_0x436de5._0x231a4a,_0x1a3bea,_0x4ad7be- -0x60,_0x1f5b5f-_0x436de5._0x342ff0);}let _0x263480=0x0;function _0xf53e8(_0x153a0c,_0x56fcfc,_0x374485,_0x441775){return _0x4d75fe(_0x153a0c-_0x1587c5._0x552576,_0x441775,_0x56fcfc- -0x335,_0x441775-_0x1587c5._0x5d62b9);}for(const _0x5749ab of _0x231d8b){if(!/^\d{1,3}$/[_0x3f095c(0x2a8,_0x30a71d._0x167981,0x270,_0x30a71d._0x181b05)](_0x5749ab))return null;const _0x3bc306=Number(_0x5749ab);if(_0x3bc306>0xff)return null;_0x263480=_0x263480*0x100+_0x3bc306;}return _0x263480>>>0x0;}function isBlockedIpv4(_0xe877e0){const _0x494c59={_0x1a929f:0x5f,_0x1b1bff:0x1fe,_0x383832:0x39b,_0x14c58d:0xcc,_0x58b813:0x228,_0x5b164a:0x1df,_0xa9008b:0x24f,_0x40f241:0x29,_0x3f2ec8:0x1c9,_0x4f8728:0x2b,_0x458747:0x359,_0x4f9767:0x345},_0x5cdbee={_0x5b9277:0x1f},_0x1305f9={_0x4e87dc:0x17e,_0xc910c1:0x2c3},_0x4cdf32=ipv4ToInt(_0xe877e0);if(_0x4cdf32===null)return!![];function _0x588968(_0x40311d,_0x22605e,_0x8d936e,_0x792ac7){return _0x4d75fe(_0x40311d-_0x1305f9._0x4e87dc,_0x792ac7,_0x40311d- -_0x1305f9._0xc910c1,_0x792ac7-0x164);}function _0x346100(_0x166153,_0x2130bf,_0x3f2ae1,_0xdf83ba){return _0x4d75fe(_0x166153-0xb0,_0x2130bf,_0x166153- -_0x5cdbee._0x5b9277,_0xdf83ba-0x172);}const _0x3af326=(_0x1a3ee9,_0x148981)=>{const _0x3d2a64=ipv4ToInt(_0x1a3ee9);if(_0x3d2a64===null)return![];const _0x4a900f=_0x148981===0x0?0x0:0xffffffff<<0x20-_0x148981>>>0x0;return(_0x4cdf32&_0x4a900f)===(_0x3d2a64&_0x4a900f);};return _0x3af326(_0x346100(0x2c2,0x2fc,0x289,0x291),0x8)||_0x3af326('10.0.0.0',0x8)||_0x3af326(_0x588968(0xce,0x148,-_0x494c59._0x1a929f,-0xe5),0xa)||_0x3af326(_0x346100(_0x494c59._0x1b1bff,0x2d2,_0x494c59._0x383832,-0x21),0x8)||_0x3af326(_0x588968(-_0x494c59._0x14c58d,-0x196,-0x1e4,-_0x494c59._0x58b813),0x10)||_0x3af326('172.16.0.0',0xc)||_0x3af326(_0x346100(_0x494c59._0x5b164a,0x1cc,_0x494c59._0xa9008b,_0x494c59._0x40f241),0x18)||_0x3af326(_0x588968(0x14d,0x287,0x1dc,0x177),0x10)||_0x3af326(_0x588968(_0x494c59._0x3f2ec8,_0x494c59._0x4f8728,_0x494c59._0x458747,_0x494c59._0x4f9767),0xf)||_0x3af326('224.0.0.0',0x4)||_0x3af326('240.0.0.0',0x4);}function expandIpv6(_0x37fc19){const _0x595c43={_0x5ed251:0x8b4,_0x5e44fb:0x95a,_0x4bb616:0x9b1,_0x391c9a:0x7e3,_0x511ef2:0x9bd,_0x1412ce:0x736,_0x26149f:0x6b1,_0x1a61b0:0x5ee,_0x292963:0x487,_0x527cff:0x681,_0x26a3f1:0x785,_0x52b7c0:0x7c9,_0x8cff39:0x5da,_0x5703fe:0x611,_0x19c0ee:0x3c9,_0x3d34d0:0x3fd,_0x70f4c5:0x611,_0x1d2ce7:0x698,_0x711c6d:0x4d1,_0x20643a:0x619,_0x40ef1e:0x57e,_0x496a8e:0x882,_0x5a5ddc:0x5e4},_0x7a096={_0x4044c9:0xda,_0x19117c:0x263},_0x2cefa1={_0x2026cd:0x2f6,_0x56333d:0xc6};function _0x4a41f4(_0x57b1c3,_0x5db4aa,_0x5d227c,_0x4ede75){return _0x4d75fe(_0x57b1c3-0x17c,_0x57b1c3,_0x4ede75-_0x2cefa1._0x2026cd,_0x4ede75-_0x2cefa1._0x56333d);}let _0x530c7b=_0x37fc19,_0x9438e5;const _0x249407=_0x530c7b[_0x4a41f4(_0x595c43._0x5ed251,_0x595c43._0x5e44fb,_0x595c43._0x4bb616,_0x595c43._0x391c9a)](':');_0x530c7b[_0x4a41f4(_0x595c43._0x511ef2,0x8ad,_0x595c43._0x1412ce,0x7e0)](_0x249407+0x1)[_0x41c50d(_0x595c43._0x26149f,_0x595c43._0x1a61b0,_0x595c43._0x292963,_0x595c43._0x527cff)]('.')&&(_0x9438e5=_0x530c7b[_0x41c50d(0x7aa,0x74d,0x5cd,0x699)](_0x249407+0x1),_0x530c7b=_0x530c7b[_0x41c50d(0x5d5,0x74d,0x8c5,0x56c)](0x0,_0x249407+0x1));const _0x1c320d=_0x530c7b[_0x41c50d(_0x595c43._0x26a3f1,0x779,0x550,0x704)]('::');if(_0x1c320d[_0x4a41f4(0x734,_0x595c43._0x52b7c0,_0x595c43._0x8cff39,_0x595c43._0x5703fe)]>0x2)return null;const _0x94bcca=_0x5f32f7=>_0x5f32f7[_0x41c50d(0x5bb,0x779,0x5e1,0x7e4)](':')['filter'](_0x596237=>_0x596237[_0x4a41f4(0x770,0x6c3,0x77e,0x611)]>0x0)[_0x4a41f4(0x62f,0x647,0x7ea,0x824)](_0x590ea9=>Number[_0x4a41f4(0x702,0x75e,0x7db,0x7de)](_0x590ea9,0x10)),_0x219c97=_0x1c320d[0x0]?_0x94bcca(_0x1c320d[0x0]):[],_0x57d327=_0x1c320d['length']===0x2&&_0x1c320d[0x1]?_0x94bcca(_0x1c320d[0x1]):[],_0x355171=[];if(_0x9438e5){const _0x43792c=ipv4ToInt(_0x9438e5);if(_0x43792c===null)return null;_0x355171[_0x41c50d(0x770,0x609,0x59f,0x4ff)](_0x43792c>>>0x10&0xffff,_0x43792c&0xffff);}const _0x564a26=[..._0x57d327,..._0x355171],_0x16c30e=0x8-_0x219c97[_0x41c50d(0x50e,0x57e,0x772,_0x595c43._0x19c0ee)]-_0x564a26[_0x4a41f4(_0x595c43._0x3d34d0,0x4d8,0x7c3,_0x595c43._0x70f4c5)];if(_0x1c320d['length']===0x1)return _0x219c97[_0x4a41f4(_0x595c43._0x1d2ce7,0x5f1,_0x595c43._0x711c6d,_0x595c43._0x70f4c5)]+_0x564a26[_0x41c50d(_0x595c43._0x20643a,_0x595c43._0x40ef1e,0x712,0x6f6)]===0x8?[..._0x219c97,..._0x564a26]:null;function _0x41c50d(_0x232248,_0x108881,_0x4db2dd,_0x42f5c1){return _0x4d75fe(_0x232248-_0x7a096._0x4044c9,_0x4db2dd,_0x108881-_0x7a096._0x19117c,_0x42f5c1-0x148);}if(_0x16c30e<0x0)return null;return[..._0x219c97,...new Array(_0x16c30e)[_0x4a41f4(0x6b1,_0x595c43._0x496a8e,_0x595c43._0x5a5ddc,0x673)](0x0),..._0x564a26];}function isBlockedIpv6(_0x1a16cf){const _0x5b2db5={_0x55edcd:0x157,_0x1c8024:0x182,_0x22a9d0:0x399,_0x495e12:0x3f4,_0x214851:0x2e0,_0x43d172:0x453,_0x8789ab:0x1a4,_0x5dcd8c:0x68,_0x4e1ee2:0x237},_0x5a5588={_0x24d8bf:0xe7},_0x25b42d={_0x3b8c84:0x170,_0x3a1ff6:0x1a1},_0x50ecca=expandIpv6(_0x1a16cf);if(!_0x50ecca||_0x50ecca[_0x225176(0x2b5,_0x5b2db5._0x55edcd,_0x5b2db5._0x1c8024,0x22)](_0x4ab4b1=>Number[_0x225176(0x34d,0x175,0x2e4,0x15a)](_0x4ab4b1)))return!![];const _0x526de4=_0x50ecca[_0x5c7a2b(_0x5b2db5._0x22a9d0,0x53e,0x50c,_0x5b2db5._0x495e12)](0x0,0x7)[_0x225176(0xec,0x345,_0x5b2db5._0x214851,_0x5b2db5._0x43d172)](_0x28ab2f=>_0x28ab2f===0x0);if(_0x526de4&&(_0x50ecca[0x7]===0x0||_0x50ecca[0x7]===0x1))return!![];function _0x5c7a2b(_0x4b64fc,_0x547f1d,_0x5b10e9,_0x4d61b0){return _0x3145c3(_0x4b64fc-_0x25b42d._0x3b8c84,_0x4b64fc- -0x456,_0x5b10e9-_0x25b42d._0x3a1ff6,_0x5b10e9);}if(_0x50ecca['slice'](0x0,0x5)['every'](_0x49d9d3=>_0x49d9d3===0x0)&&(_0x50ecca[0x5]===0xffff||_0x50ecca[0x5]===0x0)){const _0x34b7cd=(_0x50ecca[0x6]<<0x10|_0x50ecca[0x7])>>>0x0,_0x2620f0=[_0x34b7cd>>>0x18&0xff,_0x34b7cd>>>0x10&0xff,_0x34b7cd>>>0x8&0xff,_0x34b7cd&0xff][_0x5c7a2b(_0x5b2db5._0x8789ab,_0x5b2db5._0x5dcd8c,_0x5b2db5._0x4e1ee2,0xaa)]('.');return isBlockedIpv4(_0x2620f0);}const _0x4936e6=_0x50ecca[0x0];if((_0x4936e6&0xff00)===0xfc00||(_0x4936e6&0xfe00)===0xfc00)return!![];if((_0x4936e6&0xffc0)===0xfe80)return!![];if((_0x4936e6&0xff00)===0xff00)return!![];function _0x225176(_0x1105cb,_0x5209e3,_0x2736d4,_0x548974){return _0x3145c3(_0x1105cb-0x109,_0x2736d4- -0x54a,_0x2736d4-_0x5a5588._0x24d8bf,_0x1105cb);}return![];}function isBlockedAddress(_0x29f342){const _0x17041e=isIP(_0x29f342);if(_0x17041e===0x4)return isBlockedIpv4(_0x29f342);if(_0x17041e===0x6)return isBlockedIpv6(_0x29f342);return!![];}async function assertPublicUrl(_0x2af2d7,_0x492e62={}){const _0x3db540={_0x57f24d:0x872,_0x2e6dd0:0x350,_0x3d6d5c:0x196,_0x56f746:0x149,_0x4320c8:0x65f,_0x33897c:0x5f0,_0x2325b7:0x4f3,_0x1b8eb8:0x112,_0x381de9:0x39b,_0x326995:0x5ca,_0x218b04:0x5cf,_0x546fe3:0x7b9,_0x1e73b5:0x785,_0x5f07b9:0x4a8,_0x161956:0x672,_0x4d5493:0x63f,_0x5ec7d8:0x685,_0x1f6251:0x4c3,_0x51d3b9:0x48c,_0x73eabe:0x74c,_0x1aabfd:0x732,_0x4d6fb6:0x632,_0xfa229d:0x608,_0x3b3c32:0x6cb,_0xfcf276:0x4ef},_0x3ec159={_0xcfb310:0x6c,_0x30b2b5:0xd8},_0x3d261d={_0x381758:0x173,_0x17a678:0x22};let _0x410335;try{_0x410335=new URL(_0x2af2d7);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x2af2d7});}if(_0x410335[_0x468361(0x44b,0x65f,_0x3db540._0x57f24d,0x4b6)]!==_0x468361(0x571,_0x3db540._0x2e6dd0,_0x3db540._0x3d6d5c,_0x3db540._0x56f746)&&_0x410335[_0x468361(0x834,_0x3db540._0x4320c8,0x5f3,0x4e1)]!==_0x468361(0x791,_0x3db540._0x33897c,_0x3db540._0x2325b7,0x564))throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x2af2d7});if(_0x410335[_0x2d87e0(0x318,_0x3db540._0x1b8eb8,0x102,_0x3db540._0x381de9)]||_0x410335['password'])throw new ToolExecutionError(_0x468361(0x631,_0x3db540._0x326995,0x4c1,0x68a),{'url':_0x410335[_0x468361(_0x3db540._0x218b04,0x65f,_0x3db540._0x546fe3,_0x3db540._0x1e73b5)]+'//'+_0x410335['host']+_0x410335['pathname']});const _0x5c38e7=_0x410335[_0x468361(0x63f,_0x3db540._0x5f07b9,0x5d0,_0x3db540._0x161956)]['replace'](/^\[|\]$/g,''),_0x174d87=_0x410335['protocol']+'//'+_0x410335[_0x2d87e0(0x6e8,0x902,0x66f,0x504)]+_0x410335[_0x468361(_0x3db540._0x4d5493,_0x3db540._0x5ec7d8,_0x3db540._0x1f6251,0x689)];if(isIP(_0x5c38e7)){if(isBlockedAddress(_0x5c38e7))throw new ToolExecutionError(_0x468361(_0x3db540._0x51d3b9,0x66e,_0x3db540._0x73eabe,_0x3db540._0x1aabfd),{'url':_0x174d87});return _0x410335;}const _0x3ded1=_0x492e62['lookup']??defaultLookup;function _0x2d87e0(_0x27fa3e,_0x462143,_0x3de295,_0x24e88c){return _0x4d75fe(_0x27fa3e-0x9a,_0x462143,_0x27fa3e-_0x3d261d._0x381758,_0x24e88c-_0x3d261d._0x17a678);}let _0xdd0d53;try{_0xdd0d53=await _0x3ded1(_0x5c38e7);}catch{throw new ToolExecutionError(_0x2d87e0(0x608,_0x3db540._0x4d6fb6,0x78b,0x5e1),{'url':_0x174d87});}function _0x468361(_0x573ab7,_0x3c8fc4,_0x346a91,_0x41d122){return _0x4d75fe(_0x573ab7-_0x3ec159._0xcfb310,_0x573ab7,_0x3c8fc4-_0x3ec159._0x30b2b5,_0x41d122-0x143);}if(_0xdd0d53['length']===0x0)throw new ToolExecutionError(_0x2d87e0(_0x3db540._0xfa229d,0x7e5,_0x3db540._0x3b3c32,_0x3db540._0xfcf276),{'url':_0x174d87});for(const {address:_0x5d1a56}of _0xdd0d53){if(isBlockedAddress(_0x5d1a56))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20host\x20that\x20resolves\x20to\x20a\x20non-public\x20address',{'url':_0x174d87});}return _0x410335;}async function safeFetch(_0x56a31d,_0x13b4ba={},_0x4f52d3={}){const _0x172603={_0x28b7d1:0x750,_0x470d0:0x56a,_0x42ba08:0x505,_0x554ccd:0x40f,_0x6ef5df:0x488,_0x252a14:0x57c,_0x471278:0x64d,_0x5aab6a:0x47d,_0x4029a5:0x442,_0xf6f08a:0x172,_0x281c9c:0x2a0,_0x468352:0x4b1,_0x5135d1:0x3f2,_0x41ee90:0x443},_0x2b6b87={_0x9099ec:0x12,_0x2e8c46:0x2c},_0x38c1d5={_0x39df00:0x1d8,_0x100927:0x131},_0x5609c0=_0x4f52d3['fetchImpl']??fetch,_0x552de5=_0x4f52d3[_0x70cec6(0x654,_0x172603._0x28b7d1,0x4ce,_0x172603._0x470d0)]??DEFAULT_MAX_REDIRECTS;function _0x1c3748(_0x1f27e4,_0x286bd5,_0x5545be,_0xb45a09){return _0x4d75fe(_0x1f27e4-0xa3,_0x5545be,_0xb45a09- -_0x38c1d5._0x39df00,_0xb45a09-_0x38c1d5._0x100927);}let _0x46c6f3=_0x56a31d;function _0x70cec6(_0xd43caa,_0x4e0ecf,_0x456f34,_0x5e09da){return _0x4d75fe(_0xd43caa-0xc0,_0x456f34,_0x5e09da- -_0x2b6b87._0x9099ec,_0x5e09da-_0x2b6b87._0x2e8c46);}for(let _0x5ee648=0x0;;_0x5ee648+=0x1){const _0x3e1996=await assertPublicUrl(_0x46c6f3,_0x4f52d3),_0x354a69=await _0x5609c0(_0x3e1996[_0x70cec6(0x500,_0x172603._0x42ba08,_0x172603._0x554ccd,0x443)](),{..._0x13b4ba,'redirect':'manual'}),_0xc65dfc=_0x354a69['headers'][_0x70cec6(_0x172603._0x6ef5df,_0x172603._0x252a14,_0x172603._0x471278,0x585)](_0x70cec6(0x609,0x6b2,0x593,0x569));if(!REDIRECT_STATUSES[_0x70cec6(0x2ad,0x57a,0x3d5,0x3e9)](_0x354a69[_0x70cec6(_0x172603._0x5aab6a,0x4b2,0x5f0,_0x172603._0x4029a5)])||!_0xc65dfc)return _0x354a69;if(_0x5ee648>=_0x552de5)throw new ToolExecutionError(_0x70cec6(_0x172603._0xf6f08a,0x30e,0x416,0x327),{'url':_0x3e1996['toString']()});_0x46c6f3=new URL(_0xc65dfc,_0x3e1996)[_0x70cec6(_0x172603._0x281c9c,_0x172603._0x468352,_0x172603._0x5135d1,_0x172603._0x41ee90)]();}}var USER_AGENT=_0x3145c3(0x878,0x807,0x719,0x6e2),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x392583,_0x5359aa){const _0x657dbe={_0x269061:0x6b8,_0xb21c31:0x74e,_0x12bcdc:0x5b7,_0x2e8eff:0x6b6,_0x11b3d4:0x794,_0x5eb385:0x762,_0x4f75d0:0x9d7,_0x4c28ea:0x82e,_0x3b5dc6:0x64e,_0x4c04b1:0x8e3,_0x3cdae6:0x601,_0x4a096c:0x76a,_0x1d9473:0x621,_0x4ce195:0x5bd,_0x4c1eee:0x727},_0x30e932={_0x3c5988:0x76,_0x253eeb:0x3f,_0x15cedf:0x22a},_0x2b84a1={_0x1c8ea2:0x1d4,_0x4f29ed:0x434},_0x312919={_0x2adf16:0xd8,_0x3ecbf5:0x68},_0x2f1305=new AbortController(),_0x518090=setTimeout(()=>_0x2f1305[_0x22416c(0x799,0x901,0x962,0x764)](new Error(_0x43cef8(0x587,0x92b,0x946,0x799))),_0x5359aa),_0x35df25=()=>_0x2f1305[_0x43cef8(0x767,0x6bf,0x8b6,0x76a)](_0x392583['reason']);function _0x43cef8(_0x2fc881,_0x1b884,_0x44bd21,_0x383df2){return _0x3145c3(_0x2fc881-_0x312919._0x2adf16,_0x383df2- -_0x312919._0x3ecbf5,_0x44bd21-0x1d7,_0x2fc881);}function _0x22416c(_0x469ceb,_0x4f3677,_0x20790c,_0x18959a){return _0x4d75fe(_0x469ceb-_0x2b84a1._0x1c8ea2,_0x469ceb,_0x4f3677-_0x2b84a1._0x4f29ed,_0x18959a-0xcd);}return _0x392583[_0x43cef8(0x56a,_0x657dbe._0x269061,_0x657dbe._0xb21c31,_0x657dbe._0x12bcdc)]?_0x2f1305['abort'](_0x392583[_0x43cef8(_0x657dbe._0x2e8eff,0x6a3,_0x657dbe._0x11b3d4,_0x657dbe._0x5eb385)]):_0x392583[_0x22416c(_0x657dbe._0x4f75d0,_0x657dbe._0x4c28ea,0x74d,_0x657dbe._0x3b5dc6)](_0x43cef8(0x95b,_0x657dbe._0x4c04b1,_0x657dbe._0x3cdae6,_0x657dbe._0x4a096c),_0x35df25,{'once':!![]}),{'signal':_0x2f1305[_0x43cef8(_0x657dbe._0x1d9473,_0x657dbe._0x4ce195,0x564,_0x657dbe._0x4c1eee)],'cleanup':()=>{const _0x1c57f5={_0x314a9a:0x69,_0x3c9f76:0x13};clearTimeout(_0x518090);function _0x3986ff(_0x597803,_0x3d8585,_0x4f06d0,_0x480746){return _0x43cef8(_0x597803,_0x3d8585-0xfc,_0x4f06d0-0x1a7,_0x3d8585- -0x540);}function _0x20afb5(_0x4a8f98,_0x1e6de4,_0x4e8a28,_0x2c8e01){return _0x22416c(_0x2c8e01,_0x4e8a28- -0x684,_0x4e8a28-_0x1c57f5._0x314a9a,_0x2c8e01-_0x1c57f5._0x3c9f76);}_0x392583[_0x3986ff(-0x1e7,-0x44,-_0x30e932._0x3c5988,0x4b)](_0x3986ff(_0x30e932._0x253eeb,_0x30e932._0x15cedf,0x3bd,0x2e4),_0x35df25);}};}function createWebFetchTool(_0xc4764e={}){const _0x527756={_0x5bd6bd:0x2b5,_0x721064:0x431,_0x11b924:0x653,_0x3a37f2:0x400,_0x2cd975:0x4b2,_0x1f2b56:0x3da,_0x30fcd5:0x3a0,_0x1fd04d:0x3ec,_0xc1025f:0x751,_0x3b7f5e:0x69b,_0x4db175:0x53a,_0x120350:0x3e7,_0x217297:0x453,_0x4a8398:0x535,_0x3dc401:0x72d,_0x977677:0x40f,_0x369982:0x478,_0xd4cb8b:0x672,_0x507598:0x6eb,_0x2196ee:0x5e8,_0x138415:0x450,_0x333ca4:0x35e,_0x5171c2:0x56c,_0x100c88:0x622,_0x3b891b:0x361,_0x38c98c:0x507,_0x1fa9bb:0x754,_0x13fc3e:0x8b4,_0x33a8ba:0x88b,_0x5deee4:0x6d5,_0xe5729d:0x3df,_0x2f7877:0x5c7,_0x404178:0x56a},_0xdbae39={_0x401484:0x61,_0x30a144:0xcc,_0x1e1b55:0x1ca,_0x138477:0x308,_0x59d7a2:0x90,_0x52cb88:0x5e,_0x5b8df5:0x36,_0x410915:0xf,_0x1eb46c:0x1e2,_0x3f7639:0x297,_0x36b3a6:0x12b,_0x19ade5:0x27f,_0x40718f:0x357,_0xa55f3b:0x249,_0xebf1b5:0x73,_0x5d0512:0xed,_0x4386df:0x210,_0x32200a:0xdc,_0xfdb6b9:0x1bb,_0x24f578:0x1da,_0x4ef2b3:0x3d,_0x126230:0xc4,_0x4da421:0x118,_0x3dca00:0x2c6,_0x18c024:0xa2,_0x38bc6d:0x31c,_0xd1d8a8:0xdf,_0x14a4b6:0x2f7,_0x5cca27:0x238,_0x1a5cfa:0x1ee,_0x230555:0x1a4,_0x2d938c:0x31f,_0xdd7109:0x197,_0xfb78d4:0x8,_0x3e9d8f:0x183,_0x45a87e:0x10f,_0x1b9e50:0xbc,_0x56a11e:0x1ab,_0x22e408:0x17f,_0x375488:0x221,_0x57caac:0x13,_0x34bc6f:0x194,_0xf2a12e:0x281,_0x31fed1:0x8d,_0x16f6ab:0x81,_0x5685c4:0xb,_0x3573f4:0x111,_0x3ef1c2:0x122,_0x4ccd78:0xf0,_0x571dcf:0x5b},_0x8a29ea={_0x178995:0x2a4,_0x572aea:0x1d6},_0x50f4fa={_0x3da1ee:0x1da,_0x45502a:0x1ea,_0x2c50ca:0x184},_0x5a2267=_0xc4764e[_0x51a3bf(_0x527756._0x5bd6bd,0x2c0,_0x527756._0x721064,0x583)]??_0x22037a(0x52f,0x4bd,_0x527756._0x11b924,0x55a),_0x33165d=_0xc4764e[_0x51a3bf(_0x527756._0x3a37f2,_0x527756._0x2cd975,0x59b,0x7b8)]??DEFAULT_TIMEOUT_MS2,_0x4471a8=_0xc4764e[_0x22037a(0x491,_0x527756._0x1f2b56,_0x527756._0x30fcd5,0x3cd)],_0x2b8d92=new _0xeaa4b1({'headingStyle':'atx','codeBlockStyle':'fenced','bulletListMarker':'-'});_0x2b8d92[_0x51a3bf(0x204,0x11a,0x316,_0x527756._0x1fd04d)]([_0x51a3bf(_0x527756._0xc1025f,_0x527756._0x3b7f5e,_0x527756._0x4db175,_0x527756._0x120350),_0x51a3bf(0x4e3,0x272,_0x527756._0x217297,0x59a),_0x22037a(0x806,0x955,0x73c,0x6f1),_0x22037a(0x704,_0x527756._0x4a8398,0x900,0x7df),_0x51a3bf(0x76a,_0x527756._0x3dc401,0x61f,_0x527756._0x977677),_0x51a3bf(_0x527756._0x369982,0x426,0x62a,0x63b),_0x22037a(_0x527756._0xd4cb8b,_0x527756._0x507598,0x844,_0x527756._0x2196ee),_0x51a3bf(_0x527756._0x138415,0x518,_0x527756._0x333ca4,0x1d5)]);function _0x51a3bf(_0x7dea1e,_0x3ce018,_0x115054,_0xec35fc){return _0x3145c3(_0x7dea1e-_0x50f4fa._0x3da1ee,_0x115054- -_0x50f4fa._0x45502a,_0x115054-_0x50f4fa._0x2c50ca,_0x3ce018);}function _0x22037a(_0x2504a4,_0x3979ad,_0x19c36d,_0x52f308){return _0x4d75fe(_0x2504a4-0xcf,_0x19c36d,_0x2504a4-_0x8a29ea._0x178995,_0x52f308-_0x8a29ea._0x572aea);}return defineTool({'name':_0x5a2267,'permissionClass':'read','description':_0x51a3bf(0x44c,_0x527756._0x5171c2,_0x527756._0x100c88,0x7f3),'inputSchema':{'type':_0x51a3bf(_0x527756._0x3b891b,0x4cd,_0x527756._0x38c98c,0x370),'properties':{'description':{'type':_0x22037a(_0x527756._0x1fa9bb,_0x527756._0x13fc3e,_0x527756._0x33a8ba,_0x527756._0x5deee4)},'url':{'type':'string'}},'required':[_0x51a3bf(_0x527756._0xe5729d,_0x527756._0x2f7877,_0x527756._0x404178,0x569)]},async *'execute'(_0x4ff895,_0x9569ac){const _0x21390b={_0x182634:0x11d};function _0x416e83(_0x2a867a,_0x30a271,_0x697b31,_0x284d5b){return _0x22037a(_0x2a867a- -0x564,_0x30a271-_0x21390b._0x182634,_0x284d5b,_0x284d5b-0x7a);}const _0x33f105=(await assertPublicUrl(_0x4ff895['url'],{'lookup':_0x4471a8}))[_0x58a953(0xdd,-_0xdbae39._0x401484,-_0xdbae39._0x30a144,-0xfa)]();if(_0x9569ac[_0x416e83(_0xdbae39._0x1e1b55,_0xdbae39._0x138477,0x1e3,_0xdbae39._0x59d7a2)][_0x58a953(-_0xdbae39._0x52cb88,_0xdbae39._0x5b8df5,-0xf4,-0x22)])throw new ToolExecutionError(_0x416e83(_0xdbae39._0x410915,0x181,_0xdbae39._0x1eb46c,0x81),{'url':_0x33f105});const _0x202f6f=createTimeoutSignal(_0x9569ac[_0x416e83(0x1ca,_0xdbae39._0x3f7639,_0xdbae39._0x36b3a6,_0xdbae39._0x19ade5)],_0x33165d);let _0x4c7de3='',_0x591a78=0x0,_0x2d772f;function _0x58a953(_0x2e7294,_0x3bc125,_0xa68628,_0x59a15a){return _0x22037a(_0x2e7294- -0x61c,_0x3bc125-0x110,_0xa68628,_0x59a15a-0x20);}try{const _0x70c009=await safeFetch(_0x33f105,{'headers':{'User-Agent':USER_AGENT},'signal':_0x202f6f[_0x416e83(0x1ca,_0xdbae39._0x40718f,0x3c4,_0xdbae39._0xa55f3b)]},{'lookup':_0x4471a8});if(!_0x70c009['ok'])throw new ToolExecutionError(_0x58a953(-_0xdbae39._0xebf1b5,0x90,_0xdbae39._0x5d0512,-_0xdbae39._0x4386df)+_0x70c009[_0x58a953(_0xdbae39._0x32200a,0x1d3,-0xad,0x219)]+'\x20'+_0x70c009[_0x58a953(_0xdbae39._0xfdb6b9,0xa6,_0xdbae39._0x24f578,_0xdbae39._0x4ef2b3)],{'url':_0x33f105,'statusCode':_0x70c009[_0x416e83(0x194,-0x37,-0x85,0x323)]});_0x4c7de3=_0x70c009['headers']['get'](_0x58a953(-0x18f,-_0xdbae39._0x126230,-_0xdbae39._0x4da421,-_0xdbae39._0x3dca00))??'',_0x591a78=_0x70c009['status'],_0x2d772f=await _0x70c009['text']();}catch(_0x52673d){if(_0x52673d instanceof ToolExecutionError)throw _0x52673d;const _0x3a7917=_0x52673d instanceof Error?_0x52673d[_0x416e83(-0xff,-_0xdbae39._0x18c024,-_0xdbae39._0x38bc6d,_0xdbae39._0xd1d8a8)]:String(_0x52673d);throw new ToolExecutionError(_0x3a7917,{'url':_0x33f105});}finally{_0x202f6f[_0x416e83(_0xdbae39._0x14a4b6,_0xdbae39._0x5cca27,_0xdbae39._0x1a5cfa,0xe2)]();}const _0x489b21=new Date()[_0x58a953(-0x16b,-_0xdbae39._0x230555,-_0xdbae39._0x2d938c,-_0xdbae39._0xdd7109)]();let _0x44e6ba,_0x3290d6;if(_0x4c7de3[_0x416e83(0xcb,0x14e,0x29f,-_0xdbae39._0xfb78d4)](_0x416e83(0x81,-_0xdbae39._0x3e9d8f,-_0xdbae39._0x45a87e,-_0xdbae39._0x1b9e50)))_0x44e6ba=_0x416e83(_0xdbae39._0x56a11e,0xcd,_0xdbae39._0x22e408,_0xdbae39._0x375488)+_0x2d772f+_0x58a953(0xa6,-0xab,0xd4,0x61),_0x3290d6=_0x416e83(0x24,0x1cb,0xf0,-0x1a3);else _0x4c7de3[_0x58a953(_0xdbae39._0x57caac,-_0xdbae39._0x34bc6f,-0x1be,-0x8d)](_0x416e83(_0xdbae39._0xf2a12e,0x222,_0xdbae39._0x31fed1,0xf7))?(_0x44e6ba=_0x2b8d92[_0x416e83(0x21e,0x11a,0x2bd,0x21e)](_0x2d772f),_0x3290d6=_0x58a953(_0xdbae39._0x16f6ab,0x12c,_0xdbae39._0x5685c4,_0xdbae39._0x3573f4)):(_0x44e6ba=_0x2d772f,_0x3290d6=_0x58a953(-0xb2,-0x4b,-_0xdbae39._0x3ef1c2,_0xdbae39._0x4ccd78));return yield createToolOutput(_0x44e6ba,{'url':_0x33f105,'contentType':_0x4c7de3,'statusCode':_0x591a78,'format':_0x3290d6,'size':_0x2d772f[_0x416e83(_0xdbae39._0x571dcf,-0x4a,0x1a9,0x1a3)],'fetchedAt':_0x489b21}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x4d75fe(0x656,0x711,0x582,0x45f);function normalizeUrl(_0x4820e3){const _0x554fbc={_0x3c3c29:0x295,_0x57f4a8:0x1e6,_0x1f1911:0xbe,_0x5557aa:0x83,_0x28f617:0x22,_0x24114b:0x13a,_0x5b8add:0x3a,_0x23a959:0x14e,_0x294765:0x765,_0x4beca5:0x548,_0x42f088:0x3f2,_0x21b41c:0x238,_0x38c280:0x28c,_0x3c0ddf:0x36b,_0x25bf84:0x1ee,_0x3606c9:0x30d,_0x2d18dd:0x1a7,_0x358aad:0x349,_0x2ea6f0:0x221,_0x4f0c56:0x567},_0xb60f51={_0x56b60d:0xfe};function _0x43d9ad(_0x22a57c,_0x49fa2c,_0x52483f,_0x2ad5b6){return _0x4d75fe(_0x22a57c-0x48,_0x22a57c,_0x2ad5b6- -0x2d2,_0x2ad5b6-_0xb60f51._0x56b60d);}function _0x3cb840(_0x249f92,_0x1e5f04,_0x3b241e,_0x1511e4){return _0x4d75fe(_0x249f92-0x54,_0x249f92,_0x1e5f04- -0xa3,_0x1511e4-0xb1);}try{const _0x1a817d=new URL(_0x4820e3);for(const _0xc708fe of[_0x3cb840(_0x554fbc._0x3c3c29,0x353,_0x554fbc._0x57f4a8,0x4c3),_0x43d9ad(-_0x554fbc._0x1f1911,_0x554fbc._0x5557aa,0x111,_0x554fbc._0x28f617),'utm_campaign',_0x43d9ad(_0x554fbc._0x24114b,-_0x554fbc._0x5b8add,0x1dd,_0x554fbc._0x23a959),_0x3cb840(_0x554fbc._0x294765,_0x554fbc._0x4beca5,0x620,_0x554fbc._0x42f088),_0x43d9ad(_0x554fbc._0x21b41c,_0x554fbc._0x38c280,0x394,0x1d3),_0x3cb840(0x49a,0x529,0x61f,0x6bf),'mc_cid',_0x3cb840(0x3df,0x31b,_0x554fbc._0x3c0ddf,0x38e)]){_0x1a817d[_0x43d9ad(_0x554fbc._0x25bf84,0x320,_0x554fbc._0x3606c9,_0x554fbc._0x2d18dd)][_0x3cb840(0xc1,0x2bf,_0x554fbc._0x358aad,0x3f9)](_0xc708fe);}return _0x1a817d[_0x3cb840(_0x554fbc._0x2ea6f0,0x3b2,_0x554fbc._0x4f0c56,0x4ec)]();}catch{return _0x4820e3;}}function cseDateRestrict(_0x450281){const _0x161e57={_0x1c0a50:0x60d,_0x516cff:0x7dc,_0x2da9ee:0x277,_0x38a975:0x116,_0x394c80:0x65,_0xa84832:0x11c,_0x2fbc63:0x5ed,_0x2fd0a1:0x5af,_0xca3a35:0x4f7,_0x2242ad:0x680,_0x1ec11b:0x42f},_0x58f7f9={_0x9d7efc:0x1d2},_0x3353a4={_0x3a7e3b:0x617,_0x554f56:0x1da};if(_0x450281<=0x0)return void 0x0;if(_0x450281<=0x1e)return'd'+Math[_0x3712da(_0x161e57._0x1c0a50,_0x161e57._0x516cff,0x6b5,0x780)](0x1,Math[_0x4d8164(-_0x161e57._0x2da9ee,-_0x161e57._0x38a975,-_0x161e57._0x394c80,-_0x161e57._0xa84832)](_0x450281));if(_0x450281<=0x16d)return'm'+Math[_0x3712da(_0x161e57._0x2fbc63,_0x161e57._0x2fd0a1,0x622,_0x161e57._0xca3a35)](_0x450281/0x1e);function _0x4d8164(_0x19fa25,_0x464ce4,_0x46cfb9,_0x34e9a5){return _0x3145c3(_0x19fa25-0x19b,_0x46cfb9- -_0x3353a4._0x3a7e3b,_0x46cfb9-_0x3353a4._0x554f56,_0x464ce4);}function _0x3712da(_0x3a06f6,_0x3d2ba0,_0x428c9c,_0x590553){return _0x4d75fe(_0x3a06f6-0x36,_0x3d2ba0,_0x3a06f6-0x3bd,_0x590553-_0x58f7f9._0x9d7efc);}return'y'+Math[_0x3712da(0x5ed,_0x161e57._0x2242ad,0x5be,_0x161e57._0x1ec11b)](_0x450281/0x16d);}function addSiteFilters(_0x154159,_0x4996dc){const _0x29924f={_0x12ea8a:0x11e,_0x531a51:0x79f,_0x599b13:0x57f,_0x1aebc5:0x4f2,_0x262af8:0x5ef,_0x315849:0x78c,_0x5ec08e:0x66d,_0x18aa1a:0x604,_0x511c0e:0x1ab,_0x417c74:0x596,_0x562e98:0x540,_0x355720:0x658,_0x3eee6d:0x75e,_0x2e5749:0x62c},_0x4ba6c6={_0x4e0657:0xc};function _0x34f7f0(_0x4bc5da,_0x335d02,_0x3a1205,_0x17cdac){return _0x3145c3(_0x4bc5da-_0x4ba6c6._0x4e0657,_0x335d02- -0x2dc,_0x3a1205-0x164,_0x3a1205);}function _0x88aa04(_0x3bf629,_0x4f1763,_0x963a11,_0x25e91a){return _0x3145c3(_0x3bf629-0x3a,_0x25e91a- -0x22f,_0x963a11-0x5c,_0x3bf629);}if(_0x4996dc[_0x34f7f0(0x534,0x344,0x3cf,_0x29924f._0x12ea8a)]===0x0)return _0x154159[_0x34f7f0(_0x29924f._0x531a51,_0x29924f._0x599b13,_0x29924f._0x1aebc5,_0x29924f._0x262af8)]();return(_0x154159+'\x20('+_0x4996dc[_0x88aa04(_0x29924f._0x315849,0x510,_0x29924f._0x5ec08e,_0x29924f._0x18aa1a)](_0x2f1605=>_0x34f7f0(0x1a3,0x327,0x4ff,0x3d2)+_0x2f1605)[_0x88aa04(0x37f,0x28f,_0x29924f._0x511c0e,0x3cb)](_0x88aa04(_0x29924f._0x417c74,_0x29924f._0x562e98,0x669,0x6bc))+')')[_0x88aa04(_0x29924f._0x355720,_0x29924f._0x3eee6d,0x806,_0x29924f._0x2e5749)]();}function normalizeType(_0x493c5e){const _0x3c1c03={_0x5d9f4e:0x390,_0x4f0c75:0x233,_0x511180:0x175,_0x3dd9eb:0x1e9,_0x1002d1:0xaa},_0x50e0a5={_0x10f580:0x12d,_0x429d0b:0x51};function _0x2ce9da(_0x3024d7,_0xed660d,_0x1c1b53,_0x17573f){return _0x4d75fe(_0x3024d7-_0x50e0a5._0x10f580,_0x1c1b53,_0x17573f- -0x125,_0x17573f-_0x50e0a5._0x429d0b);}function _0xc0a2c(_0x53118c,_0x267168,_0x1759ac,_0x4c0a8f){return _0x3145c3(_0x53118c-0x4d,_0x267168- -0x57d,_0x1759ac-0x164,_0x53118c);}return _0x493c5e===_0x2ce9da(_0x3c1c03._0x5d9f4e,_0x3c1c03._0x5d9f4e,0x33e,_0x3c1c03._0x4f0c75)?_0x2ce9da(0x402,0x206,0x1dd,_0x3c1c03._0x4f0c75):_0xc0a2c(_0x3c1c03._0x511180,0x192,_0x3c1c03._0x3dd9eb,_0x3c1c03._0x1002d1);}async function fetchJson(_0x530c4f,_0x547512,_0x37823d){const _0x20ab30={_0x2acbb0:0x322,_0x43318c:0x360,_0x599902:0x35b,_0x3e0140:0x8c6,_0x303a9d:0x884,_0x43081c:0x31b,_0x573e4b:0x250,_0x26d5c3:0x3c1,_0x5c1768:0x2ae,_0x5a85ce:0x31b,_0x24f0ac:0x49e,_0x43393e:0x465,_0x1ccec2:0x405,_0x11ca0d:0x674,_0x4ca39c:0x6f5,_0x54feaa:0x625,_0x249ab4:0x1d2,_0xacdb63:0x36e,_0x4bb24a:0x15,_0x2f2c61:0x9,_0xe4edb5:0x45c,_0x38f1a7:0x557,_0x3286b2:0x5ec,_0x209c46:0x2b0,_0x2ef74c:0x524,_0x15e682:0x583,_0x37ebb3:0x62e,_0x46b713:0x70d,_0x547ae1:0x692,_0x30189f:0x4df,_0x4781aa:0x62e,_0x46fd91:0x2f5,_0x5a7c69:0x21a,_0x22bbe6:0x2a2},_0x19c29d={_0x3d1428:0x2f4,_0xb06c2:0xd5},_0x13d525={_0x2d5f43:0x121,_0x5e8dec:0x12b};function _0xcacf9f(_0x2db47c,_0x30f41c,_0x3c94b0,_0x3d5d59){return _0x3145c3(_0x2db47c-_0x13d525._0x2d5f43,_0x3d5d59- -_0x13d525._0x5e8dec,_0x3c94b0-0x1d,_0x3c94b0);}const _0x14a895=await fetch(_0x530c4f,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x31416e(0x352,0x37f,0x17a,_0x20ab30._0x2acbb0),..._0x37823d?.[_0x31416e(_0x20ab30._0x43318c,0x3b2,0x43a,0x519)]},'signal':_0x547512,..._0x37823d});if(!_0x14a895['ok']){let _0x1c58c8,_0x564440;try{_0x1c58c8=await _0x14a895[_0xcacf9f(0x307,0x6a0,_0x20ab30._0x599902,0x4a0)]();const _0x4e0128=JSON[_0xcacf9f(_0x20ab30._0x3e0140,0x8c0,_0x20ab30._0x303a9d,0x6fa)](_0x1c58c8),_0x2ac2f8=typeof _0x4e0128[_0x31416e(_0x20ab30._0x43081c,0x2ec,0x193,_0x20ab30._0x573e4b)]===_0x31416e(0x3fd,_0x20ab30._0x26d5c3,_0x20ab30._0x5c1768,0x402)?_0x4e0128[_0x31416e(_0x20ab30._0x5a85ce,_0x20ab30._0x24f0ac,_0x20ab30._0x43393e,_0x20ab30._0x1ccec2)][_0xcacf9f(0x421,0x803,_0x20ab30._0x11ca0d,0x625)]:void 0x0;_0x564440=_0x4e0128[_0xcacf9f(_0x20ab30._0x4ca39c,0x58c,0x5bf,_0x20ab30._0x54feaa)]?.[_0x31416e(_0x20ab30._0x249ab4,_0x20ab30._0xacdb63,_0x20ab30._0x4bb24a,_0x20ab30._0x2f2c61)]??_0x4e0128[_0x31416e(_0x20ab30._0xe4edb5,_0x20ab30._0x38f1a7,0x4e8,_0x20ab30._0x3286b2)]?.[_0x31416e(0x249,0x1e1,0x17b,_0x20ab30._0x209c46)]?.[0x0]?.['message']??_0x2ac2f8;}catch{}const _0x5d971d=_0x564440?'HTTP\x20'+_0x14a895[_0xcacf9f(0x54b,_0x20ab30._0x2ef74c,_0x20ab30._0x15e682,_0x20ab30._0x37ebb3)]+':\x20'+_0x564440:'HTTP\x20'+_0x14a895['status']+'\x20'+_0x14a895[_0xcacf9f(0x90e,0x89b,0x819,_0x20ab30._0x46b713)];throw new ToolExecutionError(_0x5d971d,{'statusCode':_0x14a895[_0xcacf9f(_0x20ab30._0x547ae1,0x65e,_0x20ab30._0x30189f,_0x20ab30._0x4781aa)],..._0x1c58c8?{'body':_0x1c58c8}:{}});}function _0x31416e(_0x42e71b,_0x2488e2,_0x5c7dce,_0x455421){return _0x3145c3(_0x42e71b-0x18d,_0x42e71b- -_0x19c29d._0x3d1428,_0x5c7dce-_0x19c29d._0xb06c2,_0x455421);}return await _0x14a895[_0x31416e(_0x20ab30._0x46fd91,_0x20ab30._0x5a7c69,_0x20ab30._0x22bbe6,0x2c1)]();}async function hydrateResults(_0x42542d,_0x208bca,_0x402297,_0x13622f){const _0x4c5a9a={_0x5ca33f:0x243,_0x5263f7:0x283,_0x1fa774:0x1dc,_0x27af39:0x288,_0x20dd8e:0x1d4,_0x399f40:0xf8,_0x10a659:0x2b2,_0x4e74d1:0x202,_0x360fd9:0xd1,_0x101605:0x287,_0x47cbe4:0x316,_0x23ed8d:0x291},_0x13cf5a={_0x573978:0x5ac,_0x4a77e8:0x66},_0x2f37d3={_0xa77b5:0x10c},_0x38ee6d={_0xfc6133:0x202,_0x27a12d:0x31c,_0x15916f:0x26b,_0x5567ac:0xed,_0x327ed1:0x1ec,_0x2148e5:0x2c0,_0x5bb5b0:0x2a8,_0xd4ec43:0x1ba,_0x4b6c4c:0x20,_0x162113:0x31d,_0x216a08:0x10a,_0x2bd83b:0xd5,_0x595511:0xfb,_0x381685:0x3ef,_0x5bca9b:0x1bc,_0x107444:0x1f2,_0x5a64b7:0xf,_0x505684:0x528,_0x3e98b3:0x415,_0x344e74:0x3e9,_0x23ccd9:0x27e,_0x446ba6:0x3b7,_0xc5d86e:0x56,_0xfbe19d:0x29,_0x1cb515:0x97,_0x4ff638:0x49,_0x46caa3:0x139,_0x875b11:0x9d,_0x3a3457:0x2c,_0x2f9df5:0x42,_0x51e8a9:0x518,_0x3196f1:0x329,_0x455901:0x346,_0x5f0d80:0x25d,_0x34679b:0x1bb,_0x2cab93:0xfb,_0x3544b5:0x233,_0x234ac1:0x73,_0x784772:0x2b0,_0x567fbc:0x4b,_0x252298:0xfa,_0x346428:0x3d,_0x55bf1f:0x19c,_0x43700c:0x358,_0x363a23:0x2c8,_0x3fc70b:0x141,_0x486d76:0x263,_0xab2cd:0x37b,_0x26eca2:0x18e,_0xb1f814:0x381,_0x44aa96:0x45d,_0x1a630a:0x19f},_0x50d9a7=await Promise['all'](_0x42542d[_0x11f62a(0x1b1,_0x4c5a9a._0x5ca33f,_0x4c5a9a._0x5263f7,_0x4c5a9a._0x1fa774)](0x0,0xa)[_0x547a5e(0x355,0x3e0,_0x4c5a9a._0x27af39,_0x4c5a9a._0x20dd8e)](async _0x54f1c6=>{const _0x3c6c93={_0x4165ba:0x1d2},_0x2d014a={_0xf4db37:0xce};function _0x329dce(_0x5e5b37,_0x4b4aa0,_0x11c5c0,_0x5ae731){return _0x11f62a(_0x5e5b37-0x89,_0x11c5c0-_0x2d014a._0xf4db37,_0x5e5b37,_0x5ae731-0x189);}function _0x3811e7(_0x38e336,_0x416e35,_0x3c9f5,_0x20bfc3){return _0x547a5e(_0x38e336-0x4c,_0x416e35-0x63,_0x416e35-_0x3c6c93._0x4165ba,_0x20bfc3);}try{const _0x2c9407=await safeFetch(_0x54f1c6['url'],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x208bca,'Accept':_0x329dce(_0x38ee6d._0xfc6133,0x4dd,0x368,_0x38ee6d._0x27a12d)},'signal':_0x402297},{'lookup':_0x13622f});if(!_0x2c9407['ok'])return _0x54f1c6;const _0x4fe353=await _0x2c9407[_0x329dce(0x292,_0x38ee6d._0x15916f,_0x38ee6d._0x5567ac,0x188)](),_0x44b791=load(_0x4fe353),_0x47ba11=_0x44b791(_0x329dce(0x35d,_0x38ee6d._0x327ed1,_0x38ee6d._0x2148e5,_0x38ee6d._0x5bb5b0))[_0x3811e7(0x105,0x19c,_0x38ee6d._0xd4ec43,-_0x38ee6d._0x4b6c4c)](_0x3811e7(0x180,0xd9,0x2b8,-0x2a))||_0x44b791(_0x3811e7(_0x38ee6d._0x162113,_0x38ee6d._0x216a08,_0x38ee6d._0x2bd83b,-_0x38ee6d._0x595511))[_0x329dce(_0x38ee6d._0x381685,_0x38ee6d._0x5bca9b,0x2c7,0x1e0)]()[_0x3811e7(-0x1f,_0x38ee6d._0x107444,0x3e5,-_0x38ee6d._0x5a64b7)]()[_0x3811e7(_0x38ee6d._0x505684,0x482,_0x38ee6d._0x3e98b3,_0x38ee6d._0x344e74)](),_0x50d3eb=_0x44b791(_0x3811e7(_0x38ee6d._0x23ccd9,0x269,0x385,_0x38ee6d._0x446ba6))['attr']('content')||_0x44b791(_0x329dce(0x4a,_0x38ee6d._0xc5d86e,_0x38ee6d._0xfbe19d,-_0x38ee6d._0x5567ac))[_0x329dce(-0x37,-0xf8,_0x38ee6d._0x1cb515,-_0x38ee6d._0x4ff638)](_0x329dce(-_0x38ee6d._0x46caa3,-_0x38ee6d._0x875b11,-_0x38ee6d._0x3a3457,_0x38ee6d._0x2f9df5))||_0x54f1c6['snippet'],_0x1b5080=_0x44b791(_0x3811e7(0x3e2,_0x38ee6d._0x51e8a9,_0x38ee6d._0x3196f1,_0x38ee6d._0x455901))['attr'](_0x3811e7(-0x13f,0xd9,0x2be,0x26e))||_0x44b791(_0x329dce(_0x38ee6d._0x5f0d80,0x44c,0x3d5,0x5e0))[_0x329dce(_0x38ee6d._0x34679b,0x1e0,0x97,-0x78)](_0x3811e7(-0x6e,_0x38ee6d._0x2cab93,_0x38ee6d._0x3544b5,_0x38ee6d._0x234ac1))||_0x54f1c6[_0x3811e7(0x1a8,_0x38ee6d._0x784772,0x45b,0x382)],_0x4855f6=_0x44b791(_0x329dce(-_0x38ee6d._0x567fbc,-_0x38ee6d._0x252298,_0x38ee6d._0x346428,0x25))[_0x3811e7(0x395,_0x38ee6d._0x55bf1f,0xb8,0x14b)](_0x329dce(0x1f0,_0x38ee6d._0x43700c,0x2e7,0x3b7));return{..._0x54f1c6,'title':_0x47ba11||_0x54f1c6[_0x3811e7(_0x38ee6d._0x363a23,0x10a,_0x38ee6d._0x3fc70b,-0x86)],'snippet':_0x50d3eb,'url':_0x4855f6?normalizeUrl(new URL(_0x4855f6,_0x54f1c6[_0x3811e7(_0x38ee6d._0x486d76,_0x38ee6d._0xab2cd,_0x38ee6d._0x26eca2,0x4d2)])[_0x3811e7(0x507,_0x38ee6d._0xb1f814,0x253,0x4c9)]()):_0x54f1c6[_0x329dce(_0x38ee6d._0x44aa96,0x2ef,0x276,_0x38ee6d._0x1a630a)],'publishedAt':_0x1b5080};}catch{return _0x54f1c6;}}));function _0x547a5e(_0x34a88e,_0x23f74e,_0x2fe374,_0x16c8ec){return _0x4d75fe(_0x34a88e-0x122,_0x16c8ec,_0x2fe374- -0x2a6,_0x16c8ec-_0x2f37d3._0xa77b5);}const _0x1c3b90=new Map(_0x42542d[_0x11f62a(_0x4c5a9a._0x399f40,_0x4c5a9a._0x5ca33f,_0x4c5a9a._0x10a659,_0x4c5a9a._0x4e74d1)](0x0,0xa)[_0x11f62a(_0x4c5a9a._0x360fd9,_0x4c5a9a._0x101605,0x1af,_0x4c5a9a._0x47cbe4)]((_0x50dc9a,_0x301834)=>[_0x50dc9a['url'],_0x50d9a7[_0x301834]]));function _0x11f62a(_0x567622,_0x229a2e,_0x3c940c,_0x46f5bb){return _0x3145c3(_0x567622-0x1b7,_0x229a2e- -_0x13cf5a._0x573978,_0x3c940c-_0x13cf5a._0x4a77e8,_0x3c940c);}return _0x42542d[_0x11f62a(0x268,0x287,0x433,_0x4c5a9a._0x23ed8d)](_0x27f5a8=>_0x1c3b90[_0x11f62a(0x2d0,0x2f0,0x462,0x1f9)](_0x27f5a8[_0x547a5e(0x2d2,0x25e,0x1a9,0x1e4)])??_0x27f5a8);}function formatResults(_0x2990a7){const _0x4aadd6={_0x24a3e3:0x78b,_0x34dc99:0x6fe,_0x59e2b1:0x14,_0x4849e7:0xf6,_0x557ec5:0x102,_0x5c1b76:0x39e,_0x1734b0:0x352,_0x33d2c8:0x13,_0x4d7a08:0xfc},_0x4f21ac={_0x29be0f:0x5eb,_0x5729dc:0x62a,_0x3f7bea:0x607,_0x5a922d:0x2b0,_0x371223:0xa9,_0x1f288e:0x55c,_0xc52533:0x74d,_0x5820d4:0x586,_0x27c273:0x2fe,_0x26d985:0x348,_0x3e277e:0x6ab,_0x79f6e4:0x60b,_0x1670a7:0x43f,_0x2eab83:0x5e6,_0x4b6a56:0x80a,_0x52062f:0x7ab,_0x158998:0x1ea,_0x598f22:0x1ae,_0x2cd1c8:0x297},_0x46f237={_0xfd7e74:0x196,_0x2ff20e:0x2aa,_0x391bd4:0x118},_0x217ae7={_0x3002b2:0x3},_0x3a727a={_0x33911c:0xbe};if(_0x2990a7[_0x6ddc04(_0x4aadd6._0x24a3e3,0x51a,0x4e6,_0x4aadd6._0x34dc99)]===0x0)return _0x301c65(-_0x4aadd6._0x59e2b1,_0x4aadd6._0x4849e7,-0x52,_0x4aadd6._0x557ec5);function _0x6ddc04(_0xd1dbf3,_0x2eca01,_0x119403,_0xd0d68f){return _0x3145c3(_0xd1dbf3-_0x3a727a._0x33911c,_0xd0d68f-0xde,_0x119403-0x1aa,_0xd1dbf3);}function _0x301c65(_0x4ef8a1,_0xd35c10,_0x3160c0,_0x1c9f3f){return _0x4d75fe(_0x4ef8a1-0x18f,_0xd35c10,_0x3160c0- -0x308,_0x1c9f3f-_0x217ae7._0x3002b2);}return _0x2990a7[_0x301c65(_0x4aadd6._0x5c1b76,_0x4aadd6._0x1734b0,0x226,0x2bd)](_0x56fe25=>{const _0x466759={_0x3fa960:0x6f,_0x436819:0x56d};function _0x392ba5(_0x483e49,_0x18bcf4,_0x56ca5f,_0x46b6f2){return _0x301c65(_0x483e49-_0x46f237._0xfd7e74,_0x18bcf4,_0x46b6f2-_0x46f237._0x2ff20e,_0x46b6f2-_0x46f237._0x391bd4);}const _0x2b5bae=[_0x56fe25['source'][_0x59d8dd(_0x4f21ac._0x29be0f,0x4fa,_0x4f21ac._0x5729dc,_0x4f21ac._0x3f7bea)]+'.\x20'+_0x56fe25[_0x392ba5(0x322,_0x4f21ac._0x5a922d,_0x4f21ac._0x371223,0x180)],_0x56fe25[_0x59d8dd(_0x4f21ac._0x1f288e,0x6b4,0x894,0x6f2)]];if(_0x56fe25[_0x392ba5(_0x4f21ac._0xc52533,0x38b,0x4d9,_0x4f21ac._0x5820d4)])_0x2b5bae[_0x392ba5(_0x4f21ac._0x27c273,0x1cc,0x338,_0x4f21ac._0x26d985)](_0x56fe25['snippet']);if(_0x56fe25['publishedAt'])_0x2b5bae[_0x59d8dd(_0x4f21ac._0x3e277e,_0x4f21ac._0x79f6e4,0x65d,_0x4f21ac._0x1670a7)](_0x59d8dd(0x4cb,_0x4f21ac._0x2eab83,_0x4f21ac._0x4b6a56,_0x4f21ac._0x52062f)+_0x56fe25['publishedAt']);function _0x59d8dd(_0x364f08,_0x1120fb,_0x38b71c,_0x6c7005){return _0x301c65(_0x364f08-_0x466759._0x3fa960,_0x364f08,_0x1120fb-_0x466759._0x436819,_0x6c7005-0x18b);}return _0x2b5bae[_0x392ba5(_0x4f21ac._0x158998,0x2c3,_0x4f21ac._0x598f22,_0x4f21ac._0x2cd1c8)]('\x0a');})[_0x301c65(0x1da,-0x218,-_0x4aadd6._0x33d2c8,-_0x4aadd6._0x4d7a08)]('\x0a\x0a');}async function searchOllama(_0x52f850,_0x579556,_0x49a770){const _0x2f7e59={_0x4e84c4:0x5fb,_0x1da455:0x44f,_0x2906ec:0x5f4,_0x6909e9:0xc4,_0x298af2:0xe6,_0x31d126:0xf1,_0x33da4b:0x94,_0x34a380:0x8fc,_0x3b54f5:0x1d1,_0x121643:0x853,_0x23a213:0x9fc,_0x2438ae:0x87d,_0x2d38b1:0x52c},_0x1a0a70={_0x2c990d:0xb8,_0x3e0fa3:0x27},_0x354b6e={_0x19c1bd:0x718,_0xf4a599:0x48b,_0x582e49:0x6ad,_0x5468ce:0x19e,_0x18f240:0x466,_0x115c4a:0xd4,_0x9fc34b:0x6,_0x5956be:0x111,_0x2096cd:0x99,_0x7ac8e9:0x1a1,_0x52349b:0x34e,_0x4b1a1f:0x397},_0x3cbee0={_0x129f50:0x53},_0x192c33={_0x23aefa:0x23},_0x569d6a=Math[_0x1be951(0x575,0x443,_0x2f7e59._0x4e84c4,_0x2f7e59._0x1da455)](0x1,Math[_0x1be951(0x596,_0x2f7e59._0x2906ec,0x437,0x5fa)](0xa,_0x579556['count'])),_0xe1d91c=addSiteFilters(_0x579556[_0x303577(_0x2f7e59._0x6909e9,-0xfd,-0xec,-0x2d3)],_0x579556['domains']);function _0x1be951(_0x5748e9,_0x46c5e1,_0x456bf0,_0x416de6){return _0x4d75fe(_0x5748e9-0x7e,_0x416de6,_0x5748e9-0x325,_0x416de6-_0x192c33._0x23aefa);}const _0x2390c9=await fetchJson(_0x303577(-_0x2f7e59._0x298af2,-0x28,-0x16f,_0x2f7e59._0x31d126),_0x49a770,{'method':'POST','headers':{'Authorization':_0x303577(-_0x2f7e59._0x33da4b,-0x152,0xc8,0x15)+_0x52f850['apiKey']},'body':JSON[_0x1be951(0x851,0xa16,_0x2f7e59._0x34a380,0x7ef)]({'query':_0xe1d91c,'max_results':_0x569d6a})}),_0x60c78=_0x2390c9[_0x303577(-_0x2f7e59._0x3b54f5,-0x77,0x54,0x9)]??[],_0x72f189=_0x60c78[_0x1be951(_0x2f7e59._0x121643,0x67a,_0x2f7e59._0x23a213,_0x2f7e59._0x2438ae)]((_0x5be4a8,_0x597272)=>{const _0xa66414={_0x36653f:0x73},_0x2967c0=_0x5be4a8[_0x36a898(_0x354b6e._0x19c1bd,_0x354b6e._0xf4a599,_0x354b6e._0x582e49,0x6b0)]||'';function _0x36a898(_0x3ca8e9,_0x3b3561,_0x39a1a2,_0x26daaa){return _0x1be951(_0x26daaa- -0xc4,_0x3b3561-0x76,_0x39a1a2-_0xa66414._0x36653f,_0x3ca8e9);}let _0x222215;function _0x59e6e(_0x396b6f,_0xbe993f,_0x26b004,_0x533d78){return _0x1be951(_0xbe993f- -0x509,_0xbe993f-0xc8,_0x26b004-_0x3cbee0._0x129f50,_0x26b004);}try{_0x222215=new URL(_0x2967c0)[_0x59e6e(_0x354b6e._0x5468ce,0x391,_0x354b6e._0x18f240,0x57c)];}catch{_0x222215=null;}return{'title':_0x5be4a8[_0x59e6e(-_0x354b6e._0x115c4a,-_0x354b6e._0x9fc34b,0xd,_0x354b6e._0x5956be)]||_0x59e6e(0x1dc,-0x3c,-0x1cc,0x100),'url':normalizeUrl(_0x2967c0),'snippet':_0x5be4a8[_0x59e6e(-0x178,-0x37,-_0x354b6e._0x2096cd,0x106)]??null,'displayUrl':_0x222215,'favicon':null,'publishedAt':null,'source':{'engine':_0x59e6e(0x57,_0x354b6e._0x7ac8e9,_0x354b6e._0x52349b,_0x354b6e._0x4b1a1f),'rank':_0x597272+0x1}};});function _0x303577(_0x4ae08c,_0x4b41b1,_0x3afcd6,_0x263143){return _0x3145c3(_0x4ae08c-_0x1a0a70._0x2c990d,_0x4b41b1- -0x63e,_0x3afcd6-_0x1a0a70._0x3e0fa3,_0x4ae08c);}return{'items':_0x72f189['slice'](0x0,_0x569d6a),'engine':_0x1be951(0x6aa,0x840,_0x2f7e59._0x2d38b1,0x530)};}function _0x3145c3(_0x37bd89,_0x28c2f4,_0x48fa94,_0x549d78){const _0x3ac31b={_0x470e6f:0x2b6};return _0x2a9a(_0x28c2f4-_0x3ac31b._0x470e6f,_0x549d78);}async function searchTavily(_0x5017b2,_0x1fda96,_0x36e623){const _0x4e6d7c={_0x508466:0x4a4,_0x3e4c25:0x47b,_0x175dd1:0x61c,_0x5b2dd9:0xa9c,_0x5d4635:0x559,_0x3c049e:0x79d,_0x179955:0xb1b,_0xfa7ce1:0x8cd,_0x1ec27b:0x874,_0x54d30d:0x7fa,_0x521fbc:0x9f8,_0xb82df1:0x92c,_0x33abee:0xa5f,_0x2148cf:0x756,_0x200fe5:0x888,_0x3d8cc3:0x740,_0x3982e7:0x76e,_0x444620:0x54b,_0x15c713:0x5b6,_0x351adb:0xb76,_0x50e3d8:0x8b5,_0x15d634:0x920,_0x5aeca6:0x786,_0x3d51a6:0x53f,_0x55352c:0x364,_0x4c16fa:0x525,_0x5c99be:0x67f,_0x59098a:0x884,_0xbf88c4:0x64c,_0x414aef:0x9b7,_0x5f0e90:0x833},_0x38b193={_0x5243b2:0x3d6,_0x5558bb:0x352,_0x2d217c:0x4fc,_0x14ccea:0x134,_0x54a2c0:0x1db,_0x505f34:0x2a6,_0x104f44:0x52a,_0x465032:0x40c,_0x3c1bde:0x469,_0x2d48aa:0x44c},_0x4aa3a2={_0x5b0670:0xcd,_0x7e27c6:0xc4},_0x1f6905={_0x5438c1:0x39},_0x28e10c=Math[_0x1a2b4f(0x606,0x5fb,_0x4e6d7c._0x508466,0x7ad)](0x1,Math[_0x1a2b4f(_0x4e6d7c._0x3e4c25,_0x4e6d7c._0x175dd1,0x80e,0x45c)](0x14,_0x1fda96[_0x1a2b4f(0x75e,0x8e8,0xa44,_0x4e6d7c._0x5b2dd9)])),_0x49f9a0={'query':_0x1fda96[_0x16fdb3(_0x4e6d7c._0x5d4635,0x57a,_0x4e6d7c._0x3c049e,0x493)],'max_results':_0x28e10c,'search_depth':_0x5017b2[_0x16fdb3(_0x4e6d7c._0x179955,0x91f,0x712,0x886)]??_0x16fdb3(_0x4e6d7c._0xfa7ce1,_0x4e6d7c._0x1ec27b,0xa70,_0x4e6d7c._0x54d30d),'topic':_0x5017b2[_0x1a2b4f(_0x4e6d7c._0x521fbc,_0x4e6d7c._0xb82df1,_0x4e6d7c._0x33abee,_0x4e6d7c._0x2148cf)]??_0x16fdb3(_0x4e6d7c._0x200fe5,_0x4e6d7c._0x3d8cc3,0x93b,_0x4e6d7c._0x3982e7)};if(_0x1fda96['domains'][_0x16fdb3(0x437,0x659,0x636,0x6dc)]>0x0)_0x49f9a0[_0x16fdb3(_0x4e6d7c._0x444620,0x701,_0x4e6d7c._0x15c713,0x7dd)]=_0x1fda96[_0x1a2b4f(0x818,0x96c,_0x4e6d7c._0x351adb,0x8aa)];const _0x14cba3=await fetchJson(_0x16fdb3(_0x4e6d7c._0x50e3d8,_0x4e6d7c._0x15d634,0x87c,_0x4e6d7c._0x5aeca6),_0x36e623,{'method':_0x16fdb3(0x51c,_0x4e6d7c._0x3d51a6,0x48d,0x6fe),'headers':{'Authorization':_0x16fdb3(_0x4e6d7c._0x55352c,_0x4e6d7c._0x4c16fa,0x342,0x68a)+_0x5017b2['tavilyApiKey'],'Content-Type':_0x16fdb3(0x51b,_0x4e6d7c._0x5c99be,_0x4e6d7c._0x59098a,_0x4e6d7c._0xbf88c4)},'body':JSON[_0x1a2b4f(_0x4e6d7c._0x414aef,0x8d7,0x86c,0x705)](_0x49f9a0)});function _0x16fdb3(_0xe8dc33,_0x22ba95,_0x120041,_0x52007a){return _0x3145c3(_0xe8dc33-0x1f1,_0x22ba95-_0x1f6905._0x5438c1,_0x120041-0x103,_0x52007a);}function _0x1a2b4f(_0x57eaa0,_0xab3fd1,_0x1a7175,_0x3e7eda){return _0x4d75fe(_0x57eaa0-_0x4aa3a2._0x5b0670,_0x3e7eda,_0xab3fd1-0x3ab,_0x3e7eda-_0x4aa3a2._0x7e27c6);}const _0x4c1e8c=_0x14cba3[_0x1a2b4f(0x46a,0x66d,_0x4e6d7c._0x5f0e90,0x7f5)]??[],_0x58ad1e=_0x4c1e8c['map']((_0x224354,_0x5efcfb)=>{const _0x18640c={_0x4a1ee0:0x424},_0x57ec66={_0x4df808:0x1ec,_0x206536:0x3e},_0x799eff=_0x224354[_0x47badd(_0x38b193._0x5243b2,_0x38b193._0x5558bb,0x4a8,0x204)]||'';function _0x70d7e6(_0x3b6467,_0x4b2afd,_0x3f5168,_0xdb3db6){return _0x1a2b4f(_0x3b6467-_0x57ec66._0x4df808,_0x4b2afd- -0x184,_0x3f5168-_0x57ec66._0x206536,_0x3f5168);}let _0xeaa85d;try{_0xeaa85d=new URL(_0x799eff)[_0x47badd(_0x38b193._0x2d217c,0x455,0x344,0x44b)];}catch{_0xeaa85d=null;}function _0x47badd(_0x43387b,_0x588b43,_0x195408,_0xd8fe67){return _0x1a2b4f(_0x43387b-0xed,_0x43387b- -_0x18640c._0x4a1ee0,_0x195408-0x19e,_0x195408);}return{'title':_0x224354['title']||'Untitled','url':normalizeUrl(_0x799eff),'snippet':_0x224354[_0x47badd(_0x38b193._0x14ccea,_0x38b193._0x54a2c0,_0x38b193._0x505f34,0x275)]??null,'displayUrl':_0xeaa85d,'favicon':null,'publishedAt':null,'source':{'engine':_0x70d7e6(_0x38b193._0x104f44,_0x38b193._0x465032,_0x38b193._0x3c1bde,_0x38b193._0x2d48aa),'rank':_0x5efcfb+0x1}};});return{'items':_0x58ad1e['slice'](0x0,_0x28e10c),'engine':'tavily'};}async function searchGoogleCse(_0x2201f0,_0x385ca5,_0x43e703){const _0x2531c2={_0x5bbf41:0xfa,_0x5d7fb3:0x24a,_0x2bebfa:0x4eb,_0x2c95a4:0x36a,_0x15978e:0x3e7,_0x393f1a:0x218,_0x1ce8bd:0x1d7,_0x3667ec:0xd7,_0x5715fe:0x340,_0x52bd7b:0xfc,_0x3a3b07:0x236,_0x46ed97:0x200,_0x145abc:0x314,_0x2bced0:0x288,_0x5106f7:0x5ab,_0x1de6a8:0x2df,_0x96f16d:0x588,_0x86c0b6:0x3ed,_0x511fde:0x113,_0x5ef366:0x1af,_0x37b906:0x650,_0x1020b1:0x32c,_0x58b009:0xe5,_0x3bd3c8:0x3a3,_0x2df914:0x395,_0x5c37b4:0x350,_0xac7d7f:0x309,_0x17b7f8:0x4e2,_0x11ecc0:0x345,_0x4fbcec:0x345,_0xb7050a:0x1a4,_0x331fd3:0x42d,_0x505824:0x16f,_0x5826b4:0xe6,_0x4e19b5:0x299,_0x28b061:0x520,_0x196e43:0x152,_0x51bbf2:0x38,_0x787ebb:0x130,_0x402d50:0x26d,_0x5e1266:0x215,_0x1e5c8c:0x523,_0x4d1145:0x3ef,_0x20d299:0x20e,_0x945034:0x18d,_0x231b37:0x27e,_0x27ca15:0x149,_0x4e7861:0x36f,_0x237d41:0x32c,_0x49e053:0x330,_0x5f4b25:0x2f2,_0x51599d:0x4f3,_0x1524eb:0xc0,_0x3f4398:0x25a,_0x223614:0x569,_0xbf59b8:0x479,_0x1b40b1:0xd5,_0x1ff6ff:0x177,_0x157ffa:0x131,_0x3700d5:0x286,_0x3618e8:0x2b7,_0x103c80:0x314,_0x5e4f18:0x51c,_0x427e73:0x3dd,_0x2147a4:0x82,_0x5322d8:0x35a,_0x1a1d7a:0x118,_0x33ac56:0x2af,_0x4f4323:0x479,_0x3ea954:0x2c5,_0x75bb79:0x339,_0x3823e3:0x2d5,_0x2305c2:0x389,_0x21e4bc:0x1a4,_0x42e55e:0x26b,_0x15edf3:0x310,_0x342351:0x32b,_0x5ca0c1:0x5e1,_0x402570:0x3dd,_0x40771c:0xbe,_0x1ef0d2:0xca,_0x3808fc:0xdd,_0x5b8c0b:0x1a,_0x50f02c:0x479,_0x182129:0xa5,_0x1be33a:0x5a,_0x39a16b:0x1c2,_0x1c3adc:0x178,_0x56f527:0x1b6,_0x4346fc:0x35c,_0x12d791:0x8f,_0x1f16c0:0x8e,_0x546877:0x2a,_0x40563f:0x3c,_0x23df1f:0xa3,_0x259b08:0x1e,_0x5303fa:0x24,_0x520aad:0x7f,_0x23a849:0x285,_0x50c1c1:0x1b9,_0x52be19:0xf7,_0x1dd51f:0x69,_0x10c7e7:0x7e,_0x6b176d:0x30f,_0x3ef5e1:0x50,_0x1ebceb:0x469,_0x377ec0:0x241,_0xf1f4fb:0x317,_0x2b4374:0x3cf,_0x5690dc:0x4d,_0x54fe63:0x325,_0x992a59:0x1f8,_0x15b599:0xd1,_0x11adc2:0xa2,_0x2db308:0x29,_0x3d62cb:0x2c6,_0xa7e62b:0x1ed,_0x52071e:0x1da,_0xfb7251:0x1b6,_0x1df107:0xda,_0x2196f8:0x3b5,_0x2dc208:0x1b6,_0x444445:0x5b},_0x48f842={_0x3b4268:0x5da},_0x35d11e={_0x255940:0x87,_0x210cf5:0x46a},_0x476b92=Math[_0x4e810a(-0x2e,_0x2531c2._0x5bbf41,0xeb,-0x53)](0x1,Math['min'](0x32,_0x385ca5['count']));if(_0x385ca5['offset']+_0x476b92>0x64)throw new ToolExecutionError(_0x5982cc(_0x2531c2._0x5d7fb3,0x2db,_0x2531c2._0x2bebfa,_0x2531c2._0x2c95a4),{'offset':_0x385ca5[_0x4e810a(_0x2531c2._0x15978e,_0x2531c2._0x393f1a,_0x2531c2._0x1ce8bd,0x12e)],'count':_0x476b92,'maxResults':0x64});const _0x3e1e4e=cseDateRestrict(_0x385ca5['recencyDays']);function _0x4e810a(_0x37025f,_0x65fca1,_0x3abd89,_0x9e46f4){return _0x3145c3(_0x37025f-_0x35d11e._0x255940,_0x3abd89- -_0x35d11e._0x210cf5,_0x3abd89-0x4a,_0x65fca1);}const _0xcd3954=addSiteFilters(_0x385ca5[_0x4e810a(0x88,0x2be,_0x2531c2._0x3667ec,-0xad)],_0x385ca5[_0x5982cc(0x2ee,0x2ec,_0x2531c2._0x5715fe,0x103)]);let _0x5de0b0=0x0,_0x1cbae1=_0x385ca5[_0x5982cc(0xcc,0x67,0x16a,0x27d)]+0x1;const _0x4492c3=[];while(_0x5de0b0<_0x476b92){const _0x413ca0=Math[_0x4e810a(0x1df,-_0x2531c2._0x52bd7b,0x10c,_0x2531c2._0x3a3b07)](0xa,_0x476b92-_0x5de0b0),_0x95de97=new URL(_0x5982cc(_0x2531c2._0x46ed97,0x139,-0x18,0x262));_0x95de97[_0x4e810a(0x1b2,0x15e,_0x2531c2._0x145abc,_0x2531c2._0x2bced0)][_0x4e810a(0x593,_0x2531c2._0x5106f7,0x479,_0x2531c2._0x1de6a8)](_0x4e810a(0x439,_0x2531c2._0x96f16d,0x403,_0x2531c2._0x86c0b6),_0x2201f0[_0x5982cc(_0x2531c2._0x511fde,-0xff,-_0x2531c2._0x5ef366,0x10c)]),_0x95de97['searchParams'][_0x4e810a(0x658,_0x2531c2._0x37b906,0x479,_0x2531c2._0x1020b1)]('cx',_0x2201f0[_0x4e810a(-0x68,0x20f,0x85,_0x2531c2._0x58b009)]),_0x95de97[_0x5982cc(_0x2531c2._0x3bd3c8,0x1a4,_0x2531c2._0x2df914,0x3a4)]['set']('q',_0xcd3954),_0x95de97['searchParams'][_0x5982cc(_0x2531c2._0x5c37b4,_0x2531c2._0xac7d7f,_0x2531c2._0x17b7f8,0x116)](_0x4e810a(0x2ae,_0x2531c2._0x11ecc0,_0x2531c2._0x4fbcec,0x3ce),String(_0x413ca0)),_0x95de97[_0x5982cc(0x2bb,_0x2531c2._0xb7050a,0xde,-0x3)][_0x5982cc(0x2f4,_0x2531c2._0xac7d7f,_0x2531c2._0x331fd3,0x3a2)]('start',String(_0x1cbae1)),_0x95de97[_0x5982cc(_0x2531c2._0x505824,0x1a4,_0x2531c2._0x5826b4,_0x2531c2._0x4e19b5)][_0x5982cc(_0x2531c2._0x28b061,_0x2531c2._0xac7d7f,_0x2531c2._0x196e43,0x107)](_0x5982cc(_0x2531c2._0x51bbf2,0x10f,_0x2531c2._0x787ebb,0x182),_0x385ca5[_0x5982cc(0x2a1,0x10f,_0x2531c2._0x402d50,_0x2531c2._0x5e1266)]?_0x4e810a(_0x2531c2._0x1e5c8c,0x331,_0x2531c2._0x4d1145,0x571):_0x5982cc(0x34e,0x2a3,0x34a,_0x2531c2._0x20d299));_0x385ca5[_0x4e810a(_0x2531c2._0x945034,_0x2531c2._0x231b37,0x245,_0x2531c2._0x27ca15)]&&(_0x95de97[_0x5982cc(0x26f,0x1a4,_0x2531c2._0x4e7861,_0x2531c2._0x237d41)][_0x5982cc(_0x2531c2._0x49e053,0x309,_0x2531c2._0x5f4b25,_0x2531c2._0x51599d)]('hl',_0x385ca5[_0x4e810a(_0x2531c2._0x1524eb,_0x2531c2._0x3f4398,0x245,0x413)]),_0x95de97['searchParams'][_0x4e810a(0x3fc,_0x2531c2._0x223614,_0x2531c2._0xbf59b8,0x671)]('lr',_0x4e810a(0x4a,0x216,0x111,-0xb6)+_0x385ca5[_0x5982cc(0x25e,_0x2531c2._0x1b40b1,_0x2531c2._0x1ff6ff,_0x2531c2._0x157ffa)]));if(_0x385ca5[_0x5982cc(0x162,_0x2531c2._0x3700d5,0x82,0x438)])_0x95de97[_0x4e810a(0x374,_0x2531c2._0x3618e8,_0x2531c2._0x103c80,_0x2531c2._0x5e4f18)][_0x4e810a(0x5b8,0x5f8,0x479,_0x2531c2._0x427e73)]('gl',_0x385ca5[_0x5982cc(0x162,_0x2531c2._0x3700d5,_0x2531c2._0x2147a4,_0x2531c2._0x5322d8)][_0x5982cc(_0x2531c2._0x1a1d7a,0x28e,_0x2531c2._0x33ac56,0x23e)]());if(_0x385ca5[_0x4e810a(_0x2531c2._0x4f4323,0x35c,_0x2531c2._0x3ea954,_0x2531c2._0x75bb79)]===_0x4e810a(_0x2531c2._0x3823e3,_0x2531c2._0x2305c2,0x1f3,0x290))_0x95de97[_0x5982cc(0x1ec,_0x2531c2._0x21e4bc,_0x2531c2._0x42e55e,_0x2531c2._0x15edf3)][_0x4e810a(_0x2531c2._0x342351,_0x2531c2._0x5ca0c1,0x479,_0x2531c2._0x402570)](_0x4e810a(-_0x2531c2._0x40771c,_0x2531c2._0x1ef0d2,_0x2531c2._0x3808fc,-_0x2531c2._0x5b8c0b),'image');if(_0x3e1e4e)_0x95de97['searchParams'][_0x4e810a(0x525,0x5cc,_0x2531c2._0x50f02c,0x3f9)]('dateRestrict',_0x3e1e4e);const _0x1374e0=await fetchJson(_0x95de97[_0x5982cc(-_0x2531c2._0x182129,0x180,0xad,0x236)](),_0x43e703),_0x37b074=_0x1374e0[_0x5982cc(-_0x2531c2._0x1be33a,_0x2531c2._0x39a16b,0x174,0x3e)]??[];if(_0x37b074[_0x5982cc(-0x130,0x46,0xcf,_0x2531c2._0x1c3adc)]===0x0)break;const _0x331369=_0x5de0b0;for(let _0x25b914=0x0;_0x25b914<_0x37b074[_0x4e810a(-0x19,0x37e,_0x2531c2._0x56f527,_0x2531c2._0x4346fc)];_0x25b914++){const _0x54b651=_0x37b074[_0x25b914];if(!_0x54b651)continue;const _0x18b2a1=_0x54b651['link']||_0x54b651[_0x5982cc(_0x2531c2._0x12d791,0x7f,-0x123,_0x2531c2._0x1f16c0)]?.[_0x5982cc(_0x2531c2._0x546877,0x205,_0x2531c2._0x40563f,0x381)]||'',_0x1b43e6=_0x54b651[_0x4e810a(0x1cd,_0x2531c2._0x23df1f,0x79,-_0x2531c2._0x259b08)]||_0x54b651[_0x5982cc(_0x2531c2._0x5303fa,_0x2531c2._0x520aad,0x1fd,_0x2531c2._0x23a849)]?.[_0x5982cc(-_0x2531c2._0x50c1c1,-_0x2531c2._0x52be19,-0x108,-_0x2531c2._0x1dd51f)]||_0x5982cc(-0x37,-0x12d,-0x267,_0x2531c2._0x10c7e7),_0x320040=_0x54b651[_0x5982cc(0x4bf,_0x2531c2._0x6b176d,0x491,0x19c)]||_0x54b651[_0x5982cc(_0x2531c2._0x3ef5e1,-0x12a,-0x32c,-0x22f)]?.['replace'](/<[^>]+>/g,''),_0x2039f8=_0x54b651[_0x4e810a(_0x2531c2._0x1ebceb,_0x2531c2._0x377ec0,_0x2531c2._0xf1f4fb,_0x2531c2._0x2b4374)]?.[_0x4e810a(0x3c7,_0x2531c2._0x5690dc,0x1c7,_0x2531c2._0x54fe63)]?.[0x0]??{};let _0x6bfde6;try{_0x6bfde6=new URL(_0x18b2a1)['host'];}catch{_0x6bfde6=null;}_0x4492c3[_0x5982cc(_0x2531c2._0x992a59,_0x2531c2._0x15b599,0x22a,_0x2531c2._0x11adc2)]({'title':_0x1b43e6,'url':normalizeUrl(_0x18b2a1),'snippet':_0x320040??null,'displayUrl':_0x6bfde6,'favicon':null,'publishedAt':_0x2039f8[_0x5982cc(_0x2531c2._0x2db308,-0x104,-0x16c,-0x27)]||_0x2039f8['og:updated_time']||null,'source':{'engine':_0x5982cc(0x3bd,_0x2531c2._0x3d62cb,_0x2531c2._0xa7e62b,0x422),'rank':_0x331369+_0x25b914+0x1}});}_0x5de0b0+=_0x37b074[_0x4e810a(0x334,_0x2531c2._0x52071e,_0x2531c2._0xfb7251,0x12)],_0x1cbae1+=_0x37b074['length'];if(_0x37b074[_0x4e810a(_0x2531c2._0x1df107,_0x2531c2._0x2196f8,_0x2531c2._0x2dc208,_0x2531c2._0x444445)]<_0x413ca0)break;}function _0x5982cc(_0x523bb8,_0x26452f,_0x470d50,_0x41082b){return _0x3145c3(_0x523bb8-0xba,_0x26452f- -_0x48f842._0x3b4268,_0x470d50-0xa4,_0x523bb8);}return _0x4492c3['slice'](0x0,_0x476b92);}function isGoogleCseEngine(_0xa40c8){const _0x415805={_0x5c337f:0x177},_0x311264={_0x5822ce:0x1c9};function _0x567f8f(_0x5bfcf9,_0x22c35f,_0x86be02,_0x2d7104){return _0x3145c3(_0x5bfcf9-_0x311264._0x5822ce,_0x5bfcf9- -0x5cf,_0x86be02-0x144,_0x2d7104);}return _0x567f8f(-0xf4,-0x99,-0x227,-_0x415805._0x5c337f)in _0xa40c8;}function isOllamaEngine(_0x281616){const _0x54771b={_0x81822c:0xe0,_0x583b32:0x23c},_0x1618e0={_0x110137:0x190,_0x22d9c4:0x463,_0x2d8153:0x58};function _0x1744f6(_0x3bffbc,_0x50bf93,_0x573e23,_0x5f4f90){return _0x3145c3(_0x3bffbc-_0x1618e0._0x110137,_0x5f4f90- -_0x1618e0._0x22d9c4,_0x573e23-_0x1618e0._0x2d8153,_0x3bffbc);}return _0x1744f6(0x26a,_0x54771b._0x81822c,0xbf,_0x54771b._0x583b32)in _0x281616;}function isTavilyEngine(_0xdbec17){return'tavilyApiKey'in _0xdbec17;}function createWebSearchTool(_0x1f2f8d){const _0x202222={_0x363274:0x515,_0x5a8780:0x1f8,_0x1ee829:0x420,_0x249b88:0x738,_0x323357:0x4de,_0x232941:0x6a4,_0x2bbe7b:0x1a1,_0x8a4110:0xea,_0x3955f7:0xf7,_0xf7124c:0x333,_0x1c59c1:0x2e7,_0x7e105a:0x3a8,_0x1fe0a7:0x8c2,_0x1cb3c8:0x4f0,_0x338827:0x3ba,_0x54f0c6:0x6ad,_0x558702:0x5c1,_0x5c539c:0x67f,_0xb487a:0x75d,_0x1a67fe:0x69b,_0x91276b:0x688,_0x65f7f7:0x245,_0x3382cb:0x1a9,_0x4bebb1:0x146},_0x1baf45={_0x118e22:0x601,_0x1e614c:0x2d6,_0x21e988:0x6fd,_0x2f98c9:0x78a,_0x2beb91:0x6d4,_0x235f03:0x78e,_0x4f9d4c:0x61d,_0x1fd632:0x788,_0xcc6804:0x7a5,_0xa2999b:0x418,_0x57e241:0x2ab,_0x12b932:0x4ef,_0x2cde65:0x2dc,_0x5ee303:0x51b,_0x1604b6:0x3b6,_0x4c53e1:0x3f7,_0x1c46ca:0x3c5,_0x10456b:0x528,_0x2edc55:0x357,_0x5c7720:0x5c7,_0x46048b:0x2f1,_0x139ff9:0x4cc,_0x2ffdc0:0x61d,_0x94920b:0x5b0,_0x8da0fd:0x741,_0x59b8ae:0x687,_0x6f9629:0x679,_0xe38ed8:0x7c4,_0x53bc53:0x7d9,_0x492d43:0x89a,_0x4c6f3b:0x856,_0x3c6277:0x69e,_0x194077:0x7a5,_0x318022:0x7a3,_0x1d06bb:0x425,_0x465b5a:0x467,_0x4dc82c:0xaaf,_0x4bb250:0x86b,_0x357a8b:0x646,_0x52da7b:0x857,_0x5a9f3d:0x6f5,_0x5a892a:0xa78,_0x14ed39:0x75d,_0x193fab:0x7ea,_0x5b19a3:0x864,_0x3b4529:0x98a,_0x1925cd:0x3af,_0x490eba:0x5d3,_0x12d668:0x3cc,_0x4240e9:0x6e8,_0x40a632:0x79c,_0x465c45:0x392,_0x5ccbcb:0x38f,_0x209b46:0x205,_0x54fdb3:0x473,_0x4a968f:0x5b8,_0x41d935:0x65a,_0x4efd2f:0x7c9,_0x4237a9:0x588,_0x8aefb5:0x76f,_0x2a5a21:0x8e8,_0x424eed:0x714,_0x4f269b:0x80d,_0xb82e72:0x7b8,_0x4e12dc:0x6bb,_0x6e6ea2:0x8e0,_0x4ebf4a:0x777,_0x22e3bd:0x6e4,_0x28e2ff:0x8cc,_0x49b0f4:0x915,_0x29d5cc:0x81e,_0x17b858:0xa92,_0x3faf14:0x7fa,_0xa51151:0x768,_0x2cf4a3:0x97f,_0x45bcc1:0x7cd,_0xa977a6:0x679,_0x301c2e:0x67c,_0x30322c:0x800,_0x5d1513:0x5f3,_0x4e5119:0x34a,_0x5c0b3c:0x682,_0x1fdab2:0x6ae,_0x44f85d:0x737,_0x318712:0x551,_0x1e1d43:0x702,_0x46d490:0x766,_0x43ab97:0x702,_0x22deef:0x877,_0x23d6fe:0x8c2,_0x6a96c6:0x833,_0x2ffc2b:0xa8d,_0xc764f5:0x72f,_0x1fdeb7:0x6e8,_0x55ef98:0x8c1,_0x3356ac:0x609,_0x68e88e:0x3f2,_0x2e2059:0x4cf,_0x32079d:0x8a1,_0x2c77ac:0xaae,_0x56a052:0x995,_0x258822:0x581,_0x4c298e:0x641,_0x30488c:0x4e3,_0x33503b:0x39e,_0xd26653:0x6c2,_0x27c5bf:0x70c},_0x31596a={_0x1162b5:0xf7,_0x126d79:0x28},_0x3a6fc6={_0x1e56f3:0x108},_0x281a82={_0x5eec8f:0xab,_0x8a7cf1:0x16f},_0xe55248={_0xb5982f:0x136,_0x430b1d:0x31};if(!_0x1f2f8d['engines']||_0x1f2f8d['engines'][_0x5df248(0x47a,0x303,0x358,0x4ea)]===0x0)throw new Error(_0x5df248(0x493,0x63f,0x55f,_0x202222._0x363274));const _0x29d01a=_0x1f2f8d[_0x3f747d(_0x202222._0x5a8780,0x1b5,0x220,_0x202222._0x1ee829)]??_0x5df248(_0x202222._0x249b88,0x4a2,_0x202222._0x323357,_0x202222._0x232941),_0x1de1c8=_0x1f2f8d[_0x3f747d(_0x202222._0x2bbe7b,-_0x202222._0x8a4110,_0x202222._0x3955f7,0x1e3)];function _0x5df248(_0x4226a6,_0x2fbe71,_0x22f16d,_0x5ee2ee){return _0x3145c3(_0x4226a6-0x17f,_0x5ee2ee- -_0xe55248._0xb5982f,_0x22f16d-_0xe55248._0x430b1d,_0x4226a6);}function _0x3f747d(_0x29077d,_0x4616f3,_0x2d6fea,_0x595661){return _0x4d75fe(_0x29077d-_0x281a82._0x5eec8f,_0x595661,_0x2d6fea- -0xf6,_0x595661-_0x281a82._0x8a7cf1);}return defineTool({'name':_0x29d01a,'permissionClass':_0x3f747d(_0x202222._0xf7124c,_0x202222._0x1c59c1,0x41a,_0x202222._0x7e105a),'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':'object','properties':{'description':{'type':'string'},'query':{'type':'string'},'count':{'type':_0x5df248(0x7e2,_0x202222._0x1fe0a7,0x5a0,0x711)},'offset':{'type':'number'},'domains':{'type':'array','items':{'type':'string'}},'recencyDays':{'type':_0x3f747d(_0x202222._0x1cb3c8,0x648,0x44c,0x653)},'lang':{'type':_0x3f747d(0x195,0x45b,_0x202222._0x338827,0x315)},'region':{'type':_0x5df248(0x7e1,_0x202222._0x54f0c6,_0x202222._0x558702,_0x202222._0x5c539c)},'safe':{'type':'boolean'},'type':{'type':'string'},'hydrateMeta':{'type':_0x5df248(_0x202222._0xb487a,_0x202222._0x1a67fe,0x6f4,_0x202222._0x91276b)}},'required':[_0x3f747d(_0x202222._0x65f7f7,_0x202222._0x3382cb,_0x202222._0x4bebb1,-0xe2)]},async *'execute'(_0x51d5f6,_0x3754ff){const _0x49c30a={_0x27065e:0x493,_0x15626e:0x35d,_0x413bde:0x8d3,_0x18bb1c:0x8e3,_0x5d54e3:0x6bd,_0x1eb95b:0x4c9,_0x200786:0x4ce},_0x149f98={_0xfb9f70:0x3b8,_0x4f3a20:0x182},_0x3010cb=_0x51d5f6[_0x259ae1(0x3e3,_0x1baf45._0x118e22,_0x1baf45._0x1e614c,0x211)][_0x259ae1(_0x1baf45._0x21e988,0x677,_0x1baf45._0x2f98c9,_0x1baf45._0x2beb91)]();if(!_0x3010cb)throw new ToolExecutionError(_0x259ae1(0x609,0x59e,0x7a9,_0x1baf45._0x235f03));const _0x4b7b26={'query':_0x3010cb,'count':Math[_0x23d983(_0x1baf45._0x4f9d4c,_0x1baf45._0x1fd632,_0x1baf45._0xcc6804,0x5dc)](0x1,Math[_0x259ae1(_0x1baf45._0xa2999b,_0x1baf45._0x57e241,_0x1baf45._0x12b932,_0x1baf45._0x2cde65)](0x32,Math[_0x259ae1(_0x1baf45._0x5ee303,0x6d4,_0x1baf45._0x1604b6,0x3a3)](_0x51d5f6['count']??0xa))),'offset':Math[_0x259ae1(_0x1baf45._0x4c53e1,_0x1baf45._0x1c46ca,_0x1baf45._0x10456b,0x1d5)](0x0,Math[_0x259ae1(_0x1baf45._0x5ee303,_0x1baf45._0x2edc55,0x731,0x388)](_0x51d5f6[_0x259ae1(0x4e3,_0x1baf45._0x5c7720,_0x1baf45._0x46048b,_0x1baf45._0x139ff9)]??0x0)),'domains':_0x51d5f6['domains']??[],'recencyDays':Math[_0x23d983(_0x1baf45._0x2ffdc0,0x5ea,_0x1baf45._0x94920b,0x5a3)](0x0,Math[_0x23d983(_0x1baf45._0x8da0fd,_0x1baf45._0x59b8ae,0x94b,0x962)](_0x51d5f6[_0x23d983(_0x1baf45._0x6f9629,_0x1baf45._0xe38ed8,_0x1baf45._0x53bc53,_0x1baf45._0x492d43)]??0x0)),'lang':_0x51d5f6['lang']??'en','region':_0x51d5f6[_0x23d983(0x928,_0x1baf45._0x4c6f3b,0xa58,0x8d4)]??'','safe':_0x51d5f6[_0x259ae1(0x58b,_0x1baf45._0x3c6277,0x480,_0x1baf45._0x194077)]??!![],'type':normalizeType(_0x51d5f6[_0x259ae1(0x5d1,_0x1baf45._0x318022,_0x1baf45._0x1d06bb,_0x1baf45._0x465b5a)]),'hydrateMeta':_0x51d5f6[_0x23d983(0x8e8,0x716,0x784,_0x1baf45._0x4dc82c)]??![]};function _0x23d983(_0x372a07,_0xd88b77,_0x4fd117,_0x3a8753){return _0x5df248(_0x3a8753,_0xd88b77-_0x3a6fc6._0x1e56f3,_0x4fd117-0x22,_0x372a07-0x1fe);}let _0x1ee1e3=[],_0x9b100f=_0x23d983(_0x1baf45._0x4bb250,0x860,0x848,_0x1baf45._0x357a8b);for(const _0x1dc4e3 of _0x1f2f8d['engines']){try{if(isGoogleCseEngine(_0x1dc4e3))_0x1ee1e3=await searchGoogleCse(_0x1dc4e3,_0x4b7b26,_0x3754ff[_0x23d983(_0x1baf45._0x52da7b,_0x1baf45._0x5a9f3d,0x72b,_0x1baf45._0x5a892a)]),_0x9b100f=_0x259ae1(0x742,_0x1baf45._0x14ed39,_0x1baf45._0x193fab,0x523);else{if(isOllamaEngine(_0x1dc4e3)){const _0x20a30a=await searchOllama(_0x1dc4e3,_0x4b7b26,_0x3754ff['signal']);_0x1ee1e3=_0x20a30a[_0x23d983(_0x1baf45._0x5b19a3,0x8a4,0x67b,_0x1baf45._0x3b4529)],_0x9b100f=_0x20a30a[_0x259ae1(0x3ad,_0x1baf45._0x1925cd,0x25c,0x2a9)];}else{if(isTavilyEngine(_0x1dc4e3)){const _0x179fd2=await searchTavily(_0x1dc4e3,_0x4b7b26,_0x3754ff['signal']);_0x1ee1e3=_0x179fd2['items'],_0x9b100f=_0x179fd2[_0x23d983(_0x1baf45._0x490eba,0x53c,0x6b4,_0x1baf45._0x12d668)];}}}if(_0x1ee1e3[_0x23d983(_0x1baf45._0x4240e9,_0x1baf45._0x40a632,0x762,0x81a)]>0x0)break;}catch(_0x200dca){if(_0x1dc4e3===_0x1f2f8d[_0x259ae1(_0x1baf45._0x465c45,_0x1baf45._0x5ccbcb,_0x1baf45._0x209b46,_0x1baf45._0x54fdb3)][_0x1f2f8d[_0x23d983(_0x1baf45._0x4a968f,_0x1baf45._0x41d935,_0x1baf45._0x4efd2f,_0x1baf45._0x4237a9)][_0x23d983(0x6e8,_0x1baf45._0x8aefb5,0x85b,0x6bc)]-0x1])throw _0x200dca;}}_0x4b7b26[_0x23d983(_0x1baf45._0x2a5a21,_0x1baf45._0x424eed,0x9fc,_0x1baf45._0x4f269b)]&&_0x1ee1e3[_0x23d983(0x6e8,_0x1baf45._0xb82e72,_0x1baf45._0x4e12dc,_0x1baf45._0x6e6ea2)]>0x0&&(_0x1ee1e3=await hydrateResults(_0x1ee1e3,_0x4b7b26[_0x23d983(_0x1baf45._0x4ebf4a,0x5d6,_0x1baf45._0x22e3bd,_0x1baf45._0x28e2ff)],_0x3754ff['signal'],_0x1de1c8));const _0x56510b=new Set();_0x1ee1e3=_0x1ee1e3[_0x259ae1(0x78f,_0x1baf45._0x49b0f4,0x5dc,_0x1baf45._0x29d5cc)](_0x259126=>{const _0x2d41db={_0x52f59d:0x11b};function _0x44225a(_0x228540,_0x2bf80b,_0x21e376,_0x45adfa){return _0x259ae1(_0x21e376-_0x2d41db._0x52f59d,_0x2bf80b,_0x21e376-0x87,_0x45adfa-0xd6);}const _0x496d5f=_0x259126[_0x47def6(0x35b,_0x49c30a._0x27065e,_0x49c30a._0x15626e,0x464)][_0x44225a(0x81a,_0x49c30a._0x413bde,0x6b6,0x534)]();if(!_0x496d5f||_0x56510b[_0x44225a(0x5eb,_0x49c30a._0x18bb1c,_0x49c30a._0x5d54e3,_0x49c30a._0x1eb95b)](_0x496d5f))return![];_0x56510b[_0x44225a(0x49c,_0x49c30a._0x200786,0x56d,0x462)](_0x496d5f);function _0x47def6(_0x1e4d47,_0x1b13f2,_0x25a1a9,_0x55a65a){return _0x23d983(_0x55a65a- -_0x149f98._0xfb9f70,_0x1b13f2-_0x149f98._0x4f3a20,_0x25a1a9-0xcf,_0x25a1a9);}return!![];}),_0x1ee1e3=_0x1ee1e3['map']((_0x2dc33d,_0x3facae)=>({..._0x2dc33d,'source':{..._0x2dc33d['source'],'rank':_0x3facae+0x1}}));const _0x4da528={};if(_0x4b7b26[_0x23d983(0x98e,0x967,_0x1baf45._0x17b858,_0x1baf45._0x3faf14)]['length']>0x0)_0x4da528['domains']=_0x4b7b26[_0x259ae1(_0x1baf45._0xa51151,0x7f6,0x787,_0x1baf45._0x2cf4a3)];function _0x259ae1(_0x7efc5e,_0x35b40f,_0x5962c0,_0x24c0f7){return _0x5df248(_0x35b40f,_0x35b40f-_0x31596a._0x1162b5,_0x5962c0-0x175,_0x7efc5e- -_0x31596a._0x126d79);}if(_0x4b7b26[_0x23d983(0x679,_0x1baf45._0x45bcc1,0x744,0x67d)]>0x0)_0x4da528[_0x23d983(_0x1baf45._0xa977a6,0x7a9,_0x1baf45._0x301c2e,0x68a)]=_0x4b7b26[_0x23d983(0x679,_0x1baf45._0x30322c,_0x1baf45._0x5d1513,0x4f5)];if(_0x4b7b26[_0x259ae1(0x551,_0x1baf45._0x4e5119,0x52b,_0x1baf45._0x5c0b3c)]!=='en')_0x4da528[_0x23d983(0x777,0x783,_0x1baf45._0x1fdab2,_0x1baf45._0x44f85d)]=_0x4b7b26[_0x259ae1(_0x1baf45._0x318712,0x47f,0x600,0x69d)];if(_0x4b7b26[_0x259ae1(_0x1baf45._0x1e1d43,_0x1baf45._0x46d490,0x645,0x703)])_0x4da528[_0x259ae1(_0x1baf45._0x43ab97,_0x1baf45._0x22deef,0x8df,_0x1baf45._0x23d6fe)]=_0x4b7b26[_0x23d983(0x928,_0x1baf45._0x6a96c6,_0x1baf45._0x2ffc2b,_0x1baf45._0xc764f5)];return yield createToolOutput(formatResults(_0x1ee1e3),{'engine':_0x9b100f,'count':_0x1ee1e3[_0x23d983(_0x1baf45._0x1fdeb7,0x695,0x839,_0x1baf45._0x55ef98)],'items':_0x1ee1e3,'query':_0x4b7b26[_0x23d983(_0x1baf45._0x3356ac,_0x1baf45._0x68e88e,_0x1baf45._0x2e2059,0x3e5)],...Object[_0x23d983(_0x1baf45._0x32079d,_0x1baf45._0x2c77ac,0x829,_0x1baf45._0x56a052)](_0x4da528)[_0x259ae1(0x4c2,0x2ae,_0x1baf45._0x258822,_0x1baf45._0x4c298e)]>0x0?{'appliedFilters':_0x4da528}:{},'offset':_0x4b7b26[_0x259ae1(_0x1baf45._0x30488c,_0x1baf45._0x33503b,_0x1baf45._0x6f9629,0x5f0)],'totalRequested':_0x4b7b26['count'],'hydrated':_0x4b7b26[_0x259ae1(_0x1baf45._0xd26653,_0x1baf45._0x27c5bf,0x8be,0x5ee)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,DelegatedResolutionError,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,MODEL_TIERS,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};
|