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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (function(_0x2abb92,_0x1b2089){const _0x32fbe4={_0x29e05a:0x2f,_0x2c8b59:0x175,_0x56e230:0x146,_0x25e2c0:0x74,_0x5e27ae:0x5e8,_0x5977ac:0x6cd,_0x19510e:0x65c,_0x586978:0x6d5,_0x4b08bc:0x537,_0xa039cb:0x6df,_0x2f354d:0x698,_0x1886d6:0x7ac,_0x3d0a1d:0x4fa,_0x536586:0x44a,_0x448c21:0x4a7,_0x10354e:0x459,_0x30df19:0x4ae,_0x259acf:0x1e4,_0x86c8a4:0xa1,_0x317f9b:0x4d,_0x1df30e:0x445},_0x24b080={_0x4ab1f2:0x38f},_0x556324=_0x2abb92();function _0xfd213e(_0x4447f9,_0x13b7e1,_0x594c3c,_0x473043){return _0x561a(_0x4447f9- -0x30b,_0x13b7e1);}function _0xcae470(_0x46424b,_0x55aa3c,_0x5dc9fa,_0x1e8117){return _0x561a(_0x55aa3c-_0x24b080._0x4ab1f2,_0x5dc9fa);}while(!![]){try{const _0x209618=parseInt(_0xfd213e(-_0x32fbe4._0x29e05a,-_0x32fbe4._0x2c8b59,-_0x32fbe4._0x56e230,_0x32fbe4._0x25e2c0))/0x1+parseInt(_0xcae470(_0x32fbe4._0x5e27ae,0x4af,0x467,0x36b))/0x2+parseInt(_0xcae470(_0x32fbe4._0x5977ac,_0x32fbe4._0x19510e,_0x32fbe4._0x586978,_0x32fbe4._0x4b08bc))/0x3+-parseInt(_0xcae470(_0x32fbe4._0xa039cb,_0x32fbe4._0x2f354d,0x756,_0x32fbe4._0x1886d6))/0x4*(-parseInt(_0xcae470(0x457,_0x32fbe4._0x3d0a1d,0x4f0,_0x32fbe4._0x536586))/0x5)+parseInt(_0xcae470(_0x32fbe4._0x448c21,0x4fd,0x53a,0x47b))/0x6+-parseInt(_0xcae470(_0x32fbe4._0x10354e,0x520,_0x32fbe4._0x30df19,0x583))/0x7+parseInt(_0xfd213e(-0xa3,-_0x32fbe4._0x259acf,_0x32fbe4._0x86c8a4,_0x32fbe4._0x317f9b))/0x8*(-parseInt(_0xcae470(0x400,0x50b,_0x32fbe4._0x1df30e,0x45e))/0x9);if(_0x209618===_0x1b2089)break;else _0x556324['push'](_0x556324['shift']());}catch(_0x2dd626){_0x556324['push'](_0x556324['shift']());}}}(_0x4008,0xd24b1));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-3OMYFJLN.js';import{getTextFromMessage}from'../chunk-G2FR4UGO.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';function _0x4aa629(_0x1b5480,_0x3f7f9e,_0x115752,_0x54b16a){return _0x561a(_0x54b16a- -0x252,_0x3f7f9e);}import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x53c5d0 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x2f0acf(0x38f,0x453,0x28a,0x273),'.tsx':_0x2f0acf(0x211,0x2e2,0x10c,0x159),'.js':_0x2f0acf(0x218,0x14e,0x2ce,0x1ff),'.jsx':_0x4aa629(-0x1c6,0x75,-0x13d,-0xbf),'.mjs':_0x2f0acf(0x218,0x179,0x2d3,0x1fc),'.cjs':_0x2f0acf(0x218,0x115,0x243,0x10b),'.mts':_0x2f0acf(0x38f,0x45d,0x452,0x308),'.cts':_0x4aa629(-0x8c,-0x70,0x5d,0x52),'.json':'json','.jsonc':'jsonc'};function getLanguageId(_0x315478){const _0x8c9944={_0x113f16:0xdf,_0x56d2e5:0x11c,_0x140baa:0x241,_0x1e207c:0x1dd},_0x10121d={_0xdeef02:0x70};function _0x5b99ba(_0x4da6d4,_0x26fefd,_0x4edc01,_0x47a1f3){return _0x4aa629(_0x4da6d4-0xd8,_0x4edc01,_0x4edc01-_0x10121d._0xdeef02,_0x47a1f3-0x325);}return EXTENSION_TO_LANGUAGE[_0x53c5d0['extname'](_0x315478)[_0x5b99ba(_0x8c9944._0x113f16,_0x8c9944._0x56d2e5,_0x8c9944._0x140baa,_0x8c9944._0x1e207c)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x3981e9){const _0x1e2f7d={_0x74a2f7:0x1a1,_0x342f22:0x1e7},_0x192932={_0x5143b7:0x152};function _0x55f0a7(_0x3f8b8f,_0x163abd,_0x54470c,_0x51f07e){return _0x2f0acf(_0x54470c- -0x2b4,_0x163abd-0x14e,_0x163abd,_0x51f07e-_0x192932._0x5143b7);}return pathToFileURL(_0x3981e9)[_0x55f0a7(0x18b,0x263,_0x1e2f7d._0x74a2f7,_0x1e2f7d._0x342f22)]();}function textDocumentPosition(_0x2e379e){const _0x3f4fe0={_0x11e6cc:0x611,_0x36338e:0x4fc,_0x42cc4d:0x5c1,_0xfa2df5:0x274,_0x48b0bd:0x26a,_0xacaca6:0x461},_0x5151eb={_0x41fe95:0x1cb,_0x2c0cda:0x182},_0x10ba48={_0x3eecab:0x100,_0x1b6524:0x3a4};function _0x1a15ba(_0x414419,_0xef4e35,_0x40045b,_0x126b33){return _0x4aa629(_0x414419-0x15,_0x414419,_0x40045b-_0x10ba48._0x3eecab,_0xef4e35-_0x10ba48._0x1b6524);}function _0x4ee875(_0x3cb135,_0x3f0686,_0x278b1c,_0x2f1210){return _0x2f0acf(_0x3f0686-0x21b,_0x3f0686-_0x5151eb._0x41fe95,_0x2f1210,_0x2f1210-_0x5151eb._0x2c0cda);}return{'textDocument':{'uri':uriForPath(_0x2e379e[_0x4ee875(_0x3f4fe0._0x11e6cc,_0x3f4fe0._0x36338e,_0x3f4fe0._0x42cc4d,0x5d3)])},'position':{'line':_0x2e379e['line'],'character':_0x2e379e[_0x1a15ba(_0x3f4fe0._0xfa2df5,0x398,_0x3f4fe0._0x48b0bd,_0x3f4fe0._0xacaca6)]}};}function normalizeLocations(_0x3b1149){const _0x320568={_0x82bdc5:0x1c7,_0x3debae:0x17},_0x5b8992={_0x333fbf:0x484,_0x3e0a93:0x193};function _0x2472ce(_0x37f65f,_0x27877e,_0x75fa90,_0x91836a){return _0x2f0acf(_0x27877e- -_0x5b8992._0x333fbf,_0x27877e-_0x5b8992._0x3e0a93,_0x91836a,_0x91836a-0x6d);}if(!_0x3b1149)return[];return Array[_0x2472ce(-_0x320568._0x82bdc5,-0xc6,-_0x320568._0x3debae,-0xa)](_0x3b1149)?_0x3b1149:[_0x3b1149];}async function createLspClient(_0x413a99){const _0xa8d8a5={_0x5271db:0x174,_0x2a7d01:0x196,_0x39e737:0x328,_0x29f6f8:0xa1,_0x4439ff:0x7c,_0x50ec33:0x115,_0x4bc7df:0xf2,_0x2e2860:0x58,_0x5002b0:0xd0,_0x1a7693:0x217,_0x886087:0xa4,_0x157f4f:0x15f,_0x598c15:0x18a,_0x5a45a2:0x10d,_0x3dc501:0x2cd,_0x52a00c:0x279,_0x5fab3e:0x36f,_0x5bd313:0x100,_0xfce9ab:0x16b,_0x2d130d:0x22b,_0x5a60a9:0x21c,_0x34188b:0x33b,_0x2a0eb7:0x1c1,_0x16533c:0x3ce,_0x6de18c:0x2c2,_0x53d139:0x27d,_0x3467d5:0x6d,_0x135a71:0x177,_0x4f00ed:0x1c6},_0xace6d8={_0x75ea06:0x11b,_0x486834:0xb5,_0x38d2da:0x15c,_0x5d2fc7:0x1f8,_0x5057f0:0x1f1,_0x206447:0x393,_0x44c3da:0x3a5,_0x20fc0b:0x47f,_0xfcb1f4:0x382,_0x3c8cb6:0x445,_0x47f285:0x36c},_0x28a100={_0x4784d8:0x16,_0x477676:0x24},_0x3ef74b={_0x1c3ff0:0xbf,_0xc97df3:0xe3},_0x53459b={_0x539fb6:0x310,_0x4e32a5:0x2f3,_0x367ce1:0x1ad,_0x4955f7:0x4c9},_0x16e0e9={_0x580a51:0x5c4,_0x327c4a:0x530,_0x2f215e:0x51f,_0x1f2575:0x4c8},_0x3a451d={_0x3763e7:0x406,_0x43c2f0:0xd},_0x390737={_0xd8e36c:0x422,_0x51cbd1:0x53b,_0x1cc4de:0x520,_0x196bed:0x390,_0x415b81:0x417},_0x21dc5f={_0x25d7ae:0x2c4,_0xf2a1f1:0x16},_0x2327eb={_0x32464b:0x4c},_0x4daed6={_0x5778c5:0x349,_0x1a9de4:0x3aa,_0x203f7f:0x259,_0x400f32:0x3e4,_0x1829e9:0x41b},_0x4436fe={_0x48eb10:0x1a6,_0x40db99:0x14d},_0x39f73a={_0x2bd7fd:0xc1,_0x40c32e:0x11f,_0x53f79c:0x0,_0x10983b:0x13d,_0x37dc4c:0xff,_0x5a2b98:0x29},_0x1f9da3={_0x46dc2c:0xeb,_0x1969f7:0x25},_0x236a58={_0x209292:0x320,_0x1c0971:0x215,_0x59649d:0x2a4,_0x45b44e:0x122},_0x112a31={_0x1c6446:0x1f},_0x2faedd={_0x35b3a4:0x14,_0x8d9fe5:0xa8},_0xaf66a1={_0x184822:0xf7,_0x65f6b5:0x7c},_0x3c693d={_0x27ec11:0x363,_0x2afc4c:0x235,_0xa2a985:0x77},_0x27384d={_0x412584:0x56},_0x2c4dfc={_0x353411:0x25c,_0x222374:0x179,_0x30c5fb:0x32a,_0x11fc1b:0x36a,_0x9a044b:0x48a,_0x2d0975:0x3bd},_0xb3f3ae={_0x8d1218:0x154,_0x4ded7c:0x5f},_0x113014={_0x156040:0x2d9,_0x28fb5a:0x35f,_0x566180:0x3aa,_0x3137e9:0x19e,_0x210991:0x299},_0x5105de={_0x3e1c67:0x17,_0x3a4815:0xf5,_0x975925:0x1a1},_0x57115c={_0x5a839a:0x1b3},_0x5cf6c9={_0x1daab9:0x417,_0x1b8312:0x2b6,_0x55a604:0x289,_0x333560:0x3db,_0x4bc9b8:0x3de,_0x5510f5:0x3f7,_0x4584bb:0x434,_0x1b47c5:0x2d0,_0x57233f:0x440,_0x4e8d6f:0x262,_0x5df122:0x32c,_0xd1d8fc:0x505,_0x5d1331:0x522,_0x593a33:0x4db,_0x32d52f:0x436,_0x5adba6:0x34f},_0x223b81={_0x2f8968:0x123},_0x5d7a76={_0x47ee6a:0xbb},_0x9966de={_0x3e63a2:0x1a2,_0x5f2e8e:0x11e,_0x2d11af:0x1a3},_0xcb32e6=_0x413a99[_0x5f59a0(0x1ea,_0xa8d8a5._0x5271db,_0xa8d8a5._0x2a7d01,_0xa8d8a5._0x39e737)]['process'][_0x334034(0x118,0x9e,0x132,0x1c9)],_0x1c98ac=_0x413a99[_0x5f59a0(0x1ea,0x2c7,0x1be,0x233)][_0x334034(-0x33,0x74,_0xa8d8a5._0x29f6f8,-_0xa8d8a5._0x4439ff)]['stdin'];if(!_0xcb32e6||!_0x1c98ac)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');function _0x5f59a0(_0x2e0f8d,_0x2ce6b5,_0x4bdcf3,_0x4509f7){return _0x4aa629(_0x2e0f8d-_0x9966de._0x3e63a2,_0x4bdcf3,_0x4bdcf3-_0x9966de._0x5f2e8e,_0x2e0f8d-_0x9966de._0x2d11af);}const _0x1a0af3=createMessageConnection(new StreamMessageReader(_0xcb32e6),new StreamMessageWriter(_0x1c98ac)),_0x165de7=new Map();function _0x334034(_0x57f803,_0x2ce78a,_0x202b01,_0x1ea3c8){return _0x4aa629(_0x57f803-0x5c,_0x1ea3c8,_0x202b01-_0x5d7a76._0x47ee6a,_0x2ce78a-0x193);}const _0x1af466=new Map();let _0x1c733c=![];_0x1a0af3[_0x5f59a0(_0xa8d8a5._0x50ec33,0x132,0x165,0x139)](_0x5f59a0(_0xa8d8a5._0x4bc7df,-0x4b,0xcb,0x184),_0x56a327=>{const _0x1fadc5={_0xbb8a3c:0x9d};_0x165de7[_0x2ddc71(0x629,0x62c,_0x5cf6c9._0x1daab9,0x522)](_0x56a327[_0x1e4e64(0x357,_0x5cf6c9._0x1b8312,0x3f8,_0x5cf6c9._0x55a604)],_0x56a327['diagnostics']);const _0x34f03e=_0x1af466[_0x2ddc71(_0x5cf6c9._0x333560,_0x5cf6c9._0x4bc9b8,_0x5cf6c9._0x5510f5,_0x5cf6c9._0x4584bb)](_0x56a327[_0x2ddc71(_0x5cf6c9._0x1b47c5,_0x5cf6c9._0x57233f,_0x5cf6c9._0x4e8d6f,_0x5cf6c9._0x5df122)]);function _0x2ddc71(_0xe3a2e3,_0x41114a,_0x19f679,_0x3cb6b5){return _0x5f59a0(_0x3cb6b5-0x2ba,_0x41114a-_0x1fadc5._0xbb8a3c,_0x41114a,_0x3cb6b5-0x37);}if(!_0x34f03e)return;_0x1af466[_0x2ddc71(_0x5cf6c9._0xd1d8fc,_0x5cf6c9._0x5d1331,_0x5cf6c9._0x593a33,0x44a)](_0x56a327[_0x1e4e64(0x357,0x2e3,_0x5cf6c9._0x32d52f,_0x5cf6c9._0x5adba6)]);function _0x1e4e64(_0x52ced6,_0x3e4772,_0x1381c1,_0x34dc14){return _0x5f59a0(_0x52ced6-0x2e5,_0x3e4772-_0x223b81._0x2f8968,_0x3e4772,_0x34dc14-0x1);}for(const _0x25250d of _0x34f03e)_0x25250d();}),_0x1a0af3[_0x334034(_0xa8d8a5._0x2e2860,_0xa8d8a5._0x5002b0,_0xa8d8a5._0x1a7693,_0xa8d8a5._0x886087)]();const _0x6a9072=await _0x1a0af3['sendRequest'](_0x5f59a0(_0xa8d8a5._0x157f4f,_0xa8d8a5._0x598c15,0x25c,_0xa8d8a5._0x5a45a2),{'processId':process['pid'],'rootUri':uriForPath(_0x413a99[_0x334034(_0xa8d8a5._0x3dc501,0x2a0,0x363,0x24d)]),'workspaceFolders':[{'uri':uriForPath(_0x413a99[_0x334034(_0xa8d8a5._0x52a00c,0x2a0,_0xa8d8a5._0x5fab3e,0x28f)]),'name':_0x413a99['server']['id']}],'initializationOptions':_0x413a99['handle'][_0x334034(_0xa8d8a5._0x5bd313,0x68,0x182,_0xa8d8a5._0xfce9ab)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x5f59a0(0x21d,_0xa8d8a5._0x2d130d,0x2da,_0xa8d8a5._0x5a60a9),_0x5f59a0(0x2ac,_0xa8d8a5._0x34188b,_0xa8d8a5._0x2a0eb7,_0xa8d8a5._0x16533c)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x1a0af3[_0x5f59a0(_0xa8d8a5._0x6de18c,_0xa8d8a5._0x53d139,0x217,0x30f)](_0x5f59a0(_0xa8d8a5._0x3467d5,-0x5d,0x77,0x1b1),{});const _0x24b116={'serverId':_0x413a99[_0x5f59a0(_0xa8d8a5._0x135a71,0x11a,0xf1,_0xa8d8a5._0x4f00ed)]['id'],'root':_0x413a99['root'],'connection':_0x1a0af3,'diagnostics':_0x165de7,'capabilities':_0x6a9072['capabilities']??{},'notify':{async 'open'({path:_0x29d29a}){function _0x87d979(_0x10cb9f,_0x288570,_0x4642ca,_0x24b5b8){return _0x5f59a0(_0x10cb9f-0x37b,_0x288570-_0x57115c._0x5a839a,_0x288570,_0x24b5b8-0x24);}function _0x17701d(_0x3836d1,_0x357c3b,_0x25dc7b,_0x497de7){return _0x5f59a0(_0x3836d1-_0x5105de._0x3e1c67,_0x357c3b-_0x5105de._0x3a4815,_0x497de7,_0x497de7-_0x5105de._0x975925);}const _0xf0651b=await readFile(_0x29d29a,'utf8');_0x1a0af3[_0x17701d(_0x113014._0x156040,0x1b6,_0x113014._0x28fb5a,_0x113014._0x566180)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x29d29a),'languageId':getLanguageId(_0x29d29a)??_0x17701d(0x2c3,_0x113014._0x3137e9,0x248,_0x113014._0x210991),'version':0x1,'text':_0xf0651b}});},async 'change'({path:_0x2ec653,version:_0x1d78f5}){const _0x3b353e={_0x47a37a:0x8f,_0xe721b8:0x168},_0x4337e2=await readFile(_0x2ec653,_0x171511(_0x2c4dfc._0x353411,_0x2c4dfc._0x222374,0x17a,0x126));function _0x1f9e4(_0x45d0db,_0x2a411d,_0x320881,_0x4ae242){return _0x334034(_0x45d0db-0x169,_0x320881-_0xb3f3ae._0x8d1218,_0x320881-_0xb3f3ae._0x4ded7c,_0x2a411d);}function _0x171511(_0x2ad0a4,_0x385955,_0x321a6c,_0x5ae618){return _0x5f59a0(_0x321a6c-_0x3b353e._0x47a37a,_0x385955-0xe7,_0x5ae618,_0x5ae618-_0x3b353e._0xe721b8);}_0x1a0af3[_0x171511(_0x2c4dfc._0x30c5fb,_0x2c4dfc._0x11fc1b,0x351,0x288)](_0x1f9e4(_0x2c4dfc._0x9a044b,0x45c,0x3b2,_0x2c4dfc._0x2d0975),{'textDocument':{'uri':uriForPath(_0x2ec653),'version':_0x1d78f5},'contentChanges':[{'text':_0x4337e2}]});},async 'close'({path:_0x126b9e}){const _0x25fb31={_0x5d2d8a:0x2c6};function _0x5ef5a8(_0x2ca0a9,_0x443b45,_0x5cf575,_0xe0fa7c){return _0x5f59a0(_0x5cf575- -_0x25fb31._0x5d2d8a,_0x443b45-0x12b,_0x2ca0a9,_0xe0fa7c-0x79);}function _0x3b760a(_0x2e980d,_0x4b000a,_0x25261e,_0x129b83){return _0x334034(_0x2e980d-0x178,_0x2e980d- -0x41,_0x25261e-_0x27384d._0x412584,_0x4b000a);}_0x1a0af3[_0x3b760a(0x271,0x133,_0x3c693d._0x27ec11,_0x3c693d._0x2afc4c)](_0x5ef5a8(0xc,0x7b,-_0x3c693d._0xa2a985,-0x16f),{'textDocument':{'uri':uriForPath(_0x126b9e)}});}},'request':{async 'definition'(_0x577db2){function _0x524b66(_0x18d155,_0x54a6c7,_0x985f3b,_0x227341){return _0x5f59a0(_0x985f3b- -0xda,_0x54a6c7-_0xaf66a1._0x184822,_0x227341,_0x227341-_0xaf66a1._0x65f6b5);}return normalizeLocations(await _0x1a0af3['sendRequest'](_0x524b66(_0x2faedd._0x35b3a4,0x63,_0x2faedd._0x8d9fe5,0x18d),textDocumentPosition(_0x577db2)));},async 'references'(_0x6a3a8d){const _0x5a1c7f={_0xd08467:0x95,_0x79b0e3:0x187};function _0x5e0c38(_0x1b94d6,_0x36d36c,_0x419e57,_0x4fdfb7){return _0x5f59a0(_0x1b94d6- -_0x5a1c7f._0xd08467,_0x36d36c-0xc1,_0x36d36c,_0x4fdfb7-_0x5a1c7f._0x79b0e3);}function _0xb71b90(_0x50d44f,_0x4d313d,_0x320c05,_0x5ba86f){return _0x334034(_0x50d44f-_0x112a31._0x1c6446,_0x50d44f- -0x246,_0x320c05-0xc9,_0x4d313d);}return normalizeLocations(await _0x1a0af3[_0x5e0c38(0x1e2,0xdb,_0x236a58._0x209292,0xe7)](_0xb71b90(-_0x236a58._0x1c0971,-_0x236a58._0x59649d,-_0x236a58._0x45b44e,-0x31a),{...textDocumentPosition(_0x6a3a8d),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x2bd4f1){const _0x58f529={_0x3b311b:0x1e,_0x578298:0x59};function _0x2a77f2(_0x24e284,_0x504313,_0x3d46e9,_0x4891df){return _0x5f59a0(_0x24e284- -0x1b6,_0x504313-_0x1f9da3._0x46dc2c,_0x504313,_0x4891df-_0x1f9da3._0x1969f7);}function _0x52a266(_0x567281,_0x4da4da,_0x28eef4,_0x1c0f40){return _0x334034(_0x567281-_0x58f529._0x3b311b,_0x4da4da- -0x2f0,_0x28eef4-_0x58f529._0x578298,_0x28eef4);}return await _0x1a0af3[_0x2a77f2(_0x39f73a._0x2bd7fd,_0x39f73a._0x40c32e,_0x39f73a._0x53f79c,_0x39f73a._0x10983b)](_0x2a77f2(0xad,0x1a5,_0x39f73a._0x37dc4c,-_0x39f73a._0x5a2b98),textDocumentPosition(_0x2bd4f1))??null;},async 'documentSymbol'(_0x2dc604){const _0x34ce0c={_0x1c89b2:0x60};function _0x230acc(_0x8bc497,_0x42a56d,_0x3de021,_0x5b7ac6){return _0x334034(_0x8bc497-0x10a,_0x5b7ac6- -_0x34ce0c._0x1c89b2,_0x3de021-0x17e,_0x8bc497);}return await _0x1a0af3['sendRequest'](_0x230acc(_0x4436fe._0x48eb10,0x1ea,0x254,_0x4436fe._0x40db99),{'textDocument':{'uri':uriForPath(_0x2dc604)}})??[];},async 'workspaceSymbol'(_0x2f4eff){const _0x6961b7={_0x2fc837:0xa0},_0x494a62={_0x32ed08:0xe2};function _0x5c1b45(_0x5599aa,_0x2420cd,_0x29287a,_0x56950b){return _0x334034(_0x5599aa-0x119,_0x5599aa-_0x494a62._0x32ed08,_0x29287a-0x91,_0x56950b);}function _0x2688cf(_0x39b7f5,_0x353db7,_0x11ccd2,_0x26460e){return _0x334034(_0x39b7f5-_0x6961b7._0x2fc837,_0x11ccd2-0x298,_0x11ccd2-0x55,_0x353db7);}return await _0x1a0af3[_0x5c1b45(_0x4daed6._0x5778c5,0x248,_0x4daed6._0x1a9de4,_0x4daed6._0x203f7f)](_0x5c1b45(0x366,_0x4daed6._0x400f32,0x312,_0x4daed6._0x1829e9),{'query':_0x2f4eff})??[];},async 'implementation'(_0x48940f){function _0x53c4db(_0x33c4d1,_0x4d24f5,_0x4dea64,_0x1d2d2b){return _0x334034(_0x33c4d1-0xb7,_0x1d2d2b- -_0x2327eb._0x32464b,_0x4dea64-0xf8,_0x4dea64);}function _0x249f65(_0xc8d39,_0x55eb7a,_0x211463,_0x54b45f){return _0x5f59a0(_0x55eb7a-_0x21dc5f._0x25d7ae,_0x55eb7a-_0x21dc5f._0xf2a1f1,_0x211463,_0x54b45f-0x73);}return normalizeLocations(await _0x1a0af3[_0x249f65(_0x390737._0xd8e36c,_0x390737._0x51cbd1,_0x390737._0x1cc4de,0x52e)](_0x249f65(_0x390737._0x196bed,0x4bb,0x47e,_0x390737._0x415b81),textDocumentPosition(_0x48940f)));},async 'prepareCallHierarchy'(_0x118398){const _0x2ce9f2={_0x527db6:0x1ed,_0x466bc3:0x35d};function _0x4ddd73(_0x15b459,_0x490e3d,_0x226b44,_0x195095){return _0x334034(_0x15b459-_0x2ce9f2._0x527db6,_0x15b459-_0x2ce9f2._0x466bc3,_0x226b44-0x1e1,_0x226b44);}function _0x4d7f18(_0x2f2cd7,_0x19c5e1,_0x181154,_0x2d1678){return _0x5f59a0(_0x19c5e1-_0x3a451d._0x3763e7,_0x19c5e1-0x1dc,_0x2d1678,_0x2d1678-_0x3a451d._0x43c2f0);}return await _0x1a0af3[_0x4ddd73(_0x16e0e9._0x580a51,_0x16e0e9._0x327c4a,0x5d0,0x5a6)](_0x4ddd73(0x58a,0x672,_0x16e0e9._0x2f215e,_0x16e0e9._0x1f2575),textDocumentPosition(_0x118398))??[];},async 'incomingCalls'(_0x4663ca){return await _0x1a0af3['sendRequest']('callHierarchy/incomingCalls',{'item':_0x4663ca})??[];},async 'outgoingCalls'(_0xbd6333){const _0x9ab582={_0x2a5b38:0x8c},_0x29b797={_0x2a917a:0x116,_0x49d36f:0x27b};function _0xbdb3e(_0x1879f0,_0xab8a92,_0x241687,_0x2deec6){return _0x334034(_0x1879f0-_0x29b797._0x2a917a,_0x2deec6-_0x29b797._0x49d36f,_0x241687-0x3a,_0x1879f0);}function _0x4fa39f(_0x50776a,_0x2b8d26,_0x332da4,_0x3c2133){return _0x334034(_0x50776a-0x91,_0x2b8d26-_0x9ab582._0x2a5b38,_0x332da4-0x170,_0x50776a);}return await _0x1a0af3[_0x4fa39f(_0x53459b._0x539fb6,_0x53459b._0x4e32a5,_0x53459b._0x367ce1,0x1d6)](_0xbdb3e(0x389,0x47f,0x483,_0x53459b._0x4955f7),{'item':_0xbd6333})??[];}},'waitForDiagnostics'({path:_0x2645ab,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x3719cf={_0x41d2bc:0x53c},_0x33768d={_0x5619a3:0x98,_0x35c245:0x15b},_0x514016={_0x44e38d:0xee,_0x1fa2af:0x1a8,_0x139c27:0xb7,_0x3b15fb:0x18c,_0x8b5499:0x221},_0x45bc6b={_0x5aa0ef:0x1f7,_0x5bca56:0x40},_0x228c51=uriForPath(_0x2645ab);function _0x71af65(_0x7f815b,_0xddc9c,_0xa0c825,_0x4dd3a8){return _0x5f59a0(_0xa0c825- -_0x3ef74b._0x1c3ff0,_0xddc9c-0xa,_0x7f815b,_0x4dd3a8-_0x3ef74b._0xc97df3);}function _0x2c2b9c(_0x55f8f3,_0x4428db,_0x4690be,_0x1f6f51){return _0x5f59a0(_0x1f6f51- -_0x45bc6b._0x5aa0ef,_0x4428db-0x1b9,_0x55f8f3,_0x1f6f51-_0x45bc6b._0x5bca56);}if(_0x165de7[_0x2c2b9c(-_0x28a100._0x4784d8,-0x12a,-0xb9,-0x11d)](_0x228c51))return Promise[_0x2c2b9c(-0x95,-_0x28a100._0x477676,-0x216,-0x121)]();return new Promise(_0x282ea5=>{const _0x21b6d0={_0xeedd52:0x4f1},_0x3e68a9=setTimeout(()=>{function _0x368243(_0x8e7dcd,_0x1a2b67,_0x3e5062,_0x5b395d){return _0x561a(_0x5b395d- -0x270,_0x1a2b67);}const _0x22cf2b=_0x1af466['get'](_0x228c51);_0x22cf2b?.[_0x177368(-_0x514016._0x44e38d,-_0x514016._0x1fa2af,-_0x514016._0x139c27,0x0)](_0x72f1e8);function _0x177368(_0xdf2d91,_0x5c7bcf,_0x51420b,_0x16d823){return _0x561a(_0xdf2d91- -0x32d,_0x16d823);}if(_0x22cf2b?.[_0x177368(-0x202,-0x317,-_0x514016._0x3b15fb,-_0x514016._0x8b5499)]===0x0)_0x1af466['delete'](_0x228c51);_0x282ea5();},timeoutMs);function _0x1ebe98(_0x571d78,_0x2d54d2,_0x5689f5,_0x1907c1){return _0x2c2b9c(_0x1907c1,_0x2d54d2-0x74,_0x5689f5-0x1bb,_0x2d54d2-_0x21b6d0._0xeedd52);}const _0x72f1e8=()=>{clearTimeout(_0x3e68a9),_0x282ea5();},_0xe6f9a6=_0x1af466[_0x1ebe98(0x453,0x474,0x4fc,0x4cf)](_0x228c51)??new Set();function _0x53fed1(_0x41e171,_0x267b30,_0x1b2661,_0x20199b){return _0x71af65(_0x1b2661,_0x267b30-_0x33768d._0x5619a3,_0x20199b-0x2d3,_0x20199b-_0x33768d._0x35c245);}_0xe6f9a6[_0x1ebe98(_0x3719cf._0x41d2bc,0x440,0x418,0x370)](_0x72f1e8),_0x1af466['set'](_0x228c51,_0xe6f9a6);});},async 'shutdown'(){const _0x56e822={_0x2d9ce2:0x1ed},_0x120bc7={_0x410463:0x25b};if(_0x1c733c)return;function _0x241917(_0x4914b9,_0x31d39e,_0x33b41a,_0x1517d5){return _0x5f59a0(_0x4914b9-_0x120bc7._0x410463,_0x31d39e-0x1e3,_0x33b41a,_0x1517d5-0x187);}function _0x3333a4(_0x44d58b,_0x1d9af2,_0x7803b,_0x43c1a7){return _0x334034(_0x44d58b-0x1b6,_0x1d9af2- -0x1b2,_0x7803b-_0x56e822._0x2d9ce2,_0x7803b);}_0x1c733c=!![];try{await _0x1a0af3[_0x3333a4(_0xace6d8._0x75ea06,_0xace6d8._0x486834,0x1b6,0xb7)](_0x3333a4(-_0xace6d8._0x38d2da,-0x160,-_0xace6d8._0x5d2fc7,-_0xace6d8._0x5057f0),null),_0x1a0af3['sendNotification'](_0x241917(_0xace6d8._0x206447,_0xace6d8._0x44c3da,_0xace6d8._0x20fc0b,0x316));}catch{}finally{_0x1a0af3[_0x241917(0x391,0x336,_0xace6d8._0xfcb1f4,0x249)](),_0x413a99[_0x241917(_0xace6d8._0x3c8cb6,0x31e,0x543,0x44a)]['process'][_0x241917(0x301,0x3d2,0x437,_0xace6d8._0x47f285)]();}}};return _0x24b116;}import{spawn as _0x359d69}from'child_process';import{access as _0x29f37d}from'fs/promises';import _0x4f421d from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x1b4671 from'os';import _0x3ea862 from'path';import _0x26364b from'which';var installPromises=new Map();function sanitizePackageName(_0x1d4da1){const _0x311ef9={_0x56b18e:0x3b4,_0x5deb77:0x49f},_0x2229c3={_0xd5736d:0x1dd},_0x2f3355={_0x3bc9b6:0x235};function _0x33e4de(_0x32bc6f,_0x5f499e,_0x47f4b2,_0x21c187){return _0x4aa629(_0x32bc6f-0xb8,_0x47f4b2,_0x47f4b2-0x165,_0x32bc6f-_0x2f3355._0x3bc9b6);}function _0x13cb0b(_0x447027,_0x39fb4e,_0x2dc2c7,_0x5de3e9){return _0x2f0acf(_0x39fb4e-_0x2229c3._0xd5736d,_0x39fb4e-0x126,_0x447027,_0x5de3e9-0xf4);}return _0x1d4da1[_0x13cb0b(0x4f2,_0x311ef9._0x56b18e,0x277,0x330)](/^@/,'')[_0x13cb0b(_0x311ef9._0x5deb77,0x3b4,0x477,0x46c)](/[/]/g,'__');}function binaryNameForPlatform(_0x3cf928){const _0x8bedc7={_0x488695:0x195,_0x2d2be6:0x1ff,_0x2d6864:0x321,_0x983f28:0x1f8},_0x1ae881={_0xdef26e:0x183,_0x37c03f:0x267},_0x30d7a1={_0x25cf89:0x79,_0x76d36:0xb2};function _0xb839ca(_0xce8699,_0x58585a,_0x4f345a,_0x232cd0){return _0x2f0acf(_0x4f345a-_0x30d7a1._0x25cf89,_0x58585a-_0x30d7a1._0x76d36,_0xce8699,_0x232cd0-0x13d);}function _0x12b885(_0xe7677,_0x1ff5c1,_0x58d4b8,_0x4daf52){return _0x4aa629(_0xe7677-0x28,_0xe7677,_0x58d4b8-_0x1ae881._0xdef26e,_0x1ff5c1-_0x1ae881._0x37c03f);}return process[_0x12b885(0x10a,_0x8bedc7._0x488695,0x26b,0x1b6)]===_0x12b885(_0x8bedc7._0x2d2be6,_0x8bedc7._0x2d6864,_0x8bedc7._0x983f28,0x3bf)?_0x3cf928+_0x12b885(0xc4,0x123,0x192,0x118):_0x3cf928;}async function exists(_0x173fd6){try{return await access(_0x173fd6),!![];}catch{return![];}}function runNpmInstall(_0x365f53,_0x424459,_0x395ef1){const _0x2847a5={_0x5dbc4f:0x4f1,_0xc4adc8:0x4f6,_0x80acd9:0x541,_0xe6e260:0x4e1,_0x1aca92:0x538,_0xd70416:0x1db,_0x56fc50:0xf4,_0x172773:0xbd};return new Promise(_0xfaa0d5=>{const _0xb01bbc={_0x4dc8e0:0x37};function _0x336ea5(_0x3d3fba,_0x1ee151,_0x37111d,_0x2d94c0){return _0x561a(_0x2d94c0-0x2eb,_0x37111d);}function _0xa2b302(_0x1fd261,_0x1acc0a,_0x3a9f56,_0x131bed){return _0x561a(_0x1fd261- -_0xb01bbc._0x4dc8e0,_0x3a9f56);}const _0x3145c5=spawn(_0xa2b302(0xaa,-0x8,0x1b6,0xc7),[_0x336ea5(0x416,0x5e7,_0x2847a5._0x5dbc4f,_0x2847a5._0xc4adc8),'--prefix',_0x365f53,_0x424459],{'env':_0x395ef1,'stdio':_0x336ea5(_0x2847a5._0x80acd9,_0x2847a5._0xe6e260,0x4c5,_0x2847a5._0x1aca92)});_0x3145c5['on']('error',()=>_0xfaa0d5(![])),_0x3145c5['on'](_0xa2b302(_0x2847a5._0xd70416,0x259,_0x2847a5._0x56fc50,_0x2847a5._0x172773),_0x13b53d=>_0xfaa0d5(_0x13b53d===0x0));});}function shouldDisableLspDownload(_0x18e55f=process['env']){const _0x1cdde9={_0x4cc1ff:0x230,_0x389fd2:0x18b,_0x42c517:0x1e5,_0x34ab3e:0x553,_0x457db0:0x68f,_0x4c9756:0x637,_0x29f7a3:0x75e},_0x32569d={_0x1dbaa1:0x71},_0x2a917c={_0x2f89b5:0x132};function _0x1aa1f0(_0x4bc252,_0xe7938f,_0xaf0bee,_0x1c6186){return _0x2f0acf(_0xaf0bee- -0xac,_0xe7938f-0x71,_0x1c6186,_0x1c6186-_0x2a917c._0x2f89b5);}function _0x186602(_0x18be13,_0x46e98c,_0x39a5b0,_0x481b8c){return _0x2f0acf(_0x46e98c-0x2b5,_0x46e98c-_0x32569d._0x1dbaa1,_0x39a5b0,_0x481b8c-0x4a);}const _0x2ea616=_0x18e55f[_0x1aa1f0(_0x1cdde9._0x4cc1ff,_0x1cdde9._0x389fd2,0x1e4,_0x1cdde9._0x42c517)]?.[_0x186602(0x429,0x4aa,_0x1cdde9._0x34ab3e,0x4c9)]();return _0x2ea616===_0x186602(0x6f9,_0x1cdde9._0x457db0,_0x1cdde9._0x4c9756,0x682)||_0x2ea616==='1'||_0x2ea616===_0x186602(0x706,0x655,_0x1cdde9._0x29f7a3,0x707)||_0x2ea616==='on';}function getLspPackageDir(_0x413f41){const _0x5c5d54={_0x4bb7a0:0x415,_0x42eb52:0x2be,_0x1e2e57:0x2cc,_0x2436c7:0x28f,_0x529788:0x35e,_0x1686bb:0x386},_0xd51628={_0x3d1865:0xec,_0x13065c:0x93};function _0x508d40(_0x59d96f,_0xe050e6,_0x1c3478,_0x47695d){return _0x4aa629(_0x59d96f-_0xd51628._0x3d1865,_0x59d96f,_0x1c3478-_0xd51628._0x13065c,_0x1c3478-0x35d);}function _0x1ee4f6(_0x2af965,_0x7bebec,_0xc0f43f,_0x3e7621){return _0x4aa629(_0x2af965-0xf,_0x2af965,_0xc0f43f-0x94,_0xc0f43f-0x1d4);}return _0x3ea862[_0x508d40(_0x5c5d54._0x4bb7a0,0x264,0x2e9,0x247)](_0x1b4671['homedir'](),'.nuvin',_0x508d40(_0x5c5d54._0x42eb52,_0x5c5d54._0x1e2e57,_0x5c5d54._0x2436c7,_0x5c5d54._0x529788),_0x508d40(0x3fb,_0x5c5d54._0x1686bb,0x3ec,0x2a4),sanitizePackageName(_0x413f41));}function getLspBinDir(_0x51b175){const _0x3c7661={_0x1bfdfc:0x5a,_0xdb6922:0x156,_0x4391a3:0x104,_0x14a8c7:0x1e3},_0x17c493={_0x5f15bb:0x115,_0x5d6082:0x1ec},_0x2af81c={_0x434773:0x17};function _0x218da9(_0x50d6c4,_0x6748c3,_0x1b6b6f,_0x5ad075){return _0x4aa629(_0x50d6c4-0x1eb,_0x5ad075,_0x1b6b6f-_0x2af81c._0x434773,_0x6748c3-0x118);}function _0x3082df(_0x283fa0,_0x3f65cf,_0x37ee65,_0x1d753d){return _0x2f0acf(_0x1d753d- -0x47c,_0x3f65cf-_0x17c493._0x5f15bb,_0x3f65cf,_0x1d753d-_0x17c493._0x5d6082);}return _0x3ea862['join'](getLspPackageDir(_0x51b175),_0x3082df(-_0x3c7661._0x1bfdfc,-0xe0,-_0x3c7661._0xdb6922,-0x114),_0x3082df(-_0x3c7661._0x4391a3,-0xc1,-0x2f6,-_0x3c7661._0x14a8c7));}async function findPackageBinary(_0x42f7fd,_0x1c19bc){const _0x113742={_0x536d29:0xc0,_0x389317:0x1ad,_0x4bc634:0x46c,_0x51aace:0x40d,_0x27c68b:0x2d9,_0x3dd0bd:0x28,_0x247644:0xf2},_0x3cd77b={_0x17b895:0x44,_0x476e48:0x3e2},_0x4b3eba={_0x5468b:0xe0};function _0x53a94b(_0x35bc23,_0x166e10,_0x17961a,_0x2da33e){return _0x2f0acf(_0x166e10- -0x25e,_0x166e10-0xdb,_0x35bc23,_0x2da33e-_0x4b3eba._0x5468b);}function _0x35c89(_0x27aab4,_0x3e20b0,_0x142ae1,_0x5b43ce){return _0x4aa629(_0x27aab4-0xca,_0x27aab4,_0x142ae1-_0x3cd77b._0x17b895,_0x3e20b0-_0x3cd77b._0x476e48);}let _0x3d1cd2=_0x3ea862['resolve'](_0x1c19bc);const _0x226ea8=binaryNameForPlatform(_0x42f7fd);while(!![]){const _0xa3facd=_0x3ea862[_0x53a94b(_0x113742._0x536d29,0x6b,-0xb9,_0x113742._0x389317)](_0x3d1cd2,_0x35c89(_0x113742._0x4bc634,_0x113742._0x51aace,0x4f2,_0x113742._0x27c68b),_0x53a94b(0xe5,0x3b,_0x113742._0x3dd0bd,-_0x113742._0x247644),_0x226ea8);if(await exists(_0xa3facd))return _0xa3facd;const _0x3d64ef=_0x3ea862['dirname'](_0x3d1cd2);if(_0x3d64ef===_0x3d1cd2)return void 0x0;_0x3d1cd2=_0x3d64ef;}}async function findPathBinary(_0x5c7f47,_0x30d71e){const _0x205014={_0x1c8170:0x3f9,_0x4549ab:0x4f4,_0x3b2c79:0x46a,_0x3c8b92:0x48a,_0x20f0b1:0x43a,_0x1544bd:0x3ca,_0xa99512:0x452,_0x5cd29c:0x32d,_0x26f067:0x444,_0x568728:0x452,_0x15e518:0x2ea,_0x111353:0x42f},_0x1ceb9f={_0x515b0c:0x1d},_0x55d30c=getLspBinDir(_0x30d71e);function _0x429a65(_0x502175,_0x366bb0,_0x174be0,_0x599306){return _0x4aa629(_0x502175-0x1bc,_0x599306,_0x174be0-_0x1ceb9f._0x515b0c,_0x174be0- -0x173);}function _0x272732(_0x507250,_0x138fe4,_0x44c5d7,_0x3657c6){return _0x2f0acf(_0x44c5d7-0x64,_0x138fe4-0x8e,_0x138fe4,_0x3657c6-0x1dc);}const _0x5ef89b=[_0x55d30c,process[_0x272732(0x430,0x2c2,_0x205014._0x1c8170,_0x205014._0x4549ab)]['PATH']][_0x272732(_0x205014._0x3b2c79,_0x205014._0x3c8b92,_0x205014._0x20f0b1,0x305)](Boolean)[_0x272732(_0x205014._0x1544bd,_0x205014._0xa99512,_0x205014._0x5cd29c,_0x205014._0x26f067)](_0x3ea862[_0x272732(_0x205014._0x568728,_0x205014._0x15e518,0x41a,_0x205014._0x111353)]);try{return await _0x26364b(_0x5c7f47,{'path':_0x5ef89b});}catch{return void 0x0;}}async function resolvePackageBinary(_0x37ee15){const _0x3e7dfc={_0x4032db:0x46,_0x3889de:0x45,_0x18cfd0:0xba,_0x444017:0x61,_0x47f0ca:0x123,_0x32cc5d:0x241,_0x23aa3c:0x8f,_0x1b7ec5:0x17d,_0xb5ab5d:0x15,_0xcf2e7c:0x113,_0x5a3435:0x10b,_0xb8782d:0x220,_0x42a01b:0x201,_0x43a169:0x48,_0x46e6c1:0x92,_0x41e9be:0x1d3,_0x39a6bf:0xc1,_0x30185f:0x180,_0x4055c9:0xd5},_0x99e721={_0x2abe45:0x2bb,_0x2b8a54:0x26d,_0x4d092c:0x2ec},_0x1c91c8={_0x34ab5a:0x1ec,_0x382707:0x1},_0x151be0={_0x20b395:0x188,_0x49f0ea:0x71},_0x51dac6=_0x37ee15[_0x57a2cb(-_0x3e7dfc._0x4032db,_0x3e7dfc._0x3889de,0x6d,-_0x3e7dfc._0x18cfd0)]??_0x37ee15['packageName'],_0xf8c65a=await findPackageBinary(_0x51dac6,_0x37ee15[_0x57a2cb(_0x3e7dfc._0x444017,0x60,_0x3e7dfc._0x47f0ca,_0x3e7dfc._0x32cc5d)]);if(_0xf8c65a)return _0xf8c65a;function _0x57a2cb(_0x224969,_0x23cf0c,_0x3ec766,_0x34927c){return _0x4aa629(_0x224969-0x163,_0x224969,_0x3ec766-0x42,_0x3ec766-0xbb);}const _0x3169cd=await findPathBinary(_0x51dac6,_0x37ee15[_0x57a2cb(_0x3e7dfc._0x23aa3c,0x6,0x107,_0x3e7dfc._0x1b7ec5)]);function _0x20c3cb(_0x35fb5f,_0x3f592b,_0x1ae37d,_0x3593ce){return _0x2f0acf(_0x1ae37d- -_0x151be0._0x20b395,_0x3f592b-0x74,_0x35fb5f,_0x3593ce-_0x151be0._0x49f0ea);}if(_0x3169cd)return _0x3169cd;const _0x6c2b4d=_0x37ee15['env']??process[_0x57a2cb(0x13e,_0x3e7dfc._0xb5ab5d,_0x3e7dfc._0xcf2e7c,0x3a)];if(shouldDisableLspDownload(_0x6c2b4d))return void 0x0;const _0x1f2956=getLspPackageDir(_0x37ee15[_0x20c3cb(_0x3e7dfc._0x5a3435,_0x3e7dfc._0xb8782d,_0x3e7dfc._0x42a01b,0x28b)]),_0x3f75db=_0x37ee15['packageName']+':'+_0x51dac6;let _0x10db84=installPromises[_0x57a2cb(0x90,_0x3e7dfc._0x43a169,_0x3e7dfc._0x46e6c1,_0x3e7dfc._0x41e9be)](_0x3f75db);!_0x10db84&&(_0x10db84=((async()=>{function _0x179bd4(_0x52ec9d,_0x49ebf2,_0x41de6b,_0xcc6f21){return _0x57a2cb(_0x49ebf2,_0x49ebf2-0x17d,_0xcc6f21-0x15d,_0xcc6f21-0x1df);}await mkdir(_0x1f2956,{'recursive':!![]});const _0x20aec0=await runNpmInstall(_0x1f2956,_0x37ee15[_0x51ddbf(_0x99e721._0x2abe45,_0x99e721._0x2b8a54,_0x99e721._0x4d092c,0x2ed)],_0x6c2b4d);function _0x51ddbf(_0x1760b1,_0x4b0bd4,_0x2583fc,_0x55788d){return _0x20c3cb(_0x55788d,_0x4b0bd4-_0x1c91c8._0x34ab5a,_0x1760b1-0xba,_0x55788d-_0x1c91c8._0x382707);}if(!_0x20aec0)return void 0x0;const _0x1ad892=_0x3ea862['join'](getLspBinDir(_0x37ee15[_0x179bd4(0x32a,0x370,0x136,0x264)]),binaryNameForPlatform(_0x51dac6));return await exists(_0x1ad892)?_0x1ad892:void 0x0;})()),installPromises[_0x57a2cb(0x26e,_0x3e7dfc._0x39a6bf,_0x3e7dfc._0x30185f,_0x3e7dfc._0x4055c9)](_0x3f75db,_0x10db84));try{return await _0x10db84;}catch{return void 0x0;}finally{installPromises['delete'](_0x3f75db);}}var TYPESCRIPT_EXTENSIONS=[_0x4aa629(0x22,-0x10e,-0x201,-0x117),_0x2f0acf(0x289,0x143,0x34b,0x297),_0x4aa629(-0x1ed,-0x36,-0xf1,-0x122),_0x4aa629(-0xf9,-0x26a,-0x10b,-0x16f),'.mjs','.cjs',_0x4aa629(-0x81,-0x96,-0xe1,-0x2f),'.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x4aa629(-0xd0,0xc5,-0x17,-0x26),'.jsonc'],TYPESCRIPT_ROOT_MARKERS=['package-lock.json',_0x2f0acf(0x3c9,0x3e0,0x4af,0x3b9),_0x4aa629(0x1e0,0xea,-0x5a,0xb1),'pnpm-lock.yaml',_0x2f0acf(0x2c5,0x3fb,0x398,0x256),_0x4aa629(0x15,-0xd9,-0x19a,-0xa2),_0x2f0acf(0x2f5,0x40c,0x32c,0x404),'package.json'],BIOME_ROOT_MARKERS=['biome.json','biome.jsonc',_0x2f0acf(0x236,0x149,0x350,0x1b7),_0x4aa629(0x168,-0xb3,0xee,0x8c),'bun.lock',_0x4aa629(0x167,0x1c3,0x1b9,0xa8),_0x2f0acf(0x2c5,0x370,0x2e3,0x239),_0x2f0acf(0x271,0x1c0,0x2d4,0x30c)];async function exists2(_0x437ab3){try{return await _0x29f37d(_0x437ab3),!![];}catch{return![];}}async function findUp(_0x4279af,_0x5a0deb){const _0x458bbf={_0x377578:0xe5,_0x8a792d:0x27c,_0x4fa631:0x656,_0x1aa659:0x6b4,_0x2cce26:0x616},_0x1775f7={_0x187280:0x11,_0x285464:0x1a6},_0x2faf2a={_0x5d13a5:0xb6,_0xa8d8e0:0xa9};let _0x12960a=_0x4f421d[_0x36341f(-_0x458bbf._0x377578,-0x74,-_0x458bbf._0x8a792d,-0x1a4)](_0x4279af);function _0x4a3615(_0x56d287,_0x2f0919,_0x442765,_0x4ea9c6){return _0x4aa629(_0x56d287-_0x2faf2a._0x5d13a5,_0x442765,_0x442765-_0x2faf2a._0xa8d8e0,_0x4ea9c6-0x5cd);}function _0x36341f(_0x38652a,_0xf0754f,_0x2e5f80,_0x3e7291){return _0x2f0acf(_0x3e7291- -0x414,_0xf0754f-_0x1775f7._0x187280,_0x38652a,_0x3e7291-_0x1775f7._0x285464);}const _0x4e41d3=_0x4f421d['extname'](_0x12960a);if(_0x4e41d3)_0x12960a=_0x4f421d['dirname'](_0x12960a);while(!![]){for(const _0xd1f959 of _0x5a0deb){if(await exists2(_0x4f421d[_0x4a3615(0x441,0x538,0x60f,0x559)](_0x12960a,_0xd1f959)))return _0x12960a;}const _0x5bdca5=_0x4f421d[_0x4a3615(_0x458bbf._0x4fa631,0x5f8,_0x458bbf._0x1aa659,_0x458bbf._0x2cce26)](_0x12960a);if(_0x5bdca5===_0x12960a)return void 0x0;_0x12960a=_0x5bdca5;}}async function hasDenoRoot(_0x1e5b48){const _0x162456={_0x1a460d:0x21,_0x54b709:0x5a,_0x4395e2:0xdd,_0x22997f:0x25e,_0x5f38e1:0x17,_0x5ece5e:0xb5,_0x43e53b:0x1d5},_0x49e5fc={_0x2dd39d:0x3c8,_0x56e28:0x1e6},_0x5a47ff={_0x2a5b52:0x182,_0x442888:0x1ca,_0x1b5ec6:0xd1};function _0x35fce2(_0x58c557,_0x3075da,_0x4275a8,_0x2f580d){return _0x2f0acf(_0x4275a8- -_0x5a47ff._0x2a5b52,_0x3075da-_0x5a47ff._0x442888,_0x58c557,_0x2f580d-_0x5a47ff._0x1b5ec6);}function _0x4354ab(_0x587b7e,_0x20f8c1,_0xe8f109,_0x19ed4d){return _0x2f0acf(_0x587b7e- -_0x49e5fc._0x2dd39d,_0x20f8c1-0x1ec,_0x20f8c1,_0x19ed4d-_0x49e5fc._0x56e28);}return await exists2(_0x4f421d[_0x35fce2(_0x162456._0x1a460d,0x36,0x147,_0x162456._0x54b709)](_0x1e5b48,_0x4354ab(-0x1b3,-0x2c2,-_0x162456._0x4395e2,-_0x162456._0x22997f)))||await exists2(_0x4f421d[_0x35fce2(_0x162456._0x5f38e1,_0x162456._0x5ece5e,0x147,_0x162456._0x43e53b)](_0x1e5b48,'deno.jsonc'));}async function resolveTsserverPath(_0x325be6){const _0x4961e0={_0x357e2a:0xad,_0x133a9d:0x443,_0x3888ec:0x320,_0x36d6e8:0x350,_0x30752b:0x1bd,_0x460625:0x1ca,_0x3c1485:0x41c,_0x3eb32b:0x506,_0x37118e:0x4f0,_0x4819dc:0x3f2,_0x35327f:0x417,_0x195049:0x20c,_0x5e649f:0x22d,_0x513e6b:0x1cc,_0x348cd1:0x48f,_0x50f279:0x60a,_0x303b89:0x449,_0x2ec9f5:0x666,_0xebcba7:0x578,_0x23af7e:0x1ca},_0x30214f={_0x47c09d:0x4b4},_0x5e6788={_0x2c57b4:0x240};function _0x235fd0(_0x4cd94b,_0x275b63,_0x14ed23,_0x58a852){return _0x4aa629(_0x4cd94b-0x6d,_0x4cd94b,_0x14ed23-0xc7,_0x58a852-_0x5e6788._0x2c57b4);}let _0x4aa647=_0x4f421d['resolve'](_0x325be6);while(!![]){const _0x5349e2=_0x4f421d[_0x235fd0(_0x4961e0._0x357e2a,0x10a,0x265,0x1cc)](_0x4aa647,'node_modules',_0x5abe2d(0x630,_0x4961e0._0x133a9d,0x506,0x3f1),_0x235fd0(_0x4961e0._0x3888ec,0x345,0x34d,_0x4961e0._0x36d6e8),_0x235fd0(_0x4961e0._0x30752b,0x302,0x276,_0x4961e0._0x460625));if(await exists2(_0x5349e2))return _0x5349e2;const _0x340c54=_0x4f421d['dirname'](_0x4aa647);if(_0x340c54===_0x4aa647)break;_0x4aa647=_0x340c54;}function _0x5abe2d(_0x28c5d2,_0x12f8bc,_0x5a0938,_0x547afe){return _0x4aa629(_0x28c5d2-0xa1,_0x547afe,_0x5a0938-0xa1,_0x5a0938-_0x30214f._0x47c09d);}const _0x40fe57=getLspPackageDir('typescript'),_0xa323fc=await resolvePackageBinary({'packageName':_0x5abe2d(0x578,_0x4961e0._0x3c1485,_0x4961e0._0x3eb32b,_0x4961e0._0x37118e),'binaryName':_0x5abe2d(_0x4961e0._0x4819dc,0x45c,0x42b,_0x4961e0._0x35327f),'startDir':_0x325be6});if(!_0xa323fc)return void 0x0;const _0x114a38=_0x4f421d[_0x235fd0(_0x4961e0._0x195049,_0x4961e0._0x5e649f,0x1e2,_0x4961e0._0x513e6b)](_0x40fe57,_0x5abe2d(_0x4961e0._0x348cd1,_0x4961e0._0x50f279,0x4df,_0x4961e0._0x303b89),'typescript',_0x5abe2d(_0x4961e0._0x2ec9f5,_0x4961e0._0xebcba7,0x5c4,0x4db),_0x235fd0(0x30c,0x15c,0x210,_0x4961e0._0x23af7e));return await exists2(_0x114a38)?_0x114a38:void 0x0;}var TypeScriptServer={'id':_0x4aa629(-0xc3,-0x60,0x198,0x52),'name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x3b7d5c){const _0x49f8ed=await findUp(_0x3b7d5c,TYPESCRIPT_ROOT_MARKERS);if(!_0x49f8ed)return void 0x0;return await hasDenoRoot(_0x49f8ed)?void 0x0:_0x49f8ed;},async 'spawn'(_0xe60075){const _0x430b56={_0x213ec8:0x70,_0x9b8a22:0x16,_0x2be164:0x6c,_0x1d154d:0x2da,_0x538b91:0x1f1},_0x4818c1={_0x34b12b:0x17,_0x5be66a:0x11b},_0x9f8150={_0x4d0019:0x13d,_0x5dff69:0x91,_0x3a47e3:0x2c9},_0x232e27=await resolveTsserverPath(_0xe60075);if(!_0x232e27)return void 0x0;function _0xde4554(_0x163adb,_0x301af0,_0x12cf81,_0x4de6e9){return _0x4aa629(_0x163adb-_0x9f8150._0x4d0019,_0x12cf81,_0x12cf81-_0x9f8150._0x5dff69,_0x301af0-_0x9f8150._0x3a47e3);}function _0x352d03(_0x1598f9,_0x4fd123,_0x12c489,_0x18b559){return _0x4aa629(_0x1598f9-0xce,_0x4fd123,_0x12c489-_0x4818c1._0x34b12b,_0x18b559- -_0x4818c1._0x5be66a);}const _0x354e38=await resolvePackageBinary({'packageName':'typescript-language-server','binaryName':'typescript-language-server','startDir':_0xe60075});if(!_0x354e38)return void 0x0;return{'process':_0x359d69(_0x354e38,[_0x352d03(_0x430b56._0x213ec8,-0x100,_0x430b56._0x9b8a22,-_0x430b56._0x2be164)],{'cwd':_0xe60075,'stdio':_0xde4554(_0x430b56._0x1d154d,_0x430b56._0x538b91,0xf4,0x211)}),'initialization':{'tsserver':{'path':_0x232e27}}};}},BiomeServer={'id':_0x2f0acf(0x454,0x39a,0x535,0x3e6),'name':_0x2f0acf(0x34b,0x45a,0x34c,0x2c1),'extensions':BIOME_EXTENSIONS,async 'root'(_0x23ffba){return findUp(_0x23ffba,BIOME_ROOT_MARKERS);},async 'spawn'(_0x2a242b){const _0x5dfd54={_0x3aa046:0x749,_0x54d67d:0x57f,_0x591e57:0x658,_0x88f628:0x5f2,_0x4de363:0x63,_0x558cb1:0xcc,_0x555e26:0x16f},_0x418fcc={_0x191484:0x217,_0x191d95:0x9d},_0x4f014f={_0x293133:0xd4,_0x420c69:0x1d5},_0x172a98=await findPackageBinary(_0xa6a569(0x66b,0x783,_0x5dfd54._0x3aa046,0x6d8),_0x2a242b)??await resolvePackageBinary({'packageName':'@biomejs/biome','binaryName':_0xa6a569(0x66b,_0x5dfd54._0x54d67d,_0x5dfd54._0x591e57,_0x5dfd54._0x88f628),'startDir':_0x2a242b});if(!_0x172a98)return void 0x0;function _0x3a5fd0(_0x512bc4,_0x480f53,_0x1d9195,_0x26efaf){return _0x4aa629(_0x512bc4-_0x4f014f._0x293133,_0x26efaf,_0x1d9195-_0x4f014f._0x420c69,_0x1d9195-0x9f);}function _0xa6a569(_0x6386fe,_0x326f5f,_0x977914,_0x3aa0f8){return _0x2f0acf(_0x6386fe-_0x418fcc._0x191484,_0x326f5f-_0x418fcc._0x191d95,_0x977914,_0x3aa0f8-0x15c);}return{'process':_0x359d69(_0x172a98,[_0x3a5fd0(-0x1e2,-_0x5dfd54._0x4de363,-0xc9,-0x9b),_0x3a5fd0(0x1c5,_0x5dfd54._0x558cb1,0x14e,_0x5dfd54._0x555e26)],{'cwd':_0x2a242b,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x5a4c13){const _0x428be6={_0x262d20:0x3eb,_0x13de99:0x525,_0x3ea8ec:0x3a8,_0x3ac6b5:0x66d,_0xf38f40:0x55a,_0x3b6317:0x50f},_0x3ace3a={_0x35649f:0x7a,_0x2d428c:0x7},_0x1d956a={_0x598e1d:0x60};function _0x5d00bd(_0x4816a4,_0x12830c,_0x4c24a1,_0x49c0c3){return _0x4aa629(_0x4816a4-0x6,_0x4816a4,_0x4c24a1-_0x1d956a._0x598e1d,_0x49c0c3-0x508);}function _0x387580(_0xae461e,_0xa2d744,_0x4d77dd,_0x543d94){return _0x4aa629(_0xae461e-_0x3ace3a._0x35649f,_0xae461e,_0x4d77dd-_0x3ace3a._0x2d428c,_0xa2d744-0x606);}const _0x49e53c=_0x4f421d[_0x387580(_0x428be6._0x262d20,0x49d,_0x428be6._0x13de99,_0x428be6._0x3ea8ec)](_0x5a4c13)[_0x5d00bd(0x345,0x34e,0x448,0x3c0)]();return BUILTIN_LSP_SERVERS[_0x5d00bd(_0x428be6._0x3ac6b5,_0x428be6._0xf38f40,_0x428be6._0x3b6317,0x5a1)](_0x21f18b=>_0x21f18b[_0x5d00bd(0x4c0,0x5c6,0x601,0x5e3)][_0x5d00bd(0x365,0x4a0,0x367,0x489)](_0x49e53c));}function stateKey(_0x21685b,_0xef02c){return _0xef02c+':'+_0x21685b['id'];}function diagnosticsKeyToPath(_0x1b897a){const _0x223048={_0xd5c510:0x3e9,_0x334c23:0x475,_0xd29266:0x2d4,_0x3f38d4:0x3a1},_0x407695={_0x487bdf:0x420};function _0x828b0c(_0x1f83b6,_0xad4b50,_0x75e808,_0x48ea40){return _0x4aa629(_0x1f83b6-0x14d,_0xad4b50,_0x75e808-0x1c4,_0x1f83b6-_0x407695._0x487bdf);}if(!_0x1b897a[_0x828b0c(_0x223048._0xd5c510,_0x223048._0x334c23,_0x223048._0xd29266,_0x223048._0x3f38d4)]('file://'))return _0x1b897a;return fileURLToPath(_0x1b897a);}function nextFileVersion(_0x1340c5,_0x5729cf){const _0x20684a={_0x31f5a7:0x3bf,_0x391205:0x4fb,_0x336531:0x51f,_0x375609:0x5e2,_0x3dda44:0x50b,_0x148057:0x40a,_0x3b6052:0x64d,_0x568a9f:0x5f9,_0x16a3e7:0x574},_0x56f6b6={_0x54b951:0x3ec},_0x52fd43={_0x5935a5:0x1f7};function _0x498bb8(_0x3da0f6,_0x24f5a4,_0x5f0de2,_0x190f99){return _0x2f0acf(_0x5f0de2-_0x52fd43._0x5935a5,_0x24f5a4-0x18c,_0x3da0f6,_0x190f99-0x7e);}function _0x45db43(_0x2ae733,_0x43a567,_0x2f43db,_0xbca7a7){return _0x4aa629(_0x2ae733-0x12,_0x2ae733,_0x2f43db-0x1c7,_0x43a567-_0x56f6b6._0x54b951);}const _0x452afc=(_0x1340c5[_0x45db43(0x3ef,_0x20684a._0x31f5a7,0x352,_0x20684a._0x391205)][_0x498bb8(_0x20684a._0x336531,_0x20684a._0x375609,_0x20684a._0x3dda44,_0x20684a._0x148057)](_0x5729cf)??0x1)+0x1;return _0x1340c5[_0x45db43(0x3bb,0x3bf,0x444,0x414)][_0x498bb8(_0x20684a._0x3b6052,0x6b1,_0x20684a._0x568a9f,_0x20684a._0x16a3e7)](_0x5729cf,_0x452afc),_0x452afc;}async function collectClientResults(_0x48ef17){const _0x32fc2a={_0x58a3ee:0x54,_0x2b8834:0x1d4},_0x469ce0={_0x29fb25:0x352};function _0x252153(_0x31a612,_0x378b61,_0x77414d,_0x18582b){return _0x2f0acf(_0x378b61- -_0x469ce0._0x29fb25,_0x378b61-0xe7,_0x18582b,_0x18582b-0x16);}function _0x1fd5d2(_0x217d77,_0x246205,_0x3987d1,_0x58be34){return _0x2f0acf(_0x217d77-0x94,_0x246205-_0x32fc2a._0x58a3ee,_0x246205,_0x58be34-_0x32fc2a._0x2b8834);}const _0x48a839=await Promise['allSettled'](_0x48ef17);return _0x48a839['flatMap'](_0x50766f=>_0x50766f[_0x1fd5d2(0x3ed,0x2f6,0x410,0x526)]===_0x1fd5d2(0x31a,0x40d,0x32c,0x458)?_0x50766f['value']:[]);}function createLspService(_0x4917a1={}){const _0x1f2cfa={_0x335d76:0x245,_0x4d15a5:0x244},_0x5586c5={_0x4c10cb:0x489,_0x397e9e:0x52c,_0xb30a5e:0x422,_0x44c6d1:0x282,_0x22fd9d:0x3ee,_0x4dab44:0x4cd,_0x1555ae:0x494,_0x551912:0x3a1,_0x3ac90b:0x494,_0x5737f8:0x4d0,_0x346612:0x43c,_0x4d0757:0x11c,_0x202926:0x18d,_0x39ea0d:0x4ca,_0x42a87f:0x48d,_0x4838e4:0x44f,_0x1ccbca:0x5aa},_0x73af96={_0x942055:0x21},_0x296659={_0x48d1c2:0xd},_0x4da914={_0x3e53e4:0x44a},_0x2547ab={_0x3d7432:0x65a,_0x1e5943:0x51f,_0x2d449f:0x120,_0x37bb8d:0x150,_0x3a552e:0x20d},_0x29ac73={_0x573214:0x175},_0x580e7b={_0x46787b:0x474,_0x43f461:0x2ea,_0x10aad0:0x3bf,_0x36794b:0x45c,_0x51e49c:0x408,_0x1541da:0x31d},_0x5ca25f={_0x49e6b6:0x320},_0x3f552f={_0x710415:0x13e,_0x342945:0xe7},_0x27c9c9={_0x43ff82:0x30,_0x1658d5:0x43,_0x52dd6e:0x1ad},_0x589095={_0x4a704c:0xe4},_0x27f51a={_0x1bf338:0x2ae},_0x1a0896={_0xc37941:0x209},_0x411c1e={_0x3f1dc5:0x293},_0x272e29={_0x183cbe:0x44,_0x45534f:0x42,_0x115f3b:0xd9},_0x4b108b={_0x299505:0x13a,_0x39bdfb:0x81,_0x602cc0:0xad,_0x51acc8:0x24e,_0xefffc2:0xd7},_0x4b8e88={_0x258818:0x4e0,_0x23771e:0x401,_0x132ef0:0x50d,_0x3d5db4:0x60b,_0x476e1c:0x41c,_0x39ca5e:0x56f,_0x469148:0x4e1,_0x39d7e1:0x4b3,_0x5a769e:0x55b,_0x10a242:0x644,_0x9f9575:0x61c,_0x5b3c2c:0x577,_0x268154:0x64d,_0x1b4c3b:0x60a,_0x19480e:0x541,_0x5d81d2:0x585,_0x2e9209:0x47a},_0x5eb9b5={_0x5526d3:0x4ad,_0x7fdca0:0x4ea,_0x219b4f:0x441,_0x4fc051:0x404,_0x1d9f9f:0x3e3,_0x374d30:0x312,_0x392804:0x4ec,_0x396a6b:0x3a2,_0x416f4a:0x3f4,_0x49d4b1:0x4f9,_0x519ce6:0x44c},_0x275ae8={_0x1ef200:0x56f,_0x3c9951:0x117,_0x36acca:0x11d,_0x5c5079:0x124,_0x1f979a:0x4b1,_0x205946:0x497,_0x357423:0x4a0,_0x19efd5:0x2e3,_0x511dfd:0x3ee,_0x559d00:0x3e,_0x54b541:0xef,_0x324972:0x10e,_0x320e93:0x4b,_0x3d3f0f:0xb0,_0x2f30f6:0x14c,_0x371659:0xf4,_0x155135:0x372,_0x5723e8:0x523},_0x48c09e={_0x1e4112:0x7,_0x45c2cc:0x244,_0x51b9de:0x3c9,_0x35a40d:0x303,_0x484ae6:0x437,_0x16574c:0x97,_0x210e18:0xec,_0x1b43f1:0x9b,_0xccc3c9:0x161,_0x1ca053:0x23,_0x78208e:0x148,_0x5ea693:0x3f8,_0x2df351:0x53d,_0x528a9d:0x1e2,_0x2d0c36:0x9b,_0x532949:0x8a,_0x577345:0x309,_0x2c0dc4:0x254,_0x3fbf6b:0x132,_0x8e0ed3:0x74,_0x5cc01d:0x1e7,_0x430134:0x17e,_0x2ddf8f:0x2cf,_0x34a1aa:0x3d6,_0x31bdaa:0x2c6,_0x24e11d:0x200,_0xa63dee:0x324,_0x5b5e9e:0x407},_0x29f99e={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x538179=()=>_0x4917a1['enabled']!==![];async function _0x1d6c59(_0x147feb,_0x58b00a){const _0x554dc7={_0x3b3abf:0x139},_0x550aee={_0x57c777:0x219},_0x3e4138=stateKey(_0x147feb,_0x58b00a),_0xb9cd=_0x29f99e[_0x165354(0x4d6,0x4f0,0x508,_0x275ae8._0x1ef200)][_0x4f9676(_0x275ae8._0x3c9951,_0x275ae8._0x36acca,0x145,_0x275ae8._0x5c5079)](_0x49a8c2=>_0x49a8c2['serverId']===_0x147feb['id']&&_0x49a8c2[_0x4f9676(0x146,0x14a,0xef,0x13b)]===_0x58b00a);if(_0xb9cd)return _0xb9cd;if(_0x29f99e[_0x165354(_0x275ae8._0x1f979a,0x453,_0x275ae8._0x205946,_0x275ae8._0x357423)][_0x165354(_0x275ae8._0x19efd5,0x49a,_0x275ae8._0x511dfd,0x40b)](_0x3e4138))return void 0x0;function _0x165354(_0x12a7e5,_0x93752d,_0x54af87,_0x417a4c){return _0x561a(_0x54af87-0x265,_0x93752d);}const _0xdc6fd1=_0x29f99e[_0x4f9676(-_0x275ae8._0x559d00,_0x275ae8._0x54b541,-_0x275ae8._0x324972,_0x275ae8._0x320e93)][_0x4f9676(0x10,-_0x275ae8._0x3d3f0f,_0x275ae8._0x2f30f6,_0x275ae8._0x371659)](_0x3e4138);function _0x4f9676(_0x2f3134,_0x5048b6,_0x440543,_0x435521){return _0x561a(_0x2f3134- -_0x550aee._0x57c777,_0x440543);}if(_0xdc6fd1)return _0xdc6fd1;const _0x351179=((async()=>{const _0x862b5a={_0x56fdf7:0x32};function _0x3859e5(_0x592644,_0x4d8fda,_0x3823d6,_0xe815d7){return _0x165354(_0x592644-0x39,_0x3823d6,_0x592644- -0x5a3,_0xe815d7-_0x862b5a._0x56fdf7);}function _0x5b6867(_0x25e740,_0x54fafc,_0x1c1379,_0x423a9d){return _0x165354(_0x25e740-_0x554dc7._0x3b3abf,_0x25e740,_0x1c1379- -0x194,_0x423a9d-0x5b);}try{const _0x489e1b=await _0x147feb[_0x3859e5(-0xd5,-0x130,-0x106,_0x48c09e._0x1e4112)](_0x58b00a);if(!_0x489e1b)return _0x29f99e[_0x5b6867(_0x48c09e._0x45c2cc,_0x48c09e._0x51b9de,_0x48c09e._0x35a40d,_0x48c09e._0x484ae6)][_0x3859e5(-0x149,-_0x48c09e._0x16574c,-0x6a,-_0x48c09e._0x210e18)](_0x3e4138),void 0x0;const _0x505340=await createLspClient({'server':_0x147feb,'root':_0x58b00a,'handle':_0x489e1b}),_0x4c5733=_0x29f99e[_0x3859e5(-_0x48c09e._0x1b43f1,-_0x48c09e._0xccc3c9,-_0x48c09e._0x1ca053,-_0x48c09e._0x78208e)][_0x5b6867(_0x48c09e._0x5ea693,0x4a6,0x401,_0x48c09e._0x2df351)](_0x4cf3ed=>_0x4cf3ed[_0x3859e5(0x20,0xb4,0x119,0x44)]===_0x147feb['id']&&_0x4cf3ed[_0x5b6867(0x43c,0x563,0x430,0x522)]===_0x58b00a);if(_0x4c5733)return await _0x505340[_0x5b6867(0xb5,0x197,_0x48c09e._0x528a9d,0x1be)](),_0x4c5733;return _0x29f99e[_0x3859e5(-_0x48c09e._0x2d0c36,-0x53,-_0x48c09e._0x532949,-0x193)][_0x5b6867(0x388,_0x48c09e._0x577345,_0x48c09e._0x2c0dc4,_0x48c09e._0x3fbf6b)](_0x505340),_0x505340;}catch{return _0x29f99e[_0x3859e5(-0x10c,-_0x48c09e._0x8e0ed3,-_0x48c09e._0x5cc01d,-_0x48c09e._0x430134)][_0x5b6867(_0x48c09e._0x2ddf8f,_0x48c09e._0x34a1aa,_0x48c09e._0x31bdaa,_0x48c09e._0x24e11d)](_0x3e4138),void 0x0;}finally{_0x29f99e[_0x3859e5(-0x163,-0x106,-0x27b,-0x126)][_0x5b6867(_0x48c09e._0xa63dee,_0x48c09e._0x5b5e9e,0x310,0x2c7)](_0x3e4138);}})());return _0x29f99e[_0x165354(0x41a,_0x275ae8._0x155135,0x440,0x36e)][_0x165354(0x56e,0x505,0x57c,_0x275ae8._0x5723e8)](_0x3e4138,_0x351179),_0x351179;}async function _0x498a99(_0x1c232a,_0x27d143){function _0x3fc3ee(_0x359345,_0x49199c,_0x12e15a,_0x373bfc){return _0x561a(_0x359345-0x27b,_0x49199c);}if(!_0x538179())return[];const _0x329a9c=[];function _0x45215b(_0x33bc50,_0x1d36ee,_0x4c3346,_0x335be3){return _0x561a(_0x4c3346-0x151,_0x33bc50);}for(const _0x17babc of getServersForFile(_0x1c232a)){const _0x578e95=await _0x17babc['root'](_0x1c232a);if(!_0x578e95)continue;const _0x5e0399=stateKey(_0x17babc,_0x578e95);if(_0x29f99e[_0x3fc3ee(_0x5eb9b5._0x5526d3,_0x5eb9b5._0x7fdca0,_0x5eb9b5._0x219b4f,0x598)][_0x3fc3ee(_0x5eb9b5._0x4fc051,_0x5eb9b5._0x1d9f9f,0x441,_0x5eb9b5._0x374d30)](_0x5e0399))continue;const _0x1ba67f=_0x29f99e[_0x45215b(_0x5eb9b5._0x392804,_0x5eb9b5._0x396a6b,_0x5eb9b5._0x416f4a,_0x5eb9b5._0x49d4b1)][_0x3fc3ee(0x5ab,0x47a,0x50f,0x534)](_0x4c6a69=>_0x4c6a69[_0x45215b(0x43b,0x596,0x4af,0x5c7)]===_0x17babc['id']&&_0x4c6a69[_0x45215b(0x4e4,0x5a8,0x4b0,0x3a6)]===_0x578e95);if(_0x1ba67f){_0x329a9c['push'](_0x1ba67f);continue;}if(!_0x27d143)continue;const _0x50bc2e=await _0x1d6c59(_0x17babc,_0x578e95);if(_0x50bc2e)_0x329a9c[_0x3fc3ee(0x3fe,_0x5eb9b5._0x519ce6,0x4c1,0x38e)](_0x50bc2e);}return _0x329a9c;}async function _0x2f96a3(_0xf719c0,_0x533b93=![]){const _0x47f33f={_0x40ed3e:0x6c3},_0x6f564f={_0x282298:0x1d2};function _0x2c8d13(_0x42b8dd,_0x12def9,_0x5cedec,_0x1a59bd){return _0x561a(_0x42b8dd- -0x33c,_0x12def9);}function _0x8848a(_0x1b9ce5,_0x16ef53,_0x4f72f8,_0x112fdd){return _0x561a(_0x4f72f8- -_0x6f564f._0x282298,_0x1b9ce5);}const _0x8bf51f=await _0x498a99(_0xf719c0,!![]);await Promise[_0x8848a(-0x57,-_0x4b108b._0x299505,-_0x4b108b._0x39bdfb,_0x4b108b._0x602cc0)](_0x8bf51f[_0x2c8d13(-0x1f9,-_0x4b108b._0x51acc8,-_0x4b108b._0xefffc2,-0xf3)](async _0x1015d9=>{const _0x32f5fc={_0x26eaf8:0x147};function _0x430096(_0x32dd26,_0x425b0d,_0x4c205e,_0x2d948b){return _0x8848a(_0x2d948b,_0x425b0d-0x19f,_0x425b0d-0x393,_0x2d948b-_0x32f5fc._0x26eaf8);}function _0x5a1c5a(_0x47dea7,_0x28afae,_0x3c5e73,_0x352e40){return _0x2c8d13(_0x3c5e73-_0x47f33f._0x40ed3e,_0x352e40,_0x3c5e73-0x1d3,_0x352e40-0x1d0);}!_0x29f99e[_0x430096(0x600,0x4c5,_0x4b8e88._0x258818,_0x4b8e88._0x23771e)][_0x5a1c5a(_0x4b8e88._0x132ef0,_0x4b8e88._0x3d5db4,0x510,0x3f5)](_0x1015d9[_0x430096(0x61a,0x51f,0x45e,_0x4b8e88._0x476e1c)]+':'+_0x1015d9['root']+':'+_0xf719c0)&&(await _0x1015d9['notify'][_0x5a1c5a(_0x4b8e88._0x39ca5e,_0x4b8e88._0x469148,_0x4b8e88._0x39d7e1,0x596)]({'path':_0xf719c0}),_0x29f99e[_0x430096(0x3cd,0x4c5,0x42a,_0x4b8e88._0x5a769e)]['add'](_0x1015d9[_0x430096(_0x4b8e88._0x10a242,0x51f,0x3f5,0x592)]+':'+_0x1015d9[_0x430096(_0x4b8e88._0x9f9575,0x520,_0x4b8e88._0x5b3c2c,0x48c)]+':'+_0xf719c0));await _0x1015d9[_0x5a1c5a(0x660,_0x4b8e88._0x268154,0x577,_0x4b8e88._0x1b4c3b)][_0x5a1c5a(_0x4b8e88._0x19480e,0x46c,_0x4b8e88._0x5d81d2,_0x4b8e88._0x3d5db4)]({'path':_0xf719c0,'version':nextFileVersion(_0x29f99e,_0xf719c0)});if(_0x533b93)await _0x1015d9[_0x5a1c5a(0x52a,_0x4b8e88._0x2e9209,0x533,0x567)]({'path':_0xf719c0});}));}async function _0x376013(_0x2f28f8){const _0x195ec6={_0x4c7ba4:0x238};await _0x2f96a3(_0x2f28f8['file'],![]);function _0x2f310f(_0x5432c3,_0x1229c1,_0x3f4ba2,_0x4b0ea0){return _0x561a(_0x1229c1- -_0x195ec6._0x4c7ba4,_0x3f4ba2);}return _0x498a99(_0x2f28f8[_0x2f310f(-_0x272e29._0x183cbe,-_0x272e29._0x45534f,-0x5d,_0x272e29._0x115f3b)],![]);}async function _0x35bd37(_0x4e286e){const _0x5c7933=await _0x376013(_0x4e286e);function _0x58ad14(_0x1b42b0,_0x1d9188,_0x439cec,_0x20c886){return _0x561a(_0x439cec-_0x411c1e._0x3f1dc5,_0x1b42b0);}function _0x3faba3(_0x3d2e0f,_0x5f41f2,_0x320ab5,_0x2c84cb){return _0x561a(_0x3d2e0f-_0x1a0896._0xc37941,_0x320ab5);}return collectClientResults(_0x5c7933[_0x58ad14(0x2f0,_0x27f51a._0x1bf338,0x3d6,0x4c0)](_0x40b0b3=>_0x40b0b3[_0x3faba3(0x552,0x431,0x68b,0x5ed)][_0x3faba3(0x458,0x45e,0x3e0,0x358)](_0x4e286e)));}return{'isEnabled':_0x538179,async 'hasClients'(_0x5f4b15){function _0x4c83af(_0x51b29e,_0x35dc1d,_0x28db56,_0x197717){return _0x561a(_0x197717- -0xf9,_0x51b29e);}function _0x3bf73a(_0x350aea,_0x208cf8,_0x35a81f,_0x2c9518){return _0x561a(_0x35a81f- -_0x589095._0x4a704c,_0x350aea);}return(await _0x498a99(_0x5f4b15,![]))[_0x4c83af(-_0x27c9c9._0x43ff82,0x77,-_0x27c9c9._0x1658d5,0xdf)]>0x0||getServersForFile(_0x5f4b15)[_0x3bf73a(0x21d,-0xc,0xf4,_0x27c9c9._0x52dd6e)]>0x0;},'touchFile':_0x2f96a3,async 'diagnostics'(){function _0x146335(_0x24b260,_0x479af2,_0x1a9242,_0x19147d){return _0x561a(_0x24b260- -0xe8,_0x19147d);}const _0x268f19={};for(const _0xd06b17 of _0x29f99e[_0x146335(0x1bb,_0x3f552f._0x710415,0x17a,_0x3f552f._0x342945)]){for(const [_0x3baa02,_0xeaeb7b]of _0xd06b17['diagnostics']){_0x268f19[diagnosticsKeyToPath(_0x3baa02)]=_0xeaeb7b;}}return _0x268f19;},async 'diagnosticsForFile'(_0x3f6823){await _0x2f96a3(_0x3f6823,!![]);function _0x19b6b4(_0x301b58,_0x561e0c,_0x2f720c,_0x10e885){return _0x561a(_0x301b58-0x92,_0x561e0c);}const _0x2a3ae7=[];for(const _0x9adbc3 of await _0x498a99(_0x3f6823,![])){for(const [_0x1c78ff,_0x8acb2b]of _0x9adbc3['diagnostics']){if(diagnosticsKeyToPath(_0x1c78ff)===_0x3f6823)_0x2a3ae7[_0x19b6b4(0x215,_0x5ca25f._0x49e6b6,0x188,0x230)](..._0x8acb2b);}}return _0x2a3ae7;},async 'definition'(_0x13f1e8){function _0x10bf1c(_0x299ce8,_0x53a0b0,_0x2bcdca,_0x46c20b){return _0x561a(_0x46c20b- -0x289,_0x53a0b0);}return collectClientResults((await _0x376013(_0x13f1e8))['map'](_0x7d35b5=>_0x7d35b5[_0x10bf1c(-0x61,0x9c,0xa,0xc0)]['definition'](_0x13f1e8)));},async 'references'(_0x2b0004){const _0x46d1fd={_0x560ee8:0x2f8};function _0x47bd96(_0x2caf96,_0x232662,_0x451438,_0x50585c){return _0x561a(_0x50585c-_0x46d1fd._0x560ee8,_0x451438);}return collectClientResults((await _0x376013(_0x2b0004))['map'](_0x141c79=>_0x141c79['request'][_0x47bd96(0x517,0x4bc,0x508,0x434)](_0x2b0004)));},async 'hover'(_0x33b579){function _0x522030(_0x276e20,_0xc540b9,_0x33825d,_0x10603f){return _0x561a(_0xc540b9-0x1f9,_0x33825d);}const _0x395dcc=await Promise[_0x522030(_0x580e7b._0x46787b,0x408,_0x580e7b._0x43f461,_0x580e7b._0x10aad0)]((await _0x376013(_0x33b579))[_0x1fe9fb(0x315,_0x580e7b._0x36794b,_0x580e7b._0x51e49c,_0x580e7b._0x1541da)](_0x542be7=>_0x542be7[_0x1fe9fb(0x578,0x4c1,0x3db,0x523)][_0x522030(0x4c1,0x537,0x506,0x40f)](_0x33b579)));function _0x1fe9fb(_0x1528ae,_0x48baf9,_0x1504d9,_0x585938){return _0x561a(_0x585938-0x1da,_0x48baf9);}return _0x395dcc[_0x522030(0x50d,0x47e,0x3c4,0x4e0)](_0x2c5fd9=>_0x2c5fd9[_0x1fe9fb(0x475,0x349,0x540,0x448)]===_0x1fe9fb(0x498,0x2a0,0x2ed,0x375)&&_0x2c5fd9['value']?[_0x2c5fd9[_0x1fe9fb(0x3e3,0x35b,0x30c,0x328)]]:[]);},async 'documentSymbol'(_0x29e0a1){const _0x3e09d7={_0x18c8fc:0x2a0};function _0x52abc8(_0xbbf593,_0x579100,_0x4fb5d1,_0xf93950){return _0x561a(_0x579100-_0x3e09d7._0x18c8fc,_0xbbf593);}function _0x5afd8e(_0x4357dd,_0x2cbf04,_0x448287,_0x1ad9fb){return _0x561a(_0x4357dd- -_0x29ac73._0x573214,_0x2cbf04);}return await _0x2f96a3(_0x29e0a1,![]),collectClientResults((await _0x498a99(_0x29e0a1,![]))['map'](_0x37510f=>_0x37510f[_0x52abc8(0x692,0x5e9,0x649,0x4fa)][_0x5afd8e(0x60,0x3e,-0x9f,0x158)](_0x29e0a1)));},async 'workspaceSymbol'(_0x358a88){const _0xa77915={_0x250b22:0x2f6};function _0x25da54(_0x50a47f,_0x581686,_0x4abb31,_0x4460fd){return _0x561a(_0x581686-0xd,_0x4abb31);}function _0x244de4(_0x29b73e,_0x1f76cd,_0x540d0b,_0x2001ae){return _0x561a(_0x1f76cd-_0xa77915._0x250b22,_0x29b73e);}return collectClientResults(_0x29f99e[_0x244de4(0x62c,0x599,_0x2547ab._0x3d7432,_0x2547ab._0x1e5943)][_0x25da54(_0x2547ab._0x2d449f,_0x2547ab._0x37bb8d,0xd2,_0x2547ab._0x3a552e)](_0x1e993=>_0x1e993[_0x25da54(0x275,0x356,0x495,0x226)][_0x244de4(0x561,0x4e4,0x5c9,0x620)](_0x358a88)));},async 'implementation'(_0x2397bc){const _0x4207bb={_0x3d26da:0x30f};function _0x14e1ea(_0x1e304f,_0x2c0dee,_0x5e9c64,_0x549bee){return _0x561a(_0x5e9c64-0xca,_0x549bee);}function _0x146684(_0x4570f9,_0x562638,_0x5a1cfe,_0x68830d){return _0x561a(_0x4570f9-_0x4207bb._0x3d26da,_0x562638);}return collectClientResults((await _0x376013(_0x2397bc))['map'](_0x573044=>_0x573044[_0x14e1ea(0x535,0x552,0x413,0x4d1)][_0x14e1ea(0x342,0x32c,0x40a,0x314)](_0x2397bc)));},async 'prepareCallHierarchy'(_0x3b4c38){return _0x35bd37(_0x3b4c38);},async 'incomingCalls'(_0x4e2c0d){const _0xbdc72d=await _0x35bd37(_0x4e2c0d),_0x4ac9f6=await _0x376013(_0x4e2c0d);function _0x598bfa(_0x49de72,_0x5e73a8,_0x1e901b,_0x286cd5){return _0x561a(_0x286cd5-0x111,_0x1e901b);}return collectClientResults(_0x4ac9f6[_0x598bfa(0x443,_0x4da914._0x3e53e4,0x4bd,0x396)](_0x25ed89=>_0xbdc72d['map'](_0x3a91b6=>_0x25ed89['request']['incomingCalls'](_0x3a91b6))));},async 'outgoingCalls'(_0xe7ac97){function _0x2df09d(_0x4d33ea,_0x3b97aa,_0x1dfa8f,_0x383d63){return _0x561a(_0x1dfa8f- -0x327,_0x4d33ea);}function _0x34757d(_0x2f3b57,_0x3d2eca,_0x502096,_0x598a92){return _0x561a(_0x3d2eca- -0x22d,_0x2f3b57);}const _0x1cb97c=await _0x35bd37(_0xe7ac97),_0x101cd6=await _0x376013(_0xe7ac97);return collectClientResults(_0x101cd6[_0x2df09d(-0x1db,0x40,-0xa2,-_0x296659._0x48d1c2)](_0x2b3df6=>_0x1cb97c[_0x34757d(-0x148,-0xea,-0x8e,0x3)](_0x5b9010=>_0x2b3df6['request'][_0x2df09d(-0x265,-0x66,-0x19b,-0x145)](_0x5b9010))));},async 'shutdown'(){const _0x1a0251={_0x3f2cb3:0x2ab};if(_0x29f99e[_0x35a64d(0x41b,_0x5586c5._0x4c10cb,0x497,_0x5586c5._0x397e9e)])return;_0x29f99e[_0x35a64d(0x41b,0x340,_0x5586c5._0xb30a5e,0x50e)]=!![],await Promise['allSettled'](_0x29f99e[_0x3c3e74(0x1a8,0x21c,_0x5586c5._0x44c6d1,0x30c)][_0x35a64d(_0x5586c5._0x22fd9d,0x4aa,0x2e1,_0x5586c5._0x4dab44)](_0xee34c8=>_0xee34c8[_0x35a64d(0x3bc,0x41c,0x3cb,0x41e)]())),_0x29f99e[_0x3c3e74(0x318,0x15d,0x282,0x2d5)]=[];function _0x35a64d(_0x557768,_0x2765d1,_0x43501a,_0xb5cf82){return _0x561a(_0x557768-_0x1a0251._0x3f2cb3,_0x2765d1);}_0x29f99e[_0x3c3e74(0xf1,0x16e,0x1ba,0x2bf)]['clear']();function _0x3c3e74(_0x2b2ca7,_0x71bb8d,_0x421dae,_0x200742){return _0x561a(_0x421dae- -_0x73af96._0x942055,_0x71bb8d);}_0x29f99e[_0x35a64d(0x4dd,0x424,0x430,0x61b)][_0x35a64d(_0x5586c5._0x1555ae,_0x5586c5._0x551912,_0x5586c5._0x3ac90b,0x38f)](),_0x29f99e[_0x35a64d(_0x5586c5._0x5737f8,_0x5586c5._0x346612,0x41e,0x583)][_0x3c3e74(_0x5586c5._0x4d0757,_0x5586c5._0x202926,0x1c8,0x142)](),_0x29f99e[_0x35a64d(0x5af,_0x5586c5._0x39ea0d,0x53d,_0x5586c5._0x42a87f)][_0x35a64d(0x494,_0x5586c5._0x4838e4,_0x5586c5._0x1ccbca,0x4ec)]();},'status'(){function _0x5a9dda(_0x43d02e,_0x513ae3,_0x240cdb,_0x4ec1c1){return _0x561a(_0x4ec1c1- -0x5f,_0x43d02e);}return{'connectedClients':_0x29f99e[_0x5a9dda(0x2a9,0xfc,_0x1f2cfa._0x335d76,_0x1f2cfa._0x4d15a5)]['length']};}};}function createQuestionId(){const _0x9a7dc2={_0x14a772:0x53d,_0x573c5e:0x620,_0x16a2b5:0x741,_0x54cba7:0x16f,_0x2a45ab:0x5e2,_0x55ac79:0x67b,_0xba5a1f:0x463},_0x291f79={_0x3e3f03:0x113,_0x4ea547:0x563},_0x184d5d={_0x48d7b2:0xa1,_0x1da8af:0x3b5};function _0x39a963(_0x28ec32,_0x46e0bc,_0x3d1cb5,_0x1be18e){return _0x4aa629(_0x28ec32-0x1de,_0x46e0bc,_0x3d1cb5-_0x184d5d._0x48d7b2,_0x3d1cb5-_0x184d5d._0x1da8af);}function _0x524d98(_0x5a0c81,_0x238433,_0xf1f18,_0x2014e0){return _0x4aa629(_0x5a0c81-_0x291f79._0x3e3f03,_0x5a0c81,_0xf1f18-0x19e,_0xf1f18-_0x291f79._0x4ea547);}return'question-'+Date[_0x524d98(0x62d,_0x9a7dc2._0x14a772,_0x9a7dc2._0x573c5e,_0x9a7dc2._0x16a2b5)]()+'-'+Math[_0x39a963(_0x9a7dc2._0x54cba7,0x129,0x251,0x333)]()[_0x524d98(_0x9a7dc2._0x2a45ab,0x5cf,_0x9a7dc2._0x55ac79,0x795)](0x24)[_0x524d98(0x511,0x551,_0x9a7dc2._0xba5a1f,0x4c9)](0x2,0x9);}function validateInput(_0x330bfb){const _0x140c14={_0x4d4960:0xd2,_0x594ac8:0x209,_0x5f477a:0x6e3,_0x509a69:0x660,_0x4af163:0x531,_0x23cce1:0xe2,_0x528bbb:0x17,_0x2e93cd:0x114,_0x17d36d:0x14f,_0x12ba66:0x74b,_0x1ec573:0x54c,_0x2a610b:0x7c6,_0x567535:0x715,_0x4dbc7e:0x790,_0x517ab3:0x1a7,_0x31d367:0x140,_0x523299:0x657,_0xb2e46d:0x776,_0x2028b6:0x1aa,_0x5e648b:0x17e,_0x225147:0x21,_0x4a5c42:0x5b4,_0x39e47a:0x551,_0x5dfb0f:0x734,_0x14629d:0x71c,_0x40ace0:0x83b,_0x2e4ad9:0x707,_0x41a2db:0x566,_0x17f4ff:0x5aa,_0x2c6e49:0x4f6,_0x3cfd76:0x278,_0x17f036:0x2fe,_0x21976a:0x5bd,_0x4865d6:0x586,_0x5eaded:0x685,_0xe2ca7e:0x523,_0x15ab8c:0x548,_0x39a4a4:0x681,_0x2d4282:0x544,_0x269607:0x13d,_0x58f327:0x255,_0x31f302:0x5dd,_0x14dc45:0x2b7,_0x2275d1:0x19b,_0x12bde9:0x186,_0x6d4a83:0x586,_0x2af43f:0xc2,_0x441ad0:0x1fe,_0x13ee24:0x14c,_0x1abd72:0x5c,_0x15d8c7:0x15f,_0x1806d8:0xb5,_0x3520ce:0x1cb,_0xfe0a62:0x12d,_0x494174:0x15d,_0x2e4292:0xe2,_0x2829e1:0xb8,_0x314d37:0x179,_0x4204a5:0x183,_0x28c0a6:0x2aa,_0x4aa0cb:0xc2,_0x1cf96a:0x4c,_0x10943c:0x64a,_0x3e5802:0x75b,_0xa0ddca:0x176,_0x5ebb06:0x182,_0x3596f8:0x5b8,_0x234302:0x52f,_0x118cc4:0x27,_0x13e9f9:0x1ee,_0x1be158:0xb5,_0x44640c:0x20a},_0x1e24a6={_0x4f948c:0x197,_0x42e414:0x15c},_0x2b6ba5={_0x8bb306:0x2c3};function _0xeb84c8(_0x44f920,_0x49256b,_0x65c8b9,_0x26b56f){return _0x2f0acf(_0x49256b-_0x2b6ba5._0x8bb306,_0x49256b-0x1d7,_0x44f920,_0x26b56f-0x175);}function _0x34aa6b(_0x4a51b5,_0x19a228,_0x2a0253,_0x243d21){return _0x4aa629(_0x4a51b5-_0x1e24a6._0x4f948c,_0x19a228,_0x2a0253-0x173,_0x4a51b5-_0x1e24a6._0x42e414);}if(!Array[_0x34aa6b(0x1dd,0xb4,_0x140c14._0x4d4960,_0x140c14._0x594ac8)](_0x330bfb['questions'])||_0x330bfb[_0xeb84c8(_0x140c14._0x5f477a,0x65b,_0x140c14._0x509a69,_0x140c14._0x4af163)][_0x34aa6b(_0x140c14._0x23cce1,0x1a2,-_0x140c14._0x528bbb,0x1dc)]<0x1||_0x330bfb['questions'][_0x34aa6b(0xe2,_0x140c14._0x2e93cd,_0x140c14._0x17d36d,0x17d)]>0x4)throw new ToolExecutionError(_0xeb84c8(0x5d1,0x645,_0x140c14._0x12ba66,_0x140c14._0x1ec573),{'error':_0xeb84c8(_0x140c14._0x2a610b,_0x140c14._0x567535,0x74b,_0x140c14._0x4dbc7e)});for(let _0x2d18e4=0x0;_0x2d18e4<_0x330bfb[_0xeb84c8(0x640,0x65b,0x642,0x567)]['length'];_0x2d18e4+=0x1){const _0x1feec1=_0x330bfb['questions'][_0x2d18e4];if(!_0x1feec1[_0x34aa6b(_0x140c14._0x517ab3,_0x140c14._0x31d367,0x2aa,0x2ca)]||typeof _0x1feec1[_0xeb84c8(0x5f8,0x64b,_0x140c14._0x523299,_0x140c14._0xb2e46d)]!==_0x34aa6b(_0x140c14._0x2028b6,0x85,_0x140c14._0x5e648b,0x76))throw new ToolExecutionError(_0x34aa6b(0xc2,-0x69,-_0x140c14._0x225147,0x12b)+(_0x2d18e4+0x1)+_0xeb84c8(_0x140c14._0x4a5c42,0x4a4,0x421,_0x140c14._0x39e47a));if(!_0x1feec1['header']||typeof _0x1feec1[_0xeb84c8(_0x140c14._0x5dfb0f,_0x140c14._0x14629d,_0x140c14._0x40ace0,0x5eb)]!==_0xeb84c8(0x680,0x64e,_0x140c14._0x2e4ad9,0x514))throw new ToolExecutionError(_0xeb84c8(0x5d0,_0x140c14._0x41a2db,0x4b3,_0x140c14._0x17f4ff)+(_0x2d18e4+0x1)+_0xeb84c8(0x739,0x5fc,_0x140c14._0x2c6e49,0x508));if(_0x1feec1[_0x34aa6b(_0x140c14._0x3cfd76,0x20c,0x2af,_0x140c14._0x17f036)][_0xeb84c8(_0x140c14._0x21976a,_0x140c14._0x4865d6,_0x140c14._0x5eaded,0x562)]>0x14)throw new ToolExecutionError('Question\x20'+(_0x2d18e4+0x1)+':\x20\x22header\x22\x20must\x20be\x20max\x2020\x20characters,\x20got\x20'+_0x1feec1['header'][_0xeb84c8(_0x140c14._0xe2ca7e,0x586,0x62f,0x63a)]);if(!Array[_0xeb84c8(_0x140c14._0x15ab8c,_0x140c14._0x39a4a4,0x5a3,_0x140c14._0x2d4282)](_0x1feec1[_0x34aa6b(0x1cb,0x26c,_0x140c14._0x269607,_0x140c14._0x58f327)])||_0x1feec1['options'][_0xeb84c8(0x631,0x586,_0x140c14._0x31f302,0x488)]<0x2||_0x1feec1[_0x34aa6b(0x1cb,_0x140c14._0x14dc45,_0x140c14._0x2275d1,_0x140c14._0x12bde9)][_0xeb84c8(0x62b,_0x140c14._0x6d4a83,0x542,0x68f)]>0x4)throw new ToolExecutionError(_0x34aa6b(_0x140c14._0x2af43f,_0x140c14._0x441ad0,_0x140c14._0x13ee24,_0x140c14._0x1abd72)+(_0x2d18e4+0x1)+_0x34aa6b(_0x140c14._0x15d8c7,0x1b2,_0x140c14._0x1806d8,0x26c));for(let _0x2acdc9=0x0;_0x2acdc9<_0x1feec1[_0x34aa6b(_0x140c14._0x3520ce,_0x140c14._0xfe0a62,0x30b,_0x140c14._0x494174)][_0x34aa6b(_0x140c14._0x2e4292,_0x140c14._0x2829e1,0x148,_0x140c14._0x314d37)];_0x2acdc9+=0x1){const _0x782ca2=_0x1feec1[_0x34aa6b(0x1cb,0xe9,0xd6,_0x140c14._0x4204a5)][_0x2acdc9];if(!_0x782ca2[_0x34aa6b(0x212,0x272,_0x140c14._0x28c0a6,0x12f)]||!_0x782ca2['description'])throw new ToolExecutionError(_0x34aa6b(_0x140c14._0x4aa0cb,-0x73,0x17c,-_0x140c14._0x1cf96a)+(_0x2d18e4+0x1)+_0xeb84c8(0x6e0,_0x140c14._0x10943c,0x56b,_0x140c14._0x3e5802)+(_0x2acdc9+0x1)+_0x34aa6b(0xfd,_0x140c14._0xa0ddca,_0x140c14._0x5ebb06,0x1b8));}if(typeof _0x1feec1[_0xeb84c8(0x4ba,0x5cc,_0x140c14._0x3596f8,_0x140c14._0x234302)]!=='boolean')throw new ToolExecutionError(_0x34aa6b(0xc2,0x13f,_0x140c14._0x118cc4,0x190)+(_0x2d18e4+0x1)+_0x34aa6b(_0x140c14._0x13e9f9,0x12b,_0x140c14._0x1be158,_0x140c14._0x44640c));}}function buildQuestions(_0x4a64eb){const _0x54f9e9={_0x61bcb2:0x118};function _0x11d3fc(_0x194a8a,_0x44e4ae,_0x55cd96,_0x11b1e3){return _0x2f0acf(_0x55cd96- -0x3c3,_0x44e4ae-0x1f3,_0x194a8a,_0x11b1e3-0x91);}function _0x96e420(_0x1073ba,_0x1a7e9c,_0x4370e8,_0x3da87b){return _0x4aa629(_0x1073ba-_0x54f9e9._0x61bcb2,_0x1073ba,_0x4370e8-0xf9,_0x4370e8-0x50f);}return _0x4a64eb['questions']['map']((_0x22679b,_0x387a44)=>({'id':'q'+_0x387a44,'question':_0x22679b[_0x96e420(0x528,0x4eb,0x55a,0x47f)],'header':_0x22679b['header'],'options':_0x22679b[_0x11d3fc(0x5,0x30,-0x17,-0x81)],'multiSelect':_0x22679b['multiSelect']}));}function createResult(_0x4132c0,_0xccf3dc,_0x1b7a29){const _0x7c740e={_0x99e413:0x46d,_0x237760:0x575,_0x3123d7:0x4b5,_0x4228b0:0x529,_0x5a30ef:0x431,_0x53a9c2:0x37e},_0x418513={_0x44de79:0xa6},_0x31e8a4={_0x1cd644:0x1e0,_0x16040e:0xbc},_0x2e732b={'questionId':_0x4132c0,'questionCount':_0xccf3dc,'answers':_0x1b7a29};function _0x55cfdb(_0x226fe5,_0x577628,_0x7042e9,_0xe650c4){return _0x4aa629(_0x226fe5-_0x31e8a4._0x1cd644,_0x226fe5,_0x7042e9-_0x31e8a4._0x16040e,_0x7042e9-0x5d1);}function _0x12bdbf(_0x3b2165,_0x388a7e,_0x4d3169,_0x5dad12){return _0x4aa629(_0x3b2165-0x145,_0x4d3169,_0x4d3169-_0x418513._0x44de79,_0x388a7e-0x4a1);}return createToolOutput(_0x55cfdb(_0x7c740e._0x99e413,_0x7c740e._0x237760,_0x7c740e._0x3123d7,_0x7c740e._0x4228b0)+JSON[_0x12bdbf(_0x7c740e._0x5a30ef,0x468,0x3a5,_0x7c740e._0x53a9c2)](_0x1b7a29,null,0x2),_0x2e732b);}function createAskUserTool(){const _0x712520={_0x252a86:0x32e,_0x12c0d0:0x1b5,_0x58e873:0xec,_0x1c2af4:0x203,_0x1b6d05:0x170,_0x3588c5:0x13c,_0x112ed6:0x57,_0x1bae29:0x23,_0x54da63:0x13d,_0x7a958d:0xb2,_0x49ae61:0x181,_0x2aed7e:0x77,_0x1f93e1:0x1e9,_0x4947a9:0x12a,_0x213965:0x1c8,_0x231c58:0xd1,_0x21229e:0x9d,_0x563b62:0xba,_0x2c99aa:0x8d,_0xf225a4:0x102,_0x1af6bc:0x140,_0xd97b4f:0x7b,_0x506beb:0x1d5,_0x1db3d0:0x156,_0x225ae8:0x19d,_0x52ce9d:0x202,_0x1d5449:0xbd,_0x1bf1bc:0x3c,_0x3e4342:0xfe,_0x3cc58f:0x11c,_0x29a446:0x198,_0x231ca0:0x74},_0x46fe0e={_0x296a76:0x5f6,_0x42ab0e:0x581,_0x5229d8:0x684,_0xcf22cc:0x4cc,_0x4bc746:0x536,_0x2d6584:0x49d,_0x28c929:0x6b7,_0xc0cafc:0x4c4,_0x3ec666:0x460,_0x35e64b:0x340,_0x54c3f7:0x60b,_0x33ecd1:0x478,_0x386ede:0x482,_0x6d5be:0x425,_0x2ecda8:0x46a,_0x97d72f:0x572,_0x44e0d5:0x1be,_0x2558b5:0x133,_0xd63717:0x10a},_0x45f9cc={_0x50b2b8:0x61f,_0x581b5:0x99},_0x381607={_0x2b838c:0xe6,_0x3b8ff9:0x152},_0x170a9b={_0x3646e3:0x4c8,_0x26ff3b:0x1c4};function _0x4708d7(_0x386227,_0x253a59,_0x135fa6,_0x41938f){return _0x2f0acf(_0x386227- -_0x170a9b._0x3646e3,_0x253a59-0x34,_0x135fa6,_0x41938f-_0x170a9b._0x26ff3b);}function _0x28cb2a(_0x3450b5,_0x4a7d31,_0x285010,_0x18fad7){return _0x2f0acf(_0x3450b5- -0x445,_0x4a7d31-_0x381607._0x2b838c,_0x285010,_0x18fad7-_0x381607._0x3b8ff9);}return defineTool({'name':_0x28cb2a(-0x226,-_0x712520._0x252a86,-0x24b,-0x30c),'description':_0x28cb2a(-0x19c,-_0x712520._0x12c0d0,-_0x712520._0x58e873,-_0x712520._0x1c2af4),'inputSchema':{'type':_0x28cb2a(-0x145,-0x77,-_0x712520._0x1b6d05,-_0x712520._0x3588c5),'properties':{'questions':{'type':_0x28cb2a(-0xa7,-_0x712520._0x112ed6,-0x37,-_0x712520._0x1bae29),'items':{'type':'object','properties':{'question':{'type':_0x4708d7(-_0x712520._0x54da63,-_0x712520._0x7a958d,-_0x712520._0x49ae61,-_0x712520._0x2aed7e)},'header':{'type':_0x28cb2a(-0xba,-_0x712520._0x1f93e1,-0x49,-0x201)},'options':{'type':_0x4708d7(-_0x712520._0x4947a9,-0x7c,-0x1c,-0xac),'items':{'type':_0x4708d7(-_0x712520._0x213965,-_0x712520._0x231c58,-_0x712520._0x21229e,-0x2be),'properties':{'label':{'type':'string'},'description':{'type':_0x28cb2a(-_0x712520._0x563b62,-0x1f6,-_0x712520._0x2c99aa,-_0x712520._0xf225a4)}},'required':[_0x4708d7(-0xd5,-_0x712520._0x1af6bc,-_0x712520._0xd97b4f,-_0x712520._0x506beb),_0x28cb2a(-0x232,-0x127,-_0x712520._0x1db3d0,-_0x712520._0x225ae8)]}},'multiSelect':{'type':_0x4708d7(-0xe2,-_0x712520._0x52ce9d,-0x107,0x25)}},'required':[_0x28cb2a(-_0x712520._0x1d5449,-0x119,-0x146,_0x712520._0x1bf1bc),_0x28cb2a(0x14,_0x712520._0x3e4342,0x25,-0x91),_0x4708d7(-_0x712520._0x3cc58f,-0x20f,-0x112,-_0x712520._0x29a446),'multiSelect']}},'answers':{'type':'object','properties':{}}},'required':[_0x28cb2a(-0xad,_0x712520._0x231ca0,-0x184,0x3e)]},async *'execute'(_0x369896,_0x322b11){const _0x4238dd={_0x20a193:0x338},_0x1451dc=_0x369896;function _0x211894(_0x1b4524,_0x4658dc,_0x407744,_0x2b80c6){return _0x4708d7(_0x4658dc-_0x4238dd._0x20a193,_0x4658dc-0x159,_0x2b80c6,_0x2b80c6-0xd3);}validateInput(_0x1451dc);const _0x3db00b=_0x322b11['toolCallId']??createQuestionId();if(_0x1451dc[_0x46f999(_0x46fe0e._0x296a76,_0x46fe0e._0x42ab0e,_0x46fe0e._0x5229d8,_0x46fe0e._0x5229d8)]&&Object['keys'](_0x1451dc[_0x211894(0x1bf,0x217,0x139,0x172)])['length']>0x0)return createResult(_0x3db00b,_0x1451dc[_0x46f999(0x4cf,0x572,_0x46fe0e._0xcf22cc,_0x46fe0e._0x4bc746)][_0x46f999(0x38b,0x49d,0x45d,_0x46fe0e._0x2d6584)],_0x1451dc[_0x46f999(0x650,0x581,_0x46fe0e._0x28c929,_0x46fe0e._0xc0cafc)]);if(!_0x322b11[_0x46f999(_0x46fe0e._0x3ec666,0x453,0x434,_0x46fe0e._0x35e64b)])throw new ToolExecutionError(_0x46f999(0x64e,_0x46fe0e._0x54c3f7,0x5d0,0x55a));const _0x3113a0=buildQuestions(_0x1451dc),_0x2895a0=await _0x322b11[_0x46f999(_0x46fe0e._0x33ecd1,0x453,_0x46fe0e._0x386ede,_0x46fe0e._0x6d5be)]({'questionId':_0x3db00b,'questions':_0x3113a0});function _0x46f999(_0x2f886d,_0x420d1c,_0x574583,_0x20c6ee){return _0x28cb2a(_0x420d1c-_0x45f9cc._0x50b2b8,_0x420d1c-0xbf,_0x2f886d,_0x20c6ee-_0x45f9cc._0x581b5);}yield createResult(_0x3db00b,_0x1451dc[_0x46f999(_0x46fe0e._0x2ecda8,_0x46fe0e._0x97d72f,0x5f5,0x5f2)][_0x211894(_0x46fe0e._0x44e0d5,_0x46fe0e._0x2558b5,0xec,_0x46fe0e._0xd63717)],_0x2895a0);}});}import{spawn as _0x1744cf}from'child_process';import{statSync}from'fs';import*as _0xcb20a5 from'os';import*as _0x1d2251 from'path';import{StringDecoder}from'string_decoder';import{stripVTControlCharacters}from'util';import{stat}from'fs/promises';import*as _0x5ea9dc from'path';function isPathInside(_0x37a11,_0x49f12d){const _0x501943={_0x5e4195:0xf5},_0x2d9546=_0x5ea9dc['resolve'](_0x37a11),_0x5e2dee=_0x5ea9dc['relative'](_0x2d9546,_0x49f12d);function _0xd98cb2(_0x23287f,_0x3237f5,_0x66e9cc,_0x5a32a6){return _0x2f0acf(_0x66e9cc-0xa0,_0x3237f5-0xf8,_0x5a32a6,_0x5a32a6-_0x501943._0x5e4195);}return _0x5e2dee===''||!_0x5e2dee[_0xd98cb2(0x325,0x475,0x3a6,0x3b5)]('..')&&!_0x5ea9dc['isAbsolute'](_0x5e2dee);}function resolveWorkspacePath(_0x29b193,_0xc46a63){return resolveAllowedPath(_0x29b193,[],_0xc46a63);}function _0x4008(){const _0x27acd4=['rMLSzsb3CML0DgvUigf0ia','CMvXDwLYzwq','Dgv4Dc9ODg1S','AxnjBNrLz2vY','zgf0zxrPBwu','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','lI4U','txvZDcbWCM92AwrLideTncbXDwvZDgLVBNm','yxnPzgu','AgfUzgXL','AhLKCMf0zu1LDge','zgLYBMfTzq','lcbpChrPB24G','CxvLC3rPB24','CgfJA2fNzu5HBwu','vw5HDxrOB3jPEMvKrxjYB3i','C3rYAw5N','B2C6DxbKyxrLzf90Aw1L','B25Jzq','y2XPzw50CW','DhLWzxnJCMLWDa','vg9KBYa','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','igj5DgvZicH0B3rHBdOG','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','zw52','C3rHDgu','Agv4','CxvLC3rPB25Z','tM8GC3vJAcbMAwXLoIaN','BgLUzq','yM9KEq','zgLZy292zxj5u3rHDgu','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','yxjYyxK','y2f0y2G','EwvZ','vMLLD2vKigLTywDLigzPBgu6ia','zgvMyxvSDa','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','qxzHAwXHyMXLignVBw1HBMrZoG','C3rHCNreAxi','CMfUz2u','yw5ZD2vYCW','CMvSyxrPDMu','yw50AhjVCgLJlw1LC3nHz2vZ','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','C3jJl3nOyxjLzc90ExbLCY50CW','B3b0Aw9UCW','DgL0Bgu','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','ChvIBgLZAgvKqxq','BgLZDfrVB2XZ','C3r5Bgu','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','BgLUzu51Bq','Dg9VBc1VDxrWDxqTB2zMBg9Hza','xg5DkJ8','zgvSAw1PDgvY','BwfYA2rVD24','mtG4nJi4m2vkBvftyq','zgvMAw5PDgLVBG','yNL0zuXLBMD0Aa','ig1HDgnO','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','Bwf0y2HLCW','AxnbCNjHEq','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','CxvLCNK','q29Tu3bLyW','ru5pru5u','DhvYBMrVD24','CMvZDwX0','y29UDgv4Da','DMvYAwzPzxi','mJm1ntfjuMHkr2e','C3rHCNq','yNvUlMXVy2TI','DxrTx2nVBNrLBNq','zhvWBgLJyxrLx3rVzg9FAwrZ','CgfJA2fNzxm','y29KzvzLCMLMAwvY','y29UzMLN','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','DxrTx3rLCM0','B2XKvgv4Da','C25PChbLDa','tuLnrtOG','tM8GCMvZDwX0CYbMB3vUzc4','zMLSDgvY','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','y29TBwfUzhm','Dhj1zq','tM8GBg9JyxrPB25ZigzVDw5K','BgLUzvn0yxj0','Ahr0CdO','igj5DgvZ','l3vZCI9IAw4VyMfZAa','y29UDgvUDa','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','l2jPBI9IyxnO','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','qwXSia','Cg5WBs1SB2nRlNLHBwW','yM9VBgvHBG','DxrTx3nVDxjJzq','zgLNzxn0','Dgv4DerVy3vTzw50l2rPzenSB3nL','C3vIyxjYyxK','B25szwrPCMvJDa','ls1ZDgrPBW','B3bLCMf0Aw9U','yNvUlMXVy2S','B3bLBKzPBgvZ','zw5HyMXLza','Aw52ywXPzf90B2rVx3bYAw9YAxr5','ls1NBg9IpseUz2L0lYO','BgfIzwW','mtjPvwnSB1i','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','yxjNCW','D2LUmZi','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','ls1YzwDLEha','BM93','lMXVzW','AgvHzgvYCW','Dgv4DerVy3vTzw50l2HVDMvY','ywjVCNq','v2fYBMLUzW','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','yMLYDgH0Aw1L','C2v0','Aw1Hz2vZ','l3vZCI9IAw4VCMC','vw50AxrSzwq','yxnZAwDU','DgLTzw91De1Z','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','tg9HzgvKigzYB206ia','ienHDxnLoIa','BMv3vgv4Da','vw5RBM93BIb0B29SoIa','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','B2zMC2v0','B3b0Aw9UywW','BNvTyMvY','C2vUzfjLCxvLC3q','zgf0yq','z29Vz2XLq3nLs2v5','DxbKyxrL','v2vIrMv0y2G','C3bSAxq','uKLgrG','zxH0zw5ZAw9UCW','qxnZAwDUvgfZAW','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','zMLUza','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','Aw5JBhvKzq','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','DhjHBNnWB3j0','zMXVB3i','Bg9HzfnRAwXS','BgLUzvrLEhq','yxv0BW','qwDLBNqGCNvUia','Dhj1BMm','CMLWz3jLCcbMywLSzwq6ia','ugfJA2fNzxm','Bwf4qNL0zxm','Ag92zxi','B3jPz2LUywW','Aw1WBgvTzw50yxrPB24','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','zw51Bq','D29YA3nWywnLl3n5BwjVBa','uhjVz3jHBuzPBgvZ','B2zM','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','AhrTBfnUAxbWzxq','CgfYC2vjBNq','CMvXDwvZDa','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','Aw5qCM9NCMvZCW','zxjYB3jnzxnZywDL','z2nSAwq','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','yM94zwq','ywXSB3DLzerPCNm','ignVBxbSzxrLzc4','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','BwvZC2fNzq','igj5DgvZks4','C2v0vg9KB3m','C29Tzq','D2HLCMuGCMC','yxv0Ag9YAxPHDgLVBL9JB2rL','A2v5CW','sgLUDa','CgXHAw50zxH0','z29uB0LTCgXLBwvUDgf0Aw9U','BgfUzW','C2vYDMvYswq','CM9VDa','oIbPBNzHBgLKihn0yxr1CW','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','BgLI','y3DK','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','y2XPzw50x3nLy3jLDf9WB3n0','DhLWzq','Aw52ywXPzf9XDwvZDgLVBNm','Aw5WDxq','yMLVBwu','Dg9tDhjPBMC','rgLHz25VC3rPyW','y29UDgv4DeXPBMS','l3vZCI9SB2nHBc9IAw4VCMC','AgvHzgvY','yMvHCMvY','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','C2vUze5VDgLMAwnHDgLVBG','BNbT','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','lMPZEa','Dg9ju09tDhjPBMC','tunqihnLCNzLCIa','zgLHz25VC3rPy3m','BgLTAxq','C2fMzq','zxH0BMfTzq','BhnWlxbYB3H5','Dg9VBfjLC3vSDhm','CMvWBgfJzq','AxngAwXL','CMfUzg9T','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','sw52ywXPzcbvuKWGCgfYyw1LDgvY','Aw52ywXPzf90B2rVx2LK','AwzYyw1L','CM91BMq','C29YDa','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','rMv0y2GGDgLTzwqGB3v0','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','y29UBMvJDgLVBG','z29uB0rLzMLUAxrPB24','y29UDgvUDhm','Aw1Hz2uVz2LM','C3rHDhvZvgv4Da','Ec1HCgKTA2v5','twLJCM9ZB2z0','Ahr0Ca','CgLK','Aw1Hz2uVCg5N','pc9ZExn0zw0TCMvTAw5Kzxi+','DhjPBq','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','phn5C3rLBs1Yzw1PBMrLCJ4','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','ChjPB3jPDhK','Dg9mB3DLCKnHC2u','ie9sia','BhnWu2vYDMLJzq','zxf1ywXZ','lMnTza','B3rOzxi','vMLLD0zPBgu','C2H1DgrVD24','Aw52ywXPzf90B2rVx3n0yxr1CW','u2HLBgWGBM90igzVDw5KoIa','v2LUr2v0','CMvNAw9U','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','ywDLBNrZ','zgvMyxvSDfrPBwvVDxrnCW','lNbUzW','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','Aw5PDgLHBgL6zwq','lMPWzwC','BNv2Aw4','zgLHz25VC3rPy3ngB3jgAwXL','otu3mdK0zfz2rhL6','DxjP','z2L0qNjHBMnO','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','ChjVCgvYDgLLCW','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','DhLWzxnJCMLWDhjLywn0','Aw5PDgLHBgL6yxrPB24','zgvZy3jPChrPB24','BwvKAxvT','zgvUBY5QC29U','C2L6zq','B3bLBG','AMf2yxnJCMLWDa','qMfZAa','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','lMPZ','y29Uy2f0','C3LTBgLUAW','ChjVy2vZCW','qxnRvxnLCLrVB2W','CgfZC3DVCMq','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','zMjJBgLK','oIbPzcbYzxf1AxjLza','BxrPBwvnCW','A2v5yMLUzgLUz3m','lNrZ','CMvMzxjLBMnLCW','yw5ZAte2','CgfNzw1HCa','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','zgv0ywLS','Dg9KB3m','l3bPza','BwfW','C2v2zxjPDhK','C2vSzwn0Aw9UuMfUz2u','BgLNAhq','zgfYAW','Aw1Hz2uVANbLzW','ls1MAwXLCW','yxjNDw1LBNroyw1LCW','CgfJA2fNzs1SB2nRlMPZB24','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','zMfPBgvK','DMfSDwu','ihDHCYbHyM9YDgvKlG','Dg9Rzw5Z','ywXS','C2XPy2u','zNjVBq','r2XVyG','A2LSBa','zM9VDgvY','CgfYC2u','qMvHCMvYia','Aw5ZDhj1y3rPB25Z','C2HPzNq','C2LNBMfS','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','C3rKB3v0','ChjLzML4','Aw5FChjVz3jLC3m','zhj5uNvU','CMvHC29U','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','BxrPBwu','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','Ag9ZDa','z2XVyG','yxv0Aa','CgfZC3rOCM91z2G','yxr0CG','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','mJCYnZuWnvvIywPHva','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','w1bFxL1BxhnCu10QpW','ndK3ote3ognVqMDvCa','Aw52ywXPzf90B2rVCW','C2H1DgrVD25tDgfYDgvK','ygbGANnVBGO','zMLUzfjLzMvYzw5Jzxm','Dw5PB24','BgLUzxm','sw52B2TLq29TBwfUza','B3bLBMfPlxjLC3bVBNnLCY13CW','Dg90ywW','igzYB20G','ugf0AcbUB3qGzM91BMq6ia','CgLWzq','Bg9JyxrPB24','ovblq1jgEG','lu5Vtg9NBW','zxjYB3i','lMPWzW','CgXHDgzVCM0','BwnWxW','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','ChvZAa','BhnW','CMvZB2X2zq','CgfJA2fNzs5QC29U','rMv0y2GGywjVCNrLzcbIEsb1C2vY','CgfYzw50u2vZC2LVBKLK','AgfZ','yMfZzw5HBwu','tM8GC3LTyM9SCYbMB3vUza','B3v0z29PBMDdywXSCW','qMfZzsbKAxjLy3rVCNK6ia','yxnRvxnLCG','BgLZDgvU','y2fSBgjHy2TvCMW','nda4ndu0owXpDwndsW','zMLUywXnzxnZywDL','AMf2yxnJCMLWDhjLywn0','seLhsa','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','C2vHCMnOugfYyw1Z','B3v0Chv0','Dg9VBhm','DxrTx2nHBxbHAwDU','DxrMoa','zNvSzMLSBgvK','zgLYzwn0B3j5','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','lNrZEa','yMfZzty0','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','AxngAw5PDgu','Dg9Rzw5tDg9YywDLs2v5','cGOTls0kcG','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','v0vcua','B3jPz2LUvg9VBenHBgXjza','ywn0AxzL','z2v0u3rHDhm','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','rM91BMqG','D2fPDezVCKrPywDUB3n0AwnZ','tM8GzgLHz25VC3rPy3m','lMjPBG','y291BNq','DhnJB25MAwCUANnVBG','CMLWz3jLCa','y2XPzw50','vg9KB1DYAxrL','D2vI','Aw52ywXPzf90B2rVx2L0zw0','ywrKrxzLBNrmAxn0zw5LCG','C2nVCgvZ','uxvLC3rPB24G','y3jLyxrLzef0','l2jPBI9YzW','CMvTB3zLrxzLBNrmAxn0zw5LCG','CNvUBMLUzW','yxr4','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','zMvUy2vK','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','DhjHBNnMB3jTCW','yxbPs2v5','DgHLBG','B25oB3rPzMLJyxrPB24','DxjS','C3rKzxjY','zw50CMLLCW','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','DhnJ','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','tunqihrVB2WG','y2XLyw51Ca','z29Vz2XLlwnZzq','C2TPBgXZ','Cgf0DgvYBIbPCYbYzxf1AxjLza','Cg9W','Ahr0Chm6','Dg9VBhmVy2fSBa','Aw5JBhvKzxm','y2fUy2vS','zg9JDw1LBNrtEw1IB2W','yM0Ynq','cGPbuKDvtuvovfm6ia','BgvUz3rO','ywDLBNrjza','EwfYBI5SB2nR','C3bHD25PBMC','DhnZzxj2zxiUANm','ls1JB2X1Bw4','AM9PBG','u3rHCNrLzcbHz2vUDcbYDw4G','D3jPDgu','zMLSzvbHDgG','DgvZDa','B2f1DgG','CgXHAw4','zgLZCg9Zzq','y29UDgvUDc10ExbL','zxHPDa','Bg9JywXLq29TCgfYzq','y2XLyxi','Dgv4Da','Aw1Hz2uVD2vICa','l29WDc9OB21LyNjLDY9IAw4VCMC','Bwf4','D29YA3nWywnLu3LTyM9S','Dg9KB3ncEvnLC3nPB24','BM90Awz5','Bg9HzenVBw1HBMq','ywjVCNrLza','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','BwLU','ywrK','zMLSzq','yxjNDw1LBNrZ','ls1NBg9I','rgv0ywLSoIa','y2XPzw50twv0ywrHDgfvCMW','C2HHmJu2','BgL0zxjHBa','AxrLBxm','y2HHBMDL','Cgf0Aa','tuvesvvn','oIbPBNzHBgLKihbYAw9YAxr5','zNvUy3rPB24','BgLUzuvUza','yMLUyxj5tMfTzq','z2v0vg9KB3m','Aw1Hz2u','yxjNDw1LBNrZvgv4Da','Dg91y2HgAwXL','AxndB250zxH0','ANnJB25MAwCUANnVBG','Aw5ZDgfSBa','Aw52ywXPzf90B2rVx2nVBNrLBNq','Dg9VBa','Aw5PDgLHBgL6zq','ywXSu2v0DgXLza','y2fSBeLK','uMvHzcbHifvurI04ihrLEhqGzMLSzsbMCM9TihrOzsb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCMLLCY4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqP','y2XVC2u','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','zg9TywLUCW','B2jQzwn0','DgHPBMTPBMC','C3rYAxbbBNnP','BgfUz3vHz2u','C3rYAw5NAwz5','r0LgodDH','C3rHCNrZv2L0Aa','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','BxvSDgLtzwXLy3q','lNDLyNa','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','yxjNDw1LBNriAw50','AxnfBMfIBgvK','lM10CW','A2LUza','zMLSzvzLCNnPB25Z','C2vYDMvY','ANnVBG','Dhj1zwnVBg9Y','z2v0','C2HLBgXqyxrO','y2HHCKnVzgvbDa','lMPZB24','zgLZywjSzwq','AxneAxjLy3rVCNK','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','CMvJB3jK','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','yNjVA2vU','mc4WlJa','DhvWBgu','ls1OAwrKzw4','lNrTCc4','v2vIu2vHCMnOihjLCxvPCMvZieDpt0Dmrv9du0vFs0vz','tgLUzsa','CNvUswq','u2vHCMnOihrOzsb3zwiGDxnPBMCGr29Vz2XLien1C3rVBsbtzwfYy2GGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','zgLZy292zxj5','y29TCgXLDgvK','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','zgvSzxrL','BwnFzwLK','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','BwvTB3j5','AxntEw1IB2XPy0XPBMS','CMCUzxHL','ChjVDg9JB2W','y2HHCMfJDgvY','yxnJAwK','C3rVCMfNzurPCG','C3jJl2v4yw1WBgvZl2rLBw8UDhm','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','C2vUza','Dg9VBenHBgXjza','AwDUB3jL','oIaIAgvHzgvYiIbMAwvSzcbPCYbYzxf1AxjLzcbHBMqGBxvZDcbIzsbHihn0CMLUzW','ChjLCgfYzunHBgXiAwvYyxjJAhK','igj5DgvZicHVCMLNAw5HBdOG','C3jJl2fNzw50l2fNzw50lNrZ','Dg9Rzw4','Dg9vChbLCKnHC2u','Bwv0yq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','l2jPBI9ZAa','DgLTzvTKyxrLDgLTzv0','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','ig1Z','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','y29UBMvJDa','y2XPzw50sw5MB3jTyxrPB24','tM8GAg92zxiGAw5MB3jTyxrPB24','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4','Cgf0DgvYBG','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','BMfTzq','lMDPzG','thnW','sw5MB3jTyxrPB24','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','y2vPBa','DxrTx21LzgL1Bq','mtCYmtG4ntzfzhbNu0O','C3bHD24','C2vZC2LVBKLK','C2vYDMvYtMfTzq','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','zMLSztOVlW','C3rHDhvZ','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','yxbWBgLJyxrPB24VANnVBG','y3jSzG','y29Kzq','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','BgfUz18','C2vZC2LVBG','yxv0AfjLCxvPCMvK','r3jLCa','AgfZq2XPzw50CW','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','BM9Zy3jPChq','Dw5RBM93BG','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','BM9Kzv9TB2r1BgvZ','DgfZAW','CgvUzgLUzW','C291CMnL','Bg93','te9x','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','BgLUAW','zMXHDe1HCa','CMfUAW','te9dquXbufbeqvrb','DgfZA2TPBgW','CMvJzw5JEurHExm','zgvMyxvSDen3za','y29TBwfUza','y29UBMvJDgvK','rMLSzuvKAxq','Aw5JB21PBMDdywXSCW','ls1MB2XSB3C'];_0x4008=function(){return _0x27acd4;};return _0x4008();}function resolveAllowedPath(_0x10755b,_0xc3c80d,_0x22b1f5){const _0x45f0bc={_0x5f5b9a:0x81,_0xe211d9:0x8c,_0x1e0311:0x60,_0x571dc1:0xaa,_0x32c502:0x168,_0x3e6ae9:0xf5,_0x51a601:0x60,_0x4814b1:0xcf,_0x3a5068:0x1d1,_0x530b43:0x1fe,_0x5964c6:0xda,_0x2fe64f:0x88},_0x599b9d={_0x551e66:0x39},_0x5bbb74={_0x8378af:0x1c3,_0x1ba5f5:0xb6},_0x417676=_0x5ea9dc[_0x5405ec(_0x45f0bc._0x5f5b9a,-_0x45f0bc._0xe211d9,-_0x45f0bc._0x1e0311,-_0x45f0bc._0x571dc1)](_0x10755b),_0x11ff6c=_0x5ea9dc[_0x5405ec(-_0x45f0bc._0x32c502,-_0x45f0bc._0x3e6ae9,-_0x45f0bc._0x51a601,-_0x45f0bc._0x4814b1)](_0x417676,_0x22b1f5),_0x289972=[_0x417676,..._0xc3c80d['map'](_0x1f59d1=>_0x5ea9dc[_0x5405ec(0x19,0xd,-0x60,-0x12b)](_0x1f59d1))];function _0x46c647(_0x386211,_0x1a8438,_0x5ca459,_0x1efd6c){return _0x4aa629(_0x386211-0x13a,_0x5ca459,_0x5ca459-_0x5bbb74._0x8378af,_0x386211-_0x5bbb74._0x1ba5f5);}if(_0x289972[_0x46c647(0x1ba,0x106,_0x45f0bc._0x3a5068,0x1ca)](_0x4c4292=>isPathInside(_0x4c4292,_0x11ff6c)))return _0x11ff6c;function _0x5405ec(_0x1d759b,_0x312711,_0x2e2da9,_0x13c4ec){return _0x2f0acf(_0x2e2da9- -0x2d0,_0x312711-_0x599b9d._0x551e66,_0x13c4ec,_0x13c4ec-0x12f);}throw new ToolExecutionError(_0x5405ec(0x67,_0x45f0bc._0x530b43,_0x45f0bc._0x5964c6,_0x45f0bc._0x2fe64f)+_0x22b1f5,{'path':_0x22b1f5,'rootDir':_0x417676,'allowedDirs':_0x289972});}async function assertWorkspaceFile(_0x2c0f14){const _0x400581=await stat(_0x2c0f14);if(!_0x400581['isFile']())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x2c0f14,{'path':_0x2c0f14});}function isProbablyBinary(_0x38db4f){return _0x38db4f['includes'](0x0);}var DEFAULT_DESCRIPTION=_0x4aa629(0xd1,0x12c,-0x88,0xc),DEFAULT_TIMEOUT_MS=0x7530;function isErrnoException(_0x15b125){return _0x15b125 instanceof Error;}function shellExists(_0x32f772){const _0x593b48={_0x2d2c5b:0x307,_0x4beba1:0x3f1},_0x12cb9b={_0x2e9b07:0x107,_0x2ac21c:0xad,_0x5ee842:0x5};function _0x50819a(_0x1590ed,_0xbaa23b,_0x486e68,_0x47c182){return _0x2f0acf(_0x1590ed-_0x12cb9b._0x2e9b07,_0xbaa23b-_0x12cb9b._0x2ac21c,_0x486e68,_0x47c182-_0x12cb9b._0x5ee842);}try{const _0x5d3bf8=statSync(_0x32f772);return _0x5d3bf8[_0x50819a(0x2df,_0x593b48._0x2d2c5b,0x2e8,_0x593b48._0x4beba1)]()&&(_0x5d3bf8['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x1d3ad4){const _0x2972d3={_0x345086:0x41b,_0x26e60a:0x32b,_0x5b3676:0x3ee,_0x215b1a:0x565,_0xda7136:0x548,_0x168011:0x568,_0x41246b:0x4f1,_0xa4fe25:0x4fc,_0x243670:0x35f,_0x4c7d98:0x5de,_0x2e969d:0x3ed,_0x18de48:0x5ef,_0xe2936b:0x5fd,_0x20d704:0x599,_0x7f5a34:0x456,_0x4d82c2:0x3d1,_0x3205bc:0x561,_0x50254f:0x41c,_0x2e9436:0x40d,_0x5c06ad:0x550,_0x5e6ffd:0x59a,_0x41fd37:0x4a2,_0x5b484e:0x3a1},_0x203462={_0x17f10e:0xe8},_0x3dd2cf={_0x1dd3db:0x13c,_0x1099fe:0xc7};if(_0x1d3ad4)return _0x1d3ad4;if(_0xcb20a5[_0x3317c1(_0x2972d3._0x345086,0x3fc,_0x2972d3._0x26e60a,_0x2972d3._0x5b3676)]()===_0x28e3a3(_0x2972d3._0x215b1a,_0x2972d3._0xda7136,_0x2972d3._0x168011,_0x2972d3._0x41246b))return process[_0x3317c1(_0x2972d3._0xa4fe25,0x471,0x455,_0x2972d3._0x243670)][_0x28e3a3(_0x2972d3._0x4c7d98,_0x2972d3._0x2e969d,0x532,_0x2972d3._0x18de48)]||'cmd.exe';const _0x3897bb=[_0x28e3a3(_0x2972d3._0xe2936b,0x585,0x553,_0x2972d3._0x20d704),_0x28e3a3(_0x2972d3._0x7f5a34,_0x2972d3._0x4d82c2,0x4b2,_0x2972d3._0x3205bc),_0x28e3a3(_0x2972d3._0x50254f,_0x2972d3._0x2e9436,_0x2972d3._0x5c06ad,0x56f),'/usr/bin/sh'];function _0x3317c1(_0xdf0fe6,_0x1dfcb1,_0x463c3d,_0x44ae62){return _0x2f0acf(_0x463c3d-0xc0,_0x1dfcb1-_0x3dd2cf._0x1dd3db,_0x1dfcb1,_0x44ae62-_0x3dd2cf._0x1099fe);}for(const _0x129345 of _0x3897bb){if(shellExists(_0x129345))return _0x129345;}const _0x38b1ba=process['env']['SHELL'];function _0x28e3a3(_0xa42635,_0x4d13e2,_0x9e8d50,_0x30289e){return _0x2f0acf(_0x9e8d50-0x171,_0x4d13e2-0x31,_0x30289e,_0x30289e-_0x203462._0x17f10e);}if(_0x38b1ba&&shellExists(_0x38b1ba))return _0x38b1ba;return _0x3317c1(_0x2972d3._0x5e6ffd,0x4e3,_0x2972d3._0x41fd37,_0x2972d3._0x5b484e);}function buildShellArgs(_0x42385d,_0x93d75f){const _0x5e0a8b={_0x2cd558:0x285,_0x2823f1:0x148,_0x40b5b9:0x22a,_0x40f41e:0x297,_0x358e37:0x2c7},_0x35eece={_0x17b04f:0x492,_0x15a54b:0x1d3},_0xdb27dd={_0x457d97:0x1df,_0x23b9f7:0x12,_0x3f64b6:0x3dc};function _0x55356b(_0x4b981c,_0x45f501,_0xd4c1c2,_0x83d8cc){return _0x4aa629(_0x4b981c-_0xdb27dd._0x457d97,_0x4b981c,_0xd4c1c2-_0xdb27dd._0x23b9f7,_0x83d8cc-_0xdb27dd._0x3f64b6);}if(_0xcb20a5['platform']()==='win32'){const _0x23b8eb=/cmd(\.exe)?$/i[_0xf50156(-0x1c5,-_0x5e0a8b._0x2cd558,-_0x5e0a8b._0x2823f1,-0xea)](_0x93d75f);return _0x23b8eb?['/d','/s','/c',_0x42385d]:[_0xf50156(-_0x5e0a8b._0x40b5b9,-_0x5e0a8b._0x40f41e,-0x179,-_0x5e0a8b._0x358e37),'-NoProfile','-Command',_0x42385d];}function _0xf50156(_0x1f8dfe,_0x1f0251,_0x1e7b89,_0x3cdefe){return _0x2f0acf(_0x1f8dfe- -_0x35eece._0x17b04f,_0x1f0251-_0x35eece._0x15a54b,_0x1e7b89,_0x3cdefe-0x169);}return['-c',_0x42385d];}function resolveCarriageReturns(_0x50dffd){const _0x2b7cf5={_0x4cfe0c:0x53f,_0x18ddf2:0x5d7,_0x79fb92:0x37c,_0x245405:0x445,_0xa48ed4:0x3c9},_0x373fa0={_0x1f477d:0x3cf,_0x10c624:0x39d},_0x3a8b01={_0x5e86c9:0x166,_0x5de10b:0x2b3,_0x4ab107:0x1a1},_0x40a6d9={_0x96b14a:0x1da},_0x236162={_0x24dfc7:0x24,_0x39132c:0x197,_0x568c85:0x23f};function _0x4c0446(_0x1dd2fd,_0x24b9cd,_0x4e1a6a,_0x1e71e5){return _0x4aa629(_0x1dd2fd-_0x236162._0x24dfc7,_0x4e1a6a,_0x4e1a6a-_0x236162._0x39132c,_0x1dd2fd-_0x236162._0x568c85);}function _0x20a844(_0xae7a93,_0x405d15,_0x246d20,_0x4b3f9d){return _0x4aa629(_0xae7a93-0x160,_0x4b3f9d,_0x246d20-_0x40a6d9._0x96b14a,_0x405d15-0x4fe);}return _0x50dffd[_0x20a844(_0x2b7cf5._0x4cfe0c,_0x2b7cf5._0x18ddf2,0x5b3,0x55a)]('\x0a')['map'](_0x1f1fda=>{if(!_0x1f1fda['includes']('\x0d'))return _0x1f1fda;const _0x23560e=_0x1f1fda[_0x2695c(0x324,_0x373fa0._0x1f477d,_0x373fa0._0x10c624,0x463)]('\x0d');function _0x2695c(_0x8c9e38,_0x1c3844,_0x2adfb9,_0xfc2d74){return _0x20a844(_0x8c9e38-_0x3a8b01._0x5e86c9,_0x8c9e38- -_0x3a8b01._0x5de10b,_0x2adfb9-_0x3a8b01._0x4ab107,_0xfc2d74);}return _0x23560e[_0x23560e['length']-0x1]??'';})[_0x20a844(_0x2b7cf5._0x79fb92,0x48a,_0x2b7cf5._0x245405,_0x2b7cf5._0xa48ed4)]('\x0a');}function resolveBackspaces(_0x3811a2){const _0x5a7172={_0x447340:0x51d,_0x2fb351:0x37b,_0x7b39d9:0x348,_0x3263b4:0x337,_0x47c6c7:0x480},_0x4970ec={_0x455626:0x7b},_0x111f05={_0x1fd799:0x203,_0x224c63:0x9c};function _0x47cfea(_0xb2ce5,_0x134cb9,_0x2fc27f,_0xf144cf){return _0x2f0acf(_0xf144cf- -_0x111f05._0x1fd799,_0x134cb9-0x25,_0x2fc27f,_0xf144cf-_0x111f05._0x224c63);}const _0x5bb776=[];for(const _0x55cd5f of Array['from'](_0x3811a2)){_0x55cd5f==='\x08'?_0x5bb776[_0x4c962c(_0x5a7172._0x447340,0x472,0x4ac,_0x5a7172._0x2fb351)]():_0x5bb776[_0x4c962c(_0x5a7172._0x7b39d9,0x425,_0x5a7172._0x3263b4,0x490)](_0x55cd5f);}function _0x4c962c(_0x39032f,_0x5dd4be,_0x350ac8,_0x3f3aa1){return _0x4aa629(_0x39032f-0xcb,_0x3f3aa1,_0x350ac8-_0x4970ec._0x455626,_0x5dd4be-0x4f4);}return _0x5bb776[_0x4c962c(0x3eb,_0x5a7172._0x47c6c7,0x530,0x33e)]('');}function stripAnsiAndControls(_0x21801f){const _0x4420c6={_0x558600:0x599,_0xaa5135:0x590,_0x2c9c64:0x37e,_0x376ff4:0x1c9,_0x2763a4:0x194,_0x3fdfc9:0x3f8,_0x3a32d2:0x462,_0x5e6318:0x4f2,_0x1ca097:0x92,_0x130c61:0x4b,_0x212f5b:0x16f,_0x474f05:0xc3,_0x52cab2:0xd8,_0x50f2c6:0x567,_0xd0e028:0x512,_0x1f4549:0x579,_0x4b0ef5:0x4f6,_0x8da365:0x455,_0x56338e:0x441,_0x334651:0x56a,_0x4b015d:0x33f},_0x28f9bc={_0x16335f:0x145,_0x190654:0xce},_0x27177f={_0x2bb2d5:0x75,_0x6d126e:0x5bb};function _0x6f225a(_0x1467fd,_0x2da729,_0x4fdc58,_0x59bdb0){return _0x4aa629(_0x1467fd-_0x27177f._0x2bb2d5,_0x59bdb0,_0x4fdc58-0x106,_0x2da729-_0x27177f._0x6d126e);}_0x21801f=resolveCarriageReturns(_0x21801f),_0x21801f=resolveBackspaces(_0x21801f),_0x21801f=stripVTControlCharacters(_0x21801f);const _0xa79c0d='\x1b',_0x4f5287='\x07';_0x21801f=_0x21801f[_0x6f225a(_0x4420c6._0x558600,0x455,_0x4420c6._0xaa5135,_0x4420c6._0x2c9c64)](new RegExp(';[^'+_0x4f5287+_0x16ce46(0x270,_0x4420c6._0x376ff4,0x161,_0x4420c6._0x2763a4)+_0x4f5287,'g'),''),_0x21801f=_0x21801f[_0x6f225a(_0x4420c6._0x3fdfc9,0x455,_0x4420c6._0x3a32d2,_0x4420c6._0x5e6318)](new RegExp(';[^\x5cn]*?'+_0xa79c0d+'\x5c\x5c','g'),''),_0x21801f=_0x21801f[_0x16ce46(_0x4420c6._0x1ca097,0x35,_0x4420c6._0x130c61,_0x4420c6._0x212f5b)](new RegExp(_0x4f5287,'g'),''),_0x21801f=_0x21801f[_0x16ce46(0x92,_0x4420c6._0x474f05,0x59,_0x4420c6._0x52cab2)](new RegExp(_0xa79c0d+_0x6f225a(_0x4420c6._0x50f2c6,0x4d6,_0x4420c6._0xd0e028,_0x4420c6._0x1f4549)+_0xa79c0d+'\x5c\x5c','g'),''),_0x21801f=_0x21801f[_0x6f225a(_0x4420c6._0x4b0ef5,_0x4420c6._0x8da365,0x43e,0x3f9)](new RegExp(_0xa79c0d+'[=>7-8()]','g'),''),_0x21801f=_0x21801f[_0x6f225a(_0x4420c6._0x56338e,0x455,_0x4420c6._0x334651,_0x4420c6._0x4b015d)](/[\u0080-\u009F]/g,''),_0x21801f=_0x21801f['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,'');function _0x16ce46(_0x2553e9,_0x2f11ec,_0x42223c,_0x1c6ffe){return _0x2f0acf(_0x2553e9- -_0x28f9bc._0x16335f,_0x2f11ec-_0x28f9bc._0x190654,_0x1c6ffe,_0x1c6ffe-0x106);}return _0x21801f=_0x21801f[_0x16ce46(0x92,0x152,0x174,0x25)](/[\u23CE\u2424]/g,''),_0x21801f;}function resolveWorkingDirectory(_0x4a7f1f,_0x5c534d,_0x3e68e0){const _0x4cd6b1={_0x2436ee:0x385,_0x4c5569:0x3fa},_0x5351ae={_0x1469d8:0x7f,_0x9c8d59:0x40},_0x2a4715=resolveAllowedPath(_0x5c534d,_0x3e68e0,_0x4a7f1f??'.');function _0x4c8574(_0x80f3b1,_0x54a82a,_0x3b3d3a,_0x5299a9){return _0x2f0acf(_0x5299a9-0x10a,_0x54a82a-0xac,_0x3b3d3a,_0x5299a9-0x51);}function _0x10b565(_0x57c3e6,_0x5eb708,_0x323399,_0x39b8d4){return _0x2f0acf(_0x323399-0x12f,_0x5eb708-_0x5351ae._0x1469d8,_0x39b8d4,_0x39b8d4-_0x5351ae._0x9c8d59);}try{const _0x387d5f=statSync(_0x2a4715);if(!_0x387d5f[_0x10b565(0x4d9,0x541,0x448,_0x4cd6b1._0x2436ee)]())throw new ToolExecutionError(_0x10b565(0x2a8,0x425,0x31f,_0x4cd6b1._0x4c5569)+_0x2a4715,{'cwd':_0x2a4715});return _0x2a4715;}catch(_0x7d4723){if(_0x7d4723 instanceof ToolExecutionError)throw _0x7d4723;throw new ToolExecutionError('Working\x20directory\x20not\x20found:\x20'+_0x2a4715,{'cwd':_0x2a4715});}}function killProcessGroup(_0x45ac97,_0x380d8e,_0x3a3685='SIGKILL'){const _0x202af5={_0xaa3e31:0x2dd,_0x2412e3:0x381,_0x2e0d5c:0x195,_0x5b4478:0x380,_0x5ec2cc:0x464,_0x1bbb05:0x581,_0xc177db:0x329,_0x5e76ef:0x369,_0x255d80:0x400,_0x496568:0x40b,_0x542f10:0x5d,_0x4f11fd:0x133,_0x4e3446:0x388,_0x4eedf5:0x20c,_0x21e01f:0x2f5,_0x1527d3:0xff},_0x2cf2ce={_0x57d6d6:0x8a,_0x1cf28c:0x11c};function _0x32c9c8(_0x4d5025,_0x35d9da,_0x4f6b4d,_0x4aa1bc){return _0x2f0acf(_0x35d9da- -0x3f8,_0x35d9da-0x64,_0x4d5025,_0x4aa1bc-0x12);}function _0x2b3f4d(_0x295a2f,_0x3c8350,_0x4c0b21,_0x440dec){return _0x4aa629(_0x295a2f-_0x2cf2ce._0x57d6d6,_0x440dec,_0x4c0b21-_0x2cf2ce._0x1cf28c,_0x295a2f-0x42e);}if(!_0x45ac97[_0x2b3f4d(_0x202af5._0xaa3e31,_0x202af5._0x2412e3,_0x202af5._0x2e0d5c,_0x202af5._0x5b4478)])return;if(_0x380d8e)try{_0x1744cf(_0x2b3f4d(_0x202af5._0x5ec2cc,_0x202af5._0x1bbb05,_0x202af5._0xc177db,0x320),[_0x2b3f4d(0x31e,_0x202af5._0x5e76ef,0x3df,0x41d),_0x45ac97[_0x2b3f4d(0x2dd,_0x202af5._0x255d80,_0x202af5._0x496568,0x2e4)][_0x32c9c8(-0x24,_0x202af5._0x542f10,0x27,_0x202af5._0x4f11fd)](),'/T','/F'],{'stdio':_0x2b3f4d(0x429,0x30e,_0x202af5._0x4e3446,0x503)});return;}catch{_0x45ac97['kill'](_0x3a3685);return;}try{process['kill'](-_0x45ac97[_0x32c9c8(-0x125,-_0x202af5._0x4eedf5,-_0x202af5._0x21e01f,-0x168)],_0x3a3685);}catch{_0x45ac97[_0x32c9c8(-0x174,-0x1b8,-0x101,-_0x202af5._0x1527d3)](_0x3a3685);}}function appendChunk(_0x51130e,_0x23f32f,_0x5cb907,_0x37cce5,_0x1c973b){const _0x5599a9={_0x25512f:0x1fe,_0x2e0d41:0x1b6,_0x550e76:0x37,_0x417009:0x36},_0x5256b9={_0x443287:0x44d,_0x3b8caa:0x184},_0x1bfaf0={_0x5a510c:0x2a5,_0x2e98f4:0xdd},_0x4a2c5e=_0x37cce5?stripAnsiAndControls(_0x5cb907):_0x5cb907;if(_0x4a2c5e[_0x4fc49d(-_0x5599a9._0x25512f,-0xb3,-_0x5599a9._0x2e0d41,-0x18a)]===0x0)return;function _0x5b8975(_0x1c0584,_0x439e5f,_0x18c943,_0x15888a){return _0x2f0acf(_0x1c0584- -_0x1bfaf0._0x5a510c,_0x439e5f-0xf8,_0x15888a,_0x15888a-_0x1bfaf0._0x2e98f4);}_0x51130e['push'](_0x4a2c5e);function _0x4fc49d(_0x59277a,_0x23ffb0,_0x453da4,_0x2eb30f){return _0x2f0acf(_0x2eb30f- -_0x5256b9._0x443287,_0x23ffb0-_0x5256b9._0x3b8caa,_0x59277a,_0x2eb30f-0x12e);}_0x23f32f[_0x5b8975(-_0x5599a9._0x550e76,0xc0,-_0x5599a9._0x417009,-0x145)](_0x4a2c5e),_0x1c973b();}function createBashTool(_0x1fb303={}){const _0x1e6e72={_0x402c9a:0x70b,_0x51b590:0x6d3,_0x2ba574:0x63a,_0x9ba532:0x491,_0x172c64:0x39f,_0x25105b:0x275,_0x9684d2:0x3cb,_0x4f4132:0x446,_0x592b77:0x386,_0x488cc1:0x2ab,_0x4ac024:0x581,_0xea216e:0x5d1,_0x33898a:0x21a,_0x1c1224:0x2e2,_0x2c98e3:0x2dc,_0xc0b7b1:0x3b8,_0xe7eccc:0x3e6,_0x10306e:0x454,_0xf62dc2:0x4bf,_0x47dd5e:0x380,_0xf5aa96:0x4d9,_0x5c101c:0x5e7,_0x4aa0ad:0x4ae,_0xd5a52e:0x475,_0x487316:0x594,_0x5e56e1:0x67a,_0x3a1a6e:0x66b,_0x5483c0:0x6c6,_0x3bd405:0x5fb,_0x18652c:0x626},_0xf9956={_0x3e0841:0xe,_0x9c9e75:0x2b2,_0x442b6e:0x16b,_0x80693b:0x24,_0x2e48cc:0x154,_0x24da73:0x11a,_0x5dabd9:0x1ee,_0xdb98a6:0xb4,_0x1101eb:0x8f,_0x2a7f34:0x1bd,_0x572979:0x6f,_0x4bb3d9:0x2f,_0x5eaa0d:0xa1,_0x39c9f9:0x209,_0xd892d4:0x5b,_0x4769c8:0x12f,_0x22e382:0x9d,_0x47a078:0xe6,_0x17dabc:0x15,_0xe1728b:0x18c,_0x36a29a:0xd4,_0x27d844:0x205,_0x1df643:0x2a9,_0x59c151:0x16c,_0x3b331e:0x7d,_0x376036:0xe1,_0x23f64a:0x129,_0xcf3c30:0x73,_0x5054eb:0xf1,_0x40433b:0x3d,_0x3c873f:0x267,_0x4a5396:0x278,_0x3b41a7:0x2eb,_0x2fab66:0xb4,_0x43805e:0x32,_0x5c600f:0x329,_0x5c8bb8:0x3bb,_0xa5eb3b:0x2d0,_0x2e2b30:0x1c5,_0x4b11d8:0x13b,_0x3e44ec:0xb2,_0x5ae44d:0x16a,_0x1cbe54:0xd2,_0x468722:0x3c,_0x327dc1:0x9a,_0x3adb69:0x6e,_0x3db994:0x7f,_0x13fb95:0x78,_0x17916a:0x135,_0x263757:0x1d1,_0x1277a8:0x70,_0x35de81:0xd7,_0x232346:0x155,_0x439891:0x81,_0x262825:0x136,_0x31cb6d:0x21,_0x1a9c20:0xd1,_0x564995:0xfc,_0x2bd634:0xb0,_0x152fce:0x149,_0x5c0014:0x101,_0x2a4e9c:0x1d1,_0x2624a2:0x154,_0x25f0d1:0x213,_0x4dbcc8:0x322,_0x4edf21:0x127,_0x47c9b8:0x4b,_0x400f5d:0x185,_0x4ae788:0x259,_0x28501b:0x165,_0x34b102:0x6a,_0x34cd9a:0x4d,_0x1fccda:0x5f,_0x382b73:0x78},_0x5a1232={_0x4f1faf:0xfb},_0x2e56ba={_0x3e83df:0x17f},_0x2fbefd={_0x390ddb:0x488,_0x14daa1:0x378},_0x5d5c8e={_0x171b6f:0x257,_0x22e26b:0x20e},_0x53b945={_0x268476:0x3cf},_0x501510={_0xd28560:0x1b8,_0x1ee923:0x406},_0x5e36b6={_0x4b44cc:0x158,_0x58e223:0x189},_0x60cbfc=_0x1d2251[_0x547264(0x339,0x305,0x297,0x289)](_0x1fb303['defaultCwd']??process[_0x1df9f1(_0x1e6e72._0x402c9a,0x6a0,_0x1e6e72._0x51b590,0x7d1)]()),_0x74039c=(_0x1fb303[_0x1df9f1(0x5ac,_0x1e6e72._0x2ba574,0x6c0,0x61f)]??[])[_0x1df9f1(_0x1e6e72._0x9ba532,0x3b3,0x4b3,_0x1e6e72._0x172c64)](_0x1bc6a6=>_0x1d2251[_0x1df9f1(0x3df,0x556,0x4f5,0x52e)](_0x1bc6a6)),_0x7e8d85=_0x1fb303[_0x547264(0x2cd,0x1a2,_0x1e6e72._0x25105b,0x208)]??DEFAULT_TIMEOUT_MS;function _0x1df9f1(_0x3ea4bd,_0x3a9222,_0xf2f817,_0xdc7c71){return _0x4aa629(_0x3ea4bd-_0x5e36b6._0x4b44cc,_0x3ea4bd,_0xf2f817-_0x5e36b6._0x58e223,_0xf2f817-0x5c2);}function _0x547264(_0x2460a4,_0x199282,_0x8de4c4,_0x665e8a){return _0x4aa629(_0x2460a4-0xc7,_0x199282,_0x8de4c4-_0x501510._0xd28560,_0x2460a4-_0x501510._0x1ee923);}const _0x2e6b7b=_0x1fb303[_0x547264(_0x1e6e72._0x9684d2,_0x1e6e72._0x4f4132,_0x1e6e72._0x592b77,_0x1e6e72._0x488cc1)]??!![],_0x51a97a=_0x1fb303[_0x1df9f1(_0x1e6e72._0x4ac024,0x5c8,_0x1e6e72._0xea216e,0x64b)]??_0x547264(0x2e2,_0x1e6e72._0x33898a,0x1f6,_0x1e6e72._0x1c1224);return defineTool({'name':_0x51a97a,'description':_0x1fb303[_0x547264(_0x1e6e72._0x2c98e3,0x325,_0x1e6e72._0xc0b7b1,_0x1e6e72._0xe7eccc)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':_0x547264(_0x1e6e72._0x10306e,_0x1e6e72._0xf62dc2,_0x1e6e72._0x47dd5e,0x3fb)},'cwd':{'type':'string'},'timeoutMs':{'type':_0x547264(_0x1e6e72._0xf5aa96,_0x1e6e72._0x5c101c,_0x1e6e72._0x4aa0ad,_0x1e6e72._0xd5a52e)},'ignoreOutput':{'type':_0x1df9f1(_0x1e6e72._0x487316,_0x1e6e72._0x5e56e1,_0x1e6e72._0x3a1a6e,0x62d)}},'required':[_0x1df9f1(_0x1e6e72._0x5483c0,0x70e,_0x1e6e72._0x3bd405,_0x1e6e72._0x18652c)]},async *'execute'(_0xf36a05,_0xb61f19){const _0xe2cc97={_0x646f6b:0x5b9,_0x11c8a7:0x454,_0x10c257:0x474,_0x57a54e:0x4c4,_0x4f7899:0x38d},_0x129a82={_0x1c7c24:0x77b,_0x16d35a:0x63f,_0x16cb1:0x524,_0x1e1f78:0x4ec,_0x32d1f9:0x678},_0x46c012={_0x41ca7b:0x11d,_0x35d3c4:0x511},_0x3bca7d={_0x5e598f:0x12e,_0x252c51:0x1e9},_0x5f25cf={_0x2406ad:0x11c,_0x1a5052:0xdd},_0x500e55=_0xf36a05[_0x5b61d3(-0x37,-_0xf9956._0x3e0841,-0xd6,0x6d)]??_0x7e8d85;if(!Number['isFinite'](_0x500e55)||_0x500e55<0x1)throw new ToolExecutionError(_0x41a855(_0xf9956._0x9c9e75,0x297,0x2ec,_0xf9956._0x442b6e),{'command':_0xf36a05[_0x5b61d3(0x15,-0x12f,-0x167,-_0xf9956._0x80693b)]});throwIfAborted(_0xb61f19[_0x5b61d3(-0x279,-0x1e7,-0x17c,-_0xf9956._0x2e48cc)]);const _0x176d92=resolveWorkingDirectory(_0xf36a05[_0x5b61d3(0x19e,_0xf9956._0x24da73,_0xf9956._0x5dabd9,_0xf9956._0xdb98a6)],_0x60cbfc,_0x74039c),_0x465507=_0xf36a05['ignoreOutput']??![],_0xdb8854=resolveDefaultShell(_0x1fb303[_0x5b61d3(0x82,_0xf9956._0x1101eb,-_0xf9956._0x2a7f34,-0x85)]);function _0x41a855(_0x4ea619,_0x5d62d1,_0x1497c9,_0x46a9de){return _0x1df9f1(_0x46a9de,_0x5d62d1-0x21,_0x5d62d1- -_0x53b945._0x268476,_0x46a9de-0xaf);}const _0x199b13=buildShellArgs(_0xf36a05[_0x5b61d3(_0xf9956._0x572979,-_0xf9956._0x4bb3d9,_0xf9956._0x5eaa0d,-0x24)],_0xdb8854);function _0x5b61d3(_0x4f6fcf,_0x358237,_0x174e17,_0x6f0f0){return _0x547264(_0x6f0f0- -0x463,_0x358237,_0x174e17-_0x5f25cf._0x2406ad,_0x6f0f0-_0x5f25cf._0x1a5052);}const _0x2f2976=_0xcb20a5[_0x5b61d3(-_0xf9956._0x39c9f9,-0xd,-_0xf9956._0xd892d4,-_0xf9956._0x4769c8)]()==='win32';let _0xb13729;try{_0xb13729=_0x1744cf(_0xdb8854,_0x199b13,{'cwd':_0x176d92,'env':{...process['env'],..._0x1fb303['env']??{}},'stdio':_0x465507?[_0x5b61d3(-_0xf9956._0x22e382,_0xf9956._0x47a078,0xcc,-0x62),_0x5b61d3(-0xe7,0x5d,_0xf9956._0x17dabc,-0x62),_0x5b61d3(-_0xf9956._0xe1728b,_0xf9956._0x36a29a,0x2d,-0x62)]:[_0x41a855(_0xf9956._0x27d844,0x1ee,_0xf9956._0x1df643,0x131),_0x5b61d3(-_0xf9956._0x59c151,-_0xf9956._0x3b331e,-_0xf9956._0x376036,-0x135),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x2f2976});}catch(_0x833a15){if(isErrnoException(_0x833a15)&&_0x833a15[_0x5b61d3(-_0xf9956._0x23f64a,-_0xf9956._0xcf3c30,-_0xf9956._0x5054eb,-_0xf9956._0x40433b)]===_0x41a855(_0xf9956._0x3c873f,_0xf9956._0x4a5396,_0xf9956._0x3b41a7,0x183))throw new ToolExecutionError(_0x41a855(0x11d,_0xf9956._0x2fab66,-_0xf9956._0x43805e,0x1d8)+_0xdb8854,{'command':_0xf36a05['command'],'cwd':_0x176d92,'shellPath':_0xdb8854});throw new ToolExecutionError(_0x833a15 instanceof Error?_0x833a15[_0x41a855(0x223,0x2f4,_0xf9956._0x5c600f,_0xf9956._0x5c8bb8)]:String(_0x833a15),{'command':_0xf36a05[_0x41a855(_0xf9956._0xa5eb3b,0x22c,_0xf9956._0x2e2b30,0x19f)],'cwd':_0x176d92,'shellPath':_0xdb8854});}const _0x1fee3d=[],_0x1aa3c5=[],_0x35abc2=new StringDecoder(_0x41a855(0x19d,_0xf9956._0x4b11d8,_0xf9956._0x3e44ec,_0xf9956._0x5ae44d)),_0x52b18b=new StringDecoder(_0x5b61d3(0x2,-_0xf9956._0x1cbe54,-_0xf9956._0x468722,-0x115));let _0x2dcf58,_0x4db235=![],_0x25bf13;const _0x3cf29a=()=>{if(!_0x2dcf58)return;const _0x212803=_0x2dcf58;_0x2dcf58=void 0x0,_0x212803();},_0x3ce3b0=async()=>{if(_0x1aa3c5[_0x4389ca(_0x5d5c8e._0x171b6f,0x2be,0x3eb,_0x5d5c8e._0x22e26b)]>0x0||_0x4db235)return;function _0x4389ca(_0x4c9ff7,_0x322995,_0x543948,_0x172ff6){return _0x5b61d3(_0x4c9ff7-_0x3bca7d._0x5e598f,_0x172ff6,_0x543948-_0x3bca7d._0x252c51,_0x322995-0x395);}await new Promise(_0x1ef375=>{_0x2dcf58=_0x1ef375;});},_0x33d881=_0x4418c0=>{function _0x50d8fc(_0x406ba5,_0x2d8cee,_0x3ccf45,_0x2fac59){return _0x5b61d3(_0x406ba5-0x1bb,_0x406ba5,_0x3ccf45-0x64,_0x2fac59-0x433);}appendChunk(_0x1fee3d,_0x1aa3c5,_0x35abc2[_0x50d8fc(_0x2fbefd._0x390ddb,_0x2fbefd._0x14daa1,0x3df,0x364)](_0x4418c0),_0x2e6b7b,_0x3cf29a);},_0x158449=_0x135f23=>{const _0x10fc74={_0x2abbf7:0x202};function _0xf375a0(_0x37c970,_0x44f9dd,_0x469a8d,_0x559bd5){return _0x41a855(_0x37c970-0x13d,_0x37c970- -_0x10fc74._0x2abbf7,_0x469a8d-0x167,_0x469a8d);}appendChunk(_0x1fee3d,_0x1aa3c5,_0x52b18b[_0xf375a0(-0x81,-_0x2e56ba._0x3e83df,-0x84,0x9)](_0x135f23),_0x2e6b7b,_0x3cf29a);};_0xb13729[_0x41a855(_0xf9956._0x327dc1,0xfe,0xd2,-0x25)]?.['on']('data',_0x33d881),_0xb13729['stderr']?.['on'](_0x5b61d3(_0xf9956._0x3adb69,0x161,-_0xf9956._0x3db994,_0xf9956._0x13fb95),_0x158449);let _0x3869eb=![],_0x17d4a0;const _0x3027a3=addAbortListener(_0xb61f19[_0x5b61d3(-_0xf9956._0x17916a,-0x3b,-_0xf9956._0x263757,-_0xf9956._0x2e48cc)],()=>{_0x25bf13=toAbortError(_0xb61f19[_0x556efc(0x154,0x28f,_0x5a1232._0x4f1faf,0x1b)]['reason']),_0x4db235=!![],_0x3cf29a();function _0x556efc(_0x2eca39,_0x26ba8c,_0x44b50c,_0x20090a){return _0x41a855(_0x2eca39-0x164,_0x2eca39-0x58,_0x44b50c-0xc1,_0x26ba8c);}try{killProcessGroup(_0xb13729,_0x2f2976);}catch{}});try{const _0x1ddaed=new Promise((_0x5224cc,_0x44bfa6)=>{const _0xf29937={_0x13f44b:0xa8,_0x49b54f:0x4ab},_0x3b180b={_0x31d9d1:0x21,_0x231d34:0x78,_0x5f3b1d:0x1ad,_0x5b0f32:0x100,_0x3a29d6:0x4},_0x383de7={_0x418f32:0x31},_0x35d1dd=()=>{function _0x36829d(_0x3b99fe,_0x5c9e45,_0x4c63a7,_0x1a2e99){return _0x561a(_0x5c9e45- -0x11f,_0x1a2e99);}function _0x53180e(_0x465e64,_0x5c0244,_0x2cb2ef,_0x21d07e){return _0x561a(_0x21d07e-_0x383de7._0x418f32,_0x5c0244);}_0x17d4a0&&(clearTimeout(_0x17d4a0),_0x17d4a0=void 0x0),_0xb13729['off'](_0x36829d(-0x72,0x5f,-_0x3b180b._0x31d9d1,-_0x3b180b._0x231d34),_0x17b6d8),_0xb13729[_0x36829d(0x2f7,0x226,_0x3b180b._0x5f3b1d,_0x3b180b._0x5b0f32)](_0x36829d(-0x54,0xf3,-_0x3b180b._0x3a29d6,0x1cc),_0x4dd5a5);},_0x17b6d8=_0x22f28c=>{_0x4db235=!![],_0x3cf29a(),_0x35d1dd(),_0x44bfa6(_0x25bf13??_0x22f28c);},_0x4dd5a5=(_0x1516f5,_0x285e82)=>{_0x3869eb=!![],appendChunk(_0x1fee3d,_0x1aa3c5,_0x35abc2['end'](),_0x2e6b7b,_0x3cf29a),appendChunk(_0x1fee3d,_0x1aa3c5,_0x52b18b['end'](),_0x2e6b7b,_0x3cf29a),_0x4db235=!![],_0x3cf29a(),_0x35d1dd();if(_0x25bf13){_0x44bfa6(_0x25bf13);return;}_0x5224cc({'code':_0x1516f5,'signal':_0x285e82});};function _0x30609b(_0x360b59,_0x2d3fe9,_0xcb1a33,_0xca780f){return _0x5b61d3(_0x360b59-0x1d4,_0xcb1a33,_0xcb1a33-_0x46c012._0x41ca7b,_0x2d3fe9-_0x46c012._0x35d3c4);}_0x17d4a0=setTimeout(()=>{const _0x729091={_0x21a770:0x37c};_0x4db235=!![];function _0x327d42(_0x432418,_0x3f6a05,_0x1c2085,_0x2a5bba){return _0x561a(_0x2a5bba-0x321,_0x432418);}_0x3cf29a(),_0x35d1dd();try{killProcessGroup(_0xb13729,_0x2f2976);}catch{}function _0x477f5e(_0x53c05a,_0x1316a9,_0x3f1636,_0x261793){return _0x561a(_0x1316a9-_0x729091._0x21a770,_0x3f1636);}_0x44bfa6(new ToolExecutionError(_0x477f5e(_0x129a82._0x1c7c24,_0x129a82._0x16d35a,0x580,_0x129a82._0x16cb1)+_0x500e55+_0x477f5e(0x4a9,0x5d5,0x627,0x4e7),{'command':_0xf36a05[_0x327d42(_0x129a82._0x1e1f78,_0x129a82._0x32d1f9,0x659,0x5ac)],'cwd':_0x176d92,'shellPath':_0xdb8854,'timeoutMs':_0x500e55,'timedOut':!![]}));},_0x500e55),_0xb13729[_0x30609b(0x4c9,0x504,_0xe2cc97._0x646f6b,_0xe2cc97._0x11c8a7)]('error',_0x17b6d8);function _0xd7fed0(_0x4e1137,_0xbdc2c1,_0x3b89f6,_0x391361){return _0x5b61d3(_0x4e1137-0x18b,_0x3b89f6,_0x3b89f6-_0xf29937._0x13f44b,_0x4e1137-_0xf29937._0x49b54f);}_0xb13729['once'](_0x30609b(0x4a0,_0xe2cc97._0x10c257,_0xe2cc97._0x57a54e,_0xe2cc97._0x4f7899),_0x4dd5a5);});while(_0x1aa3c5[_0x5b61d3(-0xe7,-0x21d,-_0xf9956._0x1277a8,-_0xf9956._0x35de81)]>0x0||!_0x4db235){if(_0x1aa3c5['length']===0x0){await _0x3ce3b0();continue;}const _0x24b02f=_0x1aa3c5[_0x5b61d3(-0x22f,-_0xf9956._0x4b11d8,-0x14c,-_0xf9956._0x232346)]();_0x24b02f!==void 0x0&&(yield _0x24b02f);}const _0x281715=await _0x1ddaed,_0x7b0656=_0x465507?'exit\x20code\x20'+(_0x281715['code']??0x0):_0x1fee3d[_0x5b61d3(-_0xf9956._0x439891,-_0xf9956._0x262825,_0xf9956._0x31cb6d,-_0xf9956._0x1a9c20)](''),_0x113adc={'command':_0xf36a05[_0x5b61d3(-_0xf9956._0x564995,-0xbf,_0xf9956._0x2bd634,-0x24)],'cwd':_0x176d92,'exitCode':_0x281715[_0x5b61d3(-_0xf9956._0x152fce,-0x130,-_0xf9956._0x5c0014,-_0xf9956._0x40433b)]??0x0,'signal':_0x281715[_0x5b61d3(-_0xf9956._0x27d844,-_0xf9956._0x2a4e9c,-0x130,-_0xf9956._0x2624a2)],'ignoreOutput':_0x465507,'shellPath':_0xdb8854,'timeoutMs':_0x500e55};if(_0x281715['code']!==0x0)throw new ToolExecutionError(_0x7b0656||'Command\x20exited\x20with\x20code\x20'+(_0x281715[_0x41a855(0x13d,_0xf9956._0x25f0d1,0x1fc,_0xf9956._0x4dbcc8)]??0x0),_0x113adc);return createToolOutput(_0x7b0656,_0x113adc);}catch(_0x45cea4){while(_0x1aa3c5[_0x5b61d3(-_0xf9956._0x4edf21,-_0xf9956._0x47c9b8,-0x6d,-0xd7)]>0x0){const _0x1a38b5=_0x1aa3c5[_0x5b61d3(-0x58,-_0xf9956._0x400f5d,-_0xf9956._0x4ae788,-0x155)]();_0x1a38b5!==void 0x0&&(yield _0x1a38b5);}if(_0x45cea4 instanceof ToolExecutionError)throw _0x45cea4;if(_0x25bf13)throw _0x25bf13;if(isErrnoException(_0x45cea4)&&_0x45cea4['code']===_0x41a855(0x36f,0x278,_0xf9956._0x28501b,0x2dc))throw new ToolExecutionError('Shell\x20not\x20found:\x20'+_0xdb8854,{'command':_0xf36a05[_0x41a855(0x1fb,0x22c,0x290,0x2ff)],'cwd':_0x176d92,'shellPath':_0xdb8854});throw new ToolExecutionError(_0x45cea4 instanceof Error?_0x45cea4[_0x5b61d3(-0x1,-0x27,-_0xf9956._0x34b102,0xa4)]:String(_0x45cea4),{'command':_0xf36a05['command'],'cwd':_0x176d92,'shellPath':_0xdb8854});}finally{_0x17d4a0&&clearTimeout(_0x17d4a0);_0x3027a3(),_0xb13729['stdout']?.['off'](_0x5b61d3(0x8b,_0xf9956._0x34cd9a,0x189,_0xf9956._0x13fb95),_0x33d881),_0xb13729[_0x5b61d3(_0xf9956._0x1fccda,-0xef,-0x230,-0xe9)]?.['off'](_0x5b61d3(-0x2c,-0xb9,0xf0,_0xf9956._0x382b73),_0x158449);if(!_0x3869eb&&_0xb13729['pid']&&!_0xb13729['killed'])try{killProcessGroup(_0xb13729,_0x2f2976);}catch{}}}});}function createShellExecTool(_0x24e5c3={}){return createBashTool(_0x24e5c3);}import{readdir,readFile as _0x497f98}from'fs/promises';import{extname,join as _0x574a62}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x4552f9,join,relative as _0x5d85c0,resolve as _0x4d21fe}from'path';import{readdir as _0x58c123,readFile as _0x233bc9}from'fs/promises';import{join as _0x1cea78,relative as _0x3bb228,sep}from'path';import{delimiter}from'path';import{mkdir as _0x101fea,rm,stat as _0x378dfe,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0xea0fbd}from'path';import{unwatchFile,watchFile}from'fs';import{readFile as _0x4592d8,rename,writeFile as _0x7632f5}from'fs/promises';import{homedir as _0xb68284}from'os';import{dirname as _0x4b68eb,isAbsolute as _0x2c07dd,join as _0x55d185,resolve as _0x1743fd}from'path';import{parse as _0x383526,stringify as _0x103b1a}from'yaml';import{cp,mkdir as _0x46c9c8,readFile as _0xcf4efa,rm as _0x42bbd1,writeFile as _0x534423}from'fs/promises';import{homedir}from'os';import{join as _0x1d7816}from'path';import{parse as _0x162035,stringify as _0x8a9f9f}from'yaml';import{z}from'zod';import{readdir as _0x213317,readFile as _0x41861f}from'fs/promises';import{join as _0x5f5b71}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x3f91f0){const _0x1018c9={_0x36e308:0x4a0,_0x38be69:0x402,_0x5b5e33:0x43c,_0x37989e:0x4a0,_0xcc61f2:0x4a0,_0x21ded8:0x371,_0x3e7a87:0x47d},_0x314740={_0x3364ad:0x1c7,_0x2d0750:0x6e,_0x635f7e:0x87},_0x47b559={_0x43adfb:0x1dc,_0x411e25:0x51a},_0x4a810d=[];let _0x23a60f='';function _0x307979(_0x2dee6c,_0x43f132,_0x32fba5,_0xb42032){return _0x4aa629(_0x2dee6c-0x11d,_0x32fba5,_0x32fba5-_0x47b559._0x43adfb,_0x2dee6c-_0x47b559._0x411e25);}let _0x19eeb9=0x0;while(_0x19eeb9<_0x3f91f0[_0x307979(_0x1018c9._0x36e308,0x3c6,_0x1018c9._0x38be69,_0x1018c9._0x5b5e33)]){const _0x2067e2=_0x3f91f0[_0x19eeb9];if(_0x2067e2==='\x5c'&&_0x19eeb9+0x1<_0x3f91f0[_0x4dc0f6(-0x121,0x78,0xf8,0xd)])_0x23a60f+=_0x3f91f0[_0x19eeb9+0x1],_0x19eeb9+=0x2;else{if(_0x2067e2==='\x22'||_0x2067e2==='\x27'){const _0x523582=_0x2067e2;_0x19eeb9++;while(_0x19eeb9<_0x3f91f0[_0x307979(_0x1018c9._0x37989e,0x4d7,0x5a9,0x3d2)]&&_0x3f91f0[_0x19eeb9]!==_0x523582){_0x3f91f0[_0x19eeb9]==='\x5c'&&_0x19eeb9+0x1<_0x3f91f0[_0x307979(_0x1018c9._0xcc61f2,0x494,0x549,0x3e8)]?(_0x23a60f+=_0x3f91f0[_0x19eeb9+0x1],_0x19eeb9+=0x2):(_0x23a60f+=_0x3f91f0[_0x19eeb9],_0x19eeb9++);}_0x19eeb9++;}else _0x2067e2!==void 0x0&&/\s/['test'](_0x2067e2)?(_0x23a60f&&(_0x4a810d['push'](_0x23a60f),_0x23a60f=''),_0x19eeb9++):(_0x23a60f+=_0x2067e2,_0x19eeb9++);}}if(_0x23a60f)_0x4a810d[_0x307979(0x44b,_0x1018c9._0x21ded8,_0x1018c9._0x3e7a87,0x43b)](_0x23a60f);function _0x4dc0f6(_0x217a44,_0x4b1bda,_0x5e01af,_0x571871){return _0x4aa629(_0x217a44-_0x314740._0x3364ad,_0x4b1bda,_0x5e01af-_0x314740._0x2d0750,_0x571871-_0x314740._0x635f7e);}return _0x4a810d;}function renderCommandInstructions(_0x6ca64d){const _0xc925c4={_0x33f6ea:0x34c,_0x4cfeb0:0x190,_0x3db28a:0x4c,_0x3215a6:0x17a,_0x50dc5e:0x189,_0x2d02ce:0x31d,_0x44c889:0x24d,_0x23d7d6:0xf4,_0x48f1e4:0x2be,_0x1d6925:0x2d9,_0x48fb20:0x2f2,_0x4cd191:0x1ad,_0xe37a74:0x107,_0x35c5c0:0x3bf,_0x2129bf:0x2dd,_0x28f1ed:0x2b0,_0x213388:0x228,_0x2ea427:0x23f},_0x26bea5={_0x12aa92:0x482,_0x212392:0x172},_0x5ef97d={_0x35e881:0x10,_0x2f638a:0xc5},_0x178914={_0x302422:0x151,_0x374e5d:0xe5},_0x54d84f={_0x47231b:0x313};function _0x10b227(_0x364fe5,_0x57b92b,_0x690e9,_0x3404d3){return _0x4aa629(_0x364fe5-0x1b1,_0x3404d3,_0x690e9-0x132,_0x57b92b-_0x54d84f._0x47231b);}let _0x388613=_0x6ca64d[_0x10b227(_0xc925c4._0x33f6ea,0x21a,0x162,0x306)],_0x1df676=![];const _0x3477fe=tokenizeCommandArguments(_0x6ca64d[_0x18fd67(-0x256,-_0xc925c4._0x4cfeb0,-_0xc925c4._0x3db28a,-0x25c)]);_0x388613=_0x388613['replace'](/\$ARGUMENTS\[(\d+)\]/g,(_0xa13bdd,_0x46eba1)=>{return _0x1df676=!![],_0x3477fe[Number(_0x46eba1)]??'';}),_0x388613=_0x388613['replace'](/\$ARGUMENTS\b/g,()=>{function _0x365adf(_0x260da8,_0x156fe7,_0x445afb,_0x181a23){return _0x10b227(_0x260da8-_0x178914._0x302422,_0x445afb- -0x203,_0x445afb-_0x178914._0x374e5d,_0x156fe7);}return _0x1df676=!![],_0x6ca64d[_0x365adf(-_0x5ef97d._0x35e881,0x0,_0x5ef97d._0x2f638a,0x63)];});if(_0x6ca64d[_0x18fd67(-_0xc925c4._0x3215a6,-0x24d,-0x2c7,-0x36a)]&&_0x6ca64d[_0x10b227(_0xc925c4._0x50dc5e,0x20b,0x282,_0xc925c4._0x2d02ce)]['length']>0x0)for(let _0x55c4dc=0x0;_0x55c4dc<_0x6ca64d[_0x18fd67(-0x180,-_0xc925c4._0x44c889,-0x1f8,-0x183)][_0x18fd67(-_0xc925c4._0x23d7d6,-0x1bf,-0x104,-_0xc925c4._0x48f1e4)];_0x55c4dc++){const _0x3d637b=_0x6ca64d[_0x10b227(_0xc925c4._0x1d6925,0x20b,0x1bc,_0xc925c4._0x48fb20)][_0x55c4dc];if(_0x3d637b){const _0x394871=new RegExp('\x5c$'+_0x3d637b+'\x5cb','g');_0x388613=_0x388613['replace'](_0x394871,()=>{return _0x1df676=!![],_0x3477fe[_0x55c4dc]??'';});}}_0x388613=_0x388613[_0x10b227(0xe5,_0xc925c4._0x4cd191,0x2d6,_0xc925c4._0xe37a74)](/\$(\d+)\b/g,(_0x173886,_0x3c176e)=>{return _0x1df676=!![],_0x3477fe[Number(_0x3c176e)]??'';});function _0x18fd67(_0x2f2be3,_0x597491,_0x14cfc6,_0x24444e){return _0x2f0acf(_0x597491- -_0x26bea5._0x12aa92,_0x597491-_0x26bea5._0x212392,_0x2f2be3,_0x24444e-0x36);}return!_0x1df676&&_0x6ca64d['argumentsText'][_0x18fd67(-0x1b3,-0x293,-_0xc925c4._0x35c5c0,-_0xc925c4._0x2129bf)]()&&(_0x388613=_0x388613+_0x10b227(0x1ff,0x298,0x33d,0x309)+_0x6ca64d[_0x10b227(_0xc925c4._0x28f1ed,0x2c8,_0xc925c4._0x213388,_0xc925c4._0x2ea427)]),_0x388613;}var chatModelAuthSchemeSchema=z[_0x2f0acf(0x42d,0x3bc,0x569,0x3e9)]([_0x2f0acf(0x45a,0x471,0x541,0x36f),_0x4aa629(-0x89,-0x17e,-0x206,-0x154)]),apiKeyAuthSchema=z[_0x2f0acf(0x300,0x1dc,0x36a,0x266)]({'type':z[_0x4aa629(-0x78,-0xa0,-0x14b,-0x56)](_0x2f0acf(0x2ad,0x2a1,0x228,0x18a)),'apiKey':z['string'](),'authScheme':chatModelAuthSchemeSchema[_0x2f0acf(0x40f,0x3ca,0x307,0x4a7)]()})[_0x4aa629(0x54,0x2a,-0x8d,-0xea)](),oauthAuthSchema=z[_0x2f0acf(0x300,0x244,0x1cb,0x3e7)]({'type':z[_0x2f0acf(0x2e7,0x415,0x3dd,0x409)]('oauth'),'access':z[_0x2f0acf(0x38b,0x2f4,0x263,0x363)](),'refresh':z['string'](),'expires':z['number']()[_0x2f0acf(0x40f,0x491,0x525,0x458)](),'authScheme':chatModelAuthSchemeSchema[_0x2f0acf(0x40f,0x4b5,0x2fb,0x320)]()})[_0x2f0acf(0x253,0x2f6,0x154,0x122)](),authMethodSchema=z[_0x4aa629(-0x1c7,-0xaa,-0x176,-0xdf)]([apiKeyAuthSchema,oauthAuthSchema]),modelDefinitionSchema=z[_0x2f0acf(0x300,0x424,0x388,0x2a7)]({'id':z[_0x2f0acf(0x38b,0x25a,0x48f,0x4aa)](),'name':z[_0x2f0acf(0x38b,0x4b7,0x471,0x40d)]()[_0x4aa629(0x115,0x18d,0x11b,0xd2)]()})['passthrough'](),modelConfigSchema=z['union']([z['literal'](![]),z[_0x2f0acf(0x2e7,0x258,0x33c,0x1fa)](!![]),z['string'](),z[_0x2f0acf(0x39e,0x341,0x4e2,0x2b9)](z[_0x4aa629(0xa0,0xb7,0x8d,0x4e)]()),z[_0x2f0acf(0x39e,0x425,0x2e9,0x320)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x2f0acf(0x42d,0x301,0x4f0,0x2e6)]([_0x2f0acf(0x3a9,0x445,0x4b3,0x26a),_0x4aa629(0x5f,0x150,0x72,0x8),'openai-responses',_0x2f0acf(0x261,0x136,0x127,0x239)]),providerConfigSchema=z['object']({'apiKey':z[_0x4aa629(-0x45,0x24,-0xae,0x4e)]()['optional'](),'token':z[_0x2f0acf(0x38b,0x247,0x417,0x444)]()[_0x2f0acf(0x40f,0x2f1,0x54e,0x380)](),'defaultModel':z[_0x2f0acf(0x38b,0x355,0x295,0x46d)]()['optional'](),'smallModel':z[_0x2f0acf(0x38b,0x2f5,0x36e,0x25c)]()['optional'](),'currentAuth':z[_0x4aa629(0x185,0x4b,0xeb,0x4e)]()[_0x4aa629(0x31,0x15f,0x2d,0xd2)](),'auth':z['array'](authMethodSchema)['optional'](),'surface':chatModelSurfaceSchema[_0x2f0acf(0x40f,0x50d,0x3b5,0x44f)](),'baseUrl':z['string']()[_0x2f0acf(0x40f,0x46e,0x2ef,0x394)](),'models':modelConfigSchema[_0x2f0acf(0x40f,0x3c9,0x2ce,0x436)](),'customHeaders':z['record'](z[_0x4aa629(0x7c,0x76,0x68,0x4e)](),z['string']())[_0x2f0acf(0x40f,0x3f5,0x45d,0x2cc)]()})[_0x2f0acf(0x253,0x2e0,0x366,0x29e)](),mcpServerConfigSchema=z['object']({'command':z[_0x2f0acf(0x38b,0x36f,0x2c4,0x433)]()[_0x4aa629(0x49,0x102,0x142,0xd2)](),'args':z[_0x4aa629(0xdc,0x172,-0xde,0x61)](z['string']())['optional'](),'env':z['record'](z[_0x4aa629(-0x45,0x123,-0x70,0x4e)](),z[_0x2f0acf(0x38b,0x3dc,0x391,0x47d)]())[_0x4aa629(0x190,0xad,-0x7,0xd2)](),'transport':z[_0x4aa629(0x1c1,0x11d,0x53,0xf0)](['stdio','http'])['optional'](),'url':z[_0x2f0acf(0x38b,0x383,0x4cf,0x470)]()[_0x2f0acf(0x40f,0x3c2,0x399,0x41c)](),'headers':z[_0x4aa629(-0x87,0x7a,-0x1b,-0x22)](z[_0x4aa629(0x6,0x17c,0x91,0x4e)](),z[_0x4aa629(-0xe4,-0x8f,0xce,0x4e)]())[_0x2f0acf(0x40f,0x46c,0x2ca,0x307)](),'prefix':z[_0x4aa629(0x4e,0x17e,0x114,0x4e)]()[_0x2f0acf(0x40f,0x362,0x37f,0x39a)](),'timeoutMs':z[_0x4aa629(0x0,0x58,0x1ee,0xd3)]()[_0x4aa629(0x170,0x1a6,-0x68,0xd2)](),'enabled':z[_0x4aa629(0x13e,0x78,0x161,0xa9)]()[_0x4aa629(0x29,0x5c,0x72,0xd2)](),'auth':z[_0x2f0acf(0x300,0x1f4,0x2dd,0x1b9)]({'type':z[_0x4aa629(0x1de,0x14c,0x1a,0xf0)](['none',_0x4aa629(0x183,0x14a,0xe9,0x11d),_0x2f0acf(0x2ce,0x240,0x21d,0x22a)]),'token':z[_0x4aa629(0xa0,0x4a,0xdc,0x4e)]()[_0x2f0acf(0x40f,0x4bd,0x319,0x362)](),'oauth':z[_0x2f0acf(0x300,0x3e7,0x26d,0x273)]({'clientId':z['string']()['optional'](),'clientMetadataUrl':z[_0x4aa629(0x110,0x15,0x141,0x4e)]()[_0x4aa629(0x1a7,0x157,-0x34,0xd2)](),'authorizationServer':z['string']()['optional'](),'scopes':z['array'](z[_0x2f0acf(0x38b,0x33d,0x266,0x492)]())[_0x2f0acf(0x40f,0x47f,0x386,0x3be)](),'tokenStorageKey':z[_0x4aa629(-0xd6,-0x67,0x11,0x4e)]()['optional']()})[_0x2f0acf(0x253,0x24c,0x30f,0x136)]()[_0x4aa629(0x12a,0x18d,0x1c0,0xd2)]()})['passthrough']()[_0x2f0acf(0x40f,0x3c9,0x48b,0x50b)]()})[_0x4aa629(-0xaf,0x10,-0x23,-0xea)](),mcpSettingsSchema=z['object']({'servers':z['record'](z[_0x2f0acf(0x38b,0x404,0x24a,0x2dd)](),mcpServerConfigSchema)[_0x4aa629(0x1fb,0x12a,-0x34,0xd2)](),'allowedTools':z[_0x2f0acf(0x31b,0x362,0x2f5,0x3cb)](z[_0x4aa629(0x2b,-0x5c,0x17b,0x4e)](),z[_0x2f0acf(0x31b,0x44d,0x27c,0x43e)](z[_0x4aa629(0x158,0x14f,0xce,0x4e)](),z[_0x2f0acf(0x3e6,0x4f9,0x41e,0x311)]()))[_0x4aa629(0x194,0x179,0x50,0xd2)](),'defaultTimeoutMs':z[_0x4aa629(0x80,0x16b,-0x4e,0xd3)]()['optional']()})[_0x4aa629(-0x1c5,-0x221,-0x18b,-0xea)](),skillsSettingsSchema=z[_0x4aa629(0x89,-0x4d,-0xf6,-0x3d)]({'enabled':z[_0x2f0acf(0x3e6,0x33e,0x4ab,0x3d2)]()[_0x2f0acf(0x40f,0x2d6,0x3b4,0x3c9)](),'includeDefaults':z[_0x4aa629(0x42,0xcd,0x86,0xa9)]()['optional'](),'directories':z['array'](z[_0x2f0acf(0x38b,0x4c6,0x27c,0x402)]())['optional'](),'exclude':z[_0x4aa629(-0x53,0x3f,0xf7,0x61)](z[_0x2f0acf(0x38b,0x4c7,0x47e,0x3a7)]())['optional']()})[_0x4aa629(-0x203,-0x1f0,-0x22,-0xea)](),commandsSettingsSchema=z[_0x2f0acf(0x300,0x2a2,0x269,0x317)]({'enabled':z[_0x2f0acf(0x3e6,0x503,0x3dc,0x2e7)]()[_0x2f0acf(0x40f,0x346,0x4b9,0x301)](),'directories':z[_0x2f0acf(0x39e,0x48b,0x383,0x319)](z[_0x2f0acf(0x38b,0x3a2,0x276,0x2c1)]())[_0x4aa629(0x1b2,0x104,0xb7,0xd2)]()})[_0x4aa629(0xe,-0x7f,-0x124,-0xea)](),agentsSettingsSchema=z[_0x2f0acf(0x300,0x3bc,0x204,0x317)]({'enabled':z[_0x2f0acf(0x3e6,0x36c,0x489,0x438)]()['optional'](),'includeDefaults':z[_0x4aa629(-0x1c,0x172,0x11e,0xa9)]()[_0x2f0acf(0x40f,0x2e3,0x512,0x362)](),'directories':z[_0x2f0acf(0x39e,0x300,0x2a3,0x2e8)](z[_0x4aa629(0x114,0x58,-0x63,0x4e)]())[_0x2f0acf(0x40f,0x318,0x3f8,0x443)]()})[_0x4aa629(0x35,-0x214,0x24,-0xea)](),uiThemeSettingsSchema=z[_0x2f0acf(0x300,0x224,0x1ba,0x3b5)]({'mode':z[_0x4aa629(0x1ef,0x3f,0x17d,0xf0)](['auto',_0x2f0acf(0x232,0x351,0x302,0x21a),_0x2f0acf(0x231,0x28b,0x1e8,0x206)])['optional'](),'colorLevel':z['enum']([_0x4aa629(0x179,0x80,-0x18,0xe6),'none',_0x4aa629(-0x140,-0xa0,-0x2f,-0x115),'ansi256',_0x2f0acf(0x313,0x360,0x3b1,0x301)])[_0x4aa629(0x1,0x154,0x1f2,0xd2)](),'backgrounds':z[_0x2f0acf(0x42d,0x525,0x35f,0x448)]([_0x2f0acf(0x423,0x2de,0x385,0x42d),'on','off'])[_0x2f0acf(0x40f,0x4f4,0x3c5,0x451)](),'messageStyle':z[_0x2f0acf(0x42d,0x4e9,0x355,0x36a)]([_0x4aa629(-0xf1,-0x1b3,-0x13f,-0x6e),_0x4aa629(0x4c,0x1bb,-0x41,0xfd)])[_0x4aa629(-0x7,0x1fb,0x1bf,0xd2)]()})['passthrough'](),statuslineSegmentSchema=z[_0x4aa629(-0xc,0x175,0x1b8,0xf0)](['model',_0x2f0acf(0x360,0x2a4,0x218,0x3fe),_0x4aa629(-0x13c,0xfa,0x28,-0x3c),'sudo','tokens',_0x4aa629(0x107,0x104,0x1bc,0x88),'cached','requests',_0x2f0acf(0x283,0x319,0x26b,0x3a3),'cost',_0x2f0acf(0x26f,0x21f,0x274,0x161),_0x2f0acf(0x20d,0x1d3,0x2f9,0x1b2),_0x2f0acf(0x225,0x364,0x24c,0x124),_0x2f0acf(0x32d,0x2c6,0x3f8,0x32d),'rss']),statuslineItemSchema=z[_0x4aa629(-0x140,-0x87,-0x209,-0xdf)]([statuslineSegmentSchema,z[_0x4aa629(0xe0,-0xcf,-0x177,-0x56)]('|')]),statuslineRowSchema=z[_0x2f0acf(0x39e,0x472,0x3c4,0x480)](statuslineItemSchema),statuslineConfigSchema=z[_0x2f0acf(0x300,0x220,0x2b6,0x1dc)]({'rows':z[_0x4aa629(0xf9,-0x76,0x66,-0x1e)]([statuslineRowSchema,statuslineRowSchema])[_0x2f0acf(0x40f,0x49c,0x542,0x35a)]()})[_0x2f0acf(0x253,0x303,0x14c,0x269)](),memorySettingsSchema=z[_0x2f0acf(0x300,0x300,0x423,0x248)]({'version':z['literal'](0x2)[_0x2f0acf(0x40f,0x4c2,0x4dc,0x466)](),'retrieval':z[_0x4aa629(0xdb,0x4a,-0x144,-0x3d)]({'engine':z[_0x4aa629(-0x17e,0x52,-0x11f,-0x56)](_0x2f0acf(0x2c1,0x1db,0x314,0x1f1))['optional'](),'candidateLimit':z[_0x2f0acf(0x410,0x3c2,0x392,0x54a)]()[_0x2f0acf(0x40f,0x2f9,0x3a8,0x48d)](),'activeCandidateLimit':z['number']()[_0x4aa629(-0x6e,0x79,0xa3,0xd2)](),'activeEnabled':z[_0x4aa629(0x2b,0x1bc,-0x4c,0xa9)]()[_0x2f0acf(0x40f,0x4cf,0x3ee,0x3d3)](),'maxQueriesPerTurn':z['number']()[_0x2f0acf(0x40f,0x487,0x3d6,0x4f4)](),'coreInjectTokenBudget':z['number']()[_0x4aa629(0x1ce,0x1b6,-0x2d,0xd2)](),'injectTokenBudget':z['number']()[_0x4aa629(0xd,0x143,0xb,0xd2)](),'minScore':z[_0x2f0acf(0x410,0x450,0x527,0x3c4)]()['optional'](),'freshnessHalfLifeDays':z['number']()['optional']()})[_0x2f0acf(0x253,0x11f,0x2ee,0x307)]()[_0x4aa629(-0x3a,0x6,0x8b,0xd2)](),'extraction':z[_0x2f0acf(0x300,0x235,0x241,0x342)]({'enabled':z[_0x2f0acf(0x3e6,0x42c,0x38f,0x34f)]()[_0x4aa629(-0x4e,0xe0,0x1b4,0xd2)](),'provider':z['string']()['optional'](),'model':z[_0x2f0acf(0x38b,0x313,0x381,0x2b0)]()[_0x2f0acf(0x40f,0x326,0x385,0x39a)](),'sensitiveFilter':z[_0x4aa629(0x7b,0x194,0x15d,0xa9)]()[_0x4aa629(0x15e,0x99,-0x10,0xd2)]()})[_0x4aa629(0x3e,-0x82,-0x1e9,-0xea)]()['optional'](),'index':z[_0x2f0acf(0x300,0x363,0x3a8,0x36b)]({'persisted':z[_0x2f0acf(0x3e6,0x3ac,0x2c0,0x2dd)]()['optional'](),'flushIntervalMs':z[_0x4aa629(0x17b,-0x6f,0x177,0xd3)]()[_0x2f0acf(0x40f,0x469,0x37e,0x375)]()})[_0x2f0acf(0x253,0x368,0x37c,0x1e4)]()[_0x4aa629(0x4d,0x139,0x207,0xd2)](),'enabled':z[_0x2f0acf(0x3e6,0x3cf,0x2e9,0x34c)]()[_0x4aa629(0x4c,-0x24,-0x58,0xd2)](),'saveTool':z[_0x4aa629(-0x9a,0xa8,-0x13,0xa9)]()['optional'](),'model':z[_0x4aa629(-0xbe,0x175,-0x54,0x4e)]()['optional'](),'provider':z[_0x2f0acf(0x38b,0x404,0x2dc,0x2a0)]()[_0x2f0acf(0x40f,0x416,0x4d9,0x2ff)](),'maxInjectionTokens':z[_0x2f0acf(0x410,0x3f8,0x335,0x3cb)]()[_0x2f0acf(0x40f,0x367,0x47d,0x551)](),'backgroundExtraction':z['boolean']()['optional']()})[_0x4aa629(-0x231,-0x143,-0x15e,-0xea)](),recentModelSchema=z[_0x4aa629(-0x10c,-0x185,-0x9d,-0x3d)]({'provider':z[_0x4aa629(0x2d,0xb1,0x18a,0x4e)](),'model':z[_0x2f0acf(0x38b,0x4b2,0x2c8,0x42b)](),'usedAt':z[_0x2f0acf(0x410,0x35d,0x46e,0x2df)]()})[_0x2f0acf(0x253,0x384,0x350,0x111)](),lspServerEntrySchema=z[_0x4aa629(-0x4d,0x5a,0xe1,-0x3d)]({'disabled':z[_0x4aa629(0x143,0x1ca,0xd3,0xa9)]()[_0x4aa629(0x1ab,0x17e,0xe7,0xd2)](),'command':z[_0x4aa629(0x18,-0x9e,0x11a,0x4e)]()[_0x2f0acf(0x40f,0x51f,0x543,0x35b)](),'args':z[_0x2f0acf(0x39e,0x346,0x3ef,0x45a)](z[_0x4aa629(0x195,0x98,0x1,0x4e)]())[_0x4aa629(0x158,0x48,0x15e,0xd2)](),'rootMarkers':z[_0x4aa629(0xa3,-0x8a,-0x97,0x61)](z[_0x4aa629(0x107,0x5b,0x150,0x4e)]())['optional']()})['passthrough'](),lspConfigSchema=z[_0x4aa629(-0xc9,-0x130,-0xb8,-0x3d)]({'enabled':z[_0x2f0acf(0x3e6,0x330,0x4ee,0x481)]()[_0x4aa629(0x10f,-0x22,0x10c,0xd2)](),'servers':z[_0x4aa629(-0x112,-0x2e,0x10c,-0x22)](z[_0x2f0acf(0x38b,0x2a0,0x39f,0x27b)](),lspServerEntrySchema)[_0x4aa629(0x199,0x33,0x11a,0xd2)]()})['passthrough'](),cliConfigSchema=z[_0x4aa629(-0xf0,-0x172,-0x110,-0x3d)]({'activeProvider':z[_0x4aa629(0x4b,-0x45,0x170,0x4e)]()[_0x4aa629(0x1d6,0x60,-0x4b,0xd2)](),'activeModel':z[_0x4aa629(-0x1d,0x137,-0xcb,0x4e)]()[_0x2f0acf(0x40f,0x413,0x4b7,0x3da)](),'apiKey':z[_0x2f0acf(0x38b,0x25d,0x3e7,0x43b)]()[_0x4aa629(0xf9,0x186,-0x18,0xd2)](),'providers':z[_0x4aa629(-0xe7,0x103,0x6d,-0x22)](z[_0x4aa629(0xf8,-0xa4,0x176,0x4e)](),providerConfigSchema)['optional'](),'mcp':mcpSettingsSchema[_0x4aa629(0x112,0xa1,0x41,0xd2)](),'skills':skillsSettingsSchema[_0x2f0acf(0x40f,0x2d6,0x431,0x506)](),'agents':agentsSettingsSchema[_0x2f0acf(0x40f,0x329,0x4e4,0x30e)](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z[_0x2f0acf(0x31b,0x328,0x364,0x390)](z['string'](),z[_0x4aa629(0x190,0x56,0x1c,0xa9)]())[_0x4aa629(0x1e9,0x12e,0x1c1,0xd2)](),'memory':memorySettingsSchema['optional'](),'session':z[_0x2f0acf(0x300,0x28b,0x377,0x292)]({'memPersist':z[_0x4aa629(0xbb,0x57,-0x80,0xa9)]()[_0x2f0acf(0x40f,0x396,0x3ce,0x3d1)](),'persistEventLog':z['boolean']()['optional'](),'persistHttpLog':z['boolean']()[_0x2f0acf(0x40f,0x38d,0x3ac,0x3e0)]()})[_0x4aa629(-0xf,-0x4a,-0x1ee,-0xea)]()['optional'](),'requireToolApproval':z['boolean']()[_0x2f0acf(0x40f,0x464,0x54e,0x3c6)](),'thinking':z['enum'](['OFF',_0x2f0acf(0x36d,0x2c7,0x41b,0x469),_0x4aa629(-0xda,-0x31,-0x132,-0x52),_0x2f0acf(0x27f,0x379,0x379,0x1d2)])[_0x2f0acf(0x40f,0x2ea,0x4b5,0x3bb)](),'streamingChunks':z[_0x2f0acf(0x3e6,0x4a8,0x4c1,0x514)]()[_0x2f0acf(0x40f,0x515,0x467,0x3f4)](),'agentsEnabled':z[_0x4aa629(-0x6b,-0x6,0x4,-0x22)](z[_0x2f0acf(0x38b,0x445,0x270,0x364)](),z[_0x2f0acf(0x3e6,0x2e9,0x497,0x3d0)]())[_0x2f0acf(0x40f,0x35c,0x2ed,0x2d3)](),'recentModels':z[_0x2f0acf(0x39e,0x423,0x41f,0x31b)](recentModelSchema)[_0x2f0acf(0x40f,0x4f1,0x3e8,0x3b7)](),'lsp':lspConfigSchema[_0x2f0acf(0x40f,0x519,0x450,0x42b)](),'ui':z['object']({'theme':uiThemeSettingsSchema[_0x2f0acf(0x40f,0x3e8,0x370,0x2ca)](),'statusline':statuslineConfigSchema[_0x2f0acf(0x40f,0x3d5,0x457,0x367)]()})[_0x2f0acf(0x253,0x19f,0x1d8,0x233)]()[_0x4aa629(0x218,-0x31,0xc8,0xd2)](),'tools':z[_0x2f0acf(0x31b,0x1fe,0x320,0x265)](z[_0x2f0acf(0x38b,0x363,0x332,0x3db)](),z[_0x2f0acf(0x366,0x3ff,0x44d,0x42f)]())[_0x2f0acf(0x40f,0x36f,0x349,0x3df)]()})[_0x4aa629(-0xb8,0x22,-0x10f,-0xea)]();function buildDescription(_0x47cecc){const _0x47cbf9={_0x44c64c:0x1d0,_0x5b4ebe:0x308,_0x3e3e8b:0x336,_0x3fd66e:0x261,_0x4dcede:0x29,_0x441f99:0x17c,_0xa9329b:0xf9,_0x49ad53:0x61,_0x3944b5:0x6e,_0x44c36d:0x0,_0x1769a3:0x20,_0x198118:0x222,_0x10d973:0xcb,_0x357bb7:0x96,_0x51ce34:0x1e9,_0x2af82a:0x19e},_0x54a58={_0x7908d0:0x467,_0xdf33a2:0x134,_0x26d3a5:0x1bd},_0x4d6185={_0x2714f6:0x46};if(_0x47cecc[_0x5bdb68(-_0x47cbf9._0x44c64c,-0x1de,-0x1a9,-0x1a4)]===0x0)return[_0x5bdb68(-0x2d0,-_0x47cbf9._0x5b4ebe,-_0x47cbf9._0x3e3e8b,-_0x47cbf9._0x3fd66e),_0x5bdb68(-_0x47cbf9._0x4dcede,-0x67,-_0x47cbf9._0x441f99,-_0x47cbf9._0xa9329b),'No\x20commands\x20are\x20currently\x20available.'][_0x121797(_0x47cbf9._0x49ad53,-_0x47cbf9._0x3944b5,-0x7b,0x17e)]('\x0a');function _0x121797(_0x224db4,_0x15f8bd,_0xa2614a,_0x4c33c2){return _0x2f0acf(_0x224db4- -0x268,_0x15f8bd-_0x4d6185._0x2714f6,_0xa2614a,_0x4c33c2-0xf3);}const _0x449716=[_0x121797(-0x62,_0x47cbf9._0x44c36d,-_0x47cbf9._0x1769a3,-0x14),_0x5bdb68(-0x1e8,-_0x47cbf9._0x198118,-_0x47cbf9._0x10d973,-0xf9),_0x121797(0x13c,0x115,0x20e,_0x47cbf9._0x357bb7),..._0x47cecc['map'](_0x1438b2=>_0x1438b2[_0x5bdb68(-0x35,-0xce,-0xfa,-0x15b)]?'-\x20'+_0x1438b2['name']+'\x20'+_0x1438b2[_0x5bdb68(-0x55,-0x88,-0x122,-0x15b)]+':\x20'+_0x1438b2['description']:'-\x20'+_0x1438b2[_0x5bdb68(-0x1bf,-0x1bb,-0x184,-0x11b)]+':\x20'+_0x1438b2['description'])];function _0x5bdb68(_0x24204d,_0x2a872a,_0x4bccd1,_0xc8290e){return _0x2f0acf(_0xc8290e- -_0x54a58._0x7908d0,_0x2a872a-_0x54a58._0xdf33a2,_0x24204d,_0xc8290e-_0x54a58._0x26d3a5);}return _0x449716[_0x5bdb68(-_0x47cbf9._0x51ce34,-0x61,-0x149,-_0x47cbf9._0x2af82a)]('\x0a');}function createInvokeCommandTool(_0x65e5f7){const _0x26d494={_0x5ec990:0x484,_0x3a0d65:0x4f3,_0x3eaa8a:0x504,_0x49a3ee:0x6af,_0x26b645:0x660,_0x4424c4:0x5d6,_0xf1969d:0x661,_0x4010e6:0x594,_0x41f9b0:0x466,_0x584c73:0x3ab},_0x3244cd={_0x401feb:0x53c,_0x213c9b:0x459,_0x464c2b:0xab,_0x1f1455:0x60e,_0x41b78e:0xfc,_0x439e0e:0x8a,_0x528e57:0x5c9,_0x2d800c:0x53b,_0x4771ed:0x50d},_0x2c28b1={_0x493b65:0xbe,_0x414ebc:0xe8},_0x38eeeb={_0x5e5780:0x10e},_0x19e912={_0xc2f787:0x1d1,_0x708e1b:0x86};function _0x4fb08f(_0x242628,_0x4f4fa1,_0x1d473d,_0x434469){return _0x2f0acf(_0x4f4fa1-0x2d6,_0x4f4fa1-_0x19e912._0xc2f787,_0x242628,_0x434469-_0x19e912._0x708e1b);}const _0x12a187=new Map(_0x65e5f7[_0x57a58f(0x41f,_0x26d494._0x5ec990,_0x26d494._0x3a0d65,0x413)][_0x4fb08f(0x552,_0x26d494._0x3eaa8a,0x46d,0x579)](_0x3b1341=>[_0x3b1341['id'],_0x3b1341]));function _0x57a58f(_0x9b9cec,_0x2c574e,_0x43439d,_0x567e87){return _0x2f0acf(_0x43439d-0x11a,_0x2c574e-0xd7,_0x9b9cec,_0x567e87-_0x38eeeb._0x5e5780);}const _0x3f0a6a=buildDescription(_0x65e5f7[_0x4fb08f(0x5b6,_0x26d494._0x49a3ee,_0x26d494._0x26b645,0x5e3)]);return defineTool({'name':_0x4fb08f(0x643,0x536,0x601,0x4ed),'description':_0x3f0a6a,'inputSchema':{'type':_0x4fb08f(0x686,_0x26d494._0x4424c4,0x602,0x5f8),'properties':{'name':{'type':_0x4fb08f(0x687,_0x26d494._0xf1969d,0x6e7,0x575)},'args':{'type':'string'}},'required':[_0x57a58f(0x32d,_0x26d494._0x4010e6,_0x26d494._0x41f9b0,_0x26d494._0x584c73)]},async *'execute'(_0x259883){const _0x273252={_0x3c052e:0x1a2},_0x2d0dc8=_0x12a187['get'](_0x259883['name']);function _0x54cedd(_0xd9d9bf,_0x52fa9f,_0x5a0b59,_0xd0015c){return _0x4fb08f(_0xd9d9bf,_0x52fa9f- -0x53e,_0x5a0b59-0xa5,_0xd0015c-_0x273252._0x3c052e);}if(!_0x2d0dc8){const _0x4c0241=Array[_0x23d33c(0x456,_0x3244cd._0x401feb,_0x3244cd._0x213c9b,0x347)](_0x12a187['keys']())['join'](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x259883[_0x23d33c(0x564,0x4f3,0x473,0x557)]+'\x27\x20not\x20found.\x20Available\x20commands:\x20'+_0x4c0241,{'name':_0x259883['name']});}const _0xdf9013=await _0x65e5f7[_0x54cedd(-0x1a,0x74,0xfd,_0x3244cd._0x464c2b)](_0x2d0dc8),_0x3a7d90=_0x259883[_0x23d33c(_0x3244cd._0x1f1455,0x6a0,0x525,0x689)]??'',_0x35f5ed=renderCommandInstructions({'instructions':_0xdf9013[_0x54cedd(-_0x3244cd._0x41b78e,-0x24,-_0x3244cd._0x439e0e,0xaf)],'argumentsText':_0x3a7d90,'argumentNames':_0xdf9013[_0x54cedd(0x163,0x7a,-0xb0,-0xb1)]});function _0x23d33c(_0x490737,_0x18cdec,_0x354f58,_0x399880){return _0x4fb08f(_0x18cdec,_0x490737- -_0x2c28b1._0x493b65,_0x354f58-_0x2c28b1._0x414ebc,_0x399880-0x65);}return yield createToolOutput(_0x35f5ed,{'id':_0xdf9013['id'],'name':_0xdf9013[_0x23d33c(0x564,_0x3244cd._0x528e57,_0x3244cd._0x2d800c,_0x3244cd._0x4771ed)],'path':_0x2d0dc8['source']['path']}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x14447b,rename as _0x46eec1,stat as _0x2ac566,writeFile as _0x4dd57f}from'fs/promises';import*as _0x3c64ec from'path';function detectEol(_0x24a4ee){const _0xdbd577={_0x3d92f7:0x1ea,_0x5035cb:0x231,_0x348096:0x8c,_0x355eac:0x8d},_0x11d843={_0x56e9b1:0x19,_0x17cfed:0x117},_0x3cf5d0={_0x299ded:0x9c,_0x6461e5:0x1bc,_0x4690ce:0x48};function _0x1f4088(_0x24068a,_0x7f02ee,_0x2e9402,_0x31551d){return _0x2f0acf(_0x2e9402- -_0x3cf5d0._0x299ded,_0x7f02ee-_0x3cf5d0._0x6461e5,_0x24068a,_0x31551d-_0x3cf5d0._0x4690ce);}function _0x4c0f61(_0xa1ef61,_0x2c22bc,_0x27756d,_0x2264fc){return _0x4aa629(_0xa1ef61-0x88,_0x27756d,_0x27756d-_0x11d843._0x56e9b1,_0x2264fc- -_0x11d843._0x17cfed);}return/\r\n/[_0x1f4088(_0xdbd577._0x3d92f7,0x22d,_0xdbd577._0x5035cb,0x1e4)](_0x24a4ee[_0x4c0f61(-_0xdbd577._0x348096,-0xfd,_0xdbd577._0x355eac,0x1)]('utf8'))?'crlf':'lf';}function normalizeToLf(_0x265aa9){const _0x1665ec={_0x31782c:0x230},_0x46f5f0={_0x3aa337:0x10b,_0x314056:0xad,_0x6fb4da:0x316};function _0x5a078a(_0x2fa2ef,_0x2abebf,_0xe73fb6,_0x27b486){return _0x4aa629(_0x2fa2ef-_0x46f5f0._0x3aa337,_0xe73fb6,_0xe73fb6-_0x46f5f0._0x314056,_0x27b486-_0x46f5f0._0x6fb4da);}return _0x265aa9[_0x5a078a(_0x1665ec._0x31782c,0x253,0x14a,0x1b0)](/\r\n/g,'\x0a');}function convertEol(_0x2525ae,_0x2d74f3){const _0x5cb63d={_0x3102ec:0x5a7,_0x465832:0x5f9,_0xc4b8:0x3eb,_0x1087bb:0x468},_0x353ea2={_0x5a7e75:0x588};function _0x1fa697(_0x97e66c,_0x16dc03,_0x376802,_0x186d95){return _0x4aa629(_0x97e66c-0x6b,_0x97e66c,_0x376802-0x10f,_0x376802-_0x353ea2._0x5a7e75);}function _0x46d9f7(_0x7cde16,_0x51e512,_0x4b1bc7,_0x465f31){return _0x4aa629(_0x7cde16-0x8,_0x465f31,_0x4b1bc7-0xcf,_0x51e512-0x5f9);}return _0x2d74f3===_0x1fa697(0x481,0x5cf,_0x5cb63d._0x3102ec,_0x5cb63d._0x465832)?_0x2525ae[_0x46d9f7(0x40f,0x493,_0x5cb63d._0xc4b8,_0x5cb63d._0x1087bb)](/\n/g,'\x0d\x0a'):_0x2525ae;}async function atomicWrite(_0xd1dc58,_0x220f48){const _0x5b69cd={_0x10dadf:0x226,_0x3dc2ed:0x2a6,_0x572bf8:0x345,_0x5d05a7:0x1fe,_0x3e061b:0x13,_0x221a77:0x6e,_0x50af72:0x131,_0x56e7db:0x164,_0x3c8a57:0xe5,_0x2d4993:0x81},_0xf0aff8={_0x5bfd52:0x2c9},_0x3edcf7=_0x3c64ec[_0x578f90(0x2e3,_0x5b69cd._0x10dadf,0x39d,_0x5b69cd._0x3dc2ed)](_0xd1dc58),_0xb031a4=_0x3c64ec[_0x578f90(_0x5b69cd._0x10dadf,0x1d8,_0x5b69cd._0x572bf8,_0x5b69cd._0x5d05a7)](_0x3edcf7,_0x211f71(-_0x5b69cd._0x3e061b,0x58,0x109,0x142)+_0x3c64ec['basename'](_0xd1dc58)+'.'+Date[_0x211f71(_0x5b69cd._0x221a77,_0x5b69cd._0x50af72,_0x5b69cd._0x56e7db,0x210)]()+'.'+Math['random']()[_0x211f71(0x282,0x18c,_0x5b69cd._0x3c8a57,0x1e5)](0x24)[_0x211f71(0xb,-0x8c,0xb0,-_0x5b69cd._0x2d4993)](0x2));await _0x4dd57f(_0xb031a4,_0x220f48);function _0x211f71(_0x1b280e,_0x1cf08a,_0x1c8c07,_0x17af87){return _0x2f0acf(_0x1cf08a- -_0xf0aff8._0x5bfd52,_0x1cf08a-0x10c,_0x1c8c07,_0x17af87-0x26);}function _0x578f90(_0x9bb914,_0x9711f2,_0x393d8a,_0x1a1953){return _0x2f0acf(_0x9bb914- -0xa3,_0x9711f2-0x66,_0x393d8a,_0x1a1953-0xbb);}await _0x46eec1(_0xb031a4,_0xd1dc58);}function sha256(_0xe0bf4b){const _0x2e0923={_0x4b0994:0x28b,_0x275fbf:0x1ed,_0x405f6f:0x2e7,_0xcceacc:0x25d,_0x2ad75c:0x7a,_0x45b1c4:0x115},_0x37ed85={_0x4573ec:0x1bf,_0x35208e:0x16f},_0x2b591a={_0x47279c:0x326};function _0x2ac583(_0x3e4afe,_0x560db1,_0x5d8bc0,_0x5ba858){return _0x4aa629(_0x3e4afe-0x1c1,_0x560db1,_0x5d8bc0-0x10d,_0x5d8bc0-_0x2b591a._0x47279c);}function _0x5c577d(_0x2675c4,_0x41f88a,_0x4cacb6,_0xbaa22f){return _0x4aa629(_0x2675c4-_0x37ed85._0x4573ec,_0x2675c4,_0x4cacb6-0x5,_0xbaa22f- -_0x37ed85._0x35208e);}return createHash(_0x5c577d(-_0x2e0923._0x4b0994,-_0x2e0923._0x275fbf,-0x2d1,-0x1c6))[_0x2ac583(0x358,0x4e5,0x3fd,_0x2e0923._0x405f6f)](_0xe0bf4b)[_0x5c577d(0x3,-0x3b,-0xb4,-0xc4)](_0x5c577d(0x7,-_0x2e0923._0xcceacc,-_0x2e0923._0x2ad75c,-_0x2e0923._0x45b1c4));}function countLines(_0x21d662){const _0x43217d={_0x342fd3:0x13f,_0xfed89:0x207,_0x35baf9:0x14c,_0x13ff6d:0x165},_0x10aba4=_0x21d662['replace'](/\n$/,'');function _0x3c4f36(_0x58fce2,_0x565175,_0x3b48cb,_0x6a2d4c){return _0x2f0acf(_0x6a2d4c- -0x15e,_0x565175-0x18,_0x565175,_0x6a2d4c-0x11c);}return _0x10aba4[_0x3c4f36(_0x43217d._0x342fd3,_0x43217d._0xfed89,_0x43217d._0x35baf9,_0x43217d._0x13ff6d)]===0x0?0x0:_0x10aba4['split']('\x0a')['length'];}function calculateLineNumbers(_0x4c84ec,_0x54d15f,_0x3f3345,_0x4610aa){const _0x301f68={_0x16de96:0x480,_0x49caa1:0x52,_0x36c664:0x74,_0x23e7bc:0x84},_0x4f5d5e={_0x3b2bed:0x8a,_0x33c25d:0x28},_0x547949={_0x21a79a:0x131};function _0x12e2ba(_0x254b33,_0x4b6888,_0x121e41,_0x38f87e){return _0x2f0acf(_0x4b6888-0x6a,_0x4b6888-0x8a,_0x121e41,_0x38f87e-_0x547949._0x21a79a);}const _0x368fe4=_0x4c84ec[_0x12e2ba(0x238,0x2a7,0x356,0x170)](0x0,_0x4610aa)[_0x12e2ba(0x461,_0x301f68._0x16de96,0x352,0x3ee)]('\x0a')[_0x1a0afd(-_0x301f68._0x49caa1,_0x301f68._0x36c664,_0x301f68._0x23e7bc,-0xe0)],_0xa8237a=countLines(_0x54d15f);function _0x1a0afd(_0x3720a3,_0x4a5a07,_0x1cb587,_0x4aedf8){return _0x4aa629(_0x3720a3-_0x4f5d5e._0x3b2bed,_0x4aedf8,_0x1cb587-0x11f,_0x3720a3-_0x4f5d5e._0x33c25d);}const _0x1cf6b5=countLines(_0x3f3345);return{'oldStartLine':_0x368fe4,'oldEndLine':_0x368fe4+_0xa8237a-0x1,'newStartLine':_0x368fe4,'newEndLine':_0x368fe4+_0x1cf6b5-0x1,'oldLineCount':_0xa8237a,'newLineCount':_0x1cf6b5};}function createFileEditTool(_0x1fc68e={}){const _0x3a14db={_0x53827e:0x352,_0x3a668c:0x25d,_0x48e580:0x3ed,_0x4c4000:0xbf,_0x4e594c:0x20b,_0x3538cc:0x134,_0x616b10:0x530,_0x33a11e:0x4ec,_0x89762:0x156,_0x4ab4ab:0x2d2,_0x2bc849:0x1d9,_0x438175:0x42e,_0x4ce325:0x35a,_0x4ab452:0x472,_0x5e767d:0x217,_0x4b1fbc:0x10,_0x568a70:0x4db,_0x33a6dd:0x49,_0x4159e3:0xe9,_0x192849:0xbf,_0x4962a9:0x14a,_0x2ff0ef:0x19c,_0x4a693c:0x14c,_0x10bbd9:0x165,_0x31d39a:0x12b,_0x18de17:0x1ca},_0x149913={_0x369560:0x1be,_0xde005c:0xab,_0x4d44cf:0x347,_0x10cf57:0x3d5,_0x441ae2:0x2a4,_0x1e43a5:0x31e,_0x59838a:0x330,_0x413130:0x30b,_0x199558:0x284,_0x307930:0x125,_0x65bcbb:0x9d,_0x452b1e:0xc9,_0x503860:0x1ee,_0x57c45a:0x211,_0x7dc36f:0xdc,_0x771424:0x2e0,_0x402bad:0x2cd,_0x5de2d6:0x18b,_0xa2f513:0x1c0,_0x36528a:0x17b,_0xbf38dd:0x1c,_0x1f814e:0x12f,_0x3d1876:0x13b,_0x57816c:0x1ad,_0x29589a:0x20f,_0xb5de2c:0x18a,_0x1c5c14:0x13d,_0x44ca9b:0x2f2,_0x49cdc0:0x31f,_0x282d8e:0x182,_0xe41b37:0x218,_0x1e9a7a:0x1ca,_0x3faab1:0x33d,_0x33b41d:0x34d,_0x376b95:0x3f3,_0x281ff1:0x26a,_0x57790b:0x20f},_0x2d8a5c={_0x5a8d20:0x188},_0x37ad11=_0x3c64ec[_0x990481(_0x3a14db._0x53827e,_0x3a14db._0x3a668c,_0x3a14db._0x48e580,0x262)](_0x1fc68e[_0x5adc36(_0x3a14db._0x4c4000,_0x3a14db._0x4e594c,0x269,_0x3a14db._0x3538cc)]??process[_0x990481(_0x3a14db._0x616b10,0x63a,0x50a,_0x3a14db._0x33a11e)]()),_0x587454=(_0x1fc68e[_0x5adc36(_0x3a14db._0x89762,_0x3a14db._0x4ab4ab,0x10d,0x1fa)]??[])[_0x990481(0x310,0x25a,0x1e3,_0x3a14db._0x2bc849)](_0x5ddf2e=>_0x3c64ec['resolve'](_0x5ddf2e));function _0x5adc36(_0xba999c,_0x423a92,_0x5b115e,_0x33810a){return _0x4aa629(_0xba999c-0xb6,_0x5b115e,_0x5b115e-0x81,_0x33810a-0xfc);}function _0x990481(_0x44506b,_0x33f09b,_0x325c88,_0x5b1c2f){return _0x2f0acf(_0x44506b-0xe2,_0x33f09b-0x1b,_0x325c88,_0x5b1c2f-_0x2d8a5c._0x5a8d20);}const _0x155254=_0x1fc68e[_0x990481(_0x3a14db._0x438175,_0x3a14db._0x4ce325,_0x3a14db._0x4ab452,0x420)]??_0x5adc36(_0x3a14db._0x5e767d,_0x3a14db._0x4b1fbc,0x16e,0x137);return defineTool({'name':_0x155254,'description':_0x990481(0x395,_0x3a14db._0x568a70,0x45e,0x377),'inputSchema':{'type':_0x5adc36(_0x3a14db._0x33a6dd,-0x24,_0x3a14db._0x4159e3,_0x3a14db._0x192849),'properties':{'filePath':{'type':'string'},'oldText':{'type':_0x5adc36(0x184,0x1fd,0xa3,_0x3a14db._0x4962a9)},'newText':{'type':'string'},'dryRun':{'type':'boolean'}},'required':[_0x5adc36(_0x3a14db._0x2ff0ef,0xad,_0x3a14db._0x4a693c,0x8b),'oldText',_0x5adc36(0x1b7,_0x3a14db._0x10bbd9,_0x3a14db._0x31d39a,_0x3a14db._0x18de17)]},async *'execute'(_0x363efc){const _0x4a9164={_0x18d545:0x136,_0x3685a7:0x133},_0x1886e9={_0x3cd475:0xbb},_0x197ada=resolveAllowedPath(_0x37ad11,_0x587454,_0x363efc[_0x2727c8(0x1dc,_0x149913._0x369560,_0x149913._0xde005c,0x191)]);await assertWorkspaceFile(_0x197ada);const _0x1f3c36=await _0x2ac566(_0x197ada),_0x1fc69b=await _0x14447b(_0x197ada),_0x35034d=detectEol(_0x1fc69b),_0x1ad443=normalizeToLf(_0x1fc69b[_0x2727c8(0x345,_0x149913._0x4d44cf,_0x149913._0x10cf57,0x332)]('utf8')),_0x45b580=normalizeToLf(_0x363efc[_0x79218e(_0x149913._0x441ae2,0x431,_0x149913._0x1e43a5,_0x149913._0x59838a)]),_0x8dcaaf=normalizeToLf(_0x363efc[_0x2727c8(_0x149913._0x413130,0x2fd,_0x149913._0x199558,0x221)]),_0x4b5111=_0x1ad443['indexOf'](_0x45b580);if(_0x4b5111===-0x1){const _0x40c668=_0x45b580[_0x2727c8(_0x149913._0x307930,0x12f,0x2e,0x1f)](0x0,0x64)[_0x2727c8(_0x149913._0x65bcbb,_0x149913._0x452b1e,0x99,_0x149913._0x503860)](/\n/g,'\x5cn');throw new ToolExecutionError('oldText\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x20Searching\x20for:\x20\x22'+_0x40c668+(_0x45b580[_0x79218e(_0x149913._0x57c45a,_0x149913._0x7dc36f,0x20f,0x2b8)]>0x64?_0x79218e(_0x149913._0x771424,0x2b9,_0x149913._0x402bad,0x202):'')+'\x22',{'filePath':_0x363efc[_0x79218e(_0x149913._0x5de2d6,_0x149913._0xa2f513,0x218,_0x149913._0x36528a)]});}const _0x1f4d0e=_0x1ad443['slice'](0x0,_0x4b5111)+_0x8dcaaf+_0x1ad443[_0x2727c8(_0x149913._0xbf38dd,_0x149913._0x1f814e,0x242,_0x149913._0x3d1876)](_0x4b5111+_0x45b580[_0x79218e(_0x149913._0x57816c,0x1eb,_0x149913._0x29589a,0x16b)]),_0x3967cc=convertEol(_0x1f4d0e,_0x35034d),_0x3dea90=Buffer[_0x79218e(0x22b,0x5e,_0x149913._0xb5de2c,0x1d3)](_0x3967cc,'utf8'),_0x16f271=sha256(_0x1fc69b),_0x35eb4f=sha256(_0x3dea90),_0x1e9b52=_0x16f271===_0x35eb4f,_0x273ade=_0x363efc[_0x2727c8(0x46,_0x149913._0x1c5c14,0xb8,0x1a3)]??![];!_0x273ade&&!_0x1e9b52&&await atomicWrite(_0x197ada,_0x3dea90);function _0x79218e(_0x499e35,_0x51592a,_0x3aabd1,_0x1e8efd){return _0x990481(_0x3aabd1- -0x196,_0x51592a-_0x1886e9._0x3cd475,_0x51592a,_0x1e8efd-0x13e);}function _0x2727c8(_0x2b46b8,_0x554b3f,_0x5b55fb,_0x575174){return _0x5adc36(_0x2b46b8-0x56,_0x554b3f-_0x4a9164._0x18d545,_0x2b46b8,_0x554b3f-_0x4a9164._0x3685a7);}return yield createToolOutput(_0x1e9b52?'No\x20changes\x20(content\x20identical).':_0x273ade?'Validated\x20(dry\x20run:\x20no\x20write).':_0x2727c8(0x24e,_0x149913._0x44ca9b,0x305,_0x149913._0x49cdc0),{'filePath':_0x363efc[_0x79218e(0x296,_0x149913._0x282d8e,_0x149913._0xe41b37,_0x149913._0x1e9a7a)],'resolvedPath':_0x197ada,'created':_0x1f3c36[_0x79218e(0x320,_0x149913._0x3faab1,_0x149913._0x33b41d,_0x149913._0x376b95)]['toISOString'](),'modified':_0x1f3c36['mtime'][_0x79218e(0x13e,0x6d,0x11b,0xa6)](),'size':_0x1f3c36['size'],'eol':_0x35034d,'oldTextLength':_0x45b580['length'],'newTextLength':_0x8dcaaf[_0x79218e(_0x149913._0x281ff1,0x2b2,_0x149913._0x57790b,0x210)],'bytesWritten':_0x1e9b52||_0x273ade?0x0:_0x3dea90['length'],'beforeSha':_0x16f271,'afterSha':_0x35eb4f,'dryRun':_0x273ade,'noChange':_0x1e9b52,'lineNumbers':calculateLineNumbers(_0x1ad443,_0x45b580,_0x8dcaaf,_0x4b5111)}),void 0x0;}});}import{mkdir as _0xcffba8,rename as _0x355b12,stat as _0x1eec04,writeFile as _0x2791cb}from'fs/promises';import*as _0x51deba from'path';async function atomicWrite2(_0x52ad08,_0x1efda0){const _0x4159d5={_0x3e3228:0x558,_0x3a9594:0x1b9,_0x13edba:0x180,_0x300747:0x31,_0x1acc66:0x1a4,_0x4b5b37:0x30c,_0x426c37:0x3f3,_0x1976d3:0x4cc,_0x479ae9:0x550},_0x5ca33f={_0x583224:0x145,_0x1dbc5c:0x156,_0x7ced1f:0x19c},_0x2f2b65={_0xd60504:0xc0,_0x3b5f7e:0x13e,_0x254af5:0x5cc},_0xc3384d=_0x51deba['dirname'](_0x52ad08);await _0xcffba8(_0xc3384d,{'recursive':!![]});const _0x500b47=_0x51deba[_0x51113f(0x60a,_0x4159d5._0x3e3228,0x656,0x5ad)](_0xc3384d,_0x23744(_0x4159d5._0x3a9594,0xde,_0x4159d5._0x13edba,0xa0)+_0x51deba[_0x23744(0x1fb,-0x48,0xd4,-_0x4159d5._0x300747)](_0x52ad08)+'.'+Date[_0x23744(0x32f,_0x4159d5._0x1acc66,0x259,0x1dc)]()+'.'+Math['random']()[_0x23744(_0x4159d5._0x4b5b37,_0x4159d5._0x426c37,0x2b4,0x294)](0x24)[_0x51113f(0x567,_0x4159d5._0x1976d3,0x54b,_0x4159d5._0x479ae9)](0x2));function _0x51113f(_0x51fade,_0x4fe12a,_0x5c41fc,_0x7ab694){return _0x4aa629(_0x51fade-_0x2f2b65._0xd60504,_0x7ab694,_0x5c41fc-_0x2f2b65._0x3b5f7e,_0x4fe12a-_0x2f2b65._0x254af5);}function _0x23744(_0x3554d8,_0x72c6f3,_0x48d7d3,_0x403b5a){return _0x4aa629(_0x3554d8-_0x5ca33f._0x583224,_0x3554d8,_0x48d7d3-_0x5ca33f._0x1dbc5c,_0x48d7d3-_0x5ca33f._0x7ced1f);}await _0x2791cb(_0x500b47,_0x1efda0),await _0x355b12(_0x500b47,_0x52ad08);}function createFileNewTool(_0x39ecb4={}){const _0x5c0f51={_0x44648e:0x607,_0x328553:0x72c,_0x2d5aa0:0xcf,_0xb0066f:0x4f,_0x41db8c:0x77,_0x549504:0x70,_0x5a7dca:0xa1,_0x4122e0:0x1b7,_0x383892:0x4,_0x51ad8d:0xf7,_0x3da0ba:0x134,_0x28cc1b:0x40,_0x2b7136:0xfc,_0x49401f:0x175,_0x26fff6:0x1c,_0x1da621:0xff,_0x25fbd1:0x55e,_0x2d4b24:0x672,_0xd72773:0x6ba},_0x485664={_0x277fe1:0x5ab,_0x2a3b9e:0x691,_0x35f599:0x78d,_0x3d4cb3:0x5f4,_0x54ff2f:0x5a3,_0x36a296:0x631,_0x120327:0x4f8,_0x15e699:0x632,_0x155141:0x582,_0x45f219:0x620,_0x466c88:0x6fb,_0x1e698e:0x4a7,_0x1b846b:0x555,_0x2ecc5f:0x43a,_0x193356:0x6a9,_0x1b6e3a:0x803,_0x1f0ebb:0x6cb,_0x1034c2:0x6e3,_0x3e3512:0x6cc,_0x4bc33f:0x75d,_0x218c38:0x5c9,_0x1c0fbf:0x5ae},_0x4f060b={_0x146e95:0x141,_0x98e27f:0x59,_0x3afb45:0xb5},_0x51e809={_0x2b7eb2:0x681},_0x1a4b95={_0x3b4491:0x33,_0x331ece:0x178},_0xae4691={_0x1a81f8:0x292,_0x1ded61:0xa};function _0x52e8f3(_0x5da735,_0x46c854,_0x1561c3,_0xdb2551){return _0x2f0acf(_0x1561c3-_0xae4691._0x1a81f8,_0x46c854-_0xae4691._0x1ded61,_0x5da735,_0xdb2551-0xf2);}function _0x18d3c6(_0x59e5f3,_0x17291f,_0x55bb5b,_0x4c80e4){return _0x2f0acf(_0x4c80e4- -0x3cb,_0x17291f-_0x1a4b95._0x3b4491,_0x17291f,_0x4c80e4-_0x1a4b95._0x331ece);}const _0x1c014b=_0x51deba['resolve'](_0x39ecb4[_0x52e8f3(0x6e7,0x613,_0x5c0f51._0x44648e,0x597)]??process[_0x52e8f3(_0x5c0f51._0x328553,0x5d2,0x6e0,0x72f)]()),_0x5eba06=(_0x39ecb4[_0x18d3c6(_0x5c0f51._0x2d5aa0,_0x5c0f51._0xb0066f,-_0x5c0f51._0x41db8c,_0x5c0f51._0x549504)]??[])[_0x52e8f3(0x411,0x3b8,0x4c0,0x572)](_0x544a3b=>_0x51deba[_0x18d3c6(-0x1ac,-0x88,-0x194,-0x15b)](_0x544a3b)),_0x4aa7d9=_0x39ecb4[_0x18d3c6(_0x5c0f51._0x5a7dca,-_0x5c0f51._0x4122e0,-0x1c7,-0x7f)]??'FileNew';return defineTool({'name':_0x4aa7d9,'description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x18d3c6(-0x41,-0x1a7,-_0x5c0f51._0x383892,-0xcb),'properties':{'filePath':{'type':_0x18d3c6(_0x5c0f51._0x51ad8d,-_0x5c0f51._0x3da0ba,-0x22,-_0x5c0f51._0x28cc1b)},'content':{'type':'string'}},'required':[_0x18d3c6(-_0x5c0f51._0x2b7136,-_0x5c0f51._0x49401f,_0x5c0f51._0x26fff6,-_0x5c0f51._0x1da621),_0x52e8f3(_0x5c0f51._0x25fbd1,0x59b,_0x5c0f51._0x2d4b24,_0x5c0f51._0xd72773)]},async *'execute'(_0x5d9426){const _0xae03ad=resolveAllowedPath(_0x1c014b,_0x5eba06,_0x5d9426['filePath']);function _0x1ce2b6(_0x385a54,_0x405418,_0x2d7527,_0x149455){return _0x18d3c6(_0x385a54-0x18b,_0x2d7527,_0x2d7527-0x1b8,_0x405418-_0x51e809._0x2b7eb2);}const _0x2f5630=await _0x1eec04(_0xae03ad)[_0x1ce2b6(0x619,0x564,_0x485664._0x277fe1,_0x485664._0x2a3b9e)](()=>!![])[_0x5d3d69(0x7ac,_0x485664._0x35f599,0x68a,0x595)](()=>![]),_0x2b277d=Buffer['from'](_0x5d9426[_0x5d3d69(0x653,_0x485664._0x3d4cb3,0x6cb,_0x485664._0x54ff2f)],'utf8');await atomicWrite2(_0xae03ad,_0x2b277d);function _0x5d3d69(_0x54dec1,_0x3987f5,_0x326ea7,_0x3ea739){return _0x52e8f3(_0x3987f5,_0x3987f5-_0x4f060b._0x146e95,_0x326ea7-_0x4f060b._0x98e27f,_0x3ea739-_0x4f060b._0x3afb45);}return yield createToolOutput(_0x1ce2b6(0x762,_0x485664._0x36a296,_0x485664._0x120327,_0x485664._0x15e699)+_0x5d9426[_0x1ce2b6(0x457,_0x485664._0x155141,0x4d8,_0x485664._0x45f219)]+'.',{'filePath':_0x5d9426[_0x5d3d69(_0x485664._0x466c88,0x696,0x5b7,_0x485664._0x1e698e)],'resolvedPath':_0xae03ad,'bytes':_0x2b277d[_0x1ce2b6(0x545,0x579,_0x485664._0x1b846b,_0x485664._0x2ecc5f)],'lines':_0x5d9426[_0x5d3d69(_0x485664._0x193356,_0x485664._0x1b6e3a,_0x485664._0x1f0ebb,_0x485664._0x1034c2)][_0x1ce2b6(0x60b,_0x485664._0x3e3512,_0x485664._0x4bc33f,0x733)](/\r?\n/)[_0x5d3d69(_0x485664._0x218c38,0x477,_0x485664._0x1c0fbf,0x533)],'created':new Date()[_0x5d3d69(0x573,0x451,0x4ba,0x432)](),'overwritten':_0x2f5630}),void 0x0;}});}import{readFile as _0x46f4da,stat as _0xddb0a4}from'fs/promises';import*as _0x5c6f0a from'path';function stripUtfBom(_0x51f155){const _0x6a952={_0x46fd54:0xfb,_0x171c37:0x19f,_0x4fa919:0x1c6},_0x555c94={_0x47d000:0xa,_0x2d970e:0xde},_0x2db325={_0x73b8e5:0x3f5,_0x3f3275:0x145,_0xf7862c:0x135};function _0x3d2e00(_0x2897b8,_0x48bc39,_0x592bc2,_0x1ccaac){return _0x2f0acf(_0x2897b8- -_0x2db325._0x73b8e5,_0x48bc39-_0x2db325._0x3f3275,_0x1ccaac,_0x1ccaac-_0x2db325._0xf7862c);}function _0x190c97(_0x1e0982,_0x215373,_0x386fb5,_0xb50d36){return _0x4aa629(_0x1e0982-_0x555c94._0x47d000,_0x386fb5,_0x386fb5-_0x555c94._0x2d970e,_0xb50d36-0xc);}return _0x51f155[_0x190c97(0xe3,0x6b,-_0x6a952._0x46fd54,-0x1b)](0x0)===0xfeff?_0x51f155[_0x190c97(-_0x6a952._0x171c37,0x1,-_0x6a952._0x4fa919,-0xf4)](0x1):_0x51f155;}function clampLine(_0x31a5c7,_0x3e72c9){const _0x32446d={_0x1c43e4:0x18a,_0x2702bb:0x179,_0x1ad5e8:0x52,_0x1ccb79:0xc,_0x53d5dd:0x190,_0x6d397c:0x119,_0xc71547:0x153,_0x92b91b:0x14d,_0x2d3db8:0x25f},_0x3d9378={_0x5b7576:0xd1,_0x44b0e0:0xf1};function _0x489ffa(_0x42627a,_0x5a9c5e,_0x51b1e7,_0x57ff0a){return _0x2f0acf(_0x57ff0a- -0x1c6,_0x5a9c5e-_0x3d9378._0x5b7576,_0x42627a,_0x57ff0a-_0x3d9378._0x44b0e0);}function _0x310197(_0x43b553,_0x5e9f7f,_0x1032e6,_0x1c3bde){return _0x4aa629(_0x43b553-0x18d,_0x1032e6,_0x1032e6-0x18e,_0x43b553- -0xda);}if(!Number[_0x310197(-_0x32446d._0x1c43e4,-0x1b1,-0x292,-0x112)](_0x31a5c7))return 0x1;return Math[_0x310197(-0x13f,-_0x32446d._0x2702bb,-0x126,-_0x32446d._0x1ad5e8)](0x1,Math[_0x489ffa(_0x32446d._0x1ccb79,_0x32446d._0x53d5dd,-0xb,_0x32446d._0x6d397c)](Math[_0x489ffa(0x244,_0x32446d._0xc71547,_0x32446d._0x92b91b,_0x32446d._0x2d3db8)](_0x31a5c7),_0x3e72c9));}function createFileReadTool(_0x3dfca4={}){const _0x5589aa={_0x137aaf:0x118,_0x403ab6:0x228,_0x2e85bb:0x21d,_0x242970:0x2f6,_0x421fb7:0x1bf,_0x39b0db:0x42a,_0x2f6eae:0x8d,_0x48d62c:0x1b8,_0x3b8a2e:0x116,_0x3e9406:0xd6,_0x3e8867:0x1a4,_0x515934:0x1a5,_0x37e786:0x19a,_0x5e790d:0x233,_0x59d545:0x326,_0x3e1294:0x2b8,_0x22d10c:0x2bd,_0x65a9b:0x1c4,_0x13ca52:0x21b},_0x1dd280={_0x3d8585:0x1c3,_0x41b25c:0x5f1,_0x2f85d8:0x6a,_0x3afbe0:0x10f,_0x34c68f:0xdd,_0x3e1111:0x22,_0x2b5ee9:0x28,_0x4f03ee:0x67,_0x4751c8:0x137,_0x42404b:0x10a,_0x22bca3:0x7be,_0xe59c4b:0x363,_0x1e9327:0x47d,_0x5402f1:0x56b,_0xc59ee4:0x3c2,_0x243a36:0x219,_0x26f1a1:0x1da,_0x1bd529:0x1e5,_0x1bacd2:0x7e,_0x25e341:0x16a,_0xb01577:0x6ff,_0x2861c5:0x682,_0xb22a44:0x571,_0x4ac273:0xa0,_0x27577b:0x486,_0x121821:0x58d,_0x452b73:0x561,_0x2626f3:0x586,_0x543908:0x528,_0x55c210:0x426,_0x55daa7:0x4eb,_0x3d4297:0x51a,_0x5acdab:0x21d,_0x3566d9:0x16c,_0x16d05f:0xe9},_0x50fa90={_0x5546b2:0x75c,_0x419367:0xbc},_0x347cea={_0x3992ca:0x155,_0x1deb04:0x1c4,_0x502ab2:0x1e5},_0x3673f6={_0xf55d67:0x171},_0xd63177=_0x5c6f0a[_0xaf97a7(0x13f,_0x5589aa._0x137aaf,-0x23,-0x28)](_0x3dfca4[_0xaf97a7(_0x5589aa._0x403ab6,_0x5589aa._0x2e85bb,0x240,0x115)]??process[_0xaf97a7(0x2f5,_0x5589aa._0x242970,_0x5589aa._0x421fb7,_0x5589aa._0x39b0db)]()),_0x29d48b=(_0x3dfca4[_0x476900(-0x73,-_0x5589aa._0x2f6eae,0x74,-_0x5589aa._0x48d62c)]??[])[_0xaf97a7(_0x5589aa._0x3b8a2e,_0x5589aa._0x3e9406,0x1ce,-0x1f)](_0x55b516=>_0x5c6f0a[_0x476900(-0x23e,-0x139,-0x290,-0x27a)](_0x55b516));function _0x476900(_0x362265,_0x147649,_0x176806,_0x521fbd){return _0x4aa629(_0x362265-0xb6,_0x521fbd,_0x176806-0xd8,_0x362265- -_0x3673f6._0xf55d67);}function _0xaf97a7(_0x21c2c3,_0x2687ff,_0x307d17,_0x334dc9){return _0x4aa629(_0x21c2c3-_0x347cea._0x3992ca,_0x307d17,_0x307d17-_0x347cea._0x1deb04,_0x2687ff-_0x347cea._0x502ab2);}const _0xc16378=_0x3dfca4['name']??'FileRead';return defineTool({'name':_0xc16378,'description':_0xaf97a7(0x1ba,_0x5589aa._0x3e8867,0x291,_0x5589aa._0x515934),'inputSchema':{'type':_0x476900(-0x1ae,-0x113,-0x275,-0x228),'properties':{'path':{'type':_0xaf97a7(_0x5589aa._0x37e786,_0x5589aa._0x5e790d,0x2b7,_0x5589aa._0x59d545)},'lineStart':{'type':_0xaf97a7(0x31e,_0x5589aa._0x3e1294,0x3f0,0x1f6)},'lineEnd':{'type':_0xaf97a7(_0x5589aa._0x22d10c,_0x5589aa._0x3e1294,0x3a3,0x286)}},'required':[_0x476900(-_0x5589aa._0x65a9b,-_0x5589aa._0x13ca52,-0x296,-0xe0)]},async *'execute'(_0x30096f){const _0x2b4164={_0x78e40f:0x81,_0x3c8dac:0x13c},_0x1933d1=resolveAllowedPath(_0xd63177,_0x29d48b,_0x30096f[_0x1eefc4(-_0x1dd280._0x3d8585,-0xd0,-0x135,-0x143)]);await assertWorkspaceFile(_0x1933d1);const _0x55070e=await _0xddb0a4(_0x1933d1),_0x1e4311=await _0x46f4da(_0x1933d1);if(isProbablyBinary(_0x1e4311))throw new ToolExecutionError(_0x19ff02(0x628,0x5b9,_0x1dd280._0x41b25c,0x505)+_0x30096f[_0x1eefc4(-_0x1dd280._0x2f85d8,-0xce,-_0x1dd280._0x3afbe0,-0x143)],{'path':_0x30096f['path']});function _0x19ff02(_0x25f4c7,_0x47b548,_0x405972,_0x4bfd6b){return _0x476900(_0x47b548-_0x50fa90._0x5546b2,_0x47b548-_0x50fa90._0x419367,_0x405972-0x18e,_0x405972);}let _0x3528fc=_0x1e4311[_0x1eefc4(-0x64,_0x1dd280._0x34c68f,-_0x1dd280._0x3e1111,_0x1dd280._0x2b5ee9)](_0x1eefc4(-0x25f,-0x132,-_0x1dd280._0x4f03ee,-0x1a8));const _0x103fcb=_0x3528fc[_0x1eefc4(-0x150,0x29,-_0x1dd280._0x4751c8,-0x117)](0x0)===0xfeff;_0x3528fc=stripUtfBom(_0x3528fc);const _0x1604f7=_0x3528fc['split'](/\r?\n/),_0x1ed720={'path':_0x30096f[_0x1eefc4(-0xe2,-0x159,-_0x1dd280._0x42404b,-0x143)],'resolvedPath':_0x1933d1,'created':_0x55070e[_0x19ff02(0x755,0x6af,0x676,_0x1dd280._0x22bca3)]['toISOString'](),'modified':_0x55070e[_0x1eefc4(-0x215,-0x1c4,-0x2d4,-0x1df)][_0x19ff02(_0x1dd280._0xe59c4b,_0x1dd280._0x1e9327,_0x1dd280._0x5402f1,_0x1dd280._0xc59ee4)](),'size':_0x55070e['size'],'encoding':_0x1eefc4(-_0x1dd280._0x243a36,-_0x1dd280._0x26f1a1,-_0x1dd280._0x1bd529,-0x1a8),'bomStripped':_0x103fcb,'truncated':![],'totalLines':_0x1604f7[_0x1eefc4(-_0x1dd280._0x1bacd2,-0x194,-0x1b6,-_0x1dd280._0x25e341)]};if(_0x30096f[_0x19ff02(0x579,0x68a,0x7ad,_0x1dd280._0xb01577)]!==void 0x0||_0x30096f[_0x19ff02(0x591,0x59c,0x6df,_0x1dd280._0x2861c5)]!==void 0x0){const _0x358d49=clampLine(_0x30096f['lineStart']??0x1,_0x1604f7['length']),_0x2d3b9f=clampLine(_0x30096f['lineEnd']??_0x1604f7[_0x19ff02(0x53d,_0x1dd280._0xb22a44,0x60f,0x4ac)],_0x1604f7[_0x1eefc4(-_0x1dd280._0x4ac273,-0x1f0,-0x271,-_0x1dd280._0x25e341)]),_0x475755=Math[_0x19ff02(_0x1dd280._0x27577b,_0x1dd280._0x121821,0x588,_0x1dd280._0x452b73)](_0x358d49,_0x2d3b9f),_0x3049f2=Math[_0x19ff02(0x660,_0x1dd280._0x2626f3,_0x1dd280._0x543908,0x58e)](_0x358d49,_0x2d3b9f),_0x68d349=_0x1604f7[_0x19ff02(_0x1dd280._0x55c210,_0x1dd280._0x55daa7,0x4ea,_0x1dd280._0x3d4297)](_0x475755-0x1,_0x3049f2)['map']((_0x55b6b4,_0x3df5e8)=>_0x475755+_0x3df5e8+'|'+_0x55b6b4)[_0x1eefc4(-_0x1dd280._0x5acdab,-_0x1dd280._0x3566d9,-_0x1dd280._0x16d05f,-0x164)]('\x0a');return yield createToolOutput(_0x68d349,{..._0x1ed720,'lineRange':{'lineStart':_0x475755,'lineEnd':_0x3049f2,'linesTotal':_0x1604f7['length']}}),void 0x0;}function _0x1eefc4(_0x274aaf,_0x318635,_0x529e0e,_0x178bbd){return _0x476900(_0x178bbd-_0x2b4164._0x78e40f,_0x318635-_0x2b4164._0x3c8dac,_0x529e0e-0xb1,_0x318635);}return yield createToolOutput(_0x3528fc,_0x1ed720),void 0x0;}});}import{stat as _0x431b3e}from'fs/promises';import*as _0xcae91e from'path';import{execSync,spawn as _0x2cfd50}from'child_process';import{existsSync}from'fs';import{stat as _0x27acd9}from'fs/promises';import*as _0x3be73 from'os';import*as _0x4bd6bb from'path';import{rgPath as _0x10a83a}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x36b770={_0x464573:0x16a,_0x508394:0x6,_0x10ecb3:0xe6,_0x313229:0x16f,_0x222755:0x255,_0x5ccac6:0xe4,_0xa677d:0xe9,_0x31034f:0x158,_0xfa3b11:0x2bd,_0x143205:0x3c6,_0x1c81c4:0x2a1,_0x5b49ac:0x7a,_0x535201:0x39c,_0x420ce5:0xe5,_0x4051aa:0x15c,_0x22259f:0x5c,_0x47d51a:0x2ed,_0x253af1:0x225,_0xa6b9bd:0x238,_0x27f1e2:0x1ef,_0x4c7592:0x1aa,_0x123f97:0x146,_0x4965e4:0xf7,_0xc5f8a:0x1c8,_0x43ad6e:0x144,_0x155a42:0x4e,_0x5c5223:0x187,_0x4466b9:0x1da,_0xea432d:0x1b4,_0x2f102b:0x9a,_0x5c3ae3:0x2c,_0x8c47f3:0x33,_0x1db4f3:0x1ee,_0x28642e:0x27f,_0x182c0f:0xf6,_0xbd52d5:0xa9,_0x1e71a7:0x15,_0x4325ab:0x1f7,_0x3f8512:0x206,_0x1dab57:0x180,_0x89eea4:0x66,_0x1487e8:0xe0,_0x49c082:0x5a,_0x5e5813:0x29c,_0xa98307:0x1ac,_0x181285:0x75},_0x399307={_0x4887a:0x48b,_0x1ee7c8:0x195},_0x3a7b2e={_0x19a87d:0x185},_0x45a565=_0x3be73[_0x5a3d04(_0x36b770._0x464573,-_0x36b770._0x508394,_0x36b770._0x10ecb3,0x1f3)]()===_0x5a3d04(_0x36b770._0x313229,_0x36b770._0x222755,0x272,0x15a),_0x35b12f=_0x45a565?[_0x4bd6bb[_0x31eb29(-_0x36b770._0x5ccac6,-0x1b4,-0x94,-0x1c2)](process['env'][_0x31eb29(-0x112,-_0x36b770._0xa677d,-_0x36b770._0x31034f,-0x119)]||'',_0x31eb29(-_0x36b770._0xfa3b11,-0x268,-_0x36b770._0x143205,-_0x36b770._0x1c81c4),_0x5a3d04(0x199,0xc9,_0x36b770._0x5b49ac,0x15b),_0x5a3d04(0x248,_0x36b770._0x535201,0x2a2,0x340)),_0x4bd6bb[_0x5a3d04(_0x36b770._0x420ce5,0x9b,0x144,0x101)](process['env'][_0x31eb29(-_0x36b770._0x4051aa,0xc,0x33,-_0x36b770._0x22259f)]||'',_0x31eb29(-_0x36b770._0x47d51a,-_0x36b770._0x253af1,-_0x36b770._0xa6b9bd,-_0x36b770._0x27f1e2),_0x5a3d04(0xda,0x128,_0x36b770._0x4c7592,_0x36b770._0x123f97)),_0x4bd6bb[_0x5a3d04(_0x36b770._0x4965e4,_0x36b770._0xc5f8a,_0x36b770._0x43ad6e,_0x36b770._0x155a42)](process['env']['ProgramFiles(x86)']||'','ripgrep','rg.exe')]:[_0x31eb29(-_0x36b770._0x5c5223,-0x2be,-_0x36b770._0x4466b9,-_0x36b770._0xea432d),_0x31eb29(-_0x36b770._0x2f102b,_0x36b770._0x5c3ae3,0xe6,-_0x36b770._0x8c47f3),_0x5a3d04(_0x36b770._0x1db4f3,0x23d,_0x36b770._0x28642e,_0x36b770._0x253af1),_0x31eb29(-0x303,-0x21a,-_0x36b770._0x182c0f,-0x1e6)];for(const _0x359890 of _0x35b12f){if(existsSync(_0x359890))return _0x359890;}function _0x5a3d04(_0xd56ea2,_0x1e4dee,_0x160e77,_0x58669b){return _0x2f0acf(_0x160e77- -_0x3a7b2e._0x19a87d,_0x1e4dee-0x5b,_0xd56ea2,_0x58669b-0x161);}function _0x31eb29(_0xa2aed7,_0x24a42c,_0x2c1120,_0x56d8e5){return _0x2f0acf(_0x56d8e5- -_0x399307._0x4887a,_0x24a42c-0x105,_0x2c1120,_0x56d8e5-_0x399307._0x1ee7c8);}try{const _0x3b678f=_0x45a565?_0x31eb29(-_0x36b770._0xbd52d5,-0x150,_0x36b770._0x1e71a7,-0x49):'which\x20rg',_0x3bb16b=execSync(_0x3b678f,{'encoding':_0x31eb29(-_0x36b770._0x4325ab,-0x2bd,-0x30c,-_0x36b770._0x3f8512),'stdio':[_0x5a3d04(_0x36b770._0x1dab57,-_0x36b770._0x89eea4,_0x36b770._0x1487e8,-0x21),_0x5a3d04(0xe4,-_0x36b770._0x49c082,0xe0,-0x17),'ignore']})[_0x31eb29(-0x223,-0x332,-0x335,-_0x36b770._0x5e5813)]()[_0x31eb29(-_0x36b770._0xa98307,-0x122,-_0x36b770._0x22259f,-_0x36b770._0x181285)](/\r?\n/)[0x0];if(_0x3bb16b&&existsSync(_0x3bb16b))return _0x3bb16b;}catch{return null;}return null;}async function filepath(){const _0x198027={_0x903180:0x57c,_0x31bb2c:0x311},_0x246ad3={_0x26538a:0xee,_0x42fd05:0x1ef};if(cachedRgPath)return cachedRgPath;if(_0x10a83a&&existsSync(_0x10a83a))return cachedRgPath=_0x10a83a,_0x10a83a;const _0x40ee51=findSystemRipgrep();if(!_0x40ee51)throw new Error(_0x507e6f(_0x198027._0x903180,0x531,_0x198027._0x31bb2c,0x43e));cachedRgPath=_0x40ee51;function _0x507e6f(_0xe5e82e,_0x5e74b2,_0x4d7b5e,_0x534774){return _0x2f0acf(_0x534774-_0x246ad3._0x26538a,_0x5e74b2-0xe2,_0x4d7b5e,_0x534774-_0x246ad3._0x42fd05);}return _0x40ee51;}async function*files(_0x42ef3a){const _0x4f5a2d={_0x58ede1:0xd1,_0x3c8aad:0x1a2,_0x13e84f:0x42,_0x5a1577:0x1ba,_0x4723a8:0x3c0,_0x5b1f66:0x2b4,_0x149a71:0x385,_0x5f1fd5:0x2c2,_0x393f51:0x174,_0x2c5f1b:0x21d,_0x39ae5c:0x19d,_0xae4d74:0x3,_0xf35722:0x15,_0x11745e:0xfe,_0x4b8937:0x2f2,_0x10eeca:0x1d6,_0x4a3a82:0x28f,_0x2b47f8:0x20,_0x1b1631:0x76,_0x3fe118:0x1b,_0x4f9303:0x212,_0x43c137:0xe2,_0x501531:0x60,_0xfb78f9:0x62,_0x59b0a0:0x191,_0x56ad53:0x1e2,_0x309fd0:0x172,_0x275da2:0x256,_0x5d668a:0xa0,_0xee49f4:0x2b6,_0x32af43:0x7e,_0x104105:0x199,_0x273253:0xc8,_0x378bf8:0x11c,_0x3617a9:0x15a,_0x320a85:0x242,_0x4c071d:0x1d8,_0x3d56e6:0x241,_0xabcc7a:0x16e,_0x14fd5e:0x1e8},_0x97f3dd={_0x232b5c:0x13d,_0x6b258b:0x252},_0x3f42e9={_0x31472d:0x9a};function _0x7afa9e(_0x57cd32,_0x5e711b,_0x43cef5,_0x364d8d){return _0x4aa629(_0x57cd32-0xb,_0x43cef5,_0x43cef5-0x191,_0x364d8d- -_0x3f42e9._0x31472d);}const _0x198dac=await filepath(),_0x33111e=await _0x27acd9(_0x42ef3a[_0x7afa9e(_0x4f5a2d._0x58ede1,_0x4f5a2d._0x3c8aad,_0x4f5a2d._0x13e84f,0x77)])[_0x2ced50(0x216,_0x4f5a2d._0x5a1577,_0x4f5a2d._0x4723a8,_0x4f5a2d._0x5b1f66)](()=>null);if(!_0x33111e?.['isDirectory']())throw Object[_0x2ced50(0x29b,0x452,_0x4f5a2d._0x149a71,0x31b)](new Error(_0x2ced50(_0x4f5a2d._0x5f1fd5,_0x4f5a2d._0x393f51,_0x4f5a2d._0x2c5f1b,_0x4f5a2d._0x39ae5c)+_0x42ef3a['cwd']+'\x27'),{'code':_0x7afa9e(-0xf6,_0x4f5a2d._0xae4d74,0x65,-_0x4f5a2d._0xf35722)});const _0x1006c0=[_0x2ced50(0x112,0x272,_0x4f5a2d._0x11745e,0x149),_0x2ced50(0x2ba,_0x4f5a2d._0x4b8937,_0x4f5a2d._0x10eeca,_0x4f5a2d._0x4a3a82),_0x7afa9e(-0xf6,-0x1f9,_0x4f5a2d._0x2b47f8,-0xb7),_0x7afa9e(0x1e,-0x95,-_0x4f5a2d._0x1b1631,_0x4f5a2d._0x3fe118)];for(const _0x5a066f of _0x42ef3a['glob']??[]){_0x1006c0[_0x2ced50(_0x4f5a2d._0x4f9303,0x263,_0x4f5a2d._0x43c137,0x183)]('--glob='+_0x5a066f);}const _0xd14028=_0x2cfd50(_0x198dac,_0x1006c0,{'cwd':_0x42ef3a[_0x7afa9e(-_0x4f5a2d._0x501531,0x4e,0xe2,0x77)],'stdio':[_0x7afa9e(-_0x4f5a2d._0xfb78f9,-0x19,-_0x4f5a2d._0x59b0a0,-0x9f),_0x7afa9e(-0x160,-0x14d,-_0x4f5a2d._0x56ad53,-_0x4f5a2d._0x309fd0),_0x2ced50(_0x4f5a2d._0x275da2,_0x4f5a2d._0x5d668a,0x1cb,0x17a)]});function _0x2ced50(_0x5f30c5,_0x1b9ed4,_0x15c373,_0x2c976b){return _0x4aa629(_0x5f30c5-_0x97f3dd._0x232b5c,_0x15c373,_0x15c373-0x191,_0x2c976b-_0x97f3dd._0x6b258b);}let _0x70f000='';for await(const _0x2fd152 of _0xd14028[_0x7afa9e(-0xbe,-_0x4f5a2d._0xee49f4,-0x1f7,-0x18f)]??[]){_0x70f000+=_0x2fd152[_0x7afa9e(0x64,-0x40,0x163,_0x4f5a2d._0x32af43)]();const _0x24f501=_0x70f000['split'](/\r?\n/);_0x70f000=_0x24f501[_0x7afa9e(-_0x4f5a2d._0x104105,-0x14a,-_0x4f5a2d._0x273253,-_0x4f5a2d._0x378bf8)]()??'';for(const _0xad37bc of _0x24f501){if(_0xad37bc[_0x2ced50(0x21c,_0x4f5a2d._0x3617a9,_0x4f5a2d._0x320a85,_0x4f5a2d._0x4c071d)]>0x0)yield _0xad37bc;}}_0x70f000['trim']()[_0x2ced50(_0x4f5a2d._0x3d56e6,0x238,0x1b8,0x1d8)]>0x0&&(yield _0x70f000[_0x7afa9e(-0x2ca,-0x300,-_0x4f5a2d._0xabcc7a,-_0x4f5a2d._0x14fd5e)]());}function parseMatchLine(_0x316c2a,_0x2c5481){const _0x211c3f={_0x3ce211:0x43b,_0x1c37e5:0x459,_0x382bc7:0x3af,_0x578d21:0x11a,_0x52613d:0x15d,_0x2fc516:0x2aa,_0x50ef92:0x539,_0x2b646c:0x5f2,_0x3979d9:0x67f,_0x49f2aa:0x2fc,_0xd6c2d9:0x40a,_0x23c422:0x3cc,_0x2a3f11:0x279,_0xde07d7:0x93,_0x2f4f7c:0x3a0,_0x778350:0x3cf,_0x5d86c3:0x3c7,_0x1fc629:0x362,_0x2566eb:0x3c9,_0x33e681:0x49b,_0x240257:0x35c,_0x36154f:0x408,_0x455278:0x343,_0x327797:0x3a4},_0x311318={_0xa3531c:0x5e,_0x5675f4:0x443},_0x2497a2={_0x5456c7:0x67,_0x34332c:0x15d,_0x1e3fb4:0x19b};function _0x560add(_0x486405,_0x8f91f5,_0x5f339b,_0x5ca29d){return _0x2f0acf(_0x5ca29d- -_0x2497a2._0x5456c7,_0x8f91f5-_0x2497a2._0x34332c,_0x5f339b,_0x5ca29d-_0x2497a2._0x1e3fb4);}function _0x335843(_0x52ce3a,_0x58fe4a,_0x1fdc1e,_0x98a511){return _0x4aa629(_0x52ce3a-_0x311318._0xa3531c,_0x1fdc1e,_0x1fdc1e-0x36,_0x58fe4a-_0x311318._0x5675f4);}if(!_0x316c2a||_0x316c2a==='--')return null;const _0xc1095e=_0x316c2a[_0x560add(_0x211c3f._0x3ce211,0x372,_0x211c3f._0x1c37e5,_0x211c3f._0x382bc7)]('|');if(_0x2c5481&&_0xc1095e[_0x560add(_0x211c3f._0x578d21,_0x211c3f._0x52613d,_0x211c3f._0x2fc516,0x25c)]>=0x4&&Number['isFinite'](Number[_0x335843(0x4b2,_0x211c3f._0x50ef92,_0x211c3f._0x2b646c,_0x211c3f._0x3979d9)](_0xc1095e[0x2]??'',0xa))){const _0x383581=Number[_0x560add(_0x211c3f._0x49f2aa,0x4de,_0x211c3f._0xd6c2d9,_0x211c3f._0x23c422)](_0xc1095e[0x1]??'',0xa);if(!Number['isFinite'](_0x383581)||!_0xc1095e[0x0])return null;return{'filePath':_0xc1095e[0x0],'lineNum':_0x383581,'lineText':_0xc1095e[_0x560add(_0x211c3f._0x2a3f11,0x25c,_0x211c3f._0xde07d7,0x1d6)](0x3)[_0x335843(_0x211c3f._0x2f4f7c,_0x211c3f._0x778350,_0x211c3f._0x5d86c3,0x517)]('|')};}if(_0xc1095e[_0x335843(_0x211c3f._0x1fc629,_0x211c3f._0x2566eb,_0x211c3f._0x33e681,0x307)]>=0x3){const _0x521396=Number['parseInt'](_0xc1095e[0x1]??'',0xa);if(!Number[_0x335843(_0x211c3f._0x240257,0x393,0x3ea,0x441)](_0x521396)||!_0xc1095e[0x0])return null;return{'filePath':_0xc1095e[0x0],'lineNum':_0x521396,'lineText':_0xc1095e[_0x335843(_0x211c3f._0x36154f,_0x211c3f._0x455278,_0x211c3f._0x327797,0x423)](0x2)[_0x335843(0x40a,0x3cf,_0x211c3f._0x2fc516,0x4bc)]('|'),..._0x2c5481?{'isContext':!![]}:{}};}return null;}async function search(_0x1f2ca2){const _0x1e7a0e={_0x4cc290:0x391,_0x301724:0x33d,_0x722251:0x32f,_0x451770:0x2dd,_0x51fdf6:0x39b,_0x1bce69:0x47f,_0x233c5b:0x430,_0x4fb743:0x38b,_0x149fed:0x298,_0x715f6e:0x393,_0x290c53:0x44a,_0x5313a2:0x52d,_0xbf512e:0x46f,_0x2760a0:0x4f7,_0x206c7e:0x50a,_0x47aee2:0x1f7,_0x48587b:0x5f4,_0x462c83:0x5ae,_0x3c49a5:0x49f,_0x5b9f53:0x417,_0x1bcd2d:0x400,_0x54d3a7:0x2ca,_0x60fb37:0x3ed,_0x52d65d:0x4a9,_0x5903ef:0x53e,_0x3040d6:0x4de,_0x518d73:0x3fa,_0x3fe099:0x37e,_0x5f090e:0x4cf,_0x22acd0:0x4db,_0x1115b6:0x475,_0x597066:0x5a7,_0x3e2ee1:0x359,_0x15488a:0x319,_0x35827e:0x410,_0x5d87b1:0x40c,_0xc75396:0x50b,_0x921982:0x4a8,_0xbfec85:0x42d,_0x1386b3:0x378,_0x2dddba:0x3d3,_0x19ce73:0x2a5,_0x2a4701:0x2c3,_0x325b18:0x2c5,_0x8248d4:0x24d,_0x5453e1:0x3ec,_0x2c5b3f:0x465,_0xfff3de:0x393,_0x5f6525:0x317,_0x1c2c4f:0x301,_0x2b8cee:0x1e8,_0x857298:0x3e0,_0x566c57:0x2c6,_0x4aac76:0x31e,_0x78a6b9:0x3a0,_0x4f3b87:0x269,_0x485990:0x269,_0x976e4b:0x23d,_0x472de1:0x22e,_0x5c339c:0x372},_0x2bd5c1={_0x449c22:0x46c,_0x2fd53c:0x260,_0x214948:0x108,_0x35950b:0x213,_0x5a5bb8:0xf2,_0x56e739:0x28d,_0x34dde5:0x3c9,_0x2ce012:0x323},_0x4c0bd8={_0x54f3bb:0x220,_0x1a0a9f:0x35c,_0x2ddd64:0x26d,_0x1803c0:0x203,_0x2a8683:0x108,_0x44d3dd:0x57f,_0x5ca8e9:0x5ee,_0xc7aaf:0x5d1},_0x2a28a7={_0x2a1744:0x36},_0x2e5de7={_0x2aaab6:0x482,_0x2e7378:0x573},_0x59e66a={_0x82fa0:0x96},_0x18d135={_0xfc1105:0x9a,_0x4ac9ea:0xd5},_0xbe74a0=await filepath();if(_0x1f2ca2[_0x183bb5(0x2f8,_0x1e7a0e._0x4cc290,_0x1e7a0e._0x301724,_0x1e7a0e._0x722251)]){const _0x469640=await _0x27acd9(_0x1f2ca2[_0x591749(0x1a8,0x350,_0x1e7a0e._0x451770,0x3a3)])[_0x591749(0x41d,0x421,_0x1e7a0e._0x51fdf6,_0x1e7a0e._0x1bce69)](()=>null);if(!_0x469640?.['isFile']())throw Object[_0x591749(0x30b,0x3fe,0x402,0x419)](new Error(_0x183bb5(0x44f,0x449,_0x1e7a0e._0x233c5b,0x3d1)+_0x1f2ca2[_0x591749(0x3a5,_0x1e7a0e._0x4fb743,0x2dd,0x309)]+'\x27'),{'code':_0x591749(0x434,_0x1e7a0e._0x149fed,0x3be,_0x1e7a0e._0x715f6e)});}else{const _0x1509fc=await _0x27acd9(_0x1f2ca2[_0x591749(0x46f,0x4cb,_0x1e7a0e._0x290c53,_0x1e7a0e._0x5313a2)])[_0x591749(0x3f8,_0x1e7a0e._0xbf512e,0x39b,0x439)](()=>null);if(!_0x1509fc?.['isDirectory']())throw Object[_0x591749(_0x1e7a0e._0x2760a0,_0x1e7a0e._0x206c7e,0x402,0x508)](new Error(_0x591749(_0x1e7a0e._0x47aee2,0x3c3,0x284,0x179)+_0x1f2ca2[_0x183bb5(0x444,0x4fe,_0x1e7a0e._0x48587b,_0x1e7a0e._0x462c83)]+'\x27'),{'code':_0x591749(0x4f2,_0x1e7a0e._0x3c49a5,0x3be,0x3f1)});}function _0x183bb5(_0x494471,_0x383acd,_0x483ac8,_0x2a2d72){return _0x4aa629(_0x494471-_0x18d135._0xfc1105,_0x494471,_0x483ac8-_0x18d135._0x4ac9ea,_0x383acd-0x3ed);}const _0x6feb8c=['-nH','--field-match-separator=|',_0x183bb5(_0x1e7a0e._0x5b9f53,0x365,_0x1e7a0e._0x1bcd2d,_0x1e7a0e._0x54d3a7),_0x183bb5(_0x1e7a0e._0x60fb37,_0x1e7a0e._0x52d65d,0x589,_0x1e7a0e._0x5903ef),_0x1f2ca2[_0x183bb5(_0x1e7a0e._0x3040d6,_0x1e7a0e._0x518d73,_0x1e7a0e._0x3fe099,_0x1e7a0e._0x5f090e)]],_0x18da8a=typeof _0x1f2ca2[_0x183bb5(_0x1e7a0e._0x22acd0,_0x1e7a0e._0x1115b6,_0x1e7a0e._0x597066,_0x1e7a0e._0x3e2ee1)]===_0x591749(_0x1e7a0e._0x15488a,_0x1e7a0e._0x35827e,_0x1e7a0e._0x5d87b1,_0x1e7a0e._0xc75396)&&_0x1f2ca2[_0x591749(_0x1e7a0e._0x921982,_0x1e7a0e._0xbfec85,0x3c1,0x4f2)]>0x0;_0x18da8a&&_0x6feb8c['push']('-C',String(_0x1f2ca2['context']),_0x183bb5(0x3e0,_0x1e7a0e._0x1386b3,_0x1e7a0e._0x2dddba,_0x1e7a0e._0x19ce73));_0x1f2ca2[_0x591749(_0x1e7a0e._0x2a4701,_0x1e7a0e._0x325b18,_0x1e7a0e._0x8248d4,0x142)]&&!_0x1f2ca2[_0x183bb5(0x46b,0x391,0x2b2,_0x1e7a0e._0x5453e1)]&&_0x6feb8c['push'](_0x183bb5(_0x1e7a0e._0x2c5b3f,_0x1e7a0e._0xfff3de,0x35c,0x3b5),_0x1f2ca2[_0x183bb5(_0x1e7a0e._0x5f6525,_0x1e7a0e._0x1c2c4f,_0x1e7a0e._0x2b8cee,_0x1e7a0e._0x857298)]);function _0x591749(_0x5790ff,_0xb7261e,_0x1a75d4,_0x56717e){return _0x2f0acf(_0x1a75d4- -0x4,_0xb7261e-_0x59e66a._0x82fa0,_0x5790ff,_0x56717e-0x16b);}return _0x6feb8c[_0x183bb5(_0x1e7a0e._0x566c57,_0x1e7a0e._0x4aac76,_0x1e7a0e._0x78a6b9,_0x1e7a0e._0x4f3b87)](_0x1f2ca2[_0x591749(_0x1e7a0e._0x485990,_0x1e7a0e._0x976e4b,_0x1e7a0e._0x451770,_0x1e7a0e._0x472de1)]??_0x1f2ca2[_0x591749(0x391,0x587,0x44a,_0x1e7a0e._0x5c339c)]),await new Promise((_0x111aae,_0x48ed21)=>{const _0x1e4d8e=_0x2cfd50(_0xbe74a0,_0x6feb8c,{'cwd':_0x1f2ca2[_0xeb3543(0x565,0x4e0,0x508,_0x2bd5c1._0x449c22)],'stdio':['ignore','pipe',_0x5cd60f(-_0x2bd5c1._0x2fd53c,-_0x2bd5c1._0x214948,-0x188,-0x56)]});let _0x1ed143='',_0xb9e02d='';_0x1e4d8e[_0x5cd60f(-0x20f,-_0x2bd5c1._0x35950b,-0x1a5,-_0x2bd5c1._0x5a5bb8)]?.['on']('data',_0x1dd3d6=>{_0x1ed143+=_0x1dd3d6['toString']();}),_0x1e4d8e['stderr']?.['on'](_0xeb3543(0x44d,0x4fa,0x4cc,0x41f),_0x208f8e=>{function _0x9018e8(_0x236521,_0x1a7f7b,_0x400b2e,_0x51370b){return _0x5cd60f(_0x236521-0xfc,_0x1a7f7b-0x192,_0x236521-0x41a,_0x400b2e);}_0xb9e02d+=_0x208f8e[_0x9018e8(_0x2e5de7._0x2aaab6,0x4c5,0x3d8,_0x2e5de7._0x2e7378)]();});function _0x5cd60f(_0xf3dc0c,_0x49316c,_0x63391c,_0x2e00a2){return _0x591749(_0x2e00a2,_0x49316c-0xdf,_0x63391c- -0x3e9,_0x2e00a2-0x1ef);}function _0xeb3543(_0x4604e3,_0x2f0922,_0x19c115,_0x458160){return _0x183bb5(_0x2f0922,_0x19c115-0xa,_0x19c115-0x1c7,_0x458160-_0x2a28a7._0x2a1744);}_0x1e4d8e['on']('close',_0x3b31ec=>{const _0x750daf={_0x11a720:0x1cf};function _0x28ead1(_0x1501c7,_0x4e5aa0,_0x8585df,_0x53fd75){return _0xeb3543(_0x1501c7-_0x750daf._0x11a720,_0x53fd75,_0x1501c7-0x202,_0x53fd75-0x115);}if(_0x3b31ec===0x1&&_0x1ed143===''){_0x111aae([]);return;}function _0x498f5a(_0x48b7c9,_0x22a543,_0x59a29f,_0x2ae491){return _0xeb3543(_0x48b7c9-0x6f,_0x48b7c9,_0x59a29f- -0x184,_0x2ae491-0xad);}if(_0x3b31ec!==0x0&&_0x3b31ec!==0x1){_0x48ed21(new Error(_0x498f5a(0x47a,_0x4c0bd8._0x54f3bb,_0x4c0bd8._0x1a0a9f,_0x4c0bd8._0x2ddd64)+_0xb9e02d));return;}const _0x56ee8f=_0x1f2ca2[_0x498f5a(_0x4c0bd8._0x1803c0,0x90,_0x4c0bd8._0x2a8683,0x46)]??0x64,_0x45b6dc=[];for(const _0xd149f0 of _0x1ed143[_0x28ead1(0x6d2,0x79a,0x592,0x701)](/\r?\n/)){if(_0x45b6dc[_0x28ead1(_0x4c0bd8._0x44d3dd,_0x4c0bd8._0x5ca8e9,0x621,_0x4c0bd8._0xc7aaf)]>=_0x56ee8f)break;const _0x3cef6a=parseMatchLine(_0xd149f0,_0x18da8a);if(_0x3cef6a)_0x45b6dc['push'](_0x3cef6a);}_0x111aae(_0x45b6dc);}),_0x1e4d8e['on'](_0xeb3543(_0x2bd5c1._0x56e739,_0x2bd5c1._0x34dde5,_0x2bd5c1._0x2ce012,0x2b9),_0x48ed21);});}function createGlobTool(_0x59b5fd={}){const _0x118a70={_0x35e8c4:0x115,_0x154072:0x131,_0x259a1f:0x20b,_0x43492d:0x236,_0x386849:0xc5,_0x5b2035:0x551,_0x489810:0x5ff,_0x3ddcdc:0xc4,_0x58f3eb:0x43f,_0x15811f:0x3e6,_0x103570:0x5da,_0x37f499:0x5ed,_0x19a83b:0x4e5,_0x1bf553:0x21f,_0x29d6ff:0x52,_0x20a95f:0x221,_0x4a7645:0x2b6,_0x4b0258:0x5eb,_0x2df46f:0x487,_0x2b07f7:0x2a6,_0x22b1f4:0x2f9},_0x21e416={_0x58a406:0x5a2,_0x190c23:0x517,_0x1f7d6d:0x258,_0x498704:0x72b,_0x343fd1:0x479,_0x2c3882:0x48f,_0xe7d5e9:0x53e,_0x697e9a:0x49f,_0x51fac9:0x24a,_0x38752d:0x156,_0x5a07d3:0x613,_0x157c5e:0x5bb,_0x23f9d6:0x698,_0x4d7048:0x61d,_0x198ba8:0x604,_0x5be211:0x517,_0x4d71cf:0x5dd,_0x487269:0x5b5,_0x1f5cda:0x48f,_0x38d573:0x4d3,_0x4f6cd5:0x4c2,_0x39671b:0x38d,_0x493ded:0x478,_0x47a790:0x36b,_0x1a8f57:0x25a,_0x115d7c:0x309,_0x3c2717:0x1e7,_0x895d12:0x309,_0x13e7c8:0x626,_0x3b8aa3:0x59e,_0x9a47c3:0x32c,_0x55805b:0x27e,_0x5650fa:0x21d,_0x3a760f:0x376,_0x383035:0x4a5,_0x22f754:0x3fa,_0x16e24f:0x5b6},_0x3b8869={_0x6a79e4:0x94,_0x3751bb:0x83},_0x43e942={_0x44d5dd:0x116,_0x4a9fa2:0x4fd},_0x4935f3={_0xf1358c:0x19d,_0x525db0:0xdb},_0x3fff7f=_0xcae91e[_0x477373(0x106,_0x118a70._0x35e8c4,0x160,_0x118a70._0x154072)](_0x59b5fd[_0x477373(_0x118a70._0x259a1f,_0x118a70._0x43492d,_0x118a70._0x386849,0x13f)]??process['cwd']());function _0x477373(_0xb254ad,_0x52bf88,_0x2f776d,_0x192039){return _0x4aa629(_0xb254ad-_0x4935f3._0xf1358c,_0x2f776d,_0x2f776d-_0x4935f3._0x525db0,_0xb254ad-0x1d3);}const _0x26726c=(_0x59b5fd[_0x45134e(_0x118a70._0x5b2035,0x5fb,0x52a,_0x118a70._0x489810)]??[])[_0x477373(_0x118a70._0x3ddcdc,0x1f9,0x141,0x43)](_0x294501=>_0xcae91e[_0x477373(0x106,0x164,0x11d,0xdd)](_0x294501)),_0x202189=_0x59b5fd['limit']??0x64;function _0x45134e(_0x4fa4c4,_0x394f76,_0xf341da,_0x2a2874){return _0x4aa629(_0x4fa4c4-0x37,_0x2a2874,_0xf341da-_0x43e942._0x44d5dd,_0x394f76-_0x43e942._0x4a9fa2);}const _0x201a0d=_0x59b5fd[_0x45134e(0x400,0x50c,_0x118a70._0x58f3eb,0x432)]??_0x45134e(0x4d4,0x3ff,_0x118a70._0x15811f,0x409);return defineTool({'name':_0x201a0d,'description':_0x45134e(0x54d,_0x118a70._0x103570,_0x118a70._0x37f499,_0x118a70._0x19a83b),'inputSchema':{'type':_0x477373(0x196,_0x118a70._0x1bf553,0x17b,_0x118a70._0x29d6ff),'properties':{'pattern':{'type':_0x477373(_0x118a70._0x20a95f,0x1fa,_0x118a70._0x4a7645,0x13e)},'path':{'type':_0x45134e(_0x118a70._0x4b0258,0x54b,0x4ea,_0x118a70._0x2df46f)},'limit':{'type':_0x477373(_0x118a70._0x2b07f7,0x3c3,_0x118a70._0x22b1f4,0x33e)}},'required':['pattern']},async *'execute'(_0x10d35e){const _0x505334={_0x97cca8:0x138,_0x12cf52:0xf4,_0x2d904e:0x1f2};if(_0x10d35e['pattern']['trim']()[_0x3a1854(_0x21e416._0x58a406,0x543,_0x21e416._0x190c23,0x422)]===0x0)throw new ToolExecutionError(_0x50e629(0x288,_0x21e416._0x1f7d6d,0x14c,0x1fa),{});const _0x5d8b38=resolveAllowedPath(_0x3fff7f,_0x26726c,_0x10d35e['path']??'.'),_0x49789a=await _0x431b3e(_0x5d8b38)[_0x3a1854(0x5de,0x53a,0x5f3,_0x21e416._0x498704)](()=>null);if(!_0x49789a?.[_0x3a1854(_0x21e416._0x343fd1,_0x21e416._0x2c3882,0x56d,0x6ae)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x10d35e[_0x3a1854(0x668,0x521,_0x21e416._0xe7d5e9,_0x21e416._0x697e9a)]??'.'),{'path':_0x10d35e['path']??'.'});const _0x28faa8=_0x10d35e[_0x50e629(0x1a0,_0x21e416._0x51fac9,_0x21e416._0x38752d,0x1ff)]??_0x202189,_0x4bfda6=Math['max'](0x1,Math[_0x50e629(0x3f3,0x46e,0x377,0x4dc)](_0x28faa8)),_0x38ff1b=[];let _0x52eaea=![];for await(const _0xde1304 of files({'cwd':_0x5d8b38,'glob':[_0x10d35e[_0x3a1854(_0x21e416._0x5a07d3,_0x21e416._0x157c5e,0x59e,_0x21e416._0x23f9d6)]]})){if(_0x38ff1b[_0x3a1854(_0x21e416._0x4d7048,_0x21e416._0x198ba8,_0x21e416._0x5be211,_0x21e416._0x4d71cf)]>=_0x4bfda6){_0x52eaea=!![];break;}const _0x5d1e48=await _0x431b3e(_0xcae91e[_0x3a1854(_0x21e416._0x487269,_0x21e416._0x1f5cda,0x51d,0x5cf)](_0x5d8b38,_0xde1304))[_0x3a1854(_0x21e416._0x38d573,0x56c,0x5f3,0x685)](()=>null);_0x38ff1b[_0x3a1854(0x5b3,0x3fa,_0x21e416._0x4f6cd5,0x5ab)]({'path':_0xde1304,'mtime':_0x5d1e48?.[_0x3a1854(_0x21e416._0x39671b,0x46f,_0x21e416._0x493ded,_0x21e416._0x47a790)]??0x0});}_0x38ff1b[_0x50e629(0x1ae,0x2c1,_0x21e416._0x1a8f57,0x2d6)]((_0x3ca06f,_0x3981b9)=>_0x3981b9[_0x3a1854(0x3f2,0x48f,0x4a2,0x3a1)]-_0x3ca06f[_0x3a1854(0x4e8,0x427,0x4a2,0x44f)]);const _0x55fe01=_0x38ff1b[_0x50e629(0x1fc,_0x21e416._0x115d7c,_0x21e416._0x3c2717,_0x21e416._0x895d12)](_0x2ce06f=>_0x2ce06f[_0x3a1854(0x479,0x651,0x53e,0x4e9)]),_0x23859e=_0x55fe01['length']===0x0?_0x3a1854(0x737,0x7a9,0x672,_0x21e416._0x13e7c8)+_0x10d35e[_0x3a1854(0x61d,0x529,_0x21e416._0x3b8aa3,0x4af)]:''+_0x55fe01['join']('\x0a')+(_0x52eaea?_0x50e629(_0x21e416._0x9a47c3,_0x21e416._0x55805b,0x30d,0x2b8):'');function _0x3a1854(_0x46ea9f,_0x590c93,_0x3d23ed,_0xf4287d){return _0x45134e(_0x46ea9f-0xea,_0x3d23ed-_0x3b8869._0x6a79e4,_0x3d23ed-_0x3b8869._0x3751bb,_0xf4287d);}yield createToolOutput(_0x23859e,{'pattern':_0x10d35e[_0x50e629(0x318,_0x21e416._0x5650fa,0x3f0,0x398)],'searchPath':_0xcae91e[_0x50e629(_0x21e416._0x3a760f,0x243,_0x21e416._0x383035,0x3ca)](_0x3fff7f,_0x5d8b38)||'.','matches':_0x55fe01,'count':_0x55fe01[_0x3a1854(_0x21e416._0x22f754,0x489,0x517,_0x21e416._0x16e24f)],'truncated':_0x52eaea});function _0x50e629(_0x220081,_0x5abe87,_0x12cc0c,_0x48a8c7){return _0x477373(_0x220081-_0x505334._0x97cca8,_0x5abe87-_0x505334._0x12cf52,_0x48a8c7,_0x48a8c7-_0x505334._0x2d904e);}return void 0x0;}});}import{stat as _0xe79f92}from'fs/promises';import*as _0x5dfc52 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0xef9f75={}){const _0x3d8f6c={_0x4acc48:0x12e,_0x1c76c2:0x1c1,_0x10cbc8:0x218,_0x14606a:0x20c,_0x28aa57:0x396,_0x42e855:0x3cb,_0x38e99b:0x1c3,_0x5a72b8:0x22f,_0x2f8fae:0x25b,_0x1c4458:0x251,_0x5cd3b9:0x1b9,_0x2846c9:0x297,_0x3a3722:0x1e7,_0x4458f6:0x2dc,_0x4ebf58:0x23b,_0x2ddcf6:0x315,_0x257962:0x3f2,_0xa73401:0x2dc,_0x4ca2cb:0x440,_0x524d55:0x361,_0x2cfae4:0x250,_0x5c0032:0x3ba,_0x306e17:0x271,_0x443419:0x203,_0x27fbe1:0x1ab,_0x22431e:0x239},_0x11c9aa={_0x738479:0x641,_0x15e0fc:0x51d,_0x42c10c:0x64a,_0x48ab76:0x341,_0x289c61:0x4b1,_0x5b02c6:0x443,_0x42dd7e:0x56a,_0x436f8e:0x566,_0x14b2d0:0x4ae,_0x15fb6a:0x4ab,_0x287746:0x39f,_0x29afc3:0x35c,_0x45974e:0x4c2,_0x92accd:0x4e0,_0x147d73:0x3f9,_0x55724e:0x4d3,_0x1f870d:0x42b,_0x508dc6:0x3fd,_0x93674e:0x499,_0x57d6b9:0x494,_0x4b5c8a:0x544,_0x90544d:0x569,_0x99295c:0x543,_0x44d368:0x5e0,_0x31c437:0x511,_0x425c81:0x645,_0xd5e7b3:0x677,_0x1c54d2:0x762,_0x52833d:0x5d5,_0x23c27a:0x739,_0x3c0f0b:0x705,_0x52f7e4:0x65c,_0x924bc0:0x749,_0x1cae8b:0x493,_0x2a7340:0x4a5,_0x4672e4:0x525,_0x307cdc:0x504,_0x5159f2:0x47e,_0x14aeca:0x6b2,_0x27a676:0x56e,_0x40bc09:0x493,_0x315ee3:0x692,_0x4dfbbe:0x5be,_0x5c396b:0x556,_0x25c833:0x44b,_0x54e518:0x522,_0x409270:0x50c,_0x4a66a5:0x604,_0x13170d:0x3a7,_0x534b7a:0x3c3,_0xf48c03:0x4c4,_0xd0ca86:0x59d,_0x2441d1:0x476,_0x5cfc55:0x50d,_0x4933a1:0x538,_0x46013b:0x48a,_0x17851d:0x429,_0x418f40:0x533,_0x4bafbd:0x516,_0x437360:0x49f,_0x47563b:0x60c,_0x235ee7:0x4d7,_0x501924:0x3d2,_0x1787f8:0x427,_0x387782:0x6e8,_0x1f9994:0x5bf,_0x538a56:0x6a0,_0x1cc3f0:0x557,_0x369682:0x5a4,_0x1fe2ff:0x5a2,_0x4b18ff:0x45d,_0x5371d:0x451,_0x418c11:0x582,_0x41e663:0x689,_0x2039f0:0x43c,_0x3cf60:0x432,_0x4ebaf6:0x46d,_0x490cdb:0x536,_0x1dca6c:0x66d,_0x2ecf35:0x617,_0x567913:0x5ea,_0x14c859:0x67c,_0x32e329:0x412,_0x5d4031:0x465,_0x1ed63c:0x639,_0x14c055:0x562,_0x1d17c5:0x7bf,_0x8fda0c:0x5b1,_0x4a0806:0x497,_0x3f4a42:0x429,_0x472d58:0x475,_0x315532:0x596,_0x5468a4:0x6a2,_0x37951e:0x4bb,_0x30bc60:0x4b4,_0x1ce2fb:0x428,_0x3a7f99:0x480,_0x308ade:0x45a,_0x26350e:0x56f,_0x41a967:0x454,_0x28e3e5:0x6e4,_0x5e4824:0x5a4,_0x5df377:0x64d,_0x40fcd8:0x43b,_0x31e367:0x48c,_0x3824ac:0x5d1,_0x189931:0x5e4,_0x5d3490:0x78a},_0xffdcf4={_0x4558fb:0x366},_0x37e1ee={_0x107663:0x18,_0x26302b:0x2a,_0x3bbac5:0x28e};function _0x433250(_0x2f1bb7,_0x1ba756,_0x4f03b8,_0x5008f8){return _0x4aa629(_0x2f1bb7-_0x37e1ee._0x107663,_0x1ba756,_0x4f03b8-_0x37e1ee._0x26302b,_0x5008f8-_0x37e1ee._0x3bbac5);}const _0x320190=_0x5dfc52[_0x433250(_0x3d8f6c._0x4acc48,0x1ca,0x2e9,_0x3d8f6c._0x1c76c2)](_0xef9f75[_0x433250(0x2c2,_0x3d8f6c._0x10cbc8,_0x3d8f6c._0x14606a,0x2c6)]??process[_0x432085(0x235,0x3bc,0x2af,0x273)]());function _0x432085(_0x164f71,_0x2aafeb,_0x28608a,_0x48c7a6){return _0x2f0acf(_0x28608a- -0x19f,_0x2aafeb-0x1b0,_0x164f71,_0x48c7a6-0x12c);}const _0x1a91c3=(_0xef9f75[_0x432085(0x3d4,_0x3d8f6c._0x28aa57,0x29c,_0x3d8f6c._0x42e855)]??[])[_0x432085(0x143,-0xa9,0x8f,0x1c5)](_0x15ed72=>_0x5dfc52[_0x432085(0x20c,0x4d,0xd1,0xa8)](_0x15ed72)),_0x429c89=_0xef9f75['limit']??0x64,_0x15515c=_0xef9f75['name']??_0x432085(0x223,0x164,_0x3d8f6c._0x38e99b,0x1b3);return defineTool({'name':_0x15515c,'description':_0x432085(_0x3d8f6c._0x5a72b8,0x243,0x29a,0x2b3),'inputSchema':{'type':_0x433250(0x21b,_0x3d8f6c._0x2f8fae,0x12e,_0x3d8f6c._0x1c4458),'properties':{'pattern':{'type':_0x433250(_0x3d8f6c._0x5cd3b9,_0x3d8f6c._0x2846c9,_0x3d8f6c._0x3a3722,_0x3d8f6c._0x4458f6)},'path':{'type':_0x432085(0x17c,0x257,0x1ec,_0x3d8f6c._0x4ebf58)},'include':{'type':_0x433250(_0x3d8f6c._0x2ddcf6,0x2b6,_0x3d8f6c._0x257962,_0x3d8f6c._0xa73401)},'limit':{'type':_0x433250(0x240,0x3c1,_0x3d8f6c._0x4ca2cb,_0x3d8f6c._0x524d55)},'context':{'type':_0x432085(_0x3d8f6c._0x2cfae4,_0x3d8f6c._0x5c0032,_0x3d8f6c._0x306e17,0x36f)}},'required':[_0x432085(0xf6,_0x3d8f6c._0x443419,_0x3d8f6c._0x27fbe1,_0x3d8f6c._0x22431e)]},async *'execute'(_0x309afe){const _0x2889a7={_0x5bd8bb:0x14c};if(_0x309afe['pattern']['trim']()[_0x3e3d44(0x4f2,_0x11c9aa._0x738479,_0x11c9aa._0x15e0fc,_0x11c9aa._0x42c10c)]===0x0)throw new ToolExecutionError(_0x931682(0x481,0x452,0x45a,_0x11c9aa._0x48ab76),{});const _0x3d6627=resolveAllowedPath(_0x320190,_0x1a91c3,_0x309afe[_0x931682(_0x11c9aa._0x289c61,_0x11c9aa._0x5b02c6,_0x11c9aa._0x42dd7e,0x5ba)]??'.'),_0x18ee37=await _0xe79f92(_0x3d6627)[_0x931682(_0x11c9aa._0x436f8e,_0x11c9aa._0x14b2d0,_0x11c9aa._0x15fb6a,0x65f)](()=>null),_0xa981af=_0x18ee37?.[_0x931682(_0x11c9aa._0x287746,_0x11c9aa._0x29afc3,0x365,_0x11c9aa._0x45974e)]()??![];function _0x931682(_0x2c81b1,_0x121ca9,_0x46f077,_0x4685d2){return _0x432085(_0x46f077,_0x121ca9-0x30,_0x2c81b1-_0xffdcf4._0x4558fb,_0x4685d2-0x2);}const _0x21f50d=_0x18ee37?.[_0x931682(_0x11c9aa._0x92accd,_0x11c9aa._0x147d73,0x5b9,_0x11c9aa._0x55724e)]()??![];if(!_0xa981af&&!_0x21f50d)throw new ToolExecutionError(_0x931682(_0x11c9aa._0x1f870d,0x490,_0x11c9aa._0x508dc6,0x4ce)+(_0x309afe[_0x931682(0x4b1,0x3e9,_0x11c9aa._0x93674e,0x3de)]??'.'),{'path':_0x309afe[_0x3e3d44(_0x11c9aa._0x57d6b9,0x3fe,_0x11c9aa._0x4b5c8a,0x44d)]??'.'});const _0x404bbe=_0x309afe['limit']??_0x429c89;function _0x3e3d44(_0x480721,_0x5d48b9,_0x15521f,_0x4e7239){return _0x432085(_0x480721,_0x5d48b9-0x1d3,_0x15521f-0x3f9,_0x4e7239-_0x2889a7._0x5bd8bb);}const _0x302c58=Math[_0x931682(0x49f,_0x11c9aa._0x90544d,0x3dc,0x581)](0x1,Math[_0x931682(0x5ec,0x51f,0x5ec,0x60c)](_0x404bbe)),_0x10db0e=await search({'cwd':_0x21f50d?_0x3d6627:_0x5dfc52[_0x3e3d44(0x689,_0x11c9aa._0x99295c,_0x11c9aa._0x44d368,0x4cd)](_0x3d6627),'pattern':_0x309afe[_0x931682(_0x11c9aa._0x31c437,0x580,_0x11c9aa._0x425c81,0x5d6)],'glob':_0x21f50d?_0x309afe[_0x3e3d44(0x716,0x536,_0x11c9aa._0xd5e7b3,0x703)]:void 0x0,'limit':_0x302c58,'file':_0xa981af?_0x3d6627:void 0x0,'context':_0x309afe[_0x3e3d44(0x74b,_0x11c9aa._0x1c54d2,0x61f,0x502)]}),_0x272711=new Map();for(const _0xc89ec5 of _0x10db0e){if(!_0x272711['has'](_0xc89ec5['filePath'])){const _0x4e4fdc=await _0xe79f92(_0xc89ec5[_0x3e3d44(0x53c,0x563,0x526,_0x11c9aa._0x52833d)])[_0x3e3d44(0x609,0x71b,0x5f9,_0x11c9aa._0x23c27a)](()=>null);_0x272711[_0x3e3d44(_0x11c9aa._0x3c0f0b,0x51b,_0x11c9aa._0x52f7e4,_0x11c9aa._0x924bc0)](_0xc89ec5[_0x931682(_0x11c9aa._0x1cae8b,_0x11c9aa._0x2a7340,0x3aa,_0x11c9aa._0x4672e4)],{'matches':[],'mtime':_0x4e4fdc?.[_0x3e3d44(_0x11c9aa._0x307cdc,0x449,_0x11c9aa._0x5159f2,0x5c3)]??0x0});}_0x272711[_0x3e3d44(_0x11c9aa._0x14aeca,0x66e,_0x11c9aa._0x27a676,0x454)](_0xc89ec5[_0x931682(_0x11c9aa._0x40bc09,0x521,0x4a2,0x49e)])?.[_0x931682(0x584,0x53c,_0x11c9aa._0x315ee3,_0x11c9aa._0x4dfbbe)][_0x3e3d44(_0x11c9aa._0x5c396b,0x467,0x4c8,_0x11c9aa._0x25c833)](_0xc89ec5);}const _0x2ccc23=[..._0x272711[_0x3e3d44(0x3d5,_0x11c9aa._0x54e518,_0x11c9aa._0x409270,_0x11c9aa._0x4a66a5)]()][_0x931682(_0x11c9aa._0x13170d,0x41c,_0x11c9aa._0x534b7a,_0x11c9aa._0xf48c03)]((_0x2836ae,_0x19c320)=>_0x19c320[0x1][_0x3e3d44(0x4ef,0x50f,0x4a8,0x5e7)]-_0x2836ae[0x1]['mtime']),_0x3a5bfd=_0x10db0e[_0x931682(_0x11c9aa._0xd0ca86,_0x11c9aa._0x2441d1,_0x11c9aa._0x5cfc55,_0x11c9aa._0x4933a1)](_0x1d9ec6=>!_0x1d9ec6[_0x3e3d44(0x57c,0x601,0x54e,0x537)])['length'],_0x3cbe9e=_0x10db0e[_0x931682(_0x11c9aa._0x46013b,_0x11c9aa._0x17851d,_0x11c9aa._0x418f40,_0x11c9aa._0x4bafbd)]>=_0x302c58,_0x497a69=_0xa981af?_0x5dfc52[_0x931682(0x54d,_0x11c9aa._0x437360,_0x11c9aa._0x47563b,_0x11c9aa._0x235ee7)](_0x3d6627):_0x3d6627;let _0x34a214='';if(_0x10db0e[_0x931682(_0x11c9aa._0x46013b,0x414,_0x11c9aa._0x501924,_0x11c9aa._0x1787f8)]===0x0)_0x34a214=_0x3e3d44(_0x11c9aa._0x387782,0x5d4,0x5da,_0x11c9aa._0x1f9994)+_0x309afe[_0x3e3d44(_0x11c9aa._0x538a56,_0x11c9aa._0x1cc3f0,_0x11c9aa._0x369682,_0x11c9aa._0x1fe2ff)];else{_0x34a214=_0x931682(_0x11c9aa._0x4b18ff,0x42e,0x472,_0x11c9aa._0x5371d)+_0x3a5bfd+_0x931682(_0x11c9aa._0x418c11,_0x11c9aa._0x41e663,0x5cb,_0x11c9aa._0x4a66a5)+(_0x3a5bfd===0x1?'':'es')+'\x0a';for(const [_0x45a842,_0x2f760e]of _0x2ccc23){const _0x54c095=_0xa981af?_0x5dfc52[_0x931682(_0x11c9aa._0x2039f0,_0x11c9aa._0x3cf60,_0x11c9aa._0x4ebaf6,0x44f)](_0x45a842):_0x5dfc52[_0x3e3d44(0x5e1,0x557,0x602,_0x11c9aa._0x490cdb)](_0x497a69,_0x45a842);_0x34a214+='\x0a'+_0x54c095+':\x0a';for(const _0xcb8ff1 of _0x2f760e[_0x3e3d44(0x5d5,_0x11c9aa._0x1dca6c,_0x11c9aa._0x2ecf35,0x691)]){const _0x311983=_0xcb8ff1[_0x3e3d44(_0x11c9aa._0x567913,0x614,_0x11c9aa._0x14c859,0x55d)][_0x931682(0x48a,_0x11c9aa._0x32e329,0x51c,_0x11c9aa._0x5d4031)]>MAX_LINE_LENGTH?_0xcb8ff1[_0x3e3d44(_0x11c9aa._0x1ed63c,_0x11c9aa._0x14c055,_0x11c9aa._0x14c859,_0x11c9aa._0x1d17c5)][_0x3e3d44(0x488,_0x11c9aa._0x8fda0c,_0x11c9aa._0x4a0806,_0x11c9aa._0x3f4a42)](0x0,MAX_LINE_LENGTH)+_0x931682(0x548,0x61d,_0x11c9aa._0x472d58,0x66e):_0xcb8ff1[_0x3e3d44(_0x11c9aa._0x315532,_0x11c9aa._0x5468a4,_0x11c9aa._0x14c859,0x71d)],_0x426788=_0xcb8ff1[_0x931682(_0x11c9aa._0x37951e,0x3b6,0x56c,_0x11c9aa._0x30bc60)]?'\x20\x20':'>\x20';_0x34a214+=_0x426788+_0x931682(0x4ea,_0x11c9aa._0x1ce2fb,0x3f7,_0x11c9aa._0x3a7f99)+_0xcb8ff1[_0x931682(0x57a,0x637,_0x11c9aa._0x308ade,0x530)]+':\x20'+_0x311983+'\x0a';}}_0x3cbe9e&&(_0x34a214+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');}const _0x435bf3={'searchPath':_0x5dfc52[_0x931682(_0x11c9aa._0x26350e,_0x11c9aa._0x41a967,0x60b,0x662)](_0x320190,_0x3d6627)||'.','pattern':_0x309afe[_0x3e3d44(0x590,_0x11c9aa._0x28e3e5,_0x11c9aa._0x5e4824,_0x11c9aa._0x5df377)],'matchCount':_0x3a5bfd,'fileCount':_0x272711[_0x3e3d44(0x5a6,_0x11c9aa._0x40fcd8,0x470,_0x11c9aa._0x31e367)],'truncated':_0x3cbe9e};return _0x21f50d&&_0x309afe[_0x3e3d44(0x740,_0x11c9aa._0x3824ac,0x677,0x613)]!==void 0x0&&(_0x435bf3[_0x931682(_0x11c9aa._0x189931,0x4ac,0x511,0x6bd)]=_0x309afe[_0x3e3d44(0x5de,0x6e9,_0x11c9aa._0xd5e7b3,_0x11c9aa._0x5d3490)]),yield createToolOutput(_0x34a214['trim'](),_0x435bf3),void 0x0;}});}import{readdir as _0x3c37be,readFile as _0x5752f5,stat as _0x52f250}from'fs/promises';import*as _0x57dfe9 from'path';import*as _0x152137 from'yaml';async function countTextLines(_0x541010){const _0x151e6e={_0x224191:0x4d4,_0x17350e:0x41c,_0x881a49:0x4b0,_0x559e9f:0x355,_0x5b9609:0x3dd,_0x1b7f24:0x437},_0x26cbfe={_0x1dc33f:0x304},_0x18501a={_0xcfdce8:0x423};function _0x567c55(_0x2f2dbd,_0x24c70e,_0x11d113,_0x37bdd5){return _0x4aa629(_0x2f2dbd-0x56,_0x37bdd5,_0x11d113-0x1ce,_0x11d113-_0x18501a._0xcfdce8);}const _0x564db9=await _0x5752f5(_0x541010)['catch'](()=>null);if(!_0x564db9||isProbablyBinary(_0x564db9))return void 0x0;function _0x454f6b(_0xcc5572,_0x9c0385,_0x56d48a,_0x4be193){return _0x4aa629(_0xcc5572-0x13d,_0x4be193,_0x56d48a-0x144,_0x56d48a-_0x26cbfe._0x1dc33f);}return _0x564db9[_0x454f6b(_0x151e6e._0x224191,0x2f8,_0x151e6e._0x17350e,_0x151e6e._0x881a49)]('utf8')[_0x454f6b(_0x151e6e._0x559e9f,0x4d8,_0x151e6e._0x5b9609,_0x151e6e._0x1b7f24)](/\r?\n/)['length'];}function createLsTool(_0x9dc662={}){const _0x4b163b={_0x328cd3:0xe6,_0x4624bc:0x23,_0x44b6c1:0x19,_0x158c8b:0x134,_0x583057:0xfd,_0xc6f8ea:0x16d,_0x4864d6:0x124,_0x102366:0xfe,_0x4552cb:0x24,_0x353ec3:0x41c,_0x3a00f2:0x213,_0x36660d:0x1c3,_0x387369:0xcf,_0x5cfb19:0x174,_0x2ae541:0x1c7,_0x987556:0x1c6,_0x6bdb0e:0x153,_0x5907e8:0x309},_0x1c6e0e={_0x33fee3:0x29c,_0x4e36bc:0xb2,_0xb8c369:0x216,_0x42c41a:0x234,_0x172d67:0x2a5,_0x3dcdf1:0x11f,_0x42531a:0x28a,_0x3d0bec:0x241,_0x2fb51e:0x237,_0x1d46ea:0x14e,_0x4250e0:0x20b,_0x2ff476:0x1d0,_0x25074d:0xbd,_0x10c201:0x1b5,_0x5ba110:0x29e,_0x5d3ac8:0x29d,_0x5e9b47:0x2fe,_0x2e6ae6:0x3d4,_0x117fbb:0x159,_0x268209:0x16,_0x5be6a9:0x68,_0x29657f:0x137,_0x444a60:0xc1,_0x24846c:0x136,_0x3e62f8:0x1da,_0x1b0814:0x15d,_0x487400:0x14d,_0x561801:0x190,_0x22e1b7:0x28d,_0x14a7e8:0x391,_0x4e6b92:0x17c,_0x44891b:0x7b,_0x3a7c69:0x1bd,_0x2dc313:0x201,_0x919720:0x11a,_0x5d4a59:0x2a3,_0x46836e:0x183,_0x73838f:0x361,_0x167876:0x2e1,_0x58264a:0x233,_0x1f4181:0x2cc,_0x1d4865:0x237,_0x362225:0x8e,_0x53cb24:0x2c0,_0x592c2d:0x25b,_0x1cba9f:0x222,_0x39f172:0x238},_0x36c5f9={_0x390039:0x158,_0x1bb078:0x3d1},_0x59feb8={_0x24cbd6:0x102,_0x305690:0xef,_0x50d6ad:0x135},_0xeb63c={_0x255bf1:0x9b,_0x3c7b64:0xa2,_0x40380a:0x204};function _0x1bd38e(_0x57004f,_0x5859d2,_0x4df451,_0x21b43d){return _0x4aa629(_0x57004f-_0xeb63c._0x255bf1,_0x5859d2,_0x4df451-_0xeb63c._0x3c7b64,_0x4df451-_0xeb63c._0x40380a);}const _0x1ff04b=_0x57dfe9[_0x1bd38e(_0x4b163b._0x328cd3,_0x4b163b._0x4624bc,0x137,0x1c3)](_0x9dc662[_0x468e3b(-_0x4b163b._0x44b6c1,-_0x4b163b._0x158c8b,0x2,-_0x4b163b._0x583057)]??process[_0x468e3b(-_0x4b163b._0xc6f8ea,-_0x4b163b._0x4864d6,-_0x4b163b._0x102366,-_0x4b163b._0x4552cb)]()),_0x5dbef=(_0x9dc662[_0x1bd38e(_0x4b163b._0x353ec3,0x210,0x302,0x3f6)]??[])['map'](_0x3b4dae=>_0x57dfe9[_0x468e3b(-0x1dd,-0x30d,-0xf6,-0x202)](_0x3b4dae));function _0x468e3b(_0xd0058b,_0x81a6b,_0x2f3643,_0x27c77e){return _0x4aa629(_0xd0058b-_0x59feb8._0x24cbd6,_0x81a6b,_0x2f3643-_0x59feb8._0x305690,_0x27c77e- -_0x59feb8._0x50d6ad);}const _0x583819=_0x9dc662[_0x1bd38e(0xcf,0xe2,_0x4b163b._0x3a00f2,0xe0)]??'Ls';return defineTool({'name':_0x583819,'description':_0x468e3b(-_0x4b163b._0x36660d,-0x14f,-0x4e,-_0x4b163b._0x387369),'inputSchema':{'type':_0x1bd38e(0x206,_0x4b163b._0x5cfb19,_0x4b163b._0x2ae541,_0x4b163b._0x987556),'properties':{'path':{'type':_0x1bd38e(0x2b7,0x240,0x252,_0x4b163b._0x6bdb0e)},'limit':{'type':_0x1bd38e(0x354,0x306,0x2d7,_0x4b163b._0x5907e8)}}},async *'execute'(_0x411fe0){const _0x307f7e={_0x42a662:0x5b};function _0x1c5d45(_0x1e5848,_0x525f93,_0xf37c7,_0x35a4b5){return _0x468e3b(_0x1e5848-0x114,_0x1e5848,_0xf37c7-0x5f,_0xf37c7-_0x307f7e._0x42a662);}const _0x1b83df=_0x411fe0[_0x4de4d0(0x359,_0x1c6e0e._0x33fee3,0x249,0x1f3)]??'.',_0x326390=resolveAllowedPath(_0x1ff04b,_0x5dbef,_0x1b83df),_0x1cbfa7=await _0x52f250(_0x326390)['catch'](()=>null);function _0x4de4d0(_0x1de6c9,_0x54da4a,_0x220184,_0x383a65){return _0x468e3b(_0x1de6c9-_0x36c5f9._0x390039,_0x54da4a,_0x220184-0xa8,_0x220184-_0x36c5f9._0x1bb078);}if(!_0x1cbfa7?.[_0x1c5d45(-0xc4,-0x41,-0xfe,-_0x1c6e0e._0x4e36bc)]())throw new ToolExecutionError(_0x1c5d45(-0x1bc,-0xcf,-_0x1c6e0e._0xb8c369,-_0x1c6e0e._0x42c41a)+_0x1b83df,{'path':_0x1b83df});const _0x5b2995=_0x411fe0[_0x1c5d45(-_0x1c6e0e._0x172d67,-0x1d0,-0x245,-0x36f)]??0x3e8,_0x1a148d=Math[_0x4de4d0(0xfa,0x206,0x23e,_0x1c6e0e._0x3dcdf1)](Math[_0x4de4d0(_0x1c6e0e._0x42531a,_0x1c6e0e._0x3d0bec,_0x1c6e0e._0x2fb51e,_0x1c6e0e._0x1d46ea)](Math['trunc'](_0x5b2995),0x1),0x2710),_0x54ba5b=await _0x3c37be(_0x326390),_0x2aeaed=[];for(const _0x1fc73b of _0x54ba5b[_0x1c5d45(-_0x1c6e0e._0x4250e0,-_0x1c6e0e._0x2ff476,-0x1da,-_0x1c6e0e._0x25074d)](0x0,_0x1a148d)){const _0x539e4d=_0x57dfe9[_0x4de4d0(0x29a,_0x1c6e0e._0x10c201,0x228,_0x1c6e0e._0x5ba110)](_0x326390,_0x1fc73b),_0x15f6f2=await _0x52f250(_0x539e4d)[_0x4de4d0(0x3e7,_0x1c6e0e._0x5d3ac8,_0x1c6e0e._0x5e9b47,_0x1c6e0e._0x2e6ae6)](()=>null);if(!_0x15f6f2)continue;let _0x438078=_0x4de4d0(0xe4,0x71,_0x1c6e0e._0x117fbb,0x4a);if(_0x15f6f2[_0x4de4d0(_0x1c6e0e._0x268209,_0x1c6e0e._0x5be6a9,_0x1c6e0e._0x29657f,0xb5)]())_0x438078=_0x1c5d45(-_0x1c6e0e._0x444a60,-0x1c1,-_0x1c6e0e._0x24846c,-0xea);else{if(_0x15f6f2[_0x1c5d45(-0x1e8,-_0x1c6e0e._0x3e62f8,-0xfe,-_0x1c6e0e._0x1b0814)]())_0x438078=_0x1c5d45(-0x94,-_0x1c6e0e._0x487400,-_0x1c6e0e._0x561801,-0x1e2);else{if(_0x15f6f2[_0x4de4d0(0x183,0x1b8,_0x1c6e0e._0x22e1b7,_0x1c6e0e._0x14a7e8)]())_0x438078=_0x4de4d0(0x84,0x9e,_0x1c6e0e._0x4e6b92,_0x1c6e0e._0x44891b);}}const _0x514b8b={'name':_0x1fc73b,'type':_0x438078,'size':_0x15f6f2[_0x1c5d45(-0x14b,-_0x1c6e0e._0x3a7c69,-_0x1c6e0e._0x2dc313,-_0x1c6e0e._0x919720)],'mtime':_0x15f6f2[_0x4de4d0(_0x1c6e0e._0x5d4a59,0x70,_0x1c6e0e._0x46836e,0x1bc)],'mode':_0x15f6f2['mode']},_0x1389a3=_0x438078===_0x4de4d0(_0x1c6e0e._0x73838f,0x367,0x240,_0x1c6e0e._0x167876)?await countTextLines(_0x539e4d):void 0x0;if(_0x1389a3!==void 0x0)_0x514b8b[_0x4de4d0(_0x1c6e0e._0x58264a,0x13b,0x1be,_0x1c6e0e._0x1f4181)]=_0x1389a3;_0x2aeaed['push'](_0x514b8b);}_0x2aeaed[_0x1c5d45(-0x1f5,-0x27e,-_0x1c6e0e._0x1d4865,-0x186)]((_0x3295d6,_0x5a6758)=>_0x3295d6[_0x4de4d0(0x315,0x1b6,0x2ab,0x21e)][_0x4de4d0(0x378,0x1c1,0x232,0x364)](_0x5a6758[_0x1c5d45(-0x103,0x7a,-0xcb,-0x5a)]));const _0x3d1718={'path':_0x1b83df,'total':_0x2aeaed[_0x1c5d45(-_0x1c6e0e._0x362225,-0x5d,-0x154,-0x16f)],'truncated':_0x54ba5b['length']>_0x1a148d,'entries':_0x2aeaed};return yield createToolOutput(_0x152137['stringify'](_0x3d1718,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x1b83df,'total':_0x2aeaed[_0x4de4d0(0xdb,0x1dc,0x222,_0x1c6e0e._0x53cb24)],'truncated':_0x54ba5b[_0x4de4d0(0x17f,_0x1c6e0e._0x592c2d,_0x1c6e0e._0x1cba9f,_0x1c6e0e._0x39f172)]>_0x1a148d,'limit':_0x1a148d,'entries':_0x2aeaed}),void 0x0;}});}import{stat as _0xe0a42d}from'fs/promises';import _0x11df05 from'path';import{fileURLToPath as _0x9c441c}from'url';function severityName(_0x25a0bf){const _0x515d49={_0x1397c9:0x227,_0x3e0fc9:0x243,_0x5b2a63:0x274,_0x5abbb1:0x236,_0x290381:0x215,_0x2a90c3:0x327},_0xf8cdc5={_0x556d84:0xee},_0x4e9004={_0x37ca33:0x130,_0x315be1:0x169};function _0x7b8d89(_0x2d9e4b,_0x13b3c4,_0x1a0bbb,_0x3d0303){return _0x2f0acf(_0x2d9e4b- -0xdb,_0x13b3c4-_0x4e9004._0x37ca33,_0x13b3c4,_0x3d0303-_0x4e9004._0x315be1);}function _0x305943(_0x36ab52,_0x55e512,_0x20e86d,_0x25a2cb){return _0x4aa629(_0x36ab52-_0xf8cdc5._0x556d84,_0x20e86d,_0x20e86d-0x17f,_0x25a2cb-0x21f);}switch(_0x25a0bf){case 0x1:return'Error';case 0x2:return _0x305943(0x2c9,_0x515d49._0x1397c9,_0x515d49._0x3e0fc9,0x2e1);case 0x3:return _0x7b8d89(_0x515d49._0x5b2a63,0x2e2,_0x515d49._0x5abbb1,0x18c);case 0x4:return _0x305943(_0x515d49._0x290381,0x268,0x2e3,_0x515d49._0x2a90c3);default:return _0x7b8d89(0x37b,0x277,0x386,0x43c);}}function formatSingleHover(_0xe86a95){const _0x551652={_0x148fc7:0xf2,_0x33dba2:0xc3,_0x49befe:0x1c,_0x27a5a1:0x231,_0x4ae43d:0x340,_0x1ea942:0x21a,_0x56922a:0x2c8,_0xc570a6:0x219,_0x55b737:0x14b,_0xb8903d:0x3f,_0x17998f:0x7f,_0xf7e0f:0x57,_0x2c65c3:0x4,_0x227e8d:0x1b2,_0xa38f4b:0x18a,_0x41f1cc:0x1ce,_0x408bd7:0x73,_0x57951e:0x113},_0x1ee618={_0x57375b:0x1c6,_0x52e013:0x182},_0x45dfe8=_0xe86a95[_0x405d6f(0x20,-_0x551652._0x148fc7,-_0x551652._0x33dba2,_0x551652._0x49befe)];function _0x405d6f(_0x3bd392,_0x2b3de7,_0x5b4198,_0x2ad978){return _0x2f0acf(_0x3bd392- -_0x1ee618._0x57375b,_0x2b3de7-_0x1ee618._0x52e013,_0x5b4198,_0x2ad978-0x9f);}if(typeof _0x45dfe8==='string')return _0x45dfe8;if(Array[_0x5cfc29(_0x551652._0x27a5a1,0x30f,0x290,0x24f)](_0x45dfe8))return _0x45dfe8['map'](_0x3c99ef=>typeof _0x3c99ef==='string'?_0x3c99ef:_0x3c99ef[_0x5cfc29(0xcb,0x18a,0x42,0x1b1)])['filter'](Boolean)[_0x5cfc29(_0x551652._0x4ae43d,_0x551652._0x1ea942,_0x551652._0x56922a,_0x551652._0xc570a6)]('\x0a\x0a');function _0x5cfc29(_0x4d097b,_0x1ad9f3,_0x309b27,_0x408409){return _0x2f0acf(_0x1ad9f3- -0xaf,_0x1ad9f3-0x1c7,_0x4d097b,_0x408409-0xa0);}if(_0x5cfc29(0x2e4,0x260,0x377,0x228)in _0x45dfe8)return _0x45dfe8[_0x5cfc29(0x124,0x18a,_0x551652._0x55b737,0x2bb)];return _0x45dfe8[_0x405d6f(0x13d,_0x551652._0xb8903d,0x148,_0x551652._0x17998f)]?'```'+_0x45dfe8[_0x405d6f(0x13d,_0x551652._0xf7e0f,_0x551652._0x2c65c3,_0x551652._0x227e8d)]+'\x0a'+_0x45dfe8[_0x5cfc29(0x191,_0x551652._0xa38f4b,0x273,_0x551652._0x41f1cc)]+'\x0a```':_0x45dfe8[_0x405d6f(_0x551652._0x408bd7,0xa5,_0x551652._0x57951e,-0x1c)];}function formatHover(_0x44d659){const _0x41ebf2={_0x550979:0x6e,_0x1bd290:0x105,_0x584c8e:0x5b,_0x3178ab:0x5e,_0x8d2d34:0x56,_0x341323:0x80,_0x5768cc:0x153,_0x147fdf:0xa2,_0x1bfb12:0x12b,_0x3ac6c0:0xc9,_0xe2733d:0x1fa},_0x47410c={_0x5a6eed:0x99,_0x2230f1:0x8b},_0x462b8d={_0x590e3e:0x9f};function _0x101a5d(_0xe5aae,_0x5587af,_0x52fafb,_0x18c693){return _0x2f0acf(_0x18c693- -0x489,_0x5587af-_0x462b8d._0x590e3e,_0xe5aae,_0x18c693-0xac);}if(_0x44d659[_0x11a846(-_0x41ebf2._0x550979,-0x24c,-_0x41ebf2._0x1bd290,-_0x41ebf2._0x584c8e)]===0x0)return _0x11a846(_0x41ebf2._0x3178ab,-_0x41ebf2._0x8d2d34,-_0x41ebf2._0x341323,-0x1b1);function _0x11a846(_0x593c06,_0x2d9be9,_0x1516dd,_0x15c51d){return _0x4aa629(_0x593c06-_0x47410c._0x5a6eed,_0x2d9be9,_0x1516dd-0x13,_0x1516dd- -_0x47410c._0x2230f1);}return _0x44d659[_0x11a846(-_0x41ebf2._0x5768cc,-_0x41ebf2._0x147fdf,-0x19a,-0x95)](formatSingleHover)['join'](_0x101a5d(-_0x41ebf2._0x1bfb12,-_0x41ebf2._0x3ac6c0,-0x2e5,-_0x41ebf2._0xe2733d));}function locationPath(_0x49939f){const _0x3850ed={_0x491919:0x3ef,_0x51bc3d:0x34f,_0x844fd2:0x4c1,_0x5c0013:0x8c,_0x28757f:0x160},_0xa9c2f8={_0x161364:0x109},_0x178f04={_0x1f2ab1:0x426};if(!_0x49939f[_0xbf79a9(_0x3850ed._0x491919,_0x3850ed._0x51bc3d,0x4a2,_0x3850ed._0x844fd2)](_0x55049a(-_0x3850ed._0x5c0013,-0x215,-0x1d,-_0x3850ed._0x28757f)))return _0x49939f;function _0xbf79a9(_0x3565e7,_0x1d07f5,_0xe2a89a,_0x5986e7){return _0x4aa629(_0x3565e7-0x4f,_0xe2a89a,_0xe2a89a-0x170,_0x3565e7-_0x178f04._0x1f2ab1);}function _0x55049a(_0x502107,_0x415c69,_0x464354,_0x1b1eca){return _0x2f0acf(_0x1b1eca- -0x4b8,_0x415c69-_0xa9c2f8._0x161364,_0x464354,_0x1b1eca-0xee);}return _0x9c441c(_0x49939f);}function formatLocations(_0x2977b5){const _0x6e8962={_0x5876a0:0x31e,_0x5357a5:0x236,_0x525da4:0x365,_0x14da98:0x34e,_0x3470cb:0x28d,_0x2f20bb:0x3d9,_0x126e43:0x190,_0x2f9d71:0x1ef,_0x1a3c87:0x264,_0xda3977:0x23c,_0x400b4f:0x2bd},_0x5d646a={_0x1dc6a7:0x4fc,_0x55d225:0x4},_0x280179={_0x1d8964:0x1ce,_0x426901:0x13,_0x416814:0x2b0},_0x23826a={_0x155529:0xab};function _0x44a8e4(_0x44dc4e,_0x5e59e1,_0x2def0f,_0x3bc9f8){return _0x2f0acf(_0x3bc9f8- -0x492,_0x5e59e1-0xbd,_0x44dc4e,_0x3bc9f8-_0x23826a._0x155529);}if(_0x2977b5[_0x4af635(_0x6e8962._0x5876a0,_0x6e8962._0x5357a5,0x1a0,0x31c)]===0x0)return _0x4af635(_0x6e8962._0x525da4,_0x6e8962._0x14da98,_0x6e8962._0x3470cb,_0x6e8962._0x2f20bb);function _0x4af635(_0x1f9756,_0x5ed28c,_0x1fb919,_0x2f7b4e){return _0x4aa629(_0x1f9756-_0x280179._0x1d8964,_0x2f7b4e,_0x1fb919-_0x280179._0x426901,_0x5ed28c-_0x280179._0x416814);}return _0x2977b5[_0x44a8e4(-0x30b,-_0x6e8962._0x126e43,-_0x6e8962._0x2f9d71,-_0x6e8962._0x1a3c87)](_0x135c8b=>{const _0x1661b7={_0x5615ed:0x17,_0x156934:0x49b},_0x4b1af4={_0x306f66:0xdf,_0x3afa63:0x260};function _0x1d3428(_0x244aa4,_0x5a4898,_0x952f41,_0x2c25cd){return _0x44a8e4(_0x5a4898,_0x5a4898-0xa0,_0x952f41-_0x4b1af4._0x306f66,_0x952f41-_0x4b1af4._0x3afa63);}const _0x384f82=_0x135c8b['range'][_0x3f18f6(0x3e4,_0x5d646a._0x1dc6a7,0x3d1,0x3e1)];function _0x3f18f6(_0x567df1,_0x13bd46,_0x105420,_0x318918){return _0x44a8e4(_0x318918,_0x13bd46-_0x1661b7._0x5615ed,_0x105420-0x1a3,_0x105420-_0x1661b7._0x156934);}return locationPath(_0x135c8b['uri'])+':'+(_0x384f82['line']+0x1)+':'+(_0x384f82[_0x1d3428(_0x5d646a._0x55d225,0x167,0xff,0x1eb)]+0x1);})[_0x4af635(0x2bd,_0x6e8962._0xda3977,_0x6e8962._0x400b4f,0x1f1)]('\x0a');}function isDocumentSymbol(_0x2a8736){const _0x3c1b8c={_0x4ad56f:0x1b5,_0x4ab69f:0x18,_0x577b84:0x356,_0x53d141:0x24a,_0x8d111c:0x29b},_0x54e821={_0x84c239:0x182,_0x4cf47e:0x193},_0x2ca24d={_0x4f770c:0x6d,_0x36f2d1:0x13d};function _0xb1da27(_0x34b76e,_0x132ed3,_0x574ebd,_0xe07cdc){return _0x4aa629(_0x34b76e-_0x2ca24d._0x4f770c,_0x574ebd,_0x574ebd-0x6,_0x132ed3- -_0x2ca24d._0x36f2d1);}function _0x21b816(_0x5de0db,_0x47c822,_0x5aa396,_0x2456d2){return _0x2f0acf(_0x5de0db- -0x448,_0x47c822-_0x54e821._0x84c239,_0x2456d2,_0x2456d2-_0x54e821._0x4cf47e);}return _0x21b816(-0xa2,-_0x3c1b8c._0x4ad56f,-0x1a1,_0x3c1b8c._0x4ab69f)in _0x2a8736&&_0xb1da27(-_0x3c1b8c._0x577b84,-_0x3c1b8c._0x53d141,-0x258,-_0x3c1b8c._0x8d111c)in _0x2a8736;}function formatSymbols(_0x427a43){const _0x4cb7f2={_0x5e68b6:0x42c,_0x7634b9:0x2cf,_0x47c61a:0x331,_0x129896:0x28e,_0x2b7403:0x2fc,_0x29ebf9:0x1ea,_0x4d2293:0x24c,_0x35947a:0x3dc,_0x9d760f:0x3cd},_0x506df4={_0xbf2828:0x4db,_0x5e80c9:0x8e,_0x1f1c10:0x2d4,_0x4facb0:0x1ba,_0x4baafd:0x1b1,_0xd6aa66:0x82,_0x162c70:0x101,_0x23e3be:0x1a,_0xc21439:0x142,_0x3bbc43:0x198,_0x6d1ab7:0x56f,_0xde1b8b:0x6f8,_0x4b0ee9:0x4c3,_0x2f48dd:0x5d0,_0x59086a:0x4ff,_0x5ec81b:0x42c,_0x5a7063:0x577,_0x1ac1e1:0x3df,_0x32bbf6:0x4a8,_0x52a709:0x5bb,_0x55d0e2:0x5d6,_0x5cb875:0x689,_0xce6e05:0xbb,_0x597941:0x12d,_0x105f5f:0x4a1,_0x4c28b9:0x5f9,_0x10f3a0:0x527,_0x3318fd:0x224},_0x1c79a6={_0x19d62b:0x1a9},_0x2b8200={_0x577a95:0xda},_0x4b3414={_0x5b1498:0x70},_0x40eea1={_0xf7fd8c:0x378,_0x3b0a48:0x124};function _0x3f1837(_0x4b6b7e,_0x3df464,_0x110380,_0x332c0d){return _0x2f0acf(_0x4b6b7e- -_0x40eea1._0xf7fd8c,_0x3df464-_0x40eea1._0x3b0a48,_0x3df464,_0x332c0d-0xcb);}if(_0x427a43[_0x29b4a5(0x37e,_0x4cb7f2._0x5e68b6,0x467,_0x4cb7f2._0x7634b9)]===0x0)return _0x29b4a5(_0x4cb7f2._0x47c61a,_0x4cb7f2._0x129896,_0x4cb7f2._0x2b7403,0x3fc);function _0x29b4a5(_0x4aa49c,_0x523f4f,_0x4d7806,_0x5e42cd){return _0x2f0acf(_0x4aa49c-0xbb,_0x523f4f-_0x4b3414._0x5b1498,_0x4d7806,_0x5e42cd-0xe7);}return _0x427a43[_0x29b4a5(0x2e9,0x2c9,0x246,_0x4cb7f2._0x29ebf9)](_0x4f940b=>{function _0x3641e4(_0x5040ab,_0x52c5ca,_0x5935e4,_0x3c98ee){return _0x3f1837(_0x3c98ee-0x639,_0x5935e4,_0x5935e4-_0x2b8200._0x577a95,_0x3c98ee-0x2d);}if(isDocumentSymbol(_0x4f940b))return _0x4f940b[_0x3641e4(0x5f3,0x712,_0x506df4._0xbf2828,0x60d)]+'\x20('+_0x4f940b[_0x3b06ee(-_0x506df4._0x5e80c9,-_0x506df4._0x1f1c10,-_0x506df4._0x4facb0,-_0x506df4._0x4baafd)]+')\x20['+(_0x4f940b['range'][_0x3b06ee(-_0x506df4._0xd6aa66,-0x18,-_0x506df4._0x162c70,-_0x506df4._0x23e3be)]['line']+0x1)+':'+(_0x4f940b['range'][_0x3b06ee(-_0x506df4._0xc21439,0x2f,-0x101,-0x4b)][_0x3b06ee(-0x1dc,-0x276,-_0x506df4._0x3bbc43,-0x13f)]+0x1)+']';function _0x3b06ee(_0x35a35e,_0x234a5f,_0x3f70b9,_0x398b27){return _0x3f1837(_0x3f70b9- -0x151,_0x35a35e,_0x3f70b9-0x8d,_0x398b27-_0x1c79a6._0x19d62b);}return _0x4f940b[_0x3641e4(0x722,0x691,_0x506df4._0x6d1ab7,0x60d)]+'\x20('+_0x4f940b[_0x3641e4(0x5d7,_0x506df4._0xde1b8b,_0x506df4._0x4b0ee9,_0x506df4._0x2f48dd)]+')\x20'+locationPath(_0x4f940b[_0x3641e4(_0x506df4._0x59086a,0x66c,_0x506df4._0x5ec81b,0x527)][_0x3641e4(_0x506df4._0x5a7063,_0x506df4._0x1ac1e1,_0x506df4._0x32bbf6,0x4cd)])+':'+(_0x4f940b['location']['range'][_0x3641e4(0x68f,_0x506df4._0x52a709,_0x506df4._0x55d0e2,_0x506df4._0x5cb875)][_0x3b06ee(-_0x506df4._0xce6e05,-0x18e,-0x12f,-_0x506df4._0x597941)]+0x1)+':'+(_0x4f940b[_0x3641e4(_0x506df4._0x105f5f,0x5a5,_0x506df4._0x4c28b9,_0x506df4._0x10f3a0)]['range'][_0x3b06ee(-_0x506df4._0x3318fd,-0x3,-_0x506df4._0x162c70,-0x1fc)]['character']+0x1);})[_0x29b4a5(0x384,_0x4cb7f2._0x4d2293,_0x4cb7f2._0x35947a,_0x4cb7f2._0x9d760f)]('\x0a');}function formatDiagnostics(_0x53f68d){const _0x47424e={_0x2bb404:0x254,_0xc186cb:0x11c,_0x5a5be8:0x79,_0x350ad2:0x5b,_0xb02987:0x312},_0x363cc8={_0x49520c:0x102,_0x4ee15c:0x131,_0x17829a:0x85,_0xbca5cd:0x71,_0x3b2158:0x133,_0x155a9d:0x18e,_0x10a7eb:0xbb,_0x37d3bc:0xe},_0xc2e2cb={_0x6fd804:0x1cb,_0x3920c9:0x1df,_0x45debd:0x4b3},_0x2ca56d={_0x2e242f:0xf2,_0x33cdc5:0x12f},_0x2a1ca6={_0x4f98d2:0x49,_0x4481e5:0x178},_0x3d2f98={_0x3e2868:0x39a,_0x16ae0e:0x28};function _0x2421b3(_0x545e18,_0x339295,_0xd4b009,_0x1ab53f){return _0x2f0acf(_0xd4b009- -_0x3d2f98._0x3e2868,_0x339295-0xa1,_0x339295,_0x1ab53f-_0x3d2f98._0x16ae0e);}function _0x47abc5(_0x3666d1,_0x27e82a,_0x19a22b,_0x3e61e3){return _0x2f0acf(_0x19a22b-_0x2a1ca6._0x4f98d2,_0x27e82a-0xf,_0x3e61e3,_0x3e61e3-_0x2a1ca6._0x4481e5);}if(_0x53f68d[_0x47abc5(0x25d,_0x47424e._0x2bb404,0x30c,0x407)]===0x0)return _0x2421b3(-_0x47424e._0xc186cb,-_0x47424e._0x5a5be8,-0x102,-_0x47424e._0x350ad2);return _0x53f68d['map'](_0x58a682=>{const _0xd01390=_0x58a682[_0x4d5055(-0x1fa,-_0x363cc8._0x49520c,-0xc4,0x34)][_0x4d5055(-_0x363cc8._0x4ee15c,-_0x363cc8._0x17829a,-0xa2,-_0x363cc8._0xbca5cd)];function _0x2143d4(_0x2f2441,_0x2d2d2b,_0x424974,_0x5d75fa){return _0x2421b3(_0x2f2441-0x1cc,_0x5d75fa,_0x2f2441- -_0x2ca56d._0x2e242f,_0x5d75fa-_0x2ca56d._0x33cdc5);}function _0x4d5055(_0x2ea648,_0x2c91bc,_0x16d7bb,_0x2f222d){return _0x47abc5(_0x2ea648-_0xc2e2cb._0x6fd804,_0x2c91bc-_0xc2e2cb._0x3920c9,_0x16d7bb- -_0xc2e2cb._0x45debd,_0x2ea648);}return severityName(_0x58a682[_0x4d5055(-_0x363cc8._0x3b2158,-0x10d,-0x23b,-0x26a)])+'\x20['+(_0xd01390[_0x2143d4(-0xf2,-0xe7,-_0x363cc8._0x155a9d,-_0x363cc8._0x10a7eb)]+0x1)+':'+(_0xd01390['character']+0x1)+']\x20'+_0x58a682[_0x2143d4(-0x4e,-_0x363cc8._0x37d3bc,0xb8,0xac)];})[_0x47abc5(0x411,0x259,_0x47424e._0xb02987,0x2cd)]('\x0a');}function formatIncomingCalls(_0x54f83c){const _0x106803={_0x4195a2:0x6ff,_0x5ddf6c:0x1fb,_0x293e10:0x30b,_0x366848:0x1c0},_0x466d0d={_0x21eb9f:0xcb,_0x50cf92:0xcc};if(_0x54f83c['length']===0x0)return _0x2c15db(0x612,0x59a,_0x106803._0x4195a2,0x522);function _0x41de57(_0x1d9946,_0x336158,_0x593c60,_0x2aa8d9){return _0x4aa629(_0x1d9946-_0x466d0d._0x21eb9f,_0x593c60,_0x593c60-_0x466d0d._0x50cf92,_0x2aa8d9- -0x180);}function _0x2c15db(_0x3485c9,_0x36b1a1,_0x1626e4,_0x192eb3){return _0x4aa629(_0x3485c9-0x5,_0x1626e4,_0x1626e4-0x90,_0x3485c9-0x61a);}return _0x54f83c['map'](_0x7f29cd=>_0x7f29cd[_0x41de57(-0x22f,-0x182,-0x2ec,-0x27f)][_0x2c15db(0x629,0x727,0x5f9,0x50b)])[_0x41de57(-_0x106803._0x5ddf6c,-_0x106803._0x293e10,-_0x106803._0x366848,-0x1f4)]('\x0a');}function formatOutgoingCalls(_0x10337a){const _0x1472e9={_0x51ba28:0xc0,_0x31ce7b:0x21d,_0x29425c:0x1b8,_0x308a26:0x288,_0x387f82:0x1dd};function _0x228f9f(_0x5d711e,_0xf1d152,_0x21524d,_0x5e11fe){return _0x2f0acf(_0x5e11fe- -0x315,_0xf1d152-0x152,_0xf1d152,_0x5e11fe-0x1a3);}if(_0x10337a['length']===0x0)return _0xc09888(-0x16d,-_0x1472e9._0x51ba28,-_0x1472e9._0x31ce7b,-_0x1472e9._0x29425c);function _0xc09888(_0x84c772,_0x288432,_0x174fb3,_0x521973){return _0x4aa629(_0x84c772-0x1d8,_0x174fb3,_0x174fb3-0xc2,_0x84c772- -0x165);}return _0x10337a[_0xc09888(-0x274,-_0x1472e9._0x308a26,-0x1d7,-_0x1472e9._0x387f82)](_0x110997=>_0x110997['to'][_0xc09888(-0x156,-0x12d,-0x1b4,-0x1cf)])['join']('\x0a');}function toStructured(_0x2a6849){const _0x5c15a2={_0x3048b5:0x95,_0x1261ea:0x20b,_0x5a6f4e:0x8d},_0x38527b={_0x31a757:0xa6,_0x4a3535:0x1e3},_0x29370f={_0xc00ac3:0x8e,_0x4b175d:0x1b6};function _0x288f86(_0x5c5ae5,_0x1d3024,_0x15e078,_0x3ddc0d){return _0x2f0acf(_0x15e078- -0x389,_0x1d3024-_0x29370f._0xc00ac3,_0x3ddc0d,_0x3ddc0d-_0x29370f._0x4b175d);}function _0x1d3dcf(_0x50c2fc,_0x15e1f4,_0x2d6ab8,_0x2db1e0){return _0x4aa629(_0x50c2fc-_0x38527b._0x31a757,_0x50c2fc,_0x2d6ab8-_0x38527b._0x4a3535,_0x2d6ab8-0x49f);}return JSON[_0x288f86(-_0x5c15a2._0x3048b5,-_0x5c15a2._0x1261ea,-0x147,-0x26e)](JSON[_0x288f86(-_0x5c15a2._0x5a6f4e,-0x143,-0x85,-_0x5c15a2._0x3048b5)](_0x2a6849));}async function assertFile(_0x3fe91d){const _0x1fda00={_0x2155b2:0x118},_0x1e5d5f={_0x30c78d:0x22,_0x4273f2:0x18d},_0x29e576=await _0xe0a42d(_0x3fe91d);function _0x4fec73(_0x3f5743,_0x2244d5,_0x520935,_0x3ac51a){return _0x4aa629(_0x3f5743-_0x1e5d5f._0x30c78d,_0x520935,_0x520935-0xcb,_0x3ac51a-_0x1e5d5f._0x4273f2);}if(!_0x29e576[_0x4fec73(-0xb9,0x15,-_0x1fda00._0x2155b2,0x28)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x3fe91d,{'path':_0x3fe91d});}function validatePosition(_0xaee271,_0x36a0c9){const _0x3b2329={_0x57b678:0x1fa,_0x5e915e:0x2f6,_0x4b97f6:0x26c,_0x2e2121:0x65},_0x51ad8b={_0x5a3dae:0x64},_0x52566a={_0x2d2d1b:0xbc,_0x5d2975:0x9b,_0x15207c:0x8b};function _0x8cecbc(_0xb9b84d,_0x10b50b,_0x48fe19,_0x328d0e){return _0x2f0acf(_0x48fe19- -_0x52566a._0x2d2d1b,_0x10b50b-_0x52566a._0x5d2975,_0xb9b84d,_0x328d0e-_0x52566a._0x15207c);}function _0x3c7ee4(_0x3de815,_0x12454f,_0x271f92,_0x5a0d9e){return _0x2f0acf(_0x3de815- -0x471,_0x12454f-0xaa,_0x12454f,_0x5a0d9e-_0x51ad8b._0x5a3dae);}if(!Number['isInteger'](_0xaee271)||_0xaee271<0x1)throw new ToolExecutionError(_0x3c7ee4(-0x1dc,-_0x3b2329._0x57b678,-0x217,-_0x3b2329._0x5e915e),{'line':_0xaee271});if(!Number[_0x8cecbc(0x270,_0x3b2329._0x4b97f6,0x2c2,0x31c)](_0x36a0c9)||_0x36a0c9<0x1)throw new ToolExecutionError(_0x3c7ee4(-0x14b,-0xfe,-0x1fe,-_0x3b2329._0x2e2121),{'character':_0x36a0c9});}function createLspTool(_0x42dbbf={}){const _0x52c314={_0x24c29e:0x3e7,_0x40f742:0x3b1,_0x315aaa:0x5a0,_0x3d9c61:0x46d,_0x580151:0x110,_0x242aaa:0x4ab,_0x51edcf:0x309,_0x1a952e:0x49e,_0x437d1b:0x1cd,_0x30ad61:0x1e4,_0x1d4ce5:0x390,_0x585077:0x23b,_0x5b62ca:0x31f,_0x27250e:0x4d4,_0xdea4e6:0x3aa,_0x423cef:0x368,_0xbaedf2:0x280,_0x365e6d:0x2ac,_0x1370b9:0x1ac,_0x530a9b:0x2ae,_0x149faa:0x4e6,_0x23a130:0x3c6,_0x31994e:0x448,_0x21ede2:0x2d,_0x51f4d6:0x3e,_0x2191d6:0x135,_0x1c29f5:0x8f,_0x3c4b94:0x42b,_0x1a730c:0x398,_0x3bfc67:0x1fc,_0x595cfe:0x296,_0x3e35dd:0x17d,_0x55c30a:0x7e,_0x1317f5:0x9a,_0x458329:0x2a,_0x5aeb8c:0x129,_0x5735c4:0x7a,_0xc7f187:0x39,_0xb9015c:0x5d,_0xd498e6:0x2,_0x5a6510:0x5b,_0x46bf6e:0x1c,_0x2d7c08:0x13d,_0x4bd7c0:0xf9,_0x3e8cd1:0xea,_0x8dcb82:0xa},_0x12581e={_0x1fdeeb:0x351,_0x331dce:0x26a,_0x5b44fe:0x2d7,_0x54eca5:0x22a,_0x1907fa:0x303,_0xa58bca:0x484,_0x541d80:0x3bd,_0x137763:0x483,_0x2cc286:0x4de,_0x3e1e07:0x543,_0x4b489d:0x42a,_0x223f76:0x486,_0x31b301:0x3e8,_0x1fba2e:0x42e,_0x595814:0x3fe,_0x5b7ddb:0x428,_0x24f2ef:0x406,_0x78e907:0x265,_0x59071f:0x34b,_0x2d38d5:0x599,_0x312278:0x644,_0x2ecf65:0x592,_0x6caffb:0xbc,_0x385fc5:0xff,_0x50c8fb:0x69,_0x514511:0xa1,_0xca2429:0x17a,_0x50acea:0x184,_0x2fd93d:0x535,_0x4bcf45:0x4ab,_0x29e9a7:0x14d,_0x356d66:0x22a,_0x5054d6:0x8,_0x5663ae:0xae,_0x7171d1:0x3da,_0x4a3092:0xf5,_0x14f303:0x2a9,_0x5d1c7f:0xc7,_0x33b15c:0x68,_0x5953e2:0xb,_0x57b1fd:0x130,_0x1823d3:0x1cc,_0x17824b:0x2f3,_0x3dd96a:0x222,_0x575f65:0x335,_0x2d4838:0x273,_0x1d1c05:0x3b8,_0x45ddd8:0x628,_0x15b3d4:0x4c5,_0x261213:0x59c,_0x43e6ab:0x4fc,_0xe41972:0x580,_0x2684b0:0x415,_0x1744c6:0x21f,_0x34b057:0x103,_0x47e4f8:0x427,_0x45c886:0x390,_0x3d75ff:0x48f,_0xbf3302:0x1,_0x2ea85b:0x127,_0x158c73:0xcd,_0x45a144:0x2d,_0xaaff70:0x58d,_0x1c3bff:0x485,_0x4b5faf:0x48e,_0x45abd3:0xef,_0x9d8275:0x1ea,_0x440b95:0x145},_0x5e532d={_0x120808:0x17e,_0x1e541c:0x35c},_0x56f176={_0x54e39c:0x409,_0x24846a:0x173,_0x367b1e:0x167},_0x13bba0=_0x11df05['resolve'](_0x42dbbf['defaultCwd']??process[_0x4f9730(_0x52c314._0x24c29e,_0x52c314._0x40f742,_0x52c314._0x315aaa,_0x52c314._0x3d9c61)]()),_0x3514c7=(_0x42dbbf['allowedDirs']??[])[_0x4f9730(_0x52c314._0x580151,0x300,0x1df,0x24d)](_0x5027dd=>_0x11df05['resolve'](_0x5027dd));function _0x1b6e35(_0x271330,_0x2174b6,_0x3e13df,_0x2742df){return _0x2f0acf(_0x2174b6- -_0x56f176._0x54e39c,_0x2174b6-_0x56f176._0x24846a,_0x3e13df,_0x2742df-_0x56f176._0x367b1e);}function _0x4f9730(_0x5a8e03,_0x33571a,_0x43f981,_0x4df44a){return _0x4aa629(_0x5a8e03-0x116,_0x43f981,_0x43f981-_0x5e532d._0x120808,_0x4df44a-_0x5e532d._0x1e541c);}const _0x536416=_0x42dbbf[_0x4f9730(_0x52c314._0x242aaa,_0x52c314._0x51edcf,0x2b1,0x36b)]??_0x4f9730(0x46e,0x253,_0x52c314._0x1a952e,0x36d);return defineTool({'name':_0x536416,'description':_0x1b6e35(-_0x52c314._0x437d1b,-0x101,-_0x52c314._0x30ad61,0x2d),'inputSchema':{'type':_0x4f9730(0x241,_0x52c314._0x1d4ce5,_0x52c314._0x585077,_0x52c314._0x5b62ca),'properties':{'operation':{'type':_0x4f9730(_0x52c314._0x27250e,0x43d,0x43d,_0x52c314._0xdea4e6),'enum':[_0x1b6e35(-0x119,-0x224,-_0x52c314._0x423cef,-_0x52c314._0xbaedf2),_0x1b6e35(-_0x52c314._0x365e6d,-_0x52c314._0x1370b9,-0x7c,-_0x52c314._0x530a9b),_0x4f9730(_0x52c314._0x149faa,_0x52c314._0x23a130,0x562,_0x52c314._0x31994e),_0x1b6e35(-0x1de,-0x149,-0x273,-_0x52c314._0x21ede2),'workspaceSymbol',_0x1b6e35(-0xa0,_0x52c314._0x51f4d6,_0x52c314._0x2191d6,-0xff),_0x1b6e35(-0x182,-0xcf,-0x8d,-_0x52c314._0x1c29f5),_0x4f9730(_0x52c314._0x3c4b94,0x31f,0x436,_0x52c314._0x1a730c),_0x4f9730(0x2fc,_0x52c314._0x3bfc67,0x396,_0x52c314._0x595cfe),'diagnostics']},'filePath':{'type':_0x1b6e35(-_0x52c314._0x3e35dd,-_0x52c314._0x55c30a,-_0x52c314._0x1317f5,-0x162)},'line':{'type':_0x1b6e35(-_0x52c314._0x458329,0x7,_0x52c314._0x5aeb8c,0x106)},'character':{'type':'number'},'query':{'type':_0x1b6e35(-_0x52c314._0x5735c4,-0x7e,_0x52c314._0xc7f187,-_0x52c314._0xb9015c)}},'required':[_0x1b6e35(_0x52c314._0xd498e6,-0x1c,-_0x52c314._0x5a6510,_0x52c314._0x46bf6e),_0x1b6e35(-0xd8,-_0x52c314._0x2d7c08,-_0x52c314._0x4bd7c0,-0x10e),_0x1b6e35(0xd5,-0x6f,-0x10d,0xcf),_0x1b6e35(-_0x52c314._0x3e8cd1,-0xd8,-_0x52c314._0x8dcb82,0x19)]},async *'execute'(_0x58483e){const _0x2b6890={_0xbd020c:0x11e,_0x1b26e8:0x4a},_0x2501d6=_0x42dbbf[_0xae14f8(-_0x12581e._0x1fdeeb,-_0x12581e._0x331dce,-_0x12581e._0x5b44fe,-0x230)];if(!_0x2501d6)throw new ToolExecutionError(_0xae14f8(-0x246,-_0x12581e._0x54eca5,-0x255,-_0x12581e._0x1907fa));if(!_0x2501d6[_0xa2525b(_0x12581e._0xa58bca,0x5a1,0x529,0x462)]())throw new ToolExecutionError(_0xa2525b(_0x12581e._0x541d80,_0x12581e._0x137763,0x29f,0x348));const _0x3d9f70=_0x58483e[_0xa2525b(_0x12581e._0x2cc286,_0x12581e._0x3e1e07,0x63c,0x542)];validatePosition(_0x58483e['line'],_0x58483e[_0xa2525b(0x410,_0x12581e._0x4b489d,0x5a8,_0x12581e._0x223f76)]);if(_0x3d9f70===_0xa2525b(0x3c4,_0x12581e._0x31b301,0x3ed,_0x12581e._0x1fba2e)){if(!_0x58483e[_0xa2525b(_0x12581e._0x595814,_0x12581e._0x5b7ddb,_0x12581e._0x24f2ef,0x515)]?.[_0xa2525b(0x21b,_0x12581e._0x78e907,_0x12581e._0x59071f,0x344)]())throw new ToolExecutionError(_0xa2525b(_0x12581e._0x2d38d5,0x5ff,_0x12581e._0x312278,_0x12581e._0x2ecf65));const _0x3c00e1=await _0x2501d6[_0xae14f8(-0xd6,-0x188,-_0x12581e._0x6caffb,-_0x12581e._0x385fc5)](_0x58483e['query']['trim']());return yield createToolOutput(formatSymbols(_0x3c00e1),{'operation':_0x3d9f70,'query':_0x58483e[_0xae14f8(_0x12581e._0x50c8fb,-_0x12581e._0x514511,-_0x12581e._0xca2429,-_0x12581e._0x50acea)],'symbols':_0x3c00e1}),void 0x0;}const _0x24a59d=resolveAllowedPath(_0x13bba0,_0x3514c7,_0x58483e[_0xa2525b(_0x12581e._0x2fd93d,_0x12581e._0x4bcf45,0x3db,0x421)]);await assertFile(_0x24a59d);if(!await _0x2501d6[_0xae14f8(-_0x12581e._0x29e9a7,-0xfe,-_0x12581e._0x356d66,_0x12581e._0x5054d6)](_0x24a59d))throw new ToolExecutionError(_0xae14f8(-_0x12581e._0x5663ae,-0x2c,-0x6f,-0xae)+_0x58483e['filePath'],{'filePath':_0x58483e[_0xa2525b(0x2fd,0x50f,_0x12581e._0x7171d1,0x421)]});function _0xae14f8(_0x3a7462,_0x4547ba,_0x267f66,_0x25cacd){return _0x4f9730(_0x3a7462-_0x2b6890._0xbd020c,_0x4547ba-_0x2b6890._0x1b26e8,_0x25cacd,_0x4547ba- -0x480);}await _0x2501d6[_0xae14f8(-_0x12581e._0x4a3092,-0x16e,-0x12b,-_0x12581e._0x14f303)](_0x24a59d,!![]);function _0xa2525b(_0x2b3c1b,_0x3d9c30,_0x17f4dd,_0x53184f){return _0x1b6e35(_0x2b3c1b-0x177,_0x53184f-0x55e,_0x3d9c30,_0x53184f-0x199);}const _0x10d91d={'file':_0x24a59d,'line':_0x58483e[_0xae14f8(-0xe4,-_0x12581e._0x5d1c7f,-0x6d,_0x12581e._0x33b15c)]-0x1,'character':_0x58483e[_0xae14f8(-_0x12581e._0x5953e2,-_0x12581e._0x57b1fd,-0x275,-0x56)]-0x1};switch(_0x3d9f70){case'hover':{const _0x488752=await _0x2501d6['hover'](_0x10d91d);return yield createToolOutput(formatHover(_0x488752),{'operation':_0x3d9f70,'filePath':_0x24a59d,'hover':_0x488752}),void 0x0;}case _0xae14f8(-0x2f0,-0x290,-_0x12581e._0x1823d3,-_0x12581e._0x17824b):{const _0x510d2d=await _0x2501d6[_0xa2525b(_0x12581e._0x3dd96a,_0x12581e._0x575f65,0x3d2,0x35f)](_0x24a59d);return yield createToolOutput(formatDiagnostics(_0x510d2d),{'operation':_0x3d9f70,'filePath':_0x24a59d,'diagnostics':_0x510d2d}),void 0x0;}case _0xa2525b(0x414,_0x12581e._0x2d4838,_0x12581e._0x1d1c05,0x33a):{const _0x4a2746=await _0x2501d6[_0xa2525b(_0x12581e._0x45ddd8,0x5c9,0x568,0x50e)](_0x10d91d);return yield createToolOutput(formatLocations(_0x4a2746),{'operation':_0x3d9f70,'filePath':_0x24a59d,'locations':_0x4a2746}),void 0x0;}case'findReferences':{const _0x1d614b=await _0x2501d6['references'](_0x10d91d);return yield createToolOutput(formatLocations(_0x1d614b),{'operation':_0x3d9f70,'filePath':_0x24a59d,'locations':_0x1d614b}),void 0x0;}case _0xa2525b(0x4a4,0x618,_0x12581e._0x15b3d4,_0x12581e._0x261213):{const _0x2af517=await _0x2501d6[_0xa2525b(0x50e,0x560,_0x12581e._0x43e6ab,_0x12581e._0xe41972)](_0x10d91d);return yield createToolOutput(formatLocations(_0x2af517),{'operation':_0x3d9f70,'filePath':_0x24a59d,'locations':_0x2af517}),void 0x0;}case _0xa2525b(0x474,0x487,0x4e3,_0x12581e._0x2684b0):{const _0x392100=await _0x2501d6[_0xae14f8(-_0x12581e._0x1744c6,-0x1a1,-0x250,-_0x12581e._0x34b057)](_0x24a59d);return yield createToolOutput(formatSymbols(_0x392100),{'operation':_0x3d9f70,'filePath':_0x24a59d,'symbols':_0x392100}),void 0x0;}case _0xa2525b(_0x12581e._0x47e4f8,0x5a7,_0x12581e._0x45c886,_0x12581e._0x3d75ff):{const _0x45592c=await _0x2501d6[_0xae14f8(_0x12581e._0xbf3302,-_0x12581e._0x2ea85b,-_0x12581e._0x158c73,-_0x12581e._0x45a144)](_0x10d91d);return yield createToolOutput(formatSymbols(_0x45592c),{'operation':_0x3d9f70,'filePath':_0x24a59d,'symbols':toStructured(_0x45592c)}),void 0x0;}case _0xa2525b(0x5ed,0x570,0x47f,0x4ce):{const _0x160970=await _0x2501d6[_0xa2525b(_0x12581e._0xaaff70,_0x12581e._0x1c3bff,_0x12581e._0x4b5faf,0x4ce)](_0x10d91d);return yield createToolOutput(formatIncomingCalls(_0x160970),{'operation':_0x3d9f70,'filePath':_0x24a59d,'calls':toStructured(_0x160970)}),void 0x0;}case _0xae14f8(-_0x12581e._0x45abd3,-_0x12581e._0x9d8275,-_0x12581e._0x440b95,-0x206):{const _0x47f7d1=await _0x2501d6['outgoingCalls'](_0x10d91d);return yield createToolOutput(formatOutgoingCalls(_0x47f7d1),{'operation':_0x3d9f70,'filePath':_0x24a59d,'calls':toStructured(_0x47f7d1)}),void 0x0;}}}});}import{randomUUID}from'crypto';import{mkdir as _0x4f1a5b,readFile as _0x430286,writeFile as _0x23a316}from'fs/promises';import{join as _0x472289}from'path';function sanitizeStorageKey(_0x42ea2c){const _0x316056={_0x1d3698:0x10f,_0x174c89:0x1fd,_0xcafe9a:0x11e,_0x2a221c:0x111};function _0x5b7fd9(_0x56a389,_0x342e6f,_0x422e2d,_0x436978){return _0x2f0acf(_0x436978- -0xc6,_0x342e6f-0x16e,_0x342e6f,_0x436978-0x5a);}function _0x5d40b8(_0x5c8a95,_0x4e8477,_0xc99235,_0x19b283){return _0x4aa629(_0x5c8a95-0x137,_0x4e8477,_0xc99235-0x166,_0xc99235-0x582);}return _0x42ea2c[_0x5b7fd9(_0x316056._0x1d3698,0x11b,_0x316056._0x174c89,0x111)](/[^a-zA-Z0-9_]+/g,'_')[_0x5b7fd9(_0x316056._0xcafe9a,0x18b,-0x8,_0x316056._0x2a221c)](/^_+|_+$/g,'')||_0x5d40b8(0x603,0x667,0x556,0x48e);}function storagePath(_0x144636){const _0x290436={_0x22ca57:0x2a6,_0x43ac2e:0x166,_0x343507:0x131,_0x550ae7:0x9e,_0x233cdf:0xef,_0x57be3d:0xd2},_0x3f0094={_0x9d8476:0x49,_0x32dc30:0x69};function _0x547c8c(_0x175a49,_0x1a9000,_0x77871,_0x5f262b){return _0x4aa629(_0x175a49-0x1b8,_0x1a9000,_0x77871-0x31,_0x175a49-0x215);}const _0x81bc7b=sanitizeStorageKey(_0x144636[_0x547c8c(_0x290436._0x22ca57,0x308,0x339,0x1a3)]['oauth']?.[_0x547c8c(_0x290436._0x43ac2e,0x2ad,_0x290436._0x343507,_0x290436._0x550ae7)]??_0x144636['serverName']);function _0x469051(_0x35e114,_0x5459b5,_0x491f2f,_0x1f4a19){return _0x4aa629(_0x35e114-_0x3f0094._0x9d8476,_0x1f4a19,_0x491f2f-_0x3f0094._0x32dc30,_0x5459b5-0x3d);}return _0x472289(_0x144636['storageDir'],_0x81bc7b+_0x469051(0x5e,0x17,-_0x290436._0x233cdf,-_0x290436._0x57be3d));}async function readStore(_0x52108e){const _0x387119={_0x2b2fbc:0xe0,_0x5a273d:0x216,_0x4f468c:0x1d3,_0x3db43f:0x191,_0x1ea39a:0x34,_0x319837:0xad,_0x4592c:0x58f,_0x258c36:0x449,_0x308d2c:0x58f,_0x2a4d8f:0x5c0,_0x32fc34:0x5a5},_0x56024c={_0x5df9bc:0x232,_0x483d63:0x1ea,_0x1d0a0e:0x37},_0x1c902b={_0x2b6e48:0xe6};function _0x1d99cd(_0x34faf9,_0x4bbcb7,_0x5f8612,_0xd2a0d2){return _0x2f0acf(_0x5f8612- -0x314,_0x4bbcb7-0x137,_0x34faf9,_0xd2a0d2-_0x1c902b._0x2b6e48);}function _0x6b3d4d(_0x354718,_0x5bee22,_0x225ab9,_0x4cb18f){return _0x2f0acf(_0x354718-_0x56024c._0x5df9bc,_0x5bee22-_0x56024c._0x483d63,_0x225ab9,_0x4cb18f-_0x56024c._0x1d0a0e);}try{return JSON[_0x1d99cd(-_0x387119._0x2b2fbc,-_0x387119._0x5a273d,-0xd2,-_0x387119._0x4f468c)](await _0x430286(_0x52108e,_0x1d99cd(-_0x387119._0x3db43f,_0x387119._0x1ea39a,-0x8f,-_0x387119._0x319837)));}catch(_0xeaa1d1){if(_0xeaa1d1 instanceof Error&&_0x6b3d4d(_0x387119._0x4592c,0x67c,0x465,_0x387119._0x258c36)in _0xeaa1d1&&_0xeaa1d1[_0x6b3d4d(_0x387119._0x308d2c,0x591,_0x387119._0x2a4d8f,_0x387119._0x32fc34)]==='ENOENT')return{};throw _0xeaa1d1;}}async function writeStore(_0x234d78,_0x1d33cc){const _0x275754={_0x37fe81:0x530,_0x22aea9:0x439},_0xb6c6ed={_0xb7a1e3:0x2d};await _0x4f1a5b(_0x472289(_0x234d78,'..'),{'recursive':!![]});function _0x499539(_0x4314b7,_0x84db65,_0x379970,_0x492a70){return _0x2f0acf(_0x492a70-0x1b4,_0x84db65-0xa8,_0x4314b7,_0x492a70-_0xb6c6ed._0xb7a1e3);}await _0x23a316(_0x234d78,JSON['stringify'](_0x1d33cc,null,0x2),_0x499539(0x3fe,_0x275754._0x37fe81,0x323,_0x275754._0x22aea9));}function _0x2f0acf(_0xff2276,_0xf2ccb,_0x5d1b7b,_0x193aa2){return _0x561a(_0xff2276-0xeb,_0x5d1b7b);}async function updateStore(_0x323e58,_0x4c0eb0){const _0xfffb5=await readStore(_0x323e58);_0x4c0eb0(_0xfffb5),await writeStore(_0x323e58,_0xfffb5);}function createMcpOAuthProvider(_0x2ac031){const _0x5b8c34={_0x379cc1:0x177,_0x307922:0x1bf,_0x408050:0x132,_0x14d953:0x209,_0x263968:0x28f,_0x5edf35:0x20c,_0x152dd5:0x306,_0x45050e:0x142,_0x5a299f:0x44,_0x167981:0x325,_0x60482a:0x243,_0x57f0dd:0xd6,_0x2c0eed:0x37,_0x45c526:0x1a2,_0x23ac2e:0xe5,_0x30f2b5:0x136,_0x1fbf76:0x21f},_0x4e2e4f={_0x215e87:0x278,_0x55b1aa:0x325,_0x67cf60:0x269},_0x2a09bf={_0x1277a9:0x111,_0x50577a:0x94,_0x14f013:0xa3,_0x364d0c:0x78,_0x2bf9ff:0x2a9,_0x131fe8:0x3dd,_0x14f32:0x3d8,_0x21dcce:0x481,_0x1a3961:0x13,_0xcc2dcf:0x19,_0x4ed865:0x170,_0x5914d4:0x94,_0x2b4186:0x2e9,_0x3b8bf4:0x3dc,_0x1280ab:0x41a,_0x1d8061:0x590,_0x56b591:0x4fa,_0x56f566:0x462,_0x268477:0x38f,_0x17d4fe:0x18e,_0x14e6c2:0x87},_0x18243e={_0x5832e5:0x6f6,_0x389c66:0x7a1,_0x3cf747:0x65c,_0xf4ac9a:0x726,_0x41fa06:0x6ee},_0x229bd0={_0x3d1bcd:0x146,_0x5b65c3:0xab,_0x572e47:0x209},_0x361868={_0x16c12a:0x11b,_0x1585d0:0x176},_0x3a8283={_0x106583:0x3dd,_0x49504d:0x409,_0x328c88:0x3ad},_0x19873a={_0x5e9212:0xae},_0x1a48df={_0xdcc4bc:0x56},_0x1916b5={_0x1a23d5:0x0,_0x3caec6:0x15a,_0x5b4342:0x1cd},_0x20b2cf=storagePath(_0x2ac031);function _0x5e2a90(_0x636891,_0x451f1e,_0x78544b,_0x4c3050){return _0x4aa629(_0x636891-_0x1916b5._0x1a23d5,_0x451f1e,_0x78544b-_0x1916b5._0x3caec6,_0x78544b-_0x1916b5._0x5b4342);}const _0x5cb648=_0x2ac031[_0xdaa4e(-_0x5b8c34._0x379cc1,-0x1f3,-0xb9,-0x137)]['oauth']?.[_0x5e2a90(0xa0,_0x5b8c34._0x307922,_0x5b8c34._0x408050,_0x5b8c34._0x14d953)]?.['join']('\x20'),_0x169335={'client_name':'Nuvin','redirect_uris':[_0x2ac031[_0xdaa4e(-0x282,-_0x5b8c34._0x263968,-_0x5b8c34._0x5edf35,-_0x5b8c34._0x152dd5)]],'grant_types':[_0xdaa4e(0x53,-_0x5b8c34._0x45050e,-_0x5b8c34._0x5a299f,-0x7c),'refresh_token'],'response_types':[_0x5e2a90(0x2db,_0x5b8c34._0x167981,0x1ed,_0x5b8c34._0x60482a)],'token_endpoint_auth_method':_0xdaa4e(0xb9,_0x5b8c34._0x57f0dd,-_0x5b8c34._0x2c0eed,-0x101),..._0x5cb648?{'scope':_0x5cb648}:{}};function _0xdaa4e(_0x48f058,_0x521890,_0x2c9d28,_0x3ab056){return _0x4aa629(_0x48f058-0xf5,_0x48f058,_0x2c9d28-_0x1a48df._0xdcc4bc,_0x2c9d28- -0x14a);}return{'clientMetadataUrl':_0x2ac031['config'][_0x5e2a90(0x206,0x297,0x15e,_0x5b8c34._0x45c526)]?.[_0x5e2a90(_0x5b8c34._0x23ac2e,_0x5b8c34._0x30f2b5,0x175,_0x5b8c34._0x1fbf76)],get 'redirectUrl'(){function _0x4745b2(_0x4ebb58,_0x27d097,_0x20f147,_0x20b27a){return _0x5e2a90(_0x4ebb58-0x4a,_0x20f147,_0x27d097-0x1b,_0x20b27a-_0x19873a._0x5e9212);}return _0x2ac031[_0x4745b2(0x62,0x126,0x150,0x1fb)];},get 'clientMetadata'(){return _0x169335;},async 'state'(){const _0x559610={_0x12cee8:0x124,_0x1b350f:0x1ff,_0x11d2d9:0x1ac},_0x3025eb={_0x127c92:0xed,_0x3b4ca4:0x2d},_0x249b26=await readStore(_0x20b2cf);function _0x38b598(_0x136487,_0x3516c3,_0x39906c,_0x5cff6e){return _0xdaa4e(_0x3516c3,_0x3516c3-0x114,_0x5cff6e-_0x3025eb._0x127c92,_0x5cff6e-_0x3025eb._0x3b4ca4);}if(_0x249b26['state'])return _0x249b26[_0x38b598(-0x52,0xbc,0x8,-0x4)];const _0x56fa74=randomUUID();return await updateStore(_0x20b2cf,_0x1e67d2=>{function _0x32f9a0(_0x598fff,_0xdd7509,_0x317ba2,_0x2ded89){return _0x38b598(_0x598fff-0x18b,_0x598fff,_0x317ba2-0x84,_0x317ba2- -0x12d);}_0x1e67d2[_0x32f9a0(-_0x559610._0x12cee8,-_0x559610._0x1b350f,-0x131,-_0x559610._0x11d2d9)]=_0x56fa74;}),_0x56fa74;},async 'clientInformation'(){return(await readStore(_0x20b2cf))['clientInformation'];},async 'saveClientInformation'(_0x4d3f25){await updateStore(_0x20b2cf,_0xdcdc3e=>{const _0x1e4ccc={_0x38c514:0x181};function _0x2a24fe(_0x3d3914,_0x73c5f4,_0x177d80,_0x2ac7fa){return _0x561a(_0x3d3914-_0x1e4ccc._0x38c514,_0x2ac7fa);}_0xdcdc3e[_0x2a24fe(_0x3a8283._0x106583,_0x3a8283._0x49504d,_0x3a8283._0x328c88,0x2f3)]=_0x4d3f25;});},async 'tokens'(){return(await readStore(_0x20b2cf))['tokens'];},async 'saveTokens'(_0x4d786e){await updateStore(_0x20b2cf,_0x177369=>{function _0x348e63(_0x20a037,_0x3cd85f,_0x36fd1e,_0x10fd0d){return _0x561a(_0x10fd0d- -0x2c6,_0x36fd1e);}_0x177369[_0x348e63(-_0x361868._0x16c12a,-0x201,-0x218,-_0x361868._0x1585d0)]=_0x4d786e;});},async 'redirectToAuthorization'(_0x2e8afb){function _0x46c2f7(_0x4e8521,_0xb773f7,_0x4bab06,_0x42b8bc){return _0x5e2a90(_0x4e8521-0x1e3,_0x4bab06,_0x4e8521- -0x135,_0x42b8bc-0x1c8);}await _0x2ac031[_0x46c2f7(_0x229bd0._0x3d1bcd,_0x229bd0._0x5b65c3,0x171,_0x229bd0._0x572e47)](_0x2e8afb);},async 'saveCodeVerifier'(_0x533486){const _0x261936={_0x50a94b:0x4cb,_0x3efcf1:0x73c};await updateStore(_0x20b2cf,_0x2e330d=>{function _0x383389(_0x2b21ab,_0x42b596,_0x4637df,_0x248085){return _0x561a(_0x248085-0x330,_0x42b596);}_0x2e330d[_0x383389(0x529,_0x261936._0x50a94b,_0x261936._0x3efcf1,0x612)]=_0x533486;});},async 'codeVerifier'(){const _0x315ed9={_0xce92cb:0xd1},_0x5bf2a0={_0x2f4109:0x192,_0x45804b:0x74};function _0x176ff6(_0x1edba2,_0xf44471,_0x22d616,_0x13410d){return _0xdaa4e(_0x1edba2,_0xf44471-_0x5bf2a0._0x2f4109,_0x13410d-0x726,_0x13410d-_0x5bf2a0._0x45804b);}const _0x3846c0=(await readStore(_0x20b2cf))[_0x176ff6(0x6b1,_0x18243e._0x5832e5,_0x18243e._0x389c66,0x66c)];function _0x5c64aa(_0x57c1ba,_0x35bc79,_0x36cc29,_0x312d10){return _0xdaa4e(_0x36cc29,_0x35bc79-_0x315ed9._0xce92cb,_0x312d10-0x759,_0x312d10-0x1e6);}if(!_0x3846c0)throw new Error(_0x5c64aa(_0x18243e._0x3cf747,_0x18243e._0xf4ac9a,0x6ee,_0x18243e._0x41fa06));return _0x3846c0;},async 'invalidateCredentials'(_0x3fed75){await updateStore(_0x20b2cf,_0x37d0e4=>{const _0x224642={_0x4cabec:0x28c};function _0x26245e(_0x325c35,_0x3ef331,_0x4dd648,_0xf247a7){return _0x561a(_0xf247a7- -0x1e4,_0x4dd648);}(_0x3fed75==='all'||_0x3fed75===_0x26245e(-0xd6,_0x2a09bf._0x1277a9,0xa,-0x32))&&(_0x37d0e4[_0x26245e(_0x2a09bf._0x50577a,_0x2a09bf._0x14f013,0x17f,_0x2a09bf._0x364d0c)]=void 0x0);(_0x3fed75===_0x21bf50(_0x2a09bf._0x2bf9ff,_0x2a09bf._0x131fe8,_0x2a09bf._0x14f32,_0x2a09bf._0x21dcce)||_0x3fed75===_0x26245e(_0x2a09bf._0x1a3961,_0x2a09bf._0xcc2dcf,-_0x2a09bf._0x4ed865,-_0x2a09bf._0x5914d4))&&(_0x37d0e4[_0x21bf50(_0x2a09bf._0x2b4186,_0x2a09bf._0x3b8bf4,0x4fc,_0x2a09bf._0x1280ab)]=void 0x0);(_0x3fed75===_0x21bf50(0x2d5,0x3dd,0x474,0x521)||_0x3fed75===_0x21bf50(0x532,0x567,0x48e,0x4d7))&&(_0x37d0e4['codeVerifier']=void 0x0,_0x37d0e4[_0x21bf50(0x5bd,0x537,_0x2a09bf._0x1d8061,_0x2a09bf._0x56b591)]=void 0x0);function _0x21bf50(_0x320372,_0x329bbb,_0x14a211,_0x52a3e1){return _0x561a(_0x329bbb-_0x224642._0x4cabec,_0x320372);}(_0x3fed75===_0x21bf50(0x34c,_0x2a09bf._0x131fe8,_0x2a09bf._0x56f566,_0x2a09bf._0x268477)||_0x3fed75===_0x26245e(_0x2a09bf._0x17d4fe,-_0x2a09bf._0x14e6c2,0x160,0x58))&&(_0x37d0e4['discoveryState']=void 0x0);});},async 'saveDiscoveryState'(_0x383f9b){const _0x23e31e={_0x467fac:0x390},_0xf71d60={_0x47f35b:0xa2};await updateStore(_0x20b2cf,_0x3f48c5=>{function _0x38683d(_0xeb561d,_0x566fc9,_0x45baa0,_0x5549f5){return _0x561a(_0xeb561d-_0xf71d60._0x47f35b,_0x45baa0);}_0x3f48c5[_0x38683d(0x353,_0x23e31e._0x467fac,0x30d,0x30e)]=_0x383f9b;});},async 'discoveryState'(){function _0xb6e649(_0x11a6f4,_0x48570d,_0x21ddfa,_0x1b2aa8){return _0x5e2a90(_0x11a6f4-0x9f,_0x21ddfa,_0x1b2aa8-0x3d,_0x1b2aa8-0x4a);}return(await readStore(_0x20b2cf))[_0xb6e649(_0x4e2e4f._0x215e87,0x385,_0x4e2e4f._0x55b1aa,_0x4e2e4f._0x67cf60)];}};}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';function createMcpToolName(_0xe7563f,_0x55910f){const _0x16e7cf={_0x4aa879:0x16c,_0x38ae29:0x126},_0x3ed0d3={_0x22455b:0x1e8},_0x551ffb={_0x2918fc:0x1d4};function _0x43180d(_0x33e3f8,_0x49c0f7,_0x177bba,_0x244a8c){return _0x4aa629(_0x33e3f8-0x106,_0x244a8c,_0x177bba-_0x551ffb._0x2918fc,_0x177bba-0x2e2);}const _0x564f02=_0x276894=>_0x276894[_0x43180d(0x175,0xbc,0x17c,0x1b4)](/[^a-zA-Z0-9_]+/g,'_')[_0x43180d(0x6f,0x102,0x17c,0x24f)](/^_+|_+$/g,'');function _0x39d3eb(_0x15d104,_0xf21074,_0x54e67a,_0x5b5a6a){return _0x2f0acf(_0x54e67a- -0x392,_0xf21074-_0x3ed0d3._0x22455b,_0x15d104,_0x5b5a6a-0x14f);}return _0x39d3eb(-_0x16e7cf._0x4aa879,-0x1e3,-_0x16e7cf._0x38ae29,0x4)+_0x564f02(_0xe7563f)+'_'+_0x564f02(_0x55910f);}function isObject(_0x24b9a5){const _0x161394={_0x15d71f:0xde,_0x50426a:0x424},_0x294bd5={_0x4c9966:0xa1},_0x658589={_0x24d415:0x129,_0x3ade5f:0x86};function _0xc1d619(_0x43a885,_0x55a20a,_0x2b1007,_0xc7ce1){return _0x2f0acf(_0xc7ce1- -0x419,_0x55a20a-_0x658589._0x24d415,_0x2b1007,_0xc7ce1-_0x658589._0x3ade5f);}function _0x13db20(_0x22ca22,_0x3d8d0f,_0x4257ee,_0x23b511){return _0x4aa629(_0x22ca22-_0x294bd5._0x4c9966,_0x4257ee,_0x4257ee-0x4e,_0x3d8d0f-0x4bc);}return typeof _0x24b9a5===_0xc1d619(-0x1d3,-0x51,-_0x161394._0x15d71f,-0x119)&&_0x24b9a5!==null&&!Array[_0x13db20(0x582,0x53d,0x4be,_0x161394._0x50426a)](_0x24b9a5);}function _0x561a(_0x45670b,_0x4e6a08){_0x45670b=_0x45670b-0xe1;const _0x400895=_0x4008();let _0x561a29=_0x400895[_0x45670b];if(_0x561a['xRBonB']===undefined){var _0x255732=function(_0x5e5b51){const _0x456b3e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x53c5d0='',_0x359d69='';for(let _0x29f37d=0x0,_0x4f421d,_0x1b4671,_0x3ea862=0x0;_0x1b4671=_0x5e5b51['charAt'](_0x3ea862++);~_0x1b4671&&(_0x4f421d=_0x29f37d%0x4?_0x4f421d*0x40+_0x1b4671:_0x1b4671,_0x29f37d++%0x4)?_0x53c5d0+=String['fromCharCode'](0xff&_0x4f421d>>(-0x2*_0x29f37d&0x6)):0x0){_0x1b4671=_0x456b3e['indexOf'](_0x1b4671);}for(let _0x26364b=0x0,_0x1744cf=_0x53c5d0['length'];_0x26364b<_0x1744cf;_0x26364b++){_0x359d69+='%'+('00'+_0x53c5d0['charCodeAt'](_0x26364b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x359d69);};_0x561a['NDcCRG']=_0x255732,_0x561a['qAruZR']={},_0x561a['xRBonB']=!![];}const _0x3a22ef=_0x400895[0x0],_0x42b542=_0x45670b+_0x3a22ef,_0x2cb633=_0x561a['qAruZR'][_0x42b542];return!_0x2cb633?(_0x561a29=_0x561a['NDcCRG'](_0x561a29),_0x561a['qAruZR'][_0x42b542]=_0x561a29):_0x561a29=_0x2cb633,_0x561a29;}function toSupportedSchema(_0x391f86){const _0x48fa44={_0x9845d:0x3d4,_0x5ca0a0:0x409,_0x48e6bb:0x318,_0x162596:0x29c,_0x203421:0x180,_0x3fcb76:0x5d5,_0x38151b:0x5cb,_0x610b53:0x49c,_0x118d2a:0x471,_0x51441a:0x57c,_0x4a8ea0:0x49c,_0x1d4366:0x320,_0x229d52:0x321,_0x1cde4b:0x3b3,_0x54f899:0x22a,_0xf37002:0x2ba,_0x2b8d6d:0x335,_0xed51ef:0x302,_0x61b718:0x2f7,_0xeb1264:0x330,_0x325583:0x4b3,_0xb9213d:0x40a,_0x481a9c:0x50f,_0x2c5c1c:0x3e5,_0x3eb301:0x3d6,_0x3f4896:0x412,_0x1e2411:0x49c,_0x5a0ebd:0x460,_0x46238e:0x34b},_0x4e72d3={_0xd2d7ef:0x4b},_0x42f968={_0x198f97:0xef};if(!isObject(_0x391f86))return void 0x0;if(_0x391f86['type']===_0x2526d6(_0x48fa44._0x9845d,_0x48fa44._0x5ca0a0,_0x48fa44._0x48e6bb,0x3d6))return{'type':_0x342b13(0x247,_0x48fa44._0x162596,0x1a1,_0x48fa44._0x203421)};if(_0x391f86[_0x2526d6(_0x48fa44._0x3fcb76,_0x48fa44._0x38151b,0x41f,_0x48fa44._0x610b53)]==='number'||_0x391f86[_0x2526d6(0x48f,_0x48fa44._0x118d2a,_0x48fa44._0x51441a,_0x48fa44._0x4a8ea0)]==='integer')return{'type':_0x342b13(_0x48fa44._0x1d4366,_0x48fa44._0x229d52,_0x48fa44._0x1cde4b,_0x48fa44._0x54f899)};if(_0x391f86[_0x342b13(_0x48fa44._0xf37002,0x362,0x399,_0x48fa44._0x2b8d6d)]===_0x2526d6(0x50e,0x37a,0x34f,0x431))return{'type':_0x342b13(_0x48fa44._0xed51ef,_0x48fa44._0x61b718,0x1e7,0x1fc)};if(_0x391f86[_0x342b13(0x33a,0x362,0x373,_0x48fa44._0xeb1264)]==='array')return{'type':_0x2526d6(_0x48fa44._0x325583,_0x48fa44._0xb9213d,_0x48fa44._0x481a9c,0x3e9),'items':toSupportedSchema(_0x391f86[_0x2526d6(0x2c5,0x212,_0x48fa44._0x2c5c1c,0x333)])??{'type':_0x2526d6(0x380,0x330,0x487,_0x48fa44._0x3eb301)}};function _0x342b13(_0x4625d0,_0x6ac175,_0x52fd9b,_0x191949){return _0x2f0acf(_0x6ac175- -_0x42f968._0x198f97,_0x6ac175-0x17f,_0x191949,_0x191949-0xaf);}function _0x2526d6(_0x3596ae,_0x12ac9d,_0x38fbb3,_0x22166e){return _0x2f0acf(_0x22166e-_0x4e72d3._0xd2d7ef,_0x12ac9d-0x8c,_0x38fbb3,_0x22166e-0x13c);}if(_0x391f86[_0x2526d6(_0x48fa44._0x3f4896,0x53c,0x458,_0x48fa44._0x1e2411)]===_0x2526d6(0x344,_0x48fa44._0x5a0ebd,0x25c,_0x48fa44._0x46238e))return toNuvinToolSchema(_0x391f86);return void 0x0;}function toNuvinToolSchema(_0x414ba5){const _0x1e6dbd={_0x4028c6:0x6e1,_0x1c0d4c:0x860,_0x42d700:0x5e7,_0x182b06:0x492,_0x17a7c1:0x69c,_0x2828e9:0x26b,_0x3a9005:0x21e,_0xda0ee8:0x43e,_0x431d5a:0x4e0,_0x50dd39:0x57b,_0xf6699:0x583,_0x24979c:0x663,_0x1ee374:0xbc,_0x249775:0x7,_0x4ff201:0x1dd,_0x522cd3:0x190,_0x3f1195:0x21b},_0x1a6432={_0x270d3f:0x2d1,_0x5a3379:0x1d},_0x5d9745={_0x459ac8:0x47a};if(!isObject(_0x414ba5)||_0x414ba5[_0x489fbd(_0x1e6dbd._0x4028c6,_0x1e6dbd._0x1c0d4c,0x722,_0x1e6dbd._0x42d700)]!==_0x489fbd(_0x1e6dbd._0x182b06,_0x1e6dbd._0x17a7c1,0x5d1,0x586))return{'type':'object','properties':{}};const _0x4b086e={},_0xcd513b=isObject(_0x414ba5[_0x1f178b(-_0x1e6dbd._0x2828e9,-0x13a,-_0x1e6dbd._0x3a9005,-0x399)])?_0x414ba5[_0x489fbd(0x3e5,_0x1e6dbd._0xda0ee8,_0x1e6dbd._0x431d5a,0x4e2)]:{};function _0x1f178b(_0x1f261e,_0x38bf1a,_0x2168d7,_0x436b18){return _0x2f0acf(_0x1f261e- -_0x5d9745._0x459ac8,_0x38bf1a-0x14f,_0x436b18,_0x436b18-0x94);}function _0x489fbd(_0x4caced,_0x56db8e,_0x276a3c,_0x4ed011){return _0x2f0acf(_0x276a3c-_0x1a6432._0x270d3f,_0x56db8e-0x1d4,_0x56db8e,_0x4ed011-_0x1a6432._0x5a3379);}for(const [_0x5cf994,_0x2cb4ab]of Object[_0x489fbd(_0x1e6dbd._0x50dd39,0x4db,_0x1e6dbd._0xf6699,_0x1e6dbd._0x24979c)](_0xcd513b)){const _0x41cde1=toSupportedSchema(_0x2cb4ab);if(_0x41cde1)_0x4b086e[_0x5cf994]=_0x41cde1;}const _0x5af235=Array[_0x1f178b(-_0x1e6dbd._0x1ee374,-0xd1,_0x1e6dbd._0x249775,-0x1e4)](_0x414ba5['required'])?_0x414ba5[_0x1f178b(-0xfe,-0x121,-0x11a,-0x22c)]['filter'](_0x4df182=>typeof _0x4df182===_0x489fbd(0x519,0x783,0x65c,0x53b)):void 0x0;return _0x5af235?.[_0x1f178b(-0x1b7,-_0x1e6dbd._0x4ff201,-0x177,-0x2b2)]?{'type':_0x1f178b(-0x17a,-_0x1e6dbd._0x522cd3,-0x104,-0xec),'properties':_0x4b086e,'required':_0x5af235}:{'type':_0x1f178b(-0x17a,-_0x1e6dbd._0x3f1195,-0xeb,-0x21e),'properties':_0x4b086e};}function isJsonObject(_0x466554){const _0x162197={_0x6936d8:0x4d8,_0x185aef:0x60c,_0x5b635b:0x5ff,_0x1a834a:0x55f},_0x205383={_0x38c83d:0x5f,_0x59e253:0xa4},_0x395d57={_0x4f6326:0xb9};function _0x5c95f1(_0x57b0f1,_0x966127,_0x533b81,_0x5b195b){return _0x4aa629(_0x57b0f1-0xc7,_0x5b195b,_0x533b81-_0x395d57._0x4f6326,_0x57b0f1-0x58b);}function _0x11fde5(_0x6b618d,_0x23177d,_0x8fd810,_0x4171d5){return _0x4aa629(_0x6b618d-_0x205383._0x38c83d,_0x8fd810,_0x8fd810-_0x205383._0x59e253,_0x4171d5-0x4d6);}return typeof _0x466554===_0x11fde5(0x454,0x594,_0x162197._0x6936d8,0x499)&&_0x466554!==null&&!Array[_0x5c95f1(_0x162197._0x185aef,0x5f3,_0x162197._0x5b635b,_0x162197._0x1a834a)](_0x466554);}function formatMcpContent(_0x50469e){const _0xf0c6b5={_0x34b6f2:0x313,_0x118038:0x15d,_0x521e3f:0x240,_0x4d9245:0x1a3,_0x21afd0:0x1b2,_0x149e53:0x188,_0x634540:0x3b0,_0x3dcf60:0x296,_0xdb09f4:0x24f,_0x75f5eb:0x445,_0x28b8fc:0x52a},_0xbdedfa={_0x49b688:0x1f1,_0x5c0f52:0x22d,_0x181f37:0x2e8,_0x100016:0x2a8,_0x597a15:0x1e2,_0x4b36e4:0x2a7,_0x1e42b0:0x1af,_0x1f1177:0x315,_0x3fbcdf:0x220,_0x58c14c:0x18c},_0x1d1d1a={_0x38167f:0xce},_0x3c1183={_0x4e42ec:0x7f},_0x5429c7={_0x57f733:0xf7,_0x266d9e:0x3};function _0x293459(_0x370cc3,_0x6d517,_0x18598b,_0x361468){return _0x4aa629(_0x370cc3-_0x5429c7._0x57f733,_0x18598b,_0x18598b-_0x5429c7._0x266d9e,_0x370cc3-0x4bf);}const _0x5dd673=Array[_0x1521e4(0x289,0x30a,0x21e,0x10b)](_0x50469e[_0x1521e4(_0xf0c6b5._0x34b6f2,_0xf0c6b5._0x118038,_0xf0c6b5._0x521e3f,_0xf0c6b5._0x4d9245)])?_0x50469e[_0x1521e4(_0xf0c6b5._0x21afd0,_0xf0c6b5._0x149e53,_0xf0c6b5._0x521e3f,0x2fc)]:[];function _0x1521e4(_0x119d94,_0x26b30f,_0x3f857a,_0x272d7c){return _0x4aa629(_0x119d94-_0x3c1183._0x4e42ec,_0x272d7c,_0x3f857a-0x8b,_0x3f857a-0x19d);}const _0x43fa9b=_0x5dd673[_0x293459(_0xf0c6b5._0x634540,0x345,_0xf0c6b5._0x3dcf60,0x42b)](_0x5348ad=>{const _0x5b0eef={_0x271530:0x18b};if(!isObject(_0x5348ad))return'';function _0x1906e9(_0xb630d2,_0x2793bb,_0x2336f2,_0x475c13){return _0x1521e4(_0xb630d2-_0x5b0eef._0x271530,_0x2793bb-0x1ee,_0x2336f2-0xbc,_0xb630d2);}function _0x8078c9(_0x468441,_0x21b2ec,_0x25ef95,_0x504771){return _0x293459(_0x25ef95-_0x1d1d1a._0x38167f,_0x21b2ec-0x7a,_0x468441,_0x504771-0xdb);}if(_0x5348ad['type']===_0x1906e9(0x255,0x228,_0xbdedfa._0x49b688,_0xbdedfa._0x5c0f52)&&typeof _0x5348ad[_0x1906e9(_0xbdedfa._0x181f37,0x32d,_0xbdedfa._0x49b688,0x240)]===_0x1906e9(_0xbdedfa._0x100016,_0xbdedfa._0x597a15,_0xbdedfa._0x4b36e4,_0xbdedfa._0x1e42b0))return _0x5348ad['text'];return JSON[_0x1906e9(_0xbdedfa._0x1f1177,0x1eb,_0xbdedfa._0x3fbcdf,_0xbdedfa._0x58c14c)](_0x5348ad);})['filter'](_0x556df3=>_0x556df3[_0x293459(0x445,0x3e5,0x55b,0x419)]>0x0)[_0x1521e4(0x220,_0xf0c6b5._0xdb09f4,0x129,0x1bb)]('\x0a');if(_0x43fa9b[_0x293459(_0xf0c6b5._0x75f5eb,_0xf0c6b5._0x28b8fc,0x4ad,0x39e)]>0x0)return _0x43fa9b;return JSON['stringify'](_0x50469e,null,0x2);}function createMcpTool(_0xc3d72a){const _0x5ae8e5={_0x437604:0x59c,_0x48649d:0x452,_0x57dce6:0x480,_0x4877fc:0x42c,_0xef8fdb:0x699,_0x304f9a:0x63d,_0x4ba1b7:0x5db,_0x449340:0x37e,_0xea9eaf:0x3ce,_0x268f9b:0x3bc,_0x256a9a:0x43a,_0x399c38:0x45e,_0x40eeca:0x47d,_0x23bfac:0x475,_0x31b8a9:0x369,_0x450544:0x475,_0x3f00e7:0x28c,_0x24c45f:0x594,_0x4ec520:0x5d0,_0x53ddf8:0x5d5,_0x41b127:0x564,_0x459979:0x572},_0x2553b3={_0x2880ef:0x1e8,_0xca751c:0x3c5,_0x53a6e0:0x287,_0x1505f7:0x2f9,_0x3f8aa5:0x38e,_0x13c554:0x3ea,_0x2b6b1a:0x340,_0x3a47f5:0x426,_0x4b77f3:0x4c7,_0x32deff:0x500,_0x54b012:0x551,_0x245a3f:0x5fa,_0xf29a22:0x476,_0x4d9f52:0x41b,_0x1c0e2d:0x3cb,_0x46df55:0x336},_0x3efda6={_0x29e497:0x106,_0x3a91a2:0x104},_0x1242b9=createMcpToolName(_0xc3d72a['serverName'],_0xc3d72a[_0x33a31d(0x5c4,0x572,0x504,_0x5ae8e5._0x437604)][_0x25434d(_0x5ae8e5._0x48649d,_0x5ae8e5._0x57dce6,_0x5ae8e5._0x4877fc,0x40f)]);function _0x33a31d(_0x11afa3,_0x505dcc,_0x41be11,_0x5ac138){return _0x4aa629(_0x11afa3-0x1e9,_0x5ac138,_0x41be11-0xb1,_0x505dcc-0x5b7);}function _0x25434d(_0x58d606,_0x70d685,_0x140f16,_0x5667af){return _0x2f0acf(_0x58d606-_0x3efda6._0x29e497,_0x70d685-_0x3efda6._0x3a91a2,_0x5667af,_0x5667af-0x11);}return defineTool({'name':_0x1242b9,'description':_0xc3d72a[_0x33a31d(_0x5ae8e5._0xef8fdb,0x572,_0x5ae8e5._0x304f9a,_0x5ae8e5._0x4ba1b7)][_0x25434d(0x319,_0x5ae8e5._0x449340,0x23b,_0x5ae8e5._0xea9eaf)]??_0x25434d(_0x5ae8e5._0x268f9b,_0x5ae8e5._0x256a9a,_0x5ae8e5._0x399c38,_0x5ae8e5._0x40eeca)+_0xc3d72a[_0x33a31d(0x666,0x572,0x5bd,_0x5ae8e5._0x23bfac)]['name']+_0x25434d(_0x5ae8e5._0x31b8a9,_0x5ae8e5._0x450544,0x412,_0x5ae8e5._0x3f00e7)+_0xc3d72a[_0x33a31d(_0x5ae8e5._0x24c45f,_0x5ae8e5._0x4ec520,0x509,_0x5ae8e5._0x53ddf8)],'inputSchema':toNuvinToolSchema(_0xc3d72a[_0x33a31d(_0x5ae8e5._0x41b127,_0x5ae8e5._0x459979,0x4d7,0x5a6)]['inputSchema']),async *'execute'(_0x522eac){const _0x4d31cc={_0x116a11:0xc9,_0x3995f6:0x84};function _0x30030e(_0x413ef4,_0x366bfc,_0x13a49c,_0x3e47e5){return _0x25434d(_0x13a49c- -0x11c,_0x366bfc-0x1a4,_0x13a49c-0xcd,_0x366bfc);}function _0x4e4754(_0xf6bbf1,_0x4ccee3,_0x5e7cd9,_0x4d42b6){return _0x25434d(_0xf6bbf1-_0x4d31cc._0x116a11,_0x4ccee3-_0x4d31cc._0x3995f6,_0x5e7cd9-0x16b,_0x4d42b6);}const _0x2d8492=await _0xc3d72a[_0x30030e(_0x2553b3._0x2880ef,_0x2553b3._0xca751c,_0x2553b3._0x53a6e0,0x240)]['callTool']({'name':_0xc3d72a['tool'][_0x30030e(_0x2553b3._0x1505f7,_0x2553b3._0x3f8aa5,0x336,_0x2553b3._0x13c554)],'arguments':isJsonObject(_0x522eac)?_0x522eac:{}});if(_0x2d8492['isError'])throw new ToolExecutionError(formatMcpContent(_0x2d8492),{'serverName':_0xc3d72a[_0x30030e(0x40e,0x218,_0x2553b3._0x2b6b1a,_0x2553b3._0x3a47f5)],'toolName':_0xc3d72a[_0x4e4754(_0x2553b3._0x4b77f3,_0x2553b3._0x32deff,_0x2553b3._0x54b012,_0x2553b3._0x245a3f)][_0x4e4754(0x51b,_0x2553b3._0xf29a22,_0x2553b3._0x4d9f52,0x624)]});return yield createToolOutput(formatMcpContent(_0x2d8492),{'serverName':_0xc3d72a['serverName'],'toolName':_0xc3d72a['tool'][_0x30030e(_0x2553b3._0x1c0e2d,0x413,_0x2553b3._0x46df55,0x447)],'result':_0x2d8492}),void 0x0;}});}function resolvePrefix(_0x2c3503,_0x42eab6){const _0x45a6c0={_0x145847:0x545,_0x440423:0x516,_0x7ae575:0x4a1},_0x192fb0={_0xdb5e72:0x2cd};function _0x83c17c(_0x3c7db9,_0x19db0e,_0x5bd89b,_0x1e24dd){return _0x2f0acf(_0x19db0e-_0x192fb0._0xdb5e72,_0x19db0e-0x166,_0x3c7db9,_0x1e24dd-0x10e);}return _0x42eab6[_0x83c17c(_0x45a6c0._0x145847,_0x45a6c0._0x440423,_0x45a6c0._0x7ae575,0x490)]??_0x2c3503;}function buildMcpHttpHeaders(_0x2dd2dd){const _0xf8d501={_0x3a8b68:0x685,_0x2fdf94:0x5f9,_0x17680a:0x4c8,_0x5a64f1:0x4db,_0x18d0ee:0x22c,_0x1ed4ed:0x17e,_0x6fcb2:0x31a,_0x5cf5ef:0x799,_0x3fbc72:0x71f,_0x32ef9d:0x6e3,_0x533b73:0x1d3,_0xd87313:0x118,_0x2b143b:0x285,_0x27303e:0x21f,_0x1f3bd5:0x171,_0x578f01:0x47f,_0x2a816a:0x535},_0x355b43={_0x355ec9:0x6c},_0x20419e={_0x280767:0x118};function _0x48a0f0(_0x40ab70,_0x40afd3,_0x1d5753,_0x2208c2){return _0x4aa629(_0x40ab70-0x147,_0x40ab70,_0x1d5753-0x111,_0x40afd3-_0x20419e._0x280767);}function _0x452554(_0x4a9646,_0x56817e,_0x33ea3d,_0x31eb71){return _0x2f0acf(_0x31eb71-0x289,_0x56817e-_0x355b43._0x355ec9,_0x33ea3d,_0x31eb71-0x1eb);}const _0x28c8a5={..._0x2dd2dd[_0x452554(0x6ac,0x56e,0x70d,_0xf8d501._0x3a8b68)]??{}};return _0x2dd2dd[_0x452554(_0xf8d501._0x2fdf94,_0xf8d501._0x17680a,0x420,_0xf8d501._0x5a64f1)]?.[_0x48a0f0(0x1b7,_0xf8d501._0x18d0ee,_0xf8d501._0x1ed4ed,_0xf8d501._0x6fcb2)]===_0x452554(0x828,_0xf8d501._0x5cf5ef,_0xf8d501._0x3fbc72,_0xf8d501._0x32ef9d)&&_0x2dd2dd['auth'][_0x48a0f0(_0xf8d501._0x533b73,_0xf8d501._0xd87313,0xab,0x154)]&&_0x28c8a5['Authorization']===void 0x0&&(_0x28c8a5['Authorization']=_0x452554(0x46f,0x5ec,0x39d,0x4cc)+_0x2dd2dd['auth']['token']),Object[_0x48a0f0(_0xf8d501._0x2b143b,_0xf8d501._0x27303e,0x22d,_0xf8d501._0x1f3bd5)](_0x28c8a5)[_0x452554(0x467,_0xf8d501._0x578f01,_0xf8d501._0x2a816a,0x54c)]>0x0?_0x28c8a5:void 0x0;}function getErrorMessage(_0x2de815){return _0x2de815 instanceof Error?_0x2de815['message']:String(_0x2de815);}function isUnauthorizedError(_0x461700){const _0x31ab1d={_0x2928da:0x335,_0x1ca4fb:0x19a,_0xe3459e:0x23a,_0x3b098d:0x373},_0x1f124c={_0x48b2e4:0x150,_0x1ec70f:0x3a},_0x1967ff={_0x46f295:0xcf,_0x44f9c9:0xb9};function _0x1655d2(_0x259b13,_0x479efb,_0x58baf5,_0x4a1819){return _0x4aa629(_0x259b13-_0x1967ff._0x46f295,_0x479efb,_0x58baf5-_0x1967ff._0x44f9c9,_0x259b13-0x4ae);}function _0x449a8c(_0xca5467,_0x2822f8,_0x5aac7c,_0x42a275){return _0x2f0acf(_0xca5467- -_0x1f124c._0x48b2e4,_0x2822f8-0x14f,_0x2822f8,_0x42a275-_0x1f124c._0x1ec70f);}return _0x461700 instanceof Error&&_0x461700['constructor'][_0x449a8c(0x1fc,_0x31ab1d._0x2928da,0x2f1,_0x31ab1d._0x1ca4fb)]===_0x449a8c(_0x31ab1d._0xe3459e,_0x31ab1d._0x3b098d,0x2df,0x141);}async function connectMcpServer(_0x5c0dc2,_0x3d0dde,_0x199d62){const _0x5ad1b9={_0x2e2c69:0x62,_0x55ed7f:0x71,_0x1a1162:0x38,_0x28b73c:0x3cd,_0x164a9b:0x541,_0x422ccf:0x22d,_0xad38de:0x1ab,_0x39b53f:0x378,_0x4cbe44:0x584,_0x372ad8:0x2b3,_0x25c59f:0x35d,_0x367369:0x400,_0x231801:0x2b3,_0x2addb4:0x3da,_0x11eb23:0x4d0,_0x138641:0x280,_0x430772:0x1b0,_0x2e5689:0x1e9,_0x5c4494:0x16a,_0x4c9fa9:0x23e,_0x402a9d:0x2a3,_0x46a999:0x4da,_0x5e4548:0x61c,_0x2cd819:0x516,_0x4605f9:0x518,_0x52393a:0x42d,_0x38ecd3:0xfd,_0x1f459e:0x9e,_0x43cead:0xfd,_0x5a99aa:0x5e,_0x15ad69:0xca,_0x1f56a6:0x526,_0x2eb743:0xe5,_0x5376b3:0x81,_0x3dbfb3:0x76,_0x5f49d1:0x216,_0xdfb61f:0x175,_0x4e769e:0x267,_0x1a2378:0x2b8,_0x59cb68:0x1a5,_0x15885c:0x254,_0x39ce03:0x196,_0x3a83f7:0xc6,_0x2d2a62:0x637,_0x112e78:0x62c,_0x590a53:0x503,_0x281245:0x1ff,_0x396e21:0x361,_0x455c64:0x56b,_0x10dba4:0x5fe},_0xe699fe={_0x51f330:0x3e3,_0xf75078:0x47f,_0xb9ccd:0x3b5,_0x18078d:0xb8,_0x50f8f8:0x6},_0x46121d={_0x5d90ce:0x502,_0x5d19f5:0xf8},_0x2f79b9={_0x534f59:0x5de,_0x3c92a3:0x722},_0x5e594a={_0x35443a:0x81,_0x59e057:0x1d9},_0x3b3493={_0x390d37:0x1c5,_0x42bb5a:0x16c},_0x2adbae={_0x10e493:0x18a};function _0xb9250e(_0x77904f,_0xb889b6,_0x1b1327,_0x587d2b){return _0x4aa629(_0x77904f-_0x2adbae._0x10e493,_0xb889b6,_0x1b1327-0x134,_0x1b1327-0x4ca);}const _0xa4f944=new Client({'name':_0xcdfc0b(_0x5ad1b9._0x2e2c69,-_0x5ad1b9._0x55ed7f,_0x5ad1b9._0x1a1162,0xe4),'version':_0xb9250e(0x449,_0x5ad1b9._0x28b73c,0x4ab,_0x5ad1b9._0x164a9b)});if(_0x3d0dde[_0xcdfc0b(_0x5ad1b9._0x422ccf,0x1a2,0x24e,_0x5ad1b9._0xad38de)]===_0xb9250e(0x267,0x401,_0x5ad1b9._0x39b53f,0x413)||_0x3d0dde[_0xb9250e(0x39a,_0x5ad1b9._0x4cbe44,0x43d,0x4a2)]){if(!_0x3d0dde['url'])throw new Error(_0xb9250e(_0x5ad1b9._0x372ad8,0x250,_0x5ad1b9._0x25c59f,_0x5ad1b9._0x367369)+_0x5c0dc2+_0xb9250e(0x490,_0x5ad1b9._0x231801,_0x5ad1b9._0x2addb4,_0x5ad1b9._0x11eb23));if(_0x3d0dde['auth']?.[_0xcdfc0b(0x1fb,0x298,_0x5ad1b9._0x138641,0x36b)]===_0xcdfc0b(0x236,0x16c,0xfd,0x5f)&&!_0x199d62?.[_0xcdfc0b(_0x5ad1b9._0x430772,_0x5ad1b9._0x2e5689,0xfd,_0x5ad1b9._0x5c4494)])throw new Error(_0xb9250e(_0x5ad1b9._0x4c9fa9,_0x5ad1b9._0x402a9d,0x35d,0x3b2)+_0x5c0dc2+_0xcdfc0b(0x163,0x11d,0x49,-0x2));const _0x4f9a95=buildMcpHttpHeaders(_0x3d0dde),_0x3c3fd2=_0x3d0dde[_0xb9250e(0x383,_0x5ad1b9._0x46a999,0x3df,0x344)]?.[_0xb9250e(_0x5ad1b9._0x5e4548,_0x5ad1b9._0x2cd819,0x5de,0x666)]===_0xb9250e(0x48d,_0x5ad1b9._0x4605f9,0x45b,_0x5ad1b9._0x52393a)&&_0x199d62?.[_0xcdfc0b(0xe4,0x228,_0x5ad1b9._0x38ecd3,_0x5ad1b9._0x1f459e)]?createMcpOAuthProvider({'serverName':_0x5c0dc2,'callbackUrl':_0x199d62[_0xcdfc0b(0xc0,0x111,_0x5ad1b9._0x43cead,0x33)]['callbackUrl'],'storageDir':_0x199d62[_0xcdfc0b(_0x5ad1b9._0x5a99aa,0x189,0xfd,_0x5ad1b9._0x15ad69)][_0xb9250e(0x530,_0x5ad1b9._0x1f56a6,0x4c0,0x5d4)],'config':_0x3d0dde[_0xcdfc0b(0xd2,_0x5ad1b9._0x2eb743,_0x5ad1b9._0x5376b3,-_0x5ad1b9._0x3dbfb3)],'onRedirect':_0x49449e=>_0x199d62[_0xb9250e(0x38a,0x326,0x45b,0x378)]?.[_0xcdfc0b(0x18a,0x18d,0x21a,0xf3)](_0x5c0dc2,_0x49449e)}):void 0x0,_0x28a0f5=new StreamableHTTPClientTransport(new URL(_0x3d0dde['url']),{'authProvider':_0x3c3fd2,'requestInit':_0x4f9a95?{'headers':_0x4f9a95}:void 0x0});await _0xa4f944[_0xcdfc0b(0x11d,_0x5ad1b9._0x5f49d1,_0x5ad1b9._0xdfb61f,_0x5ad1b9._0x4e769e)](_0x28a0f5);}else{if(!_0x3d0dde[_0xcdfc0b(_0x5ad1b9._0x1a2378,0x226,_0x5ad1b9._0x59cb68,_0x5ad1b9._0x15885c)])throw new Error('MCP\x20server\x20'+_0x5c0dc2+_0xcdfc0b(0x12f,0x1a8,_0x5ad1b9._0x39ce03,_0x5ad1b9._0x3a83f7));const _0x5ebfd3=new StdioClientTransport({'command':_0x3d0dde[_0xb9250e(_0x5ad1b9._0x2d2a62,_0x5ad1b9._0x112e78,_0x5ad1b9._0x590a53,0x5b6)],'args':_0x3d0dde[_0xcdfc0b(_0x5ad1b9._0x281245,_0x5ad1b9._0x396e21,0x225,0x15b)]??[],'env':_0x3d0dde['env']});await _0xa4f944[_0xb9250e(0x587,_0x5ad1b9._0x455c64,0x4d3,_0x5ad1b9._0x10dba4)](_0x5ebfd3);}function _0xcdfc0b(_0x1cd52e,_0x9c807d,_0x15bc42,_0x2c4037){return _0x4aa629(_0x1cd52e-0x1ec,_0x1cd52e,_0x15bc42-_0x3b3493._0x390d37,_0x15bc42-_0x3b3493._0x42bb5a);}return{async 'listTools'(){function _0x360d0f(_0x2231d4,_0x41cd7a,_0x5b39b7,_0x1acc11){return _0xb9250e(_0x2231d4-_0x5e594a._0x35443a,_0x41cd7a,_0x1acc11-0x166,_0x1acc11-_0x5e594a._0x59e057);}return await _0xa4f944[_0x360d0f(0x59c,_0x2f79b9._0x534f59,_0x2f79b9._0x3c92a3,0x6a3)]();},async 'callTool'(_0x582453){const _0x41be47={_0x1e307f:0x6a,_0x1558db:0x19e};function _0xf74116(_0x6420ff,_0x42d663,_0x27eb7e,_0x707510){return _0xb9250e(_0x6420ff-_0x41be47._0x1e307f,_0x707510,_0x27eb7e- -0x142,_0x707510-_0x41be47._0x1558db);}function _0x27f541(_0x1b4f2f,_0x13b72f,_0x25bead,_0x82c7da){return _0xb9250e(_0x1b4f2f-0x13d,_0x1b4f2f,_0x13b72f- -_0x46121d._0x5d90ce,_0x82c7da-_0x46121d._0x5d19f5);}return await _0xa4f944[_0xf74116(_0xe699fe._0x51f330,0x581,_0xe699fe._0xf75078,_0xe699fe._0xb9ccd)]({'method':_0x27f541(-0x41,-_0xe699fe._0x18078d,-0x4e,_0xe699fe._0x50f8f8),'params':_0x582453},CallToolResultSchema);},async 'close'(){const _0x232fad={_0x92c452:0x1e3,_0x149a63:0x257,_0x4d1d1d:0xaa};function _0x47fa44(_0x2c7f4b,_0x4568b0,_0x1a9042,_0x46d87a){return _0xcdfc0b(_0x46d87a,_0x4568b0-_0x232fad._0x92c452,_0x4568b0-_0x232fad._0x149a63,_0x46d87a-_0x232fad._0x4d1d1d);}await _0xa4f944[_0x47fa44(0x39a,0x383,0x2e1,0x3f8)]();}};}async function createMcpToolsFromServers(_0x47b7bb){const _0x3caf0c={_0x236e2d:0x135,_0x27fc7b:0x31,_0x4fed95:0x9,_0x4bfe01:0x11,_0x5ab0be:0x1a,_0x386398:0x54,_0x51ec51:0x91,_0x5b588c:0x2d9,_0x2d5f61:0x203,_0x320ecd:0x1a5,_0x448978:0xc1,_0x58c040:0xfe,_0x223a4d:0x186,_0x363fd2:0x1f,_0x574723:0x7f,_0x5e65de:0xe9,_0x5902dd:0x8a,_0x4c65f7:0x20,_0x137aea:0xb,_0x2b0144:0x21,_0xb676df:0x18,_0x4cb088:0x1f8,_0x43b8e:0x1b},_0x52c81b={_0xe4d72b:0x50e,_0x2e3b49:0x474,_0x391ec6:0x3cf},_0x15ca97={_0x3aef25:0x50d},_0x3b4eb6={_0x15436d:0x88,_0x3af66d:0xd2,_0x2e9847:0xaa},_0x26b185={_0x562312:0x121},_0x1b0fd2=_0x47b7bb[_0x3db7c2(-0x26,-0x35,-0xf8,0xc)]??connectMcpServer;function _0x3db7c2(_0x54e78b,_0x374b79,_0x450317,_0x1ee76e){return _0x4aa629(_0x54e78b-0x175,_0x1ee76e,_0x450317-_0x26b185._0x562312,_0x54e78b- -0x2f);}const _0x2798d9=[],_0x18812f={},_0x2223cd=[];function _0x31ae10(_0x117a3c,_0x16fbfd,_0x4cd375,_0x33d5d2){return _0x4aa629(_0x117a3c-_0x3b4eb6._0x15436d,_0x117a3c,_0x4cd375-_0x3b4eb6._0x3af66d,_0x16fbfd- -_0x3b4eb6._0x2e9847);}for(const [_0x5a68ac,_0x46795b]of Object[_0x31ae10(-0x255,-_0x3caf0c._0x236e2d,-_0x3caf0c._0x27fc7b,-0x1b9)](_0x47b7bb['servers']??{})){if(_0x46795b[_0x31ae10(-0x4,_0x3caf0c._0x4fed95,-_0x3caf0c._0x4bfe01,_0x3caf0c._0x5ab0be)]===![]){_0x18812f[_0x5a68ac]={'status':_0x3db7c2(-_0x3caf0c._0x386398,-_0x3caf0c._0x27fc7b,_0x3caf0c._0x51ec51,-0x35)};continue;}try{const _0x1e5e14=await _0x1b0fd2(_0x5a68ac,_0x46795b,_0x47b7bb[_0x31ae10(-_0x3caf0c._0x5b588c,-_0x3caf0c._0x2d5f61,-_0x3caf0c._0x320ecd,-_0x3caf0c._0x448978)]);_0x2798d9[_0x3db7c2(-_0x3caf0c._0x58c040,-0x15,-_0x3caf0c._0x223a4d,-0x13f)](_0x1e5e14);const _0xeb6376=await _0x1e5e14[_0x31ae10(_0x3caf0c._0x363fd2,-0x37,0x58,_0x3caf0c._0x574723)]();let _0x6fbc6=0x0;for(const _0x4e6eaa of _0xeb6376[_0x3db7c2(-_0x3caf0c._0x5e65de,-_0x3caf0c._0x5902dd,-0x11d,-0x10e)]){const _0x595add=_0x47b7bb['allowedTools']?.[_0x5a68ac]?.[_0x4e6eaa[_0x3db7c2(-_0x3caf0c._0x4c65f7,-0xd2,-0x1e,0x5)]];if(_0x595add===![])continue;_0x6fbc6+=0x1,_0x2223cd['push'](createMcpTool({'serverName':resolvePrefix(_0x5a68ac,_0x46795b),'tool':_0x4e6eaa,'client':_0x1e5e14}));}_0x18812f[_0x5a68ac]={'status':_0x3db7c2(_0x3caf0c._0x137aea,-0x96,_0x3caf0c._0x2b0144,0x12d),'toolCount':_0x6fbc6};}catch(_0xc0e71){_0x18812f[_0x5a68ac]=isUnauthorizedError(_0xc0e71)?{'status':_0x3db7c2(-0xb,-_0x3caf0c._0xb676df,-0xae,-_0x3caf0c._0x5902dd),'message':getErrorMessage(_0xc0e71)}:{'status':_0x3db7c2(-0x103,-0x184,-_0x3caf0c._0x4cb088,_0x3caf0c._0x43b8e),'message':getErrorMessage(_0xc0e71)};}}return{'tools':_0x2223cd,'servers':_0x18812f,async 'close'(){function _0x1a62dc(_0x28ac9d,_0x23c7bb,_0x3b5dbf,_0x3de617){return _0x3db7c2(_0x3de617-_0x15ca97._0x3aef25,_0x23c7bb-0xb2,_0x3b5dbf-0x10a,_0x3b5dbf);}await Promise['all'](_0x2798d9[_0x1a62dc(0x48d,_0x52c81b._0xe4d72b,_0x52c81b._0x2e3b49,_0x52c81b._0x391ec6)](_0x4869bc=>_0x4869bc['close']()));}};}function getCommand(_0xf58eca){const _0x76f1c7={_0x4cef7a:0x21d,_0x2906a7:0x147,_0x3d109d:0x27a,_0x193353:0x268},_0x2d7457={_0x212cb4:0xc4},_0x472fb8={_0x517b1f:0x90,_0x368e9e:0x19f};function _0x4e874d(_0x4b3eff,_0x5ab5ac,_0x332e15,_0x25367d){return _0x2f0acf(_0x4b3eff- -0x4bd,_0x5ab5ac-_0x472fb8._0x517b1f,_0x5ab5ac,_0x25367d-_0x472fb8._0x368e9e);}function _0x46c613(_0x3276b3,_0x5d286d,_0x586981,_0x19ee45){return _0x4aa629(_0x3276b3-_0x2d7457._0x212cb4,_0x586981,_0x586981-0x6c,_0x5d286d- -0xe3);}if(_0xf58eca&&typeof _0xf58eca==='object'&&!Array[_0x4e874d(-0xff,-0x11f,-0x110,-_0x76f1c7._0x4cef7a)](_0xf58eca)&&typeof _0xf58eca[_0x4e874d(-_0x76f1c7._0x2906a7,-0x34,-0x28a,-_0x76f1c7._0x3d109d)]===_0x4e874d(-0x132,-0x8c,-0x227,-_0x76f1c7._0x193353))return _0xf58eca['command'];return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x2f0acf(0x329,0x31a,0x394,0x348),_0x2f0acf(0x1f2,0x1b0,0x1fc,0x2e0),_0x4aa629(0x4e,-0x195,-0x1e3,-0xcc),_0x2f0acf(0x33c,0x2b3,0x24a,0x27c),_0x2f0acf(0x28b,0x3ce,0x3aa,0x1f8),_0x4aa629(-0x6f,0xde,-0x28,-0x9),_0x2f0acf(0x44c,0x454,0x4da,0x590),'src/models/mock-model.ts',_0x2f0acf(0x26d,0x211,0x145,0x235),_0x4aa629(-0xae,-0x86,-0x2c,-0x12d),'src/agent/turn-engine.ts',_0x2f0acf(0x3ab,0x43c,0x43c,0x2bc),_0x2f0acf(0x31a,0x22a,0x3b3,0x373),_0x2f0acf(0x255,0x11f,0x38c,0x13d),_0x4aa629(-0x2,-0x53,0x39,0x27),_0x4aa629(-0x165,0x77,-0x1c7,-0x92)][_0x2f0acf(0x2c9,0x2a7,0x367,0x2db)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x2f0acf(0x219,0x31a,0x2f6,0x2fb),'description':_0x4aa629(-0x12e,-0x122,-0xbc,-0x113),'input_schema':{'type':_0x2f0acf(0x300,0x2cb,0x23f,0x2ca),'properties':{'command':{'type':'string'}},'required':[_0x2f0acf(0x376,0x30f,0x2b6,0x3e7)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x347acc){return{'output':_0x347acc,'structured':{'value':_0x347acc}};}function createUnknownToolResult(_0x661a18){const _0x1376de={_0x264a04:0x1d4,_0x5bff70:0x185,_0x4e2d42:0x2b4,_0x7704a2:0x2d5,_0x35ca91:0x3a5,_0x295819:0x120,_0xb6416e:0x242,_0x4bd278:0x197},_0x10a823={_0x289f2d:0x158,_0x5efeae:0x10c};function _0x3f6a79(_0x3acb41,_0x4c6631,_0xa557a0,_0xb09e1){return _0x2f0acf(_0x3acb41- -0x22c,_0x4c6631-0x71,_0x4c6631,_0xb09e1-0xe9);}function _0x20678b(_0x139428,_0x2fd748,_0x5461c4,_0x158421){return _0x2f0acf(_0x2fd748- -_0x10a823._0x289f2d,_0x2fd748-_0x10a823._0x5efeae,_0x5461c4,_0x158421-0x2e);}return{'callId':_0x661a18['id'],'toolName':_0x661a18[_0x20678b(0x21e,0x1f4,_0x1376de._0x264a04,0x120)],'status':_0x3f6a79(0x3d,0x6b,-0xa,0x168),'output':_0x20678b(_0x1376de._0x5bff70,_0x1376de._0x4e2d42,_0x1376de._0x7704a2,_0x1376de._0x35ca91)+_0x661a18[_0x3f6a79(_0x1376de._0x295819,0x219,_0x1376de._0xb6416e,_0x1376de._0x4bd278)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0xdc3b1a,_0x3193bd){const _0xca7e72={_0x4d8e4e:0x3d,_0x1e1a08:0x2a0,_0x1f08fe:0x1b7},_0x5b6b26={_0x52d875:0x46},_0x42185d={_0xf5aed9:0x29c,_0x3ee09a:0x182,_0x56096:0x167};function _0x1ac088(_0x12c1b5,_0xe6f145,_0x106ad8,_0x1bc594){return _0x2f0acf(_0xe6f145- -_0x42185d._0xf5aed9,_0xe6f145-_0x42185d._0x3ee09a,_0x106ad8,_0x1bc594-_0x42185d._0x56096);}function _0x53e4fe(_0x438576,_0x503acd,_0x35742e,_0x398352){return _0x2f0acf(_0x398352-0x174,_0x503acd-0x145,_0x503acd,_0x398352-_0x5b6b26._0x52d875);}return{'callId':_0xdc3b1a['id'],'toolName':_0xdc3b1a[_0x1ac088(0x14d,0xb0,_0xca7e72._0x4d8e4e,0x81)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0xdc3b1a[_0x1ac088(_0xca7e72._0x1e1a08,_0xca7e72._0x1f08fe,0x76,0x228)]),'exitCode':0x0},'chunks':[_0x3193bd],'meta':createMeta()};}function createMockToolRuntime(){const _0x4c10cd={_0x5ac5f0:0x11b},_0x4560cf={_0x2b6d99:0x31c},_0x3ef494={_0x43f63d:0x21f,_0x11d45a:0x2a0},_0x3868c5={_0x53ff2a:0x66},_0x4e7ad0=async(_0x4338c2,_0x3d8537)=>{function _0x459acb(_0x3a1f1a,_0x4c5b4c,_0x1ef721,_0x50dc71){return _0x561a(_0x1ef721-_0x3868c5._0x53ff2a,_0x50dc71);}if(_0x4338c2['name']!==_0x459acb(_0x3ef494._0x43f63d,_0x3ef494._0x11d45a,0x194,0x15d))return createUnknownToolResult(_0x4338c2);const _0x295d87=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x4338c2,_0x295d87);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x4868e3,_0x13ff01){function _0x373eb9(_0x191931,_0x59f2ff,_0xd5809d,_0x2ea3b1){return _0x561a(_0xd5809d- -_0x4560cf._0x2b6d99,_0x191931);}return await Promise[_0x373eb9(-_0x4c10cd._0x5ac5f0,-0x250,-0x1cb,-0x17d)](_0x4868e3['map'](async _0x4fc22f=>{return await _0x4e7ad0(_0x4fc22f,_0x13ff01);}));},async 'execute'(_0x1cf507,_0x2e2366){return await _0x4e7ad0(_0x1cf507,_0x2e2366);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){return delegatedRunCounter+=0x1,'delegated-run-'+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0xab5a0a,_0x3911a9){const _0xea5abf={_0x4544f7:0x45,_0x5a3f19:0x1b,_0xd05f99:0x49},_0x1d9b7c={_0x39d946:0x2d6};function _0x29532f(_0x3c6d98,_0x235a8e,_0x16ce74,_0x1c7f7e){return _0x2f0acf(_0x1c7f7e- -_0x1d9b7c._0x39d946,_0x235a8e-0x65,_0x3c6d98,_0x1c7f7e-0xa0);}return typeof _0xab5a0a===_0x29532f(_0xea5abf._0x4544f7,_0xea5abf._0x5a3f19,_0xea5abf._0xd05f99,0x17)?await _0xab5a0a(_0x3911a9):_0xab5a0a;}function getDelegatedAgentDefinition(_0x3fd96e,_0xe495c5){const _0x213630={_0x401ecc:0x174},_0x5899a4={_0x3fc5d9:0xe5};function _0x46fe0c(_0x192b07,_0x14c623,_0x2d0ae4,_0x192893){return _0x4aa629(_0x192b07-0x1b3,_0x2d0ae4,_0x2d0ae4-0x18a,_0x14c623- -_0x5899a4._0x3fc5d9);}return _0x3fd96e[_0x46fe0c(-_0x213630._0x401ecc,-0x21f,-0x17d,-0x251)]?.[_0xe495c5];}function createRunSummary(_0x5b32d1){const _0x3cfc78={_0x282a0d:0x1b6,_0x2b27fd:0x26f,_0x644bd3:0x2e4,_0x791b27:0x1c7,_0x413acb:0x2ae,_0x255242:0x3bf,_0x1aec63:0x1c0,_0xe5249a:0x152,_0xfa8343:0x1d3,_0x53012b:0x1eb,_0x49fd19:0xea,_0x49e8e1:0x2af,_0x35fce5:0x1bc,_0x539385:0x390,_0x34e5f3:0x363,_0x3878c4:0x410,_0xc1a386:0x225,_0x50bce7:0x17b,_0x1485df:0x1a2,_0x19eda1:0x126,_0x5bc5e1:0x1dd,_0x4c5765:0x3b4,_0x47b6bc:0x368,_0x9881f2:0x324,_0x411af1:0x2b1},_0x425c7e={_0xd8301f:0x15c,_0x26299c:0x52},_0x1cf5a8={_0x5f26b9:0xa0,_0x39897d:0xb1,_0x435cf7:0x176};function _0x36bdaf(_0x4d5c59,_0x451db2,_0x3bd0de,_0x35c047){return _0x2f0acf(_0x35c047- -_0x1cf5a8._0x5f26b9,_0x451db2-_0x1cf5a8._0x39897d,_0x3bd0de,_0x35c047-_0x1cf5a8._0x435cf7);}function _0x33c51f(_0x303b10,_0x210ca3,_0x16bcf0,_0x26573a){return _0x4aa629(_0x303b10-_0x425c7e._0xd8301f,_0x303b10,_0x16bcf0-_0x425c7e._0x26299c,_0x16bcf0-0x296);}return{'runId':_0x5b32d1['runId'],'agentId':_0x5b32d1[_0x36bdaf(_0x3cfc78._0x282a0d,_0x3cfc78._0x2b27fd,_0x3cfc78._0x644bd3,0x224)],'sessionId':_0x5b32d1[_0x33c51f(_0x3cfc78._0x791b27,0x252,_0x3cfc78._0x413acb,0x398)],'status':_0x5b32d1[_0x33c51f(0x2f2,0x1e6,0x2b2,_0x3cfc78._0x255242)],'parentSessionId':_0x5b32d1[_0x36bdaf(0xe7,_0x3cfc78._0x1aec63,_0x3cfc78._0xe5249a,_0x3cfc78._0xfa8343)],..._0x5b32d1[_0x33c51f(0x2c6,0xfa,_0x3cfc78._0x53012b,0x227)]!==void 0x0?{'originToolCallId':_0x5b32d1[_0x33c51f(_0x3cfc78._0x49fd19,_0x3cfc78._0x49e8e1,0x1eb,_0x3cfc78._0x35fce5)]}:{},..._0x5b32d1[_0x33c51f(0x3bc,0x461,_0x3cfc78._0x539385,0x3d7)]!==void 0x0?{'errorMessage':_0x5b32d1[_0x36bdaf(0x302,0x43e,_0x3cfc78._0x34e5f3,0x397)]}:{},..._0x5b32d1[_0x33c51f(0x2ee,_0x3cfc78._0x3878c4,0x31d,_0x3cfc78._0xc1a386)]?.[_0x36bdaf(_0x3cfc78._0x50bce7,_0x3cfc78._0x1485df,_0x3cfc78._0x19eda1,_0x3cfc78._0x5bc5e1)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x5b32d1[_0x36bdaf(_0x3cfc78._0x4c5765,_0x3cfc78._0x47b6bc,0x466,_0x3cfc78._0x9881f2)][_0x36bdaf(0x2ad,_0x3cfc78._0x411af1,0x2aa,_0x3cfc78._0x5bc5e1)])}:{}};}function createRunSummaryOutput(_0xeeb7d1,_0x5f40aa){const _0x56708f={_0x1046cf:0x26a,_0x3194e5:0x34a},_0x45d8d7={_0x16c958:0x147};function _0xebfd6c(_0xc97ee9,_0x163a92,_0x1fe1f7,_0x32787a){return _0x2f0acf(_0x1fe1f7- -0x1b,_0x163a92-_0x45d8d7._0x16c958,_0x32787a,_0x32787a-0xaa);}const _0x4a8cd8=createRunSummary(_0xeeb7d1),_0xddd1aa=_0x4a8cd8['finalMessageText'];return createToolOutput(typeof _0xddd1aa==='string'&&_0xddd1aa[_0xebfd6c(_0x56708f._0x1046cf,0x3d7,0x2a8,_0x56708f._0x3194e5)]>0x0?_0xddd1aa:_0x5f40aa,_0x4a8cd8);}function getRunTerminalErrorMessage(_0x427144){const _0x3d4625={_0x246a7a:0x429,_0x28e9e3:0x506,_0x4f2462:0x167,_0x267d2f:0x40,_0x40571a:0x1cf,_0x543b26:0x368,_0x5807c1:0x34e,_0x520c4b:0x226,_0x3efac0:0x3de,_0x1a9a17:0xec},_0x3d754b={_0xe84fd1:0xff,_0x494745:0x192},_0x1f3e6f=_0x427144?.[_0x56380e(0x47c,_0x3d4625._0x246a7a,_0x3d4625._0x28e9e3,0x4ef)][_0x240ff8(0x139,_0x3d4625._0x4f2462,_0x3d4625._0x267d2f,-0x9b)]['at'](-0x1);if(_0x1f3e6f?.[_0x240ff8(0x8a,0x9d,0x1c3,_0x3d4625._0x40571a)]===_0x240ff8(0x10b,_0x3d4625._0x267d2f,0xd3,0x185)&&_0x1f3e6f[_0x56380e(_0x3d4625._0x543b26,_0x3d4625._0x5807c1,0x2be,0x484)][_0x56380e(0x2d5,_0x3d4625._0x520c4b,_0x3d4625._0x3efac0,0x322)]()['length']>0x0)return _0x1f3e6f[_0x240ff8(0x11a,0x12f,_0x3d4625._0x1a9a17,0x162)];function _0x56380e(_0x197d78,_0x54a2bd,_0xe33742,_0x55d633){return _0x4aa629(_0x197d78-0x124,_0x54a2bd,_0xe33742-0x99,_0x197d78-0x423);}function _0x240ff8(_0x1cf06c,_0x506568,_0x2a4b13,_0x1180f4){return _0x2f0acf(_0x2a4b13- -0x196,_0x506568-_0x3d754b._0xe84fd1,_0x1180f4,_0x1180f4-_0x3d754b._0x494745);}return void 0x0;}function formatAbortedRunMessage(_0x26a5d6,_0x5980ed){const _0x4296ea={_0x5bcafd:0x4b1,_0x37cead:0x197,_0x1ce1ac:0x1fb,_0x5f2af4:0x2de,_0x535876:0x3df,_0x195520:0x117},_0x334d99={_0x55fc2e:0x6b,_0x68a399:0x17e,_0x2be984:0xd3},_0x13e987={_0x73a4bd:0xc,_0x5b9faa:0x9d};function _0x839577(_0x536f5f,_0x16d073,_0x394b69,_0x22a9eb){return _0x2f0acf(_0x22a9eb- -_0x13e987._0x73a4bd,_0x16d073-_0x13e987._0x5b9faa,_0x536f5f,_0x22a9eb-0x77);}const _0x49b769=_0x839577(0x3c6,_0x4296ea._0x5bcafd,0x322,0x418)+_0x26a5d6+_0xdf8759(-0x1b2,-0x1d6,-0x188,-0x1b8);function _0xdf8759(_0x50e50c,_0x5f07a1,_0x531205,_0x2ffcb0){return _0x4aa629(_0x50e50c-_0x334d99._0x55fc2e,_0x2ffcb0,_0x531205-_0x334d99._0x68a399,_0x5f07a1- -_0x334d99._0x2be984);}if(!_0x5980ed||_0x5980ed[_0xdf8759(-0xe8,-0x221,-_0x4296ea._0x37cead,-0x1d1)]()[_0x839577(_0x4296ea._0x1ce1ac,_0x4296ea._0x5f2af4,_0x4296ea._0x535876,0x2b7)]===0x0||_0x5980ed===_0x49b769)return _0x49b769;return _0x49b769+_0xdf8759(-0xa5,-0x6,-_0x4296ea._0x195520,0xf8)+_0x5980ed;}function createAssignTaskTool(_0x5b1088){const _0x3b188f={_0x44b592:0x36d,_0x16ffe1:0x2e7,_0x13a1ad:0x12c,_0x5ea1da:0x22d,_0x2deaf7:0x6a8,_0x280eaa:0x538,_0x5f38cf:0x59f,_0x171299:0x339,_0x3501f0:0x4a8,_0x549cb4:0x5f2,_0x1d9432:0x2c0,_0x1f410e:0x3d7,_0x4780a5:0x5f9,_0x2561d4:0x5f2,_0x35ac87:0x1f1},_0x59a32d={_0x3ff4d5:0x600,_0x390120:0x5b4,_0x1bb464:0xf8,_0x3684f1:0x1fa,_0x2748da:0x114,_0x399ad1:0x229,_0x3918a6:0x5e2,_0x42810b:0x593,_0x5372fa:0x16b,_0x3503be:0xed,_0x577336:0x16b,_0x22cb1b:0x4e,_0x3235c5:0x1e0,_0xdc53dd:0x5b0,_0x58099b:0x552,_0x50516c:0x4cf,_0x396998:0x5eb,_0x5e48be:0x4c1,_0x14e8f4:0x692,_0x30b9c0:0x59f,_0x451f8f:0xf8,_0x2eff36:0x1a8,_0x4ceaab:0x4f,_0x62e237:0x10b,_0x241498:0x174,_0x4eb34e:0x27,_0x564422:0x1c3,_0x3c0f96:0x52d,_0x529dfe:0x5d1,_0x1b8f02:0x554,_0x46c005:0xd6,_0x519fe8:0x1ee,_0x246799:0x13b,_0x559830:0xf9,_0x291bcc:0x197,_0x377992:0x143,_0x29563a:0x24,_0x2b3464:0x133,_0x381269:0x13e,_0x3e3b8d:0x2f8,_0x242895:0x2f,_0x5d80c2:0x1e8,_0x349c40:0xee,_0x70024:0x2b,_0x5e81bc:0x130,_0x16c807:0x152,_0x291428:0x1e9,_0x2d145b:0x19e,_0x8e1010:0x45b,_0x21ad75:0x5d7,_0x40cfed:0x57,_0x1fa160:0x92,_0x284896:0xd5,_0x51ce44:0x588,_0x415361:0x6c8,_0x13a0f8:0x66f,_0x155228:0x77e,_0x2ac33d:0x589,_0x55a020:0x6cf,_0x33800b:0x63a,_0x4ed819:0x110,_0x4e30c7:0x325},_0x288245={_0x271466:0x412,_0xf67c56:0x254,_0x3748df:0x26f},_0x540526={_0x56874b:0x44},_0x327924={_0x3fd84c:0x60,_0x471d90:0xb0},_0x29ccc9={_0x3861da:0x1cd};function _0x415a1b(_0x11d537,_0x57d102,_0x110172,_0x4f13d6){return _0x4aa629(_0x11d537-_0x29ccc9._0x3861da,_0x57d102,_0x110172-0xd1,_0x4f13d6-0x31b);}function _0xa4360f(_0x1fe72b,_0x5e5f11,_0x58ee4c,_0x403c30){return _0x4aa629(_0x1fe72b-_0x327924._0x3fd84c,_0x403c30,_0x58ee4c-_0x327924._0x471d90,_0x58ee4c-0x5a4);}return defineTool({'name':_0x415a1b(_0x3b188f._0x44b592,_0x3b188f._0x16ffe1,0x306,0x3f7),'description':_0x415a1b(0x1d5,0x16b,_0x3b188f._0x13a1ad,_0x3b188f._0x5ea1da),'inputSchema':{'type':_0xa4360f(_0x3b188f._0x2deaf7,_0x3b188f._0x280eaa,0x567,_0x3b188f._0x5f38cf),'properties':{'agentId':{'type':_0x415a1b(_0x3b188f._0x171299,_0x3b188f._0x3501f0,0x3fe,0x369)},'description':{'type':_0xa4360f(0x594,0x5a0,_0x3b188f._0x549cb4,0x4ca)},'nickname':{'type':_0x415a1b(0x437,_0x3b188f._0x1d9432,_0x3b188f._0x1f410e,0x369)},'task':{'type':_0xa4360f(_0x3b188f._0x4780a5,0x623,_0x3b188f._0x2561d4,0x4e3)}},'required':['agentId',_0x415a1b(0x2d5,0x1a2,0x275,_0x3b188f._0x35ac87),'task']},async *'execute'(_0x2a2bac,_0x380a3a){const _0x37932a={_0x1d6bdb:0x1ed,_0x4469c8:0x150},_0x4f21ba={_0x296fc2:0x1a},_0x241f3f=createDelegatedRunId(),_0x2aeb9c={'agentId':_0x2a2bac['agentId'],'parentSessionId':_0x380a3a[_0x12087e(0x735,_0x59a32d._0x3ff4d5,0x628,_0x59a32d._0x390120)],'runId':_0x241f3f,..._0x380a3a[_0x1fe51a(-_0x59a32d._0x1bb464,-_0x59a32d._0x3684f1,-_0x59a32d._0x2748da,-_0x59a32d._0x399ad1)]!==void 0x0?{'toolCallId':_0x380a3a[_0x12087e(0x5dd,_0x59a32d._0x3918a6,0x646,0x4c4)]}:{}},_0x3768ef=getDelegatedAgentDefinition(_0x5b1088,_0x2a2bac[_0x12087e(_0x59a32d._0x42810b,0x56f,0x47e,0x5ed)]);function _0x1fe51a(_0x5c3f08,_0x507dfc,_0x342293,_0x4d916b){return _0x415a1b(_0x5c3f08-_0x4f21ba._0x296fc2,_0x4d916b,_0x342293-0x96,_0x5c3f08- -0x40d);}function _0x12087e(_0x4811f5,_0x5d257a,_0x1f958,_0x10f5c3){return _0xa4360f(_0x4811f5-0x117,_0x5d257a-0x22,_0x5d257a-_0x540526._0x56874b,_0x4811f5);}if(!_0x3768ef)throw new ToolExecutionError('Unknown\x20delegated\x20agent:\x20'+_0x2a2bac[_0x1fe51a(-_0x59a32d._0x5372fa,-0x12a,-0x241,-_0x59a32d._0x3503be)],{'agentId':_0x2a2bac[_0x1fe51a(-_0x59a32d._0x577336,-_0x59a32d._0x22cb1b,-0x72,-_0x59a32d._0x3235c5)]});const _0x8eb589=new Agent(await resolveDelegatedAgentOptions(_0x3768ef,_0x2aeb9c));let _0x55af8c={'runId':_0x241f3f,'agentId':_0x2a2bac['agentId'],'sessionId':_0x8eb589[_0x12087e(_0x59a32d._0xdc53dd,0x600,0x72d,0x4c2)],'status':_0x12087e(0x4d2,_0x59a32d._0x58099b,_0x59a32d._0x50516c,_0x59a32d._0x396998),'parentSessionId':_0x380a3a[_0x12087e(0x52b,0x600,0x4fa,_0x59a32d._0x5e48be)],..._0x380a3a[_0x12087e(_0x59a32d._0x14e8f4,0x5e2,_0x59a32d._0x30b9c0,0x538)]!==void 0x0?{'originToolCallId':_0x380a3a[_0x1fe51a(-_0x59a32d._0x451f8f,-_0x59a32d._0x2eff36,-0x146,-_0x59a32d._0x4ceaab)]}:{}};const _0x1bf50e=new AbortController(),_0x267cfe=addAbortListener(_0x380a3a['signal'],()=>{function _0x24711f(_0x2dab91,_0x45b8de,_0x333424,_0x48b822){return _0x12087e(_0x2dab91,_0x48b822- -_0x37932a._0x1d6bdb,_0x333424-_0x37932a._0x4469c8,_0x48b822-0x98);}_0x1bf50e['abort'](_0x380a3a[_0x24711f(_0x288245._0x271466,_0x288245._0xf67c56,_0x288245._0x3748df,0x304)]?.['reason']);});yield createToolOutput(_0x12087e(0x4a3,0x575,0x640,0x64a)+_0x55af8c[_0x1fe51a(-_0x59a32d._0x62e237,-0x211,-0x1aa,-_0x59a32d._0x241498)]+'.',{'runId':_0x55af8c[_0x1fe51a(-_0x59a32d._0x62e237,-_0x59a32d._0x4eb34e,-_0x59a32d._0x564422,-0xc9)],'agentId':_0x55af8c[_0x12087e(_0x59a32d._0x3c0f96,0x56f,_0x59a32d._0x529dfe,0x519)],'sessionId':_0x55af8c[_0x12087e(0x6da,_0x59a32d._0x3ff4d5,0x4b8,_0x59a32d._0x1b8f02)],'status':_0x55af8c[_0x1fe51a(-_0x59a32d._0x46c005,-0x29,-_0x59a32d._0x519fe8,-_0x59a32d._0x246799)]});try{const _0x322672=await _0x8eb589[_0x1fe51a(-_0x59a32d._0x559830,-_0x59a32d._0x291bcc,-_0x59a32d._0x377992,_0x59a32d._0x29563a)](_0x2a2bac[_0x1fe51a(-0xc6,-0x1ea,-0xfc,-0xa0)],{'signal':_0x1bf50e[_0x1fe51a(-0x1e9,-_0x59a32d._0x2b3464,-_0x59a32d._0x381269,-_0x59a32d._0x3e3b8d)]});_0x55af8c={..._0x55af8c,'status':_0x322672['status'],'result':_0x322672};if(_0x322672[_0x1fe51a(-0xd6,-_0x59a32d._0x242895,-_0x59a32d._0x5d80c2,-0xa9)]!==_0x1fe51a(-0x107,-0x47,-_0x59a32d._0x349c40,-_0x59a32d._0x70024)){const _0x504f1a=getRunTerminalErrorMessage(_0x322672),_0x4b7b88=formatAbortedRunMessage(_0x55af8c['runId'],_0x504f1a);throw new ToolExecutionError(_0x4b7b88,{...createRunSummary(_0x55af8c),'aborted':!![],'errorMessage':_0x4b7b88});}return createRunSummaryOutput(_0x55af8c,'Agent\x20run\x20'+_0x55af8c['runId']+_0x1fe51a(0xd,_0x59a32d._0x5e81bc,0x1c,0xe9));}catch(_0x3060db){if(_0x3060db instanceof ToolExecutionError)throw _0x3060db;if(isAbortError(_0x3060db)||_0x1bf50e['signal'][_0x1fe51a(-_0x59a32d._0x16c807,-0x1e1,-0xe5,-0x192)]||_0x380a3a[_0x1fe51a(-_0x59a32d._0x291428,-0xd8,-0x319,-_0x59a32d._0x2d145b)][_0x12087e(0x571,0x588,_0x59a32d._0x8e1010,_0x59a32d._0x21ad75)]){const _0x34eae9=getRunTerminalErrorMessage(_0x55af8c[_0x1fe51a(-0x6b,-0x3f,_0x59a32d._0x40cfed,-_0x59a32d._0x1fa160)])??(_0x3060db instanceof Error?_0x3060db[_0x1fe51a(0xf,-0x39,_0x59a32d._0x284896,-0xfb)]:String(_0x3060db)),_0x187da3=formatAbortedRunMessage(_0x55af8c['runId'],_0x34eae9);_0x55af8c={..._0x55af8c,'status':_0x12087e(0x4f4,_0x59a32d._0x51ce44,0x515,_0x59a32d._0x415361),'errorMessage':_0x187da3};throw new ToolExecutionError(_0x187da3,{...createRunSummary(_0x55af8c),'aborted':!![],'errorMessage':_0x187da3});}const _0xda0a9b=getRunTerminalErrorMessage(_0x55af8c[_0x12087e(0x5ac,_0x59a32d._0x13a0f8,0x71d,_0x59a32d._0x155228)])??(_0x3060db instanceof Error?_0x3060db['message']:String(_0x3060db))??_0x12087e(_0x59a32d._0x2ac33d,_0x59a32d._0x55a020,0x682,_0x59a32d._0x33800b)+_0x55af8c['runId']+'\x20failed.';_0x55af8c={..._0x55af8c,'status':_0x1fe51a(-0x1f7,-_0x59a32d._0x4ed819,-0xe8,-_0x59a32d._0x4e30c7),'errorMessage':_0xda0a9b};throw new ToolExecutionError(_0xda0a9b,{...createRunSummary(_0x55af8c),'errorMessage':_0xda0a9b});}finally{_0x267cfe();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x204385){return[createAssignTaskTool(_0x204385)];}import*as _0x36ab3d from'path';function buildDescription2(_0x1060f2){const _0x40422c={_0x208aaf:0x51f,_0x375e47:0x603,_0x4d05e6:0x272,_0x37244a:0x3f4,_0x5100b8:0x345,_0x83f760:0xa3,_0x525281:0x173,_0x48a23d:0x161,_0x38bef2:0x651,_0xdac3ec:0x746,_0x759e5d:0x424,_0x41f282:0x361,_0x535023:0x280,_0x28b1cd:0x3a0,_0x4dbd80:0x134,_0x332912:0x1f0,_0x5ef7f5:0x25c},_0x9b34be={_0x5be2c6:0x2d0},_0x54c89c={_0x27670e:0x67};function _0x5b39e7(_0x2d59c0,_0x3b33d9,_0x291998,_0x52a1f8){return _0x4aa629(_0x2d59c0-_0x54c89c._0x27670e,_0x52a1f8,_0x291998-0x162,_0x2d59c0-0x599);}if(_0x1060f2[_0x5b39e7(_0x40422c._0x208aaf,0x3fc,_0x40422c._0x375e47,0x464)]===0x0)return _0x333647(_0x40422c._0x4d05e6,0x3c4,_0x40422c._0x37244a,_0x40422c._0x5100b8);const _0x322d63=[_0x333647(_0x40422c._0x83f760,_0x40422c._0x525281,_0x40422c._0x48a23d,0x160),_0x5b39e7(_0x40422c._0x38bef2,0x5a0,0x694,_0x40422c._0xdac3ec),_0x5b39e7(0x43f,0x452,0x523,_0x40422c._0x759e5d),_0x333647(_0x40422c._0x41f282,0x2a1,_0x40422c._0x535023,_0x40422c._0x28b1cd),..._0x1060f2['map'](_0x2d7f72=>'-\x20'+_0x2d7f72[_0x333647(0x333,0x405,0x3d2,0x2df)]+':\x20'+_0x2d7f72[_0x333647(0x67,0x2e3,0x135,0x1a6)])];function _0x333647(_0x2582da,_0x2b39bc,_0x343ad0,_0x489943){return _0x4aa629(_0x2582da-0x6d,_0x2582da,_0x343ad0-0x15b,_0x489943-_0x9b34be._0x5be2c6);}return _0x322d63[_0x333647(_0x40422c._0x4dbd80,0x134,_0x40422c._0x332912,_0x40422c._0x5ef7f5)]('\x0a');}function createLoadSkillTool(_0x448f1a){const _0x22fad5={_0x14d445:0x5e,_0x2dd0de:0x1ac,_0x144d63:0x93,_0x45ea2d:0x570,_0x34c6da:0x523,_0x3faeca:0x651,_0xfeb21:0x6fa},_0x26226f={_0x59fba1:0x491,_0x258439:0x45b,_0x18e46f:0x36e,_0x1956b5:0x2c1,_0x25842c:0x638,_0x168f9a:0x6b8,_0x2d2dce:0x2d0,_0x5ada54:0x3df,_0x127f8e:0x3a6,_0x2a01dc:0x360,_0x538f04:0x5b6,_0x35fea4:0x51e,_0x5697b1:0x56a,_0x768b8:0x50c,_0x1d377b:0x407,_0x45e122:0x55a,_0x45d439:0x5bb,_0x195219:0x302,_0x2520dc:0x3a6,_0x5085d7:0x4af,_0x286677:0x31b,_0x4134c3:0x55f,_0x19d4a7:0x542,_0x1c1759:0x566,_0x1b12cc:0x46c,_0xede82e:0x4fe,_0x1e28dc:0x432,_0x2c28b7:0x323,_0x307c83:0x1ec,_0x32b681:0x2c7,_0x3b897d:0x3c5,_0x20873e:0x419,_0x1b5b4b:0x3ca},_0x14c98f={_0x9419d2:0x100,_0xa7c78d:0x59d},_0x4cc460=new Map(_0x448f1a[_0x312482(-_0x22fad5._0x14d445,-_0x22fad5._0x2dd0de,-0x1b8,-_0x22fad5._0x144d63)][_0x468012(0x3e5,0x48e,0x4a9,0x587)](_0x5bfc1a=>[_0x5bfc1a[_0x468012(0x69b,0x5ac,0x6f4,0x618)],_0x5bfc1a])),_0x59249d=buildDescription2(_0x448f1a[_0x312482(-0xf1,-0x4c,-0x89,-_0x22fad5._0x144d63)]);function _0x312482(_0x5dd44b,_0x415af8,_0x2f7e6c,_0x1b6b97){return _0x4aa629(_0x5dd44b-0x12c,_0x415af8,_0x2f7e6c-0xc9,_0x1b6b97- -0xf);}function _0x468012(_0x28287f,_0x4dc289,_0x256351,_0x2666a5){return _0x4aa629(_0x28287f-_0x14c98f._0x9419d2,_0x2666a5,_0x256351-0xa5,_0x4dc289-_0x14c98f._0xa7c78d);}return defineTool({'name':'LoadSkill','description':_0x59249d,'inputSchema':{'type':_0x468012(_0x22fad5._0x45ea2d,0x560,_0x22fad5._0x34c6da,_0x22fad5._0x3faeca),'properties':{'name':{'type':_0x468012(0x5a9,0x5eb,0x4ce,_0x22fad5._0xfeb21)}},'required':[_0x468012(0x4b1,0x5ac,0x4b7,0x662)]},async *'execute'(_0x13acbb){const _0x34b12a={_0x3a385e:0xc9},_0x404a82={_0x420547:0x19b,_0x1feca6:0x6c},_0x2413d0=_0x4cc460[_0x20e46d(_0x26226f._0x59fba1,_0x26226f._0x258439,_0x26226f._0x18e46f,_0x26226f._0x1956b5)](_0x13acbb['name']);if(!_0x2413d0){const _0x109c67=Array[_0x20e46d(0x31a,0x174,0x298,0x24e)](_0x4cc460[_0xb01c36(_0x26226f._0x25842c,_0x26226f._0x168f9a,0x556,0x63d)]())['join'](',\x20');throw new ToolExecutionError('Skill\x20\x27'+_0x13acbb[_0x20e46d(_0x26226f._0x2d2dce,_0x26226f._0x5ada54,_0x26226f._0x127f8e,_0x26226f._0x2a01dc)]+_0x20e46d(_0x26226f._0x538f04,0x436,0x4b5,0x4a9)+_0x109c67,{'name':_0x13acbb[_0xb01c36(0x540,0x4c0,0x4b3,_0x26226f._0x35fea4)]});}const _0x4ef76d=await _0x448f1a[_0xb01c36(0x615,_0x26226f._0x5697b1,0x5f7,_0x26226f._0x768b8)](_0x2413d0);function _0xb01c36(_0x24a6ac,_0x392f17,_0x3e56b5,_0x41489d){return _0x468012(_0x24a6ac-_0x404a82._0x420547,_0x24a6ac- -_0x404a82._0x1feca6,_0x3e56b5-0x44,_0x3e56b5);}function _0x20e46d(_0x4b4c4d,_0x3aded1,_0x284a73,_0x57a0fd){return _0x468012(_0x4b4c4d-0x151,_0x284a73- -0x206,_0x284a73-_0x34b12a._0x3a385e,_0x3aded1);}const _0x23a643=_0x2413d0['source'][_0xb01c36(0x47b,0x52c,_0x26226f._0x1d377b,0x4e9)]??_0x36ab3d['dirname'](_0x2413d0['source'][_0xb01c36(0x4de,0x5f0,_0x26226f._0x45e122,_0x26226f._0x45d439)]),_0x340aa2=['##\x20Skill:\x20'+_0x4ef76d[_0x20e46d(0x3ae,_0x26226f._0x195219,_0x26226f._0x2520dc,0x3be)],'',_0x4ef76d[_0x20e46d(0x1f0,0x22b,0x29e,0x260)],'','---',_0x20e46d(0x409,_0x26226f._0x5085d7,0x463,_0x26226f._0x286677)+_0x2413d0[_0xb01c36(_0x26226f._0x4134c3,_0x26226f._0x19d4a7,_0x26226f._0x1c1759,0x43b)]['path'],_0xb01c36(_0x26226f._0x1b12cc,0x4a4,_0x26226f._0xede82e,_0x26226f._0x18e46f)+_0x23a643][_0x20e46d(_0x26226f._0x1e28dc,0x3a5,_0x26226f._0x2c28b7,_0x26226f._0x307c83)]('\x0a');return yield createToolOutput(_0x340aa2,{'id':_0x4ef76d['id'],'name':_0x4ef76d['name'],'path':_0x2413d0[_0x20e46d(_0x26226f._0x32b681,0x4fc,_0x26226f._0x3b897d,_0x26226f._0x20873e)][_0x20e46d(0x357,_0x26226f._0x1b5b4b,0x344,0x472)],'baseDirectory':_0x23a643}),void 0x0;}});}var TODO_STATUSES=new Set([_0x4aa629(-0x95,0xfb,-0xe5,0x2d),_0x2f0acf(0x24a,0x1ee,0x30c,0x18b),_0x2f0acf(0x328,0x218,0x3b9,0x403)]),TODO_PRIORITIES=new Set(['high',_0x2f0acf(0x214,0x290,0x191,0x125),'low']);function isTodoStatus(_0x2e92d9){const _0x5e850c={_0x162513:0x1c4,_0x154373:0x86,_0x3d8474:0x16d,_0x547abe:0x5e9,_0x2c5309:0x582,_0x27017d:0x4ad},_0x346d8f={_0x3ce1a5:0x0};function _0x21120e(_0x550384,_0x372ea8,_0x1546ed,_0x4b1307){return _0x2f0acf(_0x1546ed-0x239,_0x372ea8-0x191,_0x4b1307,_0x4b1307-0x88);}function _0x3bcacd(_0x2fe950,_0x156da6,_0x2f7a5c,_0x54cfda){return _0x2f0acf(_0x156da6- -0x411,_0x156da6-_0x346d8f._0x3ce1a5,_0x54cfda,_0x54cfda-0x95);}return typeof _0x2e92d9===_0x3bcacd(-_0x5e850c._0x162513,-_0x5e850c._0x154373,-_0x5e850c._0x3d8474,0x5e)&&TODO_STATUSES[_0x21120e(_0x5e850c._0x547abe,_0x5e850c._0x2c5309,_0x5e850c._0x27017d,0x4e8)](_0x2e92d9);}function isTodoPriority(_0x475bde){const _0x1ceac2={_0x47a469:0x231},_0x534495={_0x102e52:0x107};function _0x3f8a8b(_0x540f62,_0xf0bb09,_0x41734c,_0x196ea3){return _0x4aa629(_0x540f62-0x94,_0xf0bb09,_0x41734c-_0x534495._0x102e52,_0x540f62- -0x168);}return typeof _0x475bde==='string'&&TODO_PRIORITIES[_0x3f8a8b(-_0x1ceac2._0x47a469,-0x31d,-0x1d5,-0x24c)](_0x475bde);}var TodoStore=class{[_0x4aa629(0xd1,-0xea,0x14,-0x63)]=new Map();['getTodos'](_0x564863){const _0x885c32={_0x38871e:0x354,_0x4d71ce:0x3d9,_0x27085c:0x372,_0x33c189:0x35e,_0x368273:0x320},_0x68bca2={_0x433544:0xe0};function _0x278025(_0x52b504,_0x17b076,_0x47cba1,_0x4d05fe){return _0x4aa629(_0x52b504-_0x68bca2._0x433544,_0x4d05fe,_0x47cba1-0x93,_0x52b504-0x3b7);}function _0x38e388(_0x31f1c6,_0xdbd1e0,_0x4bb7b8,_0x92d32c){return _0x4aa629(_0x31f1c6-0x48,_0x31f1c6,_0x4bb7b8-0x159,_0x92d32c- -0x31);}return this[_0x278025(_0x885c32._0x38871e,_0x885c32._0x4d71ce,0x2bd,_0x885c32._0x27085c)][_0x278025(0x38e,_0x885c32._0x33c189,_0x885c32._0x368273,0x283)](_0x564863)??[];}[_0x4aa629(0xeb,0x1af,0xb0,0x103)](_0x425c96,_0xe980a1){const _0x243bf0={_0x5be188:0x5d},_0x4d7617={_0xbee725:0x122,_0xa6d2a6:0xb6};function _0x4cac78(_0x4d69b4,_0x1f68a7,_0x3c131d,_0x4e7994){return _0x4aa629(_0x4d69b4-0x1df,_0x1f68a7,_0x3c131d-_0x4d7617._0xbee725,_0x4d69b4- -_0x4d7617._0xa6d2a6);}this['todosBySession'][_0x4cac78(0xf,0xe9,-_0x243bf0._0x5be188,-0x1e)](_0x425c96,_0xe980a1);}[_0x2f0acf(0x294,0x265,0x2cb,0x170)](_0x14da8d){const _0x60293c={_0xd76827:0x433,_0x4d8016:0x3f4,_0x42c354:0x57e,_0x5a817b:0x568,_0x37f5ce:0x436,_0x156df8:0x497,_0x38c971:0x411,_0x5ef078:0x46f,_0x5b0702:0x45e,_0x52650b:0x71b,_0x2e48b0:0x565,_0x43d0cb:0x54d},_0x501f01={_0x543d14:0x531},_0x3d10e1=this[_0x3b4bbc(0x3a0,_0x60293c._0xd76827,0x555,0x4e4)](_0x14da8d);function _0xd6bb8f(_0xf34ac6,_0x39a82a,_0x22bc6f,_0x2c43f2){return _0x4aa629(_0xf34ac6-0x1ee,_0x2c43f2,_0x22bc6f-0xd3,_0xf34ac6-0x562);}const _0x4b46d6={'total':_0x3d10e1[_0x3b4bbc(0x44c,_0x60293c._0x4d8016,0x470,0x4b7)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x3b4bbc(_0x5ac107,_0x3425cb,_0x5d3d29,_0x3c13e2){return _0x4aa629(_0x5ac107-0x28,_0x3425cb,_0x5d3d29-0x99,_0x3c13e2-_0x501f01._0x543d14);}for(const _0x7511d4 of _0x3d10e1){if(_0x7511d4[_0xd6bb8f(_0x60293c._0x42c354,_0x60293c._0x5a817b,_0x60293c._0x37f5ce,0x491)]==='pending')_0x4b46d6[_0xd6bb8f(0x58f,0x69e,0x4d5,_0x60293c._0x156df8)]+=0x1;else{if(_0x7511d4[_0x3b4bbc(0x5ee,_0x60293c._0x38c971,0x413,0x54d)]===_0xd6bb8f(_0x60293c._0x5ef078,0x532,0x54d,_0x60293c._0x5b0702))_0x4b46d6[_0xd6bb8f(0x65b,_0x60293c._0x52650b,_0x60293c._0x2e48b0,0x605)]+=0x1;else _0x4b46d6[_0xd6bb8f(_0x60293c._0x43d0cb,0x5c0,0x5cd,0x514)]+=0x1;}}return _0x4b46d6;}};function validateTodos(_0x4f01d7){const _0x6be5a1={_0x2dc6df:0x1c7,_0x43ada7:0xf7,_0x2e1489:0x417,_0x3afd4f:0x32f,_0x31ab06:0x38e,_0x455d71:0x15c,_0x24bc0a:0x1b5,_0x3569b2:0x23e,_0x3c5835:0x30,_0x431b45:0x118,_0x32f2d9:0x146,_0x1d075a:0x2e0,_0x15dd69:0x375,_0x4d9c7f:0x1f2,_0x18a820:0x2c1,_0x91db72:0xff,_0x522885:0x367,_0xc95267:0x433,_0x456268:0x4b5,_0x2de547:0x4ad,_0x3e062b:0x4b1,_0x191b13:0x1a3,_0x5cd7be:0x124,_0x34798d:0x209,_0x3d6e62:0x252,_0x1b3761:0x49a,_0xf567c:0x3cc,_0x1507b2:0x3dc,_0x3b634c:0x4bd,_0x55108a:0x265,_0x4877b1:0x125,_0xdf8d4c:0x3f0,_0x4b3c04:0x511,_0x339ae1:0x539,_0x396786:0x2d2,_0xdc3e0d:0x3bb,_0x5a048f:0x334,_0x424160:0x17a,_0xed7d06:0x228,_0xe54d51:0x264,_0x4bbfec:0x108,_0x566048:0x3c1,_0x279220:0x3b6,_0x1092a7:0x339,_0x30758f:0x287,_0x3f5d5a:0x245,_0x33a511:0x236,_0xd1a921:0xc7,_0xfc46c6:0x3a9,_0x233f78:0x487},_0x456c49={_0x1e699c:0x7b,_0x4c1e24:0x178},_0x1cfa92={_0x4d3e87:0xd5,_0x5b3686:0x112,_0x5655be:0x132};function _0x4db6d2(_0x3c3421,_0x268fa1,_0x54aae8,_0x2c90d0){return _0x2f0acf(_0x268fa1-_0x1cfa92._0x4d3e87,_0x268fa1-_0x1cfa92._0x5b3686,_0x3c3421,_0x2c90d0-_0x1cfa92._0x5655be);}if(!Array[_0x5f5d11(-0x1d0,-_0x6be5a1._0x2dc6df,-_0x6be5a1._0x43ada7,-0x1d2)](_0x4f01d7[_0x5f5d11(-0x237,-0x1ca,-0x289,-0x24d)])||_0x4f01d7['todos'][_0x4db6d2(0x2b1,0x398,0x4d4,0x283)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':_0x4db6d2(_0x6be5a1._0x2e1489,_0x6be5a1._0x3afd4f,0x3f4,_0x6be5a1._0x31ab06)});for(let _0x1e15cf=0x0;_0x1e15cf<_0x4f01d7['todos']['length'];_0x1e15cf+=0x1){const _0xb0b91a=_0x4f01d7['todos'][_0x1e15cf];if(!_0xb0b91a||typeof _0xb0b91a!==_0x5f5d11(-_0x6be5a1._0x455d71,-0x146,-_0x6be5a1._0x24bc0a,-0x8f))throw new ToolExecutionError(_0x5f5d11(-0x19a,-0xe,-0x125,-_0x6be5a1._0x3569b2)+(_0x1e15cf+0x1)+_0x5f5d11(-0x12c,_0x6be5a1._0x3c5835,-_0x6be5a1._0x431b45,-_0x6be5a1._0x32f2d9),{'error':_0x4db6d2(_0x6be5a1._0x1d075a,_0x6be5a1._0x15dd69,0x3d2,0x3e7)});if(typeof _0xb0b91a['id']!=='string'||_0xb0b91a['id']['trim']()[_0x5f5d11(-0x25b,-0x11d,-_0x6be5a1._0x4d9c7f,-_0x6be5a1._0x18a820)]===0x0)throw new ToolExecutionError(_0x5f5d11(-0x77,-0x29,-0x125,-_0x6be5a1._0x91db72)+(_0x1e15cf+0x1)+_0x5f5d11(-0x1f6,-0x1d7,-0x292,-0x259),{'error':_0x5f5d11(-_0x6be5a1._0x522885,-0x3a0,-0x2d8,-0x2bd)});if(typeof _0xb0b91a[_0x4db6d2(_0x6be5a1._0xc95267,_0x6be5a1._0x456268,_0x6be5a1._0x2de547,_0x6be5a1._0x3e062b)]!=='string'||_0xb0b91a[_0x5f5d11(-0x215,-_0x6be5a1._0x191b13,-0xd5,-_0x6be5a1._0x5cd7be)]['trim']()[_0x5f5d11(-0x2e3,-_0x6be5a1._0x34798d,-_0x6be5a1._0x4d9c7f,-_0x6be5a1._0x3d6e62)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x1e15cf+0x1)+':\x20content\x20required',{'error':_0x4db6d2(_0x6be5a1._0x1b3761,_0x6be5a1._0xf567c,_0x6be5a1._0x1507b2,_0x6be5a1._0x3b634c)});if(!isTodoStatus(_0xb0b91a['status']))throw new ToolExecutionError(_0x5f5d11(-_0x6be5a1._0x55108a,0x13,-_0x6be5a1._0x4877b1,-0x251)+(_0x1e15cf+0x1)+_0x4db6d2(_0x6be5a1._0xdf8d4c,0x520,_0x6be5a1._0x4b3c04,_0x6be5a1._0x339ae1),{'error':_0x4db6d2(0x3f7,_0x6be5a1._0x396786,_0x6be5a1._0xdc3e0d,_0x6be5a1._0x5a048f)});if(!isTodoPriority(_0xb0b91a[_0x5f5d11(-_0x6be5a1._0x424160,-_0x6be5a1._0xed7d06,-0x2c1,-0x409)]))throw new ToolExecutionError(_0x5f5d11(-_0x6be5a1._0xe54d51,-0x207,-0x125,-_0x6be5a1._0x4bbfec)+(_0x1e15cf+0x1)+_0x4db6d2(0x423,_0x6be5a1._0x566048,_0x6be5a1._0x279220,0x37f),{'error':_0x4db6d2(0x4fd,0x4c6,0x519,0x483)});}const _0x4da01e=_0x4f01d7['todos'][_0x5f5d11(-0x1e4,-_0x6be5a1._0x1092a7,-_0x6be5a1._0x30758f,-_0x6be5a1._0x3f5d5a)](_0xe42c9b=>_0xe42c9b['id']);function _0x5f5d11(_0x4376ec,_0xb25e58,_0x1d4361,_0x5a85e9){return _0x4aa629(_0x4376ec-0x2e,_0x4376ec,_0x1d4361-_0x456c49._0x1e699c,_0x1d4361- -_0x456c49._0x4c1e24);}if(new Set(_0x4da01e)['size']!==_0x4da01e[_0x5f5d11(-0xe5,-_0x6be5a1._0x33a511,-0x1f2,-_0x6be5a1._0xd1a921)])throw new ToolExecutionError('Todo\x20items\x20must\x20have\x20unique\x20IDs',{'error':_0x4db6d2(0x599,0x4a0,_0x6be5a1._0xfc46c6,_0x6be5a1._0x233f78)});}function createStatsProgress(_0x1529d8){const _0x3ea8e4={_0xfeff50:0x84,_0x29c178:0x2c,_0x3e68cb:0x1f1,_0x4fd9e8:0x66f,_0x1a78e4:0x681,_0x3335f0:0x6d2,_0x215727:0x60a,_0x8617db:0xc0},_0x55b9ef={_0x373947:0x2e2,_0x3362f9:0x1cc},_0x3c1576={_0x2fe9b3:0x3c};function _0x3a1aea(_0x1e7281,_0x38cf8b,_0x500be6,_0xb5eb20){return _0x2f0acf(_0x38cf8b- -0x322,_0x38cf8b-0x165,_0x500be6,_0xb5eb20-_0x3c1576._0x2fe9b3);}function _0x215f81(_0x5d359e,_0x2f263a,_0x71e6e3,_0x33e36e){return _0x2f0acf(_0x33e36e-_0x55b9ef._0x373947,_0x2f263a-0x182,_0x5d359e,_0x33e36e-_0x55b9ef._0x3362f9);}return _0x1529d8[_0x3a1aea(-0x8f,-0xc0,-_0x3ea8e4._0xfeff50,-0x2)]>0x0?Math[_0x3a1aea(-0xe1,-0x143,-_0x3ea8e4._0x29c178,-_0x3ea8e4._0x3e68cb)](_0x1529d8[_0x215f81(_0x3ea8e4._0x4fd9e8,_0x3ea8e4._0x1a78e4,_0x3ea8e4._0x3335f0,_0x3ea8e4._0x215727)]/_0x1529d8[_0x3a1aea(-0x1dc,-_0x3ea8e4._0x8617db,-0x129,-0x1c2)]*0x64)+'%':'0%';}function createReminderItems(_0x2d944b){const _0x305b18={_0x3e2183:0x188,_0x43f757:0x169},_0x51b046={_0x3d4277:0x139,_0x270b9c:0x297};function _0x27618b(_0x586e11,_0x1017a6,_0x1fb328,_0x56082a){return _0x4aa629(_0x586e11-0xd1,_0x56082a,_0x1fb328-0x195,_0x1017a6-0x148);}function _0x135841(_0x16eb93,_0x4c2d45,_0x2bb2ae,_0x506035){return _0x4aa629(_0x16eb93-_0x51b046._0x3d4277,_0x506035,_0x2bb2ae-0x133,_0x4c2d45-_0x51b046._0x270b9c);}return _0x2d944b[_0x135841(0x7d,_0x305b18._0x3e2183,0x2c4,_0x305b18._0x43f757)](_0x323748=>({'content':_0x323748[_0x27618b(0x25d,0x1eb,0x17e,0x17e)],'status':_0x323748[_0x135841(0x375,0x2b3,0x3c4,0x239)],'id':_0x323748['id']}));}function createStructuredResult(_0x468636,_0x3922e3,_0x65f8f6,_0x3c5f6f){const _0x406871={_0x39a856:0x26f,_0x1b916d:0x377},_0x58d036={_0x36585f:0x1c7,_0x2a52d8:0x45e};function _0x374b0f(_0x1e700d,_0x5af01d,_0x2ec661,_0x2c0586){return _0x4aa629(_0x1e700d-0x17b,_0x1e700d,_0x2ec661-0x111,_0x2c0586-0x2ae);}function _0xd51d15(_0xc3e3c,_0x24d8f0,_0x5892a6,_0x22ec70){return _0x4aa629(_0xc3e3c-0x15,_0x22ec70,_0x5892a6-_0x58d036._0x36585f,_0xc3e3c-_0x58d036._0x2a52d8);}return{'allCompleted':_0x3c5f6f,'items':_0x3922e3['map'](_0x448248=>({'id':_0x448248['id'],'content':_0x448248[_0xd51d15(0x501,0x524,0x3ed,0x553)],'status':_0x448248[_0xd51d15(0x47a,0x537,0x48a,0x3d5)],'priority':_0x448248[_0x374b0f(0x138,0xb6,0x14d,0x165)],'createdAt':_0x448248[_0xd51d15(0x3c5,0x2d6,0x46d,0x351)]})),'progress':createStatsProgress(_0x65f8f6),'recentChanges':!![],'sessionId':_0x468636,'stats':_0x65f8f6,'todosWritten':_0x3922e3[_0x374b0f(_0x406871._0x39a856,_0x406871._0x1b916d,0x148,0x234)]};}function createOutputText(_0x2dc47e,_0x5b42e3){const _0x57f990={_0x3aaa37:0x152,_0x45b3dc:0x173,_0x3d3f37:0x38e,_0x3dc203:0x3fc,_0x5a39f4:0x335,_0x26d8b9:0x377,_0x2dcf3f:0x268},_0x1a9bba={_0x553858:0x8b,_0x403447:0x1cd},_0x788849={_0x699371:0x10c,_0x37e356:0x371},_0xff360b=JSON['stringify'](createReminderItems(_0x2dc47e));function _0x59271e(_0xf0c2f9,_0x4a5a54,_0x24f0b3,_0x458c84){return _0x4aa629(_0xf0c2f9-_0x788849._0x699371,_0x24f0b3,_0x24f0b3-0x2c,_0x4a5a54-_0x788849._0x37e356);}if(_0x5b42e3)return _0x545b61(0x2ac,0x274,_0x57f990._0x3aaa37,0x2e3)+_0x2dc47e[_0x545b61(_0x57f990._0x45b3dc,0x153,0xce,0x116)]+'\x20todo\x20items\x20have\x20been\x20completed\x20successfully!\x0a\x0a<system-reminder>\x0aAll\x20todo\x20items\x20are\x20now\x20completed!\x20Ask\x20about\x20next\x20steps.\x20Completed\x20list:\x0a'+_0xff360b+_0x59271e(0x3a4,_0x57f990._0x3d3f37,_0x57f990._0x3dc203,_0x57f990._0x5a39f4);function _0x545b61(_0x4a2cbb,_0x38e8b4,_0x5e398d,_0xd3ec3e){return _0x4aa629(_0x4a2cbb-0x1dc,_0xd3ec3e,_0x5e398d-_0x1a9bba._0x553858,_0x38e8b4-_0x1a9bba._0x403447);}return _0x59271e(0x23f,_0x57f990._0x26d8b9,0x2f5,_0x57f990._0x2dcf3f)+_0xff360b+'.\x0a</system-reminder>';}function createTodoWriteTool(_0x3727ce=new TodoStore()){const _0x15c716={_0x18909e:0xf,_0x43e2d5:0xcd,_0xf00d01:0x2e5,_0x426aac:0x284,_0x22f8d5:0x2e3,_0x18931e:0x358,_0x2354d3:0x37c,_0x4f7305:0x257,_0x7b7884:0x45d,_0x115a83:0x2de,_0x3864fc:0x3e6,_0x2b3acc:0x369,_0x54845c:0x3d3,_0x3edf47:0x38d,_0x5d103e:0x44d,_0x457cd6:0x36b,_0x224c50:0x369,_0x456a0f:0x252,_0x3d6a03:0x44f,_0x363757:0x1ba,_0x270426:0x34d,_0x396bbf:0x188,_0x4c4245:0x29b,_0x5f25b4:0x99,_0x495150:0x5d,_0x5751de:0x5b},_0x14f2bd={_0x19c563:0x1f,_0x522122:0x569,_0x5563ab:0x644,_0x27bf59:0x5c8,_0x2104e9:0x4b0,_0x5532b1:0x6f,_0x58baa2:0xdc,_0x510111:0x1e5,_0x1fd50a:0x38,_0x46320f:0x1e},_0x1d09bb={_0x209555:0x3af,_0x1da055:0x1a4},_0x19a251={_0x116c24:0x22};function _0x258a85(_0x2db533,_0x31c01d,_0x1d8016,_0x29e2f5){return _0x4aa629(_0x2db533-0x1d0,_0x2db533,_0x1d8016-0x138,_0x1d8016-0x16c);}function _0x517340(_0x4ce3da,_0xdd5ab0,_0x3f5c38,_0x1b86cb){return _0x2f0acf(_0x4ce3da- -_0x19a251._0x116c24,_0xdd5ab0-0x143,_0x1b86cb,_0x1b86cb-0x1f);}return defineTool({'name':_0x258a85(_0x15c716._0x18909e,0xfd,_0x15c716._0x43e2d5,0x4),'description':_0x517340(_0x15c716._0xf00d01,0x2ad,0x402,0x203),'inputSchema':{'type':_0x517340(0x2de,_0x15c716._0x426aac,_0x15c716._0x22f8d5,_0x15c716._0x18931e),'properties':{'todos':{'type':_0x517340(_0x15c716._0x2354d3,_0x15c716._0x4f7305,0x296,_0x15c716._0x7b7884),'items':{'type':_0x517340(_0x15c716._0x115a83,_0x15c716._0x3864fc,0x2f2,0x21f),'properties':{'content':{'type':_0x517340(_0x15c716._0x2b3acc,_0x15c716._0x54845c,_0x15c716._0x3edf47,0x47b)},'status':{'type':_0x517340(_0x15c716._0x2b3acc,0x3eb,_0x15c716._0x5d103e,_0x15c716._0x457cd6)},'priority':{'type':'string'},'id':{'type':_0x517340(_0x15c716._0x224c50,0x327,_0x15c716._0x456a0f,_0x15c716._0x3d6a03)},'createdAt':{'type':_0x258a85(0x2b9,0x2d6,_0x15c716._0x363757,0x1cf)}},'required':[_0x258a85(0x21e,0x167,0x20f,_0x15c716._0x270426),_0x258a85(0x217,0x7b,_0x15c716._0x396bbf,0x130),_0x517340(0x1d2,_0x15c716._0x4c4245,0x122,0x1b8),'id']}}},'required':[_0x258a85(-_0x15c716._0x5f25b4,-_0x15c716._0x495150,_0x15c716._0x5751de,-0xcf)]},async *'execute'(_0x35206e,_0x2427c0){const _0x1ea1de={_0x302bea:0x2a4},_0x4d7e24=_0x35206e;validateTodos(_0x4d7e24);const _0x8b0c35=_0x2427c0[_0x364767(_0x14f2bd._0x19c563,0x7a,-0x7c,0x5e)]||_0x300649(_0x14f2bd._0x522122,0x713,_0x14f2bd._0x5563ab,0x624);function _0x300649(_0x2fb3d3,_0x7312bf,_0x1601b3,_0x467e3d){return _0x517340(_0x467e3d-_0x1ea1de._0x302bea,_0x7312bf-0x140,_0x1601b3-0xc0,_0x7312bf);}const _0x14b96f=new Date()['toISOString'](),_0x201de9=_0x4d7e24[_0x364767(-0x15c,-0x2e0,-0x1a5,-0x177)][_0x300649(0x546,0x48e,_0x14f2bd._0x27bf59,_0x14f2bd._0x2104e9)](_0x433314=>({'id':_0x433314['id'],'content':_0x433314[_0x364767(0xac,-0x56,0xf,-0x103)],'status':_0x433314[_0x364767(-0xa7,0x0,-0x78,-0xb9)],'priority':_0x433314[_0x300649(0x346,0x3b7,0x431,0x476)],'sessionId':_0x8b0c35,'createdAt':_0x433314[_0x300649(0x492,0x47b,0x652,0x526)]||_0x14b96f,'updatedAt':_0x14b96f}));_0x3727ce[_0x364767(-0x6a,0x15d,_0x14f2bd._0x5532b1,-0x46)](_0x8b0c35,_0x201de9);const _0x32f2f9=_0x3727ce[_0x364767(0xb,-_0x14f2bd._0x58baa2,-0x13d,-_0x14f2bd._0x510111)](_0x8b0c35);function _0x364767(_0x24fa67,_0x4f50a3,_0x3bd07e,_0x263926){return _0x517340(_0x3bd07e- -_0x1d09bb._0x209555,_0x4f50a3-0xfe,_0x3bd07e-_0x1d09bb._0x1da055,_0x24fa67);}const _0x4b2241=_0x201de9[_0x364767(_0x14f2bd._0x1fd50a,-0x60,-0x10e,-_0x14f2bd._0x46320f)]>0x0&&_0x201de9['every'](_0xd0f682=>_0xd0f682[_0x300649(0x706,0x5b1,0x668,0x5db)]===_0x364767(0x65,-0x58,-0xa9,0xf));return createToolOutput(createOutputText(_0x201de9,_0x4b2241),createStructuredResult(_0x8b0c35,_0x201de9,_0x32f2f9,_0x4b2241));}});}import{mkdir as _0x40131b,writeFile as _0x561199}from'fs/promises';import*as _0x29c4f1 from'path';function sanitizeFileName(_0x4616dc){const _0x399387={_0x4509e3:0x48a,_0x5023c2:0x424,_0x6a7a47:0x36d,_0x3f15cf:0x468},_0x1002b9={_0x484b63:0x24d,_0x4320e4:0x14};function _0x503c0c(_0x1a103b,_0x4dbcb8,_0x5b5622,_0x3d66f2){return _0x2f0acf(_0x4dbcb8-_0x1002b9._0x484b63,_0x4dbcb8-0x1dd,_0x1a103b,_0x3d66f2-_0x1002b9._0x4320e4);}return _0x4616dc[_0x503c0c(_0x399387._0x4509e3,_0x399387._0x5023c2,_0x399387._0x6a7a47,_0x399387._0x3f15cf)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x53a837,_0x278068){const _0x40298d={_0x27b762:0x31d,_0x2888dc:0x537,_0x1baed4:0x430,_0x542467:0x5d7,_0x1ed8c6:0x513,_0x4c0e8c:0x4ee,_0xd1ec80:0x3de,_0x2bd50d:0x37b,_0x2e9f4a:0x31d,_0x449079:0x3db,_0x37ae27:0x4f9,_0x5cda43:0x4d8,_0x14e6db:0x24f,_0x5858bf:0x29,_0xc511fc:0x32,_0x4f1a47:0x8e,_0x50cc21:0xcc,_0x1361bd:0x2f,_0x5cd046:0x6e,_0x2ee57c:0xc7,_0x393be3:0x8,_0x55c334:0x62,_0x2e25f7:0xbf,_0x5718a2:0x16a,_0x9047f8:0x97,_0x53d293:0x13,_0x496dac:0x54,_0x462f22:0x19,_0x446de7:0x2c0,_0xf05baf:0xe2,_0x3ef777:0x2f9,_0x288bb2:0x487,_0x271faa:0x5dc,_0x2bd38d:0x5ab,_0x4dfa09:0x4eb,_0x309f22:0x4a7,_0x3b964f:0x60,_0x2b7b8b:0x145,_0x4ccb71:0x1bc,_0x48ebfa:0x176,_0x2879ce:0x2af,_0x362ecf:0x90,_0x3178ba:0xa7,_0x3b7f41:0x107,_0xcff547:0x96,_0x1adfc9:0x25,_0x4a52e2:0x74,_0x55b447:0x6f,_0x1d5fdc:0x382,_0x270ad9:0x4f,_0x1fbe7f:0x50},_0x396e94={_0x593eba:0x102,_0x193f79:0x496},_0x2f7e0a={_0x13505f:0x364,_0x41fe6d:0x194};function _0x4cd00b(_0xc77a5b,_0x4ffe51,_0x58a567,_0x34f269){return _0x2f0acf(_0xc77a5b- -_0x2f7e0a._0x13505f,_0x4ffe51-_0x2f7e0a._0x41fe6d,_0x4ffe51,_0x34f269-0xe5);}const {maxBytes:_0x196991,sessionDir:_0x1ee6b2}=_0x278068;if(!_0x53a837[_0x4fe2f4(0x47f,_0x40298d._0x27b762,0x459,0x3db)]||Buffer[_0x4fe2f4(_0x40298d._0x2888dc,_0x40298d._0x1baed4,_0x40298d._0x542467,_0x40298d._0x1ed8c6)](_0x53a837[_0x4fe2f4(0x454,0x37c,_0x40298d._0x4c0e8c,0x3db)],_0x4fe2f4(0x317,0x40c,0x39f,_0x40298d._0xd1ec80))<=_0x196991)return _0x53a837;const _0x414c72=Buffer['byteLength'](_0x53a837[_0x4fe2f4(0x38e,_0x40298d._0x2bd50d,_0x40298d._0x2e9f4a,_0x40298d._0x449079)],_0x4fe2f4(0x3dc,_0x40298d._0x37ae27,0x39c,0x3de));if(!_0x1ee6b2){const _0x37997f=_0x53a837[_0x4fe2f4(_0x40298d._0x5cda43,0x489,0x459,0x3db)][_0x4fe2f4(0x44f,0x4c4,_0x40298d._0x14e6db,0x396)](0x0,_0x196991);return{..._0x53a837,'output':_0x37997f+('\x0a\x0a<system-reminder>\x0aTool\x20output\x20was\x20truncated\x20at\x20'+_0x196991+_0x4cd00b(-_0x40298d._0x5858bf,_0x40298d._0xc511fc,-_0x40298d._0x4f1a47,_0x40298d._0x50cc21)+_0x414c72+_0x4cd00b(_0x40298d._0x1361bd,-0xec,-0x31,_0x40298d._0x5cd046)),'meta':{..._0x53a837[_0x4fe2f4(0x4c4,0x509,0x477,0x498)],'truncated':!![],'originalBytes':_0x414c72,'transforms':[..._0x53a837['meta'][_0x4cd00b(-0xb8,-_0x40298d._0x2ee57c,-_0x40298d._0x393be3,_0x40298d._0x55c334)],'tool-output-offload']}};}const _0x3dc0b7=_0x53a837['toolName']+'_'+sanitizeFileName(_0x53a837[_0x4cd00b(-0x69,0xc6,_0x40298d._0x2e25f7,-_0x40298d._0x5718a2)])+_0x4cd00b(_0x40298d._0x9047f8,_0x40298d._0x53d293,_0x40298d._0x496dac,-_0x40298d._0x462f22),_0x423fda=_0x29c4f1['join'](_0x1ee6b2,_0x3dc0b7);await _0x40131b(_0x1ee6b2,{'recursive':!![]}),await _0x561199(_0x423fda,_0x53a837[_0x4fe2f4(0x2c9,_0x40298d._0x446de7,0x349,_0x40298d._0x449079)],'utf8');function _0x4fe2f4(_0xc1e56a,_0x24f53d,_0x217a41,_0x557e79){return _0x4aa629(_0xc1e56a-0x178,_0xc1e56a,_0x217a41-_0x396e94._0x593eba,_0x557e79-_0x396e94._0x193f79);}let _0x1296ce=_0x53a837[_0x4cd00b(-_0x40298d._0xf05baf,-0xd1,-0xd1,-0x17e)][_0x4fe2f4(0x433,0x4d0,0x468,0x396)](0x0,_0x196991);const _0x147e62=_0x1296ce['lastIndexOf']('\x0a');_0x147e62>_0x196991*0.5&&(_0x1296ce=_0x1296ce['slice'](0x0,_0x147e62));const _0x59a533=['',_0x4fe2f4(_0x40298d._0x3ef777,0x26f,0x3ac,0x34a),_0x4fe2f4(_0x40298d._0x288bb2,0x4b9,0x4a2,0x485)+_0x196991+_0x4fe2f4(_0x40298d._0x271faa,0x410,_0x40298d._0x2bd38d,_0x40298d._0x4dfa09)+_0x414c72+_0x4fe2f4(0x6d9,_0x40298d._0x309f22,0x4ca,0x598),'Full\x20output\x20saved\x20to:\x20'+_0x423fda,_0x4cd00b(-0x18a,-_0x40298d._0x3b964f,-_0x40298d._0x2b7b8b,-_0x40298d._0x4ccb71),_0x4cd00b(-_0x40298d._0x48ebfa,-_0x40298d._0x2879ce,-0x257,-_0x40298d._0x362ecf)][_0x4cd00b(-0x9b,-_0x40298d._0x3178ba,-_0x40298d._0x3b7f41,-_0x40298d._0xcff547)]('\x0a');return{..._0x53a837,'output':_0x1296ce+_0x59a533,'meta':{..._0x53a837[_0x4cd00b(-_0x40298d._0x1adfc9,_0x40298d._0x4a52e2,_0x40298d._0x55b447,-0x10e)],'truncated':!![],'originalBytes':_0x414c72,'transforms':[..._0x53a837[_0x4fe2f4(_0x40298d._0x1d5fdc,0x423,0x564,0x498)][_0x4cd00b(-0xb8,0x59,-0xdb,_0x40298d._0x270ad9)],_0x4cd00b(_0x40298d._0x1fbe7f,-0xf5,-0x6e,0x4b)]}};}import{readFile as _0x440696,stat as _0x5335a9}from'fs/promises';import*as _0x27feaf from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x2f0acf(0x423,0x4f5,0x430,0x40a),'high',_0x4aa629(0x113,-0x51,0x8b,0x2f),_0x4aa629(0xe0,0x115,-0x2c,0xed)]),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x5ab75d,_0xc399e9){const _0x7967d9={_0x53d0d6:0x358,_0x2d893b:0x41c,_0x528f11:0x7c,_0x16bcce:0x15,_0x4e102c:0x22,_0x591cd2:0x3f,_0x46e4ad:0x14d,_0x3fc2bb:0x30b,_0x2c9356:0x3ea,_0x1cc3d0:0x469,_0x3f9dc1:0x398,_0x1115e6:0x34f,_0x5d3eef:0x27a,_0x43580b:0x26f,_0x5a02d4:0x2f4,_0x16bc14:0x384,_0x4d7d5b:0x288,_0x4c0c47:0x1db,_0x1ffac5:0x2fb,_0x51241c:0x3ce,_0xe01593:0x466,_0xd76337:0x58a,_0x58f771:0x287,_0x404b82:0x36b,_0x395144:0x367,_0x380b28:0x1db,_0xdf6800:0x295,_0x3b9dba:0x1d3,_0x1754cc:0x1de,_0x533cf1:0x246,_0x1fd1d0:0x16a,_0x366471:0x82,_0x1aacdc:0x174,_0x2f431d:0x1,_0x47e611:0xc5,_0x1b2887:0x355,_0x44b315:0x1a,_0x5b294f:0xf1,_0x34bbeb:0x90,_0x3ffcd7:0xb3,_0x1933d3:0x2c3,_0x1f9497:0x154,_0x2ed1b5:0x1e9,_0x9fa9d8:0x63,_0xf01795:0x251,_0x1476d3:0x3b6,_0x5adab5:0x373,_0x120e4f:0x3e5,_0x48724b:0x13e,_0x26c8fc:0x9,_0x510d27:0x24e,_0x56c5fe:0x10d,_0x1d9148:0x28,_0x1f38b1:0x150,_0x4b00c1:0x35,_0x2e72d5:0xc7,_0x2c5e81:0x0,_0x1fe6e8:0x77},_0x39f7cf={_0x27c950:0x7f,_0x467b1e:0x22};function _0x376bdd(_0x5ca75a,_0x7609c8,_0x1e4603,_0x4b1744){return _0x2f0acf(_0x1e4603-_0x39f7cf._0x27c950,_0x7609c8-0xe9,_0x7609c8,_0x4b1744-_0x39f7cf._0x467b1e);}if(_0x5ab75d[_0x376bdd(0x38b,_0x7967d9._0x53d0d6,0x469,_0x7967d9._0x2d893b)](0x0,0x8)[_0x24514a(-0x17,-_0x7967d9._0x528f11,-_0x7967d9._0x16bcce,-0x24)](PNG_SIGNATURE))return _0x24514a(-_0x7967d9._0x4e102c,-_0x7967d9._0x591cd2,-0x10f,-_0x7967d9._0x46e4ad);if(_0x5ab75d[0x0]===0xff&&_0x5ab75d[0x1]===0xd8&&_0x5ab75d[0x2]===0xff)return _0x376bdd(0x173,0x38a,0x2b2,_0x7967d9._0x3fc2bb);const _0x677a=_0x5ab75d[_0x376bdd(0x53e,_0x7967d9._0x2c9356,_0x7967d9._0x1cc3d0,0x492)](0x0,0x6)[_0x376bdd(0x410,_0x7967d9._0x3f9dc1,0x4d4,0x540)](_0x376bdd(0x303,_0x7967d9._0x1115e6,0x3b1,_0x7967d9._0x5d3eef));if(_0x677a===_0x376bdd(_0x7967d9._0x43580b,_0x7967d9._0x5a02d4,_0x7967d9._0x16bc14,_0x7967d9._0x4d7d5b)||_0x677a==='GIF89a')return'image/gif';function _0x24514a(_0x2bc9c1,_0x64d523,_0x566774,_0x1e1810){return _0x4aa629(_0x2bc9c1-0xc6,_0x1e1810,_0x566774-0x32,_0x2bc9c1-0x12e);}if(_0x5ab75d[_0x24514a(_0x7967d9._0x4c0c47,0x153,0x23e,_0x7967d9._0x1ffac5)](0x0,0x4)[_0x376bdd(_0x7967d9._0x51241c,_0x7967d9._0xe01593,0x4d4,_0x7967d9._0xd76337)](_0x376bdd(_0x7967d9._0x58f771,_0x7967d9._0x404b82,0x3b1,0x4d7))===_0x376bdd(_0x7967d9._0x395144,0x4fe,0x496,0x531)&&_0x5ab75d[_0x24514a(_0x7967d9._0x380b28,_0x7967d9._0xdf6800,_0x7967d9._0x3b9dba,_0x7967d9._0x1754cc)](0x8,0xc)[_0x24514a(_0x7967d9._0x533cf1,0x1ad,_0x7967d9._0x1fd1d0,0x235)]('ascii')===_0x24514a(_0x7967d9._0x366471,_0x7967d9._0x1aacdc,-_0x7967d9._0x2f431d,_0x7967d9._0x47e611))return _0x376bdd(0x367,0x2be,_0x7967d9._0x1b2887,0x20f);const _0x1f2625=_0x27feaf['extname'](_0xc399e9)[_0x24514a(-_0x7967d9._0x44b315,-0x110,-0x15d,_0x7967d9._0x5b294f)]();if(_0x1f2625===_0x24514a(-0xa,-0xa5,_0x7967d9._0x34bbeb,-_0x7967d9._0x3ffcd7))return _0x376bdd(_0x7967d9._0x1933d3,_0x7967d9._0x1f9497,0x26c,_0x7967d9._0x2ed1b5);if(_0x1f2625===_0x24514a(0x5b,0x1a,-0x2a,_0x7967d9._0x9fa9d8)||_0x1f2625===_0x376bdd(0x144,0x31f,0x287,_0x7967d9._0xf01795))return _0x376bdd(_0x7967d9._0x1476d3,_0x7967d9._0x5adab5,0x2b2,_0x7967d9._0x120e4f);if(_0x1f2625===_0x24514a(_0x7967d9._0x48724b,-_0x7967d9._0x26c8fc,_0x7967d9._0x510d27,_0x7967d9._0x56c5fe))return _0x24514a(-_0x7967d9._0x1d9148,-_0x7967d9._0x1f38b1,-_0x7967d9._0x4b00c1,_0x7967d9._0x528f11);if(_0x1f2625==='.webp')return _0x24514a(_0x7967d9._0x2e72d5,_0x7967d9._0x2c5e81,0x37,_0x7967d9._0x1fe6e8);return void 0x0;}function normalizeDetail(_0x354df5){const _0x5eec46={_0x5cdad5:0x176,_0x299c4b:0xd3,_0x450a87:0x9d,_0xddc2be:0x5a,_0x103084:0x6c,_0x44c82b:0x1c,_0x2935f7:0x54,_0xefb9a9:0xa6,_0x4f43bc:0xb0,_0x40336c:0x10f},_0x3dcf0e={_0x5c50f7:0x17c,_0x58e69f:0x44a},_0x3cb1f8={_0x5338f8:0x148,_0x21f6cb:0x2e};if(_0x354df5===void 0x0)return void 0x0;const _0x5bc4ce=_0x354df5[_0x57792a(-_0x5eec46._0x5cdad5,-_0x5eec46._0x299c4b,-_0x5eec46._0x450a87,-_0x5eec46._0xddc2be)]()[_0x57792a(_0x5eec46._0x103084,_0x5eec46._0x44c82b,-0xdd,-_0x5eec46._0x2935f7)]();function _0x57792a(_0x5d23a1,_0x15f14e,_0x313ba9,_0x390a7a){return _0x4aa629(_0x5d23a1-_0x3cb1f8._0x5338f8,_0x313ba9,_0x313ba9-_0x3cb1f8._0x21f6cb,_0x390a7a-0xf4);}if(!SUPPORTED_DETAILS[_0x57792a(-0x3e,_0x5eec46._0xefb9a9,-_0x5eec46._0x4f43bc,0x2b)](_0x5bc4ce))throw new ToolExecutionError(_0x57792a(0xff,_0x5eec46._0x40336c,0x18,0x14b)+_0x354df5,{'detail':_0x354df5});function _0x3992d4(_0x2755e4,_0x468f19,_0x3860e6,_0x4a8d66){return _0x4aa629(_0x2755e4-_0x3dcf0e._0x5c50f7,_0x468f19,_0x3860e6-0x192,_0x4a8d66-_0x3dcf0e._0x58e69f);}return _0x5bc4ce;}function createViewFileTool(_0x5366ff={}){const _0x45e29f={_0x2ba0a7:0x4d9,_0x29b645:0x56e,_0xeb1f45:0x2b5,_0x40a00f:0x2e2,_0x1929f7:0x4fb,_0x422990:0x64a,_0x550e36:0x504,_0x36b08e:0x586,_0xfbec44:0x61e,_0x57e3ac:0x4b8,_0x3ac432:0x542,_0x56bb09:0x5ed,_0xc05012:0x2dc,_0x573436:0x225},_0x3babf2={_0x17c6a5:0x4ba,_0x9da4c2:0x49e,_0x670cd3:0x3e6,_0x2c7ad1:0x40a,_0x329c34:0x5be,_0x1dc7fd:0x5b3,_0x31255b:0x5bb,_0x1ffb84:0x340,_0x38e80e:0x3d1,_0x5506c4:0x44,_0x5b7b62:0x1d2,_0x16e85b:0x570,_0x1a0949:0x5de,_0x533537:0x5cc,_0xcedc6a:0xdb,_0x4acf1e:0x30,_0x28be6d:0x10c,_0x16b69c:0x1c6,_0x3e9410:0x24c,_0x132831:0xb3,_0x2aa120:0xc4,_0x4d0a5b:0x20d,_0x239f68:0x152,_0x453754:0x52,_0x9d2e98:0x129,_0x254c7e:0x57d,_0x1d43c5:0x466,_0x476c61:0x47c,_0x15f225:0x3e6,_0x353761:0x330,_0x467968:0x171,_0x4cf877:0x61,_0x4370ed:0x9f,_0x54d2ac:0x9c,_0x2e7dae:0x207,_0x1585c8:0x184,_0x43aa2c:0x122,_0x373403:0x4b4,_0x23e622:0x45b,_0x2e7ad3:0x499,_0x4a345f:0x499,_0x2bf401:0x4c1,_0x24f605:0x515,_0x4463d4:0x18f,_0x4a42c5:0x3c,_0x20f795:0x20b,_0x3d3863:0x45a,_0x3c93b8:0x4f1,_0xb4c885:0x45c,_0xd370ac:0x1c7,_0x555a94:0x84,_0x2ee7cc:0x39f,_0xad7002:0x314,_0x4cfb0b:0x353,_0x19b0c2:0x41d,_0x1275bc:0x41e,_0x22ebab:0x45f,_0x4cc829:0x303},_0x4a88a7={_0x1d2dcb:0x535,_0x11b599:0x27,_0x249d63:0x5e},_0x2fe471={_0x229869:0xaf},_0x344a3d={_0x598c1d:0x4f5};function _0x4c8a65(_0x5314e6,_0x16d9c3,_0x2f27a9,_0x166a8c){return _0x4aa629(_0x5314e6-0x13d,_0x5314e6,_0x2f27a9-0xf3,_0x16d9c3-_0x344a3d._0x598c1d);}const _0x564522=_0x27feaf[_0x4c8a65(_0x45e29f._0x2ba0a7,0x428,_0x45e29f._0x29b645,0x55e)](_0x5366ff['defaultCwd']??process['cwd']()),_0x4e5e7b=(_0x5366ff[_0x30de80(0x38c,0x417,_0x45e29f._0xeb1f45,_0x45e29f._0x40a00f)]??[])[_0x4c8a65(0x3b8,0x3e6,_0x45e29f._0x1929f7,0x3c3)](_0x3afda2=>_0x27feaf[_0x30de80(0x1c1,0x28c,0x1aa,0x1cd)](_0x3afda2)),_0x2381ce=_0x5366ff[_0x4c8a65(_0x45e29f._0x422990,0x5e0,0x4c6,0x6d9)]??DEFAULT_MAX_BYTES,_0x54a6e7=_0x5366ff[_0x4c8a65(0x646,_0x45e29f._0x550e36,_0x45e29f._0x36b08e,_0x45e29f._0xfbec44)]??_0x30de80(0x14c,0x1bf,0xce,0x7e);function _0x30de80(_0x5db07a,_0x41e2a4,_0x296728,_0x20f566){return _0x2f0acf(_0x5db07a- -_0x2fe471._0x229869,_0x41e2a4-0x2e,_0x296728,_0x20f566-0xda);}return defineTool({'name':_0x54a6e7,'description':'View\x20an\x20image\x20file\x20from\x20the\x20workspace\x20or\x20allowed\x20directories\x20so\x20the\x20model\x20can\x20inspect\x20its\x20visual\x20content.\x20Supports\x20PNG,\x20JPEG,\x20WebP,\x20and\x20GIF\x20images.\x20Use\x20this\x20for\x20screenshots,\x20diagrams,\x20photos,\x20and\x20other\x20image\x20files;\x20use\x20FileRead\x20for\x20text\x20files.','inputSchema':{'type':_0x4c8a65(0x4b7,_0x45e29f._0x57e3ac,_0x45e29f._0x3ac432,_0x45e29f._0x56bb09),'properties':{'path':{'type':_0x30de80(_0x45e29f._0xc05012,0x3d4,_0x45e29f._0x573436,0x324)},'detail':{'type':_0x30de80(_0x45e29f._0xc05012,0x32f,0x2b6,0x27d)}},'required':[_0x4c8a65(0x46c,0x4a2,0x5ac,0x4be)]},async *'execute'(_0x1bd44a){const _0x1bd781={_0x4f6039:0x18,_0x254af7:0x1d4},_0x516090=resolveAllowedPath(_0x564522,_0x4e5e7b,_0x1bd44a[_0x56e886(0x40d,_0x3babf2._0x17c6a5,0x50c,_0x3babf2._0x9da4c2)]);await assertWorkspaceFile(_0x516090);function _0x56e886(_0x460c12,_0x5e7b85,_0x53241c,_0x47645f){return _0x4c8a65(_0x53241c,_0x5e7b85-_0x1bd781._0x4f6039,_0x53241c-_0x1bd781._0x254af7,_0x47645f-0x22);}function _0x95fa14(_0x1ad3d7,_0x344127,_0x132eeb,_0x37f482){return _0x4c8a65(_0x132eeb,_0x344127- -_0x4a88a7._0x1d2dcb,_0x132eeb-_0x4a88a7._0x11b599,_0x37f482-_0x4a88a7._0x249d63);}const _0x1e4cf1=await _0x5335a9(_0x516090);if(_0x1e4cf1[_0x56e886(0x467,_0x3babf2._0x670cd3,_0x3babf2._0x2c7ad1,0x3e8)]>_0x2381ce)throw new ToolExecutionError(_0x56e886(_0x3babf2._0x329c34,_0x3babf2._0x1dc7fd,_0x3babf2._0x31255b,0x5ad)+_0x1bd44a['path'],{'path':_0x1bd44a['path'],'maxBytes':_0x2381ce,'size':_0x1e4cf1[_0x56e886(0x36c,0x3e6,_0x3babf2._0x1ffb84,0x453)]});const _0x76269f=await _0x440696(_0x516090),_0x1e931a=detectImageMediaType(_0x76269f,_0x516090);if(!_0x1e931a)throw new ToolExecutionError(_0x56e886(_0x3babf2._0x38e80e,0x427,0x4ed,0x380)+_0x1bd44a[_0x95fa14(-0x9,-0x93,-_0x3babf2._0x5506c4,-_0x3babf2._0x5b7b62)],{'path':_0x1bd44a[_0x56e886(_0x3babf2._0x16e85b,0x4ba,_0x3babf2._0x1a0949,_0x3babf2._0x533537)],'supported':[_0x95fa14(-_0x3babf2._0xcedc6a,-_0x3babf2._0x4acf1e,_0x3babf2._0x28be6d,0x86),_0x95fa14(-0x59,-0x175,-_0x3babf2._0x16b69c,-_0x3babf2._0x3e9410),_0x56e886(0x37b,0x43a,0x55f,0x37d),'.png',_0x95fa14(-0x4b,-0x73,-_0x3babf2._0x132831,-_0x3babf2._0x2aa120)]});const _0x2fbf4f=normalizeDetail(_0x1bd44a[_0x95fa14(-_0x3babf2._0x4d0a5b,-_0x3babf2._0x239f68,-_0x3babf2._0x453754,-_0x3babf2._0x9d2e98)]),_0xfc8af0=[_0x56e886(_0x3babf2._0x254c7e,0x571,_0x3babf2._0x1d43c5,0x5a9)+_0x1bd44a[_0x56e886(0x470,0x4ba,0x548,_0x3babf2._0x476c61)],_0x95fa14(0x13c,0x57,0x193,-0xe3)+_0x1e931a,'Size:\x20'+_0x1e4cf1[_0x56e886(0x3d1,_0x3babf2._0x15f225,0x2f1,_0x3babf2._0x353761)]+_0x95fa14(_0x3babf2._0x467968,_0x3babf2._0x4cf877,-_0x3babf2._0x4370ed,-_0x3babf2._0x54d2ac)][_0x95fa14(-_0x3babf2._0x2e7dae,-0x161,-_0x3babf2._0x1585c8,-_0x3babf2._0x43aa2c)](_0x2fbf4f?[_0x56e886(0x445,_0x3babf2._0x373403,0x49f,0x501)+_0x2fbf4f]:[])[_0x56e886(_0x3babf2._0x23e622,_0x3babf2._0x2e7ad3,_0x3babf2._0x4a345f,0x39b)]('\x0a'),_0x127537=[{'type':_0x56e886(0x5e9,_0x3babf2._0x2bf401,_0x3babf2._0x24f605,0x554),'source':{'type':'base64','media_type':_0x1e931a,'data':_0x76269f[_0x95fa14(_0x3babf2._0x4463d4,0xd8,_0x3babf2._0x4a42c5,_0x3babf2._0x20f795)](_0x56e886(0x35c,_0x3babf2._0x3d3863,_0x3babf2._0x3c93b8,0x31d))}},{'type':'text','text':_0xfc8af0}];return yield createToolOutput(_0xfc8af0,{'path':_0x1bd44a[_0x56e886(0x5ad,_0x3babf2._0x17c6a5,0x59d,_0x3babf2._0xb4c885)],'resolvedPath':_0x516090,'created':_0x1e4cf1[_0x95fa14(_0x3babf2._0xd370ac,_0x3babf2._0x555a94,0xe7,0x2)][_0x56e886(0x2ef,_0x3babf2._0x2ee7cc,_0x3babf2._0xad7002,_0x3babf2._0x4cfb0b)](),'modified':_0x1e4cf1[_0x56e886(_0x3babf2._0x19b0c2,_0x3babf2._0x1275bc,0x540,0x31f)][_0x56e886(0x457,0x39f,0x4d0,_0x3babf2._0x22ebab)](),'size':_0x1e4cf1[_0x56e886(0x4b2,0x3e6,0x522,_0x3babf2._0x4cc829)],'mimeType':_0x1e931a,'encoding':_0x56e886(0x57d,_0x3babf2._0x3d3863,0x4e2,0x50a),..._0x2fbf4f?{'detail':_0x2fbf4f}:{}},_0x127537),void 0x0;}});}import _0x84dbc9 from'turndown';var USER_AGENT=_0x4aa629(-0x1ab,-0xbe,-0x43,-0xbd),DEFAULT_TIMEOUT_MS2=0xea60;function assertFetchableUrl(_0x1a2894){const _0x5ed66c={_0x1f182a:0x44,_0x1f6dd7:0x232,_0x43af45:0x131,_0x23d005:0x11c,_0xde6255:0x13e,_0x521b80:0x38,_0x519b99:0x3f,_0x4870b4:0xeb,_0x48c1a8:0xf7,_0x41da08:0x51,_0x350609:0x108,_0x17bbb7:0x15a,_0x599d56:0x65,_0x37d991:0xed,_0x95e2e7:0x1c,_0x561514:0x10b,_0x4c080e:0x146,_0x2658d0:0x52},_0x1bb727={_0x327b1e:0x1d4},_0x3cd882={_0x19fb66:0xbb};let _0x3b9e0e;function _0x2a0975(_0x336548,_0x397516,_0x240cd5,_0x18a29e){return _0x2f0acf(_0x18a29e- -0x363,_0x397516-0x70,_0x240cd5,_0x18a29e-_0x3cd882._0x19fb66);}try{_0x3b9e0e=new URL(_0x1a2894);}catch{throw new ToolExecutionError(_0x257307(-0x167,-_0x5ed66c._0x1f182a,-_0x5ed66c._0x1f6dd7,-_0x5ed66c._0x43af45),{'url':_0x1a2894});}function _0x257307(_0x14f62c,_0x3b4731,_0x51f1ef,_0x18b2bc){return _0x4aa629(_0x14f62c-_0x1bb727._0x327b1e,_0x3b4731,_0x51f1ef-0x57,_0x18b2bc-0x30);}if(_0x3b9e0e['protocol']!==_0x2a0975(_0x5ed66c._0x23d005,0x106,_0x5ed66c._0xde6255,0x7a)&&_0x3b9e0e[_0x2a0975(-0x176,-0x107,-_0x5ed66c._0x521b80,-0x33)]!==_0x257307(-_0x5ed66c._0x519b99,-_0x5ed66c._0x4870b4,-_0x5ed66c._0x48c1a8,-_0x5ed66c._0x41da08))throw new ToolExecutionError(_0x2a0975(-_0x5ed66c._0x350609,-_0x5ed66c._0x17bbb7,0xe1,-_0x5ed66c._0x599d56),{'url':_0x1a2894});if(_0x3b9e0e['username']||_0x3b9e0e[_0x257307(0x16,-0x22f,-0x7a,-_0x5ed66c._0x37d991)])throw new ToolExecutionError(_0x257307(-_0x5ed66c._0x95e2e7,-0x234,-0xb4,-_0x5ed66c._0x561514),{'url':_0x3b9e0e[_0x2a0975(0xe6,-_0x5ed66c._0x4c080e,_0x5ed66c._0x2658d0,-0x33)]+'//'+_0x3b9e0e['host']+_0x3b9e0e['pathname']});return _0x3b9e0e;}function createTimeoutSignal(_0x346f09,_0x4b084a){const _0x1361b8={_0xec2e35:0x129,_0x589b4d:0x125,_0x3932d4:0xb8,_0x2ee058:0x234,_0x6475da:0x261,_0x3ceb53:0x74,_0x34290f:0x43,_0x460087:0x130,_0x29d57a:0x6e,_0x1f6362:0x180},_0x16be75={_0x158695:0x576,_0x581165:0x6af,_0x37fe3c:0x534},_0x5b4045={_0x3b3ef5:0x4d7,_0xb4001c:0xc2},_0x2718c9={_0x2b8db2:0x15d};function _0x3157fe(_0x486eb3,_0x2b709c,_0x3ffb39,_0x1f5131){return _0x4aa629(_0x486eb3-0x17b,_0x3ffb39,_0x3ffb39-_0x2718c9._0x2b8db2,_0x486eb3-0x189);}const _0x501ba8=new AbortController(),_0x3a7c21=setTimeout(()=>_0x501ba8[_0x34afa4(0x14,0x80,0xb7,-0x76)](new Error(_0x3157fe(0x2e,0x14c,0x14a,-0x89))),_0x4b084a),_0x3db41f=()=>_0x501ba8[_0x3157fe(0x24a,0x177,0x24d,0x28a)](_0x346f09[_0x34afa4(-0x1ee,-0xbc,-0xfb,-0x75)]);_0x346f09[_0x3157fe(_0x1361b8._0xec2e35,0x39,_0x1361b8._0x589b4d,_0x1361b8._0x3932d4)]?_0x501ba8[_0x3157fe(0x24a,0x13d,_0x1361b8._0x2ee058,_0x1361b8._0x6475da)](_0x346f09[_0x3157fe(0x98,0x1b8,_0x1361b8._0x3ceb53,-_0x1361b8._0x34290f)]):_0x346f09[_0x3157fe(0xed,_0x1361b8._0x460087,_0x1361b8._0x29d57a,_0x1361b8._0x1f6362)]('abort',_0x3db41f,{'once':!![]});function _0x34afa4(_0x683699,_0x2e7f2c,_0x34d663,_0x42ae9c){return _0x2f0acf(_0x34d663- -0x347,_0x2e7f2c-0x100,_0x2e7f2c,_0x42ae9c-0x39);}return{'signal':_0x501ba8['signal'],'cleanup':()=>{const _0x548d2e={_0x173f9f:0x392};function _0x40a8ac(_0x12e76d,_0x39ff08,_0x360072,_0x43f2f4){return _0x34afa4(_0x12e76d-0xb,_0x39ff08,_0x43f2f4-_0x5b4045._0x3b3ef5,_0x43f2f4-_0x5b4045._0xb4001c);}clearTimeout(_0x3a7c21);function _0x2e5d2a(_0x2ceec3,_0x5333c8,_0x497806,_0x3468cf){return _0x34afa4(_0x2ceec3-0x17a,_0x5333c8,_0x497806-_0x548d2e._0x173f9f,_0x3468cf-0x174);}_0x346f09[_0x40a8ac(0x4ad,_0x16be75._0x158695,0x31c,0x436)](_0x40a8ac(_0x16be75._0x581165,_0x16be75._0x37fe3c,0x4aa,0x58e),_0x3db41f);}};}function createWebFetchTool(_0x31d894={}){const _0x22382c={_0x418cf3:0xd0,_0x3bb96b:0x2a,_0x17493e:0x30,_0x35d17b:0xb2,_0x482081:0x679,_0x135b98:0x664,_0x364d47:0x75,_0x130ff5:0xa2,_0x548a2d:0x3fe,_0x43d13:0x4ce,_0x4ec772:0x40e,_0x209369:0x5c5,_0x304ac6:0x18,_0x14d2bc:0x10f,_0x53ffed:0x1ca,_0x43ef64:0x99,_0x2c0e35:0x372,_0x4138b5:0x42d,_0xac953d:0x38b,_0x177b01:0x490,_0x1a8dc2:0x69b,_0x9d11d8:0x6a8,_0x4dcad4:0x76,_0x46da82:0x7b,_0x46231b:0x45d,_0x13ef2b:0x115,_0x3ce55a:0x5d,_0x5c3ea3:0x233,_0x2aa1d4:0x73,_0x264f68:0x2b,_0x18e474:0x28,_0x3e2d01:0x14,_0x493442:0x73,_0x24679d:0x291,_0x48d559:0x14e},_0x41159a={_0x3f399d:0xdf,_0x1d68aa:0x226,_0x474666:0x263,_0x55a5f1:0x2ea,_0x26808c:0x132,_0x1e86c7:0x37,_0x21acc1:0xa4,_0x1d4d0b:0x33,_0xa8be39:0x50,_0x22ab3c:0x15c,_0x3d061f:0x38,_0x4deb77:0x3f,_0x4fe81d:0x83,_0x2e07d8:0x94,_0x1de98c:0x9f,_0x3c4df1:0x166,_0x3aef4c:0x4b,_0x190d68:0x130,_0x279caf:0x81,_0x3642cc:0xd9,_0x7ef439:0x15,_0x187d72:0x6a,_0x142906:0xd9,_0x3d6835:0x152,_0x546343:0x27,_0x4b0205:0x4e,_0x238290:0xdc,_0xc6613:0x1d8,_0x479044:0x7b,_0x429a64:0x2e,_0x9f7a5d:0xa,_0x1b51b3:0x5a,_0x5ac50f:0x14,_0x3caf8a:0x8,_0x3444f3:0x4,_0x3d503b:0x68,_0x3a398c:0x16,_0x38c693:0x14,_0x3e082d:0x202,_0x42bc28:0x54,_0x23c71f:0x180,_0x14a2a0:0x1c6,_0x1a1099:0x13b,_0x29d611:0x197,_0x48cbd8:0x1ba,_0x10bb9f:0x11e,_0x44a43c:0x115},_0x44fdaf={_0x3e5201:0x7e},_0x3820a2={_0xa40804:0xf5},_0xb15c5a={_0x46fc93:0x1c0,_0x205875:0x5a},_0x36b099={_0xfd7acb:0x14a,_0x4967bb:0xc1},_0x3739e8=_0x31d894[_0x52549c(-_0x22382c._0x418cf3,-_0x22382c._0x3bb96b,_0x22382c._0x17493e,-_0x22382c._0x35d17b)]??_0x44c77c(_0x22382c._0x482081,0x5a7,_0x22382c._0x135b98,0x720),_0x5ed3e7=_0x31d894[_0x52549c(-0x56,-_0x22382c._0x364d47,-_0x22382c._0x130ff5,0x9)]??DEFAULT_TIMEOUT_MS2,_0x3fe08a=new _0x84dbc9({'headingStyle':_0x44c77c(_0x22382c._0x548a2d,_0x22382c._0x43d13,0x4f7,0x614),'codeBlockStyle':_0x44c77c(_0x22382c._0x4ec772,0x452,0x4f9,_0x22382c._0x209369),'bulletListMarker':'-'});function _0x52549c(_0x461d22,_0x6eeb80,_0x2dd3e4,_0x16d99e){return _0x4aa629(_0x461d22-0x10f,_0x2dd3e4,_0x2dd3e4-_0x36b099._0xfd7acb,_0x16d99e- -_0x36b099._0x4967bb);}_0x3fe08a['remove'](['script',_0x52549c(-_0x22382c._0x304ac6,0xb,-_0x22382c._0x14d2bc,-0x4d),_0x52549c(-0x47,-_0x22382c._0x53ffed,0x39,-_0x22382c._0x43ef64),_0x44c77c(0x3f9,_0x22382c._0x2c0e35,_0x22382c._0x4138b5,0x50d),'nav',_0x44c77c(_0x22382c._0xac953d,0x35e,_0x22382c._0x177b01,0x420),_0x44c77c(0x5bb,_0x22382c._0x1a8dc2,_0x22382c._0x9d11d8,0x78d),_0x52549c(-_0x22382c._0x4dcad4,0xad,-0x1bc,-_0x22382c._0x46da82)]);function _0x44c77c(_0x3ec3e5,_0x3cacbf,_0x50b5d3,_0x3a3ccd){return _0x4aa629(_0x3ec3e5-_0xb15c5a._0x46fc93,_0x3cacbf,_0x50b5d3-_0xb15c5a._0x205875,_0x50b5d3-0x58c);}return defineTool({'name':_0x3739e8,'description':_0x44c77c(0x539,0x3da,_0x22382c._0x46231b,0x585),'inputSchema':{'type':_0x52549c(-_0x22382c._0x13ef2b,-_0x22382c._0x3ce55a,-_0x22382c._0x5c3ea3,-0xfe),'properties':{'description':{'type':_0x52549c(0x22,0x84,0x19,-_0x22382c._0x2aa1d4)},'url':{'type':_0x52549c(_0x22382c._0x264f68,-_0x22382c._0x18e474,_0x22382c._0x3e2d01,-_0x22382c._0x493442)}},'required':[_0x52549c(-_0x22382c._0x24679d,-0x34,-0x79,-_0x22382c._0x48d559)]},async *'execute'(_0x1c9e44,_0x34e816){const _0x5539af=assertFetchableUrl(_0x1c9e44[_0x38630b(_0x41159a._0x3f399d,0x13a,0x6,0x123)])[_0xe77905(_0x41159a._0x1d68aa,_0x41159a._0x474666,_0x41159a._0x55a5f1,0x258)]();if(_0x34e816[_0x38630b(-_0x41159a._0x26808c,-_0x41159a._0x1e86c7,-0x64,-0x131)][_0x38630b(0x156,-_0x41159a._0x21acc1,_0x41159a._0x1d4d0b,_0x41159a._0xa8be39)])throw new ToolExecutionError(_0x38630b(-0x3f,-_0x41159a._0x22ab3c,-_0x41159a._0x3d061f,-0xbe),{'url':_0x5539af});const _0x10e235=createTimeoutSignal(_0x34e816[_0xe77905(-_0x41159a._0x4deb77,0x6c,_0x41159a._0x4fe81d,0x49)],_0x5ed3e7);function _0x38630b(_0x52b457,_0x371b3d,_0x19299d,_0x3fdedf){return _0x44c77c(_0x52b457-0x1ec,_0x371b3d,_0x19299d- -0x4f9,_0x3fdedf-_0x3820a2._0xa40804);}let _0x2277a9='',_0x5a582e=0x0,_0x424271;function _0xe77905(_0x109e4d,_0x41ff17,_0x4c5c09,_0x139512){return _0x44c77c(_0x109e4d-0xeb,_0x109e4d,_0x139512- -0x44c,_0x139512-_0x44fdaf._0x3e5201);}try{const _0xb3287c=await fetch(_0x5539af,{'headers':{'User-Agent':USER_AGENT},'signal':_0x10e235[_0x38630b(-_0x41159a._0x2e07d8,_0x41159a._0x1de98c,-0x64,-_0x41159a._0x3c4df1)]});if(!_0xb3287c['ok'])throw new ToolExecutionError('HTTP\x20'+_0xb3287c[_0x38630b(-_0x41159a._0x3aef4c,_0x41159a._0x190d68,0xaf,_0x41159a._0x279caf)]+'\x20'+_0xb3287c[_0xe77905(0x4d,-0x13,_0x41159a._0x3642cc,-_0x41159a._0x7ef439)],{'url':_0x5539af,'statusCode':_0xb3287c['status']});_0x2277a9=_0xb3287c['headers'][_0x38630b(0x69,-0x82,_0x41159a._0x187d72,0x81)](_0x38630b(-_0x41159a._0x142906,_0x41159a._0x3d6835,_0x41159a._0x546343,-_0x41159a._0x4b0205))??'',_0x5a582e=_0xb3287c[_0xe77905(0x206,0x1e8,0x172,0x15c)],_0x424271=await _0xb3287c[_0x38630b(0x116,0x32,0x2b,_0x41159a._0x238290)]();}catch(_0x5a497a){if(_0x5a497a instanceof ToolExecutionError)throw _0x5a497a;const _0x568a50=_0x5a497a instanceof Error?_0x5a497a['message']:String(_0x5a497a);throw new ToolExecutionError(_0x568a50,{'url':_0x5539af});}finally{_0x10e235[_0xe77905(_0x41159a._0xc6613,0x1c9,0x186,0xba)]();}const _0x3f02ac=new Date()[_0xe77905(-0x66,-_0x41159a._0x479044,0xd8,-_0x41159a._0x429a64)]();let _0x246ffc,_0x9dc9c0;if(_0x2277a9[_0x38630b(_0x41159a._0x9f7a5d,_0x41159a._0x1b51b3,_0x41159a._0x5ac50f,-0xcc)]('application/json'))_0x246ffc=_0xe77905(0x18e,-0xea,-_0x41159a._0x3caf8a,0x5f)+_0x424271+'\x0a```',_0x9dc9c0=_0x38630b(_0x41159a._0x479044,_0x41159a._0x3444f3,_0x41159a._0x3d503b,_0x41159a._0x3a398c);else _0x2277a9[_0x38630b(0x13c,0x7f,_0x41159a._0x38c693,-0xf0)](_0xe77905(0x1af,_0x41159a._0x3e082d,_0x41159a._0x42bc28,_0x41159a._0x23c71f))?(_0x246ffc=_0x3fe08a[_0xe77905(0x8c,0x13c,0xa1,_0x41159a._0x14a2a0)](_0x424271),_0x9dc9c0=_0xe77905(0x244,_0x41159a._0x1a1099,_0x41159a._0x29d611,_0x41159a._0x48cbd8)):(_0x246ffc=_0x424271,_0x9dc9c0=_0x38630b(-0x6e,0xda,0x2b,_0x41159a._0x10bb9f));return yield createToolOutput(_0x246ffc,{'url':_0x5539af,'contentType':_0x2277a9,'statusCode':_0x5a582e,'format':_0x9dc9c0,'size':_0x424271[_0xe77905(0xe3,_0x41159a._0x44a43c,0x25,0xc6)],'fetchedAt':_0x3f02ac}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x4aa629(0x140,0x2b,-0x8e,0x9b);function normalizeUrl(_0x3c54e0){const _0x26f41c={_0x57f5eb:0xa2,_0x539ecc:0xfe,_0x2b0394:0xd,_0x3fc70f:0xe5,_0x2d3e6c:0xe2,_0x42eb7d:0x1e3,_0x2d9ade:0x4eb,_0x199541:0x430,_0x575f8e:0x3ce,_0x11fcd4:0xa0,_0x50f464:0xd2,_0x37bddc:0x9f,_0x4f590f:0x31a,_0x2a5317:0x281,_0x3e6f0a:0x261,_0x58b3e9:0x36c,_0x35c2d1:0x357,_0x33e563:0xef,_0xe44d3a:0x73},_0x47306e={_0x20905c:0x366,_0x48d2f3:0x16d},_0x509209={_0x4e3c47:0x153};function _0x3d19ca(_0x1414e3,_0x3bc96d,_0x2b6d07,_0x3c8880){return _0x2f0acf(_0x3bc96d-0x5f,_0x3bc96d-0x196,_0x1414e3,_0x3c8880-_0x509209._0x4e3c47);}function _0xb43c67(_0x325255,_0x4942cd,_0x3c9da1,_0x4c955c){return _0x2f0acf(_0x325255- -_0x47306e._0x20905c,_0x4942cd-_0x47306e._0x48d2f3,_0x4942cd,_0x4c955c-0xe0);}try{const _0x34a9ff=new URL(_0x3c54e0);for(const _0x4c980d of[_0xb43c67(0x81,_0x26f41c._0x57f5eb,0xce,0x10b),_0xb43c67(-0x14,_0x26f41c._0x539ecc,-_0x26f41c._0x2b0394,-_0x26f41c._0x3fc70f),_0xb43c67(-_0x26f41c._0x2d3e6c,-0xd6,-0x1e8,-_0x26f41c._0x42eb7d),_0x3d19ca(_0x26f41c._0x2d9ade,_0x26f41c._0x199541,0x325,_0x26f41c._0x575f8e),_0xb43c67(0x64,0xeb,0xdf,-_0x26f41c._0x11fcd4),_0xb43c67(_0x26f41c._0x50f464,_0x26f41c._0x37bddc,0xe2,0x166),_0x3d19ca(_0x26f41c._0x4f590f,_0x26f41c._0x2a5317,_0x26f41c._0x3e6f0a,0x151),'mc_cid',_0x3d19ca(_0x26f41c._0x58b3e9,0x38a,0x331,_0x26f41c._0x35c2d1)]){_0x34a9ff['searchParams']['delete'](_0x4c980d);}return _0x34a9ff[_0xb43c67(_0x26f41c._0x33e563,0x1ad,_0x26f41c._0xe44d3a,0xb8)]();}catch{return _0x3c54e0;}}function cseDateRestrict(_0x1a2eb6){const _0x2f9545={_0x585513:0x291,_0xa07045:0x194,_0xc76601:0x1ad,_0x20934c:0xa3,_0xb48e0c:0x98,_0x39af79:0x48,_0x4fbb1:0x17f,_0x5940a8:0xf4,_0x31fa05:0x134},_0x4af2ff={_0x49937b:0x485,_0x16cd51:0x5d},_0x5bf860={_0x2c483e:0x388,_0x37596f:0x15e,_0x572fd9:0x1c5};if(_0x1a2eb6<=0x0)return void 0x0;function _0x3e7d4b(_0x2d96d1,_0x2d9f48,_0x33218e,_0x3ff712){return _0x2f0acf(_0x2d9f48- -_0x5bf860._0x2c483e,_0x2d9f48-_0x5bf860._0x37596f,_0x33218e,_0x3ff712-_0x5bf860._0x572fd9);}if(_0x1a2eb6<=0x1e)return'd'+Math[_0x19123e(-0x145,-_0x2f9545._0x585513,-_0x2f9545._0xa07045,-_0x2f9545._0xc76601)](0x1,Math[_0x3e7d4b(_0x2f9545._0x20934c,_0x2f9545._0xb48e0c,_0x2f9545._0x39af79,0x2a)](_0x1a2eb6));if(_0x1a2eb6<=0x16d)return'm'+Math[_0x3e7d4b(0xac,-0x37,-_0x2f9545._0x4fbb1,_0x2f9545._0x5940a8)](_0x1a2eb6/0x1e);function _0x19123e(_0x5bc7de,_0x103528,_0x5935f4,_0x2b4000){return _0x2f0acf(_0x2b4000- -_0x4af2ff._0x49937b,_0x103528-0x19b,_0x103528,_0x2b4000-_0x4af2ff._0x16cd51);}return'y'+Math[_0x19123e(-0x22c,-0x175,-0x156,-_0x2f9545._0x31fa05)](_0x1a2eb6/0x16d);}function addSiteFilters(_0x37a446,_0xc1f2ac){const _0x3602f0={_0x55cd38:0x154,_0x222749:0x1db,_0x242a06:0x26b,_0x28603c:0x133,_0x437a4e:0x270,_0x2d539a:0x239,_0x5355c6:0xd0,_0xe7317f:0x1d5,_0x5a1249:0x1fc,_0x57324d:0x291,_0x36132b:0x1f5,_0x39e996:0x106,_0x4e9057:0x1d6},_0x9f2521={_0x37dfd2:0x128,_0x33dd7d:0x71};if(_0xc1f2ac[_0x1b8de3(-_0x3602f0._0x55cd38,-0x1e1,-0x2ef,-_0x3602f0._0x222749)]===0x0)return _0x37a446['trim']();function _0x4e3295(_0x4222b0,_0x31442d,_0x3dfbfc,_0x22f513){return _0x4aa629(_0x4222b0-0x29,_0x22f513,_0x3dfbfc-0x122,_0x4222b0-0x343);}function _0x1b8de3(_0x262c44,_0x2b31e1,_0x14ca3a,_0x5db9eb){return _0x2f0acf(_0x5db9eb- -0x49e,_0x2b31e1-_0x9f2521._0x37dfd2,_0x14ca3a,_0x5db9eb-_0x9f2521._0x33dd7d);}return(_0x37a446+'\x20('+_0xc1f2ac[_0x1b8de3(-_0x3602f0._0x242a06,-_0x3602f0._0x28603c,-0x239,-_0x3602f0._0x437a4e)](_0x20c2bc=>'site:'+_0x20c2bc)[_0x1b8de3(-0xad,-_0x3602f0._0x2d539a,-_0x3602f0._0x5355c6,-_0x3602f0._0xe7317f)](_0x4e3295(_0x3602f0._0x5a1249,_0x3602f0._0x57324d,0x1da,0x112))+')')[_0x4e3295(_0x3602f0._0x36132b,_0x3602f0._0x39e996,_0x3602f0._0x4e9057,0x1be)]();}function normalizeType(_0x41be0c){const _0x2d6cfe={_0x3a47eb:0x212,_0x556114:0x344,_0x4b09d7:0x14d,_0x5456af:0x135},_0x5b058c={_0x8684d5:0x318,_0x4d24e9:0x189,_0x3882c6:0x11},_0x8dd0fc={_0x21d1bf:0x39,_0x25a451:0x14c};function _0x31ab07(_0x2c64dc,_0x500b6b,_0x21992a,_0x5dba18){return _0x4aa629(_0x2c64dc-0x186,_0x21992a,_0x21992a-_0x8dd0fc._0x21d1bf,_0x2c64dc-_0x8dd0fc._0x25a451);}function _0x1d7c27(_0x1d545c,_0xd989b0,_0x55abea,_0x556e4b){return _0x2f0acf(_0x1d545c- -_0x5b058c._0x8684d5,_0xd989b0-_0x5b058c._0x4d24e9,_0xd989b0,_0x556e4b-_0x5b058c._0x3882c6);}return _0x41be0c==='images'?_0x31ab07(_0x2d6cfe._0x3a47eb,_0x2d6cfe._0x556114,_0x2d6cfe._0x4b09d7,0x215):_0x1d7c27(-0x79,-_0x2d6cfe._0x5456af,-0x10e,-0x122);}async function fetchJson(_0x442f05,_0x20c75b){const _0x7fff4a={_0x2eab7c:0x73b,_0x4bf6fc:0x623,_0x14cda9:0x6a5,_0x3e2411:0x659,_0x3b9b92:0x2c2,_0x1f6b3a:0x627,_0x3a644d:0x6a7,_0x3a1c4c:0x520},_0x2a3a92={_0x4450ee:0xe9},_0x4fe78e=await fetch(_0x442f05,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x4c7621(0x629,0x520,0x594,0x59b)},'signal':_0x20c75b});function _0x4c7621(_0x4b693f,_0x1a36f2,_0x412f67,_0x239381){return _0x2f0acf(_0x4b693f-0x2ce,_0x1a36f2-_0x2a3a92._0x4450ee,_0x412f67,_0x239381-0x1c8);}if(!_0x4fe78e['ok']){await _0x4fe78e[_0x4c7621(0x669,_0x7fff4a._0x2eab7c,_0x7fff4a._0x4bf6fc,0x787)]?.[_0x4c7621(0x58d,_0x7fff4a._0x14cda9,0x53d,0x4d8)]()[_0x4c7621(0x66d,0x549,0x75c,_0x7fff4a._0x3e2411)](()=>void 0x0);throw new ToolExecutionError('HTTP\x20'+_0x4fe78e['status']+'\x20'+_0x4fe78e[_0x20af44(-_0x7fff4a._0x3b9b92,-0x2d4,-0x3c9,-0x28e)],{'statusCode':_0x4fe78e[_0x4c7621(_0x7fff4a._0x1f6b3a,_0x7fff4a._0x3a644d,_0x7fff4a._0x3a1c4c,0x6b1)]});}function _0x20af44(_0x20fd00,_0x550f47,_0x381bf9,_0x2efb7c){return _0x2f0acf(_0x2efb7c- -0x476,_0x550f47-0x20,_0x20fd00,_0x2efb7c-0x67);}return await _0x4fe78e['json']();}async function hydrateResults(_0x8e4390,_0x46414d,_0x111962){const _0x4de188={_0x5e7346:0x308,_0x9c1a47:0x2bf,_0x3760b9:0x321,_0x5def9b:0x309,_0x32332f:0x148,_0x3e3caf:0x204,_0x700d1d:0x189,_0xf60c1e:0x26f,_0x944a06:0x299,_0x3214f3:0x198,_0x1b42ae:0x183,_0x2fcf51:0x293,_0x1fba33:0x3df,_0x34b719:0x2fa},_0x38df97={_0x172cdd:0x1ab,_0x494ba9:0x15e,_0x43b30c:0x128,_0x2ee095:0x24a,_0xd77a08:0x34a,_0x2466a1:0x3d6,_0x3c8772:0x35a,_0x33e861:0x311,_0x4e0d10:0x1e5,_0x1f1bc6:0x2f9,_0x158aa2:0x1c8,_0x4f7af2:0x362,_0x162f75:0x38e,_0x5134d7:0x307,_0x2b98ae:0x37e,_0x2625e2:0x2fd,_0x49b176:0x2da,_0xedafac:0x202,_0x1aaf2e:0x365,_0x2fe23d:0x23b,_0x3cd63:0x2eb,_0x453259:0x39f,_0x580812:0x2f0,_0x6e63f8:0x31f,_0xeb7746:0x42e,_0x4618d6:0x3a6,_0x28d31b:0x349,_0x1fba19:0x346,_0x7f934d:0x422,_0x5e0e17:0x390,_0x437f40:0x1bd,_0x16b9af:0x2f3,_0x3357ab:0x433,_0x52be35:0x35b,_0x3b43f4:0x241,_0x79f2ca:0x2e7,_0x5c669b:0x339,_0x599c61:0x2fc,_0x269f63:0x25e},_0x340217={_0x305aab:0x3bc,_0xee5f8c:0xcd},_0x433064={_0x78cfe1:0x17a,_0xc666eb:0x16d},_0xcde6c4={_0x4f2d9c:0x4d,_0x23cf48:0x3};function _0x570d43(_0x318508,_0xc443e5,_0x816c09,_0x1befb6){return _0x2f0acf(_0x816c09- -0x3c6,_0xc443e5-_0xcde6c4._0x4f2d9c,_0xc443e5,_0x1befb6-_0xcde6c4._0x23cf48);}const _0xb3a706=await Promise[_0x13a147(0x1e2,0x38c,0x2d8,_0x4de188._0x5e7346)](_0x8e4390[_0x13a147(_0x4de188._0x9c1a47,0x420,_0x4de188._0x3760b9,_0x4de188._0x5def9b)](0x0,0xa)['map'](async _0x444676=>{function _0x10cd38(_0xef4ea3,_0x4080de,_0x374b8c,_0x4863ef){return _0x570d43(_0xef4ea3-_0x433064._0x78cfe1,_0x374b8c,_0x4863ef-0x374,_0x4863ef-_0x433064._0xc666eb);}function _0x1d9867(_0x3f64f,_0x4ffac4,_0xb48d0b,_0x2fb5b1){return _0x570d43(_0x3f64f-0x1d1,_0x2fb5b1,_0xb48d0b-_0x340217._0x305aab,_0x2fb5b1-_0x340217._0xee5f8c);}try{const _0x1b7f63=await fetch(_0x444676['url'],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x46414d,'Accept':'text/html'},'signal':_0x111962});if(!_0x1b7f63['ok'])return _0x444676;const _0x139c3a=await _0x1b7f63[_0x1d9867(_0x38df97._0x172cdd,0x223,0x2cb,0x214)](),_0x446291=load(_0x139c3a),_0x2d7e35=_0x446291('meta[property=\x27og:title\x27]')[_0x1d9867(_0x38df97._0x494ba9,_0x38df97._0x43b30c,_0x38df97._0x2ee095,0x2f4)](_0x1d9867(0x3a2,_0x38df97._0xd77a08,_0x38df97._0x2466a1,_0x38df97._0x3c8772))||_0x446291('title')['first']()[_0x10cd38(0x36c,_0x38df97._0x33e861,0x23d,0x283)]()[_0x1d9867(0x25d,0x192,_0x38df97._0x4e0d10,_0x38df97._0x1f1bc6)](),_0x491fbc=_0x446291('meta[name=\x27description\x27]')[_0x1d9867(_0x38df97._0x158aa2,0x300,_0x38df97._0x2ee095,_0x38df97._0x4f7af2)](_0x10cd38(0x340,0x485,0x274,_0x38df97._0x162f75))||_0x446291('meta[property=\x27og:description\x27]')['attr'](_0x1d9867(0x4f5,0x2ce,0x3d6,0x380))||_0x444676['snippet'],_0x2a298f=_0x446291(_0x10cd38(0x282,_0x38df97._0x5134d7,0x3ff,_0x38df97._0x2b98ae))[_0x10cd38(_0x38df97._0x2625e2,_0x38df97._0x49b176,0x143,_0x38df97._0xedafac)](_0x1d9867(_0x38df97._0x1aaf2e,0x4fa,0x3d6,0x32e))||_0x446291(_0x10cd38(_0x38df97._0x2fe23d,_0x38df97._0x3cd63,_0x38df97._0x453259,_0x38df97._0x580812))[_0x10cd38(0x22e,0x33c,_0x38df97._0x6e63f8,_0x38df97._0xedafac)](_0x1d9867(_0x38df97._0xeb7746,0x495,0x375,_0x38df97._0x4618d6))||_0x444676[_0x10cd38(_0x38df97._0x28d31b,0x406,0x247,0x35d)],_0x550043=_0x446291(_0x1d9867(_0x38df97._0x1fba19,0x477,_0x38df97._0x7f934d,_0x38df97._0x5e0e17))[_0x10cd38(_0x38df97._0x437f40,_0x38df97._0x16b9af,0x143,0x202)]('href');return{..._0x444676,'title':_0x2d7e35||_0x444676[_0x10cd38(0x35d,_0x38df97._0x3357ab,0x22f,_0x38df97._0x52be35)],'snippet':_0x491fbc,'url':_0x550043?normalizeUrl(new URL(_0x550043,_0x444676[_0x1d9867(0x272,_0x38df97._0x3b43f4,0x2a6,0x2e6)])[_0x10cd38(_0x38df97._0x79f2ca,_0x38df97._0x5c669b,0x432,0x403)]()):_0x444676[_0x10cd38(_0x38df97._0x599c61,0x32b,0x127,_0x38df97._0x269f63)],'publishedAt':_0x2a298f};}catch{return _0x444676;}}));function _0x13a147(_0x58fe86,_0x5c9ea9,_0x359ca6,_0x5b5728){return _0x2f0acf(_0x5b5728-0xcc,_0x5c9ea9-0x141,_0x5c9ea9,_0x5b5728-0x107);}const _0x2a2643=new Map(_0x8e4390[_0x570d43(-_0x4de188._0x32332f,-_0x4de188._0x3e3caf,-_0x4de188._0x700d1d,-_0x4de188._0xf60c1e)](0x0,0xa)[_0x570d43(-0x1a7,-_0x4de188._0x944a06,-_0x4de188._0x3214f3,-_0x4de188._0x1b42ae)]((_0x210e00,_0x2de016)=>[_0x210e00[_0x570d43(-0x5,-0x137,-0x116,-0x30)],_0xb3a706[_0x2de016]]));return _0x8e4390[_0x13a147(_0x4de188._0x2fcf51,_0x4de188._0x1fba33,0x1f6,_0x4de188._0x34b719)](_0x4c1d5f=>_0x2a2643[_0x570d43(-0x10c,-0x1db,-0xb2,-0xf9)](_0x4c1d5f[_0x570d43(-0x138,-0x37,-0x116,-0x187)])??_0x4c1d5f);}function formatResults(_0x1749ee){const _0x17e53f={_0x252a29:0x3fd,_0x42abc2:0x395,_0x18e5a6:0x2d5,_0x142603:0x439,_0x294e3e:0x3be,_0x4cbb37:0x49f},_0x3b818b={_0x54ee6d:0x42c,_0x3bb832:0x3d8,_0x3072be:0x41e,_0x17424d:0x512,_0x5cb2c1:0x401,_0x3268a3:0x2f1,_0x599872:0xb,_0x4fd25e:0x3cb,_0x342a6a:0x177,_0x41fbf4:0x3b6,_0x12aed9:0x3f0,_0x5d58fa:0x30d,_0x3b600f:0x30a,_0x37e318:0x255},_0x351ff9={_0x861e23:0x14e,_0x139f86:0x21f},_0x52598f={_0x4f2541:0x40,_0x4bcafb:0xea},_0x59f66b={_0x50af25:0x260,_0x22b903:0x11};if(_0x1749ee['length']===0x0)return _0x60ce8f(0x4a8,_0x17e53f._0x252a29,_0x17e53f._0x42abc2,_0x17e53f._0x18e5a6);function _0x567bd2(_0xed1201,_0x1874d4,_0x4a8fc1,_0x992d65){return _0x2f0acf(_0x1874d4-_0x59f66b._0x50af25,_0x1874d4-_0x59f66b._0x22b903,_0x4a8fc1,_0x992d65-0x87);}function _0x60ce8f(_0x2011c8,_0x166bac,_0x373b75,_0xaeb80f){return _0x2f0acf(_0x373b75- -_0x52598f._0x4f2541,_0x166bac-0xd0,_0xaeb80f,_0xaeb80f-_0x52598f._0x4bcafb);}return _0x1749ee[_0x567bd2(_0x17e53f._0x142603,0x48e,_0x17e53f._0x294e3e,_0x17e53f._0x4cbb37)](_0x3e3a24=>{const _0x28d57c=[_0x3e3a24[_0x218e28(_0x3b818b._0x54ee6d,0x499,0x3ac,0x317)][_0x218e28(0x4ec,0x3ad,0x3b2,0x429)]+'.\x20'+_0x3e3a24[_0x218e28(_0x3b818b._0x3bb832,_0x3b818b._0x3072be,0x3ee,_0x3b818b._0x17424d)],_0x3e3a24[_0x218e28(_0x3b818b._0x5cb2c1,0x3f5,_0x3b818b._0x3268a3,0x280)]];if(_0x3e3a24[_0x3264a4(0x11,-0x103,-0x84,_0x3b818b._0x599872)])_0x28d57c['push'](_0x3e3a24[_0x218e28(0x53f,0x32b,0x414,_0x3b818b._0x4fd25e)]);function _0x218e28(_0x6605e8,_0x5026a8,_0x26809c,_0x519320){return _0x567bd2(_0x6605e8-_0x351ff9._0x861e23,_0x26809c- -_0x351ff9._0x139f86,_0x519320,_0x519320-0x183);}function _0x3264a4(_0x3b6157,_0x18c960,_0x21c29c,_0x3ac6e4){return _0x567bd2(_0x3b6157-0x19e,_0x21c29c- -0x6b7,_0x18c960,_0x3ac6e4-0x19c);}if(_0x3e3a24['publishedAt'])_0x28d57c[_0x3264a4(-0x162,-_0x3b818b._0x342a6a,-0x1e9,-0x309)]('Published:\x20'+_0x3e3a24[_0x218e28(_0x3b818b._0x41fbf4,0x3cb,_0x3b818b._0x12aed9,0x41d)]);return _0x28d57c[_0x218e28(_0x3b818b._0x5d58fa,0x2b1,_0x3b818b._0x3b600f,_0x3b818b._0x37e318)]('\x0a');})['join']('\x0a\x0a');}async function searchGoogleCse(_0x4ee0a0,_0x27ffd8,_0xc88436){const _0x3abe6a={_0x2a2b5f:0x498,_0xdb16d4:0x397,_0x55b4cc:0x405,_0x36082d:0x4ad,_0x577410:0x35,_0x25eaa2:0x4b4,_0x5b2f1a:0x450,_0x1a2a00:0x534,_0x56ddf7:0x1b9,_0x1154f8:0x316,_0x4b8f4d:0x223,_0x36417f:0x1f2,_0x435544:0x1aa,_0x33542a:0x22b,_0x1e2db7:0x1a6,_0x56e38a:0x257,_0x4098ca:0x7d,_0x3ff728:0x11b,_0x288082:0x244,_0x49f12e:0xc2,_0x388b59:0x2d,_0x1d1493:0x2ed,_0x26c2c5:0x3a7,_0x421b0e:0x54d,_0x141e07:0x29,_0x30d5fe:0x5d5,_0x530149:0x264,_0x2200a2:0x3db,_0x43d6b1:0x332,_0x1900d8:0x330,_0xe144c8:0x2f5,_0x31c727:0x2e7,_0x11fc94:0x360,_0x29c208:0x238,_0x3c5b55:0x4ea,_0x59a4a2:0x456,_0x496d4f:0x3d7,_0x17746c:0x49f,_0x5392c1:0x4de,_0x24acde:0x66e,_0x3097ad:0x528,_0x2f7787:0x4da,_0x511701:0xfc,_0x3485b9:0x6,_0x40c9ab:0x9,_0x4600ff:0x341,_0x4b11e3:0x49d,_0x42aec5:0x586,_0x4ea9be:0x5ab,_0x2134b3:0x29d,_0x1a5031:0x296,_0x5a48cf:0x407,_0x3d3898:0x528,_0x25750b:0x57f,_0x1c80a6:0x2b6,_0x368ea1:0x34b,_0x16312f:0x4ba,_0x44393e:0x1ae,_0x138193:0x541,_0x3e90b4:0x4f7,_0x1c0c92:0x583,_0x166c8e:0x121,_0x27b552:0xc1,_0x257b56:0x124,_0x1e3c31:0x1e2,_0x2f8a9a:0x340,_0x584174:0x12f,_0x490eaf:0x36,_0x31cf56:0x102,_0x1bf195:0xde,_0x5ad6b7:0x174,_0x1b0fc0:0x158,_0x32d300:0x16d,_0x430917:0xd4,_0x59c297:0x110,_0x431c13:0x127,_0x127636:0x373,_0xf7d365:0x24c,_0x37f934:0x1e5,_0x390ef1:0x2fc,_0x1edb46:0x28b,_0x210aa2:0x215,_0x189434:0x59d,_0x5a3e98:0x73,_0x17dfb6:0xe,_0x26b48f:0x57d,_0x23767c:0x507,_0x210d61:0x317,_0x10c26b:0x4d0,_0x4e4a85:0x293,_0x43e6c1:0x322,_0x114d67:0x360,_0x3c3c5b:0x2a3,_0x5bb5a5:0x3c7,_0x511034:0x42c,_0xb37035:0x617,_0x362d29:0x624,_0xee1999:0x67f,_0x4ff1ea:0x20a,_0x136ea4:0x34f,_0x10919d:0x255,_0x81d74f:0x3f2,_0x19fac5:0x2ba,_0xc9203d:0x394,_0x37d378:0x386,_0x6ba042:0x1bd,_0x2aba45:0x25e,_0x2452e1:0x267,_0x3b96e6:0x20f,_0x431ad5:0x1f6,_0x10854e:0xf9,_0x1416c9:0x232,_0x4f8670:0x41,_0x50ccb5:0xf8},_0x3c7713={_0x5ea5aa:0x126},_0x55a809={_0x404880:0x173};function _0x3cd4ba(_0x285bb8,_0xbce911,_0x2d8ea5,_0x7d08b0){return _0x4aa629(_0x285bb8-0x1c8,_0x285bb8,_0x2d8ea5-0x7d,_0x7d08b0-_0x55a809._0x404880);}const _0x37400f=Math['max'](0x1,Math[_0x1490a9(_0x3abe6a._0x2a2b5f,_0x3abe6a._0xdb16d4,_0x3abe6a._0x55b4cc,_0x3abe6a._0x36082d)](0x32,_0x27ffd8[_0x3cd4ba(-0x52,0x6f,_0x3abe6a._0x577410,0xd0)]));if(_0x27ffd8[_0x1490a9(_0x3abe6a._0x25eaa2,_0x3abe6a._0x5b2f1a,_0x3abe6a._0x1a2a00,0x5e4)]+_0x37400f>0x64)throw new ToolExecutionError(_0x3cd4ba(_0x3abe6a._0x56ddf7,_0x3abe6a._0x1154f8,_0x3abe6a._0x4b8f4d,_0x3abe6a._0x36417f),{'offset':_0x27ffd8[_0x1490a9(0x422,0x60f,_0x3abe6a._0x1a2a00,0x3f8)],'count':_0x37400f,'maxResults':0x64});const _0x4f155e=cseDateRestrict(_0x27ffd8[_0x3cd4ba(0x27b,0x6d,0x1be,_0x3abe6a._0x435544)]),_0x6a0d4b=addSiteFilters(_0x27ffd8[_0x3cd4ba(0x143,_0x3abe6a._0x33542a,_0x3abe6a._0x1e2db7,0x1f6)],_0x27ffd8[_0x3cd4ba(_0x3abe6a._0x56e38a,_0x3abe6a._0x4098ca,0xf8,0x135)]);let _0x1a6420=0x0,_0xb9e60=_0x27ffd8[_0x3cd4ba(_0x3abe6a._0x3ff728,0x24c,0x23b,_0x3abe6a._0x288082)]+0x1;const _0x397b83=[];while(_0x1a6420<_0x37400f){const _0x5d3382=Math['min'](0xa,_0x37400f-_0x1a6420),_0x59d9ec=new URL(_0x3cd4ba(_0x3abe6a._0x49f12e,-_0x3abe6a._0x388b59,0x33,0x7d));_0x59d9ec[_0x1490a9(0x4c5,_0x3abe6a._0x1d1493,_0x3abe6a._0x26c2c5,0x265)]['set']('key',_0x4ee0a0['googleCseKey']),_0x59d9ec['searchParams'][_0x1490a9(_0x3abe6a._0x421b0e,0x64e,0x528,0x5d0)]('cx',_0x4ee0a0['googleCseCx']),_0x59d9ec[_0x3cd4ba(_0x3abe6a._0x141e07,0x1c2,0x1b3,0xb7)][_0x1490a9(_0x3abe6a._0x30d5fe,0x599,0x528,0x4eb)]('q',_0x6a0d4b),_0x59d9ec[_0x1490a9(_0x3abe6a._0x530149,_0x3abe6a._0x2200a2,0x3a7,_0x3abe6a._0x43d6b1)][_0x3cd4ba(0x344,_0x3abe6a._0x1900d8,_0x3abe6a._0xe144c8,0x238)]('num',String(_0x5d3382)),_0x59d9ec['searchParams'][_0x3cd4ba(_0x3abe6a._0x31c727,_0x3abe6a._0x11fc94,0x36b,_0x3abe6a._0x29c208)](_0x1490a9(_0x3abe6a._0x3c5b55,_0x3abe6a._0x59a4a2,0x4ee,_0x3abe6a._0x496d4f),String(_0xb9e60)),_0x59d9ec[_0x1490a9(0x46d,_0x3abe6a._0x17746c,_0x3abe6a._0x26c2c5,_0x3abe6a._0x5392c1)][_0x1490a9(0x4bf,_0x3abe6a._0x24acde,_0x3abe6a._0x3097ad,_0x3abe6a._0x2f7787)]('safe',_0x27ffd8[_0x3cd4ba(_0x3abe6a._0x511701,0x135,-_0x3abe6a._0x3485b9,_0x3abe6a._0x40c9ab)]?_0x1490a9(_0x3abe6a._0x4600ff,0x4ab,0x3b9,0x351):_0x1490a9(_0x3abe6a._0x4b11e3,_0x3abe6a._0x42aec5,0x556,_0x3abe6a._0x4ea9be));_0x27ffd8['lang']&&(_0x59d9ec[_0x1490a9(_0x3abe6a._0x2134b3,0x3e4,0x3a7,_0x3abe6a._0x1a5031)][_0x1490a9(0x406,_0x3abe6a._0x5a48cf,_0x3abe6a._0x3d3898,_0x3abe6a._0x25750b)]('hl',_0x27ffd8[_0x3cd4ba(0x1c7,_0x3abe6a._0x1c80a6,0x3b6,0x27e)]),_0x59d9ec[_0x1490a9(0x4a2,_0x3abe6a._0x368ea1,_0x3abe6a._0x26c2c5,_0x3abe6a._0x16312f)][_0x3cd4ba(_0x3abe6a._0x530149,0x341,_0x3abe6a._0x44393e,0x238)]('lr',_0x1490a9(_0x3abe6a._0x138193,0x402,0x485,0x3fe)+_0x27ffd8[_0x1490a9(0x53b,_0x3abe6a._0x3e90b4,0x56e,_0x3abe6a._0x1c0c92)]));if(_0x27ffd8[_0x3cd4ba(_0x3abe6a._0x166c8e,_0x3abe6a._0x27b552,-0x79,0x36)])_0x59d9ec[_0x3cd4ba(_0x3abe6a._0x257b56,_0x3abe6a._0x1e3c31,0x161,0xb7)][_0x3cd4ba(0x2d4,_0x3abe6a._0x2f8a9a,0x2d2,_0x3abe6a._0x29c208)]('gl',_0x27ffd8[_0x3cd4ba(_0x3abe6a._0x584174,-0x3f,0x14e,_0x3abe6a._0x490eaf)][_0x3cd4ba(_0x3abe6a._0x31cf56,0x18b,_0x3abe6a._0x1bf195,_0x3abe6a._0x5ad6b7)]());if(_0x27ffd8['type']==='images')_0x59d9ec['searchParams'][_0x3cd4ba(0x144,_0x3abe6a._0x1b0fc0,0xfd,_0x3abe6a._0x29c208)]('searchType',_0x3cd4ba(_0x3abe6a._0x32d300,_0x3abe6a._0x430917,_0x3abe6a._0x59c297,_0x3abe6a._0x431c13));if(_0x4f155e)_0x59d9ec['searchParams'][_0x3cd4ba(0x311,_0x3abe6a._0x127636,_0x3abe6a._0xf7d365,_0x3abe6a._0x29c208)]('dateRestrict',_0x4f155e);const _0x137d2f=await fetchJson(_0x59d9ec[_0x3cd4ba(_0x3abe6a._0x37f934,0x16b,_0x3abe6a._0x390ef1,_0x3abe6a._0x1edb46)](),_0xc88436),_0x1121a9=_0x137d2f['items']??[];if(_0x1121a9[_0x3cd4ba(0x20d,_0x3abe6a._0x210aa2,0xd,0xf9)]===0x0)break;const _0xc6820a=_0x1a6420;for(let _0x3e6626=0x0;_0x3e6626<_0x1121a9['length'];_0x3e6626++){const _0x6d1fe0=_0x1121a9[_0x3e6626];if(!_0x6d1fe0)continue;const _0x4ab84b=_0x6d1fe0[_0x1490a9(_0x3abe6a._0x189434,0x4e4,0x495,0x3c9)]||_0x6d1fe0[_0x3cd4ba(_0x3abe6a._0x5a3e98,_0x3abe6a._0x17dfb6,0x6e,_0x3abe6a._0x431c13)]?.[_0x1490a9(0x616,0x5a6,_0x3abe6a._0x26b48f,_0x3abe6a._0x23767c)]||'',_0x254c47=_0x6d1fe0[_0x3cd4ba(_0x3abe6a._0x210d61,0x236,0x1ef,0x1e3)]||_0x6d1fe0[_0x1490a9(_0x3abe6a._0x10c26b,0x3a8,0x417,0x465)]?.[_0x3cd4ba(_0x3abe6a._0x4e4a85,_0x3abe6a._0x43e6c1,0x9f,0x1e3)]||_0x3cd4ba(_0x3abe6a._0x114d67,_0x3abe6a._0x3c3c5b,0x321,0x23b),_0x928385=_0x6d1fe0[_0x1490a9(_0x3abe6a._0x5bb5a5,_0x3abe6a._0x511034,0x4f9,0x47d)]||_0x6d1fe0[_0x1490a9(_0x3abe6a._0xb37035,_0x3abe6a._0x362d29,0x558,_0x3abe6a._0xee1999)]?.['replace'](/<[^>]+>/g,''),_0x5be646=_0x6d1fe0[_0x1490a9(_0x3abe6a._0x56e38a,_0x3abe6a._0x4ff1ea,_0x3abe6a._0x136ea4,0x444)]?.['metatags']?.[0x0]??{};let _0xeb6b43;try{_0xeb6b43=new URL(_0x4ab84b)[_0x1490a9(_0x3abe6a._0x10919d,0x2dd,0x376,_0x3abe6a._0x81d74f)];}catch{_0xeb6b43=null;}_0x397b83[_0x1490a9(_0x3abe6a._0x19fac5,0x4ae,_0x3abe6a._0xc9203d,_0x3abe6a._0x37d378)]({'title':_0x254c47,'url':normalizeUrl(_0x4ab84b),'snippet':_0x928385??null,'displayUrl':_0xeb6b43,'favicon':null,'publishedAt':_0x5be646[_0x3cd4ba(0x2a9,_0x3abe6a._0x6ba042,_0x3abe6a._0x2aba45,0x285)]||_0x5be646[_0x3cd4ba(0x28a,_0x3abe6a._0x2452e1,_0x3abe6a._0x3b96e6,0x1c2)]||null,'source':{'engine':'google-cse','rank':_0xc6820a+_0x3e6626+0x1}});}_0x1a6420+=_0x1121a9[_0x3cd4ba(_0x3abe6a._0x431ad5,0x76,0x17f,_0x3abe6a._0x10854e)],_0xb9e60+=_0x1121a9[_0x3cd4ba(_0x3abe6a._0x1416c9,_0x3abe6a._0x4f8670,_0x3abe6a._0x50ccb5,0xf9)];if(_0x1121a9['length']<_0x5d3382)break;}function _0x1490a9(_0x2fdfca,_0x39e5e2,_0x35b8cc,_0x2c6a89){return _0x2f0acf(_0x35b8cc-_0x3c7713._0x5ea5aa,_0x39e5e2-0x110,_0x2fdfca,_0x2c6a89-0x3a);}return _0x397b83['slice'](0x0,_0x37400f);}function createWebSearchTool(_0x2ff3f8){const _0x1411e6={_0x2e1c37:0x40c,_0xd67bfd:0x315,_0xfe47ad:0x20d,_0x4da4e5:0x0,_0x163ee1:0x1b,_0x3781b7:0x196,_0x291b15:0x227,_0x32f8cd:0x15f,_0x4038e5:0x99,_0x40d745:0xe,_0x49d12b:0x28d,_0x52510a:0x366,_0x5e690f:0x253,_0x36fbd1:0x419,_0x3fb8b3:0x1fe,_0x28b203:0xb2,_0x3b18ed:0x312,_0x584b39:0x249,_0x4118fc:0x78,_0x23954a:0x112,_0x1bd31d:0x43,_0x489c27:0x7a,_0x45cc5d:0x167,_0x49d324:0x1e9,_0x38d9c0:0x2e8,_0x55b268:0x235,_0x3c56c9:0x3c3},_0x37971b={_0x48f0c3:0x287,_0x3787df:0xbe,_0x42078b:0x2a,_0x18db30:0x15f,_0x4b8bf5:0x14,_0x402096:0x225,_0x131592:0x145,_0x2dc963:0x71,_0x153ec6:0x3,_0x161e8a:0x76,_0x5ebed0:0xea,_0x589844:0xe8,_0x301391:0x1d,_0x5b9aac:0xb5,_0x1b2d7c:0xbc,_0x291166:0x14d,_0x261045:0x267,_0x415356:0x1ef,_0x3b9bc8:0x271,_0x425ba4:0xa8,_0x1864b6:0x65,_0x162a69:0x5c,_0x1fdd28:0x168,_0x30f00f:0xd6,_0x34f92e:0xd9,_0x896731:0x21e,_0xd49479:0xd3,_0x4d9d85:0x106,_0x8df52d:0x1ed,_0x508b36:0x2ef,_0x21a77c:0x14e,_0x38fbfa:0xda,_0x11dc18:0x4,_0x4dec56:0x173,_0x564906:0x44,_0x50c067:0x21,_0x39a9a3:0x115,_0x2bd021:0xff,_0x5c40c3:0x1b7,_0x2c3258:0x1a,_0x4d4044:0x54,_0x78eb0d:0xd0,_0x4e754c:0x7d,_0xe9c9b5:0xb0,_0x26bdfd:0x128,_0x420c61:0x120,_0x190478:0xcb,_0x44ede3:0x9,_0x1befac:0x11a,_0x3e338e:0x149,_0xde7a1e:0x16,_0x4539f1:0x102,_0x28031d:0x11f,_0x523377:0x4d,_0x2a6239:0x162,_0x314def:0x3e,_0x462124:0x127,_0x550667:0xab,_0x69631c:0x19b},_0x282f05={_0x1e0f8e:0x222,_0x1ec51f:0x152},_0x5ad502={_0xae87cf:0x1a0,_0x10238c:0x172,_0x34cc68:0x249},_0x35086d={_0x2ae74d:0xfe,_0x2a8168:0x100},_0x5c705a={_0x15293a:0x15a,_0x265e54:0x5c};if(!_0x2ff3f8[_0x3b549a(_0x1411e6._0x2e1c37,_0x1411e6._0xd67bfd,_0x1411e6._0xfe47ad,0x3ce)])throw new Error(_0x1a793b(-0x77,_0x1411e6._0x4da4e5,-_0x1411e6._0x163ee1,-_0x1411e6._0x3781b7));function _0x1a793b(_0x742cf9,_0x6a1659,_0x50bb17,_0x3e1917){return _0x4aa629(_0x742cf9-0x130,_0x3e1917,_0x50bb17-_0x5c705a._0x15293a,_0x742cf9- -_0x5c705a._0x265e54);}if(!_0x2ff3f8['googleCseCx'])throw new Error('WebSearch\x20requires\x20GOOGLE_CSE_CX');function _0x3b549a(_0x6f2025,_0x333195,_0x19f200,_0x385b03){return _0x2f0acf(_0x333195- -_0x35086d._0x2ae74d,_0x333195-_0x35086d._0x2a8168,_0x6f2025,_0x385b03-0x1d6);}const _0x352f9a=_0x2ff3f8['name']??'WebSearch';return defineTool({'name':_0x352f9a,'description':_0x3b549a(0x2cb,_0x1411e6._0x291b15,_0x1411e6._0x32f8cd,0x2e7),'inputSchema':{'type':_0x1a793b(-_0x1411e6._0x4038e5,-0x190,0x93,-0xd7),'properties':{'description':{'type':_0x1a793b(-_0x1411e6._0x40d745,-0x147,-0x156,0x6e)},'query':{'type':_0x3b549a(0x160,_0x1411e6._0x49d12b,0x279,_0x1411e6._0x52510a)},'count':{'type':_0x3b549a(_0x1411e6._0x5e690f,0x312,_0x1411e6._0x36fbd1,_0x1411e6._0x3fb8b3)},'offset':{'type':'number'},'domains':{'type':'array','items':{'type':_0x1a793b(-_0x1411e6._0x40d745,-_0x1411e6._0x28b203,-0x5e,-0xeb)}},'recencyDays':{'type':_0x3b549a(0x3b2,_0x1411e6._0x3b18ed,0x362,_0x1411e6._0x584b39)},'lang':{'type':_0x1a793b(-0xe,_0x1411e6._0x4118fc,-_0x1411e6._0x23954a,-_0x1411e6._0x1bd31d)},'region':{'type':_0x1a793b(-_0x1411e6._0x40d745,-0x6b,0x6d,_0x1411e6._0x489c27)},'safe':{'type':'boolean'},'type':{'type':_0x3b549a(0x1d4,_0x1411e6._0x49d12b,_0x1411e6._0x45cc5d,_0x1411e6._0x49d324)},'hydrateMeta':{'type':_0x3b549a(0x411,_0x1411e6._0x38d9c0,_0x1411e6._0x55b268,_0x1411e6._0x3c56c9)}},'required':['query']},async *'execute'(_0x315498,_0x3a90f8){const _0x429b40={_0x2e8ffe:0xf5,_0x1cdc91:0x17e},_0x2341e1={_0x1534c7:0x266,_0x683561:0xb5,_0x4eb649:0x35},_0x40dc0b=_0x315498[_0x127f2c(0x1d6,_0x37971b._0x48f0c3,_0x37971b._0x3787df,0x237)]['trim']();if(!_0x40dc0b)throw new ToolExecutionError(_0x3afb69(-_0x37971b._0x42078b,_0x37971b._0x18db30,0x9f,-0x86));const _0x462836={'query':_0x40dc0b,'count':Math['max'](0x1,Math['min'](0x32,Math[_0x3afb69(-0x7,0x6d,0x105,-_0x37971b._0x4b8bf5)](_0x315498[_0x3afb69(-0xdc,0x25,-0x86,0x4b)]??0xa))),'offset':Math['max'](0x0,Math[_0x3afb69(_0x37971b._0x402096,0x245,0x105,0x6b)](_0x315498['offset']??0x0)),'domains':_0x315498[_0x3afb69(-0xa8,-_0x37971b._0x131592,-0x21,_0x37971b._0x2dc963)]??[],'recencyDays':Math['max'](0x0,Math[_0x3afb69(-_0x37971b._0x153ec6,_0x37971b._0x161e8a,0x105,_0x37971b._0x5ebed0)](_0x315498[_0x3afb69(_0x37971b._0x589844,0xde,0x54,_0x37971b._0x301391)]??0x0)),'lang':_0x315498['lang']??'en','region':_0x315498[_0x127f2c(0x16,-_0x37971b._0x5b9aac,-0x4b,_0x37971b._0x1b2d7c)]??'','safe':_0x315498[_0x3afb69(-0x23e,-0xd2,-_0x37971b._0x291166,-0x135)]??!![],'type':normalizeType(_0x315498[_0x127f2c(_0x37971b._0x261045,0x1d1,_0x37971b._0x415356,_0x37971b._0x3b9bc8)]),'hydrateMeta':_0x315498[_0x3afb69(-0x3d,_0x37971b._0x425ba4,_0x37971b._0x1864b6,0x54)]??![]};let _0x45b9b8=await searchGoogleCse(_0x2ff3f8,_0x462836,_0x3a90f8[_0x127f2c(_0x37971b._0x162a69,_0x37971b._0x1fdd28,_0x37971b._0x30f00f,0xe7)]);_0x462836['hydrateMeta']&&_0x45b9b8[_0x127f2c(_0x37971b._0x34f92e,_0x37971b._0x896731,_0x37971b._0xd49479,_0x37971b._0x4d9d85)]>0x0&&(_0x45b9b8=await hydrateResults(_0x45b9b8,_0x462836[_0x127f2c(0x25e,0x22d,_0x37971b._0x8df52d,_0x37971b._0x508b36)],_0x3a90f8[_0x3afb69(-0x87,-_0x37971b._0x21a77c,-_0x37971b._0x38fbfa,-_0x37971b._0x11dc18)]));const _0x2830ee=new Set();_0x45b9b8=_0x45b9b8[_0x127f2c(0x1ec,0xa7,_0x37971b._0x4dec56,0x107)](_0x450f0=>{const _0x43b937=_0x450f0[_0x2573e8(-0x25f,-_0x5ad502._0xae87cf,-_0x5ad502._0x10238c,-0x285)]['toLowerCase']();if(!_0x43b937||_0x2830ee[_0x2573e8(-_0x5ad502._0x34cc68,-0x1dc,-0x1ab,-0x2c2)](_0x43b937))return![];function _0xecc925(_0x41110e,_0x5b3b35,_0x22f8af,_0x1178e9){return _0x3afb69(_0x41110e-0xe5,_0x5b3b35-0x7,_0x22f8af-0x5f,_0x41110e);}_0x2830ee[_0x2573e8(-0x38,-0x170,-0x1f2,-0x244)](_0x43b937);function _0x2573e8(_0xf7ce10,_0x39b2e1,_0x5bb280,_0x165d45){return _0x127f2c(_0x39b2e1- -_0x2341e1._0x1534c7,_0x5bb280,_0x5bb280-_0x2341e1._0x683561,_0x165d45-_0x2341e1._0x4eb649);}return!![];}),_0x45b9b8=_0x45b9b8[_0x127f2c(_0x37971b._0x564906,-0x14,_0x37971b._0x42078b,-0xdc)]((_0x47a9f0,_0x3ab09e)=>({..._0x47a9f0,'source':{..._0x47a9f0[_0x127f2c(0x181,0x1fd,0x21a,0x16a)],'rank':_0x3ab09e+0x1}}));function _0x3afb69(_0x3a168e,_0x496116,_0x1a3cdc,_0x2eeb85){return _0x3b549a(_0x2eeb85,_0x1a3cdc- -_0x282f05._0x1e0f8e,_0x1a3cdc-0x2a,_0x2eeb85-_0x282f05._0x1ec51f);}const _0x5e6226={};if(_0x462836[_0x3afb69(0x118,0xe1,-_0x37971b._0x50c067,0x1b)]['length']>0x0)_0x5e6226[_0x127f2c(_0x37971b._0x39a9a3,-0x16,_0x37971b._0x2bd021,_0x37971b._0x5c40c3)]=_0x462836['domains'];if(_0x462836[_0x3afb69(_0x37971b._0x2c3258,-0xee,_0x37971b._0x4d4044,-_0x37971b._0x78eb0d)]>0x0)_0x5e6226['recencyDays']=_0x462836[_0x3afb69(_0x37971b._0x4e754c,-_0x37971b._0xe9c9b5,_0x37971b._0x4d4044,-0xf)];function _0x127f2c(_0x4ea79a,_0x49edfc,_0x55c664,_0x194f88){return _0x3b549a(_0x49edfc,_0x4ea79a- -0xec,_0x55c664-_0x429b40._0x2e8ffe,_0x194f88-_0x429b40._0x1cdc91);}if(_0x462836['lang']!=='en')_0x5e6226[_0x3afb69(0x70,0xe8,_0x37971b._0x26bdfd,0x1b7)]=_0x462836['lang'];if(_0x462836[_0x3afb69(-0x90,-0xa1,-_0x37971b._0x420c61,-_0x37971b._0x190478)])_0x5e6226[_0x3afb69(_0x37971b._0x44ede3,-_0x37971b._0x1befac,-_0x37971b._0x420c61,-_0x37971b._0x3e338e)]=_0x462836[_0x127f2c(_0x37971b._0xde7a1e,-_0x37971b._0x4539f1,-_0x37971b._0x28031d,0x8)];return yield createToolOutput(formatResults(_0x45b9b8),{'engine':_0x3afb69(-_0x37971b._0x523377,0xcb,-0x68,-_0x37971b._0x2a6239),'count':_0x45b9b8['length'],'items':_0x45b9b8,'query':_0x462836[_0x3afb69(-0x9b,0x174,0xa0,0x5e)],...Object[_0x3afb69(0x11a,_0x37971b._0x314def,0x124,0x1e1)](_0x5e6226)[_0x127f2c(0xd9,-0x65,0x170,0x26)]>0x0?{'appliedFilters':_0x5e6226}:{},'offset':_0x462836[_0x3afb69(0xfc,_0x37971b._0x462124,0xee,0x205)],'totalRequested':_0x462836[_0x127f2c(0xb0,0x171,_0x37971b._0x301391,_0x37971b._0x550667)],'hydrated':_0x462836[_0x127f2c(_0x37971b._0x69631c,0x2d4,0x24f,0x8f)]}),void 0x0;}});}export{ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};
1
+ (function(_0x4701a7,_0x3932d9){const _0x22b957={_0x4cd98d:0x51,_0x393854:0x8b,_0x4ec012:0x1bb,_0x635de2:0x76a,_0x4e5ebd:0x6be,_0x43bbe2:0x1c9,_0x11c1fa:0xf3,_0x3b15a3:0x17b,_0x4155a9:0x55e,_0x414ab8:0x61f,_0x28c9e6:0x59f,_0x5ce188:0x6e5,_0x3b82b9:0x68,_0x230c4d:0x7c,_0x16f93d:0x75a,_0x446518:0x75e};function _0x548dc4(_0xaab72c,_0x5d8d8b,_0x4c134a,_0x239a9b){return _0x4f9a(_0x5d8d8b-0x36b,_0xaab72c);}const _0x90639b=_0x4701a7();function _0x33d810(_0x43501b,_0x146e1a,_0x5c3000,_0x77b473){return _0x4f9a(_0x146e1a- -0x31b,_0x77b473);}while(!![]){try{const _0xb0cb6b=-parseInt(_0x33d810(_0x22b957._0x4cd98d,_0x22b957._0x393854,_0x22b957._0x4ec012,0x122))/0x1+-parseInt(_0x548dc4(0x817,_0x22b957._0x635de2,_0x22b957._0x4e5ebd,0x6f7))/0x2+parseInt(_0x33d810(_0x22b957._0x43bbe2,_0x22b957._0x11c1fa,_0x22b957._0x3b15a3,-0x1d))/0x3+-parseInt(_0x548dc4(0x4c1,_0x22b957._0x4155a9,0x5ea,0x4aa))/0x4+parseInt(_0x548dc4(_0x22b957._0x414ab8,_0x22b957._0x28c9e6,_0x22b957._0x5ce188,0x5a0))/0x5+parseInt(_0x33d810(0x64,-_0x22b957._0x3b82b9,_0x22b957._0x230c4d,0x76))/0x6+parseInt(_0x548dc4(_0x22b957._0x16f93d,_0x22b957._0x446518,0x7cb,0x86b))/0x7;if(_0xb0cb6b===_0x3932d9)break;else _0x90639b['push'](_0x90639b['shift']());}catch(_0x2511ed){_0x90639b['push'](_0x90639b['shift']());}}}(_0x2dae,0x8c95a));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-WJMBJOVF.js';import{getTextFromMessage}from'../chunk-SEP4YYY3.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 _0x16cb84 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x120580(0x625,0x529,0x744,0x758),'.tsx':'typescriptreact','.js':_0x120580(0x59f,0x49c,0x601,0x6c8),'.jsx':_0x120580(0x5f8,0x737,0x667,0x60c),'.mjs':'javascript','.cjs':_0x120580(0x59f,0x46a,0x47d,0x606),'.mts':_0x43e84c(0x4c4,0x6c2,0x546,0x581),'.cts':_0x120580(0x625,0x6de,0x700,0x583),'.json':'json','.jsonc':'jsonc'};function getLanguageId(_0xebcf57){const _0x14e637={_0x41d65e:0x3dc,_0x56ff98:0x5ca},_0x45f734={_0x1b83ed:0x16f,_0x4c040f:0x5};function _0xece5e2(_0x482ca5,_0x2177db,_0x2c4f40,_0x14a015){return _0x43e84c(_0x482ca5-_0x45f734._0x1b83ed,_0x14a015,_0x2c4f40-_0x45f734._0x4c040f,_0x482ca5- -0x84);}function _0x169fdd(_0x595152,_0x1d97a7,_0x18a44c,_0x393fbf){return _0x120580(_0x18a44c- -0x59c,_0x1d97a7,_0x18a44c-0x9,_0x393fbf-0x89);}return EXTENSION_TO_LANGUAGE[_0x16cb84[_0xece5e2(0x4a7,_0x14e637._0x41d65e,0x3e2,_0x14e637._0x56ff98)](_0xebcf57)[_0xece5e2(0x3ae,0x343,0x274,0x3e3)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x3d7743){const _0x4019c={_0xf8d447:0x2e,_0x34fcc6:0xfb},_0x5f1f0d={_0x3d846a:0xa1,_0x498282:0x1ae,_0x497959:0x3db};function _0x3e9cd4(_0x1e05de,_0x9763e4,_0x3592ae,_0x57bd13){return _0x43e84c(_0x1e05de-_0x5f1f0d._0x3d846a,_0x9763e4,_0x3592ae-_0x5f1f0d._0x498282,_0x1e05de- -_0x5f1f0d._0x497959);}return pathToFileURL(_0x3d7743)[_0x3e9cd4(_0x4019c._0xf8d447,0x16b,_0x4019c._0x34fcc6,0x4e)]();}function _0x4f9a(_0x4c8815,_0x18ca35){_0x4c8815=_0x4c8815-0x197;const _0x2dae45=_0x2dae();let _0x4f9a1f=_0x2dae45[_0x4c8815];if(_0x4f9a['YCLQpz']===undefined){var _0x130c75=function(_0x598ec0){const _0x14a925='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x16cb84='',_0x5dea84='';for(let _0x5e1dcb=0x0,_0x257501,_0x1b29e8,_0x433766=0x0;_0x1b29e8=_0x598ec0['charAt'](_0x433766++);~_0x1b29e8&&(_0x257501=_0x5e1dcb%0x4?_0x257501*0x40+_0x1b29e8:_0x1b29e8,_0x5e1dcb++%0x4)?_0x16cb84+=String['fromCharCode'](0xff&_0x257501>>(-0x2*_0x5e1dcb&0x6)):0x0){_0x1b29e8=_0x14a925['indexOf'](_0x1b29e8);}for(let _0x46f284=0x0,_0x5256b3=_0x16cb84['length'];_0x46f284<_0x5256b3;_0x46f284++){_0x5dea84+='%'+('00'+_0x16cb84['charCodeAt'](_0x46f284)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5dea84);};_0x4f9a['xxkmjV']=_0x130c75,_0x4f9a['uuIOie']={},_0x4f9a['YCLQpz']=!![];}const _0x136e38=_0x2dae45[0x0],_0x24847e=_0x4c8815+_0x136e38,_0x244a82=_0x4f9a['uuIOie'][_0x24847e];return!_0x244a82?(_0x4f9a1f=_0x4f9a['xxkmjV'](_0x4f9a1f),_0x4f9a['uuIOie'][_0x24847e]=_0x4f9a1f):_0x4f9a1f=_0x244a82,_0x4f9a1f;}function textDocumentPosition(_0x475e25){const _0x215b19={_0x56e348:0x4b4,_0x16cff4:0x42c},_0x161c8a={_0x41559f:0x80};function _0x53bf47(_0x374655,_0x99735b,_0x36710d,_0xab5b6d){return _0x120580(_0x36710d- -0xb4,_0xab5b6d,_0x36710d-0x23,_0xab5b6d-_0x161c8a._0x41559f);}return{'textDocument':{'uri':uriForPath(_0x475e25['file'])},'position':{'line':_0x475e25[_0x53bf47(0x56b,_0x215b19._0x56e348,_0x215b19._0x16cff4,0x351)],'character':_0x475e25['character']}};}function normalizeLocations(_0x34d4ee){if(!_0x34d4ee)return[];return Array['isArray'](_0x34d4ee)?_0x34d4ee:[_0x34d4ee];}async function createLspClient(_0xf3ed4d){const _0xf4ae68={_0x31adc6:0x410,_0x528e02:0x423,_0x3d34e1:0x488,_0x1e1fae:0x385,_0x10e45d:0x4a5,_0x58939b:0x41c,_0x8b0bf2:0x47a,_0x31bf62:0x4da,_0x58aa99:0x410,_0x52e706:0x2da,_0x5e5d4b:0x424,_0x11f0fa:0x385,_0x410682:0x290,_0x17631e:0x3a2,_0x3a434a:0x241,_0x3813ac:0x282,_0x3b3a35:0x337,_0x3146cf:0x73,_0x1929b2:0x111,_0x5d838b:0x101,_0xbc5fdd:0x408,_0x576bf9:0x3b8,_0x5f23ca:0x4c5,_0x10230d:0x1a4,_0x52f4d4:0x1cb,_0x4838d3:0x2f,_0x2c8c9f:0x3e,_0xc0c40d:0xa8,_0x48b4f4:0x13,_0x5839f8:0x3d4,_0x593897:0x379,_0x135ee5:0xe8,_0x496351:0x94,_0x23c86a:0x14d,_0x313388:0x62,_0xf58fa9:0x436,_0x1705ed:0x1eb,_0x494bf5:0xac,_0x4301ec:0x323},_0x23a25f={_0x18916c:0x6a8,_0x4eacaa:0x566,_0x165936:0x7b5,_0x190d0a:0xfe,_0x2f4545:0x134,_0x27ab24:0x633,_0x28f523:0x76d,_0xe8dcf9:0x54c,_0x40e657:0x18d,_0x56a0b2:0x146},_0x4226d8={_0x5c3877:0x45,_0x361f88:0x38,_0x38d41b:0x26,_0x3784b8:0xa7,_0x5a23cc:0x2b9,_0x18d44f:0x192},_0x206ce2={_0x4ce0a5:0x2d,_0x31c0af:0x30},_0x42905f={_0x5794d7:0x191,_0x52ea44:0xa9},_0x49119b={_0x4ec90c:0x1fd,_0x30423f:0x311,_0x4f52c7:0x317,_0x5d8a96:0x40d,_0x2479d4:0x2fa},_0x2a27f2={_0x5571ae:0xdd,_0x58d052:0x477},_0x5d4274={_0x340ea6:0x138,_0x52dcb7:0x428,_0x18be9e:0x1e8},_0x1713f2={_0x3774e0:0x367,_0x304a7e:0x3b0,_0x1b787e:0x4eb},_0x112f7b={_0x403847:0x26,_0x3f7ed6:0x138},_0x42f0c5={_0x500b19:0x1aa,_0x1d6e80:0x193},_0x2b9ba5={_0x20939a:0x106,_0x59eac1:0x67},_0x18a959={_0x5579d5:0x46b,_0x1d6232:0x540,_0x52dc47:0x6be,_0x68740d:0x6ca,_0x1f29bf:0x552},_0x4d1b9b={_0x108d75:0x171,_0x329158:0x147,_0xc3934c:0x2a,_0x5a4ca6:0x28},_0x10f9a4={_0x5d0ebe:0x4f},_0x2ac5ce={_0x233225:0x38c},_0x5363ef={_0x33fb13:0x1e1,_0x241fac:0x2f1},_0x48d007={_0x4216b6:0x347,_0x24ccca:0x1a},_0x5746af={_0x9e15e4:0x4a2,_0x1d9714:0x645,_0x25861b:0x507},_0x7d997f={_0x121357:0x102,_0x5d484e:0x8e},_0xd68f16={_0x1e2f23:0x536,_0x5bccc7:0x2b1,_0xc8ec87:0x315,_0x57e280:0x309},_0x2e6109={_0xb50d40:0xc0,_0x56a64c:0x1d9},_0x2c93ce={_0x387d25:0xb4,_0x2e1046:0x518,_0x268a91:0x193},_0x4a36fd={_0x121382:0x249,_0x4194d7:0x27e},_0x529a71={_0x296408:0x19f,_0xaf8d99:0x160},_0x437344={_0x5be8c5:0x1aa,_0x357021:0xec},_0x5b4e50={_0x5c3d4f:0x792,_0x1f8d6:0x6db,_0x174d87:0x5e4,_0x4abbf7:0x7fa,_0x327f78:0x347},_0x2964c8={_0x1168e7:0x161,_0xb58858:0x5cb},_0x385fcc={_0x3f473e:0x177},_0x34e1c5=_0xf3ed4d[_0x1dec8d(0x4df,_0xf4ae68._0x31adc6,_0xf4ae68._0x528e02,0x548)][_0x1dec8d(_0xf4ae68._0x3d34e1,_0xf4ae68._0x1e1fae,_0xf4ae68._0x10e45d,0x2b2)][_0x1dec8d(_0xf4ae68._0x58939b,0x3a8,_0xf4ae68._0x8b0bf2,_0xf4ae68._0x31bf62)],_0x1c067b=_0xf3ed4d[_0x1dec8d(0x3a3,_0xf4ae68._0x58aa99,_0xf4ae68._0x52e706,0x456)][_0x1dec8d(_0xf4ae68._0x5e5d4b,_0xf4ae68._0x11f0fa,_0xf4ae68._0x410682,_0xf4ae68._0x17631e)][_0x1dec8d(0x32f,_0xf4ae68._0x3a434a,0x387,0x291)];if(!_0x34e1c5||!_0x1c067b)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');const _0x33a126=createMessageConnection(new StreamMessageReader(_0x34e1c5),new StreamMessageWriter(_0x1c067b));function _0x30f719(_0x3467b5,_0x174578,_0x21a0b9,_0x41993f){return _0x43e84c(_0x3467b5-_0x385fcc._0x3f473e,_0x3467b5,_0x21a0b9-0x177,_0x21a0b9- -0x46e);}const _0x168226=new Map(),_0x208574=new Map();let _0x5c007c=![];_0x33a126['onNotification'](_0x1dec8d(0x239,_0xf4ae68._0x3813ac,0x1ec,_0xf4ae68._0x3b3a35),_0x12efe9=>{const _0xe03208={_0x4c0171:0x22f};_0x168226[_0x52cefe(_0x5b4e50._0x5c3d4f,_0x5b4e50._0x1f8d6,_0x5b4e50._0x174d87,_0x5b4e50._0x4abbf7)](_0x12efe9[_0x386d01(0x325,_0x5b4e50._0x327f78,0x369,0x337)],_0x12efe9[_0x52cefe(0x638,0x605,0x64b,0x607)]);function _0x52cefe(_0x1e888c,_0x216da1,_0x2d1c85,_0x2c0ac7){return _0x30f719(_0x1e888c,_0x216da1-_0x2964c8._0x1168e7,_0x216da1-_0x2964c8._0xb58858,_0x2c0ac7-0x17a);}const _0x146668=_0x208574['get'](_0x12efe9['uri']);if(!_0x146668)return;_0x208574['delete'](_0x12efe9['uri']);function _0x386d01(_0x22db1c,_0x2fb21d,_0x4ccc58,_0x5c0214){return _0x30f719(_0x4ccc58,_0x2fb21d-0xcc,_0x22db1c-_0xe03208._0x4c0171,_0x5c0214-0x79);}for(const _0x19f119 of _0x146668)_0x19f119();});function _0x1dec8d(_0x38119c,_0x343234,_0x519071,_0x33c6f9){return _0x120580(_0x343234- -_0x437344._0x5be8c5,_0x519071,_0x519071-_0x437344._0x357021,_0x33c6f9-0x100);}_0x33a126[_0x30f719(_0xf4ae68._0x3146cf,_0xf4ae68._0x1929b2,_0xf4ae68._0x5d838b,0x1a4)]();const _0x3adfdb=await _0x33a126['sendRequest'](_0x1dec8d(_0xf4ae68._0xbc5fdd,_0xf4ae68._0x576bf9,0x4d6,0x4ea),{'processId':process[_0x1dec8d(_0xf4ae68._0x5f23ca,0x401,0x320,0x461)],'rootUri':uriForPath(_0xf3ed4d[_0x30f719(-_0xf4ae68._0x10230d,-_0xf4ae68._0x52f4d4,-0xbf,-0x188)]),'workspaceFolders':[{'uri':uriForPath(_0xf3ed4d['root']),'name':_0xf3ed4d['server']['id']}],'initializationOptions':_0xf3ed4d[_0x30f719(_0xf4ae68._0x4838d3,_0xf4ae68._0x2c8c9f,_0xf4ae68._0xc0c40d,-_0xf4ae68._0x48b4f4)][_0x1dec8d(_0xf4ae68._0x5839f8,0x427,_0xf4ae68._0x593897,0x41f)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x30f719(0x24,-_0xf4ae68._0x135ee5,-0xa,-_0xf4ae68._0x496351),_0x30f719(-_0xf4ae68._0x23c86a,-0x11b,-_0xf4ae68._0x313388,-0x6c)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x33a126[_0x1dec8d(_0xf4ae68._0xf58fa9,0x2f9,0x1c4,0x413)](_0x30f719(_0xf4ae68._0x1705ed,0xdb,_0xf4ae68._0x494bf5,0x1d7),{});const _0x9b3372={'serverId':_0xf3ed4d['server']['id'],'root':_0xf3ed4d['root'],'connection':_0x33a126,'diagnostics':_0x168226,'capabilities':_0x3adfdb[_0x1dec8d(0x284,_0xf4ae68._0x4301ec,0x39c,0x2f0)]??{},'notify':{async 'open'({path:_0x21b81e}){const _0x5e3db8={_0x57c956:0x58,_0x5b6556:0x2b8};function _0x9f897c(_0x76d90c,_0x9fce50,_0x3efd68,_0x3809e6){return _0x1dec8d(_0x76d90c-_0x5e3db8._0x57c956,_0x76d90c- -_0x5e3db8._0x5b6556,_0x3efd68,_0x3809e6-0x147);}function _0x1b56aa(_0x2503fe,_0x491d49,_0x4673c4,_0x295c44){return _0x30f719(_0x295c44,_0x491d49-_0x529a71._0x296408,_0x2503fe-0x231,_0x295c44-_0x529a71._0xaf8d99);}const _0x232cf5=await readFile(_0x21b81e,_0x9f897c(0x10f,_0x4a36fd._0x121382,0x1a8,0x225));_0x33a126['sendNotification'](_0x1b56aa(0x2f2,0x1b6,_0x4a36fd._0x4194d7,0x3a0),{'textDocument':{'uri':uriForPath(_0x21b81e),'languageId':getLanguageId(_0x21b81e)??'plaintext','version':0x1,'text':_0x232cf5}});},async 'change'({path:_0xb757ec,version:_0x19dc03}){function _0x50828a(_0x3241bc,_0x49a041,_0x310450,_0x3bc005){return _0x30f719(_0x310450,_0x49a041-_0x2c93ce._0x387d25,_0x3241bc-_0x2c93ce._0x2e1046,_0x3bc005-_0x2c93ce._0x268a91);}function _0x1525fa(_0x1a6675,_0x4caacb,_0x373bfc,_0x185267){return _0x30f719(_0x4caacb,_0x4caacb-_0x2e6109._0xb50d40,_0x1a6675-0x320,_0x185267-_0x2e6109._0x56a64c);}const _0x22d29e=await readFile(_0xb757ec,_0x50828a(0x577,0x671,0x464,_0xd68f16._0x1e2f23));_0x33a126[_0x1525fa(_0xd68f16._0x5bccc7,0x275,0x364,0x27c)](_0x1525fa(_0xd68f16._0xc8ec87,0x1fc,_0xd68f16._0x57e280,0x35b),{'textDocument':{'uri':uriForPath(_0xb757ec),'version':_0x19dc03},'contentChanges':[{'text':_0x22d29e}]});},async 'close'({path:_0x55a8bd}){const _0x2470f6={_0x512a80:0x648};function _0x241c30(_0x3dcaec,_0x16ecf9,_0x55457e,_0x27d6ef){return _0x30f719(_0x27d6ef,_0x16ecf9-_0x7d997f._0x121357,_0x3dcaec- -0x9b,_0x27d6ef-_0x7d997f._0x5d484e);}function _0x3c6dab(_0x4a5f22,_0x396801,_0x45d34b,_0x141d07){return _0x30f719(_0x141d07,_0x396801-0x9a,_0x396801-_0x2470f6._0x512a80,_0x141d07-0x3);}_0x33a126[_0x3c6dab(0x632,0x5d9,0x5e4,_0x5746af._0x9e15e4)](_0x3c6dab(0x54f,0x546,_0x5746af._0x1d9714,_0x5746af._0x25861b),{'textDocument':{'uri':uriForPath(_0x55a8bd)}});}},'request':{async 'definition'(_0x4680b4){function _0x3ec06c(_0x58bd2a,_0x1f8ea1,_0x5a7ebd,_0x11714d){return _0x30f719(_0x5a7ebd,_0x1f8ea1-0x1a0,_0x58bd2a-_0x48d007._0x4216b6,_0x11714d-_0x48d007._0x24ccca);}return normalizeLocations(await _0x33a126[_0x3ec06c(_0x5363ef._0x33fb13,0x231,_0x5363ef._0x241fac,0x27d)]('textDocument/definition',textDocumentPosition(_0x4680b4)));},async 'references'(_0x1f9fb4){const _0x2ca3ea={_0x1f6922:0xb8};function _0x1a68dd(_0x2b7fb7,_0xf76438,_0x13ab83,_0x4a1941){return _0x30f719(_0x2b7fb7,_0xf76438-0x1b8,_0x13ab83-_0x2ac5ce._0x233225,_0x4a1941-0x138);}function _0x57955b(_0x292891,_0x1898cc,_0x1a8493,_0x6b55c7){return _0x1dec8d(_0x292891-0x6,_0x1898cc- -0x231,_0x6b55c7,_0x6b55c7-_0x2ca3ea._0x1f6922);}return normalizeLocations(await _0x33a126[_0x1a68dd(0x318,0x11a,0x226,0x201)](_0x57955b(_0x10f9a4._0x5d0ebe,0x136,0x147,0x145),{...textDocumentPosition(_0x1f9fb4),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x17b8cb){const _0x5171f5={_0x266266:0xff,_0x1e7964:0x262};function _0x1ef299(_0x46fb0e,_0x28dc8e,_0x3b2f51,_0x14a6f4){return _0x1dec8d(_0x46fb0e-_0x5171f5._0x266266,_0x3b2f51- -_0x5171f5._0x1e7964,_0x28dc8e,_0x14a6f4-0x2f);}function _0x2eeafc(_0x4e2638,_0x5c3ac0,_0x21a451,_0x4a3af3){return _0x1dec8d(_0x4e2638-0x190,_0x5c3ac0- -0x171,_0x4a3af3,_0x4a3af3-0x14a);}return await _0x33a126[_0x1ef299(-0x66,-_0x4d1b9b._0x108d75,-0x60,0x72)](_0x1ef299(-_0x4d1b9b._0x329158,-0xd2,-_0x4d1b9b._0xc3934c,_0x4d1b9b._0x5a4ca6),textDocumentPosition(_0x17b8cb))??null;},async 'documentSymbol'(_0x1cf5e4){const _0x278610={_0x598b60:0x31},_0x25ef95={_0x178979:0x68e,_0x5d6a7e:0xa6};function _0x5eaf1c(_0x54454c,_0x1c3d66,_0x548bff,_0x1234b5){return _0x30f719(_0x54454c,_0x1c3d66-0x57,_0x548bff-_0x25ef95._0x178979,_0x1234b5-_0x25ef95._0x5d6a7e);}function _0x2c5c0c(_0x209eaf,_0x5a642f,_0xa4185a,_0x4dcd13){return _0x1dec8d(_0x209eaf-0x197,_0x5a642f-0x2bf,_0x4dcd13,_0x4dcd13-_0x278610._0x598b60);}return await _0x33a126[_0x2c5c0c(0x586,0x4c1,0x5cd,0x403)](_0x5eaf1c(0x4e2,0x5af,0x623,0x63c),{'textDocument':{'uri':uriForPath(_0x1cf5e4)}})??[];},async 'workspaceSymbol'(_0x150dea){const _0x237d6d={_0x2533cb:0x12f};function _0x2d4c26(_0x421e70,_0x3256ff,_0x46ca7c,_0x175a4d){return _0x30f719(_0x421e70,_0x3256ff-0x1da,_0x3256ff-0x6a6,_0x175a4d-0xbb);}function _0x1943fb(_0x15d08f,_0x23a24f,_0x517325,_0x49482d){return _0x1dec8d(_0x15d08f-0x1d3,_0x517325- -0x281,_0x49482d,_0x49482d-_0x237d6d._0x2533cb);}return await _0x33a126[_0x2d4c26(_0x18a959._0x5579d5,_0x18a959._0x1d6232,0x4ad,0x502)](_0x2d4c26(_0x18a959._0x52dc47,0x65e,_0x18a959._0x68740d,_0x18a959._0x1f29bf),{'query':_0x150dea})??[];},async 'implementation'(_0x1135bd){const _0x3d4f02={_0x542c4e:0xfc,_0x3eddf5:0x128};function _0x1945c0(_0x111aff,_0x3551f6,_0x45d81b,_0x405646){return _0x1dec8d(_0x111aff-0x8d,_0x45d81b-0x214,_0x405646,_0x405646-0x11c);}function _0x37764b(_0x2aae20,_0x95572e,_0x4317cb,_0xa728b2){return _0x1dec8d(_0x2aae20-0x187,_0xa728b2- -_0x3d4f02._0x542c4e,_0x95572e,_0xa728b2-_0x3d4f02._0x3eddf5);}return normalizeLocations(await _0x33a126[_0x37764b(0x20d,0x11e,0x24b,_0x2b9ba5._0x20939a)](_0x37764b(_0x2b9ba5._0x59eac1,0x280,0x1e4,0x146),textDocumentPosition(_0x1135bd)));},async 'prepareCallHierarchy'(_0x4cf331){function _0x3d2c91(_0x205064,_0x2e363d,_0x43d5a8,_0x532f79){return _0x30f719(_0x205064,_0x2e363d-_0x42f0c5._0x500b19,_0x532f79-_0x42f0c5._0x1d6e80,_0x532f79-0xcd);}return await _0x33a126[_0x3d2c91(-_0x112f7b._0x403847,0x114,_0x112f7b._0x3f7ed6,0x2d)]('textDocument/prepareCallHierarchy',textDocumentPosition(_0x4cf331))??[];},async 'incomingCalls'(_0x139547){const _0x508e89={_0x420318:0x1cc,_0x1abb9c:0x4cd};function _0x5bd451(_0x2f4094,_0x20d95c,_0x113c50,_0x3f3959){return _0x30f719(_0x113c50,_0x20d95c-_0x508e89._0x420318,_0x20d95c-_0x508e89._0x1abb9c,_0x3f3959-0x54);}function _0x4f8ad0(_0x42e91c,_0x26aa92,_0x6b565b,_0x528b82){return _0x1dec8d(_0x42e91c-0x154,_0x42e91c-0xb3,_0x26aa92,_0x528b82-0x5c);}return await _0x33a126[_0x5bd451(0x401,_0x1713f2._0x3774e0,0x43c,0x447)](_0x5bd451(_0x1713f2._0x304a7e,0x3a8,0x4b9,_0x1713f2._0x1b787e),{'item':_0x139547})??[];},async 'outgoingCalls'(_0x2f51ea){function _0xc56216(_0x353335,_0x5e61d2,_0x892c57,_0x417d69){return _0x30f719(_0x892c57,_0x5e61d2-_0x5d4274._0x340ea6,_0x353335-_0x5d4274._0x52dcb7,_0x417d69-_0x5d4274._0x18be9e);}function _0x2fddfa(_0x56ce35,_0x3e3454,_0x4c5aff,_0x2be326){return _0x30f719(_0x4c5aff,_0x3e3454-_0x2a27f2._0x5571ae,_0x3e3454-_0x2a27f2._0x58d052,_0x2be326-0x145);}return await _0x33a126[_0x2fddfa(_0x49119b._0x4ec90c,_0x49119b._0x30423f,0x34f,_0x49119b._0x4f52c7)](_0xc56216(0x37a,_0x49119b._0x5d8a96,_0x49119b._0x2479d4,0x375),{'item':_0x2f51ea})??[];}},'waitForDiagnostics'({path:_0x260e56,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0xaad08f={_0x1610d8:0x11a,_0x3bab69:0x122},_0x14f988={_0x5a3c55:0x40,_0x3ede7f:0x87};function _0x1a6b76(_0x5e085a,_0x3d1f2e,_0x4b1340,_0xad015a){return _0x30f719(_0x3d1f2e,_0x3d1f2e-_0x42905f._0x5794d7,_0xad015a- -_0x42905f._0x52ea44,_0xad015a-0x99);}function _0x36c9e1(_0x3e466e,_0x31b3f4,_0xa991ea,_0x5b72aa){return _0x30f719(_0x5b72aa,_0x31b3f4-0x166,_0xa991ea-_0x206ce2._0x4ce0a5,_0x5b72aa-_0x206ce2._0x31c0af);}const _0x237ab1=uriForPath(_0x260e56);if(_0x168226[_0x1a6b76(-_0x4226d8._0x5c3877,-_0x4226d8._0x361f88,_0x4226d8._0x38d41b,-_0x4226d8._0x3784b8)](_0x237ab1))return Promise[_0x1a6b76(-_0x4226d8._0x5a23cc,-0x21b,-0x184,-_0x4226d8._0x18d44f)]();return new Promise(_0x4c8c6c=>{const _0x5b067f={_0x2b5ddb:0x1ee,_0x23c2e3:0x1b},_0x421e43={_0x1355f5:0x78a,_0x4598e9:0x8cb,_0xed2060:0x648,_0x946fd9:0x517,_0x3a86b7:0x647,_0x1f0bf9:0x71f,_0xb9a8dc:0x6f1,_0xe2fd2d:0x65d},_0x42c9ed={_0x10c061:0x37b},_0x4fe385=setTimeout(()=>{const _0x435937=_0x208574[_0x3b0d29(0x820,_0x421e43._0x1355f5,_0x421e43._0x4598e9,0x6cc)](_0x237ab1);function _0x20bad5(_0x364539,_0x32dc3f,_0x18a2c6,_0x3b1104){return _0x4f9a(_0x32dc3f-0x210,_0x18a2c6);}function _0x3b0d29(_0x2902a0,_0x47b1a5,_0x5222b3,_0x3b03a7){return _0x4f9a(_0x47b1a5-_0x42c9ed._0x10c061,_0x3b03a7);}_0x435937?.['delete'](_0x107d8d);if(_0x435937?.[_0x3b0d29(_0x421e43._0xed2060,0x63c,_0x421e43._0x946fd9,_0x421e43._0x3a86b7)]===0x0)_0x208574[_0x3b0d29(_0x421e43._0x1f0bf9,0x6b1,_0x421e43._0xb9a8dc,_0x421e43._0xe2fd2d)](_0x237ab1);_0x4c8c6c();},timeoutMs);function _0x5b9fc0(_0x23ba87,_0x2ea4c4,_0x3a6b81,_0x14b9d0){return _0x1a6b76(_0x23ba87-_0x14f988._0x5a3c55,_0x14b9d0,_0x3a6b81-_0x14f988._0x3ede7f,_0x3a6b81-0x2ec);}function _0xaf5b65(_0x182eb0,_0x373893,_0x443f0b,_0x337e3c){return _0x36c9e1(_0x182eb0-_0x5b067f._0x2b5ddb,_0x373893-0x131,_0x182eb0- -_0x5b067f._0x23c2e3,_0x443f0b);}const _0x107d8d=()=>{clearTimeout(_0x4fe385),_0x4c8c6c();},_0x46ff86=_0x208574[_0xaf5b65(_0xaad08f._0x1610d8,0x17f,0x21b,0x1c8)](_0x237ab1)??new Set();_0x46ff86[_0x5b9fc0(0x101,0x26f,0x214,0x32d)](_0x107d8d),_0x208574[_0xaf5b65(_0xaad08f._0x3bab69,0x6c,0x67,0xe2)](_0x237ab1,_0x46ff86);});},async 'shutdown'(){const _0x188fc5={_0x1de7ae:0x42d,_0x451f65:0xfa},_0x5d0829={_0x4d7c89:0x169,_0x41937a:0x2f0};if(_0x5c007c)return;function _0x35978d(_0x62ccfc,_0x3b2354,_0x82c3d3,_0x4b191c){return _0x1dec8d(_0x62ccfc-_0x5d0829._0x4d7c89,_0x62ccfc-_0x5d0829._0x41937a,_0x82c3d3,_0x4b191c-0x110);}_0x5c007c=!![];function _0x4a2bd8(_0x1774c2,_0x21de5d,_0x52961b,_0x1f544b){return _0x1dec8d(_0x1774c2-0xb0,_0x1f544b- -_0x188fc5._0x1de7ae,_0x52961b,_0x1f544b-_0x188fc5._0x451f65);}try{await _0x33a126['sendRequest'](_0x35978d(0x6a0,_0x23a25f._0x18916c,_0x23a25f._0x4eacaa,_0x23a25f._0x165936),null),_0x33a126[_0x4a2bd8(-0xc3,-_0x23a25f._0x190d0a,-0x1da,-_0x23a25f._0x2f4545)](_0x35978d(_0x23a25f._0x27ab24,0x76e,0x695,_0x23a25f._0x28f523));}catch{}finally{_0x33a126['dispose'](),_0xf3ed4d['handle'][_0x35978d(0x675,_0x23a25f._0xe8dcf9,0x637,0x78f)][_0x4a2bd8(-0x1d0,-_0x23a25f._0x40e657,-0x156,-_0x23a25f._0x56a0b2)]();}}};return _0x9b3372;}import{spawn as _0x5dea84}from'child_process';import{access as _0x5e1dcb}from'fs/promises';import _0x257501 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x1b29e8 from'os';import _0x433766 from'path';import _0x46f284 from'which';var installPromises=new Map();function sanitizePackageName(_0x846204){const _0x41a563={_0xc99a4c:0x3a3,_0x57cdcb:0x4bb,_0x10af05:0x51b},_0x5e292e={_0x58fb3e:0xfe,_0x1a4ede:0x68};function _0x1d6f43(_0x2a5c46,_0x3e5576,_0x22dbb2,_0xf5d106){return _0x43e84c(_0x2a5c46-_0x5e292e._0x58fb3e,_0x2a5c46,_0x22dbb2-0xea,_0x22dbb2-_0x5e292e._0x1a4ede);}return _0x846204['replace'](/^@/,'')[_0x1d6f43(_0x41a563._0xc99a4c,_0x41a563._0x57cdcb,0x43c,_0x41a563._0x10af05)](/[/]/g,'__');}function binaryNameForPlatform(_0x2c9f77){const _0x2a4a90={_0x54c6ce:0x3ba,_0x4ad4ac:0x4da,_0x439666:0x633,_0x13953e:0x5d9,_0x262b04:0x576},_0x11778b={_0x39b21f:0x91},_0x431449={_0x2b8474:0x178};function _0x160482(_0x93f4ca,_0x46cc39,_0x1d9327,_0x55e305){return _0x120580(_0x1d9327- -0x48,_0x55e305,_0x1d9327-_0x431449._0x2b8474,_0x55e305-0x35);}function _0x1bfd15(_0x430d47,_0x5187cb,_0x21de0b,_0x3c03d1){return _0x120580(_0x5187cb- -0x19,_0x3c03d1,_0x21de0b-_0x11778b._0x39b21f,_0x3c03d1-0xad);}return process[_0x160482(0x4e7,0x33f,_0x2a4a90._0x54c6ce,_0x2a4a90._0x4ad4ac)]===_0x160482(0x6e9,_0x2a4a90._0x439666,_0x2a4a90._0x13953e,_0x2a4a90._0x262b04)?_0x2c9f77+_0x160482(0x42e,0x50d,0x526,0x4dd):_0x2c9f77;}async function exists(_0x45e516){try{return await access(_0x45e516),!![];}catch{return![];}}function runNpmInstall(_0x2bb113,_0x209a8c,_0x2a6258){const _0x58c1f7={_0x374111:0x3ba,_0x286b0a:0x45e,_0x5acaef:0x2f0,_0x39a6cc:0x361,_0x5baa71:0x67d,_0xd59b2a:0x529,_0x1e9027:0x6bf,_0xef24aa:0x5cc,_0x48d134:0x537,_0x1108a5:0x52e,_0x55c00b:0x245,_0x4e05b1:0x34e,_0x5e6c38:0x492,_0x1cf248:0x557,_0x26812d:0x57d,_0x42b1f5:0x327,_0x52ccda:0x2b3},_0x420e86={_0x3f2da4:0x4f};return new Promise(_0x1f5223=>{const _0x3cbf0e=spawn(_0xcf9271(_0x58c1f7._0x374111,_0x58c1f7._0x286b0a,_0x58c1f7._0x5acaef,_0x58c1f7._0x39a6cc),[_0x34da9d(_0x58c1f7._0x5baa71,_0x58c1f7._0xd59b2a,_0x58c1f7._0x1e9027,0x5df),_0x34da9d(_0x58c1f7._0xef24aa,_0x58c1f7._0x48d134,0x5e5,_0x58c1f7._0x1108a5),_0x2bb113,_0x209a8c],{'env':_0x2a6258,'stdio':_0xcf9271(_0x58c1f7._0x55c00b,0x352,_0x58c1f7._0x4e05b1,0x260)});function _0x34da9d(_0x47638f,_0x2e7b01,_0x2a117d,_0x4d0f55){return _0x4f9a(_0x4d0f55-0x36b,_0x2a117d);}function _0xcf9271(_0x5af559,_0x214345,_0x5b641b,_0xfaffaf){return _0x4f9a(_0xfaffaf-_0x420e86._0x3f2da4,_0x5af559);}_0x3cbf0e['on'](_0x34da9d(_0x58c1f7._0x5e6c38,_0x58c1f7._0x1cf248,_0x58c1f7._0x26812d,0x5ce),()=>_0x1f5223(![])),_0x3cbf0e['on'](_0xcf9271(_0x58c1f7._0x42b1f5,0x3f6,0x18d,_0x58c1f7._0x52ccda),_0x3c89c8=>_0x1f5223(_0x3c89c8===0x0));});}function shouldDisableLspDownload(_0x372e5e=process[_0x120580(0x4da,0x539,0x5b4,0x5d1)]){const _0x3152c6={_0x1a30af:0x747,_0x57cc16:0x721,_0x3a546f:0x664},_0x5487b6={_0x144078:0x5c};function _0x407f8d(_0x22cb58,_0x14f2cc,_0x7e790a,_0x4e5838){return _0x43e84c(_0x22cb58-0xb0,_0x4e5838,_0x7e790a-0xca,_0x14f2cc-0x1e5);}function _0x537a9c(_0x1eaa19,_0x2e202a,_0x190ae1,_0x5116ce){return _0x120580(_0x5116ce- -0x23f,_0x1eaa19,_0x190ae1-0x115,_0x5116ce-_0x5487b6._0x144078);}const _0x5de793=_0x372e5e[_0x407f8d(_0x3152c6._0x1a30af,0x66f,_0x3152c6._0x57cc16,0x562)]?.[_0x407f8d(0x646,0x617,0x6f5,0x67e)]();return _0x5de793===_0x407f8d(0x7c3,0x76e,_0x3152c6._0x3a546f,0x735)||_0x5de793==='1'||_0x5de793==='yes'||_0x5de793==='on';}function getLspPackageDir(_0x1d40ae){const _0x69ec57={_0x3af990:0x48d,_0x4b7028:0x4d6,_0x9ec596:0x492,_0x2de7e4:0x3ce,_0x44eaa8:0x53e,_0x5e1864:0x62b,_0x30bacf:0x418,_0x45a467:0x33e},_0x1a3276={_0xe439d9:0x139,_0x8ab969:0xf5,_0x1f1f93:0x193},_0x3c82a1={_0x1133d5:0x8e,_0x97ddc3:0x39};function _0x162069(_0x30c067,_0x3d58a3,_0x42fb2d,_0x17dbaf){return _0x120580(_0x3d58a3- -_0x3c82a1._0x1133d5,_0x17dbaf,_0x42fb2d-0xaf,_0x17dbaf-_0x3c82a1._0x97ddc3);}function _0x3e6ce7(_0xa8d4b4,_0x214e69,_0x32528c,_0x49706d){return _0x43e84c(_0xa8d4b4-_0x1a3276._0xe439d9,_0x214e69,_0x32528c-_0x1a3276._0x8ab969,_0xa8d4b4-_0x1a3276._0x1f1f93);}return _0x433766[_0x162069(0x56b,_0x69ec57._0x3af990,_0x69ec57._0x4b7028,0x36c)](_0x1b29e8[_0x162069(0x486,_0x69ec57._0x9ec596,0x35c,_0x69ec57._0x2de7e4)](),_0x162069(0x62a,_0x69ec57._0x44eaa8,_0x69ec57._0x5e1864,_0x69ec57._0x30bacf),'lsp',_0x162069(0x2dc,_0x69ec57._0x45a467,0x2e7,0x437),sanitizePackageName(_0x1d40ae));}function getLspBinDir(_0x22d665){const _0x43cdb8={_0x20a46a:0x539,_0x1541a1:0x3fc,_0x323431:0x427,_0x46e97d:0x548,_0x348ff4:0x526,_0x19c88b:0x4ba,_0x45350b:0x436},_0x20fa89={_0x2cd231:0x9d},_0x231ecb={_0x5686ed:0x157,_0x2899d6:0x50};function _0x56083b(_0x45821f,_0x1641f7,_0xa3db79,_0x157e57){return _0x120580(_0xa3db79- -0x41,_0x157e57,_0xa3db79-_0x231ecb._0x5686ed,_0x157e57-_0x231ecb._0x2899d6);}function _0x3ba731(_0x515739,_0x13017e,_0x1104fb,_0x3d7279){return _0x43e84c(_0x515739-_0x20fa89._0x2cd231,_0x13017e,_0x1104fb-0x11c,_0x515739-0xc2);}return _0x433766[_0x3ba731(_0x43cdb8._0x20a46a,0x48f,_0x43cdb8._0x1541a1,_0x43cdb8._0x323431)](getLspPackageDir(_0x22d665),_0x3ba731(_0x43cdb8._0x46e97d,_0x43cdb8._0x348ff4,_0x43cdb8._0x19c88b,_0x43cdb8._0x45350b),'.bin');}async function findPackageBinary(_0x3a518f,_0x5895ec){const _0x25de6e={_0x576488:0x322,_0x50db82:0x623,_0x4202fd:0x5b9,_0x561e82:0x511,_0x449e91:0x566,_0x1e9be4:0x559,_0x24fcba:0x471,_0x4af770:0x48e,_0x1087f1:0x3c8,_0x16f4dc:0x361},_0x143a6e={_0x5c920a:0x18e,_0x188939:0x3f},_0x48437f={_0x15243d:0xaa};let _0x342809=_0x433766[_0x5a78bc(_0x25de6e._0x576488,0x28e,0x201,0x36c)](_0x5895ec);function _0x5a78bc(_0x5321a6,_0x55727c,_0x4524d2,_0x254e1b){return _0x43e84c(_0x5321a6-0x59,_0x254e1b,_0x4524d2-_0x48437f._0x15243d,_0x5321a6- -0x63);}function _0x19c6cf(_0x129b49,_0x44db94,_0x38b6bf,_0xc6da26){return _0x43e84c(_0x129b49-_0x143a6e._0x5c920a,_0x44db94,_0x38b6bf-_0x143a6e._0x188939,_0x129b49-0x1ac);}const _0x33861a=binaryNameForPlatform(_0x3a518f);while(!![]){const _0x224e96=_0x433766[_0x19c6cf(_0x25de6e._0x50db82,_0x25de6e._0x4202fd,0x676,0x5cc)](_0x342809,'node_modules',_0x5a78bc(_0x25de6e._0x561e82,_0x25de6e._0x449e91,0x5de,_0x25de6e._0x1e9be4),_0x33861a);if(await exists(_0x224e96))return _0x224e96;const _0x52d6fd=_0x433766[_0x5a78bc(_0x25de6e._0x24fcba,_0x25de6e._0x4af770,_0x25de6e._0x1087f1,_0x25de6e._0x16f4dc)](_0x342809);if(_0x52d6fd===_0x342809)return void 0x0;_0x342809=_0x52d6fd;}}async function findPathBinary(_0x4a8fde,_0x270d9e){const _0x1e63ff={_0x480cf3:0x4ff,_0x3ddcdb:0x6cc,_0x43bd20:0x6b9,_0x4d99af:0x5e8,_0xd2b25:0x47d,_0x205495:0x4c6,_0xcd4a6c:0x562,_0xf8fa28:0x66f},_0x3367fb={_0x91a5d4:0x1e3,_0x395677:0x88},_0x4122b4={_0x2c7a56:0x14a,_0x331110:0x1b7};function _0x58fb70(_0xfdc1a9,_0x32a374,_0x11e66c,_0x2d21c7){return _0x43e84c(_0xfdc1a9-_0x4122b4._0x2c7a56,_0x11e66c,_0x11e66c-_0x4122b4._0x331110,_0x2d21c7-0xc9);}function _0x157b66(_0x1cc464,_0x38badb,_0x2f1a19,_0x565f81){return _0x43e84c(_0x1cc464-_0x3367fb._0x91a5d4,_0x38badb,_0x2f1a19-_0x3367fb._0x395677,_0x2f1a19- -0x1f6);}const _0x93aa09=getLspBinDir(_0x270d9e),_0x20f94d=[_0x93aa09,process[_0x58fb70(0x3ee,0x4b2,0x5cb,_0x1e63ff._0x480cf3)][_0x58fb70(0x69f,_0x1e63ff._0x3ddcdb,_0x1e63ff._0x43bd20,_0x1e63ff._0x4d99af)]][_0x58fb70(0x5c9,0x40c,_0x1e63ff._0xd2b25,0x524)](Boolean)[_0x58fb70(_0x1e63ff._0x205495,0x557,0x4a8,0x540)](_0x433766[_0x58fb70(_0x1e63ff._0xcd4a6c,0x6c6,_0x1e63ff._0xf8fa28,0x5bf)]);try{return await _0x46f284(_0x4a8fde,{'path':_0x20f94d});}catch{return void 0x0;}}async function resolvePackageBinary(_0x44f2d8){const _0x46d294={_0x1199e8:0xbd,_0x33b182:0xab,_0x191e18:0x1a5,_0x363f1a:0xff,_0x4906b7:0x27,_0x37ff38:0x40,_0x4bd46b:0x13,_0x483ab7:0x25,_0xcbe97d:0x127,_0x38f1cf:0x199,_0x3e4640:0x2d4,_0x4bcdf5:0x42,_0x37c07c:0x1fb,_0x2042db:0xd3},_0x1f37d6={_0x122b3d:0x159,_0x36f7f3:0x2b5,_0x55fee0:0x58a,_0x3725a0:0x523,_0x154074:0x2f2},_0x2d9071={_0x15687b:0x10a,_0x31b2bc:0x3b5},_0xaaee55={_0x23c958:0x346,_0x38286d:0x119,_0x44f884:0x1db},_0x5b0374={_0x117bab:0xf1,_0x10c9f4:0x14a,_0x385b4b:0x486},_0xb20fc6=_0x44f2d8[_0x1d8d76(-_0x46d294._0x1199e8,-0x95,_0x46d294._0x33b182,-0x43)]??_0x44f2d8[_0x1d8d76(_0x46d294._0x191e18,_0x46d294._0x363f1a,0x227,0xb0)],_0x3b7b1b=await findPackageBinary(_0xb20fc6,_0x44f2d8[_0x1d8d76(-_0x46d294._0x4906b7,-_0x46d294._0x37ff38,_0x46d294._0x4bd46b,_0x46d294._0x483ab7)]);if(_0x3b7b1b)return _0x3b7b1b;const _0x123754=await findPathBinary(_0xb20fc6,_0x44f2d8['packageName']);if(_0x123754)return _0x123754;function _0x1d8d76(_0x110739,_0x476894,_0x34249a,_0x1001c0){return _0x43e84c(_0x110739-_0x5b0374._0x117bab,_0x1001c0,_0x34249a-_0x5b0374._0x10c9f4,_0x476894- -_0x5b0374._0x385b4b);}const _0x50783a=_0x44f2d8['env']??process['env'];function _0x3b84e7(_0x366359,_0x4ffc8f,_0x4e46e6,_0x27047f){return _0x120580(_0x4e46e6- -_0xaaee55._0x23c958,_0x27047f,_0x4e46e6-_0xaaee55._0x38286d,_0x27047f-_0xaaee55._0x44f884);}if(shouldDisableLspDownload(_0x50783a))return void 0x0;const _0x185207=getLspPackageDir(_0x44f2d8['packageName']),_0x315666=_0x44f2d8[_0x1d8d76(_0x46d294._0xcbe97d,0xff,0xe7,_0x46d294._0x38f1cf)]+':'+_0xb20fc6;let _0x4ea544=installPromises[_0x3b84e7(0x199,0x3e7,_0x46d294._0x3e4640,0x418)](_0x315666);!_0x4ea544&&(_0x4ea544=((async()=>{await mkdir(_0x185207,{'recursive':!![]});function _0x43f869(_0xbcccbd,_0x44dd17,_0xb01df2,_0x12c8f0){return _0x3b84e7(_0xbcccbd-0xbe,_0x44dd17-0x2a,_0xbcccbd- -0x4e,_0x12c8f0);}const _0x38f81f=await runNpmInstall(_0x185207,_0x44f2d8[_0x43f869(0x295,0x1a9,_0x1f37d6._0x122b3d,_0x1f37d6._0x36f7f3)],_0x50783a);if(!_0x38f81f)return void 0x0;function _0x2a62f8(_0x5222f5,_0x58768e,_0x53bf02,_0x4f550d){return _0x3b84e7(_0x5222f5-_0x2d9071._0x15687b,_0x58768e-0xec,_0x5222f5-_0x2d9071._0x31b2bc,_0x4f550d);}const _0x2d55ea=_0x433766[_0x2a62f8(_0x1f37d6._0x55fee0,0x5bc,0x5f9,_0x1f37d6._0x3725a0)](getLspBinDir(_0x44f2d8[_0x43f869(0x295,0x224,0x158,_0x1f37d6._0x154074)]),binaryNameForPlatform(_0xb20fc6));return await exists(_0x2d55ea)?_0x2d55ea:void 0x0;})()),installPromises[_0x1d8d76(0x230,0xf8,-_0x46d294._0x4bcdf5,0x67)](_0x315666,_0x4ea544));try{return await _0x4ea544;}catch{return void 0x0;}finally{installPromises[_0x3b84e7(0x28b,0x314,_0x46d294._0x37c07c,_0x46d294._0x2042db)](_0x315666);}}var TYPESCRIPT_EXTENSIONS=[_0x43e84c(0x561,0x4fc,0x4d2,0x4e5),_0x120580(0x497,0x519,0x483,0x52d),'.js','.jsx',_0x120580(0x4a4,0x38b,0x59f,0x490),_0x120580(0x62c,0x526,0x578,0x551),_0x43e84c(0x466,0x468,0x44f,0x3b0),'.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x43e84c(0x404,0x5d3,0x44e,0x509),_0x43e84c(0x2ca,0x3e6,0x214,0x30a)],TYPESCRIPT_ROOT_MARKERS=[_0x120580(0x530,0x52c,0x676,0x470),_0x43e84c(0x63f,0x49e,0x45d,0x572),'bun.lock',_0x120580(0x438,0x3c0,0x527,0x3ce),_0x43e84c(0x4af,0x3ea,0x407,0x441),_0x120580(0x5da,0x53a,0x71e,0x4c3),_0x43e84c(0x47d,0x471,0x60c,0x4d6),_0x43e84c(0x432,0x490,0x493,0x43a)],BIOME_ROOT_MARKERS=[_0x43e84c(0x277,0x286,0x31c,0x39e),_0x43e84c(0x41d,0x3c2,0x4b4,0x383),_0x43e84c(0x477,0x557,0x597,0x48c),_0x120580(0x616,0x6b3,0x665,0x717),'bun.lock',_0x43e84c(0x36c,0x293,0x48f,0x394),_0x43e84c(0x326,0x55c,0x3ef,0x441),_0x43e84c(0x49b,0x525,0x3b4,0x43a)];async function exists2(_0x2048af){try{return await _0x5e1dcb(_0x2048af),!![];}catch{return![];}}async function findUp(_0x2a4663,_0x119598){const _0x21989d={_0x3776a3:0xb8,_0x3a6940:0x60,_0x204f45:0xc2,_0x1e28b8:0xaa,_0x1c7dca:0x1c3,_0x577c71:0x206,_0x271ab0:0x25c,_0x394df7:0x10,_0x39012f:0x201,_0x4a34db:0x16b,_0x514dac:0x1af,_0x5526c2:0x2b8,_0x46d28d:0x284},_0x56d16c={_0x2c4edc:0x3c9,_0x27c878:0x7b,_0x419cfa:0x11},_0x5b8381={_0x4d6abc:0x19b};let _0x12615e=_0x257501[_0x4824e8(-_0x21989d._0x3776a3,_0x21989d._0x3a6940,_0x21989d._0x204f45,-_0x21989d._0x1e28b8)](_0x2a4663);const _0x565f5a=_0x257501[_0x4824e8(_0x21989d._0x1c7dca,_0x21989d._0x577c71,0xf1,_0x21989d._0x271ab0)](_0x12615e);function _0x2d204a(_0x181649,_0x58fee0,_0x5bd58c,_0x150033){return _0x120580(_0x58fee0-0xd5,_0x150033,_0x5bd58c-_0x5b8381._0x4d6abc,_0x150033-0x1c7);}if(_0x565f5a)_0x12615e=_0x257501['dirname'](_0x12615e);function _0x4824e8(_0x2bae95,_0x20d8e2,_0xc52cfd,_0x437ff8){return _0x120580(_0x20d8e2- -_0x56d16c._0x2c4edc,_0x437ff8,_0xc52cfd-_0x56d16c._0x27c878,_0x437ff8-_0x56d16c._0x419cfa);}while(!![]){for(const _0x321e8c of _0x119598){if(await exists2(_0x257501[_0x4824e8(0x1f4,0x152,_0x21989d._0x394df7,_0x21989d._0x39012f)](_0x12615e,_0x321e8c)))return _0x12615e;}const _0x216984=_0x257501[_0x4824e8(_0x21989d._0x4a34db,_0x21989d._0x514dac,_0x21989d._0x5526c2,_0x21989d._0x46d28d)](_0x12615e);if(_0x216984===_0x12615e)return void 0x0;_0x12615e=_0x216984;}}async function hasDenoRoot(_0x12c72b){const _0x2ebcaa={_0xf6a653:0x66e,_0x18b528:0x5e4,_0x593aba:0x5b8,_0x4db80e:0x307,_0x5b3c9e:0x2f1,_0x553a6:0x24f,_0x3d4134:0x60f,_0x393481:0x59f,_0xa9e73f:0x30f,_0x1f43f6:0x247},_0xa6c56={_0x3d71fe:0x278};function _0x1abf0d(_0x16fb6d,_0x35ced4,_0x5c4784,_0x437b55){return _0x120580(_0x437b55- -_0xa6c56._0x3d71fe,_0x35ced4,_0x5c4784-0xd1,_0x437b55-0x145);}function _0x24cfcf(_0x320fd5,_0x4f1c66,_0x20fedf,_0x136c0a){return _0x120580(_0x320fd5-0x153,_0x4f1c66,_0x20fedf-0x1c,_0x136c0a-0x155);}return await exists2(_0x257501[_0x24cfcf(_0x2ebcaa._0xf6a653,0x550,_0x2ebcaa._0x18b528,_0x2ebcaa._0x593aba)](_0x12c72b,_0x1abf0d(0x2ba,_0x2ebcaa._0x4db80e,_0x2ebcaa._0x5b3c9e,_0x2ebcaa._0x553a6)))||await exists2(_0x257501[_0x24cfcf(0x66e,_0x2ebcaa._0x3d4134,_0x2ebcaa._0x393481,0x79a)](_0x12c72b,_0x1abf0d(_0x2ebcaa._0xa9e73f,0x2be,0x37f,_0x2ebcaa._0x1f43f6)));}async function resolveTsserverPath(_0x4dfd17){const _0x213823={_0x3007ff:0x1ae,_0x177da0:0x19b,_0x5d3513:0x1a4,_0x21e54d:0x223,_0x3557b9:0x399,_0x2bca49:0x28d,_0x3c9bdb:0x182,_0x5e5307:0x3d8,_0x6e1066:0x3bb,_0x5749c8:0x397,_0x4a1aac:0x245,_0x48a047:0x9b,_0x544e83:0x16c,_0x41036a:0x22a,_0x1e5bcf:0x24e,_0x3a6513:0x324,_0x48a952:0x4c8,_0x326419:0x521,_0x270d4b:0x5bf,_0x40c7a1:0x613,_0xb6936a:0x5bf,_0x318778:0x499,_0x4189d4:0x3b2,_0x5276e5:0x503,_0x3a9600:0x4b5,_0x3c7483:0x55c,_0x405da7:0x4c4,_0x7d7402:0x49d,_0x1149c6:0x394},_0x5e0ff0={_0x1fb4a0:0x18a},_0x58db8d={_0x2f9ab3:0x66};let _0x45b4bf=_0x257501[_0x56ac03(_0x213823._0x3007ff,0xea,_0x213823._0x177da0,_0x213823._0x5d3513)](_0x4dfd17);while(!![]){const _0xdd6962=_0x257501[_0x56ac03(_0x213823._0x21e54d,_0x213823._0x3557b9,_0x213823._0x2bca49,_0x213823._0x3c9bdb)](_0x45b4bf,_0x56ac03(_0x213823._0x5e5307,0x265,0x29c,0x1b7),_0x56ac03(_0x213823._0x6e1066,0x293,_0x213823._0x5749c8,0x4af),_0x56ac03(_0x213823._0x4a1aac,_0x213823._0x48a047,_0x213823._0x544e83,0x199),_0x56ac03(_0x213823._0x3c9bdb,_0x213823._0x41036a,_0x213823._0x1e5bcf,_0x213823._0x3a6513));if(await exists2(_0xdd6962))return _0xdd6962;const _0x135537=_0x257501[_0x4d5076(0x5b2,_0x213823._0x48a952,0x550,0x512)](_0x45b4bf);if(_0x135537===_0x45b4bf)break;_0x45b4bf=_0x135537;}const _0xb7a631=getLspPackageDir(_0x4d5076(0x51a,_0x213823._0x326419,0x481,_0x213823._0x270d4b)),_0x4ae6ae=await resolvePackageBinary({'packageName':_0x4d5076(0x581,_0x213823._0x40c7a1,0x528,_0x213823._0xb6936a),'binaryName':_0x4d5076(0x35b,0x3e3,_0x213823._0x318778,0x38a),'startDir':_0x4dfd17});function _0x4d5076(_0x34126f,_0x93c8b8,_0x2f9d52,_0x403ac8){return _0x120580(_0x403ac8- -_0x58db8d._0x2f9ab3,_0x34126f,_0x2f9d52-0x101,_0x403ac8-0x151);}function _0x56ac03(_0xde1a42,_0x2069d1,_0x598066,_0x5afdc5){return _0x43e84c(_0xde1a42-0x3e,_0x5afdc5,_0x598066-_0x5e0ff0._0x1fb4a0,_0x598066- -0x1ea);}if(!_0x4ae6ae)return void 0x0;const _0x27dc5a=_0x257501[_0x4d5076(_0x213823._0x4189d4,_0x213823._0x5276e5,0x39e,_0x213823._0x3a9600)](_0xb7a631,_0x4d5076(_0x213823._0x3c7483,0x599,0x449,_0x213823._0x405da7),'typescript',_0x4d5076(0x4a6,_0x213823._0x7d7402,0x3af,_0x213823._0x1149c6),'tsserver.js');return await exists2(_0x27dc5a)?_0x27dc5a:void 0x0;}var TypeScriptServer={'id':_0x43e84c(0x49d,0x4b7,0x5b5,0x581),'name':_0x43e84c(0x279,0x4a9,0x494,0x3b5),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x215e92){const _0x1cc5dc=await findUp(_0x215e92,TYPESCRIPT_ROOT_MARKERS);if(!_0x1cc5dc)return void 0x0;return await hasDenoRoot(_0x1cc5dc)?void 0x0:_0x1cc5dc;},async 'spawn'(_0x15d6fc){const _0x2768df={_0x151705:0x156,_0xb02c16:0xdc,_0x5d62ee:0x1b1,_0xade1f4:0x8b,_0x29a5ab:0x1e8,_0x224623:0x150},_0x1bf07e={_0x26add6:0x44,_0x50308e:0x1a2},_0x46105c={_0x3c0193:0x23f,_0x51cf74:0x1d9},_0x3dd81e=await resolveTsserverPath(_0x15d6fc);function _0x50487f(_0x1866a8,_0x157e5b,_0x5cf277,_0x5da8d1){return _0x120580(_0x5cf277- -_0x46105c._0x3c0193,_0x157e5b,_0x5cf277-_0x46105c._0x51cf74,_0x5da8d1-0x19c);}if(!_0x3dd81e)return void 0x0;const _0x28c2b0=await resolvePackageBinary({'packageName':_0x75fa9f(-_0x2768df._0x151705,-0x121,-_0x2768df._0xb02c16,-0x1e),'binaryName':'typescript-language-server','startDir':_0x15d6fc});if(!_0x28c2b0)return void 0x0;function _0x75fa9f(_0x29a5f6,_0x2e3d9a,_0x2fe993,_0x8bce82){return _0x43e84c(_0x29a5f6-_0x1bf07e._0x26add6,_0x2e3d9a,_0x2fe993-_0x1bf07e._0x50308e,_0x29a5f6- -0x4df);}return{'process':_0x5dea84(_0x28c2b0,[_0x75fa9f(-_0x2768df._0x5d62ee,-_0x2768df._0xade1f4,-_0x2768df._0x29a5ab,-_0x2768df._0x224623)],{'cwd':_0x15d6fc,'stdio':'pipe'}),'initialization':{'tsserver':{'path':_0x3dd81e}}};}},BiomeServer={'id':_0x120580(0x561,0x683,0x644,0x5a6),'name':'Biome\x20Language\x20Server','extensions':BIOME_EXTENSIONS,async 'root'(_0x5dfa4d){return findUp(_0x5dfa4d,BIOME_ROOT_MARKERS);},async 'spawn'(_0x3dc7ed){const _0x420c99={_0x513d1d:0xd3,_0x546953:0x662,_0x2f1670:0x835,_0xf40b95:0x1d8,_0x52c9b3:0x5d5,_0x297e19:0x657},_0x4a491a={_0x4e7396:0x1f7};function _0x5c72fc(_0x424eb8,_0x3135bf,_0x58045e,_0x37bb03){return _0x43e84c(_0x424eb8-0xe7,_0x37bb03,_0x58045e-0x128,_0x58045e-_0x4a491a._0x4e7396);}function _0x1b479d(_0x2e547b,_0xc3e514,_0xd8a16b,_0x288017){return _0x120580(_0x2e547b- -0x48e,_0x288017,_0xd8a16b-0x54,_0x288017-0x14f);}const _0x3d474b=await findPackageBinary(_0x1b479d(_0x420c99._0x513d1d,0x52,0xd,0x32),_0x3dc7ed)??await resolvePackageBinary({'packageName':_0x5c72fc(_0x420c99._0x546953,0x63f,0x74d,_0x420c99._0x2f1670),'binaryName':'biome','startDir':_0x3dc7ed});if(!_0x3d474b)return void 0x0;return{'process':_0x5dea84(_0x3d474b,[_0x1b479d(0x93,-0x4c,_0x420c99._0xf40b95,0x1d4),_0x5c72fc(_0x420c99._0x52c9b3,_0x420c99._0x297e19,0x525,0x482)],{'cwd':_0x3dc7ed,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x4cb2dc){const _0x3259c1={_0x35d21d:0x201,_0x225c91:0x2df},_0x17941e={_0x552b3d:0x85,_0x40da63:0x58},_0x59a359={_0x18fb02:0x1a1};function _0x5987c5(_0x64ea40,_0x1319c0,_0x2c30ec,_0x1677aa){return _0x120580(_0x64ea40- -_0x59a359._0x18fb02,_0x2c30ec,_0x2c30ec-0x95,_0x1677aa-0x1e8);}function _0x477a1a(_0x3f6944,_0xf11cbc,_0x16ffed,_0x2495eb){return _0x43e84c(_0x3f6944-_0x17941e._0x552b3d,_0x16ffed,_0x16ffed-_0x17941e._0x40da63,_0xf11cbc- -0x24c);}const _0x12cc8e=_0x257501[_0x477a1a(_0x3259c1._0x35d21d,_0x3259c1._0x225c91,0x21b,0x1eb)](_0x4cb2dc)['toLowerCase']();return BUILTIN_LSP_SERVERS['filter'](_0x132f12=>_0x132f12['extensions'][_0x477a1a(0x142,0x182,0x1d7,0x271)](_0x12cc8e));}function stateKey(_0x225f97,_0x13b3ed){return _0x13b3ed+':'+_0x225f97['id'];}function diagnosticsKeyToPath(_0x17e8d4){const _0x50985f={_0x5b6446:0x4d8,_0x8e4a5e:0x46a,_0x5225ae:0x3b9},_0x127d6f={_0x513e0e:0x140,_0x438954:0xa5},_0x399252={_0x15f010:0x140,_0x5bbcb3:0xb1};if(!_0x17e8d4[_0x151023(0x3bc,0x477,_0x50985f._0x5b6446,_0x50985f._0x8e4a5e)](_0x151023(0x596,0x4f7,_0x50985f._0x5225ae,0x3b1)))return _0x17e8d4;function _0x31aea7(_0x3ce88c,_0x5d1c6a,_0x3c5d6a,_0x16345d){return _0x120580(_0x3ce88c- -_0x399252._0x15f010,_0x5d1c6a,_0x3c5d6a-_0x399252._0x5bbcb3,_0x16345d-0x1e6);}function _0x151023(_0x2bb3ad,_0xe1fe6b,_0x53333a,_0x2513db){return _0x43e84c(_0x2bb3ad-_0x127d6f._0x513e0e,_0x2bb3ad,_0x53333a-_0x127d6f._0x438954,_0xe1fe6b-0x10d);}return fileURLToPath(_0x17e8d4);}function nextFileVersion(_0x320c4f,_0x41ae36){const _0x47f85b={_0x2645fa:0x357,_0x4c5988:0x3c3,_0x2f60d2:0x2b3,_0x548a28:0x250,_0x38a066:0x19c,_0x501086:0x12d,_0x4f6104:0x5c8},_0x3da389={_0x43c269:0x4b5},_0x49c64c={_0x1a66ed:0x6a},_0x70e598=(_0x320c4f[_0x53f32c(0x47a,_0x47f85b._0x2645fa,_0x47f85b._0x4c5988,_0x47f85b._0x2f60d2)][_0x1073ab(_0x47f85b._0x548a28,_0x47f85b._0x38a066,0x165,_0x47f85b._0x501086)](_0x41ae36)??0x1)+0x1;_0x320c4f['fileVersions'][_0x53f32c(_0x47f85b._0x4f6104,0x5b8,0x48e,0x65b)](_0x41ae36,_0x70e598);function _0x53f32c(_0x2d0c7c,_0x4fc02d,_0x48da1a,_0x4516b8){return _0x120580(_0x4fc02d- -_0x49c64c._0x1a66ed,_0x2d0c7c,_0x48da1a-0x137,_0x4516b8-0x10d);}function _0x1073ab(_0x3374eb,_0x3a17aa,_0x59c742,_0x5a9aaa){return _0x120580(_0x59c742- -_0x3da389._0x43c269,_0x3374eb,_0x59c742-0xff,_0x5a9aaa-0x9f);}return _0x70e598;}async function collectClientResults(_0x411682){const _0x1a01e2={_0x455718:0x5f0,_0x551c13:0x71e,_0x285399:0x14b,_0x41675f:0x288,_0x4e1d92:0x252,_0x593db4:0x1ae},_0x5d897e={_0x1eb694:0x164,_0x1fa24:0x5a},_0xaeeab5={_0x56304e:0x114,_0x399d8e:0x30c},_0x5695f0=await Promise[_0x363d1d(0x574,0x597,_0x1a01e2._0x455718,_0x1a01e2._0x551c13)](_0x411682);function _0x3feb1b(_0x36d70d,_0x49a7fe,_0x118d43,_0x2aeaae){return _0x43e84c(_0x36d70d-_0xaeeab5._0x56304e,_0x49a7fe,_0x118d43-0x2f,_0x118d43- -_0xaeeab5._0x399d8e);}function _0x363d1d(_0xc19d75,_0x518225,_0x320252,_0x53af3b){return _0x120580(_0x320252-_0x5d897e._0x1eb694,_0x518225,_0x320252-_0x5d897e._0x1fa24,_0x53af3b-0x1f1);}return _0x5695f0[_0x3feb1b(_0x1a01e2._0x285399,_0x1a01e2._0x41675f,_0x1a01e2._0x4e1d92,_0x1a01e2._0x593db4)](_0x3f5180=>_0x3f5180['status']===_0x363d1d(0x681,0x6d5,0x5d1,0x4ff)?_0x3f5180['value']:[]);}function createLspService(_0x2a9108={}){const _0x311910={_0x50240b:0x514,_0x526d97:0x5cc},_0x502d09={_0xe13bde:0x630,_0x4519db:0x528,_0x4fa572:0x4c2,_0x18c635:0x55d,_0x1ba5f8:0x417,_0x577799:0x609,_0x4c4b48:0x50e,_0x3094e3:0x485,_0x45324a:0x44a,_0x1f3926:0xa3,_0x623f9e:0x1a8,_0x3f6afe:0x98,_0xde842d:0x4e6,_0x465313:0x50e,_0x28cee3:0x5e2,_0xfc73d6:0x64c,_0x2962e2:0x583,_0x99ce79:0x544,_0x1acfce:0x7c,_0x300d26:0x119,_0x591b59:0x42,_0x17bc4e:0x9e,_0x146289:0x622,_0x42027d:0xb7,_0x5aed5c:0x115,_0x473062:0xf1,_0x5e0d3:0x1bb,_0x3a3860:0x47b,_0x2196fe:0x565},_0x5159da={_0x4ba9f3:0x66},_0x1f89c3={_0x132253:0x337},_0x4537e5={_0x45beac:0x1b,_0x220d05:0x1cf},_0x216b1d={_0x22eab1:0x732},_0x2040bd={_0x3f8285:0x155,_0x465e26:0x34c},_0x30e1a6={_0xe22c49:0x99,_0x50e243:0x16e},_0x927039={_0x303103:0x170,_0x85a3f3:0x2b0,_0x1f9d31:0x16f,_0x242448:0x108,_0x4c505d:0x40,_0x9da258:0xe1,_0x109687:0x129},_0x548366={_0xc770fe:0x33,_0x389f89:0x2d},_0x543794={_0x447d6b:0x2e8,_0x9e8c69:0x1f7,_0x2c5079:0x194},_0x780c={_0x3efdf7:0xf4},_0x12fb14={_0x52ad4d:0x32c,_0x164c3d:0x334,_0x548872:0x4e5,_0x4c5ee5:0x3d2,_0x5dddcc:0x59e},_0x29f510={_0x5c01e5:0x88},_0x909e40={_0x1c3abc:0x106,_0x5771d9:0x16},_0x3d1b95={_0x2772fb:0x11a,_0x335bf:0x283},_0x344412={_0x15cc92:0x61,_0x13fa0c:0x2a,_0x3e96c2:0x1cf},_0x41073e={_0x113477:0x50,_0x32651b:0x33,_0x24a124:0x64},_0x599a2a={_0x335676:0x4ae},_0xe9df17={_0x300ff4:0x60f,_0x19b88c:0x523},_0x28bdd4={_0x218238:0x2bb},_0x3114be={_0x51e00b:0x183,_0x5a59b1:0xac},_0x42032a={_0x3e6367:0x165,_0x7a5e7a:0x4b9,_0x13a32b:0x42c},_0x12fec0={_0x5081bc:0x119,_0x4fa64a:0xe0,_0x1b8753:0xc8},_0x2df8fa={_0xabc6af:0x78,_0x46d47a:0x36,_0x1a0bc0:0x26e},_0x59cb3f={_0x72d05e:0x6ba,_0x568cb7:0x64e,_0x356b5a:0x76f,_0x286c9f:0x710},_0x36b779={_0x40d2d9:0x26,_0x4ff3c4:0xc8,_0x5b9d55:0x7,_0x1aad83:0x52,_0x4d94f3:0x194,_0x1050dd:0xa8,_0x54c180:0x12,_0x5a09a3:0x2b9,_0x8e9c16:0x112,_0x2ce972:0x188,_0x3a06a5:0xe1,_0x4df08e:0x52,_0x47a650:0x133,_0x343556:0x3,_0x51ebc7:0x217,_0x29f6e5:0x2dc,_0x843b25:0x24b},_0x1e8274={_0x5d865b:0x2cc,_0x1ac47a:0x11e,_0x43ac3d:0x2aa,_0x33bc98:0x351,_0x4149e5:0x2a5,_0x26b79d:0x48a,_0x4178dd:0x430,_0x5ec664:0x461,_0x5757eb:0x26a},_0x1338a3={_0x2bd639:0x5f7,_0x637b6a:0xc5,_0x25b3fd:0x13e,_0x2fe368:0xb6,_0x3d8a90:0x679,_0x22921a:0x5f2,_0x418553:0x67a,_0x4acafc:0x5ea,_0x2044f3:0x6dd,_0x3576da:0x6f8,_0x2ec529:0x6b9,_0x2bb1c4:0x1e3,_0x282b6f:0x10a,_0x2e6711:0x30,_0x287ed4:0x818,_0xf9a217:0x6d1},_0x4955a2={_0x107a7d:0x194,_0xf35550:0x261},_0x176f9e={_0x246967:0x62,_0x2970ea:0x1b9},_0x23b45e={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x30da77=()=>_0x2a9108[_0x502239(0x9e,0xd1,0x14e,0x1bc)]!==![];function _0x502239(_0x419ba5,_0x3c5ba1,_0xb8106,_0x2fef6f){return _0x120580(_0x2fef6f- -0x21c,_0x3c5ba1,_0xb8106-_0x176f9e._0x246967,_0x2fef6f-_0x176f9e._0x2970ea);}async function _0x139708(_0x1fdb26,_0x503c3c){const _0x19dea2={_0x39c403:0x48},_0x1ef715={_0x4203c8:0x427,_0x49e156:0x54b,_0x52fa9d:0x3d8,_0x11ebb7:0x612,_0x16b287:0x639,_0x583e4f:0x4d8,_0x5e7791:0x40f,_0x4e150a:0x3ff,_0x17b875:0x339,_0x321793:0x568,_0x422fb2:0x6ba,_0x32f39a:0x5ab,_0x58aff1:0x5bf,_0x4b2f5f:0x486,_0x59bce6:0x5a6,_0x5df565:0x5c5,_0x95865b:0x5eb,_0x40061a:0x64c,_0x524d63:0x544,_0x4a49b2:0x6c8,_0x2bf2b7:0x4c8,_0x412463:0x5ec,_0x521d6b:0x763,_0x29bc40:0x5a2},_0x3a8431=stateKey(_0x1fdb26,_0x503c3c);function _0x489eb1(_0x905dde,_0x4b9d80,_0x143e74,_0xd9f17b){return _0x502239(_0x905dde-0x14b,_0xd9f17b,_0x143e74-_0x4955a2._0x107a7d,_0x905dde- -_0x4955a2._0xf35550);}const _0x3595bf=_0x23b45e['clients'][_0x2fc73d(0x6e7,0x5bd,_0x1338a3._0x2bd639,0x55e)](_0x2e5ee9=>_0x2e5ee9[_0x2fc73d(0x639,0x703,0x66a,0x762)]===_0x1fdb26['id']&&_0x2e5ee9['root']===_0x503c3c);if(_0x3595bf)return _0x3595bf;if(_0x23b45e[_0x489eb1(0x8d,_0x1338a3._0x637b6a,_0x1338a3._0x25b3fd,-_0x1338a3._0x2fe368)][_0x2fc73d(_0x1338a3._0x3d8a90,0x726,_0x1338a3._0x22921a,0x51a)](_0x3a8431))return void 0x0;const _0x49f6df=_0x23b45e[_0x2fc73d(0x555,0x561,_0x1338a3._0x418553,_0x1338a3._0x4acafc)][_0x2fc73d(0x7ed,_0x1338a3._0x2044f3,_0x1338a3._0x3576da,_0x1338a3._0x2ec529)](_0x3a8431);if(_0x49f6df)return _0x49f6df;const _0x201bf4=((async()=>{const _0x530dbc={_0x37512f:0x9,_0x15ce8d:0x1b2};function _0x40272d(_0x3af31d,_0x4a4a7d,_0x35251b,_0x26b9ba){return _0x2fc73d(_0x3af31d-0x140,_0x4a4a7d-0x1c0,_0x3af31d-0x2a,_0x26b9ba);}function _0x387227(_0xfb0ab7,_0x170d4c,_0x4891e3,_0x3ab533){return _0x2fc73d(_0xfb0ab7-_0x530dbc._0x37512f,_0x170d4c-0xd7,_0x170d4c- -_0x530dbc._0x15ce8d,_0x3ab533);}try{const _0x657aa3=await _0x1fdb26[_0x387227(_0x1ef715._0x4203c8,0x4fe,_0x1ef715._0x49e156,_0x1ef715._0x52fa9d)](_0x503c3c);if(!_0x657aa3)return _0x23b45e[_0x40272d(_0x1ef715._0x11ebb7,_0x1ef715._0x16b287,0x565,_0x1ef715._0x583e4f)][_0x387227(0x4ba,_0x1ef715._0x5e7791,_0x1ef715._0x4e150a,_0x1ef715._0x17b875)](_0x3a8431),void 0x0;const _0x2f7f63=await createLspClient({'server':_0x1fdb26,'root':_0x503c3c,'handle':_0x657aa3}),_0x55cff1=_0x23b45e['clients'][_0x40272d(0x621,_0x1ef715._0x321793,_0x1ef715._0x422fb2,_0x1ef715._0x32f39a)](_0x412f52=>_0x412f52[_0x387227(0x5a4,0x4b8,0x565,0x390)]===_0x1fdb26['id']&&_0x412f52[_0x40272d(0x55b,0x494,0x58a,0x459)]===_0x503c3c);if(_0x55cff1)return await _0x2f7f63[_0x387227(_0x1ef715._0x58aff1,_0x1ef715._0x4b2f5f,_0x1ef715._0x59bce6,0x5bc)](),_0x55cff1;return _0x23b45e[_0x40272d(0x545,0x4a0,0x60b,_0x1ef715._0x5df565)]['push'](_0x2f7f63),_0x2f7f63;}catch{return _0x23b45e['broken'][_0x40272d(_0x1ef715._0x95865b,_0x1ef715._0x40061a,_0x1ef715._0x524d63,_0x1ef715._0x4a49b2)](_0x3a8431),void 0x0;}finally{_0x23b45e[_0x387227(0x46a,_0x1ef715._0x2bf2b7,0x5f4,_0x1ef715._0x412463)][_0x40272d(0x649,0x620,_0x1ef715._0x521d6b,_0x1ef715._0x29bc40)](_0x3a8431);}})());_0x23b45e[_0x489eb1(0x11f,_0x1338a3._0x2bb1c4,_0x1338a3._0x282b6f,_0x1338a3._0x2e6711)][_0x2fc73d(_0x1338a3._0x287ed4,_0x1338a3._0xf9a217,0x700,0x68a)](_0x3a8431,_0x201bf4);function _0x2fc73d(_0x370dcd,_0x39e2dd,_0x3a9171,_0x3facfc){return _0x502239(_0x370dcd-0x1da,_0x3facfc,_0x3a9171-_0x19dea2._0x39c403,_0x3a9171-0x2fa);}return _0x201bf4;}async function _0x5d1f33(_0x3f7a30,_0x58b66c){const _0x3ac1ee={_0x55037d:0x86},_0x14e8fc={_0x1a537c:0x82,_0xf58b1b:0x6,_0x14b4c9:0x17c};if(!_0x30da77())return[];const _0x4f3c7e=[];for(const _0x4d56da of getServersForFile(_0x3f7a30)){const _0x137d70=await _0x4d56da['root'](_0x3f7a30);if(!_0x137d70)continue;const _0x391f7d=stateKey(_0x4d56da,_0x137d70);if(_0x23b45e['broken']['has'](_0x391f7d))continue;const _0x3760de=_0x23b45e[_0x5cd99a(_0x1e8274._0x5d865b,_0x1e8274._0x1ac47a,0x19b,_0x1e8274._0x43ac3d)][_0x5cd99a(_0x1e8274._0x33bc98,_0x1e8274._0x4149e5,0x277,0x1fb)](_0x404995=>_0x404995[_0x5cd99a(0x1e0,0x341,0x2ea,0x357)]===_0x4d56da['id']&&_0x404995[_0x40d281(0xef,0x14f,0x35,0xbb)]===_0x137d70);if(_0x3760de){_0x4f3c7e[_0x5cd99a(0x3b9,_0x1e8274._0x26b79d,0x355,_0x1e8274._0x4178dd)](_0x3760de);continue;}if(!_0x58b66c)continue;const _0x22a584=await _0x139708(_0x4d56da,_0x137d70);if(_0x22a584)_0x4f3c7e[_0x5cd99a(_0x1e8274._0x5ec664,0x2f2,0x355,_0x1e8274._0x5757eb)](_0x22a584);}function _0x40d281(_0x568d0e,_0x32c4f2,_0x515119,_0x72c159){return _0x502239(_0x568d0e-_0x14e8fc._0x1a537c,_0x568d0e,_0x515119-_0x14e8fc._0xf58b1b,_0x72c159- -_0x14e8fc._0x14b4c9);}function _0x5cd99a(_0x12507c,_0x1c4dff,_0x40fab3,_0x491192){return _0x502239(_0x12507c-0x99,_0x491192,_0x40fab3-0x1b6,_0x40fab3- -_0x3ac1ee._0x55037d);}return _0x4f3c7e;}async function _0x3e5bf6(_0xb47023,_0x5c4130=![]){const _0x346ce1={_0x3f818c:0x2e5},_0xe98363=await _0x5d1f33(_0xb47023,!![]);function _0x1cc06e(_0x50f28e,_0x129bee,_0x824b7d,_0x302eb2){return _0x502239(_0x50f28e-0x12,_0x824b7d,_0x824b7d-0x17a,_0x129bee- -_0x346ce1._0x3f818c);}function _0xbfdb49(_0x4b21dd,_0x26e3a8,_0x49ac4f,_0x4f41a0){return _0x502239(_0x4b21dd-0xd4,_0x26e3a8,_0x49ac4f-0x34,_0x49ac4f-0x395);}await Promise[_0xbfdb49(0x526,_0x59cb3f._0x72d05e,_0x59cb3f._0x568cb7,_0x59cb3f._0x356b5a)](_0xe98363[_0xbfdb49(0x621,_0x59cb3f._0x286c9f,0x766,0x861)](async _0x2cea3c=>{const _0x54106c={_0x139795:0x108};!_0x23b45e['openFiles'][_0xda648b(-_0x36b779._0x40d2d9,0xd2,-_0x36b779._0x4ff3c4,-_0x36b779._0x5b9d55)](_0x2cea3c[_0xda648b(_0x36b779._0x1aad83,0x10a,_0x36b779._0x4d94f3,-_0x36b779._0x1050dd)]+':'+_0x2cea3c[_0x1df612(0x130,0x16c,-_0x36b779._0x54c180,0x1c6)]+':'+_0xb47023)&&(await _0x2cea3c[_0x1df612(0x2dc,0x38c,0x3cd,_0x36b779._0x5a09a3)][_0x1df612(_0x36b779._0x8e9c16,0x14f,_0x36b779._0x2ce972,0x164)]({'path':_0xb47023}),_0x23b45e['openFiles'][_0x1df612(0x1c0,_0x36b779._0x3a06a5,0x271,0x86)](_0x2cea3c[_0xda648b(_0x36b779._0x4df08e,0x149,_0x36b779._0x47a650,0xaa)]+':'+_0x2cea3c[_0x1df612(0x130,-_0x36b779._0x343556,_0x36b779._0x51ebc7,0x94)]+':'+_0xb47023));function _0x1df612(_0xf2e06d,_0x13078e,_0x48c5a4,_0x3c33fa){return _0x1cc06e(_0xf2e06d-_0x54106c._0x139795,_0xf2e06d-0x1de,_0x48c5a4,_0x3c33fa-0x1ac);}function _0xda648b(_0x187d3f,_0x3bceee,_0x44739c,_0x22e709){return _0x1cc06e(_0x187d3f-0xeb,_0x187d3f- -0x39,_0x44739c,_0x22e709-0x33);}await _0x2cea3c[_0x1df612(_0x36b779._0x29f6e5,0x35a,0x2ef,_0x36b779._0x843b25)][_0xda648b(-0x121,-0x8a,-0xf3,-0x191)]({'path':_0xb47023,'version':nextFileVersion(_0x23b45e,_0xb47023)});if(_0x5c4130)await _0x2cea3c['waitForDiagnostics']({'path':_0xb47023});}));}async function _0x523ec8(_0x5533ce){function _0x2ee926(_0x1576c6,_0x32d87a,_0x358003,_0x3e62fa){return _0x502239(_0x1576c6-_0x2df8fa._0xabc6af,_0x3e62fa,_0x358003-_0x2df8fa._0x46d47a,_0x32d87a- -_0x2df8fa._0x1a0bc0);}await _0x3e5bf6(_0x5533ce[_0x2ee926(0x1c,0xeb,0x87,_0x42032a._0x3e6367)],![]);function _0x4035cd(_0x5ef684,_0x262d33,_0x28f9c1,_0x298327){return _0x502239(_0x5ef684-_0x12fec0._0x5081bc,_0x298327,_0x28f9c1-_0x12fec0._0x4fa64a,_0x262d33-_0x12fec0._0x1b8753);}return _0x5d1f33(_0x5533ce[_0x4035cd(_0x42032a._0x7a5e7a,0x421,0x50d,_0x42032a._0x13a32b)],![]);}async function _0x1276d7(_0x31961c){const _0x11e51f={_0x49c208:0xce};function _0x20ef86(_0x2a8346,_0x111c67,_0x2a3afa,_0x895caa){return _0x502239(_0x2a8346-_0x11e51f._0x49c208,_0x2a8346,_0x2a3afa-0x13f,_0x2a3afa-0xb9);}function _0x67fc77(_0x119312,_0x13a558,_0xa902a,_0x4abaed){return _0x502239(_0x119312-_0x3114be._0x51e00b,_0xa902a,_0xa902a-_0x3114be._0x5a59b1,_0x4abaed-0x323);}const _0x46effe=await _0x523ec8(_0x31961c);return collectClientResults(_0x46effe['map'](_0x43cca0=>_0x43cca0[_0x67fc77(0x437,0x63f,0x3ec,0x51f)][_0x20ef86(0x388,0x192,0x25f,0x2a3)](_0x31961c)));}return{'isEnabled':_0x30da77,async 'hasClients'(_0x21ff3b){const _0x52dc50={_0x26fdac:0x42,_0x35a5cd:0x101};function _0x4255cb(_0x3933bc,_0x545c5e,_0x443479,_0x19b90c){return _0x502239(_0x3933bc-_0x52dc50._0x26fdac,_0x3933bc,_0x443479-_0x52dc50._0x35a5cd,_0x545c5e- -0x29);}return(await _0x5d1f33(_0x21ff3b,![]))['length']>0x0||getServersForFile(_0x21ff3b)[_0x4255cb(0x357,0x332,_0x28bdd4._0x218238,0x445)]>0x0;},'touchFile':_0x3e5bf6,async 'diagnostics'(){const _0x468387={_0x41a33f:0x124};function _0x171eca(_0x368a10,_0x50a885,_0xeaa76b,_0xbb142e){return _0x502239(_0x368a10-0x182,_0xbb142e,_0xeaa76b-_0x468387._0x41a33f,_0xeaa76b-0x1f3);}const _0x5442de={};for(const _0x29ff79 of _0x23b45e['clients']){for(const [_0x3dc768,_0x2465c6]of _0x29ff79[_0x171eca(_0xe9df17._0x300ff4,0x45f,_0xe9df17._0x19b88c,0x553)]){_0x5442de[diagnosticsKeyToPath(_0x3dc768)]=_0x2465c6;}}return _0x5442de;},async 'diagnosticsForFile'(_0xfe4ebc){const _0x3b0ee8={_0x31499c:0x6,_0x10ff76:0x17e},_0x2b0ece={_0x50ea23:0x6};await _0x3e5bf6(_0xfe4ebc,!![]);function _0x23796e(_0x1fd190,_0x4e4180,_0x5aae74,_0x43dacf){return _0x502239(_0x1fd190-_0x2b0ece._0x50ea23,_0x1fd190,_0x5aae74-0x1ae,_0x5aae74-0x345);}const _0x29b651=[];for(const _0x18380c of await _0x5d1f33(_0xfe4ebc,![])){for(const [_0x1f83f7,_0x4ad80a]of _0x18380c[_0x1580f9(0x4a7,0x536,_0x599a2a._0x335676,0x386)]){if(diagnosticsKeyToPath(_0x1f83f7)===_0xfe4ebc)_0x29b651[_0x1580f9(0x536,0x4c7,0x559,0x685)](..._0x4ad80a);}}function _0x1580f9(_0x3da844,_0x1ec64f,_0x3b9485,_0x4db235){return _0x502239(_0x3da844-_0x3b0ee8._0x31499c,_0x1ec64f,_0x3b9485-0x40,_0x3b9485-_0x3b0ee8._0x10ff76);}return _0x29b651;},async 'definition'(_0x4356af){const _0x458935={_0x1afd60:0xc4,_0x3b8daa:0x4b},_0x3b04dc={_0x4938ad:0x72};function _0x22f3bd(_0x23d60d,_0x15cdb1,_0x32b8fb,_0x32497d){return _0x502239(_0x23d60d-0x31,_0x23d60d,_0x32b8fb-_0x3b04dc._0x4938ad,_0x32497d- -0x2f4);}function _0x2d9ed8(_0x12d165,_0x40a951,_0x2ffb51,_0x1b01c6){return _0x502239(_0x12d165-_0x458935._0x1afd60,_0x1b01c6,_0x2ffb51-_0x458935._0x3b8daa,_0x2ffb51- -0x360);}return collectClientResults((await _0x523ec8(_0x4356af))[_0x22f3bd(-_0x41073e._0x113477,-_0x41073e._0x32651b,-_0x41073e._0x24a124,0xdd)](_0x3ce9de=>_0x3ce9de[_0x22f3bd(-0x1f,-0x66,-0x27,-0xf8)][_0x22f3bd(0x1c6,0xb2,0x4,0x86)](_0x4356af)));},async 'references'(_0x1cdb30){function _0x5748a0(_0x136d5e,_0x5b2245,_0xc6f6df,_0x15d655){return _0x502239(_0x136d5e-_0x344412._0x15cc92,_0x136d5e,_0xc6f6df-_0x344412._0x13fa0c,_0xc6f6df- -_0x344412._0x3e96c2);}function _0x34f673(_0x492ddf,_0x54cb7a,_0x547a7b,_0x5f24ce){return _0x502239(_0x492ddf-0xe5,_0x547a7b,_0x547a7b-_0x3d1b95._0x2772fb,_0x492ddf- -_0x3d1b95._0x335bf);}return collectClientResults((await _0x523ec8(_0x1cdb30))[_0x34f673(0x14e,_0x909e40._0x1c3abc,0x1e3,_0x909e40._0x5771d9)](_0x38f236=>_0x38f236[_0x5748a0(0xd1,-0x3a,0x2d,0x66)][_0x5748a0(0x14d,0x257,0x111,0x155)](_0x1cdb30)));},async 'hover'(_0x2103c5){const _0xc80778={_0x55489f:0x1ee};function _0x356027(_0x3c5e87,_0x5c014c,_0x48e75d,_0x11d8b3){return _0x502239(_0x3c5e87-0x4f,_0x5c014c,_0x48e75d-_0xc80778._0x55489f,_0x11d8b3-0xc4);}function _0x45fcd9(_0x2e0918,_0x5d079e,_0x1202fa,_0x309d7b){return _0x502239(_0x2e0918-_0x29f510._0x5c01e5,_0x5d079e,_0x1202fa-0x7d,_0x309d7b-0x80);}const _0x589e4b=await Promise[_0x356027(_0x12fb14._0x52ad4d,0x3d0,0x3a8,_0x12fb14._0x164c3d)]((await _0x523ec8(_0x2103c5))[_0x45fcd9(0x3bd,0x4a1,_0x12fb14._0x548872,0x451)](_0x3653e0=>_0x3653e0[_0x356027(0x18e,0x350,0x1d6,0x2c0)][_0x356027(0x324,0x26e,0x2e3,0x360)](_0x2103c5)));return _0x589e4b[_0x356027(_0x12fb14._0x4c5ee5,0x56a,_0x12fb14._0x5dddcc,0x4aa)](_0x48bb78=>_0x48bb78[_0x45fcd9(0x480,0x476,0x326,0x3a9)]===_0x45fcd9(0x270,0x325,0x33b,0x2d1)&&_0x48bb78[_0x356027(0x19b,0x12c,0x2cc,0x262)]?[_0x48bb78[_0x45fcd9(0x121,0x269,0x1fd,0x21e)]]:[]);},async 'documentSymbol'(_0x372f5a){const _0x5607d8={_0xe4d0:0x27,_0x3ba66c:0x1f4};function _0x319379(_0x685328,_0x30f3ff,_0x29058f,_0x5f2eda){return _0x502239(_0x685328-_0x5607d8._0xe4d0,_0x29058f,_0x29058f-_0x5607d8._0x3ba66c,_0x30f3ff- -0x1da);}function _0xdd171e(_0x4fb4fd,_0x3f18cd,_0x27435d,_0x54d11a){return _0x502239(_0x4fb4fd-0x30,_0x4fb4fd,_0x27435d-0x13a,_0x27435d-_0x780c._0x3efdf7);}return await _0x3e5bf6(_0x372f5a,![]),collectClientResults((await _0x5d1f33(_0x372f5a,![]))[_0x319379(_0x543794._0x447d6b,_0x543794._0x9e8c69,0x129,_0x543794._0x2c5079)](_0x46faf3=>_0x46faf3[_0xdd171e(0x257,0x29c,0x2f0,0x3da)][_0x319379(-0xec,-0x49,-0x16d,0x9a)](_0x372f5a)));},async 'workspaceSymbol'(_0x26b8da){const _0x59f4a1={_0xf09c28:0xf2,_0x5e0372:0x26,_0x59f839:0x391};function _0x5c0cd1(_0x147c3e,_0xf83b8b,_0x1efa80,_0x2b905c){return _0x502239(_0x147c3e-_0x59f4a1._0xf09c28,_0x2b905c,_0x1efa80-_0x59f4a1._0x5e0372,_0x147c3e- -_0x59f4a1._0x59f839);}function _0x333965(_0xb7105a,_0x2d6797,_0x567be9,_0x85b7d4){return _0x502239(_0xb7105a-0x18c,_0xb7105a,_0x567be9-_0x548366._0xc770fe,_0x2d6797- -_0x548366._0x389f89);}return collectClientResults(_0x23b45e[_0x5c0cd1(-_0x927039._0x303103,-_0x927039._0x85a3f3,-_0x927039._0x1f9d31,-_0x927039._0x242448)][_0x5c0cd1(_0x927039._0x4c505d,-_0x927039._0x9da258,_0x927039._0x109687,-0x45)](_0x2192d6=>_0x2192d6['request'][_0x5c0cd1(-0x66,0x95,0x13,0x31)](_0x26b8da)));},async 'implementation'(_0x46bfb6){const _0x19064e={_0x2fd571:0x1c8};function _0x401419(_0x495c59,_0x446614,_0x2a9262,_0x197274){return _0x502239(_0x495c59-_0x30e1a6._0xe22c49,_0x2a9262,_0x2a9262-_0x30e1a6._0x50e243,_0x495c59-0xfa);}function _0xf7718e(_0x3180f6,_0x36fb39,_0x1e32bb,_0x47c3ec){return _0x502239(_0x3180f6-_0x19064e._0x2fd571,_0x47c3ec,_0x1e32bb-0x62,_0x3180f6- -0x45);}return collectClientResults((await _0x523ec8(_0x46bfb6))[_0xf7718e(0x38c,0x348,0x38b,0x3d8)](_0x8f7441=>_0x8f7441['request'][_0xf7718e(0x206,0x28b,0xc8,0x238)](_0x46bfb6)));},async 'prepareCallHierarchy'(_0xf51c10){return _0x1276d7(_0xf51c10);},async 'incomingCalls'(_0x33b7ab){const _0x2a258e={_0x1c7cb0:0x18f,_0x90d9d1:0x94,_0x5745b5:0x3bf},_0xf9dc94=await _0x1276d7(_0x33b7ab);function _0x54bb5f(_0x5ad24f,_0x3a6a27,_0x5380d8,_0xf99014){return _0x502239(_0x5ad24f-_0x2040bd._0x3f8285,_0x3a6a27,_0x5380d8-0x13f,_0x5ad24f-_0x2040bd._0x465e26);}const _0x21acca=await _0x523ec8(_0x33b7ab);function _0x3c8bfd(_0x1553db,_0x32866c,_0x37c300,_0x542bd6){return _0x502239(_0x1553db-_0x2a258e._0x1c7cb0,_0x542bd6,_0x37c300-_0x2a258e._0x90d9d1,_0x37c300- -_0x2a258e._0x5745b5);}return collectClientResults(_0x21acca[_0x54bb5f(_0x216b1d._0x22eab1,0x6ac,0x69b,0x81b)](_0x3e42cc=>_0xf9dc94['map'](_0x484bd1=>_0x3e42cc[_0x3c8bfd(-0x16e,-0x194,-0x1c3,-0x1fd)]['incomingCalls'](_0x484bd1))));},async 'outgoingCalls'(_0x1754e8){const _0x4ae346={_0x20e091:0x1f2,_0x38cce0:0x9f,_0x2369e5:0x3d};function _0x386b94(_0x5b2f54,_0x3cdedd,_0x1c6c72,_0x4715a1){return _0x502239(_0x5b2f54-_0x4ae346._0x20e091,_0x4715a1,_0x1c6c72-_0x4ae346._0x38cce0,_0x1c6c72- -_0x4ae346._0x2369e5);}function _0x40cb5(_0x485a82,_0x9604b1,_0x2016fe,_0x1cfe90){return _0x502239(_0x485a82-0x15e,_0x2016fe,_0x2016fe-_0x4537e5._0x45beac,_0x485a82- -_0x4537e5._0x220d05);}const _0x3ecd3e=await _0x1276d7(_0x1754e8),_0x483b1d=await _0x523ec8(_0x1754e8);return collectClientResults(_0x483b1d[_0x386b94(_0x1f89c3._0x132253,0x2ef,0x3a9,0x364)](_0x5e74d2=>_0x3ecd3e[_0x386b94(0x489,0x405,0x394,0x311)](_0x1410ab=>_0x5e74d2[_0x40cb5(0x2d,0x4f,-0xc6,-0x6a)][_0x386b94(0x2e4,0x14e,0x1f0,0x1e8)](_0x1410ab))));},async 'shutdown'(){if(_0x23b45e['shutdownStarted'])return;_0x23b45e[_0x5a4d52(_0x502d09._0xe13bde,_0x502d09._0x4519db,0x664,_0x502d09._0x4fa572)]=!![],await Promise[_0x5a4d52(0x5aa,_0x502d09._0x18c635,0x660,_0x502d09._0x1ba5f8)](_0x23b45e[_0x5a4d52(_0x502d09._0x577799,_0x502d09._0x4c4b48,_0x502d09._0x3094e3,_0x502d09._0x45324a)][_0x381166(_0x502d09._0x1f3926,_0x502d09._0x623f9e,0x117,_0x502d09._0x3f6afe)](_0x232ba5=>_0x232ba5[_0x5a4d52(0x57e,0x62b,0x623,0x5cd)]())),_0x23b45e[_0x5a4d52(_0x502d09._0xde842d,_0x502d09._0x465313,0x41b,_0x502d09._0x28cee3)]=[],_0x23b45e[_0x5a4d52(_0x502d09._0xfc73d6,0x66d,_0x502d09._0x2962e2,_0x502d09._0x99ce79)][_0x381166(_0x502d09._0x1acfce,-_0x502d09._0x300d26,-_0x502d09._0x591b59,-_0x502d09._0x17bc4e)]();function _0x5a4d52(_0x77efff,_0x9afb0b,_0x4f4758,_0x1fecfd){return _0x502239(_0x77efff-0x96,_0x77efff,_0x4f4758-0x58,_0x9afb0b-0x2ed);}_0x23b45e['broken'][_0x5a4d52(0x4d2,0x565,_0x502d09._0x146289,0x4b0)]();function _0x381166(_0x26fb46,_0x1d77d9,_0x3c4d77,_0x5329e5){return _0x502239(_0x26fb46-0x49,_0x26fb46,_0x3c4d77-_0x5159da._0x4ba9f3,_0x3c4d77- -0x2ba);}_0x23b45e[_0x381166(-0xd5,-_0x502d09._0x42027d,-_0x502d09._0x5aed5c,-0xec)]['clear'](),_0x23b45e[_0x381166(0x1fe,_0x502d09._0x473062,0x139,_0x502d09._0x5e0d3)][_0x5a4d52(_0x502d09._0x3a3860,_0x502d09._0x2196fe,0x511,0x468)]();},'status'(){function _0x2a8ece(_0x2b6544,_0x268f1d,_0x20ac2b,_0x32ea69){return _0x502239(_0x2b6544-0x1ab,_0x32ea69,_0x20ac2b-0x16a,_0x20ac2b-0x3f3);}return{'connectedClients':_0x23b45e[_0x2a8ece(_0x311910._0x50240b,0x69c,0x614,_0x311910._0x526d97)]['length']};}};}function createQuestionId(){const _0x18af7c={_0x573de3:0x404,_0x5866db:0x28a,_0x2e7fde:0x2dc,_0xa3dc81:0x364,_0x330998:0x38f,_0x5affa1:0x2bf,_0x5afd26:0x3c5,_0x249abf:0x3e0},_0x464841={_0x3c250d:0xae,_0x24fc08:0x158},_0x278cf6={_0x19098:0x180};function _0x4c3399(_0x4b4b75,_0x18e850,_0x128fe9,_0x48c05a){return _0x43e84c(_0x4b4b75-0x1ab,_0x128fe9,_0x128fe9-_0x278cf6._0x19098,_0x18e850- -0x198);}function _0x3ca387(_0x5bc80b,_0x44197a,_0x21cde4,_0x5ccb8f){return _0x43e84c(_0x5bc80b-0x12f,_0x21cde4,_0x21cde4-_0x464841._0x3c250d,_0x44197a- -_0x464841._0x24fc08);}return _0x3ca387(0x481,0x3ae,_0x18af7c._0x573de3,_0x18af7c._0x5866db)+Date[_0x4c3399(0x3a6,_0x18af7c._0x2e7fde,0x31d,0x204)]()+'-'+Math[_0x4c3399(0x3b4,_0x18af7c._0xa3dc81,0x475,_0x18af7c._0x330998)]()[_0x3ca387(0x39a,0x2b1,0x3c7,_0x18af7c._0x5affa1)](0x24)[_0x4c3399(0x501,_0x18af7c._0x5afd26,0x4bb,_0x18af7c._0x249abf)](0x2,0x9);}function validateInput(_0x41b132){const _0x57a4d4={_0x2a9451:0x718,_0x16c8c9:0x64e,_0x34f00f:0x634,_0x15efad:0x71,_0x2c7bbb:0x252,_0x2ab4e5:0x634,_0x39fe09:0x72b,_0x5df452:0x6c7,_0x3abb12:0xde,_0x37887b:0x158,_0x52d66b:0x159,_0x4f310a:0x7da,_0x3b9540:0x7c9,_0x151fbb:0x64d,_0xb065b0:0x64a,_0xf33da6:0x5fe,_0x5484dc:0x591,_0x773528:0x661,_0x5a7c66:0x677,_0x1bc2a7:0x47,_0x113faf:0xd5,_0x7cc38f:0x2,_0x329da1:0x16c,_0x2fc8dc:0x600,_0x115e29:0x5fa,_0x591d07:0x626,_0x18cfde:0x605,_0x2b0bc0:0x750,_0x37556a:0x6f8,_0x55226c:0x698,_0x5d7bf1:0x60c,_0x59de3e:0x6af,_0x554bb9:0x37,_0x139e23:0xd,_0x50d909:0xc3,_0x535d8e:0x650,_0x58665e:0x61b,_0x5c5d2a:0x550,_0x33cf2c:0x224,_0x490971:0xed,_0x498ade:0xfa,_0x300fb7:0x66,_0x1673d5:0x4c,_0x4df4a4:0x38,_0x5cf6b4:0xe4,_0x40296b:0x58,_0x2481cb:0x850,_0x2c7e4b:0x601,_0x51ccc9:0x7b9,_0x3410b5:0x1cc,_0x1335d1:0x2b,_0x5020d9:0x1ec,_0x40e1e7:0x6be,_0x3d1983:0x595,_0x985c97:0x610,_0x2b2654:0x6a0,_0x50f492:0x10a,_0x259f17:0x1f6,_0xcd471d:0x186,_0x50c867:0xb7,_0x3c7e4c:0x6ab,_0x107424:0x88f,_0x429c6c:0x5fc,_0x527880:0x1da,_0x2ff3eb:0x194,_0x52d8b6:0x88,_0x5ca9cc:0x69a,_0x5b91ee:0x4be,_0x41c4fc:0x4fa,_0x61b09b:0x70d},_0x49b5be={_0x1a0953:0x41f,_0x4e4efe:0x185},_0x200129={_0x3929a5:0x1a4};if(!Array[_0x39bb77(0x679,_0x57a4d4._0x2a9451,_0x57a4d4._0x16c8c9,0x751)](_0x41b132[_0x39bb77(0x621,_0x57a4d4._0x34f00f,0x518,0x6da)])||_0x41b132[_0x2a66d4(-0x94,_0x57a4d4._0x15efad,0x30,-0x5d)][_0x2a66d4(0x1fe,0x158,0x20c,_0x57a4d4._0x2c7bbb)]<0x1||_0x41b132[_0x39bb77(0x58c,_0x57a4d4._0x2ab4e5,_0x57a4d4._0x39fe09,_0x57a4d4._0x5df452)][_0x2a66d4(_0x57a4d4._0x3abb12,_0x57a4d4._0x37887b,0x1b6,_0x57a4d4._0x52d66b)]>0x4)throw new ToolExecutionError('Must\x20provide\x201-4\x20questions',{'error':_0x2a66d4(0xe0,-0x2a,0xea,0xed)});function _0x39bb77(_0x471cc3,_0x2e601c,_0x5afbec,_0x2886c0){return _0x120580(_0x2e601c-_0x200129._0x3929a5,_0x2886c0,_0x5afbec-0xd7,_0x2886c0-0x4e);}function _0x2a66d4(_0x58690d,_0x21b8dd,_0x2b3bd2,_0x4a2c68){return _0x120580(_0x21b8dd- -_0x49b5be._0x1a0953,_0x2b3bd2,_0x2b3bd2-_0x49b5be._0x4e4efe,_0x4a2c68-0x73);}for(let _0x3c4b4b=0x0;_0x3c4b4b<_0x41b132['questions'][_0x39bb77(0x6d2,0x71b,_0x57a4d4._0x4f310a,_0x57a4d4._0x3b9540)];_0x3c4b4b+=0x1){const _0x2f858e=_0x41b132[_0x39bb77(0x72f,_0x57a4d4._0x34f00f,_0x57a4d4._0x151fbb,_0x57a4d4._0xb065b0)][_0x3c4b4b];if(!_0x2f858e[_0x39bb77(_0x57a4d4._0xf33da6,0x5df,_0x57a4d4._0x5484dc,_0x57a4d4._0x773528)]||typeof _0x2f858e[_0x39bb77(_0x57a4d4._0x5a7c66,0x5df,0x614,0x4fb)]!==_0x2a66d4(_0x57a4d4._0x1bc2a7,_0x57a4d4._0x113faf,-_0x57a4d4._0x7cc38f,_0x57a4d4._0x329da1))throw new ToolExecutionError(_0x39bb77(_0x57a4d4._0x2fc8dc,_0x57a4d4._0x115e29,_0x57a4d4._0x591d07,0x625)+(_0x3c4b4b+0x1)+_0x39bb77(0x66b,0x65f,0x701,0x541));if(!_0x2f858e[_0x39bb77(_0x57a4d4._0x18cfde,0x61b,_0x57a4d4._0x2b0bc0,_0x57a4d4._0x37556a)]||typeof _0x2f858e['header']!==_0x39bb77(0x56b,_0x57a4d4._0x55226c,_0x57a4d4._0x5d7bf1,_0x57a4d4._0x59de3e))throw new ToolExecutionError(_0x2a66d4(0x22,_0x57a4d4._0x554bb9,_0x57a4d4._0x139e23,_0x57a4d4._0x50d909)+(_0x3c4b4b+0x1)+_0x39bb77(0x65c,0x59a,0x477,0x572));if(_0x2f858e[_0x39bb77(_0x57a4d4._0x535d8e,_0x57a4d4._0x58665e,_0x57a4d4._0x5c5d2a,0x54c)][_0x2a66d4(0x66,_0x57a4d4._0x37887b,_0x57a4d4._0x33cf2c,0x64)]>0x14)throw new ToolExecutionError(_0x2a66d4(_0x57a4d4._0x490971,0x37,0xb0,_0x57a4d4._0x498ade)+(_0x3c4b4b+0x1)+_0x2a66d4(_0x57a4d4._0x300fb7,_0x57a4d4._0x1673d5,_0x57a4d4._0x4df4a4,-_0x57a4d4._0x5cf6b4)+_0x2f858e[_0x2a66d4(0x84,_0x57a4d4._0x40296b,-0x62,0x52)][_0x39bb77(_0x57a4d4._0x2481cb,0x71b,_0x57a4d4._0x2c7e4b,_0x57a4d4._0x51ccc9)]);if(!Array[_0x39bb77(0x609,_0x57a4d4._0x2a9451,_0x57a4d4._0x535d8e,0x6f0)](_0x2f858e[_0x2a66d4(_0x57a4d4._0x3410b5,0xfb,-_0x57a4d4._0x1335d1,_0x57a4d4._0x5020d9)])||_0x2f858e['options']['length']<0x2||_0x2f858e[_0x39bb77(0x64e,_0x57a4d4._0x40e1e7,_0x57a4d4._0x3d1983,0x6c8)]['length']>0x4)throw new ToolExecutionError(_0x39bb77(_0x57a4d4._0x985c97,0x5fa,_0x57a4d4._0x2b2654,_0x57a4d4._0x2b2654)+(_0x3c4b4b+0x1)+_0x2a66d4(-_0x57a4d4._0x50f492,0x30,-0x85,0x14c));for(let _0x183afc=0x0;_0x183afc<_0x2f858e[_0x2a66d4(_0x57a4d4._0x259f17,0xfb,_0x57a4d4._0xcd471d,0x19f)][_0x2a66d4(0xa9,0x158,0x1d5,_0x57a4d4._0x50c867)];_0x183afc+=0x1){const _0x2a355c=_0x2f858e['options'][_0x183afc];if(!_0x2a355c[_0x39bb77(_0x57a4d4._0x3c7e4c,0x6fb,0x609,0x66d)]||!_0x2a355c[_0x39bb77(0x844,0x771,_0x57a4d4._0x107424,0x82a)])throw new ToolExecutionError('Question\x20'+(_0x3c4b4b+0x1)+_0x39bb77(0x6a4,0x5b6,0x49a,_0x57a4d4._0x429c6c)+(_0x183afc+0x1)+_0x2a66d4(0x13f,0x17c,0x14e,_0x57a4d4._0x527880));}if(typeof _0x2f858e[_0x2a66d4(_0x57a4d4._0x2ff3eb,0x7f,-0x4c,_0x57a4d4._0x52d8b6)]!==_0x39bb77(_0x57a4d4._0x5ca9cc,0x598,0x678,_0x57a4d4._0x5b91ee))throw new ToolExecutionError(_0x39bb77(_0x57a4d4._0x41c4fc,0x5fa,_0x57a4d4._0x61b09b,0x53f)+(_0x3c4b4b+0x1)+':\x20\x22multiSelect\x22\x20must\x20be\x20a\x20boolean');}}function buildQuestions(_0x27d3d8){const _0x436ff6={_0x490db7:0x18e,_0x1936c2:0x329,_0x4f6fa7:0x383,_0x3a4449:0x49e},_0x29ceb5={_0x4333aa:0x264,_0x328ffa:0x1a5,_0x6bc4f7:0x174},_0x5c5eb1={_0xb57ceb:0x89,_0xcbf1dc:0x9d,_0x4e3a19:0xab};function _0x1509c2(_0x5c1a2c,_0x4019dc,_0x4f771e,_0x5f59b7){return _0x43e84c(_0x5c1a2c-_0x5c5eb1._0xb57ceb,_0x4019dc,_0x4f771e-_0x5c5eb1._0xcbf1dc,_0x5f59b7- -_0x5c5eb1._0x4e3a19);}function _0xd0f0e3(_0x53b58c,_0xf9fd05,_0x1ee1b1,_0x34c9f9){return _0x120580(_0x1ee1b1- -_0x29ceb5._0x4333aa,_0x53b58c,_0x1ee1b1-_0x29ceb5._0x328ffa,_0x34c9f9-_0x29ceb5._0x6bc4f7);}return _0x27d3d8[_0xd0f0e3(_0x436ff6._0x490db7,0x197,0x22c,_0x436ff6._0x1936c2)][_0x1509c2(0x42e,_0x436ff6._0x4f6fa7,0x4e1,_0x436ff6._0x3a4449)]((_0x410d78,_0x4dd05e)=>({'id':'q'+_0x4dd05e,'question':_0x410d78[_0xd0f0e3(0x16d,0x2a2,0x1d7,0x23e)],'header':_0x410d78[_0xd0f0e3(0x33f,0x264,0x213,0x1f4)],'options':_0x410d78[_0x1509c2(0x392,0x34c,0x2a7,0x3cb)],'multiSelect':_0x410d78[_0x1509c2(0x44d,0x268,0x340,0x34f)]}));}function createResult(_0x282517,_0x4f66e2,_0x3206a3){const _0xe321e0={_0x305c7e:0x79},_0x2c8936={_0x15717c:0x49a,_0x19f9c2:0xe5};function _0x3cc1a9(_0x144186,_0x57d5a6,_0x1adc8e,_0x2a8020){return _0x120580(_0x57d5a6- -_0x2c8936._0x15717c,_0x2a8020,_0x1adc8e-0xd7,_0x2a8020-_0x2c8936._0x19f9c2);}const _0x198375={'questionId':_0x282517,'questionCount':_0x4f66e2,'answers':_0x3206a3};return createToolOutput('User\x20responses\x20received:\x20'+JSON[_0x3cc1a9(0x3a,0x127,0x8,_0xe321e0._0x305c7e)](_0x3206a3,null,0x2),_0x198375);}function createAskUserTool(){const _0x10a26a={_0x4eccd0:0xf7,_0x5db5cf:0x360,_0x22ae9c:0x388,_0x3ee7a6:0x51a,_0x488c4a:0x42a,_0x22852f:0x282,_0x15ca7d:0x145,_0x1bc6d9:0xba,_0x29db8d:0x3e,_0xfeb276:0x10f,_0x35314a:0x39,_0x2648a2:0x75,_0x45336b:0x3d,_0xd178f:0xb1,_0x430ce3:0x61f,_0x2d47c2:0x58f,_0x5a0430:0x4f4,_0x24cefd:0x1d,_0xc48a47:0x13,_0x1389a4:0x59f,_0x584cfa:0x7b,_0x10b2f4:0x63,_0x53eecf:0x2d,_0x47797d:0x45d,_0x2a3f69:0x3a3,_0x4939b1:0x36d,_0x37a5ca:0x1f3,_0x532f07:0x26,_0x278b39:0x80},_0x34860c={_0x4704f0:0x14b,_0x299f53:0x12f,_0x249c09:0x109,_0x17bd65:0x19f,_0x46b61c:0x8e,_0x14bd50:0xc0,_0x39d27b:0x292,_0x24fdd0:0x3a8,_0x736133:0x264,_0xe3d803:0x385,_0x3cca55:0x129,_0x4c47ae:0x334,_0x2ef038:0x17d,_0x235fb5:0x1df,_0x381099:0x69,_0x3021fd:0x1c1,_0x424042:0x392,_0x4605cc:0x3b,_0x85c62e:0xa2,_0x5c57a6:0x1b7,_0x27a57a:0x73,_0x17acae:0x148,_0x5ebdac:0x48c,_0x53ce02:0x426},_0x5ce1c3={_0x440773:0xbe,_0x4683fb:0x10c},_0x20edce={_0x16349f:0x4a};function _0x1c9d24(_0x13a155,_0x58844c,_0x29c24d,_0x22c143){return _0x120580(_0x22c143- -0x107,_0x58844c,_0x29c24d-_0x20edce._0x16349f,_0x22c143-0x1df);}function _0x255e7(_0x155f73,_0x17d33e,_0x39521d,_0x55ef42){return _0x43e84c(_0x155f73-0x0,_0x39521d,_0x39521d-0x1c0,_0x17d33e- -0x412);}return defineTool({'name':_0x255e7(-0x133,-0x23,-0x112,-_0x10a26a._0x4eccd0),'description':'Use\x20this\x20tool\x20when\x20you\x20need\x20to\x20ask\x20the\x20user\x20questions\x20during\x20execution.\x20This\x20allows\x20you\x20to:\x0a1.\x20Gather\x20user\x20preferences\x20or\x20requirements\x0a2.\x20Clarify\x20ambiguous\x20instructions\x0a3.\x20Get\x20decisions\x20on\x20implementation\x20choices\x20as\x20you\x20work\x0a4.\x20Offer\x20choices\x20to\x20the\x20user\x20about\x20what\x20direction\x20to\x20take.\x0a\x0aUsage\x20notes:\x0a-\x20Users\x20will\x20always\x20be\x20able\x20to\x20select\x20\x22Other\x22\x20to\x20provide\x20custom\x20text\x20input\x0a-\x20Use\x20multiSelect:\x20true\x20to\x20allow\x20multiple\x20answers\x20to\x20be\x20selected\x20for\x20a\x20question\x0a-\x20If\x20you\x20recommend\x20a\x20specific\x20option,\x20make\x20that\x20the\x20first\x20option\x20in\x20the\x20list\x20and\x20add\x20\x22(Recommended)\x22\x20at\x20the\x20end\x20of\x20the\x20label','inputSchema':{'type':'object','properties':{'questions':{'type':_0x1c9d24(_0x10a26a._0x5db5cf,_0x10a26a._0x22ae9c,_0x10a26a._0x3ee7a6,_0x10a26a._0x488c4a),'items':{'type':_0x255e7(_0x10a26a._0x22852f,_0x10a26a._0x15ca7d,0x20,0xa1),'properties':{'question':{'type':_0x255e7(-_0x10a26a._0x1bc6d9,_0x10a26a._0x29db8d,0x160,_0x10a26a._0xfeb276)},'header':{'type':_0x255e7(-_0x10a26a._0x35314a,0x3e,_0x10a26a._0x2648a2,_0x10a26a._0x45336b)},'options':{'type':_0x255e7(0x9a,0x7b,0x13d,_0x10a26a._0xd178f),'items':{'type':_0x1c9d24(0x540,_0x10a26a._0x430ce3,_0x10a26a._0x2d47c2,_0x10a26a._0x5a0430),'properties':{'label':{'type':_0x255e7(0xbf,0x3e,_0x10a26a._0x24cefd,_0x10a26a._0xc48a47)},'description':{'type':'string'}},'required':['label',_0x1c9d24(0x52e,_0x10a26a._0x1389a4,0x509,0x4c6)]}},'multiSelect':{'type':'boolean'}},'required':[_0x255e7(-0x182,-_0x10a26a._0x584cfa,_0x10a26a._0x10b2f4,_0x10a26a._0x53eecf),_0x1c9d24(0x3ea,_0x10a26a._0x47797d,0x400,0x370),_0x1c9d24(_0x10a26a._0x2a3f69,_0x10a26a._0x4939b1,0x43d,0x413),'multiSelect']}},'answers':{'type':_0x255e7(0x27e,0x145,_0x10a26a._0x37a5ca,0x1b0),'properties':{}}},'required':[_0x255e7(-0x13e,-_0x10a26a._0x532f07,0xb4,_0x10a26a._0x278b39)]},async *'execute'(_0x4c5d35,_0x5d9d69){const _0x2b0d43={_0x4fe0ac:0x109},_0x4a1180=_0x4c5d35;validateInput(_0x4a1180);const _0x4f85f2=_0x5d9d69[_0x8b7f51(_0x34860c._0x4704f0,_0x34860c._0x299f53,_0x34860c._0x249c09,0x12d)]??createQuestionId();if(_0x4a1180[_0x268be3(_0x34860c._0x17bd65,_0x34860c._0x46b61c,0x1ce,_0x34860c._0x14bd50)]&&Object[_0x268be3(0x36b,_0x34860c._0x39d27b,0x2ff,_0x34860c._0x24fdd0)](_0x4a1180['answers'])[_0x8b7f51(_0x34860c._0x736133,_0x34860c._0xe3d803,_0x34860c._0x3cca55,_0x34860c._0x4c47ae)]>0x0)return createResult(_0x4f85f2,_0x4a1180[_0x8b7f51(_0x34860c._0x2ef038,_0x34860c._0x235fb5,_0x34860c._0x381099,0xa1)][_0x8b7f51(_0x34860c._0x736133,0x1ae,_0x34860c._0x3021fd,_0x34860c._0x424042)],_0x4a1180['answers']);function _0x8b7f51(_0x1deeaf,_0x3ef2a1,_0x3c68e0,_0x19df77){return _0x1c9d24(_0x1deeaf-0x197,_0x19df77,_0x3c68e0-_0x2b0d43._0x4fe0ac,_0x1deeaf- -0x20c);}if(!_0x5d9d69[_0x8b7f51(0x150,0x90,_0x34860c._0x4605cc,0x27e)])throw new ToolExecutionError(_0x268be3(0x1d6,0x251,_0x34860c._0x85c62e,_0x34860c._0x5c57a6));function _0x268be3(_0x4d97db,_0x594e88,_0x5c6b55,_0x5b631a){return _0x1c9d24(_0x4d97db-0x74,_0x594e88,_0x5c6b55-_0x5ce1c3._0x440773,_0x4d97db- -_0x5ce1c3._0x4683fb);}const _0x29ad81=buildQuestions(_0x4a1180),_0x4387d4=await _0x5d9d69['askUser']({'questionId':_0x4f85f2,'questions':_0x29ad81});yield createResult(_0x4f85f2,_0x4a1180[_0x8b7f51(0x17d,_0x34860c._0x27a57a,_0x34860c._0x17acae,0x2bd)][_0x268be3(0x364,_0x34860c._0x5ebdac,_0x34860c._0x53ce02,0x2a4)],_0x4387d4);}});}import{spawn as _0x5256b3}from'child_process';import{statSync}from'fs';import*as _0x14778c from'os';import*as _0x41f8f5 from'path';import{StringDecoder}from'string_decoder';function _0x120580(_0x2e2122,_0x455a8b,_0x46084c,_0x5ad719){return _0x4f9a(_0x2e2122-0x20b,_0x455a8b);}import{stripVTControlCharacters}from'util';import{stat}from'fs/promises';import*as _0x575559 from'path';function isPathInside(_0x59a6eb,_0x621f69){const _0x5518d1={_0x5de2e6:0x41c,_0x597490:0x30d,_0x5627df:0x434},_0x42a316={_0x5d2056:0xb};function _0x2c21f9(_0x25cada,_0x5cb190,_0xa167d4,_0x19cd41){return _0x120580(_0xa167d4-_0x42a316._0x5d2056,_0x19cd41,_0xa167d4-0x141,_0x19cd41-0x1e9);}const _0x1fc8f8=_0x575559[_0x2c21f9(_0x5518d1._0x5de2e6,_0x5518d1._0x597490,_0x5518d1._0x5627df,0x323)](_0x59a6eb),_0x3f6853=_0x575559['relative'](_0x1fc8f8,_0x621f69);return _0x3f6853===''||!_0x3f6853['startsWith']('..')&&!_0x575559['isAbsolute'](_0x3f6853);}function resolveWorkspacePath(_0x114b58,_0xae3b41){return resolveAllowedPath(_0x114b58,[],_0xae3b41);}function resolveAllowedPath(_0x231d06,_0x23b490,_0x442457){const _0x56da54={_0x7b3b3f:0x25d,_0x31b836:0x355,_0x52ed50:0x1ce,_0x2d4a29:0x4ad,_0x25487e:0x47c,_0x195e26:0x499},_0x26353d={_0x8c5d10:0x27},_0x7d011f={_0x16aca3:0x196},_0x1cf7d6=_0x575559[_0x593d6c(0x14d,0x293,_0x56da54._0x7b3b3f,_0x56da54._0x31b836)](_0x231d06);function _0x593d6c(_0x3cd06b,_0x5d9589,_0x21638d,_0x3067d9){return _0x120580(_0x5d9589- -_0x7d011f._0x16aca3,_0x3067d9,_0x21638d-0x1d4,_0x3067d9-0x196);}const _0x2a90fe=_0x575559[_0x446d3b(0x38d,0x322,0x3ee,0x409)](_0x1cf7d6,_0x442457);function _0x446d3b(_0x4c7d5f,_0x3523ea,_0x199e08,_0x220c89){return _0x43e84c(_0x4c7d5f-0x1c6,_0x4c7d5f,_0x199e08-_0x26353d._0x8c5d10,_0x3523ea- -0x63);}const _0x2bbeb2=[_0x1cf7d6,..._0x23b490['map'](_0x487d1c=>_0x575559[_0x593d6c(0x318,0x293,0x283,0x1e9)](_0x487d1c))];if(_0x2bbeb2[_0x593d6c(0x2b3,0x2c6,_0x56da54._0x52ed50,0x241)](_0x2b1a8c=>isPathInside(_0x2b1a8c,_0x2a90fe)))return _0x2a90fe;throw new ToolExecutionError(_0x446d3b(0x3a9,_0x56da54._0x2d4a29,_0x56da54._0x25487e,_0x56da54._0x195e26)+_0x442457,{'path':_0x442457,'rootDir':_0x1cf7d6,'allowedDirs':_0x2bbeb2});}async function assertWorkspaceFile(_0x5ea781){const _0x13c4ec={_0x4909be:0x186,_0x24f019:0x20d,_0x31fb70:0x27,_0x2be8fe:0xdc,_0x2a5258:0x121},_0x4b6bf0={_0x4ad465:0x17},_0x542bc0={_0x49fbe3:0x242},_0xb9c471=await stat(_0x5ea781);function _0x2ee951(_0x10a256,_0x4f6fd8,_0x27c6b0,_0x12e58a){return _0x43e84c(_0x10a256-0x165,_0x27c6b0,_0x27c6b0-0x154,_0x10a256-_0x542bc0._0x49fbe3);}function _0x58c77b(_0x1f2f6d,_0x3e05e0,_0xe783e4,_0x325695){return _0x120580(_0x325695- -0x30a,_0xe783e4,_0xe783e4-0x12b,_0x325695-_0x4b6bf0._0x4ad465);}if(!_0xb9c471[_0x58c77b(0x282,0x1b4,_0x13c4ec._0x4909be,_0x13c4ec._0x24f019)]())throw new ToolExecutionError(_0x58c77b(_0x13c4ec._0x31fb70,0x15c,_0x13c4ec._0x2be8fe,_0x13c4ec._0x2a5258)+_0x5ea781,{'path':_0x5ea781});}function isProbablyBinary(_0x22cfd9){return _0x22cfd9['includes'](0x0);}var DEFAULT_DESCRIPTION=_0x43e84c(0x34f,0x31b,0x2fb,0x3df),DEFAULT_TIMEOUT_MS=0x7530;function isErrnoException(_0x533bf6){return _0x533bf6 instanceof Error;}function shellExists(_0x255028){const _0x5c569b={_0x5166c3:0x564,_0x21d255:0x4c2,_0x2bae81:0x4e1,_0x2a626a:0x48f},_0x38d94b={_0x5179c3:0x55,_0x58c7a8:0x1b3,_0x946de9:0xe},_0x22cfb={_0x2c20f4:0x1b3};function _0x5c83d7(_0x2f7a3f,_0x74d514,_0x40215f,_0x217732){return _0x43e84c(_0x2f7a3f-0xf6,_0x74d514,_0x40215f-_0x22cfb._0x2c20f4,_0x40215f- -0x3b9);}function _0x4d4c05(_0x9566dd,_0x40e674,_0x26c937,_0x256944){return _0x120580(_0x256944- -_0x38d94b._0x5179c3,_0x9566dd,_0x26c937-_0x38d94b._0x58c7a8,_0x256944-_0x38d94b._0x946de9);}try{const _0xb820d0=statSync(_0x255028);return _0xb820d0[_0x4d4c05(0x404,_0x5c569b._0x5166c3,0x5c2,_0x5c569b._0x21d255)]()&&(_0xb820d0[_0x4d4c05(0x501,_0x5c569b._0x2bae81,0x49e,_0x5c569b._0x2a626a)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x3be417){const _0x124254={_0x4e9d16:0x4a3,_0x2cd2d4:0x685,_0x54e488:0x778,_0x442461:0x6c2,_0x409dd1:0x57b,_0xc3d0ea:0x3d8,_0x3404fb:0x51f,_0x21752f:0x795,_0x1b654c:0x58b,_0x259bf2:0x681,_0x1d18c3:0x631,_0x299721:0x4f0,_0x1eb4f5:0x51b,_0x70aa64:0x629,_0x584fc7:0x50b,_0x49f277:0x3eb,_0x1bd700:0x3f0,_0x5721d8:0x315,_0x5015a3:0x5ea,_0x70948d:0x550,_0x4403d5:0x4e4},_0x144ae7={_0x1b1b3f:0x1c7},_0x2ef84a={_0x2fb9ab:0x2};if(_0x3be417)return _0x3be417;if(_0x14778c[_0x246e7b(0x550,0x410,_0x124254._0x4e9d16,0x433)]()===_0x246e7b(_0x124254._0x2cd2d4,_0x124254._0x54e488,_0x124254._0x442461,0x744))return process[_0x246e7b(0x640,0x6b4,_0x124254._0x409dd1,0x4b1)][_0x2ffa5e(0x4dd,_0x124254._0xc3d0ea,0x4d3,_0x124254._0x3404fb)]||_0x246e7b(_0x124254._0x21752f,_0x124254._0x1b654c,0x661,_0x124254._0x259bf2);const _0x2b5316=[_0x246e7b(0x5cc,0x72e,_0x124254._0x1d18c3,_0x124254._0x299721),_0x2ffa5e(0x5c4,0x5a7,_0x124254._0x1eb4f5,0x5dd),_0x246e7b(_0x124254._0x70aa64,0x625,_0x124254._0x584fc7,_0x124254._0x49f277),'/usr/bin/sh'];function _0x2ffa5e(_0x273b0d,_0x504c3d,_0x73fd,_0x295580){return _0x120580(_0x273b0d-_0x2ef84a._0x2fb9ab,_0x73fd,_0x73fd-0x11d,_0x295580-0x18f);}for(const _0x487f15 of _0x2b5316){if(shellExists(_0x487f15))return _0x487f15;}function _0x246e7b(_0x5b2a4b,_0x156612,_0x23e5aa,_0x2de6e5){return _0x43e84c(_0x5b2a4b-_0x144ae7._0x1b1b3f,_0x156612,_0x23e5aa-0x1c5,_0x23e5aa-0x145);}const _0x52ab17=process['env'][_0x2ffa5e(_0x124254._0x1bd700,_0x124254._0x5721d8,0x400,0x4d8)];if(_0x52ab17&&shellExists(_0x52ab17))return _0x52ab17;return _0x2ffa5e(0x592,_0x124254._0x5015a3,_0x124254._0x70948d,_0x124254._0x4403d5);}function buildShellArgs(_0x21ffd2,_0x25e67c){const _0x4fca1b={_0x48a9c7:0x496,_0x4d0475:0x539,_0x18baf6:0x5a7,_0x2ca0bf:0x23c,_0x5b3a04:0x1f0,_0x13f00c:0x3cc,_0xedb483:0x568,_0x1c37ea:0x643,_0x91d756:0x519,_0x5aa726:0x5be,_0x49cf03:0x70,_0x126b0a:0x8d,_0x3d6347:0x23e},_0x21d870={_0x5db8ad:0x1e4,_0x28a2eb:0x138},_0x487307={_0x15d403:0x6e,_0x20a160:0x34b};function _0x2d9e99(_0xcf9125,_0x2acadf,_0x4bd0a6,_0xe5c2d7){return _0x43e84c(_0xcf9125-0x81,_0x2acadf,_0x4bd0a6-_0x487307._0x15d403,_0xe5c2d7- -_0x487307._0x20a160);}if(_0x14778c[_0x586cb7(_0x4fca1b._0x48a9c7,_0x4fca1b._0x4d0475,0x3d2,_0x4fca1b._0x18baf6)]()===_0x2d9e99(_0x4fca1b._0x2ca0bf,_0x4fca1b._0x5b3a04,0x351,0x232)){const _0x1e8b38=/cmd(\.exe)?$/i[_0x586cb7(0x438,_0x4fca1b._0x13f00c,0x4f5,0x367)](_0x25e67c);return _0x1e8b38?['/d','/s','/c',_0x21ffd2]:[_0x586cb7(_0x4fca1b._0xedb483,_0x4fca1b._0x1c37ea,0x5d0,_0x4fca1b._0x91d756),_0x586cb7(0x698,0x71d,_0x4fca1b._0x5aa726,0x65f),_0x2d9e99(_0x4fca1b._0x49cf03,_0x4fca1b._0x126b0a,_0x4fca1b._0x3d6347,0x10a),_0x21ffd2];}function _0x586cb7(_0x49c694,_0x17ec81,_0x6da777,_0x41e3ea){return _0x43e84c(_0x49c694-0xbc,_0x41e3ea,_0x6da777-_0x21d870._0x5db8ad,_0x49c694-_0x21d870._0x28a2eb);}return['-c',_0x21ffd2];}function resolveCarriageReturns(_0x4dcedf){const _0xccdb8e={_0x38ee3d:0x53b,_0x498272:0x4c1,_0x4cb354:0x498,_0x4b982b:0x50e,_0x127384:0x3c6},_0xddc85d={_0x10008e:0x437,_0x5d2d14:0x5f5,_0x490e34:0x54c,_0x5110da:0x374,_0x552a46:0x351,_0x26a1d7:0x272},_0x129cbe={_0x245ce9:0x1ae,_0x1cbfeb:0x15d},_0x17ee99={_0x87a6e6:0x65,_0x230678:0x12e,_0xb95411:0xc4},_0x4bd763={_0x5195aa:0x418,_0x28a335:0x13c},_0x172a18={_0x1e572f:0x11e,_0x4d3bf2:0x117,_0x4aeace:0x9b};function _0x4d8658(_0x39b837,_0x44825d,_0x13c540,_0x484cbb){return _0x43e84c(_0x39b837-_0x172a18._0x1e572f,_0x39b837,_0x13c540-_0x172a18._0x4d3bf2,_0x484cbb- -_0x172a18._0x4aeace);}function _0x144d00(_0x297d5c,_0x5483ff,_0x30c44c,_0x41b0d0){return _0x120580(_0x41b0d0- -_0x4bd763._0x5195aa,_0x5483ff,_0x30c44c-0x180,_0x41b0d0-_0x4bd763._0x28a335);}return _0x4dcedf[_0x4d8658(_0xccdb8e._0x38ee3d,0x400,_0xccdb8e._0x498272,_0xccdb8e._0x4cb354)]('\x0a')['map'](_0x3f46dc=>{if(!_0x3f46dc[_0x5e0964(0x490,0x39e,0x3b9,_0xddc85d._0x10008e)]('\x0d'))return _0x3f46dc;function _0x22260f(_0x4f045a,_0x4f8861,_0x55ded4,_0x4a2b52){return _0x4d8658(_0x4f8861,_0x4f8861-_0x17ee99._0x87a6e6,_0x55ded4-_0x17ee99._0x230678,_0x4f045a- -_0x17ee99._0xb95411);}function _0x5e0964(_0x2662f3,_0x21fe54,_0x18b0e9,_0x255a4e){return _0x4d8658(_0x255a4e,_0x21fe54-_0x129cbe._0x245ce9,_0x18b0e9-0x29,_0x2662f3-_0x129cbe._0x1cbfeb);}const _0x39a8de=_0x3f46dc[_0x5e0964(_0xddc85d._0x5d2d14,0x4cf,_0xddc85d._0x490e34,0x508)]('\x0d');return _0x39a8de[_0x39a8de[_0x22260f(_0xddc85d._0x5110da,_0xddc85d._0x552a46,_0xddc85d._0x26a1d7,0x2a9)]-0x1]??'';})[_0x4d8658(0x33e,_0xccdb8e._0x4b982b,_0xccdb8e._0x127384,0x3dc)]('\x0a');}function resolveBackspaces(_0x39d3dd){const _0x3f3928={_0x212ba3:0x1c5,_0x25bf0c:0x92,_0x5ddf51:0x467,_0x269d14:0x513},_0x27e0a6={_0x358250:0x156,_0x4e2d38:0x3ec},_0x4d9578={_0x17fc29:0x2c,_0x38e65:0x12e},_0x4df6a8=[];for(const _0x54bf5c of Array[_0x2af44f(-_0x3f3928._0x212ba3,-_0x3f3928._0x25bf0c,-0xc1,-0x86)](_0x39d3dd)){_0x54bf5c==='\x08'?_0x4df6a8[_0x30e581(_0x3f3928._0x5ddf51,0x434,0x500,_0x3f3928._0x269d14)]():_0x4df6a8['push'](_0x54bf5c);}function _0x30e581(_0x4886de,_0x1ed812,_0x248dfa,_0x47f39d){return _0x43e84c(_0x4886de-0x183,_0x4886de,_0x248dfa-_0x4d9578._0x17fc29,_0x1ed812- -_0x4d9578._0x38e65);}function _0x2af44f(_0x51bb2f,_0x324d09,_0x5c5ed0,_0x4a3bdd){return _0x43e84c(_0x51bb2f-0x162,_0x51bb2f,_0x5c5ed0-_0x27e0a6._0x358250,_0x4a3bdd- -_0x27e0a6._0x4e2d38);}return _0x4df6a8['join']('');}function stripAnsiAndControls(_0x5cfbb8){const _0x341a2d={_0x289cff:0x3fd,_0x2b3cf4:0x307,_0x326dac:0x2b8,_0x1a5f75:0x426,_0x3f64af:0x342,_0x5b4b55:0x3a9,_0x262d38:0x3ae,_0xb94987:0x479,_0x1bb6e4:0x536,_0x47fc70:0x3fd,_0x5b3021:0x462,_0x581e5e:0x3b5,_0xa47ca8:0x43a,_0x4131c7:0x3fd,_0x49800a:0x536,_0xd610bd:0x3d8,_0x4a7741:0x42d,_0x384165:0x521,_0x285dc9:0x3c1,_0x132f6d:0x563,_0x45f655:0x42d},_0x496c6a={_0x32431c:0x4b,_0x26df10:0x15f,_0x131acd:0x180},_0x295675={_0x4386f5:0x7f};_0x5cfbb8=resolveCarriageReturns(_0x5cfbb8),_0x5cfbb8=resolveBackspaces(_0x5cfbb8);function _0x9cc3ec(_0x25bffd,_0x5dada3,_0x31af75,_0x4833a9){return _0x43e84c(_0x25bffd-0x114,_0x31af75,_0x31af75-_0x295675._0x4386f5,_0x25bffd-0x29);}_0x5cfbb8=stripVTControlCharacters(_0x5cfbb8);function _0x31685d(_0x3a290e,_0x3001f0,_0x536ece,_0x41e007){return _0x120580(_0x3001f0- -_0x496c6a._0x32431c,_0x3a290e,_0x536ece-_0x496c6a._0x26df10,_0x41e007-_0x496c6a._0x131acd);}const _0xf29b56='\x1b',_0x7754e0='\x07';return _0x5cfbb8=_0x5cfbb8[_0x9cc3ec(_0x341a2d._0x289cff,0x494,_0x341a2d._0x2b3cf4,_0x341a2d._0x326dac)](new RegExp(_0x9cc3ec(_0x341a2d._0x1a5f75,0x328,_0x341a2d._0x3f64af,0x53a)+_0x7754e0+_0x9cc3ec(_0x341a2d._0x5b4b55,_0x341a2d._0x262d38,0x2b9,_0x341a2d._0xb94987)+_0x7754e0,'g'),''),_0x5cfbb8=_0x5cfbb8['replace'](new RegExp(';[^\x5cn]*?'+_0xf29b56+'\x5c\x5c','g'),''),_0x5cfbb8=_0x5cfbb8['replace'](new RegExp(_0x7754e0,'g'),''),_0x5cfbb8=_0x5cfbb8['replace'](new RegExp(_0xf29b56+_0x9cc3ec(0x57e,0x53c,0x533,_0x341a2d._0x1bb6e4)+_0xf29b56+'\x5c\x5c','g'),''),_0x5cfbb8=_0x5cfbb8[_0x9cc3ec(_0x341a2d._0x47fc70,0x38e,_0x341a2d._0x5b3021,0x453)](new RegExp(_0xf29b56+_0x9cc3ec(0x412,_0x341a2d._0x581e5e,_0x341a2d._0xa47ca8,0x3a8),'g'),''),_0x5cfbb8=_0x5cfbb8[_0x9cc3ec(_0x341a2d._0x4131c7,_0x341a2d._0x49800a,0x533,0x3d4)](/[\u0080-\u009F]/g,''),_0x5cfbb8=_0x5cfbb8[_0x31685d(_0x341a2d._0xd610bd,_0x341a2d._0x4a7741,_0x341a2d._0x384165,_0x341a2d._0x285dc9)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x5cfbb8=_0x5cfbb8[_0x31685d(_0x341a2d._0x132f6d,_0x341a2d._0x45f655,0x421,0x4d8)](/[\u23CE\u2424]/g,''),_0x5cfbb8;}function resolveWorkingDirectory(_0x53122a,_0x84b0f1,_0x487540){const _0x1d28b7={_0x142a3e:0xd6,_0xa2f821:0x289,_0x1b1f0c:0x196,_0x1626d1:0xa9,_0x4e595:0x1b4},_0x2e7b41={_0x1588a4:0x172,_0x57b416:0x1ad};function _0x40f2b9(_0x30b41a,_0x4ae7a1,_0x4071c9,_0x32bf0c){return _0x43e84c(_0x30b41a-0x15,_0x4ae7a1,_0x4071c9-_0x2e7b41._0x1588a4,_0x30b41a- -_0x2e7b41._0x57b416);}const _0x2e24f4=resolveAllowedPath(_0x84b0f1,_0x487540,_0x53122a??'.');function _0x451dd4(_0x45118a,_0x165eef,_0x5f1f61,_0x40fdcb){return _0x120580(_0x165eef- -0x2b9,_0x5f1f61,_0x5f1f61-0xc4,_0x40fdcb-0x187);}try{const _0x498e2d=statSync(_0x2e24f4);if(!_0x498e2d[_0x451dd4(_0x1d28b7._0x142a3e,0x193,_0x1d28b7._0xa2f821,0x2af)]())throw new ToolExecutionError(_0x40f2b9(0x24b,0x2ee,0x1e8,0x18b)+_0x2e24f4,{'cwd':_0x2e24f4});return _0x2e24f4;}catch(_0x965cb9){if(_0x965cb9 instanceof ToolExecutionError)throw _0x965cb9;throw new ToolExecutionError(_0x40f2b9(_0x1d28b7._0x1b1f0c,_0x1d28b7._0x1626d1,_0x1d28b7._0x4e595,0x1f1)+_0x2e24f4,{'cwd':_0x2e24f4});}}function killProcessGroup(_0x2bab7c,_0xc8b83e,_0x283f0c=_0x43e84c(0x4f2,0x51d,0x3a7,0x491)){const _0x57524f={_0x4d5288:0x43a,_0x24f7b9:0x4b9,_0x4e4a99:0x213,_0x3152c0:0x119,_0xb00f2f:0xe2,_0x3adc95:0x396,_0x372dd8:0x41a,_0x4d75a1:0x3ed,_0x3c8dc8:0x326,_0x26a226:0x60,_0x244467:0x1,_0x3a36c6:0xaa,_0x401d52:0x62d,_0x4c036d:0x63a,_0x1609b3:0xb,_0x2ce70c:0xb9},_0x3055f2={_0x2fac18:0x6f,_0xf1b36b:0x75},_0x1d8cde={_0x59c675:0x119};function _0x1da6ef(_0x129e50,_0x4dda02,_0x18aabf,_0x6cc814){return _0x120580(_0x18aabf- -0x490,_0x129e50,_0x18aabf-0x157,_0x6cc814-_0x1d8cde._0x59c675);}if(!_0x2bab7c[_0x1989d7(0x5d6,0x57c,_0x57524f._0x4d5288,_0x57524f._0x24f7b9)])return;function _0x1989d7(_0x5324f5,_0x3d2238,_0x285e61,_0x4c5cdf){return _0x43e84c(_0x5324f5-_0x3055f2._0x2fac18,_0x4c5cdf,_0x285e61-0x105,_0x3d2238-_0x3055f2._0xf1b36b);}if(_0xc8b83e)try{_0x5256b3(_0x1da6ef(_0x57524f._0x4e4a99,0x97,_0x57524f._0x3152c0,_0x57524f._0xb00f2f),[_0x1989d7(0x55c,0x460,_0x57524f._0x3adc95,0x560),_0x2bab7c['pid']['toString'](),'/T','/F'],{'stdio':_0x1989d7(_0x57524f._0x372dd8,_0x57524f._0x4d75a1,_0x57524f._0x3c8dc8,0x2e6)});return;}catch{_0x2bab7c['kill'](_0x283f0c);return;}try{process[_0x1da6ef(-0x107,-_0x57524f._0x26a226,_0x57524f._0x244467,-_0x57524f._0x3a36c6)](-_0x2bab7c[_0x1989d7(_0x57524f._0x401d52,0x57c,_0x57524f._0x4c036d,0x567)],_0x283f0c);}catch{_0x2bab7c[_0x1da6ef(0xf0,-_0x57524f._0x1609b3,_0x57524f._0x244467,-_0x57524f._0x2ce70c)](_0x283f0c);}}function appendChunk(_0x54117c,_0x1513d4,_0x3d0090,_0x1064ad,_0x2ed5b4){const _0x5b52d9={_0xef8616:0x58c,_0x219508:0x545},_0x5ac96f={_0x917143:0xef};function _0x5689b7(_0x4bb733,_0x4d9b17,_0x34317a,_0x56f4da){return _0x43e84c(_0x4bb733-0x126,_0x4bb733,_0x34317a-_0x5ac96f._0x917143,_0x34317a-0x72);}const _0x3f92ba=_0x1064ad?stripAnsiAndControls(_0x3d0090):_0x3d0090;if(_0x3f92ba[_0x5689b7(_0x5b52d9._0xef8616,0x4d0,_0x5b52d9._0x219508,0x591)]===0x0)return;_0x54117c['push'](_0x3f92ba),_0x1513d4['push'](_0x3f92ba),_0x2ed5b4();}function createBashTool(_0x2ae2ed={}){const _0x4bb75c={_0x500d2e:0x521,_0x90e4bf:0x404,_0x56a0c4:0x401,_0x448592:0x34a,_0x5a86bd:0x3e3,_0x5611cb:0x25a,_0x5c4685:0x354,_0x101795:0x245,_0x266141:0x250,_0x4ccdfc:0x249,_0x514289:0x6f0,_0x28cc1e:0x6e5,_0x20d529:0x5c3,_0x348028:0x6ca,_0xc495f8:0x564,_0x5b2bfd:0x602,_0x19b36b:0x71c,_0x3d003b:0x448,_0x7900d7:0x5a0,_0x443d0d:0x4f9,_0x3de93e:0x492,_0x10a4af:0x577,_0x57fcee:0x5ec,_0x164b37:0x4b5,_0x34f0c1:0x4c6,_0x94825b:0x253,_0x4e435a:0x679,_0xfcdf90:0x636},_0xba485d={_0x4ff7f1:0x58e,_0x29ea9f:0x598,_0x44657f:0x2be,_0x34106c:0x4cc,_0x23f7d0:0x3a0,_0x1f4c55:0x3c2,_0x520384:0x3f0,_0x4fb942:0x3bb,_0xfc2ffb:0x31c,_0x3c707f:0x545,_0x78aa69:0x399,_0x13701b:0x134,_0x296088:0x8,_0x513241:0x1c8,_0xff8233:0x26c,_0x551f05:0x25a,_0x344202:0x20d,_0x5fcf8c:0x46,_0x54b856:0x483,_0x2f2ddb:0x50d,_0x465873:0x2ff,_0x1d3e4c:0x330,_0x2ca667:0xf3,_0x5d70f8:0x223,_0x2c3d37:0xd6,_0x337723:0x520,_0x11edc1:0x453,_0x382141:0x544,_0x138404:0x45a,_0x586d8e:0x59b,_0x54a70a:0x4b2,_0x5baf43:0x63b,_0x17f519:0x537,_0x4b4943:0x363,_0x303bd8:0x1fe,_0x2de34e:0x172,_0x12999a:0x1da,_0x177225:0x4f8,_0x362d65:0x4cc,_0x56a346:0x413,_0x164d37:0x5df,_0x4298a5:0x2d1,_0x7435a3:0x1aa,_0x5b2150:0x266,_0x4c0444:0x101,_0x13c8ba:0x18b,_0x5d48ba:0x260,_0x1e9f10:0xef,_0x73922a:0x493,_0x15611a:0x86,_0x1c47c5:0xb,_0x309914:0x86,_0xadcdd9:0x493,_0x55c08c:0x370,_0x38fd31:0x52a,_0x4a0768:0x6b6,_0x3e2f2a:0x477,_0x51a859:0x49f,_0x5b9be5:0x517,_0x69e421:0x5a4,_0xfd6b37:0xc7,_0x8848f:0xa4,_0x39abf5:0xed,_0x383465:0x56b,_0x13bc9c:0x626,_0x55cd26:0x4cc,_0x16dff2:0x5f5,_0x82f387:0x3fd,_0x2281b8:0x203,_0x57325e:0x14a,_0x4282a8:0x1a5,_0x526230:0x56f,_0x1fa897:0x631,_0x64bbd2:0x1e8,_0x4c29ee:0xd3,_0x1ff20c:0x10f,_0x2ff7f9:0x491,_0x4fc030:0x492,_0x4a77ed:0x3dc,_0x527213:0x325,_0x38633f:0x1fa,_0x50b2a0:0x21,_0x37d4a9:0x71,_0x5aab2d:0x9b,_0x24265b:0x596,_0x4d762f:0x694,_0x2d385d:0x640,_0xf6663f:0x5b7,_0xd061a2:0x18c,_0x5f4769:0x3fe,_0x2342ba:0x18b,_0x51b18d:0xdf,_0x1b7753:0xc4,_0x40d30c:0x3ff,_0x5ea46a:0x4c2,_0x3107d8:0x2e6,_0x46ec3d:0x408,_0x31804b:0x58f,_0x2c0596:0x41e,_0x4d6427:0x2f9,_0x39565b:0xc9,_0x1750ce:0xba,_0x52de5f:0x57c},_0x3d9cc8={_0x27d6d6:0x293,_0x3bcfce:0xb6,_0xfb0a72:0x103,_0x3754d8:0x2c2,_0x1a6d65:0xf0},_0x2684e0={_0x579fda:0x35d,_0x10f6a5:0x35c},_0x251937={_0x409cec:0x1db},_0x1731a8={_0x51baa9:0x33e,_0x424da6:0x270,_0x2f899d:0x145},_0x232184={_0x4785d1:0x1a6,_0x515cb8:0x22,_0x56ef01:0x25e},_0x529a63={_0x4c9feb:0x1ea,_0x166d63:0x34a,_0x4edc33:0x183,_0x2939da:0x270},_0x5e1bc2={_0x28c0c4:0x8e},_0x5666ab={_0xe700ce:0x31},_0xcca8e=_0x41f8f5[_0x589408(0x3f1,0x64c,_0x4bb75c._0x500d2e,_0x4bb75c._0x90e4bf)](_0x2ae2ed[_0x41d0c5(_0x4bb75c._0x56a0c4,_0x4bb75c._0x448592,0x3a2,_0x4bb75c._0x5a86bd)]??process[_0x41d0c5(_0x4bb75c._0x5611cb,0x1e9,0x2b6,_0x4bb75c._0x5c4685)]()),_0x32cb3f=(_0x2ae2ed[_0x41d0c5(0x1b7,_0x4bb75c._0x101795,_0x4bb75c._0x266141,_0x4bb75c._0x4ccdfc)]??[])[_0x589408(_0x4bb75c._0x514289,0x813,_0x4bb75c._0x28cc1e,_0x4bb75c._0x20d529)](_0x37cc9d=>_0x41f8f5[_0x41d0c5(0x36a,0x2f3,0x2c0,0x29a)](_0x37cc9d)),_0x1b5a1e=_0x2ae2ed[_0x589408(_0x4bb75c._0x348028,0x60a,0x718,0x6bb)]??DEFAULT_TIMEOUT_MS;function _0x589408(_0x45f1e9,_0x45ab50,_0x542aa4,_0x413d58){return _0x120580(_0x542aa4-0xf8,_0x45ab50,_0x542aa4-0x1da,_0x413d58-_0x5666ab._0xe700ce);}const _0x5987d4=_0x2ae2ed[_0x589408(_0x4bb75c._0xc495f8,0x708,0x5c7,0x5a7)]??!![],_0x22003a=_0x2ae2ed['name']??_0x589408(_0x4bb75c._0x5b2bfd,0x6b5,_0x4bb75c._0x19b36b,0x5db);function _0x41d0c5(_0x5c0266,_0x3fb7dc,_0x3a59b4,_0x4f2250){return _0x43e84c(_0x5c0266-_0x5e1bc2._0x28c0c4,_0x4f2250,_0x3a59b4-0x1ab,_0x3a59b4- -0xc5);}return defineTool({'name':_0x22003a,'description':_0x2ae2ed[_0x41d0c5(_0x4bb75c._0x3d003b,0x39c,0x464,_0x4bb75c._0x7900d7)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x41d0c5(0x5bb,_0x4bb75c._0x443d0d,_0x4bb75c._0x3de93e,0x367),'properties':{'command':{'type':_0x589408(0x55e,_0x4bb75c._0x10a4af,_0x4bb75c._0x57fcee,_0x4bb75c._0x164b37)},'cwd':{'type':_0x41d0c5(_0x4bb75c._0x34f0c1,0x386,0x38b,_0x4bb75c._0x94825b)},'timeoutMs':{'type':_0x589408(0x75c,_0x4bb75c._0x4e435a,0x6aa,_0x4bb75c._0xfcdf90)},'ignoreOutput':{'type':'boolean'}},'required':['command']},async *'execute'(_0x19a98f,_0x162d3d){const _0x7f076a={_0x5c023c:0x30,_0x5a2611:0x3a,_0x4fbb7:0x295,_0x181948:0x1a9},_0x54aa37={_0x57b650:0x22f,_0x504a7f:0x14a,_0xc3d6e4:0x15d},_0xd6c5af={_0x44bd65:0xc},_0x2df6fd={_0x4a4138:0x1f6,_0x1725bd:0x7d},_0x523df1={_0x281b0a:0x67b,_0x3f0679:0x50f,_0x9c897:0x51a},_0x2d75d8={_0x1d10a6:0x1b2,_0x52840c:0x189,_0x54625f:0xe9},_0x301cef={_0x519359:0xc0,_0x597f7c:0x63},_0x17e1dc=_0x19a98f[_0x126674(_0xba485d._0x4ff7f1,0x68b,_0xba485d._0x29ea9f,0x516)]??_0x1b5a1e;if(!Number[_0x1957d6(0x1f4,0xee,_0xba485d._0x44657f,0x220)](_0x17e1dc)||_0x17e1dc<0x1)throw new ToolExecutionError('Invalid\x20timeoutMs:\x20expected\x20a\x20positive\x20number',{'command':_0x19a98f[_0x126674(_0xba485d._0x34106c,_0xba485d._0x23f7d0,_0xba485d._0x1f4c55,0x49d)]});throwIfAborted(_0x162d3d['signal']);const _0x191f8f=resolveWorkingDirectory(_0x19a98f[_0x126674(_0xba485d._0x520384,_0xba485d._0x4fb942,_0xba485d._0xfc2ffb,0x2b8)],_0xcca8e,_0x32cb3f),_0x4a1cd8=_0x19a98f['ignoreOutput']??![],_0x7842d=resolveDefaultShell(_0x2ae2ed[_0x126674(0x479,0x575,_0xba485d._0x3c707f,_0xba485d._0x78aa69)]),_0x409a9b=buildShellArgs(_0x19a98f[_0x1957d6(_0xba485d._0x13701b,_0xba485d._0x296088,_0xba485d._0x513241,_0xba485d._0xff8233)],_0x7842d),_0x54ac59=_0x14778c['platform']()===_0x1957d6(_0xba485d._0x551f05,0x27b,_0xba485d._0x344202,0x33b);let _0xd55aef;try{_0xd55aef=_0x5256b3(_0x7842d,_0x409a9b,{'cwd':_0x191f8f,'env':{...process[_0x1957d6(0x113,-0x18,0x1f1,_0xba485d._0x5fcf8c)],..._0x2ae2ed['env']??{}},'stdio':_0x4a1cd8?[_0x126674(0x3ed,0x507,0x30d,_0xba485d._0x54b856),_0x126674(0x3ed,0x351,0x506,_0xba485d._0x2f2ddb),_0x126674(0x3ed,0x450,_0xba485d._0x465873,_0xba485d._0x1d3e4c)]:[_0x1957d6(0x55,_0xba485d._0x2ca667,-0xe2,0x65),_0x1957d6(0x188,0x1b8,_0xba485d._0x5d70f8,_0xba485d._0x2c3d37),_0x126674(_0xba485d._0x337723,_0xba485d._0x11edc1,_0xba485d._0x382141,_0xba485d._0x138404)],'shell':![],'windowsHide':!![],'detached':!_0x54ac59});}catch(_0x24b9d2){if(isErrnoException(_0x24b9d2)&&_0x24b9d2[_0x126674(_0xba485d._0x586d8e,_0xba485d._0x54a70a,_0xba485d._0x5baf43,_0xba485d._0x17f519)]===_0x126674(0x377,_0xba485d._0x4b4943,0x313,0x3d5))throw new ToolExecutionError(_0x1957d6(_0xba485d._0x303bd8,0x23f,_0xba485d._0x2de34e,_0xba485d._0x12999a)+_0x7842d,{'command':_0x19a98f['command'],'cwd':_0x191f8f,'shellPath':_0x7842d});throw new ToolExecutionError(_0x24b9d2 instanceof Error?_0x24b9d2[_0x126674(_0xba485d._0x177225,0x51d,0x42f,0x45c)]:String(_0x24b9d2),{'command':_0x19a98f[_0x126674(_0xba485d._0x362d65,_0xba485d._0x56a346,0x46d,_0xba485d._0x164d37)],'cwd':_0x191f8f,'shellPath':_0x7842d});}const _0x54fd2c=[],_0x110b74=[],_0x4606e6=new StringDecoder(_0x1957d6(0x1aa,0x79,_0xba485d._0x4298a5,0x2b8)),_0x3353f7=new StringDecoder(_0x1957d6(_0xba485d._0x7435a3,_0xba485d._0x5b2150,0x190,_0xba485d._0x4c0444));let _0x416637,_0x598333=![],_0x4da15d;const _0x324797=()=>{if(!_0x416637)return;const _0x4c0675=_0x416637;_0x416637=void 0x0,_0x4c0675();},_0x5d85a0=async()=>{function _0x4ddc35(_0x367af6,_0x305104,_0x159d69,_0x30980c){return _0x1957d6(_0x30980c-_0x301cef._0x519359,_0x159d69,_0x159d69-0x19c,_0x30980c-_0x301cef._0x597f7c);}if(_0x110b74[_0x4ddc35(_0x529a63._0x4c9feb,_0x529a63._0x166d63,_0x529a63._0x4edc33,_0x529a63._0x2939da)]>0x0||_0x598333)return;await new Promise(_0x574ec3=>{_0x416637=_0x574ec3;});};function _0x1957d6(_0x3d6a13,_0x1f4ca8,_0x322fcf,_0x779fbd){return _0x41d0c5(_0x3d6a13-_0x232184._0x4785d1,_0x1f4ca8-_0x232184._0x515cb8,_0x3d6a13- -_0x232184._0x56ef01,_0x1f4ca8);}const _0x2742a9=_0x4aa30e=>{function _0x51aa9c(_0x19ea8c,_0x465ec8,_0x38604e,_0x3eac91){return _0x126674(_0x19ea8c-_0x2d75d8._0x1d10a6,_0x38604e,_0x38604e-_0x2d75d8._0x52840c,_0x3eac91-_0x2d75d8._0x54625f);}appendChunk(_0x54fd2c,_0x110b74,_0x4606e6[_0x51aa9c(0x5d3,_0x523df1._0x281b0a,_0x523df1._0x3f0679,_0x523df1._0x9c897)](_0x4aa30e),_0x5987d4,_0x324797);},_0x3d09a2=_0x28776a=>{function _0x316b5a(_0x3b621a,_0x178ad8,_0x50cf9b,_0x8df927){return _0x126674(_0x8df927- -_0x2df6fd._0x4a4138,_0x178ad8,_0x50cf9b-_0x2df6fd._0x1725bd,_0x8df927-0xd9);}appendChunk(_0x54fd2c,_0x110b74,_0x3353f7[_0x316b5a(_0x1731a8._0x51baa9,_0x1731a8._0x424da6,_0x1731a8._0x2f899d,0x22b)](_0x28776a),_0x5987d4,_0x324797);};_0xd55aef[_0x1957d6(_0xba485d._0x13c8ba,_0xba485d._0x5d48ba,0x217,_0xba485d._0x1e9f10)]?.['on'](_0x126674(_0xba485d._0x73922a,0x3df,0x51a,0x401),_0x2742a9),_0xd55aef[_0x1957d6(_0xba485d._0x15611a,0x142,-_0xba485d._0x1c47c5,-_0xba485d._0x309914)]?.['on'](_0x126674(_0xba485d._0xadcdd9,_0xba485d._0x55c08c,0x5c9,_0xba485d._0x38fd31),_0x3d09a2);let _0x56c87c=![],_0x57243d;function _0x126674(_0x34aeb8,_0x362f36,_0x9b76f5,_0x18e3ab){return _0x41d0c5(_0x34aeb8-_0x251937._0x409cec,_0x362f36-0x6f,_0x34aeb8-0x13a,_0x362f36);}const _0xa19436=addAbortListener(_0x162d3d[_0x126674(0x5fc,0x737,_0xba485d._0x4a0768,0x6e0)],()=>{_0x4da15d=toAbortError(_0x162d3d[_0x1a2566(0x285,0x35e,_0x2684e0._0x579fda,_0x2684e0._0x10f6a5)]['reason']),_0x598333=!![];function _0x1a2566(_0x217e14,_0x5bd50e,_0x3eddc9,_0x11dd08){return _0x126674(_0x217e14- -0x377,_0x5bd50e,_0x3eddc9-_0xd6c5af._0x44bd65,_0x11dd08-0x82);}_0x324797();try{killProcessGroup(_0xd55aef,_0x54ac59);}catch{}});try{const _0x1e8ccb=new Promise((_0x5234b5,_0x3762ab)=>{const _0x2c1166={_0x1f1f9e:0x147},_0x53262d={_0xe6285b:0x225,_0x2f2911:0x2c6,_0x3492ad:0x3d7,_0x2fc08d:0x436,_0x21f8f0:0x53a,_0x34fe06:0x37f,_0x4aaf6b:0x4e4,_0x484567:0x519,_0x18e173:0x4d1,_0x30aac1:0x3a3},_0x2e2886={_0x34be5f:0x1d3},_0x1cce94=()=>{function _0x275763(_0xd5042a,_0x23c569,_0x354b4d,_0x46248d){return _0x4f9a(_0xd5042a-0xaf,_0x46248d);}function _0x73168c(_0x38bc8e,_0x46958c,_0x58909f,_0x5231ec){return _0x4f9a(_0x46958c-_0x2e2886._0x34be5f,_0x58909f);}_0x57243d&&(clearTimeout(_0x57243d),_0x57243d=void 0x0),_0xd55aef[_0x275763(0x2d2,_0x53262d._0xe6285b,_0x53262d._0x2f2911,_0x53262d._0x3492ad)](_0x73168c(0x471,_0x53262d._0x2fc08d,_0x53262d._0x21f8f0,_0x53262d._0x34fe06),_0xeeaf5f),_0xd55aef[_0x73168c(_0x53262d._0x4aaf6b,0x3f6,_0x53262d._0x484567,_0x53262d._0x18e173)](_0x73168c(0x43a,0x437,_0x53262d._0x30aac1,0x353),_0x4aeb98);},_0xeeaf5f=_0x197c96=>{_0x598333=!![],_0x324797(),_0x1cce94(),_0x3762ab(_0x4da15d??_0x197c96);},_0x4aeb98=(_0x4bffe6,_0x3bf1ef)=>{function _0x9f253a(_0x1587da,_0x4ae289,_0x28b857,_0x3683e3){return _0x4f9a(_0x28b857-0x38a,_0x4ae289);}function _0x230459(_0x1b04ab,_0x52f4d9,_0x28ed63,_0x49a8c5){return _0x4f9a(_0x28ed63- -0x2e6,_0x1b04ab);}_0x56c87c=!![],appendChunk(_0x54fd2c,_0x110b74,_0x4606e6[_0x230459(-0x13,-_0x54aa37._0x57b650,-0x14a,-0x10b)](),_0x5987d4,_0x324797),appendChunk(_0x54fd2c,_0x110b74,_0x3353f7[_0x230459(-0x23d,-0x230,-_0x54aa37._0x504a7f,-_0x54aa37._0xc3d6e4)](),_0x5987d4,_0x324797),_0x598333=!![],_0x324797(),_0x1cce94();if(_0x4da15d){_0x3762ab(_0x4da15d);return;}_0x5234b5({'code':_0x4bffe6,'signal':_0x3bf1ef});};_0x57243d=setTimeout(()=>{_0x598333=!![],_0x324797();function _0xa1cd85(_0x45ad0b,_0x34fe61,_0x504f30,_0x2e4622){return _0x4f9a(_0x45ad0b- -0x258,_0x34fe61);}_0x1cce94();function _0x438983(_0x111a25,_0x490c2d,_0x5016ef,_0x26b18b){return _0x4f9a(_0x26b18b- -_0x2c1166._0x1f1f9e,_0x111a25);}try{killProcessGroup(_0xd55aef,_0x54ac59);}catch{}_0x3762ab(new ToolExecutionError('Command\x20timed\x20out\x20after\x20'+_0x17e1dc+_0x438983(-_0x7f076a._0x5c023c,-0x60,_0x7f076a._0x5a2611,0xdf),{'command':_0x19a98f[_0x438983(0x2b7,0x1fd,_0x7f076a._0x4fbb7,_0x7f076a._0x181948)],'cwd':_0x191f8f,'shellPath':_0x7842d,'timeoutMs':_0x17e1dc,'timedOut':!![]}));},_0x17e1dc),_0xd55aef['once'](_0x4f5a77(-0x87,-0x16a,-_0x3d9cc8._0x27d6d6,-_0x3d9cc8._0x3bcfce),_0xeeaf5f);function _0x4f5a77(_0x45f348,_0x448f37,_0x24c147,_0xbb28b8){return _0x1957d6(_0x448f37- -0x211,_0x45f348,_0x24c147-0x4a,_0xbb28b8-0xde);}function _0x51b558(_0x5bdcea,_0x34c89f,_0x25332d,_0x2debfc){return _0x126674(_0x25332d- -0x17d,_0x34c89f,_0x25332d-0xa9,_0x2debfc-0xde);}_0xd55aef[_0x4f5a77(-_0x3d9cc8._0xfb0a72,-0x220,-_0x3d9cc8._0x3754d8,-_0x3d9cc8._0x1a6d65)]('close',_0x4aeb98);});while(_0x110b74[_0x126674(0x548,0x57c,0x62f,_0xba485d._0x3e2f2a)]>0x0||!_0x598333){if(_0x110b74[_0x126674(0x548,_0xba485d._0x51a859,0x45d,0x66b)]===0x0){await _0x5d85a0();continue;}const _0x4f5c0c=_0x110b74[_0x126674(_0xba485d._0x5b9be5,_0xba485d._0x69e421,0x577,0x60e)]();_0x4f5c0c!==void 0x0&&(yield _0x4f5c0c);}const _0xc0c81b=await _0x1e8ccb,_0x198c39=_0x4a1cd8?_0x1957d6(0x1a5,_0xba485d._0xfd6b37,_0xba485d._0x8848f,_0xba485d._0x39abf5)+(_0xc0c81b[_0x126674(_0xba485d._0x586d8e,_0xba485d._0x383465,0x4fd,_0xba485d._0x13bc9c)]??0x0):_0x54fd2c['join'](''),_0x405a4d={'command':_0x19a98f[_0x126674(_0xba485d._0x55cd26,_0xba485d._0x16dff2,0x4de,_0xba485d._0x82f387)],'cwd':_0x191f8f,'exitCode':_0xc0c81b[_0x1957d6(_0xba485d._0x2281b8,0x314,_0xba485d._0x57325e,_0xba485d._0x4282a8)]??0x0,'signal':_0xc0c81b['signal'],'ignoreOutput':_0x4a1cd8,'shellPath':_0x7842d,'timeoutMs':_0x17e1dc};if(_0xc0c81b[_0x126674(0x59b,_0xba485d._0x526230,_0xba485d._0x1fa897,0x5dc)]!==0x0)throw new ToolExecutionError(_0x198c39||_0x1957d6(_0xba485d._0x64bbd2,0x302,_0xba485d._0x4c29ee,_0xba485d._0x1ff20c)+(_0xc0c81b['code']??0x0),_0x405a4d);return createToolOutput(_0x198c39,_0x405a4d);}catch(_0x3b2f7b){while(_0x110b74[_0x126674(0x548,_0xba485d._0x2ff7f9,0x45f,0x511)]>0x0){const _0x1f94dc=_0x110b74[_0x126674(_0xba485d._0x5b9be5,0x550,_0xba485d._0x4fc030,_0xba485d._0x4a77ed)]();_0x1f94dc!==void 0x0&&(yield _0x1f94dc);}if(_0x3b2f7b instanceof ToolExecutionError)throw _0x3b2f7b;if(_0x4da15d)throw _0x4da15d;if(isErrnoException(_0x3b2f7b)&&_0x3b2f7b[_0x1957d6(0x203,_0xba485d._0x527213,_0xba485d._0x38633f,0x1a1)]===_0x1957d6(-_0xba485d._0x50b2a0,-_0xba485d._0x37d4a9,_0xba485d._0x5aab2d,0x31))throw new ToolExecutionError(_0x126674(_0xba485d._0x24265b,_0xba485d._0x4d762f,_0xba485d._0x2d385d,_0xba485d._0xf6663f)+_0x7842d,{'command':_0x19a98f[_0x1957d6(0x134,0x1c9,0x1c6,_0xba485d._0xd061a2)],'cwd':_0x191f8f,'shellPath':_0x7842d});throw new ToolExecutionError(_0x3b2f7b instanceof Error?_0x3b2f7b['message']:String(_0x3b2f7b),{'command':_0x19a98f[_0x126674(_0xba485d._0x362d65,0x421,_0xba485d._0x5f4769,0x5b4)],'cwd':_0x191f8f,'shellPath':_0x7842d});}finally{_0x57243d&&clearTimeout(_0x57243d);_0xa19436(),_0xd55aef[_0x1957d6(_0xba485d._0x2342ba,_0xba485d._0x51b18d,0x22d,_0xba485d._0x1b7753)]?.[_0x126674(_0xba485d._0x40d30c,_0xba485d._0x5ea46a,_0xba485d._0x3107d8,_0xba485d._0x46ec3d)](_0x126674(_0xba485d._0x73922a,0x3f4,0x5cc,_0xba485d._0x31804b),_0x2742a9),_0xd55aef[_0x126674(_0xba485d._0x2c0596,0x541,_0xba485d._0x4d6427,0x4c4)]?.[_0x1957d6(0x67,0x196,_0xba485d._0x39565b,-_0xba485d._0x1750ce)]('data',_0x3d09a2);if(!_0x56c87c&&_0xd55aef[_0x126674(_0xba485d._0x52de5f,0x44e,0x5b9,0x67f)]&&!_0xd55aef[_0x126674(0x557,0x487,0x416,0x42d)])try{killProcessGroup(_0xd55aef,_0x54ac59);}catch{}}}});}function createShellExecTool(_0x532891={}){return createBashTool(_0x532891);}import{readdir,readFile as _0x4555f9}from'fs/promises';import{extname,join as _0x17271f}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x589a38,join,relative as _0x5bd041,resolve as _0x35dad4}from'path';import{readdir as _0xb02ee8,readFile as _0x3556e5}from'fs/promises';import{join as _0x372bde,relative as _0x2d5581,sep}from'path';import{delimiter}from'path';import{mkdir as _0x321b24,rm,stat as _0x40a1a9,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x382e6e}from'path';import{unwatchFile,watchFile}from'fs';import{readFile as _0x25acc3,rename,writeFile as _0x59121f}from'fs/promises';import{homedir as _0x1413b3}from'os';import{dirname as _0x234af2,isAbsolute as _0x4c35c0,join as _0x43695b,resolve as _0x15b7fd}from'path';import{parse as _0x11e5c7,stringify as _0x169ca5}from'yaml';import{cp,mkdir as _0x2d3ce1,readFile as _0x32da1a,rm as _0xe31533,writeFile as _0x302291}from'fs/promises';import{homedir}from'os';import{join as _0x3679e7}from'path';import{parse as _0xaa6571,stringify as _0x4955a3}from'yaml';import{z}from'zod';import{readdir as _0x49cf3c,readFile as _0x38acfa}from'fs/promises';import{join as _0x251719}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x47a570){const _0x2a365f={_0x285a8c:0x325,_0x2f258d:0x419,_0x14203e:0x2cc,_0x468829:0x2d2,_0x5abaa4:0x2ed,_0x29bb43:0x40c,_0x4700b0:0x1cf,_0x2e69b7:0x1c0,_0x47ba93:0x27c},_0x38deeb={_0x5b64f3:0x88},_0x269d26={_0x40dc67:0x293};function _0x23873f(_0x35a248,_0x1ab864,_0x30e036,_0x42c810){return _0x120580(_0x35a248- -_0x269d26._0x40dc67,_0x42c810,_0x30e036-0x1b2,_0x42c810-0x68);}const _0x404d29=[];let _0x52466d='',_0xdb44f=0x0;while(_0xdb44f<_0x47a570[_0x23873f(0x2e4,0x343,0x256,_0x2a365f._0x285a8c)]){const _0x1bbe3f=_0x47a570[_0xdb44f];if(_0x1bbe3f==='\x5c'&&_0xdb44f+0x1<_0x47a570[_0x23873f(0x2e4,_0x2a365f._0x2f258d,_0x2a365f._0x14203e,0x240)])_0x52466d+=_0x47a570[_0xdb44f+0x1],_0xdb44f+=0x2;else{if(_0x1bbe3f==='\x22'||_0x1bbe3f==='\x27'){const _0x40e467=_0x1bbe3f;_0xdb44f++;while(_0xdb44f<_0x47a570[_0x2c3a18(0x24b,_0x2a365f._0x468829,_0x2a365f._0x5abaa4,0x235)]&&_0x47a570[_0xdb44f]!==_0x40e467){_0x47a570[_0xdb44f]==='\x5c'&&_0xdb44f+0x1<_0x47a570['length']?(_0x52466d+=_0x47a570[_0xdb44f+0x1],_0xdb44f+=0x2):(_0x52466d+=_0x47a570[_0xdb44f],_0xdb44f++);}_0xdb44f++;}else _0x1bbe3f!==void 0x0&&/\s/['test'](_0x1bbe3f)?(_0x52466d&&(_0x404d29[_0x2c3a18(0x2cb,_0x2a365f._0x29bb43,_0x2a365f._0x4700b0,_0x2a365f._0x2e69b7)](_0x52466d),_0x52466d=''),_0xdb44f++):(_0x52466d+=_0x1bbe3f,_0xdb44f++);}}if(_0x52466d)_0x404d29[_0x23873f(0x364,0x321,0x319,_0x2a365f._0x47ba93)](_0x52466d);function _0x2c3a18(_0x49e623,_0x3ed81d,_0x3fec7a,_0x3edb77){return _0x43e84c(_0x49e623-_0x38deeb._0x5b64f3,_0x3ed81d,_0x3fec7a-0xf9,_0x49e623- -0x288);}return _0x404d29;}function renderCommandInstructions(_0x375f25){const _0x48b8b0={_0x474251:0xc7,_0x5d1b2e:0x5d,_0x2e147e:0x252,_0x412e55:0xb4,_0x41e88b:0x1,_0x5570d8:0x1fd,_0x547f3f:0xfd,_0x32c4ca:0xa5,_0x462689:0xe6,_0x2b9693:0x12,_0x7edf4c:0x208,_0x59a60b:0x27a,_0x5aa709:0x1f9,_0x803988:0x14e,_0x41210a:0x240,_0x2262ff:0x188,_0x5a6d88:0x7d,_0x29d772:0x1fc,_0x157f9a:0x48,_0x279b44:0x90,_0x2cb312:0x156,_0x5d38f9:0xe0,_0x459e1d:0x1f,_0x507add:0xcf,_0x8359b8:0xf0,_0x2253fb:0x122},_0x19cf3d={_0x22817b:0x2c},_0x5d2783={_0x261b93:0x36f,_0x177028:0x1e6,_0x382a66:0x1b7},_0x4db2a4={_0x255e1d:0x20c,_0x1d6ca6:0x253};let _0x5e6a1d=_0x375f25[_0x32b6f5(_0x48b8b0._0x474251,_0x48b8b0._0x5d1b2e,0xd9,0x85)],_0x37488e=![];const _0x536337=tokenizeCommandArguments(_0x375f25[_0x32b6f5(0x113,_0x48b8b0._0x2e147e,0x1d8,_0x48b8b0._0x412e55)]);_0x5e6a1d=_0x5e6a1d[_0x32b6f5(0x109,0x151,_0x48b8b0._0x41e88b,_0x48b8b0._0x5570d8)](/\$ARGUMENTS\[(\d+)\]/g,(_0x5309c4,_0x54b4d5)=>{return _0x37488e=!![],_0x536337[Number(_0x54b4d5)]??'';}),_0x5e6a1d=_0x5e6a1d[_0x537ac7(_0x48b8b0._0x547f3f,_0x48b8b0._0x32c4ca,_0x48b8b0._0x462689,0xbd)](/\$ARGUMENTS\b/g,()=>{function _0x51cfa1(_0x2c0efb,_0x427604,_0x3981af,_0x59120c){return _0x32b6f5(_0x59120c-0x8,_0x427604-0x105,_0x3981af-0x16,_0x3981af);}return _0x37488e=!![],_0x375f25[_0x51cfa1(_0x4db2a4._0x255e1d,_0x4db2a4._0x1d6ca6,-0xc,0x11b)];});if(_0x375f25[_0x32b6f5(0x14e,0x284,_0x48b8b0._0x2b9693,0x17e)]&&_0x375f25['argumentNames'][_0x32b6f5(_0x48b8b0._0x7edf4c,_0x48b8b0._0x59a60b,0x1a6,_0x48b8b0._0x5aa709)]>0x0)for(let _0x1d9f4e=0x0;_0x1d9f4e<_0x375f25[_0x32b6f5(_0x48b8b0._0x803988,0x204,0x1fa,_0x48b8b0._0x41210a)]['length'];_0x1d9f4e++){const _0x2605bf=_0x375f25['argumentNames'][_0x1d9f4e];if(_0x2605bf){const _0x2db920=new RegExp('\x5c$'+_0x2605bf+'\x5cb','g');_0x5e6a1d=_0x5e6a1d[_0x32b6f5(0x109,_0x48b8b0._0x2262ff,0x2f,_0x48b8b0._0x5a6d88)](_0x2db920,()=>{return _0x37488e=!![],_0x536337[_0x1d9f4e]??'';});}}function _0x32b6f5(_0x35536f,_0x5b4fed,_0x19c0ff,_0x23f6c8){return _0x120580(_0x35536f- -_0x5d2783._0x261b93,_0x23f6c8,_0x19c0ff-_0x5d2783._0x177028,_0x23f6c8-_0x5d2783._0x382a66);}_0x5e6a1d=_0x5e6a1d[_0x537ac7(_0x48b8b0._0x29d772,0xed,0xe6,-_0x48b8b0._0x157f9a)](/\$(\d+)\b/g,(_0x4e416e,_0x12f181)=>{return _0x37488e=!![],_0x536337[Number(_0x12f181)]??'';});function _0x537ac7(_0x122999,_0x9e97aa,_0x5a09bc,_0x56836d){return _0x43e84c(_0x122999-0xd,_0x56836d,_0x5a09bc-_0x19cf3d._0x22817b,_0x5a09bc- -0x2ee);}return!_0x37488e&&_0x375f25['argumentsText'][_0x32b6f5(_0x48b8b0._0x279b44,_0x48b8b0._0x2cb312,_0x48b8b0._0x5d38f9,-_0x48b8b0._0x459e1d)]()&&(_0x5e6a1d=_0x5e6a1d+'\x0a\x0aARGUMENTS:\x20'+_0x375f25[_0x537ac7(_0x48b8b0._0x507add,0x11f,_0x48b8b0._0x8359b8,_0x48b8b0._0x2253fb)]),_0x5e6a1d;}var chatModelAuthSchemeSchema=z['enum']([_0x43e84c(0x250,0x3df,0x308,0x38b),_0x43e84c(0x467,0x35c,0x376,0x433)]),apiKeyAuthSchema=z[_0x43e84c(0x4a2,0x697,0x50f,0x557)]({'type':z[_0x120580(0x543,0x41b,0x480,0x488)](_0x43e84c(0x53f,0x64f,0x4cd,0x53c)),'apiKey':z[_0x43e84c(0x57c,0x4bb,0x507,0x450)](),'authScheme':chatModelAuthSchemeSchema[_0x43e84c(0x592,0x414,0x4b9,0x471)]()})[_0x120580(0x537,0x679,0x66c,0x575)](),oauthAuthSchema=z[_0x120580(0x5fb,0x67b,0x6c4,0x569)]({'type':z['literal'](_0x43e84c(0x3ea,0x444,0x30e,0x2ff)),'access':z[_0x43e84c(0x417,0x3a5,0x3cc,0x450)](),'refresh':z[_0x120580(0x4f4,0x615,0x3c9,0x5f1)](),'expires':z['number']()[_0x120580(0x515,0x51f,0x3f0,0x475)](),'authScheme':chatModelAuthSchemeSchema[_0x120580(0x515,0x421,0x605,0x5e7)]()})[_0x43e84c(0x590,0x4dc,0x4ad,0x493)](),authMethodSchema=z[_0x120580(0x3e3,0x3dc,0x423,0x398)]([apiKeyAuthSchema,oauthAuthSchema]),modelDefinitionSchema=z['object']({'id':z['string'](),'name':z[_0x120580(0x4f4,0x50e,0x514,0x4de)]()[_0x120580(0x515,0x65b,0x601,0x467)]()})[_0x120580(0x537,0x543,0x5f0,0x4bb)](),modelConfigSchema=z['union']([z[_0x43e84c(0x4d3,0x59b,0x4b2,0x49f)](![]),z[_0x43e84c(0x479,0x4ee,0x45c,0x49f)](!![]),z[_0x43e84c(0x3d5,0x446,0x482,0x450)](),z[_0x120580(0x531,0x5df,0x655,0x4ab)](z[_0x120580(0x4f4,0x54e,0x55c,0x473)]()),z[_0x120580(0x531,0x5fb,0x555,0x42b)](modelDefinitionSchema)]),chatModelSurfaceSchema=z['enum']([_0x43e84c(0x483,0x43c,0x3a9,0x480),_0x43e84c(0x689,0x5c6,0x458,0x579),_0x120580(0x5df,0x661,0x5fd,0x6cf),'openai-responses-ws']),providerConfigSchema=z[_0x43e84c(0x4af,0x59e,0x597,0x557)]({'apiKey':z['string']()[_0x120580(0x515,0x5de,0x542,0x634)](),'token':z[_0x43e84c(0x596,0x528,0x430,0x450)]()['optional'](),'defaultModel':z[_0x120580(0x4f4,0x402,0x5a4,0x56f)]()[_0x120580(0x515,0x53c,0x4da,0x489)](),'smallModel':z[_0x43e84c(0x4a5,0x3ee,0x4c3,0x450)]()['optional'](),'currentAuth':z[_0x120580(0x4f4,0x639,0x614,0x555)]()[_0x120580(0x515,0x4d9,0x467,0x573)](),'auth':z[_0x120580(0x531,0x4a5,0x60b,0x403)](authMethodSchema)[_0x43e84c(0x461,0x42a,0x466,0x471)](),'surface':chatModelSurfaceSchema[_0x120580(0x515,0x447,0x43d,0x4e2)](),'baseUrl':z[_0x43e84c(0x565,0x4d7,0x3b7,0x450)]()[_0x43e84c(0x517,0x407,0x51b,0x471)](),'models':modelConfigSchema[_0x43e84c(0x57a,0x41d,0x562,0x471)](),'customHeaders':z['record'](z[_0x43e84c(0x4d8,0x477,0x41f,0x450)](),z[_0x43e84c(0x505,0x49f,0x345,0x450)]())[_0x120580(0x515,0x546,0x553,0x63d)]()})[_0x120580(0x537,0x52e,0x5d0,0x4a7)](),mcpServerConfigSchema=z[_0x120580(0x5fb,0x6f2,0x568,0x57f)]({'command':z['string']()[_0x43e84c(0x54e,0x384,0x441,0x471)](),'args':z['array'](z['string']())[_0x43e84c(0x518,0x4dd,0x43d,0x471)](),'env':z[_0x43e84c(0x3ac,0x47c,0x5ed,0x4ea)](z[_0x120580(0x4f4,0x4ea,0x5c2,0x522)](),z[_0x120580(0x4f4,0x3cc,0x546,0x425)]())[_0x43e84c(0x42a,0x349,0x37a,0x471)](),'transport':z['enum']([_0x120580(0x617,0x68c,0x5a1,0x744),_0x43e84c(0x4a4,0x42d,0x2ba,0x38c)])['optional'](),'url':z[_0x43e84c(0x458,0x408,0x503,0x450)]()['optional'](),'headers':z[_0x43e84c(0x40d,0x3c9,0x3af,0x4ea)](z['string'](),z[_0x43e84c(0x341,0x4c1,0x37c,0x450)]())[_0x43e84c(0x480,0x54c,0x4b7,0x471)](),'prefix':z[_0x120580(0x4f4,0x434,0x604,0x3f8)]()[_0x43e84c(0x399,0x593,0x51f,0x471)](),'timeoutMs':z[_0x120580(0x5b2,0x6e5,0x595,0x6d7)]()[_0x43e84c(0x395,0x582,0x3fc,0x471)](),'enabled':z[_0x43e84c(0x446,0x27e,0x306,0x350)]()[_0x120580(0x515,0x484,0x4ec,0x569)](),'auth':z[_0x43e84c(0x57b,0x576,0x66c,0x557)]({'type':z[_0x120580(0x4f5,0x53c,0x3c5,0x4cf)]([_0x43e84c(0x413,0x592,0x4ca,0x46c),'bearer',_0x120580(0x3a3,0x3bf,0x440,0x361)]),'token':z[_0x43e84c(0x494,0x49a,0x395,0x450)]()['optional'](),'oauth':z[_0x120580(0x5fb,0x578,0x521,0x4bd)]({'clientId':z[_0x120580(0x4f4,0x583,0x5b0,0x4d7)]()[_0x43e84c(0x37b,0x4a8,0x457,0x471)](),'clientMetadataUrl':z['string']()['optional'](),'authorizationServer':z[_0x120580(0x4f4,0x634,0x555,0x4a8)]()[_0x120580(0x515,0x453,0x4d4,0x509)](),'scopes':z['array'](z[_0x43e84c(0x4dc,0x56a,0x528,0x450)]())['optional'](),'tokenStorageKey':z[_0x120580(0x4f4,0x403,0x446,0x50f)]()['optional']()})['passthrough']()[_0x43e84c(0x4ac,0x526,0x5ab,0x471)]()})['passthrough']()[_0x43e84c(0x3b0,0x4ac,0x4c1,0x471)]()})['passthrough'](),mcpSettingsSchema=z[_0x120580(0x5fb,0x6ff,0x52a,0x64a)]({'servers':z['record'](z[_0x120580(0x4f4,0x44f,0x5bf,0x600)](),mcpServerConfigSchema)[_0x43e84c(0x3f2,0x48b,0x4b7,0x471)](),'allowedTools':z[_0x120580(0x58e,0x617,0x55c,0x671)](z['string'](),z[_0x120580(0x58e,0x4fc,0x51c,0x4bc)](z['string'](),z[_0x43e84c(0x2bd,0x366,0x3a4,0x350)]()))[_0x43e84c(0x547,0x41f,0x3a7,0x471)](),'defaultTimeoutMs':z['number']()[_0x120580(0x515,0x569,0x41f,0x409)]()})[_0x120580(0x537,0x417,0x4c1,0x58a)](),skillsSettingsSchema=z['object']({'enabled':z[_0x43e84c(0x490,0x3ba,0x2a6,0x350)]()[_0x43e84c(0x42e,0x400,0x5ad,0x471)](),'includeDefaults':z['boolean']()[_0x120580(0x515,0x464,0x65b,0x3cf)](),'directories':z[_0x120580(0x531,0x560,0x536,0x4e6)](z['string']())['optional'](),'exclude':z[_0x120580(0x531,0x561,0x56e,0x5b3)](z[_0x43e84c(0x39d,0x4fd,0x408,0x450)]())[_0x43e84c(0x504,0x567,0x42b,0x471)]()})[_0x120580(0x537,0x4e5,0x449,0x4ab)](),commandsSettingsSchema=z[_0x43e84c(0x462,0x5fb,0x437,0x557)]({'enabled':z[_0x43e84c(0x2ed,0x2f8,0x3b9,0x350)]()['optional'](),'directories':z[_0x43e84c(0x3ed,0x439,0x375,0x48d)](z[_0x120580(0x4f4,0x4a6,0x4b8,0x47e)]())[_0x43e84c(0x3be,0x399,0x4eb,0x471)]()})['passthrough'](),agentsSettingsSchema=z['object']({'enabled':z[_0x43e84c(0x41e,0x2b9,0x473,0x350)]()[_0x43e84c(0x47a,0x334,0x340,0x471)](),'includeDefaults':z[_0x120580(0x3f4,0x41b,0x498,0x35b)]()[_0x43e84c(0x439,0x56b,0x4f6,0x471)](),'directories':z[_0x120580(0x531,0x4cb,0x4ab,0x4e2)](z[_0x43e84c(0x425,0x34c,0x463,0x450)]())[_0x43e84c(0x517,0x59b,0x41e,0x471)]()})['passthrough'](),uiThemeSettingsSchema=z['object']({'mode':z[_0x43e84c(0x560,0x4ef,0x573,0x451)]([_0x43e84c(0x58c,0x5e7,0x4f5,0x508),_0x43e84c(0x42f,0x598,0x3aa,0x48e),_0x120580(0x496,0x4a0,0x45c,0x4d8)])['optional'](),'colorLevel':z[_0x120580(0x4f5,0x5ef,0x3cc,0x3f2)]([_0x120580(0x5ac,0x5df,0x4f1,0x65b),_0x120580(0x510,0x4d3,0x42e,0x655),'ansi16','ansi256',_0x43e84c(0x37e,0x4c3,0x32a,0x43d)])[_0x120580(0x515,0x5e8,0x4ae,0x561)](),'backgrounds':z[_0x120580(0x4f5,0x5e8,0x587,0x598)]([_0x120580(0x5ac,0x655,0x62e,0x56e),'on',_0x43e84c(0x317,0x470,0x4b0,0x38a)])['optional'](),'messageStyle':z[_0x120580(0x4f5,0x3fc,0x502,0x59a)](['plain',_0x120580(0x5ee,0x5d7,0x5e3,0x6de)])[_0x120580(0x515,0x4e0,0x3fd,0x439)]()})['passthrough'](),statuslineSegmentSchema=z[_0x43e84c(0x3bb,0x3dd,0x46a,0x451)]([_0x120580(0x3cb,0x4d9,0x4b4,0x2ba),_0x120580(0x5db,0x5cf,0x58d,0x6f3),_0x120580(0x466,0x576,0x37f,0x533),_0x120580(0x420,0x4e6,0x50a,0x478),_0x120580(0x50d,0x3e8,0x616,0x4de),'context',_0x120580(0x439,0x3ef,0x375,0x55e),_0x120580(0x607,0x63a,0x72b,0x6c4),_0x43e84c(0x6a7,0x484,0x48d,0x567),'cost',_0x120580(0x3d5,0x47e,0x4b4,0x461),_0x120580(0x5ef,0x574,0x565,0x712),_0x120580(0x49d,0x58e,0x5de,0x513),_0x120580(0x3e5,0x30a,0x434,0x4d4),_0x120580(0x4a5,0x41a,0x409,0x3db)]),statuslineItemSchema=z[_0x43e84c(0x2b8,0x3b4,0x441,0x33f)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z[_0x120580(0x531,0x573,0x63b,0x438)](statuslineItemSchema),statuslineConfigSchema=z[_0x120580(0x5fb,0x63d,0x611,0x705)]({'rows':z[_0x43e84c(0x5f4,0x4bd,0x4a1,0x4c9)]([statuslineRowSchema,statuslineRowSchema])[_0x120580(0x515,0x61d,0x606,0x5bd)]()})[_0x120580(0x537,0x676,0x645,0x411)](),memorySettingsSchema=z[_0x120580(0x5fb,0x69e,0x6a9,0x71c)]({'version':z[_0x120580(0x543,0x4fa,0x51a,0x4dd)](0x2)[_0x43e84c(0x48f,0x469,0x39e,0x471)](),'retrieval':z[_0x120580(0x5fb,0x69a,0x52f,0x682)]({'engine':z['literal'](_0x43e84c(0x2bb,0x4dc,0x438,0x3e0))[_0x120580(0x515,0x658,0x3cf,0x44a)](),'candidateLimit':z[_0x120580(0x5b2,0x521,0x6d7,0x4b9)]()[_0x43e84c(0x3be,0x53b,0x4bc,0x471)](),'activeCandidateLimit':z['number']()['optional'](),'activeEnabled':z[_0x120580(0x3f4,0x30f,0x2d9,0x43c)]()[_0x120580(0x515,0x3cf,0x5d6,0x643)](),'maxQueriesPerTurn':z[_0x43e84c(0x43e,0x5c0,0x54a,0x50e)]()[_0x120580(0x515,0x627,0x535,0x556)](),'coreInjectTokenBudget':z[_0x120580(0x5b2,0x531,0x6c7,0x685)]()['optional'](),'injectTokenBudget':z['number']()['optional'](),'minScore':z[_0x43e84c(0x401,0x60f,0x61e,0x50e)]()['optional'](),'freshnessHalfLifeDays':z[_0x43e84c(0x5ed,0x4dc,0x55c,0x50e)]()[_0x120580(0x515,0x407,0x594,0x519)]()})[_0x120580(0x537,0x5d8,0x496,0x60c)]()[_0x120580(0x515,0x494,0x5a5,0x656)](),'extraction':z[_0x43e84c(0x4ac,0x54f,0x532,0x557)]({'enabled':z[_0x120580(0x3f4,0x2e0,0x369,0x3a8)]()[_0x120580(0x515,0x5fc,0x459,0x522)](),'provider':z[_0x120580(0x4f4,0x419,0x48d,0x416)]()[_0x120580(0x515,0x5c1,0x3ed,0x5a0)](),'model':z['string']()[_0x120580(0x515,0x62c,0x4ea,0x639)](),'sensitiveFilter':z['boolean']()['optional']()})[_0x120580(0x537,0x4a0,0x480,0x635)]()[_0x120580(0x515,0x42c,0x569,0x5b9)](),'index':z[_0x120580(0x5fb,0x6fe,0x736,0x52f)]({'persisted':z[_0x43e84c(0x41b,0x230,0x2c8,0x350)]()[_0x43e84c(0x541,0x3e9,0x4b7,0x471)](),'flushIntervalMs':z[_0x120580(0x5b2,0x63b,0x5cf,0x628)]()[_0x43e84c(0x381,0x3e1,0x46b,0x471)]()})[_0x43e84c(0x458,0x396,0x59e,0x493)]()[_0x43e84c(0x527,0x4e5,0x40d,0x471)](),'enabled':z['boolean']()[_0x120580(0x515,0x5c7,0x450,0x618)](),'saveTool':z['boolean']()[_0x120580(0x515,0x52f,0x4d7,0x40a)](),'model':z[_0x43e84c(0x3d6,0x35a,0x328,0x450)]()['optional'](),'provider':z['string']()[_0x120580(0x515,0x562,0x577,0x42c)](),'maxInjectionTokens':z[_0x120580(0x5b2,0x59b,0x639,0x4ab)]()['optional'](),'backgroundExtraction':z[_0x43e84c(0x23d,0x333,0x323,0x350)]()[_0x120580(0x515,0x3d2,0x60a,0x5be)]()})[_0x120580(0x537,0x67c,0x662,0x538)](),recentModelSchema=z[_0x120580(0x5fb,0x5a9,0x5ca,0x5ba)]({'provider':z[_0x120580(0x4f4,0x59e,0x4d1,0x52a)](),'model':z[_0x43e84c(0x541,0x494,0x38c,0x450)](),'usedAt':z[_0x43e84c(0x503,0x5e9,0x41d,0x50e)]()})[_0x120580(0x537,0x526,0x47c,0x4c6)](),lspServerEntrySchema=z[_0x43e84c(0x641,0x4c7,0x411,0x557)]({'disabled':z[_0x43e84c(0x43a,0x2bf,0x242,0x350)]()[_0x120580(0x515,0x579,0x4d7,0x54c)](),'command':z['string']()['optional'](),'args':z[_0x120580(0x531,0x401,0x496,0x49d)](z[_0x120580(0x4f4,0x42a,0x60d,0x4d7)]())[_0x43e84c(0x4a2,0x508,0x480,0x471)](),'rootMarkers':z['array'](z[_0x43e84c(0x3da,0x566,0x33b,0x450)]())['optional']()})[_0x43e84c(0x490,0x4a8,0x441,0x493)](),lspConfigSchema=z[_0x43e84c(0x589,0x5ad,0x48a,0x557)]({'enabled':z['boolean']()[_0x120580(0x515,0x49f,0x447,0x426)](),'servers':z[_0x43e84c(0x5c7,0x3d0,0x585,0x4ea)](z['string'](),lspServerEntrySchema)[_0x120580(0x515,0x5f0,0x649,0x575)]()})['passthrough'](),cliConfigSchema=z['object']({'activeProvider':z[_0x120580(0x4f4,0x448,0x490,0x528)]()[_0x43e84c(0x504,0x506,0x46b,0x471)](),'activeModel':z[_0x120580(0x4f4,0x547,0x5ea,0x490)]()[_0x43e84c(0x5ad,0x3a0,0x366,0x471)](),'apiKey':z[_0x120580(0x4f4,0x484,0x43f,0x45e)]()[_0x120580(0x515,0x604,0x4cf,0x4f9)](),'providers':z['record'](z[_0x120580(0x4f4,0x534,0x52e,0x53f)](),providerConfigSchema)[_0x120580(0x515,0x468,0x468,0x648)](),'mcp':mcpSettingsSchema[_0x43e84c(0x4b8,0x521,0x4e6,0x471)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x120580(0x515,0x45b,0x5dc,0x446)](),'commands':commandsSettingsSchema[_0x120580(0x515,0x477,0x5f9,0x531)](),'skillsEnabled':z[_0x120580(0x58e,0x650,0x673,0x4b1)](z[_0x43e84c(0x365,0x478,0x456,0x450)](),z[_0x120580(0x3f4,0x3e7,0x506,0x2bf)]())[_0x120580(0x515,0x4c1,0x3f3,0x58c)](),'memory':memorySettingsSchema[_0x120580(0x515,0x64a,0x562,0x421)](),'session':z[_0x120580(0x5fb,0x4c7,0x4fa,0x69c)]({'memPersist':z[_0x120580(0x3f4,0x408,0x537,0x33d)]()['optional'](),'persistEventLog':z[_0x120580(0x3f4,0x316,0x4cf,0x444)]()[_0x43e84c(0x487,0x4e2,0x508,0x471)](),'persistHttpLog':z[_0x120580(0x3f4,0x4a7,0x458,0x32b)]()[_0x120580(0x515,0x41b,0x56f,0x4e1)]()})[_0x43e84c(0x3d9,0x37a,0x3f4,0x493)]()[_0x43e84c(0x506,0x42f,0x550,0x471)](),'requireToolApproval':z[_0x43e84c(0x39b,0x364,0x241,0x350)]()['optional'](),'thinking':z['enum']([_0x43e84c(0x57f,0x476,0x497,0x490),_0x43e84c(0x2a4,0x4c3,0x438,0x3e4),'MEDIUM',_0x43e84c(0x3ca,0x460,0x356,0x3f7)])['optional'](),'streamingChunks':z[_0x43e84c(0x434,0x350,0x356,0x350)]()[_0x43e84c(0x536,0x550,0x375,0x471)](),'agentsEnabled':z[_0x43e84c(0x5d0,0x4f5,0x50e,0x4ea)](z[_0x120580(0x4f4,0x507,0x5b2,0x510)](),z[_0x43e84c(0x3f2,0x3dd,0x263,0x350)]())[_0x120580(0x515,0x51f,0x5c1,0x3e7)](),'recentModels':z[_0x120580(0x531,0x4a2,0x582,0x649)](recentModelSchema)[_0x120580(0x515,0x631,0x598,0x524)](),'lsp':lspConfigSchema[_0x43e84c(0x354,0x542,0x3be,0x471)](),'ui':z['object']({'theme':uiThemeSettingsSchema[_0x120580(0x515,0x5cb,0x442,0x568)](),'statusline':statuslineConfigSchema['optional']()})[_0x43e84c(0x447,0x47d,0x3af,0x493)]()[_0x43e84c(0x363,0x353,0x3c8,0x471)](),'tools':z['record'](z[_0x43e84c(0x47c,0x590,0x395,0x450)](),z['unknown']())[_0x43e84c(0x382,0x416,0x4b3,0x471)]()})[_0x120580(0x537,0x5d6,0x40f,0x630)]();function buildDescription(_0x707cf6){const _0x1501ce={_0x4c7638:0x607,_0x4772d5:0x543,_0x17661a:0x400,_0x35f935:0x609,_0x119d87:0x4bc,_0x4f7bf1:0x4d0,_0x1fe1ba:0x38d,_0x231ec9:0x570,_0x3db927:0x130,_0x744ba8:0x1e7,_0x5c632f:0x681,_0x230b30:0x616,_0x340b30:0x6fe,_0x5b0bb8:0x5c5,_0x26b6c4:0x5a,_0xa58f75:0x15},_0xb69135={_0x34883e:0x48,_0x4399aa:0x1c0},_0x2c1768={_0x5b65e9:0x15f,_0x24ef65:0x1b5};function _0x26ddf6(_0x58f62a,_0x1e250f,_0x4aff85,_0x459bc2){return _0x43e84c(_0x58f62a-_0x2c1768._0x5b65e9,_0x4aff85,_0x4aff85-0x1cd,_0x1e250f-_0x2c1768._0x24ef65);}function _0x14cc07(_0xe30ec0,_0x31f935,_0x35048d,_0x381dd4){return _0x43e84c(_0xe30ec0-_0xb69135._0x34883e,_0xe30ec0,_0x35048d-_0xb69135._0x4399aa,_0x381dd4- -0x370);}if(_0x707cf6[_0x26ddf6(0x751,0x688,0x630,_0x1501ce._0x4c7638)]===0x0)return[_0x26ddf6(0x4d0,_0x1501ce._0x4772d5,_0x1501ce._0x17661a,_0x1501ce._0x35f935),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x26ddf6(0x5e7,_0x1501ce._0x119d87,_0x1501ce._0x4f7bf1,_0x1501ce._0x1fe1ba)][_0x26ddf6(0x696,0x62c,0x5eb,_0x1501ce._0x231ec9)]('\x0a');const _0x570ad5=['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.',_0x14cc07(_0x1501ce._0x3db927,0x244,_0x1501ce._0x744ba8,0x1c2),_0x26ddf6(_0x1501ce._0x5c632f,_0x1501ce._0x230b30,0x517,0x754),..._0x707cf6[_0x26ddf6(0x789,_0x1501ce._0x340b30,0x765,_0x1501ce._0x5b0bb8)](_0x22ff61=>_0x22ff61['argumentHint']?'-\x20'+_0x22ff61[_0x14cc07(-0x22,0x154,0x1bd,0xea)]+'\x20'+_0x22ff61['argumentHint']+':\x20'+_0x22ff61[_0x26ddf6(0x59c,0x6de,0x67d,0x818)]:'-\x20'+_0x22ff61[_0x14cc07(0x212,0x102,0x1b,0xea)]+':\x20'+_0x22ff61['description'])];return _0x570ad5[_0x14cc07(_0x1501ce._0x26b6c4,_0x1501ce._0xa58f75,0xdb,0x107)]('\x0a');}function createInvokeCommandTool(_0x16d46b){const _0x30d9f2={_0x296f01:0x717,_0x1a212e:0x694,_0x43be45:0x70a,_0x29dcfb:0x613,_0xc3ff41:0x6f6,_0x42d3ec:0x661,_0x1fc97e:0x70a,_0x2a6dfb:0x8f7,_0x1bf194:0x7df,_0x520b54:0x6be,_0x426b57:0x57c,_0x20ea09:0x5ea},_0x1ec355={_0x4496de:0x83,_0xddb556:0x1f1,_0x232016:0xf1,_0x444d0d:0x2ea,_0x552062:0x337,_0xb6e2b6:0x228,_0x45a1eb:0xc8,_0x3b6b5e:0x1c1,_0x102f69:0x96,_0x38ebba:0x1a0,_0x1a2039:0x1c4,_0x526ba0:0x212,_0x2143a8:0x19f,_0x324cf8:0x32f,_0x489b2a:0x221,_0x3b1f1e:0x1d0,_0x2dd2c0:0x162,_0x5fb5d0:0x256,_0x489a43:0xeb},_0x380d8d={_0xea5b57:0x1ee,_0x4c5670:0x16a},_0x56ee28={_0x3a822e:0x138,_0x5907ee:0x186,_0x3689b0:0x122},_0x2c9093={_0xf9ee61:0xcf,_0x565cce:0x2c};function _0x3b2df8(_0x1aa8f7,_0x218164,_0xfc74ee,_0x25ea25){return _0x43e84c(_0x1aa8f7-_0x2c9093._0xf9ee61,_0x1aa8f7,_0xfc74ee-_0x2c9093._0x565cce,_0x25ea25-0x26e);}const _0x57e0e7=new Map(_0x16d46b[_0x3b2df8(_0x30d9f2._0x296f01,_0x30d9f2._0x1a212e,0x73e,_0x30d9f2._0x43be45)][_0x5086da(0x78f,0x66b,0x5bb,_0x30d9f2._0x29dcfb)](_0x18ba2b=>[_0x18ba2b['id'],_0x18ba2b]));function _0x5086da(_0x414f13,_0x5abbac,_0xd9802,_0xa8d5dd){return _0x43e84c(_0x414f13-_0x56ee28._0x3a822e,_0xa8d5dd,_0xd9802-_0x56ee28._0x5907ee,_0x5abbac-_0x56ee28._0x3689b0);}const _0x551ddf=buildDescription(_0x16d46b[_0x3b2df8(0x600,_0x30d9f2._0xc3ff41,_0x30d9f2._0x42d3ec,_0x30d9f2._0x1fc97e)]);return defineTool({'name':_0x3b2df8(0x816,0x707,_0x30d9f2._0x2a6dfb,_0x30d9f2._0x1bf194),'description':_0x551ddf,'inputSchema':{'type':'object','properties':{'name':{'type':_0x3b2df8(0x720,0x636,0x62b,_0x30d9f2._0x520b54)},'args':{'type':'string'}},'required':[_0x5086da(0x56b,_0x30d9f2._0x426b57,_0x30d9f2._0x20ea09,0x478)]},async *'execute'(_0x20e4e7){const _0x5a2d87={_0x3be9b9:0x1c5},_0x1c890b=_0x57e0e7['get'](_0x20e4e7['name']);if(!_0x1c890b){const _0xf082ce=Array[_0x398e0b(-0xd2,0x6d,-0xb9,-_0x1ec355._0x4496de)](_0x57e0e7[_0x398e0b(_0x1ec355._0xddb556,-0x19,0xbb,_0x1ec355._0x232016)]())[_0x3b1a32(0x1f2,_0x1ec355._0x444d0d,0x284,0x24c)](',\x20');throw new ToolExecutionError(_0x3b1a32(0x285,_0x1ec355._0x552062,0x22c,_0x1ec355._0xb6e2b6)+_0x20e4e7[_0x398e0b(-0x8b,0x27,-_0x1ec355._0x45a1eb,0x71)]+_0x398e0b(-_0x1ec355._0x3b6b5e,-0x62,-0xf7,-_0x1ec355._0x102f69)+_0xf082ce,{'name':_0x20e4e7[_0x398e0b(0xe0,_0x1ec355._0x38ebba,0x93,0x71)]});}const _0x265959=await _0x16d46b[_0x3b1a32(_0x1ec355._0x1a2039,0x100,_0x1ec355._0x526ba0,0x28e)](_0x1c890b),_0x1090c3=_0x20e4e7['args']??'',_0xc427f5=renderCommandInstructions({'instructions':_0x265959[_0x3b1a32(0x1b8,0x146,_0x1ec355._0x2143a8,0x1a1)],'argumentsText':_0x1090c3,'argumentNames':_0x265959[_0x3b1a32(_0x1ec355._0x324cf8,_0x1ec355._0x489b2a,0x257,_0x1ec355._0x3b1f1e)]});function _0x398e0b(_0x10fc8e,_0x49ff4d,_0x4a194a,_0x5b84e1){return _0x5086da(_0x10fc8e-_0x5a2d87._0x3be9b9,_0x5b84e1- -0x50b,_0x4a194a-0x32,_0x49ff4d);}yield createToolOutput(_0xc427f5,{'id':_0x265959['id'],'name':_0x265959[_0x398e0b(-0x20,0x6e,0xeb,0x71)],'path':_0x1c890b[_0x3b1a32(_0x1ec355._0x2dd2c0,_0x1ec355._0x5fb5d0,0x296,0x279)][_0x398e0b(0x57,-0x188,-0x200,-_0x1ec355._0x489a43)]});function _0x3b1a32(_0x5c3f70,_0x572a6a,_0x1433b5,_0x2f2402){return _0x3b2df8(_0x572a6a,_0x572a6a-_0x380d8d._0xea5b57,_0x1433b5-_0x380d8d._0x4c5670,_0x1433b5- -0x461);}return void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x432871,rename as _0x459030,stat as _0xf820a7,writeFile as _0x539859}from'fs/promises';import*as _0x1fe9e1 from'path';function detectEol(_0x4801f5){const _0x2dfda7={_0x244cdb:0x537,_0x5ed73b:0x445,_0x3ad5d6:0x5cf,_0x45babc:0x422,_0x5a418f:0x640,_0xfab709:0x6e8,_0x1c1d8e:0x637,_0x229441:0x21,_0x236949:0xa1,_0x1bb28a:0x1ad,_0x3226c6:0x1d,_0x267e73:0x88,_0x11f584:0xaa},_0x1b0843={_0x411649:0x193},_0x5de646={_0x342d9b:0x41,_0x309647:0x1a0,_0x39df26:0x42c};function _0x3ac9f2(_0x38087b,_0x4f4fe3,_0xbb9cba,_0x218a60){return _0x43e84c(_0x38087b-_0x5de646._0x342d9b,_0xbb9cba,_0xbb9cba-_0x5de646._0x309647,_0x4f4fe3- -_0x5de646._0x39df26);}function _0x4ace67(_0x1e198e,_0x1ce91e,_0x27aff3,_0x344f8e){return _0x120580(_0x1e198e-_0x1b0843._0x411649,_0x1ce91e,_0x27aff3-0x1f1,_0x344f8e-0x1e4);}return/\r\n/[_0x4ace67(_0x2dfda7._0x244cdb,_0x2dfda7._0x5ed73b,_0x2dfda7._0x3ad5d6,_0x2dfda7._0x45babc)](_0x4801f5[_0x4ace67(_0x2dfda7._0x5a418f,0x578,_0x2dfda7._0xfab709,_0x2dfda7._0x1c1d8e)](_0x3ac9f2(-_0x2dfda7._0x229441,_0x2dfda7._0x236949,_0x2dfda7._0x1bb28a,0xd)))?_0x3ac9f2(_0x2dfda7._0x3226c6,-_0x2dfda7._0x267e73,_0x2dfda7._0x11f584,-0xb0):'lf';}function normalizeToLf(_0x416f39){return _0x416f39['replace'](/\r\n/g,'\x0a');}function convertEol(_0x8b5cab,_0x27a677){const _0x5e8aa3={_0x3c1f88:0x3b7,_0xd38ead:0x276,_0x2184db:0x274,_0x592216:0x3dd},_0x3ae9cf={_0x4fedf6:0x91,_0x24342a:0x14d,_0x557d7b:0x112},_0x141903={_0x21d743:0x0};function _0x1798b3(_0x1e5454,_0x3266d4,_0x2fb583,_0x354c8a){return _0x120580(_0x2fb583-0x1b0,_0x354c8a,_0x2fb583-0xc4,_0x354c8a-_0x141903._0x21d743);}function _0x107da7(_0x1540c5,_0x574774,_0xab3800,_0x2277fa){return _0x120580(_0x1540c5- -_0x3ae9cf._0x4fedf6,_0x2277fa,_0xab3800-_0x3ae9cf._0x24342a,_0x2277fa-_0x3ae9cf._0x557d7b);}return _0x27a677===_0x107da7(_0x5e8aa3._0x3c1f88,0x425,_0x5e8aa3._0xd38ead,_0x5e8aa3._0x2184db)?_0x8b5cab[_0x107da7(0x3e7,0x44f,0x338,_0x5e8aa3._0x592216)](/\n/g,'\x0d\x0a'):_0x8b5cab;}async function atomicWrite(_0x310f95,_0x17e975){const _0x3e3ead={_0x2b420d:0xc3,_0x5bbce0:0x1be,_0x41d8c9:0x18e,_0x3def63:0xb3,_0x3d3ac5:0x1b4,_0x50632c:0x10d,_0x13c98f:0x1fe,_0x545a44:0xe6,_0x265042:0x12f,_0x4f8405:0x251,_0xc7e7d2:0x1b7,_0x2561e8:0x1ed,_0x52304c:0x218,_0x345814:0x184},_0x3bf047={_0x435a41:0x3e9,_0x5b0a08:0x117},_0xeb0131={_0x277646:0x10b,_0x4ae59c:0x182};function _0x5ae906(_0x776769,_0x20d343,_0x34b090,_0xde4b61){return _0x120580(_0x20d343- -0x38d,_0x34b090,_0x34b090-_0xeb0131._0x277646,_0xde4b61-_0xeb0131._0x4ae59c);}const _0xa064af=_0x1fe9e1[_0x5ae906(_0x3e3ead._0x2b420d,0x1eb,_0x3e3ead._0x5bbce0,0x30e)](_0x310f95);function _0x35dd28(_0x1eb6ad,_0x2cc412,_0x83689b,_0x3505bf){return _0x120580(_0x2cc412- -_0x3bf047._0x435a41,_0x3505bf,_0x83689b-_0x3bf047._0x5b0a08,_0x3505bf-0xdb);}const _0xfa5897=_0x1fe9e1[_0x5ae906(0x293,_0x3e3ead._0x41d8c9,_0x3e3ead._0x3def63,_0x3e3ead._0x3d3ac5)](_0xa064af,'.tmp.'+_0x1fe9e1[_0x35dd28(0x251,_0x3e3ead._0x50632c,_0x3e3ead._0x13c98f,_0x3e3ead._0x545a44)](_0x310f95)+'.'+Date[_0x35dd28(0x207,_0x3e3ead._0x265042,_0x3e3ead._0x4f8405,0x242)]()+'.'+Math[_0x35dd28(0x2f0,_0x3e3ead._0xc7e7d2,0x79,_0x3e3ead._0x2561e8)]()['toString'](0x24)[_0x35dd28(0xd6,_0x3e3ead._0x52304c,_0x3e3ead._0x345814,0x128)](0x2));await _0x539859(_0xfa5897,_0x17e975),await _0x459030(_0xfa5897,_0x310f95);}function sha256(_0x35bb76){const _0x396744={_0x27b5d0:0x24d,_0x105800:0x1ef,_0x4ed279:0x15,_0x54943d:0x5c,_0x2e82e3:0x8c,_0x558ac8:0x23f},_0x304c56={_0x40d058:0x72,_0x1b1a55:0x6};function _0x7bb0aa(_0x8e6196,_0x50f853,_0x535ad6,_0x51c8f2){return _0x43e84c(_0x8e6196-_0x304c56._0x40d058,_0x8e6196,_0x535ad6-_0x304c56._0x1b1a55,_0x50f853- -0x385);}function _0x555b47(_0x1111bf,_0x485606,_0x21b2d9,_0x4d8c9b){return _0x120580(_0x485606- -0x75,_0x1111bf,_0x21b2d9-0xdb,_0x4d8c9b-0x4f);}return createHash('sha256')[_0x7bb0aa(_0x396744._0x27b5d0,0x13f,0x109,_0x396744._0x105800)](_0x35bb76)[_0x7bb0aa(-_0x396744._0x4ed279,_0x396744._0x54943d,_0x396744._0x2e82e3,0x179)](_0x7bb0aa(0x3f,0x17e,0x29e,_0x396744._0x558ac8));}function countLines(_0x34f1cd){const _0x27ec8e={_0x2c1e2f:0x2e,_0x190f9c:0x2a0,_0xf10619:0x1f4,_0x2322a1:0x349},_0x49795f={_0x2783da:0x88,_0x59bd0:0x11a},_0x1d1ef7={_0x545356:0x176,_0xd6b8ae:0x293},_0x39b950=_0x34f1cd['replace'](/\n$/,'');function _0x16e31c(_0x29ece4,_0x32c28a,_0x329180,_0x545de7){return _0x43e84c(_0x29ece4-0x1ef,_0x545de7,_0x329180-_0x1d1ef7._0x545356,_0x32c28a- -_0x1d1ef7._0xd6b8ae);}function _0x422e10(_0x209f98,_0xc8e6f2,_0x241acb,_0x18cd20){return _0x120580(_0x241acb- -0x5d6,_0x18cd20,_0x241acb-_0x49795f._0x2783da,_0x18cd20-_0x49795f._0x59bd0);}return _0x39b950[_0x422e10(-_0x27ec8e._0x2c1e2f,0x4d,-0x5f,-0xc)]===0x0?0x0:_0x39b950[_0x16e31c(0x2d2,_0x27ec8e._0x190f9c,_0x27ec8e._0xf10619,_0x27ec8e._0x2322a1)]('\x0a')['length'];}function calculateLineNumbers(_0x18f2c1,_0x31aff6,_0x33a27f,_0x4efabb){const _0x2a2a7f={_0x45f80d:0x610,_0x369d90:0x608},_0xb619eb=_0x18f2c1['slice'](0x0,_0x4efabb)['split']('\x0a')[_0x2091eb(0x72a,_0x2a2a7f._0x45f80d,0x71c,_0x2a2a7f._0x369d90)],_0x2e2c4b=countLines(_0x31aff6);function _0x2091eb(_0x177fc3,_0x422f32,_0x1adc2d,_0x282882){return _0x43e84c(_0x177fc3-0x48,_0x422f32,_0x1adc2d-0x110,_0x1adc2d-0x249);}const _0x4a1162=countLines(_0x33a27f);return{'oldStartLine':_0xb619eb,'oldEndLine':_0xb619eb+_0x2e2c4b-0x1,'newStartLine':_0xb619eb,'newEndLine':_0xb619eb+_0x4a1162-0x1,'oldLineCount':_0x2e2c4b,'newLineCount':_0x4a1162};}function createFileEditTool(_0x2b097e={}){const _0x50d4e4={_0x3debdf:0xc3,_0x3e3a2e:0x233,_0x12767a:0xb2,_0x43a9c6:0x64,_0x162095:0x265,_0x1678f4:0x19a,_0x1acc34:0x20e,_0x584aaa:0x2df,_0x44d03a:0xe0,_0x5e3fe1:0x2b,_0x527b81:0xa5,_0x2c3138:0x81,_0x114d5b:0x12,_0x1df49e:0x1a,_0x5c4ce6:0x50,_0x47ca32:0x42,_0x589a3b:0x153,_0x1a4a1a:0x125,_0x4cb793:0xc5,_0x166d0f:0xf9,_0x407cb0:0xf,_0x2d1fbf:0x75,_0x284f9b:0x123,_0x54e404:0xaf,_0x57d145:0x7a,_0x4433a0:0x25,_0xe43e12:0x192,_0x23e817:0x1ad,_0x37c182:0x2e5,_0x40b8cd:0xa8,_0x120424:0x49},_0x389f2c={_0x22a9fe:0xf7,_0x3c3cce:0x15e,_0x449543:0x1a6,_0x6deb69:0x15b,_0x1646bc:0x1f9,_0x448cd6:0x37a,_0x3e35ef:0x2b4,_0x4eff95:0xee,_0x275e16:0x175,_0x998f8:0x253,_0x3a9f36:0x95,_0x4f7b92:0x47a,_0x236796:0x1bb,_0x1b8e22:0x2a7,_0x37d328:0x1aa,_0x5f4da0:0x225,_0x43d31b:0x141,_0x51dddc:0x27c,_0x16778e:0x282,_0x3736e1:0x3ae,_0x288ed7:0x25e,_0x5abf9e:0x287,_0x2aacc8:0x214,_0x51bf15:0x1c5,_0x582aee:0x2a6,_0x2cacec:0x2b4,_0x16ae3a:0xb9,_0x1005d6:0x71,_0x955c1c:0x152,_0x3909bb:0x30c,_0x2236b7:0x12b,_0x413895:0x230,_0x34422c:0x19,_0x3da950:0x385,_0xdda25e:0x1ac,_0xed69af:0x1d9,_0x265bd6:0x12d,_0xe0b07b:0x1e0,_0x8f95cb:0x8d,_0x18a23c:0x16e,_0x4fe5a7:0x1b2,_0x528013:0x11e,_0x2949e5:0x1ad,_0x1ddf13:0x203,_0x55b385:0x178,_0x470239:0x8f,_0x362fe4:0x265,_0x36a7ac:0x1ac,_0x34aa32:0x2ba,_0x430755:0x340},_0x3e5387={_0x49b9f7:0x120,_0x3d7f9d:0x4d8},_0x38b4a5={_0x1891a9:0x5a,_0x43cc13:0x110},_0x7d485c=_0x1fe9e1[_0x53cf63(-0x87,-_0x50d4e4._0x3debdf,-0x190,-_0x50d4e4._0x3e3a2e)](_0x2b097e[_0x53cf63(-_0x50d4e4._0x12767a,0x3d,-0xae,-0x1f)]??process[_0x53cf63(-_0x50d4e4._0x43a9c6,-_0x50d4e4._0x162095,-_0x50d4e4._0x1678f4,-0x1e9)]());function _0x53cf63(_0x15b4b2,_0x194a94,_0x3f63b9,_0x21e9bb){return _0x120580(_0x3f63b9- -0x5b9,_0x21e9bb,_0x3f63b9-_0x38b4a5._0x1891a9,_0x21e9bb-_0x38b4a5._0x43cc13);}const _0x23b570=(_0x2b097e[_0x53cf63(-_0x50d4e4._0x1acc34,-_0x50d4e4._0x584aaa,-0x200,-0x304)]??[])['map'](_0x15fde6=>_0x1fe9e1['resolve'](_0x15fde6)),_0x28ea33=_0x2b097e[_0x297938(0xba,-_0x50d4e4._0x44d03a,-0x7e,-0x18b)]??_0x53cf63(_0x50d4e4._0x5e3fe1,-_0x50d4e4._0x527b81,-_0x50d4e4._0x2c3138,_0x50d4e4._0x114d5b);function _0x297938(_0x27b978,_0x3747ad,_0x463993,_0x832a3){return _0x43e84c(_0x27b978-0x186,_0x3747ad,_0x463993-_0x3e5387._0x49b9f7,_0x463993- -_0x3e5387._0x3d7f9d);}return defineTool({'name':_0x28ea33,'description':_0x53cf63(-0x3,0x5,0xd,_0x50d4e4._0x1df49e),'inputSchema':{'type':_0x53cf63(-_0x50d4e4._0x5c4ce6,0x5c,_0x50d4e4._0x47ca32,_0x50d4e4._0x589a3b),'properties':{'filePath':{'type':_0x53cf63(-0xb3,-0x1bc,-0xc5,-0x131)},'oldText':{'type':_0x53cf63(-_0x50d4e4._0x1a4a1a,0x6e,-_0x50d4e4._0x4cb793,-0x101)},'newText':{'type':_0x297938(-_0x50d4e4._0x166d0f,-_0x50d4e4._0x407cb0,-0x88,_0x50d4e4._0x2d1fbf)},'dryRun':{'type':_0x297938(-0x287,-_0x50d4e4._0x284f9b,-0x188,-_0x50d4e4._0x54e404)}},'required':[_0x53cf63(-0x178,0xa4,-_0x50d4e4._0x57d145,-_0x50d4e4._0x4433a0),_0x297938(-0x2b2,-_0x50d4e4._0xe43e12,-_0x50d4e4._0x23e817,-_0x50d4e4._0x37c182),_0x297938(0x17c,_0x50d4e4._0x40b8cd,0x65,_0x50d4e4._0x120424)]},async *'execute'(_0x497c2e){const _0x38f824={_0x2f4745:0x22a,_0x352a32:0xd1},_0x10cbf5=resolveAllowedPath(_0x7d485c,_0x23b570,_0x497c2e['filePath']);await assertWorkspaceFile(_0x10cbf5);const _0x1c1a30=await _0xf820a7(_0x10cbf5),_0x490727=await _0x432871(_0x10cbf5),_0x320c1f=detectEol(_0x490727),_0x2e9207=normalizeToLf(_0x490727[_0x2e1679(_0x389f2c._0x22a9fe,_0x389f2c._0x3c3cce,_0x389f2c._0x449543,_0x389f2c._0x6deb69)](_0x3cc866(_0x389f2c._0x1646bc,_0x389f2c._0x448cd6,_0x389f2c._0x3e35ef,0x180))),_0x339f5b=normalizeToLf(_0x497c2e[_0x3cc866(_0x389f2c._0x4eff95,0xc0,0x112,_0x389f2c._0x275e16)]),_0x263858=normalizeToLf(_0x497c2e['newText']),_0x5df2c6=_0x2e9207[_0x3cc866(0xbf,_0x389f2c._0x998f8,0x1a8,_0x389f2c._0x3a9f36)](_0x339f5b);if(_0x5df2c6===-0x1){const _0x518e81=_0x339f5b[_0x3cc866(_0x389f2c._0x4f7b92,0x44a,0x344,0x286)](0x0,0x64)[_0x3cc866(0xc3,0xdf,_0x389f2c._0x236796,_0x389f2c._0x1b8e22)](/\n/g,'\x5cn');throw new ToolExecutionError('oldText\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x20Searching\x20for:\x20\x22'+_0x518e81+(_0x339f5b[_0x2e1679(0xf8,0x1f2,_0x389f2c._0x37d328,_0x389f2c._0x5f4da0)]>0x64?'...':'')+'\x22',{'filePath':_0x497c2e[_0x3cc866(_0x389f2c._0x43d31b,_0x389f2c._0x51dddc,_0x389f2c._0x16778e,0x2d5)]});}const _0x47476a=_0x2e9207['slice'](0x0,_0x5df2c6)+_0x263858+_0x2e9207[_0x3cc866(_0x389f2c._0x3736e1,_0x389f2c._0x288ed7,0x344,0x2c4)](_0x5df2c6+_0x339f5b[_0x2e1679(_0x389f2c._0x5abf9e,0x2b9,0x1df,0x225)]);function _0x3cc866(_0x4d02d9,_0x37907a,_0x39d88d,_0x4f55ee){return _0x297938(_0x4d02d9-0x136,_0x4f55ee,_0x39d88d-0x2bf,_0x4f55ee-0x1a3);}const _0x1ab023=convertEol(_0x47476a,_0x320c1f),_0x9a72b4=Buffer[_0x3cc866(_0x389f2c._0x2aacc8,0x1b7,0x14d,_0x389f2c._0x51bf15)](_0x1ab023,_0x3cc866(_0x389f2c._0x582aee,0x265,_0x389f2c._0x2cacec,0x29a)),_0x46b482=sha256(_0x490727),_0x1a95b7=sha256(_0x9a72b4);function _0x2e1679(_0x5d9ddf,_0x27cccd,_0x1a8c14,_0x27fa2b){return _0x297938(_0x5d9ddf-0x17e,_0x5d9ddf,_0x27fa2b-_0x38f824._0x2f4745,_0x27fa2b-_0x38f824._0x352a32);}const _0xc232ac=_0x46b482===_0x1a95b7,_0x3d07c4=_0x497c2e[_0x2e1679(_0x389f2c._0x16ae3a,_0x389f2c._0x1005d6,_0x389f2c._0x955c1c,0xbd)]??![];return!_0x3d07c4&&!_0xc232ac&&await atomicWrite(_0x10cbf5,_0x9a72b4),yield createToolOutput(_0xc232ac?_0x3cc866(0x1ab,_0x389f2c._0x3909bb,0x204,_0x389f2c._0x2236b7):_0x3d07c4?'Validated\x20(dry\x20run:\x20no\x20write).':_0x3cc866(_0x389f2c._0x413895,_0x389f2c._0x34422c,_0x389f2c._0x22a9fe,0x146),{'filePath':_0x497c2e[_0x3cc866(_0x389f2c._0x3da950,_0x389f2c._0xdda25e,0x282,_0x389f2c._0xed69af)],'resolvedPath':_0x10cbf5,'created':_0x1c1a30[_0x3cc866(0x258,_0x389f2c._0x265bd6,0x134,0xcf)][_0x2e1679(_0x389f2c._0xe0b07b,0x83,_0x389f2c._0x8f95cb,_0x389f2c._0x18a23c)](),'modified':_0x1c1a30[_0x3cc866(0xd3,_0x389f2c._0x4fe5a7,_0x389f2c._0x528013,0x4c)][_0x3cc866(0x311,_0x389f2c._0x2949e5,_0x389f2c._0x1ddf13,_0x389f2c._0x55b385)](),'size':_0x1c1a30[_0x2e1679(0x1a4,_0x389f2c._0x470239,0x2b7,0x17a)],'eol':_0x320c1f,'oldTextLength':_0x339f5b[_0x2e1679(0x305,0x15f,0x24d,0x225)],'newTextLength':_0x263858['length'],'bytesWritten':_0xc232ac||_0x3d07c4?0x0:_0x9a72b4[_0x3cc866(_0x389f2c._0x362fe4,_0x389f2c._0x36a7ac,_0x389f2c._0x34aa32,_0x389f2c._0x430755)],'beforeSha':_0x46b482,'afterSha':_0x1a95b7,'dryRun':_0x3d07c4,'noChange':_0xc232ac,'lineNumbers':calculateLineNumbers(_0x2e9207,_0x339f5b,_0x263858,_0x5df2c6)}),void 0x0;}});}function _0x43e84c(_0x1ebd5c,_0x3a19f1,_0x3d5047,_0x271a90){return _0x4f9a(_0x271a90-0x167,_0x3a19f1);}import{mkdir as _0x87910,rename as _0x44d4df,stat as _0x17feeb,writeFile as _0x3e2c96}from'fs/promises';import*as _0x5043d8 from'path';async function atomicWrite2(_0xb776f2,_0x30bc11){const _0x4ad866={_0x1d4b2e:0x25,_0x3bbd92:0x87,_0x5b6f7e:0x9c,_0x3f3a65:0xa7,_0x135d68:0x5b,_0x155374:0xb5,_0x2f24a1:0x581,_0x11bb4e:0x3c9,_0x20e799:0x737,_0x4e79e0:0x6bb},_0x21adac={_0x117329:0x4f9},_0x5678bc={_0x1c4c3b:0x62,_0x537b05:0x37},_0x55f920=_0x5043d8[_0x5d7477(-_0x4ad866._0x1d4b2e,-0x15b,-0xee,-0xde)](_0xb776f2);await _0x87910(_0x55f920,{'recursive':!![]});const _0xdaed70=_0x5043d8['join'](_0x55f920,_0x5d7477(-_0x4ad866._0x3bbd92,_0x4ad866._0x5b6f7e,0x51,0x3e)+_0x5043d8[_0x5d7477(-_0x4ad866._0x3f3a65,-0xce,-0x5a,-0x15d)](_0xb776f2)+'.'+Date['now']()+'.'+Math[_0x5d7477(0x3,_0x4ad866._0x135d68,0x30,_0x4ad866._0x155374)]()[_0x213694(_0x4ad866._0x2f24a1,_0x4ad866._0x11bb4e,0x545,0x50f)](0x24)[_0x213694(_0x4ad866._0x20e799,_0x4ad866._0x4e79e0,0x765,0x663)](0x2));function _0x213694(_0xb0dc31,_0x372750,_0x753202,_0x4594f2){return _0x120580(_0x4594f2-_0x5678bc._0x1c4c3b,_0x372750,_0x753202-0x1e7,_0x4594f2-_0x5678bc._0x537b05);}await _0x3e2c96(_0xdaed70,_0x30bc11);function _0x5d7477(_0x1b8f8,_0x41c85f,_0x4e9f6b,_0xf7c746){return _0x43e84c(_0x1b8f8-0x153,_0x4e9f6b,_0x4e9f6b-0xe4,_0x1b8f8- -_0x21adac._0x117329);}await _0x44d4df(_0xdaed70,_0xb776f2);}function createFileNewTool(_0x4e5db7={}){const _0x4dc2fc={_0x492f15:0x40e,_0x16c298:0x507,_0x17deca:0x5d8,_0xe907f5:0x5d5,_0x397809:0x1fb,_0x302615:0x1cd,_0x262dd7:0x14b,_0xd7daf3:0x167,_0x465504:0x141,_0x434782:0x2c6,_0x417694:0x434,_0x5ad7a8:0x492,_0x432125:0x47e,_0x20a7a5:0x474,_0xa296f0:0x492,_0x5670b2:0x4dd,_0x4d6f5a:0x50e},_0x461a51={_0x4eff66:0x146,_0x20141b:0x5b,_0x587d2a:0x3c,_0x1ce5f1:0x4b7,_0x5b028c:0x52e,_0x366a2a:0x5c9,_0x49b561:0x506,_0xb4f1af:0x526,_0x125cf5:0x6aa,_0x5d354c:0x4,_0x222196:0x61e,_0x1a696a:0x55,_0x59751e:0x5b1,_0x405f5f:0x4de,_0x44cdc9:0x10d,_0x3897dd:0x6,_0x1fecba:0x86,_0x450293:0x3d,_0x2e9dde:0x54f,_0xa97d02:0x540,_0x55981b:0x685},_0x67f001={_0x3099b6:0xa8},_0x1f98cb={_0x3adbe1:0x62,_0x13ba02:0xf0,_0x15e77a:0x167},_0x44f81d=_0x5043d8[_0x3c39c8(0x3c7,0x393,_0x4dc2fc._0x492f15,_0x4dc2fc._0x16c298)](_0x4e5db7[_0x3c39c8(0x4a9,_0x4dc2fc._0x17deca,0x43f,_0x4dc2fc._0xe907f5)]??process[_0x54a76c(_0x4dc2fc._0x397809,0xa5,_0x4dc2fc._0x302615,_0x4dc2fc._0x262dd7)]()),_0x9602af=(_0x4e5db7[_0x54a76c(0x1a0,0x86,_0x4dc2fc._0xd7daf3,0x22b)]??[])['map'](_0x167e96=>_0x5043d8[_0x3c39c8(0x3c7,0x491,0x2ed,0x30d)](_0x167e96)),_0x5ccc88=_0x4e5db7['name']??_0x54a76c(0xf8,_0x4dc2fc._0x465504,0x18d,_0x4dc2fc._0x434782);function _0x3c39c8(_0x21f7c5,_0x45b926,_0x5c13a8,_0x39aee0){return _0x120580(_0x21f7c5- -_0x1f98cb._0x3adbe1,_0x39aee0,_0x5c13a8-_0x1f98cb._0x13ba02,_0x39aee0-_0x1f98cb._0x15e77a);}function _0x54a76c(_0x1b2e01,_0x3ca518,_0x4dec36,_0x32ec7c){return _0x43e84c(_0x1b2e01-0x3,_0x3ca518,_0x4dec36-_0x67f001._0x3099b6,_0x4dec36- -0x1ae);}return defineTool({'name':_0x5ccc88,'description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x54a76c(0x30d,_0x4dc2fc._0x417694,0x3a9,0x499),'properties':{'filePath':{'type':_0x3c39c8(_0x4dc2fc._0x5ad7a8,_0x4dc2fc._0x432125,0x3f2,_0x4dc2fc._0x20a7a5)},'content':{'type':_0x3c39c8(_0x4dc2fc._0xa296f0,0x503,0x373,0x37f)}},'required':[_0x3c39c8(_0x4dc2fc._0x5670b2,0x4dc,_0x4dc2fc._0x4d6f5a,0x5d5),'content']},async *'execute'(_0xfcebaa){const _0x270bf1=resolveAllowedPath(_0x44f81d,_0x9602af,_0xfcebaa[_0x4ef256(-_0x461a51._0x4eff66,-_0x461a51._0x20141b,-0x157,_0x461a51._0x587d2a)]);function _0x564c61(_0x1afc06,_0x27c786,_0x5d8476,_0x3ea4d6){return _0x54a76c(_0x1afc06-0x189,_0x3ea4d6,_0x1afc06-0x2e1,_0x3ea4d6-0xf1);}const _0x10a52b=await _0x17feeb(_0x270bf1)[_0x564c61(_0x461a51._0x1ce5f1,0x4ec,0x499,_0x461a51._0x5b028c)](()=>!![])[_0x564c61(_0x461a51._0x366a2a,0x498,0x4ea,_0x461a51._0x49b561)](()=>![]),_0x4b9ea4=Buffer[_0x564c61(0x499,0x452,0x511,0x354)](_0xfcebaa[_0x564c61(0x623,0x62e,_0x461a51._0xb4f1af,_0x461a51._0x125cf5)],_0x4ef256(0xb0,-0x29,0x2,_0x461a51._0x5d354c));await atomicWrite2(_0x270bf1,_0x4b9ea4),yield createToolOutput(_0x564c61(_0x461a51._0x222196,0x536,0x5c6,0x5fe)+_0xfcebaa[_0x4ef256(-0x9e,-_0x461a51._0x20141b,-_0x461a51._0x1a696a,0xbe)]+'.',{'filePath':_0xfcebaa[_0x564c61(0x5ce,0x5c2,0x6cf,_0x461a51._0x59751e)],'resolvedPath':_0x270bf1,'bytes':_0x4b9ea4[_0x564c61(0x606,0x65f,_0x461a51._0x405f5f,0x64f)],'lines':_0xfcebaa[_0x4ef256(-_0x461a51._0x44cdc9,-_0x461a51._0x3897dd,-0x7,0x4b)][_0x4ef256(-_0x461a51._0x1fecba,_0x461a51._0x450293,-0x20,0xee)](/\r?\n/)['length'],'created':new Date()[_0x564c61(_0x461a51._0x2e9dde,0x59a,_0x461a51._0xa97d02,_0x461a51._0x55981b)](),'overwritten':_0x10a52b});function _0x4ef256(_0x45f668,_0x12994a,_0x48f513,_0x3d8562){return _0x3c39c8(_0x12994a- -0x538,_0x12994a-0x1d8,_0x48f513-0x1af,_0x3d8562);}return void 0x0;}});}import{readFile as _0x190475,stat as _0x3dabd7}from'fs/promises';import*as _0x5bdadf from'path';function stripUtfBom(_0x5df301){const _0x13bdc3={_0x400bdd:0x4f3,_0x161e34:0x451,_0x4e380d:0x43d,_0x173bab:0x4a6,_0x41b60e:0x3e8,_0x3006a8:0x4a7},_0x580bb5={_0x52a5ee:0x15b,_0x436888:0x125};function _0x35487d(_0x2d20a3,_0x414fab,_0x3cee0c,_0x5533a8){return _0x43e84c(_0x2d20a3-0x1b4,_0x3cee0c,_0x3cee0c-0x148,_0x414fab-0x10d);}function _0x2f399c(_0x1c29ab,_0x3b83c0,_0x51ce25,_0xb61e91){return _0x120580(_0x3b83c0- -_0x580bb5._0x52a5ee,_0x51ce25,_0x51ce25-0xe6,_0xb61e91-_0x580bb5._0x436888);}return _0x5df301[_0x35487d(_0x13bdc3._0x400bdd,_0x13bdc3._0x161e34,0x501,0x3a6)](0x0)===0xfeff?_0x5df301[_0x2f399c(_0x13bdc3._0x4e380d,_0x13bdc3._0x173bab,_0x13bdc3._0x41b60e,_0x13bdc3._0x3006a8)](0x1):_0x5df301;}function clampLine(_0x3dc955,_0x54ce4f){const _0x2160b5={_0x4a3595:0x5fc,_0x43e6e2:0x6f8},_0x158c21={_0x5d9932:0x4f};if(!Number[_0x17fd49(0x6be,_0x2160b5._0x4a3595,0x6ba,_0x2160b5._0x43e6e2)](_0x3dc955))return 0x1;function _0x17fd49(_0x302d8b,_0xfe4349,_0x4c0982,_0x237239){return _0x120580(_0xfe4349-0x41,_0x302d8b,_0x4c0982-0x21,_0x237239-_0x158c21._0x5d9932);}return Math['max'](0x1,Math['min'](Math['trunc'](_0x3dc955),_0x54ce4f));}function createFileReadTool(_0x28e7f3={}){const _0x5e20e0={_0x33eb0c:0x269,_0xd16d8d:0xa5,_0x42b347:0x110,_0xae762d:0x129,_0xc176a3:0x235,_0x34644c:0x28d,_0x4e5b5d:0x154,_0x54e421:0x2c,_0x5c320c:0x151,_0x841ba:0x155,_0x190234:0x1d1,_0x21472d:0x280,_0x420307:0x1fb,_0x31e92a:0x2a2,_0x58cc19:0x34d,_0x506d30:0xf6,_0x38771f:0x40,_0x2909bc:0x49},_0x301840={_0x340a2d:0x55b,_0x1cb710:0x4c7,_0x1613a8:0x583,_0x18a1a6:0x2d7,_0x38236e:0x2c4,_0x17b6c9:0x3b3,_0x90cb10:0x324,_0x13dbef:0x7d4,_0x1b96b1:0x6b2,_0x521bce:0x701,_0x5bf3c4:0x750,_0x13a6ab:0x65d,_0xdf0c59:0x86f,_0x13530c:0x50d,_0x3fbf9b:0x64a,_0x43e6bc:0x23d,_0x239dc9:0x326,_0x46a276:0x213,_0x23366e:0x62f,_0x20b846:0x650,_0x559242:0x4ad,_0x1f685e:0x58d,_0x36665:0x5cb,_0x47b3ce:0x56b,_0x55ced6:0x60b,_0x5778e2:0x613,_0x2adcb2:0x62a,_0x16558f:0x65c,_0x108834:0x3ba,_0x4a6b34:0x65a,_0x23b903:0x591,_0x518ffc:0x730,_0x14dfb2:0x6e8,_0xd4eeb1:0x7fa,_0x45f430:0x6c6,_0x3c73f6:0x76b,_0x129bd9:0x566,_0x17b116:0x46b,_0x36690c:0x32f,_0x4e4402:0x761,_0x163d07:0x6ad,_0x4dd061:0x5f3,_0x343f6b:0x770,_0x3dcf25:0x6b6,_0x5c5e60:0x5c0,_0x5df50a:0x56c,_0xda7047:0x536,_0xec3065:0x7a0,_0x23a7d8:0x80d,_0x357b78:0x77d,_0x465447:0x38d,_0x31c77e:0x5c1},_0x23dd24={_0x22edfd:0x1e1},_0x5c7c2e={_0x2068be:0x21},_0x3681e1=_0x5bdadf[_0x5b2836(_0x5e20e0._0x33eb0c,0x142,0xc5,0x1c4)](_0x28e7f3[_0x3b7806(_0x5e20e0._0xd16d8d,_0x5e20e0._0x42b347,_0x5e20e0._0xae762d,0x91)]??process[_0x5b2836(0x2bf,0x21a,_0x5e20e0._0xc176a3,0x1ba)]()),_0x5e606d=(_0x28e7f3[_0x5b2836(_0x5e20e0._0x34644c,0x6f,0x94,_0x5e20e0._0x4e5b5d)]??[])['map'](_0xca629a=>_0x5bdadf['resolve'](_0xca629a));function _0x3b7806(_0x5b74ae,_0x12decb,_0xb75798,_0x481629){return _0x120580(_0xb75798- -0x3e2,_0x5b74ae,_0xb75798-_0x5c7c2e._0x2068be,_0x481629-0x36);}function _0x5b2836(_0xba2fad,_0x3fe570,_0x55fa86,_0xc34a45){return _0x120580(_0xc34a45- -0x265,_0xba2fad,_0x55fa86-_0x23dd24._0x22edfd,_0xc34a45-0x165);}const _0x905bd9=_0x28e7f3['name']??_0x3b7806(0xc6,-0xcb,-_0x5e20e0._0x54e421,-_0x5e20e0._0x5c320c);return defineTool({'name':_0x905bd9,'description':_0x3b7806(0x1d7,_0x5e20e0._0x841ba,0x1d7,0x2a2),'inputSchema':{'type':_0x3b7806(_0x5e20e0._0x190234,0x241,0x219,_0x5e20e0._0x21472d),'properties':{'path':{'type':_0x5b2836(0x335,0x1d7,_0x5e20e0._0x420307,0x28f)},'lineStart':{'type':_0x5b2836(0x287,_0x5e20e0._0x31e92a,0x470,_0x5e20e0._0x58cc19)},'lineEnd':{'type':_0x5b2836(0x315,0x414,0x3f5,0x34d)}},'required':[_0x3b7806(-0xec,-_0x5e20e0._0x506d30,-_0x5e20e0._0x38771f,-_0x5e20e0._0x2909bc)]},async *'execute'(_0x5c246a){const _0x324634={_0x5b0b8d:0x572},_0x3f95b0={_0x4601c7:0x23,_0x47416c:0x19a},_0x2ce753=resolveAllowedPath(_0x3681e1,_0x5e606d,_0x5c246a[_0x85fc74(0x336,0x2d7,0x379,0x304)]);function _0x85fc74(_0x581dce,_0x3e4711,_0x5a5fc,_0x1bdce8){return _0x5b2836(_0x1bdce8,_0x3e4711-0x157,_0x5a5fc-_0x3f95b0._0x4601c7,_0x3e4711-_0x3f95b0._0x47416c);}await assertWorkspaceFile(_0x2ce753);const _0x31caaf=await _0x3dabd7(_0x2ce753),_0x96febf=await _0x190475(_0x2ce753);if(isProbablyBinary(_0x96febf))throw new ToolExecutionError(_0x1a2dd7(_0x301840._0x340a2d,0x475,_0x301840._0x1cb710,_0x301840._0x1613a8)+_0x5c246a[_0x85fc74(0x287,_0x301840._0x18a1a6,_0x301840._0x38236e,_0x301840._0x17b6c9)],{'path':_0x5c246a['path']});function _0x1a2dd7(_0x41a830,_0x2f6f7a,_0x162a0f,_0x1c5375){return _0x3b7806(_0x41a830,_0x2f6f7a-0xa,_0x1c5375-_0x324634._0x5b0b8d,_0x1c5375-0x152);}let _0x1e8e6b=_0x96febf[_0x85fc74(_0x301840._0x90cb10,0x3e2,0x2c3,0x38c)](_0x1a2dd7(_0x301840._0x13dbef,0x80b,_0x301840._0x1b96b1,_0x301840._0x521bce));const _0x1cfce7=_0x1e8e6b['charCodeAt'](0x0)===0xfeff;_0x1e8e6b=stripUtfBom(_0x1e8e6b);const _0x397b3c=_0x1e8e6b[_0x1a2dd7(_0x301840._0x5bf3c4,_0x301840._0x13a6ab,_0x301840._0xdf0c59,0x767)](/\r?\n/),_0x257db9={'path':_0x5c246a[_0x1a2dd7(_0x301840._0x13530c,0x45f,_0x301840._0x3fbf9b,0x532)],'resolvedPath':_0x2ce753,'created':_0x31caaf[_0x85fc74(_0x301840._0x43e6bc,_0x301840._0x239dc9,_0x301840._0x46a276,0x311)][_0x1a2dd7(0x771,_0x301840._0x23366e,0x76b,_0x301840._0x20b846)](),'modified':_0x31caaf[_0x1a2dd7(_0x301840._0x559242,_0x301840._0x1f685e,_0x301840._0x36665,_0x301840._0x47b3ce)][_0x1a2dd7(_0x301840._0x55ced6,0x717,_0x301840._0x5778e2,0x650)](),'size':_0x31caaf[_0x1a2dd7(0x542,_0x301840._0x2adcb2,0x6fa,_0x301840._0x16558f)],'encoding':'utf8','bomStripped':_0x1cfce7,'truncated':![],'totalLines':_0x397b3c[_0x85fc74(0x4a8,0x4ac,_0x301840._0x108834,0x554)]};if(_0x5c246a[_0x1a2dd7(_0x301840._0x4a6b34,0x642,_0x301840._0x23b903,0x6ac)]!==void 0x0||_0x5c246a[_0x1a2dd7(_0x301840._0x518ffc,_0x301840._0x14dfb2,_0x301840._0xd4eeb1,_0x301840._0x45f430)]!==void 0x0){const _0x43a5b4=clampLine(_0x5c246a['lineStart']??0x1,_0x397b3c[_0x1a2dd7(0x6a2,_0x301840._0x3c73f6,0x62e,0x707)]),_0x514d1e=clampLine(_0x5c246a[_0x85fc74(_0x301840._0x129bd9,_0x301840._0x17b116,0x3e8,_0x301840._0x36690c)]??_0x397b3c[_0x1a2dd7(_0x301840._0x4e4402,_0x301840._0x163d07,0x6ad,0x707)],_0x397b3c['length']),_0x2c65b9=Math[_0x1a2dd7(_0x301840._0x4dd061,_0x301840._0x343f6b,_0x301840._0x3dcf25,0x6a3)](_0x43a5b4,_0x514d1e),_0x239d26=Math[_0x1a2dd7(0x59a,_0x301840._0x5c5e60,_0x301840._0x5df50a,0x54f)](_0x43a5b4,_0x514d1e),_0x38bfad=_0x397b3c[_0x85fc74(0x4db,_0x301840._0xda7047,0x54f,0x49a)](_0x2c65b9-0x1,_0x239d26)[_0x1a2dd7(_0x301840._0xec3065,_0x301840._0x23a7d8,0x675,_0x301840._0x357b78)]((_0x315504,_0x2eaa87)=>_0x2c65b9+_0x2eaa87+'|'+_0x315504)['join']('\x0a');return yield createToolOutput(_0x38bfad,{..._0x257db9,'lineRange':{'lineStart':_0x2c65b9,'lineEnd':_0x239d26,'linesTotal':_0x397b3c[_0x85fc74(_0x301840._0x465447,0x4ac,_0x301840._0x31c77e,0x38b)]}}),void 0x0;}return yield createToolOutput(_0x1e8e6b,_0x257db9),void 0x0;}});}import{stat as _0x5563a6}from'fs/promises';import*as _0x1e9b91 from'path';import{execSync,spawn as _0x49c149}from'child_process';import{existsSync}from'fs';import{stat as _0x7a90a7}from'fs/promises';import*as _0x414770 from'os';import*as _0x1bc847 from'path';import{rgPath as _0xef580c}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x2e587a={_0x10fcb7:0x20f,_0x15af62:0x316,_0x30767b:0x219,_0x4877a9:0x143,_0x4c86db:0x99,_0x30f905:0x3d,_0xd4144d:0x462,_0x4afd03:0x155,_0x45466d:0x3b,_0x4b1c12:0x45e,_0x212b27:0x33d,_0x21f88c:0x116,_0x39914d:0x3,_0x57f96b:0x32,_0x37d1b9:0x123,_0x4a4e61:0x140,_0x522290:0x32b,_0x427482:0x62,_0xf04b7:0x56,_0x3c28c4:0x156,_0x47bd84:0x3e,_0x2bd080:0x89,_0x1bf6ae:0x4,_0x47ca4d:0x3a1,_0x4ca1f4:0x465,_0x5f3219:0x182,_0x47f014:0x5e,_0xd15272:0x466,_0x5c1831:0x358,_0x594c93:0x2b9,_0x20fc98:0x24d,_0x265ab8:0x20b,_0x6da54e:0x1ce,_0x305bfa:0x90,_0x554412:0x127,_0x1e5362:0x3a0,_0x14646d:0x424,_0x17d334:0x2b5,_0x1bae3a:0x451,_0x31ceea:0x171,_0x55bab7:0x329,_0x3bc56d:0x250,_0x223535:0x1e9,_0x28f293:0x326,_0x3c9df3:0x141,_0x267a7a:0xf9},_0x72198d={_0x53ee9d:0x1f},_0x29fdf0={_0x49ef42:0x1af,_0x494ce9:0x43};function _0x312fb8(_0x479af4,_0x54e932,_0xb56bee,_0x3c8005){return _0x120580(_0x54e932- -_0x29fdf0._0x49ef42,_0x3c8005,_0xb56bee-0x102,_0x3c8005-_0x29fdf0._0x494ce9);}const _0x57e6a1=_0x414770[_0x312fb8(_0x2e587a._0x10fcb7,0x253,0x15d,_0x2e587a._0x15af62)]()===_0x4bd5e6(0xb7,0xd4,_0x2e587a._0x30767b,_0x2e587a._0x4877a9),_0x6f2d88=_0x57e6a1?[_0x1bc847[_0x4bd5e6(_0x2e587a._0x4c86db,-0x1d,0x172,_0x2e587a._0x30f905)](process[_0x312fb8(_0x2e587a._0xd4144d,0x32b,0x37b,0x22b)][_0x4bd5e6(_0x2e587a._0x4afd03,-_0x2e587a._0x45466d,-0x22,0x85)]||'',_0x312fb8(_0x2e587a._0x4b1c12,_0x2e587a._0x212b27,0x352,0x208),_0x4bd5e6(-_0x2e587a._0x21f88c,-_0x2e587a._0x39914d,-0x81,0xa),_0x4bd5e6(-0xa0,0x65,-0xb1,-_0x2e587a._0x57f96b)),_0x1bc847[_0x4bd5e6(_0x2e587a._0x37d1b9,0x125,_0x2e587a._0x4a4e61,_0x2e587a._0x30f905)](process[_0x312fb8(0x43c,_0x2e587a._0x522290,0x234,0x3df)][_0x4bd5e6(-_0x2e587a._0x427482,-_0x2e587a._0xf04b7,-_0x2e587a._0x3c28c4,-_0x2e587a._0x47bd84)]||'','ripgrep','rg.exe'),_0x1bc847['join'](process[_0x4bd5e6(-0x10f,_0x2e587a._0x2bd080,-0x81,-_0x2e587a._0x1bf6ae)][_0x312fb8(_0x2e587a._0x47ca4d,0x421,_0x2e587a._0x4ca1f4,0x343)]||'','ripgrep',_0x4bd5e6(-0x1a,-_0x2e587a._0x5f3219,-_0x2e587a._0x47f014,-0xcb))]:[_0x312fb8(_0x2e587a._0xd15272,0x463,_0x2e587a._0x5c1831,0x336),_0x312fb8(0x205,_0x2e587a._0x594c93,_0x2e587a._0x20fc98,_0x2e587a._0x265ab8),'/usr/bin/rg',_0x312fb8(0x1de,0x256,0x156,_0x2e587a._0x6da54e)];for(const _0x38f73b of _0x6f2d88){if(existsSync(_0x38f73b))return _0x38f73b;}function _0x4bd5e6(_0x379b9e,_0x224e0f,_0x4562e4,_0x1488e6){return _0x43e84c(_0x379b9e-0x1df,_0x4562e4,_0x4562e4-_0x72198d._0x53ee9d,_0x1488e6- -0x43a);}try{const _0xe9d405=_0x57e6a1?'where\x20rg':'which\x20rg',_0x570357=execSync(_0xe9d405,{'encoding':_0x4bd5e6(0x19a,_0x2e587a._0x305bfa,_0x2e587a._0x554412,0x93),'stdio':[_0x312fb8(0x3c1,_0x2e587a._0x1e5362,_0x2e587a._0x14646d,0x33c),_0x312fb8(_0x2e587a._0x17d334,0x3a0,_0x2e587a._0x1bae3a,0x3a2),_0x312fb8(_0x2e587a._0x31ceea,0x26d,0x36a,_0x2e587a._0x55bab7)]})[_0x312fb8(0x20e,_0x2e587a._0x3bc56d,_0x2e587a._0x223535,_0x2e587a._0x28f293)]()[_0x4bd5e6(0x63,_0x2e587a._0x3c9df3,0x122,_0x2e587a._0x267a7a)](/\r?\n/)[0x0];if(_0x570357&&existsSync(_0x570357))return _0x570357;}catch{return null;}return null;}async function filepath(){const _0x316b7f={_0x3dbb59:0x1d5};if(cachedRgPath)return cachedRgPath;if(_0xef580c&&existsSync(_0xef580c))return cachedRgPath=_0xef580c,_0xef580c;const _0x550c55=findSystemRipgrep();if(!_0x550c55)throw new Error(_0xf613e4(-_0x316b7f._0x3dbb59,-0x1f4,-0x30b,-0x272));function _0xf613e4(_0x121058,_0x3dd0cf,_0x4f43a6,_0x362666){return _0x120580(_0x121058- -0x586,_0x362666,_0x4f43a6-0xda,_0x362666-0x3c);}return cachedRgPath=_0x550c55,_0x550c55;}async function*files(_0x5124c5){const _0x38202b={_0x15324d:0x2f3,_0x51959f:0x296,_0x2ba0f5:0x3c0,_0x51dac1:0x2ce,_0x58dc17:0x495,_0x5f0a24:0x3ad,_0x1c462f:0x587,_0x3bce9f:0x32f,_0xad4cf9:0x516,_0x70a9be:0x40d,_0x30d9f5:0x3a5,_0xe29024:0x430,_0x5ecdbd:0x477,_0x3410df:0x4af,_0x3db568:0x4f0,_0x4aa636:0x5ea,_0x2ceae6:0x3b5,_0x19d47f:0x53b,_0x2a1a2f:0x3d5,_0x28ddba:0x3b6,_0x4f0c16:0x2e0,_0x1a9b56:0x38d,_0x3b1e1b:0x4b3,_0x2c6251:0x5a7,_0x394849:0x507,_0x557d28:0x61f,_0x37e2b1:0x566,_0x24717b:0x518,_0xcfb7ef:0x4c3,_0x593ea5:0x481,_0x5630ff:0x327,_0x27c9a6:0x2ba,_0x597d44:0x337,_0x2eb2d7:0x518},_0x5c4ac0={_0x3ae076:0x5f,_0x2849c3:0x135},_0x32942a={_0x579a6b:0xd8,_0x3c28e0:0x119},_0x1fb2cd=await filepath();function _0x188f77(_0x509444,_0x4942bf,_0x2a0c88,_0x1acc66){return _0x120580(_0x509444- -_0x32942a._0x579a6b,_0x1acc66,_0x2a0c88-0x1c2,_0x1acc66-_0x32942a._0x3c28e0);}const _0x159d95=await _0x7a90a7(_0x5124c5['cwd'])['catch'](()=>null);if(!_0x159d95?.['isDirectory']())throw Object[_0x188f77(0x330,_0x38202b._0x15324d,_0x38202b._0x51959f,0x2a6)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x5124c5[_0x145da2(_0x38202b._0x2ba0f5,0x2cb,0x456,0x399)]+'\x27'),{'code':_0x188f77(_0x38202b._0x51dac1,0x35c,0x2a7,0x2a4)});const _0xfbeabb=[_0x188f77(0x3ca,_0x38202b._0x58dc17,0x4e2,_0x38202b._0x5f0a24),_0x145da2(_0x38202b._0x1c462f,0x55f,0x545,0x50e),_0x188f77(_0x38202b._0x3bce9f,0x366,0x229,0x455),_0x188f77(0x50a,_0x38202b._0xad4cf9,0x454,0x44d)];function _0x145da2(_0x4e82d6,_0x427c3b,_0xa6e2ee,_0x834653){return _0x120580(_0x4e82d6- -_0x5c4ac0._0x3ae076,_0x427c3b,_0xa6e2ee-_0x5c4ac0._0x2849c3,_0x834653-0x159);}for(const _0x32dc10 of _0x5124c5['glob']??[]){_0xfbeabb['push'](_0x188f77(0x446,_0x38202b._0x70a9be,0x362,0x47a)+_0x32dc10);}const _0xfc4443=_0x49c149(_0x1fb2cd,_0xfbeabb,{'cwd':_0x5124c5[_0x145da2(_0x38202b._0x2ba0f5,_0x38202b._0x30d9f5,0x341,0x299)],'stdio':[_0x145da2(0x3bd,0x377,_0x38202b._0xe29024,0x2cc),_0x188f77(_0x38202b._0x5ecdbd,0x36f,0x49f,_0x38202b._0x3410df),_0x145da2(_0x38202b._0x3db568,_0x38202b._0x4aa636,_0x38202b._0x2ceae6,0x411)]});let _0x146f22='';for await(const _0x3ee046 of _0xfc4443[_0x145da2(0x4f3,_0x38202b._0x19d47f,0x43c,0x3c8)]??[]){_0x146f22+=_0x3ee046[_0x188f77(_0x38202b._0x2a1a2f,_0x38202b._0x28ddba,_0x38202b._0x4f0c16,_0x38202b._0x1a9b56)]();const _0x5544b7=_0x146f22[_0x145da2(0x578,0x5ba,0x5a5,_0x38202b._0x3b1e1b)](/\r?\n/);_0x146f22=_0x5544b7[_0x145da2(_0x38202b._0x2c6251,_0x38202b._0x394849,_0x38202b._0x557d28,_0x38202b._0x37e2b1)]()??'';for(const _0x23b6d3 of _0x5544b7){if(_0x23b6d3[_0x145da2(_0x38202b._0x24717b,0x418,_0x38202b._0xcfb7ef,_0x38202b._0x593ea5)]>0x0)yield _0x23b6d3;}}_0x146f22[_0x188f77(_0x38202b._0x5630ff,_0x38202b._0x27c9a6,0x418,_0x38202b._0x597d44)]()[_0x145da2(_0x38202b._0x2eb2d7,0x597,0x614,0x4e3)]>0x0&&(yield _0x146f22['trim']());}function parseMatchLine(_0x4cd63c,_0x88f792){const _0x363e4d={_0x300180:0x469,_0x411e09:0x542,_0x5236a5:0x240,_0xf0afbb:0x130,_0x4938fb:0x542,_0x5cbab6:0x592,_0x5f1814:0x164,_0xa3acb4:0xf8,_0x10ed7e:0x4eb,_0x3f6365:0x391,_0x5171df:0x3a4,_0x26fbc1:0x331,_0x43a9e4:0x4a4,_0x483284:0x493,_0x22f9e4:0x470},_0x300dbb={_0x128249:0x1d},_0x566907={_0x1e583a:0xf5};function _0x56305c(_0x2b34ad,_0x3a5360,_0x4cd167,_0x4a6993){return _0x43e84c(_0x2b34ad-0x1bf,_0x3a5360,_0x4cd167-_0x566907._0x1e583a,_0x4cd167- -0x52b);}if(!_0x4cd63c||_0x4cd63c==='--')return null;const _0x4880f6=_0x4cd63c[_0x3a5c9b(0x470,_0x363e4d._0x300180,0x544,0x424)]('|');if(_0x88f792&&_0x4880f6['length']>=0x4&&Number[_0x3a5c9b(_0x363e4d._0x411e09,0x44d,0x333,0x39b)](Number['parseInt'](_0x4880f6[0x2]??'',0xa))){const _0x92392c=Number[_0x56305c(-0x2d,-_0x363e4d._0x5236a5,-_0x363e4d._0xf0afbb,-0x150)](_0x4880f6[0x1]??'',0xa);if(!Number[_0x3a5c9b(_0x363e4d._0x4938fb,0x44d,0x3b5,_0x363e4d._0x5cbab6)](_0x92392c)||!_0x4880f6[0x0])return null;return{'filePath':_0x4880f6[0x0],'lineNum':_0x92392c,'lineText':_0x4880f6[_0x56305c(_0x363e4d._0x5f1814,-0xc4,0x32,_0x363e4d._0xa3acb4)](0x3)['join']('|')};}function _0x3a5c9b(_0xde73a1,_0x3b1bd9,_0x5c55f2,_0x1b0cea){return _0x120580(_0x3b1bd9- -0x16e,_0x1b0cea,_0x5c55f2-0x118,_0x1b0cea-_0x300dbb._0x128249);}if(_0x4880f6[_0x3a5c9b(_0x363e4d._0x10ed7e,0x409,_0x363e4d._0x3f6365,_0x363e4d._0x5171df)]>=0x3){const _0x5aa381=Number[_0x3a5c9b(0x228,_0x363e4d._0x26fbc1,0x24d,0x409)](_0x4880f6[0x1]??'',0xa);if(!Number[_0x56305c(-0xcf,-0x138,-0x14,0x114)](_0x5aa381)||!_0x4880f6[0x0])return null;return{'filePath':_0x4880f6[0x0],'lineNum':_0x5aa381,'lineText':_0x4880f6[_0x3a5c9b(_0x363e4d._0x43a9e4,_0x363e4d._0x483284,0x4a5,_0x363e4d._0x22f9e4)](0x2)[_0x56305c(-0x13a,-0x2f,-0xb4,0x13)]('|'),..._0x88f792?{'isContext':!![]}:{}};}return null;}async function search(_0x43bb46){const _0x4ac115={_0x391fce:0x60b,_0x3bdb7c:0xec,_0x2150e5:0x103,_0x10ebfa:0x5cf,_0x143e4e:0x6f1,_0x1d9c9e:0x6f5,_0x392bf0:0x536,_0x2aa30e:0x4c0,_0x52417d:0x3d8,_0x4e7714:0x39a,_0x469926:0x3d5,_0x4b2479:0x4ae,_0x10c14d:0x5fa,_0x2a1710:0xfa,_0x3c7321:0x451,_0x22faa2:0x50d,_0x322c7c:0x60,_0xbbcca1:0x15c,_0x24e30f:0x17e,_0x29077e:0x65,_0x8f560:0xc9,_0x2e0e88:0x4ab,_0x57452d:0x10,_0x177718:0xa3,_0x576650:0x1d,_0x58dfa7:0x12e,_0x2bb7dd:0xa2,_0x3275d4:0x38,_0x4e2819:0x5a9,_0x36e7f9:0x57,_0x3c9746:0x11e,_0xe3c3ce:0x633,_0x20c5eb:0x660,_0x52b536:0x1d0,_0x411460:0x51,_0x9ea618:0x36,_0x1ff64e:0x6af,_0x64b863:0x675,_0x3d6433:0x53f,_0x439a2c:0x449,_0x27c4f2:0x635,_0x4b035a:0x4f,_0x270a35:0x22,_0x58435d:0xaa,_0x17d13b:0x616},_0x1cbfc4={_0x37e453:0x19f,_0x202f14:0xe1,_0x8dc1a:0xc2,_0x2d0bf2:0x35,_0x435468:0xc5,_0xdc203a:0x59d,_0x52f58d:0x9e,_0x236a2d:0x7e,_0x2db32e:0xbf,_0x2ff33c:0x604,_0x226a97:0x537,_0x39a3ff:0x64a},_0x5e9bdb={_0x261151:0x278,_0x3134f2:0x805,_0x3656fd:0x694,_0xf7e225:0x7f3,_0xdae8fa:0x6dc,_0x513e7d:0x19b,_0x474ff4:0x1cd,_0x34b565:0x224,_0x1e6932:0x2f8,_0x23c87e:0x27a,_0x5e65a1:0x2da},_0x3c6d1e={_0x1b61ee:0xe5},_0x295ece={_0x508e5e:0x10},_0x320379={_0x1efa15:0xa7,_0x17c92e:0x15c},_0x1a6359={_0x25da4a:0x524,_0x16db6a:0x14b,_0x28471a:0xfc};function _0xc3e28d(_0x3812ec,_0x194e84,_0x3a4828,_0x35bfb8){return _0x120580(_0x3812ec- -_0x1a6359._0x25da4a,_0x35bfb8,_0x3a4828-_0x1a6359._0x16db6a,_0x35bfb8-_0x1a6359._0x28471a);}const _0x2d3a06=await filepath();if(_0x43bb46['file']){const _0x1936fc=await _0x7a90a7(_0x43bb46[_0x1a488c(0x62d,0x534,0x6cc,_0x4ac115._0x391fce)])[_0xc3e28d(0x16,0x41,-_0x4ac115._0x3bdb7c,-_0x4ac115._0x2150e5)](()=>null);if(!_0x1936fc?.[_0x1a488c(_0x4ac115._0x10ebfa,_0x4ac115._0x143e4e,_0x4ac115._0x1d9c9e,_0x4ac115._0x392bf0)]())throw Object[_0x1a488c(_0x4ac115._0x2aa30e,_0x4ac115._0x52417d,0x5b0,_0x4ac115._0x4e7714)](new Error('No\x20such\x20file:\x20\x27'+_0x43bb46['file']+'\x27'),{'code':_0x1a488c(0x45e,0x33c,0x44a,_0x4ac115._0x469926)});}else{const _0x326b99=await _0x7a90a7(_0x43bb46[_0x1a488c(0x4d7,_0x4ac115._0x4b2479,0x45c,_0x4ac115._0x10c14d)])[_0xc3e28d(0x16,0xa1,-0x42,-_0x4ac115._0x2a1710)](()=>null);if(!_0x326b99?.['isDirectory']())throw Object[_0x1a488c(0x4c0,_0x4ac115._0x3c7321,0x46e,_0x4ac115._0x22faa2)](new Error(_0xc3e28d(_0x4ac115._0x322c7c,-0x62,0x76,-0x4)+_0x43bb46[_0xc3e28d(-0x105,-0x98,-_0x4ac115._0xbbcca1,-0x53)]+'\x27'),{'code':_0xc3e28d(-_0x4ac115._0x24e30f,-_0x4ac115._0x29077e,-0x65,-_0x4ac115._0x8f560)});}const _0x128a15=[_0x1a488c(0x566,0x438,_0x4ac115._0x2e0e88,0x446),'--field-match-separator=|','--field-context-separator=|',_0xc3e28d(0x1e,-_0x4ac115._0x57452d,-0xbe,0x13a),_0x43bb46[_0xc3e28d(_0x4ac115._0x177718,-_0x4ac115._0x576650,_0x4ac115._0x58dfa7,_0x4ac115._0x2bb7dd)]],_0x52d060=typeof _0x43bb46[_0xc3e28d(0x57,_0x4ac115._0x3275d4,0x17b,-0x96)]===_0x1a488c(0x66a,0x683,_0x4ac115._0x4e2819,0x789)&&_0x43bb46[_0xc3e28d(_0x4ac115._0x36e7f9,0x9e,_0x4ac115._0x3c9746,-0x4b)]>0x0;function _0x1a488c(_0x25d29a,_0x3b4792,_0x52f357,_0x216ac9){return _0x43e84c(_0x25d29a-_0x320379._0x1efa15,_0x216ac9,_0x52f357-0x107,_0x25d29a-_0x320379._0x17c92e);}return _0x52d060&&_0x128a15['push']('-C',String(_0x43bb46[_0x1a488c(_0x4ac115._0xe3c3ce,0x705,_0x4ac115._0x20c5eb,0x62a)]),_0xc3e28d(-0x143,-_0x4ac115._0x52b536,-0x45,-0x1b)),_0x43bb46['glob']&&!_0x43bb46[_0xc3e28d(_0x4ac115._0x411460,0x141,0x162,-_0x4ac115._0x9ea618)]&&_0x128a15[_0x1a488c(_0x4ac115._0x1ff64e,_0x4ac115._0x64b863,0x785,0x5b4)](_0x1a488c(_0x4ac115._0x3d6433,_0x4ac115._0x439a2c,_0x4ac115._0x27c4f2,0x5a1),_0x43bb46[_0xc3e28d(_0x4ac115._0x4b035a,-_0x4ac115._0x270a35,-0xf2,_0x4ac115._0x58435d)]),_0x128a15[_0x1a488c(0x6af,0x635,0x5b3,_0x4ac115._0x17d13b)](_0x43bb46['file']??_0x43bb46['cwd']),await new Promise((_0x3b401d,_0x5a346a)=>{const _0x14b27d={_0x51e044:0x445},_0xff999={_0x340ee1:0x7d},_0x7ac383={_0x233a06:0x192,_0x19c080:0x544},_0x574aa6={_0xfad374:0x97,_0x1147ff:0x171,_0x5acde5:0x192},_0x98ba1a={_0x452ed6:0xd9},_0x3e00db={_0x52f9d6:0x599,_0x48e596:0x11c,_0x404d56:0x105},_0x5debe3=_0x49c149(_0x2d3a06,_0x128a15,{'cwd':_0x43bb46[_0x47e2c2(-_0x1cbfc4._0x37e453,0x68,-_0x1cbfc4._0x202f14,-_0x1cbfc4._0x8dc1a)],'stdio':[_0x47e2c2(_0x1cbfc4._0x2d0bf2,-0xc8,-0x160,-_0x1cbfc4._0x435468),'pipe',_0x4a1330(0x51e,0x617,0x5ef,_0x1cbfc4._0xdc203a)]});function _0x4a1330(_0x434449,_0xb28783,_0x350bc6,_0xe23d60){return _0x1a488c(_0xb28783-_0x295ece._0x508e5e,_0xb28783-0x121,_0x350bc6-0x132,_0xe23d60);}let _0x5d60fb='',_0x147c4f='';function _0x47e2c2(_0x41d408,_0x4ddfdb,_0x1c5fc2,_0x2165df){return _0x1a488c(_0x2165df- -_0x3e00db._0x52f9d6,_0x4ddfdb-_0x3e00db._0x48e596,_0x1c5fc2-_0x3e00db._0x404d56,_0x4ddfdb);}_0x5debe3[_0x47e2c2(-_0x1cbfc4._0x52f58d,_0x1cbfc4._0x236a2d,-0xc5,0x71)]?.['on']('data',_0x52e491=>{function _0x24cd65(_0x251f7a,_0x37ae83,_0x21104f,_0x138e43){return _0x47e2c2(_0x251f7a-0x134,_0x37ae83,_0x21104f-_0x98ba1a._0x452ed6,_0x251f7a- -0x63);}_0x5d60fb+=_0x52e491[_0x24cd65(-_0x574aa6._0xfad374,-_0x574aa6._0x1147ff,-_0x574aa6._0x5acde5,-0xba)]();}),_0x5debe3[_0x47e2c2(-_0x1cbfc4._0x2db32e,0x33,-0x99,-0x94)]?.['on']('data',_0x26d6a4=>{function _0x41a058(_0x1d8fea,_0x191e9e,_0x51a483,_0x1e3bcc){return _0x4a1330(_0x1d8fea-_0x7ac383._0x233a06,_0x191e9e- -_0x7ac383._0x19c080,_0x51a483-0x1cb,_0x1d8fea);}_0x147c4f+=_0x26d6a4[_0x41a058(-0xfd,0x31,0x43,_0x3c6d1e._0x1b61ee)]();}),_0x5debe3['on'](_0x4a1330(_0x1cbfc4._0x2ff33c,_0x1cbfc4._0x226a97,_0x1cbfc4._0x39a3ff,0x438),_0x55cc7f=>{function _0x553145(_0x43679e,_0x505316,_0x3d230b,_0x43b317){return _0x4a1330(_0x43679e-0x1f2,_0x43b317-_0xff999._0x340ee1,_0x3d230b-0x16,_0x43679e);}if(_0x55cc7f===0x1&&_0x5d60fb===''){_0x3b401d([]);return;}if(_0x55cc7f!==0x0&&_0x55cc7f!==0x1){_0x5a346a(new Error(_0x4ed384(0x293,0x261,0x2ef,_0x5e9bdb._0x261151)+_0x147c4f));return;}const _0x5cf973=_0x43bb46[_0x553145(_0x5e9bdb._0x3134f2,_0x5e9bdb._0x3656fd,_0x5e9bdb._0xf7e225,_0x5e9bdb._0xdae8fa)]??0x64,_0x193ec6=[];for(const _0x4cc2e5 of _0x5d60fb['split'](/\r?\n/)){if(_0x193ec6[_0x4ed384(_0x5e9bdb._0x513e7d,0x1fa,_0x5e9bdb._0x474ff4,_0x5e9bdb._0x34b565)]>=_0x5cf973)break;const _0x3518bb=parseMatchLine(_0x4cc2e5,_0x52d060);if(_0x3518bb)_0x193ec6[_0x4ed384(_0x5e9bdb._0x1e6932,_0x5e9bdb._0x23c87e,0x32f,_0x5e9bdb._0x5e65a1)](_0x3518bb);}function _0x4ed384(_0x2ecb6c,_0x4506f9,_0x492c9a,_0x45b61a){return _0x4a1330(_0x2ecb6c-0x9c,_0x4506f9- -_0x14b27d._0x51e044,_0x492c9a-0x16c,_0x2ecb6c);}_0x3b401d(_0x193ec6);}),_0x5debe3['on']('error',_0x5a346a);});}function createGlobTool(_0x19a629={}){const _0x222ef3={_0x116549:0xe3,_0x208367:0x10b,_0x2870b2:0x1f7,_0x82795f:0x13,_0x248326:0x3f,_0x5d425d:0x26b,_0x45e94e:0x2a7,_0x3d1b3d:0x374,_0x5097dc:0x275,_0x716717:0x1b8,_0x2bce21:0xde,_0x37f743:0xf6,_0x27e626:0x430,_0x5103ac:0x2f0,_0xcd6aec:0x220,_0x533916:0x2b5,_0x45de9b:0x272,_0x314942:0x173,_0x84f69c:0x1ae,_0x649789:0x206,_0x17e49f:0x26c,_0x3995bb:0x3b5,_0x143d1e:0x281,_0x5c6d0d:0x2bb},_0x31ac48={_0x3b5fdf:0x46b,_0x5964d7:0x4f4,_0x39ae6a:0x58d,_0xe732ac:0x55f,_0xe2ae3e:0x242,_0x3d9959:0x1e9,_0x39f23e:0x300,_0x4b4969:0x106,_0xd01cf0:0x7e,_0x283c64:0x74,_0x5ddc4a:0x1,_0x111d32:0x5a6,_0x4cd184:0x4c3,_0x2f08a6:0x61a,_0x427e15:0x4d9,_0x128954:0x24c,_0x3f0dad:0x2ed,_0x320d81:0x2d6,_0x41756a:0x5f9,_0x11a8bb:0x573,_0x5463be:0x1bd,_0x5b68ff:0x24e,_0x5bad4c:0x6c4,_0x1faf44:0x4f2,_0x2815d3:0x336,_0x3b5358:0x304,_0x57d561:0x267,_0x42031e:0x253,_0x117b6b:0x2b9},_0x4eddd1={_0x564bd0:0x141},_0x4c7878={_0x1a4abc:0x2cc,_0x2dff21:0x10f},_0x16b590=_0x1e9b91[_0x53c73b(0x177,_0x222ef3._0x116549,0x194,_0x222ef3._0x208367)](_0x19a629[_0x53c73b(_0x222ef3._0x2870b2,0x1c5,0x1ac,0x14a)]??process[_0x53c73b(0x1ad,0xd9,_0x222ef3._0x82795f,0x8c)]());function _0x303914(_0x1fb464,_0x35cda8,_0x1f5b76,_0x43990c){return _0x120580(_0x35cda8- -_0x4c7878._0x1a4abc,_0x1fb464,_0x1f5b76-_0x4c7878._0x2dff21,_0x43990c-0x6);}const _0x3b8730=(_0x19a629[_0x53c73b(0x172,0x73,-0x37,_0x222ef3._0x248326)]??[])[_0x53c73b(_0x222ef3._0x5d425d,_0x222ef3._0x45e94e,_0x222ef3._0x3d1b3d,0x2b1)](_0x431a43=>_0x1e9b91[_0x303914(0x26f,0x15d,0x3b,0x85)](_0x431a43));function _0x53c73b(_0x5549d7,_0x3ae9de,_0x48357c,_0x107a39){return _0x43e84c(_0x5549d7-0x55,_0x5549d7,_0x48357c-_0x4eddd1._0x564bd0,_0x3ae9de- -0x2a2);}const _0xcc4e16=_0x19a629['limit']??0x64,_0x2d1849=_0x19a629[_0x53c73b(_0x222ef3._0x5097dc,_0x222ef3._0x716717,0x26b,0x2ea)]??_0x53c73b(_0x222ef3._0x2bce21,_0x222ef3._0x37f743,0x225,0xa7);return defineTool({'name':_0x2d1849,'description':_0x303914(_0x222ef3._0x27e626,0x2fc,_0x222ef3._0x5103ac,_0x222ef3._0xcd6aec),'inputSchema':{'type':_0x53c73b(0x252,_0x222ef3._0x533916,_0x222ef3._0x45de9b,_0x222ef3._0x314942),'properties':{'pattern':{'type':'string'},'path':{'type':_0x53c73b(0x1cd,_0x222ef3._0x84f69c,0x2e2,_0x222ef3._0x649789)},'limit':{'type':_0x53c73b(0x313,_0x222ef3._0x17e49f,0x32a,0x157)}},'required':[_0x53c73b(_0x222ef3._0x3995bb,_0x222ef3._0x143d1e,_0x222ef3._0x5c6d0d,0x158)]},async *'execute'(_0x3027dd){const _0x30c4ad={_0x46e0be:0x119},_0x3e0612={_0x46ce95:0x22};if(_0x3027dd['pattern'][_0xd8ae90(_0x31ac48._0x3b5fdf,_0x31ac48._0x5964d7,_0x31ac48._0x39ae6a,0x4c6)]()['length']===0x0)throw new ToolExecutionError(_0xd8ae90(_0x31ac48._0xe732ac,0x46c,0x67b,0x605),{});const _0x33cf44=resolveAllowedPath(_0x16b590,_0x3b8730,_0x3027dd['path']??'.'),_0x36e8d5=await _0x5563a6(_0x33cf44)[_0x17e9f0(0x216,_0x31ac48._0xe2ae3e,_0x31ac48._0x3d9959,_0x31ac48._0x39f23e)](()=>null);function _0x17e9f0(_0x3c809d,_0x22c5f1,_0x35f82d,_0x25ad78){return _0x53c73b(_0x35f82d,_0x3c809d-_0x3e0612._0x46ce95,_0x35f82d-0xdd,_0x25ad78-0x68);}if(!_0x36e8d5?.[_0xd8ae90(0x4b8,0x530,0x4e3,0x3eb)]())throw new ToolExecutionError(_0x17e9f0(0x218,0x11b,0x194,_0x31ac48._0x4b4969)+(_0x3027dd[_0x17e9f0(_0x31ac48._0xd01cf0,0x17a,0xf4,-0x1)]??'.'),{'path':_0x3027dd[_0x17e9f0(_0x31ac48._0xd01cf0,0x10,_0x31ac48._0x283c64,_0x31ac48._0x5ddc4a)]??'.'});const _0x30b7cb=_0x3027dd['limit']??_0xcc4e16,_0x28fff3=Math['max'](0x1,Math['trunc'](_0x30b7cb)),_0xc03a6f=[];let _0x31f5b4=![];for await(const _0x4ea24c of files({'cwd':_0x33cf44,'glob':[_0x3027dd['pattern']]})){if(_0xc03a6f['length']>=_0x28fff3){_0x31f5b4=!![];break;}const _0x951654=await _0x5563a6(_0x1e9b91['join'](_0x33cf44,_0x4ea24c))[_0xd8ae90(_0x31ac48._0x111d32,_0x31ac48._0x4cd184,_0x31ac48._0x2f08a6,_0x31ac48._0x427e15)](()=>null);_0xc03a6f[_0x17e9f0(0x2d3,_0x31ac48._0x128954,0x39a,0x343)]({'path':_0x4ea24c,'mtime':_0x951654?.[_0x17e9f0(_0x31ac48._0x3f0dad,0x2ac,_0x31ac48._0x320d81,0x1bd)]??0x0});}function _0xd8ae90(_0x38e1f6,_0x34bc4b,_0x239c31,_0x4e43a8){return _0x53c73b(_0x4e43a8,_0x38e1f6-0x3b2,_0x239c31-0x44,_0x4e43a8-_0x30c4ad._0x46e0be);}_0xc03a6f[_0xd8ae90(_0x31ac48._0x41756a,0x4de,_0x31ac48._0x11a8bb,_0x31ac48._0x11a8bb)]((_0xe18b8f,_0x1efd46)=>_0x1efd46[_0xd8ae90(0x447,0x496,0x3fc,0x3bc)]-_0xe18b8f[_0xd8ae90(0x447,0x471,0x48d,0x3c3)]);const _0x32d265=_0xc03a6f['map'](_0x340f64=>_0x340f64[_0xd8ae90(0x40e,0x3da,0x3f6,0x2ef)]),_0x2c4d22=_0x32d265[_0x17e9f0(0x253,0x352,0x348,0x25e)]===0x0?_0x17e9f0(0x271,_0x31ac48._0x5463be,0x13d,_0x31ac48._0x5b68ff)+_0x3027dd[_0x17e9f0(0x2a3,0x2dc,0x307,0x237)]:''+_0x32d265[_0xd8ae90(0x587,_0x31ac48._0x5bad4c,_0x31ac48._0x1faf44,0x551)]('\x0a')+(_0x31f5b4?_0x17e9f0(0x2a7,0x288,0x267,_0x31ac48._0x2815d3):'');return yield createToolOutput(_0x2c4d22,{'pattern':_0x3027dd[_0x17e9f0(0x2a3,0x22d,_0x31ac48._0x3b5358,_0x31ac48._0x57d561)],'searchPath':_0x1e9b91['relative'](_0x16b590,_0x33cf44)||'.','matches':_0x32d265,'count':_0x32d265[_0x17e9f0(_0x31ac48._0x42031e,0x21a,_0x31ac48._0x117b6b,0x1c2)],'truncated':_0x31f5b4}),void 0x0;}});}import{stat as _0x2051b0}from'fs/promises';import*as _0x1a91af from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x13d83d={}){const _0x54ef51={_0x22db83:0x119,_0x23abf8:0x2b,_0x140f14:0x11c,_0x4f5a30:0x32,_0x15af34:0x14d,_0xdeb805:0x30,_0x5e2b51:0xdd,_0x5c20fe:0x81,_0x1fe797:0x36,_0x5179ae:0x404,_0x225d32:0x338,_0x5e79fa:0x247,_0x3732fa:0x2b8,_0x4eb202:0x347,_0x353fae:0x1e8,_0x31cfa1:0x2cd,_0x47ca28:0x346,_0x204f92:0x2f2,_0xffd579:0x3bd,_0x1d5a63:0x288,_0x43b872:0x272,_0x42e664:0x1c3,_0x4fe162:0xba,_0x14315a:0x17e,_0x50e379:0x3d8,_0x2edd85:0x3c5,_0x51c056:0x2cc},_0x565312={_0x1c8849:0x653,_0x54d32b:0x77f,_0x2360b3:0x6b3,_0x50e795:0x64,_0x27b5c8:0x1f8,_0x39f187:0x6ad,_0x375841:0x744,_0x542357:0x12c,_0x2c6170:0x4b,_0x86bb6a:0x54b,_0x1c2bca:0x591,_0x4962da:0xfc,_0x4be007:0x16b,_0x418229:0xbc,_0x5a566a:0x20,_0x12a1a0:0x12,_0x286ccf:0x1a6,_0x27651a:0x97,_0x5e50f7:0x1a6,_0x1cd44c:0x242,_0x11ecda:0x3fc,_0x2c22d1:0x5db,_0x3100bb:0x5f1,_0x10d78b:0x62e,_0x4201b7:0x516,_0x1a3a48:0x4d7,_0x37798b:0x507,_0x58739d:0x7f,_0xaf9a4:0x1b8,_0x2a81b1:0xbb,_0x5906cf:0xa8,_0x34bda4:0x465,_0x311d4e:0x380,_0x2196e1:0x73a,_0x10edb0:0x6f2,_0x522b31:0x736,_0x29590f:0xb8,_0x5cf7d6:0x5f4,_0x397d77:0xfd,_0x234e4c:0x721,_0xa8dc12:0x6ae,_0x5d938a:0x718,_0x529212:0x741,_0x24fa42:0x4c9,_0x2ce602:0x5cb,_0x34d2a7:0x160,_0x22ed75:0x1ca,_0x11498f:0x6d,_0x4da776:0x54c,_0x38b5c4:0x45,_0x52975f:0x1,_0x4f98a4:0x83,_0x165e17:0x47,_0x4fbac8:0x5b2,_0xdfbcdc:0x2f,_0x1f67a4:0x29,_0x1b851f:0x96,_0x4c366a:0x30,_0x57b733:0xd5,_0x2e12d2:0x603,_0x541b68:0x4b6,_0x11564b:0x61f,_0x458f20:0x376,_0x39c7ef:0x52,_0x5f0e58:0x192,_0x5a6956:0x39,_0x4f629b:0x5b,_0x3a400a:0x423,_0x2bd1c8:0x453,_0x3583f4:0x551,_0x5760cb:0x55c,_0x2f6298:0xb9,_0x5162e9:0x1e6,_0x34c0f0:0x6f2,_0x427fbf:0x4f8,_0x699048:0x18c,_0x1bed8d:0xa2,_0x26a3b6:0x437,_0x4cd171:0x44,_0x4739e5:0x46,_0x343938:0xd,_0x381117:0x96,_0x52c518:0x1ee,_0x4ef826:0xbe,_0x472c3b:0x53d,_0x2584ea:0x554,_0x3419b8:0x4be,_0x1fc9c2:0x48b},_0x4ee9cb={_0x3ed602:0x11d,_0x8309af:0x6},_0x3775eb={_0x459a70:0xd3,_0x39efa9:0x13},_0x54bab2={_0x480015:0x202,_0x4036b7:0x65},_0x31ae5a=_0x1a91af[_0x16aeda(_0x54ef51._0x22db83,-_0x54ef51._0x23abf8,0x3a,0x80)](_0x13d83d[_0x16aeda(0x193,0x1d2,_0x54ef51._0x140f14,_0x54ef51._0x4f5a30)]??process[_0x16aeda(0x1f,_0x54ef51._0x15af34,_0x54ef51._0xdeb805,-_0x54ef51._0x5e2b51)]()),_0x4936fa=(_0x13d83d[_0x16aeda(-0x143,_0x54ef51._0x5c20fe,-_0x54ef51._0x1fe797,0xbc)]??[])['map'](_0x3ab9fa=>_0x1a91af['resolve'](_0x3ab9fa));function _0x3bc97e(_0x234f7a,_0x2a9c95,_0x13b0b8,_0x282ddb){return _0x120580(_0x2a9c95- -_0x54bab2._0x480015,_0x13b0b8,_0x13b0b8-_0x54bab2._0x4036b7,_0x282ddb-0x162);}const _0xbea9f7=_0x13d83d['limit']??0x64,_0x3acbb8=_0x13d83d[_0x3bc97e(_0x54ef51._0x5179ae,0x2fc,0x381,_0x54ef51._0x225d32)]??_0x3bc97e(_0x54ef51._0x5e79fa,_0x54ef51._0x3732fa,_0x54ef51._0x4eb202,_0x54ef51._0x353fae);function _0x16aeda(_0xb41bd3,_0x475a2a,_0x5f234c,_0x2df2d4){return _0x43e84c(_0xb41bd3-_0x3775eb._0x459a70,_0x475a2a,_0x5f234c-_0x3775eb._0x39efa9,_0x5f234c- -0x34b);}return defineTool({'name':_0x3acbb8,'description':_0x3bc97e(_0x54ef51._0x31cfa1,0x35b,0x3aa,_0x54ef51._0x47ca28),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0x3bc97e(0x2da,_0x54ef51._0x204f92,_0x54ef51._0xffd579,0x38b)},'path':{'type':_0x3bc97e(0x37b,0x2f2,_0x54ef51._0x1d5a63,_0x54ef51._0x43b872)},'include':{'type':'string'},'limit':{'type':_0x16aeda(0x1af,0x18d,_0x54ef51._0x42e664,_0x54ef51._0x4fe162)},'context':{'type':_0x16aeda(_0x54ef51._0x14315a,0x1fa,0x1c3,0x9c)}},'required':[_0x3bc97e(_0x54ef51._0x50e379,_0x54ef51._0x2edd85,0x3d4,_0x54ef51._0x51c056)]},async *'execute'(_0x55994f){if(_0x55994f[_0x338925(0x6a7,_0x565312._0x1c8849,_0x565312._0x54d32b,_0x565312._0x2360b3)][_0x4f463d(-0x149,-0x48,-_0x565312._0x50e795,-_0x565312._0x27b5c8)]()[_0x338925(0x5b9,0x603,_0x565312._0x39f187,_0x565312._0x375841)]===0x0)throw new ToolExecutionError(_0x4f463d(-0x55,-0x6a,-_0x565312._0x542357,_0x565312._0x2c6170),{});function _0x338925(_0x13a09d,_0x32f485,_0xf9182,_0xb0090){return _0x3bc97e(_0x13a09d-_0x4ee9cb._0x3ed602,_0x32f485-0x28e,_0xf9182,_0xb0090-_0x4ee9cb._0x8309af);}const _0x491263=resolveAllowedPath(_0x31ae5a,_0x4936fa,_0x55994f['path']??'.'),_0x5c8230=await _0x2051b0(_0x491263)[_0x338925(_0x565312._0x86bb6a,0x5c6,_0x565312._0x1c2bca,0x575)](()=>null),_0x3e99ea=_0x5c8230?.['isFile']()??![],_0x40d0a7=_0x5c8230?.[_0x4f463d(-_0x565312._0x4962da,-_0x565312._0x4be007,-_0x565312._0x418229,-0x1a4)]()??![];if(!_0x3e99ea&&!_0x40d0a7)throw new ToolExecutionError(_0x4f463d(0xc,0xfc,_0x565312._0x5a566a,_0x565312._0x12a1a0)+(_0x55994f[_0x4f463d(-_0x565312._0x286ccf,-0x2d0,-0x232,-_0x565312._0x27651a)]??'.'),{'path':_0x55994f[_0x4f463d(-_0x565312._0x5e50f7,-0x7a,-_0x565312._0x1cd44c,-0x1b4)]??'.'});const _0x3ba7bf=_0x55994f['limit']??_0xbea9f7,_0x65f443=Math[_0x338925(_0x565312._0x11ecda,0x44b,0x4d8,0x37d)](0x1,Math[_0x338925(_0x565312._0x2c22d1,_0x565312._0x3100bb,_0x565312._0x10d78b,0x6f2)](_0x3ba7bf)),_0x19d152=await search({'cwd':_0x40d0a7?_0x491263:_0x1a91af[_0x338925(_0x565312._0x4201b7,0x604,_0x565312._0x1a3a48,_0x565312._0x37798b)](_0x491263),'pattern':_0x55994f[_0x4f463d(_0x565312._0x58739d,_0x565312._0xaf9a4,-_0x565312._0x2a81b1,_0x565312._0x5906cf)],'glob':_0x40d0a7?_0x55994f[_0x338925(0x38f,_0x565312._0x34bda4,_0x565312._0x311d4e,0x4eb)]:void 0x0,'limit':_0x65f443,'file':_0x3e99ea?_0x491263:void 0x0,'context':_0x55994f[_0x338925(_0x565312._0x2196e1,0x607,_0x565312._0x10edb0,_0x565312._0x522b31)]});function _0x4f463d(_0x43f445,_0x5342b6,_0x5a1c1f,_0x56ec87){return _0x3bc97e(_0x43f445-0xeb,_0x43f445- -0x346,_0x56ec87,_0x56ec87-0x1cc);}const _0x53ec8f=new Map();for(const _0x32e293 of _0x19d152){if(!_0x53ec8f[_0x4f463d(-0x34,-0x15f,_0x565312._0x29590f,-0x120)](_0x32e293['filePath'])){const _0x30377e=await _0x2051b0(_0x32e293[_0x338925(0x5eb,0x5cb,0x521,_0x565312._0x5cf7d6)])[_0x4f463d(-0xe,-0x3e,-0x34,-_0x565312._0x397d77)](()=>null);_0x53ec8f[_0x338925(_0x565312._0x234e4c,_0x565312._0xa8dc12,_0x565312._0x5d938a,_0x565312._0x529212)](_0x32e293[_0x338925(_0x565312._0x24fa42,_0x565312._0x2ce602,_0x565312._0x1a3a48,0x5d5)],{'matches':[],'mtime':_0x30377e?.[_0x4f463d(0xc9,_0x565312._0x34d2a7,0xf0,_0x565312._0x22ed75)]??0x0});}_0x53ec8f[_0x4f463d(0xd2,0x1c2,-0x5a,_0x565312._0x11498f)](_0x32e293[_0x338925(_0x565312._0x4da776,0x5cb,0x652,0x50c)])?.['matches']['push'](_0x32e293);}const _0x283bba=[..._0x53ec8f['entries']()][_0x4f463d(_0x565312._0x38b5c4,_0x565312._0x52975f,-_0x565312._0x4f98a4,-_0x565312._0x165e17)]((_0x2aa530,_0x1c8615)=>_0x1c8615[0x1]['mtime']-_0x2aa530[0x1]['mtime']),_0x4ff065=_0x19d152[_0x338925(0x68d,0x58b,0x526,_0x565312._0x4fbac8)](_0x5bead6=>!_0x5bead6['isContext'])['length'],_0x279314=_0x19d152[_0x4f463d(_0x565312._0xdfbcdc,0x141,_0x565312._0x1f67a4,-_0x565312._0x1b851f)]>=_0x65f443,_0x3651fc=_0x3e99ea?_0x1a91af[_0x4f463d(_0x565312._0x4c366a,-0x1f,-_0x565312._0x57b733,0xa2)](_0x491263):_0x491263;let _0x20a3df='';if(_0x19d152[_0x338925(0x636,_0x565312._0x2e12d2,0x647,0x73f)]===0x0)_0x20a3df=_0x338925(0x3a0,_0x565312._0x541b68,0x3d2,0x439)+_0x55994f[_0x338925(0x693,0x653,_0x565312._0x11564b,0x649)];else{_0x20a3df=_0x338925(_0x565312._0x458f20,0x49d,0x3f8,0x59e)+_0x4ff065+'\x20match'+(_0x4ff065===0x1?'':'es')+'\x0a';for(const [_0x25f2ed,_0x255ae6]of _0x283bba){const _0x492a4d=_0x3e99ea?_0x1a91af[_0x4f463d(-_0x565312._0x39c7ef,-_0x565312._0x5f0e58,-_0x565312._0x5a6956,_0x565312._0x4f629b)](_0x25f2ed):_0x1a91af['relative'](_0x3651fc,_0x25f2ed);_0x20a3df+='\x0a'+_0x492a4d+':\x0a';for(const _0x5d9c61 of _0x255ae6['matches']){const _0x47b2d2=_0x5d9c61[_0x338925(_0x565312._0x3a400a,0x551,0x531,0x635)]['length']>MAX_LINE_LENGTH?_0x5d9c61[_0x338925(_0x565312._0x2bd1c8,_0x565312._0x3583f4,_0x565312._0x5760cb,0x637)][_0x4f463d(_0x565312._0x2f6298,0x154,0x30,_0x565312._0x5162e9)](0x0,MAX_LINE_LENGTH)+_0x338925(_0x565312._0x34c0f0,0x614,0x509,_0x565312._0x427fbf):_0x5d9c61['lineText'],_0x3a7174=_0x5d9c61[_0x4f463d(-0x13d,-_0x565312._0x699048,-0x105,-_0x565312._0x1bed8d)]?'\x20\x20':'>\x20';_0x20a3df+=_0x3a7174+_0x338925(0x42a,0x45f,_0x565312._0x26a3b6,0x3c6)+_0x5d9c61['lineNum']+':\x20'+_0x47b2d2+'\x0a';}}_0x279314&&(_0x20a3df+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');}const _0x49c5c2={'searchPath':_0x1a91af[_0x4f463d(0x7c,_0x565312._0x4cd171,_0x565312._0x4739e5,_0x565312._0x2c6170)](_0x31ae5a,_0x491263)||'.','pattern':_0x55994f['pattern'],'matchCount':_0x4ff065,'fileCount':_0x53ec8f[_0x4f463d(-0x7c,0xbe,-_0x565312._0x343938,_0x565312._0x381117)],'truncated':_0x279314};return _0x40d0a7&&_0x55994f[_0x4f463d(-0x16f,-_0x565312._0x52c518,-_0x565312._0x4ef826,-0xde)]!==void 0x0&&(_0x49c5c2[_0x338925(_0x565312._0x472c3b,0x465,_0x565312._0x2584ea,0x325)]=_0x55994f['include']),yield createToolOutput(_0x20a3df[_0x338925(_0x565312._0x3419b8,_0x565312._0x1fc9c2,0x5a8,0x350)](),_0x49c5c2),void 0x0;}});}import{readdir as _0x4026e0,readFile as _0xef1ff9,stat as _0x2f760c}from'fs/promises';import*as _0x11001d from'path';import*as _0x5cebba from'yaml';async function countTextLines(_0x5da617){const _0x91786f={_0x40625b:0x199,_0x31373b:0x67,_0x3e3586:0xa3,_0xac96f9:0x5a,_0x4b8c9a:0x93,_0x2bffdd:0x167,_0x163cfe:0xc3},_0x9e5d1b=await _0xef1ff9(_0x5da617)[_0x511058(0x16d,0x130,_0x91786f._0x40625b,_0x91786f._0x31373b)](()=>null);if(!_0x9e5d1b||isProbablyBinary(_0x9e5d1b))return void 0x0;function _0x1abf4e(_0x1db2d8,_0x24335e,_0x5461ca,_0x3da739){return _0x120580(_0x24335e- -0x514,_0x5461ca,_0x5461ca-0x7,_0x3da739-0x10b);}function _0x511058(_0x4c31e7,_0x57faeb,_0xad0c05,_0x383996){return _0x43e84c(_0x4c31e7-0x95,_0xad0c05,_0xad0c05-0x9c,_0x57faeb- -0x366);}return _0x9e5d1b[_0x511058(0xea,_0x91786f._0x3e3586,-0x78,-_0x91786f._0xac96f9)](_0x511058(_0x91786f._0x4b8c9a,_0x91786f._0x2bffdd,0x8b,0x26b))[_0x1abf4e(0xc1,_0x91786f._0x163cfe,0xbf,0x102)](/\r?\n/)['length'];}function createLsTool(_0x48a47e={}){const _0x566b32={_0x1e38f9:0xac,_0x845a1e:0xfe,_0x322a8c:0x199,_0xf01b3a:0x388,_0x2c596b:0x41e,_0x51f71f:0x322,_0x2c8985:0x211,_0x56a1ec:0x19d,_0x2e90f0:0x2c5,_0x307cb3:0x26f,_0x30627e:0x1d6,_0x3a55cb:0x2c9,_0x4544a1:0x328,_0x4c9dc2:0x231,_0x3951bd:0x3d3,_0x220296:0x567,_0x2adf86:0x51b},_0x32a6fc={_0x240e05:0x10b,_0x5555df:0xd,_0x51e408:0x138,_0x25b907:0x337,_0x49f844:0x24e,_0x7bbfbb:0x336,_0x4c0a37:0xe5,_0x27dcd6:0x22b,_0x22fad3:0x1e2,_0xf2728c:0xb8,_0x2c0aa8:0x80,_0x15f58f:0x107,_0x17cb12:0x154,_0x3f751c:0x250,_0x42d174:0x214,_0x3c7cfe:0x338,_0x5c4f14:0x29a,_0x56a299:0x33e,_0x57b469:0x20,_0x354d00:0x17a,_0x152ace:0x104,_0x1144ef:0x4d,_0x2e600f:0x218,_0x24ec74:0x40d,_0x4b2fc8:0x33a,_0x24e029:0xc8,_0x59fb1c:0x16c,_0x3ed1fc:0x12d,_0x78eda9:0x2d9,_0x5292a3:0x393,_0x10eec5:0x376,_0x326dd8:0x1d1,_0x527b0c:0x349,_0x25e205:0x479,_0x4ba4c8:0x434,_0x54dbe6:0x37,_0x469fbd:0xf9,_0x31b177:0x2a1,_0x61c551:0x410,_0x321689:0x26c,_0x2995dd:0x1ff,_0x3d57da:0x14a,_0x483963:0x60,_0x424c80:0xae,_0x6fe2a6:0x495,_0x596cfd:0x3d9,_0x40e993:0x465,_0x24aeb5:0x39a,_0x2f59e7:0x4bb,_0x16ecb6:0x36b,_0x2fc51e:0x2da,_0x23cd13:0x4e,_0x33a2e0:0xc5,_0x539dee:0x9,_0x185795:0xca,_0x161868:0x93,_0x412394:0x11b},_0x4612bb={_0x473dc3:0x84},_0x518053={_0x51ccc1:0x1eb,_0x56a049:0xd},_0x35a496=_0x11001d[_0x5734aa(_0x566b32._0x1e38f9,0x7,0x101,0xea)](_0x48a47e[_0x5734aa(0x2c7,_0x566b32._0x845a1e,0x1e3,_0x566b32._0x322a8c)]??process[_0x2f82fc(0x40f,_0x566b32._0xf01b3a,0x4a6,0x49d)]());function _0x2f82fc(_0x56a190,_0x4c1870,_0x504641,_0x51f8f4){return _0x43e84c(_0x56a190-0xe3,_0x56a190,_0x504641-_0x518053._0x51ccc1,_0x4c1870-_0x518053._0x56a049);}function _0x5734aa(_0x1c7544,_0xd34656,_0x145b86,_0x2b0fcb){return _0x120580(_0x145b86- -0x328,_0xd34656,_0x145b86-_0x4612bb._0x473dc3,_0x2b0fcb-0x134);}const _0x9b38c3=(_0x48a47e[_0x2f82fc(_0x566b32._0x2c596b,_0x566b32._0x51f71f,0x27c,_0x566b32._0x2c8985)]??[])[_0x5734aa(_0x566b32._0x56a1ec,0x1e3,_0x566b32._0x2e90f0,0x23c)](_0x16731a=>_0x11001d['resolve'](_0x16731a)),_0x4ebb96=_0x48a47e[_0x5734aa(0x1e8,_0x566b32._0x307cb3,_0x566b32._0x30627e,_0x566b32._0x3a55cb)]??'Ls';return defineTool({'name':_0x4ebb96,'description':_0x5734aa(_0x566b32._0x4544a1,0x187,_0x566b32._0x4c9dc2,0x133),'inputSchema':{'type':_0x5734aa(0x36f,_0x566b32._0x3951bd,0x2d3,0x253),'properties':{'path':{'type':'string'},'limit':{'type':_0x2f82fc(_0x566b32._0x220296,_0x566b32._0x2adf86,0x4d9,0x491)}}},async *'execute'(_0x5db2eb){const _0x553cd3={_0x2cf350:0x416,_0x56ca82:0x126},_0x144a5d={_0x521741:0x146,_0x3b8063:0x71},_0x4d08c2=_0x5db2eb[_0x47017f(-_0x32a6fc._0x240e05,0x3a,-0xab,-0x216)]??'.';function _0x4d7a0d(_0x53d6a1,_0xfa0285,_0x2f76a5,_0x1ef547){return _0x2f82fc(_0x53d6a1,_0x1ef547- -_0x144a5d._0x521741,_0x2f76a5-0x75,_0x1ef547-_0x144a5d._0x3b8063);}const _0x22bdbf=resolveAllowedPath(_0x35a496,_0x9b38c3,_0x4d08c2),_0x500f52=await _0x2f760c(_0x22bdbf)['catch'](()=>null);if(!_0x500f52?.[_0x47017f(-0x61,_0x32a6fc._0x5555df,-_0x32a6fc._0x51e408,-0xdb)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+_0x4d08c2,{'path':_0x4d08c2});const _0x3aeda6=_0x5db2eb[_0x4d7a0d(0x35a,0x386,_0x32a6fc._0x25b907,0x3ba)]??0x3e8,_0x4fe790=Math[_0x4d7a0d(0x2de,0x2b5,_0x32a6fc._0x49f844,_0x32a6fc._0x7bbfbb)](Math[_0x4d7a0d(0xcc,_0x32a6fc._0x4c0a37,_0x32a6fc._0x27dcd6,_0x32a6fc._0x22fad3)](Math[_0x47017f(_0x32a6fc._0xf2728c,0x61,_0x32a6fc._0x2c0aa8,_0x32a6fc._0x15f58f)](_0x3aeda6),0x1),0x2710),_0x76550b=await _0x4026e0(_0x22bdbf),_0xc5f1e=[];for(const _0x384569 of _0x76550b[_0x47017f(_0x32a6fc._0x17cb12,0x293,_0x32a6fc._0x3f751c,_0x32a6fc._0x42d174)](0x0,_0x4fe790)){const _0x3109e9=_0x11001d[_0x4d7a0d(0x352,_0x32a6fc._0x3c7cfe,_0x32a6fc._0x5c4f14,_0x32a6fc._0x56a299)](_0x22bdbf,_0x384569),_0x429f6f=await _0x2f760c(_0x3109e9)[_0x47017f(0x8d,0xb1,-0x83,-_0x32a6fc._0x57b469)](()=>null);if(!_0x429f6f)continue;let _0x58fde3=_0x47017f(_0x32a6fc._0x354d00,0x1f1,_0x32a6fc._0x152ace,_0x32a6fc._0x1144ef);if(_0x429f6f[_0x4d7a0d(_0x32a6fc._0x2e600f,0x24e,_0x32a6fc._0x24ec74,_0x32a6fc._0x4b2fc8)]())_0x58fde3=_0x47017f(_0x32a6fc._0x24e029,-0x47,-0x28,_0x32a6fc._0x59fb1c);else{if(_0x429f6f[_0x4d7a0d(0x221,0x38e,_0x32a6fc._0x3ed1fc,0x26f)]())_0x58fde3=_0x4d7a0d(0x3c8,_0x32a6fc._0x78eda9,_0x32a6fc._0x5292a3,_0x32a6fc._0x10eec5);else{if(_0x429f6f['isSymbolicLink']())_0x58fde3='symlink';}}const _0x36b568={'name':_0x384569,'type':_0x58fde3,'size':_0x429f6f[_0x4d7a0d(0x208,_0x32a6fc._0x326dd8,0x3d1,0x2ef)],'mtime':_0x429f6f[_0x4d7a0d(0x55e,_0x32a6fc._0x527b0c,_0x32a6fc._0x25e205,_0x32a6fc._0x4ba4c8)],'mode':_0x429f6f[_0x47017f(_0x32a6fc._0x54dbe6,0xa6,_0x32a6fc._0x469fbd,0xb4)]},_0x36c477=_0x58fde3===_0x4d7a0d(0x412,_0x32a6fc._0x31b177,_0x32a6fc._0x61c551,0x398)?await countTextLines(_0x3109e9):void 0x0;if(_0x36c477!==void 0x0)_0x36b568[_0x4d7a0d(0x192,0x26b,_0x32a6fc._0x321689,_0x32a6fc._0x2995dd)]=_0x36c477;_0xc5f1e[_0x47017f(_0x32a6fc._0x3d57da,_0x32a6fc._0x483963,_0x32a6fc._0x424c80,0x1d3)](_0x36b568);}_0xc5f1e['sort']((_0x5c0d01,_0x557c61)=>_0x5c0d01[_0x4d7a0d(0x22a,0x465,0x234,0x321)]['localeCompare'](_0x557c61[_0x4d7a0d(0x1e2,0x222,0x1e3,0x321)]));const _0x124b44={'path':_0x4d08c2,'total':_0xc5f1e['length'],'truncated':_0x76550b[_0x4d7a0d(_0x32a6fc._0x6fe2a6,_0x32a6fc._0x596cfd,_0x32a6fc._0x40e993,_0x32a6fc._0x24aeb5)]>_0x4fe790,'entries':_0xc5f1e};function _0x47017f(_0x561c7d,_0x56f399,_0x2f2f45,_0x3b4c31){return _0x2f82fc(_0x3b4c31,_0x561c7d- -_0x553cd3._0x2cf350,_0x2f2f45-_0x553cd3._0x56ca82,_0x3b4c31-0x13b);}return yield createToolOutput(_0x5cebba[_0x4d7a0d(_0x32a6fc._0x2f59e7,_0x32a6fc._0x16ecb6,_0x32a6fc._0x2fc51e,0x3e4)](_0x124b44,{'indent':0x2,'lineWidth':0x0})[_0x47017f(-_0x32a6fc._0x23cd13,-_0x32a6fc._0x33a2e0,_0x32a6fc._0x539dee,0x52)](),{'path':_0x4d08c2,'total':_0xc5f1e[_0x47017f(_0x32a6fc._0x185795,_0x32a6fc._0x161868,_0x32a6fc._0x412394,0x16e)],'truncated':_0x76550b['length']>_0x4fe790,'limit':_0x4fe790,'entries':_0xc5f1e}),void 0x0;}});}import{stat as _0x2d599c}from'fs/promises';import _0x4f540f from'path';import{fileURLToPath as _0x526eac}from'url';function severityName(_0x2db9ac){const _0x5ab177={_0x445cfd:0x74,_0x5687d3:0x164,_0x110e5e:0xb8,_0x41404d:0x1b,_0x1b3862:0xb9,_0x596674:0xd7,_0x3e1a1f:0x19,_0x96b6f:0x97},_0x4e01dd={_0x243126:0xf6},_0x5cc789={_0x27612d:0x17,_0x10267a:0x70};function _0xb45459(_0x419740,_0xab219d,_0x45d300,_0x2b75c7){return _0x43e84c(_0x419740-_0x5cc789._0x27612d,_0xab219d,_0x45d300-_0x5cc789._0x10267a,_0x419740- -0x468);}function _0x4cca05(_0x432f28,_0x45af0d,_0x2e4a11,_0x54ddc6){return _0x120580(_0x45af0d- -0x4d9,_0x54ddc6,_0x2e4a11-0x163,_0x54ddc6-_0x4e01dd._0x243126);}switch(_0x2db9ac){case 0x1:return _0x4cca05(_0x5ab177._0x445cfd,-0x58,-_0x5ab177._0x5687d3,-_0x5ab177._0x110e5e);case 0x2:return _0x4cca05(0x91,0xda,-_0x5ab177._0x41404d,_0x5ab177._0x1b3862);case 0x3:return _0x4cca05(-_0x5ab177._0x41404d,_0x5ab177._0x596674,0x49,0xab);case 0x4:return'Hint';default:return _0xb45459(-0x1b,_0x5ab177._0x3e1a1f,0x4b,_0x5ab177._0x96b6f);}}function formatSingleHover(_0x4014f9){const _0x1eb8df={_0x51aee0:0x446,_0x18cdd0:0x301,_0xd677f4:0x4dc,_0x16c60c:0x54c,_0x323e28:0x411,_0x36846f:0x39d,_0x9fafe2:0x39b,_0x5ecb71:0x4db,_0x173901:0x492,_0x22c925:0x4e6,_0x17865d:0x45f,_0x119f09:0x405,_0x4836f2:0x67f,_0x2af3e8:0x6a5,_0x303b17:0x35a,_0x5b5d4d:0x2b0,_0x204cb0:0x376,_0x3d7366:0x3bb,_0x49e536:0x452,_0x250375:0x3e2,_0x1f07aa:0x4eb,_0xa56f88:0x45f},_0x56d185={_0x796c9d:0x93,_0x45b941:0x87,_0x11b644:0x149},_0x57ccd9={_0x2d692b:0x4d,_0x2d5b3a:0x17b},_0x98649c=_0x4014f9['contents'];if(typeof _0x98649c===_0x2c5d48(_0x1eb8df._0x51aee0,0x3ea,0x425,_0x1eb8df._0x18cdd0))return _0x98649c;function _0x2c5d48(_0x3b4dea,_0x4e7a69,_0x15fd4d,_0x33e62f){return _0x120580(_0x4e7a69- -0x10a,_0x15fd4d,_0x15fd4d-_0x57ccd9._0x2d692b,_0x33e62f-_0x57ccd9._0x2d5b3a);}if(Array['isArray'](_0x98649c))return _0x98649c['map'](_0x3f6c6a=>typeof _0x3f6c6a===_0xfa73e0(0x515,0x599,0x6d8,0x603)?_0x3f6c6a:_0x3f6c6a[_0xfa73e0(0x3c9,0x45f,0x401,0x34e)])[_0xfa73e0(_0x1eb8df._0xd677f4,0x5a4,0x68e,0x516)](Boolean)[_0x2c5d48(_0x1eb8df._0x16c60c,_0x1eb8df._0x323e28,0x3b1,_0x1eb8df._0x36846f)]('\x0a\x0a');function _0xfa73e0(_0x5c5942,_0x4b82b1,_0x2f5557,_0x166f13){return _0x43e84c(_0x5c5942-_0x56d185._0x796c9d,_0x5c5942,_0x2f5557-_0x56d185._0x45b941,_0x4b82b1-_0x56d185._0x11b644);}if(_0x2c5d48(_0x1eb8df._0x9fafe2,_0x1eb8df._0x5ecb71,_0x1eb8df._0x173901,0x5c0)in _0x98649c)return _0x98649c[_0xfa73e0(_0x1eb8df._0x22c925,_0x1eb8df._0x17865d,_0x1eb8df._0x119f09,0x38a)];return _0x98649c[_0xfa73e0(0x486,0x5a5,_0x1eb8df._0x4836f2,_0x1eb8df._0x2af3e8)]?'```'+_0x98649c['language']+'\x0a'+_0x98649c[_0x2c5d48(_0x1eb8df._0x303b17,_0x1eb8df._0x5b5d4d,0x1dd,_0x1eb8df._0x204cb0)]+_0x2c5d48(_0x1eb8df._0x3d7366,_0x1eb8df._0x49e536,_0x1eb8df._0x250375,_0x1eb8df._0x1f07aa):_0x98649c[_0xfa73e0(0x543,_0x1eb8df._0xa56f88,0x3b3,0x464)];}function formatHover(_0x102e28){const _0x47917b={_0x37807b:0x1f1,_0x3ae3a7:0x1f5,_0x2782d1:0x1eb,_0x3d1d80:0x15d,_0x54cf31:0x5d6,_0x469d1b:0x4ec,_0x3a7e00:0x453,_0x24a983:0x504},_0x4c8476={_0x4e113d:0x24,_0x45d671:0x179},_0x324613={_0x2704ab:0xe2,_0x3494c8:0xf5};if(_0x102e28[_0x5b62cf(0x2ad,_0x47917b._0x37807b,_0x47917b._0x3ae3a7,_0x47917b._0x2782d1)]===0x0)return _0x5b62cf(_0x47917b._0x3d1d80,0x1d0,0x1bb,0x1ab);function _0x20a34f(_0x1ed894,_0xd2f614,_0x4e2849,_0x3fd179){return _0x43e84c(_0x1ed894-_0x324613._0x2704ab,_0x3fd179,_0x4e2849-_0x324613._0x3494c8,_0x4e2849-0x8d);}function _0x5b62cf(_0x1ce8c2,_0x593309,_0x46b8d7,_0xe79dd4){return _0x120580(_0x593309- -0x386,_0x1ce8c2,_0x46b8d7-_0x4c8476._0x4e113d,_0xe79dd4-_0x4c8476._0x45d671);}return _0x102e28[_0x20a34f(0x51c,0x5dd,_0x47917b._0x54cf31,0x68a)](formatSingleHover)[_0x20a34f(_0x47917b._0x469d1b,_0x47917b._0x3a7e00,_0x47917b._0x24a983,0x5eb)]('\x0a\x0a---\x0a\x0a');}function locationPath(_0x4966d2){const _0x1e9b7a={_0x2f59b7:0x6ed,_0x4b31ef:0x2ba,_0x3ed176:0x382,_0xee70fc:0x3dd,_0x245aa5:0x2dc},_0x4aa900={_0x2942e4:0x121,_0x1b9bf7:0x15d},_0x32a3f9={_0x5d07e6:0x69,_0x39c0e2:0x26a};if(!_0x4966d2[_0x2a635e(0x5d4,0x5fc,0x4c1,_0x1e9b7a._0x2f59b7)](_0x1466ce(_0x1e9b7a._0x4b31ef,_0x1e9b7a._0x3ed176,_0x1e9b7a._0xee70fc,_0x1e9b7a._0x245aa5)))return _0x4966d2;function _0x2a635e(_0xdf8308,_0x298f68,_0x193bf0,_0x1510e0){return _0x43e84c(_0xdf8308-0x1e8,_0x193bf0,_0x193bf0-_0x32a3f9._0x5d07e6,_0xdf8308-_0x32a3f9._0x39c0e2);}function _0x1466ce(_0xb15db4,_0x47702b,_0x105a1c,_0x5f5da9){return _0x43e84c(_0xb15db4-_0x4aa900._0x2942e4,_0x47702b,_0x105a1c-_0x4aa900._0x1b9bf7,_0x105a1c- -0xd);}return _0x526eac(_0x4966d2);}function formatLocations(_0x465674){const _0x472d00={_0x29fa3d:0x49,_0x495c5c:0xc0},_0x50272e={_0xdcfb59:0x7c,_0x165d75:0x45b,_0x2bf002:0x513,_0x5c845e:0x6d,_0x496a97:0x47,_0x1defa2:0xcd,_0x1a8f84:0x9f,_0x1be923:0x7c},_0x13e9a1={_0x503de0:0x52e,_0xf8cf7f:0x101};if(_0x465674[_0x46b986(-0x71,_0x472d00._0x29fa3d,-_0x472d00._0x495c5c,0xbc)]===0x0)return'No\x20locations\x20found';function _0x46b986(_0x5a7351,_0x4313ef,_0x9e4017,_0x44741a){return _0x120580(_0x4313ef- -_0x13e9a1._0x503de0,_0x9e4017,_0x9e4017-0x1dc,_0x44741a-_0x13e9a1._0xf8cf7f);}return _0x465674['map'](_0x4442c6=>{const _0x368af7={_0x429701:0x177};function _0x2ab4eb(_0x1da19c,_0x598e4d,_0x3dd880,_0x1a5b47){return _0x46b986(_0x1da19c-_0x368af7._0x429701,_0x598e4d-0x381,_0x1da19c,_0x1a5b47-0x147);}const _0x1c4352=_0x4442c6['range'][_0x8f5a(0x115,0xab,_0x50272e._0xdcfb59,0x31)];function _0x8f5a(_0x208608,_0x12c67f,_0x8341e3,_0x1053e4){return _0x46b986(_0x208608-0xe1,_0x8341e3-0xee,_0x208608,_0x1053e4-0x1c7);}return locationPath(_0x4442c6[_0x2ab4eb(0x333,_0x50272e._0x165d75,0x40e,_0x50272e._0x2bf002)])+':'+(_0x1c4352[_0x8f5a(_0x50272e._0x5c845e,-0x92,0xa0,_0x50272e._0x496a97)]+0x1)+':'+(_0x1c4352[_0x8f5a(0x6b,_0x50272e._0x1defa2,_0x50272e._0x1a8f84,-_0x50272e._0x1be923)]+0x1);})['join']('\x0a');}function isDocumentSymbol(_0x2cce2b){const _0x1b9c4f={_0x9171b4:0x6b1,_0x55202a:0x432,_0x1a96df:0x42a},_0x3ef18b={_0x4489f8:0xaf,_0x26e9dd:0x107};function _0x222238(_0x3346a7,_0x35b1cc,_0x3e4142,_0x2071c1){return _0x120580(_0x35b1cc-0x190,_0x2071c1,_0x3e4142-0x113,_0x2071c1-0x167);}function _0x135ab0(_0x363037,_0x36fdb0,_0x1ece52,_0x477e7c){return _0x120580(_0x477e7c- -_0x3ef18b._0x4489f8,_0x1ece52,_0x1ece52-_0x3ef18b._0x26e9dd,_0x477e7c-0x65);}return _0x222238(_0x1b9c4f._0x9171b4,0x591,0x542,0x4e4)in _0x2cce2b&&_0x135ab0(_0x1b9c4f._0x55202a,0x4b6,0x3db,_0x1b9c4f._0x1a96df)in _0x2cce2b;}function formatSymbols(_0x45b1da){const _0x30c327={_0x39a951:0x741,_0x773fc2:0x611,_0x317210:0x3bd,_0x4289b6:0x533,_0x17d5e1:0x4b9,_0x34b6f5:0x530,_0x53c344:0x3d4,_0xb08f67:0x413,_0x836394:0x4f9,_0x4bd531:0x61f,_0x302dc9:0x720,_0x4946a0:0x51a,_0x237354:0x4fb,_0x222c45:0x469,_0x14cc28:0x4b7,_0x29dad8:0x4f5,_0x29ed04:0x377,_0x35772a:0x558,_0x52fd34:0x63a,_0x48307c:0x44b,_0x241a01:0x4da};if(_0x45b1da['length']===0x0)return'No\x20symbols\x20found';return _0x45b1da['map'](_0x32362b=>{function _0x287026(_0x4e9fd0,_0x3e7ca0,_0x5198f0,_0x536091){return _0x4f9a(_0x4e9fd0-0x206,_0x536091);}function _0x4303ab(_0x28ac2c,_0x5330ed,_0x2b29d5,_0x3d48ee){return _0x4f9a(_0x28ac2c-0x36e,_0x2b29d5);}if(isDocumentSymbol(_0x32362b))return _0x32362b[_0x4303ab(0x661,_0x30c327._0x39a951,_0x30c327._0x773fc2,0x566)]+'\x20('+_0x32362b['kind']+_0x287026(0x43f,0x331,0x35f,0x34e)+(_0x32362b[_0x287026(0x3fc,0x489,_0x30c327._0x317210,0x51a)][_0x287026(0x4b7,_0x30c327._0x4289b6,0x57f,_0x30c327._0x17d5e1)]['line']+0x1)+':'+(_0x32362b['range'][_0x287026(0x4b7,_0x30c327._0x34b6f5,_0x30c327._0x53c344,0x57e)][_0x287026(0x4da,0x5f6,0x57e,_0x30c327._0xb08f67)]+0x1)+']';return _0x32362b[_0x287026(_0x30c327._0x836394,0x465,_0x30c327._0x4bd531,0x58f)]+'\x20('+_0x32362b['kind']+')\x20'+locationPath(_0x32362b[_0x4303ab(0x682,_0x30c327._0x302dc9,0x5ed,0x5e1)]['uri'])+':'+(_0x32362b[_0x287026(_0x30c327._0x4946a0,0x614,_0x30c327._0x237354,0x4b8)][_0x287026(0x3fc,0x3cd,_0x30c327._0x222c45,0x470)][_0x287026(_0x30c327._0x14cc28,_0x30c327._0x29dad8,0x4fb,_0x30c327._0x29ed04)][_0x4303ab(0x643,0x5d4,0x6af,_0x30c327._0x35772a)]+0x1)+':'+(_0x32362b[_0x287026(_0x30c327._0x4946a0,_0x30c327._0x52fd34,0x5a7,_0x30c327._0x48307c)]['range']['start'][_0x287026(_0x30c327._0x241a01,0x40b,0x535,0x487)]+0x1);})['join']('\x0a');}function formatDiagnostics(_0x271759){const _0x297298={_0x40700c:0x4ab,_0x5dbadc:0x53e,_0xd5c54f:0x4c3,_0x46cd30:0x3c4,_0x25443f:0x307,_0xfa8140:0x432,_0x28faff:0x345,_0x224ecf:0x40d,_0x333d74:0x277,_0x238e87:0x3ab},_0x1c7494={_0x42e62e:0x264,_0x313fe3:0x170,_0x3f89b0:0x2f3,_0x229396:0x31f,_0x5e51f4:0x312,_0x1b7466:0x451,_0x158e8e:0x691,_0x7d39a6:0x774,_0x4b454b:0x78d,_0x1926bf:0x342,_0x406316:0x437,_0xea2fd9:0x38a,_0x134064:0x27a,_0x56e4b2:0x3e6},_0x5087c1={_0x51e201:0x1a},_0xbd3874={_0x264a5b:0xdb},_0x6dddc5={_0x23d710:0xb4,_0x285bba:0x100};function _0x289e2b(_0x25faeb,_0x43f0b4,_0x543963,_0xbd1bd9){return _0x120580(_0x543963- -_0x6dddc5._0x23d710,_0x43f0b4,_0x543963-0x1e5,_0xbd1bd9-_0x6dddc5._0x285bba);}function _0x3fb942(_0x5099b3,_0x3d05d2,_0x4d5f3f,_0x53466c){return _0x43e84c(_0x5099b3-0x151,_0x4d5f3f,_0x4d5f3f-_0xbd3874._0x264a5b,_0x5099b3- -0x200);}if(_0x271759[_0x289e2b(_0x297298._0x40700c,_0x297298._0x5dbadc,_0x297298._0xd5c54f,_0x297298._0x46cd30)]===0x0)return _0x289e2b(0x53f,_0x297298._0x25443f,_0x297298._0xfa8140,_0x297298._0x28faff);return _0x271759[_0x289e2b(0x4c8,_0x297298._0x224ecf,0x539,0x644)](_0x14c6f2=>{const _0x3a8ded={_0x20c9ba:0x145};function _0x139330(_0x2f2ac0,_0x40ac26,_0x3862b5,_0x183500){return _0x3fb942(_0x183500-0x45c,_0x40ac26-0x44,_0x40ac26,_0x183500-_0x5087c1._0x51e201);}const _0x324bdb=_0x14c6f2[_0x42623d(0x1e9,_0x1c7494._0x42e62e,_0x1c7494._0x313fe3,0x1bd)][_0x42623d(_0x1c7494._0x3f89b0,_0x1c7494._0x229396,_0x1c7494._0x5e51f4,_0x1c7494._0x1b7466)];function _0x42623d(_0x2443fa,_0x545280,_0x1471b3,_0x1be8fb){return _0x289e2b(_0x2443fa-0x1c7,_0x1be8fb,_0x545280- -0xe9,_0x1be8fb-_0x3a8ded._0x20c9ba);}return severityName(_0x14c6f2['severity'])+'\x20['+(_0x324bdb[_0x139330(_0x1c7494._0x158e8e,_0x1c7494._0x7d39a6,_0x1c7494._0x4b454b,0x698)]+0x1)+':'+(_0x324bdb[_0x42623d(0x324,_0x1c7494._0x1926bf,0x1fe,_0x1c7494._0x406316)]+0x1)+']\x20'+_0x14c6f2[_0x42623d(0x3c8,_0x1c7494._0xea2fd9,_0x1c7494._0x134064,_0x1c7494._0x56e4b2)];})[_0x3fb942(_0x297298._0x333d74,_0x297298._0x238e87,0x17b,0x2fe)]('\x0a');}function formatIncomingCalls(_0x7d0b7b){const _0x22e581={_0xb091dc:0x359,_0x56daa3:0x327,_0x458ffe:0x31d,_0x435d7c:0x137,_0x32ec3b:0x188,_0x2f4408:0xdd,_0xe300db:0x11a,_0x3c4c90:0x2},_0x4987e7={_0x46c9b8:0x16d,_0x14345a:0x1e9};function _0x9eff9c(_0x164dd3,_0xda330f,_0x24ef70,_0x45847a){return _0x43e84c(_0x164dd3-_0x4987e7._0x46c9b8,_0xda330f,_0x24ef70-_0x4987e7._0x14345a,_0x24ef70- -0x4c9);}if(_0x7d0b7b[_0xde3e97(0x3a2,_0x22e581._0xb091dc,_0x22e581._0x56daa3,_0x22e581._0x458ffe)]===0x0)return _0x9eff9c(-_0x22e581._0x435d7c,-0xbc,-0x45,-0x4a);function _0xde3e97(_0x4f7950,_0x3d2103,_0x181c52,_0x4d5f9b){return _0x43e84c(_0x4f7950-0xb0,_0x181c52,_0x181c52-0x184,_0x3d2103- -0x17a);}return _0x7d0b7b[_0x9eff9c(_0x22e581._0x32ec3b,-0x28,0x80,0x77)](_0xae1ec2=>_0xae1ec2[_0x9eff9c(-0x81,-0x26f,-0x163,-0x26c)]['name'])[_0x9eff9c(-_0x22e581._0x2f4408,-_0x22e581._0xe300db,-0x52,-_0x22e581._0x3c4c90)]('\x0a');}function formatOutgoingCalls(_0x47368f){const _0x4af2a8={_0x2f95cf:0x65b,_0x4868f0:0x51b,_0x1a839e:0x729,_0x58b322:0x60c,_0x31ce41:0x535,_0x42f5a1:0x5c6,_0x1e3eb2:0x42,_0xf2da89:0x8,_0x16e33b:0x12d},_0x79e690={_0x19748d:0xe4,_0x421d6e:0x1a5},_0x2b1e12={_0x1d5929:0x570,_0x248a95:0x12d};function _0x1d81b0(_0x5b6e77,_0x4b9965,_0x282803,_0xa1bc7e){return _0x120580(_0x5b6e77- -_0x2b1e12._0x1d5929,_0x4b9965,_0x282803-_0x2b1e12._0x248a95,_0xa1bc7e-0x130);}function _0x1f752d(_0x303697,_0x2a3fcb,_0x411f06,_0x1fd550){return _0x120580(_0x303697-_0x79e690._0x19748d,_0x411f06,_0x411f06-_0x79e690._0x421d6e,_0x1fd550-0x90);}if(_0x47368f[_0x1f752d(_0x4af2a8._0x2f95cf,_0x4af2a8._0x4868f0,_0x4af2a8._0x1a839e,0x534)]===0x0)return _0x1f752d(_0x4af2a8._0x58b322,_0x4af2a8._0x31ce41,0x51d,_0x4af2a8._0x42f5a1);return _0x47368f[_0x1d81b0(0x7d,-0xc2,_0x4af2a8._0x1e3eb2,-0x2e)](_0x7b1f79=>_0x7b1f79['to']['name'])[_0x1d81b0(-0x55,_0x4af2a8._0xf2da89,-_0x4af2a8._0x16e33b,-0xd5)]('\x0a');}function toStructured(_0x484cc3){const _0x2c4fa1={_0x5f3ef3:0xb,_0x27410e:0xe7},_0x3a66c0={_0x3d95ca:0x4da,_0x177ad1:0x175};function _0x3455e1(_0x2cf27c,_0x239986,_0x5d1644,_0x23da39){return _0x120580(_0x23da39- -_0x3a66c0._0x3d95ca,_0x239986,_0x5d1644-_0x3a66c0._0x177ad1,_0x23da39-0x7b);}return JSON['parse'](JSON[_0x3455e1(-0x4f,0x127,-_0x2c4fa1._0x5f3ef3,_0x2c4fa1._0x27410e)](_0x484cc3));}async function assertFile(_0x1fe9a1){const _0x301b9f={_0x18f679:0x318,_0x50dfe6:0x23c},_0x13358d={_0x446e4b:0x113};function _0x5ab610(_0x5bd731,_0x1884a6,_0x41ef98,_0xaeff09){return _0x120580(_0x5bd731- -_0x13358d._0x446e4b,_0xaeff09,_0x41ef98-0x193,_0xaeff09-0x16f);}const _0x43db1a=await _0x2d599c(_0x1fe9a1);if(!_0x43db1a['isFile']())throw new ToolExecutionError(_0x5ab610(_0x301b9f._0x18f679,_0x301b9f._0x50dfe6,0x238,0x1fc)+_0x1fe9a1,{'path':_0x1fe9a1});}function validatePosition(_0x4f9ce9,_0x43f794){const _0x3c6cb2={_0x34df3d:0x37f,_0x2074ea:0x546,_0x36acc0:0x2f1,_0x3bca30:0x7b0,_0x13ffe0:0x74f,_0x3d3344:0x84b},_0x2dd6a2={_0x4201bd:0x164,_0x5a7dc2:0x8e,_0x457974:0x81},_0x271a4a={_0x2a118b:0x1a8};if(!Number[_0xb5dee9(0x4c2,_0x3c6cb2._0x34df3d,0x52c,_0x3c6cb2._0x2074ea)](_0x4f9ce9)||_0x4f9ce9<0x1)throw new ToolExecutionError(_0xb5dee9(0x30d,0x401,0x266,_0x3c6cb2._0x36acc0),{'line':_0x4f9ce9});function _0x2f0ebd(_0x2ebd94,_0x48b0f0,_0x5e84bd,_0x563bdb){return _0x120580(_0x48b0f0-0x18a,_0x5e84bd,_0x5e84bd-_0x271a4a._0x2a118b,_0x563bdb-0x2e);}function _0xb5dee9(_0xdb7d7b,_0xc72c52,_0x4dd421,_0xa946cb){return _0x120580(_0xdb7d7b- -_0x2dd6a2._0x4201bd,_0xc72c52,_0x4dd421-_0x2dd6a2._0x5a7dc2,_0xa946cb-_0x2dd6a2._0x457974);}if(!Number[_0x2f0ebd(0x761,_0x3c6cb2._0x3bca30,_0x3c6cb2._0x13ffe0,_0x3c6cb2._0x3d3344)](_0x43f794)||_0x43f794<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x43f794});}function createLspTool(_0x3c4514={}){const _0x4a1805={_0x1e2b90:0x588,_0x25d9c8:0x719,_0x23a924:0x633,_0x683c56:0x619,_0x3af9b6:0x6dd,_0x9f9c5c:0x62a,_0xe31fa7:0x6dc,_0x48fbab:0x645,_0x4b9ecd:0x3a5,_0x37f4cf:0x5f3,_0x599249:0x60f,_0x31139e:0x404,_0x73f76:0x2ec,_0x2770a7:0x37c,_0x10f5ff:0x5e4,_0xfed09c:0x5a4,_0xd40d04:0x2bd,_0x507462:0x3d5,_0x4c4e05:0x500,_0x1a3026:0x575,_0x20a665:0x60b,_0x1047a1:0x535,_0x2585f6:0x687,_0x1c779a:0x57e,_0x44e34b:0x66e,_0x29a680:0x5f8,_0x39edb2:0x732,_0x209034:0x6cb,_0x52e909:0x404,_0x3fddf8:0x33c,_0x1e0743:0x430,_0xe43da5:0x703,_0x237b7c:0x608,_0x46dc0b:0x4bc},_0x3672f5={_0x3c0e65:0x14a,_0x4e5181:0x170,_0x8dd493:0xe3,_0x1b4b1d:0x34,_0x318406:0x20a,_0x11a8ea:0xed,_0x55094d:0x9f,_0x93fea3:0x1d9,_0x5107b9:0x144,_0x4dc6df:0x233,_0x52db50:0x7a,_0x487630:0x4c,_0x5b7de6:0x296,_0xf19eb6:0xc5,_0x7b84f1:0x85,_0x429811:0x46,_0xdf097b:0x28a,_0x3c2f55:0x85,_0x29e246:0x169,_0x5b5696:0x19f,_0x984e1a:0x13d,_0x1606c8:0x249,_0x2e77d6:0x19f,_0xff1f7e:0x13,_0x4ac3fa:0x13,_0x13f808:0x76,_0x5cf011:0x16a,_0x3e8923:0xd5,_0x17308a:0x70,_0x443b39:0xe5,_0x2d68bc:0x21a,_0xf23b61:0x7,_0x4183f5:0x1b0,_0x58d96f:0x6b,_0x360789:0x1fa,_0x1ad6be:0x11c,_0x10d4e7:0x234,_0x59e7a3:0x5d,_0x49d4b1:0x105,_0x19f08d:0xe4,_0x3558b2:0xa5,_0x181090:0x130,_0x55de27:0xb1,_0x167407:0x1c8,_0x488569:0x171,_0x19501c:0x1f6,_0x120dad:0x1f3,_0x1a12b5:0x26,_0x118bb7:0x11a,_0x174242:0x222,_0x2df9d8:0x1e1,_0x52c1a8:0x2e7,_0x3bdc84:0x1e1,_0x3b75ea:0x2,_0x13eb08:0xad,_0x836034:0x8a,_0x5a3639:0x17b},_0x1d4d2e={_0x197c84:0x32},_0x5048ec=_0x4f540f['resolve'](_0x3c4514['defaultCwd']??process['cwd']()),_0x2d5d20=(_0x3c4514[_0x587188(0x4e5,0x3e5,_0x4a1805._0x1e2b90,0x471)]??[])[_0x587188(_0x4a1805._0x25d9c8,_0x4a1805._0x23a924,_0x4a1805._0x683c56,_0x4a1805._0x3af9b6)](_0x1ec75d=>_0x4f540f['resolve'](_0x1ec75d));function _0x587188(_0x261c65,_0x151fd9,_0x569381,_0x4f853e){return _0x120580(_0x261c65-0x12c,_0x569381,_0x569381-0x1a2,_0x4f853e-_0x1d4d2e._0x197c84);}function _0x10e9dc(_0x43cbdb,_0x97aede,_0x770d09,_0x5f3f99){return _0x120580(_0x43cbdb- -0xf0,_0x5f3f99,_0x770d09-0x185,_0x5f3f99-0x62);}const _0x57bab1=_0x3c4514[_0x587188(_0x4a1805._0x9f9c5c,0x539,_0x4a1805._0xe31fa7,_0x4a1805._0x48fbab)]??_0x587188(0x4d1,0x4e1,_0x4a1805._0x4b9ecd,0x413);return defineTool({'name':_0x57bab1,'description':_0x587188(0x5df,_0x4a1805._0x37f4cf,_0x4a1805._0x599249,0x6c6),'inputSchema':{'type':'object','properties':{'operation':{'type':_0x10e9dc(_0x4a1805._0x31139e,_0x4a1805._0x73f76,0x35b,0x370),'enum':[_0x10e9dc(0x2ba,0x284,0x399,_0x4a1805._0x2770a7),'findReferences',_0x587188(_0x4a1805._0x10f5ff,0x4c8,_0x4a1805._0xfed09c,0x61c),_0x10e9dc(_0x4a1805._0xd40d04,_0x4a1805._0x507462,0x3b7,0x237),'workspaceSymbol','goToImplementation','prepareCallHierarchy',_0x587188(_0x4a1805._0x4c4e05,0x58f,0x609,0x5c7),_0x587188(_0x4a1805._0x1a3026,0x52b,_0x4a1805._0x20a665,0x5c0),_0x587188(0x678,_0x4a1805._0x1047a1,_0x4a1805._0x2585f6,_0x4a1805._0x1c779a)]},'filePath':{'type':'string'},'line':{'type':_0x587188(0x6de,_0x4a1805._0x44e34b,0x72d,_0x4a1805._0x29a680)},'character':{'type':_0x587188(0x6de,_0x4a1805._0x39edb2,0x778,_0x4a1805._0x209034)},'query':{'type':_0x10e9dc(_0x4a1805._0x52e909,_0x4a1805._0x3fddf8,0x4f4,_0x4a1805._0x1e0743)}},'required':[_0x587188(0x62d,_0x4a1805._0xe43da5,_0x4a1805._0x237b7c,0x50f),_0x10e9dc(0x44f,0x434,0x39b,_0x4a1805._0x46dc0b),'line','character']},async *'execute'(_0x1ec168){const _0x5cc60d={_0x51f7a1:0x2ac,_0x59c970:0x5},_0x53b993={_0x28b3d1:0x6e1},_0x31d1ad=_0x3c4514[_0x5ed15f(-0x153,-0x3a,-_0x3672f5._0x3c0e65,-0x11)];if(!_0x31d1ad)throw new ToolExecutionError(_0x5ed15f(-_0x3672f5._0x4e5181,0x36,_0x3672f5._0x8dd493,-0x3c));if(!_0x31d1ad['isEnabled']())throw new ToolExecutionError(_0x5ed15f(-0x1e1,_0x3672f5._0x1b4b1d,-_0x3672f5._0x318406,-_0x3672f5._0x11a8ea));const _0x2a255d=_0x1ec168[_0x4354bf(0x29e,0x165,_0x3672f5._0x55094d,_0x3672f5._0x93fea3)];validatePosition(_0x1ec168[_0x4354bf(0xb0,_0x3672f5._0x5107b9,0x1de,_0x3672f5._0x4dc6df)],_0x1ec168['character']);if(_0x2a255d==='workspaceSymbol'){if(!_0x1ec168[_0x4354bf(0x139,_0x3672f5._0x52db50,0xef,_0x3672f5._0x487630)]?.[_0x5ed15f(-_0x3672f5._0x5b7de6,-_0x3672f5._0xf19eb6,-0x244,-0x1b6)]())throw new ToolExecutionError(_0x5ed15f(-0xaf,-_0x3672f5._0x7b84f1,-_0x3672f5._0x429811,-0x36));const _0x5b5b87=await _0x31d1ad[_0x4354bf(0x245,0x1ab,_0x3672f5._0xdf097b,_0x3672f5._0x3c2f55)](_0x1ec168[_0x5ed15f(-0x1af,-0x8b,-_0x3672f5._0x29e246,-_0x3672f5._0x5b5696)]['trim']());return yield createToolOutput(formatSymbols(_0x5b5b87),{'operation':_0x2a255d,'query':_0x1ec168[_0x5ed15f(-_0x3672f5._0x984e1a,-0x150,-_0x3672f5._0x1606c8,-_0x3672f5._0x2e77d6)],'symbols':_0x5b5b87}),void 0x0;}const _0x1643f6=resolveAllowedPath(_0x5048ec,_0x2d5d20,_0x1ec168[_0x5ed15f(-_0x3672f5._0xff1f7e,-0x57,-_0x3672f5._0x4ac3fa,-_0x3672f5._0x13f808)]);function _0x5ed15f(_0x507eef,_0x386349,_0x166135,_0x1ca540){return _0x587188(_0x1ca540- -_0x53b993._0x28b3d1,_0x386349-0x1c5,_0x507eef,_0x1ca540-0xb5);}await assertFile(_0x1643f6);if(!await _0x31d1ad['hasClients'](_0x1643f6))throw new ToolExecutionError('No\x20LSP\x20server\x20available\x20for\x20file:\x20'+_0x1ec168[_0x4354bf(0x247,0x1a3,0x15b,0x2db)],{'filePath':_0x1ec168[_0x5ed15f(-0x1a7,-_0x3672f5._0x5cf011,-0x45,-0x76)]});await _0x31d1ad[_0x4354bf(-0x74,0x9e,-0xf,_0x3672f5._0x3e8923)](_0x1643f6,!![]);function _0x4354bf(_0x58c2ce,_0x374487,_0x56f4b6,_0x51003e){return _0x10e9dc(_0x374487- -_0x5cc60d._0x51f7a1,_0x374487-_0x5cc60d._0x59c970,_0x56f4b6-0x117,_0x58c2ce);}const _0x27a6c5={'file':_0x1643f6,'line':_0x1ec168['line']-0x1,'character':_0x1ec168[_0x4354bf(0x10,0x143,_0x3672f5._0x17308a,_0x3672f5._0x443b39)]-0x1};switch(_0x2a255d){case _0x5ed15f(-_0x3672f5._0x2d68bc,-0x63,-_0x3672f5._0xf23b61,-0xfd):{const _0x45333a=await _0x31d1ad['hover'](_0x27a6c5);return yield createToolOutput(formatHover(_0x45333a),{'operation':_0x2a255d,'filePath':_0x1643f6,'hover':_0x45333a}),void 0x0;}case _0x4354bf(0x29c,_0x3672f5._0x4183f5,0xd1,_0x3672f5._0x58d96f):{const _0x32f495=await _0x31d1ad['diagnosticsForFile'](_0x1643f6);return yield createToolOutput(formatDiagnostics(_0x32f495),{'operation':_0x2a255d,'filePath':_0x1643f6,'diagnostics':_0x32f495}),void 0x0;}case'goToDefinition':{const _0x57dcbe=await _0x31d1ad[_0x4354bf(0x26c,_0x3672f5._0x360789,_0x3672f5._0x1ad6be,_0x3672f5._0x10d4e7)](_0x27a6c5);return yield createToolOutput(formatLocations(_0x57dcbe),{'operation':_0x2a255d,'filePath':_0x1643f6,'locations':_0x57dcbe}),void 0x0;}case _0x5ed15f(-_0x3672f5._0x59e7a3,-_0x3672f5._0x49d4b1,0x1c,-_0x3672f5._0x19f08d):{const _0x178421=await _0x31d1ad[_0x4354bf(_0x3672f5._0x3558b2,0x160,0xe7,0x116)](_0x27a6c5);return yield createToolOutput(formatLocations(_0x178421),{'operation':_0x2a255d,'filePath':_0x1643f6,'locations':_0x178421}),void 0x0;}case _0x4354bf(_0x3672f5._0x181090,0x1c2,_0x3672f5._0x55de27,0x252):{const _0x87186c=await _0x31d1ad[_0x5ed15f(-0x14b,-_0x3672f5._0x167407,-_0x3672f5._0x488569,-0x14e)](_0x27a6c5);return yield createToolOutput(formatLocations(_0x87186c),{'operation':_0x2a255d,'filePath':_0x1643f6,'locations':_0x87186c}),void 0x0;}case'documentSymbol':{const _0x26f469=await _0x31d1ad['documentSymbol'](_0x1643f6);return yield createToolOutput(formatSymbols(_0x26f469),{'operation':_0x2a255d,'filePath':_0x1643f6,'symbols':_0x26f469}),void 0x0;}case _0x5ed15f(-0x19b,-0xc0,-_0x3672f5._0x19501c,-_0x3672f5._0x120dad):{const _0x5047fe=await _0x31d1ad[_0x4354bf(0x10f,_0x3672f5._0x1a12b5,_0x3672f5._0x118bb7,-0x118)](_0x27a6c5);return yield createToolOutput(formatSymbols(_0x5047fe),{'operation':_0x2a255d,'filePath':_0x1643f6,'symbols':toStructured(_0x5047fe)}),void 0x0;}case _0x5ed15f(-0x1b2,-_0x3672f5._0x174242,-0x176,-_0x3672f5._0x2df9d8):{const _0x5b421e=await _0x31d1ad[_0x5ed15f(-_0x3672f5._0x52c1a8,-0x21a,-0xfa,-_0x3672f5._0x3bdc84)](_0x27a6c5);return yield createToolOutput(formatIncomingCalls(_0x5b421e),{'operation':_0x2a255d,'filePath':_0x1643f6,'calls':toStructured(_0x5b421e)}),void 0x0;}case _0x4354bf(-_0x3672f5._0x3b75ea,_0x3672f5._0x13eb08,0x1e0,_0x3672f5._0x836034):{const _0x151110=await _0x31d1ad[_0x5ed15f(-0x190,-_0x3672f5._0x5a3639,-0x84,-0x16c)](_0x27a6c5);return yield createToolOutput(formatOutgoingCalls(_0x151110),{'operation':_0x2a255d,'filePath':_0x1643f6,'calls':toStructured(_0x151110)}),void 0x0;}}}});}import{randomUUID}from'crypto';import{mkdir as _0x2bd9b5,readFile as _0x3c88a5,writeFile as _0x41818a}from'fs/promises';import{join as _0x2e790e}from'path';function sanitizeStorageKey(_0x303bf3){const _0x46ff49={_0x14dcff:0x326,_0x4d8d1c:0x3a7,_0x49fe60:0x4b0,_0x106359:0x59a,_0x2b1ab2:0x472,_0xddc555:0x3dd,_0x5944c2:0x56b},_0x18ccc5={_0x37d959:0x5b,_0x3f90bb:0x9e};function _0x12623e(_0x376781,_0x307fbd,_0x5df835,_0x5809a7){return _0x43e84c(_0x376781-0x107,_0x5df835,_0x5df835-_0x18ccc5._0x37d959,_0x307fbd-_0x18ccc5._0x3f90bb);}function _0x10e862(_0x5c278b,_0x3cb475,_0x56265c,_0x193f7e){return _0x43e84c(_0x5c278b-0xe7,_0x193f7e,_0x56265c-0xfa,_0x56265c- -0x2d);}return _0x303bf3[_0x10e862(0x2d3,_0x46ff49._0x14dcff,_0x46ff49._0x4d8d1c,_0x46ff49._0x49fe60)](/[^a-zA-Z0-9_]+/g,'_')[_0x12623e(_0x46ff49._0x106359,_0x46ff49._0x2b1ab2,_0x46ff49._0xddc555,_0x46ff49._0x5944c2)](/^_+|_+$/g,'')||'server';}function storagePath(_0x2d24b0){const _0x19fcdb={_0x284847:0xd6,_0x4ad3d4:0x128,_0x40d4df:0x164,_0x3ed356:0x7b3,_0x5160df:0x64f,_0x219403:0x69e,_0x5ed624:0x7b4,_0x2d842f:0x696},_0x4eaa04={_0xe9f42d:0xe9,_0x26a287:0x11b},_0x4e2d59={_0x1462c8:0x396,_0x39b37f:0x175},_0x1c2ba5=sanitizeStorageKey(_0x2d24b0['config'][_0x4d52da(_0x19fcdb._0x284847,0xd,-_0x19fcdb._0x4ad3d4,0xd6)]?.[_0x4d52da(0x25f,_0x19fcdb._0x40d4df,0x1f,0x7f)]??_0x2d24b0[_0x20ba7f(0x711,_0x19fcdb._0x3ed356,0x767,0x6d4)]);function _0x4d52da(_0x11574b,_0x50cbdc,_0x46e280,_0x4802c5){return _0x120580(_0x50cbdc- -_0x4e2d59._0x1462c8,_0x4802c5,_0x46e280-0xad,_0x4802c5-_0x4e2d59._0x39b37f);}function _0x20ba7f(_0x3dc930,_0x13ff0d,_0x4c8e98,_0x311d1a){return _0x120580(_0x311d1a-_0x4eaa04._0xe9f42d,_0x3dc930,_0x4c8e98-0x85,_0x311d1a-_0x4eaa04._0x26a287);}return _0x2e790e(_0x2d24b0[_0x20ba7f(0x814,0x71c,0x81f,0x713)],_0x1c2ba5+_0x20ba7f(_0x19fcdb._0x5160df,_0x19fcdb._0x219403,_0x19fcdb._0x5ed624,_0x19fcdb._0x2d842f));}async function readStore(_0x2ddf72){const _0x595659={_0x3a63e2:0x33a,_0x3386b8:0x3d6,_0x392a04:0x423,_0xd93632:0x521,_0x88579e:0x421,_0x2decea:0x5ef,_0x2bf54e:0x5fd,_0x4cb1d7:0x57a,_0x1772ac:0x4df,_0x1a8893:0x182,_0x514b6c:0x2bb},_0x2003e3={_0x46f219:0x57,_0x2e5896:0xf2,_0x4fbbe1:0x47},_0x1124c5={_0x2a316f:0x171,_0x55c6a2:0x12e};function _0x571371(_0x5f1545,_0x1b168c,_0x36e6eb,_0x199ffc){return _0x43e84c(_0x5f1545-_0x1124c5._0x2a316f,_0x199ffc,_0x36e6eb-_0x1124c5._0x55c6a2,_0x36e6eb-0x54);}function _0x53fac7(_0x317d55,_0xfbd4fd,_0x44df1f,_0x57dc5d){return _0x43e84c(_0x317d55-_0x2003e3._0x46f219,_0xfbd4fd,_0x44df1f-_0x2003e3._0x2e5896,_0x57dc5d- -_0x2003e3._0x4fbbe1);}try{return JSON[_0x571371(_0x595659._0x3a63e2,0x3b8,_0x595659._0x3386b8,_0x595659._0x392a04)](await _0x3c88a5(_0x2ddf72,_0x571371(0x5df,0x480,_0x595659._0xd93632,_0x595659._0x88579e)));}catch(_0x2d9e5e){if(_0x2d9e5e instanceof Error&&_0x571371(_0x595659._0x2decea,_0x595659._0x2bf54e,_0x595659._0x4cb1d7,0x486)in _0x2d9e5e&&_0x2d9e5e[_0x53fac7(0x5b2,0x5d8,0x517,_0x595659._0x1772ac)]===_0x53fac7(0x315,_0x595659._0x1a8893,0x292,_0x595659._0x514b6c))return{};throw _0x2d9e5e;}}async function writeStore(_0x5818f4,_0x2f671a){const _0x4d300f={_0x2fdd30:0x6b,_0x2792ef:0xe0,_0x1139e1:0x1ad},_0x2c4d58={_0x1b7ae3:0x462},_0xd246bf={_0x1d6d4f:0x44};function _0x53845f(_0x267a2a,_0x6d897d,_0x1940bc,_0x594c4d){return _0x120580(_0x267a2a- -0x419,_0x1940bc,_0x1940bc-0x5d,_0x594c4d-_0xd246bf._0x1d6d4f);}await _0x2bd9b5(_0x2e790e(_0x5818f4,'..'),{'recursive':!![]});function _0x28920c(_0x400e8,_0x30e5de,_0x55ef47,_0x3e8b9b){return _0x43e84c(_0x400e8-0x190,_0x3e8b9b,_0x55ef47-0xfe,_0x30e5de- -_0x2c4d58._0x1b7ae3);}await _0x41818a(_0x5818f4,JSON[_0x53845f(0x1a8,0x17b,0x2d7,0x2bb)](_0x2f671a,null,0x2),_0x28920c(-0xa4,_0x4d300f._0x2fdd30,_0x4d300f._0x2792ef,_0x4d300f._0x1139e1));}async function updateStore(_0x3ae29b,_0x1fa563){const _0x2ccd23=await readStore(_0x3ae29b);_0x1fa563(_0x2ccd23),await writeStore(_0x3ae29b,_0x2ccd23);}function createMcpOAuthProvider(_0x3fc603){const _0x5ea337={_0x1b5f87:0x76,_0x130378:0x88,_0x17096c:0x8e,_0x5e9fdb:0x195,_0x56b2a4:0x60,_0x108b48:0x345,_0x236bb4:0x386,_0x3f1b36:0x22a,_0x5dc041:0x309,_0x57f792:0x13d,_0x200277:0x300,_0x3c01af:0x176,_0x30e710:0x15b,_0x45c5db:0x8b,_0x5d8b74:0x73},_0x179e84={_0x1b7ff2:0x74,_0x5006c5:0x1b8,_0x4b4b76:0x210,_0x55229c:0x9c,_0xeae4d0:0xd3},_0x139483={_0x1aa51f:0x19c,_0x595123:0x315},_0x178f43={_0x1ebc78:0x1b3},_0x42b7cc={_0x2e45fa:0x57f,_0x1d43d4:0x6f3,_0x2c1593:0x5be},_0x2b34ff={_0x2cb94f:0x49b,_0x1d3959:0x375,_0x44e2ef:0x166,_0x20759c:0x59},_0x43b464={_0x36d429:0x33,_0x2d71f1:0x13,_0x5cb797:0x2cc},_0x3f21d7={_0x27215d:0x3dc,_0x415cea:0x337},_0x17b559={_0x2a6aee:0x397},_0x29525c={_0x46e41e:0x5},_0x28fc5e={_0x3102cd:0x16d,_0x41824b:0x14e},_0x141e42=storagePath(_0x3fc603),_0x26dd98=_0x3fc603['config']['oauth']?.['scopes']?.[_0x2ecce6(-0x133,_0x5ea337._0x1b5f87,_0x5ea337._0x130378,-_0x5ea337._0x17096c)]('\x20'),_0x13d4a2={'client_name':_0x2ecce6(-0x159,-0x122,-0xdd,-0x1e2),'redirect_uris':[_0x3fc603[_0x2ecce6(-_0x5ea337._0x5e9fdb,0x72,-0xb2,-_0x5ea337._0x56b2a4)]],'grant_types':[_0x1922ba(0x342,0x2d2,_0x5ea337._0x108b48,0x2a4),_0x1922ba(0x36a,0x395,0x418,_0x5ea337._0x236bb4)],'response_types':['code'],'token_endpoint_auth_method':'client_secret_post',..._0x26dd98?{'scope':_0x26dd98}:{}};function _0x1922ba(_0x19b947,_0x6da47,_0x57d170,_0x1d0acd){return _0x120580(_0x57d170- -_0x28fc5e._0x3102cd,_0x1d0acd,_0x57d170-_0x28fc5e._0x41824b,_0x1d0acd-0x1ec);}function _0x2ecce6(_0x9f5838,_0x2f5de0,_0x3fa1be,_0x2ef885){return _0x43e84c(_0x9f5838-_0x29525c._0x46e41e,_0x3fa1be,_0x3fa1be-0x1a9,_0x2ef885- -0x505);}return{'clientMetadataUrl':_0x3fc603[_0x1922ba(_0x5ea337._0x3f1b36,0x276,0x279,_0x5ea337._0x5dc041)][_0x1922ba(_0x5ea337._0x57f792,0x198,0x236,_0x5ea337._0x200277)]?.[_0x2ecce6(_0x5ea337._0x3c01af,_0x5ea337._0x30e710,_0x5ea337._0x45c5db,_0x5ea337._0x5d8b74)],get 'redirectUrl'(){function _0x3561fb(_0x518b1b,_0x5d4521,_0x2eba72,_0xebb2b3){return _0x2ecce6(_0x518b1b-0xd4,_0x5d4521-0x5d,_0x2eba72,_0xebb2b3-_0x17b559._0x2a6aee);}return _0x3fc603[_0x3561fb(_0x3f21d7._0x27215d,0x1f1,0x36f,_0x3f21d7._0x415cea)];},get 'clientMetadata'(){return _0x13d4a2;},async 'state'(){const _0x46b21a={_0x1169ac:0x521,_0xf71aa1:0x636},_0x5047d0=await readStore(_0x141e42);function _0x2e3ab1(_0x5cfe0c,_0x1670e4,_0x5bcffc,_0x315c6f){return _0x1922ba(_0x5cfe0c-0x1eb,_0x1670e4-0x69,_0x5cfe0c-0x188,_0x315c6f);}if(_0x5047d0[_0x2e3ab1(0x4ad,0x4d7,_0x2b34ff._0x2cb94f,_0x2b34ff._0x1d3959)])return _0x5047d0[_0x5057bd(_0x2b34ff._0x44e2ef,0x146,-0xe3,_0x2b34ff._0x20759c)];const _0x4c3fd7=randomUUID();function _0x5057bd(_0x3e1b84,_0x59372b,_0x1f8039,_0x3e65f6){return _0x1922ba(_0x3e1b84-_0x43b464._0x36d429,_0x59372b-_0x43b464._0x2d71f1,_0x3e65f6- -_0x43b464._0x5cb797,_0x3e1b84);}return await updateStore(_0x141e42,_0x2c568e=>{const _0x49f7d0={_0x3452ce:0xae};function _0x1cf5d6(_0x2ed80a,_0x160bad,_0xcd4740,_0x145d9f){return _0x2e3ab1(_0x160bad-0x74,_0x160bad-_0x49f7d0._0x3452ce,_0xcd4740-0x1e,_0x2ed80a);}_0x2c568e[_0x1cf5d6(0x4e0,_0x46b21a._0x1169ac,_0x46b21a._0xf71aa1,0x416)]=_0x4c3fd7;}),_0x4c3fd7;},async 'clientInformation'(){const _0x4782c6={_0x5f444d:0x159,_0x803d47:0xf1};function _0x2dcf6b(_0x2cc754,_0x10db22,_0x1f311f,_0x5c6877){return _0x1922ba(_0x2cc754-_0x4782c6._0x5f444d,_0x10db22-0x6b,_0x2cc754-_0x4782c6._0x803d47,_0x5c6877);}return(await readStore(_0x141e42))[_0x2dcf6b(0x3de,0x4ae,0x3c0,0x2f4)];},async 'saveClientInformation'(_0x5d1fbb){const _0x33095f={_0x5a1769:0xd2,_0x1e87e5:0xbd,_0x118742:0x123,_0x358f85:0xbb},_0x5ec476={_0x2be69d:0x30c};await updateStore(_0x141e42,_0x354e4a=>{function _0x164a39(_0x15fd96,_0x461be2,_0x1aabd3,_0x5a5eff){return _0x4f9a(_0x461be2- -_0x5ec476._0x2be69d,_0x1aabd3);}_0x354e4a[_0x164a39(-_0x33095f._0x5a1769,-_0x33095f._0x1e87e5,-_0x33095f._0x118742,-_0x33095f._0x358f85)]=_0x5d1fbb;});},async 'tokens'(){const _0x40cf59={_0x4a25c7:0x3d,_0x45412c:0x6c5};function _0x3b2a95(_0x10d332,_0x5f3d97,_0x2b30c6,_0xfb3bcd){return _0x2ecce6(_0x10d332-_0x40cf59._0x4a25c7,_0x5f3d97-0x1c0,_0x2b30c6,_0xfb3bcd-_0x40cf59._0x45412c);}return(await readStore(_0x141e42))[_0x3b2a95(_0x42b7cc._0x2e45fa,_0x42b7cc._0x1d43d4,_0x42b7cc._0x2c1593,0x629)];},async 'saveTokens'(_0x30d208){const _0x51c8b1={_0x524490:0x35c,_0x5bedcc:0x3a3};await updateStore(_0x141e42,_0x2576e9=>{const _0x23b24e={_0x59a676:0x5f};function _0x2cba82(_0x27a0c4,_0x1fb21e,_0x2a6c35,_0x14404a){return _0x4f9a(_0x14404a- -_0x23b24e._0x59a676,_0x27a0c4);}_0x2576e9[_0x2cba82(_0x51c8b1._0x524490,0x3b6,_0x51c8b1._0x5bedcc,0x2a3)]=_0x30d208;});},async 'redirectToAuthorization'(_0x4dd18f){await _0x3fc603['onRedirect'](_0x4dd18f);},async 'saveCodeVerifier'(_0x1aca08){await updateStore(_0x141e42,_0x318dba=>{const _0x41f7ce={_0x32b752:0x168};function _0x39706b(_0x2ad4dc,_0xfdcca0,_0x462d1d,_0x1e20e6){return _0x4f9a(_0x2ad4dc- -_0x41f7ce._0x32b752,_0x1e20e6);}_0x318dba[_0x39706b(_0x178f43._0x1ebc78,0x109,0x239,0x13b)]=_0x1aca08;});},async 'codeVerifier'(){const _0x22dd19={_0x496633:0x179,_0xf8dbe1:0x1bb};function _0x11db43(_0x5ef550,_0x58ec1f,_0x241a80,_0x2c6f41){return _0x2ecce6(_0x5ef550-0x111,_0x58ec1f-_0x22dd19._0x496633,_0x58ec1f,_0x2c6f41-_0x22dd19._0xf8dbe1);}const _0x1e6707=(await readStore(_0x141e42))[_0x382e8f(-0x44,_0x179e84._0x1b7ff2,0xa4,_0x179e84._0x5006c5)];if(!_0x1e6707)throw new Error(_0x382e8f(-_0x179e84._0x4b4b76,-_0x179e84._0x55229c,-_0x179e84._0xeae4d0,-0x17b));function _0x382e8f(_0x221ba6,_0x3da777,_0x299e25,_0x3cc954){return _0x1922ba(_0x221ba6-0x5c,_0x3da777-_0x139483._0x1aa51f,_0x299e25- -_0x139483._0x595123,_0x3da777);}return _0x1e6707;},async 'invalidateCredentials'(_0x282f12){const _0x203232={_0x56c75d:0x696,_0x4a2141:0x45,_0x5047fa:0x151,_0x3b9c50:0x137,_0x3cfce0:0x642,_0x18ae74:0x5f4,_0x26af2d:0x64e,_0x19d94f:0x5e6,_0x509aa7:0x594,_0x8f4319:0x76,_0x319138:0x642,_0x310bb3:0x657,_0x2fcefb:0x693,_0x3e3b0c:0x578,_0x2b559b:0x67,_0x1fab83:0x642,_0x192baa:0x5d6,_0x402fb3:0x678,_0x568d80:0x32,_0x8a138d:0x5d,_0x37fa5a:0x25b};await updateStore(_0x141e42,_0x2786ae=>{const _0x95b417={_0x356629:0x156};function _0x4b88e9(_0x35c67a,_0x2a40e7,_0x5eb7eb,_0x449337){return _0x4f9a(_0x2a40e7- -_0x95b417._0x356629,_0x35c67a);}(_0x282f12==='all'||_0x282f12===_0xa38744(0x605,0x541,0x72f,_0x203232._0x56c75d))&&(_0x2786ae[_0x4b88e9(_0x203232._0x4a2141,0xf9,_0x203232._0x5047fa,_0x203232._0x3b9c50)]=void 0x0);function _0xa38744(_0x26a522,_0x428d79,_0x29d79c,_0x170c88){return _0x4f9a(_0x26a522-0x378,_0x428d79);}(_0x282f12===_0xa38744(_0x203232._0x3cfce0,_0x203232._0x18ae74,_0x203232._0x26af2d,0x74b)||_0x282f12===_0xa38744(0x67a,_0x203232._0x19d94f,_0x203232._0x509aa7,0x69e))&&(_0x2786ae[_0x4b88e9(0x108,0x1ac,_0x203232._0x8f4319,0xfb)]=void 0x0),(_0x282f12===_0xa38744(_0x203232._0x319138,0x719,0x712,_0x203232._0x310bb3)||_0x282f12==='verifier')&&(_0x2786ae[_0xa38744(_0x203232._0x2fcefb,_0x203232._0x3e3b0c,0x7d0,0x72e)]=void 0x0,_0x2786ae[_0x4b88e9(_0x203232._0x2b559b,0x131,0x25e,0x1a1)]=void 0x0),(_0x282f12===_0xa38744(_0x203232._0x1fab83,0x77a,_0x203232._0x192baa,_0x203232._0x402fb3)||_0x282f12===_0x4b88e9(_0x203232._0x568d80,_0x203232._0x8a138d,0x51,0xf8))&&(_0x2786ae[_0x4b88e9(0x34,0x156,_0x203232._0x37fa5a,0x212)]=void 0x0);});},async 'saveDiscoveryState'(_0x5474a7){const _0x49ab31={_0xc9eb17:0xb8,_0x1f34af:0x12f,_0x21f413:0x11a},_0x496e92={_0x2983e3:0x3db};await updateStore(_0x141e42,_0x50624f=>{function _0x239a9c(_0x40f4d4,_0xc45dfd,_0x33b0f6,_0xbe2a6f){return _0x4f9a(_0x33b0f6- -_0x496e92._0x2983e3,_0xc45dfd);}_0x50624f[_0x239a9c(-0x1ac,-_0x49ab31._0xc9eb17,-_0x49ab31._0x1f34af,-_0x49ab31._0x21f413)]=_0x5474a7;});},async 'discoveryState'(){return(await readStore(_0x141e42))['discoveryState'];}};}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';function createMcpToolName(_0x56bf93,_0x1924d5){const _0x55f231={_0x5241c5:0x54c,_0xa9d739:0x120,_0x147d9e:0xf4},_0xbf87ba={_0x2f3c04:0x6e,_0x288dc7:0x18b};function _0x53339c(_0x5b998b,_0x3398ef,_0x1eb585,_0x5bd2eb){return _0x120580(_0x1eb585-_0xbf87ba._0x2f3c04,_0x5b998b,_0x1eb585-_0xbf87ba._0x288dc7,_0x5bd2eb-0xd);}const _0x4bd274=_0x3c648c=>_0x3c648c[_0x53339c(0x4c8,0x5c3,0x4e6,0x3aa)](/[^a-zA-Z0-9_]+/g,'_')[_0x1175ad(-0xac,-0xdf,-0xd4,-0x9d)](/^_+|_+$/g,'');function _0x1175ad(_0x5129e9,_0x1388b9,_0x4edd52,_0x526a10){return _0x120580(_0x4edd52- -_0x55f231._0x5241c5,_0x5129e9,_0x4edd52-_0x55f231._0xa9d739,_0x526a10-_0x55f231._0x147d9e);}return'mcp_'+_0x4bd274(_0x56bf93)+'_'+_0x4bd274(_0x1924d5);}function isObject(_0x4b80c0){const _0x1e3bbb={_0x20660b:0x584,_0x36eb10:0x4f4,_0xe553ad:0x552},_0x3b3eba={_0x126bbf:0x107};function _0x479278(_0x3a9dbe,_0x301530,_0x3387ed,_0x5353d1){return _0x120580(_0x301530- -_0x3b3eba._0x126bbf,_0x3387ed,_0x3387ed-0x157,_0x5353d1-0x144);}return typeof _0x4b80c0===_0x479278(_0x1e3bbb._0x20660b,_0x1e3bbb._0x36eb10,_0x1e3bbb._0xe553ad,0x4bf)&&_0x4b80c0!==null&&!Array['isArray'](_0x4b80c0);}function toSupportedSchema(_0x2a6cfe){const _0x597c33={_0x413bcf:0x5b0,_0xc4edc2:0x56f,_0x430327:0x4b2,_0x14c163:0x654,_0x412b6f:0x616,_0x1650fa:0x57a,_0x2972fc:0x69d,_0x367adc:0x62d,_0xc24c1f:0x36a,_0x285ec2:0x3bf,_0x5f51d1:0x463,_0x3aee51:0x3dd,_0x3201f3:0x429,_0x2948c4:0x576,_0x351129:0x6e2,_0xac3514:0x66c,_0x4cef31:0x3a8,_0x2d7b3b:0x46f,_0x1b1010:0x330,_0x16fdc4:0x3b7,_0x59a3fb:0x4a2,_0x158a61:0x474,_0x4d8611:0x448,_0x4cbcb9:0x483,_0x2c3b12:0x4f8,_0x27db79:0x4eb,_0x4d61b1:0x3ce,_0x4f5633:0x4c6,_0x5ed4b0:0x455,_0x5e3af8:0x55c,_0x13a5e2:0x4c9},_0x53463d={_0x3c196e:0x177};if(!isObject(_0x2a6cfe))return void 0x0;function _0xf60a4f(_0x3c2217,_0x586d8b,_0x3bedac,_0x8d3c4a){return _0x43e84c(_0x3c2217-0x18a,_0x3c2217,_0x3bedac-0x107,_0x8d3c4a- -0x8e);}if(_0x2a6cfe['type']===_0x3a1d92(_0x597c33._0x413bcf,0x62d,_0x597c33._0xc4edc2,_0x597c33._0x430327))return{'type':'string'};if(_0x2a6cfe[_0x3a1d92(_0x597c33._0x14c163,_0x597c33._0x412b6f,0x66c,0x54a)]===_0x3a1d92(_0x597c33._0x1650fa,_0x597c33._0x2972fc,_0x597c33._0x367adc,0x6e3)||_0x2a6cfe['type']===_0xf60a4f(_0x597c33._0xc24c1f,_0x597c33._0x285ec2,_0x597c33._0x5f51d1,_0x597c33._0x3aee51))return{'type':_0xf60a4f(0x3ec,0x449,_0x597c33._0x3201f3,0x480)};if(_0x2a6cfe[_0x3a1d92(_0x597c33._0x2948c4,_0x597c33._0x351129,_0x597c33._0xac3514,0x5bc)]===_0xf60a4f(0x1d6,_0x597c33._0x4cef31,0x25b,0x2c2))return{'type':_0x3a1d92(0x560,0x580,_0x597c33._0x2d7b3b,_0x597c33._0x1b1010)};if(_0x2a6cfe[_0x3a1d92(0x674,0x650,0x66c,0x641)]===_0xf60a4f(_0x597c33._0x16fdc4,0x493,0x310,0x3ff))return{'type':_0x3a1d92(_0x597c33._0x59a3fb,0x4e1,0x5ac,_0x597c33._0x2948c4),'items':toSupportedSchema(_0x2a6cfe[_0xf60a4f(_0x597c33._0x158a61,0x479,_0x597c33._0x4d8611,0x384)])??{'type':_0x3a1d92(0x557,_0x597c33._0x4cbcb9,0x56f,_0x597c33._0x2c3b12)}};if(_0x2a6cfe[_0xf60a4f(0x5ed,_0x597c33._0x27db79,_0x597c33._0x4d61b1,0x4bf)]===_0xf60a4f(_0x597c33._0x4f5633,_0x597c33._0x5ed4b0,_0x597c33._0x5e3af8,_0x597c33._0x13a5e2))return toNuvinToolSchema(_0x2a6cfe);function _0x3a1d92(_0x2c596f,_0x48206f,_0x60844d,_0x5ad000){return _0x43e84c(_0x2c596f-_0x53463d._0x3c196e,_0x2c596f,_0x60844d-0x170,_0x60844d-0x11f);}return void 0x0;}function toNuvinToolSchema(_0x3b549a){const _0x3c0502={_0x4aaa20:0x6ae,_0x425045:0x8ee,_0x260612:0x7f9,_0x483e23:0x69e,_0x3909b2:0x62a,_0x59a88a:0x5f9,_0x282683:0x5f6,_0x1279ce:0x58f,_0xee72a:0x5f8,_0x92c0e2:0x47c,_0xbc50de:0x760,_0x45d026:0x59f,_0x337f95:0x663,_0x3b9d73:0x4cd},_0x1d653c={_0x1cc005:0x1af,_0x393542:0x20},_0x30aab7={_0x549a4f:0x28,_0x480f86:0x3b,_0x57d4f1:0x25};function _0x3a4782(_0xfa9340,_0xa19d10,_0x397875,_0x50194f){return _0x120580(_0xfa9340-_0x30aab7._0x549a4f,_0x397875,_0x397875-_0x30aab7._0x480f86,_0x50194f-_0x30aab7._0x57d4f1);}if(!isObject(_0x3b549a)||_0x3b549a['type']!==_0x590c55(_0x3c0502._0x4aaa20,0x7aa,0x6a4,_0x3c0502._0x425045))return{'type':_0x590c55(0x669,0x7aa,_0x3c0502._0x260612,_0x3c0502._0x483e23),'properties':{}};function _0x590c55(_0x304777,_0x2dbfae,_0x5c7fef,_0x565822){return _0x120580(_0x2dbfae-_0x1d653c._0x1cc005,_0x304777,_0x5c7fef-0x1e8,_0x565822-_0x1d653c._0x393542);}const _0x142f4b={},_0x39a7d8=isObject(_0x3b549a[_0x3a4782(0x425,0x539,0x532,0x2f4)])?_0x3b549a[_0x590c55(0x47a,0x5ac,0x653,0x625)]:{};for(const [_0x327329,_0x1f75be]of Object[_0x590c55(_0x3c0502._0x3909b2,_0x3c0502._0x59a88a,_0x3c0502._0x282683,0x4f0)](_0x39a7d8)){const _0x139c2c=toSupportedSchema(_0x1f75be);if(_0x139c2c)_0x142f4b[_0x327329]=_0x139c2c;}const _0xadc201=Array['isArray'](_0x3b549a['required'])?_0x3b549a[_0x3a4782(_0x3c0502._0x1279ce,_0x3c0502._0xee72a,0x664,_0x3c0502._0x92c0e2)][_0x590c55(0x76c,0x6ae,_0x3c0502._0xbc50de,0x5e2)](_0x3294cb=>typeof _0x3294cb===_0x3a4782(0x51c,0x4a1,0x4a0,0x5b0)):void 0x0;return _0xadc201?.[_0x3a4782(_0x3c0502._0x45d026,_0x3c0502._0x337f95,0x4da,_0x3c0502._0x3b9d73)]?{'type':'object','properties':_0x142f4b,'required':_0xadc201}:{'type':'object','properties':_0x142f4b};}function isJsonObject(_0x29774b){const _0x111a8b={_0x2f39eb:0x463,_0x4d615a:0x4b4,_0x5bac07:0xa9},_0x5bc54f={_0x21acb1:0x99,_0x59b0dc:0x3b,_0x1e0cb3:0xa3},_0x5f3ca6={_0x45cdaa:0x193,_0x1ed90e:0xa0,_0x4ca5e1:0x427};function _0x1fd551(_0x3a4788,_0x5960b1,_0x3419ea,_0x55a031){return _0x43e84c(_0x3a4788-_0x5f3ca6._0x45cdaa,_0x55a031,_0x3419ea-_0x5f3ca6._0x1ed90e,_0x3419ea- -_0x5f3ca6._0x4ca5e1);}function _0xf84d9(_0x1ab334,_0x3c011f,_0x15cba4,_0x9f853b){return _0x43e84c(_0x1ab334-_0x5bc54f._0x21acb1,_0x15cba4,_0x15cba4-_0x5bc54f._0x59b0dc,_0x3c011f- -_0x5bc54f._0x1e0cb3);}return typeof _0x29774b===_0xf84d9(_0x111a8b._0x2f39eb,_0x111a8b._0x4d615a,0x41e,0x57d)&&_0x29774b!==null&&!Array[_0x1fd551(-0x2f,0x1ed,_0x111a8b._0x5bac07,0x1b3)](_0x29774b);}function formatMcpContent(_0x66b216){const _0x15b3f9={_0x141ffc:0x8c,_0x349a8d:0x10e,_0x520a88:0x4b7,_0x427e39:0x4fd,_0x489232:0x3c1,_0x46265b:0x453,_0x96e817:0x413,_0x37b6b5:0x46f,_0x23ebb9:0x387,_0x1c1a55:0x42c,_0x1908b4:0x4cb,_0x3a7e55:0x4ea,_0x14426c:0x46,_0x4bc1fa:0x15e,_0x1ba553:0x189},_0xc38626={_0x49fb95:0xac,_0x79a34d:0x115,_0x82667c:0x37},_0x429100={_0x38240e:0x10b,_0x2d6bbb:0x394},_0xc979c7={_0xf1f908:0x507,_0xa15e7c:0x4b4,_0x43fd22:0x440,_0x23bd0d:0x5cb,_0x1042a2:0x55b},_0x4e427c={_0x27e5ac:0xe5,_0x154c4a:0x123,_0x2d4d4a:0x34e},_0x686dc9={_0x499925:0x5b,_0x598c66:0x1a6},_0x59fc70=Array[_0xe0c1fd(_0x15b3f9._0x141ffc,0xf1,_0x15b3f9._0x349a8d,0x13c)](_0x66b216[_0x17640e(0x602,_0x15b3f9._0x520a88,0x4e8,_0x15b3f9._0x427e39)])?_0x66b216['content']:[],_0x130ae6=_0x59fc70['map'](_0x24bf7c=>{if(!isObject(_0x24bf7c))return'';function _0x39031f(_0x52dae3,_0x217333,_0x56d34d,_0x1ef2f7){return _0x17640e(_0x52dae3-_0x686dc9._0x499925,_0x1ef2f7,_0x56d34d-_0x686dc9._0x598c66,_0x1ef2f7-0x1cb);}function _0x5477e5(_0x5366ae,_0x206459,_0x76404e,_0x47766e){return _0xe0c1fd(_0x5366ae-_0x4e427c._0x27e5ac,_0x76404e,_0x76404e-_0x4e427c._0x154c4a,_0x206459-_0x4e427c._0x2d4d4a);}if(_0x24bf7c[_0x5477e5(0x3f7,_0xc979c7._0xf1f908,0x53e,_0xc979c7._0xa15e7c)]==='text'&&typeof _0x24bf7c['text']==='string')return _0x24bf7c[_0x39031f(_0xc979c7._0x43fd22,_0xc979c7._0x23bd0d,_0xc979c7._0x1042a2,0x682)];return JSON['stringify'](_0x24bf7c);})[_0x17640e(0x4d6,_0x15b3f9._0x489232,_0x15b3f9._0x46265b,_0x15b3f9._0x96e817)](_0x1cac05=>_0x1cac05[_0x17640e(0x3d5,0x523,0x4cb,0x429)]>0x0)[_0x17640e(0x353,0x5a6,_0x15b3f9._0x37b6b5,_0x15b3f9._0x23ebb9)]('\x0a');function _0xe0c1fd(_0x20df28,_0x2b9c4e,_0x22b70c,_0x588ef6){return _0x43e84c(_0x20df28-0xd,_0x2b9c4e,_0x22b70c-_0x429100._0x38240e,_0x588ef6- -_0x429100._0x2d6bbb);}function _0x17640e(_0x29e3c3,_0x187269,_0x2a4401,_0x3c5eb4){return _0x120580(_0x2a4401- -_0xc38626._0x49fb95,_0x187269,_0x2a4401-_0xc38626._0x79a34d,_0x3c5eb4-_0xc38626._0x82667c);}if(_0x130ae6[_0x17640e(0x5e0,_0x15b3f9._0x1c1a55,_0x15b3f9._0x1908b4,_0x15b3f9._0x3a7e55)]>0x0)return _0x130ae6;return JSON[_0xe0c1fd(0x14e,_0x15b3f9._0x14426c,_0x15b3f9._0x4bc1fa,_0x15b3f9._0x1ba553)](_0x66b216,null,0x2);}function createMcpTool(_0x5b6ace){const _0xd55d8e={_0x2f2a1b:0xda,_0x4587d5:0x8f,_0x331acf:0x15d,_0x71910e:0x7b,_0x13d146:0x15d,_0x30783e:0xf8,_0x313071:0x18f,_0x4e32dd:0x25,_0xdf869:0xd1,_0x38994f:0xa2,_0x3abe46:0xa9,_0x1ba8d4:0xe8,_0x33e919:0x197,_0x4b9d2e:0x20a,_0x5aadee:0x1c7,_0x124660:0xe8},_0x3ea7f6={_0x14d282:0x47e,_0x3f25d1:0x582,_0x4c5392:0x157,_0x348455:0x8a,_0x1caed8:0x2b,_0x1b9b9b:0x5a6,_0x3e3ac3:0x1d2,_0x140994:0xe5,_0x10f80f:0x62,_0x5edfd0:0x54a,_0x5e136a:0x42f,_0x5f31c7:0x523,_0x4d6654:0x55f,_0x157e7b:0xe5,_0x13d807:0x27,_0x271fb6:0x6d},_0x442ccf={_0x3db3fb:0x38,_0xbf2e:0x15f,_0xfffa52:0x1a1},_0xe23e6b={_0x2cc397:0x3e1,_0x448b8d:0x41};function _0x41935d(_0xf92206,_0x31fec8,_0x49ce7e,_0x3a3c90){return _0x43e84c(_0xf92206-0xa2,_0x3a3c90,_0x49ce7e-0x27,_0x31fec8- -0x4d5);}const _0x5d2fb9=createMcpToolName(_0x5b6ace[_0x41935d(0x178,0x72,0xc9,0x18c)],_0x5b6ace[_0x52cb9(0x15d,_0xd55d8e._0x2f2a1b,_0xd55d8e._0x4587d5,_0xd55d8e._0x331acf)][_0x41935d(0x72,-_0xd55d8e._0x71910e,-0x1ae,-0x189)]);function _0x52cb9(_0x21a23c,_0x46e7cb,_0x5c311c,_0x11fb7e){return _0x120580(_0x21a23c- -_0xe23e6b._0x2cc397,_0x11fb7e,_0x5c311c-0x198,_0x11fb7e-_0xe23e6b._0x448b8d);}return defineTool({'name':_0x5d2fb9,'description':_0x5b6ace[_0x52cb9(_0xd55d8e._0x13d146,0x1e4,0x76,0x2d)][_0x41935d(_0xd55d8e._0x30783e,0x54,_0xd55d8e._0x313071,0xc5)]??_0x52cb9(-_0xd55d8e._0x4e32dd,_0xd55d8e._0xdf869,-0x6d,-_0xd55d8e._0x38994f)+_0x5b6ace[_0x41935d(-_0xd55d8e._0x3abe46,-0x3b,-0x180,0x102)][_0x41935d(0xa9,-0x7b,0x16,-0x1d)]+_0x41935d(-_0xd55d8e._0x1ba8d4,-0x165,-0x173,-_0xd55d8e._0x33e919)+_0x5b6ace[_0x52cb9(_0xd55d8e._0x4b9d2e,_0xd55d8e._0x5aadee,_0xd55d8e._0x124660,0x320)],'inputSchema':toNuvinToolSchema(_0x5b6ace['tool']['inputSchema']),async *'execute'(_0x257ede){const _0x5d3cc4={_0x5149bd:0x1c4,_0x224887:0x55e,_0x24875a:0x11a},_0x224397=await _0x5b6ace['client'][_0x3d0e93(_0x3ea7f6._0x14d282,0x5a5,_0x3ea7f6._0x3f25d1,0x630)]({'name':_0x5b6ace[_0x9d4d5e(0x125,_0x3ea7f6._0x4c5392,_0x3ea7f6._0x348455,_0x3ea7f6._0x1caed8)][_0x3d0e93(_0x3ea7f6._0x1b9b9b,0x546,0x4e3,0x579)],'arguments':isJsonObject(_0x257ede)?_0x257ede:{}});function _0x9d4d5e(_0x48571e,_0x286a89,_0x565793,_0x46f1c4){return _0x52cb9(_0x48571e- -_0x442ccf._0x3db3fb,_0x286a89-_0x442ccf._0xbf2e,_0x565793-_0x442ccf._0xfffa52,_0x565793);}function _0x3d0e93(_0x275b0e,_0x468f28,_0x2fc4bb,_0x2227a6){return _0x41935d(_0x275b0e-_0x5d3cc4._0x5149bd,_0x2fc4bb-_0x5d3cc4._0x224887,_0x2fc4bb-_0x5d3cc4._0x24875a,_0x468f28);}if(_0x224397['isError'])throw new ToolExecutionError(formatMcpContent(_0x224397),{'serverName':_0x5b6ace[_0x9d4d5e(_0x3ea7f6._0x3e3ac3,0x30b,0x2b0,0xcb)],'toolName':_0x5b6ace['tool'][_0x9d4d5e(_0x3ea7f6._0x140994,0x156,_0x3ea7f6._0x10f80f,0x1d2)]});return yield createToolOutput(formatMcpContent(_0x224397),{'serverName':_0x5b6ace[_0x9d4d5e(0x1d2,0xce,0x1df,0x287)],'toolName':_0x5b6ace[_0x3d0e93(_0x3ea7f6._0x5edfd0,_0x3ea7f6._0x5e136a,_0x3ea7f6._0x5f31c7,_0x3ea7f6._0x4d6654)][_0x9d4d5e(_0x3ea7f6._0x157e7b,_0x3ea7f6._0x13d807,_0x3ea7f6._0x271fb6,0x152)],'result':_0x224397}),void 0x0;}});}function resolvePrefix(_0x18bba1,_0x1ec50a){const _0x279ca0={_0xf11617:0x38,_0x1a2fc2:0x1bd},_0x37444b={_0x46b836:0x249};function _0x3df9db(_0x5a60ac,_0x346a54,_0x8c2cec,_0x40c6e2){return _0x43e84c(_0x5a60ac-0x3f,_0x346a54,_0x8c2cec-0xac,_0x5a60ac- -_0x37444b._0x46b836);}return _0x1ec50a[_0x3df9db(0x16b,0x201,_0x279ca0._0xf11617,_0x279ca0._0x1a2fc2)]??_0x18bba1;}function buildMcpHttpHeaders(_0x4a006e){const _0x5b2421={_0x1197a6:0x3e7,_0x308a64:0x449,_0xe32d1:0x3f8,_0x282a49:0x344,_0x190a8d:0x225,_0x3a7d1e:0x198,_0x16107c:0x29b,_0x4e8349:0x3d1,_0x424d86:0x28c,_0x1afc6b:0x2be,_0xa0ed63:0x22e,_0xf7f531:0x262,_0x40c2f0:0x3bc,_0x2c06ef:0x2cb,_0x44841d:0x3b0,_0xc55df5:0x3d3,_0x17282b:0x4de,_0x14476e:0x3cf,_0x26afce:0x1cb,_0x45ef81:0x2d0,_0x597090:0x2ca},_0x240c78={_0x47cfc3:0x2ad},_0x222d52={_0x4e5c11:0x1ce,_0xc44da:0x102,_0x208f80:0x80},_0x4c3f9d={..._0x4a006e[_0x231023(_0x5b2421._0x1197a6,0x463,0x3d3,_0x5b2421._0x308a64)]??{}};function _0x231023(_0x5b66c3,_0x4c468e,_0x11d487,_0x28e704){return _0x120580(_0x5b66c3- -_0x222d52._0x4e5c11,_0x11d487,_0x11d487-_0x222d52._0xc44da,_0x28e704-_0x222d52._0x208f80);}_0x4a006e[_0x310ac3(0x3c4,0x231,0x391,0x2dd)]?.[_0x310ac3(0x3dd,_0x5b2421._0xe32d1,0x2b3,_0x5b2421._0x282a49)]===_0x231023(0x261,0x183,_0x5b2421._0x190a8d,_0x5b2421._0x3a7d1e)&&_0x4a006e[_0x310ac3(0x1ec,0x2de,_0x5b2421._0x16107c,0x2dd)][_0x231023(0x2bb,0x2a0,_0x5b2421._0x4e8349,0x3cb)]&&_0x4c3f9d['Authorization']===void 0x0&&(_0x4c3f9d[_0x310ac3(0x1ab,_0x5b2421._0x424d86,0x2a0,_0x5b2421._0x1afc6b)]=_0x231023(0x1fc,0x22c,_0x5b2421._0xa0ed63,_0x5b2421._0xf7f531)+_0x4a006e[_0x231023(_0x5b2421._0x40c2f0,0x4cc,0x3bd,_0x5b2421._0x2c06ef)]['token']);function _0x310ac3(_0x241071,_0x43b948,_0x4d603e,_0x96b19b){return _0x120580(_0x96b19b- -_0x240c78._0x47cfc3,_0x43b948,_0x4d603e-0xdd,_0x96b19b-0x181);}return Object[_0x231023(_0x5b2421._0x44841d,_0x5b2421._0xc55df5,_0x5b2421._0x17282b,_0x5b2421._0x14476e)](_0x4c3f9d)[_0x310ac3(0x2c5,_0x5b2421._0x26afce,_0x5b2421._0x45ef81,_0x5b2421._0x597090)]>0x0?_0x4c3f9d:void 0x0;}function getErrorMessage(_0x4bc7d9){const _0x1016ff={_0x7adb69:0x2ac};function _0x316f66(_0x14274c,_0x3252f6,_0x2df1b6,_0x3c3ed7){return _0x120580(_0x14274c- -0x3b2,_0x2df1b6,_0x2df1b6-0x183,_0x3c3ed7-0xd7);}return _0x4bc7d9 instanceof Error?_0x4bc7d9[_0x316f66(0x175,_0x1016ff._0x7adb69,0x26b,0x90)]:String(_0x4bc7d9);}function isUnauthorizedError(_0x2c2018){const _0x2d6c11={_0x10d9fd:0x315,_0x24be7b:0x206,_0xc8b2bb:0x262,_0x1c30d2:0x188,_0xcaebec:0x5,_0xe8592c:0x11f,_0x472066:0x232},_0x55a878={_0x1f9c23:0x376,_0x336b1f:0x144},_0x9e13a5={_0x2d53f6:0x2be,_0x53cf24:0x8f,_0x7a6eb8:0x113};function _0x11a316(_0x27d9cd,_0x17cff8,_0x35677b,_0x49acda){return _0x120580(_0x17cff8- -_0x9e13a5._0x2d53f6,_0x27d9cd,_0x35677b-_0x9e13a5._0x53cf24,_0x49acda-_0x9e13a5._0x7a6eb8);}function _0x4524c3(_0x4b5da5,_0x425c3f,_0x2d70c9,_0x557b81){return _0x120580(_0x557b81- -_0x55a878._0x1f9c23,_0x425c3f,_0x2d70c9-0x1ab,_0x557b81-_0x55a878._0x336b1f);}return _0x2c2018 instanceof Error&&_0x2c2018[_0x11a316(_0x2d6c11._0x10d9fd,_0x2d6c11._0x24be7b,_0x2d6c11._0xc8b2bb,0x230)][_0x4524c3(0x1b5,0x20d,0x1d1,_0x2d6c11._0x1c30d2)]===_0x11a316(_0x2d6c11._0xcaebec,_0x2d6c11._0xe8592c,_0x2d6c11._0x472066,0x17b);}async function connectMcpServer(_0x46400a,_0x3416a8,_0x191205){const _0x4b0226={_0x9e2320:0x6f1,_0x5bde00:0x45c,_0x30fb61:0x33d,_0x36aa47:0x7b0,_0x557670:0x6dc,_0x3bc805:0x3eb,_0x4b4669:0x2dd,_0x20858b:0x424,_0x4e6baa:0x464,_0x17af13:0x361,_0x4da971:0x4d1,_0x5ce888:0x216,_0x41943f:0x199,_0xcc7183:0x5ad,_0x4c9f03:0x4b7,_0x163e7d:0x7f8,_0x284eba:0x6ea,_0x330f3c:0x65e,_0x1424ff:0x6f9,_0x49fa6a:0x751,_0x36dbec:0x12c,_0x333776:0x147,_0x5d09af:0x17f,_0x34e453:0x550,_0x4d2c68:0x632,_0x35cdf6:0x503,_0x361c71:0x3bc,_0xbfba21:0x2be,_0x36d5e3:0x483,_0x261871:0x170,_0x1a39cf:0x218,_0x38eb24:0x648,_0x55df8e:0x78a,_0x1e182c:0x814,_0x258b21:0x80d,_0x3f3dff:0x83d,_0x1e494b:0x362,_0x293d3c:0x34b,_0x2a77e6:0x2d2,_0x188298:0x8a6,_0x58efea:0x888,_0x308046:0x783,_0x5e809a:0x65c,_0x29fd28:0x2d9,_0x304acf:0x3d9,_0x21bce2:0x82d,_0x401a30:0x652},_0x56b81f={_0xfcc2a6:0x619,_0x12e5b2:0x603,_0x460627:0x75d,_0x123522:0x6aa},_0x53eb0c={_0x5749a5:0x109},_0x364760={_0x488892:0x14a},_0x3c6567={_0x587b0e:0x4ba,_0x220de2:0x683},_0x55832e={_0x1eb389:0x125,_0xe5e1af:0x65},_0x5d2a6a={_0x5dd9fc:0x160,_0x530adf:0x9e,_0x3c3267:0x179};function _0x4c8a71(_0x345b18,_0x34b3eb,_0x35f53c,_0x2ebb3d){return _0x120580(_0x2ebb3d-_0x5d2a6a._0x5dd9fc,_0x35f53c,_0x35f53c-_0x5d2a6a._0x530adf,_0x2ebb3d-_0x5d2a6a._0x3c3267);}const _0x313443=new Client({'name':_0x4c8a71(0x6f1,0x56d,_0x4b0226._0x9e2320,0x664),'version':'0.0.0'});if(_0x3416a8['transport']==='http'||_0x3416a8['url']){if(!_0x3416a8[_0x19e407(_0x4b0226._0x5bde00,0x4ff,0x4a2,_0x4b0226._0x30fb61)])throw new Error('MCP\x20server\x20'+_0x46400a+_0x4c8a71(_0x4b0226._0x36aa47,_0x4b0226._0x557670,0x794,0x754));if(_0x3416a8[_0x19e407(0x3fd,_0x4b0226._0x3bc805,_0x4b0226._0x4b4669,_0x4b0226._0x20858b)]?.[_0x19e407(_0x4b0226._0x4e6baa,_0x4b0226._0x17af13,0x4d5,_0x4b0226._0x4da971)]===_0x19e407(_0x4b0226._0x5ce888,_0x4b0226._0x41943f,0x257,0x33f)&&!_0x191205?.[_0x4c8a71(0x543,_0x4b0226._0xcc7183,0x47a,0x503)])throw new Error(_0x4c8a71(0x556,0x578,_0x4b0226._0x4c9f03,0x5da)+_0x46400a+'\x20requires\x20OAuth\x20connection\x20options');const _0x1db308=buildMcpHttpHeaders(_0x3416a8),_0x27de37=_0x3416a8[_0x4c8a71(_0x4b0226._0x163e7d,0x6b8,0x5a7,_0x4b0226._0x284eba)]?.[_0x4c8a71(0x72b,_0x4b0226._0x330f3c,_0x4b0226._0x1424ff,_0x4b0226._0x49fa6a)]===_0x19e407(0x216,0x1cb,0x23e,_0x4b0226._0x36dbec)&&_0x191205?.[_0x19e407(_0x4b0226._0x5ce888,_0x4b0226._0x333776,0x340,_0x4b0226._0x5d09af)]?createMcpOAuthProvider({'serverName':_0x46400a,'callbackUrl':_0x191205[_0x4c8a71(0x60f,_0x4b0226._0x34e453,_0x4b0226._0x4d2c68,_0x4b0226._0x35cdf6)][_0x19e407(_0x4b0226._0x361c71,_0x4b0226._0xbfba21,0x41d,_0x4b0226._0x36d5e3)],'storageDir':_0x191205[_0x19e407(0x216,_0x4b0226._0x261871,_0x4b0226._0x1a39cf,0x194)][_0x4c8a71(0x74a,0x6ac,_0x4b0226._0x38eb24,_0x4b0226._0x55df8e)],'config':_0x3416a8['auth'],'onRedirect':_0x415911=>_0x191205[_0x19e407(0x216,0x327,0x1c1,0x19c)]?.['onRedirect'](_0x46400a,_0x415911)}):void 0x0,_0x32f839=new StreamableHTTPClientTransport(new URL(_0x3416a8[_0x4c8a71(_0x4b0226._0x1e182c,_0x4b0226._0x258b21,_0x4b0226._0x3f3dff,0x749)]),{'authProvider':_0x27de37,'requestInit':_0x1db308?{'headers':_0x1db308}:void 0x0});await _0x313443[_0x19e407(0x457,0x4a7,0x47a,_0x4b0226._0x1e494b)](_0x32f839);}else{if(!_0x3416a8[_0x19e407(0x36e,_0x4b0226._0x293d3c,0x2e8,_0x4b0226._0x2a77e6)])throw new Error('MCP\x20server\x20'+_0x46400a+_0x4c8a71(_0x4b0226._0x188298,0x8ad,_0x4b0226._0x58efea,_0x4b0226._0x308046));const _0x2c7a8b=new StdioClientTransport({'command':_0x3416a8['command'],'args':_0x3416a8[_0x4c8a71(0x466,_0x4b0226._0x5e809a,0x4be,0x5a1)]??[],'env':_0x3416a8[_0x19e407(0x34d,_0x4b0226._0x29fd28,0x3fc,_0x4b0226._0x304acf)],'stderr':'pipe'});await _0x313443[_0x4c8a71(_0x4b0226._0x21bce2,0x69d,_0x4b0226._0x401a30,0x744)](_0x2c7a8b);}function _0x19e407(_0x3960fe,_0x4bbfa9,_0x43b33b,_0x3d6814){return _0x120580(_0x3960fe- -0x18d,_0x3d6814,_0x43b33b-_0x55832e._0x1eb389,_0x3d6814-_0x55832e._0xe5e1af);}return{async 'listTools'(){function _0x57fb39(_0x19a2cf,_0x47f626,_0x1d113b,_0x203afa){return _0x4c8a71(_0x19a2cf-0x19,_0x47f626-0x146,_0x1d113b,_0x203afa-0x78);}return await _0x313443[_0x57fb39(0x615,_0x3c6567._0x587b0e,_0x3c6567._0x220de2,0x5fb)]();},async 'callTool'(_0x4ccd4c){const _0x2480fe={_0x330e95:0x150,_0x1ba7d7:0x1d0,_0x2d0e56:0x4fa};function _0x271229(_0x1e37be,_0x11d5b4,_0xb41b0a,_0x52d84f){return _0x4c8a71(_0x1e37be-_0x2480fe._0x330e95,_0x11d5b4-_0x2480fe._0x1ba7d7,_0x1e37be,_0x11d5b4- -_0x2480fe._0x2d0e56);}return await _0x313443['request']({'method':_0x271229(0x11b,0x26,_0x364760._0x488892,0x81),'params':_0x4ccd4c},CallToolResultSchema);},async 'close'(){function _0x139559(_0x1a0229,_0x4424e6,_0x1ac380,_0x3c40c8){return _0x19e407(_0x1a0229-0x337,_0x4424e6-_0x53eb0c._0x5749a5,_0x1ac380-0x1e6,_0x4424e6);}await _0x313443[_0x139559(_0x56b81f._0xfcc2a6,_0x56b81f._0x12e5b2,_0x56b81f._0x460627,_0x56b81f._0x123522)]();}};}async function createMcpToolsFromServers(_0x5b534d){const _0x8d674c={_0x2df4d2:0x3f2,_0x28184f:0x47b,_0x6abc58:0x368,_0x54212b:0x322,_0x8901f1:0x26e,_0x116185:0x488,_0x312920:0x4d3,_0x15daa7:0x5b3,_0x52d515:0x48d,_0x51a32c:0x56c,_0x1cc899:0x1be,_0x2e8ff8:0x2b9,_0x4b846c:0x4eb,_0x1d04fb:0x5f4,_0x46c76a:0x361,_0x2db3ad:0x394,_0x338876:0x48d,_0x5e8f10:0x4fb,_0xe7a6bb:0x420},_0x2ffea6={_0x1d5ba4:0x126,_0x5c6f19:0xfb,_0x4de3e0:0x4,_0x42558a:0x92},_0x1a6bf7={_0x550457:0x13e,_0xbfd2b9:0x7c},_0x5bbea6={_0x1a6a91:0x1dc,_0x2e239e:0x143};function _0x49fe53(_0x51bd1b,_0x76bc55,_0x5f55d2,_0x514a6b){return _0x43e84c(_0x51bd1b-_0x5bbea6._0x1a6a91,_0x514a6b,_0x5f55d2-_0x5bbea6._0x2e239e,_0x5f55d2- -0xc6);}const _0x2ad6d2=_0x5b534d[_0x49fe53(0x34d,_0x8d674c._0x2df4d2,0x47a,0x5ad)]??connectMcpServer,_0xc62313=[];function _0x5ce591(_0x50d1bf,_0x2f0cb2,_0x1ffc6b,_0x4cee7a){return _0x43e84c(_0x50d1bf-_0x1a6bf7._0x550457,_0x50d1bf,_0x1ffc6b-0x9f,_0x2f0cb2- -_0x1a6bf7._0xbfd2b9);}const _0x18fd51={},_0x744b3c=[];for(const [_0x1db4f9,_0x34520e]of Object['entries'](_0x5b534d[_0x49fe53(_0x8d674c._0x28184f,0x33b,_0x8d674c._0x6abc58,_0x8d674c._0x54212b)]??{})){if(_0x34520e[_0x49fe53(0x24b,0x244,_0x8d674c._0x8901f1,0x286)]===![]){_0x18fd51[_0x1db4f9]={'status':_0x49fe53(0x4da,0x584,_0x8d674c._0x116185,0x4b8)};continue;}try{const _0x44fcbb=await _0x2ad6d2(_0x1db4f9,_0x34520e,_0x5b534d[_0x5ce591(0x4fb,_0x8d674c._0x312920,_0x8d674c._0x15daa7,0x54c)]);_0xc62313[_0x49fe53(0x386,0x37c,_0x8d674c._0x52d515,_0x8d674c._0x51a32c)](_0x44fcbb);const _0x20a1a8=await _0x44fcbb[_0x49fe53(_0x8d674c._0x1cc899,0x25c,_0x8d674c._0x2e8ff8,0x233)]();let _0x1b3478=0x0;for(const _0x395861 of _0x20a1a8[_0x5ce591(0x3bb,_0x8d674c._0x4b846c,0x481,_0x8d674c._0x1d04fb)]){const _0x4ac05b=_0x5b534d[_0x5ce591(0x58d,0x4b9,0x59c,0x432)]?.[_0x1db4f9]?.[_0x395861[_0x49fe53(_0x8d674c._0x46c76a,0x2ab,_0x8d674c._0x2db3ad,0x2d8)]];if(_0x4ac05b===![])continue;_0x1b3478+=0x1,_0x744b3c[_0x49fe53(0x566,0x524,_0x8d674c._0x338876,_0x8d674c._0x5e8f10)](createMcpTool({'serverName':resolvePrefix(_0x1db4f9,_0x34520e),'tool':_0x395861,'client':_0x44fcbb}));}_0x18fd51[_0x1db4f9]={'status':_0x49fe53(0x3e2,0x2ec,0x3e3,0x3e3),'toolCount':_0x1b3478};}catch(_0x4287f1){_0x18fd51[_0x1db4f9]=isUnauthorizedError(_0x4287f1)?{'status':'authRequired','message':getErrorMessage(_0x4287f1)}:{'status':_0x5ce591(0x416,0x34e,0x2e6,_0x8d674c._0xe7a6bb),'message':getErrorMessage(_0x4287f1)};}}return{'tools':_0x744b3c,'servers':_0x18fd51,async 'close'(){const _0x259c59={_0x227238:0xbd};function _0x211c34(_0x359493,_0x2a9425,_0x540868,_0x24143e){return _0x5ce591(_0x24143e,_0x359493- -_0x259c59._0x227238,_0x540868-0x71,_0x24143e-0x6b);}function _0xd1da7d(_0x245936,_0x423d10,_0x135b1b,_0x11ad0d){return _0x49fe53(_0x245936-0x36,_0x423d10-0x158,_0x135b1b- -0x45f,_0x245936);}await Promise[_0xd1da7d(-_0x2ffea6._0x1d5ba4,-0x128,-0xf4,0x10)](_0xc62313[_0xd1da7d(-_0x2ffea6._0x5c6f19,-_0x2ffea6._0x4de3e0,0x24,_0x2ffea6._0x42558a)](_0x5a0898=>_0x5a0898[_0xd1da7d(-0x8e,-0x180,-0x15a,-0x22a)]()));}};}function getCommand(_0x533b59){const _0x2fc2a8={_0x597846:0x49,_0x383712:0x13e,_0xbe4937:0x740,_0x38484c:0x503,_0x16bb6c:0x63e,_0x1b19c0:0x6cc,_0x311045:0x4a7,_0x44541b:0x5dc},_0x283e32={_0x5aae85:0xe9,_0x2bfab8:0x80},_0x3488d3={_0xbd4954:0x16e};function _0x1e7c41(_0x5dce39,_0x58cf91,_0x172006,_0x47df19){return _0x43e84c(_0x5dce39-0x12b,_0x47df19,_0x172006-0xc6,_0x172006-_0x3488d3._0xbd4954);}if(_0x533b59&&typeof _0x533b59===_0x1d07ca(_0x2fc2a8._0x597846,_0x2fc2a8._0x383712,0x12e,0x180)&&!Array[_0x1e7c41(_0x2fc2a8._0xbe4937,_0x2fc2a8._0x38484c,_0x2fc2a8._0x16bb6c,0x5b9)](_0x533b59)&&typeof _0x533b59['command']===_0x1e7c41(0x64c,_0x2fc2a8._0x1b19c0,0x5be,0x59c))return _0x533b59[_0x1e7c41(0x5b9,0x535,0x5c5,0x575)];function _0x1d07ca(_0xdd8cfc,_0x59ea0a,_0x1f3135,_0x183b79){return _0x43e84c(_0xdd8cfc-_0x283e32._0x5aae85,_0x1f3135,_0x1f3135-_0x283e32._0x2bfab8,_0xdd8cfc- -0x50e);}return _0x1e7c41(0x6a4,_0x2fc2a8._0x311045,_0x2fc2a8._0x44541b,0x526);}var MOCK_WORKSPACE_LISTING=[_0x120580(0x4d0,0x42a,0x5a7,0x457),'docs/plans/2026-04-16-mock-agent-loop-implementation.md','docs/plans/2026-04-16-public-tools-api-implementation.md',_0x120580(0x4de,0x490,0x4c0,0x432),_0x120580(0x45b,0x508,0x3c1,0x4bc),'src/formats/message-format.ts',_0x43e84c(0x33f,0x30f,0x35b,0x393),_0x120580(0x40d,0x405,0x471,0x463),'src/models/mock-model.ts',_0x120580(0x544,0x600,0x5d1,0x53c),_0x43e84c(0x3da,0x59c,0x371,0x488),_0x43e84c(0x45a,0x555,0x4e5,0x495),_0x120580(0x403,0x347,0x383,0x33e),'src/agent/agent.test.ts',_0x120580(0x46c,0x43d,0x3de,0x59f),_0x120580(0x5ea,0x59e,0x539,0x547),'src/agent/turn-engine.test.ts'][_0x120580(0x51b,0x556,0x543,0x408)]('\x0a'),SHELL_EXEC_TOOL={'name':'Bash','description':_0x43e84c(0x4b6,0x3cb,0x36f,0x3d1),'input_schema':{'type':_0x43e84c(0x46e,0x54c,0x672,0x557),'properties':{'command':{'type':'string'}},'required':[_0x120580(0x4fb,0x4d4,0x556,0x3bc)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0xfbd7d7){return{'output':_0xfbd7d7,'structured':{'value':_0xfbd7d7}};}function createUnknownToolResult(_0xe8934e){const _0x1b8184={_0x5c1518:0x1a1,_0x16f00d:0x175,_0x39983b:0x32d,_0x4eaf3c:0x270,_0x9b898f:0x282},_0x1473cd={_0x5589f7:0x7,_0x53e515:0xd2},_0x272da4={_0x2801e1:0x1c8,_0xe1ebd9:0x131};function _0x483a33(_0x42877d,_0x3fbb9f,_0x2492c5,_0x35a097){return _0x120580(_0x42877d- -_0x272da4._0x2801e1,_0x35a097,_0x2492c5-0x117,_0x35a097-_0x272da4._0xe1ebd9);}function _0x398bf9(_0x3d021f,_0x59fdce,_0x268942,_0xc1fa08){return _0x120580(_0x268942-_0x1473cd._0x5589f7,_0xc1fa08,_0x268942-0xe1,_0xc1fa08-_0x1473cd._0x53e515);}return{'callId':_0xe8934e['id'],'toolName':_0xe8934e['name'],'status':_0x483a33(0x2a6,_0x1b8184._0x5c1518,0x1ab,_0x1b8184._0x16f00d),'output':'Unknown\x20tool:\x20'+_0xe8934e[_0x483a33(0x336,_0x1b8184._0x39983b,_0x1b8184._0x4eaf3c,_0x1b8184._0x9b898f)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x443a9a,_0x3b3179){const _0x776c60={_0x4d17a9:0x52c},_0xbc4e60={_0x339732:0x27,_0x2b888b:0x1f1},_0x13f85c={_0x19c7a2:0x53};function _0xf164d1(_0x1d7271,_0xc2755e,_0x5c039b,_0x4217d2){return _0x120580(_0xc2755e- -0x1e7,_0x5c039b,_0x5c039b-0x67,_0x4217d2-_0x13f85c._0x19c7a2);}function _0x41ea12(_0x310ad6,_0x1ec176,_0x38047c,_0x504d03){return _0x120580(_0x38047c- -0x10a,_0x310ad6,_0x38047c-_0xbc4e60._0x339732,_0x504d03-_0xbc4e60._0x2b888b);}return{'callId':_0x443a9a['id'],'toolName':_0x443a9a[_0x41ea12(_0x776c60._0x4d17a9,0x36e,0x3f4,0x400)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x443a9a[_0xf164d1(0x3eb,0x383,0x3d3,0x43c)]),'exitCode':0x0},'chunks':[_0x3b3179],'meta':createMeta()};}function createMockToolRuntime(){const _0x265fb3={_0x3dafcf:0x269,_0x549836:0x319,_0x48433d:0x2de},_0x3ca8e6={_0x7b8ab8:0x14},_0x24d2a0={_0x4fd284:0x359,_0x134546:0x232,_0x49df74:0x330},_0x2956a1={_0x3d7cbc:0xe9},_0x2411b5=async(_0x3f839a,_0x1e9d2e)=>{if(_0x3f839a['name']!==_0x599328(_0x24d2a0._0x4fd284,0x288,_0x24d2a0._0x134546,_0x24d2a0._0x49df74))return createUnknownToolResult(_0x3f839a);const _0x365d20=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0x599328(_0x520a05,_0x33c916,_0x4be9ea,_0x1ea3d0){return _0x4f9a(_0x1ea3d0- -_0x2956a1._0x3d7cbc,_0x33c916);}return createSuccessToolResult(_0x3f839a,_0x365d20);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x2b6a3d,_0x44bcc1){function _0x687db(_0x5bd679,_0x4bb918,_0x272933,_0x2f0278){return _0x4f9a(_0x2f0278-_0x3ca8e6._0x7b8ab8,_0x4bb918);}return await Promise[_0x687db(_0x265fb3._0x3dafcf,0x2ab,_0x265fb3._0x549836,_0x265fb3._0x48433d)](_0x2b6a3d['map'](async _0x772add=>{return await _0x2411b5(_0x772add,_0x44bcc1);}));},async 'execute'(_0x38cea6,_0x2996d8){return await _0x2411b5(_0x38cea6,_0x2996d8);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x4b8bfc={_0x56f7d7:0x50a,_0x230530:0x50b},_0x53bfe2={_0x2e0d9a:0xd3,_0x500f06:0x2};delegatedRunCounter+=0x1;function _0x41d105(_0x551148,_0x1122da,_0x46740f,_0x15e934){return _0x120580(_0x1122da- -_0x53bfe2._0x2e0d9a,_0x46740f,_0x46740f-_0x53bfe2._0x500f06,_0x15e934-0x197);}return _0x41d105(0x43e,_0x4b8bfc._0x56f7d7,_0x4b8bfc._0x230530,0x52d)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x25a74d,_0x1c0ca9){const _0x293ac3={_0x40404d:0x102};function _0x109146(_0x5a2b0a,_0x57be8b,_0x3d05db,_0x4c37a8){return _0x43e84c(_0x5a2b0a-_0x293ac3._0x40404d,_0x4c37a8,_0x3d05db-0xa7,_0x5a2b0a- -0x92);}return typeof _0x25a74d===_0x109146(0x4e9,0x5c2,0x5b5,0x3dd)?await _0x25a74d(_0x1c0ca9):_0x25a74d;}function getDelegatedAgentDefinition(_0x21aa22,_0xe5819d){return _0x21aa22['agents']?.[_0xe5819d];}function createRunSummary(_0x415ce6){const _0x2c2d04={_0x1fbe97:0x202,_0x51a1a1:0x3bb,_0xa2859f:0x4fe,_0x4b6c34:0x614,_0x589f31:0x62e,_0x187a52:0x640,_0x5d231c:0x282,_0x4a2ed6:0x25a,_0x16b3f3:0x2d4,_0x2dd453:0x5a6,_0x210d91:0x1ed,_0xc0bdbb:0x131,_0x28e9bb:0x1df,_0x174ed8:0x5b1,_0x2a709a:0x4dc,_0x500be1:0x3df},_0x351a1d={_0x142bd2:0xfb},_0x47e276={_0x57df38:0x1d9};function _0x3651e6(_0x5bcf9d,_0x1ee157,_0x25a947,_0x123718){return _0x43e84c(_0x5bcf9d-0xa3,_0x5bcf9d,_0x25a947-_0x47e276._0x57df38,_0x123718- -0x1c3);}function _0x38f5cc(_0x52a47d,_0x2ad245,_0x524cdb,_0x125a09){return _0x43e84c(_0x52a47d-0xf4,_0x524cdb,_0x524cdb-0x125,_0x52a47d-_0x351a1d._0x142bd2);}return{'runId':_0x415ce6['runId'],'agentId':_0x415ce6['agentId'],'sessionId':_0x415ce6['sessionId'],'status':_0x415ce6[_0x3651e6(0x33e,_0x2c2d04._0x1fbe97,_0x2c2d04._0x51a1a1,0x2de)],'parentSessionId':_0x415ce6[_0x38f5cc(0x525,_0x2c2d04._0xa2859f,_0x2c2d04._0x4b6c34,0x419)],..._0x415ce6['originToolCallId']!==void 0x0?{'originToolCallId':_0x415ce6[_0x38f5cc(0x5da,0x5b2,_0x2c2d04._0x589f31,_0x2c2d04._0x187a52)]}:{},..._0x415ce6[_0x3651e6(_0x2c2d04._0x5d231c,0x3e2,_0x2c2d04._0x4a2ed6,_0x2c2d04._0x16b3f3)]!==void 0x0?{'errorMessage':_0x415ce6[_0x38f5cc(0x592,0x5f3,_0x2c2d04._0x2dd453,0x613)]}:{},..._0x415ce6['result']?.[_0x3651e6(_0x2c2d04._0x210d91,0x9d,_0x2c2d04._0xc0bdbb,_0x2c2d04._0x28e9bb)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x415ce6[_0x38f5cc(0x506,0x58c,0x521,_0x2c2d04._0x174ed8)][_0x38f5cc(0x49d,_0x2c2d04._0x2a709a,0x52f,_0x2c2d04._0x500be1)])}:{}};}function createRunSummaryOutput(_0x1dd2d1,_0x5eee29){const _0x26b478={_0x594df5:0x5d3,_0x10c18b:0x611,_0x55e3e9:0x5a4,_0x3dda1d:0x549,_0x471410:0x652,_0x1a8147:0x721},_0xcdcc52={_0x299a6f:0x99,_0x14d19f:0x13e},_0x436e0a=createRunSummary(_0x1dd2d1),_0x3f2791=_0x436e0a['finalMessageText'];function _0x4823fc(_0x32a429,_0x5cf811,_0x236c16,_0x3a2fba){return _0x43e84c(_0x32a429-0xa0,_0x5cf811,_0x236c16-0xcb,_0x3a2fba-0x154);}function _0x5d87a1(_0x1ce892,_0x3aa9e0,_0x18eacd,_0x2735d0){return _0x43e84c(_0x1ce892-_0xcdcc52._0x299a6f,_0x1ce892,_0x18eacd-0x85,_0x18eacd- -_0xcdcc52._0x14d19f);}return createToolOutput(typeof _0x3f2791===_0x4823fc(_0x26b478._0x594df5,0x586,_0x26b478._0x10c18b,_0x26b478._0x55e3e9)&&_0x3f2791[_0x4823fc(_0x26b478._0x3dda1d,_0x26b478._0x471410,_0x26b478._0x1a8147,0x627)]>0x0?_0x3f2791:_0x5eee29,_0x436e0a);}function _0x2dae(){const _0x48ef38=['tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','ChjVy2vZCW','CgfJA2fNzs1SB2nRlMPZB24','yxjYyxK','zgfYAW','ChjPB3jPDhK','t0zg','u0Lhs0Lmta','BgLUzuvUza','CgfZC3rOCM91z2G','rMLSzuvKAxq','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','y2f0y2G','zxjYB3jnzxnZywDL','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','AhjLzG','Dg9VBa','zMLSzvbHDgG','y29TBwfUzhm','zgvSzxrL','ls1YzwDLEha','BgL0zxjHBa','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','C3rHDhvZ','C2HPzNq','D29YA3nWywnLu3LTyM9S','ywjVCNrLza','y2fSBgjHy2TvCMW','yxnPzgu','zgf0zxrPBwu','zgLHz25VC3rPy3m','y29UBMvJDgvK','CMvTB3zL','CgLWzq','uhvIBgLZAgvKoIa','CMvHC29U','C3rKB3v0','zgLYzwn0B3j5','ugf0AcbUB3qGzM91BMq6ia','u2TPBgWGjW','tM8GAg92zxiGAw5MB3jTyxrPB24','BgfIzwW','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','C2H1DgrVD24','sw52ywXPzcbvuKWGCgfYyw1LDgvY','cMbGya','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','z29uB0LTCgXLBwvUDgf0Aw9U','oIbJB250zw50ihjLCxvPCMvK','Bg93','yMLVBwu','Aw5PDgLHBgL6zq','te9dquXbufbeqvrb','BNvT','Dhj1BMm','zhvWBgLJyxrLx3rVzg9FAwrZ','CMvXDwLYzwq','DxbKyxrL','BgfUzW','Aw5WDxq','qxv0Ag9YAxPHDgLVBG','zxHPDcbJB2rLia','DhvWBgu','lMnTza','DxrTx3nVDxjJzq','CgfZC3DVCMq','DxrMoa','Aw1Hz2uVCg5N','z2XVyG','AxnbCNjHEq','zMLSzq','y29UDgvUDc10ExbL','BgvUz3rO','zgLYBMfTzq','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','ANnJB25MAwCUANnVBG','y29UDgv4Da','B3v0Chv0','lMPWzwC','A2v5CW','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','y29Uy2f0','CNvUBMLUzW','Dg9KB3ncEvnLC3nPB24','B3jPz2LUvg9VBenHBgXjza','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','CMvMCMvZAf90B2TLBG','A2LSBgvK','y2fUy2vS','lI4U','lNrZ','yxv0Aa','lMPWzW','C2vYDMvYswq','C29YDa','CMvJB3jK','rMLSzsb3CML0DgvUigf0ia','l2jPBI9IyxnO','y3jLyxrLzef0','Bwv0yq','C3r5Bgu','y29UDgvUDa','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','zgvMAw5PDgLVBG','BgLTAxq','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','Dg90ywW','zgvSAw1PDgvY','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','C3bHD25PBMC','y2fSBfrVB2W','B3jPz2LUywW','AMf2yxnJCMLWDa','CMfUzg9T','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','tM8GCMvZDwX0CYbMB3vUzc4','C2v0vg9KB3m','BhnWu2vYDMLJzq','y29UDgv4DeXPBMS','CgvUzgLUzW','Agv4','DhjHBNnMB3jTCW','DgfZA2TPBgW','CxvLC3rPB24T','CgLK','yxv0BW','lMPZB24','Dg9VBc1VDxrWDxqTB2zMBg9Hza','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','sw5MB3jTyxrPB24','nte0nZKWrfDAEgnR','BNvTyMvY','v2fYBMLUzW','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','AgvHzgvYCW','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','ywDLBNrjza','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','uMvHzcbHifvurI04ihrLEhqGzMLSzsbMCM9TihrOzsb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCMLLCY4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqP','AgfUzgXL','AxngAw5PDgu','z29Vz2XLq3nLs2v5','DgLTzw91De1Z','Aw5PDgLHBgL6zwq','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','y21KlMv4zq','C3rYAw5NAwz5','l2jPBI9ZAa','uefusa','CMvSyxrPDMu','u2HLBgWGBM90igzVDw5KoIa','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','Cgf0DgvYBG','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','AwzYyw1L','y29Kzq','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','lM51DMLU','zgvZy3jPChrPB24','D2vI','zxH0BMfTzq','uhjVz3jHBuzPBgvZkhG4nIK','Aw5PDgLHBgL6yxrPB24','C3bHD24','Dgv4DerVy3vTzw50l2rPze9Wzw4','yxr4','ygbGANnVBGO','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','C3bSAxq','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','ywXSB3DLzfrVB2XZ','DhnJB25MAwCUANnVBG','C2vZC2LVBG','zgvMyxvSDa','zgvSzwDHDgvKlxj1BI0','CMLWz3jLCcbMywLSzwq6ia','B3bLBMfPlxjLC3bVBNnLCW','yxbPs2v5','BMv3vgv4Da','ls1NBg9IpseUz2L0lYO','DhvYBMrVD24','y29UBMvJDa','A2LUza','ls1MB2XSB3C','z2v0vg9KB3m','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','DxjS','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','C2vYDMvYtMfTzq','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','BwfW','yM94zwq','z2L0qNjHBMnO','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','DhLWzq','zgLZywjSzwq','y29UBMvJDgLVBG','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','Aw52ywXPzf90B2rVx2LK','AhLKCMf0zu1LDge','ChvZAa','AMf2yxnJCMLWDhjLywn0','w1bFxL1BxhnCu10QpW','qgjPB21LANmVyMLVBwu','B2jQzwn0','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','Bwv0yxrHz3m','mZKZmdyXowPZrNH0wG','BM90Awz5','Aw5FChjVz3jLC3m','C2XPy2u','zMXHDe1HCa','yxr0CG','lu5VuhjVzMLSzq','Aw52ywXPzf90B2rVx2L0zw0','Cg9W','CMvXDwvZDhm','DxjP','zgv0ywLS','ndaZmZy2vfHbvvry','Dg9VBhm','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','Dg9vChbLCKnHC2u','B3bLBKzPBgvZ','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','BxrPBwvnCW','l29WDc9OB21LyNjLDY9IAw4VCMC','BgLZDgvU','z2v0u3rHDhm','sw52B2TLq29TBwfUza','yNvUlMXVy2TI','C3rKAw8','lMjPBG','mJG3mdu2mK52CNj5qW','z2v0','Aw52ywXPzf90B2rVCW','y2XPzw50twv0ywrHDgfvCMW','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','Aw1Hz2u','zNvUy3rPB24','zgvMyxvSDfrPBwvVDxrnCW','D2LUmZi','C2v0','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','qMfZAa','DhLWzxnJCMLWDa','AxnjBNrLz2vY','B3rOzxi','CMvNAw9U','CgfJA2fNzu5HBwu','C3rVCMfNzurPCG','C2LNBMfS','lMnQCW','Dhj1zq','Cgf0Aa','B2f1DgG','DgvZDa','thnW','ru5pru5u','zw5K','zxzLCNK','C25PChbLDa','z29uB0rLzMLUAxrPB24','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','C2vUzfjLCxvLC3q','zg9JDw1LBNrtEw1IB2W','lMPZB25J','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','uKLgrG','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','yw5ZD2vYCW','ienHDxnLoIa','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','DxrTx2nVBNrLBNq','rMLSzvjLywq','z29Vz2XLlwnZzq','B25Jzq','ywXSB3DLzerPCNm','DMfSDwu','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','tunqihrVB2WG','AgLNAa','zgLZy292zxj5','Bwf4','Dg9VBhmVy2fSBa','zMLSzvzLCNnPB25Z','ChjLCgfYzunHBgXiAwvYyxjJAhK','u2vHCMnOihrOzsb3zwiGDxnPBMCGr29Vz2XLien1C3rVBsbtzwfYy2GGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','Aw1Hz2uVANbLzW','zMLYC3q','AhrTBfnUAxbWzxq','tNv2Aw4','oIbPBNzHBgLKihbYAw9YAxr5','BgLUAW','qMvHCMvYia','Bw9KzwW','CgfJA2fNzxm','iYmGu2TPBgW6ia','ls1WCMvMAxG','B2XKvgv4Da','v2vIrMv0y2G','yxnJAwK','ls1ZDgrPBW','tgLUzsa','Aw5JB21PBMDdywXSCW','BhnW','C3vIyxjYyxK','zgf0zvjLC3rYAwn0','zw5HyMXLza','Aw5JBhvKzq','ihDHCYbHyM9YDgvKlG','BxrPBwu','BgLUzxm','vw5HDxrOB3jPEMvKrxjYB3i','ignVBxbSzxrLzc4','rMLSzu5LDW','lNbUzW','ls1JB2X1Bw4','Dgv4DerVy3vTzw50l2HVDMvY','Dw5PB24','ChjVDg9JB2W','BwvTB3j5','y29UzMLN','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','y2HHCKnVzgvbDa','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','v0vcua','C3rKAw4','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','u0HfteW','z29Vz2XLq3nLq3G','DhnJ','yMLYDgH0Aw1L','Aw1Hz2vZ','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','yM9VBgvHBG','Aw52ywXPzf9XDwvZDgLVBNm','oIaIAgvHzgvYiIbMAwvSzcbPCYbYzxf1AxjLzcbHBMqGBxvZDcbIzsbHihn0CMLUzW','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','Ahr0Chm6','yM9KEq','BgLI','u2L6ztOG','qwDLBNqGCNvUia','ChjVCgvYDgLLCW','nda1odKYmhP3u3fqsa','DhjPBq','Dg9VBe5HBwu','CMfUz2u','CgXHDgzVCM0','C3jJl3nOyxjLzc90ExbLCY50CW','C2vHCMnOvhLWzq','l2jPBI9YzW','sfruuca','ls1OAwrKzw4','yxnZAwDU','yNL0zuXLBMD0Aa','zNjVBq','AxndB250zxH0','Dg9KB3m','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','C3rHCNrZv2L0Aa','zhj5uNvU','Dgv4DerVy3vTzw50l2rPzenSB3nL','rM91BMqG','lcbpChrPB24G','CMCUzxHL','igzYB20G','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','CxvLCNK','ywjVCNq','CMvXDwvZDa','y2HHBMDL','igzHAwXLzc4','B2C6DxbKyxrLzf90Aw1L','AwDUB3jL','vw50AxrSzwq','C2fMzq','y3DK','C3vKBW','BgfZDeLUzgv4t2y','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','BgLZDfrVB2XZ','xg5DkJ8','tuLnrtOG','CgfYC2u','yMLVBwuUANnVBMm','DgHLBG','CMvZB2X2zq','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','ugf0AcbPCYbUB3qGysbMAwXLoIa','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','B2zM','yMvHCMvY','Ahr0Ca','ig1Z','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','Aw1Hz2uVz2LM','C3rHDhvZvgv4Da','B3bLBG','Aw5ZDhj1y3rPB25Z','C3jJl2v4yw1WBgvZl2rLBw8UDhm','Cg5WBs1SB2nRlNLHBwW','y2fJAgvK','Dg91y2HgAwXL','CxvLC3rPB24','r2XVyG','y2XPzw50CW','vg9KBYa','mZe5mJqZmef3A1jxzq','BwvKAxvT','yxjNCW','yMLVBwuUANnVBG','Aw52ywXPzf90B2rVx2nVBNrLBNq','ksbB','qxnZAwDUvgfZAW','zMLUywXnzxnZywDL','ChvIBgLZAgvKqxq','y3jSzG','B3v0z29PBMDdywXSCW','zw50CMLLCW','yxbWBgLJyxrPB24VANnVBG','AxneAxjLy3rVCNK','C3rKzxjY','C2vHCMnOugfYyw1Z','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','D3jPDgu','DgfZAW','Ag9ZDa','CM9VDa','lM10CW','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','uxvLC3rPB24G','C2H1DgrVD25tDgfYDgvK','ChjLzML4','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','y2XPzw50sw5MB3jTyxrPB24','C3jJl2fNzw50l2fNzw50lNrZ','C29Tzq','BgfUz18','Dg9VBenHBgXjza','DhjPBuvUza','zxf1ywXZ','Dgv4Da','A2v5','yxnRvxnLCG','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','Aw5KzxHpzG','DgHPBMTPBMC','Aw1WBgvTzw50yxrPB24','l3vZCI9SB2nHBc9IAw4VCMC','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','l3vZCI9IAw4VyMfZAa','oIaIAgvHzgvYiIbTDxn0igjLig1HEcaYmcbJAgfYywn0zxjZlcbNB3qG','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','zNvSzMLSBgvK','zxjYB3i','y2XVC2u','B2zMC2v0','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','Aw5JBhvKzxm','Bg9HzfnRAwXS','CNvUswq','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','AgvHzgvY','CMvWBgfJzq','igj5DgvZks4','tunqihnLCNzLCIa','lMDPzG','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','zg9TywLUCW','y291BNq','Aw5ZDgfSBa','y29TCgXLDgvK','rxjYB3i','yxjNDw1LBNrZvgv4Da','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4','yM0Ynq','zgLNzxn0','u3rHCNrLzcbHz2vUDcbYDw4G','ls1NBg9I','te9x','Dg9Rzw4','DgL0Bgu','CMvTB3zLrxzLBNrmAxn0zw5LCG','ywXSu2v0DgXLza','wZ0+nY04kcLD','zMLSztOVlW','l3bPza','CxvLC3rPB25Z','A2LSBa','C3rHDgu','qxnRvxnLCLrVB2W','y2XLyxi','yMLUyxj5tMfTzq','BgLNAhq','lNrZEa','y2XPzw50','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','vMLLD0zPBgu','seLhsa','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','A2v5yMLUzgLUz3m','BxvSDgLtzwXLy3q','CgfYC2vjBNq','uhjVz3jHBuzPBgvZ','o1TE','ls1MAwXLCW','C2vUze5VDgLMAwnHDgLVBG','lM1QCW','CNnZ','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C2HLBgXqyxrO','Bg9HzenVBw1HBMq','BM9Zy3jPChq','ANnVBG','ugfJA2fNzxm','Dg9tDhjPBMC','lw5i','CMvZDwX0','CgXHAw50zxH0','y2fSBeLK','yxv0Ag9YAxPHDgLVBL9JB2rL','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','yMfZzty0','r0LgodDH','AxrLBxm','zgLZy292zxj5u3rHDgu','Ag92zxi','igj5DgvZicHVCMLNAw5HBdOG','r3jLCa','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','C3rHCNq','yxjNDw1LBNroyw1LCW','otaXmdGWwNPdrwnQ','zgvUBY5QC29UyW','Dg9ju09tDhjPBMC','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','zgf0yq','q29TBwfUzcaN','y29UC3rYDwn0B3i','BgLUzvrLEhq','C2L0ztO','zgvUBY5QC29U','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','D29YA3nWywnLl3n5BwjVBa','ywrKrxzLBNrmAxn0zw5LCG','C2L6zq','y2fWywjPBgL0AwvZ','CgfYzw50u2vZC2LVBKLK','C3rYAxbbBNnP','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','zMLUzfjLzMvYzw5Jzxm','C2vYDMvYCW','vg9KB1DYAxrL','lu5Vtg9NBW','ywXS','Dg9mB3DLCKnHC2u','Ec1HCgKTA2v5','y2vPBa','C2vSzwn0Aw9UuMfUz2u','zw52','q29Tu3bLyW','DhnZzxj2zxiUANm','C2TPBgXZ','CgfJA2fNzs5QC29U','y2HHCMfJDgvY','BgLUzq','Dhj1zwnVBg9Y','lNDLyNa','ywrK','Bw9Kzq','EwfYBI5SB2nR','tM8GzgLHz25VC3rPy3m','DxrTx3rLCM0','v2LUr2v0','Aw1Hz2uVD2vICa','C3rHCNreAxi','CMvJzw5JEurHExm','twLJCM9ZB2z0','zxHPDa','yxjNDw1LBNrZ','CgfNzw1HCa','v2vIu2vHCMnOihjLCxvPCMvZieDpt0Dmrv9du0vFs0vz','rgLHz25VC3rPyW','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','Cgf0DgvYBIbPCYbYzxf1AxjLza','C3rYAw5N','zw51Bq','yMfZzw5HBwu','v2vIu2vHCMnOihjLCxvPCMvZieDpt0Dmrv9du0vFq1G','Dgv4Dc9ODg1S','lunVBw1HBMq','Dg9Rzw5tDg9YywDLs2v5','y29TBwfUza','CMvMzxjLBMnLCW','oIbPBNzHBgLKihn0yxr1CW','BMfTzq','zMLSDgvY','BgfUz3vHz2u','B3bLCMf0Aw9U','oIbPzcbYzxf1AxjLza','zMvUy2vK','BNv2Aw4','qxzHAwXHyMXLignVBw1HBMrZoG','Ahr0CdO','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','BwfYA2rVD24','lMXVzW','yNjVA2vU','zgvMyxvSDen3za','zMXVB3i','Dg9Rzw5Z','igj5DgvZicH0B3rHBdOG','Aw50zwDLCG','BM9Uzq','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','BhmGlwXH','BwLU','AgfZ','B3b0Aw9UywW','lNrTCc4','AxngAwXL','BM93','zMLUza','B3b0Aw9UCW','AM9PBG','BgLUzvn0yxj0','BNbT','ls1NBg9Ipq','Bg9JyxrPB24','Ag9TzwrPCG','BhnWlxbYB3H5','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','C2vZC2LVBKLK','yw50AhjVCgLJlw1LC3nHz2vZ','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','y29KzvzLCMLMAwvY','BwvZC2fNzq','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','pc9ZExn0zw0TCMvTAw5Kzxi+','BM9Kzv9TB2r1BgvZ','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','C291CMnL'];_0x2dae=function(){return _0x48ef38;};return _0x2dae();}function getRunTerminalErrorMessage(_0x54bd80){const _0x138174={_0xaf1e:0xc9,_0x336634:0x26,_0x4111c8:0x63,_0x59d22c:0x43,_0x4536ce:0x9d,_0x196285:0x18,_0x2a7cda:0xa6,_0x2e66f0:0x45,_0x509087:0x28},_0xe30ab9={_0x5ea833:0x537,_0x240499:0x1d1};function _0x4f512c(_0x31c56c,_0x3cb2d9,_0x621737,_0x113854){return _0x43e84c(_0x31c56c-0x25,_0x113854,_0x621737-0x171,_0x621737- -0x394);}function _0x5f40d8(_0x69993d,_0x4433a5,_0x37709d,_0x36c36d){return _0x120580(_0x69993d- -_0xe30ab9._0x5ea833,_0x4433a5,_0x37709d-0x182,_0x36c36d-_0xe30ab9._0x240499);}const _0x237a03=_0x54bd80?.['state']['toolResults']['at'](-0x1);if(_0x237a03?.['status']===_0x5f40d8(-_0x138174._0xaf1e,-_0x138174._0x336634,-_0x138174._0x4111c8,0x3c)&&_0x237a03[_0x5f40d8(0x45,_0x138174._0x59d22c,-0xce,-_0x138174._0x4536ce)][_0x5f40d8(-0x138,-0x7b,-0x279,-0x222)]()[_0x4f512c(_0x138174._0x196285,0x70,0x13f,_0x138174._0x2a7cda)]>0x0)return _0x237a03[_0x5f40d8(_0x138174._0x2e66f0,0x172,0x15,-_0x138174._0x509087)];return void 0x0;}function formatAbortedRunMessage(_0x185316,_0x4e9758){const _0xd74cac={_0x4315f9:0x5f4,_0x5cb45e:0x607,_0x3e32f2:0x590,_0x3f7992:0x218,_0x2ad1e2:0x1bb,_0x1d6889:0x1f3,_0x10ed77:0x20b,_0x291861:0x23f},_0x9384af={_0x1cf315:0x0,_0x232d27:0x9a},_0x1dd7a1={_0x51deb2:0x5f2},_0x1044ba=_0x551f03(_0xd74cac._0x4315f9,_0xd74cac._0x5cb45e,_0xd74cac._0x3e32f2,0x524)+_0x185316+_0x479e6c(-0x182,-_0xd74cac._0x3f7992,-0x287,-0x2f7);function _0x479e6c(_0x18831b,_0x234a30,_0x6b3491,_0x51e8d4){return _0x120580(_0x234a30- -_0x1dd7a1._0x51deb2,_0x51e8d4,_0x6b3491-0xd4,_0x51e8d4-0x104);}if(!_0x4e9758||_0x4e9758[_0x479e6c(-_0xd74cac._0x2ad1e2,-_0xd74cac._0x1d6889,-0x267,-_0xd74cac._0x10ed77)]()['length']===0x0||_0x4e9758===_0x1044ba)return _0x1044ba;function _0x551f03(_0x197a48,_0x23c001,_0x5c8051,_0x39cc92){return _0x43e84c(_0x197a48-_0x9384af._0x1cf315,_0x23c001,_0x5c8051-_0x9384af._0x232d27,_0x39cc92-0x1cc);}return _0x1044ba+_0x479e6c(-0x148,-_0xd74cac._0x291861,-0x2b1,-0x14b)+_0x4e9758;}function createAssignTaskTool(_0x1ecb0){const _0xc9309e={_0x171ff7:0x107,_0x4e9bdf:0x1e,_0x31f088:0x182,_0x6ab1c1:0xc2,_0x4ade26:0x7c,_0x2196d9:0xcb,_0x367ae6:0x1d4,_0x2748c7:0x257,_0x4c886b:0x58,_0x7cf45c:0x1b4,_0xb57bb1:0x7e,_0x37f3e3:0xcd,_0x2b0971:0x65,_0x430457:0x146,_0x5f1569:0x12,_0x4ce341:0x18b,_0x52204f:0x16b,_0x479760:0x7a,_0x4ed292:0x157,_0x97a71c:0x100,_0x57eab9:0x57},_0x3727d9={_0x74faa8:0x1aa,_0x30cbe7:0x28c,_0x384a8e:0x64,_0x3b8a01:0x126,_0x3e91cf:0x27a,_0x237329:0x20a,_0x4a07f1:0x19c,_0x3b4022:0x1d,_0xcba34c:0x285,_0xac9739:0x3ca,_0x1b069b:0x20c,_0x52c002:0x2ec,_0x1b8324:0x41b,_0x28244d:0x2,_0x49e6bd:0x4a,_0xb3103a:0xc1,_0x33c10e:0x1cd,_0x3dc246:0x31f,_0x5b38c8:0x1d2,_0x5b8777:0xc7,_0x59c1aa:0x17c,_0x213a6d:0x75,_0x26004a:0x2a4,_0x5e565d:0x120,_0x1f7825:0x1bb,_0x23ec1c:0x108,_0x3a2890:0x1a9,_0x573cff:0x23a,_0x11ae82:0x95,_0x52dce6:0x1a9,_0xcc8dff:0x2c7,_0x3b982f:0x333,_0x54f646:0x28c,_0x1a2f45:0x258,_0x124059:0x19e,_0xa533b4:0x1,_0x483410:0x3f,_0x20ecbc:0x2c2,_0x2af56e:0x20,_0x293b93:0x6,_0x1bf81a:0x6d,_0x34fa87:0x116,_0x3a8aa9:0x21b,_0x16a7b7:0x26e,_0x3f97f8:0x16,_0xabe6ad:0x374,_0x1c7ce4:0x301,_0x10238f:0x39c,_0x1a4564:0x495,_0x154b24:0x360,_0x5a090c:0x18c,_0x4c568a:0x27d,_0x261e3a:0x1ac,_0x47fa6f:0x109,_0x5e9cb8:0x122,_0x382b7f:0x9f,_0x39f8db:0x1e4,_0x38f8a9:0x17a,_0x2481a9:0x1eb,_0x57486e:0x177,_0x1f6655:0x1d0,_0x49821f:0xea,_0x1d6114:0x35,_0xeb72c8:0x1a5,_0x1ec8c9:0x79},_0x4a8a20={_0x1a14cd:0x1fc,_0x5eb0d2:0x39f,_0x1db2bb:0x4b5,_0x451b7d:0x5ac,_0x553319:0x4a5,_0x14ee3b:0x4f5,_0x4f6ddb:0x5e2},_0x18a77b={_0x33384d:0x115},_0x1a1022={_0x494946:0x183,_0x480b51:0x174};function _0x159eb(_0x268655,_0x4c89ac,_0x3ce3d7,_0x20fd96){return _0x43e84c(_0x268655-_0x1a1022._0x494946,_0x3ce3d7,_0x3ce3d7-_0x1a1022._0x480b51,_0x20fd96- -0x3d2);}function _0x17d820(_0x7f8241,_0x164534,_0x1622cc,_0x5d0b0c){return _0x120580(_0x164534- -0x427,_0x1622cc,_0x1622cc-0xa1,_0x5d0b0c-_0x18a77b._0x33384d);}return defineTool({'name':_0x17d820(_0xc9309e._0x171ff7,_0xc9309e._0x4e9bdf,0x92,-0xd0),'description':_0x159eb(_0xc9309e._0x31f088,_0xc9309e._0x6ab1c1,-0x20,_0xc9309e._0x4ade26),'inputSchema':{'type':_0x17d820(_0xc9309e._0x2196d9,_0xc9309e._0x367ae6,_0xc9309e._0x2748c7,0x192),'properties':{'agentId':{'type':_0x17d820(_0xc9309e._0x4c886b,0xcd,-0x3d,0xde)},'description':{'type':_0x159eb(0x11e,_0xc9309e._0x7cf45c,0x3a,_0xc9309e._0xb57bb1)},'nickname':{'type':_0x17d820(0x12,_0xc9309e._0x37f3e3,_0xc9309e._0x2b0971,0x7d)},'task':{'type':_0x159eb(_0xc9309e._0x430457,0x1a,_0xc9309e._0x5f1569,0x7e)}},'required':[_0x17d820(0x2b0,0x190,_0xc9309e._0x4ce341,0x2b7),_0x159eb(0x46,_0xc9309e._0x52204f,_0xc9309e._0x479760,_0xc9309e._0x4ed292),_0x17d820(-_0xc9309e._0x97a71c,0x2a,-_0xc9309e._0x57eab9,0x1a)]},async *'execute'(_0xec6d9f,_0x28ccc3){const _0x5780f8={_0x40bc63:0x100,_0x4b3956:0xaf},_0x44443c={_0x3b8254:0x3a},_0x593512=createDelegatedRunId(),_0x37d474={'agentId':_0xec6d9f[_0x37035f(_0x3727d9._0x74faa8,_0x3727d9._0x30cbe7,0x271,0x2ec)],'parentSessionId':_0x28ccc3[_0x5d7978(0x87,-0x2,_0x3727d9._0x384a8e,-0xbc)],'runId':_0x593512,..._0x28ccc3[_0x37035f(_0x3727d9._0x3b8a01,_0x3727d9._0x3e91cf,_0x3727d9._0x237329,0x193)]!==void 0x0?{'toolCallId':_0x28ccc3[_0x5d7978(0xe,-0xc7,-_0x3727d9._0x4a07f1,0x74)]}:{}},_0x106e32=getDelegatedAgentDefinition(_0x1ecb0,_0xec6d9f[_0x5d7978(0xbe,0x92,-_0x3727d9._0x3b4022,0x1bd)]);if(!_0x106e32)throw new ToolExecutionError(_0x37035f(_0x3727d9._0xcba34c,0x332,0x27d,0x30d)+_0xec6d9f['agentId'],{'agentId':_0xec6d9f[_0x37035f(_0x3727d9._0xac9739,0x3d6,_0x3727d9._0x1b069b,_0x3727d9._0x52c002)]});const _0x3a085b=new Agent(await resolveDelegatedAgentOptions(_0x106e32,_0x37d474));let _0x2c157b={'runId':_0x593512,'agentId':_0xec6d9f[_0x37035f(_0x3727d9._0x1b8324,0x2cb,0x295,_0x3727d9._0x52c002)],'sessionId':_0x3a085b[_0x5d7978(0x56,-_0x3727d9._0x28244d,-_0x3727d9._0x49e6bd,-_0x3727d9._0xb3103a)],'status':_0x37035f(0x298,_0x3727d9._0x33c10e,_0x3727d9._0x3dc246,0x2b6),'parentSessionId':_0x28ccc3[_0x37035f(0x182,0x27e,0x34f,0x258)],..._0x28ccc3[_0x5d7978(-_0x3727d9._0x5b38c8,-_0x3727d9._0x5b8777,-0x1cf,-_0x3727d9._0x5b8777)]!==void 0x0?{'originToolCallId':_0x28ccc3['toolCallId']}:{}};function _0x37035f(_0x54c01d,_0x76692a,_0x5654de,_0x1551d4){return _0x17d820(_0x54c01d-_0x44443c._0x3b8254,_0x1551d4-0x15c,_0x76692a,_0x1551d4-0xff);}const _0x3bffb8=new AbortController(),_0x1f032f=addAbortListener(_0x28ccc3[_0x5d7978(_0x3727d9._0x59c1aa,0x106,_0x3727d9._0x213a6d,0x186)],()=>{const _0xa42d34={_0x41a699:0x35c};function _0x428960(_0x435dd7,_0x45b77a,_0x1424fa,_0x405ffc){return _0x5d7978(_0x435dd7-0x192,_0x45b77a-0x3af,_0x1424fa-0x66,_0x1424fa);}function _0x41ee7f(_0x25afa4,_0x3d7cde,_0x43e68b,_0x396fc7){return _0x37035f(_0x25afa4-0x168,_0x396fc7,_0x43e68b-0x144,_0x43e68b-_0xa42d34._0x41a699);}_0x3bffb8[_0x428960(_0x4a8a20._0x1a14cd,0x2a1,0x21e,0x29a)](_0x28ccc3[_0x428960(_0x4a8a20._0x5eb0d2,_0x4a8a20._0x1db2bb,_0x4a8a20._0x451b7d,_0x4a8a20._0x553319)]?.[_0x41ee7f(0x6d0,_0x4a8a20._0x14ee3b,_0x4a8a20._0x4f6ddb,0x52c)]);});function _0x5d7978(_0x583190,_0x473549,_0x4ef0ed,_0xbbb412){return _0x159eb(_0x583190-0x1e9,_0x473549-_0x5780f8._0x40bc63,_0xbbb412,_0x473549- -_0x5780f8._0x4b3956);}yield createToolOutput(_0x37035f(_0x3727d9._0x26004a,_0x3727d9._0x5e565d,0xb4,_0x3727d9._0x1f7825)+_0x2c157b[_0x37035f(0x2e7,0x16d,_0x3727d9._0x23ec1c,_0x3727d9._0x3a2890)]+'.',{'runId':_0x2c157b[_0x37035f(_0x3727d9._0x573cff,_0x3727d9._0x11ae82,0xbb,_0x3727d9._0x52dce6)],'agentId':_0x2c157b[_0x37035f(_0x3727d9._0xcc8dff,_0x3727d9._0x3b982f,0x206,_0x3727d9._0x52c002)],'sessionId':_0x2c157b[_0x37035f(0x1a4,0x1cb,_0x3727d9._0x54f646,_0x3727d9._0x1a2f45)],'status':_0x2c157b[_0x5d7978(0x130,0x20,-0xfc,-0x19)]});try{const _0x6d2f6c=await _0x3a085b['send'](_0xec6d9f[_0x5d7978(-_0x3727d9._0x124059,-0xd4,_0x3727d9._0xa533b4,-0x1a6)],{'signal':_0x3bffb8[_0x5d7978(_0x3727d9._0x483410,0x106,0xe8,0x2e)]});_0x2c157b={..._0x2c157b,'status':_0x6d2f6c[_0x37035f(0x1ca,_0x3727d9._0x20ecbc,0x21d,0x27a)],'result':_0x6d2f6c};if(_0x6d2f6c[_0x5d7978(-0x8c,_0x3727d9._0x2af56e,-_0x3727d9._0x293b93,-0x3b)]!==_0x5d7978(-_0x3727d9._0x1bf81a,-0xa5,-_0x3727d9._0x34fa87,0x15)){const _0x3bdcca=getRunTerminalErrorMessage(_0x6d2f6c),_0x2367cc=formatAbortedRunMessage(_0x2c157b['runId'],_0x3bdcca);throw new ToolExecutionError(_0x2367cc,{...createRunSummary(_0x2c157b),'aborted':!![],'errorMessage':_0x2367cc});}return createRunSummaryOutput(_0x2c157b,_0x37035f(_0x3727d9._0x3a8aa9,_0x3727d9._0x16a7b7,0x13,0x131)+_0x2c157b[_0x37035f(0x2c0,0x2e6,0xdc,0x1a9)]+_0x5d7978(-0xa4,-0x147,-_0x3727d9._0x3f97f8,-0x219));}catch(_0x50e2b9){if(_0x50e2b9 instanceof ToolExecutionError)throw _0x50e2b9;if(isAbortError(_0x50e2b9)||_0x3bffb8[_0x37035f(0x36a,_0x3727d9._0xabe6ad,0x49f,0x360)]['aborted']||_0x28ccc3[_0x37035f(_0x3727d9._0x1c7ce4,_0x3727d9._0x10238f,_0x3727d9._0x1a4564,_0x3727d9._0x154b24)][_0x37035f(0x191,0x18e,_0x3727d9._0x5a090c,_0x3727d9._0x4c568a)]){const _0x5bb3d8=getRunTerminalErrorMessage(_0x2c157b[_0x37035f(0x24b,_0x3727d9._0x261e3a,0x172,0x1e4)])??(_0x50e2b9 instanceof Error?_0x50e2b9[_0x5d7978(0x9f,0x2,_0x3727d9._0x47fa6f,-0x108)]:String(_0x50e2b9)),_0x4b09a5=formatAbortedRunMessage(_0x2c157b[_0x5d7978(-_0x3727d9._0x34fa87,-0xb1,-0x52,-0x1e1)],_0x5bb3d8);_0x2c157b={..._0x2c157b,'status':'aborted','errorMessage':_0x4b09a5};throw new ToolExecutionError(_0x4b09a5,{...createRunSummary(_0x2c157b),'aborted':!![],'errorMessage':_0x4b09a5});}const _0x49f899=getRunTerminalErrorMessage(_0x2c157b[_0x37035f(0x2c0,_0x3727d9._0x5e9cb8,_0x3727d9._0x382b7f,_0x3727d9._0x39f8db)])??(_0x50e2b9 instanceof Error?_0x50e2b9[_0x37035f(_0x3727d9._0x38f8a9,_0x3727d9._0x2481a9,0x354,0x25c)]:String(_0x50e2b9))??_0x5d7978(-0x10f,-0x129,-_0x3727d9._0x57486e,-_0x3727d9._0x1f6655)+_0x2c157b[_0x5d7978(-_0x3727d9._0x49821f,-0xb1,-0x3b,_0x3727d9._0x1d6114)]+_0x5d7978(0x2e,-0x10b,-_0x3727d9._0xeb72c8,-_0x3727d9._0x1ec8c9);_0x2c157b={..._0x2c157b,'status':'failed','errorMessage':_0x49f899};throw new ToolExecutionError(_0x49f899,{...createRunSummary(_0x2c157b),'errorMessage':_0x49f899});}finally{_0x1f032f();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x5ef45a){return[createAssignTaskTool(_0x5ef45a)];}import*as _0x197bfc from'path';function buildDescription2(_0x39e211){const _0x3ebf95={_0x139712:0x1c1,_0x1390d8:0x2e2,_0x590157:0x266,_0x2396e5:0x143,_0x3d1d4b:0x14a,_0x332d11:0x30c,_0x2d157e:0x9c,_0x20e550:0x128,_0x2611e2:0x195},_0xaa3f1f={_0x138b91:0x386,_0x537c4a:0xc3};if(_0x39e211['length']===0x0)return'Load\x20a\x20skill\x20by\x20name\x20to\x20get\x20detailed\x20task\x20instructions.\x20No\x20skills\x20are\x20currently\x20available.';function _0x23950e(_0x188cc3,_0x5c465c,_0x22ec82,_0x2e625b){return _0x120580(_0x2e625b- -_0xaa3f1f._0x138b91,_0x188cc3,_0x22ec82-_0xaa3f1f._0x537c4a,_0x2e625b-0x173);}const _0x5c4f2d=[_0x23950e(_0x3ebf95._0x139712,_0x3ebf95._0x1390d8,0x160,_0x3ebf95._0x590157),_0x23950e(0xdb,0x1da,0xf2,_0x3ebf95._0x2396e5),_0x23950e(0x137,0xb9,0x1f2,0xe3),'Available\x20skills\x20(skill_name:\x20description):',..._0x39e211[_0x23950e(_0x3ebf95._0x3d1d4b,_0x3ebf95._0x332d11,0x357,0x267)](_0x521b15=>'-\x20'+_0x521b15['name']+':\x20'+_0x521b15['description'])];function _0x26c96e(_0x15db1a,_0x24dfb3,_0x4fc865,_0x1d8746){return _0x120580(_0x4fc865- -0x398,_0x1d8746,_0x4fc865-0xfb,_0x1d8746-0x83);}return _0x5c4f2d[_0x23950e(_0x3ebf95._0x2d157e,0xe8,_0x3ebf95._0x20e550,_0x3ebf95._0x2611e2)]('\x0a');}function createLoadSkillTool(_0x3225b1){const _0x25589c={_0x20ee9e:0x420,_0x1f4b9d:0x514,_0x296741:0x3cb,_0x49758f:0x530,_0x34ae73:0x5c0,_0x8343fa:0x56c,_0x4e3cf8:0xc3,_0x3f8f06:0x1c1,_0x2a7170:0x157,_0x1d800f:0x7e,_0x1430a2:0x23,_0x42ce17:0x12d,_0x5ed25d:0x121},_0x2fd71a={_0x1af4b4:0x385,_0x6aac87:0x390,_0x2174c7:0x4cb,_0x144ba9:0x3d7,_0x20c9fe:0x29c,_0xae51cb:0x227,_0x58e47e:0x2f4,_0x3c6177:0x172,_0x2b112b:0x49,_0x44dd74:0x41,_0x424764:0x3b4,_0x5e11a9:0x26d,_0x5205a0:0x3f8,_0x2009ef:0x339,_0x1875e3:0x3a8,_0x24dbb9:0x439,_0x444e3a:0x12e,_0x16e968:0x31a,_0x379414:0x3b3,_0x3ba41a:0x417,_0x2d3081:0x40a,_0xcad5b2:0x374,_0x4c4243:0x3bf,_0x5569a4:0x3fa,_0x2b4447:0x140,_0x17d9f5:0x46,_0x207a7a:0x8f,_0x497fd4:0x3d,_0x30d47c:0x16,_0x32254d:0x3be,_0x1857e7:0x2b1,_0x26f269:0x8b,_0x1a4792:0x41,_0x5e753b:0x123,_0x5c51cd:0x7c,_0x40644a:0x138,_0x156bcb:0x1,_0x5a9fcb:0x48a,_0x2c7a50:0x304,_0x543bbe:0x1e3,_0x39ae37:0xb3,_0x293c8b:0x106,_0x141067:0x258},_0xe27797={_0x1a1056:0xe,_0x4fdd63:0x4ce};function _0x5673ed(_0x5db388,_0x38837f,_0x4afb83,_0x488c25){return _0x43e84c(_0x5db388-0x1c6,_0x38837f,_0x4afb83-_0xe27797._0x1a1056,_0x488c25- -_0xe27797._0x4fdd63);}const _0x8f6aa7=new Map(_0x3225b1[_0x124af9(_0x25589c._0x20ee9e,0x4ba,_0x25589c._0x1f4b9d,_0x25589c._0x296741)][_0x124af9(_0x25589c._0x49758f,0x667,_0x25589c._0x34ae73,_0x25589c._0x8343fa)](_0x3253a6=>[_0x3253a6['name'],_0x3253a6]));function _0x124af9(_0x5a5207,_0xc2e235,_0xe18800,_0x535cd3){return _0x120580(_0x5a5207- -0xbd,_0x535cd3,_0xe18800-0xca,_0x535cd3-0x8a);}const _0x57e345=buildDescription2(_0x3225b1['skills']);return defineTool({'name':'LoadSkill','description':_0x57e345,'inputSchema':{'type':'object','properties':{'name':{'type':_0x5673ed(-_0x25589c._0x4e3cf8,-_0x25589c._0x3f8f06,-_0x25589c._0x2a7170,-_0x25589c._0x1d800f)}},'required':[_0x5673ed(_0x25589c._0x1430a2,-_0x25589c._0x42ce17,-_0x25589c._0x5ed25d,-0x74)]},async *'execute'(_0x2dc34e){const _0xf2f296={_0x4a4e23:0x1b8},_0x4703e6=_0x8f6aa7['get'](_0x2dc34e[_0x5a6e78(_0x2fd71a._0x1af4b4,_0x2fd71a._0x6aac87,_0x2fd71a._0x2174c7,0x322)]);if(!_0x4703e6){const _0x264644=Array[_0x5a6e78(_0x2fd71a._0x144ba9,_0x2fd71a._0x20c9fe,_0x2fd71a._0xae51cb,0x2e1)](_0x8f6aa7[_0x5a6e78(0x487,0x410,0x32d,_0x2fd71a._0x58e47e)]())['join'](',\x20');throw new ToolExecutionError(_0x514749(0xb5,_0x2fd71a._0x3c6177,_0x2fd71a._0x2b112b,_0x2fd71a._0x44dd74)+_0x2dc34e[_0x5a6e78(_0x2fd71a._0x424764,0x390,_0x2fd71a._0x5e11a9,_0x2fd71a._0x5205a0)]+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x264644,{'name':_0x2dc34e['name']});}function _0x5a6e78(_0x27def8,_0x4937a6,_0x4ab327,_0xfb7e3d){return _0x124af9(_0x4937a6- -0xb1,_0x4937a6-0x10,_0x4ab327-_0xf2f296._0x4a4e23,_0x27def8);}const _0x536071=await _0x3225b1[_0x5a6e78(_0x2fd71a._0x2009ef,0x305,_0x2fd71a._0x1875e3,_0x2fd71a._0x24dbb9)](_0x4703e6),_0xeca34f=_0x4703e6[_0x514749(0xca,0x14a,_0x2fd71a._0x444e3a,0x1fa)][_0x5a6e78(0x2b6,0x3e5,_0x2fd71a._0x16e968,_0x2fd71a._0x379414)]??_0x197bfc[_0x5a6e78(_0x2fd71a._0x3ba41a,_0x2fd71a._0x2d3081,0x4c0,0x307)](_0x4703e6[_0x5a6e78(_0x2fd71a._0xcad5b2,_0x2fd71a._0x4c4243,0x4b1,_0x2fd71a._0x5569a4)][_0x514749(-_0x2fd71a._0x2b4447,-_0x2fd71a._0x44dd74,-_0x2fd71a._0x17d9f5,_0x2fd71a._0x207a7a)]),_0x831c9c=[_0x514749(-_0x2fd71a._0x497fd4,-_0x2fd71a._0x30d47c,0x7c,0x34)+_0x536071[_0x5a6e78(0x2ab,0x390,_0x2fd71a._0x32254d,_0x2fd71a._0x1857e7)],'',_0x536071[_0x514749(0x7d,0x53,-_0x2fd71a._0x26f269,-0xb)],'','---','Loaded\x20from:\x20'+_0x4703e6['source'][_0x514749(0xb9,-_0x2fd71a._0x1a4792,-_0x2fd71a._0x26f269,-_0x2fd71a._0x5e753b)],'Base\x20directory:\x20'+_0xeca34f][_0x514749(_0x2fd71a._0x5c51cd,_0x2fd71a._0x40644a,-_0x2fd71a._0x156bcb,0x189)]('\x0a');function _0x514749(_0x369d96,_0x1f708d,_0x28b895,_0x1821db){return _0x124af9(_0x1f708d- -0x326,_0x1f708d-0x71,_0x28b895-0x103,_0x369d96);}return yield createToolOutput(_0x831c9c,{'id':_0x536071['id'],'name':_0x536071[_0x5a6e78(_0x2fd71a._0x5a9fcb,0x390,0x482,_0x2fd71a._0x2c7a50)],'path':_0x4703e6[_0x514749(0x5e,0x14a,_0x2fd71a._0x543bbe,_0x2fd71a._0x39ae37)][_0x5a6e78(_0x2fd71a._0x293c8b,0x234,0x1ca,_0x2fd71a._0x141067)],'baseDirectory':_0xeca34f}),void 0x0;}});}var TODO_STATUSES=new Set(['pending',_0x43e84c(0x64b,0x4f1,0x4e0,0x55c),_0x43e84c(0x4e1,0x3ac,0x4c8,0x3dc)]),TODO_PRIORITIES=new Set([_0x120580(0x3bd,0x46d,0x4ec,0x44f),_0x120580(0x440,0x326,0x561,0x474),_0x43e84c(0x386,0x3fd,0x46e,0x4bc)]);function isTodoStatus(_0x39e83a){const _0x154958={_0x2834dd:0x33},_0x25eca0={_0x2648b7:0x5dc};function _0x5756b0(_0x3661a2,_0x2ab982,_0xde891c,_0x6a3bf1){return _0x120580(_0x6a3bf1- -_0x25eca0._0x2648b7,_0x2ab982,_0xde891c-0xec,_0x6a3bf1-0x15);}return typeof _0x39e83a===_0x5756b0(_0x154958._0x2834dd,-0x16d,-0xdc,-0xe8)&&TODO_STATUSES['has'](_0x39e83a);}function isTodoPriority(_0x47bfbf){const _0x1aa14e={_0x16e4ce:0x385,_0x56c81e:0x26f,_0x22856f:0x2db,_0x224563:0x485,_0x2e7860:0x2e9},_0x1cc1a1={_0x1fd4d5:0x172},_0x126d13={_0x5631d6:0x1e8,_0x2617a4:0x1e};function _0x5526ad(_0x462c0e,_0x488b89,_0x18089e,_0x40b265){return _0x43e84c(_0x462c0e-_0x126d13._0x5631d6,_0x488b89,_0x18089e-_0x126d13._0x2617a4,_0x462c0e- -0xcb);}function _0xc26238(_0x1a773c,_0x39b111,_0x288e96,_0x4423ff){return _0x43e84c(_0x1a773c-0x10a,_0x288e96,_0x288e96-0x1a2,_0x4423ff-_0x1cc1a1._0x1fd4d5);}return typeof _0x47bfbf===_0x5526ad(_0x1aa14e._0x16e4ce,_0x1aa14e._0x56c81e,0x445,_0x1aa14e._0x22856f)&&TODO_PRIORITIES[_0x5526ad(0x3a5,0x2f2,_0x1aa14e._0x224563,_0x1aa14e._0x2e7860)](_0x47bfbf);}var TodoStore=class{[_0x43e84c(0x60d,0x5cc,0x418,0x4de)]=new Map();[_0x43e84c(0x42c,0x59e,0x624,0x543)](_0x45814f){const _0x2179a6={_0x3fb459:0x6ee},_0x4f8696={_0x5456cd:0xb1};function _0x434598(_0x1e7ede,_0x1262a5,_0x4ba17a,_0x197ee6){return _0x43e84c(_0x1e7ede-0x11d,_0x4ba17a,_0x4ba17a-0x168,_0x1262a5- -0x444);}function _0x5adb42(_0x150a28,_0x52df3a,_0x12e920,_0x263e8f){return _0x120580(_0x52df3a-0xe8,_0x150a28,_0x12e920-_0x4f8696._0x5456cd,_0x263e8f-0x1dc);}return this[_0x434598(0x1cc,0x9a,0x16d,-0x9)][_0x5adb42(_0x2179a6._0x3fb459,0x702,0x6c4,0x803)](_0x45814f)??[];}[_0x43e84c(0x5b8,0x4b5,0x516,0x4ff)](_0xd0555a,_0x272013){const _0x37004c={_0x5214fe:0xe8,_0x211039:0x18c,_0x91b9c8:0x147},_0x74dc20={_0x37de04:0x2f,_0x28ae8d:0x437},_0x35fe66={_0x338147:0x76,_0x5bcd8e:0xf8};function _0x3932ae(_0x1c5e61,_0x5d6ca3,_0x384591,_0x657780){return _0x120580(_0x657780- -0x2f6,_0x384591,_0x384591-_0x35fe66._0x338147,_0x657780-_0x35fe66._0x5bcd8e);}function _0x3ff3e2(_0x3e7d27,_0x817a23,_0x220f5d,_0x89c72f){return _0x43e84c(_0x3e7d27-0x2b,_0x817a23,_0x220f5d-_0x74dc20._0x37de04,_0x89c72f- -_0x74dc20._0x28ae8d);}this[_0x3ff3e2(_0x37004c._0x5214fe,0x164,-0x38,0xa7)][_0x3ff3e2(0x21d,_0x37004c._0x211039,0x1d5,_0x37004c._0x91b9c8)](_0xd0555a,_0x272013);}[_0x120580(0x614,0x61a,0x5f9,0x4ea)](_0x2c195a){const _0xa9fda={_0x547c0d:0xaf,_0x58ca34:0x17b,_0x2aa44b:0xab,_0x38e609:0x85,_0x5df9c6:0xda,_0x11a1f6:0x601,_0x22e04e:0x6e3,_0x1dec9c:0x7ad,_0x798e3f:0x701,_0x3b046c:0x4e6,_0x1c1178:0x5b6},_0x5a046c={_0x3254a1:0xd1,_0x27515:0x17b,_0x28c4ec:0x428},_0x1c94f0={_0x239252:0x1ff};function _0x1476d0(_0x8ec315,_0x5e4a28,_0x2f9f53,_0x3aa78c){return _0x43e84c(_0x8ec315-0x1cf,_0x8ec315,_0x2f9f53-0x7a,_0x2f9f53-_0x1c94f0._0x239252);}const _0xefa5ae=this['getTodos'](_0x2c195a),_0x18855a={'total':_0xefa5ae[_0x533f4d(_0xa9fda._0x547c0d,_0xa9fda._0x58ca34,_0xa9fda._0x2aa44b,0xdb)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x533f4d(_0x107968,_0xbdd7bd,_0x365d90,_0x5392fa){return _0x43e84c(_0x107968-_0x5a046c._0x3254a1,_0x107968,_0x365d90-_0x5a046c._0x27515,_0x365d90- -_0x5a046c._0x28c4ec);}for(const _0x3b25da of _0xefa5ae){if(_0x3b25da[_0x533f4d(_0xa9fda._0x38e609,_0xa9fda._0x5df9c6,0x79,-0x63)]===_0x1476d0(0x5d4,_0xa9fda._0x11a1f6,0x701,_0xa9fda._0x22e04e))_0x18855a[_0x1476d0(0x5f3,_0xa9fda._0x1dec9c,_0xa9fda._0x798e3f,0x69e)]+=0x1;else{if(_0x3b25da[_0x1476d0(0x6e9,0x5ab,0x6a0,0x70c)]==='in_progress')_0x18855a['inProgress']+=0x1;else _0x18855a[_0x1476d0(_0xa9fda._0x3b046c,_0xa9fda._0x1c1178,0x5db,0x698)]+=0x1;}}return _0x18855a;}};function validateTodos(_0x2daf8c){const _0x20f2ef={_0xf9484a:0x2dc,_0x328ac2:0x2d9,_0x21d039:0x153,_0x18dddd:0x25c,_0x1a6f05:0x1a8,_0xb2462d:0x69,_0xbaf03a:0xf,_0x365808:0x89,_0x466cc9:0x28,_0x4e40fd:0x1f3,_0x591d58:0x1f7,_0x53a646:0x251,_0x383a6d:0x274,_0x561df4:0x1df,_0x344fcf:0x15e,_0x179c88:0x18e,_0x1e4226:0x103,_0xa9f8d3:0x31c,_0x817254:0x242,_0x2430f6:0x253,_0x4c4a2a:0x21d,_0x4da7d1:0x27,_0x1fee3f:0x1a,_0x1bd9b1:0xd2,_0x180ff3:0x0,_0x2c7c98:0x142,_0x38a017:0x16d,_0xbc447:0x1ec,_0x13f5f4:0x298,_0x2d4313:0x117,_0x2141e3:0xe9,_0x448243:0x6,_0x8beb53:0xcb,_0x5f2202:0x26a,_0x5c32e7:0x1d1,_0xa29adc:0x1e5,_0x520fb4:0x288,_0x322017:0x113,_0x1d75c4:0x57,_0x43f4fb:0x14e,_0x51c62d:0x1f1,_0x1ef4d0:0x185,_0x7f7f9e:0x18d,_0xd750c:0x1,_0x559019:0x25,_0x56a55b:0xa1,_0x22362a:0xf4,_0xdfe52f:0x13b,_0xe9a2a3:0x77,_0x3334d7:0x293,_0x4343c6:0x235,_0x32d8c7:0xa6,_0xc3e7b0:0x87,_0x5ad5a7:0x11c,_0x305555:0x14c,_0x319353:0x201,_0xd70614:0x7e,_0x419e58:0x19f,_0xeb67a0:0x262,_0x2ee850:0x1a5,_0x5cd6d0:0x5c,_0x40a985:0xe8,_0x291607:0x11f,_0x1947cd:0x140,_0x25cf7f:0x25c,_0x47f63a:0x3b,_0x5345a4:0xc0,_0x1b4841:0x73,_0xb40fd8:0xa,_0x522fb3:0x10c},_0x332883={_0x12cd8c:0x1d9},_0x8fbf71={_0xf3fa0d:0xb5,_0x3febf6:0x12b,_0x58c8ec:0x380};if(!Array['isArray'](_0x2daf8c['todos'])||_0x2daf8c[_0x10d64a(-_0x20f2ef._0xf9484a,-0x1df,-0x129,-_0x20f2ef._0x328ac2)][_0x2dad0c(0x25e,_0x20f2ef._0x21d039,_0x20f2ef._0x18dddd,_0x20f2ef._0x1a6f05)]===0x0)throw new ToolExecutionError(_0x2dad0c(_0x20f2ef._0xb2462d,-_0x20f2ef._0xbaf03a,_0x20f2ef._0x365808,-_0x20f2ef._0x466cc9),{'error':_0x2dad0c(_0x20f2ef._0x4e40fd,_0x20f2ef._0x591d58,_0x20f2ef._0x53a646,0x113)});function _0x2dad0c(_0x5b54ed,_0x5c7a3f,_0x362804,_0x50b33d){return _0x43e84c(_0x5b54ed-_0x8fbf71._0xf3fa0d,_0x50b33d,_0x362804-_0x8fbf71._0x3febf6,_0x5c7a3f- -_0x8fbf71._0x58c8ec);}for(let _0xb34b65=0x0;_0xb34b65<_0x2daf8c[_0x10d64a(-_0x20f2ef._0x383a6d,-_0x20f2ef._0x561df4,-_0x20f2ef._0x344fcf,-_0x20f2ef._0x179c88)][_0x2dad0c(0x4d,0x153,0x26d,_0x20f2ef._0x1e4226)];_0xb34b65+=0x1){const _0x2580aa=_0x2daf8c[_0x10d64a(-_0x20f2ef._0xa9f8d3,-_0x20f2ef._0x561df4,-0x2fc,-_0x20f2ef._0x817254)][_0xb34b65];if(!_0x2580aa||typeof _0x2580aa!==_0x2dad0c(_0x20f2ef._0x2430f6,0x1d7,_0x20f2ef._0x4c4a2a,0x1ff))throw new ToolExecutionError(_0x2dad0c(-_0x20f2ef._0x4da7d1,_0x20f2ef._0x1fee3f,-0xb4,_0x20f2ef._0x1bd9b1)+(_0xb34b65+0x1)+':\x20todo\x20item\x20is\x20required',{'error':_0x10d64a(_0x20f2ef._0x180ff3,0x1a,-0x2d,_0x20f2ef._0x2c7c98)});if(typeof _0x2580aa['id']!==_0x10d64a(-_0x20f2ef._0x38a017,-0xf7,-0x1d7,0x3e)||_0x2580aa['id'][_0x10d64a(-0x237,-_0x20f2ef._0xbc447,-0x140,-0x102)]()[_0x2dad0c(0x17e,_0x20f2ef._0x21d039,_0x20f2ef._0x13f5f4,0x1b3)]===0x0)throw new ToolExecutionError(_0x2dad0c(0xe1,_0x20f2ef._0x1fee3f,-0x122,-_0x20f2ef._0x2d4313)+(_0xb34b65+0x1)+_0x10d64a(-0x1d1,-_0x20f2ef._0x2141e3,_0x20f2ef._0x448243,-_0x20f2ef._0x8beb53),{'error':_0x2dad0c(_0x20f2ef._0x5f2202,_0x20f2ef._0x5c32e7,_0x20f2ef._0xa29adc,_0x20f2ef._0x520fb4)});if(typeof _0x2580aa[_0x10d64a(-_0x20f2ef._0x322017,-_0x20f2ef._0x1d75c4,0xd1,-0x5c)]!==_0x10d64a(-_0x20f2ef._0x43f4fb,-0xf7,-_0x20f2ef._0x51c62d,-_0x20f2ef._0x1ef4d0)||_0x2580aa[_0x10d64a(-0x85,-_0x20f2ef._0x1d75c4,-_0x20f2ef._0x7f7f9e,_0x20f2ef._0xd750c)][_0x2dad0c(0x53,-_0x20f2ef._0x559019,_0x20f2ef._0x56a55b,-0x8d)]()['length']===0x0)throw new ToolExecutionError(_0x10d64a(-0x19f,-0x1ad,-0x7d,-0x2be)+(_0xb34b65+0x1)+_0x2dad0c(_0x20f2ef._0x22362a,_0x20f2ef._0xdfe52f,0x19b,_0x20f2ef._0xe9a2a3),{'error':_0x10d64a(-_0x20f2ef._0x3334d7,-_0x20f2ef._0x1a6f05,-_0x20f2ef._0x4343c6,-0x1e8)});if(!isTodoStatus(_0x2580aa[_0x10d64a(-0x154,-_0x20f2ef._0x32d8c7,-_0x20f2ef._0xc3e7b0,0x40)]))throw new ToolExecutionError(_0x2dad0c(-0xf4,0x1a,0x11b,-_0x20f2ef._0x5ad5a7)+(_0xb34b65+0x1)+_0x2dad0c(_0x20f2ef._0x305555,0xd9,_0x20f2ef._0x319353,_0x20f2ef._0xd70614),{'error':'invalid_todo_status'});if(!isTodoPriority(_0x2580aa['priority']))throw new ToolExecutionError(_0x10d64a(-_0x20f2ef._0x419e58,-0x1ad,-_0x20f2ef._0xeb67a0,-_0x20f2ef._0x2ee850)+(_0xb34b65+0x1)+_0x2dad0c(-0x48,-_0x20f2ef._0x5cd6d0,_0x20f2ef._0x40a985,-0x14b),{'error':'invalid_todo_priority'});}function _0x10d64a(_0x444063,_0x38b9be,_0x16b993,_0x43a403){return _0x43e84c(_0x444063-_0x332883._0x12cd8c,_0x43a403,_0x16b993-0x14b,_0x38b9be- -0x547);}const _0x5dccd0=_0x2daf8c['todos'][_0x2dad0c(0x19e,0x1c9,0x200,0x1a6)](_0x472485=>_0x472485['id']);if(new Set(_0x5dccd0)[_0x10d64a(-0x195,-_0x20f2ef._0x291607,-_0x20f2ef._0x1947cd,-_0x20f2ef._0x25cf7f)]!==_0x5dccd0[_0x2dad0c(_0x20f2ef._0x47f63a,0x153,0x181,0x1f5)])throw new ToolExecutionError(_0x10d64a(-0x181,-_0x20f2ef._0x5345a4,_0x20f2ef._0x1b4841,-_0x20f2ef._0xb40fd8),{'error':_0x2dad0c(_0x20f2ef._0x522fb3,_0x20f2ef._0x2c7c98,0x255,0xa6)});}function createStatsProgress(_0x45e9bf){const _0x3e5329={_0x2e49e6:0x1fe,_0x37a6da:0x8e,_0x4d49a8:0x373,_0x573c1d:0x1ef,_0x533596:0x2af},_0x71845={_0x29d8f4:0x1f4,_0x1fc2fe:0x9,_0x10d37a:0x345},_0x68f39f={_0xb2d7aa:0x246};function _0x2c6ba2(_0x382af1,_0x2b6114,_0x566f57,_0x42c9a0){return _0x43e84c(_0x382af1-0x15a,_0x2b6114,_0x566f57-0x1ef,_0x42c9a0- -_0x68f39f._0xb2d7aa);}function _0x426d47(_0x26b85b,_0x73817f,_0x15adef,_0x430fca){return _0x43e84c(_0x26b85b-_0x71845._0x29d8f4,_0x15adef,_0x15adef-_0x71845._0x1fc2fe,_0x430fca- -_0x71845._0x10d37a);}return _0x45e9bf['total']>0x0?Math['round'](_0x45e9bf[_0x2c6ba2(0x210,_0x3e5329._0x2e49e6,_0x3e5329._0x37a6da,0x196)]/_0x45e9bf[_0x2c6ba2(_0x3e5329._0x4d49a8,_0x3e5329._0x573c1d,0x277,_0x3e5329._0x533596)]*0x64)+'%':'0%';}function createReminderItems(_0xda1692){const _0x2734a3={_0x4d9df2:0x25a},_0x359c5d={_0x54a7a0:0x559,_0x2dcf78:0x150,_0x45dbc3:0x9e},_0x1126d8={_0x4d9aee:0x1d9,_0x502d3f:0xaf,_0x27a5b5:0x40a};function _0x1952bc(_0x4fec06,_0x1911fd,_0x12f8ef,_0x92a739){return _0x43e84c(_0x4fec06-_0x1126d8._0x4d9aee,_0x1911fd,_0x12f8ef-_0x1126d8._0x502d3f,_0x12f8ef- -_0x1126d8._0x27a5b5);}function _0x1e152b(_0x448614,_0xba161b,_0x1b902f,_0x136002){return _0x120580(_0x136002- -_0x359c5d._0x54a7a0,_0x1b902f,_0x1b902f-_0x359c5d._0x2dcf78,_0x136002-_0x359c5d._0x45dbc3);}return _0xda1692[_0x1952bc(0x159,0x191,0x13f,_0x2734a3._0x4d9df2)](_0x2f1761=>({'content':_0x2f1761[_0x1952bc(0x139,0x119,0xe6,0x145)],'status':_0x2f1761[_0x1952bc(0x11c,-0xaa,0x97,0x1d2)],'id':_0x2f1761['id']}));}function createStructuredResult(_0x4f88a7,_0x414025,_0x3e14e5,_0x391b0c){const _0x1a1b1b={_0xb4cb0c:0x7a5,_0x243201:0x6d1,_0x1a3487:0x7f0,_0x10e832:0x244},_0x3c439d={_0x149f8c:0x18d},_0x3fe366={_0xe54d72:0xd0,_0x570867:0x142};function _0x2ef7e0(_0x4e9475,_0x1ca785,_0x4a4f3f,_0x2d3185){return _0x43e84c(_0x4e9475-_0x3fe366._0xe54d72,_0x1ca785,_0x4a4f3f-_0x3fe366._0x570867,_0x2d3185- -0x28f);}function _0x4fb861(_0x13e3c4,_0x10b2a6,_0x187c6e,_0x1e8cb3){return _0x120580(_0x10b2a6-0xe4,_0x13e3c4,_0x187c6e-0x92,_0x1e8cb3-_0x3c439d._0x149f8c);}return{'allCompleted':_0x391b0c,'items':_0x414025[_0x4fb861(_0x1a1b1b._0xb4cb0c,_0x1a1b1b._0x243201,0x5b8,_0x1a1b1b._0x1a3487)](_0x374c7=>({'id':_0x374c7['id'],'content':_0x374c7[_0x2ef7e0(0x328,0x30a,0x254,0x261)],'status':_0x374c7['status'],'priority':_0x374c7['priority'],'createdAt':_0x374c7['createdAt']})),'progress':createStatsProgress(_0x3e14e5),'recentChanges':!![],'sessionId':_0x4f88a7,'stats':_0x3e14e5,'todosWritten':_0x414025[_0x2ef7e0(0x37b,0x220,0x362,_0x1a1b1b._0x10e832)]};}function createOutputText(_0x155b41,_0x3635d7){const _0x2bb79e={_0xa0b36f:0x5f7,_0x1d5a53:0x568,_0x3f95f7:0x23,_0x595cda:0x66,_0x1f1d7c:0x2e,_0x1547bc:0xd9,_0x39c617:0x635,_0x546fc6:0x4ef,_0x28426a:0x244,_0x1c2299:0x12f,_0x201594:0x6f4,_0x5c267a:0x6b6,_0x5618f7:0x51b},_0x418b25={_0x3f8d09:0xe7};function _0x1141e8(_0x186f48,_0x46cfd9,_0x24e8c9,_0x40fc92){return _0x43e84c(_0x186f48-0x44,_0x40fc92,_0x24e8c9-0xc0,_0x46cfd9- -0x36c);}const _0x4a2aad=JSON[_0x5697af(0x65e,_0x2bb79e._0xa0b36f,0x590,_0x2bb79e._0x1d5a53)](createReminderItems(_0x155b41));function _0x5697af(_0xf48b02,_0x16c675,_0x277408,_0x5ea673){return _0x120580(_0xf48b02-0x9d,_0x5ea673,_0x277408-_0x418b25._0x3f8d09,_0x5ea673-0xdc);}if(_0x3635d7)return'All\x20'+_0x155b41['length']+_0x1141e8(-_0x2bb79e._0x3f95f7,_0x2bb79e._0x595cda,-_0x2bb79e._0x1f1d7c,-_0x2bb79e._0x1547bc)+_0x4a2aad+_0x5697af(_0x2bb79e._0x39c617,0x76a,_0x2bb79e._0x546fc6,0x664);return _0x1141e8(_0x2bb79e._0x28426a,0x148,_0x2bb79e._0x1c2299,0x273)+_0x4a2aad+_0x5697af(0x635,_0x2bb79e._0x201594,_0x2bb79e._0x5c267a,_0x2bb79e._0x5618f7);}function createTodoWriteTool(_0x84ee17=new TodoStore()){const _0x523936={_0x362b7:0x68,_0x4f3f54:0x10b,_0x1e1ebb:0xce,_0x6249dd:0x1a5,_0x5c3506:0xb9,_0x21a109:0xf8,_0x121f48:0x13b,_0x20faf9:0x315,_0x53f9cb:0x232,_0x50476a:0x2f3,_0x24e1a6:0x19a,_0x492f01:0xc8,_0xfde1:0x10c,_0x1a8114:0x122,_0x594d15:0x215,_0x301d69:0x14a},_0x44e7fc={_0x348b56:0x347,_0x53cc7b:0x24d,_0xf89f27:0x12c,_0x414918:0x1e8,_0x390384:0x119,_0x1696cd:0x10,_0x5c6f9f:0xf3,_0x24c773:0xca,_0x1056d9:0x181,_0x58eb3a:0x7d,_0x3910f5:0x3ed,_0x4bbf8e:0x283,_0x2b202b:0x378,_0x59c931:0x319,_0x25daf5:0x255,_0x1b0e28:0xf},_0x440556={_0x2a0fde:0xbf},_0x4994ec={_0x374c93:0x2c2,_0x50cb2e:0x19e,_0x51b98a:0x58},_0x2010b2={_0x97a578:0x163};function _0x1eaaf0(_0xa4a0a5,_0x2b2ef6,_0x5224fe,_0x51eb84){return _0x120580(_0xa4a0a5- -0x4bd,_0x2b2ef6,_0x5224fe-0x1c3,_0x51eb84-_0x2010b2._0x97a578);}function _0x5cdcc1(_0x3a4ced,_0x5abaa8,_0x24f930,_0x38414f){return _0x120580(_0x38414f- -_0x4994ec._0x374c93,_0x24f930,_0x24f930-_0x4994ec._0x50cb2e,_0x38414f-_0x4994ec._0x51b98a);}return defineTool({'name':_0x5cdcc1(0x29d,0x123,0x1af,0x211),'description':_0x1eaaf0(-_0x523936._0x362b7,0xdc,0x11,0x77),'inputSchema':{'type':_0x1eaaf0(0x13e,0xf4,0x1e8,_0x523936._0x4f3f54),'properties':{'todos':{'type':_0x1eaaf0(0x74,-_0x523936._0x1e1ebb,-0xa0,_0x523936._0x6249dd),'items':{'type':_0x1eaaf0(0x13e,_0x523936._0x5c3506,0x1c2,0x53),'properties':{'content':{'type':'string'},'status':{'type':_0x5cdcc1(_0x523936._0x21a109,_0x523936._0x121f48,_0x523936._0x20faf9,_0x523936._0x53f9cb)},'priority':{'type':_0x5cdcc1(0x313,_0x523936._0x50476a,_0x523936._0x24e1a6,0x232)},'id':{'type':_0x1eaaf0(0x37,_0x523936._0x492f01,-_0x523936._0xfde1,0x148)},'createdAt':{'type':_0x1eaaf0(0x37,_0x523936._0x1a8114,-0x44,-0x51)}},'required':[_0x5cdcc1(0x3be,0x2b1,0x1ca,0x2d2),_0x5cdcc1(0x261,0x27e,0x230,0x283),'priority','id']}}},'required':[_0x5cdcc1(_0x523936._0x594d15,0x1d6,0xdc,_0x523936._0x301d69)]},async *'execute'(_0x31316b,_0x2669a5){const _0x3f3c62={_0x8094d8:0x1ed,_0x106e20:0x37},_0x4fc1fa=_0x31316b;validateTodos(_0x4fc1fa);const _0xbf8f7d=_0x2669a5[_0x1c6752(0x322,0x298,_0x44e7fc._0x348b56,_0x44e7fc._0x53cc7b)]||_0x45a030(0x247,_0x44e7fc._0xf89f27,_0x44e7fc._0x414918,0x10a),_0x4b4112=new Date()[_0x45a030(_0x44e7fc._0x390384,_0x44e7fc._0x1696cd,0x8f,_0x44e7fc._0x5c6f9f)](),_0x2fa554=_0x4fc1fa[_0x1c6752(_0x44e7fc._0x24c773,_0x44e7fc._0x1056d9,_0x44e7fc._0x58eb3a,0x1db)][_0x1c6752(0x321,0x362,_0x44e7fc._0x3910f5,0x320)](_0x17b9a0=>({'id':_0x17b9a0['id'],'content':_0x17b9a0['content'],'status':_0x17b9a0[_0x1c6752(0x197,0x2ba,0x251,0x2e9)],'priority':_0x17b9a0[_0x1c6752(0x31c,0x2a8,0x23f,0x2b2)],'sessionId':_0xbf8f7d,'createdAt':_0x17b9a0[_0x1c6752(0x35b,0x306,0x2a0,0x1e9)]||_0x4b4112,'updatedAt':_0x4b4112}));function _0x1c6752(_0x5334d7,_0x432fe8,_0x5668e0,_0xd343fe){return _0x5cdcc1(_0x5334d7-_0x3f3c62._0x8094d8,_0x432fe8-0x76,_0xd343fe,_0x432fe8-_0x3f3c62._0x106e20);}_0x84ee17[_0x1c6752(0x38f,0x318,_0x44e7fc._0x4bbf8e,_0x44e7fc._0x2b202b)](_0xbf8f7d,_0x2fa554);function _0x45a030(_0x2bf6ad,_0x47a90f,_0x4f483c,_0x2e59fa){return _0x1eaaf0(_0x47a90f-0xd,_0x4f483c,_0x4f483c-_0x440556._0x2a0fde,_0x2e59fa-0xb5);}const _0x5ea45c=_0x84ee17[_0x1c6752(0x47d,0x389,_0x44e7fc._0x59c931,_0x44e7fc._0x25daf5)](_0xbf8f7d),_0x57972a=_0x2fa554['length']>0x0&&_0x2fa554[_0x1c6752(0x139,0x11d,-_0x44e7fc._0x1b0e28,0x19e)](_0x10caaf=>_0x10caaf[_0x45a030(0x1c8,0x95,0x144,-0x27)]===_0x1c6752(0x275,0x1f5,0x1a4,0x1b4));return createToolOutput(createOutputText(_0x2fa554,_0x57972a),createStructuredResult(_0xbf8f7d,_0x2fa554,_0x5ea45c,_0x57972a));}});}import{mkdir as _0x34614e,writeFile as _0x4e7d84}from'fs/promises';import*as _0x385fe2 from'path';function sanitizeFileName(_0xc2fc62){const _0x59a621={_0x574f91:0xcc,_0x1310ea:0x6},_0x13cfbd={_0x527ef7:0x7d,_0x1f79ce:0x3da};function _0xeaf5e6(_0x285fd0,_0x1b307e,_0x4a6909,_0x53b63f){return _0x43e84c(_0x285fd0-0x1eb,_0x1b307e,_0x4a6909-_0x13cfbd._0x527ef7,_0x4a6909- -_0x13cfbd._0x1f79ce);}return _0xc2fc62[_0xeaf5e6(-0x119,_0x59a621._0x574f91,-_0x59a621._0x1310ea,-0x33)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x4f204f,_0x4b0160){const _0x6da8e5={_0x4fecdf:0x53a,_0x34e0cb:0x131,_0xc5391c:0x94,_0x1b8954:0x89,_0x454db7:0x165,_0x44f5b8:0x104,_0x225b50:0x3,_0x49adcf:0x26d,_0x19cec8:0x3bf,_0x421fb9:0x404,_0x50344f:0x5fa,_0x47d447:0x4bb,_0x14aab9:0xcd,_0x45b95a:0xad,_0x433e6e:0x4d0,_0x4867c8:0x297,_0x591afe:0x274,_0x41398d:0x1a2,_0x116e6a:0x520,_0x463d56:0x53d,_0x20c894:0x129,_0x412a1e:0x174,_0x313c97:0xfd,_0x6e0205:0x42b,_0x3de1c0:0x475,_0x2c67f8:0x4d9,_0x5168cc:0x170,_0x300ebe:0x5dc,_0x597859:0x4cb,_0x55c51d:0xe1,_0x3b87d6:0x490,_0x3be8d1:0x4ba,_0x12a0ae:0x4dc,_0x46fe1f:0x57c,_0x3c0ac5:0x519,_0xa9b7c0:0x4ca,_0x3620c0:0x4fc,_0x1c0b31:0x324,_0x4dfbab:0x468,_0x355869:0x513,_0x372bf0:0x3d3,_0x2ec511:0x20b,_0x2043e3:0x11d,_0x489299:0x4d4,_0x53c077:0x59f,_0x3efae5:0x4ec,_0x50a5b1:0x3df,_0x4c019f:0x60c,_0x29a6dd:0x502,_0xe0e6e8:0x4be,_0x4ee492:0x101},_0xcd32f8={_0xf77d48:0x159,_0x4f4307:0xdf,_0x4c5d29:0x368},_0x3181a4={_0x2767d6:0x8},{maxBytes:_0x5860b3,sessionDir:_0x30a4da}=_0x4b0160;if(!_0x4f204f[_0x260db4(_0x6da8e5._0x4fecdf,0x538,0x4d6,0x525)]||Buffer['byteLength'](_0x4f204f[_0x1f6805(_0x6da8e5._0x34e0cb,0x217,_0x6da8e5._0xc5391c,0x170)],_0x1f6805(0x170,0x226,_0x6da8e5._0x1b8954,_0x6da8e5._0x454db7))<=_0x5860b3)return _0x4f204f;const _0x299aee=Buffer[_0x1f6805(0xa8,0x4a,-_0x6da8e5._0x44f5b8,-_0x6da8e5._0x225b50)](_0x4f204f['output'],_0x1f6805(_0x6da8e5._0x49adcf,0x206,0x1e9,_0x6da8e5._0x454db7));if(!_0x30a4da){const _0x32dfe1=_0x4f204f[_0x260db4(_0x6da8e5._0x19cec8,_0x6da8e5._0x421fb9,0x4d6,0x4fe)]['slice'](0x0,_0x5860b3);return{..._0x4f204f,'output':_0x32dfe1+(_0x260db4(_0x6da8e5._0x50344f,0x50d,0x56a,_0x6da8e5._0x47d447)+_0x5860b3+_0x1f6805(0x7c,0x7c,_0x6da8e5._0x14aab9,_0x6da8e5._0x45b95a)+_0x299aee+'\x20bytes).\x20No\x20session\x20directory\x20available\x20for\x20file\x20offload.\x0a</system-reminder>'),'meta':{..._0x4f204f['meta'],'truncated':!![],'originalBytes':_0x299aee,'transforms':[..._0x4f204f[_0x260db4(0x552,0x50b,0x4ec,_0x6da8e5._0x433e6e)][_0x1f6805(0xbd,0xc1,0x244,0x19c)],_0x1f6805(0x25d,_0x6da8e5._0x4867c8,_0x6da8e5._0x591afe,_0x6da8e5._0x41398d)]}};}const _0x3a0676=_0x4f204f[_0x260db4(0x43a,0x241,0x35a,0x2a9)]+'_'+sanitizeFileName(_0x4f204f[_0x260db4(0x410,_0x6da8e5._0x116e6a,0x40b,_0x6da8e5._0x463d56)])+_0x1f6805(_0x6da8e5._0x20c894,_0x6da8e5._0x412a1e,0x42,_0x6da8e5._0x313c97);function _0x260db4(_0x14fed3,_0x46a8dd,_0x208f44,_0x54fb03){return _0x43e84c(_0x14fed3-0x119,_0x46a8dd,_0x208f44-_0x3181a4._0x2767d6,_0x208f44- -0x2);}const _0x5b74e8=_0x385fe2[_0x260db4(_0x6da8e5._0x6e0205,0x4b3,_0x6da8e5._0x3de1c0,_0x6da8e5._0x2c67f8)](_0x30a4da,_0x3a0676);await _0x34614e(_0x30a4da,{'recursive':!![]}),await _0x4e7d84(_0x5b74e8,_0x4f204f[_0x1f6805(0xdc,0x222,0x68,_0x6da8e5._0x5168cc)],_0x260db4(_0x6da8e5._0x300ebe,0x611,_0x6da8e5._0x597859,0x57e));let _0xcb34a4=_0x4f204f[_0x1f6805(0x1e4,0xa7,_0x6da8e5._0x55c51d,0x170)]['slice'](0x0,_0x5860b3);const _0x6675a5=_0xcb34a4[_0x260db4(0x47d,0x2f6,0x37b,_0x6da8e5._0x3b87d6)]('\x0a');_0x6675a5>_0x5860b3*0.5&&(_0xcb34a4=_0xcb34a4[_0x260db4(0x4bc,_0x6da8e5._0x3be8d1,0x55b,0x5be)](0x0,_0x6675a5));function _0x1f6805(_0x2fdb19,_0x2c1766,_0xa2e8eb,_0x59a5e5){return _0x43e84c(_0x2fdb19-_0xcd32f8._0xf77d48,_0xa2e8eb,_0xa2e8eb-_0xcd32f8._0x4f4307,_0x59a5e5- -_0xcd32f8._0x4c5d29);}const _0xf0f360=['','<system-reminder>',_0x260db4(_0x6da8e5._0x12a0ae,_0x6da8e5._0x46fe1f,_0x6da8e5._0x3c0ac5,_0x6da8e5._0xa9b7c0)+_0x5860b3+_0x260db4(_0x6da8e5._0x3620c0,_0x6da8e5._0x1c0b31,_0x6da8e5._0x4dfbab,_0x6da8e5._0x355869)+_0x299aee+_0x260db4(0x50b,0x2a1,_0x6da8e5._0x372bf0,0x517),_0x1f6805(0xeb,0x327,_0x6da8e5._0x2ec511,0x201)+_0x5b74e8,_0x260db4(0x481,0x698,0x556,0x63d),_0x1f6805(0x57,0x143,0x3b,_0x6da8e5._0x2043e3)][_0x260db4(_0x6da8e5._0x489299,_0x6da8e5._0x53c077,0x475,0x3c6)]('\x0a');return{..._0x4f204f,'output':_0xcb34a4+_0xf0f360,'meta':{..._0x4f204f['meta'],'truncated':!![],'originalBytes':_0x299aee,'transforms':[..._0x4f204f[_0x260db4(0x47f,0x536,_0x6da8e5._0x3efae5,_0x6da8e5._0x50a5b1)][_0x260db4(0x552,_0x6da8e5._0x4c019f,_0x6da8e5._0x29a6dd,_0x6da8e5._0xe0e6e8)],_0x1f6805(_0x6da8e5._0x4ee492,0x1ad,0x249,_0x6da8e5._0x41398d)]}};}import{readFile as _0x476dfb,stat as _0x7ae06e}from'fs/promises';import*as _0x358d0a from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set(['auto',_0x120580(0x3bd,0x3b5,0x2ed,0x419),_0x120580(0x560,0x490,0x427,0x421),_0x43e84c(0x61e,0x3cb,0x53f,0x4fa)]),PNG_SIGNATURE=Buffer[_0x43e84c(0x2a2,0x37c,0x22a,0x366)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0xc09e58,_0x15f2b0){const _0x130a9a={_0x50db6d:0xf5,_0x143f04:0x158,_0x146034:0xd2,_0x32b1f3:0x617,_0x2df0dc:0x5d6,_0x2de2ef:0x5fc,_0x365598:0x307,_0x20b116:0x396,_0x2b4719:0x3b2,_0x3f49d1:0x478,_0x1b1196:0x396,_0x3a9e59:0x50,_0x38e2f3:0x15c,_0x5ed0ba:0x43,_0x9e395b:0x1f,_0x518eaa:0x127,_0x222ae9:0x170,_0x35aa9b:0x3ed,_0x5343db:0x39f,_0x58c9d7:0x3be,_0x3da88a:0x436,_0xad07bd:0x471,_0xd54bf4:0x5c,_0x27c7e2:0x48,_0x5d0200:0x3a,_0x58d620:0x11f,_0x24d2e9:0x413,_0x50b895:0x4ed,_0x25d975:0x316,_0x57175f:0x3b9,_0x12e7e1:0x42f,_0x10c84a:0x36a,_0x4e550d:0x3d2,_0x3201b4:0x1c1,_0x58573a:0x15b,_0x4ed04d:0x24e,_0x1d257e:0x195,_0x13ee53:0x1e8,_0x1c71e6:0x241,_0x53e03d:0x259,_0x3d4518:0xe5,_0xbd56c7:0x148,_0x5c8492:0x52,_0x49f1a8:0x683,_0x3cde8e:0x5b5,_0x432162:0x565,_0x440e9e:0x94,_0x5ddf70:0x14,_0x546221:0xed,_0x489c1b:0x197,_0x3edb51:0x3fd,_0x4bb944:0x41b,_0x1ea81d:0x279,_0x3c8b88:0x23e,_0x2cf0d8:0x15b},_0x16b9e4={_0x3c4461:0xb0},_0x508a28={_0x43aa2e:0x38e,_0x2a22ff:0x1c3,_0x4f2d6f:0x140};if(_0xc09e58['subarray'](0x0,0x8)[_0x2c232e(_0x130a9a._0x50db6d,_0x130a9a._0x143f04,_0x130a9a._0x146034,0x166)](PNG_SIGNATURE))return _0x3bf9cf(_0x130a9a._0x32b1f3,_0x130a9a._0x2df0dc,_0x130a9a._0x2de2ef,0x55a);function _0x2c232e(_0x59bf4c,_0x200708,_0x3b28a6,_0x3db99b){return _0x120580(_0x3b28a6- -_0x508a28._0x43aa2e,_0x3db99b,_0x3b28a6-_0x508a28._0x2a22ff,_0x3db99b-_0x508a28._0x4f2d6f);}if(_0xc09e58[0x0]===0xff&&_0xc09e58[0x1]===0xd8&&_0xc09e58[0x2]===0xff)return _0x3bf9cf(0x400,0x269,0x2ae,0x3ac);const _0x1e4e52=_0xc09e58[_0x3bf9cf(_0x130a9a._0x365598,_0x130a9a._0x20b116,0x27e,0x3be)](0x0,0x6)[_0x3bf9cf(_0x130a9a._0x2b4719,_0x130a9a._0x3f49d1,_0x130a9a._0x1b1196,0x495)](_0x2c232e(_0x130a9a._0x3a9e59,_0x130a9a._0x38e2f3,_0x130a9a._0x5ed0ba,0x38));if(_0x1e4e52===_0x2c232e(_0x130a9a._0x9e395b,0x3d,_0x130a9a._0x518eaa,_0x130a9a._0x222ae9)||_0x1e4e52==='GIF89a')return'image/gif';if(_0xc09e58[_0x3bf9cf(_0x130a9a._0x35aa9b,0x3c1,_0x130a9a._0x5343db,_0x130a9a._0x58c9d7)](0x0,0x4)['toString'](_0x3bf9cf(0x4ff,_0x130a9a._0x3da88a,_0x130a9a._0xad07bd,0x3b9))===_0x3bf9cf(0x345,0x47e,0x27d,0x398)&&_0xc09e58[_0x2c232e(0x3a,-_0x130a9a._0xd54bf4,0x48,-_0x130a9a._0x27c7e2)](0x8,0xc)[_0x2c232e(0x10b,_0x130a9a._0x5d0200,_0x130a9a._0x58d620,0x6a)](_0x3bf9cf(_0x130a9a._0x24d2e9,_0x130a9a._0x50b895,_0x130a9a._0x25d975,_0x130a9a._0x57175f))===_0x3bf9cf(_0x130a9a._0x12e7e1,0x444,_0x130a9a._0x10c84a,_0x130a9a._0x4e550d))return _0x2c232e(_0x130a9a._0x3201b4,0x156,_0x130a9a._0x58573a,_0x130a9a._0x4ed04d);const _0x4364e2=_0x358d0a[_0x2c232e(_0x130a9a._0x1d257e,_0x130a9a._0x13ee53,_0x130a9a._0x1c71e6,_0x130a9a._0x53e03d)](_0x15f2b0)[_0x2c232e(0x248,_0x130a9a._0x3d4518,_0x130a9a._0xbd56c7,0x83)]();if(_0x4364e2===_0x2c232e(0x103,0x171,_0x130a9a._0x5c8492,0x137))return'image/png';if(_0x4364e2===_0x3bf9cf(_0x130a9a._0x49f1a8,0x4b2,0x498,0x573)||_0x4364e2===_0x3bf9cf(0x43b,0x659,_0x130a9a._0x3cde8e,_0x130a9a._0x432162))return _0x2c232e(_0x130a9a._0x440e9e,0x47,0x36,-0x4a);if(_0x4364e2===_0x2c232e(0xc4,_0x130a9a._0x5ddf70,_0x130a9a._0x546221,_0x130a9a._0x489c1b))return _0x3bf9cf(0x409,0x4ad,_0x130a9a._0x3edb51,_0x130a9a._0x4bb944);function _0x3bf9cf(_0x4b1841,_0x3a8c52,_0x3cb9aa,_0x25818c){return _0x120580(_0x25818c- -0x18,_0x3a8c52,_0x3cb9aa-_0x16b9e4._0x3c4461,_0x25818c-0x51);}if(_0x4364e2===_0x2c232e(0x13a,0x1bf,0x154,_0x130a9a._0x1ea81d))return _0x2c232e(_0x130a9a._0x3c8b88,0xed,_0x130a9a._0x2cf0d8,0x285);return void 0x0;}function normalizeDetail(_0x3bf82b){const _0x3bbb9f={_0x231c99:0x21d,_0x399e78:0x163,_0x465dbf:0x2bb,_0x41b902:0x66,_0x3ff8ae:0x2a,_0x372d10:0x5a,_0x6e5caa:0x4e,_0x5baa15:0x47},_0x28b8ed={_0x43d504:0x38c};if(_0x3bf82b===void 0x0)return void 0x0;const _0x4e8a38=_0x3bf82b[_0x22455c(-0x17b,-_0x3bbb9f._0x231c99,-_0x3bbb9f._0x399e78,-_0x3bbb9f._0x465dbf)]()['toLowerCase']();function _0x3089e3(_0x3269be,_0xecc513,_0x539d7a,_0x4a8aaa){return _0x43e84c(_0x3269be-0x125,_0x4a8aaa,_0x539d7a-0x1b9,_0x3269be- -_0x28b8ed._0x43d504);}if(!SUPPORTED_DETAILS[_0x22455c(-_0x3bbb9f._0x41b902,-_0x3bbb9f._0x3ff8ae,0x34,_0x3bbb9f._0x372d10)](_0x4e8a38))throw new ToolExecutionError(_0x3089e3(-0x75,-0x1af,_0x3bbb9f._0x6e5caa,_0x3bbb9f._0x5baa15)+_0x3bf82b,{'detail':_0x3bf82b});function _0x22455c(_0x1278a3,_0x671959,_0x5e1c0d,_0x4fb520){return _0x43e84c(_0x1278a3-0x1a9,_0x4fb520,_0x5e1c0d-0x122,_0x1278a3- -0x4d6);}return _0x4e8a38;}function createViewFileTool(_0x1d5f6c={}){const _0x7e5da1={_0x48a288:0x505,_0x586f0b:0x75e,_0x570574:0x79e,_0x2f5042:0x4c3,_0x44366b:0x458,_0x227ff0:0x44b,_0x1ceef7:0x5be,_0x4fcc25:0x79c,_0x5ccdb1:0x67f,_0x23e7f4:0x4d3,_0x3a77cf:0x47e,_0x37372a:0x651,_0x132a40:0x4df,_0x2db985:0x7ae,_0x1410bb:0x644,_0x12214f:0x68d,_0x37308f:0x6e0,_0x4b0773:0x57b,_0x1ae08f:0x7d9,_0x20e814:0x6b2,_0x56add6:0x428,_0x1ea7f6:0x421},_0x227a3c={_0x203bc2:0x346,_0x497168:0x5c4,_0x28715c:0x49e,_0x146791:0x437,_0x53e127:0x4d3,_0x2872ec:0x350,_0x453afd:0x306,_0x27606e:0x360,_0x2d4ced:0x4b4,_0x2c5cbc:0x2bb,_0x138a8e:0x273,_0x124aa0:0x4e8,_0x60a71c:0x5e3,_0xb516a2:0x596,_0x58129:0x55f,_0x297f39:0x6f1,_0x511658:0x661,_0xa1fa5b:0x4f3,_0x13d6ec:0x7c7,_0x115cdf:0x6ed,_0x35cc22:0x55f,_0x166685:0x486,_0x4e602d:0x268,_0xf09872:0xfd,_0x367beb:0x81,_0x1059e9:0x253,_0x79c84b:0x1bb,_0x265545:0x668,_0x14ecea:0x69,_0x5e4a5f:0x102,_0x4fb646:0x14d,_0x695fa1:0x109,_0x5a2c82:0x598,_0x12e526:0x10c,_0x4740c6:0x214,_0x392e15:0x4bf,_0x2bcbe1:0x4ba,_0x423d51:0x4d5,_0x4c5434:0x5f8,_0x655e0:0x63b,_0x3a0678:0x5de,_0x1bf78d:0x5ba,_0x46df33:0x54b,_0x3e6b21:0x5a4,_0x47733e:0x5ee,_0x1949ac:0x33,_0x498738:0x1c0,_0x364079:0x92},_0x44d4d8={_0x1625e3:0x92},_0x528114={_0x4356bc:0xc9,_0x404f75:0x262};function _0x32439b(_0x546f19,_0x28f366,_0x401732,_0x2f5b2a){return _0x43e84c(_0x546f19-0x6c,_0x28f366,_0x401732-_0x528114._0x4356bc,_0x2f5b2a-_0x528114._0x404f75);}function _0x5a9214(_0x3038d7,_0x4ccbe4,_0x1a0624,_0x2d4d93){return _0x120580(_0x2d4d93-_0x44d4d8._0x1625e3,_0x4ccbe4,_0x1a0624-0x65,_0x2d4d93-0x74);}const _0x1c7a38=_0x358d0a[_0x5a9214(0x5f2,0x470,_0x7e5da1._0x48a288,0x4bb)](_0x1d5f6c[_0x32439b(0x5df,_0x7e5da1._0x586f0b,_0x7e5da1._0x570574,0x6c9)]??process[_0x5a9214(0x5f4,_0x7e5da1._0x2f5042,0x570,0x4b1)]()),_0x3b0750=(_0x1d5f6c[_0x5a9214(_0x7e5da1._0x44366b,0x415,0x30c,_0x7e5da1._0x227ff0)]??[])[_0x5a9214(_0x7e5da1._0x1ceef7,_0x7e5da1._0x4fcc25,0x744,_0x7e5da1._0x5ccdb1)](_0x593eb0=>_0x358d0a[_0x5a9214(0x518,0x5e9,0x601,0x4bb)](_0x593eb0)),_0x2c3057=_0x1d5f6c['maxBytes']??DEFAULT_MAX_BYTES,_0x556a4f=_0x1d5f6c[_0x5a9214(0x66b,0x4c4,_0x7e5da1._0x23e7f4,0x590)]??_0x5a9214(_0x7e5da1._0x3a77cf,_0x7e5da1._0x37372a,_0x7e5da1._0x132a40,0x52c);return defineTool({'name':_0x556a4f,'description':_0x32439b(0x6b1,0x86c,0x67c,_0x7e5da1._0x2db985),'inputSchema':{'type':_0x5a9214(0x6c4,_0x7e5da1._0x1410bb,0x664,_0x7e5da1._0x12214f),'properties':{'path':{'type':_0x32439b(_0x7e5da1._0x37308f,_0x7e5da1._0x4b0773,_0x7e5da1._0x1ae08f,_0x7e5da1._0x20e814)},'detail':{'type':'string'}},'required':[_0x5a9214(_0x7e5da1._0x56add6,_0x7e5da1._0x1ea7f6,0x38e,0x434)]},async *'execute'(_0xe998a9){const _0xb742de={_0x12a769:0xf3},_0x33452a=resolveAllowedPath(_0x1c7a38,_0x3b0750,_0xe998a9[_0x3515bd(_0x227a3c._0x203bc2,0x52f,_0x227a3c._0x497168,0x486)]);await assertWorkspaceFile(_0x33452a);const _0xf72158=await _0x7ae06e(_0x33452a);function _0x809c59(_0x591598,_0x3f9ada,_0x1cf1ef,_0x420131){return _0x5a9214(_0x591598-0x6b,_0x3f9ada,_0x1cf1ef-_0xb742de._0x12a769,_0x1cf1ef- -0x648);}if(_0xf72158[_0x3515bd(_0x227a3c._0x28715c,0x4aa,0x613,0x5b0)]>_0x2c3057)throw new ToolExecutionError('Image\x20file\x20is\x20too\x20large:\x20'+_0xe998a9[_0x3515bd(0x575,_0x227a3c._0x146791,_0x227a3c._0x53e127,0x486)],{'path':_0xe998a9[_0x809c59(-_0x227a3c._0x2872ec,-_0x227a3c._0x453afd,-0x214,-0x255)],'maxBytes':_0x2c3057,'size':_0xf72158['size']});const _0x36fb4e=await _0x476dfb(_0x33452a),_0x5909c4=detectImageMediaType(_0x36fb4e,_0x33452a);if(!_0x5909c4)throw new ToolExecutionError('Unsupported\x20image\x20file:\x20'+_0xe998a9[_0x3515bd(_0x227a3c._0x27606e,0x470,_0x227a3c._0x2d4ced,0x486)],{'path':_0xe998a9[_0x809c59(-_0x227a3c._0x2c5cbc,-_0x227a3c._0x138a8e,-0x214,-0x2f3)],'supported':[_0x3515bd(_0x227a3c._0x124aa0,_0x227a3c._0x60a71c,_0x227a3c._0xb516a2,_0x227a3c._0x58129),_0x3515bd(0x6ea,_0x227a3c._0x297f39,0x6bc,_0x227a3c._0x511658),'.jpg','.png',_0x3515bd(0x558,0x481,_0x227a3c._0xa1fa5b,0x5c6)]});const _0xb5ad0d=normalizeDetail(_0xe998a9[_0x3515bd(_0x227a3c._0x13d6ec,0x686,0x64b,_0x227a3c._0x115cdf)]),_0x1ddac5=['Viewed\x20image\x20file:\x20'+_0xe998a9[_0x3515bd(_0x227a3c._0x35cc22,0x553,0x584,_0x227a3c._0x166685)],_0x809c59(-_0x227a3c._0x4e602d,-_0x227a3c._0xf09872,-0x191,-_0x227a3c._0x367beb)+_0x5909c4,_0x809c59(-_0x227a3c._0x1059e9,-0x138,-_0x227a3c._0x79c84b,-0x1da)+_0xf72158['size']+'\x20bytes'][_0x3515bd(0x61d,0x70c,0x710,0x664)](_0xb5ad0d?['Detail:\x20'+_0xb5ad0d]:[])[_0x3515bd(0x529,_0x227a3c._0x265545,0x575,0x5ff)]('\x0a');function _0x3515bd(_0x20dd80,_0x17ab01,_0x4d9d24,_0x443a78){return _0x32439b(_0x20dd80-0x0,_0x17ab01,_0x4d9d24-0x15d,_0x443a78- -0xda);}const _0x558543=[{'type':'image','source':{'type':_0x809c59(-_0x227a3c._0x14ecea,-0x37,-_0x227a3c._0x5e4a5f,-0x165),'media_type':_0x5909c4,'data':_0x36fb4e[_0x809c59(-_0x227a3c._0x4fb646,-0x3a,-_0x227a3c._0x695fa1,-0x71)](_0x3515bd(0x523,0x572,0x546,_0x227a3c._0x5a2c82))}},{'type':'text','text':_0x1ddac5}];return yield createToolOutput(_0x1ddac5,{'path':_0xe998a9[_0x809c59(-_0x227a3c._0x12e526,-0x174,-_0x227a3c._0x4740c6,-0x177)],'resolvedPath':_0x33452a,'created':_0xf72158[_0x3515bd(0x41c,_0x227a3c._0x392e15,_0x227a3c._0x2bcbe1,_0x227a3c._0x423d51)][_0x3515bd(_0x227a3c._0x4c5434,0x642,_0x227a3c._0x655e0,0x5a4)](),'modified':_0xf72158[_0x3515bd(0x55f,0x4cd,_0x227a3c._0x3a0678,0x4bf)][_0x3515bd(0x4a2,_0x227a3c._0x1bf78d,_0x227a3c._0x46df33,_0x227a3c._0x3e6b21)](),'size':_0xf72158[_0x3515bd(_0x227a3c._0x124aa0,_0x227a3c._0x3a0678,_0x227a3c._0x47733e,0x5b0)],'mimeType':_0x5909c4,'encoding':_0x809c59(_0x227a3c._0x1949ac,-_0x227a3c._0x498738,-0x102,-_0x227a3c._0x364079),..._0xb5ad0d?{'detail':_0xb5ad0d}:{}},_0x558543),void 0x0;}});}import _0x484bf9 from'turndown';var USER_AGENT='Mozilla/5.0\x20(Macintosh;\x20Intel\x20Mac\x20OS\x20X\x2010_15_7)\x20AppleWebKit/537.36\x20NuvinBot/1.0',DEFAULT_TIMEOUT_MS2=0xea60;function assertFetchableUrl(_0x413fc1){const _0x398f6e={_0x37e103:0x16e,_0x42f966:0x5e,_0x76d14d:0x165,_0x30822e:0x25,_0x141a09:0x1f9,_0x11506f:0x1ea,_0x1bdceb:0xf0,_0x3954d0:0x2c4,_0x36a07c:0x155,_0x22e38d:0x202,_0x58e673:0x30d,_0x2ba33f:0x140,_0x486a49:0x281,_0x2a22b1:0x2c6,_0x25750d:0x29f},_0x58cded={_0x4bcd65:0x89,_0x37c8d0:0x51},_0x3b9185={_0x13189c:0x2a4};let _0x5e8325;try{_0x5e8325=new URL(_0x413fc1);}catch{throw new ToolExecutionError(_0x217fe9(_0x398f6e._0x37e103,0x167,0x211,0x23c),{'url':_0x413fc1});}function _0x255740(_0x1a056f,_0x230833,_0x921555,_0x501c24){return _0x120580(_0x1a056f- -_0x3b9185._0x13189c,_0x501c24,_0x921555-0x15b,_0x501c24-0x1a7);}if(_0x5e8325[_0x217fe9(0x25,0xe0,_0x398f6e._0x42f966,0xc5)]!==_0x255740(0x262,0x33a,_0x398f6e._0x76d14d,0x165)&&_0x5e8325[_0x217fe9(_0x398f6e._0x30822e,_0x398f6e._0x141a09,0xc9,0xc5)]!==_0x255740(0x154,0x1aa,_0x398f6e._0x11506f,_0x398f6e._0x1bdceb))throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x413fc1});if(_0x5e8325['username']||_0x5e8325[_0x217fe9(_0x398f6e._0x3954d0,0x25c,_0x398f6e._0x36a07c,0x251)])throw new ToolExecutionError(_0x255740(_0x398f6e._0x22e38d,0x17d,_0x398f6e._0x58e673,0x12c),{'url':_0x5e8325[_0x255740(_0x398f6e._0x2ba33f,0x88,0x24f,_0x398f6e._0x486a49)]+'//'+_0x5e8325[_0x255740(0x1ae,_0x398f6e._0x2a22b1,_0x398f6e._0x25750d,0x2de)]+_0x5e8325['pathname']});function _0x217fe9(_0x4bbdac,_0x4b9a01,_0x3cdef6,_0x43a2ee){return _0x43e84c(_0x4bbdac-_0x58cded._0x4bcd65,_0x4bbdac,_0x3cdef6-_0x58cded._0x37c8d0,_0x43a2ee- -0x27b);}return _0x5e8325;}function createTimeoutSignal(_0x18aca5,_0x578b3d){const _0x22141e={_0x3ddb82:0x2,_0x5edb9e:0x4d,_0x35a9d1:0xcd,_0x585935:0x14f,_0x330676:0x565,_0x595af5:0x6d,_0x17193d:0x142,_0x36bab4:0x85,_0x27341b:0xd3,_0x720436:0x5d4,_0x136ac0:0x5eb,_0xbe934a:0x4dc,_0x3cab0a:0x5f4},_0x1c034f={_0x542a56:0x207,_0x40d97e:0x4d,_0x5a0429:0x153,_0x16cfd1:0x133,_0x33cb92:0x21b,_0x32e6ad:0x1cb},_0x224c2a=new AbortController();function _0x50380c(_0x4369ee,_0x3edb40,_0x183003,_0x5cce61){return _0x43e84c(_0x4369ee-0x52,_0x5cce61,_0x183003-0x106,_0x4369ee- -0x3e0);}const _0x2ef839=setTimeout(()=>_0x224c2a[_0x50380c(-0x6d,0xc3,-0xae,-0x11e)](new Error('Fetch\x20timed\x20out')),_0x578b3d),_0x124b9a=()=>_0x224c2a[_0x55c0b2(0x470,0x3d7,0x2a0,0x4d7)](_0x18aca5[_0x55c0b2(0x652,0x511,0x583,0x425)]);function _0x55c0b2(_0x4e159e,_0x58d190,_0x1d0f41,_0x17643b){return _0x43e84c(_0x4e159e-0xc6,_0x17643b,_0x1d0f41-0x129,_0x58d190-0x64);}return _0x18aca5['aborted']?_0x224c2a[_0x50380c(-0x6d,-_0x22141e._0x3ddb82,_0x22141e._0x5edb9e,-0x152)](_0x18aca5[_0x50380c(_0x22141e._0x35a9d1,0x178,0x11e,_0x22141e._0x585935)]):_0x18aca5[_0x55c0b2(_0x22141e._0x330676,0x48b,0x39b,0x565)](_0x50380c(-_0x22141e._0x595af5,-_0x22141e._0x17193d,-_0x22141e._0x36bab4,_0x22141e._0x27341b),_0x124b9a,{'once':!![]}),{'signal':_0x224c2a[_0x55c0b2(_0x22141e._0x720436,_0x22141e._0x136ac0,_0x22141e._0xbe934a,_0x22141e._0x3cab0a)],'cleanup':()=>{const _0x42e7de={_0x1cfd2a:0x188,_0xd6fe5f:0x1b8};function _0x316a88(_0x4092b4,_0x599c56,_0x1a8dbe,_0x185efe){return _0x50380c(_0x1a8dbe-_0x42e7de._0x1cfd2a,_0x599c56-_0x42e7de._0xd6fe5f,_0x1a8dbe-0x108,_0x4092b4);}function _0x7e79f8(_0x4d7597,_0x41f904,_0x8a0307,_0x1b47da){return _0x55c0b2(_0x4d7597-0x1b7,_0x1b47da- -0x5a2,_0x8a0307-0x160,_0x4d7597);}clearTimeout(_0x2ef839),_0x18aca5[_0x7e79f8(-_0x1c034f._0x542a56,-_0x1c034f._0x40d97e,-_0x1c034f._0x5a0429,-0x157)](_0x7e79f8(-0x14c,-_0x1c034f._0x16cfd1,-_0x1c034f._0x33cb92,-_0x1c034f._0x32e6ad),_0x124b9a);}};}function createWebFetchTool(_0x1133dd={}){const _0x721c4e={_0x1257c0:0x525,_0x32bd5f:0x56e,_0x29ff3a:0x4c9,_0x51a927:0x11a,_0x1362a9:0xd0,_0x1d3d3b:0x1fd,_0x53c139:0x39,_0x44428c:0x10,_0x187f5c:0x102,_0x4adf8d:0x7,_0x385ed3:0x24,_0x15b41c:0x5b5,_0x5a058c:0x5a4,_0xe18a18:0x4ce,_0x56cc96:0x609,_0x36ac3d:0x56c,_0x29a65c:0x519,_0xd2f3a6:0x63b,_0x2862f3:0x55e,_0x2c93bc:0xed,_0x32c10e:0x1a7,_0x20027d:0x1bf,_0x1d7648:0x123,_0x2ff62c:0x50f,_0x1c0616:0x504,_0x6d105a:0x156,_0xefb322:0xe4,_0x1b7add:0x17a,_0x1582b5:0x70,_0x38e5ad:0xe,_0x18b8f3:0xd9,_0x56ea87:0x122,_0x153c4b:0x54d,_0x6d8014:0x67e,_0x105d0a:0x5b4},_0x404f82={_0x290b79:0x405,_0x13c5d6:0x3d3,_0x294b83:0x3a3,_0x4b61df:0x252,_0x345ae0:0x522,_0x2ddb1d:0x364,_0x1a0b1e:0x3c1,_0x5d05a8:0x52c,_0x17eefe:0x2ff,_0x288233:0x2a4,_0x3e410e:0x1bf,_0x271923:0x167,_0x3d3866:0x296,_0x25941e:0x2d2,_0x192eb7:0x3a4,_0x3e483b:0x3e3,_0x17c385:0x2a2,_0x4aa4de:0x475,_0x223739:0x313,_0x581928:0x3e2,_0x5ad1f0:0x436,_0x46a183:0x392,_0x362eaa:0x365,_0x34c583:0x3ff,_0x27229b:0x2b3,_0x2e46d9:0x3df,_0x363434:0x256,_0x4f7c0a:0x35e,_0x39e851:0x367,_0xac9e0b:0x264,_0x3a681c:0x2ce,_0x2fc11e:0x2e9,_0x35c675:0x286,_0x96bb6b:0x469,_0x5423aa:0x2d7,_0x2eda9d:0x314,_0x485792:0x2dd,_0x10c3ee:0x22a,_0x4332dd:0x41b,_0x7d6512:0x3fb,_0x583553:0x52b,_0x415284:0x3a6,_0x227297:0x378,_0x21510e:0x3ea},_0x8c9c90={_0x378491:0xed,_0xc57b13:0x188},_0x5cff0c={_0x177357:0x1aa},_0x555912=_0x1133dd[_0xd3d167(_0x721c4e._0x1257c0,_0x721c4e._0x32bd5f,0x3c9,_0x721c4e._0x29ff3a)]??_0x419e77(-0xc9,-_0x721c4e._0x51a927,-_0x721c4e._0x1362a9,-_0x721c4e._0x1d3d3b),_0x3b76b7=_0x1133dd[_0x419e77(0x7f,_0x721c4e._0x53c139,-0xa7,-_0x721c4e._0x44428c)]??DEFAULT_TIMEOUT_MS2,_0x5799cf=new _0x484bf9({'headingStyle':_0x419e77(-_0x721c4e._0x187f5c,-_0x721c4e._0x4adf8d,_0x721c4e._0x385ed3,_0x721c4e._0x4adf8d),'codeBlockStyle':_0xd3d167(_0x721c4e._0x15b41c,_0x721c4e._0x5a058c,0x41b,_0x721c4e._0xe18a18),'bulletListMarker':'-'});_0x5799cf[_0xd3d167(_0x721c4e._0x56cc96,0x4ed,_0x721c4e._0x36ac3d,_0x721c4e._0x29a65c)](['script',_0xd3d167(0x56e,_0x721c4e._0xd2f3a6,0x4de,_0x721c4e._0x2862f3),_0x419e77(-_0x721c4e._0x2c93bc,-_0x721c4e._0x32c10e,-_0x721c4e._0x20027d,-_0x721c4e._0x1d7648),_0xd3d167(0x6cc,_0x721c4e._0x2ff62c,_0x721c4e._0x1c0616,0x594),'nav','footer',_0x419e77(-0x28e,-0x206,-0x123,-_0x721c4e._0x6d105a),_0xd3d167(0x3df,0x428,0x631,0x515)]);function _0x419e77(_0x16ed02,_0x2b31ea,_0x71b375,_0x4e0d77){return _0x43e84c(_0x16ed02-_0x5cff0c._0x177357,_0x16ed02,_0x71b375-0x128,_0x4e0d77- -0x529);}function _0xd3d167(_0x27d771,_0x4423fd,_0x5319ba,_0x48ce37){return _0x43e84c(_0x27d771-_0x8c9c90._0x378491,_0x5319ba,_0x5319ba-_0x8c9c90._0xc57b13,_0x48ce37-0x6f);}return defineTool({'name':_0x555912,'description':_0x419e77(-0x6b,-_0x721c4e._0xefb322,0x48,-0x15),'inputSchema':{'type':'object','properties':{'description':{'type':_0x419e77(-_0x721c4e._0x1b7add,-_0x721c4e._0x1582b5,_0x721c4e._0x38e5ad,-_0x721c4e._0x18b8f3)},'url':{'type':_0x419e77(0x3c,-0x197,-_0x721c4e._0x56ea87,-0xd9)}},'required':[_0xd3d167(_0x721c4e._0x153c4b,_0x721c4e._0x6d8014,0x489,_0x721c4e._0x105d0a)]},async *'execute'(_0x2215dc,_0x22b422){const _0x315803={_0x44db32:0x7a,_0x2e5dee:0x1af},_0x26f25c={_0x3b3563:0x173},_0x9cb425=assertFetchableUrl(_0x2215dc[_0x1c7421(_0x404f82._0x290b79,0x4fe,_0x404f82._0x13c5d6,_0x404f82._0x294b83)])[_0x1c7421(0x2c9,0x2bb,0x295,_0x404f82._0x4b61df)]();if(_0x22b422[_0x2d1837(0x4be,0x4c9,0x4e4,_0x404f82._0x345ae0)][_0x1c7421(_0x404f82._0x2ddb1d,0x3fa,_0x404f82._0x1a0b1e,0x492)])throw new ToolExecutionError('Fetch\x20aborted\x20by\x20user',{'url':_0x9cb425});const _0x571919=createTimeoutSignal(_0x22b422[_0x2d1837(0x5c2,0x4c9,0x5c0,_0x404f82._0x5d05a8)],_0x3b76b7);let _0x5e47f8='';function _0x2d1837(_0x4caf11,_0x3969e1,_0x87020f,_0x412a2a){return _0x419e77(_0x4caf11,_0x3969e1-0xfd,_0x87020f-_0x26f25c._0x3b3563,_0x3969e1-0x46b);}let _0x4c53f3=0x0,_0x1dcf91;try{const _0x4a4670=await fetch(_0x9cb425,{'headers':{'User-Agent':USER_AGENT},'signal':_0x571919['signal']});if(!_0x4a4670['ok'])throw new ToolExecutionError(_0x2d1837(_0x404f82._0x17eefe,_0x404f82._0x288233,_0x404f82._0x3e410e,_0x404f82._0x271923)+_0x4a4670['status']+'\x20'+_0x4a4670[_0x2d1837(_0x404f82._0x3d3866,_0x404f82._0x25941e,_0x404f82._0x192eb7,0x23a)],{'url':_0x9cb425,'statusCode':_0x4a4670[_0x2d1837(0x3dc,_0x404f82._0x3e483b,_0x404f82._0x17c385,_0x404f82._0x4aa4de)]});_0x5e47f8=_0x4a4670[_0x1c7421(0x3d1,_0x404f82._0x223739,0x386,_0x404f82._0x581928)][_0x1c7421(_0x404f82._0x5ad1f0,0x31f,0x342,0x309)](_0x1c7421(_0x404f82._0x46a183,0x388,_0x404f82._0x362eaa,_0x404f82._0x34c583))??'',_0x4c53f3=_0x4a4670[_0x2d1837(0x349,0x3e3,0x433,0x4ad)],_0x1dcf91=await _0x4a4670[_0x2d1837(0x2c6,0x2ff,_0x404f82._0x27229b,_0x404f82._0x2e46d9)]();}catch(_0x184d7e){if(_0x184d7e instanceof ToolExecutionError)throw _0x184d7e;const _0x59f422=_0x184d7e instanceof Error?_0x184d7e['message']:String(_0x184d7e);throw new ToolExecutionError(_0x59f422,{'url':_0x9cb425});}finally{_0x571919['cleanup']();}const _0x46b820=new Date()[_0x2d1837(_0x404f82._0x363434,_0x404f82._0x4f7c0a,_0x404f82._0x39e851,_0x404f82._0xac9e0b)]();function _0x1c7421(_0x34582e,_0x546400,_0x2ef747,_0x815042){return _0xd3d167(_0x34582e-_0x315803._0x44db32,_0x546400-0xc4,_0x2ef747,_0x34582e- -_0x315803._0x2e5dee);}let _0x2c77e7,_0x38a3c5;if(_0x5e47f8[_0x2d1837(0x3dd,0x310,0x22c,_0x404f82._0x3a681c)](_0x2d1837(0x3b7,_0x404f82._0x2fc11e,0x247,_0x404f82._0x35c675)))_0x2c77e7=_0x1c7421(0x3f1,0x3ee,0x421,_0x404f82._0x96bb6b)+_0x1dcf91+'\x0a```',_0x38a3c5=_0x2d1837(_0x404f82._0x1a0b1e,0x349,0x2a4,0x36b);else _0x5e47f8[_0x1c7421(0x28e,0x1bc,0x20b,_0x404f82._0x5423aa)](_0x1c7421(_0x404f82._0x2eda9d,_0x404f82._0x485792,_0x404f82._0x10c3ee,0x3eb))?(_0x2c77e7=_0x5799cf[_0x1c7421(_0x404f82._0x34c583,_0x404f82._0x4332dd,_0x404f82._0x7d6512,_0x404f82._0x583553)](_0x1dcf91),_0x38a3c5=_0x2d1837(0x4b3,_0x404f82._0x415284,0x43e,0x298)):(_0x2c77e7=_0x1dcf91,_0x38a3c5=_0x1c7421(0x27d,0x1c8,0x3a8,0x190));return yield createToolOutput(_0x2c77e7,{'url':_0x9cb425,'contentType':_0x5e47f8,'statusCode':_0x4c53f3,'format':_0x38a3c5,'size':_0x1dcf91[_0x2d1837(0x468,0x415,_0x404f82._0x227297,_0x404f82._0x21510e)],'fetchedAt':_0x46b820}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x120580(0x522,0x57e,0x457,0x622);function normalizeUrl(_0x1921df){const _0x5a8adf={_0x17be99:0x3,_0x299353:0x70,_0x5cacd5:0x4d1,_0x3b5d4f:0x425,_0x1721a4:0x54b,_0x49ee1a:0x173,_0x5e7b3f:0x70,_0x4707ef:0x573,_0x58b4ea:0x4f0,_0x2a3e7c:0x51d,_0x4948be:0x50b},_0x14534a={_0x56e457:0x4d1};function _0x1ad6b9(_0x27fce4,_0x5e9a9b,_0x2c68fd,_0x3732d4){return _0x120580(_0x2c68fd-0x70,_0x27fce4,_0x2c68fd-0x1b3,_0x3732d4-0x1);}function _0x3c7675(_0x5b8af2,_0x360d56,_0x76aa1d,_0x152dea){return _0x120580(_0x152dea- -_0x14534a._0x56e457,_0x360d56,_0x76aa1d-0x12f,_0x152dea-0x101);}try{const _0x5be3ba=new URL(_0x1921df);for(const _0x44de28 of[_0x3c7675(-_0x5a8adf._0x17be99,_0x5a8adf._0x299353,0x1a3,0x9e),'utm_medium','utm_campaign',_0x1ad6b9(0x5be,0x4f6,0x557,_0x5a8adf._0x5cacd5),_0x1ad6b9(0x525,0x2ed,_0x5a8adf._0x3b5d4f,_0x5a8adf._0x1721a4),'gclid','fbclid','mc_cid','mc_eid']){_0x5be3ba['searchParams'][_0x3c7675(-0x51,_0x5a8adf._0x49ee1a,0xb3,_0x5a8adf._0x5e7b3f)](_0x44de28);}return _0x5be3ba[_0x1ad6b9(_0x5a8adf._0x4707ef,_0x5a8adf._0x58b4ea,_0x5a8adf._0x2a3e7c,_0x5a8adf._0x4948be)]();}catch{return _0x1921df;}}function cseDateRestrict(_0x10b779){const _0x14913d={_0x4a4bd1:0x222,_0x17665b:0x232,_0x17ee96:0x1b2,_0x13cd44:0x430,_0x48abf9:0x100},_0x1aa049={_0x5a8edc:0x5d8,_0x42dc9f:0x1d5,_0x36f416:0x1e0},_0x2d4205={_0x1efc97:0x37};if(_0x10b779<=0x0)return void 0x0;function _0x1853c6(_0x2a51c8,_0xd9bb44,_0x4d15aa,_0x59771a){return _0x43e84c(_0x2a51c8-0xba,_0x2a51c8,_0x4d15aa-0x63,_0x59771a-_0x2d4205._0x1efc97);}if(_0x10b779<=0x1e)return'd'+Math[_0x1853c6(_0x14913d._0x4a4bd1,_0x14913d._0x17665b,0x357,0x352)](0x1,Math[_0x36cdd8(-0x13a,-0x1eb,-0xcc,-_0x14913d._0x17ee96)](_0x10b779));if(_0x10b779<=0x16d)return'm'+Math[_0x1853c6(0x340,_0x14913d._0x13cd44,0x416,0x46b)](_0x10b779/0x1e);function _0x36cdd8(_0x3d4638,_0x7ed8d,_0x2a07c5,_0x36d6b6){return _0x120580(_0x2a07c5- -_0x1aa049._0x5a8edc,_0x3d4638,_0x2a07c5-_0x1aa049._0x42dc9f,_0x36d6b6-_0x1aa049._0x36f416);}return'y'+Math[_0x36cdd8(-0x8f,-0x1a5,-_0x14913d._0x48abf9,-0xe0)](_0x10b779/0x16d);}function addSiteFilters(_0x5cdda9,_0x5ce99f){const _0x219f04={_0x506878:0x18a,_0x3a24e9:0x1cd,_0x5b297b:0x146,_0x114e50:0x1c0,_0x1bf0c3:0x96,_0x30b405:0x101,_0x19d9d9:0x25f,_0x5240d3:0x1c1,_0x4736cb:0x45,_0x26dc2c:0xe},_0x13bb5c={_0x4ebb86:0x177},_0x25e2ca={_0x2fd36a:0x495,_0x112d8e:0x95,_0x451759:0xe4};function _0x490a3a(_0x1b761c,_0x9b86cc,_0x5f239f,_0x1aa8f4){return _0x120580(_0x5f239f- -_0x25e2ca._0x2fd36a,_0x9b86cc,_0x5f239f-_0x25e2ca._0x112d8e,_0x1aa8f4-_0x25e2ca._0x451759);}if(_0x5ce99f[_0x4eede6(_0x219f04._0x506878,_0x219f04._0x3a24e9,0x292,_0x219f04._0x5b297b)]===0x0)return _0x5cdda9[_0x490a3a(-_0x219f04._0x114e50,-0x144,-_0x219f04._0x1bf0c3,-0x60)]();function _0x4eede6(_0x519312,_0x244817,_0x4c886e,_0x3b88f3){return _0x43e84c(_0x519312-0xa1,_0x519312,_0x4c886e-_0x13bb5c._0x4ebb86,_0x244817- -0x306);}return(_0x5cdda9+'\x20('+_0x5ce99f[_0x490a3a(0xe7,_0x219f04._0x30b405,0x158,_0x219f04._0x19d9d9)](_0x17619b=>_0x490a3a(0x87,-0xc7,0x31,-0x7c)+_0x17619b)['join']('\x20OR\x20')+')')[_0x490a3a(-_0x219f04._0x5240d3,_0x219f04._0x4736cb,-0x96,-_0x219f04._0x26dc2c)]();}function normalizeType(_0xdff395){const _0x103851={_0x2193bf:0x28b},_0x374420={_0x1748df:0x137,_0x3de383:0x3a,_0x2d2023:0x2ae};function _0x4fbbcd(_0x3570a5,_0x4ab58d,_0x482bfe,_0x5a9f94){return _0x43e84c(_0x3570a5-_0x374420._0x1748df,_0x482bfe,_0x482bfe-_0x374420._0x3de383,_0x5a9f94- -_0x374420._0x2d2023);}return _0xdff395==='images'?'images':_0x4fbbcd(_0x103851._0x2193bf,0x24f,0x1ad,0x27c);}async function fetchJson(_0x55f209,_0x5ae2c1){const _0x46d173={_0x506a42:0x5c0,_0x511370:0x4cc,_0x12f250:0x501,_0x583a45:0x65a,_0x5988e6:0x53,_0x53d9d0:0xd,_0x1b7f31:0x4b,_0x23bff8:0xd4,_0x5eec76:0xe9,_0x56f1fc:0x158,_0x3e22d7:0x149,_0x37e441:0x56,_0x2d4ac2:0x97,_0x4ce383:0xf1,_0x42c2e0:0x135,_0x293d15:0x616,_0x3d2634:0x63d,_0x233788:0x71,_0x188370:0x116},_0xe7f01b={_0x331a37:0x3c,_0x1a99e6:0x177},_0x11d672={_0x4d543f:0x131,_0x328b44:0x48,_0x8862f6:0x44b},_0x10b3fd=await fetch(_0x55f209,{'headers':{'User-Agent':USER_AGENT2,'Accept':'application/json'},'signal':_0x5ae2c1});function _0x1acc0b(_0xd8a070,_0x30dd55,_0x498e25,_0x13d373){return _0x43e84c(_0xd8a070-_0x11d672._0x4d543f,_0x13d373,_0x498e25-_0x11d672._0x328b44,_0x498e25- -_0x11d672._0x8862f6);}if(!_0x10b3fd['ok']){await _0x10b3fd[_0x2e153f(_0x46d173._0x506a42,0x543,_0x46d173._0x511370,_0x46d173._0x12f250)]?.[_0x2e153f(0x5fb,0x726,_0x46d173._0x583a45,0x783)]()[_0x1acc0b(_0x46d173._0x5988e6,-_0x46d173._0x53d9d0,_0x46d173._0x1b7f31,-_0x46d173._0x23bff8)](()=>void 0x0);throw new ToolExecutionError(_0x1acc0b(-0x217,-0x127,-_0x46d173._0x5eec76,-_0x46d173._0x56f1fc)+_0x10b3fd[_0x1acc0b(_0x46d173._0x3e22d7,0x82,_0x46d173._0x37e441,-_0x46d173._0x2d4ac2)]+'\x20'+_0x10b3fd[_0x1acc0b(0x53,-_0x46d173._0x4ce383,-0xbb,-_0x46d173._0x42c2e0)],{'statusCode':_0x10b3fd[_0x2e153f(0x589,_0x46d173._0x293d15,0x618,_0x46d173._0x3d2634)]});}function _0x2e153f(_0x27693e,_0x49e3af,_0xcf8dc1,_0x3cca56){return _0x43e84c(_0x27693e-_0xe7f01b._0x331a37,_0x3cca56,_0xcf8dc1-0x4e,_0xcf8dc1-_0xe7f01b._0x1a99e6);}return await _0x10b3fd[_0x1acc0b(_0x46d173._0x233788,-0x126,-0x44,-_0x46d173._0x188370)]();}async function hydrateResults(_0x2b6c7c,_0xfa1c19,_0x1f718d){const _0x1dcbf5={_0x30f41b:0x84,_0x199bc3:0x7a,_0x1e1f07:0x37,_0x154683:0x522,_0x3b43e4:0x493,_0x99a4d4:0x555,_0x5cbebf:0x4e3,_0x35dd1b:0x51a,_0x4fdb54:0x47f,_0x403ec4:0x395,_0x3da715:0x47,_0x925432:0x180,_0x52d8f7:0xeb},_0x3f9acc={_0x48b673:0xf8},_0xb19e92={_0x1b03f2:0x40},_0x3a5d24={_0x230223:0x270,_0x34170b:0x25d,_0x1cf6a3:0x134,_0x328ccb:0x2d0,_0x45bfb6:0x201,_0x4d77c5:0x258,_0x443ab1:0x21e,_0xaf455:0x164,_0x29624d:0x112,_0x31d580:0x1d,_0x1e2a31:0x98,_0x2ba352:0x2,_0x3f0dbd:0x2bf,_0x383ca3:0x2d6,_0xfeabf4:0x1fa,_0x458ecd:0x27f,_0x152272:0x2d6,_0x45bc60:0x3e5,_0x16fcd0:0x50c,_0x3b16c1:0x4e0,_0x524ac0:0x3a8,_0x317516:0x2f5,_0x2eb432:0x379,_0x1a81df:0x3bc,_0x23f51d:0x2ad,_0x1b5417:0x2df,_0x14f351:0x595,_0xb1b9f8:0x5fa,_0x5c0732:0x345,_0x2164bd:0x2d6,_0x22d08d:0x3f2,_0x151f17:0x497,_0x2cfd0f:0x393,_0x39576b:0x3e8,_0x1a82ab:0xeb,_0x2bb274:0xa1,_0x4c6c28:0x2d6,_0x3eba08:0x3c7,_0x4f7ce5:0x489,_0x25238f:0x3ba,_0x5f0f82:0x298,_0x1f5c8e:0x15d,_0x3082bd:0x5e9,_0x50a050:0x64f,_0x233ea1:0x60b,_0x46cdf9:0xdd,_0x45afd1:0x1c8,_0x37c269:0x535},_0x10758a=await Promise[_0x2e5575(0x438,0x472,0x367,0x340)](_0x2b6c7c['slice'](0x0,0xa)[_0x476a6a(0x47,_0x1dcbf5._0x30f41b,_0x1dcbf5._0x199bc3,_0x1dcbf5._0x1e1f07)](async _0x727bbb=>{const _0x4a2e14={_0x2cec56:0x197};function _0xba214a(_0x2280e5,_0x2c4687,_0xea1a74,_0x57028b){return _0x2e5575(_0x2280e5,_0x2c4687-0x164,_0x57028b- -0x1bf,_0x57028b-0xd0);}function _0xd44a8a(_0x28560a,_0x409818,_0x1079fe,_0x1c298a){return _0x2e5575(_0x28560a,_0x409818-0x15a,_0x1079fe-0xba,_0x1c298a-_0x4a2e14._0x2cec56);}try{const _0x2738fe=await fetch(_0x727bbb['url'],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0xfa1c19,'Accept':'text/html'},'signal':_0x1f718d});if(!_0x2738fe['ok'])return _0x727bbb;const _0x49f509=await _0x2738fe[_0xba214a(_0x3a5d24._0x230223,0x169,_0x3a5d24._0x34170b,_0x3a5d24._0x1cf6a3)](),_0x2c8bf7=load(_0x49f509),_0x584e11=_0x2c8bf7(_0xd44a8a(0x457,0x286,0x3c8,0x492))[_0xba214a(_0x3a5d24._0x328ccb,0x40f,_0x3a5d24._0x45bfb6,0x2d6)](_0xba214a(_0x3a5d24._0x4d77c5,_0x3a5d24._0x443ab1,0x2f4,0x267))||_0x2c8bf7(_0xba214a(0x206,0x223,_0x3a5d24._0xaf455,0x15d))[_0xba214a(_0x3a5d24._0x29624d,0x1a0,_0x3a5d24._0x31d580,_0x3a5d24._0x1e2a31)]()[_0xba214a(0x1be,_0x3a5d24._0x2ba352,0x1d3,0x134)]()['trim'](),_0x265f18=_0x2c8bf7('meta[name=\x27description\x27]')[_0xba214a(_0x3a5d24._0x3f0dbd,0x1a1,0x3f9,_0x3a5d24._0x383ca3)](_0xba214a(0x16d,0x136,0x2eb,0x267))||_0x2c8bf7(_0xba214a(_0x3a5d24._0xfeabf4,0x2a8,_0x3a5d24._0x458ecd,0x2bb))[_0xba214a(0x3c6,0x2a0,0x3fb,_0x3a5d24._0x152272)](_0xd44a8a(_0x3a5d24._0x45bc60,_0x3a5d24._0x16fcd0,_0x3a5d24._0x3b16c1,0x3fc))||_0x727bbb[_0xd44a8a(_0x3a5d24._0x524ac0,0x420,_0x3a5d24._0x317516,0x268)],_0x352a0a=_0x2c8bf7(_0xba214a(_0x3a5d24._0x2eb432,_0x3a5d24._0x1a81df,_0x3a5d24._0x23f51d,_0x3a5d24._0x1b5417))[_0xd44a8a(0x43f,_0x3a5d24._0x14f351,0x54f,_0x3a5d24._0xb1b9f8)]('content')||_0x2c8bf7('time[datetime]')[_0xba214a(0x23a,0x2de,_0x3a5d24._0x5c0732,_0x3a5d24._0x2164bd)](_0xd44a8a(0x5c3,_0x3a5d24._0x22d08d,_0x3a5d24._0x151f17,0x3eb))||_0x727bbb[_0xd44a8a(0x2f8,0x367,_0x3a5d24._0x2cfd0f,_0x3a5d24._0x39576b)],_0x5dc514=_0x2c8bf7(_0xba214a(0x1fd,_0x3a5d24._0x1a82ab,_0x3a5d24._0x2bb274,0x16c))[_0xba214a(0x1a1,0x1a8,0x3d7,_0x3a5d24._0x4c6c28)](_0xd44a8a(_0x3a5d24._0x3eba08,0x511,_0x3a5d24._0x4f7ce5,_0x3a5d24._0x25238f));return{..._0x727bbb,'title':_0x584e11||_0x727bbb[_0xba214a(0x92,_0x3a5d24._0x5f0f82,0x1ef,_0x3a5d24._0x1f5c8e)],'snippet':_0x265f18,'url':_0x5dc514?normalizeUrl(new URL(_0x5dc514,_0x727bbb[_0xd44a8a(_0x3a5d24._0x3082bd,_0x3a5d24._0x50a050,0x535,_0x3a5d24._0x233ea1)])[_0xba214a(_0x3a5d24._0x46cdf9,_0x3a5d24._0x45afd1,0x24b,0x180)]()):_0x727bbb[_0xd44a8a(0x5c1,0x578,_0x3a5d24._0x37c269,0x50b)],'publishedAt':_0x352a0a};}catch{return _0x727bbb;}}));function _0x476a6a(_0x520bd5,_0x484cb3,_0x3136f8,_0x5cb568){return _0x43e84c(_0x520bd5-_0xb19e92._0x1b03f2,_0x484cb3,_0x3136f8-0x9c,_0x520bd5- -0x502);}const _0x56bd2c=new Map(_0x2b6c7c[_0x2e5575(0x50a,_0x1dcbf5._0x154683,_0x1dcbf5._0x3b43e4,_0x1dcbf5._0x99a4d4)](0x0,0xa)[_0x2e5575(_0x1dcbf5._0x5cbebf,_0x1dcbf5._0x35dd1b,_0x1dcbf5._0x4fdb54,_0x1dcbf5._0x403ec4)]((_0x4cacc5,_0x550cbb)=>[_0x4cacc5[_0x476a6a(0x43,-0x85,0x109,-0x78)],_0x10758a[_0x550cbb]]));function _0x2e5575(_0x3129eb,_0x46dd7a,_0x44b520,_0x104960){return _0x43e84c(_0x3129eb-0x5e,_0x3129eb,_0x44b520-_0x3f9acc._0x48b673,_0x44b520- -0xca);}return _0x2b6c7c[_0x476a6a(_0x1dcbf5._0x3da715,_0x1dcbf5._0x925432,_0x1dcbf5._0x52d8f7,0x40)](_0x158edc=>_0x56bd2c[_0x476a6a(0x74,-0xb4,0xbb,-0x9f)](_0x158edc[_0x2e5575(0x46c,0x372,0x47b,0x38a)])??_0x158edc);}function formatResults(_0x118ef0){const _0x1cbfae={_0x23b3f7:0x3a,_0x44d576:0x101,_0xff3334:0x8},_0x50ac77={_0x226c96:0x64,_0x2c7644:0xf6,_0x28b02a:0x235,_0x31e943:0x22a,_0xdab7fd:0x257,_0x16a502:0x24,_0x3d5bb6:0x2bd,_0xa31d31:0x2cf,_0x488fd2:0x263,_0xca504e:0x159,_0x2243d2:0x4f,_0xdc9aa:0xe1,_0x3c349e:0x6d,_0x1fa715:0x89,_0x272b16:0x86,_0x453c00:0xb3},_0x4fdb9b={_0x526e87:0x52f,_0x553467:0x20},_0x3a97df={_0x474cec:0x11c,_0x2fda51:0x2f0,_0x153111:0xf3},_0x5147e8={_0x50531c:0xa6,_0x22ce4c:0x0},_0x92faa3={_0x534a2a:0x132,_0x4b1b2b:0x188};function _0x4578a9(_0x1b6d6d,_0xba7b11,_0x37c9d3,_0x11d8e4){return _0x43e84c(_0x1b6d6d-_0x92faa3._0x534a2a,_0x11d8e4,_0x37c9d3-_0x92faa3._0x4b1b2b,_0xba7b11- -0x4f6);}if(_0x118ef0[_0x4578a9(-0xb2,-0x23,-_0x1cbfae._0x23b3f7,_0x1cbfae._0x44d576)]===0x0)return _0x4578a9(0xa8,_0x1cbfae._0xff3334,-0xb6,0x12b);function _0x490077(_0x5eaaf3,_0x1ea3dc,_0x4ffb19,_0x2df539){return _0x43e84c(_0x5eaaf3-_0x5147e8._0x50531c,_0x4ffb19,_0x4ffb19-0x149,_0x1ea3dc-_0x5147e8._0x22ce4c);}return _0x118ef0['map'](_0x189f61=>{const _0x30d986=[_0x189f61['source']['rank']+'.\x20'+_0x189f61[_0x16b53b(_0x50ac77._0x226c96,0x226,0x133,_0x50ac77._0x2c7644)],_0x189f61['url']];if(_0x189f61[_0x3261d6(-_0x50ac77._0x28b02a,-0x10e,-_0x50ac77._0x31e943,-_0x50ac77._0xdab7fd)])_0x30d986[_0x3261d6(-0x76,-0x37,_0x50ac77._0x16a502,0x6c)](_0x189f61[_0x3261d6(-_0x50ac77._0x3d5bb6,-_0x50ac77._0xa31d31,-0x22a,-0x2e2)]);function _0x16b53b(_0x38333e,_0x1b6869,_0xcf34cb,_0x441930){return _0x490077(_0x38333e-_0x3a97df._0x474cec,_0x441930- -_0x3a97df._0x2fda51,_0x1b6869,_0x441930-_0x3a97df._0x153111);}function _0x3261d6(_0x50ed42,_0x2c2858,_0x419848,_0x479bb3){return _0x490077(_0x50ed42-0x1f3,_0x419848- -_0x4fdb9b._0x526e87,_0x479bb3,_0x479bb3-_0x4fdb9b._0x553467);}if(_0x189f61[_0x3261d6(-_0x50ac77._0x488fd2,-_0x50ac77._0xca504e,-0x18c,-_0x50ac77._0x2243d2)])_0x30d986[_0x3261d6(-0x4a,-0x48,_0x50ac77._0x16a502,_0x50ac77._0xdc9aa)](_0x3261d6(-_0x50ac77._0x3c349e,0xa3,-0x83,-0xef)+_0x189f61[_0x16b53b(-_0x50ac77._0x1fa715,0xa2,_0x50ac77._0x272b16,_0x50ac77._0x453c00)]);return _0x30d986['join']('\x0a');})['join']('\x0a\x0a');}async function searchGoogleCse(_0x39e1e2,_0x5590d1,_0x5aa710){const _0x1a8757={_0x1b7fbb:0x90,_0x8a41d4:0x96,_0x4e1112:0x15f,_0x3a186e:0xc4,_0x402b1e:0x50,_0x5ad036:0x42,_0x3ee19f:0x18e,_0x2e6166:0xf3,_0x41eb6c:0x78,_0x2fda1a:0x1a3,_0x188a88:0xd2,_0xaddeb4:0xb3,_0x466293:0x42,_0x42ec66:0xbd,_0x5a4aaa:0xff,_0x4b3a70:0x72,_0x4ee14e:0x70,_0x6915d9:0xa7,_0x1e1a03:0x143,_0x5da2e9:0x162,_0x11bd86:0xa6,_0x18731c:0x24c,_0x7f373e:0x72,_0x36e331:0x5e,_0x3fa750:0x82,_0x503384:0x2c9,_0x287438:0x22,_0x4226c4:0x136,_0x498d76:0xbd,_0x1b27d5:0x1bc,_0x1e0445:0x3c,_0x5e02c1:0xc9,_0x5267a2:0x298,_0x5e5083:0x14,_0x4ae23a:0xe7,_0x547bfb:0x20,_0x4eb003:0x1bd,_0xc11d53:0xf4,_0x28bc7f:0x11b,_0xa18563:0x115,_0x3adc41:0x154,_0x200281:0x10f,_0x3124ce:0x18,_0x59ddbf:0x0,_0x3d14d3:0x47,_0x261476:0xa5,_0x4128d7:0x152,_0x4f7691:0x162,_0x1dc239:0x2a6,_0x31af8a:0x162,_0xee0fbf:0x178,_0x417263:0x13b,_0x1eab31:0x191,_0x5ef3f3:0x188,_0x33bbfc:0x1fa,_0xb652c2:0x26a,_0xefcde8:0x2b7,_0x47ffaf:0x1fa,_0x25ffc4:0xd7,_0x5b9dda:0x70,_0x169d54:0xa8,_0x4601a0:0xad,_0x2e2457:0x9,_0x431c6c:0x17,_0x2ee964:0xb4,_0x2aeda7:0x20,_0xf55a0:0xd0,_0x215fc1:0x65,_0x2d41e6:0x10d,_0x53c098:0x262,_0x13dd23:0x4,_0x4c4d01:0x13f,_0x2d9d1f:0x1f5,_0x159ff4:0x116,_0x389fe3:0x1f4,_0x57184c:0x18,_0x1c090f:0x103,_0x399550:0x132,_0x460901:0xb,_0x57de2c:0xfa,_0x882f9c:0xf5,_0x1211dd:0x1b5,_0x596343:0x190,_0x4986a6:0x141,_0x3ef5e4:0x39,_0x37b2d7:0x23,_0x2de40e:0x97,_0x16c119:0x50,_0x526c4d:0x1e7,_0x2a0a0d:0x23f,_0x293dda:0x20c,_0x8e607c:0x32f,_0x4683b6:0x1f0,_0x4c07c8:0xea,_0x5d27e7:0xc8,_0xc7712b:0xfc,_0xaf5b95:0xe1,_0x7d573a:0x5c,_0x1d8084:0xb2,_0x188319:0x69,_0x599e5d:0x11,_0x13786f:0x2d,_0x9173da:0xa2,_0x631073:0x62,_0x294c8b:0x85,_0x50a4ac:0x11a,_0x3858bc:0x1f2,_0xcb84be:0x12b,_0x331b11:0xc1,_0x31ce69:0x11e,_0x7ed4eb:0xf8,_0x467b1b:0x137,_0x396fb8:0x24,_0x215674:0x1c9,_0x568848:0xf,_0x5351a0:0xcb,_0x308006:0x1ed,_0x50b081:0x155,_0x1058d8:0x12d,_0x579815:0x266,_0x2caae3:0x149,_0xd61e1:0x7a,_0x194aea:0x240,_0x46f9ca:0x1d3},_0x538e23={_0x211528:0x14d,_0x4422b0:0x38a},_0x47cef4={_0x440805:0x13e,_0x376856:0x11a};function _0x1296e6(_0x27b555,_0x4023aa,_0x46b3a1,_0x3097fe){return _0x43e84c(_0x27b555-_0x47cef4._0x440805,_0x3097fe,_0x46b3a1-_0x47cef4._0x376856,_0x27b555- -0x50c);}const _0x4682b1=Math[_0x54fb91(_0x1a8757._0x1b7fbb,-0x14e,-_0x1a8757._0x8a41d4,-0x6f)](0x1,Math[_0x1296e6(-0x9d,-0x74,-_0x1a8757._0x4e1112,-_0x1a8757._0x3a186e)](0x32,_0x5590d1[_0x54fb91(0xb4,0xc8,0x192,_0x1a8757._0x402b1e)]));if(_0x5590d1[_0x54fb91(0x11a,-0x14,0x87,_0x1a8757._0x5ad036)]+_0x4682b1>0x64)throw new ToolExecutionError(_0x1296e6(-_0x1a8757._0x3ee19f,-_0x1a8757._0x2e6166,-_0x1a8757._0x41eb6c,-_0x1a8757._0x2fda1a),{'offset':_0x5590d1[_0x54fb91(-_0x1a8757._0x188a88,_0x1a8757._0xaddeb4,0x17f,_0x1a8757._0x466293)],'count':_0x4682b1,'maxResults':0x64});const _0x269be1=cseDateRestrict(_0x5590d1[_0x54fb91(0xdf,-0x13,0x1f,_0x1a8757._0x42ec66)]),_0x677882=addSiteFilters(_0x5590d1['query'],_0x5590d1['domains']);let _0xdf3b25=0x0;function _0x54fb91(_0x26f8f2,_0x51b637,_0xf0a71,_0x449242){return _0x43e84c(_0x26f8f2-0x1b7,_0x26f8f2,_0xf0a71-_0x538e23._0x211528,_0x449242- -_0x538e23._0x4422b0);}let _0x19249d=_0x5590d1['offset']+0x1;const _0x198bc9=[];while(_0xdf3b25<_0x4682b1){const _0x481c9b=Math[_0x54fb91(0x64,0x87,0xec,0xe5)](0xa,_0x4682b1-_0xdf3b25),_0x19bd47=new URL(_0x54fb91(_0x1a8757._0x5a4aaa,0x1fa,0x58,0xf7));_0x19bd47['searchParams'][_0x1296e6(_0x1a8757._0x4b3a70,_0x1a8757._0x4ee14e,_0x1a8757._0x6915d9,_0x1a8757._0x1e1a03)](_0x1296e6(-0x14e,-0x118,-0x184,-0x131),_0x39e1e2['googleCseKey']),_0x19bd47[_0x1296e6(-_0x1a8757._0x5da2e9,-_0x1a8757._0x11bd86,-_0x1a8757._0x18731c,-0x52)][_0x1296e6(_0x1a8757._0x7f373e,-_0x1a8757._0x36e331,_0x1a8757._0x3fa750,0x45)]('cx',_0x39e1e2[_0x1296e6(-0x1c1,-_0x1a8757._0x503384,-0x23f,-0x1ab)]),_0x19bd47[_0x1296e6(-0x162,-_0x1a8757._0x287438,-_0x1a8757._0x4226c4,-0x126)][_0x54fb91(_0x1a8757._0x498d76,0x207,_0x1a8757._0x1b27d5,0x1f4)]('q',_0x677882),_0x19bd47[_0x54fb91(_0x1a8757._0x1e0445,-0x3a,_0x1a8757._0x5e02c1,0x20)][_0x54fb91(_0x1a8757._0x5267a2,0x1b3,0x1a0,0x1f4)](_0x54fb91(0xfa,0x239,0x82,0x136),String(_0x481c9b)),_0x19bd47[_0x54fb91(_0x1a8757._0x5e5083,-0xac,_0x1a8757._0x4ae23a,_0x1a8757._0x547bfb)][_0x54fb91(_0x1a8757._0x4eb003,0x321,0xe9,0x1f4)](_0x1296e6(-_0x1a8757._0xc11d53,-_0x1a8757._0x28bc7f,-_0x1a8757._0xa18563,-_0x1a8757._0x3adc41),String(_0x19249d)),_0x19bd47['searchParams'][_0x1296e6(0x72,0x47,0x165,0x99)]('safe',_0x5590d1[_0x54fb91(_0x1a8757._0x200281,0x55,-0x43,-0x10)]?'active':_0x54fb91(_0x1a8757._0x3124ce,-0xbc,0x2,_0x1a8757._0x59ddbf));_0x5590d1[_0x1296e6(-_0x1a8757._0x3d14d3,-0x12,_0x1a8757._0x261476,-_0x1a8757._0x4128d7)]&&(_0x19bd47[_0x1296e6(-_0x1a8757._0x4f7691,-0x175,-0x173,-_0x1a8757._0x1dc239)]['set']('hl',_0x5590d1[_0x1296e6(-0x47,0x7c,-0x1d,-0x134)]),_0x19bd47[_0x1296e6(-_0x1a8757._0x31af8a,-0x138,-_0x1a8757._0xee0fbf,-0x169)][_0x1296e6(_0x1a8757._0x4b3a70,0xef,0x89,0x3a)]('lr',_0x54fb91(0xfc,0x27,-0xe9,0x2f)+_0x5590d1[_0x54fb91(0x1e9,0x20a,_0x1a8757._0xc11d53,_0x1a8757._0x417263)]));if(_0x5590d1[_0x54fb91(_0x1a8757._0x1eab31,0x1ff,_0x1a8757._0x5ef3f3,_0x1a8757._0x33bbfc)])_0x19bd47['searchParams']['set']('gl',_0x5590d1[_0x54fb91(0x128,_0x1a8757._0xb652c2,_0x1a8757._0xefcde8,_0x1a8757._0x47ffaf)][_0x1296e6(0x5e,_0x1a8757._0x417263,-_0x1a8757._0x25ffc4,-_0x1a8757._0x5b9dda)]());if(_0x5590d1[_0x1296e6(0x41,0x18,0x15f,-_0x1a8757._0x169d54)]===_0x1296e6(-0x1be,-0x21e,-0x132,-_0x1a8757._0x4601a0))_0x19bd47[_0x54fb91(_0x1a8757._0x2e2457,_0x1a8757._0x431c6c,-_0x1a8757._0x2ee964,_0x1a8757._0x2aeda7)]['set'](_0x54fb91(-_0x1a8757._0xf55a0,0x4,-_0x1a8757._0x215fc1,-0x2a),_0x54fb91(_0x1a8757._0x2d41e6,_0x1a8757._0x53c098,0x146,0x1f0));if(_0x269be1)_0x19bd47[_0x54fb91(-_0x1a8757._0x13dd23,-0x48,_0x1a8757._0x4c4d01,0x20)][_0x54fb91(_0x1a8757._0x2d9d1f,0x239,_0x1a8757._0x159ff4,_0x1a8757._0x389fe3)](_0x54fb91(_0x1a8757._0x547bfb,-0x7d,-_0x1a8757._0x57184c,-0x57),_0x269be1);const _0x6215a6=await fetchJson(_0x19bd47[_0x1296e6(-_0x1a8757._0x1c090f,-_0x1a8757._0x399550,-0x15b,_0x1a8757._0x460901)](),_0x5aa710),_0x5e25f0=_0x6215a6[_0x1296e6(-_0x1a8757._0x57de2c,-_0x1a8757._0x882f9c,-0x9d,-_0x1a8757._0x1211dd)]??[];if(_0x5e25f0[_0x54fb91(_0x1a8757._0x596343,_0x1a8757._0x4986a6,0x1fb,0x149)]===0x0)break;const _0x54bbb=_0xdf3b25;for(let _0x3b039c=0x0;_0x3b039c<_0x5e25f0[_0x1296e6(-_0x1a8757._0x3ef5e4,_0x1a8757._0x37b2d7,_0x1a8757._0x2de40e,-_0x1a8757._0x16c119)];_0x3b039c++){const _0x22377b=_0x5e25f0[_0x3b039c];if(!_0x22377b)continue;const _0x1df565=_0x22377b[_0x1296e6(-_0x1a8757._0x526c4d,-0x136,-_0x1a8757._0x2a0a0d,-0x1f6)]||_0x22377b[_0x54fb91(_0x1a8757._0x293dda,_0x1a8757._0x8e607c,_0x1a8757._0x4eb003,_0x1a8757._0x4683b6)]?.[_0x1296e6(-_0x1a8757._0x460901,_0x1a8757._0x4c07c8,-0x116,-_0x1a8757._0x5d27e7)]||'',_0x3ff373=_0x22377b['title']||_0x22377b[_0x54fb91(0x31f,0x234,_0x1a8757._0xc7712b,_0x1a8757._0x4683b6)]?.[_0x54fb91(0xa2,-_0x1a8757._0xaf5b95,0x48,_0x1a8757._0x7d573a)]||_0x54fb91(-_0x1a8757._0x1d8084,-0x148,_0x1a8757._0x188319,-_0x1a8757._0x599e5d),_0x2134d3=_0x22377b[_0x54fb91(_0x1a8757._0x13786f,_0x1a8757._0x9173da,_0x1a8757._0x631073,-_0x1a8757._0x294c8b)]||_0x22377b[_0x1296e6(-0x1ea,-0x2a6,-_0x1a8757._0x389fe3,-0x1d0)]?.[_0x1296e6(-0x138,-0x185,-0x271,-0x15d)](/<[^>]+>/g,''),_0x15c317=_0x22377b[_0x54fb91(_0x1a8757._0x50a4ac,_0x1a8757._0x3858bc,_0x1a8757._0xcb84be,_0x1a8757._0x331b11)]?.[_0x54fb91(0xe7,_0x1a8757._0x31ce69,_0x1a8757._0x7ed4eb,0x1cf)]?.[0x0]??{};let _0x38ec22;try{_0x38ec22=new URL(_0x1df565)[_0x54fb91(0x87,-0x118,_0x1a8757._0x467b1b,_0x1a8757._0x396fb8)];}catch{_0x38ec22=null;}_0x198bc9[_0x54fb91(0x189,0x245,0x2ac,_0x1a8757._0x215674)]({'title':_0x3ff373,'url':normalizeUrl(_0x1df565),'snippet':_0x2134d3??null,'displayUrl':_0x38ec22,'favicon':null,'publishedAt':_0x15c317[_0x1296e6(-_0x1a8757._0x568848,-_0x1a8757._0x5351a0,0xe1,-0x42)]||_0x15c317[_0x1296e6(-0x195,-0xe1,-0x6d,-_0x1a8757._0x308006)]||null,'source':{'engine':_0x54fb91(-_0x1a8757._0x50b081,-_0x1a8757._0x1058d8,-0xdb,-0x77),'rank':_0x54bbb+_0x3b039c+0x1}});}_0xdf3b25+=_0x5e25f0['length'],_0x19249d+=_0x5e25f0[_0x54fb91(0x32,_0x1a8757._0x579815,0x264,_0x1a8757._0x2caae3)];if(_0x5e25f0[_0x54fb91(0x265,0xcd,_0x1a8757._0xd61e1,0x149)]<_0x481c9b)break;}return _0x198bc9[_0x54fb91(_0x1a8757._0x47ffaf,0x174,_0x1a8757._0x194aea,_0x1a8757._0x46f9ca)](0x0,_0x4682b1);}function createWebSearchTool(_0x56886a){const _0x1d662d={_0x37fa5f:0x591,_0x2cb8bc:0x3d5,_0x5989c8:0x4c5,_0x598969:0x441,_0x37716d:0x48a,_0x542818:0x266,_0x338e11:0x3f0,_0x3605a1:0x4c9,_0x26826:0x3b1,_0x535757:0x4f5,_0x16bc3c:0x43c,_0x43ad0c:0x474,_0x1a7ff9:0x5a3,_0x51af6f:0x3cc,_0x5827dd:0x437,_0x23e0c3:0x513,_0x421aec:0x54c,_0x2f9c13:0x624,_0x118a38:0x58c,_0x52f939:0x4f3,_0xf063f9:0x59c,_0x4d83d9:0x23b,_0x40a42d:0x337,_0x861a36:0x3c2,_0x420029:0x3e7,_0x33873b:0x4a3,_0x1ca260:0x337,_0x39ac69:0x44f,_0x4815a7:0x2ae,_0x26745d:0x3eb},_0x3d1fbd={_0x4f1f60:0x452,_0x5c4390:0x566,_0x2b4d9f:0x551,_0x443df4:0x3e8,_0x121680:0x376,_0x49cb40:0x2b7,_0x11d9bb:0x663,_0x56c991:0x5e3,_0xef1548:0x50f,_0x32f1a0:0x64f,_0x4a2f83:0x617,_0x22a099:0x6b5,_0xd6ce28:0x7a7,_0x2f9dca:0x712,_0x15c6df:0x602,_0x461ad3:0x5c0,_0x3c549c:0x4fc,_0x4edf3f:0x559,_0x15d9fe:0x523,_0x2e25ed:0x56a,_0x519d0d:0x60c,_0x4fd448:0x48d,_0x3a0d5f:0x426,_0x449e50:0x397,_0x28292c:0x281,_0x2cae19:0x28a,_0x2f3537:0x2e4,_0x29f327:0x793,_0x581fa9:0x778,_0x346953:0x879,_0x3defe2:0x741,_0xfc8588:0x7eb,_0x18057a:0x66a,_0x10f34b:0x7ef,_0xf0d115:0x70f,_0x183a77:0x7cb,_0x21562d:0x73f,_0x36884c:0x737,_0x56bfd5:0x7c6,_0x53419f:0x6f4,_0x58040e:0x7d9,_0x151234:0x383,_0x40debf:0x39b,_0x190674:0x2ee,_0xa561d5:0x644,_0x4554a9:0x73d,_0x215e5c:0x6c7,_0x3b0576:0x67a,_0x5e19dd:0x768,_0x39f711:0x5cd,_0xf4b900:0x633,_0x61f433:0x718,_0x334f02:0x63b,_0x558d4c:0x300,_0x45e762:0x29c,_0x5bb630:0x795,_0x29ffae:0x57b,_0x172d0e:0x75f,_0xb0bd77:0x7cf,_0x3d6011:0x7b9,_0x55cc00:0x5e4,_0x1708d0:0x6ba,_0x48bdd8:0x6ce,_0x2c09e9:0x7a7,_0x29ef0c:0x4b0,_0x11437b:0x3b3,_0x25eb4b:0x2b0,_0x27a4e8:0x2aa,_0x56b565:0x693},_0x5b7b53={_0xae7b0e:0x114,_0x54eaa0:0x40},_0x52f2a6={_0xb07309:0x1f0,_0x308685:0x6};if(!_0x56886a[_0x4e36e9(0x52e,0x59f,0x69c,_0x1d662d._0x37fa5f)])throw new Error(_0x4e36e9(0x38e,0x4b9,_0x1d662d._0x2cb8bc,_0x1d662d._0x5989c8));function _0x374a92(_0xdb0059,_0x1eeda2,_0x2ea979,_0x3fc402){return _0x120580(_0x1eeda2- -0xbd,_0x2ea979,_0x2ea979-_0x52f2a6._0xb07309,_0x3fc402-_0x52f2a6._0x308685);}function _0x4e36e9(_0x90029d,_0x4b117f,_0x544875,_0x57ccd2){return _0x43e84c(_0x90029d-0x76,_0x544875,_0x544875-0x1cf,_0x57ccd2-0x79);}if(!_0x56886a['googleCseCx'])throw new Error(_0x374a92(0x44a,0x43a,0x4d6,0x522));const _0x1e520a=_0x56886a[_0x374a92(0x371,_0x1d662d._0x598969,_0x1d662d._0x37716d,0x324)]??'WebSearch';return defineTool({'name':_0x1e520a,'description':_0x4e36e9(0x40e,0x2e2,_0x1d662d._0x542818,0x398),'inputSchema':{'type':_0x374a92(0x4b8,0x53e,0x3fd,0x48e),'properties':{'description':{'type':_0x4e36e9(0x55c,_0x1d662d._0x338e11,0x3a9,_0x1d662d._0x3605a1)},'query':{'type':_0x374a92(0x3da,0x437,0x34f,_0x1d662d._0x26826)},'count':{'type':_0x374a92(0x533,0x4f5,0x53d,0x45a)},'offset':{'type':_0x374a92(0x531,_0x1d662d._0x535757,0x4e4,0x613)},'domains':{'type':_0x374a92(_0x1d662d._0x16bc3c,_0x1d662d._0x43ad0c,_0x1d662d._0x1a7ff9,0x3c9),'items':{'type':_0x374a92(_0x1d662d._0x51af6f,_0x1d662d._0x5827dd,_0x1d662d._0x23e0c3,_0x1d662d._0x421aec)}},'recencyDays':{'type':_0x374a92(0x3fd,_0x1d662d._0x535757,_0x1d662d._0x2f9c13,0x5fb)},'lang':{'type':_0x4e36e9(_0x1d662d._0x118a38,_0x1d662d._0x52f939,_0x1d662d._0xf063f9,0x4c9)},'region':{'type':'string'},'safe':{'type':_0x374a92(_0x1d662d._0x4d83d9,_0x1d662d._0x40a42d,0x2a9,_0x1d662d._0x861a36)},'type':{'type':_0x374a92(0x3b0,_0x1d662d._0x5827dd,_0x1d662d._0x420029,_0x1d662d._0x33873b)},'hydrateMeta':{'type':_0x374a92(0x210,_0x1d662d._0x1ca260,_0x1d662d._0x39ac69,0x265)}},'required':[_0x4e36e9(0x376,0x2fc,_0x1d662d._0x4815a7,_0x1d662d._0x26745d)]},async *'execute'(_0x23c4ca,_0x4506f0){const _0x12ad35={_0x10cb0a:0x111,_0x3c1810:0x167},_0x425ceb={_0x34df6a:0x79f,_0x271490:0x60d,_0x22c67b:0x603,_0x5377ce:0x5d2,_0x47bcb4:0x5cc},_0x1c8f25={_0x13d1f8:0x3f4},_0x3ccdbd=_0x23c4ca[_0x35c6a0(_0x3d1fbd._0x4f1f60,_0x3d1fbd._0x5c4390,_0x3d1fbd._0x2b4d9f,0x648)]['trim']();if(!_0x3ccdbd)throw new ToolExecutionError(_0x4c5f21(0x3c2,_0x3d1fbd._0x443df4,0x49d,_0x3d1fbd._0x121680));const _0x3aa0e1={'query':_0x3ccdbd,'count':Math[_0x4c5f21(0x2c4,0x1f1,_0x3d1fbd._0x49cb40,0xf3)](0x1,Math[_0x35c6a0(0x72e,_0x3d1fbd._0x11d9bb,_0x3d1fbd._0x56c991,0x797)](0x32,Math['trunc'](_0x23c4ca['count']??0xa))),'offset':Math[_0x35c6a0(0x493,_0x3d1fbd._0xef1548,_0x3d1fbd._0x32f1a0,_0x3d1fbd._0x4a2f83)](0x0,Math[_0x35c6a0(0x6f0,_0x3d1fbd._0x22a099,_0x3d1fbd._0xd6ce28,_0x3d1fbd._0x2f9dca)](_0x23c4ca[_0x35c6a0(_0x3d1fbd._0x15c6df,_0x3d1fbd._0x461ad3,_0x3d1fbd._0x3c549c,_0x3d1fbd._0x4edf3f)]??0x0)),'domains':_0x23c4ca[_0x35c6a0(0x678,0x5cd,_0x3d1fbd._0x15d9fe,_0x3d1fbd._0x2e25ed)]??[],'recencyDays':Math[_0x35c6a0(_0x3d1fbd._0x519d0d,0x50f,_0x3d1fbd._0x4fd448,0x5c4)](0x0,Math[_0x4c5f21(_0x3d1fbd._0x3a0d5f,_0x3d1fbd._0x449e50,0x312,0x447)](_0x23c4ca[_0x4c5f21(0x2e4,0x31d,_0x3d1fbd._0x28292c,0x3e4)]??0x0)),'lang':_0x23c4ca[_0x4c5f21(0x3e9,0x39b,_0x3d1fbd._0x2cae19,_0x3d1fbd._0x2f3537)]??'en','region':_0x23c4ca[_0x35c6a0(_0x3d1fbd._0x29f327,_0x3d1fbd._0x581fa9,0x717,0x882)]??'','safe':_0x23c4ca[_0x35c6a0(0x432,0x56e,0x4d0,0x4c0)]??!![],'type':normalizeType(_0x23c4ca[_0x35c6a0(_0x3d1fbd._0x346953,_0x3d1fbd._0x3defe2,_0x3d1fbd._0xfc8588,_0x3d1fbd._0x18057a)]),'hydrateMeta':_0x23c4ca[_0x35c6a0(0x825,0x746,_0x3d1fbd._0x10f34b,_0x3d1fbd._0xf0d115)]??![]};let _0x60991e=await searchGoogleCse(_0x56886a,_0x3aa0e1,_0x4506f0[_0x35c6a0(_0x3d1fbd._0x183a77,0x77b,0x7a4,0x677)]);_0x3aa0e1[_0x35c6a0(_0x3d1fbd._0x21562d,0x746,_0x3d1fbd._0x36884c,_0x3d1fbd._0x56bfd5)]&&_0x60991e[_0x35c6a0(_0x3d1fbd._0x53419f,0x6c7,_0x3d1fbd._0x58040e,0x5db)]>0x0&&(_0x60991e=await hydrateResults(_0x60991e,_0x3aa0e1[_0x4c5f21(_0x3d1fbd._0x151234,_0x3d1fbd._0x40debf,_0x3d1fbd._0x190674,0x28b)],_0x4506f0['signal']));const _0x581a96=new Set();function _0x35c6a0(_0x150bdb,_0x4bb3b3,_0x220dc4,_0x2cd47){return _0x4e36e9(_0x150bdb-_0x5b7b53._0xae7b0e,_0x4bb3b3-_0x5b7b53._0x54eaa0,_0x150bdb,_0x4bb3b3-0x17b);}_0x60991e=_0x60991e['filter'](_0x6d15c5=>{const _0x43059c={_0x3df340:0x1b9,_0x2be98b:0x2bd,_0xee85fc:0x47},_0x591064=_0x6d15c5[_0x425ce(0x7a6,0x68b,0x6d8,_0x425ceb._0x34df6a)]['toLowerCase']();function _0x33bcfb(_0x5e4e11,_0x43f446,_0x154653,_0xba701f){return _0x4c5f21(_0x5e4e11-0x122,_0xba701f- -_0x1c8f25._0x13d1f8,_0x154653,_0xba701f-0x14a);}if(!_0x591064||_0x581a96[_0x425ce(_0x425ceb._0x271490,0x6e8,_0x425ceb._0x22c67b,0x693)](_0x591064))return![];_0x581a96[_0x425ce(0x585,0x4b9,_0x425ceb._0x5377ce,_0x425ceb._0x47bcb4)](_0x591064);function _0x425ce(_0x26eb24,_0x4c359c,_0x28d943,_0x35138a){return _0x4c5f21(_0x26eb24-_0x43059c._0x3df340,_0x28d943-_0x43059c._0x2be98b,_0x4c359c,_0x35138a-_0x43059c._0xee85fc);}return!![];}),_0x60991e=_0x60991e[_0x35c6a0(_0x3d1fbd._0xa561d5,_0x3d1fbd._0x4554a9,0x854,0x7f8)]((_0x5864d6,_0x51a8fd)=>({..._0x5864d6,'source':{..._0x5864d6['source'],'rank':_0x51a8fd+0x1}}));const _0x5a2bef={};if(_0x3aa0e1['domains'][_0x35c6a0(0x74b,_0x3d1fbd._0x215e5c,_0x3d1fbd._0x3b0576,_0x3d1fbd._0x5e19dd)]>0x0)_0x5a2bef[_0x35c6a0(0x5b9,_0x3d1fbd._0x39f711,_0x3d1fbd._0xf4b900,0x4e8)]=_0x3aa0e1['domains'];if(_0x3aa0e1['recencyDays']>0x0)_0x5a2bef[_0x35c6a0(_0x3d1fbd._0x61f433,_0x3d1fbd._0x334f02,0x510,_0x3d1fbd._0x4554a9)]=_0x3aa0e1[_0x4c5f21(_0x3d1fbd._0x558d4c,0x31d,_0x3d1fbd._0x28292c,_0x3d1fbd._0x45e762)];if(_0x3aa0e1[_0x35c6a0(0x7d6,0x6b9,_0x3d1fbd._0x5bb630,_0x3d1fbd._0x29ffae)]!=='en')_0x5a2bef[_0x35c6a0(0x573,0x6b9,0x70a,0x7b3)]=_0x3aa0e1[_0x35c6a0(0x5b9,0x6b9,_0x3d1fbd._0x172d0e,_0x3d1fbd._0xb0bd77)];if(_0x3aa0e1['region'])_0x5a2bef[_0x35c6a0(0x853,0x778,0x890,_0x3d1fbd._0x3d6011)]=_0x3aa0e1['region'];function _0x4c5f21(_0x259e88,_0x4bed7e,_0x20fe03,_0x3624bd){return _0x374a92(_0x259e88-0x1cb,_0x4bed7e- -_0x12ad35._0x10cb0a,_0x20fe03,_0x3624bd-_0x12ad35._0x3c1810);}return yield createToolOutput(formatResults(_0x60991e),{'engine':'google-cse','count':_0x60991e[_0x35c6a0(0x69d,0x6c7,0x76b,_0x3d1fbd._0x55cc00)],'items':_0x60991e,'query':_0x3aa0e1['query'],...Object[_0x35c6a0(_0x3d1fbd._0x1708d0,_0x3d1fbd._0x48bdd8,0x7ef,_0x3d1fbd._0x2c09e9)](_0x5a2bef)[_0x4c5f21(_0x3d1fbd._0x29ef0c,0x3a9,0x450,_0x3d1fbd._0x11437b)]>0x0?{'appliedFilters':_0x5a2bef}:{},'offset':_0x3aa0e1['offset'],'totalRequested':_0x3aa0e1[_0x4c5f21(0x386,_0x3d1fbd._0x25eb4b,_0x3d1fbd._0x27a4e8,0x304)],'hydrated':_0x3aa0e1[_0x35c6a0(0x6c1,0x746,0x85b,_0x3d1fbd._0x56b565)]}),void 0x0;}});}export{ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};