@nuvin/agent-core 0.1.0-rc.3 → 0.1.0-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VERSION +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/agent/topic-reminder-extension.d.ts +2 -2
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-FKZ3QQWZ.js +1 -1
- package/dist/chunk-NHBKADBW.js +1 -1
- package/dist/chunk-NYZR4XKO.js +1 -1
- package/dist/chunk-QDOE7NWO.js +1 -1
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/models/index.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/types.d.ts +9 -0
- package/dist/tools/index.js +1 -1
- package/package.json +1 -1
package/dist/tools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x15240c,_0x33fbef){const _0x4bcab2={_0x3843e5:0x3b7,_0x571773:0x52,_0x42feca:0x178,_0x57d112:0x1ff,_0x1bc734:0x40,_0x574202:0xab,_0x58442e:0xd1,_0x5c4f7e:0x6d5,_0x290f1b:0x32,_0x1fbbdf:0x188,_0x22d718:0x1a6,_0x3a43f7:0x3e,_0x5d3907:0x11,_0x45be50:0xd7,_0x27a9a3:0xd8,_0x297e7a:0x624,_0x15bd28:0x6e8,_0x54afc2:0x6e5,_0x245023:0x2bc,_0x3fa872:0x259},_0x3ca60f={_0x578567:0x1b8};function _0x354562(_0x4d3a42,_0xae4aaf,_0x3bf4b6,_0x3a0b13){return _0x1df5(_0x3a0b13-0x2f4,_0xae4aaf);}const _0x2b8ebf=_0x15240c();function _0x439b33(_0x196a5d,_0xacd0dd,_0x5b2623,_0x4d281e){return _0x1df5(_0xacd0dd- -_0x3ca60f._0x578567,_0x196a5d);}while(!![]){try{const _0x37e55a=-parseInt(_0x354562(0x3e2,0x497,_0x4bcab2._0x3843e5,0x523))/0x1+parseInt(_0x439b33(_0x4bcab2._0x571773,0xc5,_0x4bcab2._0x42feca,_0x4bcab2._0x57d112))/0x2*(parseInt(_0x439b33(0x32,0x99,0x96,-_0x4bcab2._0x1bc734))/0x3)+parseInt(_0x439b33(-_0x4bcab2._0x574202,0x12,_0x4bcab2._0x58442e,0xba))/0x4+-parseInt(_0x354562(0x695,_0x4bcab2._0x5c4f7e,0x6e5,0x602))/0x5*(parseInt(_0x439b33(_0x4bcab2._0x290f1b,_0x4bcab2._0x1fbbdf,0x159,0x72))/0x6)+parseInt(_0x439b33(-_0x4bcab2._0x22d718,-_0x4bcab2._0x3a43f7,-0x1a3,0xb9))/0x7+-parseInt(_0x439b33(-0x95,-_0x4bcab2._0x5d3907,_0x4bcab2._0x45be50,-_0x4bcab2._0x27a9a3))/0x8+-parseInt(_0x354562(_0x4bcab2._0x297e7a,0x696,_0x4bcab2._0x15bd28,_0x4bcab2._0x54afc2))/0x9*(-parseInt(_0x439b33(_0x4bcab2._0x245023,0x14c,_0x4bcab2._0x3fa872,0x119))/0xa);if(_0x37e55a===_0x33fbef)break;else _0x2b8ebf['push'](_0x2b8ebf['shift']());}catch(_0x4152a4){_0x2b8ebf['push'](_0x2b8ebf['shift']());}}}(_0x2ed3,0x28633));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-FKZ3QQWZ.js';import{getTextFromMessage}from'../chunk-QDOE7NWO.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 _0x27768c from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x257320(0x48c,0x67a,0x57a,0x4aa),'.tsx':_0x257320(0x568,0x4e5,0x50c,0x5ed),'.js':_0x3342ed(0x304,0x303,0x337,0x3c5),'.jsx':_0x3342ed(0x121,0x153,0x233,0x3a7),'.mjs':_0x3342ed(0x416,0x3e8,0x337,0x2e2),'.cjs':_0x257320(0x462,0x3f5,0x3c3,0x481),'.mts':'typescript','.cts':'typescript','.json':_0x257320(0x29a,0x262,0x39e,0x3ad),'.jsonc':_0x257320(0x48d,0x318,0x482,0x36a)};function getLanguageId(_0x43b0c7){return EXTENSION_TO_LANGUAGE[_0x27768c['extname'](_0x43b0c7)['toLowerCase']()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x4e50ef){return pathToFileURL(_0x4e50ef)['toString']();}function textDocumentPosition(_0x3e32f4){const _0x31c52a={_0x5b9164:0x186,_0x72a12:0x4f6,_0x34b786:0x38e,_0x357f1a:0x5ea},_0x2708fd={_0x3ddbd2:0x58,_0x56ae75:0x4a},_0x32588b={_0x470c4c:0x6c,_0x5e6de4:0x39d,_0x1dc5ce:0x5b};function _0x5baa32(_0x41a0c0,_0x22f197,_0x4d96e3,_0x881ab4){return _0x3342ed(_0x41a0c0-_0x32588b._0x470c4c,_0x22f197,_0x41a0c0- -_0x32588b._0x5e6de4,_0x881ab4-_0x32588b._0x1dc5ce);}function _0x1f971b(_0xa3d6fc,_0x35db2d,_0x241236,_0x16aaa4){return _0x3342ed(_0xa3d6fc-0xd6,_0x16aaa4,_0xa3d6fc-_0x2708fd._0x3ddbd2,_0x16aaa4-_0x2708fd._0x56ae75);}return{'textDocument':{'uri':uriForPath(_0x3e32f4[_0x5baa32(-_0x31c52a._0x5b9164,-0x265,-0x9b,-0xcf)])},'position':{'line':_0x3e32f4['line'],'character':_0x3e32f4[_0x1f971b(_0x31c52a._0x72a12,_0x31c52a._0x34b786,0x4c3,_0x31c52a._0x357f1a)]}};}function normalizeLocations(_0x7ce39e){const _0x2b6816={_0x30f0b8:0x1bd,_0x3b5cd3:0x170,_0x270269:0x1b3},_0x20a548={_0x3177dc:0x1b5,_0x2c7aff:0x189,_0x34ff71:0x207};if(!_0x7ce39e)return[];function _0x13db82(_0x14a3f9,_0x445afd,_0x50295e,_0xee9951){return _0x257320(_0x14a3f9-_0x20a548._0x3177dc,_0x445afd-_0x20a548._0x2c7aff,_0xee9951- -_0x20a548._0x34ff71,_0x14a3f9);}return Array[_0x13db82(_0x2b6816._0x30f0b8,0x170,_0x2b6816._0x3b5cd3,_0x2b6816._0x270269)](_0x7ce39e)?_0x7ce39e:[_0x7ce39e];}async function createLspClient(_0x5cb4dc){const _0x5e7702={_0x2bc54f:0x72a,_0x2b846d:0x6ea,_0x4d3b7c:0x6b4,_0x41a521:0x626,_0x59643d:0x407,_0x4f4e81:0x4c0,_0xb428bc:0x3d9,_0x3b1165:0x525,_0x242d76:0x5fe,_0x2f86ca:0x647,_0x27122d:0x437,_0x91ce68:0x415,_0x2ba204:0x422,_0x1eecc0:0x4e3,_0x1d4660:0x600,_0x28fbea:0x7fc,_0x456d2b:0x6f5,_0x3534f5:0x716,_0x1d89ed:0x5a0,_0xdedc4:0x3dc,_0x448c7e:0x4ab,_0x49cd32:0x498,_0x4428fb:0x721,_0x509e66:0x64c,_0x470159:0x6f9,_0x3c031e:0x6a3,_0x3659c0:0x3e2,_0x1435c8:0x3fe,_0x257bab:0x544,_0x288f26:0x3e2,_0x589c4c:0x66c,_0x3b6fe5:0x504,_0x33e9fd:0x3ad,_0x4eb9cf:0x40c,_0x4eb63d:0x37e,_0x368ee4:0x4a9,_0x208275:0x317,_0x1ecf04:0x3c8,_0x47e537:0x5c2,_0x111997:0x706,_0x5c09f3:0x557,_0x10e34e:0x42b,_0x56e765:0x367,_0x5df298:0x433},_0x1f554d={_0x17f385:0x8e},_0x5d1fe0={_0x4fc703:0x23a,_0x788275:0x2a8,_0x401396:0x789,_0x5d0bf9:0x71a,_0x27dafa:0x6d2,_0x1c4c47:0x33e,_0x83f2a:0x24e,_0x11fb31:0x2c1,_0x28c35f:0x123,_0x47e777:0x7ac,_0x27b92b:0x32d,_0x531099:0x651,_0x171dfa:0x699,_0x10867d:0x7d9},_0x40a87c={_0x3ae5a1:0x19,_0x33366c:0x3b3,_0x584358:0x15d},_0x104eda={_0x2a1159:0x251},_0x4ab700={_0x5e0cf2:0x511,_0x137bb1:0x451,_0x3c772a:0x5b8,_0x3aa397:0x487},_0x252aa3={_0x3f43b9:0x68f,_0x2c8374:0x75b,_0x4480a2:0x7ac,_0x499d71:0x55a},_0x321c4e={_0x27e9eb:0xef},_0x104aa7={_0x427832:0x18d,_0x12ab4c:0x500,_0x4cdde7:0x520},_0x3fab73={_0x430dc7:0xe4,_0x336b6d:0x4d1,_0x2f29fe:0x95},_0x6b76b0={_0x1125df:0x5b,_0x4477a2:0x1cf},_0x3c2dbd={_0x257001:0x1d8,_0x32f852:0x530},_0x2073ac={_0x5b162b:0x68a},_0x4a48f3={_0x3b97e7:0x16,_0x10c6bc:0x23,_0x27045f:0x10d,_0x50d29c:0x50,_0x2e90a0:0xb4},_0x14d36e={_0x5ec0cc:0x171,_0x1d867a:0x634},_0x7d6cab={_0x3c7853:0x851,_0x5e122f:0x74c,_0x514bdc:0x6ea,_0x213f3e:0x898,_0x4d2f1f:0x1ed,_0x35ab0f:0x278,_0x266a6d:0x170},_0x21bf89={_0x7cc268:0x38b,_0x35112c:0x1de},_0x4de099={_0x33f86c:0x4ad,_0x3aff7e:0x49d,_0x1fe4a4:0x542,_0x1db9c5:0x360,_0x2fc373:0x3e9},_0x5002d9={_0x44cd0f:0x20},_0x4f6f59={_0x283151:0x39b,_0x38c93:0x57a,_0x21a487:0x3d9,_0x5a574f:0x122},_0x214ef6={_0x4c6733:0x53,_0x35e1aa:0x145},_0x3bd19e={_0x35f74f:0x7,_0x4efccf:0xd5,_0x24f497:0x5fb,_0x3622c1:0x6c1,_0x4e2018:0x76b,_0xb50f07:0x645},_0x25388f={_0x2e0ea4:0x1d9,_0x102538:0xeb},_0x5eefa8={_0x49d240:0x360,_0x3f58ed:0x314,_0x3b0f98:0x3bd,_0x3cc0b0:0x2d4,_0x42adb9:0x5ef,_0xd3b535:0x3ca,_0x345f11:0x4f5,_0x19bae0:0x4a5},_0x2121e7={_0x5ab121:0x2c9,_0x4471b5:0x24a,_0x3826ab:0x7af,_0x1347c9:0x573,_0x4d651a:0x537,_0x5f047b:0x3de,_0x53f61d:0xec,_0x19b3a6:0xf9},_0x51ddf0={_0x529414:0x5b,_0x4014a1:0x136,_0x1eade5:0x8e,_0x520632:0x186,_0x28da81:0x1,_0x215913:0x13,_0x3ac192:0x53c,_0x3a0877:0x535,_0x1668dc:0x557,_0x4be162:0x6d7,_0x464504:0x5c7},_0x2fa8b9={_0x4120d5:0x18c},_0x1992fe={_0xa51f87:0x4,_0x8bb324:0xcf},_0x2633d5=_0x5cb4dc[_0x36a7a4(0x640,0x5c0,_0x5e7702._0x2bc54f,_0x5e7702._0x2b846d)][_0x36a7a4(_0x5e7702._0x4d3b7c,0x5b5,0x5e3,_0x5e7702._0x41a521)][_0x36a7a4(0x3e4,_0x5e7702._0x59643d,_0x5e7702._0x4f4e81,0x529)],_0x1edb66=_0x5cb4dc['handle'][_0x3a8938(_0x5e7702._0xb428bc,_0x5e7702._0x3b1165,_0x5e7702._0x242d76,_0x5e7702._0x2f86ca)]['stdin'];function _0x3a8938(_0x3d4a90,_0x2781d8,_0x11aa08,_0x176e9a){return _0x257320(_0x3d4a90-_0x1992fe._0xa51f87,_0x2781d8-_0x1992fe._0x8bb324,_0x2781d8-0xe2,_0x11aa08);}if(!_0x2633d5||!_0x1edb66)throw new Error(_0x3a8938(0x5c2,0x44c,_0x5e7702._0x27122d,_0x5e7702._0x91ce68));const _0x5e8f52=createMessageConnection(new StreamMessageReader(_0x2633d5),new StreamMessageWriter(_0x1edb66)),_0x442c22=new Map(),_0x2fadda=new Map();let _0x5b7a7b=![];_0x5e8f52[_0x36a7a4(_0x5e7702._0x2ba204,0x388,_0x5e7702._0x1eecc0,0x4bc)]('textDocument/publishDiagnostics',_0x293835=>{const _0xedcdf={_0x5ef02e:0x1e0};function _0x4204e5(_0x566359,_0x167d81,_0x1b6d8a,_0x3d3bdf){return _0x36a7a4(_0x3d3bdf,_0x167d81-_0xedcdf._0x5ef02e,_0x1b6d8a- -0x63,_0x3d3bdf-0x198);}function _0x984fcd(_0x595ea4,_0x20c81a,_0x42d9cc,_0x5b6653){return _0x36a7a4(_0x20c81a,_0x20c81a-_0x2fa8b9._0x4120d5,_0x5b6653- -0x583,_0x5b6653-0x159);}_0x442c22[_0x984fcd(-_0x51ddf0._0x529414,0x1,-0x181,-_0x51ddf0._0x4014a1)](_0x293835[_0x984fcd(-_0x51ddf0._0x1eade5,0x67,-0xa3,0xa7)],_0x293835[_0x984fcd(0x5a,_0x51ddf0._0x520632,_0x51ddf0._0x28da81,_0x51ddf0._0x215913)]);const _0x250a0f=_0x2fadda[_0x4204e5(0x5aa,_0x51ddf0._0x3ac192,0x546,_0x51ddf0._0x3a0877)](_0x293835[_0x4204e5(_0x51ddf0._0x1668dc,_0x51ddf0._0x4be162,_0x51ddf0._0x464504,0x686)]);if(!_0x250a0f)return;_0x2fadda[_0x4204e5(0x600,0x6c4,0x5b4,0x5d1)](_0x293835['uri']);for(const _0x5c343f of _0x250a0f)_0x5c343f();}),_0x5e8f52[_0x36a7a4(_0x5e7702._0x1d4660,_0x5e7702._0x28fbea,_0x5e7702._0x456d2b,0x7e0)]();const _0x487f8b=await _0x5e8f52[_0x3a8938(_0x5e7702._0x3534f5,_0x5e7702._0x1d89ed,0x702,0x6c2)](_0x3a8938(_0x5e7702._0xdedc4,_0x5e7702._0x448c7e,0x4dc,_0x5e7702._0x49cd32),{'processId':process[_0x3a8938(_0x5e7702._0x4428fb,_0x5e7702._0x509e66,_0x5e7702._0x470159,_0x5e7702._0x3c031e)],'rootUri':uriForPath(_0x5cb4dc[_0x3a8938(0x389,_0x5e7702._0x3659c0,0x3a6,_0x5e7702._0x1435c8)]),'workspaceFolders':[{'uri':uriForPath(_0x5cb4dc[_0x3a8938(_0x5e7702._0x257bab,_0x5e7702._0x288f26,0x2bc,0x3ba)]),'name':_0x5cb4dc['server']['id']}],'initializationOptions':_0x5cb4dc[_0x3a8938(0x6df,_0x5e7702._0x589c4c,0x69e,_0x5e7702._0x3b6fe5)][_0x3a8938(_0x5e7702._0x33e9fd,_0x5e7702._0x4eb9cf,0x3c8,_0x5e7702._0x4eb63d)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x36a7a4(0x491,0x536,_0x5e7702._0x368ee4,0x505),_0x36a7a4(_0x5e7702._0x208275,0x5b2,0x457,_0x5e7702._0x1ecf04)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x5e8f52['sendNotification'](_0x3a8938(0x53d,_0x5e7702._0x47e537,0x703,_0x5e7702._0x111997),{});const _0x58316b={'serverId':_0x5cb4dc[_0x3a8938(0x610,0x4b6,_0x5e7702._0x5c09f3,_0x5e7702._0x10e34e)]['id'],'root':_0x5cb4dc[_0x3a8938(_0x5e7702._0x56e765,_0x5e7702._0x288f26,0x552,_0x5e7702._0x5df298)],'connection':_0x5e8f52,'diagnostics':_0x442c22,'capabilities':_0x487f8b[_0x3a8938(0x527,0x567,0x5e3,0x46c)]??{},'notify':{async 'open'({path:_0x368972}){const _0x2454a4={_0x2a5711:0xd9,_0x16c28f:0x1c6};function _0x240da5(_0x4ef30a,_0x2e287c,_0x2ec253,_0x5bd882){return _0x36a7a4(_0x4ef30a,_0x2e287c-0xe7,_0x5bd882- -0x550,_0x5bd882-0x107);}function _0x4f8b47(_0x5f074c,_0x30d762,_0x19f270,_0x270841){return _0x36a7a4(_0x30d762,_0x30d762-_0x2454a4._0x2a5711,_0x19f270-0xbb,_0x270841-_0x2454a4._0x16c28f);}const _0x319764=await readFile(_0x368972,_0x240da5(0x8d,_0x2121e7._0x5ab121,_0x2121e7._0x4471b5,0x194));_0x5e8f52[_0x4f8b47(0x8ac,0x8d0,_0x2121e7._0x3826ab,0x6f1)](_0x4f8b47(_0x2121e7._0x1347c9,0x50e,_0x2121e7._0x4d651a,_0x2121e7._0x5f047b),{'textDocument':{'uri':uriForPath(_0x368972),'languageId':getLanguageId(_0x368972)??_0x240da5(-_0x2121e7._0x53f61d,-0x140,-0x18b,-_0x2121e7._0x19b3a6),'version':0x1,'text':_0x319764}});},async 'change'({path:_0x2b9fed,version:_0x2e0daa}){const _0x30906d={_0x4df8c6:0x57,_0x5bc1c1:0x19d};function _0x487116(_0x11c60f,_0x283a5d,_0x19fc0a,_0x40b160){return _0x36a7a4(_0x19fc0a,_0x283a5d-0xda,_0x283a5d- -0x3d0,_0x40b160-0x159);}function _0x44ba51(_0x49069c,_0x117eef,_0x1a7191,_0x1eecab){return _0x36a7a4(_0x49069c,_0x117eef-_0x30906d._0x4df8c6,_0x1a7191- -_0x30906d._0x5bc1c1,_0x1eecab-0xe1);}const _0x58e573=await readFile(_0x2b9fed,_0x487116(_0x5eefa8._0x49d240,_0x5eefa8._0x3f58ed,_0x5eefa8._0x3b0f98,_0x5eefa8._0x3cc0b0));_0x5e8f52['sendNotification'](_0x44ba51(_0x5eefa8._0x42adb9,_0x5eefa8._0xd3b535,_0x5eefa8._0x345f11,_0x5eefa8._0x19bae0),{'textDocument':{'uri':uriForPath(_0x2b9fed),'version':_0x2e0daa},'contentChanges':[{'text':_0x58e573}]});},async 'close'({path:_0x19dbb1}){const _0x9d18f7={_0x5d769f:0x1ef};function _0x1c899c(_0x42a688,_0x50fea0,_0x48b158,_0x19d0ab){return _0x3a8938(_0x42a688-0x4d,_0x42a688-0x93,_0x19d0ab,_0x19d0ab-_0x9d18f7._0x5d769f);}function _0x302f27(_0x1934e0,_0x557ea5,_0x547b6c,_0x2b3d31){return _0x36a7a4(_0x1934e0,_0x557ea5-_0x25388f._0x2e0ea4,_0x547b6c- -0x67d,_0x2b3d31-_0x25388f._0x102538);}_0x5e8f52[_0x302f27(_0x3bd19e._0x35f74f,_0x3bd19e._0x4efccf,0x77,-0x3b)](_0x1c899c(_0x3bd19e._0x24f497,_0x3bd19e._0x3622c1,_0x3bd19e._0x4e2018,_0x3bd19e._0xb50f07),{'textDocument':{'uri':uriForPath(_0x19dbb1)}});}},'request':{async 'definition'(_0x296c87){function _0x233145(_0x5bc29c,_0x2cda04,_0x31aa03,_0x38ac0a){return _0x36a7a4(_0x5bc29c,_0x2cda04-_0x214ef6._0x4c6733,_0x2cda04- -0x232,_0x38ac0a-_0x214ef6._0x35e1aa);}function _0x18a838(_0x2105e1,_0x3a2ee5,_0x27ef8a,_0xe5ba67){return _0x36a7a4(_0x2105e1,_0x3a2ee5-0x19f,_0x3a2ee5- -0x4ed,_0xe5ba67-0x1b0);}return normalizeLocations(await _0x5e8f52[_0x233145(_0x4f6f59._0x283151,0x42c,_0x4f6f59._0x38c93,_0x4f6f59._0x21a487)](_0x18a838(-0x152,-0xa7,-_0x4f6f59._0x5a574f,-0x20f),textDocumentPosition(_0x296c87)));},async 'references'(_0x420f34){function _0x43650f(_0x9158e1,_0x48476b,_0xa3c230,_0xe26f16){return _0x36a7a4(_0xe26f16,_0x48476b-0x143,_0x9158e1- -0x600,_0xe26f16-0x1f);}return normalizeLocations(await _0x5e8f52['sendRequest'](_0x43650f(-0xaa,-0x100,_0x5002d9._0x44cd0f,-0x6f),{...textDocumentPosition(_0x420f34),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x1e9329){const _0x1fe708={_0x198222:0x179};function _0x5ce17e(_0x17c01b,_0x2440cc,_0x4ad264,_0x2ca09e){return _0x36a7a4(_0x4ad264,_0x2440cc-0x137,_0x2ca09e- -_0x1fe708._0x198222,_0x2ca09e-0x25);}function _0x264bd6(_0x4f0a2f,_0x487383,_0x347191,_0x33d42a){return _0x3a8938(_0x4f0a2f-0xa4,_0x33d42a- -0x4da,_0x347191,_0x33d42a-0x1d7);}return await _0x5e8f52[_0x5ce17e(_0x4de099._0x33f86c,_0x4de099._0x3aff7e,0x405,0x4e5)](_0x5ce17e(0x44f,_0x4de099._0x1fe4a4,_0x4de099._0x1db9c5,_0x4de099._0x2fc373),textDocumentPosition(_0x1e9329))??null;},async 'documentSymbol'(_0x3909fe){const _0x169100={_0x559ac5:0x54};function _0x2dbcba(_0xddbca5,_0x4547f3,_0x549b4d,_0x4fe039){return _0x3a8938(_0xddbca5-0x1ee,_0x4547f3-0x1ac,_0xddbca5,_0x4fe039-_0x169100._0x559ac5);}function _0x2394cf(_0x5e3fe3,_0x38073c,_0x3158e3,_0x4848ea){return _0x36a7a4(_0x5e3fe3,_0x38073c-0x81,_0x3158e3- -_0x21bf89._0x7cc268,_0x4848ea-_0x21bf89._0x35112c);}return await _0x5e8f52[_0x2dbcba(_0x7d6cab._0x3c7853,_0x7d6cab._0x5e122f,_0x7d6cab._0x514bdc,_0x7d6cab._0x213f3e)](_0x2394cf(0x189,_0x7d6cab._0x4d2f1f,_0x7d6cab._0x35ab0f,_0x7d6cab._0x266a6d),{'textDocument':{'uri':uriForPath(_0x3909fe)}})??[];},async 'workspaceSymbol'(_0x2490e7){const _0x31b8fe={_0x1ebddf:0x94,_0x3e6e3a:0x63b,_0x2285f2:0x71};function _0x1824b0(_0x4359b8,_0x4bb018,_0x13b2e2,_0x100b5b){return _0x36a7a4(_0x4359b8,_0x4bb018-_0x14d36e._0x5ec0cc,_0x13b2e2- -_0x14d36e._0x1d867a,_0x100b5b-0x1ce);}function _0x49c463(_0x217df7,_0x5182fb,_0x2976bf,_0x2caab4){return _0x36a7a4(_0x5182fb,_0x5182fb-_0x31b8fe._0x1ebddf,_0x2976bf- -_0x31b8fe._0x3e6e3a,_0x2caab4-_0x31b8fe._0x2285f2);}return await _0x5e8f52[_0x49c463(0x19,_0x4a48f3._0x3b97e7,_0x4a48f3._0x10c6bc,_0x4a48f3._0x27045f)](_0x49c463(_0x4a48f3._0x50d29c,0x19f,0x37,_0x4a48f3._0x2e90a0),{'query':_0x2490e7})??[];},async 'implementation'(_0x433b62){const _0x35a660={_0x2970b0:0x74,_0x489477:0x158};function _0x4cbfd4(_0x36797b,_0x39cf7a,_0x52d6c6,_0x4c0aa0){return _0x3a8938(_0x36797b-0x66,_0x52d6c6-_0x35a660._0x2970b0,_0x39cf7a,_0x4c0aa0-_0x35a660._0x489477);}return normalizeLocations(await _0x5e8f52['sendRequest'](_0x4cbfd4(0x58d,0x7b9,_0x2073ac._0x5b162b,0x616),textDocumentPosition(_0x433b62)));},async 'prepareCallHierarchy'(_0xbbc271){function _0x1d0858(_0x337d88,_0x5c367e,_0x4c8548,_0x55d1d0){return _0x3a8938(_0x337d88-_0x3c2dbd._0x257001,_0x337d88- -_0x3c2dbd._0x32f852,_0x4c8548,_0x55d1d0-0xd9);}return await _0x5e8f52['sendRequest'](_0x1d0858(-_0x6b76b0._0x1125df,-0x36,-_0x6b76b0._0x4477a2,0xa1),textDocumentPosition(_0xbbc271))??[];},async 'incomingCalls'(_0xccd4e9){const _0x103b20={_0x3bc944:0x4a,_0x3cb2e7:0x1ef};function _0x410dfe(_0x352387,_0x220490,_0xb55900,_0x7c422c){return _0x36a7a4(_0x220490,_0x220490-_0x3fab73._0x430dc7,_0xb55900- -_0x3fab73._0x336b6d,_0x7c422c-_0x3fab73._0x2f29fe);}function _0x291b20(_0x479f18,_0x3b64a3,_0x532d03,_0xb71a5f){return _0x36a7a4(_0x479f18,_0x3b64a3-0x179,_0x532d03- -_0x103b20._0x3bc944,_0xb71a5f-_0x103b20._0x3cb2e7);}return await _0x5e8f52[_0x410dfe(0x193,0x1e6,_0x104aa7._0x427832,0xad)](_0x291b20(0x597,0x5d6,_0x104aa7._0x12ab4c,_0x104aa7._0x4cdde7),{'item':_0xccd4e9})??[];},async 'outgoingCalls'(_0xef9334){const _0x468fd3={_0x2df479:0x1af};function _0x8e6cbe(_0x14c5e6,_0x456eb1,_0xa76e3f,_0x4dd3e5){return _0x36a7a4(_0x14c5e6,_0x456eb1-0x17a,_0x4dd3e5- -0x5e8,_0x4dd3e5-_0x468fd3._0x2df479);}function _0x5e5c8f(_0x13809e,_0x4086e1,_0x28aa00,_0x41311c){return _0x3a8938(_0x13809e-0x9e,_0x4086e1-_0x321c4e._0x27e9eb,_0x13809e,_0x41311c-0x172);}return await _0x5e8f52[_0x5e5c8f(0x674,_0x252aa3._0x3f43b9,_0x252aa3._0x2c8374,_0x252aa3._0x4480a2)](_0x5e5c8f(0x5ca,0x582,0x431,_0x252aa3._0x499d71),{'item':_0xef9334})??[];}},'waitForDiagnostics'({path:_0x3a6df4,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x2655a5={_0x3dbae6:0x21},_0x36c510={_0x577591:0x2ac},_0x30edde=uriForPath(_0x3a6df4);if(_0x442c22['has'](_0x30edde))return Promise[_0x4a7317(0x1c0,0x134,_0x104eda._0x2a1159,0x282)]();function _0x4a7317(_0x46d866,_0x1e31a5,_0x1ecf48,_0x2e4a04){return _0x36a7a4(_0x2e4a04,_0x1e31a5-0x111,_0x1ecf48- -_0x36c510._0x577591,_0x2e4a04-0x1dd);}return new Promise(_0x4c7c96=>{const _0x4e5691={_0x1840a6:0x418,_0x59b1ac:0x31b,_0x31377e:0x200,_0x543519:0x320,_0x4cb2f1:0x408};function _0x193999(_0x171979,_0x240660,_0x43ce08,_0x43d113){return _0x4a7317(_0x171979-0x77,_0x240660-0x18f,_0x43d113-_0x2655a5._0x3dbae6,_0x240660);}const _0x5e6fcd=setTimeout(()=>{const _0x1e2bb3={_0x193e63:0xd};function _0x483fa5(_0x1e2375,_0x3b2ea3,_0x540a8a,_0x5442ad){return _0x1df5(_0x1e2375-_0x1e2bb3._0x193e63,_0x540a8a);}function _0x204dc3(_0x4db626,_0x13d5a3,_0x1bcaa9,_0x393803){return _0x1df5(_0x13d5a3-0x142,_0x1bcaa9);}const _0x2ffc94=_0x2fadda[_0x483fa5(0x2c5,_0x4e5691._0x1840a6,0x283,_0x4e5691._0x59b1ac)](_0x30edde);_0x2ffc94?.[_0x483fa5(0x333,0x3dc,_0x4e5691._0x31377e,_0x4e5691._0x543519)](_0x657806);if(_0x2ffc94?.[_0x204dc3(0x404,0x4f0,0x394,0x398)]===0x0)_0x2fadda[_0x204dc3(_0x4e5691._0x4cb2f1,0x468,0x59c,0x3b9)](_0x30edde);_0x4c7c96();},timeoutMs),_0x657806=()=>{clearTimeout(_0x5e6fcd),_0x4c7c96();},_0x132d51=_0x2fadda[_0x568a41(_0x4ab700._0x5e0cf2,0x557,0x547,_0x4ab700._0x137bb1)](_0x30edde)??new Set();function _0x568a41(_0x52f374,_0x22d879,_0x1071ee,_0x263244){return _0x4a7317(_0x52f374-0x18,_0x22d879-0x1bb,_0x22d879-0x25a,_0x52f374);}_0x132d51[_0x193999(0x45f,0x537,_0x4ab700._0x3c772a,_0x4ab700._0x3aa397)](_0x657806),_0x2fadda['set'](_0x30edde,_0x132d51);});},async 'shutdown'(){const _0x6b388e={_0x323fb3:0xb6};if(_0x5b7a7b)return;function _0x18dac8(_0x58424b,_0x3955f8,_0x3134ec,_0x5e3f67){return _0x36a7a4(_0x5e3f67,_0x3955f8-_0x40a87c._0x3ae5a1,_0x58424b- -_0x40a87c._0x33366c,_0x5e3f67-_0x40a87c._0x584358);}_0x5b7a7b=!![];function _0x1be627(_0x588880,_0x195614,_0x8be5bb,_0xc3b5ff){return _0x36a7a4(_0x588880,_0x195614-0xd1,_0x8be5bb-_0x6b388e._0x323fb3,_0xc3b5ff-0xe8);}try{await _0x5e8f52[_0x18dac8(0x2ab,0x34c,_0x5d1fe0._0x4fc703,_0x5d1fe0._0x788275)](_0x1be627(_0x5d1fe0._0x401396,0x6d6,_0x5d1fe0._0x5d0bf9,_0x5d1fe0._0x27dafa),null),_0x5e8f52[_0x18dac8(0x341,0x226,_0x5d1fe0._0x1c4c47,0x499)](_0x18dac8(_0x5d1fe0._0x83f2a,0x376,_0x5d1fe0._0x11fb31,_0x5d1fe0._0x28c35f));}catch{}finally{_0x5e8f52[_0x1be627(_0x5d1fe0._0x47e777,0x65a,0x7a4,0x876)](),_0x5cb4dc[_0x18dac8(0x377,0x44b,_0x5d1fe0._0x27b92b,0x339)][_0x1be627(0x634,_0x5d1fe0._0x531099,_0x5d1fe0._0x171dfa,_0x5d1fe0._0x10867d)]['kill']();}}};function _0x36a7a4(_0x8fece9,_0x492427,_0x39bc0e,_0x4c8e51){return _0x3342ed(_0x8fece9-0x127,_0x8fece9,_0x39bc0e-0x22c,_0x4c8e51-_0x1f554d._0x17f385);}return _0x58316b;}import{spawn as _0x115e81}from'child_process';import{access as _0x54360a}from'fs/promises';import _0x140bbb from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x50ee3c from'os';import _0x141f16 from'path';import _0xd6a36b from'which';var installPromises=new Map();function sanitizePackageName(_0x49ab8a){const _0x4e9738={_0x2da8c1:0x2ad,_0x455076:0x28f,_0x1bb962:0x3aa,_0x1d66e4:0x458,_0x74ceda:0x354},_0x3d9ad5={_0x9b86f:0x1a,_0x155969:0x21a};function _0x2e0f1a(_0x277a59,_0x193341,_0x407567,_0x2dfecc){return _0x3342ed(_0x277a59-0xe7,_0x407567,_0x2dfecc- -0x15a,_0x2dfecc-0x6c);}function _0x3a31c5(_0x31c517,_0xedb5ab,_0x10f063,_0x44e17e){return _0x3342ed(_0x31c517-_0x3d9ad5._0x9b86f,_0x44e17e,_0x10f063- -_0x3d9ad5._0x155969,_0x44e17e-0x49);}return _0x49ab8a[_0x2e0f1a(_0x4e9738._0x2da8c1,0x299,_0x4e9738._0x455076,_0x4e9738._0x1bb962)](/^@/,'')[_0x2e0f1a(_0x4e9738._0x1d66e4,_0x4e9738._0x74ceda,0x4eb,_0x4e9738._0x1bb962)](/[/]/g,'__');}function binaryNameForPlatform(_0x3abecd){const _0x35363c={_0x403985:0x2c6,_0x40dcd2:0x18b,_0x196b2a:0x1ec,_0x1ecb64:0x2be,_0x5258fa:0xaf,_0x3f5e5a:0x1ed,_0x433809:0x159,_0x42d030:0xb4},_0x5cec76={_0x4c02d0:0x8};function _0x3e1fc0(_0x15d060,_0x9611e,_0x4bb66d,_0x57d4e5){return _0x3342ed(_0x15d060-0x65,_0x15d060,_0x57d4e5-_0x5cec76._0x4c02d0,_0x57d4e5-0xf3);}function _0x463d6c(_0x2c809b,_0x5dab10,_0x48d624,_0x20ed67){return _0x3342ed(_0x2c809b-0x1b9,_0x20ed67,_0x48d624- -0x17b,_0x20ed67-0x19a);}return process[_0x463d6c(_0x35363c._0x403985,0x2e8,_0x35363c._0x40dcd2,0x1f9)]===_0x3e1fc0(_0x35363c._0x196b2a,0x249,0x38e,_0x35363c._0x1ecb64)?_0x3abecd+_0x463d6c(_0x35363c._0x5258fa,_0x35363c._0x3f5e5a,_0x35363c._0x433809,_0x35363c._0x42d030):_0x3abecd;}async function exists(_0x3f5e76){try{return await access(_0x3f5e76),!![];}catch{return![];}}function runNpmInstall(_0x5c6e17,_0x566511,_0x3fbed8){const _0x337dd8={_0xc21aa:0x12e,_0x264935:0x47,_0x23b572:0x7c,_0x5d44cf:0xb0,_0x3d2ad9:0x48,_0x2a9551:0x30,_0x420844:0x110,_0x26fc59:0x2be,_0x5b6e6a:0x1ae,_0x1cc5be:0x65,_0x3516ef:0x1d6,_0x447482:0x9a,_0x3a1060:0x1c4,_0x382f73:0x17e,_0x3d60f6:0x6e},_0xd53bd={_0x3b6e6f:0x311};return new Promise(_0x45e926=>{const _0x9d55ef={_0x10e26f:0x275},_0x3c013c=spawn(_0xad9158(-0xed,-_0x337dd8._0xc21aa,0x42,-_0x337dd8._0x264935),[_0xad9158(-0x11a,-0x141,-_0x337dd8._0x23b572,-_0x337dd8._0x5d44cf),_0x45ddaf(-_0x337dd8._0x3d2ad9,-_0x337dd8._0x2a9551,-_0x337dd8._0x420844,0x5e),_0x5c6e17,_0x566511],{'env':_0x3fbed8,'stdio':_0x45ddaf(0x282,0x2cb,_0x337dd8._0x26fc59,_0x337dd8._0x5b6e6a)});function _0xad9158(_0x2487d0,_0x3890ca,_0x5d5f54,_0x5f5109){return _0x1df5(_0x3890ca- -_0xd53bd._0x3b6e6f,_0x2487d0);}_0x3c013c['on'](_0x45ddaf(-_0x337dd8._0x1cc5be,0xc7,_0x337dd8._0x3516ef,_0x337dd8._0x447482),()=>_0x45e926(![]));function _0x45ddaf(_0x41be0e,_0x2bbf78,_0x3d3623,_0x213296){return _0x1df5(_0x213296- -_0x9d55ef._0x10e26f,_0x41be0e);}_0x3c013c['on'](_0x45ddaf(0xf5,-_0x337dd8._0x3a1060,-_0x337dd8._0x382f73,-_0x337dd8._0x3d60f6),_0x4beac3=>_0x45e926(_0x4beac3===0x0));});}function shouldDisableLspDownload(_0x493e57=process[_0x257320(0x495,0x401,0x3a7,0x306)]){const _0x72987f={_0x12227b:0x1a6,_0x28ae0f:0x1aa,_0x38540f:0x4d},_0x229d46={_0x407a2b:0x63,_0x186f81:0x464};function _0x471d30(_0x1096c8,_0x42b9c5,_0x12be8d,_0x4bfeaf){return _0x3342ed(_0x1096c8-_0x229d46._0x407a2b,_0x1096c8,_0x4bfeaf- -_0x229d46._0x186f81,_0x4bfeaf-0x194);}const _0x55ccb3=_0x493e57[_0x471d30(0xa0,-_0x72987f._0x12227b,-_0x72987f._0x28ae0f,-_0x72987f._0x38540f)]?.['toLowerCase']();return _0x55ccb3==='true'||_0x55ccb3==='1'||_0x55ccb3==='yes'||_0x55ccb3==='on';}function getLspPackageDir(_0x4c5112){const _0x27b2f7={_0x249df4:0x72d,_0x2514ba:0x10c,_0x4e6975:0x1ea,_0x26ad9e:0x5f0,_0x42462f:0x5e3,_0x1c456b:0x50b},_0x3b988b={_0x3e62e6:0x9f};function _0x1816eb(_0x4c12ec,_0x54556e,_0x498727,_0x23b58b){return _0x257320(_0x4c12ec-0x15c,_0x54556e-_0x3b988b._0x3e62e6,_0x498727-0x1dc,_0x23b58b);}function _0x4ba32c(_0xf12b84,_0x6942ae,_0x72897d,_0x35a4f0){return _0x3342ed(_0xf12b84-0x1e8,_0x72897d,_0x6942ae- -0x1e8,_0x35a4f0-0x1af);}return _0x141f16[_0x1816eb(0x6bf,0x712,0x69e,0x743)](_0x50ee3c[_0x1816eb(0x604,0x6bc,_0x27b2f7._0x249df4,0x84d)](),_0x4ba32c(_0x27b2f7._0x2514ba,_0x27b2f7._0x4e6975,0x34f,0x193),'lsp',_0x1816eb(0x6ce,_0x27b2f7._0x26ad9e,_0x27b2f7._0x42462f,_0x27b2f7._0x1c456b),sanitizePackageName(_0x4c5112));}function getLspBinDir(_0x3f348b){const _0x4e98da={_0x5efcb5:0xd0},_0x47d032={_0x4e41b7:0xaf,_0x27f200:0x1a8};function _0x40d802(_0x386b25,_0x57b0be,_0x1c21a6,_0x226f8f){return _0x3342ed(_0x386b25-_0x47d032._0x4e41b7,_0x386b25,_0x226f8f- -0x365,_0x226f8f-_0x47d032._0x27f200);}return _0x141f16['join'](getLspPackageDir(_0x3f348b),'node_modules',_0x40d802(0x122,0x25d,_0x4e98da._0x5efcb5,0x129));}async function findPackageBinary(_0x19a997,_0x21ece5){const _0x25357f={_0x206e92:0x126,_0xa779cf:0x36d,_0x29d40f:0x4ed,_0x168c09:0x591,_0x1b7944:0x432};let _0x560fc5=_0x141f16[_0x10dd8e(0x1f6,_0x25357f._0x206e92,_0x25357f._0xa779cf,0x22d)](_0x21ece5);function _0x187988(_0x3bc577,_0x119b86,_0x1444d0,_0x44e241){return _0x3342ed(_0x3bc577-0x1bc,_0x3bc577,_0x44e241- -0x25b,_0x44e241-0x1e6);}function _0x10dd8e(_0x3f1501,_0x5d4cc6,_0x44711b,_0x214e82){return _0x257320(_0x3f1501-0x1ea,_0x5d4cc6-0x1a6,_0x214e82- -0x130,_0x44711b);}const _0x3ade04=binaryNameForPlatform(_0x19a997);while(!![]){const _0x42ecb9=_0x141f16['join'](_0x560fc5,'node_modules','.bin',_0x3ade04);if(await exists(_0x42ecb9))return _0x42ecb9;const _0xad1d7=_0x141f16[_0x10dd8e(_0x25357f._0x29d40f,0x2d2,_0x25357f._0x168c09,_0x25357f._0x1b7944)](_0x560fc5);if(_0xad1d7===_0x560fc5)return void 0x0;_0x560fc5=_0xad1d7;}}async function findPathBinary(_0x4f7315,_0x273c83){const _0x3d3807={_0x2de373:0x55e,_0x16500f:0x3ec,_0x3e8038:0x36e,_0x5194e2:0x2d0,_0x5d2963:0x43e,_0x7a1dc3:0x3f3,_0x2e79fe:0x494,_0x18c8ca:0x507,_0x4e2eb2:0x5c2,_0x475872:0x6fa,_0x5965c7:0x868,_0x961f58:0x5ff},_0x5326fe={_0x3e0027:0x255,_0x32e5a5:0x1bb};function _0xfaaf04(_0x4347e0,_0x14dcb6,_0x288287,_0x2a09e1){return _0x257320(_0x4347e0-0x1d1,_0x14dcb6-0x18b,_0x288287-0x45,_0x4347e0);}const _0x1ae0fc=getLspBinDir(_0x273c83),_0x2a787e=[_0x1ae0fc,process[_0xfaaf04(_0x3d3807._0x2de373,0x3d5,_0x3d3807._0x16500f,_0x3d3807._0x3e8038)][_0xfaaf04(_0x3d3807._0x5194e2,0x5b3,_0x3d3807._0x5d2963,_0x3d3807._0x7a1dc3)]]['filter'](Boolean)[_0xfaaf04(0x558,_0x3d3807._0x2e79fe,_0x3d3807._0x18c8ca,_0x3d3807._0x4e2eb2)](_0x141f16[_0xa6602a(0x844,_0x3d3807._0x475872,_0x3d3807._0x5965c7,_0x3d3807._0x961f58)]);function _0xa6602a(_0x1ad725,_0xb52e12,_0x365bf3,_0x51f783){return _0x3342ed(_0x1ad725-0x15e,_0x1ad725,_0xb52e12-_0x5326fe._0x3e0027,_0x51f783-_0x5326fe._0x32e5a5);}try{return await _0xd6a36b(_0x4f7315,{'path':_0x2a787e});}catch{return void 0x0;}}async function resolvePackageBinary(_0x52da10){const _0x5a8d3d={_0x3954c8:0x66a,_0x3bc393:0x3a1,_0x3b9dd0:0x266,_0xb1fdd0:0x854,_0x20603d:0xf5,_0x2b5563:0x2bc,_0x2e3326:0x172,_0x42dd2a:0x233,_0x3f0703:0x25b,_0x394a3e:0x233,_0x4d7895:0x263,_0x17e321:0x39f,_0x5f3811:0x2e3,_0x101f93:0x745,_0x2f2af9:0x69e,_0x1e3330:0x779},_0x520acb={_0x2b7935:0x10f},_0x33c2fa={_0x485174:0x31,_0x35da7d:0x71,_0x13d7b1:0x9c,_0x37a046:0x7f,_0x43051e:0x90,_0x49eb25:0x116,_0x1c19b7:0x30},_0x294619={_0x2c2e71:0x127},_0x25f3f7={_0x1d66f2:0x109,_0x5e0157:0x2b3},_0x310094=_0x52da10[_0x20d99d(0x681,_0x5a8d3d._0x3954c8,0x6aa,0x631)]??_0x52da10[_0x551cc9(_0x5a8d3d._0x3bc393,_0x5a8d3d._0x3b9dd0,0x2c5,0x2e3)],_0x491839=await findPackageBinary(_0x310094,_0x52da10[_0x20d99d(0x629,0x773,0x79d,_0x5a8d3d._0xb1fdd0)]);if(_0x491839)return _0x491839;const _0x74227e=await findPathBinary(_0x310094,_0x52da10['packageName']);if(_0x74227e)return _0x74227e;const _0x23e2b4=_0x52da10[_0x551cc9(_0x5a8d3d._0x20603d,_0x5a8d3d._0x2b5563,_0x5a8d3d._0x2e3326,_0x5a8d3d._0x42dd2a)]??process[_0x551cc9(0x289,_0x5a8d3d._0x3f0703,0x2ff,_0x5a8d3d._0x394a3e)];function _0x20d99d(_0x2168d6,_0x436e2f,_0x56af4a,_0x25d28b){return _0x3342ed(_0x2168d6-_0x25f3f7._0x1d66f2,_0x436e2f,_0x56af4a-_0x25f3f7._0x5e0157,_0x25d28b-0x9e);}if(shouldDisableLspDownload(_0x23e2b4))return void 0x0;const _0x509d2b=getLspPackageDir(_0x52da10['packageName']),_0x6277a2=_0x52da10[_0x551cc9(0x3f1,_0x5a8d3d._0x4d7895,_0x5a8d3d._0x17e321,_0x5a8d3d._0x5f3811)]+':'+_0x310094;let _0x9392f4=installPromises[_0x551cc9(0x221,0x2c2,0x1aa,0x295)](_0x6277a2);!_0x9392f4&&(_0x9392f4=((async()=>{const _0x5e8365={_0x516797:0x1e4,_0x1a4b92:0xf1};function _0x112c69(_0x6b49ca,_0x398350,_0x154887,_0x2b839a){return _0x551cc9(_0x6b49ca-0x95,_0x398350-_0x5e8365._0x516797,_0x2b839a,_0x154887-_0x5e8365._0x1a4b92);}await mkdir(_0x509d2b,{'recursive':!![]});const _0x397580=await runNpmInstall(_0x509d2b,_0x52da10[_0x1ad686(0x6e,_0x33c2fa._0x485174,-0x11,-_0x33c2fa._0x35da7d)],_0x23e2b4);function _0x1ad686(_0x1d9381,_0xb83098,_0x2fbe23,_0x83c39a){return _0x551cc9(_0x1d9381-0x123,_0xb83098-_0x294619._0x2c2e71,_0x2fbe23,_0xb83098- -0x2b2);}if(!_0x397580)return void 0x0;const _0x10c63b=_0x141f16[_0x1ad686(0xa1,_0x33c2fa._0x13d7b1,-_0x33c2fa._0x37a046,_0x33c2fa._0x43051e)](getLspBinDir(_0x52da10[_0x1ad686(-_0x33c2fa._0x49eb25,_0x33c2fa._0x485174,-_0x33c2fa._0x1c19b7,0x183)]),binaryNameForPlatform(_0x310094));return await exists(_0x10c63b)?_0x10c63b:void 0x0;})()),installPromises['set'](_0x6277a2,_0x9392f4));function _0x551cc9(_0x1002e7,_0x217bd0,_0x22ebeb,_0x385e6d){return _0x3342ed(_0x1002e7-_0x520acb._0x2b7935,_0x22ebeb,_0x385e6d- -0xe8,_0x385e6d-0xc7);}try{return await _0x9392f4;}catch{return void 0x0;}finally{installPromises[_0x20d99d(0x75c,_0x5a8d3d._0x101f93,_0x5a8d3d._0x2f2af9,_0x5a8d3d._0x1e3330)](_0x6277a2);}}var TYPESCRIPT_EXTENSIONS=[_0x257320(0x579,0x4d0,0x4ed,0x5a6),_0x3342ed(0x297,0x20b,0x23a,0x1db),_0x3342ed(0x445,0x2fb,0x358,0x22d),_0x3342ed(0x337,0x372,0x2f8,0x1ce),'.mjs',_0x3342ed(0x38b,0x133,0x252,0x183),_0x257320(0x354,0x2a9,0x39c,0x3ab),'.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x257320(0x206,0x42b,0x34c,0x3ba),'.jsonc'],TYPESCRIPT_ROOT_MARKERS=['package-lock.json',_0x3342ed(0x43b,0x456,0x4d2,0x4d7),_0x257320(0x5c4,0x4b1,0x4a0,0x34b),_0x257320(0x610,0x3c7,0x4b7,0x46f),_0x257320(0x3be,0x464,0x32d,0x343),_0x257320(0x3cc,0x28a,0x389,0x226),_0x257320(0x2e4,0x3aa,0x31a,0x3c6),_0x3342ed(0x203,0x337,0x24a,0x325)],BIOME_ROOT_MARKERS=[_0x3342ed(0x2e9,0x299,0x289,0x157),_0x3342ed(0x342,0x311,0x450,0x5c3),_0x257320(0x2d8,0x1be,0x2b3,0x23f),_0x257320(0x525,0x3fc,0x55e,0x54d),_0x3342ed(0x30b,0x554,0x414,0x35b),_0x3342ed(0x4c9,0x464,0x42b,0x54e),_0x3342ed(0x1ae,0x2fd,0x2a1,0x1fe),_0x3342ed(0x35a,0x280,0x24a,0x13c)];async function exists2(_0x263e82){try{return await _0x54360a(_0x263e82),!![];}catch{return![];}}async function findUp(_0x39c163,_0x13b3cc){const _0x121120={_0x26a53a:0x30,_0x23ac84:0x1bf,_0x2bd9fb:0x376,_0x37a405:0x188},_0x51d362={_0x48ff29:0x1f2};function _0x105522(_0x2e428c,_0x385a70,_0x12993d,_0x50e312){return _0x3342ed(_0x2e428c-0x1d8,_0x2e428c,_0x50e312- -0x219,_0x50e312-0x2d);}let _0xfafd65=_0x140bbb[_0x105522(-0x8b,-_0x121120._0x26a53a,_0x121120._0x23ac84,0xb8)](_0x39c163);const _0x5096bf=_0x140bbb[_0x105522(_0x121120._0x2bd9fb,_0x121120._0x37a405,0x185,0x28d)](_0xfafd65);if(_0x5096bf)_0xfafd65=_0x140bbb['dirname'](_0xfafd65);function _0xc1a6d(_0x59a65a,_0x5c9a9d,_0x14b830,_0x5196ae){return _0x257320(_0x59a65a-0x11a,_0x5c9a9d-0x40,_0x59a65a- -_0x51d362._0x48ff29,_0x14b830);}while(!![]){for(const _0x1fd28a of _0x13b3cc){if(await exists2(_0x140bbb['join'](_0xfafd65,_0x1fd28a)))return _0xfafd65;}const _0x37884d=_0x140bbb['dirname'](_0xfafd65);if(_0x37884d===_0xfafd65)return void 0x0;_0xfafd65=_0x37884d;}}async function hasDenoRoot(_0x12e06a){const _0x33f340={_0x59e726:0x472},_0x4572a6={_0x37c6a9:0x123,_0x1a4d90:0xf0,_0x642efc:0x91},_0x24feb6={_0x1b7942:0xab,_0x2b4de2:0x331};function _0x7e7293(_0x50a48b,_0x57e618,_0x550dd1,_0x105358){return _0x3342ed(_0x50a48b-_0x24feb6._0x1b7942,_0x57e618,_0x105358- -_0x24feb6._0x2b4de2,_0x105358-0x14e);}function _0x4b3a3e(_0x595f84,_0x433c15,_0x4ca9ef,_0x31083c){return _0x257320(_0x595f84-_0x4572a6._0x37c6a9,_0x433c15-_0x4572a6._0x1a4d90,_0x4ca9ef-_0x4572a6._0x642efc,_0x433c15);}return await exists2(_0x140bbb['join'](_0x12e06a,_0x4b3a3e(0x4f3,0x4f4,_0x33f340._0x59e726,0x326)))||await exists2(_0x140bbb[_0x7e7293(-0x2f,0x1fd,0x6e,0x105)](_0x12e06a,'deno.jsonc'));}async function resolveTsserverPath(_0xe914a6){const _0xd17e32={_0x1f36b2:0x1b3,_0x4474be:0x41,_0x2941af:0x7f,_0x855b6e:0x168,_0x22826e:0x2e6,_0x121a80:0x1e1,_0x2dd59f:0x113,_0x4a54bc:0x1c4,_0x675f4e:0x2d4,_0x2b80d1:0x1dc,_0x26dae0:0x156,_0x48ae07:0x727,_0x5c6871:0x635,_0x149e2c:0x81d,_0x478d10:0x1dd,_0x3817e2:0x66,_0x32a0b7:0xbb,_0x3500c6:0x768,_0x5d5825:0x6d7,_0x3c086e:0x265,_0x3c78ef:0x18e},_0x39334c={_0x113295:0x199,_0x52c1c3:0x39e},_0x39917e={_0x38c5ea:0x1ee};let _0x5db5ae=_0x140bbb[_0x4214bc(-_0xd17e32._0x1f36b2,-_0xd17e32._0x4474be,-0xdf,_0xd17e32._0x2941af)](_0xe914a6);function _0x59ac10(_0x381e0f,_0x23a5cb,_0x4333fa,_0x2dc197){return _0x257320(_0x381e0f-0xfd,_0x23a5cb-0x51,_0x4333fa-_0x39917e._0x38c5ea,_0x23a5cb);}while(!![]){const _0x355cd4=_0x140bbb[_0x4214bc(0x39,0x124,0x6,_0xd17e32._0x855b6e)](_0x5db5ae,'node_modules','typescript','lib',_0x4214bc(0xbd,0x1ad,_0xd17e32._0x22826e,_0xd17e32._0x121a80));if(await exists2(_0x355cd4))return _0x355cd4;const _0xb07c8b=_0x140bbb[_0x4214bc(_0xd17e32._0x2dd59f,_0xd17e32._0x4a54bc,0x83,_0xd17e32._0x675f4e)](_0x5db5ae);if(_0xb07c8b===_0x5db5ae)break;_0x5db5ae=_0xb07c8b;}const _0x4b49ac=getLspPackageDir(_0x4214bc(0x1b9,_0xd17e32._0x2b80d1,0x101,_0xd17e32._0x26dae0)),_0x5495cc=await resolvePackageBinary({'packageName':_0x59ac10(_0xd17e32._0x48ae07,0x8db,0x768,_0xd17e32._0x5c6871),'binaryName':_0x59ac10(0x76a,_0xd17e32._0x149e2c,0x77b,0x866),'startDir':_0xe914a6});if(!_0x5495cc)return void 0x0;const _0x591295=_0x140bbb['join'](_0x4b49ac,_0x4214bc(-_0xd17e32._0x478d10,-0x85,_0xd17e32._0x3817e2,_0xd17e32._0x32a0b7),_0x59ac10(0x76d,0x78a,_0xd17e32._0x3500c6,0x7a1),_0x59ac10(0x6cf,0x74c,0x683,_0xd17e32._0x5d5825),_0x4214bc(_0xd17e32._0x3c086e,0x1ad,_0xd17e32._0x3c78ef,0x11d));function _0x4214bc(_0x2a46ad,_0x384910,_0x5740ad,_0x391257){return _0x257320(_0x2a46ad-_0x39334c._0x113295,_0x384910-0x14d,_0x384910- -_0x39334c._0x52c1c3,_0x5740ad);}return await exists2(_0x591295)?_0x591295:void 0x0;}var TypeScriptServer={'id':'typescript','name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x527f8b){const _0x2a2530=await findUp(_0x527f8b,TYPESCRIPT_ROOT_MARKERS);if(!_0x2a2530)return void 0x0;return await hasDenoRoot(_0x2a2530)?void 0x0:_0x2a2530;},async 'spawn'(_0x4e7054){const _0x549c4e={_0x57c9f2:0x166,_0x57249e:0x16e,_0x34417a:0xdf,_0x52ba0b:0xa0,_0x5089c9:0x141,_0x12c2cc:0x1a8,_0x16f295:0x2b4,_0x314c37:0x299},_0x6ae680={_0x458d93:0x2d3},_0x29d5e1={_0x51496e:0xcb,_0x1f44d7:0x30e},_0x2b5cb4=await resolveTsserverPath(_0x4e7054);if(!_0x2b5cb4)return void 0x0;const _0x16e6fd=await resolvePackageBinary({'packageName':_0x20f946(0x127,_0x549c4e._0x57c9f2,_0x549c4e._0x57249e,0xb),'binaryName':'typescript-language-server','startDir':_0x4e7054});function _0x324d73(_0x3bc1f3,_0x489d66,_0x3abf85,_0x527d91){return _0x257320(_0x3bc1f3-0xf4,_0x489d66-_0x29d5e1._0x51496e,_0x527d91- -_0x29d5e1._0x1f44d7,_0x3abf85);}if(!_0x16e6fd)return void 0x0;function _0x20f946(_0x54ac6b,_0x4a3620,_0x1406ea,_0x1c8cd2){return _0x257320(_0x54ac6b-0x57,_0x4a3620-0xf8,_0x54ac6b- -_0x6ae680._0x458d93,_0x1c8cd2);}return{'process':_0x115e81(_0x16e6fd,[_0x324d73(-0x64,0x1da,_0x549c4e._0x34417a,_0x549c4e._0x52ba0b)],{'cwd':_0x4e7054,'stdio':_0x20f946(_0x549c4e._0x5089c9,_0x549c4e._0x12c2cc,_0x549c4e._0x16f295,_0x549c4e._0x314c37)}),'initialization':{'tsserver':{'path':_0x2b5cb4}}};}},BiomeServer={'id':_0x3342ed(0x58a,0x322,0x42d,0x3b1),'name':'Biome\x20Language\x20Server','extensions':BIOME_EXTENSIONS,async 'root'(_0x542cd1){return findUp(_0x542cd1,BIOME_ROOT_MARKERS);},async 'spawn'(_0x224f72){const _0x5267e4={_0x441c10:0x322,_0x4886cd:0x1f8,_0x34d839:0x281,_0x2cda99:0x369,_0x273aad:0x27,_0x5b925f:0xad,_0xb30e74:0x91,_0x2aecc5:0x113,_0x17d3a2:0x222,_0x245a22:0x125},_0x59f809={_0x227147:0x188,_0x324f9a:0x199},_0x5bdab4={_0x4872d8:0x1f1};function _0x57bd16(_0x37435e,_0x2ec061,_0x51304b,_0x39ec94){return _0x3342ed(_0x37435e-_0x5bdab4._0x4872d8,_0x37435e,_0x2ec061- -0x275,_0x39ec94-0x48);}function _0x5d1212(_0x536926,_0x1e88d0,_0x48acdb,_0x1f329f){return _0x3342ed(_0x536926-0x8d,_0x536926,_0x48acdb- -_0x59f809._0x227147,_0x1f329f-_0x59f809._0x324f9a);}const _0x559144=await findPackageBinary('biome',_0x224f72)??await resolvePackageBinary({'packageName':'@biomejs/biome','binaryName':_0x57bd16(_0x5267e4._0x441c10,0x1b8,_0x5267e4._0x4886cd,0x189),'startDir':_0x224f72});if(!_0x559144)return void 0x0;return{'process':_0x115e81(_0x559144,[_0x5d1212(0x336,_0x5267e4._0x34d839,_0x5267e4._0x2cda99,0x254),_0x57bd16(_0x5267e4._0x273aad,_0x5267e4._0x5b925f,_0x5267e4._0xb30e74,0x28)],{'cwd':_0x224f72,'stdio':_0x57bd16(-0x66,_0x5267e4._0x2aecc5,_0x5267e4._0x17d3a2,_0x5267e4._0x245a22)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x562712){const _0x531f17={_0x27d8df:0x7d4,_0x10099f:0x798,_0x1f37dd:0x8cd,_0xe3cb4:0x41e},_0x1e7cc1={_0x437f63:0x11c,_0x15199c:0x1bd,_0x222ea8:0xae},_0x1621a2={_0x16731f:0xf2,_0x9b8e5d:0x278},_0x361786=_0x140bbb[_0x45cfda(_0x531f17._0x27d8df,0x7aa,_0x531f17._0x10099f,_0x531f17._0x1f37dd)](_0x562712)[_0x38d022(0x3a3,0x3fb,_0x531f17._0xe3cb4,0x565)]();function _0x45cfda(_0x10c7fd,_0x410a35,_0x55f77f,_0x4fa463){return _0x257320(_0x10c7fd-0xa0,_0x410a35-_0x1621a2._0x16731f,_0x410a35-_0x1621a2._0x9b8e5d,_0x4fa463);}function _0x38d022(_0x58e5c7,_0x5b230d,_0xbb509,_0x48c15f){return _0x257320(_0x58e5c7-_0x1e7cc1._0x437f63,_0x5b230d-_0x1e7cc1._0x15199c,_0x5b230d-_0x1e7cc1._0x222ea8,_0x48c15f);}return BUILTIN_LSP_SERVERS[_0x45cfda(0x544,0x5e7,0x4b6,0x52f)](_0x44cb78=>_0x44cb78[_0x38d022(0x3cd,0x411,0x4ac,0x2c3)][_0x38d022(0x71a,0x5ef,0x754,0x649)](_0x361786));}function stateKey(_0x2596f9,_0x26581a){return _0x26581a+':'+_0x2596f9['id'];}function diagnosticsKeyToPath(_0xec5267){const _0x29a61d={_0x178e26:0x572,_0x5e337d:0x515,_0x267d23:0x581,_0x1279d4:0x400},_0x375d57={_0x3c4661:0xe,_0x53e600:0x1b7,_0xc7bfa:0x35},_0x409741={_0x2cee10:0x7f,_0x3416ae:0xee};function _0x2df0d3(_0xc5cc45,_0x48f1a2,_0x6c7f9a,_0x5b83f9){return _0x257320(_0xc5cc45-_0x409741._0x2cee10,_0x48f1a2-_0x409741._0x3416ae,_0x6c7f9a-0xd6,_0x48f1a2);}function _0x271c63(_0x46d9c9,_0x513285,_0x48c594,_0x343ed0){return _0x3342ed(_0x46d9c9-_0x375d57._0x3c4661,_0x46d9c9,_0x48c594- -_0x375d57._0x53e600,_0x343ed0-_0x375d57._0xc7bfa);}if(!_0xec5267[_0x2df0d3(_0x29a61d._0x178e26,_0x29a61d._0x5e337d,0x59b,_0x29a61d._0x267d23)](_0x2df0d3(_0x29a61d._0x1279d4,0x3f1,0x54b,0x50b)))return _0xec5267;return fileURLToPath(_0xec5267);}function nextFileVersion(_0x23ea66,_0x2fede8){const _0x79d968={_0x149a84:0x46,_0x3f23d3:0x494,_0x38878c:0x58f,_0xd99c9b:0xf7,_0x3fa657:0x4},_0x4d0411={_0x53e63b:0x1f2,_0x26dad4:0x29a},_0x2ccaa1={_0x3129cd:0x8b},_0x1e2d45=(_0x23ea66[_0x306a26(-_0x79d968._0x149a84,0xb5,0x1f,0x16f)][_0x5c2e68(0x45f,_0x79d968._0x3f23d3,0x4b5,_0x79d968._0x38878c)](_0x2fede8)??0x1)+0x1;_0x23ea66[_0x306a26(-_0x79d968._0xd99c9b,-0x107,0x1f,_0x79d968._0x3fa657)]['set'](_0x2fede8,_0x1e2d45);function _0x5c2e68(_0x33216e,_0x18ca71,_0x386ebc,_0x883516){return _0x257320(_0x33216e-0x83,_0x18ca71-0x5e,_0x18ca71-_0x2ccaa1._0x3129cd,_0x386ebc);}function _0x306a26(_0x2ebc8f,_0x2029c3,_0x462d6f,_0x183114){return _0x257320(_0x2ebc8f-0x177,_0x2029c3-_0x4d0411._0x53e63b,_0x462d6f- -_0x4d0411._0x26dad4,_0x2ebc8f);}return _0x1e2d45;}async function collectClientResults(_0x114780){const _0x3df080={_0x5a044c:0x35f,_0x4c6491:0x3ea,_0x169e07:0x1fa,_0x3ba362:0x119},_0x52b6b1={_0x4c829e:0x166,_0x93b7de:0x30f},_0x3faeda={_0x4a4667:0xb0},_0x1006f9=await Promise[_0x1bde9d(0x3ce,_0x3df080._0x5a044c,0x4c8,_0x3df080._0x4c6491)](_0x114780);function _0x1bde9d(_0x5b2b41,_0xda101c,_0x50d34c,_0x33609c){return _0x3342ed(_0x5b2b41-0x183,_0x50d34c,_0x5b2b41-0x9b,_0x33609c-_0x3faeda._0x4a4667);}function _0xe6e8ea(_0x220590,_0x3207e0,_0x1aa43c,_0x1ac636){return _0x257320(_0x220590-0x9c,_0x3207e0-_0x52b6b1._0x4c829e,_0x220590- -_0x52b6b1._0x93b7de,_0x3207e0);}return _0x1006f9[_0xe6e8ea(_0x3df080._0x169e07,0x29a,0x2e6,_0x3df080._0x3ba362)](_0x1b55c7=>_0x1b55c7['status']==='fulfilled'?_0x1b55c7['value']:[]);}function createLspService(_0x326ac7={}){const _0x57ba34={_0x2985d2:0x895,_0x51243:0x689},_0x5f4880={_0x10c67d:0x55c,_0xfb363:0x5dc,_0x21f853:0x246,_0x529e37:0xf6,_0xfa254b:0x186,_0x3cb264:0x54b,_0x1876e6:0x6a3,_0x9d8a9:0x6bb,_0x5c32fd:0x1fb,_0x445aad:0x181,_0x13019d:0xb1,_0xd8b6d7:0x11,_0x248b40:0x196,_0x5b7d89:0x146,_0x277b38:0x20f,_0x17ad60:0x1c6,_0x123a88:0xa5,_0x42e42f:0xac,_0x329086:0x1ae,_0x49a1d3:0x1b9,_0xc47549:0x146,_0x4f4582:0x12e,_0x256a2e:0x3c,_0x1dcf02:0x4cf,_0xcf9a34:0x49d,_0x2c2148:0x3f6,_0x45c8e7:0x47a,_0x1f9d3e:0x4dc},_0x27c5e4={_0x15f8ef:0x492,_0x439803:0x13c,_0x46f58e:0x1db},_0x43f071={_0x3cb3d1:0x394,_0x4f3121:0x378},_0x3c49d5={_0x17e084:0x46,_0x20f9f7:0x18,_0x478b65:0x104},_0x324b51={_0x465a81:0x5d5,_0x51f18b:0x4d4},_0x1aafc5={_0x53cce2:0x10e},_0x5692d4={_0x1b154c:0x31f,_0x11362c:0x3cd,_0x235aeb:0x4b5},_0x16ac95={_0x1603f7:0xae},_0x548961={_0x5ecda1:0xd1,_0x1820f3:0x1f4},_0x15a345={_0x2a77b8:0x168,_0x2cc21e:0x160},_0x2de638={_0x16ec0a:0x20e,_0x5c8c13:0x33e,_0x2519ba:0x3cc,_0x559027:0x4e5,_0x28bb75:0x41f},_0x4c5661={_0x251daa:0x127,_0xce2ca0:0x115,_0x5a29ba:0xb0},_0x5060d3={_0x53f7c5:0xcc,_0x23455a:0x94},_0x37d9e0={_0x1ac251:0x54c},_0xad8094={_0x20a595:0x4f},_0x2d297c={_0x1a7340:0xab,_0x1768d2:0xb7},_0x14855a={_0x4074a2:0x896,_0x4da713:0x7a3,_0x19b55e:0x62d},_0x3c8c6e={_0x43d169:0x1d8},_0x56adf0={_0x52bd30:0x1f7,_0x3fcb35:0x1b4,_0x54f444:0x248,_0x105633:0x237,_0x1e4195:0x18a},_0x1c4dde={_0x180946:0xd0},_0x1eeca9={_0xc5fa79:0xf3,_0x5d4e5c:0xca,_0xef391f:0x332,_0x429cd5:0x214,_0xd4e1ef:0x21b,_0x5666d4:0x21b,_0x3fc9fe:0x7d,_0x45e04f:0xc3,_0x37852b:0x451,_0x2379d4:0xb4,_0x5eb178:0xc1,_0xc85f7c:0x28e,_0x4336d8:0x10c,_0x4fd810:0x55},_0x1032e9={_0x1eb190:0x39f,_0x5620cf:0x31e,_0x27ea40:0x264,_0x152b9d:0x541,_0x221841:0x581,_0x3c6387:0x547,_0x535e37:0x564,_0xc3441d:0x486,_0x465abb:0x61f,_0x248c9f:0x4fa},_0x2792d9={_0x70f331:0x651,_0x4efeb7:0x762,_0x14bb58:0x71e,_0x38b74d:0x657,_0x5a8697:0x5b1,_0x296d57:0x652,_0x367715:0x59c,_0x3a433a:0x458,_0x9f714:0x5b0,_0x3f2ff0:0x48f,_0x1c3117:0x3e3,_0x17511b:0x47e,_0x203887:0x3b7,_0x2cddf5:0x693,_0xcd7e8b:0x551,_0x2c475f:0x3f5},_0x18875d={_0x297fcd:0x3ac,_0x5ba70a:0x13f},_0x1cbd05={_0x39982b:0x382},_0x347990={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x364790=()=>_0x326ac7[_0x3bdbbe(0x2a,0x75,0x1de,0x1bf)]!==![];async function _0x4216da(_0x2e7b15,_0x986f41){const _0x41cd56={_0x526935:0x3c2,_0x5b1543:0x3db,_0x474102:0x55e,_0x36a226:0x5c1,_0x123a89:0x4e7,_0x2638e9:0x5ec,_0x584c6a:0x66b,_0x205146:0x5da,_0x20da67:0x724,_0x5141b4:0x6d1,_0x53937b:0x672,_0x386e15:0x58f,_0x5d097b:0x622,_0x521019:0x481,_0x4808eb:0x436,_0x1cdbbe:0x42c,_0x4a9f43:0x455,_0x34779e:0x2e8,_0x16b873:0x219,_0x4a23eb:0x264,_0x23adf4:0x35a,_0x2d379e:0x1e5,_0x4d69e3:0x21c},_0x238b81={_0x3abb2c:0x23b,_0x28951a:0x188},_0x38f817={_0x3e6393:0x7d},_0x5f4702=stateKey(_0x2e7b15,_0x986f41),_0x35dfc0=_0x347990[_0x18d136(0x5d8,_0x2792d9._0x70f331,_0x2792d9._0x4efeb7,0x76c)][_0x279166(0x722,_0x2792d9._0x14bb58,_0x2792d9._0x38b74d,0x6dd)](_0x583a99=>_0x583a99[_0x279166(0x622,0x494,0x4fa,0x46b)]===_0x2e7b15['id']&&_0x583a99['root']===_0x986f41);if(_0x35dfc0)return _0x35dfc0;function _0x18d136(_0x28af85,_0x32edd5,_0x2130b7,_0x2ebaa3){return _0x3bdbbe(_0x2130b7,_0x32edd5-_0x1cbd05._0x39982b,_0x2130b7-0x66,_0x2ebaa3-0xc);}function _0x279166(_0x37ab0d,_0x27f2e7,_0x118cad,_0x1cf2b0){return _0x3bdbbe(_0x37ab0d,_0x118cad-_0x18875d._0x297fcd,_0x118cad-_0x18875d._0x5ba70a,_0x1cf2b0-0x81);}if(_0x347990[_0x18d136(0x5a3,_0x2792d9._0x5a8697,_0x2792d9._0x296d57,_0x2792d9._0x367715)][_0x18d136(_0x2792d9._0x3a433a,0x510,0x635,_0x2792d9._0x9f714)](_0x5f4702))return void 0x0;const _0x333dc9=_0x347990[_0x279166(_0x2792d9._0x3f2ff0,_0x2792d9._0x1c3117,_0x2792d9._0x17511b,_0x2792d9._0x203887)][_0x279166(_0x2792d9._0x2cddf5,0x52b,_0x2792d9._0xcd7e8b,0x649)](_0x5f4702);if(_0x333dc9)return _0x333dc9;const _0x455a12=((async()=>{function _0x815c60(_0x634d94,_0x41048d,_0x210c65,_0x4fddeb){return _0x279166(_0x4fddeb,_0x41048d-0x75,_0x210c65- -_0x38f817._0x3e6393,_0x4fddeb-0x65);}function _0x3a4f5f(_0x2287ce,_0x341c3c,_0xe61567,_0x31029f){return _0x18d136(_0x2287ce-0x152,_0x341c3c- -_0x238b81._0x3abb2c,_0x31029f,_0x31029f-_0x238b81._0x28951a);}try{const _0x59dfb3=await _0x2e7b15[_0x3a4f5f(0x387,_0x41cd56._0x526935,_0x41cd56._0x5b1543,0x38f)](_0x986f41);if(!_0x59dfb3)return _0x347990[_0x815c60(0x3f0,0x4ae,_0x41cd56._0x474102,_0x41cd56._0x36a226)][_0x815c60(0x77b,_0x41cd56._0x123a89,0x63d,_0x41cd56._0x2638e9)](_0x5f4702),void 0x0;const _0x788f71=await createLspClient({'server':_0x2e7b15,'root':_0x986f41,'handle':_0x59dfb3}),_0x55094e=_0x347990['clients'][_0x815c60(_0x41cd56._0x584c6a,0x624,_0x41cd56._0x205146,_0x41cd56._0x20da67)](_0x1d9a4e=>_0x1d9a4e['serverId']===_0x2e7b15['id']&&_0x1d9a4e[_0x3a4f5f(0x228,0x1e3,0x108,0xb7)]===_0x986f41);if(_0x55094e)return await _0x788f71[_0x815c60(_0x41cd56._0x5141b4,_0x41cd56._0x53937b,_0x41cd56._0x386e15,_0x41cd56._0x5d097b)](),_0x55094e;return _0x347990[_0x3a4f5f(_0x41cd56._0x521019,0x416,0x3ab,0x345)][_0x815c60(0x2e2,0x303,_0x41cd56._0x4808eb,_0x41cd56._0x1cdbbe)](_0x788f71),_0x788f71;}catch{return _0x347990['broken'][_0x3a4f5f(0x38d,_0x41cd56._0x4a9f43,0x539,0x569)](_0x5f4702),void 0x0;}finally{_0x347990[_0x3a4f5f(_0x41cd56._0x34779e,_0x41cd56._0x16b873,0x350,0x371)][_0x3a4f5f(_0x41cd56._0x4a23eb,_0x41cd56._0x23adf4,_0x41cd56._0x2d379e,_0x41cd56._0x4d69e3)](_0x5f4702);}})());return _0x347990['spawning'][_0x279166(0x418,0x31f,_0x2792d9._0x2c475f,0x333)](_0x5f4702,_0x455a12),_0x455a12;}async function _0x484172(_0x4fb3d0,_0x3dab5b){const _0x58bbe0={_0x2c5995:0x1c8};if(!_0x364790())return[];function _0x388aab(_0x55bba2,_0x44cc6d,_0x2b4636,_0x40ff45){return _0x3bdbbe(_0x55bba2,_0x40ff45-_0x58bbe0._0x2c5995,_0x2b4636-0x84,_0x40ff45-0x14e);}const _0x4be19a=[];for(const _0x4603af of getServersForFile(_0x4fb3d0)){const _0x1454f8=await _0x4603af[_0x388aab(_0x1032e9._0x1eb190,_0x1032e9._0x5620cf,0x1b2,_0x1032e9._0x27ea40)](_0x4fb3d0);if(!_0x1454f8)continue;const _0x5075c1=stateKey(_0x4603af,_0x1454f8);if(_0x347990['broken'][_0x34476f(0x4e4,0x512,_0x1032e9._0x152b9d,_0x1032e9._0x221841)](_0x5075c1))continue;const _0x54a275=_0x347990['clients'][_0x34476f(_0x1032e9._0x3c6387,0x7b2,0x752,0x69e)](_0x4e618f=>_0x4e618f['serverId']===_0x4603af['id']&&_0x4e618f['root']===_0x1454f8);if(_0x54a275){_0x4be19a['push'](_0x54a275);continue;}if(!_0x3dab5b)continue;const _0x8b8e10=await _0x4216da(_0x4603af,_0x1454f8);if(_0x8b8e10)_0x4be19a[_0x34476f(_0x1032e9._0x535e37,_0x1032e9._0xc3441d,_0x1032e9._0x465abb,_0x1032e9._0x248c9f)](_0x8b8e10);}function _0x34476f(_0x2b44d5,_0x1193c6,_0x257a67,_0x30fc88){return _0x3bdbbe(_0x257a67,_0x30fc88-0x3f3,_0x257a67-0xd1,_0x30fc88-0xd9);}return _0x4be19a;}async function _0x178914(_0x387198,_0x17a703=![]){const _0x206ace={_0x52dcd8:0x122,_0x118130:0x1a9,_0x48dda2:0x35a},_0x33c51b={_0x58abbc:0x189,_0x43f110:0x52};function _0x286b07(_0x559d61,_0x1172bb,_0x6751c3,_0x2fefc4){return _0x3bdbbe(_0x6751c3,_0x2fefc4- -_0x33c51b._0x58abbc,_0x6751c3-_0x33c51b._0x43f110,_0x2fefc4-0x5a);}const _0x2082ae=await _0x484172(_0x387198,!![]);await Promise['all'](_0x2082ae[_0x286b07(-_0x1c4dde._0x180946,-0xf9,-0x215,-_0x1c4dde._0x180946)](async _0x13ed68=>{const _0x4c7d45={_0x2770aa:0x108,_0x2c3210:0x33};function _0x39396d(_0x3fc003,_0x423db2,_0x257a59,_0x219f45){return _0x286b07(_0x3fc003-_0x4c7d45._0x2770aa,_0x423db2-_0x4c7d45._0x2c3210,_0x423db2,_0x3fc003- -0x79);}!_0x347990[_0x39396d(-0x57,-_0x1eeca9._0xc5fa79,_0x1eeca9._0x5d4e5c,0x50)]['has'](_0x13ed68['serverId']+':'+_0x13ed68[_0x25f09a(_0x1eeca9._0xef391f,0x15d,_0x1eeca9._0x429cd5,0x26d)]+':'+_0x387198)&&(await _0x13ed68[_0x25f09a(0x205,_0x1eeca9._0xd4e1ef,0xe6,_0x1eeca9._0x5666d4)][_0x39396d(_0x1eeca9._0x3fc9fe,0xa,-_0x1eeca9._0x45e04f,0x1a5)]({'path':_0x387198}),_0x347990[_0x25f09a(0x4e7,_0x1eeca9._0x37852b,0x2b7,0x37c)]['add'](_0x13ed68[_0x39396d(-_0x1eeca9._0x2379d4,-0x22b,_0x1eeca9._0x5eb178,0x39)]+':'+_0x13ed68['root']+':'+_0x387198));function _0x25f09a(_0x4949db,_0x1fe927,_0x481569,_0x1e293a){return _0x286b07(_0x4949db-_0x206ace._0x52dcd8,_0x1fe927-_0x206ace._0x118130,_0x1fe927,_0x1e293a-_0x206ace._0x48dda2);}await _0x13ed68[_0x25f09a(_0x1eeca9._0xc85f7c,_0x1eeca9._0x4336d8,0x2ca,0x21b)][_0x39396d(-_0x1eeca9._0x4fd810,0x2c,-0x11b,0x33)]({'path':_0x387198,'version':nextFileVersion(_0x347990,_0x387198)});if(_0x17a703)await _0x13ed68['waitForDiagnostics']({'path':_0x387198});}));}async function _0x18bb10(_0x1cfe82){const _0x5e119f={_0x53cb74:0x209};await _0x178914(_0x1cfe82[_0x6264d1(_0x56adf0._0x52bd30,_0x56adf0._0x3fcb35,_0x56adf0._0x54f444,_0x56adf0._0x105633)],![]);function _0x6264d1(_0x4bed75,_0x32c008,_0x4e22ce,_0x2cc1b1){return _0x3bdbbe(_0x32c008,_0x4e22ce-_0x5e119f._0x53cb74,_0x4e22ce-0x95,_0x2cc1b1-0x163);}function _0x411c8e(_0x3c69bf,_0x3b7ec4,_0x5ef62e,_0xd56f2a){return _0x3bdbbe(_0x3c69bf,_0x3b7ec4-0x14b,_0x5ef62e-0x13b,_0xd56f2a-0x1ad);}return _0x484172(_0x1cfe82[_0x411c8e(0x20e,_0x56adf0._0x1e4195,0x2f3,0x122)],![]);}function _0x3bdbbe(_0x34c932,_0x23cd5e,_0x58fc97,_0x45a780){return _0x3342ed(_0x34c932-0xa6,_0x34c932,_0x23cd5e- -_0x3c8c6e._0x43d169,_0x45a780-0x3f);}async function _0x38f7aa(_0x2bf033){function _0x3ba768(_0x5b86e1,_0x1e6dc9,_0x51f131,_0x3ceb30){return _0x3bdbbe(_0x3ceb30,_0x51f131- -0x29d,_0x51f131-0x108,_0x3ceb30-0x34);}const _0x40b3fa=await _0x18bb10(_0x2bf033);return collectClientResults(_0x40b3fa['map'](_0x480572=>_0x480572[_0x3ba768(-0x111,-0x1d8,-0xbd,-0x11c)]['prepareCallHierarchy'](_0x2bf033)));}return{'isEnabled':_0x364790,async 'hasClients'(_0x5b5abf){const _0x41f531={_0x3fe87f:0x4e6,_0x3badf4:0x1};function _0x3338dd(_0x58db45,_0x4ed261,_0x5cecdd,_0x574808){return _0x3bdbbe(_0x574808,_0x5cecdd-_0x41f531._0x3fe87f,_0x5cecdd-0x2,_0x574808-_0x41f531._0x3badf4);}return(await _0x484172(_0x5b5abf,![]))[_0x3338dd(0x62a,_0x14855a._0x4074a2,_0x14855a._0x4da713,_0x14855a._0x19b55e)]>0x0||getServersForFile(_0x5b5abf)['length']>0x0;},'touchFile':_0x178914,async 'diagnostics'(){function _0xfbf477(_0x3b83e1,_0x689053,_0x2645ba,_0x2f838e){return _0x3bdbbe(_0x3b83e1,_0x689053- -0x218,_0x2645ba-0x19b,_0x2f838e-0x13b);}const _0x3e2c84={};for(const _0x384cc8 of _0x347990[_0xfbf477(-_0x2d297c._0x1a7340,_0x2d297c._0x1768d2,-0x96,0xa8)]){for(const [_0x3c82ec,_0x10ef15]of _0x384cc8['diagnostics']){_0x3e2c84[diagnosticsKeyToPath(_0x3c82ec)]=_0x10ef15;}}return _0x3e2c84;},async 'diagnosticsForFile'(_0x1c31a3){const _0x1417a2={_0x3f1442:0x227};function _0x48129c(_0x352642,_0x2a4e71,_0xdef442,_0x10f798){return _0x3bdbbe(_0x352642,_0x10f798- -_0x1417a2._0x3f1442,_0xdef442-0x149,_0x10f798-0x76);}await _0x178914(_0x1c31a3,!![]);const _0xcc3a59=[];for(const _0x6ead28 of await _0x484172(_0x1c31a3,![])){for(const [_0x6e4040,_0x37e215]of _0x6ead28[_0x48129c(0x9b,-0xba,_0xad8094._0x20a595,-0x95)]){if(diagnosticsKeyToPath(_0x6e4040)===_0x1c31a3)_0xcc3a59['push'](..._0x37e215);}}return _0xcc3a59;},async 'definition'(_0x2ee190){function _0x5901fe(_0x194fe0,_0x2263f1,_0x390ec4,_0x50c1be){return _0x3bdbbe(_0x390ec4,_0x50c1be- -0x1e2,_0x390ec4-0xa0,_0x50c1be-0x12f);}return collectClientResults((await _0x18bb10(_0x2ee190))['map'](_0xf715bf=>_0xf715bf['request'][_0x5901fe(0x5d,-0x159,-0x7d,-0xc3)](_0x2ee190)));},async 'references'(_0x45b506){const _0x3d6f84={_0x5169ba:0xd8,_0x2fadd1:0x1f};function _0x3c17bb(_0xa50d98,_0x8a4e39,_0x2029ff,_0x11db50){return _0x3bdbbe(_0x11db50,_0x2029ff-0x493,_0x2029ff-_0x3d6f84._0x5169ba,_0x11db50-_0x3d6f84._0x2fadd1);}function _0x32f713(_0xeb48e4,_0x561842,_0xd0de31,_0x29daf4){return _0x3bdbbe(_0x561842,_0xd0de31-0x2c3,_0xd0de31-0x20,_0x29daf4-0x1a2);}return collectClientResults((await _0x18bb10(_0x45b506))[_0x3c17bb(0x59f,0x4ec,_0x37d9e0._0x1ac251,0x49d)](_0x18272b=>_0x18272b[_0x3c17bb(0x655,0x662,0x673,0x585)][_0x32f713(0x385,0x389,0x326,0x472)](_0x45b506)));},async 'hover'(_0x2a2e8b){function _0x201e46(_0x2e1399,_0x434aba,_0x2ce7b3,_0x3d57bd){return _0x3bdbbe(_0x2e1399,_0x3d57bd- -0x113,_0x2ce7b3-_0x5060d3._0x53f7c5,_0x3d57bd-_0x5060d3._0x23455a);}const _0x319f3b=await Promise[_0x1746d7(0x371,0x282,0x14d,0x320)]((await _0x18bb10(_0x2a2e8b))[_0x1746d7(0x1fc,0x1e0,_0x2de638._0x16ec0a,_0x2de638._0x5c8c13)](_0x56eb1a=>_0x56eb1a[_0x1746d7(0x381,0x307,0x3ee,0x30a)][_0x1746d7(0x379,0x22b,0x1d8,0xfe)](_0x2a2e8b)));function _0x1746d7(_0x46b85d,_0x367f9e,_0x1f5266,_0x59a565){return _0x3bdbbe(_0x46b85d,_0x367f9e-_0x4c5661._0x251daa,_0x1f5266-_0x4c5661._0xce2ca0,_0x59a565-_0x4c5661._0x5a29ba);}return _0x319f3b[_0x1746d7(0x541,_0x2de638._0x2519ba,_0x2de638._0x559027,_0x2de638._0x28bb75)](_0x1aa50d=>_0x1aa50d['status']==='fulfilled'&&_0x1aa50d[_0x1746d7(0x372,0x221,0x2a8,0x1c1)]?[_0x1aa50d[_0x1746d7(0xbd,0x221,0x14b,0x1fc)]]:[]);},async 'documentSymbol'(_0x31305f){const _0x2e6e29={_0x2dbb7f:0x143};await _0x178914(_0x31305f,![]);function _0x5c3095(_0x3f3d1c,_0x3397c4,_0x189de2,_0x4636f8){return _0x3bdbbe(_0x3f3d1c,_0x189de2-0x41,_0x189de2-0xf,_0x4636f8-_0x2e6e29._0x2dbb7f);}function _0x1c2f8d(_0x554484,_0x2b3b24,_0x3f3da9,_0x30b8d7){return _0x3bdbbe(_0x2b3b24,_0x3f3da9- -0x2af,_0x3f3da9-_0x15a345._0x2a77b8,_0x30b8d7-_0x15a345._0x2cc21e);}return collectClientResults((await _0x484172(_0x31305f,![]))[_0x5c3095(_0x548961._0x5ecda1,0x22,0xfa,_0x548961._0x1820f3)](_0xdbc9b0=>_0xdbc9b0[_0x5c3095(0x15a,0x166,0x221,0x2f7)][_0x5c3095(0xc3,0x1c0,0x1e7,0x315)](_0x31305f)));},async 'workspaceSymbol'(_0x3b93e4){const _0x45b2d8={_0x1a3c90:0x1ad};function _0x368e97(_0x154281,_0x8634b1,_0x3deccc,_0x2e7a57){return _0x3bdbbe(_0x154281,_0x3deccc-_0x45b2d8._0x1a3c90,_0x3deccc-0xaf,_0x2e7a57-0x18e);}function _0x50f493(_0xcbfbb0,_0x5de613,_0xeddc19,_0x1245b2){return _0x3bdbbe(_0xcbfbb0,_0xeddc19-0x314,_0xeddc19-0x1af,_0x1245b2-_0x16ac95._0x1603f7);}return collectClientResults(_0x347990['clients'][_0x50f493(_0x5692d4._0x1b154c,0x32f,_0x5692d4._0x11362c,_0x5692d4._0x235aeb)](_0x538879=>_0x538879[_0x50f493(0x602,0x449,0x4f4,0x39b)]['workspaceSymbol'](_0x3b93e4)));},async 'implementation'(_0x2c0172){const _0xbcda1b={_0x514e1a:0x355,_0x533452:0x12b,_0x44f3da:0x90},_0x309cb7={_0x5a8827:0x77,_0x217e6f:0xe};function _0xa70992(_0x12b356,_0x4601eb,_0x4dd8dd,_0x66ba2a){return _0x3bdbbe(_0x66ba2a,_0x4601eb-0x48,_0x4dd8dd-_0x309cb7._0x5a8827,_0x66ba2a-_0x309cb7._0x217e6f);}function _0x765495(_0x46c640,_0x65bee,_0x1a0184,_0x1e7807){return _0x3bdbbe(_0x46c640,_0x1a0184-_0xbcda1b._0x514e1a,_0x1a0184-_0xbcda1b._0x533452,_0x1e7807-_0xbcda1b._0x44f3da);}return collectClientResults((await _0x18bb10(_0x2c0172))[_0xa70992(0x212,0x101,0xa4,-0x16)](_0x16e017=>_0x16e017[_0x765495(0x4aa,0x609,0x535,0x4e9)][_0x765495(0x3d1,0x4b7,0x3c2,0x2ad)](_0x2c0172)));},async 'prepareCallHierarchy'(_0x4a7339){return _0x38f7aa(_0x4a7339);},async 'incomingCalls'(_0x5c666c){const _0x243889={_0x55356c:0x168},_0x5aa2ff=await _0x38f7aa(_0x5c666c);function _0x52e702(_0xe5ffb8,_0x1e3351,_0x29e295,_0x341e72){return _0x3bdbbe(_0x341e72,_0x29e295-0x1d6,_0x29e295-0x64,_0x341e72-_0x1aafc5._0x53cce2);}const _0x36f125=await _0x18bb10(_0x5c666c);function _0x138a22(_0x37b2a0,_0x4f8bb5,_0xb738d4,_0x187283){return _0x3bdbbe(_0x37b2a0,_0xb738d4-0x330,_0xb738d4-_0x243889._0x55356c,_0x187283-0x71);}return collectClientResults(_0x36f125[_0x138a22(0x70e,0x734,_0x324b51._0x465a81,_0x324b51._0x51f18b)](_0x3693eb=>_0x5aa2ff[_0x138a22(0x444,0x3c4,0x3e9,0x542)](_0x1f2dda=>_0x3693eb[_0x138a22(0x448,0x5bd,0x510,0x5de)][_0x138a22(0x708,0x52d,0x655,0x544)](_0x1f2dda))));},async 'outgoingCalls'(_0x414140){const _0x2c992e={_0x2ad22d:0x75},_0x4d24d5=await _0x38f7aa(_0x414140),_0x1c25b9=await _0x18bb10(_0x414140);function _0x5423a1(_0x372654,_0x48ed13,_0x5eb2c5,_0x4bfc9c){return _0x3bdbbe(_0x372654,_0x48ed13- -_0x3c49d5._0x17e084,_0x5eb2c5-_0x3c49d5._0x20f9f7,_0x4bfc9c-_0x3c49d5._0x478b65);}function _0x384567(_0x2d2bdf,_0x429496,_0x4187f9,_0x1f1b10){return _0x3bdbbe(_0x2d2bdf,_0x1f1b10-0x40,_0x4187f9-0x1de,_0x1f1b10-_0x2c992e._0x2ad22d);}return collectClientResults(_0x1c25b9[_0x384567(_0x43f071._0x3cb3d1,0x44d,_0x43f071._0x4f3121,0x2e5)](_0x4205ea=>_0x4d24d5[_0x5423a1(0x114,0x73,0x39,-0xda)](_0x138ec4=>_0x4205ea[_0x384567(0x2ee,0xc5,0x18a,0x220)]['outgoingCalls'](_0x138ec4))));},async 'shutdown'(){const _0x30bba1={_0x4221d4:0x183,_0x291358:0x172};if(_0x347990[_0xc41a58(0x51f,_0x5f4880._0x10c67d,_0x5f4880._0xfb363,0x48d)])return;_0x347990[_0x1b61ba(-_0x5f4880._0x21f853,-0x164,-_0x5f4880._0x529e37,-_0x5f4880._0xfa254b)]=!![],await Promise['allSettled'](_0x347990['clients'][_0xc41a58(_0x5f4880._0x3cb264,_0x5f4880._0x1876e6,_0x5f4880._0x9d8a9,0x671)](_0x5dd023=>_0x5dd023[_0xc41a58(0x6f2,0x5df,0x80c,0x760)]())),_0x347990['clients']=[],_0x347990[_0x1b61ba(-_0x5f4880._0x5c32fd,-_0x5f4880._0x445aad,-_0x5f4880._0x13019d,_0x5f4880._0xd8b6d7)][_0x1b61ba(-_0x5f4880._0x248b40,-0x22f,-_0x5f4880._0x5b7d89,-_0x5f4880._0x277b38)](),_0x347990[_0x1b61ba(_0x5f4880._0x17ad60,-_0x5f4880._0x123a88,_0x5f4880._0x42e42f,_0x5f4880._0x329086)][_0x1b61ba(-0x1c6,-_0x5f4880._0x49a1d3,-_0x5f4880._0xc47549,-0x1c1)]();function _0x1b61ba(_0x5760a8,_0x293720,_0x85cc5f,_0x2ccfe0){return _0x3bdbbe(_0x2ccfe0,_0x85cc5f- -_0x30bba1._0x4221d4,_0x85cc5f-_0x30bba1._0x291358,_0x2ccfe0-0xe2);}_0x347990[_0x1b61ba(-0x109,-0x1ba,-_0x5f4880._0x4f4582,_0x5f4880._0x256a2e)][_0xc41a58(_0x5f4880._0x1dcf02,_0x5f4880._0xcf9a34,_0x5f4880._0x2c2148,_0x5f4880._0x45c8e7)]();function _0xc41a58(_0x52e957,_0x317937,_0x220af0,_0x197327){return _0x3bdbbe(_0x220af0,_0x52e957-_0x27c5e4._0x15f8ef,_0x220af0-_0x27c5e4._0x439803,_0x197327-_0x27c5e4._0x46f58e);}_0x347990['openFiles'][_0xc41a58(0x4cf,0x405,0x38d,_0x5f4880._0x1f9d3e)]();},'status'(){const _0x75e14d={_0x34dd7c:0x4bb,_0x5844fc:0x1b8};function _0x13194f(_0x52a747,_0x5c1a4f,_0x1a17f2,_0x5ea4c5){return _0x3bdbbe(_0x5c1a4f,_0x52a747-_0x75e14d._0x34dd7c,_0x1a17f2-0xb7,_0x5ea4c5-_0x75e14d._0x5844fc);}return{'connectedClients':_0x347990['clients'][_0x13194f(0x778,0x761,_0x57ba34._0x2985d2,_0x57ba34._0x51243)]};}};}function createQuestionId(){const _0x37f78e={_0x22a8ef:0x50d,_0x46f336:0x471,_0x48b84d:0x430,_0x67183:0x3a7,_0x3d0e21:0x693,_0x361c5d:0x5d1,_0x89d07a:0x304,_0x2dac11:0x490},_0x5cbf3b={_0x1c2e5b:0x12d};function _0x50df02(_0x482cea,_0x3bc0d8,_0x5b5f39,_0x5de329){return _0x257320(_0x482cea-_0x5cbf3b._0x1c2e5b,_0x3bc0d8-0x146,_0x482cea-0xcb,_0x5de329);}function _0x179332(_0x29b61c,_0x12ce94,_0x489241,_0x250926){return _0x3342ed(_0x29b61c-0x69,_0x29b61c,_0x250926-0x164,_0x250926-0x80);}return _0x179332(0x34e,_0x37f78e._0x22a8ef,0x3c8,_0x37f78e._0x46f336)+Date[_0x179332(_0x37f78e._0x48b84d,0x291,0x4ed,_0x37f78e._0x67183)]()+'-'+Math[_0x179332(0x6f2,0x62d,_0x37f78e._0x3d0e21,_0x37f78e._0x361c5d)]()[_0x50df02(0x438,_0x37f78e._0x89d07a,0x43c,_0x37f78e._0x2dac11)](0x24)['slice'](0x2,0x9);}function validateInput(_0x4b3270){const _0x32e703={_0x44584d:0x362,_0x1e18f7:0x3ba,_0xc8760b:0x6e7,_0x3d6f3e:0x586,_0x2a1b4b:0x2e5,_0x4d4db4:0x2f3,_0x439188:0x273,_0x16bb71:0x33e,_0x188ac5:0x466,_0x129e2f:0x19b,_0x3f3884:0x1bd,_0x280e13:0x1ea,_0x6a5ed:0x2b3,_0x571205:0x261,_0x3387bc:0x47d,_0x15b531:0x58d,_0x802b9c:0x373,_0x4c71c5:0x31e,_0x3dbd6b:0x42c,_0x346f0e:0x4e1,_0x2bcd29:0x55,_0x3e1a42:0x4f5,_0x420570:0x612,_0xe5a64b:0x58a,_0x50c792:0x628,_0x55fc07:0x570,_0x34e117:0x199,_0x497a35:0x256,_0x5b33d8:0x350,_0x2066d2:0x42c,_0x10900b:0x2f0,_0x25a7ee:0x2f3,_0x5dc792:0x377,_0x233072:0x3a4,_0x3f19e4:0x41f,_0x5a7ee8:0x3fb,_0x442e32:0x37d,_0x3076e0:0x3e7,_0x2e8580:0x4ef,_0x37a857:0x428,_0x55c911:0x4b5,_0x5732b7:0x3f3,_0x461793:0x52e,_0x1d3052:0x5e2,_0x169f36:0x18c,_0x10a5c3:0x240,_0x57b561:0x426,_0x52084c:0x6c,_0x2900e0:0x154,_0x119e75:0x14f,_0x4b5e4a:0x34d,_0xcc33d9:0x1ee,_0x25483e:0x2fe,_0x5f3790:0x394,_0x15ffb4:0x309,_0x51e9b5:0x31d,_0xea2473:0x4cb,_0x86c03f:0x3ca,_0x51d713:0x1ba,_0x3fb4d8:0x20c,_0x47f64e:0x297,_0x3cb80b:0x253,_0x2117c9:0x131,_0xc30144:0x3c3},_0x3b42df={_0x831a2b:0x1a9,_0x8a46e7:0x7b},_0x239466={_0x181919:0x14,_0x47255c:0x32};function _0x44b7ba(_0x352dc4,_0x10bdff,_0x5de3ea,_0x2dd4a5){return _0x3342ed(_0x352dc4-_0x239466._0x181919,_0x352dc4,_0x5de3ea-0xf1,_0x2dd4a5-_0x239466._0x47255c);}function _0x5d1926(_0xbb58ba,_0x658a82,_0x1a9f68,_0x230e49){return _0x257320(_0xbb58ba-_0x3b42df._0x831a2b,_0x658a82-_0x3b42df._0x8a46e7,_0x658a82- -0x22e,_0x230e49);}if(!Array['isArray'](_0x4b3270[_0x44b7ba(0x32e,0x28b,_0x32e703._0x44584d,0x29b)])||_0x4b3270[_0x44b7ba(0x245,0x2e2,0x362,_0x32e703._0x1e18f7)][_0x44b7ba(_0x32e703._0xc8760b,0x613,_0x32e703._0x3d6f3e,0x671)]<0x1||_0x4b3270[_0x44b7ba(0x2f2,0x24a,0x362,0x268)][_0x5d1926(_0x32e703._0x2a1b4b,_0x32e703._0x4d4db4,0x374,_0x32e703._0x439188)]>0xa)throw new ToolExecutionError(_0x5d1926(_0x32e703._0x16bb71,0x30a,0x21d,_0x32e703._0x188ac5),{'error':_0x5d1926(_0x32e703._0x129e2f,0x2f2,_0x32e703._0x3f3884,_0x32e703._0x280e13)});for(let _0x2f41d7=0x0;_0x2f41d7<_0x4b3270[_0x44b7ba(_0x32e703._0x6a5ed,_0x32e703._0x571205,0x362,_0x32e703._0x3387bc)][_0x5d1926(0x36f,_0x32e703._0x4d4db4,0x19d,0x2d8)];_0x2f41d7+=0x1){const _0x5d611b=_0x4b3270['questions'][_0x2f41d7];if(!_0x5d611b[_0x44b7ba(0x71d,0x655,0x5b1,_0x32e703._0x15b531)]||typeof _0x5d611b[_0x5d1926(_0x32e703._0x802b9c,_0x32e703._0x4c71c5,0x28a,0x21f)]!==_0x44b7ba(0x583,0x619,0x57d,0x607))throw new ToolExecutionError('Question\x20'+(_0x2f41d7+0x1)+_0x44b7ba(0x314,0x4bb,0x36b,0x229));if(!_0x5d611b[_0x44b7ba(0x51e,0x36a,_0x32e703._0x3dbd6b,_0x32e703._0x346f0e)]||typeof _0x5d611b[_0x5d1926(0x16e,0x199,_0x32e703._0x2bcd29,0x219)]!==_0x5d1926(0x310,0x2ea,0x2cd,0x3ee))throw new ToolExecutionError(_0x44b7ba(_0x32e703._0x3e1a42,0x522,0x49f,_0x32e703._0x420570)+(_0x2f41d7+0x1)+_0x44b7ba(_0x32e703._0xe5a64b,_0x32e703._0x50c792,_0x32e703._0x55fc07,0x515));if(_0x5d611b[_0x5d1926(0x2ab,_0x32e703._0x34e117,0x39,_0x32e703._0x497a35)][_0x5d1926(0x37e,0x2f3,0x2a8,0x338)]>0x1e)throw new ToolExecutionError('Question\x20'+(_0x2f41d7+0x1)+_0x44b7ba(0x4b5,0x277,_0x32e703._0x5b33d8,0x2b2)+_0x5d611b[_0x44b7ba(0x365,0x39b,_0x32e703._0x2066d2,_0x32e703._0x10900b)][_0x5d1926(0x2d8,_0x32e703._0x25a7ee,_0x32e703._0x5dc792,_0x32e703._0x233072)]);if(!Array[_0x44b7ba(0x331,0x434,_0x32e703._0x3f19e4,_0x32e703._0x5a7ee8)](_0x5d611b[_0x44b7ba(_0x32e703._0x442e32,0x313,_0x32e703._0x3076e0,_0x32e703._0x2e8580)])||_0x5d611b['options']['length']<0x2||_0x5d611b[_0x44b7ba(0x431,0x292,0x3e7,_0x32e703._0x37a857)][_0x44b7ba(0x6ef,0x4f0,0x586,_0x32e703._0x55c911)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x2f41d7+0x1)+_0x44b7ba(_0x32e703._0x5732b7,0x526,_0x32e703._0x461793,_0x32e703._0x1d3052));for(let _0x304dc7=0x0;_0x304dc7<_0x5d611b[_0x5d1926(_0x32e703._0x169f36,0x154,_0x32e703._0x10a5c3,0x1aa)][_0x44b7ba(_0x32e703._0x57b561,0x699,_0x32e703._0x3d6f3e,0x6e0)];_0x304dc7+=0x1){const _0xe61aa2=_0x5d611b[_0x5d1926(_0x32e703._0x52084c,_0x32e703._0x2900e0,0x258,_0x32e703._0x119e75)][_0x304dc7];if(!_0xe61aa2['label']||!_0xe61aa2[_0x5d1926(0x240,0x1f3,_0x32e703._0x4b5e4a,0x2aa)])throw new ToolExecutionError('Question\x20'+(_0x2f41d7+0x1)+_0x5d1926(0x1aa,_0x32e703._0xcc33d9,_0x32e703._0x25483e,0x338)+(_0x304dc7+0x1)+':\x20both\x20\x22label\x22\x20and\x20\x22description\x22\x20are\x20required');}if(typeof _0x5d611b[_0x5d1926(_0x32e703._0x5f3790,_0x32e703._0x15ffb4,0x3a3,0x1b6)]!==_0x44b7ba(_0x32e703._0x51e9b5,_0x32e703._0xea2473,_0x32e703._0x86c03f,0x493))throw new ToolExecutionError(_0x5d1926(_0x32e703._0x51d713,_0x32e703._0x3fb4d8,_0x32e703._0x47f64e,0x19c)+(_0x2f41d7+0x1)+_0x5d1926(0x1b9,_0x32e703._0x3cb80b,_0x32e703._0x2117c9,_0x32e703._0xc30144));}}function buildQuestions(_0x5942f4){const _0x51c3d1={_0x4ebf8a:0x75},_0x2acf1e={_0x1e85ae:0x9f,_0x486564:0x2e6},_0xd8878c={_0x625691:0x179};function _0xb47c5d(_0x3c2afe,_0xc1fa1b,_0x4d86e9,_0xe0e71){return _0x257320(_0x3c2afe-0x9d,_0xc1fa1b-0x8f,_0xe0e71-_0xd8878c._0x625691,_0x4d86e9);}function _0x29367e(_0x270f53,_0x487a74,_0x1b914c,_0x256b5a){return _0x3342ed(_0x270f53-_0x2acf1e._0x1e85ae,_0x256b5a,_0x487a74- -_0x2acf1e._0x486564,_0x256b5a-0x21);}return _0x5942f4[_0x29367e(-0x41,-_0x51c3d1._0x4ebf8a,-0x7d,0xb7)]['map']((_0x86a3b2,_0x191dc9)=>({'id':'q'+_0x191dc9,'question':_0x86a3b2[_0xb47c5d(0x65c,0x66b,0x6a4,0x6c5)],'topic':_0x86a3b2[_0x29367e(-0x63,0x55,0x31,0xde)],'options':_0x86a3b2[_0x29367e(0x184,0x10,-0x5d,0x12e)],'multiSelect':_0x86a3b2[_0x29367e(0x8f,0x1c5,0xea,0x99)]}));}function createResult(_0x5db83e,_0x3ed777,_0x5784c2){const _0xfed794={_0x376f53:0xda,_0x43ffc6:0x24};function _0x20ac94(_0x2de390,_0x1a3fca,_0x36ae29,_0x58e2b3){return _0x257320(_0x2de390-0x13f,_0x1a3fca-0x63,_0x36ae29- -0x386,_0x1a3fca);}const _0x1a2a70={'questionId':_0x5db83e,'questionCount':_0x3ed777,'answers':_0x5784c2};return createToolOutput('User\x20responses\x20received:\x20'+JSON[_0x20ac94(0xab,-_0xfed794._0x376f53,0x79,-_0xfed794._0x43ffc6)](_0x5784c2,null,0x2),_0x1a2a70);}function createAskUserTool(){const _0x280b4d={_0x35d385:0x123,_0x423760:0xeb,_0x3fcfd3:0x17,_0x487d26:0x10,_0x4011e5:0xb8,_0x30abb8:0x275,_0x2632a4:0x30f,_0x46d5d5:0xf3,_0x209a0c:0x19c,_0x402db9:0x43,_0xc9fe2b:0x135,_0x5d7e0b:0x1ac,_0x1bd414:0x31f,_0x2c5c2b:0x272,_0x5ac9e7:0x24a,_0x589d58:0xd5,_0x762cb4:0x3a,_0x4bbe44:0x199,_0xc1ee4b:0x1a1,_0x470ab8:0x80,_0x22b4ed:0x82,_0x2231d8:0x66,_0xd08027:0x4c},_0x20ed4a={_0x3776a1:0x280,_0x2752ca:0xf1,_0x49724a:0x126,_0xf36b63:0x4df,_0x566c67:0x585,_0x14f4be:0x36b,_0x551fb3:0x465,_0x242be6:0x382,_0x4dbe87:0x5a2,_0xeea97b:0x5fd,_0x547a89:0x52a,_0x2f5e50:0x3bf,_0x7d8b2:0x28b,_0x1b1e60:0x2d4,_0x48124f:0xe,_0x98bbd6:0x155,_0x365843:0x8e,_0x36b746:0x117,_0x55ecb8:0x2aa,_0x29c996:0x33b},_0x23bbd5={_0x47c198:0xd7,_0x4467ad:0x105},_0x1c19b2={_0x203716:0x35,_0xaf77b4:0x2c7},_0x328f83={_0x119039:0x1b,_0x123341:0x169,_0x2527d3:0x31c},_0x1fd69e={_0x879a2a:0x135,_0x4a9cd8:0x3e3};function _0x1a4506(_0x46a20d,_0x4544b9,_0x277d08,_0xc6c5b3){return _0x257320(_0x46a20d-0xb2,_0x4544b9-_0x1fd69e._0x879a2a,_0x277d08- -_0x1fd69e._0x4a9cd8,_0x4544b9);}function _0x33fa83(_0x49355f,_0x385c72,_0x2591ae,_0x1d143d){return _0x257320(_0x49355f-_0x328f83._0x119039,_0x385c72-_0x328f83._0x123341,_0x2591ae- -_0x328f83._0x2527d3,_0x385c72);}return defineTool({'name':_0x33fa83(0x1d1,_0x280b4d._0x35d385,0x63,_0x280b4d._0x423760),'description':_0x1a4506(-_0x280b4d._0x3fcfd3,-0x4a,0xeb,0x1b8),'inputSchema':{'type':_0x1a4506(_0x280b4d._0x487d26,-_0x280b4d._0x4011e5,-0xf3,-0x58),'properties':{'questions':{'type':_0x33fa83(0x13e,0x278,_0x280b4d._0x30abb8,_0x280b4d._0x2632a4),'items':{'type':_0x1a4506(_0x280b4d._0x3fcfd3,0x35,-_0x280b4d._0x46d5d5,-0x262),'properties':{'question':{'type':_0x1a4506(_0x280b4d._0x209a0c,_0x280b4d._0x402db9,_0x280b4d._0xc9fe2b,_0x280b4d._0x5d7e0b)},'topic':{'type':'string'},'options':{'type':_0x33fa83(_0x280b4d._0x1bd414,0x1d3,0x275,0x2e0),'items':{'type':'object','properties':{'label':{'type':_0x1a4506(0x17,0x37,0x135,_0x280b4d._0x2c5c2b)},'description':{'type':_0x1a4506(_0x280b4d._0x5ac9e7,0x16,0x135,0x24a)}},'required':['label',_0x33fa83(0x186,_0x280b4d._0x589d58,0x105,0x6c)]}},'multiSelect':{'type':_0x1a4506(-_0x280b4d._0x762cb4,-_0x280b4d._0x4bbe44,-0x7e,-_0x280b4d._0xc1ee4b)}},'required':['question',_0x33fa83(0x2d,-_0x280b4d._0x470ab8,0xab,-0x3f),_0x33fa83(-_0x280b4d._0x22b4ed,0x2e,_0x280b4d._0x2231d8,0x6),'multiSelect']}},'answers':{'type':_0x33fa83(-0x4b,-0xce,-0x2c,-_0x280b4d._0xd08027),'properties':{}}},'required':[_0x33fa83(0x103,-0x17b,-0x1f,-0x177)]},async *'execute'(_0xdc1bcd,_0x21762e){const _0x26f1ca=_0xdc1bcd;validateInput(_0x26f1ca);const _0x9cee04=_0x21762e[_0x24c8b1(0x27d,_0x20ed4a._0x3776a1,_0x20ed4a._0x2752ca,_0x20ed4a._0x49724a)]??createQuestionId();function _0x5ee48d(_0x4ae9da,_0x1b7a87,_0x453356,_0x2134e4){return _0x33fa83(_0x4ae9da-_0x1c19b2._0x203716,_0x1b7a87,_0x453356-_0x1c19b2._0xaf77b4,_0x2134e4-0x11e);}if(_0x26f1ca[_0x5ee48d(0x5a4,_0x20ed4a._0xf36b63,0x465,_0x20ed4a._0x566c67)]&&Object[_0x24c8b1(0x23f,0x15c,-0x45,0x12a)](_0x26f1ca[_0x5ee48d(0x346,_0x20ed4a._0x14f4be,_0x20ed4a._0x551fb3,0x4b0)])[_0x5ee48d(_0x20ed4a._0x242be6,0x627,0x4cc,_0x20ed4a._0x4dbe87)]>0x0)return createResult(_0x9cee04,_0x26f1ca['questions'][_0x5ee48d(_0x20ed4a._0xeea97b,_0x20ed4a._0x547a89,0x4cc,_0x20ed4a._0x2f5e50)],_0x26f1ca[_0x24c8b1(0x35e,_0x20ed4a._0x7d8b2,0x43e,_0x20ed4a._0x1b1e60)]);if(!_0x21762e['askUser'])throw new ToolExecutionError('Context\x20does\x20not\x20support\x20user\x20questions');const _0x463491=buildQuestions(_0x26f1ca),_0x55c945=await _0x21762e['askUser']({'questionId':_0x9cee04,'questions':_0x463491});function _0x24c8b1(_0x1a8894,_0x3e8f63,_0x315412,_0x5400e1){return _0x1a4506(_0x1a8894-_0x23bbd5._0x47c198,_0x3e8f63,_0x5400e1-0x1fd,_0x5400e1-_0x23bbd5._0x4467ad);}yield createResult(_0x9cee04,_0x26f1ca[_0x24c8b1(_0x20ed4a._0x48124f,_0x20ed4a._0x98bbd6,_0x20ed4a._0x365843,_0x20ed4a._0x36b746)][_0x24c8b1(_0x20ed4a._0x55ecb8,0x1e5,0x45e,_0x20ed4a._0x29c996)],_0x55c945);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x2eef70}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x187d3d){return _0x187d3d instanceof Error;}function resolveCarriageReturns(_0x37463a){const _0x336290={_0x30bf00:0x1bf,_0x1959ee:0x1de,_0x4139b6:0xd8},_0x3f097d={_0x2c6b9b:0x4e1,_0x26ac50:0x3ff},_0x9f05df={_0x2d1cf8:0x658,_0x512209:0xb8},_0x459f67={_0x336bcb:0x146,_0x45d4cf:0x115,_0x3bf573:0x39c},_0x47ed65={_0x4a33b8:0x166};function _0x63da42(_0x8b9058,_0x21ff99,_0x4c18ae,_0x526317){return _0x257320(_0x8b9058-0x1a0,_0x21ff99-_0x47ed65._0x4a33b8,_0x8b9058- -0x4ee,_0x21ff99);}function _0x507e6a(_0x59dae5,_0x453a97,_0xdd5702,_0x2e4fcd){return _0x257320(_0x59dae5-_0x459f67._0x336bcb,_0x453a97-_0x459f67._0x45d4cf,_0x59dae5- -_0x459f67._0x3bf573,_0xdd5702);}return _0x37463a[_0x507e6a(0x1cd,_0x336290._0x30bf00,_0x336290._0x1959ee,0x129)]('\x0a')[_0x63da42(-0x1d1,-0x23d,-_0x336290._0x4139b6,-0xd2)](_0x1e0d68=>{const _0x1ac447={_0x1a84af:0x14};function _0x398b1b(_0x33bf22,_0x5c8a70,_0x5595b1,_0x497e7d){return _0x507e6a(_0x5c8a70-0x314,_0x5c8a70-0x195,_0x5595b1,_0x497e7d-_0x1ac447._0x1a84af);}if(!_0x1e0d68['includes']('\x0d'))return _0x1e0d68;const _0x41cc1c=_0x1e0d68[_0x398b1b(0x605,_0x3f097d._0x2c6b9b,_0x3f097d._0x26ac50,0x56f)]('\x0d');function _0x2a951e(_0xe1a5f0,_0xc9b61f,_0x2db5b5,_0x53ac46){return _0x63da42(_0xe1a5f0-_0x9f05df._0x2d1cf8,_0x53ac46,_0x2db5b5-_0x9f05df._0x512209,_0x53ac46-0x112);}return _0x41cc1c[_0x41cc1c[_0x398b1b(0x3b3,0x499,0x41b,0x37b)]-0x1]??'';})[_0x63da42(-0x2c,0xca,-0xb0,-0x2a)]('\x0a');}function resolveBackspaces(_0x5f0ebc){const _0xb3003c={_0x1924b0:0x651,_0x5e979f:0x539,_0x160651:0x3a4,_0x217adb:0x587},_0x3d6713={_0x2ec50f:0xe0},_0x294ddf={_0x2b0050:0x186,_0x17712b:0x1ef},_0x2310fb=[];for(const _0x572c78 of Array[_0x2c954c(_0xb3003c._0x1924b0,0x491,0x683,_0xb3003c._0x5e979f)](_0x5f0ebc)){_0x572c78==='\x08'?_0x2310fb['pop']():_0x2310fb[_0x2c954c(_0xb3003c._0x160651,0x42d,0x5a5,0x430)](_0x572c78);}function _0x5de263(_0x2c6b7d,_0x49a410,_0x26f509,_0x52dd84){return _0x257320(_0x2c6b7d-_0x294ddf._0x2b0050,_0x49a410-_0x294ddf._0x17712b,_0x2c6b7d- -0x37c,_0x26f509);}function _0x2c954c(_0x3118d1,_0x3a189f,_0x445311,_0x491cc7){return _0x3342ed(_0x3118d1-_0x3d6713._0x2ec50f,_0x3118d1,_0x491cc7-0x151,_0x491cc7-0x43);}return _0x2310fb[_0x2c954c(0x4b7,0x526,0x63d,_0xb3003c._0x217adb)]('');}function stripAnsiAndControls(_0x5d0352){const _0x41ed9b={_0x10f9c9:0x56,_0xd7f042:0x40,_0x17692b:0x1d1,_0x44aca6:0x2fc,_0x5812ca:0x34c,_0xb3101:0x10,_0x52d52a:0x132,_0x2658ec:0x2e,_0x200d4a:0x1b2,_0x4bada2:0x3d0,_0x198d35:0x3ed,_0xbd20d7:0x379,_0x23ee99:0x3d0,_0x193915:0x4e5,_0x5b87ca:0x95},_0x4563a2={_0x4e269a:0x165,_0x588bb:0x134},_0x271306={_0x3eb940:0x120,_0x259418:0x112,_0x266798:0x3bf};_0x5d0352=resolveCarriageReturns(_0x5d0352),_0x5d0352=resolveBackspaces(_0x5d0352),_0x5d0352=stripVTControlCharacters(_0x5d0352);const _0x4b7597='\x1b',_0x3795ea='\x07';_0x5d0352=_0x5d0352['replace'](new RegExp(_0x28093d(-0x8,-_0x41ed9b._0x10f9c9,0x134,_0x41ed9b._0xd7f042)+_0x3795ea+'\x5cn]*?'+_0x3795ea,'g'),''),_0x5d0352=_0x5d0352[_0x28093d(_0x41ed9b._0x17692b,_0x41ed9b._0x44aca6,0x182,0x316)](new RegExp(_0x28093d(-0x4e,0xd2,-0x178,-0x182)+_0x4b7597+'\x5c\x5c','g'),''),_0x5d0352=_0x5d0352[_0x450aab(0x4cc,0x3d0,_0x41ed9b._0x5812ca,0x4e3)](new RegExp(_0x3795ea,'g'),''),_0x5d0352=_0x5d0352['replace'](new RegExp(_0x4b7597+_0x28093d(_0x41ed9b._0xb3101,-0x53,-_0x41ed9b._0x52d52a,_0x41ed9b._0x2658ec)+_0x4b7597+'\x5c\x5c','g'),''),_0x5d0352=_0x5d0352[_0x28093d(0x1d1,0x20f,0x17b,0x27b)](new RegExp(_0x4b7597+_0x28093d(0x164,0x25a,_0x41ed9b._0x200d4a,0x16b),'g'),''),_0x5d0352=_0x5d0352[_0x450aab(0x3b7,_0x41ed9b._0x4bada2,0x283,_0x41ed9b._0x198d35)](/[\u0080-\u009F]/g,''),_0x5d0352=_0x5d0352[_0x450aab(_0x41ed9b._0xbd20d7,_0x41ed9b._0x23ee99,0x543,_0x41ed9b._0x193915)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x5d0352=_0x5d0352[_0x28093d(0x1d1,_0x41ed9b._0x5b87ca,0x323,0x263)](/[\u23CE\u2424]/g,'');function _0x28093d(_0x5048f0,_0x58b164,_0x36740e,_0x3f2bc1){return _0x257320(_0x5048f0-_0x271306._0x3eb940,_0x58b164-_0x271306._0x259418,_0x5048f0- -_0x271306._0x266798,_0x58b164);}function _0x450aab(_0x29a8cd,_0x4e1c69,_0x3505ad,_0x47b48a){return _0x3342ed(_0x29a8cd-_0x4563a2._0x4e269a,_0x47b48a,_0x4e1c69- -_0x4563a2._0x588bb,_0x47b48a-0x193);}return _0x5d0352;}function killProcessGroup(_0x266fb8,_0x5e45c0,_0x92be1f=_0x257320(0x2c3,0x3b3,0x2f4,0x35f)){const _0x39e438={_0x136d2f:0xb7,_0x4581bc:0xec,_0x385d08:0x178,_0x28abdc:0xb6,_0x4d6ce8:0xa8,_0x3bc642:0x344,_0x5eb765:0x1db,_0x2b0467:0x30a,_0x40bed7:0x64},_0x5c02f3={_0x560608:0x332,_0x182781:0x1b1},_0xeb444f={_0x43e487:0xb,_0x2d857f:0x1a8,_0x5ad2ef:0x260};if(!_0x266fb8[_0x48c795(_0x39e438._0x136d2f,0x1ac,_0x39e438._0x4581bc,0x314)])return;function _0x23d226(_0x1fe61c,_0x27cc14,_0x1c4b13,_0x473aaf){return _0x257320(_0x1fe61c-_0xeb444f._0x43e487,_0x27cc14-_0xeb444f._0x2d857f,_0x473aaf- -_0xeb444f._0x5ad2ef,_0x1fe61c);}if(_0x5e45c0)try{_0x2eef70('taskkill',[_0x48c795(0x2,-0x3d,-0xc6,0x10e),_0x266fb8['pid']['toString'](),'/T','/F'],{'stdio':'ignore'});return;}catch{_0x266fb8[_0x23d226(_0x39e438._0x385d08,0x208,0x1af,_0x39e438._0x28abdc)](_0x92be1f);return;}function _0x48c795(_0x2b9f31,_0x59e7ee,_0x2cf18a,_0x3a0cc5){return _0x3342ed(_0x2b9f31-0xff,_0x2b9f31,_0x59e7ee- -_0x5c02f3._0x560608,_0x3a0cc5-_0x5c02f3._0x182781);}try{process[_0x48c795(-0xce,-_0x39e438._0x4d6ce8,-0xb0,0x67)](-_0x266fb8[_0x23d226(0x3bb,_0x39e438._0x3bc642,_0x39e438._0x5eb765,_0x39e438._0x2b0467)],_0x92be1f);}catch{_0x266fb8[_0x48c795(-_0x39e438._0x40bed7,-_0x39e438._0x4d6ce8,-0x87,-0x5f)](_0x92be1f);}}var BackgroundProcessRegistry=class{[_0x3342ed(0x49e,0x3c6,0x356,0x2fb)]=new Map();[_0x3342ed(0x55c,0x505,0x4ef,0x5b5)];['maxEntries'];[_0x257320(0x414,0x49a,0x559,0x550)];[_0x257320(0x483,0x3b1,0x3d2,0x480)]=0x0;constructor(_0x1b0aa9={}){const _0x3a4881={_0x34941d:0x5ca,_0x18046a:0x7f0,_0x4af98a:0x402,_0x20cb6a:0x47c,_0x8c101d:0x482,_0xdc427d:0x5b1,_0x3be368:0x7cc,_0x1a2efd:0x6ca,_0x2acde2:0x59d},_0x3d9e75={_0x25d823:0xcb,_0x2e3e4b:0x171};this[_0x33a23d(_0x3a4881._0x34941d,0x681,_0x3a4881._0x18046a,0x6e2)]=_0x1b0aa9['maxConcurrent']??0xa;function _0x26f43c(_0x253ec6,_0x15d00d,_0x222281,_0x347356){return _0x257320(_0x253ec6-0xe2,_0x15d00d-_0x3d9e75._0x25d823,_0x15d00d-_0x3d9e75._0x2e3e4b,_0x347356);}function _0x33a23d(_0x3c4fe2,_0x5af944,_0x516ea7,_0x23f938){return _0x3342ed(_0x3c4fe2-0x165,_0x516ea7,_0x5af944-0x192,_0x23f938-0x8b);}this[_0x33a23d(0x589,0x482,0x333,_0x3a4881._0x4af98a)]=_0x1b0aa9[_0x33a23d(_0x3a4881._0x20cb6a,_0x3a4881._0x8c101d,0x490,_0x3a4881._0xdc427d)]??0x40,this['capChars']=_0x1b0aa9[_0x26f43c(_0x3a4881._0x3be368,_0x3a4881._0x1a2efd,0x71b,_0x3a4881._0x2acde2)]??0x100000;}[_0x257320(0x4c6,0x62f,0x4df,0x616)](_0x3cee31){const _0x28ba1b={_0x410c51:0x1db,_0x1ecfef:0x19e,_0x5122f0:0x9a,_0x5b70c7:0x95,_0x492015:0xa,_0x8a389b:0x16a,_0x5da9a7:0x26,_0x2cfbc7:0x19,_0x264ddf:0xca,_0x3696b4:0x230,_0x347297:0x153,_0x5484a9:0x124,_0x2832a3:0x85,_0x318f78:0x2d0,_0x470a78:0x56,_0xcbcc4:0xc8,_0x464b48:0x261,_0x4fe64a:0xa7,_0x226eea:0xd0,_0x104069:0x363,_0x223a0c:0x200,_0x3b7f3d:0x188,_0x5dc6fd:0x151,_0x6ee46a:0x2f,_0x4f88d0:0xf8,_0x54812b:0x155,_0x2c86e1:0xe,_0x403061:0x251,_0x329b04:0xdc,_0xb01ce1:0x2b,_0x857abe:0x50,_0x11b61a:0x309,_0x3dc083:0x17b,_0x2bd049:0x358,_0x4e5f05:0x205,_0x346da8:0xce,_0x3dcade:0x2ac,_0x55945c:0x103,_0x4cf7bc:0xc6,_0x3617a9:0x1ca,_0x316772:0x8e,_0x3a0434:0x156,_0x187cdb:0x57,_0x277377:0x8b,_0x375ada:0x317,_0x4d9a3a:0x126,_0x1b2468:0x69,_0x1060ad:0x122},_0x44ed32={_0x49d461:0x141,_0x33e873:0x18,_0x43136c:0x8e,_0x16b329:0x71,_0x2d1908:0x125,_0x3e2bb9:0xca,_0x384d50:0xc5,_0x331abd:0x77e},_0x33a243={_0x4eea47:0x13e,_0x49e86e:0x7a,_0x559f8a:0x7a},_0x578fb8={_0x2e5454:0x156},_0x3e77f7={_0x5a3f6e:0x5ad,_0x42b4e1:0x476,_0x25e888:0x49a,_0x3cf8c5:0x61d,_0x3690f9:0x49d,_0x2f10a0:0x4d9,_0x6a96ad:0x57a,_0x3663af:0x4c0,_0x47540e:0x544,_0x3a3493:0x2ce,_0x35976d:0x2df,_0x20d7e1:0x4b9,_0x4621cd:0x43f,_0x31bd19:0x577,_0x123844:0x2ee,_0x235b20:0x6f1,_0x3596d0:0x5fb,_0xb0b91:0x427},_0x241b52={_0x2f50c8:0x82,_0xf8a883:0x19d},_0x4a43bd={_0x4425c4:0x75},_0x5f5a07={_0x26cbd2:0xa9,_0x13495b:0x61},_0x3408a8={_0x11fe81:0x1cd,_0x643454:0x17},_0x55e3c7={_0xa13167:0x244},_0x23f4af=[...this[_0x384056(_0x28ba1b._0x410c51,_0x28ba1b._0x1ecfef,0x107,0xb5)][_0x22339a(-_0x28ba1b._0x5122f0,-_0x28ba1b._0x5b70c7,_0x28ba1b._0x492015,-0x7a)]()][_0x22339a(-0x139,-_0x28ba1b._0x8a389b,-0x1c5,-0xe8)](_0x2c1cf3=>_0x2c1cf3['status']===_0x22339a(0x19c,0xe3,0x2b,0xb6))[_0x22339a(-_0x28ba1b._0x5da9a7,_0x28ba1b._0x2cfbc7,0xcf,_0x28ba1b._0x264ddf)];if(_0x23f4af>=this[_0x384056(0x2fc,0x337,0x48e,_0x28ba1b._0x3696b4)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x22339a(_0x28ba1b._0x347297,0x133,0x20d,_0x28ba1b._0x5484a9)]+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this['maxConcurrent']});const _0x4bc452='bg-'+ ++this[_0x22339a(-0x160,-0x1c1,-0x1d8,-_0x28ba1b._0x2832a3)]+'-'+randomUUID()[_0x384056(0x167,_0x28ba1b._0x318f78,0x339,0x3f4)](0x0,0x8),_0x4b633b={'shellId':_0x4bc452,'command':_0x3cee31[_0x22339a(-_0x28ba1b._0x470a78,-0x2a,0x81,-_0x28ba1b._0xcbcc4)],'cwd':_0x3cee31['cwd'],'pid':_0x3cee31[_0x384056(_0x28ba1b._0x464b48,0x205,_0x28ba1b._0x4fe64a,_0x28ba1b._0x226eea)][_0x384056(0x2dd,0x326,0x244,_0x28ba1b._0x104069)],'status':_0x384056(0x3c7,0x2c9,0x31f,0x373),'exitCode':null,'signal':null,'startedAt':Date[_0x22339a(-0x235,-0x220,-_0x28ba1b._0x223a0c,-_0x28ba1b._0x3b7f3d)](),'child':_0x3cee31[_0x384056(0x361,0x205,_0x28ba1b._0x5dc6fd,0x31e)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x22339a(_0x28ba1b._0x6ee46a,0x13d,-0x6a,0xed)),'stripAnsi':_0x3cee31[_0x384056(0x2f0,0x256,_0x28ba1b._0x4f88d0,0x1bd)],'killRequested':![],'processExited':![]};_0x3cee31[_0x22339a(-0x107,-0x9f,-_0x28ba1b._0x54812b,-_0x28ba1b._0x2c86e1)][_0x384056(_0x28ba1b._0x403061,_0x28ba1b._0x329b04,-_0x28ba1b._0xb01ce1,-_0x28ba1b._0x857abe)]?.['on'](_0x22339a(0xa6,0x144,0x92,0x73),_0x2ce2ff=>this[_0x22339a(0x135,-0xb8,-0x160,-0x2d)](_0x4b633b,_0x4b633b[_0x22339a(0x35,-0xf,0x163,0x111)][_0x22339a(0x108,0x113,0x1cb,0x9f)](_0x2ce2ff)));function _0x22339a(_0x4fe28b,_0x24422c,_0x3de2a1,_0x28b6e4){return _0x257320(_0x4fe28b-0x184,_0x24422c-0x145,_0x28b6e4- -0x457,_0x3de2a1);}_0x3cee31['child'][_0x384056(0x272,0x20a,0x1c0,_0x28ba1b._0x11b61a)]?.['on'](_0x22339a(-0x26,_0x28ba1b._0x3dc083,0xe5,0x73),_0x52210c=>this[_0x22339a(-0x30,0x137,0x2a,-0x2d)](_0x4b633b,_0x4b633b[_0x22339a(0xa0,-0x6f,-0xcd,0x7f)]['write'](_0x52210c)));function _0x384056(_0x5c5577,_0x52f7b0,_0x1741d4,_0x1a5b78){return _0x257320(_0x5c5577-0x64,_0x52f7b0-0x1b2,_0x52f7b0- -_0x55e3c7._0xa13167,_0x5c5577);}return _0x3cee31[_0x384056(_0x28ba1b._0x2bd049,_0x28ba1b._0x4e5f05,_0x28ba1b._0x346da8,_0x28ba1b._0x3dcade)][_0x22339a(-0x111,-0x1c0,-0x1f3,-0x8b)](_0x22339a(_0x28ba1b._0x55945c,_0x28ba1b._0x4cf7bc,0x14e,_0x28ba1b._0x492015),()=>{function _0x2403e5(_0xd1f092,_0x5f1f8c,_0x2d5cf8,_0x46c33d){return _0x22339a(_0xd1f092-0x6,_0x5f1f8c-_0x3408a8._0x11fe81,_0xd1f092,_0x2d5cf8- -_0x3408a8._0x643454);}_0x4b633b[_0x2403e5(-0x179,-0x208,-_0x5f5a07._0x26cbd2,-_0x5f5a07._0x13495b)]=!![];}),_0x3cee31[_0x384056(0x2bc,0x205,_0x28ba1b._0x3617a9,_0x28ba1b._0x316772)][_0x22339a(-_0x28ba1b._0x3a0434,-0x136,-_0x28ba1b._0x187cdb,-_0x28ba1b._0x277377)]('close',(_0x3e3fd3,_0x3951c9)=>{this[_0x38bef8(0x4a3,_0x3e77f7._0x5a3f6e,_0x3e77f7._0x42b4e1,_0x3e77f7._0x25e888)](_0x4b633b,_0x4b633b[_0x38bef8(0x556,_0x3e77f7._0x3cf8c5,0x6b5,0x5d8)][_0x1bc140(_0x3e77f7._0x3690f9,_0x3e77f7._0x2f10a0,_0x3e77f7._0x6a96ad,0x555)]()),this['append'](_0x4b633b,_0x4b633b['stderrDecoder'][_0x38bef8(_0x3e77f7._0x3663af,_0x3e77f7._0x47540e,0x3ee,0x49d)]()),_0x4b633b[_0x38bef8(_0x3e77f7._0x3a3493,0x2fc,_0x3e77f7._0x35976d,0x400)]=_0x4b633b[_0x1bc140(_0x3e77f7._0x20d7e1,0x524,_0x3e77f7._0x4621cd,_0x3e77f7._0x31bd19)]?_0x38bef8(0x3e6,_0x3e77f7._0x123844,0x5c3,0x460):_0x38bef8(_0x3e77f7._0x235b20,0x692,0x762,_0x3e77f7._0x3596d0);function _0x1bc140(_0x317ec4,_0x491978,_0x53bf71,_0x26d3a6){return _0x22339a(_0x317ec4-_0x4a43bd._0x4425c4,_0x491978-0x21,_0x26d3a6,_0x491978-0x503);}_0x4b633b[_0x38bef8(0x40c,0x4cb,0x425,0x4e6)]=_0x3e3fd3,_0x4b633b[_0x1bc140(0x5bf,0x4e3,0x3b2,_0x3e77f7._0xb0b91)]=_0x3951c9;function _0x38bef8(_0x57380a,_0xe0a377,_0x28828c,_0x5287ee){return _0x22339a(_0x57380a-_0x241b52._0x2f50c8,_0xe0a377-_0x241b52._0xf8a883,_0xe0a377,_0x5287ee-0x4c7);}_0x4b633b['child']=null;}),_0x3cee31[_0x384056(0x16c,_0x28ba1b._0x4e5f05,_0x28ba1b._0x375ada,_0x28ba1b._0x4d9a3a)]['once']('error',_0x31a409=>{function _0x2318e6(_0x133359,_0x5c26a1,_0x589a3a,_0x543c20){return _0x384056(_0x543c20,_0x5c26a1-0x4a1,_0x589a3a-0x1f0,_0x543c20-_0x578fb8._0x2e5454);}_0x4b633b[_0x33b5ca(-0x3b,-_0x44ed32._0x49d461,_0x44ed32._0x33e873,0x1b)]=_0x33b5ca(_0x44ed32._0x43136c,-_0x44ed32._0x16b329,-_0x44ed32._0x2d1908,-0x3c);function _0x33b5ca(_0x3528eb,_0x1d1cef,_0x513836,_0x5ac173){return _0x22339a(_0x3528eb-_0x33a243._0x4eea47,_0x1d1cef-_0x33a243._0x49e86e,_0x5ac173,_0x1d1cef- -_0x33a243._0x559f8a);}_0x4b633b['error']=_0x31a409[_0x33b5ca(-0x9a,0x94,-_0x44ed32._0x3e2bb9,-_0x44ed32._0x384d50)],_0x4b633b[_0x2318e6(0x639,0x6a6,0x667,_0x44ed32._0x331abd)]=null;}),this[_0x384056(0x152,0x19e,0x2c,0x196)][_0x384056(-_0x28ba1b._0x4f88d0,_0x28ba1b._0x1b2468,0xc3,_0x28ba1b._0x1060ad)](_0x4bc452,_0x4b633b),this['evictIfNeeded'](),_0x4b633b;}[_0x257320(0x329,0x3cc,0x46a,0x507)](_0x56fce2,_0x4817bb){const _0x454725={_0x23daca:0x59c,_0x170407:0x4f4,_0xf587de:0x51a,_0x2bb798:0x609,_0x5033a6:0x4d4,_0x4d8941:0x600,_0x1099a9:0x6d3,_0x497472:0x461,_0x535b62:0x3dd,_0x5c520b:0x6a4,_0x170201:0x7af,_0x12ec2f:0xfc,_0x1134d0:0x11e,_0x263168:0x7ea,_0x3eb6c2:0x5f4,_0x5d6e25:0x590,_0x37e5bc:0x467,_0x175e23:0x5b5,_0x4a1247:0x838,_0x3f2e43:0x92,_0x40e8a5:0x871,_0x51396f:0x77b,_0x22f285:0x5f7,_0x47c53c:0x62e,_0x47f77e:0x605,_0x86bc46:0x69b,_0x255962:0x155,_0x392be9:0x3e,_0x568f99:0xcb,_0x3636e7:0x1e4,_0x554edd:0x66e,_0x183e49:0x647,_0x4ecce5:0x71b,_0x4b5911:0x512,_0x5aae90:0x5d8},_0x509dfc={_0x1d0031:0x110},_0x5bef88={_0xb5f90d:0xc3,_0x21e43:0x200},_0x408160=this[_0x2ddc8b(0x578,_0x454725._0x23daca,0x5e2,_0x454725._0x170407)][_0x2ddc8b(_0x454725._0xf587de,0x6f6,_0x454725._0x2bb798,_0x454725._0x5033a6)](_0x56fce2);if(!_0x408160)throw new ToolExecutionError(_0x2ddc8b(0x719,_0x454725._0x4d8941,_0x454725._0x1099a9,0x824)+_0x56fce2,{'shellId':_0x56fce2});function _0x2ddc8b(_0x53f06e,_0x498a8e,_0x2255d1,_0x329bae){return _0x257320(_0x53f06e-0x74,_0x498a8e-_0x5bef88._0xb5f90d,_0x2255d1-_0x5bef88._0x21e43,_0x498a8e);}const _0xd96731=_0x408160[_0x2ddc8b(_0x454725._0x497472,_0x454725._0x535b62,0x4b4,0x43c)][_0x2ddc8b(_0x454725._0x5c520b,_0x454725._0x170201,0x6c2,0x73b)](''),_0x175a91=Math[_0x1c05d1(-0x259,-0x146,-0x197,-0x77)](_0x408160['readCursor'],_0x408160[_0x1c05d1(0x2a3,0x12c,0x72,0xe9)]),_0x4e35b6=Math['max'](0x0,_0x408160['totalDropped']-_0x408160[_0x1c05d1(_0x454725._0x12ec2f,0x155,_0x454725._0x1134d0,0x90)]);function _0x1c05d1(_0x2d4bff,_0x155e76,_0x2fa0d4,_0xfc45e1){return _0x3342ed(_0x2d4bff-_0x509dfc._0x1d0031,_0xfc45e1,_0x155e76- -0x39e,_0xfc45e1-0x11c);}const _0x4c9ff3=_0xd96731[_0x2ddc8b(0x5b6,0x7c4,0x714,_0x454725._0x263168)](_0x175a91-_0x408160['totalDropped']),_0x4d9626=_0x408160[_0x2ddc8b(_0x454725._0x3eb6c2,0x679,_0x454725._0x5d6e25,_0x454725._0x37e5bc)]!==_0x2ddc8b(0x6f1,_0x454725._0x175e23,0x70d,_0x454725._0x4a1247);let _0x326d91;const _0x2295a9=_0x4817bb?.['regex'];if(!_0x2295a9)_0x326d91=_0x4c9ff3,_0x408160[_0x2ddc8b(0x6d8,0x764,0x77f,0x733)]=_0x408160[_0x1c05d1(-0xa0,_0x454725._0x3f2e43,0x1d6,-0x86)];else{let _0xccf3f3;try{_0xccf3f3=new RegExp(_0x2295a9);}catch(_0x1e5c10){throw new ToolExecutionError('Invalid\x20regex:\x20'+_0x1e5c10[_0x2ddc8b(_0x454725._0x40e8a5,0x7bf,0x765,_0x454725._0x51396f)],{'shellId':_0x56fce2,'regex':_0x2295a9});}let _0xc31e1c=_0x4c9ff3;if(!_0x4d9626){const _0xa6010d=_0x4c9ff3[_0x2ddc8b(0x34b,0x42b,0x4ba,0x50f)]('\x0a');_0xc31e1c=_0xa6010d>=0x0?_0x4c9ff3['slice'](0x0,_0xa6010d+0x1):'';}_0x326d91=_0xc31e1c[_0x2ddc8b(_0x454725._0x22f285,0x6ec,0x769,0x72f)]('\x0a')[_0x2ddc8b(_0x454725._0x47c53c,_0x454725._0x47f77e,0x56f,_0x454725._0x86bc46)](_0x114081=>_0xccf3f3[_0x2ddc8b(0x522,0x70e,0x680,0x571)](_0x114081))['join']('\x0a'),_0x408160[_0x1c05d1(0x1a4,_0x454725._0x255962,0x5,0x23b)]=_0x175a91+_0xc31e1c['length'];}const _0x5b62b6=(_0x4e35b6>0x0?_0x1c05d1(_0x454725._0x392be9,-0x71,_0x454725._0x568f99,-_0x454725._0x3636e7)+_0x4e35b6+_0x2ddc8b(0x4e3,_0x454725._0x554edd,_0x454725._0x183e49,_0x454725._0x4ecce5):'')+_0x326d91;return{'output':_0x5b62b6,'status':_0x408160[_0x2ddc8b(0x44f,_0x454725._0x4b5911,0x590,_0x454725._0x5aae90)],'exitCode':_0x408160['exitCode'],'signal':_0x408160['signal'],'truncated':_0x4e35b6>0x0};}['list'](){const _0x4bdd97={_0x14726d:0x4c7,_0x571888:0x597,_0x4a4830:0x63b},_0x5ca897={_0x325a67:0x171,_0x111015:0x1c4},_0x39ec1d={_0x4d765a:0x5e,_0xa059a6:0x1ae,_0x2f1123:0x25e};function _0x4a3ca1(_0x21279e,_0x1bd6c8,_0x5a1971,_0x44881e){return _0x257320(_0x21279e-_0x39ec1d._0x4d765a,_0x1bd6c8-_0x39ec1d._0xa059a6,_0x44881e-_0x39ec1d._0x2f1123,_0x5a1971);}function _0x142be5(_0x1f8af9,_0xd75cd1,_0x280cae,_0x2de6b7){return _0x3342ed(_0x1f8af9-0x88,_0x1f8af9,_0x2de6b7-_0x5ca897._0x325a67,_0x2de6b7-_0x5ca897._0x111015);}return[...this[_0x142be5(0x49f,0x595,0x62b,_0x4bdd97._0x14726d)][_0x4a3ca1(0x724,_0x4bdd97._0x571888,0x76e,_0x4bdd97._0x4a4830)]()];}[_0x257320(0x22c,0x2cb,0x316,0x280)](_0x1329ab){const _0x29ab5d={_0x138924:0x3ea,_0xf988af:0x594,_0x356ff5:0x2cb,_0x3f2cac:0x2b4,_0x87e70:0x226,_0x144ab0:0x394,_0x1dc33b:0x38f,_0x5e7402:0x4d4,_0x5a36f1:0x351,_0x1eb84e:0x450,_0x40795f:0x259,_0x21321d:0x274,_0x53b029:0x2f4,_0x1a5f13:0x22a,_0x2d7db4:0x250,_0x119eb1:0x2bd,_0x265c9d:0x401,_0x28e772:0x2fd,_0x3f53b8:0x41d,_0xb8e07b:0x4e5,_0x116692:0x41b,_0x64073b:0x257,_0x3b64e3:0x25e,_0x537c41:0x59d,_0x35d33d:0x478,_0x5e2021:0x470,_0x3b572e:0x4c2},_0x16d291={_0x3b1bda:0x17b,_0x334bdc:0x13b},_0xeae19={_0x59bef4:0x193,_0x5ed543:0x1de};function _0x36072c(_0x411eef,_0x3c02ce,_0x248f05,_0x4c66cb){return _0x3342ed(_0x411eef-0x1c7,_0x4c66cb,_0x3c02ce- -_0xeae19._0x59bef4,_0x4c66cb-_0xeae19._0x5ed543);}function _0x5aba6d(_0x983dc4,_0x3f0f05,_0x21a806,_0x311f4b){return _0x257320(_0x983dc4-_0x16d291._0x3b1bda,_0x3f0f05-_0x16d291._0x334bdc,_0x311f4b-0x8b,_0x983dc4);}const _0x3f729a=this[_0x5aba6d(0x335,_0x29ab5d._0x138924,_0x29ab5d._0xf988af,0x46d)]['get'](_0x1329ab);if(!_0x3f729a)throw new ToolExecutionError(_0x36072c(_0x29ab5d._0x356ff5,_0x29ab5d._0x3f2cac,0x30c,_0x29ab5d._0x87e70)+_0x1329ab,{'shellId':_0x1329ab});if(_0x3f729a['status']==='running'&&_0x3f729a[_0x5aba6d(_0x29ab5d._0x144ab0,_0x29ab5d._0x1dc33b,0x388,_0x29ab5d._0x5e7402)]&&!_0x3f729a[_0x5aba6d(0x53e,_0x29ab5d._0x5a36f1,0x5a9,_0x29ab5d._0x1eb84e)]){_0x3f729a[_0x36072c(0xec,_0x29ab5d._0x40795f,0x3c8,_0x29ab5d._0x21321d)]=!![];try{killProcessGroup(_0x3f729a[_0x36072c(_0x29ab5d._0x53b029,_0x29ab5d._0x1a5f13,0x1f0,_0x29ab5d._0x2d7db4)],process[_0x5aba6d(_0x29ab5d._0x119eb1,_0x29ab5d._0x265c9d,_0x29ab5d._0x28e772,_0x29ab5d._0x3f53b8)]==='win32');}catch{}}return{'status':_0x3f729a[_0x5aba6d(_0x29ab5d._0xb8e07b,0x2f4,0x57b,_0x29ab5d._0x116692)],'exitCode':_0x3f729a[_0x36072c(0x368,_0x29ab5d._0x64073b,0x17f,_0x29ab5d._0x3b64e3)],'signal':_0x3f729a[_0x5aba6d(_0x29ab5d._0x537c41,_0x29ab5d._0x35d33d,_0x29ab5d._0x5e2021,_0x29ab5d._0x3b572e)]};}async['closeAll'](){const _0x4c40dc={_0xa9c38f:0x53e,_0x697359:0x62,_0x3a16c6:0x228,_0x17480f:0x79b,_0x452c3c:0x622,_0x4bff49:0x6a9,_0x2e3fbd:0x1f2,_0x819369:0x1fd,_0xd340e6:0x113,_0x252c6d:0x70a,_0x190ebd:0x5d2,_0x1453ac:0x675,_0x52b995:0x624,_0x4f1711:0x730},_0x47bf64={_0x4dd481:0xdb,_0x32408d:0x14e},_0x16bbcf={_0x3fc0d0:0x1ba,_0x35e774:0x138};function _0x51b109(_0x13dbb8,_0xd966af,_0x3b94fe,_0x4fc8da){return _0x257320(_0x13dbb8-_0x16bbcf._0x3fc0d0,_0xd966af-_0x16bbcf._0x35e774,_0x3b94fe-0x292,_0x4fc8da);}function _0x95072e(_0x522579,_0x46a7da,_0x29f547,_0x216847){return _0x3342ed(_0x522579-_0x47bf64._0x4dd481,_0x522579,_0x46a7da- -0x28f,_0x216847-_0x47bf64._0x32408d);}for(const _0x2056e9 of this[_0x51b109(0x64a,0x730,0x674,_0x4c40dc._0xa9c38f)][_0x95072e(_0x4c40dc._0x697359,0xc2,_0x4c40dc._0x3a16c6,-0x73)]()){if(_0x2056e9[_0x51b109(_0x4c40dc._0x17480f,0x5ec,_0x4c40dc._0x452c3c,_0x4c40dc._0x4bff49)]===_0x95072e(0x347,_0x4c40dc._0x2e3fbd,_0x4c40dc._0x819369,_0x4c40dc._0xd340e6)&&_0x2056e9[_0x95072e(0x20c,0x12e,0x143,0x11a)]&&!_0x2056e9['processExited']){_0x2056e9[_0x51b109(0x5a0,0x824,_0x4c40dc._0x252c6d,_0x4c40dc._0x190ebd)]=!![];try{killProcessGroup(_0x2056e9['child'],process[_0x51b109(0x754,_0x4c40dc._0x1453ac,_0x4c40dc._0x52b995,0x581)]===_0x51b109(0x51b,_0x4c40dc._0x4f1711,0x5d4,0x57a));}catch{}}}}[_0x3342ed(0x2e4,0x3bc,0x39e,0x40a)](_0x185919,_0x243f22){const _0x5d90e1={_0x3e2d96:0x71b,_0x405e29:0x770,_0x4baaf6:0x7ca,_0x2a545d:0x72b,_0xdfa246:0x47,_0x21f2f2:0x177,_0x3d290d:0x3,_0x3ad70a:0x55,_0x2f98d8:0x77c,_0x55c765:0x851,_0x4279ab:0x2d8,_0x1cfe9d:0x1b9,_0x582cbd:0x154,_0x1f8ed8:0x63b,_0x8e1954:0x75f,_0x555e75:0x716,_0x47539e:0x81b,_0x4e62f0:0x758,_0x30cc0b:0x212,_0x523048:0x1f1,_0x42c0aa:0x535,_0x4ed7a6:0x6a6,_0x3fe85b:0x478,_0x3f517a:0x826,_0x54ca98:0x5df,_0x16111c:0x1d7,_0xed7d33:0x35,_0x53913d:0x115,_0x409267:0x16a,_0x53196b:0x193,_0x4633c:0x204,_0x3c31b1:0x7a2,_0x30628d:0x90a,_0x5a22c7:0x7ce,_0x3a83ef:0x1d4,_0x1e6ffa:0x535,_0x2280ed:0x67d,_0x9ae1a8:0x4bc,_0x2d5f59:0x61e,_0x361243:0x65c,_0x302e39:0x61d,_0x23c09c:0x8a1,_0x3b8bf:0x1de},_0x586d87={_0x5d0ba6:0x46,_0x1dae79:0x368},_0x7c565c={_0x20b9c6:0x281},_0x4df86d=_0x185919[_0x3dab75(_0x5d90e1._0x3e2d96,_0x5d90e1._0x405e29,0x857,0x5ea)]?stripAnsiAndControls(_0x243f22):_0x243f22;if(_0x4df86d[_0x3dab75(0x7a2,0x83e,_0x5d90e1._0x4baaf6,_0x5d90e1._0x2a545d)]===0x0)return;_0x185919[_0x3183d8(-0x1ac,-_0x5d90e1._0xdfa246,-0xb4,-_0x5d90e1._0x21f2f2)][_0x3183d8(0xf9,0x5a,_0x5d90e1._0x3d290d,-_0x5d90e1._0x3ad70a)](_0x4df86d),_0x185919[_0x3dab75(_0x5d90e1._0x2f98d8,0x656,_0x5d90e1._0x55c765,0x6e0)]+=_0x4df86d[_0x3183d8(0x8e,_0x5d90e1._0x4279ab,_0x5d90e1._0x1cfe9d,0x1ed)];function _0x3dab75(_0x2d91b1,_0x4d1d6a,_0x126f05,_0x155a6f){return _0x257320(_0x2d91b1-0x8a,_0x4d1d6a-0x115,_0x2d91b1-_0x7c565c._0x20b9c6,_0x126f05);}function _0x3183d8(_0x57de23,_0x12a0e9,_0x456fcb,_0x39f9b4){return _0x257320(_0x57de23-_0x586d87._0x5d0ba6,_0x12a0e9-0xa4,_0x456fcb- -_0x586d87._0x1dae79,_0x57de23);}_0x185919[_0x3183d8(0x1d6,0x29d,_0x5d90e1._0x582cbd,0x51)]+=_0x4df86d['length'];while(_0x185919[_0x3dab75(0x77c,0x65d,_0x5d90e1._0x1f8ed8,_0x5d90e1._0x8e1954)]>this['capChars']){const _0x24fd2a=_0x185919[_0x3dab75(0x77c,_0x5d90e1._0x555e75,_0x5d90e1._0x47539e,_0x5d90e1._0x4e62f0)]-this[_0x3183d8(0x314,_0x5d90e1._0x30cc0b,_0x5d90e1._0x523048,0x1ed)],_0x40faa7=_0x185919[_0x3dab75(_0x5d90e1._0x42c0aa,0x691,_0x5d90e1._0x4ed7a6,_0x5d90e1._0x3fe85b)][0x0];_0x40faa7[_0x3dab75(0x7a2,0x8a7,0x8f8,_0x5d90e1._0x3f517a)]<=_0x24fd2a?(_0x185919[_0x3dab75(0x535,_0x5d90e1._0x54ca98,0x533,0x472)][_0x3183d8(_0x5d90e1._0x16111c,-_0x5d90e1._0xed7d33,_0x5d90e1._0x53913d,_0x5d90e1._0x409267)](),_0x185919[_0x3183d8(0x2d5,0x1b,_0x5d90e1._0x53196b,_0x5d90e1._0x4633c)]-=_0x40faa7[_0x3dab75(_0x5d90e1._0x3c31b1,_0x5d90e1._0x30628d,0x789,_0x5d90e1._0x5a22c7)],_0x185919[_0x3183d8(_0x5d90e1._0x3a83ef,0x1c5,0x1ee,0x26e)]+=_0x40faa7['length']):(_0x185919[_0x3dab75(_0x5d90e1._0x1e6ffa,_0x5d90e1._0x2280ed,_0x5d90e1._0x9ae1a8,_0x5d90e1._0x2d5f59)][0x0]=_0x40faa7[_0x3dab75(0x795,0x804,_0x5d90e1._0x361243,_0x5d90e1._0x302e39)](_0x24fd2a),_0x185919[_0x3dab75(_0x5d90e1._0x2f98d8,0x62b,_0x5d90e1._0x23c09c,0x8df)]-=_0x24fd2a,_0x185919[_0x3183d8(0x290,0x257,0x1ee,_0x5d90e1._0x3b8bf)]+=_0x24fd2a);}}[_0x257320(0x281,0x41e,0x2e3,0x351)](){const _0x3c653c={_0x1cb84d:0xea,_0x4a3045:0x184,_0x3504e5:0x140,_0x3acb7e:0x5ae,_0x473e81:0x6a1,_0x3bb105:0x73f,_0x3a0b82:0x614,_0x11662c:0x74e,_0xeb7f4e:0x784,_0x522213:0x6a9,_0x1cf1fc:0x734,_0x190ae4:0x6c4},_0x399299={_0x3d1669:0xd4,_0x12639b:0x333,_0x4b4ec5:0x1d4},_0x43a0c5={_0xe39719:0x2be,_0x51cdc8:0x4f};function _0x32e0b5(_0x5b2561,_0x194d26,_0x121049,_0x3636ba){return _0x3342ed(_0x5b2561-0x59,_0x121049,_0x5b2561-_0x43a0c5._0xe39719,_0x3636ba-_0x43a0c5._0x51cdc8);}if(this[_0x25f5a0(-0x125,-_0x3c653c._0x1cb84d,0x197,0x23)][_0x25f5a0(0x22e,0x133,_0x3c653c._0x4a3045,_0x3c653c._0x3504e5)]<=this[_0x32e0b5(_0x3c653c._0x3acb7e,0x650,0x4b2,_0x3c653c._0x473e81)])return;function _0x25f5a0(_0x2ce607,_0x1d7182,_0x3df929,_0x1ca2b8){return _0x3342ed(_0x2ce607-_0x399299._0x3d1669,_0x3df929,_0x1ca2b8- -_0x399299._0x12639b,_0x1ca2b8-_0x399299._0x4b4ec5);}for(const [_0x17a5f5,_0x242b46]of this['entries']){if(_0x242b46['status']!==_0x32e0b5(_0x3c653c._0x3bb105,0x68a,0x88a,0x81e)){this[_0x32e0b5(_0x3c653c._0x3a0b82,_0x3c653c._0x11662c,0x766,_0x3c653c._0xeb7f4e)][_0x32e0b5(_0x3c653c._0x522213,_0x3c653c._0x1cf1fc,0x678,_0x3c653c._0x190ae4)](_0x17a5f5);return;}}}};function createBashOutputTool(_0x213ea3){const _0x1a4436={_0x174df8:0x1dc,_0x1c680b:0x29c,_0x3976b8:0x2bd,_0x13860b:0x505,_0x549d89:0x624,_0x386ea9:0x624,_0xbe3799:0x722,_0x381d7f:0x3},_0x1b63c8={_0x2a68b1:0x54e,_0x4d4f84:0x6a5,_0x2e4522:0x258,_0x527999:0x2cc,_0x529f6a:0x273,_0x547b20:0x279,_0x2b96e9:0x2d9,_0xf9e55:0x1fe,_0x55cf89:0x122,_0x25b030:0x91,_0x45fb2a:0x1,_0x3a8c98:0x5,_0x463679:0x766,_0x118f27:0x792,_0x13f284:0x810,_0x4130f4:0x157,_0x5a0489:0x192,_0x922332:0x2b0,_0x3d2259:0x19,_0x15f906:0x166},_0x288545={_0x482825:0x1e1,_0x2aac52:0x12f,_0x543184:0x19},_0x1cf849={_0x15ba17:0x14a},_0x2f03ac={_0x55eb83:0x10c};function _0x2ffd88(_0x1b0e27,_0x1d956b,_0x4b23a8,_0x25b2d5){return _0x257320(_0x1b0e27-0x4b,_0x1d956b-0xe8,_0x4b23a8-_0x2f03ac._0x55eb83,_0x1d956b);}function _0xe0dcfd(_0x1fe283,_0x1b6388,_0x401082,_0x1caaf2){return _0x257320(_0x1fe283-0x174,_0x1b6388-0xca,_0x1caaf2- -0x4c2,_0x1fe283);}const {registry:_0x47651f}=_0x213ea3;return defineTool({'name':_0xe0dcfd(-_0x1a4436._0x174df8,-_0x1a4436._0x1c680b,-_0x1a4436._0x3976b8,-_0x1a4436._0x174df8),'description':'Read\x20new\x20output\x20from\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true).\x20Returns\x20output\x20produced\x20since\x20the\x20last\x20read;\x20optionally\x20filter\x20lines\x20by\x20a\x20regex.','inputSchema':{'type':'object','properties':{'shellId':{'type':_0x2ffd88(0x4c2,_0x1a4436._0x13860b,_0x1a4436._0x549d89,0x5a3)},'regex':{'type':_0x2ffd88(0x518,0x599,_0x1a4436._0x386ea9,_0x1a4436._0xbe3799)}},'required':[_0xe0dcfd(0x81,0x9b,_0x1a4436._0x381d7f,0x95)]},async *'execute'(_0x48b699){const _0x3475a5=_0x47651f[_0x4ca90d(_0x1b63c8._0x2a68b1,_0x1b63c8._0x4d4f84,0x5b3,0x714)](_0x48b699[_0x57e926(_0x1b63c8._0x2e4522,_0x1b63c8._0x527999,_0x1b63c8._0x529f6a,_0x1b63c8._0x547b20)],_0x48b699[_0x57e926(0x108,_0x1b63c8._0x2b96e9,_0x1b63c8._0xf9e55,0x1c2)]?{'regex':_0x48b699['regex']}:void 0x0);function _0x57e926(_0x249212,_0x497e6b,_0xfb12eb,_0x98ef97){return _0xe0dcfd(_0x98ef97,_0x497e6b-0x3,_0xfb12eb-_0x1cf849._0x15ba17,_0xfb12eb-0x1de);}function _0x4ca90d(_0x57844f,_0x115026,_0x480b5b,_0x584688){return _0x2ffd88(_0x57844f-_0x288545._0x482825,_0x584688,_0x115026-_0x288545._0x2aac52,_0x584688-_0x288545._0x543184);}return createToolOutput(_0x3475a5[_0x57e926(_0x1b63c8._0x55cf89,_0x1b63c8._0x25b030,_0x1b63c8._0x45fb2a,-_0x1b63c8._0x3a8c98)],{'shellId':_0x48b699[_0x4ca90d(_0x1b63c8._0x463679,_0x1b63c8._0x118f27,0x8cc,_0x1b63c8._0x13f284)],'status':_0x3475a5[_0x4ca90d(0x4c9,0x5cb,0x59b,0x543)],'exitCode':_0x3475a5[_0x57e926(_0x1b63c8._0x4130f4,0xb1,_0x1b63c8._0x5a0489,_0x1b63c8._0x922332)],'signal':_0x3475a5[_0x57e926(-_0x1b63c8._0x3d2259,0x2a6,0x153,_0x1b63c8._0x15f906)],'truncated':_0x3475a5[_0x57e926(0x32,0x22c,0xc0,0x12a)]});}});}import{spawn as _0x3f73df}from'child_process';import{statSync}from'fs';import*as _0x1fe5ec from'os';import*as _0x49093b from'path';import{StringDecoder as _0x1628c2}from'string_decoder';import{stat}from'fs/promises';import*as _0x1f1bb2 from'path';function isPathInside(_0x3677a9,_0x35a4b7){const _0x3a0d0e={_0x1cb8a6:0x201,_0x1fe8aa:0xc1,_0x579b25:0x95,_0x18f340:0xb2},_0x1078a5={_0x3d2768:0x88,_0x52e08f:0x15c},_0x388b18={_0x1cdebf:0xf6,_0x5a32d8:0xea,_0x544dc1:0x24b};function _0x7405ac(_0x147799,_0x3ca87a,_0x4f9fce,_0x38ae67){return _0x257320(_0x147799-_0x388b18._0x1cdebf,_0x3ca87a-_0x388b18._0x5a32d8,_0x4f9fce- -_0x388b18._0x544dc1,_0x38ae67);}const _0x23d071=_0x1f1bb2[_0x888b5c(0x2f7,0xfb,_0x3a0d0e._0x1cb8a6,0x2e2)](_0x3677a9),_0x22d6dd=_0x1f1bb2[_0x7405ac(-0x12,_0x3a0d0e._0x1fe8aa,_0x3a0d0e._0x579b25,_0x3a0d0e._0x18f340)](_0x23d071,_0x35a4b7);function _0x888b5c(_0x216c7e,_0xd5e1d3,_0x273ac3,_0xb7ce65){return _0x257320(_0x216c7e-_0x1078a5._0x3d2768,_0xd5e1d3-0x118,_0x273ac3- -_0x1078a5._0x52e08f,_0xd5e1d3);}return _0x22d6dd===''||!_0x22d6dd['startsWith']('..')&&!_0x1f1bb2['isAbsolute'](_0x22d6dd);}function resolveWorkspacePath(_0x1963ed,_0x1ae901){return resolveAllowedPath(_0x1963ed,[],_0x1ae901);}function resolveAllowedPath(_0x474ba2,_0x502c4b,_0x237eac){const _0x5bebea={_0x44fd04:0x2a3,_0x558df6:0x2a9,_0x5e430a:0x154,_0x157f4b:0x495},_0x458b25={_0xf7ef23:0xe5},_0x7409ff={_0x1aa614:0xc8,_0x2d2eed:0x2e,_0x34c58d:0x17};function _0x502c3c(_0x4ec566,_0x37d0ab,_0x27ec40,_0xdadc2f){return _0x3342ed(_0x4ec566-_0x7409ff._0x1aa614,_0x27ec40,_0x4ec566- -_0x7409ff._0x2d2eed,_0xdadc2f-_0x7409ff._0x34c58d);}const _0x220b1b=_0x1f1bb2['resolve'](_0x474ba2);function _0x51ee5a(_0x4e72d1,_0x259055,_0x339573,_0x4e82e7){return _0x257320(_0x4e72d1-0x97,_0x259055-0x104,_0x259055-_0x458b25._0xf7ef23,_0x4e82e7);}const _0x3dec44=_0x1f1bb2[_0x502c3c(_0x5bebea._0x44fd04,_0x5bebea._0x558df6,0x3b2,_0x5bebea._0x5e430a)](_0x220b1b,_0x237eac),_0x2b5b0e=[_0x220b1b,..._0x502c4b['map'](_0x5cb87a=>_0x1f1bb2[_0x51ee5a(0x36a,0x442,0x5ab,0x4cb)](_0x5cb87a))];if(_0x2b5b0e[_0x51ee5a(0x32d,0x498,0x55b,_0x5bebea._0x157f4b)](_0x2fa673=>isPathInside(_0x2fa673,_0x3dec44)))return _0x3dec44;throw new ToolExecutionError(_0x502c3c(0x395,0x336,0x3e8,0x2cb)+_0x237eac,{'path':_0x237eac,'rootDir':_0x220b1b,'allowedDirs':_0x2b5b0e});}async function assertWorkspaceFile(_0x59ac9d){const _0x5be558={_0x19e30e:0x3fd,_0x132212:0x695,_0xe11e91:0x558},_0xb6ee55={_0x4a558b:0x5,_0x3343e5:0x8f},_0xf7f370={_0x2292a7:0x3d},_0x3d4502=await stat(_0x59ac9d);function _0x147ca9(_0x1c3347,_0x541775,_0x398c61,_0x106d0c){return _0x257320(_0x1c3347-0x40,_0x541775-0x1cb,_0x541775- -_0xf7f370._0x2292a7,_0x1c3347);}function _0x4b68ef(_0x1c98e2,_0x3e4123,_0x2a0a5c,_0x259921){return _0x257320(_0x1c98e2-_0xb6ee55._0x4a558b,_0x3e4123-0xa3,_0x2a0a5c-_0xb6ee55._0x3343e5,_0x3e4123);}if(!_0x3d4502[_0x4b68ef(0x523,0x3e9,_0x5be558._0x19e30e,0x4b1)]())throw new ToolExecutionError(_0x4b68ef(_0x5be558._0x132212,_0x5be558._0xe11e91,0x5c5,0x599)+_0x59ac9d,{'path':_0x59ac9d});}function isProbablyBinary(_0x59d05a){return _0x59d05a['includes'](0x0);}var DEFAULT_DESCRIPTION=_0x3342ed(0x1f3,0x3c6,0x26b,0x384),DEFAULT_TIMEOUT_MS=0x7530;function buildChildEnv(_0x1fac6c,_0x34e124){const _0x3b35cc={_0x1ecc31:0x103,_0x13c81a:0x139,_0x24b804:0x211,_0x4f4e03:0x29,_0x26ec4b:0x123,_0x58bcc6:0x125,_0xc5f1d1:0xa,_0x497aec:0x2,_0x103509:0x70},_0x20f541={_0x57cb08:0x3b6,_0x3cea7e:0x78},_0x457e78={_0x2ee758:0x8c,_0x50423c:0x1ac,_0x513451:0x3e8},_0x4eb1c9={...process['env'],..._0x1fac6c??{}};function _0x53f754(_0x2004e3,_0xf2516d,_0x130417,_0x1dd3e2){return _0x257320(_0x2004e3-_0x457e78._0x2ee758,_0xf2516d-_0x457e78._0x50423c,_0xf2516d- -_0x457e78._0x513451,_0x130417);}if(_0x34e124[_0x53f754(_0x3b35cc._0x1ecc31,_0x3b35cc._0x13c81a,_0x3b35cc._0x24b804,0x82)]===0x0)return _0x4eb1c9;if(_0x1fe5ec[_0x5a9487(-0x1c2,-0x72,_0x3b35cc._0x4f4e03,-0xb0)]()==='win32'){const _0x447e84=new Set(_0x34e124[_0x5a9487(-0x24d,-0xc3,-_0x3b35cc._0x26ec4b,-_0x3b35cc._0x58bcc6)](_0x54a0d8=>_0x54a0d8['toLowerCase']()));for(const _0xdd0a3d of Object['keys'](_0x4eb1c9)){if(_0x447e84[_0x53f754(0xf,_0x3b35cc._0xc5f1d1,_0x3b35cc._0x497aec,_0x3b35cc._0x103509)](_0xdd0a3d['toLowerCase']()))delete _0x4eb1c9[_0xdd0a3d];}}else{for(const _0x10e4ff of _0x34e124)delete _0x4eb1c9[_0x10e4ff];}function _0x5a9487(_0x2ba68a,_0x552793,_0x5c6c03,_0x54381f){return _0x3342ed(_0x2ba68a-0x173,_0x2ba68a,_0x54381f- -_0x20f541._0x57cb08,_0x54381f-_0x20f541._0x3cea7e);}return _0x4eb1c9;}function mapSpawnError(_0x4899fd,_0x15c6b5){const _0x5cb139={_0x4baabf:0x113,_0x3ec599:0xaf,_0x154fce:0x294,_0x625483:0x28b,_0x1b673b:0x220,_0x317d6c:0xcb,_0x156415:0x4de,_0xcbf4c6:0x466,_0x2e2a0a:0x1d8,_0x519d0e:0x10e},_0x7ce2f3={_0x476dbd:0x13,_0x832314:0x1ef,_0xa4a37d:0x2f2};function _0x3fd704(_0x20e510,_0x1e2c9d,_0x67ef8d,_0xba3630){return _0x3342ed(_0x20e510-0x9,_0xba3630,_0x67ef8d- -0x11,_0xba3630-0x1d6);}if(isErrnoException(_0x4899fd)&&_0x4899fd[_0x4e4268(_0x5cb139._0x4baabf,_0x5cb139._0x3ec599,0x14c,-0x3c)]===_0x4e4268(_0x5cb139._0x154fce,_0x5cb139._0x625483,0x3a6,0x346))return new ToolExecutionError(_0x4e4268(_0x5cb139._0x1b673b,0x1ab,_0x5cb139._0x317d6c,0x236)+_0x15c6b5[_0x3fd704(_0x5cb139._0x156415,0x4bf,_0x5cb139._0xcbf4c6,0x555)],_0x15c6b5);function _0x4e4268(_0x6425cc,_0x1ef672,_0x5c27f3,_0x1ad37f){return _0x257320(_0x6425cc-_0x7ce2f3._0x476dbd,_0x1ef672-_0x7ce2f3._0x832314,_0x6425cc- -_0x7ce2f3._0xa4a37d,_0x5c27f3);}return new ToolExecutionError(_0x4899fd instanceof Error?_0x4899fd[_0x4e4268(0x273,0x15c,_0x5cb139._0x2e2a0a,_0x5cb139._0x519d0e)]:String(_0x4899fd),_0x15c6b5);}function shellExists(_0x54849b){const _0x4f91a6={_0x303418:0xa5,_0xdfaece:0x127,_0x2c31ee:0x144,_0x511e7d:0x25d,_0x310554:0x2df,_0x4f4ba8:0x38a},_0x274eb8={_0x178525:0x2,_0x51a757:0x2c9},_0x5f04af={_0x1fb02b:0x49,_0x52e75b:0x1df};function _0x1e6c02(_0x283547,_0x35e5a5,_0x582d73,_0x5be32f){return _0x3342ed(_0x283547-_0x5f04af._0x1fb02b,_0x5be32f,_0x35e5a5- -_0x5f04af._0x52e75b,_0x5be32f-0x127);}function _0x33e0c4(_0xf7e987,_0x50b772,_0xf2fd29,_0x4e373c){return _0x257320(_0xf7e987-0x38,_0x50b772-_0x274eb8._0x178525,_0xf2fd29- -_0x274eb8._0x51a757,_0x50b772);}try{const _0x4ea88d=statSync(_0x54849b);return _0x4ea88d[_0x33e0c4(0x5e,0x1f9,_0x4f91a6._0x303418,_0x4f91a6._0xdfaece)]()&&(_0x4ea88d[_0x1e6c02(_0x4f91a6._0x2c31ee,_0x4f91a6._0x511e7d,_0x4f91a6._0x310554,_0x4f91a6._0x4f4ba8)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x4e70a0){const _0x2988d5={_0x25a7d7:0xf8,_0x5511fc:0xb1,_0xffc473:0x202,_0x309840:0x99,_0x274593:0xea,_0x532571:0xf6,_0x438a48:0x29,_0x3b661d:0x25a,_0x49f4a7:0x774,_0x33b5a2:0x68d,_0x1f5137:0x6ab,_0x5702e6:0x61c,_0x5d23ff:0x644,_0x30869d:0x618,_0x1abaf7:0x565,_0x20a3d4:0x615,_0x555591:0x146,_0x386f16:0x10a},_0x4a7181={_0x1b5e1f:0xd5};if(_0x4e70a0)return _0x4e70a0;if(_0x1fe5ec[_0x570367(-0x61,-_0x2988d5._0x25a7d7,0x7,0x27)]()===_0x570367(-_0x2988d5._0x5511fc,-0x10b,-_0x2988d5._0xffc473,-0x25))return process[_0x570367(-0x4c,-0x41,-_0x2988d5._0x309840,-_0x2988d5._0x274593)][_0x570367(_0x2988d5._0x532571,0xa,_0x2988d5._0x438a48,_0x2988d5._0x3b661d)]||_0x5bbe16(0x7aa,_0x2988d5._0x49f4a7,_0x2988d5._0x33b5a2,0x66e);const _0x1efdfd=[_0x5bbe16(0x5e2,_0x2988d5._0x1f5137,0x721,_0x2988d5._0x5702e6),_0x5bbe16(_0x2988d5._0x5d23ff,_0x2988d5._0x30869d,_0x2988d5._0x1abaf7,0x6ba),'/usr/bin/bash',_0x5bbe16(0x5a3,0x41b,_0x2988d5._0x20a3d4,0x52e)];function _0x570367(_0x1e2b34,_0x36ca9a,_0x4401ba,_0xb7dfb8){return _0x3342ed(_0x1e2b34-0xdd,_0xb7dfb8,_0x1e2b34- -0x367,_0xb7dfb8-0x5b);}for(const _0x27a185 of _0x1efdfd){if(shellExists(_0x27a185))return _0x27a185;}const _0x12dacd=process[_0x5bbe16(0x5f7,0x6b2,0x6c6,0x5e7)][_0x570367(0x17b,0x2c4,_0x2988d5._0x555591,_0x2988d5._0x386f16)];if(_0x12dacd&&shellExists(_0x12dacd))return _0x12dacd;function _0x5bbe16(_0x276ddd,_0x242b71,_0x1b0885,_0x53fc97){return _0x257320(_0x276ddd-_0x4a7181._0x1b5e1f,_0x242b71-0xb5,_0x53fc97-0x240,_0x276ddd);}return'/bin/bash';}function buildShellArgs(_0x1d0a38,_0xb9c6fe){const _0x208d31={_0x412081:0x6b,_0xfa8573:0xa,_0x114166:0x34,_0x5511a0:0x1a0,_0x3df8ce:0x318,_0x237214:0x332,_0x45f2e0:0x443,_0x37d3ee:0x273,_0x384931:0x32e,_0x56ade5:0x276,_0x5e65c1:0x23f},_0x185c15={_0x178ea2:0x3fd},_0x106c77={_0xee7762:0x1b9,_0x43e2df:0x14a,_0x3340f1:0x16a};if(_0x1fe5ec[_0x46c387(-_0x208d31._0x412081,-_0x208d31._0xfa8573,-0x35,-_0x208d31._0x114166)]()===_0x219219(_0x208d31._0x5511a0,_0x208d31._0x3df8ce,0x1d8,_0x208d31._0x237214)){const _0x3f0221=/cmd(\.exe)?$/i[_0x219219(0x2a6,0x25d,0x316,_0x208d31._0x45f2e0)](_0xb9c6fe);return _0x3f0221?['/d','/s','/c',_0x1d0a38]:['-NoLogo','-NoProfile',_0x219219(_0x208d31._0x37d3ee,_0x208d31._0x384931,_0x208d31._0x56ade5,_0x208d31._0x5e65c1),_0x1d0a38];}function _0x219219(_0x2f9128,_0x2175d7,_0x3364e0,_0x32a577){return _0x257320(_0x2f9128-_0x106c77._0xee7762,_0x2175d7-_0x106c77._0x43e2df,_0x3364e0- -_0x106c77._0x3340f1,_0x2f9128);}function _0x46c387(_0x2dce18,_0x229026,_0x2b9af6,_0x2d9e22){return _0x257320(_0x2dce18-0x9a,_0x229026-0x1f4,_0x2dce18- -_0x185c15._0x178ea2,_0x229026);}return['-c',_0x1d0a38];}function resolveWorkingDirectory(_0x319ba3,_0x1c6902,_0x2811a6){const _0x48ced5={_0x4408d5:0x33a,_0x3fdcae:0x2cd,_0x1d767f:0x2f4,_0x21f5d5:0x3c8,_0xb89094:0x3fe},_0x26620b={_0x32c166:0x63,_0x12a6b4:0x1f2},_0x1d25e9={_0x537709:0x96,_0x4d42cc:0xeb};function _0x342b58(_0xdac080,_0x3bdb7f,_0x79d39f,_0x594eac){return _0x257320(_0xdac080-0x9e,_0x3bdb7f-_0x1d25e9._0x537709,_0x594eac- -_0x1d25e9._0x4d42cc,_0x3bdb7f);}function _0x35b53f(_0x557eca,_0x4511b9,_0x5517a4,_0x122202){return _0x257320(_0x557eca-_0x26620b._0x32c166,_0x4511b9-_0x26620b._0x12a6b4,_0x4511b9- -0x534,_0x5517a4);}const _0x2b8f3e=resolveAllowedPath(_0x1c6902,_0x2811a6,_0x319ba3??'.');try{const _0x49b456=statSync(_0x2b8f3e);if(!_0x49b456[_0x342b58(_0x48ced5._0x4408d5,0x3ac,0x4ec,0x385)]())throw new ToolExecutionError(_0x342b58(0x31e,_0x48ced5._0x3fdcae,_0x48ced5._0x1d767f,0x370)+_0x2b8f3e,{'cwd':_0x2b8f3e});return _0x2b8f3e;}catch(_0x25c27f){if(_0x25c27f instanceof ToolExecutionError)throw _0x25c27f;throw new ToolExecutionError(_0x342b58(0x38a,_0x48ced5._0x21f5d5,_0x48ced5._0xb89094,0x367)+_0x2b8f3e,{'cwd':_0x2b8f3e});}}function appendChunk(_0x40627e,_0x47dee6,_0x44b2e5,_0x558a73,_0x5478f2){const _0x3a4afa={_0xdbac3:0x21e,_0x2482b4:0x18f,_0x33e9c6:0x309},_0xd6f431={_0x3f6231:0x46e},_0x55793d={_0x3d8169:0xd4,_0x4665d2:0x4f};function _0x1798f7(_0x48bf13,_0x48e1c7,_0x414724,_0x315da6){return _0x257320(_0x48bf13-_0x55793d._0x3d8169,_0x48e1c7-_0x55793d._0x4665d2,_0x48e1c7- -0x189,_0x48bf13);}const _0x212d87=_0x558a73?stripAnsiAndControls(_0x44b2e5):_0x44b2e5;if(_0x212d87['length']===0x0)return;function _0x1b8817(_0x3bc373,_0x19b62d,_0x53cc44,_0x278b87){return _0x3342ed(_0x3bc373-0xe6,_0x53cc44,_0x278b87- -_0xd6f431._0x3f6231,_0x278b87-0x1c1);}_0x40627e[_0x1b8817(-_0x3a4afa._0xdbac3,-0x6a,-0x115,-_0x3a4afa._0x2482b4)](_0x212d87),_0x47dee6[_0x1798f7(0xf2,0x1e2,0x131,_0x3a4afa._0x33e9c6)](_0x212d87),_0x5478f2();}function createBashTool(_0x3af924={}){const _0x314ddf={_0x111c52:0x8c,_0x5b0a82:0x5f,_0x1bec0d:0xab,_0x1892f6:0x76,_0x182eaf:0xfe,_0x55fcab:0xbc,_0x2bf8fd:0x11a,_0x41ce87:0x13,_0xd343cd:0x2bd,_0xb39aac:0x1db,_0x27e196:0x1ee,_0x5afc38:0x8e,_0x5c3b53:0x7f,_0x472d31:0xc2,_0x23ec1d:0x16b,_0x128ccb:0x1e6,_0x1f913a:0x21d,_0x5d39d0:0x20a,_0x2678a7:0xc8,_0x3ab9cf:0xf2,_0x450315:0x1d7,_0x46d662:0x161,_0x449300:0x22,_0x2d5109:0x117,_0x2c4f07:0x18f,_0x2c6b3b:0x341,_0x5c2248:0x20e,_0x322ab0:0x2e5,_0x4a6a82:0x143,_0x562b87:0xcc,_0x54165a:0xa9,_0x172529:0x105,_0x10944e:0x88,_0x154fe4:0x5b,_0xcdd2f8:0xe2,_0x59739c:0x178,_0x8f0dac:0xe4},_0x582457={_0x14df60:0x1d1,_0x2e92d7:0x2df,_0x4aae8a:0x2c6,_0x1f8140:0x26d,_0x25ce93:0x58,_0xca6ce1:0x1b3,_0x1a3695:0x1ae,_0x5bc1c9:0xd8,_0x3f5813:0x40b,_0x122a82:0x2cc,_0x2254c3:0xcf,_0x5b188d:0x12b,_0xe67219:0x1a1,_0xa44b0e:0x11f,_0x240aa4:0x291,_0x60a488:0x282,_0x28e7a9:0xa4,_0x6edba:0x215,_0x1a5d86:0x12e,_0x4ac376:0xc,_0x979f39:0x116,_0x4b3a78:0xbf,_0x1e2e0e:0xa5,_0x42f126:0x1d8,_0x424135:0x157,_0x2c5459:0x2be,_0x21e355:0x271,_0x152c85:0x22f,_0x453e1f:0x240,_0x224768:0x238,_0x446853:0x3d9,_0x1e121d:0x461,_0x417002:0x334,_0x1d9f49:0xcf,_0x43b484:0x2,_0x397a5c:0x136,_0x23211e:0x84,_0x15e863:0x199,_0x2bb136:0x8d,_0x2a3ac3:0xd7,_0x31965c:0x9a,_0x2a8e2f:0x25,_0x19b707:0x12e,_0x23435e:0x16f,_0x2a20ff:0x120,_0xa18d1d:0x92,_0x49c714:0x9c,_0x5be6ec:0x1e5,_0x3d88f7:0x57,_0x2951bd:0x37,_0x5f28bc:0x91,_0x58ff08:0xaf,_0x49bacd:0xad,_0x4fa914:0x284,_0x15b480:0x8b,_0x89a4e:0x458,_0x16e477:0x204,_0x1b1523:0x298,_0x4fd816:0x4ac,_0x66e1a4:0x351,_0x5d843d:0x26f,_0x1f4aa3:0x4ab,_0x161298:0x1e,_0x23e99d:0xb7,_0x5f408d:0x313,_0x5d9974:0x1f1,_0x1309c5:0x31e,_0x56d919:0xa9,_0x45e14d:0x69,_0x431c50:0x2e2,_0x323c27:0x1b4,_0x1a25be:0x321,_0x61dda:0x365,_0x3246cf:0x404,_0x5328db:0x170,_0x2d06b8:0xc1,_0x375a53:0x126,_0x21339e:0xac,_0x57d1bc:0x224,_0x1d6bac:0x22b,_0x13d82d:0x49,_0x495b92:0xd,_0x2a6feb:0xe7,_0x361be6:0xe5,_0x145e5c:0x1b,_0xc4c37f:0xd6,_0x3aa7e8:0x2d3,_0x428bdf:0x189,_0x5c3826:0x50,_0x15c06e:0x34,_0x42de7a:0x59,_0x4133ad:0xb8,_0x480cc5:0x15e,_0x1d019a:0x89,_0x1454d0:0x2a9,_0x40921b:0x203,_0xd68754:0x170,_0x486368:0x1c0,_0x2cbd48:0x1ef,_0x5bf336:0x214,_0x3816c2:0x8e,_0x3d2d56:0x94,_0x18b34a:0x1ad,_0x109218:0xc9,_0x19f685:0x1c8,_0xa2eda:0x1e2,_0x40970b:0x40,_0x12272f:0x21c,_0x3a8abc:0x2b,_0x68071c:0x12e,_0x3ff171:0x1a5,_0x20d108:0x19d,_0x2d0989:0x1a1,_0x5efdae:0x48,_0x255378:0xd,_0x2ef841:0x1c6,_0x2f7b90:0x2d6,_0x1992cd:0x213,_0x5a49f8:0x3ee,_0x1f5b41:0x36c,_0x4211a4:0x37c,_0x8ced5e:0x23a,_0x55d08c:0x347,_0xef8588:0x1fb,_0x1eb021:0x85,_0x58157c:0xcd},_0xf5f6e9={_0x484cfd:0xdc,_0x318b52:0xe7},_0x5843bf={_0x5becd9:0x27e,_0x139246:0x1f},_0x358dc6={_0x28c058:0x40b,_0x1142c7:0x12c};function _0x2cab09(_0x1841bd,_0x1bf91e,_0x400b94,_0x26f35f){return _0x3342ed(_0x1841bd-0x1b8,_0x1bf91e,_0x1841bd- -_0x358dc6._0x28c058,_0x26f35f-_0x358dc6._0x1142c7);}const _0xfb75e1=_0x49093b['resolve'](_0x3af924[_0x2cab09(-_0x314ddf._0x111c52,-0x153,0xb2,-_0x314ddf._0x5b0a82)]??process[_0x2cab09(-0xb2,-_0x314ddf._0x1bec0d,-_0x314ddf._0x1892f6,0x89)]()),_0x1a7dba=(_0x3af924[_0x41f962(_0x314ddf._0x182eaf,0x18,-0x23,-_0x314ddf._0x55fcab)]??[])[_0x41f962(-0x6a,-_0x314ddf._0x2bf8fd,_0x314ddf._0x41ce87,-0xf)](_0x5b06b2=>_0x49093b[_0x2cab09(-0x13a,-0x148,0x39,-0x1e4)](_0x5b06b2)),_0x5ebf3d=_0x3af924[_0x41f962(_0x314ddf._0xd343cd,_0x314ddf._0xb39aac,_0x314ddf._0x27e196,0x16f)]??DEFAULT_TIMEOUT_MS,_0xcb88=_0x3af924[_0x41f962(_0x314ddf._0x5afc38,_0x314ddf._0x5c3b53,0x190,_0x314ddf._0x472d31)]??!![],_0x471317=_0x3af924[_0x2cab09(-_0x314ddf._0x23ec1d,-_0x314ddf._0x128ccb,-0x72,-0xfc)]??'Bash',_0x2b8b68=_0x3af924[_0x41f962(0x2dd,0x2e8,_0x314ddf._0x1f913a,_0x314ddf._0x5d39d0)]??[],_0xbe8ec5=_0x3af924[_0x2cab09(_0x314ddf._0x2678a7,-0x88,_0x314ddf._0x3ab9cf,_0x314ddf._0x450315)];function _0x41f962(_0x19c7c6,_0x43fe1c,_0x57fb5b,_0x9f76ba){return _0x3342ed(_0x19c7c6-0x18d,_0x19c7c6,_0x57fb5b- -_0x5843bf._0x5becd9,_0x9f76ba-_0x5843bf._0x139246);}return defineTool({'name':_0x471317,'description':_0x3af924[_0x41f962(_0x314ddf._0x46d662,-_0x314ddf._0x449300,_0x314ddf._0x2d5109,_0x314ddf._0x2c4f07)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':'string'},'description':{'type':_0x41f962(0xd6,_0x314ddf._0x2c6b3b,_0x314ddf._0x5c2248,_0x314ddf._0x322ab0),'description':_0x2cab09(0xe5,_0x314ddf._0x4a6a82,0x6d,0x1e7)},'cwd':{'type':'string'},'timeoutMs':{'type':_0x41f962(0xc4,_0x314ddf._0x562b87,0xb4,_0x314ddf._0x54165a)},'ignoreOutput':{'type':'boolean'},'runInBackground':{'type':_0x41f962(-_0x314ddf._0x172529,-_0x314ddf._0x10944e,_0x314ddf._0x154fe4,_0x314ddf._0xcdd2f8)}},'required':[_0x41f962(_0x314ddf._0x59739c,-0x1d,0x85,_0x314ddf._0x8f0dac),_0x2cab09(-0x76,-0x1a9,-0xc0,0x30)]},async *'execute'(_0x9707e7,_0x5611a2){const _0x53e2f3={_0x37db44:0x386,_0x4cd1be:0x26f,_0x29cce:0x616,_0x36e9dc:0x64c,_0x135870:0x587,_0x4b0b5d:0x6c5,_0x874cc9:0x1f4},_0x49ba47={_0x58cba7:0x440,_0x45cfa1:0x308},_0x320c85={_0x54a9ab:0x6a9},_0x4104dc={_0x15c7cf:0x14b,_0x4ccec5:0x261,_0x5851d9:0x2bc,_0x45aae9:0x477,_0x1d2d69:0xeb,_0x493b37:0x2bd,_0x272e16:0x2c2,_0x35407b:0x296,_0x2f68fa:0x2f5},_0x355e83={_0x584d34:0x10,_0xa737b1:0x9e,_0x2c73b1:0x9b},_0x41362b={_0x2445bd:0x100,_0x4efe46:0x62},_0x4af4c4={_0x21baaa:0x8c9,_0x166e10:0x79e},_0x475f1b={_0x5b4aca:0x3b},_0x26fed8={_0x3a5ba0:0x1d9},_0x6855b3=_0x9707e7[_0x25bdac(-0x1af,-_0x582457._0x14df60,-_0x582457._0x2e92d7,-0x1e3)]??_0x5ebf3d;if(!Number[_0x4c9008(0x3c0,_0x582457._0x4aae8a,0x20d,_0x582457._0x1f8140)](_0x6855b3)||_0x6855b3<0x1)throw new ToolExecutionError('Invalid\x20timeoutMs:\x20expected\x20a\x20positive\x20number',{'command':_0x9707e7['command']});throwIfAborted(_0x5611a2[_0x25bdac(0x8f,0xc0,_0x582457._0x25ce93,-0x86)]);const _0x3d9b5d=resolveWorkingDirectory(_0x9707e7[_0x25bdac(-_0x582457._0xca6ce1,-_0x582457._0x1a3695,0xf,-_0x582457._0x5bc1c9)],_0xfb75e1,_0x1a7dba),_0x31d81a=_0x9707e7[_0x4c9008(0x158,_0x582457._0x3f5813,0x417,_0x582457._0x122a82)]??![];function _0x4c9008(_0xdbdc52,_0x585f79,_0x5680d3,_0x54aa73){return _0x41f962(_0xdbdc52,_0x585f79-_0xf5f6e9._0x484cfd,_0x54aa73-_0xf5f6e9._0x318b52,_0x54aa73-0x1ba);}const _0x1fbfd7=resolveDefaultShell(_0x3af924['shellPath']);function _0x25bdac(_0x5e64e0,_0x19a08d,_0x3ad647,_0x4b3d6a){return _0x2cab09(_0x4b3d6a- -0x26,_0x5e64e0,_0x3ad647-0x17,_0x4b3d6a-_0x26fed8._0x3a5ba0);}const _0x2cf4f0=buildShellArgs(_0x9707e7['command'],_0x1fbfd7),_0x12f36b=_0x1fe5ec[_0x25bdac(-0x23a,-0x150,-_0x582457._0x2254c3,-_0x582457._0x5b188d)]()===_0x4c9008(0x1a7,_0x582457._0xe67219,0x247,_0x582457._0xa44b0e);if(_0x9707e7[_0x25bdac(-0x2e9,-_0x582457._0x240aa4,-_0x582457._0x60a488,-0x1ca)]){if(!_0xbe8ec5)throw new ToolExecutionError('Background\x20execution\x20is\x20not\x20available\x20in\x20this\x20context.',{'command':_0x9707e7[_0x25bdac(-0x169,-_0x582457._0x28e7a9,-_0x582457._0x6edba,-_0x582457._0x1a5d86)]});throwIfAborted(_0x5611a2['signal']);let _0x1ab4e2;try{_0x1ab4e2=_0x3f73df(_0x1fbfd7,_0x2cf4f0,{'cwd':_0x3d9b5d,'env':buildChildEnv(_0x3af924[_0x25bdac(-0x4b,-0x250,-_0x582457._0x4ac376,-_0x582457._0x979f39)],_0x2b8b68),'stdio':[_0x25bdac(-0x19,-_0x582457._0x4b3a78,-_0x582457._0x1e2e0e,0xb7),_0x4c9008(_0x582457._0x42f126,_0x582457._0x424135,_0x582457._0x2c5459,0x1f1),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x12f36b});}catch(_0x247779){throw mapSpawnError(_0x247779,{'command':_0x9707e7[_0x25bdac(-_0x582457._0x21e355,-_0x582457._0x152c85,-0x188,-0x12e)],'cwd':_0x3d9b5d,'shellPath':_0x1fbfd7});}let _0x1b4c81;try{_0x1b4c81=_0xbe8ec5[_0x25bdac(-0x114,0xe,-0x88,0x22)]({'child':_0x1ab4e2,'command':_0x9707e7['command'],'cwd':_0x3d9b5d,'stripAnsi':_0xcb88});}catch(_0x101b39){_0x1ab4e2[_0x25bdac(0x13,-_0x582457._0x453e1f,-_0x582457._0x224768,-0xf1)]('error',()=>{});try{killProcessGroup(_0x1ab4e2,_0x12f36b);}catch{}throw _0x101b39;}return createToolOutput('Started\x20background\x20process\x20'+_0x1b4c81[_0x4c9008(_0x582457._0x446853,_0x582457._0x1e121d,0x369,_0x582457._0x417002)]+_0x25bdac(-_0x582457._0x1d9f49,0x2,0xb0,_0x582457._0x43b484)+(_0x1b4c81[_0x25bdac(_0x582457._0x397a5c,0x1a5,-_0x582457._0x23211e,0xad)]??'?')+_0x25bdac(-_0x582457._0x15e863,-0x2ec,-0x37,-0x183),{'shellId':_0x1b4c81[_0x25bdac(-_0x582457._0x2bb136,_0x582457._0x2a3ac3,-0x66,_0x582457._0x31965c)],'status':_0x1b4c81['status'],'command':_0x1b4c81[_0x25bdac(-0x1b6,0x26,_0x582457._0x2a8e2f,-_0x582457._0x19b707)],'description':_0x9707e7[_0x25bdac(-_0x582457._0x23435e,-_0x582457._0x2a20ff,_0x582457._0xa18d1d,-_0x582457._0x49c714)],'cwd':_0x1b4c81[_0x25bdac(-_0x582457._0x5be6ec,-_0x582457._0x3d88f7,-0x56,-0xd8)],'pid':_0x1b4c81[_0x25bdac(-_0x582457._0x2951bd,-_0x582457._0x5f28bc,-_0x582457._0x58ff08,_0x582457._0x49bacd)]??null});}let _0x51c5ca;try{_0x51c5ca=_0x3f73df(_0x1fbfd7,_0x2cf4f0,{'cwd':_0x3d9b5d,'env':buildChildEnv(_0x3af924[_0x25bdac(-_0x582457._0x4fa914,-_0x582457._0x15b480,-0x23f,-_0x582457._0x979f39)],_0x2b8b68),'stdio':_0x31d81a?[_0x4c9008(0x231,_0x582457._0x89a4e,_0x582457._0x16e477,0x351),_0x4c9008(_0x582457._0x1b1523,0x421,_0x582457._0x4fd816,_0x582457._0x66e1a4),_0x4c9008(_0x582457._0x5d843d,_0x582457._0x1f4aa3,0x27e,0x351)]:[_0x25bdac(0x211,_0x582457._0x161298,0x14,_0x582457._0x23e99d),_0x4c9008(0xc6,_0x582457._0x5f408d,0x304,_0x582457._0x5d9974),_0x4c9008(0x1b5,_0x582457._0x1309c5,0x97,_0x582457._0x5d9974)],'shell':![],'windowsHide':!![],'detached':!_0x12f36b});}catch(_0x2c9050){throw mapSpawnError(_0x2c9050,{'command':_0x9707e7[_0x25bdac(-0x1c1,-_0x582457._0x56d919,-_0x582457._0x45e14d,-0x12e)],'cwd':_0x3d9b5d,'shellPath':_0x1fbfd7});}const _0x156c19=[],_0x923d4d=[],_0x10243d=new _0x1628c2(_0x4c9008(0x22f,_0x582457._0x431c50,_0x582457._0x323c27,_0x582457._0x1a25be)),_0x44e8fb=new _0x1628c2(_0x4c9008(_0x582457._0x61dda,0x350,_0x582457._0x3246cf,0x321));let _0x18fcef,_0x32818c=![],_0x30606c;const _0xf557f7=()=>{if(!_0x18fcef)return;const _0x94c46b=_0x18fcef;_0x18fcef=void 0x0,_0x94c46b();},_0x5bd3ee=async()=>{if(_0x923d4d['length']>0x0||_0x32818c)return;await new Promise(_0x6e5d7b=>{_0x18fcef=_0x6e5d7b;});},_0x1deae7=_0x51cec8=>{function _0x225d5a(_0x3bb97b,_0x176713,_0xb3180f,_0xb497de){return _0x25bdac(_0x3bb97b,_0x176713-_0x475f1b._0x5b4aca,_0xb3180f-0x1ec,_0x176713-0x41f);}appendChunk(_0x156c19,_0x923d4d,_0x10243d[_0x225d5a(0x52e,0x458,0x2eb,0x3e3)](_0x51cec8),_0xcb88,_0xf557f7);},_0x3b1fd8=_0x20b472=>{function _0x444cad(_0x3e0e45,_0x275efc,_0xe25100,_0x164980){return _0x25bdac(_0x3e0e45,_0x275efc-0x1db,_0xe25100-0x6d,_0xe25100-0x737);}appendChunk(_0x156c19,_0x923d4d,_0x44e8fb[_0x444cad(_0x4af4c4._0x21baaa,_0x4af4c4._0x166e10,0x770,0x68f)](_0x20b472),_0xcb88,_0xf557f7);};_0x51c5ca[_0x25bdac(-0x2f5,-0x185,-_0x582457._0x5328db,-0x19d)]?.['on'](_0x25bdac(_0x582457._0x2d06b8,_0x582457._0x375a53,_0x582457._0x21339e,0xd),_0x1deae7),_0x51c5ca[_0x4c9008(0x2c9,_0x582457._0x453e1f,_0x582457._0x57d1bc,_0x582457._0x1d6bac)]?.['on'](_0x25bdac(-0x39,_0x582457._0x13d82d,0x159,_0x582457._0x495b92),_0x3b1fd8);let _0x1d6810=![],_0x1cd668;const _0x3a9faf=addAbortListener(_0x5611a2[_0x25bdac(-_0x582457._0x2a6feb,-_0x582457._0x361be6,0xb8,-0x86)],()=>{_0x30606c=toAbortError(_0x5611a2[_0x292f4d(_0x355e83._0x584d34,-0x6b,_0x355e83._0xa737b1,-_0x355e83._0x2c73b1)]['reason']);function _0x292f4d(_0x417d95,_0x41c259,_0x586d10,_0x1104fa){return _0x4c9008(_0x1104fa,_0x41c259-_0x41362b._0x2445bd,_0x586d10-_0x41362b._0x4efe46,_0x41c259- -0x27f);}_0x32818c=!![],_0xf557f7();try{killProcessGroup(_0x51c5ca,_0x12f36b);}catch{}});try{const _0x42a749=new Promise((_0x547689,_0x40541c)=>{const _0x5091b9={_0x142585:0x37d,_0x302dab:0x242},_0x403789={_0xf2cc97:0xa1},_0x212876=()=>{const _0x130853={_0xfa73ea:0x3ad};_0x1cd668&&(clearTimeout(_0x1cd668),_0x1cd668=void 0x0);function _0x2ce50b(_0x37f140,_0x23afa3,_0x154bd6,_0x397ca9){return _0x1df5(_0x23afa3- -0xe,_0x397ca9);}function _0xf3f228(_0x31b483,_0x680de,_0x418359,_0x42201e){return _0x1df5(_0x680de- -_0x130853._0xfa73ea,_0x418359);}_0x51c5ca[_0x2ce50b(0x181,_0x4104dc._0x15c7cf,_0x4104dc._0x4ccec5,_0x4104dc._0x5851d9)](_0x2ce50b(0x206,0x301,0x45d,_0x4104dc._0x45aae9),_0x470e83),_0x51c5ca[_0x2ce50b(_0x4104dc._0x1d2d69,_0x4104dc._0x15c7cf,_0x4104dc._0x493b37,_0x4104dc._0x272e16)](_0xf3f228(-_0x4104dc._0x35407b,-0x1a6,-_0x4104dc._0x2f68fa,-0x180),_0x2e67b1);},_0x470e83=_0x4c01b5=>{_0x32818c=!![],_0xf557f7(),_0x212876(),_0x40541c(_0x30606c??_0x4c01b5);};function _0x1391f0(_0x1c4845,_0x4a54ae,_0x447974,_0xd1b944){return _0x25bdac(_0x1c4845,_0x4a54ae-0x108,_0x447974-0x1f1,_0x447974-_0x320c85._0x54a9ab);}function _0x82dd50(_0x3bf369,_0x46a35b,_0x1578ec,_0x45d4f6){return _0x25bdac(_0x46a35b,_0x46a35b-0x195,_0x1578ec-0x7c,_0x1578ec-0x359);}const _0x2e67b1=(_0x25d6a5,_0x3752c8)=>{_0x1d6810=!![];function _0xa026db(_0x5bb466,_0x2ef14e,_0x48caa1,_0x31bb4c){return _0x1df5(_0x2ef14e-_0x403789._0xf2cc97,_0x5bb466);}appendChunk(_0x156c19,_0x923d4d,_0x10243d['end'](),_0xcb88,_0xf557f7),appendChunk(_0x156c19,_0x923d4d,_0x44e8fb[_0xa026db(0x33d,_0x5091b9._0x142585,0x4de,_0x5091b9._0x302dab)](),_0xcb88,_0xf557f7),_0x32818c=!![],_0xf557f7(),_0x212876();if(_0x30606c){_0x40541c(_0x30606c);return;}_0x547689({'code':_0x25d6a5,'signal':_0x3752c8});};_0x1cd668=setTimeout(()=>{function _0x6590ef(_0x54dde5,_0x214216,_0x1f3f3f,_0x145b3d){return _0x1df5(_0x54dde5-0xd3,_0x1f3f3f);}_0x32818c=!![],_0xf557f7();function _0x5773ce(_0x1b5386,_0x9f3f41,_0x27914d,_0xd546e6){return _0x1df5(_0x27914d- -0x49,_0x1b5386);}_0x212876();try{killProcessGroup(_0x51c5ca,_0x12f36b);}catch{}_0x40541c(new ToolExecutionError(_0x6590ef(0x331,0x1fe,0x1e5,_0x49ba47._0x58cba7)+_0x6855b3+'\x20ms',{'command':_0x9707e7[_0x5773ce(0x1b1,0x120,0x1f5,_0x49ba47._0x45cfa1)],'cwd':_0x3d9b5d,'shellPath':_0x1fbfd7,'timeoutMs':_0x6855b3,'timedOut':!![]}));},_0x6855b3),_0x51c5ca[_0x82dd50(0x1d2,_0x53e2f3._0x37db44,0x268,_0x53e2f3._0x4cd1be)](_0x1391f0(0x76f,_0x53e2f3._0x29cce,_0x53e2f3._0x36e9dc,0x6d3),_0x470e83),_0x51c5ca[_0x1391f0(_0x53e2f3._0x135870,_0x53e2f3._0x4b0b5d,0x5b8,0x44e)](_0x82dd50(0x9e,0x348,_0x53e2f3._0x874cc9,0x98),_0x2e67b1);});while(_0x923d4d['length']>0x0||!_0x32818c){if(_0x923d4d['length']===0x0){await _0x5bd3ee();continue;}const _0x37d50e=_0x923d4d[_0x25bdac(_0x582457._0x145e5c,-0x134,-_0x582457._0xc4c37f,-0x40)]();_0x37d50e!==void 0x0&&(yield _0x37d50e);}const _0x43fac2=await _0x42a749,_0x5acb2e=_0x31d81a?_0x4c9008(0x271,_0x582457._0x3aa7e8,0x1e0,_0x582457._0x428bdf)+(_0x43fac2[_0x25bdac(_0x582457._0x5c3826,_0x582457._0x15c06e,_0x582457._0x42de7a,-_0x582457._0x4133ad)]??0x0):_0x156c19[_0x25bdac(-_0x582457._0x480cc5,-0xc1,_0x582457._0x1d019a,0x5)](''),_0x20b087={'command':_0x9707e7[_0x4c9008(_0x582457._0x1454d0,0x29e,0xe3,0x16c)],'description':_0x9707e7['description'],'cwd':_0x3d9b5d,'exitCode':_0x43fac2[_0x25bdac(-_0x582457._0x40921b,-_0x582457._0xd68754,-_0x582457._0x486368,-0xb8)]??0x0,'signal':_0x43fac2[_0x4c9008(0x289,0x334,_0x582457._0x2cbd48,_0x582457._0x5bf336)],'ignoreOutput':_0x31d81a,'shellPath':_0x1fbfd7,'timeoutMs':_0x6855b3};if(_0x43fac2['code']!==0x0)throw new ToolExecutionError(_0x5acb2e||_0x25bdac(-_0x582457._0x3816c2,0xe0,-0x97,-_0x582457._0x3d2d56)+(_0x43fac2[_0x4c9008(_0x582457._0x18b34a,_0x582457._0x109218,_0x582457._0x19f685,_0x582457._0xa2eda)]??0x0),_0x20b087);return createToolOutput(_0x5acb2e,_0x20b087);}catch(_0xf9ae72){while(_0x923d4d[_0x25bdac(-0x72,_0x582457._0x161298,0x1d9,0x64)]>0x0){const _0x423538=_0x923d4d[_0x25bdac(-0xeb,0x102,0xd8,-_0x582457._0x40970b)]();_0x423538!==void 0x0&&(yield _0x423538);}if(_0xf9ae72 instanceof ToolExecutionError)throw _0xf9ae72;if(_0x30606c)throw _0x30606c;throw mapSpawnError(_0xf9ae72,{'command':_0x9707e7[_0x25bdac(-_0x582457._0x12272f,-_0x582457._0x3a8abc,-0x6d,-_0x582457._0x68071c)],'cwd':_0x3d9b5d,'shellPath':_0x1fbfd7});}finally{_0x1cd668&&clearTimeout(_0x1cd668);_0x3a9faf(),_0x51c5ca[_0x25bdac(-0x2f4,-_0x582457._0x3ff171,-0x2f4,-_0x582457._0x20d108)]?.[_0x4c9008(0x136,_0x582457._0x2d0989,-0x43,0x87)](_0x25bdac(-_0x582457._0x5efdae,0xd2,0x81,_0x582457._0x255378),_0x1deae7),_0x51c5ca[_0x4c9008(0x16f,0x193,_0x582457._0x2ef841,0x22b)]?.[_0x25bdac(-0x204,-_0x582457._0x2f7b90,-0x206,-_0x582457._0x1992cd)](_0x4c9008(_0x582457._0x5a49f8,_0x582457._0x1f5b41,_0x582457._0x4211a4,0x2a7),_0x3b1fd8);if(!_0x1d6810&&_0x51c5ca[_0x4c9008(0x266,0x2dc,_0x582457._0x8ced5e,_0x582457._0x55d08c)]&&!_0x51c5ca[_0x25bdac(-_0x582457._0xef8588,-_0x582457._0x1eb021,-0x37,-_0x582457._0x58157c)])try{killProcessGroup(_0x51c5ca,_0x12f36b);}catch{}}}});}function createShellExecTool(_0x421cf6={}){return createBashTool(_0x421cf6);}import{readdir,readFile as _0x2c135d}from'fs/promises';import{extname,join as _0x5cf888}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x28c688,join,relative as _0x8d0282,resolve as _0x27e096}from'path';import{readdir as _0x190b01,readFile as _0x21f55d}from'fs/promises';import{join as _0x4a3a0a,relative as _0xf6b7c2,sep}from'path';import{delimiter}from'path';import{mkdir as _0x41ff22,rm,stat as _0x3a14d5,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x40aefb}from'path';import{unwatchFile,watchFile}from'fs';import{readFile as _0x3cb12c,rename,writeFile as _0x111999}from'fs/promises';import{homedir as _0x4ba8ff}from'os';import{dirname as _0x3df55c,isAbsolute as _0x51d4f3,join as _0xc8900f,resolve as _0x267582}from'path';import{parse as _0x4215e6,stringify as _0x42951b}from'yaml';import{cp,mkdir as _0x5389f8,readFile as _0x13c19e,rm as _0x43f075,writeFile as _0x3b298e}from'fs/promises';import{homedir}from'os';import{join as _0x54c24a}from'path';import{parse as _0x548b3a,stringify as _0x4f27f3}from'yaml';import{z}from'zod';import{readdir as _0x5b146b,readFile as _0x4f9186}from'fs/promises';import{join as _0xd682d7}from'path';import{mkdir as _0x133d15,readFile as _0x3279a1,rm as _0x184c5b,writeFile as _0x4e699f}from'fs/promises';import{homedir as _0x2788df}from'os';import{basename,isAbsolute as _0x42a362,join as _0xc76d2d,relative as _0x5c66c1,resolve as _0x2a877c}from'path';import{parse as _0x52ae06,stringify as _0x217171}from'yaml';import{delimiter as _0x5a4132,resolve as _0x2dc4d8}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x363d65){const _0x7a49d9={_0x2c251d:0xba,_0x16c615:0x739,_0x28025f:0x7a4,_0x26c6fc:0x7cb,_0x23ec50:0x8b2,_0x44572a:0x88c,_0x5c2772:0x175,_0x49f4a2:0x1b8,_0x4fb4a3:0x10,_0x3b400e:0x93,_0xd1e964:0x60},_0x26237b={_0x3838f4:0x283},_0x3f30ae={_0x23f20e:0x26},_0x52b0b9=[];let _0x4a5c67='';function _0x106419(_0x47cadf,_0x1f95de,_0x10db98,_0x5e5a68){return _0x257320(_0x47cadf-_0x3f30ae._0x23f20e,_0x1f95de-0x1be,_0x1f95de- -0x30b,_0x10db98);}let _0x52d29d=0x0;while(_0x52d29d<_0x363d65[_0x106419(0x374,0x216,0x338,_0x7a49d9._0x2c251d)]){const _0x4b44d6=_0x363d65[_0x52d29d];if(_0x4b44d6==='\x5c'&&_0x52d29d+0x1<_0x363d65[_0x12599c(0x894,_0x7a49d9._0x16c615,_0x7a49d9._0x28025f,_0x7a49d9._0x26c6fc)])_0x4a5c67+=_0x363d65[_0x52d29d+0x1],_0x52d29d+=0x2;else{if(_0x4b44d6==='\x22'||_0x4b44d6==='\x27'){const _0x39daea=_0x4b44d6;_0x52d29d++;while(_0x52d29d<_0x363d65[_0x12599c(0x648,0x84b,0x7a4,_0x7a49d9._0x23ec50)]&&_0x363d65[_0x52d29d]!==_0x39daea){_0x363d65[_0x52d29d]==='\x5c'&&_0x52d29d+0x1<_0x363d65[_0x12599c(_0x7a49d9._0x44572a,0x6b0,0x7a4,0x8fd)]?(_0x4a5c67+=_0x363d65[_0x52d29d+0x1],_0x52d29d+=0x2):(_0x4a5c67+=_0x363d65[_0x52d29d],_0x52d29d++);}_0x52d29d++;}else _0x4b44d6!==void 0x0&&/\s/[_0x106419(0x247,_0x7a49d9._0x5c2772,_0x7a49d9._0x49f4a2,_0x7a49d9._0x4fb4a3)](_0x4b44d6)?(_0x4a5c67&&(_0x52b0b9[_0x106419(0xb9,0x60,-_0x7a49d9._0x3b400e,-0x1d)](_0x4a5c67),_0x4a5c67=''),_0x52d29d++):(_0x4a5c67+=_0x4b44d6,_0x52d29d++);}}function _0x12599c(_0x1b6a02,_0x5e9ae0,_0x427564,_0x2bfbd6){return _0x257320(_0x1b6a02-0x185,_0x5e9ae0-0x109,_0x427564-_0x26237b._0x3838f4,_0x2bfbd6);}if(_0x4a5c67)_0x52b0b9[_0x106419(0x189,_0x7a49d9._0xd1e964,-0x7,0x87)](_0x4a5c67);return _0x52b0b9;}function renderCommandInstructions(_0x3a885b){const _0x3f032b={_0x3e981e:0x527,_0x1e097d:0x4fa,_0x5edb30:0x496,_0x2b4de3:0x51b,_0x2265e4:0x344,_0x331425:0x403,_0x4d9333:0x1f9,_0x331fdc:0x1d5,_0x4c80e4:0x411,_0x55df8f:0x3ab,_0xfe8da3:0x394,_0x308be5:0x337,_0x51ebea:0x1cb,_0x140a9c:0x1d5,_0x18143b:0x628,_0x536ee9:0x5ae,_0x5b6989:0x352,_0x8f42c4:0x19f,_0x57d423:0xb6,_0x2afa84:0x136,_0x4f5180:0x33f,_0x586198:0x2ee,_0x1575fc:0x1d8,_0x1533fa:0x2c0},_0xc8a11e={_0x2b33e1:0xf},_0xfb090a={_0x205370:0x407,_0x3bebd1:0x40f,_0x5c03ed:0x2f7},_0x3baf75={_0xcfaae1:0x18d};let _0x416a12=_0x3a885b[_0x2c8c2f(0x226,0x30,0x2c4,0x1a2)],_0x5b18b2=![];const _0x7adcdd=tokenizeCommandArguments(_0x3a885b[_0x2c8285(_0x3f032b._0x3e981e,_0x3f032b._0x1e097d,0x5a2,_0x3f032b._0x5edb30)]);function _0x2c8c2f(_0xc0c8e5,_0x3808a7,_0x32a626,_0x359d2a){return _0x257320(_0xc0c8e5-0x43,_0x3808a7-0x1e4,_0x359d2a- -_0x3baf75._0xcfaae1,_0x32a626);}_0x416a12=_0x416a12[_0x2c8c2f(0x516,0x2fb,_0x3f032b._0x2b4de3,0x403)](/\$ARGUMENTS\[(\d+)\]/g,(_0x48c732,_0x493eb8)=>{return _0x5b18b2=!![],_0x7adcdd[Number(_0x493eb8)]??'';}),_0x416a12=_0x416a12[_0x2c8c2f(0x320,0x2e3,_0x3f032b._0x2265e4,_0x3f032b._0x331425)](/\$ARGUMENTS\b/g,()=>{const _0x272ab1={_0x246ba6:0x191,_0xd1b40b:0x87};function _0x37324c(_0x1a8af4,_0x1f4333,_0x106774,_0x484a1a){return _0x2c8285(_0x1a8af4-_0x272ab1._0x246ba6,_0x1f4333-0x6f,_0x1a8af4,_0x106774- -_0x272ab1._0xd1b40b);}return _0x5b18b2=!![],_0x3a885b[_0x37324c(_0xfb090a._0x205370,0x2fc,_0xfb090a._0x3bebd1,_0xfb090a._0x5c03ed)];});if(_0x3a885b[_0x2c8c2f(0x243,_0x3f032b._0x4d9333,0x2cb,_0x3f032b._0x331fdc)]&&_0x3a885b[_0x2c8285(0x267,0x45d,0x500,0x3ab)]['length']>0x0)for(let _0x2a77ad=0x0;_0x2a77ad<_0x3a885b[_0x2c8285(0x43c,0x3f4,_0x3f032b._0x4c80e4,_0x3f032b._0x55df8f)][_0x2c8c2f(0x37e,_0x3f032b._0xfe8da3,0x463,0x394)];_0x2a77ad++){const _0x35362d=_0x3a885b[_0x2c8c2f(_0x3f032b._0x308be5,_0x3f032b._0x51ebea,0x1b1,_0x3f032b._0x140a9c)][_0x2a77ad];if(_0x35362d){const _0x58a4f7=new RegExp('\x5c$'+_0x35362d+'\x5cb','g');_0x416a12=_0x416a12[_0x2c8285(0x536,_0x3f032b._0x18143b,0x4bb,0x5d9)](_0x58a4f7,()=>{return _0x5b18b2=!![],_0x7adcdd[_0x2a77ad]??'';});}}function _0x2c8285(_0xafb58,_0x300c75,_0x539d9d,_0x442083){return _0x257320(_0xafb58-_0xc8a11e._0x2b33e1,_0x300c75-0xb5,_0x442083-0x49,_0x539d9d);}return _0x416a12=_0x416a12[_0x2c8c2f(0x553,0x3b8,0x3e0,_0x3f032b._0x331425)](/\$(\d+)\b/g,(_0xa1a57,_0x40ff49)=>{return _0x5b18b2=!![],_0x7adcdd[Number(_0x40ff49)]??'';}),!_0x5b18b2&&_0x3a885b[_0x2c8285(_0x3f032b._0x536ee9,0x5f8,_0x3f032b._0x5b6989,_0x3f032b._0x5edb30)][_0x2c8c2f(_0x3f032b._0x8f42c4,_0x3f032b._0x57d423,0x74,_0x3f032b._0x2afa84)]()&&(_0x416a12=_0x416a12+_0x2c8285(0x3e5,0x2b5,_0x3f032b._0x4f5180,_0x3f032b._0x586198)+_0x3a885b[_0x2c8c2f(0x2f8,0x25b,_0x3f032b._0x1575fc,_0x3f032b._0x1533fa)]),_0x416a12;}var PROVIDER_API_KEY_ENVS=[{'env':_0x3342ed(0x419,0x2af,0x38b,0x466),'provider':_0x257320(0x476,0x246,0x388,0x3d4)},{'env':'ANTHROPIC_API_KEY','provider':_0x257320(0x4ea,0x491,0x528,0x63c)},{'env':_0x3342ed(0x5dd,0x4cd,0x4c7,0x410),'provider':_0x257320(0x3b6,0x213,0x2c1,0x386)},{'env':'GITHUB_TOKEN','provider':_0x3342ed(0x29e,0x37d,0x235,0x35c)},{'env':_0x257320(0x38b,0x327,0x464,0x305),'provider':'deepinfra'},{'env':'ZAI_API_KEY','provider':_0x3342ed(0x458,0x43c,0x431,0x573)},{'env':_0x257320(0x4e2,0x4ab,0x3a1,0x4d8),'provider':_0x3342ed(0x455,0x2cd,0x396,0x2e2)},{'env':_0x257320(0x357,0x353,0x325,0x20d),'provider':_0x3342ed(0x2e9,0x1c2,0x335,0x463)},{'env':'KIMI_API_KEY','provider':'kimi'},{'env':'OPENAI_API_KEY','provider':_0x257320(0x445,0x4ad,0x529,0x56f)},{'env':'DEEPSEEK_API_KEY','provider':'deepseek'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x257320(0x1e9,0x255,0x31d,0x1f6)](_0x131cf9=>_0x131cf9[_0x257320(0x235,0x369,0x3a7,0x4bc)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x257320(0x3a9,0x209,0x2b2,0x409),_0x3342ed(0x2ad,0x377,0x275,0x14a),_0x3342ed(0x491,0x404,0x4b2,0x453)];function _0x3342ed(_0xe1e24c,_0x1841e0,_0x35a439,_0x59b1e9){return _0x1df5(_0x35a439-0xc5,_0x1841e0);}var chatModelAuthSchemeSchema=z[_0x3342ed(0x28e,0x445,0x3ef,0x2c2)]([_0x3342ed(0x2ce,0x37b,0x3d0,0x358),'x-api-key']),apiKeyAuthSchema=z[_0x3342ed(0x109,0x385,0x264,0x3a2)]({'type':z[_0x3342ed(0x43e,0x24c,0x392,0x4b7)](_0x257320(0x414,0x3b6,0x2c2,0x3a6)),'apiKey':z[_0x257320(0x495,0x609,0x518,0x4e1)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x257320(0x543,0x40f,0x47e,0x4bd)](),oauthAuthSchema=z[_0x3342ed(0x289,0x1df,0x264,0x2d6)]({'type':z[_0x257320(0x46a,0x535,0x41e,0x3b7)](_0x257320(0x61e,0x638,0x56b,0x54f)),'access':z[_0x257320(0x4c7,0x3ba,0x518,0x55e)](),'refresh':z[_0x3342ed(0x5b3,0x5ab,0x48c,0x536)](),'expires':z[_0x3342ed(0x2d2,0x217,0x332,0x34f)]()['optional'](),'authScheme':chatModelAuthSchemeSchema[_0x257320(0x3d6,0x344,0x48b,0x4ec)]()})['passthrough'](),authMethodSchema=z[_0x257320(0x4e3,0x466,0x3c4,0x298)]([apiKeyAuthSchema,oauthAuthSchema]),modelDefinitionSchema=z['object']({'id':z['string'](),'name':z[_0x3342ed(0x4e9,0x3fc,0x48c,0x38f)]()[_0x257320(0x530,0x533,0x48b,0x4b2)]()})['passthrough'](),modelConfigSchema=z['union']([z['literal'](![]),z['literal'](!![]),z[_0x3342ed(0x37b,0x598,0x48c,0x3a8)](),z['array'](z[_0x3342ed(0x39f,0x5de,0x48c,0x446)]()),z[_0x257320(0x451,0x544,0x591,0x460)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x3342ed(0x357,0x311,0x3ef,0x4e2)]([_0x3342ed(0x421,0x5cc,0x4bc,0x5a5),_0x257320(0x30b,0x424,0x402,0x308),_0x3342ed(0x218,0x265,0x377,0x429),_0x257320(0x415,0x675,0x52c,0x67f)]),providerConfigSchema=z[_0x3342ed(0x1d8,0x290,0x264,0x3ab)]({'apiKey':z['string']()[_0x257320(0x5c6,0x57f,0x48b,0x3b9)](),'token':z[_0x257320(0x540,0x49f,0x518,0x431)]()[_0x257320(0x4b5,0x491,0x48b,0x45b)](),'defaultModel':z[_0x3342ed(0x352,0x3d8,0x48c,0x5a4)]()['optional'](),'smallModel':z[_0x3342ed(0x4e3,0x5d3,0x48c,0x415)]()[_0x257320(0x58d,0x536,0x48b,0x554)](),'currentAuth':z[_0x257320(0x404,0x51b,0x518,0x466)]()['optional'](),'auth':z[_0x257320(0x671,0x4d0,0x591,0x45d)](authMethodSchema)[_0x257320(0x477,0x5aa,0x48b,0x539)](),'surface':chatModelSurfaceSchema[_0x3342ed(0x55f,0x303,0x3ff,0x42e)](),'baseUrl':z['string']()[_0x257320(0x41e,0x31f,0x48b,0x312)](),'models':modelConfigSchema['optional'](),'customHeaders':z[_0x3342ed(0x467,0x4f4,0x410,0x4f3)](z[_0x257320(0x461,0x624,0x518,0x50a)](),z['string']())['optional']()})[_0x257320(0x4b5,0x559,0x47e,0x34d)](),mcpServerConfigSchema=z[_0x3342ed(0x2cf,0x14e,0x264,0x1c0)]({'command':z[_0x3342ed(0x488,0x5a1,0x48c,0x578)]()[_0x257320(0x5eb,0x4c4,0x48b,0x4b7)](),'args':z[_0x3342ed(0x3ac,0x5ee,0x505,0x477)](z[_0x257320(0x652,0x5d8,0x518,0x658)]())[_0x257320(0x42c,0x5a6,0x48b,0x5be)](),'env':z[_0x257320(0x50b,0x577,0x49c,0x4ce)](z['string'](),z[_0x3342ed(0x591,0x4c9,0x48c,0x580)]())['optional'](),'transport':z['enum']([_0x3342ed(0x1b0,0x16e,0x256,0x1e1),_0x257320(0x5b8,0x516,0x575,0x677)])['optional'](),'url':z[_0x257320(0x662,0x50b,0x518,0x4f6)]()[_0x257320(0x446,0x3b2,0x48b,0x5c7)](),'headers':z[_0x257320(0x580,0x571,0x49c,0x5e8)](z[_0x257320(0x602,0x411,0x518,0x62e)](),z[_0x3342ed(0x339,0x459,0x48c,0x334)]())[_0x3342ed(0x471,0x4d3,0x3ff,0x3ca)](),'prefix':z[_0x257320(0x639,0x591,0x518,0x4e5)]()['optional'](),'timeoutMs':z[_0x257320(0x37b,0x28f,0x3be,0x2a4)]()['optional'](),'enabled':z[_0x257320(0x35e,0x2f6,0x365,0x391)]()[_0x3342ed(0x2bd,0x3cc,0x3ff,0x40f)](),'auth':z[_0x3342ed(0xed,0x267,0x264,0x361)]({'type':z[_0x3342ed(0x4e3,0x337,0x3ef,0x325)]([_0x257320(0x39e,0x491,0x370,0x2ee),'bearer',_0x3342ed(0x657,0x595,0x4df,0x3d2)]),'token':z[_0x257320(0x529,0x4c8,0x518,0x65a)]()[_0x3342ed(0x3a4,0x3ad,0x3ff,0x3e4)](),'oauth':z[_0x257320(0x43b,0x18a,0x2f0,0x2bf)]({'clientId':z[_0x3342ed(0x381,0x407,0x48c,0x578)]()[_0x3342ed(0x3cc,0x3ed,0x3ff,0x34f)](),'clientMetadataUrl':z['string']()[_0x257320(0x424,0x4e6,0x48b,0x528)](),'authorizationServer':z['string']()[_0x3342ed(0x525,0x288,0x3ff,0x3b5)](),'scopes':z['array'](z[_0x257320(0x3a9,0x487,0x518,0x433)]())['optional'](),'tokenStorageKey':z[_0x3342ed(0x49f,0x543,0x48c,0x5b7)]()['optional']()})[_0x3342ed(0x50a,0x453,0x3f2,0x50c)]()[_0x3342ed(0x41f,0x48c,0x3ff,0x387)]()})[_0x3342ed(0x2b6,0x489,0x3f2,0x2b2)]()[_0x257320(0x457,0x3f7,0x48b,0x4fa)]()})[_0x3342ed(0x34d,0x550,0x3f2,0x4c3)](),mcpSettingsSchema=z['object']({'servers':z[_0x257320(0x5ee,0x509,0x49c,0x540)](z[_0x3342ed(0x4c6,0x410,0x48c,0x4b6)](),mcpServerConfigSchema)[_0x3342ed(0x303,0x454,0x3ff,0x4bf)](),'allowedTools':z[_0x257320(0x451,0x48f,0x49c,0x4e7)](z[_0x3342ed(0x43d,0x5f5,0x48c,0x424)](),z['record'](z[_0x3342ed(0x59c,0x532,0x48c,0x448)](),z[_0x3342ed(0x1e5,0x203,0x2d9,0x37a)]()))[_0x3342ed(0x522,0x531,0x3ff,0x43b)](),'defaultTimeoutMs':z[_0x257320(0x363,0x47d,0x3be,0x492)]()['optional']()})[_0x257320(0x4d4,0x309,0x47e,0x590)](),skillsSettingsSchema=z[_0x3342ed(0x390,0x1b9,0x264,0x1c5)]({'enabled':z['boolean']()[_0x257320(0x5ba,0x3d0,0x48b,0x354)](),'includeDefaults':z['boolean']()[_0x3342ed(0x44f,0x3f1,0x3ff,0x3c2)](),'directories':z[_0x257320(0x69a,0x4c4,0x591,0x50c)](z[_0x257320(0x4fb,0x570,0x518,0x620)]())['optional'](),'exclude':z[_0x3342ed(0x4b9,0x4ec,0x505,0x45d)](z[_0x3342ed(0x327,0x5b2,0x48c,0x58a)]())[_0x257320(0x3b7,0x54b,0x48b,0x39b)]()})['passthrough'](),commandsSettingsSchema=z[_0x3342ed(0x1c0,0x150,0x264,0x32f)]({'enabled':z[_0x3342ed(0x2c5,0x235,0x2d9,0x267)]()[_0x257320(0x340,0x566,0x48b,0x4e2)](),'directories':z[_0x3342ed(0x422,0x664,0x505,0x64f)](z[_0x3342ed(0x517,0x44a,0x48c,0x5f8)]())['optional']()})[_0x3342ed(0x339,0x492,0x3f2,0x4d2)](),agentsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x3342ed(0x4ca,0x336,0x3ff,0x4c6)](),'includeDefaults':z[_0x257320(0x4d0,0x2aa,0x365,0x426)]()['optional'](),'directories':z[_0x3342ed(0x5fc,0x4f6,0x505,0x5d3)](z[_0x3342ed(0x40c,0x332,0x48c,0x343)]())['optional']()})[_0x3342ed(0x490,0x390,0x3f2,0x559)](),uiThemeSettingsSchema=z[_0x3342ed(0x363,0x176,0x264,0x35a)]({'mode':z[_0x257320(0x44d,0x430,0x47b,0x30f)]([_0x3342ed(0x2cf,0x30f,0x384,0x358),_0x3342ed(0x431,0x416,0x41e,0x342),_0x3342ed(0x23c,0x3c7,0x25e,0x2d0)])[_0x3342ed(0x3e2,0x337,0x3ff,0x3a3)](),'colorLevel':z['enum']([_0x3342ed(0x3b3,0x2c1,0x384,0x3dc),'none',_0x3342ed(0x307,0x17f,0x2ce,0x1b2),_0x3342ed(0x363,0x26f,0x22f,0x15f),_0x257320(0x32e,0x587,0x47c,0x3a7)])[_0x3342ed(0x28c,0x320,0x3ff,0x31b)](),'backgrounds':z[_0x257320(0x4de,0x562,0x47b,0x402)]([_0x257320(0x337,0x4ab,0x410,0x450),'on',_0x257320(0x391,0x2c3,0x2aa,0x366)])[_0x3342ed(0x379,0x2c5,0x3ff,0x3cb)](),'messageStyle':z[_0x3342ed(0x4e7,0x2c6,0x3ef,0x4fb)]([_0x257320(0x490,0x489,0x515,0x3fb),'boxed'])[_0x257320(0x573,0x4f0,0x48b,0x4a5)]()})['passthrough'](),statuslineSegmentSchema=z[_0x3342ed(0x2e2,0x32a,0x3ef,0x2f2)](['model','session',_0x3342ed(0x1ee,0x2ce,0x363,0x375),_0x257320(0x485,0x4fe,0x3a6,0x32a),_0x257320(0x5f3,0x599,0x540,0x41f),_0x3342ed(0x34f,0x59b,0x476,0x4f4),_0x3342ed(0x3cd,0x244,0x2b8,0x351),'requests',_0x3342ed(0x244,0x4b0,0x35a,0x3d7),_0x3342ed(0x589,0x5bf,0x4ba,0x525),_0x257320(0x46b,0x2a6,0x3a8,0x2c6),_0x257320(0x362,0x23a,0x2bc,0x3a8),_0x257320(0x3e0,0x4a2,0x508,0x42b),'memory',_0x257320(0x481,0x31f,0x39f,0x3e3)]),statuslineItemSchema=z[_0x257320(0x532,0x26f,0x3c4,0x25c)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z[_0x257320(0x665,0x57b,0x591,0x709)](statuslineItemSchema);function _0x257320(_0x49fac8,_0x3b91d4,_0x29729b,_0xc6658c){return _0x1df5(_0x29729b-0x151,_0xc6658c);}var statuslineConfigSchema=z['object']({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x3342ed(0x542,0x570,0x3ff,0x2d0)]()})[_0x3342ed(0x429,0x3af,0x3f2,0x4be)](),memorySettingsSchema=z[_0x257320(0x2ce,0x17c,0x2f0,0x3a8)]({'version':z[_0x257320(0x34c,0x4ac,0x41e,0x564)](0x2)[_0x257320(0x430,0x56c,0x48b,0x52c)](),'retrieval':z[_0x3342ed(0x24c,0x23e,0x264,0x207)]({'engine':z[_0x257320(0x436,0x509,0x41e,0x344)](_0x3342ed(0x446,0x353,0x39c,0x44f))[_0x257320(0x574,0x4f3,0x48b,0x50d)](),'candidateLimit':z[_0x3342ed(0x3b6,0x36f,0x332,0x21a)]()[_0x257320(0x5bb,0x3c3,0x48b,0x509)](),'activeCandidateLimit':z['number']()['optional'](),'activeEnabled':z[_0x257320(0x1f4,0x434,0x365,0x49a)]()['optional'](),'maxQueriesPerTurn':z[_0x3342ed(0x290,0x2da,0x332,0x3e4)]()[_0x3342ed(0x470,0x30a,0x3ff,0x2a5)](),'coreInjectTokenBudget':z[_0x3342ed(0x1d4,0x42b,0x332,0x460)]()[_0x3342ed(0x457,0x359,0x3ff,0x48b)](),'injectTokenBudget':z[_0x3342ed(0x306,0x3b4,0x332,0x3ec)]()[_0x3342ed(0x518,0x3d0,0x3ff,0x512)](),'minScore':z[_0x3342ed(0x4a7,0x47c,0x332,0x210)]()[_0x257320(0x43f,0x518,0x48b,0x336)](),'freshnessHalfLifeDays':z[_0x3342ed(0x376,0x20d,0x332,0x33b)]()[_0x257320(0x5ce,0x3a2,0x48b,0x448)]()})[_0x257320(0x4fc,0x362,0x47e,0x4bc)]()[_0x3342ed(0x362,0x2bc,0x3ff,0x4cd)](),'extraction':z[_0x3342ed(0x22f,0x331,0x264,0x1f9)]({'enabled':z[_0x3342ed(0x248,0x266,0x2d9,0x345)]()[_0x3342ed(0x308,0x42b,0x3ff,0x3ae)](),'provider':z[_0x257320(0x446,0x5da,0x518,0x5a5)]()[_0x3342ed(0x563,0x440,0x3ff,0x570)](),'model':z[_0x257320(0x488,0x5c7,0x518,0x40d)]()[_0x3342ed(0x289,0x2e7,0x3ff,0x2de)](),'sensitiveFilter':z['boolean']()[_0x257320(0x3d2,0x3a8,0x48b,0x371)]()})[_0x257320(0x5c1,0x4b3,0x47e,0x50e)]()['optional'](),'index':z[_0x3342ed(0x2aa,0x2b6,0x264,0x3d0)]({'persisted':z[_0x257320(0x2db,0x275,0x365,0x2aa)]()[_0x3342ed(0x30b,0x2bd,0x3ff,0x2b8)](),'flushIntervalMs':z[_0x3342ed(0x453,0x2ec,0x332,0x1eb)]()[_0x257320(0x556,0x39a,0x48b,0x519)]()})[_0x3342ed(0x2c7,0x45d,0x3f2,0x27f)]()[_0x257320(0x5de,0x45c,0x48b,0x56b)](),'enabled':z[_0x3342ed(0x3a5,0x177,0x2d9,0x340)]()[_0x257320(0x59b,0x3d4,0x48b,0x3d4)](),'saveTool':z[_0x3342ed(0x34d,0x3b3,0x2d9,0x31d)]()[_0x257320(0x341,0x560,0x48b,0x524)](),'model':z['string']()['optional'](),'provider':z[_0x257320(0x42a,0x3df,0x518,0x552)]()[_0x257320(0x532,0x314,0x48b,0x56f)](),'maxInjectionTokens':z[_0x257320(0x35d,0x436,0x3be,0x4ae)]()['optional'](),'backgroundExtraction':z['boolean']()[_0x3342ed(0x47c,0x322,0x3ff,0x383)]()})[_0x3342ed(0x505,0x2ae,0x3f2,0x33d)](),recentModelSchema=z[_0x257320(0x36c,0x38c,0x2f0,0x325)]({'provider':z[_0x257320(0x460,0x5af,0x518,0x3e9)](),'model':z[_0x257320(0x5c2,0x642,0x518,0x67a)](),'usedAt':z[_0x257320(0x4cb,0x35c,0x3be,0x333)]()})[_0x257320(0x525,0x571,0x47e,0x4fa)](),lspServerEntrySchema=z[_0x257320(0x3d9,0x206,0x2f0,0x3a4)]({'disabled':z[_0x257320(0x308,0x282,0x365,0x4d2)]()[_0x3342ed(0x2b4,0x46f,0x3ff,0x39d)](),'command':z['string']()[_0x257320(0x39d,0x51a,0x48b,0x425)](),'args':z['array'](z[_0x257320(0x567,0x425,0x518,0x5a7)]())[_0x3342ed(0x452,0x562,0x3ff,0x2ca)](),'rootMarkers':z[_0x3342ed(0x50e,0x623,0x505,0x3df)](z[_0x257320(0x4b1,0x5e7,0x518,0x62c)]())[_0x3342ed(0x3f8,0x496,0x3ff,0x54d)]()})[_0x257320(0x369,0x46a,0x47e,0x412)](),lspConfigSchema=z['object']({'enabled':z[_0x257320(0x2fd,0x4ce,0x365,0x493)]()[_0x257320(0x4c1,0x4c6,0x48b,0x429)](),'servers':z[_0x257320(0x504,0x4e4,0x49c,0x414)](z[_0x3342ed(0x3ce,0x590,0x48c,0x447)](),lspServerEntrySchema)[_0x257320(0x467,0x39c,0x48b,0x4d9)]()})[_0x257320(0x3e6,0x44f,0x47e,0x51e)](),serverEndpointSchema=z[_0x257320(0x2e3,0x364,0x2f0,0x1df)]({'url':z['string'](),'token':z[_0x257320(0x5fa,0x547,0x518,0x3ce)]()['optional']()})['passthrough'](),commandHookConfigSchema=z[_0x257320(0x1cc,0x42b,0x2f0,0x466)]({'type':z['literal']('command'),'command':z['string'](),'timeout':z['number']()[_0x257320(0x3a8,0x33b,0x48b,0x32d)]()}),hookMatcherGroupSchema=z[_0x257320(0x33a,0x1e0,0x2f0,0x408)]({'matcher':z['string']()[_0x3342ed(0x43f,0x43d,0x3ff,0x3e1)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z['object']({'PreToolUse':z[_0x257320(0x61d,0x65c,0x591,0x454)](hookMatcherGroupSchema)['optional'](),'PostToolUse':z[_0x257320(0x65d,0x447,0x591,0x59e)](hookMatcherGroupSchema)['optional'](),'UserPromptSubmit':z[_0x3342ed(0x43a,0x4fc,0x505,0x465)](hookMatcherGroupSchema)['optional'](),'Stop':z[_0x257320(0x46f,0x568,0x591,0x543)](hookMatcherGroupSchema)[_0x257320(0x436,0x430,0x48b,0x4f5)](),'Notification':z[_0x3342ed(0x40b,0x5f5,0x505,0x5b7)](hookMatcherGroupSchema)[_0x257320(0x47a,0x58a,0x48b,0x46d)](),'ToolApprovalRequest':z[_0x3342ed(0x52b,0x557,0x505,0x4a5)](hookMatcherGroupSchema)[_0x3342ed(0x499,0x55c,0x3ff,0x415)](),'SessionStart':z[_0x3342ed(0x48c,0x5ee,0x505,0x581)](hookMatcherGroupSchema)[_0x257320(0x44e,0x3b6,0x48b,0x3a4)](),'SessionEnd':z[_0x3342ed(0x608,0x423,0x505,0x517)](hookMatcherGroupSchema)[_0x3342ed(0x2d0,0x344,0x3ff,0x43f)]()}),cliConfigSchema=z[_0x3342ed(0x1c8,0x307,0x264,0x3a2)]({'activeProvider':z[_0x3342ed(0x443,0x4e8,0x48c,0x39f)]()[_0x3342ed(0x522,0x35b,0x3ff,0x48d)](),'activeModel':z[_0x257320(0x3d4,0x691,0x518,0x455)]()['optional'](),'apiKey':z[_0x257320(0x558,0x5a2,0x518,0x52a)]()['optional'](),'providers':z[_0x257320(0x5f6,0x3f7,0x49c,0x3c4)](z[_0x3342ed(0x582,0x325,0x48c,0x4a7)](),providerConfigSchema)['optional'](),'mcp':mcpSettingsSchema[_0x3342ed(0x555,0x2bf,0x3ff,0x55f)](),'skills':skillsSettingsSchema[_0x3342ed(0x2f2,0x2d2,0x3ff,0x514)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema[_0x257320(0x483,0x401,0x48b,0x5ca)](),'skillsEnabled':z[_0x3342ed(0x461,0x312,0x410,0x40d)](z['string'](),z[_0x3342ed(0x2c9,0x380,0x2d9,0x2f9)]())[_0x3342ed(0x578,0x45e,0x3ff,0x32c)](),'allowedDirs':z[_0x3342ed(0x3df,0x5de,0x505,0x601)](z[_0x3342ed(0x510,0x38a,0x48c,0x499)]())[_0x257320(0x5f8,0x5f8,0x48b,0x470)](),'mcpEnabled':z[_0x3342ed(0x33e,0x453,0x410,0x4cc)](z[_0x3342ed(0x396,0x40e,0x48c,0x4d1)](),z[_0x3342ed(0x3e5,0x328,0x2d9,0x1fd)]())['optional'](),'commandsEnabled':z[_0x3342ed(0x2bb,0x43c,0x410,0x395)](z[_0x3342ed(0x503,0x446,0x48c,0x410)](),z[_0x3342ed(0x426,0x305,0x2d9,0x229)]())['optional'](),'memory':memorySettingsSchema[_0x257320(0x455,0x31c,0x48b,0x600)](),'session':z[_0x257320(0x184,0x467,0x2f0,0x1dd)]({'memPersist':z[_0x3342ed(0x28b,0x36e,0x2d9,0x2ea)]()['optional'](),'persistEventLog':z['boolean']()['optional'](),'persistHttpLog':z['boolean']()[_0x3342ed(0x2b1,0x3b7,0x3ff,0x365)]()})[_0x257320(0x3d8,0x5be,0x47e,0x3d5)]()['optional'](),'requireToolApproval':z[_0x257320(0x39c,0x35d,0x365,0x3d6)]()[_0x3342ed(0x524,0x3c7,0x3ff,0x506)](),'thinking':z['enum'](['OFF',_0x257320(0x3cc,0x645,0x52d,0x3d1),_0x257320(0x4da,0x5a9,0x501,0x4db),_0x257320(0x5a0,0x4a5,0x579,0x55c)])[_0x3342ed(0x419,0x4c4,0x3ff,0x44a)](),'streamingChunks':z[_0x3342ed(0x1ef,0x346,0x2d9,0x42f)]()[_0x3342ed(0x539,0x3a8,0x3ff,0x351)](),'agentsEnabled':z['record'](z[_0x3342ed(0x40f,0x49e,0x48c,0x5f8)](),z['boolean']())[_0x3342ed(0x46b,0x28a,0x3ff,0x34d)](),'recentModels':z['array'](recentModelSchema)[_0x3342ed(0x383,0x38b,0x3ff,0x502)](),'lsp':lspConfigSchema[_0x3342ed(0x472,0x2f8,0x3ff,0x475)](),'servers':z['record'](z[_0x3342ed(0x4b6,0x5b8,0x48c,0x4b5)](),serverEndpointSchema)[_0x257320(0x521,0x374,0x48b,0x41c)](),'ui':z[_0x257320(0x225,0x3d3,0x2f0,0x20c)]({'theme':uiThemeSettingsSchema[_0x257320(0x42f,0x394,0x48b,0x3c5)](),'statusline':statuslineConfigSchema[_0x3342ed(0x2eb,0x3c2,0x3ff,0x4b0)]()})[_0x3342ed(0x303,0x4f5,0x3f2,0x4a6)]()[_0x257320(0x550,0x4fd,0x48b,0x37d)](),'tools':z[_0x3342ed(0x37d,0x538,0x410,0x35c)](z[_0x257320(0x4c6,0x40f,0x518,0x5cc)](),z['unknown']())[_0x3342ed(0x3f5,0x542,0x3ff,0x48b)](),'hooks':hooksConfigSchema[_0x3342ed(0x2d1,0x3a5,0x3ff,0x388)]()})[_0x257320(0x51a,0x4bc,0x47e,0x438)](),workspaceOverlaySchema=z[_0x3342ed(0x310,0x1d1,0x264,0x1d2)]({'root':z[_0x3342ed(0x38c,0x436,0x48c,0x51d)]()[_0x3342ed(0x2ea,0x521,0x3ff,0x333)](),'allowedDirs':z['array'](z[_0x3342ed(0x32d,0x40d,0x48c,0x421)]())[_0x3342ed(0x400,0x4c8,0x3ff,0x4cb)](),'activeProvider':z[_0x257320(0x4af,0x44f,0x518,0x3d5)]()[_0x257320(0x4fa,0x4bd,0x48b,0x495)](),'activeModel':z[_0x3342ed(0x351,0x389,0x48c,0x5b1)]()[_0x3342ed(0x4d4,0x4d0,0x3ff,0x47a)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x3342ed(0x37a,0x34c,0x3ff,0x38a)](),'commands':commandsSettingsSchema[_0x257320(0x525,0x4db,0x48b,0x3c8)](),'hooks':hooksConfigSchema[_0x257320(0x3e0,0x4d8,0x48b,0x479)](),'memory':memorySettingsSchema[_0x3342ed(0x28b,0x330,0x3ff,0x434)](),'mcpEnabled':z[_0x257320(0x5b8,0x576,0x49c,0x556)](z['string'](),z[_0x3342ed(0x40e,0x2ee,0x2d9,0x338)]())[_0x257320(0x497,0x5a8,0x48b,0x4ae)](),'skillsEnabled':z[_0x3342ed(0x3eb,0x509,0x410,0x498)](z[_0x257320(0x4c0,0x5b5,0x518,0x520)](),z[_0x3342ed(0x17f,0x1a8,0x2d9,0x3a4)]())[_0x3342ed(0x3d7,0x3b8,0x3ff,0x3bd)](),'agentsEnabled':z[_0x257320(0x3b3,0x5b2,0x49c,0x3a5)](z[_0x3342ed(0x44f,0x5fb,0x48c,0x537)](),z[_0x3342ed(0x1b7,0x35b,0x2d9,0x2b6)]())[_0x3342ed(0x4ee,0x362,0x3ff,0x42d)](),'commandsEnabled':z['record'](z['string'](),z[_0x257320(0x300,0x33c,0x365,0x373)]())[_0x257320(0x397,0x544,0x48b,0x5b1)]()})['passthrough']();function buildDescription(_0x167b36){const _0x1e4538={_0x42dc89:0x33f,_0x822214:0x49c,_0x5da20b:0x684,_0xfff746:0x6a2,_0x3a48bb:0x2be,_0x9dd5fb:0x4b7,_0x338cc8:0x3aa,_0x243fef:0x52b,_0xf1648:0x655,_0x12876a:0x4cc,_0x569fdd:0x27d,_0x30fe09:0x3af,_0x956a19:0x4d0,_0x45bc4f:0x396,_0xce3896:0x274},_0x4f2937={_0x34b9b0:0xee,_0x15b82b:0x133};if(_0x167b36[_0x249d95(0x2b8,_0x1e4538._0x42dc89,0x3ee,_0x1e4538._0x822214)]===0x0)return[_0x961cec(_0x1e4538._0x5da20b,0x52b,_0x1e4538._0xfff746,0x5c3),_0x961cec(0x3f7,0x3ec,0x4b7,_0x1e4538._0x3a48bb),'No\x20commands\x20are\x20currently\x20available.'][_0x249d95(0x3ea,_0x1e4538._0x9dd5fb,0x38f,_0x1e4538._0x338cc8)]('\x0a');function _0x249d95(_0x398e1a,_0x425732,_0x316119,_0x572dfe){return _0x257320(_0x398e1a-0x80,_0x425732-_0x4f2937._0x34b9b0,_0x316119- -_0x4f2937._0x15b82b,_0x425732);}function _0x961cec(_0x29cd8e,_0x356c6b,_0x5c2a25,_0x4ed802){return _0x257320(_0x29cd8e-0x16f,_0x356c6b-0x177,_0x356c6b-0x79,_0x29cd8e);}const _0x9cb3c9=[_0x961cec(0x448,_0x1e4538._0x243fef,_0x1e4538._0xf1648,_0x1e4538._0x12876a),_0x249d95(_0x1e4538._0x569fdd,_0x1e4538._0x30fe09,0x240,0x39d),'Available\x20commands:',..._0x167b36[_0x961cec(_0x1e4538._0x956a19,_0x1e4538._0x45bc4f,0x239,_0x1e4538._0xce3896)](_0x31ede6=>_0x31ede6[_0x249d95(0x244,0x294,0x338,0x23c)]?'-\x20'+_0x31ede6[_0x249d95(0x2b6,0x1cb,0x1f9,0x345)]+'\x20'+_0x31ede6[_0x249d95(0x3a7,0x2a4,0x338,0x2be)]+':\x20'+_0x31ede6[_0x961cec(0x37f,0x49a,0x48e,0x35a)]:'-\x20'+_0x31ede6[_0x249d95(0x331,0x329,0x1f9,0x230)]+':\x20'+_0x31ede6['description'])];return _0x9cb3c9['join']('\x0a');}function createInvokeCommandTool(_0xa7bf95){const _0x5d591d={_0x1a62c2:0x15e,_0x195c06:0x204,_0x3524bf:0x75,_0x41c851:0x12d,_0x5200ac:0x6,_0x6b497f:0xff,_0x689023:0x180,_0x187caf:0x1f9,_0xa96474:0x3db,_0x4afca3:0x560,_0x207e7b:0x4b2,_0x30985a:0x61b,_0x2b4176:0x3da},_0x52f113={_0x1b8b30:0x51f,_0xcc87d:0x15d,_0x221c98:0x215,_0x321c00:0x153,_0x114cf9:0x698,_0x413f3a:0x3b7,_0x1f12a0:0x558,_0x2fb94a:0x38f,_0x566fe3:0x22b,_0x132b47:0x14b,_0x546a14:0x380,_0x2c801:0x21a,_0x35525e:0x53e,_0x90fce6:0x52c,_0x3f4a7d:0x2da,_0x575c1e:0x94,_0xef71b6:0x20d,_0x588eed:0x54a,_0x47353d:0x648,_0x3e190a:0x4a0},_0x2a3834={_0x3b57b3:0x33,_0x10f1d7:0x12,_0x6c7f05:0x6},_0x17b3de={_0x557bea:0x1d5},_0x4dfc7f=new Map(_0xa7bf95[_0x57fe2f(_0x5d591d._0x1a62c2,0x162,0x1f7,_0x5d591d._0x195c06)][_0x57fe2f(_0x5d591d._0x3524bf,-_0x5d591d._0x41c851,0x43,_0x5d591d._0x5200ac)](_0x2b753e=>[_0x2b753e['id'],_0x2b753e])),_0x361a32=buildDescription(_0xa7bf95[_0x57fe2f(0xd6,0x144,_0x5d591d._0x6b497f,0x204)]);function _0x57fe2f(_0x430302,_0x541e8a,_0xf16e9,_0x40d9fa){return _0x3342ed(_0x430302-0x8a,_0x430302,_0x40d9fa- -0x28b,_0x40d9fa-0x37);}function _0x36aa38(_0x57b98b,_0x3c3911,_0xf1aae5,_0x1e6e2a){return _0x257320(_0x57b98b-0x11d,_0x3c3911-0x85,_0x57b98b-_0x17b3de._0x557bea,_0x1e6e2a);}return defineTool({'name':_0x57fe2f(0x10d,_0x5d591d._0x689023,0x2b9,_0x5d591d._0x187caf),'description':_0x361a32,'inputSchema':{'type':_0x36aa38(0x4c5,0x5e5,_0x5d591d._0xa96474,_0x5d591d._0x4afca3),'properties':{'name':{'type':_0x57fe2f(0x155,0x350,0x36b,0x201)},'args':{'type':'string'}},'required':[_0x36aa38(0x501,_0x5d591d._0x207e7b,_0x5d591d._0x30985a,_0x5d591d._0x2b4176)]},async *'execute'(_0xf6f098){function _0x50d454(_0xabbda8,_0x2aaa89,_0x637837,_0x2b8ef1){return _0x57fe2f(_0x2aaa89,_0x2aaa89-0x7f,_0x637837-0x14,_0xabbda8-0x15a);}const _0x84de86=_0x4dfc7f['get'](_0xf6f098[_0x314fee(0x3a6,0x4ce,_0x52f113._0x1b8b30,0x453)]);if(!_0x84de86){const _0x405d14=Array[_0x50d454(0x2b7,_0x52f113._0xcc87d,_0x52f113._0x221c98,0x358)](_0x4dfc7f[_0x50d454(_0x52f113._0x321c00,0x138,0x105,0x18e)]())[_0x314fee(_0x52f113._0x114cf9,0x664,0x7c8,0x7b5)](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0xf6f098['name']+_0x314fee(0x444,0x481,_0x52f113._0x413f3a,_0x52f113._0x1f12a0)+_0x405d14,{'name':_0xf6f098[_0x314fee(_0x52f113._0x2fb94a,0x4ce,0x4f2,0x3e2)]});}const _0x4d0280=await _0xa7bf95[_0x50d454(_0x52f113._0x566fe3,_0x52f113._0x132b47,0x398,0x127)](_0x84de86),_0x37f139=_0xf6f098[_0x50d454(0x22f,0x1d9,_0x52f113._0x546a14,0x139)]??'';function _0x314fee(_0x4a3089,_0x3302c9,_0x3663e7,_0x1e0c93){return _0x36aa38(_0x3302c9- -_0x2a3834._0x3b57b3,_0x3302c9-_0x2a3834._0x10f1d7,_0x3663e7-_0x2a3834._0x6c7f05,_0x3663e7);}const _0x3434ef=renderCommandInstructions({'instructions':_0x4d0280[_0x50d454(0x172,0x23c,0x1c7,_0x52f113._0x2c801)],'argumentsText':_0x37f139,'argumentNames':_0x4d0280[_0x314fee(_0x52f113._0x35525e,_0x52f113._0x90fce6,0x61a,0x465)]});return yield createToolOutput(_0x3434ef,{'id':_0x4d0280['id'],'name':_0x4d0280[_0x50d454(0x16f,_0x52f113._0x3f4a7d,_0x52f113._0x575c1e,0xf5)],'path':_0x84de86[_0x50d454(_0x52f113._0xef71b6,0x274,0x1fa,0x363)][_0x314fee(_0x52f113._0x588eed,0x5c7,_0x52f113._0x47353d,_0x52f113._0x3e190a)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x111af8,rename as _0x1424a8,stat as _0x23c1a2,writeFile as _0x5b5f37}from'fs/promises';import*as _0x593784 from'path';function detectEol(_0xa6a918){const _0x47fcc0={_0x1286d9:0x4a9,_0x1af478:0x3af,_0x58940a:0x484,_0x1d11ae:0x81f,_0x15c7e2:0x658},_0x3bc6a8={_0x177bc9:0x125,_0x5dd41d:0x3c5,_0x1d8509:0x34},_0x5813ed={_0x42052e:0x52,_0x2389ce:0x4e};function _0xe3d093(_0x3ad963,_0x1a49eb,_0x168f9a,_0x6fe8b4){return _0x3342ed(_0x3ad963-_0x5813ed._0x42052e,_0x1a49eb,_0x3ad963-0x1c8,_0x6fe8b4-_0x5813ed._0x2389ce);}function _0x466186(_0x47d936,_0xa364a1,_0x3a1713,_0x131b91){return _0x3342ed(_0x47d936-_0x3bc6a8._0x177bc9,_0x47d936,_0xa364a1- -_0x3bc6a8._0x5dd41d,_0x131b91-_0x3bc6a8._0x1d8509);}return/\r\n/['test'](_0xa6a918[_0xe3d093(_0x47fcc0._0x1286d9,0x3c0,_0x47fcc0._0x1af478,_0x47fcc0._0x58940a)]('utf8'))?_0xe3d093(0x6be,_0x47fcc0._0x1d11ae,_0x47fcc0._0x15c7e2,0x751):'lf';}function normalizeToLf(_0x4b452e){const _0x270dd6={_0x1500c8:0x13c,_0x446bed:0xc5},_0x34ac68={_0x50c67e:0x190};function _0x582584(_0x282125,_0x4c4130,_0x22dde8,_0x34c5fb){return _0x3342ed(_0x282125-_0x34ac68._0x50c67e,_0x4c4130,_0x282125- -0x3c8,_0x34c5fb-0x4a);}return _0x4b452e[_0x582584(_0x270dd6._0x1500c8,0x268,0x169,_0x270dd6._0x446bed)](/\r\n/g,'\x0a');}function convertEol(_0x46890e,_0x4979f0){const _0x2b068b={_0xba5ac6:0xf8,_0x562a48:0x434,_0x477425:0x55d},_0x771e1b={_0x36aa49:0x2ff,_0x2c1c7b:0x2b},_0x4d4b60={_0x4bc790:0x6e};function _0x5d6550(_0x37ef57,_0x5765cb,_0x40239b,_0x37f6dc){return _0x257320(_0x37ef57-_0x4d4b60._0x4bc790,_0x5765cb-0xc2,_0x37ef57- -0x94,_0x5765cb);}function _0x3f87c3(_0x2756a2,_0x1c3c3f,_0xcc28c2,_0x220812){return _0x3342ed(_0x2756a2-0x1db,_0x2756a2,_0xcc28c2- -_0x771e1b._0x36aa49,_0x220812-_0x771e1b._0x2c1c7b);}return _0x4979f0===_0x3f87c3(_0x2b068b._0xba5ac6,0x26c,0x1f7,0x321)?_0x46890e[_0x5d6550(0x4fc,0x55d,_0x2b068b._0x562a48,_0x2b068b._0x477425)](/\n/g,'\x0d\x0a'):_0x46890e;}async function atomicWrite(_0x461047,_0xa86cec){const _0x3dff9c={_0x3f6e54:0x7be,_0x3aaa26:0x7b0,_0x27d6b5:0x6f5,_0x30a5dc:0x626,_0x7eeffe:0x66e,_0x9ba7f2:0x561,_0x207eb4:0x615,_0xe60039:0x762,_0x1aaa25:0x642,_0x49412d:0x755,_0x1ddd6c:0x5de,_0x547bf7:0x5c9,_0x323aaf:0x63b},_0x50962f={_0x4fb59a:0x1e,_0x404808:0x2e8,_0x34fad0:0x12d},_0x1b9920={_0x53e1c1:0x75,_0x37e181:0x1f2},_0x54ca1d=_0x593784[_0x3e1a02(_0x3dff9c._0x3f6e54,0x75e,0x714,_0x3dff9c._0x3aaa26)](_0x461047),_0x533615=_0x593784[_0x302a71(0x629,0x573,_0x3dff9c._0x27d6b5,0x6b4)](_0x54ca1d,_0x302a71(_0x3dff9c._0x30a5dc,_0x3dff9c._0x7eeffe,_0x3dff9c._0x9ba7f2,_0x3dff9c._0x207eb4)+_0x593784[_0x302a71(0x4ec,_0x3dff9c._0xe60039,0x674,_0x3dff9c._0x1aaa25)](_0x461047)+'.'+Date[_0x3e1a02(0x52b,0x5c3,0x4e3,0x47b)]()+'.'+Math[_0x3e1a02(_0x3dff9c._0x49412d,_0x3dff9c._0x1ddd6c,0x61c,0x6c3)]()[_0x3e1a02(_0x3dff9c._0x547bf7,0x677,0x5f5,_0x3dff9c._0x323aaf)](0x24)['slice'](0x2));await _0x5b5f37(_0x533615,_0xa86cec);function _0x302a71(_0x59e7e4,_0x2ba90e,_0x3a470a,_0x18df07){return _0x257320(_0x59e7e4-_0x1b9920._0x53e1c1,_0x2ba90e-0x9c,_0x18df07-_0x1b9920._0x37e181,_0x2ba90e);}function _0x3e1a02(_0x191f23,_0x54add8,_0x57ff74,_0x50883e){return _0x3342ed(_0x191f23-_0x50962f._0x4fb59a,_0x57ff74,_0x191f23-_0x50962f._0x404808,_0x50883e-_0x50962f._0x34fad0);}await _0x1424a8(_0x533615,_0x461047);}function sha256(_0x5a24fd){const _0x26c65e={_0x3d5bd8:0x26f,_0x273489:0x1b0,_0x216f22:0xdd,_0x173fa7:0x38e,_0x38aeda:0x1b3,_0x279d5d:0xb1},_0x34092b={_0x504cd1:0x1a6,_0xc69d55:0xd0};function _0x5d51f9(_0x21233e,_0x51e91b,_0x5793ed,_0x277caa){return _0x257320(_0x21233e-_0x34092b._0x504cd1,_0x51e91b-_0x34092b._0xc69d55,_0x21233e- -0x2ef,_0x51e91b);}function _0x4c7bc4(_0xc288b4,_0x48fda7,_0x2cef76,_0x43635f){return _0x257320(_0xc288b4-0x19f,_0x48fda7-0x2e,_0x48fda7- -0x24b,_0x43635f);}return createHash(_0x5d51f9(0x1a8,0x222,0x2ac,_0x26c65e._0x3d5bd8))[_0x4c7bc4(-0x93,0x61,_0x26c65e._0x273489,_0x26c65e._0x216f22)](_0x5a24fd)[_0x5d51f9(0x280,0x3b4,_0x26c65e._0x173fa7,0x16d)](_0x5d51f9(0xa7,_0x26c65e._0x38aeda,0x186,-_0x26c65e._0x279d5d));}function countLines(_0x3011b4){const _0x2a6dd9={_0x13399b:0x324,_0x131c1d:0x38d,_0x149b93:0x263,_0x55c48f:0x394,_0x1b1578:0x430,_0x12d7ba:0x34a,_0x509604:0x46c},_0x1dd7e8={_0x1107ab:0x7c};function _0x2aa342(_0x1100fa,_0x300a52,_0x22192c,_0x29d0c2){return _0x257320(_0x1100fa-_0x1dd7e8._0x1107ab,_0x300a52-0x1d1,_0x300a52- -0x1d7,_0x22192c);}const _0x34f9da=_0x3011b4['replace'](/\n$/,'');function _0x2808e0(_0x501dec,_0x225ff4,_0x4d894d,_0x5736e5){return _0x257320(_0x501dec-0xd5,_0x225ff4-0x14b,_0x501dec- -0x1dc,_0x5736e5);}return _0x34f9da[_0x2808e0(0x345,_0x2a6dd9._0x13399b,0x479,0x1e6)]===0x0?0x0:_0x34f9da[_0x2808e0(_0x2a6dd9._0x131c1d,_0x2a6dd9._0x149b93,_0x2a6dd9._0x55c48f,_0x2a6dd9._0x1b1578)]('\x0a')[_0x2aa342(0x3b8,_0x2a6dd9._0x12d7ba,_0x2a6dd9._0x509604,0x27c)];}function calculateLineNumbers(_0x303101,_0x109529,_0x2cfb96,_0x4bada4){const _0x240365={_0x2c9eec:0x1fc,_0x4a5d1f:0x27e,_0x114383:0xef,_0x1dc702:0x1a5},_0x18aa10={_0x46d9f2:0x4d},_0x135c49={_0x67a4fb:0x2f0,_0x3ee49e:0x128},_0x1c382f=_0x303101[_0x48f06c(_0x240365._0x2c9eec,0x2c7,_0x240365._0x4a5d1f,0x198)](0x0,_0x4bada4)['split']('\x0a')[_0x48f06c(0x261,0x6d,_0x240365._0x114383,_0x240365._0x1dc702)],_0x5574af=countLines(_0x109529);function _0x48f06c(_0x2d0040,_0x3e5f73,_0x5f43e2,_0x127cef){return _0x3342ed(_0x2d0040-0x165,_0x3e5f73,_0x127cef- -_0x135c49._0x67a4fb,_0x127cef-_0x135c49._0x3ee49e);}const _0x1773cf=countLines(_0x2cfb96);function _0xe1a861(_0x4cc4d7,_0x47fdf0,_0x544d98,_0x5c05f0){return _0x3342ed(_0x4cc4d7-_0x18aa10._0x46d9f2,_0x47fdf0,_0x4cc4d7- -0x2e6,_0x5c05f0-0xa);}return{'oldStartLine':_0x1c382f,'oldEndLine':_0x1c382f+_0x5574af-0x1,'newStartLine':_0x1c382f,'newEndLine':_0x1c382f+_0x1773cf-0x1,'oldLineCount':_0x5574af,'newLineCount':_0x1773cf};}function createFileEditTool(_0x58f1e8={}){const _0x2f36b0={_0x3f2145:0x112,_0x1024e5:0x11,_0x4446fb:0x2c0,_0x2f3fcb:0x2,_0x2a4626:0x1ed,_0x3cab09:0x23,_0x4a4862:0x142,_0x254ac1:0x280,_0x4ab72b:0x21a,_0xd29073:0x1dc,_0x40ef02:0x252,_0x541625:0x326,_0x20bb37:0x309,_0x52254c:0x1bb,_0x4e7b15:0x75,_0x1d550c:0x3fc,_0x2cc96f:0x3cd,_0x440894:0x3a2,_0x31efcb:0x20a,_0x74987b:0x283,_0x472d3e:0x8,_0x4702cf:0x67,_0x188f1a:0x17d,_0x31cb66:0x31f,_0x486236:0x2b9,_0x21f26f:0x29a,_0x279601:0x263,_0x238e8a:0x2ad,_0x24d8bc:0x2c9,_0x356f91:0xdd},_0x1c0a42={_0xb33f4f:0x4a9,_0x224783:0x491,_0x3d1f37:0x48d,_0x369b63:0x5d5,_0x31cf2e:0x5bc,_0x3a3e17:0x616,_0x255543:0x5c5,_0x468793:0x44e,_0x45858c:0x521,_0x314c9d:0x4fb,_0x208e6d:0x76f,_0xe9f17f:0x7bd,_0x4e7fae:0x6cf,_0x594c1a:0x4e4,_0x2af048:0x5b9,_0x2a210d:0x7bc,_0x1cd34a:0x673,_0x6802d:0x839,_0x5819d1:0x580,_0x15548f:0x4ea,_0x1527b3:0x6f6,_0x3de5fa:0x641,_0x2c3fe7:0x4b2,_0x5b4dc6:0x421,_0x124147:0x594,_0xc0de83:0x667,_0x44c15c:0x786,_0x28d41f:0x56e,_0x1ab066:0x57c,_0x2caafe:0x4ec,_0x4e7289:0x554,_0x1ac8f6:0x48a,_0x26e60e:0x384,_0x3b5a00:0x4f9,_0x363132:0x468,_0x263e58:0x5e5,_0x2c124b:0x58a,_0x3d3e5c:0x613,_0x323eed:0x6a0,_0x3b0e6d:0x7c1,_0x29977f:0x641,_0x3cd330:0x6f6},_0x5178f8={_0x567f5b:0x1eb,_0x4d1138:0x48},_0x298eec={_0x256c98:0x68};function _0xa6e697(_0x279f7d,_0x1ba7ef,_0x2481ff,_0x78f73){return _0x3342ed(_0x279f7d-_0x298eec._0x256c98,_0x2481ff,_0x1ba7ef- -0x238,_0x78f73-0x7a);}const _0x485014=_0x593784[_0xa6e697(_0x2f36b0._0x3f2145,0x99,-_0x2f36b0._0x1024e5,0x9f)](_0x58f1e8[_0x1b6fb9(0x192,_0x2f36b0._0x4446fb,0x2d6,0x445)]??process[_0xa6e697(0x27b,0x121,-_0x2f36b0._0x2f3fcb,_0x2f36b0._0x2a4626)]()),_0x37ec26=(_0x58f1e8[_0xa6e697(-0x89,_0x2f36b0._0x3cab09,0x12b,-0xed)]??[])['map'](_0x56587f=>_0x593784['resolve'](_0x56587f));function _0x1b6fb9(_0x4f04ab,_0x4d889d,_0x2f1478,_0x70234){return _0x257320(_0x4f04ab-_0x5178f8._0x567f5b,_0x4d889d-_0x5178f8._0x4d1138,_0x2f1478- -0x135,_0x4d889d);}const _0x3aa56e=_0x58f1e8[_0x1b6fb9(0x1b8,_0x2f36b0._0x4a4862,0x1f7,0x16b)]??_0x1b6fb9(_0x2f36b0._0x254ac1,_0x2f36b0._0x4ab72b,_0x2f36b0._0xd29073,_0x2f36b0._0x40ef02);return defineTool({'name':_0x3aa56e,'description':_0x1b6fb9(_0x2f36b0._0x541625,0x31f,0x2ae,_0x2f36b0._0x20bb37),'inputSchema':{'type':_0x1b6fb9(0xba,0x22d,_0x2f36b0._0x52254c,_0x2f36b0._0x4e7b15),'properties':{'filePath':{'type':'string'},'description':{'type':'string','description':_0x1b6fb9(_0x2f36b0._0x1d550c,0x4e6,0x42e,_0x2f36b0._0x2cc96f)},'oldText':{'type':_0xa6e697(0x2c9,0x254,0x221,0x11f)},'newText':{'type':_0xa6e697(_0x2f36b0._0x440894,0x254,_0x2f36b0._0x31efcb,_0x2f36b0._0x74987b)},'dryRun':{'type':_0xa6e697(_0x2f36b0._0x472d3e,0xa1,-_0x2f36b0._0x4702cf,_0x2f36b0._0x188f1a)}},'required':[_0x1b6fb9(_0x2f36b0._0x31cb66,_0x2f36b0._0x486236,0x364,_0x2f36b0._0x21f26f),_0xa6e697(_0x2f36b0._0x279601,_0x2f36b0._0x238e8a,0x32f,_0x2f36b0._0x24d8bc),_0x1b6fb9(0x1b5,0x15a,0x1d2,_0x2f36b0._0x356f91)]},async *'execute'(_0x1e0262){const _0x52bf97={_0x20da40:0x188,_0xc5fbf4:0x472},_0x5df825={_0x30975d:0xa4,_0x5da200:0x2c},_0x30b850=resolveAllowedPath(_0x485014,_0x37ec26,_0x1e0262[_0x564e75(0x5e9,0x522,_0x1c0a42._0xb33f4f,0x5b9)]);await assertWorkspaceFile(_0x30b850);const _0x3a8bf4=await _0x23c1a2(_0x30b850),_0xa287f2=await _0x111af8(_0x30b850),_0x2c3b72=detectEol(_0xa287f2),_0x58b6c9=normalizeToLf(_0xa287f2[_0x564e75(0x35f,_0x1c0a42._0x224783,0x3d1,_0x1c0a42._0x3d1f37)](_0x564e75(_0x1c0a42._0x369b63,0x7b2,_0x1c0a42._0x31cf2e,0x664))),_0x870b49=normalizeToLf(_0x1e0262[_0x564e75(_0x1c0a42._0x3a3e17,_0x1c0a42._0x255543,0x626,0x691)]),_0x4fae23=normalizeToLf(_0x1e0262['newText']),_0x37abc4=_0x58b6c9[_0x564e75(_0x1c0a42._0x468793,0x673,_0x1c0a42._0x45858c,_0x1c0a42._0x314c9d)](_0x870b49);if(_0x37abc4===-0x1){const _0x22c17a=_0x870b49[_0x564e75(0x6c9,0x6aa,0x4ce,0x634)](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError('oldText\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x20Searching\x20for:\x20\x22'+_0x22c17a+(_0x870b49[_0x3ab157(_0x1c0a42._0x208e6d,0x801,_0x1c0a42._0xe9f17f,_0x1c0a42._0x4e7fae)]>0x64?'...':'')+'\x22',{'filePath':_0x1e0262[_0x564e75(0x4ce,0x512,_0x1c0a42._0x594c1a,_0x1c0a42._0x2af048)]});}const _0x56caa4=_0x58b6c9[_0x3ab157(_0x1c0a42._0x2a210d,0x75d,_0x1c0a42._0x1cd34a,0x6c2)](0x0,_0x37abc4)+_0x4fae23+_0x58b6c9[_0x3ab157(_0x1c0a42._0x6802d,0x5cb,_0x1c0a42._0x5819d1,0x6c2)](_0x37abc4+_0x870b49[_0x564e75(_0x1c0a42._0x15548f,_0x1c0a42._0x1527b3,0x637,_0x1c0a42._0x3de5fa)]),_0x2de802=convertEol(_0x56caa4,_0x2c3b72),_0x3e02c8=Buffer[_0x564e75(0x680,_0x1c0a42._0x2c3fe7,_0x1c0a42._0x5b4dc6,_0x1c0a42._0x124147)](_0x2de802,_0x564e75(_0x1c0a42._0xc0de83,_0x1c0a42._0x44c15c,_0x1c0a42._0x28d41f,0x664)),_0x2d40c4=sha256(_0xa287f2);function _0x564e75(_0x45d02e,_0x54a028,_0x41eec0,_0x245989){return _0x1b6fb9(_0x45d02e-_0x5df825._0x30975d,_0x45d02e,_0x245989-0x255,_0x245989-_0x5df825._0x5da200);}const _0x32672c=sha256(_0x3e02c8),_0x326828=_0x2d40c4===_0x32672c,_0x3bb3b1=_0x1e0262[_0x3ab157(0x3c1,0x3d3,_0x1c0a42._0x1ab066,_0x1c0a42._0x2caafe)]??![];function _0x3ab157(_0x18f806,_0x31fe3d,_0x2c7925,_0x1b926b){return _0xa6e697(_0x18f806-_0x52bf97._0x20da40,_0x1b926b-_0x52bf97._0xc5fbf4,_0x31fe3d,_0x1b926b-0x165);}return!_0x3bb3b1&&!_0x326828&&await atomicWrite(_0x30b850,_0x3e02c8),yield createToolOutput(_0x326828?_0x564e75(0x582,0x547,0x4b2,_0x1c0a42._0x4e7289):_0x3bb3b1?_0x3ab157(_0x1c0a42._0x1ac8f6,_0x1c0a42._0x26e60e,0x3b0,_0x1c0a42._0x3b5a00):'Edit\x20applied\x20successfully.',{'filePath':_0x1e0262[_0x3ab157(0x4fb,0x750,0x67b,0x647)],'resolvedPath':_0x30b850,'created':_0x3a8bf4['birthtime'][_0x3ab157(_0x1c0a42._0x363132,_0x1c0a42._0x263e58,0x502,0x5da)](),'modified':_0x3a8bf4[_0x564e75(_0x1c0a42._0x2c124b,0x55b,0x53a,_0x1c0a42._0x3d3e5c)][_0x564e75(0x4e8,_0x1c0a42._0x323eed,0x435,0x54c)](),'size':_0x3a8bf4[_0x3ab157(0x760,0x63b,_0x1c0a42._0x3b0e6d,0x6ad)],'eol':_0x2c3b72,'oldTextLength':_0x870b49[_0x564e75(0x769,0x533,0x4df,0x641)],'newTextLength':_0x4fae23[_0x564e75(0x53d,0x54a,0x6bc,_0x1c0a42._0x29977f)],'bytesWritten':_0x326828||_0x3bb3b1?0x0:_0x3e02c8[_0x564e75(_0x1c0a42._0x3cd330,0x740,0x6e1,_0x1c0a42._0x29977f)],'beforeSha':_0x2d40c4,'afterSha':_0x32672c,'dryRun':_0x3bb3b1,'noChange':_0x326828,'lineNumbers':calculateLineNumbers(_0x58b6c9,_0x870b49,_0x4fae23,_0x37abc4)}),void 0x0;}});}import{mkdir as _0xad1c5b,rename as _0x4c91f5,stat as _0x56b005,writeFile as _0x5e8206}from'fs/promises';import*as _0x12c7fd from'path';async function atomicWrite2(_0x5a72b9,_0x482213){const _0x82f41b={_0x176d36:0x3dd,_0x388d8a:0x306,_0x5356a4:0x29c,_0x349180:0x365,_0x1865d8:0x2ef,_0x53fe87:0x20,_0xd36608:0x170,_0x184e3f:0x245,_0x20a7c8:0x26a,_0xab5a4f:0x3b3,_0x3dfe78:0x257},_0x1d441f={_0x4dd5dc:0xae},_0x9ab93a={_0x3273bc:0x14,_0x212239:0x90},_0x64e1aa=_0x12c7fd[_0x19c8f3(_0x82f41b._0x176d36,0x401,_0x82f41b._0x388d8a,_0x82f41b._0x5356a4)](_0x5a72b9);await _0xad1c5b(_0x64e1aa,{'recursive':!![]});function _0x1046d2(_0x4bdd35,_0x3def2a,_0x528fbb,_0x463c4c){return _0x257320(_0x4bdd35-_0x9ab93a._0x3273bc,_0x3def2a-_0x9ab93a._0x212239,_0x528fbb- -0x2b4,_0x463c4c);}const _0x580ee2=_0x12c7fd['join'](_0x64e1aa,'.tmp.'+_0x12c7fd[_0x19c8f3(_0x82f41b._0x349180,_0x82f41b._0x1865d8,0x39c,0x428)](_0x5a72b9)+'.'+Date[_0x1046d2(0x174,0xff,0x1b,-_0x82f41b._0x53fe87)]()+'.'+Math[_0x1046d2(_0x82f41b._0xd36608,0x1ef,_0x82f41b._0x184e3f,0x141)]()['toString'](0x24)[_0x19c8f3(_0x82f41b._0x20a7c8,_0x82f41b._0xab5a4f,0x4d5,_0x82f41b._0x3dfe78)](0x2));function _0x19c8f3(_0x59a48a,_0x22ff43,_0x400842,_0x2383ce){return _0x257320(_0x59a48a-_0x1d441f._0x4dd5dc,_0x22ff43-0xdc,_0x22ff43- -0x161,_0x59a48a);}await _0x5e8206(_0x580ee2,_0x482213),await _0x4c91f5(_0x580ee2,_0x5a72b9);}function createFileNewTool(_0x41af6f={}){const _0x2ac1ef={_0x5e38a7:0xd6,_0xe0a99f:0x31,_0x4e9154:0x101,_0x3153f0:0x156,_0x565f7c:0x7,_0x2dcad8:0x4bd,_0x80d2f4:0x421,_0x4ddd03:0x18f,_0x1efa54:0x54,_0x268fc0:0x311,_0x51c152:0x362,_0xa22924:0x369,_0x402c98:0x42c,_0x3c3dda:0x667,_0x5ea0e4:0x591,_0x556e20:0x3b9,_0xe29f91:0x512,_0x4e66d1:0x51f,_0x208bbe:0x52c,_0x358fbd:0x576},_0x37f80e={_0x4dbeb3:0x8e,_0x3bfeca:0xd3,_0x5a87f6:0x3d3,_0x4b364f:0x471,_0x5b35ea:0x4c0,_0x3c36a9:0x5bc,_0x28a530:0x5a7,_0x214b85:0x434,_0x2d327c:0x541,_0x5e75f7:0x4ad,_0x5339a7:0x7a,_0x3c75f9:0x69,_0xc8a807:0x1b8,_0x2a7c1c:0x1c3,_0x140de8:0x10c,_0xae882d:0x191,_0x1ddbce:0xe8,_0x2e8b48:0xf9,_0x1189ef:0x40c,_0x53c941:0x2d,_0x383814:0x281},_0x4d10b1={_0x1f430b:0x190,_0x5db381:0x48e},_0x20990b={_0x58ec5a:0x284,_0x47d9c0:0x9},_0x59457c=_0x12c7fd[_0x3a197d(_0x2ac1ef._0x5e38a7,_0x2ac1ef._0xe0a99f,0x65,_0x2ac1ef._0x4e9154)](_0x41af6f['defaultCwd']??process[_0x3a197d(0x15e,-0x5,_0x2ac1ef._0x3153f0,_0x2ac1ef._0x565f7c)]());function _0x3a197d(_0x2a3310,_0x26cbdf,_0x35fef4,_0x440215){return _0x3342ed(_0x2a3310-0x1cb,_0x440215,_0x2a3310- -0x1fb,_0x440215-0x1e);}const _0x1aa3a2=(_0x41af6f[_0x34ad14(0x4ac,_0x2ac1ef._0x2dcad8,_0x2ac1ef._0x80d2f4,0x360)]??[])[_0x3a197d(0x96,_0x2ac1ef._0x4ddd03,-0x2e,0x22)](_0x2371c4=>_0x12c7fd[_0x34ad14(0x2ee,0x364,0x2fe,0x3d6)](_0x2371c4)),_0x2c718d=_0x41af6f['name']??'FileNew';function _0x34ad14(_0x498a3e,_0x2c3607,_0x29558,_0x4233e3){return _0x257320(_0x498a3e-0xe3,_0x2c3607-0x150,_0x4233e3-0x79,_0x29558);}return defineTool({'name':_0x2c718d,'description':_0x3a197d(0xac,-_0x2ac1ef._0x1efa54,-0x39,-0xa5),'inputSchema':{'type':_0x34ad14(_0x2ac1ef._0x268fc0,0x205,_0x2ac1ef._0x51c152,_0x2ac1ef._0xa22924),'properties':{'filePath':{'type':_0x3a197d(0x291,0x38e,0x1f6,0x1d8)},'content':{'type':_0x34ad14(_0x2ac1ef._0x402c98,_0x2ac1ef._0x3c3dda,0x6e4,_0x2ac1ef._0x5ea0e4)}},'required':[_0x34ad14(0x5a3,0x4ae,_0x2ac1ef._0x556e20,_0x2ac1ef._0xe29f91),_0x34ad14(_0x2ac1ef._0x4e66d1,0x5a5,_0x2ac1ef._0x208bbe,_0x2ac1ef._0x358fbd)]},async *'execute'(_0x5d7ea1){const _0x1d9ecf=resolveAllowedPath(_0x59457c,_0x1aa3a2,_0x5d7ea1[_0x43981f(-_0x37f80e._0x4dbeb3,-_0x37f80e._0x3bfeca,0x84,0x118)]),_0x2c8b06=await _0x56b005(_0x1d9ecf)['then'](()=>!![])['catch'](()=>![]),_0x38c66b=Buffer[_0x34fb42(0x411,_0x37f80e._0x5a87f6,_0x37f80e._0x4b364f,0x4d7)](_0x5d7ea1[_0x34fb42(_0x37f80e._0x5b35ea,0x662,0x4fa,_0x37f80e._0x3c36a9)],_0x34fb42(_0x37f80e._0x28a530,_0x37f80e._0x214b85,_0x37f80e._0x2d327c,_0x37f80e._0x5e75f7));await atomicWrite2(_0x1d9ecf,_0x38c66b);function _0x34fb42(_0x457011,_0x1ed0d1,_0x8f65b7,_0xb14d7e){return _0x3a197d(_0x8f65b7-_0x20990b._0x58ec5a,_0x1ed0d1-_0x20990b._0x47d9c0,_0x8f65b7-0x16e,_0xb14d7e);}function _0x43981f(_0x351bba,_0x25fb52,_0x557d94,_0x3f43d6){return _0x34ad14(_0x351bba-0x1e5,_0x25fb52-_0x4d10b1._0x1f430b,_0x3f43d6,_0x557d94- -_0x4d10b1._0x5db381);}return yield createToolOutput(_0x43981f(_0x37f80e._0x5339a7,_0x37f80e._0x3c75f9,-0x11,0x90)+_0x5d7ea1['filePath']+'.',{'filePath':_0x5d7ea1[_0x43981f(_0x37f80e._0xc8a807,_0x37f80e._0x2a7c1c,0x84,0x148)],'resolvedPath':_0x1d9ecf,'bytes':_0x38c66b[_0x43981f(0x199,0xaf,_0x37f80e._0x140de8,_0x37f80e._0xae882d)],'lines':_0x5d7ea1[_0x43981f(0x166,0x100,_0x37f80e._0x1ddbce,_0x37f80e._0x2e8b48)][_0x34fb42(_0x37f80e._0x1189ef,0x667,0x566,0x65e)](/\r?\n/)[_0x43981f(-_0x37f80e._0x53c941,_0x37f80e._0x383814,0x10c,0x1e5)],'created':new Date()['toISOString'](),'overwritten':_0x2c8b06}),void 0x0;}});}import{readFile as _0x58d741,stat as _0x4df592}from'fs/promises';import*as _0x2c4be6 from'path';function stripUtfBom(_0x3a5740){const _0x2c1928={_0x4649cf:0x332,_0x2e09e5:0x26b,_0x23a8d2:0x77a,_0xeba65f:0x764,_0x3f9f09:0x6d4},_0x588ea9={_0x1c973e:0x266};function _0x34bd6b(_0x4c5058,_0xa8aff3,_0x3c6c5c,_0xba11aa){return _0x3342ed(_0x4c5058-0x56,_0xba11aa,_0x4c5058-0x117,_0xba11aa-0x16f);}function _0x310dda(_0x31a179,_0xb4fe7f,_0xd42bb,_0x1af39c){return _0x257320(_0x31a179-0x2d,_0xb4fe7f-0x1b2,_0x31a179-_0x588ea9._0x1c973e,_0xd42bb);}return _0x3a5740[_0x34bd6b(_0x2c1928._0x4649cf,0x1c6,0x23c,_0x2c1928._0x2e09e5)](0x0)===0xfeff?_0x3a5740[_0x310dda(_0x2c1928._0x23a8d2,_0x2c1928._0xeba65f,0x795,_0x2c1928._0x3f9f09)](0x1):_0x3a5740;}function clampLine(_0x1b8b75,_0x51b5bc){const _0x5c94fa={_0x2b3d1b:0x37,_0x5cdbcb:0x159,_0x582768:0x1bf,_0x58e2a4:0x151,_0x179f41:0x9b,_0x2680fa:0xee,_0x421b97:0xed,_0x1d33f4:0xc5,_0x467d7f:0x279,_0x185466:0x26c,_0x270fdd:0xd9},_0x39ede2={_0x53f012:0x178,_0x326654:0x20,_0x575114:0x337},_0x302a21={_0x872774:0x168,_0x16efb2:0x17d};if(!Number[_0x103574(_0x5c94fa._0x2b3d1b,_0x5c94fa._0x5cdbcb,_0x5c94fa._0x582768,_0x5c94fa._0x58e2a4)](_0x1b8b75))return 0x1;function _0x11c103(_0x309894,_0x46bc93,_0x459af8,_0x496e73){return _0x3342ed(_0x309894-_0x302a21._0x872774,_0x496e73,_0x46bc93- -_0x302a21._0x16efb2,_0x496e73-0x19f);}function _0x103574(_0xcbd0fd,_0x24851c,_0x2fcb11,_0x19a82f){return _0x257320(_0xcbd0fd-_0x39ede2._0x53f012,_0x24851c-_0x39ede2._0x326654,_0x24851c- -_0x39ede2._0x575114,_0xcbd0fd);}return Math[_0x103574(_0x5c94fa._0x179f41,-0x53,_0x5c94fa._0x2680fa,-_0x5c94fa._0x421b97)](0x1,Math[_0x103574(_0x5c94fa._0x1d33f4,0x12f,_0x5c94fa._0x467d7f,_0x5c94fa._0x185466)](Math[_0x11c103(_0x5c94fa._0x270fdd,0x122,0x5d,-0x3a)](_0x1b8b75),_0x51b5bc));}function createFileReadTool(_0x2d92ec={}){const _0x3ff673={_0x385800:0x19f,_0x25ab83:0x5e,_0x41351f:0xe9,_0x373837:0x103,_0x44358a:0xdc,_0x543be9:0xe0,_0x2c33a3:0xd8,_0x3a9b64:0x1,_0x2e5beb:0x10d,_0x3085d9:0xc,_0x254ed6:0x6d5,_0x2a3439:0x5de,_0x33757b:0x6c3,_0x58a212:0x239,_0xddd759:0x74,_0x2a4d4c:0xc2,_0x2a9fe4:0x11b,_0x4bb537:0x45c,_0x43d179:0x57b},_0x6d0ef7={_0x4f258b:0x2e,_0xbbb0a9:0x1d9,_0x187366:0x54a,_0x232e57:0x3a8,_0x32e7f9:0x61e,_0x4e3b38:0x6d8,_0x12ce8f:0x62a,_0x4c9371:0x4f,_0x54faa1:0x10f,_0x3aa1dd:0x158,_0x881494:0x9e,_0x4b7b31:0x75,_0x3f2731:0x36,_0x44d566:0xad,_0x3f910c:0x307,_0x20da79:0x1a9,_0xbcb67c:0x7a3,_0x207b49:0x516,_0x2f73f7:0x62d,_0x1586a0:0x46,_0x2a94e2:0x53,_0x334e6e:0x3c,_0x5d98c0:0x243,_0x117840:0xed,_0x391982:0x7a,_0x224f0c:0x765,_0x3a9eba:0x6a7,_0x50d563:0xe6,_0x4dae40:0x6aa,_0x4a3e31:0x597,_0x4dd137:0x721,_0x4909ab:0x41c,_0xed6a1f:0x2a2,_0x4a1b31:0x1ea,_0xb80914:0x118,_0x44e65b:0xec,_0x4cf8b9:0x3e,_0x1147c0:0x765,_0x294ecd:0x7f8},_0x156621={_0x5cc00d:0x1ec,_0x7cf815:0xd4},_0x5b3ab1={_0x83721e:0x19f,_0x346f2d:0x12e},_0x2b8c41=_0x2c4be6[_0x1b3797(0xae,0x123,-0xe0,0x61)](_0x2d92ec['defaultCwd']??process[_0x1b3797(_0x3ff673._0x385800,-_0x3ff673._0x25ab83,0x147,_0x3ff673._0x41351f)]()),_0x526c0d=(_0x2d92ec[_0x1b3797(-_0x3ff673._0x373837,-0x93,_0x3ff673._0x44358a,-0x15)]??[])[_0x1b3797(-_0x3ff673._0x543be9,0x175,-0x13e,0x21)](_0x4c7678=>_0x2c4be6['resolve'](_0x4c7678));function _0x1b3797(_0x2dc06d,_0x51dcfd,_0x177387,_0x24977e){return _0x3342ed(_0x2dc06d-_0x5b3ab1._0x83721e,_0x2dc06d,_0x24977e- -0x270,_0x24977e-_0x5b3ab1._0x346f2d);}const _0x3d4bf5=_0x2d92ec[_0x1b3797(0xb1,-0xc9,-0xab,0x30)]??_0x1b3797(0x16d,0xa2,0x7b,0x104);function _0x6d3915(_0x25f849,_0x37ffdd,_0x4ec985,_0xbd9e35){return _0x257320(_0x25f849-_0x156621._0x5cc00d,_0x37ffdd-_0x156621._0x7cf815,_0x37ffdd-0x1bd,_0x4ec985);}return defineTool({'name':_0x3d4bf5,'description':_0x1b3797(-_0x3ff673._0x2c33a3,-0x162,0x7,-_0x3ff673._0x3a9b64),'inputSchema':{'type':_0x1b3797(0x88,-0x13,-_0x3ff673._0x2e5beb,-_0x3ff673._0x3085d9),'properties':{'path':{'type':_0x6d3915(0x71a,_0x3ff673._0x254ed6,_0x3ff673._0x2a3439,_0x3ff673._0x33757b)},'lineStart':{'type':_0x1b3797(_0x3ff673._0x58a212,0xe2,-_0x3ff673._0xddd759,_0x3ff673._0x2a4d4c),'description':_0x1b3797(0xba,-_0x3ff673._0x2a9fe4,-0x1f,0x44)},'lineEnd':{'type':_0x6d3915(_0x3ff673._0x4bb537,_0x3ff673._0x43d179,0x6a3,0x4a2),'description':_0x6d3915(0x575,0x6bb,0x5e8,0x6c4)}},'required':['path']},async *'execute'(_0x556214){const _0x4f83c0={_0x4986fc:0x21,_0x252bb5:0x184,_0x31bd3f:0x540},_0x1eb25b=resolveAllowedPath(_0x2b8c41,_0x526c0d,_0x556214['path']);await assertWorkspaceFile(_0x1eb25b);const _0x1039ab=await _0x4df592(_0x1eb25b),_0x3497ad=await _0x58d741(_0x1eb25b);if(isProbablyBinary(_0x3497ad))throw new ToolExecutionError('File\x20appears\x20to\x20be\x20binary:\x20'+_0x556214['path'],{'path':_0x556214['path']});let _0x5b0327=_0x3497ad[_0xd1805b(0xa3,-0x13f,-0x23,-_0x6d0ef7._0x4f258b)](_0xd1805b(0x148,0x212,_0x6d0ef7._0xbbb0a9,0x1a9));const _0xf1c8e0=_0x5b0327[_0x48697b(0x4eb,_0x6d0ef7._0x187366,_0x6d0ef7._0x232e57,0x443)](0x0)===0xfeff;function _0xd1805b(_0x5ab748,_0x1c918f,_0x24d5eb,_0xf713fd){return _0x6d3915(_0x5ab748-0x103,_0xf713fd- -0x558,_0x1c918f,_0xf713fd-0x1ad);}_0x5b0327=stripUtfBom(_0x5b0327);const _0xfdc18b=_0x5b0327['split'](/\r?\n/),_0x5c183e={'path':_0x556214['path'],'resolvedPath':_0x1eb25b,'created':_0x1039ab[_0x48697b(_0x6d0ef7._0x32e7f9,_0x6d0ef7._0x4e3b38,_0x6d0ef7._0x12ce8f,0x586)]['toISOString'](),'modified':_0x1039ab[_0xd1805b(_0x6d0ef7._0x4c9371,_0x6d0ef7._0x54faa1,0x256,_0x6d0ef7._0x3aa1dd)][_0xd1805b(0x1ab,_0x6d0ef7._0x881494,0xb3,0x91)](),'size':_0x1039ab[_0xd1805b(_0x6d0ef7._0x4b7b31,0x18b,0x152,0x164)],'encoding':_0xd1805b(_0x6d0ef7._0x3f2731,_0x6d0ef7._0x44d566,_0x6d0ef7._0x3f910c,_0x6d0ef7._0x20da79),'bomStripped':_0xf1c8e0,'truncated':![],'totalLines':_0xfdc18b[_0x48697b(0x765,_0x6d0ef7._0xbcb67c,0x703,0x68e)]};if(_0x556214[_0x48697b(_0x6d0ef7._0x207b49,0x5d6,_0x6d0ef7._0x2f73f7,0x4b1)]!==void 0x0||_0x556214[_0xd1805b(-0x25,-_0x6d0ef7._0x1586a0,0x160,_0x6d0ef7._0x2a94e2)]!==void 0x0){const _0x2d0e86=clampLine(_0x556214[_0xd1805b(-0x1d0,-0x5f,-_0x6d0ef7._0x334e6e,-0xc9)]??0x1,_0xfdc18b[_0xd1805b(0x1a3,0x274,_0x6d0ef7._0x5d98c0,0x186)]),_0x1205ef=clampLine(_0x556214[_0xd1805b(-_0x6d0ef7._0x117840,0x111,-_0x6d0ef7._0x391982,_0x6d0ef7._0x2a94e2)]??_0xfdc18b[_0x48697b(_0x6d0ef7._0x224f0c,0x88b,0x8a6,_0x6d0ef7._0x3a9eba)],_0xfdc18b[_0xd1805b(_0x6d0ef7._0x50d563,0x24e,0x266,0x186)]),_0x2b3f82=Math[_0x48697b(_0x6d0ef7._0x4dae40,0x5ff,_0x6d0ef7._0x4a3e31,_0x6d0ef7._0x4dd137)](_0x2d0e86,_0x1205ef),_0x4d6e8a=Math[_0x48697b(0x528,_0x6d0ef7._0x4a3e31,0x44f,_0x6d0ef7._0x4909ab)](_0x2d0e86,_0x1205ef),_0x4c15fb=_0xfdc18b[_0xd1805b(_0x6d0ef7._0xed6a1f,_0x6d0ef7._0x4a1b31,_0x6d0ef7._0xb80914,0x179)](_0x2b3f82-0x1,_0x4d6e8a)[_0xd1805b(-_0x6d0ef7._0x44e65b,-0x179,-_0x6d0ef7._0x4cf8b9,-0x7e)]((_0x34b12e,_0x519253)=>_0x2b3f82+_0x519253+'|'+_0x34b12e)[_0x48697b(0x706,0x5e7,0x65b,0x74a)]('\x0a');return yield createToolOutput(_0x4c15fb,{..._0x5c183e,'lineRange':{'lineStart':_0x2b3f82,'lineEnd':_0x4d6e8a,'linesTotal':_0xfdc18b[_0x48697b(_0x6d0ef7._0x1147c0,0x851,_0x6d0ef7._0x294ecd,0x8af)]}}),void 0x0;}yield createToolOutput(_0x5b0327,_0x5c183e);function _0x48697b(_0x8cec11,_0x5f13c0,_0x42fd64,_0x506639){return _0x1b3797(_0x506639,_0x5f13c0-_0x4f83c0._0x4986fc,_0x42fd64-_0x4f83c0._0x252bb5,_0x8cec11-_0x4f83c0._0x31bd3f);}return void 0x0;}});}import{stat as _0x1c2177}from'fs/promises';import*as _0xdf96a5 from'path';import{execSync,spawn as _0x2fc64f}from'child_process';import{existsSync}from'fs';import{stat as _0x4d84ee}from'fs/promises';import*as _0x3c7073 from'os';import*as _0x17f052 from'path';import{rgPath as _0x21f6f4}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x10f95a={_0x2e1cb5:0x1cf,_0x1174a6:0x78,_0x3e7d75:0x191,_0x2c25d2:0x16e,_0x81b414:0x200,_0x55736b:0x155,_0x15a1c1:0x4cf,_0x54ccc7:0x2ff,_0x2fa278:0x275,_0x3bae6c:0x14e,_0x4d3a4b:0x111,_0x55fedc:0x160,_0xbff854:0x120,_0x584851:0x1d0,_0x17c184:0xee,_0x455d1a:0x2ff,_0x110a98:0x445,_0x49000d:0x15d,_0xf55108:0x23c,_0x5751cf:0x4c1,_0x32b4c4:0x316,_0xe2dd80:0x1f2,_0x2dd2bd:0xf9,_0x373a61:0x10d,_0x49d99d:0x184,_0x3f50ca:0x28b,_0x5d40eb:0x289,_0x1de807:0x291,_0x213578:0x376,_0x285858:0xc8,_0x110ae8:0xa7,_0x57f334:0x91,_0x3d5b92:0x5d,_0x59d46c:0x14f,_0x1ec962:0x163,_0x408494:0xb,_0x2d6d07:0x5f,_0x5c62bf:0x3b1,_0x406714:0x4cc},_0x166687={_0x249960:0x1bb,_0x50f356:0x489,_0x1466fa:0x1c3},_0x4d325c={_0xd72fe2:0xfc,_0x48c423:0x1c3},_0x52bf25=_0x3c7073[_0x30d02e(_0x10f95a._0x2e1cb5,0x71,0x1a7,0x335)]()==='win32',_0x1b59eb=_0x52bf25?[_0x17f052[_0x132612(0x11b,-0x53,0xf7,-0x11f)](process[_0x30d02e(0x1e4,0x112,_0x10f95a._0x1174a6,0x334)][_0x132612(-_0x10f95a._0x3e7d75,-0x19b,-0x24,-0x48)]||'',_0x30d02e(_0x10f95a._0x2c25d2,_0x10f95a._0x81b414,_0x10f95a._0x55736b,0x271),_0x30d02e(0x368,0x4b2,0x362,_0x10f95a._0x15a1c1),'Packages'),_0x17f052[_0x30d02e(_0x10f95a._0x54ccc7,_0x10f95a._0x2fa278,0x291,0x30b)](process[_0x30d02e(0x1e4,_0x10f95a._0x3bae6c,0x183,0x186)][_0x30d02e(_0x10f95a._0x4d3a4b,0x6e,0x1bd,0xf7)]||'','ripgrep',_0x30d02e(_0x10f95a._0x55fedc,_0x10f95a._0xbff854,_0x10f95a._0x584851,_0x10f95a._0x17c184)),_0x17f052[_0x30d02e(_0x10f95a._0x455d1a,0x443,_0x10f95a._0x110a98,0x3fe)](process[_0x132612(-_0x10f95a._0x49000d,-_0x10f95a._0x2c25d2,-_0x10f95a._0xf55108,-0x180)]['ProgramFiles(x86)']||'',_0x30d02e(0x36d,0x423,_0x10f95a._0x5751cf,_0x10f95a._0x32b4c4),_0x132612(-0x193,-_0x10f95a._0xe2dd80,-_0x10f95a._0x2dd2bd,-_0x10f95a._0x373a61))]:[_0x30d02e(_0x10f95a._0x49d99d,0xe6,0x187,_0x10f95a._0x3f50ca),_0x30d02e(0x191,0x27d,_0x10f95a._0x5d40eb,0x7d),_0x30d02e(_0x10f95a._0x1de807,0x26d,_0x10f95a._0x213578,0x124),'/bin/rg'];for(const _0x3b8468 of _0x1b59eb){if(existsSync(_0x3b8468))return _0x3b8468;}function _0x30d02e(_0x115a38,_0x1c347c,_0x984c5a,_0x59daf7){return _0x257320(_0x115a38-0x6e,_0x1c347c-_0x4d325c._0xd72fe2,_0x115a38- -_0x4d325c._0x48c423,_0x984c5a);}try{const _0x184937=_0x52bf25?_0x132612(_0x10f95a._0x285858,-_0x10f95a._0x110ae8,_0x10f95a._0x57f334,_0x10f95a._0x3d5b92):_0x30d02e(0x1ed,0x106,_0x10f95a._0x59d46c,0x160),_0x4aa60c=execSync(_0x184937,{'encoding':_0x30d02e(0x381,0x48e,0x31c,0x2bb),'stdio':[_0x132612(-_0x10f95a._0x1ec962,-0x101,_0x10f95a._0x408494,_0x10f95a._0x2d6d07),'pipe',_0x30d02e(_0x10f95a._0x5c62bf,_0x10f95a._0x406714,0x407,0x50b)]})['trim']()['split'](/\r?\n/)[0x0];if(_0x4aa60c&&existsSync(_0x4aa60c))return _0x4aa60c;}catch{return null;}function _0x132612(_0x2f8b81,_0x4d1670,_0x4b656c,_0x186815){return _0x3342ed(_0x2f8b81-_0x166687._0x249960,_0x2f8b81,_0x4d1670- -_0x166687._0x50f356,_0x186815-_0x166687._0x1466fa);}return null;}async function filepath(){const _0x3e5410={_0x3c33b6:0x2d7};if(cachedRgPath)return cachedRgPath;if(_0x21f6f4&&existsSync(_0x21f6f4))return cachedRgPath=_0x21f6f4,_0x21f6f4;const _0x9765f2=findSystemRipgrep();if(!_0x9765f2)throw new Error(_0x3d1a8b(0x1dd,0x300,0x2a1,_0x3e5410._0x3c33b6));function _0x3d1a8b(_0x1fa710,_0xfac906,_0x445197,_0x49409f){return _0x257320(_0x1fa710-0x169,_0xfac906-0x56,_0xfac906- -0xa9,_0x1fa710);}return cachedRgPath=_0x9765f2,_0x9765f2;}async function*files(_0x2cebaf){const _0x36f5a9={_0x5acf06:0x100,_0x5a45a8:0xf1,_0x1cedad:0x24c,_0x5b25d2:0x16e,_0x3b9871:0x9,_0x1ad465:0x222,_0x5724ae:0x63,_0x295e80:0xb0,_0x394e62:0x59,_0x42e092:0x6f9,_0x2251a8:0x795,_0x201e10:0x3cd,_0x43e0da:0x3f8,_0x2faa26:0x508,_0x18febd:0x206,_0x17ad84:0x1c6,_0x422f02:0x133,_0x143b7f:0x237,_0x4e26f4:0x13b,_0x3fa025:0x17b,_0xf871fb:0x131,_0x594a72:0x1fc,_0x47dcf7:0xaf,_0xfccd31:0x177,_0x382a01:0x223,_0x3268d4:0x14c,_0x4c9949:0x1b3,_0x536bd6:0x61a,_0x3a61ae:0x518,_0x513506:0x23,_0x22c6ee:0x55,_0x34d931:0x12a,_0x17b448:0x8a,_0x30c4dd:0x104,_0x5510ae:0x4b,_0x2db5bb:0x707,_0x105cca:0x4d7,_0x51ead8:0x49e,_0x5852be:0x5d3,_0x89a959:0x47c,_0x137ec9:0x4e1,_0x290a26:0x52c,_0x510560:0x309,_0x926d47:0x4a,_0x4462ea:0x44,_0x554f9c:0x83,_0x56b767:0x638,_0x2d7ed6:0x574,_0x346d1c:0x6e0,_0x154683:0x77,_0x36d2b3:0x1d1,_0x170382:0x193,_0x4465c5:0x55c,_0x2c102e:0x491,_0x3324ff:0x482},_0x49811f={_0x6f726c:0x334},_0x212e45=await filepath(),_0x27d197=await _0x4d84ee(_0x2cebaf[_0x9ddfb5(0x95,_0x36f5a9._0x5acf06,0x25,-0x7b)])[_0x9ddfb5(_0x36f5a9._0x5a45a8,_0x36f5a9._0x1cedad,_0x36f5a9._0x5b25d2,_0x36f5a9._0x3b9871)](()=>null);function _0x185f91(_0x521055,_0x19710e,_0xed1ee0,_0x11a6e3){return _0x257320(_0x521055-0x8d,_0x19710e-0x1d8,_0x11a6e3-0x1bf,_0x19710e);}if(!_0x27d197?.[_0x9ddfb5(_0x36f5a9._0x1ad465,_0x36f5a9._0x5724ae,_0x36f5a9._0x295e80,-_0x36f5a9._0x394e62)]())throw Object[_0x185f91(_0x36f5a9._0x42e092,0x702,_0x36f5a9._0x2251a8,0x6a7)](new Error(_0x185f91(_0x36f5a9._0x201e10,_0x36f5a9._0x43e0da,0x474,_0x36f5a9._0x2faa26)+_0x2cebaf[_0x185f91(0x5b8,0x4ef,0x5ce,0x5a4)]+'\x27'),{'code':_0x9ddfb5(_0x36f5a9._0x18febd,0x223,_0x36f5a9._0x17ad84,_0x36f5a9._0x422f02)});const _0x374108=[_0x9ddfb5(_0x36f5a9._0x143b7f,_0x36f5a9._0x4e26f4,_0x36f5a9._0x3fa025,0x222),_0x9ddfb5(_0x36f5a9._0xf871fb,_0x36f5a9._0x594a72,_0x36f5a9._0x47dcf7,_0x36f5a9._0xfccd31),_0x9ddfb5(_0x36f5a9._0x382a01,_0x36f5a9._0x3268d4,_0x36f5a9._0x4c9949,0xf2),_0x185f91(_0x36f5a9._0x536bd6,0x6b5,_0x36f5a9._0x3a61ae,0x661)];for(const _0x26563a of _0x2cebaf['glob']??[]){_0x374108[_0x9ddfb5(-_0x36f5a9._0x513506,-0x97,-_0x36f5a9._0x22c6ee,-_0x36f5a9._0x34d931)](_0x9ddfb5(_0x36f5a9._0x17b448,_0x36f5a9._0x30c4dd,-_0x36f5a9._0x5510ae,-0x1c4)+_0x26563a);}const _0xe5f661=_0x2fc64f(_0x212e45,_0x374108,{'cwd':_0x2cebaf[_0x185f91(0x651,_0x36f5a9._0x2db5bb,_0x36f5a9._0x105cca,0x5a4)],'stdio':['ignore','pipe',_0x185f91(0x5ad,_0x36f5a9._0x51ead8,0x55b,_0x36f5a9._0x5852be)]});let _0x5b0c9f='';function _0x9ddfb5(_0x148363,_0x2d7d42,_0x50e88b,_0x5bdc7c){return _0x3342ed(_0x148363-0x199,_0x5bdc7c,_0x50e88b- -_0x49811f._0x6f726c,_0x5bdc7c-0x3f);}for await(const _0x353e5a of _0xe5f661['stdout']??[]){_0x5b0c9f+=_0x353e5a[_0x185f91(0x562,_0x36f5a9._0x89a959,_0x36f5a9._0x137ec9,_0x36f5a9._0x290a26)]();const _0x4174eb=_0x5b0c9f[_0x9ddfb5(_0x36f5a9._0x510560,0x3c,0x1a9,0x30a)](/\r?\n/);_0x5b0c9f=_0x4174eb[_0x9ddfb5(_0x36f5a9._0x926d47,-_0x36f5a9._0x4462ea,-_0x36f5a9._0x554f9c,-0x115)]()??'';for(const _0x1574a4 of _0x4174eb){if(_0x1574a4[_0x185f91(_0x36f5a9._0x56b767,_0x36f5a9._0x2d7ed6,0x7e2,_0x36f5a9._0x346d1c)]>0x0)yield _0x1574a4;}}_0x5b0c9f[_0x9ddfb5(_0x36f5a9._0x154683,-0x1fa,-0xfd,-0x188)]()[_0x9ddfb5(0x40,_0x36f5a9._0x36d2b3,0x161,_0x36f5a9._0x170382)]>0x0&&(yield _0x5b0c9f[_0x185f91(_0x36f5a9._0x4465c5,_0x36f5a9._0x2c102e,0x384,_0x36f5a9._0x3324ff)]());}function parseMatchLine(_0x6fc68b,_0x383a86){const _0x5aa530={_0x3017f8:0xb,_0x31ef40:0x4,_0x4c6997:0x170,_0x306d25:0x5dc,_0x247ed2:0x805,_0x1f3a52:0x6c7,_0xcad7a9:0x5ef,_0x2cedf3:0x503,_0xb7595a:0x10b,_0x454f9d:0x1db,_0x1990b9:0x5ff,_0x29ab51:0x171,_0x2fb015:0x770,_0x4cbae5:0x6f5,_0x11c69b:0x81b,_0x48e6c3:0x6c7,_0x48a34b:0x79e,_0x39c1e6:0x6a9,_0xb648d9:0x624,_0x2b266c:0x75,_0x31e511:0xb2,_0x5d3277:0x20},_0x44eb13={_0x27c091:0x2c3,_0xf8051e:0x1e2};if(!_0x6fc68b||_0x6fc68b==='--')return null;const _0x465967=_0x6fc68b[_0x4b1da5(0x160,-_0x5aa530._0x3017f8,0x60,_0x5aa530._0x31ef40)]('|');function _0x203a05(_0x4206fb,_0x375e6a,_0x31f574,_0x45f953){return _0x3342ed(_0x4206fb-0x167,_0x31f574,_0x45f953-_0x44eb13._0x27c091,_0x45f953-_0x44eb13._0xf8051e);}if(_0x383a86&&_0x465967[_0x4b1da5(0x118,0x271,0x145,_0x5aa530._0x4c6997)]>=0x4&&Number[_0x203a05(_0x5aa530._0x306d25,0x5ae,_0x5aa530._0x247ed2,_0x5aa530._0x1f3a52)](Number[_0x203a05(0x5e0,0x3bd,_0x5aa530._0xcad7a9,_0x5aa530._0x2cedf3)](_0x465967[0x2]??'',0xa))){const _0xf6a3ac=Number['parseInt'](_0x465967[0x1]??'',0xa);if(!Number['isFinite'](_0xf6a3ac)||!_0x465967[0x0])return null;return{'filePath':_0x465967[0x0],'lineNum':_0xf6a3ac,'lineText':_0x465967[_0x4b1da5(_0x5aa530._0xb7595a,0x2c,0x113,_0x5aa530._0x454f9d)](0x3)['join']('|')};}function _0x4b1da5(_0x57751f,_0x57a91f,_0x79f454,_0x526c98){return _0x257320(_0x57751f-0x100,_0x57a91f-0x125,_0x57751f- -0x409,_0x526c98);}if(_0x465967[_0x203a05(0x88c,0x836,_0x5aa530._0x1990b9,0x758)]>=0x3){const _0x3eca48=Number[_0x4b1da5(-0x13d,-0x63,-_0x5aa530._0x29ab51,-0x260)](_0x465967[0x1]??'',0xa);if(!Number[_0x203a05(_0x5aa530._0x2fb015,_0x5aa530._0x4cbae5,_0x5aa530._0x11c69b,_0x5aa530._0x48e6c3)](_0x3eca48)||!_0x465967[0x0])return null;return{'filePath':_0x465967[0x0],'lineNum':_0x3eca48,'lineText':_0x465967[_0x203a05(_0x5aa530._0x48a34b,_0x5aa530._0x39c1e6,_0x5aa530._0xb648d9,0x74b)](0x2)[_0x4b1da5(0xb9,_0x5aa530._0x2b266c,_0x5aa530._0x31e511,_0x5aa530._0x5d3277)]('|'),..._0x383a86?{'isContext':!![]}:{}};}return null;}async function search(_0xc4485d){const _0x56d316={_0x3f24fc:0x3e,_0x130ab9:0xdc,_0x28c53c:0xcb,_0x39dc0e:0x7b0,_0x2cf055:0x706,_0x895b55:0x479,_0x31ba97:0x58a,_0x393202:0x343,_0x4415a3:0x1cd,_0x50c20e:0x157,_0x303c24:0xa0,_0x519d0f:0x153,_0x11ae55:0x112,_0x5d770b:0x50e,_0x9a33aa:0x4f0,_0x379974:0x1ce,_0x488636:0x27d,_0x38be88:0x57b,_0x1cf4d7:0x6a9,_0x165c94:0x207,_0x440639:0xb6,_0x3e58e1:0x5,_0x2fd1f6:0x2ad,_0x54d650:0x2a5,_0x339389:0x39a,_0x4b27d5:0x1d4,_0x395d68:0x46a,_0x43eb14:0x4dc,_0x52b9c8:0x4b3,_0x599381:0x8,_0xe1b9e7:0xb,_0x3f9262:0xd7,_0x25caf6:0xb9,_0x1f3b6e:0xe5,_0x594a24:0x91,_0x1f5551:0x380,_0x3e1dfa:0x221,_0x337920:0x1ca,_0x4e8042:0x384,_0x13dc3d:0x129,_0x8e3af4:0x1fb,_0xc80cbb:0x60d,_0x5a9ae3:0x94,_0x5611dd:0x8a,_0x3243ca:0xc9,_0x365a74:0x5df,_0x2e496b:0xda,_0x1e446f:0x232,_0x3f5d5e:0x39d,_0x2e5f34:0x373,_0x312ec5:0x22,_0x20809c:0x104,_0x4de644:0x1cb},_0x11a495={_0x3868a9:0x472,_0x3bcd9a:0x262,_0x52f312:0x391,_0x55fd37:0x345,_0x34de5f:0x5,_0x3f31ea:0x264,_0x54aab2:0x144,_0x52435c:0x242,_0xa8f4ad:0xce,_0xec4c76:0x131,_0x1d2bac:0x2be,_0x5a1136:0x24f,_0x41f131:0x2bc,_0x4c39c2:0x5c,_0xbdf524:0x17c,_0x49a125:0x20d,_0x3749af:0x325,_0x369a62:0x154},_0xb6fe6a={_0x4de9bd:0x305,_0x53ed5f:0x243,_0x49e223:0x37e,_0x11fa1d:0x4cc,_0x43451c:0x57d,_0x1ec909:0x5e1,_0x16ad2c:0x696,_0x171be1:0xf9},_0x1da0a6={_0x570d2a:0x291,_0x1badfb:0x2ba},_0x570b75={_0x509d12:0xd5},_0x48b376={_0x218973:0xfb,_0x24aa27:0x2e1},_0x4e1e56={_0x2cd76b:0xa0,_0x2bcbf2:0x10b},_0x58d21c=await filepath();if(_0xc4485d['file']){const _0x3fae5c=await _0x4d84ee(_0xc4485d[_0x157cb9(0x80,-_0x56d316._0x3f24fc,_0x56d316._0x130ab9,-_0x56d316._0x28c53c)])[_0xd230d3(_0x56d316._0x39dc0e,_0x56d316._0x2cf055,0x639,0x4e1)](()=>null);if(!_0x3fae5c?.[_0xd230d3(0x3f0,0x5b6,_0x56d316._0x895b55,_0x56d316._0x31ba97)]())throw Object[_0x157cb9(_0x56d316._0x393202,0x207,_0x56d316._0x4415a3,0xb9)](new Error(_0x157cb9(_0x56d316._0x50c20e,0x1d7,0x16d,0x227)+_0xc4485d[_0x157cb9(_0x56d316._0x303c24,-_0x56d316._0x3f24fc,-_0x56d316._0x519d0f,-_0x56d316._0x11ae55)]+'\x27'),{'code':_0xd230d3(0x68d,0x661,0x691,0x680)});}else{const _0x26c422=await _0x4d84ee(_0xc4485d[_0xd230d3(_0x56d316._0x5d770b,0x559,_0x56d316._0x9a33aa,0x44b)])[_0x157cb9(_0x56d316._0x379974,0x24d,0x2cd,_0x56d316._0x488636)](()=>null);if(!_0x26c422?.[_0xd230d3(0x5fa,0x49f,_0x56d316._0x38be88,_0x56d316._0x1cf4d7)]())throw Object[_0x157cb9(0x152,_0x56d316._0x165c94,0x201,0x98)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0xc4485d[_0x157cb9(_0x56d316._0x440639,0x104,-_0x56d316._0x3e58e1,-0x1a)]+'\x27'),{'code':_0x157cb9(_0x56d316._0x2fd1f6,_0x56d316._0x54d650,_0x56d316._0x339389,_0x56d316._0x4b27d5)});}const _0x25737f=[_0xd230d3(0x42b,0x5b9,0x59a,0x63c),'--field-match-separator=|',_0xd230d3(0x46c,_0x56d316._0x395d68,_0x56d316._0x43eb14,_0x56d316._0x52b9c8),_0x157cb9(_0x56d316._0x599381,_0x56d316._0xe1b9e7,_0x56d316._0x3f9262,0x7e),_0xc4485d[_0x157cb9(_0x56d316._0x25caf6,_0x56d316._0x1f3b6e,_0x56d316._0x594a24,-0x24)]],_0x28dee7=typeof _0xc4485d[_0x157cb9(_0x56d316._0x1f5551,_0x56d316._0x3e1dfa,_0x56d316._0x337920,_0x56d316._0x4e8042)]===_0x157cb9(_0x56d316._0x13dc3d,0xdd,0x112,_0x56d316._0x8e3af4)&&_0xc4485d[_0xd230d3(0x6d7,0x70c,_0x56d316._0xc80cbb,0x587)]>0x0;_0x28dee7&&_0x25737f[_0x157cb9(-_0x56d316._0x5a9ae3,_0x56d316._0x5611dd,-0xa,-_0x56d316._0x3243ca)]('-C',String(_0xc4485d['context']),'--column');function _0xd230d3(_0x1bf12c,_0x36fb11,_0x29964d,_0x3e7157){return _0x257320(_0x1bf12c-0x177,_0x36fb11-_0x4e1e56._0x2cd76b,_0x29964d-_0x4e1e56._0x2bcbf2,_0x36fb11);}_0xc4485d['glob']&&!_0xc4485d['file']&&_0x25737f['push'](_0xd230d3(0x441,_0x56d316._0x365a74,0x486,0x4fc),_0xc4485d[_0x157cb9(_0x56d316._0x2e496b,_0x56d316._0x1e446f,_0x56d316._0x3f5d5e,0xb9)]);_0x25737f[_0xd230d3(0x36f,_0x56d316._0x2e5f34,0x476,0x34b)](_0xc4485d[_0x157cb9(-0x2,-0x3e,-_0x56d316._0x312ec5,0x45)]??_0xc4485d[_0x157cb9(0x115,_0x56d316._0x20809c,0x43,_0x56d316._0x4de644)]);function _0x157cb9(_0x516882,_0x4fec56,_0xe919c2,_0x4a4713){return _0x257320(_0x516882-0x6b,_0x4fec56-_0x48b376._0x218973,_0x4fec56- -_0x48b376._0x24aa27,_0xe919c2);}return await new Promise((_0x33b15c,_0x122053)=>{const _0x38ae4e={_0x54fd37:0x99,_0x2aef12:0x29c},_0x122485={_0x3c4c47:0x3e,_0xe408a3:0x58,_0x38cd95:0x16},_0x59ed71={_0x3327d0:0xd3,_0x1f2cfe:0x130},_0x5b0a22={_0xe9e8e8:0x105,_0x10389e:0xa4},_0xce2d70={_0x5d82a0:0x14,_0x138e5a:0x114},_0x227828={_0x4d0449:0x143};function _0x2674d5(_0xf95754,_0x1f7496,_0x47c2b9,_0xa0568b){return _0x157cb9(_0xf95754-0x1d4,_0x1f7496-_0x570b75._0x509d12,_0x47c2b9,_0xa0568b-0xbe);}const _0x55b60e=_0x2fc64f(_0x58d21c,_0x25737f,{'cwd':_0xc4485d['cwd'],'stdio':[_0x2674d5(_0x11a495._0x3868a9,0x368,0x282,0x1f5),_0x2e4486(_0x11a495._0x3bcd9a,_0x11a495._0x52f312,_0x11a495._0x55fd37,0x238),'pipe']});let _0x9a7df8='',_0x1178da='';_0x55b60e[_0x2e4486(_0x11a495._0x34de5f,_0x11a495._0x3f31ea,0x261,_0x11a495._0x54aab2)]?.['on']('data',_0x2f75cb=>{function _0x342991(_0x44fa40,_0x20d9d9,_0x5cae6b,_0x50db7c){return _0x2674d5(_0x44fa40-0x4a,_0x44fa40- -_0x227828._0x4d0449,_0x20d9d9,_0x50db7c-0x4);}_0x9a7df8+=_0x2f75cb[_0x342991(0x1e,-0x4b,-_0xce2d70._0x5d82a0,_0xce2d70._0x138e5a)]();});function _0x2e4486(_0x367b5f,_0xa95e9c,_0x572295,_0x855910){return _0x157cb9(_0x367b5f-0x9c,_0x855910-_0x5b0a22._0xe9e8e8,_0x367b5f,_0x855910-_0x5b0a22._0x10389e);}_0x55b60e[_0x2674d5(0x16f,_0x11a495._0x52435c,_0x11a495._0xa8f4ad,_0x11a495._0xec4c76)]?.['on'](_0x2674d5(0x21d,_0x11a495._0x1d2bac,_0x11a495._0x5a1136,_0x11a495._0x41f131),_0x546659=>{function _0x18cfc1(_0x15df1d,_0x3b51ce,_0x31e227,_0x462296){return _0x2674d5(_0x15df1d-_0x59ed71._0x3327d0,_0x3b51ce-_0x59ed71._0x1f2cfe,_0x15df1d,_0x462296-0x11f);}_0x1178da+=_0x546659[_0x18cfc1(0x2f9,_0x1da0a6._0x570d2a,0x3cd,_0x1da0a6._0x1badfb)]();}),_0x55b60e['on'](_0x2e4486(_0x11a495._0x4c39c2,0x140,0x1c3,_0x11a495._0xbdf524),_0x43e795=>{if(_0x43e795===0x1&&_0x9a7df8===''){_0x33b15c([]);return;}if(_0x43e795!==0x0&&_0x43e795!==0x1){_0x122053(new Error(_0x59f88d(0x295,_0xb6fe6a._0x4de9bd,_0xb6fe6a._0x53ed5f,0x114)+_0x1178da));return;}const _0x4cfda2=_0xc4485d[_0x28d39f(0x3a9,_0xb6fe6a._0x49e223,0x4a5,_0xb6fe6a._0x11fa1d)]??0x64,_0x1d684a=[];for(const _0x2fafba of _0x9a7df8[_0x28d39f(_0xb6fe6a._0x43451c,0x629,0x55d,0x79e)](/\r?\n/)){if(_0x1d684a[_0x28d39f(0x46d,_0xb6fe6a._0x1ec909,0x5e2,_0xb6fe6a._0x16ad2c)]>=_0x4cfda2)break;const _0x1a1bd8=parseMatchLine(_0x2fafba,_0x28dee7);if(_0x1a1bd8)_0x1d684a[_0x59f88d(0x24a,0x140,0x1b7,_0xb6fe6a._0x171be1)](_0x1a1bd8);}function _0x59f88d(_0x50252a,_0x2bbbe0,_0x19fa4a,_0x10db4f){return _0x2674d5(_0x50252a-_0x122485._0x3c4c47,_0x19fa4a-_0x122485._0xe408a3,_0x50252a,_0x10db4f-_0x122485._0x38cd95);}function _0x28d39f(_0x128a4e,_0x33c1f3,_0x1d46dc,_0x187625){return _0x2e4486(_0x1d46dc,_0x33c1f3-0x4c,_0x1d46dc-_0x38ae4e._0x54fd37,_0x33c1f3-_0x38ae4e._0x2aef12);}_0x33b15c(_0x1d684a);}),_0x55b60e['on'](_0x2674d5(_0x11a495._0x49a125,0x254,_0x11a495._0x3749af,_0x11a495._0x369a62),_0x122053);});}function createGlobTool(_0x5cc335={}){const _0x95363f={_0x36a054:0x3a4,_0x26eb75:0x3ef,_0xbdb520:0x62a,_0x58f03d:0x588,_0x177283:0x3b8,_0x551789:0x42c,_0x190bcf:0x316,_0x2e6933:0x305,_0x517307:0x454,_0x89ce39:0x52b,_0x4b46d5:0x665,_0x12e992:0x52d,_0x4120ab:0x489,_0xc55cb9:0x69d,_0x53b738:0x603,_0x524d0f:0x848,_0xc26df3:0x55f,_0x34b4fa:0x6be,_0x35fa2f:0x66e,_0x4aa6ab:0x4a6},_0x23a9de={_0x335092:0x3c7,_0x3f0ecd:0x47a,_0x18b02a:0x38c,_0x39de89:0x487,_0x2a198e:0x46e,_0x38a03d:0x5ec,_0x1e641c:0x3c9,_0x217b38:0x53a,_0x2344bc:0x31b,_0xf7ceea:0x3e5,_0x4461dc:0x501,_0x270972:0x32f,_0x587f64:0x44e,_0x3b14c9:0x42f,_0xc72b88:0x618,_0x25c73a:0x58d,_0x132d8f:0x557,_0x563c43:0x4fd,_0xa0d114:0x628,_0x13e9a1:0x333,_0x90ff4a:0x47c,_0x2a5e53:0x41b,_0x4da23a:0x310,_0x2a5581:0x3eb,_0x1a6ac2:0x5cb,_0x5f2918:0x5b7,_0x4da38d:0x5a9,_0x1a8d31:0x827,_0x552cc7:0x733,_0x239a56:0x4b0,_0x13388d:0x4ac,_0x1ac342:0x39b,_0x56f43e:0x72c,_0x50ee12:0x763,_0x5a24d4:0x31f,_0x51d94e:0x1ff,_0x18c9df:0x318,_0x359599:0x290},_0x1fdef1={_0x163d1c:0xa,_0x3036be:0x2c6,_0x5a8036:0x18f},_0xacd1da={_0x2bb9cc:0x12b,_0xfde031:0x1cd,_0x539b6f:0x47},_0x1ca09a={_0x16d5a6:0x29,_0x4c984e:0x2ab},_0x2a954e=_0xdf96a5[_0x102e9d(0x4e7,_0x95363f._0x36a054,_0x95363f._0x26eb75,0x3ab)](_0x5cc335[_0xf57930(0x668,0x619,_0x95363f._0xbdb520,_0x95363f._0x58f03d)]??process[_0x102e9d(_0x95363f._0x177283,_0x95363f._0x551789,0x35b,0x34c)]());function _0xf57930(_0x63800a,_0xdb1d97,_0x35e58d,_0x4513ec){return _0x3342ed(_0x63800a-_0x1ca09a._0x16d5a6,_0xdb1d97,_0x35e58d-_0x1ca09a._0x4c984e,_0x4513ec-0xa9);}function _0x102e9d(_0x21d53a,_0x15829d,_0x4a647f,_0x4dc283){return _0x257320(_0x21d53a-_0xacd1da._0x2bb9cc,_0x15829d-_0xacd1da._0xfde031,_0x15829d-_0xacd1da._0x539b6f,_0x21d53a);}const _0x3d9438=(_0x5cc335['allowedDirs']??[])['map'](_0x355a28=>_0xdf96a5[_0x102e9d(0x516,0x3a4,0x386,0x2fb)](_0x355a28)),_0x40ee07=_0x5cc335[_0x102e9d(_0x95363f._0x190bcf,_0x95363f._0x2e6933,0x251,0x215)]??0x64,_0x10715c=_0x5cc335['name']??_0x102e9d(_0x95363f._0x517307,0x51f,_0x95363f._0x89ce39,0x523);return defineTool({'name':_0x10715c,'description':_0xf57930(0x669,_0x95363f._0x4b46d5,_0x95363f._0x12e992,_0x95363f._0x4120ab),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0xf57930(_0x95363f._0xc55cb9,_0x95363f._0x53b738,0x737,_0x95363f._0x524d0f)},'path':{'type':_0x102e9d(0x670,_0x95363f._0xc26df3,_0x95363f._0x34b4fa,0x4dc)},'limit':{'type':'number'}},'required':[_0xf57930(0x588,_0x95363f._0x35fa2f,0x5e5,_0x95363f._0x4aa6ab)]},async *'execute'(_0x4d2dbc){const _0x1778f7={_0x491295:0x1f7};if(_0x4d2dbc['pattern'][_0x31e4a1(0x4db,0x3c3,_0x23a9de._0x335092,0x501)]()[_0x4814a6(_0x23a9de._0x3f0ecd,0x441,0x4d7,_0x23a9de._0x18b02a)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x11b372=resolveAllowedPath(_0x2a954e,_0x3d9438,_0x4d2dbc['path']??'.'),_0x51cd2d=await _0x1c2177(_0x11b372)[_0x4814a6(_0x23a9de._0x39de89,_0x23a9de._0x2a198e,_0x23a9de._0x38a03d,0x41f)](()=>null);if(!_0x51cd2d?.[_0x4814a6(_0x23a9de._0x1e641c,_0x23a9de._0x217b38,0x48f,_0x23a9de._0x2344bc)]())throw new ToolExecutionError(_0x4814a6(_0x23a9de._0xf7ceea,_0x23a9de._0x4461dc,_0x23a9de._0x270972,0x3bc)+(_0x4d2dbc[_0x4814a6(0x37e,_0x23a9de._0x587f64,_0x23a9de._0x3b14c9,0x441)]??'.'),{'path':_0x4d2dbc[_0x31e4a1(0x5b1,0x747,_0x23a9de._0xc72b88,0x663)]??'.'});const _0xe3afd0=_0x4d2dbc[_0x31e4a1(_0x23a9de._0x25c73a,_0x23a9de._0x132d8f,_0x23a9de._0x563c43,0x4fc)]??_0x40ee07,_0x279180=Math[_0x31e4a1(0x3b6,0x3b3,_0x23a9de._0xa0d114,0x522)](0x1,Math['trunc'](_0xe3afd0)),_0x50c7fb=[];let _0x591afb=![];for await(const _0x2db1a7 of files({'cwd':_0x11b372,'glob':[_0x4d2dbc[_0x4814a6(0x31f,_0x23a9de._0x13e9a1,_0x23a9de._0x90ff4a,0x2aa)]]})){if(_0x50c7fb['length']>=_0x279180){_0x591afb=!![];break;}const _0x39ba41=await _0x1c2177(_0xdf96a5[_0x4814a6(_0x23a9de._0x2a5e53,_0x23a9de._0x4da23a,_0x23a9de._0x2a5581,0x4e5)](_0x11b372,_0x2db1a7))[_0x4814a6(0x487,0x582,0x5c7,_0x23a9de._0x1a6ac2)](()=>null);_0x50c7fb[_0x31e4a1(0x4b0,_0x23a9de._0x5f2918,0x58a,_0x23a9de._0x4da38d)]({'path':_0x2db1a7,'mtime':_0x39ba41?.[_0x31e4a1(0x694,_0x23a9de._0x1a8d31,0x787,_0x23a9de._0x552cc7)]??0x0});}_0x50c7fb['sort']((_0x278a7b,_0x1aba7e)=>_0x1aba7e[_0x31e4a1(0x5be,0x78c,0x82f,0x731)]-_0x278a7b['mtime']);const _0x22eeb8=_0x50c7fb[_0x4814a6(0x276,0x282,0x3c5,0x174)](_0x2cc4ee=>_0x2cc4ee['path']),_0x48f70c=_0x22eeb8[_0x4814a6(0x47a,_0x23a9de._0x239a56,_0x23a9de._0x13388d,_0x23a9de._0x1ac342)]===0x0?_0x31e4a1(0x8c3,_0x23a9de._0x56f43e,0x817,_0x23a9de._0x50ee12)+_0x4d2dbc['pattern']:''+_0x22eeb8['join']('\x0a')+(_0x591afb?'\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)':'');function _0x31e4a1(_0x1a1277,_0x5eaa27,_0x536f79,_0x6791a8){return _0x102e9d(_0x536f79,_0x6791a8-_0x1778f7._0x491295,_0x536f79-0xc9,_0x6791a8-0x15f);}yield createToolOutput(_0x48f70c,{'pattern':_0x4d2dbc[_0x4814a6(_0x23a9de._0x5a24d4,_0x23a9de._0x51d94e,_0x23a9de._0x18c9df,0x42d)],'searchPath':_0xdf96a5[_0x4814a6(0x239,0x159,0x134,_0x23a9de._0x359599)](_0x2a954e,_0x11b372)||'.','matches':_0x22eeb8,'count':_0x22eeb8['length'],'truncated':_0x591afb});function _0x4814a6(_0x2bb247,_0x12d21d,_0xdbed1,_0x264418){return _0xf57930(_0x2bb247-_0x1fdef1._0x163d1c,_0x264418,_0x2bb247- -_0x1fdef1._0x3036be,_0x264418-_0x1fdef1._0x5a8036);}return void 0x0;}});}import{stat as _0x5d84c1}from'fs/promises';function _0x1df5(_0x5acbc8,_0x56fe4c){_0x5acbc8=_0x5acbc8-0x150;const _0x2ed325=_0x2ed3();let _0x1df5c2=_0x2ed325[_0x5acbc8];if(_0x1df5['IsZWuU']===undefined){var _0x13f255=function(_0x354724){const _0x47c954='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x27768c='',_0x115e81='';for(let _0x54360a=0x0,_0x140bbb,_0x50ee3c,_0x141f16=0x0;_0x50ee3c=_0x354724['charAt'](_0x141f16++);~_0x50ee3c&&(_0x140bbb=_0x54360a%0x4?_0x140bbb*0x40+_0x50ee3c:_0x50ee3c,_0x54360a++%0x4)?_0x27768c+=String['fromCharCode'](0xff&_0x140bbb>>(-0x2*_0x54360a&0x6)):0x0){_0x50ee3c=_0x47c954['indexOf'](_0x50ee3c);}for(let _0xd6a36b=0x0,_0x2eef70=_0x27768c['length'];_0xd6a36b<_0x2eef70;_0xd6a36b++){_0x115e81+='%'+('00'+_0x27768c['charCodeAt'](_0xd6a36b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x115e81);};_0x1df5['RDKcHh']=_0x13f255,_0x1df5['DayjMX']={},_0x1df5['IsZWuU']=!![];}const _0xe088cc=_0x2ed325[0x0],_0x3df834=_0x5acbc8+_0xe088cc,_0x514857=_0x1df5['DayjMX'][_0x3df834];return!_0x514857?(_0x1df5c2=_0x1df5['RDKcHh'](_0x1df5c2),_0x1df5['DayjMX'][_0x3df834]=_0x1df5c2):_0x1df5c2=_0x514857,_0x1df5c2;}import*as _0x549bc6 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x3a248a={}){const _0x1e85d0={_0x3c2044:0x2d3,_0x1bc3c3:0x340,_0x5dc76d:0x16a,_0x59b3bf:0x2f,_0x36f0ce:0xcd,_0x1c9876:0xd4,_0x57aa33:0x137,_0xa6baec:0x25d,_0x3935c6:0x1ca,_0x52a449:0x1d6,_0x1fb6d1:0x326,_0x17f028:0x38d,_0x91ea3e:0x2a6,_0x5b4b15:0x88,_0xe21231:0x1e8,_0xf1de63:0xdf,_0x496402:0x101,_0x5762be:0xf3,_0x1f6527:0xb6,_0x3004bf:0x265,_0x5f579a:0x334,_0xda21d8:0x2c4,_0xd96816:0x1fc,_0x55da4c:0x329,_0x48bb50:0x27c,_0x5ed655:0x48c},_0x1d8781={_0x1ce5b0:0x132,_0x114303:0x17f,_0x2174ba:0x56d,_0x4fe5ae:0x4b9,_0x3af5c3:0x4d3,_0x40b9bb:0x348,_0x197d88:0x135,_0x4a4107:0x6b,_0x190daf:0x192,_0x9ed967:0x84,_0x4cfbf4:0x18c,_0x5e14cb:0x14a,_0x1bef1e:0x95,_0x5671bf:0x1d4,_0x491585:0x7d,_0x5a9459:0x58c,_0x57d149:0x75c,_0x52856a:0x4a6,_0x297134:0xee,_0x458e39:0x4da,_0x250507:0x5ed,_0x22f56c:0xc1,_0x4b34ca:0x1c1,_0x4ca5e0:0x4c5,_0x3d4ee6:0x6aa,_0x2aca75:0x770,_0x3403c1:0x6fa,_0x24a3e3:0x6f8,_0x197913:0x818,_0x303a59:0x63a,_0x489aa4:0x708,_0x23cab4:0x5ad,_0x5c9e20:0xad,_0x1daf8f:0x1e8,_0x1736b4:0x3c,_0x24f942:0x90,_0x48122d:0x876,_0x3fbe64:0x554,_0x40af74:0xc3,_0x286480:0x13,_0x28af2e:0x6eb,_0x51caab:0x615,_0x29572e:0x5fb,_0x25da8c:0x595,_0x290f01:0x5a5,_0x73b1c5:0x561,_0xc41d65:0x135,_0x263a8f:0x277,_0x202528:0x2c,_0x453d31:0x23,_0x29671d:0x732,_0x503901:0x5b5,_0x78aef9:0x5f6,_0x2a9fa3:0x4d6,_0x2b9cf1:0x6e6,_0x3f9811:0x597,_0x56ea3f:0x73f,_0x5066c4:0x707,_0x2fa59e:0x5b6,_0x42143e:0x5f5,_0x6db10c:0xf8,_0x265d51:0x9f,_0x169f99:0x596,_0x3b2bf2:0x46a,_0x2a79a4:0x13f,_0x1eecd5:0x2e,_0x36b0ff:0x7a,_0x230a6f:0x26,_0x3f5f44:0xcc,_0x53a16d:0x113,_0x3034b9:0xec,_0x348e90:0x5a4,_0x5c7e88:0x118,_0x12145c:0x1a8,_0x325cf5:0x66,_0x7d752d:0x83c,_0x32c304:0x580,_0x5e0147:0x4b9,_0xda339b:0x545,_0x868ea1:0x62a},_0x16ce41={_0x41b35e:0x280,_0x597d0a:0x174},_0x469670={_0x257295:0x44c,_0x1f0f90:0x19a},_0x57e30f={_0x134fbb:0x114};function _0x33c059(_0x4d7530,_0x457674,_0x583bee,_0x1f5376){return _0x3342ed(_0x4d7530-_0x57e30f._0x134fbb,_0x4d7530,_0x457674-0x2,_0x1f5376-0xe5);}const _0x264915=_0x549bc6[_0x33c059(0x25f,_0x1e85d0._0x3c2044,_0x1e85d0._0x1bc3c3,0x2da)](_0x3a248a[_0xdecf56(-_0x1e85d0._0x5dc76d,_0x1e85d0._0x59b3bf,-_0x1e85d0._0x36f0ce,-_0x1e85d0._0x1c9876)]??process['cwd']());function _0xdecf56(_0x4dd83c,_0x29439a,_0x3e7bd0,_0x24afb5){return _0x3342ed(_0x4dd83c-0xe2,_0x29439a,_0x3e7bd0- -_0x469670._0x257295,_0x24afb5-_0x469670._0x1f0f90);}const _0xd75250=(_0x3a248a[_0x33c059(_0x1e85d0._0x57aa33,_0x1e85d0._0xa6baec,0x164,0x326)]??[])['map'](_0x399d8d=>_0x549bc6[_0xdecf56(-0x206,-0x2a7,-0x17b,-0x286)](_0x399d8d)),_0x3f78b7=_0x3a248a['limit']??0x64,_0x28a511=_0x3a248a[_0x33c059(_0x1e85d0._0x3935c6,0x2a2,_0x1e85d0._0x52a449,0x337)]??_0xdecf56(-_0x1e85d0._0x1fb6d1,-_0x1e85d0._0x17f028,-0x222,-0x2f4);return defineTool({'name':_0x28a511,'description':_0x33c059(_0x1e85d0._0x91ea3e,0x2a8,0x25b,_0x1e85d0._0x52a449),'inputSchema':{'type':_0xdecf56(-0x33f,-_0x1e85d0._0x5b4b15,-_0x1e85d0._0xe21231,-_0x1e85d0._0xf1de63),'properties':{'pattern':{'type':_0xdecf56(0x14e,0x1a6,0x40,_0x1e85d0._0x496402)},'path':{'type':_0xdecf56(-_0x1e85d0._0x5762be,0x197,0x40,_0x1e85d0._0x1f6527)},'include':{'type':'string'},'limit':{'type':_0x33c059(_0x1e85d0._0x3004bf,_0x1e85d0._0x5f579a,_0x1e85d0._0xda21d8,0x275)},'context':{'type':_0x33c059(_0x1e85d0._0xd96816,0x334,_0x1e85d0._0x55da4c,0x40d)}},'required':[_0x33c059(_0x1e85d0._0x48bb50,0x33c,_0x1e85d0._0x5ed655,0x25f)]},async *'execute'(_0x5932f8){const _0x4ff79e={_0x18be89:0x12a,_0x1e8c4c:0xec};if(_0x5932f8[_0x310721(-0x26,_0x1d8781._0x1ce5b0,-0x72,-_0x1d8781._0x114303)][_0x4c1007(_0x1d8781._0x2174ba,_0x1d8781._0x4fe5ae,_0x1d8781._0x3af5c3,_0x1d8781._0x40b9bb)]()[_0x310721(_0x1d8781._0x197d88,0x174,_0x1d8781._0x4a4107,_0x1d8781._0x190daf)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x5e86dd=resolveAllowedPath(_0x264915,_0xd75250,_0x5932f8['path']??'.');function _0x4c1007(_0x13e410,_0x4e1135,_0x86ce9f,_0x1e423d){return _0x33c059(_0x13e410,_0x4e1135-_0x16ce41._0x41b35e,_0x86ce9f-0x16d,_0x1e423d-_0x16ce41._0x597d0a);}const _0x4a5a9b=await _0x5d84c1(_0x5e86dd)[_0x4c1007(0x5b2,0x724,0x84d,0x886)](()=>null),_0x1e6907=_0x4a5a9b?.['isFile']()??![],_0x43526f=_0x4a5a9b?.[_0x310721(_0x1d8781._0x9ed967,0x190,_0x1d8781._0x4cfbf4,_0x1d8781._0x5e14cb)]()??![];if(!_0x1e6907&&!_0x43526f)throw new ToolExecutionError(_0x310721(-_0x1d8781._0x1bef1e,0x20,-_0x1d8781._0x5671bf,-_0x1d8781._0x491585)+(_0x5932f8[_0x4c1007(_0x1d8781._0x5a9459,0x61b,0x740,_0x1d8781._0x57d149)]??'.'),{'path':_0x5932f8[_0x4c1007(_0x1d8781._0x52856a,0x61b,0x76c,0x673)]??'.'});const _0x5d6279=_0x5932f8[_0x310721(-0x12e,-0x20e,-_0x1d8781._0x297134,-0x1a8)]??_0x3f78b7,_0x36c294=Math[_0x4c1007(0x53b,_0x1d8781._0x458e39,_0x1d8781._0x250507,0x4a2)](0x1,Math[_0x310721(-_0x1d8781._0x22f56c,-0xf,-0x210,-_0x1d8781._0x4b34ca)](_0x5d6279)),_0x566631=await search({'cwd':_0x43526f?_0x5e86dd:_0x549bc6['dirname'](_0x5e86dd),'pattern':_0x5932f8[_0x4c1007(0x5f8,0x5bc,_0x1d8781._0x4ca5e0,0x58c)],'glob':_0x43526f?_0x5932f8[_0x4c1007(0x74d,0x6fa,_0x1d8781._0x3d4ee6,_0x1d8781._0x2aca75)]:void 0x0,'limit':_0x36c294,'file':_0x1e6907?_0x5e86dd:void 0x0,'context':_0x5932f8[_0x4c1007(_0x1d8781._0x3403c1,_0x1d8781._0x24a3e3,_0x1d8781._0x197913,_0x1d8781._0x303a59)]}),_0x8b85bc=new Map();for(const _0x4de930 of _0x566631){if(!_0x8b85bc[_0x4c1007(0x6b3,0x5e8,_0x1d8781._0x489aa4,_0x1d8781._0x23cab4)](_0x4de930[_0x310721(0xad,0x52,-0x33,-0x8d)])){const _0x1e8304=await _0x5d84c1(_0x4de930[_0x310721(_0x1d8781._0x5c9e20,_0x1d8781._0x1daf8f,_0x1d8781._0x1736b4,-_0x1d8781._0x24f942)])[_0x4c1007(0x5c6,0x724,0x802,_0x1d8781._0x48122d)](()=>null);_0x8b85bc[_0x4c1007(0x4f6,0x4a3,0x530,_0x1d8781._0x3fbe64)](_0x4de930[_0x310721(0xad,_0x1d8781._0x40af74,_0x1d8781._0x286480,0x2)],{'matches':[],'mtime':_0x1e8304?.[_0x4c1007(0x5b1,_0x1d8781._0x28af2e,_0x1d8781._0x51caab,0x7f9)]??0x0});}_0x8b85bc['get'](_0x4de930['filePath'])?.[_0x4c1007(_0x1d8781._0x29572e,0x555,_0x1d8781._0x25da8c,_0x1d8781._0x290f01)][_0x4c1007(0x575,0x561,0x4ca,_0x1d8781._0x73b1c5)](_0x4de930);}const _0x25fd1d=[..._0x8b85bc[_0x4c1007(0x629,0x5d8,0x60f,0x47e)]()][_0x310721(0x10,0x129,-0x15,-0x15d)]((_0x2343c4,_0x1d01fd)=>_0x1d01fd[0x1]['mtime']-_0x2343c4[0x1]['mtime']),_0x194232=_0x566631[_0x4c1007(0x446,0x565,0x634,0x62f)](_0x45a682=>!_0x45a682[_0x310721(-0x61,0x73,-0x15a,-0x2c)])[_0x310721(_0x1d8781._0x197d88,-0x2f,0x142,0x16b)],_0x1d95fa=_0x566631['length']>=_0x36c294,_0x820175=_0x1e6907?_0x549bc6['dirname'](_0x5e86dd):_0x5e86dd;let _0xde4079='';if(_0x566631[_0x310721(_0x1d8781._0xc41d65,0xef,_0x1d8781._0x263a8f,-_0x1d8781._0x202528)]===0x0)_0xde4079=_0x310721(0x149,-0x1d,-_0x1d8781._0x453d31,0x10c)+_0x5932f8[_0x4c1007(0x5ec,0x5bc,0x59c,0x6af)];else{_0xde4079=_0x4c1007(0x843,0x774,0x760,0x6da)+_0x194232+'\x20match'+(_0x194232===0x1?'':'es')+'\x0a';for(const [_0x574283,_0x4a71fd]of _0x25fd1d){const _0x202c63=_0x1e6907?_0x549bc6[_0x4c1007(_0x1d8781._0x29671d,0x646,_0x1d8781._0x503901,_0x1d8781._0x78aef9)](_0x574283):_0x549bc6[_0x4c1007(0x539,_0x1d8781._0x2a9fa3,0x4ae,0x4ac)](_0x820175,_0x574283);_0xde4079+='\x0a'+_0x202c63+':\x0a';for(const _0x46f388 of _0x4a71fd['matches']){const _0x5278e5=_0x46f388[_0x4c1007(0x588,0x6da,0x5bd,_0x1d8781._0x2b9cf1)]['length']>MAX_LINE_LENGTH?_0x46f388['lineText'][_0x4c1007(_0x1d8781._0x3f9811,0x70a,_0x1d8781._0x56ea3f,0x60e)](0x0,MAX_LINE_LENGTH)+_0x4c1007(0x6c0,_0x1d8781._0x5066c4,_0x1d8781._0x2fa59e,_0x1d8781._0x42143e):_0x46f388[_0x310721(_0x1d8781._0x6db10c,_0x1d8781._0x265d51,-0x7a,0x1d7)],_0x1f8d63=_0x46f388[_0x4c1007(_0x1d8781._0x169f99,0x581,0x6a4,_0x1d8781._0x3b2bf2)]?'\x20\x20':'>\x20';_0xde4079+=_0x1f8d63+'Line\x20'+_0x46f388[_0x310721(_0x1d8781._0x297134,0x156,_0x1d8781._0x2a79a4,-0x44)]+':\x20'+_0x5278e5+'\x0a';}}_0x1d95fa&&(_0xde4079+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');}function _0x310721(_0x80b225,_0x27dee1,_0x34649f,_0x3034d7){return _0xdecf56(_0x80b225-_0x4ff79e._0x18be89,_0x34649f,_0x80b225-_0x4ff79e._0x1e8c4c,_0x3034d7-0x155);}const _0x5a194d={'searchPath':_0x549bc6[_0x310721(-0x10c,0x5f,-_0x1d8781._0x1eecd5,-_0x1d8781._0x36b0ff)](_0x264915,_0x5e86dd)||'.','pattern':_0x5932f8[_0x310721(-_0x1d8781._0x230a6f,0x64,0xf0,_0x1d8781._0x3f5f44)],'matchCount':_0x194232,'fileCount':_0x8b85bc[_0x310721(_0x1d8781._0x53a16d,0x144,-0x37,_0x1d8781._0x3034b9)],'truncated':_0x1d95fa};return _0x43526f&&_0x5932f8[_0x4c1007(_0x1d8781._0x348e90,0x6fa,0x6e4,_0x1d8781._0x489aa4)]!==void 0x0&&(_0x5a194d[_0x310721(_0x1d8781._0x5c7e88,_0x1d8781._0x12145c,0xa9,_0x1d8781._0x325cf5)]=_0x5932f8[_0x4c1007(0x84d,0x6fa,_0x1d8781._0x7d752d,0x5d9)]),yield createToolOutput(_0xde4079[_0x4c1007(_0x1d8781._0x32c304,_0x1d8781._0x5e0147,_0x1d8781._0xda339b,_0x1d8781._0x868ea1)](),_0x5a194d),void 0x0;}});}function createKillShellTool(_0x32ce75){const _0x408e8e={_0x536165:0x123,_0x353441:0x2cb,_0x52bbc5:0xf5,_0x4f9998:0x33e,_0x1ec4fa:0x27d,_0x553f32:0x275,_0x3833d7:0xfb,_0x4ec18f:0x35a,_0x55cf0a:0x1b,_0x5333f2:0x23},_0x193e73={_0x45192c:0x59f,_0x17c616:0x65c,_0x4e443b:0x8b9,_0x21c7fb:0x7fc,_0x1db145:0x6db,_0x4f3b7c:0x7bf,_0x4977a1:0x71d,_0x6e58a7:0x273,_0x27231d:0x1c5,_0x16fc1d:0x6b6,_0x439f26:0x6da,_0x4b1668:0x847,_0x1839a4:0x166,_0x4de054:0x25,_0x4b59de:0x24c,_0x38faf0:0x31e,_0x217651:0x6c0,_0x38eca9:0x7f7,_0x4113bb:0x5b3},_0x2daa92={_0x5be013:0x4a8,_0x2cf17:0x2c},_0x43ac46={_0x115260:0xf2},{registry:_0x57f925}=_0x32ce75;function _0x382bd0(_0x33d3de,_0x756f25,_0x3723e5,_0x52fbbe){return _0x257320(_0x33d3de-0x1dc,_0x756f25-0x138,_0x3723e5- -_0x43ac46._0x115260,_0x33d3de);}function _0x5ef644(_0x4e9e71,_0x280ac4,_0x233e1e,_0x4725bc){return _0x3342ed(_0x4e9e71-0xc0,_0x4e9e71,_0x233e1e- -_0x2daa92._0x5be013,_0x4725bc-_0x2daa92._0x2cf17);}return defineTool({'name':_0x5ef644(-_0x408e8e._0x536165,-_0x408e8e._0x353441,-0x25c,-_0x408e8e._0x52bbc5),'description':_0x382bd0(_0x408e8e._0x4f9998,_0x408e8e._0x1ec4fa,_0x408e8e._0x553f32,0x323),'inputSchema':{'type':_0x382bd0(0x204,_0x408e8e._0x3833d7,0x1fe,_0x408e8e._0x4ec18f),'properties':{'shellId':{'type':'string'}},'required':[_0x5ef644(_0x408e8e._0x55cf0a,-0x64,_0x408e8e._0x5333f2,0x85)]},async *'execute'(_0x391c74){const _0x19b150={_0x5061c8:0x7bd,_0x42efb2:0x143},_0x47e2c8={_0x540a9f:0x30a};function _0x1adb27(_0x1585ba,_0x468fb0,_0x52e7b7,_0xc96e0d){return _0x5ef644(_0x1585ba,_0x468fb0-0x46,_0x468fb0-_0x47e2c8._0x540a9f,_0xc96e0d-0x13e);}function _0x50e65a(_0xa2aa83,_0x4c0212,_0x53b257,_0x2bcec8){return _0x5ef644(_0x53b257,_0x4c0212-0x129,_0x4c0212-_0x19b150._0x5061c8,_0x2bcec8-_0x19b150._0x42efb2);}const _0xfb7121=_0x57f925[_0x50e65a(0x6e2,_0x193e73._0x45192c,_0x193e73._0x17c616,0x692)](_0x391c74[_0x50e65a(_0x193e73._0x4e443b,0x7e0,_0x193e73._0x21c7fb,_0x193e73._0x1db145)]);return createToolOutput(_0x50e65a(_0x193e73._0x4f3b7c,_0x193e73._0x4977a1,0x654,0x80d)+_0x391c74[_0x1adb27(_0x193e73._0x6e58a7,0x32d,0x2f7,_0x193e73._0x27231d)]+_0x50e65a(_0x193e73._0x16fc1d,_0x193e73._0x439f26,0x7b2,_0x193e73._0x4b1668)+_0xfb7121[_0x1adb27(0x6b,_0x193e73._0x1839a4,_0x193e73._0x4de054,0xdf)]+').',{'shellId':_0x391c74['shellId'],'status':_0xfb7121[_0x1adb27(0x1a7,0x166,0x16e,0xea)],'exitCode':_0xfb7121[_0x1adb27(0x36b,_0x193e73._0x4b59de,_0x193e73._0x38faf0,0x281)],'signal':_0xfb7121[_0x50e65a(0x7a0,_0x193e73._0x217651,_0x193e73._0x38eca9,_0x193e73._0x4113bb)]});}});}import{readdir as _0x541d19,readFile as _0x2e7044,stat as _0x3b5142}from'fs/promises';import*as _0x42b099 from'path';import*as _0x237b9f from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x3de631,_0x141e8a){const _0x4a6fa5={_0x4e6b6b:0x212,_0x522c66:0x24,_0x2b4401:0x180,_0x525f69:0x28f,_0x24b316:0xa0,_0x31f3a5:0x41,_0x266d5d:0x2df,_0x5ca0ba:0x1a3,_0x20b7d4:0x17c,_0xde7f30:0x24c,_0x3b38e0:0x184},_0x5d5c5c={_0x383ba4:0x8d},_0x24263c={_0x5e9ef4:0x109,_0x59d1ca:0x198};function _0x3828f3(_0x124633,_0x57ce11,_0x2584f9,_0x141a8c){return _0x3342ed(_0x124633-_0x24263c._0x5e9ef4,_0x2584f9,_0x57ce11- -0x272,_0x141a8c-_0x24263c._0x59d1ca);}function _0x8e99cd(_0x25d04e,_0x353fbc,_0xf3d3b1,_0x2655fa){return _0x257320(_0x25d04e-_0x5d5c5c._0x383ba4,_0x353fbc-0x67,_0xf3d3b1- -0x3ae,_0x2655fa);}if(_0x141e8a>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x5772fb=await _0x2e7044(_0x3de631)[_0x8e99cd(_0x4a6fa5._0x4e6b6b,_0x4a6fa5._0x522c66,_0x4a6fa5._0x2b4401,_0x4a6fa5._0x525f69)](()=>null);if(!_0x5772fb||isProbablyBinary(_0x5772fb))return void 0x0;return _0x5772fb[_0x8e99cd(-_0x4a6fa5._0x24b316,-0x3c,-_0x4a6fa5._0x31f3a5,-0x59)](_0x3828f3(_0x4a6fa5._0x266d5d,0x246,_0x4a6fa5._0x5ca0ba,0x302))[_0x3828f3(0x2df,0x26b,0x12e,_0x4a6fa5._0x20b7d4)](/\r?\n/)[_0x8e99cd(_0x4a6fa5._0xde7f30,0x218,0x173,_0x4a6fa5._0x3b38e0)];}function createLsTool(_0x17ddf6={}){const _0x2bbc79={_0x5d9d39:0x2a1,_0x29aa6a:0x1a2,_0x5d9601:0x42,_0x2f6613:0x4b,_0x555c12:0x113,_0x182a9e:0x11a,_0x142f85:0x11f,_0x54acb2:0xe2,_0x1b068e:0x1af,_0x1bd919:0x2e0,_0x2f5546:0x1e2,_0x438d84:0x25e,_0xbc9d14:0x63,_0x20807d:0x123,_0x444d62:0x193,_0x180a1b:0x141,_0x30dfbe:0x94},_0x42f96d={_0x4f6f56:0x284,_0x5e59a0:0x1df,_0xabff8c:0x91,_0xafd864:0x1fb,_0x3a2265:0x345,_0x50e3ff:0x335,_0x21a519:0x1fd,_0xcb6ffd:0x53,_0x249264:0x17,_0x72b3a9:0x231,_0x5e3af1:0x2bd,_0xb9b983:0x173,_0x59f017:0x16d,_0x27fb93:0x27c,_0x57f8a8:0x12,_0xf88c88:0x28,_0x1cc50f:0x49a,_0x18bbca:0x3e9,_0x5b561a:0x401,_0x46bbb6:0x27e,_0x4f2a7d:0x3d7,_0x5dee0d:0x306,_0x18ed8d:0x446,_0x44ab65:0x26e,_0x4cb7cc:0x2ec,_0x4fbcfd:0x5d,_0x10c7a0:0x12f,_0x11dd6b:0x271,_0x2a8a93:0x3a2,_0x5bceb0:0x422,_0x55537a:0x398,_0x6e0661:0x24c,_0x2c4a42:0x25e,_0x1a5189:0x126},_0x1b32f7={_0x1bb41e:0x3d2,_0x57b683:0x5e},_0x23e139={_0x4ddca2:0x26e,_0x4e42d8:0xd9},_0x2149dc={_0xadaa33:0x1db},_0xa965b={_0x58ec64:0x4ff},_0x362889=_0x42b099[_0x2bf421(-_0x2bbc79._0x5d9d39,-_0x2bbc79._0x29aa6a,-0x293,-0x51)](_0x17ddf6[_0x1c26a5(-0xf8,_0x2bbc79._0x5d9601,_0x2bbc79._0x2f6613,-_0x2bbc79._0x555c12)]??process[_0x2bf421(-0x16f,-_0x2bbc79._0x182a9e,-0x16b,-_0x2bbc79._0x142f85)]()),_0x3fe6c3=(_0x17ddf6[_0x1c26a5(-0x1d9,-_0x2bbc79._0x54acb2,-_0x2bbc79._0x1b068e,-0x175)]??[])[_0x2bf421(-_0x2bbc79._0x1bd919,-_0x2bbc79._0x2f5546,-_0x2bbc79._0x438d84,-0x1a8)](_0x2fb4b9=>_0x42b099[_0x1c26a5(-0x2e,-0x6c,-0xea,0x36)](_0x2fb4b9));function _0x2bf421(_0x5a0bd5,_0x24dc1e,_0x138b2f,_0x509e53){return _0x257320(_0x5a0bd5-0x30,_0x24dc1e-0x92,_0x24dc1e- -_0xa965b._0x58ec64,_0x5a0bd5);}function _0x1c26a5(_0x2934d9,_0x1f5a0f,_0x4ddc8a,_0x23d3b6){return _0x257320(_0x2934d9-0x136,_0x1f5a0f-_0x2149dc._0xadaa33,_0x1f5a0f- -0x3c9,_0x23d3b6);}const _0x118713=_0x17ddf6['name']??'Ls';return defineTool({'name':_0x118713,'description':_0x1c26a5(-_0x2bbc79._0xbc9d14,-0xd4,-0x15e,-_0x2bbc79._0x20807d),'inputSchema':{'type':'object','properties':{'path':{'type':'string'},'limit':{'type':_0x2bf421(-_0x2bbc79._0x444d62,-_0x2bbc79._0x180a1b,-_0x2bbc79._0x30dfbe,-0x244)}}},async *'execute'(_0x3a1767){function _0x2f8043(_0x2dc55d,_0x3f4038,_0x1fde31,_0x5c682d){return _0x2bf421(_0x1fde31,_0x2dc55d-_0x23e139._0x4ddca2,_0x1fde31-_0x23e139._0x4e42d8,_0x5c682d-0x172);}const _0x2f6882=_0x3a1767[_0x273e04(0x2f8,0x441,_0x42f96d._0x4f6f56,0x40b)]??'.',_0xfb28=resolveAllowedPath(_0x362889,_0x3fe6c3,_0x2f6882),_0x3f22ae=await _0x3b5142(_0xfb28)['catch'](()=>null);if(!_0x3f22ae?.[_0x2f8043(_0x42f96d._0x5e59a0,_0x42f96d._0xabff8c,0x2ea,0x127)]())throw new ToolExecutionError(_0x2f8043(_0x42f96d._0xafd864,0x10b,_0x42f96d._0x3a2265,0x30f)+_0x2f6882,{'path':_0x2f6882});const _0x4745da=_0x3a1767['limit']??0x3e8,_0x3bc6e6=Math[_0x273e04(0x339,_0x42f96d._0x50e3ff,0x3d4,_0x42f96d._0x21a519)](Math[_0x2f8043(_0x42f96d._0xcb6ffd,0x17d,-_0x42f96d._0x249264,-0xcf)](Math['trunc'](_0x4745da),0x1),0x2710),_0x3c1a30=await _0x541d19(_0xfb28),_0x421c1d=[];for(const _0x238cea of _0x3c1a30['slice'](0x0,_0x3bc6e6)){const _0x26fb65=_0x42b099[_0x2f8043(_0x42f96d._0x72b3a9,_0x42f96d._0x5e3af1,_0x42f96d._0xb9b983,0x2b5)](_0xfb28,_0x238cea),_0x9d30dd=await _0x3b5142(_0x26fb65)['catch'](()=>null);if(!_0x9d30dd)continue;let _0x42ed0a=_0x2f8043(0x21c,_0x42f96d._0x59f017,_0x42f96d._0x27fb93,0x121);if(_0x9d30dd['isFile']())_0x42ed0a=_0x2f8043(_0x42f96d._0x57f8a8,0x16f,_0x42f96d._0xf88c88,0x18);else{if(_0x9d30dd[_0x273e04(0x343,0x37d,0x3db,_0x42f96d._0x1cc50f)]())_0x42ed0a='directory';else{if(_0x9d30dd['isSymbolicLink']())_0x42ed0a=_0x2f8043(0x28c,_0x42f96d._0x18bbca,_0x42f96d._0x5b561a,0x2d6);}}const _0x3db875={'name':_0x238cea,'type':_0x42ed0a,'size':_0x9d30dd[_0x273e04(0x3d2,_0x42f96d._0x46bbb6,0x280,_0x42f96d._0x4f2a7d)],'mtime':_0x9d30dd[_0x273e04(0x3c8,_0x42f96d._0x5dee0d,_0x42f96d._0x18ed8d,0x2dc)],'mode':_0x9d30dd['mode']},_0x2a3ceb=_0x42ed0a==='file'?await countTextLines(_0x26fb65,_0x9d30dd[_0x2f8043(_0x42f96d._0x44ab65,0x3d1,_0x42f96d._0x4cb7cc,0x1ca)]):void 0x0;if(_0x2a3ceb!==void 0x0)_0x3db875['lines']=_0x2a3ceb;_0x421c1d[_0x2f8043(0xda,_0x42f96d._0x4fbcfd,_0x42f96d._0x10c7a0,-0x2e)](_0x3db875);}function _0x273e04(_0x4b04b8,_0x477b68,_0x451c41,_0x48e63e){return _0x2bf421(_0x451c41,_0x4b04b8-_0x1b32f7._0x1bb41e,_0x451c41-_0x1b32f7._0x57b683,_0x48e63e-0x124);}_0x421c1d[_0x2f8043(0x16b,0x22d,0x213,_0x42f96d._0x11dd6b)]((_0x27d509,_0x236ebd)=>_0x27d509[_0x2f8043(0x9b,0xf4,0x169,-0x8d)][_0x273e04(0x3a8,0x51f,0x263,0x336)](_0x236ebd[_0x273e04(0x1ff,0x1e1,0x174,0x226)]));const _0x2a05d3={'path':_0x2f6882,'total':_0x421c1d['length'],'truncated':_0x3c1a30[_0x273e04(0x3f4,0x547,_0x42f96d._0x2a8a93,_0x42f96d._0x5bceb0)]>_0x3bc6e6,'entries':_0x421c1d};return yield createToolOutput(_0x237b9f[_0x273e04(0x2d2,0x160,0x432,_0x42f96d._0x55537a)](_0x2a05d3,{'indent':0x2,'lineWidth':0x0})[_0x2f8043(_0x42f96d._0x6e0661,_0x42f96d._0x2c4a42,0x389,_0x42f96d._0x1a5189)](),{'path':_0x2f6882,'total':_0x421c1d['length'],'truncated':_0x3c1a30['length']>_0x3bc6e6,'limit':_0x3bc6e6,'entries':_0x421c1d}),void 0x0;}});}import{stat as _0x2d8392}from'fs/promises';import _0x49e6d7 from'path';import{fileURLToPath as _0x5a2085}from'url';function severityName(_0x343629){const _0x7a19cf={_0x4be0c5:0x295,_0x562307:0x159,_0x51f24c:0x1e,_0x25a3a3:0x29,_0x5f2084:0x37,_0x503582:0x10f,_0x20446c:0x244,_0x2dbd3c:0x2a0,_0xd97ea2:0x11c,_0x3975fe:0x133},_0x3aeca1={_0x1c5c8e:0x62,_0x6b781a:0x18a,_0x128635:0x48d};function _0xbe3fbf(_0x254378,_0x1c7493,_0x361da3,_0x1cd19b){return _0x257320(_0x254378-_0x3aeca1._0x1c5c8e,_0x1c7493-_0x3aeca1._0x6b781a,_0x361da3- -_0x3aeca1._0x128635,_0x1cd19b);}function _0x3582a2(_0x5b25af,_0x5ab132,_0xb97dfa,_0x528d45){return _0x257320(_0x5b25af-0x13d,_0x5ab132-0x1c2,_0x5b25af- -0x245,_0x528d45);}switch(_0x343629){case 0x1:return _0x3582a2(0x26e,_0x7a19cf._0x4be0c5,0x313,0x17e);case 0x2:return _0xbe3fbf(-_0x7a19cf._0x562307,0xa9,_0x7a19cf._0x51f24c,_0x7a19cf._0x25a3a3);case 0x3:return _0xbe3fbf(-_0x7a19cf._0x5f2084,0x1b,-_0x7a19cf._0x503582,-0x2a);case 0x4:return _0x3582a2(_0x7a19cf._0x20446c,_0x7a19cf._0x2dbd3c,_0x7a19cf._0xd97ea2,_0x7a19cf._0x3975fe);default:return'Diagnostic';}}function formatSingleHover(_0x1613ae){const _0x2df000={_0x109e7d:0x136,_0x645dc3:0x50,_0x135f08:0xc6,_0x4b5858:0x232,_0xd83255:0x276,_0x1496bd:0xe0,_0x1ba4ec:0x20b,_0x30fb8e:0x22e,_0xefe7d4:0xcc,_0x5bf806:0x13c,_0xbdd5ef:0xa6,_0x6f72d:0x85,_0x130276:0x125,_0x4e3477:0x287,_0xbd031b:0x11b,_0x297864:0x84,_0x244de7:0xe6,_0xd1ebfb:0x5b,_0x2c0060:0xb4,_0x53a4bc:0x8d,_0x5b622d:0x121,_0x2eeac6:0x265},_0x24c9d2={_0x5474d2:0x356,_0x13b22d:0x1c4},_0x5cc3da={_0x302b24:0x18a,_0x5a861a:0x79};function _0x20a9ba(_0x203bd8,_0x32fdd5,_0x91b2b7,_0x556108){return _0x257320(_0x203bd8-_0x5cc3da._0x302b24,_0x32fdd5-_0x5cc3da._0x5a861a,_0x32fdd5- -0xf9,_0x91b2b7);}const _0x463a3d=_0x1613ae['contents'];if(typeof _0x463a3d===_0x1b56f4(0x14f,_0x2df000._0x109e7d,0x21e,_0x2df000._0x645dc3))return _0x463a3d;if(Array[_0x1b56f4(-_0x2df000._0x135f08,-0x28,-0x5,0x45)](_0x463a3d))return _0x463a3d['map'](_0x49b71b=>typeof _0x49b71b===_0x20a9ba(0x43f,0x41f,0x57c,0x3cd)?_0x49b71b:_0x49b71b[_0x1b56f4(-0x4d,-0x84,-0x136,0x15)])[_0x20a9ba(_0x2df000._0x4b5858,_0x2df000._0xd83255,0x3dd,0x3ee)](Boolean)[_0x1b56f4(-0x52,_0x2df000._0x1496bd,_0x2df000._0x1ba4ec,_0x2df000._0x30fb8e)]('\x0a\x0a');function _0x1b56f4(_0x169cf1,_0x9e9ae1,_0x340312,_0x38b292){return _0x3342ed(_0x169cf1-0x12c,_0x340312,_0x9e9ae1- -_0x24c9d2._0x5474d2,_0x38b292-_0x24c9d2._0x13b22d);}if('kind'in _0x463a3d)return _0x463a3d[_0x1b56f4(-0x1cf,-0x84,_0x2df000._0xefe7d4,-_0x2df000._0x5bf806)];return _0x463a3d[_0x1b56f4(_0x2df000._0xbdd5ef,-0x6c,-0xb8,0x6f)]?_0x1b56f4(_0x2df000._0x6f72d,_0x2df000._0x130276,_0x2df000._0x4e3477,0xc2)+_0x463a3d[_0x1b56f4(0x13,-0x6c,-0x105,-_0x2df000._0xbd031b)]+'\x0a'+_0x463a3d[_0x1b56f4(-0x19c,-_0x2df000._0x297864,0x44,-_0x2df000._0x244de7)]+_0x1b56f4(-_0x2df000._0xd1ebfb,-_0x2df000._0x2c0060,-_0x2df000._0x53a4bc,-_0x2df000._0x5b622d):_0x463a3d[_0x20a9ba(0x209,_0x2df000._0x2eeac6,0x32a,0x186)];}function formatHover(_0x56992c){const _0x5bcffa={_0x1da837:0x42e,_0x5bba11:0x4d6,_0x534adb:0x420,_0x3e2c6c:0xe1,_0x17bca4:0x174,_0x138b57:0xfc,_0x2f108a:0x207,_0x55294e:0x25b,_0x3cd1e1:0x2c,_0x2c0323:0x88},_0x1d5572={_0x130818:0x112,_0x2bf795:0xbe},_0x12683e={_0x5a2474:0x1a7};function _0x505bfa(_0x2bc994,_0x19fc08,_0x279806,_0x2d1cba){return _0x257320(_0x2bc994-0xc9,_0x19fc08-0x44,_0x19fc08- -_0x12683e._0x5a2474,_0x279806);}function _0x4596d0(_0x707384,_0x5c7680,_0xb946ff,_0x2a7f47){return _0x3342ed(_0x707384-_0x1d5572._0x130818,_0xb946ff,_0x707384- -0x2c2,_0x2a7f47-_0x1d5572._0x2bf795);}if(_0x56992c[_0x505bfa(_0x5bcffa._0x1da837,0x37a,_0x5bcffa._0x5bba11,0x245)]===0x0)return _0x505bfa(_0x5bcffa._0x534adb,0x324,0x3e5,0x2f9);return _0x56992c[_0x4596d0(-0x31,0xe2,-_0x5bcffa._0x3e2c6c,-_0x5bcffa._0x3e2c6c)](formatSingleHover)[_0x4596d0(_0x5bcffa._0x17bca4,_0x5bcffa._0x138b57,_0x5bcffa._0x2f108a,_0x5bcffa._0x55294e)](_0x4596d0(0x9b,_0x5bcffa._0x3cd1e1,0x16c,-_0x5bcffa._0x2c0323));}function locationPath(_0x7f45d1){const _0x43365c={_0x3a16ac:0x138,_0x38eed7:0x30c,_0x5f40e0:0x1c3},_0x2d625e={_0x1929b0:0x174,_0x328984:0x29},_0x1f36a9={_0x1b046e:0x10d,_0x13fe5e:0x2b2};function _0xdd4afd(_0x208727,_0x450791,_0x3fe9ee,_0x2fb780){return _0x257320(_0x208727-_0x1f36a9._0x1b046e,_0x450791-0x8,_0x208727- -_0x1f36a9._0x13fe5e,_0x450791);}if(!_0x7f45d1[_0xdd4afd(0x213,_0x43365c._0x3a16ac,_0x43365c._0x38eed7,0x357)](_0xdd4afd(_0x43365c._0x5f40e0,0x99,0x154,0x218)))return _0x7f45d1;function _0x3bd282(_0x37cd9a,_0x1a2b95,_0x22f5cf,_0x25857c){return _0x3342ed(_0x37cd9a-0x1e0,_0x1a2b95,_0x22f5cf-_0x2d625e._0x1929b0,_0x25857c-_0x2d625e._0x328984);}return _0x5a2085(_0x7f45d1);}function formatLocations(_0x3f31b9){const _0x1b5a98={_0x2004b9:0x14c,_0x374d3a:0x14c,_0x433b1f:0x263,_0xe72bc7:0x93,_0x14d0fb:0x1d1,_0x270099:0xbe,_0x4dcb4e:0x62,_0x46cfe5:0x240},_0x21d6d7={_0x358b9f:0x31,_0x3af87a:0x100,_0x42db9a:0x92,_0xc121ac:0xaa,_0x337cd5:0x63,_0x3a28bd:0x4f0,_0x5cea8c:0x567,_0x145a56:0x764,_0x9c0f7d:0x77a},_0x3cc347={_0x2d77ef:0x169,_0x41d0df:0x101},_0x17a696={_0x19b999:0x2a,_0x21286a:0x186},_0x343860={_0x426e5b:0x1be,_0x6f9094:0x341},_0x52e716={_0x464a9d:0x9b,_0x2242fd:0xc0};function _0x37e7b2(_0x5ccbc1,_0x4607b6,_0xda7694,_0x2ab26c){return _0x3342ed(_0x5ccbc1-_0x52e716._0x464a9d,_0xda7694,_0x2ab26c- -0x2f3,_0x2ab26c-_0x52e716._0x2242fd);}function _0x357b55(_0x131d4d,_0x5ec658,_0x1f3286,_0x53a77b){return _0x257320(_0x131d4d-0xac,_0x5ec658-_0x343860._0x426e5b,_0x53a77b- -_0x343860._0x6f9094,_0x1f3286);}if(_0x3f31b9[_0x357b55(_0x1b5a98._0x2004b9,_0x1b5a98._0x374d3a,_0x1b5a98._0x433b1f,0x1e0)]===0x0)return'No\x20locations\x20found';return _0x3f31b9[_0x37e7b2(_0x1b5a98._0xe72bc7,-_0x1b5a98._0x14d0fb,-_0x1b5a98._0x270099,-_0x1b5a98._0x4dcb4e)](_0x5b7332=>{function _0x52c574(_0x128134,_0x36a9ce,_0x21664e,_0x5eed2a){return _0x37e7b2(_0x128134-_0x17a696._0x19b999,_0x36a9ce-_0x17a696._0x21286a,_0x128134,_0x36a9ce-0x4cf);}const _0x4f3c64=_0x5b7332[_0x301ca3(0x56,-_0x21d6d7._0x358b9f,_0x21d6d7._0x3af87a,-_0x21d6d7._0x42db9a)]['start'];function _0x301ca3(_0x4f8635,_0x14862c,_0x4cd781,_0x36d0b5){return _0x357b55(_0x4f8635-0xea,_0x14862c-_0x3cc347._0x2d77ef,_0x4cd781,_0x4f8635- -_0x3cc347._0x41d0df);}return locationPath(_0x5b7332[_0x301ca3(0x48,_0x21d6d7._0xc121ac,_0x21d6d7._0x337cd5,-0xaf)])+':'+(_0x4f3c64[_0x52c574(_0x21d6d7._0x3a28bd,0x58b,0x4c2,0x6dc)]+0x1)+':'+(_0x4f3c64[_0x52c574(_0x21d6d7._0x5cea8c,0x67a,_0x21d6d7._0x145a56,_0x21d6d7._0x9c0f7d)]+0x1);})[_0x357b55(0x294,0x101,_0x1b5a98._0x46cfe5,0x181)]('\x0a');}function isDocumentSymbol(_0x2ac10f){const _0xd20c2f={_0x56c4d3:0x126,_0x1c471a:0x596,_0x4f50a8:0x6d6,_0x1dca9f:0x591},_0x35161a={_0x47cde2:0x121,_0x465d14:0x1af},_0xd8cd51={_0xb413c3:0x282,_0x12c6ab:0x1a2};function _0x5a62a3(_0x2c5839,_0x35c508,_0x1f4252,_0x1c75d2){return _0x3342ed(_0x2c5839-0xe2,_0x2c5839,_0x1f4252-_0xd8cd51._0xb413c3,_0x1c75d2-_0xd8cd51._0x12c6ab);}function _0x56b914(_0x573709,_0x987dea,_0x2fe341,_0x343e86){return _0x3342ed(_0x573709-_0x35161a._0x47cde2,_0x987dea,_0x343e86- -_0x35161a._0x465d14,_0x343e86-0x170);}return _0x56b914(0x345,0x3b6,_0xd20c2f._0x56c4d3,0x25d)in _0x2ac10f&&_0x5a62a3(_0xd20c2f._0x1c471a,_0xd20c2f._0x4f50a8,_0xd20c2f._0x1dca9f,0x549)in _0x2ac10f;}function formatSymbols(_0x85090d){const _0xe7df5d={_0x4822a2:0x5cc,_0x3ca2e8:0x504,_0x1c4736:0x353,_0x34679c:0x2ee,_0x50979d:0x4f0},_0x160ee6={_0xa2ae23:0x675,_0x50802a:0x642,_0xd5d0d0:0x566,_0x402b54:0xc7,_0x250d1a:0xf,_0x1c9387:0x12b,_0xa26f24:0x5a0,_0x25304f:0x672,_0xb372e2:0x5f3,_0x30d49a:0x551,_0x330402:0x6df,_0x43e98a:0x6dc,_0x446b8b:0x40,_0x4a21d7:0xd7,_0x30c527:0x1e,_0x27def6:0x4d4,_0x1c391d:0x4e6,_0x56eb3d:0x59b,_0x458ce6:0x637,_0x228cf2:0x802,_0x307e4e:0x5fa,_0x31125e:0x52d,_0x57d589:0x675,_0xdb7b12:0x4e,_0x57d815:0x2b,_0x412011:0x103,_0x3cce1c:0x1cd},_0x1448f9={_0x2dda5d:0x10f,_0x3a4ecc:0x1ff,_0x2b6295:0xf1},_0x5be8c6={_0x1835c2:0x177},_0x5b38e5={_0x9a0f9d:0x2f};if(_0x85090d['length']===0x0)return _0x2370e8(_0xe7df5d._0x4822a2,0x48e,0x5ad,_0xe7df5d._0x3ca2e8);function _0x5a6e29(_0x4b5d7f,_0x159b9c,_0x4022c5,_0x2f360e){return _0x257320(_0x4b5d7f-0x1f1,_0x159b9c-0x1db,_0x159b9c- -_0x5b38e5._0x9a0f9d,_0x4022c5);}function _0x2370e8(_0xebd940,_0x221c90,_0x42bdb2,_0x3398e8){return _0x257320(_0xebd940-0x1c1,_0x221c90-_0x5be8c6._0x1835c2,_0x221c90-0x3b,_0x42bdb2);}return _0x85090d[_0x5a6e29(_0xe7df5d._0x1c4736,_0xe7df5d._0x34679c,0x363,0x295)](_0x24e623=>{const _0x16b5c6={_0x445fce:0xe7};function _0x38a015(_0x217792,_0x182399,_0x2aa043,_0x1e7d6d){return _0x5a6e29(_0x217792-_0x16b5c6._0x445fce,_0x217792- -0x41b,_0x1e7d6d,_0x1e7d6d-0xd8);}function _0xa2ffe1(_0x45c1b6,_0x46cbdb,_0x2b6f77,_0x37d4f6){return _0x2370e8(_0x45c1b6-_0x1448f9._0x2dda5d,_0x37d4f6-_0x1448f9._0x3a4ecc,_0x45c1b6,_0x37d4f6-_0x1448f9._0x2b6295);}if(isDocumentSymbol(_0x24e623))return _0x24e623[_0xa2ffe1(_0x160ee6._0xa2ae23,0x5d9,_0x160ee6._0x50802a,_0x160ee6._0xd5d0d0)]+'\x20('+_0x24e623['kind']+')\x20['+(_0x24e623[_0x38a015(0x4e,-_0x160ee6._0x402b54,0x187,0x8b)]['start'][_0x38a015(-_0x160ee6._0x250d1a,-_0x160ee6._0x1c9387,0x153,0x14c)]+0x1)+':'+(_0x24e623['range'][_0xa2ffe1(_0x160ee6._0xa26f24,0x766,0x7ce,_0x160ee6._0x25304f)]['character']+0x1)+']';return _0x24e623[_0xa2ffe1(0x545,0x640,_0x160ee6._0xb372e2,0x566)]+'\x20('+_0x24e623['kind']+')\x20'+locationPath(_0x24e623[_0xa2ffe1(_0x160ee6._0x30d49a,_0x160ee6._0x330402,_0x160ee6._0x43e98a,0x59b)][_0x38a015(_0x160ee6._0x446b8b,0x163,-_0x160ee6._0x4a21d7,-_0x160ee6._0x30c527)])+':'+(_0x24e623[_0xa2ffe1(_0x160ee6._0x27def6,_0x160ee6._0x1c391d,0x681,_0x160ee6._0x56eb3d)][_0xa2ffe1(_0x160ee6._0x458ce6,_0x160ee6._0x228cf2,_0x160ee6._0x307e4e,0x6d2)][_0xa2ffe1(_0x160ee6._0x31125e,0x776,0x67c,0x672)][_0xa2ffe1(0x648,_0x160ee6._0x50802a,0x582,_0x160ee6._0x57d589)]+0x1)+':'+(_0x24e623[_0x38a015(-0xe9,0x26,-0x105,-0x229)][_0x38a015(_0x160ee6._0xdb7b12,_0x160ee6._0x57d815,0x1bd,-_0x160ee6._0x412011)]['start'][_0x38a015(0xe0,_0x160ee6._0x3cce1c,0x128,0x38)]+0x1);})[_0x2370e8(_0xe7df5d._0x50979d,0x4fd,0x60e,0x637)]('\x0a');}function formatDiagnostics(_0x290076){const _0x4b1fb8={_0x288e4f:0x3bd,_0x154e04:0x51e,_0x807aa5:0x271,_0x3219e3:0x15e,_0x3b7eb0:0x2bc,_0x4c4816:0x302,_0x5a347f:0x343,_0x405aa1:0x2a3},_0x539d3e={_0x45bf18:0x381,_0x402e14:0x56e,_0x2c1322:0x6f8,_0x4896c9:0x6a7,_0x215a03:0x6ca},_0x422dba={_0x362e0d:0x39},_0xccad01={_0x63575c:0xd8};function _0x45ebad(_0x276dd7,_0x1e7031,_0x41e98b,_0x33012d){return _0x3342ed(_0x276dd7-0x9a,_0x1e7031,_0x276dd7- -_0xccad01._0x63575c,_0x33012d-0x196);}function _0x45780d(_0x26fcb7,_0x5c2153,_0x14b472,_0x1958f4){return _0x257320(_0x26fcb7-_0x422dba._0x362e0d,_0x5c2153-0x6d,_0x26fcb7- -0x9a,_0x1958f4);}if(_0x290076[_0x45ebad(_0x4b1fb8._0x288e4f,0x2e3,0x40f,_0x4b1fb8._0x154e04)]===0x0)return _0x45780d(0x2ae,0x213,_0x4b1fb8._0x807aa5,_0x4b1fb8._0x3219e3);return _0x290076[_0x45ebad(0x1b9,0x120,_0x4b1fb8._0x3b7eb0,_0x4b1fb8._0x4c4816)](_0x25e3c8=>{const _0x533c2f={_0x29838c:0x136,_0x46ee34:0x3c};function _0x3020af(_0x1b2d7d,_0x410fb2,_0xb6cbf5,_0x5aa3b9){return _0x45780d(_0x1b2d7d-0xa,_0x410fb2-0x199,_0xb6cbf5-0xff,_0x5aa3b9);}const _0x2a1e0d=_0x25e3c8[_0x3020af(0x408,_0x539d3e._0x45bf18,_0x539d3e._0x402e14,0x2b0)][_0x16b5a3(0x636,0x57a,0x5b5,0x43d)];function _0x16b5a3(_0x5c93bf,_0x694f67,_0x161153,_0x4eea34){return _0x45780d(_0x694f67-0x1dc,_0x694f67-_0x533c2f._0x29838c,_0x161153-_0x533c2f._0x46ee34,_0x161153);}return severityName(_0x25e3c8['severity'])+'\x20['+(_0x2a1e0d['line']+0x1)+':'+(_0x2a1e0d[_0x16b5a3(0x757,0x66c,0x79c,0x50d)]+0x1)+']\x20'+_0x25e3c8[_0x16b5a3(_0x539d3e._0x2c1322,_0x539d3e._0x4896c9,_0x539d3e._0x215a03,0x704)];})[_0x45ebad(0x35e,0x2da,_0x4b1fb8._0x5a347f,_0x4b1fb8._0x405aa1)]('\x0a');}function formatIncomingCalls(_0x1df1de){const _0x40fde0={_0x5ad79b:0x6b0,_0x3aa514:0x683,_0x4832da:0x42,_0x3cc2cd:0x229,_0x538990:0x1b3,_0x29e796:0x31c,_0x426f1a:0x3f8,_0xd61eaf:0x129},_0x4c5c45={_0x78fdc8:0x220},_0xaa36d2={_0xb58382:0x1f};function _0x37412c(_0x36d38d,_0xc12b62,_0x1ca923,_0x464845){return _0x257320(_0x36d38d-_0xaa36d2._0xb58382,_0xc12b62-0xe7,_0x1ca923-0xc3,_0x464845);}if(_0x1df1de[_0x37412c(_0x40fde0._0x5ad79b,0x5f1,0x5e4,_0x40fde0._0x3aa514)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x325e86(_0x5f0c03,_0x440714,_0x3ab57a,_0x423668){return _0x257320(_0x5f0c03-0xe0,_0x440714-0x15d,_0x440714- -_0x4c5c45._0x78fdc8,_0x3ab57a);}return _0x1df1de[_0x325e86(-_0x40fde0._0x4832da,0xfd,_0x40fde0._0x3cc2cd,_0x40fde0._0x538990)](_0x3f8ccd=>_0x3f8ccd[_0x325e86(0x356,0x254,0x1ee,0x2da)][_0x325e86(0x143,0x10c,0x132,0x5a)])[_0x325e86(_0x40fde0._0x29e796,0x2a2,_0x40fde0._0x426f1a,_0x40fde0._0xd61eaf)]('\x0a');}function formatOutgoingCalls(_0x4ba54d){const _0x4517bf={_0x3332e8:0x1c,_0x24fb38:0xa3,_0x1d2530:0x1dd,_0x3a445c:0x15a,_0x52e1da:0xac,_0x54316b:0xda},_0x20d9e9={_0x32e7e8:0x124,_0x402594:0x265},_0x57bf93={_0x1cb5f2:0x18c,_0x310af4:0x1ac,_0x49a8f7:0x416};function _0xd5061f(_0x5939d7,_0x5b583f,_0x36a489,_0x186354){return _0x257320(_0x5939d7-_0x57bf93._0x1cb5f2,_0x5b583f-_0x57bf93._0x310af4,_0x5b583f- -_0x57bf93._0x49a8f7,_0x186354);}function _0x41d239(_0x359772,_0x4d49ac,_0xbfa4b4,_0x3dffa9){return _0x257320(_0x359772-_0x20d9e9._0x32e7e8,_0x4d49ac-0x45,_0x4d49ac- -_0x20d9e9._0x402594,_0x3dffa9);}if(_0x4ba54d['length']===0x0)return _0xd5061f(_0x4517bf._0x3332e8,0xad,_0x4517bf._0x24fb38,0x150);return _0x4ba54d[_0x41d239(-0xa2,0xb8,_0x4517bf._0x1d2530,_0x4517bf._0x3a445c)](_0x2d8299=>_0x2d8299['to']['name'])[_0xd5061f(0x191,_0x4517bf._0x52e1da,_0x4517bf._0x54316b,0x117)]('\x0a');}function toStructured(_0x2ce2fa){const _0x20bdd0={_0x5bc715:0x6f3,_0x5a3559:0x6f9},_0x19bd2a={_0x1efca7:0x1e7,_0x5f4691:0xb2,_0x15dcc8:0x263};function _0x3943cd(_0x139951,_0x2f5008,_0x16067d,_0x4f043a){return _0x257320(_0x139951-_0x19bd2a._0x1efca7,_0x2f5008-_0x19bd2a._0x5f4691,_0x16067d-_0x19bd2a._0x15dcc8,_0x4f043a);}return JSON[_0x3943cd(0x798,_0x20bdd0._0x5bc715,_0x20bdd0._0x5a3559,0x5dd)](JSON['stringify'](_0x2ce2fa));}async function assertFile(_0x9e38c5){const _0x9c81ac={_0x4e0da0:0x1e0},_0xaa9f42={_0xc1d3ae:0x32};function _0x4e0469(_0x3334c3,_0x25f7dd,_0x10b8a2,_0x59f587){return _0x3342ed(_0x3334c3-_0xaa9f42._0xc1d3ae,_0x10b8a2,_0x25f7dd- -0x102,_0x59f587-0xeb);}const _0xb7e4eb=await _0x2d8392(_0x9e38c5);if(!_0xb7e4eb[_0x4e0469(0x179,_0x9c81ac._0x4e0da0,0x1a2,0x1e3)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x9e38c5,{'path':_0x9e38c5});}function validatePosition(_0x2f62c2,_0x3ca3ec){const _0x457f9c={_0x4bdfb6:0x23f,_0x4ad0f6:0x2d5,_0x5078d9:0x320,_0x145e70:0x1b6,_0x4a9a6d:0x4a5,_0x5a3716:0x560,_0x3b71a3:0x574,_0x50071c:0x61f},_0x4704e7={_0x5e2542:0x121,_0x4d1570:0x6b};function _0x405f7a(_0x55b4f7,_0x29ec52,_0x2b312e,_0x416963){return _0x3342ed(_0x55b4f7-_0x4704e7._0x5e2542,_0x416963,_0x2b312e-_0x4704e7._0x4d1570,_0x416963-0x19e);}if(!Number['isInteger'](_0x2f62c2)||_0x2f62c2<0x1)throw new ToolExecutionError(_0x405f7a(0x24f,0x3fe,0x35c,_0x457f9c._0x4bdfb6),{'line':_0x2f62c2});function _0x541505(_0x4b9702,_0x433242,_0xd908e3,_0x14f68f){return _0x257320(_0x4b9702-0x23,_0x433242-0x134,_0xd908e3-0x168,_0x433242);}if(!Number[_0x405f7a(_0x457f9c._0x4ad0f6,0x3e6,_0x457f9c._0x5078d9,_0x457f9c._0x145e70)](_0x3ca3ec)||_0x3ca3ec<0x1)throw new ToolExecutionError(_0x541505(_0x457f9c._0x4a9a6d,_0x457f9c._0x5a3716,_0x457f9c._0x3b71a3,_0x457f9c._0x50071c),{'character':_0x3ca3ec});}function createLspTool(_0x1ecd2={}){const _0x21f43f={_0x1cb61c:0xeb,_0x55c955:0x1ff,_0xcb98ad:0x16b,_0x215168:0x12d,_0x1efeb7:0xa3,_0x40bc82:0x7,_0x1c2e94:0x1bd,_0x55d891:0xb2,_0x4c26d0:0xc2,_0x30e20d:0x2d0,_0x6ed990:0x234,_0x15cf8c:0x199,_0x2fd793:0xf7,_0x401d2b:0x223,_0x2102f1:0x144,_0x5e6143:0x1bf,_0x303845:0x2e4,_0x38d61e:0x4a,_0x4c2c76:0x27b,_0x510a95:0x31b,_0x5ca398:0x34b,_0x4bd5f0:0x34a,_0x33598e:0x24a,_0x29afdd:0x141,_0x19bb75:0x40,_0xbe80e5:0x360,_0x438027:0x292,_0x5dbc7d:0x346,_0x2fd8e6:0x227,_0x559679:0x2d6,_0x57adcc:0x144,_0x424feb:0x213,_0xd5a098:0x99,_0xa198e9:0x1c,_0x3a1de8:0x3e6,_0x2908c4:0x2b3,_0x4e2c1d:0x275,_0x1644f3:0x13f,_0x3c33ef:0x107,_0x401d88:0x170,_0x4852a6:0x20f,_0x413a6f:0x2ce,_0x3335bb:0x362},_0x294b11={_0x514a57:0x566,_0x365957:0x27e,_0x5b8aa1:0x2d2,_0x8836cb:0x434,_0x256ae7:0x3a6,_0x1d81d3:0x460,_0x1d5d98:0x3a2,_0x22099e:0x4e2,_0x2503ea:0xf4,_0x2dc792:0x253,_0x59e0e6:0x356,_0x3173b1:0x637,_0x182d2f:0x4f8,_0x2c393e:0x4ec,_0x4c1bcf:0x207,_0x85d0dd:0x343,_0x1be352:0x4ac,_0x57eddf:0x539,_0x260429:0x3c6,_0x1e05e1:0x610,_0x342258:0x606,_0x251898:0x63f,_0x5544ae:0x166,_0x3b104b:0x19b,_0x1f2ce0:0x4cc,_0x18b590:0x198,_0x2c773d:0x406,_0x1548b7:0x68f,_0x4e5065:0x68c,_0x5c486f:0x53b,_0x183462:0x560,_0x1393e4:0x321,_0x4a60a2:0x4bd,_0x190cae:0x43c,_0x118110:0x1ae,_0x4f06b5:0xe8,_0x25148a:0x449,_0x4fd341:0x571,_0x50bf6f:0x4c0,_0x4c2cea:0x34,_0x42162a:0x398,_0x435846:0x245,_0x4b46c3:0x116,_0x7f3385:0x1d6,_0x286360:0x1ef,_0x1464d0:0x562,_0xa268e9:0x4d1,_0x212f2a:0x5e1,_0x10645d:0x4e9,_0x4c6888:0x2e4,_0x1497b6:0x350,_0x417d7a:0x4cc,_0x24d8d4:0x650},_0x2ef068={_0x91da55:0x1eb},_0x5d970c={_0x193cea:0xbd},_0x5cd631={_0x536812:0x153,_0xe60047:0x30,_0x114dad:0x27a};function _0x287b02(_0x4432f1,_0xb622f8,_0xbd9e38,_0x5cdaf1){return _0x257320(_0x4432f1-_0x5cd631._0x536812,_0xb622f8-_0x5cd631._0xe60047,_0x4432f1- -_0x5cd631._0x114dad,_0xbd9e38);}const _0x4bdeb4=_0x49e6d7[_0x879dfc(0x176,0x139,_0x21f43f._0x1cb61c,_0x21f43f._0x55c955)](_0x1ecd2['defaultCwd']??process[_0x287b02(_0x21f43f._0xcb98ad,0x59,_0x21f43f._0x215168,0x2df)]());function _0x879dfc(_0x518f2d,_0x3c39c0,_0x39385d,_0x494fad){return _0x257320(_0x518f2d-_0x5d970c._0x193cea,_0x3c39c0-0x17c,_0x3c39c0- -0x224,_0x494fad);}const _0xac7838=(_0x1ecd2['allowedDirs']??[])[_0x287b02(_0x21f43f._0x1efeb7,-_0x21f43f._0x40bc82,-0x8d,_0x21f43f._0x1c2e94)](_0x457cec=>_0x49e6d7[_0x287b02(0xe3,0xde,0xa0,0x198)](_0x457cec)),_0x4e0568=_0x1ecd2[_0x287b02(_0x21f43f._0x55d891,0x147,0x19d,-_0x21f43f._0x4c26d0)]??_0x879dfc(0x25a,_0x21f43f._0x30e20d,0x2b7,_0x21f43f._0x6ed990);return defineTool({'name':_0x4e0568,'description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':'object','properties':{'operation':{'type':'string','enum':['goToDefinition',_0x287b02(_0x21f43f._0x15cf8c,_0x21f43f._0x2fd793,_0x21f43f._0x401d2b,0x27a),_0x879dfc(0x266,_0x21f43f._0x2102f1,0x37,_0x21f43f._0x5e6143),_0x287b02(0x190,_0x21f43f._0x303845,_0x21f43f._0x38d61e,0x1fa),_0x879dfc(_0x21f43f._0x4c2c76,_0x21f43f._0x510a95,_0x21f43f._0x5ca398,_0x21f43f._0x4bd5f0),_0x879dfc(_0x21f43f._0x33598e,0x114,_0x21f43f._0x29afdd,_0x21f43f._0x19bb75),_0x879dfc(0x3d3,_0x21f43f._0xbe80e5,_0x21f43f._0x438027,0x328),_0x879dfc(0x3ac,0x365,_0x21f43f._0x5dbc7d,0x214),'outgoingCalls','diagnostics']},'filePath':{'type':_0x287b02(0x29e,0x1aa,0x3a9,0x37a)},'line':{'type':_0x879dfc(_0x21f43f._0x2fd8e6,0x19a,0x2cc,_0x21f43f._0x559679)},'character':{'type':_0x287b02(_0x21f43f._0x57adcc,_0x21f43f._0x424feb,_0x21f43f._0xd5a098,_0x21f43f._0xa198e9)},'query':{'type':_0x879dfc(0x2e0,0x2f4,_0x21f43f._0x3a1de8,0x379)}},'required':[_0x287b02(0x1b7,0x296,_0x21f43f._0x2908c4,0x1e3),_0x879dfc(0x2ad,_0x21f43f._0x4e2c1d,_0x21f43f._0x1644f3,_0x21f43f._0x3c33ef),_0x879dfc(0x279,0x217,_0x21f43f._0x401d88,_0x21f43f._0x4852a6),_0x879dfc(0x3ee,0x306,_0x21f43f._0x413a6f,_0x21f43f._0x3335bb)]},async *'execute'(_0x76fbb8){const _0x3e565d={_0x43931f:0x2eb};function _0x4bd948(_0x21e11b,_0x3c5938,_0x536b92,_0x1d174c){return _0x879dfc(_0x21e11b-0xa5,_0x3c5938-_0x3e565d._0x43931f,_0x536b92-0x1d2,_0x1d174c);}const _0x3592c1=_0x1ecd2[_0x4bd948(0x5db,0x622,_0x294b11._0x514a57,0x71b)];if(!_0x3592c1)throw new ToolExecutionError(_0x6c9c86(_0x294b11._0x365957,_0x294b11._0x5b8aa1,_0x294b11._0x8836cb,_0x294b11._0x256ae7));function _0x6c9c86(_0x5302dd,_0x19cfa0,_0x709743,_0x42229e){return _0x287b02(_0x19cfa0-0x46,_0x19cfa0-0xa6,_0x42229e,_0x42229e-_0x2ef068._0x91da55);}if(!_0x3592c1[_0x4bd948(_0x294b11._0x1d81d3,_0x294b11._0x1d5d98,0x3a9,_0x294b11._0x22099e)]())throw new ToolExecutionError(_0x6c9c86(_0x294b11._0x2503ea,_0x294b11._0x2dc792,0x2ea,_0x294b11._0x59e0e6));const _0x12180d=_0x76fbb8[_0x4bd948(_0x294b11._0x3173b1,_0x294b11._0x182d2f,0x5e9,_0x294b11._0x2c393e)];validatePosition(_0x76fbb8[_0x6c9c86(0x178,_0x294b11._0x4c1bcf,0x125,_0x294b11._0x85d0dd)],_0x76fbb8['character']);if(_0x12180d==='workspaceSymbol'){if(!_0x76fbb8[_0x4bd948(_0x294b11._0x1be352,0x4bb,0x47b,_0x294b11._0x57eddf)]?.['trim']())throw new ToolExecutionError(_0x6c9c86(0x21e,0x26a,0x12d,_0x294b11._0x260429));const _0x23f62a=await _0x3592c1[_0x4bd948(_0x294b11._0x1e05e1,_0x294b11._0x342258,0x6e5,_0x294b11._0x251898)](_0x76fbb8['query'][_0x6c9c86(_0x294b11._0x5544ae,0x8f,_0x294b11._0x3b104b,-0x59)]());return yield createToolOutput(formatSymbols(_0x23f62a),{'operation':_0x12180d,'query':_0x76fbb8['query'],'symbols':_0x23f62a}),void 0x0;}const _0x377db0=resolveAllowedPath(_0x4bdeb4,_0xac7838,_0x76fbb8['filePath']);await assertFile(_0x377db0);if(!await _0x3592c1[_0x4bd948(0x32a,0x3ee,0x29e,_0x294b11._0x1f2ce0)](_0x377db0))throw new ToolExecutionError(_0x6c9c86(0x255,0x1f2,_0x294b11._0x18b590,0x22e)+_0x76fbb8[_0x4bd948(_0x294b11._0x2c773d,0x560,_0x294b11._0x1548b7,_0x294b11._0x4e5065)],{'filePath':_0x76fbb8[_0x4bd948(_0x294b11._0x5c486f,_0x294b11._0x183462,0x474,0x5c3)]});await _0x3592c1['touchFile'](_0x377db0,!![]);const _0xf4c5b1={'file':_0x377db0,'line':_0x76fbb8[_0x6c9c86(_0x294b11._0x1393e4,0x207,0x22b,0x1bf)]-0x1,'character':_0x76fbb8[_0x6c9c86(0x40f,0x2f6,0x3f3,0x350)]-0x1};switch(_0x12180d){case _0x4bd948(0x35f,0x42f,0x324,0x3db):{const _0x27490f=await _0x3592c1['hover'](_0xf4c5b1);return yield createToolOutput(formatHover(_0x27490f),{'operation':_0x12180d,'filePath':_0x377db0,'hover':_0x27490f}),void 0x0;}case _0x4bd948(0x4f0,_0x294b11._0x4a60a2,0x511,_0x294b11._0x190cae):{const _0x429c73=await _0x3592c1[_0x6c9c86(_0x294b11._0x118110,0xee,_0x294b11._0x4f06b5,-0x46)](_0x377db0);return yield createToolOutput(formatDiagnostics(_0x429c73),{'operation':_0x12180d,'filePath':_0x377db0,'diagnostics':_0x429c73}),void 0x0;}case _0x4bd948(_0x294b11._0x25148a,0x4cf,_0x294b11._0x4fd341,0x35c):{const _0x1ecbfe=await _0x3592c1['definition'](_0xf4c5b1);return yield createToolOutput(formatLocations(_0x1ecbfe),{'operation':_0x12180d,'filePath':_0x377db0,'locations':_0x1ecbfe}),void 0x0;}case _0x4bd948(0x5ac,0x4da,0x502,_0x294b11._0x50bf6f):{const _0x271e5f=await _0x3592c1['references'](_0xf4c5b1);return yield createToolOutput(formatLocations(_0x271e5f),{'operation':_0x12180d,'filePath':_0x377db0,'locations':_0x271e5f}),void 0x0;}case _0x6c9c86(0x19f,0x104,0x172,_0x294b11._0x4c2cea):{const _0x84f99=await _0x3592c1[_0x4bd948(0x37e,_0x294b11._0x42162a,_0x294b11._0x435846,0x30d)](_0xf4c5b1);return yield createToolOutput(formatLocations(_0x84f99),{'operation':_0x12180d,'filePath':_0x377db0,'locations':_0x84f99}),void 0x0;}case _0x6c9c86(_0x294b11._0x4b46c3,_0x294b11._0x7f3385,_0x294b11._0x286360,0x25c):{const _0x4b4996=await _0x3592c1[_0x4bd948(_0x294b11._0x1464d0,_0x294b11._0xa268e9,_0x294b11._0x212f2a,_0x294b11._0x10645d)](_0x377db0);return yield createToolOutput(formatSymbols(_0x4b4996),{'operation':_0x12180d,'filePath':_0x377db0,'symbols':_0x4b4996}),void 0x0;}case _0x6c9c86(_0x294b11._0x4c6888,_0x294b11._0x1497b6,0x459,0x3a6):{const _0x581095=await _0x3592c1['prepareCallHierarchy'](_0xf4c5b1);return yield createToolOutput(formatSymbols(_0x581095),{'operation':_0x12180d,'filePath':_0x377db0,'symbols':toStructured(_0x581095)}),void 0x0;}case _0x6c9c86(_0x294b11._0x417d7a,0x355,0x286,0x435):{const _0x2d8a5b=await _0x3592c1[_0x4bd948(0x504,_0x294b11._0x24d8d4,0x56a,_0x294b11._0x5c486f)](_0xf4c5b1);return yield createToolOutput(formatIncomingCalls(_0x2d8a5b),{'operation':_0x12180d,'filePath':_0x377db0,'calls':toStructured(_0x2d8a5b)}),void 0x0;}case'outgoingCalls':{const _0x22134b=await _0x3592c1['outgoingCalls'](_0xf4c5b1);return yield createToolOutput(formatOutgoingCalls(_0x22134b),{'operation':_0x12180d,'filePath':_0x377db0,'calls':toStructured(_0x22134b)}),void 0x0;}}}});}import{randomUUID as _0xea56d}from'crypto';import{mkdir as _0x4e0516,readFile as _0x2a17ea,writeFile as _0x3f5c78}from'fs/promises';import{join as _0x37c59e}from'path';function sanitizeStorageKey(_0x4de050){const _0x2330a0={_0x107484:0x483,_0x1e3669:0x578,_0x188d9f:0x47e,_0x3ee29e:0x15d},_0x9b9e17={_0x5de775:0x1df,_0x175a00:0xc3},_0xeeb0cf={_0x4c2a0a:0x129,_0x5863f1:0x10f};function _0x5a5228(_0x39ffc8,_0x2ba528,_0x4da765,_0x1f9553){return _0x257320(_0x39ffc8-0x135,_0x2ba528-_0xeeb0cf._0x4c2a0a,_0x39ffc8- -_0xeeb0cf._0x5863f1,_0x2ba528);}function _0x2a3078(_0x5ee666,_0x6b40cd,_0x2dc926,_0x583d48){return _0x3342ed(_0x5ee666-0x19b,_0x5ee666,_0x583d48-_0x9b9e17._0x5de775,_0x583d48-_0x9b9e17._0x175a00);}return _0x4de050[_0x5a5228(0x481,_0x2330a0._0x107484,_0x2330a0._0x1e3669,0x331)](/[^a-zA-Z0-9_]+/g,'_')[_0x5a5228(0x481,0x426,0x596,_0x2330a0._0x188d9f)](/^_+|_+$/g,'')||_0x5a5228(0x2c5,0x298,0x417,_0x2330a0._0x3ee29e);}function storagePath(_0x4e56b1){const _0x16ab53={_0x2dcc54:0x406,_0x3d28d5:0x57c,_0x3d4e1d:0x274,_0x29dcdd:0x223,_0x16b71c:0x461,_0x4edf2a:0x49d,_0xfe72dd:0x54,_0x404f54:0x52,_0x50fc20:0x3b3},_0x1b694f={_0x4d5ff8:0x120},_0x47cc55={_0x1521fe:0x1ad,_0x38b937:0x2f4};function _0x3388c8(_0xc32af6,_0x2d34a4,_0x204f5d,_0x586d95){return _0x257320(_0xc32af6-0x32,_0x2d34a4-_0x47cc55._0x1521fe,_0x586d95- -_0x47cc55._0x38b937,_0x204f5d);}function _0xd91af6(_0x44deed,_0x6c670b,_0x138084,_0x3677ed){return _0x3342ed(_0x44deed-_0x1b694f._0x4d5ff8,_0x6c670b,_0x44deed-0x9d,_0x3677ed-0x45);}const _0x1196a7=sanitizeStorageKey(_0x4e56b1[_0xd91af6(_0x16ab53._0x2dcc54,0x34c,0x415,0x410)][_0xd91af6(_0x16ab53._0x3d28d5,0x61e,0x51b,0x6ed)]?.[_0x3388c8(_0x16ab53._0x3d4e1d,0x343,0x208,_0x16ab53._0x29dcdd)]??_0x4e56b1[_0xd91af6(0x357,0x2df,_0x16ab53._0x16b71c,_0x16ab53._0x4edf2a)]);return _0x37c59e(_0x4e56b1[_0x3388c8(-_0x16ab53._0xfe72dd,0xb7,-_0x16ab53._0x404f54,0x8)],_0x1196a7+_0xd91af6(0x35d,_0x16ab53._0x50fc20,0x464,0x1e9));}async function readStore(_0x5f0035){const _0x39effb={_0x28795b:0x323,_0x43a0f5:0xe5,_0x42179e:0x64c,_0x41c2eb:0x6a1},_0x29ae50={_0x284c5a:0x51,_0x13271e:0x247},_0x15452a={_0x2a1236:0x19};function _0x6e8e21(_0x1d59db,_0x2941a8,_0x4f2cee,_0x5aba08){return _0x257320(_0x1d59db-0x113,_0x2941a8-_0x15452a._0x2a1236,_0x4f2cee- -0x2bb,_0x5aba08);}function _0x1bc864(_0x161ac6,_0x42bb88,_0x1d79de,_0x47dcf4){return _0x257320(_0x161ac6-0x187,_0x42bb88-_0x29ae50._0x284c5a,_0x42bb88-_0x29ae50._0x13271e,_0x161ac6);}try{return JSON['parse'](await _0x2a17ea(_0x5f0035,_0x6e8e21(_0x39effb._0x28795b,0x22e,0x289,0x172)));}catch(_0x39f4bb){if(_0x39f4bb instanceof Error&&_0x6e8e21(-0x10,_0x39effb._0x43a0f5,0x14a,0x1d5)in _0x39f4bb&&_0x39f4bb[_0x1bc864(0x6ec,_0x39effb._0x42179e,0x58c,0x6e8)]===_0x1bc864(0x7b6,0x7cd,0x7e6,_0x39effb._0x41c2eb))return{};throw _0x39f4bb;}}async function writeStore(_0x3aeec7,_0x1e0cfe){const _0x10554e={_0x4cf38a:0x1a3,_0x3db0a1:0x2f8},_0x4479c5={_0x1c7092:0x3b};function _0x3344c0(_0xd01101,_0x3235ff,_0x25b3a5,_0x50b5ca){return _0x3342ed(_0xd01101-0x1d3,_0x3235ff,_0x50b5ca- -0x1c0,_0x50b5ca-_0x4479c5._0x1c7092);}await _0x4e0516(_0x37c59e(_0x3aeec7,'..'),{'recursive':!![]}),await _0x3f5c78(_0x3aeec7,JSON['stringify'](_0x1e0cfe,null,0x2),_0x3344c0(0x35c,_0x10554e._0x4cf38a,0x337,_0x10554e._0x3db0a1));}async function updateStore(_0x213b7f,_0x43d0ae){const _0xd2fa02=await readStore(_0x213b7f);_0x43d0ae(_0xd2fa02),await writeStore(_0x213b7f,_0xd2fa02);}function createMcpOAuthProvider(_0x6e7c1f){const _0xb8fcf0={_0x5e9392:0x60b,_0xb50138:0x69a,_0x5b1398:0x84c,_0x2091e4:0x212,_0x428762:0x35a,_0x1b1300:0x49e,_0x41136c:0x3f9,_0x433e83:0x7c8,_0x2d1210:0x700,_0x276559:0x579,_0x20a49e:0x29b,_0x73b2f2:0x2e6,_0x48dda0:0x6dd,_0x10c4ee:0x5f5,_0x466924:0x7c1,_0x456738:0x754,_0x5448eb:0x3eb,_0x5a245c:0x462,_0x163475:0x4e0,_0x103ae6:0x3be,_0x3bdeb3:0x3a5,_0x279e62:0x3db,_0x1507bf:0x28a,_0x4674fa:0x382,_0x31ecf2:0x3cd,_0x2784d1:0x4de},_0x4b079e={_0x1dbbfb:0x367,_0x2da268:0x430},_0x4bdd39={_0x19645a:0x2b5,_0xd1fca5:0x3b4,_0x4a7698:0x2c7},_0x2eed8b={_0x4bc107:0x15,_0x33e901:0x120,_0x17be76:0xd2},_0x4b3024={_0xb5f822:0x1ab},_0x536c8c={_0x222999:0x44f,_0x3cfee5:0x33},_0x5899c5={_0x82a56a:0x516,_0x12a980:0x606,_0x481410:0x46c,_0xc4a420:0x41a},_0x371c3e={_0x220710:0x79},_0x1598d8={_0x5c42ee:0x176,_0x2c92a3:0x37c},_0x27d8fd={_0x564ca8:0x53},_0x5c4676={_0x170a68:0x112,_0x1d4151:0x72};function _0x4f755f(_0x13ec5a,_0x12403f,_0x255855,_0x85f4dd){return _0x3342ed(_0x13ec5a-_0x5c4676._0x170a68,_0x13ec5a,_0x12403f-_0x5c4676._0x1d4151,_0x85f4dd-0x55);}const _0x34cff3=storagePath(_0x6e7c1f),_0x5cda22=_0x6e7c1f[_0x5493e6(0x525,0x7a0,0x633,_0xb8fcf0._0x5e9392)][_0x5493e6(_0xb8fcf0._0xb50138,_0xb8fcf0._0x5b1398,0x7a9,0x895)]?.[_0x4f755f(_0xb8fcf0._0x2091e4,_0xb8fcf0._0x428762,_0xb8fcf0._0x1b1300,_0xb8fcf0._0x41136c)]?.[_0x5493e6(0x6d6,_0xb8fcf0._0x433e83,_0xb8fcf0._0x2d1210,0x68d)]('\x20'),_0x4167ce={'client_name':_0x5493e6(0x58c,0x5bb,_0xb8fcf0._0x276559,0x613),'redirect_uris':[_0x6e7c1f[_0x4f755f(0x2ba,_0xb8fcf0._0x20a49e,_0xb8fcf0._0x73b2f2,0x223)]],'grant_types':[_0x5493e6(0x5c5,0x567,_0xb8fcf0._0x48dda0,_0xb8fcf0._0x10c4ee),_0x5493e6(0x6a3,_0xb8fcf0._0x466924,_0xb8fcf0._0x456738,0x7bc)],'response_types':[_0x4f755f(0x316,_0xb8fcf0._0x5448eb,_0xb8fcf0._0x5a245c,0x2f6)],'token_endpoint_auth_method':_0x4f755f(0x485,_0xb8fcf0._0x163475,_0xb8fcf0._0x103ae6,0x4cd),..._0x5cda22?{'scope':_0x5cda22}:{}};function _0x5493e6(_0xdbedd1,_0x3decd9,_0x30b0de,_0x979995){return _0x3342ed(_0xdbedd1-_0x27d8fd._0x564ca8,_0x979995,_0x30b0de-0x2ca,_0x979995-0x73);}return{'clientMetadataUrl':_0x6e7c1f[_0x4f755f(_0xb8fcf0._0x3bdeb3,_0xb8fcf0._0x279e62,_0xb8fcf0._0x1507bf,_0xb8fcf0._0x4674fa)]['oauth']?.[_0x4f755f(0x26f,0x37d,_0xb8fcf0._0x31ecf2,_0xb8fcf0._0x2784d1)],get 'redirectUrl'(){const _0x3aab1d={_0x2a1939:0x4d8,_0x424243:0x11};function _0x44fe02(_0x130355,_0x547b34,_0x18d396,_0x3c8873){return _0x4f755f(_0x18d396,_0x547b34- -_0x3aab1d._0x2a1939,_0x18d396-_0x3aab1d._0x424243,_0x3c8873-0x1a6);}return _0x6e7c1f[_0x44fe02(-_0x1598d8._0x5c42ee,-0x23d,-0x398,-_0x1598d8._0x2c92a3)];},get 'clientMetadata'(){return _0x4167ce;},async 'state'(){const _0x2d9180=await readStore(_0x34cff3);if(_0x2d9180[_0x3a3c8e(_0x5899c5._0x82a56a,_0x5899c5._0x12a980,_0x5899c5._0x481410,_0x5899c5._0xc4a420)])return _0x2d9180['state'];const _0x2ad362=_0xea56d();function _0x3a3c8e(_0x51140e,_0x933e97,_0x1b8df9,_0x12f860){return _0x4f755f(_0x12f860,_0x51140e- -0x53,_0x1b8df9-_0x371c3e._0x220710,_0x12f860-0x1e);}return await updateStore(_0x34cff3,_0xe8237d=>{function _0x519b1e(_0x185f93,_0xfeaa65,_0x3d0882,_0x2894a1){return _0x3a3c8e(_0x3d0882- -0xe2,_0xfeaa65-0x199,_0x3d0882-0x17c,_0xfeaa65);}_0xe8237d[_0x519b1e(0x421,0x40f,0x434,0x45b)]=_0x2ad362;}),_0x2ad362;},async 'clientInformation'(){function _0x4ec36e(_0x49f435,_0x323f98,_0x6c5eb5,_0x3689af){return _0x4f755f(_0x6c5eb5,_0x3689af- -_0x536c8c._0x222999,_0x6c5eb5-_0x536c8c._0x3cfee5,_0x3689af-0x8);}return(await readStore(_0x34cff3))[_0x4ec36e(0x80,-0x7c,-0x2d,-0xae)];},async 'saveClientInformation'(_0x20b3fd){const _0x2349d7={_0xf95788:0x143,_0x4bc69d:0x14c},_0x1f7862={_0xb50349:0x5b};await updateStore(_0x34cff3,_0x31f79b=>{function _0x289d13(_0x3a7d42,_0x237599,_0x43be92,_0x136227){return _0x1df5(_0x3a7d42- -_0x1f7862._0xb50349,_0x43be92);}_0x31f79b[_0x289d13(0x20f,_0x2349d7._0xf95788,_0x2349d7._0x4bc69d,0x291)]=_0x20b3fd;});},async 'tokens'(){function _0x12a613(_0x33479d,_0x11bb41,_0x2bc01b,_0x382d5b){return _0x4f755f(_0x11bb41,_0x33479d- -0x486,_0x2bc01b-0x1a4,_0x382d5b-_0x4b3024._0xb5f822);}return(await readStore(_0x34cff3))[_0x12a613(0xa0,-_0x2eed8b._0x4bc107,_0x2eed8b._0x33e901,-_0x2eed8b._0x17be76)];},async 'saveTokens'(_0x546673){await updateStore(_0x34cff3,_0x4f2f90=>{function _0x13c48d(_0x57e6cd,_0x4ba999,_0x56d5d7,_0x407bb8){return _0x1df5(_0x4ba999-0x215,_0x56d5d7);}_0x4f2f90[_0x13c48d(0x6d9,0x604,0x68a,0x661)]=_0x546673;});},async 'redirectToAuthorization'(_0x2b182e){await _0x6e7c1f['onRedirect'](_0x2b182e);},async 'saveCodeVerifier'(_0xdd44ea){const _0x1458d8={_0x5aa933:0x569,_0x496a3e:0x60e};await updateStore(_0x34cff3,_0x34f485=>{function _0x16ce59(_0x226b9c,_0x3dfea3,_0x210ac8,_0x4e790e){return _0x1df5(_0x4e790e-0x2bb,_0x226b9c);}_0x34f485[_0x16ce59(0x6ce,0x58c,_0x1458d8._0x5aa933,_0x1458d8._0x496a3e)]=_0xdd44ea;});},async 'codeVerifier'(){const _0x98bf35=(await readStore(_0x34cff3))['codeVerifier'];if(!_0x98bf35)throw new Error(_0x2be58e(_0x4bdd39._0x19645a,_0x4bdd39._0xd1fca5,_0x4bdd39._0x4a7698,0x486));function _0x2be58e(_0x7a0975,_0x1bb441,_0x5d0a80,_0x20d5b5){return _0x5493e6(_0x7a0975-0x160,_0x1bb441-0x13,_0x1bb441- -0x1d8,_0x5d0a80);}return _0x98bf35;},async 'invalidateCredentials'(_0x450a37){const _0x3facd7={_0x26b3ac:0x13c,_0x1a1fb4:0x1f5,_0x53d7d3:0x28b,_0x4adf2a:0x3dd,_0x157829:0x24d,_0x50dec2:0xb0,_0x138a91:0x1cd,_0x565f5c:0x2ce,_0x14d774:0x28e,_0x3a0b97:0x5d};await updateStore(_0x34cff3,_0x2aa3ea=>{const _0x2fff7e={_0x435074:0x75},_0x210a8f={_0x1f723e:0x2da};(_0x450a37===_0x45f8d7(_0x3facd7._0x26b3ac,0x14a,0xae,0x138)||_0x450a37==='client')&&(_0x2aa3ea[_0x45f8d7(_0x3facd7._0x1a1fb4,0x2bb,_0x3facd7._0x53d7d3,0x246)]=void 0x0);function _0x4de577(_0x136cfc,_0x24ba44,_0x53eba0,_0x11e564){return _0x1df5(_0x11e564- -_0x210a8f._0x1f723e,_0x24ba44);}(_0x450a37==='all'||_0x450a37===_0x45f8d7(0x37a,0x3d0,0x4c4,_0x3facd7._0x4adf2a))&&(_0x2aa3ea[_0x4de577(_0x3facd7._0x157829,0x16e,_0x3facd7._0x50dec2,0x115)]=void 0x0);(_0x450a37==='all'||_0x450a37===_0x4de577(-0x1a2,-_0x3facd7._0x138a91,0xae,-0x9f))&&(_0x2aa3ea['codeVerifier']=void 0x0,_0x2aa3ea[_0x4de577(_0x3facd7._0x565f5c,_0x3facd7._0x14d774,_0x3facd7._0x3a0b97,0x158)]=void 0x0);function _0x45f8d7(_0x555f98,_0xf44fb2,_0x116546,_0x270409){return _0x1df5(_0x555f98- -_0x2fff7e._0x435074,_0x116546);}(_0x450a37==='all'||_0x450a37==='discovery')&&(_0x2aa3ea['discoveryState']=void 0x0);});},async 'saveDiscoveryState'(_0x2ec96f){const _0x4f9617={_0x1d793f:0x3a0,_0x19f9af:0x4d8,_0x181cfe:0x41c};await updateStore(_0x34cff3,_0x14f23c=>{const _0x3c4179={_0x2a3e:0x8f};function _0x2868db(_0x544cd9,_0x592db9,_0x1dc342,_0x4b5af7){return _0x1df5(_0x592db9-_0x3c4179._0x2a3e,_0x4b5af7);}_0x14f23c[_0x2868db(0x3db,_0x4f9617._0x1d793f,_0x4f9617._0x19f9af,_0x4f9617._0x181cfe)]=_0x2ec96f;});},async 'discoveryState'(){function _0x393b28(_0x5c2a31,_0x6b7e2c,_0x1b5583,_0x168874){return _0x5493e6(_0x5c2a31-0xd8,_0x6b7e2c-0x131,_0x6b7e2c- -0x342,_0x5c2a31);}return(await readStore(_0x34cff3))[_0x393b28(0x2e3,0x35e,_0x4b079e._0x1dbbfb,_0x4b079e._0x2da268)];}};}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(_0x1367a3,_0x36b9d8){const _0x45ca95={_0x5cc995:0x170,_0x4bc48b:0x65},_0xa6b2e5=_0x13e39=>_0x13e39['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x17529f(0x442,0x6a2,0x5b4,0x4ef)](/^_+|_+$/g,'');function _0x17529f(_0xe59e72,_0xec0e7f,_0x195d67,_0x40c436){return _0x257320(_0xe59e72-_0x45ca95._0x5cc995,_0xec0e7f-_0x45ca95._0x4bc48b,_0x195d67-0x24,_0x40c436);}return'mcp_'+_0xa6b2e5(_0x1367a3)+'_'+_0xa6b2e5(_0x36b9d8);}function isObject(_0x72e03d){const _0x52354c={_0x871712:0x42b,_0x302f60:0x4b0,_0x570dd5:0x54e,_0x6c4845:0x4ab,_0x5639d9:0x19d},_0x280745={_0x51680d:0x1f};function _0x278159(_0x380e51,_0x27defc,_0x245240,_0x8292e3){return _0x3342ed(_0x380e51-0xa6,_0x245240,_0x380e51- -0xbc,_0x8292e3-0x57);}function _0x302ee4(_0x8ed867,_0x2d3f1a,_0x503a33,_0x467da7){return _0x257320(_0x8ed867-_0x280745._0x51680d,_0x2d3f1a-0x25,_0x8ed867-0x13b,_0x467da7);}return typeof _0x72e03d===_0x302ee4(_0x52354c._0x871712,_0x52354c._0x302f60,_0x52354c._0x570dd5,_0x52354c._0x6c4845)&&_0x72e03d!==null&&!Array[_0x278159(0x272,0x14a,0x10d,_0x52354c._0x5639d9)](_0x72e03d);}function toSupportedSchema(_0x7d6b3a){const _0x221d9a={_0x7665cf:0x3df,_0x50c5bd:0x587,_0x165d7d:0x5f2,_0xe6e12:0x1e1,_0x2ac452:0x317,_0x1cb6cb:0x37e,_0x6b747f:0x355,_0x571d5a:0x188,_0x50fedc:0x9,_0x29a0c3:0x2a,_0xdaa2ee:0xa8,_0x4c2572:0xd3,_0x535bfc:0x25f,_0x2cacb9:0x385,_0x4e6eda:0x508,_0x10cbac:0x43f,_0x3e4ca9:0x55d,_0x1d7141:0x1ef,_0xaead30:0x2cd,_0x787dc0:0x3a1,_0x2656f9:0x255,_0x2a2f1e:0xb0,_0x4c52cc:0x6c8,_0x1a9115:0x6a0,_0x209c2a:0x4b7},_0x154315={_0x4e4a0f:0x17a,_0xb8ff6:0x166,_0x3af80f:0xcb},_0x4dc7c2={_0x1f39d8:0x8e,_0x506ae0:0x1aa,_0x2d13b7:0x17d};if(!isObject(_0x7d6b3a))return void 0x0;if(_0x7d6b3a[_0x11640e(0x277,0x385,0x34a,_0x221d9a._0x7665cf)]===_0x11640e(_0x221d9a._0x50c5bd,_0x221d9a._0x165d7d,0x6f2,0x50d))return{'type':_0x28a526(_0x221d9a._0xe6e12,0x2e2,_0x221d9a._0x2ac452,_0x221d9a._0x1cb6cb)};if(_0x7d6b3a[_0x11640e(0x307,0x385,_0x221d9a._0x6b747f,0x2eb)]===_0x28a526(0x22e,_0x221d9a._0x571d5a,0x19a,0x17e)||_0x7d6b3a[_0x28a526(_0x221d9a._0x50fedc,0x75,-_0x221d9a._0x29a0c3,0x18a)]==='integer')return{'type':_0x28a526(_0x221d9a._0xdaa2ee,0x188,_0x221d9a._0x4c2572,_0x221d9a._0x535bfc)};function _0x28a526(_0x44e63d,_0xec30c7,_0x3778b5,_0x51f5bf){return _0x3342ed(_0x44e63d-_0x4dc7c2._0x1f39d8,_0x3778b5,_0xec30c7- -_0x4dc7c2._0x506ae0,_0x51f5bf-_0x4dc7c2._0x2d13b7);}if(_0x7d6b3a[_0x11640e(0x39c,_0x221d9a._0x2cacb9,0x35f,0x305)]==='boolean')return{'type':_0x11640e(_0x221d9a._0x4e6eda,_0x221d9a._0x10cbac,_0x221d9a._0x3e4ca9,0x317)};if(_0x7d6b3a['type']===_0x28a526(_0x221d9a._0x1d7141,0x35b,_0x221d9a._0xaead30,0x4ba))return{'type':_0x28a526(0x41d,0x35b,_0x221d9a._0x787dc0,0x475),'items':toSupportedSchema(_0x7d6b3a[_0x28a526(_0x221d9a._0x2656f9,0x212,_0x221d9a._0x2a2f1e,0x34a)])??{'type':_0x11640e(_0x221d9a._0x4c52cc,0x5f2,_0x221d9a._0x1a9115,_0x221d9a._0x209c2a)}};if(_0x7d6b3a['type']==='object')return toNuvinToolSchema(_0x7d6b3a);function _0x11640e(_0x140a58,_0x3dc11f,_0x3289c7,_0x545d72){return _0x3342ed(_0x140a58-_0x154315._0x4e4a0f,_0x140a58,_0x3dc11f-_0x154315._0xb8ff6,_0x545d72-_0x154315._0x3af80f);}return void 0x0;}function toNuvinToolSchema(_0x5c554b){const _0x668e1c={_0x51dbb6:0x201,_0x3cc2aa:0x12c,_0x2406ac:0x17f,_0x2d2819:0x283,_0x564f49:0x2f1,_0x352f0a:0x28d,_0x24008c:0x2c1,_0x498088:0x275,_0x5cf273:0x370,_0x4a872b:0x3b6,_0x1463ed:0x243,_0x2637bd:0x2a4,_0x29b12f:0x2f1,_0xce2ebb:0x328},_0x100f86={_0x3fab6f:0xf3};function _0x455b62(_0x9a6d08,_0x4e049a,_0x41b0aa,_0x508dcc){return _0x3342ed(_0x9a6d08-0x7f,_0x9a6d08,_0x41b0aa-0x8d,_0x508dcc-0xb7);}if(!isObject(_0x5c554b)||_0x5c554b[_0x4058c3(_0x668e1c._0x51dbb6,0x203,_0x668e1c._0x3cc2aa,_0x668e1c._0x2406ac)]!==_0x455b62(0x179,_0x668e1c._0x2d2819,_0x668e1c._0x564f49,_0x668e1c._0x352f0a))return{'type':'object','properties':{}};function _0x4058c3(_0x482ec1,_0x17977a,_0x6a4d3c,_0x45d7d3){return _0x3342ed(_0x482ec1-0x3,_0x17977a,_0x6a4d3c- -_0x100f86._0x3fab6f,_0x45d7d3-0x3f);}const _0x4402e8={},_0x1a40b4=isObject(_0x5c554b['properties'])?_0x5c554b['properties']:{};for(const [_0x121feb,_0x2167bd]of Object[_0x455b62(_0x668e1c._0x24008c,_0x668e1c._0x498088,0x3e3,0x2a1)](_0x1a40b4)){const _0x24e5ae=toSupportedSchema(_0x2167bd);if(_0x24e5ae)_0x4402e8[_0x121feb]=_0x24e5ae;}const _0xd40ff2=Array['isArray'](_0x5c554b['required'])?_0x5c554b['required'][_0x455b62(0x291,0x3d9,_0x668e1c._0x5cf273,_0x668e1c._0x4a872b)](_0x29aed4=>typeof _0x29aed4==='string'):void 0x0;return _0xd40ff2?.['length']?{'type':'object','properties':_0x4402e8,'required':_0xd40ff2}:{'type':_0x455b62(_0x668e1c._0x1463ed,_0x668e1c._0x2637bd,_0x668e1c._0x29b12f,_0x668e1c._0xce2ebb),'properties':_0x4402e8};}function isJsonObject(_0x388e1f){const _0x1a4f61={_0x2ef464:0xc9,_0x518065:0x197,_0x4c33d9:0xc9,_0x4d13d9:0x7d},_0x4755b2={_0x10af7b:0x30,_0x39749a:0x189},_0x12dda7={_0x41beea:0x1a};function _0x3f1dfd(_0x482789,_0x52785a,_0x3e2d9d,_0x4bfe20){return _0x257320(_0x482789-0x35,_0x52785a-_0x12dda7._0x41beea,_0x4bfe20- -0x450,_0x3e2d9d);}function _0x2a14e2(_0x1df48e,_0x38d704,_0x572b9d,_0x2df4d3){return _0x3342ed(_0x1df48e-_0x4755b2._0x10af7b,_0x2df4d3,_0x572b9d- -0x3fb,_0x2df4d3-_0x4755b2._0x39749a);}return typeof _0x388e1f===_0x2a14e2(-_0x1a4f61._0x2ef464,-0x244,-_0x1a4f61._0x518065,-0x128)&&_0x388e1f!==null&&!Array[_0x3f1dfd(-_0x1a4f61._0x4c33d9,-_0x1a4f61._0x4d13d9,-0x1c2,-0x96)](_0x388e1f);}function formatMcpContent(_0x513abd){const _0x419eee={_0x36ff52:0x4fa,_0x67f52b:0x673,_0x5d4621:0x3d3,_0x35d85c:0x341,_0x6c240f:0x354,_0x28e79b:0x457,_0x23551c:0x4fc,_0x4a63f5:0x5d1,_0x27acba:0x5f1,_0x5f4be7:0x3e2,_0x54ec84:0x4b5,_0x13b681:0x49b},_0x3e49bc={_0x12b6e8:0x1be,_0x2f173f:0x1e5,_0x14eb99:0x452,_0x2f86d1:0x58b,_0xc1f2c4:0x563},_0x2c855f={_0x3fd122:0xd,_0x535dfd:0x142};function _0x957fb5(_0x53829e,_0x19e232,_0x239f91,_0x5e2174){return _0x3342ed(_0x53829e-_0x2c855f._0x3fd122,_0x5e2174,_0x19e232-_0x2c855f._0x535dfd,_0x5e2174-0x29);}const _0x2283ac=Array['isArray'](_0x513abd['content'])?_0x513abd[_0x957fb5(_0x419eee._0x36ff52,0x5b3,0x539,_0x419eee._0x67f52b)]:[];function _0x840224(_0x499a87,_0x468d29,_0xf70ebe,_0x4726b4){return _0x3342ed(_0x499a87-0x18a,_0x468d29,_0x499a87-0xc6,_0x4726b4-0x32);}const _0x177654=_0x2283ac[_0x957fb5(0x364,_0x419eee._0x5d4621,_0x419eee._0x35d85c,0x2e1)](_0x346a3a=>{const _0x5aa524={_0x59383e:0x62};function _0x54e6f8(_0x1b6b04,_0x4f8d1c,_0x219128,_0x530be9){return _0x840224(_0x219128- -0x55,_0x4f8d1c,_0x219128-_0x5aa524._0x59383e,_0x530be9-0xd9);}if(!isObject(_0x346a3a))return'';function _0x25341c(_0x5714bf,_0x2d9c33,_0x57aa2d,_0x24d780){return _0x957fb5(_0x5714bf-0x1ac,_0x57aa2d- -0x6b,_0x57aa2d-0x16e,_0x24d780);}if(_0x346a3a[_0x54e6f8(_0x3e49bc._0x12b6e8,0x2cc,0x290,_0x3e49bc._0x2f173f)]==='text'&&typeof _0x346a3a[_0x54e6f8(0x41f,0x359,0x426,0x2fc)]===_0x25341c(_0x3e49bc._0x14eb99,_0x3e49bc._0x2f86d1,_0x3e49bc._0xc1f2c4,0x4d2))return _0x346a3a['text'];return JSON['stringify'](_0x346a3a);})[_0x957fb5(0x40d,0x425,_0x419eee._0x6c240f,_0x419eee._0x28e79b)](_0x23d2d5=>_0x23d2d5[_0x957fb5(0x532,0x5d7,0x567,0x499)]>0x0)[_0x840224(_0x419eee._0x23551c,_0x419eee._0x4a63f5,_0x419eee._0x27acba,0x40d)]('\x0a');if(_0x177654['length']>0x0)return _0x177654;return JSON[_0x957fb5(_0x419eee._0x5f4be7,_0x419eee._0x54ec84,_0x419eee._0x13b681,0x5cb)](_0x513abd,null,0x2);}function createMcpTool(_0x1b9fb6){const _0x116b3e={_0xde7431:0x21,_0x29ed0c:0xde,_0x539ac6:0x1b,_0x2e4462:0x3b,_0x18b180:0x19,_0x4853fe:0x36,_0x58e363:0x1a1,_0x23a7f6:0x398,_0x5a7c93:0x49a,_0x507e8f:0x453,_0x4deae7:0x114,_0x2ab5bc:0x7a},_0x15f598={_0x23b47f:0x231,_0x5eb8f5:0x1ea,_0x97181c:0x12e,_0x44f61e:0x261,_0x33e242:0x8c,_0x308cf2:0x49,_0x1d6343:0x210,_0xc11aa9:0x2a8,_0x5f2940:0xfd,_0x1cd8e0:0xb2,_0x5f1eb1:0x28d,_0x46e55f:0x1c9,_0x1a09c1:0xa6,_0x31f3eb:0x68,_0x3419e2:0xd3,_0x8f696d:0xfd,_0x5f44da:0x86,_0x240b9f:0x67},_0x442bae={_0x16106d:0x24,_0x2c0698:0x18f};function _0x275420(_0x492296,_0x1967e8,_0x4d1c94,_0x56a5e9){return _0x3342ed(_0x492296-0x1e0,_0x56a5e9,_0x492296- -0x2db,_0x56a5e9-0x175);}const _0x4346c5=createMcpToolName(_0x1b9fb6[_0x275420(-_0x116b3e._0xde7431,-_0x116b3e._0x29ed0c,-_0x116b3e._0x539ac6,-0xa6)],_0x1b9fb6['tool'][_0x275420(-_0x116b3e._0x2e4462,0x130,-0x188,_0x116b3e._0x18b180)]);function _0x721fed(_0x1b6eb4,_0x5762aa,_0x423ab0,_0x17b4d5){return _0x3342ed(_0x1b6eb4-_0x442bae._0x16106d,_0x423ab0,_0x5762aa-0x8f,_0x17b4d5-_0x442bae._0x2c0698);}return defineTool({'name':_0x4346c5,'description':_0x1b9fb6[_0x275420(_0x116b3e._0x4853fe,0xa,_0x116b3e._0x58e363,0xb1)][_0x721fed(_0x116b3e._0x23a7f6,0x424,_0x116b3e._0x5a7c93,_0x116b3e._0x507e8f)]??'MCP\x20tool\x20'+_0x1b9fb6['tool'][_0x275420(-_0x116b3e._0x2e4462,-_0x116b3e._0x4deae7,-_0x116b3e._0x2ab5bc,-0xe1)]+'\x20from\x20'+_0x1b9fb6['serverName'],'inputSchema':toNuvinToolSchema(_0x1b9fb6[_0x721fed(0x2fa,0x3a0,0x4fe,0x346)]['inputSchema']),async *'execute'(_0x34a1e0){const _0x488552={_0x35d532:0x5c,_0x20f876:0x2a3,_0x304191:0x1cc};function _0x153493(_0x6edc4c,_0x3cde21,_0x529ba2,_0x546df5){return _0x275420(_0x6edc4c-0x2c8,_0x3cde21-0x176,_0x529ba2-0x153,_0x3cde21);}const _0x426217=await _0x1b9fb6[_0x153493(_0x15f598._0x23b47f,_0x15f598._0x5eb8f5,0x1e3,_0x15f598._0x97181c)]['callTool']({'name':_0x1b9fb6[_0x153493(0x2fe,0x379,_0x15f598._0x44f61e,0x3b2)][_0x1bd97a(0x1d2,0xec,_0x15f598._0x33e242,-_0x15f598._0x308cf2)],'arguments':isJsonObject(_0x34a1e0)?_0x34a1e0:{}});if(_0x426217['isError'])throw new ToolExecutionError(formatMcpContent(_0x426217),{'serverName':_0x1b9fb6[_0x153493(0x2a7,_0x15f598._0x1d6343,0x263,_0x15f598._0xc11aa9)],'toolName':_0x1b9fb6[_0x1bd97a(-0x43,0x1d0,_0x15f598._0x5f2940,_0x15f598._0x1cd8e0)][_0x153493(_0x15f598._0x5f1eb1,0x139,0x14c,0x340)]});yield createToolOutput(formatMcpContent(_0x426217),{'serverName':_0x1b9fb6[_0x1bd97a(_0x15f598._0x46e55f,0x6e,_0x15f598._0x1a09c1,-_0x15f598._0x31f3eb)],'toolName':_0x1b9fb6[_0x1bd97a(0x1ef,_0x15f598._0x3419e2,_0x15f598._0x8f696d,0x72)][_0x1bd97a(0x0,-_0x15f598._0x5f44da,0x8c,-_0x15f598._0x240b9f)],'result':_0x426217});function _0x1bd97a(_0x3f6556,_0x1502bf,_0x15ec8b,_0x1f1646){return _0x721fed(_0x3f6556-_0x488552._0x35d532,_0x15ec8b- -_0x488552._0x20f876,_0x3f6556,_0x1f1646-_0x488552._0x304191);}return void 0x0;}});}function resolvePrefix(_0x979aa5,_0x172677){const _0x519311={_0x36f463:0x225,_0x3c11d8:0x8c,_0x5396dd:0x188,_0x38ea03:0x1af},_0x351fc8={_0x91b224:0x8c};function _0x67dbc(_0x384f42,_0x2c629d,_0x59ac1c,_0x1cd903){return _0x257320(_0x384f42-0x33,_0x2c629d-_0x351fc8._0x91b224,_0x1cd903- -0x196,_0x59ac1c);}return _0x172677[_0x67dbc(_0x519311._0x36f463,_0x519311._0x3c11d8,_0x519311._0x5396dd,_0x519311._0x38ea03)]??_0x979aa5;}function buildMcpHttpHeaders(_0x37ea16){const _0x48df43={_0x16fa5d:0x1f,_0x475ca7:0x6cf,_0x57613c:0x526,_0x5ee7a3:0x3f1,_0x2be99a:0x40f,_0x36827c:0x2da,_0x1cf0b6:0x1b3,_0x5f3d35:0x18a,_0x335657:0x656,_0x48ce39:0x64a,_0x2f6809:0x469,_0x19d2fa:0x5a8,_0x3dbaca:0x43d,_0x16c933:0x221,_0x2d1c5e:0x1bc,_0xcfc051:0x26a,_0x37785b:0x20e,_0x328944:0x324,_0x5e293f:0x3fd,_0x3eefd7:0x1c8,_0x2d50c0:0xad,_0x3f77de:0x154,_0x4aa3ed:0x2d6,_0x251fad:0x20},_0x18db5d={_0x1a9495:0x26,_0x51ee1a:0x291,_0x1327ad:0x117},_0x38d550={..._0x37ea16[_0x542fac(0x17d,0x229,_0x48df43._0x16fa5d,0x2b3)]??{}};_0x37ea16[_0xf6c91e(0x63b,_0x48df43._0x475ca7,0x684,_0x48df43._0x57613c)]?.[_0xf6c91e(_0x48df43._0x5ee7a3,_0x48df43._0x2be99a,0x4b0,0x5e2)]===_0x542fac(_0x48df43._0x36827c,0x293,0x273,0x423)&&_0x37ea16[_0x542fac(0x2fd,_0x48df43._0x1cf0b6,0x311,_0x48df43._0x5f3d35)][_0xf6c91e(_0x48df43._0x335657,0x508,0x54f,_0x48df43._0x48ce39)]&&_0x38d550[_0xf6c91e(0x58a,_0x48df43._0x2f6809,_0x48df43._0x19d2fa,_0x48df43._0x3dbaca)]===void 0x0&&(_0x38d550[_0x542fac(_0x48df43._0x16c933,0x368,0x27a,0xe8)]=_0x542fac(0x32e,_0x48df43._0x2d1c5e,0x370,_0x48df43._0xcfc051)+_0x37ea16[_0x542fac(0x2fd,_0x48df43._0x37785b,_0x48df43._0x328944,_0x48df43._0x5e293f)][_0x542fac(_0x48df43._0x3eefd7,_0x48df43._0x2d50c0,0xf9,_0x48df43._0x3f77de)]);function _0x542fac(_0x2aa30e,_0x2cb716,_0x3914e9,_0x5c1fc6){return _0x257320(_0x2aa30e-0x139,_0x2cb716-0x73,_0x2aa30e- -0x182,_0x2cb716);}function _0xf6c91e(_0x26e01,_0x14e833,_0xaaa26d,_0x94fefb){return _0x3342ed(_0x26e01-_0x18db5d._0x1a9495,_0x94fefb,_0xaaa26d-_0x18db5d._0x51ee1a,_0x94fefb-_0x18db5d._0x1327ad);}return Object[_0x542fac(0x18e,_0x48df43._0x4aa3ed,0x65,_0x48df43._0x251fad)](_0x38d550)['length']>0x0?_0x38d550:void 0x0;}function getErrorMessage(_0x1fdded){const _0x128e6a={_0x4b5f93:0x79d},_0x106b49={_0x440baa:0xd,_0x5ae2a0:0x182};function _0x360bcf(_0x30f46e,_0x3c0b8c,_0x461988,_0x2e5089){return _0x257320(_0x30f46e-_0x106b49._0x440baa,_0x3c0b8c-0x12,_0x2e5089-_0x106b49._0x5ae2a0,_0x461988);}return _0x1fdded instanceof Error?_0x1fdded[_0x360bcf(0x77b,_0x128e6a._0x4b5f93,0x613,0x6e7)]:String(_0x1fdded);}function isUnauthorizedError(_0x34395a){const _0xb4519e={_0x5c0edd:0x42a,_0x559aa3:0x44e,_0x483a4f:0x2d0,_0x1396d5:0x32a,_0x4e2fcf:0x351,_0x35ba0c:0x4bb},_0x5bf519={_0x26a9ff:0x187,_0x4e4244:0xa9,_0x463794:0x21},_0x3eec41={_0x495a26:0x473,_0x1f79cf:0xb0};function _0x563ef1(_0x47dad2,_0x1fd4b2,_0x21e0c2,_0x4fcf97){return _0x3342ed(_0x47dad2-0x1d0,_0x1fd4b2,_0x47dad2- -_0x3eec41._0x495a26,_0x4fcf97-_0x3eec41._0x1f79cf);}function _0x3a71b5(_0x3cd647,_0x4b6b13,_0x4d3805,_0x1d9c76){return _0x257320(_0x3cd647-_0x5bf519._0x26a9ff,_0x4b6b13-_0x5bf519._0x4e4244,_0x4b6b13-_0x5bf519._0x463794,_0x3cd647);}return _0x34395a instanceof Error&&_0x34395a[_0x3a71b5(_0xb4519e._0x5c0edd,0x46c,_0xb4519e._0x559aa3,0x3d6)][_0x563ef1(-0x1d3,-0x278,-_0xb4519e._0x483a4f,-0x186)]===_0x3a71b5(_0xb4519e._0x1396d5,_0xb4519e._0x4e2fcf,_0xb4519e._0x35ba0c,0x231);}async function connectMcpServer(_0x24f4ee,_0x54d2cf,_0x1e696b){const _0x55cf50={_0x3d5be3:0x2da,_0x51f31e:0x4cd,_0x5ff3a7:0x455,_0x1c6e2b:0x41f,_0x509405:0x48a,_0x58a17c:0x472,_0x2878d3:0x403,_0x34be9d:0x443,_0x485c6e:0x91,_0x11baf7:0x2a3,_0x26076f:0x361,_0xef916:0x145,_0x121266:0x2a3,_0x2f067e:0x2e,_0x5cf75c:0xf5,_0x32b9a3:0x3af,_0x49d2f1:0x311,_0x498598:0x377,_0x30e7cd:0x2ca,_0x589905:0x25a,_0x4334df:0x21e,_0x575cfa:0x24c,_0x2ede9f:0x26e,_0x26386e:0x1b7,_0x41eafb:0x193,_0x50cde6:0x527,_0x34d3d7:0x375,_0x4d4813:0x513,_0x486524:0x449,_0x59c2b7:0xc7,_0x9cab9d:0x8a,_0x4a5c9e:0x403,_0x71a077:0x578,_0x58115f:0x3bd,_0x553590:0x2ed,_0xe62084:0x228,_0x32d20f:0x3d5,_0x3f7397:0x46d,_0xf246d1:0x36c,_0x565a1f:0x3a3,_0x33aef1:0x2f9},_0x3e7578={_0xab5e43:0x2e},_0x5dee87={_0x4c5bf8:0x4e1},_0x26108e={_0x49287a:0x138,_0x515d79:0x7c},_0x489743={_0x51341d:0x5a7,_0x3a8f3a:0x58e},_0x1a8f8f={_0x5dec05:0x400,_0x3def13:0x3cd,_0x3a9e8a:0x463,_0x55b935:0x371,_0x1d2f0e:0x399,_0x37af15:0x7c2,_0x45adc7:0x749,_0x27bc20:0x867},_0x4f856b={_0x124d8c:0x1d9,_0x3b23e7:0x1c0},_0x364925={_0x4898c3:0x71,_0x10c6af:0x23c,_0x3c280c:0xcd},_0x533a93={_0x1ebf83:0x133,_0x4b2968:0xd2};function _0x294687(_0x167476,_0x422606,_0x19627d,_0x490bbe){return _0x3342ed(_0x167476-_0x533a93._0x1ebf83,_0x19627d,_0x167476-_0x533a93._0x4b2968,_0x490bbe-0x106);}function _0x249e98(_0x2462ff,_0x4c8e90,_0x394e0e,_0x227584){return _0x3342ed(_0x2462ff-_0x364925._0x4898c3,_0x227584,_0x4c8e90- -_0x364925._0x10c6af,_0x227584-_0x364925._0x3c280c);}const _0x515c31=new Client({'name':_0x249e98(_0x55cf50._0x3d5be3,0x1b1,0x2e3,0x1c5),'version':_0x249e98(-0x149,-0x17,-0x186,-0x121)});_0x515c31[_0x294687(0x45e,_0x55cf50._0x51f31e,_0x55cf50._0x5ff3a7,0x46f)]=_0x3f2074=>{function _0x151bd8(_0x25681b,_0x10a322,_0x5ac251,_0x2b1901){return _0x294687(_0x5ac251-0x231,_0x10a322-0x1b1,_0x25681b,_0x2b1901-0x160);}function _0x304458(_0x176702,_0xce2ba5,_0x5d6f24,_0x2165eb){return _0x249e98(_0x176702-0x162,_0x2165eb-_0x4f856b._0x124d8c,_0x5d6f24-_0x4f856b._0x3b23e7,_0x5d6f24);}console[_0x304458(_0x1a8f8f._0x5dec05,_0x1a8f8f._0x3def13,_0x1a8f8f._0x3a9e8a,_0x1a8f8f._0x55b935)](_0x304458(_0x1a8f8f._0x3a9e8a,0x2e5,_0x1a8f8f._0x1d2f0e,0x378)+_0x24f4ee+_0x151bd8(_0x1a8f8f._0x37af15,_0x1a8f8f._0x45adc7,0x7ef,_0x1a8f8f._0x27bc20),_0x3f2074['message']);};if(_0x54d2cf['transport']===_0x249e98(0x1d8,0x2ad,0x2c8,0x1ca)||_0x54d2cf[_0x294687(_0x55cf50._0x1c6e2b,_0x55cf50._0x509405,0x2a7,0x4ab)]){if(!_0x54d2cf[_0x294687(0x41f,_0x55cf50._0x58a17c,0x48b,0x4ca)])throw new Error(_0x294687(_0x55cf50._0x2878d3,_0x55cf50._0x34be9d,0x32a,0x3be)+_0x24f4ee+'\x20requires\x20url\x20for\x20http\x20transport');if(_0x54d2cf[_0x249e98(0x2bc,0x1b7,0x22a,_0x55cf50._0x485c6e)]?.['type']===_0x249e98(0x323,_0x55cf50._0x11baf7,0x21a,_0x55cf50._0x26076f)&&!_0x1e696b?.[_0x249e98(_0x55cf50._0xef916,_0x55cf50._0x121266,0x175,0x3d0)])throw new Error(_0x249e98(-_0x55cf50._0x2f067e,_0x55cf50._0x5cf75c,0x205,0x12e)+_0x24f4ee+_0x294687(_0x55cf50._0x32b9a3,_0x55cf50._0x49d2f1,0x3af,0x240));const _0x59a0c2=buildMcpHttpHeaders(_0x54d2cf),_0x5dbe70=_0x54d2cf['auth']?.['type']===_0x249e98(_0x55cf50._0x498598,0x2a3,0x198,_0x55cf50._0x30e7cd)&&_0x1e696b?.['oauth']?createMcpOAuthProvider({'serverName':_0x24f4ee,'callbackUrl':_0x1e696b[_0x249e98(_0x55cf50._0x589905,0x2a3,0x3ed,0x3d5)]['callbackUrl'],'storageDir':_0x1e696b[_0x249e98(_0x55cf50._0x4334df,0x2a3,_0x55cf50._0x575cfa,_0x55cf50._0x2ede9f)]['storageDir'],'config':_0x54d2cf[_0x249e98(0xd9,_0x55cf50._0x26386e,_0x55cf50._0x41eafb,0x20e)],'onRedirect':_0x210571=>_0x1e696b[_0x249e98(0x2a5,0x2a3,0x40f,0x362)]?.['onRedirect'](_0x24f4ee,_0x210571)}):void 0x0,_0x22b392=new StreamableHTTPClientTransport(new URL(_0x54d2cf[_0x294687(_0x55cf50._0x1c6e2b,_0x55cf50._0x50cde6,0x3e0,_0x55cf50._0x34d3d7)]),{'authProvider':_0x5dbe70,'requestInit':_0x59a0c2?{'headers':_0x59a0c2}:void 0x0});await _0x515c31[_0x294687(_0x55cf50._0x4d4813,_0x55cf50._0x486524,0x5a3,0x3f7)](_0x22b392);}else{if(!_0x54d2cf[_0x249e98(-0x1b,_0x55cf50._0x59c2b7,0x1ee,-_0x55cf50._0x9cab9d)])throw new Error(_0x294687(_0x55cf50._0x4a5c9e,_0x55cf50._0x71a077,_0x55cf50._0x58115f,0x4ec)+_0x24f4ee+_0x249e98(_0x55cf50._0x553590,_0x55cf50._0xe62084,0xe0,0x23b));const _0x49b84b=new StdioClientTransport({'command':_0x54d2cf[_0x294687(_0x55cf50._0x32d20f,_0x55cf50._0x3f7397,_0x55cf50._0xf246d1,_0x55cf50._0x565a1f)],'args':_0x54d2cf[_0x249e98(0x47,0x124,0x4a,0x29a)]??[],'env':_0x54d2cf[_0x294687(0x3ed,_0x55cf50._0x33aef1,0x3f7,0x553)],'stderr':'pipe'});await _0x515c31['connect'](_0x49b84b);}return{async 'listTools'(){function _0x4e48e9(_0x552198,_0x4573ba,_0x34efb3,_0x2855d6){return _0x249e98(_0x552198-0x8,_0x552198-0x485,_0x34efb3-0x1f1,_0x34efb3);}return await _0x515c31[_0x4e48e9(0x6b9,0x5b4,_0x489743._0x51341d,_0x489743._0x3a8f3a)]();},async 'callTool'(_0x4cf4f6){function _0x1b0286(_0x19e0b0,_0x274d4c,_0x449bbf,_0x3452c9){return _0x294687(_0x449bbf-_0x26108e._0x49287a,_0x274d4c-0x15,_0x19e0b0,_0x3452c9-_0x26108e._0x515d79);}return await _0x515c31[_0x1b0286(0x5d1,0x61c,0x5c2,_0x5dee87._0x4c5bf8)]({'method':'tools/call','params':_0x4cf4f6},CallToolResultSchema);},async 'close'(){const _0x299b8d={_0x3ccd9c:0x1c5};function _0x46df8b(_0x40dc3c,_0x249c5e,_0x40b626,_0x28b840){return _0x249e98(_0x40dc3c-0x108,_0x28b840- -0x1a,_0x40b626-_0x299b8d._0x3ccd9c,_0x40b626);}await _0x515c31[_0x46df8b(0x145,-0xca,-_0x3e7578._0xab5e43,0x76)]();}};}async function createMcpToolsFromServers(_0x3e300d){const _0x4263fb={_0x2617af:0x53e,_0x801d16:0x522,_0x378483:0x5b3,_0x5c9038:0x6b4,_0x218ed4:0x3bf,_0x3eaf25:0x371,_0x572732:0x4c8,_0x5326b3:0x38b,_0x2829a3:0x4f8,_0x4cc659:0x4eb,_0x58c2de:0x28a,_0x325240:0x3a1,_0x5c7b50:0x4a0,_0x224ca0:0x451,_0x4aea97:0x727,_0xa8c9d3:0x5e2,_0x498d9c:0x4ea,_0x493e7:0x4da,_0x2e9403:0x3bb,_0xbaf3a:0x46e,_0x1292ea:0x4a3,_0x3331d5:0x501,_0x55b4e9:0x5aa,_0x513f0e:0x398,_0x2e4004:0x651},_0x414bb4={_0x66db3d:0x364,_0x308711:0x303,_0x5cd26c:0x28d},_0x114439={_0x45accd:0x165,_0x537ee8:0x89,_0x560e47:0x4f},_0x15818b=_0x3e300d[_0x33b52d(_0x4263fb._0x2617af,_0x4263fb._0x801d16,_0x4263fb._0x378483,_0x4263fb._0x5c9038)]??connectMcpServer;function _0x39a778(_0x459a8d,_0x25bfad,_0xbdad7c,_0x3010df){return _0x257320(_0x459a8d-_0x114439._0x45accd,_0x25bfad-_0x114439._0x537ee8,_0x459a8d- -_0x114439._0x560e47,_0xbdad7c);}const _0x473447=[],_0x2d2102={},_0x586d5a=[];function _0x33b52d(_0x4133b3,_0x274912,_0x13f108,_0xea3c64){return _0x257320(_0x4133b3-0x4a,_0x274912-0xa3,_0x13f108-0xe6,_0x274912);}for(const [_0x31ea91,_0x5d9054]of Object[_0x33b52d(_0x4263fb._0x218ed4,_0x4263fb._0x3eaf25,_0x4263fb._0x572732,_0x4263fb._0x5326b3)](_0x3e300d[_0x39a778(_0x4263fb._0x2829a3,_0x4263fb._0x4cc659,0x528,0x401)]??{})){if(_0x5d9054[_0x39a778(_0x4263fb._0x58c2de,0x255,0x1ae,_0x4263fb._0x325240)]===![]){_0x2d2102[_0x31ea91]={'status':'disabled'};continue;}try{const _0x229722=await _0x15818b(_0x31ea91,_0x5d9054,_0x3e300d['connection']);_0x473447[_0x33b52d(0x414,_0x4263fb._0x5c7b50,_0x4263fb._0x224ca0,0x338)](_0x229722);const _0x53f977=await _0x229722[_0x33b52d(_0x4263fb._0x4aea97,0x644,_0x4263fb._0xa8c9d3,_0x4263fb._0x498d9c)]();let _0x522303=0x0;for(const _0x1f393c of _0x53f977[_0x33b52d(_0x4263fb._0x493e7,_0x4263fb._0x2e9403,0x4cc,_0x4263fb._0xbaf3a)]){const _0x13855a=_0x3e300d[_0x39a778(0x4f4,_0x4263fb._0x1292ea,0x4e1,_0x4263fb._0x3331d5)]?.[_0x31ea91]?.[_0x1f393c['name']];if(_0x13855a===![])continue;_0x522303+=0x1,_0x586d5a[_0x33b52d(0x532,0x4c1,_0x4263fb._0x224ca0,_0x4263fb._0x55b4e9)](createMcpTool({'serverName':resolvePrefix(_0x31ea91,_0x5d9054),'tool':_0x1f393c,'client':_0x229722}));}_0x2d2102[_0x31ea91]={'status':'connected','toolCount':_0x522303};}catch(_0x309fe7){_0x2d2102[_0x31ea91]=isUnauthorizedError(_0x309fe7)?{'status':_0x39a778(_0x4263fb._0x513f0e,0x36d,0x3a9,0x2e8),'message':getErrorMessage(_0x309fe7)}:{'status':_0x33b52d(0x533,0x4eb,0x546,_0x4263fb._0x2e4004),'message':getErrorMessage(_0x309fe7)};}}return{'tools':_0x586d5a,'servers':_0x2d2102,async 'close'(){const _0x2a0a4f={_0x260931:0x404},_0x2e18d6={_0x1babee:0x10b};function _0x460dc0(_0x627a29,_0x17e549,_0x28f4c0,_0x59ed17){return _0x39a778(_0x28f4c0- -0x4c4,_0x17e549-_0x2e18d6._0x1babee,_0x627a29,_0x59ed17-0xcc);}function _0x54f4ec(_0x8e217b,_0x373543,_0x3b497c,_0x465fd5){return _0x33b52d(_0x8e217b-0x88,_0x8e217b,_0x3b497c- -_0x2a0a4f._0x260931,_0x465fd5-0x1e0);}await Promise[_0x460dc0(-0x21f,-_0x414bb4._0x66db3d,-0x211,-0x1e3)](_0x473447[_0x460dc0(-_0x414bb4._0x308711,-_0x414bb4._0x5cd26c,-0x1f6,-0xaf)](_0x5ee201=>_0x5ee201[_0x460dc0(-0x1f9,-0x247,-0x1bb,-0x1fe)]()));}};}function getCommand(_0x4cf8b4){const _0x89e342={_0x5d43cc:0x33,_0x58863f:0x54,_0x3d126c:0x29,_0x3c7961:0x9e,_0x2b675a:0x168,_0x230bc3:0x404,_0x4e53c7:0x3ba,_0x472c80:0x4d1,_0x2e47f0:0x349},_0x28c1ce={_0x5107a3:0x125,_0x4941dc:0x2b},_0x3bdb13={_0x4ee99a:0x8b};function _0x1c544b(_0x18edec,_0x175300,_0x47c918,_0x2c0dd8){return _0x3342ed(_0x18edec-0xfe,_0x18edec,_0x2c0dd8- -0x1c6,_0x2c0dd8-_0x3bdb13._0x4ee99a);}function _0xf71274(_0x3cd8a1,_0x3cc640,_0x5a8f4b,_0x5519cc){return _0x257320(_0x3cd8a1-0x3a,_0x3cc640-_0x28c1ce._0x5107a3,_0x5519cc-_0x28c1ce._0x4941dc,_0x5a8f4b);}if(_0x4cf8b4&&typeof _0x4cf8b4===_0x1c544b(-_0x89e342._0x5d43cc,_0x89e342._0x58863f,_0x89e342._0x3d126c,_0x89e342._0x3c7961)&&!Array[_0x1c544b(0x84,0x14a,0xe8,_0x89e342._0x2b675a)](_0x4cf8b4)&&typeof _0x4cf8b4[_0xf71274(_0x89e342._0x230bc3,0x249,0x510,_0x89e342._0x4e53c7)]==='string')return _0x4cf8b4[_0xf71274(0x473,_0x89e342._0x472c80,0x45e,0x3ba)];return _0xf71274(0x376,_0x89e342._0x2e47f0,0x463,0x302);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x257320(0x3f6,0x43b,0x472,0x378),_0x257320(0x337,0x2a6,0x304,0x3de),_0x3342ed(0x255,0x219,0x24a,0x279),_0x3342ed(0x394,0x466,0x4d8,0x43a),_0x257320(0x46b,0x5aa,0x539,0x4bd),_0x3342ed(0x524,0x424,0x45e,0x2f9),_0x3342ed(0x32d,0x35f,0x39b,0x504),_0x257320(0x5bf,0x506,0x4e6,0x62a),_0x257320(0x57d,0x37e,0x4eb,0x583),'src/formats/provider-adapters.ts',_0x3342ed(0x1cc,0x138,0x25c,0x261),_0x257320(0x527,0x622,0x53d,0x428),_0x3342ed(0x2ff,0x38f,0x3a9,0x3f1),_0x3342ed(0x279,0x1a2,0x22c,0xf6),'src/formats/provider-adapters.test.ts',_0x257320(0x2e3,0x273,0x2ca,0x37f)][_0x257320(0x559,0x507,0x4c2,0x4ea)]('\x0a'),SHELL_EXEC_TOOL={'name':'Bash','description':_0x257320(0x561,0x3df,0x3fd,0x4f5),'input_schema':{'type':'object','properties':{'command':{'type':_0x257320(0x3a0,0x605,0x518,0x50d)}},'required':[_0x257320(0x43a,0x33d,0x38f,0x48b)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x22a242){return{'output':_0x22a242,'structured':{'value':_0x22a242}};}function createUnknownToolResult(_0x5a5ffa){const _0xfd4dde={_0x124be2:0x1f6,_0x4a8e14:0x308,_0x379415:0x340,_0x59783a:0x32a,_0x5d695d:0x478,_0x4f6e0e:0x229,_0x31cbd3:0x3e3},_0x5efea9={_0x2c8ee5:0x89,_0x511708:0x17a},_0x3c83b9={_0x5e6cb2:0x14,_0x498fd9:0x136};function _0x12b2f7(_0x5514fd,_0x49ad96,_0x4ee028,_0x1faea9){return _0x257320(_0x5514fd-0x114,_0x49ad96-_0x3c83b9._0x5e6cb2,_0x5514fd- -_0x3c83b9._0x498fd9,_0x4ee028);}function _0x2768a9(_0x2feaf5,_0x519d29,_0x24b5fc,_0x35896e){return _0x3342ed(_0x2feaf5-_0x5efea9._0x2c8ee5,_0x519d29,_0x2feaf5-0x276,_0x35896e-_0x5efea9._0x511708);}return{'callId':_0x5a5ffa['id'],'toolName':_0x5a5ffa[_0x12b2f7(_0xfd4dde._0x124be2,0x247,_0xfd4dde._0x4a8e14,_0xfd4dde._0x379415)],'status':_0x12b2f7(_0xfd4dde._0x59783a,_0xfd4dde._0x5d695d,_0xfd4dde._0x4f6e0e,_0xfd4dde._0x31cbd3),'output':_0x12b2f7(0x379,0x4d0,0x47d,0x40b)+_0x5a5ffa['name'],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x3cc7b2,_0x531ce8){const _0x4c3b84={_0x2ca2fb:0x486},_0x45a49b={_0x1f7b4e:0x1dc};function _0x33f2a2(_0x49d2bd,_0x338206,_0x5e54fa,_0x5e5fbc){return _0x3342ed(_0x49d2bd-0x58,_0x49d2bd,_0x5e5fbc-_0x45a49b._0x1f7b4e,_0x5e5fbc-0xa4);}return{'callId':_0x3cc7b2['id'],'toolName':_0x3cc7b2[_0x33f2a2(0x386,_0x4c3b84._0x2ca2fb,0x40f,0x47c)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x3cc7b2['input']),'exitCode':0x0},'chunks':[_0x531ce8],'meta':createMeta()};}function createMockToolRuntime(){const _0x5ea0b8={_0x34e029:0x427},_0x1a222a={_0x13eb53:0x25b},_0xce6a80={_0x2639ee:0x404,_0x107c21:0x4f0,_0x2eaaed:0x4b3,_0x2dbde9:0x576},_0x475ea6={_0x6618af:0x1ab},_0x327d12=async(_0x185094,_0x412117)=>{function _0x3fa7bf(_0x386477,_0x2cff03,_0x348966,_0x152654){return _0x1df5(_0x152654- -0x3bd,_0x348966);}if(_0x185094[_0xecd5f0(0x3d4,_0xce6a80._0x2639ee,_0xce6a80._0x107c21,0x386)]!==_0xecd5f0(0x664,0x5fe,_0xce6a80._0x2eaaed,_0xce6a80._0x2dbde9))return createUnknownToolResult(_0x185094);const _0x3bcc54=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0xecd5f0(_0x5b54bd,_0x540dad,_0x2a5bfd,_0x30fb16){return _0x1df5(_0x30fb16-_0x475ea6._0x6618af,_0x540dad);}return createSuccessToolResult(_0x185094,_0x3bcc54);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x2b5ece,_0x5b384d){function _0x5377f9(_0xdd3a3c,_0x3f2ad6,_0x3d641e,_0x42a9a5){return _0x1df5(_0x3d641e-_0x1a222a._0x13eb53,_0x42a9a5);}return await Promise['all'](_0x2b5ece[_0x5377f9(0x574,0x3c6,_0x5ea0b8._0x34e029,0x36e)](async _0x1641ac=>{return await _0x327d12(_0x1641ac,_0x5b384d);}));},async 'execute'(_0x2b8b03,_0x279a7b){return await _0x327d12(_0x2b8b03,_0x279a7b);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x15d9a2={_0x286d24:0x8f},_0x2f6e16={_0x3e830c:0x1bc,_0x3066b3:0x40a,_0x35df89:0xfd};delegatedRunCounter+=0x1;function _0x5b9f42(_0x14fed8,_0x5a9ec8,_0x17dab9,_0x288e2d){return _0x3342ed(_0x14fed8-_0x2f6e16._0x3e830c,_0x14fed8,_0x288e2d- -_0x2f6e16._0x3066b3,_0x288e2d-_0x2f6e16._0x35df89);}return _0x5b9f42(0x45,-_0x15d9a2._0x286d24,-0x189,-0x29)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x38a2b0,_0x34045f){const _0x5d894c={_0x43cbff:0x3f,_0xa3cc61:0x188,_0xf46ace:0x36},_0x14e6af={_0x544897:0xf7};function _0x589fe8(_0xe6c5b,_0x225808,_0x56ef8e,_0x538161){return _0x257320(_0xe6c5b-0x1c1,_0x225808-_0x14e6af._0x544897,_0x538161- -0x4c1,_0x56ef8e);}return typeof _0x38a2b0===_0x589fe8(_0x5d894c._0x43cbff,_0x5d894c._0xa3cc61,-0xa2,_0x5d894c._0xf46ace)?await _0x38a2b0(_0x34045f):_0x38a2b0;}function getDelegatedAgentDefinition(_0x501943,_0x574b22){const _0x454e9c={_0x1db7bc:0x181};function _0x3d89c8(_0x537206,_0x16a39a,_0x4237ce,_0x11678c){return _0x3342ed(_0x537206-0xec,_0x11678c,_0x16a39a- -0x1c9,_0x11678c-0x143);}return _0x501943[_0x3d89c8(0x1cc,_0x454e9c._0x1db7bc,0xa7,0x39)]?.[_0x574b22];}function _0x2ed3(){const _0x38a3a2=['C2fMzq','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','ignVBxbSzxrLzc4','zNjVBq','zMLSztOVlW','zxHPDenVzgu','zgvSzxrL','A2LSBfjLCxvLC3rLza','BNv2Aw4','l2jPBI9ZAa','zw51Bq','Dhj1zwnVBg9Y','C2HPzNq','CgfZC3rOCM91z2G','yxv0Aa','DgvZDa','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','ANnVBMm','yMLUyxj5tMfTzq','vxbKyxrLihrOzsbZzxnZAw9UihrVCgLJihrVigeGy29Uy2LZzsaZltyGD29YzcbUB3vUihbOCMfZzsb0Agf0ignHChr1CMvZihrOzsbJDxjYzw50ihn1yMPLy3qUcGPdywXSihrOAxmGDg9VBcb3AgvUihrOzsbZzxnZAw9Uj3mGC3vIAMvJDcbIzwnVBwvZignSzwfYig9YihnOAwz0CYb0BYbZB21LDgHPBMCGy2XLyxjSEsbKAwzMzxjLBNqG4Ocuig5VDcbMB3iGBwLUB3iGDgfUz2vUDhmGB3iGy2XHCMLMEwLUzYbZDwiTCxvLC3rPB25ZlIbjzIbUB3rOAw5NigHHCYbTzwfUAw5NzNvSBhKGy2HHBMDLzcWGzg8GBM90ignHBgWGAxqUcGPhB29KihrVCgLJicHUB3vUihbOCMfZzsWGmY02ihDVCMrZktOkicaIrgvIDwCGvfmGz2vUzxjPy3mGzxjYB3iIcIaGiLjLzMfJDg9Yigf1DgGGBwLKzgXLD2fYzsikicaIqwrKifn0CMLWzsb3zwjOB29RigHHBMrSzxiIcGPcywqGDg9WAwmGkgz1BgWGC2vUDgvUy2uGB3iGDMfNDwuPoGOGicjuAguGDxnLCIb3yw50CYb0BYbKzwj1zYbHifr5Cgvty3jPChqGz2vUzxjPy3mGzxjYB3iGAw4GDgHLAxiGChjVAMvJDcikicaIy29KAw5NiG','y2fWywjPBgL0AwvZ','Dgv4DerVy3vTzw50l2rPzenSB3nL','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','lMPWzW','sgLUDa','DxjP','B3b0Aw9UywW','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','zgLYzwn0B3j5','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','lw5i','AxngAw5PDgu','ndG2mZb3qKrRDfm','ihDHCYbHyM9YDgvKlG','yNjVA2vU','s2LSBgvKia','BgLI','CgfYC2u','C2HHmJu2','CMfUz2u','zMLSzvbHDgG','C3rYAxbbBNnP','A2v5','CMvJB3jK','CMvNAw9U','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','yxv0Ag9YAxPHDgLVBL9JB2rL','yNvUlMXVy2S','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','ls1NBg9IpseUz2L0lYO','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','y29KzvzLCMLMAwvY','Aw1Hz2uVANbLzW','y291BNq','ie9sia','z2v0vg9KB3m','ls0T','zgfYAW','v2fYBMLUzW','AwzYyw1L','B3rOzxi','vMLLD2vKigLTywDLigzPBgu6ia','vw5RBM93BIb0B29SoIa','qMvHCMvYia','yMfZAwm','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','rxjYB3i','C2vHCMnOrgvWDgG','vg9KB1DYAxrL','CgfYzw50u2vZC2LVBKLK','Cg5WBs1SB2nRlNLHBwW','tM8GC3vJAcbMAwXLoIaN','yMLVBwu','yw5ZD2vYCW','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','Dg90ywXqCM9KDwnLza','EMfP','C2vUzfjLCxvLC3q','icHWAwqG','Cgf0Ag5HBwu','oIbPBNzHBgLKihbYAw9YAxr5','AM9PBG','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','C2H1DgrVD24','C3rHCNrZv2L0Aa','y29Uy2f0','vw50AxrSzwq','Bw9Kzq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','zgf0yq','tM8GAg92zxiGAw5MB3jTyxrPB24','mtaUmc4WlJa','y29UBMvJDa','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','Bwf4uMvKAxjLy3rZ','mJi0lJaUmc4W','Ag9ZDg5HBwu','D29YA3nWywnLl3n5BwjVBa','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','zMLSBa','Bg9JywXLq29TCgfYzq','C3rKzxjYrgvJB2rLCG','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','r2XVyG','ChvIBgLZAgvKqxq','BgLUzu51Bq','tg9HzfnRAwXS','yMLVBwuUANnVBMm','DhjPBuvUza','zxjYB3jZ','C3bHD24','Aw5PDgLHBgL6zwq','zgvMyxvSDa','CMvNzxG','B3bLBG','BgLUzvrLEhq','zMfPBgvK','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','yxnZAwDU','q29Tu3bLyW','C3jJl2v4yw1WBgvZl2rLBw8UDhm','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','AhrTBfnUAxbWzxq','lNrZ','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','AwDUB3jLt3v0Chv0','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','CMvHC29U','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','BxrPBwu','thnW','BxrPBwvnCW','D3jPDgu','zNvUy3rPB24','zgvMyxvSDfrPBwvVDxrnCW','CMfUzg9T','y2XPzw50x3nLy3jLDf9WB3n0','yNvMzMvYq2HHCNm','BgLZDfrVB2XZ','y29UDgvUDa','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','C2L6zq','zw5NAw5LCW','tuvesvvn','y29UDgv4Da','C2HLBgXqyxrO','Aw5JBhvKzq','igzHAwXLzc4','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','ygbG','A2v5yMLUzgLUz3m','zMXHDe1HCa','DhvYBMrVD24','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','DhLWzxnJCMLWDhjLywn0','CNvUBMLUzW','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','zMLUza','sw52B2TLq29TBwfUza','lI4U','u2HLBgWGBM90igzVDw5KoIa','z2XVyG','C2XPy2u','CgXHAw4','CMvMCMvZAf90B2TLBG','Dg9Rzw5tDg9YywDLs2v5','C3rYAw5N','zMLUywXnzxnZywDLvgv4Da','lMjPBG','y29TBwfUzhm','qMfZAa','C3LTBgLUAW','DxrTx21LzgL1Bq','zgv0ywLS','Aw52ywXPzf9XDwvZDgLVBNm','BgvUz3rO','CMvZDwX0','wZ0+nY04kcLD','BM9Zy3jPChq','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','BMf2','C2nYDwjfBNzlzxLZ','yw50AhjVCgLJ','B3bLBMfP','y2HHCMfJDgvY','v2LUr2v0','B3bLBMfPlxjLC3bVBNnLCY13CW','te9x','y2f0y2G','Dg9vChbLCKnHC2u','CMLWz3jLCa','zgvSAw1PDgvY','zxH0BMfTzq','y2XPzw50CW','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','ugf0AcbPCYbUB3qGysbMAwXLoIa','BxvSDgLtzwXLy3q','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','vg9Vig1HBNKGCMvKAxjLy3rZ','ls1MAwXLCW','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','C3jJl3nOyxjLzc90ExbLCY50CW','r09pr0Xfx0ntrv9dwa','D29YA3nWywnLu3LTyM9S','Dg9Rzw5Z','Aw5JBhvKzxm','ode5nZy1rM9vrg14','ywXSB3DLzfrVB2XZ','DxrMoa','ChjVDg9JB2W','y29ZDa','C2vYDMvYCW','yw50AhjVCgLJlw1LC3nHz2vZ','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','DhnZzxj2zxiUANm','CxvLC3rPB24','Bg93','zgLZCg9Zzq','phn5C3rLBs1Yzw1PBMrLCJ4','B2zMC2v0','Ag9TzwrPCG','DgfZAW','r0Lusfvcx0fdq0vtu19ut0TftG','C2vUze5VDgLMAwnHDgLVBG','BgLZDgvU','Dg90ywXeCM9WCgvK','C2HLBgXjza','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','y2fWq2HHCNm','v2vIrMv0y2G','BhnWu2vYDMLJzq','tM8GCMvZDwX0CYbMB3vUzc4','CNvUswq','yNvUlMXVy2TI','yMfJA2DYB3vUzfjLz2LZDhj5','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','mJqWlJaUmc4W','zgLYBMfTzq','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','C3jJl2fNzw50l2fNzw50lNrZ','BwvZC2fNzq','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','zgf0zxrPBwu','C3rKB3v0rgvJB2rLCG','C3bSAxq','CgLK','B2f1DgG','DxrTx3rLCM0','yxr4','u0HfteW','zgLNzxn0','sfruuca','B2XKvgv4Da','ywrK','ls1OAwrKzw4','AwDUB3jL','Ahr0Ca','C3rHCNreAxi','CMvZDwX0CW','xsb0CMfUC3bVCNqGzxjYB3i6','seLhsa','DhLWzxnJCMLWDa','Bwf4q29Uy3vYCMvUDa','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbJB21Tyw5KigrVzxmGyw5KihDOEsb5B3uGyxjLihj1BM5PBMCGAxqG4OcuihrOzsbNB2fSigL0igfKDMfUy2vZlIbtAg93BIb0BYb0AguGDxnLCIbIzwzVCMuGzxHLy3v0Aw9UlIbczsbZCgvJAwzPyYWGzs5NlIaNuNvUihrOzsbHDxrOihrLC3rZihrVihzLCMLMEsb0AguGDg9Rzw4TCMvMCMvZAcbMAxGNihjHDgHLCIb0AgfUicDYDw4GDgvZDhmNlG','BhnWlxbYB3H5','rM91BMqG','CMvHzen1CNnVCG','Aw1Hz2vZ','z29Vz2XLlwnZzq','y3jSzG','C3rHDgu','ChjLCgfYzunHBgXiAwvYyxjJAhK','CMvJzw5JEurHExm','ru5pru5u','igj5DgvZicHVCMLNAw5HBdOG','ywjVCNrLza','Aw5JB21PBMDdywXSCW','AgfUzgXL','zxHPDgvK','mc4WlJaUma','DhnJ','qxnZAwDUvgfZAW','Aw52ywXPzf90B2rVx2L0zw0','CMvWBgfJzq','yxjYyxK','B2XSyw1H','y2XLyxi','yNL0zuXLBMD0Aa','zMLSzq','zw5NAw5L','cGPbuKDvtuvovfm6ia','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','y2HHCKnVzgvbDa','uhvIBgLZAgvKoIa','Bg9VA3vW','B2zM','DhLWzq','DxbKyxrL','C2v0','BM90Awz5','AhLKCMf0zu1LDge','BgfUzW','mc4WlJa','qvbjx0Tfwq','CgfJA2fNzs1SB2nRlMPZB24','yNvMzMvY','y2fSBgjHy2TvCMW','r3jLCa','CgXHAw50zxH0','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','zMLSzvzLCNnPB25Z','BgfZDeLUzgv4t2y','yw5ZAti1nG','z2L0qNjHBMnO','C2vUza','BgLTAxq','AMf2yxnJCMLWDhjLywn0','Dg9KB3m','z2L0AhvI','yxbPs2v5','DhjPBq','z2v0u3rHDhm','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','lNrZEa','CMvMzxjLBMnLCW','Aw1Hz2uVD2vICa','y2vPBa','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','mJa5mZuWnej4r2rArW','CgfYC2vjBNq','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','BM93','y2XPzw50','Aw1WBgvTzw50yxrPB24','BgLUzvn0yxj0','vg9KBYa','uhjVz3jHBuzPBgvZ','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','CgfJA2fNzs5QC29U','BhmGlwXH','s2LSBfnOzwXS','zw5HyMXLza','DgLTzw91De1Z','AxnfBMfIBgvK','Dgv4DerVy3vTzw50l2rPze9Wzw4','C2vZC2LVBKLK','lMnQCW','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','CMvSyxrPDMu','y29UDgvUDc10ExbL','C3rKAw8','zxzPy3rjzK5LzwrLza','Bwf4','B3v0Chv0','qMfZAe91Dhb1Da','ywXSB3DLzerPCNm','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','Aw52ywXPzf90B2rVx3bYAw9YAxr5','BgLNAhq','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','ls1YzwDLEha','DgL0Bgu','l3vZCI9IAw4VC2G','mtKYlJaUmc4W','B2jQzwn0','C2H1DgrVD25tDgfYDgvK','yxbWBgLJyxrPB24VANnVBG','CNvUsw5cywnRz3jVDw5K','u0Lhs0Lmta','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','z29Vz2XLq3nLs2v5','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4Grg8GBM90ihvZzsbMB3iGCMvHzgLUzYbMAwXLCYaODxnLiezPBgvszwfKigLUC3rLywqPlIbtzxqGCNvUsw5cywnRz3jVDw5KoNrYDwuGzM9YigXVBMCTCNvUBMLUzYbJB21Tyw5KCYaOC2vYDMvYCYWGD2f0y2HLCNmPoIbPDcbYzxr1CM5ZigeGC2HLBgXjzcbPBw1LzgLHDgvSEsdIGjqGCMvHzcbVDxrWDxqGD2L0AcbcyxnOt3v0Chv0igfUzcbZDg9WigL0ihDPDgGGs2LSBfnOzwXSlIbetYbot1qGvvnfiejbu0GGve9ptcbMB3iGCMvHzcbMAwXLihvZzsbgAwXLuMvHzc4Gww91ie1vu1qGChjVDMLKzsbHignVBMnPC2uGygrLC2nYAxb0Aw9UycbLEhbSywLUAw5NihDOyxqGDgHLignVBw1HBMqGzg9LCYbHBMqGD2H5ihLVDsbHCMuGCNvUBMLUzYbPDcaODgHLigDVywWGAxqGywr2yw5JzxmPiokaLcbPDcbPCYbZAg93BIb0BYb0AguGDxnLCIbMB3iGDhjHBNnWyxjLBMn5igjLzM9YzsbLEgvJDxrPB24U','mtmZnZq0mfzxt3fRtq','Bwv0yq','CgfNzw1HCa','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','C3rVCMfNzurPCG','CxvLC3rPB25Z','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','AgvHzgvYCW','CM9VDa','r09pr0Xfx0ntrv9lrvK','ywXS','ywn0AxzL','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','BMv3vgv4Da','mtKYlJe2oc4WlJa','BwfYA2rVD24','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','BwfUDwfS','Dg9VBenHBgXjza','zxjYB3jnzxnZywDL','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','lMPWzwC','A2v5CW','rMLSzuvKAxq','pc9ZExn0zw0TCMvTAw5Kzxi+','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','Bwf4qNL0zxm','yMLVBwuUANnVBG','A2LSBa','zMv0y2HjBxbS','qwXSia','BM9Kzv9TB2r1BgvZ','ANnJB25MAwCUANnVBG','ndu5mJa4AeTfCuj3','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','BwfW','y2XLyw51Ca','mtCYlJe2lJaUma','C3rKB3v0','Aw5ZDgfSBa','zgLHz25VC3rPy3ngB3jgAwXL','CMCUzxHL','CMvTB3zL','tuLosu1bwf9bueLFs0vz','BwvKAxvT','AgfZq2XPzw50CW','CMfUAW','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','Aw5PDgLHBgL6yxrPB24','Dhj1BMm','BMfTzq','EwfYBI5SB2nR','cMbGya','Aw5ZDhj1y3rPB25Z','vw5HDxrOB3jPEMvKrxjYB3i','twLJCM9ZB2z0','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','BNbT','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','C3bHD25PBMC','yMfZzty0','z29uB0LTCgXLBwvUDgf0Aw9U','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','tNv2Aw4','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','Cg9W','zhj5uNvU','ywjVCNq','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','AxnjBNrLz2vY','D2LUmZi','B25oB3rPzMLJyxrPB24','y2fJAgvK','ChjLzML4','C2vYDMvYtMfTzq','l29WDc9OB21LyNjLDY9IAw4VCMC','tM8GzgLHz25VC3rPy3m','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','Dg9Rzw4','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','lMPZB24','Dg9mB3DLCKnHC2u','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','uKLgrG','vMLLD0zPBgu','D2vI','zMLYC3q','Dg9KB3ncEvnLC3nPB24','l3vZCI9SB2nHBc9IAw4VCMC','yxr0CG','rMv0y2GGDgLTzwqGB3v0','ugf0AcbUB3qGzM91BMq6ia','y2XVC2u','lNDLyNa','yw5ZAte2','Aw52ywXPzf90B2rVx2nVBNrLBNq','Dg90ywW','CMvZB2X2zq','DMfSDwu','Bwf0y2HLCW','lMnTza','Bg9JyxrPB24','yxjNDw1LBNroyw1LCW','zxH0zw5ZAw9UCW','Dg9VBc1VDxrWDxqTB2zMBg9Hza','yM9VBgvHBG','zg5Zl3bYB21PC2vZ','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','Ag92zxi','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','ChvZAa','DhjHBNnMB3jTCW','Dg9tDhjPBMC','AxngAwXL','zMLSDgvY','BM9Uzq','o1TExg5DkJ8','C2vHCMnOugfYyw1Z','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','C2nVCgvZ','ls1NBg9Ipq','BgfUz3vHz2u','v0vcua','oIbJB250zw50ihjLCxvPCMvK','igj5DgvZicH0B3rHBdOG','te9dquXbufbeqvrb','ls1NBg9I','Bwf4rw50CMLLCW','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','sw5MB3jTyxrPB24','qxnRvxnLCLrVB2W','mJG4mZaYqMnNwLbS','l3bPza','B3b0Aw9UCW','zgvMAw5PDgLVBG','lMPZEa','z2vUzxjHBa','u3rHCNrLzcbHz2vUDcbYDw4G','Axnoyu4','B3bLBNjVDxrLCG','DhnJB25MAwCUANnVBG','yxjNDw1LBNrZ','AxndB250zxH0','DMvYAwzPzxi','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','Dgf2AwX5','y29TBwfUza','C3rHDhvZ','Bg9HzfnRAwXS','CgXHDgzVCM0','Aw1Hz2u','Dgf2AwX5qxbPs2v5','u2TPBgWGjW','Agv4','y2XPzw50twv0ywrHDgfvCMW','Ahr0CdO','CxvLC3rPB24T','ywDLBNrjza','C2vSzwn0Aw9UuMfUz2u','lM10CW','Dg9VBa','ANnVBG','CNnZ','qwDLBNqGCNvUia','tu9ptLnit1rFqvbjx0Tfwq','mZm5otbtz0TizxK','qxv0Ag9YAxPHDgLVBG','Dhj1BMnHDgvK','ChjPB3jPDhK','C3vKBW','zw52','BhnW','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','v2vIu2vHCMnO','zxHPDcbJB2rLia','rMv0y2GGywjVCNrLzcbIEsb1C2vY','ls1ZDgrPBW','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','D2HPy2GGCMC','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','C2vYDMvYswq','C29Tzq','ienHDxnLoIa','rgv0ywLSoIa','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','o1TE','CgfZC3DVCMq','w291Dhb1Dcb0CNvUy2f0zwq6ia','AxnbCNjHEq','y2XPzw50sw5MB3jTyxrPB24','B3jPz2LUvg9VBenHBgXjza','tunqihnLCNzLCIa','BNvTyMvY','ywXSu2v0DgXLza','DgLTzvTKyxrLDgLTzv0','BwLUAw1HEa','Dgv4DerVy3vTzw50l2HVDMvY','AMf2yxnJCMLWDa','Dw5PB24','ChjVy2vZC0v4AxrLza','Cgf0DgvYBG','Dg9WAwm','Aw52ywXPzf90B2rVx2LK','Aw5PDgLHBgL6zq','C291CMnL','C3rHDhvZvgv4Da','B25Jzq','Ag9ZDa','oeDVsxfetq','w1bFxL1BxhnCu10QpW','C2TPBgXZ','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','y291BNrLCG','zMXVB3i','C2vYDMvY','Dgv4Dc9ODg1S','ywDLBNrZ','y29UDgv4DeXPBMS','iYmGu2TPBgW6ia','DxjS','yMLYDgH0Aw1L','Aw5KzxHpzG','l2jPBI9IyxnO','DMfSDwvZ','q291BgqGBM90ihjLC29SDMuGAg9ZDa','y29TCgXLDgvK','lunVBw1HBMq','zgvUBY5QC29U','zw50CMLLCW','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','lMPZ','y3DK','Dg9VBhm','yxv0AfjLCxvPCMvK','Bg9HzenVBw1HBMq','cGOTls0kcG','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','yxjNCW','mtK4lJe4lJaUma','BgLUzuvUza','DgHPBMTPBMC','A2LSBgvK','ue9tva','AgfZ','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','CxvLCNK','y29UzMLN','zgLHz25VC3rPy3m','CMLWz3jLCcbMywLSzwq6ia','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','uefusa','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','C29YDa','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','Dg9VBe5HBwu','C3rYAw5NAwz5','rMLSzvjLywq','Aw5FChjVz3jLC3m','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','B3bLBMfPlxjLC3bVBNnLCW','rMLSzsb3CML0DgvUigf0ia','y29Kzq','AgLNAa','CgfJA2fNzxm','z29uB0rLzMLUAxrPB24','z2v0','zg9JDw1LBNrtEw1IB2W','zgvMyxvSDen3za','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','lNbUzW','yxnPzgu','B3bLBKzPBgvZ','yxv0BW','y2HHBMDL','Aw1Hz2uVz2LM','zMLUzfjLzMvYzw5Jzxm','CgLWzq','Aw5JBhvKzv9KB21HAw5Z','zgf0zvjLC3rYAwn0','t1bftLjpvvrfuL9bueLFs0vz','B25LCNjVCG','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','Dg9VBfjLC3vSDhm','oIbPzcbYzxf1AxjLza','lcbpChrPB24G','r0LgodLH','BgL0zxjHBa','BgLUAW','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','zgvZy3jPChrPB24','Bw9VBNnOB3q','lNrTCc4','ls1WCMvMAxG','Cgf0Aa','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','yM0Ynq','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','yxbWzw5K','tg9HzgvKigzYB206ia','Dg9ju09tDhjPBMC','zw5K','y21KlMv4zq','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','B3bLCMf0Aw9U','Dw5RBM93BG','C2v0vg9KB3m','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','C2LNBMfS','C3rHCNq','C3vIyxjYyxK','uxvLC3rPB24G','BgLUzq','C2L0ztO','vg9WAwmGC2v0ihrVici','u2L6ztOG','C25PChbLDa','zxzLCNK','Dgv4Da','zg9TywLUCW','ChjVy2vZCW','CMvXDwvZDa','yxnJAwK','Aw52ywXPzf90B2rVx3n0yxr1CW','ignOyxjZigrYB3bWzwrDcG','AxrLBxm','y2HPBgq','DxrTx2nVBNrLBNq','y29UC3rYDwn0B3i','DxnLCM5HBwu','yxjNDw1LBNrZvgv4Da','C3rKzxjY','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','yMfZzw5HBwu','icHZDgf0Dxm6ia','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','tM8GC3LTyM9SCYbMB3vUza','l3vZCI9IAw4VCMC','ndbbseHYrxO','z2nSAwq','CgfJA2fNzu5HBwu','CgvUzgLUzW','mty5lJi1nc4WlJa','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','yMvHCMvY','B2C6DxbKyxrLzf90Aw1L','lM51DMLU','mti1tKjYC1vN','zxjYB3i','zxHPDa','zgLZy292zxj5u3rHDgu','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','revfueLorLjbx0fqsv9lrvK','tuLnrtOG','BwLU','w01duca','Aw1Hz2uVCg5N','zM9VDgvY','CMvHza','yxjNDw1LBNriAw50','zMLUywXnzxnZywDL','zgvSzwDHDgvKlxj1BI0','D2HLCMuGCMC','ls1MB2XSB3C','AxneAxjLy3rVCNK'];_0x2ed3=function(){return _0x38a3a2;};return _0x2ed3();}function createRunSummary(_0x203c48){const _0x4129f9={_0x376317:0x5e,_0x4384cf:0x61,_0x3cc8b6:0x40a,_0x272e06:0x535,_0x21181e:0x526,_0x115848:0x1b3,_0x2d69ec:0x1b0,_0x253f9e:0x27e,_0x270d25:0x21b,_0x30b7b9:0x14e,_0x504e20:0x5c,_0x3eacd1:0x12f,_0x26314b:0x162,_0x4cc451:0x510,_0x36afd0:0x516},_0x295fd9={_0x159390:0x192},_0x2bab25={_0x3c8299:0x52,_0xe736af:0x70};function _0x53f8e1(_0x485fb0,_0x4ac112,_0x115015,_0xa6bfed){return _0x257320(_0x485fb0-_0x2bab25._0x3c8299,_0x4ac112-0x111,_0x485fb0-_0x2bab25._0xe736af,_0x115015);}function _0xf4886e(_0x348409,_0x409e7a,_0x461eec,_0x1fd42a){return _0x257320(_0x348409-_0x295fd9._0x159390,_0x409e7a-0x41,_0x348409- -0x4ff,_0x1fd42a);}return{'runId':_0x203c48[_0xf4886e(_0x4129f9._0x376317,0xad,_0x4129f9._0x4384cf,0x78)],'agentId':_0x203c48[_0x53f8e1(_0x4129f9._0x3cc8b6,0x394,0x2aa,_0x4129f9._0x272e06)],'sessionId':_0x203c48[_0x53f8e1(0x34d,0x3fb,0x48d,0x481)],'status':_0x203c48['status'],'parentSessionId':_0x203c48[_0x53f8e1(_0x4129f9._0x21181e,0x4a6,0x4b8,0x64e)],..._0x203c48[_0xf4886e(-0x143,-0x4b,-_0x4129f9._0x115848,-_0x4129f9._0x2d69ec)]!==void 0x0?{'originToolCallId':_0x203c48['originToolCallId']}:{},..._0x203c48[_0xf4886e(-0x1f2,-0x1f5,-_0x4129f9._0x253f9e,-_0x4129f9._0x270d25)]!==void 0x0?{'errorMessage':_0x203c48[_0x53f8e1(0x37d,0x22f,0x37d,0x425)]}:{},..._0x203c48[_0xf4886e(0x23,0x184,_0x4129f9._0x30b7b9,-_0x4129f9._0x504e20)]?.[_0xf4886e(-0x93,-_0x4129f9._0x3eacd1,0x1,-_0x4129f9._0x26314b)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x203c48['result'][_0x53f8e1(0x4dc,_0x4129f9._0x4cc451,_0x4129f9._0x36afd0,0x388)])}:{}};}function createRunSummaryOutput(_0x36a0ad,_0x294a28){const _0xe2cfb7={_0x1b6fc5:0x14e,_0x5a7824:0x20c,_0x568262:0x26f,_0x1c46c9:0x14d,_0x39e83b:0x2c3,_0x4ef0cf:0x3e1,_0x45d5a4:0x14a},_0x418cd4={_0x266653:0x91,_0x3cb621:0x1a6};function _0x5bac04(_0x303472,_0x3ecdb7,_0x2751a1,_0x376dd6){return _0x257320(_0x303472-0x123,_0x3ecdb7-0x1a2,_0x2751a1- -0x3cb,_0x3ecdb7);}function _0x126e02(_0x4a7488,_0x2d8bed,_0x1594ac,_0x59a74b){return _0x3342ed(_0x4a7488-_0x418cd4._0x266653,_0x2d8bed,_0x4a7488- -0x1d2,_0x59a74b-_0x418cd4._0x3cb621);}const _0x21f2bd=createRunSummary(_0x36a0ad),_0x420942=_0x21f2bd[_0x5bac04(0x22,0x268,_0xe2cfb7._0x1b6fc5,_0xe2cfb7._0x5a7824)];return createToolOutput(typeof _0x420942===_0x5bac04(0x22b,_0xe2cfb7._0x568262,_0xe2cfb7._0x1c46c9,0x29)&&_0x420942[_0x126e02(_0xe2cfb7._0x39e83b,_0xe2cfb7._0x4ef0cf,_0xe2cfb7._0x45d5a4,0x2ca)]>0x0?_0x420942:_0x294a28,_0x21f2bd);}function getRunTerminalErrorMessage(_0x57baf7){const _0x5a7588={_0x27af91:0x427,_0x52ea29:0x108,_0x5aa768:0x344,_0x249d4a:0xb5},_0x451bef={_0x284260:0x14d},_0x3f501d={_0x42ae7f:0xa1};function _0x4c49a7(_0x350566,_0x251a03,_0x1a0473,_0x4c4211){return _0x257320(_0x350566-0x151,_0x251a03-_0x3f501d._0x42ae7f,_0x4c4211- -0xdb,_0x251a03);}const _0x4eaffc=_0x57baf7?.['state'][_0x4c49a7(0x2dc,0x233,_0x5a7588._0x27af91,0x33f)]['at'](-0x1);if(_0x4eaffc?.['status']===_0x5b619c(0x3b7,0x298,0x1a5,0x283)&&_0x4eaffc[_0x5b619c(0x4b,0x271,0xca,_0x5a7588._0x52ea29)]['trim']()[_0x5b619c(0x21a,0x413,0x215,_0x5a7588._0x5aa768)]>0x0)return _0x4eaffc[_0x4c49a7(0x11b,0xd0,_0x5a7588._0x249d4a,0x20a)];function _0x5b619c(_0x487655,_0xa79ade,_0x3bebd0,_0x5ae02c){return _0x3342ed(_0x487655-0xba,_0x487655,_0x5ae02c- -0x151,_0x5ae02c-_0x451bef._0x284260);}return void 0x0;}function formatAbortedRunMessage(_0x5b1da3,_0x17cd33){const _0x5168db={_0x493e30:0x4b2,_0x2562d3:0x68c,_0xb5a8ae:0x57b,_0x187c58:0x24e,_0x43bb96:0xc9,_0x47bd6b:0x2a9,_0x282ca5:0x3fb,_0x12ca76:0x19b,_0x3294f8:0x2ce},_0x1f4328={_0x488d17:0x197,_0x18c6f7:0x18d},_0x30d599={_0x4a9446:0x3c},_0x2690de=_0x28c6c2(_0x5168db._0x493e30,_0x5168db._0x2562d3,_0x5168db._0xb5a8ae,0x6e3)+_0x5b1da3+_0x342584(0x363,0x279,_0x5168db._0x187c58,0x3ae);if(!_0x17cd33||_0x17cd33[_0x342584(_0x5168db._0x43bb96,0xaa,-0x14,0xb7)]()[_0x342584(0x34d,0x308,_0x5168db._0x47bd6b,_0x5168db._0x282ca5)]===0x0||_0x17cd33===_0x2690de)return _0x2690de;function _0x28c6c2(_0x10d925,_0x34bdf1,_0xd4bf7e,_0x3b39fe){return _0x257320(_0x10d925-0x11d,_0x34bdf1-_0x30d599._0x4a9446,_0xd4bf7e-0x1db,_0x34bdf1);}function _0x342584(_0x1a54da,_0x52065d,_0x32aeff,_0x1c1c59){return _0x3342ed(_0x1a54da-_0x1f4328._0x488d17,_0x32aeff,_0x52065d- -_0x1f4328._0x18c6f7,_0x1c1c59-0x41);}return _0x2690de+_0x342584(0x7e,_0x5168db._0x12ca76,_0x5168db._0x3294f8,0x2d3)+_0x17cd33;}function createAssignTaskTool(_0x470130){const _0x2637a6={_0x10d0f2:0x5b7,_0xc6743:0x47c,_0x38fe45:0x47f,_0x11855d:0x3f0,_0x181e64:0x209,_0x42b87b:0xe1,_0x39ef80:0x14,_0x5b4a1e:0x1b3,_0x2ff099:0xe6,_0x34fcef:0x406,_0x2b5f61:0x31e,_0x238955:0x4e6,_0x22e4ec:0x288,_0x33d4ab:0x28d,_0x4f5fcc:0x30f,_0x2b586b:0x3fa,_0x29d0c8:0xf1},_0x42e1f4={_0x525acf:0x5c,_0x202f85:0x3d,_0x11a580:0x15,_0x2137d4:0x34a,_0x582350:0x3cc,_0x520ace:0x3fb,_0xe85414:0x3c7,_0x5eb9d7:0x45d,_0x33c33f:0x203,_0xedd309:0x151,_0x1c6d51:0x11b,_0x5c4900:0x3f3,_0x252166:0x94,_0x5c544a:0xdc,_0x37ada4:0xfd,_0x2f72ef:0x42,_0x1be2d7:0x7f,_0xe161be:0x5f6,_0xeafc48:0x489,_0x1f71f2:0x393,_0xdf0956:0x354,_0x221f8e:0x2cd,_0x287865:0x15e,_0x21ff4a:0x494,_0x2aee84:0x3fb,_0x1a427b:0x525,_0x37eaa0:0x315,_0x3ff695:0x434,_0x2da4b7:0x526,_0x167882:0x540,_0x341c04:0x645,_0x573026:0x6f,_0x21df51:0x29,_0x3b286a:0x147,_0x306ad0:0x64c,_0xee694f:0x553,_0x2bd8c3:0x3e9,_0x54cfba:0x367,_0x150825:0x3e4,_0x35e81b:0x35,_0x56b5dc:0x4df,_0x4c200f:0x47f,_0x19e03e:0x53d,_0x11f1e9:0x9,_0x108a4a:0x10b,_0x232246:0x2d2,_0x2e060f:0x39,_0x3f9447:0x1b,_0x2aa206:0x1f,_0x1c15cc:0x14b,_0x539298:0x1f,_0x2092af:0x501,_0x1873ad:0x48f,_0x34bb49:0x128,_0x21d4dd:0x240,_0x6a0a93:0x5cd,_0x246cb4:0x4e0,_0x5c2690:0x5e3,_0x18feb8:0x173,_0x5bea96:0x1c7,_0x28caed:0x1d9,_0x2278f4:0xbc,_0x35d052:0x1bc,_0x5f05d3:0x21e,_0x5e6f89:0x1b6,_0x43b75d:0x266,_0x4f9f58:0x1ae,_0x87809c:0xdd,_0x48a6df:0x2b1,_0x4500ba:0x1a4,_0x49b0fe:0x284,_0x276716:0x128,_0x1d0907:0x99,_0x210cde:0xf,_0x3d798b:0x5de,_0x28fae3:0x725,_0x25aa49:0x5f4,_0x3b3eec:0x502},_0x47d533={_0x4bf4b8:0x79,_0x4e6ebe:0x29d},_0x184842={_0x2c564b:0x86,_0x38d6c1:0xb1};function _0x4ecb8a(_0x3ba551,_0x4c4ebc,_0x31dbfb,_0x391833){return _0x3342ed(_0x3ba551-0xf2,_0x31dbfb,_0x4c4ebc- -_0x184842._0x2c564b,_0x391833-_0x184842._0x38d6c1);}function _0x3da8cd(_0x4a9458,_0x3b3099,_0x766ca5,_0x5922cc){return _0x257320(_0x4a9458-0xb9,_0x3b3099-0x1d0,_0x5922cc- -0x3d6,_0x4a9458);}return defineTool({'name':_0x4ecb8a(_0x2637a6._0x10d0f2,_0x2637a6._0xc6743,_0x2637a6._0x38fe45,_0x2637a6._0x11855d),'description':_0x4ecb8a(_0x2637a6._0x181e64,0x31d,0x439,0x42e),'inputSchema':{'type':_0x3da8cd(-_0x2637a6._0x42b87b,-_0x2637a6._0x39ef80,-_0x2637a6._0x5b4a1e,-_0x2637a6._0x2ff099),'properties':{'agentId':{'type':'string'},'description':{'type':'string'},'nickname':{'type':_0x4ecb8a(0x3b7,_0x2637a6._0x34fcef,_0x2637a6._0x2b5f61,_0x2637a6._0x238955)},'task':{'type':_0x3da8cd(0x181,0x22a,0x15e,0x142)}},'required':[_0x4ecb8a(0x1cc,_0x2637a6._0x22e4ec,_0x2637a6._0x33d4ab,0x2a4),_0x4ecb8a(0x2cd,_0x2637a6._0x4f5fcc,0x2a1,_0x2637a6._0x2b586b),_0x3da8cd(_0x2637a6._0x29d0c8,0x26b,0x8,0x17c)]},async *'execute'(_0x3958a1,_0x283d1a){const _0x1676bf={_0x4f9b5d:0x122,_0x3277f6:0x1ad,_0x45db6f:0x33,_0x146414:0x42,_0x5104a4:0xa3,_0x427607:0x20b,_0xe44714:0xb7,_0x32f20a:0x14b},_0x1e57ad={_0x3a604b:0x1ac,_0x3a2f6f:0xd6},_0x3392d8={_0x307262:0xce},_0x46764c={_0x3d3bb6:0xbc},_0x202a1c=createDelegatedRunId(),_0x4129c0={'agentId':_0x3958a1[_0x17b033(0x9e,-_0x42e1f4._0x525acf,-_0x42e1f4._0x202f85,-_0x42e1f4._0x11a580)],'parentSessionId':_0x283d1a[_0x3fb9aa(_0x42e1f4._0x2137d4,_0x42e1f4._0x582350,0x544,0x290)],'runId':_0x202a1c,..._0x283d1a[_0x3fb9aa(0x40e,_0x42e1f4._0x520ace,_0x42e1f4._0xe85414,_0x42e1f4._0x5eb9d7)]!==void 0x0?{'toolCallId':_0x283d1a[_0x17b033(-_0x42e1f4._0x33c33f,-_0x42e1f4._0xedd309,-_0x42e1f4._0x1c6d51,-0xa3)]}:{}};function _0x17b033(_0x3c1ad8,_0x2b7531,_0x575680,_0x2e27cc){return _0x4ecb8a(_0x3c1ad8-_0x47d533._0x4bf4b8,_0x2e27cc- -_0x47d533._0x4e6ebe,_0x3c1ad8,_0x2e27cc-0x1ee);}const _0x48f691=getDelegatedAgentDefinition(_0x470130,_0x3958a1[_0x3fb9aa(0x3ba,0x489,_0x42e1f4._0x5c4900,0x4fd)]);if(!_0x48f691)throw new ToolExecutionError(_0x17b033(_0x42e1f4._0x252166,_0x42e1f4._0x5c544a,-0x73,0x81)+_0x3958a1[_0x17b033(_0x42e1f4._0x37ada4,-_0x42e1f4._0x2f72ef,-_0x42e1f4._0x1be2d7,-0x15)],{'agentId':_0x3958a1[_0x3fb9aa(_0x42e1f4._0xe161be,_0x42e1f4._0xeafc48,0x51d,_0x42e1f4._0x1f71f2)]});const _0x2eb64f=new Agent(await resolveDelegatedAgentOptions(_0x48f691,_0x4129c0));let _0x3a914d={'runId':_0x202a1c,'agentId':_0x3958a1[_0x3fb9aa(0x5b5,0x489,0x438,_0x42e1f4._0xdf0956)],'sessionId':_0x2eb64f[_0x3fb9aa(0x31e,0x3cc,0x4d9,_0x42e1f4._0x221f8e)],'status':_0x17b033(0x1c1,0x2c3,0x1d9,_0x42e1f4._0x287865),'parentSessionId':_0x283d1a['sessionId'],..._0x283d1a[_0x3fb9aa(_0x42e1f4._0x21ff4a,_0x42e1f4._0x2aee84,0x2d8,0x3d7)]!==void 0x0?{'originToolCallId':_0x283d1a[_0x3fb9aa(_0x42e1f4._0x1a427b,0x3fb,_0x42e1f4._0x37eaa0,_0x42e1f4._0x3ff695)]}:{}};const _0x5e7e8b=new AbortController();function _0x3fb9aa(_0x4988a4,_0x5e7044,_0x28e5ef,_0x351dc1){return _0x4ecb8a(_0x4988a4-_0x46764c._0x3d3bb6,_0x5e7044-0x201,_0x28e5ef,_0x351dc1-0xfd);}const _0x2ac7dc=addAbortListener(_0x283d1a[_0x3fb9aa(0x4ea,_0x42e1f4._0x2da4b7,_0x42e1f4._0x167882,_0x42e1f4._0x341c04)],()=>{function _0x100137(_0x217f6b,_0x1ed32f,_0x363b58,_0x435849){return _0x17b033(_0x435849,_0x1ed32f-0xdf,_0x363b58-_0x3392d8._0x307262,_0x217f6b- -0xb2);}function _0xcb2815(_0x5077da,_0x5b8803,_0x5ef7c6,_0x70ec7){return _0x17b033(_0x5077da,_0x5b8803-_0x1e57ad._0x3a604b,_0x5ef7c6-_0x1e57ad._0x3a2f6f,_0x5b8803- -0x8b);}_0x5e7e8b[_0x100137(-_0x1676bf._0x4f9b5d,-0x47,-0xed,-_0x1676bf._0x3277f6)](_0x283d1a[_0x100137(-0x2a,-_0x1676bf._0x45db6f,-_0x1676bf._0x146414,_0x1676bf._0x5104a4)]?.[_0xcb2815(_0x1676bf._0x427607,_0x1676bf._0xe44714,_0x1676bf._0x32f20a,0x179)]);});yield createToolOutput(_0x17b033(_0x42e1f4._0x573026,_0x42e1f4._0x573026,-0x121,-_0x42e1f4._0x21df51)+_0x3a914d[_0x17b033(0x1d5,_0x42e1f4._0x3b286a,0x227,0x1ae)]+'.',{'runId':_0x3a914d[_0x3fb9aa(0x56d,_0x42e1f4._0x306ad0,_0x42e1f4._0xee694f,0x533)],'agentId':_0x3a914d[_0x3fb9aa(_0x42e1f4._0x2bd8c3,0x489,_0x42e1f4._0x54cfba,_0x42e1f4._0x150825)],'sessionId':_0x3a914d[_0x17b033(-0x15d,_0x42e1f4._0x35e81b,0x38,-0xd2)],'status':_0x3a914d[_0x3fb9aa(_0x42e1f4._0x56b5dc,_0x42e1f4._0x4c200f,_0x42e1f4._0x19e03e,0x358)]});try{const _0x2c1b2b=await _0x2eb64f[_0x17b033(0x2c,_0x42e1f4._0x11f1e9,-_0x42e1f4._0x108a4a,-0xf2)](_0x3958a1[_0x17b033(_0x42e1f4._0x232246,0x2fa,0xda,0x1a3)],{'signal':_0x5e7e8b['signal']});_0x3a914d={..._0x3a914d,'status':_0x2c1b2b[_0x17b033(_0x42e1f4._0x2e060f,-0x162,_0x42e1f4._0x3f9447,-_0x42e1f4._0x2aa206)],'result':_0x2c1b2b};if(_0x2c1b2b[_0x17b033(-0x3e,-0x57,-_0x42e1f4._0x1c15cc,-_0x42e1f4._0x539298)]!=='completed'){const _0x56c297=getRunTerminalErrorMessage(_0x2c1b2b),_0x137526=formatAbortedRunMessage(_0x3a914d[_0x3fb9aa(0x791,0x64c,0x5b2,0x734)],_0x56c297);throw new ToolExecutionError(_0x137526,{...createRunSummary(_0x3a914d),'aborted':!![],'errorMessage':_0x137526});}return createRunSummaryOutput(_0x3a914d,_0x3fb9aa(_0x42e1f4._0x2092af,_0x42e1f4._0x1873ad,0x371,0x5a5)+_0x3a914d[_0x17b033(0x1ff,_0x42e1f4._0x34bb49,_0x42e1f4._0x21d4dd,0x1ae)]+_0x3fb9aa(_0x42e1f4._0x6a0a93,0x562,_0x42e1f4._0x246cb4,_0x42e1f4._0x5c2690));}catch(_0xab99e9){if(_0xab99e9 instanceof ToolExecutionError)throw _0xab99e9;if(isAbortError(_0xab99e9)||_0x5e7e8b['signal'][_0x17b033(_0x42e1f4._0x18feb8,_0x42e1f4._0x5bea96,0x335,_0x42e1f4._0x28caed)]||_0x283d1a['signal'][_0x17b033(0x16c,0x103,0x317,_0x42e1f4._0x28caed)]){const _0x5e5a95=getRunTerminalErrorMessage(_0x3a914d['result'])??(_0xab99e9 instanceof Error?_0xab99e9[_0x17b033(_0x42e1f4._0x2278f4,_0x42e1f4._0x35d052,_0x42e1f4._0x5f05d3,_0x42e1f4._0x5e6f89)]:String(_0xab99e9)),_0x30d4f3=formatAbortedRunMessage(_0x3a914d[_0x17b033(0x27c,0x86,_0x42e1f4._0x43b75d,_0x42e1f4._0x4f9f58)],_0x5e5a95);_0x3a914d={..._0x3a914d,'status':'aborted','errorMessage':_0x30d4f3};throw new ToolExecutionError(_0x30d4f3,{...createRunSummary(_0x3a914d),'aborted':!![],'errorMessage':_0x30d4f3});}const _0x264b2f=getRunTerminalErrorMessage(_0x3a914d[_0x17b033(0x37,_0x42e1f4._0x87809c,_0x42e1f4._0x48a6df,0x173)])??(_0xab99e9 instanceof Error?_0xab99e9[_0x17b033(_0x42e1f4._0x4500ba,0x2cb,_0x42e1f4._0x49b0fe,0x1b6)]:String(_0xab99e9))??_0x17b033(-_0x42e1f4._0x276716,-_0x42e1f4._0x1d0907,0x134,-_0x42e1f4._0x210cde)+_0x3a914d[_0x3fb9aa(_0x42e1f4._0x3d798b,_0x42e1f4._0x306ad0,0x675,_0x42e1f4._0x28fae3)]+_0x3fb9aa(0x605,_0x42e1f4._0x25aa49,_0x42e1f4._0x3b3eec,0x728);_0x3a914d={..._0x3a914d,'status':_0x3fb9aa(0x4c6,0x5d4,0x5a1,0x565),'errorMessage':_0x264b2f};throw new ToolExecutionError(_0x264b2f,{...createRunSummary(_0x3a914d),'errorMessage':_0x264b2f});}finally{_0x2ac7dc();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x2bb304){return[createAssignTaskTool(_0x2bb304)];}import*as _0x558871 from'path';function buildDescription2(_0x1bb8b9){const _0x3f6712={_0x1a1b83:0x3a,_0x331b7d:0x231,_0x56046c:0x200,_0x36d1da:0x146,_0x4848cf:0x117,_0x556ef2:0x83,_0x4edcb6:0x78,_0x5a5a80:0x15,_0x42cc75:0x261,_0x5e2199:0x145,_0x13f9d2:0x284,_0x4a3d78:0x2a2,_0x18f43e:0x2f3,_0x42030d:0x1f5},_0x438d61={_0x558336:0x1d1,_0x1b720d:0x116,_0x1f8468:0x345};function _0x423563(_0xbfa310,_0x9246c8,_0x27d092,_0x5bb63b){return _0x257320(_0xbfa310-0x10a,_0x9246c8-0x66,_0x27d092- -0x462,_0x9246c8);}function _0x1e2f5e(_0x4d6e21,_0xcee53a,_0xdf1cc6,_0x32387c){return _0x257320(_0x4d6e21-_0x438d61._0x558336,_0xcee53a-_0x438d61._0x1b720d,_0xcee53a- -_0x438d61._0x1f8468,_0xdf1cc6);}if(_0x1bb8b9[_0x423563(0x203,-_0x3f6712._0x1a1b83,0xbf,_0x3f6712._0x331b7d)]===0x0)return'Load\x20a\x20skill\x20by\x20name\x20to\x20get\x20detailed\x20task\x20instructions.\x20No\x20skills\x20are\x20currently\x20available.';const _0x5a008a=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x423563(-0x255,-_0x3f6712._0x56046c,-_0x3f6712._0x36d1da,-0xb4),_0x1e2f5e(-0x150,-0x47,_0x3f6712._0x4848cf,_0x3f6712._0x556ef2),_0x423563(-0x1c1,-0x10,-_0x3f6712._0x4edcb6,_0x3f6712._0x5a5a80),..._0x1bb8b9[_0x423563(-0x1e3,-_0x3f6712._0x42cc75,-_0x3f6712._0x5e2199,-_0x3f6712._0x13f9d2)](_0x45124e=>'-\x20'+_0x45124e['name']+':\x20'+_0x45124e[_0x423563(0xa9,-0x48,-0x41,0xde)])];return _0x5a008a[_0x1e2f5e(_0x3f6712._0x4a3d78,0x17d,_0x3f6712._0x18f43e,_0x3f6712._0x42030d)]('\x0a');}function createLoadSkillTool(_0x31b20f){const _0x41f370={_0xa0e37f:0xea,_0x235196:0x7f,_0x9a2764:0xa7,_0x35504d:0x1c3,_0xdfa4da:0x16,_0x52263f:0x20b,_0x392e2c:0x126,_0xa834a4:0x5,_0x4fb5b5:0x94,_0x3205f9:0x348,_0x125bba:0x1f0,_0x5d575a:0x2c1,_0x31cf80:0x232,_0x43e774:0x68,_0x51ba6e:0x2f8},_0x23cb39={_0x3859d2:0x618,_0x366335:0x3ac,_0x2d4d57:0x4de,_0xd7d98b:0x6ea,_0x466316:0x463,_0x43b098:0x63b,_0x46a8b6:0x514,_0x129935:0x59e,_0x43bfa8:0x640,_0x1f6cc3:0x711,_0x74c137:0x724,_0x5b7484:0x6f3,_0x5a7f25:0x563,_0x4e8756:0x5ba,_0x5d7700:0x71c,_0x61518f:0x43b,_0x27fec8:0x84a,_0x326cf8:0x7f0,_0x2f905b:0x659,_0x5a2aed:0x58d,_0x41a9f5:0x64b,_0x46faf8:0x6b3,_0x3b0393:0x7c2,_0x2f5da7:0x70d,_0x515704:0x580,_0x342933:0x666,_0x54528c:0x3aa,_0x4a1780:0x40f,_0x494504:0x507,_0x53d782:0x60b,_0x5319d5:0x56c,_0x109ea2:0x50e,_0x1d9baf:0x64d,_0x900cd8:0x5c1,_0x10b6a5:0x4ad,_0x3e5e87:0x701,_0x37787b:0x70a,_0x2bea27:0x87a,_0x5aa2b3:0x303,_0x5bd247:0x55c},_0xb518d4={_0x5a65f4:0x182},_0x234681={_0x2c40e2:0x1c,_0x3cb0ad:0x2e6},_0x1f0952={_0x54ab7e:0x91},_0x3b5799=new Map(_0x31b20f[_0x4c0d41(0x25e,-0x19,_0x41f370._0xa0e37f,-_0x41f370._0x235196)][_0x2cd2fc(-0x2b9,-0x109,-_0x41f370._0x9a2764,-_0x41f370._0x35504d)](_0x911749=>[_0x911749['name'],_0x911749])),_0x475190=buildDescription2(_0x31b20f[_0x4c0d41(0x98,_0x41f370._0xdfa4da,0xea,_0x41f370._0x52263f)]);function _0x2cd2fc(_0x44b217,_0x37ed7d,_0x5a6688,_0x8f8495){return _0x3342ed(_0x44b217-0xa4,_0x44b217,_0x8f8495- -0x454,_0x8f8495-_0x1f0952._0x54ab7e);}function _0x4c0d41(_0x2d3efc,_0xef2eed,_0x23564d,_0x1b5438){return _0x257320(_0x2d3efc-_0x234681._0x2c40e2,_0xef2eed-0x122,_0x23564d- -_0x234681._0x3cb0ad,_0xef2eed);}return defineTool({'name':_0x2cd2fc(0xff,-0xb4,-_0x41f370._0x392e2c,-_0x41f370._0xa834a4),'description':_0x475190,'inputSchema':{'type':_0x2cd2fc(-_0x41f370._0x4fb5b5,-0x2c9,-_0x41f370._0x3205f9,-_0x41f370._0x125bba),'properties':{'name':{'type':_0x4c0d41(0x110,_0x41f370._0x5d575a,_0x41f370._0x31cf80,0x261)}},'required':[_0x2cd2fc(-_0x41f370._0x43e774,-0x1bf,-_0x41f370._0x51ba6e,-0x1b4)]},async *'execute'(_0x31ac72){const _0xf3c770={_0x274300:0x69,_0x417f85:0x574},_0x1cf032=_0x3b5799[_0x20972d(_0x23cb39._0x3859d2,0x473,0x4ec,_0x23cb39._0x366335)](_0x31ac72[_0x6e59e3(_0x23cb39._0x2d4d57,0x71c,_0x23cb39._0xd7d98b,0x5ba)]);if(!_0x1cf032){const _0x49f49e=Array[_0x20972d(0x6c6,0x4f7,0x557,_0x23cb39._0x466316)](_0x3b5799[_0x6e59e3(0x5f6,_0x23cb39._0x43b098,_0x23cb39._0x46a8b6,_0x23cb39._0x129935)]())[_0x6e59e3(0x7e8,_0x23cb39._0x43bfa8,0x7dd,0x750)](',\x20');throw new ToolExecutionError(_0x6e59e3(0x78e,_0x23cb39._0x1f6cc3,_0x23cb39._0x74c137,0x623)+_0x31ac72[_0x6e59e3(_0x23cb39._0x5b7484,_0x23cb39._0x5a7f25,0x5e8,_0x23cb39._0x4e8756)]+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x49f49e,{'name':_0x31ac72['name']});}const _0x1b6748=await _0x31b20f[_0x6e59e3(0x501,0x749,0x64f,0x61f)](_0x1cf032);function _0x6e59e3(_0x3e954e,_0x8bd2bd,_0x29240a,_0x15f8e7){return _0x4c0d41(_0x3e954e-_0xf3c770._0x274300,_0x3e954e,_0x15f8e7-_0xf3c770._0x417f85,_0x15f8e7-0x14d);}const _0x5dde39=_0x1cf032[_0x6e59e3(0x5c0,_0x23cb39._0x5d7700,0x5e1,0x658)][_0x20972d(_0x23cb39._0x61518f,0x409,0x570,0x473)]??_0x558871[_0x6e59e3(_0x23cb39._0x27fec8,0x7c1,0x7dc,_0x23cb39._0x326cf8)](_0x1cf032[_0x6e59e3(_0x23cb39._0x2f905b,0x5e7,0x711,0x658)][_0x6e59e3(_0x23cb39._0x5a2aed,0x619,_0x23cb39._0x41a9f5,_0x23cb39._0x46faf8)]),_0xab3d58=[_0x6e59e3(_0x23cb39._0x3b0393,_0x23cb39._0x2f5da7,_0x23cb39._0x515704,_0x23cb39._0x342933)+_0x1b6748[_0x20972d(0x361,_0x23cb39._0x54528c,_0x23cb39._0x4a1780,_0x23cb39._0x494504)],'',_0x1b6748['instructions'],'',_0x6e59e3(0x7d2,0x6a0,_0x23cb39._0x53d782,0x737),_0x20972d(0x43b,_0x23cb39._0x5319d5,_0x23cb39._0x109ea2,_0x23cb39._0x1d9baf)+_0x1cf032[_0x20972d(0x4e1,_0x23cb39._0x900cd8,_0x23cb39._0x10b6a5,0x4e9)][_0x6e59e3(_0x23cb39._0x3e5e87,0x699,_0x23cb39._0x37787b,0x6b3)],'Base\x20directory:\x20'+_0x5dde39][_0x6e59e3(_0x23cb39._0x2bea27,0x639,0x67d,0x750)]('\x0a');yield createToolOutput(_0xab3d58,{'id':_0x1b6748['id'],'name':_0x1b6748[_0x20972d(_0x23cb39._0x5aa2b3,0x519,0x40f,_0x23cb39._0x5bd247)],'path':_0x1cf032['source']['path'],'baseDirectory':_0x5dde39});function _0x20972d(_0x3fe179,_0x2895ff,_0x3032b3,_0x430917){return _0x4c0d41(_0x3fe179-_0xb518d4._0x5a65f4,_0x3fe179,_0x3032b3-0x3c9,_0x430917-0x15c);}return void 0x0;}});}var TODO_STATUSES=new Set([_0x3342ed(0x50c,0x4ef,0x3cc,0x25f),_0x257320(0x4ee,0x32a,0x401,0x444),_0x257320(0x4ec,0x4a5,0x3df,0x4b3)]),TODO_PRIORITIES=new Set([_0x3342ed(0x41b,0x266,0x37a,0x443),_0x257320(0x403,0x1e1,0x326,0x336),_0x3342ed(0x634,0x580,0x4c1,0x5bc)]);function isTodoStatus(_0x114061){const _0x24ec01={_0x4c2051:0x2ca,_0x430f2a:0x402,_0x35c291:0x428,_0x1a3ea1:0x58e,_0x1765d6:0x399},_0x256993={_0x385405:0x1c2};function _0x135943(_0x2539d6,_0x33ad46,_0xfcea13,_0x2a3eb6){return _0x257320(_0x2539d6-0x1ad,_0x33ad46-0x12e,_0xfcea13-0x118,_0x2539d6);}function _0x5e7ba0(_0x1d3860,_0x4e2fac,_0x56f4c1,_0x522880){return _0x3342ed(_0x1d3860-0x13f,_0x56f4c1,_0x4e2fac- -_0x256993._0x385405,_0x522880-0x47);}return typeof _0x114061===_0x5e7ba0(0x231,_0x24ec01._0x4c2051,_0x24ec01._0x430f2a,0x191)&&TODO_STATUSES[_0x135943(_0x24ec01._0x35c291,_0x24ec01._0x1a3ea1,0x50a,_0x24ec01._0x1765d6)](_0x114061);}function isTodoPriority(_0x4bca48){return typeof _0x4bca48==='string'&&TODO_PRIORITIES['has'](_0x4bca48);}var TodoStore=class{['todosBySession']=new Map();[_0x257320(0x46f,0x586,0x4a8,0x4fc)](_0xaa640d){const _0x15a77e={_0x2008bf:0x194,_0x4302e7:0x217};function _0x1b7ad6(_0x577268,_0x59bb6c,_0x482377,_0x57af3f){return _0x257320(_0x577268-0x197,_0x59bb6c-_0x15a77e._0x2008bf,_0x482377- -_0x15a77e._0x4302e7,_0x577268);}return this['todosBySession'][_0x1b7ad6(0x112,0x254,0x1f2,0x1f5)](_0xaa640d)??[];}[_0x257320(0x38b,0x4ed,0x433,0x344)](_0x593ce1,_0x435397){const _0x1f79c7={_0x2214b0:0x12e,_0x1135c4:0x8f,_0x4a69e1:0x8e,_0x5eb458:0x131},_0x1adbff={_0x514086:0x1b9,_0x3cb575:0x23d},_0x56ec37={_0x487062:0x1a4};function _0x298d46(_0x28562c,_0x58d8c1,_0x505377,_0x1c1eb3){return _0x3342ed(_0x28562c-_0x56ec37._0x487062,_0x1c1eb3,_0x505377- -0x352,_0x1c1eb3-0x15a);}function _0x20bf06(_0x247da5,_0x48c85f,_0x1f9fa5,_0x3e4c41){return _0x257320(_0x247da5-_0x1adbff._0x514086,_0x48c85f-0x50,_0x3e4c41- -_0x1adbff._0x3cb575,_0x247da5);}this[_0x20bf06(_0x1f79c7._0x2214b0,_0x1f79c7._0x1135c4,0x139,0x116)][_0x298d46(-0xfb,-_0x1f79c7._0x4a69e1,-_0x1f79c7._0x5eb458,-0x13a)](_0x593ce1,_0x435397);}[_0x3342ed(0x34c,0x392,0x238,0x390)](_0x39617c){const _0x111624={_0x1d762c:0xeb,_0x1d9f11:0x124,_0x3d0f67:0x117,_0x264727:0x204,_0x244708:0xdf,_0x106202:0x181,_0x29200b:0x3d,_0x5a22ad:0x105,_0x5c9686:0x4a,_0x44a506:0x85,_0x4053e5:0x13d,_0x48e170:0xb6},_0x47f7ce={_0x17f15b:0x6},_0x37e09a={_0x50b286:0x1c3},_0x257321=this[_0x86f67a(_0x111624._0x1d762c,_0x111624._0x1d9f11,0x13,-0x51)](_0x39617c);function _0x2b265f(_0x219933,_0x34017b,_0x6c2bb6,_0x783eff){return _0x3342ed(_0x219933-_0x37e09a._0x50b286,_0x219933,_0x6c2bb6- -0x2d1,_0x783eff-0xed);}function _0x86f67a(_0x4a7ff7,_0x4a78ea,_0x49b996,_0x1e650){return _0x257320(_0x4a7ff7-0x15,_0x4a78ea-_0x47f7ce._0x17f15b,_0x49b996- -0x495,_0x1e650);}const _0x507961={'total':_0x257321['length'],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x34f0c5 of _0x257321){if(_0x34f0c5[_0x86f67a(-_0x111624._0x3d0f67,-_0x111624._0x264727,-0x105,-0x215)]==='pending')_0x507961[_0x86f67a(-_0x111624._0x244708,-_0x111624._0x106202,-_0x111624._0x29200b,-0x7c)]+=0x1;else{if(_0x34f0c5[_0x86f67a(-0x209,-0xc3,-_0x111624._0x5a22ad,-0x1d9)]===_0x86f67a(_0x111624._0x5c9686,-_0x111624._0x44a506,-0x94,-0x52))_0x507961['inProgress']+=0x1;else _0x507961[_0x86f67a(-0x6e,-_0x111624._0x4053e5,-_0x111624._0x48e170,0x7c)]+=0x1;}}return _0x507961;}};function validateTodos(_0x385e53){const _0x173561={_0x2713d5:0x4b9,_0x239d41:0x4ee,_0x167c55:0x614,_0x2b8221:0x739,_0x3c0d75:0x71d,_0x468547:0x3d8,_0x2eec79:0x412,_0x1b8da2:0x35f,_0x466773:0x2b3,_0x1ba374:0x5c0,_0x23f596:0x64a,_0x52cdfd:0x570,_0x5315b0:0x1e6,_0xad58cc:0x705,_0x56d7c9:0x68c,_0x1ab917:0x62e,_0x28c501:0x707,_0x2c37b8:0x4df,_0x41b743:0x5b7,_0x49ee9b:0x535,_0x57c583:0x528,_0x10a133:0x4c9,_0x85ec2e:0x63e,_0x4c3862:0x83e,_0x5f02ac:0x372,_0x2b926c:0x3b3,_0xb3bf0a:0x4ba,_0x3680a7:0x4d6,_0x3ed2d2:0x667,_0xbbd5f0:0x641,_0x56690d:0x5f6,_0x10a0b1:0x54d,_0x23fcf8:0x51d,_0x1f210a:0x505,_0x51dae4:0x6c5,_0x383d15:0x41f,_0x53165c:0x417,_0x20e62d:0x32f,_0x5e46d9:0x41d,_0x2ed338:0x56b,_0x2d35b9:0x49e,_0x3a32c2:0x482,_0x2bacbf:0x562,_0xd62ebd:0x372,_0xa79889:0x2f3,_0xd2320b:0x322,_0x2d2048:0x560,_0x22778a:0x4d1,_0x322618:0x61c,_0x17369c:0x517,_0x363b28:0x412,_0x5ed057:0x493,_0x128f42:0x3ef,_0xe71c37:0x24d,_0x24dd7d:0x5e1,_0xbb3e7:0x72d,_0x57295f:0x791,_0x2c4be0:0x6d1,_0x49a9cb:0x557,_0x305ac4:0x4e2},_0x3d24fe={_0x2565fb:0x87,_0x28f537:0xf1},_0x27dc44={_0x47d4c9:0x34};if(!Array['isArray'](_0x385e53[_0x26464d(_0x173561._0x2713d5,_0x173561._0x239d41,0x3cd,_0x173561._0x167c55)])||_0x385e53['todos'][_0x26464d(_0x173561._0x2b8221,0x74f,0x83b,_0x173561._0x3c0d75)]===0x0)throw new ToolExecutionError(_0x573d18(_0x173561._0x468547,0x293,0x320,_0x173561._0x2eec79),{'error':'invalid_todos'});function _0x573d18(_0x1f5351,_0x3ed124,_0x49c279,_0x49454e){return _0x3342ed(_0x1f5351-0x25,_0x49454e,_0x1f5351-0x12b,_0x49454e-_0x27dc44._0x47d4c9);}for(let _0x47567c=0x0;_0x47567c<_0x385e53[_0x573d18(_0x173561._0x1b8da2,0x391,0x340,_0x173561._0x466773)][_0x573d18(_0x173561._0x1ba374,_0x173561._0x23f596,0x50e,_0x173561._0x52cdfd)];_0x47567c+=0x1){const _0x2f6018=_0x385e53[_0x573d18(_0x173561._0x1b8da2,0x496,0x410,_0x173561._0x5315b0)][_0x47567c];if(!_0x2f6018||typeof _0x2f6018!=='object')throw new ToolExecutionError('Todo\x20'+(_0x47567c+0x1)+_0x26464d(0x7bb,_0x173561._0xad58cc,_0x173561._0x56d7c9,0x76d),{'error':_0x573d18(_0x173561._0x1ab917,_0x173561._0x28c501,_0x173561._0x2c37b8,0x558)});if(typeof _0x2f6018['id']!==_0x573d18(_0x173561._0x41b743,0x492,_0x173561._0x49ee9b,_0x173561._0x57c583)||_0x2f6018['id'][_0x26464d(_0x173561._0x10a133,0x4f1,0x609,_0x173561._0x85ec2e)]()[_0x26464d(0x858,0x74f,_0x173561._0x4c3862,0x7ed)]===0x0)throw new ToolExecutionError(_0x573d18(_0x173561._0x5f02ac,_0x173561._0x2b926c,_0x173561._0xb3bf0a,0x221)+(_0x47567c+0x1)+_0x26464d(_0x173561._0x3680a7,0x649,0x685,_0x173561._0x3ed2d2),{'error':_0x26464d(_0x173561._0xbbd5f0,_0x173561._0x56690d,0x743,_0x173561._0x10a0b1)});if(typeof _0x2f6018[_0x573d18(0x59c,_0x173561._0x23fcf8,0x566,_0x173561._0x1f210a)]!==_0x573d18(_0x173561._0x41b743,0x5c5,0x5fb,0x493)||_0x2f6018['content']['trim']()[_0x26464d(_0x173561._0x51dae4,0x74f,0x6b6,0x667)]===0x0)throw new ToolExecutionError(_0x26464d(0x60f,0x501,_0x173561._0x383d15,0x3ef)+(_0x47567c+0x1)+_0x573d18(_0x173561._0x53165c,0x4e5,0x2c2,_0x173561._0x20e62d),{'error':_0x573d18(0x3fa,0x468,_0x173561._0x5e46d9,0x375)});if(!isTodoStatus(_0x2f6018[_0x26464d(0x448,0x5be,_0x173561._0x2ed338,_0x173561._0x2d35b9)]))throw new ToolExecutionError(_0x573d18(_0x173561._0x5f02ac,0x256,0x434,_0x173561._0x3a32c2)+(_0x47567c+0x1)+':\x20invalid\x20status',{'error':_0x26464d(0x5a0,0x674,_0x173561._0x2bacbf,0x61a)});if(!isTodoPriority(_0x2f6018[_0x573d18(0x444,0x328,0x30c,0x343)]))throw new ToolExecutionError(_0x573d18(_0x173561._0xd62ebd,0x245,_0x173561._0xa79889,_0x173561._0xd2320b)+(_0x47567c+0x1)+_0x573d18(_0x173561._0x2d2048,_0x173561._0x22778a,0x56a,0x5cd),{'error':_0x26464d(_0x173561._0x322618,_0x173561._0x17369c,_0x173561._0x363b28,_0x173561._0x5ed057)});}function _0x26464d(_0x2d4078,_0x4a6999,_0x236c09,_0x320877){return _0x257320(_0x2d4078-_0x3d24fe._0x2565fb,_0x4a6999-_0x3d24fe._0x28f537,_0x4a6999-0x22e,_0x236c09);}const _0x4c8dee=_0x385e53[_0x573d18(_0x173561._0x1b8da2,0x3e8,_0x173561._0x128f42,_0x173561._0xe71c37)][_0x26464d(0x584,0x54b,_0x173561._0x24dd7d,0x4f8)](_0x13d53d=>_0x13d53d['id']);if(new Set(_0x4c8dee)[_0x26464d(0x78d,_0x173561._0xbb3e7,_0x173561._0x57295f,_0x173561._0x2c4be0)]!==_0x4c8dee['length'])throw new ToolExecutionError(_0x26464d(0x655,_0x173561._0x49a9cb,_0x173561._0x305ac4,0x612),{'error':'duplicate_todo_ids'});}function createStatsProgress(_0x51046e){const _0x563570={_0x17b968:0x1e1,_0x373cbc:0x494,_0x4a8ba1:0x3f0,_0x508e76:0x3c6,_0x50f03b:0x343,_0x343418:0x45a},_0x1d36a7={_0xf0b19f:0x5e},_0x1b8da7={_0x29a626:0x1a,_0x538387:0x162};function _0x3073e5(_0x329d28,_0x35510d,_0x361f0,_0x238afd){return _0x257320(_0x329d28-0xe0,_0x35510d-_0x1b8da7._0x29a626,_0x329d28-_0x1b8da7._0x538387,_0x238afd);}function _0x5f12f7(_0xeb064a,_0x5537c3,_0x2d4c20,_0x3646a6){return _0x3342ed(_0xeb064a-0x1ac,_0x5537c3,_0x2d4c20-0x73,_0x3646a6-_0x1d36a7._0xf0b19f);}return _0x51046e[_0x5f12f7(0x2a6,_0x563570._0x17b968,0x343,_0x563570._0x373cbc)]>0x0?Math['round'](_0x51046e[_0x5f12f7(0x292,_0x563570._0x4a8ba1,_0x563570._0x508e76,0x3da)]/_0x51046e[_0x5f12f7(0x1df,0x47e,_0x563570._0x50f03b,_0x563570._0x343418)]*0x64)+'%':'0%';}function createReminderItems(_0x3be10c){const _0x492acb={_0x3ccefb:0x3},_0x4d759e={_0x280982:0x11,_0x40171f:0x1be};function _0x5d799e(_0x4a3ad9,_0xb5f847,_0x36379a,_0x1981bd){return _0x257320(_0x4a3ad9-_0x4d759e._0x280982,_0xb5f847-0x13c,_0x36379a- -_0x4d759e._0x40171f,_0xb5f847);}function _0x3864dc(_0x166078,_0x5aeb0d,_0x1a37cf,_0x2854f4){return _0x257320(_0x166078-0x83,_0x5aeb0d-_0x492acb._0x3ccefb,_0x166078- -0x37c,_0x5aeb0d);}return _0x3be10c['map'](_0x5d0430=>({'content':_0x5d0430[_0x5d799e(0x3f3,0x1f3,0x33f,0x233)],'status':_0x5d0430[_0x3864dc(0x14,-0x133,0x18,0x113)],'id':_0x5d0430['id']}));}function createStructuredResult(_0xc749e,_0x1a3994,_0x1d2856,_0x226f4d){const _0x20a54e={_0x1ca1ad:0x2e7,_0x1e0760:0x395,_0x5808be:0x646,_0x3a6026:0x4eb,_0x140a18:0x564},_0x2235c5={_0x26c15a:0x2c4},_0x39a266={_0x4722a8:0x56};function _0x38fd39(_0x3ca0ab,_0x3a5089,_0x1939c8,_0x28160c){return _0x3342ed(_0x3ca0ab-0x37,_0x28160c,_0x3a5089-_0x39a266._0x4722a8,_0x28160c-0x1);}function _0x22f9a0(_0x298c51,_0x35784a,_0x34ddb5,_0x1dbf92){return _0x3342ed(_0x298c51-0x102,_0x35784a,_0x1dbf92-_0x2235c5._0x26c15a,_0x1dbf92-0x82);}return{'allCompleted':_0x226f4d,'items':_0x1a3994[_0x38fd39(0x1ae,_0x20a54e._0x1ca1ad,0x350,_0x20a54e._0x1e0760)](_0x5d0e26=>({'id':_0x5d0e26['id'],'content':_0x5d0e26['content'],'status':_0x5d0e26[_0x38fd39(0x330,0x35a,0x252,0x329)],'priority':_0x5d0e26[_0x38fd39(0x366,0x36f,0x2d7,0x37b)],'createdAt':_0x5d0e26['createdAt']})),'progress':createStatsProgress(_0x1d2856),'recentChanges':!![],'sessionId':_0xc749e,'stats':_0x1d2856,'todosWritten':_0x1a3994[_0x38fd39(_0x20a54e._0x5808be,_0x20a54e._0x3a6026,_0x20a54e._0x140a18,0x599)]};}function createOutputText(_0x39e48c,_0x4702ab){const _0x45bd70={_0x56d440:0x24f,_0x4e8fd6:0xd0,_0x3b0980:0x115,_0x3ae949:0xe,_0x3ec6fa:0x2c5,_0x151e7e:0x33c,_0x3406c4:0x1ca,_0x34e052:0xe7,_0x4fa870:0x59,_0x4673d7:0xaa,_0xb0989c:0x223},_0x4dd26e={_0x1d4910:0x326},_0x5b9f99=JSON[_0x576b24(0xa9,0x12c,0xd9,_0x45bd70._0x56d440)](createReminderItems(_0x39e48c));function _0x576b24(_0x32af8e,_0x24965d,_0x461995,_0x56d877){return _0x257320(_0x32af8e-0x1e0,_0x24965d-0x12a,_0x461995- -_0x4dd26e._0x1d4910,_0x32af8e);}if(_0x4702ab)return _0x576b24(-_0x45bd70._0x4e8fd6,_0x45bd70._0x3b0980,-_0x45bd70._0x3ae949,-0x180)+_0x39e48c[_0x5bc631(0x1d0,_0x45bd70._0x3ec6fa,0x372,0x2b5)]+_0x5bc631(0x16d,0x1c8,_0x45bd70._0x151e7e,_0x45bd70._0x3406c4)+_0x5b9f99+_0x576b24(_0x45bd70._0x34e052,-0x77,-_0x45bd70._0x4fa870,_0x45bd70._0x4673d7);function _0x5bc631(_0x2b5c33,_0x5bd0ca,_0x76e127,_0x19decc){return _0x3342ed(_0x2b5c33-0x8e,_0x5bd0ca,_0x19decc- -0x1e0,_0x19decc-0x166);}return _0x576b24(0xdf,0x145,_0x45bd70._0xb0989c,0x391)+_0x5b9f99+'.\x0a</system-reminder>';}function createTodoWriteTool(_0x502e81=new TodoStore()){const _0xa7c212={_0x4d0d24:0x342,_0x2ee872:0x43f,_0x5b4f5a:0x3f3,_0x224307:0x337,_0x4f0d95:0x4d0,_0xdc5edf:0x47d,_0x3cef08:0x8cf,_0x1b4dbc:0x75e,_0x2b1b40:0x631,_0x50b413:0x70b,_0x11363a:0x869,_0x5dc3a7:0x747,_0x562dd2:0x6f9,_0x118f15:0x5d6,_0xccc3c0:0xf4,_0x2c290d:0x8b,_0x3933fe:0xfe,_0x11c7c8:0x9d,_0x3e6f27:0xad},_0x525dc8={_0x47afd2:0x39b,_0x42669e:0x3c9,_0x4ab926:0x360,_0x4180b5:0x59f,_0x5c17f4:0x654,_0x3fde0b:0x102,_0x6aa88f:0x37e,_0x2fb54f:0x327,_0xa16e70:0x24e,_0x244b64:0x4f1,_0x38458b:0x50c,_0x1117bb:0x591,_0x283e5d:0x10b,_0x3f1df7:0x4fe,_0x26d446:0x50b,_0x3b6780:0x526},_0x3df715={_0x42d2fd:0x31b},_0x5c9aaf={_0x36f0cb:0x84,_0x1181dd:0x187};function _0x47a34e(_0x42b957,_0x5c2356,_0xfea24f,_0x54cb2c){return _0x3342ed(_0x42b957-0x5e,_0x42b957,_0x54cb2c-0x2d2,_0x54cb2c-0xfa);}function _0x356985(_0x53aad5,_0x263f7a,_0x2290fa,_0x4486ae){return _0x3342ed(_0x53aad5-_0x5c9aaf._0x36f0cb,_0x53aad5,_0x2290fa- -_0x5c9aaf._0x1181dd,_0x4486ae-0x6a);}return defineTool({'name':_0x356985(0x29b,_0xa7c212._0x4d0d24,0x2a2,0x34f),'description':_0x356985(_0xa7c212._0x2ee872,_0xa7c212._0x5b4f5a,_0xa7c212._0x224307,0x38b),'inputSchema':{'type':'object','properties':{'todos':{'type':'array','items':{'type':_0x47a34e(_0xa7c212._0x4f0d95,0x3e5,_0xa7c212._0xdc5edf,0x536),'properties':{'content':{'type':_0x47a34e(0x795,0x795,_0xa7c212._0x3cef08,_0xa7c212._0x1b4dbc)},'status':{'type':'string'},'priority':{'type':_0x47a34e(_0xa7c212._0x2b1b40,0x7f9,_0xa7c212._0x50b413,0x75e)},'id':{'type':'string'},'createdAt':{'type':'string'}},'required':[_0x47a34e(0x80e,_0xa7c212._0x11363a,0x76a,0x743),_0x47a34e(_0xa7c212._0x5dc3a7,_0xa7c212._0x562dd2,0x55b,_0xa7c212._0x118f15),_0x356985(0x2b7,_0xa7c212._0xccc3c0,0x192,_0xa7c212._0x2c290d),'id']}}},'required':[_0x356985(_0xa7c212._0x3933fe,-_0xa7c212._0x11c7c8,_0xa7c212._0x3e6f27,0x16f)]},async *'execute'(_0x5578ec,_0x15712a){const _0x288fd6={_0xad1a9a:0x7b,_0xe7f6d7:0xc0};function _0x334439(_0x5f0cf6,_0x36846a,_0x424e1e,_0x4096e6){return _0x356985(_0x4096e6,_0x36846a-0x85,_0x36846a- -_0x3df715._0x42d2fd,_0x4096e6-0x177);}function _0x2f8067(_0x14fb43,_0x5d5db4,_0x2c3a98,_0x2e3287){return _0x47a34e(_0x5d5db4,_0x5d5db4-_0x288fd6._0xad1a9a,_0x2c3a98-_0x288fd6._0xe7f6d7,_0x14fb43- -0x188);}const _0x599c75=_0x5578ec;validateTodos(_0x599c75);const _0x5470c1=_0x15712a[_0x2f8067(_0x525dc8._0x47afd2,_0x525dc8._0x42669e,_0x525dc8._0x4ab926,0x341)]||_0x2f8067(_0x525dc8._0x4180b5,0x475,_0x525dc8._0x5c17f4,0x6b9),_0x2cab01=new Date()[_0x334439(-0x67,-_0x525dc8._0x3fde0b,-0x97,-0x17d)](),_0x204562=_0x599c75[_0x2f8067(_0x525dc8._0x6aa88f,_0x525dc8._0x2fb54f,_0x525dc8._0xa16e70,0x2f4)]['map'](_0x1d53c1=>({'id':_0x1d53c1['id'],'content':_0x1d53c1[_0x2f8067(0x5bb,0x556,0x4b1,0x728)],'status':_0x1d53c1['status'],'priority':_0x1d53c1['priority'],'sessionId':_0x5470c1,'createdAt':_0x1d53c1['createdAt']||_0x2cab01,'updatedAt':_0x2cab01}));_0x502e81[_0x2f8067(_0x525dc8._0x244b64,_0x525dc8._0x38458b,_0x525dc8._0x1117bb,0x594)](_0x5470c1,_0x204562);const _0x5b35b2=_0x502e81[_0x334439(-0x2c1,-0x26a,-0x358,-_0x525dc8._0x283e5d)](_0x5470c1),_0x4b1d02=_0x204562['length']>0x0&&_0x204562[_0x2f8067(_0x525dc8._0x3f1df7,_0x525dc8._0x26d446,0x446,_0x525dc8._0x3b6780)](_0x48338f=>_0x48338f[_0x2f8067(0x44e,0x521,0x5c4,0x3d7)]===_0x2f8067(0x49d,0x615,0x532,0x60d));return createToolOutput(createOutputText(_0x204562,_0x4b1d02),createStructuredResult(_0x5470c1,_0x204562,_0x5b35b2,_0x4b1d02));}});}import{mkdir as _0x5c1398,writeFile as _0xab4737}from'fs/promises';import*as _0xa4fdd2 from'path';function sanitizeFileName(_0x1e6333){return _0x1e6333['replace'](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x2f59a8,_0x72cefb){const _0x52f1d1={_0x1ea881:0x23,_0x58ab22:0xb,_0x416b99:0x8a,_0x10aaf0:0x10e,_0x4d409b:0x28a,_0x4f7db8:0x2a2,_0x14650b:0x63,_0x49aa37:0x139,_0x13d291:0x17,_0x2a8a69:0xcc,_0x44ec14:0x94,_0x1c7ead:0x109,_0x37f45c:0x48,_0x27a442:0x101,_0x289be4:0x335,_0x2b9b73:0x2b9,_0x4c8273:0x1bf,_0x431c15:0x107,_0x9f9c63:0x128,_0x47895e:0x144,_0x5d643b:0x170,_0x6839f7:0x173,_0x42abca:0x72,_0x1f7028:0x92,_0x45c480:0x8d,_0x16a65f:0x8a,_0x2eef13:0x32,_0x48b2b6:0x2c,_0x24381c:0x10,_0x2110ba:0xc6,_0xea1a8d:0x32,_0x20703c:0x22f,_0x42a44a:0x126,_0x39fdc5:0x109,_0x5c2af6:0x20,_0x1f536f:0xb3,_0x598b64:0x73,_0x45e20c:0x3a,_0x3fd4c4:0x345,_0x426119:0x275,_0x542ae1:0x342,_0x17ec97:0x15f,_0x57505a:0xb2,_0x5760f8:0xa5,_0x539862:0x2,_0x2bd85e:0x1b6,_0xd777b1:0xa5,_0xb67f37:0x19f,_0x2ce09b:0xf9,_0x3d5652:0x24c,_0x31e76e:0x361,_0x53b156:0x31f,_0x5a98dd:0x112,_0x5383d8:0x245,_0x3ecdf5:0xe4,_0x46efcb:0x1f,_0x5200ab:0xf2,_0x2da865:0x3d,_0x345154:0xbf,_0x1a3add:0x70},_0x3b52ad={_0x15290b:0x24e},_0x4b6e50={_0x4a4408:0x1d1,_0x12efbc:0x37f},{maxBytes:_0xbbeac5,sessionDir:_0x5d6115}=_0x72cefb;function _0x4b254b(_0x1b1191,_0x144270,_0x53f7ad,_0x405649){return _0x3342ed(_0x1b1191-_0x4b6e50._0x4a4408,_0x144270,_0x53f7ad- -_0x4b6e50._0x12efbc,_0x405649-0x1e4);}if(!_0x2f59a8[_0x186150(-_0x52f1d1._0x1ea881,_0x52f1d1._0x58ab22,0x9b,_0x52f1d1._0x416b99)]||Buffer[_0x186150(0x6c,-0x38,-0x185,_0x52f1d1._0x10aaf0)](_0x2f59a8[_0x4b254b(-0xaf,-0x253,-0x126,-0x242)],_0x186150(0x10f,0x26a,0x1ac,_0x52f1d1._0x4d409b))<=_0xbbeac5)return _0x2f59a8;function _0x186150(_0xe31233,_0x1976ab,_0x3630ea,_0x17e895){return _0x3342ed(_0xe31233-0x51,_0x17e895,_0x1976ab- -_0x3b52ad._0x15290b,_0x17e895-0x1a4);}const _0x56d1e7=Buffer['byteLength'](_0x2f59a8['output'],_0x4b254b(_0x52f1d1._0x4f7db8,_0x52f1d1._0x14650b,_0x52f1d1._0x49aa37,-_0x52f1d1._0x13d291));if(!_0x5d6115){const _0x157d69=_0x2f59a8['output'][_0x4b254b(_0x52f1d1._0x2a8a69,_0x52f1d1._0x44ec14,_0x52f1d1._0x1c7ead,0x223)](0x0,_0xbbeac5);return{..._0x2f59a8,'output':_0x157d69+(_0x4b254b(0xf3,_0x52f1d1._0x37f45c,0x14d,_0x52f1d1._0x27a442)+_0xbbeac5+_0x186150(_0x52f1d1._0x289be4,0x2ad,_0x52f1d1._0x2b9b73,_0x52f1d1._0x4c8273)+_0x56d1e7+_0x4b254b(-_0x52f1d1._0x431c15,-_0x52f1d1._0x9f9c63,0x15,_0x52f1d1._0x47895e)),'meta':{..._0x2f59a8['meta'],'truncated':!![],'originalBytes':_0x56d1e7,'transforms':[..._0x2f59a8[_0x4b254b(-_0x52f1d1._0x5d643b,-_0x52f1d1._0x6839f7,-0x112,-_0x52f1d1._0x42abca)][_0x186150(-0xe3,_0x52f1d1._0x1f7028,-_0x52f1d1._0x45c480,0x1d)],_0x186150(-0x9e,_0x52f1d1._0x16a65f,0x1e0,_0x52f1d1._0x2eef13)]}};}const _0x84828b=_0x2f59a8[_0x186150(-_0x52f1d1._0x48b2b6,0x124,_0x52f1d1._0x24381c,-0x50)]+'_'+sanitizeFileName(_0x2f59a8['callId'])+'.log',_0x15ee99=_0xa4fdd2['join'](_0x5d6115,_0x84828b);await _0x5c1398(_0x5d6115,{'recursive':!![]}),await _0xab4737(_0x15ee99,_0x2f59a8[_0x4b254b(-0x68,-_0x52f1d1._0x2110ba,-0x126,_0x52f1d1._0xea1a8d)],'utf8');let _0x51ef86=_0x2f59a8[_0x4b254b(-0x15,-_0x52f1d1._0x20703c,-_0x52f1d1._0x42a44a,-0x98)][_0x4b254b(0x1c2,0xc0,_0x52f1d1._0x39fdc5,0x93)](0x0,_0xbbeac5);const _0x8d1b79=_0x51ef86[_0x186150(-0x160,-_0x52f1d1._0x5c2af6,0x12b,_0x52f1d1._0x1f536f)]('\x0a');_0x8d1b79>_0xbbeac5*0.5&&(_0x51ef86=_0x51ef86[_0x4b254b(_0x52f1d1._0x598b64,_0x52f1d1._0x45e20c,0x109,0x1a)](0x0,_0x8d1b79));const _0x5de94b=['',_0x186150(_0x52f1d1._0x3fd4c4,_0x52f1d1._0x426119,_0x52f1d1._0x542ae1,0x321),_0x4b254b(-_0x52f1d1._0x17ec97,-_0x52f1d1._0x57505a,-0x146,-0x17)+_0xbbeac5+_0x4b254b(_0x52f1d1._0x5760f8,-0xe,-0x92,-_0x52f1d1._0x539862)+_0x56d1e7+'\x20bytes).',_0x4b254b(-0x87,-_0x52f1d1._0x2bd85e,-0x106,-_0x52f1d1._0xd777b1)+_0x15ee99,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.',_0x4b254b(-_0x52f1d1._0xb67f37,-0x5e,-_0x52f1d1._0x2ce09b,-0xb6)][_0x186150(_0x52f1d1._0x3d5652,0x1e8,_0x52f1d1._0x31e76e,_0x52f1d1._0x53b156)]('\x0a');return{..._0x2f59a8,'output':_0x51ef86+_0x5de94b,'meta':{..._0x2f59a8[_0x4b254b(0x10,0x5b,-_0x52f1d1._0x5a98dd,-_0x52f1d1._0x5383d8)],'truncated':!![],'originalBytes':_0x56d1e7,'transforms':[..._0x2f59a8[_0x186150(-_0x52f1d1._0x3ecdf5,_0x52f1d1._0x46efcb,-0xc3,-_0x52f1d1._0x5200ab)][_0x186150(_0x52f1d1._0x2da865,0x92,-0x33,0x1bb)],_0x4b254b(_0x52f1d1._0x345154,-0x12c,-0xa7,-_0x52f1d1._0x1a3add)]}};}function createUpdateTopicTool(){const _0x58de35={_0x54d9a8:0x1f4,_0x58ce9f:0x8e,_0x2c59e3:0xdb,_0x89ef7c:0x2a8,_0x2c63dc:0x39d,_0x470594:0x393,_0x49e0b5:0x48f,_0x5f2b71:0x4d0,_0x19c596:0x471,_0x2070c6:0x37f,_0x3eb088:0x21c,_0x164b9a:0x49b},_0x3e5c34={_0x47951e:0x736,_0x4111b2:0x685,_0x58be14:0x649,_0x976f39:0x43a,_0x166be8:0x2c4,_0x1c13fb:0x5b4,_0xd58b24:0x6de},_0x58ae43={_0x4dfc3b:0x1d1,_0x66000b:0xf8},_0x59a7f9={_0x33da61:0x11e};function _0x2ac2f8(_0x588c31,_0x18cb32,_0x1d3ce0,_0x428862){return _0x3342ed(_0x588c31-0xdd,_0x428862,_0x1d3ce0- -0x36a,_0x428862-_0x59a7f9._0x33da61);}function _0x14e6a4(_0x4d1439,_0x357337,_0x25e488,_0x58b200){return _0x257320(_0x4d1439-_0x58ae43._0x4dfc3b,_0x357337-_0x58ae43._0x66000b,_0x357337- -0x48,_0x25e488);}return defineTool({'name':'updateTopic','description':_0x2ac2f8(_0x58de35._0x54d9a8,0x9a,_0x58de35._0x58ce9f,_0x58de35._0x2c59e3),'inputSchema':{'type':_0x14e6a4(0x2b7,_0x58de35._0x89ef7c,_0x58de35._0x2c63dc,_0x58de35._0x470594),'properties':{'topic':{'type':_0x14e6a4(_0x58de35._0x49e0b5,_0x58de35._0x5f2b71,0x3f3,_0x58de35._0x19c596)}},'required':[_0x14e6a4(0x475,_0x58de35._0x2070c6,_0x58de35._0x3eb088,_0x58de35._0x164b9a)]},async *'execute'(_0xbf3293,_0x4a34e0){const _0x1f2063={_0x342fc2:0xde},_0x16cffa={_0x37d6c1:0x1af,_0x96e29f:0x87},{topic:_0x3f2d28}=_0xbf3293;if(typeof _0x3f2d28!==_0x5c3e07(0x68f,0x7c9,0x6ef,_0x3e5c34._0x47951e)||_0x3f2d28[_0x5c3e07(0x43a,0x455,0x32e,0x31d)]()[_0x199dd4(0x18f,-0xd,0xa4,0x140)]===0x0)throw new ToolExecutionError(_0x5c3e07(_0x3e5c34._0x4111b2,0x6f4,0x757,_0x3e5c34._0x58be14),{'error':'invalid_topic'});const _0x40f524=_0x3f2d28[_0x5c3e07(_0x3e5c34._0x976f39,_0x3e5c34._0x166be8,0x47b,0x2f3)]();function _0x199dd4(_0x399493,_0x26a2a9,_0x39e0f3,_0x5974fb){return _0x2ac2f8(_0x399493-0x40,_0x26a2a9-_0x16cffa._0x37d6c1,_0x39e0f3- -_0x16cffa._0x96e29f,_0x26a2a9);}_0x4a34e0['setTopic']?.(_0x40f524),yield createToolOutput(_0x5c3e07(_0x3e5c34._0x1c13fb,0x49e,_0x3e5c34._0xd58b24,0x505)+_0x40f524+'\x22',{'topic':_0x40f524});function _0x5c3e07(_0x440c75,_0x5886a1,_0x2ecddb,_0x14ec39){return _0x14e6a4(_0x440c75-_0x1f2063._0x342fc2,_0x440c75-0x1bf,_0x5886a1,_0x14ec39-0x1de);}return void 0x0;}});}import{readFile as _0x3cc086,stat as _0x4f5e4c}from'fs/promises';import*as _0x2ad153 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x257320(0x4df,0x52d,0x410,0x4e7),_0x257320(0x431,0x392,0x406,0x436),_0x257320(0x44f,0x59b,0x54d,0x405),'original']),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x351438,_0x9294ac){const _0x2f79b1={_0x419e4e:0x545,_0x2bd9f6:0x450,_0x22ad43:0x593,_0x43909b:0x5d0,_0x2279e:0x55f,_0x1117f0:0x58d,_0x55889e:0x55a,_0x1f3679:0x536,_0x3d948f:0x5f2,_0x260d53:0x398,_0x1619f4:0x3a9,_0xdeae38:0x560,_0x3d84ad:0x4ac,_0x1ef728:0x548,_0x310078:0x480,_0x21467e:0x61f,_0x88ae8:0x587,_0x415aba:0x62f,_0x5990be:0x455,_0x9ee07:0x37b,_0x403353:0x3f6,_0x3b0241:0x6c7,_0xa2769:0x6e5,_0xb21186:0x38c,_0x17e286:0x552,_0x18b747:0x3f3,_0x35551c:0x2fc,_0x3266f4:0x65d,_0x2ccd85:0x7b9,_0x1c21b0:0x4a8,_0x5baba6:0x538,_0x489013:0x38a,_0x44aeb8:0x43a,_0x5f3f21:0x3bc,_0x6d8dd3:0x3df,_0x40fefd:0x4ef,_0x20007b:0x68e,_0x4b049b:0x3eb,_0x380574:0x2f1,_0x263d9b:0x530,_0x52e506:0x35d,_0x4a9cb2:0x3c5},_0x2ee5a={_0x3357d8:0x115,_0xe644b7:0x189,_0x140bcc:0x158},_0x2c3ca9={_0xd6bb4a:0x14b};if(_0x351438[_0x20438b(0x5de,_0x2f79b1._0x419e4e,0x536,0x5ee)](0x0,0x8)['equals'](PNG_SIGNATURE))return _0x51ed40(_0x2f79b1._0x2bd9f6,_0x2f79b1._0x22ad43,0x624,0x6d6);if(_0x351438[0x0]===0xff&&_0x351438[0x1]===0xd8&&_0x351438[0x2]===0xff)return _0x51ed40(0x4cb,_0x2f79b1._0x43909b,_0x2f79b1._0x2279e,_0x2f79b1._0x1117f0);const _0x491115=_0x351438[_0x20438b(0x603,_0x2f79b1._0x55889e,_0x2f79b1._0x1f3679,_0x2f79b1._0x3d948f)](0x0,0x6)[_0x20438b(_0x2f79b1._0x260d53,_0x2f79b1._0x1619f4,0x46a,0x2fd)](_0x51ed40(0x655,0x570,_0x2f79b1._0xdeae38,0x539));function _0x51ed40(_0x220b93,_0x5f1f8a,_0x203da2,_0x5d8b96){return _0x257320(_0x220b93-_0x2c3ca9._0xd6bb4a,_0x5f1f8a-0x42,_0x5f1f8a-0x12b,_0x220b93);}function _0x20438b(_0x4ce1d5,_0x4af2fe,_0x5b57b7,_0x4355c6){return _0x3342ed(_0x4ce1d5-_0x2ee5a._0x3357d8,_0x4af2fe,_0x5b57b7-_0x2ee5a._0xe644b7,_0x4355c6-_0x2ee5a._0x140bcc);}if(_0x491115==='GIF87a'||_0x491115===_0x51ed40(_0x2f79b1._0x3d84ad,_0x2f79b1._0x1ef728,0x682,_0x2f79b1._0x310078))return _0x51ed40(_0x2f79b1._0x21467e,0x53d,_0x2f79b1._0x88ae8,0x426);if(_0x351438[_0x51ed40(0x67e,0x564,0x532,_0x2f79b1._0x415aba)](0x0,0x4)['toString']('ascii')===_0x20438b(_0x2f79b1._0x5990be,0x493,0x44c,0x370)&&_0x351438['subarray'](0x8,0xc)[_0x20438b(_0x2f79b1._0x9ee07,0x330,0x46a,_0x2f79b1._0x403353)](_0x51ed40(_0x2f79b1._0x3b0241,0x570,_0x2f79b1._0xa2769,0x48e))===_0x51ed40(_0x2f79b1._0xb21186,0x4a2,_0x2f79b1._0x17e286,0x42b))return _0x51ed40(0x38e,_0x2f79b1._0x18b747,_0x2f79b1._0x35551c,0x3ee);const _0x3aa319=_0x2ad153[_0x51ed40(0x787,_0x2f79b1._0x3266f4,0x602,_0x2f79b1._0x2ccd85)](_0x9294ac)['toLowerCase']();if(_0x3aa319===_0x51ed40(_0x2f79b1._0x1c21b0,0x538,_0x2f79b1._0x5baba6,0x44c))return'image/png';if(_0x3aa319===_0x51ed40(0x4d7,0x5b3,0x5d3,0x671)||_0x3aa319===_0x51ed40(_0x2f79b1._0x489013,_0x2f79b1._0x44aeb8,_0x2f79b1._0x5f3f21,_0x2f79b1._0x6d8dd3))return'image/jpeg';if(_0x3aa319==='.gif')return _0x51ed40(0x4bb,0x53d,_0x2f79b1._0x40fefd,_0x2f79b1._0x20007b);if(_0x3aa319===_0x20438b(_0x2f79b1._0x4b049b,0x5bb,0x456,_0x2f79b1._0x380574))return _0x20438b(_0x2f79b1._0x263d9b,_0x2f79b1._0x52e506,_0x2f79b1._0x4a9cb2,0x27f);return void 0x0;}function normalizeDetail(_0x4d5ef6){const _0x234db8={_0x58a542:0x32e,_0x299b80:0x35c,_0x411025:0x3c9,_0x3d558d:0x4f3,_0x33cd33:0x21f},_0x5df497={_0x18937e:0xce},_0x1da3ae={_0x2a58c5:0x10f,_0x1924ba:0x6b};if(_0x4d5ef6===void 0x0)return void 0x0;const _0x51f944=_0x4d5ef6[_0x1bc943(_0x234db8._0x58a542,0x29f,0x4a7,0x27c)]()[_0x1bc943(0x3b8,_0x234db8._0x299b80,0x28d,_0x234db8._0x411025)]();function _0x1bc943(_0x10bdb1,_0x2a18a2,_0x593ed5,_0x38ea3a){return _0x257320(_0x10bdb1-_0x1da3ae._0x2a58c5,_0x2a18a2-0xc2,_0x10bdb1-_0x1da3ae._0x1924ba,_0x38ea3a);}function _0x3c4008(_0x49ab9f,_0x395573,_0x341696,_0x2a4837){return _0x3342ed(_0x49ab9f-0x16e,_0x341696,_0x2a4837- -_0x5df497._0x18937e,_0x2a4837-0x9f);}if(!SUPPORTED_DETAILS['has'](_0x51f944))throw new ToolExecutionError(_0x1bc943(0x37e,_0x234db8._0x3d558d,_0x234db8._0x33cd33,0x3ce)+_0x4d5ef6,{'detail':_0x4d5ef6});return _0x51f944;}function createViewFileTool(_0x281af4={}){const _0x1ed4ad={_0x534db9:0x644,_0x45b3ee:0x5d5,_0x1112b3:0x589,_0x1d6ca3:0x1d4,_0x3d4b53:0x28c,_0x5f4e4d:0x15c,_0x49ed4c:0x21,_0x505d45:0xfe,_0x209f5a:0x16,_0x29dc38:0x1be,_0x2a0afd:0x8b,_0x792043:0x4ac,_0x58cc49:0x48d,_0x34a4ca:0x233,_0x4f2434:0x121,_0x3c1295:0x67,_0x39d8a7:0x698,_0x3c1808:0x5b4,_0x409490:0x114,_0x4449f7:0x1ac},_0x33f12b={_0x8fed59:0x5e7,_0x566ee6:0x6d9,_0x56c5cb:0x4fa,_0x5effd6:0x5f3,_0x157f0c:0x66e,_0x2284cc:0x50c,_0x378537:0x62d,_0x12d37a:0x5e3,_0x22abcf:0x6f4,_0x3cb67b:0x712,_0x14f786:0x701,_0x185a4c:0x672,_0x44ae5e:0x57c,_0x509f5f:0x4c1,_0x199f1e:0x4b7,_0x203245:0x773,_0x20f2b2:0x4a1,_0x3bccf0:0x5d0,_0x4ff0f9:0x561,_0x1fbbfe:0x404,_0x5f3d2a:0x7e0,_0x2b44a0:0x6b7,_0x78d332:0x6fd,_0x3be846:0x512,_0x181fcd:0x53b,_0x3da55a:0x65b,_0x4cd232:0x6fb,_0x31e8f1:0x600,_0x4eb0c7:0x5f5,_0x22aaf9:0x637,_0x1b98ff:0x6c1,_0x2e7907:0x601,_0x58b8f3:0x6ce,_0x4b9c63:0x812,_0x44cbee:0x450,_0x16a0b0:0x626,_0x41a45e:0x6ca,_0x49ca03:0x585,_0x469477:0x49f,_0x14c322:0x478,_0x4298ec:0x3e5,_0x1e9b8d:0x6cf,_0xe135bf:0x419,_0x1833c0:0x5bf,_0x1e56b9:0x450,_0x1dc9ac:0x593,_0x2e38cd:0x649,_0x15af68:0x557,_0x2536e0:0x512,_0x38aec1:0x6b5,_0x1911e9:0x50a,_0x43a2e2:0x5ee,_0x26c85b:0x79b,_0x34c6e4:0x6c4,_0x38b19c:0x6c1,_0x2124dd:0x5ce,_0x9b4d7f:0x53f,_0x2de5a5:0x4da,_0x139980:0x5c2},_0x51ebcd={_0x291d29:0x42,_0xa914f2:0x119,_0x1ca02d:0xd4},_0x11f9f0={_0x122668:0xd4,_0x49c648:0x289},_0x1deb2c={_0x491c19:0x7e,_0x29044a:0x180},_0x4b1e1d=_0x2ad153[_0x439c59(0x4dd,_0x1ed4ad._0x534db9,_0x1ed4ad._0x45b3ee,_0x1ed4ad._0x1112b3)](_0x281af4['defaultCwd']??process[_0x568cb9(_0x1ed4ad._0x1d6ca3,_0x1ed4ad._0x3d4b53,_0x1ed4ad._0x5f4e4d,0x217)]()),_0x169fde=(_0x281af4['allowedDirs']??[])[_0x568cb9(-_0x1ed4ad._0x49ed4c,_0x1ed4ad._0x505d45,0x94,0x1a0)](_0xca4193=>_0x2ad153[_0x568cb9(0x12c,0x1ba,0xd4,-0x85)](_0xca4193)),_0x5c1cb5=_0x281af4[_0x568cb9(-_0x1ed4ad._0x209f5a,_0x1ed4ad._0x29dc38,_0x1ed4ad._0x2a0afd,0x1fd)]??DEFAULT_MAX_BYTES;function _0x439c59(_0x3be4e4,_0xcd111b,_0x408286,_0x24f82c){return _0x257320(_0x3be4e4-_0x1deb2c._0x491c19,_0xcd111b-0xa5,_0x3be4e4-_0x1deb2c._0x29044a,_0x408286);}const _0x4e49e0=_0x281af4[_0x439c59(_0x1ed4ad._0x792043,_0x1ed4ad._0x58cc49,0x5f0,0x58f)]??_0x568cb9(_0x1ed4ad._0x34a4ca,0x2e,0xc7,_0x1ed4ad._0x4f2434);function _0x568cb9(_0x55e035,_0x315fb4,_0x44385e,_0x5968cc){return _0x257320(_0x55e035-_0x11f9f0._0x122668,_0x315fb4-0x11,_0x44385e- -_0x11f9f0._0x49c648,_0x55e035);}return defineTool({'name':_0x4e49e0,'description':_0x568cb9(0x3d5,0x26a,0x2d7,0x3b2),'inputSchema':{'type':_0x568cb9(-0xad,-0xb3,_0x1ed4ad._0x3c1295,-0xd1),'properties':{'path':{'type':_0x439c59(_0x1ed4ad._0x39d8a7,_0x1ed4ad._0x3c1808,0x585,0x534)},'detail':{'type':'string'}},'required':[_0x568cb9(_0x1ed4ad._0x409490,_0x1ed4ad._0x4449f7,0x19c,0x22d)]},async *'execute'(_0x4beff8){const _0xcae615={_0xd7746e:0x88},_0x1a2ad3=resolveAllowedPath(_0x4b1e1d,_0x169fde,_0x4beff8[_0x46a396(0x690,_0x33f12b._0x8fed59,_0x33f12b._0x566ee6,0x546)]);await assertWorkspaceFile(_0x1a2ad3);const _0x249349=await _0x4f5e4c(_0x1a2ad3);if(_0x249349['size']>_0x5c1cb5)throw new ToolExecutionError(_0x105d19(_0x33f12b._0x56c5cb,_0x33f12b._0x5effd6,_0x33f12b._0x157f0c,0x69b)+_0x4beff8[_0x105d19(_0x33f12b._0x2284cc,_0x33f12b._0x378537,_0x33f12b._0x12d37a,0x649)],{'path':_0x4beff8['path'],'maxBytes':_0x5c1cb5,'size':_0x249349[_0x105d19(_0x33f12b._0x22abcf,0x707,_0x33f12b._0x3cb67b,_0x33f12b._0x14f786)]});const _0x4cd974=await _0x3cc086(_0x1a2ad3),_0x11ad0f=detectImageMediaType(_0x4cd974,_0x1a2ad3);function _0x46a396(_0x3ba6ca,_0x38ebfb,_0x32a690,_0x341e8a){return _0x439c59(_0x38ebfb-_0x51ebcd._0x291d29,_0x38ebfb-_0x51ebcd._0xa914f2,_0x3ba6ca,_0x341e8a-_0x51ebcd._0x1ca02d);}if(!_0x11ad0f)throw new ToolExecutionError(_0x46a396(0x793,0x6fe,0x862,_0x33f12b._0x185a4c)+_0x4beff8[_0x46a396(_0x33f12b._0x44ae5e,_0x33f12b._0x8fed59,_0x33f12b._0x509f5f,0x562)],{'path':_0x4beff8[_0x105d19(_0x33f12b._0x199f1e,_0x33f12b._0x378537,0x503,_0x33f12b._0x203245)],'supported':['.gif','.jpeg','.jpg',_0x46a396(0x5d2,0x5cf,_0x33f12b._0x20f2b2,0x621),_0x105d19(_0x33f12b._0x3bccf0,_0x33f12b._0x4ff0f9,0x4ec,_0x33f12b._0x1fbbfe)]});const _0x2ad22c=normalizeDetail(_0x4beff8[_0x46a396(0x7ab,0x6e1,0x6e4,0x673)]),_0x1f1630=[_0x46a396(0x764,0x670,_0x33f12b._0x5f3d2a,_0x33f12b._0x2b44a0)+_0x4beff8[_0x105d19(_0x33f12b._0x78d332,0x62d,0x714,_0x33f12b._0x3be846)],_0x46a396(_0x33f12b._0x181fcd,0x627,_0x33f12b._0x3da55a,0x6a3)+_0x11ad0f,_0x46a396(_0x33f12b._0x4cd232,_0x33f12b._0x31e8f1,_0x33f12b._0x4eb0c7,0x774)+_0x249349[_0x46a396(_0x33f12b._0x22aaf9,_0x33f12b._0x1b98ff,0x585,0x6ef)]+'\x20bytes'][_0x105d19(_0x33f12b._0x2e7907,_0x33f12b._0x58b8f3,0x5c3,_0x33f12b._0x4b9c63)](_0x2ad22c?[_0x105d19(0x48a,0x5bd,_0x33f12b._0x44cbee,0x5aa)+_0x2ad22c]:[])[_0x105d19(_0x33f12b._0x16a0b0,_0x33f12b._0x41a45e,0x812,_0x33f12b._0x49ca03)]('\x0a'),_0x23348a=[{'type':_0x46a396(_0x33f12b._0x469477,0x555,_0x33f12b._0x14c322,_0x33f12b._0x4298ec),'source':{'type':'base64','media_type':_0x11ad0f,'data':_0x4cd974[_0x105d19(_0x33f12b._0x1e9b8d,0x575,0x675,_0x33f12b._0xe135bf)](_0x46a396(_0x33f12b._0x1833c0,0x4f9,0x3fd,_0x33f12b._0x1e56b9))}},{'type':_0x105d19(_0x33f12b._0x1dc9ac,_0x33f12b._0x2e38cd,0x67e,_0x33f12b._0x15af68),'text':_0x1f1630}];function _0x105d19(_0x3fca20,_0x12ed21,_0x30bcc3,_0x4d1d62){return _0x439c59(_0x12ed21-_0xcae615._0xd7746e,_0x12ed21-0xa,_0x30bcc3,_0x4d1d62-0xb6);}return yield createToolOutput(_0x1f1630,{'path':_0x4beff8[_0x105d19(0x56e,0x62d,0x6eb,_0x33f12b._0x2536e0)],'resolvedPath':_0x1a2ad3,'created':_0x249349[_0x105d19(_0x33f12b._0x38aec1,0x5e2,0x688,0x6a6)][_0x46a396(_0x33f12b._0x1911e9,_0x33f12b._0x43a2e2,0x6b6,0x748)](),'modified':_0x249349[_0x46a396(0x626,_0x33f12b._0x38aec1,0x5f4,_0x33f12b._0x26c85b)][_0x46a396(_0x33f12b._0x34c6e4,0x5ee,0x587,0x5fc)](),'size':_0x249349[_0x46a396(0x6ca,_0x33f12b._0x38b19c,_0x33f12b._0x2124dd,0x5e3)],'mimeType':_0x11ad0f,'encoding':_0x105d19(0x63d,_0x33f12b._0x9b4d7f,_0x33f12b._0x2de5a5,_0x33f12b._0x139980),..._0x2ad22c?{'detail':_0x2ad22c}:{}},_0x23348a),void 0x0;}});}import _0x5b3b49 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x4cbeac=>{const _0x59f831={_0x459836:0x2c,_0x56fd45:0x6d,_0x3d1e3c:0x184,_0x4f7a2f:0x2db},_0x54e0d7={_0x1783a3:0x1b9,_0x5dec46:0x6d};function _0xd002df(_0x4936a1,_0x26913d,_0x293b49,_0xd40a3e){return _0x3342ed(_0x4936a1-_0x54e0d7._0x1783a3,_0x26913d,_0x293b49- -0x156,_0xd40a3e-_0x54e0d7._0x5dec46);}const {lookup:_0x5e0807}=await import(_0xd002df(_0x59f831._0x459836,_0x59f831._0x56fd45,_0x59f831._0x3d1e3c,_0x59f831._0x4f7a2f));return _0x5e0807(_0x4cbeac,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x23a37f){const _0x5cbedc={_0x8c49a7:0x729,_0x12d7c1:0x7bd,_0x2261c5:0x5ae},_0x11bbf2={_0x31dfbc:0xb5},_0x2dc85d=_0x23a37f['split']('.');if(_0x2dc85d[_0xd696a8(_0x5cbedc._0x8c49a7,0x6b3,_0x5cbedc._0x12d7c1,0x695)]!==0x4)return null;let _0x3fe078=0x0;for(const _0x489e5f of _0x2dc85d){if(!/^\d{1,3}$/[_0xd696a8(0x688,_0x5cbedc._0x2261c5,0x6f2,0x5ec)](_0x489e5f))return null;const _0x579330=Number(_0x489e5f);if(_0x579330>0xff)return null;_0x3fe078=_0x3fe078*0x100+_0x579330;}function _0xd696a8(_0xb51f69,_0x401c9d,_0x3785bc,_0x2dc396){return _0x257320(_0xb51f69-0x10b,_0x401c9d-0x23,_0xb51f69-0x208,_0x2dc396);}function _0x1539c5(_0x414ad8,_0x5aa2bd,_0x72201e,_0x57c368){return _0x3342ed(_0x414ad8-_0x11bbf2._0x31dfbc,_0x414ad8,_0x72201e- -0x475,_0x57c368-0x1bc);}return _0x3fe078>>>0x0;}function isBlockedIpv4(_0x57ff27){const _0x3c2200={_0x5f4d7b:0x9e,_0x2ac658:0x304,_0x306f4d:0x30d,_0x5f02f4:0x15,_0x1377d9:0x1ac,_0x11d9ad:0x1a6,_0x20a3f5:0x9a,_0x57d19f:0x127,_0x239942:0x215,_0x3423a2:0x26c,_0x2b57e5:0x21d,_0x5ad86d:0x6e,_0x3cf987:0x11e,_0x127148:0x23d,_0x410626:0x1f3},_0x50acf9={_0x256cb0:0x1ee},_0x2fa44e={_0x51bf53:0x17c},_0x22671e=ipv4ToInt(_0x57ff27);if(_0x22671e===null)return!![];const _0x40a529=(_0x3c34cd,_0x1025fb)=>{const _0xc33845=ipv4ToInt(_0x3c34cd);if(_0xc33845===null)return![];const _0x286fcf=_0x1025fb===0x0?0x0:0xffffffff<<0x20-_0x1025fb>>>0x0;return(_0x22671e&_0x286fcf)===(_0xc33845&_0x286fcf);};function _0xefce3c(_0x1989e0,_0x3be66a,_0x32f753,_0x588444){return _0x3342ed(_0x1989e0-_0x2fa44e._0x51bf53,_0x32f753,_0x3be66a- -0x13c,_0x588444-0xea);}function _0x32290e(_0x3b7cd9,_0x3a1bec,_0x50ca9c,_0x4d8276){return _0x3342ed(_0x3b7cd9-0x1ae,_0x50ca9c,_0x4d8276- -0x462,_0x4d8276-_0x50acf9._0x256cb0);}return _0x40a529(_0x32290e(-0x94,-0x91,0xb2,_0x3c2200._0x5f4d7b),0x8)||_0x40a529(_0xefce3c(0x3b0,_0x3c2200._0x2ac658,0x36f,_0x3c2200._0x306f4d),0x8)||_0x40a529('100.64.0.0',0xa)||_0x40a529('127.0.0.0',0x8)||_0x40a529(_0xefce3c(0x30f,0x291,0x1cb,0x283),0x10)||_0x40a529(_0xefce3c(-_0x3c2200._0x5f02f4,0x157,_0x3c2200._0x1377d9,_0x3c2200._0x11d9ad),0xc)||_0x40a529(_0xefce3c(_0x3c2200._0x20a3f5,_0x3c2200._0x57d19f,_0x3c2200._0x239942,0x234),0x18)||_0x40a529(_0x32290e(-_0x3c2200._0x3423a2,-_0x3c2200._0x2b57e5,-_0x3c2200._0x5ad86d,-0x1e6),0x10)||_0x40a529(_0xefce3c(0xe4,0x225,_0x3c2200._0x3cf987,_0x3c2200._0x127148),0xf)||_0x40a529(_0xefce3c(_0x3c2200._0x410626,0x308,0x418,0x211),0x4)||_0x40a529(_0x32290e(0x162,0x3f,0xa4,0x73),0x4);}function expandIpv6(_0x1fe9f2){const _0x4aa5a7={_0x5d7a93:0x3b,_0x2d93c8:0x130,_0x39e31b:0x2de,_0x14c402:0x21f,_0x1a5dda:0x1f0,_0x49c315:0x2dd,_0x545052:0x152,_0x2dd1f0:0x2a3,_0x4a58f5:0x282,_0x4b94e7:0x108,_0x51d5fb:0x15f,_0x3d5ee7:0x28f,_0x2f6301:0x326,_0x4f2e58:0x28f,_0x5a208d:0x137,_0x44012c:0xd9,_0x35fa2b:0xf2,_0x4728b4:0x1ee,_0x563399:0x264,_0x45a494:0x1df,_0x2e80a3:0x28b},_0x441171={_0x41e2a3:0x1ca};let _0x3d36d8=_0x1fe9f2,_0x50fada;function _0x41410b(_0x1d8c38,_0x190f29,_0x536508,_0x5e726f){return _0x257320(_0x1d8c38-0x14f,_0x190f29-0xce,_0x190f29- -0x2f5,_0x5e726f);}function _0xe949b9(_0x22d98a,_0x40f773,_0x5bdc1f,_0x20b5ba){return _0x3342ed(_0x22d98a-_0x441171._0x41e2a3,_0x5bdc1f,_0x20b5ba- -0x206,_0x20b5ba-0x18f);}const _0x537d94=_0x3d36d8[_0x41410b(-0x47,-_0x4aa5a7._0x5d7a93,-0xf1,_0x4aa5a7._0x2d93c8)](':');_0x3d36d8[_0x41410b(_0x4aa5a7._0x39e31b,_0x4aa5a7._0x14c402,0x120,_0x4aa5a7._0x1a5dda)](_0x537d94+0x1)[_0x41410b(_0x4aa5a7._0x49c315,0x24c,_0x4aa5a7._0x545052,_0x4aa5a7._0x2dd1f0)]('.')&&(_0x50fada=_0x3d36d8[_0xe949b9(0x216,0x235,0x20a,_0x4aa5a7._0x4a58f5)](_0x537d94+0x1),_0x3d36d8=_0x3d36d8[_0x41410b(0x1ce,0x21f,0x294,_0x4aa5a7._0x4b94e7)](0x0,_0x537d94+0x1));const _0x3b9776=_0x3d36d8['split']('::');if(_0x3b9776[_0xe949b9(0x322,0x248,_0x4aa5a7._0x51d5fb,_0x4aa5a7._0x3d5ee7)]>0x2)return null;const _0x18d733=_0x1724f8=>_0x1724f8['split'](':')[_0x41410b(-0x33,0x7a,-0xf9,0xfb)](_0xa50d44=>_0xa50d44['length']>0x0)[_0xe949b9(0x1c2,0x4a,-0xe6,0x8b)](_0x172bfa=>Number[_0xe949b9(0xd,0x37,-0x119,0x3a)](_0x172bfa,0x10)),_0x5bc93b=_0x3b9776[0x0]?_0x18d733(_0x3b9776[0x0]):[],_0x315e8a=_0x3b9776[_0xe949b9(_0x4aa5a7._0x2f6301,0x173,0x1dc,_0x4aa5a7._0x4f2e58)]===0x2&&_0x3b9776[0x1]?_0x18d733(_0x3b9776[0x1]):[],_0x9c7370=[];if(_0x50fada){const _0x5d83e0=ipv4ToInt(_0x50fada);if(_0x5d83e0===null)return null;_0x9c7370[_0xe949b9(_0x4aa5a7._0x5a208d,_0x4aa5a7._0x51d5fb,0x127,_0x4aa5a7._0x44012c)](_0x5d83e0>>>0x10&0xffff,_0x5d83e0&0xffff);}const _0x38c0fd=[..._0x315e8a,..._0x9c7370],_0x14dddb=0x8-_0x5bc93b['length']-_0x38c0fd['length'];if(_0x3b9776['length']===0x1)return _0x5bc93b[_0x41410b(_0x4aa5a7._0x35fa2b,0x22c,0x2c0,0x2ae)]+_0x38c0fd[_0x41410b(_0x4aa5a7._0x4728b4,0x22c,0x243,_0x4aa5a7._0x563399)]===0x8?[..._0x5bc93b,..._0x38c0fd]:null;if(_0x14dddb<0x0)return null;return[..._0x5bc93b,...new Array(_0x14dddb)[_0x41410b(0x87,_0x4aa5a7._0x45a494,_0x4aa5a7._0x2e80a3,0x221)](0x0),..._0x38c0fd];}function isBlockedIpv6(_0x2966f0){const _0x3d8773={_0x5e7494:0x242,_0x132f86:0x314,_0x7cecda:0xac,_0x4d40b0:0x1f4},_0x309bab={_0x2bee6e:0x1f0,_0x2ce929:0xa1},_0x5d1f4a={_0x4a2cac:0x155,_0x558698:0x2b4},_0x178392=expandIpv6(_0x2966f0);function _0x34f90a(_0x1db185,_0x115851,_0x4b8de7,_0x34cccd){return _0x3342ed(_0x1db185-_0x5d1f4a._0x4a2cac,_0x1db185,_0x115851- -_0x5d1f4a._0x558698,_0x34cccd-0x112);}if(!_0x178392||_0x178392['some'](_0x5afc66=>Number[_0x34f90a(-0xa4,0x47,-0xb,0xb3)](_0x5afc66)))return!![];const _0x4e4c1b=_0x178392['slice'](0x0,0x7)['every'](_0x299a56=>_0x299a56===0x0);if(_0x4e4c1b&&(_0x178392[0x7]===0x0||_0x178392[0x7]===0x1))return!![];if(_0x178392[_0x34f90a(0x144,0x1d4,0x2f0,_0x3d8773._0x5e7494)](0x0,0x5)['every'](_0x423972=>_0x423972===0x0)&&(_0x178392[0x5]===0xffff||_0x178392[0x5]===0x0)){const _0x133e3c=(_0x178392[0x6]<<0x10|_0x178392[0x7])>>>0x0,_0x28e74e=[_0x133e3c>>>0x18&0xff,_0x133e3c>>>0x10&0xff,_0x133e3c>>>0x8&0xff,_0x133e3c&0xff][_0x53e5ea(_0x3d8773._0x132f86,0x2bb,_0x3d8773._0x7cecda,_0x3d8773._0x4d40b0)]('.');return isBlockedIpv4(_0x28e74e);}function _0x53e5ea(_0x500cd5,_0x47326c,_0x16ea46,_0x48f030){return _0x257320(_0x500cd5-_0x309bab._0x2bee6e,_0x47326c-_0x309bab._0x2ce929,_0x48f030- -0x2ce,_0x500cd5);}const _0x185071=_0x178392[0x0];if((_0x185071&0xff00)===0xfc00||(_0x185071&0xfe00)===0xfc00)return!![];if((_0x185071&0xffc0)===0xfe80)return!![];if((_0x185071&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x3339c4){const _0x5cf6fd=isIP(_0x3339c4);if(_0x5cf6fd===0x4)return isBlockedIpv4(_0x3339c4);if(_0x5cf6fd===0x6)return isBlockedIpv6(_0x3339c4);return!![];}async function assertPublicUrl(_0x193a5d,_0xef3fda={}){const _0x24968d={_0x20fa5f:0xf9,_0x5cb000:0x268,_0x14f0b9:0x371,_0x1013f0:0x11f,_0x365f36:0x75,_0x14df9d:0x3f0,_0x4b19be:0x4ba,_0x91124a:0x420,_0x14775d:0x347,_0x3a8705:0x2a,_0x4c34e1:0x4,_0x3efe62:0x79,_0x4ceff7:0x3af,_0x4b43eb:0x2af,_0x2ced65:0x13,_0x3f453f:0x19,_0x487ffe:0x38e,_0x45ca47:0x475,_0x34a7bc:0x322,_0x309b04:0xb4,_0xc31d9e:0x457,_0xb76dc:0x371,_0xd8ecdb:0x3e4,_0x1aabb3:0x4b1,_0x2e6421:0x464,_0x2bc15f:0x34c,_0x1013de:0x11f,_0x2dbd73:0x1d6,_0x1f9800:0x12e,_0x1b957c:0xdc,_0x407754:0x2b3,_0x17611b:0x21a,_0x2c8781:0x15d,_0x37e3c6:0x93},_0x2a9e48={_0x488664:0x1a,_0x217a82:0x30,_0x101ab6:0x184};let _0x264a97;try{_0x264a97=new URL(_0x193a5d);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x193a5d});}if(_0x264a97['protocol']!==_0x5b5104(-_0x24968d._0x20fa5f,-_0x24968d._0x5cb000,-0x159,-0xac)&&_0x264a97[_0x26b1ee(0x495,0x4e9,_0x24968d._0x14f0b9,0x39a)]!=='https:')throw new ToolExecutionError(_0x5b5104(-0x37,_0x24968d._0x1013f0,-_0x24968d._0x365f36,0x5c),{'url':_0x193a5d});if(_0x264a97[_0x26b1ee(0x34e,_0x24968d._0x14df9d,0x2e6,0x4d3)]||_0x264a97[_0x26b1ee(_0x24968d._0x4b19be,0x35c,_0x24968d._0x91124a,_0x24968d._0x14775d)])throw new ToolExecutionError(_0x5b5104(_0x24968d._0x3a8705,_0x24968d._0x4c34e1,0x101,_0x24968d._0x3efe62),{'url':_0x264a97['protocol']+'//'+_0x264a97[_0x26b1ee(_0x24968d._0x4ceff7,0x371,0x21a,_0x24968d._0x4b43eb)]+_0x264a97[_0x5b5104(0x2f,0xda,_0x24968d._0x2ced65,_0x24968d._0x3f453f)]});const _0x250b6c=_0x264a97[_0x26b1ee(_0x24968d._0x487ffe,_0x24968d._0x45ca47,0x4e3,_0x24968d._0x34a7bc)]['replace'](/^\[|\]$/g,''),_0x55dddd=_0x264a97[_0x5b5104(_0x24968d._0x309b04,0x165,0x46,0x1e0)]+'//'+_0x264a97[_0x26b1ee(_0x24968d._0xc31d9e,_0x24968d._0xb76dc,0x374,_0x24968d._0xd8ecdb)]+_0x264a97[_0x26b1ee(_0x24968d._0x1aabb3,_0x24968d._0x2e6421,_0x24968d._0x2bc15f,0x2fd)];if(isIP(_0x250b6c)){if(isBlockedAddress(_0x250b6c))throw new ToolExecutionError(_0x5b5104(-0x104,-0x205,-_0x24968d._0x1013de,-_0x24968d._0x2dbd73),{'url':_0x55dddd});return _0x264a97;}function _0x26b1ee(_0x1f2286,_0x361a8d,_0x45a76e,_0x3b5d4d){return _0x3342ed(_0x1f2286-_0x2a9e48._0x488664,_0x1f2286,_0x361a8d-_0x2a9e48._0x217a82,_0x3b5d4d-_0x2a9e48._0x101ab6);}const _0x17396f=_0xef3fda[_0x5b5104(-0x1e8,-_0x24968d._0x1f9800,-_0x24968d._0x1b957c,-_0x24968d._0x407754)]??defaultLookup;function _0x5b5104(_0x39f650,_0x6e8e8b,_0x44025b,_0x4db294){return _0x257320(_0x39f650-0x193,_0x6e8e8b-0x116,_0x39f650- -0x491,_0x44025b);}let _0x2d27af;try{_0x2d27af=await _0x17396f(_0x250b6c);}catch{throw new ToolExecutionError(_0x5b5104(-0xb3,-_0x24968d._0x17611b,-0x4b,-_0x24968d._0x2c8781),{'url':_0x55dddd});}if(_0x2d27af[_0x5b5104(0x90,-_0x24968d._0x37e3c6,0x179,0xba)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x55dddd});for(const {address:_0x1f93dc}of _0x2d27af){if(isBlockedAddress(_0x1f93dc))throw new ToolExecutionError(_0x5b5104(0x56,0x135,0x1b9,0xd1),{'url':_0x55dddd});}return _0x264a97;}async function safeFetch(_0x404075,_0x538242={},_0x2dc98b={}){const _0xf3c043={_0x33da43:0x1ae,_0x47f794:0x278,_0x35822c:0x22a,_0x3aed27:0x32e,_0x46806d:0x1c4,_0x38f96d:0x1cb,_0x3c4ca0:0x19f,_0x280bed:0x93,_0x52d3ea:0x8b,_0x55f88b:0xb9,_0x2a448b:0x246,_0x46fbe5:0x10c,_0x27e707:0x119,_0x5ad370:0x9c,_0x1f3783:0x9f,_0x2813de:0x1fe,_0x1fee98:0x31,_0x30bfbe:0x47,_0x23afea:0xfd,_0x461616:0x255,_0x520a05:0x88,_0xa6b1b3:0x2a5},_0x487003={_0xc8a0dc:0x5c},_0x5168fd={_0x4aeb47:0x90,_0x2e5e54:0xa};function _0x17bfde(_0x41105c,_0x214485,_0x178813,_0x459fce){return _0x3342ed(_0x41105c-_0x5168fd._0x4aeb47,_0x41105c,_0x178813- -0x1ec,_0x459fce-_0x5168fd._0x2e5e54);}const _0x1bb907=_0x2dc98b[_0x575c88(-0x213,-_0xf3c043._0x33da43,-_0xf3c043._0x47f794,-_0xf3c043._0x35822c)]??fetch,_0x1ef758=_0x2dc98b[_0x17bfde(_0xf3c043._0x3aed27,_0xf3c043._0x46806d,0x257,0x227)]??DEFAULT_MAX_REDIRECTS;function _0x575c88(_0x4d480c,_0x92e098,_0x4481a7,_0x4918a5){return _0x3342ed(_0x4d480c-0x6e,_0x4481a7,_0x92e098- -0x439,_0x4918a5-_0x487003._0xc8a0dc);}let _0x1a3be2=_0x404075;for(let _0x1eb99e=0x0;;_0x1eb99e+=0x1){const _0x1888f2=await assertPublicUrl(_0x1a3be2,_0x2dc98b),_0x59b464=await _0x1bb907(_0x1888f2[_0x17bfde(0x1c2,0x40,0xf5,0x6)](),{..._0x538242,'redirect':_0x17bfde(_0xf3c043._0x38f96d,_0xf3c043._0x3c4ca0,_0xf3c043._0x280bed,-_0xf3c043._0x52d3ea)}),_0x34d761=_0x59b464['headers'][_0x17bfde(_0xf3c043._0x55f88b,_0xf3c043._0x2a448b,0x191,0xa4)](_0x17bfde(_0xf3c043._0x46fbe5,_0xf3c043._0x27e707,0xe9,0x145));if(!REDIRECT_STATUSES[_0x17bfde(_0xf3c043._0x5ad370,_0xf3c043._0x1f3783,0x17a,_0xf3c043._0x2813de)](_0x59b464[_0x575c88(_0xf3c043._0x1fee98,-0x135,-0x238,-_0xf3c043._0x30bfbe)])||!_0x34d761)return _0x59b464;if(_0x1eb99e>=_0x1ef758)throw new ToolExecutionError(_0x575c88(0xe2,0x75,_0xf3c043._0x23afea,-0x64),{'url':_0x1888f2[_0x575c88(-0x11e,-0x158,-0x252,-_0xf3c043._0x461616)]()});_0x1a3be2=new URL(_0x34d761,_0x1888f2)[_0x575c88(-_0xf3c043._0x520a05,-0x158,-0x143,-_0xf3c043._0xa6b1b3)]();}}var USER_AGENT=_0x3342ed(0x406,0x31b,0x462,0x5ca),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x47b760,_0x22c956){const _0x48a442={_0x178fc0:0x378,_0x499272:0x37a,_0x5cd482:0x38c,_0x2d408e:0x3a,_0x2ebea4:0x12f,_0x355e33:0x119,_0x1541b1:0x445,_0x2d2b6f:0x39f,_0x462ae7:0x47f,_0x3f968e:0xdf},_0x2e9002={_0x1c516b:0x15f,_0x1693b2:0x21f},_0x2194f9={_0x58b5db:0x1a},_0x512af0={_0x4111eb:0x184};function _0x2aadc4(_0xf0d210,_0x302b10,_0x1c7658,_0x3586c1){return _0x3342ed(_0xf0d210-0x9c,_0xf0d210,_0x302b10- -_0x512af0._0x4111eb,_0x3586c1-0x1);}const _0x4c9b28=new AbortController(),_0x1aa9c8=setTimeout(()=>_0x4c9b28[_0x2aadc4(0x8a,0x12f,0x283,0x202)](new Error(_0x2aadc4(0x1c3,0x146,0x62,0xa3))),_0x22c956);function _0x1ee940(_0x4aa428,_0x5d844c,_0x5cd6a8,_0x12a929){return _0x3342ed(_0x4aa428-0x129,_0x5cd6a8,_0x12a929-_0x2194f9._0x58b5db,_0x12a929-0x158);}const _0x1ef471=()=>_0x4c9b28[_0x2aadc4(0x24d,0x12f,0x81,0x228)](_0x47b760[_0x2aadc4(0x173,0x2e1,0x302,0x391)]);return _0x47b760[_0x2aadc4(0x43d,_0x48a442._0x178fc0,_0x48a442._0x499272,_0x48a442._0x5cd482)]?_0x4c9b28[_0x2aadc4(_0x48a442._0x2d408e,_0x48a442._0x2ebea4,_0x48a442._0x355e33,-0x3c)](_0x47b760[_0x1ee940(_0x48a442._0x1541b1,0x3bd,_0x48a442._0x2d2b6f,_0x48a442._0x462ae7)]):_0x47b760['addEventListener'](_0x2aadc4(0x239,0x12f,_0x48a442._0x3f968e,0x9a),_0x1ef471,{'once':!![]}),{'signal':_0x4c9b28['signal'],'cleanup':()=>{clearTimeout(_0x1aa9c8);function _0x5239f6(_0x1f63f2,_0x5056a3,_0x1c1a2f,_0x455a24){return _0x2aadc4(_0x455a24,_0x5056a3- -0x28e,_0x1c1a2f-0x80,_0x455a24-0x149);}_0x47b760['removeEventListener'](_0x5239f6(0x0,-_0x2e9002._0x1c516b,-0x40,-_0x2e9002._0x1693b2),_0x1ef471);}};}function createWebFetchTool(_0x164009={}){const _0x32baba={_0x50e652:0x1a6,_0x434109:0x14d,_0xc11539:0xe5,_0x26a1f7:0x123,_0x5719c8:0xa5,_0x27ab3f:0x1f8,_0x235465:0x345,_0x293880:0x229,_0x4834d0:0x70,_0x1b3b14:0x178,_0x1bd740:0xc4,_0xffeae9:0x9b,_0x1e0bc4:0x15e,_0x7c4b3a:0x117,_0x679e5:0x24,_0x25b4c6:0xcb,_0x12ac38:0x157,_0x496098:0x10,_0x2733d3:0xc8,_0x5760dd:0x51,_0x1e54c3:0x103,_0x3803e3:0x1e2,_0x2b6f24:0x69,_0x21944f:0x14f,_0x411e87:0x11e,_0x4fec3a:0x18c,_0x2d8112:0x84,_0x2d02b2:0xc5,_0x579369:0xa7,_0x2e0506:0xf9,_0x22ed3c:0x46,_0x49c3a8:0x100,_0x2af181:0xfd},_0x428684={_0x36db00:0x405,_0x580ffe:0x349,_0x470b67:0x450,_0x5ebc6c:0x161,_0x55e8fe:0x4ac,_0x5d34ec:0x52f,_0x2c13e8:0x60b,_0x235286:0x5ff,_0x5cf4b8:0x38d,_0x5c1c97:0x2de,_0x52e42c:0x396,_0x443fb1:0x5c8,_0x27721e:0x458,_0x26cb93:0x388,_0x51dbd7:0x4bf,_0x3c13c5:0x43b,_0x36a0f7:0x564,_0x188288:0x407,_0x39bb12:0x367,_0x3daaf1:0x3f0,_0x2d5839:0x407,_0x5dbf7d:0x256,_0x48541a:0x30a,_0x1a8901:0x35a,_0x40794b:0x34a,_0x1127fa:0x29e,_0x3a4198:0x306,_0x44bb5e:0x2e1,_0x422957:0x1a5,_0x54e486:0x65e,_0x82f8bf:0x5d8,_0x1c7903:0x3a4,_0x231674:0x483,_0x4f7c71:0x306,_0xafd0ee:0x2f6,_0x112aed:0x4be,_0x3332c7:0x398,_0x6733ac:0x326,_0xcaf544:0x488,_0x46945b:0x2a3,_0xf315b6:0x699,_0x15c3ad:0x525,_0x359c28:0x385,_0x3046bc:0x22a,_0x48bcb1:0x553,_0x3fdd60:0x3ee},_0x974687={_0x485541:0x46,_0xf50f21:0xa3},_0x4cab0a={_0x5e60e2:0x106,_0x6b6933:0x26},_0x2a45ec={_0x4cf917:0x93},_0x146075={_0x2cc691:0x108},_0xb73040=_0x164009[_0x4e573e(-0x18c,-0x203,-0x1d6,-_0x32baba._0x50e652)]??_0x1e5f77(0x272,_0x32baba._0x434109,0x16b,_0x32baba._0x434109);function _0x1e5f77(_0x18a7ac,_0x3f525b,_0x5a8d5a,_0x106c9c){return _0x3342ed(_0x18a7ac-_0x146075._0x2cc691,_0x5a8d5a,_0x3f525b- -0x381,_0x106c9c-0x1e5);}const _0x10ebc5=_0x164009[_0x4e573e(-_0x32baba._0xc11539,-_0x32baba._0x26a1f7,-_0x32baba._0x5719c8,-_0x32baba._0x27ab3f)]??DEFAULT_TIMEOUT_MS2,_0x56a634=_0x164009[_0x4e573e(-0xe7,-0xde,-_0x32baba._0x235465,-_0x32baba._0x293880)];function _0x4e573e(_0x2e37a5,_0x5546f4,_0x2c7f89,_0x4cf7b4){return _0x257320(_0x2e37a5-_0x2a45ec._0x4cf917,_0x5546f4-0xb,_0x4cf7b4- -0x4d2,_0x2e37a5);}const _0x32b0c8=new _0x5b3b49({'headingStyle':_0x4e573e(_0x32baba._0x4834d0,_0x32baba._0x1b3b14,-_0x32baba._0x1bd740,_0x32baba._0xffeae9),'codeBlockStyle':'fenced','bulletListMarker':'-'});return _0x32b0c8[_0x1e5f77(-0x1d3,-0xe9,-_0x32baba._0x1e0bc4,-0x74)](['script','style',_0x1e5f77(0x19b,_0x32baba._0x7c4b3a,-_0x32baba._0x679e5,0xe3),_0x4e573e(-_0x32baba._0x25b4c6,-_0x32baba._0x12ac38,_0x32baba._0x496098,-0x26),_0x4e573e(-_0x32baba._0x2733d3,-0x11a,_0x32baba._0x5760dd,0x54),_0x4e573e(0xcf,-_0x32baba._0x1e54c3,-_0x32baba._0x3803e3,-_0x32baba._0x2b6f24),'header',_0x1e5f77(-0x75,0x1,-_0x32baba._0x21944f,-_0x32baba._0x411e87)]),defineTool({'name':_0xb73040,'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':'object','properties':{'description':{'type':_0x1e5f77(_0x32baba._0x4fec3a,0x10b,_0x32baba._0x2d8112,0x22d)},'url':{'type':_0x4e573e(_0x32baba._0x2d02b2,_0x32baba._0x579369,-_0x32baba._0x2e0506,_0x32baba._0x22ed3c)}},'required':[_0x4e573e(-_0x32baba._0x49c3a8,-0x25d,-_0x32baba._0x2af181,-0xf9)]},async *'execute'(_0x2b126a,_0xabccbd){function _0x27f6ae(_0xf1b754,_0x1e752c,_0x39ab00,_0x28db35){return _0x4e573e(_0x1e752c,_0x1e752c-_0x4cab0a._0x5e60e2,_0x39ab00-_0x4cab0a._0x6b6933,_0x28db35-0x549);}const _0x3c2568=(await assertPublicUrl(_0x2b126a[_0x27f6ae(_0x428684._0x36db00,0x449,_0x428684._0x580ffe,_0x428684._0x470b67)],{'lookup':_0x56a634}))[_0x1bb0bb(0x340,0x2be,0x219,_0x428684._0x5ebc6c)]();if(_0xabccbd['signal'][_0x27f6ae(_0x428684._0x55e8fe,_0x428684._0x5d34ec,_0x428684._0x2c13e8,_0x428684._0x235286)])throw new ToolExecutionError(_0x27f6ae(0x4df,_0x428684._0x5cf4b8,_0x428684._0x5c1c97,0x424),{'url':_0x3c2568});const _0x518838=createTimeoutSignal(_0xabccbd[_0x27f6ae(_0x428684._0x52e42c,_0x428684._0x443fb1,0x394,0x4ae)],_0x10ebc5);let _0x22f81a='',_0x3ee7b4=0x0,_0x31dded;try{const _0x1a1e71=await safeFetch(_0x3c2568,{'headers':{'User-Agent':USER_AGENT},'signal':_0x518838[_0x1bb0bb(_0x428684._0x27721e,_0x428684._0x26cb93,_0x428684._0x51dbd7,_0x428684._0x3c13c5)]},{'lookup':_0x56a634});if(!_0x1a1e71['ok'])throw new ToolExecutionError('HTTP\x20'+_0x1a1e71[_0x27f6ae(_0x428684._0x36a0f7,0x51a,0x2af,_0x428684._0x188288)]+'\x20'+_0x1a1e71[_0x1bb0bb(0x291,0x31c,_0x428684._0x39bb12,0x3d8)],{'url':_0x3c2568,'statusCode':_0x1a1e71[_0x27f6ae(0x293,0x557,_0x428684._0x3daaf1,_0x428684._0x2d5839)]});_0x22f81a=_0x1a1e71[_0x1bb0bb(0x3c6,0x250,_0x428684._0x5dbf7d,0x1e0)][_0x1bb0bb(_0x428684._0x48541a,_0x428684._0x1a8901,_0x428684._0x40794b,_0x428684._0x1127fa)](_0x27f6ae(0x203,_0x428684._0x3a4198,0x320,0x358))??'',_0x3ee7b4=_0x1a1e71[_0x1bb0bb(0x1dc,_0x428684._0x44bb5e,_0x428684._0x422957,0x1c9)],_0x31dded=await _0x1a1e71[_0x1bb0bb(0x4f0,0x392,0x31c,0x46e)]();}catch(_0x2130a5){if(_0x2130a5 instanceof ToolExecutionError)throw _0x2130a5;const _0x3cfe80=_0x2130a5 instanceof Error?_0x2130a5[_0x27f6ae(0x569,_0x428684._0x54e486,_0x428684._0x82f8bf,0x5dc)]:String(_0x2130a5);throw new ToolExecutionError(_0x3cfe80,{'url':_0x3c2568});}finally{_0x518838[_0x27f6ae(0x374,0x37b,_0x428684._0x1c7903,0x395)]();}const _0x4527df=new Date()[_0x1bb0bb(_0x428684._0x1a8901,0x37d,0x4be,_0x428684._0x231674)]();let _0x367f23;function _0x1bb0bb(_0x142c7e,_0x28d162,_0x4692ca,_0x15b5c0){return _0x4e573e(_0x15b5c0,_0x28d162-_0x974687._0x485541,_0x4692ca-_0x974687._0xf50f21,_0x28d162-0x423);}let _0x178263;if(_0x22f81a['includes']('application/json'))_0x367f23='```json\x0a'+_0x31dded+_0x1bb0bb(0x370,0x27f,0x2ef,_0x428684._0x4f7c71),_0x178263=_0x1bb0bb(0x35d,0x2ef,_0x428684._0xafd0ee,0x285);else _0x22f81a[_0x1bb0bb(_0x428684._0x112aed,0x492,0x330,_0x428684._0x3332c7)](_0x1bb0bb(0x434,_0x428684._0x6733ac,_0x428684._0xcaf544,_0x428684._0x46945b))?(_0x367f23=_0x32b0c8[_0x27f6ae(_0x428684._0xf315b6,_0x428684._0x15c3ad,0x524,0x581)](_0x31dded),_0x178263='markdown'):(_0x367f23=_0x31dded,_0x178263=_0x1bb0bb(0x348,0x392,_0x428684._0x359c28,_0x428684._0x3046bc));return yield createToolOutput(_0x367f23,{'url':_0x3c2568,'contentType':_0x22f81a,'statusCode':_0x3ee7b4,'format':_0x178263,'size':_0x31dded[_0x1bb0bb(_0x428684._0x48bcb1,0x472,0x5cf,_0x428684._0x3fdd60)],'fetchedAt':_0x4527df}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2='Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20Chrome/123.0.0.0\x20Safari/537.36\x20NuvinBot/1.0';function normalizeUrl(_0x431e8a){const _0x4b46c6={_0x44ef38:0x570,_0xc6a88a:0x535,_0x5b7002:0x632,_0x3307ae:0x4e2,_0x1daef6:0x643,_0x5a3a2c:0x4b,_0x1594f0:0x4d1},_0x582a0c={_0x1d23b8:0x102,_0x4fc59b:0x4a4},_0x4c9c80={_0x5edbe5:0x1,_0x37389f:0xa3,_0x911e6a:0x17d};function _0x51ba9d(_0x6f49d8,_0x587886,_0x171095,_0x302fef){return _0x3342ed(_0x6f49d8-_0x4c9c80._0x5edbe5,_0x6f49d8,_0x171095-_0x4c9c80._0x37389f,_0x302fef-_0x4c9c80._0x911e6a);}function _0x3fb126(_0x28f9d7,_0x50b236,_0x31f47c,_0x45c08d){return _0x257320(_0x28f9d7-_0x582a0c._0x1d23b8,_0x50b236-0x13,_0x45c08d- -_0x582a0c._0x4fc59b,_0x50b236);}try{const _0x62e904=new URL(_0x431e8a);for(const _0x3a0024 of['utm_source',_0x51ba9d(_0x4b46c6._0x44ef38,0x3f4,_0x4b46c6._0xc6a88a,_0x4b46c6._0x5b7002),'utm_campaign',_0x51ba9d(0x47b,_0x4b46c6._0x3307ae,0x583,_0x4b46c6._0x1daef6),_0x3fb126(0xcd,-_0x4b46c6._0x5a3a2c,-0x1c2,-0x5a),_0x51ba9d(0x44f,0x356,0x46d,_0x4b46c6._0x1594f0),'fbclid','mc_cid','mc_eid']){_0x62e904['searchParams'][_0x3fb126(0xd2,0x88,-0x32,-0x2d)](_0x3a0024);}return _0x62e904['toString']();}catch{return _0x431e8a;}}function cseDateRestrict(_0x58ec7f){const _0x1780aa={_0x5891a6:0xd7,_0x460c1b:0x20,_0x40a54a:0x22e,_0x47acc6:0x1c6,_0x1f919e:0x207,_0x352083:0x263,_0x3e88c0:0x142,_0x2ed28c:0x1f,_0x539044:0x3a,_0x23285c:0x5d9,_0x4a5cc8:0x4e0,_0x1375d7:0x464},_0x4ef3e3={_0x1c7877:0xd0},_0x155186={_0x58581a:0x191};if(_0x58ec7f<=0x0)return void 0x0;function _0x50a5e2(_0x3ba897,_0x4fc28e,_0x25bcf6,_0x3608c2){return _0x3342ed(_0x3ba897-_0x155186._0x58581a,_0x25bcf6,_0x3ba897- -0x181,_0x3608c2-0x11f);}function _0x453564(_0x5d7f97,_0x2d5daf,_0x28360b,_0x213a82){return _0x257320(_0x5d7f97-0x59,_0x2d5daf-_0x4ef3e3._0x1c7877,_0x28360b-0x217,_0x213a82);}if(_0x58ec7f<=0x1e)return'd'+Math[_0x50a5e2(_0x1780aa._0x5891a6,-0x21,_0x1780aa._0x460c1b,_0x1780aa._0x40a54a)](0x1,Math[_0x50a5e2(_0x1780aa._0x47acc6,_0x1780aa._0x1f919e,_0x1780aa._0x352083,0x116)](_0x58ec7f));if(_0x58ec7f<=0x16d)return'm'+Math[_0x50a5e2(0xbc,_0x1780aa._0x3e88c0,-_0x1780aa._0x2ed28c,-_0x1780aa._0x539044)](_0x58ec7f/0x1e);return'y'+Math[_0x453564(_0x1780aa._0x23285c,0x4e2,_0x1780aa._0x4a5cc8,_0x1780aa._0x1375d7)](_0x58ec7f/0x16d);}function addSiteFilters(_0x251902,_0x29c461){const _0x1a8eb9={_0x2b3e39:0x5d6,_0x2b783d:0x66e,_0x45fc64:0x154,_0x53767d:0x4fa,_0x33bd65:0x49a,_0x5b4774:0x381,_0x3e2dad:0x406,_0x12a14c:0x4e8,_0x14c994:0x197},_0x515dc7={_0x1505e1:0x10f};function _0x3253c6(_0xc4b277,_0x2611d0,_0x1a2228,_0x4548b6){return _0x3342ed(_0xc4b277-0x90,_0x2611d0,_0x1a2228-0xc4,_0x4548b6-0x1eb);}function _0x46f304(_0x5b7d4e,_0x3c247b,_0x4d16b4,_0x3fa72a){return _0x3342ed(_0x5b7d4e-_0x515dc7._0x1505e1,_0x3fa72a,_0x4d16b4- -0x184,_0x3fa72a-0x11b);}if(_0x29c461[_0x3253c6(_0x1a8eb9._0x2b3e39,0x57f,0x559,_0x1a8eb9._0x2b783d)]===0x0)return _0x251902[_0x46f304(-0x5b,0x74,0xb3,_0x1a8eb9._0x45fc64)]();return(_0x251902+'\x20('+_0x29c461['map'](_0x545b46=>_0x46f304(0x181,0x213,0x22c,0x169)+_0x545b46)[_0x3253c6(0x5b6,0x3aa,_0x1a8eb9._0x53767d,_0x1a8eb9._0x33bd65)](_0x3253c6(_0x1a8eb9._0x5b4774,_0x1a8eb9._0x3e2dad,0x4df,_0x1a8eb9._0x12a14c))+')')[_0x3253c6(0x430,0x41c,0x2fb,_0x1a8eb9._0x14c994)]();}function normalizeType(_0x20562a){const _0x20eb93={_0x23f832:0x762,_0x168fdf:0x837,_0x340170:0x762,_0x52aaf3:0x863,_0x5bd4f6:0x650,_0x2095b8:0x14b},_0x53ccc2={_0x47f4e2:0x10c,_0x122b13:0x206},_0x3617c7={_0x458c49:0x143,_0x1812a6:0x1e2};function _0xa50fc7(_0x5c3362,_0x5b8752,_0x34694e,_0x17d030){return _0x257320(_0x5c3362-0xde,_0x5b8752-_0x3617c7._0x458c49,_0x5c3362-_0x3617c7._0x1812a6,_0x5b8752);}function _0xbd5247(_0x3f2021,_0x32f002,_0xe35f9f,_0x290abf){return _0x257320(_0x3f2021-0xfe,_0x32f002-_0x53ccc2._0x47f4e2,_0x290abf- -_0x53ccc2._0x122b13,_0xe35f9f);}return _0x20562a===_0xa50fc7(_0x20eb93._0x23f832,0x731,_0x20eb93._0x168fdf,0x898)?_0xa50fc7(_0x20eb93._0x340170,_0x20eb93._0x52aaf3,_0x20eb93._0x5bd4f6,0x5f0):_0xbd5247(-0x13,0x24c,0x25c,_0x20eb93._0x2095b8);}async function fetchJson(_0x238780,_0xdc2185,_0x4a5f10){const _0x591778={_0x5b76e0:0x3bc,_0x1f1bfe:0x271,_0x2c7a61:0x47a,_0x39e480:0x3c9,_0xd350a2:0x3fc,_0x184fef:0x50b,_0x5b6613:0x684,_0x5daa19:0x61b,_0x156249:0x3d4,_0x5e8ee5:0x560,_0x52f040:0x53f,_0x309632:0x3b3,_0x25b913:0x3a1,_0x30e45d:0x5e9,_0x136533:0x506,_0x287229:0x5ac,_0x247589:0x5a9,_0xa4075f:0x29d,_0x17b6df:0x2e2,_0x8ea1c4:0x62f,_0x23987a:0x4ed,_0x211165:0x6eb,_0x55b049:0x52a,_0x31a41c:0x57e,_0x395716:0x3ca,_0x3698d2:0x528,_0x229283:0x4c8,_0x59ca28:0x2b1,_0x34a1f8:0x3e7,_0x1079c9:0x415,_0x479405:0x24a,_0x5834eb:0x212,_0x5496b0:0x5b6,_0x125816:0x368,_0x3b390e:0x495,_0x4c7c32:0x4a4,_0x543408:0x404,_0x471212:0x1b6,_0x3208cb:0xa1},_0x398135={_0x350282:0x18d},_0x490f6d={_0x1671d1:0xb5},_0x3afd38=await fetch(_0x238780,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x16c92f(_0x591778._0x5b76e0,_0x591778._0x1f1bfe,_0x591778._0x2c7a61,0x3ae),..._0x4a5f10?.[_0x16c92f(_0x591778._0x39e480,_0x591778._0xd350a2,0x51c,0x35d)]},'signal':_0xdc2185,..._0x4a5f10});if(!_0x3afd38['ok']){let _0x5e0cfd,_0x42e6d2;try{_0x5e0cfd=await _0x3afd38[_0x16c92f(_0x591778._0x184fef,_0x591778._0x5b6613,_0x591778._0x5daa19,_0x591778._0x156249)]();const _0x5b02e0=JSON[_0x16c92f(_0x591778._0x5e8ee5,_0x591778._0x52f040,0x68c,0x4a5)](_0x5e0cfd),_0x24685a=typeof _0x5b02e0[_0x3b36e9(_0x591778._0x309632,0x460,_0x591778._0x25b913,0x300)]==='object'?_0x5b02e0[_0x16c92f(_0x591778._0x30e45d,_0x591778._0x136533,_0x591778._0x287229,_0x591778._0x247589)]['error']:void 0x0;_0x42e6d2=_0x5b02e0[_0x3b36e9(_0x591778._0xa4075f,0x206,_0x591778._0x17b6df,0x28d)]?.[_0x16c92f(_0x591778._0x8ea1c4,_0x591778._0x23987a,_0x591778._0x211165,0x589)]??_0x5b02e0[_0x16c92f(_0x591778._0x55b049,_0x591778._0x31a41c,_0x591778._0x395716,0x582)]?.[_0x16c92f(0x5a8,_0x591778._0x3698d2,0x55a,_0x591778._0x229283)]?.[0x0]?.[_0x3b36e9(_0x591778._0x59ca28,0x545,_0x591778._0x34a1f8,_0x591778._0x1079c9)]??_0x24685a;}catch{}const _0x279740=_0x42e6d2?'HTTP\x20'+_0x3afd38[_0x3b36e9(_0x591778._0x479405,0x2b9,_0x591778._0x5834eb,0x333)]+':\x20'+_0x42e6d2:_0x16c92f(0x63a,0x76f,_0x591778._0x5496b0,0x66f)+_0x3afd38[_0x16c92f(0x45a,0x427,0x3f0,_0x591778._0x125816)]+'\x20'+_0x3afd38[_0x16c92f(_0x591778._0x3b390e,0x538,_0x591778._0x4c7c32,_0x591778._0x543408)];throw new ToolExecutionError(_0x279740,{'statusCode':_0x3afd38[_0x3b36e9(_0x591778._0x471212,_0x591778._0x3208cb,_0x591778._0x5834eb,0x152)],..._0x5e0cfd?{'body':_0x5e0cfd}:{}});}function _0x3b36e9(_0x5686e9,_0x9bb7b6,_0x3565c3,_0x222b27){return _0x257320(_0x5686e9-0x90,_0x9bb7b6-_0x490f6d._0x1671d1,_0x3565c3- -0x17e,_0x222b27);}function _0x16c92f(_0x1adf9a,_0x2ba145,_0x2d41e9,_0x3a0c7f){return _0x257320(_0x1adf9a-_0x398135._0x350282,_0x2ba145-0x4f,_0x1adf9a-0xca,_0x2ba145);}return await _0x3afd38['json']();}async function hydrateResults(_0x845ecb,_0x445fe2,_0x5c8741,_0x2ea1c6){const _0xa9c940={_0x52387b:0x12,_0x2bd72c:0x137,_0x18fd8b:0x93,_0x14c1ac:0x6cd},_0xf98e0f={_0x3c6160:0x11d,_0x39defd:0x32a},_0x49759f={_0x48cc0c:0x799,_0x2d28fc:0x721,_0x4732f3:0x4f7,_0x388521:0x78a,_0x53da1a:0x73c,_0x4a2fac:0x2c8,_0x211910:0x3fd,_0x4738b9:0x341,_0x40b395:0x1f7,_0x4a4cfc:0x2a1,_0x3cc18d:0x1f8,_0x364771:0x29d,_0x382e8c:0x3a3,_0x36a00b:0x4a8,_0x6b47a7:0x54b,_0x4d5431:0x598,_0x5e7905:0x5b0,_0xf39624:0x47b,_0x421adf:0x412,_0x51b16c:0x549,_0xe5b3ff:0x4ad,_0x2af356:0x521,_0x558550:0x53f,_0x2bc612:0x1e7,_0x459849:0x2ad,_0x59371a:0x331,_0x38a9df:0x2c3,_0x3265a9:0xea,_0x30b841:0x61a,_0x2256ac:0x75b,_0x550d36:0x774,_0x400dfa:0x266,_0xe2089a:0x2f9,_0x1ed485:0x1b1,_0x6430b0:0x6fb,_0x24c1b0:0x663,_0x36bfb1:0x5b3,_0x1ae993:0x48a,_0x43041b:0x6c9,_0x4a12de:0x872,_0x4f7eef:0x7c5,_0xb7470:0x6f2,_0x112ddd:0x2bf,_0x18dd61:0x16c,_0x34f032:0x368,_0x38dd9c:0x643,_0x2a447e:0x5c2,_0x58a701:0x472,_0x605820:0x4a2,_0x396189:0x14d,_0x4f48d4:0x225,_0xe6f2a3:0x35c,_0x27e118:0x15a,_0x2f3db1:0x213,_0x1501b4:0x669},_0x1742ff={_0x4751e2:0x1a2,_0x1cbcff:0x1bf,_0xa5398f:0x81};function _0x4a0c6f(_0x4828b7,_0x3e1403,_0x32a9f7,_0x2e269a){return _0x3342ed(_0x4828b7-_0x1742ff._0x4751e2,_0x2e269a,_0x32a9f7-_0x1742ff._0x1cbcff,_0x2e269a-_0x1742ff._0xa5398f);}const _0x326586=await Promise[_0x5673ed(-0xd3,-_0xa9c940._0x52387b,0x84,-0x28)](_0x845ecb[_0x5673ed(_0xa9c940._0x2bd72c,_0xa9c940._0x18fd8b,0x229,0x1ea)](0x0,0xa)['map'](async _0x5861e7=>{const _0x2fefac={_0x4e248d:0x1d9,_0x3b1029:0x7a},_0x549a36={_0x458c21:0x18f,_0x250b36:0x28d};function _0x137062(_0x5765cf,_0x1e8bd8,_0x14e872,_0x437ef2){return _0x4a0c6f(_0x5765cf-_0x549a36._0x458c21,_0x1e8bd8-0x194,_0x1e8bd8- -_0x549a36._0x250b36,_0x14e872);}function _0x38c959(_0x275d5c,_0x121bcc,_0xba25a6,_0x19fde0){return _0x4a0c6f(_0x275d5c-_0x2fefac._0x4e248d,_0x121bcc-_0x2fefac._0x3b1029,_0xba25a6-0x12b,_0x19fde0);}try{const _0xcf546f=await safeFetch(_0x5861e7[_0x38c959(_0x49759f._0x48cc0c,_0x49759f._0x2d28fc,0x637,_0x49759f._0x4732f3)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x445fe2,'Accept':_0x38c959(_0x49759f._0x388521,_0x49759f._0x53da1a,0x633,0x4e7)},'signal':_0x5c8741},{'lookup':_0x2ea1c6});if(!_0xcf546f['ok'])return _0x5861e7;const _0x2c1494=await _0xcf546f[_0x137062(_0x49759f._0x4a2fac,0x2e7,_0x49759f._0x211910,_0x49759f._0x4738b9)](),_0x1eeddf=load(_0x2c1494),_0x2fff0c=_0x1eeddf(_0x137062(_0x49759f._0x40b395,_0x49759f._0x4a4cfc,_0x49759f._0x3cc18d,_0x49759f._0x364771))['attr'](_0x137062(0x2b1,_0x49759f._0x382e8c,0x4aa,0x457))||_0x1eeddf(_0x38c959(_0x49759f._0x36a00b,0x553,_0x49759f._0x6b47a7,_0x49759f._0x4d5431))[_0x38c959(0x4c0,0x687,_0x49759f._0x5e7905,_0x49759f._0xf39624)]()[_0x137062(0x312,0x2e7,_0x49759f._0x421adf,0x313)]()[_0x38c959(_0x49759f._0x51b16c,_0x49759f._0xe5b3ff,_0x49759f._0x2af356,0x64b)](),_0x1b9ae0=_0x1eeddf(_0x38c959(_0x49759f._0x558550,0x5e4,0x593,0x42c))['attr']('content')||_0x1eeddf(_0x137062(_0x49759f._0x2bc612,0x29e,0x252,_0x49759f._0x459849))[_0x137062(0x30d,0x1fb,0x20d,_0x49759f._0x59371a)]('content')||_0x5861e7[_0x137062(0x32d,0x2e5,0x1bb,_0x49759f._0x38a9df)],_0x44232b=_0x1eeddf(_0x137062(_0x49759f._0x3265a9,0x1e2,0x8a,0xf8))[_0x137062(0xd5,0x1fb,0xde,0x93)](_0x38c959(0x87a,_0x49759f._0x30b841,_0x49759f._0x2256ac,_0x49759f._0x550d36))||_0x1eeddf(_0x137062(0x29d,_0x49759f._0x400dfa,_0x49759f._0xe2089a,_0x49759f._0x1ed485))[_0x38c959(_0x49759f._0x6430b0,_0x49759f._0x24c1b0,_0x49759f._0x36bfb1,_0x49759f._0x1ae993)](_0x38c959(_0x49759f._0x43041b,_0x49759f._0x4a12de,_0x49759f._0x4f7eef,0x74e))||_0x5861e7[_0x38c959(0x8a9,0x680,0x737,_0x49759f._0xb7470)],_0x304fc6=_0x1eeddf(_0x137062(0x37e,_0x49759f._0x112ddd,_0x49759f._0x18dd61,_0x49759f._0x34f032))[_0x38c959(_0x49759f._0x38dd9c,_0x49759f._0x2a447e,0x5b3,0x710)]('href');return{..._0x5861e7,'title':_0x2fff0c||_0x5861e7[_0x38c959(_0x49759f._0x58a701,0x535,_0x49759f._0x6b47a7,_0x49759f._0x605820)],'snippet':_0x1b9ae0,'url':_0x304fc6?normalizeUrl(new URL(_0x304fc6,_0x5861e7[_0x137062(_0x49759f._0x396189,0x27f,_0x49759f._0x4f48d4,_0x49759f._0xe6f2a3)])[_0x137062(_0x49759f._0x27e118,_0x49759f._0x2f3db1,0x1a0,0x1e6)]()):_0x5861e7[_0x38c959(0x54b,0x656,0x637,_0x49759f._0x1501b4)],'publishedAt':_0x44232b};}catch{return _0x5861e7;}})),_0x3bd441=new Map(_0x845ecb[_0x4a0c6f(0x5be,0x5af,0x647,_0xa9c940._0x14c1ac)](0x0,0xa)['map']((_0x12c0c,_0x28bf89)=>[_0x12c0c['url'],_0x326586[_0x28bf89]]));function _0x5673ed(_0x46b3aa,_0x284886,_0xb6420,_0x36b18e){return _0x257320(_0x46b3aa-_0xf98e0f._0x3c6160,_0x284886-0x18,_0x36b18e- -_0xf98e0f._0x39defd,_0x284886);}return _0x845ecb[_0x5673ed(0x6a,-0xd4,-0x16,-0xd)](_0x18a086=>_0x3bd441[_0x5673ed(0x103,0x53,0x179,0xdf)](_0x18a086[_0x5673ed(-0x4d,0x111,0x191,0xaf)])??_0x18a086);}function formatResults(_0x5511d5){const _0x1519c3={_0x26e27d:0x3dd,_0x3c5e50:0x440,_0x384457:0x4a4,_0x5b5d2e:0x5cd},_0x828e0f={_0x594fc1:0x53a,_0x274fca:0x346,_0x4ab00a:0x498,_0x4d52aa:0x3e5,_0x43cb32:0x4c9,_0x1f104a:0x38a,_0x364ac5:0x206,_0x5548eb:0x206,_0x475119:0x331,_0x46ac1a:0x29d,_0x5d0b3c:0x16e,_0x3a6561:0x5a9,_0x3107b0:0x256,_0x3459d0:0x4c9},_0x55b052={_0x449c6e:0x1d9,_0x4970ff:0x27b},_0x56eff4={_0x147ad5:0x24,_0x11e4c7:0x55,_0x385289:0x40},_0x4f2869={_0x5a873c:0x1d0,_0x418605:0x5c};function _0x287fe4(_0x2d5f9a,_0x1a141c,_0x577fa4,_0x367703){return _0x3342ed(_0x2d5f9a-0x18e,_0x577fa4,_0x1a141c-_0x4f2869._0x5a873c,_0x367703-_0x4f2869._0x418605);}if(_0x5511d5[_0x74ac9b(0x51a,_0x1519c3._0x26e27d,0x4d1,_0x1519c3._0x3c5e50)]===0x0)return _0x74ac9b(_0x1519c3._0x384457,0x5b1,_0x1519c3._0x5b5d2e,0x47b);function _0x74ac9b(_0x394fd0,_0x96df26,_0x45a0ce,_0x1e611c){return _0x3342ed(_0x394fd0-_0x56eff4._0x147ad5,_0x96df26,_0x1e611c- -_0x56eff4._0x11e4c7,_0x1e611c-_0x56eff4._0x385289);}return _0x5511d5['map'](_0x3c5921=>{const _0x3fcf47={_0x42d72:0x17f},_0xb35555=[_0x3c5921[_0x2dda45(0x5d8,_0x828e0f._0x594fc1,0x675,0x575)][_0x2dda45(_0x828e0f._0x274fca,_0x828e0f._0x4ab00a,_0x828e0f._0x4d52aa,_0x828e0f._0x43cb32)]+'.\x20'+_0x3c5921['title'],_0x3c5921[_0x504a1e(_0x828e0f._0x1f104a,0x2a2,0x179,_0x828e0f._0x364ac5)]];function _0x504a1e(_0x991092,_0x9cb05e,_0x5bad11,_0x1dbcca){return _0x287fe4(_0x991092-_0x55b052._0x449c6e,_0x9cb05e- -_0x55b052._0x4970ff,_0x991092,_0x1dbcca-0xff);}function _0x2dda45(_0x5d5de2,_0x484add,_0xaf89b9,_0x251092){return _0x74ac9b(_0x5d5de2-0x1b9,_0x5d5de2,_0xaf89b9-_0x3fcf47._0x42d72,_0x484add-0x251);}if(_0x3c5921['snippet'])_0xb35555[_0x504a1e(_0x828e0f._0x5548eb,0x234,0x223,_0x828e0f._0x475119)](_0x3c5921['snippet']);if(_0x3c5921['publishedAt'])_0xb35555['push'](_0x504a1e(_0x828e0f._0x46ac1a,0x171,0x130,_0x828e0f._0x5d0b3c)+_0x3c5921[_0x2dda45(0x6ce,0x649,_0x828e0f._0x3a6561,0x65f)]);return _0xb35555[_0x504a1e(_0x828e0f._0x3107b0,0x38b,0x21f,_0x828e0f._0x3459d0)]('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x35f35d,_0x32b6e3,_0x4c8958){const _0x50ae26={_0x2b0205:0x23,_0x14048d:0x79,_0x334658:0x1b4,_0x1dae7e:0x1f7,_0x453d04:0x2c6,_0x5b1f35:0x150,_0xa42ba0:0xb4,_0x5ab12c:0xbe,_0x2931b3:0x55,_0xfdfce4:0xea,_0x1dae5:0x63,_0xa1ce8e:0x27,_0xb3ed06:0xc3,_0x2b1b33:0x1e,_0x421fa0:0x46,_0x431945:0x15b,_0x2b7911:0xa9,_0x2440d5:0x18a,_0x198047:0x22a,_0x18c41c:0x128,_0x536178:0x194,_0x415252:0x2ee,_0xbb03ba:0x24a},_0x542895={_0x1967e3:0x4da,_0x3064ec:0x4a0,_0x5a49a0:0x5cc,_0xed4ce3:0x651,_0x238bb1:0x3f8,_0x52ad8f:0x600,_0x2c1c69:0x5f0},_0x2141be={_0xffd3a5:0x15a},_0x234381={_0x473cf1:0x218,_0x354b4c:0x133},_0x2fc2df=Math['max'](0x1,Math[_0x3442c8(-_0x50ae26._0x2b0205,_0x50ae26._0x14048d,-0xb0,_0x50ae26._0x334658)](0xa,_0x32b6e3[_0x3442c8(0x42,0xb9,_0x50ae26._0x1dae7e,0x74)])),_0x802419=addSiteFilters(_0x32b6e3[_0x110b69(_0x50ae26._0x453d04,_0x50ae26._0x5b1f35,0x144,_0x50ae26._0xa42ba0)],_0x32b6e3[_0x3442c8(_0x50ae26._0x5ab12c,_0x50ae26._0x2931b3,_0x50ae26._0xfdfce4,-0x99)]);function _0x110b69(_0x138a27,_0x44c47e,_0x2900f6,_0xf0e115){return _0x3342ed(_0x138a27-0x88,_0x2900f6,_0x44c47e- -_0x234381._0x473cf1,_0xf0e115-_0x234381._0x354b4c);}function _0x3442c8(_0x13a63a,_0xaa518,_0x492d27,_0x508706){return _0x257320(_0x13a63a-0x12b,_0xaa518-_0x2141be._0xffd3a5,_0xaa518- -0x3ed,_0x508706);}const _0x75ec22=await fetchJson(_0x3442c8(_0x50ae26._0x1dae5,0xb4,0x1e,0x19d),_0x4c8958,{'method':_0x3442c8(0x11d,0x4,-0x4b,0x166),'headers':{'Authorization':_0x3442c8(_0x50ae26._0xa1ce8e,_0x50ae26._0xb3ed06,0x14c,0xc0)+_0x35f35d[_0x110b69(0xfe,_0x50ae26._0x2b1b33,-0x126,_0x50ae26._0x421fa0)]},'body':JSON[_0x110b69(0x123,_0x50ae26._0x431945,_0x50ae26._0x2b7911,0x256)]({'query':_0x802419,'max_results':_0x2fc2df})}),_0x597764=_0x75ec22[_0x3442c8(0x10f,_0x50ae26._0x2440d5,_0x50ae26._0x198047,0x51)]??[],_0x7a841=_0x597764[_0x3442c8(-_0x50ae26._0x18c41c,-0xd0,_0x50ae26._0x2931b3,-0x1e7)]((_0x4b174c,_0x548e8c)=>{const _0xed418c={_0xe77b8d:0x291},_0x172127={_0x45acae:0x1bb,_0x36162e:0x11d};function _0x5f0de7(_0x5dbfcb,_0x64456a,_0x464c8e,_0x328c2c){return _0x110b69(_0x5dbfcb-_0x172127._0x45acae,_0x328c2c-0x43d,_0x5dbfcb,_0x328c2c-_0x172127._0x36162e);}const _0x3ee984=_0x4b174c[_0x2ab322(_0x542895._0x1967e3,0x2b7,_0x542895._0x3064ec,0x3c6)]||'';let _0x51a9be;try{_0x51a9be=new URL(_0x3ee984)[_0x5f0de7(_0x542895._0x5a49a0,0x442,_0x542895._0xed4ce3,0x566)];}catch{_0x51a9be=null;}function _0x2ab322(_0x6883c3,_0xd5597c,_0x438cf2,_0x3a8ccc){return _0x110b69(_0x6883c3-0x143,_0x3a8ccc-_0xed418c._0xe77b8d,_0xd5597c,_0x3a8ccc-0x19a);}return{'title':_0x4b174c[_0x5f0de7(_0x542895._0x238bb1,0x5ac,0x464,0x486)]||_0x2ab322(0x591,0x5a1,_0x542895._0x52ad8f,0x4b4),'url':normalizeUrl(_0x3ee984),'snippet':_0x4b174c['content']??null,'displayUrl':_0x51a9be,'favicon':null,'publishedAt':null,'source':{'engine':_0x5f0de7(_0x542895._0x2c1c69,0x5d1,0x6ad,0x72b),'rank':_0x548e8c+0x1}};});return{'items':_0x7a841['slice'](0x0,_0x2fc2df),'engine':_0x110b69(_0x50ae26._0x536178,_0x50ae26._0x415252,_0x50ae26._0xbb03ba,0x37d)};}async function searchTavily(_0x540997,_0x12f582,_0x139b80){const _0x105dd2={_0x546e96:0x226,_0x47fd85:0x48f,_0x5cda67:0x11a,_0x30bce7:0x6f,_0x5a56b4:0x4d,_0x31d9ee:0x1d4,_0x38670e:0x3cf,_0x2939f2:0x329,_0x1693c7:0x144,_0xfd10ec:0x19e,_0x4b4b9d:0xd8,_0x2f201c:0x12c,_0x214c7a:0x114,_0xaea9ff:0x16e,_0x470c86:0x15c,_0x4a41c2:0x35d,_0x78a858:0x354,_0x294f9c:0x444,_0xc9ba89:0x497,_0x3e4ad4:0x43c,_0x4fb7e3:0x2e0,_0x4fb1fc:0x3a7,_0xc02542:0x1fe,_0x80e992:0x8a,_0x3c68f2:0xb1,_0xd95a9e:0x12,_0x4bafe5:0x102,_0x1605df:0xfb,_0x158f06:0x16,_0x49a2a6:0x25b,_0x37e0e3:0x10a,_0x1de729:0x31a,_0x54dd95:0x3ef,_0x10545d:0x1ed},_0xed0a2c={_0x5ec921:0x66c,_0x2ae3f6:0x573,_0x2994f2:0x545,_0x502bfe:0x5b6,_0xe2921a:0x3a8,_0x42a5b5:0x4b6,_0x53889a:0x549,_0x1bd881:0x53d,_0xbded04:0x734,_0x31daa9:0x669,_0x4993c5:0x548,_0x4cdf1c:0x2bb,_0xf33965:0x314},_0x5bb28b={_0x4aa366:0xe8,_0x4ef8ef:0x1ad,_0x4cc16f:0x4f3},_0x90d310=Math[_0xaac4b9(0x1ff,0x2ac,0x1d2,0x1bd)](0x1,Math[_0xaac4b9(0x381,_0x105dd2._0x546e96,0x305,_0x105dd2._0x47fd85)](0x14,_0x12f582[_0x28521c(-_0x105dd2._0x5cda67,_0x105dd2._0x30bce7,-_0x105dd2._0x5a56b4,0x4)])),_0x1b9c6e={'query':_0x12f582[_0xaac4b9(0x30f,_0x105dd2._0x31d9ee,0x264,0x26d)],'max_results':_0x90d310,'search_depth':_0x540997[_0xaac4b9(_0x105dd2._0x38670e,0x28e,_0x105dd2._0x2939f2,0x524)]??_0x28521c(-0x1ab,-_0x105dd2._0x1693c7,-0x42,-_0x105dd2._0xfd10ec),'topic':_0x540997[_0x28521c(-_0x105dd2._0x4b4b9d,-0x264,-_0x105dd2._0x2f201c,-_0x105dd2._0x214c7a)]??_0x28521c(-0x114,-0xaa,-_0x105dd2._0xaea9ff,-_0x105dd2._0x470c86)};function _0x28521c(_0x19ff70,_0x334bb3,_0x44a1b3,_0x43fe02){return _0x257320(_0x19ff70-_0x5bb28b._0x4aa366,_0x334bb3-_0x5bb28b._0x4ef8ef,_0x44a1b3- -_0x5bb28b._0x4cc16f,_0x43fe02);}if(_0x12f582[_0xaac4b9(_0x105dd2._0x4a41c2,_0x105dd2._0x78a858,_0x105dd2._0x294f9c,_0x105dd2._0xc9ba89)][_0xaac4b9(_0x105dd2._0x3e4ad4,_0x105dd2._0x4fb7e3,_0x105dd2._0x4fb1fc,0x52a)]>0x0)_0x1b9c6e[_0x28521c(-0x1a2,-0xf4,-0xde,-_0x105dd2._0xc02542)]=_0x12f582[_0x28521c(-0xe4,-_0x105dd2._0x80e992,-_0x105dd2._0x3c68f2,-0xdf)];const _0x5aae2e=await fetchJson(_0xaac4b9(0x481,0x314,0x34b,0x4d3),_0x139b80,{'method':_0x28521c(-_0x105dd2._0xd95a9e,-0x1f1,-_0x105dd2._0x4bafe5,-_0x105dd2._0x1605df),'headers':{'Authorization':_0x28521c(-0x10f,-_0x105dd2._0x158f06,-0x43,-0x3c)+_0x540997['tavilyApiKey'],'Content-Type':_0xaac4b9(0x20d,_0x105dd2._0x49a2a6,_0x105dd2._0x37e0e3,0x244)},'body':JSON[_0xaac4b9(_0x105dd2._0x1de729,0x3a0,_0x105dd2._0x54dd95,_0x105dd2._0x10545d)](_0x1b9c6e)});function _0xaac4b9(_0x3c4a48,_0x403fe9,_0x35a008,_0x48f2d9){return _0x257320(_0x3c4a48-0xd6,_0x403fe9-0x5,_0x3c4a48- -0xe5,_0x35a008);}const _0x46d613=_0x5aae2e['results']??[],_0x315f9a=_0x46d613['map']((_0x3ed79a,_0x2029ef)=>{const _0x5da367={_0x24fa76:0x1c3},_0x1dd3e1={_0xc108d0:0x1c2,_0x26c33e:0x569},_0xc08e22=_0x3ed79a[_0x5ea5be(_0xed0a2c._0x5ec921,_0xed0a2c._0x2ae3f6,_0xed0a2c._0x2994f2,_0xed0a2c._0x502bfe)]||'';function _0x241d39(_0x5a87df,_0x168b40,_0x3d8999,_0x29ec56){return _0x28521c(_0x5a87df-_0x1dd3e1._0xc108d0,_0x168b40-0xa1,_0x29ec56-_0x1dd3e1._0x26c33e,_0x168b40);}function _0x5ea5be(_0x2b350c,_0x256d19,_0x317854,_0x334a3c){return _0x28521c(_0x2b350c-_0x5da367._0x24fa76,_0x256d19-0x128,_0x317854-0x65f,_0x2b350c);}let _0x5bd826;try{_0x5bd826=new URL(_0xc08e22)['host'];}catch{_0x5bd826=null;}return{'title':_0x3ed79a[_0x241d39(0x342,_0xed0a2c._0xe2921a,0x4a9,0x363)]||_0x241d39(_0xed0a2c._0x42a5b5,0x5ad,_0xed0a2c._0x53889a,_0xed0a2c._0x1bd881),'url':normalizeUrl(_0xc08e22),'snippet':_0x3ed79a[_0x5ea5be(_0xed0a2c._0xbded04,0x78b,_0xed0a2c._0x31daa9,_0xed0a2c._0x4993c5)]??null,'displayUrl':_0x5bd826,'favicon':null,'publishedAt':null,'source':{'engine':_0x241d39(0x2c5,_0xed0a2c._0x4cdf1c,_0xed0a2c._0xf33965,0x404),'rank':_0x2029ef+0x1}};});return{'items':_0x315f9a['slice'](0x0,_0x90d310),'engine':_0x28521c(-0x27c,-0x266,-0x165,-0x252)};}async function searchGoogleCse(_0x5233e9,_0x1262a1,_0x2c874b){const _0x146fa3={_0x20d193:0x39e,_0x1dabfe:0x3b6,_0x18b279:0x364,_0x214050:0x409,_0x4f036d:0x6bd,_0x46d709:0x696,_0x4f4d57:0x5cb,_0x4b2a32:0x37f,_0xa33631:0x2cb,_0x4255ed:0x5ce,_0x10b644:0x567,_0x3931e5:0x46a,_0x48c05d:0x6c1,_0x385900:0x448,_0x2fac43:0x179,_0x3b18b1:0x1a2,_0x4c8b6e:0x8c,_0x5218cd:0x3b5,_0x598fdf:0x338,_0x6f1937:0x3d2,_0xa3213b:0x50,_0xff60d5:0x34e,_0x3362cf:0x379,_0x1969e6:0x497,_0x320a21:0x280,_0x355751:0x33a,_0x453817:0x37e,_0x44be0e:0x246,_0x56a71c:0x269,_0x1bb93d:0x22f,_0x10a82c:0x170,_0x1c7716:0x19f,_0x5ec052:0x179,_0x2dbdf0:0x1d8,_0x1f3b11:0x26b,_0x3a04c5:0x245,_0x3462be:0x4d6,_0x16105c:0x5ad,_0x5763c8:0x5f0,_0x107c41:0x343,_0x3bfe01:0x23e,_0x2de5b7:0x132,_0x22ae70:0x2ff,_0x13ac4b:0x590,_0x2cd4c1:0xfc,_0x2d5d97:0x4e7,_0x538528:0x60,_0x2d9034:0x179,_0x590e24:0xe9,_0x5e869e:0x59,_0x5e1426:0x387,_0x31a0c7:0x3a4,_0x34e096:0x322,_0x2635b0:0x3d5,_0x1062b5:0x7e,_0x23714e:0x3d0,_0x15ae63:0x4f7,_0x56965d:0xa8,_0x960d95:0x44,_0x529048:0x16e,_0x9467fa:0x1a8,_0x1d9abf:0x240,_0x57083e:0x1b9,_0x3cf47a:0x2d3,_0x891614:0x179,_0x419d11:0x25,_0x52dfb0:0x3d3,_0x16c4bb:0x2ae,_0x1c4a03:0x143,_0x4a84fa:0x74,_0x1c3a45:0x1a0,_0x406ae5:0x363,_0x38c541:0x219,_0x260539:0x4a,_0x7317e4:0x4d1,_0x5395df:0x492,_0x21d80d:0x9b,_0xfd7314:0x1e,_0x3a8ce3:0x36,_0x2e60f4:0x5a2,_0x4d82a9:0x544,_0xd78196:0x63b,_0x38f4c9:0x3f5,_0x2e9816:0x3b0,_0xa8a7bc:0x158,_0x5c44cf:0x144,_0x49ebea:0x19d,_0x2ee7b8:0x6da,_0x3e7ab5:0x6cf,_0x39ff9b:0x611,_0x53f274:0x5d3,_0x521ecf:0x6ad,_0x25d031:0x2c2,_0x3c2718:0x289,_0x4ace9d:0xa6,_0x73ee94:0x615,_0x1a925f:0x74b,_0x3a008e:0x543,_0x13d287:0x65,_0x3cca74:0xe4,_0x115aad:0x53,_0x51f187:0x16,_0x3796b6:0xb9,_0x27d2bd:0x29,_0x556248:0x196,_0x36becb:0x100},_0x529cb6={_0x2b4665:0x1b1,_0x493ce3:0x160},_0x353048={_0x105145:0x11f,_0x983f7f:0x45f},_0x3f02a4=Math[_0x4bf6ab(_0x146fa3._0x20d193,_0x146fa3._0x1dabfe,_0x146fa3._0x18b279,_0x146fa3._0x214050)](0x1,Math['min'](0x32,_0x1262a1[_0x4bf6ab(0x572,_0x146fa3._0x4f036d,_0x146fa3._0x46d709,_0x146fa3._0x4f4d57)]));function _0x1b3830(_0x1542ca,_0x1172e5,_0x155700,_0x13e728){return _0x3342ed(_0x1542ca-_0x353048._0x105145,_0x155700,_0x1172e5- -_0x353048._0x983f7f,_0x13e728-0xc2);}if(_0x1262a1['offset']+_0x3f02a4>0x64)throw new ToolExecutionError(_0x1b3830(-0x1ac,-0x216,-_0x146fa3._0x4b2a32,-_0x146fa3._0xa33631),{'offset':_0x1262a1['offset'],'count':_0x3f02a4,'maxResults':0x64});const _0x53f187=cseDateRestrict(_0x1262a1['recencyDays']),_0x350128=addSiteFilters(_0x1262a1['query'],_0x1262a1[_0x4bf6ab(0x45a,_0x146fa3._0x4255ed,0x65b,_0x146fa3._0x10b644)]);let _0x426ee7=0x0,_0x2611f9=_0x1262a1['offset']+0x1;const _0xdddb37=[];while(_0x426ee7<_0x3f02a4){const _0x5d7ec1=Math[_0x4bf6ab(_0x146fa3._0x3931e5,_0x146fa3._0x48c05d,_0x146fa3._0x385900,0x58b)](0xa,_0x3f02a4-_0x426ee7),_0x3e9d7c=new URL('https://www.googleapis.com/customsearch/v1');_0x3e9d7c[_0x1b3830(-0x83,-_0x146fa3._0x2fac43,-_0x146fa3._0x3b18b1,-_0x146fa3._0x4c8b6e)][_0x4bf6ab(0x373,_0x146fa3._0x5218cd,_0x146fa3._0x598fdf,_0x146fa3._0x6f1937)](_0x1b3830(0xd0,-_0x146fa3._0xa3213b,-0x60,-0x1c),_0x5233e9[_0x4bf6ab(0x549,0x576,_0x146fa3._0xff60d5,0x41b)]),_0x3e9d7c[_0x4bf6ab(0x587,_0x146fa3._0x3362cf,0x5ac,_0x146fa3._0x1969e6)][_0x4bf6ab(_0x146fa3._0x320a21,_0x146fa3._0x355751,_0x146fa3._0x453817,_0x146fa3._0x6f1937)]('cx',_0x5233e9['googleCseCx']),_0x3e9d7c[_0x1b3830(-_0x146fa3._0x44be0e,-_0x146fa3._0x2fac43,-0x191,-_0x146fa3._0x56a71c)][_0x1b3830(-_0x146fa3._0x1bb93d,-0x23e,-_0x146fa3._0x10a82c,-_0x146fa3._0x1c7716)]('q',_0x350128),_0x3e9d7c[_0x1b3830(-0x2a9,-_0x146fa3._0x5ec052,-0xac,-0x38)][_0x1b3830(-_0x146fa3._0x2dbdf0,-0x23e,-_0x146fa3._0x1f3b11,-_0x146fa3._0x3a04c5)]('num',String(_0x5d7ec1)),_0x3e9d7c[_0x4bf6ab(0x512,_0x146fa3._0x3462be,_0x146fa3._0x16105c,0x497)]['set']('start',String(_0x2611f9)),_0x3e9d7c[_0x4bf6ab(_0x146fa3._0x5763c8,_0x146fa3._0x107c41,0x50f,0x497)][_0x1b3830(-0x1fa,-_0x146fa3._0x3bfe01,-_0x146fa3._0x2de5b7,-_0x146fa3._0x22ae70)](_0x4bf6ab(_0x146fa3._0x13ac4b,0x684,0x55d,0x596),_0x1262a1[_0x1b3830(-0x180,-0x7a,0x60,-_0x146fa3._0x2cd4c1)]?_0x1b3830(-0x18f,-0x1e8,-0x13f,-0x21e):'off');_0x1262a1[_0x1b3830(-0x1c2,-0x23b,-0x271,-0xc5)]&&(_0x3e9d7c[_0x4bf6ab(0x425,_0x146fa3._0x2d5d97,0x5f1,_0x146fa3._0x1969e6)]['set']('hl',_0x1262a1['lang']),_0x3e9d7c[_0x1b3830(-_0x146fa3._0x538528,-_0x146fa3._0x2d9034,-_0x146fa3._0x590e24,-_0x146fa3._0x5e869e)][_0x1b3830(-0x2fe,-_0x146fa3._0x3bfe01,-0x1fd,-_0x146fa3._0x5e1426)]('lr','lang_'+_0x1262a1[_0x4bf6ab(0x485,_0x146fa3._0x31a0c7,_0x146fa3._0x34e096,_0x146fa3._0x2635b0)]));if(_0x1262a1['region'])_0x3e9d7c[_0x1b3830(-0x88,-_0x146fa3._0x2d9034,-_0x146fa3._0x1062b5,-0x12e)][_0x4bf6ab(_0x146fa3._0x23714e,0x3ee,_0x146fa3._0x15ae63,0x3d2)]('gl',_0x1262a1['region'][_0x1b3830(-_0x146fa3._0x56965d,_0x146fa3._0x960d95,_0x146fa3._0x529048,_0x146fa3._0x9467fa)]());if(_0x1262a1[_0x1b3830(-0x28d,-_0x146fa3._0x1d9abf,-_0x146fa3._0x57083e,-0x384)]==='images')_0x3e9d7c[_0x1b3830(-_0x146fa3._0x3cf47a,-_0x146fa3._0x891614,-_0x146fa3._0x419d11,-0x25a)][_0x4bf6ab(0x4bc,_0x146fa3._0x52dfb0,_0x146fa3._0x16c4bb,0x3d2)]('searchType',_0x1b3830(-_0x146fa3._0x1c4a03,-0x158,-_0x146fa3._0x4a84fa,-0x28));if(_0x53f187)_0x3e9d7c['searchParams'][_0x1b3830(-_0x146fa3._0x1c3a45,-0x23e,-_0x146fa3._0x406ae5,-_0x146fa3._0x38c541)](_0x1b3830(-0x59,-0xd5,0x92,-_0x146fa3._0x260539),_0x53f187);const _0x56af5e=await fetchJson(_0x3e9d7c[_0x4bf6ab(0x4f6,0x4f8,_0x146fa3._0x7317e4,_0x146fa3._0x5395df)](),_0x2c874b),_0x495654=_0x56af5e[_0x1b3830(-0x1cc,-0xa3,-0x100,_0x146fa3._0x21d80d)]??[];if(_0x495654['length']===0x0)break;const _0xd7ae25=_0x426ee7;for(let _0x287d0e=0x0;_0x287d0e<_0x495654[_0x1b3830(-_0x146fa3._0xfd7314,_0x146fa3._0x3a8ce3,0x14b,-0x68)];_0x287d0e++){const _0x1a596e=_0x495654[_0x287d0e];if(!_0x1a596e)continue;const _0x440f41=_0x1a596e[_0x4bf6ab(0x645,_0x146fa3._0x2e60f4,0x564,_0x146fa3._0x4d82a9)]||_0x1a596e['image']?.[_0x4bf6ab(_0x146fa3._0xd78196,_0x146fa3._0x38f4c9,_0x146fa3._0x2e9816,0x4fc)]||'',_0x16567c=_0x1a596e['title']||_0x1a596e[_0x1b3830(-0x24,-_0x146fa3._0xa8a7bc,-_0x146fa3._0x5c44cf,-0x12a)]?.[_0x1b3830(-_0x146fa3._0x49ebea,-0x1fe,-0x335,-0x2f4)]||'Untitled',_0x3f9a00=_0x1a596e[_0x1b3830(-0x214,-0xac,-_0x146fa3._0x9467fa,-0x98)]||_0x1a596e[_0x4bf6ab(_0x146fa3._0x2ee7b8,_0x146fa3._0x3e7ab5,0x60f,_0x146fa3._0x39ff9b)]?.[_0x4bf6ab(0x5f2,_0x146fa3._0x53f274,_0x146fa3._0x521ecf,0x6b5)](/<[^>]+>/g,''),_0x481194=_0x1a596e[_0x1b3830(-0x1ec,-0x1f1,-_0x146fa3._0x25d031,-_0x146fa3._0x3c2718)]?.['metatags']?.[0x0]??{};let _0x12f14e;try{_0x12f14e=new URL(_0x440f41)['host'];}catch{_0x12f14e=null;}_0xdddb37['push']({'title':_0x16567c,'url':normalizeUrl(_0x440f41),'snippet':_0x3f9a00??null,'displayUrl':_0x12f14e,'favicon':null,'publishedAt':_0x481194['article:published_time']||_0x481194[_0x1b3830(_0x146fa3._0x4ace9d,-0x8e,-0x1cf,-0xba)]||null,'source':{'engine':_0x4bf6ab(0x7be,_0x146fa3._0x73ee94,0x773,0x6a6),'rank':_0xd7ae25+_0x287d0e+0x1}});}_0x426ee7+=_0x495654[_0x4bf6ab(_0x146fa3._0x1a925f,_0x146fa3._0x3a008e,0x78d,0x646)],_0x2611f9+=_0x495654[_0x1b3830(-_0x146fa3._0x13d287,_0x146fa3._0x3a8ce3,-0x2c,_0x146fa3._0x3cca74)];if(_0x495654[_0x1b3830(-0x106,_0x146fa3._0x3a8ce3,_0x146fa3._0x115aad,-_0x146fa3._0x51f187)]<_0x5d7ec1)break;}function _0x4bf6ab(_0x119efb,_0x5d9aba,_0x10e482,_0x30a0db){return _0x3342ed(_0x119efb-0x162,_0x10e482,_0x30a0db-_0x529cb6._0x2b4665,_0x30a0db-_0x529cb6._0x493ce3);}return _0xdddb37[_0x1b3830(_0x146fa3._0x3796b6,_0x146fa3._0x27d2bd,_0x146fa3._0x556248,-_0x146fa3._0x36becb)](0x0,_0x3f02a4);}function isGoogleCseEngine(_0x12a526){const _0x9d002a={_0x3fe732:0x141,_0x54cf2f:0x18b};function _0x4e41e3(_0x505439,_0x5509bc,_0x25e007,_0xfc4e25){return _0x3342ed(_0x505439-_0x9d002a._0x3fe732,_0xfc4e25,_0x5509bc-0x304,_0xfc4e25-_0x9d002a._0x54cf2f);}return _0x4e41e3(0x460,0x56e,0x539,0x6ab)in _0x12a526;}function isOllamaEngine(_0xd1af88){const _0x2c4010={_0x16e453:0x9d},_0x30db01={_0x713cf7:0x199};function _0xabf615(_0x304535,_0xbd6ad7,_0x115c7f,_0x2857b6){return _0x3342ed(_0x304535-0x12f,_0x304535,_0xbd6ad7- -_0x30db01._0x713cf7,_0x2857b6-0x14e);}return _0xabf615(0x15,_0x2c4010._0x16e453,-0x13,0x48)in _0xd1af88;}function isTavilyEngine(_0x5c97ca){const _0x247120={_0x4e6d92:0x45a,_0x146bb7:0x493},_0x43a561={_0x342c51:0x1d0,_0x2de173:0xc6};function _0x2a4510(_0x3c7540,_0x38251e,_0x22f91c,_0x411dd4){return _0x257320(_0x3c7540-_0x43a561._0x342c51,_0x38251e-0x145,_0x38251e-_0x43a561._0x2de173,_0x3c7540);}return _0x2a4510(0x45e,_0x247120._0x4e6d92,_0x247120._0x146bb7,0x5ba)in _0x5c97ca;}function createWebSearchTool(_0x346250){const _0x5d06a5={_0x537cb2:0x3be,_0x13b495:0x27d,_0x271f66:0x1f0,_0x5d872f:0x391,_0x22b6db:0x57,_0x192176:0x8e,_0x5042c7:0x2e1,_0x5adeed:0x28e,_0x3aa0d1:0xec,_0x4de44e:0x207,_0x4319ff:0x199,_0x4e0355:0x3b7,_0x17faab:0x27c,_0x2d4e79:0x212,_0x401504:0x273,_0x28f636:0x240,_0x36ea1a:0x12e,_0x4740f7:0x312,_0x2803d6:0x10,_0x464aa6:0x81,_0x1d94c2:0x40e,_0x7e605b:0x333,_0x1a5e8f:0x3ae,_0x38947c:0x3d6,_0x23a37c:0x1a,_0x48622a:0x105,_0x2bd755:0xc5,_0x6f2418:0x85,_0x1c9d78:0x12b,_0x2a1f87:0x38,_0xc4a363:0x384,_0x3a70ea:0x3bf},_0x29b175={_0x49a530:0x1d,_0x27e0f1:0x16b,_0x26da1a:0x110,_0x25271f:0x1d4,_0xfb2002:0x2af,_0x511b7b:0x98,_0x5627cf:0x6d,_0x1fa765:0x127,_0x2ad45e:0x44,_0x2e1ba0:0xe0,_0x4a32d0:0x65,_0x57f432:0x83,_0x1c6376:0x73,_0x428ffc:0x15a,_0x23e102:0xff,_0x156856:0x110,_0x41471b:0xdf,_0x462805:0x8d,_0x3d4ed9:0x1c6,_0x16ef27:0x15b,_0x41dfcf:0x1b6,_0x2ed770:0x1d6,_0x286359:0x25a,_0x33e584:0x4a,_0x3e4d46:0x79,_0x29c91a:0x7a,_0x728333:0x30,_0xd36efb:0x33,_0x1e6887:0x1bd,_0x4e4ba5:0x1c2,_0x25a6e1:0x3ad,_0x2da58f:0x2af,_0x23896e:0x239,_0x958398:0xb9,_0x569055:0xf5,_0x530f6d:0x7f,_0x1c62fb:0x23d,_0x1f091d:0x96,_0x28882c:0x9f,_0x7a7562:0x1da,_0x21ee34:0x12,_0x4989db:0x8e,_0x31be69:0x14f,_0x33ba56:0x32b,_0x2b3c20:0x25b,_0x1eb8ec:0x2c,_0x25a28f:0xd8,_0x1a094a:0x3d,_0x1ab415:0x4e,_0x437b99:0x144,_0x42ac43:0x190,_0x3473a6:0x90,_0x38fd98:0x116,_0x13a9d1:0x24,_0x26586f:0x29e,_0x89fd22:0x31a,_0xf9bdb2:0x2c,_0x349dfc:0x124,_0x5b03d4:0x2a,_0x1c9b2c:0x140,_0x595af2:0x140,_0x58da0d:0x8a,_0x4ce398:0xee,_0x21311a:0x37,_0x5a6ae9:0x2,_0x3f1cec:0x9a,_0x7c5878:0xd3,_0xa1cc89:0x1f1,_0x411e15:0x9a,_0x472bd2:0x1fb,_0xce4499:0xd6,_0x239a37:0x2a1,_0x1d66c7:0x244,_0x14c38f:0x15b,_0xc5a915:0x24d,_0x5d8f20:0x16f,_0x4e01c0:0x1e3,_0x4626f4:0x92,_0x13796e:0x10e,_0x23864c:0x13c,_0x189ac8:0x36,_0x5dcf10:0xf7,_0x363085:0x3e,_0x3a95ad:0x116,_0x8bda7e:0x185,_0x294bcb:0x23c},_0x371922={_0x170511:0x234,_0x2708f9:0x15d,_0x4f9e26:0x1b,_0x487573:0x11a,_0x476aa6:0x244,_0x1856ac:0x416,_0x4afb2d:0x41e},_0x5d1c4b={_0xa9c129:0x43,_0x5aef9e:0x6,_0x48f780:0x142},_0x445411={_0x25a99f:0x121,_0x57fe:0x2f3,_0x1c1ebc:0x5};if(!_0x346250['engines']||_0x346250[_0x106f7a(0x29e,0x3c7,0x501,_0x5d06a5._0x537cb2)][_0x4f5d3c(_0x5d06a5._0x13b495,0x1a2,0x267,0xff)]===0x0)throw new Error(_0x106f7a(0x406,_0x5d06a5._0x271f66,_0x5d06a5._0x5d872f,0x34c));const _0x2d543d=_0x346250['name']??_0x4f5d3c(-_0x5d06a5._0x22b6db,0x2c,0xa3,_0x5d06a5._0x192176),_0x4e333c=_0x346250['lookup'];function _0x4f5d3c(_0x13b58e,_0x34ed4b,_0x13f55c,_0x2e5f1d){return _0x3342ed(_0x13b58e-_0x445411._0x25a99f,_0x13b58e,_0x34ed4b- -_0x445411._0x57fe,_0x2e5f1d-_0x445411._0x1c1ebc);}function _0x106f7a(_0x4da876,_0x85864a,_0x1a9847,_0x2d1ed5){return _0x257320(_0x4da876-_0x5d1c4b._0xa9c129,_0x85864a-_0x5d1c4b._0x5aef9e,_0x2d1ed5- -_0x5d1c4b._0x48f780,_0x1a9847);}return defineTool({'name':_0x2d543d,'description':_0x106f7a(_0x5d06a5._0x5042c7,0x220,_0x5d06a5._0x5adeed,0x1c8),'inputSchema':{'type':_0x4f5d3c(-_0x5d06a5._0x3aa0d1,-0x8f,-_0x5d06a5._0x4de44e,-0xf3),'properties':{'description':{'type':_0x4f5d3c(0x2ab,_0x5d06a5._0x4319ff,0x6a,0x265)},'query':{'type':'string'},'count':{'type':_0x106f7a(0x1e1,_0x5d06a5._0x4e0355,0x372,_0x5d06a5._0x17faab)},'offset':{'type':'number'},'domains':{'type':_0x4f5d3c(0x14d,_0x5d06a5._0x2d4e79,_0x5d06a5._0x401504,0x1aa),'items':{'type':_0x4f5d3c(_0x5d06a5._0x28f636,_0x5d06a5._0x4319ff,_0x5d06a5._0x36ea1a,_0x5d06a5._0x4740f7)}},'recencyDays':{'type':_0x4f5d3c(0x5a,0x3f,-_0x5d06a5._0x2803d6,-_0x5d06a5._0x464aa6)},'lang':{'type':_0x106f7a(_0x5d06a5._0x1d94c2,_0x5d06a5._0x7e605b,_0x5d06a5._0x1a5e8f,_0x5d06a5._0x38947c)},'region':{'type':'string'},'safe':{'type':_0x4f5d3c(0x5f,-_0x5d06a5._0x23a37c,_0x5d06a5._0x48622a,-_0x5d06a5._0x2bd755)},'type':{'type':_0x4f5d3c(_0x5d06a5._0x6f2418,0x199,_0x5d06a5._0x1c9d78,_0x5d06a5._0x2a1f87)},'hydrateMeta':{'type':'boolean'}},'required':[_0x106f7a(_0x5d06a5._0xc4a363,0x168,_0x5d06a5._0x3a70ea,0x2b2)]},async *'execute'(_0x36f4f6,_0x197175){const _0x52a31d={_0x5a7581:0x18f},_0x340ce6={_0x33e1b6:0xdc},_0x345251=_0x36f4f6['query']['trim']();if(!_0x345251)throw new ToolExecutionError(_0x28b00b(-0x13d,-0x1cc,-_0x29b175._0x49a530,-0x19a));const _0x33848a={'query':_0x345251,'count':Math[_0x28b00b(-0x127,-_0x29b175._0x27e0f1,-0x279,-_0x29b175._0x26da1a)](0x1,Math['min'](0x32,Math[_0x8fea5d(-0x1c0,-0x2df,-_0x29b175._0x25271f,-_0x29b175._0xfb2002)](_0x36f4f6[_0x8fea5d(-0x45,-_0x29b175._0x511b7b,-0x1bc,-_0x29b175._0x5627cf)]??0xa))),'offset':Math[_0x28b00b(-_0x29b175._0x1fa765,-0x1f9,0x4d,-_0x29b175._0x2ad45e)](0x0,Math[_0x28b00b(-_0x29b175._0x2e1ba0,-0x1e4,-0x1d7,-0x71)](_0x36f4f6[_0x8fea5d(_0x29b175._0x4a32d0,_0x29b175._0x57f432,_0x29b175._0x1c6376,-0xa1)]??0x0)),'domains':_0x36f4f6[_0x8fea5d(-0xa9,-0x5b,-0x1ff,-_0x29b175._0x428ffc)]??[],'recencyDays':Math[_0x28b00b(-0x127,-_0x29b175._0x23e102,-0xad,-_0x29b175._0x156856)](0x0,Math['trunc'](_0x36f4f6[_0x8fea5d(0x9a,_0x29b175._0x41471b,-_0x29b175._0x462805,_0x29b175._0x3d4ed9)]??0x0)),'lang':_0x36f4f6[_0x28b00b(-_0x29b175._0x16ef27,-_0x29b175._0x41dfcf,-_0x29b175._0x2ed770,-_0x29b175._0x286359)]??'en','region':_0x36f4f6[_0x28b00b(0x92,0x1ee,_0x29b175._0x33e584,_0x29b175._0x3e4d46)]??'','safe':_0x36f4f6[_0x8fea5d(-_0x29b175._0x29c91a,_0x29b175._0x728333,_0x29b175._0xd36efb,-_0x29b175._0x1e6887)]??!![],'type':normalizeType(_0x36f4f6[_0x8fea5d(-0x240,-0xf0,-_0x29b175._0x4e4ba5,-0x326)]),'hydrateMeta':_0x36f4f6[_0x8fea5d(-0x23c,-_0x29b175._0x25a6e1,-_0x29b175._0x2da58f,-_0x29b175._0x23896e)]??![]};let _0x10cd4f=[],_0x23441f=_0x8fea5d(-_0x29b175._0x958398,-0x84,-0x1b9,-0x9e);function _0x8fea5d(_0x319773,_0x4e9abc,_0x44615e,_0x288775){return _0x106f7a(_0x319773-0x9a,_0x4e9abc-_0x340ce6._0x33e1b6,_0x44615e,_0x319773- -0x3a9);}for(const _0x17fb66 of _0x346250[_0x28b00b(_0x29b175._0x569055,_0x29b175._0x530f6d,_0x29b175._0x1c62fb,0x162)]){try{if(isGoogleCseEngine(_0x17fb66))_0x10cd4f=await searchGoogleCse(_0x17fb66,_0x33848a,_0x197175['signal']),_0x23441f=_0x8fea5d(_0x29b175._0x1f091d,_0x29b175._0x28882c,_0x29b175._0x7a7562,-_0x29b175._0x21ee34);else{if(isOllamaEngine(_0x17fb66)){const _0x46fc6e=await searchOllama(_0x17fb66,_0x33848a,_0x197175[_0x8fea5d(-0xb4,-0x2,_0x29b175._0x4989db,-_0x29b175._0x31be69)]);_0x10cd4f=_0x46fc6e[_0x28b00b(0x3d,-0x78,0x142,0x10a)],_0x23441f=_0x46fc6e[_0x8fea5d(-0x247,-0x25c,-_0x29b175._0x33ba56,-_0x29b175._0x2b3c20)];}else{if(isTavilyEngine(_0x17fb66)){const _0x3b5565=await searchTavily(_0x17fb66,_0x33848a,_0x197175[_0x28b00b(_0x29b175._0x1eb8ec,-0x2e,-0xc2,-_0x29b175._0x25a28f)]);_0x10cd4f=_0x3b5565[_0x28b00b(_0x29b175._0x1a094a,-0x13b,-_0x29b175._0x1ab415,_0x29b175._0x437b99)],_0x23441f=_0x3b5565[_0x28b00b(-0x167,-_0x29b175._0x42ac43,-_0x29b175._0x3473a6,-0x17)];}}}if(_0x10cd4f[_0x8fea5d(0x36,0x3,0xef,0x14a)]>0x0)break;}catch(_0x490d16){if(_0x17fb66===_0x346250['engines'][_0x346250['engines'][_0x28b00b(_0x29b175._0x38fd98,0x242,_0x29b175._0x462805,_0x29b175._0x13a9d1)]-0x1])throw _0x490d16;}}_0x33848a['hydrateMeta']&&_0x10cd4f[_0x8fea5d(0x36,0x50,0x160,0xc)]>0x0&&(_0x10cd4f=await hydrateResults(_0x10cd4f,_0x33848a[_0x8fea5d(-0x23b,-0x195,-_0x29b175._0x26586f,-_0x29b175._0x89fd22)],_0x197175[_0x28b00b(_0x29b175._0xf9bdb2,_0x29b175._0x349dfc,-_0x29b175._0x5b03d4,-_0x29b175._0x1c9b2c)],_0x4e333c));const _0x2a495f=new Set();_0x10cd4f=_0x10cd4f[_0x28b00b(-0x9c,0x4c,-_0x29b175._0x595af2,_0x29b175._0x58da0d)](_0x20b4d9=>{const _0xf6730b={_0x3fc07c:0x3f,_0x2f43d8:0x114},_0x55a12e={_0x4160a3:0x22c},_0x246b5b=_0x20b4d9[_0x1abdbe(_0x371922._0x170511,_0x371922._0x2708f9,_0x371922._0x4f9e26,_0x371922._0x487573)]['toLowerCase']();function _0x1abdbe(_0xd2d2d7,_0xf7823,_0x1f8c50,_0x500d57){return _0x8fea5d(_0x500d57-_0x55a12e._0x4160a3,_0xf7823-0x14,_0xf7823,_0x500d57-0x36);}if(!_0x246b5b||_0x2a495f['has'](_0x246b5b))return![];_0x2a495f[_0x1abdbe(_0x371922._0x476aa6,_0x371922._0x1856ac,_0x371922._0x4afb2d,0x2b3)](_0x246b5b);function _0x48d844(_0x19c215,_0x5e7518,_0x1c6158,_0x43dfc2){return _0x8fea5d(_0x19c215-0x25a,_0x5e7518-_0xf6730b._0x3fc07c,_0x1c6158,_0x43dfc2-_0xf6730b._0x2f43d8);}return!![];}),_0x10cd4f=_0x10cd4f[_0x28b00b(-_0x29b175._0x4ce398,-0x7b,0x36,-0xfc)]((_0x53505e,_0x33d54e)=>({..._0x53505e,'source':{..._0x53505e[_0x8fea5d(-0x121,0x31,-0x1c9,-0x18b)],'rank':_0x33d54e+0x1}}));const _0x3444a0={};if(_0x33848a[_0x28b00b(_0x29b175._0x21311a,_0x29b175._0x5a6ae9,-0xb6,0xa0)][_0x28b00b(0x116,0xc7,0x143,0x51)]>0x0)_0x3444a0['domains']=_0x33848a['domains'];if(_0x33848a[_0x8fea5d(_0x29b175._0x3f1cec,-0x1b,-_0x29b175._0x7c5878,_0x29b175._0xa1cc89)]>0x0)_0x3444a0[_0x8fea5d(_0x29b175._0x411e15,_0x29b175._0x472bd2,-0x8b,-_0x29b175._0xce4499)]=_0x33848a[_0x28b00b(0x17a,_0x29b175._0x239a37,0x126,_0x29b175._0x1d66c7)];if(_0x33848a[_0x28b00b(-_0x29b175._0x14c38f,-0x262,-0x1e4,-_0x29b175._0xc5a915)]!=='en')_0x3444a0[_0x8fea5d(-0x23b,-_0x29b175._0x5d8f20,-0x167,-0x279)]=_0x33848a[_0x8fea5d(-0x23b,-0x1f3,-0x382,-_0x29b175._0x4e01c0)];if(_0x33848a[_0x28b00b(0x92,0xab,0x1c1,0x1f)])_0x3444a0[_0x28b00b(_0x29b175._0x4626f4,-0x2b,_0x29b175._0x13796e,0xe)]=_0x33848a[_0x28b00b(_0x29b175._0x4626f4,-0x4c,0x10d,_0x29b175._0x23864c)];yield createToolOutput(formatResults(_0x10cd4f),{'engine':_0x23441f,'count':_0x10cd4f[_0x8fea5d(_0x29b175._0x189ac8,_0x29b175._0x511b7b,-0x79,0x1)],'items':_0x10cd4f,'query':_0x33848a[_0x8fea5d(-_0x29b175._0x5dcf10,-0xcc,_0x29b175._0x363085,-0x9a)],...Object[_0x28b00b(-0xfb,-0x53,-0x83,-0xfb)](_0x3444a0)[_0x28b00b(_0x29b175._0x3a95ad,-0xc,_0x29b175._0x8bda7e,0xda)]>0x0?{'appliedFilters':_0x3444a0}:{},'offset':_0x33848a['offset'],'totalRequested':_0x33848a['count'],'hydrated':_0x33848a[_0x8fea5d(-_0x29b175._0x294bcb,-0x15c,-0x279,-_0x29b175._0x2e1ba0)]});function _0x28b00b(_0x27af3a,_0x51a4fd,_0x59c7d3,_0x3ed54b){return _0x106f7a(_0x27af3a-_0x52a31d._0x5a7581,_0x51a4fd-0x10f,_0x51a4fd,_0x27af3a- -0x2c9);}return void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveDelegatedAgentOptions,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};
|
|
1
|
+
(function(_0x9addb7,_0x119897){const _0x22b5aa={_0x5a1016:0x301,_0x104a99:0x1c6,_0x56f6da:0x2c4,_0xad7076:0x1ca,_0x3900ac:0x221,_0x34e871:0x28d,_0xec0d48:0x4b,_0x4decb4:0xd4,_0x3c4b27:0x4f,_0x5607d8:0xc6,_0x4aee50:0xd1,_0x22c6fe:0x1f2,_0x205746:0xb5,_0x51f330:0x11e,_0x5880ef:0x1d4,_0x1ba67c:0xa8},_0x1763bb={_0x152912:0x37},_0x3a3d4d={_0x439a16:0xfa},_0x5b9c23=_0x9addb7();function _0xa3bfdf(_0x2dcf5e,_0x4346bb,_0x1f393f,_0x1113c4){return _0x380c(_0x4346bb- -_0x3a3d4d._0x439a16,_0x2dcf5e);}function _0x9c1128(_0x13a0d4,_0x20469a,_0x1cf4d1,_0x3ee299){return _0x380c(_0x1cf4d1-_0x1763bb._0x152912,_0x13a0d4);}while(!![]){try{const _0x4f1a57=-parseInt(_0x9c1128(0x10d,_0x22b5aa._0x5a1016,0x23e,0x257))/0x1*(parseInt(_0xa3bfdf(_0x22b5aa._0x104a99,_0x22b5aa._0x56f6da,_0x22b5aa._0xad7076,_0x22b5aa._0x3900ac))/0x2)+-parseInt(_0x9c1128(0x2b6,0x1a5,0x2fa,_0x22b5aa._0x34e871))/0x3+-parseInt(_0xa3bfdf(_0x22b5aa._0xec0d48,_0x22b5aa._0x4decb4,-_0x22b5aa._0x3c4b27,0x19d))/0x4*(-parseInt(_0xa3bfdf(0x209,0x183,_0x22b5aa._0x5607d8,0x18))/0x5)+parseInt(_0xa3bfdf(_0x22b5aa._0x4aee50,0x114,_0x22b5aa._0x22c6fe,0xa1))/0x6*(-parseInt(_0x9c1128(0x360,0x385,0x228,0x2b4))/0x7)+-parseInt(_0xa3bfdf(_0x22b5aa._0x205746,_0x22b5aa._0x51f330,_0x22b5aa._0x5880ef,0x276))/0x8+-parseInt(_0x9c1128(0x4c1,0x305,0x398,0x44b))/0x9+parseInt(_0xa3bfdf(-0xc,0x7d,0x158,_0x22b5aa._0x1ba67c))/0xa;if(_0x4f1a57===_0x119897)break;else _0x5b9c23['push'](_0x5b9c23['shift']());}catch(_0x1d61bb){_0x5b9c23['push'](_0x5b9c23['shift']());}}}(_0x4b7c,0x7efd8));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-FKZ3QQWZ.js';import{getTextFromMessage}from'../chunk-QDOE7NWO.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 _0x1f82ea from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x283a7f(0x366,0x272,0x349,0x3ba),'.tsx':_0x283a7f(0x18e,0x214,0x1be,0x1b5),'.js':'javascript','.jsx':_0x283a7f(0x219,0x155,0x88,0xb7),'.mjs':_0x419223(0xc9,0xa9,-0xb0,-0x11b),'.cjs':_0x283a7f(0x125,0x18,0x3e,0xdb),'.mts':_0x283a7f(0x2c3,0x272,0x3a7,0x105),'.cts':'typescript','.json':_0x283a7f(0x245,0x1aa,0xc0,0x1fc),'.jsonc':_0x419223(-0x98,0x127,0xa1,-0x24)};function getLanguageId(_0x30a453){const _0x15d848={_0x57c262:0xfc,_0x3c2164:0x1ca},_0x2c86fa={_0x10ab2d:0x24e},_0x13afac={_0x12d1f3:0x22};function _0x98369a(_0x17551a,_0x4aa1ac,_0x1d4315,_0x552cc5){return _0x419223(_0x17551a-0x169,_0x17551a,_0x4aa1ac-0x189,_0x552cc5-_0x13afac._0x12d1f3);}function _0x2f9271(_0xcfc888,_0xe40466,_0xf2b2d9,_0x547871){return _0x419223(_0xcfc888-0x5d,_0xcfc888,_0xe40466-_0x2c86fa._0x10ab2d,_0x547871-0xc8);}return EXTENSION_TO_LANGUAGE[_0x1f82ea[_0x2f9271(0x242,0x208,0x2d0,_0x15d848._0x57c262)](_0x30a453)[_0x98369a(0x27e,0x2df,0x29f,_0x15d848._0x3c2164)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x232213){return pathToFileURL(_0x232213)['toString']();}function textDocumentPosition(_0x5ce5e4){const _0x1d29fc={_0x3bf62a:0x50,_0x1427d9:0x6c,_0x182993:0x15f},_0x295b2c={_0x183416:0x4};function _0x6207b(_0x54b504,_0x92bebc,_0x3cd4ff,_0x3b0226){return _0x419223(_0x54b504-0x101,_0x54b504,_0x3b0226-0x103,_0x3b0226-0xeb);}function _0x204611(_0x677f78,_0x69d2a0,_0x34cb9a,_0x640947){return _0x283a7f(_0x677f78-0x17c,_0x677f78- -0x259,_0x34cb9a-_0x295b2c._0x183416,_0x34cb9a);}return{'textDocument':{'uri':uriForPath(_0x5ce5e4[_0x204611(_0x1d29fc._0x3bf62a,0x55,0x189,-0x129)])},'position':{'line':_0x5ce5e4['line'],'character':_0x5ce5e4[_0x204611(_0x1d29fc._0x1427d9,_0x1d29fc._0x182993,0x81,0x180)]}};}function normalizeLocations(_0x2f2517){const _0x5de66d={_0x111b44:0x309},_0x3388d2={_0x4a3db3:0xb2,_0x3e6da2:0x26b,_0x3bfeab:0x17d};function _0xfc0619(_0x38c62f,_0x538cb2,_0x10d1c7,_0x4212e9){return _0x283a7f(_0x38c62f-_0x3388d2._0x4a3db3,_0x4212e9-_0x3388d2._0x3e6da2,_0x10d1c7-_0x3388d2._0x3bfeab,_0x538cb2);}if(!_0x2f2517)return[];return Array[_0xfc0619(0x351,0x3e6,_0x5de66d._0x111b44,0x3e1)](_0x2f2517)?_0x2f2517:[_0x2f2517];}async function createLspClient(_0x3e5324){const _0x2774de={_0x51bf7d:0x355,_0x27f9d7:0x3bf,_0x130e9c:0x3cc,_0x3e109d:0x470,_0x1012b0:0x41b,_0x54475a:0x3cc,_0x4e72b3:0x528,_0x3da0b7:0x5a8,_0x252caa:0x63d,_0x421546:0x6a2,_0x20068b:0x654,_0x2b7feb:0x570,_0x2fef28:0x3ed,_0x4700e6:0x3e7,_0x20d529:0x3fc,_0x5a6c8d:0x404,_0x435c2d:0x25f,_0x2cd69c:0x303,_0x286d5a:0x45b,_0x1ba0e0:0x4ea,_0x373143:0x31d,_0x49949b:0x1d2,_0x26bfab:0x4af,_0x3c14b2:0x3af,_0x381c12:0x20e,_0x2a1e13:0x2db,_0x3558b0:0x302,_0x2b858b:0x6dc,_0x3e9d97:0x47b,_0xbba5a2:0x57d,_0xb66c6b:0x39b,_0x2261ac:0x337,_0x3aa68b:0x31e,_0x32bb50:0x308,_0x48937a:0x5ff,_0x1f33e0:0x5c2,_0x327c4d:0x6b4,_0x53bc24:0x34b,_0x3a048:0x493,_0x5cf967:0x541},_0x2a9741={_0x223932:0xe7,_0x484521:0x13f,_0x53e2f5:0x19,_0x39a04a:0x29,_0x3f354d:0x1c8,_0x59021a:0x76,_0x2df142:0x58,_0x15cfb1:0x123,_0x2926e7:0x1ff,_0x120f1a:0xf4,_0x220506:0x28c,_0x25d172:0x22b},_0x51a6a4={_0x149a05:0x336},_0x1be9c4={_0x2e4c90:0x1d7,_0x1c5a22:0x41d,_0x1352d6:0x16a},_0x34b883={_0x1ff096:0x1f8},_0x39b0f0={_0x3767bf:0x292,_0x52bc15:0x2a9},_0x2c9463={_0x561819:0x386,_0x2afa6e:0x5d1,_0x580739:0x458,_0x2d7bc4:0x3c7},_0x2c0fd5={_0x4ceb96:0xb8},_0x461421={_0x2879fb:0x50a,_0x488ef1:0xb2},_0x49c0a9={_0x591486:0x2ba,_0x369f0c:0x40a},_0x379519={_0x8a7005:0x29a},_0x5d9e5a={_0x2de2c3:0x39b,_0x102b76:0x384},_0x222e7a={_0x28a291:0x1f1,_0x20df8e:0x2d0,_0x379313:0xe5},_0x33ff45={_0x1668b4:0x68b,_0x1d7a19:0x5d2,_0x1e664b:0x6e8},_0xdc5bda={_0x519d63:0x47c,_0x16c817:0x37d,_0x12eba8:0x358},_0x1d725f={_0x493a48:0x6f,_0x362aff:0x15f},_0x5a4b23={_0x39ba3f:0x100,_0x2791cc:0x2f1,_0x194bfa:0x1e3,_0x2c7497:0x254},_0x38f30a={_0xf42066:0x70e,_0x58b004:0x5ac,_0x5d9b6b:0x3ad,_0x22e0c0:0x20a},_0x3f40ef={_0x3b12c9:0x11a,_0x272fca:0x127},_0x496af5={_0x5b7066:0x12e,_0x4418b3:0xfb,_0x214236:0xc1},_0x5eaeb0={_0x3e20a3:0x460,_0x3465db:0x41b,_0x1838df:0x5a8,_0x17ef20:0x754,_0x2aeaf2:0x5db,_0x43734f:0x46a},_0x36023e={_0x406130:0x177,_0x1fb1e0:0x46},_0x4f4d11={_0x551eaf:0x1bb,_0x40ab77:0xd6,_0x14fb62:0x50d,_0x1a0612:0x57e,_0x105817:0x5a,_0x352e14:0x103,_0x1d113e:0xcc},_0x502693={_0xb44309:0x7e,_0x3c6910:0x30},_0x4b7b73={_0x4b6c75:0x7a,_0xd7bb9f:0x606,_0x2c7ea9:0x75},_0x18bbf6={_0x1edf3d:0x20,_0x4a9e4a:0x178},_0x5abac6={_0x3f2e00:0xd9,_0x2556a0:0x1bd},_0x5c37dc={_0x113edc:0x4b1,_0x4d69de:0x3fc,_0x14dc07:0x3f5,_0x32f39f:0x341,_0x5cd227:0x302,_0x435a0b:0x2b1,_0x4b79d2:0x4d,_0x44d697:0xf1,_0x55273c:0x19,_0x4318ce:0x1a},_0x18117e=_0x3e5324[_0x47f155(_0x2774de._0x51bf7d,_0x2774de._0x27f9d7,_0x2774de._0x130e9c,0x519)]['process']['stdout'],_0x2ad608=_0x3e5324[_0x47f155(_0x2774de._0x3e109d,_0x2774de._0x1012b0,_0x2774de._0x54475a,_0x2774de._0x4e72b3)][_0x535f3a(_0x2774de._0x3da0b7,_0x2774de._0x252caa,0x604,_0x2774de._0x421546)][_0x535f3a(0x55b,_0x2774de._0x20068b,0x736,_0x2774de._0x2b7feb)];if(!_0x18117e||!_0x2ad608)throw new Error(_0x535f3a(_0x2774de._0x2fef28,_0x2774de._0x4700e6,0x4dd,0x458));const _0xaa64a5=createMessageConnection(new StreamMessageReader(_0x18117e),new StreamMessageWriter(_0x2ad608)),_0x2975c6=new Map(),_0x5dd767=new Map();let _0x1c3624=![];_0xaa64a5[_0x535f3a(_0x2774de._0x20d529,_0x2774de._0x5a6c8d,0x441,0x2db)](_0x47f155(_0x2774de._0x435c2d,0x3e7,_0x2774de._0x2cd69c,_0x2774de._0x286d5a),_0x739674=>{const _0x4c7dbd={_0x2b6f8b:0x80,_0x2397ca:0x15d},_0x212141={_0x58c9f3:0x21c};function _0xa5a500(_0x5e751e,_0x3f5976,_0x15227b,_0x3be0cb){return _0x47f155(_0x5e751e-0xf7,_0x5e751e,_0x15227b-_0x212141._0x58c9f3,_0x3be0cb-0x191);}function _0x14e32e(_0x541fc4,_0x16d08e,_0x343a43,_0x5a7994){return _0x47f155(_0x541fc4-_0x4c7dbd._0x2b6f8b,_0x541fc4,_0x16d08e- -_0x4c7dbd._0x2397ca,_0x5a7994-0x14e);}_0x2975c6['set'](_0x739674[_0xa5a500(_0x5c37dc._0x113edc,_0x5c37dc._0x4d69de,_0x5c37dc._0x14dc07,0x518)],_0x739674['diagnostics']);const _0x3c6291=_0x5dd767[_0x14e32e(_0x5c37dc._0x32f39f,_0x5c37dc._0x5cd227,0x2ed,_0x5c37dc._0x435a0b)](_0x739674['uri']);if(!_0x3c6291)return;_0x5dd767[_0x14e32e(0x13,_0x5c37dc._0x4b79d2,_0x5c37dc._0x44d697,-_0x5c37dc._0x55273c)](_0x739674[_0x14e32e(-0xef,0x7c,-0x38,_0x5c37dc._0x4318ce)]);for(const _0x3e78f4 of _0x3c6291)_0x3e78f4();}),_0xaa64a5[_0x535f3a(_0x2774de._0x1ba0e0,0x5fa,0x62d,0x6e0)]();function _0x535f3a(_0x43bf78,_0xcb3871,_0x56cfa2,_0x4502c0){return _0x283a7f(_0x43bf78-_0x5abac6._0x3f2e00,_0xcb3871-0x38b,_0x56cfa2-_0x5abac6._0x2556a0,_0x56cfa2);}const _0x5f3f02=await _0xaa64a5[_0x47f155(0x473,0x3c5,_0x2774de._0x373143,_0x2774de._0x49949b)]('initialize',{'processId':process['pid'],'rootUri':uriForPath(_0x3e5324[_0x47f155(0x333,_0x2774de._0x26bfab,_0x2774de._0x3c14b2,0x453)]),'workspaceFolders':[{'uri':uriForPath(_0x3e5324['root']),'name':_0x3e5324[_0x47f155(_0x2774de._0x381c12,_0x2774de._0x2a1e13,0x22b,_0x2774de._0x3558b0)]['id']}],'initializationOptions':_0x3e5324[_0x535f3a(_0x2774de._0x2b858b,0x5df,0x52d,_0x2774de._0x3e9d97)][_0x535f3a(0x487,_0x2774de._0xbba5a2,0x559,0x41f)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x47f155(_0x2774de._0xb66c6b,_0x2774de._0x2261ac,0x21e,_0x2774de._0x3aa68b),_0x47f155(0x27d,_0x2774de._0x32bb50,0x38e,0x397)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0xaa64a5['sendNotification']('initialized',{});function _0x47f155(_0x4c4385,_0x599f7a,_0x40966b,_0x1fcca0){return _0x283a7f(_0x4c4385-_0x18bbf6._0x1edf3d,_0x40966b-_0x18bbf6._0x4a9e4a,_0x40966b-0x140,_0x599f7a);}const _0x3fd933={'serverId':_0x3e5324['server']['id'],'root':_0x3e5324[_0x535f3a(_0x2774de._0x48937a,_0x2774de._0x1f33e0,0x554,_0x2774de._0x327c4d)],'connection':_0xaa64a5,'diagnostics':_0x2975c6,'capabilities':_0x5f3f02[_0x535f3a(_0x2774de._0x53bc24,_0x2774de._0x3a048,_0x2774de._0x5cf967,0x41f)]??{},'notify':{async 'open'({path:_0xa14458}){function _0x5d7fea(_0x574128,_0x12ffe3,_0x3e3c88,_0xce8e38){return _0x535f3a(_0x574128-_0x4b7b73._0x4b6c75,_0x12ffe3- -_0x4b7b73._0xd7bb9f,_0xce8e38,_0xce8e38-_0x4b7b73._0x2c7ea9);}function _0x58697b(_0xf00bdb,_0x5b126a,_0x59d68d,_0xdd109d){return _0x47f155(_0xf00bdb-_0x502693._0xb44309,_0xf00bdb,_0x59d68d-_0x502693._0x3c6910,_0xdd109d-0x21);}const _0x227bee=await readFile(_0xa14458,_0x5d7fea(-_0x4f4d11._0x551eaf,-0x117,-_0x4f4d11._0x40ab77,-0x36));_0xaa64a5[_0x58697b(0x5ab,_0x4f4d11._0x14fb62,0x493,_0x4f4d11._0x1a0612)](_0x5d7fea(-_0x4f4d11._0x105817,-0x5b,_0x4f4d11._0x352e14,_0x4f4d11._0x1d113e),{'textDocument':{'uri':uriForPath(_0xa14458),'languageId':getLanguageId(_0xa14458)??'plaintext','version':0x1,'text':_0x227bee}});},async 'change'({path:_0x3cb795,version:_0x346bd6}){const _0x20d611={_0x404630:0xdc,_0x5b2fa2:0x5e},_0x5ba0a6=await readFile(_0x3cb795,_0x1ce429(0x3ce,_0x5eaeb0._0x3e20a3,_0x5eaeb0._0x3465db,_0x5eaeb0._0x1838df));function _0x1ce429(_0x3f09e4,_0xbead2b,_0x411fa7,_0x13473b){return _0x47f155(_0x3f09e4-_0x20d611._0x404630,_0x3f09e4,_0xbead2b-0x184,_0x13473b-_0x20d611._0x5b2fa2);}function _0x3e6295(_0x1d984f,_0x1f2716,_0x15cf88,_0x1f5daa){return _0x47f155(_0x1d984f-_0x36023e._0x406130,_0x1f5daa,_0x1d984f-0x2f1,_0x1f5daa-_0x36023e._0x1fb1e0);}_0xaa64a5[_0x3e6295(_0x5eaeb0._0x17ef20,0x5eb,0x603,_0x5eaeb0._0x2aeaf2)](_0x1ce429(_0x5eaeb0._0x43734f,0x503,0x43d,0x5e3),{'textDocument':{'uri':uriForPath(_0x3cb795),'version':_0x346bd6},'contentChanges':[{'text':_0x5ba0a6}]});},async 'close'({path:_0x4565e2}){function _0x26fa59(_0x518062,_0x316fbe,_0x34f957,_0x5039cb){return _0x47f155(_0x518062-_0x496af5._0x5b7066,_0x5039cb,_0x34f957- -_0x496af5._0x4418b3,_0x5039cb-_0x496af5._0x214236);}function _0x3cc9c1(_0x2f603c,_0x4dba45,_0x5cd8a0,_0x179eae){return _0x47f155(_0x2f603c-_0x3f40ef._0x3b12c9,_0x179eae,_0x4dba45-0x232,_0x179eae-_0x3f40ef._0x272fca);}_0xaa64a5[_0x3cc9c1(_0x38f30a._0xf42066,0x695,0x779,_0x38f30a._0x58b004)](_0x26fa59(_0x38f30a._0x5d9b6b,_0x38f30a._0x22e0c0,0x2ce,0x323),{'textDocument':{'uri':uriForPath(_0x4565e2)}});}},'request':{async 'definition'(_0x470255){function _0x2d614c(_0x194548,_0x55be51,_0x3f3e03,_0x2edae7){return _0x535f3a(_0x194548-0x16a,_0x3f3e03- -0x34d,_0x2edae7,_0x2edae7-0x1a);}return normalizeLocations(await _0xaa64a5[_0x2d614c(_0x5a4b23._0x39ba3f,_0x5a4b23._0x2791cc,_0x5a4b23._0x194bfa,_0x5a4b23._0x2c7497)]('textDocument/definition',textDocumentPosition(_0x470255)));},async 'references'(_0xefaed6){const _0x10ad35={_0x285a1b:0x59};function _0x1b3043(_0x523570,_0x5d765b,_0x1b9fea,_0x20a8c9){return _0x535f3a(_0x523570-0x17c,_0x1b9fea- -0x47f,_0x20a8c9,_0x20a8c9-_0x10ad35._0x285a1b);}function _0x3df606(_0x175a89,_0x1e8a90,_0x37731d,_0x415ac4){return _0x47f155(_0x175a89-_0x1d725f._0x493a48,_0x415ac4,_0x1e8a90-_0x1d725f._0x362aff,_0x415ac4-0x19b);}return normalizeLocations(await _0xaa64a5[_0x3df606(0x539,_0xdc5bda._0x519d63,_0xdc5bda._0x16c817,_0xdc5bda._0x12eba8)](_0x3df606(0x36f,0x3cc,0x2f7,0x492),{...textDocumentPosition(_0xefaed6),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x9bd1c4){function _0x14cf9e(_0x27466f,_0x3ec94a,_0x33c3f6,_0x253116){return _0x535f3a(_0x27466f-0xe6,_0x3ec94a-0x15b,_0x27466f,_0x253116-0x9c);}return await _0xaa64a5[_0x14cf9e(0x696,_0x33ff45._0x1668b4,_0x33ff45._0x1d7a19,_0x33ff45._0x1e664b)]('textDocument/hover',textDocumentPosition(_0x9bd1c4))??null;},async 'documentSymbol'(_0x2e47d2){return await _0xaa64a5['sendRequest']('textDocument/documentSymbol',{'textDocument':{'uri':uriForPath(_0x2e47d2)}})??[];},async 'workspaceSymbol'(_0xd7ddec){const _0x1b2373={_0x3900b2:0x2c,_0x8882bc:0x1e0};function _0x4d9573(_0x458571,_0x1b341b,_0x2c2db7,_0x7fb68c){return _0x535f3a(_0x458571-0x1e2,_0x7fb68c- -_0x1b2373._0x3900b2,_0x1b341b,_0x7fb68c-_0x1b2373._0x8882bc);}function _0x397b41(_0x3a67cc,_0x59b5eb,_0xae3bef,_0x24f015){return _0x47f155(_0x3a67cc-_0x222e7a._0x28a291,_0x3a67cc,_0x24f015-_0x222e7a._0x20df8e,_0x24f015-_0x222e7a._0x379313);}return await _0xaa64a5[_0x4d9573(0x56b,0x5b3,_0x5d9e5a._0x2de2c3,0x504)](_0x4d9573(_0x5d9e5a._0x102b76,0x3d0,0x511,0x3ce),{'query':_0xd7ddec})??[];},async 'implementation'(_0x2549de){function _0x568dd9(_0x10d3f9,_0x4c6510,_0x30fdbe,_0x5701c2){return _0x47f155(_0x10d3f9-0xc4,_0x4c6510,_0x30fdbe-_0x379519._0x8a7005,_0x5701c2-0x104);}return normalizeLocations(await _0xaa64a5['sendRequest'](_0x568dd9(_0x49c0a9._0x591486,_0x49c0a9._0x369f0c,0x426,0x31c),textDocumentPosition(_0x2549de)));},async 'prepareCallHierarchy'(_0x5da055){function _0x35f8de(_0x3f21c8,_0x1b33d2,_0x43c0d7,_0x4631cb){return _0x535f3a(_0x3f21c8-0x14,_0x4631cb- -_0x461421._0x2879fb,_0x1b33d2,_0x4631cb-_0x461421._0x488ef1);}function _0x168904(_0x2a9a56,_0x2fa922,_0x4d5dca,_0x2b83c7){return _0x535f3a(_0x2a9a56-_0x2c0fd5._0x4ceb96,_0x2b83c7- -0xd8,_0x2fa922,_0x2b83c7-0xc3);}return await _0xaa64a5[_0x168904(_0x2c9463._0x561819,_0x2c9463._0x2afa6e,0x418,_0x2c9463._0x580739)](_0x168904(0x366,_0x2c9463._0x2d7bc4,0x490,0x474),textDocumentPosition(_0x5da055))??[];},async 'incomingCalls'(_0x50abcc){const _0x309c61={_0x1dd761:0x6c,_0x4b0ce3:0x5d,_0xbcb36:0xc6};function _0x400667(_0xd99fa6,_0x283d55,_0x483116,_0x130882){return _0x47f155(_0xd99fa6-_0x309c61._0x1dd761,_0x283d55,_0x483116- -_0x309c61._0x4b0ce3,_0x130882-_0x309c61._0xbcb36);}function _0x23e3a6(_0x1b8c10,_0x5b3876,_0x2b9d59,_0x8862){return _0x535f3a(_0x1b8c10-0x23,_0x1b8c10- -0x16a,_0x8862,_0x8862-0x1bb);}return await _0xaa64a5[_0x400667(0x19e,_0x39b0f0._0x3767bf,0x2c0,0x2bd)](_0x400667(0x1d1,0x99,0x13a,_0x39b0f0._0x52bc15),{'item':_0x50abcc})??[];},async 'outgoingCalls'(_0x5a3d19){function _0x8827ba(_0x37172a,_0xcf8320,_0x55816f,_0x38d405){return _0x47f155(_0x37172a-0x59,_0x37172a,_0xcf8320- -0x3d9,_0x38d405-0x77);}return await _0xaa64a5['sendRequest'](_0x8827ba(_0x34b883._0x1ff096,0x85,0x1a2,0x37),{'item':_0x5a3d19})??[];}},'waitForDiagnostics'({path:_0x52adda,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x28bc6e={_0x1bc5b1:0x7e,_0x11e1b9:0x36,_0x5d5663:0xb9},_0x1bc59c={_0x591333:0x1cb,_0x43b985:0x15d,_0x31f9fc:0x10,_0x50fff7:0x61,_0x503f21:0x646,_0x139a10:0x56e},_0x293a98={_0x14ac1f:0x190},_0x430cdb=uriForPath(_0x52adda);if(_0x2975c6['has'](_0x430cdb))return Promise['resolve']();return new Promise(_0x3e3476=>{const _0x4751c6={_0x1dd455:0x1bc};function _0xca840b(_0x355c49,_0x5c37ec,_0x3106ae,_0x278191){return _0x380c(_0x355c49- -_0x293a98._0x14ac1f,_0x3106ae);}const _0x518858=setTimeout(()=>{const _0x730465=_0x5dd767['get'](_0x430cdb);_0x730465?.[_0x34fe2d(-_0x1bc59c._0x591333,-_0x1bc59c._0x43b985,-_0x1bc59c._0x31f9fc,-_0x1bc59c._0x50fff7)](_0x286dd9);function _0x5ac8ec(_0x1f6ea9,_0x313758,_0x2bfbe6,_0x332d87){return _0x380c(_0x1f6ea9-0x2fb,_0x313758);}function _0x34fe2d(_0x2f8b19,_0x11bdb5,_0x907a61,_0x27bff9){return _0x380c(_0x27bff9- -_0x4751c6._0x1dd455,_0x2f8b19);}if(_0x730465?.[_0x5ac8ec(_0x1bc59c._0x503f21,0x740,0x782,_0x1bc59c._0x139a10)]===0x0)_0x5dd767['delete'](_0x430cdb);_0x3e3476();},timeoutMs),_0x286dd9=()=>{clearTimeout(_0x518858),_0x3e3476();},_0xde2be3=_0x5dd767['get'](_0x430cdb)??new Set();_0xde2be3['add'](_0x286dd9),_0x5dd767[_0xca840b(0x186,_0x28bc6e._0x1bc5b1,_0x28bc6e._0x11e1b9,_0x28bc6e._0x5d5663)](_0x430cdb,_0xde2be3);});},async 'shutdown'(){if(_0x1c3624)return;function _0x322d27(_0x490b1b,_0x4bbab1,_0x298166,_0x29cfa1){return _0x47f155(_0x490b1b-_0x1be9c4._0x2e4c90,_0x4bbab1,_0x298166- -_0x1be9c4._0x1c5a22,_0x29cfa1-_0x1be9c4._0x1352d6);}_0x1c3624=!![];function _0x46e2ad(_0xe5c00f,_0x548cf7,_0x339e11,_0x18649e){return _0x47f155(_0xe5c00f-0x109,_0xe5c00f,_0x339e11- -_0x51a6a4._0x149a05,_0x18649e-0x119);}try{await _0xaa64a5[_0x46e2ad(-_0x2a9741._0x223932,-_0x2a9741._0x484521,-_0x2a9741._0x53e2f5,_0x2a9741._0x39a04a)](_0x322d27(-_0x2a9741._0x3f354d,0x6d,-0x74,_0x2a9741._0x59021a),null),_0xaa64a5['sendNotification'](_0x322d27(-0x89,-0x53,-0x103,-0xc7));}catch{}finally{_0xaa64a5[_0x46e2ad(0xa6,_0x2a9741._0x2df142,0x52,-_0x2a9741._0x15cfb1)](),_0x3e5324[_0x46e2ad(-0x8a,0x145,0x96,0x126)][_0x46e2ad(0x185,_0x2a9741._0x2926e7,_0x2a9741._0x120f1a,-0x68)][_0x322d27(-0x3b2,-0x235,-_0x2a9741._0x220506,-_0x2a9741._0x25d172)]();}}};return _0x3fd933;}import{spawn as _0x2736e6}from'child_process';import{access as _0x1f476e}from'fs/promises';import _0x5ea308 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x361c52 from'os';import _0x2d3f3d from'path';import _0x1dba2d from'which';var installPromises=new Map();function sanitizePackageName(_0x41a257){const _0x391b09={_0x121868:0x360,_0x1d1ce8:0x261,_0x38037f:0x372},_0x22f526={_0x13a79e:0x1f9};function _0x4ec824(_0x569d7f,_0x28add7,_0x2eca2c,_0x3a9561){return _0x283a7f(_0x569d7f-0x2,_0x2eca2c-_0x22f526._0x13a79e,_0x2eca2c-0x9f,_0x28add7);}return _0x41a257['replace'](/^@/,'')[_0x4ec824(_0x391b09._0x121868,0x3b7,_0x391b09._0x1d1ce8,_0x391b09._0x38037f)](/[/]/g,'__');}function binaryNameForPlatform(_0x29c408){const _0x5528ee={_0x389693:0x121,_0x180ac8:0x4e1,_0x555eac:0x4b5},_0x2d20f1={_0x234c04:0x97,_0x1e3913:0x60},_0x47317f={_0x404b30:0x152,_0x2d4a62:0x148};function _0x2e9cf4(_0x5902dd,_0xf865ff,_0x240901,_0x4cc89b){return _0x283a7f(_0x5902dd-_0x47317f._0x404b30,_0xf865ff- -_0x47317f._0x2d4a62,_0x240901-0xda,_0x5902dd);}function _0x2953c4(_0x233a27,_0x4f37ca,_0x8843dd,_0x4a08c3){return _0x419223(_0x233a27-_0x2d20f1._0x234c04,_0x8843dd,_0x233a27-0x2b8,_0x4a08c3-_0x2d20f1._0x1e3913);}return process[_0x2e9cf4(-0x1f7,-0xdb,-0x24,-_0x5528ee._0x389693)]===_0x2e9cf4(0x1a1,0x1a9,0x1de,0x264)?_0x29c408+_0x2953c4(0x4d5,_0x5528ee._0x180ac8,0x457,_0x5528ee._0x555eac):_0x29c408;}async function exists(_0x4bb64b){try{return await access(_0x4bb64b),!![];}catch{return![];}}function runNpmInstall(_0x245b85,_0x30277e,_0x451744){const _0x19c09b={_0x5f00b2:0x6e3,_0x29e36a:0x5d6,_0x19a360:0x7a1,_0x1dbfcb:0x730,_0x327291:0x362,_0x5adc6f:0x231,_0x100d8c:0xfe,_0x20972a:0x5fe,_0x2c485c:0x1ec};return new Promise(_0x5de2b3=>{const _0x23b18f=spawn(_0x5a11a3(_0x19c09b._0x5f00b2,_0x19c09b._0x29e36a,_0x19c09b._0x19a360,_0x19c09b._0x1dbfcb),[_0x47f8cb(_0x19c09b._0x327291,0x2f9,_0x19c09b._0x5adc6f,_0x19c09b._0x100d8c),_0x5a11a3(0x71a,0x5b8,_0x19c09b._0x20972a,0x61e),_0x245b85,_0x30277e],{'env':_0x451744,'stdio':'ignore'});function _0x47f8cb(_0x897020,_0x4ea0d6,_0x8b2964,_0x3b2153){return _0x380c(_0x8b2964- -0x124,_0x4ea0d6);}_0x23b18f['on']('error',()=>_0x5de2b3(![]));function _0x5a11a3(_0x236051,_0xdf39bf,_0x3a0b55,_0x2b048d){return _0x380c(_0x2b048d-0x3d7,_0x3a0b55);}_0x23b18f['on'](_0x47f8cb(_0x19c09b._0x327291,0x17e,0x238,_0x19c09b._0x2c485c),_0x266a96=>_0x5de2b3(_0x266a96===0x0));});}function shouldDisableLspDownload(_0x3213b0=process[_0x283a7f(0x233,0x1dc,0x72,0x8c)]){const _0x355e34={_0x3c5fe9:0x2a,_0x251be9:0x23,_0xc50b69:0xe3,_0x59777e:0x405,_0x36a5d2:0x698,_0xf71d82:0x37e},_0x261606={_0xa01643:0xa2,_0x399314:0x29a},_0x58f0a3={_0x5ad7f9:0x10,_0x487839:0x26b,_0x30e1bd:0x99},_0x3bc324=_0x3213b0['NUVIN_DISABLE_LSP_DOWNLOAD']?.[_0x88d29e(-0x4d,-_0x355e34._0x3c5fe9,-_0x355e34._0x251be9,-_0x355e34._0xc50b69)]();function _0x88d29e(_0x438145,_0x115ca1,_0x512adf,_0x44ca9a){return _0x283a7f(_0x438145-_0x58f0a3._0x5ad7f9,_0x438145- -_0x58f0a3._0x487839,_0x512adf-_0x58f0a3._0x30e1bd,_0x512adf);}function _0x4d74d6(_0x5779a1,_0x4b2532,_0x180765,_0x573f99){return _0x283a7f(_0x5779a1-_0x261606._0xa01643,_0x180765-_0x261606._0x399314,_0x180765-0x180,_0x5779a1);}return _0x3bc324===_0x4d74d6(0x692,_0x355e34._0x59777e,0x552,_0x355e34._0x36a5d2)||_0x3bc324==='1'||_0x3bc324===_0x4d74d6(0x2de,0x51e,0x3cd,_0x355e34._0xf71d82)||_0x3bc324==='on';}function getLspPackageDir(_0x12c21d){const _0x5dc1d1={_0x3f25af:0x8,_0x4ef286:0x5e,_0x2e28ea:0x163,_0x1df057:0x2d5,_0x2b86c6:0x2a0,_0x4c8a4c:0x2a2,_0x1380b5:0x1b4,_0x2b262f:0x102,_0x5f2a29:0x156,_0x5bbe2e:0x2a9,_0x58baac:0x293},_0x24c60d={_0x430703:0x1b1,_0x2f2d63:0x134},_0x8180f6={_0x26d700:0x4,_0x4a3e67:0xbc};function _0x42d225(_0x1ac8ee,_0x57c1da,_0x4124c9,_0x5620c6){return _0x419223(_0x1ac8ee-_0x8180f6._0x26d700,_0x57c1da,_0x1ac8ee- -0x40,_0x5620c6-_0x8180f6._0x4a3e67);}function _0x32d7bf(_0x58384c,_0x344929,_0x4e1a74,_0x2406e5){return _0x283a7f(_0x58384c-_0x24c60d._0x430703,_0x344929-0x58,_0x4e1a74-_0x24c60d._0x2f2d63,_0x4e1a74);}return _0x2d3f3d[_0x42d225(_0x5dc1d1._0x3f25af,0x23,-0xdd,_0x5dc1d1._0x4ef286)](_0x361c52[_0x32d7bf(-0x4a,0xa5,0x221,_0x5dc1d1._0x2e28ea)](),_0x32d7bf(0x1f8,_0x5dc1d1._0x1df057,_0x5dc1d1._0x2b86c6,_0x5dc1d1._0x4c8a4c),_0x32d7bf(_0x5dc1d1._0x1380b5,_0x5dc1d1._0x2b262f,_0x5dc1d1._0x5f2a29,0x80),_0x32d7bf(0x283,0x23e,_0x5dc1d1._0x5bbe2e,_0x5dc1d1._0x58baac),sanitizePackageName(_0x12c21d));}function getLspBinDir(_0x5e134a){const _0x490b20={_0x13e90a:0x283,_0x243107:0x5e5,_0x83f763:0x498,_0x41e0c4:0x202,_0x31fc8f:0x11e,_0x339180:0x1f1},_0xd1f4a3={_0xc5889a:0x173,_0x1df74c:0x17b},_0x1f7036={_0xf34b44:0xc3};function _0xfc0d52(_0x1813ec,_0x47132b,_0x352ec9,_0x119e21){return _0x419223(_0x1813ec-0xf5,_0x352ec9,_0x47132b- -_0x1f7036._0xf34b44,_0x119e21-0x198);}function _0x141772(_0x1b5646,_0x114a93,_0x4ae355,_0x39cbbb){return _0x283a7f(_0x1b5646-0x6e,_0x1b5646-_0xd1f4a3._0xc5889a,_0x4ae355-_0xd1f4a3._0x1df74c,_0x39cbbb);}return _0x2d3f3d[_0x141772(0x283,0x266,_0x490b20._0x13e90a,0x2b5)](getLspPackageDir(_0x5e134a),_0x141772(0x47a,0x304,_0x490b20._0x243107,_0x490b20._0x83f763),_0x141772(_0x490b20._0x41e0c4,_0x490b20._0x31fc8f,0x265,_0x490b20._0x339180));}async function findPackageBinary(_0x27d0f2,_0x2810a9){const _0x9029aa={_0x3b6e5a:0x3a3,_0x27ed7a:0x344,_0xdf4a43:0x1bb,_0x2b80f9:0x291,_0x2e7f59:0x30c,_0xf837b9:0x3b2,_0x4326e5:0x188,_0x549922:0x194},_0x230239={_0x4e9f6e:0xcc,_0x5aabdb:0x303},_0x202680={_0x26464a:0x1c6};function _0x4d7a31(_0x442509,_0x5e8d52,_0x442a7b,_0x1f8210){return _0x419223(_0x442509-_0x202680._0x26464a,_0x442a7b,_0x442509-0x173,_0x1f8210-0x33);}let _0x3b5fdd=_0x2d3f3d[_0x4d7a31(_0x9029aa._0x3b6e5a,0x366,0x48a,_0x9029aa._0x27ed7a)](_0x2810a9);function _0xad1729(_0x4dae1e,_0x30ab5e,_0x520bf4,_0x34e8cf){return _0x283a7f(_0x4dae1e-_0x230239._0x4e9f6e,_0x4dae1e-_0x230239._0x5aabdb,_0x520bf4-0xa8,_0x520bf4);}const _0x29267e=binaryNameForPlatform(_0x27d0f2);while(!![]){const _0x3e586d=_0x2d3f3d[_0x4d7a31(_0x9029aa._0xdf4a43,0x24b,_0x9029aa._0x2b80f9,_0x9029aa._0x2e7f59)](_0x3b5fdd,_0x4d7a31(_0x9029aa._0xf837b9,0x35e,0x361,0x309),'.bin',_0x29267e);if(await exists(_0x3e586d))return _0x3e586d;const _0x2e83ae=_0x2d3f3d[_0x4d7a31(_0x9029aa._0x4326e5,0x17e,_0x9029aa._0x549922,0x241)](_0x3b5fdd);if(_0x2e83ae===_0x3b5fdd)return void 0x0;_0x3b5fdd=_0x2e83ae;}}async function findPathBinary(_0x5cb6a0,_0x1ca71d){const _0x326c0b={_0x459840:0x4ed,_0x3b502f:0x3f9,_0x37c032:0x320,_0x21fe41:0x2c9,_0x47688a:0x223},_0x52d2b3={_0x5d9d64:0xa4,_0x3b9d15:0x28e},_0x364a2=getLspBinDir(_0x1ca71d);function _0x37a87b(_0x5a8557,_0x55e0ac,_0x20d265,_0x5785f6){return _0x283a7f(_0x5a8557-_0x52d2b3._0x5d9d64,_0x20d265-_0x52d2b3._0x3b9d15,_0x20d265-0x39,_0x55e0ac);}function _0x14b6ab(_0x30ae2c,_0x1bc5ad,_0x382c74,_0x220418){return _0x283a7f(_0x30ae2c-0x1e6,_0x220418-0xbb,_0x382c74-0x153,_0x30ae2c);}const _0x46fe7c=[_0x364a2,process['env'][_0x37a87b(0x42e,_0x326c0b._0x459840,0x403,0x462)]]['filter'](Boolean)[_0x37a87b(_0x326c0b._0x3b502f,_0x326c0b._0x37c032,0x39e,_0x326c0b._0x21fe41)](_0x2d3f3d[_0x14b6ab(0xe0,0x2de,0x2b5,_0x326c0b._0x47688a)]);try{return await _0x1dba2d(_0x5cb6a0,{'path':_0x46fe7c});}catch{return void 0x0;}}async function resolvePackageBinary(_0x1e9017){const _0x12da2f={_0x122ed8:0x2b3,_0x1b4d7a:0x12,_0x3ab35d:0x359,_0x136959:0x137,_0x4ff226:0x5,_0x2bf332:0xe5,_0x488ad8:0x9,_0x57a7b5:0x15f,_0x1db92e:0xfe,_0x447e43:0xf1,_0x50b764:0x125,_0x36bfe7:0xb7,_0x443935:0x112,_0x3e3d56:0x6,_0xc77abd:0x114,_0x4a0790:0x1cc},_0x1dff21={_0x546486:0x33,_0x4ddaa3:0x13c,_0x2e6e33:0x71},_0x11a020={_0x26efd3:0xd3,_0x360d6d:0x118},_0x7c08eb={_0x5238b2:0x14f},_0x503687={_0x6f9853:0x197},_0xc13f28=_0x1e9017[_0x5c0ab1(-0x8a,-_0x12da2f._0x122ed8,-_0x12da2f._0x1b4d7a,-0x165)]??_0x1e9017[_0x3843bf(_0x12da2f._0x3ab35d,0x24a,0x2c7,0x254)],_0x263a11=await findPackageBinary(_0xc13f28,_0x1e9017['startDir']);if(_0x263a11)return _0x263a11;function _0x5c0ab1(_0x154c61,_0x200de5,_0x21534a,_0x595573){return _0x283a7f(_0x154c61-0x81,_0x595573- -0x1d3,_0x21534a-_0x503687._0x6f9853,_0x154c61);}const _0x4e9879=await findPathBinary(_0xc13f28,_0x1e9017[_0x3843bf(0x300,0x1ed,0x23f,0x254)]);if(_0x4e9879)return _0x4e9879;const _0x5809ba=_0x1e9017[_0x5c0ab1(-_0x12da2f._0x136959,-_0x12da2f._0x4ff226,-_0x12da2f._0x2bf332,_0x12da2f._0x488ad8)]??process[_0x5c0ab1(_0x12da2f._0x57a7b5,-_0x12da2f._0x1db92e,_0x12da2f._0x447e43,0x9)];if(shouldDisableLspDownload(_0x5809ba))return void 0x0;const _0x12baba=getLspPackageDir(_0x1e9017[_0x3843bf(_0x12da2f._0x50b764,0x2a4,0x259,0x254)]);function _0x3843bf(_0x2a6af8,_0x3c8a02,_0x57ef23,_0x513b6f){return _0x283a7f(_0x2a6af8-_0x7c08eb._0x5238b2,_0x513b6f-0x87,_0x57ef23-0x93,_0x2a6af8);}const _0x298fd5=_0x1e9017[_0x5c0ab1(0x7a,-_0x12da2f._0x36bfe7,_0x12da2f._0x443935,-_0x12da2f._0x3e3d56)]+':'+_0xc13f28;let _0x5d9ee2=installPromises[_0x5c0ab1(0xaf,0x1ab,0x35,_0x12da2f._0xc77abd)](_0x298fd5);!_0x5d9ee2&&(_0x5d9ee2=((async()=>{const _0x410364={_0x1758a6:0x188,_0x41f1a1:0x194};function _0x5c1a72(_0x112432,_0x1682de,_0x322105,_0x33689e){return _0x3843bf(_0x322105,_0x1682de-0x82,_0x322105-_0x410364._0x1758a6,_0x1682de- -_0x410364._0x41f1a1);}await mkdir(_0x12baba,{'recursive':!![]});const _0x89b2ea=await runNpmInstall(_0x12baba,_0x1e9017[_0x5c1a72(_0x1dff21._0x546486,0xc0,_0x1dff21._0x4ddaa3,0x1a9)],_0x5809ba);if(!_0x89b2ea)return void 0x0;function _0x339b97(_0x3cf9a1,_0x4775f5,_0x403c9a,_0x1942fe){return _0x3843bf(_0x403c9a,_0x4775f5-_0x11a020._0x26efd3,_0x403c9a-_0x11a020._0x360d6d,_0x1942fe-0x329);}const _0x44488e=_0x2d3f3d[_0x5c1a72(_0x1dff21._0x2e6e33,0x3,0x66,0x85)](getLspBinDir(_0x1e9017['packageName']),binaryNameForPlatform(_0xc13f28));return await exists(_0x44488e)?_0x44488e:void 0x0;})()),installPromises['set'](_0x298fd5,_0x5d9ee2));try{return await _0x5d9ee2;}catch{return void 0x0;}finally{installPromises[_0x3843bf(_0x12da2f._0x4a0790,0x2f,-0x3,0xb9)](_0x298fd5);}}var TYPESCRIPT_EXTENSIONS=['.ts',_0x419223(0x197,0x160,0x1c,-0x7a),'.js',_0x283a7f(0x205,0x162,0xf1,0x1e1),'.mjs',_0x283a7f(-0xdc,0x3a,-0x70,0xa4),_0x283a7f(0x1f3,0x2ab,0x20d,0x2ef),_0x419223(-0x1f0,-0x21b,-0xb3,0x84)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x419223(-0x132,-0x20a,-0x95,-0xe),_0x283a7f(0x13d,0x130,0x166,0x2a7)],TYPESCRIPT_ROOT_MARKERS=['package-lock.json','bun.lockb',_0x419223(-0x134,-0x171,0x5,-0x130),_0x419223(0x72,-0x3b,0x2a,-0xaf),'yarn.lock','tsconfig.json',_0x283a7f(0x334,0x291,0x25d,0x191),_0x283a7f(0x1eb,0x184,0x2cd,0x40)],BIOME_ROOT_MARKERS=[_0x419223(-0x82,0x78,0x28,-0x66),'biome.jsonc',_0x283a7f(0x225,0xee,0x16c,0xb9),'bun.lockb',_0x419223(-0x8e,-0x4a,0x5,-0xfd),'pnpm-lock.yaml',_0x419223(0x115,0x207,0x234,0x195),'package.json'];async function exists2(_0x1d3bb1){try{return await _0x1f476e(_0x1d3bb1),!![];}catch{return![];}}async function findUp(_0x36d847,_0xb257e0){const _0x5d6b92={_0x1bfd21:0x649,_0x2f353b:0x5ad,_0x4837fe:0x3d3,_0x196630:0x3e9,_0x99f45e:0x464,_0x28d7ad:0x461,_0x674909:0x4b0,_0x1e66dd:0x52c},_0x50d9c5={_0x34edab:0x162,_0x444fd3:0x419},_0x53f010={_0x52a66f:0x1c1,_0x135de2:0xa4};let _0x2ecfb0=_0x5ea308[_0x2bab32(_0x5d6b92._0x1bfd21,0x59c,0x4dd,_0x5d6b92._0x2f353b)](_0x36d847);const _0x588ed8=_0x5ea308[_0x2bab32(_0x5d6b92._0x4837fe,_0x5d6b92._0x196630,_0x5d6b92._0x99f45e,0x28c)](_0x2ecfb0);function _0x5a1edf(_0x47a1fe,_0x1334dd,_0x3ec51a,_0x32fc3c){return _0x419223(_0x47a1fe-0x193,_0x47a1fe,_0x1334dd-_0x53f010._0x52a66f,_0x32fc3c-_0x53f010._0x135de2);}if(_0x588ed8)_0x2ecfb0=_0x5ea308[_0x5a1edf(0x156,0x1d6,0x16f,0x18f)](_0x2ecfb0);function _0x2bab32(_0x159a98,_0x536e45,_0x21e994,_0x211e7d){return _0x419223(_0x159a98-_0x50d9c5._0x34edab,_0x536e45,_0x159a98-_0x50d9c5._0x444fd3,_0x211e7d-0x10);}while(!![]){for(const _0xbd9447 of _0xb257e0){if(await exists2(_0x5ea308[_0x2bab32(_0x5d6b92._0x28d7ad,0x3a5,_0x5d6b92._0x674909,_0x5d6b92._0x1e66dd)](_0x2ecfb0,_0xbd9447)))return _0x2ecfb0;}const _0x175f83=_0x5ea308['dirname'](_0x2ecfb0);if(_0x175f83===_0x2ecfb0)return void 0x0;_0x2ecfb0=_0x175f83;}}async function hasDenoRoot(_0x175d87){const _0x237e8c={_0x4ecb09:0x35,_0x273af7:0xe3,_0x5ef409:0x177},_0x59eaf2={_0x34c753:0xa,_0x2f9f20:0x2e,_0x848727:0xc1},_0x19eade={_0xb3b475:0x81,_0x5d01b0:0x465};function _0x5eaa46(_0x1601e1,_0x71d0af,_0x271c90,_0x32fd07){return _0x419223(_0x1601e1-_0x19eade._0xb3b475,_0x271c90,_0x32fd07-_0x19eade._0x5d01b0,_0x32fd07-0x15f);}function _0x3f23e3(_0x38cde6,_0x45a671,_0xfea93d,_0x2e88fd){return _0x283a7f(_0x38cde6-_0x59eaf2._0x34c753,_0x45a671-_0x59eaf2._0x2f9f20,_0xfea93d-_0x59eaf2._0x848727,_0x2e88fd);}return await exists2(_0x5ea308['join'](_0x175d87,_0x3f23e3(0xfa,0x147,-_0x237e8c._0x4ecb09,0x2a5)))||await exists2(_0x5ea308[_0x3f23e3(0x1fc,0x13e,_0x237e8c._0x273af7,0xc8)](_0x175d87,_0x3f23e3(0x21c,0xc3,_0x237e8c._0x5ef409,0x1d2)));}async function resolveTsserverPath(_0x51378c){const _0x36e85b={_0x4b9e4d:0x5fa,_0x4484a7:0x92a,_0x3b4482:0x6da,_0x34ad55:0x85e,_0x37d5c3:0x203,_0x309d1a:0xcf,_0x1a5098:0x1ce,_0x2a6c73:0x75c,_0x3f96ef:0x889,_0x345860:0x766,_0x1f2175:0x6bb,_0x3575b0:0x90,_0x49d651:0x202,_0x43af40:0x167,_0x50281c:0x790,_0x1cf5e0:0x13d,_0x1a9530:0x136,_0x5f0cf7:0x704,_0x34549f:0x6ca,_0x20180:0x6e1},_0x2cdc46={_0x52233d:0x2e,_0x166be1:0xe3},_0x16ab09={_0x2d3497:0x1f1,_0x5d9793:0x1bf};let _0xa89362=_0x5ea308['resolve'](_0x51378c);while(!![]){const _0x306821=_0x5ea308[_0x43ac44(_0x36e85b._0x4b9e4d,0x670,0x76a,0x574)](_0xa89362,_0x43ac44(0x7f1,_0x36e85b._0x4484a7,_0x36e85b._0x3b4482,_0x36e85b._0x34ad55),'typescript',_0x22a863(0xd5,0x1e2,_0x36e85b._0x37d5c3,0x136),_0x22a863(_0x36e85b._0x309d1a,-0xe1,_0x36e85b._0x1a5098,0x7a));if(await exists2(_0x306821))return _0x306821;const _0x220898=_0x5ea308['dirname'](_0xa89362);if(_0x220898===_0xa89362)break;_0xa89362=_0x220898;}function _0x22a863(_0x254eb9,_0x529175,_0x5f1a32,_0x201027){return _0x419223(_0x254eb9-_0x16ab09._0x2d3497,_0x529175,_0x201027- -0xd8,_0x201027-_0x16ab09._0x5d9793);}const _0x1686f3=getLspPackageDir(_0x43ac44(_0x36e85b._0x2a6c73,0x8b8,0x6e9,_0x36e85b._0x3f96ef)),_0x4f6a88=await resolvePackageBinary({'packageName':_0x43ac44(0x75c,_0x36e85b._0x345860,_0x36e85b._0x1f2175,0x5fa),'binaryName':'tsc','startDir':_0x51378c});if(!_0x4f6a88)return void 0x0;function _0x43ac44(_0x5d6fdf,_0x153ff1,_0x45a720,_0x58691a){return _0x419223(_0x5d6fdf-_0x2cdc46._0x52233d,_0x153ff1,_0x5d6fdf-0x5b2,_0x58691a-_0x2cdc46._0x166be1);}const _0x433d2d=_0x5ea308[_0x22a863(-0x1e0,-0x164,0x53,-_0x36e85b._0x3575b0)](_0x1686f3,_0x22a863(0x22f,0x29c,_0x36e85b._0x49d651,_0x36e85b._0x43af40),_0x43ac44(_0x36e85b._0x2a6c73,0x864,_0x36e85b._0x50281c,0x653),_0x22a863(0xb8,0x182,_0x36e85b._0x1cf5e0,_0x36e85b._0x1a9530),_0x43ac44(_0x36e85b._0x5f0cf7,0x723,_0x36e85b._0x34549f,_0x36e85b._0x20180));return await exists2(_0x433d2d)?_0x433d2d:void 0x0;}var TypeScriptServer={'id':_0x283a7f(0x178,0x272,0x1f9,0x1d4),'name':_0x419223(-0x19f,0x24,-0x3c,-0x1b),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x1accd5){const _0x288367=await findUp(_0x1accd5,TYPESCRIPT_ROOT_MARKERS);if(!_0x288367)return void 0x0;return await hasDenoRoot(_0x288367)?void 0x0:_0x288367;},async 'spawn'(_0x19e747){const _0x41df74={_0x5ae723:0x11f,_0x5e6026:0x167,_0x53ee1b:0x180,_0x1963d4:0x17f,_0x307119:0xb9,_0x41bcea:0xb2},_0x27d03b={_0x5a6ea4:0x8,_0x48a10e:0x39},_0x47cd78={_0x497f7d:0xd5},_0x45cd76=await resolveTsserverPath(_0x19e747);function _0x2cf60d(_0x39ca01,_0x2db5d0,_0x1c67ef,_0xb7e301){return _0x283a7f(_0x39ca01-0x7,_0x1c67ef- -_0x47cd78._0x497f7d,_0x1c67ef-0x9a,_0xb7e301);}if(!_0x45cd76)return void 0x0;const _0x194607=await resolvePackageBinary({'packageName':_0x2cf60d(_0x41df74._0x5ae723,_0x41df74._0x5e6026,_0x41df74._0x53ee1b,_0x41df74._0x1963d4),'binaryName':'typescript-language-server','startDir':_0x19e747});function _0x3daf7f(_0x3905c3,_0x3ceada,_0x1b59e8,_0x72bc6a){return _0x419223(_0x3905c3-_0x27d03b._0x5a6ea4,_0x3ceada,_0x3905c3- -0x1ab,_0x72bc6a-_0x27d03b._0x48a10e);}if(!_0x194607)return void 0x0;return{'process':_0x2736e6(_0x194607,[_0x2cf60d(_0x41df74._0x307119,-0x13,_0x41df74._0x41bcea,0xde)],{'cwd':_0x19e747,'stdio':'pipe'}),'initialization':{'tsserver':{'path':_0x45cd76}}};}},BiomeServer={'id':_0x419223(-0xdc,0xc3,-0x9e,0x35),'name':_0x419223(0x11d,0x25f,0x221,0x22b),'extensions':BIOME_EXTENSIONS,async 'root'(_0x30cd2b){return findUp(_0x30cd2b,BIOME_ROOT_MARKERS);},async 'spawn'(_0x165a75){const _0x2436df={_0x4615e7:0x3e,_0x57f57b:0x11d,_0x331143:0xac,_0x3d64c9:0xb9,_0x823387:0x151,_0x50780a:0x11d,_0x1147c0:0x174,_0x5607d1:0xff,_0x2ed08c:0x19a,_0x3e919e:0x27e,_0x3ae476:0x19,_0x4132fa:0x40,_0x312042:0x44e},_0x3f06ff={_0x5f0361:0x3};function _0x251fb6(_0x2b14e0,_0x4c15df,_0x10d4a5,_0x4338e9){return _0x419223(_0x2b14e0-0x8d,_0x2b14e0,_0x10d4a5- -0x7f,_0x4338e9-0x4b);}const _0x1bfa7c=await findPackageBinary(_0x251fb6(0x12,_0x2436df._0x4615e7,-_0x2436df._0x57f57b,0x60),_0x165a75)??await resolvePackageBinary({'packageName':_0x251fb6(0xb2,-_0x2436df._0x331143,-_0x2436df._0x3d64c9,-0x28),'binaryName':_0x251fb6(-_0x2436df._0x823387,-0x1b9,-_0x2436df._0x50780a,-_0x2436df._0x1147c0),'startDir':_0x165a75});if(!_0x1bfa7c)return void 0x0;function _0x21cd7c(_0x2ff24a,_0x4b6169,_0x1d78a8,_0x251778){return _0x419223(_0x2ff24a-0xb8,_0x4b6169,_0x251778-0x3f9,_0x251778-_0x3f06ff._0x5f0361);}return{'process':_0x2736e6(_0x1bfa7c,[_0x251fb6(_0x2436df._0x5607d1,0xcf,_0x2436df._0x2ed08c,_0x2436df._0x3e919e),_0x251fb6(-_0x2436df._0x3ae476,-0x55,_0x2436df._0x4132fa,0x89)],{'cwd':_0x165a75,'stdio':_0x21cd7c(0x453,_0x2436df._0x312042,0x487,0x5bc)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x210ce1){const _0x476548={_0x542fd5:0x38e,_0x5e842b:0x349,_0x7df93:0xfc,_0x512ba9:0x292,_0x343e3d:0x2c0},_0x42f740={_0x43b1f2:0x169},_0x2eab56={_0x4d5385:0x13a,_0x4b90b8:0x101,_0x30762e:0xa3};function _0x31910a(_0x4466ba,_0x355f8b,_0x591b8c,_0x465664){return _0x283a7f(_0x4466ba-_0x2eab56._0x4d5385,_0x4466ba- -_0x2eab56._0x4b90b8,_0x591b8c-_0x2eab56._0x30762e,_0x355f8b);}const _0x1877e4=_0x5ea308[_0x33327b(_0x476548._0x542fd5,_0x476548._0x5e842b,0x250,0x353)](_0x210ce1)[_0x31910a(0x11d,_0x476548._0x7df93,0x150,_0x476548._0x512ba9)]();function _0x33327b(_0x39f1fa,_0x355590,_0x19e6e3,_0x30be75){return _0x283a7f(_0x39f1fa-_0x42f740._0x43b1f2,_0x39f1fa-0x30c,_0x19e6e3-0x1d9,_0x30be75);}return BUILTIN_LSP_SERVERS[_0x33327b(0x3e8,0x4d4,0x49e,_0x476548._0x343e3d)](_0x3f49ea=>_0x3f49ea[_0x33327b(0x468,0x3cb,0x4ff,0x47d)][_0x33327b(0x60d,0x4c7,0x568,0x6df)](_0x1877e4));}function stateKey(_0x5e7a72,_0x3f3d4d){return _0x3f3d4d+':'+_0x5e7a72['id'];}function diagnosticsKeyToPath(_0xdca156){const _0x5737f6={_0x5f19fe:0x5ae},_0x281dac={_0x456fc3:0x19c};if(!_0xdca156['startsWith'](_0x148ada(0x476,0x3de,_0x5737f6._0x5f19fe,0x454)))return _0xdca156;function _0x148ada(_0x219e4d,_0x5f5cd0,_0x5095e7,_0x344fcc){return _0x283a7f(_0x219e4d-_0x281dac._0x456fc3,_0x219e4d-0x180,_0x5095e7-0x1c2,_0x5095e7);}return fileURLToPath(_0xdca156);}function nextFileVersion(_0x2af813,_0x14b644){const _0xd1f8f2={_0x3b595c:0x42a,_0xe1577:0x583,_0x2089f2:0x324,_0x3a90fd:0x274,_0x17a358:0x23a,_0x33d811:0x2fb,_0x412ffe:0x48b},_0x4c98f2={_0x3231f1:0x180};function _0x1548b4(_0xe06b47,_0x54be31,_0xeca661,_0x100644){return _0x419223(_0xe06b47-0xc9,_0x100644,_0x54be31-0x265,_0x100644-_0x4c98f2._0x3231f1);}const _0x2bf51f=(_0x2af813[_0x1548b4(0x347,0x23a,0x330,0x344)][_0x1548b4(_0xd1f8f2._0x3b595c,0x484,_0xd1f8f2._0xe1577,_0xd1f8f2._0x2089f2)](_0x14b644)??0x1)+0x1;_0x2af813[_0x1548b4(_0xd1f8f2._0x3a90fd,_0xd1f8f2._0x17a358,0x34f,_0xd1f8f2._0x33d811)][_0x1548b4(_0xd1f8f2._0x412ffe,0x38a,0x4bb,0x244)](_0x14b644,_0x2bf51f);function _0x32d705(_0x15e14e,_0x44e43b,_0x118a1c,_0x45f9ba){return _0x283a7f(_0x15e14e-0x2e,_0x44e43b-0x2ad,_0x118a1c-0xf4,_0x45f9ba);}return _0x2bf51f;}async function collectClientResults(_0x1da0d7){const _0x218cea={_0x5d2950:0x571,_0xe5c412:0x455,_0x65a241:0x405},_0x1024a3={_0x5d31a2:0x3b},_0x34230a={_0x909fb2:0x9,_0x3ff50a:0x131};function _0x2c049a(_0x2487d5,_0x10806e,_0x246b44,_0x3715fe){return _0x419223(_0x2487d5-_0x34230a._0x909fb2,_0x246b44,_0x2487d5-0x4a4,_0x3715fe-_0x34230a._0x3ff50a);}function _0x358f6f(_0x476ca0,_0xdf73f2,_0x588c9d,_0x2d39d6){return _0x419223(_0x476ca0-_0x1024a3._0x5d31a2,_0xdf73f2,_0x588c9d-0x58c,_0x2d39d6-0x6a);}const _0x3b381a=await Promise['allSettled'](_0x1da0d7);return _0x3b381a[_0x2c049a(_0x218cea._0x5d2950,_0x218cea._0xe5c412,_0x218cea._0x65a241,0x4a4)](_0x2aad17=>_0x2aad17[_0x358f6f(0x4ad,0x5cc,0x4e2,0x59f)]===_0x2c049a(0x460,0x330,0x570,0x334)?_0x2aad17[_0x2c049a(0x55a,0x63a,0x5d6,0x613)]:[]);}function _0x380c(_0x20fa69,_0x11abfd){_0x20fa69=_0x20fa69-0x13d;const _0x4b7c8e=_0x4b7c();let _0x380ca5=_0x4b7c8e[_0x20fa69];if(_0x380c['bUyqUB']===undefined){var _0x4701fb=function(_0x4ef5a6){const _0x4cedcc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1f82ea='',_0x2736e6='';for(let _0x1f476e=0x0,_0x5ea308,_0x361c52,_0x2d3f3d=0x0;_0x361c52=_0x4ef5a6['charAt'](_0x2d3f3d++);~_0x361c52&&(_0x5ea308=_0x1f476e%0x4?_0x5ea308*0x40+_0x361c52:_0x361c52,_0x1f476e++%0x4)?_0x1f82ea+=String['fromCharCode'](0xff&_0x5ea308>>(-0x2*_0x1f476e&0x6)):0x0){_0x361c52=_0x4cedcc['indexOf'](_0x361c52);}for(let _0x1dba2d=0x0,_0x3f615a=_0x1f82ea['length'];_0x1dba2d<_0x3f615a;_0x1dba2d++){_0x2736e6+='%'+('00'+_0x1f82ea['charCodeAt'](_0x1dba2d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2736e6);};_0x380c['ZkqKAs']=_0x4701fb,_0x380c['jUFkff']={},_0x380c['bUyqUB']=!![];}const _0x482b15=_0x4b7c8e[0x0],_0x5123d3=_0x20fa69+_0x482b15,_0xf25cbf=_0x380c['jUFkff'][_0x5123d3];return!_0xf25cbf?(_0x380ca5=_0x380c['ZkqKAs'](_0x380ca5),_0x380c['jUFkff'][_0x5123d3]=_0x380ca5):_0x380ca5=_0xf25cbf,_0x380ca5;}function createLspService(_0x3e8ef0={}){const _0x392742={_0x2dc00f:0xbc,_0x4205b8:0x150},_0x17e2f0={_0x12067c:0x3ad,_0xc6cfbb:0x18c,_0x17e8a8:0xe7},_0x45862e={_0x3ddc65:0x60a,_0x10773a:0x66b,_0x3feb14:0x62b,_0x18a607:0x6b9,_0x483e0c:0x618,_0x290e5e:0x382,_0x5bdded:0x33b,_0x5f1d60:0x20a,_0x4abfb5:0x39c,_0x28802f:0x521,_0xdfe06c:0x599,_0x1da804:0x5d1,_0x76cc0a:0x627,_0x3405ba:0x6bc,_0xeea54a:0x643,_0x5bf6bc:0x4ad,_0x33429a:0x301},_0x4c3f04={_0x3a34af:0x5},_0x2bce0c={_0x485b1e:0x294,_0x2b6563:0x1b7},_0x2dec63={_0x4bda23:0x192,_0x275a94:0x174},_0x2bcc0d={_0x4ebbae:0x35d},_0x312d81={_0x58ff1e:0x1c8},_0x581e9a={_0x210981:0x51c,_0x2b4aec:0x5b4,_0x2f7bdc:0x622,_0x436a6b:0x56f,_0x4469ac:0x548,_0x23de21:0x6bb},_0x3346dd={_0x92a02f:0x1cc},_0x4c58c2={_0x609e84:0x1ed},_0x176e08={_0x27724d:0x1c6,_0x1ab86f:0x2f8,_0x5f5ced:0x179},_0x5a55fb={_0x28b768:0x1e7},_0x4f731e={_0x394a8b:0x212,_0x4a1e86:0xae,_0x3bc820:0x205,_0x5878c4:0x18b,_0x1b149b:0xac,_0x55170e:0x24,_0x244157:0xa0,_0xf73b1:0x77},_0x143e27={_0x10c37f:0x2c9,_0x4a124d:0x279,_0x46c653:0x191,_0x2ee8d0:0x29b},_0x64160f={_0x4fd0ac:0x321,_0xd2a7ba:0x9d},_0x25d622={_0x557ee1:0x7ad,_0x1099d9:0x67a,_0x467048:0x62f},_0x5d2f65={_0x413baf:0x29a,_0x440281:0x36f,_0x3ef985:0x1b1,_0x4a25e5:0x263},_0x1d6469={_0x50e39a:0x4},_0x5f476b={_0x5c5eae:0x4ba,_0x52ddfa:0x636,_0x1a832f:0x6f0,_0x54db8f:0x822,_0x355813:0x6c4},_0x2a0986={_0x32e774:0x1dc},_0x3b1062={_0x5aad5d:0x19b,_0x4f6c09:0x3bf,_0x9fa731:0x2cf,_0x17d912:0x370,_0x54a536:0x19c},_0x5718bd={_0x10c2f6:0x1cb},_0x453c79={_0x2c02d6:0x19,_0x2673ba:0xb8},_0x1bba2e={_0x8c139b:0x200,_0x16727b:0x1b5},_0x4441d2={_0x2a0e08:0x17c,_0x39ff66:0x85,_0x3d4bee:0x2ed},_0x40c786={_0x8fbe78:0x2a0,_0x363845:0x348,_0x36a55c:0x281,_0x1af7ee:0x544,_0x316bb9:0x3c8},_0x461593={_0x5529e2:0x84,_0x2732ef:0x9,_0x38d916:0x4a6,_0x4b9efd:0x98,_0x58a22b:0x2c,_0x11f4b0:0x3c7,_0x24a560:0x7f2,_0x5497bb:0x35d,_0x17f50a:0x53e,_0x168625:0x530,_0x43918d:0x6dd,_0x31a4f3:0x67d,_0xf96670:0x5c0},_0x165bf9={_0x8f3535:0x3d9,_0x54d302:0x3e1,_0x388ff8:0xbe,_0x230cee:0x1,_0x3ee48a:0x182,_0xbb1889:0x245,_0x43e790:0x251,_0x3db341:0x4b5,_0x2c4c69:0x214,_0x3edd44:0x376,_0x17eba4:0x44f,_0x29fd24:0x3de},_0x40091c={_0x4694be:0x245,_0x34cf6d:0x87},_0x57f485={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0xfd503=()=>_0x3e8ef0[_0x9e2e86(0x493,0x420,0x4b7,0x4ef)]!==![];async function _0x7b9a38(_0x32577d,_0x48352f){const _0x49a0eb={_0x43adab:0x1ed,_0x2ec080:0x25},_0x5e787e=stateKey(_0x32577d,_0x48352f),_0x103c69=_0x57f485[_0x5a19b9(0x13b,_0x461593._0x5529e2,_0x461593._0x2732ef,0x3c)][_0x8214(0x618,0x5a1,0x482,_0x461593._0x38d916)](_0x55cb8a=>_0x55cb8a['serverId']===_0x32577d['id']&&_0x55cb8a[_0x8214(0x53f,0x5d6,0x571,0x60a)]===_0x48352f);if(_0x103c69)return _0x103c69;if(_0x57f485['broken'][_0x5a19b9(-_0x461593._0x4b9efd,_0x461593._0x58a22b,0x19b,-0x140)](_0x5e787e))return void 0x0;function _0x8214(_0x1cf4f6,_0x310e33,_0x4c29d2,_0x5ada83){return _0x9e2e86(_0x5ada83-_0x40091c._0x4694be,_0x1cf4f6,_0x4c29d2-_0x40091c._0x34cf6d,_0x5ada83-0x88);}function _0x5a19b9(_0x3f89f6,_0x2d3c39,_0x1819cc,_0xb4f08f){return _0x9e2e86(_0x2d3c39- -0x310,_0x3f89f6,_0x1819cc-_0x49a0eb._0x43adab,_0xb4f08f-_0x49a0eb._0x2ec080);}const _0x40c560=_0x57f485[_0x8214(0x5d7,0x546,_0x461593._0x11f4b0,0x496)][_0x8214(_0x461593._0x24a560,0x589,0x611,0x6ba)](_0x5e787e);if(_0x40c560)return _0x40c560;const _0x5d415a=((async()=>{const _0x17b3a1={_0x428453:0x64f},_0x2a5638={_0x2941c5:0x150};function _0x225eab(_0x5aa988,_0x112f07,_0xf12810,_0x132bce){return _0x8214(_0x132bce,_0x112f07-_0x2a5638._0x2941c5,_0xf12810-0xf0,_0x112f07- -0x261);}function _0x45c86c(_0x320db3,_0x400c40,_0x11a79c,_0x89111b){return _0x8214(_0x400c40,_0x400c40-0x87,_0x11a79c-0x199,_0x11a79c- -_0x17b3a1._0x428453);}try{const _0x20e50e=await _0x32577d[_0x225eab(0x4bf,_0x165bf9._0x8f3535,0x332,_0x165bf9._0x54d302)](_0x48352f);if(!_0x20e50e)return _0x57f485['broken'][_0x225eab(0x2e6,0x44f,0x386,0x488)](_0x5e787e),void 0x0;const _0x1b9f2a=await createLspClient({'server':_0x32577d,'root':_0x48352f,'handle':_0x20e50e}),_0x35a970=_0x57f485[_0x45c86c(-_0x165bf9._0x388ff8,_0x165bf9._0x230cee,-0x76,-_0x165bf9._0x3ee48a)][_0x225eab(0x279,_0x165bf9._0xbb1889,0x384,0x179)](_0x53fd58=>_0x53fd58[_0x45c86c(-0x40,-0xcd,0x32,0xfe)]===_0x32577d['id']&&_0x53fd58[_0x45c86c(0xd9,0xb6,-0x45,0x23)]===_0x48352f);if(_0x35a970)return await _0x1b9f2a[_0x225eab(0x3af,0x3a3,_0x165bf9._0x43e790,_0x165bf9._0x3db341)](),_0x35a970;return _0x57f485['clients']['push'](_0x1b9f2a),_0x1b9f2a;}catch{return _0x57f485[_0x225eab(0x20a,_0x165bf9._0x2c4c69,0x334,_0x165bf9._0x3edd44)][_0x225eab(0x55a,_0x165bf9._0x17eba4,_0x165bf9._0x29fd24,0x411)](_0x5e787e),void 0x0;}finally{_0x57f485[_0x45c86c(-0x29e,-0x13e,-0x1b9,-0x2ef)]['delete'](_0x5e787e);}})());return _0x57f485[_0x8214(_0x461593._0x5497bb,0x57f,_0x461593._0x17f50a,0x496)][_0x8214(_0x461593._0x168625,_0x461593._0x43918d,_0x461593._0x31a4f3,_0x461593._0xf96670)](_0x5e787e,_0x5d415a),_0x5d415a;}async function _0x49c9e5(_0x3c3aa7,_0x48ee45){const _0x27f506={_0x224cda:0x14},_0x553cf1={_0x3516e2:0x1e9,_0x11e990:0x78};function _0x10af10(_0x26a7ab,_0x262996,_0x1d0b46,_0x24a711){return _0x9e2e86(_0x1d0b46- -_0x553cf1._0x3516e2,_0x26a7ab,_0x1d0b46-_0x553cf1._0x11e990,_0x24a711-0x199);}if(!_0xfd503())return[];const _0x3435cc=[];for(const _0xa69d17 of getServersForFile(_0x3c3aa7)){const _0x49c9eb=await _0xa69d17['root'](_0x3c3aa7);if(!_0x49c9eb)continue;const _0x22fc7b=stateKey(_0xa69d17,_0x49c9eb);if(_0x57f485['broken']['has'](_0x22fc7b))continue;const _0x4ef1f9=_0x57f485['clients'][_0x212f48(_0x40c786._0x8fbe78,0x369,_0x40c786._0x363845,_0x40c786._0x36a55c)](_0x5e6fd9=>_0x5e6fd9['serverId']===_0xa69d17['id']&&_0x5e6fd9[_0x10af10(0x279,0x29b,0x1dc,0x267)]===_0x49c9eb);if(_0x4ef1f9){_0x3435cc['push'](_0x4ef1f9);continue;}if(!_0x48ee45)continue;const _0x5a4429=await _0x7b9a38(_0xa69d17,_0x49c9eb);if(_0x5a4429)_0x3435cc[_0x212f48(_0x40c786._0x1af7ee,0x419,_0x40c786._0x316bb9,0x3f3)](_0x5a4429);}function _0x212f48(_0x8232f5,_0x54f3b1,_0x3a9189,_0x594548){return _0x9e2e86(_0x54f3b1-0x108,_0x3a9189,_0x3a9189-0x41,_0x594548-_0x27f506._0x224cda);}return _0x3435cc;}async function _0x27a8fa(_0x569a46,_0x3995c7=![]){const _0x126a5d={_0x1c13f5:0x634,_0x304908:0x64f,_0x54dec7:0x41d,_0x3a9936:0x4c9,_0x15d563:0x6f0,_0x4f7b7f:0x498,_0x27541d:0x1a8},_0xa9a3eb={_0x44be25:0x368,_0x28a2b7:0x41};function _0x4bfd28(_0xe08eb1,_0x3ccded,_0x3c01aa,_0x22ee6e){return _0x9e2e86(_0x3ccded- -_0xa9a3eb._0x44be25,_0x22ee6e,_0x3c01aa-0x30,_0x22ee6e-_0xa9a3eb._0x28a2b7);}const _0x211729=await _0x49c9e5(_0x569a46,!![]);await Promise[_0x4bfd28(-0x1c3,-_0x4441d2._0x2a0e08,-_0x4441d2._0x39ff66,-_0x4441d2._0x3d4bee)](_0x211729['map'](async _0x274e4e=>{const _0x3aa27a={_0x3702b2:0x57b},_0x530002={_0xdf1f66:0x7b,_0x3d2fff:0x300,_0x2d2914:0x146};function _0x1eadf9(_0x93d67f,_0x1e7024,_0x168d97,_0x41a9d4){return _0x4bfd28(_0x93d67f-_0x530002._0xdf1f66,_0x1e7024-_0x530002._0x3d2fff,_0x168d97-_0x530002._0x2d2914,_0x168d97);}function _0x10c9b7(_0x496791,_0x99b3cc,_0x8b0009,_0x41a352){return _0x4bfd28(_0x496791-0x128,_0x99b3cc-_0x3aa27a._0x3702b2,_0x8b0009-0x1e6,_0x41a352);}!_0x57f485[_0x1eadf9(0x1fe,0x2fc,0x33e,0x421)]['has'](_0x274e4e[_0x10c9b7(_0x126a5d._0x1c13f5,_0x126a5d._0x304908,0x5b3,0x503)]+':'+_0x274e4e['root']+':'+_0x569a46)&&(await _0x274e4e['notify']['open']({'path':_0x569a46}),_0x57f485[_0x10c9b7(_0x126a5d._0x54dec7,0x577,0x6a3,_0x126a5d._0x3a9936)]['add'](_0x274e4e['serverId']+':'+_0x274e4e[_0x10c9b7(_0x126a5d._0x15d563,0x5d8,0x47a,_0x126a5d._0x4f7b7f)]+':'+_0x569a46));await _0x274e4e['notify'][_0x1eadf9(0x19,0x169,_0x126a5d._0x27541d,0x21c)]({'path':_0x569a46,'version':nextFileVersion(_0x57f485,_0x569a46)});if(_0x3995c7)await _0x274e4e['waitForDiagnostics']({'path':_0x569a46});}));}async function _0x33a257(_0x13fcda){await _0x27a8fa(_0x13fcda[_0xb633d6(_0x1bba2e._0x8c139b,0x118,_0x1bba2e._0x16727b,0x1a7)],![]);function _0xb633d6(_0x5e6a44,_0x1ac668,_0x2a592c,_0xd03a09){return _0x9e2e86(_0x1ac668- -0x31f,_0x2a592c,_0x2a592c-0xfb,_0xd03a09-0xc2);}return _0x49c9e5(_0x13fcda['file'],![]);}async function _0x135fed(_0x20b6c0){const _0x564574=await _0x33a257(_0x20b6c0);function _0x528678(_0x58835b,_0x536fcc,_0x39a7c9,_0x2a1ad9){return _0x9e2e86(_0x39a7c9- -0x3a7,_0x536fcc,_0x39a7c9-0xb6,_0x2a1ad9-0x6f);}return collectClientResults(_0x564574[_0x528678(-0x10e,-0x58,_0x453c79._0x2c02d6,-_0x453c79._0x2673ba)](_0x25f72a=>_0x25f72a['request']['prepareCallHierarchy'](_0x20b6c0)));}function _0x9e2e86(_0x22ce88,_0x2afb51,_0xf94ce3,_0x17ec0d){return _0x419223(_0x22ce88-_0x5718bd._0x10c2f6,_0x2afb51,_0x22ce88-0x256,_0x17ec0d-0x48);}return{'isEnabled':_0xfd503,async 'hasClients'(_0x2df29d){const _0x313616={_0x3a6aa2:0xd2,_0xd33224:0x154},_0x12f83f={_0x4dc665:0x92,_0x3947d7:0x60};function _0x15a603(_0x2d2192,_0x55e66b,_0x5db77d,_0x15b264){return _0x9e2e86(_0x2d2192- -_0x12f83f._0x4dc665,_0x15b264,_0x5db77d-0x165,_0x15b264-_0x12f83f._0x3947d7);}function _0x2fcb3b(_0x49da36,_0x1cd0bb,_0x16fa8a,_0x47bb19){return _0x9e2e86(_0x16fa8a-_0x313616._0x3a6aa2,_0x47bb19,_0x16fa8a-_0x313616._0xd33224,_0x47bb19-0x1f0);}return(await _0x49c9e5(_0x2df29d,![]))[_0x15a603(0x2cf,0x28d,_0x3b1062._0x5aad5d,_0x3b1062._0x4f6c09)]>0x0||getServersForFile(_0x2df29d)[_0x15a603(_0x3b1062._0x9fa731,_0x3b1062._0x17d912,0x286,_0x3b1062._0x54a536)]>0x0;},'touchFile':_0x27a8fa,async 'diagnostics'(){const _0x6dbcc3={};for(const _0x2b8287 of _0x57f485[_0x2309d1(0x6a1,_0x5f476b._0x5c5eae,0x556,_0x5f476b._0x52ddfa)]){for(const [_0x5d3add,_0xd7215f]of _0x2b8287[_0x2309d1(0x817,_0x5f476b._0x1a832f,_0x5f476b._0x54db8f,_0x5f476b._0x355813)]){_0x6dbcc3[diagnosticsKeyToPath(_0x5d3add)]=_0xd7215f;}}function _0x2309d1(_0x434044,_0x158b03,_0x1e5775,_0x253909){return _0x9e2e86(_0x253909-0x2a2,_0x158b03,_0x1e5775-_0x2a0986._0x32e774,_0x253909-0x5e);}function _0x1a7a4a(_0x329bd2,_0x12544f,_0x3b87e1,_0xc77a46){return _0x9e2e86(_0xc77a46-0x5,_0x329bd2,_0x3b87e1-0x18c,_0xc77a46-0x4);}return _0x6dbcc3;},async 'diagnosticsForFile'(_0x71fd28){await _0x27a8fa(_0x71fd28,!![]);function _0x5ec7b5(_0x1bf490,_0x4fc5d3,_0x23d8b1,_0x38a396){return _0x9e2e86(_0x4fc5d3- -0x160,_0x23d8b1,_0x23d8b1-0x1e4,_0x38a396-0xae);}const _0xdba128=[];function _0x4393c7(_0xe88308,_0x2ccc3f,_0x1dbb76,_0x587c9d){return _0x9e2e86(_0x2ccc3f-0x5,_0x1dbb76,_0x1dbb76-0x12a,_0x587c9d-_0x1d6469._0x50e39a);}for(const _0x18b774 of await _0x49c9e5(_0x71fd28,![])){for(const [_0x5b1786,_0x596e3c]of _0x18b774[_0x5ec7b5(_0x5d2f65._0x413baf,0x2c2,_0x5d2f65._0x440281,0x273)]){if(diagnosticsKeyToPath(_0x5b1786)===_0x71fd28)_0xdba128[_0x5ec7b5(0x293,_0x5d2f65._0x3ef985,_0x5d2f65._0x4a25e5,0x234)](..._0x596e3c);}}return _0xdba128;},async 'definition'(_0x2aa328){function _0x22be1c(_0x184740,_0x3b89c2,_0x49f00a,_0x4c7399){return _0x9e2e86(_0x4c7399-0x28c,_0x3b89c2,_0x49f00a-0xfd,_0x4c7399-0xaf);}return collectClientResults((await _0x33a257(_0x2aa328))[_0x22be1c(_0x25d622._0x557ee1,_0x25d622._0x1099d9,_0x25d622._0x467048,0x64c)](_0x27d70b=>_0x27d70b['request']['definition'](_0x2aa328)));},async 'references'(_0x5b2537){const _0x1be73e={_0x395dea:0x125};function _0x212d95(_0x17f021,_0x1856e1,_0x3fd128,_0x5d897a){return _0x9e2e86(_0x17f021- -_0x64160f._0x4fd0ac,_0x1856e1,_0x3fd128-0x13a,_0x5d897a-_0x64160f._0xd2a7ba);}function _0x4690fe(_0x1e71b0,_0xa2b750,_0x2e6318,_0x58974a){return _0x9e2e86(_0x58974a- -_0x1be73e._0x395dea,_0xa2b750,_0x2e6318-0x152,_0x58974a-0x107);}return collectClientResults((await _0x33a257(_0x5b2537))[_0x4690fe(_0x143e27._0x10c37f,_0x143e27._0x4a124d,_0x143e27._0x46c653,_0x143e27._0x2ee8d0)](_0x262d3e=>_0x262d3e[_0x4690fe(-0x3e,0x1e1,-0x64,0xd3)][_0x4690fe(0x183,0x21c,0x442,0x2f3)](_0x5b2537)));},async 'hover'(_0x1fc843){const _0x48e233={_0x19c48a:0x32},_0x4b9fe8={_0x21fd3a:0x15f};function _0x3d2a25(_0x582761,_0x59ad12,_0x40743d,_0x48c46d){return _0x9e2e86(_0x582761- -0x314,_0x59ad12,_0x40743d-0x8e,_0x48c46d-_0x4b9fe8._0x21fd3a);}function _0x15a302(_0x809584,_0x5d86f3,_0x68f5c6,_0x3d943){return _0x9e2e86(_0x3d943- -0x24c,_0x68f5c6,_0x68f5c6-0x79,_0x3d943-_0x48e233._0x19c48a);}const _0x2bc700=await Promise[_0x15a302(_0x4f731e._0x394a8b,_0x4f731e._0x4a1e86,_0x4f731e._0x3bc820,_0x4f731e._0x5878c4)]((await _0x33a257(_0x1fc843))[_0x3d2a25(_0x4f731e._0x1b149b,-0x3a,_0x4f731e._0x55170e,-0x77)](_0x5d1028=>_0x5d1028['request'][_0x15a302(0xc3,0xf3,0xe1,0x50)](_0x1fc843)));return _0x2bc700[_0x15a302(-0x9,-_0x4f731e._0x244157,-_0x4f731e._0xf73b1,0xd7)](_0x21a589=>_0x21a589['status']==='fulfilled'&&_0x21a589[_0x3d2a25(-0x8,0x1c,0x8e,0x58)]?[_0x21a589[_0x3d2a25(-0x8,-0x11a,0xfa,0x50)]]:[]);},async 'documentSymbol'(_0x2aacb2){const _0x110e64={_0x2b9eed:0x1fa};function _0x1f9161(_0x237e7a,_0x3633f1,_0x5f267b,_0x37b596){return _0x9e2e86(_0x3633f1- -_0x110e64._0x2b9eed,_0x237e7a,_0x5f267b-0x129,_0x37b596-0x52);}function _0x52fdd5(_0x2015d6,_0x346d97,_0x4ffeaa,_0x477b4a){return _0x9e2e86(_0x4ffeaa- -0x3e4,_0x2015d6,_0x4ffeaa-0x2f,_0x477b4a-_0x5a55fb._0x28b768);}return await _0x27a8fa(_0x2aacb2,![]),collectClientResults((await _0x49c9e5(_0x2aacb2,![]))[_0x1f9161(0xc1,_0x176e08._0x27724d,_0x176e08._0x1ab86f,_0x176e08._0x5f5ced)](_0x4f0d95=>_0x4f0d95['request'][_0x52fdd5(-0x1b2,-0x20b,-0x10e,-0xc)](_0x2aacb2)));},async 'workspaceSymbol'(_0xed2e67){function _0x307ff0(_0x226c81,_0x565f15,_0x59ab46,_0x26ebd5){return _0x9e2e86(_0x59ab46- -0x114,_0x26ebd5,_0x59ab46-_0x4c58c2._0x609e84,_0x26ebd5-0x15e);}function _0x25b896(_0x35f4a4,_0x570321,_0x5b5dea,_0x9c8899){return _0x9e2e86(_0x570321-0x188,_0x5b5dea,_0x5b5dea-_0x3346dd._0x92a02f,_0x9c8899-0x7b);}return collectClientResults(_0x57f485[_0x25b896(0x4e3,_0x581e9a._0x210981,_0x581e9a._0x2b4aec,_0x581e9a._0x2f7bdc)][_0x25b896(_0x581e9a._0x436a6b,_0x581e9a._0x4469ac,0x638,_0x581e9a._0x23de21)](_0x27e76c=>_0x27e76c['request'][_0x307ff0(-0x4b,0x67,0x12c,-0x9)](_0xed2e67)));},async 'implementation'(_0x438bfe){const _0x38da7d={_0x315d4c:0x7e,_0x3f8f88:0x16c};function _0x38bcda(_0x4967ae,_0x1c67a1,_0x551d8f,_0x32ffcc){return _0x9e2e86(_0x551d8f- -_0x38da7d._0x315d4c,_0x1c67a1,_0x551d8f-_0x38da7d._0x3f8f88,_0x32ffcc-0x103);}function _0x436418(_0x24fab3,_0x40546c,_0x1a0519,_0x233b3e){return _0x9e2e86(_0x233b3e- -_0x312d81._0x58ff1e,_0x24fab3,_0x1a0519-0x1b,_0x233b3e-0x1f4);}return collectClientResults((await _0x33a257(_0x438bfe))[_0x436418(0x211,_0x2bcc0d._0x4ebbae,0x27d,0x1f8)](_0x1b327e=>_0x1b327e[_0x38bcda(0x199,0x2f,0x17a,0x66)]['implementation'](_0x438bfe)));},async 'prepareCallHierarchy'(_0x2940c3){return _0x135fed(_0x2940c3);},async 'incomingCalls'(_0x494ad8){const _0x4fd862=await _0x135fed(_0x494ad8);function _0x475fc8(_0x1210c5,_0x8027fe,_0x325710,_0x22a81a){return _0x9e2e86(_0x325710-0xa3,_0x22a81a,_0x325710-_0x2dec63._0x4bda23,_0x22a81a-_0x2dec63._0x275a94);}const _0x4fa8cd=await _0x33a257(_0x494ad8);return collectClientResults(_0x4fa8cd['flatMap'](_0x4cbb72=>_0x4fd862['map'](_0x651ef1=>_0x4cbb72['request'][_0x475fc8(0x28a,0x3d8,0x310,0x1b7)](_0x651ef1))));},async 'outgoingCalls'(_0x237eb7){const _0x357409={_0x132053:0x1e4,_0x5ab83e:0x17e};function _0x37ce30(_0x138ddb,_0x3e9df4,_0x5d1ff9,_0x18aad1){return _0x9e2e86(_0x5d1ff9-_0x357409._0x132053,_0x3e9df4,_0x5d1ff9-_0x357409._0x5ab83e,_0x18aad1-0x119);}const _0x405234=await _0x135fed(_0x237eb7),_0x5cc2f2=await _0x33a257(_0x237eb7);return collectClientResults(_0x5cc2f2['flatMap'](_0x352816=>_0x405234['map'](_0x2997ff=>_0x352816[_0x37ce30(0x38f,0x349,0x3dc,0x4bf)]['outgoingCalls'](_0x2997ff))));},async 'shutdown'(){if(_0x57f485[_0xada368(0x4d1,_0x45862e._0x3ddc65,0x509,0x62e)])return;function _0xada368(_0x4a97bc,_0x53e9ac,_0x355df5,_0x4573de){return _0x9e2e86(_0x4a97bc-_0x2bce0c._0x485b1e,_0x53e9ac,_0x355df5-_0x2bce0c._0x2b6563,_0x4573de-0xdb);}_0x57f485['shutdownStarted']=!![];function _0x4d5769(_0x2f66bd,_0x41b108,_0x5969d0,_0x42432f){return _0x9e2e86(_0x42432f-0x9f,_0x5969d0,_0x5969d0-0x1f1,_0x42432f-_0x4c3f04._0x3a34af);}await Promise[_0xada368(_0x45862e._0x10773a,0x70e,_0x45862e._0x3feb14,_0x45862e._0x18a607)](_0x57f485['clients'][_0xada368(0x654,0x702,0x5d5,_0x45862e._0x483e0c)](_0x516f92=>_0x516f92['shutdown']())),_0x57f485[_0x4d5769(_0x45862e._0x290e5e,0x502,_0x45862e._0x5bdded,0x433)]=[],_0x57f485['spawning']['clear'](),_0x57f485[_0x4d5769(_0x45862e._0x5f1d60,_0x45862e._0x4abfb5,0x3a1,0x2cf)][_0x4d5769(_0x45862e._0x28802f,0x40f,_0x45862e._0xdfe06c,0x432)](),_0x57f485[_0xada368(0x4bf,_0x45862e._0x1da804,0x574,0x3aa)][_0xada368(_0x45862e._0x76cc0a,_0x45862e._0x3405ba,0x575,_0x45862e._0xeea54a)](),_0x57f485[_0x4d5769(_0x45862e._0x5bf6bc,0x467,_0x45862e._0x33429a,0x403)]['clear']();},'status'(){function _0x4150a0(_0x19a59d,_0x4d8737,_0xffaee6,_0xb5103b){return _0x9e2e86(_0xffaee6- -_0x17e2f0._0x12067c,_0xb5103b,_0xffaee6-_0x17e2f0._0xc6cfbb,_0xb5103b-_0x17e2f0._0x17e8a8);}return{'connectedClients':_0x57f485[_0x4150a0(-_0x392742._0x2dc00f,0x42,-0x19,_0x392742._0x4205b8)]['length']};}};}function createQuestionId(){const _0x42d2ca={_0x29317f:0x2bf,_0x19331f:0x218,_0x436ef8:0x4a0,_0x54ab2d:0x32d,_0x34990c:0x48f,_0x479cbc:0x469,_0x24c154:0x67c,_0x5d6428:0x2f8};function _0x2206ad(_0x47d65a,_0x29af79,_0xb050e6,_0x5c441e){return _0x419223(_0x47d65a-0x1a,_0xb050e6,_0x47d65a-0x4eb,_0x5c441e-0xfe);}function _0x374207(_0x17183f,_0x53338f,_0x1aa1d0,_0x3ab97f){return _0x419223(_0x17183f-0x19f,_0x3ab97f,_0x53338f-0x2e0,_0x3ab97f-0x10d);}return _0x374207(0x2d5,_0x42d2ca._0x29317f,0x42c,_0x42d2ca._0x19331f)+Date[_0x374207(_0x42d2ca._0x436ef8,_0x42d2ca._0x54ab2d,0x1df,_0x42d2ca._0x34990c)]()+'-'+Math[_0x2206ad(0x565,_0x42d2ca._0x479cbc,_0x42d2ca._0x24c154,0x6bd)]()[_0x374207(0x3aa,0x2d7,_0x42d2ca._0x5d6428,0x2b7)](0x24)['slice'](0x2,0x9);}function validateInput(_0x34c172){const _0x571f14={_0x94f8cc:0x575,_0x5d7d52:0x78,_0xbda964:0x24e,_0x581379:0x127,_0x35ceb8:0x62b,_0x649d97:0x57f,_0x3b5c2c:0x5d2,_0xb02c58:0x580,_0x44d049:0x42c,_0x3e2520:0x465,_0x4aaac5:0x1ab,_0x3feb33:0x154,_0x3407ef:0x174,_0x32daa7:0x188,_0x4cdf27:0x5db,_0x57cb8b:0x3ee,_0x5f0a28:0x738,_0x9cc975:0x5f7,_0x2ec9e7:0x13d,_0x2a3a80:0x29c,_0x1648d2:0x602,_0x125d22:0x4e7,_0xfe42f1:0x535,_0x3d803b:0x71,_0x5b14dc:0xc3,_0x4e695d:0xe5,_0xc22ae9:0xdc,_0x28183b:0x568,_0x5539fc:0x281,_0x25e737:0x13d,_0x223981:0x17f,_0x7977c9:0x5b2,_0x532b66:0x596,_0x2b9477:0x35d,_0x5f248a:0x457,_0x39f7b6:0x491,_0x42cdac:0xb9,_0x1975f9:0x568,_0x49ef2a:0x55e,_0x52b146:0x1ec,_0x38190f:0x19f,_0x1de65c:0x78,_0x44bbb4:0x251,_0x420510:0x2d,_0x5e1a12:0x219,_0x3398ef:0x2bb,_0x187cc5:0x178,_0x2860e0:0x28,_0x5dd202:0x2f,_0x1a21dd:0x222,_0x3c820a:0x94,_0x5ae5f4:0xaf,_0x52a22a:0x7,_0x13dd15:0x625,_0x252b53:0x58a,_0x327ef4:0x523,_0x555e21:0x59d,_0x1eb3d5:0x453,_0x239199:0x539,_0x2ff53b:0x54c,_0xad07c0:0x576,_0x5e7b77:0x57a,_0x1946c7:0x239},_0x2b2d45={_0x5abf49:0xe1};function _0x2a17a0(_0x3f6ea6,_0x48b1c2,_0x2d28b9,_0x4cf718){return _0x419223(_0x3f6ea6-0x41,_0x2d28b9,_0x48b1c2-_0x2b2d45._0x5abf49,_0x4cf718-0xc4);}function _0xa11b35(_0x5d96a9,_0x5188ac,_0xd6c1b7,_0x4123e3){return _0x419223(_0x5d96a9-0x2b,_0x5188ac,_0x4123e3-0x4c7,_0x4123e3-0x1f);}if(!Array[_0xa11b35(0x618,0x40a,0x54c,_0x571f14._0x94f8cc)](_0x34c172[_0x2a17a0(_0x571f14._0x5d7d52,0x154,_0x571f14._0xbda964,_0x571f14._0x581379)])||_0x34c172['questions'][_0xa11b35(_0x571f14._0x35ceb8,0x5fe,_0x571f14._0x649d97,_0x571f14._0x3b5c2c)]<0x1||_0x34c172[_0xa11b35(0x3fb,_0x571f14._0xb02c58,_0x571f14._0x44d049,0x53a)]['length']>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':_0x2a17a0(_0x571f14._0x3e2520,0x2f2,0x3a9,0x455)});for(let _0x7107ea=0x0;_0x7107ea<_0x34c172['questions']['length'];_0x7107ea+=0x1){const _0x263503=_0x34c172[_0x2a17a0(_0x571f14._0x4aaac5,_0x571f14._0x3feb33,_0x571f14._0x3407ef,_0x571f14._0x32daa7)][_0x7107ea];if(!_0x263503[_0xa11b35(0x4f7,0x5c2,_0x571f14._0x4cdf27,0x664)]||typeof _0x263503[_0x2a17a0(0x125,0x27e,_0x571f14._0x57cb8b,0x39d)]!==_0xa11b35(0x6c9,0x64b,_0x571f14._0x5f0a28,_0x571f14._0x9cc975))throw new ToolExecutionError(_0x2a17a0(0x29b,_0x571f14._0x2ec9e7,_0x571f14._0x2a3a80,0x1be)+(_0x7107ea+0x1)+_0xa11b35(0x45d,_0x571f14._0x1648d2,0x67d,0x5a2));if(!_0x263503[_0xa11b35(_0x571f14._0x125d22,_0x571f14._0xfe42f1,0x506,0x457)]||typeof _0x263503[_0x2a17a0(-0x7d,_0x571f14._0x3d803b,-_0x571f14._0x5b14dc,_0x571f14._0x4e695d)]!=='string')throw new ToolExecutionError(_0x2a17a0(0x4d,0x13d,_0x571f14._0xc22ae9,0x14f)+(_0x7107ea+0x1)+_0xa11b35(0x737,_0x571f14._0x28183b,0x76e,0x612));if(_0x263503['topic'][_0x2a17a0(0x11a,0x1ec,0xb7,_0x571f14._0x5539fc)]>0x1e)throw new ToolExecutionError(_0x2a17a0(0x216,_0x571f14._0x25e737,_0x571f14._0x223981,0x2b7)+(_0x7107ea+0x1)+_0xa11b35(_0x571f14._0x7977c9,0x5e4,_0x571f14._0x532b66,0x69d)+_0x263503[_0xa11b35(0x3bc,_0x571f14._0x2b9477,0x370,_0x571f14._0x5f248a)]['length']);if(!Array[_0xa11b35(0x685,0x6b3,0x51e,_0x571f14._0x94f8cc)](_0x263503[_0xa11b35(0x3f2,0x4a3,_0x571f14._0x39f7b6,0x55e)])||_0x263503[_0x2a17a0(0x123,0x178,0x1bc,_0x571f14._0x42cdac)]['length']<0x2||_0x263503[_0xa11b35(_0x571f14._0x1975f9,0x4d7,0x5e9,_0x571f14._0x49ef2a)][_0x2a17a0(0x168,_0x571f14._0x52b146,_0x571f14._0x38190f,0x362)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x7107ea+0x1)+_0x2a17a0(_0x571f14._0x1de65c,0x119,0x194,_0x571f14._0x44bbb4));for(let _0x3dcda5=0x0;_0x3dcda5<_0x263503[_0x2a17a0(_0x571f14._0x420510,0x178,0x113,_0x571f14._0x5e1a12)][_0x2a17a0(0x319,0x1ec,0x1a9,_0x571f14._0x3398ef)];_0x3dcda5+=0x1){const _0x5ebed5=_0x263503[_0x2a17a0(0x8c,_0x571f14._0x187cc5,_0x571f14._0x2860e0,_0x571f14._0x5dd202)][_0x3dcda5];if(!_0x5ebed5[_0x2a17a0(0x192,0x202,0x2d7,_0x571f14._0x1a21dd)]||!_0x5ebed5[_0x2a17a0(-_0x571f14._0x3c820a,_0x571f14._0x5ae5f4,-_0x571f14._0x52a22a,_0x571f14._0x3feb33)])throw new ToolExecutionError(_0xa11b35(_0x571f14._0x13dd15,_0x571f14._0x252b53,0x462,_0x571f14._0x327ef4)+(_0x7107ea+0x1)+_0xa11b35(_0x571f14._0x555e21,0x4f3,_0x571f14._0x1eb3d5,_0x571f14._0x239199)+(_0x3dcda5+0x1)+':\x20both\x20\x22label\x22\x20and\x20\x22description\x22\x20are\x20required');}if(typeof _0x263503[_0xa11b35(_0x571f14._0x2ff53b,_0x571f14._0xad07c0,0x478,_0x571f14._0x5e7b77)]!=='boolean')throw new ToolExecutionError(_0x2a17a0(0x29b,_0x571f14._0x25e737,0x12f,0x5e)+(_0x7107ea+0x1)+_0x2a17a0(0x2fa,0x286,_0x571f14._0x1946c7,0x184));}}function buildQuestions(_0x5b33f7){const _0x380229={_0x517f36:0x16b,_0x19bcc8:0x6ed},_0x45016f={_0x31d976:0x5e,_0x37ac7d:0x583},_0x26d356={_0x140103:0x1d6,_0x3e9cbb:0x1c0};function _0x3aaea(_0x5a5187,_0x11b136,_0x3c768e,_0x21dd4f){return _0x283a7f(_0x5a5187-_0x26d356._0x140103,_0x21dd4f- -_0x26d356._0x3e9cbb,_0x3c768e-0x11d,_0x3c768e);}function _0x172587(_0x5ae7f2,_0x330712,_0xb34119,_0x3393e9){return _0x419223(_0x5ae7f2-_0x45016f._0x31d976,_0x330712,_0xb34119-_0x45016f._0x37ac7d,_0x3393e9-0x66);}return _0x5b33f7[_0x3aaea(-_0x380229._0x517f36,0x98,-0x12c,-0x85)][_0x172587(0x592,0x71e,_0x380229._0x19bcc8,0x654)]((_0x28e2ba,_0x5d9dc9)=>({'id':'q'+_0x5d9dc9,'question':_0x28e2ba[_0x3aaea(0x1d7,0xff,0x64,0xa5)],'topic':_0x28e2ba[_0x3aaea(-0x281,-0x10c,-0x28e,-0x168)],'options':_0x28e2ba[_0x172587(0x4dd,0x60c,0x61a,0x70b)],'multiSelect':_0x28e2ba[_0x3aaea(-0x6d,-0x1b5,-0x161,-0x45)]}));}function createResult(_0x45213f,_0x433a18,_0x5da698){const _0x1b2fdd={_0x3e180d:0x3a4,_0x2c52d7:0x40d,_0x3f9bf7:0x34a},_0x1d4cf5={_0x2252b9:0x12f,_0x298c66:0x44b},_0x45e274={_0x1ab62a:0xdb,_0x2bf371:0x17d};function _0x433812(_0x393114,_0x5ddb6f,_0x2ba8f6,_0x1f0805){return _0x419223(_0x393114-_0x45e274._0x1ab62a,_0x393114,_0x5ddb6f-0x3ca,_0x1f0805-_0x45e274._0x2bf371);}const _0x52d86f={'questionId':_0x45213f,'questionCount':_0x433a18,'answers':_0x5da698};function _0x21c37a(_0x290afa,_0x4ffda8,_0x22af18,_0x340b05){return _0x419223(_0x290afa-_0x1d4cf5._0x2252b9,_0x22af18,_0x290afa-_0x1d4cf5._0x298c66,_0x340b05-0x28);}return createToolOutput(_0x21c37a(0x42e,0x4df,_0x1b2fdd._0x3e180d,0x322)+JSON[_0x21c37a(_0x1b2fdd._0x2c52d7,0x2c7,0x361,_0x1b2fdd._0x3f9bf7)](_0x5da698,null,0x2),_0x52d86f);}function createAskUserTool(){const _0x15adf1={_0x4ead56:0x497,_0x24860e:0x3a9,_0x4bd81b:0x2b1,_0x56c20f:0x1d0,_0x395432:0x33a,_0x31af26:0x2db,_0x597e6b:0x226,_0x3d3941:0x1a9,_0x2c4c98:0x198,_0x42bb7e:0xa0,_0x5090b5:0x33a,_0x2b680b:0x280,_0x33b1b8:0x24e,_0x53a75e:0x26c,_0x3bb496:0x32b,_0x3e0634:0x12e,_0x2b64d6:0x1d8,_0x356a60:0x119,_0x447b8f:0x2d3,_0x542ea0:0x3b0,_0xf036da:0x285,_0x30c131:0x19a,_0x59c37c:0xa9,_0x143bfe:0x73,_0x37bd13:0xff,_0x4a8eed:0x123,_0x505d73:0x10e},_0x3bd9b6={_0x2a6df7:0x3c5,_0x2a5fe2:0x36d,_0x3c74b7:0x411,_0x1e2d9b:0x571,_0x3b8498:0x3c8,_0xb6d29b:0x448,_0x1b5e44:0x787,_0x7e04bf:0x851,_0x569cc8:0x1ef,_0x1b927d:0x169,_0xa2a8b2:0x284,_0x32d552:0x566,_0x38d80c:0x3e1,_0x3133eb:0x219},_0x1ce3c7={_0x58bd47:0x394},_0x32ea27={_0x40639e:0x1e0},_0x531eca={_0x4e681d:0xae,_0x3bb24f:0x110};function _0x26c031(_0x158893,_0x43cb49,_0x33b724,_0x46fa79){return _0x283a7f(_0x158893-_0x531eca._0x4e681d,_0x33b724-0x142,_0x33b724-_0x531eca._0x3bb24f,_0x43cb49);}function _0x330510(_0x431070,_0x168ee4,_0x527058,_0x164470){return _0x283a7f(_0x431070-0x59,_0x527058- -0x60,_0x527058-_0x32ea27._0x40639e,_0x168ee4);}return defineTool({'name':_0x26c031(0x3ac,0x553,0x3fd,_0x15adf1._0x4ead56),'description':_0x330510(0x134,0x21,0x181,0x82),'inputSchema':{'type':'object','properties':{'questions':{'type':_0x26c031(0x366,_0x15adf1._0x24860e,0x3c8,0x4b9),'items':{'type':_0x26c031(0x3f2,0x301,_0x15adf1._0x4bd81b,0x2ae),'properties':{'question':{'type':_0x26c031(0x4a8,_0x15adf1._0x56c20f,_0x15adf1._0x395432,0x296)},'topic':{'type':_0x26c031(0x332,_0x15adf1._0x31af26,_0x15adf1._0x395432,0x4aa)},'options':{'type':_0x330510(0x258,0x26c,_0x15adf1._0x597e6b,0x182),'items':{'type':'object','properties':{'label':{'type':_0x330510(_0x15adf1._0x3d3941,0x2b7,_0x15adf1._0x2c4c98,_0x15adf1._0x42bb7e)},'description':{'type':_0x26c031(0x2da,0x2e8,_0x15adf1._0x5090b5,_0x15adf1._0x2b680b)}},'required':[_0x26c031(_0x15adf1._0x33b1b8,_0x15adf1._0x53a75e,_0x15adf1._0x3bb496,0x2f2),_0x26c031(0x80,_0x15adf1._0x3e0634,_0x15adf1._0x2b64d6,_0x15adf1._0x356a60)]}},'multiSelect':{'type':_0x26c031(0x109,0x353,0x1dd,0x11b)}},'required':[_0x26c031(0x2c6,_0x15adf1._0x447b8f,0x3a7,_0x15adf1._0x542ea0),_0x26c031(_0x15adf1._0xf036da,0xd8,_0x15adf1._0x30c131,_0x15adf1._0x59c37c),_0x330510(-_0x15adf1._0x143bfe,-0x5b,_0x15adf1._0x37bd13,_0x15adf1._0x4a8eed),'multiSelect']}},'answers':{'type':'object','properties':{}}},'required':[_0x26c031(_0x15adf1._0x505d73,0x1a2,0x27d,0x1a5)]},async *'execute'(_0x589942,_0x4127bf){const _0x2a76dc={_0x1f1b66:0x1a0};function _0x7c7243(_0x1aac48,_0x141001,_0xc6ef48,_0x41caff){return _0x330510(_0x1aac48-_0x2a76dc._0x1f1b66,_0x1aac48,_0x41caff-0x1a9,_0x41caff-0x184);}function _0x4d4cc7(_0x59a848,_0x2d3cbc,_0x3c200d,_0x5e3d4e){return _0x26c031(_0x59a848-0x89,_0x3c200d,_0x59a848-_0x1ce3c7._0x58bd47,_0x5e3d4e-0xbf);}const _0x74ba60=_0x589942;validateInput(_0x74ba60);const _0x5dc93c=_0x4127bf[_0x7c7243(_0x3bd9b6._0x2a6df7,0x2dc,_0x3bd9b6._0x2a5fe2,_0x3bd9b6._0x3c74b7)]??createQuestionId();if(_0x74ba60[_0x7c7243(_0x3bd9b6._0x1e2d9b,0x3d6,_0x3bd9b6._0x3b8498,0x3fa)]&&Object[_0x4d4cc7(0x4f0,0x5cf,0x57f,_0x3bd9b6._0xb6d29b)](_0x74ba60[_0x4d4cc7(_0x3bd9b6._0x1b5e44,0x81f,_0x3bd9b6._0x7e04bf,0x65b)])['length']>0x0)return createResult(_0x5dc93c,_0x74ba60[_0x7c7243(_0x3bd9b6._0x569cc8,0x1ce,_0x3bd9b6._0x1b927d,_0x3bd9b6._0xa2a8b2)][_0x4d4cc7(0x6a9,0x713,0x819,0x7ba)],_0x74ba60[_0x7c7243(0x4cd,_0x3bd9b6._0x32d552,_0x3bd9b6._0x38d80c,0x3fa)]);if(!_0x4127bf['askUser'])throw new ToolExecutionError(_0x7c7243(0x23a,_0x3bd9b6._0x3133eb,0x2cc,0x21d));const _0x1fb93b=buildQuestions(_0x74ba60),_0x5deec8=await _0x4127bf['askUser']({'questionId':_0x5dc93c,'questions':_0x1fb93b});yield createResult(_0x5dc93c,_0x74ba60['questions']['length'],_0x5deec8);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x3f615a}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x543317){return _0x543317 instanceof Error;}function resolveCarriageReturns(_0x20387f){const _0x127ee8={_0x548a00:0x6c,_0x1287e5:0x7,_0x43af80:0x6c5,_0x3ec007:0x92},_0x3a7058={_0x2d9416:0x344,_0x597c8b:0x32f,_0x4d366f:0x284,_0x416b09:0x336},_0x177eee={_0x59829c:0x19a},_0x340eec={_0x59f39e:0x162},_0x4b332f={_0xd55538:0xfd},_0x40d915={_0x187ba6:0x493,_0x148acb:0x15c};function _0x4e91c1(_0x2a265e,_0x361fa3,_0x28cc53,_0x12586a){return _0x283a7f(_0x2a265e-0x2d,_0x361fa3-_0x40d915._0x187ba6,_0x28cc53-_0x40d915._0x148acb,_0x12586a);}function _0x296f7a(_0x34ad12,_0x661447,_0x3347cf,_0x3fc82e){return _0x419223(_0x34ad12-0x162,_0x3347cf,_0x3fc82e- -_0x4b332f._0xd55538,_0x3fc82e-0x16d);}return _0x20387f[_0x296f7a(0x46,-_0x127ee8._0x548a00,-0x94,_0x127ee8._0x1287e5)]('\x0a')[_0x4e91c1(0x71c,_0x127ee8._0x43af80,0x7f2,0x75d)](_0x4a4240=>{if(!_0x4a4240['includes']('\x0d'))return _0x4a4240;function _0x59bc10(_0x180e2a,_0x1ce7bc,_0x24612a,_0x4cd765){return _0x296f7a(_0x180e2a-0xa2,_0x1ce7bc-_0x340eec._0x59f39e,_0x180e2a,_0x24612a-0x411);}const _0x4b0f6d=_0x4a4240[_0x289b33(0x1d2,_0x3a7058._0x2d9416,0x3b5,_0x3a7058._0x597c8b)]('\x0d');function _0x289b33(_0x164c27,_0x158857,_0x53280e,_0x2f57ab){return _0x4e91c1(_0x164c27-_0x177eee._0x59829c,_0x2f57ab- -0x330,_0x53280e-0x177,_0x164c27);}return _0x4b0f6d[_0x4b0f6d[_0x289b33(0x29d,0x2d9,_0x3a7058._0x4d366f,_0x3a7058._0x416b09)]-0x1]??'';})[_0x296f7a(0x5d,-_0x127ee8._0x3ec007,-0x151,-0xb5)]('\x0a');}function resolveBackspaces(_0x3462f2){const _0x5d79d4={_0x18b79:0x27b,_0x5dc60b:0x1af,_0x3ec54e:0x19d,_0x5ade59:0x1f5,_0x1dd23f:0xf0,_0x1721f7:0x3e7,_0x3e931e:0x284},_0xb1a8f1={_0x552455:0x1bb},_0x4d64cf={_0x60ec2b:0x146},_0x40f2fe=[];function _0x1617e4(_0x4cdf19,_0x2ecf53,_0x4cf090,_0x5b701e){return _0x283a7f(_0x4cdf19-0x17,_0x4cf090- -_0x4d64cf._0x60ec2b,_0x4cf090-0x98,_0x2ecf53);}function _0xf2f3e3(_0x5bcbef,_0x5aca06,_0x56971e,_0x34a9b4){return _0x283a7f(_0x5bcbef-0x1b2,_0x5aca06-0x1dd,_0x56971e-_0xb1a8f1._0x552455,_0x34a9b4);}for(const _0x3e76ad of Array[_0x1617e4(_0x5d79d4._0x18b79,_0x5d79d4._0x5dc60b,_0x5d79d4._0x3ec54e,_0x5d79d4._0x5ade59)](_0x3462f2)){_0x3e76ad==='\x08'?_0x40f2fe[_0x1617e4(0x20,0x157,0x136,_0x5d79d4._0x1dd23f)]():_0x40f2fe['push'](_0x3e76ad);}return _0x40f2fe[_0xf2f3e3(_0x5d79d4._0x1721f7,0x2ed,0x38d,_0x5d79d4._0x3e931e)]('');}function stripAnsiAndControls(_0x32698b){const _0xfb930e={_0x231998:0x312,_0x48f8b5:0x3b3,_0x5701be:0x499,_0xe73681:0x47c,_0xa7df2c:0x5a8,_0x792a5:0x791,_0x331e2c:0x531,_0x2cea85:0x2ba,_0x5b372f:0x493,_0x538e36:0x277,_0x58600c:0x472,_0xb5f4c7:0x3e5,_0x1014d8:0x505,_0x547385:0x2a5,_0x10585e:0x640},_0x386acb={_0x19ee81:0x4a0},_0x466e0c={_0x10ef6d:0x70,_0x2bee46:0x425};_0x32698b=resolveCarriageReturns(_0x32698b),_0x32698b=resolveBackspaces(_0x32698b),_0x32698b=stripVTControlCharacters(_0x32698b);const _0x54fd40='\x1b';function _0x48e117(_0x20fee2,_0x94c56d,_0x14f3c9,_0x3a0c58){return _0x419223(_0x20fee2-_0x466e0c._0x10ef6d,_0x94c56d,_0x14f3c9-_0x466e0c._0x2bee46,_0x3a0c58-0xb2);}const _0x1d2f3a='\x07';_0x32698b=_0x32698b['replace'](new RegExp(_0x48e117(_0xfb930e._0x231998,0x37a,0x463,0x4b8)+_0x1d2f3a+'\x5cn]*?'+_0x1d2f3a,'g'),''),_0x32698b=_0x32698b[_0x48e117(_0xfb930e._0x48f8b5,_0xfb930e._0x5701be,0x3c5,_0xfb930e._0xe73681)](new RegExp(_0x1518f6(_0xfb930e._0xa7df2c,_0xfb930e._0x792a5,0x6b4,0x617)+_0x54fd40+'\x5c\x5c','g'),''),_0x32698b=_0x32698b[_0x48e117(_0xfb930e._0x331e2c,0x377,0x3c5,_0xfb930e._0x2cea85)](new RegExp(_0x1d2f3a,'g'),''),_0x32698b=_0x32698b[_0x48e117(_0xfb930e._0x5b372f,0x2cb,0x3c5,_0xfb930e._0x538e36)](new RegExp(_0x54fd40+_0x1518f6(0x3b8,_0xfb930e._0x58600c,_0xfb930e._0xb5f4c7,_0xfb930e._0x1014d8)+_0x54fd40+'\x5c\x5c','g'),'');function _0x1518f6(_0x282474,_0x202592,_0x1d11a3,_0xc18613){return _0x283a7f(_0x282474-0xbd,_0xc18613-_0x386acb._0x19ee81,_0x1d11a3-0x150,_0x282474);}return _0x32698b=_0x32698b[_0x48e117(0x39e,0x3fc,0x3c5,0x368)](new RegExp(_0x54fd40+'[=>7-8()]','g'),''),_0x32698b=_0x32698b[_0x48e117(0x258,0x2d1,0x3c5,_0xfb930e._0x547385)](/[\u0080-\u009F]/g,''),_0x32698b=_0x32698b[_0x1518f6(0x681,_0xfb930e._0x10585e,0x57f,0x508)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x32698b=_0x32698b['replace'](/[\u23CE\u2424]/g,''),_0x32698b;}function killProcessGroup(_0x855cb3,_0x3ec981,_0x582fac=_0x419223(0xc2,0x356,0x225,0x189)){const _0x1fcf63={_0x25f9fb:0x3ef,_0x97a6cd:0x32f,_0x546e0d:0x2f5,_0x232744:0x469,_0x174e6e:0x26d,_0x154ee0:0x372,_0x27b991:0x452,_0x5ce750:0x39b,_0xe076eb:0x32a,_0x57e595:0x2cc,_0x44d69f:0x3dd,_0x239d48:0x36d,_0x450892:0x35e},_0x557dd1={_0x21c055:0xc6,_0x3993be:0xd};function _0x1f481b(_0x13769b,_0x43effe,_0x38104d,_0x26134f){return _0x419223(_0x13769b-_0x557dd1._0x21c055,_0x38104d,_0x43effe-0x3d3,_0x26134f-_0x557dd1._0x3993be);}if(!_0x855cb3[_0x1f481b(0x598,0x4b7,0x60b,0x5f8)])return;if(_0x3ec981)try{_0x3f615a(_0x1f481b(0x49e,0x3fc,0x35e,_0x1fcf63._0x25f9fb),[_0x2c51ec(0x314,_0x1fcf63._0x97a6cd,_0x1fcf63._0x546e0d,_0x1fcf63._0x232744),_0x855cb3['pid'][_0x2c51ec(_0x1fcf63._0x174e6e,_0x1fcf63._0x154ee0,0x4d1,0x20d)](),'/T','/F'],{'stdio':_0x1f481b(0x5dc,0x602,0x5e4,0x654)});return;}catch{_0x855cb3[_0x1f481b(_0x1fcf63._0x27b991,0x324,_0x1fcf63._0x5ce750,_0x1fcf63._0xe076eb)](_0x582fac);return;}function _0x2c51ec(_0x37f560,_0x22aad5,_0x4e6279,_0x3ba4ac){return _0x283a7f(_0x37f560-0x58,_0x22aad5-0x2b3,_0x4e6279-0xba,_0x3ba4ac);}try{process[_0x2c51ec(0x2e3,_0x1fcf63._0x57e595,0x221,_0x1fcf63._0x44d69f)](-_0x855cb3['pid'],_0x582fac);}catch{_0x855cb3[_0x2c51ec(_0x1fcf63._0x239d48,_0x1fcf63._0x57e595,0x2a7,_0x1fcf63._0x450892)](_0x582fac);}}var BackgroundProcessRegistry=class{[_0x419223(0x170,0x214,0x1dc,0xa9)]=new Map();[_0x419223(0xfb,-0x100,0x3d,0x1af)];[_0x419223(0x1e4,0x175,0x8a,-0x53)];['capChars'];[_0x419223(0x2d2,0x313,0x1d7,0x2b4)]=0x0;constructor(_0x1d0c67={}){const _0x55d63c={_0x50fce7:0x4e0,_0x40ad48:0x399,_0x54a1f4:0x4f1,_0x5ef284:0x21e,_0x19dec1:0x397,_0x19c731:0x1af},_0x497725={_0x235d05:0x100,_0x547a41:0x20},_0x5dff21={_0x569506:0x4,_0x585679:0x56};this[_0x419be9(0x4c6,_0x55d63c._0x50fce7,_0x55d63c._0x40ad48,_0x55d63c._0x54a1f4)]=_0x1d0c67['maxConcurrent']??0xa;function _0x419be9(_0x450004,_0x2cb391,_0x10c082,_0x3a6f34){return _0x419223(_0x450004-_0x5dff21._0x569506,_0x2cb391,_0x3a6f34-0x4b4,_0x3a6f34-_0x5dff21._0x585679);}function _0x36b6db(_0xdce97b,_0xcfed54,_0xd04aed,_0xc8bdab){return _0x419223(_0xdce97b-_0x497725._0x235d05,_0xdce97b,_0xc8bdab-0x291,_0xc8bdab-_0x497725._0x547a41);}this[_0x36b6db(_0x55d63c._0x5ef284,_0x55d63c._0x19dec1,_0x55d63c._0x19c731,0x31b)]=_0x1d0c67['maxEntries']??0x40,this['capChars']=_0x1d0c67['capChars']??0x100000;}['spawn'](_0x35ea5c){const _0x53a6aa={_0x333174:0x475,_0x47682d:0x4bf,_0x3e690e:0x35c,_0x1a1a3e:0x2e1,_0x1128b8:0x3a7,_0x55c03d:0x35f,_0x4856bb:0x3d8,_0x3b56f1:0x476,_0xdb2d0b:0x21a,_0x3922a0:0x2d2,_0x50b59a:0x4af,_0x3e0713:0x510,_0x48b64b:0x466,_0x4e354a:0x220,_0xd68e1c:0x2c9,_0xb3ebcd:0x321,_0x50c7b1:0x337,_0x54acfe:0x40c,_0x1afdce:0x3b1,_0x1c8498:0x296,_0x48c72f:0x512,_0x54a901:0x5e8,_0x5ce67e:0x413,_0x93e67f:0x3c9,_0x5f592e:0x475,_0x27da21:0x3d5,_0x38a473:0x380,_0x3d722d:0x2b2,_0xcacde3:0x3a9,_0x501c77:0x50e,_0x46a3b1:0x4ef,_0x52d918:0x3fe,_0x18a50a:0x487,_0x4c5019:0x41c,_0x516251:0x370,_0x59e0e2:0x1fe,_0x4d61ea:0x3ff,_0x1ff900:0x501,_0x50d624:0x51b,_0x44b4da:0x497,_0x3051fc:0x25e,_0x6b4953:0x2fb,_0x1e8650:0x438,_0x55aa7b:0x3e6,_0x306872:0x1e1,_0x57e552:0x4de,_0x355043:0x3f2,_0x424459:0x255,_0x344040:0x25c},_0x2302af={_0x1ff09e:0x37f,_0x2e14e6:0x1bd,_0x55b68e:0x2fb,_0x3c2806:0x1fb,_0x42602c:0x26f,_0x28b67e:0x169},_0x3c6f6f={_0x9a5191:0x184,_0x5a64ab:0x89},_0x2b0127={_0x5461fe:0x176,_0x21188c:0x7,_0x3008c8:0xde,_0x39f21f:0x1b4,_0x6107fe:0x54,_0x4fb0ef:0x40,_0x291009:0x28d,_0x4b06ed:0x1f9,_0x4c3a66:0x1db,_0x3a6883:0xb8,_0x3c53e6:0x9d,_0x107f9e:0xa2,_0x4d26dd:0x10e,_0x3598a1:0x94,_0x2fb0b3:0x163,_0x21cca1:0x4a,_0xbf21d0:0x52,_0x1dc8a9:0x11d,_0x4c4985:0xb,_0x4a0437:0x6d,_0x14e196:0x324,_0x5a5137:0x1ed,_0x3df90f:0x30b,_0x1f775e:0x1e8,_0x3d8559:0x1c7,_0x57b5e4:0x22d,_0x2a0d82:0x166,_0x3e2c50:0xd0},_0x2bbc60={_0x4199c3:0x74,_0x3ea764:0x29e},_0x4770fb={_0x331513:0x12e},_0x27640d={_0x10c030:0x72,_0xce06e6:0x14b,_0xc87421:0x2c1},_0x210e71={_0x28bca6:0x2fe,_0x5d17b6:0x1e3},_0x4b1d34=[...this[_0x23026b(0x440,_0x53a6aa._0x333174,0x4a9,0x51a)][_0x528764(_0x53a6aa._0x47682d,0x20a,_0x53a6aa._0x3e690e,0x35f)]()][_0x23026b(0x255,0x300,_0x53a6aa._0x1a1a3e,_0x53a6aa._0x1128b8)](_0x3961cc=>_0x3961cc[_0x23026b(0x1df,0x1b5,0x223,0x35b)]==='running')[_0x23026b(0x31f,_0x53a6aa._0x55c03d,_0x53a6aa._0x4856bb,0x2de)];if(_0x4b1d34>=this[_0x23026b(0x3ea,0x2df,0x30a,0x3eb)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x23026b(0x2b5,0x433,0x30a,_0x53a6aa._0x3b56f1)]+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this[_0x23026b(_0x53a6aa._0xdb2d0b,0x44a,0x30a,_0x53a6aa._0x3922a0)]});const _0xa46a67='bg-'+ ++this[_0x528764(0x4d2,0x548,0x607,0x4d5)]+'-'+randomUUID()[_0x528764(_0x53a6aa._0x50b59a,_0x53a6aa._0x3e0713,0x2b5,0x3b0)](0x0,0x8),_0x24bf82={'shellId':_0xa46a67,'command':_0x35ea5c[_0x528764(0x54f,_0x53a6aa._0x48b64b,0x4d4,0x4a6)],'cwd':_0x35ea5c[_0x23026b(_0x53a6aa._0x4e354a,0x365,_0x53a6aa._0xd68e1c,0x1be)],'pid':_0x35ea5c[_0x528764(_0x53a6aa._0xb3ebcd,0x2d2,_0x53a6aa._0x50c7b1,0x3a1)][_0x23026b(0x3a5,_0x53a6aa._0x54acfe,_0x53a6aa._0x1afdce,_0x53a6aa._0x1c8498)],'status':_0x528764(0x3bb,_0x53a6aa._0x48c72f,_0x53a6aa._0x54a901,0x47c),'exitCode':null,'signal':null,'startedAt':Date['now'](),'child':_0x35ea5c[_0x23026b(_0x53a6aa._0x5ce67e,0x3ef,0x370,_0x53a6aa._0x93e67f)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x528764(_0x53a6aa._0xd68e1c,_0x53a6aa._0x5f592e,_0x53a6aa._0x27da21,0x39a)),'stripAnsi':_0x35ea5c[_0x23026b(0x192,_0x53a6aa._0x38a473,_0x53a6aa._0x3d722d,0x3fb)],'killRequested':![],'processExited':![]};_0x35ea5c['child'][_0x528764(0x44a,0x63f,_0x53a6aa._0xcacde3,_0x53a6aa._0x501c77)]?.['on'](_0x23026b(_0x53a6aa._0x46a3b1,_0x53a6aa._0x52d918,_0x53a6aa._0x18a50a,0x3e5),_0xa6e5cf=>this[_0x23026b(0x340,0x2c2,0x384,0x348)](_0x24bf82,_0x24bf82['stdoutDecoder'][_0x528764(0x55d,0x53d,0x535,0x534)](_0xa6e5cf))),_0x35ea5c[_0x23026b(_0x53a6aa._0x4c5019,0x390,_0x53a6aa._0x516251,_0x53a6aa._0x59e0e2)]['stderr']?.['on'](_0x23026b(_0x53a6aa._0x4d61ea,0x577,_0x53a6aa._0x18a50a,_0x53a6aa._0x1ff900),_0x4a5f6b=>this[_0x23026b(0x2ce,0x313,0x384,0x2c2)](_0x24bf82,_0x24bf82['stderrDecoder'][_0x23026b(0x506,0x527,0x503,0x571)](_0x4a5f6b)));function _0x528764(_0x420bc9,_0x5560b8,_0x3bdb6d,_0x2cb538){return _0x419223(_0x420bc9-0xc5,_0x5560b8,_0x2cb538-_0x210e71._0x28bca6,_0x2cb538-_0x210e71._0x5d17b6);}function _0x23026b(_0x206a07,_0x1ff707,_0x3a5141,_0x430302){return _0x283a7f(_0x206a07-0xf,_0x3a5141-0x205,_0x3a5141-0x5b,_0x1ff707);}return _0x35ea5c[_0x528764(0x3a1,0x2e9,_0x53a6aa._0x50d624,0x3a1)]['once'](_0x528764(_0x53a6aa._0x44b4da,_0x53a6aa._0x3051fc,0x48c,0x3d8),()=>{function _0xb4fcfa(_0x57c381,_0x358e3c,_0x1c52c0,_0x2e59cb){return _0x528764(_0x57c381-_0x27640d._0x10c030,_0x2e59cb,_0x1c52c0-_0x27640d._0xce06e6,_0x1c52c0- -_0x27640d._0xc87421);}_0x24bf82[_0xb4fcfa(-0x118,_0x4770fb._0x331513,0x61,0x1da)]=!![];}),_0x35ea5c[_0x23026b(0x26a,0x4e8,0x370,_0x53a6aa._0x6b4953)][_0x23026b(0x387,0x33b,0x3dc,0x357)](_0x23026b(0x344,0x586,_0x53a6aa._0x1e8650,_0x53a6aa._0x55aa7b),(_0xe1d329,_0x521357)=>{const _0x105c0f={_0x218670:0x98,_0x387934:0x36};function _0x634a60(_0x339baa,_0x41a5f6,_0x20d4f0,_0x286d1c){return _0x528764(_0x339baa-_0x2bbc60._0x4199c3,_0x339baa,_0x20d4f0-0x165,_0x20d4f0- -_0x2bbc60._0x3ea764);}function _0x3549cc(_0x49d842,_0x1848c7,_0x325c3c,_0x51fb1a){return _0x23026b(_0x49d842-_0x105c0f._0x218670,_0x1848c7,_0x325c3c- -0x1e8,_0x51fb1a-_0x105c0f._0x387934);}this[_0x3549cc(0x1f0,0x8d,0x19c,0x201)](_0x24bf82,_0x24bf82[_0x634a60(0xdf,0x1c1,_0x2b0127._0x5461fe,_0x2b0127._0x21188c)][_0x3549cc(-_0x2b0127._0x3008c8,_0x2b0127._0x39f21f,_0x2b0127._0x6107fe,-_0x2b0127._0x4fb0ef)]()),this[_0x3549cc(0x4e,_0x2b0127._0x291009,0x19c,_0x2b0127._0x4b06ed)](_0x24bf82,_0x24bf82[_0x3549cc(_0x2b0127._0x4c3a66,-_0x2b0127._0x3a6883,_0x2b0127._0x3c53e6,_0x2b0127._0x107f9e)][_0x3549cc(-_0x2b0127._0x4d26dd,_0x2b0127._0x3598a1,0x54,0xca)]()),_0x24bf82[_0x634a60(-_0x2b0127._0x2fb0b3,-0x1bf,-_0x2b0127._0x21cca1,-0xca)]=_0x24bf82[_0x634a60(0x1b9,0x14d,0x15d,_0x2b0127._0xbf21d0)]?_0x634a60(_0x2b0127._0x1dc8a9,0x16b,_0x2b0127._0x4c4985,-_0x2b0127._0x4a0437):_0x3549cc(0x354,_0x2b0127._0x14e196,0x22e,0x31c),_0x24bf82[_0x3549cc(0x21d,_0x2b0127._0x5a5137,_0x2b0127._0x3df90f,0x329)]=_0xe1d329,_0x24bf82[_0x634a60(0x234,_0x2b0127._0x1f775e,_0x2b0127._0x3d8559,0x13a)]=_0x521357,_0x24bf82[_0x3549cc(_0x2b0127._0x57b5e4,_0x2b0127._0x2a0d82,0x188,_0x2b0127._0x3e2c50)]=null;}),_0x35ea5c['child'][_0x23026b(0x2aa,0x4ce,0x3dc,0x351)](_0x23026b(0x207,_0x53a6aa._0x306872,0x2c1,0x3ff),_0x2884e7=>{const _0x54cc04={_0x38fa32:0xa7};_0x24bf82[_0x17b4ef(_0x2302af._0x1ff09e,_0x2302af._0x2e14e6,_0x2302af._0x55b68e,_0x2302af._0x3c2806)]='error';function _0x17b4ef(_0x2b1293,_0x1f7413,_0x15af6d,_0x175572){return _0x528764(_0x2b1293-0x1b6,_0x1f7413,_0x15af6d-0x4a,_0x15af6d-_0x54cc04._0x38fa32);}function _0x1413ab(_0x7744ce,_0x16a0fa,_0x39a512,_0x34f3f8){return _0x528764(_0x7744ce-_0x3c6f6f._0x9a5191,_0x7744ce,_0x39a512-_0x3c6f6f._0x5a64ab,_0x16a0fa- -0x29a);}_0x24bf82[_0x17b4ef(0x4c4,_0x2302af._0x42602c,0x399,0x4cc)]=_0x2884e7['message'],_0x24bf82[_0x1413ab(0x24c,0x107,0x64,_0x2302af._0x28b67e)]=null;}),this[_0x23026b(0x58c,0x61e,0x4a9,0x357)][_0x23026b(0x29f,_0x53a6aa._0x57e552,_0x53a6aa._0x355043,0x311)](_0xa46a67,_0x24bf82),this[_0x23026b(_0x53a6aa._0x424459,_0x53a6aa._0x344040,0x226,0x293)](),_0x24bf82;}['read'](_0x197581,_0x83af13){const _0x4402a0={_0x386b4b:0x627,_0xd822a8:0x4b5,_0x295738:0x476,_0x25d837:0x395,_0x1c2567:0x37b,_0x34f72d:0x3bb,_0x267496:0x245,_0xa9ccb2:0x37c,_0x144fd7:0x336,_0xbfa9a0:0x48f,_0x10cf4f:0x35c,_0x28ede0:0x301,_0x34de19:0x358,_0xcedb3c:0x34d,_0x2f92fc:0x344,_0x5e550b:0x56c,_0x4a244b:0x668,_0x23d74c:0x49e,_0x373508:0x4f0,_0xe39ce3:0x34b,_0x4d64c9:0x1ec,_0x3a0cd8:0x218,_0x34bdab:0xaa,_0x3b388e:0x2cd,_0x586638:0x56f,_0x5d07ee:0x4ac,_0x33a7c4:0x46a,_0x2a9dfd:0x354,_0xb40068:0x2b2,_0x360df9:0x233,_0x28a53a:0x4a0,_0x4524b6:0x3f4,_0x1b062e:0x30e,_0x194afb:0x3dc,_0x1ac5cb:0x212,_0x402d1c:0x4a2,_0x3443f0:0x358,_0x19f907:0x428,_0x30e14d:0x34b,_0x226308:0x57f,_0x52ef0c:0x48a,_0x3f45ce:0x559,_0x2b78a9:0x623,_0x1d9a42:0x2f3},_0x1cecef={_0x385970:0x296,_0x1a8f67:0x1f0},_0x357240={_0x5ca511:0x74,_0x3b1bfe:0x2ab},_0x124526=this[_0x45d168(0x466,0x472,0x39c,0x4cb)][_0x45d168(_0x4402a0._0x386b4b,_0x4402a0._0xd822a8,0x40e,_0x4402a0._0x295738)](_0x197581);if(!_0x124526)throw new ToolExecutionError('No\x20background\x20process\x20with\x20id\x20'+_0x197581,{'shellId':_0x197581});const _0x4cecab=_0x124526[_0x117a07(_0x4402a0._0x25d837,0x4be,0x35b,_0x4402a0._0x1c2567)][_0x117a07(_0x4402a0._0x34f72d,_0x4402a0._0x267496,_0x4402a0._0xa9ccb2,0x2a2)](''),_0x9ab4e8=Math[_0x45d168(_0x4402a0._0x144fd7,_0x4402a0._0xbfa9a0,_0x4402a0._0x10cf4f,0x53b)](_0x124526[_0x45d168(_0x4402a0._0x28ede0,_0x4402a0._0x34de19,0x2df,0x319)],_0x124526[_0x45d168(0x452,0x3c1,_0x4402a0._0xcedb3c,_0x4402a0._0x2f92fc)]);function _0x117a07(_0x43a1f8,_0x324d30,_0x4c2500,_0x4882f8){return _0x283a7f(_0x43a1f8-_0x357240._0x5ca511,_0x43a1f8-_0x357240._0x3b1bfe,_0x4c2500-0x10b,_0x4c2500);}const _0x5032ca=Math[_0x117a07(_0x4402a0._0x5e550b,0x4a9,0x566,_0x4402a0._0x4a244b)](0x0,_0x124526[_0x117a07(_0x4402a0._0x23d74c,_0x4402a0._0x373508,0x441,_0x4402a0._0xe39ce3)]-_0x124526[_0x117a07(0x435,0x3ad,0x517,0x51d)]),_0x4b17f0=_0x4cecab['slice'](_0x9ab4e8-_0x124526[_0x117a07(_0x4402a0._0x23d74c,0x3bc,0x4fa,0x468)]),_0x324536=_0x124526[_0x45d168(0x17c,_0x4402a0._0x4d64c9,_0x4402a0._0x3a0cd8,_0x4402a0._0x34bdab)]!=='running';let _0xc1d76f;const _0x37eaff=_0x83af13?.[_0x117a07(0x50f,0x635,0x539,0x613)];function _0x45d168(_0x430be1,_0x3c0f55,_0x24e5dd,_0x229cd1){return _0x419223(_0x430be1-0x157,_0x24e5dd,_0x3c0f55-_0x1cecef._0x385970,_0x229cd1-_0x1cecef._0x1a8f67);}if(!_0x37eaff)_0xc1d76f=_0x4b17f0,_0x124526[_0x45d168(0x2e0,_0x4402a0._0x34de19,_0x4402a0._0x3b388e,0x34a)]=_0x124526['totalProduced'];else{let _0x24eecd;try{_0x24eecd=new RegExp(_0x37eaff);}catch(_0x3a3965){throw new ToolExecutionError(_0x117a07(_0x4402a0._0x586638,_0x4402a0._0x5d07ee,0x51c,_0x4402a0._0x33a7c4)+_0x3a3965[_0x45d168(0x3f5,_0x4402a0._0x2a9dfd,_0x4402a0._0xb40068,_0x4402a0._0x360df9)],{'shellId':_0x197581,'regex':_0x37eaff});}let _0x3b0cac=_0x4b17f0;if(!_0x324536){const _0x458c2b=_0x4b17f0[_0x45d168(_0x4402a0._0x28a53a,_0x4402a0._0x4524b6,0x47a,0x3c1)]('\x0a');_0x3b0cac=_0x458c2b>=0x0?_0x4b17f0[_0x45d168(_0x4402a0._0x1b062e,0x348,_0x4402a0._0x194afb,_0x4402a0._0x1ac5cb)](0x0,_0x458c2b+0x1):'';}_0xc1d76f=_0x3b0cac['split']('\x0a')[_0x117a07(0x387,0x2f1,0x2d8,0x4d6)](_0x1fa7a5=>_0x24eecd['test'](_0x1fa7a5))['join']('\x0a'),_0x124526[_0x45d168(_0x4402a0._0x402d1c,_0x4402a0._0x3443f0,0x36e,0x2c0)]=_0x9ab4e8+_0x3b0cac[_0x117a07(0x47e,_0x4402a0._0x19f907,0x4ea,_0x4402a0._0x30e14d)];}const _0x58b984=(_0x5032ca>0x0?'[output\x20truncated:\x20'+_0x5032ca+_0x117a07(_0x4402a0._0x226308,_0x4402a0._0x52ef0c,_0x4402a0._0x3f45ce,_0x4402a0._0x2b78a9):'')+_0xc1d76f;return{'output':_0x58b984,'status':_0x124526['status'],'exitCode':_0x124526[_0x117a07(0x599,0x70e,0x476,0x526)],'signal':_0x124526[_0x45d168(_0x4402a0._0x1d9a42,0x3fd,_0x4402a0._0x373508,0x478)],'truncated':_0x5032ca>0x0};}['list'](){const _0xe6d77c={_0x68fc3e:0x4db,_0x7afd7:0x447,_0x4219bb:0x32a},_0x55cd81={_0x4ee994:0xa2,_0x459ddc:0x1a3,_0x2ef84c:0x23};function _0x3e3a89(_0x152e6b,_0x4b88c1,_0x2d7369,_0x2ae61e){return _0x283a7f(_0x152e6b-_0x55cd81._0x4ee994,_0x2d7369-_0x55cd81._0x459ddc,_0x2d7369-_0x55cd81._0x2ef84c,_0x4b88c1);}return[...this[_0x3e3a89(0x552,_0xe6d77c._0x68fc3e,_0xe6d77c._0x7afd7,_0xe6d77c._0x4219bb)]['values']()];}['kill'](_0x1c4400){const _0x48b48b={_0x55a316:0x32a,_0x3d115d:0x38c,_0x193d6a:0x4ec,_0x5b001f:0x3cf,_0x431598:0x3d4,_0xa6b92e:0x1e9,_0xd993d6:0x2a8,_0x4dafb4:0x3d8,_0x817c4b:0x2b4,_0x555008:0x236,_0x199d0e:0x1ec,_0x3569f8:0x1d4,_0x20a6dc:0x146,_0x4ee427:0x39a,_0x4dd6d9:0x2ad,_0x5aa341:0x254,_0x223d8a:0x64,_0x469433:0x163,_0x48c41a:0x1b0,_0x612b65:0x15b,_0x32aaf8:0x40e,_0x5b295a:0x4de,_0x2103ba:0x28b,_0x222575:0x3b2,_0x352a21:0x317},_0x2a685a={_0x22f0fb:0x195,_0x4d2085:0x9d,_0xa9aef4:0x1b3},_0x1c3da5={_0x320cf8:0x3f};function _0x5ef2c7(_0x1b898f,_0x563552,_0x571a4a,_0x38a7ea){return _0x283a7f(_0x1b898f-0xb5,_0x571a4a-0xe8,_0x571a4a-_0x1c3da5._0x320cf8,_0x1b898f);}function _0x4003de(_0x52e6ad,_0x5f33ec,_0x281f74,_0x5e7fcc){return _0x283a7f(_0x52e6ad-_0x2a685a._0x22f0fb,_0x5e7fcc-_0x2a685a._0x4d2085,_0x281f74-_0x2a685a._0xa9aef4,_0x281f74);}const _0x368787=this[_0x5ef2c7(0x38a,_0x48b48b._0x55a316,_0x48b48b._0x3d115d,0x3e7)][_0x5ef2c7(_0x48b48b._0x193d6a,0x4af,_0x48b48b._0x5b001f,_0x48b48b._0x431598)](_0x1c4400);if(!_0x368787)throw new ToolExecutionError(_0x4003de(0x299,_0x48b48b._0xa6b92e,0x1db,_0x48b48b._0xd993d6)+_0x1c4400,{'shellId':_0x1c4400});if(_0x368787['status']===_0x5ef2c7(_0x48b48b._0x4dafb4,_0x48b48b._0x817c4b,0x32e,_0x48b48b._0x555008)&&_0x368787['child']&&!_0x368787[_0x5ef2c7(_0x48b48b._0x199d0e,0x2de,_0x48b48b._0x3569f8,_0x48b48b._0x20a6dc)]){_0x368787[_0x5ef2c7(_0x48b48b._0x4ee427,0x388,_0x48b48b._0x4dd6d9,0x333)]=!![];try{killProcessGroup(_0x368787['child'],process[_0x4003de(_0x48b48b._0x5aa341,-_0x48b48b._0x223d8a,0x16c,0x10a)]==='win32');}catch{}}return{'status':_0x368787[_0x5ef2c7(_0x48b48b._0x469433,_0x48b48b._0x48c41a,0x106,_0x48b48b._0x612b65)],'exitCode':_0x368787[_0x4003de(_0x48b48b._0x32aaf8,_0x48b48b._0x5b295a,0x270,0x38b)],'signal':_0x368787[_0x5ef2c7(_0x48b48b._0x2103ba,_0x48b48b._0x222575,_0x48b48b._0x352a21,0x2d6)]};}async[_0x283a7f(0x3a3,0x280,0x116,0x178)](){const _0xcddc05={_0x5cb4d9:0x14a,_0x19a271:0x116,_0x3114b4:0x34,_0x2fe0aa:0xa6,_0x2c052a:0x2e7,_0x54083d:0x465,_0x367e51:0x30d,_0x105455:0x371,_0x4bba09:0x49a},_0x40f019={_0x131616:0x1b5,_0x5d1de3:0x104};function _0x3db0b6(_0x2f0517,_0x452941,_0x239573,_0x40133d){return _0x419223(_0x2f0517-0xa2,_0x452941,_0x239573-0x3c2,_0x40133d-0x9a);}function _0x3ec409(_0xf1325e,_0x1563f8,_0x314cdc,_0x49e3d4){return _0x283a7f(_0xf1325e-_0x40f019._0x131616,_0x1563f8- -0x134,_0x314cdc-_0x40f019._0x5d1de3,_0x49e3d4);}for(const _0x294789 of this['entries']['values']()){if(_0x294789[_0x3ec409(-_0xcddc05._0x5cb4d9,-_0xcddc05._0x19a271,-_0xcddc05._0x3114b4,-_0xcddc05._0x2fe0aa)]==='running'&&_0x294789['child']&&!_0x294789[_0x3db0b6(0x464,0x332,0x3e6,_0xcddc05._0x2c052a)]){_0x294789['killRequested']=!![];try{killProcessGroup(_0x294789[_0x3db0b6(0x3f2,0x579,_0xcddc05._0x54083d,0x455)],process[_0x3db0b6(_0xcddc05._0x367e51,_0xcddc05._0x105455,0x367,_0xcddc05._0x4bba09)]==='win32');}catch{}}}}[_0x283a7f(0x98,0x17f,0x7d,0x21f)](_0x2ac922,_0x3c0d52){const _0x4558c7={_0x16f513:0x18b,_0x52c09a:0x4a,_0x5c8663:0x1f,_0x5e22ec:0x38,_0x273b12:0xb8,_0xef41f2:0x9,_0x289213:0x22b,_0x4a0fa2:0xd6,_0x1ded06:0x22c,_0x1a2efa:0x28d,_0x52a7e3:0xff,_0x270135:0x108,_0x165aaa:0x538,_0x3ca7c6:0x518,_0x92f38d:0x1d,_0x165493:0x5f,_0x14f515:0x2f8,_0xe1ce9b:0x350,_0x7a23f3:0x49f,_0x3a8574:0x2e4,_0x2f893f:0x121,_0x344aa5:0x207,_0x1aeb10:0x1ea,_0x42feef:0x86,_0x319317:0x128},_0xe6a204={_0x379e70:0x1a,_0x22ac3d:0x3ed},_0x4b8f8c={_0x2e2bc2:0x18e},_0x4f7c32=_0x2ac922[_0x1e3467(0x6d,-_0x4558c7._0x16f513,0x66,-0x1e)]?stripAnsiAndControls(_0x3c0d52):_0x3c0d52;function _0x1e3467(_0x1b998f,_0x55d45b,_0x458dc6,_0x3d2795){return _0x283a7f(_0x1b998f-_0x4b8f8c._0x2e2bc2,_0x3d2795- -0xcb,_0x458dc6-0xb5,_0x458dc6);}if(_0x4f7c32['length']===0x0)return;_0x2ac922[_0x1e3467(0x1c,0xc8,_0x4558c7._0x52c09a,_0x4558c7._0x5c8663)][_0x1e3467(0xfe,-_0x4558c7._0x5e22ec,0x26,_0x4558c7._0x273b12)](_0x4f7c32);function _0x2fe497(_0x2c638e,_0x416cac,_0x50522e,_0x58f031){return _0x419223(_0x2c638e-_0xe6a204._0x379e70,_0x58f031,_0x50522e-_0xe6a204._0x22ac3d,_0x58f031-0x70);}_0x2ac922['bufferChars']+=_0x4f7c32[_0x1e3467(-_0x4558c7._0xef41f2,0x171,0x217,0x108)],_0x2ac922['totalProduced']+=_0x4f7c32['length'];while(_0x2ac922[_0x1e3467(_0x4558c7._0x289213,_0x4558c7._0x4a0fa2,_0x4558c7._0x1ded06,0x207)]>this[_0x1e3467(0x195,_0x4558c7._0x1a2efa,_0x4558c7._0x52a7e3,0x1eb)]){const _0x5460f3=_0x2ac922[_0x2fe497(0x4d0,0x6be,0x5f7,0x53e)]-this['capChars'],_0x41aee5=_0x2ac922['buffer'][0x0];_0x41aee5[_0x1e3467(-0x22,0x13c,0x3,_0x4558c7._0x270135)]<=_0x5460f3?(_0x2ac922['buffer']['shift'](),_0x2ac922[_0x1e3467(0x30f,0x23e,0x2b3,0x207)]-=_0x41aee5[_0x1e3467(0x126,0x20c,0xf9,_0x4558c7._0x270135)],_0x2ac922[_0x2fe497(_0x4558c7._0x165aaa,0x541,_0x4558c7._0x3ca7c6,0x3ba)]+=_0x41aee5[_0x1e3467(_0x4558c7._0x92f38d,0x1a0,-_0x4558c7._0x165493,_0x4558c7._0x270135)]):(_0x2ac922[_0x2fe497(0x33b,0x2c0,0x40f,_0x4558c7._0x14f515)][0x0]=_0x41aee5[_0x2fe497(0x330,_0x4558c7._0xe1ce9b,_0x4558c7._0x7a23f3,0x5d2)](_0x5460f3),_0x2ac922[_0x1e3467(0x1ea,_0x4558c7._0x3a8574,_0x4558c7._0x2f893f,_0x4558c7._0x344aa5)]-=_0x5460f3,_0x2ac922[_0x1e3467(_0x4558c7._0x1aeb10,_0x4558c7._0x42feef,0x276,_0x4558c7._0x319317)]+=_0x5460f3);}}[_0x419223(-0x14c,-0x20f,-0xa7,-0x210)](){const _0x1c271c={_0x29fa82:0x37d,_0x12b7ca:0x272,_0x339eba:0x4f,_0x18f658:0x19b,_0x57e0c9:0x21d,_0x5f1994:0x8d,_0x341681:0x2d8,_0x526d48:0x276,_0xf3d716:0x210,_0x2c5999:0x1d2,_0x159e19:0x115,_0x3e54ee:0x2e7,_0x2b4a46:0x210,_0x3bd1d4:0x1d1,_0x2c2acf:0x5f,_0x5d3c9a:0x55},_0x30117f={_0x268123:0x190,_0x5d7a54:0x34},_0x4fc15d={_0xc0e107:0x87};function _0x2c41a6(_0x4b9f52,_0x17a443,_0x40e767,_0x41b3b1){return _0x283a7f(_0x4b9f52-0xe9,_0x41b3b1- -_0x4fc15d._0xc0e107,_0x40e767-0x1b5,_0x17a443);}if(this[_0x185a56(0xe1,0x365,_0x1c271c._0x29fa82,0x210)][_0x2c41a6(0x272,_0x1c271c._0x12b7ca,_0x1c271c._0x339eba,_0x1c271c._0x18f658)]<=this[_0x2c41a6(_0x1c271c._0x57e0c9,-0x41,-_0x1c271c._0x5f1994,0xcb)])return;function _0x185a56(_0x188cc8,_0x2d1051,_0x2a0885,_0x2ae0f0){return _0x419223(_0x188cc8-_0x30117f._0x268123,_0x2a0885,_0x2ae0f0-_0x30117f._0x5d7a54,_0x2ae0f0-0x1bd);}for(const [_0x259ad9,_0xa73551]of this[_0x185a56(_0x1c271c._0x341681,_0x1c271c._0x526d48,0x2bf,_0x1c271c._0xf3d716)]){if(_0xa73551[_0x2c41a6(-0x7e,-_0x1c271c._0x2c5999,-0x18f,-0x69)]!==_0x185a56(_0x1c271c._0x159e19,0x241,_0x1c271c._0x3e54ee,0x1b2)){this[_0x185a56(0x184,0x175,0xb0,_0x1c271c._0x2b4a46)][_0x2c41a6(-_0x1c271c._0x3bd1d4,-0x1b8,-_0x1c271c._0x2c2acf,-_0x1c271c._0x5d3c9a)](_0x259ad9);return;}}}};function createBashOutputTool(_0x291df4){const _0x388226={_0x39b44b:0x3a1,_0x18d8f8:0x5af,_0x323da4:0x4ec,_0x4f4171:0x281,_0x490d00:0x398,_0x241440:0x625},_0x491065={_0x5e2281:0x23e,_0x1cbccc:0x204,_0x3f5484:0xc7,_0x85d6db:0x32f,_0x40a10c:0x13f,_0x254aeb:0x6d,_0x257f87:0x98,_0x1bb10b:0x277,_0x3d9c5a:0x17d,_0x18dbed:0x11e,_0x1a91fd:0x198,_0x2b2c72:0x1fd,_0x22f68b:0x36e,_0x519a56:0x98,_0x53c12a:0x196,_0x2e2c0f:0x1cf,_0x159954:0x1f8,_0x488d89:0x319,_0x9fd0c5:0x12f,_0x5ef77d:0x1df,_0x54f77f:0x11a},_0x37c03d={_0x48ee98:0xb1},_0x4e690f={_0x32e68f:0xb4,_0x3b5dcc:0x3ab},_0x336cb2={_0x2dfb1b:0x1bb,_0x4f342b:0x36f,_0x5494e6:0x83},_0x572f7c={_0x10e817:0x2bf,_0x31489a:0x1c5},{registry:_0x18dcf5}=_0x291df4;function _0x302d3f(_0xc49c27,_0x4fad83,_0x33ae5d,_0x189928){return _0x419223(_0xc49c27-0x1f2,_0x189928,_0x33ae5d-_0x572f7c._0x10e817,_0x189928-_0x572f7c._0x31489a);}function _0x1a3c8b(_0x237dff,_0x25ef6f,_0x5c9ea1,_0x581596){return _0x419223(_0x237dff-_0x336cb2._0x2dfb1b,_0x25ef6f,_0x581596-_0x336cb2._0x4f342b,_0x581596-_0x336cb2._0x5494e6);}return defineTool({'name':_0x1a3c8b(0x391,_0x388226._0x39b44b,_0x388226._0x18d8f8,_0x388226._0x323da4),'description':_0x1a3c8b(0x4fa,0x4f1,0x380,0x3e5),'inputSchema':{'type':'object','properties':{'shellId':{'type':_0x302d3f(_0x388226._0x4f4171,0x307,0x3ef,_0x388226._0x490d00)},'regex':{'type':'string'}},'required':[_0x1a3c8b(0x4eb,0x4c4,_0x388226._0x241440,0x59a)]},async *'execute'(_0x28bdeb){function _0x4c16f7(_0x56d7d4,_0x58ce2a,_0x585978,_0x570612){return _0x302d3f(_0x56d7d4-0x9f,_0x58ce2a-_0x4e690f._0x32e68f,_0x58ce2a- -_0x4e690f._0x3b5dcc,_0x585978);}const _0x33b3c7=_0x18dcf5[_0x32f725(_0x491065._0x5e2281,_0x491065._0x1cbccc,_0x491065._0x3f5484,_0x491065._0x85d6db)](_0x28bdeb[_0x4c16f7(0x290,_0x491065._0x40a10c,_0x491065._0x254aeb,0x1b9)],_0x28bdeb[_0x32f725(0xf5,0x16e,_0x491065._0x257f87,_0x491065._0x1bb10b)]?{'regex':_0x28bdeb[_0x32f725(_0x491065._0x3d9c5a,0x16e,_0x491065._0x18dbed,_0x491065._0x1a91fd)]}:void 0x0);function _0x32f725(_0x577584,_0x3bfe5b,_0x41eab5,_0x451763){return _0x302d3f(_0x577584-_0x37c03d._0x48ee98,_0x3bfe5b-0xbd,_0x3bfe5b- -0x2ed,_0x577584);}return createToolOutput(_0x33b3c7['output'],{'shellId':_0x28bdeb[_0x32f725(0x161,_0x491065._0x2b2c72,_0x491065._0x22f68b,0x25d)],'status':_0x33b3c7[_0x4c16f7(-_0x491065._0x519a56,-_0x491065._0x53c12a,-0x13f,-0x2e8)],'exitCode':_0x33b3c7[_0x32f725(_0x491065._0x2e2c0f,_0x491065._0x159954,0xe5,_0x491065._0x488d89)],'signal':_0x33b3c7[_0x32f725(-0x10,0x139,_0x491065._0x9fd0c5,0x50)],'truncated':_0x33b3c7[_0x4c16f7(_0x491065._0x5ef77d,0xd9,_0x491065._0x54f77f,0x1a3)]});}});}import{spawn as _0x1bedef}from'child_process';import{statSync}from'fs';import*as _0x875027 from'os';import*as _0x2cea5a from'path';import{StringDecoder as _0x322b7d}from'string_decoder';import{stat}from'fs/promises';import*as _0x33d7ef from'path';function isPathInside(_0x18a4ee,_0x21da0f){const _0x57fb16={_0x614c22:0x604,_0x49a82d:0x571,_0x177caa:0x582,_0x37ea4d:0xdd,_0x3c1b7a:0x22,_0x53e7d4:0x206},_0x16d684={_0x14cf70:0x36},_0x3c15a3={_0x8f1572:0x3d4,_0x5ac6ca:0x171};function _0x107dae(_0x36765a,_0x41e8d3,_0x362763,_0xfc9c2){return _0x419223(_0x36765a-0x2f,_0x36765a,_0x41e8d3-_0x3c15a3._0x8f1572,_0xfc9c2-_0x3c15a3._0x5ac6ca);}const _0x158b78=_0x33d7ef[_0x107dae(0x5ee,_0x57fb16._0x614c22,_0x57fb16._0x49a82d,_0x57fb16._0x177caa)](_0x18a4ee),_0x10e98b=_0x33d7ef[_0x2513b6(_0x57fb16._0x37ea4d,0x1d3,_0x57fb16._0x3c1b7a,0x1cd)](_0x158b78,_0x21da0f);function _0x2513b6(_0x508d1f,_0xad7ae4,_0x4adaea,_0x340bed){return _0x419223(_0x508d1f-0x11f,_0x4adaea,_0x508d1f- -0x105,_0x340bed-_0x16d684._0x14cf70);}return _0x10e98b===''||!_0x10e98b['startsWith']('..')&&!_0x33d7ef[_0x2513b6(-0x13a,-0xb,-0x20c,-_0x57fb16._0x53e7d4)](_0x10e98b);}function resolveWorkspacePath(_0x4a4ae2,_0x3f4d40){return resolveAllowedPath(_0x4a4ae2,[],_0x3f4d40);}function resolveAllowedPath(_0x14b2a1,_0x3e97ce,_0x2893df){const _0x14cf36={_0x311969:0x57a,_0x5d5163:0x462,_0x3b8fa1:0x4ae,_0x2fb373:0x123,_0x47c268:0x1fb,_0x464ae7:0x224},_0x5805b5={_0x3e3561:0x2f,_0x1c468f:0xae,_0x495084:0x177},_0x2db631=_0x33d7ef['resolve'](_0x14b2a1),_0x37ba1d=_0x33d7ef[_0x454ce1(0x577,0x67a,_0x14cf36._0x311969,0x6b8)](_0x2db631,_0x2893df),_0xcd99ed=[_0x2db631,..._0x3e97ce[_0x454ce1(0x4b1,0x3ad,_0x14cf36._0x5d5163,_0x14cf36._0x3b8fa1)](_0x5cdb91=>_0x33d7ef[_0x3fe9d2(0x182,0x1ca,0xc2,0x109)](_0x5cdb91))];if(_0xcd99ed['some'](_0x5f043b=>isPathInside(_0x5f043b,_0x37ba1d)))return _0x37ba1d;function _0x454ce1(_0x41bf6f,_0x129fe2,_0xe366ef,_0x678b3){return _0x283a7f(_0x41bf6f-0x12a,_0x41bf6f-0x27f,_0xe366ef-0x1b5,_0x678b3);}function _0x3fe9d2(_0x20d2b8,_0x575735,_0x5898d3,_0x33c760){return _0x419223(_0x20d2b8-_0x5805b5._0x3e3561,_0x575735,_0x20d2b8- -_0x5805b5._0x1c468f,_0x33c760-_0x5805b5._0x495084);}throw new ToolExecutionError(_0x3fe9d2(-_0x14cf36._0x2fb373,-0x91,-_0x14cf36._0x47c268,-_0x14cf36._0x464ae7)+_0x2893df,{'path':_0x2893df,'rootDir':_0x2db631,'allowedDirs':_0xcd99ed});}async function assertWorkspaceFile(_0x33ca0f){const _0x48378c={_0x43eef7:0xa8},_0x54bce7={_0x51d5a0:0x62};function _0x2678c9(_0x5352da,_0x4e3faa,_0x597eba,_0x527165){return _0x283a7f(_0x5352da-_0x54bce7._0x51d5a0,_0x527165- -0x2a,_0x597eba-0x1ae,_0x5352da);}const _0xe91803=await stat(_0x33ca0f);if(!_0xe91803['isFile']())throw new ToolExecutionError(_0x2678c9(0xe6,-0x154,_0x48378c._0x43eef7,0x26)+_0x33ca0f,{'path':_0x33ca0f});}function isProbablyBinary(_0x161b93){const _0x140c50={_0x4aa0bc:0x1b0,_0x3ad282:0x65},_0x39b096={_0x420f8d:0x68};function _0xc78f56(_0xc47c14,_0x1c6e71,_0x5d499d,_0x267bfe){return _0x419223(_0xc47c14-0x133,_0xc47c14,_0x267bfe- -0x16e,_0x267bfe-_0x39b096._0x420f8d);}return _0x161b93[_0xc78f56(0xe1,_0x140c50._0x4aa0bc,-_0x140c50._0x3ad282,0xcb)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x283a7f(0x38d,0x2a2,0x3f9,0x247)+DEFAULT_TIMEOUT_MS+'ms';function buildChildEnv(_0x1e7e0d,_0x220a9b){const _0x311eab={_0x1d4df7:0x2c5,_0x2cb567:0x2aa,_0x5281b0:0x260,_0x24c1d7:0x19b,_0x524c50:0x2bf,_0x1a6601:0x4f1,_0x5af576:0x2e0,_0x4b7ee2:0x32d,_0x28b545:0x72,_0x42d153:0x103,_0x495361:0xd4,_0x57ec3f:0x21b},_0x390825={_0x5279a9:0x17,_0x4c3e96:0xe9,_0x2a127e:0x16},_0x52f7ac={_0x29071f:0x158,_0x1b0632:0x1c3},_0x3a280d={...process[_0x45ac1c(0x2b0,0x38b,_0x311eab._0x1d4df7,0x242)],..._0x1e7e0d??{}};function _0x28c2a2(_0x2e8b24,_0x4c621d,_0x5c6bb9,_0x15b10b){return _0x419223(_0x2e8b24-_0x52f7ac._0x29071f,_0x4c621d,_0x15b10b-_0x52f7ac._0x1b0632,_0x15b10b-0x93);}if(_0x220a9b[_0x28c2a2(_0x311eab._0x2cb567,0x357,0x403,0x2ce)]===0x0)return _0x3a280d;if(_0x875027[_0x45ac1c(_0x311eab._0x5281b0,_0x311eab._0x24c1d7,0x156,0x246)]()===_0x28c2a2(_0x311eab._0x524c50,_0x311eab._0x1a6601,0x2ca,0x3ec)){const _0x3a9036=new Set(_0x220a9b[_0x28c2a2(0x2d3,0x224,_0x311eab._0x5af576,_0x311eab._0x4b7ee2)](_0xa76a1e=>_0xa76a1e[_0x45ac1c(0x472,0x326,0x307,0x2cb)]()));for(const _0x4193e2 of Object[_0x45ac1c(-0x1,-_0x311eab._0x28b545,_0x311eab._0x42d153,_0x311eab._0x495361)](_0x3a280d)){if(_0x3a9036['has'](_0x4193e2[_0x28c2a2(0x38d,0x3c0,_0x311eab._0x57ec3f,0x319)]()))delete _0x3a280d[_0x4193e2];}}else{for(const _0x5df40a of _0x220a9b)delete _0x3a280d[_0x5df40a];}function _0x45ac1c(_0x5b2336,_0x3854ea,_0x492d91,_0x4af6b2){return _0x283a7f(_0x5b2336-_0x390825._0x5279a9,_0x492d91-_0x390825._0x4c3e96,_0x492d91-_0x390825._0x2a127e,_0x4af6b2);}return _0x3a280d;}function mapSpawnError(_0x4589a8,_0x45fa47){const _0x738b51={_0x3ac035:0xc2,_0x122f67:0x1ab,_0x5aadc0:0x40a,_0x16c708:0x367,_0x2a2e4c:0x62,_0x53f276:0xcd},_0x3d7a22={_0x5079f1:0x270,_0x3b47ea:0x17f},_0x59ab53={_0x3a0c8f:0x94};function _0x463c98(_0x51abff,_0x4e11b3,_0x249f71,_0xe97a4){return _0x419223(_0x51abff-0xc6,_0x249f71,_0x4e11b3-0x15e,_0xe97a4-_0x59ab53._0x3a0c8f);}function _0x390ebd(_0x5e7b25,_0x3eaac4,_0x5a5a17,_0x5cf672){return _0x283a7f(_0x5e7b25-0x1af,_0x5e7b25- -_0x3d7a22._0x5079f1,_0x5a5a17-_0x3d7a22._0x3b47ea,_0x3eaac4);}if(isErrnoException(_0x4589a8)&&_0x4589a8[_0x390ebd(-0xb2,-0xbe,_0x738b51._0x3ac035,-0x213)]===_0x463c98(0x7c,0x199,_0x738b51._0x122f67,0x52))return new ToolExecutionError(_0x463c98(_0x738b51._0x5aadc0,_0x738b51._0x16c708,0x1f5,0x398)+_0x45fa47[_0x463c98(0x21e,0x11d,0x1a8,0x14c)],_0x45fa47);return new ToolExecutionError(_0x4589a8 instanceof Error?_0x4589a8[_0x390ebd(-0xea,0x58,_0x738b51._0x2a2e4c,-_0x738b51._0x53f276)]:String(_0x4589a8),_0x45fa47);}function shellExists(_0x194adf){const _0x1b685a={_0xa41570:0xa,_0x2dbfe9:0x72},_0x5ee444={_0x48ed13:0xe4,_0x548379:0x34,_0x594c87:0xe0},_0x1c4e11={_0x2ef742:0x68};function _0x253aa8(_0x239e8a,_0x5d6091,_0x49705c,_0x2a5bd9){return _0x283a7f(_0x239e8a-_0x1c4e11._0x2ef742,_0x2a5bd9- -0x1ae,_0x49705c-0x91,_0x5d6091);}function _0xacc991(_0x12d0e9,_0x361679,_0x3abdb1,_0x153e79){return _0x283a7f(_0x12d0e9-_0x5ee444._0x48ed13,_0x361679-_0x5ee444._0x548379,_0x3abdb1-_0x5ee444._0x594c87,_0x153e79);}try{const _0x1f42e9=statSync(_0x194adf);return _0x1f42e9[_0x253aa8(0x143,-_0x1b685a._0xa41570,-_0x1b685a._0x2dbfe9,-0x1)]()&&(_0x1f42e9[_0x253aa8(-0x58,-0x199,-0x93,-0xcd)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x421ea7){const _0x3f492d={_0x923897:0x1a9,_0x45ecd3:0x117,_0x4fda2b:0x77,_0x1c627f:0xa,_0x1d97ed:0x14b,_0x59b2bb:0x49,_0x2aeb8a:0x116,_0x46e6a8:0x29,_0x12a36b:0x47,_0x58da34:0x1a1,_0x1ea1b4:0x103,_0x2694eb:0x89,_0x304055:0x80,_0x28b933:0x142,_0x425f18:0xa7,_0x67ce67:0x31b,_0x28071f:0x2dd,_0x125396:0x33b,_0x289f1a:0x2ec},_0x30139e={_0xdd35f6:0x160,_0x7488c8:0x126},_0x2cd6af={_0x47b3df:0x11d};if(_0x421ea7)return _0x421ea7;function _0x50d0fa(_0x442c7d,_0x5b1ba3,_0x4498fd,_0x4d96ff){return _0x283a7f(_0x442c7d-0x2,_0x4498fd- -0x1e4,_0x4498fd-_0x2cd6af._0x47b3df,_0x5b1ba3);}if(_0x875027['platform']()==='win32')return process['env'][_0x159a85(_0x3f492d._0x923897,0x16b,_0x3f492d._0x45ecd3,_0x3f492d._0x4fda2b)]||_0x50d0fa(_0x3f492d._0x1c627f,_0x3f492d._0x1d97ed,0x3b,0xf0);const _0x188c79=[_0x50d0fa(_0x3f492d._0x59b2bb,-_0x3f492d._0x2aeb8a,-_0x3f492d._0x46e6a8,_0x3f492d._0x12a36b),_0x159a85(_0x3f492d._0x58da34,0x2a7,0x233,_0x3f492d._0x1ea1b4),'/usr/bin/bash','/usr/bin/sh'];for(const _0x2f516a of _0x188c79){if(shellExists(_0x2f516a))return _0x2f516a;}function _0x159a85(_0x18cbfe,_0x1212c5,_0x413e6b,_0x2b4217){return _0x283a7f(_0x18cbfe-0xaa,_0x18cbfe-_0x30139e._0xdd35f6,_0x413e6b-_0x30139e._0x7488c8,_0x2b4217);}const _0x5e5bc3=process[_0x50d0fa(_0x3f492d._0x2694eb,0xd9,-0x8,_0x3f492d._0x304055)][_0x50d0fa(-_0x3f492d._0x28b933,-0x113,-_0x3f492d._0x425f18,-0x122)];if(_0x5e5bc3&&shellExists(_0x5e5bc3))return _0x5e5bc3;return _0x159a85(_0x3f492d._0x67ce67,_0x3f492d._0x28071f,_0x3f492d._0x125396,_0x3f492d._0x289f1a);}function buildShellArgs(_0x2cf8a4,_0x311737){const _0x427430={_0x485935:0x86,_0x579279:0x8c,_0x2d5b98:0x2d6,_0x22db2b:0x1dd,_0x42d9fd:0x27c},_0x1a623d={_0x5d26c4:0x372,_0x13fdfc:0x11e};if(_0x875027[_0x3440df(0x1ed,0x163,_0x427430._0x485935,_0x427430._0x579279)]()==='win32'){const _0x53e021=/cmd(\.exe)?$/i[_0x3440df(0xfe,0x161,-0x10,0x4e)](_0x311737);return _0x53e021?['/d','/s','/c',_0x2cf8a4]:['-NoLogo','-NoProfile',_0x3440df(0x3b9,_0x427430._0x2d5b98,_0x427430._0x22db2b,_0x427430._0x42d9fd),_0x2cf8a4];}function _0x3440df(_0x18b9c2,_0x107ac8,_0x11ce7e,_0x49fd81){return _0x283a7f(_0x18b9c2-0x7,_0x49fd81-0x1f,_0x11ce7e-0x1be,_0x18b9c2);}function _0x28d702(_0x57a84d,_0x10224c,_0x280b09,_0x44bab9){return _0x283a7f(_0x57a84d-0xd2,_0x44bab9-_0x1a623d._0x5d26c4,_0x280b09-_0x1a623d._0x13fdfc,_0x280b09);}return['-c',_0x2cf8a4];}function resolveWorkingDirectory(_0x1b59f9,_0x336aa7,_0x98ff91){const _0x4f45e7={_0x1cf49d:0x318,_0x4d8772:0x60f,_0x34e8f5:0x523,_0xc5109e:0x4dd,_0x4ec222:0x669,_0x1720f6:0x686},_0x64a739={_0x2f880e:0x36},_0x182092=resolveAllowedPath(_0x336aa7,_0x98ff91,_0x1b59f9??'.');function _0x26c0b7(_0x346614,_0xbcee53,_0xf99321,_0x12d8ba){return _0x283a7f(_0x346614-0x1de,_0x346614-0x3b2,_0xf99321-0x7d,_0xf99321);}function _0x2d368d(_0x6e2145,_0x5623d1,_0x2c6074,_0x53be26){return _0x419223(_0x6e2145-0x1a5,_0x53be26,_0x6e2145- -_0x64a739._0x2f880e,_0x53be26-0x67);}try{const _0x4b1e6a=statSync(_0x182092);if(!_0x4b1e6a[_0x2d368d(0x1bc,_0x4f45e7._0x1cf49d,0x23e,0xb3)]())throw new ToolExecutionError(_0x26c0b7(0x5dd,_0x4f45e7._0x4d8772,_0x4f45e7._0x34e8f5,_0x4f45e7._0xc5109e)+_0x182092,{'cwd':_0x182092});return _0x182092;}catch(_0x1613f8){if(_0x1613f8 instanceof ToolExecutionError)throw _0x1613f8;throw new ToolExecutionError(_0x26c0b7(0x641,0x54c,_0x4f45e7._0x4ec222,_0x4f45e7._0x1720f6)+_0x182092,{'cwd':_0x182092});}}function appendChunk(_0x4ebffd,_0x1beaf5,_0x164e57,_0x36ae53,_0x1a2665){const _0x41c772={_0x4f750a:0x569,_0x28b685:0x41a,_0x1f0b68:0x3f0,_0x59267c:0x3a0,_0x4cc395:0x396,_0x20e7fc:0x32b},_0x46e3ff={_0xd55991:0x1e9,_0x41dab0:0x21d,_0x3f4d09:0xca},_0x424baf={_0x19e973:0x296},_0x312303=_0x36ae53?stripAnsiAndControls(_0x164e57):_0x164e57;if(_0x312303[_0x2924bd(0x469,_0x41c772._0x4f750a,_0x41c772._0x28b685,0x358)]===0x0)return;_0x4ebffd[_0x1a56ba(_0x41c772._0x1f0b68,0x3b7,_0x41c772._0x59267c,0x2a1)](_0x312303);function _0x2924bd(_0x6c347d,_0x14f768,_0x3a55d4,_0x2759bf){return _0x283a7f(_0x6c347d-0x50,_0x6c347d-_0x424baf._0x19e973,_0x3a55d4-0x153,_0x3a55d4);}_0x1beaf5[_0x2924bd(0x419,_0x41c772._0x4cc395,_0x41c772._0x20e7fc,0x438)](_0x312303);function _0x1a56ba(_0x2d7541,_0x50748e,_0x317ba5,_0x3d4bc3){return _0x283a7f(_0x2d7541-_0x46e3ff._0xd55991,_0x317ba5-_0x46e3ff._0x41dab0,_0x317ba5-_0x46e3ff._0x3f4d09,_0x2d7541);}_0x1a2665();}function createBashTool(_0x578930={}){const _0x203065={_0x147eab:0x7de,_0x4635bd:0x670,_0x21966b:0x595,_0x43a279:0x704,_0x428e9b:0x421,_0xb4afd5:0xf7,_0x3e734c:0x1ca,_0x286825:0x12,_0x267c5e:0x87,_0x439591:0x21,_0x3e5385:0xbf,_0x20f665:0x68d,_0xb8cfa4:0x836,_0x4e8732:0x8,_0x5076ee:0x20a,_0x1bf850:0x230,_0x4c5425:0x156,_0x54f885:0x1c,_0x320ab4:0x146,_0x5178db:0x5d7,_0x203d2a:0x604,_0x22b8b7:0x529,_0x341290:0x741,_0xc8dbc3:0x6a2,_0x15f3f0:0x723,_0x3c83b8:0x128,_0xab5de:0x17,_0x85157a:0x17,_0x339038:0x96,_0x20a606:0xce,_0x3aca6a:0x6d8,_0x3e8be0:0x5bd,_0x41f946:0x712,_0xaaccfa:0x5ff},_0x267de5={_0x2a0c62:0x5ec,_0x1cbc0f:0x48c,_0x54359e:0x596,_0x40911e:0x683,_0x412b57:0x580,_0x58c2f7:0x68,_0x3728fc:0x131,_0x41013b:0x628,_0xf6afd5:0x548,_0x25ee4a:0x549,_0x4c78fa:0x599,_0x32238c:0x140,_0x236fee:0x526,_0x5ba5ec:0x329,_0x56d04b:0xae,_0x4c9879:0x117,_0x56ba17:0x648,_0x207956:0x643,_0x13b29c:0x5b0,_0x275358:0x181,_0x253154:0x164,_0x480923:0x4fa,_0x796d05:0x1b8,_0x159ccc:0x181,_0x992d1d:0xc4,_0x5863bc:0xe8,_0x3a7400:0xb3,_0x2e178c:0x15d,_0x285ecf:0x474,_0x1d3563:0x5bd,_0x268799:0x16e,_0x25a6a6:0x582,_0x205b16:0x64a,_0x20fecb:0x5dc,_0x54355e:0x564,_0x5232c3:0x42b,_0x592c44:0x64b,_0x54e85b:0x204,_0x5c9576:0xb7,_0x132535:0x133,_0x4d7d28:0x18,_0x4ae34b:0x59,_0x2c277a:0x5c9,_0x89f82a:0x4e4,_0x558bb0:0x564,_0x1dc4c7:0x5bb,_0x23c83f:0x415,_0x11ef30:0x824,_0x12bff2:0x6af,_0x29fc8b:0x6a1,_0x1279e3:0x5ab,_0x464f56:0x638,_0x313676:0x4c,_0x1d61f7:0x6b5,_0x3ae613:0x63a,_0x4a27cf:0x13d,_0x1edffe:0x712,_0x477594:0x5e7,_0x1af024:0x4c0,_0xc19829:0x426,_0xbcc376:0x633,_0x111496:0x529,_0x5d6fe4:0x495,_0x499854:0x4a9,_0x4e2ab8:0x3fc,_0x3f7b4e:0x9b,_0x14a92c:0x31,_0xb262aa:0x109,_0x12880c:0x5f,_0x5a8593:0x4c8,_0x59f115:0x43d,_0x52d8cc:0x72e,_0x5dcfdc:0x6f5,_0x4fdec5:0x1a1,_0x365e05:0xcf,_0x4bb3fc:0x92,_0x4bd2fb:0x68b,_0x49214e:0x5e7,_0x1d1479:0x6e1,_0x2c64b3:0x510,_0x18dbf6:0x557,_0x555a0e:0x42c,_0x46c03b:0x19e,_0x1083d2:0x148,_0x5272bf:0x95,_0x8b42eb:0xab,_0x5d9933:0x20a,_0x4ee59b:0x667,_0x16bfb1:0x6ae,_0x57e36f:0x470,_0x52143f:0x6d8,_0x5abf2a:0x553,_0x15e350:0x681,_0xa2942b:0x53d,_0x2d3027:0x621,_0x4d540f:0x11e,_0x294348:0xcf,_0x11efe5:0x63a,_0x1dbec9:0x4dd,_0x5adbbb:0x1f6,_0x1ef3d2:0x7c,_0x189a0f:0x17d,_0x23ab40:0x16a},_0x252a1b={_0xbe0116:0x3ec,_0x3d08a2:0x38e,_0x35189b:0x28a,_0x1ed3b7:0x3f7,_0x488299:0x4a9,_0x17ce49:0x363,_0xf4dae4:0x370},_0x7fd284={_0x45a0e7:0x29,_0xb1f6f:0x1fb},_0x565c4a={_0x38084e:0x46a,_0x5e6dc:0x9b,_0x337829:0xc9},_0x22c7ea={_0x5d543f:0x521,_0x83e6c5:0x5f6,_0xf7bdd9:0x680},_0x3f430e={_0x5adc21:0x711,_0x288f52:0x875},_0x2513fb={_0x3687d2:0x3d,_0x2533cf:0x169},_0x2c98e7={_0x5afa40:0x1ba,_0xf834b3:0x468},_0x11f535={_0xbf095b:0x13a};function _0x2b8320(_0x24017e,_0x323b2f,_0x3caa89,_0x58c6f0){return _0x283a7f(_0x24017e-_0x11f535._0xbf095b,_0x24017e- -0xb2,_0x3caa89-0x184,_0x323b2f);}const _0x503d0b=_0x2cea5a[_0x2d2650(0x760,_0x203065._0x147eab,0x63c,_0x203065._0x4635bd)](_0x578930[_0x2d2650(_0x203065._0x21966b,0x6db,_0x203065._0x43a279,_0x203065._0x428e9b)]??process['cwd']()),_0x4ca78d=_0x578930[_0x2b8320(_0x203065._0xb4afd5,0x16d,_0x203065._0x3e734c,_0x203065._0x286825)]??[],_0x2c2ea8=_0x578930[_0x2b8320(0x143,_0x203065._0x267c5e,-_0x203065._0x439591,_0x203065._0x3e5385)]??DEFAULT_TIMEOUT_MS,_0x2924e7=_0x578930[_0x2b8320(-0x5,-0x84,0x83,-0x13b)]??!![],_0x4050a2=_0x578930['name']??_0x2d2650(0x736,0x72d,_0x203065._0x20f665,_0x203065._0xb8cfa4),_0x7b51ce=_0x578930[_0x2b8320(0x12d,_0x203065._0x4e8732,_0x203065._0x5076ee,0x192)]??[],_0x4fabbf=_0x578930[_0x2b8320(_0x203065._0x1bf850,0x3a6,0x39a,_0x203065._0x4c5425)];function _0x2d2650(_0x33cf00,_0x117d3c,_0x42974f,_0x253c41){return _0x283a7f(_0x33cf00-_0x2c98e7._0x5afa40,_0x33cf00-_0x2c98e7._0xf834b3,_0x42974f-0xf6,_0x42974f);}return defineTool({'name':_0x4050a2,'description':_0x578930[_0x2b8320(-_0x203065._0x54f885,-0xf,-_0x203065._0x320ab4,-0x143)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x2d2650(_0x203065._0x5178db,0x655,_0x203065._0x203d2a,0x55f),'properties':{'command':{'type':'string'},'description':{'type':_0x2d2650(0x660,_0x203065._0x22b8b7,_0x203065._0x341290,0x796),'description':_0x2d2650(_0x203065._0xc8dbc3,0x66b,0x7cd,0x718)},'cwd':{'type':_0x2d2650(0x660,0x5fd,0x520,_0x203065._0x15f3f0)},'timeoutMs':{'type':_0x2b8320(0x1f,_0x203065._0x3c83b8,0x85,-0x27)},'ignoreOutput':{'type':_0x2b8320(-_0x203065._0xab5de,0x7d,0xce,0x82)},'runInBackground':{'type':_0x2b8320(-_0x203065._0x85157a,-0x176,-_0x203065._0x339038,-_0x203065._0x20a606)}},'required':[_0x2d2650(_0x203065._0x3aca6a,_0x203065._0x3e8be0,_0x203065._0x41f946,_0x203065._0xaaccfa),'description']},async *'execute'(_0x208944,_0x41ec4d){const _0x4b561b={_0x828232:0x126},_0x43e54b={_0x28c1f4:0xd,_0x520b9e:0xf0},_0x290149={_0x149aa2:0x1ac,_0x2e75a9:0x102},_0x1d72a3={_0x1b8939:0x556,_0x45ff6a:0x3e8},_0x524cd5={_0x32fdd6:0x32},_0x353df6=_0x208944['timeoutMs']??_0x2c2ea8;if(!Number['isFinite'](_0x353df6)||_0x353df6<0x1)throw new ToolExecutionError(_0x1b368d(0x605,_0x267de5._0x2a0c62,0x629,_0x267de5._0x1cbc0f),{'command':_0x208944[_0x1b368d(_0x267de5._0x54359e,0x628,_0x267de5._0x40911e,_0x267de5._0x412b57)]});throwIfAborted(_0x41ec4d['signal']);const _0xc03996=resolveWorkingDirectory(_0x208944['cwd'],_0x503d0b,_0x4ca78d),_0xbcc9f4=_0x208944['ignoreOutput']??![],_0x2edfc7=resolveDefaultShell(_0x578930[_0x168cdf(0xe4,-_0x267de5._0x58c2f7,-0x86,-_0x267de5._0x3728fc)]);function _0x168cdf(_0x5932a9,_0x4b7160,_0x223dac,_0x1f5f03){return _0x2b8320(_0x4b7160- -_0x2513fb._0x3687d2,_0x1f5f03,_0x223dac-0xb8,_0x1f5f03-_0x2513fb._0x2533cf);}const _0x412afa=buildShellArgs(_0x208944[_0x1b368d(0x4d8,_0x267de5._0x41013b,0x61d,0x542)],_0x2edfc7),_0xf29693=_0x875027[_0x1b368d(_0x267de5._0xf6afd5,0x425,_0x267de5._0x25ee4a,_0x267de5._0x4c78fa)]()==='win32';if(_0x208944['runInBackground']){if(!_0x4fabbf)throw new ToolExecutionError('Background\x20execution\x20is\x20not\x20available\x20in\x20this\x20context.',{'command':_0x208944['command']});throwIfAborted(_0x41ec4d[_0x168cdf(0xb3,_0x267de5._0x32238c,0x231,0x223)]);let _0x162e40;try{_0x162e40=_0x1bedef(_0x2edfc7,_0x412afa,{'cwd':_0xc03996,'env':buildChildEnv(_0x578930[_0x1b368d(0x432,0x594,_0x267de5._0x236fee,0x4eb)],_0x7b51ce),'stdio':[_0x168cdf(_0x267de5._0x5ba5ec,0x208,_0x267de5._0x56d04b,_0x267de5._0x4c9879),_0x1b368d(_0x267de5._0x56ba17,_0x267de5._0x207956,_0x267de5._0x13b29c,0x5e0),_0x168cdf(0xb2,0x19c,0x1c0,0x274)],'shell':![],'windowsHide':!![],'detached':!_0xf29693});}catch(_0x2a345d){throw mapSpawnError(_0x2a345d,{'command':_0x208944[_0x168cdf(0x195,_0x267de5._0x275358,0x58,_0x267de5._0x253154)],'cwd':_0xc03996,'shellPath':_0x2edfc7});}let _0xe87081;try{_0xe87081=_0x4fabbf[_0x1b368d(0x5ba,0x61f,0x4d9,_0x267de5._0x480923)]({'child':_0x162e40,'command':_0x208944[_0x168cdf(_0x267de5._0x796d05,_0x267de5._0x159ccc,0x20e,0x10e)],'cwd':_0xc03996,'stripAnsi':_0x2924e7});}catch(_0x455b44){_0x162e40[_0x168cdf(_0x267de5._0x992d1d,_0x267de5._0x5863bc,_0x267de5._0x3a7400,_0x267de5._0x2e178c)](_0x1b368d(0x3c9,_0x267de5._0x285ecf,0x305,_0x267de5._0x1d3563),()=>{});try{killProcessGroup(_0x162e40,_0xf29693);}catch{}throw _0x455b44;}return createToolOutput(_0x1b368d(0x50d,0x46f,0x545,0x2fd)+_0xe87081[_0x168cdf(_0x267de5._0x268799,0x204,0xb7,0xbf)]+_0x1b368d(0x6b4,_0x267de5._0x25a6a6,0x4aa,_0x267de5._0x205b16)+(_0xe87081[_0x1b368d(_0x267de5._0x20fecb,_0x267de5._0x54355e,_0x267de5._0x5232c3,_0x267de5._0x592c44)]??'?')+').\x20Use\x20BashOutput\x20to\x20read\x20its\x20output\x20and\x20KillShell\x20to\x20stop\x20it.',{'shellId':_0xe87081[_0x168cdf(0x14a,_0x267de5._0x54e85b,0x281,0xf7)],'status':_0xe87081[_0x168cdf(-_0x267de5._0x5c9576,-0xd1,-_0x267de5._0x132535,-_0x267de5._0x4d7d28)],'command':_0xe87081['command'],'description':_0x208944[_0x168cdf(-0x4f,-_0x267de5._0x4ae34b,-0x52,-0x29)],'cwd':_0xe87081[_0x1b368d(0x5a0,0x47c,_0x267de5._0x2c277a,_0x267de5._0x89f82a)],'pid':_0xe87081[_0x1b368d(0x4c0,_0x267de5._0x558bb0,_0x267de5._0x1dc4c7,_0x267de5._0x23c83f)]??null});}let _0x1d1f7e;try{_0x1d1f7e=_0x1bedef(_0x2edfc7,_0x412afa,{'cwd':_0xc03996,'env':buildChildEnv(_0x578930['env'],_0x7b51ce),'stdio':_0xbcc9f4?['ignore',_0x168cdf(0xe8,0x208,0x2fa,0xcc),_0x1b368d(_0x267de5._0x11ef30,_0x267de5._0x12bff2,_0x267de5._0x29fc8b,0x6f9)]:[_0x1b368d(0x671,0x6af,_0x267de5._0x1279e3,_0x267de5._0xf6afd5),_0x1b368d(0x698,_0x267de5._0x207956,0x58c,0x4dc),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0xf29693});}catch(_0x178767){throw mapSpawnError(_0x178767,{'command':_0x208944[_0x1b368d(_0x267de5._0x464f56,0x628,0x61b,_0x267de5._0x20fecb)],'cwd':_0xc03996,'shellPath':_0x2edfc7});}const _0x68a082=[],_0x33f66b=[],_0x7b91a3=new _0x322b7d('utf8'),_0x324687=new _0x322b7d(_0x168cdf(-_0x267de5._0x313676,0x75,-0x4f,0x12a));let _0x5ab840,_0xef48c9=![],_0x417e03;const _0x31ecf4=()=>{if(!_0x5ab840)return;const _0x441b6c=_0x5ab840;_0x5ab840=void 0x0,_0x441b6c();},_0x37111f=async()=>{if(_0x33f66b[_0xb39056(_0x1d72a3._0x1b8939,0x489,_0x1d72a3._0x45ff6a,0x4ae)]>0x0||_0xef48c9)return;function _0xb39056(_0x3c9bb5,_0x102657,_0x2cda46,_0x47d905){return _0x168cdf(_0x3c9bb5-_0x524cd5._0x32fdd6,_0x47d905-0x3ca,_0x2cda46-0x3c,_0x3c9bb5);}await new Promise(_0x3b6d23=>{_0x5ab840=_0x3b6d23;});},_0x264a1b=_0x15be7b=>{function _0x1fe5ab(_0x55cc30,_0x49457e,_0xcc5ede,_0x4149c0){return _0x1b368d(_0xcc5ede,_0x49457e-0x5b,_0xcc5ede-_0x290149._0x149aa2,_0x4149c0-_0x290149._0x2e75a9);}appendChunk(_0x68a082,_0x33f66b,_0x7b91a3[_0x1fe5ab(0x7f3,_0x3f430e._0x5adc21,_0x3f430e._0x288f52,0x73e)](_0x15be7b),_0x2924e7,_0x31ecf4);},_0x41b06d=_0x8440f7=>{const _0x5e4ad9={_0x3a188c:0x195,_0x4f8b3a:0x185,_0x5575d3:0x38};function _0x4d1b6f(_0x29bcb5,_0x3d2350,_0x4faa4e,_0x52d427){return _0x1b368d(_0x52d427,_0x29bcb5- -_0x5e4ad9._0x3a188c,_0x4faa4e-_0x5e4ad9._0x4f8b3a,_0x52d427-_0x5e4ad9._0x5575d3);}appendChunk(_0x68a082,_0x33f66b,_0x324687[_0x4d1b6f(_0x22c7ea._0x5d543f,0x472,_0x22c7ea._0x83e6c5,_0x22c7ea._0xf7bdd9)](_0x8440f7),_0x2924e7,_0x31ecf4);};_0x1d1f7e[_0x1b368d(0x7da,0x690,_0x267de5._0x1d61f7,0x62b)]?.['on'](_0x1b368d(0x61a,_0x267de5._0x3ae613,0x643,0x6d6),_0x264a1b),_0x1d1f7e['stderr']?.['on'](_0x168cdf(0x29c,0x193,_0x267de5._0x4a27cf,0x25e),_0x41b06d);let _0x9b6cc3=![];function _0x1b368d(_0xd4b2ea,_0x92c35a,_0x3be8c1,_0x4f57e8){return _0x2b8320(_0x92c35a-_0x565c4a._0x38084e,_0xd4b2ea,_0x3be8c1-_0x565c4a._0x5e6dc,_0x4f57e8-_0x565c4a._0x337829);}let _0x4a814d;const _0x7c0210=addAbortListener(_0x41ec4d[_0x1b368d(_0x267de5._0x1edffe,_0x267de5._0x477594,_0x267de5._0x1af024,0x574)],()=>{const _0x529a74={_0x228894:0x110};_0x417e03=toAbortError(_0x41ec4d['signal'][_0x97fb98(0x21,-_0x7fd284._0x45a0e7,-_0x7fd284._0xb1f6f,-0xc0)]),_0xef48c9=!![],_0x31ecf4();function _0x97fb98(_0x34966,_0x3a914f,_0x52d64b,_0x5288e6){return _0x168cdf(_0x34966-_0x529a74._0x228894,_0x5288e6- -0x8f,_0x52d64b-0x103,_0x34966);}try{killProcessGroup(_0x1d1f7e,_0xf29693);}catch{}});try{const _0xa460d1=new Promise((_0x3a8381,_0x15062e)=>{const _0x34de83={_0x2dcbca:0x472,_0x13a0c3:0x151},_0x16da89={_0x573946:0x703,_0x53e12f:0x822,_0x4bd3d0:0x6dd,_0x564623:0x112,_0x4ab913:0x26c,_0xf68f87:0x141,_0x5c6894:0x62d,_0x297d49:0x5df},_0x3cf42c={_0xd0da84:0x2da},_0x263cde={_0x47fcad:0x172,_0x3e81e8:0xb1,_0x227bde:0xef,_0x284862:0xa2,_0x5ccab0:0x142},_0x16b4fd=()=>{function _0x567765(_0x4af372,_0xeefeec,_0x34c72e,_0xcacd3b){return _0x380c(_0x34c72e- -0x2d4,_0xcacd3b);}_0x4a814d&&(clearTimeout(_0x4a814d),_0x4a814d=void 0x0);_0x1d1f7e[_0x5eb90a(0x1db,0xe0,_0x263cde._0x47fcad,_0x263cde._0x3e81e8)](_0x567765(-0x1d0,-0x26b,-_0x263cde._0x227bde,0x3c),_0x5b3773);function _0x5eb90a(_0x4c2a82,_0x11e92e,_0x4efebe,_0x18430a){return _0x380c(_0x18430a- -0x285,_0x11e92e);}_0x1d1f7e['off'](_0x567765(-_0x263cde._0x284862,0x4b,0x88,_0x263cde._0x5ccab0),_0x1518fa);},_0x5b3773=_0x47bf26=>{_0xef48c9=!![],_0x31ecf4(),_0x16b4fd(),_0x15062e(_0x417e03??_0x47bf26);},_0x1518fa=(_0x2bb293,_0x246db8)=>{const _0x3a8863={_0x57fab0:0x100};function _0x48fc1d(_0x1e5db4,_0x1006ce,_0x5100e0,_0x40683d){return _0x380c(_0x5100e0- -_0x3a8863._0x57fab0,_0x1006ce);}_0x9b6cc3=!![],appendChunk(_0x68a082,_0x33f66b,_0x7b91a3[_0x48fc1d(0x138,-_0x43e54b._0x28c1f4,0x60,0x45)](),_0x2924e7,_0x31ecf4);function _0x3c4ab3(_0x4aee57,_0x3ce77b,_0x6eb0d2,_0x290bc6){return _0x380c(_0x6eb0d2-0x4e,_0x290bc6);}appendChunk(_0x68a082,_0x33f66b,_0x324687[_0x48fc1d(_0x43e54b._0x520b9e,0xc,0x60,-0xfb)](),_0x2924e7,_0x31ecf4),_0xef48c9=!![],_0x31ecf4(),_0x16b4fd();if(_0x417e03){_0x15062e(_0x417e03);return;}_0x3a8381({'code':_0x2bb293,'signal':_0x246db8});};function _0x24942f(_0xd3efb1,_0x2f0e68,_0x122dc8,_0x4643a7){return _0x168cdf(_0xd3efb1-_0x4b561b._0x828232,_0x2f0e68-0x3c1,_0x122dc8-0x1cd,_0xd3efb1);}_0x4a814d=setTimeout(()=>{_0xef48c9=!![],_0x31ecf4(),_0x16b4fd();try{killProcessGroup(_0x1d1f7e,_0xf29693);}catch{}function _0x444a84(_0x264eb8,_0x47ca28,_0x1e9b30,_0xf0421d){return _0x380c(_0x264eb8- -0x17a,_0x1e9b30);}function _0x3b1b7d(_0x1817be,_0x55edbd,_0x430dfc,_0x5dbcd2){return _0x380c(_0x5dbcd2-_0x3cf42c._0xd0da84,_0x1817be);}_0x15062e(new ToolExecutionError(_0x3b1b7d(_0x16da89._0x573946,_0x16da89._0x53e12f,0x639,_0x16da89._0x4bd3d0)+_0x353df6+_0x444a84(_0x16da89._0x564623,_0x16da89._0x4ab913,_0x16da89._0xf68f87,0xf9),{'command':_0x208944[_0x3b1b7d(_0x16da89._0x5c6894,0x63a,_0x16da89._0x297d49,0x673)],'cwd':_0xc03996,'shellPath':_0x2edfc7,'timeoutMs':_0x353df6,'timedOut':!![]}));},_0x353df6),_0x1d1f7e[_0x24942f(0x5dc,0x4a9,_0x252a1b._0xbe0116,0x5e2)](_0x24942f(0x4ed,_0x252a1b._0x3d08a2,_0x252a1b._0x35189b,0x4a4),_0x5b3773);function _0xabcd96(_0x4bd609,_0x2d7358,_0x744f11,_0x1a8354){return _0x168cdf(_0x4bd609-0x19f,_0x2d7358-_0x34de83._0x2dcbca,_0x744f11-_0x34de83._0x13a0c3,_0x4bd609);}_0x1d1f7e[_0x24942f(_0x252a1b._0x1ed3b7,_0x252a1b._0x488299,_0x252a1b._0x17ce49,_0x252a1b._0xf4dae4)]('close',_0x1518fa);});while(_0x33f66b[_0x1b368d(_0x267de5._0xc19829,0x58b,_0x267de5._0xbcc376,_0x267de5._0x111496)]>0x0||!_0xef48c9){if(_0x33f66b[_0x1b368d(_0x267de5._0x5d6fe4,0x58b,_0x267de5._0x499854,_0x267de5._0x111496)]===0x0){await _0x37111f();continue;}const _0x5a01f7=_0x33f66b[_0x1b368d(0x2a4,_0x267de5._0x4e2ab8,0x46c,0x450)]();_0x5a01f7!==void 0x0&&(yield _0x5a01f7);}const _0x1d30f9=await _0xa460d1,_0x3487f9=_0xbcc9f4?_0x168cdf(_0x267de5._0x3f7b4e,_0x267de5._0x14a92c,-_0x267de5._0xb262aa,_0x267de5._0x12880c)+(_0x1d30f9[_0x1b368d(0x6ce,0x576,0x45d,0x6e6)]??0x0):_0x68a082[_0x1b368d(0x3c6,_0x267de5._0x5a8593,0x618,_0x267de5._0x59f115)](''),_0x53e926={'command':_0x208944[_0x1b368d(_0x267de5._0x52d8cc,0x628,0x7a2,_0x267de5._0x5dcfdc)],'description':_0x208944['description'],'cwd':_0xc03996,'exitCode':_0x1d30f9[_0x168cdf(_0x267de5._0x4fdec5,_0x267de5._0x365e05,-0x63,-_0x267de5._0x4bb3fc)]??0x0,'signal':_0x1d30f9[_0x1b368d(_0x267de5._0x4bd2fb,_0x267de5._0x49214e,_0x267de5._0x1d1479,0x583)],'ignoreOutput':_0xbcc9f4,'shellPath':_0x2edfc7,'timeoutMs':_0x353df6};if(_0x1d30f9[_0x1b368d(0x443,0x576,0x48d,0x4e9)]!==0x0)throw new ToolExecutionError(_0x3487f9||_0x1b368d(_0x267de5._0x2c64b3,_0x267de5._0x18dbf6,_0x267de5._0x555a0e,0x67d)+(_0x1d30f9[_0x168cdf(_0x267de5._0x46c03b,_0x267de5._0x365e05,_0x267de5._0x1083d2,-0x73)]??0x0),_0x53e926);return createToolOutput(_0x3487f9,_0x53e926);}catch(_0x53f9bb){while(_0x33f66b['length']>0x0){const _0x5a9e67=_0x33f66b[_0x168cdf(-_0x267de5._0x5272bf,-_0x267de5._0x8b42eb,0x9f,-0x167)]();_0x5a9e67!==void 0x0&&(yield _0x5a9e67);}if(_0x53f9bb instanceof ToolExecutionError)throw _0x53f9bb;if(_0x417e03)throw _0x417e03;throw mapSpawnError(_0x53f9bb,{'command':_0x208944[_0x168cdf(0x185,0x181,0x2ca,_0x267de5._0x5d9933)],'cwd':_0xc03996,'shellPath':_0x2edfc7});}finally{_0x4a814d&&clearTimeout(_0x4a814d);_0x7c0210(),_0x1d1f7e[_0x1b368d(_0x267de5._0x4ee59b,0x690,0x638,_0x267de5._0x16bfb1)]?.[_0x1b368d(_0x267de5._0x57e36f,0x5c5,_0x267de5._0x52143f,_0x267de5._0x5abf2a)]('data',_0x264a1b),_0x1d1f7e[_0x1b368d(_0x267de5._0x15e350,_0x267de5._0xa2942b,0x5b2,_0x267de5._0x2d3027)]?.[_0x168cdf(0x24b,_0x267de5._0x4d540f,_0x267de5._0x294348,0x14a)](_0x1b368d(0x533,_0x267de5._0x11efe5,_0x267de5._0x1dbec9,0x52a),_0x41b06d);if(!_0x9b6cc3&&_0x1d1f7e[_0x1b368d(0x5cd,_0x267de5._0x558bb0,0x6b0,0x553)]&&!_0x1d1f7e[_0x168cdf(-_0x267de5._0x5adbbb,-_0x267de5._0x1ef3d2,-_0x267de5._0x189a0f,-_0x267de5._0x23ab40)])try{killProcessGroup(_0x1d1f7e,_0xf29693);}catch{}}}});}function createShellExecTool(_0x14b786={}){return createBashTool(_0x14b786);}import{readdir,readFile as _0x192f0f}from'fs/promises';import{extname,join as _0x522890}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x1c0064,join,relative as _0x6a96fd,resolve as _0x165c23}from'path';import{readdir as _0x1c6238,readFile as _0x46141f}from'fs/promises';import{join as _0x6addf2,relative as _0x3c0fd3,sep}from'path';import{delimiter}from'path';import{mkdir as _0x18d135,rm,stat as _0x4d924f,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x1ea993}from'path';import{unwatchFile,watchFile}from'fs';import{readFile as _0x2e42b3,rename,writeFile as _0x33bd16}from'fs/promises';import{homedir as _0x3ab7ad}from'os';import{dirname as _0x1a57f1,isAbsolute as _0x49a840,join as _0x438c32,resolve as _0x5a432c}from'path';import{parse as _0x552c12,stringify as _0x49cc0c}from'yaml';import{cp,mkdir as _0x5a27d8,readFile as _0x374bdc,rm as _0x31e670,writeFile as _0x3b088b}from'fs/promises';import{homedir}from'os';import{join as _0x854420}from'path';import{parse as _0x1317c1,stringify as _0x345b8d}from'yaml';import{z}from'zod';import{readdir as _0x51224e,readFile as _0x43d078}from'fs/promises';import{join as _0x26741f}from'path';import{mkdir as _0x1c3f15,readFile as _0x3bbd58,rm as _0x1b5d17,writeFile as _0x552725}from'fs/promises';import{homedir as _0xf95995}from'os';import{basename,isAbsolute as _0x2b3b2e,join as _0xa24343,relative as _0x5143b5,resolve as _0x4e852f}from'path';import{parse as _0x210a6c,stringify as _0x3660a4}from'yaml';import{delimiter as _0x10a88c,resolve as _0x44618a}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x228f04){const _0x16bb01={_0x3dd688:0x217,_0x42a1ff:0x43d,_0x38b47b:0x516,_0x5615bd:0x5b4,_0x174964:0x516,_0x5613bc:0x315,_0xa61688:0x380,_0x4c5e71:0x3be,_0x3794b3:0x398,_0x18cb04:0x330,_0x5006c9:0x5f4,_0x3e0c52:0x467},_0x1eba57={_0x4fd5ae:0x40b,_0x1062d5:0x14d},_0x12d2ee={_0x589a19:0x8,_0x97d06:0x275,_0x4f94c1:0x64},_0x378f82=[];let _0x10d880='',_0x41492f=0x0;while(_0x41492f<_0x228f04[_0x1e47b1(_0x16bb01._0x3dd688,0x30f,_0x16bb01._0x42a1ff,0x380)]){const _0x595a70=_0x228f04[_0x41492f];if(_0x595a70==='\x5c'&&_0x41492f+0x1<_0x228f04[_0x1bf0c1(0x617,_0x16bb01._0x38b47b,_0x16bb01._0x5615bd,0x4b6)])_0x10d880+=_0x228f04[_0x41492f+0x1],_0x41492f+=0x2;else{if(_0x595a70==='\x22'||_0x595a70==='\x27'){const _0x379a3b=_0x595a70;_0x41492f++;while(_0x41492f<_0x228f04[_0x1bf0c1(0x65f,_0x16bb01._0x174964,0x629,0x460)]&&_0x228f04[_0x41492f]!==_0x379a3b){_0x228f04[_0x41492f]==='\x5c'&&_0x41492f+0x1<_0x228f04[_0x1e47b1(0x416,0x4be,_0x16bb01._0x5613bc,_0x16bb01._0xa61688)]?(_0x10d880+=_0x228f04[_0x41492f+0x1],_0x41492f+=0x2):(_0x10d880+=_0x228f04[_0x41492f],_0x41492f++);}_0x41492f++;}else _0x595a70!==void 0x0&&/\s/['test'](_0x595a70)?(_0x10d880&&(_0x378f82[_0x1e47b1(_0x16bb01._0x4c5e71,_0x16bb01._0x3794b3,0x32d,_0x16bb01._0x18cb04)](_0x10d880),_0x10d880=''),_0x41492f++):(_0x10d880+=_0x595a70,_0x41492f++);}}function _0x1e47b1(_0x54b2e8,_0x21c251,_0x2e2b92,_0x237945){return _0x419223(_0x54b2e8-_0x12d2ee._0x589a19,_0x2e2b92,_0x237945-_0x12d2ee._0x97d06,_0x237945-_0x12d2ee._0x4f94c1);}if(_0x10d880)_0x378f82[_0x1bf0c1(_0x16bb01._0x5006c9,0x4c6,_0x16bb01._0x3e0c52,0x49a)](_0x10d880);function _0x1bf0c1(_0x563f45,_0x59d4a3,_0x165748,_0x4c72eb){return _0x419223(_0x563f45-0x1e5,_0x165748,_0x59d4a3-_0x1eba57._0x4fd5ae,_0x4c72eb-_0x1eba57._0x1062d5);}return _0x378f82;}function renderCommandInstructions(_0x49b589){const _0x1c14d4={_0x3fac5d:0x1c7,_0x25eea5:0xf4,_0x34ef21:0x307,_0x213a34:0x112,_0x2ed93b:0x1d1,_0x16bb92:0x86,_0x2ae199:0x2b5,_0x512457:0x2d6,_0x4cece1:0x1bb,_0x134e75:0x48,_0xd50512:0x14,_0xec00db:0x122,_0x5ebd8a:0x56,_0x135eb9:0x9d,_0x52a813:0x122,_0x363388:0x296,_0xa2a972:0x214,_0x4c3cea:0x176,_0x4b2d53:0x1b8,_0x32277d:0xd9,_0x470fa4:0xe8,_0x123837:0x18f},_0x3ae4c6={_0x261d33:0x182};let _0x194f50=_0x49b589['instructions'],_0x2b9748=![];function _0x546937(_0xf75199,_0x2ac171,_0x3a3c4f,_0x3957a3){return _0x419223(_0xf75199-0x170,_0x2ac171,_0x3957a3- -0x12d,_0x3957a3-0x84);}const _0x3cfc6a=tokenizeCommandArguments(_0x49b589[_0x546937(-0xa5,-0x15e,-0x266,-_0x1c14d4._0x3fac5d)]);function _0xc05884(_0x37eec8,_0x16ede5,_0xd75de2,_0x30a174){return _0x419223(_0x37eec8-0x1c5,_0x16ede5,_0x37eec8-_0x3ae4c6._0x261d33,_0x30a174-0x11b);}_0x194f50=_0x194f50[_0xc05884(0x122,0x80,0x137,_0x1c14d4._0x25eea5)](/\$ARGUMENTS\[(\d+)\]/g,(_0xac5021,_0x38b3d7)=>{return _0x2b9748=!![],_0x3cfc6a[Number(_0x38b3d7)]??'';}),_0x194f50=_0x194f50[_0x546937(-0x14d,-0x8f,-_0x1c14d4._0x34ef21,-0x18d)](/\$ARGUMENTS\b/g,()=>{return _0x2b9748=!![],_0x49b589['argumentsText'];});if(_0x49b589[_0xc05884(0x1d1,0x9f,0x2c8,_0x1c14d4._0x213a34)]&&_0x49b589[_0xc05884(_0x1c14d4._0x2ed93b,0xad,_0x1c14d4._0x16bb92,0x25a)][_0xc05884(0x28d,0x369,0x161,_0x1c14d4._0x2ae199)]>0x0)for(let _0x6594ff=0x0;_0x6594ff<_0x49b589[_0xc05884(0x1d1,0x20a,_0x1c14d4._0x512457,_0x1c14d4._0x4cece1)][_0x546937(_0x1c14d4._0x134e75,-_0x1c14d4._0xd50512,-0x60,-0x22)];_0x6594ff++){const _0x23dd96=_0x49b589['argumentNames'][_0x6594ff];if(_0x23dd96){const _0x4c6680=new RegExp('\x5c$'+_0x23dd96+'\x5cb','g');_0x194f50=_0x194f50[_0xc05884(_0x1c14d4._0xec00db,0xe9,-_0x1c14d4._0x5ebd8a,_0x1c14d4._0x135eb9)](_0x4c6680,()=>{return _0x2b9748=!![],_0x3cfc6a[_0x6594ff]??'';});}}return _0x194f50=_0x194f50[_0xc05884(_0x1c14d4._0x52a813,0x3b,0x120,-0x17)](/\$(\d+)\b/g,(_0x4dfb72,_0x2d74fb)=>{return _0x2b9748=!![],_0x3cfc6a[Number(_0x2d74fb)]??'';}),!_0x2b9748&&_0x49b589['argumentsText'][_0x546937(-_0x1c14d4._0x363388,-_0x1c14d4._0xa2a972,-_0x1c14d4._0x4c3cea,-_0x1c14d4._0x4b2d53)]()&&(_0x194f50=_0x194f50+_0xc05884(0x1db,_0x1c14d4._0x32277d,0x135,0x10b)+_0x49b589[_0xc05884(_0x1c14d4._0x470fa4,0xa,_0x1c14d4._0x123837,-0x4c)]),_0x194f50;}var PROVIDER_API_KEY_ENVS=[{'env':_0x283a7f(-0x77,0x75,0x1ac,-0xb5),'provider':_0x283a7f(0x188,0xac,-0x36,0x17d)},{'env':_0x419223(-0x25,-0x47,0xee,0x1d1),'provider':'anthropic'},{'env':_0x283a7f(0x241,0x266,0x3df,0x368),'provider':_0x283a7f(0x215,0x2e0,0x26f,0x433)},{'env':_0x419223(0x270,0x260,0x111,0x28a),'provider':_0x419223(0x342,0x10c,0x218,0x1cf)},{'env':_0x283a7f(-0x3d,0x81,-0x27,-0x90),'provider':_0x283a7f(0x141,0xb9,0x152,0x1d6)},{'env':_0x283a7f(0x317,0x224,0x2d0,0x22b),'provider':_0x283a7f(0x451,0x2d5,0x26f,0x253)},{'env':_0x283a7f(0x17d,0x284,0x375,0x387),'provider':_0x283a7f(-0x88,0x2d,-0x72,-0x98)},{'env':_0x283a7f(0x1f9,0x227,0x156,0x199),'provider':_0x419223(0x4a,0x1c1,0x126,0x24f)},{'env':_0x419223(0xe7,-0xcc,0xa8,-0x4d),'provider':_0x419223(-0x6f,0x177,0xf5,0x1d2)},{'env':_0x283a7f(0x344,0x23e,0x106,0x36b),'provider':_0x419223(0x274,0x1e7,0x22d,0x273)},{'env':_0x283a7f(0x24d,0xd8,0x80,-0x10),'provider':'deepseek'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x283a7f(0x37b,0x232,0x204,0xe8)](_0x280d22=>_0x280d22['env']),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY',_0x283a7f(0x2e5,0x24a,0x265,0x303),_0x419223(0x146,0x27b,0x1b9,0xca)],chatModelAuthSchemeSchema=z[_0x283a7f(0x256,0x203,0xc9,0x34d)]([_0x419223(-0x11f,0xe8,-0x8f,0x8f),_0x419223(-0xbd,-0x182,-0xd,0x6a)]),apiKeyAuthSchema=z[_0x419223(0x52,0x40,0xa7,0x129)]({'type':z[_0x419223(0x25b,0x2e9,0x207,0x17d)](_0x283a7f(0x10c,0x11f,0x85,0x1be)),'apiKey':z[_0x419223(0x2a3,0xc1,0x130,0x131)](),'authScheme':chatModelAuthSchemeSchema[_0x283a7f(0x104,0x12a,0x2a3,0x26a)]()})[_0x419223(0x18d,0x71,0x109,-0x6a)](),oauthAuthSchema=z['object']({'type':z[_0x419223(0x21d,0x138,0x207,0x29a)](_0x419223(0x10,0x6,0x1a,-0xb)),'access':z[_0x283a7f(0x122,0x1f8,0x1be,0x142)](),'refresh':z[_0x283a7f(0x2d7,0x1f8,0x287,0xab)](),'expires':z[_0x419223(-0x7,-0x55,0x9,0xe0)]()[_0x283a7f(0x34,0x12a,0x1c4,0x1e7)](),'authScheme':chatModelAuthSchemeSchema[_0x419223(0x5b,-0x9e,0x62,-0x6e)]()})[_0x419223(0x148,0x14a,0x109,-0xb)](),authMethodSchema=z[_0x419223(0x10,0x1fc,0x99,0xdd)]([apiKeyAuthSchema,oauthAuthSchema]),modelDefinitionSchema=z[_0x419223(0x195,0x12d,0xa7,0x38)]({'id':z[_0x283a7f(0x1a8,0x1f8,0xad,0x17c)](),'name':z['string']()[_0x419223(-0xd9,-0x6d,0x62,0x198)]()})['passthrough'](),modelConfigSchema=z['union']([z[_0x419223(0x1c8,0x31c,0x207,0x2d5)](![]),z['literal'](!![]),z[_0x283a7f(0x1c0,0x1f8,0x36a,0x28b)](),z[_0x283a7f(0x10f,0x286,0x397,0x308)](z[_0x419223(0xd5,0xcf,0x130,0x79)]()),z['array'](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x283a7f(0x16f,0x203,0x2d4,0x264)](['anthropic-messages',_0x283a7f(0x184,0x20f,0x1d4,0x130),'openai-responses',_0x419223(0x200,-0x4c,0x93,0x130)]),providerConfigSchema=z['object']({'apiKey':z[_0x419223(0x2d,0x1c2,0x130,0x82)]()[_0x283a7f(0x107,0x12a,0xb6,0xec)](),'token':z[_0x283a7f(0x279,0x1f8,0x1a2,0x30c)]()[_0x419223(0xd4,0x96,0x62,-0x21)](),'defaultModel':z['string']()[_0x283a7f(0x4c,0x12a,0x83,0x249)](),'smallModel':z[_0x419223(0x281,0x222,0x130,0x27b)]()[_0x419223(0xd8,0x1e,0x62,0xd8)](),'currentAuth':z[_0x419223(0x20e,0x5a,0x130,0x1d4)]()['optional'](),'auth':z[_0x419223(0x2fe,0x24e,0x1be,0x68)](authMethodSchema)[_0x283a7f(0x177,0x12a,0x28e,-0x4f)](),'surface':chatModelSurfaceSchema['optional'](),'baseUrl':z['string']()['optional'](),'models':modelConfigSchema[_0x283a7f(0x239,0x12a,0xd8,0x256)](),'customHeaders':z['record'](z[_0x283a7f(0x1af,0x1f8,0x2b8,0x11a)](),z[_0x419223(0x1fd,0x210,0x130,-0x40)]())['optional']()})['passthrough'](),mcpServerConfigSchema=z[_0x283a7f(0x9f,0x16f,0x53,0x2a6)]({'command':z[_0x283a7f(0x176,0x1f8,0x332,0x276)]()[_0x283a7f(0x1b3,0x12a,0xb,0x118)](),'args':z[_0x419223(0x142,0x228,0x1be,0x1f1)](z[_0x283a7f(0x340,0x1f8,0x143,0x19d)]())[_0x283a7f(0xf5,0x12a,0x43,0x147)](),'env':z[_0x283a7f(0x191,0x153,0x36,0x105)](z[_0x283a7f(0x187,0x1f8,0x350,0x304)](),z[_0x419223(0x2a3,0x1c7,0x130,0xe2)]())[_0x283a7f(0x1f7,0x12a,0xb9,0x27c)](),'transport':z['enum'](['stdio',_0x283a7f(-0xf8,0x7b,0xf8,-0x62)])[_0x283a7f(0x29b,0x12a,0x131,0x199)](),'url':z['string']()[_0x419223(-0xf0,-0xd5,0x62,0xb5)](),'headers':z[_0x283a7f(0xf4,0x153,0xc8,-0x10)](z['string'](),z['string']())[_0x419223(-0x4c,0x32,0x62,-0x41)](),'prefix':z[_0x419223(0x245,0x1a1,0x130,0xa9)]()[_0x419223(0x15f,0x5c,0x62,0x4b)](),'timeoutMs':z[_0x419223(-0x60,-0x6f,0x9,-0xec)]()['optional'](),'enabled':z[_0x283a7f(0xc1,0x9b,0x1fc,0x12f)]()['optional'](),'auth':z[_0x419223(-0x9e,-0xc3,0xa7,0xf2)]({'type':z[_0x283a7f(0x2e0,0x203,0xa1,0x302)]([_0x419223(0xc7,-0x11d,0x2e,0x12),_0x283a7f(-0x26,0x39,-0x91,0x64),_0x419223(-0x15,-0x6f,0x1a,0x85)]),'token':z['string']()[_0x419223(-0xf4,0x133,0x62,0x3e)](),'oauth':z[_0x283a7f(0x29e,0x16f,0x22d,0x19e)]({'clientId':z[_0x419223(0x1aa,0x2ab,0x130,0x123)]()[_0x419223(-0xa5,0x17,0x62,-0x103)](),'clientMetadataUrl':z['string']()[_0x419223(0x133,-0x8b,0x62,0x29)](),'authorizationServer':z[_0x419223(0x200,0x190,0x130,0x15f)]()[_0x283a7f(0xd5,0x12a,0x1b8,0xd)](),'scopes':z['array'](z[_0x283a7f(0x17f,0x1f8,0x2e3,0x254)]())[_0x419223(-0x45,0x82,0x62,-0x39)](),'tokenStorageKey':z[_0x283a7f(0x126,0x1f8,0x35c,0x19f)]()[_0x419223(-0x4d,0xba,0x62,0x195)]()})[_0x283a7f(0xdb,0x1d1,0x21d,0x179)]()[_0x419223(0x18a,0x1b,0x62,-0xdd)]()})[_0x419223(-0x5f,0x4d,0x109,0x1a3)]()['optional']()})['passthrough'](),mcpSettingsSchema=z[_0x283a7f(0xc0,0x16f,0x1d0,0x6f)]({'servers':z['record'](z[_0x283a7f(0xa4,0x1f8,0x307,0x369)](),mcpServerConfigSchema)[_0x283a7f(0x159,0x12a,-0x11,0x23c)](),'allowedTools':z[_0x419223(-0x14,0x12a,0x8b,0x50)](z[_0x283a7f(0x149,0x1f8,0x13f,0x24c)](),z[_0x283a7f(0x93,0x153,0x1da,0xea)](z[_0x283a7f(0x1a6,0x1f8,0x7b,0x128)](),z['boolean']()))[_0x283a7f(0x84,0x12a,0xed,0x46)](),'defaultTimeoutMs':z[_0x283a7f(0xcd,0xd1,0x19e,0xa5)]()[_0x419223(0x116,0x88,0x62,-0x54)]()})[_0x283a7f(0xd7,0x1d1,0x171,0x2aa)](),skillsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x283a7f(0x258,0x12a,0xa,0x1a8)](),'includeDefaults':z[_0x283a7f(-0x8,0x9b,-0x80,0x16f)]()[_0x283a7f(0x83,0x12a,-0xf,0x1dc)](),'directories':z['array'](z[_0x419223(0x165,0x289,0x130,0xdc)]())[_0x283a7f(0x172,0x12a,0x1d0,0xef)](),'exclude':z[_0x419223(0x27b,0xcb,0x1be,0x45)](z['string']())[_0x283a7f(0x23e,0x12a,0x217,0x7c)]()})[_0x283a7f(0x129,0x1d1,0x2bf,0x208)](),commandsSettingsSchema=z[_0x419223(0x1c0,-0x1,0xa7,0x84)]({'enabled':z[_0x419223(-0x10f,0xe0,-0x2d,-0xfa)]()[_0x419223(0x13f,-0xa6,0x62,0x173)](),'directories':z['array'](z[_0x419223(-0x2a,0x1dc,0x130,0x193)]())[_0x283a7f(-0x34,0x12a,-0x23,0xfc)]()})[_0x283a7f(0x23e,0x1d1,0x287,0x23f)](),agentsSettingsSchema=z[_0x283a7f(0x1d7,0x16f,-0xd,0x2b7)]({'enabled':z[_0x419223(0x9,0x107,-0x2d,-0xb4)]()[_0x419223(-0x52,0xdc,0x62,-0x9c)](),'includeDefaults':z[_0x283a7f(0x79,0x9b,0xf0,-0xc1)]()[_0x419223(0x13b,0x195,0x62,-0x48)](),'directories':z['array'](z[_0x283a7f(0x232,0x1f8,0x9d,0x1e6)]())[_0x419223(0x10e,0x4c,0x62,-0x59)]()})[_0x283a7f(0x1e6,0x1d1,0x11a,0x21c)](),uiThemeSettingsSchema=z[_0x283a7f(0x2d9,0x16f,0xe7,0x2c8)]({'mode':z['enum']([_0x283a7f(0x174,0x2ac,0x247,0x3fe),_0x419223(0x262,0x15c,0x222,0x384),'light'])[_0x419223(0x19b,0x177,0x62,0x1ba)](),'colorLevel':z[_0x283a7f(0x14a,0x203,0x317,0x36e)](['auto',_0x283a7f(0xb9,0xf6,0x168,-0x1e),_0x283a7f(0x77,0x111,-0x31,0x51),'ansi256',_0x419223(0x1c1,0xd2,0xa6,-0xd1)])[_0x283a7f(0x6e,0x12a,0x9c,0x99)](),'backgrounds':z[_0x283a7f(0x1b3,0x203,0x1c9,0xaf)]([_0x419223(0x322,0x164,0x1e4,0x1b2),'on',_0x283a7f(0x319,0x20d,0x15d,0x18a)])[_0x283a7f(0x271,0x12a,0x147,0x10e)](),'messageStyle':z['enum']([_0x283a7f(0x30b,0x2a8,0x2d5,0x2fc),_0x419223(0x17b,0x2ee,0x186,0x23e)])[_0x283a7f(0x29d,0x12a,0xd4,0x292)]()})[_0x419223(0x25e,-0x38,0x109,-0x19)](),statuslineSegmentSchema=z[_0x419223(0xe,0x17e,0x13b,0x8a)]([_0x283a7f(0x12c,0x34,0x7f,-0xbc),_0x419223(0x208,0x204,0x237,0x2be),_0x283a7f(-0xf2,0x2c,-0x7a,-0x62),'sudo',_0x283a7f(0x11f,0xe7,0x253,0x20a),_0x283a7f(-0x3b,0x71,0x2b,0xb1),_0x419223(-0x11e,-0x4d,-0xb,-0xce),'requests',_0x419223(0x25e,0x280,0x16e,0x288),_0x283a7f(0x1ba,0xae,-0x37,0x20),_0x419223(-0x173,-0x7a,-0x1e,-0xd8),_0x419223(0x240,0x261,0x133,0xde),_0x419223(-0x16,0xf6,0xf7,0x180),'memory',_0x419223(0x2ab,0x1a6,0x1ce,0x1a7)]),statuslineItemSchema=z[_0x419223(-0x17,-0x83,0x99,0x156)]([statuslineSegmentSchema,z[_0x419223(0x261,0x2ab,0x207,0xe5)]('|')]),statuslineRowSchema=z[_0x419223(0x5a,0xcd,0x1be,0x1c9)](statuslineItemSchema),statuslineConfigSchema=z[_0x419223(0xd7,0x63,0xa7,-0xb6)]({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])['optional']()})['passthrough'](),memorySettingsSchema=z[_0x283a7f(0x62,0x16f,0x1a8,0x52)]({'version':z['literal'](0x2)[_0x419223(-0xf5,-0x10a,0x62,0xb0)](),'retrieval':z[_0x419223(0x1a1,0x136,0xa7,-0x5d)]({'engine':z[_0x419223(0x306,0x2a1,0x207,0xf6)](_0x419223(0x1f6,0x1aa,0xe7,0x163))[_0x419223(0xc5,-0x42,0x62,0x2)](),'candidateLimit':z[_0x283a7f(0x238,0xd1,0xc6,0x1f7)]()['optional'](),'activeCandidateLimit':z[_0x419223(0x23,0x137,0x9,0x94)]()[_0x419223(0x127,-0x20,0x62,0x12f)](),'activeEnabled':z[_0x283a7f(0x106,0x9b,-0x8e,0x120)]()[_0x283a7f(0x265,0x12a,0x179,0x68)](),'maxQueriesPerTurn':z[_0x419223(-0x30,-0x162,0x9,-0x102)]()['optional'](),'coreInjectTokenBudget':z[_0x283a7f(0x1a1,0xd1,0x15f,0x143)]()[_0x283a7f(0x5a,0x12a,0x48,0x19c)](),'injectTokenBudget':z[_0x419223(0x2b,-0x44,0x9,0x165)]()[_0x283a7f(0x240,0x12a,0x3f,-0x48)](),'minScore':z[_0x419223(-0xd9,-0x2c,0x9,-0x109)]()[_0x283a7f(0x172,0x12a,-0x35,0x1a0)](),'freshnessHalfLifeDays':z[_0x283a7f(0x1d2,0xd1,0x1ee,0x225)]()[_0x283a7f(0x5,0x12a,-0x3d,0x1b7)]()})['passthrough']()[_0x283a7f(0x85,0x12a,-0x2d,0x17e)](),'extraction':z[_0x419223(0x2b,0x176,0xa7,-0xa5)]({'enabled':z[_0x283a7f(0xa3,0x9b,-0x32,0x175)]()['optional'](),'provider':z['string']()[_0x283a7f(0xb5,0x12a,0x31,0xc3)](),'model':z['string']()['optional'](),'sensitiveFilter':z[_0x419223(-0x15b,0x102,-0x2d,-0x107)]()[_0x283a7f(0x128,0x12a,0x7f,0xfa)]()})[_0x283a7f(0x1d1,0x1d1,0x65,0x237)]()[_0x283a7f(0x1c6,0x12a,0x185,0x34)](),'index':z[_0x283a7f(0x121,0x16f,0x11f,0x1f1)]({'persisted':z[_0x283a7f(0x212,0x9b,0x209,-0x9a)]()[_0x283a7f(0x99,0x12a,0x1e,0x1a9)](),'flushIntervalMs':z[_0x283a7f(0xe5,0xd1,-0x58,0x1cd)]()[_0x419223(0x27,0x19e,0x62,-0x7a)]()})[_0x283a7f(0x319,0x1d1,0x343,0x2b4)]()[_0x419223(0x40,0x14f,0x62,0x89)](),'enabled':z[_0x283a7f(-0x14,0x9b,0x1c6,-0xaf)]()[_0x283a7f(0x51,0x12a,0x9f,0x69)](),'saveTool':z['boolean']()[_0x419223(-0x3e,-0x67,0x62,0x63)](),'model':z[_0x419223(0x13b,-0x1a,0x130,-0x2b)]()[_0x283a7f(0x179,0x12a,0x12,0xf3)](),'provider':z[_0x419223(0xfe,0x1c6,0x130,0x1bf)]()[_0x419223(-0x10f,-0xbe,0x62,0x1da)](),'maxInjectionTokens':z[_0x419223(-0xdb,-0x13a,0x9,0x41)]()[_0x283a7f(0x1d4,0x12a,-0x4a,0x2a0)](),'backgroundExtraction':z[_0x283a7f(0x177,0x9b,0x71,0x30)]()[_0x283a7f(-0xe,0x12a,0x34,0xcb)]()})[_0x419223(0x166,0x4e,0x109,0x1d4)](),recentModelSchema=z[_0x419223(0x20f,0x5e,0xa7,-0x50)]({'provider':z['string'](),'model':z[_0x283a7f(0x271,0x1f8,0x16d,0x2a9)](),'usedAt':z['number']()})[_0x283a7f(0x26b,0x1d1,0x134,0x158)](),lspServerEntrySchema=z[_0x283a7f(0x1c3,0x16f,0x2b1,0x138)]({'disabled':z[_0x283a7f(-0xdf,0x9b,0x25,-0x85)]()[_0x283a7f(0x158,0x12a,-0x1d,0x6b)](),'command':z[_0x419223(0xea,0x1d4,0x130,0x1a3)]()['optional'](),'args':z[_0x283a7f(0x2a3,0x286,0x2a8,0x38d)](z[_0x283a7f(0x239,0x1f8,0x2d6,0x13e)]())['optional'](),'rootMarkers':z[_0x419223(0x16c,0x2c3,0x1be,0x209)](z[_0x419223(0x125,-0x24,0x130,0x12a)]())[_0x419223(-0x15,-0x118,0x62,0xe9)]()})[_0x283a7f(0x310,0x1d1,0x34a,0x111)](),lspConfigSchema=z[_0x283a7f(0x25d,0x16f,0x29c,0x2d6)]({'enabled':z[_0x283a7f(-0x5d,0x9b,0x22,0x17)]()[_0x419223(0x45,-0xf8,0x62,-0xc9)](),'servers':z[_0x283a7f(0x185,0x153,0x197,0x226)](z[_0x419223(0x240,0x1ed,0x130,-0x2d)](),lspServerEntrySchema)[_0x419223(0x82,-0x45,0x62,0x165)]()})[_0x419223(0xc8,0x1ae,0x109,0x259)](),serverEndpointSchema=z[_0x419223(-0xbe,0x181,0xa7,0x102)]({'url':z[_0x419223(0xe3,0x110,0x130,0x126)](),'token':z['string']()[_0x419223(-0x74,-0x9e,0x62,0x173)]()})[_0x419223(0x14a,0x89,0x109,0x5f)](),commandHookConfigSchema=z[_0x283a7f(0x29c,0x16f,0x19,0x223)]({'type':z[_0x283a7f(0x1c3,0x2cf,0x32e,0x287)](_0x283a7f(0x37e,0x270,0x379,0x1c7)),'command':z[_0x419223(0x27e,-0x14,0x130,0x1bb)](),'timeout':z[_0x419223(-0x10d,0xb9,0x9,-0x159)]()[_0x283a7f(0x1d2,0x12a,0x16c,0xc4)]()}),hookMatcherGroupSchema=z[_0x419223(0xd5,-0x8f,0xa7,0x1)]({'matcher':z['string']()[_0x283a7f(0x8f,0x12a,0x254,0x22e)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x283a7f(0x247,0x16f,0x22c,0x210)]({'PreToolUse':z[_0x419223(0x2b1,0x2c2,0x1be,0x32c)](hookMatcherGroupSchema)[_0x419223(0x1cb,0x6e,0x62,-0x59)](),'PostToolUse':z[_0x283a7f(0x1b0,0x286,0x3e2,0x368)](hookMatcherGroupSchema)[_0x283a7f(0x10a,0x12a,0x6f,0x206)](),'UserPromptSubmit':z['array'](hookMatcherGroupSchema)['optional'](),'Stop':z[_0x283a7f(0x15c,0x286,0x2f8,0x3c4)](hookMatcherGroupSchema)[_0x283a7f(0x14e,0x12a,0x8,0x0)](),'Notification':z['array'](hookMatcherGroupSchema)[_0x283a7f(0x1e5,0x12a,0x28e,0x26f)](),'ToolApprovalRequest':z[_0x283a7f(0x1da,0x286,0x22c,0x220)](hookMatcherGroupSchema)[_0x419223(0x144,0xf6,0x62,0x35)](),'SessionStart':z[_0x283a7f(0x361,0x286,0x2ec,0x39d)](hookMatcherGroupSchema)[_0x419223(0x1b6,-0x117,0x62,0xdb)](),'SessionEnd':z['array'](hookMatcherGroupSchema)[_0x283a7f(0xa,0x12a,0x232,0x254)]()});function _0x419223(_0x3b31da,_0xed735b,_0x1f74c8,_0x1581c2){const _0x350cd5={_0x4e6c78:0x1f1};return _0x380c(_0x1f74c8- -_0x350cd5._0x4e6c78,_0xed735b);}var cliConfigSchema=z[_0x419223(0xde,0x143,0xa7,0xcb)]({'activeProvider':z[_0x283a7f(0x1d7,0x1f8,0x224,0xcc)]()[_0x283a7f(0xe8,0x12a,0x6a,0x197)](),'activeModel':z[_0x283a7f(0x2a3,0x1f8,0x2bb,0x83)]()[_0x419223(0x1ad,0x187,0x62,-0x3)](),'apiKey':z['string']()['optional'](),'providers':z[_0x283a7f(0x5e,0x153,0x175,0x2b1)](z[_0x419223(0x174,0xe2,0x130,0x218)](),providerConfigSchema)['optional'](),'mcp':mcpSettingsSchema[_0x419223(-0x33,0xfe,0x62,0xde)](),'skills':skillsSettingsSchema[_0x419223(0x174,-0x29,0x62,-0x4a)](),'agents':agentsSettingsSchema[_0x419223(-0x28,0x88,0x62,-0x63)](),'commands':commandsSettingsSchema[_0x419223(0x18e,0xcf,0x62,0x76)](),'skillsEnabled':z[_0x419223(0x1a2,0x118,0x8b,-0xa1)](z[_0x283a7f(0x81,0x1f8,0x103,0x14d)](),z[_0x419223(-0x15c,0x8d,-0x2d,-0x4a)]())[_0x283a7f(0x69,0x12a,0x36,0x101)](),'allowedDirs':z['array'](z['string']())['optional'](),'mcpEnabled':z[_0x419223(0xea,0x194,0x8b,0x43)](z[_0x283a7f(0x19a,0x1f8,0x1ff,0x217)](),z['boolean']())['optional'](),'commandsEnabled':z[_0x283a7f(0x1a5,0x153,0x1c6,0x2c7)](z[_0x283a7f(0x18a,0x1f8,0x1e7,0x1a9)](),z['boolean']())[_0x419223(-0x5c,0x19f,0x62,-0x14)](),'memory':memorySettingsSchema[_0x419223(0x73,0xac,0x62,-0xde)](),'session':z[_0x283a7f(0x1cf,0x16f,0x2c,0x26a)]({'memPersist':z[_0x419223(0x82,0x38,-0x2d,0xae)]()[_0x283a7f(0x46,0x12a,0x17d,0x7b)](),'persistEventLog':z[_0x283a7f(-0x8f,0x9b,0x70,0x61)]()[_0x419223(0xc8,0x44,0x62,-0x91)](),'persistHttpLog':z['boolean']()[_0x283a7f(0x126,0x12a,0xdb,0x15)]()})['passthrough']()[_0x419223(-0x69,-0x65,0x62,0x3b)](),'requireToolApproval':z[_0x283a7f(-0x42,0x9b,0x9f,0xb2)]()[_0x283a7f(0xd5,0x12a,0x1f9,0x26f)](),'thinking':z[_0x419223(0x1c1,0x24c,0x13b,0x4f)]([_0x419223(0x1b5,0x29,0xd8,0x166),_0x283a7f(0x351,0x30a,0x30b,0x328),'MEDIUM',_0x419223(0x3d,0x171,0x88,0x23)])[_0x419223(-0x86,0x44,0x62,0x17d)](),'streamingChunks':z[_0x283a7f(0xfa,0x9b,0x163,0x118)]()[_0x419223(0x31,0x12d,0x62,0x145)](),'agentsEnabled':z[_0x419223(-0x31,0xaa,0x8b,-0xf0)](z['string'](),z[_0x283a7f(0x123,0x9b,0x98,0x97)]())['optional'](),'recentModels':z[_0x419223(0xba,0x290,0x1be,0x178)](recentModelSchema)[_0x419223(-0xf0,0xc1,0x62,0x3d)](),'lsp':lspConfigSchema[_0x419223(0x147,-0x116,0x62,-0xab)](),'servers':z[_0x283a7f(0x198,0x153,-0x26,0x99)](z[_0x283a7f(0x292,0x1f8,0x1f1,0x1c2)](),serverEndpointSchema)['optional'](),'ui':z[_0x283a7f(0x126,0x16f,0x2a3,0x2bf)]({'theme':uiThemeSettingsSchema[_0x419223(-0x4c,0x16b,0x62,-0xbf)](),'statusline':statuslineConfigSchema[_0x283a7f(0x43,0x12a,0x12d,0x264)]()})['passthrough']()['optional'](),'tools':z[_0x419223(0x89,0x1a,0x8b,-0x5c)](z['string'](),z[_0x419223(-0xb,0xe8,0x11c,0xa7)]())[_0x419223(0xa8,-0x40,0x62,-0xc1)](),'hooks':hooksConfigSchema[_0x283a7f(0xae,0x12a,0x71,0x55)]()})[_0x419223(0x1eb,0xcc,0x109,0x230)](),workspaceOverlaySchema=z[_0x419223(0x7e,0x157,0xa7,-0x7b)]({'root':z['string']()[_0x283a7f(0x11f,0x12a,0x184,0x178)](),'allowedDirs':z[_0x283a7f(0x1c4,0x286,0x212,0x379)](z[_0x283a7f(0x25d,0x1f8,0x9c,0xfe)]())[_0x283a7f(0x27,0x12a,0x101,0xc5)](),'activeProvider':z[_0x419223(0x267,0x24f,0x130,0x26a)]()[_0x419223(0x67,0x156,0x62,0x19b)](),'activeModel':z[_0x283a7f(0x324,0x1f8,0x298,0x2b8)]()[_0x283a7f(0x1ff,0x12a,0x27b,0x137)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x283a7f(0x67,0x12a,0xa7,0x27a)](),'agents':agentsSettingsSchema[_0x419223(0x1b9,0x178,0x62,0x17f)](),'commands':commandsSettingsSchema[_0x419223(0xd1,0x1b8,0x62,0x6)](),'hooks':hooksConfigSchema['optional'](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':z['record'](z['string'](),z['boolean']())[_0x283a7f(-0x2f,0x12a,0x15e,0x256)](),'skillsEnabled':z[_0x283a7f(0x20d,0x153,0x2a6,0x1fc)](z[_0x283a7f(0x81,0x1f8,0x12c,0xa9)](),z[_0x419223(-0xa9,-0x108,-0x2d,0xcc)]())['optional'](),'agentsEnabled':z['record'](z[_0x283a7f(0x262,0x1f8,0x1a9,0x193)](),z['boolean']())[_0x419223(-0xeb,-0xb5,0x62,0xa1)](),'commandsEnabled':z['record'](z[_0x283a7f(0x279,0x1f8,0x229,0x342)](),z['boolean']())['optional']()})[_0x283a7f(0xa6,0x1d1,0x212,0x1c5)]();function buildDescription(_0x762777){const _0x1da0b9={_0x2306a0:0x5fb,_0x418f33:0x5b4,_0x248b97:0x66a,_0x177c95:0x40a,_0xb252d0:0x25c,_0x4ed3aa:0x456,_0x5375af:0x36b,_0x4984bd:0x59d,_0x91a465:0x4c9,_0x12228e:0x645,_0x40aab8:0xb0,_0x3cab60:0xea,_0x1fa002:0x6c4,_0x9d36b1:0x66b,_0x219404:0x508,_0x4b55f8:0x19c,_0x4307a5:0xa4,_0x579317:0x3c,_0x58e3a9:0x1ae,_0x2a7514:0x302,_0x19ec65:0x165},_0x3bfef8={_0x48ea47:0x170},_0x255018={_0x260118:0xa9};if(_0x762777[_0x46aa10(_0x1da0b9._0x2306a0,_0x1da0b9._0x418f33,0x5c9,_0x1da0b9._0x248b97)]===0x0)return[_0x6ae5cb(_0x1da0b9._0x177c95,_0x1da0b9._0xb252d0,_0x1da0b9._0x4ed3aa,_0x1da0b9._0x5375af),_0x46aa10(_0x1da0b9._0x4984bd,_0x1da0b9._0x91a465,0x639,_0x1da0b9._0x12228e),'No\x20commands\x20are\x20currently\x20available.'][_0x6ae5cb(_0x1da0b9._0x40aab8,_0x1da0b9._0x3cab60,0x22d,0x206)]('\x0a');const _0x10f3c5=[_0x46aa10(0x646,_0x1da0b9._0x1fa002,_0x1da0b9._0x9d36b1,_0x1da0b9._0x219404),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x6ae5cb(_0x1da0b9._0x4b55f8,_0x1da0b9._0x4307a5,_0x1da0b9._0x579317,_0x1da0b9._0x58e3a9),..._0x762777[_0x6ae5cb(0x3cf,_0x1da0b9._0x2a7514,0x36f,0x328)](_0x4011e5=>_0x4011e5['argumentHint']?'-\x20'+_0x4011e5[_0x6ae5cb(0x16c,0x18b,0x28d,0x23c)]+'\x20'+_0x4011e5[_0x6ae5cb(0xcf,0x251,0x1b8,0x121)]+':\x20'+_0x4011e5[_0x6ae5cb(0x308,0x27e,0xae,0x18c)]:'-\x20'+_0x4011e5[_0x46aa10(0x631,0x490,0x53c,0x637)]+':\x20'+_0x4011e5['description'])];function _0x46aa10(_0x1f7a94,_0x4c79a5,_0x28799d,_0x5ceeb3){return _0x283a7f(_0x1f7a94-0x1e3,_0x28799d-0x3f6,_0x28799d-_0x255018._0x260118,_0x4c79a5);}function _0x6ae5cb(_0x57b234,_0x9170c1,_0x4947d8,_0x240a11){return _0x419223(_0x57b234-0xdf,_0x57b234,_0x240a11-0x1be,_0x240a11-_0x3bfef8._0x48ea47);}return _0x10f3c5[_0x6ae5cb(0x262,0x287,_0x1da0b9._0x19ec65,0x206)]('\x0a');}function createInvokeCommandTool(_0x4d8b80){const _0x227fa7={_0x53a90b:0xf1,_0x2e66c4:0x2,_0x217c37:0x104,_0x249cc7:0xcb,_0x237494:0x136,_0x38ed0a:0x1b2,_0x5bd9bb:0x10d,_0x52a20a:0x15f,_0x5e7db6:0x2ac},_0x5f1ce7={_0xba9c90:0x112,_0x1e2df0:0x40,_0x5b3bd7:0x34,_0x905837:0x47,_0x1af109:0x15d,_0xd807dd:0x227,_0x286c23:0x2a5,_0xfff376:0x99,_0x16cda9:0x37,_0x5a3c29:0x13,_0x51361e:0x24,_0x1c1bc9:0x12b,_0x2ab75a:0x193,_0x1e67fe:0x127,_0x4966c2:0x26,_0x1c5f86:0x276,_0x217864:0x293,_0x37efe3:0x1d4,_0x4dc36a:0x2a7,_0x594bb1:0x15e,_0x300ea0:0x20e,_0x351f14:0x8a,_0x21bb59:0xfa,_0x534284:0xe7,_0x38f1ea:0x127,_0x1e9b8:0x273,_0x2a90ab:0x7e,_0x486a48:0x189},_0x19aec0={_0x4f8997:0x22},_0x3c0bdb={_0x4b471e:0x1d};function _0x983996(_0x599bec,_0x200954,_0x135c8d,_0x7ad95){return _0x419223(_0x599bec-0xa5,_0x200954,_0x135c8d- -0x1dd,_0x7ad95-_0x3c0bdb._0x4b471e);}const _0x4db646=new Map(_0x4d8b80[_0xfba7a1(0xee,_0x227fa7._0x53a90b,_0x227fa7._0x2e66c4,-0xa)][_0x983996(_0x227fa7._0x217c37,0x99,-0x73,-0x1b6)](_0x4df1ff=>[_0x4df1ff['id'],_0x4df1ff])),_0x6b6d6=buildDescription(_0x4d8b80['commands']);function _0xfba7a1(_0x33db95,_0x323486,_0x4a03df,_0x13a675){return _0x283a7f(_0x33db95-0xbf,_0x33db95- -0x5d,_0x4a03df-0x1d7,_0x4a03df);}return defineTool({'name':'InvokeCommand','description':_0x6b6d6,'inputSchema':{'type':_0x983996(-0x195,-_0x227fa7._0x249cc7,-_0x227fa7._0x237494,-0x22e),'properties':{'name':{'type':_0x983996(-_0x227fa7._0x38ed0a,0xae,-0xad,-0x19e)},'args':{'type':'string'}},'required':[_0x983996(-0x140,-_0x227fa7._0x5bd9bb,-_0x227fa7._0x52a20a,-_0x227fa7._0x5e7db6)]},async *'execute'(_0x3c6bea){const _0x23e75a={_0x1e98a9:0x18c,_0x36b4fb:0x38,_0x2d8439:0x152},_0x49cd5d=_0x4db646['get'](_0x3c6bea[_0x820133(-_0x5f1ce7._0xba9c90,0xf6,-0x51,-_0x5f1ce7._0x1e2df0)]);if(!_0x49cd5d){const _0x13897a=Array[_0x115245(0x76,-0xa5,_0x5f1ce7._0x5b3bd7,-0xf4)](_0x4db646[_0x820133(-_0x5f1ce7._0x905837,-0x47,-0x17d,-0x11c)]())[_0x115245(-_0x5f1ce7._0x1af109,-_0x5f1ce7._0xd807dd,-0x21d,-_0x5f1ce7._0x286c23)](',\x20');throw new ToolExecutionError(_0x115245(0x9c,0x7b,_0x5f1ce7._0xfff376,_0x5f1ce7._0x16cda9)+_0x3c6bea[_0x820133(_0x5f1ce7._0x5a3c29,0xe7,-0x51,-_0x5f1ce7._0x51361e)]+_0x820133(-0x103,-0x278,-_0x5f1ce7._0x1c1bc9,-_0x5f1ce7._0x2ab75a)+_0x13897a,{'name':_0x3c6bea[_0x115245(-_0x5f1ce7._0x1e67fe,-_0x5f1ce7._0x4966c2,-_0x5f1ce7._0x1c5f86,-_0x5f1ce7._0x217864)]});}const _0x45dd18=await _0x4d8b80[_0x115245(-_0x5f1ce7._0x37efe3,-_0x5f1ce7._0x4dc36a,-_0x5f1ce7._0x594bb1,-_0x5f1ce7._0x300ea0)](_0x49cd5d);function _0x820133(_0x43b07f,_0x1743e0,_0xae3423,_0x4e3498){return _0xfba7a1(_0xae3423- -0x13a,_0x1743e0-0x56,_0x1743e0,_0x4e3498-_0x19aec0._0x4f8997);}const _0x53b459=_0x3c6bea['args']??'',_0x26c4a9=renderCommandInstructions({'instructions':_0x45dd18[_0x820133(-_0x5f1ce7._0x351f14,-_0x5f1ce7._0x21bb59,-0xcd,-_0x5f1ce7._0x534284)],'argumentsText':_0x53b459,'argumentNames':_0x45dd18['arguments']});yield createToolOutput(_0x26c4a9,{'id':_0x45dd18['id'],'name':_0x45dd18[_0x115245(-_0x5f1ce7._0x38f1ea,-0x3f,-0x1c2,-0x207)],'path':_0x49cd5d[_0x820133(-0x26a,-0xbc,-_0x5f1ce7._0xba9c90,-_0x5f1ce7._0x1e9b8)][_0x115245(-_0x5f1ce7._0x2a90ab,-0x1b0,0x83,-_0x5f1ce7._0x486a48)]});function _0x115245(_0x185f38,_0x5a2740,_0x5bcfd8,_0x2a58c0){return _0x983996(_0x185f38-_0x23e75a._0x1e98a9,_0x5bcfd8,_0x185f38-_0x23e75a._0x36b4fb,_0x2a58c0-_0x23e75a._0x2d8439);}return void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x596b18,rename as _0x1b8256,stat as _0x668e60,writeFile as _0x4a4a5a}from'fs/promises';import*as _0x5edbd8 from'path';function detectEol(_0x57a4e7){const _0x557b0a={_0x522f64:0x563,_0x220e63:0x66f,_0x43df07:0x661,_0x5f220c:0x7a7,_0x28a785:0x6cd},_0x104ac8={_0x3e2304:0x152,_0x2efded:0x5d,_0x3a67b5:0x185};function _0x160b26(_0x5ce577,_0x9ff270,_0x51d447,_0x271e33){return _0x419223(_0x5ce577-_0x104ac8._0x3e2304,_0x5ce577,_0x9ff270- -_0x104ac8._0x2efded,_0x271e33-_0x104ac8._0x3a67b5);}function _0xda8876(_0x12ad79,_0x4cd12c,_0x4f193f,_0x288ec2){return _0x283a7f(_0x12ad79-0x1dc,_0x4f193f-0x4a4,_0x4f193f-0x16f,_0x4cd12c);}return/\r\n/['test'](_0x57a4e7[_0xda8876(0x5d2,0x5a4,_0x557b0a._0x522f64,_0x557b0a._0x220e63)]('utf8'))?_0xda8876(_0x557b0a._0x43df07,_0x557b0a._0x5f220c,_0x557b0a._0x28a785,0x759):'lf';}function normalizeToLf(_0x8fcf9b){return _0x8fcf9b['replace'](/\r\n/g,'\x0a');}function convertEol(_0x2025a8,_0x29021c){const _0x48020e={_0x1f7792:0x3f0},_0x1b1e49={_0x4002a7:0x11f,_0x310430:0x365,_0x5747f0:0x31};function _0x1491f6(_0x292820,_0x347f41,_0xb7ba6a,_0x2a0dda){return _0x283a7f(_0x292820-_0x1b1e49._0x4002a7,_0x292820-_0x1b1e49._0x310430,_0xb7ba6a-_0x1b1e49._0x5747f0,_0x347f41);}return _0x29021c==='crlf'?_0x2025a8[_0x1491f6(0x3cd,0x25d,_0x48020e._0x1f7792,0x499)](/\n/g,'\x0d\x0a'):_0x2025a8;}async function atomicWrite(_0x1edd1f,_0x3a917d){const _0xde862f={_0xb7ba55:0x144,_0x2b2def:0x26f,_0x4bf2c2:0x29d,_0x10701a:0xb2,_0x13fb0f:0x177,_0x53faae:0x218,_0x20712a:0x2d1,_0x15834d:0x1,_0x5a7556:0xf,_0x10a8da:0xce,_0x173b12:0x74,_0x496b8f:0xf},_0x47ebdb={_0x30fc0e:0x5a},_0x5bc542={_0x44a47a:0x116,_0x40d743:0x7d,_0x39a634:0xea};function _0x49dd49(_0xcb210a,_0x597dd4,_0x2a4382,_0x59bfbd){return _0x419223(_0xcb210a-_0x5bc542._0x44a47a,_0xcb210a,_0x59bfbd-_0x5bc542._0x40d743,_0x59bfbd-_0x5bc542._0x39a634);}function _0x1cf42c(_0x40b34c,_0x35879b,_0x454523,_0x4cb47f){return _0x419223(_0x40b34c-_0x47ebdb._0x30fc0e,_0x454523,_0x40b34c-0x12f,_0x4cb47f-0xeb);}const _0x16cd41=_0x5edbd8[_0x1cf42c(_0xde862f._0xb7ba55,_0xde862f._0x2b2def,_0xde862f._0x4bf2c2,_0xde862f._0x10701a)](_0x1edd1f),_0x5dc627=_0x5edbd8[_0x1cf42c(_0xde862f._0x13fb0f,_0xde862f._0x53faae,0x243,0xd5)](_0x16cd41,_0x1cf42c(0x1d9,0x1c6,_0xde862f._0x20712a,0xa0)+_0x5edbd8[_0x49dd49(-0x41,-0x78,0x98,_0xde862f._0x15834d)](_0x1edd1f)+'.'+Date['now']()+'.'+Math['random']()[_0x49dd49(-_0xde862f._0x5a7556,0x1cf,-_0xde862f._0x10a8da,_0xde862f._0x173b12)](0x24)[_0x49dd49(0x1ef,0x2a1,_0xde862f._0x496b8f,0x12f)](0x2));await _0x4a4a5a(_0x5dc627,_0x3a917d),await _0x1b8256(_0x5dc627,_0x1edd1f);}function sha256(_0x131b4d){const _0x8442b0={_0x1a0534:0xe4,_0x180f3a:0x68,_0x3b68d2:0xc8,_0x328dfb:0xb6,_0xd667d2:0xcb},_0x189719={_0x9f9c58:0x117,_0x404c94:0x184};function _0x4a96ad(_0x18527f,_0x1d46aa,_0x429f61,_0x4cdb54){return _0x419223(_0x18527f-_0x189719._0x9f9c58,_0x429f61,_0x1d46aa-0x19d,_0x4cdb54-_0x189719._0x404c94);}function _0x1e7aad(_0xf1b962,_0x1ecf95,_0x504f00,_0x169f5b){return _0x283a7f(_0xf1b962-0x13a,_0x169f5b- -0x1d4,_0x504f00-0x1ee,_0x504f00);}return createHash(_0x1e7aad(_0x8442b0._0x1a0534,_0x8442b0._0x180f3a,_0x8442b0._0x3b68d2,0x107))['update'](_0x131b4d)[_0x1e7aad(-0x5e,-0x6f,0x94,-0xaf)](_0x1e7aad(-_0x8442b0._0x328dfb,-0x2b,_0x8442b0._0xd667d2,-0x61));}function countLines(_0x4c7a98){const _0x5b207f={_0x2a4c0a:0x334,_0x43249b:0x39f,_0x1210fa:0x3a9,_0x3a3362:0x408,_0x29f694:0x3c5,_0xfb9c2f:0x398,_0x818533:0x50e,_0x5a041b:0x3dc,_0x3f1cb7:0x4b6,_0x3fc3a8:0x538},_0x58025d={_0x5e8e9f:0x2e3,_0x9b18f0:0xba},_0x481dc8={_0x4afaad:0xdb,_0x1ec167:0x294,_0x28f72e:0x79},_0x525653=_0x4c7a98[_0x55f221(_0x5b207f._0x2a4c0a,0x469,0x34b,0x4bf)](/\n$/,'');function _0x4132b9(_0x597ba6,_0x1ca00c,_0x1a61a1,_0x4885e5){return _0x419223(_0x597ba6-_0x481dc8._0x4afaad,_0x1ca00c,_0x1a61a1-_0x481dc8._0x1ec167,_0x4885e5-_0x481dc8._0x28f72e);}function _0x55f221(_0x57f23a,_0x57984d,_0x2bbc0a,_0x24e132){return _0x283a7f(_0x57f23a-0x51,_0x2bbc0a-_0x58025d._0x5e8e9f,_0x2bbc0a-_0x58025d._0x9b18f0,_0x57984d);}return _0x525653[_0x4132b9(0x384,0x2d0,_0x5b207f._0x43249b,_0x5b207f._0x1210fa)]===0x0?0x0:_0x525653[_0x4132b9(_0x5b207f._0x3a3362,_0x5b207f._0x29f694,_0x5b207f._0xfb9c2f,0x43a)]('\x0a')[_0x55f221(_0x5b207f._0x818533,_0x5b207f._0x5a041b,_0x5b207f._0x3f1cb7,_0x5b207f._0x3fc3a8)];}function calculateLineNumbers(_0x1134ce,_0x248ebc,_0x17a17a,_0x303250){const _0x5d2eab={_0x4522f9:0xea,_0x21481e:0x14a},_0x226e79={_0x38ee8b:0x9a},_0x5c1d83=_0x1134ce['slice'](0x0,_0x303250)['split']('\x0a')[_0x2f162f(0x139,_0x5d2eab._0x4522f9,0x277,_0x5d2eab._0x21481e)],_0x2b8915=countLines(_0x248ebc);function _0x2f162f(_0x5885f5,_0x18b3fa,_0x39beec,_0x4be63a){return _0x283a7f(_0x5885f5-0x16c,_0x5885f5- -_0x226e79._0x38ee8b,_0x39beec-0x2,_0x4be63a);}const _0x1ee519=countLines(_0x17a17a);return{'oldStartLine':_0x5c1d83,'oldEndLine':_0x5c1d83+_0x2b8915-0x1,'newStartLine':_0x5c1d83,'newEndLine':_0x5c1d83+_0x1ee519-0x1,'oldLineCount':_0x2b8915,'newLineCount':_0x1ee519};}function createFileEditTool(_0x2450af={}){const _0x1126c8={_0x500a06:0x5c,_0x2349f0:0x31a,_0x1a1da7:0x2a8,_0x3d0bea:0x395,_0x6416a7:0x1f5,_0x2d8bf6:0xb2,_0x49049a:0xc3,_0x411731:0x14f,_0x716089:0xc3,_0x1e9730:0xa2,_0x2f374c:0x1b5,_0x3200ef:0x29e,_0x1aeba8:0x2f7,_0x722653:0x19a,_0x54ce81:0x2bb,_0x5d8e6e:0x1c,_0x7bbfcf:0xf4,_0xde26e6:0x18e,_0x4a9bf7:0x5a},_0x49ae40={_0x320637:0x120,_0x27bad7:0x99,_0x1185b2:0x160,_0x2d060a:0x15a,_0xe67922:0x265,_0x4e4840:0x22d,_0x4de8c4:0x4e,_0x1a879a:0x154,_0x535d7f:0x1b1,_0x54de54:0x1e1,_0x429cbc:0x112,_0x4099bf:0xfd,_0x8c5593:0x201,_0x3e204c:0x19f,_0x140492:0x174,_0xb4163a:0x93,_0x403074:0xe9,_0x1f6957:0x156,_0x128e6d:0x13a,_0x57c15d:0x19,_0x485028:0xec,_0x525be9:0x214,_0x3af82b:0x170,_0xb01dbf:0x7e,_0xef6928:0x76,_0x1f1370:0x1c9,_0x41d66c:0x2a3,_0x2175ba:0x2f3,_0x250ef2:0x1ed,_0x3b9888:0x124,_0xb4303f:0xea,_0x578e06:0x1a8,_0x37ae29:0x4a,_0x3f96fa:0x1b1,_0xabcc43:0xa9,_0x128eb5:0x45,_0x59a9ff:0x2d7,_0x1cff2e:0x339,_0x29b861:0x164,_0x43c0c4:0x204,_0x47dcd0:0x4,_0x1a2e7c:0x2b,_0x5664d8:0x14e,_0x4a69c2:0x2ae,_0x2b0b9c:0x254,_0x57ecca:0x104,_0x12ef2b:0x1d0,_0x183bd3:0x1de,_0x570069:0x69,_0x3ee4b3:0x240,_0x400392:0x1c8,_0x290837:0x4d},_0x4eeefb={_0x227a1e:0x1b3,_0x39dc8:0x1ee},_0x2dd2ad={_0x31fc03:0x1c7};function _0x2b4c04(_0x22ab9b,_0x5097d,_0x33b7b9,_0x17bd46){return _0x419223(_0x22ab9b-0xe1,_0x33b7b9,_0x17bd46- -0x130,_0x17bd46-0x178);}const _0x1aab53=_0x5edbd8['resolve'](_0x2450af['defaultCwd']??process[_0x2b4c04(-0x2c,-0x1e9,-_0x1126c8._0x500a06,-0x134)]()),_0x431172=_0x2450af[_0x370789(_0x1126c8._0x2349f0,0x3be,_0x1126c8._0x1a1da7,_0x1126c8._0x3d0bea)]??[],_0x459168=_0x2450af[_0x2b4c04(-_0x1126c8._0x6416a7,-0x123,-0x1a9,-_0x1126c8._0x2d8bf6)]??'FileEdit';function _0x370789(_0x5c2cc8,_0x5f150c,_0x578593,_0xa0ae42){return _0x419223(_0x5c2cc8-0xd,_0x5c2cc8,_0x578593-_0x2dd2ad._0x31fc03,_0xa0ae42-0x88);}return defineTool({'name':_0x459168,'description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':'object','properties':{'filePath':{'type':'string'},'description':{'type':_0x2b4c04(_0x1126c8._0x49049a,_0x1126c8._0x411731,_0x1126c8._0x716089,0x0),'description':_0x370789(_0x1126c8._0x1e9730,0x22c,_0x1126c8._0x2f374c,0x186)},'oldText':{'type':'string'},'newText':{'type':_0x370789(0x196,_0x1126c8._0x3200ef,_0x1126c8._0x1aeba8,0x36b)},'dryRun':{'type':_0x370789(0x232,0xd3,_0x1126c8._0x722653,_0x1126c8._0x54ce81)}},'required':[_0x2b4c04(_0x1126c8._0x5d8e6e,0xc4,-_0x1126c8._0x7bbfcf,-0x98),'oldText',_0x2b4c04(-_0x1126c8._0xde26e6,-0x59,-0x36,-_0x1126c8._0x4a9bf7)]},async *'execute'(_0x11de46){const _0x404036=resolveAllowedPath(_0x1aab53,_0x431172,_0x11de46[_0x17182f(_0x49ae40._0x320637,_0x49ae40._0x27bad7,0x198,_0x49ae40._0x1185b2)]);await assertWorkspaceFile(_0x404036);const _0xd69193=await _0x668e60(_0x404036),_0x5de0c3=await _0x596b18(_0x404036),_0x2242db=detectEol(_0x5de0c3),_0x5e6ff9=normalizeToLf(_0x5de0c3['toString'](_0x50a92a(0x5,0x1a6,0x82,_0x49ae40._0x2d060a))),_0xa6c23a=normalizeToLf(_0x11de46['oldText']),_0x2cfcbf=normalizeToLf(_0x11de46['newText']),_0x468cf3=_0x5e6ff9[_0x17182f(0x266,0x3c1,_0x49ae40._0xe67922,0x2b1)](_0xa6c23a);if(_0x468cf3===-0x1){const _0x4acdb7=_0xa6c23a[_0x17182f(0x13a,0x36,_0x49ae40._0x4e4840,0x1e5)](0x0,0x64)[_0x50a92a(0xa8,_0x49ae40._0x4de8c4,_0x49ae40._0x1a879a,0x5e)](/\n/g,'\x5cn');throw new ToolExecutionError(_0x50a92a(0x231,_0x49ae40._0x535d7f,0x2fa,_0x49ae40._0x54de54)+_0x4acdb7+(_0xa6c23a[_0x50a92a(_0x49ae40._0x429cbc,_0x49ae40._0x4099bf,0x24c,0x1c9)]>0x64?_0x17182f(0xd3,_0x49ae40._0x8c5593,_0x49ae40._0x3e204c,_0x49ae40._0x140492):'')+'\x22',{'filePath':_0x11de46[_0x50a92a(_0x49ae40._0xb4163a,_0x49ae40._0x403074,0xa9,_0x49ae40._0x1f6957)]});}const _0x240a05=_0x5e6ff9[_0x17182f(_0x49ae40._0x128e6d,-_0x49ae40._0x57c15d,0x123,_0x49ae40._0x485028)](0x0,_0x468cf3)+_0x2cfcbf+_0x5e6ff9[_0x50a92a(_0x49ae40._0x525be9,0x108,0x1fd,_0x49ae40._0x3af82b)](_0x468cf3+_0xa6c23a[_0x50a92a(_0x49ae40._0xb01dbf,0x10c,_0x49ae40._0xef6928,_0x49ae40._0x1f1370)]),_0x45f3a1=convertEol(_0x240a05,_0x2242db),_0x57b39c=Buffer[_0x17182f(_0x49ae40._0x41d66c,0x2a2,_0x49ae40._0x2175ba,_0x49ae40._0x250ef2)](_0x45f3a1,_0x17182f(_0x49ae40._0x3b9888,_0x49ae40._0xb4303f,0xcd,_0x49ae40._0x578e06));function _0x17182f(_0x372cf8,_0x1a5d42,_0xc2c07b,_0x25b421){return _0x370789(_0x1a5d42,_0x1a5d42-0x54,_0x372cf8- -0x13f,_0x25b421-0x85);}const _0x3ed2ee=sha256(_0x5de0c3);function _0x50a92a(_0x4cd335,_0x4f8395,_0xe3088,_0x1a8332){return _0x2b4c04(_0x4cd335-_0x4eeefb._0x227a1e,_0x4f8395-0x14c,_0x4f8395,_0x1a8332-_0x4eeefb._0x39dc8);}const _0x770481=sha256(_0x57b39c),_0x569df7=_0x3ed2ee===_0x770481,_0x25a3b9=_0x11de46['dryRun']??![];return!_0x25a3b9&&!_0x569df7&&await atomicWrite(_0x404036,_0x57b39c),yield createToolOutput(_0x569df7?_0x50a92a(_0x49ae40._0x37ae29,0xec,_0x49ae40._0x3f96fa,0x1ae):_0x25a3b9?_0x17182f(_0x49ae40._0xabcc43,0x13c,_0x49ae40._0x128eb5,0x215):_0x50a92a(0x32b,_0x49ae40._0x59a9ff,_0x49ae40._0x1cff2e,0x1e6),{'filePath':_0x11de46[_0x17182f(0x120,_0x49ae40._0x29b861,_0x49ae40._0x43c0c4,-_0x49ae40._0x47dcd0)],'resolvedPath':_0x404036,'created':_0xd69193[_0x17182f(0x4d,-_0x49ae40._0x1a2e7c,_0x49ae40._0x128eb5,-0x1b)][_0x17182f(_0x49ae40._0x5664d8,0x2b3,_0x49ae40._0x4a69c2,_0x49ae40._0x2b0b9c)](),'modified':_0xd69193[_0x50a92a(_0x49ae40._0x57ecca,0x234,_0x49ae40._0x12ef2b,_0x49ae40._0x183bd3)]['toISOString'](),'size':_0xd69193['size'],'eol':_0x2242db,'oldTextLength':_0xa6c23a[_0x50a92a(0x65,_0x49ae40._0x570069,0x150,0x1c9)],'newTextLength':_0x2cfcbf[_0x17182f(0x193,_0x49ae40._0x3ee4b3,_0x49ae40._0x400392,_0x49ae40._0x290837)],'bytesWritten':_0x569df7||_0x25a3b9?0x0:_0x57b39c[_0x50a92a(0x1e8,0x2d7,0xf3,0x1c9)],'beforeSha':_0x3ed2ee,'afterSha':_0x770481,'dryRun':_0x25a3b9,'noChange':_0x569df7,'lineNumbers':calculateLineNumbers(_0x5e6ff9,_0xa6c23a,_0x2cfcbf,_0x468cf3)}),void 0x0;}});}import{mkdir as _0x1ba647,rename as _0x344dc2,stat as _0x2b9f00,writeFile as _0x52c2b7}from'fs/promises';import*as _0x5e6b0f from'path';async function atomicWrite2(_0x339f2e,_0x3ea21c){const _0x586f72={_0x1e854c:0xa4,_0x582604:0x152,_0x3e2563:0x268,_0x343d29:0x188,_0x588291:0x254,_0x4bfb9d:0x27a,_0x2ddd81:0x35f,_0x37229a:0x14e,_0x2de5d1:0x139,_0x414d53:0x2b9,_0x286bc6:0x37d},_0x5d5c5b={_0x2b953b:0x13f},_0x4cc0ef=_0x5e6b0f[_0x143279(-0x2f9,-0x2a4,-0x186,-0x103)](_0x339f2e);await _0x1ba647(_0x4cc0ef,{'recursive':!![]});const _0x25f640=_0x5e6b0f['join'](_0x4cc0ef,_0x143279(-_0x586f72._0x1e854c,-0x213,-0xf1,-_0x586f72._0x582604)+_0x5e6b0f[_0x143279(-_0x586f72._0x3e2563,-_0x586f72._0x343d29,-0x217,-0xad)](_0x339f2e)+'.'+Date[_0x38f631(_0x586f72._0x588291,_0x586f72._0x4bfb9d,_0x586f72._0x2ddd81,_0x586f72._0x37229a)]()+'.'+Math[_0x38f631(0x281,0x177,0x338,_0x586f72._0x2de5d1)]()['toString'](0x24)[_0x38f631(_0x586f72._0x414d53,0x1dc,0x33d,_0x586f72._0x286bc6)](0x2));function _0x38f631(_0x2d4bf6,_0x3741e1,_0x54658d,_0x5ac7f3){return _0x283a7f(_0x2d4bf6-0x86,_0x2d4bf6-_0x5d5c5b._0x2b953b,_0x54658d-0x93,_0x5ac7f3);}await _0x52c2b7(_0x25f640,_0x3ea21c);function _0x143279(_0x3af7ee,_0xadf808,_0x4c67e8,_0x4209d3){return _0x283a7f(_0x3af7ee-0xa0,_0x4c67e8- -0x263,_0x4c67e8-0xb3,_0x3af7ee);}await _0x344dc2(_0x25f640,_0x339f2e);}function createFileNewTool(_0x124117={}){const _0x8261dc={_0x37504f:0x791,_0x46ef60:0x7ea,_0x5a0908:0x906,_0x15f4b2:0x3e9,_0x3473c3:0x79d,_0x264495:0x4b7,_0x21a7a4:0x5c2,_0x4d5c0c:0x4d0,_0x15f2c7:0x36d,_0x3c8c6d:0x3d7,_0x2ec494:0x3b4,_0x4629a0:0x43d,_0xd3ee3a:0x30c,_0x4c6490:0x355,_0x4a8fa0:0x3c8,_0x3c0532:0x407,_0xb79e46:0x48a,_0x20a909:0x61a},_0xd07d95={_0x3668a6:0x289,_0x4fc8cc:0x450,_0x36c6dc:0x34a,_0x193c90:0x4f9,_0x2c9f59:0x4cd,_0x20de32:0x55e,_0x1a35fd:0x514,_0x147c64:0x2c2,_0x581083:0x1f0,_0x19c04b:0x31c,_0x44f329:0x4e2,_0x2271fb:0x3a8,_0x1e2f7c:0x5b1,_0x33f954:0x510,_0xf68271:0x67f,_0x56bf9f:0x510,_0x10cdcd:0x4ea,_0x24104e:0x2cc,_0x43e56c:0x324},_0x5b27e3={_0x46535a:0x5f,_0x2d6f39:0x7e},_0xec4ee2={_0x4bdece:0x110,_0x3431e8:0x1bf},_0x4542a9={_0x399d50:0xce},_0x59dfbe=_0x5e6b0f[_0x127ce9(_0x8261dc._0x37504f,0x89d,_0x8261dc._0x46ef60,_0x8261dc._0x5a0908)](_0x124117[_0x16f186(0x4f5,0x46a,0x395,0x3af)]??process['cwd']()),_0x3ad0f7=_0x124117[_0x16f186(_0x8261dc._0x15f4b2,0x57b,0x411,0x4c5)]??[],_0x2c3a6f=_0x124117['name']??_0x127ce9(0x75d,0x772,0x73d,_0x8261dc._0x3473c3);function _0x127ce9(_0x399133,_0x3b36ec,_0x306e2b,_0x27c4f9){return _0x419223(_0x399133-0x58,_0x27c4f9,_0x306e2b-0x5ba,_0x27c4f9-_0x4542a9._0x399d50);}function _0x16f186(_0x1465a2,_0x1ee2de,_0x585b31,_0x3c7123){return _0x419223(_0x1465a2-_0xec4ee2._0x4bdece,_0x1ee2de,_0x585b31-0x330,_0x3c7123-_0xec4ee2._0x3431e8);}return defineTool({'name':_0x2c3a6f,'description':_0x16f186(_0x8261dc._0x264495,_0x8261dc._0x21a7a4,_0x8261dc._0x4d5c0c,_0x8261dc._0x15f2c7),'inputSchema':{'type':_0x16f186(0x336,0x517,_0x8261dc._0x3c8c6d,0x4c9),'properties':{'filePath':{'type':'string'},'content':{'type':_0x16f186(_0x8261dc._0x2ec494,_0x8261dc._0x4629a0,0x460,_0x8261dc._0xd3ee3a)}},'required':[_0x16f186(0x345,_0x8261dc._0x4c6490,_0x8261dc._0x4a8fa0,_0x8261dc._0x3c0532),_0x127ce9(0x634,_0x8261dc._0xb79e46,0x5cc,_0x8261dc._0x20a909)]},async *'execute'(_0x4d0b4a){const _0x5b1052={_0x4ddcff:0xa4,_0x21270a:0xde,_0x569580:0x142},_0x14c836=resolveAllowedPath(_0x59dfbe,_0x3ad0f7,_0x4d0b4a[_0x2dd41a(_0xd07d95._0x3668a6,_0xd07d95._0x4fc8cc,0x442,_0xd07d95._0x36c6dc)]),_0xee3593=await _0x2b9f00(_0x14c836)[_0xa50b18(0x458,0x338,_0xd07d95._0x193c90,0x442)](()=>!![])['catch'](()=>![]),_0x49782f=Buffer[_0x2dd41a(0x363,0x51e,0x412,_0xd07d95._0x2c9f59)](_0x4d0b4a['content'],_0xa50b18(0x432,_0xd07d95._0x20de32,0x601,_0xd07d95._0x1a35fd));await atomicWrite2(_0x14c836,_0x49782f);function _0x2dd41a(_0x59fe6b,_0x47073e,_0x415053,_0x2aa11e){return _0x16f186(_0x59fe6b-_0x5b27e3._0x46535a,_0x415053,_0x2aa11e- -_0x5b27e3._0x2d6f39,_0x2aa11e-0x1e0);}yield createToolOutput(_0x2dd41a(_0xd07d95._0x147c64,0x481,_0xd07d95._0x581083,_0xd07d95._0x19c04b)+_0x4d0b4a[_0xa50b18(_0xd07d95._0x44f329,_0xd07d95._0x2271fb,_0xd07d95._0x1e2f7c,_0xd07d95._0x33f954)]+'.',{'filePath':_0x4d0b4a[_0xa50b18(0x4c5,0x666,_0xd07d95._0xf68271,_0xd07d95._0x56bf9f)],'resolvedPath':_0x14c836,'bytes':_0x49782f['length'],'lines':_0x4d0b4a['content'][_0xa50b18(0x5f7,_0xd07d95._0x10cdcd,0x40d,0x57c)](/\r?\n/)[_0x2dd41a(0x28c,_0xd07d95._0x24104e,_0xd07d95._0x43e56c,0x3bd)],'created':new Date()[_0xa50b18(0x4b0,0x5ff,0x5f8,0x53e)](),'overwritten':_0xee3593});function _0xa50b18(_0x1d0da6,_0x2b8a46,_0x3863d2,_0x2d24f2){return _0x127ce9(_0x1d0da6-_0x5b1052._0x4ddcff,_0x2b8a46-_0x5b1052._0x21270a,_0x2d24f2- -_0x5b1052._0x569580,_0x2b8a46);}return void 0x0;}});}import{readFile as _0x2b1431,stat as _0x3ba997}from'fs/promises';import*as _0x2bfb1c from'path';function stripUtfBom(_0x3f2452){const _0x1a36ed={_0x1789b9:0x39a},_0x441943={_0xe55a2e:0x96};function _0x4c008f(_0x310165,_0x3eca9f,_0x57cd1e,_0x40fb7f){return _0x283a7f(_0x310165-0x7c,_0x57cd1e-_0x441943._0xe55a2e,_0x57cd1e-0x1e3,_0x3eca9f);}return _0x3f2452[_0x4c008f(0x1b1,0x2b0,0x2d6,_0x1a36ed._0x1789b9)](0x0)===0xfeff?_0x3f2452['slice'](0x1):_0x3f2452;}function clampLine(_0x2ef24d,_0x3e2f5a){const _0x4eeee5={_0x2ccba3:0x2c,_0x56ab37:0x45,_0x47b7f2:0x8d,_0x3e683e:0x5b},_0x29007d={_0x8279d4:0x168,_0x5a0466:0x16a},_0x42afad={_0x51be4e:0xe8,_0x2a4daa:0x1e3};if(!Number['isFinite'](_0x2ef24d))return 0x1;function _0x276852(_0x786ef8,_0xd355f9,_0x5d3aa6,_0x452b14){return _0x419223(_0x786ef8-_0x42afad._0x51be4e,_0x5d3aa6,_0xd355f9- -0xa7,_0x452b14-_0x42afad._0x2a4daa);}function _0x37e9bd(_0x2864eb,_0x3025e6,_0x1d9bab,_0x5ec966){return _0x419223(_0x2864eb-_0x29007d._0x8279d4,_0x5ec966,_0x1d9bab- -_0x29007d._0x5a0466,_0x5ec966-0x3e);}return Math['max'](0x1,Math[_0x276852(-0x4d,_0x4eeee5._0x2ccba3,_0x4eeee5._0x56ab37,0xb3)](Math[_0x37e9bd(-_0x4eeee5._0x47b7f2,-0x87,-0x1a9,-_0x4eeee5._0x3e683e)](_0x2ef24d),_0x3e2f5a));}function createFileReadTool(_0x10a854={}){const _0xfcda09={_0x28ddb1:0x43e,_0x20ec87:0x345,_0x2a7851:0x278,_0x2c0848:0x157,_0x1b4b3e:0xcc,_0x167ad8:0xf4,_0x1ae241:0x484,_0x412887:0x3bf,_0x5f0e85:0x12a,_0x2157e7:0x11d,_0x1f5955:0x149,_0x26aa47:0x29,_0x4492de:0x167,_0x33440f:0x47,_0x4e851a:0x43,_0x4771c2:0x2b4,_0x153480:0x24a,_0x806dcb:0x1ed,_0x10f6af:0x3a8,_0x36d465:0xd8,_0x4f84bb:0x2f5,_0x32e594:0x361,_0x37ab69:0x3c4,_0x980c57:0x248},_0x58d9db={_0x4796f2:0x3e2,_0x5591bb:0x592,_0x47c8bd:0x46b,_0x27e4a9:0x752,_0x4d522a:0x4e1,_0x3e5ad1:0x3e9,_0x4b20d1:0x410,_0x5b94d0:0x30e,_0x4012a4:0x263,_0x395dd4:0x2b2,_0x557c23:0x53d,_0x214569:0x3fc,_0x4e553b:0x622,_0x595e79:0x625,_0x31aae8:0x342,_0x4bd826:0x381,_0x12023f:0x733,_0x41c1d6:0x5ad,_0x1579c9:0x59e,_0x38888e:0x451,_0x2dc0df:0x396,_0x5e36b9:0x43d,_0xef8b58:0x3c6,_0x3aa4fb:0x4c9,_0xa914b8:0x454,_0x23cfef:0x52d,_0x1f74b6:0x744,_0x5958ca:0x675,_0xaf47fe:0x3c7,_0x597b60:0x60d,_0x387a9c:0x75d,_0x54ecb2:0x6c6,_0x81a01d:0x493,_0x178cbe:0x3a2,_0x21a1a2:0x38e,_0x40ef17:0x5bf,_0x316ee5:0x4b4,_0x1fb628:0x5b4,_0x32696f:0x568,_0x198a8f:0x54a,_0x35605f:0x634,_0x46166f:0x42b},_0x5d4920={_0x2d803d:0x21,_0x516183:0x48c},_0x1151fe={_0x3c09dc:0x53},_0x541aaf={_0x2d844c:0xa0,_0xd8cece:0x23a,_0x5f2de8:0x178},_0x26e92c=_0x2bfb1c[_0x20bf3e(0x430,0x46a,_0xfcda09._0x28ddb1,_0xfcda09._0x20ec87)](_0x10a854['defaultCwd']??process['cwd']());function _0x20bf3e(_0x5c7ba7,_0x2987ef,_0x5ea1d4,_0x266c0f){return _0x419223(_0x5c7ba7-_0x541aaf._0x2d844c,_0x5c7ba7,_0x2987ef-_0x541aaf._0xd8cece,_0x266c0f-_0x541aaf._0x5f2de8);}function _0x2566d2(_0x2efbb5,_0x3fc220,_0x4d3e24,_0x11735d){return _0x419223(_0x2efbb5-0x2d,_0x11735d,_0x3fc220-0x76,_0x11735d-_0x1151fe._0x3c09dc);}const _0x118dd4=_0x10a854[_0x2566d2(_0xfcda09._0x2a7851,_0xfcda09._0x2c0848,0x250,_0xfcda09._0x1b4b3e)]??[],_0x3c83cf=_0x10a854[_0x2566d2(-0x8,_0xfcda09._0x167ad8,0x258,0x175)]??'FileRead';return defineTool({'name':_0x3c83cf,'description':_0x20bf3e(_0xfcda09._0x1ae241,_0xfcda09._0x412887,0x3e1,0x2bc),'inputSchema':{'type':_0x2566d2(_0xfcda09._0x5f0e85,_0xfcda09._0x2157e7,_0xfcda09._0x1f5955,-_0xfcda09._0x26aa47),'properties':{'path':{'type':'string'},'lineStart':{'type':_0x2566d2(_0xfcda09._0x4492de,0x7f,-_0xfcda09._0x33440f,-_0xfcda09._0x4e851a),'description':_0x2566d2(_0xfcda09._0x4771c2,_0xfcda09._0x153480,_0xfcda09._0x806dcb,_0xfcda09._0x10f6af)},'lineEnd':{'type':_0x2566d2(-_0xfcda09._0x36d465,0x7f,0x1d6,-0xdf),'description':_0x20bf3e(_0xfcda09._0x4f84bb,0x374,_0xfcda09._0x32e594,_0xfcda09._0x37ab69)}},'required':[_0x20bf3e(0x240,0x361,_0xfcda09._0x980c57,0x204)]},async *'execute'(_0x321e4e){const _0x4d033a={_0x4278c1:0xab},_0x4b2c34=resolveAllowedPath(_0x26e92c,_0x118dd4,_0x321e4e[_0x330c8f(0x517,0x2aa,0x2e0,_0x58d9db._0x4796f2)]);await assertWorkspaceFile(_0x4b2c34);const _0x374e3d=await _0x3ba997(_0x4b2c34),_0x16ae01=await _0x2b1431(_0x4b2c34);if(isProbablyBinary(_0x16ae01))throw new ToolExecutionError(_0x330c8f(_0x58d9db._0x5591bb,0x5e7,0x335,_0x58d9db._0x47c8bd)+_0x321e4e[_0x140896(0x629,_0x58d9db._0x27e4a9,0x6d3,0x516)],{'path':_0x321e4e[_0x330c8f(_0x58d9db._0x4d522a,_0x58d9db._0x3e5ad1,_0x58d9db._0x4b20d1,0x3e2)]});let _0x242402=_0x16ae01[_0x330c8f(0x418,_0x58d9db._0x5b94d0,_0x58d9db._0x4012a4,_0x58d9db._0x395dd4)](_0x140896(0x59e,0x427,0x5aa,0x60a));const _0x595198=_0x242402['charCodeAt'](0x0)===0xfeff;_0x242402=stripUtfBom(_0x242402);const _0x56c0b9=_0x242402['split'](/\r?\n/),_0x1092dd={'path':_0x321e4e['path'],'resolvedPath':_0x4b2c34,'created':_0x374e3d[_0x140896(0x4c7,_0x58d9db._0x557c23,_0x58d9db._0x214569,0x387)]['toISOString'](),'modified':_0x374e3d[_0x140896(_0x58d9db._0x4e553b,0x574,0x4b3,_0x58d9db._0x595e79)][_0x330c8f(0x2d2,0x3a9,_0x58d9db._0x31aae8,_0x58d9db._0x4bd826)](),'size':_0x374e3d[_0x140896(0x65c,_0x58d9db._0x12023f,0x742,_0x58d9db._0x41c1d6)],'encoding':_0x140896(_0x58d9db._0x1579c9,0x54d,0x4d0,_0x58d9db._0x38888e),'bomStripped':_0x595198,'truncated':![],'totalLines':_0x56c0b9[_0x330c8f(_0x58d9db._0x2dc0df,0x3b3,_0x58d9db._0x5e36b9,_0x58d9db._0xef8b58)]};if(_0x321e4e[_0x140896(0x461,_0x58d9db._0x3aa4fb,_0x58d9db._0xa914b8,_0x58d9db._0x23cfef)]!==void 0x0||_0x321e4e[_0x140896(0x6d4,0x56d,_0x58d9db._0x1f74b6,_0x58d9db._0x5958ca)]!==void 0x0){const _0x38d152=clampLine(_0x321e4e['lineStart']??0x1,_0x56c0b9[_0x330c8f(0x256,0x2b0,_0x58d9db._0xaf47fe,0x3c6)]),_0x424b09=clampLine(_0x321e4e['lineEnd']??_0x56c0b9[_0x140896(_0x58d9db._0x597b60,_0x58d9db._0x387a9c,_0x58d9db._0x54ecb2,_0x58d9db._0x81a01d)],_0x56c0b9[_0x330c8f(_0x58d9db._0x178cbe,0x452,0x475,_0x58d9db._0xef8b58)]),_0x3f8d18=Math[_0x330c8f(0x32f,0x287,0x379,_0x58d9db._0x21a1a2)](_0x38d152,_0x424b09),_0x50fefb=Math[_0x330c8f(_0x58d9db._0x40ef17,0x3c0,0x4e1,_0x58d9db._0x316ee5)](_0x38d152,_0x424b09),_0x3a4aee=_0x56c0b9[_0x140896(_0x58d9db._0x1fb628,_0x58d9db._0x32696f,0x45e,0x484)](_0x3f8d18-0x1,_0x50fefb)['map']((_0x4eaf50,_0x2d6341)=>_0x3f8d18+_0x2d6341+'|'+_0x4eaf50)[_0x140896(_0x58d9db._0x198a8f,0x5df,_0x58d9db._0x35605f,0x56e)]('\x0a');return yield createToolOutput(_0x3a4aee,{..._0x1092dd,'lineRange':{'lineStart':_0x3f8d18,'lineEnd':_0x50fefb,'linesTotal':_0x56c0b9[_0x330c8f(0x3af,_0x58d9db._0x46166f,0x262,_0x58d9db._0xef8b58)]}}),void 0x0;}yield createToolOutput(_0x242402,_0x1092dd);function _0x140896(_0x25888a,_0xcc93f4,_0x32f496,_0x1c5a91){return _0x2566d2(_0x25888a-_0x5d4920._0x2d803d,_0x25888a-_0x5d4920._0x516183,_0x32f496-0x112,_0x32f496);}function _0x330c8f(_0x2eb300,_0x51a002,_0x1a9780,_0x23cc9c){return _0x2566d2(_0x2eb300-0x112,_0x23cc9c-0x245,_0x1a9780-_0x4d033a._0x4278c1,_0x1a9780);}return void 0x0;}});}import{stat as _0x55433e}from'fs/promises';import*as _0xeecfd from'path';import{execSync,spawn as _0x34830c}from'child_process';import{existsSync}from'fs';import{stat as _0x36b1b1}from'fs/promises';import*as _0x1abc46 from'os';import*as _0x74b504 from'path';import{rgPath as _0x2d7f49}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x140d60={_0x338fb4:0x283,_0xd0728:0x265,_0x322958:0x111,_0x328e29:0x5c9,_0x287130:0xcc,_0x5cb965:0x19f,_0x4c0df3:0x185,_0xedeaf:0x22b,_0xb55390:0x24b,_0x4b9f8c:0x75,_0x3b0d9b:0x74,_0x239ee1:0x83,_0x252b20:0x33b,_0x2aa125:0x39a,_0x105fb7:0x220,_0x16eb7e:0x2bd,_0x47d1be:0x281,_0x180800:0x36c,_0x24267b:0x367,_0x2f32d1:0x7b,_0x265574:0x86,_0x480700:0x1d1,_0x391bcc:0x266,_0x5f152e:0x47b,_0x2024d5:0x5d7,_0x21e3b7:0x41c,_0x5c1d71:0x2c5,_0x38c1a7:0x265,_0x3618bf:0x3f2,_0x21c1d8:0x230,_0x26f26a:0x19e,_0x5ddae1:0x10c,_0x1e47b6:0x169,_0xde1a38:0x55,_0x570bac:0x35a,_0x4606fb:0x2de,_0x50d45f:0x25c,_0x1a925c:0x519},_0x3ccb12={_0x32e2ed:0x2be},_0x427e2a={_0x42f31d:0x148},_0x536f46=_0x1abc46[_0x2d5a31(_0x140d60._0x338fb4,0x263,_0x140d60._0xd0728,_0x140d60._0x322958)]()===_0x2d5a31(0x431,0x4e7,_0x140d60._0x328e29,0x4b9),_0x5a4d75=_0x536f46?[_0x74b504[_0x20ead8(0x7d,-_0x140d60._0x287130,-0x100,-_0x140d60._0x5cb965)](process['env'][_0x2d5a31(_0x140d60._0x4c0df3,_0x140d60._0xedeaf,_0x140d60._0xd0728,_0x140d60._0xb55390)]||'',_0x20ead8(-_0x140d60._0x4b9f8c,_0x140d60._0x3b0d9b,0x9,_0x140d60._0x239ee1),_0x2d5a31(_0x140d60._0x252b20,0x39a,_0x140d60._0x2aa125,_0x140d60._0x105fb7),_0x20ead8(-_0x140d60._0x16eb7e,-0xc5,-0x15f,-0x9b)),_0x74b504[_0x2d5a31(0x3af,0x306,0x316,0x3bc)](process[_0x2d5a31(_0x140d60._0x47d1be,0x3d2,_0x140d60._0x180800,0x28c)]['ProgramFiles']||'',_0x2d5a31(0x30f,_0x140d60._0x24267b,0x434,0x4ac),_0x20ead8(0xd3,-_0x140d60._0x2f32d1,0x75,-0xf8)),_0x74b504['join'](process['env'][_0x20ead8(-0x34a,-_0x140d60._0x265574,-_0x140d60._0x480700,-_0x140d60._0x391bcc)]||'','ripgrep',_0x2d5a31(0x315,_0x140d60._0x5f152e,_0x140d60._0x2024d5,_0x140d60._0x21e3b7))]:['/opt/homebrew/bin/rg','/usr/local/bin/rg',_0x2d5a31(0x425,_0x140d60._0x5c1d71,0x3ce,_0x140d60._0x38c1a7),_0x2d5a31(_0x140d60._0x3618bf,0x2f3,_0x140d60._0x21c1d8,0x307)];function _0x20ead8(_0x29fa58,_0x14064b,_0x111b7c,_0x5a6ceb){return _0x419223(_0x29fa58-0x1ba,_0x14064b,_0x111b7c- -_0x427e2a._0x42f31d,_0x5a6ceb-0x163);}for(const _0x3899f4 of _0x5a4d75){if(existsSync(_0x3899f4))return _0x3899f4;}function _0x2d5a31(_0x3a6b79,_0xefba7f,_0x4922aa,_0x373b8e){return _0x419223(_0x3a6b79-0x113,_0x373b8e,_0xefba7f-_0x3ccb12._0x32e2ed,_0x373b8e-0x1ad);}try{const _0x51d953=_0x536f46?_0x20ead8(0x69,-_0x140d60._0x26f26a,-_0x140d60._0x5ddae1,-0xef):_0x20ead8(-0x1bf,-_0x140d60._0x1e47b6,-0x77,_0x140d60._0xde1a38),_0x11a193=execSync(_0x51d953,{'encoding':_0x2d5a31(0x49d,_0x140d60._0x570bac,_0x140d60._0x4606fb,_0x140d60._0x50d45f),'stdio':['pipe',_0x2d5a31(0x3c6,0x481,_0x140d60._0x1a925c,0x344),'ignore']})['trim']()['split'](/\r?\n/)[0x0];if(_0x11a193&&existsSync(_0x11a193))return _0x11a193;}catch{return null;}return null;}async function filepath(){const _0x4c094d={_0x58ceb0:0x26a,_0x4c6371:0x3b1,_0x5d1f5b:0x177},_0x3fd824={_0x1c13cb:0x29};if(cachedRgPath)return cachedRgPath;if(_0x2d7f49&&existsSync(_0x2d7f49))return cachedRgPath=_0x2d7f49,_0x2d7f49;const _0xaf144b=findSystemRipgrep();function _0x206527(_0x46a1a6,_0x55f218,_0x4a2a3d,_0x2a91e0){return _0x419223(_0x46a1a6-_0x3fd824._0x1c13cb,_0x2a91e0,_0x55f218-0x152,_0x2a91e0-0x1e3);}if(!_0xaf144b)throw new Error(_0x206527(0x2d0,_0x4c094d._0x58ceb0,_0x4c094d._0x4c6371,_0x4c094d._0x5d1f5b));return cachedRgPath=_0xaf144b,_0xaf144b;}async function*files(_0x2a2962){const _0x4d4b52={_0xeae248:0x19d,_0x30d066:0xfd,_0x3982eb:0x11c,_0x3cf3e0:0x1f,_0x501ab7:0x11b,_0x28badd:0x6c,_0x31d779:0x16f,_0x1069b8:0xb5,_0x56b120:0x2e,_0xc7fb8a:0x122,_0x36f5ed:0x9d,_0xe3f75d:0x2a8,_0xee4eba:0x1f3,_0x5ca390:0x1d8,_0x3f4f66:0x185,_0x269928:0xb8,_0x226584:0x2,_0x1a453d:0xb1,_0x5ed85d:0xb9,_0x381a82:0x120,_0x2a5362:0x177,_0x24f274:0x12b,_0x520a9f:0xd3,_0xae21ac:0x151,_0x3a8f1b:0x12d,_0x35f25c:0x22e,_0x3753e7:0x20,_0x5bc5b7:0x9d,_0x52ce0e:0x26,_0xf99550:0x1fb,_0x253606:0x11f,_0x890226:0x2c4,_0x2072d1:0x398,_0x2f0a8b:0x25d,_0x3ab01a:0x16c,_0x3e7462:0x5b,_0x1f557b:0x14,_0x2febde:0x16b,_0x2d8253:0x138,_0x313944:0x3c7,_0x344b0d:0x3,_0x5e035e:0x108,_0x5ca78b:0x283},_0x15dead={_0xa39a5c:0xa4},_0x4e4244={_0x49ea5c:0x3c,_0x3bd4cf:0x72},_0x373cfb=await filepath();function _0x32c432(_0x1cf2bf,_0x30fd2b,_0x1a8f3e,_0x3c5286){return _0x283a7f(_0x1cf2bf-_0x4e4244._0x49ea5c,_0x3c5286- -0x32,_0x1a8f3e-_0x4e4244._0x3bd4cf,_0x30fd2b);}const _0x1fce4d=await _0x36b1b1(_0x2a2962[_0xbc90c3(-0x1e3,-0xa8,-_0x4d4b52._0xeae248,-_0x4d4b52._0x30d066)])['catch'](()=>null);if(!_0x1fce4d?.[_0xbc90c3(_0x4d4b52._0x3982eb,0x14e,-_0x4d4b52._0x3cf3e0,-0xc)]())throw Object[_0x32c432(-_0x4d4b52._0x501ab7,_0x4d4b52._0x28badd,-_0x4d4b52._0x31d779,0xa)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x2a2962[_0xbc90c3(-0x12c,-0xa8,-_0x4d4b52._0x1069b8,_0x4d4b52._0x56b120)]+'\x27'),{'code':'ENOENT'});const _0x92094b=[_0xbc90c3(-_0x4d4b52._0xc7fb8a,-0x108,-_0x4d4b52._0x36f5ed,-_0x4d4b52._0xeae248),_0x32c432(_0x4d4b52._0xe3f75d,_0x4d4b52._0xee4eba,_0x4d4b52._0x5ca390,_0x4d4b52._0x3f4f66),_0x32c432(_0x4d4b52._0x269928,_0x4d4b52._0x226584,0x9d,_0x4d4b52._0x1a453d),_0x32c432(_0x4d4b52._0x5ed85d,0x146,0x56,0x34)];for(const _0x1f67ff of _0x2a2962[_0xbc90c3(-_0x4d4b52._0x381a82,-0x97,-_0x4d4b52._0x2a5362,-0x1c2)]??[]){_0x92094b[_0xbc90c3(-_0x4d4b52._0x24f274,0x17,0xba,-0xa2)](_0xbc90c3(-_0x4d4b52._0x520a9f,-_0x4d4b52._0xae21ac,-_0x4d4b52._0x3a8f1b,-_0x4d4b52._0x35f25c)+_0x1f67ff);}const _0x2c4e17=_0x34830c(_0x373cfb,_0x92094b,{'cwd':_0x2a2962[_0x32c432(-_0x4d4b52._0x3753e7,_0x4d4b52._0x5bc5b7,-_0x4d4b52._0x52ce0e,0x92)],'stdio':['ignore',_0xbc90c3(_0x4d4b52._0xf99550,_0x4d4b52._0x253606,0x19,-0x53),_0x32c432(_0x4d4b52._0x890226,_0x4d4b52._0x2072d1,_0x4d4b52._0x2f0a8b,0x259)]});function _0xbc90c3(_0x182d35,_0x583cac,_0x1a9704,_0x2c7ccb){return _0x419223(_0x182d35-0x2d,_0x2c7ccb,_0x583cac- -_0x15dead._0xa39a5c,_0x2c7ccb-0x1e2);}let _0x4e2584='';for await(const _0xcea5d of _0x2c4e17[_0xbc90c3(0x158,_0x4d4b52._0x3ab01a,_0x4d4b52._0x3e7462,0xcc)]??[]){_0x4e2584+=_0xcea5d[_0x32c432(-_0x4d4b52._0x1f557b,_0x4d4b52._0x2febde,0x2b,0x8d)]();const _0x3e5fa2=_0x4e2584['split'](/\r?\n/);_0x4e2584=_0x3e5fa2[_0x32c432(_0x4d4b52._0x2d8253,0x163,_0x4d4b52._0x313944,0x24a)]()??'';for(const _0x1d0155 of _0x3e5fa2){if(_0x1d0155[_0xbc90c3(0xba,0x67,0x17f,_0x4d4b52._0x344b0d)]>0x0)yield _0x1d0155;}}_0x4e2584[_0xbc90c3(-_0x4d4b52._0x5e035e,-0x12f,-_0x4d4b52._0x5ca78b,-0x21c)]()['length']>0x0&&(yield _0x4e2584['trim']());}function parseMatchLine(_0x2915dd,_0x5a5ac4){const _0x5b2c7e={_0x3edf92:0x65f,_0x1fdcae:0x6ff,_0x22ee72:0x5ae,_0x31d8a2:0x55e,_0x28f9b6:0x5b2,_0x5bc4d6:0x63b,_0x4175c3:0x6ec,_0x1af2f1:0x43c,_0x4c9578:0x6fa,_0x2f1d17:0x3ce,_0x4be250:0x2fd,_0x133faa:0x6bf,_0x59691b:0x877,_0x5735cb:0x5ad,_0x36713b:0x495,_0xa82153:0x617,_0x3f02bf:0x4e1,_0x351903:0x774},_0x383d3b={_0x93e25f:0x1a5};if(!_0x2915dd||_0x2915dd==='--')return null;const _0x537fde=_0x2915dd[_0xe8cf9(0x675,0x6ce,_0x5b2c7e._0x3edf92,_0x5b2c7e._0x1fdcae)]('|');function _0x4234aa(_0x1bddc3,_0x500d56,_0x4402af,_0x3f2850){return _0x419223(_0x1bddc3-0x153,_0x500d56,_0x1bddc3-0x386,_0x3f2850-0x18a);}if(_0x5a5ac4&&_0x537fde['length']>=0x4&&Number[_0x4234aa(0x5ad,0x628,0x482,0x672)](Number[_0x4234aa(_0x5b2c7e._0x22ee72,_0x5b2c7e._0x31d8a2,0x665,_0x5b2c7e._0x28f9b6)](_0x537fde[0x2]??'',0xa))){const _0x1fdec4=Number[_0xe8cf9(0x799,0x6a3,0x851,_0x5b2c7e._0x5bc4d6)](_0x537fde[0x1]??'',0xa);if(!Number[_0x4234aa(0x5ad,0x677,_0x5b2c7e._0x4175c3,_0x5b2c7e._0x1af2f1)](_0x1fdec4)||!_0x537fde[0x0])return null;return{'filePath':_0x537fde[0x0],'lineNum':_0x1fdec4,'lineText':_0x537fde[_0xe8cf9(0x623,0x530,0x64f,_0x5b2c7e._0x4c9578)](0x3)[_0x4234aa(_0x5b2c7e._0x2f1d17,0x3f7,0x510,_0x5b2c7e._0x4be250)]('|')};}if(_0x537fde['length']>=0x3){const _0x486190=Number[_0xe8cf9(0x799,_0x5b2c7e._0x133faa,0x75b,_0x5b2c7e._0x59691b)](_0x537fde[0x1]??'',0xa);if(!Number[_0x4234aa(_0x5b2c7e._0x5735cb,_0x5b2c7e._0x36713b,_0x5b2c7e._0xa82153,0x65c)](_0x486190)||!_0x537fde[0x0])return null;return{'filePath':_0x537fde[0x0],'lineNum':_0x486190,'lineText':_0x537fde[_0xe8cf9(0x623,_0x5b2c7e._0x3f02bf,_0x5b2c7e._0x351903,0x4c1)](0x2)[_0x4234aa(0x3ce,0x2a5,0x3c8,0x475)]('|'),..._0x5a5ac4?{'isContext':!![]}:{}};}function _0xe8cf9(_0x4627db,_0x4b8a91,_0x231efb,_0x95af03){return _0x419223(_0x4627db-_0x383d3b._0x93e25f,_0x95af03,_0x4627db-0x571,_0x95af03-0xd4);}return null;}async function search(_0x28f6bd){const _0x805fb={_0x42bf81:0x782,_0x33099a:0x684,_0xc77304:0x5a0,_0x4a4439:0x68c,_0x437cbd:0x685,_0x1153ac:0x61c,_0x1a7575:0x6a2,_0x41b869:0xd2,_0x12d564:0x36,_0x2c6cee:0x80,_0x3caf21:0x1c8,_0x207e5b:0x637,_0x2f96ae:0x5d7,_0xc9cbd8:0x95,_0x47b24c:0x205,_0x2ec27e:0x180,_0x389dde:0x1b7,_0x16cfbc:0x24c,_0x3bbcff:0x1a7,_0x4edf25:0xc2,_0x28a503:0x1f,_0x4372b4:0x4fc,_0x519142:0x4a7,_0x1de88e:0x63b,_0x3f5835:0x4e6,_0xfa2c4a:0x91,_0x584d41:0x1b,_0x7c8dc5:0x3a0,_0x2bbd6c:0x56c,_0x4c4e3d:0x375,_0x585b7c:0x446,_0x3e408d:0x50,_0x25eaec:0x144,_0x2d6803:0x4f4,_0x30c5f6:0x514,_0x3f8834:0x544,_0x3b7507:0x616,_0x56c432:0x4d8,_0x501b76:0x3ba,_0x4f712f:0x4b4,_0x17acd3:0x4f1,_0x306fa6:0x46c,_0x3409d6:0x22b,_0x3e8a58:0x64,_0x308f5a:0x11,_0x1466b7:0x252,_0x571240:0x123,_0x50a52f:0xad,_0x533e92:0x3b6,_0x2a6201:0x3f,_0xcb800a:0x1d,_0x2abc76:0x7ba,_0x4a86f9:0x731,_0x2b732d:0x6e,_0x54320d:0x271},_0x74d6f7={_0x427458:0x1e7,_0x5f50f7:0x4a5,_0x43394d:0x40a,_0x44e395:0x47b,_0x5076f3:0x367,_0x5ce94f:0x25a,_0x2e08f7:0x3b3,_0x3c8344:0x4ae,_0x3d2d77:0x458,_0x213ee2:0x291,_0x377aae:0x516,_0x3ffda6:0x4a3,_0xf6dbe0:0x28f,_0x1765b9:0x35b},_0x33d28c={_0x4d976a:0x1bc,_0x4e422a:0xa9,_0xcd6f4:0x19f,_0x3d95aa:0x571,_0x44292a:0x497,_0x22c219:0x4f2,_0x2c8709:0x130,_0x14654c:0x52},_0x59ba09={_0x5e2731:0xc8,_0x80735d:0x30b},_0x2998d6={_0x3f03b4:0x103,_0x2f1542:0x52},_0xbd94d7={_0x499205:0x1e3},_0x1db154={_0x38f939:0x4ab},_0x49eacc=await filepath();function _0x3b3986(_0x7e4d1e,_0x3bdfda,_0x41376c,_0x3fc7c2){return _0x419223(_0x7e4d1e-0xe,_0x3bdfda,_0x3fc7c2-_0x1db154._0x38f939,_0x3fc7c2-0x180);}if(_0x28f6bd[_0x3b3986(_0x805fb._0x42bf81,_0x805fb._0x33099a,_0x805fb._0xc77304,_0x805fb._0x4a4439)]){const _0x7d39aa=await _0x36b1b1(_0x28f6bd['file'])[_0x3b3986(_0x805fb._0x437cbd,_0x805fb._0x1153ac,0x543,_0x805fb._0x1a7575)](()=>null);if(!_0x7d39aa?.[_0x5038fd(-_0x805fb._0x41b869,-0xd5,-_0x805fb._0x12d564,-_0x805fb._0x2c6cee)]())throw Object[_0x5038fd(-0x13d,-_0x805fb._0x3caf21,-0x1a7,-0xcf)](new Error(_0x3b3986(_0x805fb._0x207e5b,0x5f2,_0x805fb._0x2f96ae,_0x805fb._0x1153ac)+_0x28f6bd['file']+'\x27'),{'code':'ENOENT'});}else{const _0x4d0769=await _0x36b1b1(_0x28f6bd[_0x5038fd(-_0x805fb._0xc9cbd8,-_0x805fb._0x47b24c,-0x11f,-_0x805fb._0x2ec27e)])[_0x5038fd(0xde,_0x805fb._0x389dde,0xdc,_0x805fb._0x16cfbc)](()=>null);if(!_0x4d0769?.['isDirectory']())throw Object[_0x5038fd(-0x26d,-0xf0,-_0x805fb._0x3bbcff,-_0x805fb._0x4edf25)](new Error(_0x5038fd(0xe2,-_0x805fb._0x28a503,0x128,0x1dd)+_0x28f6bd[_0x3b3986(0x361,_0x805fb._0x4372b4,0x4a6,_0x805fb._0x519142)]+'\x27'),{'code':_0x3b3986(0x598,0x598,_0x805fb._0x1de88e,_0x805fb._0x3f5835)});}const _0x2f79d3=[_0x5038fd(0x145,-_0x805fb._0xfa2c4a,-_0x805fb._0x584d41,0x120),_0x3b3986(_0x805fb._0x7c8dc5,_0x805fb._0x2bbd6c,_0x805fb._0x4c4e3d,_0x805fb._0x585b7c),_0x5038fd(0x3b,-_0x805fb._0x3e408d,-0x30,_0x805fb._0x25eaec),_0x3b3986(_0x805fb._0x2d6803,0x465,_0x805fb._0x30c5f6,0x42a),_0x28f6bd[_0x3b3986(_0x805fb._0x3f8834,_0x805fb._0x3b7507,0x436,0x4f2)]],_0x34c9bf=typeof _0x28f6bd[_0x5038fd(-0x238,-0x2e7,-0x172,-0x37)]===_0x3b3986(_0x805fb._0x56c432,0x34e,_0x805fb._0x501b76,_0x805fb._0x4f712f)&&_0x28f6bd['context']>0x0;_0x34c9bf&&_0x2f79d3[_0x3b3986(_0x805fb._0x17acd3,0x4a4,_0x805fb._0x306fa6,0x566)]('-C',String(_0x28f6bd[_0x3b3986(0x32f,0x376,0x55f,0x454)]),'--column');function _0x5038fd(_0x452fde,_0x199348,_0x263ae9,_0x455043){return _0x283a7f(_0x452fde-0x1df,_0x263ae9- -_0xbd94d7._0x499205,_0x263ae9-0x20,_0x452fde);}return _0x28f6bd['glob']&&!_0x28f6bd[_0x5038fd(_0x805fb._0x3409d6,-0x10,0xc6,0x173)]&&_0x2f79d3[_0x5038fd(-0x1c6,_0x805fb._0x3e8a58,-0x60,_0x805fb._0x308f5a)](_0x5038fd(-0x92,-_0x805fb._0x1466b7,-_0x805fb._0x571240,-_0x805fb._0x50a52f),_0x28f6bd[_0x3b3986(0x580,0x485,_0x805fb._0x533e92,0x4b8)]),_0x2f79d3[_0x5038fd(-_0x805fb._0x2a6201,-_0x805fb._0xcb800a,-0x60,-0x139)](_0x28f6bd[_0x3b3986(_0x805fb._0x2abc76,0x6be,_0x805fb._0x4a86f9,_0x805fb._0x4a4439)]??_0x28f6bd[_0x5038fd(-_0x805fb._0x2b732d,-_0x805fb._0x54320d,-0x11f,-0x292)]),await new Promise((_0x130863,_0x599b15)=>{const _0x319aa4={_0xc120c9:0x1fd},_0x16cf6b=_0x34830c(_0x49eacc,_0x2f79d3,{'cwd':_0x28f6bd[_0x5d7bab(_0x74d6f7._0x427458,0x7d,0x1ec,0x305)],'stdio':[_0x5d7bab(_0x74d6f7._0x5f50f7,_0x74d6f7._0x43394d,0x41f,_0x74d6f7._0x44e395),_0x5d7bab(_0x74d6f7._0x5076f3,_0x74d6f7._0x5ce94f,_0x74d6f7._0x2e08f7,0x462),'pipe']});let _0x128a7d='';function _0x386543(_0x331bf7,_0x2d2fe1,_0x4ba59d,_0x1bee19){return _0x3b3986(_0x331bf7-_0x2998d6._0x3f03b4,_0x1bee19,_0x4ba59d-0x81,_0x4ba59d- -_0x2998d6._0x2f1542);}let _0x4c4193='';function _0x5d7bab(_0x331d25,_0x17db8f,_0x47f6ec,_0x39b169){return _0x5038fd(_0x39b169,_0x17db8f-_0x59ba09._0x5e2731,_0x47f6ec-_0x59ba09._0x80735d,_0x39b169-0x6e);}_0x16cf6b[_0x5d7bab(_0x74d6f7._0x3c8344,0x2d9,0x400,0x487)]?.['on'](_0x5d7bab(_0x74d6f7._0x3d2d77,0x2f5,0x3aa,_0x74d6f7._0x213ee2),_0x42259b=>{const _0x546c70={_0x581c29:0x56,_0x37fd8c:0x155};function _0x3207dd(_0x466b4b,_0x1bc58b,_0x2d4c33,_0x37368e){return _0x386543(_0x466b4b-0x1a8,_0x1bc58b-_0x546c70._0x581c29,_0x466b4b- -_0x546c70._0x37fd8c,_0x37368e);}_0x128a7d+=_0x42259b[_0x3207dd(0x2fb,0x440,0x1f5,_0x319aa4._0xc120c9)]();}),_0x16cf6b[_0x386543(0x483,0x3f4,_0x74d6f7._0x377aae,0x509)]?.['on'](_0x386543(_0x74d6f7._0x3ffda6,0x4db,0x613,0x705),_0x974ebc=>{_0x4c4193+=_0x974ebc['toString']();}),_0x16cf6b['on'](_0x5d7bab(0x30c,_0x74d6f7._0xf6dbe0,_0x74d6f7._0x1765b9,0x48e),_0x31c501=>{const _0x324fe8={_0x1cf049:0x259},_0x42e8eb={_0x471d64:0x2d};if(_0x31c501===0x1&&_0x128a7d===''){_0x130863([]);return;}if(_0x31c501!==0x0&&_0x31c501!==0x1){_0x599b15(new Error('ripgrep\x20failed:\x20'+_0x4c4193));return;}const _0x1c9264=_0x28f6bd[_0x16d739(_0x33d28c._0x4d976a,_0x33d28c._0x4e422a,_0x33d28c._0xcd6f4,0x113)]??0x64;function _0xfe942f(_0x24691f,_0x3433ee,_0x205bc5,_0x2b13ce){return _0x5d7bab(_0x24691f-0x48,_0x3433ee-_0x42e8eb._0x471d64,_0x2b13ce-0x1f7,_0x24691f);}const _0x1334ae=[];function _0x16d739(_0x583772,_0x477f01,_0x1b2189,_0x126f44){return _0x5d7bab(_0x583772-0x1cf,_0x477f01-0x170,_0x1b2189- -_0x324fe8._0x1cf049,_0x583772);}for(const _0x1da234 of _0x128a7d[_0xfe942f(0x5e3,0x46f,_0x33d28c._0x3d95aa,0x4eb)](/\r?\n/)){if(_0x1334ae[_0xfe942f(0x4b4,_0x33d28c._0x44292a,0x55e,_0x33d28c._0x22c219)]>=_0x1c9264)break;const _0x45184b=parseMatchLine(_0x1da234,_0x34c9bf);if(_0x45184b)_0x1334ae[_0x16d739(-0x64,_0x33d28c._0x2c8709,_0x33d28c._0x14654c,0x1ce)](_0x45184b);}_0x130863(_0x1334ae);}),_0x16cf6b['on']('error',_0x599b15);});}function createGlobTool(_0x4dc4cc={}){const _0x28e8f1={_0x4e3808:0x135,_0x5c971b:0x1b3,_0x468912:0x159,_0x1672d7:0x171,_0x4fb231:0x44,_0x54640c:0x20,_0x3a0a8c:0x125,_0x5113eb:0x78,_0x1249a2:0x98,_0x89df1d:0x1f,_0x569569:0x96,_0x3c160c:0xa1,_0x5ed13b:0x2e,_0x1566ea:0x93,_0x44d3f7:0x16,_0x5957cf:0xb3,_0x247707:0x54,_0x104c77:0x3a,_0x328e54:0x74,_0x2365a6:0xc5,_0xdd821a:0x12f},_0x4ea84f={_0x47bbd5:0x5f1,_0x15e220:0x760,_0x3715dc:0x4b3,_0x509e46:0x3a4,_0x56fc8a:0x248,_0x22a9d6:0x610,_0x3dd049:0x62a,_0x58db47:0x7bf,_0x4b6cae:0x6fa,_0x2c4786:0x6d1,_0x42bc69:0x607,_0x5c6102:0x628,_0x254db0:0x752,_0x42b0f0:0x5ec,_0x4c6a04:0x754,_0x242a18:0x623,_0x2de8e2:0x78e,_0x1f93a6:0x788,_0x3dc229:0x5f4,_0x5849ab:0x5e1,_0x1cf5e8:0x639,_0x36398f:0x560,_0x40b1a6:0x7a3,_0x4f2020:0x738,_0x5ab7ea:0x56b,_0x4e06de:0x592,_0x1bb7ff:0x5e6,_0x530c3e:0x770,_0x73714c:0x3c5,_0x5207de:0x3e9,_0x1e3bc0:0x43a,_0x483368:0x3c8,_0x2d0182:0x3bd,_0x5f3e24:0x2ef,_0x59a041:0x88c,_0x4c2ddc:0x5d9,_0xd574d6:0x556,_0x15e7e0:0x544,_0x2e16a1:0x71f,_0x1e83da:0x4f4,_0x4a1927:0x6f4,_0x150233:0x597,_0x58a9d2:0x478,_0x43ffdb:0x485,_0x4556a0:0x3d5,_0x213ab5:0x806,_0x4b0551:0x6dc},_0x349137={_0x1f0ae7:0x4ce,_0x5a7ba4:0x1d1,_0x645fcc:0x75},_0x4a22f1={_0x26620a:0x13c,_0x283c4f:0x113,_0x255b51:0x627},_0x4043b3={_0x2d992f:0x7d},_0x570faa={_0x5ca2da:0x16d,_0x5191e1:0x165,_0x4b6c4d:0x127},_0x4d88a9=_0xeecfd[_0x563ca4(_0x28e8f1._0x4e3808,0xa9,0xdb,_0x28e8f1._0x5c971b)](_0x4dc4cc[_0x563ca4(-_0x28e8f1._0x468912,-0xa5,0x150,-0x18)]??process[_0x563ca4(0x35,-0x198,-_0x28e8f1._0x1672d7,-0x81)]());function _0x100efd(_0x1a8815,_0x55bc58,_0x12c12e,_0x3ff4e8){return _0x283a7f(_0x1a8815-_0x570faa._0x5ca2da,_0x1a8815- -_0x570faa._0x5191e1,_0x12c12e-_0x570faa._0x4b6c4d,_0x55bc58);}function _0x563ca4(_0x37de76,_0x221f43,_0x2aa4f3,_0x4a6291){return _0x419223(_0x37de76-0x114,_0x2aa4f3,_0x4a6291- -_0x4043b3._0x2d992f,_0x4a6291-0x145);}const _0x39b11b=_0x4dc4cc[_0x100efd(_0x28e8f1._0x4fb231,0x158,_0x28e8f1._0x54640c,0x30)]??[],_0x13a07a=_0x4dc4cc[_0x563ca4(0xe5,0x2d2,_0x28e8f1._0x3a0a8c,0x18b)]??0x64,_0x3f1dad=_0x4dc4cc['name']??_0x563ca4(0x48,-0xb5,_0x28e8f1._0x5113eb,_0x28e8f1._0x1249a2);return defineTool({'name':_0x3f1dad,'description':_0x563ca4(0xb3,_0x28e8f1._0x89df1d,_0x28e8f1._0x569569,0x6c),'inputSchema':{'type':_0x100efd(0xa,0x3d,-_0x28e8f1._0x3c160c,-_0x28e8f1._0x5ed13b),'properties':{'pattern':{'type':_0x100efd(_0x28e8f1._0x1566ea,0x20c,0x79,_0x28e8f1._0x44d3f7)},'path':{'type':_0x563ca4(0x152,-0xa0,-0x8a,_0x28e8f1._0x5957cf)},'limit':{'type':_0x563ca4(-0x4a,_0x28e8f1._0x247707,-_0x28e8f1._0x104c77,-_0x28e8f1._0x328e54)}},'required':[_0x563ca4(_0x28e8f1._0x2365a6,_0x28e8f1._0xdd821a,-0x115,-0x36)]},async *'execute'(_0x3afdbd){if(_0x3afdbd[_0x289896(_0x4ea84f._0x47bbd5,0x6af,0x6d2,_0x4ea84f._0x15e220)][_0x485a7d(0x3a6,_0x4ea84f._0x3715dc,_0x4ea84f._0x509e46,_0x4ea84f._0x56fc8a)]()[_0x289896(0x6b5,_0x4ea84f._0x22a9d6,_0x4ea84f._0x3dd049,_0x4ea84f._0x58db47)]===0x0)throw new ToolExecutionError(_0x485a7d(0x64d,0x62c,_0x4ea84f._0x4b6cae,0x65d),{});const _0x444555=resolveAllowedPath(_0x4d88a9,_0x39b11b,_0x3afdbd[_0x289896(_0x4ea84f._0x2c4786,0x81e,_0x4ea84f._0x42bc69,0x556)]??'.');function _0x289896(_0x32d38b,_0x2013ca,_0x4ae23c,_0x211b10){return _0x563ca4(_0x32d38b-_0x4a22f1._0x26620a,_0x2013ca-_0x4a22f1._0x283c4f,_0x211b10,_0x32d38b-_0x4a22f1._0x255b51);}const _0x27310a=await _0x55433e(_0x444555)[_0x485a7d(_0x4ea84f._0x5c6102,_0x4ea84f._0x254db0,_0x4ea84f._0x42b0f0,_0x4ea84f._0x4c6a04)](()=>null);if(!_0x27310a?.[_0x485a7d(_0x4ea84f._0x242a18,_0x4ea84f._0x2de8e2,0x6e3,_0x4ea84f._0x1f93a6)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x3afdbd[_0x485a7d(0x558,0x450,_0x4ea84f._0x3dc229,_0x4ea84f._0x5849ab)]??'.'),{'path':_0x3afdbd['path']??'.'});const _0x21e09d=_0x3afdbd[_0x485a7d(_0x4ea84f._0x1cf5e8,0x59b,_0x4ea84f._0x36398f,0x4c8)]??_0x13a07a,_0x2e8841=Math[_0x289896(_0x4ea84f._0x40b1a6,_0x4ea84f._0x4f2020,0x8eb,0x823)](0x1,Math[_0x289896(_0x4ea84f._0x5ab7ea,_0x4ea84f._0x4e06de,_0x4ea84f._0x1bb7ff,0x4e9)](_0x21e09d)),_0x1543b4=[];let _0x4f9c2c=![];function _0x485a7d(_0x5b79d8,_0x4749fe,_0x4b4e00,_0x29c1c0){return _0x100efd(_0x5b79d8-_0x349137._0x1f0ae7,_0x4b4e00,_0x4b4e00-_0x349137._0x5a7ba4,_0x29c1c0-_0x349137._0x645fcc);}for await(const _0x376fa3 of files({'cwd':_0x444555,'glob':[_0x3afdbd['pattern']]})){if(_0x1543b4[_0x289896(0x6b5,0x6f0,0x682,_0x4ea84f._0x530c3e)]>=_0x2e8841){_0x4f9c2c=!![];break;}const _0x5dc0fe=await _0x55433e(_0xeecfd['join'](_0x444555,_0x376fa3))['catch'](()=>null);_0x1543b4['push']({'path':_0x376fa3,'mtime':_0x5dc0fe?.[_0x485a7d(0x49a,_0x4ea84f._0x73714c,_0x4ea84f._0x5207de,_0x4ea84f._0x1e3bc0)]??0x0});}_0x1543b4[_0x485a7d(_0x4ea84f._0x483368,_0x4ea84f._0x2d0182,0x3eb,_0x4ea84f._0x5f3e24)]((_0x512081,_0x5c1f3b)=>_0x5c1f3b[_0x289896(0x6ca,0x743,0x73a,0x55b)]-_0x512081[_0x289896(0x6ca,0x555,0x819,0x7a9)]);const _0xed72cd=_0x1543b4[_0x289896(0x714,_0x4ea84f._0x59a041,0x6a6,0x701)](_0xe71b3d=>_0xe71b3d[_0x485a7d(0x558,0x6a5,0x561,0x580)]),_0x49c753=_0xed72cd[_0x289896(0x6b5,0x600,0x79d,_0x4ea84f._0x4c2ddc)]===0x0?_0x289896(0x5ec,_0x4ea84f._0xd574d6,0x4a0,_0x4ea84f._0x15e7e0)+_0x3afdbd[_0x289896(0x5f1,0x54d,_0x4ea84f._0x2e16a1,_0x4ea84f._0x1e83da)]:''+_0xed72cd['join']('\x0a')+(_0x4f9c2c?_0x289896(0x663,_0x4ea84f._0x4a1927,0x640,_0x4ea84f._0x150233):'');return yield createToolOutput(_0x49c753,{'pattern':_0x3afdbd[_0x485a7d(_0x4ea84f._0x58a9d2,0x4a5,_0x4ea84f._0x43ffdb,_0x4ea84f._0x4556a0)],'searchPath':_0xeecfd['relative'](_0x4d88a9,_0x444555)||'.','matches':_0xed72cd,'count':_0xed72cd[_0x289896(0x6b5,_0x4ea84f._0x530c3e,_0x4ea84f._0x213ab5,_0x4ea84f._0x4b0551)],'truncated':_0x4f9c2c}),void 0x0;}});}import{stat as _0x1c5522}from'fs/promises';import*as _0x2a1b45 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0xb6bf9b={}){const _0x146cd4={_0x213507:0x681,_0x438ba3:0x563,_0x2877e0:0x794,_0x5608a2:0x51d,_0x7c9fa8:0x554,_0x5efc54:0x4d3,_0x2a6339:0x340,_0x2d68d7:0x58c,_0x103ef4:0x5b8,_0x160ded:0x4e3,_0x342c46:0x5a2,_0x2d1956:0x58a,_0x58d878:0x603,_0x2d0625:0x4e7,_0x4d65b4:0x6e7,_0x2a04e6:0x635,_0x438456:0x45a,_0x266e55:0x2e3,_0x2670e4:0x556,_0x14a7cf:0x498},_0x3b57bf={_0x55c972:0x48a,_0x502090:0x5c8,_0x3ed08f:0xd9,_0x12c31d:0x37,_0x108fab:0x4,_0x104f76:0xc9,_0x287056:0x1e7,_0x47cdf7:0x28a,_0x3bea7d:0x375,_0x3a4c4b:0x476,_0x2813da:0x2fa,_0x176132:0x1dd,_0x54721c:0x3,_0x424992:0x5b,_0xfad513:0x379,_0x4c9d7e:0x3a6,_0xe486f:0x3b7,_0x4dcb33:0x15a,_0x50fb27:0x20f,_0x5644b8:0x105,_0x2d7925:0xc8,_0x566cc6:0xa8,_0x1ef02d:0x1bb,_0x5c3040:0x17c,_0x1ee566:0x1e1,_0x352725:0x306,_0x2ea90f:0x393,_0x4b9111:0x29d,_0x18f7e7:0x235,_0x480774:0x44,_0x39ce6d:0xfe,_0x487cc3:0x7c,_0x18bb7f:0x52,_0x476973:0x4d,_0x3d50af:0x9f,_0x23c972:0x94,_0x4e678a:0x149,_0x386ce7:0x9f,_0x53fb79:0xa9,_0x15ad56:0x92,_0x3a929e:0x31,_0x2e21d0:0x7c,_0x56751f:0x1ce,_0x225e26:0xef,_0x4c52d6:0x1a4,_0x5951e6:0x85,_0x3e23c1:0xef,_0x719448:0x78,_0x386a82:0xe5,_0x350786:0x7,_0x1aa862:0x349,_0x3f25a8:0x437,_0x558441:0x45a,_0x40c387:0x84,_0xdc6c32:0x285,_0x2a7758:0x3a,_0x195679:0xbd,_0x2e756c:0x2b,_0x1f2811:0x1f2,_0x493dd9:0x335,_0x579f2e:0x2f3,_0x22376a:0x258,_0x56ab0b:0x1c6,_0x397c7b:0x21c,_0xe60cba:0x14e,_0xb6882e:0x34c,_0x402f76:0x42d,_0x143f31:0x320,_0x5b3fd5:0x1f3,_0x132072:0x38a,_0x5a3e21:0x16f,_0x4b3586:0x304,_0x5d06be:0x343,_0x43fba7:0x1b1,_0x54a696:0x3ac,_0x409216:0x1,_0x40d7c6:0x26,_0x3aed23:0x2b,_0x463943:0x3c8,_0x6d3353:0x3ea,_0x2f17de:0x467,_0x2d009b:0x101,_0x34d61e:0x198,_0x4f956d:0x10,_0xc6fc15:0x1c2,_0x26a543:0x75,_0x427a78:0xdd,_0x1a5a8a:0x1e3,_0x3ddfaf:0x215},_0x2f2c5e={_0x29f434:0x1ac,_0x75bbe9:0x43d},_0x5e4342={_0x508b7b:0x389,_0x4c8dc9:0x121};function _0x1fd6c7(_0x269c2e,_0x2b2f69,_0x5932b9,_0x3a8e71){return _0x283a7f(_0x269c2e-0xea,_0x269c2e-_0x5e4342._0x508b7b,_0x5932b9-_0x5e4342._0x4c8dc9,_0x3a8e71);}const _0x373f4e=_0x2a1b45[_0x1fd6c7(_0x146cd4._0x213507,_0x146cd4._0x438ba3,_0x146cd4._0x2877e0,0x61d)](_0xb6bf9b[_0x4b220a(_0x146cd4._0x5608a2,_0x146cd4._0x7c9fa8,0x56a,0x674)]??process[_0x1fd6c7(0x44d,0x412,_0x146cd4._0x5efc54,_0x146cd4._0x2a6339)]()),_0x3d9fc7=_0xb6bf9b['allowedDirs']??[],_0x12ac01=_0xb6bf9b[_0x4b220a(0x755,0x597,0x70d,0x767)]??0x64,_0x54bc1f=_0xb6bf9b['name']??_0x4b220a(0x4e3,0x59d,_0x146cd4._0x2d68d7,_0x146cd4._0x103ef4);function _0x4b220a(_0x23c8ab,_0x8e2108,_0x484691,_0x2a270d){return _0x283a7f(_0x23c8ab-_0x2f2c5e._0x29f434,_0x484691-_0x2f2c5e._0x75bbe9,_0x484691-0x181,_0x2a270d);}return defineTool({'name':_0x54bc1f,'description':_0x4b220a(_0x146cd4._0x160ded,_0x146cd4._0x342c46,_0x146cd4._0x2d1956,0x632),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0x1fd6c7(0x581,0x6a8,_0x146cd4._0x58d878,_0x146cd4._0x2d0625)},'path':{'type':_0x4b220a(_0x146cd4._0x4d65b4,0x6cd,_0x146cd4._0x2a04e6,0x531)},'include':{'type':'string'},'limit':{'type':'number'},'context':{'type':_0x1fd6c7(_0x146cd4._0x438456,_0x146cd4._0x266e55,_0x146cd4._0x2670e4,0x584)}},'required':[_0x1fd6c7(_0x146cd4._0x14a7cf,0x43d,0x332,0x53e)]},async *'execute'(_0x2a8f02){const _0x3632b7={_0x548762:0x12b,_0x5998fd:0x297},_0x3ee33a={_0x282327:0x65,_0x25c76d:0x521};if(_0x2a8f02[_0x321978(0x2b5,0x3fc,0x275,0x419)]['trim']()[_0x4cac31(0x10,0xb9,0xd2,0xef)]===0x0)throw new ToolExecutionError(_0x321978(_0x3b57bf._0x55c972,_0x3b57bf._0x502090,0x4f5,0x45a),{});const _0x2632eb=resolveAllowedPath(_0x373f4e,_0x3d9fc7,_0x2a8f02['path']??'.'),_0x46ee71=await _0x1c5522(_0x2632eb)['catch'](()=>null),_0x186d70=_0x46ee71?.[_0x4cac31(_0x3b57bf._0x3ed08f,_0x3b57bf._0x12c31d,_0x3b57bf._0x108fab,_0x3b57bf._0x104f76)]()??![],_0x1e9ed3=_0x46ee71?.[_0x4cac31(_0x3b57bf._0x287056,0x2d7,_0x3b57bf._0x47cdf7,0x1d6)]()??![];function _0x4cac31(_0x15f10c,_0x2ac164,_0x37252c,_0x26ea52){return _0x4b220a(_0x15f10c-0x19b,_0x2ac164-_0x3ee33a._0x282327,_0x26ea52- -_0x3ee33a._0x25c76d,_0x2ac164);}if(!_0x186d70&&!_0x1e9ed3)throw new ToolExecutionError('Path\x20not\x20found:\x20'+(_0x2a8f02[_0x321978(0x395,0x400,0x469,_0x3b57bf._0x3bea7d)]??'.'),{'path':_0x2a8f02['path']??'.'});const _0x324c48=_0x2a8f02[_0x321978(_0x3b57bf._0x3a4c4b,_0x3b57bf._0x2813da,0x48d,0x30e)]??_0x12ac01,_0x3f5c33=Math[_0x4cac31(0x359,0xdf,0xfb,_0x3b57bf._0x176132)](0x1,Math[_0x4cac31(_0x3b57bf._0x54721c,-0x80,0x91,-_0x3b57bf._0x424992)](_0x324c48)),_0x3bb5a5=await search({'cwd':_0x1e9ed3?_0x2632eb:_0x2a1b45[_0x321978(0x283,_0x3b57bf._0xfad513,_0x3b57bf._0x4c9d7e,0x26c)](_0x2632eb),'pattern':_0x2a8f02[_0x321978(0x2b5,_0x3b57bf._0xe486f,0x3ac,_0x3b57bf._0x4dcb33)],'glob':_0x1e9ed3?_0x2a8f02[_0x321978(_0x3b57bf._0x50fb27,0x293,_0x3b57bf._0x5644b8,0x1a6)]:void 0x0,'limit':_0x3f5c33,'file':_0x186d70?_0x2632eb:void 0x0,'context':_0x2a8f02[_0x4cac31(-_0x3b57bf._0x2d7925,-_0x3b57bf._0x566cc6,-_0x3b57bf._0x1ef02d,-0x73)]}),_0x572a84=new Map();for(const _0x2c0e66 of _0x3bb5a5){if(!_0x572a84[_0x4cac31(_0x3b57bf._0x5c3040,_0x3b57bf._0x1ee566,0x1,0xca)](_0x2c0e66[_0x4cac31(-0x4b,0x1c6,-0x79,0x7c)])){const _0x4e3360=await _0x1c5522(_0x2c0e66[_0x321978(_0x3b57bf._0x352725,0x1c4,0x2a9,0x396)])['catch'](()=>null);_0x572a84[_0x321978(_0x3b57bf._0x2ea90f,0x379,_0x3b57bf._0x4b9111,_0x3b57bf._0x18f7e7)](_0x2c0e66[_0x4cac31(-0xfb,-_0x3b57bf._0x480774,_0x3b57bf._0x39ce6d,_0x3b57bf._0x487cc3)],{'matches':[],'mtime':_0x4e3360?.[_0x4cac31(-0x50,-0x8,_0x3b57bf._0x18bb7f,_0x3b57bf._0x476973)]??0x0});}_0x572a84['get'](_0x2c0e66[_0x4cac31(-_0x3b57bf._0x3d50af,_0x3b57bf._0x23c972,-0xcb,0x7c)])?.[_0x4cac31(-0x127,-0x44,-_0x3b57bf._0x4e678a,-0xc1)][_0x4cac31(0x188,0x68,0x104,_0x3b57bf._0x386ce7)](_0x2c0e66);}const _0x2f88e4=[..._0x572a84[_0x4cac31(_0x3b57bf._0x53fb79,0x14e,0x22e,0x1c0)]()][_0x4cac31(-_0x3b57bf._0x15ad56,-_0x3b57bf._0x3a929e,0x24,-0x85)]((_0x16cb6c,_0x274ab5)=>_0x274ab5[0x1][_0x321978(0x38e,0x37e,0x4e8,0x270)]-_0x16cb6c[0x1][_0x4cac31(0xe0,0x145,-0xe,0x104)]),_0x2304cb=_0x3bb5a5['filter'](_0x43fd6d=>!_0x43fd6d[_0x321978(0x45f,0x3bd,0x58c,0x522)])[_0x4cac31(0x20e,_0x3b57bf._0x2e21d0,_0x3b57bf._0x56751f,_0x3b57bf._0x225e26)];function _0x321978(_0x4e326b,_0xc79e1e,_0x468311,_0x40302e){return _0x4b220a(_0x4e326b-_0x3632b7._0x548762,_0xc79e1e-0xbb,_0x4e326b- -_0x3632b7._0x5998fd,_0x40302e);}const _0x26e3b5=_0x3bb5a5[_0x4cac31(0x247,_0x3b57bf._0x4c52d6,_0x3b57bf._0x5951e6,_0x3b57bf._0x3e23c1)]>=_0x3f5c33,_0x39b188=_0x186d70?_0x2a1b45[_0x4cac31(_0x3b57bf._0x719448,-_0x3b57bf._0x386a82,-0xcc,-_0x3b57bf._0x350786)](_0x2632eb):_0x2632eb;let _0x139d08='';if(_0x3bb5a5[_0x321978(_0x3b57bf._0xfad513,_0x3b57bf._0x1aa862,_0x3b57bf._0x3f25a8,_0x3b57bf._0x558441)]===0x0)_0x139d08=_0x4cac31(0x29a,_0x3b57bf._0x40c387,_0x3b57bf._0xdc6c32,0x1ef)+_0x2a8f02[_0x4cac31(_0x3b57bf._0x2a7758,0x55,_0x3b57bf._0x195679,_0x3b57bf._0x2e756c)];else{_0x139d08='Found\x20'+_0x2304cb+_0x321978(0x3ea,0x55a,0x334,0x54e)+(_0x2304cb===0x1?'':'es')+'\x0a';for(const [_0x573b4c,_0x4413f9]of _0x2f88e4){const _0x42a855=_0x186d70?_0x2a1b45[_0x321978(_0x3b57bf._0x1f2811,_0x3b57bf._0x493dd9,0xf4,_0x3b57bf._0x579f2e)](_0x573b4c):_0x2a1b45[_0x4cac31(_0x3b57bf._0x53fb79,_0x3b57bf._0x22376a,0x268,_0x3b57bf._0x56ab0b)](_0x39b188,_0x573b4c);_0x139d08+='\x0a'+_0x42a855+':\x0a';for(const _0x17234a of _0x4413f9[_0x4cac31(-0x180,-_0x3b57bf._0x566cc6,-0x210,-0xc1)]){const _0x2b0afc=_0x17234a[_0x4cac31(_0x3b57bf._0x397c7b,_0x3b57bf._0xe60cba,0x181,0xc2)]['length']>MAX_LINE_LENGTH?_0x17234a[_0x321978(_0x3b57bf._0xb6882e,0x42a,_0x3b57bf._0x402f76,0x229)][_0x321978(_0x3b57bf._0x143f31,0x260,_0x3b57bf._0x5b3fd5,0x473)](0x0,MAX_LINE_LENGTH)+'...':_0x17234a[_0x321978(0x34c,_0x3b57bf._0x132072,0x212,0x248)],_0x483060=_0x17234a['isContext']?'\x20\x20':'>\x20';_0x139d08+=_0x483060+_0x4cac31(_0x3b57bf._0x5a3e21,0x218,0xab,0x164)+_0x17234a[_0x321978(_0x3b57bf._0x4b3586,0x325,_0x3b57bf._0x5d06be,_0x3b57bf._0x43fba7)]+':\x20'+_0x2b0afc+'\x0a';}}_0x26e3b5&&(_0x139d08+=_0x321978(0x327,_0x3b57bf._0x54a696,0x3c3,0x427));}const _0x45690d={'searchPath':_0x2a1b45[_0x4cac31(0x177,0x210,0xf3,0x1c6)](_0x373f4e,_0x2632eb)||'.','pattern':_0x2a8f02[_0x4cac31(_0x3b57bf._0x4e678a,-_0x3b57bf._0x409216,_0x3b57bf._0x40d7c6,_0x3b57bf._0x3aed23)],'matchCount':_0x2304cb,'fileCount':_0x572a84[_0x321978(_0x3b57bf._0x463943,0x290,_0x3b57bf._0x6d3353,_0x3b57bf._0x2f17de)],'truncated':_0x26e3b5};return _0x1e9ed3&&_0x2a8f02[_0x4cac31(_0x3b57bf._0x2d009b,0x89,0xd6,-0x7b)]!==void 0x0&&(_0x45690d[_0x4cac31(-_0x3b57bf._0x34d61e,-0x48,_0x3b57bf._0x4f956d,-0x7b)]=_0x2a8f02[_0x4cac31(-_0x3b57bf._0xc6fc15,-_0x3b57bf._0x26a543,_0x3b57bf._0x427a78,-0x7b)]),yield createToolOutput(_0x139d08[_0x321978(_0x3b57bf._0x1a5a8a,0x30a,_0x3b57bf._0x3ddfaf,0x294)](),_0x45690d),void 0x0;}});}function createKillShellTool(_0x27b01d){const _0x12e988={_0xed8064:0xf9,_0x3e8554:0xc0,_0x3abd4e:0x105,_0x5c13a0:0xdc,_0x2a0683:0x3e},_0xe75a4c={_0xbad84f:0x1c6,_0x3d2bb5:0xab,_0x11aab4:0x358,_0x52e229:0x26f,_0x3482cd:0x18a,_0x5473f4:0x26f,_0x3a4405:0x31c,_0x58df88:0x3c9,_0x2b7fea:0xb5,_0x6cb1a0:0xd7,_0x556e33:0x24f,_0x1b77e4:0x11d,_0x10a5b8:0x170,_0x21e5cc:0x4f5,_0x41113e:0x3ed,_0x5b02ad:0x3e7,_0x1d4da5:0x1ab,_0x1ba00b:0x1ce,_0x13c667:0x320},_0x3c23f1={_0x416717:0xbe};function _0x264220(_0x326137,_0x335989,_0x48705b,_0x12fd79){return _0x283a7f(_0x326137-_0x3c23f1._0x416717,_0x12fd79- -0x70,_0x48705b-0x33,_0x48705b);}const {registry:_0x553a52}=_0x27b01d;function _0x4035e9(_0x466858,_0x1c5165,_0x51474d,_0x1b27dc){return _0x283a7f(_0x466858-0x17a,_0x466858- -0x22c,_0x51474d-0xc6,_0x1b27dc);}return defineTool({'name':_0x264220(-0x142,_0x12e988._0xed8064,_0x12e988._0x3e8554,0x27),'description':_0x264220(0x7d,_0x12e988._0x3abd4e,0xcb,_0x12e988._0x5c13a0),'inputSchema':{'type':'object','properties':{'shellId':{'type':_0x264220(_0x12e988._0x2a0683,0x1ec,0xc,0x188)}},'required':[_0x4035e9(0xc7,0x20c,0x18f,0x1f3)]},async *'execute'(_0x3036b2){const _0x53fd6a={_0x27173e:0x150},_0x1b29df={_0x165a5a:0x6a};function _0x5717d4(_0xb6cc41,_0xfd6020,_0x4f07b8,_0xb72160){return _0x4035e9(_0xfd6020-0x1a8,_0xfd6020-_0x1b29df._0x165a5a,_0x4f07b8-0x1f2,_0xb6cc41);}function _0x10238a(_0x3d79ea,_0x12a7d2,_0x29a80a,_0x7764fb){return _0x264220(_0x3d79ea-0x192,_0x12a7d2-_0x53fd6a._0x27173e,_0x29a80a,_0x12a7d2-0x16f);}const _0x3e421b=_0x553a52[_0x10238a(_0xe75a4c._0xbad84f,0x118,_0xe75a4c._0x3d2bb5,0x120)](_0x3036b2[_0x5717d4(_0xe75a4c._0x11aab4,_0xe75a4c._0x52e229,0x265,0x17c)]);return createToolOutput('Killed\x20'+_0x3036b2[_0x5717d4(_0xe75a4c._0x3482cd,_0xe75a4c._0x5473f4,0x3d1,0x23f)]+_0x10238a(0x4d5,0x3c2,_0xe75a4c._0x3a4405,_0xe75a4c._0x58df88)+_0x3e421b[_0x5717d4(_0xe75a4c._0x2b7fea,-0x66,_0xe75a4c._0x6cb1a0,0x7b)]+').',{'shellId':_0x3036b2[_0x5717d4(_0xe75a4c._0x556e33,_0xe75a4c._0x52e229,0x30a,0x209)],'status':_0x3e421b[_0x10238a(0x252,_0xe75a4c._0x1b77e4,0x1eb,_0xe75a4c._0x10a5b8)],'exitCode':_0x3e421b[_0x10238a(_0xe75a4c._0x21e5cc,_0xe75a4c._0x41113e,0x3c9,_0xe75a4c._0x5b02ad)],'signal':_0x3e421b[_0x5717d4(0xc0,_0xe75a4c._0x1d4da5,_0xe75a4c._0x1ba00b,_0xe75a4c._0x13c667)]});}});}import{readdir as _0x152b6f,readFile as _0x5a9da7,stat as _0x30ced1}from'fs/promises';import*as _0x48dac1 from'path';import*as _0x15b7bb from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x546919,_0x3c0eca){const _0x50bd84={_0xd39a5b:0x160,_0x70cbaa:0xf5,_0x5ea9e0:0x56,_0x414309:0x1bc,_0x9279c0:0x45d,_0x2d0ebb:0x3c1,_0x1861b4:0x3e3,_0x4e5b90:0x388},_0xfa948d={_0x2573e9:0x18b,_0x3ebc7e:0x102,_0x4ac977:0x22},_0x33bc42={_0x53ba39:0x14,_0x21c255:0x2cd,_0x31afed:0x14f};function _0x1fe6be(_0x3cb618,_0x135b7d,_0x381f60,_0x487387){return _0x419223(_0x3cb618-_0x33bc42._0x53ba39,_0x135b7d,_0x381f60-_0x33bc42._0x21c255,_0x487387-_0x33bc42._0x31afed);}if(_0x3c0eca>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0x12f889(_0x153ebd,_0x5954a4,_0x2fd746,_0x270fc8){return _0x419223(_0x153ebd-_0xfa948d._0x2573e9,_0x153ebd,_0x270fc8- -_0xfa948d._0x3ebc7e,_0x270fc8-_0xfa948d._0x4ac977);}const _0x397370=await _0x5a9da7(_0x546919)[_0x12f889(0x153,-0x19,_0x50bd84._0xd39a5b,_0x50bd84._0x70cbaa)](()=>null);if(!_0x397370||isProbablyBinary(_0x397370))return void 0x0;return _0x397370[_0x12f889(-_0x50bd84._0x5ea9e0,-_0x50bd84._0x414309,-0x1ab,-0x10b)](_0x1fe6be(_0x50bd84._0x9279c0,0x440,0x369,_0x50bd84._0x2d0ebb))['split'](/\r?\n/)[_0x1fe6be(_0x50bd84._0x1861b4,0x4b5,0x3d8,_0x50bd84._0x4e5b90)];}function createLsTool(_0x1f6f92={}){const _0x3631ac={_0x1f3577:0x48e,_0x27c353:0x35b,_0x3bfad2:0x711,_0x869364:0x6f7,_0x33a92f:0x5f1,_0xc6c1fb:0x4c6,_0x4d0e03:0x53c,_0x6355b:0x6c3,_0xf2167d:0x6fd,_0x17d3ec:0x52c,_0x141f57:0x661,_0x156142:0x5b7,_0x42be25:0x584,_0xb7cfd7:0x67d,_0x3d899a:0x4df,_0x538349:0x640,_0x3936ce:0x1a0},_0x526943={_0x42f515:0x49a,_0x153dab:0x5a1,_0x5b5914:0x4cf,_0xf63f8f:0x3d7,_0x2489a0:0x3e2,_0x546799:0x547,_0x2556fa:0x426,_0x579439:0x553,_0x16bd59:0x416,_0x9b8a66:0x3ef,_0x466941:0x2b4,_0x8fa97f:0x4de,_0x408d2e:0x331,_0x35cb61:0x554,_0x21b67b:0x638,_0x192b5c:0x52c,_0x229fd1:0x616,_0x40f6da:0x2b6,_0x3917dd:0x143,_0x13357e:0x289,_0x39a993:0x246,_0x176ad1:0x322,_0x5356ea:0x339,_0x2caf66:0x4cd,_0x4cef00:0x3e5,_0x485284:0x38c,_0x20aa72:0x445,_0x26433c:0x314,_0x4a78d7:0x402,_0x465049:0x4cd,_0x2245db:0x35b,_0x27509c:0x48d,_0x5b3d5b:0x30a,_0x26b648:0x3f0,_0x1911b0:0x47e,_0x38365d:0x40b,_0x3ab1a2:0x580,_0x52c4f2:0x354,_0x5a39e8:0x398,_0x55b964:0x57d,_0x4d6cfd:0x517,_0x41294b:0x4ef,_0x5ee9d2:0x309},_0xcbc8be={_0x32fccf:0x1de},_0x3787c7={_0x595040:0x1c2},_0x2cb56d={_0x442189:0x1a5},_0x1944b0=_0x48dac1[_0x3ae9fc(0x422,_0x3631ac._0x1f3577,0x448,_0x3631ac._0x27c353)](_0x1f6f92['defaultCwd']??process['cwd']()),_0x5bae3c=_0x1f6f92[_0x35a3cf(0x757,_0x3631ac._0x3bfad2,_0x3631ac._0x869364,_0x3631ac._0x33a92f)]??[],_0x3e1f54=_0x1f6f92[_0x35a3cf(0x5a9,_0x3631ac._0xc6c1fb,_0x3631ac._0x4d0e03,0x58e)]??'Ls';function _0x3ae9fc(_0xb8587,_0xd4e077,_0x50e1df,_0x43df38){return _0x419223(_0xb8587-_0x2cb56d._0x442189,_0xd4e077,_0xb8587-0x1f2,_0x43df38-0x3b);}function _0x35a3cf(_0x46f6a,_0x5c05ad,_0x26e6e9,_0x428f31){return _0x419223(_0x46f6a-0x79,_0x26e6e9,_0x428f31-0x510,_0x428f31-_0x3787c7._0x595040);}return defineTool({'name':_0x3e1f54,'description':_0x35a3cf(_0x3631ac._0x6355b,0x836,_0x3631ac._0xf2167d,0x704),'inputSchema':{'type':_0x35a3cf(_0x3631ac._0x17d3ec,_0x3631ac._0x141f57,0x595,_0x3631ac._0x156142),'properties':{'path':{'type':_0x35a3cf(_0x3631ac._0x42be25,_0x3631ac._0xb7cfd7,_0x3631ac._0x3d899a,_0x3631ac._0x538349)},'limit':{'type':_0x3ae9fc(0x1fb,_0x3631ac._0x3936ce,0x99,0x115)}}},async *'execute'(_0x3bd5ef){const _0x4a9321={_0x360f97:0x18d,_0x9e0875:0x19d},_0x3e7125=_0x3bd5ef[_0x566b27(_0x526943._0x42f515,_0x526943._0x153dab,_0x526943._0x5b5914,0x579)]??'.',_0xac58c5=resolveAllowedPath(_0x1944b0,_0x5bae3c,_0x3e7125);function _0x215127(_0xa7df92,_0x49acac,_0x33e585,_0x1a777c){return _0x35a3cf(_0xa7df92-_0xcbc8be._0x32fccf,_0x49acac-0x18a,_0xa7df92,_0x33e585- -0x218);}const _0x1adb04=await _0x30ced1(_0xac58c5)[_0x215127(0x45d,_0x526943._0xf63f8f,0x4ef,0x45f)](()=>null);if(!_0x1adb04?.['isDirectory']())throw new ToolExecutionError(_0x215127(_0x526943._0x2489a0,_0x526943._0x546799,_0x526943._0x2556fa,_0x526943._0x579439)+_0x3e7125,{'path':_0x3e7125});function _0x566b27(_0x2cbbf5,_0x23ee9c,_0x5783c5,_0x45b0d3){return _0x35a3cf(_0x2cbbf5-0x48,_0x23ee9c-_0x4a9321._0x360f97,_0x23ee9c,_0x2cbbf5- -_0x4a9321._0x9e0875);}const _0x8e5e7d=_0x3bd5ef['limit']??0x3e8,_0x106b54=Math[_0x215127(0x545,0x4d1,0x3cb,0x3b9)](Math['max'](Math[_0x215127(0x195,_0x526943._0x16bd59,0x2b9,_0x526943._0x9b8a66)](_0x8e5e7d),0x1),0x2710),_0x5f2597=await _0x152b6f(_0xac58c5),_0x36b780=[];for(const _0x3d6fc7 of _0x5f2597[_0x215127(0x2f8,0x3ef,0x3aa,_0x526943._0x466941)](0x0,_0x106b54)){const _0x9353ca=_0x48dac1[_0x566b27(0x3bb,_0x526943._0x8fa97f,_0x526943._0x408d2e,0x2fe)](_0xac58c5,_0x3d6fc7),_0x1a15f6=await _0x30ced1(_0x9353ca)['catch'](()=>null);if(!_0x1a15f6)continue;let _0x19e906='other';if(_0x1a15f6['isFile']())_0x19e906=_0x566b27(_0x526943._0x35cb61,_0x526943._0x21b67b,_0x526943._0x192b5c,0x5ca);else{if(_0x1a15f6[_0x215127(0x590,_0x526943._0x229fd1,0x4ea,0x4ee)]())_0x19e906=_0x215127(0x185,0x2fd,0x272,_0x526943._0x40f6da);else{if(_0x1a15f6[_0x215127(_0x526943._0x3917dd,0x373,_0x526943._0x13357e,_0x526943._0x39a993)]())_0x19e906=_0x566b27(0x328,_0x526943._0x176ad1,0x28f,_0x526943._0x5356ea);}}const _0x3a7828={'name':_0x3d6fc7,'type':_0x19e906,'size':_0x1a15f6[_0x566b27(_0x526943._0x2caf66,_0x526943._0x4cef00,0x49d,0x3db)],'mtime':_0x1a15f6['mtimeMs'],'mode':_0x1a15f6[_0x566b27(_0x526943._0x485284,_0x526943._0x20aa72,0x3bd,_0x526943._0x26433c)]},_0x16f668=_0x19e906===_0x566b27(0x554,0x551,0x4ee,_0x526943._0x4a78d7)?await countTextLines(_0x9353ca,_0x1a15f6[_0x566b27(_0x526943._0x465049,_0x526943._0x2245db,0x52c,0x642)]):void 0x0;if(_0x16f668!==void 0x0)_0x3a7828[_0x215127(0x5e9,0x440,0x4aa,0x3ae)]=_0x16f668;_0x36b780[_0x566b27(0x42e,0x55c,0x518,_0x526943._0x27509c)](_0x3a7828);}_0x36b780[_0x566b27(_0x526943._0x5b3d5b,_0x526943._0x26b648,0x45f,0x474)]((_0x276212,_0x1316a2)=>_0x276212[_0x566b27(0x3f1,0x390,0x2a6,0x4bb)][_0x566b27(0x306,0x426,0x44c,0x321)](_0x1316a2[_0x566b27(0x3f1,0x452,0x3f8,0x523)]));const _0x4aa07c={'path':_0x3e7125,'total':_0x36b780[_0x566b27(_0x526943._0x1911b0,0x481,_0x526943._0x38365d,_0x526943._0x3ab1a2)],'truncated':_0x5f2597[_0x215127(0x580,_0x526943._0x52c4f2,0x403,0x3c5)]>_0x106b54,'entries':_0x36b780};return yield createToolOutput(_0x15b7bb[_0x215127(0x3b2,0x3cd,0x2ba,_0x526943._0x5a39e8)](_0x4aa07c,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x3e7125,'total':_0x36b780[_0x215127(_0x526943._0x55b964,0x2a8,0x403,_0x526943._0x4d6cfd)],'truncated':_0x5f2597[_0x215127(_0x526943._0x41294b,0x39b,0x403,_0x526943._0x5ee9d2)]>_0x106b54,'limit':_0x106b54,'entries':_0x36b780}),void 0x0;}});}import{stat as _0x2b3688}from'fs/promises';import _0xce3b59 from'path';import{fileURLToPath as _0x4749c3}from'url';function severityName(_0x47d96d){const _0x53ae49={_0x2eb80a:0x31e,_0x1ad2be:0x25c,_0x1ba7b7:0x2ca,_0x3d390d:0x379,_0x19911c:0x32a,_0x312f3b:0x33f,_0x26f2f2:0x3ee},_0x2ad39c={_0x570622:0x57},_0x6cd64a={_0x11084d:0x143};function _0xb9b36a(_0x378fab,_0x3c7d3d,_0x330678,_0xce3396){return _0x283a7f(_0x378fab-0x1a6,_0x330678-_0x6cd64a._0x11084d,_0x330678-0x5d,_0x378fab);}function _0x4483de(_0x1b841a,_0x2fd240,_0xa20e9b,_0x563191){return _0x283a7f(_0x1b841a-0x109,_0x2fd240- -_0x2ad39c._0x570622,_0xa20e9b-0x181,_0x563191);}switch(_0x47d96d){case 0x1:return _0x4483de(_0x53ae49._0x2eb80a,_0x53ae49._0x1ad2be,0x263,_0x53ae49._0x1ba7b7);case 0x2:return'Warning';case 0x3:return'Information';case 0x4:return _0x4483de(0x1da,0x212,_0x53ae49._0x3d390d,0x32b);default:return _0xb9b36a(0x382,_0x53ae49._0x19911c,_0x53ae49._0x312f3b,_0x53ae49._0x26f2f2);}}function _0x283a7f(_0x15eeda,_0x304b2a,_0x4a3d43,_0x3285e7){const _0x53d390={_0x403c44:0x129};return _0x380c(_0x304b2a- -_0x53d390._0x403c44,_0x3285e7);}function formatSingleHover(_0x52c101){const _0x3ac62a={_0x373a4e:0x3a7,_0x57b8a4:0x225,_0x58c324:0x504,_0xfc650e:0x1f1,_0x20febb:0xd1,_0x5b03a2:0x28f,_0x5e5481:0x27c,_0xe6f325:0xc9,_0x29039b:0x55,_0x5315cb:0x80,_0x33d554:0x25b,_0x58c45a:0xb7,_0x4e628f:0x289,_0x47af33:0x39a,_0x11b7ae:0x1fc,_0x2d1308:0x135,_0x294e26:0xbc,_0x2138e:0x70,_0x1394fe:0x22e,_0x1a82c7:0x297,_0x3c1e46:0x3b5},_0xb88e8d={_0x2c6844:0x23,_0x117020:0x119},_0x318e0e={_0x3acb2d:0x287,_0x4a4db4:0x186},_0x25fb9a=_0x52c101[_0x1a8253(_0x3ac62a._0x373a4e,0x397,_0x3ac62a._0x57b8a4,_0x3ac62a._0x58c324)];function _0x353948(_0x4a2d83,_0x5645ff,_0x1ce290,_0x294e5b){return _0x283a7f(_0x4a2d83-0x123,_0x5645ff- -_0x318e0e._0x3acb2d,_0x1ce290-_0x318e0e._0x4a4db4,_0x4a2d83);}if(typeof _0x25fb9a===_0x353948(-0xc1,-0x8f,-_0x3ac62a._0xfc650e,-_0x3ac62a._0x20febb))return _0x25fb9a;if(Array[_0x1a8253(0x1ed,_0x3ac62a._0x5b03a2,0x238,_0x3ac62a._0x5e5481)](_0x25fb9a))return _0x25fb9a[_0x353948(-_0x3ac62a._0xe6f325,-_0x3ac62a._0x29039b,_0x3ac62a._0x5315cb,0x4b)](_0x21ad65=>typeof _0x21ad65===_0x1a8253(0x2b0,0x311,0x410,0x2bf)?_0x21ad65:_0x21ad65['value'])[_0x1a8253(0xc2,0x1f5,0x103,_0x3ac62a._0x33d554)](Boolean)[_0x1a8253(_0x3ac62a._0x58c45a,0x229,0x271,_0x3ac62a._0x4e628f)]('\x0a\x0a');function _0x1a8253(_0x56e156,_0x30089a,_0x59cdce,_0x519f20){return _0x283a7f(_0x56e156-_0xb88e8d._0x2c6844,_0x30089a-_0xb88e8d._0x117020,_0x59cdce-0x13e,_0x56e156);}if(_0x1a8253(0x222,0x23f,_0x3ac62a._0x47af33,0x324)in _0x25fb9a)return _0x25fb9a[_0x353948(-0x72,-0x109,-0x26c,-_0x3ac62a._0x11b7ae)];return _0x25fb9a[_0x353948(-_0x3ac62a._0x2d1308,-0xbc,-_0x3ac62a._0x294e26,_0x3ac62a._0x2138e)]?'```'+_0x25fb9a['language']+'\x0a'+_0x25fb9a[_0x1a8253(_0x3ac62a._0x1394fe,_0x3ac62a._0x1a82c7,0x412,_0x3ac62a._0x3c1e46)]+'\x0a```':_0x25fb9a['value'];}function formatHover(_0x10ec94){const _0x506241={_0x14de0e:0x445,_0x5ea7c3:0x55f,_0x1851ad:0x41c,_0x4b8bcb:0x568,_0x2fc918:0x43b,_0x509f3d:0x4cf,_0x2ad2cd:0x48d,_0x2510c3:0x5be,_0xeb54c6:0x591,_0x2f2ad7:0x2c1,_0x5ea66c:0x2f8,_0x4d3e78:0x589},_0xe1f5b7={_0x61b4ac:0x4d2},_0x2920fa={_0x58caae:0x38c,_0x1be4f0:0x1ac};function _0x1584ce(_0x18ae43,_0x580367,_0x40053a,_0x995e9d){return _0x283a7f(_0x18ae43-0x178,_0x580367-_0x2920fa._0x58caae,_0x40053a-_0x2920fa._0x1be4f0,_0x40053a);}if(_0x10ec94[_0x1584ce(_0x506241._0x14de0e,_0x506241._0x5ea7c3,_0x506241._0x1851ad,_0x506241._0x4b8bcb)]===0x0)return _0x1584ce(_0x506241._0x2fc918,_0x506241._0x509f3d,0x432,_0x506241._0x2ad2cd);function _0xcb7316(_0x2f4967,_0x52beb6,_0x5ee337,_0x14fc1e){return _0x419223(_0x2f4967-0x196,_0x52beb6,_0x5ee337-_0xe1f5b7._0x61b4ac,_0x14fc1e-0x109);}return _0x10ec94[_0x1584ce(0x631,_0x506241._0x2510c3,0x6a2,_0x506241._0xeb54c6)](formatSingleHover)[_0xcb7316(0x591,0x576,0x51a,0x58e)](_0xcb7316(_0x506241._0x2f2ad7,_0x506241._0x5ea66c,0x42a,_0x506241._0x4d3e78));}function locationPath(_0x293e9e){const _0x17e55f={_0x3bb587:0x77a,_0x31cb4e:0x779,_0x575ef6:0x1eb,_0x1f5769:0x207},_0x2e0f61={_0x34d3dc:0x135,_0x4014be:0x4ee,_0x4d0bb9:0x10c},_0x30b2ab={_0x4f4dd1:0x121};if(!_0x293e9e[_0x60b9b(_0x17e55f._0x3bb587,_0x17e55f._0x31cb4e,0x8d9,0x6d7)](_0x106af6(_0x17e55f._0x575ef6,_0x17e55f._0x1f5769,0xaa,0x202)))return _0x293e9e;function _0x106af6(_0x2c2885,_0x54055f,_0x5efa4f,_0xe78476){return _0x283a7f(_0x2c2885-0x101,_0xe78476- -0xf4,_0x5efa4f-_0x30b2ab._0x4f4dd1,_0x5efa4f);}function _0x60b9b(_0x486eaf,_0x4cee3d,_0x470bba,_0x15ec1b){return _0x283a7f(_0x486eaf-_0x2e0f61._0x34d3dc,_0x486eaf-_0x2e0f61._0x4014be,_0x470bba-_0x2e0f61._0x4d0bb9,_0x470bba);}return _0x4749c3(_0x293e9e);}function formatLocations(_0x5ec2a6){const _0xa94ac5={_0x5733b2:0x50c,_0x286890:0x502,_0x55851a:0x5ef,_0x53d419:0x5e9,_0xcf359a:0x475,_0x2840f4:0x617,_0x220ec4:0x4cd,_0x255811:0x419,_0x26ab22:0x671,_0x1fdcb1:0x576,_0x5b3b03:0x4ba,_0x1c2464:0x661},_0xbbf930={_0x51d5fc:0x35a,_0x31f852:0x21d,_0x414c23:0x38f,_0xef6684:0xc5,_0x5b3331:0x135,_0xa41e24:0x253,_0x50273a:0x1e9,_0xdfe739:0x2ad,_0x5b97d9:0x2b5},_0x21f648={_0x594735:0xbb,_0x53cc66:0x4da},_0x222507={_0x269ee6:0xf,_0x388183:0x4e4};if(_0x5ec2a6[_0x1c5bd3(_0xa94ac5._0x5733b2,_0xa94ac5._0x286890,_0xa94ac5._0x55851a,_0xa94ac5._0x53d419)]===0x0)return _0x24625e(_0xa94ac5._0xcf359a,_0xa94ac5._0x2840f4,0x516,0x4f4);function _0x1c5bd3(_0x4d1a75,_0x5da69a,_0xc3951b,_0x55294a){return _0x419223(_0x4d1a75-_0x222507._0x269ee6,_0x4d1a75,_0xc3951b-_0x222507._0x388183,_0x55294a-0x1ce);}function _0x24625e(_0x452750,_0xd69e09,_0x20cdbf,_0x12916f){return _0x419223(_0x452750-0x1e5,_0x452750,_0x12916f-0x40c,_0x12916f-0x179);}return _0x5ec2a6[_0x24625e(_0xa94ac5._0x220ec4,_0xa94ac5._0x255811,_0xa94ac5._0x26ab22,_0xa94ac5._0x1fdcb1)](_0x19c495=>{const _0x28b056={_0x47e1f7:0x1eb,_0x16f563:0x145,_0x47be28:0x35c};function _0x418486(_0x5e4b1f,_0x3bd4dd,_0xbf1baf,_0xcb1fcc){return _0x24625e(_0xbf1baf,_0x3bd4dd-_0x28b056._0x47e1f7,_0xbf1baf-_0x28b056._0x16f563,_0x3bd4dd- -_0x28b056._0x47be28);}function _0x8e903f(_0x5965a7,_0x467ca3,_0x497d28,_0x334c47){return _0x24625e(_0x334c47,_0x467ca3-0x18d,_0x497d28-_0x21f648._0x594735,_0x467ca3- -_0x21f648._0x53cc66);}const _0xa1f418=_0x19c495['range'][_0x418486(_0xbbf930._0x51d5fc,_0xbbf930._0x31f852,_0xbbf930._0x414c23,0x16e)];return locationPath(_0x19c495[_0x8e903f(-_0xbbf930._0xef6684,-_0xbbf930._0x5b3331,-_0xbbf930._0xa41e24,-_0xbbf930._0x50273a)])+':'+(_0xa1f418['line']+0x1)+':'+(_0xa1f418[_0x418486(0x27f,_0xbbf930._0xdfe739,_0xbbf930._0x5b97d9,0x41b)]+0x1);})[_0x1c5bd3(_0xa94ac5._0x5b3b03,_0xa94ac5._0x1c2464,0x52c,0x3f4)]('\x0a');}function isDocumentSymbol(_0x394d43){const _0x10b549={_0x5c5dd1:0x612,_0x2ea926:0x54a,_0x2fc4ca:0x5fa},_0x1baa59={_0xe59b36:0xcc};function _0x5f4e8a(_0x60135f,_0x3fec8c,_0x4d1346,_0xb68b28){return _0x283a7f(_0x60135f-0x178,_0x3fec8c-0x262,_0x4d1346-_0x1baa59._0xe59b36,_0x60135f);}return'range'in _0x394d43&&_0x5f4e8a(_0x10b549._0x5c5dd1,_0x10b549._0x2ea926,_0x10b549._0x2fc4ca,0x616)in _0x394d43;}function formatSymbols(_0x22bb73){const _0x321b9f={_0x2ba56c:0x58,_0x4fcfa7:0x1b2,_0x2978e6:0x6f,_0x484102:0x488,_0x4975c6:0x277,_0xd1fc1a:0x236,_0x4168b4:0x285},_0x58bf31={_0x2b9f37:0x14a,_0x1f7fa4:0x96,_0x53da7d:0x3e,_0x10c512:0x8c,_0x1a8fb2:0x219,_0x890165:0x1ff,_0x47c171:0x5f,_0x510ed2:0xe6,_0x37852a:0x33b,_0x22543a:0x3e,_0x9d0c2:0x140,_0x42cd8d:0x1d,_0x4a2476:0x28c,_0x57094d:0x87,_0x3af24a:0x3f,_0xee6d34:0x1f,_0x3e0ef4:0xa3,_0x13d25b:0x4c,_0x92cea2:0x13a,_0x3f119c:0x21,_0x5968f0:0x1b,_0x5cf00b:0x29c,_0x50f681:0xbd,_0xc4fcc3:0xb0,_0x4271be:0x35,_0x5519da:0x95,_0x153e01:0x59,_0x5505a3:0x12b,_0x58b3c1:0x4a,_0x2a3d50:0xc,_0x36675a:0xe9},_0x1f0af4={_0x569ffb:0xe0},_0x5eb56b={_0x4679f3:0x12c,_0x3579b7:0x29,_0x31935a:0x25d},_0x4b0650={_0x9b7001:0x175,_0x299910:0x92},_0x20231a={_0x1163e2:0x13e,_0x5382e1:0x22b};if(_0x22bb73[_0x3725d5(-0x45,-_0x321b9f._0x2ba56c,-_0x321b9f._0x4fcfa7,_0x321b9f._0x2978e6)]===0x0)return _0x272511(_0x321b9f._0x484102,0x2d7,_0x321b9f._0x4975c6,0x31d);function _0x3725d5(_0x25b909,_0x70116e,_0x3dea47,_0x4374d9){return _0x283a7f(_0x25b909-_0x20231a._0x1163e2,_0x70116e- -_0x20231a._0x5382e1,_0x3dea47-0x84,_0x25b909);}function _0x272511(_0x16fecf,_0x113817,_0x226da7,_0x283e74){return _0x283a7f(_0x16fecf-0x111,_0x283e74-_0x4b0650._0x9b7001,_0x226da7-_0x4b0650._0x299910,_0x226da7);}return _0x22bb73['map'](_0x2c168a=>{if(isDocumentSymbol(_0x2c168a))return _0x2c168a[_0x35d13b(-0x20,-_0x58bf31._0x2b9f37,-0x140,-_0x58bf31._0x1f7fa4)]+'\x20('+_0x2c168a[_0x1786b7(_0x58bf31._0x53da7d,0x1a3,-0x88,_0x58bf31._0x10c512)]+')\x20['+(_0x2c168a[_0x1786b7(0x115,_0x58bf31._0x1a8fb2,_0x58bf31._0x890165,0x8)][_0x1786b7(0x14d,0xea,0x206,0xee)][_0x35d13b(-_0x58bf31._0x47c171,0x1b,-_0x58bf31._0x510ed2,-0x54)]+0x1)+':'+(_0x2c168a['range'][_0x1786b7(0x14d,0x141,0x1e7,-0x1f)][_0x1786b7(0x1dd,0x96,_0x58bf31._0x37852a,0x10b)]+0x1)+']';function _0x1786b7(_0x7d95b0,_0x3aa41d,_0x48c3fc,_0x300946){return _0x272511(_0x7d95b0-_0x5eb56b._0x4679f3,_0x3aa41d-_0x5eb56b._0x3579b7,_0x300946,_0x7d95b0- -_0x5eb56b._0x31935a);}function _0x35d13b(_0x51e787,_0x44ebdb,_0x35be87,_0x1d5d67){return _0x3725d5(_0x44ebdb,_0x1d5d67-0x4f,_0x35be87-0x14c,_0x1d5d67-_0x1f0af4._0x569ffb);}return _0x2c168a[_0x35d13b(-0x15e,-_0x58bf31._0x22543a,0x95,-0x96)]+'\x20('+_0x2c168a[_0x1786b7(0x3e,0x164,-0x102,0x152)]+')\x20'+locationPath(_0x2c168a[_0x1786b7(_0x58bf31._0x9d0c2,-_0x58bf31._0x42cd8d,0xac,_0x58bf31._0x4a2476)][_0x1786b7(-_0x58bf31._0x57094d,-_0x58bf31._0x3af24a,0x8f,-_0x58bf31._0xee6d34)])+':'+(_0x2c168a[_0x35d13b(-0xb6,_0x58bf31._0x3e0ef4,-0x3f,_0x58bf31._0x13d25b)][_0x35d13b(-_0x58bf31._0x92cea2,-0xbe,-0x116,_0x58bf31._0x3f119c)][_0x1786b7(0x14d,-_0x58bf31._0x5968f0,_0x58bf31._0x5cf00b,_0x58bf31._0x50f681)]['line']+0x1)+':'+(_0x2c168a['location']['range'][_0x35d13b(-_0x58bf31._0xc4fcc3,-_0x58bf31._0x4271be,-_0x58bf31._0x5519da,_0x58bf31._0x153e01)][_0x35d13b(_0x58bf31._0x5505a3,_0x58bf31._0x58b3c1,-_0x58bf31._0x2a3d50,_0x58bf31._0x36675a)]+0x1);})[_0x272511(0x301,0x3b6,_0x321b9f._0xd1fc1a,_0x321b9f._0x4168b4)]('\x0a');}function formatDiagnostics(_0x4e2de9){const _0x1ee98e={_0x419228:0x403,_0x30457c:0x47b,_0x2ae6e7:0xf3,_0x3502bf:0x10f,_0x106542:0x462,_0x1a7426:0x109,_0x5c8daf:0x1c},_0x1c01c2={_0x538961:0x1d6,_0x39dd95:0x1f1,_0x4e12df:0x33d,_0x22be62:0x41b,_0x28f472:0x375,_0x1e8728:0x112,_0x971d91:0x1,_0x530001:0x188,_0x290e67:0x72,_0x3da902:0x49,_0x2ba002:0x102},_0x5bbf3a={_0x302c9a:0x136,_0x312926:0x1d9},_0xe55168={_0x177635:0xd};function _0x4ebfa7(_0x5aa5d8,_0x1f9b69,_0x3ebda4,_0x12b2b1){return _0x283a7f(_0x5aa5d8-_0xe55168._0x177635,_0x5aa5d8-0x230,_0x3ebda4-0x2e,_0x3ebda4);}if(_0x4e2de9[_0x4ebfa7(_0x1ee98e._0x419228,0x4c9,_0x1ee98e._0x30457c,0x2d1)]===0x0)return _0x132d90(_0x1ee98e._0x2ae6e7,_0x1ee98e._0x3502bf,0x1b2,0x14c);function _0x132d90(_0x212317,_0x2c75c8,_0xc21621,_0x238b4d){return _0x283a7f(_0x212317-0xde,_0x212317- -0x7,_0xc21621-0x1f,_0xc21621);}return _0x4e2de9[_0x4ebfa7(_0x1ee98e._0x106542,0x4b6,0x47a,0x5d5)](_0x329b39=>{const _0x279c5d={_0x2f3732:0xc0,_0x1df3a9:0x10a};function _0x552d69(_0x32c140,_0x2ff514,_0x41e825,_0x3c99e0){return _0x132d90(_0x3c99e0-0x147,_0x2ff514-_0x279c5d._0x2f3732,_0x2ff514,_0x3c99e0-_0x279c5d._0x1df3a9);}const _0x4220cf=_0x329b39[_0x552d69(0x4af,_0x1c01c2._0x538961,_0x1c01c2._0x39dd95,_0x1c01c2._0x4e12df)][_0x552d69(_0x1c01c2._0x22be62,0x43e,0x237,_0x1c01c2._0x28f472)];function _0x1a8eaa(_0x62e33f,_0x58e5a6,_0x2fbdba,_0x57b198){return _0x132d90(_0x62e33f- -_0x5bbf3a._0x302c9a,_0x58e5a6-_0x5bbf3a._0x312926,_0x2fbdba,_0x57b198-0x105);}return severityName(_0x329b39[_0x1a8eaa(_0x1c01c2._0x1e8728,-_0x1c01c2._0x971d91,0x18e,0x11f)])+'\x20['+(_0x4220cf['line']+0x1)+':'+(_0x4220cf[_0x1a8eaa(_0x1c01c2._0x530001,_0x1c01c2._0x290e67,0x73,0x1ca)]+0x1)+']\x20'+_0x329b39[_0x1a8eaa(_0x1c01c2._0x3da902,-_0x1c01c2._0x2ba002,0xfd,0xc2)];})[_0x132d90(_0x1ee98e._0x1a7426,0x208,0xff,-_0x1ee98e._0x5c8daf)]('\x0a');}function formatIncomingCalls(_0x5e0750){const _0x4059af={_0x1f8556:0x1d6,_0x123d7c:0x274,_0x4fb758:0x80,_0x383567:0x62},_0x404d6c={_0x11827b:0x1b8,_0xef40b5:0x1bb},_0x2f9074={_0x504c19:0x138};if(_0x5e0750['length']===0x0)return _0x50f83f(-0x286,-0x222,-_0x4059af._0x1f8556,-_0x4059af._0x123d7c);function _0x50f83f(_0x5eeb10,_0x53f7b2,_0x8f740f,_0x1d3a2f){return _0x419223(_0x5eeb10-_0x2f9074._0x504c19,_0x5eeb10,_0x53f7b2- -0x1cc,_0x1d3a2f-0x11);}function _0xf8d2ea(_0x13a138,_0x4e1f4a,_0x14385d,_0xcf2646){return _0x283a7f(_0x13a138-_0x404d6c._0x11827b,_0xcf2646- -_0x404d6c._0xef40b5,_0x14385d-0x19e,_0x14385d);}return _0x5e0750[_0x50f83f(_0x4059af._0x4fb758,-_0x4059af._0x383567,-0x175,-0x156)](_0x178d3c=>_0x178d3c['from']['name'])['join']('\x0a');}function _0x4b7c(){const _0x350b40=['C3rHCNrZv2L0Aa','Dhj1BMnHDgvK','CMvXDwLYzwq','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','ANnJB25MAwCUANnVBG','Dg9Rzw4','BwnFzwLK','zgLHz25VC3rPy3m','mJy2ngrozwfSDa','CNnZ','z2v0u3rHDhm','zMjJBgLK','v0vcua','BgLUzuvUza','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','y29Uy2f0','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','y291BNrLCG','Aw1Hz2uVCg5N','igj5DgvZks4','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4Grg8GBM90ihvZzsbMB3iGCMvHzgLUzYbMAwXLCYaODxnLiezPBgvszwfKigLUC3rLywqPlIbtzxqGCNvUsw5cywnRz3jVDw5KoNrYDwuGzM9YigXVBMCTCNvUBMLUzYbJB21Tyw5KCYaOC2vYDMvYCYWGD2f0y2HLCNmPoIbPDcbYzxr1CM5ZigeGC2HLBgXjzcbPBw1LzgLHDgvSEsdIGjqGCMvHzcbVDxrWDxqGD2L0AcbcyxnOt3v0Chv0igfUzcbZDg9WigL0ihDPDgGGs2LSBfnOzwXSlIbetYbot1qGvvnfiejbu0GGve9ptcbMB3iGCMvHzcbMAwXLihvZzsbgAwXLuMvHzc4Gww91ie1vu1qGChjVDMLKzsbHignVBMnPC2uGygrLC2nYAxb0Aw9UycbLEhbSywLUAw5NihDOyxqGDgHLignVBw1HBMqGzg9LCYbHBMqGD2H5ihLVDsbHCMuGCNvUBMLUzYbPDcaODgHLigDVywWGAxqGywr2yw5JzxmPiokaLcbPDcbPCYbZAg93BIb0BYb0AguGDxnLCIbMB3iGDhjHBNnWyxjLBMn5igjLzM9YzsbLEgvJDxrPB24UifrOzsbKzwzHDwX0ihrPBwvVDxqGAxmG','C2vYDMvYCW','zw50CMLLCW','C25PChbLDa','Aw5KzxHpzG','u3rHCNrLzcbHz2vUDcbYDw4G','CgXHAw4','zMLSzq','CMvSyxrPDMu','lM10CW','yxv0BW','C2vHCMnOrgvWDgG','C2vYDMvYswq','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','C2vHCMnOvhLWzq','yw5ZD2vYCW','ChjVy2vZCW','rxjYB3i','lMXVzW','Dg9VBhmVy2fSBa','y2fWq2HHCNm','DhjHBNnMB3jTCW','Dhj1zq','AxndB250zxH0','AxneAxjLy3rVCNK','qxnRvxnLCLrVB2W','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','DxrTx2nHBxbHAwDU','y2f0y2G','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','Bwf4','mty5lJi1nc4WlJa','icHZDgf0Dxm6ia','sw52ywXPzcbYzwDLEdOG','y2HHCMfJDgvY','AgvHzgvY','DxrTx3rLCM0','Dg9VBenHBgXjza','C3rKAw4','pc9ZExn0zw0TCMvTAw5Kzxi+','yxv0Ag9YAxPHDgLVBL9JB2rL','zMLUzfjLzMvYzw5Jzxm','qMvHCMvYia','qMfZAa','BgL0zxjHBa','BgLTAxq','u2HLBgWGBM90igzVDw5KoIa','yNvMzMvYq2HHCNm','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','ignOyxjZigrYB3bWzwrDcG','EMfP','BgLI','Aw1Hz2uVANbLzW','C3rKB3v0','Aw52ywXPzf9XDwvZDgLVBNm','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','C2HHmJu2','BwvKAxvT','ywrK','sfruuca','DxjS','z2L0AhvI','BhnWlxbYB3H5','yMfJA2DYB3vUzfjLz2LZDhj5','zNjVBq','Cgf0DgvYBIbPCYbYzxf1AxjLza','lMnTza','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','z2v0','C2vSzwn0Aw9UuMfUz2u','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','zgfYAW','C2vUze5VDgLMAwnHDgLVBG','C3jJl2fNzw50l2fNzw50lNrZ','u0Lhs0Lmta','zxHPDenVzgu','AxngAw5PDgu','CgfYC2vjBNq','D2LUmZi','BMf2','C2HLBgXjza','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','B3bLBMfP','zMLSztOVlW','AwDUB3jL','CMvZB2X2zq','Aw52ywXPzf90B2rVx2LK','CMvHza','CMvZDwX0CW','EwfYBI5SB2nR','DMvYAwzPzxi','D3jPDgu','C2vZC2LVBG','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','Aw5JBhvKzxm','Dg9VBfjLC3vSDhm','igj5DgvZicH0B3rHBdOG','zxzLCNK','zw5HyMXLza','B25szwrPCMvJDa','BM9Kzv9TB2r1BgvZ','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','q29TBwfUzcaN','te9x','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','CMvJzw5JEurHExm','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','lMn0CW','Aw5WDxq','zNvUy3rPB24','AMf2yxnJCMLWDa','A2LSBa','A2v5CW','ls1NBg9Ipq','Bg93','CgfYzw50u2vZC2LVBKLK','C3rHDhvZ','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','cGOTls0kcG','zxzPy3rjzK5LzwrLza','C2L0ztO','Bwf0y2HLCW','y2fSBgjHy2TvCMW','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','y29UBMvJDgvK','BgLUzvn0yxj0','CgvUzgLUzW','mtaUmc4WlJa','yMLVBwu','yxjNDw1LBNriAw50','DgHPBMTPBMC','Bw9VBNnOB3q','yxjNDw1LBNrZvgv4Da','DgvZDa','ls0T','CMvMCMvZAf90B2TLBG','zgvSzxrL','lMPZB24','Bw9KzwW','te9dquXbufbeqvrb','AhLKCMf0zu1LDge','zw5K','phn5C3rLBs1Yzw1PBMrLCJ4','yMvHCMvY','lMnQCW','vg9KB1DYAxrL','yxnZAwDU','DhjPBq','qwDLBNqGCNvUia','uhjVz3jHBuzPBgvZkhG4nIK','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','l2jPBI9ZAa','zgLYzwn0B3j5','y2HHBMDL','C2HPzNq','lMDPzG','BhmGlwXH','ls1YzwDLEha','zMLYC3q','q29Tu3bLyW','y2XPzw50sw5MB3jTyxrPB24','mc4WlJaUma','yMfZzw5HBwu','Ag9TzwrPCG','mZa1otqZotbXwuTYwxC','AxnjBNrLz2vY','ugf0AcbPCYbUB3qGysbMAwXLoIa','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','mJqWlJaUmc4W','Bwv0yq','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','mc4WlJa','Dg9WAwm','AxntEw1IB2XPy0XPBMS','CMvZDwX0','Bg9JywXLq29TCgfYzq','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','ywXS','C29YDa','C2vUza','DxjP','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','ls1MAwXLCW','w1bFxL1BxhnCu10QpW','ls1NBg9IpseUz2L0lYO','yxr0CG','CMvWBgfJzq','Aw5JBhvKzq','CMvXDwvZDa','C29Tzq','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','CgXHDgzVCM0','yMLUyxj5tMfTzq','D29YA3nWywnLl3n5BwjVBa','CgfNzw1HCa','y29UDgv4Da','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','A2LSBgvK','ywDLBNrjza','t1bftLjpvvrfuL9bueLFs0vz','AgLNAa','Aw5qCM9NCMvZCW','zxjYB3jnzxnZywDL','B25oB3rPzMLJyxrPB24','B3v0z29PBMDdywXSCW','Ahr0Ca','l3bPza','C3LTBgLUAW','Bg9HzfnRAwXS','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','C3rKzxjYrgvJB2rLCG','revfueLorLjbx0fqsv9lrvK','zxH0BMfTzq','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','zNvSzMLSBgvK','C291CMnL','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','C2HLBgXqyxrO','zgvMAw5PDgLVBG','Dhj1BMm','C3rYAw5NAwz5','yMfZzty0','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','yMLYDgH0Aw1L','qgjPB21LANmVyMLVBwu','lMjPBG','vxbKyxrLvg9WAwm','tNv2Aw4','DgHLBG','AxnbyNnVBhv0zq','y2XPzw50','zgvUBY5QC29UyW','zgvZy3jPChrPB24','s2LSBfnOzwXS','Ahr0Chm6','Bg9HzenVBw1HBMq','qxv0Ag9YAxPHDgLVBG','yM9VBgvHBG','y29UBMvJDgLVBG','zMLSzvzLCNnPB25Z','tg9HzfnRAwXS','DhLWzq','u2TPBgWGjW','BM9Zy3jPChq','yNjVA2vU','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','Aw1Hz2uVD2vICa','mJu4mZjLzuf2Au4','BwfYA2rVD24','CxvLC3rPB24T','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','zgvMyxvSDa','BhnW','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','B3bLBNjVDxrLCG','C3rYAxbbBNnP','y29ZDa','C2H1DgrVD25tDgfYDgvK','ywjVCNrLza','ugfJA2fNzxm','D29YA3nWywnLu3LTyM9S','C2vYDMvY','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','cMbGya','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','qxzHAwXHyMXLignVBw1HBMrZoG','zgvLCgLUzNjH','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','Ec1HCgKTA2v5','zxjYB3i','y2fJAgvK','CMvHC29U','Dg9tDhjPBMC','ls1NBg9I','Aw52ywXPzf90B2rVx2L0zw0','zMfPBgvK','C3bHD25PBMC','y3DK','C2v0vg9WAwm','AxrLBxm','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','nJnTAMnqsKS','yMfZAwm','Aw5ZDhj1y3rPB25Z','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','sw52ywXPzcbvuKWGCgfYyw1LDgvY','yNvUlMXVy2S','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','l3vZCI9IAw4VCMC','yxnJAwK','BNvTyMvY','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','zMLUza','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','z2XVyG','ChjVDg9JB2W','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','revfufnfruTFqvbjx0Tfwq','C3rVCMfNzurPCG','y29UDgvUDa','AgvHzgvYCW','zMLSDgvY','zgLYBMfTzq','mJC2DgDzz0Tp','Aw5JB21PBMDdywXSCW','AxnfBMfIBgvK','Bw9Kzq','B2f1DgG','ls1OAwrKzw4','lNrZEa','ndm2mJG0vuXAChv3','z29uB0LTCgXLBwvUDgf0Aw9U','Dg9Rzw5Z','mJi0lJaUmc4W','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','yNvMzMvY','BgLUAW','ChjVy2vZC0v4AxrLza','zMLUywXnzxnZywDL','CgfJA2fNzs1SB2nRlMPZB24','mJa5mduYofztzKTZqG','yMLVBwuUANnVBG','DgfZA2TPBgW','Cg5WBs1SB2nRlNLHBwW','AxnfCNjVCG','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','BM9Uzq','rgv0ywLSoIa','vMLLD0zPBgu','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','tM8GzgLHz25VC3rPy3m','A2v5','z29Vz2XLlwnZzq','l2jPBI9YzW','Dg9VBc1VDxrWDxqTB2zMBg9Hza','thnW','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','rMv0y2GGDgLTzwqGB3v0','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','ru5pru5u','D2HLCMuGCMC','Bwf4q29Uy3vYCMvUDa','o1TE','C3vIyxjYyxK','y2fWywjPBgL0AwvZ','C3jJl3nOyxjLzc90ExbLCY50CW','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','Dg9KB3m','ignVBxbSzxrLzc4','y2XPzw50x3nLy3jLDf9WB3n0','Ag92zxi','Cgf0DgvYBG','AM9PBG','yw5ZAte2','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','lI4U','v2vIrMv0y2G','BM93','zhvWBgLJyxrLx3rVzg9FAwrZ','yxjNDw1LBNroyw1LCW','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','zgvUBY5QC29U','ue9tva','zgLHz25VC3rPy3ngB3jgAwXL','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','r0LgodLH','ls1WCMvMAxG','yxbPs2v5','zxHPDcbJB2rLia','cGPbuKDvtuvovfm6ia','vw50AxrSzwq','vMLLD2vKigLTywDLigzPBgu6ia','uxvLC3rPB24G','zgLNzxn0','A2LUza','Aw1Hz2uVz2LM','ygbGANnVBGO','DMfSDwvZ','B3b0Aw9UywW','Aw1Hz2u','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','zgvMyxvSDen3za','uhvIBgLZAgvKoIa','AwzYyw1L','lMPZB25J','BxrPBwvnCW','rMLSzsb3CML0DgvUigf0ia','EwvZ','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','vxbKyxrLihrOzsbZzxnZAw9UihrVCgLJihrVigeGy29Uy2LZzsaZltyGD29YzcbUB3vUihbOCMfZzsb0Agf0ignHChr1CMvZihrOzsbJDxjYzw50ihn1yMPLy3qUcGPdywXSihrOAxmGDg9VBcb3AgvUihrOzsbZzxnZAw9Uj3mGC3vIAMvJDcbIzwnVBwvZignSzwfYig9YihnOAwz0CYb0BYbZB21LDgHPBMCGy2XLyxjSEsbKAwzMzxjLBNqG4Ocuig5VDcbMB3iGBwLUB3iGDgfUz2vUDhmGB3iGy2XHCMLMEwLUzYbZDwiTCxvLC3rPB25ZlIbjzIbUB3rOAw5NigHHCYbTzwfUAw5NzNvSBhKGy2HHBMDLzcWGzg8GBM90ignHBgWGAxqUcGPhB29KihrVCgLJicHUB3vUihbOCMfZzsWGmY02ihDVCMrZktOkicaIrgvIDwCGvfmGz2vUzxjPy3mGzxjYB3iIcIaGiLjLzMfJDg9Yigf1DgGGBwLKzgXLD2fYzsikicaIqwrKifn0CMLWzsb3zwjOB29RigHHBMrSzxiIcGPcywqGDg9WAwmGkgz1BgWGC2vUDgvUy2uGB3iGDMfNDwuPoGOGicjuAguGDxnLCIb3yw50CYb0BYbKzwj1zYbHifr5Cgvty3jPChqGz2vUzxjPy3mGzxjYB3iGAw4GDgHLAxiGChjVAMvJDcikicaIy29KAw5NiG','igzHAwXLzc4','zxf1ywXZ','C3r5Bgu','yxbWBgLJyxrPB24VANnVBG','lcbpChrPB24G','CxvLC3rPB25Z','Aw1Hz2vZ','u0HfteW','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','Dgf2AwX5qxbPs2v5','y2fSBfrVB2W','Dg9VBe5HBwu','CMfUzg9T','tM8GAg92zxiGAw5MB3jTyxrPB24','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','DgLTzvTKyxrLDgLTzv0','BMfTzq','ywjVCNq','zg9JDw1LBNrtEw1IB2W','zg9TywLUCW','zMLUywXnzxnZywDLvgv4Da','y29TBwfUzhm','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','lMPWzwC','r3jLCa','seLhsa','y29UC3rYDwn0B3i','Bwf4rw50CMLLCW','CMvJB3jK','nda1BKfOAgL1','AMf2yxnJCMLWDhjLywn0','C2fMzq','CxvLCNK','DgLTzw91De1Z','Bwf4qNL0zxm','y29UzMLN','B3bLBMfPlxjLC3bVBNnLCY13CW','zxH0zw5ZAw9UCW','Dg9Rzw5tDg9YywDLs2v5','BgLUzu51Bq','B3b0Aw9UCW','zMLSzvbHDgG','Dw5PB24','lMPZEa','ig1Z','DxrMoa','lNDLyNa','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','Aw52ywXPzf90B3bPyW','zgvSAw1PDgvY','ANnVBMm','C2v0vg9KB3m','y2HPBgq','zw5NAw5LCW','Aw50zwDLCG','Dhj1zwnVBg9Y','B2jQzwn0','s0Lnsv9bueLFs0vz','CMLWz3jLCa','lNrTCc4','Agv4','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','uefusa','AxnbCNjHEq','o1TExg5DkJ8','CgfYC2u','ihDHCYbHyM9YDgvKlG','C2XPy2u','BxvSDgLtzwXLy3q','lMPWzW','BgLZDfrVB2XZ','DMfSDwu','yxbWzw5K','CMvNAw9U','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','zgLZy292zxj5','ChvZAa','CgfJA2fNzs5QC29U','C3rKzxjY','BwvZC2fNzq','ls1ZDgrPBW','BgLUzq','zgLZy292zxj5u3rHDgu','CMvHzen1CNnVCG','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','C3rHDgu','oIbPBNzHBgLKihn0yxr1CW','Dg9ju09tDhjPBMC','y2XPzw50twv0ywrHDgfvCMW','qwXSia','C2vHCMnOugfYyw1Z','Aw52ywXPzf90B2rVx3bYAw9YAxr5','z29uB0rLzMLUAxrPB24','zgf0zxrPBwu','zMXHDe1HCa','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','DhvYBMrVD24','DgL0Bgu','D2HPy2GGCMC','mJK1otmYm0L6qxbKqq','BwLU','B3jPz2LUvg9VBenHBgXjza','ywrKrxzLBNrmAxn0zw5LCG','BMv3vgv4Da','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','t0zg','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','zxHPDa','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','v2LUr2v0','C2vUzfjLCxvLC3q','BgLUzvrLEhq','B3v0Chv0','tM8GC3LTyM9SCYbMB3vUza','ywXSB3DLzerPCNm','ANnVBG','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','CgLK','AxngAwXL','AgfZ','yM0Ynq','tM8GBg9JyxrPB25ZigzVDw5K','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','C2vZC2LVBKLK','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','Aw5JBhvKzv9KB21HAw5Z','BNv2Aw4','qu5usfjpueLdx0fqsv9lrvK','ls1MB2XSB3C','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','Bwf4uMvKAxjLy3rZ','l2jPBI9IyxnO','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','A2LTAq','y29Kzq','A2v5yMLUzgLUz3m','w01duca','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','mti3lJaUmc4W','mtKYlJaUmc4W','igzYB20G','A2LSBfjLCxvLC3rLza','BhnWu2vYDMLJzq','Aw5FChjVz3jLC3m','lw5i','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','icHWAwqG','BgfUz3vHz2u','C3bSAxq','CgfJA2fNzu5HBwu','ywXSB3DLzfrVB2XZ','y2XLyw51Ca','yxnPzgu','CgfZC3rOCM91z2G','y29UBMvJDa','BgvUz3rO','mtaWlJy0lJaUma','z29Vz2XLq3nLq3G','B3bLBKzPBgvZ','B25Jzq','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','r0Lusfvcx1rps0vo','yNL0zuXLBMD0Aa','Dg9KB3ncEvnLC3nPB24','zw52','r2XVyG','C3rKB3v0rgvJB2rLCG','C2nYDwjfBNzlzxLZ','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','Dgv4Da','zgv0ywLS','Dw5RBM93BG','C2nYAxb0','CgfJA2fNzxm','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','BxrPBwu','BgfIzwW','CM91BMq','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','C2TPBgXZ','C2v0','BwLUAw1HEa','Cgf0Aa','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','ChjLzML4','Aw5PDgLHBgL6yxrPB24','Dg90ywXeCM9WCgvK','vg9WAwmGC2v0ihrVici','zgvMyxvSDfrPBwvVDxrnCW','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','yxr4','C3rYAw5N','q291BgqGBM90ihjLC29SDMuGAg9ZDa','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','z2L0qNjHBMnO','rgLHz25VC3rPyW','CMfUz2u','y2vPBa','y291BNq','ChjPB3jPDhK','ywDLBNrZ','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','zw51Bq','qMfZzsbKAxjLy3rVCNK6ia','y2XLyxi','y2XPzw50CW','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','Bg9VA3vW','xsb0CMfUC3bVCNqGzxjYB3i6','tunqihrVB2WG','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','qxnZAwDUvgfZAW','B2zM','Dg9VBa','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','zgLZCg9Zzq','zxHPDgvK','BwfUDwfS','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','DhLWzxnJCMLWDhjLywn0','vw5HDxrOB3jPEMvKrxjYB3i','CgXHAw50zxH0','zgf0zvjLC3rYAwn0','lNbUzW','twLJCM9ZB2z0','DhnZzxj2zxiUANm','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','C3rHDhvZvgv4Da','Aw1WBgvTzw50yxrPB24','Dg9mB3DLCKnHC2u','y21KlMv4zq','Dgv4DerVy3vTzw50l2rPze9Wzw4','z29Vz2XLq3nLs2v5','C2L6zq','C2vYDMvYtMfTzq','wKfjx0fqsv9lrvK','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','BgfZDeLUzgv4t2y','tuLosu1bwf9bueLFs0vz','Bg9JyxrPB24','y3jSzG','B2XSyw1H','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','Aw5ZDgfSBa','vw5RBM93BIb0B29SoIa','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','C2LNBMfS','BNbT','C2H1DgrVD24','BwfW','y2XVC2u','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','C3rHCNq','Dg9VBhm','CM9VDa','nZeZmZeZmhr4Cvr5qq','tM8GC3vJAcbMAwXLoIaN','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbJB21Tyw5KigrVzxmGyw5KihDOEsb5B3uGyxjLihj1BM5PBMCGAxqG4OcuihrOzsbNB2fSigL0igfKDMfUy2vZlIbtAg93BIb0BYb0AguGDxnLCIbIzwzVCMuGzxHLy3v0Aw9UlIbczsbZCgvJAwzPyYWGzs5NlIaNuNvUihrOzsbHDxrOihrLC3rZihrVihzLCMLMEsb0AguGDg9Rzw4TCMvMCMvZAcbMAxGNihjHDgHLCIb0AgfUicDYDw4GDgvZDhmNlG','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','AhjLzG','BwnWxW','t1bftKfjx0fqsv9lrvK','CNvUswq','y2HHCKnVzgvbDa','Dgf2AwX5','Aw52ywXPzf90B2rVCW','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','ig1HDgnO','qMfZAe91Dhb1Da','CNvUBMLUzW','tg9HzgvKigzYB206ia','tgLUzsa','ywXSu2v0DgXLza','r09pr0Xfx0ntrv9lrvK','rMLSzu5LDW','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','yM94zwq','C2v2zxjPDhK','CMvTB3zL','Dgv4DerVy3vTzw50l2rPzenSB3nL','DgfZAW','C3jJl2v4yw1WBgvZl2rLBw8UDhm','AgfUzgXL','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','y29TCgXLDgvK','ywn0AxzL','vg9KBYa','y3jLyxrLzef0','DxrTx3nVDxjJzq','BgfUzW','D2vI','lunVBw1HBMq','igj5DgvZ','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','tunqihnLCNzLCIa','Ag9ZDa','Dg91y2HgAwXL','Dg90ywW','CMvNzxG','CxvLC3rPB24','r0Lusfvcx0fdq0vtu19ut0TftG','C3bHD24','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','sgLUDa','DxrTx21LzgL1Bq','yxjNCW','zMv0y2HjBxbS','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','y29UDgv4DeXPBMS','BgLZDgvU','y29TBwfUza','ChjVCgvYDgLLCW','DhLWzxnJCMLWDa','zgvSzwDHDgvKlxj1BI0','DhjHBNnWB3j0','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','y29KzvzLCMLMAwvY','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','mtCYlJe2lJaUma','BgLUzxm','tM8GCMvZDwX0CYbMB3vUzc4','Cg9W','lM51DMLU','y29UDgvUDhm','z2vUzxjHBa','y2XVC2vbBgW','r09pr0Xfx0ntrv9dwa','zgf0yq','Dgv4Dc9ODg1S','tu9ptLnit1rFqvbjx0Tfwq','CMCUzxHL','yxjYyxK','yxv0Aa','B2zMC2v0','BgfUz18','CMvMzxjLBMnLCW','CgLWzq'];_0x4b7c=function(){return _0x350b40;};return _0x4b7c();}function formatOutgoingCalls(_0xba204){const _0x4cbf97={_0x498b7b:0x26e,_0x53e626:0x27c,_0x36a9f9:0x113,_0x3700bb:0x39,_0x2c72dd:0x90,_0x365783:0x23e},_0x2acbb8={_0x12b4a2:0xab,_0x1afe87:0xc2},_0x7113e6={_0x300b52:0xe4,_0x37dfb5:0x1f8};function _0x37d45a(_0x17d030,_0xffd269,_0x360e74,_0x456f48){return _0x283a7f(_0x17d030-_0x7113e6._0x300b52,_0x456f48- -_0x7113e6._0x37dfb5,_0x360e74-0x161,_0x17d030);}if(_0xba204[_0x499257(_0x4cbf97._0x498b7b,_0x4cbf97._0x53e626,0x128,0x50)]===0x0)return _0x499257(-0xa4,_0x4cbf97._0x36a9f9,-_0x4cbf97._0x3700bb,0xbd);function _0x499257(_0x57b437,_0x255991,_0x3fc116,_0x3299d1){return _0x283a7f(_0x57b437-0x12b,_0x3fc116- -_0x2acbb8._0x12b4a2,_0x3fc116-_0x2acbb8._0x1afe87,_0x255991);}return _0xba204[_0x499257(_0x4cbf97._0x2c72dd,_0x4cbf97._0x365783,0x187,0x2b5)](_0x327872=>_0x327872['to']['name'])['join']('\x0a');}function toStructured(_0xa13f72){const _0x1c723a={_0x3e95f0:0x3a9};function _0x5b54cb(_0x15d2ca,_0x58d9b8,_0x87aeda,_0x2b2030){return _0x419223(_0x15d2ca-0x1c,_0x58d9b8,_0x15d2ca-0x358,_0x2b2030-0x9);}return JSON['parse'](JSON[_0x5b54cb(0x31a,0x2df,0x409,_0x1c723a._0x3e95f0)](_0xa13f72));}async function assertFile(_0x62e251){const _0x5b04ac={_0xb66ebb:0x3f,_0x2130c7:0x1a1},_0x184cc3={_0x39a740:0x26},_0x593341=await _0x2b3688(_0x62e251);function _0x310947(_0x523f47,_0xd641cd,_0x368cb9,_0x14049f){return _0x283a7f(_0x523f47-_0x184cc3._0x39a740,_0x14049f- -0x93,_0x368cb9-0x139,_0x368cb9);}if(!_0x593341['isFile']())throw new ToolExecutionError(_0x310947(-_0x5b04ac._0xb66ebb,-0x24,-_0x5b04ac._0x2130c7,-0x43)+_0x62e251,{'path':_0x62e251});}function validatePosition(_0x245820,_0x536259){const _0x55904d={_0x3a95d2:0x69,_0xf7354:0x93,_0x1c36ea:0x3a,_0x4de423:0x6f1,_0x40b98b:0x5ed,_0x5c19bb:0x59f},_0xed4dbc={_0x2b1289:0x12a,_0x31b542:0x1ce};function _0x577b91(_0x1d8e72,_0x4c1869,_0x35277c,_0x1df8e0){return _0x283a7f(_0x1d8e72-0xeb,_0x1d8e72-0x4e8,_0x35277c-0x84,_0x4c1869);}function _0x426e9d(_0x33b568,_0x578fb7,_0x38a302,_0x4b0d94){return _0x419223(_0x33b568-0x32,_0x38a302,_0x578fb7-_0xed4dbc._0x2b1289,_0x4b0d94-_0xed4dbc._0x31b542);}if(!Number[_0x577b91(0x537,0x65f,0x5de,0x4ef)](_0x245820)||_0x245820<0x1)throw new ToolExecutionError('line\x20must\x20be\x20a\x20positive\x20integer',{'line':_0x245820});if(!Number[_0x426e9d(_0x55904d._0x3a95d2,0xb1,_0x55904d._0xf7354,_0x55904d._0x1c36ea)](_0x536259)||_0x536259<0x1)throw new ToolExecutionError(_0x577b91(0x6cf,_0x55904d._0x4de423,_0x55904d._0x40b98b,_0x55904d._0x5c19bb),{'character':_0x536259});}function createLspTool(_0x4d6720={}){const _0x1ef263={_0x97667d:0x23d,_0x5801df:0x2dc,_0x111405:0x337,_0x3d5b35:0x103,_0x598ae6:0x184,_0x4cc64e:0x38c,_0x4abc66:0x269,_0x42669f:0x1f7,_0x205d21:0x8a,_0x37ac7e:0x57,_0x550400:0xe4,_0x54b133:0x13e,_0x5ddb46:0x2d0,_0x1414f9:0x3d6,_0x166681:0x238,_0x470704:0xd4,_0x198f4e:0x20b,_0x507e30:0x161,_0x4b3654:0x1bc,_0x66220a:0x35e,_0x547d76:0x1b7,_0x129f7c:0x1,_0xc69de:0x125,_0xb991a7:0x1d3,_0x59afa2:0xb9,_0x13ead8:0x292,_0x1e6f82:0x138,_0x386640:0x21a,_0x1d2a18:0x237,_0x384b9f:0x229,_0x518b29:0x9a,_0x1a94ec:0x110,_0x40ac9b:0x470,_0x12d190:0x3eb,_0x5e5c74:0x310,_0x32d0f5:0x25d,_0x5e2cb3:0x32f,_0xbf8f4f:0x302,_0x3ce23b:0x1e5,_0x1d8205:0x3bb},_0xc0f60e={_0x3dd635:0x63,_0x22352b:0x98,_0x57d73d:0x25b,_0x165a69:0xdd,_0x1d0c4c:0x5b3,_0x3ef4b2:0xe3,_0x298714:0x46,_0x2a744e:0x592,_0x3a78d2:0x51d,_0x1a614c:0x4c9,_0xc6c9a4:0x45d,_0x424756:0xc7,_0x1091c4:0x5fa,_0xf58f8f:0x773,_0x4922a4:0x757,_0x39927a:0x5e2,_0x29f1ca:0x1b5,_0x5a4d62:0x1aa,_0x529972:0x278,_0x3801c4:0x640,_0x1dcfba:0x7a0,_0x42a21d:0x155,_0x179fd3:0xbb,_0x5e012a:0x72,_0x11358e:0x138,_0x14c283:0x2a,_0x1e32c2:0x6c2,_0x526326:0x650,_0x3536af:0xdb,_0x5389d0:0x7,_0x5227c6:0x206,_0x23adf9:0xce,_0x366073:0x136,_0x4bd10f:0x22c,_0x474175:0x13f,_0x4bdc59:0xd1,_0x170a81:0xe9,_0x4ac96d:0x568,_0x28a11f:0x5d6,_0x308289:0xfd,_0x5a351e:0xcc,_0x2c62e:0x53,_0x185270:0x12c,_0x32c30b:0x654,_0x151fda:0x50d,_0x128331:0x6fd,_0x3fb950:0x83c,_0x4bd747:0x5e3,_0x2141a6:0xa6,_0x10a5ed:0x148,_0x4454e9:0x16,_0x595d99:0x56e,_0x5eef55:0x5bf,_0x3a2bfd:0x4df,_0x329b09:0x545,_0x4b62a8:0x660,_0x483e19:0x55a,_0x5da5ac:0x25a,_0x23583a:0x58d,_0x234cd6:0x54d},_0x40c4a6={_0x2935d8:0xc8},_0xb253ef={_0x491305:0x1ab,_0x5e3afc:0x3f,_0x292c75:0x193},_0x2d664d={_0xf54b35:0x1da,_0x43f6b4:0x1c5,_0x1b8982:0x2d};function _0x53a511(_0x153129,_0x5ab73b,_0x41d836,_0xb56805){return _0x419223(_0x153129-_0x2d664d._0xf54b35,_0x41d836,_0x153129-_0x2d664d._0x43f6b4,_0xb56805-_0x2d664d._0x1b8982);}const _0x10d2de=_0xce3b59[_0x1dbb40(_0x1ef263._0x97667d,0x293,_0x1ef263._0x5801df,_0x1ef263._0x111405)](_0x4d6720[_0x1dbb40(0xff,0x26e,0x75,0x16c)]??process[_0x1dbb40(0x162,0x27b,0x22a,_0x1ef263._0x3d5b35)]()),_0x27ee8f=_0x4d6720[_0x53a511(0x2a6,_0x1ef263._0x598ae6,_0x1ef263._0x4cc64e,_0x1ef263._0x4abc66)]??[];function _0x1dbb40(_0x4a486a,_0x1b1ee2,_0xb73821,_0xd5dba9){return _0x283a7f(_0x4a486a-_0xb253ef._0x491305,_0xd5dba9-_0xb253ef._0x5e3afc,_0xb73821-_0xb253ef._0x292c75,_0xb73821);}const _0x5cadd4=_0x4d6720[_0x1dbb40(_0x1ef263._0x42669f,_0x1ef263._0x205d21,0xf0,0x185)]??_0x1dbb40(_0x1ef263._0x37ac7e,0x1b6,_0x1ef263._0x550400,0x13e);return defineTool({'name':_0x5cadd4,'description':_0x1dbb40(0x121,0x4,0x171,0xe2),'inputSchema':{'type':_0x1dbb40(_0x1ef263._0x54b133,0x68,0x15f,0x1ae),'properties':{'operation':{'type':_0x53a511(0x2f5,_0x1ef263._0x5ddb46,0x263,_0x1ef263._0x1414f9),'enum':[_0x1dbb40(_0x1ef263._0x166681,_0x1ef263._0x470704,0x1d7,0x1d2),'findReferences',_0x53a511(_0x1ef263._0x198f4e,0x28e,_0x1ef263._0x507e30,_0x1ef263._0x4b3654),_0x53a511(0x245,0x128,_0x1ef263._0x66220a,0x1cc),'workspaceSymbol',_0x1dbb40(_0x1ef263._0x547d76,_0x1ef263._0x129f7c,0x14e,_0x1ef263._0xc69de),'prepareCallHierarchy','incomingCalls',_0x1dbb40(_0x1ef263._0xb991a7,-0xb7,0xba,_0x1ef263._0x59afa2),_0x53a511(0x391,0x285,_0x1ef263._0x13ead8,0x319)]},'filePath':{'type':_0x1dbb40(_0x1ef263._0x1e6f82,_0x1ef263._0x386640,0x19b,_0x1ef263._0x1d2a18)},'line':{'type':'number'},'character':{'type':_0x1dbb40(0x130,_0x1ef263._0x384b9f,_0x1ef263._0x518b29,_0x1ef263._0x1a94ec)},'query':{'type':_0x53a511(0x2f5,_0x1ef263._0x40ac9b,_0x1ef263._0x12d190,_0x1ef263._0x5e5c74)}},'required':['operation',_0x53a511(_0x1ef263._0x32d0f5,_0x1ef263._0x5e2cb3,_0x1ef263._0xbf8f4f,_0x1ef263._0x3ce23b),_0x53a511(0x285,0x1fe,0x278,0x153),_0x1dbb40(0x1f5,_0x1ef263._0x1d8205,0x27f,0x304)]},async *'execute'(_0xdbc613){const _0x3dbbbc={_0x2c38ec:0x188},_0x15c865=_0x4d6720[_0x1d75df(_0xc0f60e._0x3dd635,-0x110,0x68,-_0xc0f60e._0x22352b)];if(!_0x15c865)throw new ToolExecutionError(_0x1d75df(_0xc0f60e._0x57d73d,_0xc0f60e._0x165a69,0x151,0x1e0));if(!_0x15c865[_0x53baed(0x5c0,_0xc0f60e._0x1d0c4c,0x729,0x52d)]())throw new ToolExecutionError('LSP\x20service\x20is\x20disabled');const _0x451e20=_0xdbc613['operation'];validatePosition(_0xdbc613[_0x1d75df(-_0xc0f60e._0x3ef4b2,0x64,0x2a,-_0xc0f60e._0x298714)],_0xdbc613['character']);if(_0x451e20===_0x53baed(_0xc0f60e._0x2a744e,0x6ab,0x565,0x604)){if(!_0xdbc613['query']?.[_0x53baed(_0xc0f60e._0x3a78d2,_0xc0f60e._0x1a614c,_0xc0f60e._0xc6c9a4,0x3dd)]())throw new ToolExecutionError(_0x1d75df(0xd5,-0x8,_0xc0f60e._0x424756,0x1aa));const _0x54a9c6=await _0x15c865[_0x53baed(0x592,_0xc0f60e._0x1091c4,0x672,0x62a)](_0xdbc613[_0x53baed(0x637,_0xc0f60e._0xf58f8f,_0xc0f60e._0x4922a4,_0xc0f60e._0x39927a)]['trim']());return yield createToolOutput(formatSymbols(_0x54a9c6),{'operation':_0x451e20,'query':_0xdbc613['query'],'symbols':_0x54a9c6}),void 0x0;}function _0x1d75df(_0x54aefc,_0x3d03c3,_0x1ba760,_0x504b7b){return _0x53a511(_0x1ba760- -0x25b,_0x3d03c3-_0x40c4a6._0x2935d8,_0x504b7b,_0x504b7b-0x1);}const _0x509d71=resolveAllowedPath(_0x10d2de,_0x27ee8f,_0xdbc613['filePath']);await assertFile(_0x509d71);if(!await _0x15c865['hasClients'](_0x509d71))throw new ToolExecutionError(_0x1d75df(0xd1,_0xc0f60e._0x29f1ca,_0xc0f60e._0x5a4d62,_0xc0f60e._0x529972)+_0xdbc613[_0x53baed(_0xc0f60e._0x3801c4,_0xc0f60e._0x1dcfba,0x79a,0x6ed)],{'filePath':_0xdbc613[_0x1d75df(_0xc0f60e._0x42a21d,_0xc0f60e._0x179fd3,0x2,-_0xc0f60e._0x5e012a)]});await _0x15c865[_0x1d75df(0x76,_0xc0f60e._0x11358e,0x104,0x1b2)](_0x509d71,!![]);const _0x53eae7={'file':_0x509d71,'line':_0xdbc613[_0x1d75df(0x145,-0x34,_0xc0f60e._0x14c283,-0x81)]-0x1,'character':_0xdbc613['character']-0x1};function _0x53baed(_0x50b5c0,_0x99c1dc,_0x469b2f,_0x412eed){return _0x53a511(_0x50b5c0-0x3e3,_0x99c1dc-0xf2,_0x469b2f,_0x412eed-_0x3dbbbc._0x2c38ec);}switch(_0x451e20){case _0x53baed(0x5ee,0x622,_0xc0f60e._0x1e32c2,_0xc0f60e._0x526326):{const _0x2e67b6=await _0x15c865[_0x1d75df(_0xc0f60e._0x3536af,-0x141,-0x50,_0xc0f60e._0x5389d0)](_0x53eae7);return yield createToolOutput(formatHover(_0x2e67b6),{'operation':_0x451e20,'filePath':_0x509d71,'hover':_0x2e67b6}),void 0x0;}case _0x1d75df(_0xc0f60e._0x5227c6,_0xc0f60e._0x23adf9,_0xc0f60e._0x366073,_0xc0f60e._0x4bd10f):{const _0x5121cb=await _0x15c865[_0x53baed(0x5fb,0x593,0x506,0x4a7)](_0x509d71);return yield createToolOutput(formatDiagnostics(_0x5121cb),{'operation':_0x451e20,'filePath':_0x509d71,'diagnostics':_0x5121cb}),void 0x0;}case _0x1d75df(_0xc0f60e._0x474175,-_0xc0f60e._0x4bdc59,0x35,-_0xc0f60e._0x170a81):{const _0x1dbb7b=await _0x15c865[_0x53baed(_0xc0f60e._0x4ac96d,0x50b,0x5bf,_0xc0f60e._0x28a11f)](_0x53eae7);return yield createToolOutput(formatLocations(_0x1dbb7b),{'operation':_0x451e20,'filePath':_0x509d71,'locations':_0x1dbb7b}),void 0x0;}case _0x1d75df(0x1f9,_0xc0f60e._0x308289,0x16e,_0xc0f60e._0x5a351e):{const _0x897bf1=await _0x15c865[_0x1d75df(_0xc0f60e._0x2c62e,-0x1f,_0xc0f60e._0x185270,0x263)](_0x53eae7);return yield createToolOutput(formatLocations(_0x897bf1),{'operation':_0x451e20,'filePath':_0x509d71,'locations':_0x897bf1}),void 0x0;}case _0x53baed(0x5c6,_0xc0f60e._0x32c30b,0x4cf,_0xc0f60e._0x151fda):{const _0x274bcc=await _0x15c865[_0x53baed(_0xc0f60e._0x128331,0x629,_0xc0f60e._0x3fb950,_0xc0f60e._0x4bd747)](_0x53eae7);return yield createToolOutput(formatLocations(_0x274bcc),{'operation':_0x451e20,'filePath':_0x509d71,'locations':_0x274bcc}),void 0x0;}case _0x1d75df(-_0xc0f60e._0x2141a6,_0xc0f60e._0x10a5ed,-_0xc0f60e._0x4454e9,-0xef):{const _0x4968b6=await _0x15c865[_0x53baed(0x628,_0xc0f60e._0x595d99,0x54e,0x66d)](_0x509d71);return yield createToolOutput(formatSymbols(_0x4968b6),{'operation':_0x451e20,'filePath':_0x509d71,'symbols':_0x4968b6}),void 0x0;}case'prepareCallHierarchy':{const _0x5bc6fd=await _0x15c865['prepareCallHierarchy'](_0x53eae7);return yield createToolOutput(formatSymbols(_0x5bc6fd),{'operation':_0x451e20,'filePath':_0x509d71,'symbols':toStructured(_0x5bc6fd)}),void 0x0;}case _0x53baed(_0xc0f60e._0x5eef55,_0xc0f60e._0x3a2bfd,0x6bd,_0xc0f60e._0x329b09):{const _0x5e5d09=await _0x15c865[_0x53baed(_0xc0f60e._0x5eef55,_0xc0f60e._0x4b62a8,_0xc0f60e._0x483e19,0x4d7)](_0x53eae7);return yield createToolOutput(formatIncomingCalls(_0x5e5d09),{'operation':_0x451e20,'filePath':_0x509d71,'calls':toStructured(_0x5e5d09)}),void 0x0;}case _0x1d75df(-0xeb,-_0xc0f60e._0x5da5ac,-0xe4,-0x83):{const _0x181f17=await _0x15c865[_0x53baed(0x55a,_0xc0f60e._0x23583a,_0xc0f60e._0x234cd6,0x5f7)](_0x53eae7);return yield createToolOutput(formatOutgoingCalls(_0x181f17),{'operation':_0x451e20,'filePath':_0x509d71,'calls':toStructured(_0x181f17)}),void 0x0;}}}});}import{randomUUID as _0x248549}from'crypto';import{mkdir as _0x3b703c,readFile as _0xb38d44,writeFile as _0x2f35ec}from'fs/promises';import{join as _0x1ec321}from'path';function sanitizeStorageKey(_0x3918da){const _0x293d6b={_0x314515:0x206,_0xf7ed57:0x1ac,_0x180b61:0x15e,_0x13f78e:0x160},_0x2d2cfa={_0x3e98c9:0x161,_0x234789:0x1ad},_0x123b5d={_0x366bcd:0x1d8};function _0x1d6db1(_0x1b820d,_0x516380,_0x4793af,_0xaba407){return _0x283a7f(_0x1b820d-_0x123b5d._0x366bcd,_0x516380-0x144,_0x4793af-0xf7,_0xaba407);}function _0x34eabd(_0x1e7dea,_0x14ba3b,_0x157e75,_0x4991a9){return _0x283a7f(_0x1e7dea-_0x2d2cfa._0x3e98c9,_0x14ba3b- -0xa6,_0x157e75-_0x2d2cfa._0x234789,_0x1e7dea);}return _0x3918da[_0x1d6db1(_0x293d6b._0x314515,_0x293d6b._0xf7ed57,0x29d,0x17c)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0x34eabd(-0xff,0xd,-_0x293d6b._0x180b61,_0x293d6b._0x13f78e);}function storagePath(_0x20ffab){const _0x20a716={_0x4fb761:0x72d,_0x14ca70:0x5d8,_0x4636d3:0x5c9,_0x1c43f6:0x75f,_0x4bc26e:0x630,_0x5c6caa:0x2e0,_0x50af09:0xf4,_0x1a92d6:0x533,_0xa21046:0x6ec,_0x4409b7:0x5ac,_0x48ab3f:0x4b,_0x46d872:0xdd},_0x5b79bb={_0x13ffe5:0x65},_0x9877de={_0x112546:0x108,_0x202508:0x18};function _0x1e2ab6(_0x4db584,_0x102c65,_0x28721b,_0x53161c){return _0x283a7f(_0x4db584-_0x9877de._0x112546,_0x4db584-_0x9877de._0x202508,_0x28721b-0x1ab,_0x53161c);}function _0x2728ce(_0x397431,_0x453abb,_0x581e63,_0x22420d){return _0x419223(_0x397431-0x15b,_0x453abb,_0x22420d-0x59b,_0x22420d-_0x5b79bb._0x13ffe5);}const _0x412d6a=sanitizeStorageKey(_0x20ffab[_0x2728ce(_0x20a716._0x4fb761,0x660,_0x20a716._0x14ca70,0x62d)]['oauth']?.[_0x2728ce(_0x20a716._0x4636d3,0x77e,_0x20a716._0x1c43f6,_0x20a716._0x4bc26e)]??_0x20ffab[_0x1e2ab6(0x23b,_0x20a716._0x5c6caa,_0x20a716._0x50af09,0x19c)]);return _0x1ec321(_0x20ffab[_0x2728ce(_0x20a716._0x1a92d6,0x591,_0x20a716._0xa21046,_0x20a716._0x4409b7)],_0x412d6a+_0x1e2ab6(_0x20a716._0x48ab3f,0x118,0x26,-_0x20a716._0x46d872));}async function readStore(_0x28f704){const _0x337e05={_0x2d7b7a:0x104,_0x53fffd:0x5f},_0x447335={_0x2afbbf:0xd2};function _0x21aabe(_0x58cbb0,_0x5629b2,_0x2fa354,_0x31c814){return _0x283a7f(_0x58cbb0-0x1da,_0x2fa354- -0x1eb,_0x2fa354-_0x447335._0x2afbbf,_0x58cbb0);}try{return JSON['parse'](await _0xb38d44(_0x28f704,'utf8'));}catch(_0x5ec9f4){if(_0x5ec9f4 instanceof Error&&_0x21aabe(_0x337e05._0x2d7b7a,_0x337e05._0x53fffd,-0x2d,-0x10b)in _0x5ec9f4&&_0x5ec9f4['code']==='ENOENT')return{};throw _0x5ec9f4;}}async function writeStore(_0x5ee935,_0x5be173){const _0x369b47={_0x5f18b2:0x23b,_0x1571c6:0x224},_0x24c94c={_0x4231c3:0x151};function _0x1025e4(_0x3c4cc2,_0x42764,_0x46eeb4,_0x29e412){return _0x419223(_0x3c4cc2-_0x24c94c._0x4231c3,_0x29e412,_0x46eeb4-0x308,_0x29e412-0x12c);}await _0x3b703c(_0x1ec321(_0x5ee935,'..'),{'recursive':!![]}),await _0x2f35ec(_0x5ee935,JSON[_0x1025e4(_0x369b47._0x5f18b2,_0x369b47._0x1571c6,0x2ca,0x1e8)](_0x5be173,null,0x2),'utf8');}async function updateStore(_0x16c33b,_0x259186){const _0x24fdc7=await readStore(_0x16c33b);_0x259186(_0x24fdc7),await writeStore(_0x16c33b,_0x24fdc7);}function createMcpOAuthProvider(_0x81a2f8){const _0x3e8855={_0x4aa5f1:0x61d,_0xbf4fb9:0x582,_0x2a961b:0x2df,_0x439ce9:0x3a3,_0x405e66:0x5bd,_0x22c736:0x78e,_0x367739:0x623,_0x123243:0x2c1,_0x397af7:0x211,_0x107767:0x1d9,_0x290e66:0x4d3,_0x416bf5:0x39e,_0xd5c2ff:0x4e2,_0x33a7e4:0x5d0,_0xf123b3:0x64f,_0xe5c3d3:0x64d,_0x1e2099:0x5e1,_0x3ead73:0x33a,_0x5671f7:0x246,_0x1889c8:0x464,_0x19c549:0x665,_0x18f188:0x652,_0x444401:0x653,_0x23cab6:0x5ba,_0x52bfbd:0x61c},_0x1a867e={_0xc9259c:0x272,_0x5b99be:0x15c,_0x56125d:0x131,_0x181953:0x1bd,_0x459b3a:0x1fc,_0x1b53b4:0xb8,_0x47e6b6:0x120,_0x509597:0x16a,_0x219c41:0x24f,_0x292731:0x2e,_0x510243:0x16a,_0x5d690c:0x208,_0x38c830:0xac,_0x46f9f8:0x1f2,_0x56e59d:0x79,_0x242f7a:0x26,_0x2862fa:0x5d,_0x105775:0x68,_0x1ee6ab:0x163,_0x1b1473:0x18e,_0x467a82:0x21e,_0x3e889a:0x158,_0x1c2cf6:0x84,_0x343dfc:0xcf,_0x22e443:0x35,_0x12e0f3:0x2d},_0x4951f5={_0x2e4625:0x372},_0xb37e21={_0x225b6f:0x38f,_0x2b1e38:0x539},_0x31c890={_0x33f4e0:0x426},_0x4e05de={_0x147139:0xf0},_0x129d18={_0x5a66f2:0x219,_0x463827:0x373},_0x299f91={_0xba2f29:0x474,_0xfe161d:0x444},_0xc381f9={_0x4bda2e:0x1db},_0x5bd4be={_0x52c812:0x1a,_0x2fc3e9:0x8a},_0x350724={_0x4a4193:0x9b,_0x5ef8e1:0x70},_0x474bd9={_0x2bb9b5:0x58b,_0x30d5e9:0x1c5},_0x28b248={_0x487fc0:0x7d,_0x208ad2:0x2a8};function _0x58eb42(_0x5bcf8a,_0x311aeb,_0x2f7c17,_0x294177){return _0x419223(_0x5bcf8a-_0x28b248._0x487fc0,_0x5bcf8a,_0x311aeb-_0x28b248._0x208ad2,_0x294177-0x43);}const _0x366d12=storagePath(_0x81a2f8),_0x107069=_0x81a2f8[_0x28eaf0(_0x3e8855._0x4aa5f1,_0x3e8855._0xbf4fb9,0x5ce,0x700)]['oauth']?.['scopes']?.[_0x58eb42(_0x3e8855._0x2a961b,0x2f0,_0x3e8855._0x439ce9,0x46c)]('\x20');function _0x28eaf0(_0x10c0de,_0xfd5f98,_0x26dc49,_0x3fcd96){return _0x419223(_0x10c0de-0xcf,_0x26dc49,_0x10c0de-_0x474bd9._0x2bb9b5,_0x3fcd96-_0x474bd9._0x30d5e9);}const _0xfc7528={'client_name':_0x28eaf0(0x554,0x54c,0x468,_0x3e8855._0x405e66),'redirect_uris':[_0x81a2f8['callbackUrl']],'grant_types':[_0x28eaf0(_0x3e8855._0x22c736,_0x3e8855._0x367739,0x7d8,0x626),_0x58eb42(_0x3e8855._0x123243,_0x3e8855._0x397af7,0x1c4,_0x3e8855._0x107767)],'response_types':[_0x58eb42(_0x3e8855._0x290e66,_0x3e8855._0x416bf5,0x42f,_0x3e8855._0xd5c2ff)],'token_endpoint_auth_method':_0x28eaf0(_0x3e8855._0x33a7e4,_0x3e8855._0xf123b3,_0x3e8855._0xe5c3d3,_0x3e8855._0x1e2099),..._0x107069?{'scope':_0x107069}:{}};return{'clientMetadataUrl':_0x81a2f8[_0x58eb42(0x28c,_0x3e8855._0x3ead73,_0x3e8855._0x5671f7,_0x3e8855._0x1889c8)][_0x28eaf0(0x5a5,_0x3e8855._0x19c549,0x4c7,0x598)]?.[_0x28eaf0(_0x3e8855._0x18f188,_0x3e8855._0x444401,_0x3e8855._0x23cab6,_0x3e8855._0x52bfbd)],get 'redirectUrl'(){function _0x3d9533(_0x57c28e,_0x147380,_0x2ee6b3,_0x10091d){return _0x58eb42(_0x2ee6b3,_0x147380- -0x21e,_0x2ee6b3-_0x350724._0x4a4193,_0x10091d-_0x350724._0x5ef8e1);}return _0x81a2f8[_0x3d9533(0x15f,-_0x5bd4be._0x52c812,_0x5bd4be._0x2fc3e9,-0x14c)];},get 'clientMetadata'(){return _0xfc7528;},async 'state'(){const _0x96f2a1=await readStore(_0x366d12);if(_0x96f2a1['state'])return _0x96f2a1[_0xf4e1a(0x352,_0x299f91._0xba2f29,0x537,_0x299f91._0xfe161d)];function _0xf4e1a(_0x24c32d,_0x386564,_0x880a37,_0x1ac0fe){return _0x28eaf0(_0x386564- -_0xc381f9._0x4bda2e,_0x386564-0x85,_0x1ac0fe,_0x1ac0fe-0x143);}const _0x45fb93=_0x248549();return await updateStore(_0x366d12,_0x4d17d6=>{_0x4d17d6['state']=_0x45fb93;}),_0x45fb93;},async 'clientInformation'(){const _0x3f090e={_0x19e583:0x149,_0x3700ab:0xa1,_0x5dba3a:0x19};function _0x279334(_0x2f3f87,_0x18914e,_0x45648a,_0x29a8ad){return _0x58eb42(_0x2f3f87,_0x29a8ad-_0x3f090e._0x19e583,_0x45648a-_0x3f090e._0x3700ab,_0x29a8ad-_0x3f090e._0x5dba3a);}return(await readStore(_0x366d12))[_0x279334(_0x129d18._0x5a66f2,0x293,0x1f9,_0x129d18._0x463827)];},async 'saveClientInformation'(_0x386196){const _0x5de58c={_0x2441d1:0x19a};await updateStore(_0x366d12,_0xeae23f=>{const _0x55df0d={_0x10d429:0xbb};function _0x11d003(_0x20048d,_0x57e253,_0x89516b,_0x492059){return _0x380c(_0x20048d-_0x55df0d._0x10d429,_0x57e253);}_0xeae23f[_0x11d003(0x22e,0x141,0x175,_0x5de58c._0x2441d1)]=_0x386196;});},async 'tokens'(){function _0x5633b4(_0x4d7fac,_0x27393f,_0x3747bd,_0x3f0da1){return _0x58eb42(_0x3747bd,_0x27393f-0x12b,_0x3747bd-_0x4e05de._0x147139,_0x3f0da1-0xff);}return(await readStore(_0x366d12))[_0x5633b4(0x473,0x3f2,0x377,_0x31c890._0x33f4e0)];},async 'saveTokens'(_0x412b5e){const _0x5a8a55={_0x3ead1e:0x176,_0x550d13:0x71};await updateStore(_0x366d12,_0x12b483=>{const _0x4ca1e5={_0x20e021:0x9a};function _0x2774d0(_0x3be2bc,_0x4c6c84,_0x304ff3,_0xfe4a52){return _0x380c(_0x3be2bc- -_0x4ca1e5._0x20e021,_0x304ff3);}_0x12b483[_0x2774d0(_0x5a8a55._0x3ead1e,-0x1,_0x5a8a55._0x550d13,0x2d1)]=_0x412b5e;});},async 'redirectToAuthorization'(_0x25b128){await _0x81a2f8['onRedirect'](_0x25b128);},async 'saveCodeVerifier'(_0x39c9be){await updateStore(_0x366d12,_0x18e247=>{function _0x5019af(_0x23a86d,_0xd97b3c,_0x1a31c6,_0x23006d){return _0x380c(_0xd97b3c-0x86,_0x23a86d);}_0x18e247[_0x5019af(_0xb37e21._0x225b6f,0x426,0x3ee,_0xb37e21._0x2b1e38)]=_0x39c9be;});},async 'codeVerifier'(){const _0x92a222={_0x557640:0x261};function _0x288845(_0x83c381,_0x5bdffa,_0x3fadcc,_0x429c2d){return _0x28eaf0(_0x3fadcc- -_0x92a222._0x557640,_0x5bdffa-0x17d,_0x429c2d,_0x429c2d-0x115);}const _0x3639f1=(await readStore(_0x366d12))[_0x288845(0x526,0x4ef,0x4d9,_0x4951f5._0x2e4625)];if(!_0x3639f1)throw new Error('No\x20MCP\x20OAuth\x20code\x20verifier\x20saved');return _0x3639f1;},async 'invalidateCredentials'(_0x94c012){await updateStore(_0x366d12,_0x5baa88=>{const _0x5615c5={_0x1f2e82:0x2df},_0x564f59={_0x26c273:0x37a};function _0x533f32(_0x2ab328,_0x3bbb28,_0x188117,_0xa1051d){return _0x380c(_0x3bbb28- -_0x564f59._0x26c273,_0x188117);}function _0x1fd44a(_0x322cfe,_0x3b6e5c,_0x5a2f50,_0x597ac8){return _0x380c(_0x597ac8- -_0x5615c5._0x1f2e82,_0x5a2f50);}(_0x94c012===_0x1fd44a(-_0x1a867e._0xc9259c,-_0x1a867e._0x5b99be,-0x21e,-0x158)||_0x94c012===_0x533f32(-_0x1a867e._0x56125d,-_0x1a867e._0x181953,-_0x1a867e._0x459b3a,-_0x1a867e._0x1b53b4))&&(_0x5baa88['clientInformation']=void 0x0),(_0x94c012===_0x1fd44a(-0x2a,-_0x1a867e._0x47e6b6,-0xac,-0x158)||_0x94c012===_0x533f32(-0x258,-_0x1a867e._0x509597,-_0x1a867e._0x219c41,-0xfd))&&(_0x5baa88[_0x533f32(-_0x1a867e._0x292731,-_0x1a867e._0x510243,-0xd4,-_0x1a867e._0x5d690c)]=void 0x0),(_0x94c012===_0x1fd44a(-0x211,-0x154,-0x152,-0x158)||_0x94c012===_0x533f32(0xec,_0x1a867e._0x38c830,_0x1a867e._0x46f9f8,-_0x1a867e._0x56e59d))&&(_0x5baa88[_0x533f32(0x33,_0x1a867e._0x242f7a,_0x1a867e._0x2862fa,_0x1a867e._0x105775)]=void 0x0,_0x5baa88[_0x1fd44a(-_0x1a867e._0x1ee6ab,-_0x1a867e._0x1b1473,-0x17f,-0x2a)]=void 0x0),(_0x94c012===_0x1fd44a(-0x229,-_0x1a867e._0x467a82,-0x56,-_0x1a867e._0x3e889a)||_0x94c012===_0x533f32(-_0x1a867e._0x1c2cf6,-_0x1a867e._0x343dfc,-_0x1a867e._0x22e443,-0xb4))&&(_0x5baa88[_0x1fd44a(0xe6,-0xf0,0x106,-_0x1a867e._0x12e0f3)]=void 0x0);});},async 'saveDiscoveryState'(_0x524099){const _0x227054={_0x43b11c:0x523,_0xdce5b7:0x3c2};await updateStore(_0x366d12,_0x5bea8a=>{function _0x2cc43f(_0x36fa90,_0xe8e568,_0x49280b,_0xc91d36){return _0x380c(_0x36fa90-0x255,_0xc91d36);}_0x5bea8a[_0x2cc43f(0x507,0x506,_0x227054._0x43b11c,_0x227054._0xdce5b7)]=_0x524099;});},async 'discoveryState'(){return(await readStore(_0x366d12))['discoveryState'];}};}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';function createMcpToolName(_0x3a8d0c,_0x34aeb1){const _0x3d2160={_0x4079dc:0x3a3,_0x41ab64:0x347,_0x4753a7:0x2c6},_0x370bd0={_0x8562b8:0x1a8,_0x54ee8f:0x10a},_0x33f7cf={_0x38bd21:0x8e,_0x50c30a:0x1e3};function _0x3997f9(_0x53a468,_0x3961c1,_0x503dd0,_0x3d4c93){return _0x419223(_0x53a468-0xe2,_0x503dd0,_0x3d4c93-_0x33f7cf._0x38bd21,_0x3d4c93-_0x33f7cf._0x50c30a);}const _0x5f34e2=_0x5c4e2b=>_0x5c4e2b[_0x251e1f(0xa3,0x172,0x256,0x115)](/[^a-zA-Z0-9_]+/g,'_')[_0x3997f9(-0xa2,0x120,-0x3f,0x2e)](/^_+|_+$/g,'');function _0x251e1f(_0x260dd8,_0x340d2c,_0x459b84,_0x5d95f9){return _0x283a7f(_0x260dd8-_0x370bd0._0x8562b8,_0x340d2c-_0x370bd0._0x54ee8f,_0x459b84-0xc2,_0x260dd8);}return _0x251e1f(_0x3d2160._0x4079dc,_0x3d2160._0x41ab64,_0x3d2160._0x4753a7,0x4c3)+_0x5f34e2(_0x3a8d0c)+'_'+_0x5f34e2(_0x34aeb1);}function isObject(_0x525132){const _0x22ded6={_0xe5b5b2:0x353,_0xebb183:0x3cd,_0x214edc:0x397,_0x2efa24:0x2ca,_0x325ff9:0x4f5},_0x5505b7={_0x22c3a5:0x95},_0x47a33e={_0x8caa4c:0x256};function _0xa331a(_0xb8b696,_0x386eae,_0x3c968a,_0x1f4913){return _0x283a7f(_0xb8b696-0x1e4,_0x1f4913-_0x47a33e._0x8caa4c,_0x3c968a-0x1a3,_0x3c968a);}function _0x205082(_0x192e6b,_0xc6347a,_0x380af5,_0x5b6c55){return _0x419223(_0x192e6b-_0x5505b7._0x22c3a5,_0xc6347a,_0x192e6b-0x3e5,_0x5b6c55-0x12a);}return typeof _0x525132===_0x205082(0x48c,_0x22ded6._0xe5b5b2,_0x22ded6._0xebb183,_0x22ded6._0x214edc)&&_0x525132!==null&&!Array[_0xa331a(0x2b3,_0x22ded6._0x2efa24,_0x22ded6._0x325ff9,0x3cc)](_0x525132);}function toSupportedSchema(_0x5bd9fe){const _0x589206={_0x42cc9a:0x3f3,_0xa214ad:0x331,_0x144298:0x5dc,_0x13f292:0x2fb,_0x80c220:0x4a9,_0x24137b:0x3de,_0x367fce:0x5da,_0x14a452:0x5d6,_0x3a30b4:0x6f6,_0x4ab4c7:0x469,_0x694ca4:0x41a,_0x138cd1:0x52f,_0x475ffe:0x5c5,_0x259ce6:0x45f,_0x210688:0x3bb,_0x581a39:0x549,_0x536867:0x478},_0x5a655c={_0x216a2d:0x1d8,_0x3e9a82:0x354,_0x2297dd:0x1e9},_0x5b8e56={_0x203ae2:0x11b,_0x524e94:0x3d9};if(!isObject(_0x5bd9fe))return void 0x0;if(_0x5bd9fe[_0x1c517d(0x2bd,_0x589206._0x42cc9a,0x294,0x2a4)]==='string')return{'type':_0xef5486(0x457,0x6fa,0x5c4,0x5d1)};function _0xef5486(_0x2ca4aa,_0xaf19db,_0x2cdb68,_0x5ef1aa){return _0x283a7f(_0x2ca4aa-_0x5b8e56._0x203ae2,_0x5ef1aa-_0x5b8e56._0x524e94,_0x2cdb68-0x66,_0xaf19db);}function _0x1c517d(_0x91f512,_0x1435e2,_0x14102d,_0x304c4b){return _0x283a7f(_0x91f512-_0x5a655c._0x216a2d,_0x1435e2-_0x5a655c._0x3e9a82,_0x14102d-_0x5a655c._0x2297dd,_0x304c4b);}if(_0x5bd9fe[_0x1c517d(0x31d,0x3f3,0x437,_0x589206._0xa214ad)]===_0x1c517d(0x2af,0x425,0x50b,0x4f2)||_0x5bd9fe['type']===_0x1c517d(_0x589206._0x144298,0x4c1,0x625,0x428))return{'type':_0x1c517d(_0x589206._0x13f292,0x425,0x2f4,_0x589206._0x80c220)};if(_0x5bd9fe['type']===_0xef5486(0x597,0x336,_0x589206._0x24137b,0x474))return{'type':'boolean'};if(_0x5bd9fe[_0xef5486(0x321,0x43d,0x5b3,0x478)]===_0x1c517d(0x636,_0x589206._0x367fce,_0x589206._0x14a452,_0x589206._0x3a30b4))return{'type':'array','items':toSupportedSchema(_0x5bd9fe[_0x1c517d(_0x589206._0x4ab4c7,_0x589206._0x694ca4,_0x589206._0x138cd1,0x2e0)])??{'type':_0x1c517d(0x3e1,0x54c,0x578,_0x589206._0x475ffe)}};if(_0x5bd9fe[_0xef5486(_0x589206._0x259ce6,_0x589206._0x210688,_0x589206._0x581a39,_0x589206._0x536867)]==='object')return toNuvinToolSchema(_0x5bd9fe);return void 0x0;}function toNuvinToolSchema(_0x164d45){const _0x3da772={_0x4f7e41:0x524,_0x1de4c9:0x60a,_0x27f75d:0x4a8,_0x390255:0x5b2,_0x253261:0x8a,_0xb00b45:0x124,_0x50c5e3:0x29,_0x2abfc6:0x43,_0x3fa894:0x230,_0x41916e:0x729,_0x505865:0x82c,_0x15afa3:0x1be,_0x48aec0:0x1a9,_0xba10eb:0xfc,_0x182f70:0xa5,_0x30b433:0x552,_0x5ae226:0x408,_0xc0febc:0x514,_0x28103c:0x694,_0x356f08:0x5f4,_0x245166:0x758},_0x3de1a7={_0x37e732:0x7a,_0x3b0867:0xa3},_0x3439a6={_0x27ed39:0x1d,_0xa6bd0f:0x1d6};function _0x57ee51(_0x3733b9,_0x48a37b,_0x45f6dc,_0x2185d1){return _0x419223(_0x3733b9-0x124,_0x45f6dc,_0x3733b9- -_0x3439a6._0x27ed39,_0x2185d1-_0x3439a6._0xa6bd0f);}if(!isObject(_0x164d45)||_0x164d45[_0x1a7bb2(0x44b,0x3c5,_0x3da772._0x4f7e41,_0x3da772._0x1de4c9)]!==_0x1a7bb2(_0x3da772._0x27f75d,_0x3da772._0x390255,0x5f4,0x6da))return{'type':_0x57ee51(_0x3da772._0x253261,_0x3da772._0xb00b45,0xbb,_0x3da772._0x50c5e3),'properties':{}};const _0x98cae7={},_0x5397d2=isObject(_0x164d45[_0x57ee51(0x18c,_0x3da772._0x2abfc6,0x1e2,_0x3da772._0x3fa894)])?_0x164d45['properties']:{};for(const [_0xb2f72e,_0x44ba9b]of Object[_0x1a7bb2(0x6a6,0x7d7,_0x3da772._0x41916e,_0x3da772._0x505865)](_0x5397d2)){const _0x5b2279=toSupportedSchema(_0x44ba9b);if(_0x5b2279)_0x98cae7[_0xb2f72e]=_0x5b2279;}function _0x1a7bb2(_0x46aeff,_0x1c91a2,_0x132fb3,_0x4e28eb){return _0x283a7f(_0x46aeff-_0x3de1a7._0x37e732,_0x132fb3-0x485,_0x132fb3-_0x3de1a7._0x3b0867,_0x4e28eb);}const _0x30f733=Array[_0x57ee51(0x91,-0xb5,_0x3da772._0x15afa3,0xae)](_0x164d45[_0x57ee51(_0x3da772._0x48aec0,0x31e,_0x3da772._0xba10eb,0x151)])?_0x164d45[_0x57ee51(0x1a9,0x105,0x4f,_0x3da772._0x182f70)][_0x1a7bb2(_0x3da772._0x30b433,_0x3da772._0x5ae226,0x561,_0x3da772._0xc0febc)](_0x327bb4=>typeof _0x327bb4===_0x57ee51(0x113,0x168,0x96,-0x5a)):void 0x0;return _0x30f733?.['length']?{'type':_0x1a7bb2(_0x3da772._0x28103c,0x56a,_0x3da772._0x356f08,0x70a),'properties':_0x98cae7,'required':_0x30f733}:{'type':_0x1a7bb2(0x748,_0x3da772._0x245166,0x5f4,0x765),'properties':_0x98cae7};}function isJsonObject(_0x2e8e19){const _0x1399f0={_0x12ece3:0x80},_0x1d1898={_0x2adb6d:0xef,_0x273ff6:0x1ef};function _0x2daee9(_0x541679,_0x4b13c1,_0x89ef36,_0x169b76){return _0x283a7f(_0x541679-0x26,_0x169b76- -_0x1d1898._0x2adb6d,_0x89ef36-_0x1d1898._0x273ff6,_0x541679);}return typeof _0x2e8e19===_0x2daee9(0x1f1,-0xeb,-0xb3,_0x1399f0._0x12ece3)&&_0x2e8e19!==null&&!Array['isArray'](_0x2e8e19);}function formatMcpContent(_0x2a58d7){const _0x575aa3={_0x2a447:0xd3,_0xd0816e:0x1f0,_0x340302:0xe4,_0x2bd8f5:0x89,_0x56e8ac:0x127,_0x69ade3:0xb2,_0x26a7a0:0x224,_0x1c8266:0xd1,_0x33ae1f:0x16a,_0x64eccc:0x13b,_0x69b152:0xbc,_0x43c0c7:0x123},_0x47eae5={_0x3eed02:0x19d,_0x38d5b1:0x9b},_0x2a77ac={_0x289d84:0x3da,_0x161108:0x342,_0x333095:0x322,_0x267f39:0x3ed,_0x4fd0f8:0x428,_0xbe38dd:0x485,_0x4d46ce:0x42d,_0x5f36c3:0x5f9,_0x28cc06:0x3ac,_0x11e7b4:0x4b0},_0x148043=Array['isArray'](_0x2a58d7[_0x28593e(-0xae,-_0x575aa3._0x2a447,0x2,-_0x575aa3._0xd0816e)])?_0x2a58d7[_0x24c5f8(-_0x575aa3._0x340302,-_0x575aa3._0x2bd8f5,0x24,0xde)]:[],_0x5bcb73=_0x148043[_0x24c5f8(_0x575aa3._0x56e8ac,0xcf,0x179,_0x575aa3._0x69ade3)](_0x2db624=>{const _0x30f5d8={_0x37cd56:0xfa,_0x41d060:0x406},_0xe57fcd={_0x54ff24:0x431,_0x30d252:0x168};if(!isObject(_0x2db624))return'';function _0x3a6683(_0x579077,_0xb7bf79,_0xa937cf,_0xb78d48){return _0x24c5f8(_0x579077-0xd7,_0xb78d48-_0xe57fcd._0x54ff24,_0xa937cf-_0xe57fcd._0x30d252,_0xb7bf79);}function _0xf7d16c(_0x3a93f3,_0x28342b,_0x3d62e1,_0x2091d2){return _0x24c5f8(_0x3a93f3-_0x30f5d8._0x37cd56,_0x28342b-_0x30f5d8._0x41d060,_0x3d62e1-0x17e,_0x3d62e1);}if(_0x2db624[_0xf7d16c(_0x2a77ac._0x289d84,_0x2a77ac._0x161108,0x285,_0x2a77ac._0x333095)]===_0xf7d16c(_0x2a77ac._0x267f39,0x485,0x475,_0x2a77ac._0x4fd0f8)&&typeof _0x2db624[_0xf7d16c(0x393,_0x2a77ac._0xbe38dd,_0x2a77ac._0x4d46ce,0x43a)]==='string')return _0x2db624[_0x3a6683(_0x2a77ac._0x5f36c3,0x4c7,_0x2a77ac._0x28cc06,_0x2a77ac._0x11e7b4)];return JSON['stringify'](_0x2db624);})[_0x28593e(-_0x575aa3._0x26a7a0,-_0x575aa3._0x1c8266,-_0x575aa3._0x33ae1f,0x31)](_0x43caf8=>_0x43caf8[_0x28593e(0x10,0x26,0x16c,0x45)]>0x0)[_0x28593e(-0x11b,-0x9d,-_0x575aa3._0x64eccc,_0x575aa3._0x69b152)]('\x0a');function _0x24c5f8(_0x4a4c39,_0x388075,_0x591c18,_0x53e5fb){return _0x419223(_0x4a4c39-_0x47eae5._0x3eed02,_0x53e5fb,_0x388075- -_0x47eae5._0x38d5b1,_0x53e5fb-0x1a9);}if(_0x5bcb73['length']>0x0)return _0x5bcb73;function _0x28593e(_0x5d216b,_0x5a2604,_0x5232d8,_0x1d19e0){return _0x419223(_0x5d216b-0x119,_0x5232d8,_0x5a2604- -0xe5,_0x1d19e0-0xfa);}return JSON[_0x28593e(-0xe7,-_0x575aa3._0x43c0c7,0x3b,-0x106)](_0x2a58d7,null,0x2);}function createMcpTool(_0x192216){const _0x3b39b5={_0x3e1667:0x260,_0x306cf4:0x141,_0x19ad0b:0x1d2,_0x22cb53:0x2c9,_0x3100eb:0x24,_0x360979:0xe5,_0xfaeec5:0x5a,_0x4f7704:0xfd,_0x54ccf3:0x247,_0x25296c:0x1ce,_0x53d72d:0x24b,_0x7a5ccb:0x34e,_0x419df3:0x5a,_0x5b78b3:0x118,_0x4a1cb2:0x122,_0x4ec9ae:0x215,_0x18a408:0x321,_0x4d4147:0x272,_0xd9acf2:0x1b4,_0x4fee64:0x25d,_0x485d29:0x26f,_0x3e52c2:0x216},_0x4494fb={_0x27863d:0x594,_0x5bcb67:0x5dc,_0x3c8aa7:0x165,_0x1b35c6:0x15f,_0x35239d:0x1e1,_0x4309c8:0x1ec,_0x5c0863:0x4ed,_0x35369a:0x521,_0x21b28d:0x4f0,_0x41209e:0xc3,_0x45ab56:0x1d9,_0x50104c:0x579,_0x55bc73:0x496,_0x323ca1:0x4e3,_0x1aa403:0x4b1,_0x6a50d4:0x622},_0x83eb39={_0x458acd:0x1a9,_0x56e706:0x3,_0x171218:0xec},_0x45684a={_0x17a6ae:0x124},_0x1c2dcf={_0x1ce5b0:0x3d,_0x2e166f:0x73},_0x1d79f0=createMcpToolName(_0x192216[_0x1bd796(0x257,0x311,_0x3b39b5._0x3e1667,_0x3b39b5._0x306cf4)],_0x192216[_0x1bd796(0x398,_0x3b39b5._0x19ad0b,0x24b,0xe5)]['name']);function _0x1bd796(_0x36cb02,_0x152a52,_0x5c7a88,_0x5871c2){return _0x283a7f(_0x36cb02-0xb9,_0x5c7a88-_0x1c2dcf._0x1ce5b0,_0x5c7a88-_0x1c2dcf._0x2e166f,_0x5871c2);}function _0xcf316a(_0x197762,_0x30a2aa,_0x5b6acc,_0x2ba175){return _0x419223(_0x197762-_0x45684a._0x17a6ae,_0x2ba175,_0x30a2aa-0x117,_0x2ba175-0x5d);}return defineTool({'name':_0x1d79f0,'description':_0x192216[_0x1bd796(0x243,_0x3b39b5._0x22cb53,0x24b,0x388)][_0xcf316a(_0x3b39b5._0x3100eb,_0x3b39b5._0x360979,0x188,_0x3b39b5._0xfaeec5)]??_0x1bd796(_0x3b39b5._0x4f7704,0x100,_0x3b39b5._0x54ccf3,_0x3b39b5._0x25296c)+_0x192216[_0x1bd796(0x1c7,0x26e,_0x3b39b5._0x53d72d,_0x3b39b5._0x7a5ccb)][_0xcf316a(_0x3b39b5._0x419df3,0x195,_0x3b39b5._0x5b78b3,_0x3b39b5._0x4a1cb2)]+_0x1bd796(0x24e,_0x3b39b5._0x4ec9ae,0x201,_0x3b39b5._0x18a408)+_0x192216[_0xcf316a(0x196,_0x3b39b5._0x4d4147,0x133,0x3e7)],'inputSchema':toNuvinToolSchema(_0x192216[_0xcf316a(_0x3b39b5._0xd9acf2,_0x3b39b5._0x4fee64,_0x3b39b5._0x485d29,_0x3b39b5._0x3e52c2)]['inputSchema']),async *'execute'(_0x155bff){const _0xfacf83={_0xf5bd20:0x66},_0x180aa0=await _0x192216['client'][_0x2e4680(_0x4494fb._0x27863d,0x4ab,0x34f,_0x4494fb._0x5bcb67)]({'name':_0x192216[_0x4dde43(_0x4494fb._0x3c8aa7,_0x4494fb._0x1b35c6,_0x4494fb._0x35239d,_0x4494fb._0x4309c8)][_0x2e4680(_0x4494fb._0x5c0863,0x4b1,_0x4494fb._0x35369a,_0x4494fb._0x21b28d)],'arguments':isJsonObject(_0x155bff)?_0x155bff:{}});function _0x2e4680(_0x16d2db,_0x17568c,_0x283c03,_0x4ec681){return _0xcf316a(_0x16d2db-_0xfacf83._0xf5bd20,_0x17568c-0x31c,_0x283c03-0x1ab,_0x283c03);}if(_0x180aa0[_0x4dde43(_0x4494fb._0x41209e,0x44,0xad,-0xd)])throw new ToolExecutionError(formatMcpContent(_0x180aa0),{'serverName':_0x192216['serverName'],'toolName':_0x192216['tool'][_0x4dde43(0x2c,0x97,_0x4494fb._0x45ab56,-0x57)]});function _0x4dde43(_0x480924,_0x42b187,_0x40910e,_0x6aa40b){return _0x1bd796(_0x480924-_0x83eb39._0x458acd,_0x42b187-_0x83eb39._0x56e706,_0x42b187- -_0x83eb39._0x171218,_0x40910e);}return yield createToolOutput(formatMcpContent(_0x180aa0),{'serverName':_0x192216['serverName'],'toolName':_0x192216[_0x2e4680(0x63c,_0x4494fb._0x50104c,_0x4494fb._0x55bc73,0x49f)][_0x2e4680(_0x4494fb._0x323ca1,_0x4494fb._0x1aa403,0x46a,_0x4494fb._0x6a50d4)],'result':_0x180aa0}),void 0x0;}});}function resolvePrefix(_0x32f178,_0x5dfe3d){const _0x5eb3ba={_0x43ff6a:0x623,_0x4e8714:0x3db,_0x1722bd:0x5cb},_0x188b20={_0x147e76:0x43,_0x1ab700:0x24};function _0x59b7fd(_0xdaf4cc,_0x16cfd3,_0x3b0bb4,_0x2781e1){return _0x419223(_0xdaf4cc-_0x188b20._0x147e76,_0x16cfd3,_0xdaf4cc-0x3b7,_0x2781e1-_0x188b20._0x1ab700);}return _0x5dfe3d[_0x59b7fd(0x4e0,_0x5eb3ba._0x43ff6a,_0x5eb3ba._0x4e8714,_0x5eb3ba._0x1722bd)]??_0x32f178;}function buildMcpHttpHeaders(_0x57dfb1){const _0x461b2d={_0x33c41e:0x1ab,_0x39eed5:0x32f,_0x4041c1:0x2cd,_0x4f9e9b:0x25d,_0x2f21c9:0x515,_0x5e5e3c:0x445,_0x234f8b:0x173,_0xbddea3:0x2d2,_0x5b788e:0x258,_0x2924b3:0x30f,_0x17bb83:0x48b,_0x6d117f:0x55e,_0x42c041:0x365,_0x288146:0x4d7,_0x385422:0x463,_0x183ad:0x391},_0x10dbb2={_0x37d8a2:0x1ee,_0x3d120f:0x286},_0x3fc1ef={_0x427f27:0x1d6,_0x37e6e4:0x167},_0x48779a={..._0x57dfb1['headers']??{}};function _0x4f75ad(_0x4863e6,_0x6335a,_0x4b2e7f,_0x1a9eca){return _0x283a7f(_0x4863e6-_0x3fc1ef._0x427f27,_0x4863e6-_0x3fc1ef._0x37e6e4,_0x4b2e7f-0x153,_0x6335a);}function _0x124863(_0xcc5b9e,_0x1b6139,_0x3e597b,_0x564321){return _0x419223(_0xcc5b9e-_0x10dbb2._0x37d8a2,_0xcc5b9e,_0x564321-_0x10dbb2._0x3d120f,_0x564321-0x1e8);}return _0x57dfb1['auth']?.[_0x124863(_0x461b2d._0x33c41e,_0x461b2d._0x39eed5,_0x461b2d._0x4041c1,_0x461b2d._0x4f9e9b)]==='bearer'&&_0x57dfb1[_0x124863(_0x461b2d._0x2f21c9,0x2ca,0x56d,_0x461b2d._0x5e5e3c)]['token']&&_0x48779a[_0x4f75ad(0x201,0x125,0xef,_0x461b2d._0x234f8b)]===void 0x0&&(_0x48779a[_0x124863(_0x461b2d._0xbddea3,0x3d3,0x36a,_0x461b2d._0x5b788e)]=_0x124863(0x393,_0x461b2d._0x2924b3,0x323,_0x461b2d._0x17bb83)+_0x57dfb1['auth'][_0x124863(0x31c,_0x461b2d._0x6d117f,_0x461b2d._0x42c041,0x450)]),Object['keys'](_0x48779a)[_0x124863(_0x461b2d._0x288146,_0x461b2d._0x385422,0x348,_0x461b2d._0x183ad)]>0x0?_0x48779a:void 0x0;}function getErrorMessage(_0x25cc5a){const _0x2b34e8={_0x48e03d:0x18c,_0x5e7a62:0x1f3};function _0x120e4d(_0x4d1cfa,_0x20f4e8,_0x4ae572,_0x4fb691){return _0x283a7f(_0x4d1cfa-_0x2b34e8._0x48e03d,_0x4d1cfa- -_0x2b34e8._0x5e7a62,_0x4ae572-0x10,_0x4fb691);}return _0x25cc5a instanceof Error?_0x25cc5a[_0x120e4d(-0x6d,-0x9e,-0x133,-0x2)]:String(_0x25cc5a);}function isUnauthorizedError(_0x32a214){const _0x392d55={_0x7097b0:0x175,_0x86719f:0x74,_0x42260f:0xd2},_0x2ef0e9={_0x137816:0x95},_0x375920={_0x312d44:0x218};function _0x47a94e(_0x271094,_0x501616,_0x210fad,_0x3aba0d){return _0x283a7f(_0x271094-0x181,_0x210fad- -_0x375920._0x312d44,_0x210fad-0x71,_0x3aba0d);}function _0x54e3a5(_0x3af66f,_0x554ada,_0x1880b2,_0x4cd321){return _0x419223(_0x3af66f-_0x2ef0e9._0x137816,_0x1880b2,_0x3af66f- -0xf5,_0x4cd321-0xc7);}return _0x32a214 instanceof Error&&_0x32a214[_0x47a94e(0x54,-_0x392d55._0x7097b0,-0xc7,0x4)][_0x47a94e(0x6e,-_0x392d55._0x86719f,-_0x392d55._0x42260f,-0x21a)]===_0x54e3a5(0x58,0x109,0xb0,0x56);}async function connectMcpServer(_0xf25105,_0xad629f,_0xa2d448){const _0x57631c={_0x5728f2:0x518,_0x125de6:0x3ab,_0x2b7c77:0x42e,_0x2bb0ed:0x84,_0x4dbc1a:0x59,_0x4e27c6:0x27,_0x3cf37a:0x8b,_0x1f1842:0xc1,_0x2150d5:0x5ec,_0xca87d4:0x6f2,_0x31613a:0x479,_0x1d8c72:0x4ef,_0x2137aa:0x45f,_0x4eead6:0x2ff,_0x5f2936:0xd1,_0x430f79:0x243,_0xfc6d00:0x129,_0x4084e9:0x682,_0x9736a1:0x5b4,_0x189337:0x696,_0x1197b0:0x4ad,_0x695452:0x58f,_0x5e354e:0x5a7,_0x4d1641:0x4cc,_0x232da6:0xa5,_0x4da253:0x1ea,_0x556d53:0x3a9,_0x14f842:0x275,_0x17efce:0x24a,_0x4a4870:0x434,_0x1653f4:0x2dd,_0x5a5824:0x6c0,_0x48252b:0x604,_0x8ec350:0x5bb,_0x19af3a:0x5cb,_0x3f2a01:0x5cf,_0xfe6b04:0x6ae,_0x439119:0x17e,_0x495fcf:0x65,_0xdb0ccf:0x5bf,_0x3651fd:0x498,_0x51777b:0x56f,_0x1c9496:0x5df},_0x794155={_0x510499:0x4bf,_0x53a200:0x5b7,_0x2e2cca:0x5d0},_0x28264e={_0x4e5c49:0x58f},_0x4faecc={_0xc885e6:0x437,_0x179ff7:0x682,_0x309af9:0x6af,_0x442c62:0x750},_0x538637={_0x17ed61:0x427,_0x46b13d:0x5ca,_0x5793ac:0x4e9},_0xf1bfc7={_0x137273:0x124,_0x4e7fd6:0x25,_0x564d51:0x431,_0x1e67bb:0x31e,_0x16c88f:0x4a7,_0x3fb679:0x4d9,_0x57cf16:0x44e,_0x8f480e:0x374,_0x140410:0x21b,_0x4f55be:0x2c2,_0x179dab:0x1fb},_0x529a06={_0x290aa1:0x23,_0x24826f:0x450},_0x1defa0={_0x1a9202:0x1db,_0x403c74:0x1e1},_0x27b398={_0x2aea39:0xc1,_0x47f536:0x20b,_0x6f259c:0xf};function _0x5ee6cf(_0x2d1154,_0x383035,_0x2419a7,_0x478e37){return _0x283a7f(_0x2d1154-_0x27b398._0x2aea39,_0x478e37- -_0x27b398._0x47f536,_0x2419a7-_0x27b398._0x6f259c,_0x2d1154);}function _0x33f7a5(_0x2a286a,_0x3a223a,_0x14904e,_0x138e2c){return _0x419223(_0x2a286a-_0x1defa0._0x1a9202,_0x14904e,_0x3a223a-0x41c,_0x138e2c-_0x1defa0._0x403c74);}const _0x1b9aaf=new Client({'name':_0x33f7a5(0x4dc,0x509,_0x57631c._0x5728f2,0x63b),'version':_0x33f7a5(0x4f7,_0x57631c._0x125de6,_0x57631c._0x2b7c77,0x312)});_0x1b9aaf['onerror']=_0x3b3b53=>{function _0xf4f0f8(_0x58f5c0,_0x424d43,_0x537781,_0x19fa91){return _0x33f7a5(_0x58f5c0-0x6e,_0x424d43- -0x2bf,_0x58f5c0,_0x19fa91-0x112);}function _0x4f2c2a(_0x12f6fe,_0x121b89,_0x384e38,_0x19134b){return _0x5ee6cf(_0x384e38,_0x121b89-0xf5,_0x384e38-_0x529a06._0x290aa1,_0x19134b-_0x529a06._0x24826f);}console[_0xf4f0f8(_0xf1bfc7._0x137273,0x151,0x7c,_0xf1bfc7._0x4e7fd6)](_0x4f2c2a(_0xf1bfc7._0x564d51,0x35a,0x3c7,0x405)+_0xf25105+_0x4f2c2a(_0xf1bfc7._0x1e67bb,_0xf1bfc7._0x16c88f,_0xf1bfc7._0x3fb679,_0xf1bfc7._0x57cf16),_0x3b3b53[_0xf4f0f8(_0xf1bfc7._0x8f480e,_0xf1bfc7._0x140410,_0xf1bfc7._0x4f55be,_0xf1bfc7._0x179dab)]);};if(_0xad629f[_0x5ee6cf(0x1bb,-_0x57631c._0x2bb0ed,_0x57631c._0x4dbc1a,0x69)]==='http'||_0xad629f[_0x5ee6cf(-_0x57631c._0x4e27c6,-_0x57631c._0x3cf37a,_0x57631c._0x1f1842,0xd4)]){if(!_0xad629f[_0x33f7a5(_0x57631c._0x2150d5,0x633,0x77a,_0x57631c._0xca87d4)])throw new Error('MCP\x20server\x20'+_0xf25105+_0x33f7a5(0x4a7,0x3fc,0x286,_0x57631c._0x31613a));if(_0xad629f['auth']?.['type']===_0x33f7a5(_0x57631c._0x1d8c72,0x436,_0x57631c._0x2137aa,_0x57631c._0x4eead6)&&!_0xa2d448?.[_0x5ee6cf(-_0x57631c._0x5f2936,-0x23d,-_0x57631c._0x430f79,-_0x57631c._0xfc6d00)])throw new Error(_0x33f7a5(_0x57631c._0x4084e9,_0x57631c._0x9736a1,0x646,_0x57631c._0x189337)+_0xf25105+_0x33f7a5(_0x57631c._0x1197b0,_0x57631c._0x695452,_0x57631c._0x5e354e,_0x57631c._0x4d1641));const _0x530cc4=buildMcpHttpHeaders(_0xad629f),_0x337be9=_0xad629f[_0x5ee6cf(-_0x57631c._0x232da6,0xd1,0x3c,0x7c)]?.[_0x5ee6cf(-0xc5,-0x1a9,-_0x57631c._0x4da253,-0x16c)]===_0x33f7a5(_0x57631c._0x556d53,0x436,0x558,0x4d2)&&_0xa2d448?.[_0x5ee6cf(-0x174,-_0x57631c._0x14f842,-0x123,-0x129)]?createMcpOAuthProvider({'serverName':_0xf25105,'callbackUrl':_0xa2d448[_0x5ee6cf(-0x20,-_0x57631c._0x17efce,-0x121,-_0x57631c._0xfc6d00)]['callbackUrl'],'storageDir':_0xa2d448[_0x33f7a5(_0x57631c._0x4a4870,0x436,_0x57631c._0x1653f4,0x41a)]['storageDir'],'config':_0xad629f[_0x33f7a5(_0x57631c._0x5a5824,0x5db,0x632,0x4a8)],'onRedirect':_0x20ba96=>_0xa2d448[_0x33f7a5(0x4a1,0x436,0x2f4,0x435)]?.[_0x33f7a5(0x6fb,0x65a,0x56c,0x6ab)](_0xf25105,_0x20ba96)}):void 0x0,_0x2898af=new StreamableHTTPClientTransport(new URL(_0xad629f['url']),{'authProvider':_0x337be9,'requestInit':_0x530cc4?{'headers':_0x530cc4}:void 0x0});await _0x1b9aaf[_0x33f7a5(_0x57631c._0x48252b,0x526,0x498,0x52d)](_0x2898af);}else{if(!_0xad629f['command'])throw new Error(_0x33f7a5(_0x57631c._0x8ec350,0x5b4,0x486,_0x57631c._0x19af3a)+_0xf25105+_0x33f7a5(_0x57631c._0x3f2a01,0x582,0x6eb,_0x57631c._0xfe6b04));const _0x27b9fa=new StdioClientTransport({'command':_0xad629f[_0x5ee6cf(-_0x57631c._0x2bb0ed,-0x16,_0x57631c._0x439119,_0x57631c._0x495fcf)],'args':_0xad629f[_0x33f7a5(0x648,_0x57631c._0xdb0ccf,0x668,0x642)]??[],'env':_0xad629f[_0x33f7a5(0x44e,0x530,0x4be,_0x57631c._0x3651fd)],'stderr':_0x33f7a5(_0x57631c._0x51777b,_0x57631c._0x1c9496,0x66c,0x564)});await _0x1b9aaf['connect'](_0x27b9fa);}return{async 'listTools'(){const _0xa677a8={_0x44fa9b:0x13c};function _0x2a78cb(_0x35fb02,_0x5c7bf4,_0x133d8f,_0x5186e7){return _0x33f7a5(_0x35fb02-0xe7,_0x133d8f-0x18,_0x5c7bf4,_0x5186e7-_0xa677a8._0x44fa9b);}return await _0x1b9aaf[_0x2a78cb(_0x538637._0x17ed61,_0x538637._0x46b13d,_0x538637._0x5793ac,0x521)]();},async 'callTool'(_0xe02338){const _0x3ffd81={_0x483a4a:0xfc},_0x48ce0b={_0xf7aeeb:0xc0};function _0xc25da6(_0x4a7480,_0x4da8ae,_0x509d66,_0x475502){return _0x5ee6cf(_0x509d66,_0x4da8ae-_0x48ce0b._0xf7aeeb,_0x509d66-0x1b,_0x4da8ae-0x5d8);}function _0x392d94(_0x2c4be9,_0x3aec4b,_0xb6c10c,_0x270753){return _0x5ee6cf(_0x3aec4b,_0x3aec4b-_0x3ffd81._0x483a4a,_0xb6c10c-0x126,_0x270753-0x6b1);}return await _0x1b9aaf[_0xc25da6(0x44e,_0x4faecc._0xc885e6,0x4f8,0x4fc)]({'method':_0xc25da6(0x7bf,_0x4faecc._0x179ff7,_0x4faecc._0x309af9,_0x4faecc._0x442c62),'params':_0xe02338},CallToolResultSchema);},async 'close'(){function _0x1a0d58(_0x3c60c8,_0xa6aaaa,_0x5f063b,_0x3c9bac){return _0x5ee6cf(_0x3c60c8,_0xa6aaaa-0x14d,_0x5f063b-0x5c,_0xa6aaaa-_0x28264e._0x4e5c49);}await _0x1b9aaf[_0x1a0d58(_0x794155._0x510499,_0x794155._0x53a200,0x5e7,_0x794155._0x2e2cca)]();}};}async function createMcpToolsFromServers(_0x21bbf7){const _0x5361ed={_0x303892:0x86,_0x437246:0x16a,_0x10e9f4:0x26a,_0x57552c:0x2a3,_0x481f6d:0x182,_0x48b30a:0x176,_0x8b03c8:0xa1,_0x2acf06:0x63,_0x5c728d:0x9a,_0x4e6795:0xfb,_0x422005:0x103,_0x473278:0x2d3,_0x5d2456:0x10d,_0xc16218:0x1e2,_0x1d3899:0x11,_0x2a92c3:0x46,_0x3182d4:0x29b,_0x130418:0x271,_0x5533be:0x1b2,_0x1f530a:0x2bb},_0x4bf4ed={_0x3d04b7:0x660,_0xd70fa6:0x529,_0x34bae4:0x7de},_0x216dbb={_0x264bd8:0x114},_0x4b5d73={_0x4ef5b6:0x1a3,_0x2aa88f:0x156};function _0x58ea09(_0x4449fe,_0x20fbf4,_0x2442e2,_0x2db54a){return _0x419223(_0x4449fe-_0x4b5d73._0x4ef5b6,_0x20fbf4,_0x4449fe- -_0x4b5d73._0x2aa88f,_0x2db54a-0x7a);}const _0x545340=_0x21bbf7['connect']??connectMcpServer,_0x14c4a7=[],_0xb3508e={},_0x4b4df0=[];for(const [_0x2be052,_0x300042]of Object[_0x58ea09(_0x5361ed._0x303892,-0xa2,-0xcb,_0x5361ed._0x437246)](_0x21bbf7[_0x145b78(_0x5361ed._0x10e9f4,0x34d,0x147,_0x5361ed._0x57552c)]??{})){if(_0x300042['enabled']===![]){_0xb3508e[_0x2be052]={'status':'disabled'};continue;}try{const _0x58301a=await _0x545340(_0x2be052,_0x300042,_0x21bbf7[_0x58ea09(-_0x5361ed._0x481f6d,-0x272,-0x2c6,-0x22)]);_0x14c4a7[_0x145b78(0x14a,_0x5361ed._0x48b30a,0xd6,0x286)](_0x58301a);const _0x3adc1b=await _0x58301a[_0x58ea09(-_0x5361ed._0x8b03c8,-0x10,_0x5361ed._0x2acf06,0xb3)]();let _0x3b1127=0x0;for(const _0x3ad2ea of _0x3adc1b[_0x58ea09(0x18,-0xfe,_0x5361ed._0x5c728d,-_0x5361ed._0x4e6795)]){const _0x40cc19=_0x21bbf7[_0x145b78(0x195,_0x5361ed._0x422005,0x74,_0x5361ed._0x473278)]?.[_0x2be052]?.[_0x3ad2ea[_0x145b78(_0x5361ed._0x5d2456,_0x5361ed._0xc16218,-_0x5361ed._0x1d3899,-0xb)]];if(_0x40cc19===![])continue;_0x3b1127+=0x1,_0x4b4df0[_0x145b78(0x14a,_0x5361ed._0x2a92c3,_0x5361ed._0x3182d4,_0x5361ed._0x130418)](createMcpTool({'serverName':resolvePrefix(_0x2be052,_0x300042),'tool':_0x3ad2ea,'client':_0x58301a}));}_0xb3508e[_0x2be052]={'status':_0x58ea09(-0x1f8,-0x34d,-0x89,-0x372),'toolCount':_0x3b1127};}catch(_0x1e651c){_0xb3508e[_0x2be052]=isUnauthorizedError(_0x1e651c)?{'status':'authRequired','message':getErrorMessage(_0x1e651c)}:{'status':_0x58ea09(-0x162,-_0x5361ed._0x5533be,-_0x5361ed._0x1f530a,-0x2dd),'message':getErrorMessage(_0x1e651c)};}}function _0x145b78(_0x548250,_0x21b722,_0x4ed3d4,_0x49e50d){return _0x419223(_0x548250-0x154,_0x4ed3d4,_0x548250-0x8f,_0x49e50d-_0x216dbb._0x264bd8);}return{'tools':_0x4b4df0,'servers':_0xb3508e,async 'close'(){const _0x2c71a4={_0x5dae2d:0x1ac},_0x3f1bde={_0x1b631a:0x330,_0x317f3e:0x46};function _0x1c43c0(_0x2fdb6f,_0x1e50ef,_0x196368,_0x35a628){return _0x58ea09(_0x2fdb6f-_0x3f1bde._0x1b631a,_0x35a628,_0x196368-0x62,_0x35a628-_0x3f1bde._0x317f3e);}function _0x5c3ea8(_0x4ed412,_0x5e4157,_0x53315e,_0x2fb413){return _0x58ea09(_0x2fb413-0x6e9,_0x5e4157,_0x53315e-_0x2c71a4._0x5dae2d,_0x2fb413-0x1e4);}await Promise[_0x5c3ea8(0x439,0x3b6,_0x4bf4ed._0x3d04b7,_0x4bf4ed._0xd70fa6)](_0x14c4a7[_0x5c3ea8(0x75d,0x7bd,_0x4bf4ed._0x34bae4,0x6fd)](_0x1eccbc=>_0x1eccbc[_0x5c3ea8(0x5cf,0x69d,0x610,0x6fe)]()));}};}function getCommand(_0x563d0e){const _0x45230b={_0x2b23ee:0x87,_0x5159ad:0x4d,_0x2875b5:0xce,_0x513302:0x11f,_0x418247:0xe2,_0x46a605:0x118,_0x5d83a2:0xe6},_0x13b051={_0x7bb9a1:0xcb,_0xc49540:0x8b},_0xa1bac={_0x3b5922:0x1b5};function _0xd2c2bb(_0x56fbed,_0x2e6273,_0x2ede0e,_0x52cfe7){return _0x283a7f(_0x56fbed-0x1e3,_0x2ede0e- -0x244,_0x2ede0e-_0xa1bac._0x3b5922,_0x56fbed);}if(_0x563d0e&&typeof _0x563d0e==='object'&&!Array[_0xd2c2bb(-_0x45230b._0x2b23ee,-_0x45230b._0x5159ad,-_0x45230b._0x2875b5,0x29)](_0x563d0e)&&typeof _0x563d0e[_0xd2c2bb(0x71,_0x45230b._0x513302,0x2c,-_0x45230b._0x418247)]===_0xd2c2bb(_0x45230b._0x46a605,-0xc6,-0x4c,-_0x45230b._0x5d83a2))return _0x563d0e['command'];function _0x4d68e5(_0x22d917,_0x14211f,_0x485a8f,_0x1c7ab8){return _0x419223(_0x22d917-_0x13b051._0x7bb9a1,_0x1c7ab8,_0x485a8f-0x336,_0x1c7ab8-_0x13b051._0xc49540);}return _0x4d68e5(0x148,0x1d3,0x2b4,0x375);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x419223(0x87,0x4e,0xa,0x100),_0x419223(-0x128,-0x13,-0x66,-0xc8),_0x419223(0x215,0x188,0xbc,0xf3),_0x419223(0x2eb,0x145,0x224,0x20a),_0x419223(0x26d,0x200,0x132,-0x8),_0x419223(0x281,0x229,0x18b,0x282),_0x283a7f(0x187,0x134,0x1a1,0xae),_0x419223(0x2d,-0x1b4,-0x76,-0x95),_0x419223(0xf0,-0x9f,-0x49,-0x37),'src/formats/provider-adapters.ts',_0x283a7f(0x2ec,0x300,0x230,0x258),_0x283a7f(0x1c1,0x109,0x193,0x210),_0x419223(-0xe,0x111,-0x1,-0x5c),'src/models/anthropic-model.ts',_0x419223(-0xea,-0x7e,0x3a,0xba),_0x419223(-0x79,-0xde,0x64,-0xb7)][_0x419223(0x199,-0x84,0x48,0xbf)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x283a7f(0x24b,0x2ce,0x1d0,0x412),'description':_0x283a7f(-0x62,0x83,0x107,0x151),'input_schema':{'type':'object','properties':{'command':{'type':_0x419223(0x8c,0xa1,0x130,0x219)}},'required':[_0x283a7f(0x1c3,0x270,0x269,0x143)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x16cc6a){return{'output':_0x16cc6a,'structured':{'value':_0x16cc6a}};}function createUnknownToolResult(_0x7fc51b){const _0x36b5cb={_0x1d57c7:0x5b3,_0x1214cf:0x6a8},_0x2de86a={_0x4bd37a:0x44e,_0x3e45e8:0xae};function _0x4e6aa6(_0x2cc992,_0x5919b8,_0x33a499,_0x24ecf9){return _0x419223(_0x2cc992-0x1a0,_0x24ecf9,_0x5919b8-_0x2de86a._0x4bd37a,_0x24ecf9-_0x2de86a._0x3e45e8);}return{'callId':_0x7fc51b['id'],'toolName':_0x7fc51b['name'],'status':'error','output':_0x4e6aa6(0x475,_0x36b5cb._0x1d57c7,_0x36b5cb._0x1214cf,0x5fe)+_0x7fc51b['name'],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x36a624,_0x6edd17){const _0x924002={_0x5c43e5:0x316,_0x4098cc:0x34b,_0x31bd65:0x2d5,_0x17e5c7:0x25b,_0x286596:0x1a5},_0x5e53eb={_0x25fa5e:0x132,_0x207ea0:0x19e},_0x360df6={_0x9075f3:0xd6,_0x54b654:0x257};function _0x4ca133(_0x63387d,_0x3e52c8,_0x502418,_0xf491b3){return _0x419223(_0x63387d-_0x360df6._0x9075f3,_0x3e52c8,_0xf491b3-_0x360df6._0x54b654,_0xf491b3-0x11);}function _0x26842e(_0x2f4cfd,_0x374f5c,_0x2a84fd,_0x221615){return _0x283a7f(_0x2f4cfd-_0x5e53eb._0x25fa5e,_0x2f4cfd-0x479,_0x2a84fd-_0x5e53eb._0x207ea0,_0x221615);}return{'callId':_0x36a624['id'],'toolName':_0x36a624[_0x4ca133(0x3b9,_0x924002._0x5c43e5,_0x924002._0x4098cc,_0x924002._0x31bd65)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x36a624[_0x4ca133(_0x924002._0x17e5c7,0x156,0x278,_0x924002._0x286596)]),'exitCode':0x0},'chunks':[_0x6edd17],'meta':createMeta()};}function createMockToolRuntime(){const _0x505b83={_0x52959d:0x1d9},_0x228d78={_0x526543:0x467},_0x3f40cc={_0x318343:0xb8},_0x15f457=async(_0xf41720,_0x553937)=>{function _0x4c9679(_0x34c601,_0x396372,_0xb44e7f,_0x1667da){return _0x380c(_0x396372-_0x3f40cc._0x318343,_0xb44e7f);}if(_0xf41720[_0x4c9679(_0x228d78._0x526543,0x327,0x1c4,0x2f5)]!=='Bash')return createUnknownToolResult(_0xf41720);const _0xde9c4b=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0xf41720,_0xde9c4b);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x101112,_0x280b58){function _0x462603(_0x1f17f8,_0x5a39b7,_0x4f2413,_0x5782b2){return _0x380c(_0x5782b2-0x142,_0x1f17f8);}return await Promise[_0x462603(0x271,0x1dc,_0x505b83._0x52959d,0x2c9)](_0x101112['map'](async _0x5cbb8d=>{return await _0x15f457(_0x5cbb8d,_0x280b58);}));},async 'execute'(_0x5a79e0,_0x3a2227){return await _0x15f457(_0x5a79e0,_0x3a2227);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x8df272={_0x384f90:0x4c3,_0x4088a7:0x35d,_0x30a9eb:0x451},_0xb48fe8={_0x1bde2c:0xaf};delegatedRunCounter+=0x1;function _0x1474ac(_0x529368,_0x1ddae4,_0x454541,_0x1f8ffd){return _0x283a7f(_0x529368-0xd4,_0x1f8ffd-0x24f,_0x454541-_0xb48fe8._0x1bde2c,_0x529368);}return _0x1474ac(_0x8df272._0x384f90,_0x8df272._0x4088a7,_0x8df272._0x30a9eb,0x4c2)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0xe0bfdb,_0x5cd362){const _0x5cf02e={_0x15c9ff:0x424,_0x19b85b:0x46f};function _0x24e94d(_0x1c890c,_0x4d70b8,_0x4bc93c,_0x51fb01){return _0x283a7f(_0x1c890c-0xa,_0x4d70b8-0x39c,_0x4bc93c-0x165,_0x4bc93c);}return typeof _0xe0bfdb===_0x24e94d(0x36a,0x3b3,_0x5cf02e._0x15c9ff,_0x5cf02e._0x19b85b)?await _0xe0bfdb(_0x5cd362):_0xe0bfdb;}function getDelegatedAgentDefinition(_0x408119,_0x1b7e84){const _0x4c31d0={_0xbb8651:0x184,_0x697f9b:0x3ae,_0x56936c:0x1d6};function _0x150e8e(_0x45bb6d,_0x16c078,_0x4f2564,_0xaf93){return _0x283a7f(_0x45bb6d-_0x4c31d0._0xbb8651,_0x16c078-_0x4c31d0._0x697f9b,_0x4f2564-_0x4c31d0._0x56936c,_0x4f2564);}return _0x408119[_0x150e8e(0x6d6,0x5af,0x534,0x53f)]?.[_0x1b7e84];}function createRunSummary(_0xacccc4){const _0x5903cc={_0x5e74fd:0x2fb,_0x5efcab:0x3a6,_0x571fff:0x423,_0x451d41:0x46e,_0x10cb41:0x6a0,_0x1c959e:0x4a3,_0x528695:0x3f9,_0x871fce:0x3bf,_0x30f82d:0x32b,_0x92658f:0x15a,_0x166525:0x5a6,_0x3898f0:0x4dd,_0x35f511:0x505,_0x3e03f8:0x577,_0x293e3b:0x517,_0x204edc:0x4cc,_0x2b19d3:0x687,_0xbf9b86:0x19,_0x4d0953:0x153,_0x49e300:0x330,_0x16fb45:0x3e2,_0x5e9e13:0x1c4,_0x28b37f:0x68,_0x13d9a0:0x435,_0x90c17d:0x3c9,_0x425393:0x504,_0x4169bd:0x5c,_0x3a099a:0x2b},_0x499015={_0x1f16ec:0x3db},_0x5a261a={_0x1d9e65:0x91};function _0x16e522(_0x2c301f,_0x2f66e1,_0x4d5e9c,_0x4bde7a){return _0x283a7f(_0x2c301f-0xc1,_0x2c301f- -_0x5a261a._0x1d9e65,_0x4d5e9c-0x56,_0x4d5e9c);}function _0x3d79d2(_0xd6f128,_0x4b6d02,_0xae3ee1,_0x45e1b9){return _0x283a7f(_0xd6f128-0x4f,_0xd6f128-_0x499015._0x1f16ec,_0xae3ee1-0x107,_0x45e1b9);}return{'runId':_0xacccc4[_0x16e522(0x1ae,_0x5903cc._0x5e74fd,0x114,0x176)],'agentId':_0xacccc4[_0x3d79d2(0x44f,_0x5903cc._0x5efcab,_0x5903cc._0x571fff,_0x5903cc._0x451d41)],'sessionId':_0xacccc4[_0x3d79d2(0x58d,_0x5903cc._0x10cb41,0x567,_0x5903cc._0x1c959e)],'status':_0xacccc4[_0x3d79d2(_0x5903cc._0x528695,_0x5903cc._0x871fce,_0x5903cc._0x30f82d,0x364)],'parentSessionId':_0xacccc4[_0x16e522(-0x74,-0x4c,-0xf9,-_0x5903cc._0x92658f)],..._0xacccc4[_0x3d79d2(0x577,_0x5903cc._0x166525,_0x5903cc._0x3898f0,_0x5903cc._0x35f511)]!==void 0x0?{'originToolCallId':_0xacccc4[_0x3d79d2(_0x5903cc._0x3e03f8,_0x5903cc._0x293e3b,_0x5903cc._0x204edc,_0x5903cc._0x2b19d3)]}:{},..._0xacccc4[_0x16e522(-0x19,-0x1c,-0x2,-0xcd)]!==void 0x0?{'errorMessage':_0xacccc4[_0x16e522(-_0x5903cc._0xbf9b86,-0x6b,_0x5903cc._0x4d0953,0x12f)]}:{},..._0xacccc4[_0x3d79d2(0x435,0x4de,_0x5903cc._0x49e300,_0x5903cc._0x16fb45)]?.[_0x16e522(0x5c,-0xf2,_0x5903cc._0x5e9e13,_0x5903cc._0x28b37f)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0xacccc4[_0x3d79d2(_0x5903cc._0x13d9a0,_0x5903cc._0x90c17d,0x39d,_0x5903cc._0x425393)][_0x16e522(_0x5903cc._0x4169bd,_0x5903cc._0x3a099a,0x194,0x80)])}:{}};}function createRunSummaryOutput(_0x51079d,_0x4c2c10){const _0x146886={_0x179342:0xe1,_0x5e9c84:0x240,_0x5d46dd:0xe4},_0x151799={_0xa3c765:0x169,_0x1a413b:0xef,_0x1269fd:0x59},_0x371e30={_0x420e01:0x153},_0x4c7110=createRunSummary(_0x51079d);function _0x469e2d(_0x5252f7,_0x68b7d9,_0x4d5212,_0x3b938f){return _0x419223(_0x5252f7-0x14,_0x68b7d9,_0x3b938f-0x215,_0x3b938f-_0x371e30._0x420e01);}const _0x50ef59=_0x4c7110[_0x58a1dc(_0x146886._0x179342,0x10e,-0x2b,0x5b)];function _0x58a1dc(_0x4f7e20,_0x82e27f,_0x43257e,_0x405be4){return _0x283a7f(_0x4f7e20-_0x151799._0xa3c765,_0x405be4- -_0x151799._0x1a413b,_0x43257e-_0x151799._0x1269fd,_0x43257e);}return createToolOutput(typeof _0x50ef59==='string'&&_0x50ef59[_0x58a1dc(_0x146886._0x5e9c84,0x8a,0x20b,_0x146886._0x5d46dd)]>0x0?_0x50ef59:_0x4c2c10,_0x4c7110);}function getRunTerminalErrorMessage(_0x3ee4b4){const _0x409e80={_0x6fe8ea:0x704,_0x43c46d:0x6f3,_0x2bf9ca:0x722,_0x3426a8:0x15,_0x9d1a18:0x58,_0x50b104:0x441,_0x153675:0x556,_0x1f65bb:0x5bc,_0x6f96f0:0x1ad,_0x23ddd7:0x26d,_0x1a3de1:0x10c,_0x15000d:0x646,_0x2471eb:0x677},_0x2355a5={_0x3002ea:0x3b,_0x1b9656:0x4eb},_0x4758a2={_0x1a97d5:0x2aa},_0x42325b=_0x3ee4b4?.[_0xc60224(0x5af,_0x409e80._0x6fe8ea,_0x409e80._0x43c46d,_0x409e80._0x2bf9ca)][_0x264b0c(-0x74,-_0x409e80._0x3426a8,_0x409e80._0x9d1a18,0x189)]['at'](-0x1);function _0x264b0c(_0xc66308,_0x2a3fcd,_0x35eae8,_0x343df1){return _0x283a7f(_0xc66308-0x2e,_0x35eae8- -_0x4758a2._0x1a97d5,_0x35eae8-0xf6,_0x343df1);}function _0xc60224(_0x215efa,_0x39c95a,_0x1a9da6,_0x35eecb){return _0x419223(_0x215efa-_0x2355a5._0x3002ea,_0x35eecb,_0x215efa-_0x2355a5._0x1b9656,_0x35eecb-0x17b);}if(_0x42325b?.[_0xc60224(_0x409e80._0x50b104,_0x409e80._0x153675,0x535,_0x409e80._0x1f65bb)]===_0xc60224(0x4df,0x4d9,0x370,0x486)&&_0x42325b['output'][_0x264b0c(-_0x409e80._0x6f96f0,-0x11c,-_0x409e80._0x23ddd7,-_0x409e80._0x1a3de1)]()['length']>0x0)return _0x42325b[_0xc60224(0x5ca,_0x409e80._0x15000d,_0x409e80._0x2471eb,0x73e)];return void 0x0;}function formatAbortedRunMessage(_0x3c9411,_0xabb45a){const _0x5b6f46={_0x52a38b:0x335,_0xcaa871:0x2f3,_0x236f1a:0x97,_0x118150:0x1d6,_0x4f099f:0x317,_0x337166:0xbd},_0x44707f={_0x1e7b84:0x1a9,_0x188570:0x14f},_0x5618ea={_0x8c8898:0x261,_0x28342c:0xe5};function _0x4a00c3(_0x4954b0,_0x3d6d89,_0x424f1f,_0x40e0db){return _0x419223(_0x4954b0-0x156,_0x40e0db,_0x3d6d89-_0x5618ea._0x8c8898,_0x40e0db-_0x5618ea._0x28342c);}const _0x2ed082=_0x4a00c3(0x93,0x1d7,_0x5b6f46._0x52a38b,_0x5b6f46._0xcaa871)+_0x3c9411+_0xbb0fb(0x4cf,0x522,0x3a1,0x493);if(!_0xabb45a||_0xabb45a[_0x4a00c3(_0x5b6f46._0x236f1a,_0x5b6f46._0x118150,_0x5b6f46._0x4f099f,_0x5b6f46._0x337166)]()[_0x4a00c3(0x4be,0x36c,0x46f,0x30c)]===0x0||_0xabb45a===_0x2ed082)return _0x2ed082;function _0xbb0fb(_0x506a42,_0xd59ab4,_0x2f7146,_0x316004){return _0x283a7f(_0x506a42-_0x44707f._0x1e7b84,_0x316004-0x31a,_0x2f7146-_0x44707f._0x188570,_0x506a42);}return _0x2ed082+'\x20Cause:\x20'+_0xabb45a;}function createAssignTaskTool(_0x22cb0d){const _0x192175={_0x419971:0xc2,_0x196e2f:0x53c,_0x306d0c:0x60d,_0x1f9778:0x47a,_0x4df0b8:0x35,_0x2b07ab:0x5d,_0x139ef9:0x1bb,_0x584030:0x18,_0x4d6a61:0x595,_0x203b3f:0x54c,_0x227ddf:0x554,_0x56d364:0x444,_0x105d3c:0x5bf,_0x5eabbe:0x2c5,_0x4475de:0x433,_0x1db24d:0x8e,_0x23d710:0x108,_0x290386:0x149},_0x304e88={_0x484e31:0x1ee,_0x41ed19:0x72d,_0x40667f:0x7d4,_0xa9dab1:0x517,_0x139912:0x442,_0x1b4c4d:0x357,_0x5e27d4:0x1ee,_0x39c901:0x188,_0x484fb2:0x7a7,_0x1febbf:0x838,_0x992a9b:0x4e0,_0x105c0b:0x8b,_0x37a999:0x1ee,_0x5c20e4:0x30e,_0x23b364:0x57d,_0x1e1a95:0x55e,_0x3e805b:0x7fa,_0xe38a71:0x31f,_0x1f662d:0x73b,_0xee6784:0x661,_0x346926:0x3b9,_0xf01eb1:0x1a2,_0x382634:0xc3,_0xd13a44:0x8b3,_0xfbf217:0x73b,_0x3238ad:0x646,_0x29fbcd:0x4ac,_0x28bde3:0x3b5,_0x312c30:0x52a,_0x103f2c:0x52a,_0x3bf330:0x44f,_0x3ad3e7:0x2ec,_0x5314ea:0x2de,_0x2cef74:0x659,_0x333989:0x636,_0x260c10:0x5b5,_0x296193:0x817,_0x55eda1:0x774,_0x9fad14:0x276,_0x516590:0x22a,_0x1b7960:0x355,_0x324925:0x114,_0x34e217:0x1d4,_0x215d13:0x430,_0x55e7d1:0x1b7,_0x3b3473:0x300,_0x424024:0x2c8,_0x4fa642:0x4dc,_0x54c8e8:0x4de,_0x46a228:0x5bc,_0x5e77f1:0x642,_0x444679:0x6cc,_0xcb0ce9:0x586,_0x282088:0x63c,_0x4c5030:0x483,_0x55e3aa:0x59e,_0xcd0dcf:0x711,_0x582b95:0x781,_0x5f2ebd:0x5ce,_0xf8a496:0x46f},_0x3031d9={_0x13eb1f:0x83},_0x2f98eb={_0xb6e413:0x2,_0x47c40b:0x8f};function _0x80fcd5(_0x1ac754,_0x4d04c3,_0x3aa364,_0x319ef6){return _0x283a7f(_0x1ac754-_0x2f98eb._0xb6e413,_0x1ac754-0x39d,_0x3aa364-_0x2f98eb._0x47c40b,_0x319ef6);}function _0x28dab8(_0x57d5ca,_0x3ff372,_0x3a2d67,_0x2182f4){return _0x283a7f(_0x57d5ca-_0x3031d9._0x13eb1f,_0x3a2d67- -0x14a,_0x3a2d67-0x1ee,_0x57d5ca);}return defineTool({'name':_0x28dab8(0x1d6,0x72,_0x192175._0x419971,0x1d7),'description':_0x80fcd5(0x575,_0x192175._0x196e2f,0x623,0x470),'inputSchema':{'type':_0x80fcd5(0x50c,_0x192175._0x306d0c,0x4b7,_0x192175._0x1f9778),'properties':{'agentId':{'type':_0x28dab8(-_0x192175._0x4df0b8,-_0x192175._0x2b07ab,0xae,_0x192175._0x139ef9)},'description':{'type':_0x28dab8(-0x5e,-_0x192175._0x584030,0xae,0x1b)},'nickname':{'type':_0x80fcd5(_0x192175._0x4d6a61,_0x192175._0x203b3f,0x630,0x700)},'task':{'type':_0x80fcd5(_0x192175._0x4d6a61,_0x192175._0x227ddf,_0x192175._0x56d364,_0x192175._0x105d3c)}},'required':[_0x80fcd5(0x411,0x535,0x2e2,_0x192175._0x5eabbe),_0x80fcd5(_0x192175._0x4475de,0x598,0x5ae,0x411),_0x28dab8(0x6b,_0x192175._0x1db24d,_0x192175._0x23d710,_0x192175._0x290386)]},async *'execute'(_0x187bcc,_0x43c191){const _0x13c033={_0x1a1104:0xd0,_0x483fd4:0x119,_0x1db214:0x25,_0x2cd763:0x393,_0x4d4484:0x165,_0xfe6bc1:0x64},_0x52f6b9={_0x3d0d41:0x119,_0x2a6559:0x62e},_0xeb5d97={_0x825810:0x124},_0x463869={_0x528d78:0x16f,_0x5d39a0:0xc};function _0x4b6952(_0x52ae2b,_0x4f7a9c,_0x47745e,_0x4d485f){return _0x80fcd5(_0x47745e-_0x463869._0x528d78,_0x4f7a9c-0x2d,_0x47745e-_0x463869._0x5d39a0,_0x52ae2b);}function _0x3c1f2f(_0x4367dd,_0x8bcca0,_0x216692,_0x556804){return _0x80fcd5(_0x216692- -0x223,_0x8bcca0-0xca,_0x216692-0x2a,_0x556804);}const _0x5d605f=createDelegatedRunId(),_0x122e4d={'agentId':_0x187bcc[_0x3c1f2f(0x2a0,0x329,_0x304e88._0x484e31,0x2ab)],'parentSessionId':_0x43c191['sessionId'],'runId':_0x5d605f,..._0x43c191[_0x4b6952(_0x304e88._0x41ed19,0x7ff,_0x304e88._0x40667f,0x8d0)]!==void 0x0?{'toolCallId':_0x43c191[_0x3c1f2f(_0x304e88._0xa9dab1,0x5bc,_0x304e88._0x139912,0x5b2)]}:{}},_0x3b9fa7=getDelegatedAgentDefinition(_0x22cb0d,_0x187bcc[_0x3c1f2f(_0x304e88._0x1b4c4d,0x24f,_0x304e88._0x5e27d4,_0x304e88._0x39c901)]);if(!_0x3b9fa7)throw new ToolExecutionError(_0x4b6952(0x7e4,0x70f,_0x304e88._0x484fb2,_0x304e88._0x1febbf)+_0x187bcc[_0x4b6952(_0x304e88._0x992a9b,0x585,0x580,0x48d)],{'agentId':_0x187bcc[_0x3c1f2f(_0x304e88._0x105c0b,0x14f,_0x304e88._0x37a999,_0x304e88._0x5c20e4)]});const _0x1f66c1=new Agent(await resolveDelegatedAgentOptions(_0x3b9fa7,_0x122e4d));let _0x361279={'runId':_0x5d605f,'agentId':_0x187bcc['agentId'],'sessionId':_0x1f66c1['sessionId'],'status':'running','parentSessionId':_0x43c191[_0x4b6952(_0x304e88._0x23b364,_0x304e88._0x1e1a95,0x6be,_0x304e88._0x3e805b)],..._0x43c191['toolCallId']!==void 0x0?{'originToolCallId':_0x43c191[_0x3c1f2f(_0x304e88._0xe38a71,0x2e9,0x442,0x4f3)]}:{}};const _0x15fe07=new AbortController(),_0x1a2770=addAbortListener(_0x43c191[_0x4b6952(0x747,0x681,_0x304e88._0x1f662d,_0x304e88._0xee6784)],()=>{function _0x2abfdc(_0x765bf9,_0x1c6578,_0x51275b,_0x27cb07){return _0x3c1f2f(_0x765bf9-_0xeb5d97._0x825810,_0x1c6578-0x6d,_0x27cb07- -0x16,_0x51275b);}function _0x3053fd(_0x2bf5d3,_0x20ac4f,_0x4423a1,_0x5b1b5e){return _0x4b6952(_0x20ac4f,_0x20ac4f-_0x52f6b9._0x3d0d41,_0x4423a1- -_0x52f6b9._0x2a6559,_0x5b1b5e-0x16d);}_0x15fe07[_0x3053fd(_0x13c033._0x1a1104,-_0x13c033._0x483fd4,_0x13c033._0x1db214,0x34)](_0x43c191[_0x2abfdc(0x301,0x418,0x4c8,_0x13c033._0x2cd763)]?.[_0x3053fd(-_0x13c033._0x4d4484,-0xf0,-_0x13c033._0xfe6bc1,-0x29)]);});yield createToolOutput(_0x4b6952(0x71d,0x71c,0x7b3,0x6ee)+_0x361279[_0x3c1f2f(0x274,0x529,_0x304e88._0x346926,0x437)]+'.',{'runId':_0x361279['runId'],'agentId':_0x361279['agentId'],'sessionId':_0x361279['sessionId'],'status':_0x361279[_0x3c1f2f(0x312,0x207,0x198,_0x304e88._0xf01eb1)]});try{const _0x23ceff=await _0x1f66c1[_0x3c1f2f(0x11c,0x60,0x1da,_0x304e88._0x382634)](_0x187bcc['task'],{'signal':_0x15fe07[_0x4b6952(_0x304e88._0xd13a44,0x876,_0x304e88._0xfbf217,_0x304e88._0x3238ad)]});_0x361279={..._0x361279,'status':_0x23ceff[_0x4b6952(_0x304e88._0x29fbcd,_0x304e88._0x28bde3,_0x304e88._0x312c30,0x68c)],'result':_0x23ceff};if(_0x23ceff[_0x4b6952(0x427,0x5eb,_0x304e88._0x103f2c,0x652)]!==_0x3c1f2f(_0x304e88._0x3bf330,_0x304e88._0x3ad3e7,0x3d0,_0x304e88._0x5314ea)){const _0x5ee858=getRunTerminalErrorMessage(_0x23ceff),_0x22a9c5=formatAbortedRunMessage(_0x361279[_0x3c1f2f(0x304,0x460,_0x304e88._0x346926,0x445)],_0x5ee858);throw new ToolExecutionError(_0x22a9c5,{...createRunSummary(_0x361279),'aborted':!![],'errorMessage':_0x22a9c5});}return createRunSummaryOutput(_0x361279,_0x4b6952(_0x304e88._0x2cef74,_0x304e88._0x333989,0x54a,_0x304e88._0x260c10)+_0x361279[_0x4b6952(0x642,_0x304e88._0x296193,0x74b,_0x304e88._0x55eda1)]+_0x4b6952(0x714,0x746,0x618,0x4cc));}catch(_0x4732cb){if(_0x4732cb instanceof ToolExecutionError)throw _0x4732cb;if(isAbortError(_0x4732cb)||_0x15fe07[_0x3c1f2f(0x363,_0x304e88._0x9fad14,0x3a9,0x345)]['aborted']||_0x43c191['signal'][_0x3c1f2f(0x33d,0x1ef,_0x304e88._0x516590,_0x304e88._0x1b7960)]){const _0x51329b=getRunTerminalErrorMessage(_0x361279[_0x3c1f2f(_0x304e88._0x324925,0xd5,_0x304e88._0x34e217,0x320)])??(_0x4732cb instanceof Error?_0x4732cb[_0x3c1f2f(_0x304e88._0x215d13,_0x304e88._0x55e7d1,_0x304e88._0x3b3473,_0x304e88._0x424024)]:String(_0x4732cb)),_0x4ac4a6=formatAbortedRunMessage(_0x361279[_0x3c1f2f(0x4a0,0x4a9,0x3b9,_0x304e88._0x4fa642)],_0x51329b);_0x361279={..._0x361279,'status':_0x4b6952(0x4a7,_0x304e88._0x54c8e8,_0x304e88._0x46a228,_0x304e88._0x5e77f1),'errorMessage':_0x4ac4a6};throw new ToolExecutionError(_0x4ac4a6,{...createRunSummary(_0x361279),'aborted':!![],'errorMessage':_0x4ac4a6});}const _0x119236=getRunTerminalErrorMessage(_0x361279['result'])??(_0x4732cb instanceof Error?_0x4732cb[_0x4b6952(_0x304e88._0x444679,_0x304e88._0xcb0ce9,0x692,_0x304e88._0x282088)]:String(_0x4732cb))??_0x4b6952(0x690,0x58d,0x54a,_0x304e88._0x4c5030)+_0x361279['runId']+_0x4b6952(_0x304e88._0x55e3aa,_0x304e88._0xcd0dcf,_0x304e88._0x5e77f1,_0x304e88._0x582b95);_0x361279={..._0x361279,'status':_0x4b6952(0x68f,0x4a4,_0x304e88._0x5f2ebd,_0x304e88._0xf8a496),'errorMessage':_0x119236};throw new ToolExecutionError(_0x119236,{...createRunSummary(_0x361279),'errorMessage':_0x119236});}finally{_0x1a2770();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x2b889e){return[createAssignTaskTool(_0x2b889e)];}import*as _0x5219a6 from'path';function buildDescription2(_0x2050f8){const _0x2a4149={_0xe5a199:0x495,_0x16503b:0x4c2,_0x50c7d5:0x4cf,_0x10f371:0x348,_0x4334a4:0x449,_0x3e1f12:0x5a2,_0x144fdd:0x86,_0x5486e6:0x6c,_0x475280:0xd0,_0x455953:0x2ea,_0x2119eb:0x29c},_0xf9654e={_0x5d2158:0x150,_0x19749e:0x254,_0x2fb5a6:0x196},_0x58d5f7={_0x1131df:0x1ec};if(_0x2050f8[_0x5b91d7(_0x2a4149._0xe5a199,0x4bd,0x35f,_0x2a4149._0x16503b)]===0x0)return _0x5b91d7(_0x2a4149._0x50c7d5,_0x2a4149._0x10f371,_0x2a4149._0x4334a4,_0x2a4149._0x3e1f12);const _0x4b6f90=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.','Skills\x20provide\x20specialized\x20knowledge\x20and\x20step-by-step\x20guidance.','Use\x20this\x20when\x20a\x20task\x20matches\x20an\x20available\x20skill\x20description.',_0xc99ba2(-_0x2a4149._0x144fdd,0x21,-_0x2a4149._0x5486e6,_0x2a4149._0x475280),..._0x2050f8['map'](_0x42f438=>'-\x20'+_0x42f438[_0x5b91d7(0x15a,0x208,0x2d2,0x312)]+':\x20'+_0x42f438[_0xc99ba2(-0x156,-0x1c,-0x28,-0x269)])];function _0xc99ba2(_0x54cd3b,_0x60bcb5,_0x59d640,_0x116aa4){return _0x283a7f(_0x54cd3b-0x36,_0x54cd3b- -_0x58d5f7._0x1131df,_0x59d640-0xef,_0x59d640);}function _0x5b91d7(_0x2a103a,_0x2e8433,_0x580ef7,_0x4c8f0d){return _0x419223(_0x2a103a-_0xf9654e._0x5d2158,_0x4c8f0d,_0x580ef7-_0xf9654e._0x19749e,_0x4c8f0d-_0xf9654e._0x2fb5a6);}return _0x4b6f90[_0x5b91d7(0x14c,_0x2a4149._0x455953,_0x2a4149._0x2119eb,0x3a7)]('\x0a');}function createLoadSkillTool(_0x182b48){const _0x25524b={_0x53647d:0x432,_0x390c76:0x368,_0x5cb1b7:0x3a7,_0x3dbe22:0x23c,_0x2de91f:0x254,_0x25def5:0x30b,_0x23025c:0x361,_0xd99956:0x268,_0x2c874e:0xd2,_0x4c8788:0x22a,_0x45700f:0x459},_0x388f09={_0x4785fd:0x578,_0x2caf6d:0x5c7,_0x2233a4:0x4f6,_0x200bd4:0x580,_0xb3cd05:0x1ab,_0x19ed58:0x160,_0x22294e:0xab,_0x71a7af:0x35f,_0xc46cb3:0x371,_0x3da002:0xef,_0x4c45d7:0x199,_0x3f7ecd:0x1e1,_0x275e7d:0x11c,_0x428a83:0xa1,_0x55a29e:0x72,_0x159951:0x54,_0x25ca30:0x83,_0x284229:0x2ca,_0x35c072:0x365,_0x20a451:0x351,_0xee8ce3:0x2d8,_0x3c9b5f:0x322,_0x5b8ab5:0x41d,_0x516a7b:0x3b3,_0x1ae029:0x5b,_0x5b5f2b:0x4cf,_0x2221a6:0x576,_0x172377:0x3af,_0x4a96a6:0xf3,_0x4492d2:0x16c,_0x240bd5:0xa0,_0xa4b79f:0xa3,_0x3dc2ef:0x27,_0x15b6ee:0x6,_0x215d91:0x143,_0x2ccfe9:0x55c,_0x356fcb:0x43b,_0x8411b6:0x4e4,_0x3d4ec7:0x294,_0x3348a2:0x1e9,_0x2d88aa:0x534,_0x217d03:0x4a8},_0x4e9409={_0x2b4759:0x110},_0x54c3b6={_0xbf1727:0x175},_0x5e35fe={_0xfaaec1:0x9},_0x4faaf0=new Map(_0x182b48[_0x3e7333(0x2bb,_0x25524b._0x53647d,_0x25524b._0x390c76,0x2d2)][_0x17ddf7(0x24b,_0x25524b._0x5cb1b7,_0x25524b._0x3dbe22,_0x25524b._0x2de91f)](_0x3f8f1=>[_0x3f8f1[_0x17ddf7(0x230,0x2bb,0x21c,0x2a2)],_0x3f8f1]));function _0x3e7333(_0x494ed0,_0x256cfa,_0x5f0682,_0x3f0218){return _0x419223(_0x494ed0-_0x5e35fe._0xfaaec1,_0x256cfa,_0x3f0218-0x1ae,_0x3f0218-0xf8);}const _0x27e74c=buildDescription2(_0x182b48[_0x17ddf7(_0x25524b._0x25def5,_0x25524b._0x23025c,0x44b,_0x25524b._0xd99956)]);function _0x17ddf7(_0x77061f,_0x4d1520,_0x283626,_0x2fd6ef){return _0x283a7f(_0x77061f-0x1d3,_0x4d1520-_0x54c3b6._0xbf1727,_0x283626-0x137,_0x2fd6ef);}return defineTool({'name':_0x17ddf7(0x2dd,0x213,0x32b,_0x25524b._0x2c874e),'description':_0x27e74c,'inputSchema':{'type':'object','properties':{'name':{'type':_0x3e7333(_0x25524b._0x4c8788,_0x25524b._0x45700f,0x1fc,0x2de)}},'required':['name']},async *'execute'(_0x534e45){const _0xa85f84={_0x569821:0x1e0},_0x107995=_0x4faaf0[_0x219c63(_0x388f09._0x4785fd,_0x388f09._0x2caf6d,_0x388f09._0x2233a4,0x626)](_0x534e45[_0x219c63(0x59d,0x426,_0x388f09._0x200bd4,0x2e2)]);if(!_0x107995){const _0x4b3e4c=Array[_0x496aad(_0x388f09._0xb3cd05,_0x388f09._0x19ed58,0x2b9,0x431)](_0x4faaf0[_0x496aad(-0x76,-0x144,-0x10,-_0x388f09._0x22294e)]())[_0x496aad(0xe6,0x17d,0xe6,0x1cd)](',\x20');throw new ToolExecutionError(_0x219c63(_0x388f09._0x71a7af,0x380,_0x388f09._0xc46cb3,0x461)+_0x534e45['name']+_0x496aad(0x1d6,_0x388f09._0x3da002,0xee,0x25f)+_0x4b3e4c,{'name':_0x534e45[_0x496aad(_0x388f09._0x4c45d7,_0x388f09._0x3f7ecd,_0x388f09._0x275e7d,_0x388f09._0x428a83)]});}const _0x224cbd=await _0x182b48[_0x496aad(_0x388f09._0x55a29e,0x43,_0x388f09._0x159951,-_0x388f09._0x25ca30)](_0x107995);function _0x219c63(_0x5b011e,_0x27c2b4,_0x591ae2,_0x495394){return _0x17ddf7(_0x5b011e-_0xa85f84._0x569821,_0x27c2b4-0x16b,_0x591ae2-0x184,_0x495394);}function _0x496aad(_0x398aa3,_0x40d730,_0x266fe1,_0x429341){return _0x3e7333(_0x398aa3-0x77,_0x398aa3,_0x266fe1-0x1a8,_0x266fe1- -_0x4e9409._0x2b4759);}const _0x20cf4f=_0x107995[_0x219c63(_0x388f09._0x284229,_0x388f09._0x35c072,0x433,_0x388f09._0x20a451)][_0x219c63(_0x388f09._0xee8ce3,_0x388f09._0x3c9b5f,0x235,_0x388f09._0x5b8ab5)]??_0x5219a6[_0x219c63(_0x388f09._0x516a7b,0x3bd,0x3be,0x401)](_0x107995[_0x496aad(0x1cd,-0x97,_0x388f09._0x1ae029,-0xd)][_0x219c63(0x397,_0x388f09._0x5b5f2b,_0x388f09._0x2221a6,_0x388f09._0x172377)]),_0x2d20b1=['##\x20Skill:\x20'+_0x224cbd['name'],'',_0x224cbd[_0x496aad(_0x388f09._0x4a96a6,_0x388f09._0x4492d2,_0x388f09._0x240bd5,_0x388f09._0xa4b79f)],'',_0x496aad(0x50,_0x388f09._0x3dc2ef,_0x388f09._0x15b6ee,-_0x388f09._0x215d91),_0x219c63(0x3dd,0x527,_0x388f09._0x2ccfe9,0x5b2)+_0x107995['source'][_0x496aad(0x161,0xfc,0x1c5,0x2e5)],_0x219c63(_0x388f09._0x356fcb,_0x388f09._0x8411b6,0x655,0x4f4)+_0x20cf4f]['join']('\x0a');return yield createToolOutput(_0x2d20b1,{'id':_0x224cbd['id'],'name':_0x224cbd[_0x496aad(0x1b6,_0x388f09._0x3d4ec7,0x11c,_0x388f09._0x3348a2)],'path':_0x107995['source'][_0x219c63(_0x388f09._0x2d88aa,0x4cf,0x45c,_0x388f09._0x217d03)],'baseDirectory':_0x20cf4f}),void 0x0;}});}var TODO_STATUSES=new Set([_0x419223(0x93,0xa3,-0xa0,-0xb2),_0x283a7f(0x219,0x1c7,0xd6,0x83),_0x283a7f(0xdc,0x256,0x210,0x332)]),TODO_PRIORITIES=new Set([_0x419223(-0x1aa,-0xf1,-0x52,-0x1b7),_0x283a7f(0x32c,0x2dc,0x408,0x2e0),_0x283a7f(0x63,0x1c,-0xd5,0x10e)]);function isTodoStatus(_0x595c6d){const _0x568268={_0x452e35:0x1cf,_0x576445:0x112,_0x7dc9c4:0x8a},_0x33b180={_0x395823:0x79},_0x28e2c3={_0x3907b2:0xd3,_0x20c973:0x43};function _0x425c56(_0x4898ca,_0x14f5da,_0x27e1b6,_0x2f8070){return _0x283a7f(_0x4898ca-_0x28e2c3._0x3907b2,_0x14f5da- -0x9c,_0x27e1b6-_0x28e2c3._0x20c973,_0x27e1b6);}function _0x48ba58(_0x3ccc2d,_0x20bf1f,_0x274098,_0x1b170b){return _0x419223(_0x3ccc2d-_0x33b180._0x395823,_0x1b170b,_0x3ccc2d- -0xbf,_0x1b170b-0xe9);}return typeof _0x595c6d===_0x48ba58(0x71,-0xb9,_0x568268._0x452e35,-0xb7)&&TODO_STATUSES[_0x425c56(0x95,_0x568268._0x576445,_0x568268._0x7dc9c4,0x174)](_0x595c6d);}function isTodoPriority(_0x1036f9){const _0x36f881={_0x3d0138:0x101,_0x3f6429:0xf},_0x277bd0={_0x3886a8:0x1cd,_0x1e5a60:0x2f,_0x1539ab:0x29};function _0x8bedee(_0x4223eb,_0x3f2bc2,_0x13ee64,_0x5af4fe){return _0x419223(_0x4223eb-_0x277bd0._0x3886a8,_0x13ee64,_0x4223eb- -_0x277bd0._0x1e5a60,_0x5af4fe-_0x277bd0._0x1539ab);}return typeof _0x1036f9===_0x8bedee(_0x36f881._0x3d0138,0x245,0x1df,-_0x36f881._0x3f6429)&&TODO_PRIORITIES['has'](_0x1036f9);}var TodoStore=class{[_0x419223(0x134,0x7e,0x113,-0x51)]=new Map();['getTodos'](_0x263c5a){const _0x908f75={_0x5145a9:0x5e5,_0x2e317b:0x5d8,_0x1a0cbe:0x50e,_0x90b47f:0x262,_0x376e92:0x343,_0x4da936:0x384,_0xf910c2:0x240},_0x5a1ca1={_0x334160:0x14a,_0x3144df:0x21,_0x2cfae1:0x14e},_0x24b97c={_0x5ad1e1:0x11d};function _0x435f08(_0x4e103b,_0x50256c,_0x11dabd,_0x240538){return _0x283a7f(_0x4e103b-0x28,_0x240538-0x487,_0x11dabd-_0x24b97c._0x5ad1e1,_0x11dabd);}function _0xbbd9c9(_0x460d4c,_0x20734a,_0x1f433e,_0x2bf13f){return _0x419223(_0x460d4c-_0x5a1ca1._0x334160,_0x1f433e,_0x2bf13f-_0x5a1ca1._0x3144df,_0x2bf13f-_0x5a1ca1._0x2cfae1);}return this[_0x435f08(_0x908f75._0x5145a9,_0x908f75._0x2e317b,_0x908f75._0x1a0cbe,0x662)][_0xbbd9c9(_0x908f75._0x90b47f,_0x908f75._0x376e92,_0x908f75._0x4da936,_0x908f75._0xf910c2)](_0x263c5a)??[];}[_0x283a7f(0x5e,0x16a,0x144,0x61)](_0x363547,_0x443130){const _0x1758f9={_0x452a4f:0x78c,_0x1ae523:0x7f9,_0x3eb5f0:0x6a3,_0x55d3d1:0x677},_0xe6a6af={_0x153d7a:0xa6,_0x521691:0xc},_0x1901d1={_0x37a5a1:0xe5};function _0x158cba(_0x514b05,_0x62c0d2,_0x4017b6,_0x401636){return _0x419223(_0x514b05-_0x1901d1._0x37a5a1,_0x62c0d2,_0x401636- -0x197,_0x401636-0xa8);}function _0x224be0(_0x4fe932,_0x491261,_0x3c48f7,_0x1628bd){return _0x283a7f(_0x4fe932-_0xe6a6af._0x153d7a,_0x3c48f7-0x4b6,_0x3c48f7-_0xe6a6af._0x521691,_0x4fe932);}this[_0x224be0(0x769,_0x1758f9._0x452a4f,0x691,0x7d0)][_0x224be0(0x652,_0x1758f9._0x1ae523,_0x1758f9._0x3eb5f0,_0x1758f9._0x55d3d1)](_0x363547,_0x443130);}[_0x419223(0x327,0xb4,0x1cf,0x2c0)](_0x365ec7){const _0x33a678={_0x5a232b:0x270,_0x42a707:0x14a,_0x158442:0x3,_0x3a936f:0x16,_0x59e830:0x217,_0x532a0f:0x127},_0x4f6e75={_0x4d0041:0x18a,_0x1ec249:0x28e,_0x284484:0x1c5};function _0x1794a9(_0x22b9fe,_0x25aaa4,_0x316322,_0x4bea92){return _0x283a7f(_0x22b9fe-_0x4f6e75._0x4d0041,_0x22b9fe- -_0x4f6e75._0x1ec249,_0x316322-_0x4f6e75._0x284484,_0x25aaa4);}function _0x54dca2(_0x2626d6,_0x26851f,_0x245162,_0x2e6eaf){return _0x283a7f(_0x2626d6-0x138,_0x245162- -0x2e,_0x245162-0x1,_0x2e6eaf);}const _0xd8d0e=this['getTodos'](_0x365ec7),_0x46b125={'total':_0xd8d0e['length'],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x303b12 of _0xd8d0e){if(_0x303b12[_0x1794a9(-_0x33a678._0x5a232b,-0x334,-_0x33a678._0x42a707,-0x2ed)]===_0x54dca2(-_0x33a678._0x158442,0x141,-0x6,0x86))_0x46b125[_0x54dca2(-0x8b,-_0x33a678._0x3a936f,-0x6,0x6e)]+=0x1;else{if(_0x303b12[_0x1794a9(-0x270,-0x3a1,-0x123,-0x2b8)]==='in_progress')_0x46b125[_0x1794a9(-_0x33a678._0x59e830,-0x247,-_0x33a678._0x532a0f,-0x27f)]+=0x1;else _0x46b125['completed']+=0x1;}}return _0x46b125;}};function validateTodos(_0x436d34){const _0x32ced6={_0x3c2b4e:0x376,_0x439605:0x372,_0x7d2e71:0x1cf,_0x936b92:0x10a,_0x4ee28e:0x4d5,_0x386076:0x435,_0x28ec23:0x535,_0x3f36b6:0x374,_0x2a1fdc:0x266,_0x20f30c:0x3c5,_0x250fe7:0x22,_0x57133f:0x254,_0x5ad844:0x6a,_0x59555c:0x1b8,_0x449de5:0x45a,_0x39a775:0x3e4,_0x1747f9:0x247,_0x537bbd:0x29f,_0x543ded:0x1ec,_0x49dbc9:0xd9,_0x101296:0x1d2,_0x34b0ac:0x2da,_0x4066d9:0x257,_0x468529:0xcc,_0x1a625e:0x326,_0x29c090:0x1f7,_0x342b97:0x4a,_0x23f937:0x269,_0x3378ef:0x2e8,_0x1ba1d7:0x28c,_0x106356:0x280,_0x4d5da2:0x2cd,_0x28309d:0x116,_0x541a8a:0x2fd,_0x51ad32:0x3ef,_0x466c1d:0x5d0,_0x419a80:0x3d2,_0x2118c5:0x436,_0x4f1084:0x58,_0xfed805:0x36d,_0x3c13d1:0x284,_0x28aee1:0x48d,_0x175935:0x4a6,_0x57cf6b:0x494,_0x9c651c:0x332,_0x4d3ee1:0x48c,_0x1bc485:0x31d,_0x2d19a2:0x484,_0x3e05b4:0x4b2,_0x37b9dc:0x435,_0x4b65c2:0x10f,_0x283422:0x1a5,_0x374ebf:0xe6,_0x1df657:0x9,_0xf5fffc:0x38,_0x48cc83:0x115},_0x3cf7c6={_0x42bd26:0x44,_0x5d4e50:0x262,_0x4f0afe:0x12},_0x1e2063={_0xc7f26d:0xc7};function _0xe0e67a(_0x434290,_0x2c3063,_0x4eacf7,_0x110a2f){return _0x419223(_0x434290-0xfc,_0x2c3063,_0x110a2f-_0x1e2063._0xc7f26d,_0x110a2f-0x60);}function _0x440d4f(_0x3ae6fb,_0xda36e5,_0x16b0f3,_0x6b37ea){return _0x283a7f(_0x3ae6fb-_0x3cf7c6._0x42bd26,_0xda36e5-_0x3cf7c6._0x5d4e50,_0x16b0f3-_0x3cf7c6._0x4f0afe,_0x16b0f3);}if(!Array['isArray'](_0x436d34[_0x440d4f(0x425,0x36d,_0x32ced6._0x3c2b4e,_0x32ced6._0x439605)])||_0x436d34[_0xe0e67a(0xb9,_0x32ced6._0x7d2e71,0x189,_0x32ced6._0x936b92)][_0x440d4f(_0x32ced6._0x4ee28e,_0x32ced6._0x386076,0x430,_0x32ced6._0x28ec23)]===0x0)throw new ToolExecutionError(_0x440d4f(0x4ba,_0x32ced6._0x3f36b6,_0x32ced6._0x2a1fdc,0x481),{'error':_0x440d4f(0x573,0x4a4,0x616,_0x32ced6._0x20f30c)});for(let _0x16c607=0x0;_0x16c607<_0x436d34[_0xe0e67a(-_0x32ced6._0x250fe7,0x0,0xd9,0x10a)]['length'];_0x16c607+=0x1){const _0x139148=_0x436d34['todos'][_0x16c607];if(!_0x139148||typeof _0x139148!=='object')throw new ToolExecutionError('Todo\x20'+(_0x16c607+0x1)+_0xe0e67a(_0x32ced6._0x57133f,0x15f,_0x32ced6._0x5ad844,_0x32ced6._0x59555c),{'error':_0xe0e67a(-0x3,0x193,0x68,0xc0)});if(typeof _0x139148['id']!==_0x440d4f(0x2e7,_0x32ced6._0x449de5,_0x32ced6._0x39a775,0x59f)||_0x139148['id'][_0x440d4f(_0x32ced6._0x1747f9,_0x32ced6._0x537bbd,0x306,0x2ce)]()[_0xe0e67a(_0x32ced6._0x543ded,_0x32ced6._0x49dbc9,0x155,_0x32ced6._0x101296)]===0x0)throw new ToolExecutionError(_0xe0e67a(_0x32ced6._0x34b0ac,0x1cf,0x3b7,_0x32ced6._0x4066d9)+(_0x16c607+0x1)+':\x20id\x20required',{'error':_0x440d4f(0x6c8,0x55b,0x523,0x511)});if(typeof _0x139148['content']!==_0xe0e67a(0x33a,_0x32ced6._0x468529,_0x32ced6._0x1a625e,_0x32ced6._0x29c090)||_0x139148['content'][_0xe0e67a(0xf2,-_0x32ced6._0x342b97,0xa9,0x3c)]()['length']===0x0)throw new ToolExecutionError(_0xe0e67a(0x35e,_0x32ced6._0x23f937,_0x32ced6._0x3378ef,0x257)+(_0x16c607+0x1)+':\x20content\x20required',{'error':'invalid_todo_content'});if(!isTodoStatus(_0x139148[_0x440d4f(_0x32ced6._0x1ba1d7,_0x32ced6._0x106356,0x3f7,_0x32ced6._0x4d5da2)]))throw new ToolExecutionError(_0xe0e67a(_0x32ced6._0x28309d,0x110,0x362,0x257)+(_0x16c607+0x1)+_0x440d4f(_0x32ced6._0x541a8a,_0x32ced6._0x51ad32,0x28e,0x433),{'error':'invalid_todo_status'});if(!isTodoPriority(_0x139148[_0x440d4f(_0x32ced6._0x466c1d,0x462,_0x32ced6._0x419a80,_0x32ced6._0x2118c5)]))throw new ToolExecutionError('Todo\x20'+(_0x16c607+0x1)+':\x20invalid\x20priority',{'error':_0xe0e67a(_0x32ced6._0x4f1084,0x19b,0x290,0x191)});}const _0x4b69bc=_0x436d34[_0x440d4f(0x3f2,_0x32ced6._0xfed805,_0x32ced6._0x3c13d1,_0x32ced6._0x28aee1)][_0x440d4f(_0x32ced6._0x175935,_0x32ced6._0x57cf6b,_0x32ced6._0x9c651c,_0x32ced6._0x4d3ee1)](_0x1778ef=>_0x1778ef['id']);if(new Set(_0x4b69bc)[_0x440d4f(_0x32ced6._0x1bc485,_0x32ced6._0x2d19a2,_0x32ced6._0x3e05b4,0x342)]!==_0x4b69bc[_0x440d4f(0x542,_0x32ced6._0x37b9dc,0x57a,0x405)])throw new ToolExecutionError(_0xe0e67a(_0x32ced6._0x4b65c2,_0x32ced6._0x283422,_0x32ced6._0x374ebf,0x1bb),{'error':_0xe0e67a(-_0x32ced6._0x1df657,0xd,_0x32ced6._0xf5fffc,_0x32ced6._0x48cc83)});}function createStatsProgress(_0x55e365){const _0x3588c2={_0x3ad814:0x105,_0x374488:0x17},_0x19033b={_0x434bef:0xe1},_0x54f8f3={_0x2ce6e5:0x192,_0x22639b:0x34};function _0x56761f(_0x58ff60,_0x554260,_0x35b7b5,_0x494379){return _0x419223(_0x58ff60-_0x54f8f3._0x2ce6e5,_0x494379,_0x58ff60-_0x54f8f3._0x22639b,_0x494379-0x82);}function _0x395270(_0x125eba,_0x21cb58,_0x21dc18,_0x532627){return _0x419223(_0x125eba-_0x19033b._0x434bef,_0x125eba,_0x532627-0x5c,_0x532627-0xb3);}return _0x55e365[_0x395270(0x169,0x24d,_0x3588c2._0x3ad814,0x1f7)]>0x0?Math[_0x56761f(0x156,0x12b,_0x3588c2._0x374488,0x55)](_0x55e365['completed']/_0x55e365['total']*0x64)+'%':'0%';}function createReminderItems(_0x5beae3){const _0x5a57e3={_0x57fe78:0x66,_0x130f03:0x58},_0x34f0ee={_0x57ff94:0x141},_0x45b3da={_0x5507e9:0x192,_0xd565d4:0x19b};function _0x1bdfc3(_0x166399,_0x4eb1ce,_0x53d9e1,_0x155dd4){return _0x419223(_0x166399-_0x45b3da._0x5507e9,_0x166399,_0x4eb1ce- -_0x45b3da._0xd565d4,_0x155dd4-0xc8);}function _0x45816c(_0x4a350a,_0x42455f,_0xd82168,_0x4b4246){return _0x419223(_0x4a350a-0x9e,_0x42455f,_0x4b4246-0x29b,_0x4b4246-_0x34f0ee._0x57ff94);}return _0x5beae3[_0x1bdfc3(-_0x5a57e3._0x57fe78,-0x31,0x7b,_0x5a57e3._0x130f03)](_0xfca61b=>({'content':_0xfca61b[_0x45816c(0x1e3,0x39c,0x39d,0x2ad)],'status':_0xfca61b['status'],'id':_0xfca61b['id']}));}function createStructuredResult(_0x281df8,_0x5ef6e1,_0x587561,_0x12fa41){const _0x40b53b={_0x2dc335:0x70a,_0x24aee5:0x788,_0x2f079e:0x6a0},_0xe20006={_0x4cbe79:0x5a0},_0xaaee17={_0xabfdcd:0x2b,_0xf0135b:0x6};function _0x4be803(_0x517271,_0x1b0fc0,_0x492ef8,_0x1b782e){return _0x419223(_0x517271-0x1d3,_0x1b782e,_0x492ef8- -_0xaaee17._0xabfdcd,_0x1b782e-_0xaaee17._0xf0135b);}function _0x2ce6b9(_0x16fcd6,_0x588b30,_0x55d943,_0x5d0b3c){return _0x419223(_0x16fcd6-0xd7,_0x588b30,_0x16fcd6-_0xe20006._0x4cbe79,_0x5d0b3c-0x1b6);}return{'allCompleted':_0x12fa41,'items':_0x5ef6e1[_0x2ce6b9(_0x40b53b._0x2dc335,_0x40b53b._0x24aee5,_0x40b53b._0x2f079e,0x866)](_0x56caea=>({'id':_0x56caea['id'],'content':_0x56caea[_0x2ce6b9(0x5b2,0x50e,0x481,0x6c6)],'status':_0x56caea['status'],'priority':_0x56caea[_0x4be803(0x248,0xb5,0x10d,0x205)],'createdAt':_0x56caea[_0x2ce6b9(0x731,0x86a,0x758,0x841)]})),'progress':createStatsProgress(_0x587561),'recentChanges':!![],'sessionId':_0x281df8,'stats':_0x587561,'todosWritten':_0x5ef6e1['length']};}function createOutputText(_0x1916a3,_0x2174ac){const _0x482edc={_0xa95821:0x668,_0x1fc082:0x4ce,_0x4cc40c:0x564,_0x158630:0x6a4,_0x15b3d4:0x5dd,_0x5732ff:0xc6,_0x4ae64b:0x173,_0x4e2472:0x6,_0xd73153:0x643,_0xfa5049:0x4b1,_0x15f495:0x5f6,_0x107589:0x550},_0x22049f={_0x265b9c:0xcc},_0xf08425={_0x4d8c6e:0x5a2},_0x89f0e8=JSON[_0x54750f(_0x482edc._0xa95821,0x448,_0x482edc._0x1fc082,_0x482edc._0x4cc40c)](createReminderItems(_0x1916a3));function _0x54750f(_0x1a4d6f,_0x5719f4,_0x3afeba,_0x29c6ee){return _0x419223(_0x1a4d6f-0x10d,_0x1a4d6f,_0x29c6ee-_0xf08425._0x4d8c6e,_0x29c6ee-0x50);}if(_0x2174ac)return _0x54750f(_0x482edc._0x158630,0x6b5,_0x482edc._0x15b3d4,0x66a)+_0x1916a3[_0x4e3147(_0x482edc._0x5732ff,0x1c4,_0x482edc._0x4ae64b,_0x482edc._0x4e2472)]+_0x54750f(_0x482edc._0xd73153,_0x482edc._0xfa5049,0x768,_0x482edc._0x15f495)+_0x89f0e8+'.\x0a</system-reminder>';function _0x4e3147(_0x37871e,_0x6a0788,_0x28a00a,_0x26314b){return _0x283a7f(_0x37871e-0x1b9,_0x28a00a- -0x60,_0x28a00a-_0x22049f._0x265b9c,_0x37871e);}return _0x54750f(0x5a2,_0x482edc._0x107589,0x48e,0x51a)+_0x89f0e8+'.\x0a</system-reminder>';}function createTodoWriteTool(_0x32c397=new TodoStore()){const _0x4589ef={_0x33a274:0x144,_0x5afab3:0x10,_0x29a93e:0xa1,_0x10844f:0x55f,_0x2c57bc:0x5d9,_0x1bac52:0x640,_0x1aff7b:0x58a,_0xee286:0x6f6,_0x59f169:0x4b7,_0x2aa111:0x4ef,_0x26b69b:0x71f,_0x59a845:0x613,_0xfb4791:0x613,_0x36d9ba:0x5f2,_0x501d33:0x4d7,_0x29a513:0x613,_0x92e379:0x73d,_0x548f42:0x661,_0x4408ab:0x61d,_0xda5a0c:0x59e,_0x5a0caf:0x4f5,_0xae11db:0x3c1,_0x1bcea3:0x1d5,_0x44f7a2:0x1a2,_0x147210:0x4b4,_0x4f6d5e:0x4cd},_0x5981f0={_0x1852d0:0x99,_0x15f97f:0x1af,_0xf919cc:0xf9,_0x11cc95:0x1f7,_0x3e7985:0x1a9,_0x1ae073:0x316,_0x407cd1:0x118,_0x50cf46:0xaa,_0x1e6457:0x4,_0x574d70:0x3bb,_0x3c3a4e:0x29b,_0x384fb7:0x257,_0x454f03:0x26d,_0x3361c1:0x426,_0x1846fc:0xce,_0x3d428e:0x57,_0x51c91:0x3dc,_0x276b03:0x3d2},_0x32b312={_0xa2c753:0x2b,_0x26a38c:0x12d},_0x3ae7c5={_0x40ea1d:0x165};function _0x5ef8f8(_0x26e86f,_0x48154f,_0x472469,_0xd97ff4){return _0x283a7f(_0x26e86f-0x1cb,_0x48154f-0x41b,_0x472469-_0x3ae7c5._0x40ea1d,_0x472469);}function _0x4248f7(_0x253714,_0x5d8fd4,_0x29d41a,_0x5ece1c){return _0x283a7f(_0x253714-0xc0,_0x5d8fd4- -_0x32b312._0xa2c753,_0x29d41a-_0x32b312._0x26a38c,_0x5ece1c);}return defineTool({'name':_0x4248f7(_0x4589ef._0x33a274,_0x4589ef._0x5afab3,-0x1d,-_0x4589ef._0x29a93e),'description':_0x5ef8f8(0x6a1,_0x4589ef._0x10844f,_0x4589ef._0x2c57bc,_0x4589ef._0x1bac52),'inputSchema':{'type':_0x5ef8f8(0x4a3,_0x4589ef._0x1aff7b,_0x4589ef._0xee286,_0x4589ef._0x59f169),'properties':{'todos':{'type':'array','items':{'type':_0x5ef8f8(0x4a8,0x58a,_0x4589ef._0x2aa111,0x6e2),'properties':{'content':{'type':_0x5ef8f8(_0x4589ef._0x26b69b,_0x4589ef._0x59a845,0x774,0x727)},'status':{'type':'string'},'priority':{'type':_0x5ef8f8(0x6f4,_0x4589ef._0xfb4791,_0x4589ef._0x36d9ba,_0x4589ef._0x501d33)},'id':{'type':_0x5ef8f8(0x6dc,_0x4589ef._0x29a513,0x73c,0x51b)},'createdAt':{'type':_0x5ef8f8(_0x4589ef._0x92e379,0x613,_0x4589ef._0x548f42,_0x4589ef._0x4408ab)}},'required':[_0x5ef8f8(_0x4589ef._0xda5a0c,_0x4589ef._0x5a0caf,0x5a8,0x60a),_0x5ef8f8(0x44d,0x439,_0x4589ef._0xae11db,0x2d7),_0x4248f7(0x204,_0x4589ef._0x1bcea3,0x2fc,_0x4589ef._0x44f7a2),'id']}}},'required':[_0x5ef8f8(_0x4589ef._0x147210,0x526,_0x4589ef._0x4f6d5e,0x402)]},async *'execute'(_0x17b3d1,_0x678889){const _0x2d251c=_0x17b3d1;function _0x27d756(_0x15e0dd,_0x23a9a2,_0xdaaac9,_0x357a5a){return _0x5ef8f8(_0x15e0dd-0xef,_0x357a5a- -0x68c,_0x23a9a2,_0x357a5a-0x19e);}validateTodos(_0x2d251c);const _0x38e4ee=_0x678889['sessionId']||_0x3555a1(_0x5981f0._0x1852d0,0x112,_0x5981f0._0x15f97f,_0x5981f0._0xf919cc),_0x551744=new Date()[_0x3555a1(0x322,_0x5981f0._0x11cc95,_0x5981f0._0x3e7985,_0x5981f0._0x1ae073)]();function _0x3555a1(_0x183910,_0xbcaad9,_0x8e2e65,_0x39d8f3){return _0x4248f7(_0x183910-0xb5,_0xbcaad9-0x94,_0x8e2e65-0x84,_0x183910);}const _0x1ce12f=_0x2d251c[_0x27d756(-_0x5981f0._0x407cd1,-_0x5981f0._0x50cf46,-_0x5981f0._0x1e6457,-0x166)][_0x3555a1(_0x5981f0._0x574d70,_0x5981f0._0x3c3a4e,_0x5981f0._0x384fb7,0x341)](_0x44e9a6=>({'id':_0x44e9a6['id'],'content':_0x44e9a6['content'],'status':_0x44e9a6[_0x3555a1(-0xd8,0x87,0x5c,-0x7f)],'priority':_0x44e9a6[_0x3555a1(0x1b8,0x269,0x12f,0x3cc)],'sessionId':_0x38e4ee,'createdAt':_0x44e9a6[_0x3555a1(0x38e,0x2c2,0x439,0x1bc)]||_0x551744,'updatedAt':_0x551744}));_0x32c397['setTodos'](_0x38e4ee,_0x1ce12f);const _0x348112=_0x32c397[_0x3555a1(_0x5981f0._0x454f03,0x300,0x453,_0x5981f0._0x3361c1)](_0x38e4ee),_0x2315a9=_0x1ce12f[_0x27d756(-_0x5981f0._0x1846fc,-_0x5981f0._0x3d428e,-0x1e3,-0x9e)]>0x0&&_0x1ce12f[_0x3555a1(0x235,0x36d,_0x5981f0._0x51c91,_0x5981f0._0x276b03)](_0x21411b=>_0x21411b[_0x3555a1(-0x7d,0x87,-0x99,0xd1)]===_0x27d756(-0xe2,-0xd4,0xfb,-0x1b));return createToolOutput(createOutputText(_0x1ce12f,_0x2315a9),createStructuredResult(_0x38e4ee,_0x1ce12f,_0x348112,_0x2315a9));}});}import{mkdir as _0x3ba9bb,writeFile as _0x2b4435}from'fs/promises';import*as _0x3466aa from'path';function sanitizeFileName(_0x1ef317){return _0x1ef317['replace'](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0xf3a735,_0x437073){const _0x317aea={_0x3984f9:0x256,_0x1e2f12:0x2aa,_0x31f617:0x223,_0x38ac23:0x1bf,_0x33a920:0x1b1,_0x4ddc37:0x1e0,_0x3bde90:0x2db,_0xa53c29:0x35,_0x4eb19c:0xca,_0x261ac9:0x1cb,_0x23aa38:0x223,_0x56c356:0x1cf,_0x2b3247:0xe2,_0x4ca871:0x29d,_0x5c373b:0x2cd,_0x93c07c:0x335,_0x3a8192:0x172,_0x3afe06:0x243,_0x51c665:0xd1,_0x167a53:0x1ad,_0xe53a2a:0x145,_0x5a3d0f:0x10d,_0x7d1777:0x31,_0x5eb8e4:0x4c,_0x23711d:0x31a,_0x56ad80:0x291,_0xab6d63:0x17c,_0x4e2787:0x84,_0x24c959:0x31,_0x37c1cc:0x15c,_0x486d9a:0xe,_0x10fbd2:0x4f,_0x392e3f:0x12,_0x309b67:0x2a9,_0x2cd8cc:0x2a2,_0x155706:0x181,_0x423315:0x1f6,_0x3bd25e:0x13a,_0x31871d:0x1ae,_0x1e3afb:0x15d,_0x27e2b3:0x10e,_0x270ae4:0x279,_0x4cf80b:0x2ec,_0x42e3be:0x1f9,_0x101bc3:0xbe,_0x4863b0:0x7,_0x5e2477:0x281,_0x30f545:0x30c,_0x1ecc05:0x26d,_0x3c8b86:0x1bc,_0xb4f86:0x25,_0x296c8a:0x74,_0x34930f:0x43,_0x1d2434:0xa6,_0x2e6837:0x3f},_0x3d2974={_0x2db788:0x172,_0x15e273:0xa2},_0xc06875={_0x46a6ee:0x144,_0x207174:0x108},{maxBytes:_0x38d713,sessionDir:_0x486a43}=_0x437073;if(!_0xf3a735[_0x139f27(0x35,0x3c,0x163,0x10a)]||Buffer[_0x559f8e(0x3cf,_0x317aea._0x3984f9,_0x317aea._0x1e2f12,0x260)](_0xf3a735[_0x559f8e(0x25c,_0x317aea._0x31f617,_0x317aea._0x38ac23,_0x317aea._0x33a920)],_0x559f8e(0x18c,_0x317aea._0x4ddc37,_0x317aea._0x3bde90,0x2a2))<=_0x38d713)return _0xf3a735;const _0x2cc925=Buffer['byteLength'](_0xf3a735[_0x139f27(_0x317aea._0xa53c29,_0x317aea._0x4eb19c,-0x25,-0x114)],'utf8');if(!_0x486a43){const _0x40eb76=_0xf3a735[_0x559f8e(_0x317aea._0x261ac9,_0x317aea._0x23aa38,_0x317aea._0x56c356,_0x317aea._0x2b3247)][_0x559f8e(_0x317aea._0x4ca871,0x1f6,_0x317aea._0x5c373b,_0x317aea._0x93c07c)](0x0,_0x38d713);return{..._0xf3a735,'output':_0x40eb76+('\x0a\x0a<system-reminder>\x0aTool\x20output\x20was\x20truncated\x20at\x20'+_0x38d713+'\x20bytes\x20(original:\x20'+_0x2cc925+_0x139f27(-0x11c,0x5f,-0x203,-_0x317aea._0x3a8192)),'meta':{..._0xf3a735['meta'],'truncated':!![],'originalBytes':_0x2cc925,'transforms':[..._0xf3a735[_0x559f8e(_0x317aea._0x3afe06,_0x317aea._0x51c665,_0x317aea._0x167a53,0x13)][_0x139f27(_0x317aea._0xe53a2a,0x112,0x24b,_0x317aea._0x5a3d0f)],'tool-output-offload']}};}const _0x3a81db=_0xf3a735[_0x139f27(-_0x317aea._0x7d1777,-0xc3,-0xf,-_0x317aea._0x5eb8e4)]+'_'+sanitizeFileName(_0xf3a735['callId'])+_0x559f8e(_0x317aea._0x23711d,0x330,0x34e,_0x317aea._0x56ad80),_0x140ff9=_0x3466aa[_0x139f27(-0x62,0x107,-_0x317aea._0xab6d63,-_0x317aea._0x4e2787)](_0x486a43,_0x3a81db);await _0x3ba9bb(_0x486a43,{'recursive':!![]});function _0x559f8e(_0x1e6561,_0x25f6dc,_0x5c776e,_0x42460f){return _0x419223(_0x1e6561-0x1b7,_0x5c776e,_0x25f6dc-_0xc06875._0x46a6ee,_0x42460f-_0xc06875._0x207174);}await _0x2b4435(_0x140ff9,_0xf3a735[_0x139f27(0x35,-_0x317aea._0x24c959,-0xd,_0x317aea._0x37c1cc)],_0x139f27(-_0x317aea._0x486d9a,-0x90,0x3d,0x100));let _0x8d4066=_0xf3a735[_0x139f27(_0x317aea._0xa53c29,-_0x317aea._0x10fbd2,-0xf4,_0x317aea._0x392e3f)][_0x559f8e(0xb9,0x1f6,0x25d,0x166)](0x0,_0x38d713);const _0x422d3a=_0x8d4066[_0x559f8e(_0x317aea._0x309b67,_0x317aea._0x2cd8cc,0x3b6,_0x317aea._0x155706)]('\x0a');function _0x139f27(_0x2d3275,_0x521bb1,_0x182a23,_0x11aa37){return _0x283a7f(_0x2d3275-0x17a,_0x2d3275- -_0x3d2974._0x2db788,_0x182a23-_0x3d2974._0x15e273,_0x11aa37);}_0x422d3a>_0x38d713*0.5&&(_0x8d4066=_0x8d4066[_0x559f8e(0x156,_0x317aea._0x423315,0x241,0xde)](0x0,_0x422d3a));const _0x23dbb0=['',_0x139f27(-_0x317aea._0x3bd25e,-_0x317aea._0x31871d,-_0x317aea._0x1e3afb,-_0x317aea._0x27e2b3),'Tool\x20output\x20was\x20truncated\x20at\x20'+_0x38d713+_0x139f27(0x191,0x1eb,_0x317aea._0x270ae4,_0x317aea._0x4cf80b)+_0x2cc925+_0x559f8e(0x465,0x31d,_0x317aea._0x42e3be,0x447),_0x139f27(-_0x317aea._0x101bc3,_0x317aea._0x4863b0,-0x14c,-0x1c1)+_0x140ff9,_0x559f8e(_0x317aea._0x5e2477,_0x317aea._0x30f545,_0x317aea._0x1ecc05,0x3a1),_0x139f27(0x158,0x17e,_0x317aea._0x3c8b86,0x111)]['join']('\x0a');return{..._0xf3a735,'output':_0x8d4066+_0x23dbb0,'meta':{..._0xf3a735['meta'],'truncated':!![],'originalBytes':_0x2cc925,'transforms':[..._0xf3a735[_0x139f27(-0x11d,_0x317aea._0xb4f86,-0x126,-0x186)]['transforms'],_0x139f27(-_0x317aea._0x296c8a,-_0x317aea._0x34930f,_0x317aea._0x1d2434,-_0x317aea._0x2e6837)]}};}function createUpdateTopicTool(){const _0x5d25da={_0x25da6b:0x1ec,_0x3fc36d:0x196,_0x18e7f3:0x4a,_0x396247:0x100,_0x5f316e:0x2ba,_0x5a987b:0x157,_0x14000c:0x114},_0x362160={_0x26281d:0x3dc,_0x711e5f:0x23f,_0x3b232d:0x49c,_0x729bfd:0x4f4,_0x13df15:0x60f,_0x3a87ad:0x27b,_0xe76452:0x1d2,_0x59b33e:0x317,_0x1ce985:0x3d1,_0x13cc99:0x428,_0x4e0535:0x1ed,_0x4b52d9:0x237,_0x508277:0x1ef,_0x5db695:0x275,_0x504c8a:0x35c,_0x2a4c86:0x26f},_0x4df119={_0x46d42e:0x11c},_0x600cfe={_0x55115d:0x11f},_0x53685d={_0x2849b1:0xeb,_0x373866:0x26},_0xd7941d={_0x3e5dd9:0x33};function _0x35b5cc(_0x444cd7,_0x258d35,_0x3be83e,_0x582065){return _0x419223(_0x444cd7-0x7a,_0x582065,_0x444cd7-0x183,_0x582065-_0xd7941d._0x3e5dd9);}function _0xe9cbd8(_0x8c20ab,_0x49e3b8,_0x5bcd14,_0x1398f9){return _0x283a7f(_0x8c20ab-0x196,_0x5bcd14- -_0x53685d._0x2849b1,_0x5bcd14-_0x53685d._0x373866,_0x8c20ab);}return defineTool({'name':_0x35b5cc(0x14b,0x200,_0x5d25da._0x25da6b,0x1f5),'description':_0xe9cbd8(-0x37,_0x5d25da._0x3fc36d,_0x5d25da._0x18e7f3,_0x5d25da._0x396247),'inputSchema':{'type':_0x35b5cc(0x22a,0x20c,_0x5d25da._0x5f316e,0x391),'properties':{'topic':{'type':_0x35b5cc(0x2b3,_0x5d25da._0x5a987b,0x164,0x38d)}},'required':[_0x35b5cc(0x113,-0xa,_0x5d25da._0x14000c,0x1c4)]},async *'execute'(_0x5e0c2,_0x21a091){function _0x51dcc6(_0x14ee54,_0x2401d8,_0x1bc71b,_0x44d922){return _0xe9cbd8(_0x44d922,_0x2401d8-0x12c,_0x14ee54-0x29b,_0x44d922-_0x600cfe._0x55115d);}const {topic:_0x50df09}=_0x5e0c2;if(typeof _0x50df09!=='string'||_0x50df09[_0x357f88(0x306,_0x362160._0x26281d,_0x362160._0x711e5f,0x302)]()[_0x357f88(_0x362160._0x3b232d,0x588,_0x362160._0x729bfd,_0x362160._0x13df15)]===0x0)throw new ToolExecutionError(_0x51dcc6(_0x362160._0x3a87ad,0x3ad,0x241,_0x362160._0xe76452),{'error':_0x51dcc6(_0x362160._0x59b33e,0x2bb,_0x362160._0x1ce985,_0x362160._0x13cc99)});function _0x357f88(_0xea2edb,_0x11f9ea,_0x560cef,_0x5d6e60){return _0xe9cbd8(_0x5d6e60,_0x11f9ea-_0x4df119._0x46d42e,_0xea2edb-0x3b4,_0x5d6e60-0x16);}const _0xa46b71=_0x50df09[_0x51dcc6(_0x362160._0x4e0535,0x18c,_0x362160._0x4b52d9,_0x362160._0x508277)]();return _0x21a091[_0x51dcc6(_0x362160._0x5db695,0x397,_0x362160._0x504c8a,0x39f)]?.(_0xa46b71),yield createToolOutput(_0x51dcc6(0x3a4,0x2c5,0x466,_0x362160._0x2a4c86)+_0xa46b71+'\x22',{'topic':_0xa46b71}),void 0x0;}});}import{readFile as _0x5c627b,stat as _0x2bdc3e}from'fs/promises';import*as _0x24c480 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set(['auto',_0x283a7f(0x148,0x76,0x104,-0xc2),_0x419223(-0xf3,0x8,-0xac,-0xab),'original']),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x22f28c,_0x1b6956){const _0xee2293={_0x54bacb:0x28d,_0x1f2b9f:0x20d,_0x41faf9:0x170,_0x501916:0x1a0,_0x3d7374:0x40a,_0x5033cc:0x4b8,_0x1055a6:0x3ff,_0xa45b5b:0x401,_0x13d8ac:0x2c7,_0x1db9f9:0xa4,_0x1190ca:0x139,_0x18a944:0xca,_0x5572e3:0x245,_0x4a825a:0x24f,_0x89bfdb:0x21a,_0x388f66:0xb1,_0x4b0855:0x13e,_0x25c6aa:0xec,_0x263408:0x185,_0x3b0331:0x113,_0x3c7d4b:0x1e7,_0x55c32b:0x1f8,_0x12cb5b:0x1c3,_0x1048b7:0x302,_0x3d3870:0x2e5,_0x504f3e:0x52,_0x572c75:0xeb,_0x1fd11d:0xe2,_0x57b07a:0x32e,_0x4de272:0x340,_0x114157:0x338,_0x4b9116:0x2a4,_0x240700:0x1fa,_0x2c0ff9:0x383,_0x49884a:0xae,_0x4d35af:0x9c,_0x3a7eee:0x120,_0x47d07c:0x190,_0x432623:0x8c,_0x45ec1c:0x1ce,_0x1b2cc9:0x341,_0x1eb26d:0x110,_0x59d857:0x1cc},_0x231322={_0x1b9963:0x1c5,_0x2c5758:0x1a};if(_0x22f28c[_0x24e373(_0xee2293._0x54bacb,_0xee2293._0x1f2b9f,_0xee2293._0x41faf9,0x298)](0x0,0x8)[_0x24e373(0x1de,0x1f4,_0xee2293._0x501916,0xb8)](PNG_SIGNATURE))return _0x24e373(0x2c7,_0xee2293._0x3d7374,0x309,0x425);if(_0x22f28c[0x0]===0xff&&_0x22f28c[0x1]===0xd8&&_0x22f28c[0x2]===0xff)return _0x334406(0x577,_0xee2293._0x5033cc,_0xee2293._0x1055a6,_0xee2293._0xa45b5b);const _0x22fd2b=_0x22f28c[_0x24e373(0x269,0x253,0x170,-0x8)](0x0,0x6)[_0x334406(0x2d6,0x13c,0x1e7,_0xee2293._0x13d8ac)](_0x24e373(_0xee2293._0x1db9f9,0x266,_0xee2293._0x1190ca,0x1a1));function _0x24e373(_0x136f50,_0x57805c,_0x1842cb,_0xea2eba){return _0x283a7f(_0x136f50-0x5d,_0x1842cb-0x69,_0x1842cb-0x199,_0x57805c);}if(_0x22fd2b==='GIF87a'||_0x22fd2b===_0x334406(0x1b0,_0xee2293._0x18a944,_0xee2293._0x5572e3,0x337))return _0x334406(0x380,0x291,_0xee2293._0x4a825a,_0xee2293._0x89bfdb);if(_0x22f28c['subarray'](0x0,0x4)['toString'](_0x24e373(_0xee2293._0x388f66,0xac,_0xee2293._0x1190ca,0x202))==='RIFF'&&_0x22f28c[_0x24e373(_0xee2293._0x4b0855,_0xee2293._0x25c6aa,0x170,-0x3)](0x8,0xc)[_0x334406(_0xee2293._0x263408,_0xee2293._0x3b0331,_0xee2293._0x3c7d4b,0x32c)](_0x334406(0x21e,0x20c,_0xee2293._0x55c32b,_0xee2293._0x12cb5b))===_0x24e373(0x243,0x378,_0xee2293._0x1048b7,_0xee2293._0x3d3870))return'image/webp';const _0x5542d5=_0x24c480[_0x24e373(_0xee2293._0x504f3e,0x17d,_0xee2293._0x572c75,_0xee2293._0x1fd11d)](_0x1b6956)['toLowerCase']();if(_0x5542d5===_0x334406(_0xee2293._0x57b07a,0x3fc,_0xee2293._0x4de272,0x36a))return _0x334406(0x367,0x2b3,0x3c8,0x479);if(_0x5542d5===_0x334406(0x2f0,_0xee2293._0x114157,_0xee2293._0x4b9116,_0xee2293._0x240700)||_0x5542d5===_0x334406(0xf9,_0xee2293._0x1048b7,0x276,_0xee2293._0x2c0ff9))return'image/jpeg';if(_0x5542d5===_0x24e373(0x225,-0x77,_0xee2293._0x49884a,_0xee2293._0x4d35af))return _0x24e373(_0xee2293._0x3a7eee,0x1a6,_0xee2293._0x47d07c,0xbb);function _0x334406(_0x373421,_0x2d2599,_0x4ea0d0,_0xa75cd0){return _0x283a7f(_0x373421-_0x231322._0x1b9963,_0x4ea0d0-0x128,_0x4ea0d0-_0x231322._0x2c5758,_0x2d2599);}if(_0x5542d5===_0x24e373(_0xee2293._0x432623,0x1cb,_0xee2293._0x45ec1c,_0xee2293._0x1b2cc9))return _0x334406(_0xee2293._0x1eb26d,0x1fc,_0xee2293._0x59d857,0x1ad);return void 0x0;}function normalizeDetail(_0x3f95c0){const _0x33e155={_0x2b8ab9:0x5e,_0x51da2e:0xb9,_0x1bfb51:0x31f,_0x4b1818:0x211,_0x2a2ff2:0x458,_0x1ede1c:0x35a,_0x593496:0x30c},_0x390d9b={_0x4b9a7c:0x189},_0x5d8958={_0x2d34e3:0xed};function _0x1e49e1(_0x5739c3,_0x50fc0d,_0x2d43a3,_0x31019b){return _0x419223(_0x5739c3-0x13c,_0x50fc0d,_0x2d43a3-0x1d6,_0x31019b-_0x5d8958._0x2d34e3);}if(_0x3f95c0===void 0x0)return void 0x0;const _0x5c39b3=_0x3f95c0[_0x31d06f(_0x33e155._0x2b8ab9,_0x33e155._0x51da2e,0xdd,0xa0)]()['toLowerCase']();if(!SUPPORTED_DETAILS[_0x31d06f(0x168,0x31b,_0x33e155._0x1bfb51,_0x33e155._0x4b1818)](_0x5c39b3))throw new ToolExecutionError(_0x1e49e1(_0x33e155._0x2a2ff2,0x254,_0x33e155._0x1ede1c,_0x33e155._0x593496)+_0x3f95c0,{'detail':_0x3f95c0});function _0x31d06f(_0x1708af,_0x5011e6,_0x11c569,_0x8a0326){return _0x283a7f(_0x1708af-_0x390d9b._0x4b9a7c,_0x8a0326-0x63,_0x11c569-0x17a,_0x1708af);}return _0x5c39b3;}function createViewFileTool(_0x563edb={}){const _0x5c7ba8={_0x386c72:0x45b,_0x16b007:0x46c,_0x58ebb4:0x6c3,_0x10545e:0x5d0,_0x37d8ec:0x593,_0x24817c:0x474,_0x1a253f:0x3c8,_0x10d103:0x56f,_0x555555:0x559,_0x45f86c:0x68d,_0x390d7e:0x54e,_0x49f879:0x6bc,_0x157c04:0x5e6,_0x21160c:0x538,_0x40d653:0x532,_0x1b8c19:0x5d9},_0x335815={_0xea9d97:0x6fd,_0x5a96d7:0x5b1,_0x566831:0x587,_0x114d09:0x607,_0x581ca5:0x91,_0x448521:0xa0,_0x4a5f9a:0x128,_0x430924:0x57c,_0xfa9d3a:0x721,_0x20278f:0x4d,_0x3b5f22:0x115,_0x6c917c:0xbe,_0x5a846d:0x332,_0x18d909:0x3d7,_0x21be4c:0x5b5,_0x1155a1:0x533,_0x4d85a8:0x24,_0x5c8ae0:0x596,_0x24d4e7:0x5c8,_0x410e29:0x52f,_0x342def:0x696,_0x51c545:0x706,_0x297a19:0x14a,_0x3bd2c8:0x8e,_0x54b622:0x578,_0x46c62c:0x643,_0xb0bb28:0x6ab,_0x11cbf7:0x601,_0x40d8a5:0x4dc,_0x4714ed:0x443,_0x43bef0:0x450,_0x53f2db:0x470,_0x334804:0x470,_0x5caf46:0x46c,_0x4518c8:0x5d4,_0x231ad1:0x737,_0x19e1c4:0x54e,_0x1a9f3d:0x5e9,_0x5a3b22:0x5cd,_0x5570dc:0x504,_0x57c518:0x573,_0x4294d3:0xd,_0x42033c:0x124,_0x472d31:0x143,_0x435385:0x1b1,_0x1f669f:0x21f,_0x45db80:0x1cf,_0x3a14cb:0x1dd},_0x424f5d={_0x5d48c3:0x142},_0x35d7af={_0x2b2287:0xf7,_0x12e436:0x3f6,_0x26b812:0x1e1},_0x561796={_0x296ec1:0x477};function _0x264fed(_0xda47b8,_0x4ce808,_0x5a79fb,_0x31e0c9){return _0x283a7f(_0xda47b8-0xd4,_0xda47b8-_0x561796._0x296ec1,_0x5a79fb-0xd,_0x5a79fb);}function _0x1fb1b7(_0x550a56,_0x359399,_0x3a7867,_0x4d0d11){return _0x419223(_0x550a56-_0x35d7af._0x2b2287,_0x3a7867,_0x550a56-_0x35d7af._0x12e436,_0x4d0d11-_0x35d7af._0x26b812);}const _0x4bb2b4=_0x24c480['resolve'](_0x563edb[_0x1fb1b7(_0x5c7ba8._0x386c72,_0x5c7ba8._0x16b007,0x478,0x469)]??process['cwd']()),_0x2d9417=_0x563edb[_0x264fed(0x620,_0x5c7ba8._0x58ebb4,0x541,0x6fd)]??[],_0xf11341=_0x563edb[_0x264fed(_0x5c7ba8._0x10545e,0x6ec,0x603,_0x5c7ba8._0x37d8ec)]??DEFAULT_MAX_BYTES,_0xb032a2=_0x563edb[_0x1fb1b7(_0x5c7ba8._0x24817c,_0x5c7ba8._0x1a253f,0x45f,0x4ec)]??_0x264fed(_0x5c7ba8._0x10d103,_0x5c7ba8._0x555555,0x4f3,_0x5c7ba8._0x45f86c);return defineTool({'name':_0xb032a2,'description':_0x264fed(_0x5c7ba8._0x390d7e,0x6a5,0x6ab,_0x5c7ba8._0x49f879),'inputSchema':{'type':_0x264fed(_0x5c7ba8._0x157c04,_0x5c7ba8._0x21160c,_0x5c7ba8._0x40d653,0x557),'properties':{'path':{'type':_0x1fb1b7(0x526,0x474,0x40f,_0x5c7ba8._0x1b8c19)},'detail':{'type':'string'}},'required':['path']},async *'execute'(_0x23a55c){const _0x3ca70a={_0x22800c:0x137},_0x468062=resolveAllowedPath(_0x4bb2b4,_0x2d9417,_0x23a55c[_0x48bbb4(_0x335815._0xea9d97,0x580,0x5d4,0x485)]);function _0x87f426(_0x1b2f8e,_0x32dfdd,_0x5eb106,_0x43827c){return _0x264fed(_0x1b2f8e- -0x6b3,_0x32dfdd-_0x424f5d._0x5d48c3,_0x43827c,_0x43827c-0x10c);}await assertWorkspaceFile(_0x468062);const _0x4d541f=await _0x2bdc3e(_0x468062);if(_0x4d541f[_0x48bbb4(0x51d,0x6b1,0x607,_0x335815._0x5a96d7)]>_0xf11341)throw new ToolExecutionError('Image\x20file\x20is\x20too\x20large:\x20'+_0x23a55c['path'],{'path':_0x23a55c['path'],'maxBytes':_0xf11341,'size':_0x4d541f[_0x48bbb4(0x50c,_0x335815._0x566831,_0x335815._0x114d09,0x4d4)]});const _0x487546=await _0x5c627b(_0x468062),_0x80326b=detectImageMediaType(_0x487546,_0x468062);function _0x48bbb4(_0x3a50e2,_0x513c62,_0x21c946,_0x2018df){return _0x264fed(_0x21c946- -0x92,_0x513c62-0x1c9,_0x2018df,_0x2018df-_0x3ca70a._0x22800c);}if(!_0x80326b)throw new ToolExecutionError(_0x87f426(-_0x335815._0x581ca5,0x9,_0x335815._0x448521,-_0x335815._0x4a5f9a)+_0x23a55c[_0x48bbb4(_0x335815._0x430924,0x4d7,0x5d4,_0x335815._0xfa9d3a)],{'path':_0x23a55c[_0x87f426(-_0x335815._0x20278f,0x46,-_0x335815._0x3b5f22,-_0x335815._0x6c917c)],'supported':[_0x48bbb4(_0x335815._0x5a846d,0x58d,0x42a,_0x335815._0x18d909),_0x48bbb4(_0x335815._0x21be4c,0x3da,_0x335815._0x1155a1,0x4ac),'.jpg',_0x87f426(-_0x335815._0x4d85a8,-0x12a,-0x111,0x135),'.webp']});const _0x2a5803=normalizeDetail(_0x23a55c[_0x48bbb4(0x659,_0x335815._0x5c8ae0,_0x335815._0x24d4e7,0x48b)]),_0x455383=[_0x48bbb4(0x5c1,_0x335815._0x410e29,0x508,0x5f9)+_0x23a55c[_0x48bbb4(0x6ea,_0x335815._0x342def,0x5d4,_0x335815._0x51c545)],'MIME:\x20'+_0x80326b,'Size:\x20'+_0x4d541f[_0x87f426(-0x1a,-_0x335815._0x297a19,_0x335815._0x3bd2c8,0x6b)]+_0x48bbb4(0x5f3,_0x335815._0x54b622,_0x335815._0x46c62c,0x5f3)][_0x48bbb4(0x751,_0x335815._0xb0bb28,0x682,0x603)](_0x2a5803?[_0x48bbb4(_0x335815._0x11cbf7,0x5ac,_0x335815._0x40d8a5,_0x335815._0x4714ed)+_0x2a5803]:[])['join']('\x0a'),_0x4d2665=[{'type':'image','source':{'type':_0x48bbb4(0x4ba,_0x335815._0x43bef0,_0x335815._0x53f2db,0x5b6),'media_type':_0x80326b,'data':_0x487546['toString'](_0x48bbb4(0x55d,0x316,_0x335815._0x334804,0x524))}},{'type':'text','text':_0x455383}];return yield createToolOutput(_0x455383,{'path':_0x23a55c[_0x48bbb4(_0x335815._0x5caf46,0x483,_0x335815._0x4518c8,_0x335815._0x231ad1)],'resolvedPath':_0x468062,'created':_0x4d541f['birthtime'][_0x48bbb4(_0x335815._0x19e1c4,0x6e4,0x573,0x5c8)](),'modified':_0x4d541f[_0x48bbb4(0x734,_0x335815._0x1a9f3d,_0x335815._0x5a3b22,0x633)][_0x48bbb4(0x4b4,_0x335815._0x5570dc,_0x335815._0x57c518,0x413)](),'size':_0x4d541f[_0x87f426(-0x1a,-_0x335815._0x4294d3,-_0x335815._0x42033c,_0x335815._0x472d31)],'mimeType':_0x80326b,'encoding':_0x87f426(-_0x335815._0x435385,-_0x335815._0x1f669f,-_0x335815._0x45db80,-_0x335815._0x3a14cb),..._0x2a5803?{'detail':_0x2a5803}:{}},_0x4d2665),void 0x0;}});}import _0x31c949 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x1a10ff=>{const {lookup:_0x5e91d5}=await import('dns/promises');return _0x5e91d5(_0x1a10ff,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x51c216){const _0x214572={_0x18a265:0x117,_0x175895:0x28e,_0x4a8895:0x1f3,_0x552be8:0x11e,_0xf18106:0x3ac,_0xed3f0e:0x4dc},_0x441522={_0x33a58a:0xd8,_0xe6a9f5:0x13};function _0xd3a45c(_0x1b4330,_0x20f753,_0x304e2f,_0x36e379){return _0x419223(_0x1b4330-_0x441522._0x33a58a,_0x1b4330,_0x36e379-_0x441522._0xe6a9f5,_0x36e379-0xb7);}const _0x5cadd8=_0x51c216[_0xd3a45c(0x9f,0x219,0x212,_0x214572._0x18a265)]('.');function _0x2df916(_0x5b59cf,_0x472486,_0x493d4f,_0x15b7cd){return _0x419223(_0x5b59cf-0x1a2,_0x5b59cf,_0x15b7cd-0x575,_0x15b7cd-0xae);}if(_0x5cadd8[_0xd3a45c(0x292,_0x214572._0x175895,_0x214572._0x4a8895,_0x214572._0x552be8)]!==0x4)return null;let _0xbd5ea8=0x0;for(const _0x57bc64 of _0x5cadd8){if(!/^\d{1,3}$/[_0x2df916(0x36b,_0x214572._0xf18106,0x563,_0x214572._0xed3f0e)](_0x57bc64))return null;const _0x2de3ee=Number(_0x57bc64);if(_0x2de3ee>0xff)return null;_0xbd5ea8=_0xbd5ea8*0x100+_0x2de3ee;}return _0xbd5ea8>>>0x0;}function isBlockedIpv4(_0x3b8631){const _0x2c788d={_0xfe693a:0x446,_0x2d988a:0x504,_0x550241:0x4b9,_0x56f40e:0x44c,_0x2e617d:0x3b4,_0x191043:0x4ce,_0x54ec1c:0x484,_0x22aa71:0x4c5,_0x435714:0x713,_0x1ed73e:0x709,_0x2541fa:0x622,_0x59bae5:0x6a5,_0x273066:0x578,_0x25dbba:0x4f3,_0x54c294:0x550,_0x48bcb3:0x1c1,_0x623e81:0x1cb},_0x2e8baa={_0xe21e6b:0x378,_0x45676f:0x4a},_0x115f2c=ipv4ToInt(_0x3b8631);function _0x32c6d2(_0x3c7531,_0x8b88ea,_0x405ace,_0x4c5de7){return _0x419223(_0x3c7531-0xf9,_0x8b88ea,_0x3c7531-0x558,_0x4c5de7-0xa3);}if(_0x115f2c===null)return!![];const _0x1d398e=(_0x5e7f00,_0x31ce44)=>{const _0x27f715=ipv4ToInt(_0x5e7f00);if(_0x27f715===null)return![];const _0x212025=_0x31ce44===0x0?0x0:0xffffffff<<0x20-_0x31ce44>>>0x0;return(_0x115f2c&_0x212025)===(_0x27f715&_0x212025);};function _0x5eb370(_0x54778b,_0x3273c1,_0x2f4210,_0x3d6739){return _0x419223(_0x54778b-0x15e,_0x3d6739,_0x2f4210-_0x2e8baa._0xe21e6b,_0x3d6739-_0x2e8baa._0x45676f);}return _0x1d398e(_0x32c6d2(0x4db,_0x2c788d._0xfe693a,_0x2c788d._0x2d988a,_0x2c788d._0x2d988a),0x8)||_0x1d398e(_0x32c6d2(_0x2c788d._0x550241,0x50a,_0x2c788d._0x56f40e,_0x2c788d._0x2e617d),0x8)||_0x1d398e(_0x5eb370(_0x2c788d._0x191043,0x5c8,_0x2c788d._0x54ec1c,_0x2c788d._0x22aa71),0xa)||_0x1d398e(_0x32c6d2(0x652,0x571,_0x2c788d._0x435714,0x72a),0x8)||_0x1d398e(_0x32c6d2(0x752,0x646,0x792,0x896),0x10)||_0x1d398e(_0x32c6d2(_0x2c788d._0x1ed73e,0x7e9,0x85d,0x6cd),0xc)||_0x1d398e(_0x32c6d2(0x653,_0x2c788d._0x2541fa,_0x2c788d._0x59bae5,0x741),0x18)||_0x1d398e('192.168.0.0',0x10)||_0x1d398e('198.18.0.0',0xf)||_0x1d398e(_0x32c6d2(_0x2c788d._0x273066,0x462,_0x2c788d._0x25dbba,_0x2c788d._0x54c294),0x4)||_0x1d398e(_0x5eb370(0x214,_0x2c788d._0x48bcb3,0x304,_0x2c788d._0x623e81),0x4);}function expandIpv6(_0x5668ba){const _0xb5118e={_0x1574ea:0x34,_0xbcc6a5:0x33,_0x26d8c2:0x42,_0x4acd6b:0x29,_0x5d4c8a:0x188,_0x1e005c:0x139,_0x132697:0x1a1,_0x584f30:0x25,_0x17aa27:0x25f,_0x1826aa:0x30b,_0x43cc69:0xee,_0x3e1f6c:0xd9,_0xe23d9e:0x307,_0x50cf83:0x8d,_0x9aecd7:0x134,_0x3c8d86:0x2a,_0x41e844:0x16f,_0x373a28:0x8d,_0x385713:0x114,_0x197e6c:0x15},_0x2f46ac={_0x1786bd:0x146,_0x464897:0x1a5},_0x553f58={_0x56a862:0x18f,_0x1104fc:0x8c};let _0x19bba0=_0x5668ba,_0x1b6027;function _0x2dff1d(_0x315c3f,_0x562449,_0x70adb4,_0x3ce512){return _0x283a7f(_0x315c3f-_0x553f58._0x56a862,_0x315c3f-_0x553f58._0x1104fc,_0x70adb4-0x87,_0x562449);}const _0xe86668=_0x19bba0['lastIndexOf'](':');_0x19bba0[_0x2235d2(_0xb5118e._0x1574ea,-_0xb5118e._0xbcc6a5,-0xc9,-0x10c)](_0xe86668+0x1)[_0x2235d2(0x1bb,_0xb5118e._0x26d8c2,0x16b,0x2ed)]('.')&&(_0x1b6027=_0x19bba0[_0x2235d2(0x34,0xf7,-0xd8,_0xb5118e._0x4acd6b)](_0xe86668+0x1),_0x19bba0=_0x19bba0[_0x2235d2(0x34,_0xb5118e._0x5d4c8a,-_0xb5118e._0x1e005c,-0xb9)](0x0,_0xe86668+0x1));const _0x2beb40=_0x19bba0[_0x2235d2(0x86,0xcc,_0xb5118e._0x132697,-_0xb5118e._0x584f30)]('::');if(_0x2beb40[_0x2dff1d(_0xb5118e._0x17aa27,0x285,_0xb5118e._0x1826aa,_0xb5118e._0x43cc69)]>0x2)return null;const _0xae8bc0=_0x1d769a=>_0x1d769a[_0x2235d2(0x86,-0x4,0x17b,0x18)](':')[_0x2dff1d(0x168,0x252,0x16a,0x174)](_0x1951d3=>_0x1951d3['length']>0x0)[_0x2dff1d(0x2be,0x35f,0x1ec,0x194)](_0x2623a0=>Number[_0x2235d2(0x1aa,0x21d,0x236,0xea)](_0x2623a0,0x10)),_0x2de1ac=_0x2beb40[0x0]?_0xae8bc0(_0x2beb40[0x0]):[],_0x2312d7=_0x2beb40[_0x2dff1d(0x25f,0x3b4,0x208,0x318)]===0x2&&_0x2beb40[0x1]?_0xae8bc0(_0x2beb40[0x1]):[],_0x261843=[];if(_0x1b6027){const _0x5d286b=ipv4ToInt(_0x1b6027);if(_0x5d286b===null)return null;_0x261843[_0x2dff1d(0x20f,0xc7,_0xb5118e._0x3e1f6c,_0xb5118e._0xe23d9e)](_0x5d286b>>>0x10&0xffff,_0x5d286b&0xffff);}function _0x2235d2(_0x4f208b,_0x30cf0a,_0x584e04,_0xaa7071){return _0x283a7f(_0x4f208b-0x21,_0x4f208b- -_0x2f46ac._0x1786bd,_0x584e04-_0x2f46ac._0x464897,_0xaa7071);}const _0x43b171=[..._0x2312d7,..._0x261843],_0x222b63=0x8-_0x2de1ac['length']-_0x43b171['length'];if(_0x2beb40[_0x2235d2(_0xb5118e._0x50cf83,_0xb5118e._0x9aecd7,_0xb5118e._0x3c8d86,0xdc)]===0x1)return _0x2de1ac[_0x2dff1d(0x25f,0x38b,_0xb5118e._0x41e844,0x22c)]+_0x43b171[_0x2235d2(_0xb5118e._0x373a28,0xca,_0xb5118e._0x385713,-_0xb5118e._0x197e6c)]===0x8?[..._0x2de1ac,..._0x43b171]:null;if(_0x222b63<0x0)return null;return[..._0x2de1ac,...new Array(_0x222b63)['fill'](0x0),..._0x43b171];}function isBlockedIpv6(_0x16f92f){const _0x426cae={_0x30f85c:0x167,_0x5373c3:0x135,_0x8fa16:0x1e2,_0x424396:0x165,_0x53f4b6:0x2a5,_0x6eb6b5:0x2,_0x5d6105:0x1be,_0x41b24e:0xab,_0x290962:0x4e4,_0x4af119:0x2d8,_0xb4de46:0x2a1,_0x43eebe:0x2c7,_0x5e65c7:0x212},_0x293985={_0x596011:0xf,_0x299c9f:0x14e},_0x502c28={_0x177020:0x1c4};function _0x2d2e6c(_0x387737,_0x4fc375,_0x22d0c3,_0x212727){return _0x419223(_0x387737-0xea,_0x212727,_0x22d0c3-_0x502c28._0x177020,_0x212727-0x80);}const _0x2647f3=expandIpv6(_0x16f92f);if(!_0x2647f3||_0x2647f3[_0x2d2e6c(0x271,0x101,_0x426cae._0x30f85c,0x24)](_0x5e187c=>Number['isNaN'](_0x5e187c)))return!![];function _0x2f5c8a(_0x5e4f02,_0x4c75db,_0x16c5a0,_0x33be0b){return _0x283a7f(_0x5e4f02-_0x293985._0x596011,_0x4c75db- -0xb8,_0x16c5a0-_0x293985._0x299c9f,_0x5e4f02);}const _0xb56af1=_0x2647f3[_0x2f5c8a(_0x426cae._0x5373c3,0xc2,_0x426cae._0x8fa16,_0x426cae._0x424396)](0x0,0x7)[_0x2d2e6c(_0x426cae._0x53f4b6,0x35a,0x400,0x3cc)](_0x28aeb2=>_0x28aeb2===0x0);if(_0xb56af1&&(_0x2647f3[0x7]===0x0||_0x2647f3[0x7]===0x1))return!![];if(_0x2647f3[_0x2f5c8a(-_0x426cae._0x6eb6b5,0xc2,_0x426cae._0x5d6105,_0x426cae._0x41b24e)](0x0,0x5)[_0x2d2e6c(_0x426cae._0x290962,_0x426cae._0x4af119,0x400,0x364)](_0x43af64=>_0x43af64===0x0)&&(_0x2647f3[0x5]===0xffff||_0x2647f3[0x5]===0x0)){const _0x48bef6=(_0x2647f3[0x6]<<0x10|_0x2647f3[0x7])>>>0x0,_0x18f026=[_0x48bef6>>>0x18&0xff,_0x48bef6>>>0x10&0xff,_0x48bef6>>>0x8&0xff,_0x48bef6&0xff][_0x2d2e6c(_0x426cae._0xb4de46,_0x426cae._0x43eebe,0x20c,_0x426cae._0x5e65c7)]('.');return isBlockedIpv4(_0x18f026);}const _0x1a1654=_0x2647f3[0x0];if((_0x1a1654&0xff00)===0xfc00||(_0x1a1654&0xfe00)===0xfc00)return!![];if((_0x1a1654&0xffc0)===0xfe80)return!![];if((_0x1a1654&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x1693a3){const _0x167baa=isIP(_0x1693a3);if(_0x167baa===0x4)return isBlockedIpv4(_0x1693a3);if(_0x167baa===0x6)return isBlockedIpv6(_0x1693a3);return!![];}async function assertPublicUrl(_0x285abd,_0x111247={}){const _0x4cd51f={_0x47dd4c:0xe3,_0xc6d1a7:0x2a,_0x3f7192:0x216,_0x5aeba0:0x4b1,_0x48bb33:0x85,_0x32fa85:0x48,_0x5cd3f7:0x11,_0x16dd4d:0x36,_0x3077fb:0x492,_0x3f766c:0x64,_0x55b16e:0xd6,_0x145552:0x181,_0x199868:0x10d,_0x5a0441:0x224,_0xe9bc72:0x4b7,_0x22449c:0x4f7,_0x1e7745:0x73,_0x2d0a79:0x243,_0x52a3b6:0xf3,_0x437a90:0x17,_0x4196ce:0x60},_0x36e97e={_0x1b26c0:0xe0,_0x1fdf37:0x108},_0x1dc9b3={_0x43cfa3:0xb2,_0x1a3716:0x377,_0x2b5094:0xef};function _0x54ec26(_0x277458,_0x1a9720,_0x743d96,_0x5e7bbf){return _0x419223(_0x277458-_0x1dc9b3._0x43cfa3,_0x277458,_0x1a9720-_0x1dc9b3._0x1a3716,_0x5e7bbf-_0x1dc9b3._0x2b5094);}let _0x4e6c80;try{_0x4e6c80=new URL(_0x285abd);}catch{throw new ToolExecutionError(_0x495ea5(-_0x4cd51f._0x47dd4c,-_0x4cd51f._0xc6d1a7,-0x14,0x153),{'url':_0x285abd});}if(_0x4e6c80[_0x54ec26(0x483,0x385,0x4d3,0x23e)]!=='http:'&&_0x4e6c80[_0x54ec26(_0x4cd51f._0x3f7192,0x385,0x4a9,_0x4cd51f._0x5aeba0)]!==_0x495ea5(-0x18f,-_0x4cd51f._0x48bb33,-_0x4cd51f._0x32fa85,-_0x4cd51f._0x5cd3f7))throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x285abd});function _0x495ea5(_0x40c4fb,_0x47682b,_0x22678e,_0x5511c2){return _0x283a7f(_0x40c4fb-0x178,_0x22678e- -_0x36e97e._0x1b26c0,_0x22678e-_0x36e97e._0x1fdf37,_0x47682b);}if(_0x4e6c80['username']||_0x4e6c80['password'])throw new ToolExecutionError(_0x495ea5(0xb1,_0x4cd51f._0x16dd4d,-0x12,0xb1),{'url':_0x4e6c80[_0x54ec26(0x317,0x385,_0x4cd51f._0x3077fb,0x382)]+'//'+_0x4e6c80['host']+_0x4e6c80['pathname']});const _0x3a72e7=_0x4e6c80['hostname']['replace'](/^\[|\]$/g,''),_0x4efff0=_0x4e6c80[_0x495ea5(-_0x4cd51f._0x3f766c,0xe8,-0xa,0xb5)]+'//'+_0x4e6c80[_0x495ea5(0xe6,_0x4cd51f._0x55b16e,_0x4cd51f._0x145552,_0x4cd51f._0x199868)]+_0x4e6c80['pathname'];if(isIP(_0x3a72e7)){if(isBlockedAddress(_0x3a72e7))throw new ToolExecutionError(_0x54ec26(0x2dc,0x369,0x1ef,_0x4cd51f._0x5a0441),{'url':_0x4efff0});return _0x4e6c80;}const _0x4ccef5=_0x111247[_0x54ec26(0x59b,_0x4cd51f._0xe9bc72,0x5e4,0x3b7)]??defaultLookup;let _0x524ed4;try{_0x524ed4=await _0x4ccef5(_0x3a72e7);}catch{throw new ToolExecutionError(_0x54ec26(_0x4cd51f._0x22449c,0x4a8,0x35c,0x580),{'url':_0x4efff0});}if(_0x524ed4[_0x495ea5(_0x4cd51f._0x1e7745,_0x4cd51f._0x2d0a79,_0x4cd51f._0x52a3b6,_0x4cd51f._0x437a90)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x4efff0});for(const {address:_0x6edf31}of _0x524ed4){if(isBlockedAddress(_0x6edf31))throw new ToolExecutionError(_0x495ea5(_0x4cd51f._0x4196ce,-0xa9,-0x8f,-0xc8),{'url':_0x4efff0});}return _0x4e6c80;}async function safeFetch(_0x116ad2,_0x404b94={},_0x221727={}){const _0x50c78e={_0x2f8b3e:0x27e,_0x110ce5:0x2bc,_0x44294d:0x2af,_0x56c82f:0x4c1,_0x1854eb:0x3a0,_0x1f330f:0x28c,_0x17122d:0x2f1,_0x54a7da:0x1b6,_0xdf2617:0x6d,_0x1098a4:0x12b,_0x26e74a:0x1f6,_0x4b93f3:0x33c,_0x3d2d73:0x1ca,_0x13401f:0x2c8,_0x137647:0x8b,_0x1c3e74:0x1b6,_0x493d7d:0x46,_0x48fa7a:0x0,_0x5d9710:0x89,_0x393dee:0x97},_0x32d3e2={_0x5cac72:0x256};function _0x5b8d8a(_0x5e84d8,_0x2ed677,_0x2a9c3e,_0x5c6b4e){return _0x419223(_0x5e84d8-0x44,_0x2a9c3e,_0x5e84d8-_0x32d3e2._0x5cac72,_0x5c6b4e-0x123);}const _0x1a83eb=_0x221727[_0x5b8d8a(0x3fa,_0x50c78e._0x2f8b3e,_0x50c78e._0x110ce5,_0x50c78e._0x44294d)]??fetch;function _0xc0b2fc(_0x358d5d,_0x52f1c3,_0x18c17e,_0x30cd50){return _0x419223(_0x358d5d-0xb2,_0x358d5d,_0x30cd50- -0x80,_0x30cd50-0x134);}const _0x1d7d42=_0x221727[_0x5b8d8a(0x348,0x4b3,_0x50c78e._0x56c82f,0x1f3)]??DEFAULT_MAX_REDIRECTS;let _0x4c94bc=_0x116ad2;for(let _0x805220=0x0;;_0x805220+=0x1){const _0x38f0c5=await assertPublicUrl(_0x4c94bc,_0x221727),_0x304ccd=await _0x1a83eb(_0x38f0c5['toString'](),{..._0x404b94,'redirect':_0x5b8d8a(_0x50c78e._0x1854eb,_0x50c78e._0x1f330f,_0x50c78e._0x17122d,0x463)}),_0x10083a=_0x304ccd[_0xc0b2fc(0xf9,-0x131,-_0x50c78e._0x54a7da,-_0x50c78e._0xdf2617)][_0xc0b2fc(0x165,_0x50c78e._0x1098a4,_0x50c78e._0x26e74a,0x19f)]('location');if(!REDIRECT_STATUSES[_0x5b8d8a(_0x50c78e._0x4b93f3,_0x50c78e._0x3d2d73,0x423,_0x50c78e._0x13401f)](_0x304ccd[_0x5b8d8a(0x1ac,_0x50c78e._0x137647,_0x50c78e._0x1c3e74,_0x50c78e._0x493d7d)])||!_0x10083a)return _0x304ccd;if(_0x805220>=_0x1d7d42)throw new ToolExecutionError('Too\x20many\x20redirects',{'url':_0x38f0c5[_0xc0b2fc(0x64,0x71,_0x50c78e._0x48fa7a,-_0x50c78e._0x5d9710)]()});_0x4c94bc=new URL(_0x10083a,_0x38f0c5)[_0xc0b2fc(0x47,-0x4e,_0x50c78e._0x393dee,-0x89)]();}}var USER_AGENT=_0x283a7f(0x18f,0x2f4,0x344,0x322),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x5647eb,_0x5c59e3){const _0x35a246={_0x1a4505:0x158,_0x360282:0x61,_0x136d24:0x15d,_0x27c83d:0x6a,_0x10621b:0x142,_0x1aa373:0xfb,_0x4123de:0x2e4,_0x46ef8d:0x48,_0x56d7ad:0x16b,_0x4cc85e:0xd8,_0x47b0c1:0xde,_0x171472:0x57,_0x21ecbd:0x7e},_0x1bb224={_0x5499c4:0x8d,_0xc19dce:0x6},_0x439b0b={_0x5b8b26:0x175,_0x236a3e:0xe},_0x435845={_0x5af2fb:0xc,_0x31c41a:0xe9,_0x2de2ed:0xf5},_0x2ab294=new AbortController(),_0x3cb663=setTimeout(()=>_0x2ab294['abort'](new Error(_0x1fe52f(0x44,-0xb0,-0x107,0x69))),_0x5c59e3);function _0x1fe52f(_0x38d8cb,_0x16df02,_0x44ac1d,_0xf6741d){return _0x419223(_0x38d8cb-_0x435845._0x5af2fb,_0xf6741d,_0x16df02- -_0x435845._0x31c41a,_0xf6741d-_0x435845._0x2de2ed);}const _0x199a29=()=>_0x2ab294[_0x5b56c4(0x307,0x255,0x1a8,0x1f4)](_0x5647eb['reason']);_0x5647eb[_0x5b56c4(_0x35a246._0x1a4505,_0x35a246._0x360282,0xf6,_0x35a246._0x136d24)]?_0x2ab294[_0x1fe52f(0xd0,-_0x35a246._0x27c83d,-_0x35a246._0x10621b,-_0x35a246._0x1aa373)](_0x5647eb[_0x5b56c4(_0x35a246._0x4123de,0x18a,_0x35a246._0x46ef8d,_0x35a246._0x56d7ad)]):_0x5647eb[_0x1fe52f(_0x35a246._0x4cc85e,-0x14,0x31,_0x35a246._0x47b0c1)](_0x1fe52f(-0x83,-_0x35a246._0x27c83d,-_0x35a246._0x171472,-0x124),_0x199a29,{'once':!![]});function _0x5b56c4(_0x2f61fc,_0x38866e,_0x26eb86,_0x225beb){return _0x419223(_0x2f61fc-0x4c,_0x38866e,_0x225beb-_0x439b0b._0x5b8b26,_0x225beb-_0x439b0b._0x236a3e);}return{'signal':_0x2ab294[_0x1fe52f(0x13d,_0x35a246._0x21ecbd,-0xa4,0xdd)],'cleanup':()=>{const _0x17c511={_0x50cfbe:0x1ab,_0x3c9e23:0x1ee};clearTimeout(_0x3cb663);function _0x3a3973(_0x3a8b47,_0x5d039e,_0x33976c,_0xfdfc70){return _0x5b56c4(_0x3a8b47-0x6a,_0x3a8b47,_0x33976c-_0x17c511._0x50cfbe,_0xfdfc70- -_0x17c511._0x3c9e23);}_0x5647eb['removeEventListener'](_0x3a3973(-_0x1bb224._0x5499c4,-0xf0,-0x10e,_0x1bb224._0xc19dce),_0x199a29);}};}function createWebFetchTool(_0xefe8a5={}){const _0x3b8a01={_0x4e453a:0xb8,_0x5cf198:0x176,_0x1ff420:0x10b,_0x57fbd2:0x2d,_0xbf7099:0x41d,_0x5c2ad4:0x84,_0x10ad89:0x1fc,_0x3e0048:0x195,_0x56a167:0x373,_0x1532a5:0x1eb,_0x1671d4:0xe9,_0x28c2e1:0x343,_0x150ec4:0x37a,_0x370226:0x2fe,_0xa01ac5:0x1c6,_0x39752b:0x415,_0x479dcb:0x4dc,_0x334845:0xd4,_0x3203b8:0x95,_0x2a8798:0x19c,_0x7761d1:0x30c,_0x1bb979:0x3b8,_0x2ca093:0x421,_0x2f1ab4:0x5cb,_0x449e53:0x608,_0x27396e:0x67b,_0x1b563b:0x713,_0x443709:0x48e,_0x3cf0a9:0x4e1,_0x20d4b1:0x50a,_0xdf24e4:0x33b,_0x46aea5:0x269,_0x3bb000:0x3b7,_0x64b47f:0x410,_0x1995c5:0x3ca,_0x578d83:0x4d3,_0x5aa3b6:0x477},_0x5899ba={_0x35eea8:0x767,_0x4c345e:0x424,_0x2d1b66:0x56e,_0x5a4fdb:0x54a,_0x43bf2d:0x5d5,_0x4ec937:0x5ae,_0x1c45a8:0x521,_0x267fc:0x534,_0x23d566:0x582,_0x2a8d84:0x6a1,_0xe1d782:0x671,_0xdb687f:0x65d,_0x2cb89d:0x4d8,_0x39fe23:0x2a6,_0x43384e:0x68d,_0x475af1:0x6f0,_0x43fe92:0x55d,_0x4dfcfc:0x2b3,_0x4a2488:0x323,_0x99a8ad:0x3bb,_0x279c12:0x5cd,_0x27fa7c:0x4f7,_0x4138cc:0x4c5,_0x290a70:0x575,_0x8715cc:0x41f,_0x563e17:0x61e,_0x2ff77b:0x633,_0x27842f:0x454,_0xa26832:0x34c,_0x1cf1a8:0x43e,_0x503609:0x46e,_0x56349f:0x4ce,_0x4abb7a:0x435,_0x37a470:0x45b,_0x4bbec7:0x4a3,_0x39bf62:0x537,_0x1672b0:0x550,_0x4c01dc:0x6b0,_0x4217e0:0x5bd,_0x55e71b:0x539,_0x150d04:0x399,_0x54da60:0x3ab,_0x20e36b:0x298,_0x58712b:0x56d,_0x16cd49:0x5bd,_0x4f70b4:0x4e7,_0x2861cc:0x4fe,_0x5443ec:0x3a7},_0xe35256={_0x289fa9:0x18a},_0x56a7bb={_0x2150d3:0x3de,_0x40cd1c:0x6b},_0x176e5e={_0x13b219:0x156},_0x27a806=_0xefe8a5[_0x298cf4(_0x3b8a01._0x4e453a,0x13a,_0x3b8a01._0x5cf198,0x93)]??_0x298cf4(_0x3b8a01._0x1ff420,0x108,-0x1c,-_0x3b8a01._0x57fbd2),_0x116ab0=_0xefe8a5[_0x2166fd(0x32c,0x46e,_0x3b8a01._0xbf7099,0x3b4)]??DEFAULT_TIMEOUT_MS2;function _0x298cf4(_0xbfb0c0,_0xe7a66a,_0x15b516,_0x291ee4){return _0x419223(_0xbfb0c0-_0x176e5e._0x13b219,_0x291ee4,_0xe7a66a-0xbc,_0x291ee4-0x9b);}const _0x3e8254=_0xefe8a5[_0x298cf4(_0x3b8a01._0x5c2ad4,_0x3b8a01._0x10ad89,_0x3b8a01._0x3e0048,_0x3b8a01._0x56a167)],_0x4c72a6=new _0x31c949({'headingStyle':_0x298cf4(0x1c8,_0x3b8a01._0x1532a5,_0x3b8a01._0x1671d4,_0x3b8a01._0x28c2e1),'codeBlockStyle':'fenced','bulletListMarker':'-'});_0x4c72a6[_0x298cf4(_0x3b8a01._0x150ec4,0x244,_0x3b8a01._0x370226,_0x3b8a01._0xa01ac5)]([_0x2166fd(_0x3b8a01._0x39752b,0x4fb,0x59a,_0x3b8a01._0x479dcb),_0x2166fd(0x41d,0x44e,0x31a,0x420),_0x298cf4(_0x3b8a01._0x334845,_0x3b8a01._0x3203b8,-0x62,_0x3b8a01._0x2a8798),_0x2166fd(_0x3b8a01._0x7761d1,0x445,_0x3b8a01._0x1bb979,_0x3b8a01._0x2ca093),_0x2166fd(_0x3b8a01._0x2f1ab4,_0x3b8a01._0x449e53,_0x3b8a01._0x27396e,_0x3b8a01._0x1b563b),'footer',_0x2166fd(_0x3b8a01._0x443709,0x5dc,_0x3b8a01._0x3cf0a9,0x747),_0x2166fd(0x36f,0x4e6,_0x3b8a01._0x20d4b1,0x36e)]);function _0x2166fd(_0x22cdfe,_0xd4763,_0xba2816,_0x5a20e2){return _0x419223(_0x22cdfe-0x11d,_0x22cdfe,_0xd4763-_0x56a7bb._0x2150d3,_0x5a20e2-_0x56a7bb._0x40cd1c);}return defineTool({'name':_0x27a806,'description':_0x2166fd(0x40e,_0x3b8a01._0xdf24e4,_0x3b8a01._0x46aea5,_0x3b8a01._0x3bb000),'inputSchema':{'type':_0x2166fd(_0x3b8a01._0x64b47f,0x485,_0x3b8a01._0x1995c5,0x38f),'properties':{'description':{'type':_0x2166fd(_0x3b8a01._0x578d83,0x50e,0x3d6,_0x3b8a01._0x5aa3b6)},'url':{'type':'string'}},'required':['url']},async *'execute'(_0x1be565,_0x2c8e3e){const _0x20c5b5={_0x1cf3b3:0x1c3,_0x5bad40:0x311};function _0x24ad3d(_0x594ab5,_0x44d789,_0x589aee,_0x109bff){return _0x298cf4(_0x594ab5-_0x20c5b5._0x1cf3b3,_0x589aee-_0x20c5b5._0x5bad40,_0x589aee-0x12b,_0x44d789);}const _0x4a2734=(await assertPublicUrl(_0x1be565[_0x11812c(0x787,0x685,0x7b2,_0x5899ba._0x35eea8)],{'lookup':_0x3e8254}))[_0x11812c(0x464,0x465,_0x5899ba._0x4c345e,_0x5899ba._0x2d1b66)]();if(_0x2c8e3e[_0x11812c(_0x5899ba._0x5a4fdb,_0x5899ba._0x43bf2d,_0x5899ba._0x4ec937,_0x5899ba._0x1c45a8)][_0x11812c(0x30b,0x456,0x5cb,0x2ef)])throw new ToolExecutionError('Fetch\x20aborted\x20by\x20user',{'url':_0x4a2734});const _0x2d7f95=createTimeoutSignal(_0x2c8e3e[_0x24ad3d(0x63f,0x546,_0x5899ba._0x267fc,_0x5899ba._0x23d566)],_0x116ab0);let _0x4f4f19='',_0x35ac0e=0x0,_0x418066;try{const _0x475f39=await safeFetch(_0x4a2734,{'headers':{'User-Agent':USER_AGENT},'signal':_0x2d7f95[_0x11812c(0x625,0x5d5,_0x5899ba._0x2a8d84,0x6c9)]},{'lookup':_0x3e8254});if(!_0x475f39['ok'])throw new ToolExecutionError(_0x24ad3d(0x6a5,0x492,0x5e3,_0x5899ba._0xe1d782)+_0x475f39['status']+'\x20'+_0x475f39[_0x24ad3d(_0x5899ba._0xdb687f,0x3b8,0x521,_0x5899ba._0x2cb89d)],{'url':_0x4a2734,'statusCode':_0x475f39['status']});_0x4f4f19=_0x475f39[_0x24ad3d(0x38a,0x550,0x3e0,_0x5899ba._0x39fe23)][_0x11812c(0x6ca,_0x5899ba._0x43384e,_0x5899ba._0x475af1,_0x5899ba._0x43fe92)]('content-type')??'',_0x35ac0e=_0x475f39[_0x24ad3d(_0x5899ba._0x4dfcfc,0x47c,_0x5899ba._0x4a2488,_0x5899ba._0x99a8ad)],_0x418066=await _0x475f39[_0x24ad3d(0x36b,_0x5899ba._0x279c12,0x4e7,0x633)]();}catch(_0x4a4a6a){if(_0x4a4a6a instanceof ToolExecutionError)throw _0x4a4a6a;const _0x143b16=_0x4a4a6a instanceof Error?_0x4a4a6a[_0x11812c(0x582,0x52c,_0x5899ba._0x27fa7c,0x56e)]:String(_0x4a4a6a);throw new ToolExecutionError(_0x143b16,{'url':_0x4a2734});}finally{_0x2d7f95[_0x11812c(_0x5899ba._0x4138cc,_0x5899ba._0x290a70,0x62e,0x640)]();}const _0x1b5abf=new Date()[_0x11812c(_0x5899ba._0x8715cc,0x534,0x424,0x61f)]();function _0x11812c(_0x594ce1,_0x14dba1,_0x4f4175,_0xdd4959){return _0x2166fd(_0x594ce1,_0x14dba1-0x90,_0x4f4175-0x1aa,_0xdd4959-_0xe35256._0x289fa9);}let _0x82d2c1,_0x136915;if(_0x4f4f19[_0x24ad3d(_0x5899ba._0x563e17,_0x5899ba._0x2ff77b,0x606,0x6b5)](_0x24ad3d(_0x5899ba._0x27842f,_0x5899ba._0xa26832,_0x5899ba._0x1cf1a8,0x2ce)))_0x82d2c1=_0x11812c(_0x5899ba._0x503609,_0x5899ba._0x56349f,0x4fa,_0x5899ba._0x4abb7a)+_0x418066+_0x11812c(0x563,_0x5899ba._0x37a470,_0x5899ba._0x4bbec7,0x307),_0x136915=_0x11812c(_0x5899ba._0x39bf62,_0x5899ba._0x1672b0,0x664,_0x5899ba._0x4c01dc);else _0x4f4f19[_0x11812c(0x716,0x6a7,_0x5899ba._0x4217e0,_0x5899ba._0x55e71b)]('text/html')?(_0x82d2c1=_0x4c72a6[_0x24ad3d(_0x5899ba._0x150d04,0x585,0x49c,0x605)](_0x418066),_0x136915=_0x24ad3d(0x497,0x4c9,_0x5899ba._0x54da60,_0x5899ba._0x20e36b)):(_0x82d2c1=_0x418066,_0x136915=_0x24ad3d(_0x5899ba._0x58712b,_0x5899ba._0x16cd49,_0x5899ba._0x4f70b4,_0x5899ba._0x2861cc));return yield createToolOutput(_0x82d2c1,{'url':_0x4a2734,'contentType':_0x4f4f19,'statusCode':_0x35ac0e,'format':_0x136915,'size':_0x418066[_0x24ad3d(0x3ef,_0x5899ba._0x5443ec,0x4d8,0x533)],'fetchedAt':_0x1b5abf}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x283a7f(0x18b,0x1c9,0x2d1,0xe2);function normalizeUrl(_0x32cd84){const _0x5e666c={_0x54f6d5:0x386,_0x172cde:0x306,_0x4d71bd:0x3e5,_0x4e2289:0x2d2,_0x414e7b:0x3dd,_0x4137af:0x2c1,_0x1b05b2:0x2ea,_0x52742a:0x40e,_0x2d4717:0x3df,_0x1b3440:0x265,_0x404597:0x167,_0x1b42f2:0xf3,_0x2615f2:0x30},_0x276aac={_0x5c3cac:0x58,_0x3136b9:0x15b};function _0x16896a(_0x16fbe6,_0x8223,_0x4cd98b,_0x36c2b9){return _0x283a7f(_0x16fbe6-0x125,_0x4cd98b-_0x276aac._0x5c3cac,_0x4cd98b-_0x276aac._0x3136b9,_0x8223);}function _0x63563a(_0x62618c,_0x37efdd,_0xebc4,_0x54ada4){return _0x419223(_0x62618c-0xfa,_0x37efdd,_0x54ada4-0x20f,_0x54ada4-0x1db);}try{const _0x283ce5=new URL(_0x32cd84);for(const _0x523604 of[_0x63563a(0x3b2,_0x5e666c._0x54f6d5,_0x5e666c._0x172cde,0x3a1),_0x16896a(0x43e,0x376,0x2c2,_0x5e666c._0x4d71bd),_0x63563a(_0x5e666c._0x4e2289,0x291,0x2cc,0x405),_0x63563a(_0x5e666c._0x414e7b,_0x5e666c._0x4137af,_0x5e666c._0x1b05b2,_0x5e666c._0x52742a),'utm_content','gclid',_0x63563a(0x3e8,0x3fe,0x37b,_0x5e666c._0x2d4717),'mc_cid',_0x16896a(_0x5e666c._0x1b3440,0x1d6,0x2eb,0x3d5)]){_0x283ce5['searchParams'][_0x63563a(_0x5e666c._0x404597,_0x5e666c._0x1b42f2,_0x5e666c._0x2615f2,0x179)](_0x523604);}return _0x283ce5['toString']();}catch{return _0x32cd84;}}function cseDateRestrict(_0x1809fc){const _0x598d93={_0x210678:0x4cd,_0x395f33:0x172,_0xbd5c64:0x1d3,_0x230f31:0x87},_0x59b1c8={_0x45d903:0x9d},_0x28c205={_0x18c716:0x171,_0x2d5362:0x311,_0x5a5178:0x199};function _0x252baa(_0x4e5aa7,_0x4d7c84,_0x1c2c5d,_0x22f366){return _0x419223(_0x4e5aa7-_0x28c205._0x18c716,_0x4d7c84,_0x22f366-_0x28c205._0x2d5362,_0x22f366-_0x28c205._0x5a5178);}if(_0x1809fc<=0x0)return void 0x0;if(_0x1809fc<=0x1e)return'd'+Math[_0x252baa(0x3be,0x485,_0x598d93._0x210678,0x50a)](0x1,Math['floor'](_0x1809fc));if(_0x1809fc<=0x16d)return'm'+Math['ceil'](_0x1809fc/0x1e);function _0x228d54(_0x20a798,_0x125f42,_0x313827,_0x1419e2){return _0x419223(_0x20a798-0x87,_0x1419e2,_0x125f42-_0x59b1c8._0x45d903,_0x1419e2-0x28);}return'y'+Math[_0x228d54(_0x598d93._0x395f33,_0x598d93._0xbd5c64,0x242,_0x598d93._0x230f31)](_0x1809fc/0x16d);}function addSiteFilters(_0x22293c,_0x5346a2){const _0x445b6f={_0x8c77eb:0x356,_0x33268d:0x44d,_0x111327:0x3e8,_0x55350c:0x2fd,_0xd2b636:0x41e,_0x18159a:0x4f2,_0x5358b9:0x287,_0x306c86:0x3d0,_0x1fc31b:0x1de,_0x41bc00:0xc9,_0x5e29d1:0x1c1},_0x5a997f={_0x49e741:0x2c0},_0xa62d11={_0xb6c51f:0x21b};if(_0x5346a2['length']===0x0)return _0x22293c[_0x101b53(_0x445b6f._0x8c77eb,_0x445b6f._0x33268d,_0x445b6f._0x111327,_0x445b6f._0x55350c)]();function _0x1697ca(_0x5c71ce,_0x2935dc,_0x4d5a47,_0x487b2e){return _0x283a7f(_0x5c71ce-0x118,_0x5c71ce- -_0xa62d11._0xb6c51f,_0x4d5a47-0x38,_0x4d5a47);}function _0x101b53(_0xdfca4f,_0x1f2667,_0x5f3aaa,_0x253b36){return _0x283a7f(_0xdfca4f-0x183,_0x253b36-_0x5a997f._0x49e741,_0x5f3aaa-0x95,_0x5f3aaa);}return(_0x22293c+'\x20('+_0x5346a2[_0x101b53(0x3b4,0x61d,_0x445b6f._0xd2b636,_0x445b6f._0x18159a)](_0x6a1b25=>_0x1697ca(-0x1f9,-0x124,-0x1ea,-0xf1)+_0x6a1b25)[_0x101b53(0x335,0x2e3,_0x445b6f._0x5358b9,_0x445b6f._0x306c86)]('\x20OR\x20')+')')[_0x1697ca(-_0x445b6f._0x1fc31b,-0x2a9,-_0x445b6f._0x41bc00,-_0x445b6f._0x5e29d1)]();}function normalizeType(_0x3be906){const _0x4e56c5={_0x253786:0x145,_0x3493a2:0x1a9,_0x1f6421:0x177,_0x46a549:0x90},_0x5bb7ee={_0x294ccb:0x18a,_0x69b062:0x18b},_0x245fb8={_0x23b4f9:0x1e2,_0x5f4d5e:0x1b9};function _0x34b05e(_0x475b04,_0x1282fd,_0x24fb42,_0x930c3d){return _0x283a7f(_0x475b04-0x116,_0x1282fd- -_0x245fb8._0x23b4f9,_0x24fb42-_0x245fb8._0x5f4d5e,_0x24fb42);}function _0x5eeaae(_0x5e8be0,_0x43a7d8,_0x1447d9,_0x2f62e1){return _0x419223(_0x5e8be0-_0x5bb7ee._0x294ccb,_0x43a7d8,_0x1447d9-0x89,_0x2f62e1-_0x5bb7ee._0x69b062);}return _0x3be906===_0x5eeaae(_0x4e56c5._0x253786,_0x4e56c5._0x3493a2,0xfd,0xae)?'images':_0x34b05e(_0x4e56c5._0x1f6421,0x7a,_0x4e56c5._0x46a549,0x67);}async function fetchJson(_0x10efe9,_0x5355f0,_0x3b3f8f){const _0x4f3d99={_0x61bf87:0x721,_0x6223fb:0x5b6,_0x5bf363:0x178,_0x2b0f85:0x11b,_0x2ce4c4:0xdb,_0x21ef90:0x61a,_0x16c27f:0x61b,_0x21cb16:0x660,_0x16bed2:0x682,_0x2ee690:0x6a4,_0x88cf3:0x5f4,_0x3081cd:0x5ec,_0x3246dd:0x2e6,_0x73b9db:0xe1,_0x2b4ee7:0x197,_0x1b0566:0x1d1,_0x4e679d:0x71,_0x3b935a:0x150,_0x1127c6:0x259,_0x91ba5e:0x8d7,_0x255dd7:0x24,_0x1bc47a:0x37,_0x58dcf8:0x55c,_0x3c8af4:0x283,_0x40869c:0x356,_0x342590:0x235,_0x39f0e8:0x39d,_0x423287:0xa9},_0x2b405e={_0x24a5b2:0xb5},_0x4aa954={_0x39730c:0xa4},_0x40a2be=await fetch(_0x10efe9,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x11e089(0x4fc,0x497,_0x4f3d99._0x61bf87,_0x4f3d99._0x6223fb),..._0x3b3f8f?.[_0x3294da(-0x1aa,-0xab,-_0x4f3d99._0x5bf363,-0x11a)]},'signal':_0x5355f0,..._0x3b3f8f});function _0x3294da(_0xcc0a7c,_0x3297c9,_0x28701c,_0x2e388e){return _0x283a7f(_0xcc0a7c-0xbb,_0x28701c- -0x253,_0x28701c-_0x4aa954._0x39730c,_0xcc0a7c);}function _0x11e089(_0x7d8352,_0x509c29,_0x15a534,_0x481267){return _0x419223(_0x7d8352-0x14b,_0x509c29,_0x481267-0x545,_0x481267-_0x2b405e._0x24a5b2);}if(!_0x40a2be['ok']){let _0x294438,_0xa6cebf;try{_0x294438=await _0x40a2be[_0x3294da(-0x2a,0xcd,-0x71,0x63)]();const _0x173689=JSON[_0x3294da(0x3b,-_0x4f3d99._0x2b0f85,-_0x4f3d99._0x2ce4c4,-0x5d)](_0x294438),_0xc110e5=typeof _0x173689[_0x11e089(_0x4f3d99._0x21ef90,_0x4f3d99._0x16c27f,0x56b,_0x4f3d99._0x21cb16)]===_0x11e089(_0x4f3d99._0x16bed2,_0x4f3d99._0x2ee690,_0x4f3d99._0x88cf3,_0x4f3d99._0x3081cd)?_0x173689['detail'][_0x3294da(-_0x4f3d99._0x3246dd,-_0x4f3d99._0x73b9db,-_0x4f3d99._0x2b4ee7,-0xb6)]:void 0x0;_0xa6cebf=_0x173689['error']?.[_0x3294da(-_0x4f3d99._0x1b0566,_0x4f3d99._0x4e679d,-0xcd,-0x1bc)]??_0x173689[_0x3294da(-_0x4f3d99._0x3b935a,-_0x4f3d99._0x1127c6,-0x197,-0x141)]?.['errors']?.[0x0]?.['message']??_0xc110e5;}catch{}const _0x1ed740=_0xa6cebf?_0x11e089(0x698,0x7c1,_0x4f3d99._0x91ba5e,0x75b)+_0x40a2be['status']+':\x20'+_0xa6cebf:_0x3294da(-_0x4f3d99._0x255dd7,_0x4f3d99._0x1bc47a,0x8b,0x148)+_0x40a2be['status']+'\x20'+_0x40a2be[_0x11e089(0x531,0x717,_0x4f3d99._0x58dcf8,0x699)];throw new ToolExecutionError(_0x1ed740,{'statusCode':_0x40a2be[_0x3294da(-_0x4f3d99._0x3c8af4,-_0x4f3d99._0x40869c,-_0x4f3d99._0x342590,-_0x4f3d99._0x39f0e8)],..._0x294438?{'body':_0x294438}:{}});}return await _0x40a2be[_0x3294da(-0x150,-0xa3,-_0x4f3d99._0x423287,-0x9a)]();}async function hydrateResults(_0x4c0398,_0x572bdd,_0x534a9b,_0x1a0760){const _0x4722e0={_0x5bb6d:0x4c8,_0x18d4c8:0x446,_0x271e4e:0x260,_0x2d76f2:0x29d,_0x2bb296:0x267,_0x346d44:0x29e,_0x2041a5:0x3a5,_0x29c316:0x534,_0x219033:0x441},_0x835e92={_0x41a1cc:0x2d7,_0x514aae:0x179},_0x4b9a91={_0x5ab852:0x364,_0x20c443:0x35a,_0xfa7abe:0x17,_0x464738:0x100,_0x242873:0xb8,_0x44f5dc:0x52,_0x172f75:0x3f,_0x31add0:0x10f,_0x2305e9:0xcd,_0x14045f:0x99,_0x583a68:0x16d,_0x5e6522:0x130,_0x537b16:0x8e,_0x488381:0xae,_0x2c3430:0x19f,_0xc3b188:0xb6,_0x377370:0x5a,_0xae87a3:0x232,_0x471525:0x129,_0x1b7686:0x139,_0x5ab680:0x18f,_0x49d49f:0x1dc,_0x3b0e3d:0x7,_0x2cab95:0x2e6,_0x17620e:0x380,_0x416ca5:0x432,_0x41a750:0x1b5,_0x3de8cb:0x1b5,_0x153c11:0x31d,_0x2acdcc:0x24f,_0x3e40d8:0x266,_0x54fc21:0x2b7,_0x267a20:0x391,_0x17d913:0xd2,_0xc132cb:0xf3,_0x4a052c:0x14f,_0x32770b:0xb3,_0x24ac0b:0xd1},_0x27faf={_0x30872c:0x77,_0x182fba:0x27d,_0x3f21e1:0x5c},_0x12cd72={_0x48dd22:0x0,_0x2a78e7:0x7d,_0x785964:0x97},_0x439413={_0x16657b:0x21};function _0x5995a1(_0x3671c0,_0x24793b,_0x501c01,_0x9f4786){return _0x419223(_0x3671c0-0x1a,_0x501c01,_0x24793b-0x1b5,_0x9f4786-_0x439413._0x16657b);}const _0xecb6a8=await Promise['all'](_0x4c0398[_0x38de02(_0x4722e0._0x5bb6d,_0x4722e0._0x18d4c8,0x389,0x2e0)](0x0,0xa)[_0x5995a1(_0x4722e0._0x271e4e,0x31f,_0x4722e0._0x2d76f2,0x44e)](async _0x32baee=>{function _0xef822f(_0x4ad00a,_0x446324,_0x585a36,_0x302c23){return _0x5995a1(_0x4ad00a-_0x12cd72._0x48dd22,_0x4ad00a- -_0x12cd72._0x2a78e7,_0x302c23,_0x302c23-_0x12cd72._0x785964);}function _0x2efea2(_0x5f37f0,_0x38b68d,_0x11f7f1,_0x17ac21){return _0x5995a1(_0x5f37f0-_0x27faf._0x30872c,_0x17ac21- -_0x27faf._0x182fba,_0x5f37f0,_0x17ac21-_0x27faf._0x3f21e1);}try{const _0x24706e=await safeFetch(_0x32baee[_0xef822f(0x34f,_0x4b9a91._0x5ab852,0x468,_0x4b9a91._0x20c443)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x572bdd,'Accept':_0x2efea2(_0x4b9a91._0xfa7abe,0x1f8,0x257,0xf3)},'signal':_0x534a9b},{'lookup':_0x1a0760});if(!_0x24706e['ok'])return _0x32baee;const _0x448729=await _0x24706e[_0x2efea2(0x1be,-_0x4b9a91._0x464738,_0x4b9a91._0x242873,_0x4b9a91._0x44f5dc)](),_0x4d6ba6=load(_0x448729),_0x4f9712=_0x4d6ba6(_0x2efea2(-0x71,-0x1cf,-0x201,-0x97))[_0x2efea2(-0x209,-0xe4,_0x4b9a91._0x172f75,-0x129)]('content')||_0x4d6ba6('title')[_0xef822f(0xb8,_0x4b9a91._0x31add0,0xf3,0x22c)]()[_0xef822f(0x252,0x128,0x353,0xf5)]()['trim'](),_0x4e5f87=_0x4d6ba6(_0xef822f(_0x4b9a91._0x2305e9,_0x4b9a91._0x14045f,0x1aa,0x16a))[_0xef822f(0xd7,_0x4b9a91._0x583a68,0x12d,_0x4b9a91._0x5e6522)](_0x2efea2(-_0x4b9a91._0x537b16,-_0x4b9a91._0x488381,-_0x4b9a91._0x2c3430,-_0x4b9a91._0xc3b188))||_0x4d6ba6(_0x2efea2(0x188,_0x4b9a91._0x377370,-0x6f,0x11))[_0x2efea2(-0x241,-_0x4b9a91._0xae87a3,0x3b,-_0x4b9a91._0x471525)](_0x2efea2(-_0x4b9a91._0x1b7686,-0x1d5,-_0x4b9a91._0x5ab680,-0xb6))||_0x32baee[_0x2efea2(0x188,_0x4b9a91._0x49d49f,_0x4b9a91._0x3b0e3d,0x115)],_0x20b0f9=_0x4d6ba6(_0xef822f(_0x4b9a91._0x2cab95,_0x4b9a91._0x17620e,_0x4b9a91._0x416ca5,0x400))['attr']('content')||_0x4d6ba6(_0xef822f(_0x4b9a91._0x41a750,_0x4b9a91._0x3de8cb,0x6b,0x10e))['attr'](_0xef822f(0x204,_0x4b9a91._0x153c11,_0x4b9a91._0x2acdcc,0x98))||_0x32baee['publishedAt'],_0x4acbe8=_0x4d6ba6(_0xef822f(0x28b,_0x4b9a91._0x3e40d8,_0x4b9a91._0x54fc21,_0x4b9a91._0x267a20))['attr'](_0xef822f(0x2ac,0x3ec,0x1f3,0x1ca));return{..._0x32baee,'title':_0x4f9712||_0x32baee[_0xef822f(0x208,_0x4b9a91._0x17d913,0xbb,0x2d2)],'snippet':_0x4e5f87,'url':_0x4acbe8?normalizeUrl(new URL(_0x4acbe8,_0x32baee[_0x2efea2(0x150,0xc1,_0x4b9a91._0xc132cb,_0x4b9a91._0x4a052c)])[_0x2efea2(0x20,-_0x4b9a91._0x32770b,0x7f,-_0x4b9a91._0x24ac0b)]()):_0x32baee['url'],'publishedAt':_0x20b0f9};}catch{return _0x32baee;}})),_0x102de2=new Map(_0x4c0398[_0x5995a1(0x1cc,_0x4722e0._0x2bb296,0x28a,_0x4722e0._0x346d44)](0x0,0xa)[_0x38de02(0x358,_0x4722e0._0x2041a5,0x441,0x543)]((_0x5249be,_0x4a78e6)=>[_0x5249be['url'],_0xecb6a8[_0x4a78e6]]));function _0x38de02(_0x18485f,_0x2c241a,_0x18f96c,_0x775f49){return _0x419223(_0x18485f-0x66,_0x2c241a,_0x18f96c-_0x835e92._0x41a1cc,_0x775f49-_0x835e92._0x514aae);}return _0x4c0398[_0x38de02(_0x4722e0._0x29c316,0x451,_0x4722e0._0x219033,0x3dd)](_0x528126=>_0x102de2[_0x38de02(0x529,0x5d3,0x4f6,0x3a7)](_0x528126['url'])??_0x528126);}function formatResults(_0x151cf9){const _0xae5f76={_0x45726b:0x4aa,_0x43df7c:0x468,_0x1e9a97:0x33e,_0x672b43:0x41f,_0x588650:0x557,_0x5919e5:0x2fd,_0x39ee9c:0x374},_0x5c689c={_0x2399f3:0xe0,_0x3b9cfd:0x100,_0x30a67f:0x7f,_0x3a16ac:0x1f3,_0xb24ce8:0x305,_0x22886f:0x244,_0x1b5ee5:0x37b,_0x4fa70e:0x15c,_0x2d4fdc:0x24b,_0x509ada:0x189,_0xb3f45e:0x253,_0x141825:0x25c},_0x1f9e70={_0x5cb645:0x14e},_0x588799={_0x2ecf9e:0x100},_0x2722b6={_0x9d9816:0x57,_0x662573:0x3d0,_0x82e8de:0x192};function _0x56ff19(_0x4a6db9,_0x29ef39,_0x2d01db,_0x346327){return _0x419223(_0x4a6db9-_0x2722b6._0x9d9816,_0x4a6db9,_0x2d01db-_0x2722b6._0x662573,_0x346327-_0x2722b6._0x82e8de);}function _0xdac8cf(_0x3b9ff7,_0x130ebf,_0x487b09,_0x23e2f3){return _0x419223(_0x3b9ff7-_0x588799._0x2ecf9e,_0x23e2f3,_0x3b9ff7-0x2b5,_0x23e2f3-0x1db);}if(_0x151cf9[_0x56ff19(_0xae5f76._0x45726b,0x41a,0x4db,0x5de)]===0x0)return _0xdac8cf(_0xae5f76._0x43df7c,_0xae5f76._0x1e9a97,0x521,0x58d);return _0x151cf9[_0xdac8cf(_0xae5f76._0x672b43,0x571,_0xae5f76._0x588650,0x4d7)](_0x18f982=>{const _0x50853f={_0x6b7ec:0x177,_0x461e98:0x2ad},_0x4675e5=[_0x18f982[_0x658ed(_0x5c689c._0x2399f3,0xb5,_0x5c689c._0x3b9cfd,-_0x5c689c._0x30a67f)]['rank']+'.\x20'+_0x18f982[_0x658ed(_0x5c689c._0x3a16ac,_0x5c689c._0xb24ce8,0x123,0x11b)],_0x18f982[_0x658ed(0x33a,0x1d3,0x486,_0x5c689c._0x22886f)]];function _0x5a074b(_0x994f07,_0x417b9a,_0x441cd8,_0x49686d){return _0xdac8cf(_0x49686d- -0xaf,_0x417b9a-0x1de,_0x441cd8-_0x1f9e70._0x5cb645,_0x441cd8);}if(_0x18f982[_0x5a074b(_0x5c689c._0x1b5ee5,0x3e0,0x2e0,0x3e3)])_0x4675e5[_0x658ed(0x1de,_0x5c689c._0x4fa70e,0x11f,0x244)](_0x18f982[_0x658ed(0x300,0x1a5,_0x5c689c._0x2d4fdc,0x422)]);if(_0x18f982['publishedAt'])_0x4675e5['push'](_0x658ed(_0x5c689c._0x509ada,_0x5c689c._0xb3f45e,0x23e,_0x5c689c._0x141825)+_0x18f982['publishedAt']);function _0x658ed(_0x26b7f9,_0x36a9be,_0x1aae34,_0x53e0e1){return _0x56ff19(_0x53e0e1,_0x36a9be-_0x50853f._0x6b7ec,_0x26b7f9- -_0x50853f._0x461e98,_0x53e0e1-0xec);}return _0x4675e5['join']('\x0a');})[_0xdac8cf(_0xae5f76._0x5919e5,_0xae5f76._0x39ee9c,0x46a,0x23a)]('\x0a\x0a');}async function searchOllama(_0x1d27ee,_0x675572,_0x19971a){const _0x5d73cd={_0x1957a0:0x305,_0x16717b:0x2d8,_0x1875aa:0x2a7,_0x46b223:0x31a,_0x224bc5:0x328,_0x252649:0x2bf,_0x1b9d5a:0x18a,_0x59535e:0x39b,_0x543eaf:0x27b,_0x5de8fc:0x4,_0xb774d8:0x120,_0x284665:0x272,_0x2d2b6b:0xe1,_0x4843d2:0xdf,_0x162bc1:0x1ae,_0x1be809:0x2bd,_0x10b128:0x292,_0x442fc6:0x25d,_0x384b24:0x15b,_0xd24c39:0x329,_0x90bd95:0x331,_0x3548a1:0x2af,_0x11ee86:0x2b8},_0x10ec6b={_0x43b7f0:0xcf,_0x25eaaf:0x1dd,_0x3637b6:0xf8,_0x3bde7f:0x5a,_0x2c96ab:0x42,_0x55039d:0x11b,_0x7ff3a2:0x104,_0x22e73e:0x23,_0x5dddca:0xde,_0x274dd1:0x128,_0xeaded0:0x21b},_0x4e48c7={_0x19b372:0xf6},_0x3a8af9={_0x5d061b:0x124,_0x1f8ab8:0x58},_0x382026=Math[_0x1f0b40(_0x5d73cd._0x1957a0,_0x5d73cd._0x16717b,0x53a,0x3e5)](0x1,Math[_0x1f0b40(_0x5d73cd._0x1875aa,_0x5d73cd._0x46b223,_0x5d73cd._0x224bc5,_0x5d73cd._0x252649)](0xa,_0x675572[_0x443095(_0x5d73cd._0x1b9d5a,0x22a,0x172,0x15e)])),_0xd680f5=addSiteFilters(_0x675572[_0x1f0b40(0x107,0x21f,_0x5d73cd._0x59535e,_0x5d73cd._0x543eaf)],_0x675572[_0x443095(-_0x5d73cd._0x5de8fc,0x174,_0x5d73cd._0xb774d8,_0x5d73cd._0x284665)]),_0x1920d2=await fetchJson(_0x1f0b40(0x36c,0x3df,0x2ea,0x3e4),_0x19971a,{'method':'POST','headers':{'Authorization':'Bearer\x20'+_0x1d27ee[_0x1f0b40(_0x5d73cd._0x2d2b6b,0xde,0x136,0x243)]},'body':JSON[_0x1f0b40(_0x5d73cd._0x4843d2,0xd8,0x176,_0x5d73cd._0x162bc1)]({'query':_0xd680f5,'max_results':_0x382026})}),_0x4d7e0a=_0x1920d2[_0x443095(0x1b9,0x326,0x418,_0x5d73cd._0x1be809)]??[];function _0x443095(_0x396dd7,_0x170079,_0xbd73c4,_0x56732d){return _0x283a7f(_0x396dd7-0x68,_0x170079-0x2b,_0xbd73c4-0xfd,_0x396dd7);}function _0x1f0b40(_0x142cbf,_0x13b7cd,_0x2bbf09,_0x516843){return _0x283a7f(_0x142cbf-0x1e2,_0x516843-_0x3a8af9._0x5d061b,_0x2bbf09-_0x3a8af9._0x1f8ab8,_0x13b7cd);}const _0x543f59=_0x4d7e0a[_0x443095(_0x5d73cd._0x10b128,_0x5d73cd._0x442fc6,0x3b6,_0x5d73cd._0x384b24)]((_0x32e967,_0x3ba563)=>{const _0x599b74={_0x2746e0:0x1aa,_0x1fbc90:0x226},_0x4cf27f=_0x32e967[_0x467dff(_0x10ec6b._0x43b7f0,0x353,_0x10ec6b._0x25eaaf,0x1d2)]||'';let _0x9bfab8;function _0x467dff(_0xfbedf8,_0x2f25c1,_0x177b09,_0x204a14){return _0x1f0b40(_0xfbedf8-0xba,_0x204a14,_0x177b09-_0x599b74._0x2746e0,_0x177b09- -_0x599b74._0x1fbc90);}function _0x22bfe9(_0x4e250d,_0xef7f9f,_0x91a9b0,_0x1b7982){return _0x443095(_0xef7f9f,_0x4e250d- -0x1,_0x91a9b0-_0x4e48c7._0x19b372,_0x1b7982-0x10e);}try{_0x9bfab8=new URL(_0x4cf27f)['host'];}catch{_0x9bfab8=null;}return{'title':_0x32e967[_0x467dff(0x11a,_0x10ec6b._0x3637b6,0x96,_0x10ec6b._0x3bde7f)]||_0x467dff(-_0x10ec6b._0x2c96ab,0xf6,0x20,_0x10ec6b._0x55039d),'url':normalizeUrl(_0x4cf27f),'snippet':_0x32e967[_0x22bfe9(_0x10ec6b._0x7ff3a2,-_0x10ec6b._0x22e73e,-0x13,-0x6f)]??null,'displayUrl':_0x9bfab8,'favicon':null,'publishedAt':null,'source':{'engine':_0x467dff(0x52,_0x10ec6b._0x5dddca,_0x10ec6b._0x274dd1,_0x10ec6b._0xeaded0),'rank':_0x3ba563+0x1}};});return{'items':_0x543f59[_0x1f0b40(_0x5d73cd._0xd24c39,_0x5d73cd._0x90bd95,_0x5d73cd._0x3548a1,0x29e)](0x0,_0x382026),'engine':_0x1f0b40(0x2b5,0x4c3,_0x5d73cd._0x11ee86,0x34e)};}async function searchTavily(_0x5bd281,_0x2c203e,_0x25da23){const _0x14abef={_0x3aa35b:0x6ac,_0x4c9168:0x796,_0x5e2d24:0x7d0,_0x16f0a5:0x1f,_0x58631b:0x1b,_0x637d7d:0x698,_0x38ca95:0x5d1,_0x449508:0x569,_0x5bacf5:0x4b4,_0x3add1f:0x4c7,_0x2c01e0:0x27,_0x32a5f6:0x2b8,_0x5b021e:0x534,_0x2bce9c:0x476,_0x3d2de8:0x4a,_0x154bfb:0x98,_0x26be3e:0x96,_0x5dd5bb:0x56,_0x17653a:0x1b1,_0x508300:0x5e,_0x590de3:0x23,_0x1844d3:0x475,_0x52a73c:0x850,_0x1f4052:0x7e5,_0x5a6656:0x114,_0x116261:0x178,_0x26e990:0x62c,_0x4ef96f:0x695},_0x357caf={_0x1e85a7:0x777,_0x15df47:0x8a3,_0x593a28:0x75c,_0x52800e:0x6f9,_0x367c12:0x738,_0x226160:0x51d,_0x1189cb:0x3c9,_0x4aca20:0x479,_0xf297b8:0x4c8,_0x3bc25a:0x648,_0x53d09b:0x556,_0x112b67:0x30b},_0x54dabc={_0x4238bc:0x1a3},_0x1bfdf={_0x218b06:0x3eb,_0x5da565:0x90},_0x4cad59=Math[_0x43f971(_0x14abef._0x3aa35b,_0x14abef._0x4c9168,_0x14abef._0x5e2d24,0x54a)](0x1,Math['min'](0x14,_0x2c203e['count'])),_0x1b8cbf={'query':_0x2c203e[_0x4a2a02(_0x14abef._0x16f0a5,_0x14abef._0x58631b,0x1a2,0x3b)],'max_results':_0x4cad59,'search_depth':_0x5bd281[_0x43f971(_0x14abef._0x637d7d,_0x14abef._0x38ca95,_0x14abef._0x449508,0x553)]??_0x43f971(_0x14abef._0x5bacf5,_0x14abef._0x3add1f,0x53e,0x421),'topic':_0x5bd281[_0x4a2a02(_0x14abef._0x2c01e0,-0x155,-0x128,-0xc4)]??_0x4a2a02(0x29d,_0x14abef._0x32a5f6,0x16b,0x163)};if(_0x2c203e[_0x43f971(_0x14abef._0x5b021e,_0x14abef._0x2bce9c,0x565,0x6ad)]['length']>0x0)_0x1b8cbf[_0x4a2a02(0xde,0xff,_0x14abef._0x3d2de8,0x98)]=_0x2c203e[_0x43f971(_0x14abef._0x5b021e,0x65e,0x477,0x596)];function _0x43f971(_0x4c11b2,_0x3c4bda,_0x4a8f0e,_0x248b38){return _0x283a7f(_0x4c11b2-0x155,_0x4c11b2-_0x1bfdf._0x218b06,_0x4a8f0e-_0x1bfdf._0x5da565,_0x4a8f0e);}const _0x281be9=await fetchJson(_0x4a2a02(-0x17e,-0xb3,-_0x14abef._0x154bfb,-_0x14abef._0x26be3e),_0x25da23,{'method':_0x43f971(0x505,0x501,0x51d,0x4a7),'headers':{'Authorization':_0x4a2a02(0x202,_0x14abef._0x5dd5bb,0x2e7,_0x14abef._0x17653a)+_0x5bd281[_0x4a2a02(0xd5,0x11a,-_0x14abef._0x508300,_0x14abef._0x590de3)],'Content-Type':'application/json'},'body':JSON[_0x43f971(_0x14abef._0x1844d3,_0x14abef._0x38ca95,0x464,0x548)](_0x1b8cbf)}),_0x4245e7=_0x281be9[_0x43f971(0x6e6,_0x14abef._0x52a73c,0x6af,_0x14abef._0x1f4052)]??[];function _0x4a2a02(_0x3888cb,_0x383ced,_0x3878c6,_0x35426b){return _0x283a7f(_0x3888cb-0xd1,_0x35426b- -0x11c,_0x3878c6-_0x54dabc._0x4238bc,_0x3888cb);}const _0x31e091=_0x4245e7[_0x4a2a02(0xb1,_0x14abef._0x5a6656,0x1f6,0x116)]((_0x223dea,_0x216b89)=>{const _0x43ae16={_0x50c36d:0xd4,_0x1ba01c:0x11e},_0x2f5f50={_0x4b2bb9:0x1ba},_0x297a1a=_0x223dea[_0x32eca9(0x768,0x6ec,_0x357caf._0x1e85a7,_0x357caf._0x15df47)]||'';let _0x49a278;function _0xc866c8(_0x579158,_0x5a6398,_0x12dd44,_0x3ef953){return _0x43f971(_0x5a6398- -_0x2f5f50._0x4b2bb9,_0x5a6398-0x16c,_0x12dd44,_0x3ef953-0x28);}try{_0x49a278=new URL(_0x297a1a)[_0x32eca9(0x720,_0x357caf._0x593a28,_0x357caf._0x52800e,_0x357caf._0x367c12)];}catch{_0x49a278=null;}function _0x32eca9(_0xa09271,_0x110ba8,_0x53db95,_0x5633ee){return _0x43f971(_0x53db95-0xad,_0x110ba8-_0x43ae16._0x50c36d,_0x5633ee,_0x5633ee-_0x43ae16._0x1ba01c);}return{'title':_0x223dea[_0xc866c8(_0x357caf._0x226160,_0x357caf._0x1189cb,_0x357caf._0x4aca20,_0x357caf._0xf297b8)]||_0x32eca9(0x65f,_0x357caf._0x3bc25a,0x5ba,_0x357caf._0x53d09b),'url':normalizeUrl(_0x297a1a),'snippet':_0x223dea[_0xc866c8(0x479,_0x357caf._0x112b67,0x223,0x308)]??null,'displayUrl':_0x49a278,'favicon':null,'publishedAt':null,'source':{'engine':'tavily','rank':_0x216b89+0x1}};});return{'items':_0x31e091[_0x4a2a02(-0xca,-0xd9,_0x14abef._0x116261,_0x14abef._0x508300)](0x0,_0x4cad59),'engine':_0x43f971(_0x14abef._0x26e990,0x4d9,0x63b,_0x14abef._0x4ef96f)};}async function searchGoogleCse(_0x23d82c,_0x1a102f,_0x5002cd){const _0x3f7b29={_0x2b0fb8:0x4f2,_0xd1205:0x3ab,_0x5cfbbe:0x40e,_0x46bf50:0x374,_0x10932c:0x388,_0x5399f0:0x238,_0x186f28:0x48e,_0x22125f:0x4fb,_0x32b10a:0x305,_0x190a8e:0x4f7,_0x345242:0x411,_0x291e3f:0x35a,_0x7753f8:0x441,_0x42e152:0x2e6,_0x26bd6d:0x467,_0x3f741f:0x32b,_0x46359d:0x2e8,_0x189596:0x3bc,_0x4279b8:0x463,_0x241e22:0x543,_0x41decc:0x61e,_0x1abc0a:0x324,_0x250cf8:0x447,_0x548ce0:0x394,_0x2d6b33:0x325,_0x3895d9:0x31a,_0x203c02:0x22e,_0x3dc42b:0x370,_0x131434:0x284,_0x23b3ca:0x12f,_0x5a456e:0x2c0,_0x547d83:0x404,_0x589527:0x581,_0x269865:0x35e,_0x14a5d2:0x352,_0x7d2529:0x31a,_0x2e5d00:0x449,_0x3b551c:0x2e7,_0x4d1961:0x46c,_0x1d0afe:0x38e,_0x49a1fa:0x31a,_0x25d2f4:0x1d9,_0x29863f:0x49e,_0x15f805:0x4d1,_0xc45190:0x370,_0x50183b:0x536,_0x4eb719:0x3ec,_0x1624d5:0x404,_0x5ba454:0x272,_0x24e409:0x3e0,_0x57fa95:0x4c3,_0x483028:0x4b1,_0x53eb4d:0x4e2,_0x14de5a:0x32d,_0x967685:0x339,_0x140e38:0x55c,_0x429015:0x4af,_0x22d908:0x32f,_0x595ce5:0x27f,_0x27d092:0x377,_0x54d101:0x3fc,_0x19e036:0x412,_0x2ec571:0x574,_0x183be6:0x31a,_0x525e05:0x471,_0x5590bf:0x1a6,_0x2c6d07:0x41c,_0x15521e:0x3f8,_0xba8e2c:0x436,_0x59bb14:0x3df,_0x533509:0x329,_0x43b20c:0x422,_0x75558e:0x44c,_0x385358:0x376,_0x5295fd:0x1fb,_0x26b6e4:0x48c,_0x5ac9f2:0x42a,_0x282e53:0x48a,_0x17f5c1:0x415,_0x4ecc2f:0x231,_0x491eba:0x24f,_0xad279d:0x349,_0x4a6ee8:0x56a,_0x34bd34:0x446,_0x53a60a:0x3ea,_0x37efd7:0x35c,_0x23f165:0x25d,_0x32c1b2:0x481,_0x26d3c8:0x3f7,_0x32bd47:0x53a,_0x5ebd62:0x240,_0x2489bd:0x1ec,_0x59ea03:0x428,_0xae810b:0x2b4,_0x14740f:0x2a9,_0x2723e4:0x40b,_0x1dd506:0x49d,_0x2f932b:0x395,_0x3ab103:0x3b0,_0x576ebc:0x5cf,_0x2d96ba:0x12d,_0x50bb06:0xe8,_0x543c86:0x1e2,_0x4d0056:0x2c6,_0x315b23:0x3e1,_0x273ccf:0x4d4,_0x4192f7:0x3f6,_0x3445dc:0x53a,_0x507709:0x283,_0x3268ab:0x2fd,_0xf22e49:0x2ce,_0x13ac79:0x3be,_0x2a6b74:0x285,_0x39214f:0x369,_0x28a5b0:0x390,_0x1f2ccf:0x23e},_0x40e9fd={_0x565e5c:0x11f,_0x392d15:0x128},_0x393444={_0x5b0061:0xaa,_0x285278:0x9b},_0x259b43=Math['max'](0x1,Math[_0x1433c6(_0x3f7b29._0x2b0fb8,_0x3f7b29._0xd1205,_0x3f7b29._0x5cfbbe,_0x3f7b29._0x46bf50)](0x32,_0x1a102f[_0x15a450(0x2ae,_0x3f7b29._0x10932c,_0x3f7b29._0x5399f0,0x372)]));function _0x15a450(_0x28233d,_0x2eb263,_0x1659d4,_0x2e54aa){return _0x283a7f(_0x28233d-_0x393444._0x5b0061,_0x2eb263-0x189,_0x1659d4-_0x393444._0x285278,_0x28233d);}if(_0x1a102f[_0x1433c6(0x444,_0x3f7b29._0x186f28,_0x3f7b29._0x22125f,0x5be)]+_0x259b43>0x64)throw new ToolExecutionError(_0x1433c6(0x3c6,_0x3f7b29._0x32b10a,0x367,0x38c),{'offset':_0x1a102f[_0x15a450(_0x3f7b29._0x190a8e,_0x3f7b29._0x345242,_0x3f7b29._0x291e3f,_0x3f7b29._0x7753f8)],'count':_0x259b43,'maxResults':0x64});const _0xbccb7e=cseDateRestrict(_0x1a102f[_0x15a450(0x353,0x495,0x3f2,0x3f6)]),_0x43144a=addSiteFilters(_0x1a102f[_0x1433c6(_0x3f7b29._0x42e152,_0x3f7b29._0x26bd6d,0x3ca,_0x3f7b29._0x3f741f)],_0x1a102f[_0x1433c6(_0x3f7b29._0x46359d,0x244,_0x3f7b29._0x189596,_0x3f7b29._0x4279b8)]);let _0x573c66=0x0,_0xbdba67=_0x1a102f[_0x1433c6(0x622,_0x3f7b29._0x241e22,0x4fb,_0x3f7b29._0x41decc)]+0x1;const _0x2a04c7=[];while(_0x573c66<_0x259b43){const _0x246884=Math[_0x15a450(0x260,_0x3f7b29._0x1abc0a,_0x3f7b29._0x250cf8,_0x3f7b29._0x548ce0)](0xa,_0x259b43-_0x573c66),_0x17758e=new URL(_0x15a450(0x474,0x31f,_0x3f7b29._0x2d6b33,0x398));_0x17758e[_0x15a450(0x493,_0x3f7b29._0x3895d9,0x1b3,0x307)][_0x15a450(0x2e0,0x376,0x24d,_0x3f7b29._0x203c02)](_0x15a450(_0x3f7b29._0x3dc42b,_0x3f7b29._0x131434,0x261,_0x3f7b29._0x23b3ca),_0x23d82c['googleCseKey']),_0x17758e[_0x1433c6(_0x3f7b29._0x5a456e,0x492,_0x3f7b29._0x547d83,_0x3f7b29._0x589527)]['set']('cx',_0x23d82c[_0x15a450(0x3bd,_0x3f7b29._0x269865,0x3cb,0x2e9)]),_0x17758e[_0x15a450(_0x3f7b29._0x14a5d2,_0x3f7b29._0x7d2529,_0x3f7b29._0x2e5d00,0x2ba)][_0x15a450(_0x3f7b29._0x3b551c,0x376,_0x3f7b29._0x4d1961,0x489)]('q',_0x43144a),_0x17758e[_0x15a450(_0x3f7b29._0x1d0afe,_0x3f7b29._0x49a1fa,_0x3f7b29._0x25d2f4,0x389)][_0x15a450(_0x3f7b29._0x29863f,0x376,0x200,0x278)]('num',String(_0x246884)),_0x17758e[_0x1433c6(_0x3f7b29._0x15f805,0x49f,_0x3f7b29._0x547d83,_0x3f7b29._0xc45190)][_0x1433c6(_0x3f7b29._0x50183b,0x339,0x460,0x4ef)](_0x15a450(0x3fb,0x3be,_0x3f7b29._0x4eb719,0x3b2),String(_0xbdba67)),_0x17758e[_0x1433c6(0x375,0x3aa,_0x3f7b29._0x1624d5,0x327)][_0x15a450(0x421,0x376,0x4e8,0x1fb)]('safe',_0x1a102f['safe']?_0x15a450(_0x3f7b29._0x5ba454,_0x3f7b29._0x24e409,_0x3f7b29._0x57fa95,0x297):_0x15a450(_0x3f7b29._0x483028,0x396,_0x3f7b29._0x53eb4d,_0x3f7b29._0x14de5a));_0x1a102f[_0x15a450(_0x3f7b29._0x967685,0x3e4,_0x3f7b29._0x140e38,0x2e3)]&&(_0x17758e[_0x1433c6(0x486,_0x3f7b29._0x429015,0x404,_0x3f7b29._0x22d908)]['set']('hl',_0x1a102f[_0x15a450(0x279,0x3e4,_0x3f7b29._0x595ce5,_0x3f7b29._0x27d092)]),_0x17758e['searchParams']['set']('lr',_0x15a450(_0x3f7b29._0x54d101,_0x3f7b29._0x19e036,0x53f,_0x3f7b29._0x2ec571)+_0x1a102f[_0x15a450(0x34a,0x3e4,0x308,0x507)]));if(_0x1a102f[_0x15a450(0x37d,0x309,0x3b9,0x411)])_0x17758e[_0x15a450(0x397,_0x3f7b29._0x183be6,0x411,0x45b)]['set']('gl',_0x1a102f[_0x15a450(_0x3f7b29._0x525e05,0x309,0x1b8,0x200)]['toUpperCase']());if(_0x1a102f[_0x1433c6(0x2f8,_0x3f7b29._0x5590bf,0x312,0x45a)]===_0x15a450(_0x3f7b29._0x2c6d07,0x2c5,0x316,_0x3f7b29._0x15521e))_0x17758e[_0x1433c6(0x3b8,0x355,_0x3f7b29._0x547d83,0x533)][_0x1433c6(_0x3f7b29._0xba8e2c,_0x3f7b29._0x59bb14,0x460,0x4ec)](_0x1433c6(0x45a,0x4e6,0x523,0x3ef),_0x15a450(_0x3f7b29._0x533509,0x2b4,0x289,_0x3f7b29._0x43b20c));if(_0xbccb7e)_0x17758e['searchParams'][_0x15a450(_0x3f7b29._0x75558e,_0x3f7b29._0x385358,_0x3f7b29._0x5295fd,_0x3f7b29._0x26b6e4)](_0x1433c6(0x4dc,_0x3f7b29._0x5ac9f2,_0x3f7b29._0x282e53,_0x3f7b29._0x17f5c1),_0xbccb7e);const _0xefebc4=await fetchJson(_0x17758e['toString'](),_0x5002cd),_0x3d4423=_0xefebc4[_0x15a450(_0x3f7b29._0x4ecc2f,_0x3f7b29._0x491eba,_0x3f7b29._0xad279d,0x1ae)]??[];if(_0x3d4423[_0x1433c6(0x4fd,_0x3f7b29._0x4a6ee8,_0x3f7b29._0x34bd34,_0x3f7b29._0x53a60a)]===0x0)break;const _0x4b6b34=_0x573c66;for(let _0x1b8663=0x0;_0x1b8663<_0x3d4423[_0x15a450(0x25d,_0x3f7b29._0x37efd7,0x37f,_0x3f7b29._0x23f165)];_0x1b8663++){const _0x168f9a=_0x3d4423[_0x1b8663];if(!_0x168f9a)continue;const _0x55ca7c=_0x168f9a[_0x1433c6(0x22d,0x429,_0x3f7b29._0x269865,_0x3f7b29._0x32c1b2)]||_0x168f9a[_0x15a450(0x277,0x2b4,_0x3f7b29._0x131434,0x294)]?.[_0x15a450(0x544,_0x3f7b29._0x26d3c8,_0x3f7b29._0x50183b,_0x3f7b29._0x32bd47)]||'',_0x5850ac=_0x168f9a[_0x15a450(_0x3f7b29._0x5ebd62,0x321,_0x3f7b29._0x2489bd,0x216)]||_0x168f9a[_0x15a450(_0x3f7b29._0x59ea03,_0x3f7b29._0xae810b,0x188,0x30c)]?.[_0x1433c6(0x4f2,_0x3f7b29._0x14740f,_0x3f7b29._0x2723e4,0x2f9)]||_0x1433c6(0x418,_0x3f7b29._0x1dd506,_0x3f7b29._0x2f932b,_0x3f7b29._0x3ab103),_0x143844=_0x168f9a[_0x1433c6(0x692,_0x3f7b29._0x576ebc,0x518,0x3f1)]||_0x168f9a['htmlSnippet']?.[_0x15a450(0x292,0x1f1,_0x3f7b29._0x2d96ba,_0x3f7b29._0x50bb06)](/<[^>]+>/g,''),_0x4549fe=_0x168f9a[_0x1433c6(_0x3f7b29._0x543c86,_0x3f7b29._0x4d0056,0x2e3,0x20a)]?.['metatags']?.[0x0]??{};let _0xc4a178;try{_0xc4a178=new URL(_0x55ca7c)[_0x1433c6(_0x3f7b29._0x315b23,0x3ee,_0x3f7b29._0x273ccf,0x63f)];}catch{_0xc4a178=null;}_0x2a04c7[_0x1433c6(0x542,0x51a,_0x3f7b29._0x4192f7,_0x3f7b29._0x3445dc)]({'title':_0x5850ac,'url':normalizeUrl(_0x55ca7c),'snippet':_0x143844??null,'displayUrl':_0xc4a178,'favicon':null,'publishedAt':_0x4549fe[_0x15a450(_0x3f7b29._0x507709,_0x3f7b29._0x3268ab,0x335,_0x3f7b29._0xf22e49)]||_0x4549fe['og:updated_time']||null,'source':{'engine':_0x15a450(_0x3f7b29._0x13ac79,_0x3f7b29._0x2a6b74,_0x3f7b29._0x39214f,_0x3f7b29._0x28a5b0),'rank':_0x4b6b34+_0x1b8663+0x1}});}_0x573c66+=_0x3d4423['length'],_0xbdba67+=_0x3d4423['length'];if(_0x3d4423[_0x15a450(_0x3f7b29._0x1f2ccf,_0x3f7b29._0x37efd7,0x4d2,0x365)]<_0x246884)break;}function _0x1433c6(_0x12a2e6,_0x35db6d,_0x2196f5,_0x724500){return _0x283a7f(_0x12a2e6-_0x40e9fd._0x565e5c,_0x2196f5-0x273,_0x2196f5-_0x40e9fd._0x392d15,_0x35db6d);}return _0x2a04c7['slice'](0x0,_0x259b43);}function isGoogleCseEngine(_0x375e40){const _0x4bb8db={_0x373476:0x324,_0x358a29:0x42f,_0x4d6bae:0x424,_0x3270c7:0x535},_0x3b2314={_0x4d9ad2:0x54,_0x12eda4:0x1c6};function _0x1a3ca2(_0x34f93d,_0x2a740f,_0x14f625,_0x45fc5a){return _0x283a7f(_0x34f93d-_0x3b2314._0x4d9ad2,_0x14f625-0x203,_0x14f625-_0x3b2314._0x12eda4,_0x2a740f);}return _0x1a3ca2(_0x4bb8db._0x373476,_0x4bb8db._0x358a29,_0x4bb8db._0x4d6bae,_0x4bb8db._0x3270c7)in _0x375e40;}function isOllamaEngine(_0x473267){return'apiKey'in _0x473267;}function isTavilyEngine(_0x505702){const _0x247e8a={_0x4d6d81:0x15b,_0x28289e:0x29d,_0x3e776a:0x24a},_0x1476bd={_0x50622b:0x195,_0x27ff08:0x6b};function _0x2f6a76(_0x381a0d,_0x804842,_0x29ea84,_0x40b5ab){return _0x283a7f(_0x381a0d-0x1bd,_0x29ea84-_0x1476bd._0x50622b,_0x29ea84-_0x1476bd._0x27ff08,_0x381a0d);}return _0x2f6a76(_0x247e8a._0x4d6d81,_0x247e8a._0x28289e,0x2d4,_0x247e8a._0x3e776a)in _0x505702;}function createWebSearchTool(_0x281aa3){const _0x2716a8={_0x142cff:0x1df,_0x370f06:0x8e,_0x2749fa:0x3f4,_0x50c7a2:0x5c6,_0xe4a39c:0x4f2,_0x508180:0x429,_0x1cf4ec:0x522,_0x5bc36f:0x559,_0x317c3e:0x5b9,_0x286c2b:0x613,_0x3a211b:0x598,_0x7fc467:0x517,_0x1e1aba:0x620,_0x3a26a9:0x590,_0x567f0a:0x58e,_0x199b6f:0x49e,_0x203203:0x61,_0x157575:0x160,_0x2dc346:0x132,_0x545057:0xd,_0x1be5f4:0x45,_0x2304bd:0x37,_0x2c6830:0x181,_0x483fe9:0xd,_0x55f1e8:0x165,_0x815fc7:0xa1,_0x2d9071:0xd,_0x87e5e7:0x11a,_0x2738f7:0x4f8,_0x278750:0x5e1,_0x4adcd9:0xb4,_0x41b5b7:0x1c0,_0x2ecf10:0x9a,_0x176103:0x43,_0x458608:0x10f,_0x316e6f:0x8b,_0x1f21f1:0xef},_0x37786b={_0x539731:0x42a,_0x1adb0d:0x49d,_0xd57baf:0x225,_0x454b17:0x5c0,_0x1d2baf:0x5cf,_0x4cd0f5:0x65b,_0x4a4e58:0x594,_0x27c895:0x5e4,_0x2abddb:0x511,_0x49abf7:0x59e,_0x6e5b5b:0x63f,_0x56738b:0x748,_0x1709e6:0x6de,_0x2f9bd0:0x705,_0x24eec8:0x45e,_0x4e1a55:0x6a3,_0x3594a0:0x5a3,_0x301e04:0x78c,_0x30dbd2:0x60e,_0x2aaa04:0x55f,_0x43fdec:0x5dc,_0x24e250:0x3ba,_0x52cb6d:0x4ff,_0x39baea:0x789,_0x5abb77:0x7b2,_0x51b08d:0x80e,_0x575ca1:0x6ef,_0x490fdb:0x399,_0x271cf7:0x43f,_0x44076b:0x67d,_0x56fd63:0x457,_0x50e463:0x399,_0x15878b:0x464,_0x377bb7:0x4e4,_0xeabb4f:0x4a6,_0x827cd9:0x61b,_0x451f2f:0x4f2,_0x122f1f:0x62c,_0x598fa2:0x776,_0x5a0b6a:0x521,_0x51cda8:0x393,_0x59341d:0x3be,_0x1d6ff9:0x3c5,_0x4badbd:0x5a9,_0x24d594:0x49c,_0x1848af:0x5b9,_0x210d1a:0x388,_0x51ff86:0x524,_0x54ccab:0x64d,_0x157792:0x61d,_0x35b81a:0x59c,_0x4c77ca:0x55d,_0x50decd:0x7e5,_0x308a0c:0x6f2,_0x5d7471:0x62c,_0xdbb1a5:0x664,_0x49cf4d:0x59a,_0x4fa06a:0x649,_0x41417c:0x30b,_0x10d58c:0x41c,_0x3d0191:0x341,_0x54e09d:0x35c,_0x24119e:0x7cc,_0x1ec980:0x6ce,_0x5826fe:0x5fe,_0x2ab71a:0x71b,_0x3c4c64:0x3e4,_0x1879ca:0x52e,_0x2e77eb:0x509,_0xdf03a4:0x3f2,_0x5334a3:0x73a,_0x19910e:0x6ff,_0x4fc97c:0x5bd,_0xd3ff67:0x556,_0x4629d0:0x73b,_0x339124:0x617,_0x581138:0x51e,_0x4e550b:0x309},_0x35789a={_0x2ff9cd:0xb3,_0x5219ff:0x1e6},_0x2e9241={_0x53634b:0xa2,_0x2be568:0x13a},_0x187563={_0x4c1cbf:0x2b0,_0x2bf44d:0x473,_0x29066b:0x1a8,_0x593759:0x437,_0x5c18bc:0x16f,_0x3da5eb:0x128,_0xfa0aa3:0x398,_0x5f0b94:0x4cc,_0x26a561:0x4e9},_0x33225e={_0xfe8253:0x182,_0x1b6f08:0xbb},_0x113e05={_0x1a8faa:0xde};if(!_0x281aa3[_0x50ce16(-0xac,_0x2716a8._0x142cff,0x6c,_0x2716a8._0x370f06)]||_0x281aa3[_0x1f0862(_0x2716a8._0x2749fa,_0x2716a8._0x50c7a2,_0x2716a8._0xe4a39c,0x61a)][_0x1f0862(_0x2716a8._0x508180,_0x2716a8._0x1cf4ec,_0x2716a8._0x5bc36f,0x64d)]===0x0)throw new Error(_0x1f0862(_0x2716a8._0x317c3e,_0x2716a8._0x286c2b,0x5e5,0x70f));function _0x50ce16(_0x5678d5,_0x34c084,_0x580600,_0x310a26){return _0x283a7f(_0x5678d5-0x9d,_0x310a26- -_0x113e05._0x1a8faa,_0x580600-0x14d,_0x5678d5);}const _0x5a3ba1=_0x281aa3[_0x1f0862(_0x2716a8._0x3a211b,0x621,0x4cc,_0x2716a8._0x7fc467)]??'WebSearch';function _0x1f0862(_0xc261db,_0x4f9a4e,_0x1dc806,_0x2813e0){return _0x283a7f(_0xc261db-_0x33225e._0xfe8253,_0x1dc806-0x386,_0x1dc806-_0x33225e._0x1b6f08,_0x4f9a4e);}const _0x2a12d1=_0x281aa3[_0x1f0862(_0x2716a8._0x1e1aba,_0x2716a8._0x3a26a9,_0x2716a8._0x567f0a,0x516)];return defineTool({'name':_0x5a3ba1,'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':_0x1f0862(0x402,_0x2716a8._0x199b6f,0x4f5,0x4db),'properties':{'description':{'type':'string'},'query':{'type':_0x50ce16(-0x62,-_0x2716a8._0x203203,0x6a,0x11a)},'count':{'type':_0x50ce16(-_0x2716a8._0x157575,-_0x2716a8._0x2dc346,-_0x2716a8._0x157575,-_0x2716a8._0x545057)},'offset':{'type':_0x50ce16(_0x2716a8._0x1be5f4,_0x2716a8._0x2304bd,-_0x2716a8._0x2c6830,-_0x2716a8._0x483fe9)},'domains':{'type':'array','items':{'type':'string'}},'recencyDays':{'type':_0x50ce16(-_0x2716a8._0x55f1e8,-_0x2716a8._0x815fc7,-0xa2,-_0x2716a8._0x2d9071)},'lang':{'type':_0x50ce16(-0x20,0x6e,0x1d7,_0x2716a8._0x87e5e7)},'region':{'type':'string'},'safe':{'type':_0x50ce16(-0x27,-0x177,0x61,-0x43)},'type':{'type':_0x1f0862(0x4e8,_0x2716a8._0x2738f7,0x57e,_0x2716a8._0x278750)},'hydrateMeta':{'type':_0x50ce16(-_0x2716a8._0x4adcd9,-_0x2716a8._0x41b5b7,_0x2716a8._0x2ecf10,-_0x2716a8._0x176103)}},'required':[_0x50ce16(_0x2716a8._0x458608,_0x2716a8._0x316e6f,-_0x2716a8._0x1f21f1,0x79)]},async *'execute'(_0x59a29c,_0x1b5eeb){const _0x24b2cc=_0x59a29c[_0x25c308(0x55a,_0x37786b._0x539731,0x3d0,_0x37786b._0x1adb0d)][_0x25c308(0x239,0x310,_0x37786b._0xd57baf,0x19e)]();if(!_0x24b2cc)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x55b75f={'query':_0x24b2cc,'count':Math['max'](0x1,Math[_0x3e9aa0(_0x37786b._0x454b17,_0x37786b._0x1d2baf,_0x37786b._0x4cd0f5,0x677)](0x32,Math[_0x25c308(0x475,0x35c,0x273,0x25f)](_0x59a29c['count']??0xa))),'offset':Math[_0x25c308(0x6b1,_0x37786b._0x4a4e58,0x583,0x584)](0x0,Math[_0x3e9aa0(_0x37786b._0x27c895,_0x37786b._0x2abddb,0x549,_0x37786b._0x49abf7)](_0x59a29c[_0x3e9aa0(0x8c0,_0x37786b._0x6e5b5b,_0x37786b._0x56738b,_0x37786b._0x1709e6)]??0x0)),'domains':_0x59a29c[_0x3e9aa0(0x516,0x6a8,0x609,_0x37786b._0x2f9bd0)]??[],'recencyDays':Math['max'](0x0,Math[_0x3e9aa0(_0x37786b._0x24eec8,0x4c5,0x549,_0x37786b._0x4e1a55)](_0x59a29c['recencyDays']??0x0)),'lang':_0x59a29c[_0x3e9aa0(0x6dc,0x5b2,0x71b,_0x37786b._0x3594a0)]??'en','region':_0x59a29c['region']??'','safe':_0x59a29c[_0x3e9aa0(0x68b,_0x37786b._0x301e04,0x616,0x577)]??!![],'type':normalizeType(_0x59a29c[_0x3e9aa0(0x6c9,_0x37786b._0x30dbd2,_0x37786b._0x2aaa04,_0x37786b._0x43fdec)]),'hydrateMeta':_0x59a29c[_0x25c308(_0x37786b._0x24e250,0x309,0x2f3,0x32d)]??![]};let _0x521ed5=[],_0x98e15e='unknown';for(const _0x193c18 of _0x281aa3[_0x3e9aa0(0x52c,_0x37786b._0x52cb6d,0x62c,_0x37786b._0x39baea)]){try{if(isGoogleCseEngine(_0x193c18))_0x521ed5=await searchGoogleCse(_0x193c18,_0x55b75f,_0x1b5eeb[_0x3e9aa0(_0x37786b._0x5abb77,_0x37786b._0x51b08d,_0x37786b._0x575ca1,0x7cf)]),_0x98e15e='google-cse';else{if(isOllamaEngine(_0x193c18)){const _0x2cb5cc=await searchOllama(_0x193c18,_0x55b75f,_0x1b5eeb['signal']);_0x521ed5=_0x2cb5cc[_0x25c308(0x3af,_0x37786b._0x490fdb,_0x37786b._0x271cf7,0x412)],_0x98e15e=_0x2cb5cc['engine'];}else{if(isTavilyEngine(_0x193c18)){const _0x160730=await searchTavily(_0x193c18,_0x55b75f,_0x1b5eeb[_0x25c308(0x5fd,0x502,_0x37786b._0x44076b,0x3eb)]);_0x521ed5=_0x160730[_0x25c308(_0x37786b._0x56fd63,_0x37786b._0x50e463,0x248,_0x37786b._0x15878b)],_0x98e15e=_0x160730['engine'];}}}if(_0x521ed5[_0x25c308(_0x37786b._0x377bb7,_0x37786b._0xeabb4f,_0x37786b._0x827cd9,0x4a3)]>0x0)break;}catch(_0x38e604){if(_0x193c18===_0x281aa3[_0x3e9aa0(0x639,_0x37786b._0x451f2f,_0x37786b._0x122f1f,_0x37786b._0x598fa2)][_0x281aa3[_0x3e9aa0(_0x37786b._0x5a0b6a,0x50c,_0x37786b._0x122f1f,0x70f)][_0x25c308(0x3ae,_0x37786b._0xeabb4f,_0x37786b._0x51cda8,0x4da)]-0x1])throw _0x38e604;}}_0x55b75f[_0x25c308(0x396,0x309,_0x37786b._0x59341d,_0x37786b._0x1d6ff9)]&&_0x521ed5[_0x25c308(_0x37786b._0x4badbd,0x4a6,_0x37786b._0x24d594,_0x37786b._0x1848af)]>0x0&&(_0x521ed5=await hydrateResults(_0x521ed5,_0x55b75f['lang'],_0x1b5eeb[_0x25c308(_0x37786b._0x210d1a,0x502,_0x37786b._0x51ff86,_0x37786b._0x54ccab)],_0x2a12d1));const _0x333487=new Set();_0x521ed5=_0x521ed5[_0x3e9aa0(0x633,_0x37786b._0x157792,_0x37786b._0x35b81a,_0x37786b._0x4c77ca)](_0x18f97c=>{const _0x497358={_0x4dc179:0x271},_0x1ab872={_0x1dab23:0x218,_0x2c8337:0xbb,_0x13556b:0x178},_0x52d043=_0x18f97c[_0xabfc11(0x39a,_0x187563._0x4c1cbf,_0x187563._0x2bf44d,0x4fc)][_0xabfc11(0x2d9,_0x187563._0x29066b,_0x187563._0x593759,_0x187563._0x5c18bc)]();if(!_0x52d043||_0x333487[_0xabfc11(0x269,_0x187563._0x3da5eb,0x36f,0x28d)](_0x52d043))return![];function _0xabfc11(_0x3fef53,_0x271d20,_0x525671,_0xd67e07){return _0x25c308(_0xd67e07,_0x3fef53- -_0x1ab872._0x1dab23,_0x525671-_0x1ab872._0x2c8337,_0xd67e07-_0x1ab872._0x13556b);}function _0x37f1bb(_0xd0dad8,_0x13e84f,_0x5ce6e3,_0x55586b){return _0x25c308(_0xd0dad8,_0x55586b- -_0x497358._0x4dc179,_0x5ce6e3-0xdd,_0x55586b-0x1bb);}return _0x333487[_0xabfc11(_0x187563._0xfa0aa3,_0x187563._0x5f0b94,_0x187563._0x26a561,0x220)](_0x52d043),!![];}),_0x521ed5=_0x521ed5[_0x3e9aa0(_0x37786b._0x50decd,0x764,_0x37786b._0x308a0c,0x7cc)]((_0x6b12c3,_0x455513)=>({..._0x6b12c3,'source':{..._0x6b12c3['source'],'rank':_0x455513+0x1}}));const _0x4481c6={};function _0x3e9aa0(_0x1b9f4c,_0x2cc7d5,_0x1e2bed,_0x8457a7){return _0x1f0862(_0x1b9f4c-_0x2e9241._0x53634b,_0x1b9f4c,_0x1e2bed-_0x2e9241._0x2be568,_0x8457a7-0x2d);}if(_0x55b75f['domains'][_0x3e9aa0(_0x37786b._0x5d7471,0x558,0x693,_0x37786b._0xdbb1a5)]>0x0)_0x4481c6[_0x3e9aa0(_0x37786b._0x49cf4d,_0x37786b._0x4fa06a,0x609,0x67b)]=_0x55b75f[_0x25c308(_0x37786b._0x41417c,_0x37786b._0x10d58c,_0x37786b._0x3d0191,_0x37786b._0x54e09d)];if(_0x55b75f[_0x3e9aa0(0x7a6,0x852,_0x37786b._0x24119e,_0x37786b._0x1ec980)]>0x0)_0x4481c6['recencyDays']=_0x55b75f[_0x3e9aa0(0x686,0x8a3,0x7cc,0x6bb)];if(_0x55b75f[_0x3e9aa0(_0x37786b._0x5826fe,0x68f,_0x37786b._0x2ab71a,0x6b2)]!=='en')_0x4481c6['lang']=_0x55b75f[_0x25c308(_0x37786b._0x3c4c64,_0x37786b._0x1879ca,_0x37786b._0x2e77eb,0x5bd)];function _0x25c308(_0x1de100,_0x39093a,_0x97fc03,_0x54a0eb){return _0x1f0862(_0x1de100-0x115,_0x1de100,_0x39093a- -_0x35789a._0x2ff9cd,_0x54a0eb-_0x35789a._0x5219ff);}if(_0x55b75f[_0x25c308(0x4c1,0x453,_0x37786b._0xdf03a4,0x40a)])_0x4481c6[_0x3e9aa0(0x626,_0x37786b._0x5334a3,0x640,0x764)]=_0x55b75f[_0x3e9aa0(0x500,0x4e0,0x640,_0x37786b._0x19910e)];return yield createToolOutput(formatResults(_0x521ed5),{'engine':_0x98e15e,'count':_0x521ed5[_0x3e9aa0(0x5d1,_0x37786b._0x4fc97c,0x693,0x55d)],'items':_0x521ed5,'query':_0x55b75f[_0x3e9aa0(_0x37786b._0xd3ff67,_0x37786b._0x4629d0,_0x37786b._0x339124,0x59c)],...Object['keys'](_0x4481c6)[_0x25c308(_0x37786b._0x581138,0x4a6,0x384,0x4a2)]>0x0?{'appliedFilters':_0x4481c6}:{},'offset':_0x55b75f['offset'],'totalRequested':_0x55b75f['count'],'hydrated':_0x55b75f[_0x25c308(0x1ee,_0x37786b._0x4e550b,0x26f,0x29b)]}),void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveDelegatedAgentOptions,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};
|