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

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(_0x187528,_0xa3b26e){const _0x482571={_0x2f54b6:0x53,_0x4aac9f:0x7f,_0x3fc9ad:0x2ec,_0x2683a0:0x33,_0x12ef04:0x9f,_0x54c501:0x163,_0x5f5dbc:0x1f,_0x242b1c:0x134,_0x18dfc5:0x1d6,_0x245bf1:0x8e,_0x4e6cb7:0x9,_0x8bf480:0x12e,_0x3e5ac1:0x18c,_0x1d88d0:0x21f,_0x20664f:0x198,_0x1ab7fb:0xcf,_0x526b6c:0x2c,_0x59199a:0x2,_0x2f8a35:0x3a,_0x1ef1a7:0xc7,_0x3ad013:0x42,_0x5a92f0:0xdb,_0x201cfa:0x366},_0x24a100={_0x1bb5b6:0x16a},_0x33f241=_0x187528();function _0x3a8e41(_0x1d3378,_0x2759af,_0x1295d3,_0x512792){return _0x16a6(_0x1295d3- -_0x24a100._0x1bb5b6,_0x512792);}function _0x46c329(_0x41d62a,_0x2a7568,_0x147814,_0x35f0bf){return _0x16a6(_0x2a7568- -0x24b,_0x147814);}while(!![]){try{const _0x3f971b=parseInt(_0x46c329(-_0x482571._0x2f54b6,-_0x482571._0x4aac9f,-0xf5,0x16))/0x1*(-parseInt(_0x3a8e41(_0x482571._0x3fc9ad,0x10b,0x1ad,0x156))/0x2)+-parseInt(_0x46c329(_0x482571._0x2683a0,-_0x482571._0x12ef04,-_0x482571._0x54c501,_0x482571._0x5f5dbc))/0x3+parseInt(_0x3a8e41(0x154,_0x482571._0x242b1c,_0x482571._0x18dfc5,_0x482571._0x245bf1))/0x4*(-parseInt(_0x3a8e41(0x18,_0x482571._0x4e6cb7,0xf8,_0x482571._0x8bf480))/0x5)+parseInt(_0x3a8e41(0x162,0x1b1,_0x482571._0x3e5ac1,_0x482571._0x1d88d0))/0x6+-parseInt(_0x3a8e41(_0x482571._0x20664f,-0x71,_0x482571._0x1ab7fb,-0x4e))/0x7+parseInt(_0x46c329(-0xb6,-_0x482571._0x526b6c,-_0x482571._0x59199a,-_0x482571._0x2f8a35))/0x8*(-parseInt(_0x46c329(0x1be,_0x482571._0x1ef1a7,-_0x482571._0x3ad013,_0x482571._0x5a92f0))/0x9)+parseInt(_0x3a8e41(0x14f,0x337,0x280,_0x482571._0x201cfa))/0xa;if(_0x3f971b===_0xa3b26e)break;else _0x33f241['push'](_0x33f241['shift']());}catch(_0x4c349b){_0x33f241['push'](_0x33f241['shift']());}}}(_0x18c5,0x319f5));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 _0x1bcfec from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':_0x278b49(-0x27,-0x60,0x66,-0x3c),'.js':_0x2fd7af(-0xc4,-0xda,0x82,-0x1ac),'.jsx':_0x278b49(-0xea,0x5d,0xe,0x7b),'.mjs':_0x278b49(-0x9,-0xf6,-0x75,-0x1b7),'.cjs':_0x278b49(-0x186,-0x190,-0x75,0x43),'.mts':_0x2fd7af(-0xfa,0x2e,-0x1af,-0x206),'.cts':_0x278b49(-0x2e,-0x13a,-0xab,-0xe6),'.json':_0x2fd7af(-0x188,-0xc0,-0x1fd,-0x24c),'.jsonc':_0x2fd7af(-0x5b,-0x189,-0x14,0x2b)};function getLanguageId(_0x377c10){const _0x17f2e9={_0x8add3a:0x269,_0x2da242:0x314},_0x49748c={_0x16961e:0x31,_0x4e8ee1:0x198};function _0x3823d1(_0x2ac146,_0x48063a,_0x5b15b6,_0x3da3c2){return _0x278b49(_0x2ac146-0x1b4,_0x48063a-_0x49748c._0x16961e,_0x2ac146-_0x49748c._0x4e8ee1,_0x48063a);}return EXTENSION_TO_LANGUAGE[_0x1bcfec['extname'](_0x377c10)[_0x3823d1(0x270,_0x17f2e9._0x8add3a,0x137,_0x17f2e9._0x2da242)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x183635){const _0x21c478={_0x302e78:0x1fb},_0x57ae0b={_0x3c097d:0x3ad,_0x596aab:0xe7};function _0xa09b0e(_0x25e56d,_0x2f1f5b,_0x44efb8,_0x3d02b8){return _0x2fd7af(_0x2f1f5b-_0x57ae0b._0x3c097d,_0x2f1f5b-_0x57ae0b._0x596aab,_0x44efb8,_0x3d02b8-0xdc);}return pathToFileURL(_0x183635)[_0xa09b0e(_0x21c478._0x302e78,0x2f8,0x3a6,0x39a)]();}function textDocumentPosition(_0x370c2d){const _0x396448={_0x8fa181:0x3bd,_0x22e3b2:0x31f,_0x441f0d:0x1e8,_0x25455f:0x420},_0x1da590={_0x5b57d5:0x124,_0x2b59f7:0xf},_0x4d957a={_0xe895f:0x93,_0x8b7767:0x687};function _0x1fe292(_0x23d66b,_0x4c4b58,_0x49d686,_0x36aeee){return _0x278b49(_0x23d66b-_0x4d957a._0xe895f,_0x4c4b58-0xee,_0x4c4b58-_0x4d957a._0x8b7767,_0x36aeee);}function _0x4b780a(_0xcbe599,_0x18ac68,_0x280025,_0x471d61){return _0x278b49(_0xcbe599-_0x1da590._0x5b57d5,_0x18ac68-_0x1da590._0x2b59f7,_0x280025-0x3ac,_0x471d61);}return{'textDocument':{'uri':uriForPath(_0x370c2d[_0x4b780a(_0x396448._0x8fa181,0x247,_0x396448._0x22e3b2,_0x396448._0x441f0d)])},'position':{'line':_0x370c2d[_0x4b780a(0x4d2,0x4a9,_0x396448._0x25455f,0x4d7)],'character':_0x370c2d['character']}};}function normalizeLocations(_0x29d805){const _0x336332={_0x9de9a:0x686},_0x376107={_0x123008:0x15a,_0x4a2696:0x82};function _0x4f094a(_0x3b4a02,_0x131f9b,_0x566614,_0x15fb6c){return _0x2fd7af(_0x3b4a02-0x6d5,_0x131f9b-_0x376107._0x123008,_0x131f9b,_0x15fb6c-_0x376107._0x4a2696);}if(!_0x29d805)return[];return Array[_0x4f094a(0x5f4,0x60f,_0x336332._0x9de9a,0x597)](_0x29d805)?_0x29d805:[_0x29d805];}async function createLspClient(_0x106801){const _0x1a0d16={_0x3347fb:0x2d1,_0x4f7ca3:0x302,_0x2eee0b:0x1e3,_0x20a602:0x79,_0x505840:0x118,_0x3d625d:0x273,_0x39946c:0x218,_0x4a199c:0x2b6,_0x38a240:0xd5,_0x6e3920:0x210,_0x26f572:0x1c2,_0x24cf17:0x11f,_0x4b1eee:0x12a,_0x4ac45e:0x43,_0x5a0f5f:0x50,_0x2a1200:0x77,_0x4250a5:0xb3,_0x162e8d:0x190,_0x1b5fe0:0x328,_0x53bc13:0x9b,_0x4ca45b:0x1e3,_0x3af085:0x12a,_0x538321:0x32e,_0x53a734:0x2e,_0x5d6b06:0xd0,_0x5cdce0:0x61,_0x220b64:0x246,_0x117345:0x32d,_0x481d5d:0x215,_0x51cb3b:0xb8,_0x356680:0x1e3,_0x11cd92:0x172,_0x5395c2:0x4e},_0x43f465={_0xd33cb5:0x2ae,_0x3e5009:0x239,_0x3b990c:0x2c5,_0xa8d227:0x458,_0x20be8b:0x1f9,_0x36b18f:0x12,_0x1717d7:0x147,_0x43fbd3:0xeb,_0x42c470:0x174,_0x5101e4:0x28e,_0x557688:0x2c3,_0x172845:0x357,_0x20fe8b:0x1b4},_0x375cd6={_0x28088c:0x151},_0x4454f4={_0x3a22f7:0x6d8},_0x3bd949={_0xbc1e40:0x410,_0x4096c4:0x5ed,_0xe4664e:0x530,_0x3cbdc6:0x367,_0x4ee8ff:0x245,_0x4b77f8:0x380,_0x2ee650:0x3cf},_0x3b549b={_0x35161a:0x119,_0x1d17fe:0x106},_0x1c7cbb={_0xea5b25:0x100,_0xaf0bb2:0x14e,_0x42400a:0x110,_0x24f57d:0x5b,_0x1baadb:0xd5},_0x5498a2={_0x53c4be:0x6d},_0x54b3d3={_0x470c20:0x345,_0x169b52:0x32f,_0x2063a2:0x43b,_0x3e366c:0x39c},_0x37ce21={_0x59a767:0x504},_0x40e6b1={_0x3c70aa:0x68,_0x1a2d21:0x2af},_0x520336={_0x4a961f:0x5a5,_0x13912b:0x48b,_0x4a9f5a:0x4e7},_0x51880a={_0x41c4ea:0x423},_0x7d9556={_0x216006:0x87},_0x4c3203={_0x175474:0x169,_0x1a7591:0x490,_0x3727d8:0x558,_0x2d7223:0x480},_0x74d33={_0x70f460:0x4e,_0x12f84b:0xc8},_0x54e57b={_0x340169:0x535},_0x5584d6={_0x10a386:0x1cf,_0x2eaa92:0x63,_0xcfbe45:0x104,_0x2d9e64:0x3f,_0x282a70:0x1e4},_0x5afd44={_0x2c95ea:0x1d7},_0x5b5b9b={_0x1b9f20:0x33e,_0x2e75d2:0xe5,_0xead54d:0x1ee},_0x53bfe6={_0x2ab614:0x82,_0x2c6377:0x93,_0xac2830:0x8},_0x27b327={_0x492687:0x1ae,_0x53c9a1:0x214},_0xa8a1b6={_0xed3095:0x340},_0xfa46b9={_0x5a06ef:0x4d5,_0x1d218a:0x665,_0x496ea1:0x35b,_0x1059ce:0x4c8,_0x122ec2:0x2fb,_0x2520ef:0x62},_0x4a7688={_0x5a6c4a:0x60d},_0x2cfc60={_0x16faae:0x4e2,_0x420c52:0x400,_0x3df825:0x59b,_0x572518:0x198,_0x1bd943:0x1b2,_0x46fe31:0xc,_0x207384:0x586,_0x10332f:0x62c},_0x452ba1={_0xd7acd2:0xbd},_0x4a5af0={_0x5668c2:0x2c,_0x591f00:0x16e,_0x36f789:0x1ac},_0x3a6d25={_0x1b0f9b:0x709,_0x32d904:0x568,_0x2f2c9d:0x468,_0x566c52:0x4b0,_0x41290b:0x2bc,_0x18c9aa:0x1bf,_0x3036e4:0x218,_0x24449f:0x31f,_0x13f988:0x329},_0x3b9840={_0x28a4ec:0x26b,_0x48b896:0x16e},_0x2f91df=_0x106801[_0x248a92(-_0x1a0d16._0x3347fb,-0x89,-_0x1a0d16._0x4f7ca3,-0x1c7)][_0x390291(-0x27,_0x1a0d16._0x2eee0b,0x61,0xe6)][_0x248a92(_0x1a0d16._0x20a602,-0x2f,-_0x1a0d16._0x505840,-0xc9)],_0x10b62d=_0x106801[_0x248a92(-0x2af,-0x290,-_0x1a0d16._0x3d625d,-0x1c7)][_0x390291(0xf1,0xd3,_0x1a0d16._0x39946c,0xe6)]['stdin'];function _0x390291(_0x57460d,_0x541fd8,_0x29546a,_0x4358a7){return _0x2fd7af(_0x4358a7-_0x3b9840._0x28a4ec,_0x541fd8-_0x3b9840._0x48b896,_0x541fd8,_0x4358a7-0x133);}if(!_0x2f91df||!_0x10b62d)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');const _0x4568a7=createMessageConnection(new StreamMessageReader(_0x2f91df),new StreamMessageWriter(_0x10b62d)),_0x353733=new Map(),_0x216c01=new Map();let _0x23e040=![];_0x4568a7[_0x390291(0x2fe,0x22b,0x2cf,_0x1a0d16._0x4a199c)]('textDocument/publishDiagnostics',_0x1704ac=>{const _0xe7b402={_0x4c1c79:0x35f},_0x3ea6ab={_0xdbf6b3:0x10,_0x3055c:0x3a,_0x31eb88:0x2c};_0x353733['set'](_0x1704ac['uri'],_0x1704ac[_0x199f90(_0x3a6d25._0x1b0f9b,_0x3a6d25._0x32d904,0x618,0x6f9)]);function _0x567d2b(_0x359866,_0x491955,_0x20a346,_0x316a1d){return _0x390291(_0x359866-_0x3ea6ab._0xdbf6b3,_0x359866,_0x20a346-_0x3ea6ab._0x3055c,_0x491955-_0x3ea6ab._0x31eb88);}function _0x199f90(_0x353cac,_0x9ef8a7,_0x49bfce,_0x1cb139){return _0x390291(_0x353cac-0xc1,_0x9ef8a7,_0x49bfce-0x19b,_0x49bfce-_0xe7b402._0x4c1c79);}const _0x31c881=_0x216c01[_0x199f90(0x5ec,_0x3a6d25._0x2f2c9d,_0x3a6d25._0x566c52,0x590)](_0x1704ac['uri']);if(!_0x31c881)return;_0x216c01[_0x567d2b(0x1dd,0x2dd,0x1b2,_0x3a6d25._0x41290b)](_0x1704ac[_0x567d2b(_0x3a6d25._0x18c9aa,_0x3a6d25._0x3036e4,_0x3a6d25._0x24449f,_0x3a6d25._0x13f988)]);for(const _0x33ca41 of _0x31c881)_0x33ca41();});function _0x248a92(_0x49dd62,_0xaa29a7,_0xf44a06,_0x32f435){return _0x2fd7af(_0x32f435- -_0x4a5af0._0x5668c2,_0xaa29a7-_0x4a5af0._0x591f00,_0xf44a06,_0x32f435-_0x4a5af0._0x36f789);}_0x4568a7[_0x390291(0x121,_0x1a0d16._0x38a240,0xf4,0x1f8)]();const _0x3c9e1c=await _0x4568a7[_0x390291(_0x1a0d16._0x6e3920,_0x1a0d16._0x26f572,_0x1a0d16._0x24cf17,_0x1a0d16._0x4b1eee)](_0x248a92(_0x1a0d16._0x4ac45e,0x116,0x26,-0x2),{'processId':process['pid'],'rootUri':uriForPath(_0x106801[_0x390291(0x8,_0x1a0d16._0x5a0f5f,_0x1a0d16._0x2a1200,0x107)]),'workspaceFolders':[{'uri':uriForPath(_0x106801[_0x248a92(-0x213,-0xb2,-_0x1a0d16._0x4250a5,-_0x1a0d16._0x162e8d)]),'name':_0x106801[_0x248a92(-_0x1a0d16._0x1b5fe0,-_0x1a0d16._0x53bc13,-0x137,-_0x1a0d16._0x4ca45b)]['id']}],'initializationOptions':_0x106801['handle'][_0x390291(0x13a,_0x1a0d16._0x3af085,_0x1a0d16._0x538321,0x23d)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x248a92(-0xd,_0x1a0d16._0x53a734,-_0x1a0d16._0x5d6b06,_0x1a0d16._0x5cdce0),_0x390291(0x232,0x46d,_0x1a0d16._0x220b64,_0x1a0d16._0x117345)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x4568a7['sendNotification'](_0x248a92(-0x22e,-0x36,-_0x1a0d16._0x481d5d,-0x13d),{});const _0x3d4d8c={'serverId':_0x106801[_0x248a92(-0xb3,-0x1a9,-_0x1a0d16._0x51cb3b,-_0x1a0d16._0x356680)]['id'],'root':_0x106801[_0x248a92(-_0x1a0d16._0x11cd92,-_0x1a0d16._0x5395c2,-0x1d3,-0x190)],'connection':_0x4568a7,'diagnostics':_0x353733,'capabilities':_0x3c9e1c['capabilities']??{},'notify':{async 'open'({path:_0xeda305}){const _0x2e912b={_0x1125a8:0x108,_0x3c1471:0x590};function _0x3609e2(_0x65c928,_0x558b9f,_0x4e9207,_0x2c9549){return _0x248a92(_0x65c928-_0x2e912b._0x1125a8,_0x558b9f-0x1ee,_0x4e9207,_0x558b9f-_0x2e912b._0x3c1471);}const _0x53d4db=await readFile(_0xeda305,_0x3609e2(_0x2cfc60._0x16faae,0x500,_0x2cfc60._0x420c52,_0x2cfc60._0x3df825));function _0x390ef3(_0x4eefb7,_0x58d31c,_0x325de6,_0x4880fc){return _0x390291(_0x4eefb7-0x5a,_0x58d31c,_0x325de6-_0x452ba1._0xd7acd2,_0x4880fc- -0x216);}_0x4568a7[_0x390ef3(-_0x2cfc60._0x572518,-_0x2cfc60._0x1bd943,-_0x2cfc60._0x46fe31,-0x151)](_0x3609e2(_0x2cfc60._0x207384,0x62e,0x6c4,_0x2cfc60._0x10332f),{'textDocument':{'uri':uriForPath(_0xeda305),'languageId':getLanguageId(_0xeda305)??'plaintext','version':0x1,'text':_0x53d4db}});},async 'change'({path:_0x10b4ac,version:_0x4ef6a3}){const _0x9737f7={_0x268bb4:0x164};function _0x2276c8(_0x40a4af,_0x1513ca,_0x38c52b,_0x4383a5){return _0x248a92(_0x40a4af-0xdb,_0x1513ca-0x5b,_0x40a4af,_0x4383a5-_0x4a7688._0x5a6c4a);}function _0x337ccf(_0x3c43b8,_0x1f2dfe,_0x54bdab,_0x482b7f){return _0x248a92(_0x3c43b8-0x190,_0x1f2dfe-_0x9737f7._0x268bb4,_0x54bdab,_0x1f2dfe- -0x6b);}const _0x5e3b9f=await readFile(_0x10b4ac,_0x2276c8(_0xfa46b9._0x5a06ef,_0xfa46b9._0x1d218a,0x4cd,0x57d));_0x4568a7[_0x2276c8(_0xfa46b9._0x496ea1,_0xfa46b9._0x1059ce,_0xfa46b9._0x122ec2,0x43b)](_0x337ccf(-0x12d,-0xab,_0xfa46b9._0x2520ef,0x97),{'textDocument':{'uri':uriForPath(_0x10b4ac),'version':_0x4ef6a3},'contentChanges':[{'text':_0x5e3b9f}]});},async 'close'({path:_0x4f6c37}){const _0xdffae8={_0x5b5f3e:0x185,_0x1b4e31:0x36};function _0x2442e5(_0x45c0a7,_0x5b9271,_0x1f5f73,_0x569a9c){return _0x248a92(_0x45c0a7-0x19,_0x5b9271-_0xdffae8._0x5b5f3e,_0x569a9c,_0x5b9271- -_0xdffae8._0x1b4e31);}_0x4568a7[_0x2442e5(-0x144,-0x208,-0x217,-_0xa8a1b6._0xed3095)]('textDocument/didClose',{'textDocument':{'uri':uriForPath(_0x4f6c37)}});}},'request':{async 'definition'(_0x1eb1a8){function _0x4c6a6d(_0x4cfb63,_0x1038e6,_0x388426,_0x8d151e){return _0x390291(_0x4cfb63-0x109,_0x4cfb63,_0x388426-_0x27b327._0x492687,_0x8d151e-_0x27b327._0x53c9a1);}function _0x599c5a(_0x547213,_0xdfeb98,_0x331df1,_0xa7a299){return _0x248a92(_0x547213-_0x53bfe6._0x2ab614,_0xdfeb98-_0x53bfe6._0x2c6377,_0xdfeb98,_0x331df1-_0x53bfe6._0xac2830);}return normalizeLocations(await _0x4568a7[_0x4c6a6d(0x2b3,0x411,0x362,_0x5b5b9b._0x1b9f20)](_0x599c5a(-0x1fa,-0x180,-_0x5b5b9b._0x2e75d2,-_0x5b5b9b._0xead54d),textDocumentPosition(_0x1eb1a8)));},async 'references'(_0x2b4835){function _0x749f3e(_0x772691,_0x368f87,_0x53e807,_0x38ac7b){return _0x390291(_0x772691-0x198,_0x38ac7b,_0x53e807-_0x5afd44._0x2c95ea,_0x53e807- -0x150);}function _0x3d025d(_0x15f563,_0x59fcac,_0x6fa8ee,_0x2095ef){return _0x390291(_0x15f563-0x14f,_0x2095ef,_0x6fa8ee-0x37,_0x6fa8ee- -0x22e);}return normalizeLocations(await _0x4568a7[_0x3d025d(-_0x5584d6._0x10a386,-_0x5584d6._0x2eaa92,-_0x5584d6._0xcfbe45,_0x5584d6._0x2d9e64)](_0x3d025d(0xaf,0xf1,0xba,_0x5584d6._0x282a70),{...textDocumentPosition(_0x2b4835),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x17d211){const _0x4fa286={_0x2c6a77:0x1a,_0x1d0dd6:0x99};function _0x45d1bb(_0x308643,_0x332a32,_0x1efdf3,_0x4dd4e5){return _0x390291(_0x308643-_0x4fa286._0x2c6a77,_0x308643,_0x1efdf3-_0x4fa286._0x1d0dd6,_0x4dd4e5-0x2ad);}return await _0x4568a7['sendRequest'](_0x45d1bb(0x445,_0x54e57b._0x340169,0x3bb,0x441),textDocumentPosition(_0x17d211))??null;},async 'documentSymbol'(_0x1d9751){const _0x29ce49={_0x3c8ff3:0x6c,_0x14aeb8:0x92,_0xb8072b:0x5ae};function _0x4c4726(_0x51827e,_0x30887c,_0x574847,_0x5b0acf){return _0x248a92(_0x51827e-_0x29ce49._0x3c8ff3,_0x30887c-_0x29ce49._0x14aeb8,_0x51827e,_0x5b0acf-_0x29ce49._0xb8072b);}function _0x3768d5(_0x447353,_0x98e524,_0x5e3700,_0x56e3e0){return _0x248a92(_0x447353-_0x74d33._0x70f460,_0x98e524-_0x74d33._0x12f84b,_0x56e3e0,_0x5e3700-0x4);}return await _0x4568a7[_0x3768d5(-0xda,-0x18c,-_0x4c3203._0x175474,-0x203)](_0x4c4726(0x4b4,_0x4c3203._0x1a7591,_0x4c3203._0x3727d8,_0x4c3203._0x2d7223),{'textDocument':{'uri':uriForPath(_0x1d9751)}})??[];},async 'workspaceSymbol'(_0x5d1445){function _0x3758b2(_0x446ae1,_0x22e63f,_0x2f9a71,_0x25e61d){return _0x248a92(_0x446ae1-_0x7d9556._0x216006,_0x22e63f-0x8,_0x25e61d,_0x22e63f-0x4bc);}return await _0x4568a7[_0x3758b2(0x303,0x34f,_0x51880a._0x41c4ea,0x24c)]('workspace/symbol',{'query':_0x5d1445})??[];},async 'implementation'(_0x403656){const _0x2b7c85={_0x151ee9:0x91,_0xb3a029:0x5f4};function _0x16d4ba(_0x53da6e,_0x519b95,_0x1345c9,_0xc1b205){return _0x248a92(_0x53da6e-_0x2b7c85._0x151ee9,_0x519b95-0x113,_0xc1b205,_0x1345c9-_0x2b7c85._0xb3a029);}return normalizeLocations(await _0x4568a7['sendRequest'](_0x16d4ba(0x5b2,_0x520336._0x4a961f,_0x520336._0x13912b,_0x520336._0x4a9f5a),textDocumentPosition(_0x403656)));},async 'prepareCallHierarchy'(_0x55adc4){function _0x40a1f1(_0x17882f,_0x3b2361,_0x4f43e2,_0x46eb0a){return _0x248a92(_0x17882f-0xa3,_0x3b2361-0x1d4,_0x4f43e2,_0x3b2361-0x693);}function _0x591895(_0x373c03,_0x56e852,_0x1948df,_0x34757a){return _0x390291(_0x373c03-0x26,_0x34757a,_0x1948df-_0x40e6b1._0x3c70aa,_0x373c03- -_0x40e6b1._0x1a2d21);}return await _0x4568a7[_0x40a1f1(_0x37ce21._0x59a767,0x526,0x59c,0x65a)](_0x591895(0x7d,-0x14,-0x48,-0x3e),textDocumentPosition(_0x55adc4))??[];},async 'incomingCalls'(_0x36038b){function _0x111041(_0x152aaf,_0x33cd2e,_0x5244f4,_0x496927){return _0x248a92(_0x152aaf-0x1aa,_0x33cd2e-0x40,_0x496927,_0x33cd2e-0x49c);}return await _0x4568a7[_0x111041(_0x54b3d3._0x470c20,_0x54b3d3._0x169b52,_0x54b3d3._0x2063a2,_0x54b3d3._0x3e366c)]('callHierarchy/incomingCalls',{'item':_0x36038b})??[];},async 'outgoingCalls'(_0x5ca270){const _0x523e33={_0x2bbefc:0xde,_0x260009:0x1f4};function _0x4a5f15(_0x4a4cca,_0x5b8efc,_0xca9cb3,_0xd4b5d8){return _0x248a92(_0x4a4cca-0x10,_0x5b8efc-0x157,_0xd4b5d8,_0x4a4cca-_0x5498a2._0x53c4be);}function _0x7d3618(_0x5b9a14,_0x26f386,_0x4a1082,_0x42c1d0){return _0x248a92(_0x5b9a14-_0x523e33._0x2bbefc,_0x26f386-_0x523e33._0x260009,_0x5b9a14,_0x26f386-0x2d);}return await _0x4568a7[_0x4a5f15(-_0x1c7cbb._0xea5b25,-0x28,0x35,-_0x1c7cbb._0xaf0bb2)](_0x4a5f15(-0x11,-_0x1c7cbb._0x42400a,-_0x1c7cbb._0x24f57d,-_0x1c7cbb._0x1baadb),{'item':_0x5ca270})??[];}},'waitForDiagnostics'({path:_0x591985,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x48930f={_0x4be9fa:0x55f,_0x49a6b1:0x5f2,_0x9e9a52:0x746,_0x186d2f:0x657,_0x98c790:0x22,_0x36667c:0x13b,_0x3e9c61:0x64};function _0x4e99ea(_0x1b0b33,_0x1a806b,_0x52930c,_0x45f4fd){return _0x390291(_0x1b0b33-_0x3b549b._0x35161a,_0x45f4fd,_0x52930c-_0x3b549b._0x1d17fe,_0x1a806b-0x3bf);}const _0x3012d6=uriForPath(_0x591985);if(_0x353733['has'](_0x3012d6))return Promise[_0x4e99ea(_0x4454f4._0x3a22f7,0x6cf,0x5f3,0x6aa)]();return new Promise(_0x34e29c=>{const _0xf99e2={_0x29b1ab:0x240},_0x182c16={_0x194ef0:0x1a5,_0x4e1a39:0x183};function _0x44f93b(_0x40b630,_0x1e6b6d,_0xee6e29,_0x23d902){return _0x4e99ea(_0x40b630-_0x182c16._0x194ef0,_0x40b630- -_0x182c16._0x4e1a39,_0xee6e29-0xb9,_0xee6e29);}const _0x5cac54=setTimeout(()=>{const _0x5ecbe3={_0x27004a:0x344};function _0x4209de(_0x5ad34a,_0x524632,_0x23edfb,_0x29d40b){return _0x16a6(_0x524632- -_0xf99e2._0x29b1ab,_0x29d40b);}const _0x7bcbab=_0x216c01[_0x3f9665(_0x48930f._0x4be9fa,0x5b2,0x68f,0x638)](_0x3012d6);_0x7bcbab?.[_0x3f9665(0x6bf,_0x48930f._0x49a6b1,_0x48930f._0x9e9a52,_0x48930f._0x186d2f)](_0x162676);function _0x3f9665(_0x531d4b,_0x2f6f47,_0x536015,_0xd6491e){return _0x16a6(_0x531d4b-_0x5ecbe3._0x27004a,_0x2f6f47);}if(_0x7bcbab?.[_0x4209de(0xa2,-0x85,-0x1bf,-_0x48930f._0x98c790)]===0x0)_0x216c01[_0x4209de(0x123,_0x48930f._0x36667c,_0x48930f._0x3e9c61,0x6)](_0x3012d6);_0x34e29c();},timeoutMs),_0x162676=()=>{clearTimeout(_0x5cac54),_0x34e29c();};function _0x4c067f(_0x19f524,_0x178e7f,_0x17d06c,_0x460f96){return _0x4e99ea(_0x19f524-0xf1,_0x460f96- -0x1c8,_0x17d06c-0x3d,_0x17d06c);}const _0x5904da=_0x216c01[_0x4c067f(0x328,0x263,0x483,0x348)](_0x3012d6)??new Set();_0x5904da[_0x4c067f(_0x3bd949._0xbc1e40,_0x3bd949._0x4096c4,0x5dc,_0x3bd949._0xe4664e)](_0x162676),_0x216c01[_0x44f93b(_0x3bd949._0x3cbdc6,_0x3bd949._0x4ee8ff,_0x3bd949._0x4b77f8,_0x3bd949._0x2ee650)](_0x3012d6,_0x5904da);});},async 'shutdown'(){const _0x59203a={_0x1767bf:0x1b};function _0x14054c(_0x1d3325,_0x3fba91,_0x56721a,_0x1c350d){return _0x390291(_0x1d3325-0x1be,_0x3fba91,_0x56721a-0x152,_0x56721a-_0x59203a._0x1767bf);}function _0x191eff(_0x198acc,_0x145215,_0x1d6897,_0x41d7c7){return _0x248a92(_0x198acc-_0x375cd6._0x28088c,_0x145215-0x128,_0x145215,_0x1d6897-0x3cf);}if(_0x23e040)return;_0x23e040=!![];try{await _0x4568a7[_0x14054c(0x70,0x1eb,0x145,0x1b8)](_0x191eff(_0x43f465._0xd33cb5,0x36f,_0x43f465._0x3e5009,_0x43f465._0x3b990c),null),_0x4568a7['sendNotification'](_0x191eff(_0x43f465._0xa8d227,0x3ca,0x3d4,0x480));}catch{}finally{_0x4568a7[_0x191eff(_0x43f465._0x20be8b,0x278,0x32b,0x3e0)](),_0x106801[_0x14054c(-_0x43f465._0x36b18f,_0x43f465._0x1717d7,_0x43f465._0x43fbd3,_0x43f465._0x42c470)][_0x191eff(_0x43f465._0x5101e4,_0x43f465._0x557688,0x21e,_0x43f465._0x172845)][_0x191eff(0x37f,0x218,0x268,_0x43f465._0x20fe8b)]();}}};return _0x3d4d8c;}function _0x2fd7af(_0xdcb87,_0x1fb1ee,_0x4981f7,_0xe74537){return _0x16a6(_0xdcb87- -0x335,_0x4981f7);}import{spawn as _0x5ae30a}from'child_process';import{access as _0x3d9279}from'fs/promises';import _0x4b0f89 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x44e1e2 from'os';import _0x4d3a21 from'path';import _0x29ac84 from'which';var installPromises=new Map();function sanitizePackageName(_0x456b17){const _0x11df54={_0x1e765f:0x13e,_0xdff79d:0x116},_0x4eb26f={_0x3aaf98:0x388,_0x2c831a:0x164};function _0x3f4251(_0x4aa753,_0x430f21,_0x410d01,_0x7e0020){return _0x2fd7af(_0x430f21-_0x4eb26f._0x3aaf98,_0x430f21-0x160,_0x4aa753,_0x7e0020-_0x4eb26f._0x2c831a);}return _0x456b17[_0x3f4251(0xf6,0x1d2,_0x11df54._0x1e765f,_0x11df54._0xdff79d)](/^@/,'')['replace'](/[/]/g,'__');}function binaryNameForPlatform(_0x50e09e){const _0x1eda32={_0x2a3f60:0xeb,_0x2ab5b1:0x55,_0x305248:0x112,_0x4dec3e:0x61d,_0x3d5ee4:0x5c6,_0x5b603b:0x59f};function _0x4522ab(_0x55dabf,_0x174610,_0x3bbc23,_0x321ae6){return _0x278b49(_0x55dabf-0x1b2,_0x174610-0x17f,_0x174610-0x7f,_0x55dabf);}function _0x573728(_0x4db9d2,_0x1661c8,_0x148bbf,_0x2c2e55){return _0x2fd7af(_0x4db9d2-0x570,_0x1661c8-0x8b,_0x148bbf,_0x2c2e55-0x1cb);}return process[_0x4522ab(-0x1b,_0x1eda32._0x2a3f60,-_0x1eda32._0x2ab5b1,_0x1eda32._0x305248)]===_0x573728(_0x1eda32._0x4dec3e,_0x1eda32._0x3d5ee4,0x698,_0x1eda32._0x5b603b)?_0x50e09e+'.cmd':_0x50e09e;}async function exists(_0xfe41b1){try{return await access(_0xfe41b1),!![];}catch{return![];}}function runNpmInstall(_0x201aba,_0x39f8f7,_0x6ed2ca){const _0x3a38db={_0x2d2c2b:0x24a,_0x32be62:0x25a,_0x4c5d57:0x364,_0x4f4138:0x43e,_0x1a0863:0x58c,_0x29e38b:0x5c6,_0x3ccd78:0x430,_0x103447:0x2a2,_0x192880:0x4d0,_0x29c5c0:0x3a6,_0x361c9a:0x673,_0x3f0020:0x5f5,_0x3b6f97:0x635},_0x38af89={_0x4cd85f:0x1c2};return new Promise(_0x22cfc4=>{const _0x4db0a8={_0x2fb90c:0x1f4};function _0xf44b19(_0x7cadd5,_0x518ede,_0x4bc986,_0x37077e){return _0x16a6(_0x37077e-_0x4db0a8._0x2fb90c,_0x7cadd5);}const _0x47a538=spawn(_0x49b75f(_0x3a38db._0x2d2c2b,_0x3a38db._0x32be62,_0x3a38db._0x4c5d57,0x2d8),[_0x49b75f(_0x3a38db._0x4f4138,_0x3a38db._0x1a0863,0x568,_0x3a38db._0x29e38b),_0x49b75f(0x262,0x35c,0x373,_0x3a38db._0x3ccd78),_0x201aba,_0x39f8f7],{'env':_0x6ed2ca,'stdio':_0xf44b19(_0x3a38db._0x103447,0x39d,_0x3a38db._0x192880,_0x3a38db._0x29c5c0)});function _0x49b75f(_0x3f5082,_0x59b062,_0x22a765,_0x587d08){return _0x16a6(_0x22a765-_0x38af89._0x4cd85f,_0x587d08);}_0x47a538['on'](_0xf44b19(_0x3a38db._0x361c9a,0x55f,0x59b,_0x3a38db._0x3f0020),()=>_0x22cfc4(![])),_0x47a538['on'](_0xf44b19(0x460,_0x3a38db._0x3b6f97,0x5a4,0x58a),_0xcfd737=>_0x22cfc4(_0xcfd737===0x0));});}function shouldDisableLspDownload(_0x14e9bb=process[_0x278b49(-0x96,0xfb,0x88,0x1bc)]){const _0x30c785={_0x3c0847:0x3f,_0x14f245:0x3f7,_0x541bf6:0x4eb,_0x144e81:0x1ef,_0x419324:0x148,_0x136d75:0x143},_0x33bb2e={_0x25e1f0:0x413},_0x5e1415={_0x1983c2:0xed};function _0xd794a8(_0x1d09fd,_0x1027af,_0x41e1bc,_0x2a9eac){return _0x278b49(_0x1d09fd-0xad,_0x1027af-0xa4,_0x1027af-_0x5e1415._0x1983c2,_0x41e1bc);}function _0x4e55f8(_0x44e24f,_0x597955,_0x5154d3,_0x441734){return _0x278b49(_0x44e24f-0xcc,_0x597955-0x15d,_0x597955-_0x33bb2e._0x25e1f0,_0x441734);}const _0x5d14bc=_0x14e9bb[_0xd794a8(0x118,-0x11,-0x36,_0x30c785._0x3c0847)]?.[_0x4e55f8(_0x30c785._0x14f245,_0x30c785._0x541bf6,0x58c,0x5f9)]();return _0x5d14bc===_0xd794a8(0xab,_0x30c785._0x144e81,_0x30c785._0x419324,_0x30c785._0x136d75)||_0x5d14bc==='1'||_0x5d14bc==='yes'||_0x5d14bc==='on';}function getLspPackageDir(_0x748da3){const _0x401635={_0x2b3ba5:0x1ae,_0x403bfe:0x128,_0x3aa726:0x38,_0x250d98:0xaa,_0x38ecb2:0x1ef,_0x578adc:0x220,_0x1f8f72:0x251},_0x2017e7={_0x209d51:0xff,_0x189921:0xa6};function _0x5a7924(_0x336d75,_0x13d10e,_0x59ab42,_0x271ef8){return _0x2fd7af(_0x13d10e-0x20b,_0x13d10e-0xc7,_0x336d75,_0x271ef8-0x11b);}function _0x47e754(_0x2a9db0,_0x3d4405,_0x163829,_0x543d49){return _0x278b49(_0x2a9db0-_0x2017e7._0x209d51,_0x3d4405-0xac,_0x2a9db0- -_0x2017e7._0x189921,_0x543d49);}return _0x4d3a21[_0x5a7924(0x1e0,_0x401635._0x2b3ba5,_0x401635._0x403bfe,0x1c7)](_0x44e1e2[_0x47e754(-_0x401635._0x3aa726,_0x401635._0x250d98,0xb,0xe4)](),_0x5a7924(_0x401635._0x38ecb2,_0x401635._0x578adc,0x17a,_0x401635._0x1f8f72),'lsp',_0x47e754(-0x10d,-0xc4,-0x191,-0x34),sanitizePackageName(_0x748da3));}function getLspBinDir(_0x561350){const _0xd0f89={_0x3c332d:0x461,_0x2d8c3f:0x573,_0x384cf6:0x31d,_0x73d1f7:0x3eb,_0x170067:0x495},_0x391083={_0x333cf1:0x141,_0x4a06d7:0x1b};function _0x5884ec(_0x1cc622,_0x16c784,_0x1d428d,_0x4089c2){return _0x2fd7af(_0x1d428d-0x44e,_0x16c784-_0x391083._0x333cf1,_0x1cc622,_0x4089c2-_0x391083._0x4a06d7);}function _0xbe131a(_0x40198e,_0x14c961,_0x151bf3,_0x428b36){return _0x278b49(_0x40198e-0x148,_0x14c961-0x1d1,_0x14c961-0x46f,_0x151bf3);}return _0x4d3a21[_0xbe131a(0x3e7,_0xd0f89._0x3c332d,_0xd0f89._0x2d8c3f,0x3df)](getLspPackageDir(_0x561350),_0x5884ec(_0xd0f89._0x384cf6,_0xd0f89._0x73d1f7,0x3e8,_0xd0f89._0x170067),'.bin');}async function findPackageBinary(_0x1c2960,_0x21acc7){const _0x131ddc={_0x2c9340:0x5cd,_0x48fcba:0x6e9,_0x5b7d7c:0x5da,_0x533ae2:0x6f6,_0x4892dd:0x70c,_0x361db8:0x531};function _0x21e89f(_0xf5d6f5,_0x44ac3d,_0x34e462,_0x4a758b){return _0x2fd7af(_0x44ac3d-0x525,_0x44ac3d-0xc6,_0x34e462,_0x4a758b-0xd9);}let _0x38ce1e=_0x4d3a21[_0x486546(_0x131ddc._0x2c9340,0x7ac,_0x131ddc._0x48fcba,_0x131ddc._0x5b7d7c)](_0x21acc7);const _0x414c93=binaryNameForPlatform(_0x1c2960);function _0x486546(_0x4de203,_0x3fea7a,_0x47f4a8,_0x289e5c){return _0x278b49(_0x4de203-0x15b,_0x3fea7a-0xb3,_0x47f4a8-0x5f5,_0x4de203);}while(!![]){const _0x5927f4=_0x4d3a21[_0x486546(_0x131ddc._0x533ae2,_0x131ddc._0x4892dd,0x5e7,0x639)](_0x38ce1e,_0x486546(_0x131ddc._0x361db8,0x560,0x5de,0x6a0),'.bin',_0x414c93);if(await exists(_0x5927f4))return _0x5927f4;const _0x3c38a8=_0x4d3a21['dirname'](_0x38ce1e);if(_0x3c38a8===_0x38ce1e)return void 0x0;_0x38ce1e=_0x3c38a8;}}async function findPathBinary(_0x5224b9,_0x5e6702){const _0x49eb31={_0x93ec8b:0x340,_0x12a6c4:0x23e,_0x47ce7f:0x27c,_0x53fcfb:0x359,_0x551e4f:0x721,_0x50c854:0x532,_0x17edbe:0x9b,_0x48526f:0x1cf,_0x37cdb4:0x78},_0x50fd01={_0x392868:0x52},_0x2c1f25={_0x29b3ff:0x307};function _0x1c0ff3(_0x55e095,_0xe8bc1f,_0xc6243c,_0x5ae61f){return _0x2fd7af(_0xc6243c-_0x2c1f25._0x29b3ff,_0xe8bc1f-0x16a,_0x55e095,_0x5ae61f-0x145);}function _0x5460af(_0xa66e44,_0x5be01b,_0x26d42,_0x190376){return _0x278b49(_0xa66e44-0x1a8,_0x5be01b-_0x50fd01._0x392868,_0x5be01b-0x674,_0x26d42);}const _0xadd963=getLspBinDir(_0x5e6702),_0x445e11=[_0xadd963,process[_0x1c0ff3(0x200,0x33f,_0x49eb31._0x93ec8b,_0x49eb31._0x12a6c4)][_0x1c0ff3(0x1c9,0x350,_0x49eb31._0x47ce7f,_0x49eb31._0x53fcfb)]]['filter'](Boolean)[_0x5460af(_0x49eb31._0x551e4f,0x666,_0x49eb31._0x50c854,0x77f)](_0x4d3a21[_0x1c0ff3(_0x49eb31._0x17edbe,_0x49eb31._0x48526f,0x194,_0x49eb31._0x37cdb4)]);try{return await _0x29ac84(_0x5224b9,{'path':_0x445e11});}catch{return void 0x0;}}async function resolvePackageBinary(_0x275a1b){const _0x187caf={_0x277712:0x3ed,_0x54c6f6:0x3c4,_0x10f77c:0x333,_0x3fd3b5:0x37c,_0x9f5514:0x2e2,_0x281b98:0x2d0,_0x4fb37f:0x2ce,_0x308e8f:0x274,_0x278c93:0x315,_0x5abf62:0x2d5,_0x572813:0x279,_0x27fb10:0x3df,_0x55adb5:0x45b,_0x5c417a:0x323,_0x59a653:0x1e0,_0x51a33f:0x2b4,_0x1b4406:0xc9,_0x567455:0x223,_0x3e7603:0x485,_0x2b04a3:0x3ef},_0x43838a={_0x267b7d:0x647,_0x3570fa:0x574,_0x10a103:0x42c},_0xb01699={_0x5375f4:0x3a9,_0x2749eb:0x62,_0x31e121:0x172},_0x1e0b74={_0x487435:0x2ab},_0x51c826=_0x275a1b['binaryName']??_0x275a1b['packageName'];function _0x73ee75(_0x58faa5,_0x31dbad,_0x323f6b,_0x473d9){return _0x278b49(_0x58faa5-0xd5,_0x31dbad-0x144,_0x58faa5-_0x1e0b74._0x487435,_0x473d9);}const _0x308ead=await findPackageBinary(_0x51c826,_0x275a1b['startDir']);function _0x30bf6d(_0x2934e3,_0x3b0091,_0x26e2e5,_0x123429){return _0x2fd7af(_0x123429-_0xb01699._0x5375f4,_0x3b0091-_0xb01699._0x2749eb,_0x2934e3,_0x123429-_0xb01699._0x31e121);}if(_0x308ead)return _0x308ead;const _0x5d7aed=await findPathBinary(_0x51c826,_0x275a1b[_0x30bf6d(0x2a7,_0x187caf._0x277712,_0x187caf._0x54c6f6,0x323)]);if(_0x5d7aed)return _0x5d7aed;const _0x5c1dd4=_0x275a1b[_0x73ee75(_0x187caf._0x10f77c,0x324,_0x187caf._0x3fd3b5,_0x187caf._0x9f5514)]??process[_0x73ee75(_0x187caf._0x10f77c,_0x187caf._0x281b98,0x2f6,_0x187caf._0x4fb37f)];if(shouldDisableLspDownload(_0x5c1dd4))return void 0x0;const _0x43e5ae=getLspPackageDir(_0x275a1b[_0x73ee75(_0x187caf._0x308e8f,0x172,_0x187caf._0x278c93,_0x187caf._0x5abf62)]),_0x3521e0=_0x275a1b[_0x30bf6d(_0x187caf._0x572813,_0x187caf._0x27fb10,_0x187caf._0x55adb5,_0x187caf._0x5c417a)]+':'+_0x51c826;let _0x29362b=installPromises[_0x73ee75(_0x187caf._0x59a653,_0x187caf._0x51a33f,_0x187caf._0x1b4406,0x15d)](_0x3521e0);!_0x29362b&&(_0x29362b=((async()=>{const _0x6d69b1={_0x58a3fc:0x2d7,_0x332eff:0x100};await mkdir(_0x43e5ae,{'recursive':!![]});const _0x1fb10f=await runNpmInstall(_0x43e5ae,_0x275a1b['packageName'],_0x5c1dd4);function _0x63dbde(_0x329dad,_0x565014,_0x38a74a,_0x1eb4b0){return _0x73ee75(_0x565014-_0x6d69b1._0x58a3fc,_0x565014-0xf0,_0x38a74a-_0x6d69b1._0x332eff,_0x38a74a);}if(!_0x1fb10f)return void 0x0;const _0xcc28ae=_0x4d3a21[_0x63dbde(_0x43838a._0x267b7d,_0x43838a._0x3570fa,0x4e6,_0x43838a._0x10a103)](getLspBinDir(_0x275a1b['packageName']),binaryNameForPlatform(_0x51c826));return await exists(_0xcc28ae)?_0xcc28ae:void 0x0;})()),installPromises[_0x30bf6d(_0x187caf._0x567455,0x28d,0x39c,0x269)](_0x3521e0,_0x29362b));try{return await _0x29362b;}catch{return void 0x0;}finally{installPromises[_0x30bf6d(_0x187caf._0x3e7603,0x50c,0x384,_0x187caf._0x2b04a3)](_0x3521e0);}}var TYPESCRIPT_EXTENSIONS=['.ts',_0x2fd7af(-0x1a4,-0x246,-0x140,-0x2d1),_0x278b49(-0xff,-0xb6,0x1d,0x134),'.jsx',_0x2fd7af(-0x1af,-0x27c,-0x178,-0xee),_0x278b49(-0x1e4,0x3c,-0xb6,0x11),_0x2fd7af(-0x89,0x82,-0x106,0x9d),_0x2fd7af(0xd0,-0x4d,0x7,-0x68)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x278b49(0xf9,0xc5,-0x10,0x105),_0x278b49(-0x39,-0x22e,-0x120,-0x14f)],TYPESCRIPT_ROOT_MARKERS=[_0x2fd7af(-0x45,-0x17c,-0x11,0x86),_0x2fd7af(-0xd8,-0xc3,-0x179,0x6d),_0x2fd7af(-0x186,-0x10a,-0x4e,-0x49),_0x2fd7af(-0x22,-0xdf,-0xdf,0x66),'yarn.lock',_0x278b49(-0x53,0xda,0xc3,-0x1a),_0x2fd7af(-0xb9,-0x1e0,-0x1bb,-0x1ae),_0x2fd7af(0xa9,0x54,0x198,0x190)],BIOME_ROOT_MARKERS=['biome.json','biome.jsonc',_0x2fd7af(-0x45,-0x11c,-0x14a,0xa2),_0x278b49(-0x183,0x6b,-0x89,-0x1a9),'bun.lock','pnpm-lock.yaml',_0x278b49(0x7d,0x3d,-0x98,0x66),_0x2fd7af(0xa9,0x16d,0x32,0x15e)];async function exists2(_0x47603f){try{return await _0x3d9279(_0x47603f),!![];}catch{return![];}}async function findUp(_0x5dddc5,_0xd05538){const _0x4a6801={_0x19e6c6:0x745,_0x4514b4:0x59d,_0x5b01e7:0x5aa,_0xd29adc:0x5bb,_0x59019c:0x5ad,_0x43dd61:0x678,_0xef920a:0x66e,_0x29f683:0x6ab},_0x420d7e={_0x3ca451:0x45,_0x5d6794:0x643};let _0x34ff80=_0x4b0f89[_0x26ff6a(0x645,_0x4a6801._0x19e6c6,_0x4a6801._0x4514b4,0x673)](_0x5dddc5);function _0x26ff6a(_0x5b8a5d,_0x80f9c5,_0x3a6979,_0x2874cd){return _0x278b49(_0x5b8a5d-0xb1,_0x80f9c5-0x187,_0x5b8a5d-0x551,_0x3a6979);}function _0x1a90d(_0x1ad8db,_0xbeb5f3,_0x1aaa40,_0x3af059){return _0x278b49(_0x1ad8db-0x16d,_0xbeb5f3-_0x420d7e._0x3ca451,_0xbeb5f3-_0x420d7e._0x5d6794,_0x3af059);}const _0xb7c604=_0x4b0f89[_0x1a90d(0x4d3,0x5c2,0x48b,_0x4a6801._0x5b01e7)](_0x34ff80);if(_0xb7c604)_0x34ff80=_0x4b0f89['dirname'](_0x34ff80);while(!![]){for(const _0x71dd16 of _0xd05538){if(await exists2(_0x4b0f89[_0x1a90d(0x6aa,0x635,_0x4a6801._0xd29adc,_0x4a6801._0x59019c)](_0x34ff80,_0x71dd16)))return _0x34ff80;}const _0x596f16=_0x4b0f89[_0x1a90d(_0x4a6801._0x43dd61,_0x4a6801._0xef920a,0x68a,_0x4a6801._0x29f683)](_0x34ff80);if(_0x596f16===_0x34ff80)return void 0x0;_0x34ff80=_0x596f16;}}async function hasDenoRoot(_0x410da7){const _0x535f73={_0x49d437:0x5e9,_0x4b4478:0x644,_0x4bce5e:0x4e0},_0x10e1c0={_0x271d9b:0x1ea},_0x2ba09a={_0x64d9ed:0x681,_0x1e26af:0x126};function _0x3749a0(_0xaa9009,_0x2e9221,_0x3af646,_0x49bc41){return _0x2fd7af(_0x49bc41-_0x2ba09a._0x64d9ed,_0x2e9221-0x11a,_0x2e9221,_0x49bc41-_0x2ba09a._0x1e26af);}function _0x4820e3(_0x415bfb,_0x495413,_0x3de17e,_0x4facd8){return _0x2fd7af(_0x495413-0x6b1,_0x495413-_0x10e1c0._0x271d9b,_0x415bfb,_0x4facd8-0x178);}return await exists2(_0x4b0f89['join'](_0x410da7,_0x3749a0(_0x535f73._0x49d437,0x552,0x6b0,_0x535f73._0x4b4478)))||await exists2(_0x4b0f89[_0x3749a0(0x4f3,0x743,_0x535f73._0x4bce5e,0x624)](_0x410da7,'deno.jsonc'));}async function resolveTsserverPath(_0x40b982){const _0x56b02f={_0x55d49b:0x537,_0x42ec8d:0x717,_0x518f0f:0x60a,_0x1e1933:0x4db,_0x269f2a:0x4ff,_0x5bef6b:0x4f6,_0xdd0ae9:0x52b,_0x199b3a:0x18,_0x5bb4b3:0x42,_0x8cf4d2:0x71,_0x2af251:0x14a,_0x14f634:0xfd,_0x53c417:0x100,_0x2f87ac:0x1ce,_0x34c55f:0x112,_0x58bf51:0x250,_0x549a24:0x3dc,_0x4d8a27:0x5b1,_0x4f6a8f:0x17e,_0x1b0a0f:0xe5,_0x458535:0x184,_0x6a9f78:0x112,_0x209d0c:0x101},_0x2696a2={_0x31b9a7:0x1c2,_0x2e6e7a:0x55,_0x494102:0x516};function _0x5bfeae(_0x754c00,_0x4e2d33,_0x48819a,_0xb5ade5){return _0x278b49(_0x754c00-_0x2696a2._0x31b9a7,_0x4e2d33-_0x2696a2._0x2e6e7a,_0xb5ade5-_0x2696a2._0x494102,_0x48819a);}let _0x3d7022=_0x4b0f89[_0x5bfeae(_0x56b02f._0x55d49b,_0x56b02f._0x42ec8d,0x5c4,_0x56b02f._0x518f0f)](_0x40b982);function _0x96a063(_0x5a8dbf,_0x36730b,_0x3569ff,_0x5bb640){return _0x278b49(_0x5a8dbf-0x71,_0x36730b-0x59,_0x3569ff-0x120,_0x5a8dbf);}while(!![]){const _0x38d2d6=_0x4b0f89['join'](_0x3d7022,_0x5bfeae(0x4cc,0x569,_0x56b02f._0x1e1933,_0x56b02f._0x269f2a),_0x5bfeae(0x4f3,_0x56b02f._0x5bef6b,_0x56b02f._0xdd0ae9,0x46b),'lib',_0x96a063(_0x56b02f._0x199b3a,-_0x56b02f._0x5bb4b3,-0x33,-0x122));if(await exists2(_0x38d2d6))return _0x38d2d6;const _0x583991=_0x4b0f89['dirname'](_0x3d7022);if(_0x583991===_0x3d7022)break;_0x3d7022=_0x583991;}const _0x5ddfcc=getLspPackageDir(_0x96a063(-0xa3,0x79,0x75,-_0x56b02f._0x8cf4d2)),_0x552265=await resolvePackageBinary({'packageName':_0x96a063(0xa6,0x112,0x75,_0x56b02f._0x2af251),'binaryName':_0x96a063(-_0x56b02f._0x14f634,-0x75,0x25,-_0x56b02f._0x53c417),'startDir':_0x40b982});if(!_0x552265)return void 0x0;const _0x56dc43=_0x4b0f89[_0x96a063(0x4d,_0x56b02f._0x2f87ac,_0x56b02f._0x34c55f,_0x56b02f._0x58bf51)](_0x5ddfcc,_0x5bfeae(_0x56b02f._0x549a24,_0x56b02f._0x4d8a27,0x4ee,_0x56b02f._0x269f2a),_0x96a063(-0x68,_0x56b02f._0x4f6a8f,0x75,_0x56b02f._0x1b0a0f),_0x96a063(_0x56b02f._0x458535,0x27b,0x15a,0x173),_0x96a063(-0x87,-_0x56b02f._0x6a9f78,-0x33,_0x56b02f._0x209d0c));return await exists2(_0x56dc43)?_0x56dc43:void 0x0;}var TypeScriptServer={'id':_0x278b49(-0x49,-0x28,-0xab,-0x11),'name':_0x278b49(-0xd1,0x28,-0x102,-0x7b),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x3aa8d6){const _0x57eda5=await findUp(_0x3aa8d6,TYPESCRIPT_ROOT_MARKERS);if(!_0x57eda5)return void 0x0;return await hasDenoRoot(_0x57eda5)?void 0x0:_0x57eda5;},async 'spawn'(_0x91c532){const _0x1568c6={_0x268ff3:0x203,_0x579589:0x2ea,_0x2936b0:0x24a,_0x4738b7:0x264},_0x662670={_0x13e1c4:0x44c},_0x8159f5={_0x34455b:0xc7,_0xaa0927:0x134},_0x41bb4f=await resolveTsserverPath(_0x91c532);if(!_0x41bb4f)return void 0x0;function _0x579c46(_0x5e8454,_0x20b389,_0x5b28d4,_0x395b61){return _0x278b49(_0x5e8454-_0x8159f5._0x34455b,_0x20b389-_0x8159f5._0xaa0927,_0x395b61-0x280,_0x5e8454);}function _0x4005fa(_0x15e46a,_0x230d05,_0x9ed13c,_0x1668af){return _0x2fd7af(_0x230d05-_0x662670._0x13e1c4,_0x230d05-0x1d8,_0x15e46a,_0x1668af-0x9c);}const _0x200ef8=await resolvePackageBinary({'packageName':_0x4005fa(_0x1568c6._0x268ff3,_0x1568c6._0x579589,_0x1568c6._0x2936b0,0x365),'binaryName':'typescript-language-server','startDir':_0x91c532});if(!_0x200ef8)return void 0x0;return{'process':_0x5ae30a(_0x200ef8,[_0x579c46(_0x1568c6._0x4738b7,0x410,0x347,0x339)],{'cwd':_0x91c532,'stdio':'pipe'}),'initialization':{'tsserver':{'path':_0x41bb4f}}};}},BiomeServer={'id':_0x278b49(-0x1af,-0x11b,-0x16b,-0x186),'name':_0x278b49(-0x2e,0xda,0xb,0x0),'extensions':BIOME_EXTENSIONS,async 'root'(_0x58dedb){return findUp(_0x58dedb,BIOME_ROOT_MARKERS);},async 'spawn'(_0x4f73da){const _0x1d2fec={_0x304b85:0x125,_0x4e944b:0x16d,_0x55f878:0x47,_0x3c2698:0xb5,_0x24ce11:0x1f8,_0x4c9be2:0x124,_0x25e308:0x235,_0x9c98ea:0x18,_0x502628:0x12},_0x5b62a8={_0x2efc7e:0xa1,_0x213190:0x6b},_0x44effa={_0x3e37cb:0x5d,_0x7bd47f:0xef,_0x17476a:0x49},_0x3e0de9=await findPackageBinary(_0xa2645e(-0x138,-0x1b4,-_0x1d2fec._0x304b85,-_0x1d2fec._0x4e944b),_0x4f73da)??await resolvePackageBinary({'packageName':_0xa2645e(_0x1d2fec._0x55f878,_0x1d2fec._0x3c2698,_0x1d2fec._0x24ce11,0x1bc),'binaryName':'biome','startDir':_0x4f73da});function _0xa2645e(_0x41d1a0,_0x14e33e,_0x3f755e,_0x1650d8){return _0x278b49(_0x41d1a0-_0x44effa._0x3e37cb,_0x14e33e-_0x44effa._0x7bd47f,_0x14e33e- -_0x44effa._0x17476a,_0x1650d8);}if(!_0x3e0de9)return void 0x0;function _0x3723a3(_0x411a2c,_0x5b7c55,_0x19116c,_0x598920){return _0x278b49(_0x411a2c-0x39,_0x5b7c55-_0x5b62a8._0x2efc7e,_0x411a2c-_0x5b62a8._0x213190,_0x19116c);}return{'process':_0x5ae30a(_0x3e0de9,['lsp-proxy',_0x3723a3(_0x1d2fec._0x4c9be2,0x80,_0x1d2fec._0x25e308,0x109)],{'cwd':_0x4f73da,'stdio':_0x3723a3(-_0x1d2fec._0x9c98ea,0xc9,_0x1d2fec._0x502628,-0xd1)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x311ec2){const _0x5730be={_0x4bffe3:0x22b,_0x21d4d7:0x21c,_0x5ea275:0x2f3,_0xc40c47:0x3f6,_0x296d90:0x398,_0x5225ea:0x2bb,_0x26ad81:0x237,_0x4a56e0:0x1f0},_0xf4e8b9={_0x3c550a:0x2c0};function _0x878cec(_0xd01ef6,_0x8fb2b0,_0x3875d1,_0xb1895c){return _0x2fd7af(_0xb1895c-0x2ec,_0x8fb2b0-0x1e0,_0x3875d1,_0xb1895c-0x1be);}const _0x3746d9=_0x4b0f89[_0x878cec(_0x5730be._0x4bffe3,0x30f,0x2c9,_0x5730be._0x21d4d7)](_0x311ec2)[_0x22fcd6(_0x5730be._0x5ea275,_0x5730be._0xc40c47,0x497,_0x5730be._0x296d90)]();function _0x22fcd6(_0x3bcea2,_0x42d311,_0x309fb0,_0x1e9baa){return _0x278b49(_0x3bcea2-0x1af,_0x42d311-0x104,_0x1e9baa-_0xf4e8b9._0x3c550a,_0x42d311);}return BUILTIN_LSP_SERVERS[_0x22fcd6(_0x5730be._0x5225ea,0x2a8,_0x5730be._0x26ad81,_0x5730be._0x4a56e0)](_0x4a5d72=>_0x4a5d72['extensions'][_0x878cec(0x257,0x3b8,0x2f9,0x326)](_0x3746d9));}function stateKey(_0x9dc449,_0x55ae9a){return _0x55ae9a+':'+_0x9dc449['id'];}function diagnosticsKeyToPath(_0x154a77){const _0x9ee9ca={_0x3cc088:0xae,_0x58ae42:0xf3},_0x26e4b2={_0x53d4d1:0x1bf};if(!_0x154a77[_0x4636e6(-0x1b,-_0x9ee9ca._0x3cc088,-0x10,-_0x9ee9ca._0x58ae42)]('file://'))return _0x154a77;function _0x4636e6(_0x5b9724,_0x2a4a3c,_0x47f5e6,_0x2b226b){return _0x2fd7af(_0x5b9724-0x101,_0x2a4a3c-0x1e0,_0x47f5e6,_0x2b226b-_0x26e4b2._0x53d4d1);}return fileURLToPath(_0x154a77);}function nextFileVersion(_0x4e0eea,_0x518f05){const _0x189e2a={_0x3c5160:0xec,_0x9b1d4e:0xb3,_0xe6523c:0xf5,_0x4d0998:0x67,_0x35aa1e:0x32,_0xa3e210:0x84,_0x491438:0x128,_0x416d89:0x41},_0x120c10={_0x162d5d:0x35},_0x31f479={_0xcaca4c:0x174,_0x114a35:0x132};function _0x2a140e(_0x2cb526,_0x54d833,_0x4173bf,_0x1369f7){return _0x278b49(_0x2cb526-_0x31f479._0xcaca4c,_0x54d833-0x4e,_0x2cb526-_0x31f479._0x114a35,_0x1369f7);}const _0x430a45=(_0x4e0eea[_0x2a140e(-0x19,-_0x189e2a._0x3c5160,-_0x189e2a._0x9b1d4e,-_0x189e2a._0xe6523c)][_0x2a140e(_0x189e2a._0x4d0998,-_0x189e2a._0x35aa1e,_0x189e2a._0xa3e210,_0x189e2a._0x491438)](_0x518f05)??0x1)+0x1;function _0x1f4a9b(_0x3746d7,_0x57104a,_0x46d51c,_0x2acd1d){return _0x278b49(_0x3746d7-_0x120c10._0x162d5d,_0x57104a-0x16c,_0x2acd1d-0x593,_0x3746d7);}return _0x4e0eea['fileVersions'][_0x2a140e(_0x189e2a._0x416d89,-0x9a,-0x74,0xa2)](_0x518f05,_0x430a45),_0x430a45;}async function collectClientResults(_0x299cce){const _0x2a739e={_0x53a946:0x21a},_0x3bcce6={_0x1c734f:0xc3},_0x3b0d03={_0x5abfb0:0x166,_0x477755:0x1eb,_0x3b2d84:0x374};function _0x3f5eab(_0x288f62,_0x3f2bc5,_0x11b48f,_0x44d649){return _0x278b49(_0x288f62-_0x3b0d03._0x5abfb0,_0x3f2bc5-_0x3b0d03._0x477755,_0x3f2bc5-_0x3b0d03._0x3b2d84,_0x44d649);}function _0x1cd9f8(_0xc326b2,_0x55a0e8,_0x1fef74,_0x12ede0){return _0x278b49(_0xc326b2-0x118,_0x55a0e8-_0x3bcce6._0x1c734f,_0x12ede0-0x550,_0xc326b2);}const _0x3d5feb=await Promise['allSettled'](_0x299cce);return _0x3d5feb[_0x3f5eab(0x1e0,_0x2a739e._0x53a946,0x1a6,0x18b)](_0x1cca66=>_0x1cca66[_0x3f5eab(0x244,0x2b5,0x187,0x277)]===_0x3f5eab(0x3e9,0x3b5,0x274,0x3a5)?_0x1cca66['value']:[]);}function createLspService(_0x421f6f={}){const _0x3129ed={_0x251f65:0x4d,_0xd79572:0xfa,_0x2b463c:0xb3,_0x490f44:0xf8},_0x3f6af1={_0x5b7061:0x451,_0x2dc0aa:0x1ea,_0x1c639c:0x19c},_0x48ac6f={_0x16a71f:0x113,_0x4aa607:0x17e,_0x1a625e:0x2a7,_0x5961d0:0x1de,_0x598d5f:0x216,_0x207032:0x110,_0x22e117:0x7f,_0x2201d9:0x18c,_0x151bac:0x120,_0x4c0506:0x16b,_0x2f8f7d:0x186,_0x2c4e89:0x58,_0x1a31c0:0x3c,_0x51a75f:0xb0,_0x1af242:0x11c,_0x49eaf2:0x195,_0xde6489:0x209,_0x41fac1:0x196,_0x3e0270:0x24,_0x4747ff:0x11,_0x2c11d9:0x268,_0x28d4ac:0x1d4,_0x219539:0x220,_0x2cd837:0x78,_0x5263cc:0x51,_0x532deb:0x47},_0x3604f2={_0x2d141a:0x5fc,_0x15153d:0xb7,_0x56da91:0x131},_0x34972c={_0x1a21f7:0x31,_0x2dea50:0x73},_0x27c0c9={_0x16196b:0x76,_0x136046:0x1a0},_0x51644b={_0x492649:0x170,_0xa31d1:0x168,_0x560d2e:0x1ce},_0xb5116={_0xbd462e:0x145,_0x2c62c5:0x1df},_0x385ad={_0x1ef531:0x42},_0x104cd9={_0x2971d1:0x167,_0x3f43ce:0x135,_0x2ce715:0x8},_0xc438bc={_0x4b8ccf:0x56b,_0x63d35a:0x48},_0x17e08d={_0x338739:0x666,_0x4fb497:0x686,_0x321b71:0x5f7,_0x2a28a0:0x5cb,_0x32a795:0x59c,_0x491c7a:0x479,_0x1ff525:0x4eb,_0x7e170e:0x4d2},_0x5b94c6={_0x35fb1b:0x10b,_0x2f09c3:0xae},_0xc27bd3={_0x4f9928:0x260,_0x16b691:0x3a1},_0x5b48b8={_0x36fdcd:0x27f,_0x44c7a0:0x181,_0x4f00f7:0xf9},_0x4f6726={_0x2ccb4a:0x3f1,_0x402b91:0x4f5},_0x2523df={_0x890f20:0x64},_0x10f2d8={_0x23aa56:0x2eb,_0xebc8b5:0x3d5,_0x1fb439:0x477,_0x4110e7:0x4a6},_0x379cb3={_0xbf484d:0xa,_0x455036:0xee},_0xfc40d7={_0x4e780d:0x100,_0xffb115:0x61,_0x3e8ade:0x1e},_0xe8669={_0x17bfb4:0x5dc,_0x4d49c0:0x127},_0x38797e={_0x4cb0c2:0x7b,_0x155c8e:0x4d,_0x2344f6:0xcc},_0x592184={_0x3f7d4c:0x570,_0x37d196:0x17f,_0xe8bc6a:0x13c},_0x291182={_0x575782:0x8b,_0x1014ab:0xa3,_0x202801:0x172},_0x41d02e={_0x26c368:0x409,_0x3560a8:0xb3},_0x5653df={_0xd5b6fc:0x6d,_0x3378fd:0x37,_0x36e8e6:0x78,_0x50378a:0x29a,_0x533219:0x2c6,_0x54e48a:0x409},_0x115bca={_0x2e642c:0x79f,_0x108e32:0x5f3,_0x100e8d:0x640,_0x4e3f62:0x572,_0x52864c:0x704,_0x30372b:0x6e2,_0x1ab361:0x4b0,_0x2d3c62:0x4ae,_0x2e595c:0x678,_0x2a81b2:0x30a,_0x137949:0x44a,_0x33a659:0x4ef,_0x370c16:0x30b},_0x369be9={_0x4fd17f:0x5e0,_0x13be5b:0x16f},_0x5518e8={_0x1abe28:0x65,_0xa474ba:0x170,_0x222ed3:0x281,_0x39f672:0x265,_0xe47306:0x2b8,_0x476507:0x1ea,_0x498b83:0x2bf,_0x2de7b1:0x3aa,_0x464121:0x3c9,_0x40e9a5:0x37e,_0x8aa977:0x4cf,_0x2162c0:0x3ad},_0x314c16={_0x933314:0x3a7},_0x1eca0e={_0x3d06ea:0x99,_0x31987d:0x87,_0x13b726:0x491,_0x1c35ca:0x35b,_0x1a0bbf:0x36c,_0x3d2016:0x19d,_0x4edce1:0x94,_0x4208aa:0x5e,_0x4a2156:0x196,_0x2da791:0x197,_0x1251a6:0x8c,_0x2a8f63:0x81,_0xda1438:0x3f0,_0x524d42:0x3d1,_0x5b9fa2:0x319,_0x4fdb8e:0xb0,_0x24d804:0x145,_0x2365f1:0x85},_0x6a3723={_0xbb9944:0x342,_0x1bc912:0xde,_0x36c932:0xec,_0x44fde7:0x10b,_0x1bddc7:0x2db,_0x35da32:0x352,_0x532927:0x46e},_0x30776e={_0x53705e:0x575,_0x5549fb:0x23},_0xd14052={_0x5ae096:0x236,_0x2f717:0x8a},_0x59ed36={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x4ab8be=()=>_0x421f6f[_0x1a5fc6(0x578,0x4ec,0x6a3,0x4df)]!==![];async function _0x1cc479(_0xfe0695,_0x3b5015){const _0x563856={_0x5767e7:0x3a6,_0x1458a3:0x1c,_0x1b2d74:0x33},_0xa19590={_0x1935a0:0x2e,_0x2b0769:0x5b};function _0x5f118c(_0x4e2d79,_0x301e08,_0x30dc3e,_0x23d7b5){return _0x1a5fc6(_0x301e08- -_0xd14052._0x5ae096,_0x301e08-0x107,_0x30dc3e-_0xd14052._0x2f717,_0x4e2d79);}const _0x50ee4c=stateKey(_0xfe0695,_0x3b5015);function _0x2559a0(_0x486d9e,_0x1d2689,_0x27a32e,_0xeda781){return _0x1a5fc6(_0x27a32e- -_0x30776e._0x53705e,_0x1d2689-0xdb,_0x27a32e-_0x30776e._0x5549fb,_0x486d9e);}const _0x3a1c5f=_0x59ed36[_0x2559a0(0x7,-0x103,-_0x1eca0e._0x3d06ea,_0x1eca0e._0x31987d)][_0x5f118c(_0x1eca0e._0x13b726,_0x1eca0e._0x1c35ca,_0x1eca0e._0x1a0bbf,0x2da)](_0x136575=>_0x136575[_0x5f118c(0x30a,0x346,0x368,0x256)]===_0xfe0695['id']&&_0x136575[_0x5f118c(0x1b1,0x1d6,0x131,0x1e5)]===_0x3b5015);if(_0x3a1c5f)return _0x3a1c5f;if(_0x59ed36[_0x2559a0(_0x1eca0e._0x3d2016,-_0x1eca0e._0x4edce1,_0x1eca0e._0x4208aa,_0x1eca0e._0x4a2156)][_0x2559a0(-_0x1eca0e._0x2da791,-_0x1eca0e._0x1251a6,-_0x1eca0e._0x2a8f63,-0xf1)](_0x50ee4c))return void 0x0;const _0x31463b=_0x59ed36[_0x5f118c(0x21a,0x323,_0x1eca0e._0xda1438,_0x1eca0e._0x524d42)][_0x5f118c(0x102,0x220,0x1f9,_0x1eca0e._0x5b9fa2)](_0x50ee4c);if(_0x31463b)return _0x31463b;const _0x22cc5c=((async()=>{function _0x3427ad(_0x3ff5b2,_0x14dd1b,_0x4472f8,_0x4c4336){return _0x5f118c(_0x4c4336,_0x14dd1b- -_0xa19590._0x1935a0,_0x4472f8-0x85,_0x4c4336-_0xa19590._0x2b0769);}function _0x1f7e23(_0x4478f6,_0x582e32,_0x27d0d9,_0x24b5e8){return _0x5f118c(_0x24b5e8,_0x27d0d9- -_0x563856._0x5767e7,_0x27d0d9-_0x563856._0x1458a3,_0x24b5e8-_0x563856._0x1b2d74);}try{const _0x8bc45a=await _0xfe0695[_0x1f7e23(-0x2bc,-_0x6a3723._0xbb9944,-0x1fd,-_0x6a3723._0x1bc912)](_0x3b5015);if(!_0x8bc45a)return _0x59ed36[_0x3427ad(0x466,0x36f,0x40b,0x38c)]['add'](_0x50ee4c),void 0x0;const _0x2d090d=await createLspClient({'server':_0xfe0695,'root':_0x3b5015,'handle':_0x8bc45a}),_0x2f42f7=_0x59ed36['clients']['find'](_0x26bac6=>_0x26bac6[_0x3427ad(0x1eb,0x318,0x3b8,0x21c)]===_0xfe0695['id']&&_0x26bac6[_0x1f7e23(-0x13c,-0x251,-0x1d0,-0x217)]===_0x3b5015);if(_0x2f42f7)return await _0x2d090d[_0x1f7e23(-_0x6a3723._0x36c932,-_0x6a3723._0x44fde7,-0x1d6,-0x18c)](),_0x2f42f7;return _0x59ed36['clients'][_0x3427ad(0x3e1,0x3be,0x29b,_0x6a3723._0x1bddc7)](_0x2d090d),_0x2d090d;}catch{return _0x59ed36['broken']['add'](_0x50ee4c),void 0x0;}finally{_0x59ed36['spawning'][_0x3427ad(0x3f7,_0x6a3723._0x35da32,_0x6a3723._0x532927,0x482)](_0x50ee4c);}})());return _0x59ed36['spawning'][_0x2559a0(-0x17f,-_0x1eca0e._0x4fdb8e,-_0x1eca0e._0x24d804,-_0x1eca0e._0x2365f1)](_0x50ee4c,_0x22cc5c),_0x22cc5c;}async function _0x27fd2f(_0x2cdad9,_0x275be8){const _0x53c6d9={_0x21ec1c:0x259,_0x14a3fc:0xbe,_0x241432:0x17f};function _0x3fb5e1(_0x5f12ab,_0x5458c9,_0x197a7f,_0x5d1905){return _0x1a5fc6(_0x197a7f- -_0x314c16._0x933314,_0x5458c9-0xf9,_0x197a7f-0x75,_0x5d1905);}function _0x59293a(_0x286207,_0x3cc72d,_0x162732,_0x1e1081){return _0x1a5fc6(_0x162732- -_0x53c6d9._0x21ec1c,_0x3cc72d-_0x53c6d9._0x14a3fc,_0x162732-_0x53c6d9._0x241432,_0x286207);}if(!_0x4ab8be())return[];const _0x21cb8b=[];for(const _0x2ddb83 of getServersForFile(_0x2cdad9)){const _0xdfb64a=await _0x2ddb83[_0x3fb5e1(-0x95,0x65,_0x5518e8._0x1abe28,-0x2b)](_0x2cdad9);if(!_0xdfb64a)continue;const _0x59faee=stateKey(_0x2ddb83,_0xdfb64a);if(_0x59ed36['broken'][_0x3fb5e1(0x253,0xbd,0x14d,0x1cf)](_0x59faee))continue;const _0x29d01d=_0x59ed36[_0x59293a(_0x5518e8._0xa474ba,_0x5518e8._0x222ed3,0x283,_0x5518e8._0x39f672)][_0x3fb5e1(_0x5518e8._0xe47306,0x22d,_0x5518e8._0x476507,0x168)](_0x1aa3ee=>_0x1aa3ee[_0x59293a(0x3bd,0x38a,0x323,0x426)]===_0x2ddb83['id']&&_0x1aa3ee[_0x3fb5e1(0x5f,0x196,0x65,0x9a)]===_0xdfb64a);if(_0x29d01d){_0x21cb8b[_0x59293a(_0x5518e8._0x498b83,_0x5518e8._0x2de7b1,_0x5518e8._0x464121,_0x5518e8._0x40e9a5)](_0x29d01d);continue;}if(!_0x275be8)continue;const _0x4f8936=await _0x1cc479(_0x2ddb83,_0xdfb64a);if(_0x4f8936)_0x21cb8b[_0x59293a(_0x5518e8._0x8aa977,_0x5518e8._0x2162c0,0x3c9,0x331)](_0x4f8936);}return _0x21cb8b;}async function _0x51e77d(_0x35101e,_0x1cfa10=![]){const _0x3ea1bc={_0x254bb0:0x2ff,_0x595487:0x192},_0x3b50fb={_0x3775e5:0x199};function _0x4d0eda(_0x3268c5,_0x1a30c7,_0xe757b2,_0x206e11){return _0x1a5fc6(_0x3268c5- -_0x369be9._0x4fd17f,_0x1a30c7-0x118,_0xe757b2-_0x369be9._0x13be5b,_0xe757b2);}const _0x217aa5=await _0x27fd2f(_0x35101e,!![]);function _0x4ce5ec(_0x4b54b0,_0x4ab534,_0x5dc3e0,_0x3a47e6){return _0x1a5fc6(_0x4b54b0- -_0x3b50fb._0x3775e5,_0x4ab534-0xce,_0x5dc3e0-0x1bf,_0x5dc3e0);}await Promise[_0x4d0eda(-_0x5653df._0xd5b6fc,_0x5653df._0x3378fd,0xc0,_0x5653df._0x36e8e6)](_0x217aa5[_0x4ce5ec(0x2f8,_0x5653df._0x50378a,_0x5653df._0x533219,_0x5653df._0x54e48a)](async _0x5f7265=>{const _0x3787dd={_0x1230c4:0x44c};!_0x59ed36['openFiles']['has'](_0x5f7265[_0x55f740(_0x115bca._0x2e642c,_0x115bca._0x108e32,0x663,0x6e2)]+':'+_0x5f7265[_0x55f740(0x53c,0x563,_0x115bca._0x100e8d,_0x115bca._0x4e3f62)]+':'+_0x35101e)&&(await _0x5f7265[_0x55f740(0x6d5,0x773,0x57f,0x6a5)][_0x55f740(0x678,_0x115bca._0x52864c,0x7f5,0x7aa)]({'path':_0x35101e}),_0x59ed36[_0x2b6981(0x4e5,0x4a2,0x37f,0x5d8)]['add'](_0x5f7265[_0x55f740(0x792,0x75d,0x6fb,_0x115bca._0x30372b)]+':'+_0x5f7265['root']+':'+_0x35101e));function _0x2b6981(_0x310a29,_0x3585e8,_0x5c855a,_0x40f75d){return _0x4d0eda(_0x3585e8-_0x3787dd._0x1230c4,_0x3585e8-0xaf,_0x40f75d,_0x40f75d-0x1b2);}await _0x5f7265['notify'][_0x55f740(_0x115bca._0x1ab361,_0x115bca._0x2d3c62,_0x115bca._0x2e595c,0x56f)]({'path':_0x35101e,'version':nextFileVersion(_0x59ed36,_0x35101e)});function _0x55f740(_0x94ad15,_0xa4174,_0x41e922,_0x8377ff){return _0x4ce5ec(_0x8377ff-_0x3ea1bc._0x254bb0,_0xa4174-0x67,_0x94ad15,_0x8377ff-_0x3ea1bc._0x595487);}if(_0x1cfa10)await _0x5f7265[_0x2b6981(_0x115bca._0x2a81b2,_0x115bca._0x137949,_0x115bca._0x33a659,_0x115bca._0x370c16)]({'path':_0x35101e});}));}async function _0x20066f(_0x4dba82){function _0x47d939(_0x2752e4,_0x1d08e9,_0x1f3254,_0x3da660){return _0x1a5fc6(_0x2752e4- -_0x41d02e._0x26c368,_0x1d08e9-0x17f,_0x1f3254-_0x41d02e._0x3560a8,_0x1d08e9);}return await _0x51e77d(_0x4dba82[_0x47d939(_0x291182._0x575782,_0x291182._0x1014ab,_0x291182._0x202801,0x17e)],![]),_0x27fd2f(_0x4dba82['file'],![]);}function _0x1a5fc6(_0x2c96da,_0x2d6f8a,_0x2fa29d,_0x2a1b79){return _0x2fd7af(_0x2c96da-_0x592184._0x3f7d4c,_0x2d6f8a-_0x592184._0x37d196,_0x2a1b79,_0x2a1b79-_0x592184._0xe8bc6a);}async function _0x5ef9a5(_0x5ad24d){const _0x4e275b=await _0x20066f(_0x5ad24d);return collectClientResults(_0x4e275b['map'](_0x36b87b=>_0x36b87b['request']['prepareCallHierarchy'](_0x5ad24d)));}return{'isEnabled':_0x4ab8be,async 'hasClients'(_0x3a552f){const _0x45bf24={_0x66dda5:0x93,_0x3573d1:0x6d};function _0x4e1768(_0x1d80cc,_0x3102fb,_0x1905d4,_0x17a122){return _0x1a5fc6(_0x1d80cc- -0x489,_0x3102fb-_0x45bf24._0x66dda5,_0x1905d4-_0x45bf24._0x3573d1,_0x1905d4);}return(await _0x27fd2f(_0x3a552f,![]))[_0x4e1768(_0x38797e._0x4cb0c2,_0x38797e._0x155c8e,-0xba,-_0x38797e._0x2344f6)]>0x0||getServersForFile(_0x3a552f)['length']>0x0;},'touchFile':_0x51e77d,async 'diagnostics'(){const _0x5274cd={_0x38005f:0x130},_0x5b8cca={};for(const _0x44af3e of _0x59ed36[_0x2706a5(0x19,-0x5c,-_0xfc40d7._0x4e780d,-0x17a)]){for(const [_0x1c4d58,_0x2538d2]of _0x44af3e[_0x2706a5(0x24,_0xfc40d7._0xffb115,-_0xfc40d7._0x3e8ade,0x1e)]){_0x5b8cca[diagnosticsKeyToPath(_0x1c4d58)]=_0x2538d2;}}function _0xf8bb82(_0x479faf,_0x5a3e31,_0x475f3f,_0x15de25){return _0x1a5fc6(_0x5a3e31- -0x475,_0x5a3e31-_0x5274cd._0x38005f,_0x475f3f-0x5b,_0x15de25);}function _0x2706a5(_0x514df6,_0x490cab,_0x5217f9,_0x1f0635){return _0x1a5fc6(_0x5217f9- -_0xe8669._0x17bfb4,_0x490cab-0x116,_0x5217f9-_0xe8669._0x4d49c0,_0x490cab);}return _0x5b8cca;},async 'diagnosticsForFile'(_0x4acb5f){const _0x272236={_0x469e68:0x146,_0x55c909:0x84};function _0x18c652(_0x1ce5f8,_0x7a26c,_0x6ec008,_0x53a928){return _0x1a5fc6(_0x7a26c- -0x1ab,_0x7a26c-_0x272236._0x469e68,_0x6ec008-_0x272236._0x55c909,_0x1ce5f8);}function _0x3e002e(_0x2f2e6c,_0xe3bab7,_0x511609,_0x349628){return _0x1a5fc6(_0x2f2e6c- -0x2d3,_0xe3bab7-_0x379cb3._0xbf484d,_0x511609-_0x379cb3._0x455036,_0x511609);}await _0x51e77d(_0x4acb5f,!![]);const _0x4f0817=[];for(const _0x1b0dc of await _0x27fd2f(_0x4acb5f,![])){for(const [_0x31ed47,_0xea805d]of _0x1b0dc[_0x3e002e(_0x10f2d8._0x23aa56,0x3ab,0x3da,_0x10f2d8._0xebc8b5)]){if(diagnosticsKeyToPath(_0x31ed47)===_0x4acb5f)_0x4f0817[_0x18c652(0x5a2,_0x10f2d8._0x1fb439,0x499,_0x10f2d8._0x4110e7)](..._0xea805d);}}return _0x4f0817;},async 'definition'(_0x1c6e98){function _0x52075d(_0x531f4f,_0x4b9a78,_0x7fa2cd,_0x23dd50){return _0x1a5fc6(_0x7fa2cd- -0x3b7,_0x4b9a78-0x128,_0x7fa2cd-0xeb,_0x23dd50);}function _0x2acd01(_0x235a66,_0x43fa3a,_0x4e838b,_0x5b0443){return _0x1a5fc6(_0x4e838b-_0x2523df._0x890f20,_0x43fa3a-0x15e,_0x4e838b-0xdb,_0x235a66);}return collectClientResults((await _0x20066f(_0x1c6e98))[_0x2acd01(0x59d,_0x4f6726._0x2ccb4a,_0x4f6726._0x402b91,0x584)](_0x24d0af=>_0x24d0af[_0x2acd01(0x3fb,0x528,0x469,0x40c)]['definition'](_0x1c6e98)));},async 'references'(_0x51e74e){const _0x446cc7={_0x8387e4:0x231,_0x5a82c5:0x119};function _0x551a82(_0x1b2eca,_0x52235e,_0x43b084,_0x4829ee){return _0x1a5fc6(_0x52235e- -_0x5b48b8._0x36fdcd,_0x52235e-_0x5b48b8._0x44c7a0,_0x43b084-_0x5b48b8._0x4f00f7,_0x4829ee);}function _0x5a6f5f(_0x365cf2,_0x5a3bcd,_0x526ed6,_0x57ec3a){return _0x1a5fc6(_0x5a3bcd- -_0x446cc7._0x8387e4,_0x5a3bcd-_0x446cc7._0x5a82c5,_0x526ed6-0xce,_0x365cf2);}return collectClientResults((await _0x20066f(_0x51e74e))[_0x5a6f5f(0x317,_0xc27bd3._0x4f9928,0x34d,_0xc27bd3._0x16b691)](_0x3868b3=>_0x3868b3[_0x551a82(0x1cc,0x186,0xe8,0x2cc)]['references'](_0x51e74e)));},async 'hover'(_0x237414){function _0x293065(_0x45b5cf,_0x1ffc82,_0x21c943,_0x48e1e7){return _0x1a5fc6(_0x48e1e7-_0x5b94c6._0x35fb1b,_0x1ffc82-0x91,_0x21c943-_0x5b94c6._0x2f09c3,_0x45b5cf);}const _0xad07c5=await Promise[_0x293065(_0x17e08d._0x338739,0x544,_0x17e08d._0x4fb497,_0x17e08d._0x321b71)]((await _0x20066f(_0x237414))[_0x293065(0x490,_0x17e08d._0x2a28a0,0x4c8,_0x17e08d._0x32a795)](_0x3dedd3=>_0x3dedd3['request'][_0x293065(0x62d,0x71f,0x6c7,0x5fa)](_0x237414)));function _0x59512f(_0x141656,_0x2a3c4a,_0x17cab3,_0x5875d7){return _0x1a5fc6(_0x2a3c4a- -0x4d9,_0x2a3c4a-0x1a,_0x17cab3-0x1f0,_0x5875d7);}return _0xad07c5[_0x293065(0x394,_0x17e08d._0x491c7a,_0x17e08d._0x1ff525,_0x17e08d._0x7e170e)](_0x278bf6=>_0x278bf6[_0x293065(0x42c,0x4bc,0x5f9,0x56d)]===_0x293065(0x761,0x5a4,0x794,0x66d)&&_0x278bf6[_0x59512f(0x47,0xbd,0x82,0x1f5)]?[_0x278bf6[_0x293065(0x62a,0x729,0x640,0x6a1)]]:[]);},async 'documentSymbol'(_0x45a01d){const _0x36da39={_0x19e642:0x3f0,_0x50955a:0x16b};function _0x116c47(_0x404e1a,_0x56bf23,_0x48b529,_0x1697bd){return _0x1a5fc6(_0x48b529- -_0xc438bc._0x4b8ccf,_0x56bf23-_0xc438bc._0x63d35a,_0x48b529-0x123,_0x56bf23);}await _0x51e77d(_0x45a01d,![]);function _0x3a5d15(_0x144fff,_0x237fb7,_0x185025,_0x4d9517){return _0x1a5fc6(_0x185025- -_0x36da39._0x19e642,_0x237fb7-_0x36da39._0x50955a,_0x185025-0x3b,_0x4d9517);}return collectClientResults((await _0x27fd2f(_0x45a01d,![]))['map'](_0x28c91e=>_0x28c91e[_0x3a5d15(0xfa,0x15b,0x15,-0x4c)][_0x116c47(-0x21d,-0x222,-0x168,-0x83)](_0x45a01d)));},async 'workspaceSymbol'(_0x3d84cd){const _0xb7cf46={_0x570b14:0x41d,_0x337a85:0x1d9,_0x1c46e1:0xd5},_0x4e0bc6={_0x26f341:0xdf,_0x59b0c8:0xce};function _0x54f95a(_0x12c929,_0x524b03,_0x40a03b,_0x524bcc){return _0x1a5fc6(_0x524b03- -0x5dc,_0x524b03-_0x4e0bc6._0x26f341,_0x40a03b-_0x4e0bc6._0x59b0c8,_0x12c929);}function _0x2825b2(_0x455c3b,_0x49537a,_0x38c060,_0x5c36ed){return _0x1a5fc6(_0x455c3b- -_0xb7cf46._0x570b14,_0x49537a-_0xb7cf46._0x337a85,_0x38c060-_0xb7cf46._0x1c46e1,_0x49537a);}return collectClientResults(_0x59ed36[_0x54f95a(-_0x104cd9._0x2971d1,-0x100,-_0x104cd9._0x3f43ce,_0x104cd9._0x2ce715)][_0x2825b2(0x74,0xca,0xfc,0x17)](_0x3644d1=>_0x3644d1[_0x2825b2(-0x18,-0x17,-0xbe,0x38)]['workspaceSymbol'](_0x3d84cd)));},async 'implementation'(_0x3fd846){function _0x369ef0(_0x351e7a,_0x1ffe31,_0x5ec34e,_0x31af91){return _0x1a5fc6(_0x31af91-0xbb,_0x1ffe31-0x1c1,_0x5ec34e-0x0,_0x1ffe31);}function _0x2590b0(_0x46e4c7,_0x4023c3,_0x329344,_0x4df323){return _0x1a5fc6(_0x4df323- -0x3d0,_0x4023c3-0x154,_0x329344-_0x385ad._0x1ef531,_0x329344);}return collectClientResults((await _0x20066f(_0x3fd846))['map'](_0x473733=>_0x473733[_0x2590b0(-0xa,-0x51,-0x5c,0x35)][_0x369ef0(0x716,0x806,0x6da,0x6cd)](_0x3fd846)));},async 'prepareCallHierarchy'(_0x13d711){return _0x5ef9a5(_0x13d711);},async 'incomingCalls'(_0x52b00e){const _0x3da1c1={_0x214744:0x257};function _0x3f8f2b(_0x3f067a,_0x12c852,_0x5ac406,_0x290dd5){return _0x1a5fc6(_0x12c852- -_0x3da1c1._0x214744,_0x12c852-0x66,_0x5ac406-0x18e,_0x290dd5);}const _0x5d8eb1=await _0x5ef9a5(_0x52b00e);function _0x11db4b(_0x3822f0,_0x15fc40,_0x43ddfc,_0x201ebd){return _0x1a5fc6(_0x3822f0- -0x1e1,_0x15fc40-_0xb5116._0xbd462e,_0x43ddfc-_0xb5116._0x2c62c5,_0x43ddfc);}const _0x5e4831=await _0x20066f(_0x52b00e);return collectClientResults(_0x5e4831[_0x3f8f2b(0x21d,_0x51644b._0x492649,_0x51644b._0xa31d1,_0x51644b._0x560d2e)](_0x4d861b=>_0x5d8eb1['map'](_0x324423=>_0x4d861b[_0x3f8f2b(0x109,0x1ae,0xc5,0x2e6)][_0x11db4b(0x416,0x3fd,0x3e1,0x375)](_0x324423))));},async 'outgoingCalls'(_0x436028){const _0x52e835=await _0x5ef9a5(_0x436028);function _0x1fcbac(_0xef9b87,_0x3ef1df,_0x552577,_0x469363){return _0x1a5fc6(_0x3ef1df- -0x1b0,_0x3ef1df-_0x27c0c9._0x16196b,_0x552577-_0x27c0c9._0x136046,_0x469363);}function _0x585abf(_0x4d8686,_0x4ab5de,_0x244cfa,_0x9dc43d){return _0x1a5fc6(_0x9dc43d- -0x1a2,_0x4ab5de-0x193,_0x244cfa-0x46,_0x244cfa);}const _0x16b2c0=await _0x20066f(_0x436028);return collectClientResults(_0x16b2c0[_0x585abf(0x201,0x2c9,0x189,0x225)](_0x387254=>_0x52e835[_0x585abf(0x1df,0x28a,0x1d8,0x2ef)](_0x47dd72=>_0x387254[_0x1fcbac(0x1aa,0x255,0x274,0x1e1)][_0x1fcbac(0x424,0x333,0x31b,0x330)](_0x47dd72))));},async 'shutdown'(){function _0x3b7bb8(_0x2a5d5e,_0x2b09a1,_0xf58192,_0x43b796){return _0x1a5fc6(_0xf58192- -0x462,_0x2b09a1-_0x34972c._0x1a21f7,_0xf58192-_0x34972c._0x2dea50,_0x2a5d5e);}if(_0x59ed36[_0x3b7bb8(0x1ef,_0x48ac6f._0x16a71f,_0x48ac6f._0x4aa607,0x6c)])return;_0x59ed36[_0x3b7bb8(_0x48ac6f._0x1a625e,_0x48ac6f._0x5961d0,0x17e,_0x48ac6f._0x598d5f)]=!![],await Promise[_0x18193a(-0x2a,-_0x48ac6f._0x207032,-_0x48ac6f._0x22e117,-0x203)](_0x59ed36[_0x18193a(-_0x48ac6f._0x2201d9,-_0x48ac6f._0x151bac,-0x49,-0xa2)][_0x18193a(-0x192,-_0x48ac6f._0x4c0506,-0x26b,-0x180)](_0x144475=>_0x144475['shutdown']())),_0x59ed36['clients']=[],_0x59ed36[_0x18193a(-0x12b,-0xa3,-_0x48ac6f._0x2f8f7d,-_0x48ac6f._0x2c4e89)][_0x18193a(0x4c,0x24,_0x48ac6f._0x1a31c0,-_0x48ac6f._0x51a75f)](),_0x59ed36[_0x3b7bb8(0xf6,_0x48ac6f._0x1af242,0x171,0x1b5)][_0x3b7bb8(_0x48ac6f._0x49eaf2,_0x48ac6f._0xde6489,0x1be,_0x48ac6f._0x41fac1)](),_0x59ed36['fileVersions'][_0x18193a(0x160,_0x48ac6f._0x3e0270,-0x45,_0x48ac6f._0x4747ff)]();function _0x18193a(_0x1ed5f8,_0x44bcfb,_0x51dec0,_0x29dc55){return _0x1a5fc6(_0x44bcfb- -_0x3604f2._0x2d141a,_0x44bcfb-_0x3604f2._0x15153d,_0x51dec0-_0x3604f2._0x56da91,_0x51dec0);}_0x59ed36[_0x3b7bb8(_0x48ac6f._0x2c11d9,0x2ce,_0x48ac6f._0x28d4ac,_0x48ac6f._0x219539)][_0x18193a(_0x48ac6f._0x2cd837,_0x48ac6f._0x3e0270,_0x48ac6f._0x5263cc,-_0x48ac6f._0x532deb)]();},'status'(){const _0xb6a011={_0x2a58fc:0x8d};function _0x3ceb7b(_0x4963f6,_0x391a6b,_0x169088,_0x3570da){return _0x1a5fc6(_0x4963f6- -0x39a,_0x391a6b-0x60,_0x169088-_0xb6a011._0x2a58fc,_0x391a6b);}function _0x25b762(_0x520e29,_0x260535,_0x351853,_0x332689){return _0x1a5fc6(_0x260535- -_0x3f6af1._0x5b7061,_0x260535-_0x3f6af1._0x2dc0aa,_0x351853-_0x3f6af1._0x1c639c,_0x351853);}return{'connectedClients':_0x59ed36[_0x3ceb7b(0x142,0xc0,_0x3129ed._0x251f65,_0x3129ed._0xd79572)][_0x25b762(0x142,_0x3129ed._0x2b463c,_0x3129ed._0x490f44,0x191)]};}};}function createQuestionId(){const _0x4b9551={_0x4c098b:0x232,_0x45e528:0x186,_0x113a02:0x331,_0x3b7d7d:0x46a,_0x5d9463:0x29c,_0x198829:0x2fe},_0x185f38={_0x3a37db:0x44},_0x932cc5={_0xdc63a1:0x67};function _0x31c3dd(_0x2c87a4,_0x4bb4fe,_0x2e64b9,_0x8529a2){return _0x278b49(_0x2c87a4-0x1f0,_0x4bb4fe-_0x932cc5._0xdc63a1,_0x2e64b9- -0x14,_0x4bb4fe);}function _0x1c9902(_0x4ff2ac,_0x2b7062,_0x205dd1,_0x47a5a1){return _0x278b49(_0x4ff2ac-0x61,_0x2b7062-_0x185f38._0x3a37db,_0x205dd1-0x364,_0x2b7062);}return _0x31c3dd(-0x1a0,-0xbc,-0x115,-_0x4b9551._0x4c098b)+Date[_0x31c3dd(0xbd,_0x4b9551._0x45e528,0xa3,0xca)]()+'-'+Math[_0x1c9902(_0x4b9551._0x113a02,_0x4b9551._0x3b7d7d,0x3e0,_0x4b9551._0x5d9463)]()[_0x1c9902(0x265,0x253,_0x4b9551._0x198829,0x43e)](0x24)['slice'](0x2,0x9);}function validateInput(_0xaebdff){const _0x32bbb8={_0x3b528d:0x12b,_0x1800ed:0xa,_0x26f108:0x12a,_0x266952:0x1a3,_0x4eacea:0x397,_0x13f55c:0x289,_0x7fcf95:0x4ea,_0x66ec96:0x629,_0x444925:0x666,_0x244ad6:0x568,_0x21b1b6:0x268,_0x4190d0:0x2c8,_0x199b4f:0x2e9,_0x47afd2:0x609,_0x502281:0x3f9,_0x5e3251:0x5aa,_0x3684c5:0x4e7,_0x4ae6fe:0x76a,_0x5dd359:0x6e2,_0x531464:0x71e,_0x4cf408:0x355,_0xaf3781:0x108,_0xecccd3:0xd5,_0x4ad97b:0x15a,_0x1953a6:0x14a,_0x4f4e56:0x413,_0x7311d8:0x300,_0x3b2365:0x37e,_0x8f0846:0x2a6,_0x19938b:0x71b,_0x2fe833:0xd9,_0x5aa66e:0x6,_0x19a6e2:0x68,_0x347bd0:0x4a3,_0x4e48dd:0x4d6,_0x344cdc:0x373,_0x1e6c57:0x1a0,_0x2e7482:0x254,_0x251a33:0x195,_0x4c68e3:0x3ee,_0x1f3c37:0x501,_0x5340de:0x5d1,_0x3bbf85:0x567,_0x529316:0x633,_0x54b554:0x62c,_0x273339:0x1f9,_0x385884:0x20c,_0x56e303:0x199,_0x3ec5eb:0x47c,_0x53366d:0x467,_0x57cbba:0x418,_0x597d9e:0x43a,_0x1112ac:0x4ba,_0x522776:0x2a4,_0x36e4be:0x3db,_0x92ade:0x2af,_0x3ddc0d:0x609,_0x44a714:0x5fd,_0x5b2835:0x68a,_0x402ecb:0x1b8,_0x1a63f3:0x142,_0x5cf80b:0x596,_0x42497e:0x5d4,_0x272708:0x2a8,_0x57dfc7:0x278,_0x590c91:0x36f,_0x55671c:0x41c,_0x916ec7:0x582},_0x20780c={_0x452258:0x1c0},_0x20bb66={_0x1ac394:0x7f};if(!Array[_0x564182(_0x32bbb8._0x3b528d,-_0x32bbb8._0x1800ed,_0x32bbb8._0x26f108,_0x32bbb8._0x266952)](_0xaebdff[_0x564182(0x2c8,0x39a,_0x32bbb8._0x4eacea,_0x32bbb8._0x13f55c)])||_0xaebdff[_0x49f9f9(_0x32bbb8._0x7fcf95,_0x32bbb8._0x66ec96,_0x32bbb8._0x444925,_0x32bbb8._0x244ad6)][_0x564182(0x1a0,_0x32bbb8._0x21b1b6,0x10f,0x131)]<0x1||_0xaebdff[_0x564182(_0x32bbb8._0x4190d0,_0x32bbb8._0x199b4f,0x1c4,0x1b5)][_0x49f9f9(0x52f,0x501,_0x32bbb8._0x47afd2,_0x32bbb8._0x502281)]>0x4)throw new ToolExecutionError('Must\x20provide\x201-4\x20questions',{'error':'invalid_questions'});function _0x564182(_0x4a4005,_0x3250d9,_0x5312e4,_0x16f3ba){return _0x278b49(_0x4a4005-_0x20bb66._0x1ac394,_0x3250d9-0x50,_0x4a4005-0x1bd,_0x16f3ba);}function _0x49f9f9(_0x5e2044,_0x12386c,_0x14dbc4,_0x11d280){return _0x278b49(_0x5e2044-0x100,_0x12386c-_0x20780c._0x452258,_0x12386c-0x51e,_0x5e2044);}for(let _0x59c52e=0x0;_0x59c52e<_0xaebdff[_0x49f9f9(_0x32bbb8._0x5e3251,_0x32bbb8._0x66ec96,0x6fd,_0x32bbb8._0x3684c5)][_0x49f9f9(0x547,0x501,0x5f0,0x4f3)];_0x59c52e+=0x1){const _0x2453ad=_0xaebdff[_0x49f9f9(_0x32bbb8._0x4ae6fe,0x629,_0x32bbb8._0x5dd359,_0x32bbb8._0x531464)][_0x59c52e];if(!_0x2453ad['question']||typeof _0x2453ad['question']!=='string')throw new ToolExecutionError(_0x564182(0x2a8,0x170,_0x32bbb8._0x4cf408,0x3b1)+(_0x59c52e+0x1)+':\x20\x22question\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(!_0x2453ad[_0x564182(_0x32bbb8._0xaf3781,_0x32bbb8._0xecccd3,_0x32bbb8._0x4ad97b,_0x32bbb8._0x1953a6)]||typeof _0x2453ad['header']!==_0x49f9f9(0x53f,_0x32bbb8._0x4f4e56,_0x32bbb8._0x7311d8,_0x32bbb8._0x3b2365))throw new ToolExecutionError(_0x49f9f9(0x666,0x609,0x5ab,0x663)+(_0x59c52e+0x1)+':\x20\x22header\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x2453ad['header'][_0x564182(0x1a0,0xd1,0x281,_0x32bbb8._0x8f0846)]>0x14)throw new ToolExecutionError(_0x49f9f9(0x5f5,_0x32bbb8._0x47afd2,_0x32bbb8._0x19938b,0x5de)+(_0x59c52e+0x1)+':\x20\x22header\x22\x20must\x20be\x20max\x2020\x20characters,\x20got\x20'+_0x2453ad['header']['length']);if(!Array['isArray'](_0x2453ad[_0x564182(_0x32bbb8._0x2fe833,_0x32bbb8._0x5aa66e,-_0x32bbb8._0x19a6e2,0x1c6)])||_0x2453ad[_0x49f9f9(_0x32bbb8._0x347bd0,0x43a,_0x32bbb8._0x4e48dd,_0x32bbb8._0x344cdc)][_0x564182(_0x32bbb8._0x1e6c57,_0x32bbb8._0x2e7482,0x16a,0x235)]<0x2||_0x2453ad[_0x564182(_0x32bbb8._0x2fe833,0x1d5,0x1f1,_0x32bbb8._0x251a33)][_0x49f9f9(_0x32bbb8._0x4c68e3,_0x32bbb8._0x1f3c37,0x535,0x54a)]>0x4)throw new ToolExecutionError(_0x49f9f9(_0x32bbb8._0x5340de,_0x32bbb8._0x47afd2,0x56d,0x732)+(_0x59c52e+0x1)+_0x49f9f9(_0x32bbb8._0x3bbf85,0x634,_0x32bbb8._0x529316,_0x32bbb8._0x54b554));for(let _0x772329=0x0;_0x772329<_0x2453ad[_0x564182(0xd9,_0x32bbb8._0x273339,_0x32bbb8._0x385884,_0x32bbb8._0x56e303)][_0x49f9f9(_0x32bbb8._0x3ec5eb,0x501,_0x32bbb8._0x53366d,0x472)];_0x772329+=0x1){const _0x2b87f5=_0x2453ad[_0x49f9f9(_0x32bbb8._0x57cbba,_0x32bbb8._0x597d9e,0x57d,_0x32bbb8._0x1112ac)][_0x772329];if(!_0x2b87f5[_0x564182(0x94,-0x4d,-0x57,0x1c)]||!_0x2b87f5[_0x564182(_0x32bbb8._0x522776,0x385,_0x32bbb8._0x36e4be,_0x32bbb8._0x92ade)])throw new ToolExecutionError(_0x49f9f9(0x532,_0x32bbb8._0x3ddc0d,0x546,0x5a2)+(_0x59c52e+0x1)+_0x49f9f9(0x737,_0x32bbb8._0x44a714,_0x32bbb8._0x5b2835,0x59d)+(_0x772329+0x1)+_0x564182(_0x32bbb8._0x402ecb,_0x32bbb8._0x1a63f3,0x16e,0xbf));}if(typeof _0x2453ad[_0x49f9f9(_0x32bbb8._0x5cf80b,0x5d4,_0x32bbb8._0x42497e,0x4db)]!=='boolean')throw new ToolExecutionError(_0x564182(_0x32bbb8._0x272708,_0x32bbb8._0x57dfc7,0x2c4,_0x32bbb8._0x590c91)+(_0x59c52e+0x1)+_0x49f9f9(0x4da,0x49e,_0x32bbb8._0x55671c,_0x32bbb8._0x916ec7));}}function buildQuestions(_0x2ace36){const _0x11aaeb={_0x51252d:0x1af,_0x40e044:0x1d7,_0x3aa203:0x17};function _0x27e197(_0x4ef5f2,_0x26bf71,_0x385146,_0x58e357){return _0x2fd7af(_0x26bf71-_0x11aaeb._0x51252d,_0x26bf71-_0x11aaeb._0x40e044,_0x385146,_0x58e357-_0x11aaeb._0x3aa203);}function _0x410847(_0x1f5095,_0x40afd1,_0x417fae,_0x3faac2){return _0x278b49(_0x1f5095-0x1c8,_0x40afd1-0xad,_0x40afd1-0x362,_0x417fae);}return _0x2ace36['questions']['map']((_0x19bbb8,_0x7e5e6c)=>({'id':'q'+_0x7e5e6c,'question':_0x19bbb8[_0x27e197(0x1b7,0x272,0x310,0x3b6)],'header':_0x19bbb8[_0x410847(0x1b5,0x2ad,0x3e3,0x201)],'options':_0x19bbb8[_0x410847(0x2b2,0x27e,0x270,0x37d)],'multiSelect':_0x19bbb8['multiSelect']}));}function createResult(_0x32bf2c,_0x3030fb,_0x26984b){const _0xaceabf={_0x19716f:0xc1},_0x124faf={_0x58d0a4:0xdc,_0x3176c0:0x1a0,_0x251253:0x190};function _0x142620(_0x21d5d0,_0x4c1452,_0x152d12,_0x2f8e19){return _0x2fd7af(_0x21d5d0-_0x124faf._0x58d0a4,_0x4c1452-_0x124faf._0x3176c0,_0x4c1452,_0x2f8e19-_0x124faf._0x251253);}const _0x1f9813={'questionId':_0x32bf2c,'questionCount':_0x3030fb,'answers':_0x26984b};return createToolOutput(_0x142620(-0x7,-0xb9,_0xaceabf._0x19716f,0xbc)+JSON['stringify'](_0x26984b,null,0x2),_0x1f9813);}function createAskUserTool(){const _0x34a002={_0x1b619e:0x524,_0x24c60d:0x52a,_0x4760fe:0x4cc,_0x5172ff:0x1f5,_0x52d931:0x599,_0x4ec3bf:0x50a,_0x49afa8:0x89,_0x3815e3:0xf2,_0x54ec46:0x417,_0x2b1329:0x289,_0x348194:0x22d,_0xcae58e:0x36e,_0x1d6029:0x3e9,_0x8d3faa:0x209,_0x25d7e3:0x15e,_0x5cb7ef:0xed,_0x5b958f:0xe4,_0x15690d:0x4d,_0x4580df:0x10,_0x5f33d1:0x3e1,_0x2c4b4b:0x350,_0x1bdf55:0x4e7,_0x382d32:0x87,_0x167b79:0xe5,_0x25b845:0xd4,_0x3c59c4:0x446,_0x5bab43:0x58b,_0x31c681:0x12c,_0x313460:0x21,_0x58f732:0x13d,_0x1a5d35:0x75,_0x7e7c63:0x17,_0x3e1c49:0x111,_0x2f6460:0x1b1},_0x491bdf={_0x531520:0x1ae,_0x44e076:0x318,_0x1a9dac:0xff,_0x574592:0x5e,_0x1102b7:0x334,_0x1b45d5:0x247,_0x34b841:0x496,_0x407c70:0x4cf,_0x3497d2:0x5ca,_0x4f363e:0x289,_0x51d80f:0x29f,_0x589fd1:0x1d2,_0x42204d:0x284,_0x8bce0:0x42d,_0x1eed24:0x391,_0xeaa43:0x1e6,_0x595ce6:0x18f,_0x525f23:0x4e4,_0x33266f:0x48c},_0x32f81d={_0x399aef:0xea,_0x41f5cf:0x199},_0x183414={_0x1225f1:0x1f,_0x41ae28:0xf7},_0x46681c={_0xa6f5d9:0x112},_0xd1a7e8={_0x795aeb:0x11f};function _0x94e90b(_0x2b0c37,_0x1fdae7,_0x48571f,_0x37fadc){return _0x2fd7af(_0x48571f-0x4c8,_0x1fdae7-_0xd1a7e8._0x795aeb,_0x1fdae7,_0x37fadc-0x118);}function _0xea1762(_0x30833d,_0x7b440f,_0xca2eef,_0x1dbc8f){return _0x2fd7af(_0x1dbc8f-0x14a,_0x7b440f-0x5e,_0x30833d,_0x1dbc8f-_0x46681c._0xa6f5d9);}return defineTool({'name':_0x94e90b(_0x34a002._0x1b619e,0x479,_0x34a002._0x24c60d,_0x34a002._0x4760fe),'description':_0xea1762(0xc9,0x151,0x125,_0x34a002._0x5172ff),'inputSchema':{'type':_0x94e90b(0x602,_0x34a002._0x52d931,0x4e6,_0x34a002._0x4ec3bf),'properties':{'questions':{'type':_0xea1762(0x11e,_0x34a002._0x49afa8,_0x34a002._0x3815e3,0x15e),'items':{'type':_0x94e90b(_0x34a002._0x54ec46,0x3fa,0x4e6,_0x34a002._0x4760fe),'properties':{'question':{'type':_0x94e90b(0x31b,_0x34a002._0x2b1329,0x36e,0x449)},'header':{'type':_0x94e90b(0x242,_0x34a002._0x348194,_0x34a002._0xcae58e,_0x34a002._0x1d6029)},'options':{'type':_0xea1762(_0x34a002._0x8d3faa,0xfd,0x138,_0x34a002._0x25d7e3),'items':{'type':_0xea1762(0x167,_0x34a002._0x5cb7ef,_0x34a002._0x5b958f,0x168),'properties':{'label':{'type':'string'},'description':{'type':_0xea1762(0x19,_0x34a002._0x15690d,0x106,-_0x34a002._0x4580df)}},'required':[_0x94e90b(_0x34a002._0x5f33d1,0x266,_0x34a002._0x2c4b4b,0x3fb),_0x94e90b(0x670,_0x34a002._0x1bdf55,0x560,0x4a4)]}},'multiSelect':{'type':_0xea1762(_0x34a002._0x382d32,_0x34a002._0x167b79,0x1e1,_0x34a002._0x25b845)}},'required':[_0x94e90b(_0x34a002._0x3c59c4,0x5b6,_0x34a002._0x5bab43,0x47f),_0xea1762(_0x34a002._0x31c681,0x8d,-_0x34a002._0x313460,0x46),_0xea1762(_0x34a002._0x58f732,-0x126,_0x34a002._0x1a5d35,_0x34a002._0x7e7c63),_0xea1762(_0x34a002._0x3e1c49,0xba,0x268,_0x34a002._0x2f6460)]}},'answers':{'type':'object','properties':{}}},'required':['questions']},async *'execute'(_0x4c4785,_0x5283ab){const _0x522bba=_0x4c4785;validateInput(_0x522bba);const _0x1ce6b7=_0x5283ab[_0x278b77(0x23c,_0x491bdf._0x531520,0x259,0x17c)]??createQuestionId();function _0x404dcc(_0x13f382,_0x34571,_0x2167ce,_0xbb0611){return _0x94e90b(_0x13f382-_0x183414._0x1225f1,_0x13f382,_0x2167ce- -0xa0,_0xbb0611-_0x183414._0x41ae28);}if(_0x522bba[_0x278b77(0x1c8,0x22b,_0x491bdf._0x44e076,0x247)]&&Object[_0x278b77(0x26e,_0x491bdf._0x1a9dac,_0x491bdf._0x574592,0x133)](_0x522bba[_0x278b77(_0x491bdf._0x1102b7,0x1b7,0x153,_0x491bdf._0x1b45d5)])[_0x404dcc(0x481,0x2de,0x3bc,_0x491bdf._0x34b841)]>0x0)return createResult(_0x1ce6b7,_0x522bba[_0x404dcc(_0x491bdf._0x407c70,_0x491bdf._0x3497d2,0x4e4,0x49f)][_0x404dcc(0x4cd,0x322,0x3bc,0x398)],_0x522bba[_0x278b77(0x185,_0x491bdf._0x4f363e,_0x491bdf._0x51d80f,_0x491bdf._0x1b45d5)]);if(!_0x5283ab[_0x404dcc(_0x491bdf._0x589fd1,0x2b9,0x2cb,_0x491bdf._0x42204d)])throw new ToolExecutionError(_0x404dcc(0x2f4,_0x491bdf._0x8bce0,0x3e8,_0x491bdf._0x1eed24));function _0x278b77(_0x412a4f,_0x12667f,_0x4e2966,_0x2d8e20){return _0x94e90b(_0x412a4f-_0x32f81d._0x399aef,_0x4e2966,_0x2d8e20- -0x1f7,_0x2d8e20-_0x32f81d._0x41f5cf);}const _0x248b07=buildQuestions(_0x522bba),_0x249ba7=await _0x5283ab[_0x278b77(_0x491bdf._0xeaa43,_0x491bdf._0x595ce6,0x269,0x174)]({'questionId':_0x1ce6b7,'questions':_0x248b07});yield createResult(_0x1ce6b7,_0x522bba[_0x404dcc(0x488,_0x491bdf._0x34b841,_0x491bdf._0x525f23,_0x491bdf._0x33266f)][_0x278b77(0x289,0x2a8,0x28c,0x265)],_0x249ba7);}});}import{spawn as _0x35ce3c}from'child_process';import{statSync}from'fs';import*as _0x43ccef from'os';import*as _0x166011 from'path';import{StringDecoder}from'string_decoder';import{stripVTControlCharacters}from'util';import{stat}from'fs/promises';import*as _0x42da80 from'path';function isPathInside(_0x1bdd7f,_0x83b1a1){const _0x4e4593={_0x5bceea:0x279,_0x4755f3:0x416},_0x4e4383={_0xfd4ec1:0x481,_0x5b064e:0x81,_0x29fce1:0x44},_0x458bd2={_0x477caa:0x250,_0x3d9de1:0x3d};function _0x4ed0e8(_0x3d3ca9,_0x98edc,_0x112b05,_0x19b5f1){return _0x2fd7af(_0x19b5f1-_0x458bd2._0x477caa,_0x98edc-_0x458bd2._0x3d9de1,_0x98edc,_0x19b5f1-0x8e);}const _0x77117d=_0x42da80['resolve'](_0x1bdd7f);function _0x1b25c7(_0x355517,_0x505d1d,_0x56b62e,_0x3046a4){return _0x2fd7af(_0x3046a4-_0x4e4383._0xfd4ec1,_0x505d1d-_0x4e4383._0x5b064e,_0x505d1d,_0x3046a4-_0x4e4383._0x29fce1);}const _0x45a5da=_0x42da80['relative'](_0x77117d,_0x83b1a1);return _0x45a5da===''||!_0x45a5da[_0x1b25c7(0x27f,0x472,_0x4e4593._0x5bceea,0x365)]('..')&&!_0x42da80[_0x1b25c7(0x2f8,0x286,_0x4e4593._0x4755f3,0x32a)](_0x45a5da);}function resolveWorkspacePath(_0x307907,_0x491dfd){return resolveAllowedPath(_0x307907,[],_0x491dfd);}function resolveAllowedPath(_0x279e9b,_0x438874,_0x221aa2){const _0x47544f={_0x4520c5:0x1fe,_0x26372d:0x270,_0x3822ae:0x641,_0xe8cc19:0x5e9,_0x3b4e40:0x652,_0x40baea:0x44d,_0x6f520d:0x489,_0x553ff3:0x1b0,_0x22eac8:0x1cb},_0x13d2e6={_0x19b32c:0x10d},_0x3d67b3={_0x106793:0x544};function _0x33d0b3(_0x3f1b3c,_0x404218,_0x5b8ee3,_0x551b74){return _0x2fd7af(_0x5b8ee3-_0x3d67b3._0x106793,_0x404218-0x173,_0x3f1b3c,_0x551b74-0x15f);}const _0x3b0d3c=_0x42da80[_0x5c4897(0x356,_0x47544f._0x4520c5,0x37d,_0x47544f._0x26372d)](_0x279e9b);function _0x5c4897(_0x490ab5,_0x136633,_0x17439e,_0x307b08){return _0x2fd7af(_0x307b08-0x1cb,_0x136633-_0x13d2e6._0x19b32c,_0x136633,_0x307b08-0x105);}const _0x3c936c=_0x42da80[_0x33d0b3(_0x47544f._0x3822ae,0x4b6,_0x47544f._0xe8cc19,_0x47544f._0x3b4e40)](_0x3b0d3c,_0x221aa2),_0x4e74e9=[_0x3b0d3c,..._0x438874[_0x33d0b3(_0x47544f._0x40baea,0x38e,0x465,_0x47544f._0x6f520d)](_0x2c03cf=>_0x42da80[_0x5c4897(0x2d5,0x35d,0x153,0x270)](_0x2c03cf))];if(_0x4e74e9[_0x5c4897(0x398,_0x47544f._0x553ff3,_0x47544f._0x22eac8,0x28f)](_0x4968b7=>isPathInside(_0x4968b7,_0x3c936c)))return _0x3c936c;throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x221aa2,{'path':_0x221aa2,'rootDir':_0x3b0d3c,'allowedDirs':_0x4e74e9});}async function assertWorkspaceFile(_0x3ec44e){const _0x4f9c47={_0x3cc8e1:0x6c0,_0x308ec5:0x730,_0x2c4150:0x759,_0x142d03:0x6c1,_0x86f7ad:0x76b},_0x35be91={_0x10c9ba:0x1b7,_0x33a10b:0x6c,_0x5a4783:0x440},_0x442b29=await stat(_0x3ec44e);function _0x206086(_0x54b4bd,_0xe47d78,_0x2dfc63,_0x2ba676){return _0x278b49(_0x54b4bd-_0x35be91._0x10c9ba,_0xe47d78-_0x35be91._0x33a10b,_0xe47d78-_0x35be91._0x5a4783,_0x54b4bd);}function _0x14476b(_0xa89f9b,_0x3d1384,_0x7788e0,_0x438553){return _0x278b49(_0xa89f9b-0x1d6,_0x3d1384-0x9a,_0xa89f9b-0x6b3,_0x438553);}if(!_0x442b29[_0x14476b(0x71c,_0x4f9c47._0x3cc8e1,_0x4f9c47._0x308ec5,0x668)]())throw new ToolExecutionError(_0x14476b(_0x4f9c47._0x2c4150,_0x4f9c47._0x142d03,_0x4f9c47._0x86f7ad,0x732)+_0x3ec44e,{'path':_0x3ec44e});}function isProbablyBinary(_0xfc2532){return _0xfc2532['includes'](0x0);}function _0x18c5(){const _0x22cfa5=['y29TBwfUzhm','sw52ywXPzcbvuKWGCgfYyw1LDgvY','CMfUzg9T','u2HLBgWGBM90igzVDw5KoIa','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','zNjVBq','zxHPDa','tNv2Aw4','z2nSAwq','lu5VuhjVzMLSzq','C2HPzNq','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','zw52','Aw5JBhvKzxm','CgLK','tuLnrtOG','oIbJB250zw50ihjLCxvPCMvK','r2XVyG','y29TBwfUza','v2vIrMv0y2G','zMfPBgvK','pc9ZExn0zw0TCMvTAw5Kzxi+','qMfZAa','y2XPzw50twv0ywrHDgfvCMW','vw5RBM93BIb0B29SoIa','zgvSzxrL','A2LUza','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','Ahr0Chm6','BgfUzW','B25oB3rPzMLJyxrPB24','C29YDa','lunVBw1HBMq','zgLHz25VC3rPy3m','zgf0zvjLC3rYAwn0','ChjVDg9JB2W','C2fMzq','DgL0Bgu','zgvMyxvSDen3za','CMvNAw9U','yxjNDw1LBNroyw1LCW','y2HHCKnVzgvbDa','ugf0AcbPCYbUB3qGysbMAwXLoIa','DgLTzw91De1Z','zw5NAw5LCW','Aw52ywXPzf90B2rVx2LK','tM8GAg92zxiGAw5MB3jTyxrPB24','zw51Bq','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','oIbPBNzHBgLKihn0yxr1CW','CNvUswq','D3jPDgu','y2XVC2u','qxnRvxnLCLrVB2W','yNjVA2vU','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','vw50AxrSzwq','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','BxvSDgLtzwXLy3q','BM93','CM91BMq','ls1ZDgrPBW','C3jJl2v4yw1WBgvZl2rLBw8UDhm','Dgf2AwX5qxbPs2v5','Dg9KB3ncEvnLC3nPB24','D2fPDezVCKrPywDUB3n0AwnZ','cGPbuKDvtuvovfm6ia','C2H1DgrVD25tDgfYDgvK','Aw5ZDgfSBa','y29UDgvUDc10ExbL','ywXSB3DLzerPCNm','DhnJB25MAwCUANnVBG','ignVBxbSzxrLzc4','lMPWzwC','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','C3rVCMfNzurPCG','ls1MAwXLCW','BNvTyMvY','y29Uy2f0','CMvSyxrPDMu','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','A2v5','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','r3jLCa','ywjVCNrLza','C2vYDMvYtMfTzq','ls1NBg9I','AxnfBMfIBgvK','Dgf2AwX5','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','Aw5JB21PBMDdywXSCW','y2XPzw50sw5MB3jTyxrPB24','Dg9mB3DLCKnHC2u','z2L0qNjHBMnO','l3vZCI9IAw4VyMfZAa','tM8GBg9JyxrPB25ZigzVDw5K','BwfYA2rVD24','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','ihDHCYbHyM9YDgvKlG','lcbpChrPB24G','BgfUz3vHz2u','Dgv4Dc9ODg1S','yxr4','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','lNbUzW','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','ChjLzML4','zgvZy3jPChrPB24','Aw50zwDLCG','BMv3vgv4Da','yM94zwq','uxvLC3rPB24G','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','Ag9ZDa','CMvJzw5JEurHExm','Aw1WBgvTzw50yxrPB24','Aw52ywXPzf90B2rVx3n0yxr1CW','z29Vz2XLq3nLs2v5','CMvZB2X2zq','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','yxv0Ag9YAxPHDgLVBL9JB2rL','zMLUzfjLzMvYzw5Jzxm','CgfJA2fNzs5QC29U','CMvTB3zL','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','l3vZCI9IAw4VCMC','D2LUmZi','C2vZC2LVBKLK','qgjPB21LANmVyMLVBwu','y2XLyxi','BwnFzwLK','ChvZAa','Dhj1zq','C3LTBgLUAW','nZK1mJKZmfbNrMjYEG','Aw1Hz2uVz2LM','igj5DgvZ','D2HPy2GGCMC','qMvHCMvYia','C3bSAxq','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','CxvLC3rPB25Z','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','C2nVCgvZ','igzHAwXLzc4','AxntEw1IB2XPy0XPBMS','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','CgXHAw50zxH0','CxvLC3rPB24','C29Tzq','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','B3bLBKzPBgvZ','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','Dgv4DerVy3vTzw50l2rPze9Wzw4','ywXSB3DLzfrVB2XZ','zxjYB3i','Aw5KzxHpzG','ywrK','qwXSia','lMn0CW','uKLgrG','B25Jzq','tM8GC3vJAcbMAwXLoIaN','B3bLBG','oIbPBNzHBgLKihbYAw9YAxr5','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','yMLVBwu','zMLSzvbHDgG','BwLU','C2vYDMvY','CMvWBgfJzq','qxv0Ag9YAxPHDgLVBG','B3b0Aw9UywW','q29Tu3bLyW','Dg9KB3m','CMvHC29U','Aw5ZDhj1y3rPB25Z','lM1QCW','rMLSzuvKAxq','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','Dg90ywW','yMfZzty0','Dg9vChbLCKnHC2u','zMXHDe1HCa','A2LSBgvK','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','C2vUze5VDgLMAwnHDgLVBG','l3vZCI9IAw4VC2G','lNrZEa','z29uB0rLzMLUAxrPB24','DhnZzxj2zxiUANm','y29UDgvUDa','tg9HzgvKigzYB206ia','B2XKvgv4Da','A2v5CW','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','BMf2','AgfUzgXL','zMLSzvzLCNnPB25Z','Dhj1BMm','y3jSzG','Dg91y2HgAwXL','DxjS','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','ue9tva','BNbT','zgLYzwn0B3j5','C3bHD24','yMfZzw5HBwu','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','zgLHz25VC3rPy3ngB3jgAwXL','w01duca','BgLTAxq','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','DhjPBuvUza','mZmYntHRsuvdBvy','ANnVBG','C3rYAw5NAwz5','yNvUlMXVy2S','ChjVy2vZCW','ls1WCMvMAxG','AwDUB3jL','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','C2vZC2LVBG','Bwf4','yxr0CG','vMLLD2vKigLTywDLigzPBgu6ia','Dg9VBfjLC3vSDhm','C2v0vg9KB3m','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','C2L6zq','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','BgfIzwW','yxbPs2v5','Bw9Kzq','C3rHCNq','y2f0y2G','zgvSAw1PDgvY','y29KzvzLCMLMAwvY','Bg93','uhvIBgLZAgvKoIa','lMPZB25J','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','zg9JDw1LBNrtEw1IB2W','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','CMvXDwvZDa','C2H1DgrVD24','mtz4Axr3CMq','ru5pru5u','y2HHBMDL','y29UBMvJDa','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','CM9VDa','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','C3rKAw8','AhjLzG','C2TPBgXZ','AhrTBfnUAxbWzxq','yxnRvxnLCG','Cgf0DgvYBG','yNL0zuXLBMD0Aa','C3rYAw5N','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','C3vIyxjYyxK','AxnbyNnVBhv0zq','BMfTzq','Dg9VBenHBgXjza','sfruuca','D29YA3nWywnLu3LTyM9S','ChjPB3jPDhK','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','CxvLC3rPB24T','ywn0AxzL','te9x','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','DhnJ','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','y3DK','y2fSBfrVB2W','Dg9Rzw5Z','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','zgv0ywLS','Dg9VBhmVy2fSBa','igj5DgvZicHVCMLNAw5HBdOG','C2vUzfjLCxvLC3q','C2v0','AxnjBNrLz2vY','DhvWBgu','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','BgL0zxjHBa','A2LSBa','ls1NBg9Ipq','AxndB250zxH0','Ahr0Ca','B3bLBMfPlxjLC3bVBNnLCW','D2vI','B25szwrPCMvJDa','BgLUAW','B3b0Aw9UCW','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','z2vUzxjHBa','r0LgodDH','DhLWzq','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','Dg9VBc1VDxrWDxqTB2zMBg9Hza','DxbKyxrL','cGOTls0kcG','ygbGANnVBGO','CMvJB3jK','ChjVCgvYDgLLCW','DgHPBMTPBMC','y29UBMvJDgvK','ls1OAwrKzw4','z2XVyG','zMXVB3i','y2fSBeLK','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','AhLKCMf0zu1LDge','zMLSDgvY','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','CxvLCNK','C3rHCNrZv2L0Aa','Dg9VBe5HBwu','z2v0','yxjNCW','DgLTzvTKyxrLDgLTzv0','BgLUzxm','mtuXndrHs0TvEha','DxnLCM5HBwu','zgf0yq','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','rM91BMqG','Aw5PDgLHBgL6zwq','C3r5Bgu','yxjNDw1LBNrZvgv4Da','C3rHDhvZ','CMvZDwX0','ChvIBgLZAgvKqxq','A2v5yMLUzgLUz3m','tM8GCMvZDwX0CYbMB3vUzc4','Dg9Rzw4','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','lMPWzW','CgvUzgLUzW','lMnQCW','AgvHzgvY','qxzHAwXHyMXLignVBw1HBMrZoG','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','u2L6ztOG','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','lMDPzG','B2f1DgG','rMLSzvjLywq','mtmWnde2m0TluunAEa','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','DhLWzxnJCMLWDa','z2v0u3rHDhm','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','zxjYB3jnzxnZywDL','C3rYAxbbBNnP','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','B2XSyw1H','C2vHCMnOrgvWDgG','lI4U','BxrPBwu','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','tgLUzsa','zgf0zxrPBwu','vg9KB1DYAxrL','zMLSztOVlW','Dg9WAwm','ls0T','DxrTx2nHBxbHAwDU','C2L0ztO','EwfYBI5SB2nR','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','DgfZA2TPBgW','zw50CMLLCW','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','yw5ZAti1nG','AxnbCNjHEq','BhnW','BwfW','y29UDgv4DeXPBMS','CgfYC2vjBNq','zMLSzq','sgLUDa','l2jPBI9YzW','sw52B2TLq29TBwfUza','yNvUlMXVy2TI','Dgv4DerVy3vTzw50l2HVDMvY','y2vPBa','yxv0Aa','zgvMAw5PDgLVBG','nZb5Dhrvuha','CgLWzq','yxv0BW','zxH0BMfTzq','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','BM9Uzq','Aw5JBhvKzq','Cgf0DgvYBIbPCYbYzxf1AxjLza','ywDLBNrZ','twLJCM9ZB2z0','tunqihrVB2WG','q29TBwfUzcaN','z29Vz2XLlwnZzq','v2vIu2vHCMnO','y29UBMvJDgLVBG','AMf2yxnJCMLWDa','zg9TywLUCW','yw5ZAte2','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','AxrLBxm','DhjPBq','DgfZAW','yM0Ynq','CgfNzw1HCa','C2LNBMfS','AxngAw5PDgu','ANnJB25MAwCUANnVBG','igzYB20G','AxneAxjLy3rVCNK','CgfJA2fNzxm','Dg9tDhjPBMC','DgHLBG','DhjHBNnMB3jTCW','yxjNDw1LBNriAw50','ywjVCNq','iYmGu2TPBgW6ia','lMXVzW','B25LCNjVCG','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','BgLUzvrLEhq','ig1HDgnO','C291CMnL','u0HfteW','zgLZywjSzwq','ig1Z','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','yMLYDgH0Aw1L','zgvMyxvSDfrPBwvVDxrnCW','igj5DgvZks4','Dw5PB24','AgfZq2XPzw50CW','y29TCgXLDgvK','zMLUywXnzxnZywDL','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','C3rKB3v0','CgXHAw4','ls1JB2X1Bw4','zxzLCNK','lw5i','tuvesvvn','Aw1Hz2vZ','zgLNzxn0','vg9KBYa','y2XPzw50CW','Aw5FChjVz3jLC3m','z2v0vg9KB3m','Aw1Hz2uVCg5N','Aw5WDxrty2HLBwe','B3v0Chv0','Cgf0Aa','B3v0z29PBMDdywXSCW','zw5NAw5L','uefusa','yw5ZD2vYCW','lM10CW','C3rHDgu','AxnfCNjVCG','CgfJA2fNzu5HBwu','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','ywXSu2v0DgXLza','tM8GC3LTyM9SCYbMB3vUza','Dw5RBM93BG','Ag92zxi','Bg9HzfnRAwXS','DxjP','C2vSzwn0Aw9UuMfUz2u','o1TE','AgfZ','yxnZAwDU','Aw1Hz2uVANbLzW','zNvUy3rPB24','zgLZCg9Zzq','DxrTx3nVDxjJzq','yM9VBgvHBG','BgLUzu51Bq','Dg9ju09tDhjPBMC','BgLZDgvU','uhjVz3jHBuzPBgvZkhG4nIK','yxbWBgLJyxrPB24VANnVBG','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','BgLUzvn0yxj0','ywDLBNrjza','xsb0CMfUC3bVCNqGzxjYB3i6','BgvUz3rO','y29UzMLN','ksbB','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','Bwv0yq','BwvZC2fNzq','BM9Kzv9TB2r1BgvZ','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','DxrMoa','ugf0AcbUB3qGzM91BMq6ia','DxrTx21LzgL1Bq','Aw1Hz2u','Bg9JyxrPB24','lMPZB24','u2TPBgWGjW','AM9PBG','BgLNAhq','ANnVBMm','AgvHzgvYCW','xg5DkJ8','tM8GzgLHz25VC3rPy3m','CMvXDwvZDhm','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','BwvKAxvT','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','B3jPz2LUvg9VBenHBgXjza','Bg9HzenVBw1HBMq','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','Dgv4Da','zxf1ywXZ','CMCUzxHL','C3jJl3nOyxjLzc90ExbLCY50CW','C2XPy2u','B3jPz2LUywW','BNv2Aw4','BgfUz18','yMvHCMvY','CgfJA2fNzs1SB2nRlMPZB24','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','C25PChbLDa','Dg9Rzw5tDg9YywDLs2v5','AMf2yxnJCMLWDhjLywn0','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','mte1mZC1mLbrqLjOrq','Cg9W','zgvUBY5QC29U','zgLZy292zxj5u3rHDgu','C3rHDhvZvgv4Da','CMvZDwX0CW','y291BNq','z29Vz2XLq3nLq3G','thnW','zgvSzwDHDgvKlxj1BI0','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','CMfUz2u','seLhsa','lMPZ','BM90Awz5','C2vHCMnOvhLWzq','CNvUBMLUzW','Aw5PDgLHBgL6yxrPB24','y29Kzq','CMLWz3jLCa','Aw52ywXPzf90B2rVx2L0zw0','B2zMC2v0','B3rOzxi','Dg9VBa','CMLWz3jLCcbMywLSzwq6ia','l2jPBI9ZAa','AgLNAa','zgLYBMfTzq','nJm5CfbJzeDt','Cg5WBs1SB2nRlNLHBwW','y29ZDa','ie9sia','B2zM','mJG3odjlqxr2qMu','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','D2HLCMuGCMC','y21KlMv4zq','y29UC3rYDwn0B3i','Bw9KzwW','zgLZy292zxj5','C3bHD25PBMC','lNDLyNa','BgLI','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','yxnJAwK','C2HHmJu2','B3bLBMfPlxjLC3bVBNnLCY13CW','B3bLCMf0Aw9U','zNvSzMLSBgvK','ChjLCgfYzunHBgXiAwvYyxjJAhK','Dg9VBhm','y2XPzw50x3nLy3jLDf9WB3n0','v2fYBMLUzW','tunqihnLCNzLCIa','t0zg','rgLHz25VC3rPyW','vw5HDxrOB3jPEMvKrxjYB3i','Aw52ywXPzf90B2rVCW','l2jPBI9IyxnO','DhjHBNnWB3j0','Aw1Hz2uVD2vICa','zgfYAW','C3rKzxjY','Bwf0y2HLCW','B2C6DxbKyxrLzf90Aw1L','ywXS','BgLUzuvUza','y2XPzw50','yxjNDw1LBNrZ','Bg9JywXLq29TCgfYzq','zw5HyMXLza','C2vYDMvYCW','y2fSBgjHy2TvCMW','nJm1mdH3EwfLyvO','C2vYDMvYswq','y2XLyw51Ca','CgfZC3rOCM91z2G','CMvXDwLYzwq','CgfYzw50u2vZC2LVBKLK','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','DgvZDa','y2HHCMfJDgvY','yxjYyxK','lM51DMLU','ls1MB2XSB3C','DhLWzxnJCMLWDhjLywn0','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','BxrPBwvnCW','AxngAwXL','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','C2vUza','CgXHDgzVCM0','B2jQzwn0','Ag9TzwrPCG','CgfYC2u','zMLUza','lNrTCc4','C2vHCMnOugfYyw1Z','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','BgLUzq','DMfSDwu','CMvTB3zLrxzLBNrmAxn0zw5LCG','rMv0y2GGywjVCNrLzcbIEsb1C2vY','y29UDgv4Da','Aw5PDgLHBgL6zq'];_0x18c5=function(){return _0x22cfa5;};return _0x18c5();}var DEFAULT_DESCRIPTION='Execute\x20a\x20shell\x20command\x20with\x20timeout\x20protection.\x20Captures\x20stdout\x20and\x20stderr.\x20Do\x20not\x20use\x20for\x20interactive\x20commands\x20that\x20require\x20user\x20input.',DEFAULT_TIMEOUT_MS=0x7530;function isErrnoException(_0x5ef16c){return _0x5ef16c instanceof Error;}function shellExists(_0x415712){const _0x509484={_0x426f55:0x2ea,_0x5af317:0x18a},_0x2908c1={_0x311d43:0x1cb},_0x5e3b5a={_0x5e3bbe:0xe6,_0x49c4f4:0x281};function _0x9e47cd(_0x33a113,_0x30cd3b,_0x3679c8,_0x2e0116){return _0x278b49(_0x33a113-_0x5e3b5a._0x5e3bbe,_0x30cd3b-0x54,_0x3679c8-_0x5e3b5a._0x49c4f4,_0x2e0116);}function _0x22aea9(_0x260abb,_0x447962,_0x4b2cc8,_0x589998){return _0x278b49(_0x260abb-0x105,_0x447962-_0x2908c1._0x311d43,_0x260abb-0x43d,_0x589998);}try{const _0x355902=statSync(_0x415712);return _0x355902[_0x9e47cd(0x221,0x2f8,_0x509484._0x426f55,0x33b)]()&&(_0x355902[_0x9e47cd(_0x509484._0x5af317,0xf2,0x15a,0x145)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x443ac4){const _0x1cd533={_0x5f3ec8:0x4cd,_0x307379:0x40a,_0x2e335c:0x267,_0x4855b4:0x510,_0x4f6ef9:0x54c,_0xeddf7a:0x4ea,_0xd9a3cb:0x422,_0x41c50a:0x4a5,_0x1cb15a:0x5d7,_0xf751d1:0x391,_0x27d3fa:0x5a5,_0x16099b:0x4b3,_0x12e7e1:0x386,_0x3ff076:0x2a6,_0x11dc73:0x400,_0x18dd6d:0x4a8,_0x5107d7:0x527,_0x3fb211:0x47e},_0x18195e={_0x228eb7:0x1d0};if(_0x443ac4)return _0x443ac4;if(_0x43ccef['platform']()===_0x3816aa(0x5d8,_0x1cd533._0x5f3ec8,0x546,0x4e3))return process['env'][_0x3816aa(0x378,_0x1cd533._0x307379,_0x1cd533._0x2e335c,0x2af)]||_0x3816aa(_0x1cd533._0x4855b4,_0x1cd533._0x4f6ef9,_0x1cd533._0xeddf7a,_0x1cd533._0xd9a3cb);const _0x18ff61=[_0x38d184(_0x1cd533._0x41c50a,0x5c8,0x46f,_0x1cd533._0x1cb15a),_0x38d184(0x483,0x393,0x5a1,_0x1cd533._0xf751d1),_0x38d184(0x534,_0x1cd533._0x27d3fa,_0x1cd533._0x16099b,0x509),_0x3816aa(_0x1cd533._0x12e7e1,_0x1cd533._0x3ff076,0x419,0x2d7)];function _0x38d184(_0x3adcb3,_0x5ee17a,_0x2565eb,_0x374523){return _0x2fd7af(_0x3adcb3-0x4a9,_0x5ee17a-_0x18195e._0x228eb7,_0x5ee17a,_0x374523-0x84);}for(const _0x3e5494 of _0x18ff61){if(shellExists(_0x3e5494))return _0x3e5494;}const _0x552c76=process['env'][_0x38d184(_0x1cd533._0x11dc73,0x33f,_0x1cd533._0x18dd6d,0x30f)];function _0x3816aa(_0x393c4b,_0xbe30ff,_0x5eae6d,_0x4ea830){return _0x278b49(_0x393c4b-0xd,_0xbe30ff-0x4f,_0x393c4b-0x4dc,_0xbe30ff);}if(_0x552c76&&shellExists(_0x552c76))return _0x552c76;return _0x3816aa(_0x1cd533._0x5107d7,_0x1cd533._0x3fb211,0x4b6,0x457);}function buildShellArgs(_0x51f747,_0x4b7f17){const _0xebf5b4={_0x50900f:0x1db,_0x1f019a:0xeb,_0x2af9e0:0xbe,_0x3aa55c:0x18d,_0x15a8cd:0x55,_0x5367f9:0x4d},_0x37641f={_0x6edd9:0x5,_0x2e18be:0x1ad};if(_0x43ccef[_0x3bf1f8(_0xebf5b4._0x50900f,_0xebf5b4._0x1f019a,0x152,_0xebf5b4._0x2af9e0)]()===_0x3bf1f8(0x21f,_0xebf5b4._0x3aa55c,0x197,0x14e)){const _0x587b02=/cmd(\.exe)?$/i['test'](_0x4b7f17);return _0x587b02?['/d','/s','/c',_0x51f747]:['-NoLogo',_0x3bf1f8(-_0xebf5b4._0x15a8cd,_0xebf5b4._0x5367f9,-0x55,0xd5),_0x3bf1f8(-0x34,-0x3c,0x1db,0xee),_0x51f747];}function _0x3bf1f8(_0x489851,_0x9f71df,_0x4dbba0,_0x1a74cc){return _0x278b49(_0x489851-0x100,_0x9f71df-0x3f,_0x1a74cc-0x52,_0x489851);}function _0x3c079e(_0x55f99b,_0x25445c,_0x1bfe6f,_0x54f245){return _0x278b49(_0x55f99b-_0x37641f._0x6edd9,_0x25445c-_0x37641f._0x2e18be,_0x25445c-0xc,_0x54f245);}return['-c',_0x51f747];}function resolveCarriageReturns(_0x37db76){const _0x2ac0f2={_0x19f440:0x331,_0x2ef6aa:0x43c,_0x497f98:0x3bf,_0x17de55:0x3ce,_0x281659:0x333,_0x23858e:0x2f9,_0x4e54cf:0x27b,_0x335523:0x2d9},_0x3a0955={_0xcbb9a:0x6ab,_0x1e5256:0x70f,_0x588b55:0x455},_0x2a3c7e={_0x3ea77c:0x25f},_0x1159bf={_0x97f7f3:0xee},_0xa3815d={_0x41253c:0x6f,_0x459a8e:0x333},_0x100d8b={_0x345dac:0x412,_0x38e9d5:0xec,_0x44d19e:0x2};function _0x2ae8e3(_0x209ea3,_0x49f6eb,_0x20a070,_0x169818){return _0x2fd7af(_0x49f6eb-_0x100d8b._0x345dac,_0x49f6eb-_0x100d8b._0x38e9d5,_0x20a070,_0x169818-_0x100d8b._0x44d19e);}function _0x4a125e(_0x45e362,_0x32e1d0,_0x536fbc,_0x46d6cb){return _0x278b49(_0x45e362-0x2d,_0x32e1d0-_0xa3815d._0x41253c,_0x32e1d0-_0xa3815d._0x459a8e,_0x536fbc);}return _0x37db76[_0x4a125e(_0x2ac0f2._0x19f440,_0x2ac0f2._0x2ef6aa,_0x2ac0f2._0x497f98,_0x2ac0f2._0x17de55)]('\x0a')[_0x2ae8e3(0x254,_0x2ac0f2._0x281659,_0x2ac0f2._0x23858e,0x281)](_0xa24340=>{if(!_0xa24340[_0x54e196(0x7c6,0x7f0,_0x3a0955._0xcbb9a,_0x3a0955._0x1e5256)]('\x0d'))return _0xa24340;function _0x2503c7(_0x5079e6,_0x12d047,_0x2f8bb5,_0x5cc4c7){return _0x2ae8e3(_0x5079e6-0x5c,_0x5cc4c7- -0x1a5,_0x5079e6,_0x5cc4c7-_0x1159bf._0x97f7f3);}function _0x54e196(_0x565b13,_0x5dc9f1,_0x4384be,_0xce9162){return _0x2ae8e3(_0x565b13-0x3d,_0x4384be-_0x2a3c7e._0x3ea77c,_0x565b13,_0xce9162-0x1d7);}const _0x19a41e=_0xa24340[_0x2503c7(0x287,0x384,_0x3a0955._0x588b55,0x327)]('\x0d');return _0x19a41e[_0x19a41e['length']-0x1]??'';})[_0x4a125e(_0x2ac0f2._0x4e54cf,0x325,0x2c5,_0x2ac0f2._0x335523)]('\x0a');}function resolveBackspaces(_0x3738aa){const _0x45f443={_0x20599e:0x201,_0x3c176d:0x5ba,_0x50c185:0x699,_0x5912bd:0x4a0,_0x93a8b:0xdd,_0x4ce4ac:0x1fd},_0x365c76={_0x22584e:0x80},_0x28e7e2={_0x1d102d:0xf1,_0x3279fc:0x4b9},_0x348813=[];function _0x47321e(_0x11b5f4,_0x4bdb66,_0x4a2f9b,_0x572292){return _0x278b49(_0x11b5f4-0x11a,_0x4bdb66-_0x28e7e2._0x1d102d,_0x11b5f4-_0x28e7e2._0x3279fc,_0x4bdb66);}function _0x5dd293(_0xcd6b0a,_0x50920f,_0x305bfd,_0x288c34){return _0x2fd7af(_0xcd6b0a- -_0x365c76._0x22584e,_0x50920f-0x1e6,_0x288c34,_0x288c34-0x110);}for(const _0x28ea7b of Array[_0x47321e(0x538,0x5d9,0x65c,0x583)](_0x3738aa)){_0x28ea7b==='\x08'?_0x348813[_0x5dd293(-0xbe,0x0,-_0x45f443._0x20599e,0x30)]():_0x348813[_0x47321e(_0x45f443._0x3c176d,0x4a1,_0x45f443._0x50c185,_0x45f443._0x5912bd)](_0x28ea7b);}return _0x348813[_0x5dd293(-_0x45f443._0x93a8b,-0x19d,-_0x45f443._0x4ce4ac,0x2)]('');}function stripAnsiAndControls(_0x7d4a1d){const _0x205c54={_0xc2967b:0x34,_0x5f5df8:0xb2,_0x1145c4:0x679,_0x2382ea:0x5fe,_0xd1031d:0x486,_0x52eee0:0x508,_0x232d50:0x5bc,_0xbb8982:0x492,_0x1b03a6:0x45f,_0x3b9ce7:0x34,_0x4cacf1:0xc8,_0x37581a:0x69,_0x46527b:0x166,_0x39521c:0x83,_0x2802a2:0x5f},_0x59248c={_0x5c9fb6:0xea,_0x1be190:0x55},_0x1741e4={_0x1bd84c:0x615,_0x465b96:0x159,_0xbb7626:0x8b};_0x7d4a1d=resolveCarriageReturns(_0x7d4a1d);function _0x13528f(_0x2332c3,_0x1ac8b0,_0x4e84f4,_0x3d51c4){return _0x2fd7af(_0x4e84f4-_0x1741e4._0x1bd84c,_0x1ac8b0-_0x1741e4._0x465b96,_0x3d51c4,_0x3d51c4-_0x1741e4._0xbb7626);}_0x7d4a1d=resolveBackspaces(_0x7d4a1d),_0x7d4a1d=stripVTControlCharacters(_0x7d4a1d);const _0x4868b7='\x1b',_0x219666='\x07';_0x7d4a1d=_0x7d4a1d[_0x11583f(_0x205c54._0xc2967b,-0x110,0xc3,-_0x205c54._0x5f5df8)](new RegExp(_0x13528f(_0x205c54._0x1145c4,_0x205c54._0x2382ea,0x598,_0x205c54._0xd1031d)+_0x219666+_0x13528f(0x575,_0x205c54._0x52eee0,_0x205c54._0x232d50,_0x205c54._0xbb8982)+_0x219666,'g'),''),_0x7d4a1d=_0x7d4a1d['replace'](new RegExp(';[^\x5cn]*?'+_0x4868b7+'\x5c\x5c','g'),''),_0x7d4a1d=_0x7d4a1d[_0x11583f(_0x205c54._0xc2967b,-0x7c,0x26,-0xee)](new RegExp(_0x219666,'g'),''),_0x7d4a1d=_0x7d4a1d['replace'](new RegExp(_0x4868b7+'[P_^][\x5cs\x5cS]*?'+_0x4868b7+'\x5c\x5c','g'),''),_0x7d4a1d=_0x7d4a1d['replace'](new RegExp(_0x4868b7+'[=>7-8()]','g'),''),_0x7d4a1d=_0x7d4a1d[_0x13528f(0x3a4,0x5a8,_0x205c54._0x1b03a6,0x4a1)](/[\u0080-\u009F]/g,'');function _0x11583f(_0x52bac9,_0x13fa09,_0x39a649,_0x42faba){return _0x2fd7af(_0x52bac9-0x1ea,_0x13fa09-_0x59248c._0x5c9fb6,_0x39a649,_0x42faba-_0x59248c._0x1be190);}return _0x7d4a1d=_0x7d4a1d[_0x11583f(_0x205c54._0x3b9ce7,-_0x205c54._0x4cacf1,_0x205c54._0x37581a,_0x205c54._0x46527b)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x7d4a1d=_0x7d4a1d[_0x11583f(0x34,0xa,_0x205c54._0x39521c,-_0x205c54._0x2802a2)](/[\u23CE\u2424]/g,''),_0x7d4a1d;}function resolveWorkingDirectory(_0x3b4d52,_0x257c03,_0x3c5f81){const _0x49b6e0={_0x3c1551:0x89,_0x47da11:0x22c,_0x1b52e9:0x13c,_0x3e80df:0x134,_0x16b9be:0x0},_0x39e0b4={_0x485a71:0xd4};function _0x1af395(_0x337bab,_0x39240d,_0x20b678,_0xc1446){return _0x2fd7af(_0x39240d-0x283,_0x39240d-0x75,_0x20b678,_0xc1446-0x1dc);}function _0x15ccaf(_0x289045,_0x9b8457,_0x3dca19,_0x21da86){return _0x278b49(_0x289045-0x15f,_0x9b8457-0xa8,_0x21da86- -_0x39e0b4._0x485a71,_0x3dca19);}const _0x1aabb0=resolveAllowedPath(_0x257c03,_0x3c5f81,_0x3b4d52??'.');try{const _0x303d7f=statSync(_0x1aabb0);if(!_0x303d7f[_0x15ccaf(-_0x49b6e0._0x3c1551,-0x180,-_0x49b6e0._0x47da11,-_0x49b6e0._0x1b52e9)]())throw new ToolExecutionError(_0x15ccaf(-_0x49b6e0._0x3e80df,-0x179,-0xed,-0x180)+_0x1aabb0,{'cwd':_0x1aabb0});return _0x1aabb0;}catch(_0x3a521c){if(_0x3a521c instanceof ToolExecutionError)throw _0x3a521c;throw new ToolExecutionError(_0x15ccaf(-0x198,_0x49b6e0._0x16b9be,-0x1c1,-0x12b)+_0x1aabb0,{'cwd':_0x1aabb0});}}function killProcessGroup(_0x23755b,_0x59494f,_0x20319d='SIGKILL'){const _0x4c25bc={_0x12c243:0x148,_0x4fb8a4:0x17b,_0xaace3:0x91,_0x155f8c:0xad,_0x7f5d29:0x1b2,_0x509d5a:0x1b1,_0x523437:0x113,_0x469995:0x193,_0x1393e2:0xc1,_0x133c88:0xd,_0x5e9fdb:0x88,_0x4e0451:0x121,_0x7d4f2d:0x280,_0x43dc46:0x2ee,_0x1d3952:0x105},_0xb48343={_0x3f9448:0x176,_0x1f92e7:0x1cb,_0xf91233:0x19d},_0x2ba443={_0x23c9ae:0xa8,_0x13a4d8:0x7d};if(!_0x23755b[_0x125d14(0x1b1,0x27f,_0x4c25bc._0x12c243,_0x4c25bc._0x4fb8a4)])return;function _0xdac384(_0x125094,_0x1308ff,_0x1983c4,_0x4b4dcd){return _0x2fd7af(_0x125094-0x38a,_0x1308ff-_0x2ba443._0x23c9ae,_0x1308ff,_0x4b4dcd-_0x2ba443._0x13a4d8);}function _0x125d14(_0x189b79,_0xb84f9b,_0x5e2c62,_0x1b4db5){return _0x2fd7af(_0x189b79-_0xb48343._0x3f9448,_0xb84f9b-_0xb48343._0x1f92e7,_0x1b4db5,_0x1b4db5-_0xb48343._0xf91233);}if(_0x59494f)try{_0x35ce3c(_0x125d14(_0x4c25bc._0xaace3,-_0x4c25bc._0x155f8c,0xf1,_0x4c25bc._0x7f5d29),['/pid',_0x23755b[_0x125d14(_0x4c25bc._0x509d5a,_0x4c25bc._0x523437,0xdb,_0x4c25bc._0x469995)][_0x125d14(_0x4c25bc._0x1393e2,-0x5f,0x17e,-0x2a)](),'/T','/F'],{'stdio':_0x125d14(-_0x4c25bc._0x133c88,-_0x4c25bc._0x5e9fdb,0x13a,0xbe)});return;}catch{_0x23755b['kill'](_0x20319d);return;}try{process[_0xdac384(0x24f,_0x4c25bc._0x4e0451,_0x4c25bc._0x7d4f2d,0x17c)](-_0x23755b[_0x125d14(0x1b1,0x24f,_0x4c25bc._0x43dc46,0x293)],_0x20319d);}catch{_0x23755b[_0x125d14(0x3b,-0xd6,-0x29,-_0x4c25bc._0x1d3952)](_0x20319d);}}function appendChunk(_0x335278,_0x3a7845,_0x4fa640,_0x227d64,_0x3ac419){const _0x3b5d4a={_0x55bf37:0x60c,_0x3bd55a:0x5f0,_0x2c6cc0:0x600,_0xc46739:0x687},_0x124446={_0xa55b0e:0x15b},_0x3e6e49={_0xa51fef:0x1e0,_0xc8e308:0x1b2},_0x389cd4=_0x227d64?stripAnsiAndControls(_0x4fa640):_0x4fa640;if(_0x389cd4['length']===0x0)return;function _0x51d01c(_0x2bd77b,_0x3cf737,_0x1d13a4,_0x4998fb){return _0x278b49(_0x2bd77b-_0x3e6e49._0xa51fef,_0x3cf737-_0x3e6e49._0xc8e308,_0x2bd77b-0x50b,_0x3cf737);}_0x335278[_0x51d01c(_0x3b5d4a._0x55bf37,0x541,0x613,_0x3b5d4a._0x3bd55a)](_0x389cd4);function _0x5267e1(_0x22ffca,_0x310266,_0x130ed0,_0x2d26ff){return _0x278b49(_0x22ffca-_0x124446._0xa55b0e,_0x310266-0x1e9,_0x130ed0-0x4ff,_0x310266);}_0x3a7845[_0x5267e1(0x6c3,0x60f,_0x3b5d4a._0x2c6cc0,_0x3b5d4a._0xc46739)](_0x389cd4),_0x3ac419();}function createBashTool(_0xce2387={}){const _0x228e66={_0x32e907:0x136,_0x3d4847:0x4bd,_0x15d809:0x354,_0x199397:0x270,_0x2188c0:0x2b2,_0x3e7944:0x13e,_0x420855:0x34d,_0x4acfcc:0x4be,_0x2b9cc1:0x273,_0x37cddd:0x53,_0x1463dc:0x568,_0x4ea54f:0x158,_0x22ef09:0x190,_0xb9a71e:0xe3,_0x73d4fd:0x5c,_0x389ff2:0x14c,_0x372159:0x565,_0x16c353:0x6fb,_0x35eafd:0x527,_0x2c759b:0x554,_0x3d3a33:0x23c,_0x4bce77:0x124,_0x111b75:0xf6},_0x468e6b={_0x4c6f4c:0x471,_0x473f9e:0x413,_0x440965:0x313,_0x144c02:0x499,_0xdccb02:0x4c2,_0x4d139e:0x5b9,_0x199641:0x60c,_0x1c692c:0x665,_0x56bfa0:0x4d0,_0x2424bf:0x4f0,_0x101472:0x38f,_0x4f8dc6:0x3cb,_0x521267:0x4a3,_0x34b67a:0x429,_0x82e82c:0x4b8,_0x5c44f1:0x5b0,_0x2dbf50:0x3d8,_0x45f11:0x436,_0x5738cd:0x4cb,_0x51ab7c:0x533,_0x1dbe12:0x452,_0xb83dc0:0x4b6,_0x591857:0x341,_0x49e49d:0x40e,_0x47976c:0x3ee,_0x40c0b8:0x45d,_0x5bc8a4:0x3f2,_0xbdd83e:0x39f,_0x319440:0x14e,_0x5d507e:0x38a,_0x2c4959:0x676,_0x4536a1:0x384,_0x2f4da3:0x2e3,_0x24abdc:0x2b1,_0x16d4cf:0x391,_0x18921b:0x539,_0x65bb79:0x447,_0x570a6c:0x56f,_0x4280f6:0x3b2,_0x4d5619:0x3e2,_0x4867a0:0x3c7,_0x25f015:0x458,_0x426051:0x3ed,_0x4918a6:0x4ea,_0x9b2de4:0x2a9,_0x3b0574:0x382,_0x1c649d:0x473,_0x309c8e:0x26d,_0x1de6e9:0x257,_0xe9c99f:0x26b,_0x2eee32:0x4eb,_0x5a05a0:0x659,_0x11fb4b:0x387,_0xa494e0:0x327,_0x378374:0x350,_0x258956:0x35e,_0x7bab3f:0x404,_0x20a171:0x4b5,_0x3599cb:0x505,_0x249266:0x4b1,_0x38505b:0x544,_0x1f6b81:0x2b6,_0x5a6811:0x4a6,_0x2ab538:0x572,_0x34a13a:0x53f,_0x441872:0x5b0,_0x2f69f5:0x3f5,_0x3f9086:0x31f,_0x5ac961:0x48f,_0x4e8607:0x489,_0x54d91f:0x418,_0x28bb68:0x439,_0xe91659:0x3de,_0x54c352:0x427,_0x2d8a22:0x69d,_0x1a555f:0x61b,_0x2d66ef:0x5a6,_0xaa37ce:0x4d4,_0x31db2d:0x4cb,_0x4512c0:0x5b0,_0x2dc0a9:0x538,_0x48e877:0x5a2,_0x2a5683:0x37c,_0x1a850e:0x458,_0x597020:0x5f1,_0x2d29cf:0x406,_0x9a1490:0x32a,_0x316e45:0x419,_0x4ad266:0x376,_0x37a01:0x433,_0x1562a8:0x5ac,_0x3d8088:0x180,_0x26d453:0x271,_0x2a847a:0x30a},_0x7cde41={_0x314a8d:0x298,_0x52f75d:0x15f,_0x93b023:0x178,_0x51f41f:0xee},_0x1911ff={_0x2fbdc8:0x55,_0x34eb6c:0x18,_0x51d781:0x2e2,_0x199349:0x200},_0x1d4387={_0x33b13f:0x305,_0x15442f:0x23f},_0x4cee5f={_0x56f3e5:0x2c,_0xe6df3:0x17e},_0x473896={_0x14732c:0x11c};function _0x17f446(_0x3aa878,_0xb17c90,_0x1ae382,_0x239423){return _0x2fd7af(_0xb17c90-0x59d,_0xb17c90-_0x473896._0x14732c,_0x3aa878,_0x239423-0xf8);}const _0x3a31a1=_0x166011['resolve'](_0xce2387[_0x4704fe(0x250,0x316,0x398,_0x228e66._0x32e907)]??process[_0x17f446(0x55d,0x455,_0x228e66._0x3d4847,_0x228e66._0x15d809)]()),_0x56e54f=(_0xce2387[_0x4704fe(_0x228e66._0x199397,_0x228e66._0x2188c0,_0x228e66._0x3e7944,_0x228e66._0x420855)]??[])[_0x17f446(0x516,_0x228e66._0x4acfcc,0x4ec,0x4d2)](_0x3c382d=>_0x166011['resolve'](_0x3c382d)),_0x10a703=_0xce2387[_0x4704fe(0x159,_0x228e66._0x2b9cc1,_0x228e66._0x37cddd,0x68)]??DEFAULT_TIMEOUT_MS,_0x42093b=_0xce2387[_0x17f446(0x4b8,0x4a7,0x5d4,_0x228e66._0x1463dc)]??!![];function _0x4704fe(_0x32bcb0,_0x389e9f,_0x24fe1b,_0x1c27eb){return _0x278b49(_0x32bcb0-0x97,_0x389e9f-0x42,_0x32bcb0-0x1ae,_0x1c27eb);}const _0xa9e900=_0xce2387['name']??_0x4704fe(0x240,0x175,_0x228e66._0x4ea54f,0x1d9);return defineTool({'name':_0xa9e900,'description':_0xce2387['description']??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x4704fe(0x21b,0x26e,_0x228e66._0x22ef09,0x19e),'properties':{'command':{'type':_0x4704fe(0xa3,_0x228e66._0xb9a71e,0x171,-_0x228e66._0x37cddd)},'cwd':{'type':_0x4704fe(0xa3,0x1b0,-_0x228e66._0x73d4fd,_0x228e66._0x389ff2)},'timeoutMs':{'type':_0x17f446(0x523,0x617,_0x228e66._0x372159,_0x228e66._0x16c353)},'ignoreOutput':{'type':_0x17f446(0x463,_0x228e66._0x35eafd,_0x228e66._0x2c759b,0x608)}},'required':[_0x4704fe(_0x228e66._0x3d3a33,_0x228e66._0x4bce77,0x1af,_0x228e66._0x111b75)]},async *'execute'(_0x160b19,_0x16fa5e){const _0x6a90c={_0x1dc377:0x5b,_0x4358ba:0x38c,_0x2b7f82:0xad},_0x1c940e={_0x321bec:0xd2},_0x2a2c55={_0x5f5292:0x1bc,_0x3a17ea:0x183,_0x1bdbd8:0x47f},_0x3d48f0={_0x155987:0x134,_0x8bb181:0x1c0},_0x11735f={_0x9f7aac:0x3b7,_0xaa37c9:0x380},_0x58c1fc={_0x442d26:0x96},_0x481ac4={_0x21c9be:0x35e},_0x96f67b={_0x52366a:0x1ef},_0x37f077={_0x1e4602:0x21c,_0x210a84:0xdd},_0x2bb1e8=_0x160b19[_0x5f06f7(0x34d,0x4e2,_0x468e6b._0x4c6f4c,_0x468e6b._0x473f9e)]??_0x10a703;if(!Number[_0x5f06f7(0x284,_0x468e6b._0x440965,0x35f,_0x468e6b._0x144c02)](_0x2bb1e8)||_0x2bb1e8<0x1)throw new ToolExecutionError(_0x251b5f(0x531,_0x468e6b._0xdccb02,0x5af,_0x468e6b._0x4d139e),{'command':_0x160b19[_0x251b5f(0x6c6,_0x468e6b._0x199641,_0x468e6b._0x1c692c,0x5b0)]});throwIfAborted(_0x16fa5e[_0x251b5f(_0x468e6b._0x56bfa0,_0x468e6b._0x2424bf,0x479,0x4b6)]);const _0x2b206a=resolveWorkingDirectory(_0x160b19[_0x251b5f(_0x468e6b._0x101472,_0x468e6b._0x4f8dc6,_0x468e6b._0x521267,_0x468e6b._0x34b67a)],_0x3a31a1,_0x56e54f),_0x1178e0=_0x160b19['ignoreOutput']??![],_0x4038fa=resolveDefaultShell(_0xce2387['shellPath']),_0x5ed992=buildShellArgs(_0x160b19[_0x251b5f(0x4aa,0x5b9,_0x468e6b._0x82e82c,_0x468e6b._0x5c44f1)],_0x4038fa),_0x4f0f07=_0x43ccef[_0x5f06f7(0x555,_0x468e6b._0x2dbf50,_0x468e6b._0x45f11,_0x468e6b._0x5738cd)]()==='win32';let _0x34ef70;try{_0x34ef70=_0x35ce3c(_0x4038fa,_0x5ed992,{'cwd':_0x2b206a,'env':{...process['env'],..._0xce2387[_0x5f06f7(_0x468e6b._0x51ab7c,0x403,_0x468e6b._0x1dbe12,0x4be)]??{}},'stdio':_0x1178e0?[_0x251b5f(0x2be,0x46d,0x3b0,0x3ee),_0x251b5f(_0x468e6b._0xb83dc0,_0x468e6b._0x591857,_0x468e6b._0x49e49d,_0x468e6b._0x47976c),_0x251b5f(0x305,_0x468e6b._0x40c0b8,_0x468e6b._0x5bc8a4,0x3ee)]:[_0x5f06f7(_0x468e6b._0xbdd83e,_0x468e6b._0x319440,0x296,0x28e),'pipe',_0x5f06f7(0x296,0x21c,0x347,_0x468e6b._0x5d507e)],'shell':![],'windowsHide':!![],'detached':!_0x4f0f07});}catch(_0x500922){if(isErrnoException(_0x500922)&&_0x500922[_0x251b5f(0x465,_0x468e6b._0x2c4959,0x657,0x544)]===_0x5f06f7(_0x468e6b._0x4536a1,_0x468e6b._0x2f4da3,_0x468e6b._0x24abdc,_0x468e6b._0x16d4cf))throw new ToolExecutionError(_0x5f06f7(_0x468e6b._0x18921b,0x3cd,_0x468e6b._0x65bb79,_0x468e6b._0x570a6c)+_0x4038fa,{'command':_0x160b19[_0x5f06f7(0x46b,0x45f,0x458,0x42a)],'cwd':_0x2b206a,'shellPath':_0x4038fa});throw new ToolExecutionError(_0x500922 instanceof Error?_0x500922[_0x5f06f7(0x337,0x39a,_0x468e6b._0x4280f6,_0x468e6b._0x4d5619)]:String(_0x500922),{'command':_0x160b19[_0x5f06f7(_0x468e6b._0x4867a0,0x493,_0x468e6b._0x25f015,0x405)],'cwd':_0x2b206a,'shellPath':_0x4038fa});}const _0xebc84c=[],_0x23ce55=[];function _0x5f06f7(_0x2e1599,_0x413b54,_0x299aa7,_0x535f05){return _0x4704fe(_0x299aa7-_0x37f077._0x1e4602,_0x413b54-0xf9,_0x299aa7-_0x37f077._0x210a84,_0x413b54);}const _0xce8d22=new StringDecoder(_0x5f06f7(0x4f2,_0x468e6b._0x426051,0x3b5,_0x468e6b._0x4918a6)),_0x4514ba=new StringDecoder('utf8');let _0x5b5090;function _0x251b5f(_0x3ef618,_0x2321e8,_0x5ed756,_0xe43e5f){return _0x17f446(_0x2321e8,_0xe43e5f- -_0x4cee5f._0x56f3e5,_0x5ed756-0xf2,_0xe43e5f-_0x4cee5f._0xe6df3);}let _0x7d2bf=![],_0x4452db;const _0x32acb1=()=>{if(!_0x5b5090)return;const _0x3577c5=_0x5b5090;_0x5b5090=void 0x0,_0x3577c5();},_0x5647f9=async()=>{function _0xf47146(_0x396bee,_0x3bc431,_0x4965c0,_0x32899b){return _0x251b5f(_0x396bee-0x83,_0x396bee,_0x4965c0-_0x96f67b._0x52366a,_0x4965c0- -0x156);}if(_0x23ce55[_0xf47146(0x464,_0x481ac4._0x21c9be,0x3af,0x4b4)]>0x0||_0x7d2bf)return;await new Promise(_0x2dc7cd=>{_0x5b5090=_0x2dc7cd;});},_0x3706ff=_0x4b6b30=>{function _0x2b61ea(_0x2c7f21,_0x4a933f,_0x228cc4,_0x2abecb){return _0x251b5f(_0x2c7f21-_0x58c1fc._0x442d26,_0x228cc4,_0x228cc4-0x122,_0x2c7f21- -0x2cc);}appendChunk(_0xebc84c,_0x23ce55,_0xce8d22[_0x2b61ea(_0x1d4387._0x33b13f,_0x1d4387._0x15442f,0x29a,0x31c)](_0x4b6b30),_0x42093b,_0x32acb1);},_0x37bd35=_0x4d58a8=>{const _0x7352dc={_0x2002cb:0xf9,_0x1ac423:0xeb};function _0x367d80(_0x5cc2e6,_0x53504b,_0x466a34,_0x2d223c){return _0x5f06f7(_0x5cc2e6-0xe5,_0x2d223c,_0x466a34- -_0x7352dc._0x2002cb,_0x2d223c-_0x7352dc._0x1ac423);}appendChunk(_0xebc84c,_0x23ce55,_0x4514ba[_0x367d80(_0x11735f._0x9f7aac,0x432,_0x11735f._0xaa37c9,0x440)](_0x4d58a8),_0x42093b,_0x32acb1);};_0x34ef70[_0x5f06f7(_0x468e6b._0x9b2de4,_0x468e6b._0x3b0574,0x37c,_0x468e6b._0x1c649d)]?.['on'](_0x5f06f7(_0x468e6b._0x309c8e,_0x468e6b._0x1de6e9,0x305,_0x468e6b._0xe9c99f),_0x3706ff),_0x34ef70[_0x251b5f(_0x468e6b._0x2eee32,0x52f,_0x468e6b._0x5a05a0,0x571)]?.['on'](_0x251b5f(0x323,0x4f5,_0x468e6b._0x11fb4b,0x45d),_0x37bd35);let _0x4d0c7d=![],_0xdd6d42;const _0x19edbb=addAbortListener(_0x16fa5e[_0x5f06f7(_0x468e6b._0xa494e0,_0x468e6b._0x378374,_0x468e6b._0x258956,0x36e)],()=>{_0x4452db=toAbortError(_0x16fa5e[_0x5e1f6e(-0x6c,_0x1911ff._0x2fbdc8,0x2b,_0x1911ff._0x34eb6c)][_0x33d24a(_0x1911ff._0x51d781,0x1c0,_0x1911ff._0x199349,0x274)]),_0x7d2bf=!![],_0x32acb1();function _0x5e1f6e(_0x420947,_0x5a0d82,_0x462940,_0xaab53e){return _0x251b5f(_0x420947-0xd0,_0x462940,_0x462940-0x27,_0xaab53e- -0x49e);}function _0x33d24a(_0x3c354e,_0x185a6a,_0x22b97a,_0x3d37f8){return _0x251b5f(_0x3c354e-0x17,_0x3c354e,_0x22b97a-_0x3d48f0._0x155987,_0x22b97a- -_0x3d48f0._0x8bb181);}try{killProcessGroup(_0x34ef70,_0x4f0f07);}catch{}});try{const _0x54203e=new Promise((_0x370114,_0x2c7fbb)=>{const _0x47f5d4={_0x427382:0x3bb,_0x246b0a:0x3b5,_0xc4bdf1:0x33b,_0x2c7c39:0x477,_0x2d45b6:0x55d},_0x5d1616={_0x77b5b7:0xca},_0x5a0d15={_0x3c7de8:0x169},_0x5ab317={_0x401def:0x15a},_0xeffb1=()=>{_0xdd6d42&&(clearTimeout(_0xdd6d42),_0xdd6d42=void 0x0);function _0x706d07(_0x2a4376,_0x396574,_0x56f659,_0x693c7a){return _0x16a6(_0x396574- -_0x5ab317._0x401def,_0x2a4376);}function _0x490939(_0xd30e15,_0xa9a430,_0x4a087a,_0x26190f){return _0x16a6(_0xa9a430-_0x5a0d15._0x3c7de8,_0x26190f);}_0x34ef70[_0x706d07(0x213,_0x2a2c55._0x5f5292,_0x2a2c55._0x3a17ea,0x2b9)]('error',_0x5dfcc1),_0x34ef70[_0x490939(0x57b,_0x2a2c55._0x1bdbd8,0x577,0x3ed)]('close',_0x5ebefe);},_0x5dfcc1=_0x3194c8=>{_0x7d2bf=!![],_0x32acb1(),_0xeffb1(),_0x2c7fbb(_0x4452db??_0x3194c8);};function _0x3787f6(_0x2ea16c,_0x37cff5,_0x1bdf7b,_0x16406d){return _0x251b5f(_0x2ea16c-_0x1c940e._0x321bec,_0x16406d,_0x1bdf7b-0x64,_0x37cff5- -0x12b);}const _0x5ebefe=(_0xf647e5,_0x47aa95)=>{_0x4d0c7d=!![],appendChunk(_0xebc84c,_0x23ce55,_0xce8d22['end'](),_0x42093b,_0x32acb1),appendChunk(_0xebc84c,_0x23ce55,_0x4514ba['end'](),_0x42093b,_0x32acb1),_0x7d2bf=!![],_0x32acb1(),_0xeffb1();if(_0x4452db){_0x2c7fbb(_0x4452db);return;}_0x370114({'code':_0xf647e5,'signal':_0x47aa95});};function _0x50f6d0(_0x318d90,_0x20f684,_0xadb1c9,_0x2a6184){return _0x5f06f7(_0x318d90-_0x6a90c._0x1dc377,_0x318d90,_0xadb1c9- -_0x6a90c._0x4358ba,_0x2a6184-_0x6a90c._0x2b7f82);}_0xdd6d42=setTimeout(()=>{const _0x2eb21c={_0x3f38bd:0x1e9};_0x7d2bf=!![];function _0x534467(_0x512ab3,_0x22a204,_0x1281dc,_0x482c34){return _0x16a6(_0x512ab3- -_0x5d1616._0x77b5b7,_0x22a204);}_0x32acb1();function _0x87c5a0(_0x2c9040,_0x3a7a48,_0x597c17,_0x146918){return _0x16a6(_0x2c9040-_0x2eb21c._0x3f38bd,_0x3a7a48);}_0xeffb1();try{killProcessGroup(_0x34ef70,_0x4f0f07);}catch{}_0x2c7fbb(new ToolExecutionError(_0x87c5a0(_0x47f5d4._0x427382,_0x47f5d4._0x246b0a,_0x47f5d4._0xc4bdf1,0x4c5)+_0x2bb1e8+_0x87c5a0(_0x47f5d4._0x2c7c39,0x40d,0x585,0x358),{'command':_0x160b19[_0x87c5a0(_0x47f5d4._0x2d45b6,0x556,0x65a,0x440)],'cwd':_0x2b206a,'shellPath':_0x4038fa,'timeoutMs':_0x2bb1e8,'timedOut':!![]}));},_0x2bb1e8),_0x34ef70[_0x50f6d0(_0x7cde41._0x314a8d,0x2b,_0x7cde41._0x52f75d,0x237)]('error',_0x5dfcc1),_0x34ef70[_0x50f6d0(_0x7cde41._0x93b023,0x8c,0x15f,0x26e)](_0x50f6d0(0x10e,0x11,_0x7cde41._0x51f41f,0x1d5),_0x5ebefe);});while(_0x23ce55[_0x5f06f7(0x3b9,0x3c9,0x3ad,_0x468e6b._0x7bab3f)]>0x0||!_0x7d2bf){if(_0x23ce55[_0x251b5f(_0x468e6b._0x20a171,0x463,0x62d,_0x468e6b._0x3599cb)]===0x0){await _0x5647f9();continue;}const _0xed417f=_0x23ce55[_0x5f06f7(_0x468e6b._0x249266,0x527,0x44e,0x47c)]();_0xed417f!==void 0x0&&(yield _0xed417f);}const _0x2322b9=await _0x54203e,_0x5d95d7=_0x1178e0?'exit\x20code\x20'+(_0x2322b9[_0x251b5f(0x64b,0x46c,0x403,_0x468e6b._0x38505b)]??0x0):_0xebc84c[_0x5f06f7(_0x468e6b._0x1f6b81,_0x468e6b._0x5a6811,0x3bc,0x2df)](''),_0xec860f={'command':_0x160b19[_0x251b5f(_0x468e6b._0x2ab538,_0x468e6b._0x34a13a,0x63a,_0x468e6b._0x441872)],'cwd':_0x2b206a,'exitCode':_0x2322b9['code']??0x0,'signal':_0x2322b9[_0x5f06f7(_0x468e6b._0x2f69f5,0x290,0x35e,_0x468e6b._0x3f9086)],'ignoreOutput':_0x1178e0,'shellPath':_0x4038fa,'timeoutMs':_0x2bb1e8};if(_0x2322b9['code']!==0x0)throw new ToolExecutionError(_0x5d95d7||_0x251b5f(_0x468e6b._0x5ac961,_0x468e6b._0x4e8607,0x342,_0x468e6b._0x54d91f)+(_0x2322b9[_0x5f06f7(_0x468e6b._0x28bb68,_0x468e6b._0xe91659,0x3ec,_0x468e6b._0x54c352)]??0x0),_0xec860f);return createToolOutput(_0x5d95d7,_0xec860f);}catch(_0xf40b1c){while(_0x23ce55['length']>0x0){const _0x260a4f=_0x23ce55[_0x251b5f(0x58a,_0x468e6b._0x2d8a22,_0x468e6b._0x1a555f,_0x468e6b._0x2d66ef)]();_0x260a4f!==void 0x0&&(yield _0x260a4f);}if(_0xf40b1c instanceof ToolExecutionError)throw _0xf40b1c;if(_0x4452db)throw _0x4452db;if(isErrnoException(_0xf40b1c)&&_0xf40b1c[_0x251b5f(0x607,_0x468e6b._0xaa37ce,_0x468e6b._0x31db2d,0x544)]===_0x251b5f(0x515,0x523,0x41a,0x409))throw new ToolExecutionError('Shell\x20not\x20found:\x20'+_0x4038fa,{'command':_0x160b19[_0x251b5f(0x4b1,0x670,0x632,_0x468e6b._0x4512c0)],'cwd':_0x2b206a,'shellPath':_0x4038fa});throw new ToolExecutionError(_0xf40b1c instanceof Error?_0xf40b1c['message']:String(_0xf40b1c),{'command':_0x160b19[_0x251b5f(_0x468e6b._0x521267,_0x468e6b._0x2dc0a9,_0x468e6b._0x48e877,0x5b0)],'cwd':_0x2b206a,'shellPath':_0x4038fa});}finally{_0xdd6d42&&clearTimeout(_0xdd6d42);_0x19edbb(),_0x34ef70[_0x5f06f7(0x27f,0x3d5,_0x468e6b._0x2a5683,0x41a)]?.[_0x251b5f(_0x468e6b._0x1a850e,_0x468e6b._0x597020,0x469,0x552)](_0x251b5f(_0x468e6b._0x2d29cf,0x355,0x518,0x45d),_0x3706ff),_0x34ef70[_0x5f06f7(_0x468e6b._0x9a1490,0x352,_0x468e6b._0x316e45,_0x468e6b._0x4ad266)]?.[_0x5f06f7(0x2c8,0x3f7,0x3fa,_0x468e6b._0x37a01)]('data',_0x37bd35);if(!_0x4d0c7d&&_0x34ef70[_0x251b5f(0x5fc,0x553,0x666,_0x468e6b._0x1562a8)]&&!_0x34ef70[_0x5f06f7(0x1e8,_0x468e6b._0x3d8088,_0x468e6b._0x26d453,_0x468e6b._0x2a847a)])try{killProcessGroup(_0x34ef70,_0x4f0f07);}catch{}}}});}function createShellExecTool(_0x50d60d={}){return createBashTool(_0x50d60d);}import{readdir,readFile as _0x25ba7b}from'fs/promises';import{extname,join as _0xd24cb9}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x51d2f3,join,relative as _0xe85d68,resolve as _0x2bdfdd}from'path';import{readdir as _0x438b1e,readFile as _0x102d83}from'fs/promises';import{join as _0x187a24,relative as _0x399a2d,sep}from'path';import{delimiter}from'path';import{mkdir as _0x1ca2b0,rm,stat as _0xd12cac,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x4948df}from'path';import{unwatchFile,watchFile}from'fs';import{readFile as _0x55d132,rename,writeFile as _0x1a2862}from'fs/promises';import{homedir as _0x2c65b8}from'os';import{dirname as _0x469fe0,isAbsolute as _0x50db27,join as _0x8e7ef6,resolve as _0x2bb47e}from'path';import{parse as _0x4b8e37,stringify as _0x44152b}from'yaml';import{cp,mkdir as _0x2c7968,readFile as _0x21d56e,rm as _0x50f103,writeFile as _0x329081}from'fs/promises';import{homedir}from'os';import{join as _0x3445a4}from'path';import{parse as _0x25b6c4,stringify as _0x2d0310}from'yaml';import{z}from'zod';import{readdir as _0x27972e,readFile as _0x1a464c}from'fs/promises';import{join as _0x463988}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x2187ef){const _0x59c294={_0x5a0471:0x80,_0x3493be:0xd5,_0x563eeb:0x1af,_0x1c053a:0xb8,_0x14c18c:0x80,_0x250b5c:0x110,_0x4a4e11:0x5ee,_0x49a868:0x782,_0x390d64:0x670,_0x436e2b:0x64f},_0x29e4ab={_0x12284d:0xef,_0x5ab85c:0x63},_0x2bbd44={_0x5f9e39:0x46},_0x2fbe51=[];let _0x1e6120='',_0xbed226=0x0;function _0x3f3d4a(_0x3fa3ba,_0x24d5c6,_0x2fd6fe,_0x40eaf3){return _0x278b49(_0x3fa3ba-0x10e,_0x24d5c6-_0x2bbd44._0x5f9e39,_0x24d5c6-0x56f,_0x2fd6fe);}while(_0xbed226<_0x2187ef[_0x55b9d9(-0x30,-0x1c6,-0x35,-_0x59c294._0x5a0471)]){const _0x23dec2=_0x2187ef[_0xbed226];if(_0x23dec2==='\x5c'&&_0xbed226+0x1<_0x2187ef[_0x55b9d9(-_0x59c294._0x3493be,-_0x59c294._0x563eeb,-0x2c,-0x80)])_0x1e6120+=_0x2187ef[_0xbed226+0x1],_0xbed226+=0x2;else{if(_0x23dec2==='\x22'||_0x23dec2==='\x27'){const _0x4361ee=_0x23dec2;_0xbed226++;while(_0xbed226<_0x2187ef[_0x55b9d9(_0x59c294._0x1c053a,-0x185,-0xbb,-_0x59c294._0x14c18c)]&&_0x2187ef[_0xbed226]!==_0x4361ee){_0x2187ef[_0xbed226]==='\x5c'&&_0xbed226+0x1<_0x2187ef['length']?(_0x1e6120+=_0x2187ef[_0xbed226+0x1],_0xbed226+=0x2):(_0x1e6120+=_0x2187ef[_0xbed226],_0xbed226++);}_0xbed226++;}else _0x23dec2!==void 0x0&&/\s/[_0x55b9d9(-0x74,-_0x59c294._0x250b5c,0x13a,-0x2)](_0x23dec2)?(_0x1e6120&&(_0x2fbe51[_0x3f3d4a(0x5e7,0x670,_0x59c294._0x4a4e11,_0x59c294._0x49a868)](_0x1e6120),_0x1e6120=''),_0xbed226++):(_0x1e6120+=_0x23dec2,_0xbed226++);}}if(_0x1e6120)_0x2fbe51[_0x3f3d4a(0x7a8,_0x59c294._0x390d64,_0x59c294._0x436e2b,0x717)](_0x1e6120);function _0x55b9d9(_0x4018d2,_0x38086b,_0x452014,_0x3d5012){return _0x278b49(_0x4018d2-_0x29e4ab._0x12284d,_0x38086b-0x16a,_0x3d5012- -_0x29e4ab._0x5ab85c,_0x452014);}return _0x2fbe51;}function renderCommandInstructions(_0x5bb166){const _0x33c356={_0x585486:0x430,_0x48ecfe:0x288,_0x818cbe:0x3c0,_0x4501d7:0x1d9,_0x40cb2b:0x3db,_0x375562:0x248,_0x39b8cd:0x45d,_0x5a973f:0x6e7,_0x210efa:0x5a4,_0x54ad52:0x68a,_0x1b9fd1:0x65c,_0x3278af:0x47a,_0x2f3cda:0x524,_0x497354:0x574,_0x21efd4:0x538,_0x45bc28:0x463,_0x8fb3ee:0x539,_0x250da4:0x507,_0x440e10:0x553,_0x2008a3:0x4bb,_0x36ef10:0x69c,_0xc25d8a:0x4a5,_0x19e256:0x576,_0x4b7bc8:0x7e4,_0x537c54:0x4cd,_0x43dba3:0x289},_0x20cdaf={_0x305162:0x143},_0x502a47={_0x245d99:0x2d1},_0x2a474f={_0xa8ec4b:0x130,_0xc14956:0x5e6};let _0x21e197=_0x5bb166[_0x59b250(0x2c6,_0x33c356._0x585486,0x31f,_0x33c356._0x48ecfe)],_0x2b5cc5=![];function _0x444bdb(_0x20821a,_0xc0f9f2,_0x5dc6c7,_0x5b92ef){return _0x278b49(_0x20821a-_0x2a474f._0xa8ec4b,_0xc0f9f2-0x15b,_0x5b92ef-_0x2a474f._0xc14956,_0x5dc6c7);}const _0x216abd=tokenizeCommandArguments(_0x5bb166[_0x59b250(0x2d1,0x2bf,_0x33c356._0x818cbe,0x4b5)]);_0x21e197=_0x21e197[_0x59b250(_0x33c356._0x4501d7,_0x33c356._0x40cb2b,0x319,_0x33c356._0x375562)](/\$ARGUMENTS\[(\d+)\]/g,(_0x22dfce,_0x2de384)=>{return _0x2b5cc5=!![],_0x216abd[Number(_0x2de384)]??'';}),_0x21e197=_0x21e197[_0x59b250(0x1e8,0x43f,0x319,_0x33c356._0x39b8cd)](/\$ARGUMENTS\b/g,()=>{const _0xee68be={_0x106b99:0x39,_0x50e1b8:0x255};function _0x4fff52(_0x455ffa,_0x1afb16,_0x9821cf,_0x549e30){return _0x444bdb(_0x455ffa-_0xee68be._0x106b99,_0x1afb16-0x144,_0x549e30,_0x455ffa- -_0xee68be._0x50e1b8);}return _0x2b5cc5=!![],_0x5bb166[_0x4fff52(_0x502a47._0x245d99,0x312,0x19c,0x18b)];});if(_0x5bb166[_0x444bdb(_0x33c356._0x5a973f,0x689,_0x33c356._0x210efa,_0x33c356._0x54ad52)]&&_0x5bb166[_0x59b250(_0x33c356._0x1b9fd1,_0x33c356._0x3278af,_0x33c356._0x2f3cda,_0x33c356._0x497354)]['length']>0x0)for(let _0x400ef3=0x0;_0x400ef3<_0x5bb166[_0x59b250(0x3fd,0x5ff,_0x33c356._0x2f3cda,_0x33c356._0x21efd4)][_0x59b250(0x476,0x539,_0x33c356._0x45bc28,0x400)];_0x400ef3++){const _0x402c34=_0x5bb166['argumentNames'][_0x400ef3];if(_0x402c34){const _0x5482e0=new RegExp('\x5c$'+_0x402c34+'\x5cb','g');_0x21e197=_0x21e197['replace'](_0x5482e0,()=>{return _0x2b5cc5=!![],_0x216abd[_0x400ef3]??'';});}}_0x21e197=_0x21e197[_0x444bdb(_0x33c356._0x8fb3ee,_0x33c356._0x250da4,_0x33c356._0x440e10,0x47f)](/\$(\d+)\b/g,(_0x2af05b,_0x224901)=>{return _0x2b5cc5=!![],_0x216abd[Number(_0x224901)]??'';});function _0x59b250(_0x479952,_0x18c83d,_0x47f467,_0x84f2a){return _0x2fd7af(_0x47f467-0x4cf,_0x18c83d-_0x20cdaf._0x305162,_0x479952,_0x84f2a-0x19);}return!_0x2b5cc5&&_0x5bb166['argumentsText'][_0x444bdb(_0x33c356._0x2008a3,_0x33c356._0x36ef10,_0x33c356._0xc25d8a,_0x33c356._0x19e256)]()&&(_0x21e197=_0x21e197+_0x444bdb(_0x33c356._0x4b7bc8,0x787,0x6d8,0x6a4)+_0x5bb166[_0x59b250(_0x33c356._0x537c54,_0x33c356._0x43dba3,_0x33c356._0x818cbe,0x480)]),_0x21e197;}var chatModelAuthSchemeSchema=z[_0x278b49(0x8b,0x6e,0xab,-0x4a)]([_0x2fd7af(-0x46,-0x13e,-0x168,0xac),'x-api-key']),apiKeyAuthSchema=z[_0x278b49(0x13,-0x42,0x6d,0x20)]({'type':z[_0x2fd7af(-0x13c,-0x130,-0x199,-0x1e9)]('apiKey'),'apiKey':z[_0x278b49(0x11,-0x50,-0x10b,-0x216)](),'authScheme':chatModelAuthSchemeSchema[_0x278b49(-0x135,-0x291,-0x165,-0x98)]()})[_0x278b49(0x5a,-0x4f,0x5d,0x5c)]();function _0x278b49(_0x3fe07f,_0xdd614,_0x5313db,_0x26dcba){return _0x16a6(_0x5313db- -0x2e6,_0x26dcba);}var oauthAuthSchema=z[_0x278b49(0x136,0x19d,0x6d,0x22)]({'type':z[_0x2fd7af(-0x13c,-0x11c,-0x242,0xc)](_0x278b49(-0x19c,-0xb2,-0xaf,-0x179)),'access':z[_0x278b49(-0x13d,-0x107,-0x10b,-0x7)](),'refresh':z[_0x2fd7af(-0x15a,-0x7c,-0x13,-0x12e)](),'expires':z[_0x2fd7af(0x7a,0xa2,0x172,-0x5)]()['optional'](),'authScheme':chatModelAuthSchemeSchema[_0x278b49(-0x234,-0xbb,-0x165,-0x1fb)]()})['passthrough'](),authMethodSchema=z[_0x2fd7af(-0xa2,0x7f,0x36,-0x3)]([apiKeyAuthSchema,oauthAuthSchema]),modelDefinitionSchema=z[_0x278b49(0x7b,-0x15,0x6d,-0x1a)]({'id':z['string'](),'name':z[_0x278b49(-0xb2,-0x80,-0x10b,-0x5d)]()[_0x2fd7af(-0x1b4,-0x18e,-0x1d5,-0x1ca)]()})[_0x278b49(0x1a5,-0xe6,0x5d,0x54)](),modelConfigSchema=z[_0x278b49(-0x8a,0x8c,-0x53,-0x1e)]([z[_0x2fd7af(-0x13c,-0x98,-0x155,-0xf4)](![]),z[_0x278b49(-0x1bc,0x54,-0xed,-0x111)](!![]),z[_0x2fd7af(-0x15a,-0x179,-0x29f,-0x250)](),z['array'](z[_0x2fd7af(-0x15a,-0x1bb,-0x19d,-0x9d)]()),z[_0x2fd7af(0x14,-0xf7,0x30,-0x83)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x278b49(0x10,-0x25,0xab,-0x25)](['anthropic-messages','openai-chat-completions',_0x2fd7af(-0x137,-0x1f5,-0x17f,-0x244),_0x2fd7af(-0x10,0x74,-0x56,-0x155)]),providerConfigSchema=z[_0x278b49(-0xae,0x8e,0x6d,-0x52)]({'apiKey':z[_0x2fd7af(-0x15a,-0xd6,-0xa4,-0x15a)]()[_0x2fd7af(-0x1b4,-0x267,-0x231,-0x14a)](),'token':z['string']()[_0x278b49(-0x266,-0x152,-0x165,-0x239)](),'defaultModel':z[_0x2fd7af(-0x15a,-0x45,-0x48,-0x239)]()[_0x2fd7af(-0x1b4,-0x2ef,-0x124,-0x2a9)](),'smallModel':z['string']()[_0x278b49(-0xd7,-0x12a,-0x165,-0x1d2)](),'currentAuth':z[_0x2fd7af(-0x15a,-0x132,-0x255,-0x152)]()[_0x278b49(-0x144,-0x220,-0x165,-0x24)](),'auth':z[_0x278b49(0x1d,0x10c,0x63,0x4b)](authMethodSchema)[_0x2fd7af(-0x1b4,-0x8b,-0xef,-0x8a)](),'surface':chatModelSurfaceSchema[_0x278b49(-0x22d,-0x8e,-0x165,-0x227)](),'baseUrl':z[_0x2fd7af(-0x15a,-0x237,-0x8e,-0x104)]()[_0x278b49(-0x1fc,-0x94,-0x165,-0x208)](),'models':modelConfigSchema[_0x2fd7af(-0x1b4,-0x150,-0x27d,-0x148)](),'customHeaders':z[_0x2fd7af(-0x129,0x1c,-0xb6,-0x16d)](z['string'](),z[_0x278b49(-0x2d,0x1d,-0x10b,-0x194)]())[_0x278b49(-0x127,-0x1b8,-0x165,-0x27c)]()})[_0x278b49(0xd9,0xd2,0x5d,-0xe1)](),mcpServerConfigSchema=z[_0x278b49(0x137,0xb7,0x6d,0xa7)]({'command':z[_0x2fd7af(-0x15a,-0x153,-0x194,-0x7b)]()['optional'](),'args':z[_0x278b49(-0xc4,0x75,0x63,0x2b)](z[_0x278b49(0x4,-0xeb,-0x10b,-0x228)]())[_0x278b49(-0xe9,-0xa4,-0x165,-0x1dc)](),'env':z[_0x278b49(-0x117,-0x171,-0xda,0x62)](z[_0x278b49(-0x67,-0x7,-0x10b,-0x21c)](),z[_0x2fd7af(-0x15a,-0x293,-0x12f,-0x4e)]())[_0x278b49(-0x27b,-0xc5,-0x165,-0x11a)](),'transport':z[_0x278b49(0x1aa,-0x29,0xab,0x36)]([_0x2fd7af(-0x161,-0x11f,-0x11e,-0xac),_0x2fd7af(-0x138,-0x139,-0xe9,-0x1a6)])['optional'](),'url':z[_0x2fd7af(-0x15a,-0x127,-0x1df,-0x163)]()['optional'](),'headers':z[_0x278b49(-0xac,-0xbf,-0xda,-0x1df)](z[_0x2fd7af(-0x15a,-0x12d,-0x32,-0x11d)](),z[_0x278b49(-0x61,-0x147,-0x10b,-0x16b)]())[_0x278b49(-0x22a,-0x275,-0x165,-0xc6)](),'prefix':z[_0x278b49(-0x107,-0x178,-0x10b,0x13)]()[_0x278b49(-0x232,-0xd5,-0x165,-0x17e)](),'timeoutMs':z[_0x278b49(0xea,0x1a1,0xc9,0x185)]()['optional'](),'enabled':z['boolean']()[_0x2fd7af(-0x1b4,-0x23f,-0xdf,-0x2b5)](),'auth':z['object']({'type':z[_0x2fd7af(0x5c,0x186,0x191,0x14d)]([_0x278b49(-0x167,0x39,-0x7f,0x70),_0x278b49(-0x45,0x10c,0x9,-0x2b),_0x2fd7af(-0xfe,-0xbc,-0xfb,-0x2f)]),'token':z[_0x2fd7af(-0x15a,-0x13,-0x42,-0x7c)]()[_0x2fd7af(-0x1b4,-0x2d4,-0x198,-0x27c)](),'oauth':z['object']({'clientId':z[_0x278b49(-0x57,-0x2d,-0x10b,-0x178)]()['optional'](),'clientMetadataUrl':z[_0x278b49(-0x1a3,-0x1b7,-0x10b,-0x1f5)]()[_0x2fd7af(-0x1b4,-0x12d,-0xe1,-0x1fc)](),'authorizationServer':z['string']()['optional'](),'scopes':z[_0x2fd7af(0x14,0x130,0x128,-0x45)](z[_0x278b49(-0x23c,-0x66,-0x10b,-0xcd)]())[_0x2fd7af(-0x1b4,-0xc9,-0x8a,-0x216)](),'tokenStorageKey':z[_0x2fd7af(-0x15a,-0x13e,-0x72,-0x173)]()['optional']()})['passthrough']()[_0x278b49(-0x4b,-0x135,-0x165,-0x12e)]()})[_0x2fd7af(0xe,-0x93,0x9a,-0x3)]()[_0x278b49(-0x247,-0x1b5,-0x165,-0x226)]()})[_0x2fd7af(0xe,0xa9,0xca,0x21)](),mcpSettingsSchema=z[_0x2fd7af(0x1e,-0x127,0xa4,0x22)]({'servers':z['record'](z[_0x2fd7af(-0x15a,-0x26f,-0xdb,-0xdd)](),mcpServerConfigSchema)[_0x278b49(-0x156,-0x199,-0x165,-0x65)](),'allowedTools':z['record'](z[_0x278b49(-0x173,-0xff,-0x10b,-0x1ec)](),z[_0x2fd7af(-0x129,-0x106,-0x6,-0x21)](z[_0x278b49(-0x4b,-0x108,-0x10b,-0x235)](),z[_0x2fd7af(-0x76,-0x107,-0x114,0xd0)]()))[_0x278b49(-0x137,-0x281,-0x165,-0x3f)](),'defaultTimeoutMs':z[_0x2fd7af(0x7a,0xc,-0xb6,0x3e)]()['optional']()})['passthrough'](),skillsSettingsSchema=z[_0x278b49(-0xd2,0x18,0x6d,0xcc)]({'enabled':z[_0x2fd7af(-0x76,-0x177,0xa0,-0x110)]()['optional'](),'includeDefaults':z[_0x2fd7af(-0x76,-0xa1,-0x154,0xc4)]()['optional'](),'directories':z['array'](z[_0x2fd7af(-0x15a,-0x27,-0x208,-0x235)]())['optional'](),'exclude':z[_0x2fd7af(0x14,-0x57,-0x20,0x49)](z['string']())[_0x2fd7af(-0x1b4,-0x2e5,-0x18c,-0x230)]()})[_0x2fd7af(0xe,-0x22,0x12b,0x6b)](),commandsSettingsSchema=z[_0x278b49(0xa1,0xf4,0x6d,-0x60)]({'enabled':z[_0x278b49(-0x7f,-0x164,-0x27,-0x141)]()[_0x2fd7af(-0x1b4,-0x167,-0x106,-0x1cb)](),'directories':z[_0x2fd7af(0x14,-0xae,-0x4f,0x114)](z[_0x278b49(-0x47,-0x22b,-0x10b,-0x89)]())[_0x2fd7af(-0x1b4,-0x1bf,-0x1d5,-0x91)]()})['passthrough'](),agentsSettingsSchema=z[_0x2fd7af(0x1e,-0x125,0x111,0x87)]({'enabled':z['boolean']()[_0x278b49(-0x12b,-0x168,-0x165,-0x197)](),'includeDefaults':z[_0x278b49(-0xd3,-0x165,-0x27,0x38)]()[_0x2fd7af(-0x1b4,-0xb7,-0x2d4,-0x212)](),'directories':z[_0x278b49(0xab,0x3,0x63,0x8)](z[_0x278b49(-0x1ea,-0x14c,-0x10b,-0x22e)]())[_0x2fd7af(-0x1b4,-0x147,-0x292,-0x290)]()})[_0x278b49(0x142,0x1a5,0x5d,0x82)](),uiThemeSettingsSchema=z['object']({'mode':z['enum']([_0x2fd7af(-0xd1,-0x115,0x5a,0x6e),_0x278b49(-0x95,0x180,0x4e,0xab),_0x2fd7af(-0x5c,0xe1,0x10,-0x13e)])['optional'](),'colorLevel':z[_0x2fd7af(0x5c,-0x9a,-0x9e,0xbe)](['auto',_0x278b49(0xf,0xb2,-0x7f,-0x162),_0x2fd7af(-0xc2,0x5e,0x82,0x2),_0x2fd7af(-0xe2,-0xb6,-0x41,-0x209),'truecolor'])[_0x278b49(-0x5a,-0x262,-0x165,-0x1ef)](),'backgrounds':z['enum']([_0x2fd7af(-0xd1,-0x175,-0x1f2,-0x8b),'on',_0x2fd7af(-0x1f,0xd6,0xda,0x39)])[_0x2fd7af(-0x1b4,-0xc3,-0x74,-0x134)](),'messageStyle':z[_0x2fd7af(0x5c,0x11a,0x3d,-0xab)]([_0x2fd7af(-0x9c,-0x125,-0x1b8,0x7),_0x2fd7af(0x9b,0x1a2,0x179,0x1a9)])[_0x278b49(-0xfb,-0x20f,-0x165,-0x66)]()})[_0x2fd7af(0xe,-0xa4,-0xde,-0xb7)](),statuslineSegmentSchema=z[_0x278b49(-0xd,0x1e2,0xab,0x138)]([_0x2fd7af(-0x19,0x109,0x6d,0x22),_0x2fd7af(-0x181,-0x2bb,-0x261,-0xb6),_0x2fd7af(-0x127,-0x202,-0x1b4,-0xcd),'sudo','tokens',_0x278b49(0xe8,-0x47,0x78,-0xf),'cached',_0x2fd7af(-0x57,-0x4e,-0xbc,-0x19a),_0x2fd7af(-0xc,0xbe,0x11b,0x102),_0x278b49(-0x5f,0x77,0x2e,-0x86),_0x2fd7af(-0xe0,-0x73,-0x2b,0x55),_0x2fd7af(0x8a,-0x49,0x8b,-0xad),_0x278b49(0x54,-0x131,-0xbc,-0x50),'memory','rss']),statuslineItemSchema=z[_0x2fd7af(-0xa2,-0x149,-0x164,0x3b)]([statuslineSegmentSchema,z[_0x2fd7af(-0x13c,-0x17f,-0x1d2,-0x140)]('|')]),statuslineRowSchema=z[_0x2fd7af(0x14,0x140,-0x125,0xaf)](statuslineItemSchema),statuslineConfigSchema=z['object']({'rows':z[_0x2fd7af(-0x13e,-0x1aa,-0x25b,-0x127)]([statuslineRowSchema,statuslineRowSchema])[_0x278b49(-0x15b,-0x1fb,-0x165,-0x53)]()})[_0x278b49(0x1b,0x14c,0x5d,-0x7c)](),memorySettingsSchema=z[_0x2fd7af(0x1e,-0x11f,-0xa2,0x4f)]({'version':z[_0x2fd7af(-0x13c,-0xa,-0x21f,-0x89)](0x2)[_0x2fd7af(-0x1b4,-0x210,-0xca,-0x1af)](),'retrieval':z[_0x278b49(0xdb,0x101,0x6d,0x148)]({'engine':z[_0x2fd7af(-0x13c,-0x14b,-0x198,-0x6d)](_0x2fd7af(-0xbd,0x6c,-0xf5,-0x62))[_0x278b49(-0x22c,-0x5e,-0x165,-0xa8)](),'candidateLimit':z[_0x278b49(-0x37,0x11,0xc9,0x134)]()['optional'](),'activeCandidateLimit':z[_0x278b49(0x8f,0x11,0xc9,0x5e)]()[_0x2fd7af(-0x1b4,-0x89,-0x1ad,-0x1ee)](),'activeEnabled':z[_0x278b49(-0x169,-0x137,-0x27,-0x2)]()[_0x2fd7af(-0x1b4,-0x190,-0x116,-0xf3)](),'maxQueriesPerTurn':z[_0x278b49(0x8f,0x72,0xc9,0x44)]()[_0x278b49(-0x1a0,-0xa6,-0x165,-0x219)](),'coreInjectTokenBudget':z['number']()[_0x278b49(-0x1c,-0x1d3,-0x165,-0x37)](),'injectTokenBudget':z[_0x278b49(-0x4b,0x19b,0xc9,0x5e)]()[_0x2fd7af(-0x1b4,-0x149,-0xf1,-0x2c4)](),'minScore':z['number']()[_0x278b49(-0xad,-0xe4,-0x165,-0x1e0)](),'freshnessHalfLifeDays':z[_0x2fd7af(0x7a,-0x17,-0x6a,0xb6)]()[_0x2fd7af(-0x1b4,-0x129,-0x21c,-0xd5)]()})[_0x2fd7af(0xe,-0xaa,0x100,0x102)]()[_0x278b49(-0x229,-0x288,-0x165,-0x137)](),'extraction':z[_0x278b49(0x103,-0xe,0x6d,-0xd3)]({'enabled':z[_0x2fd7af(-0x76,-0x101,-0x10e,-0x14e)]()[_0x278b49(-0x29b,-0x24f,-0x165,-0x11d)](),'provider':z['string']()[_0x278b49(-0x1ac,-0x241,-0x165,-0x186)](),'model':z[_0x2fd7af(-0x15a,-0x27e,-0x105,-0x63)]()[_0x278b49(-0x23a,-0xe6,-0x165,-0x286)](),'sensitiveFilter':z[_0x2fd7af(-0x76,-0x1b0,-0xba,-0x15)]()[_0x278b49(-0x78,-0x292,-0x165,-0x29e)]()})[_0x2fd7af(0xe,-0x88,-0x109,-0x93)]()[_0x278b49(-0x233,-0x1c8,-0x165,-0x4e)](),'index':z[_0x2fd7af(0x1e,-0x48,-0x56,-0x3b)]({'persisted':z['boolean']()['optional'](),'flushIntervalMs':z[_0x278b49(-0x7a,0x5,0xc9,0x12f)]()[_0x278b49(-0x280,-0x1d5,-0x165,-0x44)]()})[_0x278b49(-0xbb,0x5,0x5d,0x12)]()[_0x278b49(-0x80,-0x20e,-0x165,-0x1a2)](),'enabled':z[_0x2fd7af(-0x76,-0xca,0xa0,-0x32)]()[_0x2fd7af(-0x1b4,-0x2bd,-0x26d,-0x1e0)](),'saveTool':z[_0x278b49(-0x16f,-0xdd,-0x27,-0xfd)]()[_0x278b49(-0x8c,-0x112,-0x165,-0x2ab)](),'model':z[_0x278b49(0x3b,0x3a,-0x10b,-0x5b)]()[_0x278b49(-0x1bc,-0x19d,-0x165,-0x1b0)](),'provider':z['string']()[_0x2fd7af(-0x1b4,-0x92,-0x174,-0xe9)](),'maxInjectionTokens':z[_0x2fd7af(0x7a,0x8f,-0x56,-0x10)]()['optional'](),'backgroundExtraction':z[_0x2fd7af(-0x76,-0x179,-0x30,-0xd8)]()[_0x278b49(-0xa8,-0x15e,-0x165,-0x181)]()})[_0x2fd7af(0xe,0xf4,-0xa6,0xf9)](),recentModelSchema=z[_0x2fd7af(0x1e,0x167,0xff,-0x2c)]({'provider':z[_0x2fd7af(-0x15a,-0xba,-0x18a,-0x19e)](),'model':z['string'](),'usedAt':z[_0x278b49(-0x4a,0x2c,0xc9,0x155)]()})['passthrough'](),lspServerEntrySchema=z[_0x2fd7af(0x1e,0xc0,-0x5e,0x143)]({'disabled':z[_0x278b49(-0x48,0xe3,-0x27,-0x61)]()[_0x278b49(-0xd4,-0x28d,-0x165,-0x23d)](),'command':z[_0x2fd7af(-0x15a,-0xa8,-0x1c,-0xbe)]()['optional'](),'args':z['array'](z[_0x278b49(-0x1ee,0x11,-0x10b,-0xc0)]())['optional'](),'rootMarkers':z[_0x278b49(0x31,0x101,0x63,0xdd)](z['string']())[_0x278b49(-0x163,-0x253,-0x165,-0x1ef)]()})[_0x278b49(0x38,0x91,0x5d,0xa1)](),lspConfigSchema=z[_0x278b49(-0x3c,0x146,0x6d,-0x79)]({'enabled':z['boolean']()[_0x278b49(-0xa2,-0x1a3,-0x165,-0x190)](),'servers':z[_0x2fd7af(-0x129,-0xcc,-0x270,-0x158)](z[_0x2fd7af(-0x15a,-0xc6,-0x11c,-0xdc)](),lspServerEntrySchema)[_0x278b49(-0x14c,-0x146,-0x165,-0x288)]()})[_0x2fd7af(0xe,-0xd,-0x138,0xa6)](),cliConfigSchema=z[_0x278b49(-0x27,-0x2c,0x6d,0x42)]({'activeProvider':z[_0x2fd7af(-0x15a,-0xf3,-0x68,-0x1d9)]()['optional'](),'activeModel':z[_0x2fd7af(-0x15a,-0x18c,-0x24a,-0x32)]()[_0x2fd7af(-0x1b4,-0x17e,-0x132,-0x2ad)](),'apiKey':z[_0x2fd7af(-0x15a,-0x58,-0x2f,-0x27d)]()['optional'](),'providers':z['record'](z[_0x278b49(-0x103,-0x5b,-0x10b,-0x1c9)](),providerConfigSchema)[_0x278b49(-0xb0,-0x80,-0x165,-0x252)](),'mcp':mcpSettingsSchema[_0x2fd7af(-0x1b4,-0x7b,-0x1e6,-0x142)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x278b49(-0x186,-0x111,-0x165,-0xb8)](),'commands':commandsSettingsSchema[_0x2fd7af(-0x1b4,-0x1b9,-0xb9,-0x1b0)](),'skillsEnabled':z[_0x2fd7af(-0x129,-0x1b7,-0xc6,-0x172)](z[_0x278b49(-0x46,-0x14e,-0x10b,-0x1e4)](),z[_0x278b49(0xd2,-0x128,-0x27,-0xc2)]())[_0x278b49(-0x205,-0x1f2,-0x165,-0x69)](),'memory':memorySettingsSchema[_0x278b49(-0x95,-0x1ac,-0x165,-0x1b1)](),'session':z[_0x2fd7af(0x1e,0x14d,0x3c,0xc3)]({'memPersist':z[_0x2fd7af(-0x76,0xa8,-0x3c,-0xcc)]()[_0x278b49(-0x28e,-0x1be,-0x165,-0x27f)](),'persistEventLog':z['boolean']()[_0x2fd7af(-0x1b4,-0x296,-0x2bd,-0x266)](),'persistHttpLog':z[_0x2fd7af(-0x76,0x53,-0x1d,0x25)]()['optional']()})[_0x2fd7af(0xe,0x1b,-0x13,0x36)]()[_0x278b49(-0xcf,-0x144,-0x165,-0x187)](),'requireToolApproval':z[_0x2fd7af(-0x76,-0x4,-0x160,-0xdd)]()[_0x278b49(-0x7b,-0x231,-0x165,-0x1d4)](),'thinking':z[_0x2fd7af(0x5c,-0x71,-0x13,0x12f)]([_0x2fd7af(-0x8,0x13d,-0x63,0x64),_0x278b49(-0x1c6,-0xd7,-0xff,-0xa9),_0x278b49(-0xdd,-0x152,-0x49,-0xc),_0x278b49(0x18,0xbc,0x1c,-0xcd)])[_0x2fd7af(-0x1b4,-0x113,-0x8d,-0x8c)](),'streamingChunks':z['boolean']()[_0x2fd7af(-0x1b4,-0x2e1,-0x162,-0x121)](),'agentsEnabled':z['record'](z[_0x278b49(-0x166,-0x63,-0x10b,-0x12e)](),z[_0x2fd7af(-0x76,-0x112,0x5c,-0x153)]())[_0x278b49(-0x127,-0x63,-0x165,-0xb8)](),'recentModels':z[_0x278b49(-0x14,-0xa0,0x63,0x8b)](recentModelSchema)[_0x278b49(-0x282,-0x29,-0x165,-0x13a)](),'lsp':lspConfigSchema[_0x2fd7af(-0x1b4,-0x13a,-0x214,-0x232)](),'ui':z[_0x2fd7af(0x1e,0x7b,0x31,-0x6)]({'theme':uiThemeSettingsSchema[_0x278b49(-0x284,-0x176,-0x165,-0x25d)](),'statusline':statuslineConfigSchema[_0x2fd7af(-0x1b4,-0x228,-0x230,-0x1bf)]()})[_0x278b49(0xd4,0xf1,0x5d,-0xa4)]()['optional'](),'tools':z[_0x278b49(-0x1c8,-0x3d,-0xda,-0x120)](z[_0x2fd7af(-0x15a,-0xc4,-0x214,-0x1fa)](),z[_0x2fd7af(-0x82,0x73,0xa0,0xc1)]())[_0x278b49(-0x134,-0x10a,-0x165,-0x218)]()})[_0x2fd7af(0xe,0x129,0x24,-0xec)]();function buildDescription(_0x4324b9){const _0x3e27ad={_0x3f7173:0x55c,_0x5134b1:0x4e7,_0x580ef0:0x66c,_0x1dee3c:0x579,_0x2910d4:0xcd,_0x26a8a5:0x31,_0x3e7a17:0x43f,_0x29dcee:0x56b,_0x3ffc08:0x50e,_0x102b21:0x63c,_0x49570a:0x4c5,_0x4b845d:0x57a,_0x514ae8:0x71,_0x264b24:0xa7},_0x32f282={_0x4c71ac:0x5c8,_0x369c56:0x7f},_0x4d655e={_0x4e03fc:0x115,_0x3e3165:0x17};function _0x4e0c13(_0x1a69ee,_0xd4e422,_0x39c1bd,_0x96e518){return _0x278b49(_0x1a69ee-_0x4d655e._0x4e03fc,_0xd4e422-0x1ee,_0x39c1bd- -_0x4d655e._0x3e3165,_0x1a69ee);}function _0x3c67c6(_0x38ca0a,_0x389b84,_0x3624c2,_0x3d068b){return _0x2fd7af(_0x389b84-_0x32f282._0x4c71ac,_0x389b84-_0x32f282._0x369c56,_0x38ca0a,_0x3d068b-0x4d);}if(_0x4324b9[_0x3c67c6(0x540,_0x3e27ad._0x3f7173,_0x3e27ad._0x5134b1,_0x3e27ad._0x580ef0)]===0x0)return[_0x3c67c6(0x513,_0x3e27ad._0x1dee3c,0x55a,0x48d),_0x4e0c13(_0x3e27ad._0x2910d4,0x118,-_0x3e27ad._0x26a8a5,0x61),'No\x20commands\x20are\x20currently\x20available.'][_0x3c67c6(_0x3e27ad._0x3e7a17,_0x3e27ad._0x29dcee,_0x3e27ad._0x3ffc08,0x492)]('\x0a');const _0x4fceeb=[_0x3c67c6(0x4cf,0x579,_0x3e27ad._0x102b21,0x667),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x3c67c6(0x519,_0x3e27ad._0x49570a,0x4ef,_0x3e27ad._0x4b845d),..._0x4324b9[_0x4e0c13(-0x190,_0x3e27ad._0x514ae8,-_0x3e27ad._0x264b24,-0x163)](_0x4367f7=>_0x4367f7[_0x3c67c6(0x507,0x516,0x3d9,0x63f)]?'-\x20'+_0x4367f7[_0x4e0c13(-0x171,-0xe1,-0x11e,-0x171)]+'\x20'+_0x4367f7[_0x4e0c13(0xa,-0xb6,-0x7a,-0xae)]+':\x20'+_0x4367f7[_0x3c67c6(0x682,0x660,0x74d,0x59b)]:'-\x20'+_0x4367f7[_0x3c67c6(0x35d,0x472,0x485,0x4c2)]+':\x20'+_0x4367f7[_0x4e0c13(0xd2,0xa2,0xd0,0x1c7)])];return _0x4fceeb['join']('\x0a');}function createInvokeCommandTool(_0x54e127){const _0x616f6a={_0x545c0d:0x3a4,_0x4a3395:0x416,_0x112019:0x380,_0x2124b4:0x29a,_0x5876b9:0x271,_0x340b4b:0x27f,_0x1441cd:0x181,_0x98e965:0x1f3,_0x36bdbc:0x270,_0x1b7144:0x278,_0x414092:0x21f,_0x460d29:0x231,_0xc507a1:0x2cd,_0x363158:0x296,_0x1dc977:0x189,_0x327ccc:0x308},_0x3c92f9={_0x452f53:0x256,_0x3e33be:0x309,_0x33b3bc:0x292,_0x3897b4:0x3c6,_0x3a8ed5:0x27d,_0xb3ae7d:0x335,_0x52e5c8:0x246,_0x3087ca:0x35a,_0x1af610:0x2e2,_0x141358:0x2e7,_0x62903e:0x2ef,_0x2b3126:0x2cd,_0x5aeeea:0x15b,_0x111d95:0x13b,_0x2f24ff:0x17c,_0x43e55f:0x26b,_0x21bdfe:0x43a,_0x4b3c1d:0x2d7,_0x19cca3:0x30a,_0x3f56cf:0x11c,_0x20f215:0x29a,_0x2eef74:0x207,_0x4984cd:0x447,_0x24ebc6:0x35c,_0xeb494e:0x261,_0x37b3b0:0x4a3,_0x399971:0x304,_0x42dc0e:0x395},_0x19a998={_0x41bf4e:0x15d},_0x28ec9f={_0x29bc61:0x379,_0x1ae35c:0x181};function _0x415aad(_0x4acd22,_0x5c50a9,_0x52ed31,_0x4cdb0c){return _0x2fd7af(_0x4acd22-_0x28ec9f._0x29bc61,_0x5c50a9-0x169,_0x5c50a9,_0x4cdb0c-_0x28ec9f._0x1ae35c);}const _0x58ec18=new Map(_0x54e127[_0x415aad(_0x616f6a._0x545c0d,0x49a,_0x616f6a._0x4a3395,_0x616f6a._0x112019)][_0x415aad(_0x616f6a._0x2124b4,0x38b,_0x616f6a._0x5876b9,_0x616f6a._0x340b4b)](_0xf046fa=>[_0xf046fa['id'],_0xf046fa]));function _0x44b773(_0x2de798,_0xe50cf6,_0x8aac18,_0x55ddad){return _0x2fd7af(_0x8aac18-0x25a,_0xe50cf6-0x113,_0x2de798,_0x55ddad-0xf8);}const _0x2973b8=buildDescription(_0x54e127['commands']);return defineTool({'name':_0x44b773(0x17e,0x47,_0x616f6a._0x1441cd,_0x616f6a._0x98e965),'description':_0x2973b8,'inputSchema':{'type':_0x44b773(0x3b4,_0x616f6a._0x36bdbc,_0x616f6a._0x1b7144,0x1d7),'properties':{'name':{'type':_0x415aad(_0x616f6a._0x414092,_0x616f6a._0x460d29,0x354,0x2b5)},'args':{'type':_0x415aad(0x21f,_0x616f6a._0xc507a1,0x18c,_0x616f6a._0x363158)}},'required':[_0x415aad(0x223,0x21e,_0x616f6a._0x1dc977,_0x616f6a._0x327ccc)]},async *'execute'(_0x13ca48){const _0x35708d={_0x432a9d:0xae,_0x5a8569:0x1c9,_0x31c995:0x111},_0x18e713=_0x58ec18[_0x503981(_0x3c92f9._0x452f53,0x40c,_0x3c92f9._0x3e33be,0x36d)](_0x13ca48[_0x4d856c(0x3a8,_0x3c92f9._0x33b3bc,0x37c,0x261)]);if(!_0x18e713){const _0x16423f=Array['from'](_0x58ec18[_0x503981(_0x3c92f9._0x3897b4,_0x3c92f9._0x3a8ed5,0x285,_0x3c92f9._0xb3ae7d)]())[_0x4d856c(0x248,_0x3c92f9._0x52e5c8,0x34f,_0x3c92f9._0x3087ca)](',\x20');throw new ToolExecutionError(_0x4d856c(0x1e3,_0x3c92f9._0x1af610,_0x3c92f9._0x141358,_0x3c92f9._0x62903e)+_0x13ca48[_0x503981(0x1b2,0x20e,_0x3c92f9._0x2b3126,_0x3c92f9._0x52e5c8)]+_0x4d856c(_0x3c92f9._0x5aeeea,_0x3c92f9._0x111d95,_0x3c92f9._0x2f24ff,_0x3c92f9._0x43e55f)+_0x16423f,{'name':_0x13ca48['name']});}const _0x59d12f=await _0x54e127[_0x503981(_0x3c92f9._0x21bdfe,0x495,0x3d3,0x319)](_0x18e713);function _0x4d856c(_0x10d2fe,_0x540b89,_0x1a96a9,_0x48c4a9){return _0x44b773(_0x1a96a9,_0x540b89-0xf7,_0x48c4a9-_0x19a998._0x41bf4e,_0x48c4a9-0x1b5);}const _0x2b76b9=_0x13ca48[_0x503981(0x2ab,_0x3c92f9._0x4b3c1d,_0x3c92f9._0x19cca3,0x33b)]??'',_0x19ba41=renderCommandInstructions({'instructions':_0x59d12f[_0x4d856c(_0x3c92f9._0x3f56cf,0x151,_0x3c92f9._0x20f215,_0x3c92f9._0x2eef74)],'argumentsText':_0x2b76b9,'argumentNames':_0x59d12f[_0x4d856c(0x45b,0x369,_0x3c92f9._0x4984cd,0x3bd)]});yield createToolOutput(_0x19ba41,{'id':_0x59d12f['id'],'name':_0x59d12f[_0x4d856c(_0x3c92f9._0x24ebc6,0x284,0x161,_0x3c92f9._0xeb494e)],'path':_0x18e713['source'][_0x503981(_0x3c92f9._0x37b3b0,_0x3c92f9._0x399971,_0x3c92f9._0x42dc0e,0x2e2)]});function _0x503981(_0x187811,_0x5bf7bc,_0xbf1cd,_0x422912){return _0x44b773(_0x5bf7bc,_0x5bf7bc-_0x35708d._0x432a9d,_0xbf1cd-_0x35708d._0x5a8569,_0x422912-_0x35708d._0x31c995);}return void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x25a8be,rename as _0x4a952c,stat as _0x34e6bf,writeFile as _0x4ab695}from'fs/promises';import*as _0x1aa431 from'path';function detectEol(_0x41ee90){const _0x4186a6={_0x61b516:0x6b7,_0x15f59d:0x675,_0x3798b6:0x556,_0x4eef1a:0x651,_0x13f6a6:0x4a5,_0x23b0cf:0x47b,_0x1f049a:0x5d8,_0x254999:0x2cf},_0x429b23={_0x33db4c:0x663};function _0x6c6e5a(_0x27d0d4,_0x5bbf19,_0x59970a,_0x52c0a3){return _0x278b49(_0x27d0d4-0x80,_0x5bbf19-0x18,_0x27d0d4-0x4ba,_0x5bbf19);}function _0xd3b1f8(_0x35ba47,_0x1a96fe,_0x5f38b9,_0x181bb7){return _0x2fd7af(_0x181bb7-_0x429b23._0x33db4c,_0x1a96fe-0x3e,_0x35ba47,_0x181bb7-0x195);}return/\r\n/[_0xd3b1f8(0x5a4,0x6b6,_0x4186a6._0x61b516,_0x4186a6._0x15f59d)](_0x41ee90[_0xd3b1f8(0x5cc,_0x4186a6._0x3798b6,_0x4186a6._0x4eef1a,0x5ae)](_0x6c6e5a(_0x4186a6._0x13f6a6,_0x4186a6._0x23b0cf,_0x4186a6._0x1f049a,0x434)))?_0x6c6e5a(0x371,0x2b7,0x25b,_0x4186a6._0x254999):'lf';}function normalizeToLf(_0x6da3a3){const _0x4d6ef5={_0x29aebc:0x112,_0x3f21e4:0xd2,_0x2ee773:0x53,_0x14e055:0xb0},_0x12d12e={_0x3f7ad3:0xe4};function _0x1c24ec(_0x1f6d9f,_0x39fb9a,_0x4ec8b3,_0x5e1d22){return _0x2fd7af(_0x39fb9a-_0x12d12e._0x3f7ad3,_0x39fb9a-0x10f,_0x1f6d9f,_0x5e1d22-0xb6);}return _0x6da3a3[_0x1c24ec(-_0x4d6ef5._0x29aebc,-_0x4d6ef5._0x3f21e4,_0x4d6ef5._0x2ee773,-_0x4d6ef5._0x14e055)](/\r\n/g,'\x0a');}function convertEol(_0x418447,_0x3f3e41){const _0x1465fe={_0x126b2d:0xb4,_0xb2308b:0x26,_0x33de70:0xff,_0x4b2d76:0x130},_0x457c9c={_0x2ab97d:0x12f},_0x3718d5={_0x5cf306:0x1f2,_0x53fef6:0x1a2,_0x455fdf:0x1c7};function _0x23819e(_0x447115,_0x45ab45,_0x25bdcd,_0x19134f){return _0x278b49(_0x447115-_0x3718d5._0x5cf306,_0x45ab45-_0x3718d5._0x53fef6,_0x447115-_0x3718d5._0x455fdf,_0x19134f);}function _0x493a12(_0x591b44,_0x1380ff,_0x434331,_0x4e1fd4){return _0x278b49(_0x591b44-0x0,_0x1380ff-_0x457c9c._0x2ab97d,_0x4e1fd4-0x37,_0x1380ff);}return _0x3f3e41===_0x493a12(-0xc5,-_0x1465fe._0x126b2d,-0x177,-0x112)?_0x418447[_0x493a12(-_0x1465fe._0xb2308b,-_0x1465fe._0x33de70,-0xbd,-_0x1465fe._0x4b2d76)](/\n/g,'\x0d\x0a'):_0x418447;}async function atomicWrite(_0xdec14b,_0x467ea5){const _0x3c90d2={_0x832e28:0x1cd,_0x3fda3d:0x13c,_0xbc33f:0xc1,_0xc000e8:0x74,_0x3934eb:0x51,_0x39e825:0x1c4,_0x323cac:0x26e,_0x1b78c7:0x182,_0x49bd2e:0x60,_0x17f753:0x5a,_0x5ceb5e:0x5c,_0x52cbd7:0x233,_0x361524:0x11c},_0xc470f8={_0x37e342:0xfc,_0x4cc402:0x1a2,_0x2a7e86:0x111},_0xeec580={_0x2f914c:0x18e,_0x294ce8:0xe9,_0x246b2d:0x117},_0x45efb3=_0x1aa431[_0x199b38(0x48,_0x3c90d2._0x832e28,_0x3c90d2._0x3fda3d,0x1d1)](_0xdec14b),_0xbeb471=_0x1aa431[_0x199b38(_0x3c90d2._0xbc33f,_0x3c90d2._0xc000e8,0x103,_0x3c90d2._0x3934eb)](_0x45efb3,_0x199b38(_0x3c90d2._0x39e825,_0x3c90d2._0x323cac,_0x3c90d2._0x1b78c7,_0x3c90d2._0x49bd2e)+_0x1aa431[_0x199b38(0xb8,_0x3c90d2._0x17f753,-0x30,-_0x3c90d2._0x5ceb5e)](_0xdec14b)+'.'+Date['now']()+'.'+Math[_0xf303cb(0x19b,0x193,_0x3c90d2._0x52cbd7,0x2d0)]()['toString'](0x24)[_0xf303cb(0xfe,_0x3c90d2._0x361524,0x20f,0x1)](0x2));await _0x4ab695(_0xbeb471,_0x467ea5);function _0xf303cb(_0x44b6f1,_0x84e31f,_0x21a894,_0x319491){return _0x278b49(_0x44b6f1-_0xeec580._0x2f914c,_0x84e31f-_0xeec580._0x294ce8,_0x84e31f-_0xeec580._0x246b2d,_0x319491);}function _0x199b38(_0x24be6a,_0x58f9e3,_0x17791b,_0x158b1a){return _0x278b49(_0x24be6a-_0xc470f8._0x37e342,_0x58f9e3-_0xc470f8._0x4cc402,_0x17791b-_0xc470f8._0x2a7e86,_0x24be6a);}await _0x4a952c(_0xbeb471,_0xdec14b);}function sha256(_0x26e153){const _0x644fa5={_0x31a74b:0xf7,_0x39eaf:0x1e,_0x152631:0x3c9,_0x3827b5:0x4c3,_0x4806e6:0x421,_0x4ad3b3:0x470,_0x3cc61d:0x155,_0x452106:0x53},_0x469fe7={_0x35b04c:0x4a,_0x367125:0x4a6},_0x4bf9cd={_0x5433a9:0x2f,_0x34a92f:0x26,_0x190c06:0x1d2};function _0x34b835(_0x20f9f3,_0x196e4e,_0xf9f24c,_0x308bfc){return _0x2fd7af(_0x308bfc-_0x4bf9cd._0x5433a9,_0x196e4e-_0x4bf9cd._0x34a92f,_0x196e4e,_0x308bfc-_0x4bf9cd._0x190c06);}function _0x2b6114(_0x4cbddf,_0x14f64f,_0x53e47c,_0x8ed18b){return _0x278b49(_0x4cbddf-0xdc,_0x14f64f-_0x469fe7._0x35b04c,_0x4cbddf-_0x469fe7._0x367125,_0x14f64f);}return createHash(_0x34b835(_0x644fa5._0x31a74b,-0xcb,0xa3,_0x644fa5._0x39eaf))[_0x2b6114(_0x644fa5._0x152631,_0x644fa5._0x3827b5,_0x644fa5._0x4806e6,_0x644fa5._0x4ad3b3)](_0x26e153)[_0x34b835(0x42,-_0x644fa5._0x3cc61d,_0x644fa5._0x452106,-0x67)]('hex');}function countLines(_0x5105ad){const _0x51ec97={_0x29e6a0:0x168,_0x84f295:0x2ee,_0x51222b:0x3c2,_0x5d0f63:0x3c2,_0x2a2f67:0x21,_0x216858:0x49,_0x53ddec:0x1f7,_0x570efd:0xdd},_0x1c5774={_0x8ef142:0x42e,_0x24ed39:0x13b},_0x5146d1={_0x259440:0x1dd};function _0xe15e79(_0x145b95,_0x278f9f,_0x12bdbb,_0x183a87){return _0x2fd7af(_0x183a87- -0x71,_0x278f9f-0x95,_0x12bdbb,_0x183a87-_0x5146d1._0x259440);}function _0x2f90a3(_0x36471b,_0x3593c7,_0x58d87c,_0x7e1beb){return _0x2fd7af(_0x3593c7-_0x1c5774._0x8ef142,_0x3593c7-0xd7,_0x36471b,_0x7e1beb-_0x1c5774._0x24ed39);}const _0x375f71=_0x5105ad[_0xe15e79(-0x32e,-_0x51ec97._0x29e6a0,-0x282,-0x227)](/\n$/,'');return _0x375f71[_0x2f90a3(_0x51ec97._0x84f295,_0x51ec97._0x51222b,_0x51ec97._0x5d0f63,0x2a6)]===0x0?0x0:_0x375f71[_0xe15e79(-0xb0,-0x50,-_0x51ec97._0x2a2f67,_0x51ec97._0x216858)]('\x0a')[_0xe15e79(-0x99,-0x93,-_0x51ec97._0x53ddec,-_0x51ec97._0x570efd)];}function calculateLineNumbers(_0x4fbca1,_0x4b2f7f,_0x2002c7,_0x3bdc98){const _0x39dde8={_0x381d02:0x42a,_0x50a4b8:0x32b,_0x5aca14:0x3ab,_0x312e6f:0x42e},_0x598e85={_0x3a7b7e:0xe3,_0x444965:0x104},_0x2bde97={_0x5be002:0x1a1,_0x20828f:0x325},_0x2d5e67=_0x4fbca1[_0x226def(_0x39dde8._0x381d02,0x35f,0x3d2,0x32a)](0x0,_0x3bdc98)[_0x226def(_0x39dde8._0x50a4b8,_0x39dde8._0x5aca14,0x39c,_0x39dde8._0x312e6f)]('\x0a')['length'],_0x17d7b3=countLines(_0x4b2f7f);function _0x226def(_0x209366,_0x4ab85a,_0x550ae4,_0x2b2a86){return _0x278b49(_0x209366-_0x2bde97._0x5be002,_0x4ab85a-0x4b,_0x2b2a86-_0x2bde97._0x20828f,_0x550ae4);}const _0x5455c0=countLines(_0x2002c7);function _0x4145af(_0x3ad417,_0x384a7c,_0x19e82f,_0x53bd5f){return _0x2fd7af(_0x19e82f-_0x598e85._0x3a7b7e,_0x384a7c-0x1e7,_0x384a7c,_0x53bd5f-_0x598e85._0x444965);}return{'oldStartLine':_0x2d5e67,'oldEndLine':_0x2d5e67+_0x17d7b3-0x1,'newStartLine':_0x2d5e67,'newEndLine':_0x2d5e67+_0x5455c0-0x1,'oldLineCount':_0x17d7b3,'newLineCount':_0x5455c0};}function createFileEditTool(_0x48d5f3={}){const _0x1c4a39={_0x317ad1:0x275,_0x524824:0x130,_0x4e775b:0x15e,_0x6b9846:0x21c,_0x2b09d6:0xde,_0x4bf0f5:0x218,_0x3ee472:0x14b,_0x3484fb:0x647,_0x35a0e0:0x6a8,_0x5d3424:0x729,_0x39bc41:0x4d9,_0x12f0e8:0x48f,_0x580275:0x5d1,_0x561457:0x699,_0x45240c:0x560,_0x2e068c:0x189,_0x41d143:0x123,_0x49c4a1:0x163,_0x5e0c7f:0x4df,_0x21d625:0x666,_0x4e543a:0x650,_0x1af615:0x48,_0x5ca3f8:0xe5,_0x254cd6:0x516,_0x2cb287:0x56d,_0x2c2cd0:0x61f,_0x5e0758:0x55c,_0x12f747:0x6e,_0x3ca3cb:0xcf,_0x55f391:0x64,_0x2ff092:0x571,_0x442826:0x15,_0x140786:0x609,_0x51472e:0x78e,_0xe65879:0x7de,_0x3b5fbd:0x750},_0x46163f={_0x3f0608:0x1c1,_0x17ce17:0xc5,_0x3d9463:0xce,_0x48b0b9:0x71,_0x185fbf:0x512,_0x568eb7:0x40d,_0x342669:0x377,_0x57b076:0x267,_0x1c0318:0x270,_0x522269:0x101,_0x25f509:0x4df,_0x52580b:0x559,_0x3bc04b:0x549,_0x5309aa:0x284,_0x6941b0:0x27d,_0x297130:0x2da,_0x368f11:0x2,_0x417347:0x93,_0x59a461:0x1ef,_0xf4e8e9:0xdc,_0x22ef9f:0x547,_0x31ca05:0x2a2,_0x46a39b:0x36,_0x10a870:0xcb,_0x26c815:0x191,_0xe21e59:0x1c9,_0x1ca6cb:0x2d3,_0x95757b:0x1bd,_0x397999:0x3c5,_0x4f2b2b:0x3e7,_0x58c73e:0xf,_0x385216:0x35,_0x349089:0x18b,_0xbbdb7:0xb2,_0x55080a:0x6b,_0x10932f:0x54,_0x538f69:0x12f,_0x48103a:0x6,_0x382fbe:0x426,_0x15a1be:0x537,_0x3cd5d1:0x174,_0x353cb0:0x95},_0x1620e5={_0x1ffb2c:0xbb,_0x18461f:0x22a},_0x251736={_0x523250:0x6b6},_0x54d76c={_0xe11f3f:0x8b};function _0x5c75ff(_0x3691a3,_0x4834e0,_0x1842ac,_0x23a2c9){return _0x2fd7af(_0x1842ac-_0x54d76c._0xe11f3f,_0x4834e0-0x1d1,_0x3691a3,_0x23a2c9-0x1e3);}const _0xf8edb7=_0x1aa431[_0x5c75ff(0x279,_0x1c4a39._0x317ad1,_0x1c4a39._0x524824,_0x1c4a39._0x4e775b)](_0x48d5f3[_0x5c75ff(_0x1c4a39._0x6b9846,-0x25,_0x1c4a39._0x2b09d6,_0x1c4a39._0x4bf0f5)]??process[_0x5c75ff(-0x19e,-_0x1c4a39._0x3ee472,-0xbd,-0x1d7)]());function _0x58605e(_0x1a2b3d,_0x2dc221,_0x53cdff,_0xa741ee){return _0x2fd7af(_0xa741ee-_0x251736._0x523250,_0x2dc221-0x197,_0x53cdff,_0xa741ee-0x122);}const _0x15bbf5=(_0x48d5f3[_0x58605e(_0x1c4a39._0x3484fb,0x7a5,_0x1c4a39._0x35a0e0,_0x1c4a39._0x5d3424)]??[])[_0x58605e(0x70d,_0x1c4a39._0x39bc41,_0x1c4a39._0x12f0e8,0x5d7)](_0x1452c5=>_0x1aa431[_0x58605e(0x78b,0x6e4,0x655,0x75b)](_0x1452c5)),_0x88c3e3=_0x48d5f3[_0x58605e(_0x1c4a39._0x580275,_0x1c4a39._0x561457,0x4b5,_0x1c4a39._0x45240c)]??_0x5c75ff(-0x237,-_0x1c4a39._0x2e068c,-_0x1c4a39._0x41d143,-_0x1c4a39._0x49c4a1);return defineTool({'name':_0x88c3e3,'description':_0x58605e(_0x1c4a39._0x5e0c7f,_0x1c4a39._0x21d625,_0x1c4a39._0x4e543a,0x527),'inputSchema':{'type':_0x5c75ff(-_0x1c4a39._0x1af615,-0x50,0xa9,_0x1c4a39._0x5ca3f8),'properties':{'filePath':{'type':_0x58605e(_0x1c4a39._0x254cd6,_0x1c4a39._0x2cb287,_0x1c4a39._0x2c2cd0,_0x1c4a39._0x5e0758)},'oldText':{'type':_0x5c75ff(-0x35,_0x1c4a39._0x12f747,-_0x1c4a39._0x3ca3cb,-_0x1c4a39._0x55f391)},'newText':{'type':_0x58605e(_0x1c4a39._0x2ff092,0x5ae,0x527,0x55c)},'dryRun':{'type':_0x5c75ff(-0x121,-0x19,_0x1c4a39._0x442826,0x133)}},'required':['filePath',_0x58605e(0x65d,0x57e,_0x1c4a39._0x140786,0x517),_0x58605e(_0x1c4a39._0x51472e,0x81b,_0x1c4a39._0xe65879,_0x1c4a39._0x3b5fbd)]},async *'execute'(_0x41ab1c){function _0x1a603a(_0x502c86,_0x94637,_0xdab4a4,_0x412c23){return _0x5c75ff(_0x412c23,_0x94637-0x138,_0x94637-0x9b,_0x412c23-0x1d5);}const _0x14406b=resolveAllowedPath(_0xf8edb7,_0x15bbf5,_0x41ab1c[_0x1a603a(-_0x46163f._0x3f0608,-0x93,-_0x46163f._0x17ce17,-0x19a)]);function _0x5d4409(_0x319b48,_0x1613d6,_0x3aff16,_0x3fb808){return _0x58605e(_0x319b48-_0x1620e5._0x1ffb2c,_0x1613d6-0x132,_0x319b48,_0x3aff16- -_0x1620e5._0x18461f);}await assertWorkspaceFile(_0x14406b);const _0x43f07a=await _0x34e6bf(_0x14406b),_0x51865c=await _0x25a8be(_0x14406b),_0x34e790=detectEol(_0x51865c),_0x12ea04=normalizeToLf(_0x51865c[_0x1a603a(_0x46163f._0x3d9463,_0x46163f._0x48b0b9,0x103,0x6)](_0x5d4409(_0x46163f._0x185fbf,_0x46163f._0x568eb7,0x428,_0x46163f._0x342669))),_0x27f728=normalizeToLf(_0x41ab1c[_0x5d4409(0x32c,_0x46163f._0x57b076,0x2ed,0x2f8)]),_0x5a72a2=normalizeToLf(_0x41ab1c[_0x1a603a(0x117,0x1c0,_0x46163f._0x1c0318,_0x46163f._0x522269)]),_0x550695=_0x12ea04[_0x5d4409(_0x46163f._0x25f509,0x5c1,_0x46163f._0x52580b,_0x46163f._0x3bc04b)](_0x27f728);if(_0x550695===-0x1){const _0x4ab0c2=_0x27f728['slice'](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError(_0x1a603a(_0x46163f._0x5309aa,0x1cc,_0x46163f._0x6941b0,_0x46163f._0x297130)+_0x4ab0c2+(_0x27f728['length']>0x64?'...':'')+'\x22',{'filePath':_0x41ab1c[_0x1a603a(-_0x46163f._0x368f11,-_0x46163f._0x417347,-0x137,0x6b)]});}const _0x7f60b3=_0x12ea04[_0x1a603a(0x197,0xdc,0x3c,_0x46163f._0x59a461)](0x0,_0x550695)+_0x5a72a2+_0x12ea04[_0x1a603a(0x1df,_0x46163f._0xf4e8e9,0x8c,0x13b)](_0x550695+_0x27f728[_0x5d4409(0x4bb,0x408,0x420,0x4f8)]),_0x5656f9=convertEol(_0x7f60b3,_0x34e790),_0x4d0b24=Buffer['from'](_0x5656f9,'utf8'),_0x5a283d=sha256(_0x51865c),_0xf93b53=sha256(_0x4d0b24),_0x426836=_0x5a283d===_0xf93b53,_0x7a4f4d=_0x41ab1c['dryRun']??![];return!_0x7a4f4d&&!_0x426836&&await atomicWrite(_0x14406b,_0x4d0b24),yield createToolOutput(_0x426836?_0x5d4409(0x60f,0x60b,_0x46163f._0x22ef9f,0x609):_0x7a4f4d?_0x1a603a(0x23e,0x15d,_0x46163f._0x31ca05,_0x46163f._0x46a39b):_0x1a603a(0x17,-0x46,0x88,_0x46163f._0x10a870),{'filePath':_0x41ab1c[_0x5d4409(_0x46163f._0x26c815,_0x46163f._0xe21e59,_0x46163f._0x1ca6cb,_0x46163f._0x95757b)],'resolvedPath':_0x14406b,'created':_0x43f07a[_0x5d4409(_0x46163f._0x397999,0x42b,_0x46163f._0x4f2b2b,0x4b1)][_0x1a603a(-0x73,0xb2,-_0x46163f._0x58c73e,0x1f5)](),'modified':_0x43f07a[_0x1a603a(-0x8,_0x46163f._0x385216,0x145,0x4f)][_0x1a603a(_0x46163f._0x349089,_0x46163f._0xbbdb7,_0x46163f._0x55080a,0x187)](),'size':_0x43f07a[_0x1a603a(-0x112,-_0x46163f._0x10932f,-_0x46163f._0x538f69,-_0x46163f._0x48103a)],'eol':_0x34e790,'oldTextLength':_0x27f728['length'],'newTextLength':_0x5a72a2[_0x5d4409(0x37d,_0x46163f._0x382fbe,0x420,_0x46163f._0x15a1be)],'bytesWritten':_0x426836||_0x7a4f4d?0x0:_0x4d0b24[_0x1a603a(_0x46163f._0x3cd5d1,0xba,_0x46163f._0x353cb0,0x4c)],'beforeSha':_0x5a283d,'afterSha':_0xf93b53,'dryRun':_0x7a4f4d,'noChange':_0x426836,'lineNumbers':calculateLineNumbers(_0x12ea04,_0x27f728,_0x5a72a2,_0x550695)}),void 0x0;}});}import{mkdir as _0x4be4ea,rename as _0x484bc1,stat as _0x25eed3,writeFile as _0xfa9d25}from'fs/promises';import*as _0xb18eea from'path';async function atomicWrite2(_0x5d42e6,_0x58441f){const _0x4eb19f={_0x19374b:0x5e1,_0x2d619c:0x5f0,_0x368eba:0x650,_0x5938bb:0x5de,_0x458ced:0x600,_0x28c308:0x9d,_0x3185cd:0x616,_0x3bcbce:0x66d,_0xeb86b5:0x5a0,_0x2b359d:0x4d6,_0x81b317:0x572},_0x3ec414={_0x27f049:0xb7,_0x5c2988:0x54},_0x3b2fd6=_0xb18eea[_0x26885b(0x507,_0x4eb19f._0x19374b,0x6f7,_0x4eb19f._0x2d619c)](_0x5d42e6);function _0x4d61e7(_0x161b4d,_0x502c68,_0x553a06,_0x5c3ae8){return _0x278b49(_0x161b4d-0x54,_0x502c68-0xa8,_0x5c3ae8-0x1de,_0x502c68);}function _0x26885b(_0x3e73f9,_0x1cafb5,_0x4e761f,_0xbfcdb6){return _0x278b49(_0x3e73f9-_0x3ec414._0x27f049,_0x1cafb5-_0x3ec414._0x5c2988,_0x1cafb5-0x5b6,_0xbfcdb6);}await _0x4be4ea(_0x3b2fd6,{'recursive':!![]});const _0x42994c=_0xb18eea[_0x26885b(_0x4eb19f._0x368eba,0x5a8,0x4c0,0x686)](_0x3b2fd6,_0x26885b(0x739,0x627,_0x4eb19f._0x5938bb,_0x4eb19f._0x458ced)+_0xb18eea[_0x4d61e7(-0x37,-0x52,0xcf,_0x4eb19f._0x28c308)](_0x5d42e6)+'.'+Date[_0x26885b(_0x4eb19f._0x3185cd,_0x4eb19f._0x3bcbce,0x79c,_0x4eb19f._0xeb86b5)]()+'.'+Math[_0x26885b(0x62d,0x632,0x660,0x5d6)]()[_0x26885b(_0x4eb19f._0x2b359d,0x550,_0x4eb19f._0x81b317,0x5ce)](0x24)['slice'](0x2));await _0xfa9d25(_0x42994c,_0x58441f),await _0x484bc1(_0x42994c,_0x5d42e6);}function createFileNewTool(_0x3177c3={}){const _0x2a623f={_0x494197:0x2ab,_0x45b46e:0xac,_0x37046e:0x87,_0x1e0479:0x16,_0x503756:0x24,_0x254230:0x9a,_0x32d401:0x246,_0x172d67:0x162,_0xbe182d:0x2f6,_0x13a65f:0x1e7,_0x3025b7:0x1c1,_0x40702e:0x247,_0x1c6e07:0x1db},_0x5e1468={_0x456fc2:0x1b0,_0x31b875:0x2fc,_0x2027d4:0x247,_0x36a6dc:0xd8,_0x36482e:0x137,_0x6e59a6:0xa2,_0x40fb35:0x240,_0x4e0ec9:0xfa,_0x3da74a:0x116,_0x366e52:0x1e9,_0xeeb4be:0x28f,_0x4a36dd:0x1fe,_0x4596b0:0x189,_0x225136:0x364,_0x41f69e:0x1f3,_0x2ad93f:0x253,_0x44aba3:0x1b,_0x16f851:0x20a,_0x1965f4:0x1a,_0x34dba9:0x4c,_0x4afa23:0x9d,_0x1f3689:0x13},_0x478065={_0x39c273:0x429},_0x406c84={_0x4a0362:0x38a,_0x3e8d6b:0x126},_0x55d5a0={_0x450f1d:0x8,_0x176730:0x5c};function _0x5006c6(_0x406f41,_0x450029,_0x5f4230,_0x365682){return _0x2fd7af(_0x5f4230- -_0x55d5a0._0x450f1d,_0x450029-_0x55d5a0._0x176730,_0x365682,_0x365682-0x92);}const _0x4638f3=_0xb18eea[_0x5006c6(-0xc,0x12a,0x9d,-0xd)](_0x3177c3['defaultCwd']??process['cwd']()),_0x83483b=(_0x3177c3['allowedDirs']??[])[_0x295747(0x267,0x35e,0x2b2,_0x2a623f._0x494197)](_0x44b648=>_0xb18eea[_0x295747(0x3a3,0x551,0x39d,0x42f)](_0x44b648));function _0x295747(_0xd39842,_0xbf52e3,_0x1dedd2,_0xb71b1d){return _0x2fd7af(_0xb71b1d-_0x406c84._0x4a0362,_0xbf52e3-0x18b,_0x1dedd2,_0xb71b1d-_0x406c84._0x3e8d6b);}const _0x5e1e34=_0x3177c3['name']??'FileNew';return defineTool({'name':_0x5e1e34,'description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x5006c6(-_0x2a623f._0x45b46e,-_0x2a623f._0x37046e,_0x2a623f._0x1e0479,_0x2a623f._0x503756),'properties':{'filePath':{'type':'string'},'content':{'type':_0x5006c6(-_0x2a623f._0x254230,-_0x2a623f._0x32d401,-_0x2a623f._0x172d67,-0xf1)}},'required':[_0x5006c6(-_0x2a623f._0xbe182d,-_0x2a623f._0x13a65f,-_0x2a623f._0x3025b7,-_0x2a623f._0x40702e),_0x5006c6(-_0x2a623f._0x1c6e07,-0x1dc,-0x1a9,-0x222)]},async *'execute'(_0x11d966){const _0x2da750=resolveAllowedPath(_0x4638f3,_0x83483b,_0x11d966[_0x7ceb32(-_0x5e1468._0x456fc2,-_0x5e1468._0x31b875,-0x26b,-_0x5e1468._0x2027d4)]);function _0x2355e3(_0x304089,_0x3c5ea0,_0x1dfb21,_0x12a2cb){return _0x295747(_0x304089-0x15f,_0x3c5ea0-0x10f,_0x1dfb21,_0x304089- -_0x478065._0x39c273);}const _0x274fd3=await _0x25eed3(_0x2da750)[_0x2355e3(-0x153,-_0x5e1468._0x36a6dc,-0x126,-0x279)](()=>!![])[_0x2355e3(-0x213,-_0x5e1468._0x36482e,-0x339,-0x196)](()=>![]),_0x1b4f0a=Buffer[_0x7ceb32(-0x1d,-0x9b,-0x82,_0x5e1468._0x6e59a6)](_0x11d966[_0x2355e3(-_0x5e1468._0x40fb35,-0x133,-0x326,-_0x5e1468._0x4e0ec9)],_0x7ceb32(-0x1f6,-0x20d,-_0x5e1468._0x3da74a,-_0x5e1468._0x366e52));function _0x7ceb32(_0x212e7a,_0x24d41d,_0x2271c2,_0x13527a){return _0x295747(_0x212e7a-0x1eb,_0x24d41d-0x16,_0x212e7a,_0x2271c2- -0x43c);}return await atomicWrite2(_0x2da750,_0x1b4f0a),yield createToolOutput('File\x20written\x20at\x20'+_0x11d966[_0x7ceb32(-0x3ac,-_0x5e1468._0xeeb4be,-0x26b,-0x1cd)]+'.',{'filePath':_0x11d966[_0x2355e3(-0x258,-_0x5e1468._0x4a36dd,-0x2eb,-_0x5e1468._0x4596b0)],'resolvedPath':_0x2da750,'bytes':_0x1b4f0a['length'],'lines':_0x11d966[_0x7ceb32(-_0x5e1468._0x225136,-_0x5e1468._0x41f69e,-_0x5e1468._0x2ad93f,-0x278)][_0x2355e3(_0x5e1468._0x44aba3,0x58,-0xbe,0xf6)](/\r?\n/)[_0x2355e3(-0x10b,0x38,-_0x5e1468._0x16f851,_0x5e1468._0x1965f4)],'created':new Date()[_0x7ceb32(-_0x5e1468._0x34dba9,-_0x5e1468._0x4afa23,-0x126,-_0x5e1468._0x1f3689)](),'overwritten':_0x274fd3}),void 0x0;}});}import{readFile as _0x4c3a4f,stat as _0x51c3b6}from'fs/promises';import*as _0x522e63 from'path';function stripUtfBom(_0x241edc){const _0x85ee6d={_0xedeaef:0x406,_0x3621be:0x49b};function _0x374434(_0x171794,_0x2c8c2f,_0x2b64fd,_0x476d02){return _0x2fd7af(_0x476d02-0x445,_0x2c8c2f-0x23,_0x2b64fd,_0x476d02-0x4a);}return _0x241edc[_0x374434(0x451,_0x85ee6d._0xedeaef,0x37b,_0x85ee6d._0x3621be)](0x0)===0xfeff?_0x241edc['slice'](0x1):_0x241edc;}function clampLine(_0x441330,_0x3123a0){const _0x498434={_0x1131c4:0x5b7,_0x50631c:0x4f5,_0x5a1a8b:0x6a,_0x26f092:0x88,_0x87588f:0x1b4,_0x31ea6b:0xa2,_0x17bbbc:0x4d8,_0x5b079f:0x5df},_0x1ca42d={_0x204384:0xc7},_0x209637={_0x4acbe4:0x127};if(!Number[_0x2f8435(_0x498434._0x1131c4,0x542,_0x498434._0x50631c,0x558)](_0x441330))return 0x1;function _0x2f8435(_0x3a169b,_0x19f8b1,_0x4130a8,_0x4d5faa){return _0x2fd7af(_0x3a169b-0x671,_0x19f8b1-_0x209637._0x4acbe4,_0x4d5faa,_0x4d5faa-0x83);}function _0x3b1313(_0x155cd6,_0x4cdca8,_0x240240,_0xee0211){return _0x278b49(_0x155cd6-0x1bb,_0x4cdca8-0x182,_0xee0211-_0x1ca42d._0x204384,_0x240240);}return Math[_0x3b1313(0x4,-0xb9,0x4a,-_0x498434._0x5a1a8b)](0x1,Math[_0x3b1313(_0x498434._0x26f092,-0xf1,-_0x498434._0x87588f,-_0x498434._0x31ea6b)](Math[_0x2f8435(_0x498434._0x17bbbc,0x3a7,0x505,_0x498434._0x5b079f)](_0x441330),_0x3123a0));}function createFileReadTool(_0x407686={}){const _0x4bc3da={_0x3e31c8:0x341,_0x57ced3:0x425,_0x222c9c:0x31d,_0xd3f466:0x544,_0x3288d0:0xb1,_0x48f297:0x2f5,_0x23b617:0x3eb,_0x397944:0x332,_0x5a2c94:0x239,_0x2c357c:0x1d6,_0x54bd42:0x1d1,_0x38429c:0x380,_0x23fe52:0x2d9,_0x332e3e:0x40c,_0x403d30:0x3ac,_0x312ede:0x417,_0x288810:0x4f1,_0x28eb54:0x274,_0x4e6226:0x2fe,_0x2739d9:0x348,_0x151dc9:0x3dd},_0x1fc849={_0x4ed272:0xf1,_0x2ba611:0x3f,_0x43a951:0x165,_0x437b29:0x287,_0x13164a:0x313,_0xbe1372:0x5a5,_0x54e68d:0x650,_0x460b03:0x519,_0x4a0918:0x544,_0x15203a:0x6ae,_0x2e8557:0x680,_0x58c99c:0x651,_0x1bf605:0x6f1,_0x553377:0x794,_0x272783:0x65a,_0x1577d0:0x8ca,_0x1ca8d3:0x72b,_0x558d4a:0x78f,_0x55c395:0x183,_0x5756b5:0x21a,_0x44afbb:0x5b8,_0x297705:0x67a,_0x586edf:0x6e0,_0x1fab20:0x722,_0x577a8d:0x233,_0x427a32:0x11d,_0x183bba:0x2c6,_0xd564b7:0x1b9,_0x1a6056:0x50,_0x29405a:0x22f,_0x5c47ba:0x11c,_0x34dc61:0x2ae,_0x127f89:0x1f7,_0x3dfb77:0x241,_0x4799d3:0x4af,_0x116f36:0x64b,_0x392434:0x9c,_0x5c4918:0x29d,_0x3a973:0x70,_0x3fee28:0x1a9,_0x4de50e:0x1e2,_0xa5ab2f:0x5ff,_0x22bf82:0x555,_0xbd35d4:0xa7,_0x4c49a4:0x23e,_0x458f0d:0x7b8},_0x25d88d={_0x2a2fb3:0x5d},_0x3b8fa1={_0x4a3c6e:0x3d6,_0x1c7e40:0x163};function _0x13b1d0(_0x4badb5,_0x491680,_0x47e667,_0x27ebcf){return _0x2fd7af(_0x491680-_0x3b8fa1._0x4a3c6e,_0x491680-0x153,_0x47e667,_0x27ebcf-_0x3b8fa1._0x1c7e40);}const _0x51b34f=_0x522e63[_0x13b1d0(_0x4bc3da._0x3e31c8,0x47b,0x570,_0x4bc3da._0x57ced3)](_0x407686[_0x13b1d0(_0x4bc3da._0x222c9c,0x429,_0x4bc3da._0xd3f466,0x488)]??process[_0x693f32(0x120,0x1b2,_0x4bc3da._0x3288d0,_0x4bc3da._0x48f297)]()),_0xa9776e=(_0x407686[_0x693f32(0x283,0x36d,0x495,_0x4bc3da._0x23b617)]??[])[_0x13b1d0(_0x4bc3da._0x397944,0x2f7,0x3a3,_0x4bc3da._0x5a2c94)](_0x5dbd47=>_0x522e63['resolve'](_0x5dbd47));function _0x693f32(_0x45ce,_0x1ec79c,_0x207148,_0x50e137){return _0x2fd7af(_0x1ec79c-0x2fa,_0x1ec79c-0x1f1,_0x50e137,_0x50e137-0x115);}const _0x564e12=_0x407686[_0x13b1d0(0x1bb,0x280,_0x4bc3da._0x2c357c,_0x4bc3da._0x54bd42)]??_0x13b1d0(_0x4bc3da._0x38429c,_0x4bc3da._0x23fe52,0x22a,_0x4bc3da._0x332e3e);return defineTool({'name':_0x564e12,'description':'Read\x20a\x20UTF-8\x20text\x20file\x20from\x20the\x20workspace\x20or\x20allowed\x20directories.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd)','inputSchema':{'type':_0x13b1d0(_0x4bc3da._0x403d30,0x3f4,_0x4bc3da._0x312ede,_0x4bc3da._0x288810),'properties':{'path':{'type':'string'},'lineStart':{'type':_0x693f32(_0x4bc3da._0x28eb54,0x374,_0x4bc3da._0x4e6226,0x2b5)},'lineEnd':{'type':'number'}},'required':[_0x13b1d0(0x26d,_0x4bc3da._0x2739d9,0x3af,_0x4bc3da._0x151dc9)]},async *'execute'(_0x29d5fa){const _0x35dbac={_0x1f8d07:0xa1,_0x571a79:0x1e3,_0x325a89:0x30},_0x118882=resolveAllowedPath(_0x51b34f,_0xa9776e,_0x29d5fa[_0x380bb3(_0x1fc849._0x4ed272,_0x1fc849._0x2ba611,_0x1fc849._0x43a951,0x166)]);await assertWorkspaceFile(_0x118882);function _0x38df81(_0x10ea61,_0x3dcaee,_0x56492e,_0x588820){return _0x693f32(_0x10ea61-_0x25d88d._0x2a2fb3,_0x3dcaee-0x3e4,_0x56492e-0x195,_0x588820);}const _0x5c2455=await _0x51c3b6(_0x118882),_0x33696e=await _0x4c3a4f(_0x118882);if(isProbablyBinary(_0x33696e))throw new ToolExecutionError(_0x380bb3(0x188,0x143,_0x1fc849._0x437b29,_0x1fc849._0x13164a)+_0x29d5fa[_0x38df81(_0x1fc849._0xbe1372,_0x1fc849._0x54e68d,_0x1fc849._0x460b03,_0x1fc849._0x4a0918)],{'path':_0x29d5fa['path']});let _0x17e61a=_0x33696e[_0x38df81(_0x1fc849._0x15203a,0x629,0x4e8,0x550)](_0x38df81(_0x1fc849._0x2e8557,0x67a,_0x1fc849._0x58c99c,0x61f));const _0x1b0b80=_0x17e61a[_0x38df81(0x68f,0x734,_0x1fc849._0x1bf605,_0x1fc849._0x553377)](0x0)===0xfeff;_0x17e61a=stripUtfBom(_0x17e61a);const _0x4debb9=_0x17e61a[_0x38df81(0x69a,0x798,_0x1fc849._0x272783,_0x1fc849._0x1577d0)](/\r?\n/),_0x4c4e5d={'path':_0x29d5fa['path'],'resolvedPath':_0x118882,'created':_0x5c2455['birthtime'][_0x38df81(_0x1fc849._0x1ca8d3,0x66a,_0x1fc849._0x558d4a,0x766)](),'modified':_0x5c2455['mtime'][_0x380bb3(_0x1fc849._0x55c395,0x1d5,0x17f,_0x1fc849._0x5756b5)](),'size':_0x5c2455[_0x38df81(0x583,0x564,0x4c3,0x63f)],'encoding':_0x38df81(_0x1fc849._0x44afbb,_0x1fc849._0x297705,_0x1fc849._0x586edf,_0x1fc849._0x1fab20),'bomStripped':_0x1b0b80,'truncated':![],'totalLines':_0x4debb9['length']};if(_0x29d5fa[_0x380bb3(_0x1fc849._0x577a8d,_0x1fc849._0x427a32,0x184,0x14a)]!==void 0x0||_0x29d5fa['lineEnd']!==void 0x0){const _0x2a17a2=clampLine(_0x29d5fa[_0x380bb3(_0x1fc849._0x183bba,_0x1fc849._0xd564b7,0x184,0xe1)]??0x1,_0x4debb9[_0x380bb3(_0x1fc849._0x1a6056,0x2a8,0x187,_0x1fc849._0x29405a)]),_0x26e616=clampLine(_0x29d5fa[_0x380bb3(_0x1fc849._0x5c47ba,_0x1fc849._0x34dc61,_0x1fc849._0x127f89,0x14e)]??_0x4debb9[_0x380bb3(0x96,0x222,0x187,_0x1fc849._0x3dfb77)],_0x4debb9['length']),_0xb4a9ac=Math[_0x38df81(_0x1fc849._0x4799d3,0x526,_0x1fc849._0x116f36,0x597)](_0x2a17a2,_0x26e616),_0x4a30b0=Math[_0x380bb3(0x148,0x168,0x73,_0x1fc849._0x392434)](_0x2a17a2,_0x26e616),_0x2f52d0=_0x4debb9[_0x380bb3(_0x1fc849._0x5c4918,_0x1fc849._0x3a973,_0x1fc849._0x3fee28,_0x1fc849._0x4de50e)](_0xb4a9ac-0x1,_0x4a30b0)[_0x38df81(0x6f1,_0x1fc849._0xa5ab2f,_0x1fc849._0x22bf82,0x586)]((_0x3de64d,_0x213e5f)=>_0xb4a9ac+_0x213e5f+'|'+_0x3de64d)[_0x380bb3(_0x1fc849._0xbd35d4,0x21e,0x196,_0x1fc849._0x4c49a4)]('\x0a');return yield createToolOutput(_0x2f52d0,{..._0x4c4e5d,'lineRange':{'lineStart':_0xb4a9ac,'lineEnd':_0x4a30b0,'linesTotal':_0x4debb9[_0x38df81(0x622,0x672,_0x1fc849._0x458f0d,0x58a)]}}),void 0x0;}yield createToolOutput(_0x17e61a,_0x4c4e5d);function _0x380bb3(_0x132a80,_0x1bf309,_0xdde09,_0x22d21b){return _0x13b1d0(_0x132a80-_0x35dbac._0x1f8d07,_0xdde09- -_0x35dbac._0x571a79,_0x132a80,_0x22d21b-_0x35dbac._0x325a89);}return void 0x0;}});}import{stat as _0x25bf03}from'fs/promises';import*as _0x201c64 from'path';import{execSync,spawn as _0x2eb474}from'child_process';import{existsSync}from'fs';import{stat as _0x45b2c5}from'fs/promises';import*as _0x3087bf from'os';import*as _0x231028 from'path';import{rgPath as _0x56d751}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x1fda1d={_0x16010b:0x624,_0x45b37f:0x4e2,_0x946345:0x69f,_0x2d010b:0x619,_0x25314b:0x4dd,_0x5b54e5:0x4b5,_0x5b963f:0x54d,_0x4c74d8:0x61e,_0x66d7b6:0x451,_0x212f7a:0x5c7,_0x5c5a0d:0x540,_0x4f3f25:0x5ec,_0x1c59de:0x648,_0x5e0aea:0x629,_0x30f827:0x5a5,_0x447f8d:0x53a,_0x289677:0x74c,_0x20c2fc:0x633,_0xf01c28:0x5fc,_0x2b6797:0x5cd,_0x48b8cd:0x81c,_0x3d470b:0x433,_0xb673a3:0x3fa,_0x516133:0x520,_0x445fe2:0x75d,_0x5a990b:0x71c,_0x58eb3e:0x81b,_0x10bf97:0x3d9,_0x5b9107:0x39c,_0x11c920:0x5a3,_0x29249f:0x5f3,_0x43b056:0x5ed,_0x49b4a1:0x41e,_0x1104fa:0x552,_0x28a153:0x5a7,_0x16d0b5:0x566,_0x4b580f:0x626,_0x270b0b:0x5b3,_0x23908c:0x539},_0x3281cf={_0x14397d:0xca},_0x10a519=_0x3087bf[_0x5eed44(0x462,0x589,_0x1fda1d._0x16010b,_0x1fda1d._0x45b37f)]()===_0x5eed44(_0x1fda1d._0x946345,_0x1fda1d._0x2d010b,0x522,0x5be),_0x5e9577=_0x10a519?[_0x231028[_0x5eed44(_0x1fda1d._0x25314b,0x50f,_0x1fda1d._0x5b54e5,_0x1fda1d._0x5b963f)](process[_0x25f38e(0x792,0x6de,_0x1fda1d._0x4c74d8,0x76a)]['LOCALAPPDATA']||'',_0x5eed44(0x5c3,0x4a2,0x43a,0x50b),'WinGet','Packages'),_0x231028[_0x5eed44(0x5bf,0x50f,0x4dc,_0x1fda1d._0x66d7b6)](process['env']['ProgramFiles']||'',_0x5eed44(_0x1fda1d._0x212f7a,_0x1fda1d._0x5c5a0d,0x4ad,0x648),_0x25f38e(0x5fd,0x659,_0x1fda1d._0x4f3f25,0x664)),_0x231028[_0x25f38e(0x5e2,_0x1fda1d._0x1c59de,0x623,_0x1fda1d._0x5e0aea)](process[_0x5eed44(0x4fd,_0x1fda1d._0x30f827,_0x1fda1d._0x447f8d,0x542)][_0x25f38e(_0x1fda1d._0x289677,_0x1fda1d._0x20c2fc,0x557,_0x1fda1d._0xf01c28)]||'',_0x25f38e(0x7ad,0x679,_0x1fda1d._0x2b6797,0x69f),'rg.exe')]:['/opt/homebrew/bin/rg','/usr/local/bin/rg',_0x25f38e(_0x1fda1d._0x48b8cd,0x751,0x82a,0x6ae),_0x5eed44(_0x1fda1d._0x3d470b,0x492,_0x1fda1d._0xb673a3,_0x1fda1d._0x516133)];function _0x5eed44(_0x521625,_0xaf1d18,_0x4aedd0,_0x29e77f){return _0x278b49(_0x521625-0x143,_0xaf1d18-_0x3281cf._0x14397d,_0xaf1d18-0x51d,_0x29e77f);}function _0x25f38e(_0x516377,_0x411b3a,_0x15cbe2,_0x4bbb53){return _0x2fd7af(_0x411b3a-0x6a5,_0x411b3a-0x45,_0x4bbb53,_0x4bbb53-0xee);}for(const _0x1c2773 of _0x5e9577){if(existsSync(_0x1c2773))return _0x1c2773;}try{const _0x4e927b=_0x10a519?_0x25f38e(0x65c,0x689,0x76d,0x609):_0x25f38e(0x82d,_0x1fda1d._0x445fe2,_0x1fda1d._0x5a990b,_0x1fda1d._0x58eb3e),_0x1561c5=execSync(_0x4e927b,{'encoding':'utf8','stdio':[_0x5eed44(0x526,0x49a,_0x1fda1d._0x10bf97,_0x1fda1d._0x5b9107),_0x25f38e(_0x1fda1d._0x11c920,0x5d3,0x58e,_0x1fda1d._0x29249f),_0x25f38e(0x512,0x522,_0x1fda1d._0x43b056,_0x1fda1d._0x49b4a1)]})[_0x25f38e(0x711,0x5e6,_0x1fda1d._0x1104fa,_0x1fda1d._0x28a153)]()[_0x5eed44(_0x1fda1d._0x16d0b5,_0x1fda1d._0x4b580f,_0x1fda1d._0x270b0b,_0x1fda1d._0x23908c)](/\r?\n/)[0x0];if(_0x1561c5&&existsSync(_0x1561c5))return _0x1561c5;}catch{return null;}return null;}async function filepath(){const _0x3ed7a7={_0x48b1da:0x1e0,_0x51ede8:0x384},_0x502dc0={_0x21812c:0x175,_0xf92640:0xf5};if(cachedRgPath)return cachedRgPath;if(_0x56d751&&existsSync(_0x56d751))return cachedRgPath=_0x56d751,_0x56d751;const _0x47f61f=findSystemRipgrep();function _0x2f8d57(_0x4b6acb,_0x5ca22c,_0x3e4355,_0x368af5){return _0x2fd7af(_0x368af5-_0x502dc0._0x21812c,_0x5ca22c-_0x502dc0._0xf92640,_0x4b6acb,_0x368af5-0x193);}if(!_0x47f61f)throw new Error(_0x2f8d57(_0x3ed7a7._0x48b1da,_0x3ed7a7._0x51ede8,0x2e1,0x23d));return cachedRgPath=_0x47f61f,_0x47f61f;}async function*files(_0x33b244){const _0x4490be={_0x32fc68:0x1e3,_0x15a78f:0x7b,_0xf4d0a8:0x53,_0x497073:0x2ea,_0x4b7520:0x22a,_0x42aa5c:0x125,_0x367e4f:0xc0,_0x36f926:0x13c,_0x2112af:0x11a,_0x24d66f:0x213,_0x2e49ed:0x36a,_0x35fb7e:0x1c3,_0x828f88:0x2fd,_0x4993d5:0x3b7,_0x254dd0:0x404,_0x40ce66:0x29f,_0x1ac037:0x1ee,_0x2877a0:0x18b,_0x497b3e:0x160,_0x593194:0x453,_0x4ecb56:0x467,_0x208d77:0x408,_0xf76b9e:0x271,_0x4b65ab:0x249,_0x39cbc6:0xc7,_0x2240d8:0x303,_0x457a0c:0x15c,_0x253c7e:0x34b,_0x6e1cde:0x3f7,_0x5991cd:0x3a3,_0x355d89:0x1ff,_0x5463ef:0x3fb,_0x11562f:0x11f,_0x16eef4:0x246,_0x36ba74:0x1c1,_0x574b4a:0x25e,_0x43a2ed:0x218,_0x585bb6:0x30b,_0x159547:0x378,_0x4f1595:0x2aa},_0x3d7752={_0x25590e:0x1d1,_0x1baf84:0x11},_0x16315b=await filepath(),_0x476819=await _0x45b2c5(_0x33b244['cwd'])[_0x1bdbbe(_0x4490be._0x32fc68,_0x4490be._0x15a78f,0x110,_0x4490be._0xf4d0a8)](()=>null);if(!_0x476819?.[_0x215b54(_0x4490be._0x497073,_0x4490be._0x4b7520,0x2b6,0x2ff)]())throw Object[_0x1bdbbe(0x101,0x348,0x209,_0x4490be._0x42aa5c)](new Error(_0x1bdbbe(0x27d,0x215,0x231,0x275)+_0x33b244[_0x1bdbbe(0xa3,_0x4490be._0x367e4f,_0x4490be._0x36f926,0x144)]+'\x27'),{'code':_0x215b54(0x239,0x2c2,_0x4490be._0x2112af,_0x4490be._0x24d66f)});function _0x1bdbbe(_0x35427f,_0x1740b9,_0xe7279a,_0x59bf95){return _0x278b49(_0x35427f-0x33,_0x1740b9-0xf2,_0xe7279a-0x235,_0x35427f);}const _0x5e7e1e=[_0x1bdbbe(_0x4490be._0x2e49ed,_0x4490be._0x35fb7e,_0x4490be._0x828f88,0x3eb),_0x215b54(_0x4490be._0x4993d5,_0x4490be._0x254dd0,_0x4490be._0x40ce66,0x3d7),_0x1bdbbe(0xff,0x256,0x15f,0x7f),'--glob=!.git/*'];for(const _0x187559 of _0x33b244[_0x1bdbbe(_0x4490be._0x1ac037,_0x4490be._0x2877a0,_0x4490be._0x497b3e,0x295)]??[]){_0x5e7e1e[_0x215b54(_0x4490be._0x593194,_0x4490be._0x4ecb56,_0x4490be._0x208d77,0x3cb)](_0x1bdbbe(0x197,_0x4490be._0xf76b9e,0x14a,_0x4490be._0x4b65ab)+_0x187559);}const _0x48342e=_0x2eb474(_0x16315b,_0x5e7e1e,{'cwd':_0x33b244[_0x1bdbbe(_0x4490be._0x39cbc6,0x277,_0x4490be._0x36f926,0x1de)],'stdio':[_0x215b54(0x21e,0x184,_0x4490be._0x2240d8,_0x4490be._0x457a0c),_0x215b54(0x2cf,_0x4490be._0x253c7e,_0x4490be._0x6e1cde,_0x4490be._0x5991cd),'pipe']});function _0x215b54(_0x4cbfd3,_0x4545a6,_0x36378e,_0x5c752a){return _0x278b49(_0x4cbfd3-_0x3d7752._0x25590e,_0x4545a6-_0x3d7752._0x1baf84,_0x4cbfd3-0x352,_0x4545a6);}let _0x34fb8b='';for await(const _0x2c8a90 of _0x48342e['stdout']??[]){_0x34fb8b+=_0x2c8a90['toString']();const _0x2872fe=_0x34fb8b[_0x1bdbbe(_0x4490be._0x355d89,0x2be,0x33e,_0x4490be._0x5463ef)](/\r?\n/);_0x34fb8b=_0x2872fe[_0x1bdbbe(_0x4490be._0x11562f,0x178,_0x4490be._0x16eef4,_0x4490be._0x36ba74)]()??'';for(const _0x59170a of _0x2872fe){if(_0x59170a[_0x1bdbbe(_0x4490be._0x574b4a,0x2f1,_0x4490be._0x43a2ed,0x1dc)]>0x0)yield _0x59170a;}}_0x34fb8b[_0x215b54(0x2e2,_0x4490be._0x585bb6,0x3c8,0x34b)]()[_0x215b54(0x335,_0x4490be._0x159547,0x3b6,_0x4490be._0x4f1595)]>0x0&&(yield _0x34fb8b['trim']());}function parseMatchLine(_0x32736d,_0x52304b){const _0x3ed0af={_0x4ae5c2:0x2eb,_0x41ebed:0x49c,_0x25d473:0x39b,_0x12c5fc:0x276,_0x48ebf7:0x166,_0x451010:0x368,_0x574859:0x2bd,_0x23d4ef:0x1ff,_0x4a45d9:0x1f0,_0x48da8d:0x299,_0x1a1387:0x284,_0x56995f:0x175,_0x221ec1:0x221,_0x5cf457:0x344,_0x545931:0x244,_0x17cdf6:0x25b,_0x1b5e23:0x305,_0x285584:0x2b4,_0x24ff4a:0x43f},_0x2e85b5={_0x5e93e2:0x19a},_0x4870ac={_0x57059e:0x2af};function _0x3c4ee1(_0x5689ee,_0x571e39,_0x2e88d9,_0x24af02){return _0x278b49(_0x5689ee-0x7a,_0x571e39-0x1da,_0x2e88d9-_0x4870ac._0x57059e,_0x5689ee);}function _0x19cd60(_0x4137b2,_0x60eadb,_0x315bc9,_0x5140b3){return _0x278b49(_0x4137b2-_0x2e85b5._0x5e93e2,_0x60eadb-0xdf,_0x315bc9-0x304,_0x60eadb);}if(!_0x32736d||_0x32736d==='--')return null;const _0x515030=_0x32736d[_0x19cd60(_0x3ed0af._0x4ae5c2,0x457,0x40d,_0x3ed0af._0x41ebed)]('|');if(_0x52304b&&_0x515030[_0x3c4ee1(0x28d,_0x3ed0af._0x25d473,0x292,0x3cd)]>=0x4&&Number['isFinite'](Number[_0x19cd60(0x287,0x21e,_0x3ed0af._0x12c5fc,_0x3ed0af._0x48ebf7)](_0x515030[0x2]??'',0xa))){const _0xa20cf7=Number[_0x19cd60(_0x3ed0af._0x451010,_0x3ed0af._0x574859,_0x3ed0af._0x12c5fc,_0x3ed0af._0x23d4ef)](_0x515030[0x1]??'',0xa);if(!Number[_0x19cd60(_0x3ed0af._0x4a45d9,0x1af,_0x3ed0af._0x48da8d,0x303)](_0xa20cf7)||!_0x515030[0x0])return null;return{'filePath':_0x515030[0x0],'lineNum':_0xa20cf7,'lineText':_0x515030['slice'](0x3)['join']('|')};}if(_0x515030[_0x19cd60(_0x3ed0af._0x1a1387,0x1bd,0x2e7,0x2b8)]>=0x3){const _0x17a7bc=Number[_0x3c4ee1(_0x3ed0af._0x56995f,0x2a7,_0x3ed0af._0x221ec1,0x2be)](_0x515030[0x1]??'',0xa);if(!Number[_0x3c4ee1(_0x3ed0af._0x5cf457,0x239,_0x3ed0af._0x545931,_0x3ed0af._0x17cdf6)](_0x17a7bc)||!_0x515030[0x0])return null;return{'filePath':_0x515030[0x0],'lineNum':_0x17a7bc,'lineText':_0x515030[_0x3c4ee1(_0x3ed0af._0x1b5e23,0x332,_0x3ed0af._0x285584,0x3d6)](0x2)[_0x19cd60(0x2d9,_0x3ed0af._0x24ff4a,0x2f6,0x36e)]('|'),..._0x52304b?{'isContext':!![]}:{}};}return null;}async function search(_0x376036){const _0xf269b9={_0x1676cb:0xc8,_0x582f8a:0x9d,_0x4167fb:0x34c,_0x3f13f1:0x274,_0x286fcb:0x152,_0x3e368d:0x4fb,_0x5e01e9:0x544,_0xfb1d8a:0x43f,_0x1a8563:0x6e,_0x3c5b80:0x11,_0x3e61b7:0x3d6,_0x1cba29:0x348,_0x270557:0x2b4,_0x5981d0:0x32f,_0x197139:0x38e,_0x205c77:0xa9,_0x3fdc8a:0xc2,_0x2e92bc:0x160,_0x31daab:0xb5,_0x7f2ea1:0xfe,_0x3d4b70:0x175,_0x1667db:0x31f,_0x1f091c:0x3d5,_0xafb578:0x1ec,_0x3dfefa:0x2c0,_0x5df7a5:0x2c4,_0xdbbe42:0x5f,_0x10cea8:0x11d,_0x32058e:0x2dd,_0x337aa3:0x287,_0x3cb3d1:0x2eb,_0x74daa4:0x315,_0x192f85:0x2a2,_0x2a9112:0x2e0,_0x5cb108:0x22b,_0x55495b:0x4ad,_0x4d593c:0x337,_0x4c5049:0x1a6,_0x2af094:0x26e,_0x3b4bc7:0xd2,_0x37fa40:0x1fc,_0x42227f:0x4e,_0x2581cd:0x136,_0x3c3f13:0x2a,_0xb5b184:0x594},_0x521eb6={_0x90913:0x592,_0xa58ded:0x44d,_0x555c1c:0x557,_0x49ce39:0x4a0,_0x12fad1:0x63d,_0x351373:0x5e4,_0x206b1b:0x747,_0xd33b68:0x177,_0x151289:0x1b7,_0x5d9f0a:0x603,_0x55e668:0x7a6,_0x567b3d:0x880,_0x42222d:0x670},_0x1f82c0={_0x45f6a3:0x2ef,_0x260d89:0xe8,_0x33cfd0:0x3ac,_0xb218ae:0x314,_0x190667:0x4f5,_0x5afc2b:0x3e0,_0x5654d0:0x63e,_0x58190e:0x596,_0x34768e:0x515},_0x530459={_0x5a73fa:0x3d},_0x30074b={_0x3ed070:0xf5,_0x3f0143:0x6},_0x4c5b5c={_0x63f75d:0x8f},_0x2fb662=await filepath();if(_0x376036[_0x506420(_0xf269b9._0x1676cb,0x102,_0xf269b9._0x582f8a,-0xa5)]){const _0x58fb86=await _0x45b2c5(_0x376036[_0x4254f3(0x3a7,_0xf269b9._0x4167fb,0x2ff,0x3fd)])[_0x4254f3(0x2ca,0x2b4,_0xf269b9._0x3f13f1,0x203)](()=>null);if(!_0x58fb86?.[_0x506420(_0xf269b9._0x286fcb,0x200,0x193,0x221)]())throw Object['assign'](new Error(_0x4254f3(0x4e5,_0xf269b9._0x3e368d,_0xf269b9._0x5e01e9,0x405)+_0x376036[_0x4254f3(_0xf269b9._0xfb1d8a,_0xf269b9._0x4167fb,0x231,0x277)]+'\x27'),{'code':_0x506420(_0xf269b9._0x1a8563,-0xe3,_0xf269b9._0x3c5b80,-0x69)});}else{const _0x17995d=await _0x45b2c5(_0x376036[_0x4254f3(_0xf269b9._0x3e61b7,0x2e0,0x33f,0x238)])[_0x4254f3(_0xf269b9._0x1cba29,_0xf269b9._0x270557,_0xf269b9._0x5981d0,_0xf269b9._0x197139)](()=>null);if(!_0x17995d?.[_0x506420(0x1ad,_0xf269b9._0x205c77,_0xf269b9._0x3fdc8a,_0xf269b9._0x2e92bc)]())throw Object[_0x506420(_0xf269b9._0x31daab,0x155,_0xf269b9._0x7f2ea1,_0xf269b9._0x3d4b70)](new Error(_0x4254f3(_0xf269b9._0x1667db,_0xf269b9._0x1f091c,0x48c,0x33f)+_0x376036[_0x4254f3(0x1c2,0x2e0,0x2fa,0x31d)]+'\x27'),{'code':_0x4254f3(_0xf269b9._0xafb578,_0xf269b9._0x3dfefa,_0xf269b9._0x5df7a5,0x18f)});}const _0x336316=[_0x506420(0x19c,-_0xf269b9._0xdbbe42,0xe0,_0xf269b9._0x10cea8),_0x4254f3(0x1b7,_0xf269b9._0x32058e,_0xf269b9._0x337aa3,0x2e1),_0x4254f3(_0xf269b9._0x3cb3d1,_0xf269b9._0x74daa4,0x241,_0xf269b9._0x192f85),'--regexp',_0x376036['pattern']],_0x35bd76=typeof _0x376036['context']==='number'&&_0x376036['context']>0x0;_0x35bd76&&_0x336316[_0x506420(0x288,_0xf269b9._0x2a9112,_0xf269b9._0x5cb108,0x2e2)]('-C',String(_0x376036[_0x4254f3(_0xf269b9._0x55495b,0x451,_0xf269b9._0x4d593c,0x42a)]),_0x506420(-0x55,_0xf269b9._0x4c5049,0xde,0x112));function _0x4254f3(_0x5be6c0,_0x1bb9eb,_0x18b9a7,_0x427fc8){return _0x2fd7af(_0x1bb9eb-0x428,_0x1bb9eb-0x14,_0x5be6c0,_0x427fc8-0x154);}function _0x506420(_0x41860b,_0x1b5a8f,_0x335062,_0x4435c5){return _0x2fd7af(_0x335062-0x179,_0x1b5a8f-_0x4c5b5c._0x63f75d,_0x4435c5,_0x4435c5-0x166);}return _0x376036['glob']&&!_0x376036['file']&&_0x336316['push'](_0x506420(_0xf269b9._0x2af094,_0xf269b9._0x3b4bc7,_0xf269b9._0x37fa40,0x2ca),_0x376036[_0x506420(-_0xf269b9._0x42227f,_0xf269b9._0x2581cd,0x55,-_0xf269b9._0x3c3f13)]),_0x336316[_0x4254f3(0x544,0x4da,_0xf269b9._0xb5b184,0x52b)](_0x376036['file']??_0x376036['cwd']),await new Promise((_0xad5e86,_0x503d54)=>{const _0x2b7b80={_0x4f69d5:0x52,_0x9cecb5:0x18b,_0x398e58:0x19},_0x2cc575={_0x149c8a:0x13d},_0x17064e={_0x382ab7:0x669},_0x466c18=_0x2eb474(_0x2fb662,_0x336316,{'cwd':_0x376036[_0x25766b(_0x521eb6._0x90913,0x5b3,0x4cf,_0x521eb6._0xa58ded)],'stdio':[_0x25766b(_0x521eb6._0x555c1c,0x5df,0x42f,_0x521eb6._0x49ce39),'pipe','pipe']});function _0x263c0f(_0x31e4d1,_0x478e83,_0x38ff25,_0x2f561){return _0x4254f3(_0x478e83,_0x31e4d1- -0x2b1,_0x38ff25-_0x30074b._0x3ed070,_0x2f561-_0x30074b._0x3f0143);}let _0x51fbb9='',_0x5ca882='';_0x466c18[_0x25766b(_0x521eb6._0x12fad1,_0x521eb6._0x351373,_0x521eb6._0x206b1b,0x60f)]?.['on']('data',_0x19cba9=>{const _0x1410f2={_0x43a78d:0x560,_0x503aff:0xae};function _0x2676f4(_0x1c374b,_0x3d7952,_0x5a0e6a,_0x44715f){return _0x263c0f(_0x1c374b-_0x1410f2._0x43a78d,_0x3d7952,_0x5a0e6a-0xc,_0x44715f-_0x1410f2._0x503aff);}_0x51fbb9+=_0x19cba9[_0x2676f4(0x622,0x755,_0x17064e._0x382ab7,0x6a1)]();}),_0x466c18[_0x263c0f(_0x521eb6._0xd33b68,0x232,_0x521eb6._0x151289,0x148)]?.['on']('data',_0x1a26af=>{function _0x3bb363(_0x1c6e27,_0x453cc4,_0x1e9bc9,_0x1d2fbe){return _0x263c0f(_0x1c6e27- -0x1a3,_0x1d2fbe,_0x1e9bc9-0x163,_0x1d2fbe-_0x2cc575._0x149c8a);}_0x5ca882+=_0x1a26af[_0x3bb363(-0xe1,_0x2b7b80._0x4f69d5,-_0x2b7b80._0x9cecb5,-_0x2b7b80._0x398e58)]();});function _0x25766b(_0x206a75,_0x31714c,_0x538a14,_0x2e4d32){return _0x506420(_0x206a75-_0x530459._0x5a73fa,_0x31714c-0x11,_0x206a75-0x561,_0x2e4d32);}_0x466c18['on'](_0x25766b(0x73b,_0x521eb6._0x5d9f0a,0x788,0x86c),_0x1ddd42=>{const _0x30cd4b={_0x1c3d83:0xd},_0x2c3b66={_0x671cb:0x3ea};if(_0x1ddd42===0x1&&_0x51fbb9===''){_0xad5e86([]);return;}if(_0x1ddd42!==0x0&&_0x1ddd42!==0x1){_0x503d54(new Error(_0x19a246(0x1fa,_0x1f82c0._0x45f6a3,_0x1f82c0._0x260d89,0x2fb)+_0x5ca882));return;}const _0x1d939f=_0x376036[_0x1bcc91(0x3d5,_0x1f82c0._0x33cfd0,0x49e,_0x1f82c0._0xb218ae)]??0x64,_0x4f7862=[];function _0x1bcc91(_0x3c590c,_0x1205ad,_0x4482f9,_0x428c9b){return _0x263c0f(_0x3c590c-_0x2c3b66._0x671cb,_0x428c9b,_0x4482f9-0x103,_0x428c9b-0x34);}for(const _0x20d773 of _0x51fbb9['split'](/\r?\n/)){if(_0x4f7862[_0x1bcc91(_0x1f82c0._0x190667,_0x1f82c0._0x5afc2b,0x4f4,_0x1f82c0._0x5654d0)]>=_0x1d939f)break;const _0x1f943c=parseMatchLine(_0x20d773,_0x35bd76);if(_0x1f943c)_0x4f7862[_0x1bcc91(0x613,0x740,_0x1f82c0._0x58190e,_0x1f82c0._0x34768e)](_0x1f943c);}function _0x19a246(_0x3a86f3,_0x1898d1,_0x215827,_0x501165){return _0x263c0f(_0x3a86f3-0xaa,_0x1898d1,_0x215827-_0x30cd4b._0x1c3d83,_0x501165-0x62);}_0xad5e86(_0x4f7862);}),_0x466c18['on'](_0x25766b(_0x521eb6._0x55e668,_0x521eb6._0x567b3d,_0x521eb6._0x42222d,0x7f8),_0x503d54);});}function createGlobTool(_0x35e490={}){const _0x5300e4={_0x3c2711:0x666,_0x416793:0x670,_0x4ebc9d:0x4f4,_0x89ec12:0x3a4,_0x22d389:0x5ff,_0x3054b5:0x64f,_0x1e5d82:0x4d1,_0x3d7675:0x3fa,_0x117f9b:0x63b,_0x1bc485:0x725,_0x2466c1:0x768,_0x935e07:0x420,_0x1323e4:0x390},_0x46dcc0={_0x4b1efa:0x224,_0x2b2541:0x35,_0x407923:0x37,_0x2984c9:0x50,_0x27ac8d:0x326,_0x482393:0x1f7,_0x5eb9e1:0x296,_0x1afe48:0x27d,_0x2e1543:0x1a3,_0x20628c:0x4f,_0x3b88fa:0xec,_0x54b699:0x37c,_0x2ea9b7:0x20a,_0x3da75a:0xc3,_0x4d26ab:0xda,_0x381479:0x231,_0x3128d5:0x310,_0x3ee08a:0x22b,_0x4f436a:0x1f6,_0x339fc3:0x2a,_0x4fb8c0:0x98,_0x251595:0xa1,_0x135355:0x92,_0xce83e:0x55d,_0x3a67bc:0xe8,_0x542c67:0x1c,_0x572299:0x17,_0x5cc30b:0x4dd,_0x7e5932:0x3ae,_0x4e2c16:0x490,_0x2b1656:0x494,_0x25e2f8:0x86,_0x412305:0x65,_0x450d1f:0x460,_0x1a6b39:0x439,_0x429e31:0x576,_0x67017c:0x2a4,_0x38fec0:0x2ae,_0x1fbc39:0x486,_0x21c98f:0x335,_0x12cad6:0x4a8},_0x180f84={_0x388d1b:0x55},_0x1d5ff0={_0x4ff4e9:0x5c1,_0xada443:0xfa,_0x296536:0x65},_0x3db756={_0x49eee5:0x49d},_0x5ad43a=_0x201c64[_0x250471(_0x5300e4._0x3c2711,0x5d8,_0x5300e4._0x416793,0x75d)](_0x35e490[_0x16b158(0x43f,0x521,0x53f,_0x5300e4._0x4ebc9d)]??process[_0x16b158(0x33c,0x4e5,_0x5300e4._0x89ec12,0x437)]());function _0x16b158(_0x9a26f8,_0x22177a,_0x3d3141,_0x11f82c){return _0x278b49(_0x9a26f8-0x1ed,_0x22177a-0xd3,_0x3d3141-_0x3db756._0x49eee5,_0x9a26f8);}const _0x25ee02=(_0x35e490['allowedDirs']??[])['map'](_0x4b26b9=>_0x201c64[_0x16b158(0x547,0x5bb,0x591,0x556)](_0x4b26b9)),_0x43f8a3=_0x35e490[_0x16b158(0x471,0x268,0x360,0x38c)]??0x64,_0x54b7eb=_0x35e490['name']??_0x250471(_0x5300e4._0x22d389,_0x5300e4._0x3054b5,0x581,0x592);function _0x250471(_0x452db9,_0x1aaf36,_0x4d2e40,_0x3b1d03){return _0x2fd7af(_0x452db9-_0x1d5ff0._0x4ff4e9,_0x1aaf36-_0x1d5ff0._0xada443,_0x4d2e40,_0x3b1d03-_0x1d5ff0._0x296536);}return defineTool({'name':_0x54b7eb,'description':_0x250471(_0x5300e4._0x1e5d82,0x56e,0x47e,0x45c),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0x250471(0x467,0x406,0x568,_0x5300e4._0x3d7675)},'path':{'type':'string'},'limit':{'type':_0x250471(_0x5300e4._0x117f9b,_0x5300e4._0x1bc485,0x6f6,_0x5300e4._0x2466c1)}},'required':[_0x16b158(0x343,_0x5300e4._0x935e07,_0x5300e4._0x1323e4,0x349)]},async *'execute'(_0x257b63){const _0x3a7a2e={_0x9134cd:0x1c4};if(_0x257b63[_0x5a3080(-0xb3,-0x81,-_0x46dcc0._0x4b1efa,-0x191)]['trim']()[_0x5a3080(-0x159,-_0x46dcc0._0x2b2541,_0x46dcc0._0x407923,-0xa1)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x2fd05b=resolveAllowedPath(_0x5ad43a,_0x25ee02,_0x257b63[_0x5a3080(-0x181,-0xec,_0x46dcc0._0x2984c9,-0xc3)]??'.'),_0x4c3b62=await _0x25bf03(_0x2fd05b)[_0x7326e2(_0x46dcc0._0x27ac8d,_0x46dcc0._0x482393,_0x46dcc0._0x5eb9e1,_0x46dcc0._0x1afe48)](()=>null);if(!_0x4c3b62?.[_0x5a3080(-_0x46dcc0._0x2e1543,-_0x46dcc0._0x20628c,0x23,-_0x46dcc0._0x3b88fa)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x257b63[_0x7326e2(0x3db,0x334,_0x46dcc0._0x54b699,0x3a0)]??'.'),{'path':_0x257b63[_0x5a3080(-0x1c1,-_0x46dcc0._0x2ea9b7,0x34,-_0x46dcc0._0x3da75a)]??'.'});const _0x564f81=_0x257b63[_0x5a3080(-0x2fd,-_0x46dcc0._0x4d26ab,-_0x46dcc0._0x381479,-0x1c1)]??_0x43f8a3;function _0x5a3080(_0xcaa824,_0x8de3d7,_0x7524d2,_0x17c412){return _0x250471(_0x17c412- -0x5f6,_0x8de3d7-_0x3a7a2e._0x9134cd,_0x8de3d7,_0x17c412-0x185);}const _0x417a00=Math[_0x7326e2(_0x46dcc0._0x3128d5,_0x46dcc0._0x3ee08a,0x28a,_0x46dcc0._0x4f436a)](0x1,Math[_0x7326e2(0x271,0x254,0x271,0x2d6)](_0x564f81)),_0x114a18=[];let _0x87d7ff=![];for await(const _0x401629 of files({'cwd':_0x2fd05b,'glob':[_0x257b63['pattern']]})){if(_0x114a18[_0x5a3080(-0x1a3,_0x46dcc0._0x339fc3,_0x46dcc0._0x4fb8c0,-_0x46dcc0._0x251595)]>=_0x417a00){_0x87d7ff=!![];break;}const _0x10a96e=await _0x25bf03(_0x201c64[_0x5a3080(0x2a,-0x83,-0x154,-_0x46dcc0._0x135355)](_0x2fd05b,_0x401629))['catch'](()=>null);_0x114a18[_0x7326e2(_0x46dcc0._0xce83e,0x3ac,0x4bc,0x540)]({'path':_0x401629,'mtime':_0x10a96e?.[_0x5a3080(-0xcc,_0x46dcc0._0x3a67bc,0x110,-_0x46dcc0._0x542c67)]??0x0});}_0x114a18[_0x5a3080(0xb5,-0x60,0x12a,_0x46dcc0._0x572299)]((_0x5b0e25,_0x239e36)=>_0x239e36[_0x5a3080(-0x18b,-0x223,-0x120,-0x126)]-_0x5b0e25['mtime']);const _0x280724=_0x114a18['map'](_0x3d7075=>_0x3d7075[_0x7326e2(0x354,0x3f2,0x37c,0x2e4)]),_0x215899=_0x280724['length']===0x0?_0x7326e2(_0x46dcc0._0x5cc30b,_0x46dcc0._0x7e5932,_0x46dcc0._0x4e2c16,_0x46dcc0._0x2b1656)+_0x257b63['pattern']:''+_0x280724[_0x5a3080(_0x46dcc0._0x25e2f8,-0x6,_0x46dcc0._0x412305,-0x92)]('\x0a')+(_0x87d7ff?_0x7326e2(_0x46dcc0._0x450d1f,0x485,_0x46dcc0._0x1a6b39,_0x46dcc0._0x429e31):'');function _0x7326e2(_0x1af020,_0x5418e0,_0x1f3495,_0x39e28b){return _0x250471(_0x1f3495- -0x1b7,_0x5418e0-_0x180f84._0x388d1b,_0x5418e0,_0x39e28b-0x35);}return yield createToolOutput(_0x215899,{'pattern':_0x257b63[_0x7326e2(0x378,_0x46dcc0._0x67017c,_0x46dcc0._0x38fec0,0x2d0)],'searchPath':_0x201c64[_0x7326e2(0x3e3,0x5b3,_0x46dcc0._0x1fbc39,0x348)](_0x5ad43a,_0x2fd05b)||'.','matches':_0x280724,'count':_0x280724[_0x7326e2(0x415,_0x46dcc0._0x21c98f,0x39e,_0x46dcc0._0x12cad6)],'truncated':_0x87d7ff}),void 0x0;}});}import{stat as _0x33f009}from'fs/promises';import*as _0x3d6ada from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x12b905={}){const _0x61f8db={_0xb1054c:0x26f,_0x4d2b66:0x262,_0x1443d0:0x36b,_0x4d6103:0x64b,_0x29e9d2:0x58d,_0x3ed819:0x2c6,_0x2dea28:0x309,_0x4844bd:0x45b,_0x189baa:0x3ee,_0x3584eb:0x398,_0x415f7e:0x412,_0x6bf422:0x3e4,_0x48fa17:0x293,_0x3c4502:0x516,_0x202fa1:0x59c,_0x5b8ef7:0x392,_0x4a765c:0x299,_0x2188e3:0x70,_0x4f7e49:0x8c,_0x42b3c5:0x1c9,_0x4fac47:0x244,_0x14b556:0x2eb},_0xe78bf4={_0xc62fb7:0xc3,_0x476173:0x6e,_0x246eb2:0x68a,_0x4d8725:0x63a,_0x4d68c0:0x74f,_0x62e748:0x3e9,_0x22f180:0x455,_0x22a1d2:0x6d,_0x4935cb:0xa9,_0x56f8cd:0x24,_0x50d8db:0x20,_0x738e49:0x625,_0x466458:0x643,_0x3adead:0x27,_0x4f3c70:0x605,_0x3c94ce:0x20c,_0x3f301c:0xf5,_0x12a02f:0x528,_0x1b2316:0x563,_0x30b8be:0x526,_0x465922:0x56a,_0x1a5870:0x50d,_0x4fd918:0x42d,_0x140b1d:0x2b,_0x259ac9:0x3d,_0x12441e:0x6f,_0x2d659d:0x73,_0x377bc9:0x564,_0x1334ad:0x5f1,_0x6a2703:0x2a,_0x22cf1e:0xe5,_0x3d7ab8:0x74,_0x942cf7:0x165,_0x570470:0xc0,_0x45406e:0x71,_0x11fced:0x122,_0x1dbd3f:0x16,_0xc44105:0x122,_0x4bb50e:0x1f8,_0x530c71:0xdd,_0x45c7eb:0x4c8,_0x278ab0:0x566,_0x3bcf17:0x14b,_0x4e7093:0x23b,_0x56c369:0x756,_0x556425:0x81f,_0x58438d:0x116,_0x4c3346:0x601,_0x5a14bc:0x88,_0x1f9ff6:0x778,_0x14629c:0x2c,_0x552f0c:0x2b,_0x576521:0x5bc,_0x58b69a:0x738,_0x363353:0xe2,_0x3cb1d2:0xf7,_0x28276c:0xaa,_0x579682:0x5e,_0x5db27a:0x5fb,_0x17cf6b:0x2c,_0x319b04:0x570,_0x14eb54:0x65c,_0x38d1ac:0x633,_0x3d37d0:0x772,_0x99c66f:0x578,_0x181faf:0x9e,_0x55850d:0x594,_0x4e3f34:0x669,_0x2e8427:0x6f6,_0x2663c9:0x710,_0x3867f0:0x606,_0x50e0d1:0x722,_0x575418:0x68a,_0x188aee:0x54a,_0x160105:0x5d5,_0x208c11:0x6cd},_0x28381d={_0x469709:0x106};function _0x1334f0(_0x31cf90,_0x11e921,_0x245ada,_0x44836b){return _0x2fd7af(_0x44836b-0x53a,_0x11e921-0xdf,_0x31cf90,_0x44836b-0xe8);}const _0x13429d=_0x3d6ada[_0x48ebef(0x36c,_0x61f8db._0xb1054c,_0x61f8db._0x4d2b66,_0x61f8db._0x1443d0)](_0x12b905[_0x1334f0(_0x61f8db._0x4d6103,0x6c5,0x65e,_0x61f8db._0x29e9d2)]??process[_0x1334f0(_0x61f8db._0x3ed819,0x3de,_0x61f8db._0x2dea28,0x3f2)]()),_0x359141=(_0x12b905['allowedDirs']??[])[_0x1334f0(0x32f,0x4d9,0x34f,_0x61f8db._0x4844bd)](_0x4bddc1=>_0x3d6ada['resolve'](_0x4bddc1));function _0x48ebef(_0x5447d2,_0x5672d3,_0x3981d6,_0x1d4a0b){return _0x2fd7af(_0x5672d3-0x1ca,_0x5672d3-_0x28381d._0x469709,_0x1d4a0b,_0x1d4a0b-0x18b);}const _0x3dc467=_0x12b905[_0x1334f0(_0x61f8db._0x189baa,_0x61f8db._0x3584eb,0x2fd,0x3ae)]??0x64,_0x5cd634=_0x12b905[_0x1334f0(_0x61f8db._0x415f7e,0x3db,0x2e3,_0x61f8db._0x6bf422)]??_0x48ebef(_0x61f8db._0x48fa17,0x24a,0x231,0x355);return defineTool({'name':_0x5cd634,'description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':_0x1334f0(_0x61f8db._0x3c4502,0x609,_0x61f8db._0x202fa1,0x558),'properties':{'pattern':{'type':_0x1334f0(_0x61f8db._0x5b8ef7,_0x61f8db._0x4a765c,0x4c6,0x3e0)},'path':{'type':_0x48ebef(0x155,_0x61f8db._0x2188e3,0x7b,_0x61f8db._0x4f7e49)},'include':{'type':'string'},'limit':{'type':'number'},'context':{'type':_0x48ebef(_0x61f8db._0x42b3c5,_0x61f8db._0x4fac47,0x140,_0x61f8db._0x14b556)}},'required':[_0x1334f0(0x2d6,0x378,0x430,0x3de)]},async *'execute'(_0x5a1a2e){const _0x10f7a5={_0x1181a9:0x185,_0x5479ca:0x4dc};function _0x2a1b6b(_0x3ee617,_0x31e08c,_0x3f7291,_0x7e106a){return _0x48ebef(_0x3ee617-0x98,_0x7e106a- -0x133,_0x3f7291-0x1a7,_0x3ee617);}if(_0x5a1a2e['pattern'][_0x2a1b6b(-_0xe78bf4._0xc62fb7,-0x144,_0xe78bf4._0x476173,-0x28)]()[_0x1dd8a6(_0xe78bf4._0x246eb2,0x77e,_0xe78bf4._0x4d8725,_0xe78bf4._0x4d68c0)]===0x0)throw new ToolExecutionError(_0x1dd8a6(0x56f,0x608,0x5da,0x620),{});function _0x1dd8a6(_0x405fb0,_0x21fe04,_0x2e705f,_0x107b61){return _0x48ebef(_0x405fb0-_0x10f7a5._0x1181a9,_0x2e705f-_0x10f7a5._0x5479ca,_0x2e705f-0x1c7,_0x107b61);}const _0x57b72d=resolveAllowedPath(_0x13429d,_0x359141,_0x5a1a2e['path']??'.'),_0x36ef72=await _0x33f009(_0x57b72d)[_0x1dd8a6(_0xe78bf4._0x62e748,0x4fa,0x532,_0xe78bf4._0x22f180)](()=>null),_0x40c9d8=_0x36ef72?.['isFile']()??![],_0x4c3d43=_0x36ef72?.[_0x2a1b6b(-_0xe78bf4._0x22a1d2,-_0xe78bf4._0x4935cb,-_0xe78bf4._0x56f8cd,-_0xe78bf4._0x50d8db)]()??![];if(!_0x40c9d8&&!_0x4c3d43)throw new ToolExecutionError(_0x1dd8a6(0x62d,_0xe78bf4._0x738e49,_0xe78bf4._0x466458,0x5c9)+(_0x5a1a2e[_0x2a1b6b(-0xa9,-_0xe78bf4._0x3adead,-0x12d,0x9)]??'.'),{'path':_0x5a1a2e[_0x1dd8a6(0x648,0x501,0x618,_0xe78bf4._0x4f3c70)]??'.'});const _0x342364=_0x5a1a2e[_0x2a1b6b(-0xd,-_0xe78bf4._0x3c94ce,-0xad,-_0xe78bf4._0x3f301c)]??_0x3dc467,_0x475ea4=Math[_0x1dd8a6(_0xe78bf4._0x12a02f,_0xe78bf4._0x1b2316,_0xe78bf4._0x30b8be,_0xe78bf4._0x465922)](0x1,Math[_0x1dd8a6(0x557,0x579,_0xe78bf4._0x1a5870,_0xe78bf4._0x4fd918)](_0x342364)),_0x378931=await search({'cwd':_0x4c3d43?_0x57b72d:_0x3d6ada[_0x2a1b6b(_0xe78bf4._0x140b1d,-_0xe78bf4._0x259ac9,-_0xe78bf4._0x12441e,_0xe78bf4._0x2d659d)](_0x57b72d),'pattern':_0x5a1a2e[_0x1dd8a6(_0xe78bf4._0x377bc9,_0xe78bf4._0x1334ad,0x54a,0x60e)],'glob':_0x4c3d43?_0x5a1a2e[_0x2a1b6b(-_0xe78bf4._0x6a2703,0xa3,_0xe78bf4._0x22cf1e,-0x36)]:void 0x0,'limit':_0x475ea4,'file':_0x40c9d8?_0x57b72d:void 0x0,'context':_0x5a1a2e[_0x2a1b6b(0x71,-_0xe78bf4._0x3d7ab8,_0xe78bf4._0x942cf7,_0xe78bf4._0x570470)]}),_0x54a72a=new Map();for(const _0x57f857 of _0x378931){if(!_0x54a72a['has'](_0x57f857[_0x2a1b6b(-0x14f,0x1a,-_0xe78bf4._0x45406e,-_0xe78bf4._0x11fced)])){const _0x280999=await _0x33f009(_0x57f857[_0x2a1b6b(-0xab,-0xa,-_0xe78bf4._0x1dbd3f,-_0xe78bf4._0xc44105)])[_0x2a1b6b(-_0xe78bf4._0x4bb50e,-0x1af,0x21,-_0xe78bf4._0x530c71)](()=>null);_0x54a72a[_0x1dd8a6(_0xe78bf4._0x45c7eb,_0xe78bf4._0x1334ad,_0xe78bf4._0x278ab0,0x684)](_0x57f857[_0x2a1b6b(-0x1ac,-0x17a,-_0xe78bf4._0x3bcf17,-0x122)],{'matches':[],'mtime':_0x280999?.[_0x1dd8a6(0x7df,0x6fc,0x6bf,0x5a9)]??0x0});}_0x54a72a['get'](_0x57f857[_0x2a1b6b(-0xba,-0x59,-_0xe78bf4._0x4e7093,-0x122)])?.[_0x1dd8a6(0x6a3,0x5ae,0x6a7,0x7d8)][_0x1dd8a6(0x688,_0xe78bf4._0x56c369,0x758,_0xe78bf4._0x556425)](_0x57f857);}const _0x27b4f1=[..._0x54a72a[_0x2a1b6b(-0xce,0x61,-_0xe78bf4._0x58438d,-0x4d)]()][_0x1dd8a6(0x746,_0xe78bf4._0x4c3346,0x6f2,0x76a)]((_0x3bc41d,_0x270f93)=>_0x270f93[0x1][_0x1dd8a6(0x6f4,0x584,0x5b5,0x544)]-_0x3bc41d[0x1][_0x2a1b6b(-0x1a1,-0xf4,0xa9,-0x5a)]),_0x93d091=_0x378931[_0x2a1b6b(-0x1ba,-0x11e,-0xda,-_0xe78bf4._0x5a14bc)](_0x53f2ac=>!_0x53f2ac[_0x1dd8a6(0x6ab,0x54c,0x56d,0x690)])[_0x1dd8a6(0x505,_0xe78bf4._0x1f9ff6,_0xe78bf4._0x4d8725,0x6f1)],_0x29be8e=_0x378931[_0x2a1b6b(_0xe78bf4._0x14629c,0xeb,_0xe78bf4._0x530c71,_0xe78bf4._0x552f0c)]>=_0x475ea4,_0x23d60d=_0x40c9d8?_0x3d6ada['dirname'](_0x57b72d):_0x57b72d;let _0x4ba769='';if(_0x378931[_0x1dd8a6(0x762,_0xe78bf4._0x576521,0x63a,_0xe78bf4._0x58b69a)]===0x0)_0x4ba769='No\x20matches\x20found\x20for\x20pattern:\x20'+_0x5a1a2e[_0x2a1b6b(-_0xe78bf4._0x363353,-_0xe78bf4._0x3cb1d2,-_0xe78bf4._0x28276c,-0xc5)];else{_0x4ba769=_0x2a1b6b(-_0xe78bf4._0x3bcf17,_0xe78bf4._0x28276c,-_0xe78bf4._0x579682,-0x7b)+_0x93d091+_0x1dd8a6(0x62d,0x55c,_0xe78bf4._0x5db27a,0x6bb)+(_0x93d091===0x1?'':'es')+'\x0a';for(const [_0x3d7e39,_0x416468]of _0x27b4f1){const _0x29e8f4=_0x40c9d8?_0x3d6ada[_0x2a1b6b(0x14,-_0xe78bf4._0x17cf6b,-_0xe78bf4._0xc62fb7,-0xf9)](_0x3d7e39):_0x3d6ada['relative'](_0x23d60d,_0x3d7e39);_0x4ba769+='\x0a'+_0x29e8f4+':\x0a';for(const _0x3f4a95 of _0x416468['matches']){const _0x1569c9=_0x3f4a95['lineText'][_0x1dd8a6(_0xe78bf4._0x319b04,_0xe78bf4._0x14eb54,0x63a,_0xe78bf4._0x38d1ac)]>MAX_LINE_LENGTH?_0x3f4a95['lineText'][_0x1dd8a6(0x644,_0xe78bf4._0x3d37d0,_0xe78bf4._0x14eb54,_0xe78bf4._0x99c66f)](0x0,MAX_LINE_LENGTH)+_0x2a1b6b(-0x10e,-0x113,0x71,-0x5b):_0x3f4a95[_0x2a1b6b(-0x13c,-_0xe78bf4._0x181faf,-0x158,-0x15)],_0x59cebc=_0x3f4a95[_0x1dd8a6(_0xe78bf4._0x55850d,_0xe78bf4._0x4e3f34,0x56d,0x556)]?'\x20\x20':'>\x20';_0x4ba769+=_0x59cebc+_0x1dd8a6(0x491,0x529,0x5b7,0x4e9)+_0x3f4a95[_0x2a1b6b(0x69,0x96,0x33,0x22)]+':\x20'+_0x1569c9+'\x0a';}}_0x29be8e&&(_0x4ba769+=_0x1dd8a6(0x7e9,_0xe78bf4._0x2e8427,0x6d5,0x624));}const _0x50afdd={'searchPath':_0x3d6ada[_0x1dd8a6(_0xe78bf4._0x2663c9,_0xe78bf4._0x3867f0,_0xe78bf4._0x50e0d1,_0xe78bf4._0x575418)](_0x13429d,_0x57b72d)||'.','pattern':_0x5a1a2e[_0x1dd8a6(0x4e4,0x5fc,_0xe78bf4._0x188aee,0x5b0)],'matchCount':_0x93d091,'fileCount':_0x54a72a['size'],'truncated':_0x29be8e};return _0x4c3d43&&_0x5a1a2e[_0x1dd8a6(0x65d,_0xe78bf4._0x160105,0x5d9,_0xe78bf4._0x208c11)]!==void 0x0&&(_0x50afdd['include']=_0x5a1a2e['include']),yield createToolOutput(_0x4ba769['trim'](),_0x50afdd),void 0x0;}});}import{readdir as _0x1568ea,readFile as _0x4c1550,stat as _0x4ed084}from'fs/promises';import*as _0x404970 from'path';import*as _0x21e8eb from'yaml';async function countTextLines(_0x37dacb){const _0x34ad38={_0x24457c:0x444,_0x4bc766:0x465,_0xf460a7:0x44c,_0x38305d:0x541,_0xa4ef3:0x50c},_0x30a0e6={_0x12dc99:0x161},_0x14a7cc={_0xa6241a:0x156};function _0xfb9b45(_0x1da7c,_0x1ff9b7,_0x2f23b2,_0x58b395){return _0x2fd7af(_0x58b395-0x4a8,_0x1ff9b7-0x57,_0x2f23b2,_0x58b395-_0x14a7cc._0xa6241a);}const _0x6d5b5f=await _0x4c1550(_0x37dacb)['catch'](()=>null);function _0x6da9c3(_0x1faeb8,_0x5599c6,_0x177547,_0x15391d){return _0x278b49(_0x1faeb8-0x1ec,_0x5599c6-_0x30a0e6._0x12dc99,_0x5599c6-0x3b,_0x15391d);}if(!_0x6d5b5f||isProbablyBinary(_0x6d5b5f))return void 0x0;return _0x6d5b5f['toString'](_0xfb9b45(0x565,0x4a2,0x532,_0x34ad38._0x24457c))[_0xfb9b45(_0x34ad38._0x4bc766,0x545,_0x34ad38._0xf460a7,0x562)](/\r?\n/)[_0xfb9b45(0x3ac,_0x34ad38._0x38305d,_0x34ad38._0xa4ef3,0x43c)];}function createLsTool(_0x453230={}){const _0x337f4b={_0x248e6c:0x282,_0x5430d9:0x2f5,_0x4c2397:0x1ba,_0x43dbd4:0x160,_0x5b2272:0x22b,_0x144ffe:0x1b3,_0xbff134:0x80,_0x4ca64b:0x288,_0x15b91e:0x11b,_0x2325fc:0x1e4,_0x12bf67:0x23b,_0x434c38:0x1b0},_0x2d8258={_0x5e9db8:0x634,_0x30a686:0x49d,_0x228f2a:0x5e9,_0x2effcc:0x569,_0x55b230:0x72f,_0x5b30f0:0x647,_0x381043:0x678,_0x42ff37:0x532,_0x278feb:0x5ff,_0x16e15c:0x560,_0x383800:0x600,_0x4c2582:0x710,_0x4a29c6:0x798,_0x5c8cd4:0x693,_0x2113d0:0x5d8,_0x452846:0x696,_0x32a926:0x6b4,_0xe3cc4b:0x630,_0x141ae9:0x7ab,_0x230ac7:0x6f7,_0x51c3bc:0x535,_0x4299d6:0x534,_0x588763:0x4ff,_0x275fb0:0x6b2,_0x46dd64:0x81a,_0x42a454:0x791,_0x5d77c4:0x517,_0x3f19c8:0x4a3,_0x4d441c:0x811,_0x170612:0x6f2,_0x2a6ddb:0x6f6,_0x1815a4:0x510,_0x147433:0x611,_0x1c0a90:0x53b,_0x2bde04:0x49c,_0x455b79:0x5c6,_0x471f37:0x647,_0x4d9976:0x6dd,_0x1a83a7:0x708,_0x1b6038:0x6dc,_0x145dd6:0x625,_0xa9ce22:0x566,_0x215293:0x443,_0x3124d8:0x4de,_0x2c590d:0x546,_0xb838a5:0x4cf,_0x183c6c:0x507,_0x38e317:0x487,_0x162579:0x75b,_0x18cebd:0x6c9,_0x4dd976:0x6c6,_0x42ef41:0x7b2,_0x17a584:0x671},_0x304ffd={_0x3c3ca9:0x115},_0x2b7f44={_0x3ccd07:0x30a,_0x495c88:0x71},_0x497ad5=_0x404970[_0x5de1c9(_0x337f4b._0x248e6c,_0x337f4b._0x5430d9,0x4ae,0x3af)](_0x453230['defaultCwd']??process['cwd']());function _0x5de1c9(_0x819eec,_0x2dea9b,_0x2612bd,_0x2438c1){return _0x2fd7af(_0x2438c1-_0x2b7f44._0x3ccd07,_0x2dea9b-0xbc,_0x2dea9b,_0x2438c1-_0x2b7f44._0x495c88);}function _0x217f14(_0x174a4a,_0x1e61c0,_0x1b17e6,_0x5c5c76){return _0x2fd7af(_0x5c5c76-0x1c6,_0x1e61c0-0x17b,_0x174a4a,_0x5c5c76-_0x304ffd._0x3c3ca9);}const _0x506808=(_0x453230['allowedDirs']??[])[_0x5de1c9(_0x337f4b._0x4c2397,_0x337f4b._0x43dbd4,0x296,_0x337f4b._0x5b2272)](_0x497c9d=>_0x404970[_0x5de1c9(0x391,0x436,0x422,0x3af)](_0x497c9d)),_0xb4d9e5=_0x453230[_0x5de1c9(_0x337f4b._0x144ffe,_0x337f4b._0xbff134,0x257,0x1b4)]??'Ls';return defineTool({'name':_0xb4d9e5,'description':_0x217f14(0x20a,_0x337f4b._0x4ca64b,0x314,0x223),'inputSchema':{'type':_0x217f14(_0x337f4b._0x4ca64b,_0x337f4b._0x15b91e,0xa2,_0x337f4b._0x2325fc),'properties':{'path':{'type':_0x5de1c9(0x1d2,0x23e,_0x337f4b._0x12bf67,_0x337f4b._0x434c38)},'limit':{'type':_0x5de1c9(0x32e,0x26a,0x4bf,0x384)}}},async *'execute'(_0x14447e){const _0x47da3b={_0x3b98d4:0x387},_0x20e84a={_0x2f32a:0x3d3},_0x16a483=_0x14447e[_0x1f9d19(_0x2d8258._0x5e9db8,0x74a,0x603,0x4c2)]??'.',_0x114df2=resolveAllowedPath(_0x497ad5,_0x506808,_0x16a483),_0xddeda4=await _0x4ed084(_0x114df2)[_0x288d3b(_0x2d8258._0x30a686,_0x2d8258._0x228f2a,0x68e,_0x2d8258._0x2effcc)](()=>null);if(!_0xddeda4?.['isDirectory']())throw new ToolExecutionError(_0x288d3b(_0x2d8258._0x55b230,_0x2d8258._0x5b30f0,0x7b9,0x6ee)+_0x16a483,{'path':_0x16a483});const _0x3adc5e=_0x14447e[_0x288d3b(0x641,_0x2d8258._0x381043,0x5cd,0x551)]??0x3e8,_0x1f0b57=Math[_0x288d3b(_0x2d8258._0x42ff37,0x599,_0x2d8258._0x278feb,0x525)](Math['max'](Math[_0x288d3b(_0x2d8258._0x16e15c,0x488,_0x2d8258._0x383800,0x544)](_0x3adc5e),0x1),0x2710),_0x1e4479=await _0x1568ea(_0x114df2),_0xf37538=[];for(const _0x47c9b2 of _0x1e4479[_0x288d3b(_0x2d8258._0x4c2582,0x644,_0x2d8258._0x4a29c6,_0x2d8258._0x5c8cd4)](0x0,_0x1f0b57)){const _0x492eb9=_0x404970[_0x288d3b(0x767,0x78b,_0x2d8258._0x2113d0,0x680)](_0x114df2,_0x47c9b2),_0x4a9b8c=await _0x4ed084(_0x492eb9)['catch'](()=>null);if(!_0x4a9b8c)continue;let _0xf19d3c=_0x288d3b(0x755,_0x2d8258._0x452846,0x70e,_0x2d8258._0x32a926);if(_0x4a9b8c[_0x288d3b(_0x2d8258._0xe3cc4b,_0x2d8258._0x141ae9,0x6f2,_0x2d8258._0x230ac7)]())_0xf19d3c=_0x288d3b(0x6c5,0x6e4,_0x2d8258._0x51c3bc,0x601);else{if(_0x4a9b8c['isDirectory']())_0xf19d3c=_0x1f9d19(0x599,_0x2d8258._0x4299d6,_0x2d8258._0x588763,0x5f7);else{if(_0x4a9b8c[_0x288d3b(0x747,0x88c,_0x2d8258._0x275fb0,0x79d)]())_0xf19d3c=_0x288d3b(0x6fc,0x6ad,_0x2d8258._0x46dd64,_0x2d8258._0x42a454);}}const _0x29d6c7={'name':_0x47c9b2,'type':_0xf19d3c,'size':_0x4a9b8c[_0x1f9d19(0x557,0x4ea,_0x2d8258._0x5d77c4,_0x2d8258._0x3f19c8)],'mtime':_0x4a9b8c[_0x288d3b(_0x2d8258._0x4d441c,0x758,_0x2d8258._0x170612,_0x2d8258._0x2a6ddb)],'mode':_0x4a9b8c[_0x1f9d19(_0x2d8258._0x1815a4,_0x2d8258._0x147433,0x51b,0x438)]},_0x1df233=_0xf19d3c==='file'?await countTextLines(_0x492eb9):void 0x0;if(_0x1df233!==void 0x0)_0x29d6c7[_0x288d3b(_0x2d8258._0x1c0a90,0x487,_0x2d8258._0x2bde04,_0x2d8258._0x455b79)]=_0x1df233;_0xf37538['push'](_0x29d6c7);}function _0x288d3b(_0x55b185,_0x590d24,_0x16513f,_0x11b848){return _0x5de1c9(_0x55b185-0x84,_0x590d24,_0x16513f-0x42,_0x11b848-_0x20e84a._0x2f32a);}_0xf37538[_0x1f9d19(_0x2d8258._0x471f37,0x5b7,_0x2d8258._0x4d9976,_0x2d8258._0x1a83a7)]((_0x3b6c5a,_0x4c1d63)=>_0x3b6c5a['name'][_0x1f9d19(0x79f,0x7d9,0x698,0x590)](_0x4c1d63['name']));const _0x96df9c={'path':_0x16a483,'total':_0xf37538[_0x288d3b(_0x2d8258._0x1b6038,0x77f,0x794,0x671)],'truncated':_0x1e4479[_0x1f9d19(0x4ee,0x6cc,_0x2d8258._0x145dd6,_0x2d8258._0xa9ce22)]>_0x1f0b57,'entries':_0xf37538};yield createToolOutput(_0x21e8eb[_0x288d3b(0x49b,_0x2d8258._0x215293,_0x2d8258._0x3124d8,0x556)](_0x96df9c,{'indent':0x2,'lineWidth':0x0})[_0x1f9d19(_0x2d8258._0x2c590d,_0x2d8258._0xb838a5,_0x2d8258._0x183c6c,_0x2d8258._0x38e317)](),{'path':_0x16a483,'total':_0xf37538[_0x1f9d19(_0x2d8258._0x162579,_0x2d8258._0x18cebd,_0x2d8258._0x145dd6,_0x2d8258._0x4dd976)],'truncated':_0x1e4479[_0x288d3b(0x635,_0x2d8258._0x42ef41,0x679,_0x2d8258._0x17a584)]>_0x1f0b57,'limit':_0x1f0b57,'entries':_0xf37538});function _0x1f9d19(_0x39b661,_0x12f3b8,_0x12232d,_0x2babe1){return _0x5de1c9(_0x39b661-0x2d,_0x2babe1,_0x12232d-0x108,_0x12232d-_0x47da3b._0x3b98d4);}return void 0x0;}});}import{stat as _0x3b02a1}from'fs/promises';import _0x391131 from'path';import{fileURLToPath as _0x27ebb5}from'url';function severityName(_0xdee562){const _0x15a0d0={_0x5881f1:0x6d7,_0x46faea:0x772,_0x5b8a59:0x731,_0x502e16:0x1dd},_0x553100={_0x436875:0x684,_0x49f243:0x16c},_0x183c25={_0x2d5e98:0x65,_0x29754a:0x195};function _0x4679d5(_0x475c04,_0x4ee727,_0x3f7675,_0x3af200){return _0x278b49(_0x475c04-0x11f,_0x4ee727-_0x183c25._0x2d5e98,_0x475c04-_0x183c25._0x29754a,_0x4ee727);}function _0x5dd6ba(_0x910218,_0x117f50,_0x5f2f1c,_0x52f9a1){return _0x2fd7af(_0x910218-_0x553100._0x436875,_0x117f50-_0x553100._0x49f243,_0x117f50,_0x52f9a1-0x14);}switch(_0xdee562){case 0x1:return'Error';case 0x2:return _0x5dd6ba(0x67a,_0x15a0d0._0x5881f1,_0x15a0d0._0x46faea,_0x15a0d0._0x5b8a59);case 0x3:return'Information';case 0x4:return _0x5dd6ba(0x5a9,0x687,0x68b,0x543);default:return _0x4679d5(_0x15a0d0._0x502e16,0x162,0x27d,0x197);}}function formatSingleHover(_0x2f41cc){const _0x15316c={_0x3d7603:0x34,_0xe4da59:0x15b,_0x2b2bda:0x191,_0x5f5d4a:0x74,_0x58a3dd:0x95,_0x4c21bf:0x1ba,_0x47d6fc:0x406,_0x175649:0x1a4,_0x3db400:0xf2,_0x156feb:0x7d,_0x175449:0x52f,_0x5cd174:0x53b,_0x4921b5:0xd1,_0x558adf:0x1af},_0x9a580b={_0x11c68b:0x47e,_0x38d896:0x10a,_0x184288:0x8d},_0x4f7dcc={_0x391a74:0xab};function _0x1675da(_0x5dd58d,_0x5645a6,_0x1fe3fc,_0x1b1cf7){return _0x2fd7af(_0x5645a6-_0x4f7dcc._0x391a74,_0x5645a6-0xa0,_0x1b1cf7,_0x1b1cf7-0x7a);}function _0x4b6499(_0x4eadd7,_0x3a1e0b,_0x53f427,_0x17c4bd){return _0x2fd7af(_0x4eadd7-_0x9a580b._0x11c68b,_0x3a1e0b-_0x9a580b._0x38d896,_0x3a1e0b,_0x17c4bd-_0x9a580b._0x184288);}const _0x92e5a4=_0x2f41cc['contents'];if(typeof _0x92e5a4==='string')return _0x92e5a4;if(Array['isArray'](_0x92e5a4))return _0x92e5a4[_0x1675da(-0x80,-_0x15316c._0x3d7603,-0x41,-_0x15316c._0xe4da59)](_0x16b604=>typeof _0x16b604===_0x4b6499(0x324,0x23d,0x2c0,0x2c2)?_0x16b604:_0x16b604['value'])[_0x1675da(-_0x15316c._0x2b2bda,-_0x15316c._0x5f5d4a,-_0x15316c._0x58a3dd,-_0x15316c._0x4c21bf)](Boolean)[_0x4b6499(0x421,_0x15316c._0x47d6fc,0x3a0,0x342)]('\x0a\x0a');if(_0x1675da(_0x15316c._0x175649,_0x15316c._0x3db400,0x7,_0x15316c._0x156feb)in _0x92e5a4)return _0x92e5a4['value'];return _0x92e5a4['language']?'```'+_0x92e5a4[_0x4b6499(0x50f,_0x15316c._0x175449,0x42c,_0x15316c._0x5cd174)]+'\x0a'+_0x92e5a4[_0x1675da(0x38,_0x15316c._0x4921b5,_0x15316c._0x558adf,0x44)]+'\x0a```':_0x92e5a4['value'];}function formatHover(_0x3c5afa){const _0x22c98e={_0x16e7e1:0x138,_0x5624f0:0x81,_0x288f6f:0x150,_0x113983:0x307,_0x39651d:0x217,_0x591e97:0x15f,_0x2b09ab:0x2f,_0x1c6650:0x10c},_0x4ee422={_0x516bf3:0x1da},_0x1335d6={_0x567eea:0x427,_0x44a568:0x1b9};function _0x2e8f4a(_0x4964f6,_0x472937,_0x3790dd,_0x2cdf45){return _0x2fd7af(_0x4964f6-_0x1335d6._0x567eea,_0x472937-_0x1335d6._0x44a568,_0x472937,_0x2cdf45-0x88);}if(_0x3c5afa[_0x4c6995(_0x22c98e._0x16e7e1,_0x22c98e._0x5624f0,_0x22c98e._0x288f6f,0x1fa)]===0x0)return _0x4c6995(_0x22c98e._0x113983,0x320,_0x22c98e._0x39651d,0x1f3);function _0x4c6995(_0x1f952f,_0x3dc90a,_0x1369ab,_0x1bc593){return _0x2fd7af(_0x1369ab-0x1bc,_0x3dc90a-0x1b9,_0x1f952f,_0x1bc593-_0x4ee422._0x516bf3);}return _0x3c5afa['map'](formatSingleHover)[_0x4c6995(0x193,0x11a,_0x22c98e._0x591e97,_0x22c98e._0x2b09ab)](_0x4c6995(_0x22c98e._0x1c6650,-0x5c,0x91,-0x60));}function locationPath(_0x272fbc){const _0x16d679={_0x27821d:0x3c2,_0x596f40:0x2f5,_0x2397f0:0x2eb,_0x5c8db0:0x5bb,_0x4bff12:0x59e,_0x1b4f02:0x6d9},_0x673d4b={_0x4d044d:0x86},_0x1e83f3={_0x32a78d:0x1cd,_0x4110c7:0x1bc,_0x506ac5:0x3b8};function _0x5daf4f(_0x5f5052,_0x5bbbad,_0x57f069,_0x51b578){return _0x278b49(_0x5f5052-_0x1e83f3._0x32a78d,_0x5bbbad-_0x1e83f3._0x4110c7,_0x51b578-_0x1e83f3._0x506ac5,_0x5f5052);}if(!_0x272fbc[_0x5daf4f(0x3bb,_0x16d679._0x27821d,_0x16d679._0x596f40,_0x16d679._0x2397f0)](_0x162b39(0x5f4,_0x16d679._0x5c8db0,_0x16d679._0x4bff12,_0x16d679._0x1b4f02)))return _0x272fbc;function _0x162b39(_0x2daa99,_0x4cc9cd,_0x19146e,_0x236fab){return _0x2fd7af(_0x2daa99-0x6e0,_0x4cc9cd-0x81,_0x4cc9cd,_0x236fab-_0x673d4b._0x4d044d);}return _0x27ebb5(_0x272fbc);}function formatLocations(_0x1f826a){const _0x5e229c={_0x1b96a8:0x639,_0x44ffb1:0x3fc,_0x2cff3c:0x391,_0x266008:0x3d8,_0x25b977:0x4db,_0x126f7e:0x437},_0x46d6ba={_0x519936:0x481,_0x255fe6:0x4a2,_0x47c2df:0x4ec},_0x52ab70={_0x1ed484:0x66,_0x4897c6:0xaf,_0x4673b8:0x45},_0x4530fa={_0x4cfcbb:0x2f},_0x4f869d={_0x6d01f4:0x1e0};function _0x4d1af1(_0x402cdb,_0x189e6b,_0x8b3f84,_0xa289fa){return _0x2fd7af(_0x8b3f84-0x470,_0x189e6b-_0x4f869d._0x6d01f4,_0x189e6b,_0xa289fa-0x5d);}function _0x2cf183(_0x3360bd,_0x448fbb,_0x29d190,_0x38921f){return _0x2fd7af(_0x38921f- -_0x4530fa._0x4cfcbb,_0x448fbb-0x43,_0x3360bd,_0x38921f-0xa1);}if(_0x1f826a['length']===0x0)return _0x4d1af1(_0x5e229c._0x1b96a8,0x469,0x4fc,0x5c6);return _0x1f826a[_0x4d1af1(0x263,_0x5e229c._0x44ffb1,_0x5e229c._0x2cff3c,_0x5e229c._0x266008)](_0x3d33ef=>{const _0x488cbe={_0x4d92de:0x9b};function _0x3092a8(_0x97c94f,_0x396237,_0x54573c,_0x40d68e){return _0x4d1af1(_0x97c94f-_0x52ab70._0x1ed484,_0x40d68e,_0x396237-_0x52ab70._0x4897c6,_0x40d68e-_0x52ab70._0x4673b8);}function _0x4961b8(_0x2fcb0c,_0x4d104d,_0x3aff01,_0x40d2c4){return _0x4d1af1(_0x2fcb0c-0x51,_0x2fcb0c,_0x3aff01-0x25,_0x40d2c4-_0x488cbe._0x4d92de);}const _0x106626=_0x3d33ef[_0x4961b8(_0x46d6ba._0x519936,0x53f,0x461,0x53a)][_0x3092a8(_0x46d6ba._0x255fe6,0x3aa,0x34e,_0x46d6ba._0x47c2df)];return locationPath(_0x3d33ef['uri'])+':'+(_0x106626['line']+0x1)+':'+(_0x106626['character']+0x1);})[_0x4d1af1(0x2cb,_0x5e229c._0x25b977,0x413,_0x5e229c._0x126f7e)]('\x0a');}function isDocumentSymbol(_0x43721f){const _0x51599d={_0x245f9b:0x577,_0x5dcd61:0x5b2},_0x1e89df={_0x17b414:0x5f5,_0x2b8840:0x16c};function _0x270c55(_0x5a94e5,_0x233b7e,_0x44a80e,_0x4bd61c){return _0x2fd7af(_0x233b7e-_0x1e89df._0x17b414,_0x233b7e-0x69,_0x44a80e,_0x4bd61c-_0x1e89df._0x2b8840);}return'range'in _0x43721f&&_0x270c55(0x629,_0x51599d._0x245f9b,0x68f,_0x51599d._0x5dcd61)in _0x43721f;}function formatSymbols(_0x34cc1f){const _0x491ffa={_0x5ea1dd:0x4e2,_0x290444:0x44c,_0x41c8dd:0x8a,_0x153622:0x23,_0x24f0b0:0x3d9,_0x339848:0x17d,_0x3e2d55:0x26,_0x23a02a:0x1ea},_0x34516f={_0x2b2697:0x7d,_0x5ae722:0x78,_0x3947b4:0x7c,_0xe91e22:0x70,_0xc0875:0x593,_0x32e73f:0x6d0,_0x327d88:0x14,_0x41a19d:0x129,_0x26c0f9:0xce,_0x5f32ab:0x153,_0x1b0a9e:0x5da,_0xbbb278:0x5e5,_0x4b5772:0x245,_0x59e10:0x1dc,_0x125542:0x93,_0x2957f6:0xb3,_0x3bcd4a:0x65,_0x531a34:0x7a,_0x298cd8:0x548,_0x5bb7e2:0x600,_0x4b7de1:0x4f5,_0x77eae1:0x51b,_0x453216:0x59a,_0x3457f5:0x455,_0x473ee3:0x14,_0x5c1d05:0x10f,_0x3cc9b7:0x45,_0x417d3a:0x12a,_0x5c4fb7:0x4c6,_0x366bfe:0x3ea,_0x45d657:0x4e8,_0x27b927:0x5a9},_0x2fad8d={_0x4b07ac:0x615,_0x5889aa:0xd9},_0x4d5c94={_0x34ab19:0x106},_0x24e3d5={_0x22e4bd:0x1a9,_0x4d04b0:0xc1,_0x3e101e:0x9d};if(_0x34cc1f[_0x361fed(0x50e,0x3b6,_0x491ffa._0x5ea1dd,_0x491ffa._0x290444)]===0x0)return _0x445ba9(-0xd1,-_0x491ffa._0x41c8dd,0x1b,-_0x491ffa._0x153622);function _0x445ba9(_0x4d4d8e,_0x3f5b02,_0x30bfc1,_0x33ffd4){return _0x278b49(_0x4d4d8e-_0x24e3d5._0x22e4bd,_0x3f5b02-_0x24e3d5._0x4d04b0,_0x4d4d8e- -_0x24e3d5._0x3e101e,_0x33ffd4);}function _0x361fed(_0xad4496,_0x33db85,_0x4a594d,_0x323eef){return _0x2fd7af(_0x323eef-0x4b8,_0x33db85-0x1a,_0xad4496,_0x323eef-_0x4d5c94._0x34ab19);}return _0x34cc1f[_0x361fed(0x48c,0x387,0x40e,_0x491ffa._0x24f0b0)](_0x2eba58=>{function _0x273260(_0x4be5b1,_0x46be24,_0x53bf5a,_0x528f6f){return _0x361fed(_0x53bf5a,_0x46be24-0xe,_0x53bf5a-0x155,_0x528f6f- -0x3de);}if(isDocumentSymbol(_0x2eba58))return _0x2eba58[_0x273260(-_0x34516f._0x2b2697,-_0x34516f._0x5ae722,-0x11c,-_0x34516f._0x3947b4)]+'\x20('+_0x2eba58['kind']+_0x273260(-0x2d,-0xbe,0x112,_0x34516f._0xe91e22)+(_0x2eba58[_0x26987f(_0x34516f._0xc0875,_0x34516f._0x32e73f,0x649,0x612)][_0x273260(-_0x34516f._0x327d88,-_0x34516f._0x41a19d,-_0x34516f._0x26c0f9,-0x9b)]['line']+0x1)+':'+(_0x2eba58['range'][_0x273260(-0x17d,-0xf2,-_0x34516f._0x5f32ab,-0x9b)][_0x26987f(_0x34516f._0x1b0a9e,0x6f2,0x531,_0x34516f._0xbbb278)]+0x1)+']';function _0x26987f(_0x1d189b,_0x503263,_0x170909,_0x324731){return _0x445ba9(_0x1d189b-_0x2fad8d._0x4b07ac,_0x503263-_0x2fad8d._0x5889aa,_0x170909-0x1de,_0x170909);}return _0x2eba58[_0x273260(-0x4e,0x81,0x27,-_0x34516f._0x3947b4)]+'\x20('+_0x2eba58[_0x273260(_0x34516f._0x4b5772,0x9b,_0x34516f._0x59e10,0x121)]+')\x20'+locationPath(_0x2eba58[_0x273260(-_0x34516f._0x125542,_0x34516f._0x2957f6,-_0x34516f._0x3bcd4a,_0x34516f._0x531a34)][_0x26987f(_0x34516f._0x298cd8,_0x34516f._0x5bb7e2,_0x34516f._0x4b7de1,_0x34516f._0x77eae1)])+':'+(_0x2eba58[_0x273260(0xca,_0x34516f._0x41a19d,0xe,0x7a)][_0x26987f(_0x34516f._0xc0875,0x659,_0x34516f._0x453216,0x568)][_0x26987f(0x452,_0x34516f._0x3457f5,0x53b,0x505)][_0x273260(0x97,_0x34516f._0x473ee3,0xc7,0xff)]+0x1)+':'+(_0x2eba58[_0x273260(0x39,_0x34516f._0x5c1d05,0x131,0x7a)][_0x273260(_0x34516f._0x3cc9b7,_0x34516f._0x417d3a,0x13c,0xa6)][_0x26987f(0x452,_0x34516f._0x5c4fb7,_0x34516f._0x366bfe,_0x34516f._0x45d657)][_0x26987f(0x5da,_0x34516f._0x27b927,0x6ba,0x4cb)]+0x1);})[_0x445ba9(-0xab,-_0x491ffa._0x339848,-_0x491ffa._0x3e2d55,-_0x491ffa._0x23a02a)]('\x0a');}function formatDiagnostics(_0x20626e){const _0x56f8fb={_0x557b2c:0x2ee,_0x4dd4fe:0x284,_0x532ecc:0x373,_0x4599cb:0x352,_0x646b42:0x2c2,_0x56d5f2:0x320,_0x514024:0x27b,_0x19db45:0x1bc,_0x2862f3:0x24c,_0x94c1f1:0x186},_0x584d9b={_0x249822:0x131,_0x1becbb:0x74,_0x58953e:0x22c},_0x3eff28={_0x1eaa82:0x193,_0x30a2e7:0x148},_0x2ee16c={_0x4f84e0:0x35a,_0x1a31c5:0xe1},_0xb3951a={_0xe60049:0x92,_0x33dca8:0xaf};function _0x5afb39(_0x49c2a7,_0x175056,_0x59cf7b,_0x5549da){return _0x278b49(_0x49c2a7-_0xb3951a._0xe60049,_0x175056-_0xb3951a._0x33dca8,_0x175056-0x262,_0x49c2a7);}if(_0x20626e[_0x42f585(_0x56f8fb._0x557b2c,_0x56f8fb._0x4dd4fe,_0x56f8fb._0x532ecc,_0x56f8fb._0x4599cb)]===0x0)return _0x5afb39(_0x56f8fb._0x646b42,0x259,0x329,_0x56f8fb._0x56d5f2);function _0x42f585(_0x2b9c2a,_0x56345a,_0x5948db,_0x4bcfa){return _0x2fd7af(_0x2b9c2a-_0x2ee16c._0x4f84e0,_0x56345a-_0x2ee16c._0x1a31c5,_0x5948db,_0x4bcfa-0x124);}return _0x20626e[_0x42f585(_0x56f8fb._0x514024,0x394,_0x56f8fb._0x19db45,_0x56f8fb._0x2862f3)](_0x57674d=>{const _0x52c5df=_0x57674d['range']['start'];function _0xba427f(_0x3ed481,_0x294a66,_0x1d2264,_0x2eb868){return _0x5afb39(_0x2eb868,_0x3ed481- -_0x3eff28._0x1eaa82,_0x1d2264-_0x3eff28._0x30a2e7,_0x2eb868-0x1e4);}return severityName(_0x57674d['severity'])+'\x20['+(_0x52c5df['line']+0x1)+':'+(_0x52c5df[_0xba427f(_0x584d9b._0x249822,_0x584d9b._0x1becbb,_0x584d9b._0x58953e,0x81)]+0x1)+']\x20'+_0x57674d['message'];})[_0x5afb39(_0x56f8fb._0x94c1f1,0x254,0x2dc,0x19d)]('\x0a');}function formatIncomingCalls(_0x3704d5){const _0x2777a7={_0x40968d:0x1da,_0x5dd14c:0xc5,_0x14774a:0x2d9,_0x2aa9a3:0xee,_0x1b5e43:0x167,_0x22ee86:0x293,_0x5b142d:0x306},_0xb42682={_0xecd718:0x63,_0x5b2df5:0x198,_0xb799f9:0x402};function _0x42f277(_0x58e8c5,_0x2a4ce6,_0x1958bf,_0x3b786b){return _0x278b49(_0x58e8c5-_0xb42682._0xecd718,_0x2a4ce6-_0xb42682._0x5b2df5,_0x58e8c5-_0xb42682._0xb799f9,_0x3b786b);}if(_0x3704d5[_0x2da678(_0x2777a7._0x40968d,_0x2777a7._0x5dd14c,_0x2777a7._0x14774a,_0x2777a7._0x2aa9a3)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x2da678(_0x48d9f5,_0x5cc3f8,_0x57e86c,_0x3df040){return _0x2fd7af(_0x48d9f5-0x246,_0x5cc3f8-0x6e,_0x3df040,_0x3df040-0x1f2);}return _0x3704d5[_0x2da678(_0x2777a7._0x1b5e43,0x11c,_0x2777a7._0x22ee86,0x19b)](_0x4d6928=>_0x4d6928[_0x2da678(0x276,0x2a4,0x1a4,0x35d)][_0x42f277(0x2fb,0x299,0x3f3,0x1e3)])[_0x42f277(0x3f4,0x355,_0x2777a7._0x5b142d,0x3d7)]('\x0a');}function formatOutgoingCalls(_0x2b0eca){const _0x3a89ba={_0x3ec428:0x465,_0x13f9be:0x3ff,_0x4ae024:0x59a,_0x304280:0x34a,_0x2538af:0x40e},_0x210186={_0x1bd8fb:0x5c},_0x55b9e1={_0x9accb7:0x122,_0x4cabb9:0x407};function _0x4b988b(_0x2275f5,_0x5b79fe,_0x8513ea,_0x3f24da){return _0x278b49(_0x2275f5-0x24,_0x5b79fe-_0x55b9e1._0x9accb7,_0x8513ea-_0x55b9e1._0x4cabb9,_0x3f24da);}function _0x74eeb9(_0x3fe0ff,_0x4e8c78,_0x4c16fe,_0x4183d1){return _0x278b49(_0x3fe0ff-_0x210186._0x1bd8fb,_0x4e8c78-0x1cd,_0x3fe0ff-0x482,_0x4c16fe);}if(_0x2b0eca[_0x74eeb9(_0x3a89ba._0x3ec428,0x58a,_0x3a89ba._0x13f9be,0x5a9)]===0x0)return _0x74eeb9(_0x3a89ba._0x4ae024,0x5d5,0x4d0,0x56e);return _0x2b0eca[_0x4b988b(_0x3a89ba._0x304280,_0x3a89ba._0x2538af,0x377,0x2c4)](_0x1bddb8=>_0x1bddb8['to']['name'])[_0x4b988b(0x4c3,0x392,0x3f9,0x453)]('\x0a');}function toStructured(_0x3a1791){const _0x8dc1a6={_0xcccdf4:0x388,_0x22bba0:0x327},_0x4df457={_0x2ca589:0x40d,_0x5672d5:0x1cc,_0x2b6a9c:0x116};function _0x29c260(_0x385e67,_0x4ef323,_0x3c3e53,_0x4b2d5d){return _0x2fd7af(_0x385e67-_0x4df457._0x2ca589,_0x4ef323-_0x4df457._0x5672d5,_0x4ef323,_0x4b2d5d-_0x4df457._0x2b6a9c);}return JSON[_0x29c260(0x42d,_0x8dc1a6._0xcccdf4,0x4d8,_0x8dc1a6._0x22bba0)](JSON['stringify'](_0x3a1791));}async function assertFile(_0x449f62){const _0x29745e={_0x144b8e:0x58a,_0x30d24a:0x100};function _0x4c8d57(_0x1ef590,_0x50300c,_0x2145a2,_0x376d5b){return _0x2fd7af(_0x50300c-_0x29745e._0x144b8e,_0x50300c-_0x29745e._0x30d24a,_0x1ef590,_0x376d5b-0x164);}const _0x21ef79=await _0x3b02a1(_0x449f62);function _0x49ae22(_0x5628d7,_0x47a272,_0x1fd49e,_0x5cd7f6){return _0x278b49(_0x5628d7-0xaf,_0x47a272-0x10b,_0x5cd7f6-0x6e,_0x47a272);}if(!_0x21ef79[_0x49ae22(-0x26,0x1a1,0x219,0xd7)]())throw new ToolExecutionError(_0x4c8d57(0x559,0x5e1,0x504,0x4c8)+_0x449f62,{'path':_0x449f62});}function validatePosition(_0x2a753c,_0x13b2d6){const _0x491a76={_0x32cbaf:0x19b,_0x4462bc:0xa8,_0x2886ef:0x14f,_0x126dc5:0x1b9},_0x3ceff1={_0x409888:0x1b,_0x527725:0x5f},_0x52a367={_0x54a26b:0xdb,_0x2aeec8:0x18a};function _0x1dd844(_0x51e545,_0x3b0bac,_0x1fb902,_0x94dc82){return _0x278b49(_0x51e545-_0x52a367._0x54a26b,_0x3b0bac-_0x52a367._0x2aeec8,_0x1fb902-0x5f6,_0x94dc82);}if(!Number[_0x1dd844(0x42a,0x55a,0x506,0x44b)](_0x2a753c)||_0x2a753c<0x1)throw new ToolExecutionError(_0x1e7d98(-_0x491a76._0x32cbaf,-0x1c5,-_0x491a76._0x4462bc,-0x5e),{'line':_0x2a753c});function _0x1e7d98(_0x41fcd3,_0x2624fd,_0x1d13e4,_0x15e2a2){return _0x278b49(_0x41fcd3-0x46,_0x2624fd-_0x3ceff1._0x409888,_0x41fcd3- -_0x3ceff1._0x527725,_0x2624fd);}if(!Number[_0x1e7d98(-_0x491a76._0x2886ef,-0x6d,-_0x491a76._0x126dc5,-0x6a)](_0x13b2d6)||_0x13b2d6<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x13b2d6});}function createLspTool(_0x591ebe={}){const _0x5c89cc={_0x1d8e82:0x7df,_0x2d3337:0x761,_0x1fca5b:0x7b1,_0x1d09d1:0x6a5,_0x14147a:0x6bd,_0x3a2436:0x63b,_0x47f9eb:0x559,_0x1b38fb:0x630,_0x2951fd:0x63c,_0xeeaa4b:0x6b8,_0x51a042:0x572,_0x5cee2c:0x673,_0x3fdaa1:0x754,_0x4187a2:0x72d,_0x2daf7c:0x46d,_0x8580d:0x4bf,_0x284c41:0x543,_0x1e8067:0x6cc,_0x9d1e27:0x602,_0x192412:0x467,_0x4f8049:0x37c,_0x2c612e:0x471,_0x54ddb1:0x6ae,_0x44db23:0x842,_0x43ff7d:0x707,_0xabb33:0x702,_0x4aacfb:0x737,_0x5dc7f1:0x4b0,_0xf775e3:0x46a,_0x576188:0x3ee,_0x49ad90:0x7c2,_0x32e9af:0x789,_0x29bb2a:0x67b,_0x14d121:0x67f,_0x5b40cf:0x355,_0x5d76b0:0x459,_0x47d33d:0x54b,_0x2f14a1:0x3dd,_0x485946:0x6a5,_0x2ab356:0x65d,_0xe022f:0x734,_0x2e3388:0x60f},_0x5799e0={_0x43d0eb:0x425,_0x37063f:0x55c,_0x3b2155:0x472,_0x43151e:0x66b,_0x2449af:0x63a,_0x1f93f2:0x5db,_0x1e29e2:0x325,_0x1ebebf:0x319,_0x58ac82:0x3b4,_0x4363c0:0x3d1,_0x41f16c:0x488,_0x241efe:0x4bf,_0x4c1fe3:0x405,_0x3bd8ef:0x2bc,_0x5bb5bc:0x3f6,_0x17e9cf:0x3ce,_0x5306a2:0x552,_0x5aa9bc:0x439,_0xb6641c:0x19f,_0x4e83c8:0x301,_0x1f9764:0x35a,_0x9416fd:0x35c,_0x2152d1:0x50e,_0x385a78:0x43a,_0x25bfb4:0x468,_0x4da16a:0x14e,_0x428da1:0x227,_0x2ea305:0x230,_0x3dc90c:0x230,_0x4cc0ab:0x1d2,_0x522eda:0x2d5,_0x57363b:0x1d8,_0x11d2ff:0xfb,_0x183441:0x2d7,_0x790c1d:0x4ce,_0x2fba74:0x695,_0x1fbd68:0x598,_0x2ecc51:0x50b,_0xc6890b:0x5a5,_0x11c501:0x152,_0x105d90:0x36b,_0x57f9f2:0x254,_0x557588:0x23d,_0xed146c:0x5b4,_0x48426b:0x5ff,_0x571dbe:0x2cd,_0x1d9fc7:0x450,_0x3fc9c0:0x493,_0x29e1d5:0x3aa,_0x2c9f71:0x453,_0x12ff6a:0x451,_0x8f2695:0x3d3,_0x1a6a02:0x37d,_0x497e7f:0x4ab,_0x58faeb:0x467,_0x40a4eb:0x507,_0x3b70fa:0x523,_0x3ff1e9:0x4ca,_0xc9cf9:0x566,_0x461fe4:0x537,_0x57ce84:0x5f9},_0x4fad44={_0x12095b:0x178,_0x39807c:0x575},_0xb808d5={_0x167659:0x5c},_0x1e21ad=_0x391131[_0x3a1352(_0x5c89cc._0x1d8e82,_0x5c89cc._0x2d3337,_0x5c89cc._0x1fca5b,0x7b4)](_0x591ebe[_0x3a1352(_0x5c89cc._0x1d09d1,_0x5c89cc._0x14147a,0x716,0x762)]??process['cwd']()),_0x757149=(_0x591ebe[_0x4e31d8(0x61b,0x711,0x637,_0x5c89cc._0x3a2436)]??[])[_0x3a1352(_0x5c89cc._0x47f9eb,0x579,0x625,_0x5c89cc._0x1b38fb)](_0x258215=>_0x391131[_0x3a1352(0x737,0x8c1,0x88d,0x7b4)](_0x258215));function _0x3a1352(_0xa5a084,_0xaff8ec,_0x459800,_0xce4742){return _0x2fd7af(_0xce4742-0x70f,_0xaff8ec-_0xb808d5._0x167659,_0xa5a084,_0xce4742-0x1cc);}function _0x4e31d8(_0x8f9b28,_0x4cf203,_0x336a4b,_0x20cd84){return _0x278b49(_0x8f9b28-0xe5,_0x4cf203-_0x4fad44._0x12095b,_0x336a4b-_0x4fad44._0x39807c,_0x4cf203);}const _0x26e17b=_0x591ebe['name']??_0x4e31d8(_0x5c89cc._0x2951fd,_0x5c89cc._0xeeaa4b,0x58d,0x458);return defineTool({'name':_0x26e17b,'description':_0x3a1352(_0x5c89cc._0x51a042,0x6b3,_0x5c89cc._0x5cee2c,0x617),'inputSchema':{'type':_0x3a1352(0x6b8,_0x5c89cc._0x3fdaa1,0x6d3,_0x5c89cc._0x4187a2),'properties':{'operation':{'type':'string','enum':[_0x4e31d8(0x393,0x4cb,0x421,_0x5c89cc._0x2daf7c),'findReferences',_0x4e31d8(0x58c,_0x5c89cc._0x8580d,_0x5c89cc._0x284c41,0x620),_0x3a1352(_0x5c89cc._0x1e8067,_0x5c89cc._0x9d1e27,_0x5c89cc._0x192412,0x5a2),_0x4e31d8(0x356,_0x5c89cc._0x4f8049,_0x5c89cc._0x2c612e,0x45f),'goToImplementation',_0x3a1352(_0x5c89cc._0x54ddb1,_0x5c89cc._0x44db23,_0x5c89cc._0x43ff7d,_0x5c89cc._0xabb33),_0x3a1352(_0x5c89cc._0x4aacfb,0x861,0x7ec,0x796),'outgoingCalls','diagnostics']},'filePath':{'type':_0x4e31d8(0x5ad,_0x5c89cc._0x5dc7f1,_0x5c89cc._0xf775e3,_0x5c89cc._0x576188)},'line':{'type':_0x3a1352(0x7b9,_0x5c89cc._0x49ad90,0x7a0,_0x5c89cc._0x32e9af)},'character':{'type':_0x4e31d8(_0x5c89cc._0x29bb2a,0x531,0x63e,_0x5c89cc._0x14d121)},'query':{'type':_0x4e31d8(_0x5c89cc._0x5b40cf,0x56b,0x46a,0x599)}},'required':[_0x3a1352(0x7d7,0x843,0x7fb,0x700),_0x4e31d8(_0x5c89cc._0x5d76b0,_0x5c89cc._0x47d33d,0x40b,_0x5c89cc._0x2f14a1),_0x3a1352(0x776,_0x5c89cc._0x485946,_0x5c89cc._0x2ab356,_0x5c89cc._0xe022f),_0x4e31d8(0x4c5,0x4bf,0x5d7,_0x5c89cc._0x2e3388)]},async *'execute'(_0x265ab6){const _0x55de7e={_0x5d0282:0x1a0},_0x57bda7={_0x574fd7:0x1a5,_0x17da4b:0x108};function _0x42f5dd(_0x5de0f2,_0x135170,_0x82e4f5,_0x203780){return _0x3a1352(_0x135170,_0x135170-_0x57bda7._0x574fd7,_0x82e4f5-_0x57bda7._0x17da4b,_0x203780- -0x32f);}const _0x501c41=_0x591ebe['lspService'];if(!_0x501c41)throw new ToolExecutionError(_0x38f509(_0x5799e0._0x43d0eb,_0x5799e0._0x37063f,0x436,_0x5799e0._0x3b2155));if(!_0x501c41[_0x38f509(_0x5799e0._0x43151e,_0x5799e0._0x2449af,_0x5799e0._0x1f93f2,0x53f)]())throw new ToolExecutionError(_0x42f5dd(_0x5799e0._0x1e29e2,0x52b,_0x5799e0._0x1ebebf,0x444));const _0x152a47=_0x265ab6[_0x42f5dd(0x35a,_0x5799e0._0x58ac82,0x28d,_0x5799e0._0x4363c0)];validatePosition(_0x265ab6[_0x42f5dd(_0x5799e0._0x41f16c,0x4d9,_0x5799e0._0x241efe,_0x5799e0._0x4c1fe3)],_0x265ab6['character']);if(_0x152a47==='workspaceSymbol'){if(!_0x265ab6['query']?.[_0x42f5dd(_0x5799e0._0x3bd8ef,_0x5799e0._0x5bb5bc,_0x5799e0._0x17e9cf,0x321)]())throw new ToolExecutionError(_0x38f509(_0x5799e0._0x5306a2,0x52d,_0x5799e0._0x5aa9bc,0x3dc));const _0x240d38=await _0x501c41['workspaceSymbol'](_0x265ab6[_0x42f5dd(_0x5799e0._0xb6641c,_0x5799e0._0x4e83c8,_0x5799e0._0x1f9764,0x2c3)]['trim']());return yield createToolOutput(formatSymbols(_0x240d38),{'operation':_0x152a47,'query':_0x265ab6[_0x38f509(_0x5799e0._0x9416fd,_0x5799e0._0x2152d1,_0x5799e0._0x385a78,_0x5799e0._0x25bfb4)],'symbols':_0x240d38}),void 0x0;}const _0x198459=resolveAllowedPath(_0x1e21ad,_0x757149,_0x265ab6[_0x42f5dd(0x356,_0x5799e0._0x4da16a,0x1b3,_0x5799e0._0x428da1)]);await assertFile(_0x198459);if(!await _0x501c41[_0x42f5dd(_0x5799e0._0x2ea305,0x36a,_0x5799e0._0x3dc90c,0x33f)](_0x198459))throw new ToolExecutionError(_0x42f5dd(_0x5799e0._0x4cc0ab,_0x5799e0._0x522eda,_0x5799e0._0x57363b,0x24b)+_0x265ab6[_0x42f5dd(_0x5799e0._0x11d2ff,0x36a,0x1f1,0x227)],{'filePath':_0x265ab6['filePath']});function _0x38f509(_0x154044,_0x1d7ba4,_0x49bde9,_0x77617e){return _0x3a1352(_0x154044,_0x1d7ba4-0x1a8,_0x49bde9-_0x55de7e._0x5d0282,_0x49bde9- -0x1b8);}await _0x501c41[_0x38f509(0x40b,_0x5799e0._0x183441,0x3c0,_0x5799e0._0x790c1d)](_0x198459,!![]);const _0x2b6d5b={'file':_0x198459,'line':_0x265ab6['line']-0x1,'character':_0x265ab6[_0x38f509(_0x5799e0._0x2fba74,0x607,0x56a,0x51d)]-0x1};switch(_0x152a47){case'hover':{const _0x3f121c=await _0x501c41['hover'](_0x2b6d5b);return yield createToolOutput(formatHover(_0x3f121c),{'operation':_0x152a47,'filePath':_0x198459,'hover':_0x3f121c}),void 0x0;}case _0x38f509(_0x5799e0._0x1fbd68,_0x5799e0._0x2ecc51,_0x5799e0._0xc6890b,0x640):{const _0x1b2f83=await _0x501c41[_0x42f5dd(0x136,0x116,_0x5799e0._0x11c501,0x252)](_0x198459);return yield createToolOutput(formatDiagnostics(_0x1b2f83),{'operation':_0x152a47,'filePath':_0x198459,'diagnostics':_0x1b2f83}),void 0x0;}case _0x42f5dd(_0x5799e0._0x105d90,_0x5799e0._0x57f9f2,0x2ba,_0x5799e0._0x557588):{const _0x2be1bf=await _0x501c41[_0x38f509(0x45f,_0x5799e0._0xed146c,0x483,0x395)](_0x2b6d5b);return yield createToolOutput(formatLocations(_0x2be1bf),{'operation':_0x152a47,'filePath':_0x198459,'locations':_0x2be1bf}),void 0x0;}case _0x38f509(0x683,_0x5799e0._0x5306a2,_0x5799e0._0x48426b,0x6d9):{const _0x4a1d33=await _0x501c41['references'](_0x2b6d5b);return yield createToolOutput(formatLocations(_0x4a1d33),{'operation':_0x152a47,'filePath':_0x198459,'locations':_0x4a1d33}),void 0x0;}case'goToImplementation':{const _0x1f3736=await _0x501c41['implementation'](_0x2b6d5b);return yield createToolOutput(formatLocations(_0x1f3736),{'operation':_0x152a47,'filePath':_0x198459,'locations':_0x1f3736}),void 0x0;}case _0x38f509(_0x5799e0._0x571dbe,_0x5799e0._0x1d9fc7,0x3ea,_0x5799e0._0x3fc9c0):{const _0x260e62=await _0x501c41[_0x38f509(_0x5799e0._0x29e1d5,_0x5799e0._0x2c9f71,0x3ea,0x457)](_0x198459);return yield createToolOutput(formatSymbols(_0x260e62),{'operation':_0x152a47,'filePath':_0x198459,'symbols':_0x260e62}),void 0x0;}case _0x42f5dd(0x4c9,0x336,_0x5799e0._0x12ff6a,_0x5799e0._0x8f2695):{const _0x516c22=await _0x501c41['prepareCallHierarchy'](_0x2b6d5b);return yield createToolOutput(formatSymbols(_0x516c22),{'operation':_0x152a47,'filePath':_0x198459,'symbols':toStructured(_0x516c22)}),void 0x0;}case _0x42f5dd(_0x5799e0._0x1a6a02,_0x5799e0._0x497e7f,0x328,_0x5799e0._0x58faeb):{const _0x37de7a=await _0x501c41[_0x42f5dd(_0x5799e0._0x40a4eb,0x3b9,0x485,_0x5799e0._0x58faeb)](_0x2b6d5b);return yield createToolOutput(formatIncomingCalls(_0x37de7a),{'operation':_0x152a47,'filePath':_0x198459,'calls':toStructured(_0x37de7a)}),void 0x0;}case _0x38f509(0x44f,_0x5799e0._0x3b70fa,_0x5799e0._0x3ff1e9,_0x5799e0._0xc9cf9):{const _0x217e6b=await _0x501c41[_0x38f509(_0x5799e0._0x461fe4,_0x5799e0._0x57ce84,0x4ca,0x3be)](_0x2b6d5b);return yield createToolOutput(formatOutgoingCalls(_0x217e6b),{'operation':_0x152a47,'filePath':_0x198459,'calls':toStructured(_0x217e6b)}),void 0x0;}}}});}import{randomUUID}from'crypto';import{mkdir as _0x3c12cd,readFile as _0x421ad8,writeFile as _0x4d132b}from'fs/promises';import{join as _0x3c365d}from'path';function sanitizeStorageKey(_0x3ed46){const _0x5ad992={_0x1068a1:0x97,_0x518a2a:0x191,_0x1d8b2a:0x1b0},_0x5e46b9={_0x25d677:0x601,_0x3e3c44:0x10b},_0x546d01={_0x28b8ef:0x11f,_0x126f06:0x38,_0x5cc539:0x81};function _0x1e33a4(_0x1928b6,_0x19a62c,_0x39b7c6,_0x55c026){return _0x2fd7af(_0x39b7c6-_0x546d01._0x28b8ef,_0x19a62c-_0x546d01._0x126f06,_0x55c026,_0x55c026-_0x546d01._0x5cc539);}function _0x1c9fa2(_0xad2181,_0x1f7e6d,_0x38a650,_0x4aa6f9){return _0x2fd7af(_0x1f7e6d-_0x5e46b9._0x25d677,_0x1f7e6d-_0x5e46b9._0x3e3c44,_0x38a650,_0x4aa6f9-0x198);}return _0x3ed46[_0x1e33a4(-0xd4,-0xa9,-_0x5ad992._0x1068a1,-0xcd)](/[^a-zA-Z0-9_]+/g,'_')[_0x1e33a4(-_0x5ad992._0x518a2a,-_0x5ad992._0x1d8b2a,-0x97,-0x168)](/^_+|_+$/g,'')||'server';}function storagePath(_0x35fefd){const _0x240a6f={_0x1d2237:0x6d2,_0x3c3253:0x6c0,_0x4524e9:0x6a1,_0xd98dc3:0x62d,_0x1b36cb:0x60a,_0x3ab095:0x629,_0x394177:0x708,_0x342f3c:0x598,_0x3c4aa0:0x6d,_0xa1859b:0x673},_0x132850={_0x186629:0xaf,_0x1d0f37:0x108},_0x3ef0ed={_0x34b63c:0x708,_0x360e39:0x3e,_0x1b349c:0x6c};function _0xfbf606(_0x40b6c0,_0x2f5b29,_0x2baec8,_0x14a480){return _0x2fd7af(_0x14a480-_0x3ef0ed._0x34b63c,_0x2f5b29-_0x3ef0ed._0x360e39,_0x2f5b29,_0x14a480-_0x3ef0ed._0x1b349c);}function _0x1013c3(_0x5a06cd,_0x4aa61a,_0x4b5fb2,_0x2042cf){return _0x2fd7af(_0x4b5fb2-0x9,_0x4aa61a-_0x132850._0x186629,_0x4aa61a,_0x2042cf-_0x132850._0x1d0f37);}const _0x53ae8d=sanitizeStorageKey(_0x35fefd[_0xfbf606(0x73d,_0x240a6f._0x1d2237,_0x240a6f._0x3c3253,0x69d)][_0xfbf606(_0x240a6f._0x4524e9,_0x240a6f._0xd98dc3,0x532,_0x240a6f._0x1b36cb)]?.[_0xfbf606(_0x240a6f._0x3ab095,_0x240a6f._0x394177,_0x240a6f._0x342f3c,0x6c6)]??_0x35fefd[_0x1013c3(-0x69,0xa5,0x8b,-_0x240a6f._0x3c4aa0)]);return _0x3c365d(_0x35fefd['storageDir'],_0x53ae8d+_0xfbf606(0x5d5,0x6c7,_0x240a6f._0xa1859b,0x6a9));}async function readStore(_0x4c57af){const _0xfa951b={_0x371d8c:0x73,_0x2de1f2:0xa0,_0x3f6e1a:0xf2,_0x5e9ae1:0x268,_0x16debd:0x1d3,_0x46886e:0x95},_0x2310d0={_0x4d1d63:0x15a};function _0x50378e(_0x3a3663,_0x2789e2,_0x7c331d,_0xa1f1fd){return _0x2fd7af(_0x7c331d-0x200,_0x2789e2-_0x2310d0._0x4d1d63,_0xa1f1fd,_0xa1f1fd-0xaf);}function _0x22a9de(_0xaf2159,_0x1d26fd,_0x39b43,_0x3c20c3){return _0x278b49(_0xaf2159-0x140,_0x1d26fd-0x99,_0x1d26fd-0x7e,_0x3c20c3);}try{return JSON[_0x22a9de(0x139,0xed,0x20b,0xe9)](await _0x421ad8(_0x4c57af,_0x22a9de(0xd2,0x69,-0x97,-_0xfa951b._0x371d8c)));}catch(_0x281890){if(_0x281890 instanceof Error&&_0x22a9de(0xae,_0xfa951b._0x2de1f2,_0xfa951b._0x3f6e1a,-0x5d)in _0x281890&&_0x281890[_0x50378e(0xb8,_0xfa951b._0x5e9ae1,_0xfa951b._0x16debd,0x266)]===_0x22a9de(-0x133,-0x9b,_0xfa951b._0x46886e,-0x102))return{};throw _0x281890;}}async function writeStore(_0x1ca409,_0x5e0f8b){const _0x5b2b65={_0xf3247:0x468,_0x18c46e:0x354},_0xeef594={_0x5aaabd:0xb8};function _0x19c933(_0x3f9f6d,_0x386bb2,_0x483351,_0x59ec11){return _0x278b49(_0x3f9f6d-_0xeef594._0x5aaabd,_0x386bb2-0x66,_0x3f9f6d-0x5a0,_0x59ec11);}await _0x3c12cd(_0x3c365d(_0x1ca409,'..'),{'recursive':!![]}),await _0x4d132b(_0x1ca409,JSON[_0x19c933(_0x5b2b65._0xf3247,0x378,_0x5b2b65._0x18c46e,0x59e)](_0x5e0f8b,null,0x2),'utf8');}async function updateStore(_0x5716c7,_0x1a7d94){const _0x36b699=await readStore(_0x5716c7);_0x1a7d94(_0x36b699),await writeStore(_0x5716c7,_0x36b699);}function createMcpOAuthProvider(_0x31deda){const _0x566f20={_0x265e24:0x41,_0x35c63f:0x14d,_0x4e3e3b:0x17d,_0x1b4d92:0x238,_0xd0b08b:0x180,_0x17bbe5:0x17f,_0xf20856:0x1f0,_0xadaa00:0x20f,_0x46bd86:0x2a9,_0x19b31b:0x27b,_0x53a8aa:0x2f0,_0x1bf487:0x37d,_0x42115a:0x27d,_0x2659c3:0x19f,_0x3280a5:0x1ac,_0x1815c2:0x22a,_0x445126:0x175,_0x5db6f8:0xf0,_0x1e3a23:0x16c},_0x52520f={_0x55a1dd:0x5f,_0x4f63cd:0x48,_0x367c02:0x9a},_0x3e1537={_0x14f741:0x15b},_0x40ed4e={_0x2fb753:0x6a2,_0xfbb85c:0x666,_0x3cd546:0x16a,_0x44947a:0x28e,_0x7b4831:0x53b,_0x3e66f8:0x518,_0x1fe711:0x2d9,_0x540d7b:0x3fe,_0xd5cf4:0x246,_0x3d19a5:0x61c,_0xf163b9:0x5f2,_0x8c6f1d:0x671,_0xfe68de:0x762},_0x2a1ed7={_0x1633e4:0x20c,_0x5e435e:0x201,_0x43caea:0x224,_0x2582f9:0x17f},_0x54def4={_0x11fc4e:0x4b1,_0x717ad8:0x193},_0x4a418a={_0x274e1b:0x480,_0x5c3acf:0x3f1,_0x430e25:0x3b4},_0x1fcfb5={_0xd345e7:0xc2,_0x48356c:0x27b,_0x74a72b:0x302},_0x52d71b={_0x1dc397:0xc7,_0x4836c8:0x2c},_0x41fc87={_0x8d16a9:0x46a},_0x337a2e={_0x4aa7b6:0x68,_0x180422:0x1d4},_0x5d97ed={_0x7b067:0xdf},_0x400a2e={_0x3b0674:0x247,_0x377fc3:0x317},_0x43a709={_0x42195a:0x1d4,_0x5510e0:0x6a},_0x39c953={_0x524386:0x10d},_0x586915=storagePath(_0x31deda);function _0x28f318(_0x10cf22,_0x15dcfb,_0x5badd8,_0x20c4cf){return _0x278b49(_0x10cf22-_0x39c953._0x524386,_0x15dcfb-0x110,_0x10cf22-0x18e,_0x5badd8);}const _0x18b961=_0x31deda['config'][_0x28f318(0xdf,-_0x566f20._0x265e24,_0x566f20._0x35c63f,_0x566f20._0x4e3e3b)]?.[_0x28f318(0x29b,0x1f7,_0x566f20._0x1b4d92,0x317)]?.[_0x28f318(_0x566f20._0xd0b08b,0xc4,_0x566f20._0x17bbe5,_0x566f20._0xf20856)]('\x20');function _0x11e567(_0x5e65b1,_0x1c7d47,_0x499add,_0x3c06ba){return _0x2fd7af(_0x5e65b1-_0x43a709._0x42195a,_0x1c7d47-_0x43a709._0x5510e0,_0x1c7d47,_0x3c06ba-0x1bc);}const _0x2d4b19={'client_name':_0x28f318(_0x566f20._0xadaa00,0xd4,_0x566f20._0x46bd86,0x265),'redirect_uris':[_0x31deda['callbackUrl']],'grant_types':[_0x11e567(_0x566f20._0x19b31b,0x16c,_0x566f20._0x53a8aa,_0x566f20._0x1bf487),'refresh_token'],'response_types':[_0x28f318(0x1b0,0x186,0x1cf,_0x566f20._0x42115a)],'token_endpoint_auth_method':_0x11e567(0x1c9,_0x566f20._0x2659c3,0x11f,_0x566f20._0x3280a5),..._0x18b961?{'scope':_0x18b961}:{}};return{'clientMetadataUrl':_0x31deda[_0x11e567(0x169,0x2e,0x16f,_0x566f20._0x1815c2)]['oauth']?.[_0x28f318(0x221,_0x566f20._0x445126,_0x566f20._0x5db6f8,_0x566f20._0x1e3a23)],get 'redirectUrl'(){const _0x2387ae={_0x596afb:0x12b,_0x4b2a86:0xc4,_0x1525e1:0x1b0};function _0x2b4a02(_0x17e172,_0x41989a,_0x4e7c4c,_0x222f9b){return _0x11e567(_0x17e172-_0x2387ae._0x596afb,_0x4e7c4c,_0x4e7c4c-_0x2387ae._0x4b2a86,_0x222f9b-_0x2387ae._0x1525e1);}return _0x31deda[_0x2b4a02(0x309,_0x400a2e._0x3b0674,_0x400a2e._0x377fc3,0x335)];},get 'clientMetadata'(){return _0x2d4b19;},async 'state'(){const _0x1b2520={_0x290aeb:0x62e},_0x4c29c4={_0x4c81fd:0xdc,_0xfaa5a8:0x191,_0x2b1d2a:0x155},_0x24ac1c={_0xe9589c:0x269,_0x1cc6d4:0x1f2};function _0x489ddb(_0x576d48,_0x3d9f50,_0x694ea2,_0x33fcf3){return _0x11e567(_0x33fcf3-_0x24ac1c._0xe9589c,_0x694ea2,_0x694ea2-_0x24ac1c._0x1cc6d4,_0x33fcf3-0x163);}const _0x765cf6=await readStore(_0x586915);if(_0x765cf6[_0x489ddb(0x4f1,0x3f9,0x4cd,0x3b5)])return _0x765cf6[_0x176ddf(_0x337a2e._0x4aa7b6,-0x51,-0xab,-_0x337a2e._0x180422)];const _0x412bb5=randomUUID();function _0x176ddf(_0x11e995,_0x240ee2,_0x2bd15b,_0x4eb904){return _0x11e567(_0x2bd15b- -0x1f7,_0x240ee2,_0x2bd15b-0xca,_0x4eb904-_0x5d97ed._0x7b067);}return await updateStore(_0x586915,_0x25c30f=>{function _0x457bb6(_0x3ca8f4,_0x34aa11,_0x39f725,_0x4789c6){return _0x489ddb(_0x3ca8f4-_0x4c29c4._0x4c81fd,_0x34aa11-_0x4c29c4._0xfaa5a8,_0x4789c6,_0x3ca8f4-_0x4c29c4._0x2b1d2a);}_0x25c30f[_0x457bb6(0x50a,_0x1b2520._0x290aeb,0x444,0x57d)]=_0x412bb5;}),_0x412bb5;},async 'clientInformation'(){function _0x2a8ca3(_0x4f8fe9,_0x3a5228,_0x5a6917,_0x58ae8c){return _0x11e567(_0x4f8fe9-0x235,_0x58ae8c,_0x5a6917-0xf5,_0x58ae8c-0x35);}return(await readStore(_0x586915))[_0x2a8ca3(0x491,0x47e,_0x41fc87._0x8d16a9,0x513)];},async 'saveClientInformation'(_0x3726ad){await updateStore(_0x586915,_0x2eea6f=>{function _0x47e52c(_0x227536,_0x306f50,_0xb89456,_0x2fb4c3){return _0x16a6(_0x2fb4c3- -0x391,_0x227536);}_0x2eea6f[_0x47e52c(0x14d,-0x109,-_0x52d71b._0x1dc397,_0x52d71b._0x4836c8)]=_0x3726ad;});},async 'tokens'(){const _0x434513={_0x53c53c:0x281};function _0x540de9(_0x587a02,_0x40bb4b,_0x8c994e,_0x295e19){return _0x11e567(_0x40bb4b- -_0x434513._0x53c53c,_0x587a02,_0x8c994e-0xf9,_0x295e19-0x3c);}return(await readStore(_0x586915))[_0x540de9(-_0x1fcfb5._0xd345e7,-0x1f3,-_0x1fcfb5._0x48356c,-_0x1fcfb5._0x74a72b)];},async 'saveTokens'(_0x36ef83){await updateStore(_0x586915,_0x113b16=>{const _0x3fca18={_0x372732:0x291};function _0x12bf30(_0x1a212e,_0x5ad245,_0x2b6175,_0xa6fbee){return _0x16a6(_0x1a212e-_0x3fca18._0x372732,_0x2b6175);}_0x113b16[_0x12bf30(_0x4a418a._0x274e1b,0x578,_0x4a418a._0x5c3acf,_0x4a418a._0x430e25)]=_0x36ef83;});},async 'redirectToAuthorization'(_0x1611af){await _0x31deda['onRedirect'](_0x1611af);},async 'saveCodeVerifier'(_0x219a76){await updateStore(_0x586915,_0x11b403=>{_0x11b403['codeVerifier']=_0x219a76;});},async 'codeVerifier'(){const _0x103edd={_0x5bf1d0:0x26e,_0x32cfd8:0x183},_0x4a0506=(await readStore(_0x586915))[_0x5c6907(-0x147,-_0x2a1ed7._0x1633e4,-_0x2a1ed7._0x5e435e,-_0x2a1ed7._0x43caea)];if(!_0x4a0506)throw new Error(_0x5c6907(-0xfa,-0x1e3,-0x220,-_0x2a1ed7._0x2582f9));function _0x198e90(_0x68ab3c,_0x49967f,_0x26fd13,_0x5a5789){return _0x28f318(_0x5a5789-_0x54def4._0x11fc4e,_0x49967f-0x181,_0x26fd13,_0x5a5789-_0x54def4._0x717ad8);}function _0x5c6907(_0x401129,_0x42875b,_0x192943,_0x569c39){return _0x11e567(_0x42875b- -_0x103edd._0x5bf1d0,_0x192943,_0x192943-0x14a,_0x569c39-_0x103edd._0x32cfd8);}return _0x4a0506;},async 'invalidateCredentials'(_0xf79727){const _0xd87a8c={_0x25e4ae:0x378};await updateStore(_0x586915,_0x3e917e=>{function _0x52b38d(_0x346920,_0x4ae8e4,_0x13dac6,_0x307478){return _0x16a6(_0x346920- -0x5f,_0x307478);}(_0xf79727===_0x1e93d8(0x633,_0x40ed4e._0x2fb753,0x6b0,_0x40ed4e._0xfbb85c)||_0xf79727==='client')&&(_0x3e917e['clientInformation']=void 0x0);(_0xf79727==='all'||_0xf79727==='tokens')&&(_0x3e917e[_0x52b38d(0x190,_0x40ed4e._0x3cd546,_0x40ed4e._0x44947a,0x123)]=void 0x0);function _0x1e93d8(_0x4233e7,_0x146d88,_0x4b2826,_0x3cc00d){return _0x16a6(_0x4b2826-_0xd87a8c._0x25e4ae,_0x3cc00d);}(_0xf79727==='all'||_0xf79727==='verifier')&&(_0x3e917e[_0x1e93d8(0x45a,0x618,_0x40ed4e._0x7b4831,0x47b)]=void 0x0,_0x3e917e[_0x1e93d8(_0x40ed4e._0x3e66f8,0x5e9,0x625,0x71b)]=void 0x0),(_0xf79727===_0x52b38d(_0x40ed4e._0x1fe711,0x1a5,_0x40ed4e._0x540d7b,_0x40ed4e._0xd5cf4)||_0xf79727===_0x1e93d8(0x6c6,0x596,0x695,0x6f1))&&(_0x3e917e[_0x1e93d8(_0x40ed4e._0x3d19a5,_0x40ed4e._0xf163b9,_0x40ed4e._0x8c6f1d,_0x40ed4e._0xfe68de)]=void 0x0);});},async 'saveDiscoveryState'(_0x145e62){const _0x48a5c4={_0x1b248b:0xa,_0x244550:0x7c,_0x4e0f64:0x43,_0x1d5cd6:0x119};await updateStore(_0x586915,_0x4455bf=>{function _0xde4a9e(_0x39de5c,_0x2cd984,_0x56e450,_0x3fc6b){return _0x16a6(_0x56e450- -0x33c,_0x3fc6b);}_0x4455bf[_0xde4a9e(_0x48a5c4._0x1b248b,-_0x48a5c4._0x244550,-_0x48a5c4._0x4e0f64,-_0x48a5c4._0x1d5cd6)]=_0x145e62;});},async 'discoveryState'(){function _0x132a9e(_0x5012b9,_0x5db692,_0x350707,_0x1610e3){return _0x28f318(_0x350707- -0x183,_0x5db692-_0x3e1537._0x14f741,_0x5012b9,_0x1610e3-0x144);}return(await readStore(_0x586915))[_0x132a9e(-_0x52520f._0x55a1dd,_0x52520f._0x4f63cd,0x1e,-_0x52520f._0x367c02)];}};}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(_0x14d3a8,_0x1f49e9){const _0x57ff78={_0x1c35d7:0x3dd,_0x28cffb:0x111};function _0x41f467(_0x5a43cd,_0x2a68f7,_0x26606d,_0x24d504){return _0x2fd7af(_0x24d504-_0x57ff78._0x1c35d7,_0x2a68f7-_0x57ff78._0x28cffb,_0x2a68f7,_0x24d504-0x11e);}function _0x205919(_0x47b357,_0x50dddc,_0x1a6e92,_0x2716b7){return _0x278b49(_0x47b357-0x17f,_0x50dddc-0x1a8,_0x47b357- -0x11,_0x50dddc);}const _0x195184=_0x17fccc=>_0x17fccc[_0x41f467(0x2ad,0x21f,0x27f,0x227)](/[^a-zA-Z0-9_]+/g,'_')[_0x41f467(0x223,0x1df,0x173,0x227)](/^_+|_+$/g,'');return'mcp_'+_0x195184(_0x14d3a8)+'_'+_0x195184(_0x1f49e9);}function isObject(_0x51073e){const _0x1bbb0e={_0x487d2c:0xe1,_0x5970fe:0x2c6};function _0x5dcaa5(_0xe9a7fc,_0x3049a6,_0x4b0f52,_0x3af8b8){return _0x278b49(_0xe9a7fc-0xc5,_0x3049a6-0x144,_0x4b0f52-0x167,_0x3049a6);}return typeof _0x51073e===_0x5dcaa5(0x134,_0x1bbb0e._0x487d2c,0x1d4,_0x1bbb0e._0x5970fe)&&_0x51073e!==null&&!Array['isArray'](_0x51073e);}function toSupportedSchema(_0x119fc6){const _0x475d27={_0x5e6ae0:0x51,_0x1c1061:0x43,_0x1ea7e2:0xfb,_0x36e414:0xf6,_0x2438e4:0x231,_0x50b41c:0x4d8,_0x34023c:0x581,_0x5a665f:0x55a,_0x3aecc8:0x72f,_0x410a5a:0x77e,_0x15b044:0x5f9,_0x230acf:0x25,_0x235314:0x121,_0x25d283:0x32f,_0x3e94d9:0x303,_0x33b9ae:0x623,_0x58a10d:0x14,_0x152a30:0x81,_0x378f93:0xbb,_0x35c6f9:0x62f,_0x2523d7:0x5e1,_0x2204a9:0x19,_0x59b0eb:0xfb,_0xb40992:0x17e,_0x16550d:0x5ae,_0x4744ee:0x538,_0x5d1d72:0x56b,_0x358c3f:0x586,_0x106cb6:0x607,_0x440a20:0x667,_0x1c9480:0x6d3,_0x1f744b:0x81c},_0x29ad5b={_0x1efed5:0xd0},_0x59013d={_0x5b9ae0:0x666};if(!isObject(_0x119fc6))return void 0x0;if(_0x119fc6['type']===_0x33a93c(_0x475d27._0x5e6ae0,-_0x475d27._0x1c1061,_0x475d27._0x1ea7e2,_0x475d27._0x36e414))return{'type':_0x33a93c(-0x1c,_0x475d27._0x2438e4,0x45,_0x475d27._0x36e414)};if(_0x119fc6[_0x5d33fd(0x586,_0x475d27._0x50b41c,_0x475d27._0x34023c,_0x475d27._0x5a665f)]===_0x5d33fd(_0x475d27._0x3aecc8,_0x475d27._0x410a5a,_0x475d27._0x15b044,0x794)||_0x119fc6[_0x33a93c(-0x1d,0x6d,-_0x475d27._0x230acf,_0x475d27._0x235314)]===_0x33a93c(_0x475d27._0x25d283,0x3bc,_0x475d27._0x3e94d9,0x2e9))return{'type':_0x5d33fd(0x72f,_0x475d27._0x33b9ae,0x804,0x5e7)};function _0x5d33fd(_0x25ed4f,_0xa87936,_0x15a875,_0x265250){return _0x278b49(_0x25ed4f-0x9b,_0xa87936-0x1d3,_0x25ed4f-_0x59013d._0x5b9ae0,_0x15a875);}function _0x33a93c(_0x3d9910,_0x38fa22,_0x59f6da,_0x9288b0){return _0x278b49(_0x3d9910-_0x29ad5b._0x1efed5,_0x38fa22-0x105,_0x9288b0-0x201,_0x38fa22);}if(_0x119fc6[_0x33a93c(-_0x475d27._0x58a10d,_0x475d27._0x152a30,_0x475d27._0x378f93,0x121)]===_0x5d33fd(0x63f,_0x475d27._0x35c6f9,_0x475d27._0x2523d7,0x71f))return{'type':'boolean'};if(_0x119fc6[_0x33a93c(-_0x475d27._0x2204a9,_0x475d27._0x59b0eb,_0x475d27._0xb40992,0x121)]===_0x33a93c(0x165,0x395,0x283,0x264))return{'type':'array','items':toSupportedSchema(_0x119fc6[_0x5d33fd(0x5f5,_0x475d27._0x16550d,0x5f4,0x4de)])??{'type':_0x5d33fd(0x55b,0x5fb,_0x475d27._0x4744ee,_0x475d27._0x5d1d72)}};if(_0x119fc6[_0x5d33fd(_0x475d27._0x358c3f,_0x475d27._0x106cb6,_0x475d27._0x440a20,0x539)]===_0x5d33fd(_0x475d27._0x1c9480,_0x475d27._0x1f744b,0x660,0x731))return toNuvinToolSchema(_0x119fc6);return void 0x0;}function toNuvinToolSchema(_0x43604e){const _0x2bd483={_0x3425de:0x2a6,_0x272de4:0x43d,_0x252916:0x3f9,_0x85c9ba:0x7d,_0x28bf1f:0x55,_0x131036:0x121,_0x29fb5c:0x3a4,_0xeb6a60:0x87,_0x29995c:0x41,_0x151bab:0x2b2,_0x477df9:0x423,_0x239f82:0x33c,_0x53162f:0x380,_0x5822a0:0x39a},_0x3ebf7b={_0xbd6c2e:0x32,_0x232889:0x14e},_0x477dc3={_0x37adc7:0x1a9,_0x563add:0x1b7};if(!isObject(_0x43604e)||_0x43604e[_0x3dbbc0(0x3b,0x4b,-0xfd,-0xa2)]!==_0x1b6a2d(_0x2bd483._0x3425de,0x33c,_0x2bd483._0x272de4,_0x2bd483._0x252916))return{'type':'object','properties':{}};function _0x1b6a2d(_0x58f3e4,_0x2f196a,_0x52782d,_0x191ff6){return _0x278b49(_0x58f3e4-_0x477dc3._0x37adc7,_0x2f196a-_0x477dc3._0x563add,_0x2f196a-0x2cf,_0x52782d);}const _0x2ecdb6={},_0x5870a0=isObject(_0x43604e[_0x1b6a2d(0x18d,0x1f6,0x273,0x255)])?_0x43604e['properties']:{};function _0x3dbbc0(_0x552539,_0x14f3a9,_0x2cb8d2,_0x1aaf49){return _0x2fd7af(_0x2cb8d2-_0x3ebf7b._0xbd6c2e,_0x14f3a9-0x2a,_0x1aaf49,_0x1aaf49-_0x3ebf7b._0x232889);}for(const [_0xdc9568,_0x1fdd47]of Object[_0x3dbbc0(-_0x2bd483._0x85c9ba,-_0x2bd483._0x28bf1f,-0xb2,0x5)](_0x5870a0)){const _0x1bb288=toSupportedSchema(_0x1fdd47);if(_0x1bb288)_0x2ecdb6[_0xdc9568]=_0x1bb288;}const _0x59c9ba=Array[_0x3dbbc0(-0x1d,0x50,-0xaf,-_0x2bd483._0x131036)](_0x43604e[_0x1b6a2d(0x2f9,0x32d,_0x2bd483._0x29fb5c,0x2e4)])?_0x43604e[_0x3dbbc0(0xc1,-_0x2bd483._0xeb6a60,_0x2bd483._0x29995c,0xc)]['filter'](_0x4e03d0=>typeof _0x4e03d0===_0x1b6a2d(0x29d,0x1c4,0x2cb,0x2f6)):void 0x0;return _0x59c9ba?.[_0x1b6a2d(0x1dc,_0x2bd483._0x151bab,0x169,0x3ba)]?{'type':'object','properties':_0x2ecdb6,'required':_0x59c9ba}:{'type':_0x1b6a2d(_0x2bd483._0x477df9,_0x2bd483._0x239f82,_0x2bd483._0x53162f,_0x2bd483._0x5822a0),'properties':_0x2ecdb6};}function isJsonObject(_0x1519bc){const _0x19db5d={_0x55e934:0x62b,_0x93a1f2:0x7fa,_0x20a006:0x5a3,_0x41382c:0x69b,_0x562950:0x619},_0xdd1bc0={_0x191e17:0xb2,_0x31bd57:0x54,_0x1bc53c:0xc6},_0x11af0b={_0x56faae:0xac,_0x22f497:0x122};function _0x1099bf(_0x206d26,_0x391e3d,_0x39ba21,_0x2fb50d){return _0x2fd7af(_0x39ba21-0x709,_0x391e3d-_0x11af0b._0x56faae,_0x391e3d,_0x2fb50d-_0x11af0b._0x22f497);}function _0x680cd3(_0x1329a9,_0x5a4877,_0xbdd132,_0x24aa1f){return _0x278b49(_0x1329a9-_0xdd1bc0._0x191e17,_0x5a4877-_0xdd1bc0._0x31bd57,_0x5a4877- -_0xdd1bc0._0x1bc53c,_0xbdd132);}return typeof _0x1519bc===_0x1099bf(_0x19db5d._0x55e934,_0x19db5d._0x93a1f2,0x727,0x6b3)&&_0x1519bc!==null&&!Array[_0x1099bf(_0x19db5d._0x20a006,_0x19db5d._0x41382c,0x628,_0x19db5d._0x562950)](_0x1519bc);}function formatMcpContent(_0x63adf9){const _0x498b62={_0x308e3b:0x4a,_0xeff6ec:0xd8,_0x888d80:0x36,_0x45dffb:0x1bf,_0x4818fe:0x49,_0x4ee127:0xbe,_0x4ed1b0:0xc5,_0x2bfd3d:0x81,_0x5c09e6:0x1c5,_0x22127e:0xb2,_0x3b21a2:0x65,_0x1af7a7:0xa3,_0x5a7531:0x6f,_0x165750:0x7f,_0x5bc05b:0x78,_0x4e5c8b:0x22},_0x23c052={_0x396741:0x11b,_0x41b8fb:0x73,_0x4f8765:0x46,_0x2aead5:0x94,_0x27c9af:0x42,_0x33a947:0x24b,_0xc31192:0x115,_0x2d396f:0x117},_0x1d41ad={_0x22679a:0x1a2},_0x2ff400={_0x3ea3e1:0x1c1},_0x1fb3c4={_0x123760:0x1be,_0x3838f1:0xd5},_0x57d92e={_0x4a0601:0x10f,_0x37227b:0xe1};function _0x4a184d(_0x32525e,_0x2203d4,_0xd4c379,_0x138319){return _0x2fd7af(_0x2203d4-_0x57d92e._0x4a0601,_0x2203d4-_0x57d92e._0x37227b,_0xd4c379,_0x138319-0x79);}const _0x4d2eeb=Array['isArray'](_0x63adf9[_0x15ff93(-_0x498b62._0x308e3b,-_0x498b62._0xeff6ec,-_0x498b62._0x888d80,0x1d)])?_0x63adf9[_0x4a184d(-_0x498b62._0x45dffb,-0x92,-0x8b,_0x498b62._0x4818fe)]:[];function _0x15ff93(_0x263a1e,_0x5d0852,_0x2e6dac,_0x54226b){return _0x2fd7af(_0x54226b-_0x1fb3c4._0x123760,_0x5d0852-_0x1fb3c4._0x3838f1,_0x263a1e,_0x54226b-0x100);}const _0xf720ed=_0x4d2eeb[_0x4a184d(-_0x498b62._0x4ee127,0x30,_0x498b62._0x4ed1b0,-0x7d)](_0x3531ba=>{if(!isObject(_0x3531ba))return'';function _0x5ae49e(_0x5e8b13,_0x1a21b6,_0x13d289,_0x546e26){return _0x15ff93(_0x5e8b13,_0x1a21b6-0xc8,_0x13d289-_0x2ff400._0x3ea3e1,_0x13d289- -0x49);}if(_0x3531ba[_0x5ae49e(_0x23c052._0x396741,-_0x23c052._0x41b8fb,_0x23c052._0x4f8765,_0x23c052._0x2aead5)]==='text'&&typeof _0x3531ba[_0x4f2564(0xd6,_0x23c052._0x27c9af,_0x23c052._0x33a947,_0x23c052._0xc31192)]===_0x5ae49e(-_0x23c052._0x2d396f,-0xb9,0x1b,-0xc0))return _0x3531ba['text'];function _0x4f2564(_0x550b68,_0x59a3a2,_0x44bd8a,_0x1edb6f){return _0x15ff93(_0x59a3a2,_0x59a3a2-_0x1d41ad._0x22679a,_0x44bd8a-0x1de,_0x1edb6f- -0x5b);}return JSON[_0x4f2564(0xcd,-0xc0,0x4b,-0x24)](_0x3531ba);})[_0x15ff93(-_0x498b62._0x2bfd3d,_0x498b62._0x5c09e6,0x133,0x9f)](_0x54399d=>_0x54399d[_0x4a184d(0x17b,0xa3,0x180,0x18d)]>0x0)[_0x4a184d(0xe6,_0x498b62._0x22127e,0x1b6,-_0x498b62._0x3b21a2)]('\x0a');if(_0xf720ed[_0x4a184d(0x1b0,_0x498b62._0x1af7a7,-_0x498b62._0x5a7531,_0x498b62._0x165750)]>0x0)return _0xf720ed;return JSON[_0x4a184d(-0x96,-_0x498b62._0x5bc05b,_0x498b62._0x4e5c8b,0xa2)](_0x63adf9,null,0x2);}function createMcpTool(_0x5b9bec){const _0xe82f12={_0x474cc5:0x3b3,_0x4ac566:0x2cb,_0x47b1db:0x361,_0x402350:0x585,_0x4860a9:0x412,_0x5c4fa7:0x412,_0x30fa7e:0x410,_0x322934:0x490,_0x113f53:0x472,_0x1187f5:0x3ee,_0x48ce62:0x1d6,_0xa7b79d:0x2e2,_0x394f97:0x3ff,_0x52afca:0x45b,_0x1a28ec:0x3a0,_0x3c2961:0x5c3,_0x465f8d:0x442,_0x334a80:0x427,_0x1ed006:0x373},_0x286386={_0x50bcc7:0x1e9,_0x50d1ff:0x1cd,_0x3a5dfa:0x9d,_0x4e88c0:0xa1,_0x2b6de6:0xc9,_0x148c68:0x559,_0xf7a9c4:0x5f3,_0x500c46:0x5b1,_0x1d76fd:0x4a3,_0x4e3ae2:0x523,_0x39ce5b:0x552,_0x27caa5:0x462,_0x2f7f3e:0x266,_0x3f9b2b:0x8e,_0x53dc8f:0x139,_0x4d694c:0x2e4,_0x476cfa:0x171,_0x516605:0x4b0,_0x72f6ab:0x45d,_0x58d94d:0x56f},_0x28e549={_0x8046f8:0xb3,_0x2d3d9a:0x57};function _0x5d7f61(_0x47392a,_0x35663f,_0xb6ffda,_0x3ca423){return _0x278b49(_0x47392a-_0x28e549._0x8046f8,_0x35663f-_0x28e549._0x2d3d9a,_0xb6ffda-0x2cf,_0x35663f);}const _0x23ca9e=createMcpToolName(_0x5b9bec['serverName'],_0x5b9bec[_0x4db343(_0xe82f12._0x474cc5,0x4e0,0x48f,0x3d7)][_0x4db343(0x271,_0xe82f12._0x4ac566,_0xe82f12._0x47b1db,0x2d0)]);function _0x4db343(_0x207921,_0x5da54b,_0x1346b5,_0x142b03){return _0x278b49(_0x207921-0xa3,_0x5da54b-0x61,_0x1346b5-0x468,_0x5da54b);}return defineTool({'name':_0x23ca9e,'description':_0x5b9bec[_0x4db343(0x41c,_0xe82f12._0x402350,0x48f,0x3e7)][_0x5d7f61(_0xe82f12._0x4860a9,_0xe82f12._0x5c4fa7,0x3b6,_0xe82f12._0x30fa7e)]??_0x4db343(_0xe82f12._0x322934,_0xe82f12._0x113f53,_0xe82f12._0x1187f5,0x2b4)+_0x5b9bec[_0x5d7f61(_0xe82f12._0x48ce62,0x373,0x2f6,_0xe82f12._0xa7b79d)]['name']+_0x4db343(0x42e,0x43b,_0xe82f12._0x394f97,0x4ae)+_0x5b9bec[_0x5d7f61(_0xe82f12._0x52afca,0x3f6,_0xe82f12._0x1a28ec,0x406)],'inputSchema':toNuvinToolSchema(_0x5b9bec[_0x4db343(0x4ed,_0xe82f12._0x3c2961,0x48f,_0xe82f12._0x465f8d)][_0x4db343(0x2e4,0x2e8,_0xe82f12._0x334a80,_0xe82f12._0x1ed006)]),async *'execute'(_0x40e539){const _0x54b33a={_0x27b231:0x122,_0x480099:0xf0},_0x2aea2c={_0x183664:0x2d3,_0x32ab97:0x1df};function _0x3b2801(_0x2a11ea,_0x18fd16,_0x2e0e65,_0x729105){return _0x4db343(_0x2a11ea-0xf4,_0x729105,_0x2a11ea- -_0x2aea2c._0x183664,_0x729105-_0x2aea2c._0x32ab97);}function _0x5b352f(_0x2d37fb,_0x276d5e,_0xd01aec,_0x3abb6b){return _0x4db343(_0x2d37fb-0x108,_0x3abb6b,_0xd01aec-_0x54b33a._0x27b231,_0x3abb6b-_0x54b33a._0x480099);}const _0x6fb0de=await _0x5b9bec[_0x3b2801(_0x286386._0x50bcc7,0x240,_0x286386._0x50d1ff,0x2df)][_0x3b2801(_0x286386._0x3a5dfa,0xc4,_0x286386._0x4e88c0,_0x286386._0x2b6de6)]({'name':_0x5b9bec[_0x5b352f(_0x286386._0x148c68,_0x286386._0xf7a9c4,_0x286386._0x500c46,0x538)]['name'],'arguments':isJsonObject(_0x40e539)?_0x40e539:{}});if(_0x6fb0de[_0x5b352f(_0x286386._0x1d76fd,_0x286386._0x4e3ae2,_0x286386._0x39ce5b,_0x286386._0x27caa5)])throw new ToolExecutionError(formatMcpContent(_0x6fb0de),{'serverName':_0x5b9bec[_0x3b2801(_0x286386._0x2f7f3e,0x1e4,0x238,0x129)],'toolName':_0x5b9bec['tool'][_0x3b2801(_0x286386._0x3f9b2b,0xe1,-0x51,0x8b)]});return yield createToolOutput(formatMcpContent(_0x6fb0de),{'serverName':_0x5b9bec[_0x3b2801(_0x286386._0x2f7f3e,_0x286386._0x53dc8f,_0x286386._0x4d694c,_0x286386._0x476cfa)],'toolName':_0x5b9bec[_0x5b352f(0x4bb,_0x286386._0x516605,_0x286386._0x500c46,0x59e)][_0x5b352f(0x4a6,_0x286386._0x72f6ab,0x483,_0x286386._0x58d94d)],'result':_0x6fb0de}),void 0x0;}});}function resolvePrefix(_0x928d51,_0x1b9726){const _0x3e3b36={_0x317386:0xf9,_0x54456d:0x17b},_0x326afd={_0x2f21d5:0xa2,_0x562034:0xda};function _0x469d8f(_0x4a3abd,_0x769d53,_0x413a35,_0x2fe67d){return _0x278b49(_0x4a3abd-0x86,_0x769d53-_0x326afd._0x2f21d5,_0x4a3abd-_0x326afd._0x562034,_0x413a35);}return _0x1b9726[_0x469d8f(0x1c0,_0x3e3b36._0x317386,0x215,_0x3e3b36._0x54456d)]??_0x928d51;}function buildMcpHttpHeaders(_0x25d61b){const _0x692f33={_0x5ca988:0xba,_0x4f55d9:0xbf,_0x47cea4:0x11b,_0x27cf08:0x2f3,_0x74c940:0x162,_0x1d202f:0x15e,_0x29ab6e:0x12e,_0x7b1cbe:0xc9,_0x3013bf:0x25c,_0x29c0a6:0x59,_0x5cbf84:0xc7,_0x91189f:0x1a,_0x16dc95:0x28d,_0x554270:0x221,_0x278684:0x434,_0x1c4ad2:0x339,_0x5bc237:0x30,_0x136548:0x82,_0x4aed9a:0x102,_0x44b27a:0x131,_0x491f32:0x228,_0x3e26f8:0x1cb,_0x221a90:0x145,_0x1a8700:0x24b},_0x29231f={_0x363e4f:0xa0,_0x431af7:0x26},_0x2141cf={_0x58d2c8:0x1a4,_0x496174:0x195},_0x5b6f5d={..._0x25d61b[_0x23b35a(-0xa1,0x103,-_0x692f33._0x5ca988,0x16)]??{}};_0x25d61b['auth']?.[_0x23b35a(-0x46,-0x1f4,-0x1b1,-_0x692f33._0x4f55d9)]===_0x287c9a(0x1f1,_0x692f33._0x47cea4,0x1f6,_0x692f33._0x27cf08)&&_0x25d61b[_0x287c9a(_0x692f33._0x74c940,_0x692f33._0x1d202f,0x25a,0x223)][_0x287c9a(_0x692f33._0x29ab6e,_0x692f33._0x7b1cbe,_0x692f33._0x3013bf,0x275)]&&_0x5b6f5d[_0x287c9a(0x82,_0x692f33._0x29c0a6,0xf6,_0x692f33._0x5cbf84)]===void 0x0&&(_0x5b6f5d[_0x23b35a(-_0x692f33._0x91189f,-_0x692f33._0x16dc95,-0x1ee,-0x145)]=_0x287c9a(0x2f0,_0x692f33._0x554270,_0x692f33._0x278684,_0x692f33._0x1c4ad2)+_0x25d61b[_0x23b35a(-_0x692f33._0x5bc237,_0x692f33._0x136548,-_0x692f33._0x4aed9a,-0x65)][_0x287c9a(0x12e,_0x692f33._0x44b27a,_0x692f33._0x491f32,0xd0)]);function _0x23b35a(_0x2bbabd,_0x131aa7,_0x4d37ba,_0x30a37a){return _0x2fd7af(_0x30a37a-0x70,_0x131aa7-_0x2141cf._0x58d2c8,_0x131aa7,_0x30a37a-_0x2141cf._0x496174);}function _0x287c9a(_0x387a89,_0x5282e2,_0x1b37b4,_0x2c48ff){return _0x278b49(_0x387a89-_0x29231f._0x363e4f,_0x5282e2-_0x29231f._0x431af7,_0x387a89-0x1e8,_0x5282e2);}return Object[_0x23b35a(-0x124,0x19,-0x5d,-0x12e)](_0x5b6f5d)[_0x287c9a(_0x692f33._0x3e26f8,_0x692f33._0x74c940,_0x692f33._0x221a90,_0x692f33._0x1a8700)]>0x0?_0x5b6f5d:void 0x0;}function getErrorMessage(_0x138ba3){const _0xc43df4={_0x3f8721:0x599,_0x339ef0:0x74a},_0x4b1b7f={_0x2cbf4c:0xed,_0x42fa06:0x676};function _0x6c4740(_0x429149,_0x23c7ba,_0x4c8df5,_0x5431cd){return _0x278b49(_0x429149-_0x4b1b7f._0x2cbf4c,_0x23c7ba-0x174,_0x5431cd-_0x4b1b7f._0x42fa06,_0x4c8df5);}return _0x138ba3 instanceof Error?_0x138ba3[_0x6c4740(0x55b,_0xc43df4._0x3f8721,_0xc43df4._0x339ef0,0x65e)]:String(_0x138ba3);}function isUnauthorizedError(_0xa994da){const _0x293ebe={_0x9fb506:0x96,_0x34210e:0xa0,_0x55fefb:0x14a,_0x527769:0x282,_0x43087b:0x383},_0x836cce={_0x5f51c8:0x1f1},_0x2e7a5a={_0x21f10d:0x288,_0x4f9724:0xce,_0x56baee:0x1a3};function _0x4cdefd(_0x41c9ca,_0x25df3e,_0x682cf8,_0x2ef665){return _0x2fd7af(_0x25df3e-_0x2e7a5a._0x21f10d,_0x25df3e-_0x2e7a5a._0x4f9724,_0x41c9ca,_0x2ef665-_0x2e7a5a._0x56baee);}function _0x185f91(_0x39f7e1,_0x22be55,_0x44d86c,_0x4211ef){return _0x278b49(_0x39f7e1-0x10c,_0x22be55-_0x836cce._0x5f51c8,_0x22be55-0xb2,_0x44d86c);}return _0xa994da instanceof Error&&_0xa994da[_0x185f91(0x213,0xe7,0x19a,_0x293ebe._0x9fb506)][_0x185f91(-_0x293ebe._0x34210e,-0x55,-_0x293ebe._0x55fefb,-0xfd)]===_0x4cdefd(0x22d,_0x293ebe._0x527769,0x39d,_0x293ebe._0x43087b);}async function connectMcpServer(_0x4f75e2,_0x207ea2,_0x2aafcc){const _0x14798b={_0x242bfc:0x4a9,_0xa5b08f:0x4b8,_0x589344:0x4e2,_0x3b9f4d:0x48f,_0x27d707:0x5c9,_0x3e1ce1:0x4d1,_0x52dafe:0x4e4,_0x2eb70c:0x60e,_0xd4c169:0x486,_0x56ae99:0x4a6,_0x4f8965:0x4d8,_0x4c20d6:0x583,_0x1b2955:0x539,_0x5c67f8:0x42c,_0x1811e7:0x4f4,_0x5af6fd:0x3e7,_0x29e085:0x406,_0x32c418:0x608,_0x11d401:0x626,_0x3ad158:0x50c,_0x2c8d32:0x51e,_0x4f6629:0x59f,_0x2ab38b:0x3ff,_0x221559:0x70e,_0x246782:0x6b9,_0x77880a:0x43e,_0x2f49e6:0x524,_0x7fd620:0x4ca,_0x3cb036:0x5fa,_0x21f61d:0x3b0,_0x8ae012:0x606,_0x494b6e:0x4b6,_0x3216c7:0x3c1,_0x53eac7:0x551,_0x4ae204:0x6c6,_0x544018:0x655,_0x5332cc:0x4d1,_0x49b9c6:0x376,_0x1d6d88:0x4d7},_0x1c66b9={_0x36e247:0x57,_0x2e4328:0x121},_0x1cf4a4={_0x35578b:0x1fd,_0x30f429:0x19e,_0x2fcbf2:0x251,_0x13c9b0:0x148,_0x3a5776:0x1ce,_0x3f16c1:0x1c6},_0x62c39f={_0x56906c:0x15f},_0x48a6a4={_0x50f7d5:0x1a7},_0x59b727={_0x1d0096:0x2e,_0x5f36b6:0x1a,_0x535b4b:0x496},_0x1e492e={_0xa2943e:0x6db,_0x345c25:0x5d2,_0xf13621:0x271,_0x2fe22b:0x2a5,_0x426800:0x59a},_0x42021e={_0x3951b7:0x116,_0x125ee3:0xac},_0x41e6be={_0x118d10:0x21},_0x326224=new Client({'name':_0x43ee1c(0x624,0x5d4,_0x14798b._0x242bfc,_0x14798b._0xa5b08f),'version':'0.0.0'});_0x326224[_0x43ee1c(0x453,0x56e,0x518,0x487)]=_0x57464d=>{function _0xa680f(_0x56e121,_0x1e3597,_0x197326,_0x4f4b83){return _0x1b130a(_0x4f4b83- -0x82,_0x1e3597-0x11a,_0x197326,_0x4f4b83-_0x41e6be._0x118d10);}function _0x41a4c0(_0x2ab049,_0x5d977c,_0x59e89e,_0x302656){return _0x43ee1c(_0x2ab049-0x1c8,_0x5d977c- -_0x42021e._0x3951b7,_0x59e89e,_0x302656-_0x42021e._0x125ee3);}console[_0x41a4c0(_0x1e492e._0xa2943e,_0x1e492e._0x345c25,0x4b9,0x5ac)](_0xa680f(_0x1e492e._0xf13621,0x221,_0x1e492e._0x2fe22b,0x2d6)+_0x4f75e2+_0x41a4c0(0x5a4,0x499,_0x1e492e._0x426800,0x5ba),_0x57464d['message']);};function _0x1b130a(_0x2f3a0a,_0x2e2229,_0x3315e2,_0x486835){return _0x278b49(_0x2f3a0a-_0x59b727._0x1d0096,_0x2e2229-_0x59b727._0x5f36b6,_0x2f3a0a-_0x59b727._0x535b4b,_0x3315e2);}function _0x43ee1c(_0x415295,_0x3fab39,_0x52e303,_0x5eeac3){return _0x278b49(_0x415295-0x7a,_0x3fab39-_0x48a6a4._0x50f7d5,_0x3fab39-0x5cd,_0x52e303);}if(_0x207ea2[_0x1b130a(_0x14798b._0x589344,_0x14798b._0x3b9f4d,_0x14798b._0x27d707,_0x14798b._0x3e1ce1)]===_0x43ee1c(0x4a0,_0x14798b._0x52dafe,0x4b0,_0x14798b._0x2eb70c)||_0x207ea2[_0x43ee1c(0x3d5,_0x14798b._0xd4c169,0x52e,0x473)]){if(!_0x207ea2['url'])throw new Error('MCP\x20server\x20'+_0x4f75e2+'\x20requires\x20url\x20for\x20http\x20transport');if(_0x207ea2['auth']?.[_0x1b130a(0x3b6,_0x14798b._0x56ae99,_0x14798b._0x4f8965,0x425)]==='oauth'&&!_0x2aafcc?.['oauth'])throw new Error('MCP\x20server\x20'+_0x4f75e2+_0x1b130a(_0x14798b._0x4c20d6,_0x14798b._0x1b2955,0x632,0x668));const _0x1162c9=buildMcpHttpHeaders(_0x207ea2),_0x35c845=_0x207ea2['auth']?.[_0x1b130a(0x3b6,0x2cd,0x29f,0x4bb)]===_0x43ee1c(_0x14798b._0x5c67f8,0x51e,_0x14798b._0x1811e7,0x48b)&&_0x2aafcc?.[_0x1b130a(_0x14798b._0x5af6fd,0x327,_0x14798b._0x29e085,0x32d)]?createMcpOAuthProvider({'serverName':_0x4f75e2,'callbackUrl':_0x2aafcc['oauth'][_0x43ee1c(_0x14798b._0x32c418,_0x14798b._0x11d401,_0x14798b._0x3ad158,0x700)],'storageDir':_0x2aafcc[_0x43ee1c(0x5c1,_0x14798b._0x2c8d32,_0x14798b._0x4f6629,_0x14798b._0x2ab38b)][_0x43ee1c(_0x14798b._0x221559,0x694,0x69b,_0x14798b._0x246782)],'config':_0x207ea2['auth'],'onRedirect':_0x2df29f=>_0x2aafcc[_0x43ee1c(0x514,0x51e,0x601,0x473)]?.[_0x43ee1c(0x48e,0x4e7,0x4a3,0x3f8)](_0x4f75e2,_0x2df29f)}):void 0x0,_0x143ae3=new StreamableHTTPClientTransport(new URL(_0x207ea2['url']),{'authProvider':_0x35c845,'requestInit':_0x1162c9?{'headers':_0x1162c9}:void 0x0});await _0x326224[_0x1b130a(0x37f,0x333,_0x14798b._0x77880a,0x3bb)](_0x143ae3);}else{if(!_0x207ea2[_0x1b130a(_0x14798b._0x2f49e6,_0x14798b._0x7fd620,0x5b5,_0x14798b._0x3cb036)])throw new Error(_0x1b130a(0x4dc,_0x14798b._0x21f61d,_0x14798b._0x8ae012,0x4e0)+_0x4f75e2+_0x1b130a(0x3e5,_0x14798b._0x494b6e,0x34f,_0x14798b._0x3216c7));const _0x4260c3=new StdioClientTransport({'command':_0x207ea2[_0x43ee1c(_0x14798b._0x53eac7,0x65b,_0x14798b._0x4ae204,0x6e5)],'args':_0x207ea2[_0x1b130a(0x3cc,0x4aa,0x460,0x283)]??[],'env':_0x207ea2[_0x43ee1c(0x5b0,_0x14798b._0x544018,0x729,0x564)],'stderr':_0x1b130a(0x413,0x38b,_0x14798b._0x5332cc,_0x14798b._0x49b9c6)});await _0x326224[_0x43ee1c(_0x14798b._0x1d6d88,_0x14798b._0x494b6e,0x551,0x3df)](_0x4260c3);}return{async 'listTools'(){return await _0x326224['listTools']();},async 'callTool'(_0x15334c){const _0xc239ad={_0x3161d8:0x1dc,_0x5adfb0:0x19e};function _0x488d15(_0xfc9a01,_0x42b422,_0xc2938b,_0x23048d){return _0x1b130a(_0xc2938b- -_0xc239ad._0x3161d8,_0x42b422-0x5,_0xfc9a01,_0x23048d-_0xc239ad._0x5adfb0);}function _0x2ceabf(_0xbe79b8,_0x5ae854,_0x151cc2,_0x55cd29){return _0x1b130a(_0xbe79b8-_0x62c39f._0x56906c,_0x5ae854-0x10d,_0x5ae854,_0x55cd29-0xea);}return await _0x326224[_0x488d15(0x136,_0x1cf4a4._0x35578b,_0x1cf4a4._0x30f429,_0x1cf4a4._0x2fcbf2)]({'method':_0x488d15(_0x1cf4a4._0x13c9b0,_0x1cf4a4._0x3a5776,_0x1cf4a4._0x3f16c1,0x122),'params':_0x15334c},CallToolResultSchema);},async 'close'(){const _0x4b0e36={_0x22dc84:0x55c,_0x5a3dfd:0x6e};function _0x434eb4(_0x5503c1,_0x42e4f2,_0xcd73fc,_0x168006){return _0x43ee1c(_0x5503c1-0x1bc,_0xcd73fc- -_0x4b0e36._0x22dc84,_0x168006,_0x168006-_0x4b0e36._0x5a3dfd);}await _0x326224[_0x434eb4(0x97,_0x1c66b9._0x36e247,_0x1c66b9._0x2e4328,0x79)]();}};}async function createMcpToolsFromServers(_0xbfc5f5){const _0x42596d={_0x4047e7:0x1c,_0x3cc623:0x27,_0x3ec231:0x153,_0x2a0977:0xba,_0x1b571a:0xd7,_0x3da567:0x263,_0x48f538:0x16f,_0xbf8c3:0x1a6,_0x20946b:0x1bc,_0x5a4bb2:0x1d,_0x402ab2:0x9e,_0x4043bb:0x9e,_0x33908c:0xa2,_0x1c6dea:0xda,_0x17d0bd:0x9f,_0x3aae79:0x33a,_0x48d76e:0x232,_0xfbcf16:0x11c,_0x4fa60f:0x55,_0x368c05:0x11,_0x3ad4a1:0x8f,_0x2edfd8:0x29a,_0x5555a8:0xed,_0x5e2b9e:0x41},_0x58341e={_0x34963e:0x1b4,_0x54e402:0x12a},_0x46a774={_0x448838:0xdc,_0x18f46f:0xe0},_0x5025e4={_0x21ad35:0xa7,_0x551d1c:0xac},_0x2d7025=_0xbfc5f5[_0x266970(0xe5,-0x6d,_0x42596d._0x4047e7,0x38)]??connectMcpServer;function _0x266970(_0x332692,_0x4233bc,_0x1d5372,_0x46a005){return _0x2fd7af(_0x46a005-0x19e,_0x4233bc-_0x5025e4._0x21ad35,_0x4233bc,_0x46a005-_0x5025e4._0x551d1c);}function _0x3d1a68(_0x187692,_0x65b7e5,_0x3e45cf,_0x163937){return _0x278b49(_0x187692-_0x46a774._0x448838,_0x65b7e5-_0x46a774._0x18f46f,_0x3e45cf-0x118,_0x65b7e5);}const _0x2b6512=[],_0x29c0b3={},_0x170790=[];for(const [_0x35022a,_0x1fa768]of Object[_0x266970(0x201,_0x42596d._0x3cc623,_0x42596d._0x3ec231,_0x42596d._0x2a0977)](_0xbfc5f5[_0x266970(0x208,0x293,0x1bc,0x1a7)]??{})){if(_0x1fa768[_0x266970(_0x42596d._0x1b571a,_0x42596d._0x3da567,_0x42596d._0x48f538,_0x42596d._0xbf8c3)]===![]){_0x29c0b3[_0x35022a]={'status':_0x3d1a68(_0x42596d._0x20946b,0xfe,0xbf,_0x42596d._0x5a4bb2)};continue;}try{const _0x227b35=await _0x2d7025(_0x35022a,_0x1fa768,_0xbfc5f5[_0x3d1a68(-_0x42596d._0x402ab2,_0x42596d._0x4043bb,_0x42596d._0x33908c,_0x42596d._0x1c6dea)]);_0x2b6512['push'](_0x227b35);const _0x4a0562=await _0x227b35['listTools']();let _0x2d1e3c=0x0;for(const _0x4ba20a of _0x4a0562[_0x266970(0x1b6,0x26e,_0x42596d._0x17d0bd,0x192)]){const _0x3da8f7=_0xbfc5f5[_0x3d1a68(_0x42596d._0x3aae79,0x185,_0x42596d._0x48d76e,_0x42596d._0xfbcf16)]?.[_0x35022a]?.[_0x4ba20a[_0x3d1a68(-0x65,_0x42596d._0x4fa60f,_0x42596d._0x368c05,_0x42596d._0x3ad4a1)]];if(_0x3da8f7===![])continue;_0x2d1e3c+=0x1,_0x170790[_0x3d1a68(0x2ff,0x338,0x219,_0x42596d._0x2edfd8)](createMcpTool({'serverName':resolvePrefix(_0x35022a,_0x1fa768),'tool':_0x4ba20a,'client':_0x227b35}));}_0x29c0b3[_0x35022a]={'status':_0x3d1a68(0x12,_0x42596d._0x5555a8,_0x42596d._0x5e2b9e,0x39),'toolCount':_0x2d1e3c};}catch(_0x4008cb){_0x29c0b3[_0x35022a]=isUnauthorizedError(_0x4008cb)?{'status':'authRequired','message':getErrorMessage(_0x4008cb)}:{'status':'error','message':getErrorMessage(_0x4008cb)};}}return{'tools':_0x170790,'servers':_0x29c0b3,async 'close'(){function _0x418209(_0xd5cf00,_0x3af4b1,_0x3f36a8,_0x22a1e2){return _0x266970(_0xd5cf00-0x47,_0x3af4b1,_0x3f36a8-0x1b1,_0xd5cf00-0xf5);}await Promise['all'](_0x2b6512[_0x418209(_0x58341e._0x34963e,0x272,0x15d,_0x58341e._0x54e402)](_0x3f36c7=>_0x3f36c7['close']()));}};}function getCommand(_0xab8ec5){const _0x594859={_0x21e653:0x693,_0x3c30af:0x607,_0x47a976:0x4ea,_0x3ef310:0x717,_0x2702c5:0x399,_0x49e79b:0x3e2,_0x162db6:0x200,_0x47d110:0x310,_0xd0acf6:0x727,_0x4b276f:0x781},_0x4fd020={_0x12fc60:0x6e8,_0x5d3b58:0xd4},_0x2c3eac={_0x24fc93:0x30b};if(_0xab8ec5&&typeof _0xab8ec5===_0x441c26(0x706,0x755,0x7ee,_0x594859._0x21e653)&&!Array[_0x441c26(_0x594859._0x3c30af,_0x594859._0x47a976,0x68a,_0x594859._0x3ef310)](_0xab8ec5)&&typeof _0xab8ec5[_0x3dc6af(_0x594859._0x2702c5,0x2dc,0x45c,_0x594859._0x49e79b)]===_0x3dc6af(_0x594859._0x162db6,0xf5,_0x594859._0x47d110,0x29e))return _0xab8ec5[_0x441c26(_0x594859._0xd0acf6,0x617,0x750,_0x594859._0x4b276f)];function _0x3dc6af(_0x9bbfbe,_0x2c8718,_0x531b71,_0x4b9179){return _0x278b49(_0x9bbfbe-0x99,_0x2c8718-0x75,_0x9bbfbe-_0x2c3eac._0x24fc93,_0x2c8718);}function _0x441c26(_0x323b12,_0x15eb14,_0x530c68,_0x2559fc){return _0x2fd7af(_0x323b12-_0x4fd020._0x12fc60,_0x15eb14-_0x4fd020._0x5d3b58,_0x15eb14,_0x2559fc-0x12d);}return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=[_0x278b49(0x118,0x1fb,0xdd,0x1d),'docs/plans/2026-04-16-mock-agent-loop-implementation.md','docs/plans/2026-04-16-public-tools-api-implementation.md',_0x2fd7af(0xa9,-0x5f,-0x37,0x1c3),'src/agent/agent.ts',_0x278b49(0x29,0x1b5,0xce,-0x23),_0x278b49(0x4c,0x5e,0xba,0x164),_0x2fd7af(-0x179,-0x1a7,-0x130,-0x152),_0x2fd7af(-0x145,-0xa0,-0x1a,-0xe9),_0x2fd7af(-0x16e,-0x28c,-0xa1,-0x182),_0x2fd7af(-0x35,-0x111,-0x113,-0x140),'src/agent/turn-engine.ts',_0x2fd7af(-0x4b,-0x114,-0x129,-0x7),_0x278b49(0x8d,-0x65,0x3c,-0x106),'src/models/anthropic-model.ts',_0x278b49(0x156,-0x82,0x73,-0x36),_0x2fd7af(-0x19d,-0x68,-0x27c,-0x1c1)][_0x2fd7af(-0x5d,-0xf4,-0x162,-0xae)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x278b49(0x19c,0xce,0x92,0x62),'description':'Executes\x20a\x20shell\x20command','input_schema':{'type':_0x278b49(0x24,-0xa1,0x6d,-0x20),'properties':{'command':{'type':_0x278b49(-0x196,-0x12a,-0x10b,-0x21c)}},'required':['command']}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x3a21b8){return{'output':_0x3a21b8,'structured':{'value':_0x3a21b8}};}function createUnknownToolResult(_0x420c2f){const _0x2ce150={_0x49f20b:0x5a6,_0x145928:0x46a,_0x29a72a:0x3df,_0x150b90:0xd7,_0x31771b:0x5},_0x33a256={_0x542cf5:0x1e1,_0x2622e4:0x175},_0x4429e2={_0x287e7a:0x40,_0x2f8197:0x144};function _0x5252b7(_0x38595c,_0xeaa341,_0x36b900,_0x48389f){return _0x2fd7af(_0x48389f- -_0x4429e2._0x287e7a,_0xeaa341-0x1bb,_0x38595c,_0x48389f-_0x4429e2._0x2f8197);}function _0x5dd935(_0x5b88a5,_0x35a7d9,_0xf9e802,_0x3e41ec){return _0x2fd7af(_0xf9e802-0x39e,_0x35a7d9-_0x33a256._0x542cf5,_0x3e41ec,_0x3e41ec-_0x33a256._0x2622e4);}return{'callId':_0x420c2f['id'],'toolName':_0x420c2f['name'],'status':_0x5dd935(0x570,_0x2ce150._0x49f20b,_0x2ce150._0x145928,_0x2ce150._0x29a72a),'output':_0x5252b7(-0x106,-_0x2ce150._0x150b90,0x9,_0x2ce150._0x31771b)+_0x420c2f['name'],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x4c1ac4,_0x4e8100){const _0x3eb264={_0x5ae115:0x329,_0x32f863:0x2c1},_0x290dda={_0x223bea:0x1d8,_0x550250:0x46};function _0x33952d(_0x1c0bf4,_0xcdb4e1,_0x5426cd,_0x5672a6){return _0x278b49(_0x1c0bf4-_0x290dda._0x223bea,_0xcdb4e1-_0x290dda._0x550250,_0x1c0bf4-0x430,_0xcdb4e1);}return{'callId':_0x4c1ac4['id'],'toolName':_0x4c1ac4[_0x33952d(_0x3eb264._0x5ae115,_0x3eb264._0x32f863,0x226,0x412)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x4c1ac4['input']),'exitCode':0x0},'chunks':[_0x4e8100],'meta':createMeta()};}function createMockToolRuntime(){const _0x10e1f9={_0x3c0518:0x29f,_0x2778ae:0x181},_0x226cb4={_0x11ba32:0x3d7},_0x1d9be6={_0xd38df2:0x27f,_0x833d29:0x279},_0x5731e4={_0x5a9d0e:0xff},_0x3b7095=async(_0x5d2761,_0x31fc46)=>{const _0x15de70={_0x3aacf5:0x272};if(_0x5d2761[_0x1fde55(0x456,0x4df,0x3d4,0x451)]!==_0x3f516e(_0x1d9be6._0xd38df2,_0x1d9be6._0x833d29,0x286,0x378))return createUnknownToolResult(_0x5d2761);function _0x3f516e(_0x1b504e,_0x449c54,_0x3562f2,_0x551951){return _0x16a6(_0x449c54- -_0x5731e4._0x5a9d0e,_0x551951);}function _0x1fde55(_0x405b26,_0x546609,_0x972d2e,_0xe82610){return _0x16a6(_0xe82610-_0x15de70._0x3aacf5,_0x405b26);}const _0x121350=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x5d2761,_0x121350);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x401c19,_0x25ebad){function _0x73c565(_0x2c669e,_0xaefb9d,_0x202512,_0x1fd8a0){return _0x16a6(_0xaefb9d- -_0x226cb4._0x11ba32,_0x202512);}function _0x38d8e7(_0x3706c4,_0x1328f7,_0x51997d,_0x53eb5b){return _0x16a6(_0x3706c4-0x48,_0x51997d);}return await Promise[_0x38d8e7(0x380,_0x10e1f9._0x3c0518,0x39b,0x276)](_0x401c19[_0x73c565(-0x266,-_0x10e1f9._0x2778ae,-0x229,-0xc8)](async _0xe8e3ba=>{return await _0x3b7095(_0xe8e3ba,_0x25ebad);}));},async 'execute'(_0x44f220,_0x1fd4b8){return await _0x3b7095(_0x44f220,_0x1fd4b8);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x22d85e={_0x57a1c2:0xee},_0x4d95f3={_0x10b8a8:0x51,_0x215517:0x1f8};function _0x32a1b4(_0x5b9848,_0x291b53,_0x90c3d7,_0x457d68){return _0x278b49(_0x5b9848-_0x4d95f3._0x10b8a8,_0x291b53-0xa4,_0x291b53-_0x4d95f3._0x215517,_0x457d68);}return delegatedRunCounter+=0x1,_0x32a1b4(0x121,0x211,0x20a,_0x22d85e._0x57a1c2)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x24d159,_0x520dba){const _0x201774={_0x5a1a19:0x85},_0x189d91={_0x4ced66:0x15a,_0x403854:0x19c,_0x109bca:0xaf};function _0x15285f(_0x34130c,_0x47f1b3,_0x32e060,_0x1796a7){return _0x278b49(_0x34130c-_0x189d91._0x4ced66,_0x47f1b3-_0x189d91._0x403854,_0x32e060-_0x189d91._0x109bca,_0x34130c);}return typeof _0x24d159===_0x15285f(-0x29,0x1f,_0x201774._0x5a1a19,-0x66)?await _0x24d159(_0x520dba):_0x24d159;}function getDelegatedAgentDefinition(_0x4a54d2,_0x52369b){const _0xb7653c={_0x3f550e:0x431,_0x1cb2cc:0x3ce,_0x3cb30d:0x590},_0x5e0663={_0x491816:0xc6,_0xd97f30:0xbc};function _0x4ddcf5(_0x41ee70,_0x3d0255,_0x2f7067,_0x590f00){return _0x2fd7af(_0x590f00-0x52b,_0x3d0255-_0x5e0663._0x491816,_0x41ee70,_0x590f00-_0x5e0663._0xd97f30);}return _0x4a54d2[_0x4ddcf5(_0xb7653c._0x3f550e,_0xb7653c._0x1cb2cc,_0xb7653c._0x3cb30d,0x460)]?.[_0x52369b];}function createRunSummary(_0x1325ad){const _0x32c828={_0x2642ef:0x4c4,_0x543da7:0x58f,_0x422dfd:0x542,_0x21aeed:0x29b,_0x39a5fd:0x422,_0x354e5b:0x2de,_0x30adb0:0x20a,_0x574f8b:0x13e,_0x1e7367:0x144,_0x4b6c25:0x1c3,_0x50f993:0x2f2,_0x2565ff:0x3ba,_0x5d417c:0x325,_0x534552:0x120,_0x43876e:0x1b0,_0x14041d:0x4b2,_0x18393b:0x491,_0x589ab6:0x46b,_0x3fcd27:0x13e,_0x20fbab:0x18e,_0x4854f5:0x16f,_0x3c797e:0x1a4},_0x460127={_0x1e5017:0x530,_0x4fc871:0x1a3},_0x3d373f={_0x2d6549:0x18e,_0x168ca3:0xd4};function _0xfb1911(_0x30fef0,_0x1c6a91,_0x31b512,_0x35bfdb){return _0x2fd7af(_0x35bfdb-0x243,_0x1c6a91-_0x3d373f._0x2d6549,_0x1c6a91,_0x35bfdb-_0x3d373f._0x168ca3);}function _0x1713c3(_0x6bee4e,_0x215a0c,_0x7cd427,_0x2b56ca){return _0x2fd7af(_0x215a0c-_0x460127._0x1e5017,_0x215a0c-0x133,_0x2b56ca,_0x2b56ca-_0x460127._0x4fc871);}return{'runId':_0x1325ad[_0x1713c3(_0x32c828._0x2642ef,_0x32c828._0x543da7,_0x32c828._0x422dfd,0x6b4)],'agentId':_0x1325ad[_0xfb1911(0xa3,0x2c5,_0x32c828._0x21aeed,0x1d5)],'sessionId':_0x1325ad[_0xfb1911(0x37d,0x394,0x399,0x2f1)],'status':_0x1325ad[_0x1713c3(0x305,_0x32c828._0x39a5fd,0x48b,0x302)],'parentSessionId':_0x1325ad[_0xfb1911(_0x32c828._0x354e5b,_0x32c828._0x30adb0,_0x32c828._0x574f8b,0x253)],..._0x1325ad[_0xfb1911(0x2a5,_0x32c828._0x1e7367,_0x32c828._0x4b6c25,0x1f2)]!==void 0x0?{'originToolCallId':_0x1325ad[_0xfb1911(0x199,0x2bc,_0x32c828._0x50f993,0x1f2)]}:{},..._0x1325ad[_0x1713c3(_0x32c828._0x2565ff,0x439,_0x32c828._0x5d417c,0x53c)]!==void 0x0?{'errorMessage':_0x1325ad[_0xfb1911(_0x32c828._0x534552,_0x32c828._0x43876e,0x15,0x14c)]}:{},..._0x1325ad['result']?.[_0x1713c3(_0x32c828._0x14041d,_0x32c828._0x18393b,_0x32c828._0x589ab6,0x5c0)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x1325ad[_0xfb1911(_0x32c828._0x3fcd27,0xa7,0xc0,0x136)][_0xfb1911(0xc2,_0x32c828._0x20fbab,_0x32c828._0x4854f5,_0x32c828._0x3c797e)])}:{}};}function createRunSummaryOutput(_0x31a405,_0x153d00){const _0x3b92b7={_0x42606e:0x259},_0x183674={_0x2ce09f:0x8,_0x3d2a14:0x1d0};function _0x3965be(_0x152526,_0x3c608f,_0x21978f,_0x433117){return _0x2fd7af(_0x21978f- -0x69,_0x3c608f-_0x183674._0x2ce09f,_0x433117,_0x433117-_0x183674._0x3d2a14);}const _0x153ab3=createRunSummary(_0x31a405),_0x7f184a=_0x153ab3['finalMessageText'];return createToolOutput(typeof _0x7f184a===_0x3965be(-0xa6,-_0x3b92b7._0x42606e,-0x1c3,-0x2b5)&&_0x7f184a['length']>0x0?_0x7f184a:_0x153d00,_0x153ab3);}function getRunTerminalErrorMessage(_0x3caad4){const _0x53ebee={_0x374740:0x11e,_0x4fee7a:0x20,_0x1ae419:0xa3,_0x40caa2:0x55d,_0x433d78:0x4fc,_0x2ca435:0x56f,_0x2a9145:0x194,_0x1ec40a:0x4a8,_0x375fff:0x1b9,_0x2c2b7c:0x1d3,_0x5ad99f:0x1a3,_0x5c01d5:0x191},_0x423daf={_0x473090:0x1d1},_0x115bf2={_0x5c83b1:0x491,_0x403dc1:0xda};function _0xf36f70(_0x5a6c66,_0x7f65ea,_0x3f6437,_0x25c062){return _0x2fd7af(_0x5a6c66-_0x115bf2._0x5c83b1,_0x7f65ea-_0x115bf2._0x403dc1,_0x7f65ea,_0x25c062-0x55);}const _0x4b66f0=_0x3caad4?.['state'][_0x24adac(_0x53ebee._0x374740,0x172,_0x53ebee._0x4fee7a,_0x53ebee._0x1ae419)]['at'](-0x1);function _0x24adac(_0x58683a,_0x5e760d,_0x2345b8,_0x3398c3){return _0x278b49(_0x58683a-0xf,_0x5e760d-0x1bd,_0x3398c3-_0x423daf._0x473090,_0x58683a);}if(_0x4b66f0?.['status']===_0xf36f70(_0x53ebee._0x40caa2,0x4f0,_0x53ebee._0x433d78,_0x53ebee._0x2ca435)&&_0x4b66f0[_0x24adac(0x2c3,0x189,_0x53ebee._0x2a9145,0x191)]['trim']()[_0xf36f70(0x425,_0x53ebee._0x1ec40a,0x53c,0x51e)]>0x0)return _0x4b66f0[_0x24adac(_0x53ebee._0x375fff,_0x53ebee._0x2c2b7c,_0x53ebee._0x5ad99f,_0x53ebee._0x5c01d5)];return void 0x0;}function formatAbortedRunMessage(_0x30a0b7,_0x3bf7bc){const _0x220bf8={_0x5af341:0x91,_0x1b4190:0x151,_0x15d198:0x12b,_0x1e5620:0x252,_0x2b1b42:0x2bb},_0x86af2d={_0x40197d:0x19c},_0x5ee185={_0x23c822:0x1e4},_0x3ec967='Agent\x20run\x20'+_0x30a0b7+_0x44fe97(_0x220bf8._0x5af341,0x178,_0x220bf8._0x1b4190,_0x220bf8._0x15d198);if(!_0x3bf7bc||_0x3bf7bc[_0x4da686(0x1da,0x26c,_0x220bf8._0x1e5620,_0x220bf8._0x2b1b42)]()['length']===0x0||_0x3bf7bc===_0x3ec967)return _0x3ec967;function _0x44fe97(_0x3b8779,_0x3667d2,_0x544ff2,_0x5aed00){return _0x278b49(_0x3b8779-0x152,_0x3667d2-_0x5ee185._0x23c822,_0x544ff2-0x73,_0x5aed00);}function _0x4da686(_0x5bfa4e,_0x1d110a,_0x2ad7c7,_0x3b62a3){return _0x278b49(_0x5bfa4e-_0x86af2d._0x40197d,_0x1d110a-0x22,_0x3b62a3-0x32b,_0x5bfa4e);}return _0x3ec967+'\x20Cause:\x20'+_0x3bf7bc;}function createAssignTaskTool(_0x39510c){const _0xbbf0f4={_0x1eeb57:0x327,_0x25416a:0x42b,_0xac87ba:0x269,_0x22b7eb:0x99,_0x25e1cc:0x205,_0x410952:0x26a,_0x20e198:0xdd,_0x238cbf:0x123},_0x539816={_0x6cbcc2:0x561,_0x157b9e:0x5e4,_0x578504:0x66c,_0x53eebe:0x2b3,_0x3af774:0xb7,_0x41cc2f:0x97,_0x8a5052:0x1f,_0x288c72:0x34c,_0x599e81:0x579,_0x5acf82:0x4de,_0x5f2ccc:0xa,_0x4bf0fb:0x58,_0x2c8aa3:0x4e,_0x3e7a8c:0x81,_0x4cdd55:0xba,_0x3d18e3:0x451,_0x3ddd9e:0x392,_0x34061c:0x3f8,_0x4cecbb:0x323,_0x49cb0d:0x3bd,_0x21b226:0x650,_0x2830ea:0x512,_0x1f0934:0x3cb,_0x5469ff:0x601,_0x287a3f:0x60e,_0x413566:0x49c,_0x25e64b:0x50c,_0x3313ad:0xd1,_0x3c8112:0x263,_0x3a13ed:0x21b,_0x174e4b:0x92,_0x3b7747:0x15,_0x7be19f:0x3f5,_0x2dc8b8:0x3cc,_0x102165:0x4be,_0x263d2a:0xa6,_0x36d6e0:0x169,_0x574325:0xc9,_0x497e6e:0x154,_0x3a7cb7:0x36,_0x26e2ab:0x175,_0x7b33ed:0xb6,_0x3374df:0xe1,_0x51b8d8:0x4f,_0x1e13c2:0xc,_0x273f93:0x303,_0x1b7813:0xd5,_0x33e6ec:0x542,_0x51e856:0x58,_0x1eeeef:0x62,_0x289f19:0x190,_0x5bb48d:0x3a6,_0x2de23d:0x320,_0x162496:0x44c,_0x18e14d:0x4b0,_0x5b47eb:0x572,_0x2087d9:0x664,_0x1dc896:0x592,_0x543b84:0x4a4,_0x55a997:0x18,_0x3cb3a7:0x55,_0x466aca:0x2d},_0x352929={_0x45eae1:0x42,_0x13ccd6:0x14b,_0x2623d5:0x33,_0x1f950b:0xc1},_0x2dd62a={_0x2999f5:0x18},_0x3e3385={_0x18e979:0x26a,_0x39fe7a:0x6d};function _0x5af21b(_0x2e0bc5,_0x417640,_0x148a0c,_0x3b481d){return _0x2fd7af(_0x2e0bc5-_0x3e3385._0x18e979,_0x417640-0x172,_0x417640,_0x3b481d-_0x3e3385._0x39fe7a);}function _0x689ce3(_0x4346b4,_0x5d7759,_0x2390aa,_0x182e0c){return _0x278b49(_0x4346b4-0x1b6,_0x5d7759-0x15,_0x2390aa- -_0x2dd62a._0x2999f5,_0x4346b4);}return defineTool({'name':'AssignTask','description':_0x5af21b(_0xbbf0f4._0x1eeb57,_0xbbf0f4._0x25416a,_0xbbf0f4._0xac87ba,0x215),'inputSchema':{'type':'object','properties':{'agentId':{'type':_0x689ce3(0xd,-_0xbbf0f4._0x22b7eb,-0x123,0x1a)},'description':{'type':_0x689ce3(-0x22b,-_0xbbf0f4._0x25e1cc,-0x123,-_0xbbf0f4._0x410952)},'nickname':{'type':'string'},'task':{'type':_0x689ce3(-0x28,-_0xbbf0f4._0x20e198,-_0xbbf0f4._0x238cbf,-0x24f)}},'required':['agentId','description','task']},async *'execute'(_0x5a1c00,_0x4bcf46){const _0x3bdf90={_0x399458:0x4d},_0x151e19={_0x5461e0:0x3c2},_0xe9ed07={_0xe9db81:0x83,_0x216fa8:0x132},_0x5353bc={_0x8a79f7:0x199};function _0x3d7382(_0xe389d4,_0x490f9c,_0x486ebc,_0x4457ed){return _0x689ce3(_0x486ebc,_0x490f9c-_0x5353bc._0x8a79f7,_0xe389d4- -0x60,_0x4457ed-0xf8);}const _0x5ee45c=createDelegatedRunId(),_0x94ae65={'agentId':_0x5a1c00['agentId'],'parentSessionId':_0x4bcf46[_0x3bbcdf(_0x539816._0x6cbcc2,_0x539816._0x157b9e,0x51d,_0x539816._0x578504)],'runId':_0x5ee45c,..._0x4bcf46['toolCallId']!==void 0x0?{'toolCallId':_0x4bcf46[_0x3bbcdf(0x35e,_0x539816._0x53eebe,0x3e7,0x397)]}:{}},_0x2b53b8=getDelegatedAgentDefinition(_0x39510c,_0x5a1c00['agentId']);if(!_0x2b53b8)throw new ToolExecutionError(_0x3d7382(-0xc7,-0x66,-0x1c2,-_0x539816._0x3af774)+_0x5a1c00[_0x3d7382(-_0x539816._0x41cc2f,-0x1de,_0x539816._0x8a5052,-0xf4)],{'agentId':_0x5a1c00[_0x3bbcdf(0x445,_0x539816._0x288c72,_0x539816._0x599e81,_0x539816._0x5acf82)]});const _0x12f79f=new Agent(await resolveDelegatedAgentOptions(_0x2b53b8,_0x94ae65));let _0x1ae263={'runId':_0x5ee45c,'agentId':_0x5a1c00[_0x3d7382(-0x97,-0xb9,0xa,-0x1c6)],'sessionId':_0x12f79f[_0x3d7382(0x85,-_0x539816._0x5f2ccc,-0x3b,0x17a)],'status':_0x3d7382(-_0x539816._0x4bf0fb,0xe6,0x18,0xe2),'parentSessionId':_0x4bcf46[_0x3d7382(0x85,-0x29,-_0x539816._0x2c8aa3,0x8e)],..._0x4bcf46[_0x3d7382(-0x17e,-_0x539816._0x3e7a8c,-0x185,-_0x539816._0x4cdd55)]!==void 0x0?{'originToolCallId':_0x4bcf46[_0x3bbcdf(0x35e,_0x539816._0x3d18e3,0x3bd,_0x539816._0x3ddd9e)]}:{}};function _0x3bbcdf(_0x27b267,_0x392449,_0x197355,_0x35de7d){return _0x5af21b(_0x27b267-0x249,_0x197355,_0x197355-_0xe9ed07._0xe9db81,_0x35de7d-_0xe9ed07._0x216fa8);}const _0x4e6c73=new AbortController(),_0x5c355c=addAbortListener(_0x4bcf46[_0x3bbcdf(_0x539816._0x34061c,_0x539816._0x4cecbb,0x51c,_0x539816._0x49cb0d)],()=>{function _0x182bfb(_0x586b79,_0x285df5,_0x9cdffa,_0x2a0be3){return _0x3bbcdf(_0x9cdffa- -_0x151e19._0x5461e0,_0x285df5-0xb6,_0x285df5,_0x2a0be3-0x1f0);}function _0x953b8e(_0xe06bed,_0x28ae2d,_0x3f1b88,_0x4a3b3d){return _0x3bbcdf(_0x28ae2d- -_0x3bdf90._0x399458,_0x28ae2d-0x42,_0x4a3b3d,_0x4a3b3d-0x96);}_0x4e6c73[_0x182bfb(-_0x352929._0x45eae1,0x1e,0x40,_0x352929._0x13ccd6)](_0x4bcf46[_0x182bfb(0xc9,-_0x352929._0x2623d5,0x36,-_0x352929._0x1f950b)]?.['reason']);});yield createToolOutput('Started\x20agent\x20run\x20'+_0x1ae263[_0x3bbcdf(0x512,0x614,_0x539816._0x21b226,0x590)]+'.',{'runId':_0x1ae263[_0x3bbcdf(_0x539816._0x2830ea,_0x539816._0x1f0934,0x522,_0x539816._0x5469ff)],'agentId':_0x1ae263[_0x3d7382(-_0x539816._0x41cc2f,-0x59,-0x2,-0x63)],'sessionId':_0x1ae263[_0x3bbcdf(_0x539816._0x6cbcc2,_0x539816._0x287a3f,_0x539816._0x413566,_0x539816._0x25e64b)],'status':_0x1ae263[_0x3d7382(-0x137,-_0x539816._0x3313ad,-_0x539816._0x3c8112,-_0x539816._0x3a13ed)]});try{const _0x37bde9=await _0x12f79f[_0x3d7382(-0xd,-_0x539816._0x174e4b,0xe0,-_0x539816._0x3b7747)](_0x5a1c00[_0x3bbcdf(_0x539816._0x7be19f,0x2d6,0x4be,_0x539816._0x2dc8b8)],{'signal':_0x4e6c73[_0x3bbcdf(0x3f8,0x478,_0x539816._0x102165,0x483)]});_0x1ae263={..._0x1ae263,'status':_0x37bde9['status'],'result':_0x37bde9};if(_0x37bde9[_0x3d7382(-0x137,-0x18b,-_0x539816._0x263d2a,-_0x539816._0x36d6e0)]!==_0x3d7382(-_0x539816._0x574325,-_0x539816._0x497e6e,0x66,-0xa2)){const _0x5e158d=getRunTerminalErrorMessage(_0x37bde9),_0x529f68=formatAbortedRunMessage(_0x1ae263[_0x3d7382(_0x539816._0x3a7cb7,-0x87,_0x539816._0x26e2ab,0x150)],_0x5e158d);throw new ToolExecutionError(_0x529f68,{...createRunSummary(_0x1ae263),'aborted':!![],'errorMessage':_0x529f68});}return createRunSummaryOutput(_0x1ae263,'Agent\x20run\x20'+_0x1ae263[_0x3d7382(_0x539816._0x3a7cb7,0xc6,_0x539816._0x7b33ed,-_0x539816._0x3374df)]+_0x3d7382(0x4c,-_0x539816._0x51b8d8,-_0x539816._0x1e13c2,0x18));}catch(_0x13e641){if(_0x13e641 instanceof ToolExecutionError)throw _0x13e641;if(isAbortError(_0x13e641)||_0x4e6c73[_0x3bbcdf(0x3f8,_0x539816._0x273f93,0x4ea,0x315)]['aborted']||_0x4bcf46[_0x3bbcdf(_0x539816._0x34061c,0x3a3,0x2fc,0x37f)][_0x3d7382(_0x539816._0x4bf0fb,-_0x539816._0x1b7813,0x6e,-0xcb)]){const _0x21e35e=getRunTerminalErrorMessage(_0x1ae263['result'])??(_0x13e641 instanceof Error?_0x13e641[_0x3bbcdf(0x44c,0x349,0x44b,0x40f)]:String(_0x13e641)),_0x52ce8c=formatAbortedRunMessage(_0x1ae263[_0x3bbcdf(0x512,0x5e3,_0x539816._0x33e6ec,0x3dd)],_0x21e35e);_0x1ae263={..._0x1ae263,'status':_0x3d7382(_0x539816._0x51e856,0x108,-_0x539816._0x1eeeef,_0x539816._0x289f19),'errorMessage':_0x52ce8c};throw new ToolExecutionError(_0x52ce8c,{...createRunSummary(_0x1ae263),'aborted':!![],'errorMessage':_0x52ce8c});}const _0x517e16=getRunTerminalErrorMessage(_0x1ae263[_0x3bbcdf(_0x539816._0x5bb48d,0x2c9,_0x539816._0x2de23d,0x45c)])??(_0x13e641 instanceof Error?_0x13e641[_0x3bbcdf(_0x539816._0x162496,0x423,_0x539816._0x18e14d,0x43e)]:String(_0x13e641))??'Agent\x20run\x20'+_0x1ae263['runId']+_0x3bbcdf(_0x539816._0x5b47eb,_0x539816._0x2087d9,_0x539816._0x1dc896,_0x539816._0x543b84);_0x1ae263={..._0x1ae263,'status':_0x3d7382(_0x539816._0x55a997,0x8a,-_0x539816._0x3cb3a7,-_0x539816._0x466aca),'errorMessage':_0x517e16};throw new ToolExecutionError(_0x517e16,{...createRunSummary(_0x1ae263),'errorMessage':_0x517e16});}finally{_0x5c355c();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x2e05e5){return[createAssignTaskTool(_0x2e05e5)];}import*as _0x844928 from'path';function buildDescription2(_0x4af807){const _0xc8c66a={_0x13495b:0x361,_0x4d72f9:0x27a,_0x361c65:0x39f,_0x5c863a:0x414,_0x5a2681:0x3a0,_0x337201:0x2f8,_0x37881e:0x7b7,_0x5e79f1:0x662,_0xe49a3d:0x6b2,_0x3f6b97:0x5e2,_0x14500b:0x63c,_0x1f0427:0x5a4},_0x15d10b={_0x54cb62:0x3a7},_0x4d8765={_0x44f920:0x128};if(_0x4af807[_0xe9b3f4(0x38a,_0xc8c66a._0x13495b,_0xc8c66a._0x4d72f9,_0xc8c66a._0x361c65)]===0x0)return _0xe9b3f4(0x42e,0x2ea,0x353,_0xc8c66a._0x5c863a);function _0x41b744(_0x5db58d,_0x4eaecb,_0x17aab2,_0x160416){return _0x2fd7af(_0x160416-0x601,_0x4eaecb-_0x4d8765._0x44f920,_0x5db58d,_0x160416-0x119);}const _0x1768b0=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0xe9b3f4(_0xc8c66a._0x5a2681,0x2a9,0x364,_0xc8c66a._0x337201),_0x41b744(_0xc8c66a._0x37881e,0x727,0x54f,0x678),_0x41b744(0x571,_0xc8c66a._0x5e79f1,_0xc8c66a._0xe49a3d,0x61c),..._0x4af807[_0x41b744(_0xc8c66a._0x3f6b97,_0xc8c66a._0x14500b,0x4fc,0x522)](_0x671e8a=>'-\x20'+_0x671e8a['name']+':\x20'+_0x671e8a[_0xe9b3f4(0x48e,0x34e,0x569,0x43d)])];function _0xe9b3f4(_0x390fd3,_0x143ddc,_0x3413aa,_0xa17c60){return _0x278b49(_0x390fd3-0xab,_0x143ddc-0x129,_0x390fd3-_0x15d10b._0x54cb62,_0x3413aa);}return _0x1768b0[_0x41b744(0x6b6,0x4a9,0x5a0,_0xc8c66a._0x1f0427)]('\x0a');}function createLoadSkillTool(_0x3a4d40){const _0x747ce5={_0x3cec51:0x481,_0x2f028a:0x497,_0x26be41:0x28c,_0x484405:0x3b0},_0x575907={_0x49909d:0x32c,_0x28d1a0:0x2ec,_0x2f0c56:0x230,_0x5b7cb2:0x1a2,_0x9ff668:0x12e,_0x46f6db:0x1aa,_0x178ec2:0x144,_0x4d0336:0x182,_0x35222c:0x6b,_0x4cadfb:0x8a,_0x699ca6:0x2e2,_0x55d015:0x25b,_0x53dfd4:0x1b0,_0x685574:0x300,_0x51e254:0x2a9,_0x40cd51:0x38f,_0x190cfe:0x38c,_0x5a713d:0x2a0,_0x189389:0x1b8,_0x314d6e:0x82,_0xfd52f5:0x2bf,_0x10b86c:0x2a0,_0x1650d7:0x186,_0xfdb272:0x260,_0x3eafff:0x340,_0x2aacea:0x90,_0x1027aa:0x34,_0x11dab3:0x155,_0x29ae52:0x48,_0x1174af:0x29,_0x1d7c12:0x2d7,_0x3753ea:0x1f4,_0x49188e:0x235,_0x1d843c:0x274,_0x42bc63:0x2bc,_0x499bdb:0x262},_0x1ae4ce={_0x497ecc:0x3e3,_0x2a076a:0x7c},_0x5a8bef={_0x3f9e32:0x2d7,_0x4a1019:0x74},_0x457e18={_0x4f89a5:0x93,_0x1dd3ea:0x11d,_0x370e90:0x4a8},_0x161689=new Map(_0x3a4d40['skills']['map'](_0x2ba6b0=>[_0x2ba6b0[_0x3f1456(0x3c7,0x3a1,0x2a8,0x4e7)],_0x2ba6b0]));function _0x3f1456(_0x55d7ab,_0x5ce2d0,_0x56c2f6,_0x478347){return _0x278b49(_0x55d7ab-_0x457e18._0x4f89a5,_0x5ce2d0-_0x457e18._0x1dd3ea,_0x5ce2d0-_0x457e18._0x370e90,_0x55d7ab);}const _0x55dc9b=buildDescription2(_0x3a4d40[_0x3f1456(0x330,0x398,_0x747ce5._0x3cec51,_0x747ce5._0x2f028a)]);function _0x577571(_0x47cd3f,_0x39a429,_0xce96e,_0x16a786){return _0x2fd7af(_0x47cd3f-_0x5a8bef._0x3f9e32,_0x39a429-0xe9,_0xce96e,_0x16a786-_0x5a8bef._0x4a1019);}return defineTool({'name':'LoadSkill','description':_0x55dc9b,'inputSchema':{'type':'object','properties':{'name':{'type':'string'}},'required':[_0x3f1456(_0x747ce5._0x26be41,0x3a1,0x45a,_0x747ce5._0x484405)]},async *'execute'(_0xf674bc){const _0x104e20={_0x5ec4ea:0x73,_0x1141ab:0x194,_0x1ea2a3:0x38};function _0x162ee2(_0x5262aa,_0x263fbe,_0xcc8f5e,_0x2f016a){return _0x577571(_0xcc8f5e-_0x104e20._0x5ec4ea,_0x263fbe-_0x104e20._0x1141ab,_0x2f016a,_0x2f016a-_0x104e20._0x1ea2a3);}const _0xde89af=_0x161689[_0x162ee2(_0x575907._0x49909d,_0x575907._0x28d1a0,_0x575907._0x2f0c56,_0x575907._0x5b7cb2)](_0xf674bc[_0x5bcd43(-0xf9,0xdc,-0xfc,-0x42)]);if(!_0xde89af){const _0xc729f4=Array[_0x5bcd43(0xc4,_0x575907._0x9ff668,_0x575907._0x46f6db,_0x575907._0x178ec2)](_0x161689[_0x5bcd43(-0x71,-_0x575907._0x4d0336,_0x575907._0x35222c,-_0x575907._0x4cadfb)]())['join'](',\x20');throw new ToolExecutionError(_0x162ee2(_0x575907._0x699ca6,0x209,0x2ec,_0x575907._0x55d015)+_0xf674bc[_0x162ee2(0x1d8,0x2c6,0x1f4,0x2b4)]+_0x162ee2(0x157,0x267,0x255,0x278)+_0xc729f4,{'name':_0xf674bc['name']});}const _0x2eaddc=await _0x3a4d40[_0x162ee2(_0x575907._0x53dfd4,_0x575907._0x685574,0x2ca,_0x575907._0x51e254)](_0xde89af),_0x16ff9d=_0xde89af[_0x162ee2(_0x575907._0x40cd51,_0x575907._0x190cfe,_0x575907._0x5a713d,0x37a)][_0x162ee2(0x283,0x21c,_0x575907._0x189389,_0x575907._0x314d6e)]??_0x844928['dirname'](_0xde89af[_0x162ee2(0x198,_0x575907._0xfd52f5,0x2a0,_0x575907._0x10b86c)]['path']),_0x575574=[_0x5bcd43(0xea,-0xc,_0x575907._0x1650d7,0x64)+_0x2eaddc['name'],'',_0x2eaddc['instructions'],'',_0x162ee2(0x1aa,0x1d6,_0x575907._0xfdb272,_0x575907._0x3eafff),_0x5bcd43(-_0x575907._0x2aacea,_0x575907._0x1027aa,-_0x575907._0x11dab3,-0x8c)+_0xde89af['source']['path'],'Base\x20directory:\x20'+_0x16ff9d][_0x5bcd43(_0x575907._0x11dab3,-_0x575907._0x29ae52,_0x575907._0x1174af,0xb7)]('\x0a');function _0x5bcd43(_0x18ce5e,_0x68cf1d,_0x4230bf,_0x2b11d5){return _0x3f1456(_0x4230bf,_0x2b11d5- -_0x1ae4ce._0x497ecc,_0x4230bf-_0x1ae4ce._0x2a076a,_0x2b11d5-0x10f);}return yield createToolOutput(_0x575574,{'id':_0x2eaddc['id'],'name':_0x2eaddc[_0x162ee2(0x1fb,_0x575907._0x1d7c12,_0x575907._0x3753ea,0x130)],'path':_0xde89af['source'][_0x162ee2(_0x575907._0x49188e,_0x575907._0x1d843c,_0x575907._0x42bc63,_0x575907._0x499bdb)],'baseDirectory':_0x16ff9d}),void 0x0;}});}var TODO_STATUSES=new Set([_0x278b49(-0x76,-0x1b,-0xb7,0x16),_0x2fd7af(-0x93,-0xe3,-0x16e,-0x13d),_0x278b49(-0xa0,-0x6b,-0x51,-0x11a)]),TODO_PRIORITIES=new Set([_0x278b49(0x150,-0xc9,0x2a,-0x8e),_0x2fd7af(-0x55,-0x5a,-0x25,-0x140),_0x278b49(-0x71,-0x6e,-0x122,-0x13c)]);function isTodoStatus(_0x2d0ded){const _0xfcd8ee={_0x5ca657:0x6a,_0x4d9919:0x148},_0x539f3={_0x586838:0xae},_0x38768f={_0x344fea:0x3};function _0x5ded8d(_0xb155a6,_0xf05749,_0x4a20c8,_0x474f46){return _0x2fd7af(_0x4a20c8-0x1c4,_0xf05749-0xe2,_0x474f46,_0x474f46-_0x38768f._0x344fea);}function _0x8ad750(_0x14f370,_0x31f398,_0x28e156,_0x1ecdc9){return _0x278b49(_0x14f370-0x125,_0x31f398-_0x539f3._0x586838,_0x1ecdc9-0x379,_0x14f370);}return typeof _0x2d0ded===_0x5ded8d(0x9d,-0x70,_0xfcd8ee._0x5ca657,0x7b)&&TODO_STATUSES[_0x5ded8d(0x16b,0x240,_0xfcd8ee._0x4d9919,0x39)](_0x2d0ded);}function isTodoPriority(_0x3269a0){const _0x27a414={_0x82cec4:0x644};function _0x4843d8(_0x12731b,_0x45b731,_0x3eca28,_0x325e17){return _0x278b49(_0x12731b-0x1d9,_0x45b731-0x179,_0x325e17-_0x27a414._0x82cec4,_0x3eca28);}return typeof _0x3269a0==='string'&&TODO_PRIORITIES[_0x4843d8(0x593,0x715,0x747,0x617)](_0x3269a0);}var TodoStore=class{[_0x2fd7af(0x6d,0x121,0x158,0x1a3)]=new Map();[_0x2fd7af(-0x92,-0x12b,-0x5e,-0x1be)](_0x546aeb){const _0x2bb260={_0x2ff11b:0x702,_0x526678:0x56e,_0x5af4de:0x633,_0x5dec4e:0x5c5,_0x148003:0x3a7,_0x16b98a:0x4ac},_0x5173eb={_0x93b266:0xed};function _0x4f0d5f(_0x67a62f,_0x1ee430,_0x620e32,_0x5d8c05){return _0x2fd7af(_0x5d8c05-0x5c6,_0x1ee430-_0x5173eb._0x93b266,_0x67a62f,_0x5d8c05-0x29);}function _0x56c415(_0x2b434b,_0x12e04c,_0x168133,_0x56adb4){return _0x2fd7af(_0x168133-0xa1,_0x12e04c-0xf7,_0x2b434b,_0x56adb4-0xf);}return this[_0x4f0d5f(_0x2bb260._0x2ff11b,0x683,_0x2bb260._0x526678,_0x2bb260._0x5af4de)][_0x4f0d5f(_0x2bb260._0x5dec4e,_0x2bb260._0x148003,0x43d,_0x2bb260._0x16b98a)](_0x546aeb)??[];}['setTodos'](_0x29b585,_0x13fcf4){const _0x5731ac={_0xfada00:0x2ea,_0x3a627c:0x204,_0x2cfe06:0x21f,_0xa29bec:0x323},_0x211df4={_0x343af4:0x463,_0x34e626:0x27},_0x3034bb={_0x41b0e8:0xbb};function _0x5f2226(_0x3fbd9b,_0x349183,_0x49dbe3,_0x27061a){return _0x278b49(_0x3fbd9b-_0x3034bb._0x41b0e8,_0x349183-0x143,_0x49dbe3-0x163,_0x349183);}function _0x4008a1(_0x33792d,_0x2e6c19,_0x428ed8,_0x3c6286){return _0x2fd7af(_0x428ed8-_0x211df4._0x343af4,_0x2e6c19-0xc2,_0x3c6286,_0x3c6286-_0x211df4._0x34e626);}this[_0x5f2226(_0x5731ac._0xfada00,_0x5731ac._0x3a627c,_0x5731ac._0x2cfe06,0x100)][_0x4008a1(0x466,0x247,_0x5731ac._0xa29bec,0x33a)](_0x29b585,_0x13fcf4);}[_0x278b49(-0x5e,-0x6,-0xaa,0x17)](_0x3e51f3){const _0x2af7ed={_0xdfd887:0x677,_0x341d2e:0x65d,_0x27e6c6:0x1ad,_0x5d2706:0x603,_0x35c46b:0x1be,_0xd2122a:0x285,_0xc4ac7a:0x299,_0x35cfc0:0x601,_0x1e35b7:0x669,_0x42d3a2:0x6f0},_0x27072e={_0x461fb2:0x1d8,_0x231205:0x153},_0x238a22={_0x18856b:0x2c4};function _0x9fe4be(_0x183307,_0x2f645e,_0x2b0665,_0x1fb2e3){return _0x2fd7af(_0x183307-_0x238a22._0x18856b,_0x2f645e-0x176,_0x2f645e,_0x1fb2e3-0x192);}const _0xcdf0fa=this[_0x3d8994(0x547,_0x2af7ed._0xdfd887,_0x2af7ed._0x341d2e,0x61e)](_0x3e51f3),_0x386abe={'total':_0xcdf0fa['length'],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x3d8994(_0x4fefa1,_0x55bbf0,_0x3ea563,_0xdcbcb4){return _0x278b49(_0x4fefa1-_0x27072e._0x461fb2,_0x55bbf0-_0x27072e._0x231205,_0x55bbf0-0x6ba,_0xdcbcb4);}for(const _0x9b5192 of _0xcdf0fa){if(_0x9b5192[_0x9fe4be(0x1b6,_0x2af7ed._0x27e6c6,0x192,0x12e)]===_0x3d8994(0x624,_0x2af7ed._0x5d2706,0x4e7,0x67f))_0x386abe[_0x9fe4be(_0x2af7ed._0x35c46b,_0x2af7ed._0xd2122a,0x2d4,_0x2af7ed._0xc4ac7a)]+=0x1;else{if(_0x9b5192['status']===_0x3d8994(0x55c,0x676,0x6d0,_0x2af7ed._0x35cfc0))_0x386abe['inProgress']+=0x1;else _0x386abe[_0x3d8994(0x752,_0x2af7ed._0x1e35b7,_0x2af7ed._0x42d3a2,0x6f0)]+=0x1;}}return _0x386abe;}};function validateTodos(_0x381f51){const _0x332f3b={_0x38a6aa:0x19c,_0x56191e:0x241,_0x4d3629:0x88,_0x544e67:0x45d,_0x30c50a:0x35d,_0x5778a4:0x3ea,_0x2e683a:0x2ab,_0x3b95df:0x232,_0x46c143:0x160,_0x338c59:0x168,_0x1d4e28:0x374,_0x24df57:0x2ae,_0x363492:0x159,_0x3a98ec:0x217,_0x3d2b18:0x25a,_0x1d5fb0:0x3b0,_0x132f8f:0x285,_0x310e3e:0x311,_0x213a5a:0x332,_0x4e0d06:0x399,_0x3ce4b2:0x164,_0x2fff80:0x25c,_0x2d7899:0x386,_0x154f3f:0x174,_0x44527e:0x26f,_0xee963e:0x171,_0x12cff5:0x13c,_0x10dbcb:0x3d9,_0x176a08:0x30a,_0x1b0cb4:0x3a3,_0x945229:0x340,_0x22775a:0x3ad,_0x3c9fde:0x42d,_0x2b8ea9:0x322,_0x477d60:0x1b6,_0x34d5dc:0x2bb,_0x127106:0x3d7,_0x56f179:0x46b,_0x587515:0x334,_0x19775e:0x408,_0x235b51:0x427,_0xa4ebd9:0x348,_0x3c709c:0x4e1,_0xa6f11f:0x3bd,_0x157def:0x2f8,_0x57d7a0:0x99,_0x20bff1:0x1c8,_0x56358d:0x447,_0x13c959:0x3b9,_0x3d7a60:0x35c,_0x169d3b:0x327,_0x5c1d32:0x151,_0x41a5c0:0x1b0,_0x1df5f4:0x273,_0xa08a21:0x168,_0x481a9b:0x22e,_0x2804d9:0x369,_0x142ebf:0x24f,_0x2f2905:0x172,_0x1776ef:0x49c,_0x1e4d27:0x179,_0x1edb54:0x12d},_0x60045a={_0x587b8f:0x149,_0x1d94bc:0x1c8,_0x1ce591:0x37a},_0x285a4e={_0x51948b:0x123,_0x7b45d0:0x2cb};if(!Array['isArray'](_0x381f51[_0x30a5c2(0x146,_0x332f3b._0x38a6aa,0x217,0x170)])||_0x381f51[_0x2b7c3c(_0x332f3b._0x56191e,0x13a,_0x332f3b._0x4d3629,0x168)][_0x30a5c2(0x45e,_0x332f3b._0x544e67,_0x332f3b._0x30c50a,_0x332f3b._0x5778a4)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':_0x2b7c3c(_0x332f3b._0x2e683a,0x270,_0x332f3b._0x3b95df,0x315)});function _0x2b7c3c(_0x158759,_0xd723e4,_0x2dc3c9,_0x2fdd7d){return _0x278b49(_0x158759-_0x285a4e._0x51948b,_0xd723e4-0x2f,_0x2fdd7d-_0x285a4e._0x7b45d0,_0x158759);}function _0x30a5c2(_0x381770,_0x50f189,_0x4bd780,_0x129f76){return _0x278b49(_0x381770-_0x60045a._0x587b8f,_0x50f189-_0x60045a._0x1d94bc,_0x4bd780-_0x60045a._0x1ce591,_0x381770);}for(let _0x5404f5=0x0;_0x5404f5<_0x381f51[_0x2b7c3c(0x239,0x1db,_0x332f3b._0x46c143,_0x332f3b._0x338c59)][_0x2b7c3c(_0x332f3b._0x1d4e28,0x28a,0x1d2,_0x332f3b._0x24df57)];_0x5404f5+=0x1){const _0x3fe880=_0x381f51[_0x30a5c2(0x175,_0x332f3b._0x363492,_0x332f3b._0x3a98ec,0x109)][_0x5404f5];if(!_0x3fe880||typeof _0x3fe880!==_0x2b7c3c(0x467,_0x332f3b._0x3d2b18,0x271,0x338))throw new ToolExecutionError(_0x2b7c3c(0x264,_0x332f3b._0x1d5fb0,0x161,_0x332f3b._0x132f8f)+(_0x5404f5+0x1)+_0x2b7c3c(0x2de,0x1f6,_0x332f3b._0x310e3e,_0x332f3b._0x213a5a),{'error':_0x2b7c3c(_0x332f3b._0x4e0d06,0x2dc,0x3ce,0x2ef)});if(typeof _0x3fe880['id']!==_0x30a5c2(0x1ea,0x35d,0x26f,0x1ec)||_0x3fe880['id'][_0x2b7c3c(0x1dd,_0x332f3b._0x3ce4b2,0x176,0x25b)]()[_0x2b7c3c(0x242,0x3c7,_0x332f3b._0x2fff80,0x2ae)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x5404f5+0x1)+':\x20id\x20required',{'error':_0x30a5c2(0x2db,0x4d8,0x423,_0x332f3b._0x2d7899)});if(typeof _0x3fe880['content']!==_0x30a5c2(_0x332f3b._0x154f3f,0x3a1,_0x332f3b._0x44527e,0x3af)||_0x3fe880[_0x30a5c2(0x314,_0x332f3b._0xee963e,0x228,_0x332f3b._0x12cff5)][_0x30a5c2(0x26b,_0x332f3b._0x10dbcb,_0x332f3b._0x176a08,0x203)]()[_0x30a5c2(0x258,_0x332f3b._0x1b0cb4,_0x332f3b._0x30c50a,0x2a8)]===0x0)throw new ToolExecutionError(_0x30a5c2(_0x332f3b._0x945229,_0x332f3b._0x22775a,0x334,_0x332f3b._0x3c9fde)+(_0x5404f5+0x1)+_0x2b7c3c(0x46c,0x32b,_0x332f3b._0x2b8ea9,0x357),{'error':'invalid_todo_content'});if(!isTodoStatus(_0x3fe880[_0x30a5c2(_0x332f3b._0x477d60,0x370,_0x332f3b._0x34d5dc,_0x332f3b._0x127106)]))throw new ToolExecutionError(_0x30a5c2(0x288,_0x332f3b._0x56f179,_0x332f3b._0x587515,0x2f2)+(_0x5404f5+0x1)+_0x30a5c2(0x3c3,_0x332f3b._0x19775e,_0x332f3b._0x235b51,_0x332f3b._0xa4ebd9),{'error':_0x2b7c3c(_0x332f3b._0x3c709c,_0x332f3b._0x310e3e,0x2a3,_0x332f3b._0xa6f11f)});if(!isTodoPriority(_0x3fe880[_0x2b7c3c(0x171,_0x332f3b._0x157def,_0x332f3b._0x57d7a0,_0x332f3b._0x20bff1)]))throw new ToolExecutionError(_0x30a5c2(_0x332f3b._0x56358d,0x243,0x334,_0x332f3b._0x13c959)+(_0x5404f5+0x1)+_0x2b7c3c(_0x332f3b._0x3d7a60,_0x332f3b._0x169d3b,0x3f0,0x3ef),{'error':'invalid_todo_priority'});}const _0x3c8283=_0x381f51[_0x2b7c3c(_0x332f3b._0x5c1d32,_0x332f3b._0x41a5c0,_0x332f3b._0x1df5f4,_0x332f3b._0xa08a21)]['map'](_0x1e2e1e=>_0x1e2e1e['id']);if(new Set(_0x3c8283)[_0x30a5c2(_0x332f3b._0x481a9b,_0x332f3b._0x2804d9,_0x332f3b._0x142ebf,_0x332f3b._0x2f2905)]!==_0x3c8283[_0x30a5c2(0x356,_0x332f3b._0x1776ef,0x35d,0x437)])throw new ToolExecutionError(_0x2b7c3c(_0x332f3b._0x1e4d27,0x2b5,_0x332f3b._0x1edb54,0x198),{'error':'duplicate_todo_ids'});}function createStatsProgress(_0x26ebcd){const _0x22c113={_0x7350a8:0x1cd,_0xb31442:0x221,_0x1af375:0x168,_0x432495:0x10e,_0xf44fa9:0xfd,_0x2765d7:0x15a,_0x1b11ce:0x17b,_0x24f23b:0xad},_0x29ecc0={_0x584f94:0xff,_0x39e3a1:0xe1},_0x5b46e0={_0x240416:0x92};function _0x5cdcde(_0x568ed9,_0x50c63f,_0x2b80ba,_0x21c2ce){return _0x2fd7af(_0x50c63f-_0x5b46e0._0x240416,_0x50c63f-0x8d,_0x568ed9,_0x21c2ce-0x16c);}function _0x6cd5a6(_0x2c8b03,_0x2c0411,_0x38fdc4,_0xf6f7ae){return _0x2fd7af(_0x38fdc4-_0x29ecc0._0x584f94,_0x2c0411-0x4b,_0x2c0411,_0xf6f7ae-_0x29ecc0._0x39e3a1);}return _0x26ebcd[_0x6cd5a6(-_0x22c113._0x7350a8,0x90,-0xad,-0x1c)]>0x0?Math[_0x6cd5a6(0x10f,_0x22c113._0xb31442,_0x22c113._0x1af375,_0x22c113._0x432495)](_0x26ebcd[_0x5cdcde(-_0x22c113._0xf44fa9,-0xe,-0x129,-0xd9)]/_0x26ebcd[_0x6cd5a6(-_0x22c113._0x2765d7,-_0x22c113._0x1b11ce,-_0x22c113._0x24f23b,-0x118)]*0x64)+'%':'0%';}function createReminderItems(_0x4ef077){const _0x22ed2c={_0x48d581:0xde,_0x4503d7:0xd,_0x27609b:0x8e},_0xa9b608={_0x3791b9:0x63,_0x215ee8:0x8c,_0x5d4356:0x316};function _0x53dba6(_0x388447,_0x4322ec,_0xd1761a,_0x25a87e){return _0x2fd7af(_0x388447-0x1,_0x4322ec-0x4a,_0x4322ec,_0x25a87e-0x1d2);}function _0x517b47(_0x2e886b,_0x3180f1,_0x13ffbb,_0x5e240f){return _0x278b49(_0x2e886b-_0xa9b608._0x3791b9,_0x3180f1-_0xa9b608._0x215ee8,_0x5e240f-_0xa9b608._0x5d4356,_0x2e886b);}return _0x4ef077[_0x53dba6(-_0x22ed2c._0x48d581,_0x22ed2c._0x4503d7,-_0x22ed2c._0x27609b,-0x168)](_0x1346b6=>({'content':_0x1346b6[_0x517b47(0x2e3,0x188,0x115,0x1c4)],'status':_0x1346b6[_0x53dba6(-0x10d,-0x14c,-0x223,-0x180)],'id':_0x1346b6['id']}));}function createStructuredResult(_0x2e6339,_0x321044,_0x83f658,_0x342fe6){const _0x17afa1={_0x43e3d1:0x7f,_0x1210d0:0x128,_0x4a08b4:0xa3,_0x2bd3e9:0x18d},_0x550c01={_0x111eed:0x13c,_0x1b2e9a:0x11};function _0x4d41b4(_0x1f8f14,_0x3fc59b,_0x2f5e51,_0xfc0fcd){return _0x278b49(_0x1f8f14-0x1b7,_0x3fc59b-0x1cf,_0x2f5e51-0x1aa,_0x3fc59b);}function _0xe0db94(_0x4a1882,_0x101dee,_0xa8c50f,_0x4e6892){return _0x278b49(_0x4a1882-0x140,_0x101dee-_0x550c01._0x111eed,_0x4a1882-_0x550c01._0x1b2e9a,_0x101dee);}return{'allCompleted':_0x342fe6,'items':_0x321044[_0xe0db94(-_0x17afa1._0x43e3d1,0x25,-0x132,-0x17)](_0x3da4ec=>({'id':_0x3da4ec['id'],'content':_0x3da4ec[_0xe0db94(-0x141,-0x1e3,-0xe6,-0x1d2)],'status':_0x3da4ec['status'],'priority':_0x3da4ec[_0x4d41b4(0xa5,-0x89,0xa7,0x159)],'createdAt':_0x3da4ec['createdAt']})),'progress':createStatsProgress(_0x83f658),'recentChanges':!![],'sessionId':_0x2e6339,'stats':_0x83f658,'todosWritten':_0x321044[_0x4d41b4(_0x17afa1._0x1210d0,_0x17afa1._0x4a08b4,_0x17afa1._0x2bd3e9,0xdf)]};}function createOutputText(_0x273532,_0x1a186d){const _0x461d58={_0x4606c3:0x10c,_0xe30976:0x193,_0xad2d7a:0x182,_0x6442be:0x1f7,_0x53ab8d:0xd4,_0xb800cc:0x67,_0x2dcb07:0x2f5,_0x4589ab:0x471,_0x16dcfb:0x220,_0x538356:0x276,_0x5dbcb4:0x19d,_0x201347:0x30d,_0x444719:0x2c9,_0x134796:0x3cf,_0xd470a:0x3f8,_0x19621e:0x304,_0x33c621:0x39e},_0x532c31={_0x455b8e:0x293,_0x4ca231:0xff},_0xb69185={_0x413fb0:0x1a4};function _0x33ec3d(_0x3a0311,_0x3af27f,_0x1acda4,_0x14f1ff){return _0x2fd7af(_0x1acda4-0x5,_0x3af27f-0xee,_0x3af27f,_0x14f1ff-_0xb69185._0x413fb0);}function _0x225961(_0x3f9fe6,_0xb544f9,_0x3282c8,_0x458864){return _0x2fd7af(_0x3f9fe6-_0x532c31._0x455b8e,_0xb544f9-0x1c,_0xb544f9,_0x458864-_0x532c31._0x4ca231);}const _0x338dd9=JSON[_0x225961(_0x461d58._0x4606c3,0x10e,_0x461d58._0xe30976,_0x461d58._0xad2d7a)](createReminderItems(_0x273532));if(_0x1a186d)return _0x33ec3d(0xec,_0x461d58._0x6442be,_0x461d58._0x53ab8d,0x60)+_0x273532[_0x33ec3d(-0x15c,0x39,-_0x461d58._0xb800cc,-0x22)]+_0x225961(0x332,_0x461d58._0x2dcb07,_0x461d58._0x4589ab,_0x461d58._0x16dcfb)+_0x338dd9+_0x225961(_0x461d58._0x538356,0x19f,_0x461d58._0x5dbcb4,_0x461d58._0x201347);return _0x225961(_0x461d58._0x444719,_0x461d58._0x134796,_0x461d58._0xd470a,0x1cc)+_0x338dd9+_0x225961(0x276,0x239,_0x461d58._0x19621e,_0x461d58._0x33c621);}function createTodoWriteTool(_0x43ba9c=new TodoStore()){const _0x3ea702={_0x298294:0x18a,_0x2612c8:0x4b3,_0x4a10a9:0x582,_0x52e193:0x4da,_0xd6a127:0x4a9,_0x913a95:0x4ac,_0x5535ef:0x417,_0x4b951f:0x32c,_0x27ceb5:0x19a,_0x477177:0x233,_0x2bfc09:0x1e1,_0x43b7d4:0x253,_0x19bee1:0x1ba,_0x2e73f2:0x2a7,_0xfdc619:0x33b,_0x160dfa:0x27b,_0x2597ad:0x338,_0xa97ed5:0x1d8,_0x4819be:0x29f,_0x34fe9a:0x1b5},_0x409220={_0x439526:0x58f,_0x44c5c4:0x6a9,_0x5221f8:0x6aa,_0x63da3a:0x504,_0x4e5d5f:0x5d0,_0xce8b4b:0x545,_0x43cbfb:0x70e,_0x36739e:0x577},_0x3d5c36={_0x21406:0x9d},_0x35cd10={_0x1c8cd4:0xa1,_0x2d7e26:0x5},_0x17c515={_0x595f3b:0x3ad,_0x4aa1bb:0xd8};function _0x386f18(_0x7fcb58,_0x3ec9c5,_0x229d2a,_0xc03bfa){return _0x2fd7af(_0xc03bfa-_0x17c515._0x595f3b,_0x3ec9c5-_0x17c515._0x4aa1bb,_0x3ec9c5,_0xc03bfa-0x1ac);}function _0x42ed7c(_0x56289a,_0x26a633,_0x48c6f5,_0x70e3c){return _0x2fd7af(_0x56289a-0x495,_0x26a633-_0x35cd10._0x1c8cd4,_0x48c6f5,_0x70e3c-_0x35cd10._0x2d7e26);}return defineTool({'name':_0x42ed7c(0x3a8,0x47b,0x287,0x286),'description':_0x386f18(_0x3ea702._0x298294,0x3f0,0x33d,0x2c7),'inputSchema':{'type':_0x42ed7c(_0x3ea702._0x2612c8,0x47f,_0x3ea702._0x4a10a9,_0x3ea702._0x52e193),'properties':{'todos':{'type':_0x42ed7c(_0x3ea702._0xd6a127,0x538,_0x3ea702._0x913a95,_0x3ea702._0x5535ef),'items':{'type':'object','properties':{'content':{'type':_0x386f18(0x1aa,_0x3ea702._0x4b951f,_0x3ea702._0x27ceb5,0x253)},'status':{'type':_0x386f18(_0x3ea702._0x477177,_0x3ea702._0x2bfc09,0x1e1,_0x3ea702._0x43b7d4)},'priority':{'type':_0x386f18(_0x3ea702._0x19bee1,_0x3ea702._0x2e73f2,0x224,0x253)},'id':{'type':'string'},'createdAt':{'type':_0x42ed7c(_0x3ea702._0xfdc619,0x247,_0x3ea702._0x160dfa,_0x3ea702._0x2597ad)}},'required':['content',_0x386f18(_0x3ea702._0x298294,_0x3ea702._0xa97ed5,0x19e,_0x3ea702._0x4819be),'priority','id']}}},'required':[_0x386f18(_0x3ea702._0x34fe9a,0x1b2,0x334,0x1fb)]},async *'execute'(_0x4edaad,_0x564ae8){const _0x39d951={_0x12ffb1:0x376},_0x1c7c62=_0x4edaad;validateTodos(_0x1c7c62);const _0x3386d1=_0x564ae8['sessionId']||'default',_0x4d72fb=new Date()[_0x254171(0x681,_0x409220._0x439526,_0x409220._0x44c5c4,_0x409220._0x5221f8)](),_0x2aa59e=_0x1c7c62['todos']['map'](_0x2e6c39=>({'id':_0x2e6c39['id'],'content':_0x2e6c39['content'],'status':_0x2e6c39['status'],'priority':_0x2e6c39['priority'],'sessionId':_0x3386d1,'createdAt':_0x2e6c39['createdAt']||_0x4d72fb,'updatedAt':_0x4d72fb}));function _0xfd7156(_0x163dc1,_0x3c5cab,_0x11006c,_0x38ae32){return _0x42ed7c(_0x11006c- -_0x39d951._0x12ffb1,_0x3c5cab-0x2,_0x38ae32,_0x38ae32-0x107);}function _0x254171(_0x39e1a1,_0x3d6776,_0x500a63,_0x5c2838){return _0x386f18(_0x39e1a1-_0x3d5c36._0x21406,_0x3d6776,_0x500a63-0xe1,_0x500a63-0x370);}_0x43ba9c[_0x254171(_0x409220._0x63da3a,_0x409220._0x4e5d5f,0x5a1,0x55b)](_0x3386d1,_0x2aa59e);const _0x56ffdf=_0x43ba9c['getStats'](_0x3386d1),_0x374e0e=_0x2aa59e['length']>0x0&&_0x2aa59e[_0x254171(_0x409220._0xce8b4b,_0x409220._0x43cbfb,0x683,_0x409220._0x36739e)](_0xb8bf5c=>_0xb8bf5c[_0x254171(0x64d,0x643,0x60f,0x672)]===_0x254171(0x5a2,0x60d,0x67d,0x677));return createToolOutput(createOutputText(_0x2aa59e,_0x374e0e),createStructuredResult(_0x3386d1,_0x2aa59e,_0x56ffdf,_0x374e0e));}});}import{mkdir as _0x2a006e,writeFile as _0x3dc82c}from'fs/promises';import*as _0x4e6987 from'path';function sanitizeFileName(_0x2bc146){const _0x137618={_0x2a6032:0x1c,_0x62ec13:0x2e},_0x5eca3b={_0x52177b:0x1a1,_0x58cf23:0x1d};function _0x245f0f(_0x20c401,_0x1414b4,_0x3b2885,_0x2e0081){return _0x278b49(_0x20c401-_0x5eca3b._0x52177b,_0x1414b4-_0x5eca3b._0x58cf23,_0x3b2885-0x9,_0x2e0081);}return _0x2bc146[_0x245f0f(-_0x137618._0x2a6032,-_0x137618._0x62ec13,-0x15e,-0x147)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x132063,_0x5234ec){const _0x13db8f={_0x3b1c55:0x441,_0x4131be:0x2d2,_0x5d44b3:0x37f,_0x2d7041:0x40c,_0x3cc51e:0x546,_0x38ebc9:0x4b4,_0x46962a:0x51d,_0x134a54:0x490,_0xb4d605:0x3f2,_0x579517:0x398,_0x26dfac:0x649,_0x5aa9ba:0x610,_0x46a85d:0x6c3,_0x9cc904:0x5a1,_0xa6ef89:0x472,_0x3b30e3:0x3e5,_0x35766f:0x4d3,_0x146058:0x39c,_0x217e67:0x463,_0x40eb12:0x488,_0x1b7e99:0x32a,_0x2a7a5f:0x2ed,_0x1106ef:0x4db,_0x2b6a64:0x420,_0x4daef6:0x313,_0x289b30:0x512,_0xe055e7:0x48c,_0x497c66:0x566,_0x3a8a67:0x4de,_0x433ba8:0x3f7,_0x3de75e:0x398,_0x28d3e9:0x3c2,_0x23c9e3:0x3bb,_0x3271a8:0x44b,_0x17b788:0x59b,_0xe35757:0x3c7,_0x360df3:0x475,_0x44af0a:0x4f6,_0x1a3354:0x4d5,_0x451ac3:0x3a2,_0x2a544e:0x5a6,_0x3ec924:0x498,_0x3bd22a:0x51c,_0x1cf649:0x4f8,_0x1e7364:0x494,_0x533db8:0x39c},_0x87f4c9={_0x5cc380:0x161,_0x4327b7:0x65},_0x5b8558={_0x5684a7:0x17f},{maxBytes:_0x197630,sessionDir:_0x27ee2c}=_0x5234ec;if(!_0x132063['output']||Buffer[_0x1fd891(_0x13db8f._0x3b1c55,_0x13db8f._0x4131be,0x44f,_0x13db8f._0x5d44b3)](_0x132063['output'],_0x2aae66(0x401,0x39a,0x55f,0x4d7))<=_0x197630)return _0x132063;function _0x1fd891(_0x2a637d,_0x1b2036,_0x40f8bf,_0x31daf4){return _0x278b49(_0x2a637d-_0x5b8558._0x5684a7,_0x1b2036-0x1e2,_0x31daf4-0x48b,_0x2a637d);}const _0x4ebd0a=Buffer[_0x1fd891(0x2e0,_0x13db8f._0x2d7041,0x40b,0x37f)](_0x132063['output'],_0x2aae66(_0x13db8f._0x3cc51e,0x597,0x558,0x4d7));if(!_0x27ee2c){const _0x895658=_0x132063['output'][_0x1fd891(0x3a6,_0x13db8f._0x38ebc9,_0x13db8f._0x46962a,_0x13db8f._0x134a54)](0x0,_0x197630);return{..._0x132063,'output':_0x895658+('\x0a\x0a<system-reminder>\x0aTool\x20output\x20was\x20truncated\x20at\x20'+_0x197630+_0x1fd891(0x4ce,_0x13db8f._0xb4d605,0x2e5,_0x13db8f._0x579517)+_0x4ebd0a+_0x2aae66(_0x13db8f._0x26dfac,_0x13db8f._0x5aa9ba,_0x13db8f._0x46a85d,_0x13db8f._0x9cc904)),'meta':{..._0x132063[_0x1fd891(0x370,0x404,0x36d,_0x13db8f._0xa6ef89)],'truncated':!![],'originalBytes':_0x4ebd0a,'transforms':[..._0x132063[_0x2aae66(_0x13db8f._0x3b30e3,0x5ef,0x563,_0x13db8f._0x35766f)][_0x2aae66(0x5ac,_0x13db8f._0x146058,_0x13db8f._0x217e67,_0x13db8f._0x40eb12)],_0x2aae66(_0x13db8f._0x1b7e99,0x3fb,0x4ad,0x40e)]}};}const _0x40c7fe=_0x132063[_0x2aae66(_0x13db8f._0x2a7a5f,_0x13db8f._0x1106ef,0x4f0,_0x13db8f._0x2b6a64)]+'_'+sanitizeFileName(_0x132063[_0x1fd891(0x457,_0x13db8f._0x4daef6,0x2dd,0x3b8)])+_0x2aae66(_0x13db8f._0x289b30,0x4f2,0x3fc,_0x13db8f._0xe055e7),_0xed339b=_0x4e6987[_0x2aae66(0x402,0x4a0,_0x13db8f._0x497c66,_0x13db8f._0x3a8a67)](_0x27ee2c,_0x40c7fe);await _0x2a006e(_0x27ee2c,{'recursive':!![]});function _0x2aae66(_0x1b7223,_0x8fb52b,_0x497d4b,_0x335e42){return _0x278b49(_0x1b7223-_0x87f4c9._0x5cc380,_0x8fb52b-_0x87f4c9._0x4327b7,_0x335e42-0x4ec,_0x1b7223);}await _0x3dc82c(_0xed339b,_0x132063[_0x1fd891(0x590,0x31f,_0x13db8f._0x433ba8,0x44b)],_0x2aae66(_0x13db8f._0x3de75e,0x52e,_0x13db8f._0x28d3e9,0x4d7));let _0x4d78a8=_0x132063[_0x1fd891(0x335,_0x13db8f._0x23c9e3,0x4b6,_0x13db8f._0x3271a8)]['slice'](0x0,_0x197630);const _0x12aeef=_0x4d78a8['lastIndexOf']('\x0a');_0x12aeef>_0x197630*0.5&&(_0x4d78a8=_0x4d78a8[_0x2aae66(0x535,_0x13db8f._0x17b788,_0x13db8f._0x433ba8,0x4f1)](0x0,_0x12aeef));const _0x4d4a61=['','<system-reminder>',_0x1fd891(_0x13db8f._0xe35757,0x37a,0x53e,_0x13db8f._0x360df3)+_0x197630+'\x20bytes\x20(total:\x20'+_0x4ebd0a+_0x1fd891(_0x13db8f._0x44af0a,0x40e,0x33f,0x437),'Full\x20output\x20saved\x20to:\x20'+_0xed339b,_0x2aae66(0x347,_0x13db8f._0x1a3354,_0x13db8f._0x451ac3,0x3c0),_0x1fd891(_0x13db8f._0x2a544e,0x5bb,_0x13db8f._0x3ec924,_0x13db8f._0x3bd22a)][_0x2aae66(_0x13db8f._0x1cf649,0x4b7,0x3a8,0x4de)]('\x0a');return{..._0x132063,'output':_0x4d78a8+_0x4d4a61,'meta':{..._0x132063[_0x1fd891(0x5a2,_0x13db8f._0x3b1c55,_0x13db8f._0x1e7364,0x472)],'truncated':!![],'originalBytes':_0x4ebd0a,'transforms':[..._0x132063['meta']['transforms'],_0x1fd891(_0x13db8f._0x533db8,0x427,0x39f,0x3ad)]}};}import{readFile as _0x1cbb23,stat as _0x1db3a5}from'fs/promises';import*as _0x46364f from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x278b49(0x37,-0xa0,-0x82,0x82),_0x2fd7af(-0x25,0xab,-0xac,-0xee),_0x278b49(-0x1f,-0x1cc,-0x122,-0x1ef),_0x2fd7af(-0x49,0x8f,-0xfa,-0x18d)]),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x341538,_0x260adc){const _0x472236={_0x2889ce:0x1d8,_0x470b45:0x2f7,_0x57af0b:0x2a4,_0x46ffbc:0x5ff,_0x54755d:0x442,_0x4f3744:0xd9,_0x4c421a:0x30b,_0x591a2a:0x2d7,_0x3ffe7b:0x229,_0x67a0e8:0x202,_0x3e3e53:0x57f,_0x477834:0x145,_0x1dbd54:0x32e,_0x303aa8:0x472,_0x253192:0x415,_0x30a648:0x2fd,_0x12036f:0x4dc,_0x1c1e61:0x540,_0x442528:0x57f,_0x1ad972:0x606,_0x4b9b40:0x46a,_0x250960:0x4b6,_0x43c02f:0x58b,_0x577428:0x427,_0x4cc46d:0x411,_0x1bde01:0x5dd,_0x24f65f:0x34b,_0x3f11b0:0x2b3,_0x466af7:0x1b0,_0x3f0643:0x48f,_0x5a8b5e:0x35d,_0x4a8090:0x3ba,_0x1da7a5:0x2d9,_0x178581:0x336,_0x3bd36d:0x2ca,_0xe90238:0x358,_0x35eeb6:0x24e,_0x4736ff:0x245,_0x2a2cce:0x2db,_0x10a036:0x46e,_0x2a7c67:0x637},_0x19313b={_0x289a6b:0x16b},_0x4f60db={_0x4ce7ca:0x55,_0x2e74b7:0x84};if(_0x341538[_0x4cb2a3(0x392,0x439,0x506,0x37d)](0x0,0x8)[_0x2a8a23(_0x472236._0x2889ce,_0x472236._0x470b45,_0x472236._0x57af0b,0x202)](PNG_SIGNATURE))return'image/png';if(_0x341538[0x0]===0xff&&_0x341538[0x1]===0xd8&&_0x341538[0x2]===0xff)return _0x4cb2a3(_0x472236._0x46ffbc,0x517,_0x472236._0x54755d,0x4a4);const _0x414249=_0x341538[_0x2a8a23(0x223,0x1ec,_0x472236._0x4f3744,_0x472236._0x4c421a)](0x0,0x6)[_0x2a8a23(_0x472236._0x591a2a,0x28f,_0x472236._0x3ffe7b,_0x472236._0x67a0e8)](_0x4cb2a3(0x4e5,_0x472236._0x3e3e53,0x637,0x5f8));if(_0x414249===_0x2a8a23(0x247,0x214,0x103,_0x472236._0x477834)||_0x414249==='GIF89a')return _0x2a8a23(0x377,0x3fa,0x34d,0x333);function _0x2a8a23(_0x21690c,_0x12b77f,_0x4df123,_0x19078c){return _0x2fd7af(_0x12b77f-0x344,_0x12b77f-_0x4f60db._0x4ce7ca,_0x21690c,_0x19078c-_0x4f60db._0x2e74b7);}if(_0x341538[_0x4cb2a3(_0x472236._0x1dbd54,0x439,0x40f,0x331)](0x0,0x4)['toString']('ascii')===_0x2a8a23(_0x472236._0x303aa8,_0x472236._0x253192,0x43b,0x429)&&_0x341538[_0x2a8a23(0x14a,0x1ec,_0x472236._0x30a648,0xff)](0x8,0xc)[_0x4cb2a3(0x514,_0x472236._0x12036f,0x5d5,_0x472236._0x1c1e61)](_0x4cb2a3(0x5c7,_0x472236._0x442528,0x52c,_0x472236._0x1ad972))==='WEBP')return _0x4cb2a3(_0x472236._0x4b9b40,0x58f,0x48a,_0x472236._0x250960);const _0x55105e=_0x46364f[_0x4cb2a3(0x573,0x4c1,_0x472236._0x43c02f,0x3a8)](_0x260adc)[_0x2a8a23(_0x472236._0x577428,0x3cd,0x2e3,_0x472236._0x4cc46d)]();if(_0x55105e===_0x4cb2a3(_0x472236._0x1bde01,0x626,0x6d3,0x6fa))return _0x2a8a23(_0x472236._0x24f65f,_0x472236._0x3f11b0,_0x472236._0x466af7,0x196);if(_0x55105e===_0x4cb2a3(0x571,0x48a,_0x472236._0x3f0643,_0x472236._0x5a8b5e)||_0x55105e===_0x2a8a23(0x2ed,_0x472236._0x4a8090,_0x472236._0x1da7a5,_0x472236._0x178581))return _0x2a8a23(0x380,_0x472236._0x3bd36d,_0x472236._0xe90238,_0x472236._0x35eeb6);function _0x4cb2a3(_0x5cb28b,_0x5780ca,_0x36fcc2,_0x4d260d){return _0x278b49(_0x5cb28b-0x1aa,_0x5780ca-_0x19313b._0x289a6b,_0x5780ca-0x542,_0x4d260d);}if(_0x55105e===_0x2a8a23(0x262,_0x472236._0x4736ff,0x2c7,0x18e))return'image/gif';if(_0x55105e===_0x2a8a23(0x260,0x32e,_0x472236._0x2a2cce,0x25b))return _0x4cb2a3(_0x472236._0x10a036,0x58f,0x483,_0x472236._0x2a7c67);return void 0x0;}function _0x16a6(_0x4f77fa,_0x2ed78e){_0x4f77fa=_0x4f77fa-0x17a;const _0x18c5ed=_0x18c5();let _0x16a619=_0x18c5ed[_0x4f77fa];if(_0x16a6['OKzcQM']===undefined){var _0x4aac96=function(_0xf7f819){const _0xa5f78b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1bcfec='',_0x5ae30a='';for(let _0x3d9279=0x0,_0x4b0f89,_0x44e1e2,_0x4d3a21=0x0;_0x44e1e2=_0xf7f819['charAt'](_0x4d3a21++);~_0x44e1e2&&(_0x4b0f89=_0x3d9279%0x4?_0x4b0f89*0x40+_0x44e1e2:_0x44e1e2,_0x3d9279++%0x4)?_0x1bcfec+=String['fromCharCode'](0xff&_0x4b0f89>>(-0x2*_0x3d9279&0x6)):0x0){_0x44e1e2=_0xa5f78b['indexOf'](_0x44e1e2);}for(let _0x29ac84=0x0,_0x35ce3c=_0x1bcfec['length'];_0x29ac84<_0x35ce3c;_0x29ac84++){_0x5ae30a+='%'+('00'+_0x1bcfec['charCodeAt'](_0x29ac84)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5ae30a);};_0x16a6['stXqeL']=_0x4aac96,_0x16a6['EJHSbd']={},_0x16a6['OKzcQM']=!![];}const _0x3900c3=_0x18c5ed[0x0],_0x5251c1=_0x4f77fa+_0x3900c3,_0x155d81=_0x16a6['EJHSbd'][_0x5251c1];return!_0x155d81?(_0x16a619=_0x16a6['stXqeL'](_0x16a619),_0x16a6['EJHSbd'][_0x5251c1]=_0x16a619):_0x16a619=_0x155d81,_0x16a619;}function normalizeDetail(_0x140b23){const _0x23ba00={_0x419151:0x762,_0x283148:0x6e0,_0x3e341c:0x7c7,_0x5bc14b:0x647,_0x39e48b:0x764},_0xac985d={_0x29f818:0x1a5,_0x5137b8:0x1d5},_0x559b19={_0x5e4d94:0x674};function _0x141fd7(_0x2af3db,_0x578069,_0x5b4afe,_0x633513){return _0x278b49(_0x2af3db-0x189,_0x578069-0x100,_0x578069-_0x559b19._0x5e4d94,_0x2af3db);}function _0x39a1f7(_0x1075e2,_0x4487a7,_0x4f2355,_0x1da5ea){return _0x2fd7af(_0x4487a7-0x657,_0x4487a7-_0xac985d._0x29f818,_0x4f2355,_0x1da5ea-_0xac985d._0x5137b8);}if(_0x140b23===void 0x0)return void 0x0;const _0x27e734=_0x140b23['trim']()[_0x39a1f7(_0x23ba00._0x419151,_0x23ba00._0x283148,_0x23ba00._0x3e341c,0x6fe)]();if(!SUPPORTED_DETAILS[_0x141fd7(0x631,_0x23ba00._0x5bc14b,_0x23ba00._0x39e48b,0x78b)](_0x27e734))throw new ToolExecutionError('Unsupported\x20image\x20detail\x20level:\x20'+_0x140b23,{'detail':_0x140b23});return _0x27e734;}function createViewFileTool(_0x8452dc={}){const _0x5b0072={_0x3cefbb:0x745,_0x4baa98:0x633,_0x4dc419:0x70e,_0x35488f:0x5f4,_0x15bcc0:0x5a9,_0x3a0a0a:0x71a,_0x128ccb:0x794,_0x523e85:0x3cd,_0x1c4993:0x47c,_0x52e1ca:0x410,_0x44dacd:0x44d,_0x917549:0x513,_0x236dfa:0x583,_0x48b7b3:0x50d,_0x4337a4:0x2d1,_0x5cd206:0x453,_0x105420:0x28f,_0x458b97:0x495,_0x254165:0x395,_0xaf4bd9:0x4dc,_0x151149:0x5dd,_0x3ecfd4:0x6da},_0x105d2a={_0x354713:0xf3,_0x138958:0x7f,_0x1c2b2e:0xe2,_0x5b2f7a:0x144,_0x1d1b95:0xae,_0x1cb65f:0x7b8,_0xc59e60:0x7ca,_0x3507c2:0x743,_0x3688e0:0x16b,_0x518de8:0x83,_0x37cb94:0x221,_0x24e5d2:0x1c4,_0x4ee6d7:0x95,_0x3f8787:0x665,_0x212559:0x5f4,_0x449168:0x4d0,_0x301516:0x51a,_0x2b416f:0x6d1,_0xbb117e:0x72c,_0x2e8641:0x788,_0x5c3d6b:0x525,_0x2f1829:0x5af,_0x4e09be:0x575,_0x5cf49a:0x6f0,_0x2f777c:0x5c2,_0x3d3aec:0x769,_0x51f1a5:0x7ae,_0x55ad2f:0x72f,_0x5c24b1:0x1bc,_0x3060c1:0x99,_0x2ff484:0x68a,_0x2357c2:0x579,_0x15212f:0x79d,_0x33c9be:0x85c,_0x4291c2:0x7aa,_0x54022d:0x67e,_0x56d7c0:0x814,_0x150cc7:0x8a5,_0x3e3d3e:0x198,_0x28cab8:0x2c0,_0x3eb354:0xb7,_0x117465:0x4e,_0x2f690f:0x139,_0x154a66:0x6be,_0x5707c4:0x64e,_0x5e7fea:0x5ca,_0x53377f:0x185,_0x2c7c2f:0x24f,_0x131277:0xad,_0x4115aa:0x86,_0x33fd82:0x4e1,_0x5f1fd2:0x507,_0x1b5798:0x602,_0x59b2df:0x4e,_0x51b358:0x14,_0x1b9d15:0x3a},_0x3c692c={_0x56fcf7:0x1b0,_0x2737cf:0x8a,_0x5a84fd:0x179},_0x460828={_0x554f06:0x669,_0x5ee7aa:0x191,_0x34912e:0x12},_0x34122c={_0x367526:0x146,_0x3bcb21:0x4a0},_0x51a4fb=_0x46364f[_0x197ce2(_0x5b0072._0x3cefbb,_0x5b0072._0x4baa98,_0x5b0072._0x4dc419,_0x5b0072._0x35488f)](_0x8452dc[_0x197ce2(_0x5b0072._0x15bcc0,0x624,0x6bc,_0x5b0072._0x3a0a0a)]??process['cwd']()),_0x167bb9=(_0x8452dc[_0x197ce2(0x6ec,0x7a5,0x6dc,_0x5b0072._0x128ccb)]??[])[_0x3f9b72(_0x5b0072._0x523e85,_0x5b0072._0x1c4993,_0x5b0072._0x52e1ca,0x2cf)](_0x41a98e=>_0x46364f[_0x197ce2(0x68d,0x69b,0x70e,0x825)](_0x41a98e)),_0xbee93b=_0x8452dc['maxBytes']??DEFAULT_MAX_BYTES,_0x2c9960=_0x8452dc[_0x197ce2(0x5c7,_0x5b0072._0x44dacd,_0x5b0072._0x917549,_0x5b0072._0x236dfa)]??'ViewFile';function _0x3f9b72(_0x444baa,_0x3d5a92,_0x23fcad,_0x3acc90){return _0x278b49(_0x444baa-_0x34122c._0x367526,_0x3d5a92-0x14b,_0x23fcad-_0x34122c._0x3bcb21,_0x444baa);}function _0x197ce2(_0x1b99f1,_0x3e972c,_0x2515a6,_0xe32c85){return _0x2fd7af(_0x2515a6-_0x460828._0x554f06,_0x3e972c-_0x460828._0x5ee7aa,_0x3e972c,_0xe32c85-_0x460828._0x34912e);}return defineTool({'name':_0x2c9960,'description':_0x197ce2(0x668,0x451,0x53b,0x48b),'inputSchema':{'type':_0x3f9b72(0x553,0x554,_0x5b0072._0x48b7b3,0x511),'properties':{'path':{'type':_0x3f9b72(_0x5b0072._0x4337a4,0x473,0x395,_0x5b0072._0x5cd206)},'detail':{'type':_0x3f9b72(_0x5b0072._0x105420,_0x5b0072._0x458b97,_0x5b0072._0x254165,_0x5b0072._0xaf4bd9)}},'required':[_0x197ce2(_0x5b0072._0x151149,0x608,0x5db,_0x5b0072._0x3ecfd4)]},async *'execute'(_0x5cbb86){const _0x1a11d7={_0x4a2a6:0x2f6,_0x529bcd:0x86};function _0x3d13c9(_0x22d921,_0x3219a2,_0x5aac44,_0x1ede68){return _0x197ce2(_0x22d921-_0x3c692c._0x56fcf7,_0x3219a2,_0x5aac44-_0x3c692c._0x2737cf,_0x1ede68-_0x3c692c._0x5a84fd);}function _0x4faeca(_0xbe9444,_0x550c8f,_0x32495d,_0x45c9af){return _0x3f9b72(_0x32495d,_0x550c8f-0xf6,_0xbe9444- -_0x1a11d7._0x4a2a6,_0x45c9af-_0x1a11d7._0x529bcd);}const _0x396d43=resolveAllowedPath(_0x51a4fb,_0x167bb9,_0x5cbb86[_0x4faeca(0x16b,0x21a,0x8a,_0x105d2a._0x354713)]);await assertWorkspaceFile(_0x396d43);const _0x300902=await _0x1db3a5(_0x396d43);if(_0x300902[_0x4faeca(_0x105d2a._0x138958,_0x105d2a._0x1c2b2e,_0x105d2a._0x5b2f7a,-_0x105d2a._0x1d1b95)]>_0xbee93b)throw new ToolExecutionError(_0x3d13c9(0x85f,0x819,_0x105d2a._0x1cb65f,_0x105d2a._0xc59e60)+_0x5cbb86[_0x3d13c9(0x667,0x552,0x665,_0x105d2a._0x3507c2)],{'path':_0x5cbb86[_0x4faeca(_0x105d2a._0x3688e0,_0x105d2a._0x518de8,_0x105d2a._0x37cb94,_0x105d2a._0x24e5d2)],'maxBytes':_0xbee93b,'size':_0x300902[_0x4faeca(_0x105d2a._0x138958,-0xca,-_0x105d2a._0x4ee6d7,0x34)]});const _0x6a739e=await _0x1cbb23(_0x396d43),_0x4e5497=detectImageMediaType(_0x6a739e,_0x396d43);if(!_0x4e5497)throw new ToolExecutionError('Unsupported\x20image\x20file:\x20'+_0x5cbb86[_0x3d13c9(0x759,0x6ff,_0x105d2a._0x3f8787,0x528)],{'path':_0x5cbb86['path'],'supported':[_0x3d13c9(0x655,0x529,_0x105d2a._0x212559,_0x105d2a._0x449168),'.jpeg',_0x3d13c9(_0x105d2a._0x301516,0x565,0x5ec,_0x105d2a._0x2b416f),_0x3d13c9(_0x105d2a._0xbb117e,0x788,_0x105d2a._0x2e8641,0x8b5),'.webp']});const _0x2c03c9=normalizeDetail(_0x5cbb86[_0x3d13c9(0x64a,_0x105d2a._0x5c3d6b,_0x105d2a._0x2f1829,0x665)]),_0x3d3b29=[_0x3d13c9(0x694,0x531,_0x105d2a._0x4e09be,0x4ca)+_0x5cbb86[_0x3d13c9(_0x105d2a._0x5cf49a,_0x105d2a._0x2f777c,_0x105d2a._0x3f8787,_0x105d2a._0x3d3aec)],_0x3d13c9(0x7e3,_0x105d2a._0x51f1a5,_0x105d2a._0x55ad2f,0x6dd)+_0x4e5497,_0x4faeca(0xf8,_0x105d2a._0x5c24b1,0x1dc,_0x105d2a._0x3060c1)+_0x300902[_0x3d13c9(0x683,_0x105d2a._0x2ff484,_0x105d2a._0x2357c2,0x448)]+_0x3d13c9(_0x105d2a._0x15212f,_0x105d2a._0x33c9be,_0x105d2a._0x4291c2,_0x105d2a._0x54022d)][_0x3d13c9(_0x105d2a._0x56d7c0,0x6fb,0x76e,_0x105d2a._0x150cc7)](_0x2c03c9?['Detail:\x20'+_0x2c03c9]:[])['join']('\x0a'),_0x29421e=[{'type':_0x4faeca(_0x105d2a._0x3e3d3e,_0x105d2a._0x28cab8,_0x105d2a._0x3eb354,0x151),'source':{'type':_0x4faeca(_0x105d2a._0x117465,0x171,-0x7a,0x119),'media_type':_0x4e5497,'data':_0x6a739e['toString'](_0x4faeca(0x4e,-0x97,0xf4,_0x105d2a._0x2f690f))}},{'type':'text','text':_0x3d3b29}];return yield createToolOutput(_0x3d3b29,{'path':_0x5cbb86['path'],'resolvedPath':_0x396d43,'created':_0x300902[_0x3d13c9(0x767,_0x105d2a._0x154a66,_0x105d2a._0x5707c4,_0x105d2a._0x5e7fea)][_0x4faeca(_0x105d2a._0x53377f,_0x105d2a._0x2c7c2f,_0x105d2a._0x131277,_0x105d2a._0x4115aa)](),'modified':_0x300902[_0x3d13c9(_0x105d2a._0x33fd82,_0x105d2a._0x5f1fd2,_0x105d2a._0x1b5798,0x743)]['toISOString'](),'size':_0x300902['size'],'mimeType':_0x4e5497,'encoding':_0x4faeca(_0x105d2a._0x59b2df,0x138,-_0x105d2a._0x51b358,-_0x105d2a._0x1b9d15),..._0x2c03c9?{'detail':_0x2c03c9}:{}},_0x29421e),void 0x0;}});}import _0x51b446 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(_0x26709f){const _0x4ab9c1={_0x2a30b4:0x6b7,_0x3bf6ef:0x1f0,_0xd0081e:0x80c,_0x2e78cc:0x205,_0x2cdaa7:0x236,_0x196991:0xab,_0x946e97:0x8b,_0x1ae0fd:0x639,_0x5ea732:0x605,_0x2a0fb2:0x79a,_0x579488:0x6db},_0x1b62fd={_0x459f4b:0x16e,_0x1dafef:0xf8,_0x543708:0x63c},_0xa0ac83={_0x363a7f:0x17c};let _0x236286;try{_0x236286=new URL(_0x26709f);}catch{throw new ToolExecutionError(_0x5dbe23(0x736,0x683,0x5c0,_0x4ab9c1._0x2a30b4),{'url':_0x26709f});}if(_0x236286[_0x5dbe23(0x739,0x677,0x79b,0x6db)]!=='http:'&&_0x236286[_0x4fd237(0xb6,0x249,0x113,_0x4ab9c1._0x3bf6ef)]!==_0x5dbe23(0x7fe,_0x4ab9c1._0xd0081e,0x5fc,0x6d4))throw new ToolExecutionError(_0x4fd237(_0x4ab9c1._0x2e78cc,0x200,0x328,_0x4ab9c1._0x2cdaa7),{'url':_0x26709f});function _0x4fd237(_0x82f0cf,_0xc8f586,_0x5a81c9,_0x53c960){return _0x278b49(_0x82f0cf-0x86,_0xc8f586-_0xa0ac83._0x363a7f,_0x53c960-0x151,_0x82f0cf);}function _0x5dbe23(_0x5ce29f,_0x275023,_0x2a5f86,_0x2a2026){return _0x278b49(_0x5ce29f-_0x1b62fd._0x459f4b,_0x275023-_0x1b62fd._0x1dafef,_0x2a2026-_0x1b62fd._0x543708,_0x2a5f86);}if(_0x236286[_0x4fd237(0x2a,0x1c7,_0x4ab9c1._0x196991,_0x4ab9c1._0x946e97)]||_0x236286['password'])throw new ToolExecutionError('URLs\x20must\x20not\x20include\x20usernames\x20or\x20passwords',{'url':_0x236286[_0x5dbe23(_0x4ab9c1._0x1ae0fd,_0x4ab9c1._0x5ea732,_0x4ab9c1._0x2a0fb2,_0x4ab9c1._0x579488)]+'//'+_0x236286['host']+_0x236286['pathname']});return _0x236286;}function createTimeoutSignal(_0x160537,_0x41d80a){const _0x1a4f0e={_0x5d18e5:0x15,_0x467b37:0x127,_0x4400aa:0x10a,_0x259001:0x449,_0x578c8e:0x706,_0x13cc04:0x608},_0x2699e8={_0x18079a:0xad,_0x159e3a:0x7b,_0xd65f38:0x111,_0x4db090:0x1e7,_0x10962f:0x4d},_0xc7406d={_0x17bbe9:0x10b,_0x1e7165:0x19f},_0x29ae51={_0x2d76a6:0x13a};function _0x4d5fac(_0x32e795,_0x15bc5a,_0x104620,_0x7da33f){return _0x2fd7af(_0x7da33f-0x677,_0x15bc5a-_0x29ae51._0x2d76a6,_0x15bc5a,_0x7da33f-0x15a);}const _0x59e9a3=new AbortController(),_0x179b30=setTimeout(()=>_0x59e9a3[_0x4b5e73(-0x67,-0x127,-0x13,-0xed)](new Error('Fetch\x20timed\x20out')),_0x41d80a);function _0x4b5e73(_0x3f233d,_0xe60dcf,_0x2c53b4,_0x349a11){return _0x278b49(_0x3f233d-_0xc7406d._0x17bbe9,_0xe60dcf-_0xc7406d._0x1e7165,_0xe60dcf- -0xc5,_0x2c53b4);}const _0x4b796d=()=>_0x59e9a3[_0x4d5fac(0x5bb,0x5b0,0x551,0x5c6)](_0x160537[_0x4b5e73(-0x12e,-0x227,-0x1fa,-0x108)]);return _0x160537['aborted']?_0x59e9a3[_0x4b5e73(_0x1a4f0e._0x5d18e5,-_0x1a4f0e._0x467b37,-0x11c,-_0x1a4f0e._0x4400aa)](_0x160537[_0x4d5fac(0x5c3,_0x1a4f0e._0x259001,0x3aa,0x4c6)]):_0x160537['addEventListener'](_0x4d5fac(0x637,_0x1a4f0e._0x578c8e,_0x1a4f0e._0x13cc04,0x5c6),_0x4b796d,{'once':!![]}),{'signal':_0x59e9a3['signal'],'cleanup':()=>{const _0x47153c={_0x42ae65:0x99,_0x5406c4:0x190},_0x25a33f={_0x1f6670:0x66};clearTimeout(_0x179b30);function _0x2f2e58(_0x2bbe2e,_0x4447cb,_0x29ee5a,_0x366818){return _0x4b5e73(_0x2bbe2e-0x111,_0x29ee5a- -0x2c,_0x366818,_0x366818-_0x25a33f._0x1f6670);}function _0x3b8a3c(_0x4fdac4,_0x43586e,_0x37c06c,_0x512f31){return _0x4b5e73(_0x4fdac4-_0x47153c._0x42ae65,_0x4fdac4-0x7c,_0x512f31,_0x512f31-_0x47153c._0x5406c4);}_0x160537[_0x2f2e58(-_0x2699e8._0x18079a,-0x13c,-_0x2699e8._0x159e3a,0xb9)](_0x3b8a3c(-0xab,-_0x2699e8._0xd65f38,-_0x2699e8._0x4db090,_0x2699e8._0x10962f),_0x4b796d);}};}function createWebFetchTool(_0x45cea6={}){const _0x27aca8={_0x1d6339:0x181,_0x41a95e:0x257,_0x49425d:0x542,_0x35da2b:0x664,_0xaee63:0x378,_0x36d416:0x405,_0x5c8d1d:0x596,_0x354041:0x4f7,_0x41d6cc:0x612,_0x1ab238:0x52d,_0x2c8c48:0x47e,_0xc33ea9:0x457,_0x99a68:0x3d9,_0x1b3bc4:0x284,_0x7c0ad6:0x29d,_0x427e69:0x51f,_0x190fa9:0x3e3,_0x3b12e1:0x2dd,_0x1f63fb:0x3d8,_0x4367d8:0x371,_0x1b9414:0x328,_0x1c2cbe:0x3bf,_0x221a45:0x45d,_0x5dbdda:0x3e9},_0x10c09b={_0x2e12f9:0x5f8,_0x481d7b:0x609,_0x44d2e3:0x52a,_0x20575d:0x2cc,_0x3d7a20:0x304,_0xf76b81:0x7b6,_0x194ac0:0x755,_0x36fa9f:0x7a6,_0x6bdf27:0x63d,_0x273eef:0x603,_0x31035f:0x677,_0xf6cb0c:0x5b6,_0x58a173:0x577,_0x4c9039:0x668,_0x788665:0x645,_0x5802e8:0x214,_0x19153d:0x1b9,_0x50f059:0x2d3,_0xbf7dba:0x29b,_0x2100fa:0xa5,_0x482c91:0x3b5,_0x428085:0x339,_0x283cd:0x36e,_0x19160b:0x275,_0x3730cb:0x549,_0x2c0e45:0x663,_0x2425db:0x5b0,_0x125202:0x5ce,_0x18dff0:0x1a0,_0x4f9da0:0x798,_0x3c80ff:0x657,_0x19cdac:0x37f,_0x12b784:0x2d4,_0x3f30b7:0x39b,_0x5784df:0x393,_0x2f8232:0x274,_0xa09592:0x162,_0x197d51:0x594,_0x388dd9:0x575,_0x6ea5a8:0x648,_0xba412b:0x5e3,_0x162685:0x6f8,_0x564d9f:0x7d5,_0x1551d7:0x6d1,_0x4e5832:0x750,_0x289a8b:0x856,_0x2895a0:0x7c6},_0x19791c={_0x31a829:0x19,_0x2e0c7e:0x85,_0x17ca7b:0x2b8},_0x59626b={_0x344483:0xef,_0xee6de8:0xa,_0x4c9e48:0x311},_0x4512d1={_0x131f86:0xf8};function _0x1145cb(_0x4f8f6e,_0x3bf372,_0x5a0f4d,_0x43eea1){return _0x278b49(_0x4f8f6e-0xdd,_0x3bf372-_0x4512d1._0x131f86,_0x43eea1-0x35e,_0x4f8f6e);}const _0x2f7a84=_0x45cea6[_0x1145cb(0x269,_0x27aca8._0x1d6339,0x287,_0x27aca8._0x41a95e)]??_0x5de3e5(0x541,_0x27aca8._0x49425d,_0x27aca8._0x35da2b,0x5bf);function _0x5de3e5(_0x11a4b7,_0x3fcfc1,_0x57e0dc,_0x12eb64){return _0x2fd7af(_0x12eb64-0x57f,_0x3fcfc1-0x1dc,_0x57e0dc,_0x12eb64-0x2d);}const _0x5b7427=_0x45cea6[_0x1145cb(0x53d,0x2fe,_0x27aca8._0xaee63,_0x27aca8._0x36d416)]??DEFAULT_TIMEOUT_MS2,_0x2ef189=new _0x51b446({'headingStyle':_0x5de3e5(_0x27aca8._0x5c8d1d,0x5a6,_0x27aca8._0x354041,_0x27aca8._0x41d6cc),'codeBlockStyle':'fenced','bulletListMarker':'-'});return _0x2ef189[_0x1145cb(_0x27aca8._0x1ab238,0x4cd,_0x27aca8._0x2c8c48,_0x27aca8._0xc33ea9)](['script',_0x1145cb(0x2fc,_0x27aca8._0x99a68,_0x27aca8._0x1b3bc4,_0x27aca8._0x7c0ad6),'noscript','iframe',_0x5de3e5(0x4ad,_0x27aca8._0x427e69,0x436,_0x27aca8._0x190fa9),'footer',_0x1145cb(_0x27aca8._0x3b12e1,0x22c,0x2a0,0x2a9),'aside']),defineTool({'name':_0x2f7a84,'description':_0x5de3e5(0x482,0x464,0x3cf,_0x27aca8._0x1f63fb),'inputSchema':{'type':'object','properties':{'description':{'type':'string'},'url':{'type':_0x5de3e5(_0x27aca8._0x4367d8,0x405,_0x27aca8._0x1b9414,0x425)}},'required':[_0x5de3e5(0x3b8,_0x27aca8._0x1c2cbe,_0x27aca8._0x221a45,_0x27aca8._0x5dbdda)]},async *'execute'(_0x1b8f28,_0x25fcb9){const _0x11a09f=assertFetchableUrl(_0x1b8f28['url'])[_0x8fb32b(0x712,_0x10c09b._0x2e12f9,_0x10c09b._0x481d7b,_0x10c09b._0x44d2e3)]();if(_0x25fcb9['signal'][_0x34f5a9(0x31a,0x348,_0x10c09b._0x20575d,_0x10c09b._0x3d7a20)])throw new ToolExecutionError(_0x8fb32b(_0x10c09b._0xf76b81,_0x10c09b._0x194ac0,0x6e6,_0x10c09b._0x36fa9f),{'url':_0x11a09f});function _0x8fb32b(_0x18755b,_0x13139,_0x336671,_0x5f147e){return _0x1145cb(_0x5f147e,_0x13139-_0x59626b._0x344483,_0x336671-_0x59626b._0xee6de8,_0x336671-_0x59626b._0x4c9e48);}const _0x6d9a3=createTimeoutSignal(_0x25fcb9[_0x8fb32b(0x628,_0x10c09b._0x6bdf27,_0x10c09b._0x273eef,0x6e9)],_0x5b7427);let _0x5825c8='',_0x1daa3a=0x0,_0x24b64e;try{const _0x5a898e=await fetch(_0x11a09f,{'headers':{'User-Agent':USER_AGENT},'signal':_0x6d9a3[_0x8fb32b(_0x10c09b._0x31035f,_0x10c09b._0xf6cb0c,0x603,_0x10c09b._0x58a173)]});if(!_0x5a898e['ok'])throw new ToolExecutionError(_0x8fb32b(0x4fb,_0x10c09b._0x4c9039,0x56a,_0x10c09b._0x788665)+_0x5a898e[_0x34f5a9(_0x10c09b._0x5802e8,_0x10c09b._0x19153d,0x20c,0x25e)]+'\x20'+_0x5a898e[_0x34f5a9(_0x10c09b._0x50f059,0x28c,0x191,0x285)],{'url':_0x11a09f,'statusCode':_0x5a898e[_0x34f5a9(0x1bb,0x1b9,_0x10c09b._0xbf7dba,_0x10c09b._0x2100fa)]});_0x5825c8=_0x5a898e['headers']['get'](_0x34f5a9(_0x10c09b._0x482c91,_0x10c09b._0x428085,_0x10c09b._0x283cd,_0x10c09b._0x19160b))??'',_0x1daa3a=_0x5a898e[_0x8fb32b(_0x10c09b._0x3730cb,_0x10c09b._0x2c0e45,_0x10c09b._0x2425db,_0x10c09b._0x125202)],_0x24b64e=await _0x5a898e[_0x34f5a9(0x371,0x279,0x2ec,_0x10c09b._0x18dff0)]();}catch(_0x270730){if(_0x270730 instanceof ToolExecutionError)throw _0x270730;const _0x8e5cc4=_0x270730 instanceof Error?_0x270730[_0x8fb32b(_0x10c09b._0x4f9da0,0x645,_0x10c09b._0x3c80ff,0x5a2)]:String(_0x270730);throw new ToolExecutionError(_0x8e5cc4,{'url':_0x11a09f});}finally{_0x6d9a3[_0x34f5a9(_0x10c09b._0x19cdac,_0x10c09b._0x12b784,_0x10c09b._0x3f30b7,_0x10c09b._0x5784df)]();}const _0x10fbd1=new Date()['toISOString']();let _0x157414,_0x428950;function _0x34f5a9(_0x1a7af0,_0x5e817f,_0x3b2db3,_0x55e3c3){return _0x5de3e5(_0x1a7af0-_0x19791c._0x31a829,_0x5e817f-_0x19791c._0x2e0c7e,_0x55e3c3,_0x5e817f- -_0x19791c._0x17ca7b);}if(_0x5825c8['includes'](_0x34f5a9(_0x10c09b._0x2f8232,0x256,0x34b,_0x10c09b._0xa09592)))_0x157414=_0x8fb32b(0x6cf,0x61e,_0x10c09b._0x197d51,_0x10c09b._0x388dd9)+_0x24b64e+'\x0a```',_0x428950='json';else _0x5825c8[_0x8fb32b(_0x10c09b._0x6ea5a8,_0x10c09b._0xba412b,_0x10c09b._0x162685,_0x10c09b._0x564d9f)](_0x8fb32b(0x87c,_0x10c09b._0x1551d7,_0x10c09b._0x4e5832,0x70b))?(_0x157414=_0x2ef189['turndown'](_0x24b64e),_0x428950=_0x8fb32b(0x747,_0x10c09b._0x289a8b,0x74b,_0x10c09b._0x2895a0)):(_0x157414=_0x24b64e,_0x428950='text');return yield createToolOutput(_0x157414,{'url':_0x11a09f,'contentType':_0x5825c8,'statusCode':_0x1daa3a,'format':_0x428950,'size':_0x24b64e['length'],'fetchedAt':_0x10fbd1}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x278b49(0x1a5,0x1d5,0xec,0x11e);function normalizeUrl(_0x548f48){const _0x5284f2={_0x366958:0xcb,_0x21e17c:0x606,_0x2b3455:0x4bf,_0x3fc90e:0x6f9,_0x3f864b:0x72f,_0x43ea68:0x1b0,_0x71e1c0:0x1be,_0x2375bb:0x109,_0x3531a7:0x3c},_0xa44871={_0x237a1a:0x165},_0x2c94b9={_0x21c965:0x54,_0x3fd590:0x1e2,_0xcd833:0x1be};function _0xc8c54f(_0x569030,_0x118f9d,_0x5d7465,_0x309ac8){return _0x2fd7af(_0x5d7465- -_0x2c94b9._0x21c965,_0x118f9d-_0x2c94b9._0x3fd590,_0x118f9d,_0x309ac8-_0x2c94b9._0xcd833);}function _0x1e7237(_0x33c107,_0x31617b,_0x906c52,_0x52f561){return _0x278b49(_0x33c107-_0xa44871._0x237a1a,_0x31617b-0x18c,_0x33c107-0x6a0,_0x31617b);}try{const _0x308810=new URL(_0x548f48);for(const _0x467a18 of[_0xc8c54f(-0x2d,-0x11f,-_0x5284f2._0x366958,-0x1d7),_0x1e7237(0x68d,0x5c6,0x613,0x5fb),_0x1e7237(_0x5284f2._0x21e17c,_0x5284f2._0x2b3455,0x6bd,0x672),'utm_term','utm_content',_0x1e7237(0x722,0x758,0x766,0x5f1),'fbclid','mc_cid',_0x1e7237(0x7a0,0x67c,_0x5284f2._0x3fc90e,0x829)]){_0x308810['searchParams'][_0x1e7237(0x735,0x70c,0x6fc,_0x5284f2._0x3f864b)](_0x467a18);}return _0x308810[_0xc8c54f(-_0x5284f2._0x43ea68,-_0x5284f2._0x71e1c0,-_0x5284f2._0x2375bb,_0x5284f2._0x3531a7)]();}catch{return _0x548f48;}}function cseDateRestrict(_0x737dd8){const _0x9d0540={_0x18be49:0x1ed,_0x1137ec:0xe6,_0x53d5d1:0x1ee,_0x310f69:0xa1,_0x302438:0x99},_0x2c02f1={_0x247226:0x14c,_0x3748d3:0x1b8},_0x53ea10={_0x5ca6e2:0x12};if(_0x737dd8<=0x0)return void 0x0;if(_0x737dd8<=0x1e)return'd'+Math['max'](0x1,Math[_0x3ae8fd(-_0x9d0540._0x18be49,-0x1a3,-_0x9d0540._0x1137ec,-_0x9d0540._0x53d5d1)](_0x737dd8));if(_0x737dd8<=0x16d)return'm'+Math[_0x3ae8fd(-0x1af,-_0x9d0540._0x310f69,-_0x9d0540._0x302438,-0x110)](_0x737dd8/0x1e);function _0x3ae8fd(_0x40c6e2,_0x16ac71,_0x3178d0,_0x5c1de4){return _0x278b49(_0x40c6e2-0x8a,_0x16ac71-0x167,_0x3178d0- -_0x53ea10._0x5ca6e2,_0x40c6e2);}function _0x25449c(_0x532adf,_0x1e69e5,_0x3b9bad,_0x28b64d){return _0x278b49(_0x532adf-_0x2c02f1._0x247226,_0x1e69e5-_0x2c02f1._0x3748d3,_0x1e69e5-0x370,_0x3b9bad);}return'y'+Math[_0x3ae8fd(-0x153,-0xdd,-0x99,-0x7d)](_0x737dd8/0x16d);}function addSiteFilters(_0x47654c,_0x56e621){const _0x44035d={_0x3526e6:0x1d5,_0x70ec92:0x2d,_0x5c4749:0x1a9,_0x371995:0x23,_0x1af04a:0xbd,_0x46e1de:0xa,_0xf99a72:0xe4,_0x4a3447:0x60},_0x2deeb9={_0x453d0c:0x4c,_0x398751:0x19a};if(_0x56e621['length']===0x0)return _0x47654c['trim']();function _0x40d03e(_0x2d9cc3,_0x22bb9a,_0x53df03,_0xa4dc42){return _0x2fd7af(_0x22bb9a-0x16,_0x22bb9a-0xfb,_0xa4dc42,_0xa4dc42-0x7c);}function _0x50d865(_0x3d79dd,_0x5ec3eb,_0x1ac37b,_0x7b291e){return _0x2fd7af(_0x3d79dd-0x31c,_0x5ec3eb-_0x2deeb9._0x453d0c,_0x5ec3eb,_0x7b291e-_0x2deeb9._0x398751);}return(_0x47654c+'\x20('+_0x56e621[_0x40d03e(-_0x44035d._0x3526e6,-0xc9,_0x44035d._0x70ec92,-_0x44035d._0x5c4749)](_0x44a259=>_0x40d03e(-0x114,-0xd2,-0x78,-0x161)+_0x44a259)[_0x40d03e(-_0x44035d._0x371995,-0x47,-0x16d,-_0x44035d._0x1af04a)](_0x40d03e(-0xe4,-_0x44035d._0x46e1de,-0x4c,_0x44035d._0xf99a72))+')')[_0x40d03e(-_0x44035d._0x4a3447,-0xa9,-0x1b2,-0x169)]();}function normalizeType(_0x5dac08){const _0x3a0faa={_0x1204bd:0x3bd,_0x49aa7b:0x3ee,_0x592d6c:0x31e,_0xdeaa78:0x416,_0x45647e:0x287},_0x3359e8={_0x1bd029:0x454},_0x5039ae={_0x133b11:0x53};function _0x5474ee(_0x39fff1,_0x574408,_0x3a1e54,_0x547af4){return _0x2fd7af(_0x574408-0x155,_0x574408-0xb4,_0x39fff1,_0x547af4-_0x5039ae._0x133b11);}function _0x2431a0(_0x5eee3e,_0x32c752,_0x2c7c3b,_0x3cfec6){return _0x2fd7af(_0x32c752-_0x3359e8._0x1bd029,_0x32c752-0x1d8,_0x2c7c3b,_0x3cfec6-0x1a0);}return _0x5dac08==='images'?_0x2431a0(0x395,_0x3a0faa._0x1204bd,_0x3a0faa._0x49aa7b,0x3ee):_0x2431a0(0x364,_0x3a0faa._0x592d6c,_0x3a0faa._0xdeaa78,_0x3a0faa._0x45647e);}async function fetchJson(_0x79417,_0x3f29c6,_0xcc0216){const _0x2267d4={_0x192146:0x508,_0x5f3689:0x54e,_0x1e54aa:0x49b,_0x3fead0:0x35d,_0x566383:0x430,_0x1f86cd:0x424,_0xc26f3c:0x281,_0x239046:0x314,_0x48b2bb:0x2d0,_0x898185:0x1b0,_0x116c38:0x275,_0x14a138:0x24b,_0x97b25e:0x5b6,_0x3e7165:0x54a,_0x5aa8e0:0x4fa,_0x3ad472:0x289,_0x3d3e15:0x2e2,_0x4bd958:0x1a4,_0x12f05f:0x44a,_0x138c1b:0x2fa,_0x483964:0x3c5,_0x3345f3:0x2a4,_0x27b6bf:0x490,_0x2ce01f:0x370,_0x4d5ee8:0x362,_0x3707a1:0x3b9},_0x1a6020={_0x283fe0:0x156},_0x20ea8a={_0x128996:0x19c,_0x38dfe8:0x1b6},_0x3289e4=await fetch(_0x79417,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x8336aa(_0x2267d4._0x192146,0x2f6,0x40d,0x35d),..._0xcc0216?.[_0x8336aa(_0x2267d4._0x5f3689,_0x2267d4._0x1e54aa,0x424,0x4d6)]},'signal':_0x3f29c6,..._0xcc0216});if(!_0x3289e4['ok']){let _0x39d75e,_0x1a3867;try{_0x39d75e=await _0x3289e4[_0x8336aa(_0x2267d4._0x3fead0,0x52e,_0x2267d4._0x566383,_0x2267d4._0x1f86cd)]();const _0x521045=JSON['parse'](_0x39d75e),_0x429e63=typeof _0x521045['detail']===_0x20693d(_0x2267d4._0xc26f3c,_0x2267d4._0x239046,0x1ca,_0x2267d4._0x48b2bb)?_0x521045['detail']['error']:void 0x0;_0x1a3867=_0x521045['error']?.[_0x20693d(_0x2267d4._0x898185,_0x2267d4._0x116c38,0x2a8,_0x2267d4._0x14a138)]??_0x521045[_0x8336aa(0x66b,_0x2267d4._0x97b25e,_0x2267d4._0x3e7165,_0x2267d4._0x5aa8e0)]?.['errors']?.[0x0]?.['message']??_0x429e63;}catch{}const _0x108e81=_0x1a3867?_0x20693d(0xa4,0x26c,0x1ba,0x15e)+_0x3289e4[_0x20693d(_0x2267d4._0x3ad472,0xe1,_0x2267d4._0x3d3e15,_0x2267d4._0x4bd958)]+':\x20'+_0x1a3867:_0x8336aa(_0x2267d4._0x12f05f,0x37c,0x32a,0x3d2)+_0x3289e4[_0x8336aa(_0x2267d4._0x138c1b,0x42b,0x370,_0x2267d4._0x483964)]+'\x20'+_0x3289e4['statusText'];throw new ToolExecutionError(_0x108e81,{'statusCode':_0x3289e4[_0x8336aa(_0x2267d4._0x3345f3,_0x2267d4._0x27b6bf,_0x2267d4._0x2ce01f,0x2e9)],..._0x39d75e?{'body':_0x39d75e}:{}});}function _0x20693d(_0x20146e,_0x314533,_0x22f141,_0x62126a){return _0x278b49(_0x20146e-_0x20ea8a._0x128996,_0x314533-_0x20ea8a._0x38dfe8,_0x62126a-0x263,_0x22f141);}function _0x8336aa(_0x1a7dd0,_0x72020f,_0x3683a4,_0x41b44f){return _0x2fd7af(_0x3683a4-0x47e,_0x72020f-_0x1a6020._0x283fe0,_0x41b44f,_0x41b44f-0x92);}return await _0x3289e4[_0x8336aa(0x3fc,_0x2267d4._0x4d5ee8,0x2f6,_0x2267d4._0x3707a1)]();}async function hydrateResults(_0x101c15,_0x3d2db0,_0x5daa2f){const _0x201513={_0x1acae1:0x336,_0x43c247:0x27c,_0x36d01e:0x2d5,_0x4fbbe8:0x236,_0x2714d7:0x2e9,_0x221d4a:0x2a9,_0x3005e4:0x110,_0x1705c2:0x2ed,_0x44b962:0x229,_0x450077:0x1c0,_0x38a0e7:0x18d,_0x8e253a:0x254},_0x29fd81={_0x476294:0x136,_0x20cd51:0x2e4},_0x176904={_0x56d6e4:0x1c5},_0x285d4a={_0x4eb23f:0x110,_0x4332e5:0x64,_0xde524f:0x2d3,_0x389218:0x3df,_0x214f0d:0x1a2,_0x13c088:0x9f,_0x562fe1:0x439,_0x50d441:0xbb,_0x31901e:0x67,_0x16c72b:0x15,_0x22e70e:0x5a,_0x145290:0x7e,_0x4cb783:0x238,_0x4c20f9:0x1d7,_0x18e86f:0x2b1,_0x4d9f1f:0x2b3,_0x4b454e:0x278,_0x2810c1:0x20e,_0x118dea:0x224,_0x8be006:0x1ec,_0x386179:0x2eb,_0xc385fa:0x1c5,_0x66b638:0xf2,_0x27fa06:0x1c4,_0x4379b8:0x143,_0x44ef27:0x1f7,_0x3b0b8e:0xbd,_0x455dbf:0x180,_0x4b19b7:0x27c,_0x2a4cb4:0x260,_0x5cfce3:0x1b1,_0x1c6e96:0x18e,_0x3ef0a3:0x14c,_0x4cb164:0x179,_0x5f4492:0x1d4,_0x4ad093:0x116,_0x417dd0:0x16d,_0x177977:0xd4,_0x5b6ac5:0x14f,_0xe6bfd8:0x122,_0x2bb0dc:0x9,_0x61f7cc:0x27,_0x114341:0x258,_0x357d38:0x256},_0x837a25=await Promise[_0x390921(0x2e9,0x2a9,0x2ac,_0x201513._0x1acae1)](_0x101c15[_0x390921(_0x201513._0x43c247,_0x201513._0x36d01e,0x348,0x2e9)](0x0,0xa)[_0x5b4b5b(0x2f0,0x2ec,0x25c,0x229)](async _0x37b726=>{const _0x161671={_0x38bdcc:0x59,_0x4db7e1:0x12},_0x17b7e7={_0x2ac783:0x375};function _0x4ae895(_0x4e230e,_0x13adad,_0x189561,_0x5d1eb2){return _0x5b4b5b(_0x4e230e-0x1b5,_0x13adad-0x101,_0x13adad,_0x4e230e- -_0x17b7e7._0x2ac783);}function _0x115d57(_0x126759,_0x40ebd1,_0x1a962d,_0x2e0898){return _0x390921(_0x1a962d,_0x40ebd1-_0x161671._0x38bdcc,_0x1a962d-0xc4,_0x126759- -_0x161671._0x4db7e1);}try{const _0x195ab9=await fetch(_0x37b726['url'],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x3d2db0,'Accept':_0x4ae895(0x25,_0x285d4a._0x4eb23f,_0x285d4a._0x4332e5,-0xca)},'signal':_0x5daa2f});if(!_0x195ab9['ok'])return _0x37b726;const _0x5bf6b5=await _0x195ab9[_0x115d57(_0x285d4a._0xde524f,0x30a,_0x285d4a._0x389218,0x35c)](),_0x5cbada=load(_0x5bf6b5),_0x306aa7=_0x5cbada(_0x115d57(0x274,0x2fd,0x1b9,0x1f4))[_0x115d57(_0x285d4a._0x214f0d,_0x285d4a._0x13c088,0x2a2,0x1bb)]('content')||_0x5cbada(_0x115d57(0x373,_0x285d4a._0x562fe1,0x268,0x3c1))['first']()[_0x4ae895(-_0x285d4a._0x50d441,_0x285d4a._0x31901e,_0x285d4a._0x16c72b,-_0x285d4a._0x22e70e)]()[_0x4ae895(-0x12c,-_0x285d4a._0x145290,-_0x285d4a._0x4cb783,-_0x285d4a._0x4c20f9)](),_0x222b97=_0x5cbada(_0x115d57(_0x285d4a._0x18e86f,_0x285d4a._0x4d9f1f,0x295,_0x285d4a._0x4b454e))['attr']('content')||_0x5cbada('meta[property=\x27og:description\x27]')['attr'](_0x4ae895(-_0x285d4a._0x2810c1,-_0x285d4a._0x118dea,-0x1b5,-_0x285d4a._0x8be006))||_0x37b726[_0x115d57(0x2de,_0x285d4a._0x386179,_0x285d4a._0xc385fa,0x34d)],_0x3b5081=_0x5cbada(_0x4ae895(-_0x285d4a._0x66b638,-_0x285d4a._0x27fa06,-_0x285d4a._0x4379b8,-_0x285d4a._0x44ef27))['attr']('content')||_0x5cbada(_0x4ae895(-0x185,-_0x285d4a._0x3b0b8e,-0xfe,-_0x285d4a._0x455dbf))[_0x115d57(0x1a2,_0x285d4a._0x4b19b7,_0x285d4a._0x2a4cb4,_0x285d4a._0x5cfce3)](_0x4ae895(-0x15b,-_0x285d4a._0x1c6e96,-0x294,-_0x285d4a._0x3ef0a3))||_0x37b726[_0x4ae895(-_0x285d4a._0x4cb164,-0x20c,-0x89,-_0x285d4a._0x5f4492)],_0x567d43=_0x5cbada('link[rel=\x27canonical\x27]')[_0x4ae895(-0x1ec,-_0x285d4a._0x4ad093,-_0x285d4a._0x417dd0,-_0x285d4a._0x177977)](_0x4ae895(-0x1cd,-0xe1,-0x1bb,-0x26c));return{..._0x37b726,'title':_0x306aa7||_0x37b726['title'],'snippet':_0x222b97,'url':_0x567d43?normalizeUrl(new URL(_0x567d43,_0x37b726[_0x115d57(0x18b,0x7e,_0x285d4a._0x5b6ac5,0x123)])[_0x4ae895(-_0x285d4a._0xe6bfd8,_0x285d4a._0x2bb0dc,-_0x285d4a._0x61f7cc,-_0x285d4a._0x114341)]()):_0x37b726[_0x4ae895(-0x203,-0x2e1,-_0x285d4a._0x357d38,-0x129)],'publishedAt':_0x3b5081};}catch{return _0x37b726;}}));function _0x5b4b5b(_0x358986,_0x3856f7,_0x12e0db,_0x31cb0b){return _0x278b49(_0x358986-0xc0,_0x3856f7-_0x176904._0x56d6e4,_0x31cb0b-0x2b9,_0x12e0db);}function _0x390921(_0xb2f594,_0x2a12ad,_0x4b1695,_0x35ce92){return _0x278b49(_0xb2f594-0xc6,_0x2a12ad-_0x29fd81._0x476294,_0x35ce92-_0x29fd81._0x20cd51,_0xb2f594);}const _0x45908f=new Map(_0x101c15[_0x390921(0x2ea,_0x201513._0x4fbbe8,0x25b,_0x201513._0x2714d7)](0x0,0xa)[_0x5b4b5b(_0x201513._0x221d4a,_0x201513._0x3005e4,_0x201513._0x1705c2,_0x201513._0x44b962)]((_0x41108c,_0x529ac3)=>[_0x41108c['url'],_0x837a25[_0x529ac3]]));return _0x101c15[_0x390921(_0x201513._0x450077,0x295,_0x201513._0x38a0e7,_0x201513._0x8e253a)](_0x42e302=>_0x45908f[_0x390921(0x2bf,0x24d,0x294,0x219)](_0x42e302[_0x390921(0x186,0xe3,0x205,0x19d)])??_0x42e302);}function formatResults(_0x3fc0dd){const _0x5ae5ae={_0x15daf5:0x4ec,_0xf92d94:0x3b8,_0x5ed3ba:0xfb,_0x224215:0x28e},_0x5d5a35={_0x4bd25b:0x517,_0x8c78a:0x275,_0xe67162:0x32e,_0x46adf5:0x49d,_0x3eb266:0x3c2,_0x260848:0x6a,_0x4ae56b:0x3bd,_0x54ae22:0x751,_0x112c5b:0x60a,_0x3fe402:0x728,_0x26550c:0x30d,_0x315108:0x328,_0x539521:0x1b4,_0x2e88b4:0x164},_0x5905a1={_0x4042a0:0xe6,_0x4cd753:0x99},_0x383550={_0x406f23:0x13b},_0x4d7d2f={_0x2a6359:0x5f1,_0x11b5ab:0xb2,_0x2d9ac1:0x177};function _0x58c51c(_0x5ab351,_0x3d2af9,_0x3e31ab,_0x9bbe4a){return _0x2fd7af(_0x9bbe4a-_0x4d7d2f._0x2a6359,_0x3d2af9-_0x4d7d2f._0x11b5ab,_0x3d2af9,_0x9bbe4a-_0x4d7d2f._0x2d9ac1);}function _0x312c5c(_0x1badd2,_0x240605,_0x3060be,_0x48ba25){return _0x2fd7af(_0x240605-0x1da,_0x240605-0x120,_0x1badd2,_0x48ba25-_0x383550._0x406f23);}if(_0x3fc0dd[_0x312c5c(0x16b,0x16e,0x22c,0x102)]===0x0)return _0x58c51c(_0x5ae5ae._0x15daf5,_0x5ae5ae._0xf92d94,0x50d,0x4e7);return _0x3fc0dd[_0x312c5c(0x22a,_0x5ae5ae._0x5ed3ba,0x229,0x8)](_0x2a7e14=>{const _0x3bb308={_0x3a7199:0x86,_0xf51e0a:0x189},_0x229279=[_0x2a7e14[_0x461ef4(0x54f,_0x5d5a35._0x4bd25b,0x4ae,0x382)]['rank']+'.\x20'+_0x2a7e14[_0x4ef1d1(0x31a,_0x5d5a35._0x8c78a,0x213,0x2f9)],_0x2a7e14[_0x461ef4(_0x5d5a35._0xe67162,_0x5d5a35._0x46adf5,_0x5d5a35._0x3eb266,0x445)]];if(_0x2a7e14[_0x4ef1d1(0x216,_0x5d5a35._0x260848,0x17e,0x248)])_0x229279['push'](_0x2a7e14['snippet']);function _0x461ef4(_0x25d4dd,_0x5e0c4b,_0x43bd90,_0x202c9f){return _0x58c51c(_0x25d4dd-0x15f,_0x25d4dd,_0x43bd90-_0x5905a1._0x4042a0,_0x43bd90- -_0x5905a1._0x4cd753);}function _0x4ef1d1(_0x546687,_0x199b1c,_0x58572f,_0x2de0a5){return _0x58c51c(_0x546687-_0x3bb308._0x3a7199,_0x199b1c,_0x58572f-_0x3bb308._0xf51e0a,_0x58572f- -0x430);}if(_0x2a7e14[_0x461ef4(0x438,0x4e9,0x44c,_0x5d5a35._0x4ae56b)])_0x229279[_0x461ef4(_0x5d5a35._0x54ae22,0x61b,_0x5d5a35._0x112c5b,_0x5d5a35._0x3fe402)](_0x461ef4(0x3e9,0x342,0x3e8,0x414)+_0x2a7e14[_0x461ef4(_0x5d5a35._0x26550c,0x52f,0x44c,_0x5d5a35._0x315108)]);return _0x229279[_0x4ef1d1(0x156,_0x5d5a35._0x539521,_0x5d5a35._0x2e88b4,0x117)]('\x0a');})[_0x312c5c(0x18e,0x17d,0x18b,_0x5ae5ae._0x224215)]('\x0a\x0a');}async function searchOllama(_0x4d872a,_0x208ee9,_0x2df54d){const _0x1c3d57={_0x4671c9:0x3af,_0x40d561:0x2f8,_0x4bd7e5:0x46c,_0x3cd8cf:0x44d,_0xf48faa:0x514,_0x1e4c6e:0x53e,_0x220e66:0x61b,_0x58fa64:0x44c,_0x25844a:0x306,_0x593f57:0x2e2,_0x41c1d6:0x313,_0x3bd123:0x460,_0x570739:0x473,_0x1ea00d:0x4ae,_0x4c8ac8:0x522,_0x35c69b:0x529,_0x233d8c:0x685,_0x401f9c:0x5b7,_0x4a608f:0x3a6,_0x344a81:0x4bd},_0x275428={_0x1fb2f1:0x221,_0x12fb93:0x251,_0x39448d:0x22b,_0x689a8d:0x6de,_0x418f67:0x30,_0x4e39fc:0x10a,_0x39b112:0x186},_0x57faad={_0x5eb8a2:0x50,_0x595bf2:0x5b2},_0x51a802={_0x564c45:0x150,_0x89be61:0x7},_0x39c1d9=Math[_0x43330c(0x3d9,_0x1c3d57._0x4671c9,0x41d,0x481)](0x1,Math[_0x2a031a(_0x1c3d57._0x40d561,0x3d4,0x2e2,0x37f)](0xa,_0x208ee9['count']));function _0x2a031a(_0xae1c12,_0x3085a,_0x374e4a,_0x2cb9ec){return _0x2fd7af(_0x374e4a-0x49a,_0x3085a-_0x51a802._0x564c45,_0xae1c12,_0x2cb9ec-_0x51a802._0x89be61);}function _0x43330c(_0x2534d4,_0x285f76,_0x1a8142,_0x102f7e){return _0x278b49(_0x2534d4-_0x57faad._0x5eb8a2,_0x285f76-0x68,_0x102f7e-_0x57faad._0x595bf2,_0x1a8142);}const _0x253b7f=addSiteFilters(_0x208ee9['query'],_0x208ee9[_0x43330c(_0x1c3d57._0x4bd7e5,_0x1c3d57._0x3cd8cf,_0x1c3d57._0xf48faa,_0x1c3d57._0x1e4c6e)]),_0x34f6e8=await fetchJson(_0x43330c(_0x1c3d57._0x220e66,0x5d8,0x546,0x4f9),_0x2df54d,{'method':_0x2a031a(0x2a9,_0x1c3d57._0x58fa64,_0x1c3d57._0x25844a,0x35b),'headers':{'Authorization':'Bearer\x20'+_0x4d872a['apiKey']},'body':JSON[_0x2a031a(0x353,_0x1c3d57._0x593f57,_0x1c3d57._0x41c1d6,0x2d2)]({'query':_0x253b7f,'max_results':_0x39c1d9})}),_0x15d297=_0x34f6e8[_0x2a031a(0x3aa,0x3f2,_0x1c3d57._0x3bd123,0x558)]??[],_0x1be1c3=_0x15d297[_0x43330c(_0x1c3d57._0x570739,_0x1c3d57._0x1ea00d,0x573,_0x1c3d57._0x4c8ac8)]((_0x5ad458,_0x4c4e54)=>{const _0x12ff15={_0x2e9c98:0x13f},_0x5a3772={_0x9a24b7:0x52f,_0x2c2080:0x146},_0x5322f7=_0x5ad458[_0x554a3c(-_0x275428._0x1fb2f1,-_0x275428._0x12fb93,-0x30e,-_0x275428._0x39448d)]||'';function _0x554a3c(_0x1dfcf1,_0x35e755,_0x4071a5,_0x3fe541){return _0x2a031a(_0x1dfcf1,_0x35e755-0x1c3,_0x3fe541- -_0x5a3772._0x9a24b7,_0x3fe541-_0x5a3772._0x2c2080);}let _0x365516;try{_0x365516=new URL(_0x5322f7)[_0x22ce73(0x6a9,_0x275428._0x689a8d,0x613,0x679)];}catch{_0x365516=null;}function _0x22ce73(_0x5d61c9,_0x31b45a,_0x4e66d9,_0x4478f5){return _0x2a031a(_0x4e66d9,_0x31b45a-0x12b,_0x4478f5-_0x12ff15._0x2e9c98,_0x4478f5-0x135);}return{'title':_0x5ad458['title']||_0x554a3c(-0x47,0x92,0x10a,-_0x275428._0x418f67),'url':normalizeUrl(_0x5322f7),'snippet':_0x5ad458[_0x22ce73(0x4f0,0x376,0x483,0x438)]??null,'displayUrl':_0x365516,'favicon':null,'publishedAt':null,'source':{'engine':_0x554a3c(-_0x275428._0x4e39fc,-0x149,-_0x275428._0x39b112,-0x189),'rank':_0x4c4e54+0x1}};});return{'items':_0x1be1c3[_0x43330c(0x6b9,_0x1c3d57._0x35c69b,_0x1c3d57._0x233d8c,_0x1c3d57._0x401f9c)](0x0,_0x39c1d9),'engine':_0x2a031a(0x2c3,0x4a7,_0x1c3d57._0x4a608f,_0x1c3d57._0x344a81)};}async function searchTavily(_0x3b4155,_0x1c21d6,_0x4e12ae){const _0x317248={_0xb174a0:0x17e,_0x33462f:0x54,_0xeacc11:0x196,_0x49db7b:0x545,_0x352269:0x4c5,_0x5b56a2:0x3e2,_0x2961c0:0x1dc,_0x1e2cfa:0x208,_0x422066:0xbd,_0x825535:0x1c,_0x3e3766:0x97,_0x13eff8:0xc2,_0x25d53d:0xad,_0x45e9e8:0x1c7,_0x2b2731:0xdd,_0x143980:0x3c,_0x50e102:0xa2,_0x1679b8:0x50,_0x1b2c53:0x6f,_0x4a16e1:0x18,_0x110276:0xe,_0x2c5e24:0x73,_0x1972e8:0x10a,_0x42a477:0xf3,_0x1a6053:0x411,_0x4cd8ff:0x3cc,_0x44baf8:0x309,_0x22ca08:0x1d3,_0xb6a0:0x1d9,_0x2aeb5b:0xf2,_0x5a71a2:0x1d,_0x58daac:0x29,_0x563dac:0x12,_0x484199:0x299,_0x5536bf:0x31c,_0x38a7a5:0x3e6,_0x57241a:0x15,_0x57e1d3:0x594,_0x1d77d0:0x4b4,_0x129425:0x5fd},_0x4f964a={_0x148ff7:0x3d1,_0x4dad2c:0x3c0,_0x77e695:0x2a9,_0x13f58c:0x49a,_0x126be9:0x69f,_0x3e3be2:0x4c9,_0x3ec79c:0x4fe},_0x26608f={_0x3be516:0x16b,_0x4cf2b1:0x16d,_0x2df7a5:0x4af};function _0xc12c5b(_0x42a9d4,_0x1b362b,_0x18b5c4,_0x33a9f6){return _0x278b49(_0x42a9d4-_0x26608f._0x3be516,_0x1b362b-_0x26608f._0x4cf2b1,_0x1b362b-_0x26608f._0x2df7a5,_0x18b5c4);}const _0x552a6f=Math['max'](0x1,Math[_0x5736be(-0x164,-_0x317248._0xb174a0,-_0x317248._0x33462f,-_0x317248._0xeacc11)](0x14,_0x1c21d6[_0xc12c5b(_0x317248._0x49db7b,_0x317248._0x352269,_0x317248._0x5b56a2,0x440)])),_0xb554f5={'query':_0x1c21d6[_0x5736be(-0xc9,-_0x317248._0x2961c0,-_0x317248._0x1e2cfa,-_0x317248._0x422066)],'max_results':_0x552a6f,'search_depth':_0x3b4155[_0x5736be(-0x9f,-_0x317248._0x825535,-0x105,0x43)]??'basic','topic':_0x3b4155[_0x5736be(-_0x317248._0x3e3766,-_0x317248._0x13eff8,_0x317248._0x25d53d,-_0x317248._0x45e9e8)]??_0x5736be(-_0x317248._0x2b2731,-_0x317248._0x143980,-_0x317248._0x50e102,_0x317248._0x1679b8)};function _0x5736be(_0x700e3,_0x4b49ea,_0x52884a,_0x1aa960){return _0x2fd7af(_0x700e3-0x54,_0x4b49ea-0xe6,_0x52884a,_0x1aa960-0x131);}if(_0x1c21d6[_0x5736be(-_0x317248._0x1b2c53,-0x178,-0xc7,0xd7)][_0x5736be(-_0x317248._0x4a16e1,_0x317248._0x110276,0x6c,-_0x317248._0x2c5e24)]>0x0)_0xb554f5['include_domains']=_0x1c21d6[_0x5736be(-0x6f,-0x10c,-_0x317248._0x1972e8,-_0x317248._0x42a477)];const _0x1198a3=await fetchJson(_0xc12c5b(_0x317248._0x1a6053,_0x317248._0x4cd8ff,0x442,_0x317248._0x44baf8),_0x4e12ae,{'method':_0x5736be(-0x140,-0x198,-0x14d,-_0x317248._0x22ca08),'headers':{'Authorization':'Bearer\x20'+_0x3b4155[_0x5736be(0xc0,_0x317248._0xb6a0,_0x317248._0x2aeb5b,0x1b3)],'Content-Type':_0x5736be(-_0x317248._0x5a71a2,-0x11d,_0x317248._0x58daac,-_0x317248._0x563dac)},'body':JSON[_0xc12c5b(_0x317248._0x484199,0x377,_0x317248._0x5536bf,_0x317248._0x38a7a5)](_0xb554f5)}),_0x55aebe=_0x1198a3['results']??[],_0x5a0830=_0x55aebe[_0x5736be(-0x8b,0xb8,_0x317248._0x57241a,-0x7e)]((_0x33265b,_0x16c2f9)=>{const _0x447fc7={_0x43e9fd:0x18b,_0x1a1412:0x95},_0x403c49={_0x493dcf:0x188,_0x3e7c36:0x69,_0x3eb23b:0x7a},_0x1f026c=_0x33265b[_0x2e24c8(0x413,0x493,_0x4f964a._0x148ff7,0x3cc)]||'';let _0x5ca38c;try{_0x5ca38c=new URL(_0x1f026c)['host'];}catch{_0x5ca38c=null;}function _0x2e24c8(_0x1cdb99,_0x367539,_0x28bf68,_0x51ae9d){return _0xc12c5b(_0x1cdb99-_0x403c49._0x493dcf,_0x28bf68-_0x403c49._0x3e7c36,_0x367539,_0x51ae9d-_0x403c49._0x3eb23b);}function _0x40023f(_0x353325,_0xdb2b10,_0x5530bb,_0x279cf1){return _0xc12c5b(_0x353325-_0x447fc7._0x43e9fd,_0x353325-0x63,_0x279cf1,_0x279cf1-_0x447fc7._0x1a1412);}return{'title':_0x33265b['title']||'Untitled','url':normalizeUrl(_0x1f026c),'snippet':_0x33265b[_0x40023f(_0x4f964a._0x4dad2c,0x3b9,_0x4f964a._0x77e695,_0x4f964a._0x13f58c)]??null,'displayUrl':_0x5ca38c,'favicon':null,'publishedAt':null,'source':{'engine':_0x40023f(0x5e6,_0x4f964a._0x126be9,_0x4f964a._0x3e3be2,_0x4f964a._0x3ec79c),'rank':_0x16c2f9+0x1}};});return{'items':_0x5a0830[_0xc12c5b(_0x317248._0x57e1d3,_0x317248._0x1d77d0,0x396,0x403)](0x0,_0x552a6f),'engine':_0xc12c5b(0x66c,0x583,_0x317248._0x129425,0x5e1)};}async function searchGoogleCse(_0x3137d3,_0x5a4392,_0x2378a5){const _0x461a4e={_0x4df218:0x2ac,_0x2e3004:0x2f9,_0x15f94d:0x1c8,_0x5b7fea:0x294,_0x23b690:0x167,_0x178b0e:0x65,_0x4e29e9:0x442,_0x5c5f54:0x524,_0x2e65ca:0x34c,_0x112dfd:0x402,_0x3aa91b:0x31e,_0x422aea:0x3d9,_0x2b78b5:0x2ce,_0x740f2:0x451,_0x472c66:0x396,_0x51f482:0x35e,_0x3f55ee:0x3d3,_0x3b1b93:0x3b8,_0xc2542f:0x4d2,_0x2edd1e:0x4f9,_0x572061:0x421,_0xb3d9b1:0x1d6,_0x53bf30:0x9d,_0x5f24ab:0xa5,_0x41371d:0x107,_0x80cdd9:0x286,_0x41c583:0x3d0,_0x30eede:0x346,_0x598d93:0x208,_0x1d087b:0x3fb,_0x129ce0:0x227,_0x185e46:0x310,_0x10bc93:0x36b,_0x74c98b:0x48e,_0x5eb1eb:0x29d,_0x3aa500:0xf0,_0x113867:0x526,_0x2e49d8:0x3f8,_0x57b263:0x51d,_0x526068:0x3fa,_0x418e74:0x3cd,_0x1560b5:0x306,_0x1f1ac7:0x39a,_0x5e3c60:0x489,_0x4e5880:0x599,_0xcd08a5:0x3ba,_0x4bd883:0x32c,_0x23a4d6:0x3dd,_0x1562f:0x356,_0x2398fd:0x44b,_0x28195a:0x460,_0x170644:0x4c5,_0x14e503:0x4d2,_0x23885f:0x441,_0x2e9b17:0x213,_0x320758:0x2be,_0x2d438c:0x455,_0x2a3e6d:0x44c,_0x41c2f9:0x2ba,_0x118668:0x392,_0x186be4:0x4cf,_0x1c5762:0x4d8,_0x427db5:0x607,_0x552f54:0x561,_0x54157e:0x36b,_0x3c10c6:0x48e,_0x2b4456:0x3e6,_0x4170b9:0xca,_0x419315:0x19e,_0x5eb21e:0x3e4,_0x56fce1:0x558,_0x3b4b9d:0x401,_0x458e61:0x3b6,_0x4a07d6:0x513,_0x1db8f2:0x41a,_0x15c07b:0x3cc,_0x7ea3e3:0x473,_0x35c3e9:0x33b,_0x576dfd:0x451,_0x228073:0x3c2,_0x12cc38:0x2f7,_0x1620f4:0x159,_0xe5260d:0x288,_0x495022:0x40f,_0x3b45ca:0x4f0,_0xae96ff:0x466,_0x480c06:0x287,_0x58a7bb:0x2dc,_0x38a251:0x3d9,_0x14b943:0x11b,_0x4b9197:0x126,_0x3a1e55:0x214,_0x3a9e67:0x250,_0x1fa67c:0x4cd,_0xcf6f33:0x558,_0x2b5926:0x410,_0x206caf:0x386,_0x42d1a7:0x4a8,_0x540e19:0x2a5,_0x33a5ee:0x360,_0x4f9e24:0x2d7,_0x2d13b6:0x461,_0x481c5a:0x2c5,_0x33581e:0x199,_0x4e0b89:0x178,_0x26fe91:0x28c,_0x139890:0x42e,_0x40adee:0x3fe,_0x24e7b5:0x3fa,_0x131753:0x475,_0x41e5ec:0x3e7,_0x5941bf:0x281,_0x52b3cc:0x40f,_0xcc4a96:0x4ad,_0xffe5:0x3a7,_0x57a84e:0x35e},_0x52fc6b={_0x46d98e:0x110};function _0x576424(_0x3ea80a,_0x2ea9f4,_0x1532dc,_0x5c8aca){return _0x278b49(_0x3ea80a-_0x52fc6b._0x46d98e,_0x2ea9f4-0x1aa,_0x3ea80a-0x42c,_0x1532dc);}const _0x15eef0=Math[_0x4a9dd9(_0x461a4e._0x4df218,_0x461a4e._0x2e3004,_0x461a4e._0x15f94d,_0x461a4e._0x5b7fea)](0x1,Math[_0x4a9dd9(0x10e,_0x461a4e._0x23b690,0x190,_0x461a4e._0x178b0e)](0x32,_0x5a4392[_0x576424(_0x461a4e._0x4e29e9,_0x461a4e._0x5c5f54,0x340,_0x461a4e._0x2e65ca)]));if(_0x5a4392[_0x4a9dd9(_0x461a4e._0x112dfd,0x458,_0x461a4e._0x3aa91b,_0x461a4e._0x422aea)]+_0x15eef0>0x64)throw new ToolExecutionError(_0x576424(_0x461a4e._0x2b78b5,0x243,0x36a,0x3ee),{'offset':_0x5a4392[_0x576424(_0x461a4e._0x740f2,_0x461a4e._0x472c66,0x454,0x319)],'count':_0x15eef0,'maxResults':0x64});const _0x19e5c0=cseDateRestrict(_0x5a4392['recencyDays']),_0x166f92=addSiteFilters(_0x5a4392[_0x576424(_0x461a4e._0x51f482,_0x461a4e._0x3f55ee,0x345,0x44a)],_0x5a4392[_0x576424(_0x461a4e._0x3b1b93,_0x461a4e._0xc2542f,_0x461a4e._0x2edd1e,0x477)]);let _0x4d04cd=0x0,_0x4b0e7e=_0x5a4392[_0x4a9dd9(0x3bf,0x45e,0x31e,_0x461a4e._0x572061)]+0x1;const _0x389853=[];function _0x4a9dd9(_0x178eb3,_0x1166c5,_0x447b91,_0x11b6c1){return _0x278b49(_0x178eb3-0xc6,_0x1166c5-0x189,_0x447b91-0x2f9,_0x1166c5);}while(_0x4d04cd<_0x15eef0){const _0x583017=Math[_0x4a9dd9(_0x461a4e._0xb3d9b1,_0x461a4e._0x53bf30,0x190,0x63)](0xa,_0x15eef0-_0x4d04cd),_0x5a26c2=new URL(_0x4a9dd9(0x89,_0x461a4e._0x5f24ab,0x18d,_0x461a4e._0x41371d));_0x5a26c2['searchParams'][_0x4a9dd9(_0x461a4e._0x80cdd9,0x176,0x208,0x279)](_0x4a9dd9(_0x461a4e._0x41c583,0x3ba,0x3c6,0x38f),_0x3137d3['googleCseKey']),_0x5a26c2[_0x4a9dd9(_0x461a4e._0x30eede,0x271,0x36b,0x43b)][_0x576424(0x33b,_0x461a4e._0x598d93,_0x461a4e._0x1d087b,_0x461a4e._0x129ce0)]('cx',_0x3137d3[_0x4a9dd9(0x337,0x298,_0x461a4e._0x185e46,0x2a3)]),_0x5a26c2[_0x4a9dd9(0x302,0x428,_0x461a4e._0x10bc93,_0x461a4e._0x74c98b)][_0x4a9dd9(_0x461a4e._0x5eb1eb,0x1a0,_0x461a4e._0x598d93,_0x461a4e._0x3aa500)]('q',_0x166f92),_0x5a26c2[_0x576424(0x49e,_0x461a4e._0x113867,_0x461a4e._0x2e49d8,_0x461a4e._0x57b263)]['set']('num',String(_0x583017)),_0x5a26c2[_0x4a9dd9(_0x461a4e._0x526068,_0x461a4e._0x418e74,0x36b,0x475)]['set'](_0x576424(_0x461a4e._0x1560b5,0x296,0x3d8,_0x461a4e._0x1f1ac7),String(_0x4b0e7e)),_0x5a26c2[_0x576424(0x49e,0x531,0x423,0x44a)][_0x4a9dd9(0x1a4,0x102,0x208,0x305)](_0x576424(0x4cc,_0x461a4e._0x5e3c60,0x5ad,0x58f),_0x5a4392[_0x576424(0x4cc,_0x461a4e._0x4e5880,_0x461a4e._0xcd08a5,0x5ed)]?_0x576424(_0x461a4e._0x4bd883,_0x461a4e._0x23a4d6,_0x461a4e._0x1562f,0x313):_0x4a9dd9(0x26a,_0x461a4e._0x2398fd,0x329,_0x461a4e._0x28195a));_0x5a4392[_0x576424(_0x461a4e._0x170644,_0x461a4e._0x14e503,0x55f,_0x461a4e._0x23885f)]&&(_0x5a26c2['searchParams'][_0x4a9dd9(_0x461a4e._0x2e9b17,0x1f2,0x208,_0x461a4e._0x320758)]('hl',_0x5a4392['lang']),_0x5a26c2[_0x4a9dd9(0x33f,_0x461a4e._0x2d438c,0x36b,_0x461a4e._0x2a3e6d)]['set']('lr',_0x4a9dd9(0x43f,0x318,0x301,0x36f)+_0x5a4392[_0x4a9dd9(0x2c0,_0x461a4e._0x41c2f9,_0x461a4e._0x118668,0x316)]));if(_0x5a4392[_0x576424(_0x461a4e._0x186be4,_0x461a4e._0x1c5762,_0x461a4e._0x427db5,_0x461a4e._0x552f54)])_0x5a26c2[_0x4a9dd9(0x402,0x278,_0x461a4e._0x54157e,0x43c)]['set']('gl',_0x5a4392[_0x576424(0x4cf,_0x461a4e._0x3c10c6,0x5ab,_0x461a4e._0x2b4456)][_0x4a9dd9(_0x461a4e._0x4170b9,0x27f,_0x461a4e._0x419315,0x13a)]());if(_0x5a4392[_0x576424(0x34c,0x2c7,0x480,0x2ae)]===_0x576424(_0x461a4e._0x5eb21e,0x34b,0x45e,0x3df))_0x5a26c2[_0x576424(0x49e,_0x461a4e._0x56fce1,_0x461a4e._0x3b4b9d,_0x461a4e._0x458e61)]['set'](_0x576424(0x44b,_0x461a4e._0x4a07d6,0x48a,0x306),_0x576424(_0x461a4e._0x1db8f2,_0x461a4e._0x15c07b,0x44f,_0x461a4e._0x7ea3e3));if(_0x19e5c0)_0x5a26c2['searchParams'][_0x576424(_0x461a4e._0x35c3e9,_0x461a4e._0x576dfd,0x2cd,0x42c)](_0x4a9dd9(0x345,0x442,0x397,_0x461a4e._0x4e29e9),_0x19e5c0);const _0x70023b=await fetchJson(_0x5a26c2[_0x576424(0x3c6,_0x461a4e._0x228073,0x3dd,_0x461a4e._0x12cc38)](),_0x2378a5),_0x59de7a=_0x70023b[_0x4a9dd9(_0x461a4e._0x1620f4,0x169,_0x461a4e._0xe5260d,0x1cd)]??[];if(_0x59de7a[_0x576424(_0x461a4e._0x495022,_0x461a4e._0x3b45ca,_0x461a4e._0xae96ff,0x3b0)]===0x0)break;const _0x48c27a=_0x4d04cd;for(let _0x175eb5=0x0;_0x175eb5<_0x59de7a[_0x4a9dd9(_0x461a4e._0x480c06,0x1d4,_0x461a4e._0x58a7bb,_0x461a4e._0x38a251)];_0x175eb5++){const _0x2a6a30=_0x59de7a[_0x175eb5];if(!_0x2a6a30)continue;const _0xf5dce0=_0x2a6a30[_0x4a9dd9(_0x461a4e._0x14b943,_0x461a4e._0x4b9197,_0x461a4e._0x3a1e55,_0x461a4e._0x3a9e67)]||_0x2a6a30['image']?.[_0x4a9dd9(0x1ef,0x397,0x26a,0x3ab)]||'',_0x4ec6ff=_0x2a6a30[_0x576424(_0x461a4e._0x1fa67c,0x603,_0x461a4e._0xcf6f33,0x426)]||_0x2a6a30[_0x4a9dd9(_0x461a4e._0x2b5926,_0x461a4e._0x206caf,0x2e7,0x1e2)]?.[_0x576424(0x4cd,0x540,_0x461a4e._0x42d1a7,0x60e)]||_0x4a9dd9(0x4e7,_0x461a4e._0x540e19,0x3ad,_0x461a4e._0x33a5ee),_0x1d434e=_0x2a6a30[_0x4a9dd9(0x41b,_0x461a4e._0x4f9e24,0x305,0x3e2)]||_0x2a6a30[_0x576424(0x31d,0x3c0,_0x461a4e._0x2d13b6,0x2a9)]?.[_0x576424(_0x461a4e._0x481c5a,_0x461a4e._0x33581e,0x2cf,0x342)](/<[^>]+>/g,''),_0x1da578=_0x2a6a30[_0x4a9dd9(0x37c,_0x461a4e._0x4e0b89,_0x461a4e._0x26fe91,0x16e)]?.['metatags']?.[0x0]??{};let _0x2976a0;try{_0x2976a0=new URL(_0xf5dce0)[_0x576424(0x51b,0x661,_0x461a4e._0x139890,_0x461a4e._0x40adee)];}catch{_0x2976a0=null;}_0x389853[_0x4a9dd9(0x399,0x4a1,_0x461a4e._0x24e7b5,_0x461a4e._0x131753)]({'title':_0x4ec6ff,'url':normalizeUrl(_0xf5dce0),'snippet':_0x1d434e??null,'displayUrl':_0x2976a0,'favicon':null,'publishedAt':_0x1da578['article:published_time']||_0x1da578[_0x4a9dd9(0x2ad,0x3fd,0x34a,_0x461a4e._0x41e5ec)]||null,'source':{'engine':_0x4a9dd9(0x372,0x1df,_0x461a4e._0x5941bf,0x2c9),'rank':_0x48c27a+_0x175eb5+0x1}});}_0x4d04cd+=_0x59de7a[_0x576424(_0x461a4e._0x52b3cc,_0x461a4e._0xcc4a96,_0x461a4e._0xffe5,0x35a)],_0x4b0e7e+=_0x59de7a['length'];if(_0x59de7a[_0x4a9dd9(0x3e4,0x307,0x2dc,_0x461a4e._0x57a84e)]<_0x583017)break;}return _0x389853[_0x576424(0x431,0x458,0x4fe,0x547)](0x0,_0x15eef0);}function isGoogleCseEngine(_0x3fbe62){const _0x47adc8={_0x5bb172:0x6e3},_0x4b7a5d={_0x34ea59:0xf2,_0x20b65f:0x5f0};function _0x110850(_0xbfbbf,_0xb68447,_0x3dd08b,_0x3745b7){return _0x278b49(_0xbfbbf-0x1e0,_0xb68447-_0x4b7a5d._0x34ea59,_0x3745b7-_0x4b7a5d._0x20b65f,_0x3dd08b);}return _0x110850(0x643,0x6f2,0x767,_0x47adc8._0x5bb172)in _0x3fbe62;}function isOllamaEngine(_0x4f5ea1){const _0x50f0b8={_0x51c6d4:0x3b,_0x133bc9:0x101,_0x58f5c1:0x29},_0x527858={_0x155186:0xe7};function _0x34f77d(_0x34a6ac,_0x1d9563,_0x3f06d3,_0x1fdccc){return _0x2fd7af(_0x3f06d3-0x76,_0x1d9563-_0x527858._0x155186,_0x1d9563,_0x1fdccc-0x186);}return _0x34f77d(-0x116,-_0x50f0b8._0x51c6d4,-_0x50f0b8._0x133bc9,_0x50f0b8._0x58f5c1)in _0x4f5ea1;}function isTavilyEngine(_0x546bc3){return'tavilyApiKey'in _0x546bc3;}function createWebSearchTool(_0x59ca27){const _0x1fb4bd={_0x5df642:0x374,_0x1e4fb5:0x334,_0x38193d:0x2af,_0x2a028c:0xd4,_0x4bbdd2:0x269,_0x53a3b5:0x6b,_0x2029cb:0x100,_0x4ff51a:0x42,_0x525845:0x2df,_0x529f64:0x1a3,_0x3547d5:0x107,_0x4925b0:0x148,_0x5337e1:0x1b0,_0x5a1b94:0x90,_0x10031e:0x10b,_0x42a6c8:0x34f,_0x1ec935:0x20b,_0xa012a9:0xb5,_0x55a074:0x285,_0x2e7c65:0x226,_0x24fce5:0x1db,_0x45f042:0x199,_0xb889c9:0xb6,_0x144305:0x1c1,_0x49a2d5:0x15d},_0x467cc0={_0x2df2f7:0x439,_0x1830d2:0x4dc,_0x5eed79:0x33e,_0x3bb6b4:0x1b9,_0x5247ba:0x242,_0x5d75b3:0x463,_0x60c14e:0x230,_0x5d4ea6:0x385,_0x53ab5f:0x323,_0x51d32a:0x315,_0x4d7933:0x2eb,_0xa80e83:0x36e,_0x4aa39e:0x35d,_0x4546ee:0x44c,_0x5828c9:0x32e,_0x90374e:0x1e9,_0x45fd4c:0x24a,_0x2afec6:0x51a,_0x248995:0x357,_0x58f91f:0x425,_0x4080da:0x334,_0x979f8e:0x2c3,_0x39c2d2:0x111,_0x5e023d:0x54f,_0x3621c7:0x4c4,_0x25877c:0x3fb,_0x6bf385:0x307,_0x17577b:0x470,_0xeecc1d:0x4ff,_0x2801b9:0x5e4,_0x35f22c:0x2a0,_0x5c823e:0x18b,_0x19c084:0x278,_0x5c88f5:0x287,_0x1b518c:0x322,_0x503ccb:0x230,_0x6fce0f:0x325,_0x495b5a:0x3b3,_0x44cf1f:0x2e5,_0x5598c6:0x53d,_0x5f19f8:0x400,_0x474409:0x3af,_0x5d59d4:0x2f6,_0x461c22:0x1c2,_0x33213a:0x2ec,_0x54edd1:0x346,_0x2d20bb:0x427,_0x224d37:0x31b,_0x258c5e:0x1f5,_0x23a67d:0x1c6,_0x174386:0x2b1,_0x5be6aa:0x3aa,_0x43224a:0x31b,_0x5b85bb:0x2a7,_0x4bc736:0x369,_0x2274d6:0x372,_0x5b7ffc:0x33b,_0x26fcf6:0x507,_0xeabe77:0x507,_0x21df40:0x48b,_0x2ecdb4:0x30f,_0x133426:0x245,_0x14a3f4:0x305,_0x41e27c:0x38e,_0x5c97f1:0x442,_0x5a4be0:0x4e2,_0x36534b:0x42e,_0x13af45:0x429,_0x223e32:0x4f8,_0x5afca8:0x4ee,_0x3e7e03:0x2f1,_0x26d641:0x393,_0x36c5d4:0x2ec,_0xe1de00:0x1e5,_0x239f38:0x49f,_0x19c7e9:0x4f3,_0x37ab97:0x2e4,_0x344c11:0x20b,_0x1bd3a7:0x472,_0xcadd48:0x397,_0x54bc30:0x473,_0x46d558:0x368,_0x120611:0x448,_0x26ca8d:0x310,_0x476e7b:0x571,_0x927629:0x5c7,_0x38d41e:0x5e7,_0x3622c9:0x614,_0x4812d0:0x48e,_0x421798:0x410,_0x385913:0x4f8,_0x40044e:0x39f,_0x4e51ad:0x511,_0x31b65a:0x42b,_0x1d573e:0x502,_0xf9089d:0x506,_0x5b6e1a:0x442,_0x5dbc1e:0x407,_0x1c4ea6:0x3a9,_0x1b8835:0x2cb,_0x332089:0x391,_0x166180:0x2e1,_0x4d8d2f:0x2a6,_0x7b0a7a:0x287,_0x20e630:0x204},_0x1dc49={_0x386468:0x44,_0x57b8f7:0x263,_0x259668:0x11a,_0x2fbd81:0x15e,_0x4499db:0x22b,_0x3971f5:0x1c6,_0x59390e:0x27b,_0xa8747:0x176},_0x3a17af={_0x2a61e6:0x19c,_0x28bbde:0x92},_0x4f12d7={_0x1c744a:0x131,_0x38951d:0x90};if(!_0x59ca27['engines']||_0x59ca27[_0x2c15f5(0x297,0x239,_0x1fb4bd._0x5df642,0x4b3)][_0x2c15f5(0x251,_0x1fb4bd._0x1e4fb5,_0x1fb4bd._0x38193d,0x393)]===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');function _0x2c15f5(_0x96bde9,_0x428f8f,_0x48f1d8,_0x49c158){return _0x278b49(_0x96bde9-_0x4f12d7._0x1c744a,_0x428f8f-_0x4f12d7._0x38951d,_0x48f1d8-0x2cc,_0x428f8f);}const _0x21533a=_0x59ca27[_0x2c15f5(0x262,_0x1fb4bd._0x2a028c,0x1c5,_0x1fb4bd._0x4bbdd2)]??_0x48e5ae(0x1fc,0xcb,0xd6,0x1e6);function _0x48e5ae(_0x4ea7b6,_0x57e210,_0x15bf1c,_0x3097ee){return _0x2fd7af(_0x15bf1c-_0x3a17af._0x2a61e6,_0x57e210-0x9a,_0x3097ee,_0x3097ee-_0x3a17af._0x28bbde);}return defineTool({'name':_0x21533a,'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':'object','properties':{'description':{'type':_0x48e5ae(0x93,0x37,0x42,_0x1fb4bd._0x53a3b5)},'query':{'type':_0x48e5ae(_0x1fb4bd._0x2029cb,0xe4,_0x1fb4bd._0x4ff51a,-0x5)},'count':{'type':'number'},'offset':{'type':_0x48e5ae(_0x1fb4bd._0x525845,_0x1fb4bd._0x529f64,0x216,0x2d3)},'domains':{'type':_0x48e5ae(_0x1fb4bd._0x3547d5,_0x1fb4bd._0x4925b0,_0x1fb4bd._0x5337e1,_0x1fb4bd._0x5a1b94),'items':{'type':_0x48e5ae(_0x1fb4bd._0x10031e,-0x95,0x42,0xa4)}},'recencyDays':{'type':_0x48e5ae(_0x1fb4bd._0x42a6c8,_0x1fb4bd._0x1ec935,0x216,0x1b8)},'lang':{'type':_0x48e5ae(-_0x1fb4bd._0xa012a9,0x65,0x42,-0x34)},'region':{'type':_0x2c15f5(0x19f,_0x1fb4bd._0x55a074,0x1c1,_0x1fb4bd._0x2e7c65)},'safe':{'type':_0x48e5ae(0x1bb,_0x1fb4bd._0x24fce5,0x126,0x241)},'type':{'type':_0x2c15f5(_0x1fb4bd._0x45f042,_0x1fb4bd._0xb889c9,_0x1fb4bd._0x144305,0x258)},'hydrateMeta':{'type':'boolean'}},'required':[_0x48e5ae(0x25,_0x1fb4bd._0x49a2d5,0x7f,-0xc8)]},async *'execute'(_0x272ec4,_0x34e60d){const _0x81a150={_0x357a96:0xfb,_0x2a9460:0x5a},_0xbcd352={_0x43c2e9:0x165},_0x1bcfad={_0x39b245:0x2d4},_0x3fd176={_0x65d946:0x2d1,_0x37bb03:0x1a9},_0x32fab5=_0x272ec4['query'][_0x2cc1f2(_0x467cc0._0x2df2f7,0x3b6,0x3ef,_0x467cc0._0x1830d2)]();if(!_0x32fab5)throw new ToolExecutionError(_0x4932f9(_0x467cc0._0x5eed79,_0x467cc0._0x3bb6b4,_0x467cc0._0x5247ba,0x36d));const _0x22d7bd={'query':_0x32fab5,'count':Math[_0x2cc1f2(_0x467cc0._0x5d75b3,_0x467cc0._0x60c14e,0x32e,_0x467cc0._0x5d4ea6)](0x1,Math['min'](0x32,Math[_0x2cc1f2(_0x467cc0._0x53ab5f,0x2a4,_0x467cc0._0x51d32a,0x305)](_0x272ec4[_0x4932f9(_0x467cc0._0x4d7933,0x314,_0x467cc0._0xa80e83,_0x467cc0._0x4aa39e)]??0xa))),'offset':Math[_0x2cc1f2(0x29f,_0x467cc0._0x4546ee,_0x467cc0._0x5828c9,_0x467cc0._0x90374e)](0x0,Math[_0x2cc1f2(_0x467cc0._0x45fd4c,0x271,0x315,0x24a)](_0x272ec4[_0x2cc1f2(_0x467cc0._0x2afec6,_0x467cc0._0x248995,0x484,_0x467cc0._0x58f91f)]??0x0)),'domains':_0x272ec4[_0x2cc1f2(_0x467cc0._0x4080da,0x31b,0x3eb,_0x467cc0._0x979f8e)]??[],'recencyDays':Math[_0x4932f9(0x285,0x158,0x227,_0x467cc0._0x39c2d2)](0x0,Math['trunc'](_0x272ec4[_0x2cc1f2(0x4cb,0x41f,_0x467cc0._0x5e023d,0x61d)]??0x0)),'lang':_0x272ec4['lang']??'en','region':_0x272ec4[_0x4932f9(_0x467cc0._0x3621c7,0x40e,_0x467cc0._0x25877c,_0x467cc0._0x6bf385)]??'','safe':_0x272ec4[_0x2cc1f2(_0x467cc0._0x1830d2,_0x467cc0._0x17577b,_0x467cc0._0xeecc1d,_0x467cc0._0x2801b9)]??!![],'type':normalizeType(_0x272ec4[_0x4932f9(_0x467cc0._0x35f22c,_0x467cc0._0x5c823e,_0x467cc0._0x19c084,0x2b3)]),'hydrateMeta':_0x272ec4[_0x4932f9(0x36a,0x2f6,_0x467cc0._0x5c88f5,_0x467cc0._0x1b518c)]??![]};let _0x140435=[],_0x143adc=_0x4932f9(_0x467cc0._0x503ccb,0x43c,_0x467cc0._0x6fce0f,_0x467cc0._0x495b5a);for(const _0x185724 of _0x59ca27[_0x4932f9(_0x467cc0._0x44cf1f,_0x467cc0._0x5598c6,_0x467cc0._0x5f19f8,0x374)]){try{if(isGoogleCseEngine(_0x185724))_0x140435=await searchGoogleCse(_0x185724,_0x22d7bd,_0x34e60d[_0x2cc1f2(_0x467cc0._0x474409,0x2c5,0x3f3,_0x467cc0._0x5d59d4)]),_0x143adc='google-cse';else{if(isOllamaEngine(_0x185724)){const _0x324a96=await searchOllama(_0x185724,_0x22d7bd,_0x34e60d[_0x4932f9(0x41d,_0x467cc0._0x461c22,_0x467cc0._0x33213a,0x2de)]);_0x140435=_0x324a96[_0x4932f9(_0x467cc0._0x54edd1,0x278,0x2e7,0x397)],_0x143adc=_0x324a96[_0x4932f9(_0x467cc0._0x2d20bb,0x31a,_0x467cc0._0x224d37,_0x467cc0._0x258c5e)];}else{if(isTavilyEngine(_0x185724)){const _0x292e2e=await searchTavily(_0x185724,_0x22d7bd,_0x34e60d[_0x4932f9(0x281,_0x467cc0._0x23a67d,0x2ec,_0x467cc0._0x4d7933)]);_0x140435=_0x292e2e[_0x4932f9(0x39b,_0x467cc0._0x174386,0x2e7,0x3b7)],_0x143adc=_0x292e2e[_0x4932f9(0x426,_0x467cc0._0x5be6aa,_0x467cc0._0x43224a,_0x467cc0._0x5b85bb)];}}}if(_0x140435[_0x4932f9(_0x467cc0._0x4bc736,_0x467cc0._0x2274d6,_0x467cc0._0x5b7ffc,0x273)]>0x0)break;}catch(_0x549ab4){if(_0x185724===_0x59ca27[_0x2cc1f2(0x5af,0x4e2,_0x467cc0._0x26fcf6,0x54d)][_0x59ca27[_0x2cc1f2(0x5af,0x4eb,_0x467cc0._0xeabe77,_0x467cc0._0x21df40)][_0x4932f9(_0x467cc0._0x2ecdb4,0x358,0x33b,0x468)]-0x1])throw _0x549ab4;}}_0x22d7bd[_0x2cc1f2(_0x467cc0._0x133426,_0x467cc0._0x14a3f4,_0x467cc0._0x41e27c,_0x467cc0._0x4bc736)]&&_0x140435[_0x2cc1f2(0x480,0x545,_0x467cc0._0x5c97f1,_0x467cc0._0x5a4be0)]>0x0&&(_0x140435=await hydrateResults(_0x140435,_0x22d7bd[_0x2cc1f2(_0x467cc0._0x36534b,_0x467cc0._0x13af45,_0x467cc0._0x223e32,_0x467cc0._0x5afca8)],_0x34e60d[_0x4932f9(_0x467cc0._0x3e7e03,_0x467cc0._0x26d641,_0x467cc0._0x36c5d4,_0x467cc0._0xe1de00)]));const _0x1ef500=new Set();_0x140435=_0x140435['filter'](_0xea7a81=>{const _0x230f03=_0xea7a81[_0x3d184e(_0x1dc49._0x386468,0x76,-0x3e,0x5d)][_0x3d184e(_0x1dc49._0x57b8f7,0x20b,0x1cf,_0x1dc49._0x259668)]();if(!_0x230f03||_0x1ef500[_0x3d184e(_0x1dc49._0x2fbd81,_0x1dc49._0x4499db,0x78,_0x1dc49._0x3971f5)](_0x230f03))return![];_0x1ef500[_0x24833a(_0x1dc49._0x59390e,0x1a4,_0x1dc49._0xa8747,0x10e)](_0x230f03);function _0x24833a(_0x284cfa,_0x1fb104,_0x841732,_0x36d39b){return _0x4932f9(_0x36d39b,_0x1fb104-0xf3,_0x1fb104- -_0x3fd176._0x65d946,_0x36d39b-_0x3fd176._0x37bb03);}function _0x3d184e(_0x40fd85,_0x471fbc,_0x3dac23,_0x32b894){return _0x2cc1f2(_0x40fd85-0x2f,_0x32b894,_0x40fd85- -_0x1bcfad._0x39b245,_0x32b894-0xf6);}return!![];}),_0x140435=_0x140435[_0x2cc1f2(_0x467cc0._0x239f38,_0x467cc0._0x19c7e9,0x3cf,0x308)]((_0x11c732,_0x265511)=>({..._0x11c732,'source':{..._0x11c732[_0x2cc1f2(0x301,0x380,0x404,0x34e)],'rank':_0x265511+0x1}}));const _0x38c1a9={};function _0x4932f9(_0x1873ef,_0x481479,_0x3ed1b9,_0x3fb9bf){return _0x2c15f5(_0x1873ef-0x4c,_0x1873ef,_0x3ed1b9-0x8c,_0x3fb9bf-_0xbcd352._0x43c2e9);}if(_0x22d7bd[_0x4932f9(_0x467cc0._0x1b518c,0x370,_0x467cc0._0x37ab97,0x270)][_0x4932f9(_0x467cc0._0x344c11,_0x467cc0._0x1bd3a7,0x33b,_0x467cc0._0xcadd48)]>0x0)_0x38c1a9[_0x2cc1f2(_0x467cc0._0x54bc30,_0x467cc0._0x46d558,0x3eb,_0x467cc0._0x120611)]=_0x22d7bd[_0x2cc1f2(0x4f7,_0x467cc0._0x26ca8d,0x3eb,0x482)];function _0x2cc1f2(_0x31b5f2,_0x57408a,_0x34b6d4,_0x536c4c){return _0x2c15f5(_0x31b5f2-_0x81a150._0x357a96,_0x57408a,_0x34b6d4-0x193,_0x536c4c-_0x81a150._0x2a9460);}if(_0x22d7bd[_0x2cc1f2(_0x467cc0._0x476e7b,_0x467cc0._0x927629,_0x467cc0._0x5e023d,_0x467cc0._0x38d41e)]>0x0)_0x38c1a9[_0x2cc1f2(0x68f,0x4c3,0x54f,0x5f4)]=_0x22d7bd[_0x2cc1f2(0x445,0x43e,0x54f,_0x467cc0._0x3622c9)];if(_0x22d7bd[_0x2cc1f2(0x5ed,0x3e3,_0x467cc0._0x223e32,_0x467cc0._0x4812d0)]!=='en')_0x38c1a9[_0x2cc1f2(0x62c,_0x467cc0._0x421798,_0x467cc0._0x385913,0x598)]=_0x22d7bd['lang'];if(_0x22d7bd[_0x4932f9(_0x467cc0._0x40044e,0x417,_0x467cc0._0x25877c,_0x467cc0._0x4e51ad)])_0x38c1a9['region']=_0x22d7bd[_0x2cc1f2(0x465,_0x467cc0._0x31b65a,_0x467cc0._0x1d573e,0x3d4)];return yield createToolOutput(formatResults(_0x140435),{'engine':_0x143adc,'count':_0x140435[_0x2cc1f2(0x387,_0x467cc0._0xf9089d,_0x467cc0._0x5b6e1a,_0x467cc0._0x5dbc1e)],'items':_0x140435,'query':_0x22d7bd[_0x2cc1f2(_0x467cc0._0x1c4ea6,_0x467cc0._0x1b8835,_0x467cc0._0x332089,0x2f5)],...Object[_0x4932f9(0x22a,_0x467cc0._0x166180,0x209,0x185)](_0x38c1a9)[_0x4932f9(_0x467cc0._0x53ab5f,0x3d2,0x33b,_0x467cc0._0x4d8d2f)]>0x0?{'appliedFilters':_0x38c1a9}:{},'offset':_0x22d7bd['offset'],'totalRequested':_0x22d7bd['count'],'hydrated':_0x22d7bd[_0x4932f9(0x3b5,0x3cf,_0x467cc0._0x7b0a7a,_0x467cc0._0x20e630)]}),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};